Socket
Socket
Sign inDemoInstall

ckeditor4-vue

Package Overview
Dependencies
11
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.5.1 to 2.0.0

8

dist/ckeditor.js
/*! For license information please see ckeditor.js.LICENSE.txt */
/*!*
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md.
*/
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.CKEditor=e():t.CKEditor=e()}(window,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){"use strict";function i(t,e){t.onload=function(){this.onerror=this.onload=null,e(null,t)},t.onerror=function(){this.onerror=this.onload=null,e(new Error("Failed to load "+this.src),t)}}function r(t,e){t.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,e(null,t))}}var o;function a(t,e){return"CKEDITOR"in window?Promise.resolve(CKEDITOR):"string"!=typeof t||t.length<1?Promise.reject(new TypeError("CKEditor URL must be a non-empty string.")):(o||(o=a.scriptLoader(t).then((function(t){return e&&e(t),t}))),o)}n.r(e),a.scriptLoader=function(t){return new Promise((function(e,n){!function(t,e,n){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");"function"==typeof e&&(n=e,e={}),e=e||{},n=n||function(){},a.type=e.type||"text/javascript",a.charset=e.charset||"utf8",a.async=!("async"in e)||!!e.async,a.src=t,e.attrs&&function(t,e){for(var n in e)t.setAttribute(n,e[n])}(a,e.attrs),e.text&&(a.text=String(e.text)),("onload"in a?i:r)(a,n),a.onload||i(a,n),o.appendChild(a)}(t,(function(t){return o=void 0,t?n(t):window.CKEDITOR?void e(CKEDITOR):n(new Error("Script loaded from editorUrl doesn't provide CKEDITOR namespace."))}))}))};var s={name:"ckeditor",render(t){return t("div",{},[t(this.tagName)])},props:{value:{type:String,default:""},type:{type:String,default:"classic",validator:t=>["classic","inline"].includes(t)},editorUrl:{type:String,default:"https://cdn.ckeditor.com/4.17.2/standard-all/ckeditor.js"},config:{type:Object,default:()=>{}},tagName:{type:String,default:"textarea"},readOnly:{type:Boolean,default:null},throttle:{type:Number,default:80}},mounted(){a(this.editorUrl,(t=>{this.$emit("namespaceloaded",t)})).then((()=>{if(this.$_destroyed)return;const t=this.prepareConfig(),e="inline"===this.type?"inline":"replace",n=this.$el.firstElementChild;CKEDITOR[e](n,t)}))},beforeDestroy(){this.instance&&this.instance.destroy(),this.$_destroyed=!0},watch:{value(t){this.instance&&this.instance.getData()!==t&&this.instance.setData(t)},readOnly(t){this.instance&&this.instance.setReadOnly(t)}},methods:{prepareConfig(){const t=this.config||{};t.on=t.on||{},void 0===t.delayIfDetached&&(t.delayIfDetached=!0),null!==this.readOnly&&(t.readOnly=this.readOnly);const e=t.on.instanceReady;return t.on.instanceReady=t=>{this.instance=t.editor,this.$nextTick().then((()=>{this.prepareComponentData(),e&&e(t)}))},t},prepareComponentData(){const t=this.value;this.instance.fire("lockSnapshot"),this.instance.setData(t,{callback:()=>{this.$_setUpEditorEvents();const e=this.instance.getData();t!==e?(this.$once("input",(()=>{this.$emit("ready",this.instance)})),this.$emit("input",e)):this.$emit("ready",this.instance),this.instance.fire("unlockSnapshot")}})},$_setUpEditorEvents(){const t=this.instance,e=function(t,e){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(){clearTimeout(n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];n=setTimeout(t.bind.apply(t,[i].concat(o)),e)}}((e=>{const n=t.getData();this.value!==n&&this.$emit("input",n,e,t)}),this.throttle);t.on("change",e),t.on("focus",(e=>{this.$emit("focus",e,t)})),t.on("blur",(e=>{this.$emit("blur",e,t)}))}}};const c={install(t){t.component("ckeditor",s)},component:s};e.default=c}]).default}));
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md.
*/
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.CKEditor=e():t.CKEditor=e()}(window,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){"use strict";function i(t,e){t.onload=function(){this.onerror=this.onload=null,e(null,t)},t.onerror=function(){this.onerror=this.onload=null,e(new Error("Failed to load "+this.src),t)}}function r(t,e){t.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,e(null,t))}}var o;function a(t,e){return"CKEDITOR"in window?Promise.resolve(CKEDITOR):"string"!=typeof t||t.length<1?Promise.reject(new TypeError("CKEditor URL must be a non-empty string.")):(o||(o=a.scriptLoader(t).then((function(t){return e&&e(t),t}))),o)}n.r(e),a.scriptLoader=function(t){return new Promise((function(e,n){!function(t,e,n){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("script");"function"==typeof e&&(n=e,e={}),e=e||{},n=n||function(){},a.type=e.type||"text/javascript",a.charset=e.charset||"utf8",a.async=!("async"in e)||!!e.async,a.src=t,e.attrs&&function(t,e){for(var n in e)t.setAttribute(n,e[n])}(a,e.attrs),e.text&&(a.text=String(e.text)),("onload"in a?i:r)(a,n),a.onload||i(a,n),o.appendChild(a)}(t,(function(t){return o=void 0,t?n(t):window.CKEDITOR?void e(CKEDITOR):n(new Error("Script loaded from editorUrl doesn't provide CKEDITOR namespace."))}))}))};var s={name:"ckeditor",render(t){return t("div",{},[t(this.tagName)])},props:{value:{type:String,default:""},type:{type:String,default:"classic",validator:t=>["classic","inline"].includes(t)},editorUrl:{type:String,default:"https://cdn.ckeditor.com/4.18.0/standard-all/ckeditor.js"},config:{type:Object,default:()=>{}},tagName:{type:String,default:"textarea"},readOnly:{type:Boolean,default:null},throttle:{type:Number,default:80}},mounted(){a(this.editorUrl,(t=>{this.$emit("namespaceloaded",t)})).then((()=>{if(this.$_destroyed)return;const t=this.prepareConfig(),e="inline"===this.type?"inline":"replace",n=this.$el.firstElementChild;CKEDITOR[e](n,t)}))},beforeDestroy(){this.instance&&this.instance.destroy(),this.$_destroyed=!0},watch:{value(t){this.instance&&this.instance.getData()!==t&&this.instance.setData(t)},readOnly(t){this.instance&&this.instance.setReadOnly(t)}},methods:{prepareConfig(){const t=this.config||{};t.on=t.on||{},void 0===t.delayIfDetached&&(t.delayIfDetached=!0),null!==this.readOnly&&(t.readOnly=this.readOnly);const e=t.on.instanceReady;return t.on.instanceReady=t=>{this.instance=t.editor,this.$nextTick().then((()=>{this.prepareComponentData(),e&&e(t)}))},t},prepareComponentData(){const t=this.value;this.instance.fire("lockSnapshot"),this.instance.setData(t,{callback:()=>{this.$_setUpEditorEvents();const e=this.instance.getData();t!==e?(this.$once("input",(()=>{this.$emit("ready",this.instance)})),this.$emit("input",e)):this.$emit("ready",this.instance),this.instance.fire("unlockSnapshot")}})},$_setUpEditorEvents(){const t=this.instance,e=function(t,e){var n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(){clearTimeout(n);for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];n=setTimeout(t.bind.apply(t,[i].concat(o)),e)}}((e=>{const n=t.getData();this.value!==n&&this.$emit("input",n,e,t)}),this.throttle);t.on("change",e),t.on("focus",(e=>{this.$emit("focus",e,t)})),t.on("blur",(e=>{this.$emit("blur",e,t)}))}}};const c={install(t){t.component("ckeditor",s)},component:s};e.default=c}]).default}));
//# sourceMappingURL=ckeditor.js.map
/*!*
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md.
*/
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md.
*/

