包含后厨 团餐 门店分支
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

199 lines
816 KiB

  1. var V=Object.assign;var c8=(D0,hl,ot)=>new Promise((We,ne)=>{var cn=zn=>{try{Mn(ot.next(zn))}catch(kr){ne(kr)}},gr=zn=>{try{Mn(ot.throw(zn))}catch(kr){ne(kr)}},Mn=zn=>zn.done?We(zn.value):Promise.resolve(zn.value).then(cn,gr);Mn((ot=ot.apply(D0,hl)).next())});(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[731],{66247:function(){},3996:function(D0,hl,ot){"use strict";ot.d(hl,{M:function(){return Wmt},o:function(){return Gmt}});var We=ot(67294),ne=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof ot.g!="undefined"?ot.g:typeof self!="undefined"?self:{};function cn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function gr(t){var e={exports:{}};return t(e,e.exports),e.exports}var Mn,zn,kr=function(t){return t&&t.Math==Math&&t},It=kr(typeof globalThis=="object"&&globalThis)||kr(typeof window=="object"&&window)||kr(typeof self=="object"&&self)||kr(typeof ne=="object"&&ne)||function(){return this}()||Function("return this")(),Go=Function.prototype,xt=Go.apply,Ky=Go.bind,x0=Go.call,A0=typeof Reflect=="object"&&Reflect.apply||(Ky?x0.bind(xt):function(){return x0.apply(xt,arguments)}),xf=Function.prototype,gl=xf.bind,vl=xf.call,qy=gl&&gl.bind(vl),Ae=gl?function(t){return t&&qy(vl,t)}:function(t){return t&&function(){return vl.apply(t,arguments)}},en=function(t){return typeof t=="function"},Kn=function(t){try{return!!t()}catch(e){return!0}},qn=!Kn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Nu=Function.prototype.call,Zn=Nu.bind?Nu.bind(Nu):function(){return Nu.apply(Nu,arguments)},O0={}.propertyIsEnumerable,k0=Object.getOwnPropertyDescriptor,Zy=k0&&!O0.call({1:2},1)?function(t){var e=k0(this,t);return!!e&&e.enumerable}:O0,Af={f:Zy},Br=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Yy=Ae({}.toString),Of=Ae("".slice),xi=function(t){return Of(Yy(t),8,-1)},kf=It.Object,Xy=Ae("".split),B0=Kn(function(){return!kf("z").propertyIsEnumerable(0)})?function(t){return xi(t)=="String"?Xy(t,""):kf(t)}:kf,F0=It.TypeError,Bf=function(t){if(t==null)throw F0("Can't call method on "+t);return t},qr=function(t){return B0(Bf(t))},fn=function(t){return typeof t=="object"?t!==null:en(t)},$n={},Ff=function(t){return en(t)?t:void 0},Ai=function(t,e){return arguments.length<2?Ff($n[t])||Ff(It[t]):$n[t]&&$n[t][e]||It[t]&&It[t][e]},ia=Ae({}.isPrototypeOf),Tf=Ai("navigator","userAgent")||"",Pf=It.process,Lu=It.Deno,T0=Pf&&Pf.versions||Lu&&Lu.version,Oe=T0&&T0.v8;Oe&&(zn=(Mn=Oe.split("."))[0]>0&&Mn[0]<4?1:+(Mn[0]+Mn[1])),!zn&&Tf&&(!(Mn=Tf.match(/Edge\/(\d+)/))||Mn[1]>=74)&&(Mn=Tf.match(/Chrome\/(\d+)/))&&(zn=+Mn[1]);var Vt,pe=zn,kt=!!Object.getOwnPropertySymbols&&!Kn(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&pe&&pe<41}),N=kt&&!Symbol.sham&&typeof Symbol.iterator=="symbol",ct=It.Object,pt=N?function(t){return typeof t=="symbol"}:function(t){var e=Ai("Symbol");return en(e)&&ia(e.prototype,ct(t))},st=It.String,ht=function(t){try{return st(t)}catch(e){return"Object"}},J=It.TypeError,lt=function(t){if(en(t))return t;throw J(ht(t)+" is not a function")},At=function(t,e){var n=t[e];return n==null?void 0:lt(n)},Wt=It.TypeError,Jt=Object.defineProperty,Ot=It["__core-js_shared__"]||function(t,e){try{Jt(It,t,{value:e,configurable:!0,writable:!0})}catch(n){It[t]=e}return e}("__core-js_shared__",{}),he=gr(function(t){(t.exports=function(e,n){return Ot[e]||(Ot[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Ye=It.Object,dn=function(t){return Ye(Bf(t))},Zr=Ae({}.hasOwnProperty),Bt=Object.hasOwn||function(t,e){return Zr(dn(t),e)},Yn=0,So=Math.random(),Co=Ae(1 .toString),Yr=function(t){return"Symbol("+(t===void 0?"":t)+")_"+Co(++Yn+So,36)},Fr=he("wks"),Xr=It.Symbol,ml=Xr&&Xr.for,Ko=N?Xr:Xr&&Xr.withoutSetter||Yr,je=function(t){if(!Bt(Fr,t)||!kt&&typeof Fr[t]!="string"){var e="Symbol."+t;kt&&Bt(Xr,t)?Fr[t]=Xr[t]:Fr[t]=N&&ml?ml(e):Ko(e)}return Fr[t]},Oi=It.TypeError,yl=je("toPrimitive"),Ru=function(t,e){if(!fn(t)||pt(t))return t;var n,r=At(t,yl);if(r){if(e===void 0&&(e="default"),n=Zn(r,t,e),!fn(n)||pt(n))return n;throw Oi("Can't convert object to primitive value")}return e===void 0&&(e="number"),function(o,i){var a,u;if(i==="string"&&en(a=o.toString)&&!fn(u=Zn(a,o))||en(a=o.valueOf)&&!fn(u=Zn(a,o))||i!=="string"&&en(a=o.toString)&&!fn(u=Zn(a,o)))return u;throw Wt("Can't convert object to primitive value")}(t,e)},vr=function(t){var e=Ru(t,"string");return pt(e)?e:e+""},Mu=It.document,mr=fn(Mu)&&fn(Mu.createElement),aa=function(t){return mr?Mu.createElement(t):{}},ua=!qn&&!Kn(function(){return Object.defineProperty(aa("div"),"a",{get:function(){return 7}}).a!=7}),Jr=Object.getOwnPropertyDescriptor,bl=qn?Jr:function(t,e){if(t=qr(t),e=vr(e),ua)try{return Jr(t,e)}catch(n){}if(Bt(t,e))return Br(!Zn(Af.f,t,e),t[e])},sa={f:bl},wl=/#|\.prototype\./,qo=function(t,e){var n=jf[zu(t)];return n==Fn||n!=Zo&&(en(e)?Kn(e):!!e)},zu=qo.normalize=function(t){return String(t).replace(wl,".").toLowerCase()},jf=qo.data={},Zo=qo.NATIVE="N",Fn=qo.POLYFILL="P",Do=qo,sr=Ae(Ae.bind),ki=function(t,e){return lt(t),e===void 0?t:sr?sr(t,e):function(){return t.apply(e,arguments)}},P0=It.String,$u=It.TypeError,Tr=function(t){if(fn(t))return t;throw $u(P0(t)+" is not an object")},$$=It.TypeError,f8=Object.defineProperty,H$=qn?f8:function(t,e,n){if(Tr(t),e=vr(e),Tr(n),ua)try{return f8(t,e,n)}catch(r){}if("get"in n||"set"in n)throw $$("Accessors not supported");return"value"in n&&(t[e]=n.value),t},la={f:H$},lr=qn?function(t,e,n){return la.f(t,e,Br(1,n))}:function(t,e,n){return t[e]=n,t},U$=sa.f,V$=function(t){var e=function(n,r,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,o)}return A0(t,this,arguments)};return e.prototype=t.prototype,e},Bi=function(t,e){var n,r,o,i,a,u,s,l,c=t.target,f=t.global,p=t.stat,d=t.proto,y=f?It:p?It[c]:(It[c]||{}).prototype,g=f?$n:$n[c]||lr($n,c,{})[c],v=g.prototype;for(o in e)n=!Do(f?o:c+(p?".":"#")+o,t.forced)&&y&&Bt(y,o),a=g[o],n&&(u=t.noTargetGet?(l=U$(y,o))&&l.value:y[o]),i=n&&u?u:e[o],n&&typeof a==typeof i||(s=t.bind&&n?ki(i,It):t.wrap&&n?V$(i):d&&en(i)?Ae(i):i,(t.sham||i&&i.sham||a&&a.sham)&&lr(s,"sham",!0),lr(g,o,s),d&&(Bt($n,r=c+"Prototype")||lr($n,r,{}),lr($n[r],o,i),t.real&&v&&!v[o]&&lr(v,o,i)))},d8=he("keys"),j0=function(t){return d8[t]||(d8[t]=Yr(t))},W$=!Kn(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),p8=j0("IE_PROTO"),Jy=It.Object,G$=Jy.prototype,_0=W$?Jy.getPrototypeOf:function(t){var e=dn(t);if(Bt(e,p8))return e[p8];var n=e.constructor;return en(n)&&e instanceof n?n.prototype:e instanceof Jy?G$:null},K$=It.String,q$=It.TypeError,I0=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Ae(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(r){}return function(r,o){return Tr(r),function(i){if(typeof i=="object"||en(i))return i;throw q$("Can't set "+K$(i)+" as a prototype")}(o),e?t(r,o):r.__proto__=o,r}}():void 0),Z$=Math.ceil,Y$=Math.floor,Qy=function(t){var e=+t;return e!=e||e===0?0:(e>0?Y$:Z$)(e)},X$=Math.max,J$=Math.min,tb=function(t,e){var n=Qy(t);return n<0?X$(n+e,0):J$(n,e)},Q$=Math.min,_f=function(t){return(e=t.length)>0?Q$(Qy(e),9007199254740991):0;var e},h8=function(t){return function(e,n,r){var o,i=qr(e),a=_f(i),u=tb(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},tH={includes:h8(!0),indexOf:h8(!1)},If={},eH=tH.indexOf,g8=Ae([].push),v8=function(t,e){var n,r=qr(t),o=0,i=[];for(n in r)!Bt(If,n)&&Bt(r,n)&&g8(i,n);for(;e.length>o;)Bt(r,n=e[o++])&&(~eH(i,n)||g8(i,n));return i},N0=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],nH=N0.concat("length","prototype"),rH=Object.getOwnPropertyNames||function(t){return v8(t,nH)},eb={f:rH},L0={f:Object.getOwnPropertySymbols},oH=Ae([].concat),iH=Ai("Reflect","ownKeys")||function(t){var e=eb.f(Tr(t)),n=L0.f;return n?oH(e,n(t)):e},nb=Object.keys||function(t){return v8(t,N0)},aH=qn?Object.defineProperties:function(t,e){Tr(t);for(var n,r=qr(e),o=nb(e),i=o.length,a=0;i>a;)la.f(t,n=o[a++],r[n]);return t},uH=Ai("document","documentElement"),m8=j0("IE_PROTO"),rb=function(){},y8=function(t){return"<script>"+t+"</script>"},b8=function(t){t.write(y8("")),t.close();var e=t.parentWindow.Object;return t=null,e},R0=function(){try{Vt=new ActiveXObject("htmlfile")}catch(r){}var t,e;R0=typeof document!="undefined"?document.domain&&Vt?b8(Vt):((e=aa("iframe")).style.display="none",uH.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(y8("document.F=Object")),t.close(),t.F):b8(Vt);for(var n=N0.length;n--;)delete R0.prototype[N0[n]];return R0()};If[m8]=!0;var Fi=Object.create||function(t,e){var n;return t!==null?(rb.prototype=Tr(t),n=new rb,rb.prototype=null,n[m8]=t):n=R0(),e===void 0?n:aH(n,e)},ob=function(t,e,n){var r=vr(e);r in t?la.f(t,r,Br(0,n)):t[r]=n},sH=It.Array,lH=Math.max,w8=function(t,e,n){for(var r=_f(t),o=tb(e,r),i=tb(n===void 0?r:n,r),a=sH(lH(i-o,0)),u=0;o<i;o++,u++)ob(a,u,t[o]);return a.length=u,a},cH=Ae("".replace),fH=Ae("".split),dH=Ae([].join),ib=String(Error("zxcasd").stack),E8=/\n\s*at [^:]*:[^\n]*/,pH=E8.test(ib),hH=/@[^\n]*\n/.test(ib)&&!/zxcasd/.test(ib),gH=function(t,e){if(typeof t!="string")return t;if(pH)for(;e--;)t=cH(t,E8,"");else if(hH)return dH(w8(fH(t,`
  2. `),e),`
  3. `);return t},vH=function(t,e){fn(e)&&"cause"in e&&lr(t,"cause",e.cause)},Ti={},mH=je("iterator"),yH=Array.prototype,S8={};S8[je("toStringTag")]="z";var ab=String(S8)==="[object z]",bH=je("toStringTag"),wH=It.Object,EH=xi(function(){return arguments}())=="Arguments",Nf=ab?xi:function(t){var e,n,r;return t===void 0?"Undefined":t===null?"Null":typeof(n=function(o,i){try{return o[i]}catch(a){}}(e=wH(t),bH))=="string"?n:EH?xi(e):(r=xi(e))=="Object"&&en(e.callee)?"Arguments":r},SH=je("iterator"),C8=function(t){if(t!=null)return At(t,SH)||At(t,"@@iterator")||Ti[Nf(t)]},CH=It.TypeError,D8=function(t,e,n){var r,o;Tr(t);try{if(!(r=At(t,"return"))){if(e==="throw")throw n;return n}r=Zn(r,t)}catch(i){o=!0,r=i}if(e==="throw")throw n;if(o)throw r;return Tr(r),n},DH=It.TypeError,M0=function(t,e){this.stopped=t,this.result=e},x8=M0.prototype,xH=function(t,e,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),d=!(!n||!n.INTERRUPTED),y=ki(e,c),g=function(m){return r&&D8(r,"normal",m),new M0(!0,m)},v=function(m){return f?(Tr(m),d?y(m[0],m[1],g):y(m[0],m[1])):d?y(m,g):y(m)};if(p)r=t;else{if(!(o=C8(t)))throw DH(ht(t)+" is not iterable");if(function(m){return m!==void 0&&(Ti.Array===m||yH[mH]===m)}(o)){for(i=0,a=_f(t);a>i;i++)if((u=v(t[i]))&&ia(x8,u))return u;return new M0(!1)}r=function(m,h){var b=arguments.length<2?C8(m):h;if(lt(b))return Tr(Zn(b,m));throw CH(ht(m)+" is not iterable")}(t,o)}for(s=r.next;!(l=Zn(s,r)).done;){try{u=v(l.value)}catch(m){D8(r,"throw",m)}if(typeof u=="object"&&u&&ia(x8,u))return u}return new M0(!1)},AH=It.String,Lf=function(t){if(Nf(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return AH(t)},OH=function(t,e){return t===void 0?arguments.length<2?"":e:Lf(t)},kH=!Kn(function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",Br(1,7)),t.stack!==7)}),BH=je("toStringTag"),z0=It.Error,FH=[].push,Rf=function(t,e){var n,r=arguments.length>2?arguments[2]:void 0,o=ia(ub,this);I0?n=I0(new z0(void 0),o?_0(this):ub):(n=o?this:Fi(ub),lr(n,BH,"Error")),lr(n,"message",OH(e,"")),kH&&lr(n,"stack",gH(n.stack,1)),vH(n,r);var i=[];return xH(t,FH,{that:i}),lr(n,"errors",i),n};I0?I0(Rf,z0):function(t,e){for(var n=iH(e),r=la.f,o=sa.f,i=0;i<n.length;i++){var a=n[i];Bt(t,a)||r(t,a,o(e,a))}}(Rf,z0);var ub=Rf.prototype=Fi(z0.prototype,{constructor:Br(1,Rf),message:Br(1,""),name:Br(1,"AggregateError")});Bi({global:!0},{AggregateError:Rf});var TH=Ae(Function.toString);en(Ot.inspectSource)||(Ot.inspectSource=function(t){return TH(t)});var $0,Mf,H0,A8=Ot.inspectSource,O8=It.WeakMap,PH=en(O8)&&/native code/.test(A8(O8)),sb=It.TypeError,jH=It.WeakMap;if(PH||Ot.state){var Hu=Ot.state||(Ot.state=new jH),_H=Ae(Hu.get),k8=Ae(Hu.has),IH=Ae(Hu.set);$0=function(t,e){if(k8(Hu,t))throw new sb("Object already initialized");return e.facade=t,IH(Hu,t,e),e},Mf=function(t){return _H(Hu,t)||{}},H0=function(t){return k8(Hu,t)}}else{var El=j0("state");If[El]=!0,$0=function(t,e){if(Bt(t,El))throw new sb("Object already initialized");return e.facade=t,lr(t,El,e),e},Mf=function(t){return Bt(t,El)?t[El]:{}},H0=function(t){return Bt(t,El)}}var ca,B8,F8,Sl={set:$0,get:Mf,has:H0,enforce:function(t){return H0(t)?Mf(t):$0(t,{})},getterFor:function(t){return function(e){var n;if(!fn(e)||(n=Mf(e)).type!==t)throw sb("Incompatible receiver, "+t+" required");return n}}},T8=Function.prototype,NH=qn&&Object.getOwnPropertyDescriptor,lb=Bt(T8,"name"),LH={EXISTS:lb,PROPER:lb&&function(){}.name==="something",CONFIGURABLE:lb&&(!qn||qn&&NH(T8,"name").configurable)},Cl=function(t,e,n,r){r&&r.enumerable?t[e]=n:lr(t,e,n)},cb=je("iterator"),P8=!1;[].keys&&("next"in(F8=[].keys())?(B8=_0(_0(F8)))!==Object.prototype&&(ca=B8):P8=!0);var RH=ca==null||Kn(function(){var t={};return ca[cb].call(t)!==t});ca=RH?{}:Fi(ca),en(ca[cb])||Cl(ca,cb,function(){return this});var j8={IteratorPrototype:ca,BUGGY_SAFARI_ITERATORS:P8},MH=ab?{}.toString:function(){return"[object "+Nf(this)+"]"},zH=la.f,_8=je("toStringTag"),U0=function(t,e,n,r){if(t){var o=n?t:t.prototype;Bt(o,_8)||zH(o,_8,{configurable:!0,value:e}),r&&!ab&&lr(o,"toString",MH)}},$H=j8.IteratorPrototype,HH=function(){return this},UH=LH.PROPER,V0=j8.BUGGY_SAFARI_ITERATORS,fb=je("iterator"),VH=function(){return this},I8=function(t,e,n,r,o,i,a){(function(m,h,b,w){var S=h+" Iterator";m.prototype=Fi($H,{next:Br(+!w,b)}),U0(m,S,!1,!0),Ti[S]=HH})(n,e,r);var u,s,l,c=function(m){if(m===o&&g)return g;if(!V0&&m in d)return d[m];switch(m){case"keys":case"values":case"entries":return function(){return new n(this,m)}}return function(){return new n(this)}},f=e+" Iterator",p=!1,d=t.prototype,y=d[fb]||d["@@iterator"]||o&&d[o],g=!V0&&y||c(o),v=e=="Array"&&d.entries||y;if(v&&(u=_0(v.call(new t)))!==Object.prototype&&u.next&&(U0(u,f,!0,!0),Ti[f]=VH),UH&&o=="values"&&y&&y.name!=="values"&&(p=!0,g=function(){return Zn(y,this)}),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(V0||p||!(l in d))&&Cl(d,l,s[l]);else Bi({target:e,proto:!0,forced:V0||p},s);return a&&d[fb]!==g&&Cl(d,fb,g,{name:o}),Ti[e]=g,s},WH=Sl.set,GH=Sl.getterFor("Array Iterator");I8(Array,"Array",function(t,e){WH(this,{type:"Array Iterator",target:qr(t),index:0,kind:e})},function(){var t=GH(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values"),Ti.Arguments=Ti.Array;var KH=Ae("".charAt),N8=Ae("".charCodeAt),qH=Ae("".slice),L8=function(t){return function(e,n){var r,o,i=Lf(Bf(e)),a=Qy(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=N8(i,a))<55296||r>56319||a+1===u||(o=N8(i,a+1))<56320||o>57343?t?KH(i,a):r:t?qH(i,a,a+2):o-56320+(r-55296<<10)+65536}},ZH={codeAt:L8(!1),charAt:L8(!0)}.charAt,YH=Sl.set,XH=Sl.getterFor("String Iterator");I8(String,"String",function(t){YH(this,{type:"String Iterator",string:Lf(t),index:0})},function(){var t,e=XH(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=ZH(n,r),e.index+=t.length,{value:t,done:!1})});var JH=$n.AggregateError,R8=je("toStringTag");for(var db in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var M8=It[db],pb=M8&&M8.prototype;pb&&Nf(pb)!==R8&&lr(pb,R8,db),Ti[db]=Ti.Array}var fa,W0,QH=JH,G0=function(t){return t&&t.Math==Math&&t},Nt=G0(typeof globalThis=="object"&&globalThis)||G0(typeof window=="object"&&window)||G0(typeof self=="object"&&self)||G0(typeof ne=="object"&&ne)||function(){return this}()||Function("return this")(),Tn=function(t){try{return!!t()}catch(e){return!0}},Yo=!Tn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),zf=Function.prototype.call,Pn=zf.bind?zf.bind(zf):function(){return zf.apply(zf,arguments)},z8={}.propertyIsEnumerable,$8=Object.getOwnPropertyDescriptor,tU=$8&&!z8.call({1:2},1)?function(t){var e=$8(this,t);return!!e&&e.enumerable}:z8,eU={f:tU},da=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},H8=Function.prototype,hb=H8.bind,gb=H8.call,nU=hb&&hb.bind(gb),De=hb?function(t){return t&&nU(gb,t)}:function(t){return t&&function(){return gb.apply(t,arguments)}},rU=De({}.toString),oU=De("".slice),Uu=function(t){return oU(rU(t),8,-1)},vb=Nt.Object,iU=De("".split),U8=Tn(function(){return!vb("z").propertyIsEnumerable(0)})?function(t){return Uu(t)=="String"?iU(t,""):vb(t)}:vb,aU=Nt.TypeError,K0=function(t){if(t==null)throw aU("Can't call method on "+t);return t},Dl=function(t){return U8(K0(t))},pn=function(t){return typeof t=="function"},xo=function(t){return typeof t=="object"?t!==null:pn(t)},uU=function(t){return pn(t)?t:void 0},$f=function(t,e){return arguments.length<2?uU(Nt[t]):Nt[t]&&Nt[t][e]},q0=De({}.isPrototypeOf),mb=$f("navigator","userAgent")||"",V8=Nt.process,W8=Nt.Deno,G8=V8&&V8.versions||W8&&W8.version,K8=G8&&G8.v8;K8&&(W0=(fa=K8.split("."))[0]>0&&fa[0]<4?1:+(fa[0]+fa[1])),!W0&&mb&&(!(fa=mb.match(/Edge\/(\d+)/))||fa[1]>=74)&&(fa=mb.match(/Chrome\/(\d+)/))&&(W0=+fa[1]);var q8=W0,yb=!!Object.getOwnPropertySymbols&&!Tn(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&q8&&q8<41}),bb=yb&&!Symbol.sham&&typeof Symbol.iterator=="symbol",sU=Nt.Object,wb=bb?function(t){return typeof t=="symbol"}:function(t){var e=$f("Symbol");return pn(e)&&q0(e.prototype,sU(t))},lU=Nt.String,Eb=function(t){try{return lU(t)}catch(e){return"Object"}},cU=Nt.TypeError,Sb=function(t){if(pn(t))return t;throw cU(Eb(t)+" is not a function")},Hf=function(t,e){var n=t[e];return n==null?void 0:Sb(n)},fU=Nt.TypeError,dU=Object.defineProperty,Cb=function(t,e){try{dU(Nt,t,{value:e,configurable:!0,writable:!0})}catch(n){Nt[t]=e}return e},pa=Nt["__core-js_shared__"]||Cb("__core-js_shared__",{}),Db=gr(function(t){(t.exports=function(e,n){return pa[e]||(pa[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),pU=Nt.Object,xb=function(t){return pU(K0(t))},hU=De({}.hasOwnProperty),yr=Object.hasOwn||function(t,e){return hU(xb(t),e)},gU=0,vU=Math.random(),mU=De(1 .toString),Z8=function(t){return"Symbol("+(t===void 0?"":t)+")_"+mU(++gU+vU,36)},Uf=Db("wks"),Vu=Nt.Symbol,Y8=Vu&&Vu.for,yU=bb?Vu:Vu&&Vu.withoutSetter||Z8,cr=function(t){if(!yr(Uf,t)||!yb&&typeof Uf[t]!="string"){var e="Symbol."+t;yb&&yr(Vu,t)?Uf[t]=Vu[t]:Uf[t]=bb&&Y8?Y8(e):yU(e)}return Uf[t]},bU=Nt.TypeError,wU=cr("toPrimitive"),EU=function(t,e){if(!xo(t)||wb(t))return t;var n,r=Hf(t,wU);if(r){if(e===void 0&&(e="default"),n=Pn(r,t,e),!xo(n)||wb(n))return n;throw bU("Can't convert object to primitive value")}return e===void 0&&(e="number"),function(o,i){var a,u;if(i==="string"&&pn(a=o.toString)&&!xo(u=Pn(a,o))||pn(a=o.valueOf)&&!xo(u=Pn(a,o))||i!=="string"&&pn(a=o.toString)&&!xo(u=Pn(a,o)))return u;throw fU("Can't convert object to primitive value")}(t,e)},Ab=function(t){var e=EU(t,"string");return wb(e)?e:e+""},Ob=Nt.document,SU=xo(Ob)&&xo(Ob.createElement),kb=function(t){return SU?Ob.createElement(t):{}},X8=!Yo&&!Tn(function(){return Object.defineProperty(kb("div"),"a",{get:function(){return 7}}).a!=7}),J8=Object.getOwnPropertyDescriptor,CU=Yo?J8:function(t,e){if(t=Dl(t),e=Ab(e),X8)try{return J8(t,e)}catch(n){}if(yr(t,e))return da(!Pn(eU.f,t,e),t[e])},Bb={f:CU},DU=Nt.String,xU=Nt.TypeError,Pr=function(t){if(xo(t))return t;throw xU(DU(t)+" is not an object")},AU=Nt.TypeError,Q8=Object.defineProperty,OU=Yo?Q8:function(t,e,n){if(Pr(t),e=Ab(e),Pr(n),X8)try{return Q8(t,e,n)}catch(r){}if("get"in n||"set"in n)throw AU("Accessors not supported");return"value"in n&&(t[e]=n.value),t},xl={f:OU},fr=Yo?function(t,e,n){return xl.f(t,e,da(1,n))}:function(t,e,n){return t[e]=n,t},kU=De(Function.toString);pn(pa.inspectSource)||(pa.inspectSource=function(t){return kU(t)});var Z0,Vf,Y0,Fb=pa.inspectSource,tA=Nt.WeakMap,BU=pn(tA)&&/native code/.test(Fb(tA)),eA=Db("keys"),Tb=function(t){return eA[t]||(eA[t]=Z8(t))},Pb={},jb=Nt.TypeError,FU=Nt.WeakMap;if(BU||pa.state){var Wu=pa.state||(pa.state=new FU),TU=De(Wu.get),nA=De(Wu.has),PU=De(Wu.set);Z0=function(t,e){if(nA(Wu,t))throw new jb("Object already initialized");return e.facade=t,PU(Wu,t,e),e},Vf=function(t){return TU(Wu,t)||{}},Y0=function(t){return nA(Wu,t)}}else{var Al=Tb("state");Pb[Al]=!0,Z0=function(t,e){if(yr(t,Al))throw new jb("Object already initialized");return e.facade=t,fr(t,Al,e),e},Vf=function(t){return yr(t,Al)?t[Al]:{}},Y0=function(t){return yr(t,Al)}}var Gu={set:Z0,get:Vf,has:Y0,enforce:function(t){return Y0(t)?Vf(t):Z0(t,{})},getterFor:function(t){return function(e){var n;if(!xo(e)||(n=Vf(e)).type!==t)throw jb("Incompatible receiver, "+t+" required");return n}}},rA=Function.prototype,jU=Yo&&Object.getOwnPropertyDescriptor,_b=yr(rA,"name"),Ib={EXISTS:_b,PROPER:_b&&function(){}.name==="something",CONFIGURABLE:_b&&(!Yo||Yo&&jU(rA,"name").configurable)},ha=gr(function(t){var e=Ib.CONFIGURABLE,n=Gu.get,r=Gu.enforce,o=String(String).split("String");(t.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet,d=s&&s.name!==void 0?s.name:a;pn(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!yr(u,"name")||e&&u.name!==d)&&fr(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==Nt?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:fr(i,a,u)):f?i[a]=u:Cb(a,u)})(Function.prototype,"toString",function(){return pn(this)&&n(this).source||Fb(this)})}),_U=Math.ceil,IU=Math.floor,Nb=function(t){var e=+t;return e!=e||e===0?0:(e>0?IU:_U)(e)},NU=Math.max,LU=Math.min,Lb=function(t,e){var n=Nb(t);return n<0?NU(n+e,0):LU(n,e)},RU=Math.min,oA=function(t){return t>0?RU(Nb(t),9007199254740991):0},X0=function(t){return oA(t.length)},iA=function(t){return function(e,n,r){var o,i=Dl(e),a=X0(i),u=Lb(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},MU={includes:iA(!0),indexOf:iA(!1)}.indexOf,aA=De([].push),uA=function(t,e){var n,r=Dl(t),o=0,i=[];for(n in r)!yr(Pb,n)&&yr(r,n)&&aA(i,n);for(;e.length>o;)yr(r,n=e[o++])&&(~MU(i,n)||aA(i,n));return i},J0=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],zU=J0.concat("length","prototype"),$U=Object.getOwnPropertyNames||function(t){return uA(t,zU)},HU={f:$U},UU={f:Object.getOwnPropertySymbols},VU=De([].concat),WU=$f("Reflect","ownKeys")||function(t){var e=HU.f(Pr(t)),n=UU.f;return n?VU(e,n(t)):e},sA=function(t,e){for(var n=WU(e),r=xl.f,o=Bb.f,i=0;i<n.length;i++){var a=n[i];yr(t,a)||r(t,a,o(e,a))}},GU=/#|\.prototype\./,Wf=function(t,e){var n=qU[KU(t)];return n==YU||n!=ZU&&(pn(e)?Tn(e):!!e)},KU=Wf.normalize=function(t){return String(t).replace(GU,".").toLowerCase()},qU=Wf.data={},ZU=Wf.NATIVE="N",YU=Wf.POLYFILL="P",XU=Wf,JU=Bb.f,Gf=function(t,e){var n,r,o,i,a,u=t.target,s=t.global,l=t.stat;if(n=s?Nt:l?Nt[u]||Cb(u,{}):(Nt[u]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=JU(n,r))&&a.value:n[r],!XU(s?r:u+(l?".":"#")+r,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;sA(i,o)}(t.sham||o&&o.sham)&&fr(i,"sham",!0),ha(n,r,i,t)}},lA={};lA[cr("toStringTag")]="z";var Q0,Rb=String(lA)==="[object z]",QU=cr("toStringTag"),tV=Nt.Object,eV=Uu(function(){return arguments}())=="Arguments",tg=Rb?Uu:function(t){var e,n,r;return t===void 0?"Undefined":t===null?"Null":typeof(n=function(o,i){try{return o[i]}catch(a){}}(e=tV(t),QU))=="string"?n:eV?Uu(e):(r=Uu(e))=="Object"&&pn(e.callee)?"Arguments":r},nV=Nt.String,Ku=function(t){if(tg(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return nV(t)},rV=function(){var t=Pr(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},Mb=Nt.RegExp,zb=Tn(function(){var t=Mb("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),oV=zb||Tn(function(){return!Mb("a","y").sticky}),iV=zb||Tn(function(){var t=Mb("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),aV={BROKEN_CARET:iV,MISSED_STICKY:oV,UNSUPPORTED_Y:zb},uV=Object.keys||function(t){return uA(t,J0)},sV=Yo?Object.defineProperties:function(t,e){Pr(t);for(var n,r=Dl(e),o=uV(e),i=o.length,a=0;i>a;)xl.f(t,n=o[a++],r[n]);return t},lV=$f("document","documentElement"),cA=Tb("IE_PROTO"),$b=function(){},fA=function(t){return"<script>"+t+"</script>"},dA=function(t){t.write(fA("")),t.close();var e=t.parentWindow.Object;return t=null,e},eg=function(){try{Q0=new ActiveXObject("htmlfile")}catch(r){}var t,e;eg=typeof document!="undefined"?document.domain&&Q0?dA(Q0):((e=kb("iframe")).style.display="none",lV.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(fA("document.F=Object")),t.close(),t.F):dA(Q0);for(var n=J0.length;n--;)delete eg.prototype[J0[n]];return eg()};Pb[cA]=!0;var pA,Hb,Kf=Object.create||function(t,e){var n;return t!==null?($b.prototype=Pr(t),n=new $b,$b.prototype=null,n[cA]=t):n=eg(),e===void 0?n:sV(n,e)},cV=Nt.RegExp,fV=Tn(function(){var t=cV(".","s");return!(t.dotAll&&t.exec(`
  4. `)&&t.flags==="s")}),dV=Nt.RegExp,pV=Tn(function(){var t=dV("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),hV=Gu.get,gV=Db("native-string-replace",String.prototype.replace),ng=RegExp.prototype.exec,Ub=ng,vV=De("".charAt),mV=De("".indexOf),yV=De("".replace),Vb=De("".slice),Wb=(Hb=/b*/g,Pn(ng,pA=/a/,"a"),Pn(ng,Hb,"a"),pA.lastIndex!==0||Hb.lastIndex!==0),hA=aV.BROKEN_CARET,Gb=/()??/.exec("")[1]!==void 0;(Wb||Gb||hA||fV||pV)&&(Ub=function(t){var e,n,r,o,i,a,u,s=this,l=hV(s),c=Ku(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=Pn(Ub,f,c),s.lastIndex=f.lastIndex,e;var p=l.groups,d=hA&&s.sticky,y=Pn(rV,s),g=s.source,v=0,m=c;if(d&&(y=yV(y,"y",""),mV(y,"g")===-1&&(y+="g"),m=Vb(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&vV(c,s.lastIndex-1)!==`
  5. `)&&(g="(?: "+g+")",m=" "+m,v++),n=new RegExp("^(?:"+g+")",y)),Gb&&(n=new RegExp("^"+g+"$(?!\\s)",y)),Wb&&(r=s.lastIndex),o=Pn(ng,d?n:s,m),d?o?(o.input=Vb(o.input,v),o[0]=Vb(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:Wb&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),Gb&&o&&o.length>1&&Pn(gV,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&p)for(o.groups=a=Kf(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var rg=Ub;Gf({target:"RegExp",proto:!0,forced:/./.exec!==rg},{exec:rg});var bV=cr("species"),Kb=RegExp.prototype,wV=De("".charAt),gA=De("".charCodeAt),EV=De("".slice),vA=function(t){return function(e,n){var r,o,i=Ku(K0(e)),a=Nb(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=gA(i,a))<55296||r>56319||a+1===u||(o=gA(i,a+1))<56320||o>57343?t?wV(i,a):r:t?EV(i,a,a+2):o-56320+(r-55296<<10)+65536}},mA={codeAt:vA(!1),charAt:vA(!0)},SV=mA.charAt,CV=function(t,e,n){return e+(n?SV(t,e).length:1)},DV=Nt.TypeError,yA=function(t,e){var n=t.exec;if(pn(n)){var r=Pn(n,t,e);return r!==null&&Pr(r),r}if(Uu(t)==="RegExp")return Pn(rg,t,e);throw DV("RegExp#exec called on incompatible receiver")};(function(t,e,n,r){var o=cr(t),i=!Tn(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!Tn(function(){var l=!1,c=/a/;return t==="split"&&((c={}).constructor={},c.constructor[bV]=function(){return c},c.flags="",c[o]=/./[o]),c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=De(/./[o]),s=e(o,""[t],function(l,c,f,p,d){var y=De(l),g=c.exec;return g===rg||g===Kb.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:y(f,c,p)}:{done:!1}});ha(String.prototype,t,s[0]),ha(Kb,o,s[1])}r&&fr(Kb[o],"sham",!0)})("match",function(t,e,n){return[function(r){var o=K0(this),i=r==null?void 0:Hf(r,t);return i?Pn(i,r,o):new RegExp(r)[t](Ku(o))},function(r){var o=Pr(this),i=Ku(r),a=n(e,o,i);if(a.done)return a.value;if(!o.global)return yA(o,i);var u=o.unicode;o.lastIndex=0;for(var s,l=[],c=0;(s=yA(o,i))!==null;){var f=Ku(s[0]);l[c]=f,f===""&&(o.lastIndex=CV(i,oA(o.lastIndex),u)),c++}return c===0?null:l}]}),Gf({global:!0},{globalThis:Nt});var xV=!Tn(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),bA=Tb("IE_PROTO"),qb=Nt.Object,AV=qb.prototype,qf=xV?qb.getPrototypeOf:function(t){var e=xb(t);if(yr(e,bA))return e[bA];var n=e.constructor;return pn(n)&&e instanceof n?n.prototype:e instanceof qb?AV:null},OV=Nt.String,kV=Nt.TypeError,Ol=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=De(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(r){}return function(r,o){return Pr(r),function(i){if(typeof i=="object"||pn(i))return i;throw kV("Can't set "+OV(i)+" as a prototype")}(o),e?t(r,o):r.__proto__=o,r}}():void 0),BV=Nt.Array,FV=Math.max,TV=De("".replace),PV=De("".split),jV=De([].join),Zb=String(Error("zxcasd").stack),wA=/\n\s*at [^:]*:[^\n]*/,_V=wA.test(Zb),IV=/@[^\n]*\n/.test(Zb)&&!/zxcasd/.test(Zb),NV=function(t,e){if(typeof t!="string")return t;if(_V)for(;e--;)t=TV(t,wA,"");else if(IV)return jV(function(n,r,o){for(var i,a,u,s,l=X0(n),c=Lb(r,l),f=Lb(o===void 0?l:o,l),p=BV(FV(f-c,0)),d=0;c<f;c++,d++)i=p,a=d,u=n[c],s=void 0,(s=Ab(a))in i?xl.f(i,s,da(0,u)):i[s]=u;return p.length=d,p}(PV(t,`
  6. `),e),`
  7. `);return t},LV=function(t,e){xo(e)&&"cause"in e&&fr(t,"cause",e.cause)},EA=De(De.bind),SA=function(t,e){return Sb(t),e===void 0?t:EA?EA(t,e):function(){return t.apply(e,arguments)}},kl={},RV=cr("iterator"),MV=Array.prototype,zV=cr("iterator"),CA=function(t){if(t!=null)return Hf(t,zV)||Hf(t,"@@iterator")||kl[tg(t)]},$V=Nt.TypeError,DA=function(t,e,n){var r,o;Pr(t);try{if(!(r=Hf(t,"return"))){if(e==="throw")throw n;return n}r=Pn(r,t)}catch(i){o=!0,r=i}if(e==="throw")throw n;if(o)throw r;return Pr(r),n},HV=Nt.TypeError,og=function(t,e){this.stopped=t,this.result=e},xA=og.prototype,UV=function(t,e,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),d=!(!n||!n.INTERRUPTED),y=SA(e,c),g=function(m){return r&&DA(r,"normal",m),new og(!0,m)},v=function(m){return f?(Pr(m),d?y(m[0],m[1],g):y(m[0],m[1])):d?y(m,g):y(m)};if(p)r=t;else{if(!(o=CA(t)))throw HV(Eb(t)+" is not iterable");if(function(m){return m!==void 0&&(kl.Array===m||MV[RV]===m)}(o)){for(i=0,a=X0(t);a>i;i++)if((u=v(t[i]))&&q0(xA,u))return u;return new og(!1)}r=function(m,h){var b=arguments.length<2?CA(m):h;if(Sb(b))return Pr(Pn(b,m));throw $V(Eb(m)+" is not iterable")}(t,o)}for(s=r.next;!(l=Pn(s,r)).done;){try{u=v(l.value)}catch(m){DA(r,"throw",m)}if(typeof u=="object"&&u&&q0(xA,u))return u}return new og(!1)},VV=function(t,e){return t===void 0?arguments.length<2?"":e:Ku(t)},WV=!Tn(function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",da(1,7)),t.stack!==7)}),GV=cr("toStringTag"),ig=Nt.Error,KV=[].push,Zf=function(t,e){var n,r=arguments.length>2?arguments[2]:void 0,o=q0(Yb,this);Ol?n=Ol(new ig(void 0),o?qf(this):Yb):(n=o?this:Kf(Yb),fr(n,GV,"Error")),fr(n,"message",VV(e,"")),WV&&fr(n,"stack",NV(n.stack,1)),LV(n,r);var i=[];return UV(t,KV,{that:i}),fr(n,"errors",i),n};Ol?Ol(Zf,ig):sA(Zf,ig);var Yb=Zf.prototype=Kf(ig.prototype,{constructor:da(1,Zf),message:da(1,""),name:da(1,"AggregateError")});Gf({global:!0},{AggregateError:Zf});var Xb=cr("unscopables"),Jb=Array.prototype;Jb[Xb]==null&&xl.f(Jb,Xb,{configurable:!0,value:Kf(null)});var qu,AA,OA,Qb=function(t){Jb[Xb][t]=!0},t2=cr("iterator"),kA=!1;[].keys&&("next"in(OA=[].keys())?(AA=qf(qf(OA)))!==Object.prototype&&(qu=AA):kA=!0);var qV=qu==null||Tn(function(){var t={};return qu[t2].call(t)!==t});qV&&(qu={}),pn(qu[t2])||ha(qu,t2,function(){return this});var e2={IteratorPrototype:qu,BUGGY_SAFARI_ITERATORS:kA},ZV=xl.f,BA=cr("toStringTag"),FA=function(t,e,n){t&&!yr(t=n?t:t.prototype,BA)&&ZV(t,BA,{configurable:!0,value:e})},YV=e2.IteratorPrototype,XV=function(){return this},JV=Ib.PROPER,QV=Ib.CONFIGURABLE,TA=e2.IteratorPrototype,ag=e2.BUGGY_SAFARI_ITERATORS,Yf=cr("iterator"),tW=function(){return this},PA=function(t,e,n,r,o,i,a){(function(m,h,b,w){var S=h+" Iterator";m.prototype=Kf(YV,{next:da(+!w,b)}),FA(m,S,!1),kl[S]=XV})(n,e,r);var u,s,l,c=function(m){if(m===o&&g)return g;if(!ag&&m in d)return d[m];switch(m){case"keys":case"values":case"entries":return function(){return new n(this,m)}}return function(){return new n(this)}},f=e+" Iterator",p=!1,d=t.prototype,y=d[Yf]||d["@@iterator"]||o&&d[o],g=!ag&&y||c(o),v=e=="Array"&&d.entries||y;if(v&&(u=qf(v.call(new t)))!==Object.prototype&&u.next&&(qf(u)!==TA&&(Ol?Ol(u,TA):pn(u[Yf])||ha(u,Yf,tW)),FA(u,f,!0)),JV&&o=="values"&&y&&y.name!=="values"&&(QV?fr(d,"name","values"):(p=!0,g=function(){return Pn(y,this)})),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(ag||p||!(l in d))&&ha(d,l,s[l]);else Gf({target:e,proto:!0,forced:ag||p},s);return d[Yf]!==g&&ha(d,Yf,g,{name:o}),kl[e]=g,s},eW=Gu.set,nW=Gu.getterFor("Array Iterator"),Xf=PA(Array,"Array",function(t,e){eW(this,{type:"Array Iterator",target:Dl(t),index:0,kind:e})},function(){var t=nW(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values");kl.Arguments=kl.Array,Qb("keys"),Qb("values"),Qb("entries");var rW=mA.charAt,oW=Gu.set,iW=Gu.getterFor("String Iterator");PA(String,"String",function(t){oW(this,{type:"String Iterator",string:Ku(t),index:0})},function(){var t,e=iW(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=rW(n,r),e.index+=t.length,{value:t,done:!1})});var n2,ug={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},r2=kb("span").classList,jA=r2&&r2.constructor&&r2.constructor.prototype,_A=jA===Object.prototype?void 0:jA,o2=cr("iterator"),IA=cr("toStringTag"),i2=Xf.values,NA=function(t,e){if(t){if(t[o2]!==i2)try{fr(t,o2,i2)}catch(r){t[o2]=i2}if(t[IA]||fr(t,IA,e),ug[e]){for(var n in Xf)if(t[n]!==Xf[n])try{fr(t,n,Xf[n])}catch(r){t[n]=Xf[n]}}}};for(var a2 in ug)NA(Nt[a2]&&Nt[a2].prototype,a2);NA(_A,"DOMTokenList"),typeof ot.g=="undefined"?("ActiveXObject"in window&&console.error(`\u62B1\u6B49\uFF0CwangEditor V5+ \u7248\u672C\u5F00\u59CB\uFF0C\u4E0D\u5728\u652F\u6301 IE \u6D4F\u89C8\u5668
  8. Sorry, wangEditor V5+ versions do not support IE browser.`),LA(),RA()):ot.g&&((n2=ot.g.navigator)===null||n2===void 0?void 0:n2.userAgent.match("QQBrowser"))&&(LA(),RA());function LA(){typeof globalThis=="undefined"&&(window.globalThis=window)}function RA(){QH===void 0&&(window.AggregateError=function(t,e){var n=new Error(e);return n.errors=t,n})}var MA,sg=Array.isArray||function(t){return xi(t)=="Array"},zA=function(){},aW=[],$A=Ai("Reflect","construct"),u2=/^\s*(?:class|function)\b/,uW=Ae(u2.exec),sW=!u2.exec(zA),Jf=function(t){if(!en(t))return!1;try{return $A(zA,aW,t),!0}catch(e){return!1}},lW=!$A||Kn(function(){var t;return Jf(Jf.call)||!Jf(Object)||!Jf(function(){t=!0})||t})?function(t){if(!en(t))return!1;switch(Nf(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return sW||!!uW(u2,A8(t))}:Jf,cW=je("species"),HA=It.Array,UA=function(t,e){return new(function(n){var r;return sg(n)&&(r=n.constructor,(lW(r)&&(r===HA||sg(r.prototype))||fn(r)&&(r=r[cW])===null)&&(r=void 0)),r===void 0?HA:r}(t))(e===0?0:e)},fW=je("species"),VA=je("isConcatSpreadable"),WA=It.TypeError,dW=pe>=51||!Kn(function(){var t=[];return t[VA]=!1,t.concat()[0]!==t}),pW=(MA="concat",pe>=51||!Kn(function(){var t=[];return(t.constructor={})[fW]=function(){return{foo:1}},t[MA](Boolean).foo!==1})),hW=function(t){if(!fn(t))return!1;var e=t[VA];return e!==void 0?!!e:sg(t)};Bi({target:"Array",proto:!0,forced:!dW||!pW},{concat:function(t){var e,n,r,o,i,a=dn(this),u=UA(a,0),s=0;for(e=-1,r=arguments.length;e<r;e++)if(hW(i=e===-1?a:arguments[e])){if(s+(o=_f(i))>9007199254740991)throw WA("Maximum allowed index exceeded");for(n=0;n<o;n++,s++)n in i&&ob(u,s,i[n])}else{if(s>=9007199254740991)throw WA("Maximum allowed index exceeded");ob(u,s++,i)}return u.length=s,u}});var GA=eb.f,KA=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],qA={f:function(t){return KA&&xi(t)=="Window"?function(e){try{return GA(e)}catch(n){return w8(KA)}}(t):GA(qr(t))}},gW=Ae([].slice),s2={f:je},vW=la.f,nn=function(t){var e=$n.Symbol||($n.Symbol={});Bt(e,t)||vW(e,t,{value:s2.f(t)})},ZA=Ae([].push),ga=function(t){var e=t==1,n=t==2,r=t==3,o=t==4,i=t==6,a=t==7,u=t==5||i;return function(s,l,c,f){for(var p,d,y=dn(s),g=B0(y),v=ki(l,c),m=_f(g),h=0,b=f||UA,w=e?b(s,m):n||a?b(s,0):void 0;m>h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),t))if(e)w[h]=d;else if(d)switch(t){case 3:return!0;case 5:return p;case 6:return h;case 2:ZA(w,p)}else switch(t){case 4:return!1;case 7:ZA(w,p)}return i?-1:r||o?o:w}},lg={forEach:ga(0),map:ga(1),filter:ga(2),some:ga(3),every:ga(4),find:ga(5),findIndex:ga(6),filterReject:ga(7)}.forEach,br=j0("hidden"),YA=je("toPrimitive"),mW=Sl.set,XA=Sl.getterFor("Symbol"),Ao=Object.prototype,va=It.Symbol,ma=va&&va.prototype,JA=It.TypeError,l2=It.QObject,Qf=Ai("JSON","stringify"),QA=sa.f,ya=la.f,t7=qA.f,yW=Af.f,e7=Ae([].push),Pi=he("symbols"),td=he("op-symbols"),c2=he("string-to-symbol-registry"),f2=he("symbol-to-string-registry"),bW=he("wks"),d2=!l2||!l2.prototype||!l2.prototype.findChild,p2=qn&&Kn(function(){return Fi(ya({},"a",{get:function(){return ya(this,"a",{value:7}).a}})).a!=7})?function(t,e,n){var r=QA(Ao,e);r&&delete Ao[e],ya(t,e,n),r&&t!==Ao&&ya(Ao,e,r)}:ya,h2=function(t,e){var n=Pi[t]=Fi(ma);return mW(n,{type:"Symbol",tag:t,description:e}),qn||(n.description=e),n},cg=function(t,e,n){t===Ao&&cg(td,e,n),Tr(t);var r=vr(e);return Tr(n),Bt(Pi,r)?(n.enumerable?(Bt(t,br)&&t[br][r]&&(t[br][r]=!1),n=Fi(n,{enumerable:Br(0,!1)})):(Bt(t,br)||ya(t,br,Br(1,{})),t[br][r]=!0),p2(t,r,n)):ya(t,r,n)},n7=function(t,e){Tr(t);var n=qr(e),r=nb(n).concat(g2(n));return lg(r,function(o){qn&&!Zn(r7,n,o)||cg(t,o,n[o])}),t},r7=function(t){var e=vr(t),n=Zn(yW,this,e);return!(this===Ao&&Bt(Pi,e)&&!Bt(td,e))&&(!(n||!Bt(this,e)||!Bt(Pi,e)||Bt(this,br)&&this[br][e])||n)},o7=function(t,e){var n=qr(t),r=vr(e);if(n!==Ao||!Bt(Pi,r)||Bt(td,r)){var o=QA(n,r);return!o||!Bt(Pi,r)||Bt(n,br)&&n[br][r]||(o.enumerable=!0),o}},i7=function(t){var e=t7(qr(t)),n=[];return lg(e,function(r){Bt(Pi,r)||Bt(If,r)||e7(n,r)}),n},g2=function(t){var e=t===Ao,n=t7(e?td:qr(t)),r=[];return lg(n,function(o){!Bt(Pi,o)||e&&!Bt(Ao,o)||e7(r,Pi[o])}),r};if(kt||(ma=(va=function(){if(ia(ma,this))throw JA("Symbol is not a constructor");var t=arguments.length&&arguments[0]!==void 0?Lf(arguments[0]):void 0,e=Yr(t),n=function(r){this===Ao&&Zn(n,td,r),Bt(this,br)&&Bt(this[br],e)&&(this[br][e]=!1),p2(this,e,Br(1,r))};return qn&&d2&&p2(Ao,e,{configurable:!0,set:n}),h2(e,t)}).prototype,Cl(ma,"toString",function(){return XA(this).tag}),Cl(va,"withoutSetter",function(t){return h2(Yr(t),t)}),Af.f=r7,la.f=cg,sa.f=o7,eb.f=qA.f=i7,L0.f=g2,s2.f=function(t){return h2(je(t),t)},qn&&ya(ma,"description",{configurable:!0,get:function(){return XA(this).description}})),Bi({global:!0,wrap:!0,forced:!kt,sham:!kt},{Symbol:va}),lg(nb(bW),function(t){nn(t)}),Bi({target:"Symbol",stat:!0,forced:!kt},{for:function(t){var e=Lf(t);if(Bt(c2,e))return c2[e];var n=va(e);return c2[e]=n,f2[n]=e,n},keyFor:function(t){if(!pt(t))throw JA(t+" is not a symbol");if(Bt(f2,t))return f2[t]},useSetter:function(){d2=!0},useSimple:function(){d2=!1}}),Bi({target:"Object",stat:!0,forced:!kt,sham:!qn},{create:function(t,e){return e===void 0?Fi(t):n7(Fi(t),e)},defineProperty:cg,defineProperties:n7,getOwnPropertyDescriptor:o7}),Bi({target:"Object",stat:!0,forced:!kt},{getOwnPropertyNames:i7,getOwnPropertySymbols:g2}),Bi({target:"Object",stat:!0,forced:Kn(function(){L0.f(1)})},{getOwnPropertySymbols:function(t){return L0.f(dn(t))}}),Qf){var wW=!kt||Kn(function(){var t=va();return Qf([t])!="[null]"||Qf({a:t})!="{}"||Qf(Object(t))!="{}"});Bi({target:"JSON",stat:!0,forced:wW},{stringify:function(t,e,n){var r=gW(arguments),o=e;if((fn(e)||t!==void 0)&&!pt(t))return sg(e)||(e=function(i,a){if(en(o)&&(a=Zn(o,this,i,a)),!pt(a))return a}),r[1]=e,A0(Qf,null,r)}})}if(!ma[YA]){var EW=ma.valueOf;Cl(ma,YA,function(t){return Zn(EW,this)})}U0(va,"Symbol"),If[br]=!0,nn("asyncIterator"),nn("hasInstance"),nn("isConcatSpreadable"),nn("iterator"),nn("match"),nn("matchAll"),nn("replace"),nn("search"),nn("species"),nn("split"),nn("toPrimitive"),nn("toStringTag"),nn("unscopables"),U0(It.JSON,"JSON",!0);var SW=$n.Symbol;nn("asyncDispose"),nn("dispose"),nn("matcher"),nn("metadata"),nn("observable"),nn("patternMatch"),nn("replaceAll");var fg=SW,CW=s2.f("iterator"),DW=gr(function(t){function e(n){return typeof fg=="function"&&typeof CW=="symbol"?(t.exports=e=function(r){return typeof r},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=e=function(r){return r&&typeof fg=="function"&&r.constructor===fg&&r!==fg.prototype?"symbol":typeof r},t.exports.default=t.exports,t.exports.__esModule=!0),e(n)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0}),xW=cn(DW),a7=Bb.f,AW=Tn(function(){a7(1)});if(Gf({target:"Object",stat:!0,forced:!Yo||AW,sham:!Yo},{getOwnPropertyDescriptor:function(t,e){return a7(Dl(t),e)}}),(typeof ot.g=="undefined"?"undefined":xW(ot.g))==="object"){var OW=Object.getOwnPropertyDescriptor(ot.g,"window");ot.g.window&&!OW.set||(ot.g.window=ot.g,ot.g.requestAnimationFrame=function(){},ot.g.navigator={userAgent:""},ot.g.location={hostname:"0.0.0.0",port:0,protocol:"http:"},ot.g.btoa=function(){},ot.g.crypto={getRandomValues:function(t){return nodeCrypto.randomFillSync(t)}}),ot.g.document!=null&&ot.g.document.getElementsByTagName==null&&(ot.g.document.getElementsByTagName=function(){return[]})}/*!
  9. * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
  10. *
  11. * Copyright (c) 2014-2017, Jon Schlinkert.
  12. * Released under the MIT License.
  13. */function u7(t){return Object.prototype.toString.call(t)==="[object Object]"}function Xn(t){var e,n;return u7(t)!==!1&&((e=t.constructor)===void 0||u7(n=e.prototype)!==!1&&n.hasOwnProperty("isPrototypeOf")!==!1)}function Oo(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+t+(n.length?" "+n.map(function(o){return"'"+o+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Zu(t){return!!t&&!!t[jr]}function Yu(t){return!!t&&(function(e){if(!e||typeof e!="object")return!1;var n=Object.getPrototypeOf(e);if(n===null)return!0;var r=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return r===Object||typeof r=="function"&&Function.toString.call(r)===jW}(t)||Array.isArray(t)||!!t[m7]||!!t.constructor[m7]||m2(t)||y2(t))}function ed(t,e,n){n===void 0&&(n=!1),Bl(t)===0?(n?Object.keys:F2)(t).forEach(function(r){n&&typeof r=="symbol"||e(r,t[r],t)}):t.forEach(function(r,o){return e(o,r,t)})}function Bl(t){var e=t[jr];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:m2(t)?2:y2(t)?3:0}function v2(t,e){return Bl(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function s7(t,e,n){var r=Bl(t);r===2?t.set(e,n):r===3?(t.delete(e),t.add(n)):t[e]=n}function m2(t){return TW&&t instanceof Map}function y2(t){return PW&&t instanceof Set}function Xu(t){return t.o||t.t}function b2(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=_W(t);delete e[jr];for(var n=F2(e),r=0;r<n.length;r++){var o=n[r],i=e[o];i.writable===!1&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(e[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:t[o]})}return Object.create(Object.getPrototypeOf(t),e)}function w2(t,e){return e===void 0&&(e=!1),E2(t)||Zu(t)||!Yu(t)||(Bl(t)>1&&(t.set=t.add=t.clear=t.delete=kW),Object.freeze(t),e&&ed(t,function(n,r){return w2(r,!0)},!0)),t}function kW(){Oo(2)}function E2(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function ji(t){var e=IW[t];return e||Oo(18,t),e}function l7(){return nd}function S2(t,e){e&&(ji("Patches"),t.u=[],t.s=[],t.v=e)}function dg(t){C2(t),t.p.forEach(BW),t.p=null}function C2(t){t===nd&&(nd=t.l)}function c7(t){return nd={p:[],l:nd,h:t,m:!0,_:0}}function BW(t){var e=t[jr];e.i===0||e.i===1?e.j():e.O=!0}function D2(t,e){e._=e.p.length;var n=e.p[0],r=t!==void 0&&t!==n;return e.h.g||ji("ES5").S(e,t,r),r?(n[jr].P&&(dg(e),Oo(4)),Yu(t)&&(t=pg(e,t),e.l||hg(e,t)),e.u&&ji("Patches").M(n[jr],t,e.u,e.s)):t=pg(e,n,[]),dg(e),e.u&&e.v(e.u,e.s),t!==v7?t:void 0}function pg(t,e,n){if(E2(e))return e;var r=e[jr];if(!r)return ed(e,function(i,a){return f7(t,r,e,i,a,n)},!0),e;if(r.A!==t)return e;if(!r.P)return hg(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=r.i===4||r.i===5?r.o=b2(r.k):r.o;ed(r.i===3?new Set(o):o,function(i,a){return f7(t,r,o,i,a,n)}),hg(t,o,!1),n&&t.u&&ji("Patches").R(r,n,t.u,t.s)}return r.o}function f7(t,e,n,r,o,i){if(Zu(o)){var a=pg(t,o,i&&e&&e.i!==3&&!v2(e.D,r)?i.concat(r):void 0);if(s7(n,r,a),!Zu(a))return;t.m=!1}if(Yu(o)&&!E2(o)){if(!t.h.F&&t._<1)return;pg(t,o),e&&e.A.l||hg(t,o)}}function hg(t,e,n){n===void 0&&(n=!1),t.h.F&&t.m&&w2(e,n)}function x2(t,e){var n=t[jr];return(n?Xu(n):t)[e]}function d7(t,e){if(e in t)for(var n=Object.getPrototypeOf(t);n;){var r=Object.getOwnPropertyDescriptor(n,e);if(r)return r;n=Object.getPrototypeOf(n)}}function A2(t){t.P||(t.P=!0,t.l&&A2(t.l))}function O2(t){t.o||(t.o=b2(t.t))}function k2(t,e,n){var r=m2(e)?ji("MapSet").N(e,n):y2(e)?ji("MapSet").T(e,n):t.g?function(o,i){var a=Array.isArray(o),u={i:a?1:0,A:i?i.A:l7(),P:!1,I:!1,D:{},l:i,t:o,k:null,o:null,j:null,C:!1},s=u,l=gg;a&&(s=[u],l=vg);var c=Proxy.revocable(s,l),f=c.revoke,p=c.proxy;return u.k=p,u.j=f,p}(e,n):ji("ES5").J(e,n);return(n?n.A:l7()).p.push(r),r}function FW(t){return Zu(t)||Oo(22,t),function e(n){if(!Yu(n))return n;var r,o=n[jr],i=Bl(n);if(o){if(!o.P&&(o.i<4||!ji("ES5").K(o)))return o.t;o.I=!0,r=p7(n,i),o.I=!1}else r=p7(n,i);return ed(r,function(a,u){o&&function(s,l){return Bl(s)===2?s.get(l):s[l]}(o.t,a)===u||s7(r,a,e(u))}),i===3?new Set(r):r}(t)}function p7(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return b2(t)}var h7,nd,B2=typeof Symbol!="undefined"&&typeof Symbol("x")=="symbol",TW=typeof Map!="undefined",PW=typeof Set!="undefined",g7=typeof Proxy!="undefined"&&Proxy.revocable!==void 0&&typeof Reflect!="undefined",v7=B2?Symbol.for("immer-nothing"):((h7={})["immer-nothing"]=!0,h7),m7=B2?Symbol.for("immer-draftable"):"__$immer_draftable",jr=B2?Symbol.for("immer-state"):"__$immer_state",jW=""+Object.prototype.constructor,F2=typeof Reflect!="undefined"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,_W=Object.getOwnPropertyDescriptors||function(t){var e={};return F2(t).forEach(function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)}),e},IW={},gg={get:function(t,e){if(e===jr)return t;var n=Xu(t);if(!v2(n,e))return function(o,i,a){var u,s=d7(i,a);return s?"value"in s?s.value:(u=s.get)===null||u===void 0?void 0:u.call(o.k):void 0}(t,n,e);var r=n[e];return t.I||!Yu(r)?r:r===x2(t.t,e)?(O2(t),t.o[e]=k2(t.A.h,r,t)):r},has:function(t,e){return e in Xu(t)},ownKeys:function(t){return Reflect.ownKeys(Xu(t))},set:function(t,e,n){var r=d7(Xu(t),e);if(r==null?void 0:r.set)return r.set.call(t.k,n),!0;if(!t.P){var o=x2(Xu(t),e),i=o==null?void 0:o[jr];if(i&&i.t===n)return t.o[e]=n,t.D[e]=!1,!0;if(function(a,u){return a===u?a!==0||1/a==1/u:a!=a&&u!=u}(n,o)&&(n!==void 0||v2(t.t,e)))return!0;O2(t),A2(t)}return t.o[e]===n&&typeof n!="number"&&(n!==void 0||e in t.o)||(t.o[e]=n,t.D[e]=!0,!0)},deleteProperty:function(t,e){return x2(t.t,e)!==void 0||e in t.t?(t.D[e]=!1,O2(t),A2(t)):delete t.D[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var n=Xu(t),r=Reflect.getOwnPropertyDescriptor(n,e);return r&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:r.enumerable,value:n[e]}},defineProperty:function(){Oo(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Oo(12)}},vg={};ed(gg,function(t,e){vg[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),vg.deleteProperty=function(t,e){return gg.deleteProperty.call(this,t[0],e)},vg.set=function(t,e,n){return gg.set.call(this,t[0],e,n,t[0])};var NW=function(){function t(n){var r=this;this.g=g7,this.F=!0,this.produce=function(o,i,a){if(typeof o=="function"&&typeof i!="function"){var u=i;i=o;var s=r;return function(d){var y=this;d===void 0&&(d=u);for(var g=arguments.length,v=Array(g>1?g-1:0),m=1;m<g;m++)v[m-1]=arguments[m];return s.produce(d,function(h){var b;return(b=i).call.apply(b,[y,h].concat(v))})}}var l;if(typeof i!="function"&&Oo(6),a!==void 0&&typeof a!="function"&&Oo(7),Yu(o)){var c=c7(r),f=k2(r,o,void 0),p=!0;try{l=i(f),p=!1}finally{p?dg(c):C2(c)}return typeof Promise!="undefined"&&l instanceof Promise?l.then(function(d){return S2(c,a),D2(d,c)},function(d){throw dg(c),d}):(S2(c,a),D2(l,c))}if(!o||typeof o!="object")return(l=i(o))===v7?void 0:(l===void 0&&(l=o),r.F&&w2(l,!0),l);Oo(21,o)},this.produceWithPatches=function(o,i){return typeof o=="function"?function(s){for(var l=arguments.length,c=Array(l>1?l-1:0),f=1;f<l;f++)c[f-1]=arguments[f];return r.produceWithPatches(s,function(p){return o.apply(void 0,[p].concat(c))})}:[r.produce(o,i,function(s,l){a=s,u=l}),a,u];var a,u},typeof(n==null?void 0:n.useProxies)=="boolean"&&this.setUseProxies(n.useProxies),typeof(n==null?void 0:n.autoFreeze)=="boolean"&&this.setAutoFreeze(n.autoFreeze)}var e=t.prototype;return e.createDraft=function(n){Yu(n)||Oo(8),Zu(n)&&(n=FW(n));var r=c7(this),o=k2(this,n,void 0);return o[jr].C=!0,C2(r),o},e.finishDraft=function(n,r){var o=(n&&n[jr]).A;return S2(o,r),D2(void 0,o)},e.setAutoFreeze=function(n){this.F=n},e.setUseProxies=function(n){n&&!g7&&Oo(20),this.g=n},e.applyPatches=function(n,r){var o;for(o=r.length-1;o>=0;o--){var i=r[o];if(i.path.length===0&&i.op==="replace"){n=i.value;break}}o>-1&&(r=r.slice(o+1));var a=ji("Patches").$;return Zu(n)?a(n,r):this.produce(n,function(u){return a(u,r)})},t}(),_r=new NW,mg=_r.produce;_r.produceWithPatches.bind(_r),_r.setAutoFreeze.bind(_r),_r.setUseProxies.bind(_r),_r.applyPatches.bind(_r);var y7=_r.createDraft.bind(_r),b7=_r.finishDraft.bind(_r);function Xo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var yg=new WeakMap,rd=new WeakMap,w7=new WeakMap,E7=new WeakMap,S7=new WeakMap,C7=new WeakMap;function D7(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function bg(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?D7(Object(n),!0).forEach(function(r){Xo(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):D7(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var LW=()=>{var t={children:[],operations:[],selection:null,marks:null,isInline:()=>!1,isVoid:()=>!1,onChange:()=>{},apply:e=>{for(var n of E.pathRefs(t))pG.transform(n,e);for(var r of E.pointRefs(t))hG.transform(r,e);for(var o of E.rangeRefs(t))vG.transform(o,e);var i=new Set,a=[],u=p=>{if(p){var d=p.join(",");i.has(d)||(i.add(d),a.push(p))}},s=yg.get(t)||[],l=RW(e);for(var c of s)u(_.transform(c,e));for(var f of l)u(f);yg.set(t,a),I.transform(t,e),t.operations.push(e),E.normalize(t),e.type==="set_selection"&&(t.marks=null),rd.get(t)||(rd.set(t,!0),Promise.resolve().then(()=>{rd.set(t,!1),t.onChange(),t.operations=[]}))},addMark:(e,n)=>{var{selection:r}=t;if(r)if(M.isExpanded(r))I.setNodes(t,{[e]:n},{match:ft.isText,split:!0});else{var o=bg(bg({},E.marks(t)||{}),{},{[e]:n});t.marks=o,rd.get(t)||t.onChange()}},deleteBackward:e=>{var{selection:n}=t;n&&M.isCollapsed(n)&&I.delete(t,{unit:e,reverse:!0})},deleteForward:e=>{var{selection:n}=t;n&&M.isCollapsed(n)&&I.delete(t,{unit:e})},deleteFragment:e=>{var{selection:n}=t;n&&M.isExpanded(n)&&I.delete(t,{reverse:e==="backward"})},getFragment:()=>{var{selection:e}=t;return e?et.fragment(t,e):[]},insertBreak:()=>{I.splitNodes(t,{always:!0})},insertFragment:e=>{I.insertFragment(t,e)},insertNode:e=>{I.insertNodes(t,e)},insertText:e=>{var{selection:n,marks:r}=t;if(n){if(r){var o=bg({text:e},r);I.insertNodes(t,o)}else I.insertText(t,e);t.marks=null}},normalizeNode:e=>{var[n,r]=e;if(!ft.isText(n))if(bt.isElement(n)&&n.children.length===0)I.insertNodes(t,{text:""},{at:r.concat(0),voids:!0});else for(var o=!E.isEditor(n)&&bt.isElement(n)&&(t.isInline(n)||n.children.length===0||ft.isText(n.children[0])||t.isInline(n.children[0])),i=0,a=0;a<n.children.length;a++,i++){var u=et.get(t,r);if(!ft.isText(u)){var s=n.children[a],l=u.children[i-1],c=a===n.children.length-1;(ft.isText(s)||bt.isElement(s)&&t.isInline(s))!==o?(I.removeNodes(t,{at:r.concat(i),voids:!0}),i--):bt.isElement(s)?t.isInline(s)&&(l!=null&&ft.isText(l)?c&&(I.insertNodes(t,{text:""},{at:r.concat(i+1),voids:!0}),i++):(I.insertNodes(t,{text:""},{at:r.concat(i),voids:!0}),i++)):l!=null&&ft.isText(l)&&(ft.equals(s,l,{loose:!0})?(I.mergeNodes(t,{at:r.concat(i),voids:!0}),i--):l.text===""?(I.removeNodes(t,{at:r.concat(i-1),voids:!0}),i--):s.text===""&&(I.removeNodes(t,{at:r.concat(i),voids:!0}),i--))}}},removeMark:e=>{var{selection:n}=t;if(n)if(M.isExpanded(n))I.unsetNodes(t,e,{match:ft.isText,split:!0});else{var r=bg({},E.marks(t)||{});delete r[e],t.marks=r,rd.get(t)||t.onChange()}}};return t},RW=t=>{switch(t.type){case"insert_text":case"remove_text":case"set_node":var{path:e}=t;return _.levels(e);case"insert_node":var{node:n,path:r}=t,o=_.levels(r),i=ft.isText(n)?[]:Array.from(et.nodes(n),w=>{var[,S]=w;return r.concat(S)});return[...o,...i];case"merge_node":var{path:a}=t;return[..._.ancestors(a),_.previous(a)];case"move_node":var{path:u,newPath:s}=t;if(_.equals(u,s))return[];var l=[],c=[];for(var f of _.ancestors(u)){var p=_.transform(f,t);l.push(p)}for(var d of _.ancestors(s)){var y=_.transform(d,t);c.push(y)}var g=c[c.length-1],v=s[s.length-1],m=g.concat(v);return[...l,...c,m];case"remove_node":var{path:h}=t;return[..._.ancestors(h)];case"split_node":var{path:b}=t;return[..._.levels(b),_.next(b)];default:return[]}};function _i(t,e){if(t==null)return{};var n,r,o=function(a,u){if(a==null)return{};var s,l,c={},f=Object.keys(a);for(l=0;l<f.length;l++)s=f[l],u.indexOf(s)>=0||(c[s]=a[s]);return c}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}var Mt,T2=function(t){var e=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n=!e,r=e?UW(t):t,o=Mt.None,i=Mt.None,a=0,u=null;for(var s of r){var l=s.codePointAt(0);if(!l)break;var c=eG(s,l);if([o,i]=n?[i,c]:[c,o],Fl(o,Mt.ZWJ)&&Fl(i,Mt.ExtPict)&&!iG(n?t.substring(0,a):t.substring(0,t.length-a))||Fl(o,Mt.RI)&&Fl(i,Mt.RI)&&!(u=u!==null?!u:!!n||uG(t.substring(0,t.length-a)))||o!==Mt.None&&i!==Mt.None&&rG(o,i))break;a+=s.length}return a||1},MW=/\s/,zW=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,$W=/['\u2018\u2019]/,P2=(t,e,n)=>{if(n){var r=t.length-e;return[t.slice(r,t.length),t.slice(0,r)]}return[t.slice(0,e),t.slice(e)]},HW=function t(e,n){var r=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(MW.test(e))return!1;if($W.test(e)){var o=T2(n,r),[i,a]=P2(n,o,r);if(t(i,a,r))return!0}return!zW.test(e)},UW=function*(t){for(var e=t.length-1,n=0;n<t.length;n++){var r=t.charAt(e-n);if(WW(r.charCodeAt(0))){var o=t.charAt(e-n-1);if(VW(o.charCodeAt(0))){yield o+r,n++;continue}}yield r}},VW=t=>t>=55296&&t<=56319,WW=t=>t>=56320&&t<=57343;(function(t){t[t.None=0]="None",t[t.Extend=1]="Extend",t[t.ZWJ=2]="ZWJ",t[t.RI=4]="RI",t[t.Prepend=8]="Prepend",t[t.SpacingMark=16]="SpacingMark",t[t.L=32]="L",t[t.V=64]="V",t[t.T=128]="T",t[t.LV=256]="LV",t[t.LVT=512]="LVT",t[t.ExtPict=1024]="ExtPict",t[t.Any=2048]="Any"})(Mt||(Mt={}));var GW=/^(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])$/,KW=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,qW=/^(?:[\u0903\u093B\u093E-\u0940\u0949-\u094C\u094E\u094F\u0982\u0983\u09BF\u09C0\u09C7\u09C8\u09CB\u09CC\u0A03\u0A3E-\u0A40\u0A83\u0ABE-\u0AC0\u0AC9\u0ACB\u0ACC\u0B02\u0B03\u0B40\u0B47\u0B48\u0B4B\u0B4C\u0BBF\u0BC1\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCC\u0C01-\u0C03\u0C41-\u0C44\u0C82\u0C83\u0CBE\u0CC0\u0CC1\u0CC3\u0CC4\u0CC7\u0CC8\u0CCA\u0CCB\u0D02\u0D03\u0D3F\u0D40\u0D46-\u0D48\u0D4A-\u0D4C\u0D82\u0D83\u0DD0\u0DD1\u0DD8-\u0DDE\u0DF2\u0DF3\u0E33\u0EB3\u0F3E\u0F3F\u0F7F\u1031\u103B\u103C\u1056\u1057\u1084\u1715\u1734\u17B6\u17BE-\u17C5\u17C7\u17C8\u1923-\u1926\u1929-\u192B\u1930\u1931\u1933-\u1938\u1A19\u1A1A\u1A55\u1A57\u1A6D-\u1A72\u1B04\u1B3B\u1B3D-\u1B41\u1B43\u1B44\u1B82\u1BA1\u1BA6\u1BA7\u1BAA\u1BE7\u1BEA-\u1BEC\u1BEE\u1BF2\u1BF3\u1C24-\u1C2B\u1C34\u1C35\u1CE1\u1CF7\uA823\uA824\uA827\uA880\uA881\uA8B4-\uA8C3\uA952\uA953\uA983\uA9B4\uA9B5\uA9BA\uA9BB\uA9BE-\uA9C0\uAA2F\uAA30\uAA33\uAA34\uAA4D\uAAEB\uAAEE\uAAEF\uAAF5\uABE3\uABE4\uABE6\uABE7\uABE9\uABEA\uABEC]|\uD804[\uDC00\uDC02\uDC82\uDCB0-\uDCB2\uDCB7\uDCB8\uDD2C\uDD45\uDD46\uDD82\uDDB3-\uDDB5\uDDBF\uDDC0\uDDCE\uDE2C-\uDE2E\uDE32\uDE33\uDE35\uDEE0-\uDEE2\uDF02\uDF03\uDF3F\uDF41-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF62\uDF63]|\uD805[\uDC35-\uDC37\uDC40\uDC41\uDC45\uDCB1\uDCB2\uDCB9\uDCBB\uDCBC\uDCBE\uDCC1\uDDB0\uDDB1\uDDB8-\uDDBB\uDDBE\uDE30-\uDE32\uDE3B\uDE3C\uDE3E\uDEAC\uDEAE\uDEAF\uDEB6\uDF26]|\uD806[\uDC2C-\uDC2E\uDC38\uDD31-\uDD35\uDD37\uDD38\uDD3D\uDD40\uDD42\uDDD1-\uDDD3\uDDDC-\uDDDF\uDDE4\uDE39\uDE57\uDE58\uDE97]|\uD807[\uDC2F\uDC3E\uDCA9\uDCB1\uDCB4\uDD8A-\uDD8E\uDD93\uDD94\uDD96\uDEF5\uDEF6]|\uD81B[\uDF51-\uDF87\uDFF0\uDFF1]|\uD834[\uDD66\uDD6D])$/,ZW=/^[\u1100-\u115F\uA960-\uA97C]$/,YW=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,XW=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,JW=/^[\uAC00\uAC1C\uAC38\uAC54\uAC70\uAC8C\uACA8\uACC4\uACE0\uACFC\uAD18\uAD34\uAD50\uAD6C\uAD88\uADA4\uADC0\uADDC\uADF8\uAE14\uAE30\uAE4C\uAE68\uAE84\uAEA0\uAEBC\uAED8\uAEF4\uAF10\uAF2C\uAF48\uAF64\uAF80\uAF9C\uAFB8\uAFD4\uAFF0\uB00C\uB028\uB044\uB060\uB07C\uB098\uB0B4\uB0D0\uB0EC\uB108\uB124\uB140\uB15C\uB178\uB194\uB1B0\uB1CC\uB1E8\uB204\uB220\uB23C\uB258\uB274\uB290\uB2AC\uB2C8\uB2E4\uB300\uB31C\uB338\uB354\uB370\uB38C\uB3A8\uB3C4\uB3E0\uB3FC\uB418\uB434\uB450\uB46C\uB488\uB4A4\uB4C0\uB4DC\uB4F8\uB514\uB530\uB54C\uB568\uB584\uB5A0\uB5BC\uB5D8\uB5F4\uB610\uB62C\uB648\uB664\uB680\uB69C\uB6B8\uB6D4\uB6F0\uB70C\uB728\uB744\uB760\uB77C\uB798\uB7B4\uB7D0\uB7EC\uB808\uB824\uB840\uB85C\uB878\uB894\uB8B0\uB8CC\uB8E8\uB904\uB920\uB93C\uB958\uB974\uB990\uB9AC\uB9C8\uB9E4\uBA00\uBA1C\uBA38\uBA54\uBA70\uBA8C\uBAA8\uBAC4\uBAE0\uBAFC\uBB18\uBB34\uBB50\uBB6C\uBB88\uBBA4\uBBC0\uBBDC\uBBF8\uBC14\uBC30\uBC4C\uBC68\uBC84\uBCA0\uBCBC\uBCD8\uBCF4\uBD10\uBD2C\uBD48\uBD64\uBD80\uBD9C\uBDB8\uBDD4\uBDF0\uBE0C\uBE28\uBE44\uBE60\uBE7C\uBE98\uBEB4\uBED0\uBEEC\uBF08\uBF24\uBF40\uBF5C\uBF78\uBF94\uBFB0\uBFCC\uBFE8\uC004\uC020\uC03C\uC058\uC074\uC090\uC0AC\uC0C8\uC0E4\uC100\uC11C\uC138\uC154\uC170\uC18C\uC1A8\uC1C4\uC1E0\uC1FC\uC218\uC234\uC250\uC26C\uC288\uC2A4\uC2C0\uC2DC\uC2F8\uC314\uC330\uC34C\uC368\uC384\uC3A0\uC3BC\uC3D8\uC3F4\uC410\uC42C\uC448\uC464\uC480\uC49C\uC4B8\uC4D4\uC4F0\uC50C\uC528\uC544\uC560\uC57C\uC598\uC5B4\uC5D0\uC5EC\uC608\uC624\uC640\uC65C\uC678\uC694\uC6B0\uC6CC\uC6E8\uC704\uC720\uC73C\uC758\uC774\uC790\uC7AC\uC7C8\uC7E4\uC800\uC81C\uC838\uC854\uC870\uC88C\uC8A8\uC8C4\uC8E0\uC8FC\uC918\uC934\uC950\uC96C\uC988\uC9A4\uC9C0\uC9DC\uC9F8\uCA14\uCA30\uCA4C\uCA68\uCA84\uCAA0\uCABC\uCAD8\uCAF4\uCB10\uCB2C\uCB48\uCB64\uCB80\uCB9C\uCBB8\uCBD4\uCBF0\uCC0C\uCC28\uCC44\uCC60\uCC7C\uCC98\uCCB4\uCCD0\uCCEC\uCD08\uCD24\uCD40\uCD5C\uCD78\uCD94\uCDB0\uCDCC\uCDE8\uCE04\uCE20\uCE3C\uCE58\uCE74\uCE90\uCEAC\uCEC8\uCEE4\uCF00\uCF1C\uCF38\uCF54\uCF70\uCF8C\uCFA8\uCFC4\uCFE0\uCFFC\uD018\uD034\uD050\uD06C\uD088\uD0A4\uD0C0\uD0DC\uD0F8\uD114\uD130\uD14C\uD168\uD184\uD1A0\uD1BC\uD1D8\uD1F4\uD210\uD22C\uD248\uD264\uD280\uD29C\uD2B8\uD2D4\uD2F0\uD30C\uD328\uD344\uD360\uD37C\uD398\uD3B4\uD3D0\uD3EC\uD408\uD424\uD440\uD45C\uD478\uD494\uD4B0\uD4CC\uD4E8\uD504\uD520\uD53C\uD558\uD574\uD590\uD5AC\uD5C8\uD5E4\uD600\uD61C\uD638\uD654\uD670\uD68C\uD6A8\uD6C4\uD6E0\uD6FC\uD718\uD734\uD750\uD76C\uD788]$/,QW=/^[\uAC01-\uAC1B\uAC1D-\uAC37\uAC39-\uAC53\uAC55-\uAC6F\uAC71-\uAC8B\uAC8D-\uACA7\uACA9-\uACC3\uACC5-\uACDF\uACE1-\uACFB\uACFD-\uAD17\uAD19-\uAD33\uAD35-\uAD4F\uAD51-\uAD6B\uAD6D-\uAD87\uAD89-\uADA3\uADA5-\uADBF\uADC1-\uADDB\uADDD-\uADF7\uADF9-\uAE13\uAE15-\uAE2F\uAE31-\uAE4B\uAE4D-\uAE67\uAE69-\uAE83\uAE85-\uAE9F\uAEA1-\uAEBB\uAEBD-\uAED7\uAED9-\uAEF3\uAEF5-\uAF0F\uAF11-\uAF2B\uAF2D-\uAF47\uAF49-\uAF63\uAF65-\uAF7F\uAF81-\uAF9B\uAF9D-\uAFB7\uAFB9-\uAFD3\uAFD5-\uAFEF\uAFF1-\uB00B\uB00D-\uB027\uB029-\uB043\uB045-\uB05F\uB061-\uB07B\uB07D-\uB097\uB099-\uB0B3\uB0B5-\uB0CF\uB0D1-\uB0EB\uB0ED-\uB107\uB109-\uB123\uB125-\uB13F\uB141-\uB15B\uB15D-\uB177\uB179-\uB193\uB195-\uB1AF\uB1B1-\uB1CB\uB1CD-\uB1E7\uB1E9-\uB203\uB205-\uB21F\uB221-\uB23B\uB23D-\uB257\uB259-\uB273\uB275-\uB28F\uB291-\uB2AB\uB2AD-\uB2C7\uB2C9-\uB2E3\uB2E5-\uB2FF\uB301-\uB31B\uB31D-\uB337\uB339-\uB353\uB355-\uB36F\uB371-\uB38B\uB38D-\uB3A7\uB3A9-\uB3C3\uB3C5-\uB3DF\uB3E1-\uB3FB\uB3FD-\uB417\uB419-\uB433\uB435-\uB44F\uB451-\uB46B\uB46D-\uB487\uB489-\uB4A3\uB4A5-\uB4BF\uB4C1-\uB4DB\uB4DD-\uB4F7\uB4F9-\uB513\uB515-\uB52F\uB531-\uB54B\uB54D-\uB567\uB569-\uB583\uB585-\uB59F\uB5A1-\uB5BB\uB5BD-\uB5D7\uB5D9-\uB5F3\uB5F5-\uB60F\uB611-\uB62B\uB62D-\uB647\uB649-\uB663\uB665-\uB67F\uB681-\uB69B\uB69D-\uB6B7\uB6B9-\uB6D3\uB6D5-\uB6EF\uB6F1-\uB70B\uB70D-\uB727\uB729-\uB743\uB745-\uB75F\uB761-\uB77B\uB77D-\uB797\uB799-\uB7B3\uB7B5-\uB7CF\uB7D1-\uB7EB\uB7ED-\uB807\uB809-\uB823\uB825-\uB83F\uB841-\uB85B\uB85D-\uB877\uB879-\uB893\uB895-\uB8AF\uB8B1-\uB8CB\uB8CD-\uB8E7\uB8E9-\uB903\uB905-\uB91F\uB921-\uB93B\uB93D-\uB957\uB959-\uB973\uB975-\uB98F\uB991-\uB9AB\uB9AD-\uB9C7\uB9C9-\uB9E3\uB9E5-\uB9FF\uBA01-\uBA1B\uBA1D-\uBA37\uBA39-\uBA53\uBA55-\uBA6F\uBA71-\uBA8B\uBA8D-\uBAA7\uBAA9-\uBAC3\uBAC5-\uBADF\uBAE1-\uBAFB\uBAFD-\uBB17\uBB19-\uBB33\uBB35-\uBB4F\uBB51-\uBB6B\uBB6D-\uBB87\uBB89-\uBBA3\uBBA5-\uBBBF\uBBC1-\uBBDB\uBBDD-\uBBF7\uBBF9-\uBC13\uBC15-\uBC2F\uBC31-\uBC4B\uBC4D-\uBC67\uBC69-\uBC83\uBC85-\uBC9F\uBCA1-\uBCBB\uBCBD-\uBCD7\uBCD9-\uBCF3\uBCF5-\uBD0F\uBD11-\uBD2B\uBD2D-\uBD47\uBD49-\uBD63\uBD65-\uBD7F\uBD81-\uBD9B\uBD9D-\uBDB7\uBDB9-\uBDD3\uBDD5-\uBDEF\uBDF1-\uBE0B\uBE0D-\uBE27\uBE29-\uBE43\uBE45-\uBE5F\uBE61-\uBE7B\uBE7D-\uBE97\uBE99-\uBEB3\uBEB5-\uBECF\uBED1-\uBEEB\uBEED-\uBF07\uBF09-\uBF23\uBF25-\uBF3F\uBF41-\uBF5B\uBF5D-\uBF77\uBF79-\uBF93\uBF95-\uBFAF\uBFB1-\uBFCB\uBFCD-\uBFE7\uBFE9-\uC003\uC005-\uC01F\uC021-\uC03B\uC03D-\uC057\uC059-\uC073\uC075-\uC08F\uC091-\uC0AB\uC0AD-\uC0C7\uC0C9-\uC0E3\uC0E5-\uC0FF\uC101-\uC11B\uC11D-\uC137\uC139-\uC153\uC155-\uC16F\uC171-\uC18B\uC18D-\uC1A7\uC1A9-\uC1C3\uC1C5-\uC1DF\uC1E1-\uC1FB\uC1FD-\uC217\uC219-\uC233\uC235-\uC24F\uC251-\uC26B\uC26D-\uC287\uC289-\uC2A3\uC2A5-\uC2BF\uC2C1-\uC2DB\uC2DD-\uC2F7\uC2F9-\uC313\uC315-\uC32F\uC331-\uC34B\uC34D-\uC367\uC369-\uC383\uC385-\uC39F\uC3A1-\uC3BB\uC3BD-\uC3D7\uC3D9-\uC3F3\uC3F5-\uC40F\uC411-\uC42B\uC42D-\uC447\uC449-\uC463\uC465-\uC47F\uC481-\uC49B\uC49D-\uC4B7\uC4B9-\uC4D3\uC4D5-\uC4EF\uC4F1-\uC50B\uC50D-\uC527\uC529-\uC543\uC545-\uC55F\uC561-\uC57B\uC57D-\uC597\uC599-\uC5B3\uC5B5-\uC5CF\uC5D1-\uC5EB\uC5ED-\uC607\uC609-\uC623\uC625-\uC63F\uC641-\uC65B\uC65D-\uC677\uC679-\uC693\uC695-\uC6AF\uC6B1-\uC6CB\uC6CD-\uC6E7\uC6E9-\uC703\uC705-\uC71F\uC721-\uC73B\uC73D-\uC757\uC759-\uC773\uC775-\uC78F\uC791-\uC7AB\uC7AD-\uC7C7\uC7C9-\uC7E3\uC7E5-\uC7FF\uC801-\uC81B\uC81D-\uC837\uC839-\uC853\uC855-\uC86F\uC871-\uC88B\uC88D-\uC8A7\uC8A9-\uC8C3\uC8C5-\uC8DF\uC8E1-\uC8FB\uC8FD-\uC917\uC919-\uC933\uC935-\uC94F\uC951-\uC96B\uC96D-\uC987\uC989-\uC9A3\uC9A5-\uC9BF\uC9C1-\uC9DB\uC9DD-\uC9F7\uC9F9-\uCA13\uCA15-\uCA2F\uCA31-\uCA4B\uCA4D-\uCA67\uCA69-\uCA83\uCA85-\uCA9F\uCAA1-\uCABB\uCABD-\uCAD7\uCAD9-\uCAF3\uCAF5-\uCB0F\uCB11-\uCB2B\uCB2D-\uCB47\uCB49-\uCB63\uCB65-\uCB7F\uCB81-\uCB9B\uCB9D-\uCBB7\uCBB9-\uCBD3\uCBD5-\uCBEF\uCBF1-\uCC0B\uCC0D-\uCC27\uCC29-\uCC43\uCC45-\uCC5F\uCC61-\uCC7B\uCC7D-\uCC97\uCC99-\uCCB3\uCCB5-\uCCCF\uCCD1-\uCCEB\uCCED-\uCD07\uCD09-\uCD23\uCD25-\uCD3F\uCD41-\uCD5B\uCD5D-\uCD77\uCD79-\uCD93\uCD95-\uCDAF\uCDB1-\uCDCB\uCDCD-\uCDE7\uCDE9-\uCE03\uCE05-\uCE1F\uCE21-\uCE3B\uCE3D-\uCE57\uCE59-\uCE73\uCE75-\uCE8F\uCE91-\uCEAB\uCEAD-\uCEC7\uCEC9-\uCEE3\uCEE5-\uCEFF\uCF01-\uCF1B\uCF1D-\uCF37\uCF39-\uCF53\uCF55-\uCF6F\uCF71-\uCF8B\uCF8D-\uCFA7\uCFA9-\uCFC3\uCFC5-\uCFDF\uCFE1-\uCFFB\uCFFD-\uD017\uD019-\uD033\uD035-\uD04F\uD051-\uD06B\uD06D-\uD087\uD089-\uD0A3\uD0A5-\uD0BF\uD0C1-\uD0DB\uD0DD-\uD0F7\uD0F9-\uD113\uD115-\uD12F\uD131-\uD14B\uD14D-\uD167\uD169-\uD183\uD185-\uD19F\uD1A1-\uD1BB\uD1BD-\uD1D7\uD1D9-\uD1F3\uD1F5-\uD20F\uD211-\uD22B\uD22D-\uD247\uD249-\uD263\uD265-\uD27F\uD281-\uD29B\uD29D-\uD2B7\uD2B9-\uD2D3\uD2D5-\uD2EF\uD2F1-\uD30B\uD30D-\uD327\uD329-\uD343\uD345-\uD35F\uD361-\uD37B\uD37D-\uD397\uD399-\uD3B3\uD3B5-\uD3CF\uD3D1-\uD3EB\uD3ED-\uD407\uD409-\uD423\uD425-\uD43F\uD441-\uD45B\uD45D-\uD477\uD479-\uD493\uD495-\uD4AF\uD4B1-\uD4CB\uD4CD-\uD4E7\uD4E9-\uD503\uD505-\uD51F\uD521-\uD53B\uD53D-\uD557\uD559-\uD573\uD575-\uD58F\uD591-\uD5AB\uD5AD-\uD5C7\uD5C9-\uD5E3\uD5E5-\uD5FF\uD601-\uD61B\uD61D-\uD637\uD639-\uD653\uD655-\uD66F\uD671-\uD68B\uD68D-\uD6A7\uD6A9-\uD6C3\uD6C5-\uD6DF\uD6E1-\uD6FB\uD6FD-\uD717\uD719-\uD733\uD735-\uD74F\uD751-\uD76B\uD76D-\uD787\uD789-\uD7A3]$/,tG=/^(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])$/,eG=(t,e)=>{var n=Mt.Any;return t.search(GW)!==-1&&(n|=Mt.Extend),e===8205&&(n|=Mt.ZWJ),e>=127462&&e<=127487&&(n|=Mt.RI),t.search(KW)!==-1&&(n|=Mt.Prepend),t.search(qW)!==-1&&(n|=Mt.SpacingMark),t.search(ZW)!==-1&&(n|=Mt.L),t.search(YW)!==-1&&(n|=Mt.V),t.search(XW)!==-1&&(n|=Mt.T),t.search(JW)!==-1&&(n|=Mt.LV),t.search(QW)!==-1&&(n|=Mt.LVT),t.search(tG)!==-1&&(n|=Mt.ExtPict),n};function Fl(t,e){return(t&e)!=0}var nG=[[Mt.L,Mt.L|Mt.V|Mt.LV|Mt.LVT],[Mt.LV|Mt.V,Mt.V|Mt.T],[Mt.LVT|Mt.T,Mt.T],[Mt.Any,Mt.Extend|Mt.ZWJ],[Mt.Any,Mt.SpacingMark],[Mt.Prepend,Mt.Any],[Mt.ZWJ,Mt.ExtPict],[Mt.RI,Mt.RI]];function rG(t,e){return nG.findIndex(n=>Fl(t,n[0])&&Fl(e,n[1]))===-1}var oG=/(?:[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u2388\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2605\u2607-\u2612\u2614-\u2685\u2690-\u2705\u2708-\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763-\u2767\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC00-\uDCFF\uDD0D-\uDD0F\uDD2F\uDD6C-\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDAD-\uDDE5\uDE01-\uDE0F\uDE1A\uDE2F\uDE32-\uDE3A\uDE3C-\uDE3F\uDE49-\uDFFA]|\uD83D[\uDC00-\uDD3D\uDD46-\uDE4F\uDE80-\uDEFF\uDF74-\uDF7F\uDFD5-\uDFFF]|\uD83E[\uDC0C-\uDC0F\uDC48-\uDC4F\uDC5A-\uDC5F\uDC88-\uDC8F\uDCAE-\uDCFF\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDEFF]|\uD83F[\uDC00-\uDFFD])(?:[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0902\u093A\u093C\u0941-\u0948\u094D\u0951-\u0957\u0962\u0963\u0981\u09BC\u09BE\u09C1-\u09C4\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01\u0A02\u0A3C\u0A41\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81\u0A82\u0ABC\u0AC1-\u0AC5\u0AC7\u0AC8\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01\u0B3C\u0B3E\u0B3F\u0B41-\u0B44\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B82\u0BBE\u0BC0\u0BCD\u0BD7\u0C00\u0C04\u0C3E-\u0C40\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81\u0CBC\u0CBF\u0CC2\u0CC6\u0CCC\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00\u0D01\u0D3B\u0D3C\u0D3E\u0D41-\u0D44\u0D4D\u0D57\u0D62\u0D63\u0D81\u0DCA\u0DCF\u0DD2-\u0DD4\u0DD6\u0DDF\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F71-\u0F7E\u0F80-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102D-\u1030\u1032-\u1037\u1039\u103A\u103D\u103E\u1058\u1059\u105E-\u1060\u1071-\u1074\u1082\u1085\u1086\u108D\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4\u17B5\u17B7-\u17BD\u17C6\u17C9-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193B\u1A17\u1A18\u1A1B\u1A56\u1A58-\u1A5E\u1A60\u1A62\u1A65-\u1A6C\u1A73-\u1A7C\u1A7F\u1AB0-\u1AC0\u1B00-\u1B03\u1B34-\u1B3A\u1B3C\u1B42\u1B6B-\u1B73\u1B80\u1B81\u1BA2-\u1BA5\u1BA8\u1BA9\u1BAB-\u1BAD\u1BE6\u1BE8\u1BE9\u1BED\u1BEF-\u1BF1\u1C2C-\u1C33\u1C36\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE0\u1CE2-\u1CE8\u1CED\u1CF4\u1CF8\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u200C\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA825\uA826\uA82C\uA8C4\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA951\uA980-\uA982\uA9B3\uA9B6-\uA9B9\uA9BC\uA9BD\uA9E5\uAA29-\uAA2E\uAA31\uAA32\uAA35\uAA36\uAA43\uAA4C\uAA7C\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEC\uAAED\uAAF6\uABE5\uABE8\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFF9E\uFF9F]|\uD800[\uDDFD\uDEE0\uDF76-\uDF7A]|\uD802[\uDE01-\uDE03\uDE05\uDE06\uDE0C-\uDE0F\uDE38-\uDE3A\uDE3F\uDEE5\uDEE6]|\uD803[\uDD24-\uDD27\uDEAB\uDEAC\uDF46-\uDF50]|\uD804[\uDC01\uDC38-\uDC46\uDC7F-\uDC81\uDCB3-\uDCB6\uDCB9\uDCBA\uDD00-\uDD02\uDD27-\uDD2B\uDD2D-\uDD34\uDD73\uDD80\uDD81\uDDB6-\uDDBE\uDDC9-\uDDCC\uDDCF\uDE2F-\uDE31\uDE34\uDE36\uDE37\uDE3E\uDEDF\uDEE3-\uDEEA\uDF00\uDF01\uDF3B\uDF3C\uDF3E\uDF40\uDF57\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC38-\uDC3F\uDC42-\uDC44\uDC46\uDC5E\uDCB0\uDCB3-\uDCB8\uDCBA\uDCBD\uDCBF\uDCC0\uDCC2\uDCC3\uDDAF\uDDB2-\uDDB5\uDDBC\uDDBD\uDDBF\uDDC0\uDDDC\uDDDD\uDE33-\uDE3A\uDE3D\uDE3F\uDE40\uDEAB\uDEAD\uDEB0-\uDEB5\uDEB7\uDF1D-\uDF1F\uDF22-\uDF25\uDF27-\uDF2B]|\uD806[\uDC2F-\uDC37\uDC39\uDC3A\uDD30\uDD3B\uDD3C\uDD3E\uDD43\uDDD4-\uDDD7\uDDDA\uDDDB\uDDE0\uDE01-\uDE0A\uDE33-\uDE38\uDE3B-\uDE3E\uDE47\uDE51-\uDE56\uDE59-\uDE5B\uDE8A-\uDE96\uDE98\uDE99]|\uD807[\uDC30-\uDC36\uDC38-\uDC3D\uDC3F\uDC92-\uDCA7\uDCAA-\uDCB0\uDCB2\uDCB3\uDCB5\uDCB6\uDD31-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD45\uDD47\uDD90\uDD91\uDD95\uDD97\uDEF3\uDEF4]|\uD81A[\uDEF0-\uDEF4\uDF30-\uDF36]|\uD81B[\uDF4F\uDF8F-\uDF92\uDFE4]|\uD82F[\uDC9D\uDC9E]|\uD834[\uDD65\uDD67-\uDD69\uDD6E-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A\uDD30-\uDD36\uDEEC-\uDEEF]|\uD83A[\uDCD0-\uDCD6\uDD44-\uDD4A]|\uD83C[\uDFFB-\uDFFF]|\uDB40[\uDC20-\uDC7F\uDD00-\uDDEF])*\u200D$/,iG=t=>t.search(oG)!==-1,aG=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,uG=t=>{var e=t.match(aG);return e!==null&&e[0].length/2%2==1},x7=t=>Xn(t)&&et.isNodeList(t.children)&&!E.isEditor(t),bt={isAncestor:t=>Xn(t)&&et.isNodeList(t.children),isElement:x7,isElementList:t=>Array.isArray(t)&&t.every(e=>bt.isElement(e)),isElementProps:t=>t.children!==void 0,isElementType:function(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"type";return x7(t)&&t[n]===e},matches(t,e){for(var n in e)if(n!=="children"&&t[n]!==e[n])return!1;return!0}},sG=["text"],lG=["text"];function A7(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function Tl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?A7(Object(n),!0).forEach(function(r){Xo(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):A7(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var O7=new WeakMap,E={above(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{voids:n=!1,mode:r="lowest",at:o=t.selection,match:i}=e;if(o){var a=E.path(t,o),u=r==="lowest";for(var[s,l]of E.levels(t,{at:a,voids:n,match:i,reverse:u}))if(!ft.isText(s)&&!_.equals(a,l))return[s,l]}},addMark(t,e,n){t.addMark(e,n)},after(t,e){var n,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o={anchor:E.point(t,e,{edge:"end"}),focus:E.end(t,[])},{distance:i=1}=r,a=0;for(var u of E.positions(t,Tl(Tl({},r),{},{at:o}))){if(a>i)break;a!==0&&(n=u),a++}return n},before(t,e){var n,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o={anchor:E.start(t,[]),focus:E.point(t,e,{edge:"start"})},{distance:i=1}=r,a=0;for(var u of E.positions(t,Tl(Tl({},r),{},{at:o,reverse:!0}))){if(a>i)break;a!==0&&(n=u),a++}return n},deleteBackward(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:n="character"}=e;t.deleteBackward(n)},deleteForward(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{unit:n="character"}=e;t.deleteForward(n)},deleteFragment(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{direction:n="forward"}=e;t.deleteFragment(n)},edges:(t,e)=>[E.start(t,e),E.end(t,e)],end:(t,e)=>E.point(t,e,{edge:"end"}),first(t,e){var n=E.path(t,e,{edge:"start"});return E.node(t,n)},fragment(t,e){var n=E.range(t,e);return et.fragment(t,n)},hasBlocks:(t,e)=>e.children.some(n=>E.isBlock(t,n)),hasInlines:(t,e)=>e.children.some(n=>ft.isText(n)||E.isInline(t,n)),hasTexts:(t,e)=>e.children.every(n=>ft.isText(n)),insertBreak(t){t.insertBreak()},insertFragment(t,e){t.insertFragment(e)},insertNode(t,e){t.insertNode(e)},insertText(t,e){t.insertText(e)},isBlock:(t,e)=>bt.isElement(e)&&!t.isInline(e),isEditor(t){if(!Xn(t))return!1;var e=O7.get(t);if(e!==void 0)return e;var n=typeof t.addMark=="function"&&typeof t.apply=="function"&&typeof t.deleteBackward=="function"&&typeof t.deleteForward=="function"&&typeof t.deleteFragment=="function"&&typeof t.insertBreak=="function"&&typeof t.insertFragment=="function"&&typeof t.insertNode=="function"&&typeof t.insertText=="function"&&typeof t.isInline=="function"&&typeof t.isVoid=="function"&&typeof t.normalizeNode=="function"&&typeof t.onChange=="function"&&typeof t.removeMark=="function"&&(t.marks===null||Xn(t.marks))&&(t.selection===null||M.isRange(t.selection))&&et.isNodeList(t.children)&&ba.isOperationList(t.operations);return O7.set(t,n),n},isEnd(t,e,n){var r=E.end(t,n);return Ut.equals(e,r)},isEdge:(t,e,n)=>E.isStart(t,e,n)||E.isEnd(t,e,n),isEmpty(t,e){var{children:n}=e,[r]=n;return n.length===0||n.length===1&&ft.isText(r)&&r.text===""&&!t.isVoid(e)},isInline:(t,e)=>bt.isElement(e)&&t.isInline(e),isNormalizing(t){var e=w7.get(t);return e===void 0||e},isStart(t,e,n){if(e.offset!==0)return!1;var r=E.start(t,n);return Ut.equals(e,r)},isVoid:(t,e)=>bt.isElement(e)&&t.isVoid(e),last(t,e){var n=E.path(t,e,{edge:"end"});return E.node(t,n)},leaf(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=E.path(t,e,n);return[et.leaf(t,r),r]},*levels(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:n=t.selection,reverse:r=!1,voids:o=!1}=e,{match:i}=e;if(i==null&&(i=()=>!0),n){var a=[],u=E.path(t,n);for(var[s,l]of et.levels(t,u))if(i(s,l)&&(a.push([s,l]),!o&&E.isVoid(t,s)))break;r&&a.reverse(),yield*a}},marks(t){var{marks:e,selection:n}=t;if(!n)return null;if(e)return e;if(M.isExpanded(n)){var[r]=E.nodes(t,{match:ft.isText});if(r){var[o]=r;return _i(o,sG)}return{}}var{anchor:i}=n,{path:a}=i,[u]=E.leaf(t,a);if(i.offset===0){var s=E.previous(t,{at:a,match:ft.isText}),l=E.above(t,{match:d=>E.isBlock(t,d)});if(s&&l){var[c,f]=s,[,p]=l;_.isAncestor(p,f)&&(u=c)}}return _i(u,lG)},next(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:r=!1}=e,{match:o,at:i=t.selection}=e;if(i){var a=E.after(t,i,{voids:r});if(a){var[,u]=E.last(t,[]),s=[a.path,u];if(_.isPath(i)&&i.length===0)throw new Error("Cannot get the next node from the root node!");if(o==null)if(_.isPath(i)){var[l]=E.parent(t,i);o=f=>l.children.includes(f)}else o=()=>!0;var[c]=E.nodes(t,{at:s,match:o,mode:n,voids:r});return c}}},node(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=E.path(t,e,n);return[et.get(t,r),r]},*nodes(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:n=t.selection,mode:r="all",universal:o=!1,reverse:i=!1,voids:a=!1}=e,{match:u}=e;if(u||(u=()=>!0),n){var s,l;if(cG.isSpan(n))s=n[0],l=n[1];else{var c=E.path(t,n,{edge:"start"}),f=E.path(t,n,{edge:"end"});s=i?f:c,l=i?c:f}var p,d=et.nodes(t,{reverse:i,from:s,to:l,pass:b=>{var[w]=b;return!a&&E.isVoid(t,w)}}),y=[];for(var[g,v]of d){var m=p&&_.compare(v,p[1])===0;if(r!=="highest"||!m){if(u(g,v))if(r==="lowest"&&m)p=[g,v];else{var h=r==="lowest"?p:[g,v];h&&(o?y.push(h):yield h),p=[g,v]}else if(o&&!m&&ft.isText(g))return}}r==="lowest"&&p&&(o?y.push(p):yield p),o&&(yield*y)}},normalize(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{force:n=!1}=e,r=i=>yg.get(i)||[];if(E.isNormalizing(t)){if(n){var o=Array.from(et.nodes(t),i=>{var[,a]=i;return a});yg.set(t,o)}r(t).length!==0&&E.withoutNormalizing(t,()=>{for(var i of r(t))if(et.has(t,i)){var a=E.node(t,i),[u,s]=a;bt.isElement(u)&&u.children.length===0&&t.normalizeNode(a)}for(var l=42*r(t).length,c=0;r(t).length!==0;){if(c>l)throw new Error(`
  14. Could not completely normalize the editor after `.concat(l,` iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state.
  15. `));var f=r(t).pop();if(et.has(t,f)){var p=E.node(t,f);t.normalizeNode(p)}c++}})}},parent(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=E.path(t,e,n),o=_.parent(r);return E.node(t,o)},path(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{depth:r,edge:o}=n;if(_.isPath(e)){if(o==="start"){var[,i]=et.first(t,e);e=i}else if(o==="end"){var[,a]=et.last(t,e);e=a}}return M.isRange(e)&&(e=o==="start"?M.start(e):o==="end"?M.end(e):_.common(e.anchor.path,e.focus.path)),Ut.isPoint(e)&&(e=e.path),r!=null&&(e=e.slice(0,r)),e},hasPath:(t,e)=>et.has(t,e),pathRef(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:r="forward"}=n,o={current:e,affinity:r,unref(){var{current:i}=o;return E.pathRefs(t).delete(o),o.current=null,i}};return E.pathRefs(t).add(o),o},pathRefs(t){var e=E7.get(t);return e||(e=new Set,E7.set(t,e)),e},point(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{edge:r="start"}=n;if(_.isPath(e)){var o;if(r==="end"){var[,i]=et.last(t,e);o=i}else{var[,a]=et.first(t,e);o=a}var u=et.get(t,o);if(!ft.isText(u))throw new Error("Cannot get the ".concat(r," point in the node at path [").concat(e,"] because it has no ").concat(r," text node."));return{path:o,offset:r==="end"?u.text.length:0}}if(M.isRange(e)){var[s,l]=M.edges(e);return r==="start"?s:l}return e},pointRef(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:r="forward"}=n,o={current:e,affinity:r,unref(){var{current:i}=o;return E.pointRefs(t).delete(o),o.current=null,i}};return E.pointRefs(t).add(o),o},pointRefs(t){var e=S7.get(t);return e||(e=new Set,S7.set(t,e)),e},*positions(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{at:n=t.selection,unit:r="offset",reverse:o=!1,voids:i=!1}=e;if(n){var a=E.range(t,n),[u,s]=M.edges(a),l=o?s:u,c=!1,f="",p=0,d=0,y=0;for(var[g,v]of E.nodes(t,{at:n,reverse:o,voids:i})){if(bt.isElement(g)){if(!i&&t.isVoid(g)){yield E.start(t,v);continue}if(t.isInline(g))continue;if(E.hasInlines(t,g)){var m=_.isAncestor(v,s.path)?s:E.end(t,v),h=_.isAncestor(v,u.path)?u:E.start(t,v);f=E.string(t,{anchor:h,focus:m},{voids:i}),c=!0}}if(ft.isText(g)){var b=_.equals(v,l.path);for(b?(d=o?l.offset:g.text.length-l.offset,y=l.offset):(d=g.text.length,y=o?d:0),(b||c||r==="offset")&&(yield{path:v,offset:y},c=!1);;){if(p===0){if(f==="")break;p=w(f,r,o),f=P2(f,p,o)[1]}if(y=o?y-p:y+p,(d-=p)<0){p=-d;break}p=0,yield{path:v,offset:y}}}}}function w(S,D,C){return D==="character"?T2(S,C):D==="word"?function(O){for(var T=arguments.length>1&&arguments[1]!==void 0&&arguments[1],L=0,z=!1;O.length>0;){var $=T2(O,T),[Y,G]=P2(O,$,T);if(HW(Y,G,T))z=!0,L+=$;else{if(z)break;L+=$}O=G}return L}(S,C):D==="line"||D==="block"?S.length:1}},previous(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{mode:n="lowest",voids:r=!1}=e,{match:o,at:i=t.selection}=e;if(i){var a=E.before(t,i,{voids:r});if(a){var[,u]=E.first(t,[]),s=[a.path,u];if(_.isPath(i)&&i.length===0)throw new Error("Cannot get the previous node from the root node!");if(o==null)if(_.isPath(i)){var[l]=E.parent(t,i);o=f=>l.children.includes(f)}else o=()=>!0;var[c]=E.nodes(t,{reverse:!0,at:s,match:o,mode:n,voids:r});return c}}},range:(t,e,n)=>M.isRange(e)&&!n?e:{anchor:E.start(t,e),focus:E.end(t,n||e)},rangeRef(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{affinity:r="forward"}=n,o={current:e,affinity:r,unref(){var{current:i}=o;return E.rangeRefs(t).delete(o),o.current=null,i}};return E.rangeRefs(t).add(o),o},rangeRefs(t){var e=C7.get(t);return e||(e=new Set,C7.set(t,e)),e},removeMark(t,e){t.removeMark(e)},setNormalizing(t,e){w7.set(t,e)},start:(t,e)=>E.point(t,e,{edge:"start"}),string(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:r=!1}=n,o=E.range(t,e),[i,a]=M.edges(o),u="";for(var[s,l]of E.nodes(t,{at:o,match:ft.isText,voids:r})){var c=s.text;_.equals(l,a.path)&&(c=c.slice(0,a.offset)),_.equals(l,i.path)&&(c=c.slice(i.offset)),u+=c}return u},unhangRange(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:r=!1}=n,[o,i]=M.edges(e);if(o.offset!==0||i.offset!==0||M.isCollapsed(e))return e;var a=E.above(t,{at:i,match:p=>E.isBlock(t,p)}),u=a?a[1]:[],s={anchor:E.start(t,[]),focus:i},l=!0;for(var[c,f]of E.nodes(t,{at:s,match:ft.isText,reverse:!0,voids:r}))if(l)l=!1;else if(c.text!==""||_.isBefore(f,u)){i={path:f,offset:c.text.length};break}return{anchor:o,focus:i}},void(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return E.above(t,Tl(Tl({},e),{},{match:n=>E.isVoid(t,n)}))},withoutNormalizing(t,e){var n=E.isNormalizing(t);E.setNormalizing(t,!1);try{e()}finally{E.setNormalizing(t,n)}E.normalize(t)}},Kmt={isLocation:t=>_.isPath(t)||Ut.isPoint(t)||M.isRange(t)},cG={isSpan:t=>Array.isArray(t)&&t.length===2&&t.every(_.isPath)},fG=["children"],dG=["text"],k7=new WeakMap,et={ancestor(t,e){var n=et.get(t,e);if(ft.isText(n))throw new Error("Cannot get the ancestor node at path [".concat(e,"] because it refers to a text node instead: ").concat(n));return n},*ancestors(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var r of _.ancestors(e,n)){var o=[et.ancestor(t,r),r];yield o}},child(t,e){if(ft.isText(t))throw new Error("Cannot get the child of a text node: ".concat(JSON.stringify(t)));var n=t.children[e];if(n==null)throw new Error("Cannot get child at index `".concat(e,"` in node: ").concat(JSON.stringify(t)));return n},*children(t,e){for(var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{reverse:r=!1}=n,o=et.ancestor(t,e),{children:i}=o,a=r?i.length-1:0;r?a>=0:a<i.length;){var u=et.child(o,a),s=e.concat(a);yield[u,s],a=r?a-1:a+1}},common(t,e,n){var r=_.common(e,n);return[et.get(t,r),r]},descendant(t,e){var n=et.get(t,e);if(E.isEditor(n))throw new Error("Cannot get the descendant node at path [".concat(e,"] because it refers to the root editor node instead: ").concat(n));return n},*descendants(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[n,r]of et.nodes(t,e))r.length!==0&&(yield[n,r])},*elements(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[n,r]of et.nodes(t,e))bt.isElement(n)&&(yield[n,r])},extractProps:t=>bt.isAncestor(t)?_i(t,fG):_i(t,dG),first(t,e){for(var n=e.slice(),r=et.get(t,n);r&&!ft.isText(r)&&r.children.length!==0;)r=r.children[0],n.push(0);return[r,n]},fragment(t,e){if(ft.isText(t))throw new Error("Cannot get a fragment starting from a root text node: ".concat(JSON.stringify(t)));var n=mg({children:t.children},r=>{var[o,i]=M.edges(e),a=et.nodes(r,{reverse:!0,pass:p=>{var[,d]=p;return!M.includes(e,d)}});for(var[,u]of a){if(!M.includes(e,u)){var s=et.parent(r,u),l=u[u.length-1];s.children.splice(l,1)}if(_.equals(u,i.path)){var c=et.leaf(r,u);c.text=c.text.slice(0,i.offset)}if(_.equals(u,o.path)){var f=et.leaf(r,u);f.text=f.text.slice(o.offset)}}E.isEditor(r)&&(r.selection=null)});return n.children},get(t,e){for(var n=t,r=0;r<e.length;r++){var o=e[r];if(ft.isText(n)||!n.children[o])throw new Error("Cannot find a descendant at path [".concat(e,"] in node: ").concat(JSON.stringify(t)));n=n.children[o]}return n},has(t,e){for(var n=t,r=0;r<e.length;r++){var o=e[r];if(ft.isText(n)||!n.children[o])return!1;n=n.children[o]}return!0},isNode:t=>ft.isText(t)||bt.isElement(t)||E.isEditor(t),isNodeList(t){if(!Array.isArray(t))return!1;var e=k7.get(t);if(e!==void 0)return e;var n=t.every(r=>et.isNode(r));return k7.set(t,n),n},last(t,e){for(var n=e.slice(),r=et.get(t,n);r&&!ft.isText(r)&&r.children.length!==0;){var o=r.children.length-1;r=r.children[o],n.push(o)}return[r,n]},leaf(t,e){var n=et.get(t,e);if(!ft.isText(n))throw new Error("Cannot get the leaf node at path [".concat(e,"] because it refers to a non-leaf node: ").concat(n));return n},*levels(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var r of _.levels(e,n)){var o=et.get(t,r);yield[o,r]}},matches:(t,e)=>bt.isElement(t)&&bt.isElementProps(e)&&bt.matches(t,e)||ft.isText(t)&&ft.isTextProps(e)&&ft.matches(t,e),*nodes(t){for(var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{pass:n,reverse:r=!1}=e,{from:o=[],to:i}=e,a=new Set,u=[],s=t;!i||!(r?_.isBefore(u,i):_.isAfter(u,i));)if(a.has(s)||(yield[s,u]),a.has(s)||ft.isText(s)||s.children.length===0||n!=null&&n([s,u])!==!1){if(u.length===0)break;if(!r){var l=_.next(u);if(et.has(t,l)){u=l,s=et.get(t,u);continue}}r&&u[u.length-1]!==0?(u=_.previous(u),s=et.get(t,u)):(u=_.parent(u),s=et.get(t,u),a.add(s))}else{a.add(s);var c=r?s.children.length-1:0;_.isAncestor(u,o)&&(c=o[u.length]),u=u.concat(c),s=et.get(t,u)}},parent(t,e){var n=_.parent(e),r=et.get(t,n);if(ft.isText(r))throw new Error("Cannot get the parent of path [".concat(e,"] because it does not exist in the root."));return r},string:t=>ft.isText(t)?t.text:t.children.map(et.string).join(""),*texts(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[n,r]of et.nodes(t,e))ft.isText(n)&&(yield[n,r])}};function B7(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function hn(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?B7(Object(n),!0).forEach(function(r){Xo(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):B7(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var ba={isNodeOperation:t=>ba.isOperation(t)&&t.type.endsWith("_node"),isOperation(t){if(!Xn(t))return!1;switch(t.type){case"insert_node":case"remove_node":return _.isPath(t.path)&&et.isNode(t.node);case"insert_text":case"remove_text":return typeof t.offset=="number"&&typeof t.text=="string"&&_.isPath(t.path);case"merge_node":return typeof t.position=="number"&&_.isPath(t.path)&&Xn(t.properties);case"move_node":return _.isPath(t.path)&&_.isPath(t.newPath);case"set_node":return _.isPath(t.path)&&Xn(t.properties)&&Xn(t.newProperties);case"set_selection":return t.properties===null&&M.isRange(t.newProperties)||t.newProperties===null&&M.isRange(t.properties)||Xn(t.properties)&&Xn(t.newProperties);case"split_node":return _.isPath(t.path)&&typeof t.position=="number"&&Xn(t.properties);default:return!1}},isOperationList:t=>Array.isArray(t)&&t.every(e=>ba.isOperation(e)),isSelectionOperation:t=>ba.isOperation(t)&&t.type.endsWith("_selection"),isTextOperation:t=>ba.isOperation(t)&&t.type.endsWith("_text"),inverse(t){switch(t.type){case"insert_node":return hn(hn({},t),{},{type:"remove_node"});case"insert_text":return hn(hn({},t),{},{type:"remove_text"});case"merge_node":return hn(hn({},t),{},{type:"split_node",path:_.previous(t.path)});case"move_node":var{newPath:e,path:n}=t;if(_.equals(e,n))return t;if(_.isSibling(n,e))return hn(hn({},t),{},{path:e,newPath:n});var r=_.transform(n,t),o=_.transform(_.next(n),t);return hn(hn({},t),{},{path:r,newPath:o});case"remove_node":return hn(hn({},t),{},{type:"insert_node"});case"remove_text":return hn(hn({},t),{},{type:"insert_text"});case"set_node":var{properties:i,newProperties:a}=t;return hn(hn({},t),{},{properties:a,newProperties:i});case"set_selection":var{properties:u,newProperties:s}=t;return hn(hn({},t),{},u==null?{properties:s,newProperties:null}:s==null?{properties:null,newProperties:u}:{properties:s,newProperties:u});case"split_node":return hn(hn({},t),{},{type:"merge_node",path:_.next(t.path)})}}},_={ancestors(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=e,r=_.levels(t,e);return r=n?r.slice(1):r.slice(0,-1)},common(t,e){for(var n=[],r=0;r<t.length&&r<e.length;r++){var o=t[r];if(o!==e[r])break;n.push(o)}return n},compare(t,e){for(var n=Math.min(t.length,e.length),r=0;r<n;r++){if(t[r]<e[r])return-1;if(t[r]>e[r])return 1}return 0},endsAfter(t,e){var n=t.length-1,r=t.slice(0,n),o=e.slice(0,n),i=t[n],a=e[n];return _.equals(r,o)&&i>a},endsAt(t,e){var n=t.length,r=t.slice(0,n),o=e.slice(0,n);return _.equals(r,o)},endsBefore(t,e){var n=t.length-1,r=t.slice(0,n),o=e.slice(0,n),i=t[n],a=e[n];return _.equals(r,o)&&i<a},equals:(t,e)=>t.length===e.length&&t.every((n,r)=>n===e[r]),hasPrevious:t=>t[t.length-1]>0,isAfter:(t,e)=>_.compare(t,e)===1,isAncestor:(t,e)=>t.length<e.length&&_.compare(t,e)===0,isBefore:(t,e)=>_.compare(t,e)===-1,isChild:(t,e)=>t.length===e.length+1&&_.compare(t,e)===0,isCommon:(t,e)=>t.length<=e.length&&_.compare(t,e)===0,isDescendant:(t,e)=>t.length>e.length&&_.compare(t,e)===0,isParent:(t,e)=>t.length+1===e.length&&_.compare(t,e)===0,isPath:t=>Array.isArray(t)&&(t.length===0||typeof t[0]=="number"),isSibling(t,e){if(t.length!==e.length)return!1;var n=t.slice(0,-1),r=e.slice(0,-1);return t[t.length-1]!==e[e.length-1]&&_.equals(n,r)},levels(t){for(var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=e,r=[],o=0;o<=t.length;o++)r.push(t.slice(0,o));return n&&r.reverse(),r},next(t){if(t.length===0)throw new Error("Cannot get the next path of a root path [".concat(t,"], because it has no next index."));var e=t[t.length-1];return t.slice(0,-1).concat(e+1)},parent(t){if(t.length===0)throw new Error("Cannot get the parent path of the root path [".concat(t,"]."));return t.slice(0,-1)},previous(t){if(t.length===0)throw new Error("Cannot get the previous path of a root path [".concat(t,"], because it has no previous index."));var e=t[t.length-1];if(e<=0)throw new Error("Cannot get the previous path of a first child path [".concat(t,"] because it would result in a negative index."));return t.slice(0,-1).concat(e-1)},relative(t,e){if(!_.isAncestor(e,t)&&!_.equals(t,e))throw new Error("Cannot get the relative path of [".concat(t,"] inside ancestor [").concat(e,"], because it is not above or equal to the path."));return t.slice(e.length)},transform(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return mg(t,r=>{var{affinity:o="forward"}=n;if(t&&(t==null?void 0:t.length)!==0){if(r===null)return null;switch(e.type){case"insert_node":var{path:i}=e;(_.equals(i,r)||_.endsBefore(i,r)||_.isAncestor(i,r))&&(r[i.length-1]+=1);break;case"remove_node":var{path:a}=e;if(_.equals(a,r)||_.isAncestor(a,r))return null;_.endsBefore(a,r)&&(r[a.length-1]-=1);break;case"merge_node":var{path:u,position:s}=e;_.equals(u,r)||_.endsBefore(u,r)?r[u.length-1]-=1:_.isAncestor(u,r)&&(r[u.length-1]-=1,r[u.length]+=s);break;case"split_node":var{path:l,position:c}=e;if(_.equals(l,r)){if(o==="forward")r[r.length-1]+=1;else if(o!=="backward")return null}else _.endsBefore(l,r)?r[l.length-1]+=1:_.isAncestor(l,r)&&t[l.length]>=c&&(r[l.length-1]+=1,r[l.length]-=c);break;case"move_node":var{path:f,newPath:p}=e;if(_.equals(f,p))return;if(_.isAncestor(f,r)||_.equals(f,r)){var d=p.slice();return _.endsBefore(f,p)&&f.length<p.length&&(d[f.length-1]-=1),d.concat(r.slice(f.length))}_.isSibling(f,p)&&(_.isAncestor(p,r)||_.equals(p,r))?_.endsBefore(f,r)?r[f.length-1]-=1:r[f.length-1]+=1:_.endsBefore(p,r)||_.equals(p,r)||_.isAncestor(p,r)?(_.endsBefore(f,r)&&(r[f.length-1]-=1),r[p.length-1]+=1):_.endsBefore(f,r)&&(_.equals(p,r)&&(r[p.length-1]+=1),r[f.length-1]-=1)}}})}},pG={transform(t,e){var{current:n,affinity:r}=t;if(n!=null){var o=_.transform(n,e,{affinity:r});t.current=o,o==null&&t.unref()}}};function F7(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function T7(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?F7(Object(n),!0).forEach(function(r){Xo(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):F7(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var Ut={compare(t,e){var n=_.compare(t.path,e.path);return n===0?t.offset<e.offset?-1:t.offset>e.offset?1:0:n},isAfter:(t,e)=>Ut.compare(t,e)===1,isBefore:(t,e)=>Ut.compare(t,e)===-1,equals:(t,e)=>t.offset===e.offset&&_.equals(t.path,e.path),isPoint:t=>Xn(t)&&typeof t.offset=="number"&&_.isPath(t.path),transform(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return mg(t,r=>{if(r===null)return null;var{affinity:o="forward"}=n,{path:i,offset:a}=r;switch(e.type){case"insert_node":case"move_node":r.path=_.transform(i,e,n);break;case"insert_text":_.equals(e.path,i)&&e.offset<=a&&(r.offset+=e.text.length);break;case"merge_node":_.equals(e.path,i)&&(r.offset+=e.position),r.path=_.transform(i,e,n);break;case"remove_text":_.equals(e.path,i)&&e.offset<=a&&(r.offset-=Math.min(a-e.offset,e.text.length));break;case"remove_node":if(_.equals(e.path,i)||_.isAncestor(e.path,i))return null;r.path=_.transform(i,e,n);break;case"split_node":if(_.equals(e.path,i)){if(e.position===a&&o==null)return null;(e.position<a||e.position===a&&o==="forward")&&(r.offset-=e.position,r.path=_.transform(i,e,T7(T7({},n),{},{affinity:"forward"})))}else r.path=_.transform(i,e,n)}})}},hG={transform(t,e){var{current:n,affinity:r}=t;if(n!=null){var o=Ut.transform(n,e,{affinity:r});t.current=o,o==null&&t.unref()}}},gG=["anchor","focus"];function P7(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}var M={edges(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=e,{anchor:r,focus:o}=t;return M.isBackward(t)===n?[r,o]:[o,r]},end(t){var[,e]=M.edges(t);return e},equals:(t,e)=>Ut.equals(t.anchor,e.anchor)&&Ut.equals(t.focus,e.focus),includes(t,e){if(M.isRange(e)){if(M.includes(t,e.anchor)||M.includes(t,e.focus))return!0;var[n,r]=M.edges(t),[o,i]=M.edges(e);return Ut.isBefore(n,o)&&Ut.isAfter(r,i)}var[a,u]=M.edges(t),s=!1,l=!1;return Ut.isPoint(e)?(s=Ut.compare(e,a)>=0,l=Ut.compare(e,u)<=0):(s=_.compare(e,a.path)>=0,l=_.compare(e,u.path)<=0),s&&l},intersection(t,e){var n=_i(t,gG),[r,o]=M.edges(t),[i,a]=M.edges(e),u=Ut.isBefore(r,i)?i:r,s=Ut.isBefore(o,a)?o:a;return Ut.isBefore(s,u)?null:function(l){for(var c=1;c<arguments.length;c++){var f=arguments[c]!=null?arguments[c]:{};c%2?P7(Object(f),!0).forEach(function(p){Xo(l,p,f[p])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(f)):P7(Object(f)).forEach(function(p){Object.defineProperty(l,p,Object.getOwnPropertyDescriptor(f,p))})}return l}({anchor:u,focus:s},n)},isBackward(t){var{anchor:e,focus:n}=t;return Ut.isAfter(e,n)},isCollapsed(t){var{anchor:e,focus:n}=t;return Ut.equals(e,n)},isExpanded:t=>!M.isCollapsed(t),isForward:t=>!M.isBackward(t),isRange:t=>Xn(t)&&Ut.isPoint(t.anchor)&&Ut.isPoint(t.focus),*points(t){yield[t.anchor,"anchor"],yield[t.focus,"focus"]},start(t){var[e]=M.edges(t);return e},transform(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return mg(t,r=>{if(r===null)return null;var o,i,{affinity:a="inward"}=n;if(a==="inward"){var u=M.isCollapsed(r);M.isForward(r)?(o="forward",i=u?o:"backward"):(o="backward",i=u?o:"forward")}else a==="outward"?M.isForward(r)?(o="backward",i="forward"):(o="forward",i="backward"):(o=a,i=a);var s=Ut.transform(r.anchor,e,{affinity:o}),l=Ut.transform(r.focus,e,{affinity:i});if(!s||!l)return null;r.anchor=s,r.focus=l})}},vG={transform(t,e){var{current:n,affinity:r}=t;if(n!=null){var o=M.transform(n,e,{affinity:r});t.current=o,o==null&&t.unref()}}},j7=(t,e)=>{for(var n in t){var r=t[n],o=e[n];if(Xn(r)&&Xn(o)){if(!j7(r,o))return!1}else if(Array.isArray(r)&&Array.isArray(o)){if(r.length!==o.length)return!1;for(var i=0;i<r.length;i++)if(r[i]!==o[i])return!1}else if(r!==o)return!1}for(var a in e)if(t[a]===void 0&&e[a]!==void 0)return!1;return!0},mG=["text"],yG=["anchor","focus"];function _7(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function Ii(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?_7(Object(n),!0).forEach(function(r){Xo(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):_7(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var ft={equals(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{loose:r=!1}=n;function o(i){return _i(i,mG)}return j7(r?o(t):t,r?o(e):e)},isText:t=>Xn(t)&&typeof t.text=="string",isTextList:t=>Array.isArray(t)&&t.every(e=>ft.isText(e)),isTextProps:t=>t.text!==void 0,matches(t,e){for(var n in e)if(n!=="text"&&(!t.hasOwnProperty(n)||t[n]!==e[n]))return!1;return!0},decorations(t,e){var n=[Ii({},t)];for(var r of e){var o=_i(r,yG),[i,a]=M.edges(r),u=[],s=0;for(var l of n){var{length:c}=l.text,f=s;if(s+=c,i.offset<=f&&a.offset>=s)Object.assign(l,o),u.push(l);else if(i.offset!==a.offset&&(i.offset===s||a.offset===f)||i.offset>s||a.offset<f||a.offset===f&&f!==0)u.push(l);else{var p=l,d=void 0,y=void 0;if(a.offset<s){var g=a.offset-f;y=Ii(Ii({},p),{},{text:p.text.slice(g)}),p=Ii(Ii({},p),{},{text:p.text.slice(0,g)})}if(i.offset>f){var v=i.offset-f;d=Ii(Ii({},p),{},{text:p.text.slice(0,v)}),p=Ii(Ii({},p),{},{text:p.text.slice(v)})}Object.assign(p,o),d&&u.push(d),u.push(p),y&&u.push(y)}}n=u}return n}};function I7(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function od(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?I7(Object(n),!0).forEach(function(r){Xo(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):I7(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var bG={transform(t,e){t.children=y7(t.children);var n=t.selection&&y7(t.selection);try{n=((r,o,i)=>{switch(i.type){case"insert_node":var{path:a,node:u}=i,s=et.parent(r,a),l=a[a.length-1];if(l>s.children.length)throw new Error('Cannot apply an "insert_node" operation at path ['.concat(a,"] because the destination is past the end of the node."));if(s.children.splice(l,0,u),o)for(var[c,f]of M.points(o))o[f]=Ut.transform(c,i);break;case"insert_text":var{path:p,offset:d,text:y}=i;if(y.length===0)break;var g=et.leaf(r,p),v=g.text.slice(0,d),m=g.text.slice(d);if(g.text=v+y+m,o)for(var[h,b]of M.points(o))o[b]=Ut.transform(h,i);break;case"merge_node":var{path:w}=i,S=et.get(r,w),D=_.previous(w),C=et.get(r,D),O=et.parent(r,w),T=w[w.length-1];if(ft.isText(S)&&ft.isText(C))C.text+=S.text;else{if(ft.isText(S)||ft.isText(C))throw new Error('Cannot apply a "merge_node" operation at path ['.concat(w,"] to nodes of different interfaces: ").concat(S," ").concat(C));C.children.push(...S.children)}if(O.children.splice(T,1),o)for(var[L,z]of M.points(o))o[z]=Ut.transform(L,i);break;case"move_node":var{path:$,newPath:Y}=i;if(_.isAncestor($,Y))throw new Error("Cannot move a path [".concat($,"] to new path [").concat(Y,"] because the destination is inside itself."));var G=et.get(r,$),K=et.parent(r,$),Z=$[$.length-1];K.children.splice(Z,1);var ut=_.transform($,i),yt=et.get(r,_.parent(ut)),mt=ut[ut.length-1];if(yt.children.splice(mt,0,G),o)for(var[gt,B]of M.points(o))o[B]=Ut.transform(gt,i);break;case"remove_node":var{path:x}=i,j=x[x.length-1];if(et.parent(r,x).children.splice(j,1),o)for(var[U,X]of M.points(o)){var W=Ut.transform(U,i);if(o!=null&&W!=null)o[X]=W;else{var dt=void 0,Dt=void 0;for(var[Tt,Rt]of et.texts(r)){if(_.compare(Rt,x)!==-1){Dt=[Tt,Rt];break}dt=[Tt,Rt]}var q=!1;dt&&Dt&&(q=_.equals(Dt[1],x)?!_.hasPrevious(Dt[1]):_.common(dt[1],x).length<_.common(Dt[1],x).length),dt&&!q?(U.path=dt[1],U.offset=dt[0].text.length):Dt?(U.path=Dt[1],U.offset=0):o=null}}break;case"remove_text":var{path:te,offset:$t,text:St}=i;if(St.length===0)break;var Ht=et.leaf(r,te),Qe=Ht.text.slice(0,$t),ue=Ht.text.slice($t+St.length);if(Ht.text=Qe+ue,o)for(var[Ee,Me]of M.points(o))o[Me]=Ut.transform(Ee,i);break;case"set_node":var{path:rr,properties:oe,newProperties:Ar}=i;if(rr.length===0)throw new Error("Cannot set properties on the root node!");var $o=et.get(r,rr);for(var wi in Ar){if(wi==="children"||wi==="text")throw new Error('Cannot set the "'.concat(wi,'" property of nodes!'));var wf=Ar[wi];wf==null?delete $o[wi]:$o[wi]=wf}for(var cl in oe)Ar.hasOwnProperty(cl)||delete $o[cl];break;case"set_selection":var{newProperties:Ho}=i;if(Ho==null)o=Ho;else{if(o==null){if(!M.isRange(Ho))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(JSON.stringify(Ho)," when there is no current selection."));o=od({},Ho)}for(var Ei in Ho){var Qi=Ho[Ei];if(Qi==null){if(Ei==="anchor"||Ei==="focus")throw new Error('Cannot remove the "'.concat(Ei,'" selection property'));delete o[Ei]}else o[Ei]=Qi}}break;case"split_node":var{path:or,position:ir,properties:ar}=i;if(or.length===0)throw new Error('Cannot apply a "split_node" operation at path ['.concat(or,"] because the root node cannot be split."));var pr,Rn=et.get(r,or),wo=et.parent(r,or),w0=or[or.length-1];if(ft.isText(Rn)){var Tu=Rn.text.slice(0,ir),ta=Rn.text.slice(ir);Rn.text=Tu,pr=od(od({},ar),{},{text:ta})}else{var Ef=Rn.children.slice(0,ir),fl=Rn.children.slice(ir);Rn.children=Ef,pr=od(od({},ar),{},{children:fl})}if(wo.children.splice(w0+1,0,pr),o)for(var[Sf,Uo]of M.points(o))o[Uo]=Ut.transform(Sf,i)}return o})(t,n,e)}finally{t.children=b7(t.children),t.selection=n?Zu(n)?b7(n):n:null}}},wG=["text"],EG=["children"];function N7(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function L7(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?N7(Object(n),!0).forEach(function(r){Xo(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):N7(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var SG={insertNodes(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};E.withoutNormalizing(t,()=>{var{hanging:r=!1,voids:o=!1,mode:i="lowest"}=n,{at:a,match:u,select:s}=n;if(et.isNode(e)&&(e=[e]),e.length!==0){var[l]=e;if(a||(a=t.selection?t.selection:t.children.length>0?E.end(t,[]):[0],s=!0),s==null&&(s=!1),M.isRange(a))if(r||(a=E.unhangRange(t,a)),M.isCollapsed(a))a=a.anchor;else{var[,c]=M.edges(a),f=E.pointRef(t,c);I.delete(t,{at:a}),a=f.unref()}if(Ut.isPoint(a)){u==null&&(u=ft.isText(l)?D=>ft.isText(D):t.isInline(l)?D=>ft.isText(D)||E.isInline(t,D):D=>E.isBlock(t,D));var[p]=E.nodes(t,{at:a.path,match:u,mode:i,voids:o});if(!p)return;var[,d]=p,y=E.pathRef(t,d),g=E.isEnd(t,a,d);I.splitNodes(t,{at:a,match:u,mode:i,voids:o});var v=y.unref();a=g?_.next(v):v}var m=_.parent(a),h=a[a.length-1];if(o||!E.void(t,{at:m})){for(var b of e){var w=m.concat(h);h++,t.apply({type:"insert_node",path:w,node:b}),a=_.next(a)}if(a=_.previous(a),s){var S=E.end(t,a);S&&I.select(t,S)}}}})},liftNodes(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};E.withoutNormalizing(t,()=>{var{at:n=t.selection,mode:r="lowest",voids:o=!1}=e,{match:i}=e;if(i==null&&(i=_.isPath(n)?Pl(t,n):b=>E.isBlock(t,b)),n){var a=E.nodes(t,{at:n,match:i,mode:r,voids:o}),u=Array.from(a,b=>{var[,w]=b;return E.pathRef(t,w)});for(var s of u){var l=s.unref();if(l.length<2)throw new Error("Cannot lift node at a path [".concat(l,"] because it has a depth of less than `2`."));var c=E.node(t,_.parent(l)),[f,p]=c,d=l[l.length-1],{length:y}=f.children;if(y===1){var g=_.next(p);I.moveNodes(t,{at:l,to:g,voids:o}),I.removeNodes(t,{at:p,voids:o})}else if(d===0)I.moveNodes(t,{at:l,to:p,voids:o});else if(d===y-1){var v=_.next(p);I.moveNodes(t,{at:l,to:v,voids:o})}else{var m=_.next(l),h=_.next(p);I.splitNodes(t,{at:m,voids:o}),I.moveNodes(t,{at:l,to:h,voids:o})}}}})},mergeNodes(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};E.withoutNormalizing(t,()=>{var{match:n,at:r=t.selection}=e,{hanging:o=!1,voids:i=!1,mode:a="lowest"}=e;if(r){if(n==null)if(_.isPath(r)){var[u]=E.parent(t,r);n=T=>u.children.includes(T)}else n=T=>E.isBlock(t,T);if(!o&&M.isRange(r)&&(r=E.unhangRange(t,r)),M.isRange(r))if(M.isCollapsed(r))r=r.anchor;else{var[,s]=M.edges(r),l=E.pointRef(t,s);I.delete(t,{at:r}),r=l.unref(),e.at==null&&I.select(t,r)}var[c]=E.nodes(t,{at:r,match:n,voids:i,mode:a}),f=E.previous(t,{at:r,match:n,voids:i,mode:a});if(c&&f){var[p,d]=c,[y,g]=f;if(d.length!==0&&g.length!==0){var v,m,h=_.next(g),b=_.common(d,g),w=_.isSibling(d,g),S=Array.from(E.levels(t,{at:d}),T=>{var[L]=T;return L}).slice(b.length).slice(0,-1),D=E.above(t,{at:d,mode:"highest",match:T=>S.includes(T)&&R7(t,T)}),C=D&&E.pathRef(t,D[1]);if(ft.isText(p)&&ft.isText(y)){var O=_i(p,wG);m=y.text.length,v=O}else{if(!bt.isElement(p)||!bt.isElement(y))throw new Error("Cannot merge the node at path [".concat(d,"] with the previous sibling because it is not the same kind: ").concat(JSON.stringify(p)," ").concat(JSON.stringify(y)));O=_i(p,EG),m=y.children.length,v=O}w||I.moveNodes(t,{at:d,to:h,voids:i}),C&&I.removeNodes(t,{at:C.current,voids:i}),bt.isElement(y)&&E.isEmpty(t,y)||ft.isText(y)&&y.text===""&&g[g.length-1]!==0?I.removeNodes(t,{at:g,voids:i}):t.apply({type:"merge_node",path:h,position:m,properties:v}),C&&C.unref()}}}})},moveNodes(t,e){E.withoutNormalizing(t,()=>{var{to:n,at:r=t.selection,mode:o="lowest",voids:i=!1}=e,{match:a}=e;if(r){a==null&&(a=_.isPath(r)?Pl(t,r):d=>E.isBlock(t,d));var u=E.pathRef(t,n),s=E.nodes(t,{at:r,match:a,mode:o,voids:i}),l=Array.from(s,d=>{var[,y]=d;return E.pathRef(t,y)});for(var c of l){var f=c.unref(),p=u.current;f.length!==0&&t.apply({type:"move_node",path:f,newPath:p}),u.current&&_.isSibling(p,f)&&_.isAfter(p,f)&&(u.current=_.next(u.current))}u.unref()}})},removeNodes(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};E.withoutNormalizing(t,()=>{var{hanging:n=!1,voids:r=!1,mode:o="lowest"}=e,{at:i=t.selection,match:a}=e;if(i){a==null&&(a=_.isPath(i)?Pl(t,i):p=>E.isBlock(t,p)),!n&&M.isRange(i)&&(i=E.unhangRange(t,i));var u=E.nodes(t,{at:i,match:a,mode:o,voids:r}),s=Array.from(u,p=>{var[,d]=p;return E.pathRef(t,d)});for(var l of s){var c=l.unref();if(c){var[f]=E.node(t,c);t.apply({type:"remove_node",path:c,node:f})}}}})},setNodes(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};E.withoutNormalizing(t,()=>{var{match:r,at:o=t.selection}=n,{hanging:i=!1,mode:a="lowest",split:u=!1,voids:s=!1}=n;if(o){if(r==null&&(r=_.isPath(o)?Pl(t,o):S=>E.isBlock(t,S)),!i&&M.isRange(o)&&(o=E.unhangRange(t,o)),u&&M.isRange(o)){if(M.isCollapsed(o)&&E.leaf(t,o.anchor)[0].text.length>0)return;var l=E.rangeRef(t,o,{affinity:"inward"}),[c,f]=M.edges(o),p=a==="lowest"?"lowest":"highest",d=E.isEnd(t,f,f.path);I.splitNodes(t,{at:f,match:r,mode:p,voids:s,always:!d});var y=E.isStart(t,c,c.path);I.splitNodes(t,{at:c,match:r,mode:p,voids:s,always:!y}),o=l.unref(),n.at==null&&I.select(t,o)}for(var[g,v]of E.nodes(t,{at:o,match:r,mode:a,voids:s})){var m={},h={};if(v.length!==0){var b=!1;for(var w in e)w!=="children"&&w!=="text"&&e[w]!==g[w]&&(b=!0,g.hasOwnProperty(w)&&(m[w]=g[w]),e[w]!=null&&(h[w]=e[w]));b&&t.apply({type:"set_node",path:v,properties:m,newProperties:h})}}}})},splitNodes(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};E.withoutNormalizing(t,()=>{var{mode:n="lowest",voids:r=!1}=e,{match:o,at:i=t.selection,height:a=0,always:u=!1}=e;if(o==null&&(o=G=>E.isBlock(t,G)),M.isRange(i)&&(i=CG(t,i)),_.isPath(i)){var s=i,l=E.point(t,s),[c]=E.parent(t,s);o=G=>G===c,a=l.path.length-s.length+1,i=l,u=!0}if(i){var f=E.pointRef(t,i,{affinity:"backward"}),[p]=E.nodes(t,{at:i,match:o,mode:n,voids:r});if(p){var d=E.void(t,{at:i,mode:"highest"});if(!r&&d){var[y,g]=d;if(bt.isElement(y)&&t.isInline(y)){var v=E.after(t,g);if(!v){var m=_.next(g);I.insertNodes(t,{text:""},{at:m,voids:r}),v=E.point(t,m)}i=v,u=!0}a=i.path.length-g.length+1,u=!0}var h=E.pointRef(t,i),b=i.path.length-a,[,w]=p,S=i.path.slice(0,b),D=a===0?i.offset:i.path[b]+0;for(var[C,O]of E.levels(t,{at:S,reverse:!0,voids:r})){var T=!1;if(O.length<w.length||O.length===0||!r&&E.isVoid(t,C))break;var L=f.current,z=E.isEnd(t,L,O);if(u||!f||!E.isEdge(t,L,O)){T=!0;var $=et.extractProps(C);t.apply({type:"split_node",path:O,position:D,properties:$})}D=O[O.length-1]+(T||z?1:0)}if(e.at==null){var Y=h.current||E.end(t,[]);I.select(t,Y)}f.unref(),h.unref()}}})},unsetNodes(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};Array.isArray(e)||(e=[e]);var r={};for(var o of e)r[o]=null;I.setNodes(t,r,n)},unwrapNodes(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};E.withoutNormalizing(t,()=>{var{mode:n="lowest",split:r=!1,voids:o=!1}=e,{at:i=t.selection,match:a}=e;if(i){a==null&&(a=_.isPath(i)?Pl(t,i):p=>E.isBlock(t,p)),_.isPath(i)&&(i=E.range(t,i));var u=M.isRange(i)?E.rangeRef(t,i):null,s=E.nodes(t,{at:i,match:a,mode:n,voids:o}),l=Array.from(s,p=>{var[,d]=p;return E.pathRef(t,d)}).reverse(),c=function(p){var d=p.unref(),[y]=E.node(t,d),g=E.range(t,d);r&&u&&(g=M.intersection(u.current,g)),I.liftNodes(t,{at:g,match:v=>bt.isAncestor(y)&&y.children.includes(v),voids:o})};for(var f of l)c(f);u&&u.unref()}})},wrapNodes(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};E.withoutNormalizing(t,()=>{var{mode:r="lowest",split:o=!1,voids:i=!1}=n,{match:a,at:u=t.selection}=n;if(u){if(a==null&&(a=_.isPath(u)?Pl(t,u):t.isInline(e)?v=>E.isInline(t,v)||ft.isText(v):v=>E.isBlock(t,v)),o&&M.isRange(u)){var[s,l]=M.edges(u),c=E.rangeRef(t,u,{affinity:"inward"});I.splitNodes(t,{at:l,match:a,voids:i}),I.splitNodes(t,{at:s,match:a,voids:i}),u=c.unref(),n.at==null&&I.select(t,u)}var f=Array.from(E.nodes(t,{at:u,match:t.isInline(e)?v=>E.isBlock(t,v):v=>E.isEditor(v),mode:"lowest",voids:i}));for(var[,p]of f){var d=M.isRange(u)?M.intersection(u,E.range(t,p)):u;if(d){var y=Array.from(E.nodes(t,{at:d,match:a,mode:r,voids:i}));if(y.length>0){var g=function(){var[v]=y,m=y[y.length-1],[,h]=v,[,b]=m;if(h.length===0&&b.length===0)return"continue";var w=_.equals(h,b)?_.parent(h):_.common(h,b),S=E.range(t,h,b),D=E.node(t,w),[C]=D,O=w.length+1,T=_.next(b.slice(0,O)),L=L7(L7({},e),{},{children:[]});I.insertNodes(t,L,{at:T,voids:i}),I.moveNodes(t,{at:S,match:z=>bt.isAncestor(C)&&C.children.includes(z),to:T.concat(0),voids:i})}();if(g==="continue")continue}}}}})}},R7=(t,e)=>{if(bt.isElement(e)){var n=e;return!!E.isVoid(t,e)||n.children.length===1&&R7(t,n.children[0])}return!E.isEditor(e)},CG=(t,e)=>{if(M.isCollapsed(e))return e.anchor;var[,n]=M.edges(e),r=E.pointRef(t,n);return I.delete(t,{at:e}),r.unref()},Pl=(t,e)=>{var[n]=E.node(t,e);return r=>r===n};function M7(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function z7(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?M7(Object(n),!0).forEach(function(r){Xo(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):M7(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var DG={collapse(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{edge:n="anchor"}=e,{selection:r}=t;if(r){if(n==="anchor")I.select(t,r.anchor);else if(n==="focus")I.select(t,r.focus);else if(n==="start"){var[o]=M.edges(r);I.select(t,o)}else if(n==="end"){var[,i]=M.edges(r);I.select(t,i)}}},deselect(t){var{selection:e}=t;e&&t.apply({type:"set_selection",properties:e,newProperties:null})},move(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{selection:n}=t,{distance:r=1,unit:o="character",reverse:i=!1}=e,{edge:a=null}=e;if(n){a==="start"&&(a=M.isBackward(n)?"focus":"anchor"),a==="end"&&(a=M.isBackward(n)?"anchor":"focus");var{anchor:u,focus:s}=n,l={distance:r,unit:o},c={};if(a==null||a==="anchor"){var f=i?E.before(t,u,l):E.after(t,u,l);f&&(c.anchor=f)}if(a==null||a==="focus"){var p=i?E.before(t,s,l):E.after(t,s,l);p&&(c.focus=p)}I.setSelection(t,c)}},select(t,e){var{selection:n}=t;if(e=E.range(t,e),n)I.setSelection(t,e);else{if(!M.isRange(e))throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(JSON.stringify(e)));t.apply({type:"set_selection",properties:n,newProperties:e})}},setPoint(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{selection:r}=t,{edge:o="both"}=n;if(r){o==="start"&&(o=M.isBackward(r)?"focus":"anchor"),o==="end"&&(o=M.isBackward(r)?"anchor":"focus");var{anchor:i,focus:a}=r,u=o==="anchor"?i:a;I.setSelection(t,{[o==="anchor"?"anchor":"focus"]:z7(z7({},u),e)})}},setSelection(t,e){var{selection:n}=t,r={},o={};if(n){for(var i in e)(i==="anchor"&&e.anchor!=null&&!Ut.equals(e.anchor,n.anchor)||i==="focus"&&e.focus!=null&&!Ut.equals(e.focus,n.focus)||i!=="anchor"&&i!=="focus"&&e[i]!==n[i])&&(r[i]=n[i],o[i]=e[i]);Object.keys(r).length>0&&t.apply({type:"set_selection",properties:r,newProperties:o})}}},xG={delete(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};E.withoutNormalizing(t,()=>{var{reverse:n=!1,unit:r="character",distance:o=1,voids:i=!1}=e,{at:a=t.selection,hanging:u=!1}=e;if(a){if(M.isRange(a)&&M.isCollapsed(a)&&(a=a.anchor),Ut.isPoint(a)){var s=E.void(t,{at:a,mode:"highest"});if(!i&&s){var[,l]=s;a=l}else{var c={unit:r,distance:o};a={anchor:a,focus:n?E.before(t,a,c)||E.start(t,[]):E.after(t,a,c)||E.end(t,[])},u=!0}}if(_.isPath(a))I.removeNodes(t,{at:a,voids:i});else if(!M.isCollapsed(a)){if(!u){var[,f]=M.edges(a),p=E.end(t,[]);Ut.equals(f,p)||(a=E.unhangRange(t,a,{voids:i}))}var[d,y]=M.edges(a),g=E.above(t,{match:Dt=>E.isBlock(t,Dt),at:d,voids:i}),v=E.above(t,{match:Dt=>E.isBlock(t,Dt),at:y,voids:i}),m=g&&v&&!_.equals(g[1],v[1]),h=_.equals(d.path,y.path),b=i?null:E.void(t,{at:d,mode:"highest"}),w=i?null:E.void(t,{at:y,mode:"highest"});if(b){var S=E.before(t,d);S&&g&&_.isAncestor(g[1],S.path)&&(d=S)}if(w){var D=E.after(t,y);D&&v&&_.isAncestor(v[1],D.path)&&(y=D)}var C,O=[];for(var T of E.nodes(t,{at:a,voids:i})){var[L,z]=T;C&&_.compare(z,C)===0||(!i&&E.isVoid(t,L)||!_.isCommon(z,d.path)&&!_.isCommon(z,y.path))&&(O.push(T),C=z)}var $=Array.from(O,Dt=>{var[,Tt]=Dt;return E.pathRef(t,Tt)}),Y=E.pointRef(t,d),G=E.pointRef(t,y);if(!h&&!b){var K=Y.current,[Z]=E.leaf(t,K),{path:ut}=K,{offset:yt}=d,mt=Z.text.slice(yt);mt.length>0&&t.apply({type:"remove_text",path:ut,offset:yt,text:mt})}for(var gt of $){var B=gt.unref();I.removeNodes(t,{at:B,voids:i})}if(!w){var x=G.current,[j]=E.leaf(t,x),{path:U}=x,X=h?d.offset:0,W=j.text.slice(X,y.offset);W.length>0&&t.apply({type:"remove_text",path:U,offset:X,text:W})}!h&&m&&G.current&&Y.current&&I.mergeNodes(t,{at:G.current,hanging:!0,voids:i});var dt=n?Y.unref()||G.unref():G.unref()||Y.unref();e.at==null&&dt&&I.select(t,dt)}}})},insertFragment(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};E.withoutNormalizing(t,()=>{var{hanging:r=!1,voids:o=!1}=n,{at:i=t.selection}=n;if(e.length&&i){if(M.isRange(i))if(r||(i=E.unhangRange(t,i)),M.isCollapsed(i))i=i.anchor;else{var[,a]=M.edges(i);if(!o&&E.void(t,{at:a}))return;var u=E.pointRef(t,a);I.delete(t,{at:i}),i=u.unref()}else _.isPath(i)&&(i=E.start(t,i));if(o||!E.void(t,{at:i})){var s=E.above(t,{at:i,match:x=>E.isInline(t,x),mode:"highest",voids:o});if(s){var[,l]=s;E.isEnd(t,i,l)?i=E.after(t,l):E.isStart(t,i,l)&&(i=E.before(t,l))}var c=E.above(t,{match:x=>E.isBlock(t,x),at:i,voids:o}),[,f]=c,p=E.isStart(t,i,f),d=E.isEnd(t,i,f),y=p&&d,g=!p||p&&d,v=!d,[,m]=et.first({children:e},[]),[,h]=et.last({children:e},[]),b=[],w=x=>{var[j,U]=x;return U.length!==0&&(!!y||!(g&&_.isAncestor(U,m)&&bt.isElement(j)&&!t.isVoid(j)&&!t.isInline(j))&&!(v&&_.isAncestor(U,h)&&bt.isElement(j)&&!t.isVoid(j)&&!t.isInline(j)))};for(var S of et.nodes({children:e},{pass:w}))w(S)&&b.push(S);var D=[],C=[],O=[],T=!0,L=!1;for(var[z]of b)bt.isElement(z)&&!t.isInline(z)?(T=!1,L=!0,C.push(z)):T?D.push(z):O.push(z);var[$]=E.nodes(t,{at:i,match:x=>ft.isText(x)||E.isInline(t,x),mode:"highest",voids:o}),[,Y]=$,G=E.isStart(t,i,Y),K=E.isEnd(t,i,Y),Z=E.pathRef(t,d?_.next(f):f),ut=E.pathRef(t,K?_.next(Y):Y),yt=E.pathRef(t,f);I.splitNodes(t,{at:i,match:x=>L?E.isBlock(t,x):ft.isText(x)||E.isInline(t,x),mode:L?"lowest":"highest",voids:o});var mt=E.pathRef(t,!G||G&&K?_.next(Y):Y);if(I.insertNodes(t,D,{at:mt.current,match:x=>ft.isText(x)||E.isInline(t,x),mode:"highest",voids:o}),y&&C.length&&I.delete(t,{at:yt.unref(),voids:o}),I.insertNodes(t,C,{at:Z.current,match:x=>E.isBlock(t,x),mode:"lowest",voids:o}),I.insertNodes(t,O,{at:ut.current,match:x=>ft.isText(x)||E.isInline(t,x),mode:"highest",voids:o}),!n.at){var gt;gt=O.length>0?_.previous(ut.current):C.length>0?_.previous(Z.current):_.previous(mt.current);var B=E.end(t,gt);I.select(t,B)}mt.unref(),Z.unref(),ut.unref()}}})},insertText(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};E.withoutNormalizing(t,()=>{var{voids:r=!1}=n,{at:o=t.selection}=n;if(o){if(_.isPath(o)&&(o=E.range(t,o)),M.isRange(o))if(M.isCollapsed(o))o=o.anchor;else{var i=M.end(o);if(!r&&E.void(t,{at:i}))return;var a=E.pointRef(t,i);I.delete(t,{at:o,voids:r}),o=a.unref(),I.setSelection(t,{anchor:o,focus:o})}if(r||!E.void(t,{at:o})){var{path:u,offset:s}=o;e.length>0&&t.apply({type:"insert_text",path:u,offset:s,text:e})}}})}};function $7(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),n.push.apply(n,r)}return n}function wg(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?$7(Object(n),!0).forEach(function(r){Xo(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$7(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var I=wg(wg(wg(wg({},bG),SG),DG),xG),j2="[object Map]",_2="[object Set]",AG=/^\[object .+?Constructor\]$/,OG=/^(?:0|[1-9]\d*)$/,kG="[\\ud800-\\udfff]",I2="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",N2="\\ud83c[\\udffb-\\udfff]",H7="[^\\ud800-\\udfff]",U7="(?:\\ud83c[\\udde6-\\uddff]){2}",V7="[\\ud800-\\udbff][\\udc00-\\udfff]",W7="(?:"+I2+"|"+N2+")?",BG="[\\ufe0e\\ufe0f]?"+W7+("(?:\\u200d(?:"+[H7,U7,V7].join("|")+")[\\ufe0e\\ufe0f]?"+W7+")*"),FG="(?:"+[H7+I2+"?",I2,U7,V7,kG].join("|")+")",TG=RegExp(N2+"(?="+N2+")|"+FG+BG,"g"),PG=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),jG=typeof ne=="object"&&ne&&ne.Object===Object&&ne,_G=typeof self=="object"&&self&&self.Object===Object&&self,Ju=jG||_G||Function("return this")();function IG(t,e){return function(n,r){for(var o=-1,i=n?n.length:0,a=Array(i);++o<i;)a[o]=r(n[o],o,n);return a}(e,function(n){return t[n]})}function NG(t){var e=-1,n=Array(t.size);return t.forEach(function(r,o){n[++e]=[o,r]}),n}function LG(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}function RG(t){return function(e){return PG.test(e)}(t)?function(e){return e.match(TG)||[]}(t):function(e){return e.split("")}(t)}var G7,K7,MG=Function.prototype,Eg=Object.prototype,L2=Ju["__core-js_shared__"],q7=function(){var t=/[^.]+$/.exec(L2&&L2.keys&&L2.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Z7=MG.toString,Sg=Eg.hasOwnProperty,id=Eg.toString,zG=RegExp("^"+Z7.call(Sg).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Y7=Ju.Symbol,R2=Y7?Y7.iterator:void 0,$G=Eg.propertyIsEnumerable,HG=(G7=Object.keys,K7=Object,function(t){return G7(K7(t))}),M2=ad(Ju,"DataView"),z2=ad(Ju,"Map"),$2=ad(Ju,"Promise"),H2=ad(Ju,"Set"),U2=ad(Ju,"WeakMap"),UG=ts(M2),VG=ts(z2),WG=ts($2),GG=ts(H2),KG=ts(U2);function qG(t,e){var n=X7(t)||function(a){return function(u){return t9(u)&&V2(u)}(a)&&Sg.call(a,"callee")&&(!$G.call(a,"callee")||id.call(a)=="[object Arguments]")}(t)?function(a,u){for(var s=-1,l=Array(a);++s<a;)l[s]=u(s);return l}(t.length,String):[],r=n.length,o=!!r;for(var i in t)!e&&!Sg.call(t,i)||o&&(i=="length"||XG(i,r))||n.push(i);return n}function ZG(t){if(!Q7(t)||function(n){return!!q7&&q7 in n}(t))return!1;var e=J7(t)||function(n){var r=!1;if(n!=null&&typeof n.toString!="function")try{r=!!(n+"")}catch(o){}return r}(t)?zG:AG;return e.test(ts(t))}function YG(t){if(n=(e=t)&&e.constructor,r=typeof n=="function"&&n.prototype||Eg,e!==r)return HG(t);var e,n,r,o=[];for(var i in Object(t))Sg.call(t,i)&&i!="constructor"&&o.push(i);return o}function ad(t,e){var n=function(r,o){return r==null?void 0:r[o]}(t,e);return ZG(n)?n:void 0}var Qu=function(t){return id.call(t)};function XG(t,e){return!!(e=e==null?9007199254740991:e)&&(typeof t=="number"||OG.test(t))&&t>-1&&t%1==0&&t<e}function ts(t){if(t!=null){try{return Z7.call(t)}catch(e){}try{return t+""}catch(e){}}return""}(M2&&Qu(new M2(new ArrayBuffer(1)))!="[object DataView]"||z2&&Qu(new z2)!=j2||$2&&Qu($2.resolve())!="[object Promise]"||H2&&Qu(new H2)!=_2||U2&&Qu(new U2)!="[object WeakMap]")&&(Qu=function(t){var e=id.call(t),n=e=="[object Object]"?t.constructor:void 0,r=n?ts(n):void 0;if(r)switch(r){case UG:return"[object DataView]";case VG:return j2;case WG:return"[object Promise]";case GG:return _2;case KG:return"[object WeakMap]"}return e});var X7=Array.isArray;function V2(t){return t!=null&&function(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=9007199254740991}(t.length)&&!J7(t)}function J7(t){var e=Q7(t)?id.call(t):"";return e=="[object Function]"||e=="[object GeneratorFunction]"}function Q7(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function t9(t){return!!t&&typeof t=="object"}function JG(t){return t?IG(t,function(e){return V2(e)?qG(e):YG(e)}(t)):[]}var e9=function(t){if(!t)return[];if(V2(t))return function(n){return typeof n=="string"||!X7(n)&&t9(n)&&id.call(n)=="[object String]"}(t)?RG(t):function(n,r){var o=-1,i=n.length;for(r||(r=Array(i));++o<i;)r[o]=n[o];return r}(t);if(R2&&t[R2])return function(n){for(var r,o=[];!(r=n.next()).done;)o.push(r.value);return o}(t[R2]());var e=Qu(t);return(e==j2?NG:e==_2?LG:JG)(t)};function n9(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function W2(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(function(n){t[n]===void 0?t[n]=e[n]:n9(e[n])&&n9(t[n])&&Object.keys(e[n]).length>0&&W2(t[n],e[n])})}var r9={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function ud(){var t=typeof document!="undefined"?document:{};return W2(t,r9),t}var QG={document:r9,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(t){return typeof setTimeout=="undefined"?(t(),null):setTimeout(t,0)},cancelAnimationFrame:function(t){typeof setTimeout!="undefined"&&clearTimeout(t)}};function es(){var t=typeof window!="undefined"?window:{};return W2(t,QG),t}function G2(t){return G2=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},G2(t)}function Cg(t,e){return Cg=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},Cg(t,e)}function tK(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function K2(t,e,n){return K2=tK()?Reflect.construct:function(r,o,i){var a=[null];a.push.apply(a,o);var u=new(Function.bind.apply(r,a));return i&&Cg(u,i.prototype),u},K2.apply(null,arguments)}function q2(t){var e=typeof Map=="function"?new Map:void 0;return q2=function(n){if(n===null||!function(o){return Function.toString.call(o).indexOf("[native code]")!==-1}(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(e!==void 0){if(e.has(n))return e.get(n);e.set(n,r)}function r(){return K2(n,arguments,G2(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),Cg(r,n)},q2(t)}var wa=function(t){var e,n;function r(o){var i,a,u;return i=t.call.apply(t,[this].concat(o))||this,a=function(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}(i),u=a.__proto__,Object.defineProperty(a,"__proto__",{get:function(){return u},set:function(s){u.__proto__=s}}),i}return n=t,(e=r).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n,r}(q2(Array));function Dg(t){t===void 0&&(t=[]);var e=[];return t.forEach(function(n){Array.isArray(n)?e.push.apply(e,Dg(n)):e.push(n)}),e}function o9(t,e){return Array.prototype.filter.call(t,e)}function k(t,e){var n=es(),r=ud(),o=[];if(!e&&t instanceof wa)return t;if(!t)return new wa(o);if(typeof t=="string"){var i=t.trim();if(i.indexOf("<")>=0&&i.indexOf(">")>=0){var a="div";i.indexOf("<li")===0&&(a="ul"),i.indexOf("<tr")===0&&(a="tbody"),i.indexOf("<td")!==0&&i.indexOf("<th")!==0||(a="tr"),i.indexOf("<tbody")===0&&(a="table"),i.indexOf("<option")===0&&(a="select");var u=r.createElement(a);u.innerHTML=i;for(var s=0;s<u.childNodes.length;s+=1)o.push(u.childNodes[s])}else o=function(l,c){if(typeof l!="string")return[l];for(var f=[],p=c.querySelectorAll(l),d=0;d<p.length;d+=1)f.push(p[d]);return f}(t.trim(),e||r)}else if(t.nodeType||t===n||t===r)o.push(t);else if(Array.isArray(t)){if(t instanceof wa)return t;o=t}return new wa(function(l){for(var c=[],f=0;f<l.length;f+=1)c.indexOf(l[f])===-1&&c.push(l[f]);return c}(o))}function jl(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=Dg(e.map(function(o){return o.split(" ")}));return this.forEach(function(o){var i;(i=o.classList).add.apply(i,r)}),this}function _l(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=Dg(e.map(function(o){return o.split(" ")}));return this.forEach(function(o){var i;(i=o.classList).remove.apply(i,r)}),this}function Il(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=Dg(e.map(function(o){return o.split(" ")}));return o9(this,function(o){return r.filter(function(i){return o.classList.contains(i)}).length>0}).length>0}function Qr(t,e){if(arguments.length===1&&typeof t=="string")return this[0]?this[0].getAttribute(t):void 0;for(var n=0;n<this.length;n+=1)if(arguments.length===2)this[n].setAttribute(t,e);else for(var r in t)this[n][r]=t[r],this[n].setAttribute(r,t[r]);return this}function xg(t){for(var e=0;e<this.length;e+=1)this[e].removeAttribute(t);return this}function Nl(){var t=this[0];if(t){var e,n={};if(t.dataset)for(var r in t.dataset)n[r]=t.dataset[r];else for(var o=0;o<t.attributes.length;o+=1){var i=t.attributes[o];i.name.indexOf("data-")>=0&&(n[e=i.name.split("data-")[1],e.toLowerCase().replace(/-(.)/g,function(u,s){return s.toUpperCase()})]=i.value)}for(var a in n)n[a]==="false"?n[a]=!1:n[a]==="true"?n[a]=!0:parseFloat(n[a])===1*n[a]&&(n[a]*=1);return n}}function Jo(t){if(t===void 0){var e=this[0];if(!e)return;if(e.multiple&&e.nodeName.toLowerCase()==="select"){for(var n=[],r=0;r<e.selectedOptions.length;r+=1)n.push(e.selectedOptions[r].value);return n}return e.value}for(var o=0;o<this.length;o+=1){var i=this[o];if(Array.isArray(t)&&i.multiple&&i.nodeName.toLowerCase()==="select")for(var a=0;a<i.options.length;a+=1)i.options[a].selected=t.indexOf(i.options[a].value)>=0;else i.value=t}return this}function Qo(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0],o=e[1],i=e[2],a=e[3];function u(g){var v=g.target;if(v){var m=g.target.dom7EventData||[];if(m.indexOf(g)<0&&m.unshift(g),k(v).is(o))i.apply(v,m);else for(var h=k(v).parents(),b=0;b<h.length;b+=1)k(h[b]).is(o)&&i.apply(h[b],m)}}function s(g){var v=g&&g.target&&g.target.dom7EventData||[];v.indexOf(g)<0&&v.unshift(g),i.apply(this,v)}typeof e[1]=="function"&&(r=e[0],i=e[1],a=e[2],o=void 0),a||(a=!1);for(var l,c=r.split(" "),f=0;f<this.length;f+=1){var p=this[f];if(o)for(l=0;l<c.length;l+=1){var d=c[l];p.dom7LiveListeners||(p.dom7LiveListeners={}),p.dom7LiveListeners[d]||(p.dom7LiveListeners[d]=[]),p.dom7LiveListeners[d].push({listener:i,proxyListener:u}),p.addEventListener(d,u,a)}else for(l=0;l<c.length;l+=1){var y=c[l];p.dom7Listeners||(p.dom7Listeners={}),p.dom7Listeners[y]||(p.dom7Listeners[y]=[]),p.dom7Listeners[y].push({listener:i,proxyListener:s}),p.addEventListener(y,s,a)}}return this}function i9(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0],o=e[1],i=e[2],a=e[3];typeof e[1]=="function"&&(r=e[0],i=e[1],a=e[2],o=void 0),a||(a=!1);for(var u=r.split(" "),s=0;s<u.length;s+=1)for(var l=u[s],c=0;c<this.length;c+=1){var f=this[c],p=void 0;if(!o&&f.dom7Listeners?p=f.dom7Listeners[l]:o&&f.dom7LiveListeners&&(p=f.dom7LiveListeners[l]),p&&p.length)for(var d=p.length-1;d>=0;d-=1){var y=p[d];i&&y.listener===i||i&&y.listener&&y.listener.dom7proxy&&y.listener.dom7proxy===i?(f.removeEventListener(l,y.proxyListener,a),p.splice(d,1)):i||(f.removeEventListener(l,y.proxyListener,a),p.splice(d,1))}}return this}function Ag(){var t=es();return this[0]===t?t.innerWidth:this.length>0?parseFloat(this.css("width")):null}function Og(){var t=es();return this[0]===t?t.innerHeight:this.length>0?parseFloat(this.css("height")):null}function a9(){if(this.length>0){var t=es(),e=ud(),n=this[0],r=n.getBoundingClientRect(),o=e.body,i=n.clientTop||o.clientTop||0,a=n.clientLeft||o.clientLeft||0,u=n===t?t.scrollY:n.scrollTop,s=n===t?t.scrollX:n.scrollLeft;return{top:r.top+u-i,left:r.left+s-a}}return null}function Ll(){for(var t=0;t<this.length;t+=1)this[t].style.display="none";return this}function kg(){for(var t=es(),e=0;e<this.length;e+=1){var n=this[e];n.style.display==="none"&&(n.style.display=""),t.getComputedStyle(n,null).getPropertyValue("display")==="none"&&(n.style.display="block")}return this}function Bg(t,e){var n,r=es();if(arguments.length===1){if(typeof t!="string"){for(n=0;n<this.length;n+=1)for(var o in t)this[n].style[o]=t[o];return this}if(this[0])return r.getComputedStyle(this[0],null).getPropertyValue(t)}if(arguments.length===2&&typeof t=="string"){for(n=0;n<this.length;n+=1)this[n].style[t]=e;return this}return this}function Fg(t){return t?(this.forEach(function(e,n){t.apply(e,[e,n])}),this):this}function u9(t){return k(o9(this,t))}function Ea(t){if(t===void 0)return this[0]?this[0].innerHTML:null;for(var e=0;e<this.length;e+=1)this[e].innerHTML=t;return this}function Tg(t){if(t===void 0)return this[0]?this[0].textContent.trim():null;for(var e=0;e<this.length;e+=1)this[e].textContent=t;return this}function s9(t){var e,n,r=es(),o=ud(),i=this[0];if(!i||t===void 0)return!1;if(typeof t=="string"){if(i.matches)return i.matches(t);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(t);if(i.msMatchesSelector)return i.msMatchesSelector(t);for(e=k(t),n=0;n<e.length;n+=1)if(e[n]===i)return!0;return!1}if(t===o)return i===o;if(t===r)return i===r;if(t.nodeType||t instanceof wa){for(e=t.nodeType?[t]:t,n=0;n<e.length;n+=1)if(e[n]===i)return!0;return!1}return!1}function to(){for(var t,e=ud(),n=0;n<arguments.length;n+=1){t=n<0||arguments.length<=n?void 0:arguments[n];for(var r=0;r<this.length;r+=1)if(typeof t=="string"){var o=e.createElement("div");for(o.innerHTML=t;o.firstChild;)this[r].appendChild(o.firstChild)}else if(t instanceof wa)for(var i=0;i<t.length;i+=1)this[r].appendChild(t[i]);else this[r].appendChild(t)}return this}function l9(t){var e,n,r=ud();for(e=0;e<this.length;e+=1)if(typeof t=="string"){var o=r.createElement("div");for(o.innerHTML=t,n=o.childNodes.length-1;n>=0;n-=1)this[e].insertBefore(o.childNodes[n],this[e].childNodes[0])}else if(t instanceof wa)for(n=0;n<t.length;n+=1)this[e].insertBefore(t[n],this[e].childNodes[0]);else this[e].insertBefore(t,this[e].childNodes[0]);return this}function Rl(t){for(var e=[],n=0;n<this.length;n+=1)this[n].parentNode!==null&&(t?k(this[n].parentNode).is(t)&&e.push(this[n].parentNode):e.push(this[n].parentNode));return k(e)}function Pg(t){for(var e=[],n=0;n<this.length;n+=1)for(var r=this[n].parentNode;r;)t?k(r).is(t)&&e.push(r):e.push(r),r=r.parentNode;return k(e)}function Ml(t){for(var e=[],n=0;n<this.length;n+=1)for(var r=this[n].querySelectorAll(t),o=0;o<r.length;o+=1)e.push(r[o]);return k(e)}function zl(t){for(var e=[],n=0;n<this.length;n+=1)for(var r=this[n].children,o=0;o<r.length;o+=1)t&&!k(r[o]).is(t)||e.push(r[o]);return k(e)}function $l(){for(var t=0;t<this.length;t+=1)this[t].parentNode&&this[t].parentNode.removeChild(this[t]);return this}function Hl(){for(var t=0;t<this.length;t+=1){var e=this[t];if(e.nodeType===1){for(var n=0;n<e.childNodes.length;n+=1)e.childNodes[n].parentNode&&e.childNodes[n].parentNode.removeChild(e.childNodes[n]);e.textContent=""}}return this}k.fn=wa.prototype;var eK="resize scroll".split(" ");function c9(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];if(n[0]===void 0){for(var o=0;o<this.length;o+=1)eK.indexOf(t)<0&&(t in this[o]?this[o][t]():k(this[o]).trigger(t));return this}return this.on.apply(this,[t].concat(n))}}var f9=c9("click"),Sa=c9("focus"),nK="[object GeneratorFunction]",rK=/^(?:0|[1-9]\d*)$/;function oK(t,e){for(var n=-1,r=t?t.length:0;++n<r&&e(t[n],n,t)!==!1;);return t}var jg=Object.prototype,Z2=jg.hasOwnProperty,d9=jg.toString,iK=jg.propertyIsEnumerable,aK=function(t,e){return function(n){return t(e(n))}}(Object.keys,Object);function uK(t,e){var n=g9(t)||function(a){return function(u){return function(s){return!!s&&typeof s=="object"}(u)&&Y2(u)}(a)&&Z2.call(a,"callee")&&(!iK.call(a,"callee")||d9.call(a)=="[object Arguments]")}(t)?function(a,u){for(var s=-1,l=Array(a);++s<a;)l[s]=u(s);return l}(t.length,String):[],r=n.length,o=!!r;for(var i in t)!e&&!Z2.call(t,i)||o&&(i=="length"||fK(i,r))||n.push(i);return n}var p9,h9,sK=(p9=function(t,e){return t&&lK(t,e,dK)},function(t,e){if(t==null)return t;if(!Y2(t))return p9(t,e);for(var n=t.length,r=h9?n:-1,o=Object(t);(h9?r--:++r<n)&&e(o[r],r,o)!==!1;);return t}),lK=function(t){return function(e,n,r){for(var o=-1,i=Object(e),a=r(e),u=a.length;u--;){var s=a[t?u:++o];if(n(i[s],s,i)===!1)break}return e}}();function cK(t){if(n=(e=t)&&e.constructor,r=typeof n=="function"&&n.prototype||jg,e!==r)return aK(t);var e,n,r,o=[];for(var i in Object(t))Z2.call(t,i)&&i!="constructor"&&o.push(i);return o}function fK(t,e){return!!(e=e==null?9007199254740991:e)&&(typeof t=="number"||rK.test(t))&&t>-1&&t%1==0&&t<e}var g9=Array.isArray;function Y2(t){return t!=null&&function(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=9007199254740991}(t.length)&&!function(e){var n=function(r){var o=typeof r;return!!r&&(o=="object"||o=="function")}(e)?d9.call(e):"";return n=="[object Function]"||n==nK}(t)}function dK(t){return Y2(t)?uK(t):cK(t)}function pK(t){return t}var X2=function(t,e){return(g9(t)?oK:sK)(t,typeof e=="function"?e:pK)};let v9=(t=21)=>{let e="",n=crypto.getRandomValues(new Uint8Array(t));for(;t--;){let r=63&n[t];e+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-"}return e};var hK=/^\s+|\s+$/g,gK=/^[-+]0x[0-9a-f]+$/i,vK=/^0b[01]+$/i,mK=/^0o[0-7]+$/i,yK=parseInt,bK=typeof ne=="object"&&ne&&ne.Object===Object&&ne,wK=typeof self=="object"&&self&&self.Object===Object&&self,EK=bK||wK||Function("return this")(),SK=Object.prototype.toString,CK=Math.max,DK=Math.min,J2=function(){return EK.Date.now()};function xK(t,e,n){var r,o,i,a,u,s,l=0,c=!1,f=!1,p=!0;if(typeof t!="function")throw new TypeError("Expected a function");function d(b){var w=r,S=o;return r=o=void 0,l=b,a=t.apply(S,w)}function y(b){return l=b,u=setTimeout(v,e),c?d(b):a}function g(b){var w=b-s;return s===void 0||w>=e||w<0||f&&b-l>=i}function v(){var b=J2();if(g(b))return m(b);u=setTimeout(v,function(w){var S=e-(w-s);return f?DK(S,i-(w-l)):S}(b))}function m(b){return u=void 0,p&&r?d(b):(r=o=void 0,a)}function h(){var b=J2(),w=g(b);if(r=arguments,o=this,s=b,w){if(u===void 0)return y(s);if(f)return u=setTimeout(v,e),d(s)}return u===void 0&&(u=setTimeout(v,e)),a}return e=m9(e)||0,_g(n)&&(c=!!n.leading,i=(f="maxWait"in n)?CK(m9(n.maxWait)||0,e):i,p="trailing"in n?!!n.trailing:p),h.cancel=function(){u!==void 0&&clearTimeout(u),l=0,r=s=o=u=void 0},h.flush=function(){return u===void 0?a:m(J2())},h}function _g(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function m9(t){if(typeof t=="number")return t;if(function(r){return typeof r=="symbol"||function(o){return!!o&&typeof o=="object"}(r)&&SK.call(r)=="[object Symbol]"}(t))return NaN;if(_g(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=_g(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=t.replace(hK,"");var n=vK.test(t);return n||mK.test(t)?yK(t.slice(2),n?2:8):gK.test(t)?NaN:+t}var ns=function(t,e,n){var r=!0,o=!0;if(typeof t!="function")throw new TypeError("Expected a function");return _g(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),xK(t,e,{leading:r,maxWait:e,trailing:o})};const AK={createElement:function(t,e){return document.createElement(t,e)},createElementNS:function(t,e,n){return document.createElementNS(t,e,n)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},getTextContent:function(t){return t.textContent},isElement:function(t){return t.nodeType===1},isText:function(t){return t.nodeType===3},isComment:function(t){return t.nodeType===8}};function sd(t,e,n,r,o){return{sel:t,data:e,children:n,text:r,elm:o,key:e===void 0?void 0:e.key}}const Q2=Array.isArray;function Ig(t){return typeof t=="string"||typeof t=="number"||t instanceof String||t instanceof Number}function tw(t){return t===void 0}function Ir(t){return t!==void 0}const y9=sd("",{},[],void 0,void 0);function ld(t,e){var n,r;const o=t.key===e.key,i=((n=t.data)===null||n===void 0?void 0:n.is)===((r=e.data)===null||r===void 0?void 0:r.is);return t.sel===e.sel&&o&&i}function OK(t,e,n){var r;const o={};for(let i=e;i<=n;++i){const a=(r=t[i])===null||r===void 0?void 0:r.key;a!==void 0&&(o[a]=i)}return o}const kK=["create","update","remove","destroy","pre","post"];function BK(t,e){const n={create:[],update:[],remove:[],destroy:[],pre:[],post:[]},r=e!==void 0?e:AK;for(const f of kK)for(const p of t){const d=p[f];d!==void 0&&n[f].push(d)}function o(f){const p=f.id?"#"+f.id:"",d=f.getAttribute("class"),y=d?"."+d.split(" ").join("."):"";return sd(r.tagName(f).toLowerCase()+p+y,{},[],void 0,f)}function i(f,p){return function(){if(--p==0){const d=r.parentNode(f);r.removeChild(d,f)}}}function a(f,p){var d,y;let g,v=f.data;if(v!==void 0){const b=(d=v.hook)===null||d===void 0?void 0:d.init;Ir(b)&&(b(f),v=f.data)}const m=f.children,h=f.sel;if(h==="!")tw(f.text)&&(f.text=""),f.elm=r.createComment(f.text);else if(h!==void 0){const b=h.indexOf("#"),w=h.indexOf(".",b),S=b>0?b:h.length,D=w>0?w:h.length,C=b!==-1||w!==-1?h.slice(0,Math.min(S,D)):h,O=f.elm=Ir(v)&&Ir(g=v.ns)?r.createElementNS(g,C,v):r.createElement(C,v);for(S<D&&O.setAttribute("id",h.slice(S+1,D)),w>0&&O.setAttribute("class",h.slice(D+1).replace(/\./g," ")),g=0;g<n.create.length;++g)n.create[g](y9,f);if(Q2(m))for(g=0;g<m.length;++g){const L=m[g];L!=null&&r.appendChild(O,a(L,p))}else Ig(f.text)&&r.appendChild(O,r.createTextNode(f.text));const T=f.data.hook;Ir(T)&&((y=T.create)===null||y===void 0||y.call(T,y9,f),T.insert&&p.push(f))}else f.elm=r.createTextNode(f.text);return f.elm}function u(f,p,d,y,g,v){for(;y<=g;++y){const m=d[y];m!=null&&r.insertBefore(f,a(m,v),p)}}function s(f){var p,d;const y=f.data;if(y!==void 0){(d=(p=y==null?void 0:y.hook)===null||p===void 0?void 0:p.destroy)===null||d===void 0||d.call(p,f);for(let g=0;g<n.destroy.length;++g)n.destroy[g](f);if(f.children!==void 0)for(let g=0;g<f.children.length;++g){const v=f.children[g];v!=null&&typeof v!="string"&&s(v)}}}function l(f,p,d,y){for(var g,v;d<=y;++d){let m,h;const b=p[d];if(b!=null)if(Ir(b.sel)){s(b),m=n.remove.length+1,h=i(b.elm,m);for(let S=0;S<n.remove.length;++S)n.remove[S](b,h);const w=(v=(g=b==null?void 0:b.data)===null||g===void 0?void 0:g.hook)===null||v===void 0?void 0:v.remove;Ir(w)?w(b,h):h()}else r.removeChild(f,b.elm)}}function c(f,p,d){var y,g,v,m,h;const b=(y=p.data)===null||y===void 0?void 0:y.hook;(g=b==null?void 0:b.prepatch)===null||g===void 0||g.call(b,f,p);const w=p.elm=f.elm,S=f.children,D=p.children;if(f!==p){if(p.data!==void 0){for(let C=0;C<n.update.length;++C)n.update[C](f,p);(m=(v=p.data.hook)===null||v===void 0?void 0:v.update)===null||m===void 0||m.call(v,f,p)}tw(p.text)?Ir(S)&&Ir(D)?S!==D&&function(C,O,T,L){let z,$,Y,G,K=0,Z=0,ut=O.length-1,yt=O[0],mt=O[ut],gt=T.length-1,B=T[0],x=T[gt];for(;K<=ut&&Z<=gt;)yt==null?yt=O[++K]:mt==null?mt=O[--ut]:B==null?B=T[++Z]:x==null?x=T[--gt]:ld(yt,B)?(c(yt,B,L),yt=O[++K],B=T[++Z]):ld(mt,x)?(c(mt,x,L),mt=O[--ut],x=T[--gt]):ld(yt,x)?(c(yt,x,L),r.insertBefore(C,yt.elm,r.nextSibling(mt.elm)),yt=O[++K],x=T[--gt]):ld(mt,B)?(c(mt,B,L),r.insertBefore(C,mt.elm,yt.elm),mt=O[--ut],B=T[++Z]):(z===void 0&&(z=OK(O,K,ut)),$=z[B.key],tw($)?r.insertBefore(C,a(B,L),yt.elm):(Y=O[$],Y.sel!==B.sel?r.insertBefore(C,a(B,L),yt.elm):(c(Y,B,L),O[$]=void 0,r.insertBefore(C,Y.elm,yt.elm))),B=T[++Z]);(K<=ut||Z<=gt)&&(K>ut?(G=T[gt+1]==null?null:T[gt+1].elm,u(C,G,T,Z,gt,L)):l(C,O,K,ut))}(w,S,D,d):Ir(D)?(Ir(f.text)&&r.setTextContent(w,""),u(w,null,D,0,D.length-1,d)):Ir(S)?l(w,S,0,S.length-1):Ir(f.text)&&r.setTextContent(w,""):f.text!==p.text&&(Ir(S)&&l(w,S,0,S.length-1),r.setTextContent(w,p.text)),(h=b==null?void 0:b.postpatch)===null||h===void 0||h.call(b,f,p)}}return function(f,p){let d,y,g;const v=[];for(d=0;d<n.pre.length;++d)n.pre[d]();for(function(m){return m.sel!==void 0}(f)||(f=o(f)),ld(f,p)?c(f,p,v):(y=f.elm,g=r.parentNode(y),a(p,v),g!==null&&(r.insertBefore(g,p.elm,r.nextSibling(y)),l(g,[f],0,0))),d=0;d<v.length;++d)v[d].data.hook.insert(v[d]);for(d=0;d<n.post.length;++d)n.post[d]();return p}}function b9(t,e,n){if(t.ns="http://www.w3.org/2000/svg",n!=="foreignObject"&&e!==void 0)for(let r=0;r<e.length;++r){const o=e[r].data;o!==void 0&&b9(o,e[r].children,e[r].sel)}}function Ul(t,e,n){let r,o,i,a={};if(n!==void 0?(e!==null&&(a=e),Q2(n)?r=n:Ig(n)?o=n.toString():n&&n.sel&&(r=[n])):e!=null&&(Q2(e)?r=e:Ig(e)?o=e.toString():e&&e.sel?r=[e]:a=e),r!==void 0)for(i=0;i<r.length;++i)Ig(r[i])&&(r[i]=sd(void 0,void 0,void 0,r[i],void 0));return t[0]!=="s"||t[1]!=="v"||t[2]!=="g"||t.length!==3&&t[3]!=="."&&t[3]!=="#"||b9(a,r,t),sd(t,a,r,o,void 0)}function w9(t,e){let n;const r=e.elm;let o=t.data.attrs,i=e.data.attrs;if((o||i)&&o!==i){for(n in o=o||{},i=i||{},i){const a=i[n];o[n]!==a&&(a===!0?r.setAttribute(n,""):a===!1?r.removeAttribute(n):n.charCodeAt(0)!==120?r.setAttribute(n,a):n.charCodeAt(3)===58?r.setAttributeNS("http://www.w3.org/XML/1998/namespace",n,a):n.charCodeAt(5)===58?r.setAttributeNS("http://www.w3.org/1999/xlink",n,a):r.setAttribute(n,a))}for(n in o)n in i||r.removeAttribute(n)}}const FK={create:w9,update:w9};function E9(t,e){let n,r;const o=e.elm;let i=t.data.class,a=e.data.class;if((i||a)&&i!==a){for(r in i=i||{},a=a||{},i)i[r]&&!Object.prototype.hasOwnProperty.call(a,r)&&o.classList.remove(r);for(r in a)n=a[r],n!==i[r]&&o.classList[n?"add":"remove"](r)}}const TK={create:E9,update:E9},S9=/[A-Z]/g;function C9(t,e){const n=e.elm;let r,o=t.data.dataset,i=e.data.dataset;if(!o&&!i||o===i)return;o=o||{},i=i||{};const a=n.dataset;for(r in o)i[r]||(a?r in a&&delete a[r]:n.removeAttribute("data-"+r.replace(S9,"-$&").toLowerCase()));for(r in i)o[r]!==i[r]&&(a?a[r]=i[r]:n.setAttribute("data-"+r.replace(S9,"-$&").toLowerCase(),i[r]))}const PK={create:C9,update:C9};function D9(t,e,n){if(typeof t=="function")t.call(e,n,e);else if(typeof t=="object")for(let r=0;r<t.length;r++)D9(t[r],e,n)}function jK(t,e){const n=t.type,r=e.data.on;r&&r[n]&&D9(r[n],e,t)}function ew(t,e){const n=t.data.on,r=t.listener,o=t.elm,i=e&&e.data.on,a=e&&e.elm;let u;if(n!==i){if(n&&r)if(i)for(u in n)i[u]||o.removeEventListener(u,r,!1);else for(u in n)o.removeEventListener(u,r,!1);if(i){const s=e.listener=t.listener||function l(c){jK(c,l.vnode)};if(s.vnode=e,n)for(u in i)n[u]||a.addEventListener(u,s,!1);else for(u in i)a.addEventListener(u,s,!1)}}}const _K={create:ew,update:ew,destroy:ew};function x9(t,e){let n,r,o;const i=e.elm;let a=t.data.props,u=e.data.props;if((a||u)&&a!==u)for(n in a=a||{},u=u||{},u)r=u[n],o=a[n],o===r||n==="value"&&i[n]===r||(i[n]=r)}const IK={create:x9,update:x9},A9=typeof window!="undefined"&&window.requestAnimationFrame.bind(window)||setTimeout;let nw=!1;function NK(t,e,n){(function(r){A9(function(){A9(r)})})(function(){t[e]=n})}function O9(t,e){let n,r;const o=e.elm;let i=t.data.style,a=e.data.style;if(!i&&!a||i===a)return;i=i||{},a=a||{};const u="delayed"in i;for(r in i)a[r]||(r[0]==="-"&&r[1]==="-"?o.style.removeProperty(r):o.style[r]="");for(r in a)if(n=a[r],r==="delayed"&&a.delayed)for(const s in a.delayed)n=a.delayed[s],u&&n===i.delayed[s]||NK(o.style,s,n);else r!=="remove"&&n!==i[r]&&(r[0]==="-"&&r[1]==="-"?o.style.setProperty(r,n):o.style[r]=n)}const LK={pre:function(){nw=!1},create:O9,update:O9,destroy:function(t){let e,n;const r=t.elm,o=t.data.style;if(o&&(e=o.destroy))for(n in e)r.style[n]=e[n]},remove:function(t,e){const n=t.data.style;if(!n||!n.remove)return void e();let r;nw||(t.elm.offsetLeft,nw=!0);const o=t.elm;let i=0;const a=n.remove;let u=0;const s=[];for(r in a)s.push(r),o.style[r]=a[r];const l=getComputedStyle(o)["transition-property"].split(", ");for(;i<l.length;++i)s.indexOf(l[i])!==-1&&u++;o.addEventListener("transitionend",function(c){c.target===o&&--u,u===0&&e()})}};function k9(t,e){for(const n of t)n!=null&&n!==!1&&n!==""&&(Array.isArray(n)?k9(n,e):typeof n=="string"||typeof n=="number"||typeof n=="boolean"?e.push(sd(void 0,void 0,void 0,String(n),void 0)):e.push(n));return e}function Pt(t,e,...n){const r=k9(n,[]);return typeof t=="function"?t(e,r):r.length===1&&!r[0].sel&&r[0].text?Ul(t,e,r[0].text):Ul(t,e,r)}Pt||(Pt={});var RK=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,MK=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,B9="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",zK="[\\ud800-\\udfff]",F9="["+B9+"]",Ng="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",T9="\\d+",$K="[\\u2700-\\u27bf]",P9="[a-z\\xdf-\\xf6\\xf8-\\xff]",j9="[^\\ud800-\\udfff"+B9+T9+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",rw="\\ud83c[\\udffb-\\udfff]",_9="[^\\ud800-\\udfff]",ow="(?:\\ud83c[\\udde6-\\uddff]){2}",iw="[\\ud800-\\udbff][\\udc00-\\udfff]",Vl="[A-Z\\xc0-\\xd6\\xd8-\\xde]",I9="(?:"+P9+"|"+j9+")",HK="(?:"+Vl+"|"+j9+")",N9="(?:"+Ng+"|"+rw+")?",L9="[\\ufe0e\\ufe0f]?"+N9+("(?:\\u200d(?:"+[_9,ow,iw].join("|")+")[\\ufe0e\\ufe0f]?"+N9+")*"),UK="(?:"+[$K,ow,iw].join("|")+")"+L9,VK="(?:"+[_9+Ng+"?",Ng,ow,iw,zK].join("|")+")",WK=RegExp("['\u2019]","g"),GK=RegExp(Ng,"g"),KK=RegExp(rw+"(?="+rw+")|"+VK+L9,"g"),qK=RegExp([Vl+"?"+P9+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[F9,Vl,"$"].join("|")+")",HK+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[F9,Vl+I9,"$"].join("|")+")",Vl+"?"+I9+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Vl+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",T9,UK].join("|"),"g"),ZK=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),YK=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,XK=typeof ne=="object"&&ne&&ne.Object===Object&&ne,JK=typeof self=="object"&&self&&self.Object===Object&&self,QK=XK||JK||Function("return this")(),aw,tq=(aw={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"ss"},function(t){return aw==null?void 0:aw[t]});function R9(t){return ZK.test(t)}function eq(t){return R9(t)?function(e){return e.match(KK)||[]}(t):function(e){return e.split("")}(t)}var nq=Object.prototype.toString,M9=QK.Symbol,z9=M9?M9.prototype:void 0,$9=z9?z9.toString:void 0;function rq(t){if(typeof t=="string")return t;if(function(n){return typeof n=="symbol"||function(r){return!!r&&typeof r=="object"}(n)&&nq.call(n)=="[object Symbol]"}(t))return $9?$9.call(t):"";var e=t+"";return e=="0"&&1/t==-Infinity?"-0":e}function oq(t,e,n){var r=t.length;return n=n===void 0?r:n,!e&&n>=r?t:function(o,i,a){var u=-1,s=o.length;i<0&&(i=-i>s?0:s+i),(a=a>s?s:a)<0&&(a+=s),s=i>a?0:a-i>>>0,i>>>=0;for(var l=Array(s);++u<s;)l[u]=o[u+i];return l}(t,e,n)}function Lg(t){return t==null?"":rq(t)}for(var H9,iq=(H9=function(t,e,n){return e=e.toLowerCase(),t+(n?aq(Lg(e).toLowerCase()):e)},function(t){return function(e,n,r,o){var i=-1,a=e?e.length:0;for(o&&a&&(r=e[++i]);++i<a;)r=n(r,e[i],i,e);return r}(function(e,n,r){return e=Lg(e),(n=r?void 0:n)===void 0?function(o){return YK.test(o)}(e)?function(o){return o.match(qK)||[]}(e):function(o){return o.match(RK)||[]}(e):e.match(n)||[]}(function(e){return(e=Lg(e))&&e.replace(MK,tq).replace(GK,"")}(t).replace(WK,"")),H9,"")}),U9,aq=(U9="toUpperCase",function(t){var e=R9(t=Lg(t))?eq(t):void 0,n=e?e[0]:t.charAt(0),r=e?oq(e,1).join(""):t.slice(1);return n[U9]()+r}),uq=iq,sq=typeof window!="undefined"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),uw={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},V9={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:sq?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},sw={backspace:8,tab:9,enter:13,shift:16,control:17,alt:18,pause:19,capslock:20,escape:27," ":32,pageup:33,pagedown:34,end:35,home:36,arrowleft:37,arrowup:38,arrowright:39,arrowdown:40,insert:45,delete:46,meta:91,numlock:144,scrolllock:145,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},Rg=1;Rg<20;Rg++)sw["f"+Rg]=111+Rg;function W9(t,e,n){e&&!("byKey"in e)&&(n=e,e=null),Array.isArray(t)||(t=[t]);var r=t.map(function(i){return function(a,u){var s=u&&u.byKey,l={},c=(a=a.replace("++","+add")).split("+"),f=c.length;for(var p in uw)l[uw[p]]=!1;var d=!0,y=!1,g=void 0;try{for(var v,m=c[Symbol.iterator]();!(d=(v=m.next()).done);d=!0){var h=v.value,b=h.endsWith("?")&&h.length>1;b&&(h=h.slice(0,-1));var w=G9(h),S=uw[w];if(h.length>1&&!S&&!V9[h]&&!sw[w])throw new TypeError('Unknown modifier: "'+h+'"');f!==1&&S||(s?l.key=w:l.which=lq(h)),S&&(l[S]=!b||null)}}catch(D){y=!0,g=D}finally{try{!d&&m.return&&m.return()}finally{if(y)throw g}}return l}(i,e)}),o=function(i){return r.some(function(a){return function(u,s){for(var l in u){var c=u[l],f=void 0;if(c!=null&&((f=l==="key"&&s.key!=null?s.key.toLowerCase():l==="which"?c===91&&s.which===93?91:s.which:s[l])!=null||c!==!1)&&f!==c)return!1}return!0}(a,i)})};return n==null?o:o(n)}function lq(t){return t=G9(t),sw[t]||t.toUpperCase().charCodeAt(0)}function G9(t){return t=t.toLowerCase(),t=V9[t]||t}var cq=W9,lw=function(t,e){return W9(t,{byKey:!0},e)},fq=/^\s+|\s+$/g,dq=/^[-+]0x[0-9a-f]+$/i,pq=/^0b[01]+$/i,hq=/^0o[0-7]+$/i,gq=parseInt,vq=typeof ne=="object"&&ne&&ne.Object===Object&&ne,mq=typeof self=="object"&&self&&self.Object===Object&&self,yq=vq||mq||Function("return this")(),bq=Object.prototype.toString,wq=Math.max,Eq=Math.min,cw=function(){return yq.Date.now()};function fw(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function K9(t){if(typeof t=="number")return t;if(function(r){return typeof r=="symbol"||function(o){return!!o&&typeof o=="object"}(r)&&bq.call(r)=="[object Symbol]"}(t))return NaN;if(fw(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=fw(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=t.replace(fq,"");var n=pq.test(t);return n||hq.test(t)?gq(t.slice(2),n?2:8):dq.test(t)?NaN:+t}var Wl,q9=function(t,e,n){var r,o,i,a,u,s,l=0,c=!1,f=!1,p=!0;if(typeof t!="function")throw new TypeError("Expected a function");function d(b){var w=r,S=o;return r=o=void 0,l=b,a=t.apply(S,w)}function y(b){return l=b,u=setTimeout(v,e),c?d(b):a}function g(b){var w=b-s;return s===void 0||w>=e||w<0||f&&b-l>=i}function v(){var b=cw();if(g(b))return m(b);u=setTimeout(v,function(w){var S=e-(w-s);return f?Eq(S,i-(w-l)):S}(b))}function m(b){return u=void 0,p&&r?d(b):(r=o=void 0,a)}function h(){var b=cw(),w=g(b);if(r=arguments,o=this,s=b,w){if(u===void 0)return y(s);if(f)return u=setTimeout(v,e),d(s)}return u===void 0&&(u=setTimeout(v,e)),a}return e=K9(e)||0,fw(n)&&(c=!!n.leading,i=(f="maxWait"in n)?wq(K9(n.maxWait)||0,e):i,p="trailing"in n?!!n.trailing:p),h.cancel=function(){u!==void 0&&clearTimeout(u),l=0,r=s=o=u=void 0},h.flush=function(){return u===void 0?a:m(cw())},h},Z9=gr(function(t,e){var n="__lodash_hash_undefined__",r=9007199254740991,o="[object Arguments]",i="[object Boolean]",a="[object Date]",u="[object Function]",s="[object GeneratorFunction]",l="[object Map]",c="[object Number]",f="[object Object]",p="[object Promise]",d="[object RegExp]",y="[object Set]",g="[object String]",v="[object Symbol]",m="[object WeakMap]",h="[object ArrayBuffer]",b="[object DataView]",w="[object Float32Array]",S="[object Float64Array]",D="[object Int8Array]",C="[object Int16Array]",O="[object Int32Array]",T="[object Uint8Array]",L="[object Uint8ClampedArray]",z="[object Uint16Array]",$="[object Uint32Array]",Y=/\w*$/,G=/^\[object .+?Constructor\]$/,K=/^(?:0|[1-9]\d*)$/,Z={};Z[o]=Z["[object Array]"]=Z[h]=Z[b]=Z[i]=Z[a]=Z[w]=Z[S]=Z[D]=Z[C]=Z[O]=Z[l]=Z[c]=Z[f]=Z[d]=Z[y]=Z[g]=Z[v]=Z[T]=Z[L]=Z[z]=Z[$]=!0,Z["[object Error]"]=Z[u]=Z[m]=!1;var ut=typeof ne=="object"&&ne&&ne.Object===Object&&ne,yt=typeof self=="object"&&self&&self.Object===Object&&self,mt=ut||yt||Function("return this")(),gt=e&&!e.nodeType&&e,B=gt&&t&&!t.nodeType&&t,x=B&&B.exports===gt;function j(F,H){return F.set(H[0],H[1]),F}function U(F,H){return F.add(H),F}function X(F,H,rt,vt){var re=-1,Ne=F?F.length:0;for(vt&&Ne&&(rt=F[++re]);++re<Ne;)rt=H(rt,F[re],re,F);return rt}function W(F){var H=!1;if(F!=null&&typeof F.toString!="function")try{H=!!(F+"")}catch(rt){}return H}function dt(F){var H=-1,rt=Array(F.size);return F.forEach(function(vt,re){rt[++H]=[re,vt]}),rt}function Dt(F,H){return function(rt){return F(H(rt))}}function Tt(F){var H=-1,rt=Array(F.size);return F.forEach(function(vt){rt[++H]=vt}),rt}var Rt=Array.prototype,q=Function.prototype,te=Object.prototype,$t=mt["__core-js_shared__"],St=function(){var F=/[^.]+$/.exec($t&&$t.keys&&$t.keys.IE_PROTO||"");return F?"Symbol(src)_1."+F:""}(),Ht=q.toString,Qe=te.hasOwnProperty,ue=te.toString,Ee=RegExp("^"+Ht.call(Qe).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Me=x?mt.Buffer:void 0,rr=mt.Symbol,oe=mt.Uint8Array,Ar=Dt(Object.getPrototypeOf,Object),$o=Object.create,wi=te.propertyIsEnumerable,wf=Rt.splice,cl=Object.getOwnPropertySymbols,Ho=Me?Me.isBuffer:void 0,Ei=Dt(Object.keys,Object),Qi=Si(mt,"DataView"),or=Si(mt,"Map"),ir=Si(mt,"Promise"),ar=Si(mt,"Set"),pr=Si(mt,"WeakMap"),Rn=Si(Object,"create"),wo=Di(Qi),w0=Di(or),Tu=Di(ir),ta=Di(ar),Ef=Di(pr),fl=rr?rr.prototype:void 0,Sf=fl?fl.valueOf:void 0;function Uo(F){var H=-1,rt=F?F.length:0;for(this.clear();++H<rt;){var vt=F[H];this.set(vt[0],vt[1])}}function Eo(F){var H=-1,rt=F?F.length:0;for(this.clear();++H<rt;){var vt=F[H];this.set(vt[0],vt[1])}}function ea(F){var H=-1,rt=F?F.length:0;for(this.clear();++H<rt;){var vt=F[H];this.set(vt[0],vt[1])}}function Vo(F){this.__data__=new Eo(F)}function Pu(F,H){var rt=P(F)||function(Ce){return function(ce){return function(Bn){return!!Bn&&typeof Bn=="object"}(ce)&&R(ce)}(Ce)&&Qe.call(Ce,"callee")&&(!wi.call(Ce,"callee")||ue.call(Ce)==o)}(F)?function(Ce,ce){for(var Bn=-1,ur=Array(Ce);++Bn<Ce;)ur[Bn]=ce(Bn);return ur}(F.length,String):[],vt=rt.length,re=!!vt;for(var Ne in F)!H&&!Qe.call(F,Ne)||re&&(Ne=="length"||My(Ne,vt))||rt.push(Ne);return rt}function Ly(F,H,rt){var vt=F[H];Qe.call(F,H)&&zy(vt,rt)&&(rt!==void 0||H in F)||(F[H]=rt)}function Kr(F,H){for(var rt=F.length;rt--;)if(zy(F[rt][0],H))return rt;return-1}function E0(F,H,rt,vt,re,Ne,Ce){var ce;if(vt&&(ce=Ne?vt(F,re,Ne,Ce):vt(F)),ce!==void 0)return ce;if(!Se(F))return F;var Bn=P(F);if(Bn){if(ce=function(_t){var ve=_t.length,ln=_t.constructor(ve);return ve&&typeof _t[0]=="string"&&Qe.call(_t,"index")&&(ln.index=_t.index,ln.input=_t.input),ln}(F),!H)return function(_t,ve){var ln=-1,ee=_t.length;for(ve||(ve=Array(ee));++ln<ee;)ve[ln]=_t[ln];return ve}(F,ce)}else{var ur=Ci(F),dl=ur==u||ur==s;if(tt(F))return function(_t,ve){if(ve)return _t.slice();var ln=new _t.constructor(_t.length);return _t.copy(ln),ln}(F,H);if(ur==f||ur==o||dl&&!Ne){if(W(F))return Ne?F:{};if(ce=function(_t){return typeof _t.constructor!="function"||ju(_t)?{}:(ve=Ar(_t),Se(ve)?$o(ve):{});var ve}(dl?{}:F),!H)return function(_t,ve){return Ry(_t,S0(_t),ve)}(F,function(_t,ve){return _t&&Ry(ve,Xt(ve),_t)}(ce,F))}else{if(!Z[ur])return Ne?F:{};ce=function(_t,ve,ln,ee){var fe=_t.constructor;switch(ve){case h:return Cf(_t);case i:case a:return new fe(+_t);case b:return function(de,tn){var hr=tn?Cf(de.buffer):de.buffer;return new de.constructor(hr,de.byteOffset,de.byteLength)}(_t,ee);case w:case S:case D:case C:case O:case T:case L:case z:case $:return function(de,tn){var hr=tn?Cf(de.buffer):de.buffer;return new de.constructor(hr,de.byteOffset,de.length)}(_t,ee);case l:return function(de,tn,hr){return X(tn?hr(dt(de),!0):dt(de),j,new de.constructor)}(_t,ee,ln);case c:case g:return new fe(_t);case d:return function(de){var tn=new de.constructor(de.source,Y.exec(de));return tn.lastIndex=de.lastIndex,tn}(_t);case y:return function(de,tn,hr){return X(tn?hr(Tt(de),!0):Tt(de),U,new de.constructor)}(_t,ee,ln);case v:return function(de){return Sf?Object(Sf.call(de)):{}}(_t)}}(F,ur,E0,H)}}Ce||(Ce=new Vo);var oa=Ce.get(F);if(oa)return oa;if(Ce.set(F,ce),!Bn)var _u=rt?function(_t){return function(ve,ln,ee){var fe=ln(ve);return P(ve)?fe:function(de,tn){for(var hr=-1,Or=tn.length,Wo=de.length;++hr<Or;)de[Wo+hr]=tn[hr];return de}(fe,ee(ve))}(_t,Xt,S0)}(F):Xt(F);return function(_t,ve){for(var ln=-1,ee=_t?_t.length:0;++ln<ee&&ve(_t[ln],ln,_t)!==!1;);}(_u||F,function(_t,ve){_u&&(_t=F[ve=_t]),Ly(ce,ve,E0(_t,H,rt,vt,ve,F,Ce))}),ce}function na(F){return!(!Se(F)||function(H){return!!St&&St in H}(F))&&(Ct(F)||W(F)?Ee:G).test(Di(F))}function Cf(F){var H=new F.constructor(F.byteLength);return new oe(H).set(new oe(F)),H}function Ry(F,H,rt,vt){rt||(rt={});for(var re=-1,Ne=H.length;++re<Ne;){var Ce=H[re],ce=vt?vt(rt[Ce],F[Ce],Ce,rt,F):void 0;Ly(rt,Ce,ce===void 0?F[Ce]:ce)}return rt}function ra(F,H){var rt,vt,re=F.__data__;return((vt=typeof(rt=H))=="string"||vt=="number"||vt=="symbol"||vt=="boolean"?rt!=="__proto__":rt===null)?re[typeof H=="string"?"string":"hash"]:re.map}function Si(F,H){var rt=function(vt,re){return vt==null?void 0:vt[re]}(F,H);return na(rt)?rt:void 0}Uo.prototype.clear=function(){this.__data__=Rn?Rn(null):{}},Uo.prototype.delete=function(F){return this.has(F)&&delete this.__data__[F]},Uo.prototype.get=function(F){var H=this.__data__;if(Rn){var rt=H[F];return rt===n?void 0:rt}return Qe.call(H,F)?H[F]:void 0},Uo.prototype.has=function(F){var H=this.__data__;return Rn?H[F]!==void 0:Qe.call(H,F)},Uo.prototype.set=function(F,H){return this.__data__[F]=Rn&&H===void 0?n:H,this},Eo.prototype.clear=function(){this.__data__=[]},Eo.prototype.delete=function(F){var H=this.__data__,rt=Kr(H,F);return!(rt<0)&&(rt==H.length-1?H.pop():wf.call(H,rt,1),!0)},Eo.prototype.get=function(F){var H=this.__data__,rt=Kr(H,F);return rt<0?void 0:H[rt][1]},Eo.prototype.has=function(F){return Kr(this.__data__,F)>-1},Eo.prototype.set=function(F,H){var rt=this.__data__,vt=Kr(rt,F);return vt<0?rt.push([F,H]):rt[vt][1]=H,this},ea.prototype.clear=function(){this.__data__={hash:new Uo,map:new(or||Eo),string:new Uo}},ea.prototype.delete=function(F){return ra(this,F).delete(F)},ea.prototype.get=function(F){return ra(this,F).get(F)},ea.prototype.has=function(F){return ra(this,F).has(F)},ea.prototype.set=function(F,H){return ra(this,F).set(F,H),this},Vo.prototype.clear=function(){this.__data__=new Eo},Vo.prototype.delete=function(F){return this.__data__.delete(F)},Vo.prototype.get=function(F){return this.__data__.get(F)},Vo.prototype.has=function(F){return this.__data__.has(F)},Vo.prototype.set=function(F,H){var rt=this.__data__;if(rt instanceof Eo){var vt=rt.__data__;if(!or||vt.length<199)return vt.push([F,H]),this;rt=this.__data__=new ea(vt)}return rt.set(F,H),this};var S0=cl?Dt(cl,Object):function(){return[]},Ci=function(F){return ue.call(F)};function My(F,H){return!!(H=H==null?r:H)&&(typeof F=="number"||K.test(F))&&F>-1&&F%1==0&&F<H}function ju(F){var H=F&&F.constructor;return F===(typeof H=="function"&&H.prototype||te)}function Di(F){if(F!=null){try{return Ht.call(F)}catch(H){}try{return F+""}catch(H){}}return""}function zy(F,H){return F===H||F!=F&&H!=H}(Qi&&Ci(new Qi(new ArrayBuffer(1)))!=b||or&&Ci(new or)!=l||ir&&Ci(ir.resolve())!=p||ar&&Ci(new ar)!=y||pr&&Ci(new pr)!=m)&&(Ci=function(F){var H=ue.call(F),rt=H==f?F.constructor:void 0,vt=rt?Di(rt):void 0;if(vt)switch(vt){case wo:return b;case w0:return l;case Tu:return p;case ta:return y;case Ef:return m}return H});var P=Array.isArray;function R(F){return F!=null&&function(H){return typeof H=="number"&&H>-1&&H%1==0&&H<=r}(F.length)&&!Ct(F)}var tt=Ho||function(){return!1};function Ct(F){var H=Se(F)?ue.call(F):"";return H==u||H==s}function Se(F){var H=typeof F;return!!F&&(H=="object"||H=="function")}function Xt(F){return R(F)?Pu(F):function(H){if(!ju(H))return Ei(H);var rt=[];for(var vt in Object(H))Qe.call(H,vt)&&vt!="constructor"&&rt.push(vt);return rt}(F)}t.exports=function(F){return E0(F,!0,!0)}});function Y9(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var Sq=0;function Cq(t){return"__private_"+Sq+++"_"+t}function Dq(t,e,n){const r=[];return t.forEach(o=>typeof o!="string"?r.push(o):e[Symbol.split](o).forEach((i,a,u)=>{i!==""&&r.push(i),a<u.length-1&&r.push(n)})),r}/**
  16. * Takes a string with placeholder variables like `%{smart_count} file selected`
  17. * and replaces it with values from options `{smart_count: 5}`
  18. *
  19. * @license https://github.com/airbnb/polyglot.js/blob/master/LICENSE
  20. * taken from https://github.com/airbnb/polyglot.js/blob/master/lib/polyglot.js#L299
  21. *
  22. * @param {string} phrase that needs interpolation, with placeholders
  23. * @param {object} options with values that will be used to replace placeholders
  24. * @returns {any[]} interpolated
  25. */function X9(t,e){const n=/\$/g;let r=[t];if(e==null)return r;for(const o of Object.keys(e))if(o!=="_"){let i=e[o];typeof i=="string"&&(i=n[Symbol.replace](i,"$$$$")),r=Dq(r,new RegExp(`%\\{${o}\\}`,"g"),i)}return r}var J9=(Wl=Cq("apply"),class{constructor(t){Object.defineProperty(this,Wl,{value:xq}),this.locale={strings:{},pluralize:e=>e===1?0:1},Array.isArray(t)?t.forEach(Y9(this,Wl)[Wl],this):Y9(this,Wl)[Wl](t)}translate(t,e){return this.translateArray(t,e).join("")}translateArray(t,e){if(!function(r,o){return Object.prototype.hasOwnProperty.call(r,o)}(this.locale.strings,t))throw new Error(`missing string: ${t}`);const n=this.locale.strings[t];if(typeof n=="object"){if(e&&e.smart_count!==void 0)return X9(n[this.locale.pluralize(e.smart_count)],e);throw new Error("Attempted to use a string with plural forms, but no value was given for %{smart_count}")}return X9(n,e)}});function xq(t){if(t==null||!t.strings)return;const e=this.locale;this.locale=V(V({},e),{strings:V(V({},e.strings),t.strings)}),this.locale.pluralize=t.pluralize||e.pluralize}var Q9=function(){var t={},e=t._fns={};return t.emit=function(n,r,o,i,a,u,s){var l=function(c){for(var f=e[c]?e[c]:[],p=c.indexOf(":"),d=p===-1?[c]:[c.substring(0,p),c.substring(p+1)],y=Object.keys(e),g=0,v=y.length;g<v;g++){var m=y[g];if(m==="*"&&(f=f.concat(e[m])),d.length===2&&d[0]===m){f=f.concat(e[m]);break}}return f}(n);l.length&&function(c,f,p){for(var d=0,y=f.length;d<y&&f[d];d++)f[d].event=c,f[d].apply(f[d],p)}(n,l,[r,o,i,a,u,s])},t.on=function(n,r){e[n]||(e[n]=[]),e[n].push(r)},t.once=function(n,r){this.on(n,function o(){r.apply(this,arguments),t.off(n,o)})},t.off=function(n,r){var o=[];if(n&&r)for(var i=this._fns[n],a=0,u=i?i.length:0;a<u;a++)i[a]!==r&&o.push(i[a]);o.length?this._fns[n]=o:delete this._fns[n]},t},Aq={urlAlphabet:"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"};let{urlAlphabet:Oq}=Aq,tO=t=>crypto.getRandomValues(new Uint8Array(t)),eO=(t,e,n)=>{let r=(2<<Math.log(t.length-1)/Math.LN2)-1,o=-~(1.6*r*e/t.length);return()=>{let i="";for(;;){let a=n(o),u=o;for(;u--;)if(i+=t[a[u]&r]||"",i.length===e)return i}}};var kq={nanoid:(t=21)=>{let e="",n=crypto.getRandomValues(new Uint8Array(t));for(;t--;){let r=63&n[t];e+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-"}return e},customAlphabet:(t,e)=>eO(t,e,tO),customRandom:eO,urlAlphabet:Oq,random:tO},dw=function(t){if(typeof t!="number"||isNaN(t))throw new TypeError("Expected a number, got "+typeof t);var e=t<0,n=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(e&&(t=-t),t<1)return(e?"-":"")+t+" B";var r=Math.min(Math.floor(Math.log(t)/Math.log(1024)),n.length-1);t=Number(t/Math.pow(1024,r));var o=n[r];return t>=10||t%1==0?(e?"-":"")+t.toFixed(0)+" "+o:(e?"-":"")+t.toFixed(1)+" "+o};function nO(t,e){this.text=t=t||"",this.hasWild=~t.indexOf("*"),this.separator=e,this.parts=t.split(e)}nO.prototype.match=function(t){var e,n,r=!0,o=this.parts,i=o.length;if(typeof t=="string"||t instanceof String)if(this.hasWild||this.text==t){for(n=(t||"").split(this.separator),e=0;r&&e<i;e++)o[e]!=="*"&&(r=e<n.length&&o[e]===n[e]);r=r&&n}else r=!1;else if(typeof t.splice=="function")for(r=[],e=t.length;e--;)this.match(t[e])&&(r[r.length]=t[e]);else if(typeof t=="object")for(var a in r={},t)this.match(a)&&(r[a]=t[a]);return r};var Bq=/[\/\+\.]/,Fq=function(t,e){function n(r){var o=function(i,a,u){var s=new nO(i,u||/[\/\.]/);return a!==void 0?s.match(a):s}(r,t,Bq);return o&&o.length>=2}return e?n(e.split(";")[0]):n},Tq=0;function Pq(t){return"__private_"+Tq+++"_"+t}var pw=Pq("publish");class rO{constructor(){Object.defineProperty(this,pw,{value:jq}),this.state={},this.callbacks=[]}getState(){return this.state}setState(e){const n=V({},this.state),r=V(V({},this.state),e);this.state=r,function(o,i){if(!Object.prototype.hasOwnProperty.call(o,i))throw new TypeError("attempted to use private field on non-instance");return o}(this,pw)[pw](n,r,e)}subscribe(e){return this.callbacks.push(e),()=>{this.callbacks.splice(this.callbacks.indexOf(e),1)}}}function jq(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this.callbacks.forEach(r=>{r(...e)})}rO.VERSION="2.0.3";var oO=function(t){const e=t.lastIndexOf(".");return e===-1||e===t.length-1?{name:t,extension:void 0}:{name:t.slice(0,e),extension:t.slice(e+1)}},iO={md:"text/markdown",markdown:"text/markdown",mp4:"video/mp4",mp3:"audio/mp3",svg:"image/svg+xml",jpg:"image/jpeg",png:"image/png",gif:"image/gif",heic:"image/heic",heif:"image/heif",yaml:"text/yaml",yml:"text/yaml",csv:"text/csv",tsv:"text/tab-separated-values",tab:"text/tab-separated-values",avi:"video/x-msvideo",mks:"video/x-matroska",mkv:"video/x-matroska",mov:"video/quicktime",doc:"application/msword",docm:"application/vnd.ms-word.document.macroenabled.12",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",dot:"application/msword",dotm:"application/vnd.ms-word.template.macroenabled.12",dotx:"application/vnd.openxmlformats-officedocument.wordprocessingml.template",xla:"application/vnd.ms-excel",xlam:"application/vnd.ms-excel.addin.macroenabled.12",xlc:"application/vnd.ms-excel",xlf:"application/x-xliff+xml",xlm:"application/vnd.ms-excel",xls:"application/vnd.ms-excel",xlsb:"application/vnd.ms-excel.sheet.binary.macroenabled.12",xlsm:"application/vnd.ms-excel.sheet.macroenabled.12",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xlt:"application/vnd.ms-excel",xltm:"application/vnd.ms-excel.template.macroenabled.12",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template",xlw:"application/vnd.ms-excel",txt:"text/plain",text:"text/plain",conf:"text/plain",log:"text/plain",pdf:"application/pdf",zip:"application/zip","7z":"application/x-7z-compressed",rar:"application/x-rar-compressed",tar:"application/x-tar",gz:"application/gzip",dmg:"application/x-apple-diskimage"};function aO(t){let e="";return t.replace(/[^A-Z0-9]/gi,n=>(e+=`-${function(r){return r.charCodeAt(0).toString(32)}(n)}`,"/"))+e}var _q=function(t){if(t==null&&(t=typeof navigator!="undefined"?navigator.userAgent:null),!t)return!0;const e=/Edge\/(\d+\.\d+)/.exec(t);if(!e)return!0;const n=e[1];let[r,o]=n.split(".");return r=parseInt(r,10),o=parseInt(o,10),r<15||r===15&&o<15063||r>18||r===18&&o>=18218};function hw(t){return t<10?`0${t}`:t.toString()}var Mg=function(){const t=new Date;return`${hw(t.getHours())}:${hw(t.getMinutes())}:${hw(t.getSeconds())}`},uO={justErrorsLogger:{debug:()=>{},warn:()=>{},error:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return console.error(`[Uppy] [${Mg()}]`,...e)}},debugLogger:{debug:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return console.debug(`[Uppy] [${Mg()}]`,...e)},warn:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return console.warn(`[Uppy] [${Mg()}]`,...e)},error:function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return console.error(`[Uppy] [${Mg()}]`,...e)}}},Iq={strings:{addBulkFilesFailed:{0:"Failed to add %{smart_count} file due to an internal error",1:"Failed to add %{smart_count} files due to internal errors"},youCanOnlyUploadX:{0:"You can only upload %{smart_count} file",1:"You can only upload %{smart_count} files"},youHaveToAtLeastSelectX:{0:"You have to select at least %{smart_count} file",1:"You have to select at least %{smart_count} files"},exceedsSize:"%{file} exceeds maximum allowed size of %{size}",missingRequiredMetaField:"Missing required meta fields",missingRequiredMetaFieldOnFile:"Missing required meta fields in %{fileName}",inferiorSize:"This file is smaller than the allowed size of %{size}",youCanOnlyUploadFileTypes:"You can only upload: %{types}",noMoreFilesAllowed:"Cannot add more files",noDuplicates:"Cannot add the duplicate file '%{fileName}', it already exists",companionError:"Connection with Companion failed",authAborted:"Authentication aborted",companionUnauthorizeHint:"To unauthorize to your %{provider} account, please go to %{url}",failedToUpload:"Failed to upload %{file}",noInternetConnection:"No Internet connection",connectedToInternet:"Connected to the Internet",noFilesFound:"You have no files or folders here",selectX:{0:"Select %{smart_count}",1:"Select %{smart_count}"},allFilesFromFolderNamed:"All files from folder %{name}",openFolderNamed:"Open folder %{name}",cancel:"Cancel",logOut:"Log out",filter:"Filter",resetFilter:"Reset filter",loading:"Loading...",authenticateWithTitle:"Please authenticate with %{pluginName} to select files",authenticateWith:"Connect to %{pluginName}",signInWithGoogle:"Sign in with Google",searchImages:"Search for images",enterTextToSearch:"Enter text to search for images",backToSearch:"Back to Search",emptyFolderAdded:"No files were added from empty folder",folderAlreadyAdded:'The folder "%{folder}" was already added',folderAdded:{0:"Added %{smart_count} file from %{folder}",1:"Added %{smart_count} files from %{folder}"}}},sO=kq;let lO,cO;function wt(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var Nq=0;function gn(t){return"__private_"+Nq+++"_"+t}const{nanoid:Lq}=sO,{justErrorsLogger:Rq,debugLogger:Mq}=uO;class ti extends Error{constructor(){super(...arguments),this.isRestriction=!0}}typeof AggregateError=="undefined"&&(globalThis.AggregateError=class extends Error{constructor(t,e){super(e),this.errors=t}});class zq extends AggregateError{constructor(){super(...arguments),this.isRestriction=!0}}var Hn=gn("plugins"),cd=gn("storeUnsubscribe"),Ni=gn("emitter"),rs=gn("preProcessors"),os=gn("uploaders"),Li=gn("postProcessors"),fd=gn("checkRestrictions"),gw=gn("checkMinNumberOfFiles"),dd=gn("checkRequiredMetaFieldsOnFile"),vw=gn("checkRequiredMetaFields"),Dn=gn("showOrLogErrorAndThrow"),pd=gn("assertNewUploadAllowed"),hd=gn("checkAndCreateFileStateObject"),gd=gn("startIfAutoProceed"),mw=gn("addListeners"),ko=gn("updateOnlineStatus"),Ri=gn("createUpload"),yw=gn("getUpload"),is=gn("removeUpload"),Mi=gn("runUpload");lO=Symbol.for("uppy test: getPlugins"),cO=Symbol.for("uppy test: createUpload");class fO{constructor(e){Object.defineProperty(this,Mi,{value:Qq}),Object.defineProperty(this,is,{value:Jq}),Object.defineProperty(this,yw,{value:Xq}),Object.defineProperty(this,Ri,{value:Yq}),Object.defineProperty(this,mw,{value:Zq}),Object.defineProperty(this,gd,{value:qq}),Object.defineProperty(this,hd,{value:Kq}),Object.defineProperty(this,pd,{value:Gq}),Object.defineProperty(this,Dn,{value:Wq}),Object.defineProperty(this,vw,{value:Vq}),Object.defineProperty(this,dd,{value:Uq}),Object.defineProperty(this,gw,{value:Hq}),Object.defineProperty(this,fd,{value:$q}),Object.defineProperty(this,Hn,{writable:!0,value:Object.create(null)}),Object.defineProperty(this,cd,{writable:!0,value:void 0}),Object.defineProperty(this,Ni,{writable:!0,value:Q9()}),Object.defineProperty(this,rs,{writable:!0,value:new Set}),Object.defineProperty(this,os,{writable:!0,value:new Set}),Object.defineProperty(this,Li,{writable:!0,value:new Set}),Object.defineProperty(this,ko,{writable:!0,value:this.updateOnlineStatus.bind(this)}),this.defaultLocale=Iq;const n={id:"uppy",autoProceed:!1,allowMultipleUploads:!0,allowMultipleUploadBatches:!0,debug:!1,restrictions:{maxFileSize:null,minFileSize:null,maxTotalFileSize:null,maxNumberOfFiles:null,minNumberOfFiles:null,allowedFileTypes:null,requiredMetaFields:[]},meta:{},onBeforeFileAdded:r=>r,onBeforeUpload:r=>r,store:new rO,logger:Rq,infoTimeout:5e3};if(this.opts=V(V(V({},n),e),{restrictions:V(V({},n.restrictions),e&&e.restrictions)}),e&&e.logger&&e.debug?this.log("You are using a custom `logger`, but also set `debug: true`, which uses built-in logger to output logs to console. Ignoring `debug: true` and using your custom `logger`.","warning"):e&&e.debug&&(this.opts.logger=Mq),this.log(`Using Core v${this.constructor.VERSION}`),this.opts.restrictions.allowedFileTypes&&this.opts.restrictions.allowedFileTypes!==null&&!Array.isArray(this.opts.restrictions.allowedFileTypes))throw new TypeError("`restrictions.allowedFileTypes` must be an array");this.i18nInit(),this.calculateProgress=ns(this.calculateProgress.bind(this),500,{leading:!0,trailing:!0}),this.store=this.opts.store,this.setState({plugins:{},files:{},currentUploads:{},allowNewUpload:!0,capabilities:{uploadProgress:_q(),individualCancellation:!0,resumableUploads:!1},totalProgress:0,meta:V({},this.opts.meta),info:[],recoveredState:null}),wt(this,cd)[cd]=this.store.subscribe((r,o,i)=>{this.emit("state-update",r,o,i),this.updateAll(o)}),this.opts.debug&&typeof window!="undefined"&&(window[this.opts.id]=this),wt(this,mw)[mw]()}emit(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];wt(this,Ni)[Ni].emit(e,...r)}on(e,n){return wt(this,Ni)[Ni].on(e,n),this}once(e,n){return wt(this,Ni)[Ni].once(e,n),this}off(e,n){return wt(this,Ni)[Ni].off(e,n),this}updateAll(e){this.iteratePlugins(n=>{n.update(e)})}setState(e){this.store.setState(e)}getState(){return this.store.getState()}get state(){return this.getState()}setFileState(e,n){if(!this.getState().files[e])throw new Error(`Can\u2019t set state for ${e} (the file could have been removed)`);this.setState({files:V(V({},this.getState().files),{[e]:V(V({},this.getState().files[e]),n)})})}i18nInit(){const e=new J9([this.defaultLocale,this.opts.locale]);this.i18n=e.translate.bind(e),this.i18nArray=e.translateArray.bind(e),this.locale=e.locale}setOptions(e){this.opts=V(V(V({},this.opts),e),{restrictions:V(V({},this.opts.restrictions),e&&e.restrictions)}),e.meta&&this.setMeta(e.meta),this.i18nInit(),e.locale&&this.iteratePlugins(n=>{n.setOptions()}),this.setState()}resetProgress(){const e={percentage:0,bytesUploaded:0,uploadComplete:!1,uploadStarted:null},n=V({},this.getState().files),r={};Object.keys(n).forEach(o=>{const i=V({},n[o]);i.progress=V(V({},i.progress),e),r[o]=i}),this.setState({files:r,totalProgress:0}),this.emit("reset-progress")}addPreProcessor(e){wt(this,rs)[rs].add(e)}removePreProcessor(e){return wt(this,rs)[rs].delete(e)}addPostProcessor(e){wt(this,Li)[Li].add(e)}removePostProcessor(e){return wt(this,Li)[Li].delete(e)}addUploader(e){wt(this,os)[os].add(e)}removeUploader(e){return wt(this,os)[os].delete(e)}setMeta(e){const n=V(V({},this.getState().meta),e),r=V({},this.getState().files);Object.keys(r).forEach(o=>{r[o]=V(V({},r[o]),{meta:V(V({},r[o].meta),e)})}),this.log("Adding metadata:"),this.log(e),this.setState({meta:n,files:r})}setFileMeta(e,n){const r=V({},this.getState().files);if(!r[e])return void this.log("Was trying to set metadata for a file that has been removed: ",e);const o=V(V({},r[e].meta),n);r[e]=V(V({},r[e]),{meta:o}),this.setState({files:r})}getFile(e){return this.getState().files[e]}getFiles(){const{files:e}=this.getState();return Object.values(e)}getObjectOfFilesPerState(){const{files:e,totalProgress:n,error:r}=this.getState(),o=Object.values(e),i=o.filter(y=>{let{progress:g}=y;return!g.uploadComplete&&g.uploadStarted}),a=o.filter(y=>!y.progress.uploadStarted),u=o.filter(y=>y.progress.uploadStarted||y.progress.preprocess||y.progress.postprocess),s=o.filter(y=>y.progress.uploadStarted),l=o.filter(y=>y.isPaused),c=o.filter(y=>y.progress.uploadComplete),f=o.filter(y=>y.error),p=i.filter(y=>!y.isPaused),d=o.filter(y=>y.progress.preprocess||y.progress.postprocess);return{newFiles:a,startedFiles:u,uploadStartedFiles:s,pausedFiles:l,completeFiles:c,erroredFiles:f,inProgressFiles:i,inProgressNotPausedFiles:p,processingFiles:d,isUploadStarted:s.length>0,isAllComplete:n===100&&c.length===o.length&&d.length===0,isAllErrored:!!r&&f.length===o.length,isAllPaused:i.length!==0&&l.length===i.length,isUploadInProgress:i.length>0,isSomeGhost:o.some(y=>y.isGhost)}}validateRestrictions(e,n){try{return wt(this,fd)[fd](e,n),{result:!0}}catch(r){return{result:!1,reason:r.message}}}checkIfFileAlreadyExists(e){const{files:n}=this.getState();return!(!n[e]||n[e].isGhost)}addFile(e){wt(this,pd)[pd](e);const{files:n}=this.getState();let r=wt(this,hd)[hd](n,e);return n[r.id]&&n[r.id].isGhost&&(r=V(V({},n[r.id]),{data:e.data,isGhost:!1}),this.log(`Replaced the blob in the restored ghost file: ${r.name}, ${r.id}`)),this.setState({files:V(V({},n),{[r.id]:r})}),this.emit("file-added",r),this.emit("files-added",[r]),this.log(`Added file: ${r.name}, ${r.id}, mime type: ${r.type}`),wt(this,gd)[gd](),r.id}addFiles(e){wt(this,pd)[pd]();const n=V({},this.getState().files),r=[],o=[];for(let i=0;i<e.length;i++)try{let a=wt(this,hd)[hd](n,e[i]);n[a.id]&&n[a.id].isGhost&&(a=V(V({},n[a.id]),{data:e[i].data,isGhost:!1}),this.log(`Replaced blob in a ghost file: ${a.name}, ${a.id}`)),n[a.id]=a,r.push(a)}catch(a){a.isRestriction||o.push(a)}if(this.setState({files:n}),r.forEach(i=>{this.emit("file-added",i)}),this.emit("files-added",r),r.length>5?this.log(`Added batch of ${r.length} files`):Object.keys(r).forEach(i=>{this.log(`Added file: ${r[i].name}
  26. id: ${r[i].id}
  27. type: ${r[i].type}`)}),r.length>0&&wt(this,gd)[gd](),o.length>0){let i=`Multiple errors occurred while adding files:
  28. `;if(o.forEach(a=>{i+=`
  29. * ${a.message}`}),this.info({message:this.i18n("addBulkFilesFailed",{smart_count:o.length}),details:i},"error",this.opts.infoTimeout),typeof AggregateError=="function")throw new AggregateError(o,i);{const a=new Error(i);throw a.errors=o,a}}}removeFiles(e,n){const{files:r,currentUploads:o}=this.getState(),i=V({},r),a=V({},o),u=Object.create(null);function s(f){return u[f]===void 0}e.forEach(f=>{r[f]&&(u[f]=r[f],delete i[f])}),Object.keys(a).forEach(f=>{const p=o[f].fileIDs.filter(s);p.length!==0?a[f]=V(V({},o[f]),{fileIDs:p}):delete a[f]});const l={currentUploads:a,files:i};Object.keys(i).length===0&&(l.allowNewUpload=!0,l.error=null,l.recoveredState=null),this.setState(l),this.calculateTotalProgress();const c=Object.keys(u);c.forEach(f=>{this.emit("file-removed",u[f],n)}),c.length>5?this.log(`Removed ${c.length} files`):this.log(`Removed files: ${c.join(", ")}`)}removeFile(e,n){n===void 0&&(n=null),this.removeFiles([e],n)}pauseResume(e){if(!this.getState().capabilities.resumableUploads||this.getFile(e).uploadComplete)return;const n=!this.getFile(e).isPaused;return this.setFileState(e,{isPaused:n}),this.emit("upload-pause",e,n),n}pauseAll(){const e=V({},this.getState().files);Object.keys(e).filter(n=>!e[n].progress.uploadComplete&&e[n].progress.uploadStarted).forEach(n=>{const r=V(V({},e[n]),{isPaused:!0});e[n]=r}),this.setState({files:e}),this.emit("pause-all")}resumeAll(){const e=V({},this.getState().files);Object.keys(e).filter(n=>!e[n].progress.uploadComplete&&e[n].progress.uploadStarted).forEach(n=>{const r=V(V({},e[n]),{isPaused:!1,error:null});e[n]=r}),this.setState({files:e}),this.emit("resume-all")}retryAll(){const e=V({},this.getState().files),n=Object.keys(e).filter(o=>e[o].error);if(n.forEach(o=>{const i=V(V({},e[o]),{isPaused:!1,error:null});e[o]=i}),this.setState({files:e,error:null}),this.emit("retry-all",n),n.length===0)return Promise.resolve({successful:[],failed:[]});const r=wt(this,Ri)[Ri](n,{forceAllowNewUpload:!0});return wt(this,Mi)[Mi](r)}cancelAll(){this.emit("cancel-all");const{files:e}=this.getState(),n=Object.keys(e);n.length&&this.removeFiles(n,"cancel-all"),this.setState({totalProgress:0,error:null,recoveredState:null})}retryUpload(e){this.setFileState(e,{error:null,isPaused:!1}),this.emit("upload-retry",e);const n=wt(this,Ri)[Ri]([e],{forceAllowNewUpload:!0});return wt(this,Mi)[Mi](n)}reset(){this.cancelAll()}logout(){this.iteratePlugins(e=>{e.provider&&e.provider.logout&&e.provider.logout()})}calculateProgress(e,n){if(!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${e.id}`);const r=Number.isFinite(n.bytesTotal)&&n.bytesTotal>0;this.setFileState(e.id,{progress:V(V({},this.getFile(e.id).progress),{bytesUploaded:n.bytesUploaded,bytesTotal:n.bytesTotal,percentage:r?Math.round(n.bytesUploaded/n.bytesTotal*100):0})}),this.calculateTotalProgress()}calculateTotalProgress(){const e=this.getFiles().filter(s=>s.progress.uploadStarted||s.progress.preprocess||s.progress.postprocess);if(e.length===0)return this.emit("progress",0),void this.setState({totalProgress:0});const n=e.filter(s=>s.progress.bytesTotal!=null),r=e.filter(s=>s.progress.bytesTotal==null);if(n.length===0){const s=100*e.length,l=r.reduce((f,p)=>f+p.progress.percentage,0),c=Math.round(l/s*100);return void this.setState({totalProgress:c})}let o=n.reduce((s,l)=>s+l.progress.bytesTotal,0);const i=o/n.length;o+=i*r.length;let a=0;n.forEach(s=>{a+=s.progress.bytesUploaded}),r.forEach(s=>{a+=i*(s.progress.percentage||0)/100});let u=o===0?0:Math.round(a/o*100);u>100&&(u=100),this.setState({totalProgress:u}),this.emit("progress",u)}updateOnlineStatus(){window.navigator.onLine===void 0||window.navigator.onLine?(this.emit("is-online"),this.wasOffline&&(this.emit("back-online"),this.info(this.i18n("connectedToInternet"),"success",3e3),this.wasOffline=!1)):(this.emit("is-offline"),this.info(this.i18n("noInternetConnection"),"error",0),this.wasOffline=!0)}getID(){return this.opts.id}use(e,n){if(typeof e!="function")throw new TypeError(`Expected a plugin class, but got ${e===null?"null":typeof e}. Please verify that the plugin was imported and spelled correctly.`);const r=new e(this,n),o=r.id;if(!o)throw new Error("Your plugin must have an id");if(!r.type)throw new Error("Your plugin must have a type");const i=this.getPlugin(o);if(i){const a=`Already found a plugin named '${i.id}'. Tried to use: '${o}'.
  30. Uppy plugins must have unique \`id\` options. See https://uppy.io/docs/plugins/#id.`;throw new Error(a)}return e.VERSION&&this.log(`Using ${o} v${e.VERSION}`),r.type in wt(this,Hn)[Hn]?wt(this,Hn)[Hn][r.type].push(r):wt(this,Hn)[Hn][r.type]=[r],r.install(),this}getPlugin(e){for(const n of Object.values(wt(this,Hn)[Hn])){const r=n.find(o=>o.id===e);if(r!=null)return r}}[lO](e){return wt(this,Hn)[Hn][e]}iteratePlugins(e){Object.values(wt(this,Hn)[Hn]).flat(1).forEach(e)}removePlugin(e){this.log(`Removing plugin ${e.id}`),this.emit("plugin-remove",e),e.uninstall&&e.uninstall();const n=wt(this,Hn)[Hn][e.type],r=n.findIndex(i=>i.id===e.id);r!==-1&&n.splice(r,1);const o={plugins:V(V({},this.getState().plugins),{[e.id]:void 0})};this.setState(o)}close(){this.log(`Closing Uppy instance ${this.opts.id}: removing all files and uninstalling plugins`),this.reset(),wt(this,cd)[cd](),this.iteratePlugins(e=>{this.removePlugin(e)}),typeof window!="undefined"&&window.removeEventListener&&(window.removeEventListener("online",wt(this,ko)[ko]),window.removeEventListener("offline",wt(this,ko)[ko]))}hideInfo(){const{info:e}=this.getState();this.setState({info:e.slice(1)}),this.emit("info-hidden")}info(e,n,r){n===void 0&&(n="info"),r===void 0&&(r=3e3);const o=typeof e=="object";this.setState({info:[...this.getState().info,{type:n,message:o?e.message:e,details:o?e.details:null}]}),setTimeout(()=>this.hideInfo(),r),this.emit("info-visible")}log(e,n){const{logger:r}=this.opts;switch(n){case"error":r.error(e);break;case"warning":r.warn(e);break;default:r.debug(e)}}restore(e){return this.log(`Core: attempting to restore upload "${e}"`),this.getState().currentUploads[e]?wt(this,Mi)[Mi](e):(wt(this,is)[is](e),Promise.reject(new Error("Nonexistent upload")))}[cO](){return wt(this,Ri)[Ri](...arguments)}addResultData(e,n){if(!wt(this,yw)[yw](e))return void this.log(`Not setting result for an upload that has been removed: ${e}`);const{currentUploads:r}=this.getState(),o=V(V({},r[e]),{result:V(V({},r[e].result),n)});this.setState({currentUploads:V(V({},r),{[e]:o})})}upload(){var e;(e=wt(this,Hn)[Hn].uploader)!=null&&e.length||this.log("No uploader type plugins are used","warning");let{files:n}=this.getState();const r=this.opts.onBeforeUpload(n);return r===!1?Promise.reject(new Error("Not starting the upload because onBeforeUpload returned false")):(r&&typeof r=="object"&&(n=r,this.setState({files:n})),Promise.resolve().then(()=>{wt(this,gw)[gw](n),wt(this,vw)[vw](n)}).catch(o=>{wt(this,Dn)[Dn](o)}).then(()=>{const{currentUploads:o}=this.getState(),i=Object.values(o).flatMap(s=>s.fileIDs),a=[];Object.keys(n).forEach(s=>{const l=this.getFile(s);l.progress.uploadStarted||i.indexOf(s)!==-1||a.push(l.id)});const u=wt(this,Ri)[Ri](a);return wt(this,Mi)[Mi](u)}).catch(o=>{wt(this,Dn)[Dn](o,{showInformer:!1})}))}}function $q(t,e){e===void 0&&(e=this.getFiles());const{maxFileSize:n,minFileSize:r,maxTotalFileSize:o,maxNumberOfFiles:i,allowedFileTypes:a}=this.opts.restrictions;if(i&&e.length+1>i)throw new ti(`${this.i18n("youCanOnlyUploadX",{smart_count:i})}`);if(a&&!a.some(u=>u.indexOf("/")>-1?!!t.type&&Fq(t.type.replace(/;.*?$/,""),u):!(u[0]!=="."||!t.extension)&&t.extension.toLowerCase()===u.substr(1).toLowerCase())){const u=a.join(", ");throw new ti(this.i18n("youCanOnlyUploadFileTypes",{types:u}))}if(o&&t.size!=null){let u=0;if(u+=t.size,e.forEach(s=>{u+=s.size}),u>o)throw new ti(this.i18n("exceedsSize",{size:dw(o),file:t.name}))}if(n&&t.size!=null&&t.size>n)throw new ti(this.i18n("exceedsSize",{size:dw(n),file:t.name}));if(r&&t.size!=null&&t.size<r)throw new ti(this.i18n("inferiorSize",{size:dw(r)}))}function Hq(t){const{minNumberOfFiles:e}=this.opts.restrictions;if(Object.keys(t).length<e)throw new ti(`${this.i18n("youHaveToAtLeastSelectX",{smart_count:e})}`)}function Uq(t){const{requiredMetaFields:e}=this.opts.restrictions,{hasOwnProperty:n}=Object.prototype,r=[],o=[];for(let i=0;i<e.length;i++)if(!n.call(t.meta,e[i])||t.meta[e[i]]===""){const a=new ti(`${this.i18n("missingRequiredMetaFieldOnFile",{fileName:t.name})}`);r.push(a),o.push(e[i]),wt(this,Dn)[Dn](a,{file:t,showInformer:!1,throwErr:!1})}return this.setFileState(t.id,{missingRequiredMetaFields:o}),r}function Vq(t){const e=Object.keys(t).flatMap(n=>{const r=this.getFile(n);return wt(this,dd)[dd](r)});if(e.length)throw new zq(e,`${this.i18n("missingRequiredMetaField")}`)}function Wq(t,e){let{showInformer:n=!0,file:r=null,throwErr:o=!0}=e===void 0?{}:e;const i=typeof t=="object"?t.message:t,a=typeof t=="object"&&t.details?t.details:"";let u=i;if(a&&(u+=` ${a}`),t.isRestriction?(this.log(u),this.emit("restriction-failed",r,t)):this.log(u,"error"),n&&this.info({message:i,details:a},"error",this.opts.infoTimeout),o)throw typeof t=="object"?t:new Error(t)}function Gq(t){const{allowNewUpload:e}=this.getState();e===!1&&wt(this,Dn)[Dn](new ti(this.i18n("noMoreFilesAllowed")),{file:t})}function Kq(t,e){const n=function(f){var p;if(f.type)return f.type;const d=f.name?(p=oO(f.name).extension)==null?void 0:p.toLowerCase():null;return d&&d in iO?iO[d]:"application/octet-stream"}(e),r=function(f,p){return p.name?p.name:f.split("/")[0]==="image"?`${f.split("/")[0]}.${f.split("/")[1]}`:"noname"}(n,e),o=oO(r).extension,i=Boolean(e.isRemote),a=function(f){let p="uppy";return typeof f.name=="string"&&(p+=`-${aO(f.name.toLowerCase())}`),f.type!==void 0&&(p+=`-${f.type}`),f.meta&&typeof f.meta.relativePath=="string"&&(p+=`-${aO(f.meta.relativePath.toLowerCase())}`),f.data.size!==void 0&&(p+=`-${f.data.size}`),f.data.lastModified!==void 0&&(p+=`-${f.data.lastModified}`),p}(V(V({},e),{type:n}));if(this.checkIfFileAlreadyExists(a)){const f=new ti(this.i18n("noDuplicates",{fileName:r}));wt(this,Dn)[Dn](f,{file:e})}const u=e.meta||{};u.name=r,u.type=n;const s=Number.isFinite(e.data.size)?e.data.size:null;let l={source:e.source||"",id:a,name:r,extension:o||"",meta:V(V({},this.getState().meta),u),type:n,data:e.data,progress:{percentage:0,bytesUploaded:0,bytesTotal:s,uploadComplete:!1,uploadStarted:null},size:s,isRemote:i,remote:e.remote||"",preview:e.preview};const c=this.opts.onBeforeFileAdded(l,t);c===!1?wt(this,Dn)[Dn](new ti("Cannot add the file because onBeforeFileAdded returned false."),{showInformer:!1,fileDescriptor:e}):typeof c=="object"&&c!==null&&(l=c);try{const f=Object.keys(t).map(p=>t[p]);wt(this,fd)[fd](l,f)}catch(f){wt(this,Dn)[Dn](f,{file:l})}return l}function qq(){this.opts.autoProceed&&!this.scheduledAutoProceed&&(this.scheduledAutoProceed=setTimeout(()=>{this.scheduledAutoProceed=null,this.upload().catch(t=>{t.isRestriction||this.log(t.stack||t.message||t)})},4))}function Zq(){const t=(e,n,r)=>{let o=e.message||"Unknown error";e.details&&(o+=` ${e.details}`),this.setState({error:o}),n!=null&&n.id in this.getState().files&&this.setFileState(n.id,{error:o,response:r})};this.on("error",t),this.on("upload-error",(e,n,r)=>{if(t(n,e,r),typeof n=="object"&&n.message){const o=new Error(n.message);o.details=n.message,n.details&&(o.details+=` ${n.details}`),o.message=this.i18n("failedToUpload",{file:e.name}),wt(this,Dn)[Dn](o,{throwErr:!1})}else wt(this,Dn)[Dn](n,{throwErr:!1})}),this.on("upload",()=>{this.setState({error:null})}),this.on("upload-started",e=>{this.getFile(e.id)?this.setFileState(e.id,{progress:{uploadStarted:Date.now(),uploadComplete:!1,percentage:0,bytesUploaded:0,bytesTotal:e.size}}):this.log(`Not setting progress for a file that has been removed: ${e.id}`)}),this.on("upload-progress",this.calculateProgress),this.on("upload-success",(e,n)=>{if(!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${e.id}`);const r=this.getFile(e.id).progress;this.setFileState(e.id,{progress:V(V({},r),{postprocess:wt(this,Li)[Li].size>0?{mode:"indeterminate"}:null,uploadComplete:!0,percentage:100,bytesUploaded:r.bytesTotal}),response:n,uploadURL:n.uploadURL,isPaused:!1}),e.size==null&&this.setFileState(e.id,{size:n.bytesUploaded||r.bytesTotal}),this.calculateTotalProgress()}),this.on("preprocess-progress",(e,n)=>{this.getFile(e.id)?this.setFileState(e.id,{progress:V(V({},this.getFile(e.id).progress),{preprocess:n})}):this.log(`Not setting progress for a file that has been removed: ${e.id}`)}),this.on("preprocess-complete",e=>{if(!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${e.id}`);const n=V({},this.getState().files);n[e.id]=V(V({},n[e.id]),{progress:V({},n[e.id].progress)}),delete n[e.id].progress.preprocess,this.setState({files:n})}),this.on("postprocess-progress",(e,n)=>{this.getFile(e.id)?this.setFileState(e.id,{progress:V(V({},this.getState().files[e.id].progress),{postprocess:n})}):this.log(`Not setting progress for a file that has been removed: ${e.id}`)}),this.on("postprocess-complete",e=>{if(!this.getFile(e.id))return void this.log(`Not setting progress for a file that has been removed: ${e.id}`);const n=V({},this.getState().files);n[e.id]=V(V({},n[e.id]),{progress:V({},n[e.id].progress)}),delete n[e.id].progress.postprocess,this.setState({files:n})}),this.on("restored",()=>{this.calculateTotalProgress()}),this.on("dashboard:file-edit-complete",e=>{e&&wt(this,dd)[dd](e)}),typeof window!="undefined"&&window.addEventListener&&(window.addEventListener("online",wt(this,ko)[ko]),window.addEventListener("offline",wt(this,ko)[ko]),setTimeout(wt(this,ko)[ko],3e3))}function Yq(t,e){e===void 0&&(e={});const{forceAllowNewUpload:n=!1}=e,{allowNewUpload:r,currentUploads:o}=this.getState();if(!r&&!n)throw new Error("Cannot create a new upload: already uploading.");const i=Lq();return this.emit("upload",{id:i,fileIDs:t}),this.setState({allowNewUpload:this.opts.allowMultipleUploadBatches!==!1&&this.opts.allowMultipleUploads!==!1,currentUploads:V(V({},o),{[i]:{fileIDs:t,step:0,result:{}}})}),i}function Xq(t){const{currentUploads:e}=this.getState();return e[t]}function Jq(t){const e=V({},this.getState().currentUploads);delete e[t],this.setState({currentUploads:e})}function Qq(t){return c8(this,null,function*(){let{currentUploads:e}=this.getState(),n=e[t];const r=n.step||0,o=[...wt(this,rs)[rs],...wt(this,os)[os],...wt(this,Li)[Li]];try{for(let a=r;a<o.length&&n;a++){const u=o[a],s=V(V({},n),{step:a});this.setState({currentUploads:V(V({},e),{[t]:s})}),yield u(s.fileIDs,t),e=this.getState().currentUploads,n=e[t]}}catch(a){throw this.emit("error",a),wt(this,is)[is](t),a}if(n){n.fileIDs.forEach(l=>{const c=this.getFile(l);c&&c.progress.postprocess&&this.emit("postprocess-complete",c)});const a=n.fileIDs.map(l=>this.getFile(l)),u=a.filter(l=>!l.error),s=a.filter(l=>l.error);yield this.addResultData(t,{successful:u,failed:s,uploadID:t}),e=this.getState().currentUploads,n=e[t]}let i;return n&&(i=n.result,this.emit("complete",i),wt(this,is)[is](t)),i==null&&this.log(`Not setting result for an upload that has been removed: ${t}`),i})}fO.VERSION="2.1.3";var dO=fO,tZ=gr(function(t,e){var n,r,o,i,a,u,s,l,c={},f=[],p=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function d(B,x){for(var j in x)B[j]=x[j];return B}function y(B){var x=B.parentNode;x&&x.removeChild(B)}function g(B,x,j){var U,X,W,dt={};for(W in x)W=="key"?U=x[W]:W=="ref"?X=x[W]:dt[W]=x[W];if(arguments.length>2&&(dt.children=arguments.length>3?n.call(arguments,2):j),typeof B=="function"&&B.defaultProps!=null)for(W in B.defaultProps)dt[W]===void 0&&(dt[W]=B.defaultProps[W]);return v(B,dt,U,X,null)}function v(B,x,j,U,X){var W={type:B,props:x,key:j,ref:U,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:X==null?++o:X};return X==null&&r.vnode!=null&&r.vnode(W),W}function m(B){return B.children}function h(B,x){this.props=B,this.context=x}function b(B,x){if(x==null)return B.__?b(B.__,B.__.__k.indexOf(B)+1):null;for(var j;x<B.__k.length;x++)if((j=B.__k[x])!=null&&j.__e!=null)return j.__e;return typeof B.type=="function"?b(B):null}function w(B){var x,j;if((B=B.__)!=null&&B.__c!=null){for(B.__e=B.__c.base=null,x=0;x<B.__k.length;x++)if((j=B.__k[x])!=null&&j.__e!=null){B.__e=B.__c.base=j.__e;break}return w(B)}}function S(B){(!B.__d&&(B.__d=!0)&&a.push(B)&&!D.__r++||s!==r.debounceRendering)&&((s=r.debounceRendering)||u)(D)}function D(){for(var B;D.__r=a.length;)B=a.sort(function(x,j){return x.__v.__b-j.__v.__b}),a=[],B.some(function(x){var j,U,X,W,dt,Dt;x.__d&&(dt=(W=(j=x).__v).__e,(Dt=j.__P)&&(U=[],(X=d({},W)).__v=W.__v+1,G(Dt,W,X,j.__n,Dt.ownerSVGElement!==void 0,W.__h!=null?[dt]:null,U,dt==null?b(W):dt,W.__h),K(U,W),W.__e!=dt&&w(W)))})}function C(B,x,j,U,X,W,dt,Dt,Tt,Rt){var q,te,$t,St,Ht,Qe,ue,Ee=U&&U.__k||f,Me=Ee.length;for(j.__k=[],q=0;q<x.length;q++)if((St=j.__k[q]=(St=x[q])==null||typeof St=="boolean"?null:typeof St=="string"||typeof St=="number"||typeof St=="bigint"?v(null,St,null,null,St):Array.isArray(St)?v(m,{children:St},null,null,null):St.__b>0?v(St.type,St.props,St.key,null,St.__v):St)!=null){if(St.__=j,St.__b=j.__b+1,($t=Ee[q])===null||$t&&St.key==$t.key&&St.type===$t.type)Ee[q]=void 0;else for(te=0;te<Me;te++){if(($t=Ee[te])&&St.key==$t.key&&St.type===$t.type){Ee[te]=void 0;break}$t=null}G(B,St,$t=$t||c,X,W,dt,Dt,Tt,Rt),Ht=St.__e,(te=St.ref)&&$t.ref!=te&&(ue||(ue=[]),$t.ref&&ue.push($t.ref,null,St),ue.push(te,St.__c||Ht,St)),Ht!=null?(Qe==null&&(Qe=Ht),typeof St.type=="function"&&St.__k===$t.__k?St.__d=Tt=O(St,Tt,B):Tt=T(B,St,$t,Ee,Ht,Tt),typeof j.type=="function"&&(j.__d=Tt)):Tt&&$t.__e==Tt&&Tt.parentNode!=B&&(Tt=b($t))}for(j.__e=Qe,q=Me;q--;)Ee[q]!=null&&(typeof j.type=="function"&&Ee[q].__e!=null&&Ee[q].__e==j.__d&&(j.__d=b(U,q+1)),yt(Ee[q],Ee[q]));if(ue)for(q=0;q<ue.length;q++)ut(ue[q],ue[++q],ue[++q])}function O(B,x,j){for(var U,X=B.__k,W=0;X&&W<X.length;W++)(U=X[W])&&(U.__=B,x=typeof U.type=="function"?O(U,x,j):T(j,U,U,X,U.__e,x));return x}function T(B,x,j,U,X,W){var dt,Dt,Tt;if(x.__d!==void 0)dt=x.__d,x.__d=void 0;else if(j==null||X!=W||X.parentNode==null)t:if(W==null||W.parentNode!==B)B.appendChild(X),dt=null;else{for(Dt=W,Tt=0;(Dt=Dt.nextSibling)&&Tt<U.length;Tt+=2)if(Dt==X)break t;B.insertBefore(X,W),dt=W}return dt!==void 0?dt:X.nextSibling}function L(B,x,j){x[0]==="-"?B.setProperty(x,j):B[x]=j==null?"":typeof j!="number"||p.test(x)?j:j+"px"}function z(B,x,j,U,X){var W;t:if(x==="style")if(typeof j=="string")B.style.cssText=j;else{if(typeof U=="string"&&(B.style.cssText=U=""),U)for(x in U)j&&x in j||L(B.style,x,"");if(j)for(x in j)U&&j[x]===U[x]||L(B.style,x,j[x])}else if(x[0]==="o"&&x[1]==="n")W=x!==(x=x.replace(/Capture$/,"")),x=x.toLowerCase()in B?x.toLowerCase().slice(2):x.slice(2),B.l||(B.l={}),B.l[x+W]=j,j?U||B.addEventListener(x,W?Y:$,W):B.removeEventListener(x,W?Y:$,W);else if(x!=="dangerouslySetInnerHTML"){if(X)x=x.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if(x!=="href"&&x!=="list"&&x!=="form"&&x!=="tabIndex"&&x!=="download"&&x in B)try{B[x]=j==null?"":j;break t}catch(dt){}typeof j=="function"||(j!=null&&(j!==!1||x[0]==="a"&&x[1]==="r")?B.setAttribute(x,j):B.removeAttribute(x))}}function $(B){this.l[B.type+!1](r.event?r.event(B):B)}function Y(B){this.l[B.type+!0](r.event?r.event(B):B)}function G(B,x,j,U,X,W,dt,Dt,Tt){var Rt,q,te,$t,St,Ht,Qe,ue,Ee,Me,rr,oe=x.type;if(x.constructor!==void 0)return null;j.__h!=null&&(Tt=j.__h,Dt=x.__e=j.__e,x.__h=null,W=[Dt]),(Rt=r.__b)&&Rt(x);try{t:if(typeof oe=="function"){if(ue=x.props,Ee=(Rt=oe.contextType)&&U[Rt.__c],Me=Rt?Ee?Ee.props.value:Rt.__:U,j.__c?Qe=(q=x.__c=j.__c).__=q.__E:("prototype"in oe&&oe.prototype.render?x.__c=q=new oe(ue,Me):(x.__c=q=new h(ue,Me),q.constructor=oe,q.render=mt),Ee&&Ee.sub(q),q.props=ue,q.state||(q.state={}),q.context=Me,q.__n=U,te=q.__d=!0,q.__h=[]),q.__s==null&&(q.__s=q.state),oe.getDerivedStateFromProps!=null&&(q.__s==q.state&&(q.__s=d({},q.__s)),d(q.__s,oe.getDerivedStateFromProps(ue,q.__s))),$t=q.props,St=q.state,te)oe.getDerivedStateFromProps==null&&q.componentWillMount!=null&&q.componentWillMount(),q.componentDidMount!=null&&q.__h.push(q.componentDidMount);else{if(oe.getDerivedStateFromProps==null&&ue!==$t&&q.componentWillReceiveProps!=null&&q.componentWillReceiveProps(ue,Me),!q.__e&&q.shouldComponentUpdate!=null&&q.shouldComponentUpdate(ue,q.__s,Me)===!1||x.__v===j.__v){q.props=ue,q.state=q.__s,x.__v!==j.__v&&(q.__d=!1),q.__v=x,x.__e=j.__e,x.__k=j.__k,x.__k.forEach(function(Ar){Ar&&(Ar.__=x)}),q.__h.length&&dt.push(q);break t}q.componentWillUpdate!=null&&q.componentWillUpdate(ue,q.__s,Me),q.componentDidUpdate!=null&&q.__h.push(function(){q.componentDidUpdate($t,St,Ht)})}q.context=Me,q.props=ue,q.state=q.__s,(Rt=r.__r)&&Rt(x),q.__d=!1,q.__v=x,q.__P=B,Rt=q.render(q.props,q.state,q.context),q.state=q.__s,q.getChildContext!=null&&(U=d(d({},U),q.getChildContext())),te||q.getSnapshotBeforeUpdate==null||(Ht=q.getSnapshotBeforeUpdate($t,St)),rr=Rt!=null&&Rt.type===m&&Rt.key==null?Rt.props.children:Rt,C(B,Array.isArray(rr)?rr:[rr],x,j,U,X,W,dt,Dt,Tt),q.base=x.__e,x.__h=null,q.__h.length&&dt.push(q),Qe&&(q.__E=q.__=null),q.__e=!1}else W==null&&x.__v===j.__v?(x.__k=j.__k,x.__e=j.__e):x.__e=Z(j.__e,x,j,U,X,W,dt,Tt);(Rt=r.diffed)&&Rt(x)}catch(Ar){x.__v=null,(Tt||W!=null)&&(x.__e=Dt,x.__h=!!Tt,W[W.indexOf(Dt)]=null),r.__e(Ar,x,j)}}function K(B,x){r.__c&&r.__c(x,B),B.some(function(j){try{B=j.__h,j.__h=[],B.some(function(U){U.call(j)})}catch(U){r.__e(U,j.__v)}})}function Z(B,x,j,U,X,W,dt,Dt){var Tt,Rt,q,te=j.props,$t=x.props,St=x.type,Ht=0;if(St==="svg"&&(X=!0),W!=null){for(;Ht<W.length;Ht++)if((Tt=W[Ht])&&"setAttribute"in Tt==!!St&&(St?Tt.localName===St:Tt.nodeType===3)){B=Tt,W[Ht]=null;break}}if(B==null){if(St===null)return document.createTextNode($t);B=X?document.createElementNS("http://www.w3.org/2000/svg",St):document.createElement(St,$t.is&&$t),W=null,Dt=!1}if(St===null)te===$t||Dt&&B.data===$t||(B.data=$t);else{if(W=W&&n.call(B.childNodes),Rt=(te=j.props||c).dangerouslySetInnerHTML,q=$t.dangerouslySetInnerHTML,!Dt){if(W!=null)for(te={},Ht=0;Ht<B.attributes.length;Ht++)te[B.attributes[Ht].name]=B.attributes[Ht].value;(q||Rt)&&(q&&(Rt&&q.__html==Rt.__html||q.__html===B.innerHTML)||(B.innerHTML=q&&q.__html||""))}if(function(Qe,ue,Ee,Me,rr){var oe;for(oe in Ee)oe==="children"||oe==="key"||oe in ue||z(Qe,oe,null,Ee[oe],Me);for(oe in ue)rr&&typeof ue[oe]!="function"||oe==="children"||oe==="key"||oe==="value"||oe==="checked"||Ee[oe]===ue[oe]||z(Qe,oe,ue[oe],Ee[oe],Me)}(B,$t,te,X,Dt),q)x.__k=[];else if(Ht=x.props.children,C(B,Array.isArray(Ht)?Ht:[Ht],x,j,U,X&&St!=="foreignObject",W,dt,W?W[0]:j.__k&&b(j,0),Dt),W!=null)for(Ht=W.length;Ht--;)W[Ht]!=null&&y(W[Ht]);Dt||("value"in $t&&(Ht=$t.value)!==void 0&&(Ht!==te.value||Ht!==B.value||St==="progress"&&!Ht)&&z(B,"value",Ht,te.value,!1),"checked"in $t&&(Ht=$t.checked)!==void 0&&Ht!==B.checked&&z(B,"checked",Ht,te.checked,!1))}return B}function ut(B,x,j){try{typeof B=="function"?B(x):B.current=x}catch(U){r.__e(U,j)}}function yt(B,x,j){var U,X;if(r.unmount&&r.unmount(B),(U=B.ref)&&(U.current&&U.current!==B.__e||ut(U,null,x)),(U=B.__c)!=null){if(U.componentWillUnmount)try{U.componentWillUnmount()}catch(W){r.__e(W,x)}U.base=U.__P=null}if(U=B.__k)for(X=0;X<U.length;X++)U[X]&&yt(U[X],x,typeof B.type!="function");j||B.__e==null||y(B.__e),B.__e=B.__d=void 0}function mt(B,x,j){return this.constructor(B,j)}function gt(B,x,j){var U,X,W;r.__&&r.__(B,x),X=(U=typeof j=="function")?null:j&&j.__k||x.__k,W=[],G(x,B=(!U&&j||x).__k=g(m,null,[B]),X||c,c,x.ownerSVGElement!==void 0,!U&&j?[j]:X?null:x.firstChild?n.call(x.childNodes):null,W,!U&&j?j:X?X.__e:x.firstChild,U),K(W,B)}n=f.slice,r={__e:function(B,x){for(var j,U,X;x=x.__;)if((j=x.__c)&&!j.__)try{if((U=j.constructor)&&U.getDerivedStateFromError!=null&&(j.setState(U.getDerivedStateFromError(B)),X=j.__d),j.componentDidCatch!=null&&(j.componentDidCatch(B),X=j.__d),X)return j.__E=j}catch(W){B=W}throw B}},o=0,i=function(B){return B!=null&&B.constructor===void 0},h.prototype.setState=function(B,x){var j;j=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=d({},this.state),typeof B=="function"&&(B=B(d({},j),this.props)),B&&d(j,B),B!=null&&this.__v&&(x&&this.__h.push(x),S(this))},h.prototype.forceUpdate=function(B){this.__v&&(this.__e=!0,B&&this.__h.push(B),S(this))},h.prototype.render=m,a=[],u=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,D.__r=0,l=0,e.Component=h,e.Fragment=m,e.cloneElement=function(B,x,j){var U,X,W,dt=d({},B.props);for(W in x)W=="key"?U=x[W]:W=="ref"?X=x[W]:dt[W]=x[W];return arguments.length>2&&(dt.children=arguments.length>3?n.call(arguments,2):j),v(B.type,dt,U||B.key,X||B.ref,null)},e.createContext=function(B,x){var j={__c:x="__cC"+l++,__:B,Consumer:function(U,X){return U.children(X)},Provider:function(U){var X,W;return this.getChildContext||(X=[],(W={})[x]=this,this.getChildContext=function(){return W},this.shouldComponentUpdate=function(dt){this.props.value!==dt.value&&X.some(S)},this.sub=function(dt){X.push(dt);var Dt=dt.componentWillUnmount;dt.componentWillUnmount=function(){X.splice(X.indexOf(dt),1),Dt&&Dt.call(dt)}}),U.children}};return j.Provider.__=j.Consumer.contextType=j},e.createElement=g,e.createRef=function(){return{current:null}},e.h=g,e.hydrate=function B(x,j){gt(x,j,B)},e.isValidElement=i,e.options=r,e.render=gt,e.toChildArray=function B(x,j){return j=j||[],x==null||typeof x=="boolean"||(Array.isArray(x)?x.some(function(U){B(U,j)}):j.push(x)),j}}),eZ=function(t,e){return e===void 0&&(e=document),typeof t=="string"?e.querySelector(t):((n=t)==null?void 0:n.nodeType)===Node.ELEMENT_NODE?t:null;var n},bw=class{constructor(t,e){e===void 0&&(e={}),this.uppy=t,this.opts=e}getPluginState(){const{plugins:t}=this.uppy.getState();return t[this.id]||{}}setPluginState(t){const{plugins:e}=this.uppy.getState();this.uppy.setState({plugins:V(V({},e),{[this.id]:V(V({},e[this.id]),t)})})}setOptions(t){this.opts=V(V({},this.opts),t),this.setPluginState(),this.i18nInit()}i18nInit(){const t=new J9([this.defaultLocale,this.uppy.locale,this.opts.locale]);this.i18n=t.translate.bind(t),this.i18nArray=t.translateArray.bind(t),this.setPluginState()}addTarget(){throw new Error("Extend the addTarget method to add your plugin to another plugin's target")}install(){}uninstall(){}render(){throw new Error("Extend the render method to add your plugin to a DOM element")}update(){}afterUpdate(){}};function pO(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var nZ=0;function rZ(t){return"__private_"+nZ+++"_"+t}const{render:hO}=tZ;var vd=rZ("updateUI");class ww extends bw{constructor(){super(...arguments),Object.defineProperty(this,vd,{writable:!0,value:void 0})}mount(e,n){const r=n.id,o=eZ(e);if(o){this.isTargetDOMEl=!0;const u=document.createDocumentFragment();return pO(this,vd)[vd]=function(s){let l=null,c=null;return function(){for(var f=arguments.length,p=new Array(f),d=0;d<f;d++)p[d]=arguments[d];return c=p,l||(l=Promise.resolve().then(()=>(l=null,s(...c)))),l}}(s=>{this.uppy.getPlugin(this.id)&&(hO(this.render(s),u),this.afterUpdate())}),this.uppy.log(`Installing ${r} to a DOM element '${e}'`),this.opts.replaceTargetContent&&(o.innerHTML=""),hO(this.render(this.uppy.getState()),u),this.el=u.firstElementChild,o.appendChild(u),this.onMount(),this.el}let i;if(typeof e=="object"&&e instanceof ww)i=e;else if(typeof e=="function"){const u=e;this.uppy.iteratePlugins(s=>{if(s instanceof u)return i=s,!1})}if(i)return this.uppy.log(`Installing ${r} to ${i.id}`),this.parent=i,this.el=i.addTarget(n),this.onMount(),this.el;this.uppy.log(`Not installing ${r}`);let a=`Invalid target option given to ${r}.`;throw a+=typeof e=="function"?" The given target is not a Plugin class. Please check that you're not specifying a React Component instead of a plugin. If you are using @uppy/* packages directly, make sure you have only 1 version of @uppy/core installed: run `npm ls @uppy/core` on the command line and verify that all the versions match and are deduped correctly.":"If you meant to target an HTML element, please make sure that the element exists. Check that the <script> tag initializing Uppy is right before the closing </body> tag at the end of the page. (see https://github.com/transloadit/uppy/issues/1042)\n\nIf you meant to target a plugin, please confirm that your `import` statements or `require` calls are correct.",new Error(a)}update(e){var n,r;this.el!=null&&((n=(r=pO(this,vd))[vd])==null||n.call(r,e))}unmount(){var e;this.isTargetDOMEl&&((e=this.el)==null||e.remove()),this.onUnmount()}onMount(){}onUnmount(){}}var oZ=ww;const{debugLogger:iZ}=uO;var md=dO,aZ=dO,uZ=oZ,sZ=bw,lZ=iZ;md.Uppy=aZ,md.UIPlugin=uZ,md.BasePlugin=sZ,md.debugLogger=lZ;class cZ extends Error{constructor(e,n){n===void 0&&(n=null),super("This looks like a network error, the endpoint might be blocked by an internet provider or a firewall."),this.cause=e,this.isNetworkError=!0,this.request=n}}var Ew=cZ,Sw=function(){return fetch(...arguments).catch(t=>{throw t.name==="AbortError"?t:new Ew(t)})};class fZ extends Error{constructor(){super("Authorization required"),this.name="AuthError",this.isAuthError=!0}}var zg,Ca,ei,Da,gO,dZ=fZ;function ni(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var pZ=0;function Cw(t){return"__private_"+pZ+++"_"+t}function Dw(t){return c8(this,null,function*(){if(t.status===401)throw new dZ;const e=t.json();if(t.status<200||t.status>300){let n=`Failed request with status: ${t.status}. ${t.statusText}`;try{const r=yield e;n=r.message?`${n} message: ${r.message}`:n,n=r.requestId?`${n} request-Id: ${r.requestId}`:n}finally{throw new Error(n)}}return e})}var xw=(Ca=Cw("getPostResponseFunc"),ei=Cw("getUrl"),Da=Cw("errorHandler"),gO=zg=class z${constructor(e,n){Object.defineProperty(this,Da,{value:gZ}),Object.defineProperty(this,ei,{value:hZ}),Object.defineProperty(this,Ca,{writable:!0,value:r=>o=>r?o:this.onReceiveResponse(o)}),this.uppy=e,this.opts=n,this.onReceiveResponse=this.onReceiveResponse.bind(this),this.allowedHeaders=["accept","content-type","uppy-auth-token"],this.preflightDone=!1}get hostname(){const{companion:e}=this.uppy.getState(),n=this.opts.companionUrl;return(e&&e[n]?e[n]:n).replace(/\/$/,"")}headers(){const e=this.opts.companionHeaders||{};return Promise.resolve(V(V({},z$.defaultHeaders),e))}onReceiveResponse(e){const n=this.uppy.getState().companion||{},r=this.opts.companionUrl,{headers:o}=e;return o.has("i-am")&&o.get("i-am")!==n[r]&&this.uppy.setState({companion:V(V({},n),{[r]:o.get("i-am")})}),e}preflight(e){return this.preflightDone?Promise.resolve(this.allowedHeaders.slice()):fetch(ni(this,ei)[ei](e),{method:"OPTIONS"}).then(n=>(n.headers.has("access-control-allow-headers")&&(this.allowedHeaders=n.headers.get("access-control-allow-headers").split(",").map(r=>r.trim().toLowerCase())),this.preflightDone=!0,this.allowedHeaders.slice())).catch(n=>(this.uppy.log(`[CompanionClient] unable to make preflight request ${n}`,"warning"),this.preflightDone=!0,this.allowedHeaders.slice()))}preflightAndHeaders(e){return Promise.all([this.preflight(e),this.headers()]).then(n=>{let[r,o]=n;return Object.keys(o).forEach(i=>{r.includes(i.toLowerCase())||(this.uppy.log(`[CompanionClient] excluding disallowed header ${i}`),delete o[i])}),o})}get(e,n){return this.preflightAndHeaders(e).then(r=>Sw(ni(this,ei)[ei](e),{method:"get",headers:r,credentials:this.opts.companionCookiesRule||"same-origin"})).then(ni(this,Ca)[Ca](n)).then(Dw).catch(ni(this,Da)[Da]("get",e))}post(e,n,r){const o="post";return this.preflightAndHeaders(e).then(i=>Sw(ni(this,ei)[ei](e),{method:o,headers:i,credentials:this.opts.companionCookiesRule||"same-origin",body:JSON.stringify(n)})).then(ni(this,Ca)[Ca](r)).then(Dw).catch(ni(this,Da)[Da](o,e))}delete(e,n,r){const o="delete";return this.preflightAndHeaders(e).then(i=>Sw(`${this.hostname}/${e}`,{method:o,headers:i,credentials:this.opts.companionCookiesRule||"same-origin",body:n?JSON.stringify(n):null})).then(ni(this,Ca)[Ca](r)).then(Dw).catch(ni(this,Da)[Da](o,e))}},zg.VERSION="2.0.4",zg.defaultHeaders={Accept:"application/json","Content-Type":"application/json","Uppy-Versions":`@uppy/companion-client=${zg.VERSION}`},gO);function hZ(t){return/^(https?:|)\/\//.test(t)?t:`${this.hostname}/${t}`}function gZ(t,e){return n=>{var r;if((r=n)==null||!r.isAuthError){const o=new Error(`Could not ${t} ${ni(this,ei)[ei](e)}`);o.cause=n,n=o}return Promise.reject(n)}}var vZ={setItem:(t,e)=>new Promise(n=>{localStorage.setItem(t,e),n()}),getItem:t=>Promise.resolve(localStorage.getItem(t)),removeItem:t=>new Promise(e=>{localStorage.removeItem(t),e()})},ri,xa,eo,Jn,$g;let vO,mO;function vn(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var mZ=0;function yd(t){return"__private_"+mZ+++"_"+t}var yZ=(ri=yd("queued"),xa=yd("emitter"),eo=yd("isOpen"),Jn=yd("socket"),$g=yd("handleMessage"),vO=Symbol.for("uppy test: getSocket"),mO=Symbol.for("uppy test: getQueued"),class{constructor(t){Object.defineProperty(this,ri,{writable:!0,value:[]}),Object.defineProperty(this,xa,{writable:!0,value:Q9()}),Object.defineProperty(this,eo,{writable:!0,value:!1}),Object.defineProperty(this,Jn,{writable:!0,value:void 0}),Object.defineProperty(this,$g,{writable:!0,value:e=>{try{const n=JSON.parse(e.data);this.emit(n.action,n.payload)}catch(n){console.log(n)}}}),this.opts=t,t&&t.autoOpen===!1||this.open()}get isOpen(){return vn(this,eo)[eo]}[vO](){return vn(this,Jn)[Jn]}[mO](){return vn(this,ri)[ri]}open(){vn(this,Jn)[Jn]=new WebSocket(this.opts.target),vn(this,Jn)[Jn].onopen=()=>{for(vn(this,eo)[eo]=!0;vn(this,ri)[ri].length>0&&vn(this,eo)[eo];){const t=vn(this,ri)[ri].shift();this.send(t.action,t.payload)}},vn(this,Jn)[Jn].onclose=()=>{vn(this,eo)[eo]=!1},vn(this,Jn)[Jn].onmessage=vn(this,$g)[$g]}close(){var t;(t=vn(this,Jn)[Jn])==null||t.close()}send(t,e){vn(this,eo)[eo]?vn(this,Jn)[Jn].send(JSON.stringify({action:t,payload:e})):vn(this,ri)[ri].push({action:t,payload:e})}on(t,e){vn(this,xa)[xa].on(t,e)}emit(t,e){vn(this,xa)[xa].emit(t,e)}once(t,e){vn(this,xa)[xa].once(t,e)}}),bZ={RequestClient:xw,Provider:class extends xw{constructor(t,e){super(t,e),this.provider=e.provider,this.id=this.provider,this.name=this.opts.name||(n=>n.split("-").map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join(" "))(this.id),this.pluginId=this.opts.pluginId,this.tokenKey=`companion-${this.pluginId}-auth-token`,this.companionKeysParams=this.opts.companionKeysParams,this.preAuthToken=null}headers(){return Promise.all([super.headers(),this.getAuthToken()]).then(t=>{let[e,n]=t;const r={};return n&&(r["uppy-auth-token"]=n),this.companionKeysParams&&(r["uppy-credentials-params"]=btoa(JSON.stringify({params:this.companionKeysParams}))),V(V({},e),r)})}onReceiveResponse(t){t=super.onReceiveResponse(t);const e=this.uppy.getPlugin(this.pluginId),n=e.getPluginState().authenticated?t.status!==401:t.status<400;return e.setPluginState({authenticated:n}),t}setAuthToken(t){return this.uppy.getPlugin(this.pluginId).storage.setItem(this.tokenKey,t)}getAuthToken(){return this.uppy.getPlugin(this.pluginId).storage.getItem(this.tokenKey)}authUrl(t){return t===void 0&&(t={}),this.preAuthToken&&(t.uppyPreAuthToken=this.preAuthToken),`${this.hostname}/${this.id}/connect?${new URLSearchParams(t)}`}fileUrl(t){return`${this.hostname}/${this.id}/get/${t}`}fetchPreAuthToken(){return this.companionKeysParams?this.post(`${this.id}/preauth/`,{params:this.companionKeysParams}).then(t=>{this.preAuthToken=t.token}).catch(t=>{this.uppy.log(`[CompanionClient] unable to fetch preAuthToken ${t}`,"warning")}):Promise.resolve()}list(t){return this.get(`${this.id}/list/${t||""}`)}logout(){return this.get(`${this.id}/logout`).then(t=>Promise.all([t,this.uppy.getPlugin(this.pluginId).storage.removeItem(this.tokenKey)])).then(t=>{let[e]=t;return e})}static initPlugin(t,e,n){if(t.type="acquirer",t.files=[],n&&(t.opts=V(V({},n),e)),e.serverUrl||e.serverPattern)throw new Error("`serverUrl` and `serverPattern` have been renamed to `companionUrl` and `companionAllowedHosts` respectively in the 0.30.5 release. Please consult the docs (for example, https://uppy.io/docs/instagram/ for the Instagram plugin) and use the updated options.`");if(e.companionAllowedHosts){const r=e.companionAllowedHosts;if(!(typeof r=="string"||Array.isArray(r)||r instanceof RegExp))throw new TypeError(`${t.id}: the option "companionAllowedHosts" must be one of string, Array, RegExp`);t.opts.companionAllowedHosts=r}else/^(?!https?:\/\/).*$/i.test(e.companionUrl)?t.opts.companionAllowedHosts=`https://${e.companionUrl.replace(/^\/\//,"")}`:t.opts.companionAllowedHosts=new URL(e.companionUrl).origin;t.storage=t.opts.storage||vZ}},SearchProvider:class extends xw{constructor(t,e){super(t,e),this.provider=e.provider,this.id=this.provider,this.name=this.opts.name||(n=>n.split("-").map(r=>r.charAt(0).toUpperCase()+r.slice(1)).join(" "))(this.id),this.pluginId=this.opts.pluginId}fileUrl(t){return`${this.hostname}/search/${this.id}/get/${t}`}search(t,e){return e=e?`&${e}`:"",this.get(`search/${this.id}/list?q=${encodeURIComponent(t)}${e}`)}},Socket:yZ},Aa,Gl,wZ=ns(function(t,e,n){const{progress:r,bytesUploaded:o,bytesTotal:i}=e;r&&(t.uppy.log(`Upload progress: ${r}`),t.uppy.emit("upload-progress",n,{uploader:t,bytesUploaded:o,bytesTotal:i}))},300,{leading:!0,trailing:!0});function bd(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var EZ=0;function yO(t){return"__private_"+EZ+++"_"+t}var bO=(Aa=yO("emitter"),Gl=yO("events"),class{constructor(t){Object.defineProperty(this,Aa,{writable:!0,value:void 0}),Object.defineProperty(this,Gl,{writable:!0,value:[]}),bd(this,Aa)[Aa]=t}on(t,e){return bd(this,Gl)[Gl].push([t,e]),bd(this,Aa)[Aa].on(t,e)}remove(){for(const[t,e]of bd(this,Gl)[Gl].splice(0))bd(this,Aa)[Aa].off(t,e)}});function no(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var SZ=0;function Hg(t){return"__private_"+SZ+++"_"+t}var zi=Hg("aliveTimer"),as=Hg("isDone"),wd=Hg("onTimedOut"),us=Hg("timeout"),wO=class{constructor(t,e){Object.defineProperty(this,zi,{writable:!0,value:void 0}),Object.defineProperty(this,as,{writable:!0,value:!1}),Object.defineProperty(this,wd,{writable:!0,value:void 0}),Object.defineProperty(this,us,{writable:!0,value:void 0}),no(this,us)[us]=t,no(this,wd)[wd]=e}progress(){no(this,as)[as]||no(this,us)[us]>0&&(clearTimeout(no(this,zi)[zi]),no(this,zi)[zi]=setTimeout(no(this,wd)[wd],no(this,us)[us]))}done(){no(this,as)[as]||(clearTimeout(no(this,zi)[zi]),no(this,zi)[zi]=null,no(this,as)[as]=!0)}};function mn(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var CZ=0;function ss(t){return"__private_"+CZ+++"_"+t}function DZ(){return new Error("Cancelled")}var Nr=ss("activeRequests"),dr=ss("queuedHandlers"),Ed=ss("call"),Sd=ss("queueNext"),Aw=ss("next"),Ow=ss("queue"),kw=ss("dequeue");function xZ(t){mn(this,Nr)[Nr]+=1;let e,n=!1;try{e=t()}catch(r){throw mn(this,Nr)[Nr]-=1,r}return{abort:()=>{n||(n=!0,mn(this,Nr)[Nr]-=1,e(),mn(this,Sd)[Sd]())},done:()=>{n||(n=!0,mn(this,Nr)[Nr]-=1,mn(this,Sd)[Sd]())}}}function AZ(){queueMicrotask(()=>mn(this,Aw)[Aw]())}function OZ(){if(mn(this,Nr)[Nr]>=this.limit||mn(this,dr)[dr].length===0)return;const t=mn(this,dr)[dr].shift(),e=mn(this,Ed)[Ed](t.fn);t.abort=e.abort,t.done=e.done}function kZ(t,e){e===void 0&&(e={});const n={fn:t,priority:e.priority||0,abort:()=>{mn(this,kw)[kw](n)},done:()=>{throw new Error("Cannot mark a queued request as done: this indicates a bug")}},r=mn(this,dr)[dr].findIndex(o=>n.priority>o.priority);return r===-1?mn(this,dr)[dr].push(n):mn(this,dr)[dr].splice(r,0,n),n}function BZ(t){const e=mn(this,dr)[dr].indexOf(t);e!==-1&&mn(this,dr)[dr].splice(e,1)}var FZ={RateLimitedQueue:class{constructor(t){Object.defineProperty(this,kw,{value:BZ}),Object.defineProperty(this,Ow,{value:kZ}),Object.defineProperty(this,Aw,{value:OZ}),Object.defineProperty(this,Sd,{value:AZ}),Object.defineProperty(this,Ed,{value:xZ}),Object.defineProperty(this,Nr,{writable:!0,value:0}),Object.defineProperty(this,dr,{writable:!0,value:[]}),this.limit=typeof t!="number"||t===0?1/0:t}run(t,e){return mn(this,Nr)[Nr]<this.limit?mn(this,Ed)[Ed](t):mn(this,Ow)[Ow](t,e)}wrapPromiseFunction(t,e){var n=this;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];let a;const u=new Promise((s,l)=>{a=n.run(()=>{let c,f;try{f=Promise.resolve(t(...o))}catch(p){f=Promise.reject(p)}return f.then(p=>{c?l(c):(a.done(),s(p))},p=>{c?l(c):(a.done(),l(p))}),()=>{c=DZ()}},e)});return u.abort=()=>{a.abort()},u}}},internalRateLimitedQueue:Symbol("__queue")},EO,SO,CO=function(t){return!!t&&(t.readyState!==0&&t.readyState!==4||t.status===0)},TZ={strings:{timedOut:"Upload stalled for %{seconds} seconds, aborting."}};const{nanoid:PZ}=sO,{Provider:jZ,RequestClient:_Z,Socket:IZ}=bZ,{RateLimitedQueue:NZ,internalRateLimitedQueue:Bw}=FZ;function DO(t,e){let n=e;return n||(n=new Error("Upload error")),typeof n=="string"&&(n=new Error(n)),n instanceof Error||(n=Object.assign(new Error("Upload error"),{data:n})),CO(t)?(n=new Ew(n,t),n):(n.request=t,n)}function xO(t){return t.data.slice(0,t.data.size,t.meta.type)}var LZ=(SO=EO=class extends bw{constructor(t,e){super(t,e),this.type="uploader",this.id=this.opts.id||"XHRUpload",this.title="XHRUpload",this.defaultLocale=TZ;const n={formData:!0,fieldName:e.bundle?"files[]":"file",method:"post",metaFields:null,responseUrlFieldName:"url",bundle:!1,headers:{},timeout:3e4,limit:5,withCredentials:!1,responseType:"",getResponseData(r){let o={};try{o=JSON.parse(r)}catch(i){t.log(i)}return o},getResponseError(r,o){let i=new Error("Upload error");return CO(o)&&(i=new Ew(i,o)),i},validateStatus:r=>r>=200&&r<300};if(this.opts=V(V({},n),e),this.i18nInit(),this.handleUpload=this.handleUpload.bind(this),Bw in this.opts?this.requests=this.opts[Bw]:this.requests=new NZ(this.opts.limit),this.opts.bundle&&!this.opts.formData)throw new Error("`opts.formData` must be true when `opts.bundle` is enabled.");this.uploaderEvents=Object.create(null)}getOptions(t){const e=this.uppy.getState().xhrUpload,{headers:n}=this.opts,r=V(V(V(V({},this.opts),e||{}),t.xhrUpload||{}),{headers:{}});return typeof n=="function"?r.headers=n(t):Object.assign(r.headers,this.opts.headers),e&&Object.assign(r.headers,e.headers),t.xhrUpload&&Object.assign(r.headers,t.xhrUpload.headers),r}addMetadata(t,e,n){(Array.isArray(n.metaFields)?n.metaFields:Object.keys(e)).forEach(r=>{t.append(r,e[r])})}createFormDataUpload(t,e){const n=new FormData;this.addMetadata(n,t.meta,e);const r=xO(t);return t.name?n.append(e.fieldName,r,t.meta.name):n.append(e.fieldName,r),n}createBundledUpload(t,e){const n=new FormData,{meta:r}=this.uppy.getState();return this.addMetadata(n,r,e),t.forEach(o=>{const i=this.getOptions(o),a=xO(o);o.name?n.append(i.fieldName,a,o.name):n.append(i.fieldName,a)}),n}upload(t,e,n){const r=this.getOptions(t);return this.uppy.log(`uploading ${e} of ${n}`),new Promise((o,i)=>{this.uppy.emit("upload-started",t);const a=r.formData?this.createFormDataUpload(t,r):t.data,u=new XMLHttpRequest;this.uploaderEvents[t.id]=new bO(this.uppy);const s=new wO(r.timeout,()=>{u.abort(),c.done();const f=new Error(this.i18n("timedOut",{seconds:Math.ceil(r.timeout/1e3)}));this.uppy.emit("upload-error",t,f),i(f)}),l=PZ();u.upload.addEventListener("loadstart",()=>{this.uppy.log(`[XHRUpload] ${l} started`)}),u.upload.addEventListener("progress",f=>{this.uppy.log(`[XHRUpload] ${l} progress: ${f.loaded} / ${f.total}`),s.progress(),f.lengthComputable&&this.uppy.emit("upload-progress",t,{uploader:this,bytesUploaded:f.loaded,bytesTotal:f.total})}),u.addEventListener("load",f=>{if(this.uppy.log(`[XHRUpload] ${l} finished`),s.done(),c.done(),this.uploaderEvents[t.id]&&(this.uploaderEvents[t.id].remove(),this.uploaderEvents[t.id]=null),r.validateStatus(f.target.status,u.responseText,u)){const g=r.getResponseData(u.responseText,u),v=g[r.responseUrlFieldName],m={status:f.target.status,body:g,uploadURL:v};return this.uppy.emit("upload-success",t,m),v&&this.uppy.log(`Download ${t.name} from ${v}`),o(t)}const p=r.getResponseData(u.responseText,u),d=DO(u,r.getResponseError(u.responseText,u)),y={status:f.target.status,body:p};return this.uppy.emit("upload-error",t,d,y),i(d)}),u.addEventListener("error",()=>{this.uppy.log(`[XHRUpload] ${l} errored`),s.done(),c.done(),this.uploaderEvents[t.id]&&(this.uploaderEvents[t.id].remove(),this.uploaderEvents[t.id]=null);const f=DO(u,r.getResponseError(u.responseText,u));return this.uppy.emit("upload-error",t,f),i(f)}),u.open(r.method.toUpperCase(),r.endpoint,!0),u.withCredentials=r.withCredentials,r.responseType!==""&&(u.responseType=r.responseType);const c=this.requests.run(()=>{this.uppy.emit("upload-started",t);const f=this.getOptions(t);return Object.keys(f.headers).forEach(p=>{u.setRequestHeader(p,f.headers[p])}),u.send(a),()=>{s.done(),u.abort()}});this.onFileRemove(t.id,()=>{c.abort(),i(new Error("File removed"))}),this.onCancelAll(t.id,()=>{c.abort(),i(new Error("Upload cancelled"))})})}uploadRemote(t){const e=this.getOptions(t);return new Promise((n,r)=>{this.uppy.emit("upload-started",t);const o={};(Array.isArray(e.metaFields)?e.metaFields:Object.keys(t.meta)).forEach(i=>{o[i]=t.meta[i]}),new(t.remote.providerOptions.provider?jZ:_Z)(this.uppy,t.remote.providerOptions).post(t.remote.url,V(V({},t.remote.body),{endpoint:e.endpoint,size:t.data.size,fieldname:e.fieldName,metadata:o,httpMethod:e.method,useFormData:e.formData,headers:e.headers})).then(i=>{const{token:a}=i,u=function(c){const f=/^(?:https?:\/\/|\/\/)?(?:[^@\n]+@)?(?:www\.)?([^\n]+)/i.exec(c)[1];return`${/^http:\/\//i.test(c)?"ws":"wss"}://${f}`}(t.remote.companionUrl),s=new IZ({target:`${u}/api/${a}`,autoOpen:!1});this.uploaderEvents[t.id]=new bO(this.uppy),this.onFileRemove(t.id,()=>{s.send("cancel",{}),l.abort(),n(`upload ${t.id} was removed`)}),this.onCancelAll(t.id,()=>{s.send("cancel",{}),l.abort(),n(`upload ${t.id} was canceled`)}),this.onRetry(t.id,()=>{s.send("pause",{}),s.send("resume",{})}),this.onRetryAll(t.id,()=>{s.send("pause",{}),s.send("resume",{})}),s.on("progress",c=>wZ(this,c,t)),s.on("success",c=>{const f=e.getResponseData(c.response.responseText,c.response),p=f[e.responseUrlFieldName],d={status:c.response.status,body:f,uploadURL:p};return this.uppy.emit("upload-success",t,d),l.done(),this.uploaderEvents[t.id]&&(this.uploaderEvents[t.id].remove(),this.uploaderEvents[t.id]=null),n()}),s.on("error",c=>{const f=c.response,p=f?e.getResponseError(f.responseText,f):Object.assign(new Error(c.error.message),{cause:c.error});this.uppy.emit("upload-error",t,p),l.done(),this.uploaderEvents[t.id]&&(this.uploaderEvents[t.id].remove(),this.uploaderEvents[t.id]=null),r(p)});const l=this.requests.run(()=>(s.open(),t.isPaused&&s.send("pause",{}),()=>s.close()))}).catch(i=>{this.uppy.emit("upload-error",t,i),r(i)})})}uploadBundle(t){return new Promise((e,n)=>{const{endpoint:r}=this.opts,{method:o}=this.opts,i=this.uppy.getState().xhrUpload,a=this.createBundledUpload(t,V(V({},this.opts),i||{})),u=new XMLHttpRequest,s=new wO(this.opts.timeout,()=>{u.abort();const c=new Error(this.i18n("timedOut",{seconds:Math.ceil(this.opts.timeout/1e3)}));l(c),n(c)}),l=c=>{t.forEach(f=>{this.uppy.emit("upload-error",f,c)})};u.upload.addEventListener("loadstart",()=>{this.uppy.log("[XHRUpload] started uploading bundle"),s.progress()}),u.upload.addEventListener("progress",c=>{s.progress(),c.lengthComputable&&t.forEach(f=>{this.uppy.emit("upload-progress",f,{uploader:this,bytesUploaded:c.loaded/c.total*f.size,bytesTotal:f.size})})}),u.addEventListener("load",c=>{if(s.done(),this.opts.validateStatus(c.target.status,u.responseText,u)){const p=this.opts.getResponseData(u.responseText,u),d={status:c.target.status,body:p};return t.forEach(y=>{this.uppy.emit("upload-success",y,d)}),e()}const f=this.opts.getResponseError(u.responseText,u)||new Error("Upload error");return f.request=u,l(f),n(f)}),u.addEventListener("error",()=>{s.done();const c=this.opts.getResponseError(u.responseText,u)||new Error("Upload error");return l(c),n(c)}),this.uppy.on("cancel-all",()=>{s.done(),u.abort()}),u.open(o.toUpperCase(),r,!0),u.withCredentials=this.opts.withCredentials,this.opts.responseType!==""&&(u.responseType=this.opts.responseType),Object.keys(this.opts.headers).forEach(c=>{u.setRequestHeader(c,this.opts.headers[c])}),u.send(a),t.forEach(c=>{this.uppy.emit("upload-started",c)})})}uploadFiles(t){const e=t.map((n,r)=>{const o=parseInt(r,10)+1,i=t.length;return n.error?Promise.reject(new Error(n.error)):n.isRemote?this.uploadRemote(n,o,i):this.upload(n,o,i)});return function(n){const r=[],o=[];function i(u){r.push(u)}function a(u){o.push(u)}return Promise.all(n.map(u=>u.then(i,a))).then(()=>({successful:r,failed:o}))}(e)}onFileRemove(t,e){this.uploaderEvents[t].on("file-removed",n=>{t===n.id&&e(n.id)})}onRetry(t,e){this.uploaderEvents[t].on("upload-retry",n=>{t===n&&e()})}onRetryAll(t,e){this.uploaderEvents[t].on("retry-all",()=>{this.uppy.getFile(t)&&e()})}onCancelAll(t,e){this.uploaderEvents[t].on("cancel-all",()=>{this.uppy.getFile(t)&&e()})}handleUpload(t){if(t.length===0)return this.uppy.log("[XHRUpload] No files to upload!"),Promise.resolve();this.opts.limit!==0||this.opts[Bw]||this.uppy.log("[XHRUpload] When uploading multiple files at once, consider setting the `limit` option (to `10` for example), to limit the number of concurrent uploads, which helps prevent memory and network issues: https://uppy.io/docs/xhr-upload/#limit-0","warning"),this.uppy.log("[XHRUpload] Uploading...");const e=t.map(n=>this.uppy.getFile(n));if(this.opts.bundle){if(e.some(n=>n.isRemote))throw new Error("Can\u2019t upload remote files when the `bundle: true` option is set");if(typeof this.opts.headers=="function")throw new TypeError("`headers` may not be a function when the `bundle: true` option is set");return this.uploadBundle(e)}return this.uploadFiles(e).then(()=>null)}install(){if(this.opts.bundle){const{capabilities:t}=this.uppy.getState();this.uppy.setState({capabilities:V(V({},t),{individualCancellation:!1})})}this.uppy.addUploader(this.handleUpload)}uninstall(){if(this.opts.bundle){const{capabilities:t}=this.uppy.getState();this.uppy.setState({capabilities:V(V({},t),{individualCancellation:!0})})}this.uppy.removeUploader(this.handleUpload)}},EO.VERSION="2.0.6",SO),AO=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof ot.g!="undefined"?ot.g:typeof self!="undefined"?self:{};function Cd(t){var e={exports:{}};return t(e,e.exports),e.exports}var Oa,Ug,Vg=function(t){return t&&t.Math==Math&&t},Q=Vg(typeof globalThis=="object"&&globalThis)||Vg(typeof window=="object"&&window)||Vg(typeof self=="object"&&self)||Vg(typeof AO=="object"&&AO)||function(){return this}()||Function("return this")(),RZ=Object.defineProperty,Fw=function(t,e){try{RZ(Q,t,{value:e,configurable:!0,writable:!0})}catch(n){Q[t]=e}return e},ka=Q["__core-js_shared__"]||Fw("__core-js_shared__",{}),Tw=Cd(function(t){(t.exports=function(e,n){return ka[e]||(ka[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),OO=Function.prototype,Pw=OO.bind,jw=OO.call,MZ=Pw&&Pw.bind(jw),Et=Pw?function(t){return t&&MZ(jw,t)}:function(t){return t&&function(){return jw.apply(t,arguments)}},zZ=Q.TypeError,ro=function(t){if(t==null)throw zZ("Can't call method on "+t);return t},$Z=Q.Object,Ba=function(t){return $Z(ro(t))},HZ=Et({}.hasOwnProperty),rn=Object.hasOwn||function(t,e){return HZ(Ba(t),e)},UZ=0,VZ=Math.random(),WZ=Et(1 .toString),_w=function(t){return"Symbol("+(t===void 0?"":t)+")_"+WZ(++UZ+VZ,36)},be=function(t){return typeof t=="function"},GZ=function(t){return be(t)?t:void 0},ls=function(t,e){return arguments.length<2?GZ(Q[t]):Q[t]&&Q[t][e]},Kl=ls("navigator","userAgent")||"",kO=Q.process,BO=Q.Deno,FO=kO&&kO.versions||BO&&BO.version,TO=FO&&FO.v8;TO&&(Ug=(Oa=TO.split("."))[0]>0&&Oa[0]<4?1:+(Oa[0]+Oa[1])),!Ug&&Kl&&(!(Oa=Kl.match(/Edge\/(\d+)/))||Oa[1]>=74)&&(Oa=Kl.match(/Chrome\/(\d+)/))&&(Ug=+Oa[1]);var Dd=Ug,ge=function(t){try{return!!t()}catch(e){return!0}},Iw=!!Object.getOwnPropertySymbols&&!ge(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Dd&&Dd<41}),Nw=Iw&&!Symbol.sham&&typeof Symbol.iterator=="symbol",xd=Tw("wks"),cs=Q.Symbol,PO=cs&&cs.for,KZ=Nw?cs:cs&&cs.withoutSetter||_w,ze=function(t){if(!rn(xd,t)||!Iw&&typeof xd[t]!="string"){var e="Symbol."+t;Iw&&rn(cs,t)?xd[t]=cs[t]:xd[t]=Nw&&PO?PO(e):KZ(e)}return xd[t]},jO={};jO[ze("toStringTag")]="z";var Lw=String(jO)==="[object z]",jn=!ge(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Fe=function(t){return typeof t=="object"?t!==null:be(t)},Rw=Q.document,qZ=Fe(Rw)&&Fe(Rw.createElement),Ad=function(t){return qZ?Rw.createElement(t):{}},_O=!jn&&!ge(function(){return Object.defineProperty(Ad("div"),"a",{get:function(){return 7}}).a!=7}),ZZ=Q.String,YZ=Q.TypeError,on=function(t){if(Fe(t))return t;throw YZ(ZZ(t)+" is not an object")},Od=Function.prototype.call,ie=Od.bind?Od.bind(Od):function(){return Od.apply(Od,arguments)},fs=Et({}.isPrototypeOf),XZ=Q.Object,Mw=Nw?function(t){return typeof t=="symbol"}:function(t){var e=ls("Symbol");return be(e)&&fs(e.prototype,XZ(t))},JZ=Q.String,Wg=function(t){try{return JZ(t)}catch(e){return"Object"}},QZ=Q.TypeError,Fa=function(t){if(be(t))return t;throw QZ(Wg(t)+" is not a function")},ds=function(t,e){var n=t[e];return n==null?void 0:Fa(n)},tY=Q.TypeError,eY=Q.TypeError,nY=ze("toPrimitive"),zw=function(t){var e=function(n,r){if(!Fe(n)||Mw(n))return n;var o,i=ds(n,nY);if(i){if(r===void 0&&(r="default"),o=ie(i,n,r),!Fe(o)||Mw(o))return o;throw eY("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&be(s=a.toString)&&!Fe(l=ie(s,a))||be(s=a.valueOf)&&!Fe(l=ie(s,a))||u!=="string"&&be(s=a.toString)&&!Fe(l=ie(s,a)))return l;throw tY("Can't convert object to primitive value")}(n,r)}(t,"string");return Mw(e)?e:e+""},rY=Q.TypeError,IO=Object.defineProperty,Bo={f:jn?IO:function(t,e,n){if(on(t),e=zw(e),on(n),_O)try{return IO(t,e,n)}catch(r){}if("get"in n||"set"in n)throw rY("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Gg=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Fo=jn?function(t,e,n){return Bo.f(t,e,Gg(1,n))}:function(t,e,n){return t[e]=n,t},oY=Et(Function.toString);be(ka.inspectSource)||(ka.inspectSource=function(t){return oY(t)});var Kg,kd,qg,Zg=ka.inspectSource,NO=Q.WeakMap,LO=be(NO)&&/native code/.test(Zg(NO)),RO=Tw("keys"),$w=function(t){return RO[t]||(RO[t]=_w(t))},Yg={},Hw=Q.TypeError,iY=Q.WeakMap;if(LO||ka.state){var ps=ka.state||(ka.state=new iY),aY=Et(ps.get),MO=Et(ps.has),uY=Et(ps.set);Kg=function(t,e){if(MO(ps,t))throw new Hw("Object already initialized");return e.facade=t,uY(ps,t,e),e},kd=function(t){return aY(ps,t)||{}},qg=function(t){return MO(ps,t)}}else{var ql=$w("state");Yg[ql]=!0,Kg=function(t,e){if(rn(t,ql))throw new Hw("Object already initialized");return e.facade=t,Fo(t,ql,e),e},kd=function(t){return rn(t,ql)?t[ql]:{}},qg=function(t){return rn(t,ql)}}var Qn={set:Kg,get:kd,has:qg,enforce:function(t){return qg(t)?kd(t):Kg(t,{})},getterFor:function(t){return function(e){var n;if(!Fe(e)||(n=kd(e)).type!==t)throw Hw("Incompatible receiver, "+t+" required");return n}}},zO=Function.prototype,sY=jn&&Object.getOwnPropertyDescriptor,Uw=rn(zO,"name"),Zl={EXISTS:Uw,PROPER:Uw&&function(){}.name==="something",CONFIGURABLE:Uw&&(!jn||jn&&sY(zO,"name").configurable)},wr=Cd(function(t){var e=Zl.CONFIGURABLE,n=Qn.get,r=Qn.enforce,o=String(String).split("String");(t.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet,d=s&&s.name!==void 0?s.name:a;be(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!rn(u,"name")||e&&u.name!==d)&&Fo(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==Q?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:Fo(i,a,u)):f?i[a]=u:Fw(a,u)})(Function.prototype,"toString",function(){return be(this)&&n(this).source||Zg(this)})}),lY=Et({}.toString),cY=Et("".slice),To=function(t){return cY(lY(t),8,-1)},fY=ze("toStringTag"),dY=Q.Object,pY=To(function(){return arguments}())=="Arguments",Xg=Lw?To:function(t){var e,n,r;return t===void 0?"Undefined":t===null?"Null":typeof(n=function(o,i){try{return o[i]}catch(a){}}(e=dY(t),fY))=="string"?n:pY?To(e):(r=To(e))=="Object"&&be(e.callee)?"Arguments":r},hY=Lw?{}.toString:function(){return"[object "+Xg(this)+"]"};Lw||wr(Object.prototype,"toString",hY,{unsafe:!0});var Jg={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Vw=Ad("span").classList,$O=Vw&&Vw.constructor&&Vw.constructor.prototype,HO=$O===Object.prototype?void 0:$O,UO=Et(Et.bind),hs=function(t,e){return Fa(t),e===void 0?t:UO?UO(t,e):function(){return t.apply(e,arguments)}},Ww=Q.Object,gY=Et("".split),Qg=ge(function(){return!Ww("z").propertyIsEnumerable(0)})?function(t){return To(t)=="String"?gY(t,""):Ww(t)}:Ww,vY=Math.ceil,mY=Math.floor,Bd=function(t){var e=+t;return e!=e||e===0?0:(e>0?mY:vY)(e)},yY=Math.min,Yl=function(t){return t>0?yY(Bd(t),9007199254740991):0},gs=function(t){return Yl(t.length)},tv=Array.isArray||function(t){return To(t)=="Array"},VO=function(){},bY=[],WO=ls("Reflect","construct"),Gw=/^\s*(?:class|function)\b/,wY=Et(Gw.exec),EY=!Gw.exec(VO),Fd=function(t){if(!be(t))return!1;try{return WO(VO,bY,t),!0}catch(e){return!1}},ev=!WO||ge(function(){var t;return Fd(Fd.call)||!Fd(Object)||!Fd(function(){t=!0})||t})?function(t){if(!be(t))return!1;switch(Xg(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return EY||!!wY(Gw,Zg(t))}:Fd,SY=ze("species"),GO=Q.Array,KO=function(t,e){return new(function(n){var r;return tv(n)&&(r=n.constructor,(ev(r)&&(r===GO||tv(r.prototype))||Fe(r)&&(r=r[SY])===null)&&(r=void 0)),r===void 0?GO:r}(t))(e===0?0:e)},qO=Et([].push),Ta=function(t){var e=t==1,n=t==2,r=t==3,o=t==4,i=t==6,a=t==7,u=t==5||i;return function(s,l,c,f){for(var p,d,y=Ba(s),g=Qg(y),v=hs(l,c),m=gs(g),h=0,b=f||KO,w=e?b(s,m):n||a?b(s,0):void 0;m>h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),t))if(e)w[h]=d;else if(d)switch(t){case 3:return!0;case 5:return p;case 6:return h;case 2:qO(w,p)}else switch(t){case 4:return!1;case 7:qO(w,p)}return i?-1:r||o?o:w}},Xl={forEach:Ta(0),map:Ta(1),filter:Ta(2),some:Ta(3),every:Ta(4),find:Ta(5),findIndex:Ta(6),filterReject:Ta(7)},ZO=function(t,e){var n=[][t];return!!n&&ge(function(){n.call(null,e||function(){throw 1},1)})},CY=Xl.forEach,Kw=ZO("forEach")?[].forEach:function(t){return CY(this,t,arguments.length>1?arguments[1]:void 0)},YO=function(t){if(t&&t.forEach!==Kw)try{Fo(t,"forEach",Kw)}catch(e){t.forEach=Kw}};for(var qw in Jg)Jg[qw]&&YO(Q[qw]&&Q[qw].prototype);YO(HO);var XO={}.propertyIsEnumerable,JO=Object.getOwnPropertyDescriptor,DY=JO&&!XO.call({1:2},1)?function(t){var e=JO(this,t);return!!e&&e.enumerable}:XO,QO={f:DY},Pa=function(t){return Qg(ro(t))},tk=Object.getOwnPropertyDescriptor,Td={f:jn?tk:function(t,e){if(t=Pa(t),e=zw(e),_O)try{return tk(t,e)}catch(n){}if(rn(t,e))return Gg(!ie(QO.f,t,e),t[e])}},xY=Math.max,AY=Math.min,Jl=function(t,e){var n=Bd(t);return n<0?xY(n+e,0):AY(n,e)},ek=function(t){return function(e,n,r){var o,i=Pa(e),a=gs(i),u=Jl(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},nk={includes:ek(!0),indexOf:ek(!1)},OY=nk.indexOf,rk=Et([].push),ok=function(t,e){var n,r=Pa(t),o=0,i=[];for(n in r)!rn(Yg,n)&&rn(r,n)&&rk(i,n);for(;e.length>o;)rn(r,n=e[o++])&&(~OY(i,n)||rk(i,n));return i},nv=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],kY=nv.concat("length","prototype"),Pd={f:Object.getOwnPropertyNames||function(t){return ok(t,kY)}},ik={f:Object.getOwnPropertySymbols},BY=Et([].concat),FY=ls("Reflect","ownKeys")||function(t){var e=Pd.f(on(t)),n=ik.f;return n?BY(e,n(t)):e},TY=function(t,e){for(var n=FY(e),r=Bo.f,o=Td.f,i=0;i<n.length;i++){var a=n[i];rn(t,a)||r(t,a,o(e,a))}},PY=/#|\.prototype\./,jd=function(t,e){var n=_Y[jY(t)];return n==NY||n!=IY&&(be(e)?ge(e):!!e)},jY=jd.normalize=function(t){return String(t).replace(PY,".").toLowerCase()},_Y=jd.data={},IY=jd.NATIVE="N",NY=jd.POLYFILL="P",_d=jd,LY=Td.f,$e=function(t,e){var n,r,o,i,a,u=t.target,s=t.global,l=t.stat;if(n=s?Q:l?Q[u]||Fw(u,{}):(Q[u]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=LY(n,r))&&a.value:n[r],!_d(s?r:u+(l?".":"#")+r,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;TY(i,o)}(t.sham||o&&o.sham)&&Fo(i,"sham",!0),wr(n,r,i,t)}},Ql=Object.keys||function(t){return ok(t,nv)},RY=ge(function(){Ql(1)});/*!
  31. * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
  32. *
  33. * Copyright (c) 2014-2017, Jon Schlinkert.
  34. * Released under the MIT License.
  35. */function ak(t){return Object.prototype.toString.call(t)==="[object Object]"}$e({target:"Object",stat:!0,forced:RY},{keys:function(t){return Ql(Ba(t))}});var MY={isHistory(t){return ak(e=t)!==!1&&((n=e.constructor)===void 0||ak(r=n.prototype)!==!1&&r.hasOwnProperty("isPrototypeOf")!==!1)&&Array.isArray(t.redos)&&Array.isArray(t.undos)&&(t.redos.length===0||ba.isOperationList(t.redos[0]))&&(t.undos.length===0||ba.isOperationList(t.undos[0]));var e,n,r}},Zw=new WeakMap,Yw=new WeakMap,tc={isHistoryEditor:t=>MY.isHistory(t.history)&&E.isEditor(t),isMerging:t=>Yw.get(t),isSaving:t=>Zw.get(t),redo(t){t.redo()},undo(t){t.undo()},withoutMerging(t,e){var n=tc.isMerging(t);Yw.set(t,!1),e(),Yw.set(t,n)},withoutSaving(t,e){var n=tc.isSaving(t);Zw.set(t,!1),e(),Zw.set(t,n)}},zY=Q.String,ke=function(t){if(Xg(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return zY(t)},Xw=function(){var t=on(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},$Y=Zl.PROPER,Jw=RegExp.prototype,uk=Jw.toString,HY=Et(Xw),UY=ge(function(){return uk.call({source:"a",flags:"b"})!="/a/b"}),VY=$Y&&uk.name!="toString";(UY||VY)&&wr(RegExp.prototype,"toString",function(){var t=on(this),e=ke(t.source),n=t.flags;return"/"+e+"/"+ke(n===void 0&&fs(Jw,t)&&!("flags"in Jw)?HY(t):n)},{unsafe:!0});var rv,WY=jn?Object.defineProperties:function(t,e){on(t);for(var n,r=Pa(e),o=Ql(e),i=o.length,a=0;i>a;)Bo.f(t,n=o[a++],r[n]);return t},Qw=ls("document","documentElement"),sk=$w("IE_PROTO"),t4=function(){},lk=function(t){return"<script>"+t+"</script>"},ck=function(t){t.write(lk("")),t.close();var e=t.parentWindow.Object;return t=null,e},ov=function(){try{rv=new ActiveXObject("htmlfile")}catch(r){}var t,e;ov=typeof document!="undefined"?document.domain&&rv?ck(rv):((e=Ad("iframe")).style.display="none",Qw.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(lk("document.F=Object")),t.close(),t.F):ck(rv);for(var n=nv.length;n--;)delete ov.prototype[nv[n]];return ov()};Yg[sk]=!0;var iv=Object.create||function(t,e){var n;return t!==null?(t4.prototype=on(t),n=new t4,t4.prototype=null,n[sk]=t):n=ov(),e===void 0?n:WY(n,e)},e4=ze("unscopables"),n4=Array.prototype;n4[e4]==null&&Bo.f(n4,e4,{configurable:!0,value:iv(null)});var Id=function(t){n4[e4][t]=!0},GY=nk.includes;$e({target:"Array",proto:!0},{includes:function(t){return GY(this,t,arguments.length>1?arguments[1]:void 0)}}),Id("includes");var KY=ze("match"),r4=function(t){var e;return Fe(t)&&((e=t[KY])!==void 0?!!e:To(t)=="RegExp")},qY=Q.TypeError,o4=function(t){if(r4(t))throw qY("The method doesn't accept regular expressions");return t},ZY=ze("match"),i4=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[ZY]=!1,"/./"[t](e)}catch(r){}}return!1},YY=Et("".indexOf);$e({target:"String",proto:!0,forced:!i4("includes")},{includes:function(t){return!!~YY(ke(ro(this)),ke(o4(t)),arguments.length>1?arguments[1]:void 0)}});var XY=/"/g,JY=Et("".replace);$e({target:"String",proto:!0,forced:ge(function(){var t="".anchor('"');return t!==t.toLowerCase()||t.split('"').length>3})},{anchor:function(t){return e=t,n=ke(ro(this)),r="<a",(r+=' name="'+JY(ke(e),XY,"&quot;")+'"')+">"+n+"</a>";var e,n,r}});var a4=function(t,e,n){var r,o;on(t);try{if(!(r=ds(t,"return"))){if(e==="throw")throw n;return n}r=ie(r,t)}catch(i){o=!0,r=i}if(e==="throw")throw n;if(o)throw r;return on(r),n},QY=function(t,e,n,r){try{return r?e(on(n)[0],n[1]):e(n)}catch(o){a4(t,"throw",o)}},ec={},tX=ze("iterator"),eX=Array.prototype,fk=function(t){return t!==void 0&&(ec.Array===t||eX[tX]===t)},Nd=function(t,e,n){var r=zw(e);r in t?Bo.f(t,r,Gg(0,n)):t[r]=n},nX=ze("iterator"),u4=function(t){if(t!=null)return ds(t,nX)||ds(t,"@@iterator")||ec[Xg(t)]},rX=Q.TypeError,dk=function(t,e){var n=arguments.length<2?u4(t):e;if(Fa(n))return on(ie(n,t));throw rX(Wg(t)+" is not iterable")},pk=Q.Array,hk=ze("iterator"),gk=!1;try{var oX=0,vk={next:function(){return{done:!!oX++}},return:function(){gk=!0}};vk[hk]=function(){return this},Array.from(vk,function(){throw 2})}catch(t){}var s4=function(t,e){if(!e&&!gk)return!1;var n=!1;try{var r={};r[hk]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(o){}return n},iX=!s4(function(t){Array.from(t)});$e({target:"Array",stat:!0,forced:iX},{from:function(t){var e=Ba(t),n=ev(this),r=arguments.length,o=r>1?arguments[1]:void 0,i=o!==void 0;i&&(o=hs(o,r>2?arguments[2]:void 0));var a,u,s,l,c,f,p=u4(e),d=0;if(!p||this==pk&&fk(p))for(a=gs(e),u=n?new this(a):pk(a);a>d;d++)f=i?o(e[d],d):e[d],Nd(u,d,f);else for(c=(l=dk(e,p)).next,u=n?new this:[];!(s=ie(c,l)).done;d++)f=i?QY(l,o,[s.value,d],!0):s.value,Nd(u,d,f);return u.length=d,u}});var vs,mk,yk,aX=Et("".charAt),bk=Et("".charCodeAt),uX=Et("".slice),wk=function(t){return function(e,n){var r,o,i=ke(ro(e)),a=Bd(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=bk(i,a))<55296||r>56319||a+1===u||(o=bk(i,a+1))<56320||o>57343?t?aX(i,a):r:t?uX(i,a,a+2):o-56320+(r-55296<<10)+65536}},Ek={codeAt:wk(!1),charAt:wk(!0)},sX=!ge(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),Sk=$w("IE_PROTO"),l4=Q.Object,lX=l4.prototype,av=sX?l4.getPrototypeOf:function(t){var e=Ba(t);if(rn(e,Sk))return e[Sk];var n=e.constructor;return be(n)&&e instanceof n?n.prototype:e instanceof l4?lX:null},c4=ze("iterator"),Ck=!1;[].keys&&("next"in(yk=[].keys())?(mk=av(av(yk)))!==Object.prototype&&(vs=mk):Ck=!0);var cX=vs==null||ge(function(){var t={};return vs[c4].call(t)!==t});cX&&(vs={}),be(vs[c4])||wr(vs,c4,function(){return this});var f4={IteratorPrototype:vs,BUGGY_SAFARI_ITERATORS:Ck},fX=Bo.f,Dk=ze("toStringTag"),uv=function(t,e,n){t&&!rn(t=n?t:t.prototype,Dk)&&fX(t,Dk,{configurable:!0,value:e})},dX=f4.IteratorPrototype,pX=function(){return this},hX=Q.String,gX=Q.TypeError,nc=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Et(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(r){}return function(r,o){return on(r),function(i){if(typeof i=="object"||be(i))return i;throw gX("Can't set "+hX(i)+" as a prototype")}(o),e?t(r,o):r.__proto__=o,r}}():void 0),vX=Zl.PROPER,mX=Zl.CONFIGURABLE,xk=f4.IteratorPrototype,sv=f4.BUGGY_SAFARI_ITERATORS,Ld=ze("iterator"),yX=function(){return this},d4=function(t,e,n,r,o,i,a){(function(m,h,b,w){var S=h+" Iterator";m.prototype=iv(dX,{next:Gg(1,b)}),uv(m,S,!1),ec[S]=pX})(n,e,r);var u,s,l,c=function(m){if(m===o&&g)return g;if(!sv&&m in d)return d[m];switch(m){case"keys":case"values":case"entries":return function(){return new n(this,m)}}return function(){return new n(this)}},f=e+" Iterator",p=!1,d=t.prototype,y=d[Ld]||d["@@iterator"]||o&&d[o],g=!sv&&y||c(o),v=e=="Array"&&d.entries||y;if(v&&(u=av(v.call(new t)))!==Object.prototype&&u.next&&(av(u)!==xk&&(nc?nc(u,xk):be(u[Ld])||wr(u,Ld,yX)),uv(u,f,!0)),vX&&o=="values"&&y&&y.name!=="values"&&(mX?Fo(d,"name","values"):(p=!0,g=function(){return ie(y,this)})),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(sv||p||!(l in d))&&wr(d,l,s[l]);else $e({target:e,proto:!0,forced:sv||p},s);return d[Ld]!==g&&wr(d,Ld,g,{name:o}),ec[e]=g,s},bX=Ek.charAt,wX=Qn.set,EX=Qn.getterFor("String Iterator");d4(String,"String",function(t){wX(this,{type:"String Iterator",string:ke(t),index:0})},function(){var t,e=EX(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=bX(n,r),e.index+=t.length,{value:t,done:!1})});var p4,SX=Td.f,Ak=Et("".endsWith),CX=Et("".slice),DX=Math.min,Ok=i4("endsWith"),xX=!(Ok||(p4=SX(String.prototype,"endsWith"),!p4||p4.writable));$e({target:"String",proto:!0,forced:!xX&&!Ok},{endsWith:function(t){var e=ke(ro(this));o4(t);var n=arguments.length>1?arguments[1]:void 0,r=e.length,o=n===void 0?r:DX(Yl(n),r),i=ke(t);return Ak?Ak(e,i,o):CX(e,o-i.length,o)===i}});var AX=Et([].join),OX=Qg!=Object,kX=ZO("join",",");$e({target:"Array",proto:!0,forced:OX||!kX},{join:function(t){return AX(Pa(this),t===void 0?",":t)}});var BX=ze("species"),lv=function(t){return Dd>=51||!ge(function(){var e=[];return(e.constructor={})[BX]=function(){return{foo:1}},e[t](Boolean).foo!==1})},FX=Xl.map,TX=lv("map");$e({target:"Array",proto:!0,forced:!TX},{map:function(t){return FX(this,t,arguments.length>1?arguments[1]:void 0)}});var h4=Q.RegExp,g4=ge(function(){var t=h4("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),PX=g4||ge(function(){return!h4("a","y").sticky}),cv={BROKEN_CARET:g4||ge(function(){var t=h4("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),MISSED_STICKY:PX,UNSUPPORTED_Y:g4},jX=Q.RegExp,v4=ge(function(){var t=jX(".","s");return!(t.dotAll&&t.exec(`
  36. `)&&t.flags==="s")}),_X=Q.RegExp,m4=ge(function(){var t=_X("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),IX=Qn.get,NX=Tw("native-string-replace",String.prototype.replace),fv=RegExp.prototype.exec,y4=fv,LX=Et("".charAt),RX=Et("".indexOf),MX=Et("".replace),b4=Et("".slice),w4=function(){var t=/a/,e=/b*/g;return ie(fv,t,"a"),ie(fv,e,"a"),t.lastIndex!==0||e.lastIndex!==0}(),kk=cv.BROKEN_CARET,E4=/()??/.exec("")[1]!==void 0;(w4||E4||kk||v4||m4)&&(y4=function(t){var e,n,r,o,i,a,u,s=this,l=IX(s),c=ke(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=ie(y4,f,c),s.lastIndex=f.lastIndex,e;var p=l.groups,d=kk&&s.sticky,y=ie(Xw,s),g=s.source,v=0,m=c;if(d&&(y=MX(y,"y",""),RX(y,"g")===-1&&(y+="g"),m=b4(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&LX(c,s.lastIndex-1)!==`
  37. `)&&(g="(?: "+g+")",m=" "+m,v++),n=new RegExp("^(?:"+g+")",y)),E4&&(n=new RegExp("^"+g+"$(?!\\s)",y)),w4&&(r=s.lastIndex),o=ie(fv,d?n:s,m),d?o?(o.input=b4(o.input,v),o[0]=b4(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:w4&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),E4&&o&&o.length>1&&ie(NX,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&p)for(o.groups=a=iv(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var Rd=y4;$e({target:"RegExp",proto:!0,forced:/./.exec!==Rd},{exec:Rd});var S4=Function.prototype,Bk=S4.apply,zX=S4.bind,Fk=S4.call,C4=typeof Reflect=="object"&&Reflect.apply||(zX?Fk.bind(Bk):function(){return Fk.apply(Bk,arguments)}),$X=ze("species"),D4=RegExp.prototype,x4=function(t,e,n,r){var o=ze(t),i=!ge(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!ge(function(){var l=!1,c=/a/;return t==="split"&&((c={}).constructor={},c.constructor[$X]=function(){return c},c.flags="",c[o]=/./[o]),c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=Et(/./[o]),s=e(o,""[t],function(l,c,f,p,d){var y=Et(l),g=c.exec;return g===Rd||g===D4.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:y(f,c,p)}:{done:!1}});wr(String.prototype,t,s[0]),wr(D4,o,s[1])}r&&Fo(D4[o],"sham",!0)},HX=Ek.charAt,A4=function(t,e,n){return e+(n?HX(t,e).length:1)},UX=Math.floor,O4=Et("".charAt),VX=Et("".replace),k4=Et("".slice),WX=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,GX=/\$([$&'`]|\d{1,2})/g,KX=function(t,e,n,r,o,i){var a=n+t.length,u=r.length,s=GX;return o!==void 0&&(o=Ba(o),s=WX),VX(i,s,function(l,c){var f;switch(O4(c,0)){case"$":return"$";case"&":return t;case"`":return k4(e,0,n);case"'":return k4(e,a);case"<":f=o[k4(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>u){var d=UX(p/10);return d===0?l:d<=u?r[d-1]===void 0?O4(c,1):r[d-1]+O4(c,1):l}f=r[p-1]}return f===void 0?"":f})},qX=Q.TypeError,Md=function(t,e){var n=t.exec;if(be(n)){var r=ie(n,t,e);return r!==null&&on(r),r}if(To(t)==="RegExp")return ie(Rd,t,e);throw qX("RegExp#exec called on incompatible receiver")},B4=ze("replace"),ZX=Math.max,YX=Math.min,XX=Et([].concat),F4=Et([].push),Tk=Et("".indexOf),Pk=Et("".slice),JX="a".replace(/./,"$0")==="$0",jk=!!/./[B4]&&/./[B4]("a","$0")==="";x4("replace",function(t,e,n){var r=jk?"$":"$0";return[function(o,i){var a=ro(this),u=o==null?void 0:ds(o,B4);return u?ie(u,o,a,i):ie(e,ke(a),o,i)},function(o,i){var a=on(this),u=ke(o);if(typeof i=="string"&&Tk(i,r)===-1&&Tk(i,"$<")===-1){var s=n(e,a,u,i);if(s.done)return s.value}var l=be(i);l||(i=ke(i));var c=a.global;if(c){var f=a.unicode;a.lastIndex=0}for(var p=[];;){var d=Md(a,u);if(d===null||(F4(p,d),!c))break;ke(d[0])===""&&(a.lastIndex=A4(u,Yl(a.lastIndex),f))}for(var y,g="",v=0,m=0;m<p.length;m++){for(var h=ke((d=p[m])[0]),b=ZX(YX(Bd(d.index),u.length),0),w=[],S=1;S<d.length;S++)F4(w,(y=d[S])===void 0?y:String(y));var D=d.groups;if(l){var C=XX([h],w,b,u);D!==void 0&&F4(C,D);var O=ke(C4(i,void 0,C))}else O=KX(h,u,b,w,D,i);b>=v&&(g+=Pk(u,v,b)+O,v=b+h.length)}return g+Pk(u,v)}]},!!ge(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$<a>")!=="7"})||!JX||jk);/*! *****************************************************************************
  38. Copyright (c) Microsoft Corporation.
  39. Permission to use, copy, modify, and/or distribute this software for any
  40. purpose with or without fee is hereby granted.
  41. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  42. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  43. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  44. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  45. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  46. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  47. PERFORMANCE OF THIS SOFTWARE.
  48. ***************************************************************************** */var T4=function(t,e){return T4=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},T4(t,e)};function rc(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}T4(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var oo=function(){return oo=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},oo.apply(this,arguments)};function io(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function ae(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(e===void 0||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function P4(t,e){for(var n=0,r=e.length,o=t.length;n<r;n++,o++)t[o]=e[n];return t}var QX=0,_k=function(){this.id=""+QX++},tJ=Qn.set,eJ=Qn.getterFor("Array Iterator"),zd=d4(Array,"Array",function(t,e){tJ(this,{type:"Array Iterator",target:Pa(t),index:0,kind:e})},function(){var t=eJ(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values");ec.Arguments=ec.Array,Id("keys"),Id("values"),Id("entries");var oc=function(t,e,n){for(var r in e)wr(t,r,e[r],n);return t},nJ=Q.Array,rJ=Math.max,j4=function(t,e,n){for(var r=gs(t),o=Jl(e,r),i=Jl(n===void 0?r:n,r),a=nJ(rJ(i-o,0)),u=0;o<i;o++,u++)Nd(a,u,t[o]);return a.length=u,a},Ik=Pd.f,Nk=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],oJ={f:function(t){return Nk&&To(t)=="Window"?function(e){try{return Ik(e)}catch(n){return j4(Nk)}}(t):Ik(Pa(t))}},Lk=ge(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),dv=Object.isExtensible,ms=ge(function(){dv(1)})||Lk?function(t){return!!Fe(t)&&(!Lk||To(t)!="ArrayBuffer")&&(!dv||dv(t))}:dv,iJ=!ge(function(){return Object.isExtensible(Object.preventExtensions({}))}),pv=Cd(function(t){var e=Bo.f,n=!1,r=_w("meta"),o=0,i=function(u){e(u,r,{value:{objectID:"O"+o++,weakData:{}}})},a=t.exports={enable:function(){a.enable=function(){},n=!0;var u=Pd.f,s=Et([].splice),l={};l[r]=1,u(l).length&&(Pd.f=function(c){for(var f=u(c),p=0,d=f.length;p<d;p++)if(f[p]===r){s(f,p,1);break}return f},$e({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:oJ.f}))},fastKey:function(u,s){if(!Fe(u))return typeof u=="symbol"?u:(typeof u=="string"?"S":"P")+u;if(!rn(u,r)){if(!ms(u))return"F";if(!s)return"E";i(u)}return u[r].objectID},getWeakData:function(u,s){if(!rn(u,r)){if(!ms(u))return!0;if(!s)return!1;i(u)}return u[r].weakData},onFreeze:function(u){return iJ&&n&&ms(u)&&!rn(u,r)&&i(u),u}};Yg[r]=!0}),aJ=Q.TypeError,hv=function(t,e){this.stopped=t,this.result=e},Rk=hv.prototype,$d=function(t,e,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_ITERATOR),d=!(!n||!n.INTERRUPTED),y=hs(e,c),g=function(m){return r&&a4(r,"normal",m),new hv(!0,m)},v=function(m){return f?(on(m),d?y(m[0],m[1],g):y(m[0],m[1])):d?y(m,g):y(m)};if(p)r=t;else{if(!(o=u4(t)))throw aJ(Wg(t)+" is not iterable");if(fk(o)){for(i=0,a=gs(t);a>i;i++)if((u=v(t[i]))&&fs(Rk,u))return u;return new hv(!1)}r=dk(t,o)}for(s=r.next;!(l=ie(s,r)).done;){try{u=v(l.value)}catch(m){a4(r,"throw",m)}if(typeof u=="object"&&u&&fs(Rk,u))return u}return new hv(!1)},uJ=Q.TypeError,gv=function(t,e){if(fs(e,t))return t;throw uJ("Incorrect invocation")},Mk=function(t,e,n){var r,o;return nc&&be(r=e.constructor)&&r!==n&&Fe(o=r.prototype)&&o!==n.prototype&&nc(t,o),t},zk=function(t,e,n){var r=t.indexOf("Map")!==-1,o=t.indexOf("Weak")!==-1,i=r?"set":"add",a=Q[t],u=a&&a.prototype,s=a,l={},c=function(v){var m=Et(u[v]);wr(u,v,v=="add"?function(h){return m(this,h===0?0:h),this}:v=="delete"?function(h){return!(o&&!Fe(h))&&m(this,h===0?0:h)}:v=="get"?function(h){return o&&!Fe(h)?void 0:m(this,h===0?0:h)}:v=="has"?function(h){return!(o&&!Fe(h))&&m(this,h===0?0:h)}:function(h,b){return m(this,h===0?0:h,b),this})};if(_d(t,!be(a)||!(o||u.forEach&&!ge(function(){new a().entries().next()}))))s=n.getConstructor(e,t,r,i),pv.enable();else if(_d(t,!0)){var f=new s,p=f[i](o?{}:-0,1)!=f,d=ge(function(){f.has(1)}),y=s4(function(v){new a(v)}),g=!o&&ge(function(){for(var v=new a,m=5;m--;)v[i](m,m);return!v.has(-0)});y||((s=e(function(v,m){gv(v,u);var h=Mk(new a,v,s);return m!=null&&$d(m,h[i],{that:h,AS_ENTRIES:r}),h})).prototype=u,u.constructor=s),(d||g)&&(c("delete"),c("has"),r&&c("get")),(g||p)&&c(i),o&&u.clear&&delete u.clear}return l[t]=s,$e({global:!0,forced:s!=a},l),uv(s,t),o||n.setStrong(s,t,r),s},vv=pv.getWeakData,sJ=Qn.set,lJ=Qn.getterFor,cJ=Xl.find,fJ=Xl.findIndex,dJ=Et([].splice),pJ=0,mv=function(t){return t.frozen||(t.frozen=new $k)},$k=function(){this.entries=[]},_4=function(t,e){return cJ(t.entries,function(n){return n[0]===e})};$k.prototype={get:function(t){var e=_4(this,t);if(e)return e[1]},has:function(t){return!!_4(this,t)},set:function(t,e){var n=_4(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=fJ(this.entries,function(n){return n[0]===t});return~e&&dJ(this.entries,e,1),!!~e}};var Hd,Hk={getConstructor:function(t,e,n,r){var o=t(function(s,l){gv(s,i),sJ(s,{type:e,id:pJ++,frozen:void 0}),l!=null&&$d(l,s[r],{that:s,AS_ENTRIES:n})}),i=o.prototype,a=lJ(e),u=function(s,l,c){var f=a(s),p=vv(on(l),!0);return p===!0?mv(f).set(l,c):p[f.id]=c,s};return oc(i,{delete:function(s){var l=a(this);if(!Fe(s))return!1;var c=vv(s);return c===!0?mv(l).delete(s):c&&rn(c,l.id)&&delete c[l.id]},has:function(s){var l=a(this);if(!Fe(s))return!1;var c=vv(s);return c===!0?mv(l).has(s):c&&rn(c,l.id)}}),oc(i,n?{get:function(s){var l=a(this);if(Fe(s)){var c=vv(s);return c===!0?mv(l).get(s):c?c[l.id]:void 0}},set:function(s,l){return u(this,s,l)}}:{add:function(s){return u(this,s,!0)}}),o}},yv=Qn.enforce,hJ=!Q.ActiveXObject&&"ActiveXObject"in Q,Uk=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},gJ=zk("WeakMap",Uk,Hk);if(LO&&hJ){Hd=Hk.getConstructor(Uk,"WeakMap",!0),pv.enable();var Ud=gJ.prototype,Vk=Et(Ud.delete),bv=Et(Ud.has),Wk=Et(Ud.get),Gk=Et(Ud.set);oc(Ud,{delete:function(t){if(Fe(t)&&!ms(t)){var e=yv(this);return e.frozen||(e.frozen=new Hd),Vk(this,t)||e.frozen.delete(t)}return Vk(this,t)},has:function(t){if(Fe(t)&&!ms(t)){var e=yv(this);return e.frozen||(e.frozen=new Hd),bv(this,t)||e.frozen.has(t)}return bv(this,t)},get:function(t){if(Fe(t)&&!ms(t)){var e=yv(this);return e.frozen||(e.frozen=new Hd),bv(this,t)?Wk(this,t):e.frozen.get(t)}return Wk(this,t)},set:function(t,e){if(Fe(t)&&!ms(t)){var n=yv(this);n.frozen||(n.frozen=new Hd),bv(this,t)?Gk(this,t,e):n.frozen.set(t,e)}else Gk(this,t,e);return this}})}var I4=ze("iterator"),Kk=ze("toStringTag"),N4=zd.values,qk=function(t,e){if(t){if(t[I4]!==N4)try{Fo(t,I4,N4)}catch(r){t[I4]=N4}if(t[Kk]||Fo(t,Kk,e),Jg[e]){for(var n in zd)if(t[n]!==zd[n])try{Fo(t,n,zd[n])}catch(r){t[n]=zd[n]}}}};for(var L4 in Jg)qk(Q[L4]&&Q[L4].prototype,L4);qk(HO,"DOMTokenList");var R4=new WeakMap,M4=new WeakMap,z4=new WeakMap,wv=new WeakMap,$4=new WeakMap,Ev=new WeakMap,H4=new WeakMap,U4=new WeakMap,Sv=new WeakMap,Zk=new WeakMap,Yk=new WeakMap,Xk=new WeakMap,Jk=new WeakMap,Vd=new WeakMap,ic=new WeakMap,V4=new WeakMap,Cv=new WeakMap,W4=new WeakMap,Dv=new WeakMap,xv=new WeakMap,Qk=new WeakMap,ys=new WeakMap,G4=new WeakMap,tB=new WeakMap,K4=new WeakMap,vJ=Xl.find,eB=!0;"find"in[]&&Array(1).find(function(){eB=!1}),$e({target:"Array",proto:!0,forced:eB},{find:function(t){return vJ(this,t,arguments.length>1?arguments[1]:void 0)}}),Id("find"),$e({global:!0},{globalThis:Q});const mJ=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"];Bg&&(k.fn.css=Bg),to&&(k.fn.append=to),jl&&(k.fn.addClass=jl),_l&&(k.fn.removeClass=_l),Il&&(k.fn.hasClass=Il),Qo&&(k.fn.on=Qo),Sa&&(k.fn.focus=Sa),Qr&&(k.fn.attr=Qr),xg&&(k.fn.removeAttr=xg),Ll&&(k.fn.hide=Ll),kg&&(k.fn.show=kg),a9&&(k.fn.offset=a9),Ag&&(k.fn.width=Ag),Og&&(k.fn.height=Og),Rl&&(k.fn.parent=Rl),Pg&&(k.fn.parents=Pg),s9&&(k.fn.is=s9),Nl&&(k.fn.dataset=Nl),Jo&&(k.fn.val=Jo),Tg&&(k.fn.text=Tg),Ea&&(k.fn.html=Ea),zl&&(k.fn.children=zl),$l&&(k.fn.remove=$l),Ml&&(k.fn.find=Ml),Fg&&(k.fn.each=Fg),Hl&&(k.fn.empty=Hl);var oi,tr,q4=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||null},Po=function(t){return bs(t)&&t.nodeType===1},bs=function(t){var e=q4(t);return!!e&&t instanceof e.Node},nB=function(t){var e=t&&t.anchorNode&&q4(t.anchorNode);return!!e&&t instanceof e.Selection},rB=function(t){return bs(t)&&t.nodeType===3},Z4=function(t){var e,n,r;return(e=window.document.getElementById(t))!==null&&e!==void 0?e:((r=(n=window.document.activeElement)===null||n===void 0?void 0:n.shadowRoot)===null||r===void 0?void 0:r.getElementById(t))||null},oB=function(t,e,n){for(var r,o=t.childNodes,i=o[e],a=e,u=!1,s=!1;(bs(r=i)&&r.nodeType===8||Po(i)&&i.childNodes.length===0||Po(i)&&i.getAttribute("contenteditable")==="false")&&(!u||!s);)a>=o.length?(u=!0,a=e-1,n="backward"):a<0?(s=!0,a=e+1,n="forward"):(i=o[a],e=a,a+=n==="forward"?1:-1);return[i,e]},yJ=function(t,e,n){return ae(oB(t,e,n),1)[0]},bJ=function t(e){var n,r,o="";if(rB(e)&&e.nodeValue)return e.nodeValue;if(Po(e)){try{for(var i=io(Array.from(e.childNodes)),a=i.next();!a.done;a=i.next())o+=t(a.value)}catch(s){n={error:s}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}var u=getComputedStyle(e).getPropertyValue("display");u!=="block"&&u!=="list"&&u!=="table-row"&&e.tagName!=="BR"||(o+=`
  49. `)}return o};function iB(t,e){if(!(t instanceof HTMLElement&&t.dataset.slateVoid==="true"))for(var n=t.childNodes,r=n.length;r--;){var o=n[r],i=o.nodeType;i==3?e(o,t):i!=1&&i!=9&&i!=11||iB(o,e)}}function aB(t){if(t.length===0)return"";var e=t[0];return e.nodeType!==oi.ELEMENT_NODE?"":e.tagName.toLowerCase()}(tr=oi||(oi={}))[tr.ELEMENT_NODE=1]="ELEMENT_NODE",tr[tr.TEXT_NODE=3]="TEXT_NODE",tr[tr.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",tr[tr.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",tr[tr.COMMENT_NODE=8]="COMMENT_NODE",tr[tr.DOCUMENT_NODE=9]="DOCUMENT_NODE",tr[tr.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",tr[tr.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE",globalThis.navigator!==void 0&&globalThis.window!==void 0&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&globalThis.window.MSStream;var Y4=typeof navigator!="undefined"&&/Mac OS X/.test(navigator.userAgent),Wd=typeof navigator!="undefined"&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent);typeof navigator!="undefined"&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent);var Gd=typeof navigator!="undefined"&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),wJ=typeof navigator!="undefined"&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),EJ=typeof navigator!="undefined"&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),X4=typeof navigator!="undefined"&&/Chrome/i.test(navigator.userAgent);typeof navigator!="undefined"&&/.*QQBrowser/.test(navigator.userAgent);var Kd=!EJ&&!wJ&&typeof globalThis!="undefined"&&globalThis.InputEvent&&typeof globalThis.InputEvent.prototype.getTargetRanges=="function",A={getWindow:function(t){var e=Qk.get(t);if(!e)throw new Error("Unable to find a host window element for this editor");return e},findKey:function(t,e){var n=xv.get(e);return n||(n=new _k,xv.set(e,n)),n},setNewKey:function(t){var e=new _k;xv.set(t,e)},findPath:function(t,e){for(var n=[],r=e;;){var o=ic.get(r);if(o==null){if(E.isEditor(r))return n;break}var i=Vd.get(r);if(i==null)break;n.unshift(i),r=o}throw new Error("Unable to find the path for Slate node: "+JSON.stringify(e))},findDocumentOrShadowRoot:function(t){if(t.isDestroyed)return window.document;var e=A.toDOMNode(t,t),n=e.getRootNode();return(n instanceof Document||n instanceof ShadowRoot)&&n.getSelection!=null?n:e.ownerDocument},getParentNode:function(t,e){return ic.get(e)||null},getParentsNodes:function(t,e){for(var n=[],r=e;r!==t&&r!=null;){var o=A.getParentNode(t,r);if(o==null)break;n.push(o),r=o}return n},getTopNode:function(t,e){var n=[A.findPath(t,e)[0]];return et.get(t,n)},toDOMNode:function(t,e){var n;if(E.isEditor(e))n=V4.get(t);else{var r=A.findKey(t,e);n=W4.get(r)}if(!n)throw new Error("Cannot resolve a DOM node from Slate node: "+JSON.stringify(e));return n},hasDOMNode:function(t,e,n){n===void 0&&(n={});var r,o=n.editable,i=o!==void 0&&o,a=A.toDOMNode(t,t);try{r=Po(e)?e:e.parentElement}catch(u){if(!u.message.includes('Permission denied to access property "nodeType"'))throw u}return!!r&&r.closest("[data-slate-editor]")===a&&(!i||r.isContentEditable||!!r.getAttribute("data-slate-zero-width"))},toDOMRange:function(t,e){var n=e.anchor,r=e.focus,o=M.isBackward(e),i=A.toDOMPoint(t,n),a=M.isCollapsed(e)?i:A.toDOMPoint(t,r),u=A.getWindow(t).document.createRange(),s=ae(o?a:i,2),l=s[0],c=s[1],f=ae(o?i:a,2),p=f[0],d=f[1],y=!!(Po(l)?l:l.parentElement).getAttribute("data-slate-zero-width"),g=!!(Po(p)?p:p.parentElement).getAttribute("data-slate-zero-width");return u.setStart(l,y?1:c),u.setEnd(p,g?1:d),u},toDOMPoint:function(t,e){var n,r,o,i=ae(E.node(t,e.path),1)[0],a=A.toDOMNode(t,i);E.void(t,{at:e})&&(e={path:e.path,offset:0});var u=Array.from(a.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),s=0;try{for(var l=io(u),c=l.next();!c.done;c=l.next()){var f=c.value,p=f.childNodes[0];if(p!=null&&p.textContent!=null){var d=p.textContent.length,y=f.getAttribute("data-slate-length"),g=s+(y==null?d:parseInt(y,10));if(e.offset<=g){o=[p,Math.min(d,Math.max(0,e.offset-s))];break}s=g}}}catch(v){n={error:v}}finally{try{c&&!c.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}if(!o)throw new Error("Cannot resolve a DOM point from Slate point: "+JSON.stringify(e));return o},toSlateNode:function(t,e){var n=Po(e)?e:e.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?Cv.get(n):null;if(!r)throw new Error("Cannot resolve a Slate node from DOM node: "+n);return r},findEventRange:function(t,e){"nativeEvent"in e&&(e=e.nativeEvent);var n=e.clientX,r=e.clientY,o=e.target;if(n==null||r==null)throw new Error("Cannot resolve a Slate range from a DOM event: "+e);var i,a=A.toSlateNode(t,e.target),u=A.findPath(t,a);if(E.isVoid(t,a)){var s=o.getBoundingClientRect(),l=t.isInline(a)?n-s.left<s.left+s.width-n:r-s.top<s.top+s.height-r,c=E.point(t,u,{edge:l?"start":"end"}),f=l?E.before(t,c):E.after(t,c);if(f)return E.range(t,f)}var p=this.getWindow(t).document;if(p.caretRangeFromPoint)i=p.caretRangeFromPoint(n,r);else{var d=p.caretPositionFromPoint(n,r);d&&((i=p.createRange()).setStart(d.offsetNode,d.offset),i.setEnd(d.offsetNode,d.offset))}if(!i)throw new Error("Cannot resolve a Slate range from a DOM event: "+e);return A.toSlateRange(t,i,{exactMatch:!1,suppressThrow:!1})},toSlateRange:function(t,e,n){var r,o,i,a,u,s=n.exactMatch,l=n.suppressThrow;if((nB(e)?e.anchorNode:e.startContainer)&&(nB(e)?(r=e.anchorNode,o=e.anchorOffset,i=e.focusNode,a=e.focusOffset,u=X4&&window.document.activeElement&&window.document.activeElement.shadowRoot?e.anchorNode===e.focusNode&&e.anchorOffset===e.focusOffset:e.isCollapsed):(r=e.startContainer,o=e.startOffset,i=e.endContainer,a=e.endOffset,u=e.collapsed)),r==null||i==null||o==null||a==null)throw new Error("Cannot resolve a Slate range from DOM range: "+e);var c=A.toSlatePoint(t,[r,o],{exactMatch:s,suppressThrow:l});if(!c)return null;var f=u?c:A.toSlatePoint(t,[i,a],{exactMatch:s,suppressThrow:l});if(!f)return null;var p={anchor:c,focus:f};return M.isExpanded(p)&&M.isForward(p)&&Po(i)&&E.void(t,{at:p.focus,mode:"highest"})&&(p=E.unhangRange(t,p,{voids:!0})),p},toSlatePoint:function(t,e,n){var r,o=n.exactMatch,i=n.suppressThrow,a=ae(o?e:function(h){var b,w=ae(h,2),S=w[0],D=w[1];if(Po(S)&&S.childNodes.length){var C=D===S.childNodes.length,O=C?D-1:D;for(S=(b=ae(oB(S,O,C?"backward":"forward"),2))[0],C=(O=b[1])<D;Po(S)&&S.childNodes.length;){var T=C?S.childNodes.length-1:0;S=yJ(S,T,C?"backward":"forward")}D=C&&S.textContent!=null?S.textContent.length:0}return[S,D]}(e),2),u=a[0],s=a[1],l=u.parentNode,c=null,f=0;if(l){var p=l.closest('[data-slate-void="true"]'),d=l.closest("[data-slate-leaf]"),y=null;if(d){c=d.closest('[data-slate-node="text"]');var g=A.getWindow(t).document.createRange();g.setStart(c,0),g.setEnd(u,s);var v=g.cloneContents();P4(P4([],ae(e9(v.querySelectorAll("[data-slate-zero-width]")))),ae(e9(v.querySelectorAll("[contenteditable=false]")))).forEach(function(h){h.parentNode.removeChild(h)}),f=v.textContent.length,y=c}else p&&((d=p.querySelector("[data-slate-leaf]"))?(c=d.closest('[data-slate-node="text"]'),f=(y=d).textContent.length,y.querySelectorAll("[data-slate-zero-width]").forEach(function(h){f-=h.textContent.length})):f=1);y&&f===y.textContent.length&&(l.hasAttribute("data-slate-zero-width")||Wd&&((r=y.textContent)===null||r===void 0?void 0:r.endsWith(`
  50. `)))&&f--}if(!c){if(i)return null;throw new Error("Cannot resolve a Slate point from DOM point: "+e)}var m=A.toSlateNode(t,c);return{path:A.findPath(t,m),offset:f}},hasRange:function(t,e){var n=e.anchor,r=e.focus;return E.hasPath(t,n.path)&&E.hasPath(t,r.path)},getNodeType:function(t){return bt.isElement(t)?t.type:""},checkNodeType:function(t,e){return this.getNodeType(t)===e},getNodesStr:function(t){return t.map(function(e){return et.string(e)}).join("")},getSelectedElems:function(t){var e,n,r=[],o=E.nodes(t,{universal:!0});try{for(var i=io(o),a=i.next();!a.done;a=i.next()){var u=ae(a.value,1)[0];bt.isElement(u)&&r.push(u)}}catch(s){e={error:s}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return r},getSelectedNodeByType:function(t,e){var n=this,r=ae(E.nodes(t,{match:function(i){return n.checkNodeType(i,e)},universal:!0}),1),o=r[0];return o==null?null:o[0]},getSelectedTextNode:function(t){var e=ae(E.nodes(t,{match:function(r){return ft.isText(r)},universal:!0}),1),n=e[0];return n==null?null:n[0]},isNodeSelected:function(t,e){var n=ae(E.nodes(t,{match:function(o){return o===e},universal:!0}),1),r=n[0];return r!=null&&ae(r,1)[0]===e},isSelectionAtLineEnd:function(t,e){var n=t.selection;return!!n&&(E.isEnd(t,n.anchor,e)||E.isEnd(t,n.focus,e))},getTextarea:function(t){var e=R4.get(t);if(e==null)throw new Error("Cannot find textarea instance by editor");return e},getToolbar:function(t){return wv.get(t)||null},getHoverbar:function(t){return Ev.get(t)||null},normalizeContent:function(t){t.children.forEach(function(e,n){t.normalizeNode([e,[n]])})},getLeftLengthOfMaxLength:function(t){var e=t.getConfig(),n=e.maxLength,r=e.onMaxLength;if(typeof n!="number"||n<=0)return 1/0;var o=n-t.getText().replace(/\r|\n|(\r\n)/g,"").length;return o<=0&&r&&r(t),o},cleanExposedTexNodeInSelectionBlock:function(t){var e,n,r,o,i=A.getTextarea(t).$textArea,a=i==null?void 0:i[0].childNodes;if(a)try{for(var u=io(Array.from(a)),s=u.next();!s.done;s=u.next()){var l=s.value;if(l.nodeType!==3)break;l.remove()}}catch(g){e={error:g}}finally{try{s&&!s.done&&(n=u.return)&&n.call(u)}finally{if(e)throw e.error}}var c=E.nodes(t,{match:function(g){return!(!bt.isElement(g)||t.isInline(g))},universal:!0});try{for(var f=io(c),p=f.next();!p.done;p=f.next()){var d=p.value;if(d!=null){var y=d[0];iB(A.toDOMNode(t,y),function(g,v){var m=k(v);m.attr("data-slate-string")||m.attr("data-slate-zero-width")||m.attr("data-w-e-reserve")||v.removeChild(g)})}}}catch(g){r={error:g}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}},isLastNode:function(t,e){var n=t.children||[];return n[n.length-1]===e},genEmptyParagraph:function(){return{type:"paragraph",children:[{text:""}]}},isSelectedVoidNode:function(t){var e,n,r=E.nodes(t,{match:function(u){return t.isVoid(u)}}),o=0;try{for(var i=io(r),a=i.next();!a.done;a=i.next())a.value,o++}catch(u){e={error:u}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(e)throw e.error}}return o>0},isSelectedEmptyParagraph:function(t){var e=t.selection;if(e==null||M.isExpanded(e))return!1;var n=A.getSelectedNodeByType(t,"paragraph");if(n===null)return!1;var r=n.children;return r.length===1&&(r[0].text===""||void 0)},isEmptyPath:function(t,e){var n=E.node(t,e);if(n==null)return!1;var r=ae(n,1)[0].children;return r.length===1&&r[0].text===""}},SJ=1,uB={},qd={},CJ=Xl.filter,DJ=lv("filter");$e({target:"Array",proto:!0,forced:!DJ},{filter:function(t){return CJ(this,t,arguments.length>1?arguments[1]:void 0)}});var J4=`
  51. \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,sB=Et("".replace),Av="["+J4+"]",xJ=RegExp("^"+Av+Av+"*"),AJ=RegExp(Av+Av+"*$"),Q4=function(t){return function(e){var n=ke(ro(e));return 1&t&&(n=sB(n,xJ,"")),2&t&&(n=sB(n,AJ,"")),n}},OJ={start:Q4(1),end:Q4(2),trim:Q4(3)},kJ=Zl.PROPER,BJ=OJ.trim;$e({target:"String",proto:!0,forced:function(t){return ge(function(){return!!J4[t]()||"\u200B\x85\u180E"[t]()!=="\u200B\x85\u180E"||kJ&&J4[t].name!==t})}("trim")},{trim:function(){return BJ(this)}});var tE=[],lB={};function FJ(t,e,n){var r=n.isInline(t)?"span":"div";return"<"+r+">"+e+"</"+r+">"}var Zd,ac,cB,eE,Ov=Q.Promise,fB=ze("species"),nE=function(t){var e=ls(t),n=Bo.f;jn&&e&&!e[fB]&&n(e,fB,{configurable:!0,get:function(){return this}})},TJ=Q.TypeError,PJ=ze("species"),dB=function(t,e){var n,r=on(t).constructor;return r===void 0||(n=on(r)[PJ])==null?e:function(o){if(ev(o))return o;throw TJ(Wg(o)+" is not a constructor")}(n)},pB=Et([].slice),hB=/(?:ipad|iphone|ipod).*applewebkit/i.test(Kl),ja=To(Q.process)=="process",rE=Q.setImmediate,oE=Q.clearImmediate,jJ=Q.process,iE=Q.Dispatch,_J=Q.Function,gB=Q.MessageChannel,IJ=Q.String,aE=0,Yd={};try{Zd=Q.location}catch(t){}var uE=function(t){if(rn(Yd,t)){var e=Yd[t];delete Yd[t],e()}},sE=function(t){return function(){uE(t)}},vB=function(t){uE(t.data)},mB=function(t){Q.postMessage(IJ(t),Zd.protocol+"//"+Zd.host)};rE&&oE||(rE=function(t){var e=pB(arguments,1);return Yd[++aE]=function(){C4(be(t)?t:_J(t),void 0,e)},ac(aE),aE},oE=function(t){delete Yd[t]},ja?ac=function(t){jJ.nextTick(sE(t))}:iE&&iE.now?ac=function(t){iE.now(sE(t))}:gB&&!hB?(eE=(cB=new gB).port2,cB.port1.onmessage=vB,ac=hs(eE.postMessage,eE)):Q.addEventListener&&be(Q.postMessage)&&!Q.importScripts&&Zd&&Zd.protocol!=="file:"&&!ge(mB)?(ac=mB,Q.addEventListener("message",vB,!1)):ac="onreadystatechange"in Ad("script")?function(t){Qw.appendChild(Ad("script")).onreadystatechange=function(){Qw.removeChild(this),uE(t)}}:function(t){setTimeout(sE(t),0)});var Xd,ws,Jd,uc,lE,cE,fE,yB,bB={set:rE,clear:oE},NJ=/ipad|iphone|ipod/i.test(Kl)&&Q.Pebble!==void 0,LJ=/web0s(?!.*chrome)/i.test(Kl),RJ=Td.f,dE=bB.set,wB=Q.MutationObserver||Q.WebKitMutationObserver,EB=Q.document,SB=Q.process,kv=Q.Promise,CB=RJ(Q,"queueMicrotask"),DB=CB&&CB.value;DB||(Xd=function(){var t,e;for(ja&&(t=SB.domain)&&t.exit();ws;){e=ws.fn,ws=ws.next;try{e()}catch(n){throw ws?uc():Jd=void 0,n}}Jd=void 0,t&&t.enter()},hB||ja||LJ||!wB||!EB?!NJ&&kv&&kv.resolve?((fE=kv.resolve(void 0)).constructor=kv,yB=hs(fE.then,fE),uc=function(){yB(Xd)}):ja?uc=function(){SB.nextTick(Xd)}:(dE=hs(dE,Q),uc=function(){dE(Xd)}):(lE=!0,cE=EB.createTextNode(""),new wB(Xd).observe(cE,{characterData:!0}),uc=function(){cE.data=lE=!lE}));var pE,xB,AB,OB,kB=DB||function(t){var e={fn:t,next:void 0};Jd&&(Jd.next=e),ws||(ws=e,uc()),Jd=e},MJ=function(t){var e,n;this.promise=new t(function(r,o){if(e!==void 0||n!==void 0)throw TypeError("Bad Promise constructor");e=r,n=o}),this.resolve=Fa(e),this.reject=Fa(n)},hE={f:function(t){return new MJ(t)}},gE=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}},zJ=typeof window=="object",BB=bB.set,$J=ze("species"),ii="Promise",FB=Qn.getterFor(ii),HJ=Qn.set,UJ=Qn.getterFor(ii),Es=Ov&&Ov.prototype,ai=Ov,Qd=Es,TB=Q.TypeError,vE=Q.document,mE=Q.process,sc=hE.f,VJ=sc,WJ=!!(vE&&vE.createEvent&&Q.dispatchEvent),PB=be(Q.PromiseRejectionEvent),jB=!1,tp=_d(ii,function(){var t=Zg(ai),e=t!==String(ai);if(!e&&Dd===66)return!0;if(Dd>=51&&/native code/.test(t))return!1;var n=new ai(function(o){o(1)}),r=function(o){o(function(){},function(){})};return(n.constructor={})[$J]=r,!(jB=n.then(function(){})instanceof r)||!e&&zJ&&!PB}),GJ=tp||!s4(function(t){ai.all(t).catch(function(){})}),_B=function(t){var e;return!(!Fe(t)||!be(e=t.then))&&e},yE=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;kB(function(){for(var r=t.value,o=t.state==1,i=0;n.length>i;){var a,u,s,l=n[i++],c=o?l.ok:l.fail,f=l.resolve,p=l.reject,d=l.domain;try{c?(o||(t.rejection===2&&qJ(t),t.rejection=1),c===!0?a=r:(d&&d.enter(),a=c(r),d&&(d.exit(),s=!0)),a===l.promise?p(TB("Promise-chain cycle")):(u=_B(a))?ie(u,a,f,p):f(a)):p(r)}catch(y){d&&!s&&d.exit(),p(y)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&KJ(t)})}},IB=function(t,e,n){var r,o;WJ?((r=vE.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),Q.dispatchEvent(r)):r={promise:e,reason:n},!PB&&(o=Q["on"+t])?o(r):t==="unhandledrejection"&&function(i,a){var u=Q.console;u&&u.error&&(arguments.length==1?u.error(i):u.error(i,a))}("Unhandled promise rejection",n)},KJ=function(t){ie(BB,Q,function(){var e,n=t.facade,r=t.value;if(NB(t)&&(e=gE(function(){ja?mE.emit("unhandledRejection",r,n):IB("unhandledrejection",n,r)}),t.rejection=ja||NB(t)?2:1,e.error))throw e.value})},NB=function(t){return t.rejection!==1&&!t.parent},qJ=function(t){ie(BB,Q,function(){var e=t.facade;ja?mE.emit("rejectionHandled",e):IB("rejectionhandled",e,t.value)})},lc=function(t,e,n){return function(r){t(e,r,n)}},cc=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,yE(t,!0))},bE=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw TB("Promise can't be resolved itself");var r=_B(e);r?kB(function(){var o={done:!1};try{ie(r,e,lc(bE,o,t),lc(cc,o,t))}catch(i){cc(o,i,t)}}):(t.value=e,t.state=1,yE(t,!1))}catch(o){cc({done:!1},o,t)}}};if(tp&&(Qd=(ai=function(t){gv(this,Qd),Fa(t),ie(pE,this);var e=FB(this);try{t(lc(bE,e),lc(cc,e))}catch(n){cc(e,n)}}).prototype,(pE=function(t){HJ(this,{type:ii,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=oc(Qd,{then:function(t,e){var n=UJ(this),r=n.reactions,o=sc(dB(this,ai));return o.ok=!be(t)||t,o.fail=be(e)&&e,o.domain=ja?mE.domain:void 0,n.parent=!0,r[r.length]=o,n.state!=0&&yE(n,!1),o.promise},catch:function(t){return this.then(void 0,t)}}),xB=function(){var t=new pE,e=FB(t);this.promise=t,this.resolve=lc(bE,e),this.reject=lc(cc,e)},hE.f=sc=function(t){return t===ai||t===AB?new xB(t):VJ(t)},be(Ov)&&Es!==Object.prototype)){OB=Es.then,jB||(wr(Es,"then",function(t,e){var n=this;return new ai(function(r,o){ie(OB,n,r,o)}).then(t,e)},{unsafe:!0}),wr(Es,"catch",Qd.catch,{unsafe:!0}));try{delete Es.constructor}catch(t){}nc&&nc(Es,Qd)}$e({global:!0,wrap:!0,forced:tp},{Promise:ai}),uv(ai,ii,!1),nE(ii),AB=ls(ii),$e({target:ii,stat:!0,forced:tp},{reject:function(t){var e=sc(this);return ie(e.reject,void 0,t),e.promise}}),$e({target:ii,stat:!0,forced:tp},{resolve:function(t){return function(e,n){if(on(e),Fe(n)&&n.constructor===e)return n;var r=hE.f(e);return(0,r.resolve)(n),r.promise}(this,t)}}),$e({target:ii,stat:!0,forced:GJ},{all:function(t){var e=this,n=sc(e),r=n.resolve,o=n.reject,i=gE(function(){var a=Fa(e.resolve),u=[],s=0,l=1;$d(t,function(c){var f=s++,p=!1;l++,ie(a,e,c).then(function(d){p||(p=!0,u[f]=d,--l||r(u))},o)}),--l||r(u)});return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=sc(e),r=n.reject,o=gE(function(){var i=Fa(e.resolve);$d(t,function(a){ie(i,e,a).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var fc=cv.UNSUPPORTED_Y,ZJ=Math.min,LB=[].push,YJ=Et(/./.exec),dc=Et(LB),ep=Et("".slice);function ao(t){Promise.resolve().then(t)}function RB(t,e){return bt.isElement(t)?function(n,r){var o=n.type,i=o===void 0?"":o,a=n.children,u=a===void 0?[]:a,s=E.isVoid(r,n),l="";s||(l=u.map(function(m){return RB(m,r)}).join(""));var c=function(m){return lB[m]||FJ}(i),f=c(n,l,r),p="";if(p=typeof f=="string"?f:f.html||"",s||tE.forEach(function(m){return p=m(n,p)}),typeof f=="string")return p;var d=f.prefix,y=d===void 0?"":d,g=f.suffix,v=g===void 0?"":g;return y&&(p=y+p),v&&(p+=v),p}(t,e):function(n,r){var o=n.text;if(o==null)throw new Error("Current node is not slate Text "+JSON.stringify(n));var i=o;i=function(s){return s.replace(/ {2}/g," &nbsp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/®/g,"&reg;").replace(/©/g,"&copy;").replace(/™/g,"&trade;")}(i);var a=A.getParentsNodes(r,n).some(function(s){return A.getNodeType(s)==="pre"});if(a||(i=i.replace(/\r\n|\r|\n/g,"<br>")),a&&(i=i.replace(/&nbsp;/g," ")),i===""){var u=A.getParentNode(null,n);if(!u||u.children.length!==0)return i;i="<br>"}return tE.forEach(function(s){return i=s(n,i)}),i}(t,e)}function MB(t){return"w-e-element-"+t}x4("split",function(t,e,n){var r;return r="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(o,i){var a=ke(ro(this)),u=i===void 0?4294967295:i>>>0;if(u===0)return[];if(o===void 0)return[a];if(!r4(o))return ie(e,a,o,u);for(var s,l,c,f=[],p=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(o.sticky?"y":""),d=0,y=new RegExp(o.source,p+"g");(s=ie(Rd,y,a))&&!((l=y.lastIndex)>d&&(dc(f,ep(a,d,s.index)),s.length>1&&s.index<a.length&&C4(LB,f,j4(s,1)),c=s[0].length,d=l,f.length>=u));)y.lastIndex===s.index&&y.lastIndex++;return d===a.length?!c&&YJ(y,"")||dc(f,""):dc(f,ep(a,d)),f.length>u?j4(f,0,u):f}:"0".split(void 0,0).length?function(o,i){return o===void 0&&i===0?[]:ie(e,this,o,i)}:e,[function(o,i){var a=ro(this),u=o==null?void 0:ds(o,t);return u?ie(u,o,a,i):ie(r,ke(a),o,i)},function(o,i){var a=on(this),u=ke(o),s=n(r,a,u,i,r!==e);if(s.done)return s.value;var l=dB(a,RegExp),c=a.unicode,f=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(fc?"g":"y"),p=new l(fc?"^(?:"+a.source+")":a,f),d=i===void 0?4294967295:i>>>0;if(d===0)return[];if(u.length===0)return Md(p,u)===null?[u]:[];for(var y=0,g=0,v=[];g<u.length;){p.lastIndex=fc?0:g;var m,h=Md(p,fc?ep(u,g):u);if(h===null||(m=ZJ(Yl(p.lastIndex+(fc?g:0)),u.length))===y)g=A4(u,g,c);else{if(dc(v,ep(u,y,g)),v.length===d)return v;for(var b=1;b<=h.length-1;b++)if(dc(v,h[b]),v.length===d)return v;g=y=m}}return dc(v,ep(u,y)),v}]},!!ge(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),fc);var zB=function(t,e){var n=(e.top+e.bottom)/2;return t.top<=n&&t.bottom>=n},$B=function(t,e,n){var r=A.toDOMRange(t,e).getBoundingClientRect(),o=A.toDOMRange(t,n).getBoundingClientRect();return zB(r,o)&&zB(o,r)},HB=["span","b","strong","i","em","s","strike","u","font","sub","sup"],UB=[],wE=[],Bv={},XJ=Bo.f,JJ=Pd.f,QJ=Qn.enforce,tQ=ze("match"),$i=Q.RegExp,pc=$i.prototype,eQ=Q.SyntaxError,nQ=Et(Xw),rQ=Et(pc.exec),Fv=Et("".charAt),VB=Et("".replace),WB=Et("".indexOf),oQ=Et("".slice),iQ=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Ss=/a/g,EE=/a/g,aQ=new $i(Ss)!==Ss,GB=cv.MISSED_STICKY,uQ=cv.UNSUPPORTED_Y,sQ=jn&&(!aQ||GB||v4||m4||ge(function(){return EE[tQ]=!1,$i(Ss)!=Ss||$i(EE)==EE||$i(Ss,"i")!="/a/i"}));if(_d("RegExp",sQ)){for(var _a=function(t,e){var n,r,o,i,a,u,s=fs(pc,this),l=r4(t),c=e===void 0,f=[],p=t;if(!s&&l&&c&&t.constructor===_a)return t;if((l||fs(pc,t))&&(t=t.source,c&&(e="flags"in p?p.flags:nQ(p))),t=t===void 0?"":ke(t),e=e===void 0?"":ke(e),p=t,v4&&"dotAll"in Ss&&(r=!!e&&WB(e,"s")>-1)&&(e=VB(e,/s/g,"")),n=e,GB&&"sticky"in Ss&&(o=!!e&&WB(e,"y")>-1)&&uQ&&(e=VB(e,/y/g,"")),m4&&(i=function(d){for(var y,g=d.length,v=0,m="",h=[],b={},w=!1,S=!1,D=0,C="";v<=g;v++){if((y=Fv(d,v))==="\\")y+=Fv(d,++v);else if(y==="]")w=!1;else if(!w)switch(!0){case y==="[":w=!0;break;case y==="(":rQ(iQ,oQ(d,v+1))&&(v+=2,S=!0),m+=y,D++;continue;case(y===">"&&S):if(C===""||rn(b,C))throw new eQ("Invalid capture group name");b[C]=!0,h[h.length]=[C,D],S=!1,C="";continue}S?C+=y:m+=y}return[m,h]}(t),t=i[0],f=i[1]),a=Mk($i(t,e),s?this:pc,_a),(r||o||f.length)&&(u=QJ(a),r&&(u.dotAll=!0,u.raw=_a(function(d){for(var y,g=d.length,v=0,m="",h=!1;v<=g;v++)(y=Fv(d,v))!=="\\"?h||y!=="."?(y==="["?h=!0:y==="]"&&(h=!1),m+=y):m+="[\\s\\S]":m+=y+Fv(d,++v);return m}(t),n)),o&&(u.sticky=!0),f.length&&(u.groups=f)),t!==p)try{Fo(a,"source",p===""?"(?:)":p)}catch(d){}return a},lQ=function(t){t in _a||XJ(_a,t,{configurable:!0,get:function(){return $i[t]},set:function(e){$i[t]=e}})},KB=JJ($i),qB=0;KB.length>qB;)lQ(KB[qB++]);pc.constructor=_a,_a.prototype=pc,wr(Q,"RegExp",_a)}nE("RegExp");var cQ=new RegExp(String.fromCharCode(160),"g");function ZB(t){return t.replace(cQ," ")}function YB(t,e){var n=t.length;if(n){var r=t[n-1];if(ft.isText(r)){var o=Object.keys(r);if(o.length===1&&o[0]==="text")return r.text=r.text+e,!0}}return!1}function fQ(t,e,n){return{type:"paragraph",children:[{text:k(t).text().replace(/\s+/gm," ")}]}}function SE(t,e){var n=function(i,a){var u=[];if(i.attr("data-w-e-is-void")!=null)return u;var s=i[0].childNodes;return s.length===1&&s[0].nodeName==="BR"?(u.push({text:""}),u):(s.forEach(function(l){if(l.nodeType!==oi.ELEMENT_NODE){if(l.nodeType===oi.TEXT_NODE){var c=l.textContent||"";if(c.trim()===""&&c.indexOf(`
  52. `)>=0)return;c&&(c=ZB(c),YB(u,c)||u.push({text:c}))}}else{if(l.nodeName==="BR")return void(YB(u,`
  53. `)||u.push({text:`
  54. `}));var f=DE(k(l),a);Array.isArray(f)?f.forEach(function(p){return u.push(p)}):u.push(f)}}),u)}(t,e),r=function(i){for(var a in Bv)if(i[0].matches(a))return Bv[a];return fQ}(t),o=r(t[0],n,e);return Array.isArray(o)||(o=[o]),o.forEach(function(i){E.isVoid(e,i)||(n.length===0&&(i.children=[{text:t.text().replace(/\s+/gm," ")}]),wE.forEach(function(a){i=a(t[0],i,e)}))}),o}function CE(t,e){t.parents("pre").length===0&&(t[0].innerHTML=t[0].innerHTML.replace(/\s+/gm," ").replace(/<br>/g,`
  55. `));var n=t[0].textContent||"";n=function(o){return o.replace(/&nbsp;/g," ").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&reg;/g,"\xAE").replace(/&copy;/g,"\xA9").replace(/&trade;/g,"\u2122").replace(/&quot;/g,'"')}(n);var r={text:n=ZB(n)};return wE.forEach(function(o){r=o(t[0],r,e)}),r}function DE(t,e){UB.forEach(function(r){var o=r.selector,i=r.preParseHtml;t[0].matches(o)&&(t=k(i(t[0])))});var n=aB(t);return n==="span"?t.attr("data-w-e-type")?SE(t,e):CE(t,e):n==="code"?aB(t.parent())==="pre"?SE(t,e):CE(t,e):HB.includes(n)?CE(t,e):SE(t,e)}function XB(t,e,n){var r=k(n);return!!r.attr(e)||(r.attr(e,"true"),t.on("destroyed",function(){r.removeAttr(e)}),!1)}function JB(t,e){e===void 0&&(e="");var n=[];e===""&&(e="<p><br></p>"),e.indexOf("<")!==0&&(e=e.split(/\n/).map(function(o){return"<p>"+o+"</p>"}).join(""));var r=k("<div>"+e+"</div>");return Array.from(r.children()).forEach(function(o){var i=DE(k(o),t);Array.isArray(i)?i.forEach(function(a){return n.push(a)}):n.push(i)}),n}var dQ=Bo.f,QB=pv.fastKey,tF=Qn.set,xE=Qn.getterFor,pQ={getConstructor:function(t,e,n,r){var o=t(function(l,c){gv(l,i),tF(l,{type:e,index:iv(null),first:void 0,last:void 0,size:0}),jn||(l.size=0),c!=null&&$d(c,l[r],{that:l,AS_ENTRIES:n})}),i=o.prototype,a=xE(e),u=function(l,c,f){var p,d,y=a(l),g=s(l,c);return g?g.value=f:(y.last=g={index:d=QB(c,!0),key:c,value:f,previous:p=y.last,next:void 0,removed:!1},y.first||(y.first=g),p&&(p.next=g),jn?y.size++:l.size++,d!=="F"&&(y.index[d]=g)),l},s=function(l,c){var f,p=a(l),d=QB(c);if(d!=="F")return p.index[d];for(f=p.first;f;f=f.next)if(f.key==c)return f};return oc(i,{clear:function(){for(var l=a(this),c=l.index,f=l.first;f;)f.removed=!0,f.previous&&(f.previous=f.previous.next=void 0),delete c[f.index],f=f.next;l.first=l.last=void 0,jn?l.size=0:this.size=0},delete:function(l){var c=this,f=a(c),p=s(c,l);if(p){var d=p.next,y=p.previous;delete f.index[p.index],p.removed=!0,y&&(y.next=d),d&&(d.previous=y),f.first==p&&(f.first=d),f.last==p&&(f.last=y),jn?f.size--:c.size--}return!!p},forEach:function(l){for(var c,f=a(this),p=hs(l,arguments.length>1?arguments[1]:void 0);c=c?c.next:f.first;)for(p(c.value,c.key,this);c&&c.removed;)c=c.previous},has:function(l){return!!s(this,l)}}),oc(i,n?{get:function(l){var c=s(this,l);return c&&c.value},set:function(l,c){return u(this,l===0?0:l,c)}}:{add:function(l){return u(this,l=l===0?0:l,l)}}),jn&&dQ(i,"size",{get:function(){return a(this).size}}),o},setStrong:function(t,e,n){var r=e+" Iterator",o=xE(e),i=xE(r);d4(t,e,function(a,u){tF(this,{type:r,target:a,state:o(a),kind:u,last:void 0})},function(){for(var a=i(this),u=a.kind,s=a.last;s&&s.removed;)s=s.previous;return a.target&&(a.last=s=s?s.next:a.state.first)?u=="keys"?{value:s.key,done:!1}:u=="values"?{value:s.value,done:!1}:{value:[s.key,s.value],done:!1}:(a.target=void 0,{value:void 0,done:!0})},n?"entries":"values",!n,!0),nE(e)}};zk("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},pQ);var eF=new Set(["doctype","!doctype","meta","script","style","link","frame","iframe","title","svg"]);function nF(t,e){t.isInline(e)?(t.insertNode(e),e.type==="link"&&t.insertFragment([{text:""}])):I.insertNodes(t,e,{mode:"highest"})}var hQ=function(t){var e=t,n=e.insertText;return e.insertFragment,e.setFragmentData=function(r){var o=e.selection;if(o){var i=ae(M.edges(o),2),a=i[0],u=i[1],s=E.void(e,{at:a.path}),l=E.void(e,{at:u.path});if(!M.isCollapsed(o)||s){var c=A.toDOMRange(e,o),f=c.cloneContents(),p=f.childNodes[0];if(f.childNodes.forEach(function(S){S.textContent&&S.textContent.trim()!==""&&(p=S)}),l){var d=ae(l,1)[0],y=c.cloneRange(),g=A.toDOMNode(e,d);y.setEndAfter(g),f=y.cloneContents()}if(s&&(p=f.querySelector("[data-slate-spacer]")),Array.from(f.querySelectorAll("[data-slate-zero-width]")).forEach(function(S){var D=S.getAttribute("data-slate-zero-width")==="n";S.textContent=D?`
  56. `:""}),rB(p)){var v=p.ownerDocument.createElement("span");v.style.whiteSpace="pre",v.appendChild(p),f.appendChild(v),p=v}var m=e.getFragment(),h=JSON.stringify(m),b=window.btoa(encodeURIComponent(h));p.setAttribute("data-slate-fragment",b),r.setData("application/x-slate-fragment",b);var w=f.ownerDocument.createElement("div");return w.appendChild(f),w.setAttribute("hidden","true"),f.ownerDocument.body.appendChild(w),r.setData("text/html",w.innerHTML),r.setData("text/plain",bJ(w)),f.ownerDocument.body.removeChild(w),r}}},e.insertData=function(r){var o,i,a=r.getData("application/x-slate-fragment");if(a){var u=decodeURIComponent(window.atob(a)),s=JSON.parse(u);e.insertFragment(s)}else{var l=r.getData("text/plain"),c=r.getData("text/html");if(c)e.dangerouslyInsertHtml(c);else if(l){var f=l.split(/\r\n|\r|\n/),p=!1;try{for(var d=io(f),y=d.next();!y.done;y=d.next()){var g=y.value;p&&I.splitNodes(e,{always:!0}),n(g),p=!0}}catch(v){o={error:v}}finally{try{y&&!y.done&&(i=d.return)&&i.call(d)}finally{if(o)throw o.error}}}}},e},np=function(t){return t!=null},gQ={object:!0,function:!0,undefined:!0},vQ=/^\s*class[\s{/}]/,mQ=Function.prototype.toString,rF=function(t){return!!function(e){if(typeof e!="function"||!hasOwnProperty.call(e,"length"))return!1;try{if(typeof e.length!="number"||typeof e.call!="function"||typeof e.apply!="function")return!1}catch(n){return!1}return!function(n){if(!function(r){return!!np(r)&&hasOwnProperty.call(gQ,typeof r)}(n))return!1;try{return!!n.constructor&&n.constructor.prototype===n}catch(r){return!1}}(e)}(t)&&!vQ.test(mQ.call(t))},AE=function(t){return t!=null},yQ=Object.keys,bQ=function(){try{return Object.keys("primitive"),!0}catch(t){return!1}}()?Object.keys:function(t){return yQ(AE(t)?Object(t):t)},wQ=function(t){if(!AE(t))throw new TypeError("Cannot use null or undefined");return t},EQ=Math.max,oF=function(){var t,e=Object.assign;return typeof e=="function"&&(e(t={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}()?Object.assign:function(t,e){var n,r,o,i=EQ(arguments.length,2);for(t=Object(wQ(t)),o=function(a){try{t[a]=e[a]}catch(u){n||(n=u)}},r=1;r<i;++r)bQ(e=arguments[r]).forEach(o);if(n!==void 0)throw n;return t},SQ=Array.prototype.forEach,CQ=Object.create,DQ=function(t,e){var n;for(n in t)e[n]=t[n]},iF=function(t){var e=CQ(null);return SQ.call(arguments,function(n){AE(n)&&DQ(Object(n),e)}),e},OE="razdwatrzy",xQ=String.prototype.indexOf,rp=typeof OE.contains=="function"&&OE.contains("dwa")===!0&&OE.contains("foo")===!1?String.prototype.contains:function(t){return xQ.call(this,t,arguments[1])>-1},Tv=Cd(function(t){var e=t.exports=function(n,r){var o,i,a,u,s;return arguments.length<2||typeof n!="string"?(u=r,r=n,n=null):u=arguments[2],np(n)?(o=rp.call(n,"c"),i=rp.call(n,"e"),a=rp.call(n,"w")):(o=a=!0,i=!1),s={value:r,configurable:o,enumerable:i,writable:a},u?oF(iF(u),s):s};e.gs=function(n,r,o){var i,a,u,s;return typeof n!="string"?(u=o,o=r,r=n,n=null):u=arguments[3],np(r)?rF(r)?np(o)?rF(o)||(u=o,o=void 0):o=void 0:(u=r,r=o=void 0):r=void 0,np(n)?(i=rp.call(n,"c"),a=rp.call(n,"e")):(i=!0,a=!1),s={get:r,set:o,configurable:i,enumerable:a},u?oF(iF(u),s):s}}),kE=function(t){if(typeof t!="function")throw new TypeError(t+" is not a function");return t},AQ=Cd(function(t,e){var n,r,o,i,a,u,s,l=Function.prototype.apply,c=Function.prototype.call,f=Object.create,p=Object.defineProperty,d=Object.defineProperties,y=Object.prototype.hasOwnProperty,g={configurable:!0,enumerable:!1,writable:!0};n=function(v,m){var h;return kE(m),y.call(this,"__ee__")?h=this.__ee__:(h=g.value=f(null),p(this,"__ee__",g),g.value=null),h[v]?typeof h[v]=="object"?h[v].push(m):h[v]=[h[v],m]:h[v]=m,this},r=function(v,m){var h,b;return kE(m),b=this,n.call(this,v,h=function(){o.call(b,v,h),l.call(m,this,arguments)}),h.__eeOnceListener__=m,this},o=function(v,m){var h,b,w,S;if(kE(m),!y.call(this,"__ee__"))return this;if(!(h=this.__ee__)[v])return this;if(typeof(b=h[v])=="object")for(S=0;w=b[S];++S)w!==m&&w.__eeOnceListener__!==m||(b.length===2?h[v]=b[S?0:1]:b.splice(S,1));else b!==m&&b.__eeOnceListener__!==m||delete h[v];return this},i=function(v){var m,h,b,w,S;if(y.call(this,"__ee__")&&(w=this.__ee__[v]))if(typeof w=="object"){for(h=arguments.length,S=new Array(h-1),m=1;m<h;++m)S[m-1]=arguments[m];for(w=w.slice(),m=0;b=w[m];++m)l.call(b,this,S)}else switch(arguments.length){case 1:c.call(w,this);break;case 2:c.call(w,this,arguments[1]);break;case 3:c.call(w,this,arguments[1],arguments[2]);break;default:for(h=arguments.length,S=new Array(h-1),m=1;m<h;++m)S[m-1]=arguments[m];l.call(w,this,S)}},a={on:n,once:r,off:o,emit:i},u={on:Tv(n),once:Tv(r),off:Tv(o),emit:Tv(i)},s=d({},u),t.exports=e=function(v){return v==null?f(s):d(Object(v),u)},e.methods=a});function Pv(t){var e=tB.get(t);return e==null&&(e=AQ(),tB.set(t,e)),e}var jv=new WeakMap;function aF(t,e){var n=jv.get(t);n==null&&(n=new Set,jv.set(t,n)),n.add(e)}function OQ(t){return jv.get(t)||new Set}function kQ(t){jv.set(t,new Set)}function BE(t){var e=A.getTextarea(t).$textAreaContainer,n=e.width(),r=e.height(),o=e.offset();return{top:o.top,left:o.left,width:n,height:r}}function FE(t){var e={top:"0",left:"0"},n=t.selection;if(n==null)return e;var r=BE(t);if(r==null)return e;var o=r.top,i=r.left,a=r.width,u=r.height,s=A.toDOMRange(t,n).getClientRects()[0];if(s==null)return e;s.width;var l=s.height,c={},f=s.top-o,p=s.left-i;if(p>a/2){var d=a-p;c.right=d+5+"px"}else c.left=p+5+"px";if(f>u/2){var y=u-f;c.bottom=y+5+"px"}else{var g=f+l;g<0&&(g=0),c.top=g+5+"px"}return c}function TE(t,e,n){n===void 0&&(n="modal");var r={top:"0",left:"0"};if(t.selection==null)return r;var o=bt.isElement(e)&&t.isVoid(e),i=bt.isElement(e)&&t.isInline(e),a=Dv.get(e);if(a==null)return r;var u=a.getBoundingClientRect(),s=u.top,l=u.left,c=u.height,f=u.width;if(o){var p=function(C){var O=[];O.push(C);for(var T=0;O.length>0;){var L=O.pop();if(L==null||++T>1e4)break;var z=L.nodeName;if(L.nodeType===1){var $=z.toLowerCase();if(mJ.includes($)||$==="iframe"||$==="video")return L;var Y=L.children||[],G=Y.length;if(G)for(var K=G-1;K>=0;K--)O.push(Y[K])}}return null}(a);if(p!=null){var d=p.getBoundingClientRect();s=d.top,c=d.height}}var y=BE(t);if(y==null)return r;var g,v=y.top,m=y.left,h=y.width,b=y.height,w={},S=s-v,D=l-m;if(n==="bar")return w.left=D+"px",S>40?w.bottom=b-S+5+"px":w.top=S+c+5+"px",w;if(n==="modal")return o?i?D>(h-f)/2?w.right=h-D+5+"px":w.left=D+f+5+"px":w.left="20px":w.left=D+"px",o?((g=S)<0&&(g=0),w.top=g+"px"):S>(b-c)/2?w.bottom=b-S+5+"px":((g=S+c)<0&&(g=0),w.top=g+5+"px"),w;throw new Error("type '"+n+"' is invalid")}function PE(t,e){ao(function(){var n=BE(t);if(n!=null){var r,o=n.top,i=n.left,a=n.width,u=n.height,s=e.offset(),l=s.top,c=s.left,f=e.width(),p=e.height(),d=l-o,y=c-i,g=e.attr("style");if(g.indexOf("top")>=0&&(r=d+p-u)>0){var v=e.css("top"),m=parseInt(v.toString())-r;m<0&&(m=0),e.css("top",m+"px")}if(g.indexOf("bottom")>=0&&l<0){var h=e.css("bottom"),b=parseInt(h.toString())-Math.abs(l);e.css("bottom",b+"px")}if(g.indexOf("left")>=0&&(r=y+f-a)>0){var w=e.css("left"),S=parseInt(w.toString())-r;S<0&&(S=0),e.css("left",S+"px")}if(g.indexOf("right")>=0&&c<0){var D=e.css("right"),C=parseInt(D.toString())-Math.abs(c);e.css("right",C+"px")}}})}var BQ=lv("slice"),FQ=ze("species"),jE=Q.Array,TQ=Math.max;$e({target:"Array",proto:!0,forced:!BQ},{slice:function(t,e){var n,r,o,i=Pa(this),a=gs(i),u=Jl(t,a),s=Jl(e===void 0?a:e,a);if(tv(i)&&(n=i.constructor,(ev(n)&&(n===jE||tv(n.prototype))||Fe(n)&&(n=n[FQ])===null)&&(n=void 0),n===jE||n===void 0))return pB(i,u,s);for(r=new(n===void 0?jE:n)(TQ(s-u,0)),o=0;u<s;u++,o++)u in i&&Nd(r,o,i[u]);return r.length=o,r}});var PQ=Td.f,uF=Et("".startsWith),jQ=Et("".slice),_Q=Math.min,sF=i4("startsWith"),IQ=!sF&&!!function(){var t=PQ(String.prototype,"startsWith");return t&&!t.writable}();$e({target:"String",proto:!0,forced:!IQ&&!sF},{startsWith:function(t){var e=ke(ro(this));o4(t);var n=Yl(_Q(arguments.length>1?arguments[1]:void 0,e.length)),r=ke(t);return uF?uF(e,r,n):jQ(e,n,n+r.length)===r}});var hc=Object.assign,lF=Object.defineProperty,NQ=Et([].concat),cF=!hc||ge(function(){if(jn&&hc({b:1},hc(lF({},"a",{enumerable:!0,get:function(){lF(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(o){e[o]=o}),hc({},t)[n]!=7||Ql(hc({},e)).join("")!=r})?function(t,e){for(var n=Ba(t),r=arguments.length,o=1,i=ik.f,a=QO.f;r>o;)for(var u,s=Qg(arguments[o++]),l=i?NQ(Ql(s),i(s)):Ql(s),c=l.length,f=0;c>f;)u=l[f++],jn&&!ie(a,s,u)||(n[u]=s[u]);return n}:hc;$e({target:"Object",stat:!0,forced:Object.assign!==cF},{assign:cF});var LQ=["props","attrs","style","dataset","on","hook"];function fF(t){var e=t.data,n=e===void 0?{}:e,r=t.children,o=r===void 0?[]:r;Object.keys(n).forEach(function(i){var a,u,s=n[i];if(i!=="key"){if(!LQ.includes(i)){if(i.startsWith("data-")){var l=i.slice(5);return l=uq(l),function(c,f){c.data==null&&(c.data={});var p=c.data;p.dataset==null&&(p.dataset={}),Object.assign(p.dataset,f)}(t,((a={})[l]=s,a)),void delete n[i]}(function(c,f){c.data==null&&(c.data={});var p=c.data;p.props==null&&(p.props={}),Object.assign(p.props,f)})(t,(u={},u[i]=s,u)),delete n[i]}}else t.key=s}),o.length>0&&o.forEach(function(i){typeof i!="string"&&fF(i)})}var _E=[],dF={};function RQ(t,e,n){return Pt(n.isInline(t)?"span":"div",null,e)}function pF(t,e){return e===void 0&&(e=!1),Pt("span",{"data-slate-string":!0},e?t+`
  57. `:t)}function IE(t,e){return t===void 0&&(t=0),e===void 0&&(e=!1),Pt("span",{"data-slate-zero-width":e?"n":"z","data-slate-length":t},"\uFEFF",e?Pt("br",null):null)}function NE(t,e,n,r){return Vd.set(t,e),ic.set(t,n),bt.isElement(t)?function(o,i){var a,u=A.findKey(i,o),s=i.isInline(o),l=E.isVoid(i,o),c=MB(u.id),f={id:c,key:u.id,"data-slate-node":"element","data-slate-inline":s},p=o.type,d=o.children,y=d===void 0?[]:d,g=function(S){return dF[S]||RQ}(p);a=l?null:y.map(function(S,D){return NE(S,D,o,i)});var v=g(o,a,i);if(l){f["data-slate-void"]=!0;var m=s?"span":"div",h=ae(et.texts(o),1),b=ae(h[0],1)[0],w=Pt(m,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},NE(b,0,o,i));v=Pt(m,{style:{position:"relative"}},v,w),Vd.set(b,0),ic.set(b,o)}return v.data==null&&(v.data={}),Object.assign(v.data,f),l||s||(v=function(S,D){var C=D;return _E.forEach(function(O){C=O(S,D)}),C}(o,v)),ao(function(){var S=Z4(c);S!=null&&(W4.set(u,S),Dv.set(o,S),Cv.set(S,o))}),v}(t,r):function(o,i,a){if(o.text==null)throw new Error("Current node is not slate Text "+JSON.stringify(o));var u=A.findKey(a,o),s=a.getConfig().decorate;if(s==null)throw new Error("Can not get config.decorate");var l=A.findPath(a,o),c=s([o,l]),f=ft.decorations(o,c),p=f.map(function(g,v){var m=function(h,b,w,S,D){b===void 0&&(b=!1);var C=h.text,O=A.findPath(D,w),T=_.parent(O);if(E.isEditor(S))throw new Error("Text node "+JSON.stringify(w)+" parent is Editor");return D.isVoid(S)?IE(et.string(S).length):C!==""||S.children[S.children.length-1]!==w||D.isInline(S)||E.string(D,T)!==""?C===""?IE():b&&C.slice(-1)===`
  58. `?pF(C,!0):pF(C):IE(0,!0)}(g,v===f.length-1,o,i,a);return m=function(h,b){var w=b;return _E.forEach(function(S){w=S(h,w)}),w}(g,m),Pt("span",{"data-slate-leaf":!0},m)}),d=function(g){return"w-e-text-"+g}(u.id),y=Pt("span",{"data-slate-node":"text",id:d,key:u.id},p);return ao(function(){var g=Z4(d);g!=null&&(W4.set(u,g),Dv.set(o,g),Cv.set(g,o))}),y}(t,n,r)}function MQ(t,e){var n,r=t.$scroll,o=function(g){return"w-e-textarea-"+g}(t.id),i=e.getConfig(),a=i.readOnly,u=i.autoFocus,s=function(g,v){return v===void 0&&(v=!1),Ul("div#"+g,{props:{contentEditable:!v}})}(o,a),l=e.children||[];s.children=l.map(function(g,v){var m=NE(g,v,e,e);return fF(m),m});var c=Yk.get(t);if(c==null&&(c=!0),c){var f=function(g,v){return k(`<div
  59. id="`+g+`"
  60. data-slate-editor
  61. data-slate-node="value"
  62. suppressContentEditableWarning
  63. role="textarea"
  64. spellCheck="true"
  65. autoCorrect="true"
  66. autoCapitalize="true"
  67. ></div>`)}(o);r.append(f),t.$textArea=f,n=f[0],(d=BK([TK,IK,LK,PK,_K,FK]))(n,s),Yk.set(t,!1),Xk.set(t,d)}else{var p=Jk.get(t),d=Xk.get(t);if(p==null||d==null)return;n=p.elm,d(p,s)}if(n!=null||(n=Z4(o))!=null){if((c?u:e.isFocused())&&n.focus({preventScroll:!0}),c){var y=q4(n);y&&Qk.set(e,y)}V4.set(e,n),Dv.set(e,n),Cv.set(n,e),Jk.set(t,s)}}function hF(t){return typeof t=="object"&&t!=null&&t.nodeType===1}function gF(t,e){return(!e||t!=="hidden")&&t!=="visible"&&t!=="clip"}function LE(t,e){if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){var n=getComputedStyle(t,null);return gF(n.overflowY,e)||gF(n.overflowX,e)||function(r){var o=function(i){if(!i.ownerDocument||!i.ownerDocument.defaultView)return null;try{return i.ownerDocument.defaultView.frameElement}catch(a){return null}}(r);return!!o&&(o.clientHeight<r.scrollHeight||o.clientWidth<r.scrollWidth)}(t)}return!1}function _v(t,e,n,r,o,i,a,u){return i<t&&a>e||i>t&&a<e?0:i<=t&&u<=n||a>=e&&u>=n?i-t-r:a>e&&u<n||i<t&&u>n?a-e+o:0}function vF(t,e){var n=window,r=e.scrollMode,o=e.block,i=e.inline,a=e.boundary,u=e.skipOverflowHiddenElements,s=typeof a=="function"?a:function(Rt){return Rt!==a};if(!hF(t))throw new TypeError("Invalid target");for(var l=document.scrollingElement||document.documentElement,c=[],f=t;hF(f)&&s(f);){if((f=f.parentElement)===l){c.push(f);break}f!=null&&f===document.body&&LE(f)&&!LE(document.documentElement)||f!=null&&LE(f,u)&&c.push(f)}for(var p=n.visualViewport?n.visualViewport.width:innerWidth,d=n.visualViewport?n.visualViewport.height:innerHeight,y=window.scrollX||pageXOffset,g=window.scrollY||pageYOffset,v=t.getBoundingClientRect(),m=v.height,h=v.width,b=v.top,w=v.right,S=v.bottom,D=v.left,C=o==="start"||o==="nearest"?b:o==="end"?S:b+m/2,O=i==="center"?D+h/2:i==="end"?w:D,T=[],L=0;L<c.length;L++){var z=c[L],$=z.getBoundingClientRect(),Y=$.height,G=$.width,K=$.top,Z=$.right,ut=$.bottom,yt=$.left;if(r==="if-needed"&&b>=0&&D>=0&&S<=d&&w<=p&&b>=K&&S<=ut&&D>=yt&&w<=Z)return T;var mt=getComputedStyle(z),gt=parseInt(mt.borderLeftWidth,10),B=parseInt(mt.borderTopWidth,10),x=parseInt(mt.borderRightWidth,10),j=parseInt(mt.borderBottomWidth,10),U=0,X=0,W="offsetWidth"in z?z.offsetWidth-z.clientWidth-gt-x:0,dt="offsetHeight"in z?z.offsetHeight-z.clientHeight-B-j:0;if(l===z)U=o==="start"?C:o==="end"?C-d:o==="nearest"?_v(g,g+d,d,B,j,g+C,g+C+m,m):C-d/2,X=i==="start"?O:i==="center"?O-p/2:i==="end"?O-p:_v(y,y+p,p,gt,x,y+O,y+O+h,h),U=Math.max(0,U+g),X=Math.max(0,X+y);else{U=o==="start"?C-K-B:o==="end"?C-ut+j+dt:o==="nearest"?_v(K,ut,Y,B,j+dt,C,C+m,m):C-(K+Y/2)+dt/2,X=i==="start"?O-yt-gt:i==="center"?O-(yt+G/2)+W/2:i==="end"?O-Z+x+W:_v(yt,Z,G,gt,x+W,O,O+h,h);var Dt=z.scrollLeft,Tt=z.scrollTop;C+=Tt-(U=Math.max(0,Math.min(Tt+U,z.scrollHeight-Y+dt))),O+=Dt-(X=Math.max(0,Math.min(Dt+X,z.scrollWidth-G+W)))}T.push({el:z,top:U,left:X})}return T}function mF(t){return t===Object(t)&&Object.keys(t).length!==0}function uo(t,e){return bs(e)&&A.hasDOMNode(t,e,{editable:!0})}function yF(t,e){if(t.getConfig().readOnly)return!1;var n=gc(t,e)&&A.toSlateNode(t,e);return E.isVoid(t,n)}function gc(t,e){return bs(e)&&A.hasDOMNode(t,e)}function bF(t,e,n){n===void 0&&(n=!1);var r=e.selection,o=e.getConfig(),i=A.findDocumentOrShadowRoot(e).getSelection();if(i&&(!t.isComposing||n)&&e.isFocused()){var a=i.type!=="None";if(r||a){var u=V4.get(e),s=!1;if(u.contains(i.anchorNode)&&u.contains(i.focusNode)&&(s=!0),a&&s&&r){var l=A.toSlateRange(e,i,{exactMatch:!0,suppressThrow:!0});if(l&&M.equals(l,r)){var c=!0;if(M.isCollapsed(r)){var f=i.anchorNode,p=i.anchorOffset;if(f===u){var d=u.childNodes,y=void 0;(y=d[p])&&y.matches("table")&&(c=!1),(y=d[p-1])&&y.matches("table")&&(c=!1)}}if(c)return}}if(!r||A.hasRange(e,r)){t.isUpdatingSelection=!0;var g=r&&A.toDOMRange(e,r);if(g){M.isBackward(r)?i.setBaseAndExtent(g.endContainer,g.endOffset,g.startContainer,g.startOffset):i.setBaseAndExtent(g.startContainer,g.startOffset,g.endContainer,g.endOffset);var v=g.startContainer.parentElement;if(!v.closest("[data-slate-spacer]")){v.getBoundingClientRect=g.getBoundingClientRect.bind(g);var m=document.body;(function(h,b){var w=!h.ownerDocument.documentElement.contains(h);if(mF(b)&&typeof b.behavior=="function")return b.behavior(w?[]:vF(h,b));if(!w){var S=function(D){return D===!1?{block:"end",inline:"nearest"}:mF(D)?D:{block:"start",inline:"nearest"}}(b);(function(D,C){C===void 0&&(C="auto");var O="scrollBehavior"in document.body.style;D.forEach(function(T){var L=T.el,z=T.top,$=T.left;L.scroll&&O?L.scroll({top:z,left:$,behavior:C}):(L.scrollTop=z,L.scrollLeft=$)})})(vF(h,S),S.behavior)}})(v,{scrollMode:"if-needed",boundary:o.scroll?u.parentElement:m,block:"end",behavior:"smooth"}),delete v.getBoundingClientRect}}else i.removeAllRanges();setTimeout(function(){g&&Wd&&u.focus(),t.isUpdatingSelection=!1})}else e.selection=A.toSlateRange(e,i,{exactMatch:!1,suppressThrow:!1})}}}var RE=new WeakMap,wF=new WeakMap,zQ={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",splitBlock:"shift?+enter",undo:"mod+z",tab:"tab",selectAll:"mod+a"},$Q={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},HQ={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},Le=function(t){var e=zQ[t],n=$Q[t],r=HQ[t],o=e&&lw(e),i=n&&lw(n),a=r&&lw(r);return function(u){return!(!o||!o(u))||!!(Y4&&i&&i(u))||!(Y4||!a||!a(u))}},He={isBold:Le("bold"),isCompose:Le("compose"),isMoveBackward:Le("moveBackward"),isMoveForward:Le("moveForward"),isDeleteBackward:Le("deleteBackward"),isDeleteForward:Le("deleteForward"),isDeleteLineBackward:Le("deleteLineBackward"),isDeleteLineForward:Le("deleteLineForward"),isDeleteWordBackward:Le("deleteWordBackward"),isDeleteWordForward:Le("deleteWordForward"),isExtendBackward:Le("extendBackward"),isExtendForward:Le("extendForward"),isExtendLineBackward:Le("extendLineBackward"),isExtendLineForward:Le("extendLineForward"),isItalic:Le("italic"),isMoveLineBackward:Le("moveLineBackward"),isMoveLineForward:Le("moveLineForward"),isMoveWordBackward:Le("moveWordBackward"),isMoveWordForward:Le("moveWordForward"),isRedo:Le("redo"),isSplitBlock:Le("splitBlock"),isTransposeCharacter:Le("transposeCharacter"),isUndo:Le("undo"),isTab:Le("tab"),isSelectAll:Le("selectAll")};function yn(t){t.preventDefault()}var UQ={beforeinput:function(t,e,n){var r=t,o=n.getConfig().readOnly;if(Kd&&!o&&uo(n,r.target)){var i=n.selection,a=r.inputType,u=r.dataTransfer||r.data||void 0;if(a!=="insertCompositionText"&&a!=="deleteCompositionText"){if(r.preventDefault(),!a.startsWith("delete")||a.startsWith("deleteBy")){var s=ae(r.getTargetRanges(),1)[0];if(s){var l=A.toSlateRange(n,s,{exactMatch:!1,suppressThrow:!1});i&&M.equals(i,l)||I.select(n,l)}}if(i&&M.isExpanded(i)&&a.startsWith("delete")){var c=a.endsWith("Backward")?"backward":"forward";E.deleteFragment(n,{direction:c})}else switch(a){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":E.deleteFragment(n);break;case"deleteContent":case"deleteContentForward":E.deleteForward(n);break;case"deleteContentBackward":E.deleteBackward(n);break;case"deleteEntireSoftLine":E.deleteBackward(n,{unit:"line"}),E.deleteForward(n,{unit:"line"});break;case"deleteHardLineBackward":E.deleteBackward(n,{unit:"block"});break;case"deleteSoftLineBackward":E.deleteBackward(n,{unit:"line"});break;case"deleteHardLineForward":E.deleteForward(n,{unit:"block"});break;case"deleteSoftLineForward":E.deleteForward(n,{unit:"line"});break;case"deleteWordBackward":E.deleteBackward(n,{unit:"word"});break;case"deleteWordForward":E.deleteForward(n,{unit:"word"});break;case"insertLineBreak":case"insertParagraph":E.insertBreak(n);break;case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if(a==="insertFromPaste"&&!K4.get(n))break;u instanceof DataTransfer?n.insertData(u):typeof u=="string"&&E.insertText(n,u)}}}},blur:function(t,e,n){var r=t,o=e.isUpdatingSelection,i=e.latestElement;if(!n.getConfig().readOnly&&!o&&uo(n,r.target)){var a=A.findDocumentOrShadowRoot(n);if(i!==a.activeElement){var u=r.relatedTarget;if(!(u===A.toDOMNode(n,n)||Po(u)&&u.hasAttribute("data-slate-spacer"))){if(u!=null&&bs(u)&&A.hasDOMNode(n,u)){var s=A.toSlateNode(n,u);if(bt.isElement(s)&&!n.isVoid(s))return}if(Gd){var l=a.getSelection();l==null||l.removeAllRanges()}ys.delete(n)}}}},focus:function(t,e,n){var r=A.toDOMNode(n,n),o=A.findDocumentOrShadowRoot(n);e.latestElement=o.activeElement,Wd&&t.target!==r?r.focus():ys.set(n,!0)},click:function(t,e,n){if(!n.getConfig().readOnly&&gc(n,t.target)&&bs(t.target)){var r=A.toSlateNode(n,t.target),o=A.findPath(n,r);if(E.hasPath(n,o)&&et.get(n,o)===r){var i=E.start(n,o),a=E.end(n,o),u=E.void(n,{at:i}),s=E.void(n,{at:a});if(u&&s&&_.equals(u[1],s[1])){var l=E.range(n,i);I.select(n,l)}}}},compositionstart:function(t,e,n){if(uo(n,t.target)){var r=n.selection;if(r&&M.isExpanded(r)&&(E.deleteFragment(n),Promise.resolve().then(function(){bF(e,n,!0)})),r&&M.isCollapsed(r)){var o=A.toDOMRange(n,r).startContainer,i=o.textContent||"";RE.set(n,i),wF.set(n,o)}e.isComposing=!0,function(a,u){var s;u.getConfig().placeholder&&u.isEmpty()&&a.showPlaceholder&&((s=a.$placeholder)===null||s===void 0||s.hide(),a.showPlaceholder=!1)}(e,n)}},compositionend:function(t,e,n){var r=t;if(uo(n,r.target)){e.isComposing=!1;var o=n.selection;if(o!=null){(X4||Wd)&&A.cleanExposedTexNodeInSelectionBlock(n);for(var i=M.isBackward(o)?o.focus:o.anchor,a=ae(E.node(n,[i.path[0]]),1)[0],u=0;u<i.path.length;u++){var s=ae(E.node(n,i.path.slice(0,u+1)),1)[0];if(bt.isElement(s)&&((Gd||Wd)&&s.type==="link"||s.type==="code")){A.setNewKey(a);break}}var l=r.data;if(l){if(n.getConfig().maxLength){var c=A.getLeftLengthOfMaxLength(n);c<l.length?(A.toDOMRange(n,o).startContainer.textContent=RE.get(n)||"",c>0&&E.insertText(n,l.slice(0,c)),e.changeViewState()):E.insertText(n,l)}else E.insertText(n,l);Gd||setTimeout(function(){var f=n.selection;if(f!=null){var p=wF.get(n);p!=null&&A.toDOMRange(n,f).startContainer!==p&&(p.textContent=RE.get(n)||"")}})}}}},compositionupdate:function(t,e,n){uo(n,t.target)&&(e.isComposing=!0)},keydown:function(t,e,n){var r=t,o=n.selection;if(!n.getConfig().readOnly&&!e.isComposing&&uo(n,r.target)){if(function(a,u){var s=wv.get(a),l=s&&s.getMenus(),c=Ev.get(a),f=c&&c.getMenus(),p=oo(oo({},l),f);for(var d in p){var y=p[d],g=y.hotkey;if(g&&cq(g,u)&&!y.isDisabled(a)){var v=y.getValue(a);y.exec(a,v)}}}(n,r),He.isTab(r))return yn(r),void n.handleTab();if(He.isRedo(r))return yn(r),void(typeof n.redo=="function"&&n.redo());if(He.isUndo(r))return yn(r),void(typeof n.undo=="function"&&n.undo());if(He.isMoveLineBackward(r))return yn(r),void I.move(n,{unit:"line",reverse:!0});if(He.isMoveLineForward(r))return yn(r),void I.move(n,{unit:"line"});if(He.isExtendLineBackward(r))return yn(r),void I.move(n,{unit:"line",edge:"focus",reverse:!0});if(He.isExtendLineForward(r))return yn(r),void I.move(n,{unit:"line",edge:"focus"});if(He.isMoveBackward(r))return yn(r),void(o&&M.isCollapsed(o)?I.move(n,{reverse:!0}):I.collapse(n,{edge:"start"}));if(He.isMoveForward(r))return yn(r),void(o&&M.isCollapsed(o)?I.move(n):I.collapse(n,{edge:"end"}));if(He.isMoveWordBackward(r))return yn(r),o&&M.isExpanded(o)&&I.collapse(n,{edge:"focus"}),void I.move(n,{unit:"word",reverse:!0});if(He.isMoveWordForward(r))return yn(r),o&&M.isExpanded(o)&&I.collapse(n,{edge:"focus"}),void I.move(n,{unit:"word"});if(He.isSelectAll(r))return yn(r),void n.selectAll();if(Kd){if((X4||Gd)&&o&&(He.isDeleteBackward(r)||He.isDeleteForward(r))&&M.isCollapsed(o)){var i=et.parent(n,o.anchor.path);if(bt.isElement(i)&&E.isVoid(n,i)&&E.isInline(n,i))return r.preventDefault(),void I.delete(n,{unit:"block"})}}else{if(He.isBold(r)||He.isItalic(r)||He.isTransposeCharacter(r))return void yn(r);if(He.isSplitBlock(r))return yn(r),void E.insertBreak(n);if(He.isDeleteBackward(r))return yn(r),void(o&&M.isExpanded(o)?E.deleteFragment(n,{direction:"backward"}):E.deleteBackward(n));if(He.isDeleteForward(r))return yn(r),void(o&&M.isExpanded(o)?E.deleteFragment(n,{direction:"forward"}):E.deleteForward(n));if(He.isDeleteLineBackward(r))return yn(r),void(o&&M.isExpanded(o)?E.deleteFragment(n,{direction:"backward"}):E.deleteBackward(n,{unit:"line"}));if(He.isDeleteLineForward(r))return yn(r),void(o&&M.isExpanded(o)?E.deleteFragment(n,{direction:"forward"}):E.deleteForward(n,{unit:"line"}));if(He.isDeleteWordBackward(r))return yn(r),void(o&&M.isExpanded(o)?E.deleteFragment(n,{direction:"backward"}):E.deleteBackward(n,{unit:"word"}));if(He.isDeleteWordForward(r))return yn(r),void(o&&M.isExpanded(o)?E.deleteFragment(n,{direction:"forward"}):E.deleteForward(n,{unit:"word"}))}}},keypress:function(t,e,n){if(!Kd&&!n.getConfig().readOnly&&uo(n,t.target)){t.preventDefault();var r=t.key;E.insertText(n,r)}},copy:function(t,e,n){var r=t;if(uo(n,r.target)){r.preventDefault();var o=r.clipboardData;o!=null&&n.setFragmentData(o)}},cut:function(t,e,n){var r=t,o=n.selection;if(!n.getConfig().readOnly&&uo(n,r.target)){r.preventDefault();var i=r.clipboardData;if(i!=null&&(n.setFragmentData(i),o))if(M.isExpanded(o))E.deleteFragment(n);else{var a=et.parent(n,o.anchor.path);E.isVoid(n,a)&&I.delete(n)}}},paste:function(t,e,n){K4.set(n,!0);var r=t;if(!n.getConfig().readOnly&&uo(n,r.target)){var o=n.getConfig().customPaste;if(o&&o(n,r)===!1)return void K4.set(n,!1);if(!Kd||function(a){return a.clipboardData&&a.clipboardData.getData("text/plain")!==""&&a.clipboardData.types.length===1}(r)){r.preventDefault();var i=r.clipboardData;i!=null&&n.insertData(i)}}},dragover:function(t,e,n){if(gc(n,t.target)){var r=A.toSlateNode(n,t.target);E.isVoid(n,r)&&t.preventDefault()}},dragstart:function(t,e,n){var r=t;if(gc(n,r.target)&&!n.getConfig().readOnly){var o=A.toSlateNode(n,r.target),i=A.findPath(n,o);if(E.isVoid(n,o)||E.void(n,{at:i,voids:!0})){var a=E.range(n,i);I.select(n,a)}var u=r.dataTransfer;u!=null&&(e.isDraggingInternally=!0,n.setFragmentData(u))}},dragend:function(t,e,n){var r=t;n.getConfig().readOnly||e.isDraggingInternally&&gc(n,r.target)&&(e.isDraggingInternally=!1)},drop:function(t,e,n){var r=t,o=r.dataTransfer;if(!n.getConfig().readOnly&&gc(n,r.target)&&o!=null&&!(Kd&&Gd&&o.files.length>0)){r.preventDefault();var i=n.selection,a=A.findEventRange(n,r);I.select(n,a),e.isDraggingInternally&&(i&&I.delete(n,{at:i}),e.isDraggingInternally=!1),n.insertData(o),n.isFocused()||n.focus()}}},VQ=1,WQ=function(){function t(e){var n=this;this.id=VQ++,this.$textArea=null,this.$progressBar=k('<div class="w-e-progress-bar"></div>'),this.$maxLengthInfo=k('<div class="w-e-max-length-info"></div>'),this.isComposing=!1,this.isUpdatingSelection=!1,this.isDraggingInternally=!1,this.latestElement=null,this.showPlaceholder=!1,this.$placeholder=null,this.latestEditorSelection=null,this.onDOMSelectionChange=ns(function(){var a=n.editorInstance;(function(u,s){var l=u.isComposing,c=u.isUpdatingSelection,f=u.isDraggingInternally;if(!(s.getConfig().readOnly||l||c||f)){var p=A.findDocumentOrShadowRoot(s),d=p.activeElement,y=A.toDOMNode(s,s),g=p.getSelection();if(d===y?(u.latestElement=d,ys.set(s,!0)):ys.delete(s),!g)return I.deselect(s);var v=g.anchorNode,m=g.focusNode,h=uo(s,v)||yF(s,v),b=uo(s,m)||yF(s,m);if(h&&b){var w=A.toSlateRange(s,g,{exactMatch:!1,suppressThrow:!1});I.select(s,w)}else I.deselect(s)}})(n,a)},100);var r=k(e);if(r.length===0)throw new Error("Cannot find textarea DOM by selector '"+e+"'");this.$box=r;var o=k('<div class="w-e-text-container"></div>');o.append(this.$progressBar),o.append(this.$maxLengthInfo),r.append(o);var i=k('<div class="w-e-scroll"></div>');o.append(i),this.$scroll=i,this.$textAreaContainer=o,ao(function(){var a=n.editorInstance,u=A.getWindow(a);u.document.addEventListener("selectionchange",n.onDOMSelectionChange),a.on("destroyed",function(){u.document.removeEventListener("selectionchange",n.onDOMSelectionChange)}),o.on("click",function(){return a.hidePanelOrModal()}),a.on("change",n.changeViewState.bind(n));var s=a.getConfig().onChange;s&&a.on("change",function(){return s(a)}),n.onFocusAndOnBlur(),a.on("change",n.changeMaxLengthInfo.bind(n)),n.bindEvent()})}return Object.defineProperty(t.prototype,"editorInstance",{get:function(){var e=M4.get(this);if(e==null)throw new Error("Can not get editor instance");return e},enumerable:!1,configurable:!0}),t.prototype.bindEvent=function(){var e=this,n=this.$textArea,r=this.$scroll,o=this.editorInstance;n!=null&&(X2(UQ,function(i,a){n.on(a,function(u){i(u,e,o)})}),o.getConfig().scroll&&(r.css("overflow-y","auto"),r.on("scroll",ns(function(){o.emit("scroll")},100))))},t.prototype.onFocusAndOnBlur=function(){var e=this,n=this.editorInstance,r=n.getConfig(),o=r.onBlur,i=r.onFocus;this.latestEditorSelection=n.selection,n.on("change",function(){e.latestEditorSelection==null&&n.selection!=null?setTimeout(function(){return i&&i(n)}):e.latestEditorSelection!=null&&n.selection==null&&setTimeout(function(){return o&&o(n)}),e.latestEditorSelection=n.selection})},t.prototype.changeMaxLengthInfo=function(){var e=this.editorInstance,n=e.getConfig().maxLength;if(n){var r=n-A.getLeftLengthOfMaxLength(e);this.$maxLengthInfo[0].innerHTML=r+"/"+n}},t.prototype.changeProgress=function(e){var n=this.$progressBar;n.css("width",e+"%"),e>=100&&setTimeout(function(){n.hide(),n.css("width","0"),n.show()},1e3)},t.prototype.changeViewState=function(){var e=this,n=this.editorInstance;MQ(this,n),function(r,o){var i,a=o.getConfig().placeholder;if(a){var u=o.isEmpty();if(u&&!r.showPlaceholder&&!r.isComposing){if(r.$placeholder==null){var s=k('<div class="w-e-text-placeholder">'+a+"</div>");r.$textAreaContainer.append(s),r.$placeholder=s}return r.$placeholder.show(),void(r.showPlaceholder=!0)}!u&&r.showPlaceholder&&((i=r.$placeholder)===null||i===void 0||i.hide(),r.showPlaceholder=!1)}}(this,n),ao(function(){bF(e,n)})},t.prototype.destroy=function(){this.$textAreaContainer.remove()},t}();function ME(t){t.removeAttr("width"),t.removeAttr("height"),t.removeAttr("fill"),t.removeAttr("class"),t.removeAttr("t"),t.removeAttr("p-id");var e=t.children();e.length&&ME(e)}function zE(){return k('<svg viewBox="0 0 1024 1024"><path d="M498.7 655.8l-197.6-268c-8.1-10.9-0.3-26.4 13.3-26.4h395.2c13.6 0 21.4 15.4 13.3 26.4l-197.6 268c-6.6 9-20 9-26.6 0z"></path></svg>')}function EF(){return k('<div class="w-e-bar-divider"></div>')}function SF(t,e,n,r,o){if(o===void 0&&(o=!1),e){if(r){var i=Y4?"cmd":"ctrl";r=r.replace("mod",i)}if(o)r&&(t.attr("data-tooltip",r),t.addClass("w-e-menu-tooltip-v5"),t.addClass("tooltip-right"));else{var a=r?n+`
  68. `+r:n;t.attr("data-tooltip",a),t.addClass("w-e-menu-tooltip-v5")}}}x4("match",function(t,e,n){return[function(r){var o=ro(this),i=r==null?void 0:ds(r,t);return i?ie(i,r,o):new RegExp(r)[t](ke(o))},function(r){var o=on(this),i=ke(r),a=n(e,o,i);if(a.done)return a.value;if(!o.global)return Md(o,i);var u=o.unicode;o.lastIndex=0;for(var s,l=[],c=0;(s=Md(o,i))!==null;){var f=ke(s[0]);l[c]=f,f===""&&(o.lastIndex=A4(i,Yl(o.lastIndex),u)),c++}return c===0?null:l}]});var $E=function(){function t(e,n,r){var o=this;r===void 0&&(r=!1),this.$elem=k('<div class="w-e-bar-item"></div>'),this.$button=k('<button type="button"></button>'),this.disabled=!1,this.menu=n;var i=n.tag,a=n.width;if(i!=="button")throw new Error("Invalid tag '"+i+"', expected 'button'");var u=n.title,s=n.hotkey,l=s===void 0?"":s,c=n.iconSvg,f=c===void 0?"":c,p=this.$button;if(f){var d=k(f);ME(d),p.append(d)}else p.text(u);SF(p,f,u,l,r),r&&f&&p.append(k('<span class="title">'+u+"</span>")),a&&p.css("width",a+"px"),p.attr("data-menu-key",e),this.$elem.append(p),ao(function(){return o.init()})}return t.prototype.init=function(){var e=this;this.setActive(),this.setDisabled(),this.$button.on("click",function(n){n.preventDefault(),Rr(e).hidePanelOrModal(),e.disabled||(e.exec(),e.onButtonClick())})},t.prototype.exec=function(){var e=Rr(this),n=this.menu,r=n.getValue(e);n.exec(e,r)},t.prototype.setActive=function(){var e=Rr(this),n=this.$button,r="active";this.menu.isActive(e)?n.addClass(r):n.removeClass(r)},t.prototype.setDisabled=function(){var e=Rr(this),n=this.$button,r=this.menu.isDisabled(e);(e.selection==null||e.isDisabled())&&(r=!0),this.menu.alwaysEnable&&(r=!1);var o="disabled";r?n.addClass(o):n.removeClass(o),this.disabled=r},t.prototype.changeMenuState=function(){this.setActive(),this.setDisabled()},t}(),GQ=function(t){function e(n,r,o){return o===void 0&&(o=!1),t.call(this,n,r,o)||this}return rc(e,t),e.prototype.onButtonClick=function(){},e}($E),HE=function(){function t(e){this.isShow=!1,this.showTime=0,this.record(e)}return t.prototype.record=function(e){var n=U4.get(e);n==null&&(n=new Set,U4.set(e,n)),n.add(this),Sv.set(this,e)},t.prototype.renderContent=function(e){var n=this.$elem;n.empty(),n.append(e);var r=this.genSelfElem();r&&n.append(r)},t.prototype.appendTo=function(e){var n=this.$elem;e.append(n)},t.prototype.show=function(){if(!this.isShow){this.showTime=Date.now(),this.$elem.show(),this.isShow=!0;var e=Sv.get(this);e&&e.emit("modalOrPanelShow",this)}},t.prototype.hide=function(){if(this.isShow&&!(Date.now()-this.showTime<200)){this.$elem.hide(),this.isShow=!1;var e=Sv.get(this);e&&e.emit("modalOrPanelHide")}},t}(),KQ=function(t){function e(n){var r=t.call(this,n)||this;return r.type="dropPanel",r.$elem=k('<div class="w-e-drop-panel"></div>'),r}return rc(e,t),e.prototype.genSelfElem=function(){return null},e}(HE),qQ=function(t){function e(n,r,o){o===void 0&&(o=!1);var i=t.call(this,n,r,o)||this;if(i.dropPanel=null,i.menu=r,r.showDropPanel){var a=zE();i.$button.append(a)}return i}return rc(e,t),e.prototype.onButtonClick=function(){this.menu.showDropPanel&&this.handleDropPanel()},e.prototype.handleDropPanel=function(){var n=this.menu;if(n.getPanelContentElem!=null){var r=Rr(this);if(this.dropPanel==null){var o=new KQ(r),i=n.getPanelContentElem(r);o.renderContent(i),o.appendTo(this.$elem),o.show(),this.dropPanel=o}else{var a=this.dropPanel;a.isShow?a.hide():(i=n.getPanelContentElem(r),a.renderContent(i),a.show())}var u=this.dropPanel;if(u.isShow){var s=this.$elem,l=s.offset().left,c=s.parents(".w-e-bar");l-c.offset().left>=c.width()/2?u.$elem.css({left:"none",right:"0"}):u.$elem.css({left:"0",right:"none"})}}},e}($E),ZQ=function(t){function e(n,r){r===void 0&&(r=0);var o=t.call(this,n)||this;o.type="modal",o.$elem=k('<div class="w-e-modal"></div>'),o.width=0,r&&(o.width=r);var i=o.$elem;return i.on("click",function(a){return a.stopPropagation()}),i.on("keyup",function(a){a.code==="Escape"&&(o.hide(),n.restoreSelection())}),o}return rc(e,t),e.prototype.genSelfElem=function(){var n=this,r=k('<span class="btn-close"><svg viewBox="0 0 1024 1024"><path d="M1024 896.1024l-128 128L512 640 128 1024 0 896 384 512 0 128 128 0 512 384 896.1024 0l128 128L640 512z"></path></svg></span>'),o=Sv.get(this);return r.on("click",function(){n.hide(),o==null||o.restoreSelection()}),r},e.prototype.setStyle=function(n){var r=this.width,o=this.$elem;o.attr("style",""),r&&o.css("width",r+"px"),o.css(n)},e}(HE);function Lr(t,e,n){var r=k('<label class="babel-container"></label>');r.append("<span>"+t+"</span>");var o=k('<input type="text" id="'+e+'" placeholder="'+(n||"")+'">');return r.append(o),[r[0],o[0]]}function qmt(t,e,n){var r=k('<label class="babel-container"></label>');r.append("<span>"+t+"</span>");var o=k('<textarea type="text" id="'+e+'" placeholder="'+(n||"")+'"></textarea>');return r.append(o),[r[0],o[0]]}function vc(t,e){var n=k('<div class="button-container"></div>'),r=k('<button type="button" id="'+t+'">'+e+"</button>");return n.append(r),[n[0],r[0]]}var YQ=function(t){function e(n,r,o){o===void 0&&(o=!1);var i=t.call(this,n,r,o)||this;return i.$body=k("body"),i.modal=null,i.menu=r,i}return rc(e,t),e.prototype.onButtonClick=function(){this.menu.showModal&&this.handleModal()},e.prototype.getPosition=function(){var n=Rr(this),r=this.menu.getModalPositionNode(n);return bt.isElement(r)?TE(n,r,"modal"):FE(n)},e.prototype.handleModal=function(){var n=Rr(this),r=this.menu;if(this.modal==null){var o=new ZQ(n,r.modalWidth);this.renderAndShowModal(o,!0),this.modal=o}else(o=this.modal).isShow?o.hide():this.renderAndShowModal(o,!1)},e.prototype.renderAndShowModal=function(n,r){r===void 0&&(r=!1);var o=Rr(this),i=this.menu;if(i.getModalContentElem!=null){var a=A.getTextarea(o),u=A.getToolbar(o),s=((u==null?void 0:u.getConfig())||{}).modalAppendToBody,l=i.getModalContentElem(o);if(n.renderContent(l),s)n.setStyle({left:"0",right:"0"});else{var c=this.getPosition();n.setStyle(c)}r&&(s?n.appendTo(this.$body):n.appendTo(a.$textAreaContainer)),n.show(),s||PE(o,n.$elem),setTimeout(function(){o.blur()})}},e}($E),XQ=function(t){function e(n,r){var o=t.call(this,n)||this;return o.type="selectList",o.$elem=k('<div class="w-e-select-list"></div>'),r&&o.$elem.css("width",r+"px"),o.$elem.on("click",function(i){i.stopPropagation()}),o}return rc(e,t),e.prototype.renderList=function(n){var r=this.$elem;r.empty();var o=k("<ul></ul>");n.forEach(function(i){var a=i.value,u=i.text,s=i.selected,l=i.styleForRenderMenuList,c=k('<li data-value="'+a+'"></li>');if(l&&c.css(l),s){var f=k('<svg viewBox="0 0 1446 1024"><path d="M574.116299 786.736392 1238.811249 48.517862C1272.390222 11.224635 1329.414799 7.827718 1366.75664 41.450462 1403.840015 74.840484 1406.731043 132.084741 1373.10189 169.433699L655.118888 966.834607C653.072421 969.716875 650.835807 972.514337 648.407938 975.210759 615.017957 1012.29409 558.292155 1015.652019 521.195664 982.250188L72.778218 578.493306C35.910826 545.297758 32.859041 488.584019 66.481825 451.242134 99.871807 414.158803 156.597563 410.800834 193.694055 444.202665L574.116299 786.736392Z"></path></svg>');c.append(f),c.addClass("selected")}c.append(k('<span data-value="'+a+'">'+u+"</span>")),c.attr("title",u),o.append(c)}),r.append(o)},e.prototype.genSelfElem=function(){return null},e}(HE),JQ=function(){function t(e,n,r){var o=this;r===void 0&&(r=!1),this.$elem=k('<div class="w-e-bar-item"></div>'),this.$button=k('<button type="button" class="select-button"></button>'),this.disabled=!1,this.selectList=null;var i=n.tag,a=n.title,u=n.width,s=n.iconSvg,l=s===void 0?"":s,c=n.hotkey,f=c===void 0?"":c;if(i!=="select")throw new Error("Invalid tag '"+i+"', expected 'select'");var p=this.$button;u&&p.css("width",u+"px"),p.attr("data-menu-key",e),SF(p,l,a,f,r),this.$elem.append(p),this.menu=n,ao(function(){return o.init()})}return t.prototype.init=function(){var e=this;this.setSelectedValue(),this.$button.on("click",function(n){n.preventDefault(),Rr(e).hidePanelOrModal(),e.trigger()})},t.prototype.trigger=function(){var e=this,n=Rr(this);if(!n.isDisabled()&&!this.disabled){var r=this.menu;if(this.selectList==null){this.selectList=new XQ(n,r.selectPanelWidth);var o=this.selectList,i=r.getOptions(n);o.renderList(i),o.appendTo(this.$elem),o.show(),o.$elem.on("click","li",function(a){var u=a.target;if(u!=null){a.preventDefault();var s=k(u).attr("data-value");e.onChange(s)}})}else(o=this.selectList).isShow?o.hide():(i=r.getOptions(n),o.renderList(i),o.show())}},t.prototype.onChange=function(e){var n=Rr(this),r=this.menu;r.exec&&r.exec(n,e)},t.prototype.setSelectedValue=function(){var e=Rr(this),n=this.menu,r=n.getValue(e),o=function(u,s){for(var l=u.length,c="",f=0;f<l;f++){var p=u[f];if(p.value===s){c=p.text;break}}return c}(n.getOptions(e),r.toString()),i=this.$button,a=zE();i.empty(),i.text(o),i.append(a)},t.prototype.setDisabled=function(){var e=Rr(this),n=this.menu.isDisabled(e),r=this.$button;(e.selection==null||e.isDisabled())&&(n=!0);var o="disabled";n?r.addClass(o):r.removeClass(o),this.disabled=n},t.prototype.changeMenuState=function(){this.setSelectedValue(),this.setDisabled()},t}(),CF=function(){function t(e){this.$elem=k('<div class="w-e-bar-item w-e-bar-item-group"></div>'),this.$container=k('<div class="w-e-bar-item-menus-container"></div>'),this.$button=k('<button type="button"></button>');var n=e.key,r=e.iconSvg,o=e.title,i=this.$elem,a=this.$button;if(r){var u=k(r);ME(u),a.append(u)}else a.text(o);a.attr("data-menu-key",n);var s=zE();a.append(s),i.append(a);var l=this.$container;i.append(l);var c=this.createObserver();this.observe(c)}return t.prototype.appendBarItem=function(e){var n=e.$elem;this.$container.append(n)},t.prototype.observe=function(e){var n=this.$container;e.observe(n[0],{childList:!0,subtree:!0,attributes:!0})},t.prototype.createObserver=function(){var e=this,n=this.$container,r=this.$button,o=new MutationObserver(function(){var i=n.find("button"),a=i.length;if(a!==0){var u=0;i.each(function(s){k(s).hasClass("disabled")&&u++}),o.disconnect(),u===a?r.addClass("disabled"):r.removeClass("disabled"),e.observe(o)}});return o},t}(),DF=new WeakMap;function Rr(t){var e=H4.get(t);if(e==null)throw new Error("Can not get editor instance");return e}function xF(t,e,n){n===void 0&&(n=!1);var r=DF.get(e);if(r)return r;var o=e.tag;if(o==="button"){var i=e.showDropPanel,a=e.showModal;r=i?new qQ(t,e,n):a?new YQ(t,e,n):new GQ(t,e,n)}if(o==="select"&&(r=new JQ(t,e,n)),r==null)throw new Error("Invalid tag in menu "+JSON.stringify(e));return DF.set(e,r),r}function QQ(t,e){var n=t.selection;return n!=null&&!M.isCollapsed(n)&&!A.getSelectedElems(t).some(function(r){if(t.isVoid(r))return!0;var o=r.type;return!!["pre","code","table"].includes(o)||void 0})&&!!ft.isText(e)}var ttt=function(){function t(){var e=this;this.$elem=k('<div class="w-e-bar w-e-bar-hidden w-e-hover-bar"></div>'),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null,this.isShow=!1,this.changeHoverbarState=q9(function(){var n=e.isShow,r=e.getSelectedNodeAndMenuKeys()||{},o=r.node,i=o===void 0?null:o,a=r.menuKeys,u=a===void 0?[]:a;i!=null&&e.changeItemsState(),i&&bt.isElement(i)&&n&&e.isSamePath(i,e.prevSelectedNode)||(e.hideAndClean(),i!=null&&(e.registerItems(u),e.setPosition(i),e.show()),e.prevSelectedNode=i)},200),ao(function(){var n=e.getEditorInstance(),r=e.$elem;r.on("mousedown",function(i){return i.preventDefault()},{passive:!1}),A.getTextarea(n).$textAreaContainer.append(r),n.on("change",e.changeHoverbarState);var o=e.hideAndClean.bind(e);n.on("scroll",o),n.on("fullScreen",o),n.on("unFullScreen",o)})}return t.prototype.getMenus=function(){return this.menus},t.prototype.hideAndClean=function(){var e=this.$elem;e.removeClass("w-e-bar-show").addClass("w-e-bar-hidden"),this.hoverbarItems=[],e.empty(),this.isShow=!1},t.prototype.checkPositionBottom=function(){var e=this.$elem,n=!1,r=window.innerHeight;r&&r>=360&&r-e[0].getBoundingClientRect().bottom<360&&(n=!0),n?e.addClass("w-e-bar-bottom"):e.removeClass("w-e-bar-bottom")},t.prototype.show=function(){this.$elem.removeClass("w-e-bar-hidden").addClass("w-e-bar-show"),this.isShow=!0,this.checkPositionBottom()},t.prototype.changeItemsState=function(){var e=this;ao(function(){e.hoverbarItems.forEach(function(n){n.changeMenuState()})})},t.prototype.registerItems=function(e){var n=this,r=this.$elem;e.forEach(function(o){if(o!=="|")n.registerSingleItem(o);else{var i=EF();r.append(i)}})},t.prototype.registerSingleItem=function(e){var n=this.getEditorInstance(),r=this.menus,o=r[e];if(o==null){var i=qd[e];if(i==null)throw new Error("Not found menu item factory by key '"+e+"'");if(typeof i!="function")throw new Error("Menu item factory (key='"+e+"') is not a function");o=i(),r[e]=o}var a=xF(e,o);this.hoverbarItems.push(a),H4.set(a,n),this.$elem.append(a.$elem)},t.prototype.setPosition=function(e){var n=this.getEditorInstance(),r=this.$elem;if(r.attr("style",""),bt.isElement(e)){var o=TE(n,e,"bar");return r.css(o),void PE(n,r)}if(ft.isText(e))return o=FE(n),r.css(o),void PE(n,r);throw new Error("hoverbar.setPosition error, current selected node is not elem nor text")},t.prototype.getSelectedNodeAndMenuKeys=function(){var e=this.getEditorInstance();if(e.selection==null)return null;var n=this.getHoverbarKeysConf(),r=null,o=[],i=function(u){var s=n[u],l=s.match,c=s.menuKeys,f=c===void 0?[]:c,p=l||function(g,v){return A.checkNodeType(v,u)},d=ae(E.nodes(e,{match:function(g){return p(e,g)},universal:!0}),1),y=d[0];if(y!=null)return r=y[0],o=f,"break"};for(var a in n)if(i(a)==="break")break;return r==null||o.length===0?null:{node:r,menuKeys:o}},t.prototype.getEditorInstance=function(){var e=$4.get(this);if(e==null)throw new Error("Can not get editor instance");return e},t.prototype.getHoverbarKeysConf=function(){var e=this.getEditorInstance().getConfig().hoverbarKeys,n=e===void 0?{}:e,r=n.text;return r&&r.match==null&&(r.match=QQ),n},t.prototype.isSamePath=function(e,n){if(e==null||n==null)return!1;var r=A.findPath(null,e),o=A.findPath(null,n);return _.equals(r,o)},t.prototype.destroy=function(){this.changeHoverbarState.cancel(),this.$elem.remove(),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null},t}();function AF(t,e,n,r){if(Vd.set(t,e),ic.set(t,n),bt.isElement(t)){var o=t.children;if((o===void 0?[]:o).forEach(function(u,s){return AF(u,s,t,r)}),E.isVoid(r,t)){var i=ae(et.texts(t),1),a=ae(i[0],1)[0];Vd.set(a,0),ic.set(a,t)}}}function ett(t){var e=t.selector,n=e===void 0?"":e,r=t.config,o=r===void 0?{}:r,i=t.content,a=t.html,u=t.plugins,s=u===void 0?[]:u,l=(m=>{var h=m,{apply:b}=h;return h.history={undos:[],redos:[]},h.redo=()=>{var{history:w}=h,{redos:S}=w;if(S.length>0){var D=S[S.length-1];tc.withoutSaving(h,()=>{E.withoutNormalizing(h,()=>{for(var C of D)h.apply(C)})}),w.redos.pop(),w.undos.push(D)}},h.undo=()=>{var{history:w}=h,{undos:S}=w;if(S.length>0){var D=S[S.length-1];tc.withoutSaving(h,()=>{E.withoutNormalizing(h,()=>{var C=D.map(ba.inverse).reverse();for(var O of C)h.apply(O)})}),w.redos.push(D),w.undos.pop()}},h.apply=w=>{var{operations:S,history:D}=h,{undos:C}=D,O=C[C.length-1],T=O&&O[O.length-1],L=((G,K)=>!(!K||G.type!=="set_selection"||K.type!=="set_selection"))(w,T),z=tc.isSaving(h),$=tc.isMerging(h);if(z==null&&(z=((G,K)=>G.type!=="set_selection"||G.properties!=null&&G.newProperties!=null)(w)),z){if($==null&&($=O!=null&&(S.length!==0||((G,K)=>G.type==="set_selection"||!(!K||G.type!=="insert_text"||K.type!=="insert_text"||G.offset!==K.offset+K.text.length||!_.equals(G.path,K.path))||!(!K||G.type!=="remove_text"||K.type!=="remove_text"||G.offset+G.text.length!==K.offset||!_.equals(G.path,K.path)))(w,T)||L)),O&&$)L&&O.pop(),O.push(w);else{var Y=[w];C.push(Y)}for(;C.length>100;)C.shift();(G=>G.type!=="set_selection")(w)&&(D.redos=[])}b(w)},h})(function(m){var h=m,b=h.insertText,w=h.insertNode,S=h.insertFragment,D=h.dangerouslyInsertHtml;return h.insertText=function(C){if(h.getConfig().maxLength){var O=A.getLeftLengthOfMaxLength(h);O<=0||(O<C.length?b(C.slice(0,O)):b(C))}else b(C)},h.insertNode=function(C){if(h.getConfig().maxLength){var O=A.getLeftLengthOfMaxLength(h);O<=0||O<et.string(C).length||w(C)}else w(C)},h.insertFragment=function(C){if(h.getConfig().maxLength)if(C.length!==1)C.forEach(function(T){h.insertNode(T)});else{var O=C[0];if(A.getLeftLengthOfMaxLength(h)<et.string(O).length)return;S(C)}else S(C)},h.dangerouslyInsertHtml=function(C,O){if(C===void 0&&(C=""),O===void 0&&(O=!1),C)if(h.getConfig().maxLength){var T=A.getLeftLengthOfMaxLength(h);if(!(T<=0)){var L=document.createElement("div");L.innerHTML=C;var z=Array.from(L.childNodes).reduce(function($,Y){var G=Y.nodeType,K=Y.nodeName;return Y?G===oi.TEXT_NODE?$+(Y.textContent||""):G===oi.ELEMENT_NODE?eF.has(K.toLowerCase())?$:$+(Y.textContent||""):$:$},"");T<z.length||D(C,O)}}else D(C,O)},h}(function(m){var h=m;return h.on=function(b,w){var S=Pv(h);if(S.on(b,w),b==="destroyed"&&aF(h,w),b!=="destroyed"){var D=function(){return S.off(b,w)};S.on("destroyed",D),aF(h,D)}},h.once=function(b,w){Pv(h).once(b,w)},h.off=function(b,w){Pv(h).off(b,w)},h.emit=function(b){for(var w=[],S=1;S<arguments.length;S++)w[S-1]=arguments[S];var D=Pv(h);D.emit.apply(D,P4([b],ae(w))),b==="destroyed"&&(OQ(h).forEach(function(C){return D.off("destroyed",C)}),kQ(h))},h}(function(m){var h=m;return h.select=function(b){I.select(h,b)},h.deselect=function(){var b=h.selection,w=A.findDocumentOrShadowRoot(h).getSelection();w&&w.rangeCount>0&&w.removeAllRanges(),b&&I.deselect(m)},h.move=function(b,w){w===void 0&&(w=!1),b&&(b<0||I.move(m,{distance:b,unit:"character",reverse:w}))},h.moveReverse=function(b){h.move(b,!0)},h.restoreSelection=function(){var b=G4.get(h);b!=null&&(h.focus(),I.select(h,b))},h.getSelectionPosition=function(){return FE(h)},h.getNodePosition=function(b){return TE(h,b)},h.isSelectedAll=function(){var b=h.selection;if(b==null)return!1;var w=ae(M.edges(b),2),S=w[0],D=w[1],C=ae(E.edges(h,[]),2),O=C[0],T=C[1];return!(!Ut.equals(S,O)||!Ut.equals(D,T))},h.selectAll=function(){var b=E.start(h,[]),w=E.end(h,[]);I.select(h,{anchor:b,focus:w})},h}(function(m){var h=m,b=h.onChange,w=h.insertText,S=h.apply,D=h.deleteBackward;return h.insertText=function(C){h.getConfig().readOnly||w(C)},h.apply=function(C){var O,T,L,z,$,Y,G,K,Z=[];switch(C.type){case"insert_text":case"remove_text":case"set_node":try{for(var ut=io(E.levels(h,{at:C.path})),yt=ut.next();!yt.done;yt=ut.next()){var mt=ae(yt.value,2),gt=mt[0],B=mt[1],x=A.findKey(h,gt);Z.push([B,x])}}catch(te){O={error:te}}finally{try{yt&&!yt.done&&(T=ut.return)&&T.call(ut)}finally{if(O)throw O.error}}break;case"insert_node":case"remove_node":case"merge_node":case"split_node":try{for(var j=io(E.levels(h,{at:_.parent(C.path)})),U=j.next();!U.done;U=j.next()){var X=ae(U.value,2);gt=X[0],B=X[1],x=A.findKey(h,gt),Z.push([B,x])}}catch(te){L={error:te}}finally{try{U&&!U.done&&(z=j.return)&&z.call(j)}finally{if(L)throw L.error}}break;case"move_node":try{for(var W=io(E.levels(h,{at:_.common(_.parent(C.path),_.parent(C.newPath))})),dt=W.next();!dt.done;dt=W.next()){var Dt=ae(dt.value,2);gt=Dt[0],B=Dt[1],x=A.findKey(h,gt),Z.push([B,x])}}catch(te){$={error:te}}finally{try{dt&&!dt.done&&(Y=W.return)&&Y.call(W)}finally{if($)throw $.error}}}S(C);try{for(var Tt=io(Z),Rt=Tt.next();!Rt.done;Rt=Tt.next()){var q=ae(Rt.value,2);B=q[0],x=q[1],gt=ae(E.node(h,B),1)[0],xv.set(gt,x)}}catch(te){G={error:te}}finally{try{Rt&&!Rt.done&&(K=Tt.return)&&K.call(Tt)}finally{if(G)throw G.error}}},h.deleteBackward=function(C){if(C!=="line")return D(C);if(m.selection&&M.isCollapsed(m.selection)){var O=E.above(m,{match:function($){return E.isBlock(m,$)},at:m.selection});if(O){var T=ae(O,2)[1],L=E.range(m,T,m.selection.anchor),z=function($,Y){var G=E.range($,M.end(Y)),K=Array.from(E.positions($,{at:Y})),Z=0,ut=K.length,yt=Math.floor(ut/2);if($B($,E.range($,K[Z]),G))return E.range($,K[Z],G);if(K.length<2)return E.range($,K[K.length-1],G);for(;yt!==K.length&&yt!==Z;)$B($,E.range($,K[yt]),G)?ut=yt:Z=yt,yt=Math.floor((Z+ut)/2);return E.range($,K[ut],G)}(h,L);M.isCollapsed(z)||I.delete(m,{at:z})}}},h.onChange=function(){var C=h.selection;C!=null&&G4.set(h,C),h.emit("change"),b()},h.handleTab=function(){h.insertText(" ")},h.getHtml=function(){var C=h.children;return(C===void 0?[]:C).map(function(O){return RB(O,h)}).join("")},h.getText=function(){var C=h.children;return(C===void 0?[]:C).map(function(O){return et.string(O)}).join(`
  69. `)},h.getSelectionText=function(){var C=h.selection;return C==null?"":E.string(m,C)},h.getElemsByType=function(C,O){var T,L;O===void 0&&(O=!1);var z=[],$=E.nodes(h,{at:[],universal:!0});try{for(var Y=io($),G=Y.next();!G.done;G=Y.next()){var K=ae(G.value,1)[0];if(bt.isElement(K)&&(O?K.type.indexOf(C)>=0:K.type===C)){var Z=MB(A.findKey(h,K).id);z.push(oo(oo({},K),{id:Z}))}}}catch(ut){T={error:ut}}finally{try{G&&!G.done&&(L=Y.return)&&L.call(Y)}finally{if(T)throw T.error}}return z},h.getElemsByTypePrefix=function(C){return h.getElemsByType(C,!0)},h.isEmpty=function(){var C=h.children,O=C===void 0?[]:C;if(O.length>1)return!1;var T=O[0];if(T==null)return!0;if(bt.isElement(T)&&T.type==="paragraph"){var L=T.children,z=L===void 0?[]:L;if(z.length>1)return!1;var $=z[0];if($==null||ft.isText($)&&$.text==="")return!0}return!1},h.clear=function(){I.delete(h,{at:{anchor:E.start(h,[]),focus:E.end(h,[])}}),h.children.length===0&&I.insertNodes(h,[{type:"paragraph",children:[{text:""}]}])},h.getParentNode=function(C){return A.getParentNode(h,C)},h.dangerouslyInsertHtml=function(C,O){if(C===void 0&&(C=""),O===void 0&&(O=!1),C){var T=document.createElement("div");T.innerHTML=C;var L=Array.from(T.childNodes);if(L=L.filter(function(G){var K=G.nodeType,Z=G.nodeName;return K===oi.TEXT_NODE||K===oi.ELEMENT_NODE&&!eF.has(Z.toLowerCase())}),L.length!==0){var z=h.selection;if(z!=null){var $=null;A.isSelectedEmptyParagraph(h)&&!O&&($=[z.focus.path[0]]),T.setAttribute("hidden","true"),document.body.appendChild(T);var Y=0;L.forEach(function(G){var K=G.nodeType,Z=G.nodeName,ut=G.textContent,yt=ut===void 0?"":ut;if(K!==oi.TEXT_NODE)if(Z!=="BR"){var mt=G,gt=!1;if(HB.includes(Z.toLowerCase()))gt=!0;else for(var B in Bv)if(mt.matches(B)){gt=!0;break}if(gt){var x=DE(k(mt),h);return Array.isArray(x)?(x.forEach(function(U){return nF(h,U)}),Y++):(nF(h,x),Y++),void(A.isSelectedVoidNode(h)&&h.move(1))}var j=window.getComputedStyle(mt).display;A.isSelectedEmptyParagraph(h)||j.indexOf("inline")<0&&h.insertBreak(),h.dangerouslyInsertHtml(mt.innerHTML,!0)}else h.insertText(`
  70. `);else{if(!yt||!yt.trim())return;h.insertNode({text:yt})}}),Y&&$&&A.isEmptyPath(h,$)&&I.removeNodes(h,{at:$}),T.remove()}}}},h.setHtml=function(C){C===void 0&&(C="");var O=h.isDisabled(),T=h.isFocused(),L=JSON.stringify(h.selection);h.enable(),h.focus(),h.clear();var z=JB(h,C);if(I.insertFragment(h,z),T||(h.deselect(),h.blur()),O&&(h.deselect(),h.disable()),h.isFocused())try{h.select(JSON.parse(L))}catch($){h.select(E.start(h,[]))}},h}(function(m){var h=m;return h.getAllMenuKeys=function(){var b=[];for(var w in qd)b.push(w);return b},h.getConfig=function(){var b=Zk.get(h);if(b==null)throw new Error("Can not get editor config");return b},h.getMenuConfig=function(b){var w=h.getConfig().MENU_CONF;return(w===void 0?{}:w)[b]||{}},h.alert=function(b,w){w===void 0&&(w="info");var S=h.getConfig().customAlert;S&&S(b,w)},h}(function(m){var h=hQ(LW());return h.id="wangEditor-"+SJ++,h.isDestroyed=!1,h.isFullScreen=!1,h.focus=function(b){if(A.toDOMNode(h,h).focus({preventScroll:!0}),ys.set(h,!0),b){var w=E.end(h,[]);I.select(h,w)}else{var S=G4.get(h);S?I.select(h,S):I.select(h,E.start(h,[]))}},h.isFocused=function(){return!!ys.get(h)},h.blur=function(){A.toDOMNode(h,h).blur(),I.deselect(h),ys.set(h,!1)},h.updateView=function(){A.getTextarea(h).changeViewState();var b=A.getToolbar(h);b&&b.changeToolbarState();var w=A.getHoverbar(h);w&&w.changeHoverbarState()},h.destroy=function(){if(!h.isDestroyed){var b=A.getTextarea(h);b.destroy(),R4.delete(h),M4.delete(b);var w=A.getToolbar(h);w&&(w.destroy(),wv.delete(h),z4.delete(w));var S=A.getHoverbar(h);S&&(S.destroy(),Ev.delete(h),$4.delete(S)),h.isDestroyed=!0,h.emit("destroyed")}},h.scrollToElem=function(b){if(!h.getConfig().scroll){var w="\u7F16\u8F91\u5668\u7981\u7528\u4E86 scroll \uFF0C\u7F16\u8F91\u5668\u5185\u5BB9\u65E0\u6CD5\u6EDA\u52A8\uFF0C\u8BF7\u81EA\u884C\u5B9E\u73B0\u8BE5\u529F\u80FD";return w+=`
  71. You has disabled editor scroll, please do this yourself`,void console.warn(w)}var S=k("#"+b);if(S.length!==0){var D=S[0];if(!A.hasDOMNode(h,D))return w="Element (found by id is '"+b+"') is not in editor DOM",w+=`
  72. \u901A\u8FC7 id '`+b+"' \u627E\u5230\u7684 element \u4E0D\u5728 editor DOM \u4E4B\u5185",void console.error(w,D);var C=A.getTextarea(h),O=C.$textAreaContainer,T=C.$scroll,L=S.offset().top,z=O.offset().top;T[0].scrollBy({top:L-z,behavior:"smooth"})}},h.showProgressBar=function(b){b<1||A.getTextarea(h).changeProgress(b)},h.hidePanelOrModal=function(){var b=U4.get(h);b!=null&&b.forEach(function(w){return w.hide()})},h.enable=function(){h.getConfig().readOnly=!1,h.updateView()},h.disable=function(){h.getConfig().readOnly=!0,h.updateView()},h.isDisabled=function(){return h.getConfig().readOnly},h.toDOMNode=function(b){return A.toDOMNode(h,b)},h.fullScreen=function(){if(!h.isFullScreen){var b=null,w=A.getToolbar(h);w&&(b=w.$box);var S=A.getTextarea(h).$box.parent();if(b&&b.parent()[0]!==S[0])throw new Error(`Can not set full screen, cause toolbar DOM parent is not equal to textarea DOM parent
  73. \u4E0D\u80FD\u8BBE\u7F6E\u5168\u5C4F\uFF0C\u56E0\u4E3A toolbar DOM \u7236\u8282\u70B9\u548C textarea DOM \u7236\u8282\u70B9\u4E0D\u4E00\u81F4`);S.addClass("w-e-full-screen-container");var D=S.css("z-index");S.attr("data-z-index",D.toString()),h.isFullScreen=!0,h.emit("fullScreen")}},h.unFullScreen=function(){if(h.isFullScreen){var b=A.getTextarea(h).$box.parent();setTimeout(function(){b.removeClass("w-e-full-screen-container"),h.isFullScreen=!1,h.emit("unFullScreen")},200)}},h.getEditableContainer=function(){return A.getTextarea(h).$textAreaContainer[0]},h}()))))));if(n&&function(m,h){return XB(m,"data-w-e-textarea",h)}(l,n))throw new Error("Repeated create editor by selector '"+n+"'");var c=function(m){m===void 0&&(m={});var h=Z9(uB),b={},w=m.MENU_CONF,S=w===void 0?{}:w;return X2(h,function(D,C){b[C]=oo(oo({},D),S[C]||{})}),delete m.MENU_CONF,oo({scroll:!0,readOnly:!1,autoFocus:!0,decorate:function(){return[]},maxLength:0,MENU_CONF:b,hoverbarKeys:{},customAlert:function(D,C){window.alert(C+`:
  74. `+D)}},m)}(o);Zk.set(l,c);var f=c.hoverbarKeys,p=f===void 0?{}:f;if(s.forEach(function(m){l=m(l)}),a!=null&&(l.children=JB(l,a)),i&&i.length&&(l.children=i),l.children.length===0&&(l.children=[{type:"paragraph",children:[{text:""}]}]),A.normalizeContent(l),n){var d=new WQ(n);R4.set(l,d),M4.set(d,l),d.changeViewState(),ao(function(){var m=d.$scroll;m!=null&&m.height()<300&&console.warn(`\u7F16\u8F91\u533A\u57DF\u9AD8\u5EA6 < 300px \u8FD9\u53EF\u80FD\u4F1A\u5BFC\u81F4 modal hoverbar \u5B9A\u4F4D\u5F02\u5E38
  75. Textarea height < 300px . This may be cause modal and hoverbar position error`,m)});var y=void 0;Object.keys(p).length>0&&(y=new ttt,$4.set(y,l),Ev.set(l,y)),l.on("change",function(){l.hidePanelOrModal()}),l.on("scroll",function(){l.hidePanelOrModal()})}else l.children.forEach(function(m,h){return AF(m,h,l,l)});var g=c.onCreated,v=c.onDestroyed;return g&&l.on("created",function(){return g(l)}),v&&l.on("destroyed",function(){return v(l)}),ao(function(){return l.emit("created")}),l}var ntt=lv("splice"),rtt=Q.TypeError,ott=Math.max,itt=Math.min;$e({target:"Array",proto:!0,forced:!ntt},{splice:function(t,e){var n,r,o,i,a,u,s=Ba(this),l=gs(s),c=Jl(t,l),f=arguments.length;if(f===0?n=r=0:f===1?(n=0,r=l-c):(n=f-2,r=itt(ott(Bd(e),0),l-c)),l+n-r>9007199254740991)throw rtt("Maximum allowed length exceeded");for(o=KO(s,r),i=0;i<r;i++)(a=c+i)in s&&Nd(o,i,s[a]);if(o.length=r,n<r){for(i=c;i<l-r;i++)u=i+n,(a=i+r)in s?s[u]=s[a]:delete s[u];for(i=l;i>l-r+n;i--)delete s[i-1]}else if(n>r)for(i=l-r;i>c;i--)u=i+n-1,(a=i+r-1)in s?s[u]=s[a]:delete s[u];for(i=0;i<n;i++)s[i+c]=arguments[i+2];return s.length=l-r+n,o}});var att=function(){function t(e,n){var r=this;this.$toolbar=k('<div class="w-e-bar w-e-bar-show w-e-toolbar"></div>'),this.menus={},this.toolbarItems=[],this.config={},this.changeToolbarState=q9(function(){r.toolbarItems.forEach(function(a){a.changeMenuState()})},200),this.config=n;var o=k(e);if(o.length===0)throw new Error("Cannot find toolbar DOM by selector '"+e+"'");this.$box=o;var i=this.$toolbar;i.on("mousedown",function(a){return a.preventDefault()},{passive:!1}),o.append(i),ao(function(){r.registerItems(),r.changeToolbarState(),r.getEditorInstance().on("change",r.changeToolbarState)})}return t.prototype.getMenus=function(){return this.menus},t.prototype.getConfig=function(){return this.config},t.prototype.registerItems=function(){var e=this,n="",r=this.$toolbar,o=this.config,i=o.toolbarKeys,a=i===void 0?[]:i,u=o.insertKeys,s=u===void 0?{index:0,keys:[]}:u,l=o.excludeKeys,c=l===void 0?[]:l,f=Z9(a);s.keys.length>0&&(typeof s.keys=="string"&&(s.keys=[s.keys]),s.keys.forEach(function(y,g){f.splice(s.index+g,0,y)}));var p=f.filter(function(y){if(typeof y=="string"){if(c.includes(y))return!1}else if(c.includes(y.key))return!1;return!0}),d=p.length;p.forEach(function(y,g){if(y==="|"){if(g===0||g+1===d||n==="|")return;var v=EF();return r.append(v),void(n=y)}if(typeof y=="string")return e.registerSingleItem(y,e),void(n=y);e.registerGroup(y),n="group"})},t.prototype.registerGroup=function(e){var n=this,r=this.$toolbar,o=function(l){return new CF(l)}(e),i=e.menuKeys,a=i===void 0?[]:i,u=this.config.excludeKeys,s=u===void 0?[]:u;a.forEach(function(l){s.includes(l)||n.registerSingleItem(l,o)}),r.append(o.$elem)},t.prototype.registerSingleItem=function(e,n){var r=this.getEditorInstance(),o=n instanceof CF,i=this.menus,a=i[e];if(a==null){var u=qd[e];if(u==null)throw new Error("Not found menu item factory by key '"+e+"'");if(typeof u!="function")throw new Error("Menu item factory (key='"+e+"') is not a function");a=u(),i[e]=a}else console.warn("Duplicated toolbar menu key '"+e+`'
  76. \u91CD\u590D\u6CE8\u518C\u4E86\u83DC\u5355\u680F menu '`+e+"'");var s=xF(e,a,o);this.toolbarItems.push(s),H4.set(s,r),o?n.appendBarItem(s):n.$toolbar.append(s.$elem)},t.prototype.getEditorInstance=function(){var e=z4.get(this);if(e==null)throw new Error("Can not get editor instance");return e},t.prototype.destroy=function(){this.$toolbar.remove(),this.menus={},this.toolbarItems=[]},t}(),utt=Zl.EXISTS,stt=Bo.f,OF=Function.prototype,ltt=Et(OF.toString),kF=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,ctt=Et(kF.exec);function BF(t){var e=t.server,n=e===void 0?"":e,r=t.fieldName,o=r===void 0?"":r,i=t.maxFileSize,a=i===void 0?10485760:i,u=t.maxNumberOfFiles,s=u===void 0?100:u,l=t.meta,c=l===void 0?{}:l,f=t.metaWithUrl,p=f!==void 0&&f,d=t.headers,y=d===void 0?{}:d,g=t.withCredentials,v=g!==void 0&&g,m=t.timeout,h=m===void 0?1e4:m,b=t.onBeforeUpload,w=b===void 0?function(Y){return Y}:b,S=t.onSuccess,D=S===void 0?function(Y,G){}:S,C=t.onError,O=C===void 0?function(Y,G,K){console.error(Y.name+" upload error",G,K)}:C,T=t.onProgress,L=T===void 0?function(Y){}:T;if(!n)throw new Error(`Cannot get upload server address
  77. \u6CA1\u6709\u914D\u7F6E\u4E0A\u4F20\u5730\u5740`);if(!o)throw new Error(`Cannot get fieldName
  78. \u6CA1\u6709\u914D\u7F6E fieldName`);var z=n;p&&(z=function(Y,G){var K=ae(Y.split("#"),2),Z=K[0],ut=K[1],yt=[];X2(G,function(gt,B){yt.push(B+"="+gt)});var mt=yt.join("&");return Z=Z.indexOf("?")>0?Z+"&"+mt:Z+"?"+mt,ut?Z+"#"+ut:Z}(z,c));var $=new md({onBeforeUpload:w,restrictions:{maxFileSize:a,maxNumberOfFiles:s},meta:c}).use(LZ,{endpoint:z,headers:y,formData:!0,fieldName:o,bundle:!0,withCredentials:v,timeout:h});return $.on("upload-success",function(Y,G){var K=G.body,Z=K===void 0?{}:K;try{D(Y,Z)}catch(ut){console.error("wangEditor upload file - onSuccess error",ut)}$.removeFile(Y.id)}),$.on("progress",function(Y){Y<1||L(Y)}),$.on("upload-error",function(Y,G,K){try{O(Y,G,K)}catch(Z){console.error("wangEditor upload file - onError error",Z)}$.removeFile(Y.id)}),$.on("restriction-failed",function(Y,G){try{O(Y,G)}catch(K){console.error("wangEditor upload file - onError error",K)}$.removeFile(Y.id)}),$}function Ia(t){return Ia=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ia(t)}function ftt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bn(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?Object(arguments[e]):{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter(function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable})),r.forEach(function(o){ftt(t,o,n[o])})}return t}function Hi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function FF(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ui(t,e,n){return e&&FF(t.prototype,e),n&&FF(t,n),t}function Cs(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function op(t,e){if(e&&(Ia(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Cs(t)}function mc(t){return mc=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},mc(t)}function UE(t,e){return UE=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},UE(t,e)}function Iv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&UE(t,e)}jn&&!utt&&stt(OF,"name",{configurable:!0,get:function(){try{return ctt(kF,ltt(this))[1]}catch(t){return""}}});var dtt={type:"logger",log:function(t){this.output("log",t)},warn:function(t){this.output("warn",t)},error:function(t){this.output("error",t)},output:function(t,e){console&&console[t]&&console[t].apply(console,e)}},Vi=new(function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Hi(this,t),this.init(e,n)}return Ui(t,[{key:"init",value:function(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=n.prefix||"i18next:",this.logger=e||dtt,this.options=n,this.debug=n.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return this.forward(n,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return this.forward(n,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return this.forward(n,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return this.forward(n,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,n,r,o){return o&&!this.debug?null:(typeof e[0]=="string"&&(e[0]="".concat(r).concat(this.prefix," ").concat(e[0])),this.logger[n](e))}},{key:"create",value:function(e){return new t(this.logger,bn({},{prefix:"".concat(this.prefix,":").concat(e,":")},this.options))}}]),t}()),Na=function(){function t(){Hi(this,t),this.observers={}}return Ui(t,[{key:"on",value:function(e,n){var r=this;return e.split(" ").forEach(function(o){r.observers[o]=r.observers[o]||[],r.observers[o].push(n)}),this}},{key:"off",value:function(e,n){this.observers[e]&&(n?this.observers[e]=this.observers[e].filter(function(r){return r!==n}):delete this.observers[e])}},{key:"emit",value:function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if(this.observers[e]){var i=[].concat(this.observers[e]);i.forEach(function(u){u.apply(void 0,r)})}if(this.observers["*"]){var a=[].concat(this.observers["*"]);a.forEach(function(u){u.apply(u,[e].concat(r))})}}}]),t}();function ip(){var t,e,n=new Promise(function(r,o){t=r,e=o});return n.resolve=t,n.reject=e,n}function TF(t){return t==null?"":""+t}function ptt(t,e,n){t.forEach(function(r){e[r]&&(n[r]=e[r])})}function VE(t,e,n){function r(u){return u&&u.indexOf("###")>-1?u.replace(/###/g,"."):u}function o(){return!t||typeof t=="string"}for(var i=typeof e!="string"?[].concat(e):e.split(".");i.length>1;){if(o())return{};var a=r(i.shift());!t[a]&&n&&(t[a]=new n),t=Object.prototype.hasOwnProperty.call(t,a)?t[a]:{}}return o()?{}:{obj:t,k:r(i.shift())}}function PF(t,e,n){var r=VE(t,e,Object);r.obj[r.k]=n}function Nv(t,e){var n=VE(t,e),r=n.obj,o=n.k;if(r)return r[o]}function jF(t,e,n){var r=Nv(t,n);return r!==void 0?r:Nv(e,n)}function _F(t,e,n){for(var r in e)r!=="__proto__"&&r!=="constructor"&&(r in t?typeof t[r]=="string"||t[r]instanceof String||typeof e[r]=="string"||e[r]instanceof String?n&&(t[r]=e[r]):_F(t[r],e[r],n):t[r]=e[r]);return t}function yc(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var htt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function gtt(t){return typeof t=="string"?t.replace(/[&<>"'\/]/g,function(e){return htt[e]}):t}var Lv=typeof window!="undefined"&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1;function IF(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(t){if(t[e])return t[e];for(var r=e.split(n),o=t,i=0;i<r.length;++i){if(!o||typeof o[r[i]]=="string"&&i+1<r.length)return;if(o[r[i]]===void 0){for(var a=2,u=r.slice(i,i+a).join(n),s=o[u];s===void 0&&r.length>i+a;)a++,s=o[u=r.slice(i,i+a).join(n)];if(s===void 0)return;if(typeof s=="string")return s;if(u&&typeof s[u]=="string")return s[u];var l=r.slice(i+a).join(n);return l?IF(s,l,n):void 0}o=o[r[i]]}return o}}var vtt=function(t){function e(n){var r,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};return Hi(this,e),r=op(this,mc(e).call(this)),Lv&&Na.call(Cs(r)),r.data=n||{},r.options=o,r.options.keySeparator===void 0&&(r.options.keySeparator="."),r.options.ignoreJSONStructure===void 0&&(r.options.ignoreJSONStructure=!0),r}return Iv(e,Na),Ui(e,[{key:"addNamespaces",value:function(n){this.options.ns.indexOf(n)<0&&this.options.ns.push(n)}},{key:"removeNamespaces",value:function(n){var r=this.options.ns.indexOf(n);r>-1&&this.options.ns.splice(r,1)}},{key:"getResource",value:function(n,r,o){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},a=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,u=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure,s=[n,r];o&&typeof o!="string"&&(s=s.concat(o)),o&&typeof o=="string"&&(s=s.concat(a?o.split(a):o)),n.indexOf(".")>-1&&(s=n.split("."));var l=Nv(this.data,s);return l||!u||typeof o!="string"?l:IF(this.data&&this.data[n]&&this.data[n][r],o,a)}},{key:"addResource",value:function(n,r,o,i){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},u=this.options.keySeparator;u===void 0&&(u=".");var s=[n,r];o&&(s=s.concat(u?o.split(u):o)),n.indexOf(".")>-1&&(i=r,r=(s=n.split("."))[1]),this.addNamespaces(r),PF(this.data,s,i),a.silent||this.emit("added",n,r,o,i)}},{key:"addResources",value:function(n,r,o){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(var a in o)typeof o[a]!="string"&&Object.prototype.toString.apply(o[a])!=="[object Array]"||this.addResource(n,r,a,o[a],{silent:!0});i.silent||this.emit("added",n,r,o)}},{key:"addResourceBundle",value:function(n,r,o,i,a){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},s=[n,r];n.indexOf(".")>-1&&(i=o,o=r,r=(s=n.split("."))[1]),this.addNamespaces(r);var l=Nv(this.data,s)||{};i?_F(l,o,a):l=bn({},l,o),PF(this.data,s,l),u.silent||this.emit("added",n,r,o)}},{key:"removeResourceBundle",value:function(n,r){this.hasResourceBundle(n,r)&&delete this.data[n][r],this.removeNamespaces(r),this.emit("removed",n,r)}},{key:"hasResourceBundle",value:function(n,r){return this.getResource(n,r)!==void 0}},{key:"getResourceBundle",value:function(n,r){return r||(r=this.options.defaultNS),this.options.compatibilityAPI==="v1"?bn({},{},this.getResource(n,r)):this.getResource(n,r)}},{key:"getDataByLanguage",value:function(n){return this.data[n]}},{key:"toJSON",value:function(){return this.data}}]),e}(),NF={processors:{},addPostProcessor:function(t){this.processors[t.name]=t},handle:function(t,e,n,r,o){var i=this;return t.forEach(function(a){i.processors[a]&&(e=i.processors[a].process(e,n,r,o))}),e}},LF={},RF=function(t){function e(n){var r,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Hi(this,e),r=op(this,mc(e).call(this)),Lv&&Na.call(Cs(r)),ptt(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],n,Cs(r)),r.options=o,r.options.keySeparator===void 0&&(r.options.keySeparator="."),r.logger=Vi.create("translator"),r}return Iv(e,Na),Ui(e,[{key:"changeLanguage",value:function(n){n&&(this.language=n)}},{key:"exists",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(n==null)return!1;var o=this.resolve(n,r);return o&&o.res!==void 0}},{key:"extractFromKey",value:function(n,r){var o=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;o===void 0&&(o=":");var i=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,a=r.ns||this.options.defaultNS;if(o&&n.indexOf(o)>-1){var u=n.match(this.interpolator.nestingRegexp);if(u&&u.length>0)return{key:n,namespaces:a};var s=n.split(o);(o!==i||o===i&&this.options.ns.indexOf(s[0])>-1)&&(a=s.shift()),n=s.join(i)}return typeof a=="string"&&(a=[a]),{key:n,namespaces:a}}},{key:"translate",value:function(n,r,o){var i=this;if(Ia(r)!=="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),r||(r={}),n==null)return"";Array.isArray(n)||(n=[String(n)]);var a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,u=this.extractFromKey(n[n.length-1],r),s=u.key,l=u.namespaces,c=l[l.length-1],f=r.lng||this.language,p=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f&&f.toLowerCase()==="cimode"){if(p){var d=r.nsSeparator||this.options.nsSeparator;return c+d+s}return s}var y=this.resolve(n,r),g=y&&y.res,v=y&&y.usedKey||s,m=y&&y.exactUsedKey||s,h=Object.prototype.toString.apply(g),b=["[object Number]","[object Function]","[object RegExp]"],w=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,S=!this.i18nFormat||this.i18nFormat.handleAsObject,D=typeof g!="string"&&typeof g!="boolean"&&typeof g!="number";if(S&&g&&D&&b.indexOf(h)<0&&(typeof w!="string"||h!=="[object Array]")){if(!r.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,g,bn({},r,{ns:l})):"key '".concat(s," (").concat(this.language,")' returned an object instead of string.");if(a){var C=h==="[object Array]",O=C?[]:{},T=C?m:v;for(var L in g)if(Object.prototype.hasOwnProperty.call(g,L)){var z="".concat(T).concat(a).concat(L);O[L]=this.translate(z,bn({},r,{joinArrays:!1,ns:l})),O[L]===z&&(O[L]=g[L])}g=O}}else if(S&&typeof w=="string"&&h==="[object Array]")(g=g.join(w))&&(g=this.extendTranslation(g,n,r,o));else{var $=!1,Y=!1,G=r.count!==void 0&&typeof r.count!="string",K=e.hasDefaultValue(r),Z=G?this.pluralResolver.getSuffix(f,r.count):"",ut=r["defaultValue".concat(Z)]||r.defaultValue;!this.isValidLookup(g)&&K&&($=!0,g=ut),this.isValidLookup(g)||(Y=!0,g=s);var yt=r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,mt=yt&&Y?void 0:g,gt=K&&ut!==g&&this.options.updateMissing;if(Y||$||gt){if(this.logger.log(gt?"updateKey":"missingKey",f,c,s,gt?ut:g),a){var B=this.resolve(s,bn({},r,{keySeparator:!1}));B&&B.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var x=[],j=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&j&&j[0])for(var U=0;U<j.length;U++)x.push(j[U]);else this.options.saveMissingTo==="all"?x=this.languageUtils.toResolveHierarchy(r.lng||this.language):x.push(r.lng||this.language);var X=function(W,dt,Dt){i.options.missingKeyHandler?i.options.missingKeyHandler(W,c,dt,gt?Dt:mt,gt,r):i.backendConnector&&i.backendConnector.saveMissing&&i.backendConnector.saveMissing(W,c,dt,gt?Dt:mt,gt,r),i.emit("missingKey",W,c,dt,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&G?x.forEach(function(W){i.pluralResolver.getSuffixes(W).forEach(function(dt){X([W],s+dt,r["defaultValue".concat(dt)]||ut)})}):X(x,s,ut))}g=this.extendTranslation(g,n,r,y,o),Y&&g===s&&this.options.appendNamespaceToMissingKey&&(g="".concat(c,":").concat(s)),(Y||$)&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(g))}return g}},{key:"extendTranslation",value:function(n,r,o,i,a){var u=this;if(this.i18nFormat&&this.i18nFormat.parse)n=this.i18nFormat.parse(n,o,i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!o.skipInterpolation){o.interpolation&&this.interpolator.init(bn({},o,{interpolation:bn({},this.options.interpolation,o.interpolation)}));var s,l=o.interpolation&&o.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(l){var c=n.match(this.interpolator.nestingRegexp);s=c&&c.length}var f=o.replace&&typeof o.replace!="string"?o.replace:o;if(this.options.interpolation.defaultVariables&&(f=bn({},this.options.interpolation.defaultVariables,f)),n=this.interpolator.interpolate(n,f,o.lng||this.language,o),l){var p=n.match(this.interpolator.nestingRegexp);s<(p&&p.length)&&(o.nest=!1)}o.nest!==!1&&(n=this.interpolator.nest(n,function(){for(var g=arguments.length,v=new Array(g),m=0;m<g;m++)v[m]=arguments[m];return a&&a[0]===v[0]&&!o.context?(u.logger.warn("It seems you are nesting recursively key: ".concat(v[0]," in key: ").concat(r[0])),null):u.translate.apply(u,v.concat([r]))},o)),o.interpolation&&this.interpolator.reset()}var d=o.postProcess||this.options.postProcess,y=typeof d=="string"?[d]:d;return n!=null&&y&&y.length&&o.applyPostProcessor!==!1&&(n=NF.handle(y,n,r,this.options&&this.options.postProcessPassResolved?bn({i18nResolved:i},o):o,this)),n}},{key:"resolve",value:function(n){var r,o,i,a,u,s=this,l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return typeof n=="string"&&(n=[n]),n.forEach(function(c){if(!s.isValidLookup(r)){var f=s.extractFromKey(c,l),p=f.key;o=p;var d=f.namespaces;s.options.fallbackNS&&(d=d.concat(s.options.fallbackNS));var y=l.count!==void 0&&typeof l.count!="string",g=l.context!==void 0&&(typeof l.context=="string"||typeof l.context=="number")&&l.context!=="",v=l.lngs?l.lngs:s.languageUtils.toResolveHierarchy(l.lng||s.language,l.fallbackLng);d.forEach(function(m){s.isValidLookup(r)||(u=m,!LF["".concat(v[0],"-").concat(m)]&&s.utils&&s.utils.hasLoadedNamespace&&!s.utils.hasLoadedNamespace(u)&&(LF["".concat(v[0],"-").concat(m)]=!0,s.logger.warn('key "'.concat(o,'" for languages "').concat(v.join(", "),`" won't get resolved as namespace "`).concat(u,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),v.forEach(function(h){if(!s.isValidLookup(r)){a=h;var b,w,S=p,D=[S];for(s.i18nFormat&&s.i18nFormat.addLookupKeys?s.i18nFormat.addLookupKeys(D,p,h,m,l):(y&&(b=s.pluralResolver.getSuffix(h,l.count)),y&&g&&D.push(S+b),g&&D.push(S+="".concat(s.options.contextSeparator).concat(l.context)),y&&D.push(S+=b));w=D.pop();)s.isValidLookup(r)||(i=w,r=s.getResource(h,m,w,l))}}))})}}),{res:r,usedKey:o,exactUsedKey:i,usedLng:a,usedNS:u}}},{key:"isValidLookup",value:function(n){return!(n===void 0||!this.options.returnNull&&n===null||!this.options.returnEmptyString&&n==="")}},{key:"getResource",value:function(n,r,o){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(n,r,o,i):this.resourceStore.getResource(n,r,o,i)}}],[{key:"hasDefaultValue",value:function(n){var r="defaultValue";for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o)&&r===o.substring(0,r.length)&&n[o]!==void 0)return!0;return!1}}]),e}();function WE(t){return t.charAt(0).toUpperCase()+t.slice(1)}var mtt=function(){function t(e){Hi(this,t),this.options=e,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Vi.create("languageUtils")}return Ui(t,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var n=e.split("-");return n.length===2?null:(n.pop(),n[n.length-1].toLowerCase()==="x"?null:this.formatLanguageCode(n.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var n=e.split("-");return this.formatLanguageCode(n[0])}},{key:"formatLanguageCode",value:function(e){if(typeof e=="string"&&e.indexOf("-")>-1){var n=["hans","hant","latn","cyrl","cans","mong","arab"],r=e.split("-");return this.options.lowerCaseLng?r=r.map(function(o){return o.toLowerCase()}):r.length===2?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=WE(r[1].toLowerCase()))):r.length===3&&(r[0]=r[0].toLowerCase(),r[1].length===2&&(r[1]=r[1].toUpperCase()),r[0]!=="sgn"&&r[2].length===2&&(r[2]=r[2].toUpperCase()),n.indexOf(r[1].toLowerCase())>-1&&(r[1]=WE(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=WE(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isWhitelisted",value:function(e){return this.logger.deprecate("languageUtils.isWhitelisted",`function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it's usage asap.`),this.isSupportedCode(e)}},{key:"isSupportedCode",value:function(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var n,r=this;return e?(e.forEach(function(o){if(!n){var i=r.formatLanguageCode(o);r.options.supportedLngs&&!r.isSupportedCode(i)||(n=i)}}),!n&&this.options.supportedLngs&&e.forEach(function(o){if(!n){var i=r.getLanguagePartFromCode(o);if(r.isSupportedCode(i))return n=i;n=r.options.supportedLngs.find(function(a){if(a.indexOf(i)===0)return a})}}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n):null}},{key:"getFallbackCodes",value:function(e,n){if(!e)return[];if(typeof e=="function"&&(e=e(n)),typeof e=="string"&&(e=[e]),Object.prototype.toString.apply(e)==="[object Array]")return e;if(!n)return e.default||[];var r=e[n];return r||(r=e[this.getScriptPartFromCode(n)]),r||(r=e[this.formatLanguageCode(n)]),r||(r=e[this.getLanguagePartFromCode(n)]),r||(r=e.default),r||[]}},{key:"toResolveHierarchy",value:function(e,n){var r=this,o=this.getFallbackCodes(n||this.options.fallbackLng||[],e),i=[],a=function(u){u&&(r.isSupportedCode(u)?i.push(u):r.logger.warn("rejecting language code not found in supportedLngs: ".concat(u)))};return typeof e=="string"&&e.indexOf("-")>-1?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(e))):typeof e=="string"&&a(this.formatLanguageCode(e)),o.forEach(function(u){i.indexOf(u)<0&&a(r.formatLanguageCode(u))}),i}}]),t}(),ytt=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],btt={1:function(t){return Number(t>1)},2:function(t){return Number(t!=1)},3:function(t){return 0},4:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},5:function(t){return Number(t==0?0:t==1?1:t==2?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5)},6:function(t){return Number(t==1?0:t>=2&&t<=4?1:2)},7:function(t){return Number(t==1?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2)},8:function(t){return Number(t==1?0:t==2?1:t!=8&&t!=11?2:3)},9:function(t){return Number(t>=2)},10:function(t){return Number(t==1?0:t==2?1:t<7?2:t<11?3:4)},11:function(t){return Number(t==1||t==11?0:t==2||t==12?1:t>2&&t<20?2:3)},12:function(t){return Number(t%10!=1||t%100==11)},13:function(t){return Number(t!==0)},14:function(t){return Number(t==1?0:t==2?1:t==3?2:3)},15:function(t){return Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2)},16:function(t){return Number(t%10==1&&t%100!=11?0:t!==0?1:2)},17:function(t){return Number(t==1||t%10==1&&t%100!=11?0:1)},18:function(t){return Number(t==0?0:t==1?1:2)},19:function(t){return Number(t==1?0:t==0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3)},20:function(t){return Number(t==1?0:t==0||t%100>0&&t%100<20?1:2)},21:function(t){return Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0)},22:function(t){return Number(t==1?0:t==2?1:(t<0||t>10)&&t%10==0?2:3)}};function wtt(){var t={};return ytt.forEach(function(e){e.lngs.forEach(function(n){t[n]={numbers:e.nr,plurals:btt[e.fc]}})}),t}var Ett=function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Hi(this,t),this.languageUtils=e,this.options=n,this.logger=Vi.create("pluralResolver"),this.rules=wtt()}return Ui(t,[{key:"addRule",value:function(e,n){this.rules[e]=n}},{key:"getRule",value:function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var n=this.getRule(e);return n&&n.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,n){return this.getSuffixes(e).map(function(r){return n+r})}},{key:"getSuffixes",value:function(e){var n=this,r=this.getRule(e);return r?r.numbers.map(function(o){return n.getSuffix(e,o)}):[]}},{key:"getSuffix",value:function(e,n){var r=this,o=this.getRule(e);if(o){var i=o.noAbs?o.plurals(n):o.plurals(Math.abs(n)),a=o.numbers[i];this.options.simplifyPluralSuffix&&o.numbers.length===2&&o.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));var u=function(){return r.options.prepend&&a.toString()?r.options.prepend+a.toString():a.toString()};return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):u():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&o.numbers.length===2&&o.numbers[0]===1?u():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}return this.logger.warn("no plural rule found for: ".concat(e)),""}}]),t}(),Stt=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Hi(this,t),this.logger=Vi.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||function(n){return n},this.init(e)}return Ui(t,[{key:"init",value:function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var n=e.interpolation;this.escape=n.escape!==void 0?n.escape:gtt,this.escapeValue=n.escapeValue===void 0||n.escapeValue,this.useRawValueToEscape=n.useRawValueToEscape!==void 0&&n.useRawValueToEscape,this.prefix=n.prefix?yc(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?yc(n.suffix):n.suffixEscaped||"}}",this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||",",this.unescapePrefix=n.unescapeSuffix?"":n.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":n.unescapeSuffix||"",this.nestingPrefix=n.nestingPrefix?yc(n.nestingPrefix):n.nestingPrefixEscaped||yc("$t("),this.nestingSuffix=n.nestingSuffix?yc(n.nestingSuffix):n.nestingSuffixEscaped||yc(")"),this.nestingOptionsSeparator=n.nestingOptionsSeparator?n.nestingOptionsSeparator:n.nestingOptionsSeparator||",",this.maxReplaces=n.maxReplaces?n.maxReplaces:1e3,this.alwaysFormat=n.alwaysFormat!==void 0&&n.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var n="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(n,"g");var r="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(r,"g")}},{key:"interpolate",value:function(e,n,r,o){var i,a,u,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function c(g){return g.replace(/\$/g,"$$$$")}var f=function(g){if(g.indexOf(s.formatSeparator)<0){var v=jF(n,l,g);return s.alwaysFormat?s.format(v,void 0,r,bn({},o,n,{interpolationkey:g})):v}var m=g.split(s.formatSeparator),h=m.shift().trim(),b=m.join(s.formatSeparator).trim();return s.format(jF(n,l,h),b,r,bn({},o,n,{interpolationkey:h}))};this.resetRegExp();var p=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,d=o&&o.interpolation&&o.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables,y=[{regex:this.regexpUnescape,safeValue:function(g){return c(g)}},{regex:this.regexp,safeValue:function(g){return s.escapeValue?c(s.escape(g)):c(g)}}];return y.forEach(function(g){for(u=0;i=g.regex.exec(e);){if((a=f(i[1].trim()))===void 0)if(typeof p=="function"){var v=p(e,i,o);a=typeof v=="string"?v:""}else{if(d){a=i[0];continue}s.logger.warn("missed to pass in variable ".concat(i[1]," for interpolating ").concat(e)),a=""}else typeof a=="string"||s.useRawValueToEscape||(a=TF(a));var m=g.safeValue(a);if(e=e.replace(i[0],m),d?(g.regex.lastIndex+=m.length,g.regex.lastIndex-=i[0].length):g.regex.lastIndex=0,++u>=s.maxReplaces)break}}),e}},{key:"nest",value:function(e,n){var r,o,i=this,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=bn({},a);function s(p,d){var y=this.nestingOptionsSeparator;if(p.indexOf(y)<0)return p;var g=p.split(new RegExp("".concat(y,"[ ]*{"))),v="{".concat(g[1]);p=g[0],v=(v=this.interpolate(v,u)).replace(/'/g,'"');try{u=JSON.parse(v),d&&(u=bn({},d,u))}catch(m){return this.logger.warn("failed parsing options string in nesting for key ".concat(p),m),"".concat(p).concat(y).concat(v)}return delete u.defaultValue,p}for(u.applyPostProcessor=!1,delete u.defaultValue;r=this.nestingRegexp.exec(e);){var l=[],c=!1;if(r[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(r[1])){var f=r[1].split(this.formatSeparator).map(function(p){return p.trim()});r[1]=f.shift(),l=f,c=!0}if((o=n(s.call(this,r[1].trim(),u),u))&&r[0]===e&&typeof o!="string")return o;typeof o!="string"&&(o=TF(o)),o||(this.logger.warn("missed to resolve ".concat(r[1]," for nesting ").concat(e)),o=""),c&&(o=l.reduce(function(p,d){return i.format(p,d,a.lng,bn({},a,{interpolationkey:r[1].trim()}))},o.trim())),e=e.replace(r[0],o),this.regexp.lastIndex=0}return e}}]),t}(),Ctt=function(t){function e(n,r,o){var i,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return Hi(this,e),i=op(this,mc(e).call(this)),Lv&&Na.call(Cs(i)),i.backend=n,i.store=r,i.services=o,i.languageUtils=o.languageUtils,i.options=a,i.logger=Vi.create("backendConnector"),i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(o,a.backend,a),i}return Iv(e,Na),Ui(e,[{key:"queueLoad",value:function(n,r,o,i){var a=this,u=[],s=[],l=[],c=[];return n.forEach(function(f){var p=!0;r.forEach(function(d){var y="".concat(f,"|").concat(d);!o.reload&&a.store.hasResourceBundle(f,d)?a.state[y]=2:a.state[y]<0||(a.state[y]===1?s.indexOf(y)<0&&s.push(y):(a.state[y]=1,p=!1,s.indexOf(y)<0&&s.push(y),u.indexOf(y)<0&&u.push(y),c.indexOf(d)<0&&c.push(d)))}),p||l.push(f)}),(u.length||s.length)&&this.queue.push({pending:s,loaded:{},errors:[],callback:i}),{toLoad:u,pending:s,toLoadLanguages:l,toLoadNamespaces:c}}},{key:"loaded",value:function(n,r,o){var i=n.split("|"),a=i[0],u=i[1];r&&this.emit("failedLoading",a,u,r),o&&this.store.addResourceBundle(a,u,o),this.state[n]=r?-1:2;var s={};this.queue.forEach(function(l){(function(c,f,p,d){var y=VE(c,f,Object),g=y.obj,v=y.k;g[v]=g[v]||[],g[v].push(p)})(l.loaded,[a],u),function(c,f){for(var p=c.indexOf(f);p!==-1;)c.splice(p,1),p=c.indexOf(f)}(l.pending,n),r&&l.errors.push(r),l.pending.length!==0||l.done||(Object.keys(l.loaded).forEach(function(c){s[c]||(s[c]=[]),l.loaded[c].length&&l.loaded[c].forEach(function(f){s[c].indexOf(f)<0&&s[c].push(f)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(function(l){return!l.done})}},{key:"read",value:function(n,r,o){var i=this,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:350,s=arguments.length>5?arguments[5]:void 0;return n.length?this.backend[o](n,r,function(l,c){l&&c&&a<5?setTimeout(function(){i.read.call(i,n,r,o,a+1,2*u,s)},u):s(l,c)}):s(null,{})}},{key:"prepareLoading",value:function(n,r){var o=this,i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();typeof n=="string"&&(n=this.languageUtils.toResolveHierarchy(n)),typeof r=="string"&&(r=[r]);var u=this.queueLoad(n,r,i,a);if(!u.toLoad.length)return u.pending.length||a(),null;u.toLoad.forEach(function(s){o.loadOne(s)})}},{key:"load",value:function(n,r,o){this.prepareLoading(n,r,{},o)}},{key:"reload",value:function(n,r,o){this.prepareLoading(n,r,{reload:!0},o)}},{key:"loadOne",value:function(n){var r=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",i=n.split("|"),a=i[0],u=i[1];this.read(a,u,"read",void 0,void 0,function(s,l){s&&r.logger.warn("".concat(o,"loading namespace ").concat(u," for language ").concat(a," failed"),s),!s&&l&&r.logger.log("".concat(o,"loaded namespace ").concat(u," for language ").concat(a),l),r.loaded(n,s,l)})}},{key:"saveMissing",value:function(n,r,o,i,a){var u=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(r)?this.logger.warn('did not save key "'.concat(o,'" as the namespace "').concat(r,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):o!=null&&o!==""&&(this.backend&&this.backend.create&&this.backend.create(n,r,o,i,null,bn({},u,{isUpdate:a})),n&&n[0]&&this.store.addResource(n[0],r,o,i))}}]),e}();function Dtt(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){var e={};if(Ia(t[1])==="object"&&(e=t[1]),typeof t[1]=="string"&&(e.defaultValue=t[1]),typeof t[2]=="string"&&(e.tDescription=t[2]),Ia(t[2])==="object"||Ia(t[3])==="object"){var n=t[3]||t[2];Object.keys(n).forEach(function(r){e[r]=n[r]})}return e},interpolation:{escapeValue:!0,format:function(t,e,n,r){return t},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}}}function MF(t){return typeof t.ns=="string"&&(t.ns=[t.ns]),typeof t.fallbackLng=="string"&&(t.fallbackLng=[t.fallbackLng]),typeof t.fallbackNS=="string"&&(t.fallbackNS=[t.fallbackNS]),t.whitelist&&(t.whitelist&&t.whitelist.indexOf("cimode")<0&&(t.whitelist=t.whitelist.concat(["cimode"])),t.supportedLngs=t.whitelist),t.nonExplicitWhitelist&&(t.nonExplicitSupportedLngs=t.nonExplicitWhitelist),t.supportedLngs&&t.supportedLngs.indexOf("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t}function Rv(){}var xtt=function(t){function e(){var n,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(Hi(this,e),n=op(this,mc(e).call(this)),Lv&&Na.call(Cs(n)),n.options=MF(r),n.services={},n.logger=Vi,n.modules={external:[]},o&&!n.isInitialized&&!r.isClone){if(!n.options.initImmediate)return n.init(r,o),op(n,Cs(n));setTimeout(function(){n.init(r,o)},0)}return n}return Iv(e,Na),Ui(e,[{key:"init",value:function(){var n=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;function i(d){return d?typeof d=="function"?new d:d:null}if(typeof r=="function"&&(o=r,r={}),r.whitelist&&!r.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),r.nonExplicitWhitelist&&!r.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=bn({},Dtt(),this.options,MF(r)),this.format=this.options.interpolation.format,o||(o=Rv),!this.options.isClone){this.modules.logger?Vi.init(i(this.modules.logger),this.options):Vi.init(null,this.options);var a=new mtt(this.options);this.store=new vtt(this.options.resources,this.options);var u=this.services;u.logger=Vi,u.resourceStore=this.store,u.languageUtils=a,u.pluralResolver=new Ett(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u.interpolator=new Stt(this.options),u.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},u.backendConnector=new Ctt(i(this.modules.backend),u.resourceStore,u,this.options),u.backendConnector.on("*",function(d){for(var y=arguments.length,g=new Array(y>1?y-1:0),v=1;v<y;v++)g[v-1]=arguments[v];n.emit.apply(n,[d].concat(g))}),this.modules.languageDetector&&(u.languageDetector=i(this.modules.languageDetector),u.languageDetector.init(u,this.options.detection,this.options)),this.modules.i18nFormat&&(u.i18nFormat=i(this.modules.i18nFormat),u.i18nFormat.init&&u.i18nFormat.init(this)),this.translator=new RF(this.services,this.options),this.translator.on("*",function(d){for(var y=arguments.length,g=new Array(y>1?y-1:0),v=1;v<y;v++)g[v-1]=arguments[v];n.emit.apply(n,[d].concat(g))}),this.modules.external.forEach(function(d){d.init&&d.init(n)})}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.length>0&&s[0]!=="dev"&&(this.options.lng=s[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var l=["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"];l.forEach(function(d){n[d]=function(){var y;return(y=n.store)[d].apply(y,arguments)}});var c=["addResource","addResources","addResourceBundle","removeResourceBundle"];c.forEach(function(d){n[d]=function(){var y;return(y=n.store)[d].apply(y,arguments),n}});var f=ip(),p=function(){var d=function(y,g){n.isInitialized&&!n.initializedStoreOnce&&n.logger.warn("init: i18next is already initialized. You should call init just once!"),n.isInitialized=!0,n.options.isClone||n.logger.log("initialized",n.options),n.emit("initialized",n.options),f.resolve(g),o(y,g)};if(n.languages&&n.options.compatibilityAPI!=="v1"&&!n.isInitialized)return d(null,n.t.bind(n));n.changeLanguage(n.options.lng,d)};return this.options.resources||!this.options.initImmediate?p():setTimeout(p,0),f}},{key:"loadResources",value:function(n){var r=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Rv,i=o,a=typeof n=="string"?n:this.language;if(typeof n=="function"&&(i=n),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode")return i();var u=[],s=function(c){c&&r.services.languageUtils.toResolveHierarchy(c).forEach(function(f){u.indexOf(f)<0&&u.push(f)})};if(a)s(a);else{var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.forEach(function(c){return s(c)})}this.options.preload&&this.options.preload.forEach(function(c){return s(c)}),this.services.backendConnector.load(u,this.options.ns,i)}else i(null)}},{key:"reloadResources",value:function(n,r,o){var i=ip();return n||(n=this.languages),r||(r=this.options.ns),o||(o=Rv),this.services.backendConnector.reload(n,r,function(a){i.resolve(),o(a)}),i}},{key:"use",value:function(n){if(!n)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!n.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return n.type==="backend"&&(this.modules.backend=n),(n.type==="logger"||n.log&&n.warn&&n.error)&&(this.modules.logger=n),n.type==="languageDetector"&&(this.modules.languageDetector=n),n.type==="i18nFormat"&&(this.modules.i18nFormat=n),n.type==="postProcessor"&&NF.addPostProcessor(n),n.type==="3rdParty"&&this.modules.external.push(n),this}},{key:"changeLanguage",value:function(n,r){var o=this;this.isLanguageChangingTo=n;var i=ip();this.emit("languageChanging",n);var a=function(u){n||u||!o.services.languageDetector||(u=[]);var s=typeof u=="string"?u:o.services.languageUtils.getBestMatchFromCodes(u);s&&(o.language||(o.language=s,o.languages=o.services.languageUtils.toResolveHierarchy(s)),o.translator.language||o.translator.changeLanguage(s),o.services.languageDetector&&o.services.languageDetector.cacheUserLanguage(s)),o.loadResources(s,function(l){(function(c,f){f?(o.language=f,o.languages=o.services.languageUtils.toResolveHierarchy(f),o.translator.changeLanguage(f),o.isLanguageChangingTo=void 0,o.emit("languageChanged",f),o.logger.log("languageChanged",f)):o.isLanguageChangingTo=void 0,i.resolve(function(){return o.t.apply(o,arguments)}),r&&r(c,function(){return o.t.apply(o,arguments)})})(l,s)})};return n||!this.services.languageDetector||this.services.languageDetector.async?!n&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(a):a(n):a(this.services.languageDetector.detect()),i}},{key:"getFixedT",value:function(n,r,o){var i=this,a=function u(s,l){var c;if(Ia(l)!=="object"){for(var f=arguments.length,p=new Array(f>2?f-2:0),d=2;d<f;d++)p[d-2]=arguments[d];c=i.options.overloadTranslationOptionHandler([s,l].concat(p))}else c=bn({},l);c.lng=c.lng||u.lng,c.lngs=c.lngs||u.lngs,c.ns=c.ns||u.ns;var y=i.options.keySeparator||".",g=o?"".concat(o).concat(y).concat(s):s;return i.t(g,c)};return typeof n=="string"?a.lng=n:a.lngs=n,a.ns=r,a.keyPrefix=o,a}},{key:"t",value:function(){var n;return this.translator&&(n=this.translator).translate.apply(n,arguments)}},{key:"exists",value:function(){var n;return this.translator&&(n=this.translator).exists.apply(n,arguments)}},{key:"setDefaultNamespace",value:function(n){this.options.defaultNS=n}},{key:"hasLoadedNamespace",value:function(n){var r=this,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var i=this.languages[0],a=!!this.options&&this.options.fallbackLng,u=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;var s=function(c,f){var p=r.services.backendConnector.state["".concat(c,"|").concat(f)];return p===-1||p===2};if(o.precheck){var l=o.precheck(this,s);if(l!==void 0)return l}return!!this.hasResourceBundle(i,n)||!this.services.backendConnector.backend||!(!s(i,n)||a&&!s(u,n))}},{key:"loadNamespaces",value:function(n,r){var o=this,i=ip();return this.options.ns?(typeof n=="string"&&(n=[n]),n.forEach(function(a){o.options.ns.indexOf(a)<0&&o.options.ns.push(a)}),this.loadResources(function(a){i.resolve(),r&&r(a)}),i):(r&&r(),Promise.resolve())}},{key:"loadLanguages",value:function(n,r){var o=ip();typeof n=="string"&&(n=[n]);var i=this.options.preload||[],a=n.filter(function(u){return i.indexOf(u)<0});return a.length?(this.options.preload=i.concat(a),this.loadResources(function(u){o.resolve(),r&&r(u)}),o):(r&&r(),Promise.resolve())}},{key:"dir",value:function(n){return n||(n=this.languages&&this.languages.length>0?this.languages[0]:this.language),n?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"].indexOf(this.services.languageUtils.getLanguagePartFromCode(n))>=0?"rtl":"ltr":"rtl"}},{key:"createInstance",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new e(n,r)}},{key:"cloneInstance",value:function(){var n=this,r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Rv,i=bn({},this.options,r,{isClone:!0}),a=new e(i),u=["store","services","language"];return u.forEach(function(s){a[s]=n[s]}),a.services=bn({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new RF(a.services,a.options),a.translator.on("*",function(s){for(var l=arguments.length,c=new Array(l>1?l-1:0),f=1;f<l;f++)c[f-1]=arguments[f];a.emit.apply(a,[s].concat(c))}),a.init(i,o),a.translator.options=a.options,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages}}}]),e}(),bc=new xtt;function Er(t,e){bc.addResourceBundle(t,"translation",e,!0,!0)}function Zmt(t){bc.changeLanguage(t)}function Ymt(t){return bc.getResourceBundle(t,"translation")}bc.init({lng:"zh-CN",resources:{}});var nt=bc.t.bind(bc);Er("en",{editor:{more:"More",justify:"Justify",indent:"Indent",image:"Image",video:"Video"}}),Er("zh-CN",{editor:{more:"\u66F4\u591A",justify:"\u5BF9\u9F50",indent:"\u7F29\u8FDB",image:"\u56FE\u7247",video:"\u89C6\u9891"}});var Att=Rb?{}.toString:function(){return"[object "+tg(this)+"]"};Rb||ha(Object.prototype,"toString",Att,{unsafe:!0});var zF=Array.isArray||function(t){return Uu(t)=="Array"},$F=function(){},Ott=[],HF=$f("Reflect","construct"),GE=/^\s*(?:class|function)\b/,ktt=De(GE.exec),Btt=!GE.exec($F),ap=function(t){if(!pn(t))return!1;try{return HF($F,Ott,t),!0}catch(e){return!1}},Ftt=!HF||Tn(function(){var t;return ap(ap.call)||!ap(Object)||!ap(function(){t=!0})||t})?function(t){if(!pn(t))return!1;switch(tg(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Btt||!!ktt(GE,Fb(t))}:ap,Ttt=cr("species"),UF=Nt.Array,Ptt=function(t,e){return new(function(n){var r;return zF(n)&&(r=n.constructor,(Ftt(r)&&(r===UF||zF(r.prototype))||xo(r)&&(r=r[Ttt])===null)&&(r=void 0)),r===void 0?UF:r}(t))(e===0?0:e)},VF=De([].push),La=function(t){var e=t==1,n=t==2,r=t==3,o=t==4,i=t==6,a=t==7,u=t==5||i;return function(s,l,c,f){for(var p,d,y=xb(s),g=U8(y),v=SA(l,c),m=X0(g),h=0,b=f||Ptt,w=e?b(s,m):n||a?b(s,0):void 0;m>h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),t))if(e)w[h]=d;else if(d)switch(t){case 3:return!0;case 5:return p;case 6:return h;case 2:VF(w,p)}else switch(t){case 4:return!1;case 7:VF(w,p)}return i?-1:r||o?o:w}},jtt={forEach:La(0),map:La(1),filter:La(2),some:La(3),every:La(4),find:La(5),findIndex:La(6),filterReject:La(7)}.forEach,_tt=function(t,e){var n=[][t];return!!n&&Tn(function(){n.call(null,e||function(){throw 1},1)})}("forEach"),KE=_tt?[].forEach:function(t){return jtt(this,t,arguments.length>1?arguments[1]:void 0)},WF=function(t){if(t&&t.forEach!==KE)try{fr(t,"forEach",KE)}catch(e){t.forEach=KE}};for(var qE in ug)ug[qE]&&WF(Nt[qE]&&Nt[qE].prototype);WF(_A),Er("en",{common:{ok:"OK",delete:"Delete",enter:"Enter"},blockQuote:{title:"Quote"},codeBlock:{title:"Code block"},color:{color:"Font color",bgColor:"Back color",default:"Default color",clear:"Clear back color"},divider:{title:"Divider"},emotion:{title:"Emotion"},fontSize:{title:"Font size",default:"Default"},fontFamily:{title:"Font family",default:"Default"},fullScreen:{title:"Full screen"},header:{title:"Header",text:"Text"},image:{netImage:"Net image",delete:"Delete image",edit:"Edit image",viewLink:"View link",src:"Image src",desc:"Description",link:"Image link"},indent:{decrease:"Decrease",increase:"Increase"},justify:{left:"Left",right:"Right",center:"Center",justify:"Justify"},lineHeight:{title:"Line height",default:"Default"},link:{insert:"Insert link",text:"Link text",url:"Link source",unLink:"Unlink",edit:"Edit link",view:"View link"},textStyle:{bold:"Bold",clear:"Clear styles",code:"Inline code",italic:"Italic",sub:"Sub",sup:"Sup",through:"Through",underline:"Underline"},undo:{undo:"undo",redo:"Redo"},todo:{todo:"Todo"}}),Er("zh-CN",{common:{ok:"\u786E\u5B9A",delete:"\u5220\u9664",enter:"\u56DE\u8F66"},blockQuote:{title:"\u5F15\u7528"},codeBlock:{title:"\u4EE3\u7801\u5757"},color:{color:"\u6587\u5B57\u989C\u8272",bgColor:"\u80CC\u666F\u8272",default:"\u9ED8\u8BA4\u989C\u8272",clear:"\u6E05\u9664\u80CC\u666F\u8272"},divider:{title:"\u5206\u5272\u7EBF"},emotion:{title:"\u8868\u60C5"},fontSize:{title:"\u5B57\u53F7",default:"\u9ED8\u8BA4\u5B57\u53F7"},fontFamily:{title:"\u5B57\u4F53",default:"\u9ED8\u8BA4\u5B57\u4F53"},fullScreen:{title:"\u5168\u5C4F"},header:{title:"\u6807\u9898",text:"\u6B63\u6587"},image:{netImage:"\u7F51\u7EDC\u56FE\u7247",delete:"\u5220\u9664\u56FE\u7247",edit:"\u7F16\u8F91\u56FE\u7247",viewLink:"\u67E5\u770B\u94FE\u63A5",src:"\u56FE\u7247\u5730\u5740",desc:"\u56FE\u7247\u63CF\u8FF0",link:"\u56FE\u7247\u94FE\u63A5"},indent:{decrease:"\u51CF\u5C11\u7F29\u8FDB",increase:"\u589E\u52A0\u7F29\u8FDB"},justify:{left:"\u5DE6\u5BF9\u9F50",right:"\u53F3\u5BF9\u9F50",center:"\u5C45\u4E2D\u5BF9\u9F50",justify:"\u4E24\u7AEF\u5BF9\u9F50"},lineHeight:{title:"\u884C\u9AD8",default:"\u9ED8\u8BA4\u884C\u9AD8"},link:{insert:"\u63D2\u5165\u94FE\u63A5",text:"\u94FE\u63A5\u6587\u672C",url:"\u94FE\u63A5\u5730\u5740",unLink:"\u53D6\u6D88\u94FE\u63A5",edit:"\u4FEE\u6539\u94FE\u63A5",view:"\u67E5\u770B\u94FE\u63A5"},textStyle:{bold:"\u7C97\u4F53",clear:"\u6E05\u9664\u683C\u5F0F",code:"\u884C\u5185\u4EE3\u7801",italic:"\u659C\u4F53",sub:"\u4E0B\u6807",sup:"\u4E0A\u6807",through:"\u5220\u9664\u7EBF",underline:"\u4E0B\u5212\u7EBF"},undo:{undo:"\u64A4\u9500",redo:"\u91CD\u505A"},todo:{todo:"\u5F85\u529E"}});var Itt={type:"paragraph",renderElem:function(t,e,n){return Pt("p",null,e)}},Mv=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof ot.g!="undefined"?ot.g:typeof self!="undefined"?self:{};function zv(t){var e={exports:{}};return t(e,e.exports),e.exports}var Ra,$v,Hv=function(t){return t&&t.Math==Math&&t},zt=Hv(typeof globalThis=="object"&&globalThis)||Hv(typeof window=="object"&&window)||Hv(typeof self=="object"&&self)||Hv(typeof Mv=="object"&&Mv)||function(){return this}()||Function("return this")(),Ue=function(t){try{return!!t()}catch(e){return!0}},jo=!Ue(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),up=Function.prototype.call,Xe=up.bind?up.bind(up):function(){return up.apply(up,arguments)},GF={}.propertyIsEnumerable,KF=Object.getOwnPropertyDescriptor,Ntt=KF&&!GF.call({1:2},1)?function(t){var e=KF(this,t);return!!e&&e.enumerable}:GF,qF={f:Ntt},ZE=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},ZF=Function.prototype,YE=ZF.bind,XE=ZF.call,Ltt=YE&&YE.bind(XE),Ft=YE?function(t){return t&&Ltt(XE,t)}:function(t){return t&&function(){return XE.apply(t,arguments)}},Rtt=Ft({}.toString),Mtt=Ft("".slice),Ma=function(t){return Mtt(Rtt(t),8,-1)},JE=zt.Object,ztt=Ft("".split),Uv=Ue(function(){return!JE("z").propertyIsEnumerable(0)})?function(t){return Ma(t)=="String"?ztt(t,""):JE(t)}:JE,$tt=zt.TypeError,so=function(t){if(t==null)throw $tt("Can't call method on "+t);return t},wc=function(t){return Uv(so(t))},Un=function(t){return typeof t=="function"},lo=function(t){return typeof t=="object"?t!==null:Un(t)},Htt=function(t){return Un(t)?t:void 0},sp=function(t,e){return arguments.length<2?Htt(zt[t]):zt[t]&&zt[t][e]},YF=Ft({}.isPrototypeOf),QE=sp("navigator","userAgent")||"",XF=zt.process,JF=zt.Deno,QF=XF&&XF.versions||JF&&JF.version,tT=QF&&QF.v8;tT&&($v=(Ra=tT.split("."))[0]>0&&Ra[0]<4?1:+(Ra[0]+Ra[1])),!$v&&QE&&(!(Ra=QE.match(/Edge\/(\d+)/))||Ra[1]>=74)&&(Ra=QE.match(/Chrome\/(\d+)/))&&($v=+Ra[1]);var tS=$v,eS=!!Object.getOwnPropertySymbols&&!Ue(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&tS&&tS<41}),nS=eS&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Utt=zt.Object,rS=nS?function(t){return typeof t=="symbol"}:function(t){var e=sp("Symbol");return Un(e)&&YF(e.prototype,Utt(t))},Vtt=zt.String,eT=function(t){try{return Vtt(t)}catch(e){return"Object"}},Wtt=zt.TypeError,nT=function(t){if(Un(t))return t;throw Wtt(eT(t)+" is not a function")},Vv=function(t,e){var n=t[e];return n==null?void 0:nT(n)},Gtt=zt.TypeError,Ktt=Object.defineProperty,oS=function(t,e){try{Ktt(zt,t,{value:e,configurable:!0,writable:!0})}catch(n){zt[t]=e}return e},za=zt["__core-js_shared__"]||oS("__core-js_shared__",{}),iS=zv(function(t){(t.exports=function(e,n){return za[e]||(za[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),qtt=zt.Object,lp=function(t){return qtt(so(t))},Ztt=Ft({}.hasOwnProperty),co=Object.hasOwn||function(t,e){return Ztt(lp(t),e)},Ytt=0,Xtt=Math.random(),Jtt=Ft(1 .toString),rT=function(t){return"Symbol("+(t===void 0?"":t)+")_"+Jtt(++Ytt+Xtt,36)},cp=iS("wks"),Ds=zt.Symbol,oT=Ds&&Ds.for,Qtt=nS?Ds:Ds&&Ds.withoutSetter||rT,Mr=function(t){if(!co(cp,t)||!eS&&typeof cp[t]!="string"){var e="Symbol."+t;eS&&co(Ds,t)?cp[t]=Ds[t]:cp[t]=nS&&oT?oT(e):Qtt(e)}return cp[t]},tet=zt.TypeError,eet=Mr("toPrimitive"),aS=function(t){var e=function(n,r){if(!lo(n)||rS(n))return n;var o,i=Vv(n,eet);if(i){if(r===void 0&&(r="default"),o=Xe(i,n,r),!lo(o)||rS(o))return o;throw tet("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&Un(s=a.toString)&&!lo(l=Xe(s,a))||Un(s=a.valueOf)&&!lo(l=Xe(s,a))||u!=="string"&&Un(s=a.toString)&&!lo(l=Xe(s,a)))return l;throw Gtt("Can't convert object to primitive value")}(n,r)}(t,"string");return rS(e)?e:e+""},uS=zt.document,net=lo(uS)&&lo(uS.createElement),sS=function(t){return net?uS.createElement(t):{}},iT=!jo&&!Ue(function(){return Object.defineProperty(sS("div"),"a",{get:function(){return 7}}).a!=7}),aT=Object.getOwnPropertyDescriptor,lS={f:jo?aT:function(t,e){if(t=wc(t),e=aS(e),iT)try{return aT(t,e)}catch(n){}if(co(t,e))return ZE(!Xe(qF.f,t,e),t[e])}},ret=zt.String,oet=zt.TypeError,zr=function(t){if(lo(t))return t;throw oet(ret(t)+" is not an object")},iet=zt.TypeError,uT=Object.defineProperty,Ec={f:jo?uT:function(t,e,n){if(zr(t),e=aS(e),zr(n),iT)try{return uT(t,e,n)}catch(r){}if("get"in n||"set"in n)throw iet("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Sc=jo?function(t,e,n){return Ec.f(t,e,ZE(1,n))}:function(t,e,n){return t[e]=n,t},aet=Ft(Function.toString);Un(za.inspectSource)||(za.inspectSource=function(t){return aet(t)});var Wv,fp,Gv,cS=za.inspectSource,sT=zt.WeakMap,uet=Un(sT)&&/native code/.test(cS(sT)),lT=iS("keys"),cT=function(t){return lT[t]||(lT[t]=rT(t))},fS={},dS=zt.TypeError,set=zt.WeakMap;if(uet||za.state){var xs=za.state||(za.state=new set),cet=Ft(xs.get),fT=Ft(xs.has),fet=Ft(xs.set);Wv=function(t,e){if(fT(xs,t))throw new dS("Object already initialized");return e.facade=t,fet(xs,t,e),e},fp=function(t){return cet(xs,t)||{}},Gv=function(t){return fT(xs,t)}}else{var Cc=cT("state");fS[Cc]=!0,Wv=function(t,e){if(co(t,Cc))throw new dS("Object already initialized");return e.facade=t,Sc(t,Cc,e),e},fp=function(t){return co(t,Cc)?t[Cc]:{}},Gv=function(t){return co(t,Cc)}}var pS={set:Wv,get:fp,has:Gv,enforce:function(t){return Gv(t)?fp(t):Wv(t,{})},getterFor:function(t){return function(e){var n;if(!lo(e)||(n=fp(e)).type!==t)throw dS("Incompatible receiver, "+t+" required");return n}}},dT=Function.prototype,det=jo&&Object.getOwnPropertyDescriptor,hS=co(dT,"name"),Kv={EXISTS:hS,PROPER:hS&&function(){}.name==="something",CONFIGURABLE:hS&&(!jo||jo&&det(dT,"name").configurable)},dp=zv(function(t){var e=Kv.CONFIGURABLE,n=pS.get,r=pS.enforce,o=String(String).split("String");(t.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet,d=s&&s.name!==void 0?s.name:a;Un(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!co(u,"name")||e&&u.name!==d)&&Sc(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==zt?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:Sc(i,a,u)):f?i[a]=u:oS(a,u)})(Function.prototype,"toString",function(){return Un(this)&&n(this).source||cS(this)})}),pet=Math.ceil,het=Math.floor,Dc=function(t){var e=+t;return e!=e||e===0?0:(e>0?het:pet)(e)},get=Math.max,vet=Math.min,pp=function(t,e){var n=Dc(t);return n<0?get(n+e,0):vet(n,e)},met=Math.min,hp=function(t){return t>0?met(Dc(t),9007199254740991):0},qv=function(t){return hp(t.length)},pT=function(t){return function(e,n,r){var o,i=wc(e),a=qv(i),u=pp(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},hT={includes:pT(!0),indexOf:pT(!1)},yet=hT.indexOf,gT=Ft([].push),vT=function(t,e){var n,r=wc(t),o=0,i=[];for(n in r)!co(fS,n)&&co(r,n)&&gT(i,n);for(;e.length>o;)co(r,n=e[o++])&&(~yet(i,n)||gT(i,n));return i},Zv=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],bet=Zv.concat("length","prototype"),wet={f:Object.getOwnPropertyNames||function(t){return vT(t,bet)}},mT={f:Object.getOwnPropertySymbols},Eet=Ft([].concat),Cet=sp("Reflect","ownKeys")||function(t){var e=wet.f(zr(t)),n=mT.f;return n?Eet(e,n(t)):e},Det=function(t,e){for(var n=Cet(e),r=Ec.f,o=lS.f,i=0;i<n.length;i++){var a=n[i];co(t,a)||r(t,a,o(e,a))}},xet=/#|\.prototype\./,gp=function(t,e){var n=Oet[Aet(t)];return n==Bet||n!=ket&&(Un(e)?Ue(e):!!e)},Aet=gp.normalize=function(t){return String(t).replace(xet,".").toLowerCase()},Oet=gp.data={},ket=gp.NATIVE="N",Bet=gp.POLYFILL="P",Fet=gp,Tet=lS.f,xn=function(t,e){var n,r,o,i,a,u=t.target,s=t.global,l=t.stat;if(n=s?zt:l?zt[u]||oS(u,{}):(zt[u]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=Tet(n,r))&&a.value:n[r],!Fet(s?r:u+(l?".":"#")+r,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;Det(i,o)}(t.sham||o&&o.sham)&&Sc(i,"sham",!0),dp(n,r,i,t)}},yT=Ft(Ft.bind),Yv=Array.isArray||function(t){return Ma(t)=="Array"},bT={};bT[Mr("toStringTag")]="z";var gS=String(bT)==="[object z]",Pet=Mr("toStringTag"),jet=zt.Object,_et=Ma(function(){return arguments}())=="Arguments",vS=gS?Ma:function(t){var e,n,r;return t===void 0?"Undefined":t===null?"Null":typeof(n=function(o,i){try{return o[i]}catch(a){}}(e=jet(t),Pet))=="string"?n:_et?Ma(e):(r=Ma(e))=="Object"&&Un(e.callee)?"Arguments":r},wT=function(){},Iet=[],ET=sp("Reflect","construct"),mS=/^\s*(?:class|function)\b/,Net=Ft(mS.exec),Let=!mS.exec(wT),vp=function(t){if(!Un(t))return!1;try{return ET(wT,Iet,t),!0}catch(e){return!1}},yS=!ET||Ue(function(){var t;return vp(vp.call)||!vp(Object)||!vp(function(){t=!0})||t})?function(t){if(!Un(t))return!1;switch(vS(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Let||!!Net(mS,cS(t))}:vp,Ret=Mr("species"),ST=zt.Array,Met=function(t,e){return new(function(n){var r;return Yv(n)&&(r=n.constructor,(yS(r)&&(r===ST||Yv(r.prototype))||lo(r)&&(r=r[Ret])===null)&&(r=void 0)),r===void 0?ST:r}(t))(e===0?0:e)},CT=Ft([].push),$a=function(t){var e=t==1,n=t==2,r=t==3,o=t==4,i=t==6,a=t==7,u=t==5||i;return function(s,l,c,f){for(var p,d,y=lp(s),g=Uv(y),v=function(S,D){return nT(S),D===void 0?S:yT?yT(S,D):function(){return S.apply(D,arguments)}}(l,c),m=qv(g),h=0,b=f||Met,w=e?b(s,m):n||a?b(s,0):void 0;m>h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),t))if(e)w[h]=d;else if(d)switch(t){case 3:return!0;case 5:return p;case 6:return h;case 2:CT(w,p)}else switch(t){case 4:return!1;case 7:CT(w,p)}return i?-1:r||o?o:w}},Xv={forEach:$a(0),map:$a(1),filter:$a(2),some:$a(3),every:$a(4),find:$a(5),findIndex:$a(6),filterReject:$a(7)},zet=Mr("species"),bS=function(t){return tS>=51||!Ue(function(){var e=[];return(e.constructor={})[zet]=function(){return{foo:1}},e[t](Boolean).foo!==1})},$et=Xv.filter;xn({target:"Array",proto:!0,forced:!bS("filter")},{filter:function(t){return $et(this,t,arguments.length>1?arguments[1]:void 0)}});var Het=gS?{}.toString:function(){return"[object "+vS(this)+"]"};gS||dp(Object.prototype,"toString",Het,{unsafe:!0});var Jv,Uet=zt.String,Ve=function(t){if(vS(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Uet(t)},DT=function(){var t=zr(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},wS=zt.RegExp,ES=Ue(function(){var t=wS("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),Vet=ES||Ue(function(){return!wS("a","y").sticky}),xT={BROKEN_CARET:ES||Ue(function(){var t=wS("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),MISSED_STICKY:Vet,UNSUPPORTED_Y:ES},xc=Object.keys||function(t){return vT(t,Zv)},Wet=jo?Object.defineProperties:function(t,e){zr(t);for(var n,r=wc(e),o=xc(e),i=o.length,a=0;i>a;)Ec.f(t,n=o[a++],r[n]);return t},Get=sp("document","documentElement"),AT=cT("IE_PROTO"),SS=function(){},OT=function(t){return"<script>"+t+"</script>"},kT=function(t){t.write(OT("")),t.close();var e=t.parentWindow.Object;return t=null,e},Qv=function(){try{Jv=new ActiveXObject("htmlfile")}catch(r){}var t,e;Qv=typeof document!="undefined"?document.domain&&Jv?kT(Jv):((e=sS("iframe")).style.display="none",Get.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(OT("document.F=Object")),t.close(),t.F):kT(Jv);for(var n=Zv.length;n--;)delete Qv.prototype[Zv[n]];return Qv()};fS[AT]=!0;var BT,CS,FT=Object.create||function(t,e){var n;return t!==null?(SS.prototype=zr(t),n=new SS,SS.prototype=null,n[AT]=t):n=Qv(),e===void 0?n:Wet(n,e)},Ket=zt.RegExp,qet=Ue(function(){var t=Ket(".","s");return!(t.dotAll&&t.exec(`
  79. `)&&t.flags==="s")}),Zet=zt.RegExp,Yet=Ue(function(){var t=Zet("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),Xet=pS.get,Jet=iS("native-string-replace",String.prototype.replace),t1=RegExp.prototype.exec,DS=t1,Qet=Ft("".charAt),tnt=Ft("".indexOf),ent=Ft("".replace),xS=Ft("".slice),AS=(CS=/b*/g,Xe(t1,BT=/a/,"a"),Xe(t1,CS,"a"),BT.lastIndex!==0||CS.lastIndex!==0),TT=xT.BROKEN_CARET,OS=/()??/.exec("")[1]!==void 0;(AS||OS||TT||qet||Yet)&&(DS=function(t){var e,n,r,o,i,a,u,s=this,l=Xet(s),c=Ve(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=Xe(DS,f,c),s.lastIndex=f.lastIndex,e;var p=l.groups,d=TT&&s.sticky,y=Xe(DT,s),g=s.source,v=0,m=c;if(d&&(y=ent(y,"y",""),tnt(y,"g")===-1&&(y+="g"),m=xS(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&Qet(c,s.lastIndex-1)!==`
  80. `)&&(g="(?: "+g+")",m=" "+m,v++),n=new RegExp("^(?:"+g+")",y)),OS&&(n=new RegExp("^"+g+"$(?!\\s)",y)),AS&&(r=s.lastIndex),o=Xe(t1,d?n:s,m),d?o?(o.input=xS(o.input,v),o[0]=xS(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:AS&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),OS&&o&&o.length>1&&Xe(Jet,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&p)for(o.groups=a=FT(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var mp=DS;xn({target:"RegExp",proto:!0,forced:/./.exec!==mp},{exec:mp});var kS=Function.prototype,PT=kS.apply,nnt=kS.bind,jT=kS.call,_T=typeof Reflect=="object"&&Reflect.apply||(nnt?jT.bind(PT):function(){return jT.apply(PT,arguments)}),rnt=Mr("species"),BS=RegExp.prototype,FS=function(t,e,n,r){var o=Mr(t),i=!Ue(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!Ue(function(){var l=!1,c=/a/;return t==="split"&&((c={}).constructor={},c.constructor[rnt]=function(){return c},c.flags="",c[o]=/./[o]),c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=Ft(/./[o]),s=e(o,""[t],function(l,c,f,p,d){var y=Ft(l),g=c.exec;return g===mp||g===BS.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:y(f,c,p)}:{done:!1}});dp(String.prototype,t,s[0]),dp(BS,o,s[1])}r&&Sc(BS[o],"sham",!0)},ont=Ft("".charAt),IT=Ft("".charCodeAt),int=Ft("".slice),NT=function(t){return function(e,n){var r,o,i=Ve(so(e)),a=Dc(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=IT(i,a))<55296||r>56319||a+1===u||(o=IT(i,a+1))<56320||o>57343?t?ont(i,a):r:t?int(i,a,a+2):o-56320+(r-55296<<10)+65536}},ant=(NT(!1),NT(!0)),TS=function(t,e,n){return e+(n?ant(t,e).length:1)},unt=Math.floor,PS=Ft("".charAt),snt=Ft("".replace),jS=Ft("".slice),lnt=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,cnt=/\$([$&'`]|\d{1,2})/g,fnt=function(t,e,n,r,o,i){var a=n+t.length,u=r.length,s=cnt;return o!==void 0&&(o=lp(o),s=lnt),snt(i,s,function(l,c){var f;switch(PS(c,0)){case"$":return"$";case"&":return t;case"`":return jS(e,0,n);case"'":return jS(e,a);case"<":f=o[jS(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>u){var d=unt(p/10);return d===0?l:d<=u?r[d-1]===void 0?PS(c,1):r[d-1]+PS(c,1):l}f=r[p-1]}return f===void 0?"":f})},dnt=zt.TypeError,yp=function(t,e){var n=t.exec;if(Un(n)){var r=Xe(n,t,e);return r!==null&&zr(r),r}if(Ma(t)==="RegExp")return Xe(mp,t,e);throw dnt("RegExp#exec called on incompatible receiver")},_S=Mr("replace"),pnt=Math.max,hnt=Math.min,gnt=Ft([].concat),IS=Ft([].push),LT=Ft("".indexOf),RT=Ft("".slice),vnt="a".replace(/./,"$0")==="$0",MT=!!/./[_S]&&/./[_S]("a","$0")==="";FS("replace",function(t,e,n){var r=MT?"$":"$0";return[function(o,i){var a=so(this),u=o==null?void 0:Vv(o,_S);return u?Xe(u,o,a,i):Xe(e,Ve(a),o,i)},function(o,i){var a=zr(this),u=Ve(o);if(typeof i=="string"&&LT(i,r)===-1&&LT(i,"$<")===-1){var s=n(e,a,u,i);if(s.done)return s.value}var l=Un(i);l||(i=Ve(i));var c=a.global;if(c){var f=a.unicode;a.lastIndex=0}for(var p=[];;){var d=yp(a,u);if(d===null||(IS(p,d),!c))break;Ve(d[0])===""&&(a.lastIndex=TS(u,hp(a.lastIndex),f))}for(var y,g="",v=0,m=0;m<p.length;m++){for(var h=Ve((d=p[m])[0]),b=pnt(hnt(Dc(d.index),u.length),0),w=[],S=1;S<d.length;S++)IS(w,(y=d[S])===void 0?y:String(y));var D=d.groups;if(l){var C=gnt([h],w,b,u);D!==void 0&&IS(C,D);var O=Ve(_T(i,void 0,C))}else O=fnt(h,u,b,w,D,i);b>=v&&(g+=RT(u,v,b)+O,v=b+h.length)}return g+RT(u,v)}]},!!Ue(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$<a>")!=="7"})||!vnt||MT);var NS=Mr("unscopables"),LS=Array.prototype;LS[NS]==null&&Ec.f(LS,NS,{configurable:!0,value:FT(null)});var zT=function(t){LS[NS][t]=!0},mnt=Xv.find,$T=!0;"find"in[]&&Array(1).find(function(){$T=!1}),xn({target:"Array",proto:!0,forced:$T},{find:function(t){return mnt(this,t,arguments.length>1?arguments[1]:void 0)}}),zT("find");var ynt=Mr("match"),HT=function(t){var e;return lo(t)&&((e=t[ynt])!==void 0?!!e:Ma(t)=="RegExp")},bnt=zt.TypeError,wnt=Mr("species"),UT=function(t,e,n){var r=aS(e);r in t?Ec.f(t,r,ZE(0,n)):t[r]=n},Ent=zt.Array,Snt=Math.max,VT=function(t,e,n){for(var r=qv(t),o=pp(e,r),i=pp(n===void 0?r:n,r),a=Ent(Snt(i-o,0)),u=0;o<i;o++,u++)UT(a,u,t[o]);return a.length=u,a},Ac=xT.UNSUPPORTED_Y,Cnt=Math.min,WT=[].push,Dnt=Ft(/./.exec),Oc=Ft(WT),bp=Ft("".slice);FS("split",function(t,e,n){var r;return r="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(o,i){var a=Ve(so(this)),u=i===void 0?4294967295:i>>>0;if(u===0)return[];if(o===void 0)return[a];if(!HT(o))return Xe(e,a,o,u);for(var s,l,c,f=[],p=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(o.sticky?"y":""),d=0,y=new RegExp(o.source,p+"g");(s=Xe(mp,y,a))&&!((l=y.lastIndex)>d&&(Oc(f,bp(a,d,s.index)),s.length>1&&s.index<a.length&&_T(WT,f,VT(s,1)),c=s[0].length,d=l,f.length>=u));)y.lastIndex===s.index&&y.lastIndex++;return d===a.length?!c&&Dnt(y,"")||Oc(f,""):Oc(f,bp(a,d)),f.length>u?VT(f,0,u):f}:"0".split(void 0,0).length?function(o,i){return o===void 0&&i===0?[]:Xe(e,this,o,i)}:e,[function(o,i){var a=so(this),u=o==null?void 0:Vv(o,t);return u?Xe(u,o,a,i):Xe(r,Ve(a),o,i)},function(o,i){var a=zr(this),u=Ve(o),s=n(r,a,u,i,r!==e);if(s.done)return s.value;var l=function(w,S){var D,C=zr(w).constructor;return C===void 0||(D=zr(C)[wnt])==null?S:function(O){if(yS(O))return O;throw bnt(eT(O)+" is not a constructor")}(D)}(a,RegExp),c=a.unicode,f=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Ac?"g":"y"),p=new l(Ac?"^(?:"+a.source+")":a,f),d=i===void 0?4294967295:i>>>0;if(d===0)return[];if(u.length===0)return yp(p,u)===null?[u]:[];for(var y=0,g=0,v=[];g<u.length;){p.lastIndex=Ac?0:g;var m,h=yp(p,Ac?bp(u,g):u);if(h===null||(m=Cnt(hp(p.lastIndex+(Ac?g:0)),u.length))===y)g=TS(u,g,c);else{if(Oc(v,bp(u,y,g)),v.length===d)return v;for(var b=1;b<=h.length-1;b++)if(Oc(v,h[b]),v.length===d)return v;g=y=m}}return Oc(v,bp(u,y)),v}]},!!Ue(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),Ac);var RS=`
  81. \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,GT=Ft("".replace),e1="["+RS+"]",xnt=RegExp("^"+e1+e1+"*"),Ant=RegExp(e1+e1+"*$"),MS=function(t){return function(e){var n=Ve(so(e));return 1&t&&(n=GT(n,xnt,"")),2&t&&(n=GT(n,Ant,"")),n}},Ont={start:MS(1),end:MS(2),trim:MS(3)},knt=Kv.PROPER,Bnt=Ont.trim;function zS(t){return k("<div>"+t+"</div>").children().filter(function(e){return e.tagName!=="BR"}).length===0}function kc(t){return t.length===0?"":t[0].outerHTML}function Bc(t){return t.length?t[0].tagName.toLowerCase():""}function _o(t,e){for(var n="",r=(t.attr("style")||"").split(";"),o=r.length,i=0;i<o;i++){var a=r[i];if(a){var u=a.split(":");u[0].trim()===e&&(n=u[1].trim())}}return n}xn({target:"String",proto:!0,forced:Ue(function(){return!!RS.trim()||"\u200B\x85\u180E".trim()!=="\u200B\x85\u180E"||knt&&RS.trim.name!=="trim"})},{trim:function(){return Bnt(this)}}),xn({global:!0},{globalThis:zt}),Bg&&(k.fn.css=Bg),to&&(k.fn.append=to),l9&&(k.fn.prepend=l9),jl&&(k.fn.addClass=jl),_l&&(k.fn.removeClass=_l),Il&&(k.fn.hasClass=Il),Qo&&(k.fn.on=Qo),i9&&(k.fn.off=i9),Sa&&(k.fn.focus=Sa),Qr&&(k.fn.attr=Qr),xg&&(k.fn.removeAttr=xg),Ll&&(k.fn.hide=Ll),kg&&(k.fn.show=kg),Pg&&(k.fn.parents=Pg),Nl&&(k.fn.dataset=Nl),Jo&&(k.fn.val=Jo),Tg&&(k.fn.text=Tg),Ea&&(k.fn.html=Ea),zl&&(k.fn.children=zl),$l&&(k.fn.remove=$l),Ml&&(k.fn.find=Ml),Ag&&(k.fn.width=Ag),Og&&(k.fn.height=Og),u9&&(k.fn.filter=u9),Hl&&(k.fn.empty=Hl);var Fnt={selector:"p:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=k(t);return(e=e.filter(function(o){return!!ft.isText(o)||!!n.isInline(o)})).length===0&&(e=[{text:r.text().replace(/\s+/gm," ")}]),{type:"paragraph",children:e}}},$S=function(t,e){return $S=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},$S(t,e);/*! *****************************************************************************
  82. Copyright (c) Microsoft Corporation.
  83. Permission to use, copy, modify, and/or distribute this software for any
  84. purpose with or without fee is hereby granted.
  85. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  86. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  87. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  88. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  89. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  90. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  91. PERFORMANCE OF THIS SOFTWARE.
  92. ***************************************************************************** */};function Re(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}$S(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var Ha=function(){return Ha=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Ha.apply(this,arguments)};function Ua(t,e,n,r){return new(n||(n=Promise))(function(o,i){function a(l){try{s(r.next(l))}catch(c){i(c)}}function u(l){try{s(r.throw(l))}catch(c){i(c)}}function s(l){var c;l.done?o(l.value):(c=l.value,c instanceof n?c:new n(function(f){f(c)})).then(a,u)}s((r=r.apply(t,e||[])).next())})}function Va(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function u(s){return function(l){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||c[0]!==6&&c[0]!==2)){a=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(c[0]===6&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(f){c=[6,f],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([s,l])}}}function KT(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function se(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(e===void 0||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function qT(t){var e=se(E.nodes(t,{match:function(i){return t.children[0]===i},mode:"highest"}),1)[0];if(e==null)return!1;var n=e[0];if(!bt.isElement(n)||n.type==="paragraph"||et.string(n)!=="")return!1;var r=n.children,o=r===void 0?[]:r;return!!ft.isText(o[0])&&(I.setNodes(t,{type:"paragraph"}),!0)}var Tnt={renderElems:[Itt],elemsToHtml:[{type:"paragraph",elemToHtml:function(t,e){return e===""?"<p><br></p>":"<p>"+e+"</p>"}}],parseElemsHtml:[Fnt],editorPlugin:function(t){var e=t.deleteBackward,n=t.deleteForward;t.insertText,t.insertBreak;var r=t;return r.deleteBackward=function(o){qT(r)||e(o)},r.deleteForward=function(o){qT(r)||n(o)},r}},Pnt=/"/g,jnt=Ft("".replace),wp=function(t,e,n,r){var o=Ve(so(t)),i="<"+e;return n!==""&&(i+=" "+n+'="'+jnt(Ve(r),Pnt,"&quot;")+'"'),i+">"+o+"</"+e+">"},Ep=function(t){return Ue(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})};function HS(t,e){var n=e,r=t,o=r.bold,i=r.italic,a=r.underline;return o&&(n="<strong>"+n+"</strong>"),r.code&&(n="<code>"+n+"</code>"),i&&(n="<em>"+n+"</em>"),a&&(n="<u>"+n+"</u>"),r.through&&(n="<s>"+n+"</s>"),r.sub&&(n="<sub>"+n+"</sub>"),r.sup&&(n="<sup>"+n+"</sup>"),n}function As(t,e){return t.length!==0&&(!!t[0].matches(e)||t.find(e).length>0)}xn({target:"String",proto:!0,forced:Ep("bold")},{bold:function(){return wp(this,"b","","")}}),xn({target:"String",proto:!0,forced:Ep("italics")},{italics:function(){return wp(this,"i","","")}}),xn({target:"String",proto:!0,forced:Ep("sub")},{sub:function(){return wp(this,"sub","","")}}),xn({target:"String",proto:!0,forced:Ep("sup")},{sup:function(){return wp(this,"sup","","")}});var ZT={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},US=sS("span").classList,YT=US&&US.constructor&&US.constructor.prototype,_nt=YT===Object.prototype?void 0:YT,XT=function(t,e){var n=[][t];return!!n&&Ue(function(){n.call(null,e||function(){throw 1},1)})},Int=Xv.forEach,VS=XT("forEach")?[].forEach:function(t){return Int(this,t,arguments.length>1?arguments[1]:void 0)},JT=function(t){if(t&&t.forEach!==VS)try{Sc(t,"forEach",VS)}catch(e){t.forEach=VS}};for(var WS in ZT)ZT[WS]&&JT(zt[WS]&&zt[WS].prototype);function QT(t,e){return t.selection==null||!!se(E.nodes(t,{match:function(n){return A.getNodeType(n)==="pre"||!!E.isVoid(t,n)},universal:!0}),1)[0]}function Nnt(t,e){Object.keys(e).forEach(function(n){n!=="text"&&E.removeMark(t,n)})}JT(_nt),xn({target:"Object",stat:!0,forced:Ue(function(){xc(1)})},{keys:function(t){return xc(lp(t))}});var Os=function(){function t(){this.marksNeedToRemove=[],this.tag="button"}return t.prototype.getValue=function(e){var n=this.mark,r=E.marks(e);return r?r[n]:!!se(E.nodes(e,{match:function(o){return o[n]===!0}}),1)[0]},t.prototype.isActive=function(e){return!!this.getValue(e)},t.prototype.isDisabled=function(e){return QT(e,this.mark)},t.prototype.exec=function(e,n){var r=this.mark,o=this.marksNeedToRemove;n?e.removeMark(r):(e.addMark(r,!0),o&&o.forEach(function(i){return e.removeMark(i)}))},t}(),Lnt='<svg viewBox="0 0 1024 1024"><path d="M707.872 484.64A254.88 254.88 0 0 0 768 320c0-141.152-114.848-256-256-256H192v896h384c141.152 0 256-114.848 256-256a256.096 256.096 0 0 0-124.128-219.36zM384 192h101.504c55.968 0 101.504 57.408 101.504 128s-45.536 128-101.504 128H384V192z m159.008 640H384v-256h159.008c58.464 0 106.016 57.408 106.016 128s-47.552 128-106.016 128z"></path></svg>',Rnt='<svg viewBox="0 0 1024 1024"><path d="M704 64l128 0 0 416c0 159.072-143.264 288-320 288s-320-128.928-320-288l0-416 128 0 0 416c0 40.16 18.24 78.688 51.36 108.512 36.896 33.216 86.848 51.488 140.64 51.488s103.744-18.304 140.64-51.488c33.12-29.792 51.36-68.352 51.36-108.512l0-416zM192 832l640 0 0 128-640 0z"></path></svg>',Mnt='<svg viewBox="0 0 1024 1024"><path d="M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z"></path></svg>',znt='<svg viewBox="0 0 1024 1024"><path d="M1024 512v64h-234.496c27.52 38.496 42.496 82.688 42.496 128 0 70.88-36.672 139.04-100.576 186.976C672.064 935.488 594.144 960 512 960s-160.064-24.512-219.424-69.024C228.64 843.04 192 774.88 192 704h128c0 69.376 87.936 128 192 128s192-58.624 192-128-87.936-128-192-128H0v-64h299.52a385.984 385.984 0 0 1-6.944-5.024C228.64 459.04 192 390.88 192 320s36.672-139.04 100.576-186.976C351.936 88.512 429.856 64 512 64s160.064 24.512 219.424 69.024C795.328 180.96 832 249.12 832 320h-128c0-69.376-87.936-128-192-128s-192 58.624-192 128 87.936 128 192 128c78.976 0 154.048 22.688 212.48 64H1024z"></path></svg>',$nt='<svg viewBox="0 0 1024 1024"><path d="M576 736l96 96 320-320L672 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224z"></path></svg>',tP='<svg viewBox="0 0 1024 1024"><path d="M864 0a160 160 0 0 1 128 256l-64 64-224-224 64-64c26.752-20.096 59.968-32 96-32zM64 736l-64 288 288-64 592-592-224-224L64 736z m651.584-372.416l-448 448-55.168-55.168 448-448 55.168 55.168z"></path></svg>',eP='<svg viewBox="0 0 1024 1024"><path d="M924.402464 1023.068211H0.679665V99.345412h461.861399v98.909208H99.596867v725.896389h725.896389V561.206811h98.909208z" p-id="10909"></path><path d="M930.805104 22.977336l69.965436 69.965436-453.492405 453.492404-69.965435-69.901489z" p-id="10910"></path><path d="M1022.464381 304.030081h-98.917201V99.345412H709.230573V0.428211h313.233808z"></path></svg>',Hnt='<svg viewBox="0 0 1024 1024"><path d="M64 864h896v96H64zM360.58 576h302.85l81.53 224h102.16L579.24 64H444.77L176.89 800h102.16l81.53-224zM512 159.96L628.49 480H395.52L512 159.96z"></path></svg>',Unt='<svg viewBox="0 0 1024 1024"><path d="M510.030769 315.076923l84.676923 196.923077h-177.230769l76.8-196.923077h15.753846zM945.230769 157.538462v708.923076c0 43.323077-35.446154 78.769231-78.769231 78.769231H157.538462c-43.323077 0-78.769231-35.446154-78.769231-78.769231V157.538462c0-43.323077 35.446154-78.769231 78.769231-78.769231h708.923076c43.323077 0 78.769231 35.446154 78.769231 78.769231z m-108.307692 643.938461L600.615385 216.615385c-5.907692-11.815385-15.753846-19.692308-29.538462-19.692308h-139.815385c-11.815385 0-23.630769 7.876923-27.56923 19.692308l-216.615385 584.861538c-3.938462 11.815385 3.938462 25.6 17.723077 25.6h80.738462c11.815385 0 23.630769-9.846154 27.56923-21.661538l63.015385-175.261539h263.876923l68.923077 175.261539c3.938462 11.815385 15.753846 21.661538 27.569231 21.661538h80.738461c13.784615 0 23.630769-13.784615 19.692308-25.6z"></path></svg>',Vnt='<svg viewBox="0 0 1024 1024"><path d="M64 512h384v128h-128V1024h-128V640h-128z m896-256H708.2496v768h-136.4992V256H320V128h640z"></path></svg>',Wnt='<svg viewBox="0 0 1024 1024"><path d="M956.788364 152.110545h-24.110546l23.924364 9.029819 0.186182 121.018181h-65.070546l-86.574545-130.048H566.551273v650.14691l130.048 64.977454v65.163636h-390.050909v-65.163636l129.954909-64.977454V152.110545H198.283636L111.429818 282.065455H46.545455V69.259636C46.545455 33.792 82.664727 22.062545 98.955636 22.062545h812.683637c23.738182 0 45.056 15.173818 45.056 41.053091V169.425455v-17.221819z"></path></svg>',Gnt='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m256-512v384l-256-192z"></path></svg>',Knt='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',qnt='<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',Znt='<svg viewBox="0 0 1024 1024"><path d="M972.8 793.6v102.4H256v-102.4h716.8z m0-230.4v102.4H51.2v-102.4h921.6z m0-230.4v102.4H256v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',Ynt='<svg viewBox="0 0 1024 1024"><path d="M870.4 793.6v102.4H153.6v-102.4h716.8z m102.4-230.4v102.4H51.2v-102.4h921.6z m-102.4-230.4v102.4H153.6v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',Xnt='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>',Jnt='<svg viewBox="0 0 1024 1024"><path d="M768 206.016v50.016h128v64h-192V174.016l128-60V64h-128V0h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>',Qnt='<svg viewBox="0 0 1024 1024"><path d="M768 910.016v50.016h128v64h-192v-146.016l128-60V768h-128v-64h192v146.016zM676 256h-136L352 444 164 256H28l256 256-256 256h136L352 580 540 768h136l-256-256z"></path></svg>',trt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.mark="bold",n.title=nt("textStyle.bold"),n.iconSvg=Lnt,n.hotkey="mod+b",n}return Re(e,t),e}(Os),ert=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.mark="code",n.title=nt("textStyle.code"),n.iconSvg=$nt,n.hotkey="mod+e",n}return Re(e,t),e}(Os),nrt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.mark="italic",n.title=nt("textStyle.italic"),n.iconSvg=Mnt,n.hotkey="mod+i",n}return Re(e,t),e}(Os),rrt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.mark="through",n.title=nt("textStyle.through"),n.iconSvg=znt,n.hotkey="mod+shift+x",n}return Re(e,t),e}(Os),ort=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.mark="underline",n.title=nt("textStyle.underline"),n.iconSvg=Rnt,n.hotkey="mod+u",n}return Re(e,t),e}(Os),irt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.mark="sub",n.marksNeedToRemove=["sup"],n.title=nt("textStyle.sub"),n.iconSvg=Qnt,n.hotkey="",n}return Re(e,t),e}(Os),art=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.mark="sup",n.marksNeedToRemove=["sub"],n.title=nt("textStyle.sup"),n.iconSvg=Jnt,n.hotkey="",n}return Re(e,t),e}(Os),urt=function(){function t(){this.title=nt("textStyle.clear"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M969.382408 288.738615l-319.401123-270.852152a67.074236 67.074236 0 0 0-96.459139 5.74922l-505.931379 574.922021a68.35184 68.35184 0 0 0-17.886463 47.910169 74.101061 74.101061 0 0 0 24.274486 47.910168l156.50655 132.232065h373.060512L975.131628 383.281347a67.074236 67.074236 0 0 0-5.74922-96.459139z m-440.134747 433.746725H264.144729l-90.071117-78.572676c-5.74922-5.74922-12.137243-12.137243-12.137243-17.886463a36.411728 36.411728 0 0 1 5.749221-24.274485l210.804741-240.828447 265.102932 228.691204z m-439.495945 180.781036h843.218964a60.047411 60.047411 0 1 1 0 120.733624H89.751716a60.047411 60.047411 0 1 1 0-120.733624z m0 0"></path></svg>',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){return QT(e)},t.prototype.exec=function(e,n){var r,o,i=E.nodes(e,{match:function(s){return ft.isText(s)},universal:!0});try{for(var a=KT(i),u=a.next();!u.done;u=a.next())Nnt(e,u.value[0])}catch(s){r={error:s}}finally{try{u&&!u.done&&(o=a.return)&&o.call(a)}finally{if(r)throw r.error}}},t}(),srt={renderStyle:function(t,e){var n=t,r=n.bold,o=n.italic,i=n.underline,a=n.code,u=n.through,s=n.sub,l=n.sup,c=e;return r&&(c=Pt("strong",null,c)),a&&(c=Pt("code",null,c)),o&&(c=Pt("em",null,c)),i&&(c=Pt("u",null,c)),u&&(c=Pt("s",null,c)),s&&(c=Pt("sub",null,c)),l&&(c=Pt("sup",null,c)),c},menus:[{key:"bold",factory:function(){return new trt}},{key:"underline",factory:function(){return new ort}},{key:"italic",factory:function(){return new nrt}},{key:"through",factory:function(){return new rrt}},{key:"code",factory:function(){return new ert}},{key:"sub",factory:function(){return new irt}},{key:"sup",factory:function(){return new art}},{key:"clearStyle",factory:function(){return new urt}}],styleToHtml:function(t,e){if(!ft.isText(t))return e;if(zS(e))return HS(t,e);var n=k(e);if(Bc(n)==="br")return HS(t,"<br>");var r=n.html();return r=HS(t,r),n.html(r),kc(n)},parseStyleHtml:function(t,e,n){var r=k(t);if(!ft.isText(e))return e;var o=e;return As(r,"b,strong")&&(o.bold=!0),As(r,"i,em")&&(o.italic=!0),As(r,"u")&&(o.underline=!0),As(r,"s,strike")&&(o.through=!0),As(r,"sub")&&(o.sub=!0),As(r,"sup")&&(o.sup=!0),As(r,"code")&&(o.code=!0),o}};function Sp(t){return function(e,n,r){return Pt("h"+t,null,n)}}var lrt={type:"header1",renderElem:Sp(1)},crt={type:"header2",renderElem:Sp(2)},frt={type:"header3",renderElem:Sp(3)},drt={type:"header4",renderElem:Sp(4)},prt={type:"header5",renderElem:Sp(5)},hrt=Kv.PROPER,GS=RegExp.prototype,nP=GS.toString,grt=Ft(DT),vrt=Ue(function(){return nP.call({source:"a",flags:"b"})!="/a/b"}),mrt=hrt&&nP.name!="toString";(vrt||mrt)&&dp(RegExp.prototype,"toString",function(){var t=zr(this),e=Ve(t.source),n=t.flags;return"/"+e+"/"+Ve(n===void 0&&YF(GS,t)&&!("flags"in GS)?grt(t):n)},{unsafe:!0});var KS,yrt=zt.TypeError,rP=function(t){if(HT(t))throw yrt("The method doesn't accept regular expressions");return t},brt=Mr("match"),oP=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[brt]=!1,"/./"[t](e)}catch(r){}}return!1},wrt=lS.f,iP=Ft("".startsWith),Ert=Ft("".slice),Srt=Math.min,aP=oP("startsWith");function uP(t){var e=se(E.nodes(t,{match:function(o){return A.getNodeType(o).startsWith("header")},universal:!0}),1),n=e[0];if(n==null)return"paragraph";var r=se(n,1)[0];return A.getNodeType(r)}function sP(t){return t.selection==null||!se(E.nodes(t,{match:function(e){var n=A.getNodeType(e);return n==="paragraph"||!!n.startsWith("header")},universal:!0,mode:"highest"}),1)[0]}function lP(t,e){e&&I.setNodes(t,{type:e})}xn({target:"String",proto:!0,forced:!(!aP&&(KS=wrt(String.prototype,"startsWith"),KS&&!KS.writable)||aP)},{startsWith:function(t){var e=Ve(so(this));rP(t);var n=hp(Srt(arguments.length>1?arguments[1]:void 0,e.length)),r=Ve(t);return iP?iP(e,r,n):Ert(e,n,n+r.length)===r}});var Crt=function(){function t(){this.title=nt("header.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M960 960c-51.2 0-102.4-3.2-153.6-3.2-51.2 0-99.2 3.2-150.4 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 57.6-28.8 86.4-48 19.2-12.8 19.2-60.8 19.2-80v-224-19.2c-9.6-3.2-19.2-3.2-28.8-3.2H320c-9.6 0-19.2 0-28.8 3.2V780.8c0 22.4 0 80 22.4 92.8 28.8 19.2 96-6.4 96 44.8 0 16-9.6 41.6-28.8 41.6-54.4 0-105.6-3.2-160-3.2-48 0-96 3.2-147.2 3.2-19.2 0-28.8-22.4-28.8-38.4 0-51.2 51.2-28.8 80-48 19.2-12.8 19.2-60.8 19.2-83.2V294.4c0-28.8 3.2-115.2-22.4-131.2-25.6-16-86.4 9.6-86.4-41.6 0-16 6.4-41.6 28.8-41.6 51.2 0 105.6 3.2 156.8 3.2 48 0 96-3.2 144-3.2 19.2 0 28.8 22.4 28.8 41.6 0 48-57.6 25.6-83.2 41.6-19.2 12.8-19.2 73.6-19.2 92.8v201.6c6.4 3.2 16 3.2 22.4 3.2h400c6.4 0 12.8 0 22.4-3.2V256c0-22.4 0-80-19.2-92.8-28.8-16-86.4 6.4-86.4-41.6 0-16 9.6-41.6 28.8-41.6 51.2 0 99.2 3.2 150.4 3.2 48 0 99.2-3.2 147.2-3.2 19.2 0 28.8 22.4 28.8 41.6 0 51.2-57.6 25.6-86.4 41.6-19.2 12.8-19.2 70.4-19.2 92.8v537.6c0 19.2 0 67.2 19.2 80 28.8 19.2 89.6-6.4 89.6 44.8 0 19.2-6.4 41.6-28.8 41.6z"></path></svg>',this.tag="select",this.width=60}return t.prototype.getOptions=function(e){var n=[{value:"header1",text:"H1",styleForRenderMenuList:{"font-size":"32px","font-weight":"bold"}},{value:"header2",text:"H2",styleForRenderMenuList:{"font-size":"24px","font-weight":"bold"}},{value:"header3",text:"H3",styleForRenderMenuList:{"font-size":"18px","font-weight":"bold"}},{value:"header4",text:"H4",styleForRenderMenuList:{"font-size":"16px","font-weight":"bold"}},{value:"header5",text:"H5",styleForRenderMenuList:{"font-size":"13px","font-weight":"bold"}},{value:"paragraph",text:nt("header.text")}],r=this.getValue(e).toString();return n.forEach(function(o){o.value===r?o.selected=!0:delete o.selected}),n},t.prototype.isActive=function(e){return!1},t.prototype.getValue=function(e){return uP(e)},t.prototype.isDisabled=function(e){return sP(e)},t.prototype.exec=function(e,n){lP(e,n.toString())},t}(),Cp=function(){function t(){this.tag="button"}return t.prototype.getValue=function(e){return uP(e)},t.prototype.isActive=function(e){return this.getValue(e)===this.type},t.prototype.isDisabled=function(e){return sP(e)},t.prototype.exec=function(e,n){var r=this.type;lP(e,n===r?"paragraph":r)},t}(),Drt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title="H1",n.type="header1",n}return Re(e,t),e}(Cp),xrt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title="H2",n.type="header2",n}return Re(e,t),e}(Cp),Art=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title="H3",n.type="header3",n}return Re(e,t),e}(Cp),Ort=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title="H4",n.type="header4",n}return Re(e,t),e}(Cp),krt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title="H5",n.type="header5",n}return Re(e,t),e}(Cp),Brt={key:"headerSelect",factory:function(){return new Crt}},Frt={key:"header1",factory:function(){return new Drt}},Trt={key:"header2",factory:function(){return new xrt}},Prt={key:"header3",factory:function(){return new Art}},jrt={key:"header4",factory:function(){return new Ort}},_rt={key:"header5",factory:function(){return new krt}};function Dp(t){return function(e,n){return"<h"+t+">"+n+"</h"+t+">"}}function xp(t){return function(e,n,r){var o=k(e);return(n=n.filter(function(i){return!!ft.isText(i)||!!r.isInline(i)})).length===0&&(n=[{text:o.text().replace(/\s+/gm," ")}]),{type:"header"+t,children:n}}}var Irt={renderElems:[lrt,crt,frt,drt,prt],elemsToHtml:[{type:"header1",elemToHtml:Dp(1)},{type:"header2",elemToHtml:Dp(2)},{type:"header3",elemToHtml:Dp(3)},{type:"header4",elemToHtml:Dp(4)},{type:"header5",elemToHtml:Dp(5)}],parseElemsHtml:[{selector:"h1:not([data-w-e-type])",parseElemHtml:xp(1)},{selector:"h2:not([data-w-e-type])",parseElemHtml:xp(2)},{selector:"h3:not([data-w-e-type])",parseElemHtml:xp(3)},{selector:"h4:not([data-w-e-type])",parseElemHtml:xp(4)},{selector:"h5:not([data-w-e-type])",parseElemHtml:xp(5)}],menus:[Brt,Frt,Trt,Prt,jrt,_rt],editorPlugin:function(t){var e=t.insertBreak;t.insertNode;var n=t;return n.insertBreak=function(){var r=se(E.nodes(n,{match:function(o){return A.getNodeType(o).startsWith("header")},universal:!0}),1)[0];r&&A.isSelectionAtLineEnd(t,r[1])?I.insertNodes(n,{type:"paragraph",children:[{text:""}]},{mode:"highest"}):e()},n}},Fc=Object.assign,cP=Object.defineProperty,Nrt=Ft([].concat),fP=!Fc||Ue(function(){if(jo&&Fc({b:1},Fc(cP({},"a",{enumerable:!0,get:function(){cP(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(o){e[o]=o}),Fc({},t)[n]!=7||xc(Fc({},e)).join("")!=r})?function(t,e){for(var n=lp(t),r=arguments.length,o=1,i=mT.f,a=qF.f;r>o;)for(var u,s=Uv(arguments[o++]),l=i?Nrt(xc(s),i(s)):xc(s),c=l.length,f=0;c>f;)u=l[f++],jo&&!Xe(a,s,u)||(n[u]=s[u]);return n}:Fc;function ks(t,e){t.data==null&&(t.data={});var n=t.data;n.style==null&&(n.style={}),Object.assign(n.style,e)}xn({target:"Object",stat:!0,forced:Object.assign!==fP},{assign:fP});var Lrt={selector:"font",preParseHtml:function(t){var e=k(t);if(Bc(e)!=="font")return t;var n=e.attr("color")||"";return n&&(e.removeAttr("color"),e.css("color",n)),e[0]}},dP=function(){function t(){this.tag="button",this.showDropPanel=!0,this.$content=null}return t.prototype.exec=function(e,n){},t.prototype.getValue=function(e){var n=this.mark,r=E.marks(e);return r&&r[n]?r[n]:""},t.prototype.isActive=function(e){return!!this.getValue(e)},t.prototype.isDisabled=function(e){return e.selection==null||!!se(E.nodes(e,{match:function(n){return A.getNodeType(n)==="pre"||!!E.isVoid(e,n)},universal:!0}),1)[0]},t.prototype.getPanelContentElem=function(e){var n=this.mark;if(this.$content==null){var r=k('<ul class="w-e-panel-content-color"></ul>');r.on("click","li",function(l){var c=l.target;if(c!=null&&(l.preventDefault(),e.selection!=null)){var f=k(c).attr("data-value");f==="0"?E.removeMark(e,n):E.addMark(e,n,f)}}),this.$content=r}var o=this.$content;if(o==null)return document.createElement("ul");o.empty();var i=this.getValue(e),a=e.getMenuConfig(n).colors;(a===void 0?[]:a).forEach(function(l){var c=k('<div class="color-block" data-value="'+l+'"></div>');c.css("background-color",l);var f=k('<li data-value="'+l+'"></li>');i===l&&f.addClass("active"),f.append(c),o.append(f)});var u="";n==="color"&&(u=nt("color.default")),n==="bgColor"&&(u=nt("color.clear"));var s=k(`
  93. <li data-value="0" class="clear">
  94. <svg viewBox="0 0 1024 1024"><path d="M236.8 128L896 787.2V128H236.8z m614.4 704L192 172.8V832h659.2zM192 64h704c38.4 0 64 25.6 64 64v704c0 38.4-25.6 64-64 64H192c-38.4 0-64-25.6-64-64V128c0-38.4 25.6-64 64-64z"></path></svg>
  95. `+u+`
  96. </li>
  97. `);return o.prepend(s),o[0]},t}(),Rrt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=nt("color.color"),n.iconSvg=Hnt,n.mark="color",n}return Re(e,t),e}(dP),Mrt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=nt("color.bgColor"),n.iconSvg=Unt,n.mark="bgColor",n}return Re(e,t),e}(dP),pP=["rgb(0, 0, 0)","rgb(38, 38, 38)","rgb(89, 89, 89)","rgb(140, 140, 140)","rgb(191, 191, 191)","rgb(217, 217, 217)","rgb(233, 233, 233)","rgb(245, 245, 245)","rgb(250, 250, 250)","rgb(255, 255, 255)","rgb(225, 60, 57)","rgb(231, 95, 51)","rgb(235, 144, 58)","rgb(245, 219, 77)","rgb(114, 192, 64)","rgb(89, 191, 192)","rgb(66, 144, 247)","rgb(54, 88, 226)","rgb(106, 57, 201)","rgb(216, 68, 147)","rgb(251, 233, 230)","rgb(252, 237, 225)","rgb(252, 239, 212)","rgb(252, 251, 207)","rgb(231, 246, 213)","rgb(218, 244, 240)","rgb(217, 237, 250)","rgb(224, 232, 250)","rgb(237, 225, 248)","rgb(246, 226, 234)","rgb(255, 163, 158)","rgb(255, 187, 150)","rgb(255, 213, 145)","rgb(255, 251, 143)","rgb(183, 235, 143)","rgb(135, 232, 222)","rgb(145, 213, 255)","rgb(173, 198, 255)","rgb(211, 173, 247)","rgb(255, 173, 210)","rgb(255, 77, 79)","rgb(255, 122, 69)","rgb(255, 169, 64)","rgb(255, 236, 61)","rgb(115, 209, 61)","rgb(54, 207, 201)","rgb(64, 169, 255)","rgb(89, 126, 247)","rgb(146, 84, 222)","rgb(247, 89, 171)","rgb(207, 19, 34)","rgb(212, 56, 13)","rgb(212, 107, 8)","rgb(212, 177, 6)","rgb(56, 158, 13)","rgb(8, 151, 156)","rgb(9, 109, 217)","rgb(29, 57, 196)","rgb(83, 29, 171)","rgb(196, 29, 127)","rgb(130, 0, 20)","rgb(135, 20, 0)","rgb(135, 56, 0)","rgb(97, 71, 0)","rgb(19, 82, 0)","rgb(0, 71, 79)","rgb(0, 58, 140)","rgb(6, 17, 120)","rgb(34, 7, 94)","rgb(120, 6, 80)"],zrt={renderStyle:function(t,e){var n=t,r=n.color,o=n.bgColor,i=e;return r&&ks(i,{color:r}),o&&ks(i,{backgroundColor:o}),i},styleToHtml:function(t,e){if(!ft.isText(t))return e;var n,r=t,o=r.color,i=r.bgColor;return o||i?((zS(e)||Bc(n=k(e))!=="span")&&(n=k("<span>"+e+"</span>")),o&&n.css("color",o),i&&n.css("background-color",i),kc(n)):e},preParseHtml:[Lrt],parseStyleHtml:function(t,e,n){var r=k(t);if(!ft.isText(e))return e;var o=e,i=_o(r,"color");i&&(o.color=i);var a=_o(r,"background-color");return a||(a=_o(r,"background")),a&&(o.bgColor=a),o},menus:[{key:"color",factory:function(){return new Rrt},config:{colors:pP}},{key:"bgColor",factory:function(){return new Mrt},config:{colors:pP}}]},$rt=/^(?:\w+:)?\/\/(\S+)$/,Hrt=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,Urt=/^[^\s\.]+\.\S{2,}$/,Vrt=hT.includes;function n1(t){return t===void 0&&(t="r"),t+"-"+v9()}function qS(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;")}function hP(t,e,n,r){return Ua(this,void 0,void 0,function(){var o,i;return Va(this,function(a){switch(a.label){case 0:return(o=e.getMenuConfig(t).checkLink)?[4,o(n,r)]:[3,2];case 1:if(typeof(i=a.sent())=="string")return e.alert(i,"error"),[2,!1];if(i==null)return[2,!1];a.label=2;case 2:return[2,!0]}})})}function gP(t,e,n){return Ua(this,void 0,void 0,function(){var r;return Va(this,function(o){switch(o.label){case 0:return(r=e.getMenuConfig(t).parseLinkUrl)?[4,r(n)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,n]}})})}function ZS(t){return t.selection==null||!!A.getSelectedElems(t).some(function(e){var n=e.type;return!!t.isVoid(e)||!!["pre","code","link"].includes(n)||void 0})}function YS(t,e){return{type:"link",url:qS(t),children:e?[{text:e}]:[]}}function vP(t,e,n){return Ua(this,void 0,void 0,function(){var r,o,i;return Va(this,function(a){switch(a.label){case 0:return n?(e||(e=n),t.restoreSelection(),ZS(t)?[2]:[4,hP("insertLink",t,e,n)]):[2];case 1:return a.sent()?[4,gP("insertLink",t,n)]:[2];case 2:return r=a.sent(),(o=t.selection)==null||(M.isCollapsed(o)?(t.insertText(" "),i=YS(r,e),I.insertNodes(t,i),t.insertFragment([{text:" "}])):E.string(t,o)!==e?(t.deleteFragment(),i=YS(r,e),I.insertNodes(t,i)):(i=YS(r),I.wrapNodes(t,i,{split:!0}),I.collapse(t,{edge:"end"}))),[2]}})})}xn({target:"Array",proto:!0},{includes:function(t){return Vrt(this,t,arguments.length>1?arguments[1]:void 0)}}),zT("includes");var Wrt={type:"link",renderElem:function(t,e,n){var r=t,o=r.url,i=r.target;return Pt("a",{href:o,target:i===void 0?"_blank":i},e)}},Grt={selector:"a:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=k(t);return(e=e.filter(function(o){return!!ft.isText(o)||!!n.isInline(o)})).length===0&&(e=[{text:r.text().replace(/\s+/gm," ")}]),{type:"link",url:r.attr("href")||"",target:r.attr("target")||"",children:e}}};function XS(){return n1("w-e-insert-link")}var Krt=function(){function t(){this.title=nt("link.insert"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M440.224 635.776a51.84 51.84 0 0 1-36.768-15.232c-95.136-95.136-95.136-249.92 0-345.056l192-192C641.536 37.408 702.816 12.032 768 12.032s126.432 25.376 172.544 71.456c95.136 95.136 95.136 249.92 0 345.056l-87.776 87.776a51.968 51.968 0 1 1-73.536-73.536l87.776-87.776a140.16 140.16 0 0 0 0-197.984c-26.432-26.432-61.6-40.992-99.008-40.992s-72.544 14.56-99.008 40.992l-192 192a140.16 140.16 0 0 0 0 197.984 51.968 51.968 0 0 1-36.768 88.768z"></path><path d="M256 1012a242.4 242.4 0 0 1-172.544-71.456c-95.136-95.136-95.136-249.92 0-345.056l87.776-87.776a51.968 51.968 0 1 1 73.536 73.536l-87.776 87.776a140.16 140.16 0 0 0 0 197.984c26.432 26.432 61.6 40.992 99.008 40.992s72.544-14.56 99.008-40.992l192-192a140.16 140.16 0 0 0 0-197.984 51.968 51.968 0 1 1 73.536-73.536c95.136 95.136 95.136 249.92 0 345.056l-192 192A242.4 242.4 0 0 1 256 1012z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.textInputId=XS(),this.urlInputId=XS(),this.buttonId=XS()}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.exec=function(e,n){},t.prototype.isDisabled=function(e){return ZS(e)},t.prototype.getModalPositionNode=function(e){return null},t.prototype.getModalContentElem=function(e){var n=e.selection,r=this,o=r.textInputId,i=r.urlInputId,a=r.buttonId,u=se(Lr(nt("link.text"),o),2),s=u[0],l=k(u[1]),c=se(Lr(nt("link.url"),i),2),f=c[0],p=k(c[1]),d=se(vc(a,nt("common.ok")),1)[0];if(this.$content==null){var y=k("<div></div>");y.on("click","#"+a,function(m){m.preventDefault();var h=y.find("#"+o).val(),b=y.find("#"+i).val();vP(e,h,b),e.hidePanelOrModal()}),this.$content=y}var g=this.$content;if(g.empty(),g.append(s),g.append(f),g.append(d),n==null||M.isCollapsed(n))l.val("");else{var v=E.string(e,n);l.val(v)}return p.val(""),setTimeout(function(){l.focus()}),g[0]},t}();function mP(){return n1("w-e-update-link")}var qrt=function(){function t(){this.title=nt("link.edit"),this.iconSvg=tP,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.urlInputId=mP(),this.buttonId=mP()}return t.prototype.getSelectedLinkElem=function(e){var n=A.getSelectedNodeByType(e,"link");return n==null?null:n},t.prototype.getValue=function(e){var n=this.getSelectedLinkElem(e);return n&&n.url||""},t.prototype.isActive=function(e){return!1},t.prototype.exec=function(e,n){},t.prototype.isDisabled=function(e){return e.selection==null||this.getSelectedLinkElem(e)==null},t.prototype.getModalPositionNode=function(e){return A.getSelectedNodeByType(e,"link")},t.prototype.getModalContentElem=function(e){var n=this.urlInputId,r=this.buttonId,o=se(Lr(nt("link.url"),n),2),i=o[0],a=k(o[1]),u=se(vc(r,nt("common.ok")),1)[0];if(this.$content==null){var s=k("<div></div>");s.on("click","button",function(f){f.preventDefault(),e.restoreSelection();var p=A.getSelectedNodeByType(e,"link"),d=p?et.string(p):"",y=s.find("#"+n).val();(function(g,v,m){Ua(this,void 0,void 0,function(){var h,b;return Va(this,function(w){switch(w.label){case 0:return m?[4,hP("editLink",g,v,m)]:[2];case 1:return w.sent()?[4,gP("editLink",g,m)]:[2];case 2:return h=w.sent(),b={url:qS(h)},I.setNodes(g,b,{match:function(S){return A.checkNodeType(S,"link")}}),[2]}})})})(e,d,y),e.hidePanelOrModal()}),this.$content=s}var l=this.$content;l.empty(),l.append(i),l.append(u);var c=this.getValue(e);return a.val(c),setTimeout(function(){a.focus()}),l[0]},t}(),Zrt=function(){function t(){this.title=nt("link.unLink"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M608.16328 811.815036c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.347563 89.347564c-118.525421 118.523421-311.38448 118.531421-429.919901 0-118.527421-118.529421-118.527421-311.39048 0-429.917901l89.349564-89.349563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.195613 79.195613c9.371954 9.371954 9.371954 24.56788 0 33.941834l-89.349563 89.347564c-56.143726 56.145726-56.143726 147.49928 0 203.645005 56.143726 56.143726 147.49928 56.145726 203.647005 0l89.347564-89.347563c9.371954-9.371954 24.56788-9.371954 33.941834 0l79.193613 79.195613z m-113.135447-520.429459c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.347564-89.347564c56.143726-56.149726 147.49928-56.145726 203.647006 0 56.143726 56.145726 56.143726 147.49928 0 203.645006l-89.349564 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.195613 79.195613c9.371954 9.371954 24.56788 9.371954 33.941834 0l89.349564-89.349563c118.529421-118.529421 118.529421-311.38848 0-429.917901-118.531421-118.527421-311.38848-118.527421-429.919901 0l-89.347563 89.347564c-9.371954 9.371954-9.371954 24.56788 0 33.941834l79.193613 79.195613z m469.653707 718.556492l45.253779-45.253779c18.745908-18.745908 18.745908-49.13776 0-67.881669L127.195629 14.062931c-18.745908-18.745908-49.13776-18.745908-67.881669 0L14.058181 59.31871c-18.745908 18.745908-18.745908 49.13776 0 67.881669l882.74169 882.74169c18.745908 18.743908 49.13776 18.743908 67.881669 0z"></path></svg>',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){return e.selection==null||A.getSelectedNodeByType(e,"link")==null},t.prototype.exec=function(e,n){this.isDisabled(e)||I.unwrapNodes(e,{match:function(r){return A.checkNodeType(r,"link")}})},t}(),Yrt=function(){function t(){this.title=nt("link.view"),this.iconSvg=eP,this.tag="button"}return t.prototype.getSelectedLinkElem=function(e){var n=A.getSelectedNodeByType(e,"link");return n==null?null:n},t.prototype.getValue=function(e){var n=this.getSelectedLinkElem(e);return n&&n.url||""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){return e.selection==null||this.getSelectedLinkElem(e)==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){if(!n||typeof n!="string")throw new Error("View link failed, link url is '"+n+"'");window.open(n,"_blank")}},t}(),yP={checkLink:function(t,e){return!0},parseLinkUrl:function(t){return t}},Xrt={renderElems:[Wrt],elemsToHtml:[{type:"link",elemToHtml:function(t,e){var n=t,r=n.url,o=n.target;return'<a href="'+r+'" target="'+(o===void 0?"_blank":o)+'">'+e+"</a>"}}],parseElemsHtml:[Grt],menus:[{key:"insertLink",factory:function(){return new Krt},config:yP},{key:"editLink",factory:function(){return new qrt},config:yP},{key:"unLink",factory:function(){return new Zrt}},{key:"viewLink",factory:function(){return new Yrt}}],editorPlugin:function(t){var e=t.isInline,n=t.insertData,r=t.normalizeNode;t.insertNode,t.insertText;var o=t;return o.isInline=function(i){return i.type==="link"||e(i)},o.insertData=function(i){var a=i.getData("text/plain");if(function(l){if(typeof l!="string")return!1;var c=l.match($rt);if(!c)return!1;var f=c[1];return!(!f||!Hrt.test(f)&&!Urt.test(f))}(a)){if(!ZS(o)){var u=o.selection;if(u!=null){var s=E.string(o,u);vP(o,s,a)}}}else n(i)},o.normalizeNode=function(i){var a=se(i,2),u=a[0],s=a[1];return A.getNodeType(u)!=="link"?r([u,s]):et.string(u)===""?I.removeNodes(o,{at:s}):r([u,s])},o}},Jrt=Ft(1 .valueOf),Qrt=zt.RangeError,tot=zt.RangeError,bP=zt.String,wP=Math.floor,JS=Ft(function(t){var e=Ve(so(this)),n="",r=Dc(t);if(r<0||r==1/0)throw Qrt("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n}),EP=Ft("".slice),Ap=Ft(1 .toFixed),Tc=function(t,e,n){return e===0?n:e%2==1?Tc(t,e-1,n*t):Tc(t*t,e/2,n)},Pc=function(t,e,n){for(var r=-1,o=n;++r<6;)o+=e*t[r],t[r]=o%1e7,o=wP(o/1e7)},QS=function(t,e){for(var n=6,r=0;--n>=0;)r+=t[n],t[n]=wP(r/e),r=r%e*1e7},SP=function(t){for(var e=6,n="";--e>=0;)if(n!==""||e===0||t[e]!==0){var r=bP(t[e]);n=n===""?r:n+JS("0",7-r.length)+r}return n};function CP(t,e){return"w-e-image-container-"+A.findKey(t,e).id}xn({target:"Number",proto:!0,forced:Ue(function(){return Ap(8e-5,3)!=="0.000"||Ap(.9,0)!=="1"||Ap(1.255,2)!=="1.25"||Ap(1000000000000000100,0)!=="1000000000000000128"})||!Ue(function(){Ap({})})},{toFixed:function(t){var e,n,r,o,i=Jrt(this),a=Dc(t),u=[0,0,0,0,0,0],s="",l="0";if(a<0||a>20)throw tot("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return bP(i);if(i<0&&(s="-",i=-i),i>1e-21)if(n=(e=function(c){for(var f=0,p=c;p>=4096;)f+=12,p/=4096;for(;p>=2;)f+=1,p/=2;return f}(i*Tc(2,69,1))-69)<0?i*Tc(2,-e,1):i/Tc(2,e,1),n*=4503599627370496,(e=52-e)>0){for(Pc(u,0,n),r=a;r>=7;)Pc(u,1e7,0),r-=7;for(Pc(u,Tc(10,r,1),0),r=e-1;r>=23;)QS(u,1<<23),r-=23;QS(u,1<<r),Pc(u,1,1),QS(u,2),l=SP(u)}else Pc(u,0,n),Pc(u,1<<-e,0),l=SP(u)+JS("0",a);return a>0?s+((o=l.length)<=a?"0."+JS("0",a-o)+l:EP(l,0,o-a)+"."+EP(l,o-a)):s+l}});var eot={type:"image",renderElem:function(t,e,n){var r=t,o=r.src,i=r.alt,a=i===void 0?"":i,u=r.href,s=u===void 0?"":u,l=r.style,c=l===void 0?{}:l,f=c.width,p=f===void 0?"":f,d=c.height,y=d===void 0?"":d,g=A.isNodeSelected(n,t),v={};p&&(v.width="100%"),y&&(v.height="100%");var m=Pt("img",{style:v,src:o,alt:a,"data-href":s}),h=n.isDisabled();return g&&!h?function(b,w,S,D){var C=k("body"),O=CP(b,w),T=D.width,L=D.height,z=0,$=0,Y=0,G=!1,K=null;function Z(gt){K=function(){var j=k("#"+O);if(j.length===0)throw new Error("Cannot find image container elem");return j}(),z=gt;var B=K.find("img");if(B.length===0)throw new Error("Cannot find image elem");$=B.width(),Y=B.height(),C.on("mousemove",ut),C.on("mouseup",yt);var x=A.getHoverbar(b);x&&x.hideAndClean()}var ut=ns(function(gt){gt.preventDefault();var B=gt.clientX,x=$+(G?z-B:B-z),j=Y*(x/$);K!=null&&(x<=15||j<=15||(K.css("width",x+"px"),K.css("height",j+"px")))},100);function yt(gt){if(C.off("mousemove",ut),K!=null){var B=K.width().toFixed(2),x=K.height().toFixed(2),j={style:Ha(Ha({},w.style),{width:B+"px",height:x+"px"})};I.setNodes(b,j,{at:A.findPath(b,w)}),C.off("mouseup",yt)}}var mt={};return T&&(mt.width=T),L&&(mt.height=L),Pt("div",{id:O,style:mt,className:"w-e-image-container w-e-selected-image-container",on:{mousedown:function(gt){var B=k(gt.target);B.hasClass("w-e-image-dragger")&&(gt.preventDefault(),(B.hasClass("left-top")||B.hasClass("left-bottom"))&&(G=!0),Z(gt.clientX))}}},S,Pt("div",{className:"w-e-image-dragger left-top"}),Pt("div",{className:"w-e-image-dragger right-top"}),Pt("div",{className:"w-e-image-dragger left-bottom"}),Pt("div",{className:"w-e-image-dragger right-bottom"}))}(n,t,m,{width:p,height:y}):function(b,w,S,D){var C=D.width,O=D.height,T={};return C&&(T.width=C),O&&(T.height=O),Pt("div",{id:CP(b,w),style:T,className:"w-e-image-container"},S)}(n,t,m,{width:p,height:y})}},not={selector:"img:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=k(t),o=r.attr("data-href")||"";return o=decodeURIComponent(o),{type:"image",src:r.attr("src")||"",alt:r.attr("alt")||"",href:o,style:{width:_o(r,"width"),height:_o(r,"height")},children:[{text:""}]}}};function DP(t,e,n,r,o){return r===void 0&&(r=""),o===void 0&&(o=""),Ua(this,void 0,void 0,function(){var i,a;return Va(this,function(u){switch(u.label){case 0:return(i=e.getMenuConfig(t).checkImage)?[4,i(n,r,o)]:[3,2];case 1:if(typeof(a=u.sent())=="string")return e.alert(a,"error"),[2,!1];if(a==null)return[2,!1];u.label=2;case 2:return[2,!0]}})})}function xP(t,e,n){return Ua(this,void 0,void 0,function(){var r;return Va(this,function(o){switch(o.label){case 0:return(r=e.getMenuConfig(t).parseImageSrc)?[4,r(n)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,n]}})})}function Bs(t,e,n,r){return n===void 0&&(n=""),r===void 0&&(r=""),Ua(this,void 0,void 0,function(){var o,i,a;return Va(this,function(u){switch(u.label){case 0:return[4,DP("insertImage",t,e,n,r)];case 1:return u.sent()?[4,xP("insertImage",t,e)]:[2];case 2:return o=u.sent(),i={type:"image",src:qS(o),href:r,alt:n,style:{},children:[{text:""}]},t.selection===null&&t.restoreSelection(),A.getSelectedNodeByType(t,"image")&&t.move(1),r1(t)||(I.insertNodes(t,i),(a=t.getMenuConfig("insertImage").onInsertedImage)&&a(i)),[2]}})})}function r1(t){var e=t.selection;return e==null||!M.isCollapsed(e)||!!se(E.nodes(t,{match:function(n){var r=A.getNodeType(n);return r==="code"||r==="pre"||r==="link"||r==="list-item"||!!r.startsWith("header")||r==="blockquote"||!!E.isVoid(t,n)},universal:!0}),1)[0]}function o1(){return n1("w-e-insert-image")}var rot=function(){function t(){this.title=nt("image.netImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=o1(),this.altInputId=o1(),this.hrefInputId=o1(),this.buttonId=o1()}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.exec=function(e,n){},t.prototype.isDisabled=function(e){return r1(e)},t.prototype.getModalPositionNode=function(e){return null},t.prototype.getModalContentElem=function(e){var n=this,r=this,o=r.srcInputId,i=r.altInputId,a=r.hrefInputId,u=r.buttonId,s=se(Lr(nt("image.src"),o),2),l=s[0],c=k(s[1]),f=se(Lr(nt("image.desc"),i),2),p=f[0],d=k(f[1]),y=se(Lr(nt("image.link"),a),2),g=y[0],v=k(y[1]),m=se(vc(u,nt("common.ok")),1)[0];if(this.$content==null){var h=k("<div></div>");h.on("click","#"+u,function(w){w.preventDefault();var S=h.find("#"+o).val().trim(),D=h.find("#"+i).val().trim(),C=h.find("#"+a).val().trim();n.insertImage(e,S,D,C),e.hidePanelOrModal()}),this.$content=h}var b=this.$content;return b.empty(),b.append(l),b.append(p),b.append(g),b.append(m),c.val(""),d.val(""),v.val(""),setTimeout(function(){c.focus()}),b[0]},t.prototype.insertImage=function(e,n,r,o){r===void 0&&(r=""),o===void 0&&(o=""),n&&(e.restoreSelection(),this.isDisabled(e)||Bs(e,n,r,o))},t}(),oot=function(){function t(){this.title=nt("image.delete"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){return e.selection==null||A.getSelectedNodeByType(e,"image")==null},t.prototype.exec=function(e,n){this.isDisabled(e)||I.removeNodes(e,{match:function(r){return A.checkNodeType(r,"image")}})},t}();function i1(){return n1("w-e-edit-image")}var iot=function(){function t(){this.title=nt("image.edit"),this.iconSvg=tP,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=i1(),this.altInputId=i1(),this.hrefInputId=i1(),this.buttonId=i1()}return t.prototype.getValue=function(e){return""},t.prototype.getImageNode=function(e){return A.getSelectedNodeByType(e,"image")},t.prototype.isActive=function(e){return!1},t.prototype.exec=function(e,n){},t.prototype.isDisabled=function(e){var n=e.selection;return n==null||!M.isCollapsed(n)||A.getSelectedNodeByType(e,"image")==null},t.prototype.getModalPositionNode=function(e){return this.getImageNode(e)},t.prototype.getModalContentElem=function(e){var n=this,r=this,o=r.srcInputId,i=r.altInputId,a=r.hrefInputId,u=r.buttonId,s=this.getImageNode(e);if(s==null)throw new Error("Not found selected image node");var l=se(Lr(nt("image.src"),o),2),c=l[0],f=k(l[1]),p=se(Lr(nt("image.desc"),i),2),d=p[0],y=k(p[1]),g=se(Lr(nt("image.link"),a),2),v=g[0],m=k(g[1]),h=se(vc(u,nt("common.ok")),1)[0];if(this.$content==null){var b=k("<div></div>");b.on("click","#"+u,function(z){z.preventDefault();var $=b.find("#"+o).val(),Y=b.find("#"+i).val(),G=b.find("#"+a).val();n.updateImage(e,$,Y,G),e.hidePanelOrModal()}),this.$content=b}var w=this.$content;w.empty(),w.append(c),w.append(d),w.append(v),w.append(h);var S=s,D=S.src,C=S.alt,O=C===void 0?"":C,T=S.href,L=T===void 0?"":T;return f.val(D),y.val(O),m.val(L),setTimeout(function(){f.focus()}),w[0]},t.prototype.updateImage=function(e,n,r,o,i){r===void 0&&(r=""),o===void 0&&(o=""),i===void 0&&(i={}),n&&(e.restoreSelection(),this.isDisabled(e)||function(a,u,s,l,c){s===void 0&&(s=""),l===void 0&&(l=""),c===void 0&&(c={}),Ua(this,void 0,void 0,function(){var f,p,d,y,g,v;return Va(this,function(m){switch(m.label){case 0:return[4,DP("editImage",a,u,s,l)];case 1:return m.sent()?[4,xP("editImage",a,u)]:[2];case 2:return f=m.sent(),(p=A.getSelectedNodeByType(a,"image"))==null||(d=p.style,y={src:f,alt:s,href:l,style:Ha(Ha({},d===void 0?{}:d),c)},I.setNodes(a,y,{match:function(h){return A.checkNodeType(h,"image")}}),g=A.getSelectedNodeByType(a,"image"),(v=a.getMenuConfig("editImage").onUpdatedImage)&&v(g)),[2]}})})}(e,n,r,o,i))},t}(),aot=function(){function t(){this.title=nt("image.viewLink"),this.iconSvg=eP,this.tag="button"}return t.prototype.getValue=function(e){var n=A.getSelectedNodeByType(e,"image");return n&&n.href||""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){return e.selection==null||!this.getValue(e)},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){if(!n||typeof n!="string")throw new Error("View image link failed, image.href is '"+n+"'");window.open(n,"_blank")}},t}(),t6=function(){function t(){this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.getSelectedNode=function(e){return A.getSelectedNodeByType(e,"image")},t.prototype.isDisabled=function(e){return e.selection==null||this.getSelectedNode(e)==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r=this.getSelectedNode(e);if(r!=null){var o=A.getHoverbar(e);o&&o.hideAndClean();var i=r.style,a={style:Ha(Ha({},i===void 0?{}:i),{width:this.value,height:""})};I.setNodes(e,a,{match:function(u){return A.checkNodeType(u,"image")}})}}},t}(),uot=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title="30%",n.value="30%",n}return Re(e,t),e}(t6),sot=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title="50%",n.value="50%",n}return Re(e,t),e}(t6),lot=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title="100%",n.value="100%",n}return Re(e,t),e}(t6),AP={onInsertedImage:function(t){},onUpdatedImage:function(t){},checkImage:function(t,e,n){return!0},parseImageSrc:function(t){return t}},cot={renderElems:[eot],elemsToHtml:[{type:"image",elemToHtml:function(t,e){var n=t,r=n.src,o=n.alt,i=o===void 0?"":o,a=n.href,u=a===void 0?"":a,s=n.style,l=s===void 0?{}:s,c=l.width,f=c===void 0?"":c,p=l.height,d=p===void 0?"":p,y="";return f&&(y+="width: "+f+";"),d&&(y+="height: "+d+";"),'<img src="'+r+'" alt="'+i+'" data-href="'+u+'" style="'+y+'"/>'}}],parseElemsHtml:[not],menus:[{key:"insertImage",factory:function(){return new rot},config:AP},{key:"deleteImage",factory:function(){return new oot}},{key:"editImage",factory:function(){return new iot},config:AP},{key:"viewImageLink",factory:function(){return new aot}},{key:"imageWidth30",factory:function(){return new uot}},{key:"imageWidth50",factory:function(){return new sot}},{key:"imageWidth100",factory:function(){return new lot}}],editorPlugin:function(t){var e=t.isInline,n=t.isVoid;t.insertNode;var r=t;return r.isInline=function(o){return o.type==="image"||e(o)},r.isVoid=function(o){return o.type==="image"||n(o)},r}},fot={type:"todo",renderElem:function(t,e,n){var r=!1;n.isDisabled()&&(r=!0);var o=Pt("div",{style:{margin:"5px 0"}},Pt("span",{contentEditable:!1,style:{marginRight:"0.5em"}},Pt("input",{type:"checkbox",checked:t.checked,disabled:r,on:{change:function(i){var a=A.findPath(n,t),u={checked:i.target.checked};I.setNodes(n,u,{at:a})}}})),Pt("span",null,e));return o}},dot=function(){function t(){this.title=nt("todo.todo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M278.755556 403.911111l-79.644445 79.644445L455.111111 739.555556l568.888889-568.888889-79.644444-79.644445L455.111111 580.266667l-176.355555-176.355556zM910.222222 910.222222H113.777778V113.777778h568.888889V0H113.777778C51.2 0 0 51.2 0 113.777778v796.444444c0 62.577778 51.2 113.777778 113.777778 113.777778h796.444444c62.577778 0 113.777778-51.2 113.777778-113.777778V455.111111h-113.777778v455.111111z"></path></svg>',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!!A.getSelectedNodeByType(e,"todo")},t.prototype.isDisabled=function(e){return e.selection==null||!!A.getSelectedElems(e).some(function(n){if(E.isVoid(e,n)&&E.isBlock(e,n))return!0;var r=n.type;return!!["pre","table","list-item"].includes(r)||void 0})},t.prototype.exec=function(e,n){var r=this.isActive(e);I.setNodes(e,{type:r?"paragraph":"todo"})},t}(),pot={selector:'div[data-w-e-type="todo"]',parseElemHtml:function(t,e,n){var r=k(t);(e=e.filter(function(i){return!!ft.isText(i)||!!n.isInline(i)})).length===0&&(e=[{text:r.text().replace(/\s+/gm," ")}]);var o=!1;return r.find('input[type="checkbox"]').attr("checked")!=null&&(o=!0),{type:"todo",checked:o,children:e}}},hot={renderElems:[fot],elemsToHtml:[{type:"todo",elemToHtml:function(t,e){return'<div data-w-e-type="todo"><input type="checkbox" disabled '+(t.checked?"checked":"")+">"+e+"</div>"}}],preParseHtml:[{selector:"ul.w-e-todo",preParseHtml:function(t){var e=k(t).find("li"),n=k('<div data-w-e-type="todo"></div>'),r=e.find("input[type]");return n.append(r),e.children()[0].remove(),n[0].innerHTML=n[0].innerHTML+e[0].innerHTML,n[0]}}],parseElemsHtml:[pot],menus:[{key:"todo",factory:function(){return new dot}}],editorPlugin:function(t){var e=t.deleteBackward,n=t;return n.deleteBackward=function(r){var o=t.selection;if(o&&M.isCollapsed(o)){var i=A.getSelectedNodeByType(t,"todo");if(i&&et.string(i).length===0)return void I.setNodes(t,{type:"paragraph"},{mode:"highest"})}e(r)},n}},got={type:"blockquote",renderElem:function(t,e,n){return Pt("blockquote",null,e)}},vot={selector:"blockquote:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=k(t);return(e=e.filter(function(o){return!!ft.isText(o)||!!n.isInline(o)})).length===0&&(e=[{text:r.text().replace(/\s+/gm," ")}]),{type:"blockquote",children:e}}},mot=function(){function t(){this.title=nt("blockQuote.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M894.6 907.1H605.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C752.7 180.4 711.3 315.8 711.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z m-472 0H133.4c-32.6 0-59-26.4-59-59V608.2l-4-14.9c0-315.9 125.5-485.1 376.5-507.5v59.8C280.7 180.4 239.3 315.8 239.3 442.4v41.2l31.5 12.3h151.8c32.6 0 59 26.4 59 59v293.2c0 32.5-26.4 59-59 59z"></path></svg>',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!!A.getSelectedNodeByType(e,"blockquote")},t.prototype.isDisabled=function(e){return e.selection==null||!se(E.nodes(e,{match:function(n){var r=A.getNodeType(n);return r==="paragraph"||r==="blockquote"},universal:!0,mode:"highest"}),1)[0]},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r=this.isActive(e)?"paragraph":"blockquote";I.setNodes(e,{type:r},{mode:"highest"})}},t}(),yot={key:"blockquote",factory:function(){return new mot}},bot=Ft([].slice),wot=bS("slice"),Eot=Mr("species"),e6=zt.Array,Sot=Math.max;xn({target:"Array",proto:!0,forced:!wot},{slice:function(t,e){var n,r,o,i=wc(this),a=qv(i),u=pp(t,a),s=pp(e===void 0?a:e,a);if(Yv(i)&&(n=i.constructor,(yS(n)&&(n===e6||Yv(n.prototype))||lo(n)&&(n=n[Eot])===null)&&(n=void 0),n===e6||n===void 0))return bot(i,u,s);for(r=new(n===void 0?e6:n)(Sot(s-u,0)),o=0;u<s;u++,o++)u in i&&UT(r,o,i[u]);return r.length=o,r}});var Cot={renderElems:[got],elemsToHtml:[{type:"blockquote",elemToHtml:function(t,e){return"<blockquote>"+e+"</blockquote>"}}],parseElemsHtml:[vot],menus:[yot],editorPlugin:function(t){var e=t.insertBreak,n=t.insertText,r=t;return r.insertBreak=function(){var o=r.selection;if(o==null)return e();var i=se(E.nodes(t,{match:function(c){return A.checkNodeType(c,"blockquote")},universal:!0}),1)[0];if(!i)return e();var a=i[0],u=A.findPath(t,a),s=E.end(t,u);if(Ut.equals(s,o.focus)){var l=et.string(a);if(l&&l.slice(-1)===`
  98. `)return t.deleteBackward("character"),void I.insertNodes(r,{type:"paragraph",children:[{text:""}]},{mode:"highest"})}n(`
  99. `)},r}},Dot=function(){function t(){this.title=nt("emotion.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512z m0-102.4c226.742857 0 409.6-182.857143 409.6-409.6S738.742857 102.4 512 102.4 102.4 285.257143 102.4 512s182.857143 409.6 409.6 409.6z m-204.8-358.4h409.6c0 113.371429-91.428571 204.8-204.8 204.8s-204.8-91.428571-204.8-204.8z m0-102.4c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8 76.8 32.914286 76.8 76.8-32.914286 76.8-76.8 76.8z m409.6 0c-43.885714 0-76.8-32.914286-76.8-76.8s32.914286-76.8 76.8-76.8c43.885714 0 76.8 32.914286 76.8 76.8s-32.914286 76.8-76.8 76.8z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null}return t.prototype.exec=function(e,n){},t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){return e.selection==null||!!se(E.nodes(e,{match:function(n){return A.getNodeType(n)==="pre"||!!E.isVoid(e,n)},universal:!0}),1)[0]},t.prototype.getPanelContentElem=function(e){if(this.$content==null){var n=k('<ul class="w-e-panel-content-emotion"></ul>');n.on("click","li",function(i){var a=i.target;if(a!=null){i.preventDefault();var u=k(a).text();e.insertText(u)}}),this.$content=n}var r=this.$content;if(r==null)return document.createElement("ul");r.empty();var o=e.getMenuConfig("emotion").emotions;return(o===void 0?[]:o).forEach(function(i){var a=k("<li>"+i+"</li>");r.append(a)}),r[0]},t}(),xot={menus:[{key:"emotion",factory:function(){return new Dot},config:{emotions:"\u{1F600} \u{1F603} \u{1F604} \u{1F601} \u{1F606} \u{1F605} \u{1F602} \u{1F923} \u{1F60A} \u{1F607} \u{1F642} \u{1F643} \u{1F609} \u{1F60C} \u{1F60D} \u{1F618} \u{1F617} \u{1F619} \u{1F61A} \u{1F60B} \u{1F61B} \u{1F61D} \u{1F61C} \u{1F913} \u{1F60E} \u{1F60F} \u{1F612} \u{1F61E} \u{1F614} \u{1F61F} \u{1F615} \u{1F641} \u{1F623} \u{1F616} \u{1F62B} \u{1F629} \u{1F622} \u{1F62D} \u{1F624} \u{1F620} \u{1F621} \u{1F633} \u{1F631} \u{1F628} \u{1F917} \u{1F914} \u{1F636} \u{1F611} \u{1F62C} \u{1F644} \u{1F62F} \u{1F634} \u{1F637} \u{1F911} \u{1F608} \u{1F921} \u{1F4A9} \u{1F47B} \u{1F480} \u{1F440} \u{1F463} \u{1F450} \u{1F64C} \u{1F44F} \u{1F91D} \u{1F44D} \u{1F44E} \u{1F44A} \u270A \u{1F91B} \u{1F91C} \u{1F91E} \u270C\uFE0F \u{1F918} \u{1F44C} \u{1F448} \u{1F449} \u{1F446} \u{1F447} \u261D\uFE0F \u270B \u{1F91A} \u{1F590} \u{1F596} \u{1F44B} \u{1F919} \u{1F4AA} \u{1F595} \u270D\uFE0F \u{1F64F}".split(" ")}}]},Aot={1:"12px",2:"14px",3:"16px",4:"19px",5:"24px",6:"32px",7:"48px"},Oot={selector:"font",preParseHtml:function(t){var e=k(t);if(Bc(e)!=="font")return t;var n=e.attr("size")||"";n&&(e.removeAttr("size"),e.css("font-size",Aot[n]));var r=e.attr("face")||"";return r&&(e.removeAttr("face"),e.css("font-family",r)),e[0]}},kot=Ft("".indexOf);xn({target:"String",proto:!0,forced:!oP("includes")},{includes:function(t){return!!~kot(Ve(so(this)),Ve(rP(t)),arguments.length>1?arguments[1]:void 0)}});var Wa,a1,u1=function(t){return t&&t.Math==Math&&t},Gt=u1(typeof globalThis=="object"&&globalThis)||u1(typeof window=="object"&&window)||u1(typeof self=="object"&&self)||u1(typeof Mv=="object"&&Mv)||function(){return this}()||Function("return this")(),n6=Function.prototype,OP=n6.apply,Bot=n6.bind,kP=n6.call,BP=typeof Reflect=="object"&&Reflect.apply||(Bot?kP.bind(OP):function(){return kP.apply(OP,arguments)}),FP=Function.prototype,r6=FP.bind,o6=FP.call,Fot=r6&&r6.bind(o6),Je=r6?function(t){return t&&Fot(o6,t)}:function(t){return t&&function(){return o6.apply(t,arguments)}},Vn=function(t){return typeof t=="function"},$r=function(t){try{return!!t()}catch(e){return!0}},Sr=!$r(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Op=Function.prototype.call,Io=Op.bind?Op.bind(Op):function(){return Op.apply(Op,arguments)},TP={}.propertyIsEnumerable,PP=Object.getOwnPropertyDescriptor,Tot=PP&&!TP.call({1:2},1)?function(t){var e=PP(this,t);return!!e&&e.enumerable}:TP,i6={f:Tot},Fs=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Pot=Je({}.toString),jot=Je("".slice),Ts=function(t){return jot(Pot(t),8,-1)},a6=Gt.Object,_ot=Je("".split),jP=$r(function(){return!a6("z").propertyIsEnumerable(0)})?function(t){return Ts(t)=="String"?_ot(t,""):a6(t)}:a6,Iot=Gt.TypeError,u6=function(t){if(t==null)throw Iot("Can't call method on "+t);return t},ui=function(t){return jP(u6(t))},fo=function(t){return typeof t=="object"?t!==null:Vn(t)},po={},_P=function(t){return Vn(t)?t:void 0},kp=function(t,e){return arguments.length<2?_P(po[t])||_P(Gt[t]):po[t]&&po[t][e]||Gt[t]&&Gt[t][e]},IP=Je({}.isPrototypeOf),s6=kp("navigator","userAgent")||"",NP=Gt.process,LP=Gt.Deno,RP=NP&&NP.versions||LP&&LP.version,MP=RP&&RP.v8;MP&&(a1=(Wa=MP.split("."))[0]>0&&Wa[0]<4?1:+(Wa[0]+Wa[1])),!a1&&s6&&(!(Wa=s6.match(/Edge\/(\d+)/))||Wa[1]>=74)&&(Wa=s6.match(/Chrome\/(\d+)/))&&(a1=+Wa[1]);var s1=a1,si=!!Object.getOwnPropertySymbols&&!$r(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&s1&&s1<41}),l6=si&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Not=Gt.Object,jc=l6?function(t){return typeof t=="symbol"}:function(t){var e=kp("Symbol");return Vn(e)&&IP(e.prototype,Not(t))},Lot=Gt.String,Rot=Gt.TypeError,zP=function(t){if(Vn(t))return t;throw Rot(function(e){try{return Lot(e)}catch(n){return"Object"}}(t)+" is not a function")},Mot=Gt.TypeError,zot=Object.defineProperty,Ga=Gt["__core-js_shared__"]||function(t,e){try{zot(Gt,t,{value:e,configurable:!0,writable:!0})}catch(n){Gt[t]=e}return e}("__core-js_shared__",{}),Ps=zv(function(t){(t.exports=function(e,n){return Ga[e]||(Ga[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),$ot=Gt.Object,Bp=function(t){return $ot(u6(t))},Hot=Je({}.hasOwnProperty),le=Object.hasOwn||function(t,e){return Hot(Bp(t),e)},Uot=0,Vot=Math.random(),Wot=Je(1 .toString),l1=function(t){return"Symbol("+(t===void 0?"":t)+")_"+Wot(++Uot+Vot,36)},Fp=Ps("wks"),js=Gt.Symbol,$P=js&&js.for,Got=l6?js:js&&js.withoutSetter||l1,Hr=function(t){if(!le(Fp,t)||!si&&typeof Fp[t]!="string"){var e="Symbol."+t;si&&le(js,t)?Fp[t]=js[t]:Fp[t]=l6&&$P?$P(e):Got(e)}return Fp[t]},Kot=Gt.TypeError,qot=Hr("toPrimitive"),_c=function(t){var e=function(n,r){if(!fo(n)||jc(n))return n;var o,i,a=(o=n[qot])==null?void 0:zP(o);if(a){if(r===void 0&&(r="default"),i=Io(a,n,r),!fo(i)||jc(i))return i;throw Kot("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(u,s){var l,c;if(s==="string"&&Vn(l=u.toString)&&!fo(c=Io(l,u))||Vn(l=u.valueOf)&&!fo(c=Io(l,u))||s!=="string"&&Vn(l=u.toString)&&!fo(c=Io(l,u)))return c;throw Mot("Can't convert object to primitive value")}(n,r)}(t,"string");return jc(e)?e:e+""},c6=Gt.document,Zot=fo(c6)&&fo(c6.createElement),HP=function(t){return Zot?c6.createElement(t):{}},UP=!Sr&&!$r(function(){return Object.defineProperty(HP("div"),"a",{get:function(){return 7}}).a!=7}),VP=Object.getOwnPropertyDescriptor,f6={f:Sr?VP:function(t,e){if(t=ui(t),e=_c(e),UP)try{return VP(t,e)}catch(n){}if(le(t,e))return Fs(!Io(i6.f,t,e),t[e])}},Yot=/#|\.prototype\./,Tp=function(t,e){var n=Jot[Xot(t)];return n==tit||n!=Qot&&(Vn(e)?$r(e):!!e)},Xot=Tp.normalize=function(t){return String(t).replace(Yot,".").toLowerCase()},Jot=Tp.data={},Qot=Tp.NATIVE="N",tit=Tp.POLYFILL="P",eit=Tp,WP=Je(Je.bind),GP=function(t,e){return zP(t),e===void 0?t:WP?WP(t,e):function(){return t.apply(e,arguments)}},nit=Gt.String,rit=Gt.TypeError,_s=function(t){if(fo(t))return t;throw rit(nit(t)+" is not an object")},oit=Gt.TypeError,KP=Object.defineProperty,Is={f:Sr?KP:function(t,e,n){if(_s(t),e=_c(e),_s(n),UP)try{return KP(t,e,n)}catch(r){}if("get"in n||"set"in n)throw oit("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},li=Sr?function(t,e,n){return Is.f(t,e,Fs(1,n))}:function(t,e,n){return t[e]=n,t},iit=f6.f,ait=function(t){var e=function(n,r,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,o)}return BP(t,this,arguments)};return e.prototype=t.prototype,e},Ka=function(t,e){var n,r,o,i,a,u,s,l,c=t.target,f=t.global,p=t.stat,d=t.proto,y=f?Gt:p?Gt[c]:(Gt[c]||{}).prototype,g=f?po:po[c]||li(po,c,{})[c],v=g.prototype;for(o in e)n=!eit(f?o:c+(p?".":"#")+o,t.forced)&&y&&le(y,o),a=g[o],n&&(u=t.noTargetGet?(l=iit(y,o))&&l.value:y[o]),i=n&&u?u:e[o],n&&typeof a==typeof i||(s=t.bind&&n?GP(i,Gt):t.wrap&&n?ait(i):d&&Vn(i)?Je(i):i,(t.sham||i&&i.sham||a&&a.sham)&&li(s,"sham",!0),li(g,o,s),d&&(le(po,r=c+"Prototype")||li(po,r,{}),li(po[r],o,i),t.real&&v&&!v[o]&&li(v,o,i)))},c1=Array.isArray||function(t){return Ts(t)=="Array"},uit=Math.ceil,sit=Math.floor,d6=function(t){var e=+t;return e!=e||e===0?0:(e>0?sit:uit)(e)},lit=Math.min,f1=function(t){return(e=t.length)>0?lit(d6(e),9007199254740991):0;var e},p6=function(t,e,n){var r=_c(e);r in t?Is.f(t,r,Fs(0,n)):t[r]=n},qP={};qP[Hr("toStringTag")]="z";var h6=String(qP)==="[object z]",cit=Hr("toStringTag"),fit=Gt.Object,dit=Ts(function(){return arguments}())=="Arguments",d1=h6?Ts:function(t){var e,n,r;return t===void 0?"Undefined":t===null?"Null":typeof(n=function(o,i){try{return o[i]}catch(a){}}(e=fit(t),cit))=="string"?n:dit?Ts(e):(r=Ts(e))=="Object"&&Vn(e.callee)?"Arguments":r},pit=Je(Function.toString);Vn(Ga.inspectSource)||(Ga.inspectSource=function(t){return pit(t)});var ZP=Ga.inspectSource,YP=function(){},hit=[],XP=kp("Reflect","construct"),g6=/^\s*(?:class|function)\b/,git=Je(g6.exec),vit=!g6.exec(YP),Pp=function(t){if(!Vn(t))return!1;try{return XP(YP,hit,t),!0}catch(e){return!1}},mit=!XP||$r(function(){var t;return Pp(Pp.call)||!Pp(Object)||!Pp(function(){t=!0})||t})?function(t){if(!Vn(t))return!1;switch(d1(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return vit||!!git(g6,ZP(t))}:Pp,yit=Hr("species"),JP=Gt.Array,QP=function(t,e){return new(function(n){var r;return c1(n)&&(r=n.constructor,(mit(r)&&(r===JP||c1(r.prototype))||fo(r)&&(r=r[yit])===null)&&(r=void 0)),r===void 0?JP:r}(t))(e===0?0:e)},bit=Hr("species"),tj=Hr("isConcatSpreadable"),ej=Gt.TypeError,wit=s1>=51||!$r(function(){var t=[];return t[tj]=!1,t.concat()[0]!==t}),Eit=s1>=51||!$r(function(){var t=[];return(t.constructor={})[bit]=function(){return{foo:1}},t.concat(Boolean).foo!==1}),Sit=function(t){if(!fo(t))return!1;var e=t[tj];return e!==void 0?!!e:c1(t)};Ka({target:"Array",proto:!0,forced:!wit||!Eit},{concat:function(t){var e,n,r,o,i,a=Bp(this),u=QP(a,0),s=0;for(e=-1,r=arguments.length;e<r;e++)if(Sit(i=e===-1?a:arguments[e])){if(s+(o=f1(i))>9007199254740991)throw ej("Maximum allowed index exceeded");for(n=0;n<o;n++,s++)n in i&&p6(u,s,i[n])}else{if(s>=9007199254740991)throw ej("Maximum allowed index exceeded");p6(u,s++,i)}return u.length=s,u}});var p1,Cit=Gt.String,h1=function(t){if(d1(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Cit(t)},Dit=Math.max,xit=Math.min,v6=function(t,e){var n=d6(t);return n<0?Dit(n+e,0):xit(n,e)},nj=function(t){return function(e,n,r){var o,i=ui(e),a=f1(i),u=v6(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},Ait={includes:nj(!0),indexOf:nj(!1)},jp={},Oit=Ait.indexOf,rj=Je([].push),oj=function(t,e){var n,r=ui(t),o=0,i=[];for(n in r)!le(jp,n)&&le(r,n)&&rj(i,n);for(;e.length>o;)le(r,n=e[o++])&&(~Oit(i,n)||rj(i,n));return i},g1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],m6=Object.keys||function(t){return oj(t,g1)},kit=Sr?Object.defineProperties:function(t,e){_s(t);for(var n,r=ui(e),o=m6(e),i=o.length,a=0;i>a;)Is.f(t,n=o[a++],r[n]);return t},Bit=kp("document","documentElement"),ij=Ps("keys"),v1=function(t){return ij[t]||(ij[t]=l1(t))},aj=v1("IE_PROTO"),y6=function(){},uj=function(t){return"<script>"+t+"</script>"},sj=function(t){t.write(uj("")),t.close();var e=t.parentWindow.Object;return t=null,e},m1=function(){try{p1=new ActiveXObject("htmlfile")}catch(r){}var t,e;m1=typeof document!="undefined"?document.domain&&p1?sj(p1):((e=HP("iframe")).style.display="none",Bit.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(uj("document.F=Object")),t.close(),t.F):sj(p1);for(var n=g1.length;n--;)delete m1.prototype[g1[n]];return m1()};jp[aj]=!0;var y1,_p,b1,Ns=Object.create||function(t,e){var n;return t!==null?(y6.prototype=_s(t),n=new y6,y6.prototype=null,n[aj]=t):n=m1(),e===void 0?n:kit(n,e)},Fit=g1.concat("length","prototype"),lj={f:Object.getOwnPropertyNames||function(t){return oj(t,Fit)}},Tit=Gt.Array,Pit=Math.max,cj=lj.f,fj=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],dj={f:function(t){return fj&&Ts(t)=="Window"?function(e){try{return cj(e)}catch(n){return function(r,o,i){for(var a=f1(r),u=v6(void 0,a),s=v6(a,a),l=Tit(Pit(s-u,0)),c=0;u<s;u++,c++)p6(l,c,r[u]);return l.length=c,l}(fj)}}(t):cj(ui(t))}},b6={f:Object.getOwnPropertySymbols},jit=Je([].slice),Ic=function(t,e,n,r){r&&r.enumerable?t[e]=n:li(t,e,n)},w6={f:Hr},_it=Is.f,an=function(t){var e=po.Symbol||(po.Symbol={});le(e,t)||_it(e,t,{value:w6.f(t)})},Iit=h6?{}.toString:function(){return"[object "+d1(this)+"]"},Nit=Is.f,pj=Hr("toStringTag"),w1=function(t,e,n,r){if(t){var o=n?t:t.prototype;le(o,pj)||Nit(o,pj,{configurable:!0,value:e}),r&&!h6&&li(o,"toString",Iit)}},hj=Gt.WeakMap,Lit=Vn(hj)&&/native code/.test(ZP(hj)),E6=Gt.TypeError,Rit=Gt.WeakMap;if(Lit||Ga.state){var Ls=Ga.state||(Ga.state=new Rit),Mit=Je(Ls.get),gj=Je(Ls.has),zit=Je(Ls.set);y1=function(t,e){if(gj(Ls,t))throw new E6("Object already initialized");return e.facade=t,zit(Ls,t,e),e},_p=function(t){return Mit(Ls,t)||{}},b1=function(t){return gj(Ls,t)}}else{var Nc=v1("state");jp[Nc]=!0,y1=function(t,e){if(le(t,Nc))throw new E6("Object already initialized");return e.facade=t,li(t,Nc,e),e},_p=function(t){return le(t,Nc)?t[Nc]:{}},b1=function(t){return le(t,Nc)}}var Lc={set:y1,get:_p,has:b1,enforce:function(t){return b1(t)?_p(t):y1(t,{})},getterFor:function(t){return function(e){var n;if(!fo(e)||(n=_p(e)).type!==t)throw E6("Incompatible receiver, "+t+" required");return n}}},vj=Je([].push),qa=function(t){var e=t==1,n=t==2,r=t==3,o=t==4,i=t==6,a=t==7,u=t==5||i;return function(s,l,c,f){for(var p,d,y=Bp(s),g=jP(y),v=GP(l,c),m=f1(g),h=0,b=f||QP,w=e?b(s,m):n||a?b(s,0):void 0;m>h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),t))if(e)w[h]=d;else if(d)switch(t){case 3:return!0;case 5:return p;case 6:return h;case 2:vj(w,p)}else switch(t){case 4:return!1;case 7:vj(w,p)}return i?-1:r||o?o:w}},E1=[qa(0),qa(1),qa(2),qa(3),qa(4),qa(5),qa(6),qa(7)][0],Cr=v1("hidden"),mj=Hr("toPrimitive"),$it=Lc.set,yj=Lc.getterFor("Symbol"),No=Object.prototype,Za=Gt.Symbol,Ya=Za&&Za.prototype,bj=Gt.TypeError,S6=Gt.QObject,Ip=kp("JSON","stringify"),wj=f6.f,Xa=Is.f,Ej=dj.f,Hit=i6.f,Sj=Je([].push),Wi=Ps("symbols"),Np=Ps("op-symbols"),C6=Ps("string-to-symbol-registry"),D6=Ps("symbol-to-string-registry"),Uit=Ps("wks"),x6=!S6||!S6.prototype||!S6.prototype.findChild,A6=Sr&&$r(function(){return Ns(Xa({},"a",{get:function(){return Xa(this,"a",{value:7}).a}})).a!=7})?function(t,e,n){var r=wj(No,e);r&&delete No[e],Xa(t,e,n),r&&t!==No&&Xa(No,e,r)}:Xa,O6=function(t,e){var n=Wi[t]=Ns(Ya);return $it(n,{type:"Symbol",tag:t,description:e}),Sr||(n.description=e),n},S1=function(t,e,n){t===No&&S1(Np,e,n),_s(t);var r=_c(e);return _s(n),le(Wi,r)?(n.enumerable?(le(t,Cr)&&t[Cr][r]&&(t[Cr][r]=!1),n=Ns(n,{enumerable:Fs(0,!1)})):(le(t,Cr)||Xa(t,Cr,Fs(1,{})),t[Cr][r]=!0),A6(t,r,n)):Xa(t,r,n)},Cj=function(t,e){_s(t);var n=ui(e),r=m6(n).concat(k6(n));return E1(r,function(o){Sr&&!Io(Dj,n,o)||S1(t,o,n[o])}),t},Dj=function(t){var e=_c(t),n=Io(Hit,this,e);return!(this===No&&le(Wi,e)&&!le(Np,e))&&(!(n||!le(this,e)||!le(Wi,e)||le(this,Cr)&&this[Cr][e])||n)},xj=function(t,e){var n=ui(t),r=_c(e);if(n!==No||!le(Wi,r)||le(Np,r)){var o=wj(n,r);return!o||!le(Wi,r)||le(n,Cr)&&n[Cr][r]||(o.enumerable=!0),o}},Aj=function(t){var e=Ej(ui(t)),n=[];return E1(e,function(r){le(Wi,r)||le(jp,r)||Sj(n,r)}),n},k6=function(t){var e=t===No,n=Ej(e?Np:ui(t)),r=[];return E1(n,function(o){!le(Wi,o)||e&&!le(No,o)||Sj(r,Wi[o])}),r};if(si||(Ya=(Za=function(){if(IP(Ya,this))throw bj("Symbol is not a constructor");var t=arguments.length&&arguments[0]!==void 0?h1(arguments[0]):void 0,e=l1(t),n=function(r){this===No&&Io(n,Np,r),le(this,Cr)&&le(this[Cr],e)&&(this[Cr][e]=!1),A6(this,e,Fs(1,r))};return Sr&&x6&&A6(No,e,{configurable:!0,set:n}),O6(e,t)}).prototype,Ic(Ya,"toString",function(){return yj(this).tag}),Ic(Za,"withoutSetter",function(t){return O6(l1(t),t)}),i6.f=Dj,Is.f=S1,f6.f=xj,lj.f=dj.f=Aj,b6.f=k6,w6.f=function(t){return O6(Hr(t),t)},Sr&&Xa(Ya,"description",{configurable:!0,get:function(){return yj(this).description}})),Ka({global:!0,wrap:!0,forced:!si,sham:!si},{Symbol:Za}),E1(m6(Uit),function(t){an(t)}),Ka({target:"Symbol",stat:!0,forced:!si},{for:function(t){var e=h1(t);if(le(C6,e))return C6[e];var n=Za(e);return C6[e]=n,D6[n]=e,n},keyFor:function(t){if(!jc(t))throw bj(t+" is not a symbol");if(le(D6,t))return D6[t]},useSetter:function(){x6=!0},useSimple:function(){x6=!1}}),Ka({target:"Object",stat:!0,forced:!si,sham:!Sr},{create:function(t,e){return e===void 0?Ns(t):Cj(Ns(t),e)},defineProperty:S1,defineProperties:Cj,getOwnPropertyDescriptor:xj}),Ka({target:"Object",stat:!0,forced:!si},{getOwnPropertyNames:Aj,getOwnPropertySymbols:k6}),Ka({target:"Object",stat:!0,forced:$r(function(){b6.f(1)})},{getOwnPropertySymbols:function(t){return b6.f(Bp(t))}}),Ip){var Vit=!si||$r(function(){var t=Za();return Ip([t])!="[null]"||Ip({a:t})!="{}"||Ip(Object(t))!="{}"});Ka({target:"JSON",stat:!0,forced:Vit},{stringify:function(t,e,n){var r=jit(arguments),o=e;if((fo(e)||t!==void 0)&&!jc(t))return c1(e)||(e=function(i,a){if(Vn(o)&&(a=Io(o,this,i,a)),!jc(a))return a}),r[1]=e,BP(Ip,null,r)}})}if(!Ya[mj]){var Wit=Ya.valueOf;Ic(Ya,mj,function(t){return Io(Wit,this)})}w1(Za,"Symbol"),jp[Cr]=!0,an("asyncIterator"),an("hasInstance"),an("isConcatSpreadable"),an("iterator"),an("match"),an("matchAll"),an("replace"),an("search"),an("species"),an("split"),an("toPrimitive"),an("toStringTag"),an("unscopables"),w1(Gt.JSON,"JSON",!0);var Ja,Oj,kj,Git=po.Symbol,Rs={},Bj=Function.prototype,Kit=Sr&&Object.getOwnPropertyDescriptor,B6=le(Bj,"name"),qit={EXISTS:B6,PROPER:B6&&function(){}.name==="something",CONFIGURABLE:B6&&(!Sr||Sr&&Kit(Bj,"name").configurable)},Zit=!$r(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),Fj=v1("IE_PROTO"),F6=Gt.Object,Yit=F6.prototype,T6=Zit?F6.getPrototypeOf:function(t){var e=Bp(t);if(le(e,Fj))return e[Fj];var n=e.constructor;return Vn(n)&&e instanceof n?n.prototype:e instanceof F6?Yit:null},P6=Hr("iterator"),Tj=!1;[].keys&&("next"in(kj=[].keys())?(Oj=T6(T6(kj)))!==Object.prototype&&(Ja=Oj):Tj=!0);var Xit=Ja==null||$r(function(){var t={};return Ja[P6].call(t)!==t});Ja=Xit?{}:Ns(Ja),Vn(Ja[P6])||Ic(Ja,P6,function(){return this});var Pj={IteratorPrototype:Ja,BUGGY_SAFARI_ITERATORS:Tj},Jit=Pj.IteratorPrototype,Qit=function(){return this};Gt.String,Gt.TypeError,Object.setPrototypeOf||"__proto__"in{}&&function(){var t={};try{Je(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set)(t,[]),t instanceof Array}catch(e){}}();var tat=qit.PROPER,C1=Pj.BUGGY_SAFARI_ITERATORS,j6=Hr("iterator"),eat=function(){return this},jj=function(t,e,n,r,o,i,a){(function(m,h,b,w){var S=h+" Iterator";m.prototype=Ns(Jit,{next:Fs(1,b)}),w1(m,S,!1,!0),Rs[S]=Qit})(n,e,r);var u,s,l,c=function(m){if(m===o&&g)return g;if(!C1&&m in d)return d[m];switch(m){case"keys":case"values":case"entries":return function(){return new n(this,m)}}return function(){return new n(this)}},f=e+" Iterator",p=!1,d=t.prototype,y=d[j6]||d["@@iterator"]||o&&d[o],g=!C1&&y||c(o),v=e=="Array"&&d.entries||y;if(v&&(u=T6(v.call(new t)))!==Object.prototype&&u.next&&(w1(u,f,!0,!0),Rs[f]=eat),tat&&o=="values"&&y&&y.name!=="values"&&(p=!0,g=function(){return Io(y,this)}),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(C1||p||!(l in d))&&Ic(d,l,s[l]);else Ka({target:e,proto:!0,forced:C1||p},s);return a&&d[j6]!==g&&Ic(d,j6,g,{name:o}),Rs[e]=g,s},nat=Lc.set,rat=Lc.getterFor("Array Iterator");jj(Array,"Array",function(t,e){nat(this,{type:"Array Iterator",target:ui(t),index:0,kind:e})},function(){var t=rat(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values"),Rs.Arguments=Rs.Array;var _j=Hr("toStringTag");for(var _6 in{CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}){var Ij=Gt[_6],I6=Ij&&Ij.prototype;I6&&d1(I6)!==_j&&li(I6,_j,_6),Rs[_6]=Rs.Array}var oat=Git;an("asyncDispose"),an("dispose"),an("matcher"),an("metadata"),an("observable"),an("patternMatch"),an("replaceAll");var D1=oat,iat=Je("".charAt),Nj=Je("".charCodeAt),aat=Je("".slice),Lj=function(t){return function(e,n){var r,o,i=h1(u6(e)),a=d6(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=Nj(i,a))<55296||r>56319||a+1===u||(o=Nj(i,a+1))<56320||o>57343?t?iat(i,a):r:t?aat(i,a,a+2):o-56320+(r-55296<<10)+65536}},uat=(Lj(!1),Lj(!0)),sat=Lc.set,lat=Lc.getterFor("String Iterator");jj(String,"String",function(t){sat(this,{type:"String Iterator",string:h1(t),index:0})},function(){var t,e=lat(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=uat(n,r),e.index+=t.length,{value:t,done:!1})});var cat=w6.f("iterator"),fat=zv(function(t){function e(n){return typeof D1=="function"&&typeof cat=="symbol"?(t.exports=e=function(r){return typeof r},t.exports.default=t.exports,t.exports.__esModule=!0):(t.exports=e=function(r){return r&&typeof D1=="function"&&r.constructor===D1&&r!==D1.prototype?"symbol":typeof r},t.exports.default=t.exports,t.exports.__esModule=!0),e(n)}t.exports=e,t.exports.default=t.exports,t.exports.__esModule=!0}),Rj=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}(fat),dat=Kv.EXISTS,pat=Ec.f,Mj=Function.prototype,hat=Ft(Mj.toString),zj=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,gat=Ft(zj.exec);jo&&!dat&&pat(Mj,"name",{configurable:!0,get:function(){try{return gat(zj,hat(this))[1]}catch(t){return""}}});var $j=function(){function t(){this.tag="select",this.width=80}return t.prototype.isActive=function(e){return!1},t.prototype.getValue=function(e){var n=this.mark,r=E.marks(e);return r&&r[n]?r[n]:""},t.prototype.isDisabled=function(e){return e.selection==null||(this.mark,!!se(E.nodes(e,{match:function(n){return A.getNodeType(n)==="pre"||!!E.isVoid(e,n)},universal:!0}),1)[0])},t.prototype.exec=function(e,n){var r=this.mark;n?e.addMark(r,n):e.removeMark(r)},t}(),vat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=nt("fontSize.title"),n.iconSvg=Vnt,n.mark="fontSize",n}return Re(e,t),e.prototype.getOptions=function(n){var r=[],o=n.getMenuConfig(this.mark).fontSizeList,i=o===void 0?[]:o;r.push({text:nt("fontSize.default"),value:""}),i.forEach(function(u){if(typeof u=="string")r.push({text:u,value:u});else if(Rj(u)==="object"){var s=u.name,l=u.value;r.push({text:s,value:l})}});var a=this.getValue(n);return r.forEach(function(u){u.value===a?u.selected=!0:delete u.selected}),r},e}($j),mat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=nt("fontFamily.title"),n.iconSvg=Wnt,n.mark="fontFamily",n.selectPanelWidth=150,n}return Re(e,t),e.prototype.getOptions=function(n){var r=[],o=n.getMenuConfig(this.mark).fontFamilyList,i=o===void 0?[]:o;r.push({text:nt("fontFamily.default"),value:""}),i.forEach(function(u){if(typeof u=="string")r.push({text:u,value:u,styleForRenderMenuList:{"font-family":u}});else if(Rj(u)==="object"){var s=u.name,l=u.value;r.push({text:s,value:l,styleForRenderMenuList:{"font-family":l}})}});var a=this.getValue(n);return r.forEach(function(u){u.value===a?u.selected=!0:delete u.selected}),r},e}($j),yat={renderStyle:function(t,e){var n=t,r=n.fontSize,o=n.fontFamily,i=e;return r&&ks(i,{fontSize:r}),o&&ks(i,{fontFamily:o}),i},styleToHtml:function(t,e){if(!ft.isText(t))return e;var n,r=t,o=r.fontSize,i=r.fontFamily;return o||i?((zS(e)||Bc(n=k(e))!=="span")&&(n=k("<span>"+e+"</span>")),o&&n.css("font-size",o),i&&n.css("font-family",i),kc(n)):e},preParseHtml:[Oot],parseStyleHtml:function(t,e,n){var r=k(t);if(!ft.isText(e))return e;var o=e,i=n.getMenuConfig("fontSize").fontSizeList,a=i===void 0?[]:i,u=_o(r,"font-size"),s=a.find(function(d){return d.value&&d.value===u})||a.includes(u);u&&s&&(o.fontSize=u);var l=n.getMenuConfig("fontFamily").fontFamilyList,c=l===void 0?[]:l,f=_o(r,"font-family").replace(/"/g,""),p=c.find(function(d){return d.value&&d.value===f})||c.includes(f);return f&&p&&(o.fontFamily=f),o},menus:[{key:"fontSize",factory:function(){return new vat},config:{fontSizeList:["12px",{name:"13px",value:"13px"},"14px","15px","16px","19px",{name:"22px",value:"22px"},"24px","29px","32px","40px","48px"]}},{key:"fontFamily",factory:function(){return new mat},config:{fontFamilyList:["\u9ED1\u4F53",{name:"\u4EFF\u5B8B",value:"\u4EFF\u5B8B"},"\u6977\u4F53","\u6807\u6977\u4F53","\u534E\u6587\u4EFF\u5B8B","\u534E\u6587\u6977\u4F53",{name:"\u5B8B\u4F53",value:"\u5B8B\u4F53"},"\u5FAE\u8F6F\u96C5\u9ED1","Arial","Tahoma","Verdana","Times New Roman","Courier New"]}}]},bat={selector:"p,h1,h2,h3,h4,h5",preParseHtml:function(t){var e=k(t),n=_o(e,"padding-left");return/\dem/.test(n)&&e.css("text-indent","2em"),/\dpx/.test(n)&&parseInt(n,10)%32==0&&e.css("text-indent","2em"),e[0]}},Hj=function(){function t(){this.tag="button"}return t.prototype.getValue=function(e){var n=se(E.nodes(e,{match:function(o){return!!o.indent},universal:!0}),1),r=n[0];return r==null?"":se(r,1)[0].indent||""},t.prototype.isActive=function(e){return!1},t.prototype.getMatchNode=function(e){var n=se(E.nodes(e,{match:function(r){var o=A.getNodeType(r);return o==="paragraph"||!!o.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return n==null?null:n[0]},t}(),wat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=nt("indent.decrease"),n.iconSvg=Gnt,n}return Re(e,t),e.prototype.isDisabled=function(n){var r=this.getMatchNode(n);return r==null||!r.indent},e.prototype.exec=function(n,r){I.setNodes(n,{indent:null},{match:function(o){return bt.isElement(o)}})},e}(Hj),Eat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=nt("indent.increase"),n.iconSvg=Knt,n}return Re(e,t),e.prototype.isDisabled=function(n){var r=this.getMatchNode(n);return r==null||!!r.indent},e.prototype.exec=function(n,r){I.setNodes(n,{indent:"2em"},{match:function(o){return bt.isElement(o)},mode:"highest"})},e}(Hj),Sat={renderStyle:function(t,e){if(!bt.isElement(t))return e;var n=t.indent,r=e;return n&&ks(r,{textIndent:n}),r},styleToHtml:function(t,e){if(!bt.isElement(t))return e;var n=t.indent;if(!n)return e;var r=k(e);return r.css("text-indent",n),kc(r)},preParseHtml:[bat],parseStyleHtml:function(t,e,n){var r=k(t);if(!bt.isElement(e))return e;var o=e,i=_o(r,"text-indent"),a=parseInt(i,10);return i&&a>0&&(o.indent=i),o},menus:[{key:"indent",factory:function(){return new Eat}},{key:"delIndent",factory:function(){return new wat}}]},x1=function(){function t(){this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.getMatchNode=function(e){var n=se(E.nodes(e,{match:function(r){var o=A.getNodeType(r);return o==="paragraph"||o==="blockquote"||!!o.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return n==null?null:n[0]},t.prototype.isDisabled=function(e){return e.selection==null||!!A.getSelectedElems(e).some(function(n){if(E.isVoid(e,n)&&E.isBlock(e,n))return!0;var r=n.type;return!!["pre","code"].includes(r)||void 0})},t}(),Cat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=nt("justify.left"),n.iconSvg=qnt,n}return Re(e,t),e.prototype.exec=function(n,r){I.setNodes(n,{textAlign:"left"},{match:function(o){return bt.isElement(o)&&!n.isInline(o)}})},e}(x1),Dat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=nt("justify.right"),n.iconSvg=Znt,n}return Re(e,t),e.prototype.exec=function(n,r){I.setNodes(n,{textAlign:"right"},{match:function(o){return bt.isElement(o)&&!n.isInline(o)}})},e}(x1),xat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=nt("justify.center"),n.iconSvg=Ynt,n}return Re(e,t),e.prototype.exec=function(n,r){I.setNodes(n,{textAlign:"center"},{match:function(o){return bt.isElement(o)&&!n.isInline(o)}})},e}(x1),Aat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=nt("justify.justify"),n.iconSvg=Xnt,n}return Re(e,t),e.prototype.exec=function(n,r){I.setNodes(n,{textAlign:"justify"},{match:function(o){return bt.isElement(o)&&!n.isInline(o)}})},e}(x1),Oat={renderStyle:function(t,e){if(!bt.isElement(t))return e;var n=t.textAlign,r=e;return n&&ks(r,{textAlign:n}),r},styleToHtml:function(t,e){if(!bt.isElement(t))return e;var n=t.textAlign;if(!n)return e;var r=k(e);return r.css("text-align",n),kc(r)},parseStyleHtml:function(t,e,n){var r=k(t);if(!bt.isElement(e))return e;var o=e,i=_o(r,"text-align");return i&&(o.textAlign=i),o},menus:[{key:"justifyLeft",factory:function(){return new Cat}},{key:"justifyRight",factory:function(){return new Dat}},{key:"justifyCenter",factory:function(){return new xat}},{key:"justifyJustify",factory:function(){return new Aat}}]},kat=function(){function t(){this.title=nt("lineHeight.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M964 788a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526zM198.93 144.306c6.668-5.798 16.774-5.094 22.573 1.574l122.26 140.582a16 16 0 0 1 3.927 10.5c0 8.836-7.164 16-16 16h-61.8a8 8 0 0 0-8 8v390.077h69.819a16 16 0 0 1 10.502 3.928c6.666 5.8 7.37 15.906 1.57 22.573L221.476 878.123a16 16 0 0 1-1.57 1.57c-6.668 5.8-16.774 5.097-22.574-1.57L75.051 737.538a16 16 0 0 1-3.928-10.5c0-8.837 7.163-16 16-16h69.822V312.96H87.127a16 16 0 0 1-10.502-3.928c-6.666-5.8-7.37-15.906-1.57-22.573l122.303-140.582a16 16 0 0 1 1.572-1.572zM964 465a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z m0-323a8 8 0 0 1 8 8v98a8 8 0 0 1-8 8H438a8 8 0 0 1-8-8v-98a8 8 0 0 1 8-8h526z"></path></svg>',this.tag="select",this.width=80}return t.prototype.getOptions=function(e){var n=[],r=e.getMenuConfig("lineHeight").lineHeightList,o=r===void 0?[]:r;n.push({text:nt("lineHeight.default"),value:""}),o.forEach(function(a){n.push({text:a,value:a})});var i=this.getValue(e);return n.forEach(function(a){a.value===i?a.selected=!0:delete a.selected}),n},t.prototype.getMatchNode=function(e){var n=se(E.nodes(e,{match:function(r){var o=A.getNodeType(r);return!!o.startsWith("header")||!!["paragraph","blockquote","list-item"].includes(o)},universal:!0,mode:"highest"}),1)[0];return n==null?null:n[0]},t.prototype.isActive=function(e){return!1},t.prototype.getValue=function(e){var n=this.getMatchNode(e);return n==null?"":bt.isElement(n)&&n.lineHeight||""},t.prototype.isDisabled=function(e){return e.selection==null||this.getMatchNode(e)==null},t.prototype.exec=function(e,n){I.setNodes(e,{lineHeight:n.toString()},{mode:"highest"})},t}(),Bat={renderStyle:function(t,e){if(!bt.isElement(t))return e;var n=t.lineHeight,r=e;return n&&ks(r,{lineHeight:n}),r},styleToHtml:function(t,e){if(!bt.isElement(t))return e;var n=t.lineHeight;if(!n)return e;var r=k(e);return r.css("line-height",n),kc(r)},parseStyleHtml:function(t,e,n){var r=k(t);if(!bt.isElement(e))return e;var o=e,i=n.getMenuConfig("lineHeight").lineHeightList,a=i===void 0?[]:i,u=_o(r,"line-height");return u&&a.includes(u)&&(o.lineHeight=u),o},menus:[{key:"lineHeight",factory:function(){return new kat},config:{lineHeightList:["1","1.15","1.5","2","2.5","3"]}}]},Fat=function(){function t(){this.title=nt("undo.redo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0.00032 576a510.72 510.72 0 0 0 173.344 384l84.672-96A383.136 383.136 0 0 1 128.00032 576C128.00032 363.936 299.93632 192 512.00032 192c106.048 0 202.048 42.976 271.52 112.48L640.00032 448h384V64l-149.984 149.984A510.272 510.272 0 0 0 512.00032 64C229.21632 64 0.00032 293.216 0.00032 576z"></path></svg>',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){return e.selection==null},t.prototype.exec=function(e,n){typeof e.redo=="function"&&e.redo()},t}(),Tat=function(){function t(){this.title=nt("undo.undo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M512 64A510.272 510.272 0 0 0 149.984 213.984L0.032 64v384h384L240.512 304.48A382.784 382.784 0 0 1 512.032 192c212.064 0 384 171.936 384 384 0 114.688-50.304 217.632-130.016 288l84.672 96a510.72 510.72 0 0 0 173.344-384c0-282.784-229.216-512-512-512z"></path></svg>',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){return e.selection==null},t.prototype.exec=function(e,n){typeof e.undo=="function"&&e.undo()},t}(),Pat={menus:[{key:"redo",factory:function(){return new Fat}},{key:"undo",factory:function(){return new Tat}}]},jat={type:"divider",renderElem:function(t,e,n){return Ul("div",{props:{contentEditable:!1,className:"w-e-textarea-divider"},dataset:{selected:A.isNodeSelected(n,t)?"true":""},style:{},on:{mousedown:function(r){return r.preventDefault()}}},[Ul("hr")])}},_at=function(){function t(){this.title=nt("divider.title"),this.iconSvg='<svg viewBox="0 0 1092 1024"><path d="M0 51.2m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M819.2 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M409.6 460.8m51.2 0l170.666667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-170.666667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path><path d="M0 870.4m51.2 0l989.866667 0q51.2 0 51.2 51.2l0 0q0 51.2-51.2 51.2l-989.866667 0q-51.2 0-51.2-51.2l0 0q0-51.2 51.2-51.2Z"></path></svg>',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){return e.selection==null||!!A.getSelectedElems(e).some(function(n){if(e.isVoid(n))return!0;var r=A.getNodeType(n);return r==="table"||r==="pre"||void 0})},t.prototype.exec=function(e,n){I.insertNodes(e,{type:"divider",children:[{text:""}]},{mode:"highest"})},t}(),Iat={renderElems:[jat],elemsToHtml:[{type:"divider",elemToHtml:function(t,e){return"<hr/>"}}],parseElemsHtml:[{selector:"hr:not([data-w-e-type])",parseElemHtml:function(t,e,n){return{type:"divider",children:[{text:""}]}}}],menus:[{key:"divider",factory:function(){return new _at}}],editorPlugin:function(t){var e=t.isVoid,n=t.normalizeNode,r=t;return r.isVoid=function(o){return o.type==="divider"||e(o)},r.normalizeNode=function(o){var i=se(o,2),a=i[0],u=i[1];if(A.getNodeType(a)!=="divider")return n([a,u]);A.isLastNode(r,a)&&I.insertNodes(r,A.genEmptyParagraph(),{at:[u[0]+1]})},r}},Nat=Xv.map;xn({target:"Array",proto:!0,forced:!bS("map")},{map:function(t){return Nat(this,t,arguments.length>1?arguments[1]:void 0)}});var Lat=Ft([].join),Rat=Uv!=Object,Mat=XT("join",",");xn({target:"Array",proto:!0,forced:Rat||!Mat},{join:function(t){return Lat(wc(this),t===void 0?",":t)}});var zat=function(){function t(){this.title=nt("codeBlock.title"),this.iconSvg='<svg viewBox="0 0 1280 1024"><path d="M832 736l96 96 320-320L928 192l-96 96 224 224zM448 288l-96-96L32 512l320 320 96-96-224-224zM701.312 150.528l69.472 18.944-192 704.032-69.472-18.944 192-704.032z"></path></svg>',this.tag="button"}return t.prototype.getSelectCodeElem=function(e){var n=A.getSelectedNodeByType(e,"code");if(n==null)return null;var r=A.getParentNode(e,n);return r==null||A.getNodeType(r)!=="pre"?null:n},t.prototype.getValue=function(e){var n=this.getSelectCodeElem(e);return n==null?"":n.language||""},t.prototype.isActive=function(e){return!!this.getSelectCodeElem(e)},t.prototype.isDisabled=function(e){if(e.selection==null)return!0;var n=A.getSelectedElems(e);return!!n.some(function(r){return e.isVoid(r)})||!n.some(function(r){var o=A.getNodeType(r);if(o==="pre"||o==="paragraph")return!0})},t.prototype.exec=function(e,n){this.isActive(e)?this.changeToPlainText(e):this.changeToCodeBlock(e,n.toString())},t.prototype.changeToPlainText=function(e){var n=this.getSelectCodeElem(e);if(n!=null){var r=et.string(n);I.removeNodes(e,{mode:"highest"});var o=r.split(`
  100. `).map(function(i){return{type:"paragraph",children:[{text:i}]}});I.insertNodes(e,o,{mode:"highest"})}},t.prototype.changeToCodeBlock=function(e,n){var r,o,i=[],a=E.nodes(e,{match:function(f){return e.children.includes(f)},universal:!0});try{for(var u=KT(a),s=u.next();!s.done;s=u.next()){var l=se(s.value,1)[0];l&&i.push(et.string(l))}}catch(f){r={error:f}}finally{try{s&&!s.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}I.removeNodes(e,{mode:"highest"});var c={type:"pre",children:[{type:"code",language:n,children:[{text:i.join(`
  101. `)}]}]};I.insertNodes(e,c,{mode:"highest"})},t}(),$at={key:"codeBlock",factory:function(){return new zat}};xn({target:"String",proto:!0,forced:Ep("anchor")},{anchor:function(t){return wp(this,"a","name",t)}}),FS("match",function(t,e,n){return[function(r){var o=so(this),i=r==null?void 0:Vv(r,t);return i?Xe(i,r,o):new RegExp(r)[t](Ve(o))},function(r){var o=zr(this),i=Ve(r),a=n(e,o,i);if(a.done)return a.value;if(!o.global)return yp(o,i);var u=o.unicode;o.lastIndex=0;for(var s,l=[],c=0;(s=yp(o,i))!==null;){var f=Ve(s[0]);l[c]=f,f===""&&(o.lastIndex=TS(i,hp(o.lastIndex),u)),c++}return c===0?null:l}]});var Hat={type:"pre",renderElem:function(t,e,n){return Pt("pre",null,e)}},Uat={type:"code",renderElem:function(t,e,n){return Pt("code",null,e)}},Vat={selector:"pre:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=k(t);return(e=e.filter(function(o){return A.getNodeType(o)==="code"})).length===0&&(e=[{type:"code",language:"",children:[{text:r[0].textContent||""}]}]),{type:"pre",children:e.filter(function(o){return A.getNodeType(o)==="code"})}}},Wat={menus:[$at],editorPlugin:function(t){var e=t.insertBreak,n=t.normalizeNode,r=t.insertData;t.insertNode;var o=t;return o.insertBreak=function(){var i=A.getSelectedNodeByType(o,"code");if(i!=null){var a=function(l,c){var f=c.selection;if(f==null)return"";var p=et.string(l),d=f.anchor.offset,y=p.slice(0,d).split(`
  102. `),g=y.length;return g===0?"":y[g-1]}(i,o);if(a){var u=a.match(/^\s+/);if(u!=null&&u[0]!=null){var s=u[0];return void o.insertText(`
  103. `+s)}}o.insertText(`
  104. `)}else e()},o.normalizeNode=function(i){var a=se(i,2),u=a[0],s=a[1],l=A.getNodeType(u);return l==="code"&&s.length<=1&&I.setNodes(o,{type:"paragraph"},{at:s}),l==="pre"&&(A.isLastNode(o,u)&&I.insertNodes(o,A.genEmptyParagraph(),{at:[s[0]+1]}),A.getNodeType(u.children[0])!=="code"&&(I.unwrapNodes(o),I.setNodes(o,{type:"paragraph"},{mode:"highest"}))),n([u,s])},o.insertData=function(i){if(A.getSelectedNodeByType(o,"code")!=null){var a=i.getData("text/plain");E.insertText(o,a)}else r(i)},o},renderElems:[Hat,Uat],elemsToHtml:[{type:"code",elemToHtml:function(t,e){return"<code>"+e+"</code>"}},{type:"pre",elemToHtml:function(t,e){return"<pre>"+e+"</pre>"}}],preParseHtml:[{selector:"pre>code",preParseHtml:function(t){var e=k(t);if(Bc(e)!=="code")return t;var n=e.find("xmp");if(n.length===0)return t;var r=n.text();return n.remove(),e.text(r),e[0]}}],parseElemsHtml:[{selector:"pre:not([data-w-e-type])>code",parseElemHtml:function(t,e,n){return{type:"code",language:"",children:[{text:k(t)[0].textContent||""}]}}},Vat]},Gat=function(){function t(){this.title=nt("fullScreen.title"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M133.705143 335.433143V133.851429h201.581714a29.622857 29.622857 0 0 0 29.622857-29.549715V68.754286a29.622857 29.622857 0 0 0-29.622857-29.622857H61.732571A22.893714 22.893714 0 0 0 38.765714 62.025143V335.725714c0 16.310857 13.238857 29.622857 29.622857 29.622857h35.547429a29.842286 29.842286 0 0 0 29.696-29.842285zM690.980571 133.851429h201.581715v201.654857c0 16.310857 13.238857 29.549714 29.622857 29.549714h35.547428a29.622857 29.622857 0 0 0 29.549715-29.549714V61.952a22.893714 22.893714 0 0 0-22.820572-22.893714h-273.554285a29.622857 29.622857 0 0 0-29.549715 29.622857v35.547428c0 16.310857 13.238857 29.696 29.622857 29.696zM335.286857 892.781714H133.705143V691.2a29.622857 29.622857 0 0 0-29.622857-29.622857H68.534857a29.622857 29.622857 0 0 0-29.549714 29.622857v273.554286c0 12.653714 10.24 22.893714 22.820571 22.893714h273.554286a29.622857 29.622857 0 0 0 29.696-29.622857v-35.547429a29.769143 29.769143 0 0 0-29.769143-29.696z m557.348572-201.581714v201.581714H690.907429a29.622857 29.622857 0 0 0-29.622858 29.622857v35.547429c0 16.310857 13.238857 29.622857 29.622858 29.622857h273.554285c12.580571 0 22.893714-10.313143 22.893715-22.893714V691.2a29.622857 29.622857 0 0 0-29.622858-29.622857h-35.547428a29.622857 29.622857 0 0 0-29.696 29.622857z"></path></svg>',this.tag="button",this.alwaysEnable=!0}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return e.isFullScreen},t.prototype.isDisabled=function(e){return!1},t.prototype.exec=function(e,n){e.isFullScreen?e.unFullScreen():e.fullScreen()},t}(),Kat={menus:[{key:"fullScreen",factory:function(){return new Gat}}]},qat=function(){function t(){this.title=nt("common.enter"),this.iconSvg='<svg viewBox="0 0 1255 1024"><path d="M1095.111111 731.477333h-625.777778V1024L0 658.318222 469.333333 292.408889v292.636444h625.777778V0h156.444445v731.477333z"></path></svg>',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){var n=e.selection;return n==null||!!M.isExpanded(n)},t.prototype.exec=function(e,n){var r=e.selection;if(r!=null){var o=[r.anchor.path[0]];I.insertNodes(e,{type:"paragraph",children:[{text:""}]},{at:o}),e.select(E.start(e,o))}},t}(),Zat=[srt,zrt,yat,Sat,Oat,Bat,cot,Iat,xot,Xrt,Wat,Cot,Irt,Tnt,hot,Pat,Kat,{menus:[{key:"enter",factory:function(){return new qat}}]}];Er("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),Er("zh-CN",{listModule:{unOrderedList:"\u65E0\u5E8F\u5217\u8868",orderedList:"\u6709\u5E8F\u5217\u8868"}});var Uj=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof ot.g!="undefined"?ot.g:typeof self!="undefined"?self:{};function N6(t){var e={exports:{}};return t(e,e.exports),e.exports}var Qa,A1,O1=function(t){return t&&t.Math==Math&&t},jt=O1(typeof globalThis=="object"&&globalThis)||O1(typeof window=="object"&&window)||O1(typeof self=="object"&&self)||O1(typeof Uj=="object"&&Uj)||function(){return this}()||Function("return this")(),Vj=Function.prototype,L6=Vj.bind,R6=Vj.call,Yat=L6&&L6.bind(R6),Zt=L6?function(t){return t&&Yat(R6,t)}:function(t){return t&&function(){return R6.apply(t,arguments)}},Ge=function(t){try{return!!t()}catch(e){return!0}},Xat=Zt({}.toString),Jat=Zt("".slice),Gi=function(t){return Jat(Xat(t),8,-1)},M6=jt.Object,Qat=Zt("".split),Wj=Ge(function(){return!M6("z").propertyIsEnumerable(0)})?function(t){return Gi(t)=="String"?Qat(t,""):M6(t)}:M6,tut=jt.TypeError,k1=function(t){if(t==null)throw tut("Can't call method on "+t);return t},Rc=function(t){return Wj(k1(t))},eut=Object.defineProperty,z6=function(t,e){try{eut(jt,t,{value:e,configurable:!0,writable:!0})}catch(n){jt[t]=e}return e},tu=jt["__core-js_shared__"]||z6("__core-js_shared__",{}),$6=N6(function(t){(t.exports=function(e,n){return tu[e]||(tu[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),nut=jt.Object,Lp=function(t){return nut(k1(t))},rut=Zt({}.hasOwnProperty),An=Object.hasOwn||function(t,e){return rut(Lp(t),e)},out=0,iut=Math.random(),aut=Zt(1 .toString),H6=function(t){return"Symbol("+(t===void 0?"":t)+")_"+aut(++out+iut,36)},Ke=function(t){return typeof t=="function"},uut=function(t){return Ke(t)?t:void 0},Rp=function(t,e){return arguments.length<2?uut(jt[t]):jt[t]&&jt[t][e]},U6=Rp("navigator","userAgent")||"",Gj=jt.process,Kj=jt.Deno,qj=Gj&&Gj.versions||Kj&&Kj.version,Zj=qj&&qj.v8;Zj&&(A1=(Qa=Zj.split("."))[0]>0&&Qa[0]<4?1:+(Qa[0]+Qa[1])),!A1&&U6&&(!(Qa=U6.match(/Edge\/(\d+)/))||Qa[1]>=74)&&(Qa=U6.match(/Chrome\/(\d+)/))&&(A1=+Qa[1]);var B1,V6=A1,W6=!!Object.getOwnPropertySymbols&&!Ge(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&V6&&V6<41}),G6=W6&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Mp=$6("wks"),Ms=jt.Symbol,Yj=Ms&&Ms.for,sut=G6?Ms:Ms&&Ms.withoutSetter||H6,Wn=function(t){if(!An(Mp,t)||!W6&&typeof Mp[t]!="string"){var e="Symbol."+t;W6&&An(Ms,t)?Mp[t]=Ms[t]:Mp[t]=G6&&Yj?Yj(e):sut(e)}return Mp[t]},qe=function(t){return typeof t=="object"?t!==null:Ke(t)},lut=jt.String,cut=jt.TypeError,Dr=function(t){if(qe(t))return t;throw cut(lut(t)+" is not an object")},eu=!Ge(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),K6=jt.document,fut=qe(K6)&&qe(K6.createElement),q6=function(t){return fut?K6.createElement(t):{}},Xj=!eu&&!Ge(function(){return Object.defineProperty(q6("div"),"a",{get:function(){return 7}}).a!=7}),zp=Function.prototype.call,On=zp.bind?zp.bind(zp):function(){return zp.apply(zp,arguments)},F1=Zt({}.isPrototypeOf),dut=jt.Object,Z6=G6?function(t){return typeof t=="symbol"}:function(t){var e=Rp("Symbol");return Ke(e)&&F1(e.prototype,dut(t))},put=jt.String,Y6=function(t){try{return put(t)}catch(e){return"Object"}},hut=jt.TypeError,X6=function(t){if(Ke(t))return t;throw hut(Y6(t)+" is not a function")},$p=function(t,e){var n=t[e];return n==null?void 0:X6(n)},gut=jt.TypeError,vut=jt.TypeError,mut=Wn("toPrimitive"),J6=function(t){var e=function(n,r){if(!qe(n)||Z6(n))return n;var o,i=$p(n,mut);if(i){if(r===void 0&&(r="default"),o=On(i,n,r),!qe(o)||Z6(o))return o;throw vut("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&Ke(s=a.toString)&&!qe(l=On(s,a))||Ke(s=a.valueOf)&&!qe(l=On(s,a))||u!=="string"&&Ke(s=a.toString)&&!qe(l=On(s,a)))return l;throw gut("Can't convert object to primitive value")}(n,r)}(t,"string");return Z6(e)?e:e+""},yut=jt.TypeError,Jj=Object.defineProperty,zs={f:eu?Jj:function(t,e,n){if(Dr(t),e=J6(e),Dr(n),Xj)try{return Jj(t,e,n)}catch(r){}if("get"in n||"set"in n)throw yut("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},but=Math.ceil,wut=Math.floor,Hp=function(t){var e=+t;return e!=e||e===0?0:(e>0?wut:but)(e)},Eut=Math.max,Sut=Math.min,Q6=function(t,e){var n=Hp(t);return n<0?Eut(n+e,0):Sut(n,e)},Cut=Math.min,Qj=function(t){return t>0?Cut(Hp(t),9007199254740991):0},Mc=function(t){return Qj(t.length)},t_=function(t){return function(e,n,r){var o,i=Rc(e),a=Mc(i),u=Q6(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},e_={includes:t_(!0),indexOf:t_(!1)},T1={},Dut=e_.indexOf,n_=Zt([].push),r_=function(t,e){var n,r=Rc(t),o=0,i=[];for(n in r)!An(T1,n)&&An(r,n)&&n_(i,n);for(;e.length>o;)An(r,n=e[o++])&&(~Dut(i,n)||n_(i,n));return i},P1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],xut=Object.keys||function(t){return r_(t,P1)},Aut=eu?Object.defineProperties:function(t,e){Dr(t);for(var n,r=Rc(e),o=xut(e),i=o.length,a=0;i>a;)zs.f(t,n=o[a++],r[n]);return t},Out=Rp("document","documentElement"),o_=$6("keys"),t3=function(t){return o_[t]||(o_[t]=H6(t))},i_=t3("IE_PROTO"),e3=function(){},a_=function(t){return"<script>"+t+"</script>"},u_=function(t){t.write(a_("")),t.close();var e=t.parentWindow.Object;return t=null,e},j1=function(){try{B1=new ActiveXObject("htmlfile")}catch(r){}var t,e;j1=typeof document!="undefined"?document.domain&&B1?u_(B1):((e=q6("iframe")).style.display="none",Out.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(a_("document.F=Object")),t.close(),t.F):u_(B1);for(var n=P1.length;n--;)delete j1.prototype[P1[n]];return j1()};T1[i_]=!0;var n3=Object.create||function(t,e){var n;return t!==null?(e3.prototype=Dr(t),n=new e3,e3.prototype=null,n[i_]=t):n=j1(),e===void 0?n:Aut(n,e)},r3=Wn("unscopables"),o3=Array.prototype;o3[r3]==null&&zs.f(o3,r3,{configurable:!0,value:n3(null)});var Up=function(t){o3[r3][t]=!0},zc={},kut=Zt(Function.toString);Ke(tu.inspectSource)||(tu.inspectSource=function(t){return kut(t)});var _1,Vp,I1,i3=tu.inspectSource,s_=jt.WeakMap,l_=Ke(s_)&&/native code/.test(i3(s_)),N1=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},nu=eu?function(t,e,n){return zs.f(t,e,N1(1,n))}:function(t,e,n){return t[e]=n,t},a3=jt.TypeError,But=jt.WeakMap;if(l_||tu.state){var $s=tu.state||(tu.state=new But),Fut=Zt($s.get),c_=Zt($s.has),Tut=Zt($s.set);_1=function(t,e){if(c_($s,t))throw new a3("Object already initialized");return e.facade=t,Tut($s,t,e),e},Vp=function(t){return Fut($s,t)||{}},I1=function(t){return c_($s,t)}}else{var $c=t3("state");T1[$c]=!0,_1=function(t,e){if(An(t,$c))throw new a3("Object already initialized");return e.facade=t,nu(t,$c,e),e},Vp=function(t){return An(t,$c)?t[$c]:{}},I1=function(t){return An(t,$c)}}var Hs,f_,d_,ci={set:_1,get:Vp,has:I1,enforce:function(t){return I1(t)?Vp(t):_1(t,{})},getterFor:function(t){return function(e){var n;if(!qe(e)||(n=Vp(e)).type!==t)throw a3("Incompatible receiver, "+t+" required");return n}}},p_={}.propertyIsEnumerable,h_=Object.getOwnPropertyDescriptor,Put={f:h_&&!p_.call({1:2},1)?function(t){var e=h_(this,t);return!!e&&e.enumerable}:p_},g_=Object.getOwnPropertyDescriptor,v_={f:eu?g_:function(t,e){if(t=Rc(t),e=J6(e),Xj)try{return g_(t,e)}catch(n){}if(An(t,e))return N1(!On(Put.f,t,e),t[e])}},m_=Function.prototype,jut=eu&&Object.getOwnPropertyDescriptor,u3=An(m_,"name"),s3={EXISTS:u3,PROPER:u3&&function(){}.name==="something",CONFIGURABLE:u3&&(!eu||eu&&jut(m_,"name").configurable)},fi=N6(function(t){var e=s3.CONFIGURABLE,n=ci.get,r=ci.enforce,o=String(String).split("String");(t.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet,d=s&&s.name!==void 0?s.name:a;Ke(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!An(u,"name")||e&&u.name!==d)&&nu(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==jt?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:nu(i,a,u)):f?i[a]=u:z6(a,u)})(Function.prototype,"toString",function(){return Ke(this)&&n(this).source||i3(this)})}),_ut=P1.concat("length","prototype"),L1={f:Object.getOwnPropertyNames||function(t){return r_(t,_ut)}},Iut={f:Object.getOwnPropertySymbols},Nut=Zt([].concat),Lut=Rp("Reflect","ownKeys")||function(t){var e=L1.f(Dr(t)),n=Iut.f;return n?Nut(e,n(t)):e},Rut=function(t,e){for(var n=Lut(e),r=zs.f,o=v_.f,i=0;i<n.length;i++){var a=n[i];An(t,a)||r(t,a,o(e,a))}},Mut=/#|\.prototype\./,Wp=function(t,e){var n=$ut[zut(t)];return n==Uut||n!=Hut&&(Ke(e)?Ge(e):!!e)},zut=Wp.normalize=function(t){return String(t).replace(Mut,".").toLowerCase()},$ut=Wp.data={},Hut=Wp.NATIVE="N",Uut=Wp.POLYFILL="P",l3=Wp,Vut=v_.f,ru=function(t,e){var n,r,o,i,a,u=t.target,s=t.global,l=t.stat;if(n=s?jt:l?jt[u]||z6(u,{}):(jt[u]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=Vut(n,r))&&a.value:n[r],!l3(s?r:u+(l?".":"#")+r,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;Rut(i,o)}(t.sham||o&&o.sham)&&nu(i,"sham",!0),fi(n,r,i,t)}},Wut=!Ge(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),y_=t3("IE_PROTO"),c3=jt.Object,Gut=c3.prototype,R1=Wut?c3.getPrototypeOf:function(t){var e=Lp(t);if(An(e,y_))return e[y_];var n=e.constructor;return Ke(n)&&e instanceof n?n.prototype:e instanceof c3?Gut:null},f3=Wn("iterator"),b_=!1;[].keys&&("next"in(d_=[].keys())?(f_=R1(R1(d_)))!==Object.prototype&&(Hs=f_):b_=!0);var Kut=Hs==null||Ge(function(){var t={};return Hs[f3].call(t)!==t});Kut&&(Hs={}),Ke(Hs[f3])||fi(Hs,f3,function(){return this});var d3={IteratorPrototype:Hs,BUGGY_SAFARI_ITERATORS:b_},qut=zs.f,w_=Wn("toStringTag"),p3=function(t,e,n){t&&!An(t=n?t:t.prototype,w_)&&qut(t,w_,{configurable:!0,value:e})},Zut=d3.IteratorPrototype,Yut=function(){return this},Xut=jt.String,Jut=jt.TypeError,M1=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Zt(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(r){}return function(r,o){return Dr(r),function(i){if(typeof i=="object"||Ke(i))return i;throw Jut("Can't set "+Xut(i)+" as a prototype")}(o),e?t(r,o):r.__proto__=o,r}}():void 0),Qut=s3.PROPER,tst=s3.CONFIGURABLE,E_=d3.IteratorPrototype,z1=d3.BUGGY_SAFARI_ITERATORS,Gp=Wn("iterator"),est=function(){return this},S_=function(t,e,n,r,o,i,a){(function(m,h,b,w){var S=h+" Iterator";m.prototype=n3(Zut,{next:N1(1,b)}),p3(m,S,!1),zc[S]=Yut})(n,e,r);var u,s,l,c=function(m){if(m===o&&g)return g;if(!z1&&m in d)return d[m];switch(m){case"keys":case"values":case"entries":return function(){return new n(this,m)}}return function(){return new n(this)}},f=e+" Iterator",p=!1,d=t.prototype,y=d[Gp]||d["@@iterator"]||o&&d[o],g=!z1&&y||c(o),v=e=="Array"&&d.entries||y;if(v&&(u=R1(v.call(new t)))!==Object.prototype&&u.next&&(R1(u)!==E_&&(M1?M1(u,E_):Ke(u[Gp])||fi(u,Gp,est)),p3(u,f,!0)),Qut&&o=="values"&&y&&y.name!=="values"&&(tst?nu(d,"name","values"):(p=!0,g=function(){return On(y,this)})),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(z1||p||!(l in d))&&fi(d,l,s[l]);else ru({target:e,proto:!0,forced:z1||p},s);return d[Gp]!==g&&fi(d,Gp,g,{name:o}),zc[e]=g,s},nst=ci.set,rst=ci.getterFor("Array Iterator"),Kp=S_(Array,"Array",function(t,e){nst(this,{type:"Array Iterator",target:Rc(t),index:0,kind:e})},function(){var t=rst(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values");zc.Arguments=zc.Array,Up("keys"),Up("values"),Up("entries");var C_={};C_[Wn("toStringTag")]="z";var h3=String(C_)==="[object z]",ost=Wn("toStringTag"),ist=jt.Object,ast=Gi(function(){return arguments}())=="Arguments",$1=h3?Gi:function(t){var e,n,r;return t===void 0?"Undefined":t===null?"Null":typeof(n=function(o,i){try{return o[i]}catch(a){}}(e=ist(t),ost))=="string"?n:ast?Gi(e):(r=Gi(e))=="Object"&&Ke(e.callee)?"Arguments":r},ust=h3?{}.toString:function(){return"[object "+$1(this)+"]"};h3||fi(Object.prototype,"toString",ust,{unsafe:!0});var sst=jt.String,Ki=function(t){if($1(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return sst(t)},lst=Zt("".charAt),D_=Zt("".charCodeAt),cst=Zt("".slice),x_=function(t){return function(e,n){var r,o,i=Ki(k1(e)),a=Hp(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=D_(i,a))<55296||r>56319||a+1===u||(o=D_(i,a+1))<56320||o>57343?t?lst(i,a):r:t?cst(i,a,a+2):o-56320+(r-55296<<10)+65536}},A_={codeAt:x_(!1),charAt:x_(!0)},fst=A_.charAt,dst=ci.set,pst=ci.getterFor("String Iterator");S_(String,"String",function(t){dst(this,{type:"String Iterator",string:Ki(t),index:0})},function(){var t,e=pst(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=fst(n,r),e.index+=t.length,{value:t,done:!1})});var g3=function(t,e,n){for(var r in e)fi(t,r,e[r],n);return t},hst=jt.Array,gst=Math.max,O_=L1.f,k_=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],vst={f:function(t){return k_&&Gi(t)=="Window"?function(e){try{return O_(e)}catch(n){return function(r,o,i){for(var a,u,s,l,c=Mc(r),f=Q6(void 0,c),p=Q6(c,c),d=hst(gst(p-f,0)),y=0;f<p;f++,y++)a=d,u=y,s=r[f],(l=J6(u))in a?zs.f(a,l,N1(0,s)):a[l]=s;return d.length=y,d}(k_)}}(t):O_(Rc(t))}},B_=Ge(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),H1=Object.isExtensible,Us=Ge(function(){H1(1)})||B_?function(t){return!!qe(t)&&(!B_||Gi(t)!="ArrayBuffer")&&(!H1||H1(t))}:H1,mst=!Ge(function(){return Object.isExtensible(Object.preventExtensions({}))}),v3=N6(function(t){var e=zs.f,n=!1,r=H6("meta"),o=0,i=function(u){e(u,r,{value:{objectID:"O"+o++,weakData:{}}})},a=t.exports={enable:function(){a.enable=function(){},n=!0;var u=L1.f,s=Zt([].splice),l={};l[r]=1,u(l).length&&(L1.f=function(c){for(var f=u(c),p=0,d=f.length;p<d;p++)if(f[p]===r){s(f,p,1);break}return f},ru({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:vst.f}))},fastKey:function(u,s){if(!qe(u))return typeof u=="symbol"?u:(typeof u=="string"?"S":"P")+u;if(!An(u,r)){if(!Us(u))return"F";if(!s)return"E";i(u)}return u[r].objectID},getWeakData:function(u,s){if(!An(u,r)){if(!Us(u))return!0;if(!s)return!1;i(u)}return u[r].weakData},onFreeze:function(u){return mst&&n&&Us(u)&&!An(u,r)&&i(u),u}};T1[r]=!0}),F_=Zt(Zt.bind),m3=function(t,e){return X6(t),e===void 0?t:F_?F_(t,e):function(){return t.apply(e,arguments)}},yst=Wn("iterator"),bst=Array.prototype,wst=Wn("iterator"),T_=function(t){if(t!=null)return $p(t,wst)||$p(t,"@@iterator")||zc[$1(t)]},Est=jt.TypeError,P_=function(t,e,n){var r,o;Dr(t);try{if(!(r=$p(t,"return"))){if(e==="throw")throw n;return n}r=On(r,t)}catch(i){o=!0,r=i}if(e==="throw")throw n;if(o)throw r;return Dr(r),n},Sst=jt.TypeError,U1=function(t,e){this.stopped=t,this.result=e},j_=U1.prototype,__=function(t,e,n){var r,o,i,a,u,s,l,c,f=n&&n.that,p=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),y=!(!n||!n.INTERRUPTED),g=m3(e,f),v=function(h){return r&&P_(r,"normal",h),new U1(!0,h)},m=function(h){return p?(Dr(h),y?g(h[0],h[1],v):g(h[0],h[1])):y?g(h,v):g(h)};if(d)r=t;else{if(!(o=T_(t)))throw Sst(Y6(t)+" is not iterable");if((c=o)!==void 0&&(zc.Array===c||bst[yst]===c)){for(i=0,a=Mc(t);a>i;i++)if((u=m(t[i]))&&F1(j_,u))return u;return new U1(!1)}r=function(h,b){var w=arguments.length<2?T_(h):b;if(X6(w))return Dr(On(w,h));throw Est(Y6(h)+" is not iterable")}(t,o)}for(s=r.next;!(l=On(s,r)).done;){try{u=m(l.value)}catch(h){P_(r,"throw",h)}if(typeof u=="object"&&u&&F1(j_,u))return u}return new U1(!1)},Cst=jt.TypeError,I_=function(t,e){if(F1(e,t))return t;throw Cst("Incorrect invocation")},N_=Wn("iterator"),L_=!1;try{var Dst=0,R_={next:function(){return{done:!!Dst++}},return:function(){L_=!0}};R_[N_]=function(){return this},Array.from(R_,function(){throw 2})}catch(t){}var y3=Array.isArray||function(t){return Gi(t)=="Array"},M_=function(){},xst=[],z_=Rp("Reflect","construct"),b3=/^\s*(?:class|function)\b/,Ast=Zt(b3.exec),Ost=!b3.exec(M_),qp=function(t){if(!Ke(t))return!1;try{return z_(M_,xst,t),!0}catch(e){return!1}},kst=!z_||Ge(function(){var t;return qp(qp.call)||!qp(Object)||!qp(function(){t=!0})||t})?function(t){if(!Ke(t))return!1;switch($1(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Ost||!!Ast(b3,i3(t))}:qp,Bst=Wn("species"),$_=jt.Array,H_=function(t,e){return new(function(n){var r;return y3(n)&&(r=n.constructor,(kst(r)&&(r===$_||y3(r.prototype))||qe(r)&&(r=r[Bst])===null)&&(r=void 0)),r===void 0?$_:r}(t))(e===0?0:e)},U_=Zt([].push),ou=function(t){var e=t==1,n=t==2,r=t==3,o=t==4,i=t==6,a=t==7,u=t==5||i;return function(s,l,c,f){for(var p,d,y=Lp(s),g=Wj(y),v=m3(l,c),m=Mc(g),h=0,b=f||H_,w=e?b(s,m):n||a?b(s,0):void 0;m>h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),t))if(e)w[h]=d;else if(d)switch(t){case 3:return!0;case 5:return p;case 6:return h;case 2:U_(w,p)}else switch(t){case 4:return!1;case 7:U_(w,p)}return i?-1:r||o?o:w}},w3={forEach:ou(0),map:ou(1),filter:ou(2),some:ou(3),every:ou(4),find:ou(5),findIndex:ou(6),filterReject:ou(7)},V1=v3.getWeakData,Fst=ci.set,Tst=ci.getterFor,Pst=w3.find,jst=w3.findIndex,_st=Zt([].splice),Ist=0,W1=function(t){return t.frozen||(t.frozen=new V_)},V_=function(){this.entries=[]},E3=function(t,e){return Pst(t.entries,function(n){return n[0]===e})};V_.prototype={get:function(t){var e=E3(this,t);if(e)return e[1]},has:function(t){return!!E3(this,t)},set:function(t,e){var n=E3(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=jst(this.entries,function(n){return n[0]===t});return~e&&_st(this.entries,e,1),!!~e}};var Zp,W_={getConstructor:function(t,e,n,r){var o=t(function(s,l){I_(s,i),Fst(s,{type:e,id:Ist++,frozen:void 0}),l!=null&&__(l,s[r],{that:s,AS_ENTRIES:n})}),i=o.prototype,a=Tst(e),u=function(s,l,c){var f=a(s),p=V1(Dr(l),!0);return p===!0?W1(f).set(l,c):p[f.id]=c,s};return g3(i,{delete:function(s){var l=a(this);if(!qe(s))return!1;var c=V1(s);return c===!0?W1(l).delete(s):c&&An(c,l.id)&&delete c[l.id]},has:function(s){var l=a(this);if(!qe(s))return!1;var c=V1(s);return c===!0?W1(l).has(s):c&&An(c,l.id)}}),g3(i,n?{get:function(s){var l=a(this);if(qe(s)){var c=V1(s);return c===!0?W1(l).get(s):c?c[l.id]:void 0}},set:function(s,l){return u(this,s,l)}}:{add:function(s){return u(this,s,!0)}}),o}},G1=ci.enforce,Nst=!jt.ActiveXObject&&"ActiveXObject"in jt,G_=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Lst=function(t,e,n){var r=t.indexOf("Map")!==-1,o=t.indexOf("Weak")!==-1,i=r?"set":"add",a=jt[t],u=a&&a.prototype,s=a,l={},c=function(v){var m=Zt(u[v]);fi(u,v,v=="add"?function(h){return m(this,h===0?0:h),this}:v=="delete"?function(h){return!(o&&!qe(h))&&m(this,h===0?0:h)}:v=="get"?function(h){return o&&!qe(h)?void 0:m(this,h===0?0:h)}:v=="has"?function(h){return!(o&&!qe(h))&&m(this,h===0?0:h)}:function(h,b){return m(this,h===0?0:h,b),this})};if(l3(t,!Ke(a)||!(o||u.forEach&&!Ge(function(){new a().entries().next()}))))s=n.getConstructor(e,t,r,i),v3.enable();else if(l3(t,!0)){var f=new s,p=f[i](o?{}:-0,1)!=f,d=Ge(function(){f.has(1)}),y=function(v,m){if(!L_)return!1;var h=!1;try{var b={};b[N_]=function(){return{next:function(){return{done:h=!0}}}},function(w){new a(w)}(b)}catch(w){}return h}(),g=!o&&Ge(function(){for(var v=new a,m=5;m--;)v[i](m,m);return!v.has(-0)});y||((s=e(function(v,m){I_(v,u);var h=function(b,w,S){var D,C;return M1&&Ke(D=w.constructor)&&D!==S&&qe(C=D.prototype)&&C!==S.prototype&&M1(b,C),b}(new a,v,s);return m!=null&&__(m,h[i],{that:h,AS_ENTRIES:r}),h})).prototype=u,u.constructor=s),(d||g)&&(c("delete"),c("has"),r&&c("get")),(g||p)&&c(i),o&&u.clear&&delete u.clear}return l[t]=s,ru({global:!0,forced:s!=a},l),p3(s,t),o||n.setStrong(s,t,r),s}("WeakMap",G_,W_);if(l_&&Nst){Zp=W_.getConstructor(G_,"WeakMap",!0),v3.enable();var Yp=Lst.prototype,K_=Zt(Yp.delete),K1=Zt(Yp.has),q_=Zt(Yp.get),Z_=Zt(Yp.set);g3(Yp,{delete:function(t){if(qe(t)&&!Us(t)){var e=G1(this);return e.frozen||(e.frozen=new Zp),K_(this,t)||e.frozen.delete(t)}return K_(this,t)},has:function(t){if(qe(t)&&!Us(t)){var e=G1(this);return e.frozen||(e.frozen=new Zp),K1(this,t)||e.frozen.has(t)}return K1(this,t)},get:function(t){if(qe(t)&&!Us(t)){var e=G1(this);return e.frozen||(e.frozen=new Zp),K1(this,t)?q_(this,t):e.frozen.get(t)}return q_(this,t)},set:function(t,e){if(qe(t)&&!Us(t)){var n=G1(this);n.frozen||(n.frozen=new Zp),K1(this,t)?Z_(this,t,e):n.frozen.set(t,e)}else Z_(this,t,e);return this}})}var Y_={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},S3=q6("span").classList,X_=S3&&S3.constructor&&S3.constructor.prototype,Rst=X_===Object.prototype?void 0:X_,C3=Wn("iterator"),J_=Wn("toStringTag"),D3=Kp.values,Q_=function(t,e){if(t){if(t[C3]!==D3)try{nu(t,C3,D3)}catch(r){t[C3]=D3}if(t[J_]||nu(t,J_,e),Y_[e]){for(var n in Kp)if(t[n]!==Kp[n])try{nu(t,n,Kp[n])}catch(r){t[n]=Kp[n]}}}};for(var x3 in Y_)Q_(jt[x3]&&jt[x3].prototype,x3);Q_(Rst,"DOMTokenList");var A3=new WeakMap,Mst={type:"list-item",renderElem:function(t,e,n){A3.set(t,n);var r=t,o=r.level,i=o===void 0?0:o,a=r.ordered,u={margin:"5px 0 5px "+20*i+"px"},s="";if(a!==void 0&&a){var l=function(f,p){var d=p,y=d.type,g=d.level,v=g===void 0?0:g,m=d.ordered,h=m!==void 0&&m;if(!h)return-1;var b=1,w=p,S=A.findPath(f,w);if(S[0]===0)return 1;for(;S[0]>0;){var D=_.previous(S),C=E.node(f,D);if(C==null)break;var O=C[0],T=O.level,L=T===void 0?0:T,z=O.type,$=O.ordered;if(z!==y||L<v)break;if(L===v){if($!==h)break;b++}w=O,S=D}return b}(n,t);s=l+"."}else s=function(f){f===void 0&&(f=0);var p="";switch(f){case 0:p="\u2022";break;case 1:p="\u25E6";break;default:p="\u25AA"}return p}(i);var c=function(f){var p,d=f.children||[],y=d.length;if(y===0)return"";for(var g=0;g<y&&!p;g++){var v=d[g];ft.isText(v)&&(p=v)}return p==null?"":p.color||""}(t);return Pt("div",{style:u},Pt("span",{contentEditable:!1,style:{marginRight:"0.5em",color:c},"data-w-e-reserve":!0},s),Pt("span",null,e))}},O3=function(t,e){return O3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[o]=r[o])},O3(t,e);/*! *****************************************************************************
  105. Copyright (c) Microsoft Corporation.
  106. Permission to use, copy, modify, and/or distribute this software for any
  107. purpose with or without fee is hereby granted.
  108. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  109. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  110. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  111. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  112. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  113. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  114. PERFORMANCE OF THIS SOFTWARE.
  115. ***************************************************************************** */};function tI(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}O3(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}function eI(t){var e=typeof Symbol=="function"&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Xp(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(e===void 0||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function nI(t){return E.nodes(t,{at:t.selection||void 0,match:function(e){return A.findPath(t,e).length===1}})}var zst=e_.includes;ru({target:"Array",proto:!0},{includes:function(t){return zst(this,t,arguments.length>1?arguments[1]:void 0)}}),Up("includes");var rI,k3,$st=function(){var t=Dr(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},B3=jt.RegExp,F3=Ge(function(){var t=B3("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),Hst=F3||Ge(function(){return!B3("a","y").sticky}),Ust={BROKEN_CARET:F3||Ge(function(){var t=B3("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),MISSED_STICKY:Hst,UNSUPPORTED_Y:F3},Vst=jt.RegExp,Wst=Ge(function(){var t=Vst(".","s");return!(t.dotAll&&t.exec(`
  116. `)&&t.flags==="s")}),Gst=jt.RegExp,Kst=Ge(function(){var t=Gst("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),qst=ci.get,Zst=$6("native-string-replace",String.prototype.replace),q1=RegExp.prototype.exec,T3=q1,Yst=Zt("".charAt),Xst=Zt("".indexOf),Jst=Zt("".replace),P3=Zt("".slice),j3=(k3=/b*/g,On(q1,rI=/a/,"a"),On(q1,k3,"a"),rI.lastIndex!==0||k3.lastIndex!==0),oI=Ust.BROKEN_CARET,_3=/()??/.exec("")[1]!==void 0;(j3||_3||oI||Wst||Kst)&&(T3=function(t){var e,n,r,o,i,a,u,s=this,l=qst(s),c=Ki(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=On(T3,f,c),s.lastIndex=f.lastIndex,e;var p=l.groups,d=oI&&s.sticky,y=On($st,s),g=s.source,v=0,m=c;if(d&&(y=Jst(y,"y",""),Xst(y,"g")===-1&&(y+="g"),m=P3(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&Yst(c,s.lastIndex-1)!==`
  117. `)&&(g="(?: "+g+")",m=" "+m,v++),n=new RegExp("^(?:"+g+")",y)),_3&&(n=new RegExp("^"+g+"$(?!\\s)",y)),j3&&(r=s.lastIndex),o=On(q1,d?n:s,m),d?o?(o.input=P3(o.input,v),o[0]=P3(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:j3&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),_3&&o&&o.length>1&&On(Zst,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&p)for(o.groups=a=n3(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var Z1=T3;ru({target:"RegExp",proto:!0,forced:/./.exec!==Z1},{exec:Z1});var iI=function(){function t(){this.type="list-item",this.tag="button"}return t.prototype.getListNode=function(e){var n=this.type;return A.getSelectedNodeByType(e,n)},t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){var n=this.getListNode(e);if(n==null)return!1;var r=n.ordered;return(r!==void 0&&r)===this.ordered},t.prototype.isDisabled=function(e){return e.selection==null||!!A.getSelectedElems(e).some(function(n){if(E.isVoid(e,n)&&E.isBlock(e,n))return!0;var r=n.type;return!!["pre","code","table"].includes(r)||void 0})},t.prototype.exec=function(e,n){this.isActive(e)?I.setNodes(e,{type:"paragraph",ordered:void 0,level:void 0}):I.setNodes(e,{type:"list-item",ordered:this.ordered,indent:void 0})},t}(),Qst='<svg viewBox="0 0 1024 1024"><path d="M384 64h640v128H384V64z m0 384h640v128H384v-128z m0 384h640v128H384v-128zM0 128a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z"></path></svg>',tlt='<svg viewBox="0 0 1024 1024"><path d="M384 832h640v128H384z m0-384h640v128H384z m0-384h640v128H384zM192 0v256H128V64H64V0zM128 526.016v50.016h128v64H64v-146.016l128-60V384H64v-64h192v146.016zM256 704v320H64v-64h128v-64H64v-64h128v-64H64v-64z"></path></svg>',elt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.ordered=!1,n.title=nt("listModule.unOrderedList"),n.iconSvg=Qst,n}return tI(e,t),e}(iI),nlt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.ordered=!0,n.title=nt("listModule.orderedList"),n.iconSvg=tlt,n}return tI(e,t),e}(iI),rlt={key:"bulletedList",factory:function(){return new elt}},olt={key:"numberedList",factory:function(){return new nlt}},aI=[],ilt={type:"list-item",elemToHtml:function(t,e){var n="",r="",o=t.ordered,i=o!==void 0&&o?"ol":"ul",a=function(l){var c=A3.get(l);if(c==null)return 0;var f=l,p=f.type,d=f.ordered,y=d!==void 0&&d,g=f.level,v=g===void 0?0:g,m=A.findPath(c,l);if(m[0]===0)return v+1;var h=_.previous(m),b=E.node(c,h);if(!b)return 0;var w=Xp(b,1)[0];if(A.getNodeType(w)!==p)return v+1;var S=w,D=S.ordered,C=D!==void 0&&D,O=S.level,T=O===void 0?0:O;return T<v?v-T:T>v?0:T===v?C===y?0:1:0}(t);if(a>0)for(var u=0;u<a;u++)n+="<"+i+">",aI.push(i);var s=function(l){var c=A3.get(l);if(c==null)return 0;var f=l,p=f.type,d=f.ordered,y=d!==void 0&&d,g=f.level,v=g===void 0?0:g,m=A.findPath(c,l);if(m[0]===c.children.length-1)return v+1;var h=_.next(m),b=E.node(c,h);if(!b)return 0;var w=Xp(b,1)[0];if(A.getNodeType(w)!==p)return v+1;var S=w,D=S.ordered,C=D!==void 0&&D,O=S.level,T=O===void 0?0:O;return T<v?v-T:T>v?0:T===v?C===y?0:1:0}(t);if(s>0)for(u=0;u<s;u++)r+="</"+aI.pop()+">";return{html:"<li>"+e+"</li>",prefix:n,suffix:r}}},alt=Wn("species"),ult=w3.filter,slt=V6>=51||!Ge(function(){var t=[];return(t.constructor={})[alt]=function(){return{foo:1}},t.filter(Boolean).foo!==1});ru({target:"Array",proto:!0,forced:!slt},{filter:function(t){return ult(this,t,arguments.length>1?arguments[1]:void 0)}});var I3=Function.prototype,uI=I3.apply,llt=I3.bind,sI=I3.call,clt=typeof Reflect=="object"&&Reflect.apply||(llt?sI.bind(uI):function(){return sI.apply(uI,arguments)}),lI=(Wn("species"),RegExp.prototype),flt=A_.charAt,dlt=function(t,e,n){return e+(n?flt(t,e).length:1)},plt=Math.floor,N3=Zt("".charAt),hlt=Zt("".replace),L3=Zt("".slice),glt=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,vlt=/\$([$&'`]|\d{1,2})/g,mlt=function(t,e,n,r,o,i){var a=n+t.length,u=r.length,s=vlt;return o!==void 0&&(o=Lp(o),s=glt),hlt(i,s,function(l,c){var f;switch(N3(c,0)){case"$":return"$";case"&":return t;case"`":return L3(e,0,n);case"'":return L3(e,a);case"<":f=o[L3(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>u){var d=plt(p/10);return d===0?l:d<=u?r[d-1]===void 0?N3(c,1):r[d-1]+N3(c,1):l}f=r[p-1]}return f===void 0?"":f})},ylt=jt.TypeError,blt=function(t,e){var n=t.exec;if(Ke(n)){var r=On(n,t,e);return r!==null&&Dr(r),r}if(Gi(t)==="RegExp")return On(Z1,t,e);throw ylt("RegExp#exec called on incompatible receiver")},R3=Wn("replace"),wlt=Math.max,Elt=Math.min,Slt=Zt([].concat),M3=Zt([].push),cI=Zt("".indexOf),fI=Zt("".slice),Clt="a".replace(/./,"$0")==="$0",dI=!!/./[R3]&&/./[R3]("a","$0")==="";(function(t,e,n,r){var o=Wn(t),i=!Ge(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!Ge(function(){var l=!1,c=/a/;return c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=Zt(/./[o]),s=function(l,c,f){var p=dI?"$":"$0";return[function(d,y){var g=k1(this),v=d==null?void 0:$p(d,R3);return v?On(v,d,g,y):On(c,Ki(g),d,y)},function(d,y){var g=Dr(this),v=Ki(d);if(typeof y=="string"&&cI(y,p)===-1&&cI(y,"$<")===-1){var m=f(c,g,v,y);if(m.done)return m.value}var h=Ke(y);h||(y=Ki(y));var b=g.global;if(b){var w=g.unicode;g.lastIndex=0}for(var S=[];;){var D=blt(g,v);if(D===null||(M3(S,D),!b))break;Ki(D[0])===""&&(g.lastIndex=dlt(v,Qj(g.lastIndex),w))}for(var C,O="",T=0,L=0;L<S.length;L++){for(var z=Ki((D=S[L])[0]),$=wlt(Elt(Hp(D.index),v.length),0),Y=[],G=1;G<D.length;G++)M3(Y,(C=D[G])===void 0?C:String(C));var K=D.groups;if(h){var Z=Slt([z],Y,$,v);K!==void 0&&M3(Z,K);var ut=Ki(clt(y,void 0,Z))}else ut=mlt(z,v,$,Y,K,y);$>=T&&(O+=fI(v,T,$)+ut,T=$+z.length)}return O+fI(v,T)}]}(0,""[t],function(l,c,f,p,d){var y=Zt(l),g=c.exec;return g===Z1||g===lI.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:y(f,c,p)}:{done:!1}});fi(String.prototype,t,s[0]),fi(lI,o,s[1])}})("replace",0,!!Ge(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$<a>")!=="7"})||!Clt||dI);var Dlt=jt.TypeError,pI=function(t,e,n,r,o,i,a,u){for(var s,l,c=o,f=0,p=!!a&&m3(a,u);f<r;){if(f in n){if(s=p?p(n[f],f,e):n[f],i>0&&y3(s))l=Mc(s),c=pI(t,e,s,l,c,i-1)-1;else{if(c>=9007199254740991)throw Dlt("Exceed the acceptable array length");t[c]=s}c++}f++}return c},xlt=pI;function z3(t){return t.length?t[0].tagName.toLowerCase():""}ru({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=Lp(this),n=Mc(e),r=H_(e,0);return r.length=xlt(r,e,e,n,0,t===void 0?1:Hp(t)),r}}),Up("flat"),ru({global:!0},{globalThis:jt}),to&&(k.fn.append=to),Qr&&(k.fn.attr=Qr),Rl&&(k.fn.parent=Rl);var Alt={renderElems:[Mst],editorPlugin:function(t){var e=t.deleteBackward,n=t.handleTab,r=t.normalizeNode,o=t;return o.deleteBackward=function(i){var a=o.selection;if(a!=null)if(M.isExpanded(a))e(i);else{var u=A.getSelectedNodeByType(o,"list-item");if(u!=null)if(a.focus.offset!==0)e(i);else{var s=u.level,l=s===void 0?0:s;l>0?I.setNodes(o,{level:l-1}):I.setNodes(o,{type:"paragraph",ordered:void 0,level:void 0})}else e(i)}else e(i)},o.handleTab=function(){var i,a,u,s,l=o.selection;if(l!=null){if(M.isCollapsed(l)){var c=A.getSelectedNodeByType(o,"list-item");if(c==null)return void n();if(l.focus.offset===0){var f=c.level,p=f===void 0?0:f;return void I.setNodes(o,{level:p+1})}}if(M.isExpanded(l)){var d=0,y=!1;try{for(var g=eI(nI(o)),v=g.next();!v.done;v=g.next()){var m=Xp(v.value,1)[0];A.getNodeType(m)==="list-item"?d++:y=!0}}catch(C){i={error:C}}finally{try{v&&!v.done&&(a=g.return)&&a.call(g)}finally{if(i)throw i.error}}if(y||d<=1)return void n();try{for(var h=eI(nI(o)),b=h.next();!b.done;b=h.next()){var w=Xp(b.value,2),S=(m=w[0],w[1]),D=m.level;p=D===void 0?0:D,I.setNodes(o,{level:p+1},{at:S})}}catch(C){u={error:C}}finally{try{b&&!b.done&&(s=h.return)&&s.call(h)}finally{if(u)throw u.error}}}else n()}else n()},o.normalizeNode=function(i){var a=Xp(i,2),u=a[0],s=a[1],l=A.getNodeType(u);return l!=="bulleted-list"&&l!=="numbered-list"||I.unwrapNodes(o,{at:s}),r([u,s])},o},menus:[rlt,olt],elemsToHtml:[ilt],parseElemsHtml:[{selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(t,e,n){return e.flat(1/0)}},{selector:"li:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=k(t);(e=e.filter(function(a){return!!ft.isText(a)||!!n.isInline(a)})).length===0&&(e=[{text:r.text().replace(/\s+/gm," ")}]);var o=function(a){return z3(a.parent())==="ol"}(r),i=function(a){for(var u=0,s=a.parent(),l=z3(s);l==="ul"||l==="ol";)l=z3(s=s.parent()),u++;return u-1}(r);return{type:"list-item",ordered:o,level:i,children:e}}}]},hI=gr(function(t,e){var n="__lodash_hash_undefined__",r=9007199254740991,o="[object Arguments]",i="[object Array]",a="[object Boolean]",u="[object Date]",s="[object Error]",l="[object Function]",c="[object Map]",f="[object Number]",p="[object Object]",d="[object Promise]",y="[object RegExp]",g="[object Set]",v="[object String]",m="[object Symbol]",h="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",S=/^\[object .+?Constructor\]$/,D=/^(?:0|[1-9]\d*)$/,C={};C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C[o]=C[i]=C[b]=C[a]=C[w]=C[u]=C[s]=C[l]=C[c]=C[f]=C[p]=C[y]=C[g]=C[v]=C[h]=!1;var O=typeof ne=="object"&&ne&&ne.Object===Object&&ne,T=typeof self=="object"&&self&&self.Object===Object&&self,L=O||T||Function("return this")(),z=e&&!e.nodeType&&e,$=z&&t&&!t.nodeType&&t,Y=$&&$.exports===z,G=Y&&O.process,K=function(){try{return G&&G.binding&&G.binding("util")}catch(P){}}(),Z=K&&K.isTypedArray;function ut(P,R){for(var tt=-1,Ct=P==null?0:P.length;++tt<Ct;)if(R(P[tt],tt,P))return!0;return!1}function yt(P){var R=-1,tt=Array(P.size);return P.forEach(function(Ct,Se){tt[++R]=[Se,Ct]}),tt}function mt(P){var R=-1,tt=Array(P.size);return P.forEach(function(Ct){tt[++R]=Ct}),tt}var gt=Array.prototype,B=Function.prototype,x=Object.prototype,j=L["__core-js_shared__"],U=B.toString,X=x.hasOwnProperty,W=function(){var P=/[^.]+$/.exec(j&&j.keys&&j.keys.IE_PROTO||"");return P?"Symbol(src)_1."+P:""}(),dt=x.toString,Dt=RegExp("^"+U.call(X).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Tt=Y?L.Buffer:void 0,Rt=L.Symbol,q=L.Uint8Array,te=x.propertyIsEnumerable,$t=gt.splice,St=Rt?Rt.toStringTag:void 0,Ht=Object.getOwnPropertySymbols,Qe=Tt?Tt.isBuffer:void 0,ue=function(P,R){return function(tt){return P(R(tt))}}(Object.keys,Object),Ee=Pu(L,"DataView"),Me=Pu(L,"Map"),rr=Pu(L,"Promise"),oe=Pu(L,"Set"),Ar=Pu(L,"WeakMap"),$o=Pu(Object,"create"),wi=na(Ee),wf=na(Me),cl=na(rr),Ho=na(oe),Ei=na(Ar),Qi=Rt?Rt.prototype:void 0,or=Qi?Qi.valueOf:void 0;function ir(P){var R=-1,tt=P==null?0:P.length;for(this.clear();++R<tt;){var Ct=P[R];this.set(Ct[0],Ct[1])}}function ar(P){var R=-1,tt=P==null?0:P.length;for(this.clear();++R<tt;){var Ct=P[R];this.set(Ct[0],Ct[1])}}function pr(P){var R=-1,tt=P==null?0:P.length;for(this.clear();++R<tt;){var Ct=P[R];this.set(Ct[0],Ct[1])}}function Rn(P){var R=-1,tt=P==null?0:P.length;for(this.__data__=new pr;++R<tt;)this.add(P[R])}function wo(P){var R=this.__data__=new ar(P);this.size=R.size}function w0(P,R){var tt=ra(P),Ct=!tt&&Ry(P),Se=!tt&&!Ct&&Si(P),Xt=!tt&&!Ct&&!Se&&Di(P),F=tt||Ct||Se||Xt,H=F?function(re,Ne){for(var Ce=-1,ce=Array(re);++Ce<re;)ce[Ce]=Ne(Ce);return ce}(P.length,String):[],rt=H.length;for(var vt in P)!R&&!X.call(P,vt)||F&&(vt=="length"||Se&&(vt=="offset"||vt=="parent")||Xt&&(vt=="buffer"||vt=="byteLength"||vt=="byteOffset")||E0(vt,rt))||H.push(vt);return H}function Tu(P,R){for(var tt=P.length;tt--;)if(Cf(P[tt][0],R))return tt;return-1}function ta(P){return P==null?P===void 0?"[object Undefined]":"[object Null]":St&&St in Object(P)?function(R){var tt=X.call(R,St),Ct=R[St];try{R[St]=void 0;var Se=!0}catch(F){}var Xt=dt.call(R);return Se&&(tt?R[St]=Ct:delete R[St]),Xt}(P):function(R){return dt.call(R)}(P)}function Ef(P){return ju(P)&&ta(P)==o}function fl(P,R,tt,Ct,Se){return P===R||(P==null||R==null||!ju(P)&&!ju(R)?P!=P&&R!=R:function(Xt,F,H,rt,vt,re){var Ne=ra(Xt),Ce=ra(F),ce=Ne?i:Kr(Xt),Bn=Ce?i:Kr(F),ur=(ce=ce==o?p:ce)==p,dl=(Bn=Bn==o?p:Bn)==p,oa=ce==Bn;if(oa&&Si(Xt)){if(!Si(F))return!1;Ne=!0,ur=!1}if(oa&&!ur)return re||(re=new wo),Ne||Di(Xt)?Eo(Xt,F,H,rt,vt,re):function(ee,fe,de,tn,hr,Or,Wo){switch(de){case w:if(ee.byteLength!=fe.byteLength||ee.byteOffset!=fe.byteOffset)return!1;ee=ee.buffer,fe=fe.buffer;case b:return!(ee.byteLength!=fe.byteLength||!Or(new q(ee),new q(fe)));case a:case u:case f:return Cf(+ee,+fe);case s:return ee.name==fe.name&&ee.message==fe.message;case y:case v:return ee==fe+"";case c:var Iu=yt;case g:var C0=1&tn;if(Iu||(Iu=mt),ee.size!=fe.size&&!C0)return!1;var $y=Wo.get(ee);if($y)return $y==fe;tn|=2,Wo.set(ee,fe);var Df=Eo(Iu(ee),Iu(fe),tn,hr,Or,Wo);return Wo.delete(ee),Df;case m:if(or)return or.call(ee)==or.call(fe)}return!1}(Xt,F,ce,H,rt,vt,re);if(!(1&H)){var _u=ur&&X.call(Xt,"__wrapped__"),_t=dl&&X.call(F,"__wrapped__");if(_u||_t){var ve=_u?Xt.value():Xt,ln=_t?F.value():F;return re||(re=new wo),vt(ve,ln,H,rt,re)}}return oa?(re||(re=new wo),function(ee,fe,de,tn,hr,Or){var Wo=1&de,Iu=ea(ee),C0=Iu.length,$y=ea(fe).length;if(C0!=$y&&!Wo)return!1;for(var Df=C0;Df--;){var pl=Iu[Df];if(!(Wo?pl in fe:X.call(fe,pl)))return!1}var R$=Or.get(ee);if(R$&&Or.get(fe))return R$==fe;var Hy=!0;Or.set(ee,fe),Or.set(fe,ee);for(var l8=Wo;++Df<C0;){var Uy=ee[pl=Iu[Df]],Vy=fe[pl];if(tn)var M$=Wo?tn(Vy,Uy,pl,fe,ee,Or):tn(Uy,Vy,pl,ee,fe,Or);if(!(M$===void 0?Uy===Vy||hr(Uy,Vy,de,tn,Or):M$)){Hy=!1;break}l8||(l8=pl=="constructor")}if(Hy&&!l8){var Wy=ee.constructor,Gy=fe.constructor;Wy==Gy||!("constructor"in ee)||!("constructor"in fe)||typeof Wy=="function"&&Wy instanceof Wy&&typeof Gy=="function"&&Gy instanceof Gy||(Hy=!1)}return Or.delete(ee),Or.delete(fe),Hy}(Xt,F,H,rt,vt,re)):!1}(P,R,tt,Ct,fl,Se))}function Sf(P){return!(!My(P)||function(R){return!!W&&W in R}(P))&&(S0(P)?Dt:S).test(na(P))}function Uo(P){if(tt=(R=P)&&R.constructor,Ct=typeof tt=="function"&&tt.prototype||x,R!==Ct)return ue(P);var R,tt,Ct,Se=[];for(var Xt in Object(P))X.call(P,Xt)&&Xt!="constructor"&&Se.push(Xt);return Se}function Eo(P,R,tt,Ct,Se,Xt){var F=1&tt,H=P.length,rt=R.length;if(H!=rt&&!(F&&rt>H))return!1;var vt=Xt.get(P);if(vt&&Xt.get(R))return vt==R;var re=-1,Ne=!0,Ce=2&tt?new Rn:void 0;for(Xt.set(P,R),Xt.set(R,P);++re<H;){var ce=P[re],Bn=R[re];if(Ct)var ur=F?Ct(Bn,ce,re,R,P,Xt):Ct(ce,Bn,re,P,R,Xt);if(ur!==void 0){if(ur)continue;Ne=!1;break}if(Ce){if(!ut(R,function(dl,oa){if(_u=oa,!Ce.has(_u)&&(ce===dl||Se(ce,dl,tt,Ct,Xt)))return Ce.push(oa);var _u})){Ne=!1;break}}else if(ce!==Bn&&!Se(ce,Bn,tt,Ct,Xt)){Ne=!1;break}}return Xt.delete(P),Xt.delete(R),Ne}function ea(P){return function(R,tt,Ct){var Se=tt(R);return ra(R)?Se:function(Xt,F){for(var H=-1,rt=F.length,vt=Xt.length;++H<rt;)Xt[vt+H]=F[H];return Xt}(Se,Ct(R))}(P,zy,Ly)}function Vo(P,R){var tt,Ct,Se=P.__data__;return((Ct=typeof(tt=R))=="string"||Ct=="number"||Ct=="symbol"||Ct=="boolean"?tt!=="__proto__":tt===null)?Se[typeof R=="string"?"string":"hash"]:Se.map}function Pu(P,R){var tt=function(Ct,Se){return Ct==null?void 0:Ct[Se]}(P,R);return Sf(tt)?tt:void 0}ir.prototype.clear=function(){this.__data__=$o?$o(null):{},this.size=0},ir.prototype.delete=function(P){var R=this.has(P)&&delete this.__data__[P];return this.size-=R?1:0,R},ir.prototype.get=function(P){var R=this.__data__;if($o){var tt=R[P];return tt===n?void 0:tt}return X.call(R,P)?R[P]:void 0},ir.prototype.has=function(P){var R=this.__data__;return $o?R[P]!==void 0:X.call(R,P)},ir.prototype.set=function(P,R){var tt=this.__data__;return this.size+=this.has(P)?0:1,tt[P]=$o&&R===void 0?n:R,this},ar.prototype.clear=function(){this.__data__=[],this.size=0},ar.prototype.delete=function(P){var R=this.__data__,tt=Tu(R,P);return!(tt<0)&&(tt==R.length-1?R.pop():$t.call(R,tt,1),--this.size,!0)},ar.prototype.get=function(P){var R=this.__data__,tt=Tu(R,P);return tt<0?void 0:R[tt][1]},ar.prototype.has=function(P){return Tu(this.__data__,P)>-1},ar.prototype.set=function(P,R){var tt=this.__data__,Ct=Tu(tt,P);return Ct<0?(++this.size,tt.push([P,R])):tt[Ct][1]=R,this},pr.prototype.clear=function(){this.size=0,this.__data__={hash:new ir,map:new(Me||ar),string:new ir}},pr.prototype.delete=function(P){var R=Vo(this,P).delete(P);return this.size-=R?1:0,R},pr.prototype.get=function(P){return Vo(this,P).get(P)},pr.prototype.has=function(P){return Vo(this,P).has(P)},pr.prototype.set=function(P,R){var tt=Vo(this,P),Ct=tt.size;return tt.set(P,R),this.size+=tt.size==Ct?0:1,this},Rn.prototype.add=Rn.prototype.push=function(P){return this.__data__.set(P,n),this},Rn.prototype.has=function(P){return this.__data__.has(P)},wo.prototype.clear=function(){this.__data__=new ar,this.size=0},wo.prototype.delete=function(P){var R=this.__data__,tt=R.delete(P);return this.size=R.size,tt},wo.prototype.get=function(P){return this.__data__.get(P)},wo.prototype.has=function(P){return this.__data__.has(P)},wo.prototype.set=function(P,R){var tt=this.__data__;if(tt instanceof ar){var Ct=tt.__data__;if(!Me||Ct.length<199)return Ct.push([P,R]),this.size=++tt.size,this;tt=this.__data__=new pr(Ct)}return tt.set(P,R),this.size=tt.size,this};var Ly=Ht?function(P){return P==null?[]:(P=Object(P),function(R,tt){for(var Ct=-1,Se=R==null?0:R.length,Xt=0,F=[];++Ct<Se;){var H=R[Ct];tt(H,Ct,R)&&(F[Xt++]=H)}return F}(Ht(P),function(R){return te.call(P,R)}))}:function(){return[]},Kr=ta;function E0(P,R){return!!(R=R==null?r:R)&&(typeof P=="number"||D.test(P))&&P>-1&&P%1==0&&P<R}function na(P){if(P!=null){try{return U.call(P)}catch(R){}try{return P+""}catch(R){}}return""}function Cf(P,R){return P===R||P!=P&&R!=R}(Ee&&Kr(new Ee(new ArrayBuffer(1)))!=w||Me&&Kr(new Me)!=c||rr&&Kr(rr.resolve())!=d||oe&&Kr(new oe)!=g||Ar&&Kr(new Ar)!=h)&&(Kr=function(P){var R=ta(P),tt=R==p?P.constructor:void 0,Ct=tt?na(tt):"";if(Ct)switch(Ct){case wi:return w;case wf:return c;case cl:return d;case Ho:return g;case Ei:return h}return R});var Ry=Ef(function(){return arguments}())?Ef:function(P){return ju(P)&&X.call(P,"callee")&&!te.call(P,"callee")},ra=Array.isArray,Si=Qe||function(){return!1};function S0(P){if(!My(P))return!1;var R=ta(P);return R==l||R=="[object GeneratorFunction]"||R=="[object AsyncFunction]"||R=="[object Proxy]"}function Ci(P){return typeof P=="number"&&P>-1&&P%1==0&&P<=r}function My(P){var R=typeof P;return P!=null&&(R=="object"||R=="function")}function ju(P){return P!=null&&typeof P=="object"}var Di=Z?function(P){return function(R){return P(R)}}(Z):function(P){return ju(P)&&Ci(P.length)&&!!C[ta(P)]};function zy(P){return(R=P)!=null&&Ci(R.length)&&!S0(R)?w0(P):Uo(P);var R}t.exports=function(P,R){return fl(P,R)}});Er("en",{tableModule:{deleteCol:"Delete column",deleteRow:"Delete row",deleteTable:"Delete table",widthAuto:"Width auto",insertCol:"Insert column",insertRow:"Insert row",insertTable:"Insert table",header:"Header"}}),Er("zh-CN",{tableModule:{deleteCol:"\u5220\u9664\u5217",deleteRow:"\u5220\u9664\u884C",deleteTable:"\u5220\u9664\u8868\u683C",widthAuto:"\u5BBD\u5EA6\u81EA\u9002\u5E94",insertCol:"\u63D2\u5165\u5217",insertRow:"\u63D2\u5165\u884C",insertTable:"\u63D2\u5165\u8868\u683C",header:"\u8868\u5934"}});var gI=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof ot.g!="undefined"?ot.g:typeof self!="undefined"?self:{};function vI(t){var e={exports:{}};return t(e,e.exports),e.exports}var iu,Y1,X1=function(t){return t&&t.Math==Math&&t},Kt=X1(typeof globalThis=="object"&&globalThis)||X1(typeof window=="object"&&window)||X1(typeof self=="object"&&self)||X1(typeof gI=="object"&&gI)||function(){return this}()||Function("return this")(),wn=function(t){try{return!!t()}catch(e){return!0}},au=!wn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Jp=Function.prototype.call,En=Jp.bind?Jp.bind(Jp):function(){return Jp.apply(Jp,arguments)},mI={}.propertyIsEnumerable,yI=Object.getOwnPropertyDescriptor,Olt={f:yI&&!mI.call({1:2},1)?function(t){var e=yI(this,t);return!!e&&e.enumerable}:mI},$3=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},bI=Function.prototype,H3=bI.bind,U3=bI.call,klt=H3&&H3.bind(U3),Qt=H3?function(t){return t&&klt(U3,t)}:function(t){return t&&function(){return U3.apply(t,arguments)}},Blt=Qt({}.toString),Flt=Qt("".slice),uu=function(t){return Flt(Blt(t),8,-1)},V3=Kt.Object,Tlt=Qt("".split),wI=wn(function(){return!V3("z").propertyIsEnumerable(0)})?function(t){return uu(t)=="String"?Tlt(t,""):V3(t)}:V3,Plt=Kt.TypeError,su=function(t){if(t==null)throw Plt("Can't call method on "+t);return t},Qp=function(t){return wI(su(t))},Gn=function(t){return typeof t=="function"},ho=function(t){return typeof t=="object"?t!==null:Gn(t)},jlt=function(t){return Gn(t)?t:void 0},th=function(t,e){return arguments.length<2?jlt(Kt[t]):Kt[t]&&Kt[t][e]},EI=Qt({}.isPrototypeOf),W3=th("navigator","userAgent")||"",SI=Kt.process,CI=Kt.Deno,DI=SI&&SI.versions||CI&&CI.version,xI=DI&&DI.v8;xI&&(Y1=(iu=xI.split("."))[0]>0&&iu[0]<4?1:+(iu[0]+iu[1])),!Y1&&W3&&(!(iu=W3.match(/Edge\/(\d+)/))||iu[1]>=74)&&(iu=W3.match(/Chrome\/(\d+)/))&&(Y1=+iu[1]);var G3=Y1,K3=!!Object.getOwnPropertySymbols&&!wn(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&G3&&G3<41}),q3=K3&&!Symbol.sham&&typeof Symbol.iterator=="symbol",_lt=Kt.Object,Z3=q3?function(t){return typeof t=="symbol"}:function(t){var e=th("Symbol");return Gn(e)&&EI(e.prototype,_lt(t))},Ilt=Kt.String,AI=function(t){try{return Ilt(t)}catch(e){return"Object"}},Nlt=Kt.TypeError,OI=function(t){if(Gn(t))return t;throw Nlt(AI(t)+" is not a function")},Y3=function(t,e){var n=t[e];return n==null?void 0:OI(n)},Llt=Kt.TypeError,Rlt=Object.defineProperty,X3=function(t,e){try{Rlt(Kt,t,{value:e,configurable:!0,writable:!0})}catch(n){Kt[t]=e}return e},lu=Kt["__core-js_shared__"]||X3("__core-js_shared__",{}),J3=vI(function(t){(t.exports=function(e,n){return lu[e]||(lu[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Mlt=Kt.Object,Q3=function(t){return Mlt(su(t))},zlt=Qt({}.hasOwnProperty),go=Object.hasOwn||function(t,e){return zlt(Q3(t),e)},$lt=0,Hlt=Math.random(),Ult=Qt(1 .toString),kI=function(t){return"Symbol("+(t===void 0?"":t)+")_"+Ult(++$lt+Hlt,36)},eh=J3("wks"),Vs=Kt.Symbol,BI=Vs&&Vs.for,Vlt=q3?Vs:Vs&&Vs.withoutSetter||kI,vo=function(t){if(!go(eh,t)||!K3&&typeof eh[t]!="string"){var e="Symbol."+t;K3&&go(Vs,t)?eh[t]=Vs[t]:eh[t]=q3&&BI?BI(e):Vlt(e)}return eh[t]},Wlt=Kt.TypeError,Glt=vo("toPrimitive"),tC=function(t){var e=function(n,r){if(!ho(n)||Z3(n))return n;var o,i=Y3(n,Glt);if(i){if(r===void 0&&(r="default"),o=En(i,n,r),!ho(o)||Z3(o))return o;throw Wlt("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&Gn(s=a.toString)&&!ho(l=En(s,a))||Gn(s=a.valueOf)&&!ho(l=En(s,a))||u!=="string"&&Gn(s=a.toString)&&!ho(l=En(s,a)))return l;throw Llt("Can't convert object to primitive value")}(n,r)}(t,"string");return Z3(e)?e:e+""},eC=Kt.document,Klt=ho(eC)&&ho(eC.createElement),nC=function(t){return Klt?eC.createElement(t):{}},FI=!au&&!wn(function(){return Object.defineProperty(nC("div"),"a",{get:function(){return 7}}).a!=7}),TI=Object.getOwnPropertyDescriptor,PI={f:au?TI:function(t,e){if(t=Qp(t),e=tC(e),FI)try{return TI(t,e)}catch(n){}if(go(t,e))return $3(!En(Olt.f,t,e),t[e])}},qlt=Kt.String,Zlt=Kt.TypeError,mo=function(t){if(ho(t))return t;throw Zlt(qlt(t)+" is not an object")},Ylt=Kt.TypeError,jI=Object.defineProperty,nh={f:au?jI:function(t,e,n){if(mo(t),e=tC(e),mo(n),FI)try{return jI(t,e,n)}catch(r){}if("get"in n||"set"in n)throw Ylt("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Hc=au?function(t,e,n){return nh.f(t,e,$3(1,n))}:function(t,e,n){return t[e]=n,t},Xlt=Qt(Function.toString);Gn(lu.inspectSource)||(lu.inspectSource=function(t){return Xlt(t)});var J1,rh,Q1,rC=lu.inspectSource,_I=Kt.WeakMap,Jlt=Gn(_I)&&/native code/.test(rC(_I)),II=J3("keys"),NI=function(t){return II[t]||(II[t]=kI(t))},oC={},iC=Kt.TypeError,Qlt=Kt.WeakMap;if(Jlt||lu.state){var Ws=lu.state||(lu.state=new Qlt),tct=Qt(Ws.get),LI=Qt(Ws.has),ect=Qt(Ws.set);J1=function(t,e){if(LI(Ws,t))throw new iC("Object already initialized");return e.facade=t,ect(Ws,t,e),e},rh=function(t){return tct(Ws,t)||{}},Q1=function(t){return LI(Ws,t)}}else{var Uc=NI("state");oC[Uc]=!0,J1=function(t,e){if(go(t,Uc))throw new iC("Object already initialized");return e.facade=t,Hc(t,Uc,e),e},rh=function(t){return go(t,Uc)?t[Uc]:{}},Q1=function(t){return go(t,Uc)}}var aC={set:J1,get:rh,has:Q1,enforce:function(t){return Q1(t)?rh(t):J1(t,{})},getterFor:function(t){return function(e){var n;if(!ho(e)||(n=rh(e)).type!==t)throw iC("Incompatible receiver, "+t+" required");return n}}},RI=Function.prototype,nct=au&&Object.getOwnPropertyDescriptor,uC=go(RI,"name"),sC={EXISTS:uC,PROPER:uC&&function(){}.name==="something",CONFIGURABLE:uC&&(!au||au&&nct(RI,"name").configurable)},oh=vI(function(t){var e=sC.CONFIGURABLE,n=aC.get,r=aC.enforce,o=String(String).split("String");(t.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet,d=s&&s.name!==void 0?s.name:a;Gn(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!go(u,"name")||e&&u.name!==d)&&Hc(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==Kt?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:Hc(i,a,u)):f?i[a]=u:X3(a,u)})(Function.prototype,"toString",function(){return Gn(this)&&n(this).source||rC(this)})}),rct=Math.ceil,oct=Math.floor,tm=function(t){var e=+t;return e!=e||e===0?0:(e>0?oct:rct)(e)},ict=Math.max,act=Math.min,ih=function(t,e){var n=tm(t);return n<0?ict(n+e,0):act(n,e)},uct=Math.min,lC=function(t){return t>0?uct(tm(t),9007199254740991):0},em=function(t){return lC(t.length)},MI=function(t){return function(e,n,r){var o,i=Qp(e),a=em(i),u=ih(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},sct=(MI(!0),MI(!1)),zI=Qt([].push),$I=function(t,e){var n,r=Qp(t),o=0,i=[];for(n in r)!go(oC,n)&&go(r,n)&&zI(i,n);for(;e.length>o;)go(r,n=e[o++])&&(~sct(i,n)||zI(i,n));return i},nm=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],lct=nm.concat("length","prototype"),cct={f:Object.getOwnPropertyNames||function(t){return $I(t,lct)}},fct={f:Object.getOwnPropertySymbols},dct=Qt([].concat),pct=th("Reflect","ownKeys")||function(t){var e=cct.f(mo(t)),n=fct.f;return n?dct(e,n(t)):e},hct=function(t,e){for(var n=pct(e),r=nh.f,o=PI.f,i=0;i<n.length;i++){var a=n[i];go(t,a)||r(t,a,o(e,a))}},gct=/#|\.prototype\./,ah=function(t,e){var n=mct[vct(t)];return n==bct||n!=yct&&(Gn(e)?wn(e):!!e)},vct=ah.normalize=function(t){return String(t).replace(gct,".").toLowerCase()},mct=ah.data={},yct=ah.NATIVE="N",bct=ah.POLYFILL="P",wct=ah,Ect=PI.f,cu=function(t,e){var n,r,o,i,a,u=t.target,s=t.global,l=t.stat;if(n=s?Kt:l?Kt[u]||X3(u,{}):(Kt[u]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=Ect(n,r))&&a.value:n[r],!wct(s?r:u+(l?".":"#")+r,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;hct(i,o)}(t.sham||o&&o.sham)&&Hc(i,"sham",!0),oh(n,r,i,t)}},HI={};HI[vo("toStringTag")]="z";var cC=String(HI)==="[object z]",Sct=vo("toStringTag"),Cct=Kt.Object,Dct=uu(function(){return arguments}())=="Arguments",fC=cC?uu:function(t){var e,n,r;return t===void 0?"Undefined":t===null?"Null":typeof(n=function(o,i){try{return o[i]}catch(a){}}(e=Cct(t),Sct))=="string"?n:Dct?uu(e):(r=uu(e))=="Object"&&Gn(e.callee)?"Arguments":r},xct=Kt.String,er=function(t){if(fC(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return xct(t)},Act=/"/g,Oct=Qt("".replace);cu({target:"String",proto:!0,forced:wn(function(){var t="".anchor('"');return t!==t.toLowerCase()||t.split('"').length>3})},{anchor:function(t){return e=t,n=er(su(this)),r="<a",(r+=' name="'+Oct(er(e),Act,"&quot;")+'"')+">"+n+"</a>";var e,n,r}});var rm,UI=function(){var t=mo(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},dC=Kt.RegExp,pC=wn(function(){var t=dC("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),kct=pC||wn(function(){return!dC("a","y").sticky}),VI={BROKEN_CARET:pC||wn(function(){var t=dC("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),MISSED_STICKY:kct,UNSUPPORTED_Y:pC},Bct=Object.keys||function(t){return $I(t,nm)},Fct=au?Object.defineProperties:function(t,e){mo(t);for(var n,r=Qp(e),o=Bct(e),i=o.length,a=0;i>a;)nh.f(t,n=o[a++],r[n]);return t},Tct=th("document","documentElement"),WI=NI("IE_PROTO"),hC=function(){},GI=function(t){return"<script>"+t+"</script>"},KI=function(t){t.write(GI("")),t.close();var e=t.parentWindow.Object;return t=null,e},om=function(){try{rm=new ActiveXObject("htmlfile")}catch(r){}var t,e;om=typeof document!="undefined"?document.domain&&rm?KI(rm):((e=nC("iframe")).style.display="none",Tct.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(GI("document.F=Object")),t.close(),t.F):KI(rm);for(var n=nm.length;n--;)delete om.prototype[nm[n]];return om()};oC[WI]=!0;var qI,gC,ZI=Object.create||function(t,e){var n;return t!==null?(hC.prototype=mo(t),n=new hC,hC.prototype=null,n[WI]=t):n=om(),e===void 0?n:Fct(n,e)},Pct=Kt.RegExp,jct=wn(function(){var t=Pct(".","s");return!(t.dotAll&&t.exec(`
  118. `)&&t.flags==="s")}),_ct=Kt.RegExp,Ict=wn(function(){var t=_ct("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),Nct=aC.get,Lct=J3("native-string-replace",String.prototype.replace),im=RegExp.prototype.exec,vC=im,Rct=Qt("".charAt),Mct=Qt("".indexOf),zct=Qt("".replace),mC=Qt("".slice),yC=(gC=/b*/g,En(im,qI=/a/,"a"),En(im,gC,"a"),qI.lastIndex!==0||gC.lastIndex!==0),YI=VI.BROKEN_CARET,bC=/()??/.exec("")[1]!==void 0;(yC||bC||YI||jct||Ict)&&(vC=function(t){var e,n,r,o,i,a,u,s=this,l=Nct(s),c=er(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=En(vC,f,c),s.lastIndex=f.lastIndex,e;var p=l.groups,d=YI&&s.sticky,y=En(UI,s),g=s.source,v=0,m=c;if(d&&(y=zct(y,"y",""),Mct(y,"g")===-1&&(y+="g"),m=mC(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&Rct(c,s.lastIndex-1)!==`
  119. `)&&(g="(?: "+g+")",m=" "+m,v++),n=new RegExp("^(?:"+g+")",y)),bC&&(n=new RegExp("^"+g+"$(?!\\s)",y)),yC&&(r=s.lastIndex),o=En(im,d?n:s,m),d?o?(o.input=mC(o.input,v),o[0]=mC(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:yC&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),bC&&o&&o.length>1&&En(Lct,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&p)for(o.groups=a=ZI(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var uh=vC;cu({target:"RegExp",proto:!0,forced:/./.exec!==uh},{exec:uh});var am=Array.isArray||function(t){return uu(t)=="Array"},XI=function(){},$ct=[],JI=th("Reflect","construct"),wC=/^\s*(?:class|function)\b/,Hct=Qt(wC.exec),Uct=!wC.exec(XI),sh=function(t){if(!Gn(t))return!1;try{return JI(XI,$ct,t),!0}catch(e){return!1}},EC=!JI||wn(function(){var t;return sh(sh.call)||!sh(Object)||!sh(function(){t=!0})||t})?function(t){if(!Gn(t))return!1;switch(fC(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Uct||!!Hct(wC,rC(t))}:sh,QI=function(t,e,n){var r=tC(e);r in t?nh.f(t,r,$3(0,n)):t[r]=n},Vct=vo("species"),SC=function(t){return G3>=51||!wn(function(){var e=[];return(e.constructor={})[Vct]=function(){return{foo:1}},e[t](Boolean).foo!==1})},Wct=Qt([].slice),Gct=SC("slice"),Kct=vo("species"),CC=Kt.Array,qct=Math.max;function Lo(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(e===void 0||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function tN(t){var e=t.selection;if(e==null)return!1;var n=Lo(E.nodes(t,{match:function(i){return A.checkNodeType(i,"table-cell")}}),1)[0];if(n){var r=Lo(n,2)[1],o=E.start(t,r);if(Ut.equals(e.anchor,o))return!0}return!1}function eN(t,e){var n,r,o=E.nodes(t,{at:e,match:function(s){return A.getNodeType(s)==="table"}}),i=!1;try{for(var a=function(s){var l=typeof Symbol=="function"&&Symbol.iterator,c=l&&s[l],f=0;if(c)return c.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&f>=s.length&&(s=void 0),{value:s&&s[f++],done:!s}}};throw new TypeError(l?"Object is not iterable.":"Symbol.iterator is not defined.")}(o),u=a.next();!u.done;u=a.next())u.value,i=!0}catch(s){n={error:s}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}cu({target:"Array",proto:!0,forced:!Gct},{slice:function(t,e){var n,r,o,i=Qp(this),a=em(i),u=ih(t,a),s=ih(e===void 0?a:e,a);if(am(i)&&(n=i.constructor,(EC(n)&&(n===CC||am(n.prototype))||ho(n)&&(n=n[Kct])===null)&&(n=void 0),n===CC||n===void 0))return Wct(i,u,s);for(r=new(n===void 0?CC:n)(qct(s-u,0)),o=0;u<s;u++,o++)u in i&&QI(r,o,i[u]);return r.length=o,r}});var nN=Qt(Qt.bind),Zct=vo("species"),rN=Kt.Array,Yct=function(t,e){return new(function(n){var r;return am(n)&&(r=n.constructor,(EC(r)&&(r===rN||am(r.prototype))||ho(r)&&(r=r[Zct])===null)&&(r=void 0)),r===void 0?rN:r}(t))(e===0?0:e)},oN=Qt([].push),fu=function(t){var e=t==1,n=t==2,r=t==3,o=t==4,i=t==6,a=t==7,u=t==5||i;return function(s,l,c,f){for(var p,d,y=Q3(s),g=wI(y),v=function(S,D){return OI(S),D===void 0?S:nN?nN(S,D):function(){return S.apply(D,arguments)}}(l,c),m=em(g),h=0,b=f||Yct,w=e?b(s,m):n||a?b(s,0):void 0;m>h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),t))if(e)w[h]=d;else if(d)switch(t){case 3:return!0;case 5:return p;case 6:return h;case 2:oN(w,p)}else switch(t){case 4:return!1;case 7:oN(w,p)}return i?-1:r||o?o:w}},um={forEach:fu(0),map:fu(1),filter:fu(2),some:fu(3),every:fu(4),find:fu(5),findIndex:fu(6),filterReject:fu(7)},Xct=um.map;cu({target:"Array",proto:!0,forced:!SC("map")},{map:function(t){return Xct(this,t,arguments.length>1?arguments[1]:void 0)}});var Jct=cC?{}.toString:function(){return"[object "+fC(this)+"]"};function sm(t){var e=t.children||[];return e.length===0?[]:(e[0]||{}).children||[]}function iN(t){return sm(t).every(function(e){return!!e.isHeader})}cC||oh(Object.prototype,"toString",Jct,{unsafe:!0});var Qct=sC.PROPER,DC=RegExp.prototype,aN=DC.toString,tft=Qt(UI),eft=wn(function(){return aN.call({source:"a",flags:"b"})!="/a/b"}),nft=Qct&&aN.name!="toString";(eft||nft)&&oh(RegExp.prototype,"toString",function(){var t=mo(this),e=er(t.source),n=t.flags;return"/"+e+"/"+er(n===void 0&&EI(DC,t)&&!("flags"in DC)?tft(t):n)},{unsafe:!0});var xC=vo("unscopables"),AC=Array.prototype;AC[xC]==null&&nh.f(AC,xC,{configurable:!0,value:ZI(null)});var rft=um.find,uN=!0;"find"in[]&&Array(1).find(function(){uN=!1}),cu({target:"Array",proto:!0,forced:uN},{find:function(t){return rft(this,t,arguments.length>1?arguments[1]:void 0)}}),AC[xC].find=!0;var OC=Function.prototype,sN=OC.apply,oft=OC.bind,lN=OC.call,cN=typeof Reflect=="object"&&Reflect.apply||(oft?lN.bind(sN):function(){return lN.apply(sN,arguments)}),ift=vo("species"),kC=RegExp.prototype,fN=function(t,e,n,r){var o=vo(t),i=!wn(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!wn(function(){var l=!1,c=/a/;return t==="split"&&((c={}).constructor={},c.constructor[ift]=function(){return c},c.flags="",c[o]=/./[o]),c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=Qt(/./[o]),s=e(o,""[t],function(l,c,f,p,d){var y=Qt(l),g=c.exec;return g===uh||g===kC.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:y(f,c,p)}:{done:!1}});oh(String.prototype,t,s[0]),oh(kC,o,s[1])}r&&Hc(kC[o],"sham",!0)},aft=vo("match"),uft=Kt.TypeError,sft=vo("species"),lft=Qt("".charAt),dN=Qt("".charCodeAt),cft=Qt("".slice),pN=function(t){return function(e,n){var r,o,i=er(su(e)),a=tm(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=dN(i,a))<55296||r>56319||a+1===u||(o=dN(i,a+1))<56320||o>57343?t?lft(i,a):r:t?cft(i,a,a+2):o-56320+(r-55296<<10)+65536}},fft=(pN(!1),pN(!0)),hN=function(t,e,n){return e+(n?fft(t,e).length:1)},dft=Kt.Array,pft=Math.max,gN=function(t,e,n){for(var r=em(t),o=ih(e,r),i=ih(n===void 0?r:n,r),a=dft(pft(i-o,0)),u=0;o<i;o++,u++)QI(a,u,t[o]);return a.length=u,a},hft=Kt.TypeError,BC=function(t,e){var n=t.exec;if(Gn(n)){var r=En(n,t,e);return r!==null&&mo(r),r}if(uu(t)==="RegExp")return En(uh,t,e);throw hft("RegExp#exec called on incompatible receiver")},Vc=VI.UNSUPPORTED_Y,gft=Math.min,vN=[].push,vft=Qt(/./.exec),Wc=Qt(vN),lh=Qt("".slice);fN("split",function(t,e,n){var r;return r="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(o,i){var a,u,s=er(su(this)),l=i===void 0?4294967295:i>>>0;if(l===0)return[];if(o===void 0)return[s];if(!ho(a=o)||!((u=a[aft])!==void 0?u:uu(a)=="RegExp"))return En(e,s,o,l);for(var c,f,p,d=[],y=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(o.sticky?"y":""),g=0,v=new RegExp(o.source,y+"g");(c=En(uh,v,s))&&!((f=v.lastIndex)>g&&(Wc(d,lh(s,g,c.index)),c.length>1&&c.index<s.length&&cN(vN,d,gN(c,1)),p=c[0].length,g=f,d.length>=l));)v.lastIndex===c.index&&v.lastIndex++;return g===s.length?!p&&vft(v,"")||Wc(d,""):Wc(d,lh(s,g)),d.length>l?gN(d,0,l):d}:"0".split(void 0,0).length?function(o,i){return o===void 0&&i===0?[]:En(e,this,o,i)}:e,[function(o,i){var a=su(this),u=o==null?void 0:Y3(o,t);return u?En(u,o,a,i):En(r,er(a),o,i)},function(o,i){var a=mo(this),u=er(o),s=n(r,a,u,i,r!==e);if(s.done)return s.value;var l=function(w,S){var D,C=mo(w).constructor;return C===void 0||(D=mo(C)[sft])==null?S:function(O){if(EC(O))return O;throw uft(AI(O)+" is not a constructor")}(D)}(a,RegExp),c=a.unicode,f=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Vc?"g":"y"),p=new l(Vc?"^(?:"+a.source+")":a,f),d=i===void 0?4294967295:i>>>0;if(d===0)return[];if(u.length===0)return BC(p,u)===null?[u]:[];for(var y=0,g=0,v=[];g<u.length;){p.lastIndex=Vc?0:g;var m,h=BC(p,Vc?lh(u,g):u);if(h===null||(m=gft(lC(p.lastIndex+(Vc?g:0)),u.length))===y)g=hN(u,g,c);else{if(Wc(v,lh(u,y,g)),v.length===d)return v;for(var b=1;b<=h.length-1;b++)if(Wc(v,h[b]),v.length===d)return v;g=y=m}}return Wc(v,lh(u,y)),v}]},!!wn(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),Vc);var FC=`
  120. \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,mN=Qt("".replace),lm="["+FC+"]",mft=RegExp("^"+lm+lm+"*"),yft=RegExp(lm+lm+"*$"),TC=function(t){return function(e){var n=er(su(e));return 1&t&&(n=mN(n,mft,"")),2&t&&(n=mN(n,yft,"")),n}},bft={start:TC(1),end:TC(2),trim:TC(3)},wft=sC.PROPER,Eft=bft.trim;function yN(t){return t.length?t[0].tagName.toLowerCase():""}cu({target:"String",proto:!0,forced:function(t){return wn(function(){return!!FC[t]()||"\u200B\x85\u180E"[t]()!=="\u200B\x85\u180E"||wft&&FC[t].name!==t})}("trim")},{trim:function(){return Eft(this)}}),cu({global:!0},{globalThis:Kt}),to&&(k.fn.append=to),Qo&&(k.fn.on=Qo),Sa&&(k.fn.focus=Sa),Qr&&(k.fn.attr=Qr),Jo&&(k.fn.val=Jo),Ea&&(k.fn.html=Ea),Nl&&(k.fn.dataset=Nl),jl&&(k.fn.addClass=jl),_l&&(k.fn.removeClass=_l),zl&&(k.fn.children=zl),Fg&&(k.fn.each=Fg),Ml&&(k.fn.find=Ml);var ch=!1,bN=0,wN=0,fh=null,dh=null,ph=k("body");function EN(t){ch=!1,dh=null,fh=null,ph.off("mousemove",SN),ph.off("mouseup",EN)}ph.on("mousedown",function(t){var e=t.target;if((e.tagName==="TH"||e.tagName==="TD")&&e.style.cursor==="col-resize"){e.style.cursor="auto",t.preventDefault(),ch=!0;var n=t.clientX;bN=n;var r=e.getBoundingClientRect().width;wN=r,ph.on("mousemove",SN),ph.on("mouseup",EN)}});var SN=ns(function(t){if(ch&&dh!=null&&fh!=null){t.preventDefault();var e=t.clientX,n=wN+(e-bN);(n=Math.floor(100*n)/100)<30&&(n=30),I.setNodes(dh,{width:n.toString()},{at:fh})}},100),Sft={type:"table",renderElem:function(t,e,n){var r=function(u,s){if(u.isDisabled())return!1;var l=u.selection;if(l==null||M.isCollapsed(l))return!0;var c=l.anchor,f=l.focus,p=A.findPath(u,s),d=E.start(u,p),y=E.end(u,p),g=Ut.compare(c,y)<=0&&Ut.compare(c,d)>=0,v=Ut.compare(f,y)<=0&&Ut.compare(f,d)>=0;return!!(g&&v&&_.equals(c.path.slice(0,3),f.path.slice(0,3)))}(n,t),o=t.width,i=o===void 0?"auto":o,a=Pt("div",{className:"table-container","data-selected":A.isNodeSelected(n,t),on:{mousedown:function(u){if(u.target.tagName==="DIV"&&u.preventDefault(),!n.isDisabled()){var s=A.findPath(n,t),l=E.start(n,s),c=n.selection;c!=null?c.anchor.path[0]!==s[0]&&n.select(l):n.select(l)}}}},Pt("table",{width:i,contentEditable:r},Pt("colgroup",null,sm(t).map(function(u){var s=u.width;return Pt("col",{width:s===void 0?"auto":s})})),Pt("tbody",null,e)));return a}},Cft={type:"table-row",renderElem:function(t,e,n){return Pt("tr",null,e)}},Dft={type:"table-cell",renderElem:function(t,e,n){var r=function(p,d){var y=A.getParentNode(p,d);if(y==null)return!1;var g=A.getParentNode(p,y);return g!=null&&sm(g).some(function(v){return v===d})}(n,t),o=t,i=o.colSpan,a=i===void 0?1:i,u=o.rowSpan,s=u===void 0?1:u,l=o.isHeader,c=l!==void 0&&l;if(!r)return Pt("td",{colSpan:a,rowSpan:s},e);var f=Pt(c?"th":"td",{colSpan:a,rowSpan:s,style:{borderRightWidth:"3px"},on:{mousemove:ns(function(p){var d=this.elm;if(d!=null){var y=d.getBoundingClientRect(),g=y.left,v=y.width,m=y.top,h=y.height,b=p.clientX,w=p.clientY;ch||(b>g+v-5&&b<g+v&&w>m&&w<m+h?(d.style.cursor="col-resize",dh=n,fh=A.findPath(n,t)):ch||(d.style.cursor="auto",dh=null,fh=null))}},100)}},e);return f}},xft={selector:"table",preParseHtml:function(t){var e=k(t);if(yN(e)!=="table")return t;var n=e.find("tbody");if(n.length===0)return t;var r=e.find("tr");return e.append(r),n.remove(),e[0]}},Aft=um.filter;cu({target:"Array",proto:!0,forced:!SC("filter")},{filter:function(t){return Aft(this,t,arguments.length>1?arguments[1]:void 0)}});var Oft=Math.floor,PC=Qt("".charAt),kft=Qt("".replace),jC=Qt("".slice),Bft=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Fft=/\$([$&'`]|\d{1,2})/g,Tft=function(t,e,n,r,o,i){var a=n+t.length,u=r.length,s=Fft;return o!==void 0&&(o=Q3(o),s=Bft),kft(i,s,function(l,c){var f;switch(PC(c,0)){case"$":return"$";case"&":return t;case"`":return jC(e,0,n);case"'":return jC(e,a);case"<":f=o[jC(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>u){var d=Oft(p/10);return d===0?l:d<=u?r[d-1]===void 0?PC(c,1):r[d-1]+PC(c,1):l}f=r[p-1]}return f===void 0?"":f})},_C=vo("replace"),Pft=Math.max,jft=Math.min,_ft=Qt([].concat),IC=Qt([].push),CN=Qt("".indexOf),DN=Qt("".slice),Ift="a".replace(/./,"$0")==="$0",xN=!!/./[_C]&&/./[_C]("a","$0")==="";fN("replace",function(t,e,n){var r=xN?"$":"$0";return[function(o,i){var a=su(this),u=o==null?void 0:Y3(o,_C);return u?En(u,o,a,i):En(e,er(a),o,i)},function(o,i){var a=mo(this),u=er(o);if(typeof i=="string"&&CN(i,r)===-1&&CN(i,"$<")===-1){var s=n(e,a,u,i);if(s.done)return s.value}var l=Gn(i);l||(i=er(i));var c=a.global;if(c){var f=a.unicode;a.lastIndex=0}for(var p=[];;){var d=BC(a,u);if(d===null||(IC(p,d),!c))break;er(d[0])===""&&(a.lastIndex=hN(u,lC(a.lastIndex),f))}for(var y,g="",v=0,m=0;m<p.length;m++){for(var h=er((d=p[m])[0]),b=Pft(jft(tm(d.index),u.length),0),w=[],S=1;S<d.length;S++)IC(w,(y=d[S])===void 0?y:String(y));var D=d.groups;if(l){var C=_ft([h],w,b,u);D!==void 0&&IC(C,D);var O=er(cN(i,void 0,C))}else O=Tft(h,u,b,w,D,i);b>=v&&(g+=DN(u,v,b)+O,v=b+h.length)}return g+DN(u,v)}]},!!wn(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$<a>")!=="7"})||!Ift||xN);var Nft={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=k(t);(e=e.filter(function(u){return!!ft.isText(u)||!!n.isInline(u)})).length===0&&(e=[{text:r.text().replace(/\s+/gm," ")}]);var o=parseInt(r.attr("colSpan")||"1"),i=parseInt(r.attr("rowSpan")||"1"),a=r.attr("width")||"auto";return{type:"table-cell",isHeader:yN(r)==="th",colSpan:o,rowSpan:i,width:a,children:e}}},Lft={selector:"tr:not([data-w-e-type])",parseElemHtml:function(t,e,n){return{type:"table-row",children:e.filter(function(r){return A.getNodeType(r)==="table-cell"})}}},Rft={selector:"table:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=k(t),o="auto";return function(i,a){for(var u="",s=(i.attr("style")||"").split(";"),l=s.length,c=0;c<l;c++){var f=s[c];if(f){var p=f.split(":");p[0].trim()==="width"&&(u=p[1].trim())}}return u}(r)==="100%"&&(o="100%"),r.attr("width")==="100%"&&(o="100%"),{type:"table",width:o,children:e.filter(function(i){return A.getNodeType(i)==="table-row"})}}},Mft=function(){function t(){this.title=nt("tableModule.insertTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64v896h1024V64H0z m384 576v-192h256v192h-256z m256 64v192h-256v-192h256z m0-512v192h-256V192h256zM320 192v192H64V192h256z m-256 256h256v192H64v-192z m640 0h256v192h-256v-192z m0-64V192h256v192h-256zM64 704h256v192H64v-192z m640 192v-192h256v192h-256z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.exec=function(e,n){},t.prototype.isDisabled=function(e){var n=e.selection;return n==null||!M.isCollapsed(n)||!!A.getSelectedElems(e).some(function(r){var o=A.getNodeType(r);return o==="pre"||o==="table"||o==="list-item"||!!e.isVoid(r)})},t.prototype.getPanelContentElem=function(e){var n=this;if(this.$content)return this.$content[0];for(var r=k('<div class="w-e-panel-content-table"></div>'),o=k("<span>0 &times; 0</span>"),i=k("<table></table>"),a=0;a<10;a++){for(var u=k("<tr></tr>"),s=0;s<10;s++){var l=k("<td></td>");l.attr("data-x",s.toString()),l.attr("data-y",a.toString()),u.append(l),l.on("mouseenter",function(c){var f=c.target;if(f!=null){var p=k(f).dataset(),d=p.x,y=p.y;o[0].innerHTML=d+1+" &times; "+(y+1),i.children().each(function(g){k(g).children().each(function(v){var m=k(v),h=m.dataset(),b=h.x,w=h.y;b<=d&&w<=y?m.addClass("active"):m.removeClass("active")})})}}),l.on("click",function(c){c.preventDefault();var f=c.target;if(f!=null){var p=k(f).dataset(),d=p.x,y=p.y;n.insertTable(e,y+1,d+1)}})}i.append(u)}return r.append(i),r.append(o),this.$content=r,r[0]},t.prototype.insertTable=function(e,n,r){var o=parseInt(n,10),i=parseInt(r,10);if(o&&i&&!(o<=0||i<=0)){A.isSelectedEmptyParagraph(e)&&I.removeNodes(e,{mode:"highest"});var a=function(u,s){for(var l=[],c=0;c<u;c++){for(var f=[],p=0;p<s;p++){var d={type:"table-cell",children:[{text:""}]};c===0&&(d.isHeader=!0),f.push(d)}l.push({type:"table-row",children:f})}return{type:"table",width:"auto",children:l}}(o,i);I.insertNodes(e,a,{mode:"highest"})}},t}(),zft=function(){function t(){this.title=nt("tableModule.deleteTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){return e.selection==null||A.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,n){this.isDisabled(e)||I.removeNodes(e,{mode:"highest"})},t}(),$ft=function(){function t(){this.title=nt("tableModule.insertRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M707.7888 521.0112h-147.456v-147.456H488.2432v147.456h-147.456v68.8128h147.456v147.456h72.0896v-147.456h147.456zM0 917.504V0h1048.576v917.504H0zM327.68 65.536H65.536v196.608H327.68V65.536z m327.68 0H393.216v196.608h262.144V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 258.8672H65.536v462.0288H983.04V324.4032z"></path></svg>',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){var n=e.selection;return n==null||!M.isCollapsed(n)||A.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r=Lo(E.nodes(e,{match:function(d){return A.checkNodeType(d,"table-cell")},universal:!0}),1),o=Lo(r[0],2),i=o[0],a=o[1],u=A.getParentNode(e,i),s=(u==null?void 0:u.children.length)||0;if(s!==0){for(var l={type:"table-row",children:[]},c=0;c<s;c++)l.children.push({type:"table-cell",children:[{text:""}]});var f=_.parent(a),p=_.next(f);I.insertNodes(e,l,{at:p})}}},t}(),Hft=function(){function t(){this.title=nt("tableModule.deleteRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M907.6736 586.5472L747.1104 425.984l163.84-163.84-78.6432-78.6432-163.84 163.84L507.904 186.7776 429.2608 262.144l163.84 163.84-167.1168 167.1168 78.6432 78.6432 167.1168-167.1168 160.5632 160.5632 75.3664-78.6432zM0 917.504V0h1048.576v917.504H0z m983.04-327.68h-22.9376l-65.536-65.536H983.04V327.68h-91.7504l65.536-65.536h26.2144V65.536H65.536v196.608h317.8496l65.536 65.536H65.536v196.608h380.1088l-65.536 65.536H65.536v196.608H983.04v-196.608z"></path></svg>',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){var n=e.selection;return n==null||!M.isCollapsed(n)||A.getSelectedNodeByType(e,"table-row")==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r=Lo(E.nodes(e,{match:function(s){return A.checkNodeType(s,"table-row")},universal:!0}),1),o=Lo(r[0],2),i=o[0],a=o[1],u=A.getParentNode(e,i);((u==null?void 0:u.children.length)||0)<=1?I.removeNodes(e,{mode:"highest"}):I.removeNodes(e,{at:a})}},t}(),AN={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},NC=nC("span").classList,ON=NC&&NC.constructor&&NC.constructor.prototype,Uft=ON===Object.prototype?void 0:ON,Vft=um.forEach,Wft=function(t,e){var n=[].forEach;return!!n&&wn(function(){n.call(null,function(){throw 1},1)})}(),LC=Wft?[].forEach:function(t){return Vft(this,t,arguments.length>1?arguments[1]:void 0)},kN=function(t){if(t&&t.forEach!==LC)try{Hc(t,"forEach",LC)}catch(e){t.forEach=LC}};for(var RC in AN)AN[RC]&&kN(Kt[RC]&&Kt[RC].prototype);kN(Uft);var Gft=function(){function t(){this.title=nt("tableModule.insertCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 193.3312v186.7776H140.9024v91.7504H327.68v186.7776h88.4736V471.8592h190.0544V380.1088H416.1536V193.3312zM0 917.504V0h1048.576v917.504H0zM655.36 65.536H65.536v720.896H655.36V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 262.144h-262.144v196.608h262.144V327.68z m0 262.144h-262.144v196.608h262.144v-196.608z"></path></svg>',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){var n=e.selection;return n==null||!M.isCollapsed(n)||A.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r=Lo(E.nodes(e,{match:function(l){return A.checkNodeType(l,"table-cell")},universal:!0}),1),o=Lo(r[0],2),i=o[0],a=o[1],u=A.getParentNode(e,i);if(u!=null){var s=A.getParentNode(e,u);s!=null&&(s.children||[]).forEach(function(l,c){bt.isElement(l)&&(l.children||[]).forEach(function(f){var p=A.findPath(e,f);if(p.length===a.length&&hI(p.slice(-1),a.slice(-1))){var d={type:"table-cell",children:[{text:""}]};c===0&&iN(s)&&(d.isHeader=!0),I.insertNodes(e,d,{at:p})}})})}}},t}(),Kft=function(){function t(){this.title=nt("tableModule.deleteCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 510.976L393.216 445.44v-13.1072L327.68 366.7968V510.976z m327.68-78.4384l65.536-65.536V507.904L655.36 442.368v-9.8304z m393.216 484.9664V0H0v917.504h1048.576z m-65.536-131.072h-262.144v-52.4288l-13.1072 13.1072-52.4288-52.4288v91.7504H393.216v-91.7504l-52.4288 52.4288-13.1072-13.1072v52.4288H65.536V65.536H327.68v121.2416l36.0448-36.0448 29.4912 29.4912V62.2592h262.144V180.224l49.152-49.152 16.384 16.384V62.2592h262.144V786.432z m-294.912-108.1344l-160.5632-160.5632-167.1168 167.1168-78.6432-78.6432 167.1168-167.1168L288.3584 278.528l78.6432-78.6432 160.5632 160.5632 163.84-163.84 78.6432 78.6432-163.84 163.84 160.5632 160.5632-78.6432 78.6432z"></path></svg>',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){var n=e.selection;return n==null||!M.isCollapsed(n)||A.getSelectedNodeByType(e,"table-cell")==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r=Lo(E.nodes(e,{match:function(c){return A.checkNodeType(c,"table-cell")},universal:!0}),1),o=Lo(r[0],2),i=o[0],a=o[1],u=A.getParentNode(e,i),s=(u==null?void 0:u.children.length)||0;if(!u||s<=1)I.removeNodes(e,{mode:"highest"});else{var l=A.getParentNode(e,u);l!=null&&(l.children||[]).forEach(function(c){bt.isElement(c)&&(c.children||[]).forEach(function(f){var p=A.findPath(e,f);p.length===a.length&&hI(p.slice(-1),a.slice(-1))&&I.removeNodes(e,{at:p})})})}}},t}(),qft=function(){function t(){this.title=nt("tableModule.header"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M704 128l-64 0L384 128 320 128 0 128l0 256 0 64 0 192 0 64 0 256 320 0 64 0 256 0 64 0 320 0 0-256 0-64L1024 448 1024 384 1024 128 704 128zM640 640 384 640 384 448l256 0L640 640zM64 448l256 0 0 192L64 640 64 448zM320 896 64 896l0-192 256 0L320 896zM640 896 384 896l0-192 256 0L640 896zM960 896l-256 0 0-192 256 0L960 896zM960 640l-256 0L704 448l256 0L960 640z"></path></svg>',this.tag="button"}return t.prototype.getValue=function(e){var n=A.getSelectedNodeByType(e,"table");return n!=null&&iN(n)},t.prototype.isActive=function(e){return!!this.getValue(e)},t.prototype.isDisabled=function(e){var n=e.selection;return n==null||!M.isCollapsed(n)||A.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r=!n,o=A.getSelectedNodeByType(e,"table");o!=null&&sm(o).forEach(function(i){return I.setNodes(e,{isHeader:r},{at:A.findPath(e,i)})})}},t}(),Zft=function(){function t(){this.title=nt("tableModule.widthAuto"),this.iconSvg='<svg viewBox="0 0 1228 1024"><path d="M862.514337 563.200461H404.581995v121.753478a13.311987 13.311987 0 0 1-6.655993 11.468789 10.23999 10.23999 0 0 1-12.083188-1.433599l-204.799795-179.199821a13.721586 13.721586 0 0 1 0-20.479979l204.799795-179.302221a10.23999 10.23999 0 0 1 12.185588-1.535998 13.209587 13.209587 0 0 1 6.553593 11.673588v115.097485h457.932342V319.693504a11.571188 11.571188 0 0 1 18.841582-10.239989l204.799795 179.19982a13.721586 13.721586 0 0 1 0 20.47998l-204.799795 179.199821a10.23999 10.23999 0 0 1-12.185588 1.535998 13.311987 13.311987 0 0 1-6.655994-11.571188V563.200461zM136.499064 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785H15.155185A15.155185 15.155185 0 0 1 0 1008.844815V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086294a15.155185 15.155185 0 0 1 15.257585 15.155185zM1228.798771 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785h-106.188693a15.155185 15.155185 0 0 1-15.155185-15.052785V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086293A15.155185 15.155185 0 0 1 1228.798771 15.053809z"></path></svg>',this.tag="button"}return t.prototype.getValue=function(e){var n=A.getSelectedNodeByType(e,"table");return n!=null&&n.width==="100%"},t.prototype.isActive=function(e){return!!this.getValue(e)},t.prototype.isDisabled=function(e){var n=e.selection;return n==null||!M.isCollapsed(n)||A.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r={width:n?"auto":"100%"};I.setNodes(e,r,{mode:"highest"})}},t}(),Yft={renderElems:[Sft,Cft,Dft],elemsToHtml:[{type:"table",elemToHtml:function(t,e){var n=t.width;return'<table style="width: '+(n===void 0?"auto":n)+';"><tbody>'+e+"</tbody></table>"}},{type:"table-row",elemToHtml:function(t,e){return"<tr>"+e+"</tr>"}},{type:"table-cell",elemToHtml:function(t,e){var n=t,r=n.colSpan,o=r===void 0?1:r,i=n.rowSpan,a=i===void 0?1:i,u=n.isHeader,s=u!==void 0&&u,l=n.width,c=s?"th":"td";return"<"+c+' colSpan="'+o+'" rowSpan="'+a+'" width="'+(l===void 0?"auto":l)+'">'+e+"</"+c+">"}}],preParseHtml:[xft],parseElemsHtml:[Nft,Lft,Rft],menus:[{key:"insertTable",factory:function(){return new Mft}},{key:"deleteTable",factory:function(){return new zft}},{key:"insertTableRow",factory:function(){return new $ft}},{key:"deleteTableRow",factory:function(){return new Hft}},{key:"insertTableCol",factory:function(){return new Gft}},{key:"deleteTableCol",factory:function(){return new Kft}},{key:"tableHeader",factory:function(){return new qft}},{key:"tableFullWidth",factory:function(){return new Zft}}],editorPlugin:function(t){var e=t.insertBreak,n=t.deleteBackward,r=t.deleteForward,o=t.normalizeNode,i=t.insertData,a=t.handleTab,u=t.selectAll,s=t;return s.insertBreak=function(){A.getSelectedNodeByType(s,"table")==null?e():s.insertText(`
  121. `)},s.deleteBackward=function(l){if(!tN(s)){var c=s.selection;if(c){var f=E.before(s,c);if(f){var p=eN(s,f),d=eN(s,c);if(p&&!d)return}}n(l)}},s.handleTab=function(){var l;if(A.getSelectedNodeByType(s,"table")){var c=E.above(t);A.checkNodeType(c[0],"table-cell")&&I.select(t,c[1]);var f=E.next(t);if(f)f[0]&&f[0].text&&(f=(l=E.above(t,{at:f[1]}))!==null&&l!==void 0?l:f),I.select(t,f[1]);else{var p=s.children||[],d=p.length;if(A.checkNodeType(p[d-1],"table")){var y=A.genEmptyParagraph();I.insertNodes(s,y,{at:[d]}),s.handleTab()}}}else a()},s.deleteForward=function(l){tN(s)||r(l)},s.normalizeNode=function(l){var c=Lo(l,2),f=c[0],p=c[1];if(A.getNodeType(f)!=="table")return o([f,p]);if(A.isLastNode(s,f)){var d=A.genEmptyParagraph();I.insertNodes(s,d,{at:[p[0]+1]})}},s.insertData=function(l){if(A.getSelectedNodeByType(s,"table")!=null){var c=l.getData("text/plain");c===`
  122. `||/<img[^>]+>/.test(l.getData("text/html"))?i(l):E.insertText(s,c)}else i(l)},s.selectAll=function(){var l=s.selection;if(l!=null){var c=A.getSelectedNodeByType(s,"table-cell");if(c!=null){var f=l.anchor,p=l.focus;if(_.equals(f.path.slice(0,3),p.path.slice(0,3)))if(et.string(c).length!==0){var d=A.findPath(s,c),y={anchor:E.start(s,d),focus:E.end(s,d)};s.select(y)}else u();else u()}else u()}else u()},s}};Er("en",{videoModule:{delete:"Delete",uploadVideo:"Upload video",insertVideo:"Insert video",videoSrc:"Video source",videoSrcPlaceHolder:"Video file url, or third-party <iframe>",videoPoster:"Video poster",videoPosterPlaceHolder:"Poster image url",ok:"Ok",editSize:"Edit size",width:"Width",height:"Height"}}),Er("zh-CN",{videoModule:{delete:"\u5220\u9664\u89C6\u9891",uploadVideo:"\u4E0A\u4F20\u89C6\u9891",insertVideo:"\u63D2\u5165\u89C6\u9891",videoSrc:"\u89C6\u9891\u5730\u5740",videoSrcPlaceHolder:"\u89C6\u9891\u6587\u4EF6 url \u6216\u7B2C\u4E09\u65B9 <iframe>",videoPoster:"\u89C6\u9891\u5C01\u9762",videoPosterPlaceHolder:"\u5C01\u9762\u56FE\u7247 url",ok:"\u786E\u5B9A",editSize:"\u4FEE\u6539\u5C3A\u5BF8",width:"\u5BBD\u5EA6",height:"\u9AD8\u5EA6"}});/*! *****************************************************************************
  123. Copyright (c) Microsoft Corporation.
  124. Permission to use, copy, modify, and/or distribute this software for any
  125. purpose with or without fee is hereby granted.
  126. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  127. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  128. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  129. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  130. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  131. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  132. PERFORMANCE OF THIS SOFTWARE.
  133. ***************************************************************************** */var cm=function(){return cm=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},cm.apply(this,arguments)};function fm(t,e,n,r){return new(n||(n=Promise))(function(o,i){function a(l){try{s(r.next(l))}catch(c){i(c)}}function u(l){try{s(r.throw(l))}catch(c){i(c)}}function s(l){var c;l.done?o(l.value):(c=l.value,c instanceof n?c:new n(function(f){f(c)})).then(a,u)}s((r=r.apply(t,e||[])).next())})}function dm(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function u(s){return function(l){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||c[0]!==6&&c[0]!==2)){a=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(c[0]===6&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(f){c=[6,f],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([s,l])}}}function Gs(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(e===void 0||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function Xft(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function(o){var i=typeof Symbol=="function"&&Symbol.iterator,a=i&&o[i],u=0;if(a)return a.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(o){e[o]=t[o]&&function(i){return new Promise(function(a,u){(function(s,l,c,f){Promise.resolve(f).then(function(p){s({value:p,done:c})},l)})(a,u,(i=t[o](i)).done,i.value)})}}}var BN=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof ot.g!="undefined"?ot.g:typeof self!="undefined"?self:{};function MC(t){var e={exports:{}};return t(e,e.exports),e.exports}var du,pm,hm=function(t){return t&&t.Math==Math&&t},at=hm(typeof globalThis=="object"&&globalThis)||hm(typeof window=="object"&&window)||hm(typeof self=="object"&&self)||hm(typeof BN=="object"&&BN)||function(){return this}()||Function("return this")(),Te=function(t){try{return!!t()}catch(e){return!0}},di=!Te(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),hh=Function.prototype.call,Be=hh.bind?hh.bind(hh):function(){return hh.apply(hh,arguments)},FN={}.propertyIsEnumerable,TN=Object.getOwnPropertyDescriptor,Jft={f:TN&&!FN.call({1:2},1)?function(t){var e=TN(this,t);return!!e&&e.enumerable}:FN},gm=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},PN=Function.prototype,zC=PN.bind,$C=PN.call,Qft=zC&&zC.bind($C),Lt=zC?function(t){return t&&Qft($C,t)}:function(t){return t&&function(){return $C.apply(t,arguments)}},tdt=Lt({}.toString),edt=Lt("".slice),pi=function(t){return edt(tdt(t),8,-1)},HC=at.Object,ndt=Lt("".split),UC=Te(function(){return!HC("z").propertyIsEnumerable(0)})?function(t){return pi(t)=="String"?ndt(t,""):HC(t)}:HC,rdt=at.TypeError,gh=function(t){if(t==null)throw rdt("Can't call method on "+t);return t},pu=function(t){return UC(gh(t))},we=function(t){return typeof t=="function"},_e=function(t){return typeof t=="object"?t!==null:we(t)},odt=function(t){return we(t)?t:void 0},Ks=function(t,e){return arguments.length<2?odt(at[t]):at[t]&&at[t][e]},vh=Lt({}.isPrototypeOf),Gc=Ks("navigator","userAgent")||"",jN=at.process,_N=at.Deno,IN=jN&&jN.versions||_N&&_N.version,NN=IN&&IN.v8;NN&&(pm=(du=NN.split("."))[0]>0&&du[0]<4?1:+(du[0]+du[1])),!pm&&Gc&&(!(du=Gc.match(/Edge\/(\d+)/))||du[1]>=74)&&(du=Gc.match(/Chrome\/(\d+)/))&&(pm=+du[1]);var mh=pm,VC=!!Object.getOwnPropertySymbols&&!Te(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&mh&&mh<41}),WC=VC&&!Symbol.sham&&typeof Symbol.iterator=="symbol",idt=at.Object,GC=WC?function(t){return typeof t=="symbol"}:function(t){var e=Ks("Symbol");return we(e)&&vh(e.prototype,idt(t))},adt=at.String,vm=function(t){try{return adt(t)}catch(e){return"Object"}},udt=at.TypeError,hu=function(t){if(we(t))return t;throw udt(vm(t)+" is not a function")},yh=function(t,e){var n=t[e];return n==null?void 0:hu(n)},sdt=at.TypeError,ldt=Object.defineProperty,KC=function(t,e){try{ldt(at,t,{value:e,configurable:!0,writable:!0})}catch(n){at[t]=e}return e},gu=at["__core-js_shared__"]||KC("__core-js_shared__",{}),qC=MC(function(t){(t.exports=function(e,n){return gu[e]||(gu[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),cdt=at.Object,mm=function(t){return cdt(gh(t))},fdt=Lt({}.hasOwnProperty),Sn=Object.hasOwn||function(t,e){return fdt(mm(t),e)},ddt=0,pdt=Math.random(),hdt=Lt(1 .toString),ZC=function(t){return"Symbol("+(t===void 0?"":t)+")_"+hdt(++ddt+pdt,36)},bh=qC("wks"),qs=at.Symbol,LN=qs&&qs.for,gdt=WC?qs:qs&&qs.withoutSetter||ZC,un=function(t){if(!Sn(bh,t)||!VC&&typeof bh[t]!="string"){var e="Symbol."+t;VC&&Sn(qs,t)?bh[t]=qs[t]:bh[t]=WC&&LN?LN(e):gdt(e)}return bh[t]},vdt=at.TypeError,mdt=un("toPrimitive"),YC=function(t){var e=function(n,r){if(!_e(n)||GC(n))return n;var o,i=yh(n,mdt);if(i){if(r===void 0&&(r="default"),o=Be(i,n,r),!_e(o)||GC(o))return o;throw vdt("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&we(s=a.toString)&&!_e(l=Be(s,a))||we(s=a.valueOf)&&!_e(l=Be(s,a))||u!=="string"&&we(s=a.toString)&&!_e(l=Be(s,a)))return l;throw sdt("Can't convert object to primitive value")}(n,r)}(t,"string");return GC(e)?e:e+""},XC=at.document,ydt=_e(XC)&&_e(XC.createElement),wh=function(t){return ydt?XC.createElement(t):{}},RN=!di&&!Te(function(){return Object.defineProperty(wh("div"),"a",{get:function(){return 7}}).a!=7}),MN=Object.getOwnPropertyDescriptor,JC={f:di?MN:function(t,e){if(t=pu(t),e=YC(e),RN)try{return MN(t,e)}catch(n){}if(Sn(t,e))return gm(!Be(Jft.f,t,e),t[e])}},bdt=at.String,wdt=at.TypeError,_n=function(t){if(_e(t))return t;throw wdt(bdt(t)+" is not an object")},Edt=at.TypeError,zN=Object.defineProperty,qi={f:di?zN:function(t,e,n){if(_n(t),e=YC(e),_n(n),RN)try{return zN(t,e,n)}catch(r){}if("get"in n||"set"in n)throw Edt("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},vu=di?function(t,e,n){return qi.f(t,e,gm(1,n))}:function(t,e,n){return t[e]=n,t},Sdt=Lt(Function.toString);we(gu.inspectSource)||(gu.inspectSource=function(t){return Sdt(t)});var ym,Eh,bm,wm=gu.inspectSource,$N=at.WeakMap,HN=we($N)&&/native code/.test(wm($N)),UN=qC("keys"),QC=function(t){return UN[t]||(UN[t]=ZC(t))},Em={},t5=at.TypeError,Cdt=at.WeakMap;if(HN||gu.state){var Zs=gu.state||(gu.state=new Cdt),Ddt=Lt(Zs.get),VN=Lt(Zs.has),xdt=Lt(Zs.set);ym=function(t,e){if(VN(Zs,t))throw new t5("Object already initialized");return e.facade=t,xdt(Zs,t,e),e},Eh=function(t){return Ddt(Zs,t)||{}},bm=function(t){return VN(Zs,t)}}else{var Kc=QC("state");Em[Kc]=!0,ym=function(t,e){if(Sn(t,Kc))throw new t5("Object already initialized");return e.facade=t,vu(t,Kc,e),e},Eh=function(t){return Sn(t,Kc)?t[Kc]:{}},bm=function(t){return Sn(t,Kc)}}var Ur={set:ym,get:Eh,has:bm,enforce:function(t){return bm(t)?Eh(t):ym(t,{})},getterFor:function(t){return function(e){var n;if(!_e(e)||(n=Eh(e)).type!==t)throw t5("Incompatible receiver, "+t+" required");return n}}},WN=Function.prototype,Adt=di&&Object.getOwnPropertyDescriptor,e5=Sn(WN,"name"),qc={EXISTS:e5,PROPER:e5&&function(){}.name==="something",CONFIGURABLE:e5&&(!di||di&&Adt(WN,"name").configurable)},Vr=MC(function(t){var e=qc.CONFIGURABLE,n=Ur.get,r=Ur.enforce,o=String(String).split("String");(t.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet,d=s&&s.name!==void 0?s.name:a;we(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Sn(u,"name")||e&&u.name!==d)&&vu(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==at?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:vu(i,a,u)):f?i[a]=u:KC(a,u)})(Function.prototype,"toString",function(){return we(this)&&n(this).source||wm(this)})}),Odt=Math.ceil,kdt=Math.floor,Sm=function(t){var e=+t;return e!=e||e===0?0:(e>0?kdt:Odt)(e)},Bdt=Math.max,Fdt=Math.min,Sh=function(t,e){var n=Sm(t);return n<0?Bdt(n+e,0):Fdt(n,e)},Tdt=Math.min,GN=function(t){return t>0?Tdt(Sm(t),9007199254740991):0},Ch=function(t){return GN(t.length)},KN=function(t){return function(e,n,r){var o,i=pu(e),a=Ch(i),u=Sh(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},qN={includes:KN(!0),indexOf:KN(!1)},Pdt=qN.indexOf,ZN=Lt([].push),YN=function(t,e){var n,r=pu(t),o=0,i=[];for(n in r)!Sn(Em,n)&&Sn(r,n)&&ZN(i,n);for(;e.length>o;)Sn(r,n=e[o++])&&(~Pdt(i,n)||ZN(i,n));return i},Cm=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],jdt=Cm.concat("length","prototype"),Dm={f:Object.getOwnPropertyNames||function(t){return YN(t,jdt)}},_dt={f:Object.getOwnPropertySymbols},Idt=Lt([].concat),Ndt=Ks("Reflect","ownKeys")||function(t){var e=Dm.f(_n(t)),n=_dt.f;return n?Idt(e,n(t)):e},Ldt=function(t,e){for(var n=Ndt(e),r=qi.f,o=JC.f,i=0;i<n.length;i++){var a=n[i];Sn(t,a)||r(t,a,o(e,a))}},Rdt=/#|\.prototype\./,Dh=function(t,e){var n=zdt[Mdt(t)];return n==Hdt||n!=$dt&&(we(e)?Te(e):!!e)},Mdt=Dh.normalize=function(t){return String(t).replace(Rdt,".").toLowerCase()},zdt=Dh.data={},$dt=Dh.NATIVE="N",Hdt=Dh.POLYFILL="P",xm=Dh,Udt=JC.f,xr=function(t,e){var n,r,o,i,a,u=t.target,s=t.global,l=t.stat;if(n=s?at:l?at[u]||KC(u,{}):(at[u]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=Udt(n,r))&&a.value:n[r],!xm(s?r:u+(l?".":"#")+r,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;Ldt(i,o)}(t.sham||o&&o.sham)&&vu(i,"sham",!0),Vr(n,r,i,t)}},XN={};XN[un("toStringTag")]="z";var n5=String(XN)==="[object z]",Vdt=un("toStringTag"),Wdt=at.Object,Gdt=pi(function(){return arguments}())=="Arguments",Am=n5?pi:function(t){var e,n,r;return t===void 0?"Undefined":t===null?"Null":typeof(n=function(o,i){try{return o[i]}catch(a){}}(e=Wdt(t),Vdt))=="string"?n:Gdt?pi(e):(r=pi(e))=="Object"&&we(e.callee)?"Arguments":r},Kdt=at.String,yo=function(t){if(Am(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Kdt(t)},r5=`
  134. \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,JN=Lt("".replace),Om="["+r5+"]",qdt=RegExp("^"+Om+Om+"*"),Zdt=RegExp(Om+Om+"*$"),o5=function(t){return function(e){var n=yo(gh(e));return 1&t&&(n=JN(n,qdt,"")),2&t&&(n=JN(n,Zdt,"")),n}},Ydt={start:o5(1),end:o5(2),trim:o5(3)},Xdt=qc.PROPER,Jdt=Ydt.trim;function QN(t){return t.length?t[0].tagName.toLowerCase():""}function tL(t,e,n){e===void 0&&(e="auto"),n===void 0&&(n="auto");var r=k(t);return r.attr("width",e),r.attr("height",n),r[0].outerHTML}xr({target:"String",proto:!0,forced:Te(function(){return!!r5.trim()||"\u200B\x85\u180E".trim()!=="\u200B\x85\u180E"||Xdt&&r5.trim.name!=="trim"})},{trim:function(){return Jdt(this)}}),xr({global:!0},{globalThis:at}),to&&(k.fn.append=to),Qo&&(k.fn.on=Qo),Sa&&(k.fn.focus=Sa),Qr&&(k.fn.attr=Qr),Jo&&(k.fn.val=Jo),Ea&&(k.fn.html=Ea),Rl&&(k.fn.parent=Rl),Il&&(k.fn.hasClass=Il),Hl&&(k.fn.empty=Hl);var km,Qdt={type:"video",renderElem:function(t,e,n){var r,o=t,i=o.src,a=i===void 0?"":i,u=o.poster,s=u===void 0?"":u,l=o.width,c=l===void 0?"auto":l,f=o.height,p=f===void 0?"auto":f,d=A.isNodeSelected(n,t);if(a.trim().indexOf("<iframe ")===0)r=Pt("div",{className:"w-e-textarea-video-container","data-selected":d?"true":"",innerHTML:tL(a,c,p)});else{var y=Pt("video",{poster:s,controls:!0},Pt("source",{src:a,type:"video/mp4"}),`Sorry, your browser doesn't support embedded videos.
  135. \u62B1\u6B49\uFF0C\u6D4F\u89C8\u5668\u4E0D\u652F\u6301 video \u89C6\u9891`);c!=="auto"&&(y.data.width=c),p!=="auto"&&(y.data.height=p),r=Pt("div",{className:"w-e-textarea-video-container","data-selected":d?"true":""},y)}return Ul("div",{props:{contentEditable:!1},on:{mousedown:function(g){return g.preventDefault()}}},r)}},tpt={type:"video",elemToHtml:function(t,e){var n=t,r=n.src,o=r===void 0?"":r,i=n.poster,a=i===void 0?"":i,u=n.width,s=u===void 0?"auto":u,l=n.height,c=l===void 0?"auto":l,f=`<div data-w-e-type="video" data-w-e-is-void>
  136. `;return o.trim().indexOf("<iframe ")===0?f+=tL(o,s,c):f+='<video poster="'+a+'" controls="true" width="'+s+'" height="'+c+'"><source src="'+o+'" type="video/mp4"/></video>',f+`
  137. </div>`}},ept=Object.keys||function(t){return YN(t,Cm)},npt=di?Object.defineProperties:function(t,e){_n(t);for(var n,r=pu(e),o=ept(e),i=o.length,a=0;i>a;)qi.f(t,n=o[a++],r[n]);return t},i5=Ks("document","documentElement"),eL=QC("IE_PROTO"),a5=function(){},nL=function(t){return"<script>"+t+"</script>"},rL=function(t){t.write(nL("")),t.close();var e=t.parentWindow.Object;return t=null,e},Bm=function(){try{km=new ActiveXObject("htmlfile")}catch(r){}var t,e;Bm=typeof document!="undefined"?document.domain&&km?rL(km):((e=wh("iframe")).style.display="none",i5.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(nL("document.F=Object")),t.close(),t.F):rL(km);for(var n=Cm.length;n--;)delete Bm.prototype[Cm[n]];return Bm()};Em[eL]=!0;var u5=Object.create||function(t,e){var n;return t!==null?(a5.prototype=_n(t),n=new a5,a5.prototype=null,n[eL]=t):n=Bm(),e===void 0?n:npt(n,e)},s5=un("unscopables"),l5=Array.prototype;l5[s5]==null&&qi.f(l5,s5,{configurable:!0,value:u5(null)});var xh=function(t){l5[s5][t]=!0},rpt=qN.includes;xr({target:"Array",proto:!0},{includes:function(t){return rpt(this,t,arguments.length>1?arguments[1]:void 0)}}),xh("includes");var opt={selector:"iframe,video,p",preParseHtml:function(t){var e=k(t),n=e;if(QN(e)==="p"){var r=e.children();if(r.length===1){var o=r[0],i=o.tagName.toLowerCase();["iframe","video"].includes(i)&&(n=k(o))}}var a=QN(n);if(a!=="iframe"&&a!=="video"||n.parent().attr("data-w-e-type")==="video")return n[0];var u=k('<div data-w-e-type="video" data-w-e-is-void></div>');return u.append(n),u[0]}},oL=Lt(Lt.bind),Ah=function(t,e){return hu(t),e===void 0?t:oL?oL(t,e):function(){return t.apply(e,arguments)}},Fm=Array.isArray||function(t){return pi(t)=="Array"},iL=function(){},ipt=[],aL=Ks("Reflect","construct"),c5=/^\s*(?:class|function)\b/,apt=Lt(c5.exec),upt=!c5.exec(iL),Oh=function(t){if(!we(t))return!1;try{return aL(iL,ipt,t),!0}catch(e){return!1}},f5=!aL||Te(function(){var t;return Oh(Oh.call)||!Oh(Object)||!Oh(function(){t=!0})||t})?function(t){if(!we(t))return!1;switch(Am(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return upt||!!apt(c5,wm(t))}:Oh,spt=un("species"),uL=at.Array,lpt=function(t,e){return new(function(n){var r;return Fm(n)&&(r=n.constructor,(f5(r)&&(r===uL||Fm(r.prototype))||_e(r)&&(r=r[spt])===null)&&(r=void 0)),r===void 0?uL:r}(t))(e===0?0:e)},sL=Lt([].push),mu=function(t){var e=t==1,n=t==2,r=t==3,o=t==4,i=t==6,a=t==7,u=t==5||i;return function(s,l,c,f){for(var p,d,y=mm(s),g=UC(y),v=Ah(l,c),m=Ch(g),h=0,b=f||lpt,w=e?b(s,m):n||a?b(s,0):void 0;m>h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),t))if(e)w[h]=d;else if(d)switch(t){case 3:return!0;case 5:return p;case 6:return h;case 2:sL(w,p)}else switch(t){case 4:return!1;case 7:sL(w,p)}return i?-1:r||o?o:w}},d5={forEach:mu(0),map:mu(1),filter:mu(2),some:mu(3),every:mu(4),find:mu(5),findIndex:mu(6),filterReject:mu(7)},cpt=d5.find,lL=!0;"find"in[]&&Array(1).find(function(){lL=!1}),xr({target:"Array",proto:!0,forced:lL},{find:function(t){return cpt(this,t,arguments.length>1?arguments[1]:void 0)}}),xh("find");var fpt=n5?{}.toString:function(){return"[object "+Am(this)+"]"};function cL(t,e,n,r){return e===void 0&&(e=""),n===void 0&&(n="auto"),r===void 0&&(r="auto"),{type:"video",src:t,poster:e,width:n,height:r,children:[{text:""}]}}n5||Vr(Object.prototype,"toString",fpt,{unsafe:!0});var fL,p5,dpt={selector:'div[data-w-e-type="video"]',parseElemHtml:function(t,e,n){var r=k(t),o="",i="",a="auto",u="auto",s=r.find("iframe");if(s.length>0)return a=s.attr("width")||"auto",u=s.attr("height")||"auto",cL(o=s[0].outerHTML,i,a,u);var l=r.find("video");return(o=l.attr("src")||"")||l.length>0&&(o=l.find("source").attr("src")||""),a=l.attr("width")||"auto",u=l.attr("height")||"auto",cL(o,i=l.attr("poster")||"",a,u)}},dL=function(){var t=_n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},h5=at.RegExp,g5=Te(function(){var t=h5("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),ppt=g5||Te(function(){return!h5("a","y").sticky}),hpt={BROKEN_CARET:g5||Te(function(){var t=h5("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),MISSED_STICKY:ppt,UNSUPPORTED_Y:g5},gpt=at.RegExp,vpt=Te(function(){var t=gpt(".","s");return!(t.dotAll&&t.exec(`
  138. `)&&t.flags==="s")}),mpt=at.RegExp,ypt=Te(function(){var t=mpt("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),bpt=Ur.get,wpt=qC("native-string-replace",String.prototype.replace),Tm=RegExp.prototype.exec,v5=Tm,Ept=Lt("".charAt),Spt=Lt("".indexOf),Cpt=Lt("".replace),m5=Lt("".slice),y5=(p5=/b*/g,Be(Tm,fL=/a/,"a"),Be(Tm,p5,"a"),fL.lastIndex!==0||p5.lastIndex!==0),pL=hpt.BROKEN_CARET,b5=/()??/.exec("")[1]!==void 0;(y5||b5||pL||vpt||ypt)&&(v5=function(t){var e,n,r,o,i,a,u,s=this,l=bpt(s),c=yo(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=Be(v5,f,c),s.lastIndex=f.lastIndex,e;var p=l.groups,d=pL&&s.sticky,y=Be(dL,s),g=s.source,v=0,m=c;if(d&&(y=Cpt(y,"y",""),Spt(y,"g")===-1&&(y+="g"),m=m5(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&Ept(c,s.lastIndex-1)!==`
  139. `)&&(g="(?: "+g+")",m=" "+m,v++),n=new RegExp("^(?:"+g+")",y)),b5&&(n=new RegExp("^"+g+"$(?!\\s)",y)),y5&&(r=s.lastIndex),o=Be(Tm,d?n:s,m),d?o?(o.input=m5(o.input,v),o[0]=m5(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:y5&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),b5&&o&&o.length>1&&Be(wpt,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&p)for(o.groups=a=u5(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var Pm=v5;xr({target:"RegExp",proto:!0,forced:/./.exec!==Pm},{exec:Pm});var w5=Function.prototype,hL=w5.apply,Dpt=w5.bind,gL=w5.call,vL=typeof Reflect=="object"&&Reflect.apply||(Dpt?gL.bind(hL):function(){return gL.apply(hL,arguments)}),mL=(un("species"),RegExp.prototype),xpt=Lt("".charAt),yL=Lt("".charCodeAt),Apt=Lt("".slice),bL=function(t){return function(e,n){var r,o,i=yo(gh(e)),a=Sm(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=yL(i,a))<55296||r>56319||a+1===u||(o=yL(i,a+1))<56320||o>57343?t?xpt(i,a):r:t?Apt(i,a,a+2):o-56320+(r-55296<<10)+65536}},wL={codeAt:bL(!1),charAt:bL(!0)},Opt=wL.charAt,kpt=function(t,e,n){return e+(n?Opt(t,e).length:1)},Bpt=Math.floor,E5=Lt("".charAt),Fpt=Lt("".replace),S5=Lt("".slice),Tpt=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Ppt=/\$([$&'`]|\d{1,2})/g,jpt=function(t,e,n,r,o,i){var a=n+t.length,u=r.length,s=Ppt;return o!==void 0&&(o=mm(o),s=Tpt),Fpt(i,s,function(l,c){var f;switch(E5(c,0)){case"$":return"$";case"&":return t;case"`":return S5(e,0,n);case"'":return S5(e,a);case"<":f=o[S5(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>u){var d=Bpt(p/10);return d===0?l:d<=u?r[d-1]===void 0?E5(c,1):r[d-1]+E5(c,1):l}f=r[p-1]}return f===void 0?"":f})},_pt=at.TypeError,Ipt=function(t,e){var n=t.exec;if(we(n)){var r=Be(n,t,e);return r!==null&&_n(r),r}if(pi(t)==="RegExp")return Be(Pm,t,e);throw _pt("RegExp#exec called on incompatible receiver")},C5=un("replace"),Npt=Math.max,Lpt=Math.min,Rpt=Lt([].concat),D5=Lt([].push),EL=Lt("".indexOf),SL=Lt("".slice),Mpt="a".replace(/./,"$0")==="$0",CL=!!/./[C5]&&/./[C5]("a","$0")==="";function DL(t){return t===void 0&&(t="r"),t+"-"+v9()}(function(t,e,n,r){var o=un(t),i=!Te(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!Te(function(){var l=!1,c=/a/;return c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=Lt(/./[o]),s=function(l,c,f){var p=CL?"$":"$0";return[function(d,y){var g=gh(this),v=d==null?void 0:yh(d,C5);return v?Be(v,d,g,y):Be(c,yo(g),d,y)},function(d,y){var g=_n(this),v=yo(d);if(typeof y=="string"&&EL(y,p)===-1&&EL(y,"$<")===-1){var m=f(c,g,v,y);if(m.done)return m.value}var h=we(y);h||(y=yo(y));var b=g.global;if(b){var w=g.unicode;g.lastIndex=0}for(var S=[];;){var D=Ipt(g,v);if(D===null||(D5(S,D),!b))break;yo(D[0])===""&&(g.lastIndex=kpt(v,GN(g.lastIndex),w))}for(var C,O="",T=0,L=0;L<S.length;L++){for(var z=yo((D=S[L])[0]),$=Npt(Lpt(Sm(D.index),v.length),0),Y=[],G=1;G<D.length;G++)D5(Y,(C=D[G])===void 0?C:String(C));var K=D.groups;if(h){var Z=Rpt([z],Y,$,v);K!==void 0&&D5(Z,K);var ut=yo(vL(y,void 0,Z))}else ut=jpt(z,v,$,Y,K,y);$>=T&&(O+=SL(v,T,$)+ut,T=$+z.length)}return O+SL(v,T)}]}(0,""[t],function(l,c,f,p,d){var y=Lt(l),g=c.exec;return g===Pm||g===mL.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:y(f,c,p)}:{done:!1}});Vr(String.prototype,t,s[0]),Vr(mL,o,s[1])}})("replace",0,!!Te(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$<a>")!=="7"})||!Mpt||CL);var jm=at.Promise,_m=function(t,e,n){for(var r in e)Vr(t,r,e[r],n);return t},zpt=at.String,$pt=at.TypeError,Zc=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Lt(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(r){}return function(r,o){return _n(r),function(i){if(typeof i=="object"||we(i))return i;throw $pt("Can't set "+zpt(i)+" as a prototype")}(o),e?t(r,o):r.__proto__=o,r}}():void 0),Hpt=qi.f,xL=un("toStringTag"),Im=function(t,e,n){t&&!Sn(t=n?t:t.prototype,xL)&&Hpt(t,xL,{configurable:!0,value:e})},AL=un("species"),Upt=at.TypeError,x5=function(t,e){if(vh(e,t))return t;throw Upt("Incorrect invocation")},Yc={},Vpt=un("iterator"),Wpt=Array.prototype,Gpt=un("iterator"),OL=function(t){if(t!=null)return yh(t,Gpt)||yh(t,"@@iterator")||Yc[Am(t)]},Kpt=at.TypeError,kL=function(t,e,n){var r,o;_n(t);try{if(!(r=yh(t,"return"))){if(e==="throw")throw n;return n}r=Be(r,t)}catch(i){o=!0,r=i}if(e==="throw")throw n;if(o)throw r;return _n(r),n},qpt=at.TypeError,Nm=function(t,e){this.stopped=t,this.result=e},BL=Nm.prototype,Lm=function(t,e,n){var r,o,i,a,u,s,l,c,f=n&&n.that,p=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),y=!(!n||!n.INTERRUPTED),g=Ah(e,f),v=function(h){return r&&kL(r,"normal",h),new Nm(!0,h)},m=function(h){return p?(_n(h),y?g(h[0],h[1],v):g(h[0],h[1])):y?g(h,v):g(h)};if(d)r=t;else{if(!(o=OL(t)))throw qpt(vm(t)+" is not iterable");if((c=o)!==void 0&&(Yc.Array===c||Wpt[Vpt]===c)){for(i=0,a=Ch(t);a>i;i++)if((u=m(t[i]))&&vh(BL,u))return u;return new Nm(!1)}r=function(h,b){var w=arguments.length<2?OL(h):b;if(hu(w))return _n(Be(w,h));throw Kpt(vm(h)+" is not iterable")}(t,o)}for(s=r.next;!(l=Be(s,r)).done;){try{u=m(l.value)}catch(h){kL(r,"throw",h)}if(typeof u=="object"&&u&&vh(BL,u))return u}return new Nm(!1)},FL=un("iterator"),TL=!1;try{var Zpt=0,PL={next:function(){return{done:!!Zpt++}},return:function(){TL=!0}};PL[FL]=function(){return this},Array.from(PL,function(){throw 2})}catch(t){}var kh,Xc,jL,A5,_L=function(t,e){if(!e&&!TL)return!1;var n=!1;try{var r={};r[FL]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(o){}return n},Ypt=at.TypeError,Xpt=un("species"),IL=Lt([].slice),NL=/(?:ipad|iphone|ipod).*applewebkit/i.test(Gc),yu=pi(at.process)=="process",O5=at.setImmediate,k5=at.clearImmediate,Jpt=at.process,B5=at.Dispatch,Qpt=at.Function,LL=at.MessageChannel,tht=at.String,F5=0,Bh={};try{kh=at.location}catch(t){}var T5=function(t){if(Sn(Bh,t)){var e=Bh[t];delete Bh[t],e()}},P5=function(t){return function(){T5(t)}},RL=function(t){T5(t.data)},ML=function(t){at.postMessage(tht(t),kh.protocol+"//"+kh.host)};O5&&k5||(O5=function(t){var e=IL(arguments,1);return Bh[++F5]=function(){vL(we(t)?t:Qpt(t),void 0,e)},Xc(F5),F5},k5=function(t){delete Bh[t]},yu?Xc=function(t){Jpt.nextTick(P5(t))}:B5&&B5.now?Xc=function(t){B5.now(P5(t))}:LL&&!NL?(A5=(jL=new LL).port2,jL.port1.onmessage=RL,Xc=Ah(A5.postMessage,A5)):at.addEventListener&&we(at.postMessage)&&!at.importScripts&&kh&&kh.protocol!=="file:"&&!Te(ML)?(Xc=ML,at.addEventListener("message",RL,!1)):Xc="onreadystatechange"in wh("script")?function(t){i5.appendChild(wh("script")).onreadystatechange=function(){i5.removeChild(this),T5(t)}}:function(t){setTimeout(P5(t),0)});var Fh,Ys,Th,Jc,j5,_5,I5,zL,$L={set:O5,clear:k5},eht=/ipad|iphone|ipod/i.test(Gc)&&at.Pebble!==void 0,nht=/web0s(?!.*chrome)/i.test(Gc),rht=JC.f,N5=$L.set,HL=at.MutationObserver||at.WebKitMutationObserver,UL=at.document,VL=at.process,Rm=at.Promise,WL=rht(at,"queueMicrotask"),GL=WL&&WL.value;GL||(Fh=function(){var t,e;for(yu&&(t=VL.domain)&&t.exit();Ys;){e=Ys.fn,Ys=Ys.next;try{e()}catch(n){throw Ys?Jc():Th=void 0,n}}Th=void 0,t&&t.enter()},NL||yu||nht||!HL||!UL?!eht&&Rm&&Rm.resolve?((I5=Rm.resolve(void 0)).constructor=Rm,zL=Ah(I5.then,I5),Jc=function(){zL(Fh)}):yu?Jc=function(){VL.nextTick(Fh)}:(N5=Ah(N5,at),Jc=function(){N5(Fh)}):(j5=!0,_5=UL.createTextNode(""),new HL(Fh).observe(_5,{characterData:!0}),Jc=function(){_5.data=j5=!j5}));var L5,KL,qL,ZL,YL=GL||function(t){var e={fn:t,next:void 0};Th&&(Th.next=e),Ys||(Ys=e,Jc()),Th=e},oht=function(t){var e,n;this.promise=new t(function(r,o){if(e!==void 0||n!==void 0)throw TypeError("Bad Promise constructor");e=r,n=o}),this.resolve=hu(e),this.reject=hu(n)},R5={f:function(t){return new oht(t)}},M5=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}},iht=typeof window=="object",XL=$L.set,aht=un("species"),Zi="Promise",JL=Ur.getterFor(Zi),uht=Ur.set,sht=Ur.getterFor(Zi),Xs=jm&&jm.prototype,hi=jm,Ph=Xs,QL=at.TypeError,z5=at.document,$5=at.process,Qc=R5.f,lht=Qc,cht=!!(z5&&z5.createEvent&&at.dispatchEvent),tR=we(at.PromiseRejectionEvent),eR=!1,jh=xm(Zi,function(){var t=wm(hi),e=t!==String(hi);if(!e&&mh===66)return!0;if(mh>=51&&/native code/.test(t))return!1;var n=new hi(function(o){o(1)}),r=function(o){o(function(){},function(){})};return(n.constructor={})[aht]=r,!(eR=n.then(function(){})instanceof r)||!e&&iht&&!tR}),fht=jh||!_L(function(t){hi.all(t).catch(function(){})}),nR=function(t){var e;return!(!_e(t)||!we(e=t.then))&&e},H5=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;YL(function(){for(var r=t.value,o=t.state==1,i=0;n.length>i;){var a,u,s,l=n[i++],c=o?l.ok:l.fail,f=l.resolve,p=l.reject,d=l.domain;try{c?(o||(t.rejection===2&&pht(t),t.rejection=1),c===!0?a=r:(d&&d.enter(),a=c(r),d&&(d.exit(),s=!0)),a===l.promise?p(QL("Promise-chain cycle")):(u=nR(a))?Be(u,a,f,p):f(a)):p(r)}catch(y){d&&!s&&d.exit(),p(y)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&dht(t)})}},rR=function(t,e,n){var r,o;cht?((r=z5.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),at.dispatchEvent(r)):r={promise:e,reason:n},!tR&&(o=at["on"+t])?o(r):t==="unhandledrejection"&&function(i,a){var u=at.console;u&&u.error&&(arguments.length==1?u.error(i):u.error(i,a))}("Unhandled promise rejection",n)},dht=function(t){Be(XL,at,function(){var e,n=t.facade,r=t.value;if(oR(t)&&(e=M5(function(){yu?$5.emit("unhandledRejection",r,n):rR("unhandledrejection",n,r)}),t.rejection=yu||oR(t)?2:1,e.error))throw e.value})},oR=function(t){return t.rejection!==1&&!t.parent},pht=function(t){Be(XL,at,function(){var e=t.facade;yu?$5.emit("rejectionHandled",e):rR("rejectionhandled",e,t.value)})},tf=function(t,e,n){return function(r){t(e,r,n)}},ef=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,H5(t,!0))},U5=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw QL("Promise can't be resolved itself");var r=nR(e);r?YL(function(){var o={done:!1};try{Be(r,e,tf(U5,o,t),tf(ef,o,t))}catch(i){ef(o,i,t)}}):(t.value=e,t.state=1,H5(t,!1))}catch(o){ef({done:!1},o,t)}}};if(jh&&(Ph=(hi=function(t){x5(this,Ph),hu(t),Be(L5,this);var e=JL(this);try{t(tf(U5,e),tf(ef,e))}catch(n){ef(e,n)}}).prototype,(L5=function(t){uht(this,{type:Zi,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=_m(Ph,{then:function(t,e){var n=sht(this),r=n.reactions,o=Qc(function(i,a){var u,s=_n(i).constructor;return s===void 0||(u=_n(s)[Xpt])==null?a:function(l){if(f5(l))return l;throw Ypt(vm(l)+" is not a constructor")}(u)}(this,hi));return o.ok=!we(t)||t,o.fail=we(e)&&e,o.domain=yu?$5.domain:void 0,n.parent=!0,r[r.length]=o,n.state!=0&&H5(n,!1),o.promise},catch:function(t){return this.then(void 0,t)}}),KL=function(){var t=new L5,e=JL(t);this.promise=t,this.resolve=tf(U5,e),this.reject=tf(ef,e)},R5.f=Qc=function(t){return t===hi||t===qL?new KL(t):lht(t)},we(jm)&&Xs!==Object.prototype)){ZL=Xs.then,eR||(Vr(Xs,"then",function(t,e){var n=this;return new hi(function(r,o){Be(ZL,n,r,o)}).then(t,e)},{unsafe:!0}),Vr(Xs,"catch",Ph.catch,{unsafe:!0}));try{delete Xs.constructor}catch(t){}Zc&&Zc(Xs,Ph)}function _h(t,e,n){return n===void 0&&(n=""),fm(this,void 0,void 0,function(){var r,o,i,a,u,s,l;return dm(this,function(c){switch(c.label){case 0:return e?(t.restoreSelection(),r=t.getMenuConfig("insertVideo"),o=r.onInsertedVideo,i=r.checkVideo,a=r.parseVideoSrc,[4,i(e,n)]):[2];case 1:return typeof(u=c.sent())=="string"?(t.alert(u,"error"),[2]):u==null?[2]:[4,a(e)];case 2:return(s=c.sent()).trim().indexOf("<iframe ")!==0&&(s=s.replace(/</g,"&lt;").replace(/>/g,"&gt;")),l={type:"video",src:s,poster:n,children:[{text:""}]},Promise.resolve().then(function(){I.insertNodes(t,l)}),o(l),[2]}})})}function V5(){return DL("w-e-insert-video")}xr({global:!0,wrap:!0,forced:jh},{Promise:hi}),Im(hi,Zi,!1),function(t){var e=Ks("Promise"),n=qi.f;di&&e&&!e[AL]&&n(e,AL,{configurable:!0,get:function(){return this}})}(),qL=Ks(Zi),xr({target:Zi,stat:!0,forced:jh},{reject:function(t){var e=Qc(this);return Be(e.reject,void 0,t),e.promise}}),xr({target:Zi,stat:!0,forced:jh},{resolve:function(t){return function(e,n){if(_n(e),_e(n)&&n.constructor===e)return n;var r=R5.f(e);return(0,r.resolve)(n),r.promise}(this,t)}}),xr({target:Zi,stat:!0,forced:fht},{all:function(t){var e=this,n=Qc(e),r=n.resolve,o=n.reject,i=M5(function(){var a=hu(e.resolve),u=[],s=0,l=1;Lm(t,function(c){var f=s++,p=!1;l++,Be(a,e,c).then(function(d){p||(p=!0,u[f]=d,--l||r(u))},o)}),--l||r(u)});return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=Qc(e),r=n.reject,o=M5(function(){var i=hu(e.resolve);Lm(t,function(a){Be(i,e,a).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var hht=function(){function t(){this.title=nt("videoModule.insertVideo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.srcInputId=V5(),this.posterInputId=V5(),this.buttonId=V5()}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.exec=function(e,n){},t.prototype.isDisabled=function(e){var n=e.selection;return n==null||!M.isCollapsed(n)||!!A.getSelectedElems(e).some(function(r){var o=A.getNodeType(r);return o==="pre"||o==="list-item"||!!e.isVoid(r)})},t.prototype.getModalPositionNode=function(e){return null},t.prototype.getModalContentElem=function(e){var n=this,r=this,o=r.srcInputId,i=r.posterInputId,a=r.buttonId,u=Gs(Lr(nt("videoModule.videoSrc"),o,nt("videoModule.videoSrcPlaceHolder")),2),s=u[0],l=u[1],c=Gs(Lr(nt("videoModule.videoPoster"),i,nt("videoModule.videoPosterPlaceHolder")),2),f=c[0],p=c[1],d=k(l),y=k(p),g=Gs(vc(a,nt("videoModule.ok")),1)[0];if(this.$content==null){var v=k("<div></div>");v.on("click","#"+a,function(h){return fm(n,void 0,void 0,function(){var b,w;return dm(this,function(S){switch(S.label){case 0:return h.preventDefault(),b=v.find("#"+o).val().trim(),w=v.find("#"+i).val().trim(),[4,_h(e,b,w)];case 1:return S.sent(),e.hidePanelOrModal(),[2]}})})}),this.$content=v}var m=this.$content;return m.empty(),m.append(s),m.append(f),m.append(g),d.val(""),y.val(""),setTimeout(function(){d.focus()}),m[0]},t}(),ght=Lt([].join),vht=UC!=Object,mht=function(t,e){var n=[].join;return!!n&&Te(function(){n.call(null,",",1)})}();xr({target:"Array",proto:!0,forced:vht||!mht},{join:function(t){return ght(pu(this),t===void 0?",":t)}});var Js,iR,aR,yht=!Te(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),uR=QC("IE_PROTO"),W5=at.Object,bht=W5.prototype,Mm=yht?W5.getPrototypeOf:function(t){var e=mm(t);if(Sn(e,uR))return e[uR];var n=e.constructor;return we(n)&&e instanceof n?n.prototype:e instanceof W5?bht:null},G5=un("iterator"),sR=!1;[].keys&&("next"in(aR=[].keys())?(iR=Mm(Mm(aR)))!==Object.prototype&&(Js=iR):sR=!0);var wht=Js==null||Te(function(){var t={};return Js[G5].call(t)!==t});wht&&(Js={}),we(Js[G5])||Vr(Js,G5,function(){return this});var K5={IteratorPrototype:Js,BUGGY_SAFARI_ITERATORS:sR},Eht=K5.IteratorPrototype,Sht=function(){return this},Cht=qc.PROPER,Dht=qc.CONFIGURABLE,lR=K5.IteratorPrototype,zm=K5.BUGGY_SAFARI_ITERATORS,Ih=un("iterator"),xht=function(){return this},cR=function(t,e,n,r,o,i,a){(function(m,h,b,w){var S=h+" Iterator";m.prototype=u5(Eht,{next:gm(1,b)}),Im(m,S,!1),Yc[S]=Sht})(n,e,r);var u,s,l,c=function(m){if(m===o&&g)return g;if(!zm&&m in d)return d[m];switch(m){case"keys":case"values":case"entries":return function(){return new n(this,m)}}return function(){return new n(this)}},f=e+" Iterator",p=!1,d=t.prototype,y=d[Ih]||d["@@iterator"]||o&&d[o],g=!zm&&y||c(o),v=e=="Array"&&d.entries||y;if(v&&(u=Mm(v.call(new t)))!==Object.prototype&&u.next&&(Mm(u)!==lR&&(Zc?Zc(u,lR):we(u[Ih])||Vr(u,Ih,xht)),Im(u,f,!0)),Cht&&o=="values"&&y&&y.name!=="values"&&(Dht?vu(d,"name","values"):(p=!0,g=function(){return Be(y,this)})),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(zm||p||!(l in d))&&Vr(d,l,s[l]);else xr({target:e,proto:!0,forced:zm||p},s);return d[Ih]!==g&&Vr(d,Ih,g,{name:o}),Yc[e]=g,s},Aht=Ur.set,Oht=Ur.getterFor("Array Iterator"),Nh=cR(Array,"Array",function(t,e){Aht(this,{type:"Array Iterator",target:pu(t),index:0,kind:e})},function(){var t=Oht(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values");Yc.Arguments=Yc.Array,xh("keys"),xh("values"),xh("entries");var kht=wL.charAt,Bht=Ur.set,Fht=Ur.getterFor("String Iterator");cR(String,"String",function(t){Bht(this,{type:"String Iterator",string:yo(t),index:0})},function(){var t,e=Fht(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=kht(n,r),e.index+=t.length,{value:t,done:!1})});var fR=function(t,e,n){var r=YC(e);r in t?qi.f(t,r,gm(0,n)):t[r]=n},Tht=at.Array,Pht=Math.max,dR=Dm.f,pR=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],jht={f:function(t){return pR&&pi(t)=="Window"?function(e){try{return dR(e)}catch(n){return function(r,o,i){for(var a=Ch(r),u=Sh(void 0,a),s=Sh(a,a),l=Tht(Pht(s-u,0)),c=0;u<s;u++,c++)fR(l,c,r[u]);return l.length=c,l}(pR)}}(t):dR(pu(t))}},hR=Te(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),$m=Object.isExtensible,Qs=Te(function(){$m(1)})||hR?function(t){return!!_e(t)&&(!hR||pi(t)!="ArrayBuffer")&&(!$m||$m(t))}:$m,_ht=!Te(function(){return Object.isExtensible(Object.preventExtensions({}))}),q5=MC(function(t){var e=qi.f,n=!1,r=ZC("meta"),o=0,i=function(u){e(u,r,{value:{objectID:"O"+o++,weakData:{}}})},a=t.exports={enable:function(){a.enable=function(){},n=!0;var u=Dm.f,s=Lt([].splice),l={};l[r]=1,u(l).length&&(Dm.f=function(c){for(var f=u(c),p=0,d=f.length;p<d;p++)if(f[p]===r){s(f,p,1);break}return f},xr({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:jht.f}))},fastKey:function(u,s){if(!_e(u))return typeof u=="symbol"?u:(typeof u=="string"?"S":"P")+u;if(!Sn(u,r)){if(!Qs(u))return"F";if(!s)return"E";i(u)}return u[r].objectID},getWeakData:function(u,s){if(!Sn(u,r)){if(!Qs(u))return!0;if(!s)return!1;i(u)}return u[r].weakData},onFreeze:function(u){return _ht&&n&&Qs(u)&&!Sn(u,r)&&i(u),u}};Em[r]=!0}),Hm=q5.getWeakData,Iht=Ur.set,Nht=Ur.getterFor,Lht=d5.find,Rht=d5.findIndex,Mht=Lt([].splice),zht=0,Um=function(t){return t.frozen||(t.frozen=new gR)},gR=function(){this.entries=[]},Z5=function(t,e){return Lht(t.entries,function(n){return n[0]===e})};gR.prototype={get:function(t){var e=Z5(this,t);if(e)return e[1]},has:function(t){return!!Z5(this,t)},set:function(t,e){var n=Z5(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=Rht(this.entries,function(n){return n[0]===t});return~e&&Mht(this.entries,e,1),!!~e}};var Lh,vR={getConstructor:function(t,e,n,r){var o=t(function(s,l){x5(s,i),Iht(s,{type:e,id:zht++,frozen:void 0}),l!=null&&Lm(l,s[r],{that:s,AS_ENTRIES:n})}),i=o.prototype,a=Nht(e),u=function(s,l,c){var f=a(s),p=Hm(_n(l),!0);return p===!0?Um(f).set(l,c):p[f.id]=c,s};return _m(i,{delete:function(s){var l=a(this);if(!_e(s))return!1;var c=Hm(s);return c===!0?Um(l).delete(s):c&&Sn(c,l.id)&&delete c[l.id]},has:function(s){var l=a(this);if(!_e(s))return!1;var c=Hm(s);return c===!0?Um(l).has(s):c&&Sn(c,l.id)}}),_m(i,n?{get:function(s){var l=a(this);if(_e(s)){var c=Hm(s);return c===!0?Um(l).get(s):c?c[l.id]:void 0}},set:function(s,l){return u(this,s,l)}}:{add:function(s){return u(this,s,!0)}}),o}},Vm=Ur.enforce,$ht=!at.ActiveXObject&&"ActiveXObject"in at,mR=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Hht=function(t,e,n){var r=t.indexOf("Map")!==-1,o=t.indexOf("Weak")!==-1,i=r?"set":"add",a=at[t],u=a&&a.prototype,s=a,l={},c=function(v){var m=Lt(u[v]);Vr(u,v,v=="add"?function(h){return m(this,h===0?0:h),this}:v=="delete"?function(h){return!(o&&!_e(h))&&m(this,h===0?0:h)}:v=="get"?function(h){return o&&!_e(h)?void 0:m(this,h===0?0:h)}:v=="has"?function(h){return!(o&&!_e(h))&&m(this,h===0?0:h)}:function(h,b){return m(this,h===0?0:h,b),this})};if(xm(t,!we(a)||!(o||u.forEach&&!Te(function(){new a().entries().next()}))))s=n.getConstructor(e,t,r,i),q5.enable();else if(xm(t,!0)){var f=new s,p=f[i](o?{}:-0,1)!=f,d=Te(function(){f.has(1)}),y=_L(function(v){new a(v)}),g=!o&&Te(function(){for(var v=new a,m=5;m--;)v[i](m,m);return!v.has(-0)});y||((s=e(function(v,m){x5(v,u);var h=function(b,w,S){var D,C;return Zc&&we(D=w.constructor)&&D!==S&&_e(C=D.prototype)&&C!==S.prototype&&Zc(b,C),b}(new a,v,s);return m!=null&&Lm(m,h[i],{that:h,AS_ENTRIES:r}),h})).prototype=u,u.constructor=s),(d||g)&&(c("delete"),c("has"),r&&c("get")),(g||p)&&c(i),o&&u.clear&&delete u.clear}return l[t]=s,xr({global:!0,forced:s!=a},l),Im(s,t),o||n.setStrong(s,t,r),s}("WeakMap",mR,vR);if(HN&&$ht){Lh=vR.getConstructor(mR,"WeakMap",!0),q5.enable();var Rh=Hht.prototype,yR=Lt(Rh.delete),Wm=Lt(Rh.has),bR=Lt(Rh.get),wR=Lt(Rh.set);_m(Rh,{delete:function(t){if(_e(t)&&!Qs(t)){var e=Vm(this);return e.frozen||(e.frozen=new Lh),yR(this,t)||e.frozen.delete(t)}return yR(this,t)},has:function(t){if(_e(t)&&!Qs(t)){var e=Vm(this);return e.frozen||(e.frozen=new Lh),Wm(this,t)||e.frozen.has(t)}return Wm(this,t)},get:function(t){if(_e(t)&&!Qs(t)){var e=Vm(this);return e.frozen||(e.frozen=new Lh),Wm(this,t)?bR(this,t):e.frozen.get(t)}return bR(this,t)},set:function(t,e){if(_e(t)&&!Qs(t)){var n=Vm(this);n.frozen||(n.frozen=new Lh),Wm(this,t)?wR(this,t,e):n.frozen.set(t,e)}else wR(this,t,e);return this}})}var ER={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Y5=wh("span").classList,SR=Y5&&Y5.constructor&&Y5.constructor.prototype,Uht=SR===Object.prototype?void 0:SR,X5=un("iterator"),CR=un("toStringTag"),J5=Nh.values,DR=function(t,e){if(t){if(t[X5]!==J5)try{vu(t,X5,J5)}catch(r){t[X5]=J5}if(t[CR]||vu(t,CR,e),ER[e]){for(var n in Nh)if(t[n]!==Nh[n])try{vu(t,n,Nh[n])}catch(r){t[n]=Nh[n]}}}};for(var Q5 in ER)DR(at[Q5]&&at[Q5].prototype,Q5);DR(Uht,"DOMTokenList");var Vht=qc.EXISTS,Wht=qi.f,xR=Function.prototype,Ght=Lt(xR.toString),AR=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Kht=Lt(AR.exec);di&&!Vht&&Wht(xR,"name",{configurable:!0,get:function(){try{return Kht(AR,Ght(this))[1]}catch(t){return""}}});var qht=un("species"),Zht=mh>=51||!Te(function(){var t=[];return(t.constructor={})[qht]=function(){return{foo:1}},t.slice(Boolean).foo!==1}),Yht=un("species"),tD=at.Array,Xht=Math.max;function OR(t){return t.getMenuConfig("uploadVideo")}xr({target:"Array",proto:!0,forced:!Zht},{slice:function(t,e){var n,r,o,i=pu(this),a=Ch(i),u=Sh(t,a),s=Sh(e===void 0?a:e,a);if(Fm(i)&&(n=i.constructor,(f5(n)&&(n===tD||Fm(n.prototype))||_e(n)&&(n=n[Yht])===null)&&(n=void 0),n===tD||n===void 0))return IL(i,u,s);for(r=new(n===void 0?tD:n)(Xht(s-u,0)),o=0;u<s;u++,o++)u in i&&fR(r,o,i[u]);return r.length=o,r}});var kR=new WeakMap;function Jht(t,e){return fm(this,void 0,void 0,function(){var n,r,o,i;return dm(this,function(a){switch(a.label){case 0:return n=function(u){var s=kR.get(u);if(s!=null)return s;var l=OR(u),c=l.onSuccess,f=l.onProgress,p=l.onFailed,d=l.customInsert,y=l.onError;return s=BF(cm(cm({},l),{onProgress:function(g){u.showProgressBar(g),f&&f(g)},onSuccess:function(g,v){if(d)return d(v,function(O,T){return _h(u,O,T)}),void c(g,v);var m=v.errno,h=m===void 0?1:m,b=v.data,w=b===void 0?{}:b;if(h===0){var S=w.url,D=S===void 0?"":S,C=w.poster;_h(u,D,C===void 0?"":C),c(g,v)}else p(g,v)},onError:function(g,v,m){y(g,v,m)}})),kR.set(u,s),s}(t),r=e.name,o=e.type,i=e.size,n.addFile({name:r,type:o,size:i,data:e}),[4,n.upload()];case 1:return a.sent(),[2]}})})}var Qht=function(){function t(){this.title=nt("videoModule.uploadVideo"),this.iconSvg='<svg viewBox="0 0 1056 1024"><path d="M805.902261 521.819882a251.441452 251.441452 0 0 0-251.011972 246.600033 251.051015 251.051015 0 1 0 502.023944 8.823877 253.237463 253.237463 0 0 0-251.011972-255.42391z m59.463561 240.001647v129.898403h-116.701631v-129.898403h-44.041298l101.279368-103.504859 101.279368 103.504859z" p-id="6802"></path><path d="M788.254507 0.000781H99.094092A98.663439 98.663439 0 0 0 0.001171 99.093701v590.067495a98.663439 98.663439 0 0 0 99.092921 99.092921h411.7549a266.434235 266.434235 0 0 1-2.186448-41.815807 275.843767 275.843767 0 0 1 275.180024-270.729042 270.650955 270.650955 0 0 1 103.504859 19.834201V99.093701A101.51363 101.51363 0 0 0 788.254507 0.000781zM295.054441 640.747004V147.507894l394.146189 246.600033z"></path></svg>',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.exec=function(e,n){var r=this.getMenuConfig(e),o=r.allowedFileTypes,i=o===void 0?[]:o,a=r.customBrowseAndUpload;if(a)a(function(c,f){return _h(e,c,f)});else{var u="";i.length>0&&(u='accept="'+i.join(", ")+'"');var s=k("body"),l=k('<input type="file" '+u+" multiple/>");l.hide(),s.append(l),l.click(),l.on("change",function(){var c=l[0].files;(function(f,p){var d,y;fm(this,void 0,void 0,function(){var g,v,m,h,b,w;return dm(this,function(S){switch(S.label){case 0:if(p==null)return[2];g=Array.prototype.slice.call(p),v=OR(f).customUpload,S.label=1;case 1:S.trys.push([1,9,10,15]),m=Xft(g),S.label=2;case 2:return[4,m.next()];case 3:return(h=S.sent()).done?[3,8]:(b=h.value,v?[4,v(b,function(D,C){return _h(f,D,C)})]:[3,5]);case 4:return S.sent(),[3,7];case 5:return[4,Jht(f,b)];case 6:S.sent(),S.label=7;case 7:return[3,2];case 8:return[3,15];case 9:return w=S.sent(),d={error:w},[3,15];case 10:return S.trys.push([10,,13,14]),h&&!h.done&&(y=m.return)?[4,y.call(m)]:[3,12];case 11:S.sent(),S.label=12;case 12:return[3,14];case 13:if(d)throw d.error;return[7];case 14:return[7];case 15:return[2]}})})})(e,c)})}},t.prototype.isDisabled=function(e){var n=e.selection;return n==null||!M.isCollapsed(n)||!!A.getSelectedElems(e).some(function(r){var o=A.getNodeType(r);return o==="pre"||o==="list-item"||!!e.isVoid(r)})},t.prototype.getMenuConfig=function(e){return e.getMenuConfig("uploadVideo")},t}(),t0t=qc.PROPER,eD=RegExp.prototype,BR=eD.toString,e0t=Lt(dL),n0t=Te(function(){return BR.call({source:"a",flags:"b"})!="/a/b"}),r0t=t0t&&BR.name!="toString";function nD(){return DL("w-e-insert-video")}(n0t||r0t)&&Vr(RegExp.prototype,"toString",function(){var t=_n(this),e=yo(t.source),n=t.flags;return"/"+e+"/"+yo(n===void 0&&vh(eD,t)&&!("flags"in eD)?e0t(t):n)},{unsafe:!0});var o0t=function(){function t(){this.title=nt("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=nD(),this.heightInputId=nD(),this.buttonId=nD()}return t.prototype.getSelectedVideoNode=function(e){return A.getSelectedNodeByType(e,"video")},t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.exec=function(e,n){},t.prototype.isDisabled=function(e){return e.selection==null||this.getSelectedVideoNode(e)==null},t.prototype.getModalPositionNode=function(e){return this.getSelectedVideoNode(e)},t.prototype.getModalContentElem=function(e){var n=this,r=n.widthInputId,o=n.heightInputId,i=n.buttonId,a=Gs(Lr(nt("videoModule.width"),r,"auto"),2),u=a[0],s=k(a[1]),l=Gs(Lr(nt("videoModule.height"),o,"auto"),2),c=l[0],f=k(l[1]),p=Gs(vc(i,nt("videoModule.ok")),1)[0];if(this.$content==null){var d=k("<div></div>");d.on("click","#"+i,function(w){w.preventDefault();var S=d.find("#"+r).val().trim(),D=d.find("#"+o).val().trim(),C=parseInt(S),O=parseInt(D),T=C?C.toString():"auto",L=O?O.toString():"auto";e.restoreSelection(),I.setNodes(e,{width:T,height:L},{match:function(z){return A.checkNodeType(z,"video")}}),e.hidePanelOrModal()}),this.$content=d}var y=this.$content;y.empty(),y.append(u),y.append(c),y.append(p);var g=this.getSelectedVideoNode(e);if(g==null)return y[0];var v=g.width,m=v===void 0?"auto":v,h=g.height,b=h===void 0?"auto":h;return s.val(m),f.val(b),setTimeout(function(){s.focus()}),y[0]},t}(),i0t={renderElems:[Qdt],elemsToHtml:[tpt],preParseHtml:[opt],parseElemsHtml:[dpt],menus:[{key:"insertVideo",factory:function(){return new hht},config:{onInsertedVideo:function(t){},checkVideo:function(t,e){return!0},parseVideoSrc:function(t){return t}}},{key:"uploadVideo",factory:function(){return new Qht},config:{server:"",fieldName:"wangeditor-uploaded-video",maxFileSize:10485760,maxNumberOfFiles:5,allowedFileTypes:["video/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:3e4,onBeforeUpload:function(t){return t},onProgress:function(t){},onSuccess:function(t,e){},onFailed:function(t,e){console.error("'"+t.name+"' upload failed",e)},onError:function(t,e,n){console.error("'"+t.name+" upload error",e,n)}}},{key:"editVideoSize",factory:function(){return new o0t}}],editorPlugin:function(t){var e=t.isVoid,n=t.normalizeNode,r=t;return r.isVoid=function(o){return o.type==="video"||e(o)},r.normalizeNode=function(o){var i=Gs(o,2),a=i[0],u=i[1];return A.getNodeType(a)==="video"&&A.isLastNode(r,a)&&I.insertNodes(r,A.genEmptyParagraph(),{at:[u[0]+1]}),n([a,u])},r}};Er("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),Er("zh-CN",{uploadImgModule:{uploadImage:"\u4E0A\u4F20\u56FE\u7247",uploadError:"{{fileName}} \u4E0A\u4F20\u51FA\u9519"}});var FR=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof ot.g!="undefined"?ot.g:typeof self!="undefined"?self:{};function rD(t){var e={exports:{}};return t(e,e.exports),e.exports}var bu,Gm,Km=function(t){return t&&t.Math==Math&&t},it=Km(typeof globalThis=="object"&&globalThis)||Km(typeof window=="object"&&window)||Km(typeof self=="object"&&self)||Km(typeof FR=="object"&&FR)||function(){return this}()||Function("return this")(),Ie=function(t){try{return!!t()}catch(e){return!0}},gi=!Ie(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Mh=Function.prototype.call,me=Mh.bind?Mh.bind(Mh):function(){return Mh.apply(Mh,arguments)},TR={}.propertyIsEnumerable,PR=Object.getOwnPropertyDescriptor,a0t={f:PR&&!TR.call({1:2},1)?function(t){var e=PR(this,t);return!!e&&e.enumerable}:TR},qm=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},jR=Function.prototype,oD=jR.bind,iD=jR.call,u0t=oD&&oD.bind(iD),qt=oD?function(t){return t&&u0t(iD,t)}:function(t){return t&&function(){return iD.apply(t,arguments)}},s0t=qt({}.toString),l0t=qt("".slice),Ro=function(t){return l0t(s0t(t),8,-1)},aD=it.Object,c0t=qt("".split),uD=Ie(function(){return!aD("z").propertyIsEnumerable(0)})?function(t){return Ro(t)=="String"?c0t(t,""):aD(t)}:aD,f0t=it.TypeError,zh=function(t){if(t==null)throw f0t("Can't call method on "+t);return t},wu=function(t){return uD(zh(t))},xe=function(t){return typeof t=="function"},Pe=function(t){return typeof t=="object"?t!==null:xe(t)},d0t=function(t){return xe(t)?t:void 0},tl=function(t,e){return arguments.length<2?d0t(it[t]):it[t]&&it[t][e]},$h=qt({}.isPrototypeOf),nf=tl("navigator","userAgent")||"",_R=it.process,IR=it.Deno,NR=_R&&_R.versions||IR&&IR.version,LR=NR&&NR.v8;LR&&(Gm=(bu=LR.split("."))[0]>0&&bu[0]<4?1:+(bu[0]+bu[1])),!Gm&&nf&&(!(bu=nf.match(/Edge\/(\d+)/))||bu[1]>=74)&&(bu=nf.match(/Chrome\/(\d+)/))&&(Gm=+bu[1]);var Hh=Gm,sD=!!Object.getOwnPropertySymbols&&!Ie(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Hh&&Hh<41}),lD=sD&&!Symbol.sham&&typeof Symbol.iterator=="symbol",p0t=it.Object,cD=lD?function(t){return typeof t=="symbol"}:function(t){var e=tl("Symbol");return xe(e)&&$h(e.prototype,p0t(t))},h0t=it.String,Zm=function(t){try{return h0t(t)}catch(e){return"Object"}},g0t=it.TypeError,Eu=function(t){if(xe(t))return t;throw g0t(Zm(t)+" is not a function")},Uh=function(t,e){var n=t[e];return n==null?void 0:Eu(n)},v0t=it.TypeError,m0t=Object.defineProperty,fD=function(t,e){try{m0t(it,t,{value:e,configurable:!0,writable:!0})}catch(n){it[t]=e}return e},Su=it["__core-js_shared__"]||fD("__core-js_shared__",{}),dD=rD(function(t){(t.exports=function(e,n){return Su[e]||(Su[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),y0t=it.Object,pD=function(t){return y0t(zh(t))},b0t=qt({}.hasOwnProperty),Cn=Object.hasOwn||function(t,e){return b0t(pD(t),e)},w0t=0,E0t=Math.random(),S0t=qt(1 .toString),hD=function(t){return"Symbol("+(t===void 0?"":t)+")_"+S0t(++w0t+E0t,36)},Vh=dD("wks"),el=it.Symbol,RR=el&&el.for,C0t=lD?el:el&&el.withoutSetter||hD,sn=function(t){if(!Cn(Vh,t)||!sD&&typeof Vh[t]!="string"){var e="Symbol."+t;sD&&Cn(el,t)?Vh[t]=el[t]:Vh[t]=lD&&RR?RR(e):C0t(e)}return Vh[t]},D0t=it.TypeError,x0t=sn("toPrimitive"),gD=function(t){var e=function(n,r){if(!Pe(n)||cD(n))return n;var o,i=Uh(n,x0t);if(i){if(r===void 0&&(r="default"),o=me(i,n,r),!Pe(o)||cD(o))return o;throw D0t("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&xe(s=a.toString)&&!Pe(l=me(s,a))||xe(s=a.valueOf)&&!Pe(l=me(s,a))||u!=="string"&&xe(s=a.toString)&&!Pe(l=me(s,a)))return l;throw v0t("Can't convert object to primitive value")}(n,r)}(t,"string");return cD(e)?e:e+""},vD=it.document,A0t=Pe(vD)&&Pe(vD.createElement),Wh=function(t){return A0t?vD.createElement(t):{}},MR=!gi&&!Ie(function(){return Object.defineProperty(Wh("div"),"a",{get:function(){return 7}}).a!=7}),zR=Object.getOwnPropertyDescriptor,mD={f:gi?zR:function(t,e){if(t=wu(t),e=gD(e),MR)try{return zR(t,e)}catch(n){}if(Cn(t,e))return qm(!me(a0t.f,t,e),t[e])}},O0t=it.String,k0t=it.TypeError,In=function(t){if(Pe(t))return t;throw k0t(O0t(t)+" is not an object")},B0t=it.TypeError,$R=Object.defineProperty,Yi={f:gi?$R:function(t,e,n){if(In(t),e=gD(e),In(n),MR)try{return $R(t,e,n)}catch(r){}if("get"in n||"set"in n)throw B0t("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},vi=gi?function(t,e,n){return Yi.f(t,e,qm(1,n))}:function(t,e,n){return t[e]=n,t},F0t=qt(Function.toString);xe(Su.inspectSource)||(Su.inspectSource=function(t){return F0t(t)});var Ym,Gh,Xm,Jm=Su.inspectSource,HR=it.WeakMap,UR=xe(HR)&&/native code/.test(Jm(HR)),VR=dD("keys"),yD=function(t){return VR[t]||(VR[t]=hD(t))},Qm={},bD=it.TypeError,T0t=it.WeakMap;if(UR||Su.state){var nl=Su.state||(Su.state=new T0t),P0t=qt(nl.get),WR=qt(nl.has),j0t=qt(nl.set);Ym=function(t,e){if(WR(nl,t))throw new bD("Object already initialized");return e.facade=t,j0t(nl,t,e),e},Gh=function(t){return P0t(nl,t)||{}},Xm=function(t){return WR(nl,t)}}else{var rf=yD("state");Qm[rf]=!0,Ym=function(t,e){if(Cn(t,rf))throw new bD("Object already initialized");return e.facade=t,vi(t,rf,e),e},Gh=function(t){return Cn(t,rf)?t[rf]:{}},Xm=function(t){return Cn(t,rf)}}var Wr={set:Ym,get:Gh,has:Xm,enforce:function(t){return Xm(t)?Gh(t):Ym(t,{})},getterFor:function(t){return function(e){var n;if(!Pe(e)||(n=Gh(e)).type!==t)throw bD("Incompatible receiver, "+t+" required");return n}}},GR=Function.prototype,_0t=gi&&Object.getOwnPropertyDescriptor,wD=Cn(GR,"name"),Kh={EXISTS:wD,PROPER:wD&&function(){}.name==="something",CONFIGURABLE:wD&&(!gi||gi&&_0t(GR,"name").configurable)},Gr=rD(function(t){var e=Kh.CONFIGURABLE,n=Wr.get,r=Wr.enforce,o=String(String).split("String");(t.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet,d=s&&s.name!==void 0?s.name:a;xe(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Cn(u,"name")||e&&u.name!==d)&&vi(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==it?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:vi(i,a,u)):f?i[a]=u:fD(a,u)})(Function.prototype,"toString",function(){return xe(this)&&n(this).source||Jm(this)})}),I0t=Math.ceil,N0t=Math.floor,ED=function(t){var e=+t;return e!=e||e===0?0:(e>0?N0t:I0t)(e)},L0t=Math.max,R0t=Math.min,qh=function(t,e){var n=ED(t);return n<0?L0t(n+e,0):R0t(n,e)},M0t=Math.min,KR=function(t){return t>0?M0t(ED(t),9007199254740991):0},Zh=function(t){return KR(t.length)},qR=function(t){return function(e,n,r){var o,i=wu(e),a=Zh(i),u=qh(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},z0t=(qR(!0),qR(!1)),ZR=qt([].push),YR=function(t,e){var n,r=wu(t),o=0,i=[];for(n in r)!Cn(Qm,n)&&Cn(r,n)&&ZR(i,n);for(;e.length>o;)Cn(r,n=e[o++])&&(~z0t(i,n)||ZR(i,n));return i},ty=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],$0t=ty.concat("length","prototype"),ey={f:Object.getOwnPropertyNames||function(t){return YR(t,$0t)}},H0t={f:Object.getOwnPropertySymbols},U0t=qt([].concat),V0t=tl("Reflect","ownKeys")||function(t){var e=ey.f(In(t)),n=H0t.f;return n?U0t(e,n(t)):e},W0t=function(t,e){for(var n=V0t(e),r=Yi.f,o=mD.f,i=0;i<n.length;i++){var a=n[i];Cn(t,a)||r(t,a,o(e,a))}},G0t=/#|\.prototype\./,Yh=function(t,e){var n=q0t[K0t(t)];return n==Y0t||n!=Z0t&&(xe(e)?Ie(e):!!e)},K0t=Yh.normalize=function(t){return String(t).replace(G0t,".").toLowerCase()},q0t=Yh.data={},Z0t=Yh.NATIVE="N",Y0t=Yh.POLYFILL="P",ny=Yh,X0t=mD.f,mi=function(t,e){var n,r,o,i,a,u=t.target,s=t.global,l=t.stat;if(n=s?it:l?it[u]||fD(u,{}):(it[u]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=X0t(n,r))&&a.value:n[r],!ny(s?r:u+(l?".":"#")+r,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;W0t(i,o)}(t.sham||o&&o.sham)&&vi(i,"sham",!0),Gr(n,r,i,t)}},ry=Array.isArray||function(t){return Ro(t)=="Array"},XR={};XR[sn("toStringTag")]="z";var SD=String(XR)==="[object z]",J0t=sn("toStringTag"),Q0t=it.Object,tgt=Ro(function(){return arguments}())=="Arguments",oy=SD?Ro:function(t){var e,n,r;return t===void 0?"Undefined":t===null?"Null":typeof(n=function(o,i){try{return o[i]}catch(a){}}(e=Q0t(t),J0t))=="string"?n:tgt?Ro(e):(r=Ro(e))=="Object"&&xe(e.callee)?"Arguments":r},JR=function(){},egt=[],QR=tl("Reflect","construct"),CD=/^\s*(?:class|function)\b/,ngt=qt(CD.exec),rgt=!CD.exec(JR),Xh=function(t){if(!xe(t))return!1;try{return QR(JR,egt,t),!0}catch(e){return!1}},DD=!QR||Ie(function(){var t;return Xh(Xh.call)||!Xh(Object)||!Xh(function(){t=!0})||t})?function(t){if(!xe(t))return!1;switch(oy(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return rgt||!!ngt(CD,Jm(t))}:Xh,tM=function(t,e,n){var r=gD(e);r in t?Yi.f(t,r,qm(0,n)):t[r]=n},ogt=sn("species"),eM=qt([].slice),igt=Hh>=51||!Ie(function(){var t=[];return(t.constructor={})[ogt]=function(){return{foo:1}},t.slice(Boolean).foo!==1}),agt=sn("species"),xD=it.Array,ugt=Math.max;mi({target:"Array",proto:!0,forced:!igt},{slice:function(t,e){var n,r,o,i=wu(this),a=Zh(i),u=qh(t,a),s=qh(e===void 0?a:e,a);if(ry(i)&&(n=i.constructor,(DD(n)&&(n===xD||ry(n.prototype))||Pe(n)&&(n=n[agt])===null)&&(n=void 0),n===xD||n===void 0))return eM(i,u,s);for(r=new(n===void 0?xD:n)(ugt(s-u,0)),o=0;u<s;u++,o++)u in i&&tM(r,o,i[u]);return r.length=o,r}});var sgt=SD?{}.toString:function(){return"[object "+oy(this)+"]"};SD||Gr(Object.prototype,"toString",sgt,{unsafe:!0});var iy,lgt=it.String,Cu=function(t){if(oy(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return lgt(t)},nM=function(){var t=In(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},AD=it.RegExp,OD=Ie(function(){var t=AD("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),cgt=OD||Ie(function(){return!AD("a","y").sticky}),rM={BROKEN_CARET:OD||Ie(function(){var t=AD("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),MISSED_STICKY:cgt,UNSUPPORTED_Y:OD},fgt=Object.keys||function(t){return YR(t,ty)},dgt=gi?Object.defineProperties:function(t,e){In(t);for(var n,r=wu(e),o=fgt(e),i=o.length,a=0;i>a;)Yi.f(t,n=o[a++],r[n]);return t},kD=tl("document","documentElement"),oM=yD("IE_PROTO"),BD=function(){},iM=function(t){return"<script>"+t+"</script>"},aM=function(t){t.write(iM("")),t.close();var e=t.parentWindow.Object;return t=null,e},ay=function(){try{iy=new ActiveXObject("htmlfile")}catch(r){}var t,e;ay=typeof document!="undefined"?document.domain&&iy?aM(iy):((e=Wh("iframe")).style.display="none",kD.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(iM("document.F=Object")),t.close(),t.F):aM(iy);for(var n=ty.length;n--;)delete ay.prototype[ty[n]];return ay()};Qm[oM]=!0;var uM,FD,TD=Object.create||function(t,e){var n;return t!==null?(BD.prototype=In(t),n=new BD,BD.prototype=null,n[oM]=t):n=ay(),e===void 0?n:dgt(n,e)},pgt=it.RegExp,hgt=Ie(function(){var t=pgt(".","s");return!(t.dotAll&&t.exec(`
  140. `)&&t.flags==="s")}),ggt=it.RegExp,vgt=Ie(function(){var t=ggt("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),mgt=Wr.get,ygt=dD("native-string-replace",String.prototype.replace),uy=RegExp.prototype.exec,PD=uy,bgt=qt("".charAt),wgt=qt("".indexOf),Egt=qt("".replace),jD=qt("".slice),_D=(FD=/b*/g,me(uy,uM=/a/,"a"),me(uy,FD,"a"),uM.lastIndex!==0||FD.lastIndex!==0),sM=rM.BROKEN_CARET,ID=/()??/.exec("")[1]!==void 0;(_D||ID||sM||hgt||vgt)&&(PD=function(t){var e,n,r,o,i,a,u,s=this,l=mgt(s),c=Cu(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=me(PD,f,c),s.lastIndex=f.lastIndex,e;var p=l.groups,d=sM&&s.sticky,y=me(nM,s),g=s.source,v=0,m=c;if(d&&(y=Egt(y,"y",""),wgt(y,"g")===-1&&(y+="g"),m=jD(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&bgt(c,s.lastIndex-1)!==`
  141. `)&&(g="(?: "+g+")",m=" "+m,v++),n=new RegExp("^(?:"+g+")",y)),ID&&(n=new RegExp("^"+g+"$(?!\\s)",y)),_D&&(r=s.lastIndex),o=me(uy,d?n:s,m),d?o?(o.input=jD(o.input,v),o[0]=jD(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:_D&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),ID&&o&&o.length>1&&me(ygt,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&p)for(o.groups=a=TD(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var Jh=PD;mi({target:"RegExp",proto:!0,forced:/./.exec!==Jh},{exec:Jh});var ND=Function.prototype,lM=ND.apply,Sgt=ND.bind,cM=ND.call,fM=typeof Reflect=="object"&&Reflect.apply||(Sgt?cM.bind(lM):function(){return cM.apply(lM,arguments)}),Cgt=sn("species"),LD=RegExp.prototype,Dgt=sn("match"),xgt=it.TypeError,Agt=sn("species"),dM=function(t,e){var n,r=In(t).constructor;return r===void 0||(n=In(r)[Agt])==null?e:function(o){if(DD(o))return o;throw xgt(Zm(o)+" is not a constructor")}(n)},Ogt=qt("".charAt),pM=qt("".charCodeAt),kgt=qt("".slice),hM=function(t){return function(e,n){var r,o,i=Cu(zh(e)),a=ED(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=pM(i,a))<55296||r>56319||a+1===u||(o=pM(i,a+1))<56320||o>57343?t?Ogt(i,a):r:t?kgt(i,a,a+2):o-56320+(r-55296<<10)+65536}},gM={codeAt:hM(!1),charAt:hM(!0)},Bgt=gM.charAt,Fgt=function(t,e,n){return e+(n?Bgt(t,e).length:1)},Tgt=it.Array,Pgt=Math.max,RD=function(t,e,n){for(var r=Zh(t),o=qh(e,r),i=qh(n===void 0?r:n,r),a=Tgt(Pgt(i-o,0)),u=0;o<i;o++,u++)tM(a,u,t[o]);return a.length=u,a},jgt=it.TypeError,vM=function(t,e){var n=t.exec;if(xe(n)){var r=me(n,t,e);return r!==null&&In(r),r}if(Ro(t)==="RegExp")return me(Jh,t,e);throw jgt("RegExp#exec called on incompatible receiver")},of=rM.UNSUPPORTED_Y,_gt=Math.min,mM=[].push,Igt=qt(/./.exec),af=qt(mM),Qh=qt("".slice);(function(t,e,n,r){var o=sn(t),i=!Ie(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!Ie(function(){var l=!1,c=/a/;return(c={}).constructor={},c.constructor[Cgt]=function(){return c},c.flags="",c[o]=/./[o],c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=qt(/./[o]),s=function(l,c,f){var p;return p="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(d,y){var g,v,m=Cu(zh(this)),h=y===void 0?4294967295:y>>>0;if(h===0)return[];if(d===void 0)return[m];if(!Pe(g=d)||!((v=g[Dgt])!==void 0?v:Ro(g)=="RegExp"))return me(c,m,d,h);for(var b,w,S,D=[],C=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(d.sticky?"y":""),O=0,T=new RegExp(d.source,C+"g");(b=me(Jh,T,m))&&!((w=T.lastIndex)>O&&(af(D,Qh(m,O,b.index)),b.length>1&&b.index<m.length&&fM(mM,D,RD(b,1)),S=b[0].length,O=w,D.length>=h));)T.lastIndex===b.index&&T.lastIndex++;return O===m.length?!S&&Igt(T,"")||af(D,""):af(D,Qh(m,O)),D.length>h?RD(D,0,h):D}:"0".split(void 0,0).length?function(d,y){return d===void 0&&y===0?[]:me(c,this,d,y)}:c,[function(d,y){var g=zh(this),v=d==null?void 0:Uh(d,l);return v?me(v,d,g,y):me(p,Cu(g),d,y)},function(d,y){var g=In(this),v=Cu(d),m=f(p,g,v,y,p!==c);if(m.done)return m.value;var h=dM(g,RegExp),b=g.unicode,w=(g.ignoreCase?"i":"")+(g.multiline?"m":"")+(g.unicode?"u":"")+(of?"g":"y"),S=new h(of?"^(?:"+g.source+")":g,w),D=y===void 0?4294967295:y>>>0;if(D===0)return[];if(v.length===0)return vM(S,v)===null?[v]:[];for(var C=0,O=0,T=[];O<v.length;){S.lastIndex=of?0:O;var L,z=vM(S,of?Qh(v,O):v);if(z===null||(L=_gt(KR(S.lastIndex+(of?O:0)),v.length))===C)O=Fgt(v,O,b);else{if(af(T,Qh(v,C,O)),T.length===D)return T;for(var $=1;$<=z.length-1;$++)if(af(T,z[$]),T.length===D)return T;O=C=L}}return af(T,Qh(v,C)),T}]}(o,""[t],function(l,c,f,p,d){var y=qt(l),g=c.exec;return g===Jh||g===LD.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:y(f,c,p)}:{done:!1}});Gr(String.prototype,t,s[0]),Gr(LD,o,s[1])}r&&vi(LD[o],"sham",!0)})("split",0,!!Ie(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),of);/*! *****************************************************************************
  142. Copyright (c) Microsoft Corporation.
  143. Permission to use, copy, modify, and/or distribute this software for any
  144. purpose with or without fee is hereby granted.
  145. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  146. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  147. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  148. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  149. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  150. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  151. PERFORMANCE OF THIS SOFTWARE.
  152. ***************************************************************************** */var sy=function(){return sy=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},sy.apply(this,arguments)};function MD(t,e,n,r){return new(n||(n=Promise))(function(o,i){function a(l){try{s(r.next(l))}catch(c){i(c)}}function u(l){try{s(r.throw(l))}catch(c){i(c)}}function s(l){var c;l.done?o(l.value):(c=l.value,c instanceof n?c:new n(function(f){f(c)})).then(a,u)}s((r=r.apply(t,e||[])).next())})}function zD(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function u(s){return function(l){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return a.label++,{value:c[1],done:!1};case 5:a.label++,r=c[1],c=[0];continue;case 7:c=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||c[0]!==6&&c[0]!==2)){a=0;continue}if(c[0]===3&&(!o||c[1]>o[0]&&c[1]<o[3])){a.label=c[1];break}if(c[0]===6&&a.label<o[1]){a.label=o[1],o=c;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(c);break}o[2]&&a.ops.pop(),a.trys.pop();continue}c=e.call(t,a)}catch(f){c=[6,f],r=0}finally{n=o=0}if(5&c[0])throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}([s,l])}}}function Ngt(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=function(o){var i=typeof Symbol=="function"&&Symbol.iterator,a=i&&o[i],u=0;if(a)return a.call(o);if(o&&typeof o.length=="number")return{next:function(){return o&&u>=o.length&&(o=void 0),{value:o&&o[u++],done:!o}}};throw new TypeError(i?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(o){e[o]=t[o]&&function(i){return new Promise(function(a,u){(function(s,l,c,f){Promise.resolve(f).then(function(p){s({value:p,done:c})},l)})(a,u,(i=t[o](i)).done,i.value)})}}}var $D=sn("unscopables"),HD=Array.prototype;HD[$D]==null&&Yi.f(HD,$D,{configurable:!0,value:TD(null)});var rl,yM,bM,UD=function(t){HD[$D][t]=!0},uf={},Lgt=!Ie(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),wM=yD("IE_PROTO"),VD=it.Object,Rgt=VD.prototype,ly=Lgt?VD.getPrototypeOf:function(t){var e=pD(t);if(Cn(e,wM))return e[wM];var n=e.constructor;return xe(n)&&e instanceof n?n.prototype:e instanceof VD?Rgt:null},WD=sn("iterator"),EM=!1;[].keys&&("next"in(bM=[].keys())?(yM=ly(ly(bM)))!==Object.prototype&&(rl=yM):EM=!0);var Mgt=rl==null||Ie(function(){var t={};return rl[WD].call(t)!==t});Mgt&&(rl={}),xe(rl[WD])||Gr(rl,WD,function(){return this});var GD={IteratorPrototype:rl,BUGGY_SAFARI_ITERATORS:EM},zgt=Yi.f,SM=sn("toStringTag"),cy=function(t,e,n){t&&!Cn(t=n?t:t.prototype,SM)&&zgt(t,SM,{configurable:!0,value:e})},$gt=GD.IteratorPrototype,Hgt=function(){return this},Ugt=it.String,Vgt=it.TypeError,sf=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=qt(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch(r){}return function(r,o){return In(r),function(i){if(typeof i=="object"||xe(i))return i;throw Vgt("Can't set "+Ugt(i)+" as a prototype")}(o),e?t(r,o):r.__proto__=o,r}}():void 0),Wgt=Kh.PROPER,Ggt=Kh.CONFIGURABLE,CM=GD.IteratorPrototype,fy=GD.BUGGY_SAFARI_ITERATORS,t0=sn("iterator"),Kgt=function(){return this},DM=function(t,e,n,r,o,i,a){(function(m,h,b,w){var S=h+" Iterator";m.prototype=TD($gt,{next:qm(1,b)}),cy(m,S,!1),uf[S]=Hgt})(n,e,r);var u,s,l,c=function(m){if(m===o&&g)return g;if(!fy&&m in d)return d[m];switch(m){case"keys":case"values":case"entries":return function(){return new n(this,m)}}return function(){return new n(this)}},f=e+" Iterator",p=!1,d=t.prototype,y=d[t0]||d["@@iterator"]||o&&d[o],g=!fy&&y||c(o),v=e=="Array"&&d.entries||y;if(v&&(u=ly(v.call(new t)))!==Object.prototype&&u.next&&(ly(u)!==CM&&(sf?sf(u,CM):xe(u[t0])||Gr(u,t0,Kgt)),cy(u,f,!0)),Wgt&&o=="values"&&y&&y.name!=="values"&&(Ggt?vi(d,"name","values"):(p=!0,g=function(){return me(y,this)})),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(fy||p||!(l in d))&&Gr(d,l,s[l]);else mi({target:e,proto:!0,forced:fy||p},s);return d[t0]!==g&&Gr(d,t0,g,{name:o}),uf[e]=g,s},qgt=Wr.set,Zgt=Wr.getterFor("Array Iterator"),e0=DM(Array,"Array",function(t,e){qgt(this,{type:"Array Iterator",target:wu(t),index:0,kind:e})},function(){var t=Zgt(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):n=="keys"?{value:r,done:!1}:n=="values"?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}},"values");uf.Arguments=uf.Array,UD("keys"),UD("values"),UD("entries");var Ygt=gM.charAt,Xgt=Wr.set,Jgt=Wr.getterFor("String Iterator");DM(String,"String",function(t){Xgt(this,{type:"String Iterator",string:Cu(t),index:0})},function(){var t,e=Jgt(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=Ygt(n,r),e.index+=t.length,{value:t,done:!1})});var dy=function(t,e,n){for(var r in e)Gr(t,r,e[r],n);return t},xM=ey.f,AM=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Qgt={f:function(t){return AM&&Ro(t)=="Window"?function(e){try{return xM(e)}catch(n){return RD(AM)}}(t):xM(wu(t))}},OM=Ie(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),py=Object.isExtensible,ol=Ie(function(){py(1)})||OM?function(t){return!!Pe(t)&&(!OM||Ro(t)!="ArrayBuffer")&&(!py||py(t))}:py,tvt=!Ie(function(){return Object.isExtensible(Object.preventExtensions({}))}),KD=rD(function(t){var e=Yi.f,n=!1,r=hD("meta"),o=0,i=function(u){e(u,r,{value:{objectID:"O"+o++,weakData:{}}})},a=t.exports={enable:function(){a.enable=function(){},n=!0;var u=ey.f,s=qt([].splice),l={};l[r]=1,u(l).length&&(ey.f=function(c){for(var f=u(c),p=0,d=f.length;p<d;p++)if(f[p]===r){s(f,p,1);break}return f},mi({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Qgt.f}))},fastKey:function(u,s){if(!Pe(u))return typeof u=="symbol"?u:(typeof u=="string"?"S":"P")+u;if(!Cn(u,r)){if(!ol(u))return"F";if(!s)return"E";i(u)}return u[r].objectID},getWeakData:function(u,s){if(!Cn(u,r)){if(!ol(u))return!0;if(!s)return!1;i(u)}return u[r].weakData},onFreeze:function(u){return tvt&&n&&ol(u)&&!Cn(u,r)&&i(u),u}};Qm[r]=!0}),kM=qt(qt.bind),n0=function(t,e){return Eu(t),e===void 0?t:kM?kM(t,e):function(){return t.apply(e,arguments)}},evt=sn("iterator"),nvt=Array.prototype,rvt=sn("iterator"),BM=function(t){if(t!=null)return Uh(t,rvt)||Uh(t,"@@iterator")||uf[oy(t)]},ovt=it.TypeError,FM=function(t,e,n){var r,o;In(t);try{if(!(r=Uh(t,"return"))){if(e==="throw")throw n;return n}r=me(r,t)}catch(i){o=!0,r=i}if(e==="throw")throw n;if(o)throw r;return In(r),n},ivt=it.TypeError,hy=function(t,e){this.stopped=t,this.result=e},TM=hy.prototype,gy=function(t,e,n){var r,o,i,a,u,s,l,c,f=n&&n.that,p=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),y=!(!n||!n.INTERRUPTED),g=n0(e,f),v=function(h){return r&&FM(r,"normal",h),new hy(!0,h)},m=function(h){return p?(In(h),y?g(h[0],h[1],v):g(h[0],h[1])):y?g(h,v):g(h)};if(d)r=t;else{if(!(o=BM(t)))throw ivt(Zm(t)+" is not iterable");if((c=o)!==void 0&&(uf.Array===c||nvt[evt]===c)){for(i=0,a=Zh(t);a>i;i++)if((u=m(t[i]))&&$h(TM,u))return u;return new hy(!1)}r=function(h,b){var w=arguments.length<2?BM(h):b;if(Eu(w))return In(me(w,h));throw ovt(Zm(h)+" is not iterable")}(t,o)}for(s=r.next;!(l=me(s,r)).done;){try{u=m(l.value)}catch(h){FM(r,"throw",h)}if(typeof u=="object"&&u&&$h(TM,u))return u}return new hy(!1)},avt=it.TypeError,qD=function(t,e){if($h(e,t))return t;throw avt("Incorrect invocation")},PM=sn("iterator"),jM=!1;try{var uvt=0,_M={next:function(){return{done:!!uvt++}},return:function(){jM=!0}};_M[PM]=function(){return this},Array.from(_M,function(){throw 2})}catch(t){}var IM=function(t,e){if(!e&&!jM)return!1;var n=!1;try{var r={};r[PM]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch(o){}return n},svt=sn("species"),NM=it.Array,lvt=function(t,e){return new(function(n){var r;return ry(n)&&(r=n.constructor,(DD(r)&&(r===NM||ry(r.prototype))||Pe(r)&&(r=r[svt])===null)&&(r=void 0)),r===void 0?NM:r}(t))(e===0?0:e)},LM=qt([].push),Du=function(t){var e=t==1,n=t==2,r=t==3,o=t==4,i=t==6,a=t==7,u=t==5||i;return function(s,l,c,f){for(var p,d,y=pD(s),g=uD(y),v=n0(l,c),m=Zh(g),h=0,b=f||lvt,w=e?b(s,m):n||a?b(s,0):void 0;m>h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),t))if(e)w[h]=d;else if(d)switch(t){case 3:return!0;case 5:return p;case 6:return h;case 2:LM(w,p)}else switch(t){case 4:return!1;case 7:LM(w,p)}return i?-1:r||o?o:w}},ZD={forEach:Du(0),map:Du(1),filter:Du(2),some:Du(3),every:Du(4),find:Du(5),findIndex:Du(6),filterReject:Du(7)},vy=KD.getWeakData,cvt=Wr.set,fvt=Wr.getterFor,dvt=ZD.find,pvt=ZD.findIndex,hvt=qt([].splice),gvt=0,my=function(t){return t.frozen||(t.frozen=new RM)},RM=function(){this.entries=[]},YD=function(t,e){return dvt(t.entries,function(n){return n[0]===e})};RM.prototype={get:function(t){var e=YD(this,t);if(e)return e[1]},has:function(t){return!!YD(this,t)},set:function(t,e){var n=YD(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=pvt(this.entries,function(n){return n[0]===t});return~e&&hvt(this.entries,e,1),!!~e}};var r0,MM={getConstructor:function(t,e,n,r){var o=t(function(s,l){qD(s,i),cvt(s,{type:e,id:gvt++,frozen:void 0}),l!=null&&gy(l,s[r],{that:s,AS_ENTRIES:n})}),i=o.prototype,a=fvt(e),u=function(s,l,c){var f=a(s),p=vy(In(l),!0);return p===!0?my(f).set(l,c):p[f.id]=c,s};return dy(i,{delete:function(s){var l=a(this);if(!Pe(s))return!1;var c=vy(s);return c===!0?my(l).delete(s):c&&Cn(c,l.id)&&delete c[l.id]},has:function(s){var l=a(this);if(!Pe(s))return!1;var c=vy(s);return c===!0?my(l).has(s):c&&Cn(c,l.id)}}),dy(i,n?{get:function(s){var l=a(this);if(Pe(s)){var c=vy(s);return c===!0?my(l).get(s):c?c[l.id]:void 0}},set:function(s,l){return u(this,s,l)}}:{add:function(s){return u(this,s,!0)}}),o}},yy=Wr.enforce,vvt=!it.ActiveXObject&&"ActiveXObject"in it,zM=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},mvt=function(t,e,n){var r=t.indexOf("Map")!==-1,o=t.indexOf("Weak")!==-1,i=r?"set":"add",a=it[t],u=a&&a.prototype,s=a,l={},c=function(v){var m=qt(u[v]);Gr(u,v,v=="add"?function(h){return m(this,h===0?0:h),this}:v=="delete"?function(h){return!(o&&!Pe(h))&&m(this,h===0?0:h)}:v=="get"?function(h){return o&&!Pe(h)?void 0:m(this,h===0?0:h)}:v=="has"?function(h){return!(o&&!Pe(h))&&m(this,h===0?0:h)}:function(h,b){return m(this,h===0?0:h,b),this})};if(ny(t,!xe(a)||!(o||u.forEach&&!Ie(function(){new a().entries().next()}))))s=n.getConstructor(e,t,r,i),KD.enable();else if(ny(t,!0)){var f=new s,p=f[i](o?{}:-0,1)!=f,d=Ie(function(){f.has(1)}),y=IM(function(v){new a(v)}),g=!o&&Ie(function(){for(var v=new a,m=5;m--;)v[i](m,m);return!v.has(-0)});y||((s=e(function(v,m){qD(v,u);var h=function(b,w,S){var D,C;return sf&&xe(D=w.constructor)&&D!==S&&Pe(C=D.prototype)&&C!==S.prototype&&sf(b,C),b}(new a,v,s);return m!=null&&gy(m,h[i],{that:h,AS_ENTRIES:r}),h})).prototype=u,u.constructor=s),(d||g)&&(c("delete"),c("has"),r&&c("get")),(g||p)&&c(i),o&&u.clear&&delete u.clear}return l[t]=s,mi({global:!0,forced:s!=a},l),cy(s,t),o||n.setStrong(s,t,r),s}("WeakMap",zM,MM);if(UR&&vvt){r0=MM.getConstructor(zM,"WeakMap",!0),KD.enable();var o0=mvt.prototype,$M=qt(o0.delete),by=qt(o0.has),HM=qt(o0.get),UM=qt(o0.set);dy(o0,{delete:function(t){if(Pe(t)&&!ol(t)){var e=yy(this);return e.frozen||(e.frozen=new r0),$M(this,t)||e.frozen.delete(t)}return $M(this,t)},has:function(t){if(Pe(t)&&!ol(t)){var e=yy(this);return e.frozen||(e.frozen=new r0),by(this,t)||e.frozen.has(t)}return by(this,t)},get:function(t){if(Pe(t)&&!ol(t)){var e=yy(this);return e.frozen||(e.frozen=new r0),by(this,t)?HM(this,t):e.frozen.get(t)}return HM(this,t)},set:function(t,e){if(Pe(t)&&!ol(t)){var n=yy(this);n.frozen||(n.frozen=new r0),by(this,t)?UM(this,t,e):n.frozen.set(t,e)}else UM(this,t,e);return this}})}var wy={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},XD=Wh("span").classList,VM=XD&&XD.constructor&&XD.constructor.prototype,WM=VM===Object.prototype?void 0:VM,JD=sn("iterator"),GM=sn("toStringTag"),QD=e0.values,KM=function(t,e){if(t){if(t[JD]!==QD)try{vi(t,JD,QD)}catch(r){t[JD]=QD}if(t[GM]||vi(t,GM,e),wy[e]){for(var n in e0)if(t[n]!==e0[n])try{vi(t,n,e0[n])}catch(r){t[n]=e0[n]}}}};for(var tx in wy)KM(it[tx]&&it[tx].prototype,tx);KM(WM,"DOMTokenList");var qM=function(t,e){var n=[][t];return!!n&&Ie(function(){n.call(null,e||function(){throw 1},1)})},yvt=ZD.forEach,ex=qM("forEach")?[].forEach:function(t){return yvt(this,t,arguments.length>1?arguments[1]:void 0)},ZM=function(t){if(t&&t.forEach!==ex)try{vi(t,"forEach",ex)}catch(e){t.forEach=ex}};for(var nx in wy)wy[nx]&&ZM(it[nx]&&it[nx].prototype);ZM(WM);var i0,lf,YM,rx,Ey=it.Promise,XM=sn("species"),JM=/(?:ipad|iphone|ipod).*applewebkit/i.test(nf),xu=Ro(it.process)=="process",ox=it.setImmediate,ix=it.clearImmediate,bvt=it.process,ax=it.Dispatch,wvt=it.Function,QM=it.MessageChannel,Evt=it.String,ux=0,a0={};try{i0=it.location}catch(t){}var sx=function(t){if(Cn(a0,t)){var e=a0[t];delete a0[t],e()}},lx=function(t){return function(){sx(t)}},tz=function(t){sx(t.data)},ez=function(t){it.postMessage(Evt(t),i0.protocol+"//"+i0.host)};ox&&ix||(ox=function(t){var e=eM(arguments,1);return a0[++ux]=function(){fM(xe(t)?t:wvt(t),void 0,e)},lf(ux),ux},ix=function(t){delete a0[t]},xu?lf=function(t){bvt.nextTick(lx(t))}:ax&&ax.now?lf=function(t){ax.now(lx(t))}:QM&&!JM?(rx=(YM=new QM).port2,YM.port1.onmessage=tz,lf=n0(rx.postMessage,rx)):it.addEventListener&&xe(it.postMessage)&&!it.importScripts&&i0&&i0.protocol!=="file:"&&!Ie(ez)?(lf=ez,it.addEventListener("message",tz,!1)):lf="onreadystatechange"in Wh("script")?function(t){kD.appendChild(Wh("script")).onreadystatechange=function(){kD.removeChild(this),sx(t)}}:function(t){setTimeout(lx(t),0)});var u0,il,s0,cf,cx,fx,dx,nz,rz={set:ox,clear:ix},Svt=/ipad|iphone|ipod/i.test(nf)&&it.Pebble!==void 0,Cvt=/web0s(?!.*chrome)/i.test(nf),Dvt=mD.f,px=rz.set,oz=it.MutationObserver||it.WebKitMutationObserver,iz=it.document,az=it.process,Sy=it.Promise,uz=Dvt(it,"queueMicrotask"),sz=uz&&uz.value;sz||(u0=function(){var t,e;for(xu&&(t=az.domain)&&t.exit();il;){e=il.fn,il=il.next;try{e()}catch(n){throw il?cf():s0=void 0,n}}s0=void 0,t&&t.enter()},JM||xu||Cvt||!oz||!iz?!Svt&&Sy&&Sy.resolve?((dx=Sy.resolve(void 0)).constructor=Sy,nz=n0(dx.then,dx),cf=function(){nz(u0)}):xu?cf=function(){az.nextTick(u0)}:(px=n0(px,it),cf=function(){px(u0)}):(cx=!0,fx=iz.createTextNode(""),new oz(u0).observe(fx,{characterData:!0}),cf=function(){fx.data=cx=!cx}));var hx,lz,cz,fz,dz=sz||function(t){var e={fn:t,next:void 0};s0&&(s0.next=e),il||(il=e,cf()),s0=e},xvt=function(t){var e,n;this.promise=new t(function(r,o){if(e!==void 0||n!==void 0)throw TypeError("Bad Promise constructor");e=r,n=o}),this.resolve=Eu(e),this.reject=Eu(n)},gx={f:function(t){return new xvt(t)}},vx=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}},Avt=typeof window=="object",pz=rz.set,Ovt=sn("species"),Xi="Promise",hz=Wr.getterFor(Xi),kvt=Wr.set,Bvt=Wr.getterFor(Xi),al=Ey&&Ey.prototype,yi=Ey,l0=al,gz=it.TypeError,mx=it.document,yx=it.process,ff=gx.f,Fvt=ff,Tvt=!!(mx&&mx.createEvent&&it.dispatchEvent),vz=xe(it.PromiseRejectionEvent),mz=!1,c0=ny(Xi,function(){var t=Jm(yi),e=t!==String(yi);if(!e&&Hh===66)return!0;if(Hh>=51&&/native code/.test(t))return!1;var n=new yi(function(o){o(1)}),r=function(o){o(function(){},function(){})};return(n.constructor={})[Ovt]=r,!(mz=n.then(function(){})instanceof r)||!e&&Avt&&!vz}),Pvt=c0||!IM(function(t){yi.all(t).catch(function(){})}),yz=function(t){var e;return!(!Pe(t)||!xe(e=t.then))&&e},bx=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;dz(function(){for(var r=t.value,o=t.state==1,i=0;n.length>i;){var a,u,s,l=n[i++],c=o?l.ok:l.fail,f=l.resolve,p=l.reject,d=l.domain;try{c?(o||(t.rejection===2&&_vt(t),t.rejection=1),c===!0?a=r:(d&&d.enter(),a=c(r),d&&(d.exit(),s=!0)),a===l.promise?p(gz("Promise-chain cycle")):(u=yz(a))?me(u,a,f,p):f(a)):p(r)}catch(y){d&&!s&&d.exit(),p(y)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&jvt(t)})}},bz=function(t,e,n){var r,o;Tvt?((r=mx.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),it.dispatchEvent(r)):r={promise:e,reason:n},!vz&&(o=it["on"+t])?o(r):t==="unhandledrejection"&&function(i,a){var u=it.console;u&&u.error&&(arguments.length==1?u.error(i):u.error(i,a))}("Unhandled promise rejection",n)},jvt=function(t){me(pz,it,function(){var e,n=t.facade,r=t.value;if(wz(t)&&(e=vx(function(){xu?yx.emit("unhandledRejection",r,n):bz("unhandledrejection",n,r)}),t.rejection=xu||wz(t)?2:1,e.error))throw e.value})},wz=function(t){return t.rejection!==1&&!t.parent},_vt=function(t){me(pz,it,function(){var e=t.facade;xu?yx.emit("rejectionHandled",e):bz("rejectionhandled",e,t.value)})},df=function(t,e,n){return function(r){t(e,r,n)}},pf=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,bx(t,!0))},wx=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw gz("Promise can't be resolved itself");var r=yz(e);r?dz(function(){var o={done:!1};try{me(r,e,df(wx,o,t),df(pf,o,t))}catch(i){pf(o,i,t)}}):(t.value=e,t.state=1,bx(t,!1))}catch(o){pf({done:!1},o,t)}}};if(c0&&(l0=(yi=function(t){qD(this,l0),Eu(t),me(hx,this);var e=hz(this);try{t(df(wx,e),df(pf,e))}catch(n){pf(e,n)}}).prototype,(hx=function(t){kvt(this,{type:Xi,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=dy(l0,{then:function(t,e){var n=Bvt(this),r=n.reactions,o=ff(dM(this,yi));return o.ok=!xe(t)||t,o.fail=xe(e)&&e,o.domain=xu?yx.domain:void 0,n.parent=!0,r[r.length]=o,n.state!=0&&bx(n,!1),o.promise},catch:function(t){return this.then(void 0,t)}}),lz=function(){var t=new hx,e=hz(t);this.promise=t,this.resolve=df(wx,e),this.reject=df(pf,e)},gx.f=ff=function(t){return t===yi||t===cz?new lz(t):Fvt(t)},xe(Ey)&&al!==Object.prototype)){fz=al.then,mz||(Gr(al,"then",function(t,e){var n=this;return new yi(function(r,o){me(fz,n,r,o)}).then(t,e)},{unsafe:!0}),Gr(al,"catch",l0.catch,{unsafe:!0}));try{delete al.constructor}catch(t){}sf&&sf(al,l0)}mi({global:!0,wrap:!0,forced:c0},{Promise:yi}),cy(yi,Xi,!1),function(t){var e=tl("Promise"),n=Yi.f;gi&&e&&!e[XM]&&n(e,XM,{configurable:!0,get:function(){return this}})}(),cz=tl(Xi),mi({target:Xi,stat:!0,forced:c0},{reject:function(t){var e=ff(this);return me(e.reject,void 0,t),e.promise}}),mi({target:Xi,stat:!0,forced:c0},{resolve:function(t){return function(e,n){if(In(e),Pe(n)&&n.constructor===e)return n;var r=gx.f(e);return(0,r.resolve)(n),r.promise}(this,t)}}),mi({target:Xi,stat:!0,forced:Pvt},{all:function(t){var e=this,n=ff(e),r=n.resolve,o=n.reject,i=vx(function(){var a=Eu(e.resolve),u=[],s=0,l=1;gy(t,function(c){var f=s++,p=!1;l++,me(a,e,c).then(function(d){p||(p=!0,u[f]=d,--l||r(u))},o)}),--l||r(u)});return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=ff(e),r=n.reject,o=vx(function(){var i=Eu(e.resolve);gy(t,function(a){me(i,e,a).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var Ivt=Kh.PROPER,Ex=RegExp.prototype,Ez=Ex.toString,Nvt=qt(nM),Lvt=Ie(function(){return Ez.call({source:"a",flags:"b"})!="/a/b"}),Rvt=Ivt&&Ez.name!="toString";(Lvt||Rvt)&&Gr(RegExp.prototype,"toString",function(){var t=In(this),e=Cu(t.source),n=t.flags;return"/"+e+"/"+Cu(n===void 0&&$h(Ex,t)&&!("flags"in Ex)?Nvt(t):n)},{unsafe:!0});var Mvt=Kh.EXISTS,zvt=Yi.f,Sz=Function.prototype,$vt=qt(Sz.toString),Cz=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Hvt=qt(Cz.exec);gi&&!Mvt&&zvt(Sz,"name",{configurable:!0,get:function(){try{return Hvt(Cz,$vt(this))[1]}catch(t){return""}}});var Dz=new WeakMap;function xz(t){return t.getMenuConfig("uploadImage")}function Uvt(t,e){return MD(this,void 0,void 0,function(){return zD(this,function(n){return[2,new Promise(function(r){var o=new FileReader;o.readAsDataURL(e),o.onload=function(){var i=o.result;if(i){var a=i.toString(),u=a.indexOf("data:image")===0?"":a;Bs(t,a,e.name,u),r("ok")}}})]})})}function Vvt(t,e){return MD(this,void 0,void 0,function(){var n,r,o,i;return zD(this,function(a){switch(a.label){case 0:return n=function(u){var s=Dz.get(u);if(s!=null)return s;var l=xz(u),c=l.onSuccess,f=l.onProgress,p=l.onFailed,d=l.customInsert,y=l.onError;return s=BF(sy(sy({},l),{onProgress:function(g){u.showProgressBar(g),f&&f(g)},onSuccess:function(g,v){if(d)return d(v,function(L,z,$){return Bs(u,L,z,$)}),void c(g,v);var m=v.errno,h=m===void 0?1:m,b=v.data,w=b===void 0?{}:b;if(h===0){if(Array.isArray(w))w.forEach(function(L){var z=L.url,$=z===void 0?"":z,Y=L.alt,G=Y===void 0?"":Y,K=L.href;Bs(u,$,G,K===void 0?"":K)});else{var S=w.url,D=S===void 0?"":S,C=w.alt,O=C===void 0?"":C,T=w.href;Bs(u,D,O,T===void 0?"":T)}c(g,v)}else p(g,v)},onError:function(g,v,m){y(g,v,m)}})),Dz.set(u,s),s}(t),r=e.name,o=e.type,i=e.size,n.addFile({name:r,type:o,size:i,data:e}),[4,n.upload()];case 1:return a.sent(),[2]}})})}function Az(t,e){var n,r;return MD(this,void 0,void 0,function(){var o,i,a,u,s,l,c,f,p;return zD(this,function(d){switch(d.label){case 0:if(e==null)return[2];o=Array.prototype.slice.call(e),i=xz(t),a=i.customUpload,u=i.base64LimitSize,d.label=1;case 1:d.trys.push([1,11,12,17]),s=Ngt(o),d.label=2;case 2:return[4,s.next()];case 3:return(l=d.sent()).done?[3,10]:(c=l.value,f=c.size,u&&f<=u?[4,Uvt(t,c)]:[3,5]);case 4:return d.sent(),[3,9];case 5:return a?[4,a(c,function(y,g,v){return Bs(t,y,g,v)})]:[3,7];case 6:return d.sent(),[3,9];case 7:return[4,Vvt(t,c)];case 8:d.sent(),d.label=9;case 9:return[3,2];case 10:return[3,17];case 11:return p=d.sent(),n={error:p},[3,17];case 12:return d.trys.push([12,,15,16]),l&&!l.done&&(r=s.return)?[4,r.call(s)]:[3,14];case 13:d.sent(),d.label=14;case 14:return[3,16];case 15:if(n)throw n.error;return[7];case 16:return[7];case 17:return[2]}})})}var Wvt=qt([].join),Gvt=uD!=Object,Kvt=qM("join",",");mi({target:"Array",proto:!0,forced:Gvt||!Kvt},{join:function(t){return Wvt(wu(this),t===void 0?",":t)}}),to&&(k.fn.append=to),Qo&&(k.fn.on=Qo),$l&&(k.fn.remove=$l),Jo&&(k.fn.val=Jo),f9&&(k.fn.click=f9),Ll&&(k.fn.hide=Ll);var qvt=function(){function t(){this.title=nt("uploadImgModule.uploadImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M828.708571 585.045333a48.761905 48.761905 0 0 0-48.737523 48.761905v18.529524l-72.143238-72.167619a135.972571 135.972571 0 0 0-191.585524 0l-34.133334 34.133333-120.880762-120.953905a138.898286 138.898286 0 0 0-191.585523 0l-72.167619 72.167619V292.400762a48.786286 48.786286 0 0 1 48.761904-48.761905h341.23581a48.737524 48.737524 0 0 0 34.474667-83.285333 48.737524 48.737524 0 0 0-34.474667-14.287238H146.236952A146.212571 146.212571 0 0 0 0 292.400762v585.289143A146.358857 146.358857 0 0 0 146.236952 1024h584.996572a146.212571 146.212571 0 0 0 146.236952-146.310095V633.807238a48.786286 48.786286 0 0 0-48.761905-48.761905zM146.261333 926.45181a48.737524 48.737524 0 0 1-48.761904-48.761905v-174.128762l141.409523-141.458286a38.497524 38.497524 0 0 1 53.126096 0l154.526476 154.624 209.627428 209.724953H146.236952z m633.734096-48.761905c-0.073143 9.337905-3.145143 18.383238-8.777143 25.843809l-219.843048-220.94019 34.133333-34.133334a37.546667 37.546667 0 0 1 53.613715 0l140.873143 141.897143V877.714286zM1009.615238 160.231619L863.329524 13.897143a48.737524 48.737524 0 0 0-16.091429-10.24c-11.849143-4.87619-25.161143-4.87619-37.059047 0a48.761905 48.761905 0 0 0-16.067048 10.24l-146.236952 146.334476a49.005714 49.005714 0 0 0 69.217523 69.241905l62.902858-63.390476v272.627809a48.761905 48.761905 0 1 0 97.475047 0V166.083048l62.902857 63.390476a48.737524 48.737524 0 0 0 69.217524 0 48.761905 48.761905 0 0 0 0-69.241905z"></path></svg>',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){return r1(e)},t.prototype.getMenuConfig=function(e){return e.getMenuConfig("uploadImage")},t.prototype.exec=function(e,n){var r=this.getMenuConfig(e),o=r.allowedFileTypes,i=o===void 0?[]:o,a=r.customBrowseAndUpload;if(a)a(function(c,f,p){return Bs(e,c,f,p)});else{var u="";i.length>0&&(u='accept="'+i.join(", ")+'"');var s=k("body"),l=k('<input type="file" '+u+" multiple/>");l.hide(),s.append(l),l.click(),l.on("change",function(){var c=l[0].files;Az(e,c)})}},t}(),Zvt={menus:[{key:"uploadImage",factory:function(){return new qvt},config:{server:"",fieldName:"wangeditor-uploaded-image",maxFileSize:2097152,maxNumberOfFiles:100,allowedFileTypes:["image/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:1e4,onBeforeUpload:function(t){return t},onProgress:function(t){},onSuccess:function(t,e){},onFailed:function(t,e){console.error("'"+t.name+"' upload failed",e)},onError:function(t,e,n){console.error("'"+t.name+"' upload error",n)},base64LimitSize:0}}],editorPlugin:function(t){var e=t.insertData,n=t;return n.insertData=function(r){if(r1(n))e(r);else if(r.getData("text/plain"))e(r);else{var o=r.files;o.length<=0?e(r):Array.prototype.slice.call(o).some(function(i){return function(a,u){var s=typeof Symbol=="function"&&a[Symbol.iterator];if(!s)return a;var l,c,f=s.call(a),p=[];try{for(;(u===void 0||u-- >0)&&!(l=f.next()).done;)p.push(l.value)}catch(d){c={error:d}}finally{try{l&&!l.done&&(s=f.return)&&s.call(f)}finally{if(c)throw c.error}}return p}(i.type.split("/"),1)[0]==="image"})?Az(t,o):e(r)}},n}};Er("en",{highLightModule:{selectLang:"Language"}}),Er("zh-CN",{highLightModule:{selectLang:"\u9009\u62E9\u8BED\u8A00"}});var Cy=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof ot.g!="undefined"?ot.g:typeof self!="undefined"?self:{};function Sx(t){var e={exports:{}};return t(e,e.exports),e.exports}var Au,Dy,xy=function(t){return t&&t.Math==Math&&t},Yt=xy(typeof globalThis=="object"&&globalThis)||xy(typeof window=="object"&&window)||xy(typeof self=="object"&&self)||xy(typeof Cy=="object"&&Cy)||function(){return this}()||Function("return this")(),Yvt=Object.defineProperty,Cx=function(t,e){try{Yvt(Yt,t,{value:e,configurable:!0,writable:!0})}catch(n){Yt[t]=e}return e},Ou=Yt["__core-js_shared__"]||Cx("__core-js_shared__",{}),Dx=Sx(function(t){(t.exports=function(e,n){return Ou[e]||(Ou[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Oz=Function.prototype,xx=Oz.bind,Ax=Oz.call,Xvt=xx&&xx.bind(Ax),ye=xx?function(t){return t&&Xvt(Ax,t)}:function(t){return t&&function(){return Ax.apply(t,arguments)}},Jvt=Yt.TypeError,hf=function(t){if(t==null)throw Jvt("Can't call method on "+t);return t},Qvt=Yt.Object,Ox=function(t){return Qvt(hf(t))},t1t=ye({}.hasOwnProperty),bo=Object.hasOwn||function(t,e){return t1t(Ox(t),e)},e1t=0,n1t=Math.random(),r1t=ye(1 .toString),kz=function(t){return"Symbol("+(t===void 0?"":t)+")_"+r1t(++e1t+n1t,36)},nr=function(t){return typeof t=="function"},o1t=function(t){return nr(t)?t:void 0},f0=function(t,e){return arguments.length<2?o1t(Yt[t]):Yt[t]&&Yt[t][e]},kx=f0("navigator","userAgent")||"",Bz=Yt.process,Fz=Yt.Deno,Tz=Bz&&Bz.versions||Fz&&Fz.version,Pz=Tz&&Tz.v8;Pz&&(Dy=(Au=Pz.split("."))[0]>0&&Au[0]<4?1:+(Au[0]+Au[1])),!Dy&&kx&&(!(Au=kx.match(/Edge\/(\d+)/))||Au[1]>=74)&&(Au=kx.match(/Chrome\/(\d+)/))&&(Dy=+Au[1]);var jz=Dy,Nn=function(t){try{return!!t()}catch(e){return!0}},Bx=!!Object.getOwnPropertySymbols&&!Nn(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&jz&&jz<41}),Fx=Bx&&!Symbol.sham&&typeof Symbol.iterator=="symbol",d0=Dx("wks"),ul=Yt.Symbol,_z=ul&&ul.for,i1t=Fx?ul:ul&&ul.withoutSetter||kz,ku=function(t){if(!bo(d0,t)||!Bx&&typeof d0[t]!="string"){var e="Symbol."+t;Bx&&bo(ul,t)?d0[t]=ul[t]:d0[t]=Fx&&_z?_z(e):i1t(e)}return d0[t]},Iz={};Iz[ku("toStringTag")]="z";var Tx=String(Iz)==="[object z]",bi=!Nn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Mo=function(t){return typeof t=="object"?t!==null:nr(t)},Px=Yt.document,a1t=Mo(Px)&&Mo(Px.createElement),jx=function(t){return a1t?Px.createElement(t):{}},Nz=!bi&&!Nn(function(){return Object.defineProperty(jx("div"),"a",{get:function(){return 7}}).a!=7}),u1t=Yt.String,s1t=Yt.TypeError,zo=function(t){if(Mo(t))return t;throw s1t(u1t(t)+" is not an object")},p0=Function.prototype.call,kn=p0.bind?p0.bind(p0):function(){return p0.apply(p0,arguments)},Lz=ye({}.isPrototypeOf),l1t=Yt.Object,_x=Fx?function(t){return typeof t=="symbol"}:function(t){var e=f0("Symbol");return nr(e)&&Lz(e.prototype,l1t(t))},c1t=Yt.String,Rz=function(t){try{return c1t(t)}catch(e){return"Object"}},f1t=Yt.TypeError,Mz=function(t){if(nr(t))return t;throw f1t(Rz(t)+" is not a function")},zz=function(t,e){var n=t[e];return n==null?void 0:Mz(n)},d1t=Yt.TypeError,p1t=Yt.TypeError,h1t=ku("toPrimitive"),Ix=function(t){var e=function(n,r){if(!Mo(n)||_x(n))return n;var o,i=zz(n,h1t);if(i){if(r===void 0&&(r="default"),o=kn(i,n,r),!Mo(o)||_x(o))return o;throw p1t("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&nr(s=a.toString)&&!Mo(l=kn(s,a))||nr(s=a.valueOf)&&!Mo(l=kn(s,a))||u!=="string"&&nr(s=a.toString)&&!Mo(l=kn(s,a)))return l;throw d1t("Can't convert object to primitive value")}(n,r)}(t,"string");return _x(e)?e:e+""},g1t=Yt.TypeError,$z=Object.defineProperty,Ay={f:bi?$z:function(t,e,n){if(zo(t),e=Ix(e),zo(n),Nz)try{return $z(t,e,n)}catch(r){}if("get"in n||"set"in n)throw g1t("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Nx=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},gf=bi?function(t,e,n){return Ay.f(t,e,Nx(1,n))}:function(t,e,n){return t[e]=n,t},v1t=ye(Function.toString);nr(Ou.inspectSource)||(Ou.inspectSource=function(t){return v1t(t)});var Oy,h0,ky,Lx=Ou.inspectSource,Hz=Yt.WeakMap,m1t=nr(Hz)&&/native code/.test(Lx(Hz)),Uz=Dx("keys"),Vz=function(t){return Uz[t]||(Uz[t]=kz(t))},Rx={},Mx=Yt.TypeError,y1t=Yt.WeakMap;if(m1t||Ou.state){var sl=Ou.state||(Ou.state=new y1t),b1t=ye(sl.get),Wz=ye(sl.has),w1t=ye(sl.set);Oy=function(t,e){if(Wz(sl,t))throw new Mx("Object already initialized");return e.facade=t,w1t(sl,t,e),e},h0=function(t){return b1t(sl,t)||{}},ky=function(t){return Wz(sl,t)}}else{var vf=Vz("state");Rx[vf]=!0,Oy=function(t,e){if(bo(t,vf))throw new Mx("Object already initialized");return e.facade=t,gf(t,vf,e),e},h0=function(t){return bo(t,vf)?t[vf]:{}},ky=function(t){return bo(t,vf)}}var zx={set:Oy,get:h0,has:ky,enforce:function(t){return ky(t)?h0(t):Oy(t,{})},getterFor:function(t){return function(e){var n;if(!Mo(e)||(n=h0(e)).type!==t)throw Mx("Incompatible receiver, "+t+" required");return n}}},Gz=Function.prototype,E1t=bi&&Object.getOwnPropertyDescriptor,$x=bo(Gz,"name"),Kz={EXISTS:$x,PROPER:$x&&function(){}.name==="something",CONFIGURABLE:$x&&(!bi||bi&&E1t(Gz,"name").configurable)},g0=Sx(function(t){var e=Kz.CONFIGURABLE,n=zx.get,r=zx.enforce,o=String(String).split("String");(t.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet,d=s&&s.name!==void 0?s.name:a;nr(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!bo(u,"name")||e&&u.name!==d)&&gf(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==Yt?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:gf(i,a,u)):f?i[a]=u:Cx(a,u)})(Function.prototype,"toString",function(){return nr(this)&&n(this).source||Lx(this)})}),S1t=ye({}.toString),C1t=ye("".slice),Bu=function(t){return C1t(S1t(t),8,-1)},D1t=ku("toStringTag"),x1t=Yt.Object,A1t=Bu(function(){return arguments}())=="Arguments",Hx=Tx?Bu:function(t){var e,n,r;return t===void 0?"Undefined":t===null?"Null":typeof(n=function(o,i){try{return o[i]}catch(a){}}(e=x1t(t),D1t))=="string"?n:A1t?Bu(e):(r=Bu(e))=="Object"&&nr(e.callee)?"Arguments":r},O1t=Tx?{}.toString:function(){return"[object "+Hx(this)+"]"};Tx||g0(Object.prototype,"toString",O1t,{unsafe:!0});var qz,Zz={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Ux=jx("span").classList,Yz=Ux&&Ux.constructor&&Ux.constructor.prototype,k1t=Yz===Object.prototype?void 0:Yz,Xz=ye(ye.bind),Vx=Yt.Object,B1t=ye("".split),Wx=Nn(function(){return!Vx("z").propertyIsEnumerable(0)})?function(t){return Bu(t)=="String"?B1t(t,""):Vx(t)}:Vx,F1t=Math.ceil,T1t=Math.floor,Gx=function(t){var e=+t;return e!=e||e===0?0:(e>0?T1t:F1t)(e)},P1t=Math.min,Jz=function(t){return t>0?P1t(Gx(t),9007199254740991):0},Kx=function(t){return Jz(t.length)},Qz=Array.isArray||function(t){return Bu(t)=="Array"},t$=function(){},j1t=[],e$=f0("Reflect","construct"),qx=/^\s*(?:class|function)\b/,_1t=ye(qx.exec),I1t=!qx.exec(t$),v0=function(t){if(!nr(t))return!1;try{return e$(t$,j1t,t),!0}catch(e){return!1}},n$=!e$||Nn(function(){var t;return v0(v0.call)||!v0(Object)||!v0(function(){t=!0})||t})?function(t){if(!nr(t))return!1;switch(Hx(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return I1t||!!_1t(qx,Lx(t))}:v0,N1t=ku("species"),r$=Yt.Array,L1t=function(t,e){return new(function(n){var r;return Qz(n)&&(r=n.constructor,(n$(r)&&(r===r$||Qz(r.prototype))||Mo(r)&&(r=r[N1t])===null)&&(r=void 0)),r===void 0?r$:r}(t))(e===0?0:e)},o$=ye([].push),Fu=function(t){var e=t==1,n=t==2,r=t==3,o=t==4,i=t==6,a=t==7,u=t==5||i;return function(s,l,c,f){for(var p,d,y=Ox(s),g=Wx(y),v=function(S,D){return Mz(S),D===void 0?S:Xz?Xz(S,D):function(){return S.apply(D,arguments)}}(l,c),m=Kx(g),h=0,b=f||L1t,w=e?b(s,m):n||a?b(s,0):void 0;m>h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),t))if(e)w[h]=d;else if(d)switch(t){case 3:return!0;case 5:return p;case 6:return h;case 2:o$(w,p)}else switch(t){case 4:return!1;case 7:o$(w,p)}return i?-1:r||o?o:w}},R1t=[Fu(0),Fu(1),Fu(2),Fu(3),Fu(4),Fu(5),Fu(6),Fu(7)][0],Zx=(qz=[].forEach)&&Nn(function(){qz.call(null,function(){throw 1},1)})?[].forEach:function(t){return R1t(this,t,arguments.length>1?arguments[1]:void 0)},i$=function(t){if(t&&t.forEach!==Zx)try{gf(t,"forEach",Zx)}catch(e){t.forEach=Zx}};for(var Yx in Zz)Zz[Yx]&&i$(Yt[Yx]&&Yt[Yx].prototype);i$(k1t);var a$={}.propertyIsEnumerable,u$=Object.getOwnPropertyDescriptor,s$={f:u$&&!a$.call({1:2},1)?function(t){var e=u$(this,t);return!!e&&e.enumerable}:a$},By=function(t){return Wx(hf(t))},l$=Object.getOwnPropertyDescriptor,c$={f:bi?l$:function(t,e){if(t=By(t),e=Ix(e),Nz)try{return l$(t,e)}catch(n){}if(bo(t,e))return Nx(!kn(s$.f,t,e),t[e])}},M1t=Math.max,z1t=Math.min,Xx=function(t,e){var n=Gx(t);return n<0?M1t(n+e,0):z1t(n,e)},f$=function(t){return function(e,n,r){var o,i=By(e),a=Kx(i),u=Xx(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},$1t=(f$(!0),f$(!1)),d$=ye([].push),p$=function(t,e){var n,r=By(t),o=0,i=[];for(n in r)!bo(Rx,n)&&bo(r,n)&&d$(i,n);for(;e.length>o;)bo(r,n=e[o++])&&(~$1t(i,n)||d$(i,n));return i},Fy=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],H1t=Fy.concat("length","prototype"),U1t={f:Object.getOwnPropertyNames||function(t){return p$(t,H1t)}},h$={f:Object.getOwnPropertySymbols},V1t=ye([].concat),W1t=f0("Reflect","ownKeys")||function(t){var e=U1t.f(zo(t)),n=h$.f;return n?V1t(e,n(t)):e},G1t=function(t,e){for(var n=W1t(e),r=Ay.f,o=c$.f,i=0;i<n.length;i++){var a=n[i];bo(t,a)||r(t,a,o(e,a))}},K1t=/#|\.prototype\./,m0=function(t,e){var n=Z1t[q1t(t)];return n==X1t||n!=Y1t&&(nr(e)?Nn(e):!!e)},q1t=m0.normalize=function(t){return String(t).replace(K1t,".").toLowerCase()},Z1t=m0.data={},Y1t=m0.NATIVE="N",X1t=m0.POLYFILL="P",J1t=m0,Q1t=c$.f,Ty=function(t,e){var n,r,o,i,a,u=t.target,s=t.global,l=t.stat;if(n=s?Yt:l?Yt[u]||Cx(u,{}):(Yt[u]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=Q1t(n,r))&&a.value:n[r],!J1t(s?r:u+(l?".":"#")+r,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;G1t(i,o)}(t.sham||o&&o.sham)&&gf(i,"sham",!0),g0(n,r,i,t)}},Py=Object.keys||function(t){return p$(t,Fy)},mf=Object.assign,g$=Object.defineProperty,tmt=ye([].concat),v$=!mf||Nn(function(){if(bi&&mf({b:1},mf(g$({},"a",{enumerable:!0,get:function(){g$(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(o){e[o]=o}),mf({},t)[n]!=7||Py(mf({},e)).join("")!=r})?function(t,e){for(var n=Ox(t),r=arguments.length,o=1,i=h$.f,a=s$.f;r>o;)for(var u,s=Wx(arguments[o++]),l=i?tmt(Py(s),i(s)):Py(s),c=l.length,f=0;c>f;)u=l[f++],bi&&!kn(a,s,u)||(n[u]=s[u]);return n}:mf;Ty({target:"Object",stat:!0,forced:Object.assign!==v$},{assign:v$});var m$=Sx(function(t){var e=function(n){var r=/\blang(?:uage)?-([\w-]+)\b/i,o=0,i={},a={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:function v(m){return m instanceof u?new u(m.type,v(m.content),m.alias):Array.isArray(m)?m.map(v):m.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(v){return Object.prototype.toString.call(v).slice(8,-1)},objId:function(v){return v.__id||Object.defineProperty(v,"__id",{value:++o}),v.__id},clone:function v(m,h){var b,w;switch(h=h||{},a.util.type(m)){case"Object":if(w=a.util.objId(m),h[w])return h[w];for(var S in b={},h[w]=b,m)m.hasOwnProperty(S)&&(b[S]=v(m[S],h));return b;case"Array":return w=a.util.objId(m),h[w]?h[w]:(b=[],h[w]=b,m.forEach(function(D,C){b[C]=v(D,h)}),b);default:return m}},getLanguage:function(v){for(;v&&!r.test(v.className);)v=v.parentElement;return v?(v.className.match(r)||[,"none"])[1].toLowerCase():"none"},currentScript:function(){if(typeof document=="undefined")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(b){var v=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(b.stack)||[])[1];if(v){var m=document.getElementsByTagName("script");for(var h in m)if(m[h].src==v)return m[h]}return null}},isActive:function(v,m,h){for(var b="no-"+m;v;){var w=v.classList;if(w.contains(m))return!0;if(w.contains(b))return!1;v=v.parentElement}return!!h}},languages:{plain:i,plaintext:i,text:i,txt:i,extend:function(v,m){var h=a.util.clone(a.languages[v]);for(var b in m)h[b]=m[b];return h},insertBefore:function(v,m,h,b){var w=(b=b||a.languages)[v],S={};for(var D in w)if(w.hasOwnProperty(D)){if(D==m)for(var C in h)h.hasOwnProperty(C)&&(S[C]=h[C]);h.hasOwnProperty(D)||(S[D]=w[D])}var O=b[v];return b[v]=S,a.languages.DFS(a.languages,function(T,L){L===O&&T!=v&&(this[T]=S)}),S},DFS:function v(m,h,b,w){w=w||{};var S=a.util.objId;for(var D in m)if(m.hasOwnProperty(D)){h.call(m,D,m[D],b||D);var C=m[D],O=a.util.type(C);O!=="Object"||w[S(C)]?O!=="Array"||w[S(C)]||(w[S(C)]=!0,v(C,h,D,w)):(w[S(C)]=!0,v(C,h,null,w))}}},plugins:{},highlightAll:function(v,m){a.highlightAllUnder(document,v,m)},highlightAllUnder:function(v,m,h){var b={callback:h,container:v,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};a.hooks.run("before-highlightall",b),b.elements=Array.prototype.slice.apply(b.container.querySelectorAll(b.selector)),a.hooks.run("before-all-elements-highlight",b);for(var w,S=0;w=b.elements[S++];)a.highlightElement(w,m===!0,b.callback)},highlightElement:function(v,m,h){var b=a.util.getLanguage(v),w=a.languages[b];v.className=v.className.replace(r,"").replace(/\s+/g," ")+" language-"+b;var S=v.parentElement;S&&S.nodeName.toLowerCase()==="pre"&&(S.className=S.className.replace(r,"").replace(/\s+/g," ")+" language-"+b);var D={element:v,language:b,grammar:w,code:v.textContent};function C(T){D.highlightedCode=T,a.hooks.run("before-insert",D),D.element.innerHTML=D.highlightedCode,a.hooks.run("after-highlight",D),a.hooks.run("complete",D),h&&h.call(D.element)}if(a.hooks.run("before-sanity-check",D),(S=D.element.parentElement)&&S.nodeName.toLowerCase()==="pre"&&!S.hasAttribute("tabindex")&&S.setAttribute("tabindex","0"),!D.code)return a.hooks.run("complete",D),void(h&&h.call(D.element));if(a.hooks.run("before-highlight",D),D.grammar)if(m&&n.Worker){var O=new Worker(a.filename);O.onmessage=function(T){C(T.data)},O.postMessage(JSON.stringify({language:D.language,code:D.code,immediateClose:!0}))}else C(a.highlight(D.code,D.grammar,D.language));else C(a.util.encode(D.code))},highlight:function(v,m,h){var b={code:v,grammar:m,language:h};return a.hooks.run("before-tokenize",b),b.tokens=a.tokenize(b.code,b.grammar),a.hooks.run("after-tokenize",b),u.stringify(a.util.encode(b.tokens),b.language)},tokenize:function(v,m){var h=m.rest;if(h){for(var b in h)m[b]=h[b];delete m.rest}var w=new c;return f(w,w.head,v),l(v,w,m,w.head,0),function(S){for(var D=[],C=S.head.next;C!==S.tail;)D.push(C.value),C=C.next;return D}(w)},hooks:{all:{},add:function(v,m){var h=a.hooks.all;h[v]=h[v]||[],h[v].push(m)},run:function(v,m){var h=a.hooks.all[v];if(h&&h.length)for(var b,w=0;b=h[w++];)b(m)}},Token:u};function u(v,m,h,b){this.type=v,this.content=m,this.alias=h,this.length=0|(b||"").length}function s(v,m,h,b){v.lastIndex=m;var w=v.exec(h);if(w&&b&&w[1]){var S=w[1].length;w.index+=S,w[0]=w[0].slice(S)}return w}function l(v,m,h,b,w,S){for(var D in h)if(h.hasOwnProperty(D)&&h[D]){var C=h[D];C=Array.isArray(C)?C:[C];for(var O=0;O<C.length;++O){if(S&&S.cause==D+","+O)return;var T=C[O],L=T.inside,z=!!T.lookbehind,$=!!T.greedy,Y=T.alias;if($&&!T.pattern.global){var G=T.pattern.toString().match(/[imsuy]*$/)[0];T.pattern=RegExp(T.pattern.source,G+"g")}for(var K=T.pattern||T,Z=b.next,ut=w;Z!==m.tail&&!(S&&ut>=S.reach);ut+=Z.value.length,Z=Z.next){var yt=Z.value;if(m.length>v.length)return;if(!(yt instanceof u)){var mt,gt=1;if($){if(!(mt=s(K,ut,v,z)))break;var B=mt.index,x=mt.index+mt[0].length,j=ut;for(j+=Z.value.length;B>=j;)j+=(Z=Z.next).value.length;if(ut=j-=Z.value.length,Z.value instanceof u)continue;for(var U=Z;U!==m.tail&&(j<x||typeof U.value=="string");U=U.next)gt++,j+=U.value.length;gt--,yt=v.slice(ut,j),mt.index-=ut}else if(!(mt=s(K,0,yt,z)))continue;B=mt.index;var X=mt[0],W=yt.slice(0,B),dt=yt.slice(B+X.length),Dt=ut+yt.length;S&&Dt>S.reach&&(S.reach=Dt);var Tt=Z.prev;if(W&&(Tt=f(m,Tt,W),ut+=W.length),p(m,Tt,gt),Z=f(m,Tt,new u(D,L?a.tokenize(X,L):X,Y,X)),dt&&f(m,Z,dt),gt>1){var Rt={cause:D+","+O,reach:Dt};l(v,m,h,Z.prev,ut,Rt),S&&Rt.reach>S.reach&&(S.reach=Rt.reach)}}}}}}function c(){var v={value:null,prev:null,next:null},m={value:null,prev:v,next:null};v.next=m,this.head=v,this.tail=m,this.length=0}function f(v,m,h){var b=m.next,w={value:h,prev:m,next:b};return m.next=w,b.prev=w,v.length++,w}function p(v,m,h){for(var b=m.next,w=0;w<h&&b!==v.tail;w++)b=b.next;m.next=b,b.prev=m,v.length-=w}if(n.Prism=a,u.stringify=function v(m,h){if(typeof m=="string")return m;if(Array.isArray(m)){var b="";return m.forEach(function(O){b+=v(O,h)}),b}var w={type:m.type,content:v(m.content,h),tag:"span",classes:["token",m.type],attributes:{},language:h},S=m.alias;S&&(Array.isArray(S)?Array.prototype.push.apply(w.classes,S):w.classes.push(S)),a.hooks.run("wrap",w);var D="";for(var C in w.attributes)D+=" "+C+'="'+(w.attributes[C]||"").replace(/"/g,"&quot;")+'"';return"<"+w.tag+' class="'+w.classes.join(" ")+'"'+D+">"+w.content+"</"+w.tag+">"},!n.document)return n.addEventListener&&(a.disableWorkerMessageHandler||n.addEventListener("message",function(v){var m=JSON.parse(v.data),h=m.language,b=m.code,w=m.immediateClose;n.postMessage(a.highlight(b,a.languages[h],h)),w&&n.close()},!1)),a;var d=a.util.currentScript();function y(){a.manual||a.highlightAll()}if(d&&(a.filename=d.src,d.hasAttribute("data-manual")&&(a.manual=!0)),!a.manual){var g=document.readyState;g==="loading"||g==="interactive"&&d&&d.defer?document.addEventListener("DOMContentLoaded",y):window.requestAnimationFrame?window.requestAnimationFrame(y):window.setTimeout(y,16)}return a}(typeof window!="undefined"?window:typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope?self:{});/**
  153. * Prism: Lightweight, robust, elegant syntax highlighting
  154. *
  155. * @license MIT <https://opensource.org/licenses/MIT>
  156. * @author Lea Verou <https://lea.verou.me>
  157. * @namespace
  158. * @public
  159. */t.exports&&(t.exports=e),Cy!==void 0&&(Cy.Prism=e),e.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},e.languages.markup.tag.inside["attr-value"].inside.entity=e.languages.markup.entity,e.languages.markup.doctype.inside["internal-subset"].inside=e.languages.markup,e.hooks.add("wrap",function(n){n.type==="entity"&&(n.attributes.title=n.content.replace(/&amp;/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(n,r){var o={};o["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[r]},o.cdata=/^<!\[CDATA\[|\]\]>$/i;var i={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:o}};i["language-"+r]={pattern:/[\s\S]+/,inside:e.languages[r]};var a={};a[n]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return n}),"i"),lookbehind:!0,greedy:!0,inside:i},e.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(n,r){e.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+n+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:e.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),e.languages.html=e.languages.markup,e.languages.mathml=e.languages.markup,e.languages.svg=e.languages.markup,e.languages.xml=e.languages.extend("markup",{}),e.languages.ssml=e.languages.xml,e.languages.atom=e.languages.xml,e.languages.rss=e.languages.xml,function(n){var r=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;n.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+r.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+r.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+r.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:r,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},n.languages.css.atrule.inside.rest=n.languages.css;var o=n.languages.markup;o&&(o.tag.addInlined("style","css"),o.tag.addAttribute("style","css"))}(e),e.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},e.languages.javascript=e.languages.extend("clike",{"class-name":[e.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:e.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:e.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:e.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:e.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:e.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),e.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:e.languages.javascript}},string:/[\s\S]+/}}}),e.languages.markup&&(e.languages.markup.tag.addInlined("script","javascript"),e.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),e.languages.js=e.languages.javascript,function(){if(e!==void 0&&typeof document!="undefined"){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var n={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},r="data-src-status",o='pre[data-src]:not([data-src-status="loaded"]):not([data-src-status="loading"])',i=/\blang(?:uage)?-([\w-]+)\b/i;e.hooks.add("before-highlightall",function(s){s.selector+=", "+o}),e.hooks.add("before-sanity-check",function(s){var l=s.element;if(l.matches(o)){s.code="",l.setAttribute(r,"loading");var c=l.appendChild(document.createElement("CODE"));c.textContent="Loading\u2026";var f=l.getAttribute("data-src"),p=s.language;if(p==="none"){var d=(/\.(\w+)$/.exec(f)||[,"none"])[1];p=n[d]||d}u(c,p),u(l,p);var y=e.plugins.autoloader;y&&y.loadLanguages(p);var g=new XMLHttpRequest;g.open("GET",f,!0),g.onreadystatechange=function(){g.readyState==4&&(g.status<400&&g.responseText?(l.setAttribute(r,"loaded"),c.textContent=g.responseText,e.highlightElement(c)):(l.setAttribute(r,"failed"),g.status>=400?c.textContent="\u2716 Error "+g.status+" while fetching file: "+g.statusText:c.textContent="\u2716 Error: File does not exist or is empty"))},g.send(null)}}),e.plugins.fileHighlight={highlight:function(s){for(var l,c=(s||document).querySelectorAll(o),f=0;l=c[f++];)e.highlightElement(l)}};var a=!1;e.fileHighlight=function(){a||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),a=!0),e.plugins.fileHighlight.highlight.apply(this,arguments)}}function u(s,l){var c=s.className;c=c.replace(i," ")+" language-"+l,s.className=c.replace(/\s+/g," ").trim()}}()});(function(t){var e=t.util.clone(t.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,r=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(s,l){return s=s.replace(/<S>/g,function(){return n}).replace(/<BRACES>/g,function(){return r}).replace(/<SPREAD>/g,function(){return o}),RegExp(s,l)}o=i(o).source,t.languages.jsx=t.languages.extend("markup",e),t.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),t.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,t.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/i,t.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,t.languages.jsx.tag.inside.comment=e.comment,t.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:t.languages.jsx}},t.languages.jsx.tag),t.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:t.languages.jsx},alias:"language-javascript"}},t.languages.jsx.tag);var a=function(s){return s?typeof s=="string"?s:typeof s.content=="string"?s.content:s.content.map(a).join(""):""},u=function(s){for(var l=[],c=0;c<s.length;c++){var f=s[c],p=!1;if(typeof f!="string"&&(f.type==="tag"&&f.content[0]&&f.content[0].type==="tag"?f.content[0].content[0].content==="</"?l.length>0&&l[l.length-1].tagName===a(f.content[0].content[1])&&l.pop():f.content[f.content.length-1].content==="/>"||l.push({tagName:a(f.content[0].content[1]),openedBraces:0}):l.length>0&&f.type==="punctuation"&&f.content==="{"?l[l.length-1].openedBraces++:l.length>0&&l[l.length-1].openedBraces>0&&f.type==="punctuation"&&f.content==="}"?l[l.length-1].openedBraces--:p=!0),(p||typeof f=="string")&&l.length>0&&l[l.length-1].openedBraces===0){var d=a(f);c<s.length-1&&(typeof s[c+1]=="string"||s[c+1].type==="plain-text")&&(d+=a(s[c+1]),s.splice(c+1,1)),c>0&&(typeof s[c-1]=="string"||s[c-1].type==="plain-text")&&(d=a(s[c-1])+d,s.splice(c-1,1),c--),s[c]=new t.Token("plain-text",d,null,d)}f.content&&typeof f.content!="string"&&u(f.content)}};t.hooks.add("after-tokenize",function(s){s.language!=="jsx"&&s.language!=="tsx"||u(s.tokens)})})(Prism),function(t){t.languages.typescript=t.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),t.languages.typescript.keyword.push(/\b(?:abstract|as|declare|implements|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete t.languages.typescript.parameter;var e=t.languages.extend("typescript",{});delete e["class-name"],t.languages.typescript["class-name"].inside=e,t.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e}}}}),t.languages.ts=t.languages.typescript}(Prism),Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(t){t.type==="entity"&&(t.attributes.title=t.content.replace(/&amp;/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(t,e){var n={};n["language-"+e]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[e]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+e]={pattern:/[\s\S]+/,inside:Prism.languages[e]};var o={};o[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:r},Prism.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(t,e){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+t+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[e,"language-"+e],inside:Prism.languages[e]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(["'`])(?:\\[\s\S]|(?!\1)[^\\])*\1/,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|iota|nil|true|false)\b/,number:/(?:\b0x[a-f\d]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[-+]?\d+)?)i?/i,operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:bool|byte|complex(?:64|128)|error|float(?:32|64)|rune|string|u?int(?:8|16|32|64)?|uintptr|append|cap|close|complex|copy|delete|imag|len|make|new|panic|print(?:ln)?|real|recover)\b/}),delete Prism.languages.go["class-name"],function(t){var e=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],r=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,o=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,i=/[{}\[\](),:;]/;t.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:e,variable:/\$+(?:\w+\b|(?=\{))/i,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:bool|boolean|int|integer|float|string|object|array)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:bool|int|float|string|object|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*[\w|]\|\s*)(?:null|false)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|self|static|callable|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?[\w|]\|\s*)(?:null|false)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:bool|int|float|string|object|void|array(?!\s*\()|mixed|iterable|(?:null|false)(?=\s*\|))\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:null|false)\b/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:__halt_compiler|abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|namespace|match|new|or|parent|print|private|protected|public|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s+)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:r,operator:o,punctuation:i};var a={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:t.languages.php},u=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:a}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:a}}];t.languages.insertBefore("php","variable",{string:u,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:e,string:u,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:r,operator:o,punctuation:i}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),t.hooks.add("before-tokenize",function(s){/<\?/.test(s.code)&&t.languages["markup-templating"].buildPlaceholders(s,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/gi)}),t.hooks.add("after-tokenize",function(s){t.languages["markup-templating"].tokenizePlaceholders(s,"php")})}(Prism),Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:__attribute__|_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|asm|typeof|inline|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}},constant:/\b(?:__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|__func__|EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|stdin|stdout|stderr)\b/}),delete Prism.languages.c.boolean,Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0},"string-interpolation":{pattern:/(?:f|rf|fr)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|rb|br)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|rb|br)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/im,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:and|as|assert|async|await|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:True|False|None)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?\b/i,operator:/[-+%=]=?|!=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python,function(t){var e=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,n=/(^|[^\w.])(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,r={pattern:RegExp(n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};t.languages.java=t.languages.extend("clike",{"class-name":[r,{pattern:RegExp(n+/[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source),lookbehind:!0,inside:r.inside}],keyword:e,function:[t.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0}}),t.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"}}),t.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":r,keyword:e,punctuation:/[<>(),.:]/,operator:/[?&|]/}},namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return e.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism),function(t){var e=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char8_t|char16_t|char32_t|class|compl|concept|const|consteval|constexpr|constinit|const_cast|continue|co_await|co_return|co_yield|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int8_t|int16_t|int32_t|int64_t|uint8_t|uint16_t|uint32_t|uint64_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return e.source});t.languages.cpp=t.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return e.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:e,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:true|false)\b/}),t.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:module|import)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return n})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),t.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t.languages.cpp}}}}),t.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),t.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:t.languages.extend("cpp",{})}}),t.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},t.languages.cpp["base-clause"])}(Prism),function(t){function e(x,j){return x.replace(/<<(\d+)>>/g,function(U,X){return"(?:"+j[+X]+")"})}function n(x,j,U){return RegExp(e(x,j),U||"")}function r(x,j){for(var U=0;U<j;U++)x=x.replace(/<<self>>/g,function(){return"(?:"+x+")"});return x.replace(/<<self>>/g,"[^\\s\\S]")}var o="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",i="class enum interface record struct",a="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",u="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function s(x){return"\\b(?:"+x.trim().replace(/ /g,"|")+")\\b"}var l=s(i),c=RegExp(s(o+" "+i+" "+a+" "+u)),f=s(i+" "+a+" "+u),p=s(o+" "+i+" "+u),d=r(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),y=r(/\((?:[^()]|<<self>>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,v=e(/<<0>>(?:\s*<<1>>)?/.source,[g,d]),m=e(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[f,v]),h=/\[\s*(?:,\s*)*\]/.source,b=e(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[m,h]),w=e(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[d,y,h]),S=e(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),D=e(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[S,m,h]),C={keyword:c,punctuation:/[<>()?,.:[\]]/},O=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,T=/"(?:\\.|[^\\"\r\n])*"/.source,L=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;t.languages.csharp=t.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[L]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[T]),lookbehind:!0,greedy:!0},{pattern:RegExp(O),greedy:!0,alias:"character"}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[m]),lookbehind:!0,inside:C},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,D]),lookbehind:!0,inside:C},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[l,v]),lookbehind:!0,inside:C},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[m]),lookbehind:!0,inside:C},{pattern:n(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:C},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[D,p,g]),inside:C}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:ul|lu|[dflmu])?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),t.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),t.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),t.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|typeof|sizeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[y]),lookbehind:!0,alias:"class-name",inside:C},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[D,m]),inside:C,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[D]),lookbehind:!0,inside:C,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,d]),inside:{function:n(/^<<0>>/.source,[g]),generic:{pattern:RegExp(d),alias:"class-name",inside:C}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[l,v,g,D,c.source,y,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[v,y]),lookbehind:!0,greedy:!0,inside:t.languages.csharp},keyword:c,"class-name":{pattern:RegExp(D),greedy:!0,inside:C},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var z=T+"|"+O,$=e(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[z]),Y=r(e(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[$]),2),G=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,K=e(/<<0>>(?:\s*\(<<1>>*\))?/.source,[m,Y]);t.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[G,K]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[G]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[Y]),inside:t.languages.csharp},"class-name":{pattern:RegExp(m),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var Z=/:[^}\r\n]+/.source,ut=r(e(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[$]),2),yt=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[ut,Z]),mt=r(e(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[z]),2),gt=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[mt,Z]);function B(x,j){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[x]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[j,Z]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:t.languages.csharp}}},string:/[\s\S]+/}}t.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[yt]),lookbehind:!0,greedy:!0,inside:B(yt,ut)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[gt]),lookbehind:!0,greedy:!0,inside:B(gt,mt)}]})}(Prism),Prism.languages.dotnet=Prism.languages.cs=Prism.languages.csharp,Prism.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:[^\S\r\n]_[^\S\r\n]*(?:\r\n?|\n)|.)+/i,alias:"comment",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[^\S\r\n]*(?:\d+([/-])\d+\1\d+(?:[^\S\r\n]+(?:\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?))?|\d+[^\S\r\n]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[^\S\r\n]*(?:AM|PM))?)[^\S\r\n]*#/i,alias:"builtin"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:U?[ILS]|[FRD])?/i,boolean:/\b(?:True|False|Nothing)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Until|Xor)\b/i,operator:[/[+\-*/\\^<=>&#@$%!]/,{pattern:/([^\S\r\n])_(?=[^\S\r\n]*[\r\n])/,lookbehind:!0}],punctuation:/[{}().,:?]/},Prism.languages.vb=Prism.languages["visual-basic"],Prism.languages.vba=Prism.languages["visual-basic"],Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:_INSERT|COL)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:S|ING)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:TRUE|FALSE|NULL)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|IN|ILIKE|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(t){t.languages.ruby=t.languages.extend("clike",{comment:[/#.*/,{pattern:/^=begin\s[\s\S]*?^=end/m,greedy:!0}],"class-name":{pattern:/(\b(?:class)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:alias|and|BEGIN|begin|break|case|class|def|define_method|defined|do|each|else|elsif|END|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|protected|private|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/});var e={pattern:/#\{[^}]+\}/,inside:{delimiter:{pattern:/^#\{|\}$/,alias:"tag"},rest:t.languages.ruby}};delete t.languages.ruby.function,t.languages.insertBefore("ruby","keyword",{regex:[{pattern:RegExp(/%r/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:e}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:e}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:{pattern:/(^|[^:]):[a-zA-Z_]\w*(?:[?!]|\b)/,lookbehind:!0},"method-definition":{pattern:/(\bdef\s+)[\w.]+/,lookbehind:!0,inside:{function:/\w+$/,rest:t.languages.ruby}}}),t.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Stat|Fixnum|Float|Hash|Integer|IO|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|String|Struct|TMS|Symbol|ThreadGroup|Thread|Time|TrueClass)\b/,constant:/\b[A-Z]\w*(?:[?!]|\b)/}),t.languages.ruby.string=[{pattern:RegExp(/%[qQiIwWxs]?/.source+"(?:"+[/([^a-zA-Z0-9\s{(\[<])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S])*\)/.source,/\{(?:[^#{}\\]|#(?:\{[^}]+\})?|\\[\s\S])*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S])*\]/.source,/<(?:[^<>\\]|\\[\s\S])*>/.source].join("|")+")"),greedy:!0,inside:{interpolation:e}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:e}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?/}},interpolation:e}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|[a-z_]\w*$/i,alias:"symbol",inside:{punctuation:/^<<[-~]?'|'$/}}}}],t.languages.rb=t.languages.ruby}(Prism),Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ ]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:true|false)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:true|false)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach(function(t){t.inside.interpolation.inside=Prism.languages.swift}),function(t){var e="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},r={bash:n,environment:{pattern:RegExp("\\$"+e),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+e),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};t.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+e),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:r},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:r},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:r.entity}}],environment:{pattern:RegExp("\\$?"+e),alias:"constant"},variable:r.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},n.inside=t.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=r.variable[1].inside,a=0;a<o.length;a++)i[o[a]]=t.languages.bash[o[a]];t.languages.shell=t.languages.bash}(Prism),function(t){var e=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(l){return l=l.replace(/<inner>/g,function(){return e}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+l+")")}var r=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return r}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;t.languages.markdown=t.languages.extend("markup",{}),t.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"font-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:t.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+i+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+i+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(r),inside:t.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(r),alias:"important",inside:t.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(l){["url","bold","italic","strike","code-snippet"].forEach(function(c){l!==c&&(t.languages.markdown[l].inside.content.inside[c]=t.languages.markdown[c])})}),t.hooks.add("after-tokenize",function(l){l.language!=="markdown"&&l.language!=="md"||function c(f){if(f&&typeof f!="string")for(var p=0,d=f.length;p<d;p++){var y=f[p];if(y.type==="code"){var g=y.content[1],v=y.content[3];if(g&&v&&g.type==="code-language"&&v.type==="code-block"&&typeof g.content=="string"){var m=g.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),h="language-"+(m=(/[a-z][\w-]*/i.exec(m)||[""])[0].toLowerCase());v.alias?typeof v.alias=="string"?v.alias=[v.alias,h]:v.alias.push(h):v.alias=[h]}}else c(y.content)}}(l.tokens)}),t.hooks.add("wrap",function(l){if(l.type==="code-block"){for(var c="",f=0,p=l.classes.length;f<p;f++){var d=l.classes[f],y=/language-(.+)/.exec(d);if(y){c=y[1];break}}var g=t.languages[c];if(g)l.content=t.highlight(function(m){var h=m.replace(a,"");return h.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(b,w){var S;return(w=w.toLowerCase())[0]==="#"?(S=w[1]==="x"?parseInt(w.slice(2),16):Number(w.slice(1)),s(S)):u[w]||b})}(l.content),g,c);else if(c&&c!=="none"&&t.plugins.autoloader){var v="md-"+new Date().valueOf()+"-"+Math.floor(1e16*Math.random());l.attributes.id=v,t.plugins.autoloader.loadLanguages(c,function(){var m=document.getElementById(v);m&&(m.innerHTML=t.highlight(m.textContent,t.languages[c],c))})}}});var a=RegExp(t.languages.markup.tag.pattern.source,"gi"),u={amp:"&",lt:"<",gt:">",quot:'"'},s=String.fromCodePoint||String.fromCharCode;t.languages.md=t.languages.markdown}(Prism),Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/},Prism.languages.groovy=Prism.languages.extend("clike",{string:[{pattern:/("""|''')(?:[^\\]|\\[\s\S])*?\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0},{pattern:/(["'/])(?:\\.|(?!\1)[^\\\r\n])*\1/,greedy:!0}],keyword:/\b(?:as|def|in|abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),Prism.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment"}}),Prism.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:setup|given|when|then|and|cleanup|expect|where):/}),Prism.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),Prism.hooks.add("wrap",function(t){if(t.language==="groovy"&&t.type==="string"){var e=t.content[0];if(e!="'"){var n=/([^\\])(?:\$(?:\{.*?\}|[\w.]+))/;e==="$"&&(n=/([^\$])(?:\$(?:\{.*?\}|[\w.]+))/),t.content=t.content.replace(/&lt;/g,"<").replace(/&amp;/g,"&"),t.content=Prism.highlight(t.content,{expression:{pattern:n,lookbehind:!0,inside:Prism.languages.groovy}}),t.classes.push(e==="/"?"regex":"gstring")}}});var emt=["comment","prolog","doctype","cdata","punctuation","namespace","property","tag","boolean","number","constant","symbol","deleted","selector","attr-name","string","builtin","inserted","operator","entity","url","string","atrule","attr-value","keyword","function","class-name","regex","important","variable","bold","italic","entity","char"];function y$(t){return typeof t=="string"?t.length:typeof t.content=="string"?t.content.length:t.content.reduce(function(e,n){return e+y$(n)},0)}var jy,nmt=Yt.String,Ji=function(t){if(Hx(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return nmt(t)},b$=function(){var t=zo(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e},Jx=Yt.RegExp,Qx=Nn(function(){var t=Jx("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),rmt=Qx||Nn(function(){return!Jx("a","y").sticky}),w$={BROKEN_CARET:Qx||Nn(function(){var t=Jx("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),MISSED_STICKY:rmt,UNSUPPORTED_Y:Qx},omt=bi?Object.defineProperties:function(t,e){zo(t);for(var n,r=By(e),o=Py(e),i=o.length,a=0;i>a;)Ay.f(t,n=o[a++],r[n]);return t},imt=f0("document","documentElement"),E$=Vz("IE_PROTO"),t8=function(){},S$=function(t){return"<script>"+t+"</script>"},C$=function(t){t.write(S$("")),t.close();var e=t.parentWindow.Object;return t=null,e},_y=function(){try{jy=new ActiveXObject("htmlfile")}catch(r){}var t,e;_y=typeof document!="undefined"?document.domain&&jy?C$(jy):((e=jx("iframe")).style.display="none",imt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(S$("document.F=Object")),t.close(),t.F):C$(jy);for(var n=Fy.length;n--;)delete _y.prototype[Fy[n]];return _y()};Rx[E$]=!0;var D$,e8,amt=Object.create||function(t,e){var n;return t!==null?(t8.prototype=zo(t),n=new t8,t8.prototype=null,n[E$]=t):n=_y(),e===void 0?n:omt(n,e)},umt=Yt.RegExp,smt=Nn(function(){var t=umt(".","s");return!(t.dotAll&&t.exec(`
  160. `)&&t.flags==="s")}),lmt=Yt.RegExp,cmt=Nn(function(){var t=lmt("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),fmt=zx.get,dmt=Dx("native-string-replace",String.prototype.replace),Iy=RegExp.prototype.exec,n8=Iy,pmt=ye("".charAt),hmt=ye("".indexOf),gmt=ye("".replace),r8=ye("".slice),o8=(e8=/b*/g,kn(Iy,D$=/a/,"a"),kn(Iy,e8,"a"),D$.lastIndex!==0||e8.lastIndex!==0),x$=w$.BROKEN_CARET,i8=/()??/.exec("")[1]!==void 0;(o8||i8||x$||smt||cmt)&&(n8=function(t){var e,n,r,o,i,a,u,s=this,l=fmt(s),c=Ji(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=kn(n8,f,c),s.lastIndex=f.lastIndex,e;var p=l.groups,d=x$&&s.sticky,y=kn(b$,s),g=s.source,v=0,m=c;if(d&&(y=gmt(y,"y",""),hmt(y,"g")===-1&&(y+="g"),m=r8(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&pmt(c,s.lastIndex-1)!==`
  161. `)&&(g="(?: "+g+")",m=" "+m,v++),n=new RegExp("^(?:"+g+")",y)),i8&&(n=new RegExp("^"+g+"$(?!\\s)",y)),o8&&(r=s.lastIndex),o=kn(Iy,d?n:s,m),d?o?(o.input=r8(o.input,v),o[0]=r8(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:o8&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),i8&&o&&o.length>1&&kn(dmt,o[0],n,function(){for(i=1;i<arguments.length-2;i++)arguments[i]===void 0&&(o[i]=void 0)}),o&&p)for(o.groups=a=amt(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var y0=n8;Ty({target:"RegExp",proto:!0,forced:/./.exec!==y0},{exec:y0});var a8=Function.prototype,A$=a8.apply,vmt=a8.bind,O$=a8.call,mmt=typeof Reflect=="object"&&Reflect.apply||(vmt?O$.bind(A$):function(){return O$.apply(A$,arguments)}),ymt=ku("species"),u8=RegExp.prototype,bmt=ku("match"),wmt=Yt.TypeError,Emt=ku("species"),Smt=ye("".charAt),k$=ye("".charCodeAt),Cmt=ye("".slice),B$=function(t){return function(e,n){var r,o,i=Ji(hf(e)),a=Gx(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=k$(i,a))<55296||r>56319||a+1===u||(o=k$(i,a+1))<56320||o>57343?t?Smt(i,a):r:t?Cmt(i,a,a+2):o-56320+(r-55296<<10)+65536}},Dmt=(B$(!1),B$(!0)),xmt=function(t,e,n){return e+(n?Dmt(t,e).length:1)},Amt=Yt.Array,Omt=Math.max,F$=function(t,e,n){for(var r,o,i,a,u=Kx(t),s=Xx(e,u),l=Xx(n===void 0?u:n,u),c=Amt(Omt(l-s,0)),f=0;s<l;s++,f++)r=c,o=f,i=t[s],(a=Ix(o))in r?Ay.f(r,a,Nx(0,i)):r[a]=i;return c.length=f,c},kmt=Yt.TypeError,T$=function(t,e){var n=t.exec;if(nr(n)){var r=kn(n,t,e);return r!==null&&zo(r),r}if(Bu(t)==="RegExp")return kn(y0,t,e);throw kmt("RegExp#exec called on incompatible receiver")},yf=w$.UNSUPPORTED_Y,Bmt=Math.min,P$=[].push,Fmt=ye(/./.exec),bf=ye(P$),b0=ye("".slice);(function(t,e,n,r){var o=ku(t),i=!Nn(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!Nn(function(){var l=!1,c=/a/;return(c={}).constructor={},c.constructor[ymt]=function(){return c},c.flags="",c[o]=/./[o],c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=ye(/./[o]),s=function(l,c,f){var p;return p="abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?function(d,y){var g,v,m=Ji(hf(this)),h=y===void 0?4294967295:y>>>0;if(h===0)return[];if(d===void 0)return[m];if(!Mo(g=d)||!((v=g[bmt])!==void 0?v:Bu(g)=="RegExp"))return kn(c,m,d,h);for(var b,w,S,D=[],C=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(d.sticky?"y":""),O=0,T=new RegExp(d.source,C+"g");(b=kn(y0,T,m))&&!((w=T.lastIndex)>O&&(bf(D,b0(m,O,b.index)),b.length>1&&b.index<m.length&&mmt(P$,D,F$(b,1)),S=b[0].length,O=w,D.length>=h));)T.lastIndex===b.index&&T.lastIndex++;return O===m.length?!S&&Fmt(T,"")||bf(D,""):bf(D,b0(m,O)),D.length>h?F$(D,0,h):D}:"0".split(void 0,0).length?function(d,y){return d===void 0&&y===0?[]:kn(c,this,d,y)}:c,[function(d,y){var g=hf(this),v=d==null?void 0:zz(d,l);return v?kn(v,d,g,y):kn(p,Ji(g),d,y)},function(d,y){var g=zo(this),v=Ji(d),m=f(p,g,v,y,p!==c);if(m.done)return m.value;var h=function(Y,G){var K,Z=zo(Y).constructor;return Z===void 0||(K=zo(Z)[Emt])==null?G:function(ut){if(n$(ut))return ut;throw wmt(Rz(ut)+" is not a constructor")}(K)}(g,RegExp),b=g.unicode,w=(g.ignoreCase?"i":"")+(g.multiline?"m":"")+(g.unicode?"u":"")+(yf?"g":"y"),S=new h(yf?"^(?:"+g.source+")":g,w),D=y===void 0?4294967295:y>>>0;if(D===0)return[];if(v.length===0)return T$(S,v)===null?[v]:[];for(var C=0,O=0,T=[];O<v.length;){S.lastIndex=yf?0:O;var L,z=T$(S,yf?b0(v,O):v);if(z===null||(L=Bmt(Jz(S.lastIndex+(yf?O:0)),v.length))===C)O=xmt(v,O,b);else{if(bf(T,b0(v,C,O)),T.length===D)return T;for(var $=1;$<=z.length-1;$++)if(bf(T,z[$]),T.length===D)return T;O=C=L}}return bf(T,b0(v,C)),T}]}(o,""[t],function(l,c,f,p,d){var y=ye(l),g=c.exec;return g===y0||g===u8.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:y(f,c,p)}:{done:!1}});g0(String.prototype,t,s[0]),g0(u8,o,s[1])}r&&gf(u8[o],"sham",!0)})("split",0,!!Nn(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return n.length!==2||n[0]!=="a"||n[1]!=="b"}),yf),Ty({global:!0},{globalThis:Yt}),Qr&&(k.fn.attr=Qr);var Tmt=Kz.PROPER,s8=RegExp.prototype,j$=s8.toString,Pmt=ye(b$),jmt=Nn(function(){return j$.call({source:"a",flags:"b"})!="/a/b"}),_mt=Tmt&&j$.name!="toString";(jmt||_mt)&&g0(RegExp.prototype,"toString",function(){var t=zo(this),e=Ji(t.source),n=t.flags;return"/"+e+"/"+Ji(n===void 0&&Lz(s8,t)&&!("flags"in s8)?Pmt(t):n)},{unsafe:!0});var Imt=function(){function t(){this.title=nt("highLightModule.selectLang"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M64 64v896h896V64H64z m487.6 698.8c0 87.2-51.2 127-125.8 127-67.4 0-106.4-34.8-126.4-77l68.6-41.4c13.2 23.4 25.2 43.2 54.2 43.2 27.6 0 45.2-10.8 45.2-53V475.4h84.2v287.4z m199.2 127c-78.2 0-128.8-37.2-153.4-86l68.6-39.6c18 29.4 41.6 51.2 83 51.2 34.8 0 57.2-17.4 57.2-41.6 0-28.8-22.8-39-61.4-56l-21-9c-60.8-25.8-101-58.4-101-127 0-63.2 48.2-111.2 123.2-111.2 53.6 0 92 18.6 119.6 67.4L800 580c-14.4-25.8-30-36-54.2-36-24.6 0-40.2 15.6-40.2 36 0 25.2 15.6 35.4 51.8 51.2l21 9c71.6 30.6 111.8 62 111.8 132.4 0 75.6-59.6 117.2-139.4 117.2z"></path></svg>',this.tag="select",this.width=95,this.selectPanelWidth=115}return t.prototype.getOptions=function(e){var n=[],r=e.getMenuConfig("codeSelectLang").codeLangs,o=r===void 0?[]:r;n.push({text:"plain text",value:""}),o.forEach(function(a){var u=a.text,s=a.value;n.push({text:u,value:s})});var i=this.getValue(e);return n.forEach(function(a){a.value===i?a.selected=!0:delete a.selected}),n},t.prototype.isActive=function(e){return!1},t.prototype.getValue=function(e){var n=this.getSelectCodeElem(e);if(n==null||!bt.isElement(n))return"";var r=n.language.toString(),o=e.getMenuConfig("codeSelectLang").codeLangs;return(o===void 0?[]:o).some(function(i){return i.value===r})?r:""},t.prototype.isDisabled=function(e){return e.selection==null||!this.getSelectCodeElem(e)},t.prototype.exec=function(e,n){if(this.getSelectCodeElem(e)!=null){var r={language:n.toString()};I.setNodes(e,r,{match:function(o){return A.checkNodeType(o,"code")}})}},t.prototype.getSelectCodeElem=function(e){var n=A.getSelectedNodeByType(e,"code");if(n==null)return null;var r=A.getParentNode(e,n);return bt.isElement(r)?r.type!=="pre"?null:n:null},t}(),Nmt={renderStyle:function(t,e){var n=t,r=e,o="";return emt.forEach(function(i){n[i]&&(o=i)}),o&&function(i,a){i.data==null&&(i.data={});var u=i.data;u.props==null&&(u.props={}),Object.assign(u.props,{className:a})}(r,o="token "+o),r},parseStyleHtml:function(t,e,n){var r=k(t);if(!bt.isElement(e)||A.getNodeType(e)!=="code")return e;var o=e,i=r.attr("class")||"";return i.indexOf("language-")===0?o.language=i.split("-")[1]||"":o.language=i.toLowerCase(),o},menus:[{key:"codeSelectLang",factory:function(){return new Imt},config:{codeLangs:[{text:"CSS",value:"css"},{text:"HTML",value:"html"},{text:"XML",value:"xml"},{text:"Javascript",value:"javascript"},{text:"Typescript",value:"typescript"},{text:"JSX",value:"jsx"},{text:"Go",value:"go"},{text:"PHP",value:"php"},{text:"C",value:"c"},{text:"Python",value:"python"},{text:"Java",value:"java"},{text:"C++",value:"cpp"},{text:"C#",value:"csharp"},{text:"Visual Basic",value:"visual-basic"},{text:"SQL",value:"sql"},{text:"Ruby",value:"ruby"},{text:"Swift",value:"swift"},{text:"Bash",value:"bash"},{text:"Lua",value:"lua"},{text:"Groovy",value:"groovy"},{text:"Markdown",value:"markdown"}]}}],elemsToHtml:[{type:"code",elemToHtml:function(t,e){var n=t.language,r=n===void 0?"":n;return"<code "+(r?'class="language-'+r+'"':"")+">"+e+"</code>"}}]},Lmt=/"/g,Rmt=ye("".replace);Ty({target:"String",proto:!0,forced:Nn(function(){var t="".anchor('"');return t!==t.toLowerCase()||t.split('"').length>3})},{anchor:function(t){return e=t,n=Ji(hf(this)),r="<a",(r+=' name="'+Rmt(Ji(e),Lmt,"&quot;")+'"')+">"+n+"</a>";var e,n,r}});var _$=function(t){var e,n,r,o=function(m,h){var b=typeof Symbol=="function"&&m[Symbol.iterator];if(!b)return m;var w,S,D=b.call(m),C=[];try{for(;(h===void 0||h-- >0)&&!(w=D.next()).done;)C.push(w.value)}catch(O){S={error:O}}finally{try{w&&!w.done&&(b=D.return)&&b.call(D)}finally{if(S)throw S.error}}return C}(t,2),i=o[0],a=o[1],u=[],s=function(m){if(!ft.isText(m))return null;var h=A.getParentNode(null,m);if(h&&A.getNodeType(h)==="code"){var b=A.getParentNode(null,h);if(b&&A.getNodeType(b)==="pre")return h}return null}(i);if(s==null)return u;var l=s.language,c=l===void 0?"":l;if(!c)return u;var f=function(m,h){if(!h)return[];var b=m$.languages[h];return b?m$.tokenize(m.text,b):[]}(i,c),p=0;try{for(var d=function(m){var h=typeof Symbol=="function"&&Symbol.iterator,b=h&&m[h],w=0;if(b)return b.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&w>=m.length&&(m=void 0),{value:m&&m[w++],done:!m}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")}(f),y=d.next();!y.done;y=d.next()){var g=y.value,v=p+y$(g);typeof g!="string"&&u.push(((r={})[g.type]=!0,r.anchor={path:a,offset:p},r.focus={path:a,offset:v},r)),p=v}}catch(m){e={error:m}}finally{try{y&&!y.done&&(n=d.return)&&n.call(d)}finally{if(e)throw e.error}}return u},Ze=function(){return Ze=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Ze.apply(this,arguments)},Ln=function(){function t(){throw new Error(`\u4E0D\u80FD\u5B9E\u4F8B\u5316
  162. Can not construct a instance`)}return t.setEditorConfig=function(e){e===void 0&&(e={}),this.editorConfig=Ze(Ze({},this.editorConfig),e)},t.setSimpleEditorConfig=function(e){e===void 0&&(e={}),this.simpleEditorConfig=Ze(Ze({},this.simpleEditorConfig),e)},t.setToolbarConfig=function(e){e===void 0&&(e={}),this.toolbarConfig=Ze(Ze({},this.toolbarConfig),e)},t.setSimpleToolbarConfig=function(e){e===void 0&&(e={}),this.simpleToolbarConfig=Ze(Ze({},this.simpleToolbarConfig),e)},t.registerPlugin=function(e){this.plugins.push(e)},t.registerMenu=function(e,n){(function(r,o){var i=r.key,a=r.factory,u=r.config,s=oo(oo({},u),o||{});if(qd[i]!=null)throw new Error("Duplicated key '"+i+"' in menu items");qd[i]=a,function(l,c){c!=null&&(uB[l]=c)}(i,s)})(e,n)},t.registerRenderElem=function(e){(function(n){var r=n.type,o=n.renderElem;dF[r||""]=o})(e)},t.registerRenderStyle=function(e){(function(n){_E.push(n)})(e)},t.registerElemToHtml=function(e){(function(n){var r=n.type,o=n.elemToHtml;lB[r||""]=o})(e)},t.registerStyleToHtml=function(e){(function(n){tE.push(n)})(e)},t.registerPreParseHtml=function(e){(function(n){UB.push(n)})(e)},t.registerParseElemHtml=function(e){(function(n){var r=n.selector,o=n.parseElemHtml;Bv[r]=o})(e)},t.registerParseStyleHtml=function(e){(function(n){wE.push(n)})(e)},t.registerModule=function(e){ll(e)},t.editorConfig={},t.simpleEditorConfig={},t.toolbarConfig={},t.simpleToolbarConfig={},t.plugins=[],t}();/*! *****************************************************************************
  163. Copyright (c) Microsoft Corporation.
  164. Permission to use, copy, modify, and/or distribute this software for any
  165. purpose with or without fee is hereby granted.
  166. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  167. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  168. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  169. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  170. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  171. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  172. PERFORMANCE OF THIS SOFTWARE.
  173. ***************************************************************************** */function ll(t){var e=t.menus,n=t.renderElems,r=t.renderStyle,o=t.elemsToHtml,i=t.styleToHtml,a=t.preParseHtml,u=t.parseElemsHtml,s=t.parseStyleHtml,l=t.editorPlugin;e&&e.forEach(function(c){return Ln.registerMenu(c)}),n&&n.forEach(function(c){return Ln.registerRenderElem(c)}),r&&Ln.registerRenderStyle(r),o&&o.forEach(function(c){return Ln.registerElemToHtml(c)}),i&&Ln.registerStyleToHtml(i),a&&a.forEach(function(c){return Ln.registerPreParseHtml(c)}),u&&u.forEach(function(c){return Ln.registerParseElemHtml(c)}),s&&Ln.registerParseStyleHtml(s),l&&Ln.registerPlugin(l)}Zat.forEach(function(t){return ll(t)}),ll(Alt),ll(Yft),ll(i0t),ll(Zvt),ll(Nmt);var I$='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>',N$={link:{menuKeys:["editLink","unLink","viewLink"]},image:{menuKeys:["imageWidth30","imageWidth50","imageWidth100","editImage","viewImageLink","deleteImage"]},pre:{menuKeys:["enter","codeBlock","codeSelectLang"]},table:{menuKeys:["enter","tableHeader","tableFullWidth","insertTableRow","deleteTableRow","insertTableCol","deleteTableCol","deleteTable"]},divider:{menuKeys:["enter"]},video:{menuKeys:["enter","editVideoSize"]}},Mmt={hoverbarKeys:Ze(Ze({},N$),{text:{menuKeys:["headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};Ln.setEditorConfig(Ze(Ze({},Mmt),{decorate:_$}));var zmt={hoverbarKeys:N$};Ln.setSimpleEditorConfig(Ze(Ze({},zmt),{decorate:_$}));var $mt={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:nt("editor.more"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path></svg>',menuKeys:["through","code","sup","sub","clearStyle"]},"color","bgColor","|","fontSize","fontFamily","lineHeight","|","bulletedList","numberedList","todo",{key:"group-justify",title:nt("editor.justify"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',menuKeys:["justifyLeft","justifyRight","justifyCenter","justifyJustify"]},{key:"group-indent",title:nt("editor.indent"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',menuKeys:["indent","delIndent"]},"|","emotion","insertLink",{key:"group-image",title:nt("editor.image"),iconSvg:I$,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:nt("editor.video"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',menuKeys:["insertVideo","uploadVideo"]},"insertTable","codeBlock","divider","|","undo","redo","|","fullScreen"]};Ln.setToolbarConfig($mt);var Hmt={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:nt("editor.image"),iconSvg:I$,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};function Umt(t){t===void 0&&(t={});var e=t.selector,n=e===void 0?"":e,r=t.content,o=r===void 0?[]:r,i=t.html,a=t.config,u=a===void 0?{}:a,s=t.mode,l=(s===void 0?"default":s)==="simple"?Ln.simpleEditorConfig:Ln.editorConfig,c=Ze(Ze({},l.hoverbarKeys||{}),u.hoverbarKeys||{});return ett({selector:n,config:Ze(Ze(Ze({},l),u),{hoverbarKeys:c}),content:o,html:i,plugins:Ln.plugins})}function Vmt(t){var e=t.selector,n=t.editor,r=t.config,o=r===void 0?{}:r,i=t.mode,a=i===void 0?"default":i;if(!e)throw new Error("Cannot find 'selector' when create toolbar");var u=a==="simple"?Ln.simpleToolbarConfig:Ln.toolbarConfig,s=function(l,c){if(l==null)throw new Error("Cannot create toolbar, because editor is null");var f=c.selector,p=c.config,d=p===void 0?{}:p;if(function(v,m){return XB(v,"data-w-e-toolbar",m)}(l,f))throw new Error("Repeated create toolbar by selector '"+f+"'");var y=oo({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},d||{}),g=new att(f,y);return z4.set(g,l),wv.set(l,g),g}(n,{selector:e,config:Ze(Ze({},u),o)});return s}Ln.setSimpleToolbarConfig(Hmt);var Xmt={};/*! *****************************************************************************
  174. Copyright (c) Microsoft Corporation.
  175. Permission to use, copy, modify, and/or distribute this software for any
  176. purpose with or without fee is hereby granted.
  177. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
  178. REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
  179. AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
  180. INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  181. LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
  182. OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  183. PERFORMANCE OF THIS SOFTWARE.
  184. ***************************************************************************** */var Ny=function(){return Ny=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Ny.apply(this,arguments)};function L$(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(e===void 0||e-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(u){o={error:u}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function Wmt(t){var e=t.defaultContent,n=e===void 0?[]:e,r=t.onCreated,o=t.defaultHtml,i=o===void 0?"":o,a=t.value,u=a===void 0?"":a,s=t.onChange,l=t.defaultConfig,c=l===void 0?{}:l,f=t.mode,p=f===void 0?"default":f,d=t.style,y=d===void 0?{}:d,g=t.className,v=(0,We.useRef)(null),m=L$((0,We.useState)(null),2),h=m[0],b=m[1],w=L$((0,We.useState)(""),2),S=w[0],D=w[1],C=function(L){r&&r(L);var z=c.onCreated;z&&z(L)},O=function(L){D(L.getHtml()),s&&s(L);var z=c.onChange;z&&z(L)},T=function(L){var z=c.onDestroyed;b(null),z&&z(L)};return(0,We.useEffect)(function(){if(h!=null&&u!==S)try{h.setHtml(u)}catch(L){console.error(L)}},[u]),(0,We.useEffect)(function(){var L;if(v.current!=null&&h==null&&!((L=v.current)===null||L===void 0?void 0:L.getAttribute("data-w-e-textarea"))){var z=Umt({selector:v.current,config:Ny(Ny({},c),{onCreated:C,onChange:O,onDestroyed:T}),content:n,html:i||u,mode:p});b(z)}},[h]),We.createElement("div",{style:y,ref:v,className:g})}function Gmt(t){var e=t.editor,n=t.defaultConfig,r=n===void 0?{}:n,o=t.mode,i=o===void 0?"default":o,a=t.style,u=a===void 0?{}:a,s=t.className,l=(0,We.useRef)(null);return(0,We.useEffect)(function(){l.current!=null&&e!=null&&Vmt({editor:e,selector:l.current,config:r,mode:i})},[e]),We.createElement("div",{style:u,ref:l,className:s})}},77933:function(D0,hl,ot){"use strict";ot.d(hl,{Z:function(){return T0}});var We=ot(96156),ne=ot(85061),cn=ot(22122),gr=ot(6610),Mn=ot(5991),zn=ot(10379),kr=ot(44144),It=ot(94184),Go=ot.n(It),xt=ot(67294),Ky=ot(53124),x0=ot(88258),A0=ot(65223),xf=ot(42051),gl=ot(85636),vl=ot(9708),qy=ot(57254),Ae=ot(98423),en=ot(9676),Kn=ot(13013),qn=ot(96159),Nu=ot(90484),Zn=ot(50970),O0=ot(93355),k0=ot(73171),Zy=ot(34952),Af=function(Vt){var pe,kt=Vt.renderedText,N=Vt.renderedEl,ct=Vt.item,pt=Vt.checked,st=Vt.disabled,ht=Vt.prefixCls,J=Vt.onClick,lt=Vt.onRemove,At=Vt.showRemove,Wt=Go()((pe={},(0,We.Z)(pe,"".concat(ht,"-content-item"),!0),(0,We.Z)(pe,"".concat(ht,"-content-item-disabled"),st||ct.disabled),(0,We.Z)(pe,"".concat(ht,"-content-item-checked"),pt),pe)),Jt;return(typeof kt=="string"||typeof kt=="number")&&(Jt=String(kt)),xt.createElement(xf.Z,{componentName:"Transfer",defaultLocale:gl.Z.Transfer},function(Ot){var he={className:Wt,title:Jt},Ye=xt.createElement("span",{className:"".concat(ht,"-content-item-text")},N);return At?xt.createElement("li",(0,cn.Z)({},he),Ye,xt.createElement(Zy.Z,{disabled:st||ct.disabled,className:"".concat(ht,"-content-item-remove"),"aria-label":Ot.remove,onClick:function(){lt==null||lt(ct)}},xt.createElement(k0.Z,null))):(he.onClick=st||ct.disabled?void 0:function(){return J(ct)},xt.createElement("li",(0,cn.Z)({},he),xt.createElement(en.Z,{className:"".concat(ht,"-checkbox"),checked:pt,disabled:st||ct.disabled}),Ye))})},Br=xt.memo(Af),Yy=(0,O0.b)("handleFilter","handleClear","checkedKeys");function Of(Oe){if(!Oe)return null;var Vt={pageSize:10,simple:!0,showSizeChanger:!1,showLessItems:!1};return(0,Nu.Z)(Oe)==="object"?(0,cn.Z)((0,cn.Z)({},Vt),Oe):Vt}var xi=function(Oe){(0,zn.Z)(pe,Oe);var Vt=(0,kr.Z)(pe);function pe(){var kt;return(0,gr.Z)(this,pe),kt=Vt.apply(this,arguments),kt.state={current:1},kt.onItemSelect=function(N){var ct=kt.props,pt=ct.onItemSelect,st=ct.selectedKeys,ht=st.includes(N.key);pt(N.key,!ht)},kt.onItemRemove=function(N){var ct=kt.props.onItemRemove;ct==null||ct([N.key])},kt.onPageChange=function(N){kt.setState({current:N})},kt.getItems=function(){var N=kt.state.current,ct=kt.props,pt=ct.pagination,st=ct.filteredRenderItems,ht=Of(pt),J=st;return ht&&(J=st.slice((N-1)*ht.pageSize,N*ht.pageSize)),J},kt}return(0,Mn.Z)(pe,[{key:"render",value:function(){var N=this,ct=this.state.current,pt=this.props,st=pt.prefixCls,ht=pt.onScroll,J=pt.filteredRenderItems,lt=pt.selectedKeys,At=pt.disabled,Wt=pt.showRemove,Jt=pt.pagination,Ot=Of(Jt),he=null;return Ot&&(he=xt.createElement(Zn.Z,{simple:Ot.simple,showSizeChanger:Ot.showSizeChanger,showLessItems:Ot.showLessItems,size:"small",disabled:At,className:"".concat(st,"-pagination"),total:J.length,pageSize:Ot.pageSize,current:ct,onChange:this.onPageChange})),xt.createElement(xt.Fragment,null,xt.createElement("ul",{className:Go()("".concat(st,"-content"),(0,We.Z)({},"".concat(st,"-content-show-remove"),Wt)),onScroll:ht},this.getItems().map(function(Ye){var dn=Ye.renderedEl,Zr=Ye.renderedText,Bt=Ye.item,Yn=Bt.disabled,So=lt.includes(Bt.key);return xt.createElement(Br,{disabled:At||Yn,key:Bt.key,item:Bt,renderedText:Zr,renderedEl:dn,checked:So,prefixCls:st,onClick:N.onItemSelect,onRemove:N.onItemRemove,showRemove:Wt})})),he)}}],[{key:"getDerivedStateFromProps",value:function(N,ct){var pt=N.filteredRenderItems,st=N.pagination,ht=ct.current,J=Of(st);if(J){var lt=Math.ceil(pt.length/J.pageSize);if(ht>lt)return{current:lt}}return null}}]),pe}(xt.Component),kf=xi,Xy=ot(76570),B0=ot(4107);function F0(Oe){var Vt=Oe.placeholder,pe=Vt===void 0?"":Vt,kt=Oe.value,N=Oe.prefixCls,ct=Oe.disabled,pt=Oe.onChange,st=Oe.handleClear,ht=xt.useCallback(function(J){pt==null||pt(J),J.target.value===""&&(st==null||st())},[pt]);return xt.createElement(B0.Z,{placeholder:pe,className:N,value:kt,onChange:ht,disabled:ct,allowClear:!0,prefix:xt.createElement(Xy.Z,null)})}var Bf=function(){return null};function qr(Oe){return!!(Oe&&!(0,qn.l$)(Oe)&&Object.prototype.toString.call(Oe)==="[object Object]")}function fn(Oe){return Oe.filter(function(Vt){return!Vt.disabled}).map(function(Vt){return Vt.key})}var $n=function(Oe){(0,zn.Z)(pe,Oe);var Vt=(0,kr.Z)(pe);function pe(kt){var N;return(0,gr.Z)(this,pe),N=Vt.call(this,kt),N.defaultListBodyRef=xt.createRef(),N.handleFilter=function(ct){var pt=N.props.handleFilter,st=ct.target.value;N.setState({filterValue:st}),pt(ct)},N.handleClear=function(){var ct=N.props.handleClear;N.setState({filterValue:""}),ct()},N.matchFilter=function(ct,pt){var st=N.state.filterValue,ht=N.props.filterOption;return ht?ht(st,pt):ct.includes(st)},N.renderListBody=function(ct,pt){var st=ct?ct(pt):null,ht=!!st;return ht||(st=xt.createElement(kf,(0,cn.Z)({ref:N.defaultListBodyRef},pt))),{customize:ht,bodyContent:st}},N.renderItem=function(ct){var pt=N.props.render,st=pt===void 0?Bf:pt,ht=st(ct),J=qr(ht);return{renderedText:J?ht.value:ht,renderedEl:J?ht.label:ht,item:ct}},N.getSelectAllLabel=function(ct,pt){var st=N.props,ht=st.itemsUnit,J=st.itemUnit,lt=st.selectAllLabel;if(lt)return typeof lt=="function"?lt({selectedCount:ct,totalCount:pt}):lt;var At=pt>1?ht:J;return xt.createElement(xt.Fragment,null,(ct>0?"".concat(ct,"/"):"")+pt," ",At)},N.state={filterValue:""},N}return(0,Mn.Z)(pe,[{key:"componentWillUnmount",value:function(){clearTimeout(this.triggerScrollTimer)}},{key:"getCheckStatus",value:function(N){var ct=this.props.checkedKeys;return ct.length===0?"none":N.every(function(pt){return ct.includes(pt.key)||!!pt.disabled})?"all":"part"}},{key:"getFilteredItems",value:function(N,ct){var pt=this,st=[],ht=[];return N.forEach(function(J){var lt=pt.renderItem(J),At=lt.renderedText;if(ct&&!pt.matchFilter(At,J))return null;st.push(J),ht.push(lt)}),{filteredItems:st,filteredRenderItems:ht}}},{key:"getListBody",value:function(N,ct,pt,st,ht,J,lt,At,Wt,Jt){var Ot=this,he=Wt?xt.createElement("div",{className:"".concat(N,"-body-search-wrapper")},xt.createElement(F0,{prefixCls:"".concat(N,"-search"),onChange:this.handleFilter,handleClear:this.handleClear,placeholder:ct,value:pt,disabled:Jt})):null,Ye=this.renderListBody(At,(0,cn.Z)((0,cn.Z)({},(0,Ae.Z)(this.props,Yy)),{filteredItems:st,filteredRenderItems:J,selectedKeys:lt})),dn=Ye.bodyContent,Zr=Ye.customize,Bt=function(){var Co=Ot.props.direction==="left"?0:1;return Array.isArray(ht)?ht[Co]:ht},Yn;return Zr?Yn=xt.createElement("div",{className:"".concat(N,"-body-customize-wrapper")},dn):Yn=st.length?dn:xt.createElement("div",{className:"".concat(N,"-body-not-found")},Bt()),xt.createElement("div",{className:Go()(Wt?"".concat(N,"-body ").concat(N,"-body-with-search"):"".concat(N,"-body"))},he,Yn)}},{key:"getCheckBox",value:function(N){var ct=N.filteredItems,pt=N.onItemSelectAll,st=N.disabled,ht=N.prefixCls,J=this.getCheckStatus(ct),lt=J==="all",At=xt.createElement(en.Z,{disabled:st,checked:lt,indeterminate:J==="part",className:"".concat(ht,"-checkbox"),onChange:function(){pt(ct.filter(function(Jt){return!Jt.disabled}).map(function(Jt){var Ot=Jt.key;return Ot}),!lt)}});return At}},{key:"render",value:function(){var N,ct=this,pt=this.state.filterValue,st=this.props,ht=st.prefixCls,J=st.dataSource,lt=J===void 0?[]:J,At=st.titleText,Wt=At===void 0?"":At,Jt=st.checkedKeys,Ot=st.disabled,he=st.footer,Ye=st.showSearch,dn=Ye===void 0?!1:Ye,Zr=st.style,Bt=st.searchPlaceholder,Yn=st.notFoundContent,So=st.selectAll,Co=st.selectCurrent,Yr=st.selectInvert,Fr=st.removeAll,Xr=st.removeCurrent,ml=st.renderList,Ko=st.onItemSelectAll,je=st.onItemRemove,Oi=st.showSelectAll,yl=Oi===void 0?!0:Oi,Ru=st.showRemove,vr=st.pagination,Mu=st.direction,mr=he&&(he.length<2?he(this.props):he(this.props,{direction:Mu})),aa=Go()(ht,(N={},(0,We.Z)(N,"".concat(ht,"-with-pagination"),!!vr),(0,We.Z)(N,"".concat(ht,"-with-footer"),!!mr),N)),ua=this.getFilteredItems(lt,pt),Jr=ua.filteredItems,bl=ua.filteredRenderItems,sa=this.getListBody(ht,Bt,pt,Jr,Yn,bl,Jt,ml,dn,Ot),wl=mr?xt.createElement("div",{className:"".concat(ht,"-footer")},mr):null,qo=!Ru&&!vr&&this.getCheckBox({filteredItems:Jr,onItemSelectAll:Ko,disabled:Ot,prefixCls:ht}),zu;Ru?zu=[vr?{key:"removeCurrent",onClick:function(){var Fn,Do=fn((((Fn=ct.defaultListBodyRef.current)===null||Fn===void 0?void 0:Fn.getItems())||[]).map(function(sr){return sr.item}));je==null||je(Do)},label:Xr}:null,{key:"removeAll",onClick:function(){je==null||je(fn(Jr))},label:Fr}].filter(function(Zo){return Zo}):zu=[{key:"selectAll",onClick:function(){var Fn=fn(Jr);Ko(Fn,Fn.length!==Jt.length)},label:So},vr?{key:"selectCurrent",onClick:function(){var Fn,Do=((Fn=ct.defaultListBodyRef.current)===null||Fn===void 0?void 0:Fn.getItems())||[];Ko(fn(Do.map(function(sr){return sr.item})),!0)},label:Co}:null,{key:"selectInvert",onClick:function(){var Fn,Do;vr?Do=fn((((Fn=ct.defaultListBodyRef.current)===null||Fn===void 0?void 0:Fn.getItems())||[]).map(function($u){return $u.item})):Do=fn(Jr);var sr=new Set(Jt),ki=[],P0=[];Do.forEach(function($u){sr.has($u)?P0.push($u):ki.push($u)}),Ko(ki,!0),Ko(P0,!1)},label:Yr}];var jf=xt.createElement(Kn.Z,{className:"".concat(ht,"-header-dropdown"),menu:{items:zu},disabled:Ot},xt.createElement(qy.Z,null));return xt.createElement("div",{className:aa,style:Zr},xt.createElement("div",{className:"".concat(ht,"-header")},yl?xt.createElement(xt.Fragment,null,qo,jf):null,xt.createElement("span",{className:"".concat(ht,"-header-selected")},this.getSelectAllLabel(Jt.length,Jr.length)),xt.createElement("span",{className:"".concat(ht,"-header-title")},Wt)),sa,wl)}}]),pe}(xt.PureComponent),Ff=ot(67724),Ai=ot(8812),ia=ot(71577),Tf=function(Vt){var pe=Vt.disabled,kt=Vt.moveToLeft,N=Vt.moveToRight,ct=Vt.leftArrowText,pt=ct===void 0?"":ct,st=Vt.rightArrowText,ht=st===void 0?"":st,J=Vt.leftActive,lt=Vt.rightActive,At=Vt.className,Wt=Vt.style,Jt=Vt.direction,Ot=Vt.oneWay;return xt.createElement("div",{className:At,style:Wt},xt.createElement(ia.Z,{type:"primary",size:"small",disabled:pe||!lt,onClick:N,icon:Jt!=="rtl"?xt.createElement(Ai.Z,null):xt.createElement(Ff.Z,null)},ht),!Ot&&xt.createElement(ia.Z,{type:"primary",size:"small",disabled:pe||!J,onClick:kt,icon:Jt!=="rtl"?xt.createElement(Ff.Z,null):xt.createElement(Ai.Z,null)},pt))},Pf=Tf,Lu=function(Oe){(0,zn.Z)(pe,Oe);var Vt=(0,kr.Z)(pe);function pe(kt){var N;(0,gr.Z)(this,pe),N=Vt.call(this,kt),N.separatedDataSource=null,N.setStateKeys=function(J,lt){J==="left"?N.setState(function(At){var Wt=At.sourceSelectedKeys;return{sourceSelectedKeys:typeof lt=="function"?lt(Wt||[]):lt}}):N.setState(function(At){var Wt=At.targetSelectedKeys;return{targetSelectedKeys:typeof lt=="function"?lt(Wt||[]):lt}})},N.getLocale=function(J,lt){var At=N.props.locale,Wt=At===void 0?{}:At;return(0,cn.Z)((0,cn.Z)((0,cn.Z)({},J),{notFoundContent:lt("Transfer")}),Wt)},N.moveTo=function(J){var lt=N.props,At=lt.targetKeys,Wt=At===void 0?[]:At,Jt=lt.dataSource,Ot=Jt===void 0?[]:Jt,he=lt.onChange,Ye=N.state,dn=Ye.sourceSelectedKeys,Zr=Ye.targetSelectedKeys,Bt=J==="right"?dn:Zr,Yn=Bt.filter(function(Yr){return!Ot.some(function(Fr){return!!(Yr===Fr.key&&Fr.disabled)})}),So=J==="right"?Yn.concat(Wt):Wt.filter(function(Yr){return!Yn.includes(Yr)}),Co=J==="right"?"left":"right";N.setStateKeys(Co,[]),N.handleSelectChange(Co,[]),he==null||he(So,J,Yn)},N.moveToLeft=function(){return N.moveTo("left")},N.moveToRight=function(){return N.moveTo("right")},N.onItemSelectAll=function(J,lt,At){N.setStateKeys(J,function(Wt){var Jt=[];return At?Jt=Array.from(new Set([].concat((0,ne.Z)(Wt),(0,ne.Z)(lt)))):Jt=Wt.filter(function(Ot){return!lt.includes(Ot)}),N.handleSelectChange(J,Jt),Jt})},N.onLeftItemSelectAll=function(J,lt){return N.onItemSelectAll("left",J,lt)},N.onRightItemSelectAll=function(J,lt){return N.onItemSelectAll("right",J,lt)},N.handleFilter=function(J,lt){var At=N.props.onSearch,Wt=lt.target.value;At==null||At(J,Wt)},N.handleLeftFilter=function(J){return N.handleFilter("left",J)},N.handleRightFilter=function(J){return N.handleFilter("right",J)},N.handleClear=function(J){var lt=N.props.onSearch;lt==null||lt(J,"")},N.handleLeftClear=function(){return N.handleClear("left")},N.handleRightClear=function(){return N.handleClear("right")},N.onItemSelect=function(J,lt,At){var Wt=N.state,Jt=Wt.sourceSelectedKeys,Ot=Wt.targetSelectedKeys,he=J==="left"?(0,ne.Z)(Jt):(0,ne.Z)(Ot),Ye=he.indexOf(lt);Ye>-1&&he.splice(Ye,1),At&&he.push(lt),N.handleSelectChange(J,he),N.props.selectedKeys||N.setStateKeys(J,he)},N.onLeftItemSelect=function(J,lt){return N.onItemSelect("left",J,lt)},N.onRightItemSelect=function(J,lt){return N.onItemSelect("right",J,lt)},N.onRightItemRemove=function(J){var lt=N.props,At=lt.targetKeys,Wt=At===void 0?[]:At,Jt=lt.onChange;N.setStateKeys("right",[]),Jt==null||Jt(Wt.filter(function(Ot){return!J.includes(Ot)}),"left",(0,ne.Z)(J))},N.handleScroll=function(J,lt){var At=N.props.onScroll;At==null||At(J,lt)},N.handleLeftScroll=function(J){return N.handleScroll("left",J)},N.handleRightScroll=function(J){return N.handleScroll("right",J)},N.handleListStyle=function(J,lt){return typeof J=="function"?J({direction:lt}):J};var ct=kt.selectedKeys,pt=ct===void 0?[]:ct,st=kt.targetKeys,ht=st===void 0?[]:st;return N.state={sourceSelectedKeys:pt.filter(function(J){return!ht.includes(J)}),targetSelectedKeys:pt.filter(function(J){return ht.includes(J)})},N}return(0,Mn.Z)(pe,[{key:"getTitles",value:function(N){var ct,pt;return(pt=(ct=this.props.titles)!==null&&ct!==void 0?ct:N.titles)!==null&&pt!==void 0?pt:[]}},{key:"handleSelectChange",value:function(N,ct){var pt=this.state,st=pt.sourceSelectedKeys,ht=pt.targetSelectedKeys,J=this.props.onSelectChange;!J||(N==="left"?J(ct,ht):J(st,ct))}},{key:"separateDataSource",value:function(){var N=this.props,ct=N.dataSource,pt=ct===void 0?[]:ct,st=N.rowKey,ht=N.targetKeys,J=ht===void 0?[]:ht,lt=[],At=new Array(J.length);return pt.forEach(function(Wt){st&&(Wt=(0,cn.Z)((0,cn.Z)({},Wt),{key:st(Wt)}));var Jt=J.indexOf(Wt.key);Jt!==-1?At[Jt]=Wt:lt.push(Wt)}),{leftDataSource:lt,rightDataSource:At}}},{key:"render",value:function(){var N=this;return xt.createElement(xf.Z,{componentName:"Transfer",defaultLocale:gl.Z.Transfer},function(ct){return xt.createElement(Ky.C,null,function(pt){var st=pt.getPrefixCls,ht=pt.renderEmpty,J=pt.direction;return xt.createElement(A0.aM.Consumer,null,function(lt){var At,Wt=lt.hasFeedback,Jt=lt.status,Ot=N.props,he=Ot.prefixCls,Ye=Ot.className,dn=Ot.disabled,Zr=Ot.operations,Bt=Zr===void 0?[]:Zr,Yn=Ot.showSearch,So=Yn===void 0?!1:Yn,Co=Ot.footer,Yr=Ot.style,Fr=Ot.listStyle,Xr=Fr===void 0?{}:Fr,ml=Ot.operationStyle,Ko=Ot.filterOption,je=Ot.render,Oi=Ot.children,yl=Ot.showSelectAll,Ru=Ot.oneWay,vr=Ot.pagination,Mu=Ot.status,mr=st("transfer",he),aa=N.getLocale(ct,ht||x0.Z),ua=N.state,Jr=ua.sourceSelectedKeys,bl=ua.targetSelectedKeys,sa=(0,vl.F)(Jt,Mu),wl=!Oi&&vr,qo=N.separateDataSource(),zu=qo.leftDataSource,jf=qo.rightDataSource,Zo=bl.length>0,Fn=Jr.length>0,Do=Go()(mr,(At={},(0,We.Z)(At,"".concat(mr,"-disabled"),dn),(0,We.Z)(At,"".concat(mr,"-customize-list"),!!Oi),(0,We.Z)(At,"".concat(mr,"-rtl"),J==="rtl"),At),(0,vl.Z)(mr,sa,Wt),Ye),sr=N.getTitles(aa),ki=N.props.selectAllLabels||[];return xt.createElement("div",{className:Do,style:Yr},xt.createElement($n,(0,cn.Z)({prefixCls:"".concat(mr,"-list"),titleText:sr==null?void 0:sr[0],dataSource:zu,filterOption:Ko,style:N.handleListStyle(Xr,"left"),checkedKeys:Jr,handleFilter:N.handleLeftFilter,handleClear:N.handleLeftClear,onItemSelect:N.onLeftItemSelect,onItemSelectAll:N.onLeftItemSelectAll,render:je,showSearch:So,renderList:Oi,footer:Co,onScroll:N.handleLeftScroll,disabled:dn,direction:J==="rtl"?"right":"left",showSelectAll:yl,selectAllLabel:ki[0],pagination:wl},aa)),xt.createElement(Pf,{className:"".concat(mr,"-operation"),rightActive:Fn,rightArrowText:Bt[0],moveToRight:N.moveToRight,leftActive:Zo,leftArrowText:Bt[1],moveToLeft:N.moveToLeft,style:ml,disabled:dn,direction:J,oneWay:Ru}),xt.createElement($n,(0,cn.Z)({prefixCls:"".concat(mr,"-list"),titleText:sr==null?void 0:sr[1],dataSource:jf,filterOption:Ko,style:N.handleListStyle(Xr,"right"),checkedKeys:bl,handleFilter:N.handleRightFilter,handleClear:N.handleRightClear,onItemSelect:N.onRightItemSelect,onItemSelectAll:N.onRightItemSelectAll,onItemRemove:N.onRightItemRemove,render:je,showSearch:So,renderList:Oi,footer:Co,onScroll:N.handleRightScroll,disabled:dn,direction:J==="rtl"?"left":"right",showSelectAll:yl,selectAllLabel:ki[1],showRemove:Ru,pagination:wl},aa)))})})})}}],[{key:"getDerivedStateFromProps",value:function(N){var ct=N.selectedKeys,pt=N.targetKeys,st=N.pagination,ht=N.children;if(ct){var J=pt||[];return{sourceSelectedKeys:ct.filter(function(lt){return!J.includes(lt)}),targetSelectedKeys:ct.filter(function(lt){return J.includes(lt)})}}return null}}]),pe}(xt.Component);Lu.List=$n,Lu.Operation=Pf,Lu.Search=F0;var T0=Lu},58996:function(D0,hl,ot){"use strict";var We=ot(38663),ne=ot.n(We),cn=ot(66247),gr=ot.n(cn),Mn=ot(57663),zn=ot(63185),kr=ot(59250),It=ot(13254),Go=ot(47673),xt=ot(14781)}}]);