jodit 4.20.5 → 4.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/README.md +0 -1
- package/es2015/jodit.css +2 -2
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +12 -12
- package/es2015/jodit.js +558 -210
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +12 -12
- package/es2015/plugins/debug/debug.css +1 -1
- package/es2015/plugins/debug/debug.js +2 -2
- package/es2015/plugins/debug/debug.min.js +2 -2
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +2 -2
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +12 -12
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +12 -12
- package/es2018/plugins/debug/debug.min.js +2 -2
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021/jodit.css +2 -2
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +17 -17
- package/es2021/jodit.js +550 -203
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +17 -17
- package/es2021/plugins/debug/debug.css +1 -1
- package/es2021/plugins/debug/debug.js +2 -2
- package/es2021/plugins/debug/debug.min.js +2 -2
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +2 -2
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es2021.en/jodit.css +2 -2
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +17 -17
- package/es2021.en/jodit.js +550 -203
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +32 -32
- package/es2021.en/plugins/debug/debug.css +1 -1
- package/es2021.en/plugins/debug/debug.js +2 -2
- package/es2021.en/plugins/debug/debug.min.js +2 -2
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +2 -2
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es5/jodit.css +3 -3
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +595 -177
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.css +1 -1
- package/es5/plugins/debug/debug.js +2 -2
- package/es5/plugins/debug/debug.min.js +2 -2
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +2 -2
- package/es5/plugins/speech-recognize/speech-recognize.min.js +2 -2
- package/es5/polyfills.fat.min.js +2 -2
- package/es5/polyfills.js +1 -29
- package/es5/polyfills.min.js +2 -2
- package/esm/config.d.ts +18 -0
- package/esm/core/constants.d.ts +6 -0
- package/esm/core/constants.js +18 -1
- package/esm/core/helpers/html/clean-from-word.d.ts +3 -1
- package/esm/core/helpers/html/clean-from-word.js +87 -11
- package/esm/core/helpers/utils/selector.js +4 -3
- package/esm/plugins/hr/hr.js +290 -1
- package/esm/plugins/inline-popup/config/config.js +2 -0
- package/esm/plugins/inline-popup/config/items/hr.d.ts +11 -0
- package/esm/plugins/inline-popup/config/items/hr.js +15 -0
- package/esm/plugins/key-arrow-outside/key-arrow-outside.js +2 -2
- package/esm/plugins/link/config.d.ts +7 -0
- package/esm/plugins/link/config.js +1 -0
- package/esm/plugins/link/link.js +20 -16
- package/esm/plugins/paste/config.d.ts +5 -0
- package/esm/plugins/paste/config.js +2 -1
- package/esm/plugins/paste/paste.js +1 -1
- package/esm/plugins/paste-from-word/paste-from-word.js +2 -2
- package/esm/plugins/symbols/config.d.ts +6 -0
- package/esm/plugins/symbols/config.js +1 -0
- package/esm/plugins/symbols/symbols.d.ts +0 -1
- package/esm/plugins/symbols/symbols.js +12 -10
- package/package.json +1 -1
- package/types/config.d.ts +18 -0
- package/types/core/constants.d.ts +6 -0
- package/types/core/helpers/html/clean-from-word.d.ts +3 -1
- package/types/plugins/inline-popup/config/items/hr.d.ts +11 -0
- package/types/plugins/link/config.d.ts +7 -0
- package/types/plugins/paste/config.d.ts +5 -0
- package/types/plugins/symbols/config.d.ts +6 -0
- package/types/plugins/symbols/symbols.d.ts +0 -1
package/es5/polyfills.min.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
|
|
3
3
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
|
|
4
|
-
* Version: v4.
|
|
4
|
+
* Version: v4.21.1
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
8
|
-
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var n=r();for(var e in n)("object"==typeof exports?exports:t)[e]=n[e]}}(self,function(){var t={50112:function(){"document"in window.self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||function(t){"use strict";if("Element"in t){var r="classList",n="prototype",e=t.Element[n],o=Object,i=String[n].trim||function(){return this.replace(/^\s+|\s+$/g,"")},u=Array[n].indexOf||function(t){for(var r=0,n=this.length;n>r;r++)if(r in this&&this[r]===t)return r;return -1},c=function(t,r){this.name=t,this.code=DOMException[t],this.message=r},s=function(t,r){if(""===r)throw new c("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(r))throw new c("INVALID_CHARACTER_ERR","String contains an invalid character");return u.call(t,r)},f=function(t){for(var r=i.call(t.getAttribute("class")||""),n=r?r.split(/\s+/):[],e=0,o=n.length;o>e;e++)this.push(n[e]);this._updateClassName=function(){t.setAttribute("class",this.toString())}},a=f[n]=[],l=function(){return new f(this)};if(c[n]=Error[n],a.item=function(t){return this[t]||null},a.contains=function(t){return -1!==s(this,t+="")},a.add=function(){var t,r=arguments,n=0,e=r.length,o=!1;do -1===s(this,t=r[n]+"")&&(this.push(t),o=!0);while(++n<e);o&&this._updateClassName()},a.remove=function(){var t,r,n=arguments,e=0,o=n.length,i=!1;do for(r=s(this,t=n[e]+"");-1!==r;)this.splice(r,1),i=!0,r=s(this,t);while(++e<o);i&&this._updateClassName()},a.toggle=function(t,r){t+="";var n=this.contains(t),e=n?!0!==r&&"remove":!1!==r&&"add";return(e&&this[e](t),!0===r||!1===r)?r:!n},a.toString=function(){return this.join(" ")},o.defineProperty){var p={get:l,enumerable:!0,configurable:!0};try{o.defineProperty(e,r,p)}catch(t){(void 0===t.number||-0x7ff5ec54===t.number)&&(p.enumerable=!1,o.defineProperty(e,r,p))}}else o[n].__defineGetter__&&e.__defineGetter__(r,l)}}(window.self),function(){"use strict";var t=document.createElement("_");if(t.classList.add("c1","c2"),!t.classList.contains("c2")){var r=function(t){var r=DOMTokenList.prototype[t];DOMTokenList.prototype[t]=function(t){var n,e=arguments.length;for(n=0;e>n;n++)t=arguments[n],r.call(this,t)}};r("add"),r("remove")}if(t.classList.toggle("c3",!1),t.classList.contains("c3")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,r){return 1 in arguments&&!this.contains(t)==!r?r:n.call(this,t)}}}())},10990:function(t,r,n){"use strict";t.exports=n(29100).polyfill()},29100:function(t,r,n){var e,o;function i(t){return t&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t}o=function(){"use strict";function t(t){return"function"==typeof t}var r,e,o,u,c=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},s=0,f=void 0,a=void 0,l=function(t,r){g[s]=t,g[s+1]=r,2===(s+=2)&&(a?a(m):w())},p="u">typeof window?window:void 0,v=p||{},y=v.MutationObserver||v.WebKitMutationObserver,h="u"<typeof self&&"u">typeof process&&"[object process]"===({}).toString.call(process),d="u">typeof Uint8ClampedArray&&"u">typeof importScripts&&"u">typeof MessageChannel;function b(){var t=setTimeout;return function(){return t(m,1)}}var g=Array(1e3);function m(){for(var t=0;s>t;t+=2)(0,g[t])(g[t+1]),g[t]=void 0,g[t+1]=void 0;s=0}var w=void 0;function S(t,r){var n=this,e=new this.constructor(_);void 0===e[O]&&D(e);var o=n._state;if(o){var i=arguments[o-1];l(function(){return N(o,e,i,n._result)})}else C(n,e,t,r);return e}function x(t){if(t&&(void 0===t?"undefined":i(t))==="object"&&t.constructor===this)return t;var r=new this(_);return E(r,t),r}h?w=function(){return process.nextTick(m)}:y?(r=0,e=new y(m),o=document.createTextNode(""),e.observe(o,{characterData:!0}),w=function(){o.data=r=++r%2}):d?((u=new MessageChannel).port1.onmessage=m,w=function(){return u.port2.postMessage(0)}):w=void 0===p?function(){try{var t=Function("return this")().require("vertx");return f=t.runOnLoop||t.runOnContext,void 0!==f?function(){f(m)}:b()}catch(t){return b()}}():b();var O=Math.random().toString(36).substring(2);function _(){}var j=void 0;function A(r,n,e){n.constructor===r.constructor&&e===S&&n.constructor.resolve===x?1===n._state?T(r,n._result):2===n._state?I(r,n._result):C(n,void 0,function(t){return E(r,t)},function(t){return I(r,t)}):void 0===e?T(r,n):t(e)?l(function(t){var r=!1,o=function(t,r,n,e){try{t.call(r,n,e)}catch(t){return t}}(e,n,function(e){r||(r=!0,n!==e?E(t,e):T(t,e))},function(n){r||(r=!0,I(t,n))},t._label);!r&&o&&(r=!0,I(t,o))},r):T(r,n)}function E(t,r){if(t===r)I(t,TypeError("You cannot resolve a promise with itself"));else if(n=void 0===r?"undefined":i(r),null!==r&&("object"===n||"function"===n)){var n,e=void 0;try{e=r.then}catch(r){I(t,r);return}A(t,r,e)}else T(t,r)}function P(t){t._onerror&&t._onerror(t._result),F(t)}function T(t,r){t._state===j&&(t._result=r,t._state=1,0!==t._subscribers.length&&l(F,t))}function I(t,r){t._state===j&&(t._state=2,t._result=r,l(P,t))}function C(t,r,n,e){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=r,o[i+1]=n,o[i+2]=e,0===i&&t._state&&l(F,t)}function F(t){var r=t._subscribers,n=t._state;if(0!==r.length){for(var e=void 0,o=void 0,i=t._result,u=0;u<r.length;u+=3)e=r[u],o=r[u+n],e?N(n,e,o,i):o(i);t._subscribers.length=0}}function N(r,n,e,o){var i=t(e),u=void 0,c=void 0,s=!0;if(i){try{u=e(o)}catch(t){s=!1,c=t}if(n===u)return void I(n,TypeError("A promises callback cannot return that same promise."))}else u=o;n._state!==j||(i&&s?E(n,u):!1===s?I(n,c):1===r?T(n,u):2===r&&I(n,u))}var R=0;function D(t){t[O]=R++,t._state=void 0,t._result=void 0,t._subscribers=[]}var M=function(){function t(t,r){this._instanceConstructor=t,this.promise=new t(_),this.promise[O]||D(this.promise),c(r)?(this.length=r.length,this._remaining=r.length,this._result=Array(this.length),0===this.length?T(this.promise,this._result):(this.length=this.length||0,this._enumerate(r),0===this._remaining&&T(this.promise,this._result))):I(this.promise,Error("Array Methods must be provided an Array"))}return t.prototype._enumerate=function(t){for(var r=0;this._state===j&&r<t.length;r++)this._eachEntry(t[r],r)},t.prototype._eachEntry=function(t,r){var n=this._instanceConstructor,e=n.resolve;if(e===x){var o=void 0,i=void 0,u=!1;try{o=t.then}catch(t){u=!0,i=t}if(o===S&&t._state!==j)this._settledAt(t._state,r,t._result);else if("function"!=typeof o)this._remaining--,this._result[r]=t;else if(n===k){var c=new n(_);u?I(c,i):A(c,t,o),this._willSettleAt(c,r)}else this._willSettleAt(new n(function(r){return r(t)}),r)}else this._willSettleAt(e(t),r)},t.prototype._settledAt=function(t,r,n){var e=this.promise;e._state===j&&(this._remaining--,2===t?I(e,n):this._result[r]=n),0===this._remaining&&T(e,this._result)},t.prototype._willSettleAt=function(t,r){var n=this;C(t,void 0,function(t){return n._settledAt(1,r,t)},function(t){return n._settledAt(2,r,t)})},t}(),k=function(){function r(t){this[O]=R++,this._result=this._state=void 0,this._subscribers=[],_!==t&&("function"!=typeof t&&function(){throw TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),(null!=r&&"u">typeof Symbol&&r[Symbol.hasInstance]?!!r[Symbol.hasInstance](this):this instanceof r)?function(t,r){try{r(function(r){E(t,r)},function(r){I(t,r)})}catch(r){I(t,r)}}(this,t):function(){throw TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return r.prototype.catch=function(t){return this.then(null,t)},r.prototype.finally=function(r){var n=this.constructor;return t(r)?this.then(function(t){return n.resolve(r()).then(function(){return t})},function(t){return n.resolve(r()).then(function(){throw t})}):this.then(r,r)},r}();return k.prototype.then=S,k.all=function(t){return new M(this,t).promise},k.race=function(t){var r=this;return new r(c(t)?function(n,e){for(var o=t.length,i=0;o>i;i++)r.resolve(t[i]).then(n,e)}:function(t,r){return r(TypeError("You must pass an array to race."))})},k.resolve=x,k.reject=function(t){var r=new this(_);return I(r,t),r},k._setScheduler=function(t){a=t},k._setAsap=function(t){l=t},k._asap=l,k.polyfill=function(){var t=void 0;if(void 0!==n.g)t=n.g;else if("u">typeof self)t=self;else try{t=Function("return this")()}catch(t){throw Error("polyfill failed because global object is unavailable in this environment")}var r=t.Promise;if(r){var e=null;try{e=Object.prototype.toString.call(r.resolve())}catch(t){}if("[object Promise]"===e&&!r.cast)return}t.Promise=k},k.Promise=k,k},"object"===i(r)?t.exports=o():void 0===(e=o.call(r,n,r,t))||(t.exports=e)},7796:function(t,r,n){"use strict";n(90014),t.exports=n(54393)("Array","findIndex")},43098:function(t,r,n){"use strict";n(71093),n(6028),t.exports=n(7557).Array.from},57683:function(t,r,n){"use strict";n(75024),n(78837),n(51265),n(43707),n(97778),n(24661),n(92770),n(52867),n(26494),n(45797),n(67130),n(57108),n(23359),n(27491),n(89689),n(22367),n(150),n(42695),n(94248),n(12057),n(29437),n(56582),t.exports=n(7557).Symbol},90256:function(t,r,n){"use strict";var e=n(14595),o=n(8465),i=TypeError;t.exports=function(t){if(e(t))return t;throw new i(o(t)+" is not a function")}},34980:function(t,r,n){"use strict";var e=n(24503),o=String,i=TypeError;t.exports=function(t){if(e(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},82911:function(t,r,n){"use strict";var e=n(50617),o=n(99746),i=n(9475).f,u=e("unscopables"),c=Array.prototype;void 0===c[u]&&i(c,u,{configurable:!0,value:o(null)}),t.exports=function(t){c[u][t]=!0}},30941:function(t,r,n){"use strict";var e=n(78144),o=String,i=TypeError;t.exports=function(t){if(e(t))return t;throw new i(o(t)+" is not an object")}},53110:function(t,r,n){"use strict";var e=n(71594),o=n(26919),i=n(30995),u=n(52413),c=n(52699),s=n(46119),f=n(23832),a=n(15526),l=n(94465),p=n(46593),v=n(96003),y=n(73737),h=n(59979),d=Array;t.exports=function(t){var r,n,b,g,m,w,S=s(this),x=arguments.length,O=x>1?arguments[1]:void 0,_=void 0!==O;_&&(O=e(O,x>2?arguments[2]:void 0));var j=i(t),A=v(j),E=0;if(A&&!(this===d&&c(A)))for(n=S?new this:[],m=(g=p(j,A)).next;!(b=o(m,g)).done;E++){try{h(E)}catch(t){y(g,"throw",t)}w=_?u(g,O,[b.value,E],!0):b.value;try{a(n,E,w)}catch(t){y(g,"throw",t)}}else for(r=f(j),n=S?new this(r):d(r);r>E;E++)w=_?O(j[E],E):j[E],a(n,E,w);return l(n,E),n}},59299:function(t,r,n){"use strict";var e=n(83511),o=n(56184),i=n(23832),u=function(t){return function(r,n,u){var c,s=e(r),f=i(s);if(0===f)return!t&&-1;var a=o(u,f);if(t&&n!=n){for(;f>a;)if((c=s[a++])!=c)return!0}else for(;f>a;a++)if((t||a in s)&&s[a]===n)return t||a||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},78027:function(t,r,n){"use strict";var e=n(71594),o=n(82545),i=n(30995),u=n(23832),c=n(56895),s=n(15526),f=function(t){var r=1===t,n=2===t,f=3===t,a=4===t,l=6===t,p=7===t,v=5===t||l;return function(y,h,d){for(var b,g,m=i(y),w=o(m),S=u(w),x=e(h,d),O=0,_=0,j=r?c(y,S):n||p?c(y,0):void 0;S>O;O++)if((v||O in w)&&(g=x(b=w[O],O,m),t))if(r)s(j,O,g);else if(g)switch(t){case 3:return!0;case 5:return b;case 6:return O;case 2:s(j,_++,b)}else switch(t){case 4:return!1;case 7:s(j,_++,b)}return l?-1:f||a?a:j}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},56379:function(t,r,n){"use strict";var e=n(96673),o=n(50617),i=n(1669),u=o("species");t.exports=function(t){return i>=51||!e(function(){var r=[];return(r.constructor={})[u]=function(){return{foo:1}},1!==r[t](Boolean).foo})}},94465:function(t,r,n){"use strict";var e=n(17158),o=n(40554),i=TypeError,u=Object.getOwnPropertyDescriptor;t.exports=e&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){var t;return null!=(t=TypeError)&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](r):r instanceof t}}()?function(t,r){if(o(t)&&!u(t,"length").writable)throw new i("Cannot set read only .length");return t.length=r}:function(t,r){return t.length=r}},13450:function(t,r,n){"use strict";t.exports=n(46738)([].slice)},72783:function(t,r,n){"use strict";var e=n(40554),o=n(46119),i=n(78144),u=n(50617)("species"),c=Array;t.exports=function(t){var r;return e(t)&&(o(r=t.constructor)&&(r===c||e(r.prototype))?r=void 0:i(r)&&null===(r=r[u])&&(r=void 0)),void 0===r?c:r}},56895:function(t,r,n){"use strict";var e=n(72783);t.exports=function(t,r){return new(e(t))(0===r?0:r)}},52413:function(t,r,n){"use strict";var e=n(30941),o=n(73737);t.exports=function(t,r,n,i){try{return i?r(e(n)[0],n[1]):r(n)}catch(r){o(t,"throw",r)}}},14122:function(t,r,n){"use strict";var e=n(50617)("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[e]=function(){return this},Array.from(u,function(){throw 2})}catch(t){}t.exports=function(t,r){try{if(!r&&!o)return!1}catch(t){return!1}var n=!1;try{var i={};i[e]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(t){}return n}},66310:function(t,r,n){"use strict";var e=n(46738),o=e({}.toString),i=e("".slice);t.exports=function(t){return i(o(t),8,-1)}},20233:function(t,r,n){"use strict";var e=n(82138),o=n(14595),i=n(66310),u=n(50617)("toStringTag"),c=Object,s="Arguments"===i(function(){return arguments}()),f=function(t,r){try{return t[r]}catch(t){}};t.exports=e?i:function(t){var r,n,e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=f(r=c(t),u))?n:s?i(r):"Object"===(e=i(r))&&o(r.callee)?"Arguments":e}},2958:function(t,r,n){"use strict";var e=n(26419),o=n(1089),i=n(10393),u=n(9475);t.exports=function(t,r,n){for(var c=o(r),s=u.f,f=i.f,a=0;a<c.length;a++){var l=c[a];e(t,l)||n&&e(n,l)||s(t,l,f(r,l))}}},85353:function(t,r,n){"use strict";t.exports=!n(96673)(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},70439:function(t){"use strict";t.exports=function(t,r){return{value:t,done:r}}},59541:function(t,r,n){"use strict";var e=n(17158),o=n(9475),i=n(63458);t.exports=e?function(t,r,n){return o.f(t,r,i(1,n))}:function(t,r,n){return t[r]=n,t}},63458:function(t){"use strict";t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},15526:function(t,r,n){"use strict";var e=n(17158),o=n(9475),i=n(63458);t.exports=function(t,r,n){e?o.f(t,r,i(0,n)):t[r]=n}},66416:function(t,r,n){"use strict";var e=n(55425),o=n(9475);t.exports=function(t,r,n){return n.get&&e(n.get,r,{getter:!0}),n.set&&e(n.set,r,{setter:!0}),o.f(t,r,n)}},27714:function(t,r,n){"use strict";var e=n(14595),o=n(9475),i=n(55425),u=n(36759);t.exports=function(t,r,n,c){c||(c={});var s=c.enumerable,f=void 0!==c.name?c.name:r;if(e(n)&&i(n,f,c),c.global)s?t[r]=n:u(r,n);else{try{c.unsafe?t[r]&&(s=!0):delete t[r]}catch(t){}s?t[r]=n:o.f(t,r,{value:n,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return t}},36759:function(t,r,n){"use strict";var e=n(75058),o=Object.defineProperty;t.exports=function(t,r){try{o(e,t,{value:r,configurable:!0,writable:!0})}catch(n){e[t]=r}return r}},17158:function(t,r,n){"use strict";t.exports=!n(96673)(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},64369:function(t,r,n){"use strict";var e=n(75058),o=n(78144),i=e.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},59979:function(t){"use strict";var r=TypeError;t.exports=function(t){if(t>0x1fffffffffffff)throw new r("Maximum allowed index exceeded");return t}},54393:function(t,r,n){"use strict";var e=n(75058),o=n(46738);t.exports=function(t,r){return o(e[t].prototype[r])}},24877:function(t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1837:function(t,r,n){"use strict";var e=n(75058).navigator,o=e&&e.userAgent;t.exports=o?String(o):""},1669:function(t,r,n){"use strict";var e,o,i=n(75058),u=n(1837),c=i.process,s=i.Deno,f=c&&c.versions||s&&s.version,a=f&&f.v8;a&&(o=(e=a.split("."))[0]>0&&e[0]<4?1:+(e[0]+e[1])),!o&&u&&(!(e=u.match(/Edge\/(\d+)/))||e[1]>=74)&&(e=u.match(/Chrome\/(\d+)/))&&(o=+e[1]),t.exports=o},50300:function(t,r,n){"use strict";function e(t){return t&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t}var o=n(75058),i=n(10393).f,u=n(59541),c=n(27714),s=n(36759),f=n(2958),a=n(41890);t.exports=function(t,r){var n,l,p,v,y,h=t.target,d=t.global,b=t.stat;if(n=d?o:b?o[h]||s(h,{}):o[h]&&o[h].prototype)for(l in r){if(v=r[l],p=t.dontCallGetSet?(y=i(n,l))&&y.value:n[l],!a(d?l:h+(b?".":"#")+l,t.forced)&&void 0!==p){if((void 0===v?"undefined":e(v))==(void 0===p?"undefined":e(p)))continue;f(v,p)}(t.sham||p&&p.sham)&&u(v,"sham",!0),c(n,l,v,t)}}},96673:function(t){"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},71594:function(t,r,n){"use strict";var e=n(93474),o=n(90256),i=n(37770),u=e(e.bind);t.exports=function(t,r){return o(t),void 0===r?t:i?u(t,r):function(){return t.apply(r,arguments)}}},37770:function(t,r,n){"use strict";t.exports=!n(96673)(function(){var t=(function(){}).bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},26919:function(t,r,n){"use strict";var e=n(37770),o=Function.prototype.call;t.exports=e?o.bind(o):function(){return o.apply(o,arguments)}},5944:function(t,r,n){"use strict";var e=n(17158),o=n(26419),i=Function.prototype,u=e&&Object.getOwnPropertyDescriptor,c=o(i,"name"),s=c&&(!e||e&&u(i,"name").configurable);t.exports={EXISTS:c,PROPER:c&&"something"===(function(){}).name,CONFIGURABLE:s}},60288:function(t,r,n){"use strict";var e=n(46738),o=n(90256);t.exports=function(t,r,n){try{return e(o(Object.getOwnPropertyDescriptor(t,r)[n]))}catch(t){}}},93474:function(t,r,n){"use strict";var e=n(66310),o=n(46738);t.exports=function(t){if("Function"===e(t))return o(t)}},46738:function(t,r,n){"use strict";var e=n(37770),o=Function.prototype,i=o.call,u=e&&o.bind.bind(i,i);t.exports=e?u:function(t){return function(){return i.apply(t,arguments)}}},29833:function(t,r,n){"use strict";var e=n(75058),o=n(14595);t.exports=function(t,r){var n;return arguments.length<2?o(n=e[t])?n:void 0:e[t]&&e[t][r]}},46593:function(t,r,n){"use strict";var e=n(26919),o=n(14595),i=n(30941),u=n(8465),c=n(96003),s=TypeError;t.exports=function(t,r){var n=arguments.length<2?c(t):r;if(o(n))return i(e(n,t));throw new s(u(t)+" is not iterable")}},96003:function(t,r,n){"use strict";var e=n(66310),o=n(41943),i=n(57996),u=n(50617)("iterator"),c=Array.prototype;t.exports=function(t){if(!o(t))return i(t,u)||i(t,"@@iterator")||("Arguments"===e(t)?c[u]:void 0)}},57996:function(t,r,n){"use strict";var e=n(90256),o=n(41943);t.exports=function(t,r){var n=t[r];return o(n)?void 0:e(n)}},75058:function(t,r,n){"use strict";function e(t){return t&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t}var o=function(t){return t&&t.Math===Math&&t};t.exports=o(("u"<typeof globalThis?"undefined":e(globalThis))=="object"&&globalThis)||o(("u"<typeof window?"undefined":e(window))=="object"&&window)||o(("u"<typeof self?"undefined":e(self))=="object"&&self)||o((void 0===n.g?"undefined":e(n.g))=="object"&&n.g)||o("object"==e(this)&&this)||function(){return this}()||Function("return this")()},26419:function(t,r,n){"use strict";var e=n(46738),o=n(30995),i=e({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},38043:function(t){"use strict";t.exports={}},51107:function(t,r,n){"use strict";t.exports=n(29833)("document","documentElement")},64959:function(t,r,n){"use strict";var e=n(17158),o=n(96673),i=n(64369);t.exports=!e&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},82545:function(t,r,n){"use strict";var e=n(46738),o=n(96673),i=n(66310),u=Object,c=e("".split);t.exports=o(function(){return!u("z").propertyIsEnumerable(0)})?function(t){return"String"===i(t)?c(t,""):u(t)}:u},69228:function(t,r,n){"use strict";var e=n(46738),o=n(14595),i=n(49567),u=e(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return u(t)}),t.exports=i.inspectSource},34155:function(t,r,n){"use strict";var e,o,i,u=n(97948),c=n(75058),s=n(78144),f=n(59541),a=n(26419),l=n(49567),p=n(99353),v=n(38043),y="Object already initialized",h=c.TypeError,d=c.WeakMap;if(u||l.state){var b=l.state||(l.state=new d);b.get=b.get,b.has=b.has,b.set=b.set,e=function(t,r){if(b.has(t))throw new h(y);return r.facade=t,b.set(t,r),r},o=function(t){return b.get(t)||{}},i=function(t){return b.has(t)}}else{var g=p("state");v[g]=!0,e=function(t,r){if(a(t,g))throw new h(y);return r.facade=t,f(t,g,r),r},o=function(t){return a(t,g)?t[g]:{}},i=function(t){return a(t,g)}}t.exports={set:e,get:o,has:i,enforce:function(t){return i(t)?o(t):e(t,{})},getterFor:function(t){return function(r){var n;if(!s(r)||(n=o(r)).type!==t)throw new h("Incompatible receiver, "+t+" required");return n}}}},52699:function(t,r,n){"use strict";var e=n(50617),o=n(84543),i=e("iterator"),u=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||u[i]===t)}},40554:function(t,r,n){"use strict";var e=n(66310);t.exports=Array.isArray||function(t){return"Array"===e(t)}},14595:function(t){"use strict";var r,n=("u"<typeof document?"undefined":(r=document)&&"u">typeof Symbol&&r.constructor===Symbol?"symbol":typeof r)=="object"&&document.all;t.exports=void 0===n&&void 0!==n?function(t){return"function"==typeof t||t===n}:function(t){return"function"==typeof t}},46119:function(t,r,n){"use strict";var e=n(46738),o=n(96673),i=n(14595),u=n(20233),c=n(29833),s=n(69228),f=function(){},a=c("Reflect","construct"),l=/^\s*(?:class|function)\b/,p=e(l.exec),v=!l.test(f),y=function(t){if(!i(t))return!1;try{return a(f,[],t),!0}catch(t){return!1}},h=function(t){if(!i(t))return!1;switch(u(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v||!!p(l,s(t))}catch(t){return!0}};h.sham=!0,t.exports=!a||o(function(){var t;return y(y.call)||!y(Object)||!y(function(){t=!0})||t})?h:y},41890:function(t,r,n){"use strict";var e=n(96673),o=n(14595),i=/#|\.prototype\./,u=function(t,r){var n=s[c(t)];return n===a||n!==f&&(o(r)?e(r):!!r)},c=u.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=u.data={},f=u.NATIVE="N",a=u.POLYFILL="P";t.exports=u},41943:function(t){"use strict";t.exports=function(t){return null==t}},78144:function(t,r,n){"use strict";var e=n(14595);t.exports=function(t){return(void 0===t?"undefined":t&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)=="object"?null!==t:e(t)}},24503:function(t,r,n){"use strict";var e=n(78144);t.exports=function(t){return e(t)||null===t}},22445:function(t){"use strict";t.exports=!1},91e3:function(t,r,n){"use strict";var e=n(78144),o=n(34155).get;t.exports=function(t){if(!e(t))return!1;var r=o(t);return!!r&&"RawJSON"===r.type}},71975:function(t,r,n){"use strict";var e=n(29833),o=n(14595),i=n(56167),u=n(43334),c=Object;t.exports=u?function(t){return(void 0===t?"undefined":t&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)=="symbol"}:function(t){var r=e("Symbol");return o(r)&&i(r.prototype,c(t))}},73737:function(t,r,n){"use strict";var e=n(26919),o=n(30941),i=n(57996);t.exports=function(t,r,n){var u,c;o(t);try{if(!(u=i(t,"return"))){if("throw"===r)throw n;return n}u=e(u,t)}catch(t){c=!0,u=t}if("throw"===r)throw n;if(c)throw u;return o(u),n}},19192:function(t,r,n){"use strict";var e=n(96371).IteratorPrototype,o=n(99746),i=n(63458),u=n(10845),c=n(84543),s=function(){return this};t.exports=function(t,r,n,f){var a=r+" Iterator";return t.prototype=o(e,{next:i(+!f,n)}),u(t,a,!1,!0),c[a]=s,t}},20998:function(t,r,n){"use strict";var e=n(50300),o=n(26919),i=n(22445),u=n(5944),c=n(14595),s=n(19192),f=n(88597),a=n(28329),l=n(10845),p=n(59541),v=n(27714),y=n(50617),h=n(84543),d=n(96371),b=u.PROPER,g=u.CONFIGURABLE,m=d.IteratorPrototype,w=d.BUGGY_SAFARI_ITERATORS,S=y("iterator"),x="keys",O="values",_="entries",j=function(){return this};t.exports=function(t,r,n,u,y,d,A){s(n,r,u);var E,P,T,I=function(t){if(t===y&&D)return D;if(!w&&t&&t in N)return N[t];switch(t){case x:case O:case _:return function(){return new n(this,t)}}return function(){return new n(this)}},C=r+" Iterator",F=!1,N=t.prototype,R=N[S]||N["@@iterator"]||y&&N[y],D=!w&&R||I(y),M="Array"===r&&N.entries||R;if(M&&(E=f(M.call(new t)))!==Object.prototype&&E.next&&(!i&&f(E)!==m&&(a?a(E,m):c(E[S])||v(E,S,j)),l(E,C,!0,!0),i&&(h[C]=j)),b&&y===O&&R&&R.name!==O&&(!i&&g?p(N,"name",O):(F=!0,D=function(){return o(R,this)})),y)if(P={values:I(O),keys:d?D:I(x),entries:I(_)},A)for(T in P)!w&&!F&&T in N||v(N,T,P[T]);else e({target:r,proto:!0,forced:w||F},P);return(!i||A)&&N[S]!==D&&v(N,S,D,{name:y}),h[r]=D,P}},96371:function(t,r,n){"use strict";var e,o,i,u=n(96673),c=n(14595),s=n(78144),f=n(99746),a=n(88597),l=n(27714),p=n(50617),v=n(22445),y=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(e=o):h=!0),!s(e)||u(function(){var t={};return e[y].call(t)!==t})?e={}:v&&(e=f(e)),c(e[y])||l(e,y,function(){return this}),t.exports={IteratorPrototype:e,BUGGY_SAFARI_ITERATORS:h}},84543:function(t){"use strict";t.exports=Object.create?Object.create(null):{}},23832:function(t,r,n){"use strict";var e=n(10764);t.exports=function(t){return e(t.length)}},55425:function(t,r,n){"use strict";var e=n(46738),o=n(96673),i=n(14595),u=n(26419),c=n(17158),s=n(5944).CONFIGURABLE,f=n(69228),a=n(34155),l=a.enforce,p=a.get,v=String,y=Object.defineProperty,h=e("".slice),d=e("".replace),b=e([].join),g=c&&!o(function(){return 8!==y(function(){},"length",{value:8}).length}),m=String(String).split("String"),w=t.exports=function(t,r,n){"Symbol("===h(v(r),0,7)&&(r="["+d(v(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(r="get "+r),n&&n.setter&&(r="set "+r),(!u(t,"name")||s&&t.name!==r)&&(c?y(t,"name",{value:r,configurable:!0}):t.name=r),g&&n&&u(n,"arity")&&t.length!==n.arity&&y(t,"length",{value:n.arity});try{n&&u(n,"constructor")&&n.constructor?c&&y(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var e=l(t);return u(e,"source")||(e.source=b(m,"string"==typeof r?r:"")),t};Function.prototype.toString=w(function(){return i(this)&&p(this).source||f(this)},"toString")},1055:function(t){"use strict";var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var e=+t;return(e>0?n:r)(e)}},93413:function(t,r,n){"use strict";t.exports=!n(96673)(function(){var t="9007199254740993",r=JSON.rawJSON(t);return!JSON.isRawJSON(r)||JSON.stringify(r)!==t})},99746:function(t,r,n){"use strict";var e,o=n(30941),i=n(16719),u=n(24877),c=n(38043),s=n(51107),f=n(64369),a=n(99353),l="prototype",p="script",v=a("IE_PROTO"),y=function(){},h=function(t){return"<"+p+">"+t+"</"+p+">"},d=function(t){t.write(h("")),t.close();var r=t.parentWindow.Object;return t=null,r},b=function(){var t,r=f("iframe");return r.style.display="none",s.appendChild(r),r.src=String("java"+p+":"),(t=r.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F},g=function(){try{e=new ActiveXObject("htmlfile")}catch(t){}g="u">typeof document?document.domain&&e?d(e):b():d(e);for(var t=u.length;t--;)delete g[l][u[t]];return g()};c[v]=!0,t.exports=Object.create||function(t,r){var n;return null!==t?(y[l]=o(t),n=new y,y[l]=null,n[v]=t):n=g(),void 0===r?n:i.f(n,r)}},16719:function(t,r,n){"use strict";var e=n(17158),o=n(32624),i=n(9475),u=n(30941),c=n(83511),s=n(77298);r.f=e&&!o?Object.defineProperties:function(t,r){u(t);for(var n,e=c(r),o=s(r),f=o.length,a=0;f>a;)i.f(t,n=o[a++],e[n]);return t}},9475:function(t,r,n){"use strict";var e=n(17158),o=n(64959),i=n(32624),u=n(30941),c=n(72543),s=TypeError,f=Object.defineProperty,a=Object.getOwnPropertyDescriptor,l="enumerable",p="configurable",v="writable";r.f=e?i?function(t,r,n){if(u(t),r=c(r),u(n),"function"==typeof t&&"prototype"===r&&"value"in n&&v in n&&!n[v]){var e=a(t,r);e&&e[v]&&(t[r]=n.value,n={configurable:p in n?n[p]:e[p],enumerable:l in n?n[l]:e[l],writable:!1})}return f(t,r,n)}:f:function(t,r,n){if(u(t),r=c(r),u(n),o)try{return f(t,r,n)}catch(t){}if("get"in n||"set"in n)throw new s("Accessors not supported");return"value"in n&&(t[r]=n.value),t}},10393:function(t,r,n){"use strict";var e=n(17158),o=n(26919),i=n(23043),u=n(63458),c=n(83511),s=n(72543),f=n(26419),a=n(64959),l=Object.getOwnPropertyDescriptor;r.f=e?l:function(t,r){if(t=c(t),r=s(r),a)try{return l(t,r)}catch(t){}if(f(t,r))return u(!o(i.f,t,r),t[r])}},18316:function(t,r,n){"use strict";var e,o=n(66310),i=n(83511),u=n(63838).f,c=n(13450),s=("u"<typeof window?"undefined":(e=window)&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(t){try{return u(t)}catch(t){return c(s)}};t.exports.f=function(t){return s&&"Window"===o(t)?f(t):u(i(t))}},63838:function(t,r,n){"use strict";var e=n(36446),o=n(24877).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return e(t,o)}},93715:function(t,r){"use strict";r.f=Object.getOwnPropertySymbols},88597:function(t,r,n){"use strict";function e(t,r){return null!=r&&"u">typeof Symbol&&r[Symbol.hasInstance]?!!r[Symbol.hasInstance](t):t instanceof r}var o=n(26419),i=n(14595),u=n(30995),c=n(99353),s=n(85353),f=c("IE_PROTO"),a=Object,l=a.prototype;t.exports=s?a.getPrototypeOf:function(t){var r=u(t);if(o(r,f))return r[f];var n=r.constructor;return i(n)&&e(r,n)?n.prototype:e(r,a)?l:null}},56167:function(t,r,n){"use strict";t.exports=n(46738)({}.isPrototypeOf)},36446:function(t,r,n){"use strict";var e=n(46738),o=n(26419),i=n(83511),u=n(59299).indexOf,c=n(38043),s=e([].push);t.exports=function(t,r){var n,e=i(t),f=0,a=[];for(n in e)!o(c,n)&&o(e,n)&&s(a,n);for(;r.length>f;)o(e,n=r[f++])&&(~u(a,n)||s(a,n));return a}},77298:function(t,r,n){"use strict";var e=n(36446),o=n(24877);t.exports=Object.keys||function(t){return e(t,o)}},23043:function(t,r){"use strict";var n={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor;r.f=e&&!n.call({1:2},1)?function(t){var r=e(this,t);return!!r&&r.enumerable}:n},28329:function(t,r,n){"use strict";var e=n(60288),o=n(78144),i=n(93080),u=n(34980);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r,n=!1,c={};try{(r=e(Object.prototype,"__proto__","set"))(c,[]),t=Array,n=null!=t&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](c):c instanceof t}catch(t){}return function(t,e){return i(t),u(e),o(t)&&(n?r(t,e):t.__proto__=e),t}}():void 0)},99981:function(t,r,n){"use strict";var e=n(82138),o=n(20233);t.exports=e?({}).toString:function(){return"[object "+o(this)+"]"}},9236:function(t,r,n){"use strict";var e=n(26919),o=n(14595),i=n(78144),u=TypeError;t.exports=function(t,r){var n,c;if("string"===r&&o(n=t.toString)&&!i(c=e(n,t))||o(n=t.valueOf)&&!i(c=e(n,t))||"string"!==r&&o(n=t.toString)&&!i(c=e(n,t)))return c;throw new u("Can't convert object to primitive value")}},1089:function(t,r,n){"use strict";var e=n(29833),o=n(46738),i=n(63838),u=n(93715),c=n(30941),s=o([].concat);t.exports=e("Reflect","ownKeys")||function(t){var r=i.f(c(t)),n=u.f;return n?s(r,n(t)):r}},26298:function(t,r,n){"use strict";var e=n(46738),o=n(26419),i=SyntaxError,u=parseInt,c=String.fromCharCode,s=e("".charAt),f=e("".slice),a=e(/./.exec),l={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":" "},p=/^[\da-f]{4}$/i,v=/^[\u0000-\u001F]$/;t.exports=function(t,r){for(var n=!0,e="";r<t.length;){var y=s(t,r);if("\\"===y){var h=f(t,r,r+2);if(o(l,h))e+=l[h],r+=2;else if("\\u"===h){var d=f(t,r+=2,r+4);if(!a(p,d))throw new i("Bad Unicode escape at: "+r);e+=c(u(d,16)),r+=4}else throw new i('Unknown escape sequence: "'+h+'"')}else if('"'===y){n=!1,r++;break}else{if(a(v,y))throw new i("Bad control character in string literal at: "+r);e+=y,r++}}if(n)throw new i("Unterminated string at: "+r);return{value:e,end:r}}},7557:function(t,r,n){"use strict";t.exports=n(75058)},93080:function(t,r,n){"use strict";var e=n(41943),o=TypeError;t.exports=function(t){if(e(t))throw new o("Can't call method on "+t);return t}},10845:function(t,r,n){"use strict";var e=n(9475).f,o=n(26419),i=n(50617)("toStringTag");t.exports=function(t,r,n){t&&!n&&(t=t.prototype),t&&!o(t,i)&&e(t,i,{configurable:!0,value:r})}},99353:function(t,r,n){"use strict";var e=n(2975),o=n(18818),i=e("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},49567:function(t,r,n){"use strict";var e=n(22445),o=n(75058),i=n(36759),u="__core-js_shared__",c=t.exports=o[u]||i(u,{});(c.versions||(c.versions=[])).push({version:"3.51.0",mode:e?"pure":"global",copyright:"\xa9 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.51.0/LICENSE",source:"https://github.com/zloirock/core-js"})},2975:function(t,r,n){"use strict";var e=n(49567),o=Object.create||Object;t.exports=function(t,r){return e[t]||(e[t]=r||o(null))}},31353:function(t,r,n){"use strict";var e=n(46738),o=n(79893),i=n(13181),u=n(93080),c=e("".charAt),s=e("".charCodeAt),f=e("".slice),a=function(t){return function(r,n){var e,a,l=i(u(r)),p=o(n),v=l.length;return p<0||p>=v?t?"":void 0:(e=s(l,p))<55296||e>56319||p+1===v||(a=s(l,p+1))<56320||a>57343?t?c(l,p):e:t?f(l,p,p+2):(e-55296<<10)+(a-56320)+65536}};t.exports={codeAt:a(!1),charAt:a(!0)}},74693:function(t,r,n){"use strict";var e=n(1669),o=n(96673),i=n(75058).String;t.exports=!!Object.getOwnPropertySymbols&&!o(function(){var t,r,n=Symbol("symbol detection");return!i(n)||(t=Object(n),null!=(r=Symbol)&&"u">typeof Symbol&&r[Symbol.hasInstance]?!r[Symbol.hasInstance](t):!(t instanceof r))||!Symbol.sham&&e&&e<41})},28360:function(t,r,n){"use strict";var e=n(26919),o=n(29833),i=n(50617),u=n(27714);t.exports=function(){var t=o("Symbol"),r=t&&t.prototype,n=r&&r.valueOf,c=i("toPrimitive");r&&!r[c]&&u(r,c,function(t){return e(n,this)},{arity:1})}},31050:function(t,r,n){"use strict";t.exports=n(74693)&&!!Symbol.for&&!!Symbol.keyFor},88710:function(t,r,n){"use strict";t.exports=n(46738)(1.1.valueOf)},56184:function(t,r,n){"use strict";var e=n(79893),o=Math.max,i=Math.min;t.exports=function(t,r){var n=e(t);return n<0?o(n+r,0):i(n,r)}},83511:function(t,r,n){"use strict";var e=n(82545),o=n(93080);t.exports=function(t){return e(o(t))}},79893:function(t,r,n){"use strict";var e=n(1055);t.exports=function(t){var r=+t;return r!=r||0===r?0:e(r)}},10764:function(t,r,n){"use strict";var e=n(79893),o=Math.min;t.exports=function(t){var r=e(t);return r>0?o(r,0x1fffffffffffff):0}},30995:function(t,r,n){"use strict";var e=n(93080),o=Object;t.exports=function(t){return o(e(t))}},34315:function(t,r,n){"use strict";var e=n(26919),o=n(78144),i=n(71975),u=n(57996),c=n(9236),s=n(50617),f=TypeError,a=s("toPrimitive");t.exports=function(t,r){if(!o(t)||i(t))return t;var n,s=u(t,a);if(s){if(void 0===r&&(r="default"),!o(n=e(s,t,r))||i(n))return n;throw new f("Can't convert object to primitive value")}return void 0===r&&(r="number"),c(t,r)}},72543:function(t,r,n){"use strict";var e=n(34315),o=n(71975);t.exports=function(t){var r=e(t,"string");return o(r)?r:r+""}},82138:function(t,r,n){"use strict";var e=n(50617)("toStringTag"),o={};o[e]="z",t.exports="[object z]"===String(o)},13181:function(t,r,n){"use strict";var e=n(20233),o=String;t.exports=function(t){if("Symbol"===e(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},8465:function(t){"use strict";var r=String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},18818:function(t,r,n){"use strict";var e=n(46738),o=0,i=Math.random(),u=e(1.1.toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+u(++o+i,36)}},43334:function(t,r,n){"use strict";var e;t.exports=n(74693)&&!Symbol.sham&&"symbol"==((e=Symbol.iterator)&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)},32624:function(t,r,n){"use strict";var e=n(17158),o=n(96673);t.exports=e&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},97948:function(t,r,n){"use strict";var e=n(75058),o=n(14595),i=e.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},62017:function(t,r,n){"use strict";var e=n(7557),o=n(26419),i=n(20037),u=n(9475).f;t.exports=function(t){var r=e.Symbol||(e.Symbol={});o(r,t)||u(r,t,{value:i.f(t)})}},20037:function(t,r,n){"use strict";r.f=n(50617)},50617:function(t,r,n){"use strict";var e=n(75058),o=n(2975),i=n(26419),u=n(18818),c=n(74693),s=n(43334),f=e.Symbol,a=o("wks"),l=s?f.for||f:f&&f.withoutSetter||u;t.exports=function(t){return i(a,t)||(a[t]=c&&i(f,t)?f[t]:l("Symbol."+t)),a[t]}},75024:function(t,r,n){"use strict";var e=n(50300),o=n(96673),i=n(40554),u=n(78144),c=n(30995),s=n(23832),f=n(59979),a=n(15526),l=n(94465),p=n(56895),v=n(56379),y=n(50617),h=n(1669),d=y("isConcatSpreadable"),b=h>=51||!o(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),g=function(t){if(!u(t))return!1;var r=t[d];return void 0!==r?!!r:i(t)};e({target:"Array",proto:!0,arity:1,forced:!b||!v("concat")},{concat:function(t){var r,n,e,o,i,u=c(this),v=p(u,0),y=0;for(r=-1,e=arguments.length;e>r;r++)if(i=-1===r?u:arguments[r],g(i))for(f(y+(o=s(i))),n=0;o>n;n++,y++)n in i&&a(v,y,i[n]);else f(y+1),a(v,y++,i);return l(v,y),v}})},90014:function(t,r,n){"use strict";var e=n(50300),o=n(78027).findIndex,i=n(82911),u="findIndex",c=!0;u in[]&&[,][u](function(){c=!1}),e({target:"Array",proto:!0,forced:c},{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i(u)},6028:function(t,r,n){"use strict";var e=n(50300),o=n(53110);e({target:"Array",stat:!0,forced:!n(14122)(function(t){Array.from(t)})},{from:o})},24784:function(t,r,n){"use strict";var e=n(50300),o=n(29833),i=n(26919),u=n(46738),c=n(96673),s=n(40554),f=n(14595),a=n(78144),l=n(99746),p=n(91e3),v=n(71975),y=n(66310),h=n(88710),d=n(59299).includes,b=n(26419),g=n(13181),m=n(26298),w=n(18818),S=n(74693),x=n(93413),O=String,_=TypeError,j=o("JSON","stringify"),A=o("BigInt"),E=u("".valueOf),P=u((!0).valueOf),T=A&&u(A.prototype.valueOf),I=u(/./.exec),C=u("".charAt),F=u("".charCodeAt),N=u("".replace),R=u("".slice),D=u([].push),M=u([].pop),k=u(1.1.toString),L=/[\uD800-\uDFFF]/g,J=/^[\uD800-\uDBFF]$/,B=/^[\uDC00-\uDFFF]$/,G=/^\d+$/,U=w(),$=w(),W=w(),z=U.length,Y=$.length,q=!S||c(function(){var t=o("Symbol")("stringify detection");return"[null]"!==j([t])||"{}"!==j({a:t})||"{}"!==j(Object(t))}),X=c(function(){return'"\\udf06\\ud834"'!==j("\uDF06\uD834")||'"\\udead"'!==j("\uDEAD")}),K=x?o("JSON","isRawJSON"):p,V=q?function(t,r,n){return j(t,function(t,n){var e=i(r,this,t,n);if(!v(e))return e},n)}:j,H=function(t,r,n){var e=C(n,r-1),o=C(n,r+1);return I(J,t)&&!I(B,o)||I(B,t)&&!I(J,e)?"\\u"+k(F(t,0),16):t},Q=function(t){if(s(t)){for(var r=t.length,n=[],e=l(null),o=0;r>o;o++){var i,u=t[o];if("string"==typeof u)i=u;else{if("number"!=typeof u&&"Number"!==y(u)&&"String"!==y(u))continue;i=g(u)}b(e,i)||(e[i]=!0,D(n,i))}return n}},Z=function(t,r){try{return t(r),!0}catch(t){return!1}},tt=function(t){var r=y(t);return"Number"===r&&Z(h,t)||"String"===r&&Z(E,t)||"Boolean"===r&&Z(P,t)||!!T&&"BigInt"===r&&Z(T,t)},tr=function(t){if(!a(t)||f(t)||s(t))return!1;try{return!tt(t)}catch(t){return!0}},tn=function(t,r){return{toJSON:function(){var n,e=t[r];if(a(e)||(void 0===e?"undefined":(n=e)&&"u">typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)=="bigint"){var o=e.toJSON;f(o)&&(e=i(o,e,r))}return e}}},te=function(t){for(var r=0,n=t.length;n>r;r++)if(I(G,t[r]))return $;return""},to=function(t,r,n){for(var e=l(null),o=0,i=r.length;i>o;o++){var u=r[o];e[n+u]=tn(t,u)}return e[W]=null,e};j&&e({target:"JSON",stat:!0,arity:3,forced:q||X||!x},{stringify:function(t,r,n){var e,o=f(r)?r:void 0,u=o?void 0:Q(r),c=u&&te(u),a=[],l=[],p=[],v=!1,y=!0,h=V(t,function(t,r){if(t=O(t),u){if(t===W){M(l),e=M(p);return}if(y)y=!1;else if(this!==e&&!s(this)&&!d(u,t))return}else o&&(r=i(o,this,t,r));if(K(r))return x?r:(v=!0,U+(D(a,r.rawJSON)-1));if(u&&tr(r)){if(d(l,r))throw new _("Converting circular structure to JSON");var n=to(r,u,c);return D(l,r),D(p,e),e=n,c&&(v=!0),n}return r},n);if("string"!=typeof h||(X&&(h=N(h,L,H)),!v))return h;for(var b="",g=h.length,w=0;g>w;w++){var S=C(h,w);if('"'===S){var j=m(h,++w).end-1,A=R(h,w,j);R(A,0,z)===U?b+=a[R(A,z)]:R(A,0,Y)===$?b+='"'+R(A,Y)+'"':b+='"'+A+'"',w=j}else b+=S}return b}})},12057:function(t,r,n){"use strict";var e=n(75058);n(10845)(e.JSON,"JSON",!0)},29437:function(t,r,n){"use strict";n(10845)(Math,"Math",!0)},40891:function(t,r,n){"use strict";var e=n(50300),o=n(74693),i=n(96673),u=n(93715),c=n(30995);e({target:"Object",stat:!0,forced:!o||i(function(){u.f(1)})},{getOwnPropertySymbols:function(t){var r=u.f;return r?r(c(t)):[]}})},78837:function(t,r,n){"use strict";var e=n(82138),o=n(27714),i=n(99981);e||o(Object.prototype,"toString",i,{unsafe:!0})},56582:function(t,r,n){"use strict";var e=n(50300),o=n(75058),i=n(10845);e({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},71093:function(t,r,n){"use strict";var e=n(31353).charAt,o=n(13181),i=n(34155),u=n(20998),c=n(70439),s="String Iterator",f=i.set,a=i.getterFor(s);u(String,"String",function(t){f(this,{type:s,string:o(t),index:0})},function(){var t,r=a(this),n=r.string,o=r.index;return o>=n.length?c(void 0,!0):(t=e(n,o),r.index+=t.length,c(t,!1))})},43707:function(t,r,n){"use strict";var e=n(75058),o=n(62017),i=n(9475).f,u=n(10393).f,c=e.Symbol;if(o("asyncDispose"),c){var s=u(c,"asyncDispose");s.enumerable&&s.configurable&&s.writable&&i(c,"asyncDispose",{value:s.value,enumerable:!1,configurable:!1,writable:!1})}},97778:function(t,r,n){"use strict";n(62017)("asyncIterator")},63627:function(t,r,n){"use strict";var e=n(50300),o=n(75058),i=n(26919),u=n(46738),c=n(22445),s=n(17158),f=n(74693),a=n(96673),l=n(26419),p=n(56167),v=n(30941),y=n(83511),h=n(72543),d=n(13181),b=n(63458),g=n(99746),m=n(77298),w=n(63838),S=n(18316),x=n(93715),O=n(10393),_=n(9475),j=n(16719),A=n(23043),E=n(27714),P=n(66416),T=n(2975),I=n(99353),C=n(38043),F=n(18818),N=n(50617),R=n(20037),D=n(62017),M=n(28360),k=n(10845),L=n(34155),J=n(78027).forEach,B=I("hidden"),G="Symbol",U="prototype",$=L.set,W=L.getterFor(G),z=Object[U],Y=o.Symbol,q=Y&&Y[U],X=o.RangeError,K=o.TypeError,V=o.QObject,H=O.f,Q=_.f,Z=S.f,tt=A.f,tr=u([].push),tn=T("symbols"),te=T("op-symbols"),to=T("wks"),ti=!V||!V[U]||!V[U].findChild,tu=function(t,r,n){var e=H(z,r);return e&&delete z[r],Q(t,r,n),e&&t!==z&&Q(z,r,e),t},tc=s&&a(function(){return 7!==g(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a})?tu:Q,ts=function(t,r){var n=tn[t]=g(q);return $(n,{type:G,tag:t,description:r}),s||(n.description=r),n},tf=function(t,r,n){t===z&&tf(te,r,n),v(t);var e=h(r);return(v(n),l(tn,e))?(("enumerable"in n?!n.enumerable:!l(t,e)||l(t,B)&&t[B][e])?(l(t,B)||Q(t,B,b(1,g(null))),t[B][e]=!0):(l(t,B)&&t[B][e]&&(t[B][e]=!1),n=g(n,{enumerable:b(0,!1)})),tc(t,e,n)):Q(t,e,n)},ta=function(t,r){v(t);var n=y(r);return J(m(n).concat(ty(n)),function(r){(!s||i(tl,n,r))&&tf(t,r,n[r])}),t},tl=function(t){var r=h(t),n=i(tt,this,r);return(!(this===z&&l(tn,r))||!!l(te,r))&&(!(n||!l(this,r)||!l(tn,r)||l(this,B)&&this[B][r])||n)},tp=function(t,r){var n=y(t),e=h(r);if(!(n===z&&l(tn,e))||l(te,e)){var o=H(n,e);return o&&l(tn,e)&&!(l(n,B)&&n[B][e])&&(o.enumerable=!0),o}},tv=function(t){var r=Z(y(t)),n=[];return J(r,function(t){l(tn,t)||l(C,t)||tr(n,t)}),n},ty=function(t){var r=t===z,n=Z(r?te:y(t)),e=[];return J(n,function(t){l(tn,t)&&(!r||l(z,t))&&tr(e,tn[t])}),e};!f&&(E(q=(Y=function(){if(p(q,this))throw new K("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?d(arguments[0]):void 0,r=F(t),n=function(t){var e=void 0===this?o:this;e===z&&i(n,te,t),l(e,B)&&l(e[B],r)&&(e[B][r]=!1);var u=b(1,t);try{tc(e,r,u)}catch(t){if(null!=X&&"u">typeof Symbol&&X[Symbol.hasInstance]?!X[Symbol.hasInstance](t):!(t instanceof X))throw t;tu(e,r,u)}};return s&&ti&&tc(z,r,{configurable:!0,set:n}),ts(r,t)})[U],"toString",function(){return W(this).tag}),E(Y,"withoutSetter",function(t){return ts(F(t),t)}),A.f=tl,_.f=tf,j.f=ta,O.f=tp,w.f=S.f=tv,x.f=ty,R.f=function(t){return ts(N(t),t)},s&&(P(q,"description",{configurable:!0,get:function(){return W(this).description}}),c||E(z,"propertyIsEnumerable",tl,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!f,sham:!f},{Symbol:Y}),J(m(to),function(t){D(t)}),e({target:G,stat:!0,forced:!f},{useSetter:function(){ti=!0},useSimple:function(){ti=!1}}),e({target:"Object",stat:!0,forced:!f,sham:!s},{create:function(t,r){return void 0===r?g(t):ta(g(t),r)},defineProperty:tf,defineProperties:ta,getOwnPropertyDescriptor:tp}),e({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:tv}),M(),k(Y,G),C[B]=!0},24661:function(t,r,n){"use strict";var e=n(50300),o=n(17158),i=n(75058),u=n(26919),c=n(46738),s=n(26419),f=n(14595),a=n(56167),l=n(13181),p=n(66416),v=n(2958),y=i.Symbol,h=y&&y.prototype;if(o&&f(y)&&(!("description"in h)||void 0!==y().description)){var d={},b=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),r=a(h,this)?new y(t):void 0===t?y():y(t);return""===t&&(d[r]=!0),r};v(b,y);var g=b.for;b.for=({for:function(t){var r=l(t),n=u(g,this,r);return""===r&&(d[n]=!0),n}}).for,b.prototype=h,h.constructor=b;var m="Symbol(description detection)"===String(y("description detection")),w=c(h.valueOf),S=c(h.toString),x=/^Symbol\((.*)\)[^)]+$/,O=c("".replace),_=c("".slice);p(h,"description",{configurable:!0,get:function(){var t=w(this);if(s(d,t))return"";var r=S(t),n=m?_(r,7,-1):O(r,x,"$1");return""===n?void 0:n}}),e({global:!0,constructor:!0,forced:!0},{Symbol:b})}},92770:function(t,r,n){"use strict";var e=n(75058),o=n(62017),i=n(9475).f,u=n(10393).f,c=e.Symbol;if(o("dispose"),c){var s=u(c,"dispose");s.enumerable&&s.configurable&&s.writable&&i(c,"dispose",{value:s.value,enumerable:!1,configurable:!1,writable:!1})}},89676:function(t,r,n){"use strict";var e=n(50300),o=n(29833),i=n(26419),u=n(13181),c=n(2975),s=n(31050),f=c("string-to-symbol-registry"),a=c("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!s},{for:function(t){var r=u(t);if(i(f,r))return f[r];var n=o("Symbol")(r);return f[r]=n,a[n]=r,n}})},52867:function(t,r,n){"use strict";n(62017)("hasInstance")},26494:function(t,r,n){"use strict";n(62017)("isConcatSpreadable")},45797:function(t,r,n){"use strict";n(62017)("iterator")},51265:function(t,r,n){"use strict";n(63627),n(89676),n(78638),n(24784),n(40891)},78638:function(t,r,n){"use strict";var e=n(50300),o=n(26419),i=n(71975),u=n(8465),c=n(2975),s=n(31050),f=c("symbol-to-string-registry");e({target:"Symbol",stat:!0,forced:!s},{keyFor:function(t){if(!i(t))throw TypeError(u(t)+" is not a symbol");if(o(f,t))return f[t]}})},57108:function(t,r,n){"use strict";n(62017)("matchAll")},67130:function(t,r,n){"use strict";n(62017)("match")},23359:function(t,r,n){"use strict";n(62017)("replace")},27491:function(t,r,n){"use strict";n(62017)("search")},89689:function(t,r,n){"use strict";n(62017)("species")},22367:function(t,r,n){"use strict";n(62017)("split")},150:function(t,r,n){"use strict";var e=n(62017),o=n(28360);e("toPrimitive"),o()},42695:function(t,r,n){"use strict";var e=n(29833),o=n(62017),i=n(10845);o("toStringTag"),i(e("Symbol"),"Symbol")},94248:function(t,r,n){"use strict";n(62017)("unscopables")}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return t[e].call(i.exports,i,i.exports,n),i.exports}n.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(r,{a:r}),r},n.d=function(t,r){for(var e in r)n.o(r,e)&&!n.o(t,e)&&Object.defineProperty(t,e,{enumerable:!0,get:r[e]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},n.r=function(t){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var e={};return!function(){"use strict";n.r(e),n(50112),n(10990),n(57683),n(7796),n(43098),Array.prototype.includes||(Array.prototype.includes=function(t){return this.indexOf(t)>-1}),"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,r){if(null==t)throw TypeError("Cannot convert undefined or null to object");for(var n=Object(t),e=1;e<arguments.length;e++){var o=arguments[e];if(null!=o)for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])}return n},writable:!0,configurable:!0}),Array.prototype.find||(Array.prototype.find=function(t){return this.indexOf(t)>-1?t:void 0}),String.prototype.endsWith||(String.prototype.endsWith=function(t){return this[this.length-1]===t})}(),e});
|
|
8
|
+
!function(t,r){if("object"==typeof exports&&"object"==typeof module)module.exports=r();else if("function"==typeof define&&define.amd)define([],r);else{var e=r();for(var n in e)("object"==typeof exports?exports:t)[n]=e[n]}}(self,function(){var t={50112:function(){"document"in window.self&&("classList"in document.createElement("_")&&(!document.createElementNS||"classList"in document.createElementNS("http://www.w3.org/2000/svg","g"))||function(t){"use strict";if("Element"in t){var r="classList",e="prototype",n=t.Element[e],o=Object,i=String[e].trim||function(){return this.replace(/^\s+|\s+$/g,"")},u=Array[e].indexOf||function(t){for(var r=0,e=this.length;e>r;r++)if(r in this&&this[r]===t)return r;return -1},c=function(t,r){this.name=t,this.code=DOMException[t],this.message=r},s=function(t,r){if(""===r)throw new c("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(r))throw new c("INVALID_CHARACTER_ERR","String contains an invalid character");return u.call(t,r)},f=function(t){for(var r=i.call(t.getAttribute("class")||""),e=r?r.split(/\s+/):[],n=0,o=e.length;o>n;n++)this.push(e[n]);this._updateClassName=function(){t.setAttribute("class",this.toString())}},a=f[e]=[],l=function(){return new f(this)};if(c[e]=Error[e],a.item=function(t){return this[t]||null},a.contains=function(t){return -1!==s(this,t+="")},a.add=function(){var t,r=arguments,e=0,n=r.length,o=!1;do -1===s(this,t=r[e]+"")&&(this.push(t),o=!0);while(++e<n);o&&this._updateClassName()},a.remove=function(){var t,r,e=arguments,n=0,o=e.length,i=!1;do for(r=s(this,t=e[n]+"");-1!==r;)this.splice(r,1),i=!0,r=s(this,t);while(++n<o);i&&this._updateClassName()},a.toggle=function(t,r){t+="";var e=this.contains(t),n=e?!0!==r&&"remove":!1!==r&&"add";return(n&&this[n](t),!0===r||!1===r)?r:!e},a.toString=function(){return this.join(" ")},o.defineProperty){var p={get:l,enumerable:!0,configurable:!0};try{o.defineProperty(n,r,p)}catch(t){(void 0===t.number||-0x7ff5ec54===t.number)&&(p.enumerable=!1,o.defineProperty(n,r,p))}}else o[e].__defineGetter__&&n.__defineGetter__(r,l)}}(window.self),function(){"use strict";var t=document.createElement("_");if(t.classList.add("c1","c2"),!t.classList.contains("c2")){var r=function(t){var r=DOMTokenList.prototype[t];DOMTokenList.prototype[t]=function(t){var e,n=arguments.length;for(e=0;n>e;e++)t=arguments[e],r.call(this,t)}};r("add"),r("remove")}if(t.classList.toggle("c3",!1),t.classList.contains("c3")){var e=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(t,r){return 1 in arguments&&!this.contains(t)==!r?r:e.call(this,t)}}}())},10990:function(t,r,e){"use strict";t.exports=e(29100).polyfill()},29100:function(t,r,e){var n,o;function i(t){return t&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t}o=function(){"use strict";function t(t){return"function"==typeof t}var r,n,o,u,c=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},s=0,f=void 0,a=void 0,l=function(t,r){g[s]=t,g[s+1]=r,2===(s+=2)&&(a?a(m):w())},p="u">typeof window?window:void 0,v=p||{},y=v.MutationObserver||v.WebKitMutationObserver,h="u"<typeof self&&"u">typeof process&&"[object process]"===({}).toString.call(process),d="u">typeof Uint8ClampedArray&&"u">typeof importScripts&&"u">typeof MessageChannel;function b(){var t=setTimeout;return function(){return t(m,1)}}var g=Array(1e3);function m(){for(var t=0;s>t;t+=2)(0,g[t])(g[t+1]),g[t]=void 0,g[t+1]=void 0;s=0}var w=void 0;function S(t,r){var e=this,n=new this.constructor(_);void 0===n[O]&&D(n);var o=e._state;if(o){var i=arguments[o-1];l(function(){return N(o,n,i,e._result)})}else C(e,n,t,r);return n}function x(t){if(t&&(void 0===t?"undefined":i(t))==="object"&&t.constructor===this)return t;var r=new this(_);return E(r,t),r}h?w=function(){return process.nextTick(m)}:y?(r=0,n=new y(m),o=document.createTextNode(""),n.observe(o,{characterData:!0}),w=function(){o.data=r=++r%2}):d?((u=new MessageChannel).port1.onmessage=m,w=function(){return u.port2.postMessage(0)}):w=void 0===p?function(){try{var t=Function("return this")().require("vertx");return f=t.runOnLoop||t.runOnContext,void 0!==f?function(){f(m)}:b()}catch(t){return b()}}():b();var O=Math.random().toString(36).substring(2);function _(){}var j=void 0;function A(r,e,n){e.constructor===r.constructor&&n===S&&e.constructor.resolve===x?1===e._state?T(r,e._result):2===e._state?I(r,e._result):C(e,void 0,function(t){return E(r,t)},function(t){return I(r,t)}):void 0===n?T(r,e):t(n)?l(function(t){var r=!1,o=function(t,r,e,n){try{t.call(r,e,n)}catch(t){return t}}(n,e,function(n){r||(r=!0,e!==n?E(t,n):T(t,n))},function(e){r||(r=!0,I(t,e))},t._label);!r&&o&&(r=!0,I(t,o))},r):T(r,e)}function E(t,r){if(t===r)I(t,TypeError("You cannot resolve a promise with itself"));else if(e=void 0===r?"undefined":i(r),null!==r&&("object"===e||"function"===e)){var e,n=void 0;try{n=r.then}catch(r){I(t,r);return}A(t,r,n)}else T(t,r)}function P(t){t._onerror&&t._onerror(t._result),F(t)}function T(t,r){t._state===j&&(t._result=r,t._state=1,0!==t._subscribers.length&&l(F,t))}function I(t,r){t._state===j&&(t._state=2,t._result=r,l(P,t))}function C(t,r,e,n){var o=t._subscribers,i=o.length;t._onerror=null,o[i]=r,o[i+1]=e,o[i+2]=n,0===i&&t._state&&l(F,t)}function F(t){var r=t._subscribers,e=t._state;if(0!==r.length){for(var n=void 0,o=void 0,i=t._result,u=0;u<r.length;u+=3)n=r[u],o=r[u+e],n?N(e,n,o,i):o(i);t._subscribers.length=0}}function N(r,e,n,o){var i=t(n),u=void 0,c=void 0,s=!0;if(i){try{u=n(o)}catch(t){s=!1,c=t}if(e===u)return void I(e,TypeError("A promises callback cannot return that same promise."))}else u=o;e._state!==j||(i&&s?E(e,u):!1===s?I(e,c):1===r?T(e,u):2===r&&I(e,u))}var R=0;function D(t){t[O]=R++,t._state=void 0,t._result=void 0,t._subscribers=[]}var M=function(){function t(t,r){this._instanceConstructor=t,this.promise=new t(_),this.promise[O]||D(this.promise),c(r)?(this.length=r.length,this._remaining=r.length,this._result=Array(this.length),0===this.length?T(this.promise,this._result):(this.length=this.length||0,this._enumerate(r),0===this._remaining&&T(this.promise,this._result))):I(this.promise,Error("Array Methods must be provided an Array"))}return t.prototype._enumerate=function(t){for(var r=0;this._state===j&&r<t.length;r++)this._eachEntry(t[r],r)},t.prototype._eachEntry=function(t,r){var e=this._instanceConstructor,n=e.resolve;if(n===x){var o=void 0,i=void 0,u=!1;try{o=t.then}catch(t){u=!0,i=t}if(o===S&&t._state!==j)this._settledAt(t._state,r,t._result);else if("function"!=typeof o)this._remaining--,this._result[r]=t;else if(e===k){var c=new e(_);u?I(c,i):A(c,t,o),this._willSettleAt(c,r)}else this._willSettleAt(new e(function(r){return r(t)}),r)}else this._willSettleAt(n(t),r)},t.prototype._settledAt=function(t,r,e){var n=this.promise;n._state===j&&(this._remaining--,2===t?I(n,e):this._result[r]=e),0===this._remaining&&T(n,this._result)},t.prototype._willSettleAt=function(t,r){var e=this;C(t,void 0,function(t){return e._settledAt(1,r,t)},function(t){return e._settledAt(2,r,t)})},t}(),k=function(){function r(t){this[O]=R++,this._result=this._state=void 0,this._subscribers=[],_!==t&&("function"!=typeof t&&function(){throw TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),(null!=r&&"u">typeof Symbol&&r[Symbol.hasInstance]?!!r[Symbol.hasInstance](this):this instanceof r)?function(t,r){try{r(function(r){E(t,r)},function(r){I(t,r)})}catch(r){I(t,r)}}(this,t):function(){throw TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return r.prototype.catch=function(t){return this.then(null,t)},r.prototype.finally=function(r){var e=this.constructor;return t(r)?this.then(function(t){return e.resolve(r()).then(function(){return t})},function(t){return e.resolve(r()).then(function(){throw t})}):this.then(r,r)},r}();return k.prototype.then=S,k.all=function(t){return new M(this,t).promise},k.race=function(t){var r=this;return new r(c(t)?function(e,n){for(var o=t.length,i=0;o>i;i++)r.resolve(t[i]).then(e,n)}:function(t,r){return r(TypeError("You must pass an array to race."))})},k.resolve=x,k.reject=function(t){var r=new this(_);return I(r,t),r},k._setScheduler=function(t){a=t},k._setAsap=function(t){l=t},k._asap=l,k.polyfill=function(){var t=void 0;if(void 0!==e.g)t=e.g;else if("u">typeof self)t=self;else try{t=Function("return this")()}catch(t){throw Error("polyfill failed because global object is unavailable in this environment")}var r=t.Promise;if(r){var n=null;try{n=Object.prototype.toString.call(r.resolve())}catch(t){}if("[object Promise]"===n&&!r.cast)return}t.Promise=k},k.Promise=k,k},"object"===i(r)?t.exports=o():void 0===(n=o.call(r,e,r,t))||(t.exports=n)},7796:function(t,r,e){"use strict";e(90014),t.exports=e(54393)("Array","findIndex")},43098:function(t,r,e){"use strict";e(71093),e(6028),t.exports=e(7557).Array.from},57683:function(t,r,e){"use strict";e(75024),e(78837),e(51265),e(43707),e(97778),e(24661),e(92770),e(52867),e(26494),e(45797),e(67130),e(57108),e(23359),e(27491),e(89689),e(22367),e(150),e(42695),e(94248),e(12057),e(29437),e(56582),t.exports=e(7557).Symbol},90256:function(t,r,e){"use strict";var n=e(14595),o=e(8465),i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not a function")}},34980:function(t,r,e){"use strict";var n=e(24503),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i("Can't set "+o(t)+" as a prototype")}},82911:function(t,r,e){"use strict";var n=e(50617),o=e(99746),i=e(9475).f,u=n("unscopables"),c=Array.prototype;void 0===c[u]&&i(c,u,{configurable:!0,value:o(null)}),t.exports=function(t){c[u][t]=!0}},30941:function(t,r,e){"use strict";var n=e(78144),o=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw new i(o(t)+" is not an object")}},53110:function(t,r,e){"use strict";var n=e(71594),o=e(26919),i=e(30995),u=e(52413),c=e(52699),s=e(46119),f=e(23832),a=e(15526),l=e(94465),p=e(46593),v=e(96003),y=e(73737),h=e(59979),d=Array;t.exports=function(t){var r,e,b,g,m,w,S=s(this),x=arguments.length,O=x>1?arguments[1]:void 0,_=void 0!==O;_&&(O=n(O,x>2?arguments[2]:void 0));var j=i(t),A=v(j),E=0;if(A&&!(this===d&&c(A)))for(e=S?new this:[],m=(g=p(j,A)).next;!(b=o(m,g)).done;E++){try{h(E)}catch(t){y(g,"throw",t)}w=_?u(g,O,[b.value,E],!0):b.value;try{a(e,E,w)}catch(t){y(g,"throw",t)}}else for(r=f(j),e=S?new this(r):d(r);r>E;E++)w=_?O(j[E],E):j[E],a(e,E,w);return l(e,E),e}},59299:function(t,r,e){"use strict";var n=e(83511),o=e(56184),i=e(23832),u=function(t){return function(r,e,u){var c,s=n(r),f=i(s);if(0===f)return!t&&-1;var a=o(u,f);if(t&&e!=e){for(;f>a;)if((c=s[a++])!=c)return!0}else for(;f>a;a++)if((t||a in s)&&s[a]===e)return t||a||0;return!t&&-1}};t.exports={includes:u(!0),indexOf:u(!1)}},78027:function(t,r,e){"use strict";var n=e(71594),o=e(82545),i=e(30995),u=e(23832),c=e(56895),s=e(15526),f=function(t){var r=1===t,e=2===t,f=3===t,a=4===t,l=6===t,p=7===t,v=5===t||l;return function(y,h,d){for(var b,g,m=i(y),w=o(m),S=u(w),x=n(h,d),O=0,_=0,j=r?c(y,S):e||p?c(y,0):void 0;S>O;O++)if((v||O in w)&&(g=x(b=w[O],O,m),t))if(r)s(j,O,g);else if(g)switch(t){case 3:return!0;case 5:return b;case 6:return O;case 2:s(j,_++,b)}else switch(t){case 4:return!1;case 7:s(j,_++,b)}return l?-1:f||a?a:j}};t.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6),filterReject:f(7)}},56379:function(t,r,e){"use strict";var n=e(96673),o=e(50617),i=e(1669),u=o("species");t.exports=function(t){return i>=51||!n(function(){var r=[];return(r.constructor={})[u]=function(){return{foo:1}},1!==r[t](Boolean).foo})}},94465:function(t,r,e){"use strict";var n=e(17158),o=e(40554),i=TypeError,u=Object.getOwnPropertyDescriptor;t.exports=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(r){var t;return null!=(t=TypeError)&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](r):r instanceof t}}()?function(t,r){if(o(t)&&!u(t,"length").writable)throw new i("Cannot set read only .length");return t.length=r}:function(t,r){return t.length=r}},13450:function(t,r,e){"use strict";t.exports=e(46738)([].slice)},72783:function(t,r,e){"use strict";var n=e(40554),o=e(46119),i=e(78144),u=e(50617)("species"),c=Array;t.exports=function(t){var r;return n(t)&&(o(r=t.constructor)&&(r===c||n(r.prototype))?r=void 0:i(r)&&null===(r=r[u])&&(r=void 0)),void 0===r?c:r}},56895:function(t,r,e){"use strict";var n=e(72783);t.exports=function(t,r){return new(n(t))(0===r?0:r)}},52413:function(t,r,e){"use strict";var n=e(30941),o=e(73737);t.exports=function(t,r,e,i){try{return i?r(n(e)[0],e[1]):r(e)}catch(r){o(t,"throw",r)}}},14122:function(t,r,e){"use strict";var n=e(50617)("iterator"),o=!1;try{var i=0,u={next:function(){return{done:!!i++}},return:function(){o=!0}};u[n]=function(){return this},Array.from(u,function(){throw 2})}catch(t){}t.exports=function(t,r){try{if(!r&&!o)return!1}catch(t){return!1}var e=!1;try{var i={};i[n]=function(){return{next:function(){return{done:e=!0}}}},t(i)}catch(t){}return e}},66310:function(t,r,e){"use strict";var n=e(46738),o=n({}.toString),i=n("".slice);t.exports=function(t){return i(o(t),8,-1)}},20233:function(t,r,e){"use strict";var n=e(82138),o=e(14595),i=e(66310),u=e(50617)("toStringTag"),c=Object,s="Arguments"===i(function(){return arguments}()),f=function(t,r){try{return t[r]}catch(t){}};t.exports=n?i:function(t){var r,e,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=f(r=c(t),u))?e:s?i(r):"Object"===(n=i(r))&&o(r.callee)?"Arguments":n}},2958:function(t,r,e){"use strict";var n=e(26419),o=e(1089),i=e(10393),u=e(9475);t.exports=function(t,r,e){for(var c=o(r),s=u.f,f=i.f,a=0;a<c.length;a++){var l=c[a];n(t,l)||e&&n(e,l)||s(t,l,f(r,l))}}},85353:function(t,r,e){"use strict";t.exports=!e(96673)(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})},70439:function(t){"use strict";t.exports=function(t,r){return{value:t,done:r}}},59541:function(t,r,e){"use strict";var n=e(17158),o=e(9475),i=e(63458);t.exports=n?function(t,r,e){return o.f(t,r,i(1,e))}:function(t,r,e){return t[r]=e,t}},63458:function(t){"use strict";t.exports=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}}},15526:function(t,r,e){"use strict";var n=e(17158),o=e(9475),i=e(63458);t.exports=function(t,r,e){n?o.f(t,r,i(0,e)):t[r]=e}},66416:function(t,r,e){"use strict";var n=e(55425),o=e(9475);t.exports=function(t,r,e){return e.get&&n(e.get,r,{getter:!0}),e.set&&n(e.set,r,{setter:!0}),o.f(t,r,e)}},27714:function(t,r,e){"use strict";var n=e(14595),o=e(9475),i=e(55425),u=e(36759);t.exports=function(t,r,e,c){c||(c={});var s=c.enumerable,f=void 0!==c.name?c.name:r;if(n(e)&&i(e,f,c),c.global)s?t[r]=e:u(r,e);else{try{c.unsafe?t[r]&&(s=!0):delete t[r]}catch(t){}s?t[r]=e:o.f(t,r,{value:e,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return t}},36759:function(t,r,e){"use strict";var n=e(75058),o=Object.defineProperty;t.exports=function(t,r){try{o(n,t,{value:r,configurable:!0,writable:!0})}catch(e){n[t]=r}return r}},17158:function(t,r,e){"use strict";t.exports=!e(96673)(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},64369:function(t,r,e){"use strict";var n=e(75058),o=e(78144),i=n.document,u=o(i)&&o(i.createElement);t.exports=function(t){return u?i.createElement(t):{}}},59979:function(t){"use strict";var r=TypeError;t.exports=function(t){if(t>0x1fffffffffffff)throw new r("Maximum allowed index exceeded");return t}},54393:function(t,r,e){"use strict";var n=e(75058),o=e(46738);t.exports=function(t,r){return o(n[t].prototype[r])}},24877:function(t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1837:function(t,r,e){"use strict";var n=e(75058).navigator,o=n&&n.userAgent;t.exports=o?String(o):""},1669:function(t,r,e){"use strict";var n,o,i=e(75058),u=e(1837),c=i.process,s=i.Deno,f=c&&c.versions||s&&s.version,a=f&&f.v8;a&&(o=(n=a.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&u&&(!(n=u.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=u.match(/Chrome\/(\d+)/))&&(o=+n[1]),t.exports=o},50300:function(t,r,e){"use strict";function n(t){return t&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t}var o=e(75058),i=e(10393).f,u=e(59541),c=e(27714),s=e(36759),f=e(2958),a=e(41890);t.exports=function(t,r){var e,l,p,v,y,h=t.target,d=t.global,b=t.stat;if(e=d?o:b?o[h]||s(h,{}):o[h]&&o[h].prototype)for(l in r){if(v=r[l],p=t.dontCallGetSet?(y=i(e,l))&&y.value:e[l],!a(d?l:h+(b?".":"#")+l,t.forced)&&void 0!==p){if((void 0===v?"undefined":n(v))==(void 0===p?"undefined":n(p)))continue;f(v,p)}(t.sham||p&&p.sham)&&u(v,"sham",!0),c(e,l,v,t)}}},96673:function(t){"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},71594:function(t,r,e){"use strict";var n=e(93474),o=e(90256),i=e(37770),u=n(n.bind);t.exports=function(t,r){return o(t),void 0===r?t:i?u(t,r):function(){return t.apply(r,arguments)}}},37770:function(t,r,e){"use strict";t.exports=!e(96673)(function(){var t=(function(){}).bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},26919:function(t,r,e){"use strict";var n=e(37770),o=Function.prototype.call;t.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},5944:function(t,r,e){"use strict";var n=e(17158),o=e(26419),i=Function.prototype,u=n&&Object.getOwnPropertyDescriptor,c=o(i,"name"),s=c&&(!n||n&&u(i,"name").configurable);t.exports={EXISTS:c,PROPER:c&&"something"===(function(){}).name,CONFIGURABLE:s}},60288:function(t,r,e){"use strict";var n=e(46738),o=e(90256);t.exports=function(t,r,e){try{return n(o(Object.getOwnPropertyDescriptor(t,r)[e]))}catch(t){}}},93474:function(t,r,e){"use strict";var n=e(66310),o=e(46738);t.exports=function(t){if("Function"===n(t))return o(t)}},46738:function(t,r,e){"use strict";var n=e(37770),o=Function.prototype,i=o.call,u=n&&o.bind.bind(i,i);t.exports=n?u:function(t){return function(){return i.apply(t,arguments)}}},29833:function(t,r,e){"use strict";var n=e(75058),o=e(14595);t.exports=function(t,r){var e;return arguments.length<2?o(e=n[t])?e:void 0:n[t]&&n[t][r]}},46593:function(t,r,e){"use strict";var n=e(26919),o=e(14595),i=e(30941),u=e(8465),c=e(96003),s=TypeError;t.exports=function(t,r){var e=arguments.length<2?c(t):r;if(o(e))return i(n(e,t));throw new s(u(t)+" is not iterable")}},96003:function(t,r,e){"use strict";var n=e(66310),o=e(41943),i=e(57996),u=e(50617)("iterator"),c=Array.prototype;t.exports=function(t){if(!o(t))return i(t,u)||i(t,"@@iterator")||("Arguments"===n(t)?c[u]:void 0)}},57996:function(t,r,e){"use strict";var n=e(90256),o=e(41943);t.exports=function(t,r){var e=t[r];return o(e)?void 0:n(e)}},75058:function(t,r,e){"use strict";function n(t){return t&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t}var o=function(t){return t&&t.Math===Math&&t};t.exports=o(("u"<typeof globalThis?"undefined":n(globalThis))=="object"&&globalThis)||o(("u"<typeof window?"undefined":n(window))=="object"&&window)||o(("u"<typeof self?"undefined":n(self))=="object"&&self)||o((void 0===e.g?"undefined":n(e.g))=="object"&&e.g)||o("object"==n(this)&&this)||function(){return this}()||Function("return this")()},26419:function(t,r,e){"use strict";var n=e(46738),o=e(30995),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,r){return i(o(t),r)}},38043:function(t){"use strict";t.exports={}},51107:function(t,r,e){"use strict";t.exports=e(29833)("document","documentElement")},64959:function(t,r,e){"use strict";var n=e(17158),o=e(96673),i=e(64369);t.exports=!n&&!o(function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},82545:function(t,r,e){"use strict";var n=e(46738),o=e(96673),i=e(66310),u=Object,c=n("".split);t.exports=o(function(){return!u("z").propertyIsEnumerable(0)})?function(t){return"String"===i(t)?c(t,""):u(t)}:u},69228:function(t,r,e){"use strict";var n=e(46738),o=e(14595),i=e(49567),u=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return u(t)}),t.exports=i.inspectSource},34155:function(t,r,e){"use strict";var n,o,i,u=e(97948),c=e(75058),s=e(78144),f=e(59541),a=e(26419),l=e(49567),p=e(99353),v=e(38043),y="Object already initialized",h=c.TypeError,d=c.WeakMap;if(u||l.state){var b=l.state||(l.state=new d);b.get=b.get,b.has=b.has,b.set=b.set,n=function(t,r){if(b.has(t))throw new h(y);return r.facade=t,b.set(t,r),r},o=function(t){return b.get(t)||{}},i=function(t){return b.has(t)}}else{var g=p("state");v[g]=!0,n=function(t,r){if(a(t,g))throw new h(y);return r.facade=t,f(t,g,r),r},o=function(t){return a(t,g)?t[g]:{}},i=function(t){return a(t,g)}}t.exports={set:n,get:o,has:i,enforce:function(t){return i(t)?o(t):n(t,{})},getterFor:function(t){return function(r){var e;if(!s(r)||(e=o(r)).type!==t)throw new h("Incompatible receiver, "+t+" required");return e}}}},52699:function(t,r,e){"use strict";var n=e(50617),o=e(84543),i=n("iterator"),u=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||u[i]===t)}},40554:function(t,r,e){"use strict";var n=e(66310);t.exports=Array.isArray||function(t){return"Array"===n(t)}},14595:function(t){"use strict";var r,e=("u"<typeof document?"undefined":(r=document)&&"u">typeof Symbol&&r.constructor===Symbol?"symbol":typeof r)=="object"&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},46119:function(t,r,e){"use strict";var n=e(46738),o=e(96673),i=e(14595),u=e(20233),c=e(29833),s=e(69228),f=function(){},a=c("Reflect","construct"),l=/^\s*(?:class|function)\b/,p=n(l.exec),v=!l.test(f),y=function(t){if(!i(t))return!1;try{return a(f,[],t),!0}catch(t){return!1}},h=function(t){if(!i(t))return!1;switch(u(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return v||!!p(l,s(t))}catch(t){return!0}};h.sham=!0,t.exports=!a||o(function(){var t;return y(y.call)||!y(Object)||!y(function(){t=!0})||t})?h:y},41890:function(t,r,e){"use strict";var n=e(96673),o=e(14595),i=/#|\.prototype\./,u=function(t,r){var e=s[c(t)];return e===a||e!==f&&(o(r)?n(r):!!r)},c=u.normalize=function(t){return String(t).replace(i,".").toLowerCase()},s=u.data={},f=u.NATIVE="N",a=u.POLYFILL="P";t.exports=u},41943:function(t){"use strict";t.exports=function(t){return null==t}},78144:function(t,r,e){"use strict";var n=e(14595);t.exports=function(t){return(void 0===t?"undefined":t&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)=="object"?null!==t:n(t)}},24503:function(t,r,e){"use strict";var n=e(78144);t.exports=function(t){return n(t)||null===t}},22445:function(t){"use strict";t.exports=!1},91e3:function(t,r,e){"use strict";var n=e(78144),o=e(34155).get;t.exports=function(t){if(!n(t))return!1;var r=o(t);return!!r&&"RawJSON"===r.type}},71975:function(t,r,e){"use strict";var n=e(29833),o=e(14595),i=e(56167),u=e(43334),c=Object;t.exports=u?function(t){return(void 0===t?"undefined":t&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t)=="symbol"}:function(t){var r=n("Symbol");return o(r)&&i(r.prototype,c(t))}},73737:function(t,r,e){"use strict";var n=e(26919),o=e(30941),i=e(57996);t.exports=function(t,r,e){var u,c;o(t);try{if(!(u=i(t,"return"))){if("throw"===r)throw e;return e}u=n(u,t)}catch(t){c=!0,u=t}if("throw"===r)throw e;if(c)throw u;return o(u),e}},19192:function(t,r,e){"use strict";var n=e(96371).IteratorPrototype,o=e(99746),i=e(63458),u=e(10845),c=e(84543),s=function(){return this};t.exports=function(t,r,e,f){var a=r+" Iterator";return t.prototype=o(n,{next:i(+!f,e)}),u(t,a,!1,!0),c[a]=s,t}},20998:function(t,r,e){"use strict";var n=e(50300),o=e(26919),i=e(22445),u=e(5944),c=e(14595),s=e(19192),f=e(88597),a=e(28329),l=e(10845),p=e(59541),v=e(27714),y=e(50617),h=e(84543),d=e(96371),b=u.PROPER,g=u.CONFIGURABLE,m=d.IteratorPrototype,w=d.BUGGY_SAFARI_ITERATORS,S=y("iterator"),x="keys",O="values",_="entries",j=function(){return this};t.exports=function(t,r,e,u,y,d,A){s(e,r,u);var E,P,T,I=function(t){if(t===y&&D)return D;if(!w&&t&&t in N)return N[t];switch(t){case x:case O:case _:return function(){return new e(this,t)}}return function(){return new e(this)}},C=r+" Iterator",F=!1,N=t.prototype,R=N[S]||N["@@iterator"]||y&&N[y],D=!w&&R||I(y),M="Array"===r&&N.entries||R;if(M&&(E=f(M.call(new t)))!==Object.prototype&&E.next&&(!i&&f(E)!==m&&(a?a(E,m):c(E[S])||v(E,S,j)),l(E,C,!0,!0),i&&(h[C]=j)),b&&y===O&&R&&R.name!==O&&(!i&&g?p(N,"name",O):(F=!0,D=function(){return o(R,this)})),y)if(P={values:I(O),keys:d?D:I(x),entries:I(_)},A)for(T in P)!w&&!F&&T in N||v(N,T,P[T]);else n({target:r,proto:!0,forced:w||F},P);return(!i||A)&&N[S]!==D&&v(N,S,D,{name:y}),h[r]=D,P}},96371:function(t,r,e){"use strict";var n,o,i,u=e(96673),c=e(14595),s=e(78144),f=e(99746),a=e(88597),l=e(27714),p=e(50617),v=e(22445),y=p("iterator"),h=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(n=o):h=!0),!s(n)||u(function(){var t={};return n[y].call(t)!==t})?n={}:v&&(n=f(n)),c(n[y])||l(n,y,function(){return this}),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:h}},84543:function(t){"use strict";t.exports=Object.create?Object.create(null):{}},23832:function(t,r,e){"use strict";var n=e(10764);t.exports=function(t){return n(t.length)}},55425:function(t,r,e){"use strict";var n=e(46738),o=e(96673),i=e(14595),u=e(26419),c=e(17158),s=e(5944).CONFIGURABLE,f=e(69228),a=e(34155),l=a.enforce,p=a.get,v=String,y=Object.defineProperty,h=n("".slice),d=n("".replace),b=n([].join),g=c&&!o(function(){return 8!==y(function(){},"length",{value:8}).length}),m=String(String).split("String"),w=t.exports=function(t,r,e){"Symbol("===h(v(r),0,7)&&(r="["+d(v(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(r="get "+r),e&&e.setter&&(r="set "+r),(!u(t,"name")||s&&t.name!==r)&&(c?y(t,"name",{value:r,configurable:!0}):t.name=r),g&&e&&u(e,"arity")&&t.length!==e.arity&&y(t,"length",{value:e.arity});try{e&&u(e,"constructor")&&e.constructor?c&&y(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=l(t);return u(n,"source")||(n.source=b(m,"string"==typeof r?r:"")),t};Function.prototype.toString=w(function(){return i(this)&&p(this).source||f(this)},"toString")},1055:function(t){"use strict";var r=Math.ceil,e=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?e:r)(n)}},93413:function(t,r,e){"use strict";t.exports=!e(96673)(function(){var t="9007199254740993",r=JSON.rawJSON(t);return!JSON.isRawJSON(r)||JSON.stringify(r)!==t})},99746:function(t,r,e){"use strict";var n,o=e(30941),i=e(16719),u=e(24877),c=e(38043),s=e(51107),f=e(64369),a=e(99353),l="prototype",p="script",v=a("IE_PROTO"),y=function(){},h=function(t){return"<"+p+">"+t+"</"+p+">"},d=function(t){t.write(h("")),t.close();var r=t.parentWindow.Object;return t=null,r},b=function(){var t,r=f("iframe");return r.style.display="none",s.appendChild(r),r.src=String("java"+p+":"),(t=r.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F},g=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}g="u">typeof document?document.domain&&n?d(n):b():d(n);for(var t=u.length;t--;)delete g[l][u[t]];return g()};c[v]=!0,t.exports=Object.create||function(t,r){var e;return null!==t?(y[l]=o(t),e=new y,y[l]=null,e[v]=t):e=g(),void 0===r?e:i.f(e,r)}},16719:function(t,r,e){"use strict";var n=e(17158),o=e(32624),i=e(9475),u=e(30941),c=e(83511),s=e(77298);r.f=n&&!o?Object.defineProperties:function(t,r){u(t);for(var e,n=c(r),o=s(r),f=o.length,a=0;f>a;)i.f(t,e=o[a++],n[e]);return t}},9475:function(t,r,e){"use strict";var n=e(17158),o=e(64959),i=e(32624),u=e(30941),c=e(72543),s=TypeError,f=Object.defineProperty,a=Object.getOwnPropertyDescriptor,l="enumerable",p="configurable",v="writable";r.f=n?i?function(t,r,e){if(u(t),r=c(r),u(e),"function"==typeof t&&"prototype"===r&&"value"in e&&v in e&&!e[v]){var n=a(t,r);n&&n[v]&&(t[r]=e.value,e={configurable:p in e?e[p]:n[p],enumerable:l in e?e[l]:n[l],writable:!1})}return f(t,r,e)}:f:function(t,r,e){if(u(t),r=c(r),u(e),o)try{return f(t,r,e)}catch(t){}if("get"in e||"set"in e)throw new s("Accessors not supported");return"value"in e&&(t[r]=e.value),t}},10393:function(t,r,e){"use strict";var n=e(17158),o=e(26919),i=e(23043),u=e(63458),c=e(83511),s=e(72543),f=e(26419),a=e(64959),l=Object.getOwnPropertyDescriptor;r.f=n?l:function(t,r){if(t=c(t),r=s(r),a)try{return l(t,r)}catch(t){}if(f(t,r))return u(!o(i.f,t,r),t[r])}},18316:function(t,r,e){"use strict";var n,o=e(66310),i=e(83511),u=e(63838).f,c=e(13450),s=("u"<typeof window?"undefined":(n=window)&&"u">typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(t){try{return u(t)}catch(t){return c(s)}};t.exports.f=function(t){return s&&"Window"===o(t)?f(t):u(i(t))}},63838:function(t,r,e){"use strict";var n=e(36446),o=e(24877).concat("length","prototype");r.f=Object.getOwnPropertyNames||function(t){return n(t,o)}},93715:function(t,r){"use strict";r.f=Object.getOwnPropertySymbols},88597:function(t,r,e){"use strict";function n(t,r){return null!=r&&"u">typeof Symbol&&r[Symbol.hasInstance]?!!r[Symbol.hasInstance](t):t instanceof r}var o=e(26419),i=e(14595),u=e(30995),c=e(99353),s=e(85353),f=c("IE_PROTO"),a=Object,l=a.prototype;t.exports=s?a.getPrototypeOf:function(t){var r=u(t);if(o(r,f))return r[f];var e=r.constructor;return i(e)&&n(r,e)?e.prototype:n(r,a)?l:null}},56167:function(t,r,e){"use strict";t.exports=e(46738)({}.isPrototypeOf)},36446:function(t,r,e){"use strict";var n=e(46738),o=e(26419),i=e(83511),u=e(59299).indexOf,c=e(38043),s=n([].push);t.exports=function(t,r){var e,n=i(t),f=0,a=[];for(e in n)!o(c,e)&&o(n,e)&&s(a,e);for(;r.length>f;)o(n,e=r[f++])&&(~u(a,e)||s(a,e));return a}},77298:function(t,r,e){"use strict";var n=e(36446),o=e(24877);t.exports=Object.keys||function(t){return n(t,o)}},23043:function(t,r){"use strict";var e={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor;r.f=n&&!e.call({1:2},1)?function(t){var r=n(this,t);return!!r&&r.enumerable}:e},28329:function(t,r,e){"use strict";var n=e(60288),o=e(78144),i=e(93080),u=e(34980);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,r,e=!1,c={};try{(r=n(Object.prototype,"__proto__","set"))(c,[]),t=Array,e=null!=t&&"u">typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](c):c instanceof t}catch(t){}return function(t,n){return i(t),u(n),o(t)&&(e?r(t,n):t.__proto__=n),t}}():void 0)},99981:function(t,r,e){"use strict";var n=e(82138),o=e(20233);t.exports=n?({}).toString:function(){return"[object "+o(this)+"]"}},9236:function(t,r,e){"use strict";var n=e(26919),o=e(14595),i=e(78144),u=TypeError;t.exports=function(t,r){var e,c;if("string"===r&&o(e=t.toString)&&!i(c=n(e,t))||o(e=t.valueOf)&&!i(c=n(e,t))||"string"!==r&&o(e=t.toString)&&!i(c=n(e,t)))return c;throw new u("Can't convert object to primitive value")}},1089:function(t,r,e){"use strict";var n=e(29833),o=e(46738),i=e(63838),u=e(93715),c=e(30941),s=o([].concat);t.exports=n("Reflect","ownKeys")||function(t){var r=i.f(c(t)),e=u.f;return e?s(r,e(t)):r}},26298:function(t,r,e){"use strict";var n=e(46738),o=e(26419),i=SyntaxError,u=parseInt,c=String.fromCharCode,s=n("".charAt),f=n("".slice),a=n(/./.exec),l={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":" "},p=/^[\da-f]{4}$/i,v=/^[\u0000-\u001F]$/;t.exports=function(t,r){for(var e=!0,n="";r<t.length;){var y=s(t,r);if("\\"===y){var h=f(t,r,r+2);if(o(l,h))n+=l[h],r+=2;else if("\\u"===h){var d=f(t,r+=2,r+4);if(!a(p,d))throw new i("Bad Unicode escape at: "+r);n+=c(u(d,16)),r+=4}else throw new i('Unknown escape sequence: "'+h+'"')}else if('"'===y){e=!1,r++;break}else{if(a(v,y))throw new i("Bad control character in string literal at: "+r);n+=y,r++}}if(e)throw new i("Unterminated string at: "+r);return{value:n,end:r}}},7557:function(t,r,e){"use strict";t.exports=e(75058)},93080:function(t,r,e){"use strict";var n=e(41943),o=TypeError;t.exports=function(t){if(n(t))throw new o("Can't call method on "+t);return t}},10845:function(t,r,e){"use strict";var n=e(9475).f,o=e(26419),i=e(50617)("toStringTag");t.exports=function(t,r,e){t&&!e&&(t=t.prototype),t&&!o(t,i)&&n(t,i,{configurable:!0,value:r})}},99353:function(t,r,e){"use strict";var n=e(2975),o=e(18818),i=n("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},49567:function(t,r,e){"use strict";var n=e(22445),o=e(75058),i=e(36759),u="__core-js_shared__",c=t.exports=o[u]||i(u,{});(c.versions||(c.versions=[])).push({version:"3.51.0",mode:n?"pure":"global",copyright:"\xa9 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.51.0/LICENSE",source:"https://github.com/zloirock/core-js"})},2975:function(t,r,e){"use strict";var n=e(49567),o=Object.create||Object;t.exports=function(t,r){return n[t]||(n[t]=r||o(null))}},31353:function(t,r,e){"use strict";var n=e(46738),o=e(79893),i=e(13181),u=e(93080),c=n("".charAt),s=n("".charCodeAt),f=n("".slice),a=function(t){return function(r,e){var n,a,l=i(u(r)),p=o(e),v=l.length;return p<0||p>=v?t?"":void 0:(n=s(l,p))<55296||n>56319||p+1===v||(a=s(l,p+1))<56320||a>57343?t?c(l,p):n:t?f(l,p,p+2):(n-55296<<10)+(a-56320)+65536}};t.exports={codeAt:a(!1),charAt:a(!0)}},74693:function(t,r,e){"use strict";var n=e(1669),o=e(96673),i=e(75058).String;t.exports=!!Object.getOwnPropertySymbols&&!o(function(){var t,r,e=Symbol("symbol detection");return!i(e)||(t=Object(e),null!=(r=Symbol)&&"u">typeof Symbol&&r[Symbol.hasInstance]?!r[Symbol.hasInstance](t):!(t instanceof r))||!Symbol.sham&&n&&n<41})},28360:function(t,r,e){"use strict";var n=e(26919),o=e(29833),i=e(50617),u=e(27714);t.exports=function(){var t=o("Symbol"),r=t&&t.prototype,e=r&&r.valueOf,c=i("toPrimitive");r&&!r[c]&&u(r,c,function(t){return n(e,this)},{arity:1})}},31050:function(t,r,e){"use strict";t.exports=e(74693)&&!!Symbol.for&&!!Symbol.keyFor},88710:function(t,r,e){"use strict";t.exports=e(46738)(1.1.valueOf)},56184:function(t,r,e){"use strict";var n=e(79893),o=Math.max,i=Math.min;t.exports=function(t,r){var e=n(t);return e<0?o(e+r,0):i(e,r)}},83511:function(t,r,e){"use strict";var n=e(82545),o=e(93080);t.exports=function(t){return n(o(t))}},79893:function(t,r,e){"use strict";var n=e(1055);t.exports=function(t){var r=+t;return r!=r||0===r?0:n(r)}},10764:function(t,r,e){"use strict";var n=e(79893),o=Math.min;t.exports=function(t){var r=n(t);return r>0?o(r,0x1fffffffffffff):0}},30995:function(t,r,e){"use strict";var n=e(93080),o=Object;t.exports=function(t){return o(n(t))}},34315:function(t,r,e){"use strict";var n=e(26919),o=e(78144),i=e(71975),u=e(57996),c=e(9236),s=e(50617),f=TypeError,a=s("toPrimitive");t.exports=function(t,r){if(!o(t)||i(t))return t;var e,s=u(t,a);if(s){if(void 0===r&&(r="default"),!o(e=n(s,t,r))||i(e))return e;throw new f("Can't convert object to primitive value")}return void 0===r&&(r="number"),c(t,r)}},72543:function(t,r,e){"use strict";var n=e(34315),o=e(71975);t.exports=function(t){var r=n(t,"string");return o(r)?r:r+""}},82138:function(t,r,e){"use strict";var n=e(50617)("toStringTag"),o={};o[n]="z",t.exports="[object z]"===String(o)},13181:function(t,r,e){"use strict";var n=e(20233),o=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return o(t)}},8465:function(t){"use strict";var r=String;t.exports=function(t){try{return r(t)}catch(t){return"Object"}}},18818:function(t,r,e){"use strict";var n=e(46738),o=0,i=Math.random(),u=n(1.1.toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+u(++o+i,36)}},43334:function(t,r,e){"use strict";var n;t.exports=e(74693)&&!Symbol.sham&&"symbol"==((n=Symbol.iterator)&&"u">typeof Symbol&&n.constructor===Symbol?"symbol":typeof n)},32624:function(t,r,e){"use strict";var n=e(17158),o=e(96673);t.exports=n&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},97948:function(t,r,e){"use strict";var n=e(75058),o=e(14595),i=n.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},62017:function(t,r,e){"use strict";var n=e(7557),o=e(26419),i=e(20037),u=e(9475).f;t.exports=function(t){var r=n.Symbol||(n.Symbol={});o(r,t)||u(r,t,{value:i.f(t)})}},20037:function(t,r,e){"use strict";r.f=e(50617)},50617:function(t,r,e){"use strict";var n=e(75058),o=e(2975),i=e(26419),u=e(18818),c=e(74693),s=e(43334),f=n.Symbol,a=o("wks"),l=s?f.for||f:f&&f.withoutSetter||u;t.exports=function(t){return i(a,t)||(a[t]=c&&i(f,t)?f[t]:l("Symbol."+t)),a[t]}},75024:function(t,r,e){"use strict";var n=e(50300),o=e(96673),i=e(40554),u=e(78144),c=e(30995),s=e(23832),f=e(59979),a=e(15526),l=e(94465),p=e(56895),v=e(56379),y=e(50617),h=e(1669),d=y("isConcatSpreadable"),b=h>=51||!o(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),g=function(t){if(!u(t))return!1;var r=t[d];return void 0!==r?!!r:i(t)};n({target:"Array",proto:!0,arity:1,forced:!b||!v("concat")},{concat:function(t){var r,e,n,o,i,u=c(this),v=p(u,0),y=0;for(r=-1,n=arguments.length;n>r;r++)if(i=-1===r?u:arguments[r],g(i))for(f(y+(o=s(i))),e=0;o>e;e++,y++)e in i&&a(v,y,i[e]);else f(y+1),a(v,y++,i);return l(v,y),v}})},90014:function(t,r,e){"use strict";var n=e(50300),o=e(78027).findIndex,i=e(82911),u="findIndex",c=!0;u in[]&&[,][u](function(){c=!1}),n({target:"Array",proto:!0,forced:c},{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i(u)},6028:function(t,r,e){"use strict";var n=e(50300),o=e(53110);n({target:"Array",stat:!0,forced:!e(14122)(function(t){Array.from(t)})},{from:o})},24784:function(t,r,e){"use strict";var n=e(50300),o=e(29833),i=e(26919),u=e(46738),c=e(96673),s=e(40554),f=e(14595),a=e(78144),l=e(99746),p=e(91e3),v=e(71975),y=e(66310),h=e(88710),d=e(59299).includes,b=e(26419),g=e(13181),m=e(26298),w=e(18818),S=e(74693),x=e(93413),O=String,_=TypeError,j=o("JSON","stringify"),A=o("BigInt"),E=u("".valueOf),P=u((!0).valueOf),T=A&&u(A.prototype.valueOf),I=u(/./.exec),C=u("".charAt),F=u("".charCodeAt),N=u("".replace),R=u("".slice),D=u([].push),M=u([].pop),k=u(1.1.toString),L=/[\uD800-\uDFFF]/g,J=/^[\uD800-\uDBFF]$/,B=/^[\uDC00-\uDFFF]$/,G=/^\d+$/,U=w(),$=w(),W=w(),z=U.length,Y=$.length,q=!S||c(function(){var t=o("Symbol")("stringify detection");return"[null]"!==j([t])||"{}"!==j({a:t})||"{}"!==j(Object(t))}),X=c(function(){return'"\\udf06\\ud834"'!==j("\uDF06\uD834")||'"\\udead"'!==j("\uDEAD")}),K=x?o("JSON","isRawJSON"):p,V=q?function(t,r,e){return j(t,function(t,e){var n=i(r,this,t,e);if(!v(n))return n},e)}:j,H=function(t,r,e){var n=C(e,r-1),o=C(e,r+1);return I(J,t)&&!I(B,o)||I(B,t)&&!I(J,n)?"\\u"+k(F(t,0),16):t},Q=function(t){if(s(t)){for(var r=t.length,e=[],n=l(null),o=0;r>o;o++){var i,u=t[o];if("string"==typeof u)i=u;else{if("number"!=typeof u&&"Number"!==y(u)&&"String"!==y(u))continue;i=g(u)}b(n,i)||(n[i]=!0,D(e,i))}return e}},Z=function(t,r){try{return t(r),!0}catch(t){return!1}},tt=function(t){var r=y(t);return"Number"===r&&Z(h,t)||"String"===r&&Z(E,t)||"Boolean"===r&&Z(P,t)||!!T&&"BigInt"===r&&Z(T,t)},tr=function(t){if(!a(t)||f(t)||s(t))return!1;try{return!tt(t)}catch(t){return!0}},te=function(t,r){return{toJSON:function(){var e,n=t[r];if(a(n)||(void 0===n?"undefined":(e=n)&&"u">typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)=="bigint"){var o=n.toJSON;f(o)&&(n=i(o,n,r))}return n}}},tn=function(t){for(var r=0,e=t.length;e>r;r++)if(I(G,t[r]))return $;return""},to=function(t,r,e){for(var n=l(null),o=0,i=r.length;i>o;o++){var u=r[o];n[e+u]=te(t,u)}return n[W]=null,n};j&&n({target:"JSON",stat:!0,arity:3,forced:q||X||!x},{stringify:function(t,r,e){var n,o=f(r)?r:void 0,u=o?void 0:Q(r),c=u&&tn(u),a=[],l=[],p=[],v=!1,y=!0,h=V(t,function(t,r){if(t=O(t),u){if(t===W){M(l),n=M(p);return}if(y)y=!1;else if(this!==n&&!s(this)&&!d(u,t))return}else o&&(r=i(o,this,t,r));if(K(r))return x?r:(v=!0,U+(D(a,r.rawJSON)-1));if(u&&tr(r)){if(d(l,r))throw new _("Converting circular structure to JSON");var e=to(r,u,c);return D(l,r),D(p,n),n=e,c&&(v=!0),e}return r},e);if("string"!=typeof h||(X&&(h=N(h,L,H)),!v))return h;for(var b="",g=h.length,w=0;g>w;w++){var S=C(h,w);if('"'===S){var j=m(h,++w).end-1,A=R(h,w,j);R(A,0,z)===U?b+=a[R(A,z)]:R(A,0,Y)===$?b+='"'+R(A,Y)+'"':b+='"'+A+'"',w=j}else b+=S}return b}})},12057:function(t,r,e){"use strict";var n=e(75058);e(10845)(n.JSON,"JSON",!0)},29437:function(t,r,e){"use strict";e(10845)(Math,"Math",!0)},40891:function(t,r,e){"use strict";var n=e(50300),o=e(74693),i=e(96673),u=e(93715),c=e(30995);n({target:"Object",stat:!0,forced:!o||i(function(){u.f(1)})},{getOwnPropertySymbols:function(t){var r=u.f;return r?r(c(t)):[]}})},78837:function(t,r,e){"use strict";var n=e(82138),o=e(27714),i=e(99981);n||o(Object.prototype,"toString",i,{unsafe:!0})},56582:function(t,r,e){"use strict";var n=e(50300),o=e(75058),i=e(10845);n({global:!0},{Reflect:{}}),i(o.Reflect,"Reflect",!0)},71093:function(t,r,e){"use strict";var n=e(31353).charAt,o=e(13181),i=e(34155),u=e(20998),c=e(70439),s="String Iterator",f=i.set,a=i.getterFor(s);u(String,"String",function(t){f(this,{type:s,string:o(t),index:0})},function(){var t,r=a(this),e=r.string,o=r.index;return o>=e.length?c(void 0,!0):(t=n(e,o),r.index+=t.length,c(t,!1))})},43707:function(t,r,e){"use strict";var n=e(75058),o=e(62017),i=e(9475).f,u=e(10393).f,c=n.Symbol;if(o("asyncDispose"),c){var s=u(c,"asyncDispose");s.enumerable&&s.configurable&&s.writable&&i(c,"asyncDispose",{value:s.value,enumerable:!1,configurable:!1,writable:!1})}},97778:function(t,r,e){"use strict";e(62017)("asyncIterator")},63627:function(t,r,e){"use strict";var n=e(50300),o=e(75058),i=e(26919),u=e(46738),c=e(22445),s=e(17158),f=e(74693),a=e(96673),l=e(26419),p=e(56167),v=e(30941),y=e(83511),h=e(72543),d=e(13181),b=e(63458),g=e(99746),m=e(77298),w=e(63838),S=e(18316),x=e(93715),O=e(10393),_=e(9475),j=e(16719),A=e(23043),E=e(27714),P=e(66416),T=e(2975),I=e(99353),C=e(38043),F=e(18818),N=e(50617),R=e(20037),D=e(62017),M=e(28360),k=e(10845),L=e(34155),J=e(78027).forEach,B=I("hidden"),G="Symbol",U="prototype",$=L.set,W=L.getterFor(G),z=Object[U],Y=o.Symbol,q=Y&&Y[U],X=o.RangeError,K=o.TypeError,V=o.QObject,H=O.f,Q=_.f,Z=S.f,tt=A.f,tr=u([].push),te=T("symbols"),tn=T("op-symbols"),to=T("wks"),ti=!V||!V[U]||!V[U].findChild,tu=function(t,r,e){var n=H(z,r);return n&&delete z[r],Q(t,r,e),n&&t!==z&&Q(z,r,n),t},tc=s&&a(function(){return 7!==g(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a})?tu:Q,ts=function(t,r){var e=te[t]=g(q);return $(e,{type:G,tag:t,description:r}),s||(e.description=r),e},tf=function(t,r,e){t===z&&tf(tn,r,e),v(t);var n=h(r);return(v(e),l(te,n))?(("enumerable"in e?!e.enumerable:!l(t,n)||l(t,B)&&t[B][n])?(l(t,B)||Q(t,B,b(1,g(null))),t[B][n]=!0):(l(t,B)&&t[B][n]&&(t[B][n]=!1),e=g(e,{enumerable:b(0,!1)})),tc(t,n,e)):Q(t,n,e)},ta=function(t,r){v(t);var e=y(r);return J(m(e).concat(ty(e)),function(r){(!s||i(tl,e,r))&&tf(t,r,e[r])}),t},tl=function(t){var r=h(t),e=i(tt,this,r);return(!(this===z&&l(te,r))||!!l(tn,r))&&(!(e||!l(this,r)||!l(te,r)||l(this,B)&&this[B][r])||e)},tp=function(t,r){var e=y(t),n=h(r);if(!(e===z&&l(te,n))||l(tn,n)){var o=H(e,n);return o&&l(te,n)&&!(l(e,B)&&e[B][n])&&(o.enumerable=!0),o}},tv=function(t){var r=Z(y(t)),e=[];return J(r,function(t){l(te,t)||l(C,t)||tr(e,t)}),e},ty=function(t){var r=t===z,e=Z(r?tn:y(t)),n=[];return J(e,function(t){l(te,t)&&(!r||l(z,t))&&tr(n,te[t])}),n};!f&&(E(q=(Y=function(){if(p(q,this))throw new K("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?d(arguments[0]):void 0,r=F(t),e=function(t){var n=void 0===this?o:this;n===z&&i(e,tn,t),l(n,B)&&l(n[B],r)&&(n[B][r]=!1);var u=b(1,t);try{tc(n,r,u)}catch(t){if(null!=X&&"u">typeof Symbol&&X[Symbol.hasInstance]?!X[Symbol.hasInstance](t):!(t instanceof X))throw t;tu(n,r,u)}};return s&&ti&&tc(z,r,{configurable:!0,set:e}),ts(r,t)})[U],"toString",function(){return W(this).tag}),E(Y,"withoutSetter",function(t){return ts(F(t),t)}),A.f=tl,_.f=tf,j.f=ta,O.f=tp,w.f=S.f=tv,x.f=ty,R.f=function(t){return ts(N(t),t)},s&&(P(q,"description",{configurable:!0,get:function(){return W(this).description}}),c||E(z,"propertyIsEnumerable",tl,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!f,sham:!f},{Symbol:Y}),J(m(to),function(t){D(t)}),n({target:G,stat:!0,forced:!f},{useSetter:function(){ti=!0},useSimple:function(){ti=!1}}),n({target:"Object",stat:!0,forced:!f,sham:!s},{create:function(t,r){return void 0===r?g(t):ta(g(t),r)},defineProperty:tf,defineProperties:ta,getOwnPropertyDescriptor:tp}),n({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:tv}),M(),k(Y,G),C[B]=!0},24661:function(t,r,e){"use strict";var n=e(50300),o=e(17158),i=e(75058),u=e(26919),c=e(46738),s=e(26419),f=e(14595),a=e(56167),l=e(13181),p=e(66416),v=e(2958),y=i.Symbol,h=y&&y.prototype;if(o&&f(y)&&(!("description"in h)||void 0!==y().description)){var d={},b=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),r=a(h,this)?new y(t):void 0===t?y():y(t);return""===t&&(d[r]=!0),r};v(b,y);var g=b.for;b.for=({for:function(t){var r=l(t),e=u(g,this,r);return""===r&&(d[e]=!0),e}}).for,b.prototype=h,h.constructor=b;var m="Symbol(description detection)"===String(y("description detection")),w=c(h.valueOf),S=c(h.toString),x=/^Symbol\((.*)\)[^)]+$/,O=c("".replace),_=c("".slice);p(h,"description",{configurable:!0,get:function(){var t=w(this);if(s(d,t))return"";var r=S(t),e=m?_(r,7,-1):O(r,x,"$1");return""===e?void 0:e}}),n({global:!0,constructor:!0,forced:!0},{Symbol:b})}},92770:function(t,r,e){"use strict";var n=e(75058),o=e(62017),i=e(9475).f,u=e(10393).f,c=n.Symbol;if(o("dispose"),c){var s=u(c,"dispose");s.enumerable&&s.configurable&&s.writable&&i(c,"dispose",{value:s.value,enumerable:!1,configurable:!1,writable:!1})}},89676:function(t,r,e){"use strict";var n=e(50300),o=e(29833),i=e(26419),u=e(13181),c=e(2975),s=e(31050),f=c("string-to-symbol-registry"),a=c("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!s},{for:function(t){var r=u(t);if(i(f,r))return f[r];var e=o("Symbol")(r);return f[r]=e,a[e]=r,e}})},52867:function(t,r,e){"use strict";e(62017)("hasInstance")},26494:function(t,r,e){"use strict";e(62017)("isConcatSpreadable")},45797:function(t,r,e){"use strict";e(62017)("iterator")},51265:function(t,r,e){"use strict";e(63627),e(89676),e(78638),e(24784),e(40891)},78638:function(t,r,e){"use strict";var n=e(50300),o=e(26419),i=e(71975),u=e(8465),c=e(2975),s=e(31050),f=c("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!s},{keyFor:function(t){if(!i(t))throw TypeError(u(t)+" is not a symbol");if(o(f,t))return f[t]}})},57108:function(t,r,e){"use strict";e(62017)("matchAll")},67130:function(t,r,e){"use strict";e(62017)("match")},23359:function(t,r,e){"use strict";e(62017)("replace")},27491:function(t,r,e){"use strict";e(62017)("search")},89689:function(t,r,e){"use strict";e(62017)("species")},22367:function(t,r,e){"use strict";e(62017)("split")},150:function(t,r,e){"use strict";var n=e(62017),o=e(28360);n("toPrimitive"),o()},42695:function(t,r,e){"use strict";var n=e(29833),o=e(62017),i=e(10845);o("toStringTag"),i(n("Symbol"),"Symbol")},94248:function(t,r,e){"use strict";e(62017)("unscopables")}},r={};function e(n){var o=r[n];if(void 0!==o)return o.exports;var i=r[n]={exports:{}};return t[n].call(i.exports,i,i.exports,e),i.exports}e.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(t){if("object"==typeof window)return window}}(),e.r=function(t){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return!function(){"use strict";e.r(n),e(50112),e(10990),e(57683),e(7796),e(43098),Array.prototype.includes||(Array.prototype.includes=function(t){return this.indexOf(t)>-1}),"function"!=typeof Object.assign&&Object.defineProperty(Object,"assign",{value:function(t,r){if(null==t)throw TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var o=arguments[n];if(null!=o)for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(e[i]=o[i])}return e},writable:!0,configurable:!0}),Array.prototype.find||(Array.prototype.find=function(t){return this.indexOf(t)>-1?t:void 0}),String.prototype.endsWith||(String.prototype.endsWith=function(t){return this[this.length-1]===t})}(),n});
|
package/esm/config.d.ts
CHANGED
|
@@ -1646,6 +1646,13 @@ interface Config {
|
|
|
1646
1646
|
* The list of the option for the select (to use with modeClassName="select")
|
|
1647
1647
|
*/
|
|
1648
1648
|
selectOptionsClassName: IUIOption[];
|
|
1649
|
+
/**
|
|
1650
|
+
* With modeClassName="select", keep the link's classes that the list
|
|
1651
|
+
* doesn't offer, such as one an integration gives some of its links,
|
|
1652
|
+
* and change only the listed ones. Off, the form sets the link's
|
|
1653
|
+
* classes to the selected ones alone
|
|
1654
|
+
*/
|
|
1655
|
+
selectKeepOtherClassNames: boolean;
|
|
1649
1656
|
hotkeys: string[];
|
|
1650
1657
|
/**
|
|
1651
1658
|
* Prevent navigation to the link if it is readonly. Default: true
|
|
@@ -1744,6 +1751,11 @@ interface Config {
|
|
|
1744
1751
|
* List of tags that will not be removed from the pasted HTML with INSERT_AS_TEXT mode
|
|
1745
1752
|
*/
|
|
1746
1753
|
pasteExcludeStripTags: HTMLTagNames[];
|
|
1754
|
+
/**
|
|
1755
|
+
* The attributes a clean paste (INSERT_CLEAR_HTML, and Clean for HTML
|
|
1756
|
+
* from Word) keeps. It removes every other attribute, and every style
|
|
1757
|
+
*/
|
|
1758
|
+
pasteKeepAttributes: string[];
|
|
1747
1759
|
/**
|
|
1748
1760
|
* Options when inserting HTML string
|
|
1749
1761
|
*/
|
|
@@ -2091,6 +2103,12 @@ interface Config {
|
|
|
2091
2103
|
* When true, show the special-characters picker as a toolbar popup instead of a modal dialog
|
|
2092
2104
|
*/
|
|
2093
2105
|
usePopupForSpecialCharacters: boolean;
|
|
2106
|
+
/**
|
|
2107
|
+
* How many characters each row of the special-characters picker holds.
|
|
2108
|
+
* The picker widens or narrows to fit them. Anything but a positive
|
|
2109
|
+
* whole number falls back to 17.
|
|
2110
|
+
*/
|
|
2111
|
+
specialCharactersColumns: number;
|
|
2094
2112
|
}
|
|
2095
2113
|
interface Config {
|
|
2096
2114
|
tab: {
|
package/esm/core/constants.d.ts
CHANGED
|
@@ -129,6 +129,12 @@ export declare const INSERT_AS_TEXT = "insert_as_text";
|
|
|
129
129
|
* ```
|
|
130
130
|
*/
|
|
131
131
|
export declare const INSERT_ONLY_TEXT = "insert_only_text";
|
|
132
|
+
/**
|
|
133
|
+
* The attributes a clean paste ([[INSERT_CLEAR_HTML]], and Clean for HTML from
|
|
134
|
+
* Word) keeps by default: what links and media need, and what carries a table's
|
|
135
|
+
* structure or the meaning of an image or a link
|
|
136
|
+
*/
|
|
137
|
+
export declare const PASTE_KEEP_ATTRIBUTES: readonly string[];
|
|
132
138
|
export declare const SAFE_COUNT_CHANGE_CALL = 10;
|
|
133
139
|
export declare const ERROR_CODE_CONFLICT = 409;
|
|
134
140
|
export declare const IS_MAC: boolean;
|
package/esm/core/constants.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
export const APP_VERSION = "4.
|
|
6
|
+
export const APP_VERSION = "4.21.1";
|
|
7
7
|
// prettier-ignore
|
|
8
8
|
export const ES = "es2020";
|
|
9
9
|
export const IS_ES_MODERN = true;
|
|
@@ -151,6 +151,23 @@ export const INSERT_AS_TEXT = 'insert_as_text';
|
|
|
151
151
|
* ```
|
|
152
152
|
*/
|
|
153
153
|
export const INSERT_ONLY_TEXT = 'insert_only_text';
|
|
154
|
+
/**
|
|
155
|
+
* The attributes a clean paste ([[INSERT_CLEAR_HTML]], and Clean for HTML from
|
|
156
|
+
* Word) keeps by default: what links and media need, and what carries a table's
|
|
157
|
+
* structure or the meaning of an image or a link
|
|
158
|
+
*/
|
|
159
|
+
export const PASTE_KEEP_ATTRIBUTES = [
|
|
160
|
+
'src',
|
|
161
|
+
'href',
|
|
162
|
+
'rel',
|
|
163
|
+
'content',
|
|
164
|
+
'alt',
|
|
165
|
+
'title',
|
|
166
|
+
'colspan',
|
|
167
|
+
'rowspan',
|
|
168
|
+
'scope',
|
|
169
|
+
'target'
|
|
170
|
+
];
|
|
154
171
|
export const SAFE_COUNT_CHANGE_CALL = 10;
|
|
155
172
|
// Connector answer code for a file name that is already taken (same as the HTTP status)
|
|
156
173
|
export const ERROR_CODE_CONFLICT = 409;
|
|
@@ -6,5 +6,7 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* The method automatically cleans up content from Microsoft Word and other HTML sources to ensure clean, compliant
|
|
8
8
|
* content that matches the look and feel of the site.
|
|
9
|
+
*
|
|
10
|
+
* @param keepAttributes - The attributes to keep; every other attribute, and every style, is removed
|
|
9
11
|
*/
|
|
10
|
-
export declare function cleanFromWord(html: string): string;
|
|
12
|
+
export declare function cleanFromWord(html: string, keepAttributes?: readonly string[]): string;
|
|
@@ -3,21 +3,100 @@
|
|
|
3
3
|
* Released under MIT see LICENSE.txt in the project root for license information.
|
|
4
4
|
* Copyright (c) 2013-2026 Valerii Chupurnov. All rights reserved. https://xdsoft.net
|
|
5
5
|
*/
|
|
6
|
-
|
|
7
|
-
* @module helpers/html
|
|
8
|
-
*/
|
|
9
|
-
import { globalDocument } from "../../constants.js";
|
|
6
|
+
import { globalDocument, PASTE_KEEP_ATTRIBUTES } from "../../constants.js";
|
|
10
7
|
import { Dom } from "../../dom/dom.js";
|
|
11
8
|
import { toArray } from "../array/to-array.js";
|
|
12
9
|
import { removeWordWrappers } from "./tag-scan.js";
|
|
13
10
|
import { readWordListItems, wrapWordListItems } from "./word-lists.js";
|
|
14
11
|
import { trim } from "../string/trim.js";
|
|
15
12
|
import { attr, attrRaw } from "../utils/attr.js";
|
|
13
|
+
/**
|
|
14
|
+
* Google Docs marks bold, italic, underline and strikethrough with styles on
|
|
15
|
+
* spans, where Word uses tags, so they become the tags before the styles go
|
|
16
|
+
*/
|
|
17
|
+
function formattedSpansToTags(root) {
|
|
18
|
+
toArray(root.querySelectorAll('span[style]')).forEach(span => {
|
|
19
|
+
const { fontWeight, fontStyle } = span.style;
|
|
20
|
+
const lines = span.style.textDecorationLine || span.style.textDecoration;
|
|
21
|
+
const tags = [
|
|
22
|
+
(fontWeight === 'bold' ||
|
|
23
|
+
fontWeight === 'bolder' ||
|
|
24
|
+
parseInt(fontWeight, 10) >= 600) &&
|
|
25
|
+
'strong',
|
|
26
|
+
/^(italic|oblique)/.test(fontStyle) && 'em',
|
|
27
|
+
/underline/.test(lines) && 'u',
|
|
28
|
+
/line-through/.test(lines) && 's'
|
|
29
|
+
].filter((tag) => Boolean(tag));
|
|
30
|
+
if (!tags.length) {
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
const elements = tags.map(tag => span.ownerDocument.createElement(tag));
|
|
34
|
+
// The outermost takes the span's attributes, which the cleaning
|
|
35
|
+
// that follows filters as it would the span's
|
|
36
|
+
toArray(span.attributes).forEach(({ name, value }) => elements[0].setAttribute(name, value));
|
|
37
|
+
elements.reduce((parent, child) => parent.appendChild(child));
|
|
38
|
+
const innermost = elements[elements.length - 1];
|
|
39
|
+
while (span.firstChild) {
|
|
40
|
+
innermost.appendChild(span.firstChild);
|
|
41
|
+
}
|
|
42
|
+
Dom.before(span, elements[0]);
|
|
43
|
+
Dom.safeRemove(span);
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Takes `node` out of `format`, which stays around the rest of its content
|
|
48
|
+
*/
|
|
49
|
+
function liftOut(node, format) {
|
|
50
|
+
const range = node.ownerDocument.createRange();
|
|
51
|
+
const wrap = () => {
|
|
52
|
+
if (!range.collapsed) {
|
|
53
|
+
range.surroundContents(format.cloneNode());
|
|
54
|
+
}
|
|
55
|
+
};
|
|
56
|
+
for (let child = node; child !== format; child = child.parentNode) {
|
|
57
|
+
range.selectNodeContents(child.parentNode);
|
|
58
|
+
range.setEndBefore(child);
|
|
59
|
+
wrap();
|
|
60
|
+
range.selectNodeContents(child.parentNode);
|
|
61
|
+
range.setStartAfter(child);
|
|
62
|
+
wrap();
|
|
63
|
+
}
|
|
64
|
+
Dom.unwrap(format);
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* An element styled with a normal weight or style comes out of the bold or
|
|
68
|
+
* italic tags around it, which would make it bold or italic once the styles go.
|
|
69
|
+
* CSS can't take an ancestor's underline or strikethrough off, so they have no
|
|
70
|
+
* such reset
|
|
71
|
+
*/
|
|
72
|
+
function liftOutNormalFormatting(root) {
|
|
73
|
+
const liftOutOf = (element, tags) => {
|
|
74
|
+
let format = Dom.closest(element.parentNode, tags, root);
|
|
75
|
+
while (format) {
|
|
76
|
+
liftOut(element, format);
|
|
77
|
+
format = Dom.closest(element.parentNode, tags, root);
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
toArray(root.querySelectorAll('[style]')).forEach(element => {
|
|
81
|
+
const { fontWeight, fontStyle } = element.style;
|
|
82
|
+
if (fontWeight === 'normal' ||
|
|
83
|
+
fontWeight === 'lighter' ||
|
|
84
|
+
parseInt(fontWeight, 10) < 600) {
|
|
85
|
+
liftOutOf(element, ['strong', 'b']);
|
|
86
|
+
}
|
|
87
|
+
if (fontStyle === 'normal') {
|
|
88
|
+
liftOutOf(element, ['em', 'i']);
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
}
|
|
16
92
|
/**
|
|
17
93
|
* The method automatically cleans up content from Microsoft Word and other HTML sources to ensure clean, compliant
|
|
18
94
|
* content that matches the look and feel of the site.
|
|
95
|
+
*
|
|
96
|
+
* @param keepAttributes - The attributes to keep; every other attribute, and every style, is removed
|
|
19
97
|
*/
|
|
20
|
-
export function cleanFromWord(html) {
|
|
98
|
+
export function cleanFromWord(html, keepAttributes = PASTE_KEEP_ATTRIBUTES) {
|
|
99
|
+
const keep = new Set(keepAttributes.map(name => name.toLowerCase()));
|
|
21
100
|
if (html.indexOf('<html ') !== -1) {
|
|
22
101
|
html = html.substring(html.indexOf('<html '), html.length);
|
|
23
102
|
html = html.substring(0, html.lastIndexOf('</html>') + '</html>'.length);
|
|
@@ -28,6 +107,8 @@ export function cleanFromWord(html) {
|
|
|
28
107
|
div.innerHTML = html;
|
|
29
108
|
const marks = [];
|
|
30
109
|
const listItems = readWordListItems(div);
|
|
110
|
+
formattedSpansToTags(div);
|
|
111
|
+
liftOutNormalFormatting(div);
|
|
31
112
|
if (div.firstChild) {
|
|
32
113
|
Dom.each(div, node => {
|
|
33
114
|
if (!node) {
|
|
@@ -57,12 +138,7 @@ export function cleanFromWord(html) {
|
|
|
57
138
|
break;
|
|
58
139
|
}
|
|
59
140
|
toArray(node.attributes).forEach((attribute) => {
|
|
60
|
-
if (
|
|
61
|
-
'src',
|
|
62
|
-
'href',
|
|
63
|
-
'rel',
|
|
64
|
-
'content'
|
|
65
|
-
].indexOf(attribute.name.toLowerCase()) === -1) {
|
|
141
|
+
if (!keep.has(attribute.name.toLowerCase())) {
|
|
66
142
|
// `attrRaw`: SVG keeps camelCase names
|
|
67
143
|
// (`viewBox`), `attr()` would kebab-case
|
|
68
144
|
// them and silently skip the removal
|
|
@@ -89,9 +89,10 @@ export const cssPath = (el) => {
|
|
|
89
89
|
const path = [];
|
|
90
90
|
let start = el;
|
|
91
91
|
while (start && start.nodeType === Node.ELEMENT_NODE) {
|
|
92
|
-
|
|
92
|
+
const tag = start.nodeName.toLowerCase();
|
|
93
|
+
let selector = CSS.escape(tag);
|
|
93
94
|
if (start.id) {
|
|
94
|
-
selector += '#' + start.id;
|
|
95
|
+
selector += '#' + CSS.escape(start.id);
|
|
95
96
|
path.unshift(selector);
|
|
96
97
|
break;
|
|
97
98
|
}
|
|
@@ -99,7 +100,7 @@ export const cssPath = (el) => {
|
|
|
99
100
|
let sib = start, nth = 1;
|
|
100
101
|
do {
|
|
101
102
|
sib = sib.previousElementSibling;
|
|
102
|
-
if (sib && sib.nodeName.toLowerCase() ===
|
|
103
|
+
if (sib && sib.nodeName.toLowerCase() === tag) {
|
|
103
104
|
nth++;
|
|
104
105
|
}
|
|
105
106
|
} while (sib);
|