@@ -6,0 +6,0 @@ /**

/*! For license information please see legacy.js.LICENSE.txt */
/*!*
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md.
*/
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.CKEditor=n():t.CKEditor=n()}(window,(function(){return function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=66)}([function(t,n,e){(function(n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,e(69))},function(t,n,e){var r=e(0),o=e(47),i=e(3),c=e(49),u=e(45),a=e(44),f=o("wks"),s=r.Symbol,l=a?s:s&&s.withoutSetter||c;t.exports=function(t){return i(f,t)&&(u||"string"==typeof f[t])||(u&&i(s,t)?f[t]=s[t]:f[t]=l("Symbol."+t)),f[t]}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var r=e(48),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,n){return o.call(r(t),n)}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,e){var r=e(4);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,n,e){var r=e(0),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,n){return arguments.length<2?o(r[t]):r[t]&&r[t][n]}},function(t,n,e){var r=e(0),o=e(15).f,i=e(11),c=e(10),u=e(29),a=e(74),f=e(36);t.exports=function(t,n){var e,s,l,p,v,d=t.target,h=t.global,y=t.stat;if(e=h?r:y?r[d]||u(d,{}):(r[d]||{}).prototype)for(s in n){if(p=n[s],l=t.noTargetGet?(v=o(e,s))&&v.value:e[s],!f(h?s:d+(y?".":"#")+s,t.forced)&&void 0!==l){if(typeof p==typeof l)continue;a(p,l)}(t.sham||l&&l.sham)&&i(p,"sham",!0),c(e,s,p,t)}}},function(t,n,e){var r=e(2);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,e){var r=e(8),o=e(50),i=e(5),c=e(42),u=Object.defineProperty;n.f=r?u:function(t,n,e){if(i(t),n=c(n),i(e),o)try{return u(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(0),o=e(11),i=e(3),c=e(29),u=e(31),a=e(21),f=a.get,s=a.enforce,l=String(String).split("String");(t.exports=function(t,n,e,u){var a,f=!!u&&!!u.unsafe,p=!!u&&!!u.enumerable,v=!!u&&!!u.noTargetGet;"function"==typeof e&&("string"!=typeof n||i(e,"name")||o(e,"name",n),(a=s(e)).source||(a.source=l.join("string"==typeof n?n:""))),t!==r?(f?!v&&t[n]&&(p=!0):delete t[n],p?t[n]=e:o(t,n,e)):p?t[n]=e:c(n,e)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||u(this)}))},function(t,n,e){var r=e(8),o=e(9),i=e(16);t.exports=r?function(t,n,e){return o.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,n){t.exports=!1},function(t,n){t.exports={}},function(t,n,e){var r=e(8),o=e(70),i=e(16),c=e(17),u=e(42),a=e(3),f=e(50),s=Object.getOwnPropertyDescriptor;n.f=r?s:function(t,n){if(t=c(t),n=u(n),f)try{return s(t,n)}catch(t){}if(a(t,n))return i(!o.f.call(t,n),t[n])}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){var r=e(71),o=e(19);t.exports=function(t){return r(o(t))}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(6),o=e(44);t.exports=o?function(t){return"symbol"==typeof t}:function(t){var n=r("Symbol");return"function"==typeof n&&Object(t)instanceof n}},function(t,n,e){var r,o,i,c=e(73),u=e(0),a=e(4),f=e(11),s=e(3),l=e(28),p=e(32),v=e(33),d="Object already initialized",h=u.WeakMap;if(c||l.state){var y=l.state||(l.state=new h),g=y.get,m=y.has,x=y.set;r=function(t,n){if(m.call(y,t))throw new TypeError(d);return n.facade=t,x.call(y,t,n),n},o=function(t){return g.call(y,t)||{}},i=function(t){return m.call(y,t)}}else{var b=p("state");v[b]=!0,r=function(t,n){if(s(t,b))throw new TypeError(d);return n.facade=t,f(t,b,n),n},o=function(t){return s(t,b)?t[b]:{}},i=function(t){return s(t,b)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(n){var e;if(!a(n)||(e=o(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}}},function(t,n,e){var r=e(5),o=e(79);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,e={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),n=e instanceof Array}catch(t){}return function(e,i){return r(e),o(i),n?t.call(e,i):e.__proto__=i,e}}():void 0)},function(t,n,e){var r,o=e(5),i=e(80),c=e(35),u=e(33),a=e(55),f=e(30),s=e(32),l=s("IE_PROTO"),p=function(){},v=function(t){return"<script>"+t+"</"+"script>"},d=function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n},h=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}h=document.domain&&r?d(r):function(){var t,n=f("iframe");if(n.style)return n.style.display="none",a.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F}()||d(r);for(var t=c.length;t--;)delete h.prototype[c[t]];return h()};u[l]=!0,t.exports=Object.create||function(t,n){var e;return null!==t?(p.prototype=o(t),e=new p,p.prototype=null,e[l]=t):e=h(),void 0===n?e:i(e,n)}},function(t,n,e){var r=e(5),o=e(82),i=e(54),c=e(56),u=e(83),a=e(84),f=function(t,n){this.stopped=t,this.result=n};t.exports=function(t,n,e){var s,l,p,v,d,h,y,g=e&&e.that,m=!(!e||!e.AS_ENTRIES),x=!(!e||!e.IS_ITERATOR),b=!(!e||!e.INTERRUPTED),w=c(n,g,1+m+b),j=function(t){return s&&a(s),new f(!0,t)},O=function(t){return m?(r(t),b?w(t[0],t[1],j):w(t[0],t[1])):b?w(t,j):w(t)};if(x)s=t;else{if("function"!=typeof(l=u(t)))throw TypeError("Target is not iterable");if(o(l)){for(p=0,v=i(t.length);v>p;p++)if((d=O(t[p]))&&d instanceof f)return d;return new f(!1)}s=l.call(t)}for(h=s.next;!(y=h.call(s)).done;){try{d=O(y.value)}catch(t){throw a(s),t}if("object"==typeof d&&d&&d instanceof f)return d}return new f(!1)}},function(t,n,e){var r=e(20);t.exports=function(t){if(r(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},function(t,n,e){"use strict";var r=e(12),o=function(t){var n,e;this.promise=new t((function(t,r){if(void 0!==n||void 0!==e)throw TypeError("Bad Promise constructor");n=t,e=r})),this.resolve=r(n),this.reject=r(e)};t.exports.f=function(t){return new o(t)}},function(t,n,e){var r=e(6);t.exports=r("navigator","userAgent")||""},function(t,n,e){var r=e(0),o=e(29),i="__core-js_shared__",c=r[i]||o(i,{});t.exports=c},function(t,n,e){var r=e(0);t.exports=function(t,n){try{Object.defineProperty(r,t,{value:n,configurable:!0,writable:!0})}catch(e){r[t]=n}return n}},function(t,n,e){var r=e(0),o=e(4),i=r.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,n,e){var r=e(28),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},function(t,n,e){var r=e(47),o=e(49),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n){t.exports={}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n,e){var r=e(2),o=/#|\.prototype\./,i=function(t,n){var e=u[c(t)];return e==f||e!=a&&("function"==typeof n?r(n):!!n)},c=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=i.data={},a=i.NATIVE="N",f=i.POLYFILL="P";t.exports=i},function(t,n,e){var r=e(3),o=e(48),i=e(32),c=e(78),u=i("IE_PROTO"),a=Object.prototype;t.exports=c?Object.getPrototypeOf:function(t){return t=o(t),r(t,u)?t[u]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,n,e){var r={};r[e(1)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,n,e){var r=e(9).f,o=e(3),i=e(1)("toStringTag");t.exports=function(t,n,e){t&&!o(t=e?t:t.prototype,i)&&r(t,i,{configurable:!0,value:n})}},function(t,n,e){var r=e(18),o=e(0);t.exports="process"==r(o.process)},function(t,n){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,n,e){var r=e(43),o=e(20);t.exports=function(t){var n=r(t,"string");return o(n)?n:String(n)}},function(t,n,e){var r=e(4),o=e(20),i=e(72),c=e(1)("toPrimitive");t.exports=function(t,n){if(!r(t)||o(t))return t;var e,u=t[c];if(void 0!==u){if(void 0===n&&(n="default"),e=u.call(t,n),!r(e)||o(e))return e;throw TypeError("Can't convert object to primitive value")}return void 0===n&&(n="number"),i(t,n)}},function(t,n,e){var r=e(45);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,e){var r=e(46),o=e(2);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},function(t,n,e){var r,o,i=e(0),c=e(27),u=i.process,a=i.Deno,f=u&&u.versions||a&&a.version,s=f&&f.v8;s?o=(r=s.split("."))[0]<4?1:r[0]+r[1]:c&&(!(r=c.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=c.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},function(t,n,e){var r=e(13),o=e(28);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.16.0",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},function(t,n,e){var r=e(19);t.exports=function(t){return Object(r(t))}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+r).toString(36)}},function(t,n,e){var r=e(8),o=e(2),i=e(30);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,n,e){var r=e(52),o=e(35).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,n,e){var r=e(3),o=e(17),i=e(53).indexOf,c=e(33);t.exports=function(t,n){var e,u=o(t),a=0,f=[];for(e in u)!r(c,e)&&r(u,e)&&f.push(e);for(;n.length>a;)r(u,e=n[a++])&&(~i(f,e)||f.push(e));return f}},function(t,n,e){var r=e(17),o=e(54),i=e(76),c=function(t){return function(n,e,c){var u,a=r(n),f=o(a.length),s=i(c,f);if(t&&e!=e){for(;f>s;)if((u=a[s++])!=u)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===e)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},function(t,n,e){var r=e(34),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,n,e){var r=e(6);t.exports=r("document","documentElement")},function(t,n,e){var r=e(12);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 0:return function(){return t.call(n)};case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,o){return t.call(n,e,r,o)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){var r=e(38),o=e(18),i=e(1)("toStringTag"),c="Arguments"==o(function(){return arguments}());t.exports=r?o:function(t){var n,e,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),i))?e:c?o(n):"Object"==(r=o(n))&&"function"==typeof n.callee?"Arguments":r}},function(t,n,e){var r=e(1),o=e(23),i=e(9),c=r("unscopables"),u=Array.prototype;null==u[c]&&i.f(u,c,{configurable:!0,value:o(null)}),t.exports=function(t){u[c][t]=!0}},function(t,n,e){"use strict";var r=e(7),o=e(86),i=e(37),c=e(22),u=e(39),a=e(11),f=e(10),s=e(1),l=e(13),p=e(14),v=e(60),d=v.IteratorPrototype,h=v.BUGGY_SAFARI_ITERATORS,y=s("iterator"),g="keys",m="values",x="entries",b=function(){return this};t.exports=function(t,n,e,s,v,w,j){o(e,n,s);var O,E,S,T=function(t){if(t===v&&N)return N;if(!h&&t in A)return A[t];switch(t){case g:case m:case x:return function(){return new e(this,t)}}return function(){return new e(this)}},I=n+" Iterator",P=!1,A=t.prototype,_=A[y]||A["@@iterator"]||v&&A[v],N=!h&&_||T(v),C="Array"==n&&A.entries||_;if(C&&(O=i(C.call(new t)),d!==Object.prototype&&O.next&&(l||i(O)===d||(c?c(O,d):"function"!=typeof O[y]&&a(O,y,b)),u(O,I,!0,!0),l&&(p[I]=b))),v==m&&_&&_.name!==m&&(P=!0,N=function(){return _.call(this)}),l&&!j||A[y]===N||a(A,y,N),p[n]=N,v)if(E={values:T(m),keys:w?N:T(g),entries:T(x)},j)for(S in E)(h||P||!(S in A))&&f(A,S,E[S]);else r({target:n,proto:!0,forced:h||P},E);return E}},function(t,n,e){"use strict";var r,o,i,c=e(2),u=e(37),a=e(11),f=e(3),s=e(1),l=e(13),p=s("iterator"),v=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):v=!0);var d=null==r||c((function(){var t={};return r[p].call(t)!==t}));d&&(r={}),l&&!d||f(r,p)||a(r,p,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:v}},function(t,n,e){var r=e(0);t.exports=r.Promise},function(t,n,e){var r=e(5),o=e(12),i=e(1)("species");t.exports=function(t,n){var e,c=r(t).constructor;return void 0===c||null==(e=r(c)[i])?n:o(e)}},function(t,n,e){var r,o,i,c,u=e(0),a=e(2),f=e(56),s=e(55),l=e(30),p=e(64),v=e(40),d=u.setImmediate,h=u.clearImmediate,y=u.process,g=u.MessageChannel,m=u.Dispatch,x=0,b={},w="onreadystatechange";try{r=u.location}catch(t){}var j=function(t){if(b.hasOwnProperty(t)){var n=b[t];delete b[t],n()}},O=function(t){return function(){j(t)}},E=function(t){j(t.data)},S=function(t){u.postMessage(String(t),r.protocol+"//"+r.host)};d&&h||(d=function(t){for(var n=[],e=arguments.length,r=1;e>r;)n.push(arguments[r++]);return b[++x]=function(){("function"==typeof t?t:Function(t)).apply(void 0,n)},o(x),x},h=function(t){delete b[t]},v?o=function(t){y.nextTick(O(t))}:m&&m.now?o=function(t){m.now(O(t))}:g&&!p?(c=(i=new g).port2,i.port1.onmessage=E,o=f(c.postMessage,c,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts&&r&&"file:"!==r.protocol&&!a(S)?(o=S,u.addEventListener("message",E,!1)):o=w in l("script")?function(t){s.appendChild(l("script")).onreadystatechange=function(){s.removeChild(this),j(t)}}:function(t){setTimeout(O(t),0)}),t.exports={set:d,clear:h}},function(t,n,e){var r=e(27);t.exports=/(?:iphone|ipod|ipad).*applewebkit/i.test(r)},function(t,n,e){var r=e(5),o=e(4),i=e(26);t.exports=function(t,n){if(r(t),o(n)&&n.constructor===t)return n;var e=i.f(t);return(0,e.resolve)(n),e.promise}},function(t,n,e){e(67),t.exports=e(109)},function(t,n,e){e(68),e(85),e(87),e(89),e(98),e(99),e(100),e(101);var r=e(103);t.exports=r.Promise},function(t,n,e){"use strict";var r=e(7),o=e(37),i=e(22),c=e(23),u=e(11),a=e(16),f=e(24),s=e(25),l=function(t,n){var e=this;if(!(e instanceof l))return new l(t,n);i&&(e=i(new Error(void 0),o(e))),void 0!==n&&u(e,"message",s(n));var r=[];return f(t,r.push,{that:r}),u(e,"errors",r),e};l.prototype=c(Error.prototype,{constructor:a(5,l),message:a(5,""),name:a(5,"AggregateError")}),r({global:!0},{AggregateError:l})},function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:r},function(t,n,e){var r=e(2),o=e(18),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,n,e){var r=e(4);t.exports=function(t,n){var e,o;if("string"===n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;if("function"==typeof(e=t.valueOf)&&!r(o=e.call(t)))return o;if("string"!==n&&"function"==typeof(e=t.toString)&&!r(o=e.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,n,e){var r=e(0),o=e(31),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o(i))},function(t,n,e){var r=e(3),o=e(75),i=e(15),c=e(9);t.exports=function(t,n){for(var e=o(n),u=c.f,a=i.f,f=0;f<e.length;f++){var s=e[f];r(t,s)||u(t,s,a(n,s))}}},function(t,n,e){var r=e(6),o=e(51),i=e(77),c=e(5);t.exports=r("Reflect","ownKeys")||function(t){var n=o.f(c(t)),e=i.f;return e?n.concat(e(t)):n}},function(t,n,e){var r=e(34),o=Math.max,i=Math.min;t.exports=function(t,n){var e=r(t);return e<0?o(e+n,0):i(e,n)}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var r=e(2);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,n,e){var r=e(4);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,n,e){var r=e(8),o=e(9),i=e(5),c=e(81);t.exports=r?Object.defineProperties:function(t,n){i(t);for(var e,r=c(n),u=r.length,a=0;u>a;)o.f(t,e=r[a++],n[e]);return t}},function(t,n,e){var r=e(52),o=e(35);t.exports=Object.keys||function(t){return r(t,o)}},function(t,n,e){var r=e(1),o=e(14),i=r("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},function(t,n,e){var r=e(57),o=e(14),i=e(1)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,n,e){var r=e(5);t.exports=function(t){var n=t.return;if(void 0!==n)return r(n.call(t)).value}},function(t,n,e){"use strict";var r=e(17),o=e(58),i=e(14),c=e(21),u=e(59),a="Array Iterator",f=c.set,s=c.getterFor(a);t.exports=u(Array,"Array",(function(t,n){f(this,{type:a,target:r(t),index:0,kind:n})}),(function(){var t=s(this),n=t.target,e=t.kind,r=t.index++;return!n||r>=n.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==e?{value:r,done:!1}:"values"==e?{value:n[r],done:!1}:{value:[r,n[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,n,e){"use strict";var r=e(60).IteratorPrototype,o=e(23),i=e(16),c=e(39),u=e(14),a=function(){return this};t.exports=function(t,n,e){var f=n+" Iterator";return t.prototype=o(r,{next:i(1,e)}),c(t,f,!1,!0),u[f]=a,t}},function(t,n,e){var r=e(38),o=e(10),i=e(88);r||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,n,e){"use strict";var r=e(38),o=e(57);t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,n,e){"use strict";var r,o,i,c,u=e(7),a=e(13),f=e(0),s=e(6),l=e(61),p=e(10),v=e(90),d=e(22),h=e(39),y=e(91),g=e(4),m=e(12),x=e(92),b=e(31),w=e(24),j=e(93),O=e(62),E=e(63).set,S=e(94),T=e(65),I=e(96),P=e(26),A=e(41),_=e(21),N=e(36),C=e(1),k=e(97),R=e(40),M=e(46),D=C("species"),F="Promise",$=_.get,L=_.set,U=_.getterFor(F),K=l&&l.prototype,G=l,z=K,B=f.TypeError,V=f.document,W=f.process,Y=P.f,X=Y,q=!!(V&&V.createEvent&&f.dispatchEvent),H="function"==typeof PromiseRejectionEvent,J="unhandledrejection",Q=!1,Z=N(F,(function(){var t=b(G),n=t!==String(G);if(!n&&66===M)return!0;if(a&&!z.finally)return!0;if(M>=51&&/native code/.test(t))return!1;var e=new G((function(t){t(1)})),r=function(t){t((function(){}),(function(){}))};return(e.constructor={})[D]=r,!(Q=e.then((function(){}))instanceof r)||!n&&k&&!H})),tt=Z||!j((function(t){G.all(t).catch((function(){}))})),nt=function(t){var n;return!(!g(t)||"function"!=typeof(n=t.then))&&n},et=function(t,n){if(!t.notified){t.notified=!0;var e=t.reactions;S((function(){for(var r=t.value,o=1==t.state,i=0;e.length>i;){var c,u,a,f=e[i++],s=o?f.ok:f.fail,l=f.resolve,p=f.reject,v=f.domain;try{s?(o||(2===t.rejection&&ct(t),t.rejection=1),!0===s?c=r:(v&&v.enter(),c=s(r),v&&(v.exit(),a=!0)),c===f.promise?p(B("Promise-chain cycle")):(u=nt(c))?u.call(c,l,p):l(c)):p(r)}catch(t){v&&!a&&v.exit(),p(t)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&ot(t)}))}},rt=function(t,n,e){var r,o;q?((r=V.createEvent("Event")).promise=n,r.reason=e,r.initEvent(t,!1,!0),f.dispatchEvent(r)):r={promise:n,reason:e},!H&&(o=f["on"+t])?o(r):t===J&&I("Unhandled promise rejection",e)},ot=function(t){E.call(f,(function(){var n,e=t.facade,r=t.value;if(it(t)&&(n=A((function(){R?W.emit("unhandledRejection",r,e):rt(J,e,r)})),t.rejection=R||it(t)?2:1,n.error))throw n.value}))},it=function(t){return 1!==t.rejection&&!t.parent},ct=function(t){E.call(f,(function(){var n=t.facade;R?W.emit("rejectionHandled",n):rt("rejectionhandled",n,t.value)}))},ut=function(t,n,e){return function(r){t(n,r,e)}},at=function(t,n,e){t.done||(t.done=!0,e&&(t=e),t.value=n,t.state=2,et(t,!0))},ft=function(t,n,e){if(!t.done){t.done=!0,e&&(t=e);try{if(t.facade===n)throw B("Promise can't be resolved itself");var r=nt(n);r?S((function(){var e={done:!1};try{r.call(n,ut(ft,e,t),ut(at,e,t))}catch(n){at(e,n,t)}})):(t.value=n,t.state=1,et(t,!1))}catch(n){at({done:!1},n,t)}}};if(Z&&(z=(G=function(t){x(this,G,F),m(t),r.call(this);var n=$(this);try{t(ut(ft,n),ut(at,n))}catch(t){at(n,t)}}).prototype,(r=function(t){L(this,{type:F,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=v(z,{then:function(t,n){var e=U(this),r=Y(O(this,G));return r.ok="function"!=typeof t||t,r.fail="function"==typeof n&&n,r.domain=R?W.domain:void 0,e.parent=!0,e.reactions.push(r),0!=e.state&&et(e,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,n=$(t);this.promise=t,this.resolve=ut(ft,n),this.reject=ut(at,n)},P.f=Y=function(t){return t===G||t===i?new o(t):X(t)},!a&&"function"==typeof l&&K!==Object.prototype)){c=K.then,Q||(p(K,"then",(function(t,n){var e=this;return new G((function(t,n){c.call(e,t,n)})).then(t,n)}),{unsafe:!0}),p(K,"catch",z.catch,{unsafe:!0}));try{delete K.constructor}catch(t){}d&&d(K,z)}u({global:!0,wrap:!0,forced:Z},{Promise:G}),h(G,F,!1,!0),y(F),i=s(F),u({target:F,stat:!0,forced:Z},{reject:function(t){var n=Y(this);return n.reject.call(void 0,t),n.promise}}),u({target:F,stat:!0,forced:a||Z},{resolve:function(t){return T(a&&this===i?G:this,t)}}),u({target:F,stat:!0,forced:tt},{all:function(t){var n=this,e=Y(n),r=e.resolve,o=e.reject,i=A((function(){var e=m(n.resolve),i=[],c=0,u=1;w(t,(function(t){var a=c++,f=!1;i.push(void 0),u++,e.call(n,t).then((function(t){f||(f=!0,i[a]=t,--u||r(i))}),o)})),--u||r(i)}));return i.error&&o(i.value),e.promise},race:function(t){var n=this,e=Y(n),r=e.reject,o=A((function(){var o=m(n.resolve);w(t,(function(t){o.call(n,t).then(e.resolve,r)}))}));return o.error&&r(o.value),e.promise}})},function(t,n,e){var r=e(10);t.exports=function(t,n,e){for(var o in n)r(t,o,n[o],e);return t}},function(t,n,e){"use strict";var r=e(6),o=e(9),i=e(1),c=e(8),u=i("species");t.exports=function(t){var n=r(t),e=o.f;c&&n&&!n[u]&&e(n,u,{configurable:!0,get:function(){return this}})}},function(t,n){t.exports=function(t,n,e){if(!(t instanceof n))throw TypeError("Incorrect "+(e?e+" ":"")+"invocation");return t}},function(t,n,e){var r=e(1)("iterator"),o=!1;try{var i=0,c={next:function(){return{done:!!i++}},return:function(){o=!0}};c[r]=function(){return this},Array.from(c,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var e=!1;try{var i={};i[r]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}},function(t,n,e){var r,o,i,c,u,a,f,s,l=e(0),p=e(15).f,v=e(63).set,d=e(64),h=e(95),y=e(40),g=l.MutationObserver||l.WebKitMutationObserver,m=l.document,x=l.process,b=l.Promise,w=p(l,"queueMicrotask"),j=w&&w.value;j||(r=function(){var t,n;for(y&&(t=x.domain)&&t.exit();o;){n=o.fn,o=o.next;try{n()}catch(t){throw o?c():i=void 0,t}}i=void 0,t&&t.enter()},d||y||h||!g||!m?b&&b.resolve?((f=b.resolve(void 0)).constructor=b,s=f.then,c=function(){s.call(f,r)}):c=y?function(){x.nextTick(r)}:function(){v.call(l,r)}:(u=!0,a=m.createTextNode(""),new g(r).observe(a,{characterData:!0}),c=function(){a.data=u=!u})),t.exports=j||function(t){var n={fn:t,next:void 0};i&&(i.next=n),o||(o=n,c()),i=n}},function(t,n,e){var r=e(27);t.exports=/web0s(?!.*chrome)/i.test(r)},function(t,n,e){var r=e(0);t.exports=function(t,n){var e=r.console;e&&e.error&&(1===arguments.length?e.error(t):e.error(t,n))}},function(t,n){t.exports="object"==typeof window},function(t,n,e){"use strict";var r=e(7),o=e(12),i=e(26),c=e(41),u=e(24);r({target:"Promise",stat:!0},{allSettled:function(t){var n=this,e=i.f(n),r=e.resolve,a=e.reject,f=c((function(){var e=o(n.resolve),i=[],c=0,a=1;u(t,(function(t){var o=c++,u=!1;i.push(void 0),a++,e.call(n,t).then((function(t){u||(u=!0,i[o]={status:"fulfilled",value:t},--a||r(i))}),(function(t){u||(u=!0,i[o]={status:"rejected",reason:t},--a||r(i))}))})),--a||r(i)}));return f.error&&a(f.value),e.promise}})},function(t,n,e){"use strict";var r=e(7),o=e(12),i=e(6),c=e(26),u=e(41),a=e(24),f="No one promise resolved";r({target:"Promise",stat:!0},{any:function(t){var n=this,e=c.f(n),r=e.resolve,s=e.reject,l=u((function(){var e=o(n.resolve),c=[],u=0,l=1,p=!1;a(t,(function(t){var o=u++,a=!1;c.push(void 0),l++,e.call(n,t).then((function(t){a||p||(p=!0,r(t))}),(function(t){a||p||(a=!0,c[o]=t,--l||s(new(i("AggregateError"))(c,f)))}))})),--l||s(new(i("AggregateError"))(c,f))}));return l.error&&s(l.value),e.promise}})},function(t,n,e){"use strict";var r=e(7),o=e(13),i=e(61),c=e(2),u=e(6),a=e(62),f=e(65),s=e(10);if(r({target:"Promise",proto:!0,real:!0,forced:!!i&&c((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var n=a(this,u("Promise")),e="function"==typeof t;return this.then(e?function(e){return f(n,t()).then((function(){return e}))}:t,e?function(e){return f(n,t()).then((function(){throw e}))}:t)}}),!o&&"function"==typeof i){var l=u("Promise").prototype.finally;i.prototype.finally!==l&&s(i.prototype,"finally",l,{unsafe:!0})}},function(t,n,e){"use strict";var r=e(102).charAt,o=e(25),i=e(21),c=e(59),u="String Iterator",a=i.set,f=i.getterFor(u);c(String,"String",(function(t){a(this,{type:u,string:o(t),index:0})}),(function(){var t,n=f(this),e=n.string,o=n.index;return o>=e.length?{value:void 0,done:!0}:(t=r(e,o),n.index+=t.length,{value:t,done:!1})}))},function(t,n,e){var r=e(34),o=e(25),i=e(19),c=function(t){return function(n,e){var c,u,a=o(i(n)),f=r(e),s=a.length;return f<0||f>=s?t?"":void 0:(c=a.charCodeAt(f))<55296||c>56319||f+1===s||(u=a.charCodeAt(f+1))<56320||u>57343?t?a.charAt(f):c:t?a.slice(f,f+2):u-56320+(c-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},function(t,n,e){var r=e(0);t.exports=r},function(t,n,e){"use strict";var r=e(7),o=e(53).includes,i=e(58);r({target:"Array",proto:!0},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(t,n,e){"use strict";var r=e(8),o=e(0),i=e(36),c=e(10),u=e(3),a=e(18),f=e(106),s=e(20),l=e(43),p=e(2),v=e(23),d=e(51).f,h=e(15).f,y=e(9).f,g=e(107).trim,m="Number",x=o.Number,b=x.prototype,w=a(v(b))==m,j=function(t){if(s(t))throw TypeError("Cannot convert a Symbol value to a number");var n,e,r,o,i,c,u,a,f=l(t,"number");if("string"==typeof f&&f.length>2)if(43===(n=(f=g(f)).charCodeAt(0))||45===n){if(88===(e=f.charCodeAt(2))||120===e)return NaN}else if(48===n){switch(f.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+f}for(c=(i=f.slice(2)).length,u=0;u<c;u++)if((a=i.charCodeAt(u))<48||a>o)return NaN;return parseInt(i,r)}return+f};if(i(m,!x(" 0o1")||!x("0b1")||x("+0x1"))){for(var O,E=function(t){var n=arguments.length<1?0:t,e=this;return e instanceof E&&(w?p((function(){b.valueOf.call(e)})):a(e)!=m)?f(new x(j(n)),e,E):j(n)},S=r?d(x):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),T=0;S.length>T;T++)u(x,O=S[T])&&!u(E,O)&&y(E,O,h(x,O));E.prototype=b,b.constructor=E,c(o,m,E)}},function(t,n,e){var r=e(4),o=e(22);t.exports=function(t,n,e){var i,c;return o&&"function"==typeof(i=n.constructor)&&i!==e&&r(c=i.prototype)&&c!==e.prototype&&o(t,c),t}},function(t,n,e){var r=e(19),o=e(25),i="["+e(108)+"]",c=RegExp("^"+i+i+"*"),u=RegExp(i+i+"*$"),a=function(t){return function(n){var e=o(r(n));return 1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(u,"")),e}};t.exports={start:a(1),end:a(2),trim:a(3)}},function(t,n){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(t,n,e){"use strict";e.r(n);var r;e(104),e(105);function o(t,n){t.onload=function(){this.onerror=this.onload=null,n(null,t)},t.onerror=function(){this.onerror=this.onload=null,n(new Error("Failed to load "+this.src),t)}}function i(t,n){t.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,n(null,t))}}function c(t,n){return"CKEDITOR"in window?Promise.resolve(CKEDITOR):"string"!=typeof t||t.length<1?Promise.reject(new TypeError("CKEditor URL must be a non-empty string.")):(r||(r=c.scriptLoader(t).then((function(t){return n&&n(t),t}))),r)}c.scriptLoader=function(t){return new Promise((function(n,e){!function(t,n,e){var r=document.head||document.getElementsByTagName("head")[0],c=document.createElement("script");"function"==typeof n&&(e=n,n={}),n=n||{},e=e||function(){},c.type=n.type||"text/javascript",c.charset=n.charset||"utf8",c.async=!("async"in n)||!!n.async,c.src=t,n.attrs&&function(t,n){for(var e in n)t.setAttribute(e,n[e])}(c,n.attrs),n.text&&(c.text=String(n.text)),("onload"in c?o:i)(c,e),c.onload||o(c,e),r.appendChild(c)}(t,(function(t){return r=void 0,t?e(t):window.CKEDITOR?void n(CKEDITOR):e(new Error("Script loaded from editorUrl doesn't provide CKEDITOR namespace."))}))}))};var u={name:"ckeditor",render:function(t){return t("div",{},[t(this.tagName)])},props:{value:{type:String,default:""},type:{type:String,default:"classic",validator:function(t){return["classic","inline"].includes(t)}},editorUrl:{type:String,default:"https://cdn.ckeditor.com/4.17.2/standard-all/ckeditor.js"},config:{type:Object,default:function(){}},tagName:{type:String,default:"textarea"},readOnly:{type:Boolean,default:null},throttle:{type:Number,default:80}},mounted:function(){var t=this;c(this.editorUrl,(function(n){t.$emit("namespaceloaded",n)})).then((function(){if(!t.$_destroyed){var n=t.prepareConfig(),e="inline"===t.type?"inline":"replace",r=t.$el.firstElementChild;CKEDITOR[e](r,n)}}))},beforeDestroy:function(){this.instance&&this.instance.destroy(),this.$_destroyed=!0},watch:{value:function(t){this.instance&&this.instance.getData()!==t&&this.instance.setData(t)},readOnly:function(t){this.instance&&this.instance.setReadOnly(t)}},methods:{prepareConfig:function(){var t=this,n=this.config||{};n.on=n.on||{},void 0===n.delayIfDetached&&(n.delayIfDetached=!0),null!==this.readOnly&&(n.readOnly=this.readOnly);var e=n.on.instanceReady;return n.on.instanceReady=function(n){t.instance=n.editor,t.$nextTick().then((function(){t.prepareComponentData(),e&&e(n)}))},n},prepareComponentData:function(){var t=this,n=this.value;this.instance.fire("lockSnapshot"),this.instance.setData(n,{callback:function(){t.$_setUpEditorEvents();var e=t.instance.getData();n!==e?(t.$once("input",(function(){t.$emit("ready",t.instance)})),t.$emit("input",e)):t.$emit("ready",t.instance),t.instance.fire("unlockSnapshot")}})},$_setUpEditorEvents:function(){var t=this,n=this.instance,e=function(t,n){var e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(){clearTimeout(e);for(var o=arguments.length,i=new Array(o),c=0;c<o;c++)i[c]=arguments[c];e=setTimeout(t.bind.apply(t,[r].concat(i)),n)}}((function(e){var r=n.getData();t.value!==r&&t.$emit("input",r,e,n)}),this.throttle);n.on("change",e),n.on("focus",(function(e){t.$emit("focus",e,n)})),n.on("blur",(function(e){t.$emit("blur",e,n)}))}}},a={install:function(t){t.component("ckeditor",u)},component:u};n.default=a}]).default}));
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md.
*/
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.CKEditor=n():t.CKEditor=n()}(window,(function(){return function(t){var n={};function r(e){if(n[e])return n[e].exports;var o=n[e]={i:e,l:!1,exports:{}};return t[e].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(t,n,e){r.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,n){if(1&n&&(t=r(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(r.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)r.d(e,o,function(n){return t[n]}.bind(null,o));return e},r.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(n,"a",n),n},r.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},r.p="",r(r.s=77)}([function(t,n,r){(function(n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,r(80))},function(t,n){t.exports=function(t){return"function"==typeof t}},function(t,n,r){var e=r(22),o=Function.prototype,i=o.bind,c=o.call,u=e&&i.bind(c,c);t.exports=e?function(t){return t&&u(t)}:function(t){return t&&function(){return c.apply(t,arguments)}}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,r){var e=r(0),o=r(56),i=r(5),c=r(58),u=r(54),a=r(53),f=o("wks"),s=e.Symbol,p=s&&s.for,l=a?s:s&&s.withoutSetter||c;t.exports=function(t){if(!i(f,t)||!u&&"string"!=typeof f[t]){var n="Symbol."+t;u&&i(s,t)?f[t]=s[t]:f[t]=a&&p?p(n):l(n)}return f[t]}},function(t,n,r){var e=r(2),o=r(57),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},function(t,n,r){var e=r(3);t.exports=!e((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,r){var e=r(22),o=Function.prototype.call;t.exports=e?o.bind(o):function(){return o.apply(o,arguments)}},function(t,n,r){var e=r(0),o=r(9),i=e.String,c=e.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not an object")}},function(t,n,r){var e=r(1);t.exports=function(t){return"object"==typeof t?null!==t:e(t)}},function(t,n,r){var e=r(0),o=r(1),i=function(t){return o(t)?t:void 0};t.exports=function(t,n){return arguments.length<2?i(e[t]):e[t]&&e[t][n]}},function(t,n,r){var e=r(0),o=r(6),i=r(59),c=r(60),u=r(8),a=r(51),f=e.TypeError,s=Object.defineProperty,p=Object.getOwnPropertyDescriptor,l="enumerable",v="configurable",d="writable";n.f=o?c?function(t,n,r){if(u(t),n=a(n),u(r),"function"==typeof t&&"prototype"===n&&"value"in r&&d in r&&!r.writable){var e=p(t,n);e&&e.writable&&(t[n]=r.value,r={configurable:v in r?r.configurable:e.configurable,enumerable:l in r?r.enumerable:e.enumerable,writable:!1})}return s(t,n,r)}:s:function(t,n,r){if(u(t),n=a(n),u(r),i)try{return s(t,n,r)}catch(t){}if("get"in r||"set"in r)throw f("Accessors not supported");return"value"in r&&(t[n]=r.value),t}},function(t,n,r){var e=r(0),o=r(1),i=r(5),c=r(16),u=r(38),a=r(26),f=r(27),s=r(61).CONFIGURABLE,p=f.get,l=f.enforce,v=String(String).split("String");(t.exports=function(t,n,r,a){var f,p=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,h=!!a&&!!a.noTargetGet,y=a&&void 0!==a.name?a.name:n;o(r)&&("Symbol("===String(y).slice(0,7)&&(y="["+String(y).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!i(r,"name")||s&&r.name!==y)&&c(r,"name",y),(f=l(r)).source||(f.source=v.join("string"==typeof y?y:""))),t!==e?(p?!h&&t[n]&&(d=!0):delete t[n],d?t[n]=r:c(t,n,r)):d?t[n]=r:u(n,r)})(Function.prototype,"toString",(function(){return o(this)&&p(this).source||a(this)}))},function(t,n,r){var e=r(0),o=r(21).f,i=r(16),c=r(12),u=r(38),a=r(62),f=r(44);t.exports=function(t,n){var r,s,p,l,v,d=t.target,h=t.global,y=t.stat;if(r=h?e:y?e[d]||u(d,{}):(e[d]||{}).prototype)for(s in n){if(l=n[s],p=t.noTargetGet?(v=o(r,s))&&v.value:r[s],!f(h?s:d+(y?".":"#")+s,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;a(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),c(r,s,l,t)}}},function(t,n,r){var e=r(0),o=r(1),i=r(25),c=e.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not a function")}},function(t,n){t.exports=!1},function(t,n,r){var e=r(6),o=r(11),i=r(17);t.exports=e?function(t,n,r){return o.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,r){var e=r(82),o=r(23);t.exports=function(t){return e(o(t))}},function(t,n,r){var e=r(2);t.exports=e({}.isPrototypeOf)},function(t,n){t.exports={}},function(t,n,r){var e=r(6),o=r(7),i=r(81),c=r(17),u=r(18),a=r(51),f=r(5),s=r(59),p=Object.getOwnPropertyDescriptor;n.f=e?p:function(t,n){if(t=u(t),n=a(n),s)try{return p(t,n)}catch(t){}if(f(t,n))return c(!o(i.f,t,n),t[n])}},function(t,n,r){var e=r(3);t.exports=!e((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},function(t,n,r){var e=r(0).TypeError;t.exports=function(t){if(null==t)throw e("Can't call method on "+t);return t}},function(t,n,r){var e=r(10);t.exports=e("navigator","userAgent")||""},function(t,n,r){var e=r(0).String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},function(t,n,r){var e=r(2),o=r(1),i=r(37),c=e(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return c(t)}),t.exports=i.inspectSource},function(t,n,r){var e,o,i,c=r(84),u=r(0),a=r(2),f=r(9),s=r(16),p=r(5),l=r(37),v=r(40),d=r(41),h="Object already initialized",y=u.TypeError,g=u.WeakMap;if(c||l.state){var m=l.state||(l.state=new g),b=a(m.get),x=a(m.has),w=a(m.set);e=function(t,n){if(x(m,t))throw new y(h);return n.facade=t,w(m,t,n),n},o=function(t){return b(m,t)||{}},i=function(t){return x(m,t)}}else{var O=v("state");d[O]=!0,e=function(t,n){if(p(t,O))throw new y(h);return n.facade=t,s(t,O,n),n},o=function(t){return p(t,O)?t[O]:{}},i=function(t){return p(t,O)}}t.exports={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(n){var r;if(!f(n)||(r=o(n)).type!==t)throw y("Incompatible receiver, "+t+" required");return r}}}},function(t,n,r){var e=r(2),o=r(8),i=r(90);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,n=!1,r={};try{(t=e(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(r,[]),n=r instanceof Array}catch(t){}return function(r,e){return o(r),i(e),n?t(r,e):r.__proto__=e,r}}():void 0)},function(t,n,r){var e,o=r(8),i=r(91),c=r(43),u=r(41),a=r(67),f=r(39),s=r(40),p=s("IE_PROTO"),l=function(){},v=function(t){return"<script>"+t+"</"+"script>"},d=function(t){t.write(v("")),t.close();var n=t.parentWindow.Object;return t=null,n},h=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}var t,n;h="undefined"!=typeof document?document.domain&&e?d(e):((n=f("iframe")).style.display="none",a.appendChild(n),n.src=String("javascript:"),(t=n.contentWindow.document).open(),t.write(v("document.F=Object")),t.close(),t.F):d(e);for(var r=c.length;r--;)delete h.prototype[c[r]];return h()};u[p]=!0,t.exports=Object.create||function(t,n){var r;return null!==t?(l.prototype=o(t),r=new l,l.prototype=null,r[p]=t):r=h(),void 0===n?r:i.f(r,n)}},function(t,n,r){var e=r(0),o=r(46),i=r(7),c=r(8),u=r(25),a=r(95),f=r(66),s=r(19),p=r(96),l=r(68),v=r(97),d=e.TypeError,h=function(t,n){this.stopped=t,this.result=n},y=h.prototype;t.exports=function(t,n,r){var e,g,m,b,x,w,O,j=r&&r.that,E=!(!r||!r.AS_ENTRIES),S=!(!r||!r.IS_ITERATOR),P=!(!r||!r.INTERRUPTED),T=o(n,j),I=function(t){return e&&v(e,"normal",t),new h(!0,t)},A=function(t){return E?(c(t),P?T(t[0],t[1],I):T(t[0],t[1])):P?T(t,I):T(t)};if(S)e=t;else{if(!(g=l(t)))throw d(u(t)+" is not iterable");if(a(g)){for(m=0,b=f(t);b>m;m++)if((x=A(t[m]))&&s(y,x))return x;return new h(!1)}e=p(t,g)}for(w=e.next;!(O=i(w,e)).done;){try{x=A(O.value)}catch(t){v(e,"throw",t)}if("object"==typeof x&&x&&s(y,x))return x}return new h(!1)}},function(t,n,r){var e=r(0),o=r(47),i=r(1),c=r(34),u=r(4)("toStringTag"),a=e.Object,f="Arguments"==c(function(){return arguments}());t.exports=o?c:function(t){var n,r,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=a(t),u))?r:f?c(n):"Object"==(e=c(n))&&i(n.callee)?"Arguments":e}},function(t,n,r){var e=r(0),o=r(31),i=e.String;t.exports=function(t){if("Symbol"===o(t))throw TypeError("Cannot convert a Symbol value to a string");return i(t)}},function(t,n,r){"use strict";var e=r(14),o=function(t){var n,r;this.promise=new t((function(t,e){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=t,r=e})),this.resolve=e(n),this.reject=e(r)};t.exports.f=function(t){return new o(t)}},function(t,n,r){var e=r(2),o=e({}.toString),i=e("".slice);t.exports=function(t){return i(o(t),8,-1)}},function(t,n,r){var e=r(0),o=r(10),i=r(1),c=r(19),u=r(53),a=e.Object;t.exports=u?function(t){return"symbol"==typeof t}:function(t){var n=o("Symbol");return i(n)&&c(n.prototype,a(t))}},function(t,n,r){var e=r(14);t.exports=function(t,n){var r=t[n];return null==r?void 0:e(r)}},function(t,n,r){var e=r(0),o=r(38),i="__core-js_shared__",c=e[i]||o(i,{});t.exports=c},function(t,n,r){var e=r(0),o=Object.defineProperty;t.exports=function(t,n){try{o(e,t,{value:n,configurable:!0,writable:!0})}catch(r){e[t]=n}return n}},function(t,n,r){var e=r(0),o=r(9),i=e.document,c=o(i)&&o(i.createElement);t.exports=function(t){return c?i.createElement(t):{}}},function(t,n,r){var e=r(56),o=r(58),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,n){t.exports={}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){var n=+t;return n!=n||0===n?0:(n>0?e:r)(n)}},function(t,n){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,n,r){var e=r(3),o=r(1),i=/#|\.prototype\./,c=function(t,n){var r=a[u(t)];return r==s||r!=f&&(o(n)?e(n):!!n)},u=c.normalize=function(t){return String(t).replace(i,".").toLowerCase()},a=c.data={},f=c.NATIVE="N",s=c.POLYFILL="P";t.exports=c},function(t,n,r){var e=r(0),o=r(5),i=r(1),c=r(57),u=r(40),a=r(89),f=u("IE_PROTO"),s=e.Object,p=s.prototype;t.exports=a?s.getPrototypeOf:function(t){var n=c(t);if(o(n,f))return n[f];var r=n.constructor;return i(r)&&n instanceof r?r.prototype:n instanceof s?p:null}},function(t,n,r){var e=r(2),o=r(14),i=r(22),c=e(e.bind);t.exports=function(t,n){return o(t),void 0===n?t:i?c(t,n):function(){return t.apply(n,arguments)}}},function(t,n,r){var e={};e[r(4)("toStringTag")]="z",t.exports="[object z]"===String(e)},function(t,n,r){var e=r(11).f,o=r(5),i=r(4)("toStringTag");t.exports=function(t,n,r){t&&!r&&(t=t.prototype),t&&!o(t,i)&&e(t,i,{configurable:!0,value:n})}},function(t,n,r){var e=r(34),o=r(0);t.exports="process"==e(o.process)},function(t,n){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,n,r){var e=r(52),o=r(35);t.exports=function(t){var n=e(t,"string");return o(n)?n:n+""}},function(t,n,r){var e=r(0),o=r(7),i=r(9),c=r(35),u=r(36),a=r(83),f=r(4),s=e.TypeError,p=f("toPrimitive");t.exports=function(t,n){if(!i(t)||c(t))return t;var r,e=u(t,p);if(e){if(void 0===n&&(n="default"),r=o(e,t,n),!i(r)||c(r))return r;throw s("Can't convert object to primitive value")}return void 0===n&&(n="number"),a(t,n)}},function(t,n,r){var e=r(54);t.exports=e&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,r){var e=r(55),o=r(3);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&e&&e<41}))},function(t,n,r){var e,o,i=r(0),c=r(24),u=i.process,a=i.Deno,f=u&&u.versions||a&&a.version,s=f&&f.v8;s&&(o=(e=s.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!o&&c&&(!(e=c.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=c.match(/Chrome\/(\d+)/))&&(o=+e[1]),t.exports=o},function(t,n,r){var e=r(15),o=r(37);(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:"3.21.1",mode:e?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.21.1/LICENSE",source:"https://github.com/zloirock/core-js"})},function(t,n,r){var e=r(0),o=r(23),i=e.Object;t.exports=function(t){return i(o(t))}},function(t,n,r){var e=r(2),o=0,i=Math.random(),c=e(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+c(++o+i,36)}},function(t,n,r){var e=r(6),o=r(3),i=r(39);t.exports=!e&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,n,r){var e=r(6),o=r(3);t.exports=e&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},function(t,n,r){var e=r(6),o=r(5),i=Function.prototype,c=e&&Object.getOwnPropertyDescriptor,u=o(i,"name"),a=u&&"something"===function(){}.name,f=u&&(!e||e&&c(i,"name").configurable);t.exports={EXISTS:u,PROPER:a,CONFIGURABLE:f}},function(t,n,r){var e=r(5),o=r(85),i=r(21),c=r(11);t.exports=function(t,n,r){for(var u=o(n),a=c.f,f=i.f,s=0;s<u.length;s++){var p=u[s];e(t,p)||r&&e(r,p)||a(t,p,f(n,p))}}},function(t,n,r){var e=r(64),o=r(43).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},function(t,n,r){var e=r(2),o=r(5),i=r(18),c=r(65).indexOf,u=r(41),a=e([].push);t.exports=function(t,n){var r,e=i(t),f=0,s=[];for(r in e)!o(u,r)&&o(e,r)&&a(s,r);for(;n.length>f;)o(e,r=n[f++])&&(~c(s,r)||a(s,r));return s}},function(t,n,r){var e=r(18),o=r(86),i=r(66),c=function(t){return function(n,r,c){var u,a=e(n),f=i(a),s=o(c,f);if(t&&r!=r){for(;f>s;)if((u=a[s++])!=u)return!0}else for(;f>s;s++)if((t||s in a)&&a[s]===r)return t||s||0;return!t&&-1}};t.exports={includes:c(!0),indexOf:c(!1)}},function(t,n,r){var e=r(87);t.exports=function(t){return e(t.length)}},function(t,n,r){var e=r(10);t.exports=e("document","documentElement")},function(t,n,r){var e=r(31),o=r(36),i=r(20),c=r(4)("iterator");t.exports=function(t){if(null!=t)return o(t,c)||o(t,"@@iterator")||i[e(t)]}},function(t,n,r){var e=r(4),o=r(29),i=r(11),c=e("unscopables"),u=Array.prototype;null==u[c]&&i.f(u,c,{configurable:!0,value:o(null)}),t.exports=function(t){u[c][t]=!0}},function(t,n,r){"use strict";var e=r(13),o=r(7),i=r(15),c=r(61),u=r(1),a=r(101),f=r(45),s=r(28),p=r(48),l=r(16),v=r(12),d=r(4),h=r(20),y=r(71),g=c.PROPER,m=c.CONFIGURABLE,b=y.IteratorPrototype,x=y.BUGGY_SAFARI_ITERATORS,w=d("iterator"),O="keys",j="values",E="entries",S=function(){return this};t.exports=function(t,n,r,c,d,y,P){a(r,n,c);var T,I,A,_=function(t){if(t===d&&F)return F;if(!x&&t in N)return N[t];switch(t){case O:case j:case E:return function(){return new r(this,t)}}return function(){return new r(this)}},R=n+" Iterator",k=!1,N=t.prototype,C=N[w]||N["@@iterator"]||d&&N[d],F=!x&&C||_(d),D="Array"==n&&N.entries||C;if(D&&(T=f(D.call(new t)))!==Object.prototype&&T.next&&(i||f(T)===b||(s?s(T,b):u(T[w])||v(T,w,S)),p(T,R,!0,!0),i&&(h[R]=S)),g&&d==j&&C&&C.name!==j&&(!i&&m?l(N,"name",j):(k=!0,F=function(){return o(C,this)})),d)if(I={values:_(j),keys:y?F:_(O),entries:_(E)},P)for(A in I)(x||k||!(A in N))&&v(N,A,I[A]);else e({target:n,proto:!0,forced:x||k},I);return i&&!P||N[w]===F||v(N,w,F,{name:d}),h[n]=F,I}},function(t,n,r){"use strict";var e,o,i,c=r(3),u=r(1),a=r(29),f=r(45),s=r(12),p=r(4),l=r(15),v=p("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=f(f(i)))!==Object.prototype&&(e=o):d=!0),null==e||c((function(){var t={};return e[v].call(t)!==t}))?e={}:l&&(e=a(e)),u(e[v])||s(e,v,(function(){return this})),t.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:d}},function(t,n,r){var e=r(0);t.exports=e.Promise},function(t,n,r){var e=r(8),o=r(109),i=r(4)("species");t.exports=function(t,n){var r,c=e(t).constructor;return void 0===c||null==(r=e(c)[i])?n:o(r)}},function(t,n,r){var e,o,i,c,u=r(0),a=r(111),f=r(46),s=r(1),p=r(5),l=r(3),v=r(67),d=r(112),h=r(39),y=r(113),g=r(75),m=r(49),b=u.setImmediate,x=u.clearImmediate,w=u.process,O=u.Dispatch,j=u.Function,E=u.MessageChannel,S=u.String,P=0,T={},I="onreadystatechange";try{e=u.location}catch(t){}var A=function(t){if(p(T,t)){var n=T[t];delete T[t],n()}},_=function(t){return function(){A(t)}},R=function(t){A(t.data)},k=function(t){u.postMessage(S(t),e.protocol+"//"+e.host)};b&&x||(b=function(t){y(arguments.length,1);var n=s(t)?t:j(t),r=d(arguments,1);return T[++P]=function(){a(n,void 0,r)},o(P),P},x=function(t){delete T[t]},m?o=function(t){w.nextTick(_(t))}:O&&O.now?o=function(t){O.now(_(t))}:E&&!g?(c=(i=new E).port2,i.port1.onmessage=R,o=f(c.postMessage,c)):u.addEventListener&&s(u.postMessage)&&!u.importScripts&&e&&"file:"!==e.protocol&&!l(k)?(o=k,u.addEventListener("message",R,!1)):o=I in h("script")?function(t){v.appendChild(h("script")).onreadystatechange=function(){v.removeChild(this),A(t)}}:function(t){setTimeout(_(t),0)}),t.exports={set:b,clear:x}},function(t,n,r){var e=r(24);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(e)},function(t,n,r){var e=r(8),o=r(9),i=r(33);t.exports=function(t,n){if(e(t),o(n)&&n.constructor===t)return n;var r=i.f(t);return(0,r.resolve)(n),r.promise}},function(t,n,r){r(78),t.exports=r(132)},function(t,n,r){r(79),r(100),r(102),r(104),r(120),r(121),r(122),r(123);var e=r(125);t.exports=e.Promise},function(t,n,r){"use strict";var e=r(13),o=r(0),i=r(19),c=r(45),u=r(28),a=r(62),f=r(29),s=r(16),p=r(17),l=r(93),v=r(94),d=r(30),h=r(98),y=r(4),g=r(99),m=y("toStringTag"),b=o.Error,x=[].push,w=function(t,n){var r,e=arguments.length>2?arguments[2]:void 0,o=i(O,this);u?r=u(new b,o?c(this):O):(r=o?this:f(O),s(r,m,"Error")),void 0!==n&&s(r,"message",h(n)),g&&s(r,"stack",l(r.stack,1)),v(r,e);var a=[];return d(t,x,{that:a}),s(r,"errors",a),r};u?u(w,b):a(w,b,{name:!0});var O=w.prototype=f(b.prototype,{constructor:p(1,w),message:p(1,""),name:p(1,"AggregateError")});e({global:!0},{AggregateError:w})},function(t,n){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,n,r){"use strict";var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!e.call({1:2},1);n.f=i?function(t){var n=o(this,t);return!!n&&n.enumerable}:e},function(t,n,r){var e=r(0),o=r(2),i=r(3),c=r(34),u=e.Object,a=o("".split);t.exports=i((function(){return!u("z").propertyIsEnumerable(0)}))?function(t){return"String"==c(t)?a(t,""):u(t)}:u},function(t,n,r){var e=r(0),o=r(7),i=r(1),c=r(9),u=e.TypeError;t.exports=function(t,n){var r,e;if("string"===n&&i(r=t.toString)&&!c(e=o(r,t)))return e;if(i(r=t.valueOf)&&!c(e=o(r,t)))return e;if("string"!==n&&i(r=t.toString)&&!c(e=o(r,t)))return e;throw u("Can't convert object to primitive value")}},function(t,n,r){var e=r(0),o=r(1),i=r(26),c=e.WeakMap;t.exports=o(c)&&/native code/.test(i(c))},function(t,n,r){var e=r(10),o=r(2),i=r(63),c=r(88),u=r(8),a=o([].concat);t.exports=e("Reflect","ownKeys")||function(t){var n=i.f(u(t)),r=c.f;return r?a(n,r(t)):n}},function(t,n,r){var e=r(42),o=Math.max,i=Math.min;t.exports=function(t,n){var r=e(t);return r<0?o(r+n,0):i(r,n)}},function(t,n,r){var e=r(42),o=Math.min;t.exports=function(t){return t>0?o(e(t),9007199254740991):0}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(3);t.exports=!e((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,n,r){var e=r(0),o=r(1),i=e.String,c=e.TypeError;t.exports=function(t){if("object"==typeof t||o(t))return t;throw c("Can't set "+i(t)+" as a prototype")}},function(t,n,r){var e=r(6),o=r(60),i=r(11),c=r(8),u=r(18),a=r(92);n.f=e&&!o?Object.defineProperties:function(t,n){c(t);for(var r,e=u(n),o=a(n),f=o.length,s=0;f>s;)i.f(t,r=o[s++],e[r]);return t}},function(t,n,r){var e=r(64),o=r(43);t.exports=Object.keys||function(t){return e(t,o)}},function(t,n,r){var e=r(2)("".replace),o=String(Error("zxcasd").stack),i=/\n\s*at [^:]*:[^\n]*/,c=i.test(o);t.exports=function(t,n){if(c&&"string"==typeof t)for(;n--;)t=e(t,i,"");return t}},function(t,n,r){var e=r(9),o=r(16);t.exports=function(t,n){e(n)&&"cause"in n&&o(t,"cause",n.cause)}},function(t,n,r){var e=r(4),o=r(20),i=e("iterator"),c=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||c[i]===t)}},function(t,n,r){var e=r(0),o=r(7),i=r(14),c=r(8),u=r(25),a=r(68),f=e.TypeError;t.exports=function(t,n){var r=arguments.length<2?a(t):n;if(i(r))return c(o(r,t));throw f(u(t)+" is not iterable")}},function(t,n,r){var e=r(7),o=r(8),i=r(36);t.exports=function(t,n,r){var c,u;o(t);try{if(!(c=i(t,"return"))){if("throw"===n)throw r;return r}c=e(c,t)}catch(t){u=!0,c=t}if("throw"===n)throw r;if(u)throw c;return o(c),r}},function(t,n,r){var e=r(32);t.exports=function(t,n){return void 0===t?arguments.length<2?"":n:e(t)}},function(t,n,r){var e=r(3),o=r(17);t.exports=!e((function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",o(1,7)),7!==t.stack)}))},function(t,n,r){"use strict";var e=r(18),o=r(69),i=r(20),c=r(27),u=r(11).f,a=r(70),f=r(15),s=r(6),p="Array Iterator",l=c.set,v=c.getterFor(p);t.exports=a(Array,"Array",(function(t,n){l(this,{type:p,target:e(t),index:0,kind:n})}),(function(){var t=v(this),n=t.target,r=t.kind,e=t.index++;return!n||e>=n.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:e,done:!1}:"values"==r?{value:n[e],done:!1}:{value:[e,n[e]],done:!1}}),"values");var d=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!f&&s&&"values"!==d.name)try{u(d,"name",{value:"values"})}catch(t){}},function(t,n,r){"use strict";var e=r(71).IteratorPrototype,o=r(29),i=r(17),c=r(48),u=r(20),a=function(){return this};t.exports=function(t,n,r,f){var s=n+" Iterator";return t.prototype=o(e,{next:i(+!f,r)}),c(t,s,!1,!0),u[s]=a,t}},function(t,n,r){var e=r(47),o=r(12),i=r(103);e||o(Object.prototype,"toString",i,{unsafe:!0})},function(t,n,r){"use strict";var e=r(47),o=r(31);t.exports=e?{}.toString:function(){return"[object "+o(this)+"]"}},function(t,n,r){"use strict";var e,o,i,c,u=r(13),a=r(15),f=r(0),s=r(10),p=r(7),l=r(72),v=r(12),d=r(105),h=r(28),y=r(48),g=r(106),m=r(14),b=r(1),x=r(9),w=r(107),O=r(26),j=r(30),E=r(108),S=r(73),P=r(74).set,T=r(114),I=r(76),A=r(117),_=r(33),R=r(50),k=r(118),N=r(27),C=r(44),F=r(4),D=r(119),M=r(49),L=r(55),U=F("species"),$="Promise",G=N.getterFor($),K=N.set,z=N.getterFor($),B=l&&l.prototype,V=l,W=B,Y=f.TypeError,X=f.document,q=f.process,H=_.f,J=H,Q=!!(X&&X.createEvent&&f.dispatchEvent),Z=b(f.PromiseRejectionEvent),tt="unhandledrejection",nt=!1,rt=C($,(function(){var t=O(V),n=t!==String(V);if(!n&&66===L)return!0;if(a&&!W.finally)return!0;if(L>=51&&/native code/.test(t))return!1;var r=new V((function(t){t(1)})),e=function(t){t((function(){}),(function(){}))};return(r.constructor={})[U]=e,!(nt=r.then((function(){}))instanceof e)||!n&&D&&!Z})),et=rt||!E((function(t){V.all(t).catch((function(){}))})),ot=function(t){var n;return!(!x(t)||!b(n=t.then))&&n},it=function(t,n){var r,e,o,i=n.value,c=1==n.state,u=c?t.ok:t.fail,a=t.resolve,f=t.reject,s=t.domain;try{u?(c||(2===n.rejection&&st(n),n.rejection=1),!0===u?r=i:(s&&s.enter(),r=u(i),s&&(s.exit(),o=!0)),r===t.promise?f(Y("Promise-chain cycle")):(e=ot(r))?p(e,r,a,f):a(r)):f(i)}catch(t){s&&!o&&s.exit(),f(t)}},ct=function(t,n){t.notified||(t.notified=!0,T((function(){for(var r,e=t.reactions;r=e.get();)it(r,t);t.notified=!1,n&&!t.rejection&&at(t)})))},ut=function(t,n,r){var e,o;Q?((e=X.createEvent("Event")).promise=n,e.reason=r,e.initEvent(t,!1,!0),f.dispatchEvent(e)):e={promise:n,reason:r},!Z&&(o=f["on"+t])?o(e):t===tt&&A("Unhandled promise rejection",r)},at=function(t){p(P,f,(function(){var n,r=t.facade,e=t.value;if(ft(t)&&(n=R((function(){M?q.emit("unhandledRejection",e,r):ut(tt,r,e)})),t.rejection=M||ft(t)?2:1,n.error))throw n.value}))},ft=function(t){return 1!==t.rejection&&!t.parent},st=function(t){p(P,f,(function(){var n=t.facade;M?q.emit("rejectionHandled",n):ut("rejectionhandled",n,t.value)}))},pt=function(t,n,r){return function(e){t(n,e,r)}},lt=function(t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,ct(t,!0))},vt=function(t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===n)throw Y("Promise can't be resolved itself");var e=ot(n);e?T((function(){var r={done:!1};try{p(e,n,pt(vt,r,t),pt(lt,r,t))}catch(n){lt(r,n,t)}})):(t.value=n,t.state=1,ct(t,!1))}catch(n){lt({done:!1},n,t)}}};if(rt&&(W=(V=function(t){w(this,W),m(t),p(e,this);var n=G(this);try{t(pt(vt,n),pt(lt,n))}catch(t){lt(n,t)}}).prototype,(e=function(t){K(this,{type:$,done:!1,notified:!1,parent:!1,reactions:new k,rejection:!1,state:0,value:void 0})}).prototype=d(W,{then:function(t,n){var r=z(this),e=H(S(this,V));return r.parent=!0,e.ok=!b(t)||t,e.fail=b(n)&&n,e.domain=M?q.domain:void 0,0==r.state?r.reactions.add(e):T((function(){it(e,r)})),e.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new e,n=G(t);this.promise=t,this.resolve=pt(vt,n),this.reject=pt(lt,n)},_.f=H=function(t){return t===V||t===i?new o(t):J(t)},!a&&b(l)&&B!==Object.prototype)){c=B.then,nt||(v(B,"then",(function(t,n){var r=this;return new V((function(t,n){p(c,r,t,n)})).then(t,n)}),{unsafe:!0}),v(B,"catch",W.catch,{unsafe:!0}));try{delete B.constructor}catch(t){}h&&h(B,W)}u({global:!0,wrap:!0,forced:rt},{Promise:V}),y(V,$,!1,!0),g($),i=s($),u({target:$,stat:!0,forced:rt},{reject:function(t){var n=H(this);return p(n.reject,void 0,t),n.promise}}),u({target:$,stat:!0,forced:a||rt},{resolve:function(t){return I(a&&this===i?V:this,t)}}),u({target:$,stat:!0,forced:et},{all:function(t){var n=this,r=H(n),e=r.resolve,o=r.reject,i=R((function(){var r=m(n.resolve),i=[],c=0,u=1;j(t,(function(t){var a=c++,f=!1;u++,p(r,n,t).then((function(t){f||(f=!0,i[a]=t,--u||e(i))}),o)})),--u||e(i)}));return i.error&&o(i.value),r.promise},race:function(t){var n=this,r=H(n),e=r.reject,o=R((function(){var o=m(n.resolve);j(t,(function(t){p(o,n,t).then(r.resolve,e)}))}));return o.error&&e(o.value),r.promise}})},function(t,n,r){var e=r(12);t.exports=function(t,n,r){for(var o in n)e(t,o,n[o],r);return t}},function(t,n,r){"use strict";var e=r(10),o=r(11),i=r(4),c=r(6),u=i("species");t.exports=function(t){var n=e(t),r=o.f;c&&n&&!n[u]&&r(n,u,{configurable:!0,get:function(){return this}})}},function(t,n,r){var e=r(0),o=r(19),i=e.TypeError;t.exports=function(t,n){if(o(n,t))return t;throw i("Incorrect invocation")}},function(t,n,r){var e=r(4)("iterator"),o=!1;try{var i=0,c={next:function(){return{done:!!i++}},return:function(){o=!0}};c[e]=function(){return this},Array.from(c,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!o)return!1;var r=!1;try{var i={};i[e]=function(){return{next:function(){return{done:r=!0}}}},t(i)}catch(t){}return r}},function(t,n,r){var e=r(0),o=r(110),i=r(25),c=e.TypeError;t.exports=function(t){if(o(t))return t;throw c(i(t)+" is not a constructor")}},function(t,n,r){var e=r(2),o=r(3),i=r(1),c=r(31),u=r(10),a=r(26),f=function(){},s=[],p=u("Reflect","construct"),l=/^\s*(?:class|function)\b/,v=e(l.exec),d=!l.exec(f),h=function(t){if(!i(t))return!1;try{return p(f,s,t),!0}catch(t){return!1}},y=function(t){if(!i(t))return!1;switch(c(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!v(l,a(t))}catch(t){return!0}};y.sham=!0,t.exports=!p||o((function(){var t;return h(h.call)||!h(Object)||!h((function(){t=!0}))||t}))?y:h},function(t,n,r){var e=r(22),o=Function.prototype,i=o.apply,c=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(e?c.bind(i):function(){return c.apply(i,arguments)})},function(t,n,r){var e=r(2);t.exports=e([].slice)},function(t,n,r){var e=r(0).TypeError;t.exports=function(t,n){if(t<n)throw e("Not enough arguments");return t}},function(t,n,r){var e,o,i,c,u,a,f,s,p=r(0),l=r(46),v=r(21).f,d=r(74).set,h=r(75),y=r(115),g=r(116),m=r(49),b=p.MutationObserver||p.WebKitMutationObserver,x=p.document,w=p.process,O=p.Promise,j=v(p,"queueMicrotask"),E=j&&j.value;E||(e=function(){var t,n;for(m&&(t=w.domain)&&t.exit();o;){n=o.fn,o=o.next;try{n()}catch(t){throw o?c():i=void 0,t}}i=void 0,t&&t.enter()},h||m||g||!b||!x?!y&&O&&O.resolve?((f=O.resolve(void 0)).constructor=O,s=l(f.then,f),c=function(){s(e)}):m?c=function(){w.nextTick(e)}:(d=l(d,p),c=function(){d(e)}):(u=!0,a=x.createTextNode(""),new b(e).observe(a,{characterData:!0}),c=function(){a.data=u=!u})),t.exports=E||function(t){var n={fn:t,next:void 0};i&&(i.next=n),o||(o=n,c()),i=n}},function(t,n,r){var e=r(24),o=r(0);t.exports=/ipad|iphone|ipod/i.test(e)&&void 0!==o.Pebble},function(t,n,r){var e=r(24);t.exports=/web0s(?!.*chrome)/i.test(e)},function(t,n,r){var e=r(0);t.exports=function(t,n){var r=e.console;r&&r.error&&(1==arguments.length?r.error(t):r.error(t,n))}},function(t,n){var r=function(){this.head=null,this.tail=null};r.prototype={add:function(t){var n={item:t,next:null};this.head?this.tail.next=n:this.head=n,this.tail=n},get:function(){var t=this.head;if(t)return this.head=t.next,this.tail===t&&(this.tail=null),t.item}},t.exports=r},function(t,n){t.exports="object"==typeof window},function(t,n,r){"use strict";var e=r(13),o=r(7),i=r(14),c=r(33),u=r(50),a=r(30);e({target:"Promise",stat:!0},{allSettled:function(t){var n=this,r=c.f(n),e=r.resolve,f=r.reject,s=u((function(){var r=i(n.resolve),c=[],u=0,f=1;a(t,(function(t){var i=u++,a=!1;f++,o(r,n,t).then((function(t){a||(a=!0,c[i]={status:"fulfilled",value:t},--f||e(c))}),(function(t){a||(a=!0,c[i]={status:"rejected",reason:t},--f||e(c))}))})),--f||e(c)}));return s.error&&f(s.value),r.promise}})},function(t,n,r){"use strict";var e=r(13),o=r(14),i=r(10),c=r(7),u=r(33),a=r(50),f=r(30),s="No one promise resolved";e({target:"Promise",stat:!0},{any:function(t){var n=this,r=i("AggregateError"),e=u.f(n),p=e.resolve,l=e.reject,v=a((function(){var e=o(n.resolve),i=[],u=0,a=1,v=!1;f(t,(function(t){var o=u++,f=!1;a++,c(e,n,t).then((function(t){f||v||(v=!0,p(t))}),(function(t){f||v||(f=!0,i[o]=t,--a||l(new r(i,s)))}))})),--a||l(new r(i,s))}));return v.error&&l(v.value),e.promise}})},function(t,n,r){"use strict";var e=r(13),o=r(15),i=r(72),c=r(3),u=r(10),a=r(1),f=r(73),s=r(76),p=r(12);if(e({target:"Promise",proto:!0,real:!0,forced:!!i&&c((function(){i.prototype.finally.call({then:function(){}},(function(){}))}))},{finally:function(t){var n=f(this,u("Promise")),r=a(t);return this.then(r?function(r){return s(n,t()).then((function(){return r}))}:t,r?function(r){return s(n,t()).then((function(){throw r}))}:t)}}),!o&&a(i)){var l=u("Promise").prototype.finally;i.prototype.finally!==l&&p(i.prototype,"finally",l,{unsafe:!0})}},function(t,n,r){"use strict";var e=r(124).charAt,o=r(32),i=r(27),c=r(70),u="String Iterator",a=i.set,f=i.getterFor(u);c(String,"String",(function(t){a(this,{type:u,string:o(t),index:0})}),(function(){var t,n=f(this),r=n.string,o=n.index;return o>=r.length?{value:void 0,done:!0}:(t=e(r,o),n.index+=t.length,{value:t,done:!1})}))},function(t,n,r){var e=r(2),o=r(42),i=r(32),c=r(23),u=e("".charAt),a=e("".charCodeAt),f=e("".slice),s=function(t){return function(n,r){var e,s,p=i(c(n)),l=o(r),v=p.length;return l<0||l>=v?t?"":void 0:(e=a(p,l))<55296||e>56319||l+1===v||(s=a(p,l+1))<56320||s>57343?t?u(p,l):e:t?f(p,l,l+2):s-56320+(e-55296<<10)+65536}};t.exports={codeAt:s(!1),charAt:s(!0)}},function(t,n,r){var e=r(0);t.exports=e},function(t,n,r){"use strict";var e=r(13),o=r(65).includes,i=r(69);e({target:"Array",proto:!0},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(t,n,r){"use strict";var e=r(6),o=r(0),i=r(2),c=r(44),u=r(12),a=r(5),f=r(128),s=r(19),p=r(35),l=r(52),v=r(3),d=r(63).f,h=r(21).f,y=r(11).f,g=r(129),m=r(130).trim,b="Number",x=o.Number,w=x.prototype,O=o.TypeError,j=i("".slice),E=i("".charCodeAt),S=function(t){var n=l(t,"number");return"bigint"==typeof n?n:P(n)},P=function(t){var n,r,e,o,i,c,u,a,f=l(t,"number");if(p(f))throw O("Cannot convert a Symbol value to a number");if("string"==typeof f&&f.length>2)if(f=m(f),43===(n=E(f,0))||45===n){if(88===(r=E(f,2))||120===r)return NaN}else if(48===n){switch(E(f,1)){case 66:case 98:e=2,o=49;break;case 79:case 111:e=8,o=55;break;default:return+f}for(c=(i=j(f,2)).length,u=0;u<c;u++)if((a=E(i,u))<48||a>o)return NaN;return parseInt(i,e)}return+f};if(c(b,!x(" 0o1")||!x("0b1")||x("+0x1"))){for(var T,I=function(t){var n=arguments.length<1?0:x(S(t)),r=this;return s(w,r)&&v((function(){g(r)}))?f(Object(n),r,I):n},A=e?d(x):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),_=0;A.length>_;_++)a(x,T=A[_])&&!a(I,T)&&y(I,T,h(x,T));I.prototype=w,w.constructor=I,u(o,b,I)}},function(t,n,r){var e=r(1),o=r(9),i=r(28);t.exports=function(t,n,r){var c,u;return i&&e(c=n.constructor)&&c!==r&&o(u=c.prototype)&&u!==r.prototype&&i(t,u),t}},function(t,n,r){var e=r(2);t.exports=e(1..valueOf)},function(t,n,r){var e=r(2),o=r(23),i=r(32),c=r(131),u=e("".replace),a="["+c+"]",f=RegExp("^"+a+a+"*"),s=RegExp(a+a+"*$"),p=function(t){return function(n){var r=i(o(n));return 1&t&&(r=u(r,f,"")),2&t&&(r=u(r,s,"")),r}};t.exports={start:p(1),end:p(2),trim:p(3)}},function(t,n){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(t,n,r){"use strict";r.r(n);var e;r(126),r(127);function o(t,n){t.onload=function(){this.onerror=this.onload=null,n(null,t)},t.onerror=function(){this.onerror=this.onload=null,n(new Error("Failed to load "+this.src),t)}}function i(t,n){t.onreadystatechange=function(){"complete"!=this.readyState&&"loaded"!=this.readyState||(this.onreadystatechange=null,n(null,t))}}function c(t,n){return"CKEDITOR"in window?Promise.resolve(CKEDITOR):"string"!=typeof t||t.length<1?Promise.reject(new TypeError("CKEditor URL must be a non-empty string.")):(e||(e=c.scriptLoader(t).then((function(t){return n&&n(t),t}))),e)}c.scriptLoader=function(t){return new Promise((function(n,r){!function(t,n,r){var e=document.head||document.getElementsByTagName("head")[0],c=document.createElement("script");"function"==typeof n&&(r=n,n={}),n=n||{},r=r||function(){},c.type=n.type||"text/javascript",c.charset=n.charset||"utf8",c.async=!("async"in n)||!!n.async,c.src=t,n.attrs&&function(t,n){for(var r in n)t.setAttribute(r,n[r])}(c,n.attrs),n.text&&(c.text=String(n.text)),("onload"in c?o:i)(c,r),c.onload||o(c,r),e.appendChild(c)}(t,(function(t){return e=void 0,t?r(t):window.CKEDITOR?void n(CKEDITOR):r(new Error("Script loaded from editorUrl doesn't provide CKEDITOR namespace."))}))}))};var u={name:"ckeditor",render:function(t){return t("div",{},[t(this.tagName)])},props:{value:{type:String,default:""},type:{type:String,default:"classic",validator:function(t){return["classic","inline"].includes(t)}},editorUrl:{type:String,default:"https://cdn.ckeditor.com/4.18.0/standard-all/ckeditor.js"},config:{type:Object,default:function(){}},tagName:{type:String,default:"textarea"},readOnly:{type:Boolean,default:null},throttle:{type:Number,default:80}},mounted:function(){var t=this;c(this.editorUrl,(function(n){t.$emit("namespaceloaded",n)})).then((function(){if(!t.$_destroyed){var n=t.prepareConfig(),r="inline"===t.type?"inline":"replace",e=t.$el.firstElementChild;CKEDITOR[r](e,n)}}))},beforeDestroy:function(){this.instance&&this.instance.destroy(),this.$_destroyed=!0},watch:{value:function(t){this.instance&&this.instance.getData()!==t&&this.instance.setData(t)},readOnly:function(t){this.instance&&this.instance.setReadOnly(t)}},methods:{prepareConfig:function(){var t=this,n=this.config||{};n.on=n.on||{},void 0===n.delayIfDetached&&(n.delayIfDetached=!0),null!==this.readOnly&&(n.readOnly=this.readOnly);var r=n.on.instanceReady;return n.on.instanceReady=function(n){t.instance=n.editor,t.$nextTick().then((function(){t.prepareComponentData(),r&&r(n)}))},n},prepareComponentData:function(){var t=this,n=this.value;this.instance.fire("lockSnapshot"),this.instance.setData(n,{callback:function(){t.$_setUpEditorEvents();var r=t.instance.getData();n!==r?(t.$once("input",(function(){t.$emit("ready",t.instance)})),t.$emit("input",r)):t.$emit("ready",t.instance),t.instance.fire("unlockSnapshot")}})},$_setUpEditorEvents:function(){var t=this,n=this.instance,r=function(t,n){var r,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(){clearTimeout(r);for(var o=arguments.length,i=new Array(o),c=0;c<o;c++)i[c]=arguments[c];r=setTimeout(t.bind.apply(t,[e].concat(i)),n)}}((function(r){var e=n.getData();t.value!==e&&t.$emit("input",e,r,n)}),this.throttle);n.on("change",r),n.on("focus",(function(r){t.$emit("focus",r,n)})),n.on("blur",(function(r){t.$emit("blur",r,n)}))}}},a={install:function(t){t.component("ckeditor",u)},component:u};n.default=a}]).default}));
//# sourceMappingURL=legacy.js.map
/*!*
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md.
*/
* @license Copyright (c) 2003-2022, CKSource Holding sp. z o.o. All rights reserved.
* For licensing, see LICENSE.md.
*/

@@ -6,0 +6,0 @@ /**

{
"name": "ckeditor4-vue",
"version": "1.5.1",
"version": "2.0.0",
"main": "dist/ckeditor.js",

@@ -10,18 +10,18 @@ "files": [

"devDependencies": {
"@babel/core": "^7.14.8",
"@babel/preset-env": "^7.14.8",
"@babel/core": "^7.17.5",
"@babel/preset-env": "^7.16.11",
"@vue/test-utils": "^1.0.4",
"babel-loader": "^8.2.2",
"chai": "^4.3.4",
"core-js": "^3.16.0",
"eslint": "^7.32.0",
"eslint-config-ckeditor5": "^3.1.0",
"babel-loader": "^8.2.3",
"istanbul-instrumenter-loader": "^3.0.0",
"karma": "^6.3.4",
"chai": "^4.3.6",
"core-js": "^3.21.1",
"eslint": "^8.10.0",
"eslint-config-ckeditor5": "^3.1.1",
"karma": "^6.3.17",
"karma-browserstack-launcher": "^1.6.0",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-coverage": "^2.0.3",
"karma-coverage": "^2.2.0",
"karma-coveralls": "^2.0.0",
"karma-firefox-launcher": "^2.1.1",
"karma-firefox-launcher": "^2.1.2",
"karma-mocha": "^2.0.1",

@@ -34,3 +34,3 @@ "karma-mocha-reporter": "^2.2.4",

"minimist": "^1.2.5",
"mocha": "^9.0.3",
"mocha": "^9.2.1",
"sinon": "^9.2.4",

@@ -37,0 +37,0 @@ "terser-webpack-plugin": "^4.2.2",

@@ -94,3 +94,3 @@ /* global Vue VueRouter CKEditor */

},
mounted(){
mounted: function(){
this.editorContainer = document.getElementById( 'delayed-editor-container' );

@@ -101,3 +101,3 @@ this.editorTarget = document.getElementById( 'delayed-editor-target' );

methods: {
attachAgain() {
attachAgain: function() {
this.editorContainer.appendChild( this.editorTarget );

@@ -104,0 +104,0 @@ this.attached = true;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc