*/function iy(e,t){const n=/\$/g;letr=[e];if(null==t)returnr;for(constoofObject.keys(t))if("_"!==o){lete=t[o];"string"==typeofe&&(e=n[Symbol.replace](e,"$$$$")),r=oy(r,newRegExp(`%\\{${o}\\}`,"g"),e)}returnr}varay=(Zg=ry("apply"),class{constructor(e){Object.defineProperty(this,Zg,{value:uy}),this.locale={strings:{},pluralize:e=>1===e?0:1},Array.isArray(e)?e.forEach(ty(this,Zg)[Zg],this):ty(this,Zg)[Zg](e)}translate(e,t){returnthis.translateArray(e,t).join("")}translateArray(e,t){if(!function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)}(this.locale.strings,e))thrownewError("missing string: "+e);constn=this.locale.strings[e];if("object"==typeofn){if(t&&void0!==t.smart_count)returniy(n[this.locale.pluralize(t.smart_count)],t);thrownewError("Attempted to use a string with plural forms, but no value was given for %{smart_count}")}returniy(n,t)}});functionuy(e){if(null==e||!e.strings)return;constt=this.locale;this.locale={...t,strings:{...t.strings,...e.strings}},this.locale.pluralize=e.pluralize||t.pluralize}varsy=function(){vare={},t=e._fns={};returne.emit=function(e,n,r,o,i,a,u){vars=function(e){for(varn=t[e]?t[e]:[],r=e.indexOf(":"),o=-1===r?[e]:[e.substring(0,r),e.substring(r+1)],i=Object.keys(t),a=0,u=i.length;a<u;a++){vars=i[a];if("*"===s&&(n=n.concat(t[s])),2===o.length&&o[0]===s){n=n.concat(t[s]);break}}returnn}(e);s.length&&function(e,t,n){for(varr=0,o=t.length;r<o&&t[r];r++)t[r].event=e,t[r].apply(t[r],n)}(e,s,[n,r,o,i,a,u])},e.on=function(e,n){t[e]||(t[e]=[]),t[e].push(n)},e.once=function(t,n){this.on(t,(functionr(){n.apply(this,arguments),e.off(t,r)}))},e.off=function(e,t){varn=[];if(e&&t)for(varr=this._fns[e],o=0,i=r?r.length:0;o<i;o++)r[o]!==t&&n.push(r[o]);n.length?this._fns[e]=n:deletethis._fns[e]},e},ly={urlAlphabet:"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"};let{urlAlphabet:cy}=ly,fy=e=>crypto.getRandomValues(newUint8Array(e)),dy=(e,t,n)=>{letr=(2<<Math.log(e.length-1)/Math.LN2)-1,o=-~(1.6*r*t/e.length);return()=>{leti="";for(;;){leta=n(o),u=o;for(;u--;)if(i+=e[a[u]&r]||"",i.length===t)returni}}};varpy={nanoid:(e=21)=>{lett="",n=crypto.getRandomValues(newUint8Array(e));for(;e--;){letr=63&n[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-"}returnt},customAlphabet:(e,t)=>dy(e,t,fy),customRandom:dy,urlAlphabet:cy,random:fy},hy=function(e){if("number"!=typeofe||isNaN(e))thrownewTypeError("Expected a number, got "+typeofe);vart=e<0,n=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(t&&(e=-e),e<1)return(t?"-":"")+e+" B";varr=Math.min(Math.floor(Math.log(e)/Math.log(1024)),n.length-1);e=Number(e/Math.pow(1024,r));varo=n[r];returne>=10||e%1==0?(t?"-":"")+e.toFixed(0)+" "+o:(t?"-":"")+e.toFixed(1)+" "+o};functionvy(e,t){this.text=e=e||"",this.hasWild=~e.indexOf("*"),this.separator=t,this.parts=e.split(t)}vy.prototype.match=function(e){vart,n,r=!0,o=this.parts,i=o.length;if("string"==typeofe||einstanceofString)if(this.hasWild||this.text==e){for(n=(e||"").split(this.separator),t=0;r&&t<i;t++)"*"!==o[t]&&(r=t<n.length&&o[t]===n[t]);r=r&&n}elser=!1;elseif("function"==typeofe.splice)for(r=[],t=e.length;t--;)this.match(e[t])&&(r[r.length]=e[t]);elseif("object"==typeofe)for(varainr={},e)this.match(a)&&(r[a]=e[a]);returnr};vargy=/[\/\+\.]/,yy=function(e,t){functionn(t){varn=function(e,t,n){varr=newvy(e,n||/[\/\.]/);returnvoid0!==t?r.match(t):r}(t,e,gy);returnn&&n.length>=2}returnt?n(t.split(";")[0]):n},my=0;functionby(e){return"__private_"+my+++"_"+e}varwy=by("publish");classEy{constructor(){Object.defineProperty(this,wy,{value:Dy}),this.state={},this.callbacks=[]}getState(){returnthis.state}setState(e){constt={...this.state},n={...this.state,...e};this.state=n,function(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))thrownewTypeError("attempted to use private field on non-instance");returne}(this,wy)[wy](t,n,e)}subscribe(e){returnthis.callbacks.push(e),()=>{this.callbacks.splice(this.callbacks.indexOf(e),1)}}}functionDy(){for(vare=arguments.length,t=newArray(e),n=0;n<e;n++
varoA=function(e,t){returnoA=Object.setPrototypeOf||{__proto__:[]}instanceofArray&&function(e,t){e.__proto__=t}||function(e,t){for(varnint)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},oA(e,t)};functioniA(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Class extends value "+String(t)+" is not a constructor or null");functionn(){this.constructor=e}oA(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,newn)}varaA=function(){returnaA=Object.assign||function(e){for(vart,n=1,r=arguments.length;n<r;n++)for(varoint=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);returne},aA.apply(this,arguments)};functionuA(e){vart="function"==typeofSymbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)returnn.call(e);if(e&&"number"==typeofe.length)return{next:function(){returne&&r>=e.length&&(e=void0),{value:e&&e[r++],done:!e}}};thrownewTypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}functionsA(e,t){varn="function"==typeofSymbol&&e[Symbol.iterator];if(!n)returne;varr,o,i=n.call(e),a=[];try{for(;(void0===t||t-->0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throwo.error}}returna}functionlA(e,t){for(varn=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];returne}varcA=0,fA=function(){this.id=""+cA++},dA=$E.set,pA=$E.getterFor("Array Iterator"),hA=GS(Array,"Array",(function(e,t){dA(this,{type:"Array Iterator",target:zD(e),index:0,kind:t})}),(function(){vare=pA(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void0,{value:void0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");Qx.Arguments=Qx.Array,zx("keys"),zx("values"),zx("entries");varvA=function(e,t,n){for(varrint)GE(e,r,t[r],n);returne},gA=fw.Array,yA=Math.max,mA=function(e,t,n){for(varr=vD(e),o=WD(t,r),i=WD(void0===n?r:n,r),a=gA(yA(i-o,0)),u=0;o<i;o++,u++)rS(a,u,e[o]);returna.length=u,a},bA=QD.f,wA="object"==typeofwindow&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],EA={f:function(e){returnwA&&"Window"==YE(e)?function(e){try{returnbA(e)}catch(e){returnmA(wA)}}(e):bA(zD(e))}},DA=zw((function(){if("function"==typeofArrayBuffer){vare=newArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),xA=Object.isExtensible,SA=zw((function(){xA(1)}))||DA?function(e){return!!Jw(e)&&(!DA||"ArrayBuffer"!=YE(e))&&(!xA||xA(e))}:xA,CA=!zw((function(){returnObject.isExtensible(Object.preventExtensions({}))})),AA=uw((function(e){vart=EE.f,n=!1,r=Fw("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}})},a=e.exports={enable:function(){a.enable=function(){},n=!0;vare=QD.f,t=ww([].splice),o={};o[r]=1,e(o).length&&(QD.f=function(n){for(varo=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break}returno},dx({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:EA.f}))},fastKey:function(e,t){if(!Jw(e))return"symbol"==typeofe?e:("string"==typeofe?"S":"P")+e;if(!Aw(e,r)){if(!SA(e))return"F";if(!t)return"E";i(e)}returne[r].objectID},getWeakData:function(e,t){if(!Aw(e,r)){if(!SA(e))return!0;if(!t)return!1;i(e)}returne[r].weakData},onFreeze:function(e){returnCA&&n&&SA(e)&&!Aw(e,r)&&i(e),e}};PE[r]=!0})),OA=fw.TypeError,kA=function(e,t){this.stopped=e,this.result=t},BA=kA.prototype,FA=function(e,t,n){varr,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=aD(t,c),v=function(e){returnr&&Jx(r,"normal",e),newkA(!0,e)},g=function(e){returnf?(oE(e),p?h(e[0],e[1],v):h(e[0],e[1])):p?h(e,v):h(e)};if(d)r=e;else{if(!(o=iS(e)))throwOA(fE(e)+" is not iterable");if(nS(o)){for(i=0,a=vD(e);a>i;i++)if((u=g(e[i]))&&uE(BA,u))returnu;returnnewkA(!1)}r=uS(e,o)}for(s=r.next;!(l=aE(s,r)).done;){try{u=g(l.value)}catch(e){Jx(r,"throw",e)}if("object"==typeofu&&u&&uE(BA,u))returnu}returnnewkA(!1)},TA=fw.TypeError,_A=function(e,t){if(uE(t,e))returne;throwTA("Incorrect invocation")},PA=function(e,t,n){varr,o;returnMS&&Tw(r=t.construc
function(e){vart="function"==typeofSymbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)returnn.call(e);if(e&&"number"==typeofe.length)return{next:function(){returne&&r>=e.length&&(e=void0),{value:e&&e[r++],done:!e}}};thrownewTypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(o),u=a.next();!u.done;u=a.next())u.value,i=!0}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)thrown.error}}returni}$2({target:"Array",proto:!0,forced:!U4},{slice:function(e,t){varn,r,o,i=V0(this),a=E2(i),u=m2(e,a),s=m2(void0===t?a:t,a);if(T4(i)&&(n=i.constructor,(M4(n)&&(n===G4||T4(n.prototype))||W0(n)&&null===(n=n[W4]))&&(n=void0),n===G4||void0===n))returnV4(i,u,s);for(r=new(void0===n?G4:n)(q4(s-u,0)),o=0;u<s;u++,o++)uini&&z4(r,o,i[u]);returnr.length=o,r}});varJ4=j0(j0.bind),Z4=O1("species"),Q4=E0.Array,e6=function(e,t){returnnew(function(e){vart;returnT4(e)&&(t=e.constructor,(M4(t)&&(t===Q4||T4(t.prototype))||W0(t)&&null===(t=t[Z4]))&&(t=void0)),void0===t?Q4:t}(e))(0===t?0:t)},t6=j0([].push),n6=function(e){vart=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;returnfunction(s,l,c,f){for(vard,p,h=g1(s),v=z0(h),g=function(e,t){returns1(e),void0===t?e:J4?J4(e,t):function(){returne.apply(t,arguments)}}(l,c),y=E2(v),m=0,b=f||e6,w=t?b(s,y):n||a?b(s,0):void0;y>m;m++)if((u||minv)&&(p=g(d=v[m],m,h),e))if(t)w[m]=p;elseif(p)switch(e){case3:return!0;case5:returnd;case6:returnm;case2:t6(w,d)}elseswitch(e){case4:return!1;case7:t6(w,d)}returni?-1:r||o?o:w}},r6={forEach:n6(0),map:n6(1),filter:n6(2),some:n6(3),every:n6(4),find:n6(5),findIndex:n6(6),filterReject:n6(7)},o6=r6.map;$2({target:"Array",proto:!0,forced:!H4("map")},{map:function(e){returno6(this,e,arguments.length>1?arguments[1]:void0)}});vari6=V2?{}.toString:function(){return"[object "+q2(this)+"]"};functiona6(e){vart=e.children||[];return0===t.length?[]:(t[0]||{}).children||[]}functionu6(e){returna6(e).every((function(e){return!!e.isHeader}))}V2||d2(Object.prototype,"toString",i6,{unsafe:!0});vars6=f2.PROPER,l6=RegExp.prototype,c6=l6.toString,f6=j0(Q2),d6=D0((function(){return"/a/b"!=c6.call({source:"a",flags:"b"})})),p6=s6&&"toString"!=c6.name;(d6||p6)&&d2(RegExp.prototype,"toString",(function(){vare=M1(this),t=Y2(e.source),n=e.flags;return"/"+t+"/"+Y2(void0===n&&K0(l6,e)&&!("flags"inl6)?f6(e):n)}),{unsafe:!0});varh6=O1("unscopables"),v6=Array.prototype;null==v6[h6]&&H1.f(v6,h6,{configurable:!0,value:h4(null)});varg6=r6.find,y6=!0;"find"in[]&&Array(1).find((function(){y6=!1})),$2({target:"Array",proto:!0,forced:y6},{find:function(e){returng6(this,e,arguments.length>1?arguments[1]:void0)}}),v6[h6].find=!0;varm6=Function.prototype,b6=m6.apply,w6=m6.bind,E6=m6.call,D6="object"==typeofReflect&&Reflect.apply||(w6?E6.bind(b6):function(){returnE6.apply(b6,arguments)}),x6=O1("species"),S6=RegExp.prototype,C6=function(e,t,n,r){varo=O1(e),i=!D0((function(){vart={};returnt[o]=function(){return7},7!=""[e](t)})),a=i&&!D0((function(){vart=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[x6]=function(){returnn},n.flags="",n[o]=/./[o]),n.exec=function(){returnt=!0,null},n[o](""),!t}));if(!i||!a||n){varu=j0(/./[o]),s=t(o,""[e],(function(e,t,n,r,o){vara=j0(e),s=t.exec;returns===F4||s===S6.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));d2(String.prototype,e,s[0]),d2(S6,o,s[1])}r&&V1(S6[o],"sham",!0)},A6=O1("match"),O6=E0.TypeError,k6=O1("species"),B6=j0("".charAt),F6=j0("".charCodeAt),T6=j0("".slice),_6=function(e){returnfunction(t,n){varr,o,i=Y2(H0(t)),a=v2(n),u=i.length;returna<0||a>=u?e?"":void0:(r=F6(i,a))<55296||r>56319||a+1===u||(o=F6(i,a+1))<56320||o>57343?e?B6(i,a):r:e?T6(i,a,a+2):o-56320+(r-55296<<10)+65536}},P6=(_6(!1),_6(!0)),j6=function(e,t,n){returnt+(n?P6(e,t).length:1)},N6=E0.Array,I6=Math.max,L6=function(e,t,n){for(varr=E2(e),o=m2(t,r),i=m2(void0===n?r:n,r),a=N6(I6(i-o,0)),u=0;o<i;o++,u++)z4(a,u,e[o]);returna.length=u,a},R6=E0.TypeError,M6=function(e,t){varn=e.exec;if(U0(n)){varr=C0(n,e,t);returnnull!==r&&M1(r),r}if("RegExp"===L0(
varZ3=function(){returnZ3=Object.assign||function(e){for(vart,n=1,r=arguments.length;n<r;n++)for(varoint=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);returne},Z3.apply(this,arguments)};functionQ3(e,t,n,r){returnnew(n||(n=Promise))((function(o,i){functiona(e){try{s(r.next(e))}catch(e){i(e)}}functionu(e){try{s(r.throw(e))}catch(e){i(e)}}functions(e){vart;e.done?o(e.value):(t=e.value,tinstanceofn?t:newn((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}functione5(e,t){varn,r,o,i,a={label:0,sent:function(){if(1&o[0])throwo[1];returno[1]},trys:[],ops:[]};returni={next:u(0),throw:u(1),return:u(2)},"function"==typeofSymbol&&(i[Symbol.iterator]=function(){returnthis}),i;functionu(i){returnfunction(u){returnfunction(i){if(n)thrownewTypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)returno;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case0:case1:o=i;break;case4:returna.label++,{value:i[1],done:!1};case5:a.label++,r=i[1],i=[0];continue;case7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throwi[1];return{value:i[0]?i[1]:void0,done:!0}}([i,u])}}}functiont5(e,t){varn="function"==typeofSymbol&&e[Symbol.iterator];if(!n)returne;varr,o,i=n.call(e),a=[];try{for(;(void0===t||t-->0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throwo.error}}returna}functionn5(e){if(!Symbol.asyncIterator)thrownewTypeError("Symbol.asyncIterator is not defined.");vart,n=e[Symbol.asyncIterator];returnn?n.call(e):(e=function(e){vart="function"==typeofSymbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)returnn.call(e);if(e&&"number"==typeofe.length)return{next:function(){returne&&r>=e.length&&(e=void0),{value:e&&e[r++],done:!e}}};thrownewTypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){returnthis},t);functionr(n){t[n]=e[n]&&function(t){returnnewPromise((function(r,o){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,o,(t=e[n](t)).done,t.value)}))}}}varr5="undefined"!=typeofglobalThis?globalThis:"undefined"!=typeofwindow?window:"undefined"!=typeofe?e:"undefined"!=typeofself?self:{};functiono5(e){vart={exports:{}};returne(t,t.exports),t.exports}vari5,a5,u5=function(e){returne&&e.Math==Math&&e},s5=u5("object"==typeofglobalThis&&globalThis)||u5("object"==typeofwindow&&window)||u5("object"==typeofself&&self)||u5("object"==typeofr5&&r5)||function(){returnthis}()||Function("return this")(),l5=function(e){try{return!!e()}catch(e){return!0}},c5=!l5((function(){return7!=Object.defineProperty({},1,{get:function(){return7}})[1]})),f5=Function.prototype.call,d5=f5.bind?f5.bind(f5):function(){returnf5.apply(f5,arguments)},p5={}.propertyIsEnumerable,h5=Object.getOwnPropertyDescriptor,v5={f:h5&&!p5.call({1:2},1)?function(e){vart=h5(this,e);return!!t&&t.enumerable}:p5},g5=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},y5=Function.prototype,m5=y5.bind,b5=y5.call,w5=m5&&m5.bind(b5),E5=m5?function(e){returne&&w5(b5,e)}:function(e){returne&&function(){returnb5.apply(e,arguments)}},D5=E5({}.toString),x5=E5("".slice),S5=function(e){returnx5(D5(e),8,-1)},C5=s5.Object,A5=E5("".split),O5=l5((function(){return!C5("z").propertyIsEnumerable(0)}))?function(e){return"String"==S5(e)?A5(e,""):C5(e)}:C5,k5=s5.TypeError,B5=function(e){if(null==e)throwk5("Can't call method on "+e);returne},F5=function(e){returnO5(B5(e))},T5=function(e){return"function"==typeofe},_5=function(e){return"object"==typeof
varOse=function(){returnOse=Object.assign||function(e){for(vart,n=1,r=arguments.length;n<r;n++)for(varoint=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);returne},Ose.apply(this,arguments)};functionkse(e,t,n,r){returnnew(n||(n=Promise))((function(o,i){functiona(e){try{s(r.next(e))}catch(e){i(e)}}functionu(e){try{s(r.throw(e))}catch(e){i(e)}}functions(e){vart;e.done?o(e.value):(t=e.value,tinstanceofn?t:newn((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}functionBse(e,t){varn,r,o,i,a={label:0,sent:function(){if(1&o[0])throwo[1];returno[1]},trys:[],ops:[]};returni={next:u(0),throw:u(1),return:u(2)},"function"==typeofSymbol&&(i[Symbol.iterator]=function(){returnthis}),i;functionu(i){returnfunction(u){returnfunction(i){if(n)thrownewTypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)returno;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case0:case1:o=i;break;case4:returna.label++,{value:i[1],done:!1};case5:a.label++,r=i[1],i=[0];continue;case7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throwi[1];return{value:i[0]?i[1]:void0,done:!0}}([i,u])}}}functionFse(e){if(!Symbol.asyncIterator)thrownewTypeError("Symbol.asyncIterator is not defined.");vart,n=e[Symbol.asyncIterator];returnn?n.call(e):(e=function(e){vart="function"==typeofSymbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)returnn.call(e);if(e&&"number"==typeofe.length)return{next:function(){returne&&r>=e.length&&(e=void0),{value:e&&e[r++],done:!e}}};thrownewTypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){returnthis},t);functionr(n){t[n]=e[n]&&function(t){returnnewPromise((function(r,o){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,o,(t=e[n](t)).done,t.value)}))}}}varTse=Pie("unscopables"),_se=Array.prototype;null==_se[Tse]&&Kie.f(_se,Tse,{configurable:!0,value:Nue(null)});varPse,jse,Nse,Ise=function(e){_se[Tse][e]=!0},Lse={},Rse=!koe((function(){functione(){}returne.prototype.constructor=null,Object.getPrototypeOf(newe)!==e.prototype})),Mse=oae("IE_PROTO"),zse=Ooe.Object,$se=zse.prototype,Hse=Rse?zse.getPrototypeOf:function(e){vart=Die(e);if(Sie(t,Mse))returnt[Mse];varn=t.constructor;returnXoe(n)&&tinstanceofn?n.prototype:tinstanceofzse?$se:null},Vse=Pie("iterator"),Use=!1;[].keys&&("next"in(Nse=[].keys())?(jse=Hse(Hse(Nse)))!==Object.prototype&&(Pse=jse):Use=!0);varWse=null==Pse||koe((function(){vare={};returnPse[Vse].call(e)!==e}));Wse&&(Pse={}),Xoe(Pse[Vse])||mae(Pse,Vse,(function(){returnthis}));varGse={IteratorPrototype:Pse,BUGGY_SAFARI_ITERATORS:Use},qse=Kie.f,Kse=Pie("toStringTag"),Yse=function(e,t,n){e&&!Sie(e=n?e:e.prototype,Kse)&&qse(e,Kse,{configurable:!0,value:t})},Xse=Gse.IteratorPrototype,Jse=function(){returnthis},Zse=Ooe.String,Qse=Ooe.TypeError,ele=Object.setPrototypeOf||("__proto__"in{}?function(){vare,t=!1,n={};try{(e=zoe(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=ninstanceofArray}catch(e){}returnfunction(n,r){returnWie(n),function(e){if("object"==typeofe||Xoe(e))returne;throwQse("Can't set "+Zse(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void0),tle=yae.PROPER,nle=yae.CONFIGURABLE,rle=Gse.IteratorPrototype,ole=Gse.BUGGY_SAFARI_ITERATORS,ile=Pie("iterator"),ale=function(){returnthis},ule=function(e,t,n,r,o,i,a){!function(e,t,n,r){varo=t+" Iterator";e.prototype=Nue(Xse,{next:Noe(1,n)}),Yse(e,o,!1),Lse[o]=Jse}(n,t,r);varu,s,l,c=function(e){if(e===o&&v)returnv;if(!ole&&einp)returnp[e];switch(e){case"keys":case"values":ca
function(e){vart="function"==typeofSymbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)returnn.call(e);if(e&&"number"==typeofe.length)return{next:function(){returne&&r>=e.length&&(e=void0),{value:e&&e[r++],done:!e}}};thrownewTypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(f),h=p.next();!h.done;h=p.next()){varv=h.value,g=d+Fve(v);"string"!=typeofv&&u.push(((r={})[v.type]=!0,r.anchor={path:a,offset:d},r.focus={path:a,offset:g},r)),d=g}}catch(e){t={error:e}}finally{try{h&&!h.done&&(n=p.return)&&n.call(p)}finally{if(t)throwt.error}}returnu},Yge=function(){returnYge=Object.assign||function(e){for(vart,n=1,r=arguments.length;n<r;n++)for(varoint=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);returne},Yge.apply(this,arguments)},Xge=function(){functione(){thrownewError("不能实例化\nCan not construct a instance")}returne.setEditorConfig=function(e){void0===e&&(e={}),this.editorConfig=Yge(Yge({},this.editorConfig),e)},e.setSimpleEditorConfig=function(e){void0===e&&(e={}),this.simpleEditorConfig=Yge(Yge({},this.simpleEditorConfig),e)},e.setToolbarConfig=function(e){void0===e&&(e={}),this.toolbarConfig=Yge(Yge({},this.toolbarConfig),e)},e.setSimpleToolbarConfig=function(e){void0===e&&(e={}),this.simpleToolbarConfig=Yge(Yge({},this.simpleToolbarConfig),e)},e.registerPlugin=function(e){this.plugins.push(e)},e.registerMenu=function(e,t){!function(e,t){varn=e.key,r=e.factory,o=e.config,i=aA(aA({},o),t||{});if(null!=ok[n])thrownewError("Duplicated key '"+n+"' in menu items");ok[n]=r,function(e,t){null!=t&&(rk[e]=t)}(n,i)}(e,t)},e.registerRenderElem=function(e){!function(e){vart=e.type,n=e.renderElem;HT[t||""]=n}(e)},e.registerRenderStyle=function(e){!function(e){$T.push(e)}(e)},e.registerElemToHtml=function(e){!function(e){vart=e.type,n=e.elemToHtml;yk[t||""]=n}(e)},e.registerStyleToHtml=function(e){!function(e){gk.push(e)}(e)},e.registerPreParseHtml=function(e){!function(e){iF.push(e)}(e)},e.registerParseElemHtml=function(e){!function(e){vart=e.selector,n=e.parseElemHtml;uF[t]=n}(e)},e.registerParseStyleHtml=function(e){!function(e){aF.push(e)}(e)},e.registerModule=function(e){Jge(e)},e.editorConfig={},e.simpleEditorConfig={},e.toolbarConfig={},e.simpleToolbarConfig={},e.plugins=[],e}();