WangEditor.1f5a791a.js 805 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. import{a as Xm}from"./http.444dbd03.js";import{d as hP,r as Cr,G as gP,z as vP,H as d$,I as p$,J as h$,c as u5,e as s5,_ as g$,a as v$,K as m$,b as $n,h as jc,f as Bt,w as Zt,u as He,l as Lh,F as y$,g as go,L as b$,M as w$,N as E$,E as Ci,O as D$}from"./index.add25f79.js";import"./index.100c9e9b.js";var ce=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function C$(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function ps(t){var e={exports:{}};return t(e,e.exports),e.exports}var Si,Y0,Rh=function(t){return t&&t.Math==Math&&t},kt=Rh(typeof globalThis=="object"&&globalThis)||Rh(typeof window=="object"&&window)||Rh(typeof self=="object"&&self)||Rh(typeof ce=="object"&&ce)||function(){return this}()||Function("return this")(),l5=Function.prototype,SS=l5.apply,S$=l5.bind,xS=l5.call,mP=typeof Reflect=="object"&&Reflect.apply||(S$?xS.bind(SS):function(){return xS.apply(SS,arguments)}),yP=Function.prototype,S4=yP.bind,x4=yP.call,x$=S4&&S4.bind(x4),me=S4?function(t){return t&&x$(x4,t)}:function(t){return t&&function(){return x4.apply(t,arguments)}},fn=function(t){return typeof t=="function"},Xn=function(t){try{return!!t()}catch{return!0}},Gn=!Xn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Nc=Function.prototype.call,Un=Nc.bind?Nc.bind(Nc):function(){return Nc.apply(Nc,arguments)},AS={}.propertyIsEnumerable,OS=Object.getOwnPropertyDescriptor,A$=OS&&!AS.call({1:2},1)?function(t){var e=OS(this,t);return!!e&&e.enumerable}:AS,c5={f:A$},to=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},O$=me({}.toString),k$=me("".slice),ku=function(t){return k$(O$(t),8,-1)},Zm=kt.Object,B$=me("".split),bP=Xn(function(){return!Zm("z").propertyIsEnumerable(0)})?function(t){return ku(t)=="String"?B$(t,""):Zm(t)}:Zm,_$=kt.TypeError,f5=function(t){if(t==null)throw _$("Can't call method on "+t);return t},Mo=function(t){return bP(f5(t))},or=function(t){return typeof t=="object"?t!==null:fn(t)},rr={},kS=function(t){return fn(t)?t:void 0},cc=function(t,e){return arguments.length<2?kS(rr[t])||kS(kt[t]):rr[t]&&rr[t][e]||kt[t]&&kt[t][e]},Md=me({}.isPrototypeOf),Jm=cc("navigator","userAgent")||"",BS=kt.process,_S=kt.Deno,FS=BS&&BS.versions||_S&&_S.version,TS=FS&&FS.v8;TS&&(Y0=(Si=TS.split("."))[0]>0&&Si[0]<4?1:+(Si[0]+Si[1])),!Y0&&Jm&&(!(Si=Jm.match(/Edge\/(\d+)/))||Si[1]>=74)&&(Si=Jm.match(/Chrome\/(\d+)/))&&(Y0=+Si[1]);var Mh,Bg=Y0,bo=!!Object.getOwnPropertySymbols&&!Xn(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Bg&&Bg<41}),d5=bo&&!Symbol.sham&&typeof Symbol.iterator=="symbol",F$=kt.Object,wl=d5?function(t){return typeof t=="symbol"}:function(t){var e=cc("Symbol");return fn(e)&&Md(e.prototype,F$(t))},T$=kt.String,A4=function(t){try{return T$(t)}catch{return"Object"}},P$=kt.TypeError,p5=function(t){if(fn(t))return t;throw P$(A4(t)+" is not a function")},_g=function(t,e){var n=t[e];return n==null?void 0:p5(n)},j$=kt.TypeError,N$=Object.defineProperty,ua=kt["__core-js_shared__"]||function(t,e){try{N$(kt,t,{value:e,configurable:!0,writable:!0})}catch{kt[t]=e}return e}("__core-js_shared__",{}),hs=ps(function(t){(t.exports=function(e,n){return ua[e]||(ua[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),I$=kt.Object,Lp=function(t){return I$(f5(t))},L$=me({}.hasOwnProperty),Ut=Object.hasOwn||function(t,e){return L$(Lp(t),e)},R$=0,M$=Math.random(),z$=me(1 .toString),Fg=function(t){return"Symbol("+(t===void 0?"":t)+")_"+z$(++R$+M$,36)},Ic=hs("wks"),Bu=kt.Symbol,PS=Bu&&Bu.for,$$=d5?Bu:Bu&&Bu.withoutSetter||Fg,Tn=function(t){if(!Ut(Ic,t)||!bo&&typeof Ic[t]!="string"){var e="Symbol."+t;bo&&Ut(Bu,t)?Ic[t]=Bu[t]:Ic[t]=d5&&PS?PS(e):$$(e)}return Ic[t]},H$=kt.TypeError,V$=Tn("toPrimitive"),U$=function(t,e){if(!or(t)||wl(t))return t;var n,r=_g(t,V$);if(r){if(e===void 0&&(e="default"),n=Un(r,t,e),!or(n)||wl(n))return n;throw H$("Can't convert object to primitive value")}return e===void 0&&(e="number"),function(o,i){var a,u;if(i==="string"&&fn(a=o.toString)&&!or(u=Un(a,o))||fn(a=o.valueOf)&&!or(u=Un(a,o))||i!=="string"&&fn(a=o.toString)&&!or(u=Un(a,o)))return u;throw j$("Can't convert object to primitive value")}(t,e)},fc=function(t){var e=U$(t,"string");return wl(e)?e:e+""},O4=kt.document,W$=or(O4)&&or(O4.createElement),wP=function(t){return W$?O4.createElement(t):{}},EP=!Gn&&!Xn(function(){return Object.defineProperty(wP("div"),"a",{get:function(){return 7}}).a!=7}),jS=Object.getOwnPropertyDescriptor,G$=Gn?jS:function(t,e){if(t=Mo(t),e=fc(e),EP)try{return jS(t,e)}catch{}if(Ut(t,e))return to(!Un(c5.f,t,e),t[e])},$1={f:G$},q$=/#|\.prototype\./,Rp=function(t,e){var n=Y$[K$(t)];return n==Z$||n!=X$&&(fn(e)?Xn(e):!!e)},K$=Rp.normalize=function(t){return String(t).replace(q$,".").toLowerCase()},Y$=Rp.data={},X$=Rp.NATIVE="N",Z$=Rp.POLYFILL="P",J$=Rp,NS=me(me.bind),h5=function(t,e){return p5(t),e===void 0?t:NS?NS(t,e):function(){return t.apply(e,arguments)}},Q$=kt.String,tH=kt.TypeError,cr=function(t){if(or(t))return t;throw tH(Q$(t)+" is not an object")},eH=kt.TypeError,IS=Object.defineProperty,nH=Gn?IS:function(t,e,n){if(cr(t),e=fc(e),cr(n),EP)try{return IS(t,e,n)}catch{}if("get"in n||"set"in n)throw eH("Accessors not supported");return"value"in n&&(t[e]=n.value),t},$a={f:nH},Nn=Gn?function(t,e,n){return $a.f(t,e,to(1,n))}:function(t,e,n){return t[e]=n,t},rH=$1.f,oH=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 mP(t,this,arguments)};return e.prototype=t.prototype,e},Qo=function(t,e){var n,r,o,i,a,u,s,l,c=t.target,f=t.global,p=t.stat,d=t.proto,m=f?kt:p?kt[c]:(kt[c]||{}).prototype,g=f?rr:rr[c]||Nn(rr,c,{})[c],v=g.prototype;for(o in e)n=!J$(f?o:c+(p?".":"#")+o,t.forced)&&m&&Ut(m,o),a=g[o],n&&(u=t.noTargetGet?(l=rH(m,o))&&l.value:m[o]),i=n&&u?u:e[o],n&&typeof a==typeof i||(s=t.bind&&n?h5(i,kt):t.wrap&&n?oH(i):d&&fn(i)?me(i):i,(t.sham||i&&i.sham||a&&a.sham)&&Nn(s,"sham",!0),Nn(g,o,s),d&&(Ut(rr,r=c+"Prototype")||Nn(rr,r,{}),Nn(rr[r],o,i),t.real&&v&&!v[o]&&Nn(v,o,i)))},LS=hs("keys"),H1=function(t){return LS[t]||(LS[t]=Fg(t))},iH=!Xn(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),RS=H1("IE_PROTO"),k4=kt.Object,aH=k4.prototype,Tg=iH?k4.getPrototypeOf:function(t){var e=Lp(t);if(Ut(e,RS))return e[RS];var n=e.constructor;return fn(n)&&e instanceof n?n.prototype:e instanceof k4?aH:null},uH=kt.String,sH=kt.TypeError,Pg=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=me(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch{}return function(r,o){return cr(r),function(i){if(typeof i=="object"||fn(i))return i;throw sH("Can't set "+uH(i)+" as a prototype")}(o),e?t(r,o):r.__proto__=o,r}}():void 0),lH=Math.ceil,cH=Math.floor,g5=function(t){var e=+t;return e!=e||e===0?0:(e>0?cH:lH)(e)},fH=Math.max,dH=Math.min,B4=function(t,e){var n=g5(t);return n<0?fH(n+e,0):dH(n,e)},pH=Math.min,Mp=function(t){return(e=t.length)>0?pH(g5(e),9007199254740991):0;var e},MS=function(t){return function(e,n,r){var o,i=Mo(e),a=Mp(i),u=B4(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}},hH={includes:MS(!0),indexOf:MS(!1)},zp={},gH=hH.indexOf,zS=me([].push),DP=function(t,e){var n,r=Mo(t),o=0,i=[];for(n in r)!Ut(zp,n)&&Ut(r,n)&&zS(i,n);for(;e.length>o;)Ut(r,n=e[o++])&&(~gH(i,n)||zS(i,n));return i},jg=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],vH=jg.concat("length","prototype"),mH=Object.getOwnPropertyNames||function(t){return DP(t,vH)},v5={f:mH},X0={f:Object.getOwnPropertySymbols},yH=me([].concat),bH=cc("Reflect","ownKeys")||function(t){var e=v5.f(cr(t)),n=X0.f;return n?yH(e,n(t)):e},m5=Object.keys||function(t){return DP(t,jg)},wH=Gn?Object.defineProperties:function(t,e){cr(t);for(var n,r=Mo(e),o=m5(e),i=o.length,a=0;i>a;)$a.f(t,n=o[a++],r[n]);return t},EH=cc("document","documentElement"),CP=H1("IE_PROTO"),Qm=function(){},SP=function(t){return"<script>"+t+"<\/script>"},$S=function(t){t.write(SP("")),t.close();var e=t.parentWindow.Object;return t=null,e},Z0=function(){try{Mh=new ActiveXObject("htmlfile")}catch{}var t,e;Z0=typeof document<"u"?document.domain&&Mh?$S(Mh):((e=wP("iframe")).style.display="none",EH.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(SP("document.F=Object")),t.close(),t.F):$S(Mh);for(var n=jg.length;n--;)delete Z0.prototype[jg[n]];return Z0()};zp[CP]=!0;var ci=Object.create||function(t,e){var n;return t!==null?(Qm.prototype=cr(t),n=new Qm,Qm.prototype=null,n[CP]=t):n=Z0(),e===void 0?n:wH(n,e)},_4=function(t,e,n){var r=fc(e);r in t?$a.f(t,r,to(0,n)):t[r]=n},DH=kt.Array,CH=Math.max,xP=function(t,e,n){for(var r=Mp(t),o=B4(e,r),i=B4(n===void 0?r:n,r),a=DH(CH(i-o,0)),u=0;o<i;o++,u++)_4(a,u,t[o]);return a.length=u,a},SH=me("".replace),xH=me("".split),AH=me([].join),F4=String(Error("zxcasd").stack),AP=/\n\s*at [^:]*:[^\n]*/,OH=AP.test(F4),kH=/@[^\n]*\n/.test(F4)&&!/zxcasd/.test(F4),BH=function(t,e){if(typeof t!="string")return t;if(OH)for(;e--;)t=SH(t,AP,"");else if(kH)return AH(xP(xH(t,`
  2. `),e),`
  3. `);return t},_H=function(t,e){or(e)&&"cause"in e&&Nn(t,"cause",e.cause)},ai={},FH=Tn("iterator"),TH=Array.prototype,OP={};OP[Tn("toStringTag")]="z";var y5=String(OP)==="[object z]",PH=Tn("toStringTag"),jH=kt.Object,NH=ku(function(){return arguments}())=="Arguments",$p=y5?ku:function(t){var e,n,r;return t===void 0?"Undefined":t===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(e=jH(t),PH))=="string"?n:NH?ku(e):(r=ku(e))=="Object"&&fn(e.callee)?"Arguments":r},IH=Tn("iterator"),HS=function(t){if(t!=null)return _g(t,IH)||_g(t,"@@iterator")||ai[$p(t)]},LH=kt.TypeError,VS=function(t,e,n){var r,o;cr(t);try{if(!(r=_g(t,"return"))){if(e==="throw")throw n;return n}r=Un(r,t)}catch(i){o=!0,r=i}if(e==="throw")throw n;if(o)throw r;return cr(r),n},RH=kt.TypeError,J0=function(t,e){this.stopped=t,this.result=e},US=J0.prototype,MH=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),m=h5(e,c),g=function(y){return r&&VS(r,"normal",y),new J0(!0,y)},v=function(y){return f?(cr(y),d?m(y[0],y[1],g):m(y[0],y[1])):d?m(y,g):m(y)};if(p)r=t;else{if(!(o=HS(t)))throw RH(A4(t)+" is not iterable");if(function(y){return y!==void 0&&(ai.Array===y||TH[FH]===y)}(o)){for(i=0,a=Mp(t);a>i;i++)if((u=v(t[i]))&&Md(US,u))return u;return new J0(!1)}r=function(y,h){var b=arguments.length<2?HS(y):h;if(p5(b))return cr(Un(b,y));throw LH(A4(y)+" is not iterable")}(t,o)}for(s=r.next;!(l=Un(s,r)).done;){try{u=v(l.value)}catch(y){VS(r,"throw",y)}if(typeof u=="object"&&u&&Md(US,u))return u}return new J0(!1)},zH=kt.String,zd=function(t){if($p(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return zH(t)},$H=function(t,e){return t===void 0?arguments.length<2?"":e:zd(t)},HH=!Xn(function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",to(1,7)),t.stack!==7)}),VH=Tn("toStringTag"),Ng=kt.Error,UH=[].push,$d=function(t,e){var n,r=arguments.length>2?arguments[2]:void 0,o=Md(ty,this);Pg?n=Pg(new Ng(void 0),o?Tg(this):ty):(n=o?this:ci(ty),Nn(n,VH,"Error")),Nn(n,"message",$H(e,"")),HH&&Nn(n,"stack",BH(n.stack,1)),_H(n,r);var i=[];return MH(t,UH,{that:i}),Nn(n,"errors",i),n};Pg?Pg($d,Ng):function(t,e){for(var n=bH(e),r=$a.f,o=$1.f,i=0;i<n.length;i++){var a=n[i];Ut(t,a)||r(t,a,o(e,a))}}($d,Ng);var ty=$d.prototype=ci(Ng.prototype,{constructor:to(1,$d),message:to(1,""),name:to(1,"AggregateError")});Qo({global:!0},{AggregateError:$d});var WH=me(Function.toString);fn(ua.inspectSource)||(ua.inspectSource=function(t){return WH(t)});var Ig,dd,Lg,kP=ua.inspectSource,WS=kt.WeakMap,GH=fn(WS)&&/native code/.test(kP(WS)),T4=kt.TypeError,qH=kt.WeakMap;if(GH||ua.state){var Qa=ua.state||(ua.state=new qH),KH=me(Qa.get),GS=me(Qa.has),YH=me(Qa.set);Ig=function(t,e){if(GS(Qa,t))throw new T4("Object already initialized");return e.facade=t,YH(Qa,t,e),e},dd=function(t){return KH(Qa,t)||{}},Lg=function(t){return GS(Qa,t)}}else{var _s=H1("state");zp[_s]=!0,Ig=function(t,e){if(Ut(t,_s))throw new T4("Object already initialized");return e.facade=t,Nn(t,_s,e),e},dd=function(t){return Ut(t,_s)?t[_s]:{}},Lg=function(t){return Ut(t,_s)}}var ea,qS,KS,dc={set:Ig,get:dd,has:Lg,enforce:function(t){return Lg(t)?dd(t):Ig(t,{})},getterFor:function(t){return function(e){var n;if(!or(e)||(n=dd(e)).type!==t)throw T4("Incompatible receiver, "+t+" required");return n}}},BP=Function.prototype,XH=Gn&&Object.getOwnPropertyDescriptor,ey=Ut(BP,"name"),ZH={EXISTS:ey,PROPER:ey&&function(){}.name==="something",CONFIGURABLE:ey&&(!Gn||Gn&&XH(BP,"name").configurable)},Pl=function(t,e,n,r){r&&r.enumerable?t[e]=n:Nn(t,e,n)},P4=Tn("iterator"),_P=!1;[].keys&&("next"in(KS=[].keys())?(qS=Tg(Tg(KS)))!==Object.prototype&&(ea=qS):_P=!0);var JH=ea==null||Xn(function(){var t={};return ea[P4].call(t)!==t});ea=JH?{}:ci(ea),fn(ea[P4])||Pl(ea,P4,function(){return this});var FP={IteratorPrototype:ea,BUGGY_SAFARI_ITERATORS:_P},QH=y5?{}.toString:function(){return"[object "+$p(this)+"]"},tV=$a.f,YS=Tn("toStringTag"),Rg=function(t,e,n,r){if(t){var o=n?t:t.prototype;Ut(o,YS)||tV(o,YS,{configurable:!0,value:e}),r&&!y5&&Nn(o,"toString",QH)}},eV=FP.IteratorPrototype,nV=function(){return this},rV=ZH.PROPER,zh=FP.BUGGY_SAFARI_ITERATORS,ny=Tn("iterator"),oV=function(){return this},TP=function(t,e,n,r,o,i,a){(function(y,h,b,w){var E=h+" Iterator";y.prototype=ci(eV,{next:to(+!w,b)}),Rg(y,E,!1,!0),ai[E]=nV})(n,e,r);var u,s,l,c=function(y){if(y===o&&g)return g;if(!zh&&y in d)return d[y];switch(y){case"keys":case"values":case"entries":return function(){return new n(this,y)}}return function(){return new n(this)}},f=e+" Iterator",p=!1,d=t.prototype,m=d[ny]||d["@@iterator"]||o&&d[o],g=!zh&&m||c(o),v=e=="Array"&&d.entries||m;if(v&&(u=Tg(v.call(new t)))!==Object.prototype&&u.next&&(Rg(u,f,!0,!0),ai[f]=oV),rV&&o=="values"&&m&&m.name!=="values"&&(p=!0,g=function(){return Un(m,this)}),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(zh||p||!(l in d))&&Pl(d,l,s[l]);else Qo({target:e,proto:!0,forced:zh||p},s);return a&&d[ny]!==g&&Pl(d,ny,g,{name:o}),ai[e]=g,s},iV=dc.set,aV=dc.getterFor("Array Iterator");TP(Array,"Array",function(t,e){iV(this,{type:"Array Iterator",target:Mo(t),index:0,kind:e})},function(){var t=aV(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"),ai.Arguments=ai.Array;var uV=me("".charAt),XS=me("".charCodeAt),sV=me("".slice),ZS=function(t){return function(e,n){var r,o,i=zd(f5(e)),a=g5(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=XS(i,a))<55296||r>56319||a+1===u||(o=XS(i,a+1))<56320||o>57343?t?uV(i,a):r:t?sV(i,a,a+2):o-56320+(r-55296<<10)+65536}},lV={codeAt:ZS(!1),charAt:ZS(!0)}.charAt,cV=dc.set,fV=dc.getterFor("String Iterator");TP(String,"String",function(t){cV(this,{type:"String Iterator",string:zd(t),index:0})},function(){var t,e=fV(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=lV(n,r),e.index+=t.length,{value:t,done:!1})});var dV=rr.AggregateError,JS=Tn("toStringTag");for(var ry 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 QS=kt[ry],oy=QS&&QS.prototype;oy&&$p(oy)!==JS&&Nn(oy,JS,ry),ai[ry]=ai.Array}var xi,Q0,pV=dV,$h=function(t){return t&&t.Math==Math&&t},Et=$h(typeof globalThis=="object"&&globalThis)||$h(typeof window=="object"&&window)||$h(typeof self=="object"&&self)||$h(typeof ce=="object"&&ce)||function(){return this}()||Function("return this")(),pn=function(t){try{return!!t()}catch{return!0}},To=!pn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Lc=Function.prototype.call,cn=Lc.bind?Lc.bind(Lc):function(){return Lc.apply(Lc,arguments)},tx={}.propertyIsEnumerable,ex=Object.getOwnPropertyDescriptor,hV=ex&&!tx.call({1:2},1)?function(t){var e=ex(this,t);return!!e&&e.enumerable}:tx,gV={f:hV},sa=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},PP=Function.prototype,j4=PP.bind,N4=PP.call,vV=j4&&j4.bind(N4),ue=j4?function(t){return t&&vV(N4,t)}:function(t){return t&&function(){return N4.apply(t,arguments)}},mV=ue({}.toString),yV=ue("".slice),_u=function(t){return yV(mV(t),8,-1)},iy=Et.Object,bV=ue("".split),jP=pn(function(){return!iy("z").propertyIsEnumerable(0)})?function(t){return _u(t)=="String"?bV(t,""):iy(t)}:iy,wV=Et.TypeError,V1=function(t){if(t==null)throw wV("Can't call method on "+t);return t},pc=function(t){return jP(V1(t))},Ye=function(t){return typeof t=="function"},Kr=function(t){return typeof t=="object"?t!==null:Ye(t)},EV=function(t){return Ye(t)?t:void 0},Hp=function(t,e){return arguments.length<2?EV(Et[t]):Et[t]&&Et[t][e]},Mg=ue({}.isPrototypeOf),ay=Hp("navigator","userAgent")||"",nx=Et.process,rx=Et.Deno,ox=nx&&nx.versions||rx&&rx.version,ix=ox&&ox.v8;ix&&(Q0=(xi=ix.split("."))[0]>0&&xi[0]<4?1:+(xi[0]+xi[1])),!Q0&&ay&&(!(xi=ay.match(/Edge\/(\d+)/))||xi[1]>=74)&&(xi=ay.match(/Chrome\/(\d+)/))&&(Q0=+xi[1]);var ax=Q0,I4=!!Object.getOwnPropertySymbols&&!pn(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&ax&&ax<41}),b5=I4&&!Symbol.sham&&typeof Symbol.iterator=="symbol",DV=Et.Object,L4=b5?function(t){return typeof t=="symbol"}:function(t){var e=Hp("Symbol");return Ye(e)&&Mg(e.prototype,DV(t))},CV=Et.String,R4=function(t){try{return CV(t)}catch{return"Object"}},SV=Et.TypeError,w5=function(t){if(Ye(t))return t;throw SV(R4(t)+" is not a function")},Hd=function(t,e){var n=t[e];return n==null?void 0:w5(n)},xV=Et.TypeError,AV=Object.defineProperty,E5=function(t,e){try{AV(Et,t,{value:e,configurable:!0,writable:!0})}catch{Et[t]=e}return e},la=Et["__core-js_shared__"]||E5("__core-js_shared__",{}),D5=ps(function(t){(t.exports=function(e,n){return la[e]||(la[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),OV=Et.Object,C5=function(t){return OV(V1(t))},kV=ue({}.hasOwnProperty),qn=Object.hasOwn||function(t,e){return kV(C5(t),e)},BV=0,_V=Math.random(),FV=ue(1 .toString),NP=function(t){return"Symbol("+(t===void 0?"":t)+")_"+FV(++BV+_V,36)},Rc=D5("wks"),Fu=Et.Symbol,ux=Fu&&Fu.for,TV=b5?Fu:Fu&&Fu.withoutSetter||NP,Rn=function(t){if(!qn(Rc,t)||!I4&&typeof Rc[t]!="string"){var e="Symbol."+t;I4&&qn(Fu,t)?Rc[t]=Fu[t]:Rc[t]=b5&&ux?ux(e):TV(e)}return Rc[t]},PV=Et.TypeError,jV=Rn("toPrimitive"),NV=function(t,e){if(!Kr(t)||L4(t))return t;var n,r=Hd(t,jV);if(r){if(e===void 0&&(e="default"),n=cn(r,t,e),!Kr(n)||L4(n))return n;throw PV("Can't convert object to primitive value")}return e===void 0&&(e="number"),function(o,i){var a,u;if(i==="string"&&Ye(a=o.toString)&&!Kr(u=cn(a,o))||Ye(a=o.valueOf)&&!Kr(u=cn(a,o))||i!=="string"&&Ye(a=o.toString)&&!Kr(u=cn(a,o)))return u;throw xV("Can't convert object to primitive value")}(t,e)},S5=function(t){var e=NV(t,"string");return L4(e)?e:e+""},M4=Et.document,IV=Kr(M4)&&Kr(M4.createElement),x5=function(t){return IV?M4.createElement(t):{}},IP=!To&&!pn(function(){return Object.defineProperty(x5("div"),"a",{get:function(){return 7}}).a!=7}),sx=Object.getOwnPropertyDescriptor,LV=To?sx:function(t,e){if(t=pc(t),e=S5(e),IP)try{return sx(t,e)}catch{}if(qn(t,e))return sa(!cn(gV.f,t,e),t[e])},A5={f:LV},RV=Et.String,MV=Et.TypeError,fr=function(t){if(Kr(t))return t;throw MV(RV(t)+" is not an object")},zV=Et.TypeError,lx=Object.defineProperty,$V=To?lx:function(t,e,n){if(fr(t),e=S5(e),fr(n),IP)try{return lx(t,e,n)}catch{}if("get"in n||"set"in n)throw zV("Accessors not supported");return"value"in n&&(t[e]=n.value),t},hc={f:$V},Ln=To?function(t,e,n){return hc.f(t,e,sa(1,n))}:function(t,e,n){return t[e]=n,t},HV=ue(Function.toString);Ye(la.inspectSource)||(la.inspectSource=function(t){return HV(t)});var zg,pd,$g,O5=la.inspectSource,cx=Et.WeakMap,VV=Ye(cx)&&/native code/.test(O5(cx)),fx=D5("keys"),k5=function(t){return fx[t]||(fx[t]=NP(t))},B5={},z4=Et.TypeError,UV=Et.WeakMap;if(VV||la.state){var tu=la.state||(la.state=new UV),WV=ue(tu.get),dx=ue(tu.has),GV=ue(tu.set);zg=function(t,e){if(dx(tu,t))throw new z4("Object already initialized");return e.facade=t,GV(tu,t,e),e},pd=function(t){return WV(tu,t)||{}},$g=function(t){return dx(tu,t)}}else{var Fs=k5("state");B5[Fs]=!0,zg=function(t,e){if(qn(t,Fs))throw new z4("Object already initialized");return e.facade=t,Ln(t,Fs,e),e},pd=function(t){return qn(t,Fs)?t[Fs]:{}},$g=function(t){return qn(t,Fs)}}var Ju={set:zg,get:pd,has:$g,enforce:function(t){return $g(t)?pd(t):zg(t,{})},getterFor:function(t){return function(e){var n;if(!Kr(e)||(n=pd(e)).type!==t)throw z4("Incompatible receiver, "+t+" required");return n}}},LP=Function.prototype,qV=To&&Object.getOwnPropertyDescriptor,uy=qn(LP,"name"),_5={EXISTS:uy,PROPER:uy&&function(){}.name==="something",CONFIGURABLE:uy&&(!To||To&&qV(LP,"name").configurable)},ca=ps(function(t){var e=_5.CONFIGURABLE,n=Ju.get,r=Ju.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;Ye(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!qn(u,"name")||e&&u.name!==d)&&Ln(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==Et?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:Ln(i,a,u)):f?i[a]=u:E5(a,u)})(Function.prototype,"toString",function(){return Ye(this)&&n(this).source||O5(this)})}),KV=Math.ceil,YV=Math.floor,F5=function(t){var e=+t;return e!=e||e===0?0:(e>0?YV:KV)(e)},XV=Math.max,ZV=Math.min,$4=function(t,e){var n=F5(t);return n<0?XV(n+e,0):ZV(n,e)},JV=Math.min,RP=function(t){return t>0?JV(F5(t),9007199254740991):0},U1=function(t){return RP(t.length)},px=function(t){return function(e,n,r){var o,i=pc(e),a=U1(i),u=$4(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}},QV={includes:px(!0),indexOf:px(!1)}.indexOf,hx=ue([].push),MP=function(t,e){var n,r=pc(t),o=0,i=[];for(n in r)!qn(B5,n)&&qn(r,n)&&hx(i,n);for(;e.length>o;)qn(r,n=e[o++])&&(~QV(i,n)||hx(i,n));return i},Hg=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],tU=Hg.concat("length","prototype"),eU=Object.getOwnPropertyNames||function(t){return MP(t,tU)},nU={f:eU},rU={f:Object.getOwnPropertySymbols},oU=ue([].concat),iU=Hp("Reflect","ownKeys")||function(t){var e=nU.f(fr(t)),n=rU.f;return n?oU(e,n(t)):e},zP=function(t,e){for(var n=iU(e),r=hc.f,o=A5.f,i=0;i<n.length;i++){var a=n[i];qn(t,a)||r(t,a,o(e,a))}},aU=/#|\.prototype\./,Vp=function(t,e){var n=sU[uU(t)];return n==cU||n!=lU&&(Ye(e)?pn(e):!!e)},uU=Vp.normalize=function(t){return String(t).replace(aU,".").toLowerCase()},sU=Vp.data={},lU=Vp.NATIVE="N",cU=Vp.POLYFILL="P",fU=Vp,dU=A5.f,Up=function(t,e){var n,r,o,i,a,u=t.target,s=t.global,l=t.stat;if(n=s?Et:l?Et[u]||E5(u,{}):(Et[u]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=dU(n,r))&&a.value:n[r],!fU(s?r:u+(l?".":"#")+r,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;zP(i,o)}(t.sham||o&&o.sham)&&Ln(i,"sham",!0),ca(n,r,i,t)}},$P={};$P[Rn("toStringTag")]="z";var Hh,T5=String($P)==="[object z]",pU=Rn("toStringTag"),hU=Et.Object,gU=_u(function(){return arguments}())=="Arguments",W1=T5?_u:function(t){var e,n,r;return t===void 0?"Undefined":t===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(e=hU(t),pU))=="string"?n:gU?_u(e):(r=_u(e))=="Object"&&Ye(e.callee)?"Arguments":r},vU=Et.String,Tu=function(t){if(W1(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return vU(t)},mU=function(){var t=fr(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},P5=Et.RegExp,j5=pn(function(){var t=P5("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),yU=j5||pn(function(){return!P5("a","y").sticky}),bU=j5||pn(function(){var t=P5("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),wU={BROKEN_CARET:bU,MISSED_STICKY:yU,UNSUPPORTED_Y:j5},EU=Object.keys||function(t){return MP(t,Hg)},DU=To?Object.defineProperties:function(t,e){fr(t);for(var n,r=pc(e),o=EU(e),i=o.length,a=0;i>a;)hc.f(t,n=o[a++],r[n]);return t},CU=Hp("document","documentElement"),HP=k5("IE_PROTO"),sy=function(){},VP=function(t){return"<script>"+t+"<\/script>"},gx=function(t){t.write(VP("")),t.close();var e=t.parentWindow.Object;return t=null,e},tg=function(){try{Hh=new ActiveXObject("htmlfile")}catch{}var t,e;tg=typeof document<"u"?document.domain&&Hh?gx(Hh):((e=x5("iframe")).style.display="none",CU.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(VP("document.F=Object")),t.close(),t.F):gx(Hh);for(var n=Hg.length;n--;)delete tg.prototype[Hg[n]];return tg()};B5[HP]=!0;var vx,ly,Wp=Object.create||function(t,e){var n;return t!==null?(sy.prototype=fr(t),n=new sy,sy.prototype=null,n[HP]=t):n=tg(),e===void 0?n:DU(n,e)},SU=Et.RegExp,xU=pn(function(){var t=SU(".","s");return!(t.dotAll&&t.exec(`
  4. `)&&t.flags==="s")}),AU=Et.RegExp,OU=pn(function(){var t=AU("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),kU=Ju.get,BU=D5("native-string-replace",String.prototype.replace),Vg=RegExp.prototype.exec,H4=Vg,_U=ue("".charAt),FU=ue("".indexOf),TU=ue("".replace),cy=ue("".slice),fy=(ly=/b*/g,cn(Vg,vx=/a/,"a"),cn(Vg,ly,"a"),vx.lastIndex!==0||ly.lastIndex!==0),mx=wU.BROKEN_CARET,dy=/()??/.exec("")[1]!==void 0;(fy||dy||mx||xU||OU)&&(H4=function(t){var e,n,r,o,i,a,u,s=this,l=kU(s),c=Tu(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=cn(H4,f,c),s.lastIndex=f.lastIndex,e;var p=l.groups,d=mx&&s.sticky,m=cn(mU,s),g=s.source,v=0,y=c;if(d&&(m=TU(m,"y",""),FU(m,"g")===-1&&(m+="g"),y=cy(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&_U(c,s.lastIndex-1)!==`
  5. `)&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",m)),dy&&(n=new RegExp("^"+g+"$(?!\\s)",m)),fy&&(r=s.lastIndex),o=cn(Vg,d?n:s,y),d?o?(o.input=cy(o.input,v),o[0]=cy(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:fy&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),dy&&o&&o.length>1&&cn(BU,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=Wp(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var Ug=H4;Up({target:"RegExp",proto:!0,forced:/./.exec!==Ug},{exec:Ug});var PU=Rn("species"),py=RegExp.prototype,jU=ue("".charAt),yx=ue("".charCodeAt),NU=ue("".slice),bx=function(t){return function(e,n){var r,o,i=Tu(V1(e)),a=F5(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=yx(i,a))<55296||r>56319||a+1===u||(o=yx(i,a+1))<56320||o>57343?t?jU(i,a):r:t?NU(i,a,a+2):o-56320+(r-55296<<10)+65536}},UP={codeAt:bx(!1),charAt:bx(!0)},IU=UP.charAt,LU=function(t,e,n){return e+(n?IU(t,e).length:1)},RU=Et.TypeError,wx=function(t,e){var n=t.exec;if(Ye(n)){var r=cn(n,t,e);return r!==null&&fr(r),r}if(_u(t)==="RegExp")return cn(Ug,t,e);throw RU("RegExp#exec called on incompatible receiver")};(function(t,e,n,r){var o=Rn(t),i=!pn(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!pn(function(){var l=!1,c=/a/;return t==="split"&&((c={}).constructor={},c.constructor[PU]=function(){return c},c.flags="",c[o]=/./[o]),c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=ue(/./[o]),s=e(o,""[t],function(l,c,f,p,d){var m=ue(l),g=c.exec;return g===Ug||g===py.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:m(f,c,p)}:{done:!1}});ca(String.prototype,t,s[0]),ca(py,o,s[1])}r&&Ln(py[o],"sham",!0)})("match",function(t,e,n){return[function(r){var o=V1(this),i=r==null?void 0:Hd(r,t);return i?cn(i,r,o):new RegExp(r)[t](Tu(o))},function(r){var o=fr(this),i=Tu(r),a=n(e,o,i);if(a.done)return a.value;if(!o.global)return wx(o,i);var u=o.unicode;o.lastIndex=0;for(var s,l=[],c=0;(s=wx(o,i))!==null;){var f=Tu(s[0]);l[c]=f,f===""&&(o.lastIndex=LU(i,RP(o.lastIndex),u)),c++}return c===0?null:l}]}),Up({global:!0},{globalThis:Et});var MU=!pn(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),Ex=k5("IE_PROTO"),V4=Et.Object,zU=V4.prototype,Vd=MU?V4.getPrototypeOf:function(t){var e=C5(t);if(qn(e,Ex))return e[Ex];var n=e.constructor;return Ye(n)&&e instanceof n?n.prototype:e instanceof V4?zU:null},$U=Et.String,HU=Et.TypeError,jl=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=ue(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch{}return function(r,o){return fr(r),function(i){if(typeof i=="object"||Ye(i))return i;throw HU("Can't set "+$U(i)+" as a prototype")}(o),e?t(r,o):r.__proto__=o,r}}():void 0),VU=Et.Array,UU=Math.max,WU=ue("".replace),GU=ue("".split),qU=ue([].join),U4=String(Error("zxcasd").stack),WP=/\n\s*at [^:]*:[^\n]*/,KU=WP.test(U4),YU=/@[^\n]*\n/.test(U4)&&!/zxcasd/.test(U4),XU=function(t,e){if(typeof t!="string")return t;if(KU)for(;e--;)t=WU(t,WP,"");else if(YU)return qU(function(n,r,o){for(var i,a,u,s,l=U1(n),c=$4(r,l),f=$4(o===void 0?l:o,l),p=VU(UU(f-c,0)),d=0;c<f;c++,d++)i=p,a=d,u=n[c],s=void 0,(s=S5(a))in i?hc.f(i,s,sa(0,u)):i[s]=u;return p.length=d,p}(GU(t,`
  6. `),e),`
  7. `);return t},ZU=function(t,e){Kr(e)&&"cause"in e&&Ln(t,"cause",e.cause)},Dx=ue(ue.bind),GP=function(t,e){return w5(t),e===void 0?t:Dx?Dx(t,e):function(){return t.apply(e,arguments)}},Nl={},JU=Rn("iterator"),QU=Array.prototype,tW=Rn("iterator"),Cx=function(t){if(t!=null)return Hd(t,tW)||Hd(t,"@@iterator")||Nl[W1(t)]},eW=Et.TypeError,Sx=function(t,e,n){var r,o;fr(t);try{if(!(r=Hd(t,"return"))){if(e==="throw")throw n;return n}r=cn(r,t)}catch(i){o=!0,r=i}if(e==="throw")throw n;if(o)throw r;return fr(r),n},nW=Et.TypeError,eg=function(t,e){this.stopped=t,this.result=e},xx=eg.prototype,rW=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),m=GP(e,c),g=function(y){return r&&Sx(r,"normal",y),new eg(!0,y)},v=function(y){return f?(fr(y),d?m(y[0],y[1],g):m(y[0],y[1])):d?m(y,g):m(y)};if(p)r=t;else{if(!(o=Cx(t)))throw nW(R4(t)+" is not iterable");if(function(y){return y!==void 0&&(Nl.Array===y||QU[JU]===y)}(o)){for(i=0,a=U1(t);a>i;i++)if((u=v(t[i]))&&Mg(xx,u))return u;return new eg(!1)}r=function(y,h){var b=arguments.length<2?Cx(y):h;if(w5(b))return fr(cn(b,y));throw eW(R4(y)+" is not iterable")}(t,o)}for(s=r.next;!(l=cn(s,r)).done;){try{u=v(l.value)}catch(y){Sx(r,"throw",y)}if(typeof u=="object"&&u&&Mg(xx,u))return u}return new eg(!1)},oW=function(t,e){return t===void 0?arguments.length<2?"":e:Tu(t)},iW=!pn(function(){var t=Error("a");return!("stack"in t)||(Object.defineProperty(t,"stack",sa(1,7)),t.stack!==7)}),aW=Rn("toStringTag"),Wg=Et.Error,uW=[].push,Ud=function(t,e){var n,r=arguments.length>2?arguments[2]:void 0,o=Mg(hy,this);jl?n=jl(new Wg(void 0),o?Vd(this):hy):(n=o?this:Wp(hy),Ln(n,aW,"Error")),Ln(n,"message",oW(e,"")),iW&&Ln(n,"stack",XU(n.stack,1)),ZU(n,r);var i=[];return rW(t,uW,{that:i}),Ln(n,"errors",i),n};jl?jl(Ud,Wg):zP(Ud,Wg);var hy=Ud.prototype=Wp(Wg.prototype,{constructor:sa(1,Ud),message:sa(1,""),name:sa(1,"AggregateError")});Up({global:!0},{AggregateError:Ud});var W4=Rn("unscopables"),G4=Array.prototype;G4[W4]==null&&hc.f(G4,W4,{configurable:!0,value:Wp(null)});var Pu,Ax,Ox,gy=function(t){G4[W4][t]=!0},q4=Rn("iterator"),qP=!1;[].keys&&("next"in(Ox=[].keys())?(Ax=Vd(Vd(Ox)))!==Object.prototype&&(Pu=Ax):qP=!0);var sW=Pu==null||pn(function(){var t={};return Pu[q4].call(t)!==t});sW&&(Pu={}),Ye(Pu[q4])||ca(Pu,q4,function(){return this});var N5={IteratorPrototype:Pu,BUGGY_SAFARI_ITERATORS:qP},lW=hc.f,kx=Rn("toStringTag"),Bx=function(t,e,n){t&&!qn(t=n?t:t.prototype,kx)&&lW(t,kx,{configurable:!0,value:e})},cW=N5.IteratorPrototype,fW=function(){return this},dW=_5.PROPER,pW=_5.CONFIGURABLE,_x=N5.IteratorPrototype,Vh=N5.BUGGY_SAFARI_ITERATORS,Mc=Rn("iterator"),hW=function(){return this},KP=function(t,e,n,r,o,i,a){(function(y,h,b,w){var E=h+" Iterator";y.prototype=Wp(cW,{next:sa(+!w,b)}),Bx(y,E,!1),Nl[E]=fW})(n,e,r);var u,s,l,c=function(y){if(y===o&&g)return g;if(!Vh&&y in d)return d[y];switch(y){case"keys":case"values":case"entries":return function(){return new n(this,y)}}return function(){return new n(this)}},f=e+" Iterator",p=!1,d=t.prototype,m=d[Mc]||d["@@iterator"]||o&&d[o],g=!Vh&&m||c(o),v=e=="Array"&&d.entries||m;if(v&&(u=Vd(v.call(new t)))!==Object.prototype&&u.next&&(Vd(u)!==_x&&(jl?jl(u,_x):Ye(u[Mc])||ca(u,Mc,hW)),Bx(u,f,!0)),dW&&o=="values"&&m&&m.name!=="values"&&(pW?Ln(d,"name","values"):(p=!0,g=function(){return cn(m,this)})),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(Vh||p||!(l in d))&&ca(d,l,s[l]);else Up({target:e,proto:!0,forced:Vh||p},s);return d[Mc]!==g&&ca(d,Mc,g,{name:o}),Nl[e]=g,s},gW=Ju.set,vW=Ju.getterFor("Array Iterator"),nd=KP(Array,"Array",function(t,e){gW(this,{type:"Array Iterator",target:pc(t),index:0,kind:e})},function(){var t=vW(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");Nl.Arguments=Nl.Array,gy("keys"),gy("values"),gy("entries");var mW=UP.charAt,yW=Ju.set,bW=Ju.getterFor("String Iterator");KP(String,"String",function(t){yW(this,{type:"String Iterator",string:Tu(t),index:0})},function(){var t,e=bW(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=mW(n,r),e.index+=t.length,{value:t,done:!1})});var vy,Gg={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},my=x5("span").classList,Fx=my&&my.constructor&&my.constructor.prototype,YP=Fx===Object.prototype?void 0:Fx,yy=Rn("iterator"),Tx=Rn("toStringTag"),by=nd.values,XP=function(t,e){if(t){if(t[yy]!==by)try{Ln(t,yy,by)}catch{t[yy]=by}if(t[Tx]||Ln(t,Tx,e),Gg[e]){for(var n in nd)if(t[n]!==nd[n])try{Ln(t,n,nd[n])}catch{t[n]=nd[n]}}}};for(var wy in Gg)XP(Et[wy]&&Et[wy].prototype,wy);XP(YP,"DOMTokenList"),typeof global>"u"?("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.`),Px(),jx()):global&&((vy=global.navigator)===null||vy===void 0?void 0:vy.userAgent.match("QQBrowser"))&&(Px(),jx());function Px(){typeof globalThis>"u"&&(window.globalThis=window)}function jx(){pV===void 0&&(window.AggregateError=function(t,e){var n=new Error(e);return n.errors=t,n})}var Nx,qg=Array.isArray||function(t){return ku(t)=="Array"},ZP=function(){},wW=[],JP=cc("Reflect","construct"),I5=/^\s*(?:class|function)\b/,EW=me(I5.exec),DW=!I5.exec(ZP),zc=function(t){if(!fn(t))return!1;try{return JP(ZP,wW,t),!0}catch{return!1}},CW=!JP||Xn(function(){var t;return zc(zc.call)||!zc(Object)||!zc(function(){t=!0})||t})?function(t){if(!fn(t))return!1;switch($p(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return DW||!!EW(I5,kP(t))}:zc,SW=Tn("species"),Ix=kt.Array,QP=function(t,e){return new(function(n){var r;return qg(n)&&(r=n.constructor,(CW(r)&&(r===Ix||qg(r.prototype))||or(r)&&(r=r[SW])===null)&&(r=void 0)),r===void 0?Ix:r}(t))(e===0?0:e)},xW=Tn("species"),tj=Tn("isConcatSpreadable"),Lx=kt.TypeError,AW=Bg>=51||!Xn(function(){var t=[];return t[tj]=!1,t.concat()[0]!==t}),OW=(Nx="concat",Bg>=51||!Xn(function(){var t=[];return(t.constructor={})[xW]=function(){return{foo:1}},t[Nx](Boolean).foo!==1})),kW=function(t){if(!or(t))return!1;var e=t[tj];return e!==void 0?!!e:qg(t)};Qo({target:"Array",proto:!0,forced:!AW||!OW},{concat:function(t){var e,n,r,o,i,a=Lp(this),u=QP(a,0),s=0;for(e=-1,r=arguments.length;e<r;e++)if(kW(i=e===-1?a:arguments[e])){if(s+(o=Mp(i))>9007199254740991)throw Lx("Maximum allowed index exceeded");for(n=0;n<o;n++,s++)n in i&&_4(u,s,i[n])}else{if(s>=9007199254740991)throw Lx("Maximum allowed index exceeded");_4(u,s++,i)}return u.length=s,u}});var Rx=v5.f,Mx=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ej={f:function(t){return Mx&&ku(t)=="Window"?function(e){try{return Rx(e)}catch{return xP(Mx)}}(t):Rx(Mo(t))}},BW=me([].slice),L5={f:Tn},_W=$a.f,Ie=function(t){var e=rr.Symbol||(rr.Symbol={});Ut(e,t)||_W(e,t,{value:L5.f(t)})},zx=me([].push),Ai=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,m=Lp(s),g=bP(m),v=h5(l,c),y=Mp(g),h=0,b=f||QP,w=e?b(s,y):n||a?b(s,0):void 0;y>h;h++)if((u||h in g)&&(d=v(p=g[h],h,m),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:zx(w,p)}else switch(t){case 4:return!1;case 7:zx(w,p)}return i?-1:r||o?o:w}},G1={forEach:Ai(0),map:Ai(1),filter:Ai(2),some:Ai(3),every:Ai(4),find:Ai(5),findIndex:Ai(6),filterReject:Ai(7)}.forEach,Hn=H1("hidden"),$x=Tn("toPrimitive"),FW=dc.set,Hx=dc.getterFor("Symbol"),Zr=Object.prototype,Zi=kt.Symbol,na=Zi&&Zi.prototype,Vx=kt.TypeError,Ey=kt.QObject,$c=cc("JSON","stringify"),nj=$1.f,Ji=$a.f,rj=ej.f,TW=c5.f,oj=me([].push),fi=hs("symbols"),Gp=hs("op-symbols"),Dy=hs("string-to-symbol-registry"),Cy=hs("symbol-to-string-registry"),PW=hs("wks"),Sy=!Ey||!Ey.prototype||!Ey.prototype.findChild,K4=Gn&&Xn(function(){return ci(Ji({},"a",{get:function(){return Ji(this,"a",{value:7}).a}})).a!=7})?function(t,e,n){var r=nj(Zr,e);r&&delete Zr[e],Ji(t,e,n),r&&t!==Zr&&Ji(Zr,e,r)}:Ji,xy=function(t,e){var n=fi[t]=ci(na);return FW(n,{type:"Symbol",tag:t,description:e}),Gn||(n.description=e),n},Kg=function(t,e,n){t===Zr&&Kg(Gp,e,n),cr(t);var r=fc(e);return cr(n),Ut(fi,r)?(n.enumerable?(Ut(t,Hn)&&t[Hn][r]&&(t[Hn][r]=!1),n=ci(n,{enumerable:to(0,!1)})):(Ut(t,Hn)||Ji(t,Hn,to(1,{})),t[Hn][r]=!0),K4(t,r,n)):Ji(t,r,n)},Ux=function(t,e){cr(t);var n=Mo(e),r=m5(n).concat(Y4(n));return G1(r,function(o){Gn&&!Un(ij,n,o)||Kg(t,o,n[o])}),t},ij=function(t){var e=fc(t),n=Un(TW,this,e);return!(this===Zr&&Ut(fi,e)&&!Ut(Gp,e))&&(!(n||!Ut(this,e)||!Ut(fi,e)||Ut(this,Hn)&&this[Hn][e])||n)},Wx=function(t,e){var n=Mo(t),r=fc(e);if(n!==Zr||!Ut(fi,r)||Ut(Gp,r)){var o=nj(n,r);return!o||!Ut(fi,r)||Ut(n,Hn)&&n[Hn][r]||(o.enumerable=!0),o}},Gx=function(t){var e=rj(Mo(t)),n=[];return G1(e,function(r){Ut(fi,r)||Ut(zp,r)||oj(n,r)}),n},Y4=function(t){var e=t===Zr,n=rj(e?Gp:Mo(t)),r=[];return G1(n,function(o){!Ut(fi,o)||e&&!Ut(Zr,o)||oj(r,fi[o])}),r};if(bo||(na=(Zi=function(){if(Md(na,this))throw Vx("Symbol is not a constructor");var t=arguments.length&&arguments[0]!==void 0?zd(arguments[0]):void 0,e=Fg(t),n=function(r){this===Zr&&Un(n,Gp,r),Ut(this,Hn)&&Ut(this[Hn],e)&&(this[Hn][e]=!1),K4(this,e,to(1,r))};return Gn&&Sy&&K4(Zr,e,{configurable:!0,set:n}),xy(e,t)}).prototype,Pl(na,"toString",function(){return Hx(this).tag}),Pl(Zi,"withoutSetter",function(t){return xy(Fg(t),t)}),c5.f=ij,$a.f=Kg,$1.f=Wx,v5.f=ej.f=Gx,X0.f=Y4,L5.f=function(t){return xy(Tn(t),t)},Gn&&Ji(na,"description",{configurable:!0,get:function(){return Hx(this).description}})),Qo({global:!0,wrap:!0,forced:!bo,sham:!bo},{Symbol:Zi}),G1(m5(PW),function(t){Ie(t)}),Qo({target:"Symbol",stat:!0,forced:!bo},{for:function(t){var e=zd(t);if(Ut(Dy,e))return Dy[e];var n=Zi(e);return Dy[e]=n,Cy[n]=e,n},keyFor:function(t){if(!wl(t))throw Vx(t+" is not a symbol");if(Ut(Cy,t))return Cy[t]},useSetter:function(){Sy=!0},useSimple:function(){Sy=!1}}),Qo({target:"Object",stat:!0,forced:!bo,sham:!Gn},{create:function(t,e){return e===void 0?ci(t):Ux(ci(t),e)},defineProperty:Kg,defineProperties:Ux,getOwnPropertyDescriptor:Wx}),Qo({target:"Object",stat:!0,forced:!bo},{getOwnPropertyNames:Gx,getOwnPropertySymbols:Y4}),Qo({target:"Object",stat:!0,forced:Xn(function(){X0.f(1)})},{getOwnPropertySymbols:function(t){return X0.f(Lp(t))}}),$c){var jW=!bo||Xn(function(){var t=Zi();return $c([t])!="[null]"||$c({a:t})!="{}"||$c(Object(t))!="{}"});Qo({target:"JSON",stat:!0,forced:jW},{stringify:function(t,e,n){var r=BW(arguments),o=e;if((or(e)||t!==void 0)&&!wl(t))return qg(e)||(e=function(i,a){if(fn(o)&&(a=Un(o,this,i,a)),!wl(a))return a}),r[1]=e,mP($c,null,r)}})}if(!na[$x]){var NW=na.valueOf;Pl(na,$x,function(t){return Un(NW,this)})}Rg(Zi,"Symbol"),zp[Hn]=!0,Ie("asyncIterator"),Ie("hasInstance"),Ie("isConcatSpreadable"),Ie("iterator"),Ie("match"),Ie("matchAll"),Ie("replace"),Ie("search"),Ie("species"),Ie("split"),Ie("toPrimitive"),Ie("toStringTag"),Ie("unscopables"),Rg(kt.JSON,"JSON",!0);var IW=rr.Symbol;Ie("asyncDispose"),Ie("dispose"),Ie("matcher"),Ie("metadata"),Ie("observable"),Ie("patternMatch"),Ie("replaceAll");var Uh=IW,LW=L5.f("iterator"),RW=ps(function(t){function e(n){return typeof Uh=="function"&&typeof LW=="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 Uh=="function"&&r.constructor===Uh&&r!==Uh.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}),MW=C$(RW),aj=A5.f,zW=pn(function(){aj(1)});if(Up({target:"Object",stat:!0,forced:!To||zW,sham:!To},{getOwnPropertyDescriptor:function(t,e){return aj(pc(t),e)}}),(typeof global>"u"?"undefined":MW(global))==="object"){var $W=Object.getOwnPropertyDescriptor(global,"window");global.window&&!$W.set||(global.window=global,global.requestAnimationFrame=function(){},global.navigator={userAgent:""},global.location={hostname:"0.0.0.0",port:0,protocol:"http:"},global.btoa=function(){},global.crypto={getRandomValues:function(t){return nodeCrypto.randomFillSync(t)}}),global.document!=null&&global.document.getElementsByTagName==null&&(global.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 qx(t){return Object.prototype.toString.call(t)==="[object Object]"}function kn(t){var e,n;return qx(t)!==!1&&((e=t.constructor)===void 0||qx(n=e.prototype)!==!1&&n.hasOwnProperty("isPrototypeOf")!==!1)}function Yr(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 Qu(t){return!!t&&!!t[dr]}function ts(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)===qW}(t)||Array.isArray(t)||!!t[eA]||!!t.constructor[eA]||R5(t)||M5(t))}function Wd(t,e,n){n===void 0&&(n=!1),Il(t)===0?(n?Object.keys:U5)(t).forEach(function(r){n&&typeof r=="symbol"||e(r,t[r],t)}):t.forEach(function(r,o){return e(o,r,t)})}function Il(t){var e=t[dr];return e?e.i>3?e.i-4:e.i:Array.isArray(t)?1:R5(t)?2:M5(t)?3:0}function X4(t,e){return Il(t)===2?t.has(e):Object.prototype.hasOwnProperty.call(t,e)}function uj(t,e,n){var r=Il(t);r===2?t.set(e,n):r===3?(t.delete(e),t.add(n)):t[e]=n}function R5(t){return WW&&t instanceof Map}function M5(t){return GW&&t instanceof Set}function du(t){return t.o||t.t}function z5(t){if(Array.isArray(t))return Array.prototype.slice.call(t);var e=KW(t);delete e[dr];for(var n=U5(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 $5(t,e){return e===void 0&&(e=!1),H5(t)||Qu(t)||!ts(t)||(Il(t)>1&&(t.set=t.add=t.clear=t.delete=HW),Object.freeze(t),e&&Wd(t,function(n,r){return $5(r,!0)},!0)),t}function HW(){Yr(2)}function H5(t){return t==null||typeof t!="object"||Object.isFrozen(t)}function ui(t){var e=YW[t];return e||Yr(18,t),e}function Kx(){return Gd}function Ay(t,e){e&&(ui("Patches"),t.u=[],t.s=[],t.v=e)}function Yg(t){Z4(t),t.p.forEach(VW),t.p=null}function Z4(t){t===Gd&&(Gd=t.l)}function Yx(t){return Gd={p:[],l:Gd,h:t,m:!0,_:0}}function VW(t){var e=t[dr];e.i===0||e.i===1?e.j():e.O=!0}function Oy(t,e){e._=e.p.length;var n=e.p[0],r=t!==void 0&&t!==n;return e.h.g||ui("ES5").S(e,t,r),r?(n[dr].P&&(Yg(e),Yr(4)),ts(t)&&(t=Xg(e,t),e.l||Zg(e,t)),e.u&&ui("Patches").M(n[dr],t,e.u,e.s)):t=Xg(e,n,[]),Yg(e),e.u&&e.v(e.u,e.s),t!==sj?t:void 0}function Xg(t,e,n){if(H5(e))return e;var r=e[dr];if(!r)return Wd(e,function(i,a){return Xx(t,r,e,i,a,n)},!0),e;if(r.A!==t)return e;if(!r.P)return Zg(t,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=r.i===4||r.i===5?r.o=z5(r.k):r.o;Wd(r.i===3?new Set(o):o,function(i,a){return Xx(t,r,o,i,a,n)}),Zg(t,o,!1),n&&t.u&&ui("Patches").R(r,n,t.u,t.s)}return r.o}function Xx(t,e,n,r,o,i){if(Qu(o)){var a=Xg(t,o,i&&e&&e.i!==3&&!X4(e.D,r)?i.concat(r):void 0);if(uj(n,r,a),!Qu(a))return;t.m=!1}if(ts(o)&&!H5(o)){if(!t.h.F&&t._<1)return;Xg(t,o),e&&e.A.l||Zg(t,o)}}function Zg(t,e,n){n===void 0&&(n=!1),t.h.F&&t.m&&$5(e,n)}function ky(t,e){var n=t[dr];return(n?du(n):t)[e]}function Zx(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 J4(t){t.P||(t.P=!0,t.l&&J4(t.l))}function By(t){t.o||(t.o=z5(t.t))}function Q4(t,e,n){var r=R5(e)?ui("MapSet").N(e,n):M5(e)?ui("MapSet").T(e,n):t.g?function(o,i){var a=Array.isArray(o),u={i:a?1:0,A:i?i.A:Kx(),P:!1,I:!1,D:{},l:i,t:o,k:null,o:null,j:null,C:!1},s=u,l=ng;a&&(s=[u],l=rg);var c=Proxy.revocable(s,l),f=c.revoke,p=c.proxy;return u.k=p,u.j=f,p}(e,n):ui("ES5").J(e,n);return(n?n.A:Kx()).p.push(r),r}function UW(t){return Qu(t)||Yr(22,t),function e(n){if(!ts(n))return n;var r,o=n[dr],i=Il(n);if(o){if(!o.P&&(o.i<4||!ui("ES5").K(o)))return o.t;o.I=!0,r=Jx(n,i),o.I=!1}else r=Jx(n,i);return Wd(r,function(a,u){o&&function(s,l){return Il(s)===2?s.get(l):s[l]}(o.t,a)===u||uj(r,a,e(u))}),i===3?new Set(r):r}(t)}function Jx(t,e){switch(e){case 2:return new Map(t);case 3:return Array.from(t)}return z5(t)}var Qx,Gd,V5=typeof Symbol<"u"&&typeof Symbol("x")=="symbol",WW=typeof Map<"u",GW=typeof Set<"u",tA=typeof Proxy<"u"&&Proxy.revocable!==void 0&&typeof Reflect<"u",sj=V5?Symbol.for("immer-nothing"):((Qx={})["immer-nothing"]=!0,Qx),eA=V5?Symbol.for("immer-draftable"):"__$immer_draftable",dr=V5?Symbol.for("immer-state"):"__$immer_state",qW=""+Object.prototype.constructor,U5=typeof Reflect<"u"&&Reflect.ownKeys?Reflect.ownKeys:Object.getOwnPropertySymbols!==void 0?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:Object.getOwnPropertyNames,KW=Object.getOwnPropertyDescriptors||function(t){var e={};return U5(t).forEach(function(n){e[n]=Object.getOwnPropertyDescriptor(t,n)}),e},YW={},ng={get:function(t,e){if(e===dr)return t;var n=du(t);if(!X4(n,e))return function(o,i,a){var u,s=Zx(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||!ts(r)?r:r===ky(t.t,e)?(By(t),t.o[e]=Q4(t.A.h,r,t)):r},has:function(t,e){return e in du(t)},ownKeys:function(t){return Reflect.ownKeys(du(t))},set:function(t,e,n){var r=Zx(du(t),e);if(r!=null&&r.set)return r.set.call(t.k,n),!0;if(!t.P){var o=ky(du(t),e),i=o==null?void 0:o[dr];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||X4(t.t,e)))return!0;By(t),J4(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 ky(t.t,e)!==void 0||e in t.t?(t.D[e]=!1,By(t),J4(t)):delete t.D[e],t.o&&delete t.o[e],!0},getOwnPropertyDescriptor:function(t,e){var n=du(t),r=Reflect.getOwnPropertyDescriptor(n,e);return r&&{writable:!0,configurable:t.i!==1||e!=="length",enumerable:r.enumerable,value:n[e]}},defineProperty:function(){Yr(11)},getPrototypeOf:function(t){return Object.getPrototypeOf(t.t)},setPrototypeOf:function(){Yr(12)}},rg={};Wd(ng,function(t,e){rg[t]=function(){return arguments[0]=arguments[0][0],e.apply(this,arguments)}}),rg.deleteProperty=function(t,e){return ng.deleteProperty.call(this,t[0],e)},rg.set=function(t,e,n){return ng.set.call(this,t[0],e,n,t[0])};var XW=function(){function t(n){var r=this;this.g=tA,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 m=this;d===void 0&&(d=u);for(var g=arguments.length,v=Array(g>1?g-1:0),y=1;y<g;y++)v[y-1]=arguments[y];return s.produce(d,function(h){var b;return(b=i).call.apply(b,[m,h].concat(v))})}}var l;if(typeof i!="function"&&Yr(6),a!==void 0&&typeof a!="function"&&Yr(7),ts(o)){var c=Yx(r),f=Q4(r,o,void 0),p=!0;try{l=i(f),p=!1}finally{p?Yg(c):Z4(c)}return typeof Promise<"u"&&l instanceof Promise?l.then(function(d){return Ay(c,a),Oy(d,c)},function(d){throw Yg(c),d}):(Ay(c,a),Oy(l,c))}if(!o||typeof o!="object")return(l=i(o))===sj?void 0:(l===void 0&&(l=o),r.F&&$5(l,!0),l);Yr(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){ts(n)||Yr(8),Qu(n)&&(n=UW(n));var r=Yx(this),o=Q4(this,n,void 0);return o[dr].C=!0,Z4(r),o},e.finishDraft=function(n,r){var o=(n&&n[dr]).A;return Ay(o,r),Oy(void 0,o)},e.setAutoFreeze=function(n){this.F=n},e.setUseProxies=function(n){n&&!tA&&Yr(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=ui("Patches").$;return Qu(n)?a(n,r):this.produce(n,function(u){return a(u,r)})},t}(),er=new XW,q1=er.produce;er.produceWithPatches.bind(er),er.setAutoFreeze.bind(er),er.setUseProxies.bind(er),er.applyPatches.bind(er);var nA=er.createDraft.bind(er),rA=er.finishDraft.bind(er);function zo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Jg=new WeakMap,Hc=new WeakMap,oA=new WeakMap,iA=new WeakMap,aA=new WeakMap,uA=new WeakMap;function sA(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 Wh(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?sA(Object(n),!0).forEach(function(r){zo(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):sA(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var ZW=()=>{var t={children:[],operations:[],selection:null,marks:null,isInline:()=>!1,isVoid:()=>!1,onChange:()=>{},apply:e=>{for(var n of D.pathRefs(t))OG.transform(n,e);for(var r of D.pointRefs(t))kG.transform(r,e);for(var o of D.rangeRefs(t))_G.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=Jg.get(t)||[],l=JW(e);for(var c of s)u(j.transform(c,e));for(var f of l)u(f);Jg.set(t,a),N.transform(t,e),t.operations.push(e),D.normalize(t),e.type==="set_selection"&&(t.marks=null),Hc.get(t)||(Hc.set(t,!0),Promise.resolve().then(()=>{Hc.set(t,!1),t.onChange(),t.operations=[]}))},addMark:(e,n)=>{var{selection:r}=t;if(r)if(R.isExpanded(r))N.setNodes(t,{[e]:n},{match:it.isText,split:!0});else{var o=Wh(Wh({},D.marks(t)||{}),{},{[e]:n});t.marks=o,Hc.get(t)||t.onChange()}},deleteBackward:e=>{var{selection:n}=t;n&&R.isCollapsed(n)&&N.delete(t,{unit:e,reverse:!0})},deleteForward:e=>{var{selection:n}=t;n&&R.isCollapsed(n)&&N.delete(t,{unit:e})},deleteFragment:e=>{var{selection:n}=t;n&&R.isExpanded(n)&&N.delete(t,{reverse:e==="backward"})},getFragment:()=>{var{selection:e}=t;return e?tt.fragment(t,e):[]},insertBreak:()=>{N.splitNodes(t,{always:!0})},insertFragment:e=>{N.insertFragment(t,e)},insertNode:e=>{N.insertNodes(t,e)},insertText:e=>{var{selection:n,marks:r}=t;if(n){if(r){var o=Wh({text:e},r);N.insertNodes(t,o)}else N.insertText(t,e);t.marks=null}},normalizeNode:e=>{var[n,r]=e;if(!it.isText(n))if(ct.isElement(n)&&n.children.length===0)N.insertNodes(t,{text:""},{at:r.concat(0),voids:!0});else for(var o=!D.isEditor(n)&&ct.isElement(n)&&(t.isInline(n)||n.children.length===0||it.isText(n.children[0])||t.isInline(n.children[0])),i=0,a=0;a<n.children.length;a++,i++){var u=tt.get(t,r);if(!it.isText(u)){var s=n.children[a],l=u.children[i-1],c=a===n.children.length-1;(it.isText(s)||ct.isElement(s)&&t.isInline(s))!==o?(N.removeNodes(t,{at:r.concat(i),voids:!0}),i--):ct.isElement(s)?t.isInline(s)&&(l!=null&&it.isText(l)?c&&(N.insertNodes(t,{text:""},{at:r.concat(i+1),voids:!0}),i++):(N.insertNodes(t,{text:""},{at:r.concat(i),voids:!0}),i++)):l!=null&&it.isText(l)&&(it.equals(s,l,{loose:!0})?(N.mergeNodes(t,{at:r.concat(i),voids:!0}),i--):l.text===""?(N.removeNodes(t,{at:r.concat(i-1),voids:!0}),i--):s.text===""&&(N.removeNodes(t,{at:r.concat(i),voids:!0}),i--))}}},removeMark:e=>{var{selection:n}=t;if(n)if(R.isExpanded(n))N.unsetNodes(t,e,{match:it.isText,split:!0});else{var r=Wh({},D.marks(t)||{});delete r[e],t.marks=r,Hc.get(t)||t.onChange()}}};return t},JW=t=>{switch(t.type){case"insert_text":case"remove_text":case"set_node":var{path:e}=t;return j.levels(e);case"insert_node":var{node:n,path:r}=t,o=j.levels(r),i=it.isText(n)?[]:Array.from(tt.nodes(n),w=>{var[,E]=w;return r.concat(E)});return[...o,...i];case"merge_node":var{path:a}=t;return[...j.ancestors(a),j.previous(a)];case"move_node":var{path:u,newPath:s}=t;if(j.equals(u,s))return[];var l=[],c=[];for(var f of j.ancestors(u)){var p=j.transform(f,t);l.push(p)}for(var d of j.ancestors(s)){var m=j.transform(d,t);c.push(m)}var g=c[c.length-1],v=s[s.length-1],y=g.concat(v);return[...l,...c,y];case"remove_node":var{path:h}=t;return[...j.ancestors(h)];case"split_node":var{path:b}=t;return[...j.levels(b),j.next(b)];default:return[]}};function di(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 St,tE=function(t){var e=arguments.length>1&&arguments[1]!==void 0&&arguments[1],n=!e,r=e?rG(t):t,o=St.None,i=St.None,a=0,u=null;for(var s of r){var l=s.codePointAt(0);if(!l)break;var c=gG(s,l);if([o,i]=n?[i,c]:[c,o],hl(o,St.ZWJ)&&hl(i,St.ExtPict)&&!bG(n?t.substring(0,a):t.substring(0,t.length-a))||hl(o,St.RI)&&hl(i,St.RI)&&!(u=u!==null?!u:!!n||EG(t.substring(0,t.length-a)))||o!==St.None&&i!==St.None&&mG(o,i))break;a+=s.length}return a||1},QW=/\s/,tG=/[\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]/,eG=/['\u2018\u2019]/,eE=(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)]},nG=function t(e,n){var r=arguments.length>2&&arguments[2]!==void 0&&arguments[2];if(QW.test(e))return!1;if(eG.test(e)){var o=tE(n,r),[i,a]=eE(n,o,r);if(t(i,a,r))return!0}return!tG.test(e)},rG=function*(t){for(var e=t.length-1,n=0;n<t.length;n++){var r=t.charAt(e-n);if(iG(r.charCodeAt(0))){var o=t.charAt(e-n-1);if(oG(o.charCodeAt(0))){yield o+r,n++;continue}}yield r}},oG=t=>t>=55296&&t<=56319,iG=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"})(St||(St={}));var aG=/^(?:[\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])$/,uG=/^(?:[\u0600-\u0605\u06DD\u070F\u0890\u0891\u08E2\u0D4E]|\uD804[\uDCBD\uDCCD\uDDC2\uDDC3]|\uD806[\uDD3F\uDD41\uDE3A\uDE84-\uDE89]|\uD807\uDD46)$/,sG=/^(?:[\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])$/,lG=/^[\u1100-\u115F\uA960-\uA97C]$/,cG=/^[\u1160-\u11A7\uD7B0-\uD7C6]$/,fG=/^[\u11A8-\u11FF\uD7CB-\uD7FB]$/,dG=/^[\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]$/,pG=/^[\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]$/,hG=/^(?:[\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])$/,gG=(t,e)=>{var n=St.Any;return t.search(aG)!==-1&&(n|=St.Extend),e===8205&&(n|=St.ZWJ),e>=127462&&e<=127487&&(n|=St.RI),t.search(uG)!==-1&&(n|=St.Prepend),t.search(sG)!==-1&&(n|=St.SpacingMark),t.search(lG)!==-1&&(n|=St.L),t.search(cG)!==-1&&(n|=St.V),t.search(fG)!==-1&&(n|=St.T),t.search(dG)!==-1&&(n|=St.LV),t.search(pG)!==-1&&(n|=St.LVT),t.search(hG)!==-1&&(n|=St.ExtPict),n};function hl(t,e){return(t&e)!=0}var vG=[[St.L,St.L|St.V|St.LV|St.LVT],[St.LV|St.V,St.V|St.T],[St.LVT|St.T,St.T],[St.Any,St.Extend|St.ZWJ],[St.Any,St.SpacingMark],[St.Prepend,St.Any],[St.ZWJ,St.ExtPict],[St.RI,St.RI]];function mG(t,e){return vG.findIndex(n=>hl(t,n[0])&&hl(e,n[1]))===-1}var yG=/(?:[\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$/,bG=t=>t.search(yG)!==-1,wG=/(?:\uD83C[\uDDE6-\uDDFF])+$/g,EG=t=>{var e=t.match(wG);return e!==null&&e[0].length/2%2==1},lA=t=>kn(t)&&tt.isNodeList(t.children)&&!D.isEditor(t),ct={isAncestor:t=>kn(t)&&tt.isNodeList(t.children),isElement:lA,isElementList:t=>Array.isArray(t)&&t.every(e=>ct.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 lA(t)&&t[n]===e},matches(t,e){for(var n in e)if(n!=="children"&&t[n]!==e[n])return!1;return!0}},DG=["text"],CG=["text"];function cA(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 Ts(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?cA(Object(n),!0).forEach(function(r){zo(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):cA(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var fA=new WeakMap,D={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=D.path(t,o),u=r==="lowest";for(var[s,l]of D.levels(t,{at:a,voids:n,match:i,reverse:u}))if(!it.isText(s)&&!j.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:D.point(t,e,{edge:"end"}),focus:D.end(t,[])},{distance:i=1}=r,a=0;for(var u of D.positions(t,Ts(Ts({},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:D.start(t,[]),focus:D.point(t,e,{edge:"start"})},{distance:i=1}=r,a=0;for(var u of D.positions(t,Ts(Ts({},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)=>[D.start(t,e),D.end(t,e)],end:(t,e)=>D.point(t,e,{edge:"end"}),first(t,e){var n=D.path(t,e,{edge:"start"});return D.node(t,n)},fragment(t,e){var n=D.range(t,e);return tt.fragment(t,n)},hasBlocks:(t,e)=>e.children.some(n=>D.isBlock(t,n)),hasInlines:(t,e)=>e.children.some(n=>it.isText(n)||D.isInline(t,n)),hasTexts:(t,e)=>e.children.every(n=>it.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)=>ct.isElement(e)&&!t.isInline(e),isEditor(t){if(!kn(t))return!1;var e=fA.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||kn(t.marks))&&(t.selection===null||R.isRange(t.selection))&&tt.isNodeList(t.children)&&ra.isOperationList(t.operations);return fA.set(t,n),n},isEnd(t,e,n){var r=D.end(t,n);return _t.equals(e,r)},isEdge:(t,e,n)=>D.isStart(t,e,n)||D.isEnd(t,e,n),isEmpty(t,e){var{children:n}=e,[r]=n;return n.length===0||n.length===1&&it.isText(r)&&r.text===""&&!t.isVoid(e)},isInline:(t,e)=>ct.isElement(e)&&t.isInline(e),isNormalizing(t){var e=oA.get(t);return e===void 0||e},isStart(t,e,n){if(e.offset!==0)return!1;var r=D.start(t,n);return _t.equals(e,r)},isVoid:(t,e)=>ct.isElement(e)&&t.isVoid(e),last(t,e){var n=D.path(t,e,{edge:"end"});return D.node(t,n)},leaf(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=D.path(t,e,n);return[tt.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=D.path(t,n);for(var[s,l]of tt.levels(t,u))if(i(s,l)&&(a.push([s,l]),!o&&D.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(R.isExpanded(n)){var[r]=D.nodes(t,{match:it.isText});if(r){var[o]=r;return di(o,DG)}return{}}var{anchor:i}=n,{path:a}=i,[u]=D.leaf(t,a);if(i.offset===0){var s=D.previous(t,{at:a,match:it.isText}),l=D.above(t,{match:d=>D.isBlock(t,d)});if(s&&l){var[c,f]=s,[,p]=l;j.isAncestor(p,f)&&(u=c)}}return di(u,CG)},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=D.after(t,i,{voids:r});if(a){var[,u]=D.last(t,[]),s=[a.path,u];if(j.isPath(i)&&i.length===0)throw new Error("Cannot get the next node from the root node!");if(o==null)if(j.isPath(i)){var[l]=D.parent(t,i);o=f=>l.children.includes(f)}else o=()=>!0;var[c]=D.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=D.path(t,e,n);return[tt.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(SG.isSpan(n))s=n[0],l=n[1];else{var c=D.path(t,n,{edge:"start"}),f=D.path(t,n,{edge:"end"});s=i?f:c,l=i?c:f}var p,d=tt.nodes(t,{reverse:i,from:s,to:l,pass:b=>{var[w]=b;return!a&&D.isVoid(t,w)}}),m=[];for(var[g,v]of d){var y=p&&j.compare(v,p[1])===0;if(r!=="highest"||!y){if(u(g,v))if(r==="lowest"&&y)p=[g,v];else{var h=r==="lowest"?p:[g,v];h&&(o?m.push(h):yield h),p=[g,v]}else if(o&&!y&&it.isText(g))return}}r==="lowest"&&p&&(o?m.push(p):yield p),o&&(yield*m)}},normalize(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{force:n=!1}=e,r=i=>Jg.get(i)||[];if(D.isNormalizing(t)){if(n){var o=Array.from(tt.nodes(t),i=>{var[,a]=i;return a});Jg.set(t,o)}r(t).length!==0&&D.withoutNormalizing(t,()=>{for(var i of r(t))if(tt.has(t,i)){var a=D.node(t,i),[u,s]=a;ct.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(tt.has(t,f)){var p=D.node(t,f);t.normalizeNode(p)}c++}})}},parent(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r=D.path(t,e,n),o=j.parent(r);return D.node(t,o)},path(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{depth:r,edge:o}=n;if(j.isPath(e)){if(o==="start"){var[,i]=tt.first(t,e);e=i}else if(o==="end"){var[,a]=tt.last(t,e);e=a}}return R.isRange(e)&&(e=o==="start"?R.start(e):o==="end"?R.end(e):j.common(e.anchor.path,e.focus.path)),_t.isPoint(e)&&(e=e.path),r!=null&&(e=e.slice(0,r)),e},hasPath:(t,e)=>tt.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 D.pathRefs(t).delete(o),o.current=null,i}};return D.pathRefs(t).add(o),o},pathRefs(t){var e=iA.get(t);return e||(e=new Set,iA.set(t,e)),e},point(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{edge:r="start"}=n;if(j.isPath(e)){var o;if(r==="end"){var[,i]=tt.last(t,e);o=i}else{var[,a]=tt.first(t,e);o=a}var u=tt.get(t,o);if(!it.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(R.isRange(e)){var[s,l]=R.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 D.pointRefs(t).delete(o),o.current=null,i}};return D.pointRefs(t).add(o),o},pointRefs(t){var e=aA.get(t);return e||(e=new Set,aA.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=D.range(t,n),[u,s]=R.edges(a),l=o?s:u,c=!1,f="",p=0,d=0,m=0;for(var[g,v]of D.nodes(t,{at:n,reverse:o,voids:i})){if(ct.isElement(g)){if(!i&&t.isVoid(g)){yield D.start(t,v);continue}if(t.isInline(g))continue;if(D.hasInlines(t,g)){var y=j.isAncestor(v,s.path)?s:D.end(t,v),h=j.isAncestor(v,u.path)?u:D.start(t,v);f=D.string(t,{anchor:h,focus:y},{voids:i}),c=!0}}if(it.isText(g)){var b=j.equals(v,l.path);for(b?(d=o?l.offset:g.text.length-l.offset,m=l.offset):(d=g.text.length,m=o?d:0),(b||c||r==="offset")&&(yield{path:v,offset:m},c=!1);;){if(p===0){if(f==="")break;p=w(f,r,o),f=eE(f,p,o)[1]}if(m=o?m-p:m+p,(d-=p)<0){p=-d;break}p=0,yield{path:v,offset:m}}}}}function w(E,S,C){return S==="character"?tE(E,C):S==="word"?function(O){for(var k=arguments.length>1&&arguments[1]!==void 0&&arguments[1],I=0,$=!1;O.length>0;){var M=tE(O,k),[q,G]=eE(O,M,k);if(nG(q,G,k))$=!0,I+=M;else{if($)break;I+=M}O=G}return I}(E,C):S==="line"||S==="block"?E.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=D.before(t,i,{voids:r});if(a){var[,u]=D.first(t,[]),s=[a.path,u];if(j.isPath(i)&&i.length===0)throw new Error("Cannot get the previous node from the root node!");if(o==null)if(j.isPath(i)){var[l]=D.parent(t,i);o=f=>l.children.includes(f)}else o=()=>!0;var[c]=D.nodes(t,{reverse:!0,at:s,match:o,mode:n,voids:r});return c}}},range:(t,e,n)=>R.isRange(e)&&!n?e:{anchor:D.start(t,e),focus:D.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 D.rangeRefs(t).delete(o),o.current=null,i}};return D.rangeRefs(t).add(o),o},rangeRefs(t){var e=uA.get(t);return e||(e=new Set,uA.set(t,e)),e},removeMark(t,e){t.removeMark(e)},setNormalizing(t,e){oA.set(t,e)},start:(t,e)=>D.point(t,e,{edge:"start"}),string(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{voids:r=!1}=n,o=D.range(t,e),[i,a]=R.edges(o),u="";for(var[s,l]of D.nodes(t,{at:o,match:it.isText,voids:r})){var c=s.text;j.equals(l,a.path)&&(c=c.slice(0,a.offset)),j.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]=R.edges(e);if(o.offset!==0||i.offset!==0||R.isCollapsed(e))return e;var a=D.above(t,{at:i,match:p=>D.isBlock(t,p)}),u=a?a[1]:[],s={anchor:D.start(t,[]),focus:i},l=!0;for(var[c,f]of D.nodes(t,{at:s,match:it.isText,reverse:!0,voids:r}))if(l)l=!1;else if(c.text!==""||j.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 D.above(t,Ts(Ts({},e),{},{match:n=>D.isVoid(t,n)}))},withoutNormalizing(t,e){var n=D.isNormalizing(t);D.setNormalizing(t,!1);try{e()}finally{D.setNormalizing(t,n)}D.normalize(t)}},SG={isSpan:t=>Array.isArray(t)&&t.length===2&&t.every(j.isPath)},xG=["children"],AG=["text"],dA=new WeakMap,tt={ancestor(t,e){var n=tt.get(t,e);if(it.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 j.ancestors(e,n)){var o=[tt.ancestor(t,r),r];yield o}},child(t,e){if(it.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=tt.ancestor(t,e),{children:i}=o,a=r?i.length-1:0;r?a>=0:a<i.length;){var u=tt.child(o,a),s=e.concat(a);yield[u,s],a=r?a-1:a+1}},common(t,e,n){var r=j.common(e,n);return[tt.get(t,r),r]},descendant(t,e){var n=tt.get(t,e);if(D.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 tt.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 tt.nodes(t,e))ct.isElement(n)&&(yield[n,r])},extractProps:t=>ct.isAncestor(t)?di(t,xG):di(t,AG),first(t,e){for(var n=e.slice(),r=tt.get(t,n);r&&!it.isText(r)&&r.children.length!==0;)r=r.children[0],n.push(0);return[r,n]},fragment(t,e){if(it.isText(t))throw new Error("Cannot get a fragment starting from a root text node: ".concat(JSON.stringify(t)));var n=q1({children:t.children},r=>{var[o,i]=R.edges(e),a=tt.nodes(r,{reverse:!0,pass:p=>{var[,d]=p;return!R.includes(e,d)}});for(var[,u]of a){if(!R.includes(e,u)){var s=tt.parent(r,u),l=u[u.length-1];s.children.splice(l,1)}if(j.equals(u,i.path)){var c=tt.leaf(r,u);c.text=c.text.slice(0,i.offset)}if(j.equals(u,o.path)){var f=tt.leaf(r,u);f.text=f.text.slice(o.offset)}}D.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(it.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(it.isText(n)||!n.children[o])return!1;n=n.children[o]}return!0},isNode:t=>it.isText(t)||ct.isElement(t)||D.isEditor(t),isNodeList(t){if(!Array.isArray(t))return!1;var e=dA.get(t);if(e!==void 0)return e;var n=t.every(r=>tt.isNode(r));return dA.set(t,n),n},last(t,e){for(var n=e.slice(),r=tt.get(t,n);r&&!it.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=tt.get(t,e);if(!it.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 j.levels(e,n)){var o=tt.get(t,r);yield[o,r]}},matches:(t,e)=>ct.isElement(t)&&ct.isElementProps(e)&&ct.matches(t,e)||it.isText(t)&&it.isTextProps(e)&&it.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?j.isBefore(u,i):j.isAfter(u,i));)if(a.has(s)||(yield[s,u]),a.has(s)||it.isText(s)||s.children.length===0||n!=null&&n([s,u])!==!1){if(u.length===0)break;if(!r){var l=j.next(u);if(tt.has(t,l)){u=l,s=tt.get(t,u);continue}}r&&u[u.length-1]!==0?(u=j.previous(u),s=tt.get(t,u)):(u=j.parent(u),s=tt.get(t,u),a.add(s))}else{a.add(s);var c=r?s.children.length-1:0;j.isAncestor(u,o)&&(c=o[u.length]),u=u.concat(c),s=tt.get(t,u)}},parent(t,e){var n=j.parent(e),r=tt.get(t,n);if(it.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=>it.isText(t)?t.text:t.children.map(tt.string).join(""),*texts(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};for(var[n,r]of tt.nodes(t,e))it.isText(n)&&(yield[n,r])}};function pA(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 Ve(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?pA(Object(n),!0).forEach(function(r){zo(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):pA(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var ra={isNodeOperation:t=>ra.isOperation(t)&&t.type.endsWith("_node"),isOperation(t){if(!kn(t))return!1;switch(t.type){case"insert_node":case"remove_node":return j.isPath(t.path)&&tt.isNode(t.node);case"insert_text":case"remove_text":return typeof t.offset=="number"&&typeof t.text=="string"&&j.isPath(t.path);case"merge_node":return typeof t.position=="number"&&j.isPath(t.path)&&kn(t.properties);case"move_node":return j.isPath(t.path)&&j.isPath(t.newPath);case"set_node":return j.isPath(t.path)&&kn(t.properties)&&kn(t.newProperties);case"set_selection":return t.properties===null&&R.isRange(t.newProperties)||t.newProperties===null&&R.isRange(t.properties)||kn(t.properties)&&kn(t.newProperties);case"split_node":return j.isPath(t.path)&&typeof t.position=="number"&&kn(t.properties);default:return!1}},isOperationList:t=>Array.isArray(t)&&t.every(e=>ra.isOperation(e)),isSelectionOperation:t=>ra.isOperation(t)&&t.type.endsWith("_selection"),isTextOperation:t=>ra.isOperation(t)&&t.type.endsWith("_text"),inverse(t){switch(t.type){case"insert_node":return Ve(Ve({},t),{},{type:"remove_node"});case"insert_text":return Ve(Ve({},t),{},{type:"remove_text"});case"merge_node":return Ve(Ve({},t),{},{type:"split_node",path:j.previous(t.path)});case"move_node":var{newPath:e,path:n}=t;if(j.equals(e,n))return t;if(j.isSibling(n,e))return Ve(Ve({},t),{},{path:e,newPath:n});var r=j.transform(n,t),o=j.transform(j.next(n),t);return Ve(Ve({},t),{},{path:r,newPath:o});case"remove_node":return Ve(Ve({},t),{},{type:"insert_node"});case"remove_text":return Ve(Ve({},t),{},{type:"insert_text"});case"set_node":var{properties:i,newProperties:a}=t;return Ve(Ve({},t),{},{properties:a,newProperties:i});case"set_selection":var{properties:u,newProperties:s}=t;return Ve(Ve({},t),{},u==null?{properties:s,newProperties:null}:s==null?{properties:null,newProperties:u}:{properties:s,newProperties:u});case"split_node":return Ve(Ve({},t),{},{type:"merge_node",path:j.next(t.path)})}}},j={ancestors(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=e,r=j.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 j.equals(r,o)&&i>a},endsAt(t,e){var n=t.length,r=t.slice(0,n),o=e.slice(0,n);return j.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 j.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)=>j.compare(t,e)===1,isAncestor:(t,e)=>t.length<e.length&&j.compare(t,e)===0,isBefore:(t,e)=>j.compare(t,e)===-1,isChild:(t,e)=>t.length===e.length+1&&j.compare(t,e)===0,isCommon:(t,e)=>t.length<=e.length&&j.compare(t,e)===0,isDescendant:(t,e)=>t.length>e.length&&j.compare(t,e)===0,isParent:(t,e)=>t.length+1===e.length&&j.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]&&j.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(!j.isAncestor(e,t)&&!j.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 q1(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;(j.equals(i,r)||j.endsBefore(i,r)||j.isAncestor(i,r))&&(r[i.length-1]+=1);break;case"remove_node":var{path:a}=e;if(j.equals(a,r)||j.isAncestor(a,r))return null;j.endsBefore(a,r)&&(r[a.length-1]-=1);break;case"merge_node":var{path:u,position:s}=e;j.equals(u,r)||j.endsBefore(u,r)?r[u.length-1]-=1:j.isAncestor(u,r)&&(r[u.length-1]-=1,r[u.length]+=s);break;case"split_node":var{path:l,position:c}=e;if(j.equals(l,r)){if(o==="forward")r[r.length-1]+=1;else if(o!=="backward")return null}else j.endsBefore(l,r)?r[l.length-1]+=1:j.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(j.equals(f,p))return;if(j.isAncestor(f,r)||j.equals(f,r)){var d=p.slice();return j.endsBefore(f,p)&&f.length<p.length&&(d[f.length-1]-=1),d.concat(r.slice(f.length))}j.isSibling(f,p)&&(j.isAncestor(p,r)||j.equals(p,r))?j.endsBefore(f,r)?r[f.length-1]-=1:r[f.length-1]+=1:j.endsBefore(p,r)||j.equals(p,r)||j.isAncestor(p,r)?(j.endsBefore(f,r)&&(r[f.length-1]-=1),r[p.length-1]+=1):j.endsBefore(f,r)&&(j.equals(p,r)&&(r[p.length-1]+=1),r[f.length-1]-=1)}}})}},OG={transform(t,e){var{current:n,affinity:r}=t;if(n!=null){var o=j.transform(n,e,{affinity:r});t.current=o,o==null&&t.unref()}}};function hA(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 gA(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?hA(Object(n),!0).forEach(function(r){zo(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):hA(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var _t={compare(t,e){var n=j.compare(t.path,e.path);return n===0?t.offset<e.offset?-1:t.offset>e.offset?1:0:n},isAfter:(t,e)=>_t.compare(t,e)===1,isBefore:(t,e)=>_t.compare(t,e)===-1,equals:(t,e)=>t.offset===e.offset&&j.equals(t.path,e.path),isPoint:t=>kn(t)&&typeof t.offset=="number"&&j.isPath(t.path),transform(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return q1(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=j.transform(i,e,n);break;case"insert_text":j.equals(e.path,i)&&e.offset<=a&&(r.offset+=e.text.length);break;case"merge_node":j.equals(e.path,i)&&(r.offset+=e.position),r.path=j.transform(i,e,n);break;case"remove_text":j.equals(e.path,i)&&e.offset<=a&&(r.offset-=Math.min(a-e.offset,e.text.length));break;case"remove_node":if(j.equals(e.path,i)||j.isAncestor(e.path,i))return null;r.path=j.transform(i,e,n);break;case"split_node":if(j.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=j.transform(i,e,gA(gA({},n),{},{affinity:"forward"})))}else r.path=j.transform(i,e,n)}})}},kG={transform(t,e){var{current:n,affinity:r}=t;if(n!=null){var o=_t.transform(n,e,{affinity:r});t.current=o,o==null&&t.unref()}}},BG=["anchor","focus"];function vA(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 R={edges(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{reverse:n=!1}=e,{anchor:r,focus:o}=t;return R.isBackward(t)===n?[r,o]:[o,r]},end(t){var[,e]=R.edges(t);return e},equals:(t,e)=>_t.equals(t.anchor,e.anchor)&&_t.equals(t.focus,e.focus),includes(t,e){if(R.isRange(e)){if(R.includes(t,e.anchor)||R.includes(t,e.focus))return!0;var[n,r]=R.edges(t),[o,i]=R.edges(e);return _t.isBefore(n,o)&&_t.isAfter(r,i)}var[a,u]=R.edges(t),s=!1,l=!1;return _t.isPoint(e)?(s=_t.compare(e,a)>=0,l=_t.compare(e,u)<=0):(s=j.compare(e,a.path)>=0,l=j.compare(e,u.path)<=0),s&&l},intersection(t,e){var n=di(t,BG),[r,o]=R.edges(t),[i,a]=R.edges(e),u=_t.isBefore(r,i)?i:r,s=_t.isBefore(o,a)?o:a;return _t.isBefore(s,u)?null:function(l){for(var c=1;c<arguments.length;c++){var f=arguments[c]!=null?arguments[c]:{};c%2?vA(Object(f),!0).forEach(function(p){zo(l,p,f[p])}):Object.getOwnPropertyDescriptors?Object.defineProperties(l,Object.getOwnPropertyDescriptors(f)):vA(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 _t.isAfter(e,n)},isCollapsed(t){var{anchor:e,focus:n}=t;return _t.equals(e,n)},isExpanded:t=>!R.isCollapsed(t),isForward:t=>!R.isBackward(t),isRange:t=>kn(t)&&_t.isPoint(t.anchor)&&_t.isPoint(t.focus),*points(t){yield[t.anchor,"anchor"],yield[t.focus,"focus"]},start(t){var[e]=R.edges(t);return e},transform(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return q1(t,r=>{if(r===null)return null;var o,i,{affinity:a="inward"}=n;if(a==="inward"){var u=R.isCollapsed(r);R.isForward(r)?(o="forward",i=u?o:"backward"):(o="backward",i=u?o:"forward")}else a==="outward"?R.isForward(r)?(o="backward",i="forward"):(o="forward",i="backward"):(o=a,i=a);var s=_t.transform(r.anchor,e,{affinity:o}),l=_t.transform(r.focus,e,{affinity:i});if(!s||!l)return null;r.anchor=s,r.focus=l})}},_G={transform(t,e){var{current:n,affinity:r}=t;if(n!=null){var o=R.transform(n,e,{affinity:r});t.current=o,o==null&&t.unref()}}},lj=(t,e)=>{for(var n in t){var r=t[n],o=e[n];if(kn(r)&&kn(o)){if(!lj(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},FG=["text"],TG=["anchor","focus"];function mA(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 Ko(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?mA(Object(n),!0).forEach(function(r){zo(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):mA(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var it={equals(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{loose:r=!1}=n;function o(i){return di(i,FG)}return lj(r?o(t):t,r?o(e):e)},isText:t=>kn(t)&&typeof t.text=="string",isTextList:t=>Array.isArray(t)&&t.every(e=>it.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=[Ko({},t)];for(var r of e){var o=di(r,TG),[i,a]=R.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,m=void 0;if(a.offset<s){var g=a.offset-f;m=Ko(Ko({},p),{},{text:p.text.slice(g)}),p=Ko(Ko({},p),{},{text:p.text.slice(0,g)})}if(i.offset>f){var v=i.offset-f;d=Ko(Ko({},p),{},{text:p.text.slice(0,v)}),p=Ko(Ko({},p),{},{text:p.text.slice(v)})}Object.assign(p,o),d&&u.push(d),u.push(p),m&&u.push(m)}}n=u}return n}};function yA(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 Vc(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?yA(Object(n),!0).forEach(function(r){zo(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yA(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var PG={transform(t,e){t.children=nA(t.children);var n=t.selection&&nA(t.selection);try{n=((r,o,i)=>{switch(i.type){case"insert_node":var{path:a,node:u}=i,s=tt.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 R.points(o))o[f]=_t.transform(c,i);break;case"insert_text":var{path:p,offset:d,text:m}=i;if(m.length===0)break;var g=tt.leaf(r,p),v=g.text.slice(0,d),y=g.text.slice(d);if(g.text=v+m+y,o)for(var[h,b]of R.points(o))o[b]=_t.transform(h,i);break;case"merge_node":var{path:w}=i,E=tt.get(r,w),S=j.previous(w),C=tt.get(r,S),O=tt.parent(r,w),k=w[w.length-1];if(it.isText(E)&&it.isText(C))C.text+=E.text;else{if(it.isText(E)||it.isText(C))throw new Error('Cannot apply a "merge_node" operation at path ['.concat(w,"] to nodes of different interfaces: ").concat(E," ").concat(C));C.children.push(...E.children)}if(O.children.splice(k,1),o)for(var[I,$]of R.points(o))o[$]=_t.transform(I,i);break;case"move_node":var{path:M,newPath:q}=i;if(j.isAncestor(M,q))throw new Error("Cannot move a path [".concat(M,"] to new path [").concat(q,"] because the destination is inside itself."));var G=tt.get(r,M),W=tt.parent(r,M),K=M[M.length-1];W.children.splice(K,1);var J=j.transform(M,i),ot=tt.get(r,j.parent(J)),ut=J[J.length-1];if(ot.children.splice(ut,0,G),o)for(var[st,B]of R.points(o))o[B]=_t.transform(st,i);break;case"remove_node":var{path:x}=i,T=x[x.length-1];if(tt.parent(r,x).children.splice(T,1),o)for(var[H,V]of R.points(o)){var U=_t.transform(H,i);if(o!=null&&U!=null)o[V]=U;else{var at=void 0,gt=void 0;for(var[vt,Dt]of tt.texts(r)){if(j.compare(Dt,x)!==-1){gt=[vt,Dt];break}at=[vt,Dt]}var Y=!1;at&&gt&&(Y=j.equals(gt[1],x)?!j.hasPrevious(gt[1]):j.common(at[1],x).length<j.common(gt[1],x).length),at&&!Y?(H.path=at[1],H.offset=at[0].text.length):gt?(H.path=gt[1],H.offset=0):o=null}}break;case"remove_text":var{path:Lt,offset:At,text:dt}=i;if(dt.length===0)break;var Ot=tt.leaf(r,Lt),Fe=Ot.text.slice(0,At),Ht=Ot.text.slice(At+dt.length);if(Ot.text=Fe+Ht,o)for(var[ne,be]of R.points(o))o[be]=_t.transform(ne,i);break;case"set_node":var{path:En,properties:$t,newProperties:Mn}=i;if(En.length===0)throw new Error("Cannot set properties on the root node!");var $r=tt.get(r,En);for(var lo in Mn){if(lo==="children"||lo==="text")throw new Error('Cannot set the "'.concat(lo,'" property of nodes!'));var xs=Mn[lo];xs==null?delete $r[lo]:$r[lo]=xs}for(var Ya in $t)Mn.hasOwnProperty(Ya)||delete $r[Ya];break;case"set_selection":var{newProperties:Hr}=i;if(Hr==null)o=Hr;else{if(o==null){if(!R.isRange(Hr))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(JSON.stringify(Hr)," when there is no current selection."));o=Vc({},Hr)}for(var co in Hr){var Ho=Hr[co];if(Ho==null){if(co==="anchor"||co==="focus")throw new Error('Cannot remove the "'.concat(co,'" selection property'));delete o[co]}else o[co]=Ho}}break;case"split_node":var{path:Dn,position:Cn,properties:Sn}=i;if(Dn.length===0)throw new Error('Cannot apply a "split_node" operation at path ['.concat(Dn,"] because the root node cannot be split."));var Pn,un=tt.get(r,Dn),yr=tt.parent(r,Dn),_c=Dn[Dn.length-1];if(it.isText(un)){var yi=un.text.slice(0,Cn),Vo=un.text.slice(Cn);un.text=yi,Pn=Vc(Vc({},Sn),{},{text:Vo})}else{var As=un.children.slice(0,Cn),Xa=un.children.slice(Cn);un.children=As,Pn=Vc(Vc({},Sn),{},{children:Xa})}if(yr.children.splice(_c+1,0,Pn),o)for(var[Os,Vr]of R.points(o))o[Vr]=_t.transform(Os,i)}return o})(t,n,e)}finally{t.children=rA(t.children),t.selection=n?Qu(n)?rA(n):n:null}}},jG=["text"],NG=["children"];function bA(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 wA(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?bA(Object(n),!0).forEach(function(r){zo(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):bA(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var IG={insertNodes(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};D.withoutNormalizing(t,()=>{var{hanging:r=!1,voids:o=!1,mode:i="lowest"}=n,{at:a,match:u,select:s}=n;if(tt.isNode(e)&&(e=[e]),e.length!==0){var[l]=e;if(a||(a=t.selection?t.selection:t.children.length>0?D.end(t,[]):[0],s=!0),s==null&&(s=!1),R.isRange(a))if(r||(a=D.unhangRange(t,a)),R.isCollapsed(a))a=a.anchor;else{var[,c]=R.edges(a),f=D.pointRef(t,c);N.delete(t,{at:a}),a=f.unref()}if(_t.isPoint(a)){u==null&&(u=it.isText(l)?S=>it.isText(S):t.isInline(l)?S=>it.isText(S)||D.isInline(t,S):S=>D.isBlock(t,S));var[p]=D.nodes(t,{at:a.path,match:u,mode:i,voids:o});if(!p)return;var[,d]=p,m=D.pathRef(t,d),g=D.isEnd(t,a,d);N.splitNodes(t,{at:a,match:u,mode:i,voids:o});var v=m.unref();a=g?j.next(v):v}var y=j.parent(a),h=a[a.length-1];if(o||!D.void(t,{at:y})){for(var b of e){var w=y.concat(h);h++,t.apply({type:"insert_node",path:w,node:b}),a=j.next(a)}if(a=j.previous(a),s){var E=D.end(t,a);E&&N.select(t,E)}}}})},liftNodes(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};D.withoutNormalizing(t,()=>{var{at:n=t.selection,mode:r="lowest",voids:o=!1}=e,{match:i}=e;if(i==null&&(i=j.isPath(n)?Ps(t,n):b=>D.isBlock(t,b)),n){var a=D.nodes(t,{at:n,match:i,mode:r,voids:o}),u=Array.from(a,b=>{var[,w]=b;return D.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=D.node(t,j.parent(l)),[f,p]=c,d=l[l.length-1],{length:m}=f.children;if(m===1){var g=j.next(p);N.moveNodes(t,{at:l,to:g,voids:o}),N.removeNodes(t,{at:p,voids:o})}else if(d===0)N.moveNodes(t,{at:l,to:p,voids:o});else if(d===m-1){var v=j.next(p);N.moveNodes(t,{at:l,to:v,voids:o})}else{var y=j.next(l),h=j.next(p);N.splitNodes(t,{at:y,voids:o}),N.moveNodes(t,{at:l,to:h,voids:o})}}}})},mergeNodes(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};D.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(j.isPath(r)){var[u]=D.parent(t,r);n=k=>u.children.includes(k)}else n=k=>D.isBlock(t,k);if(!o&&R.isRange(r)&&(r=D.unhangRange(t,r)),R.isRange(r))if(R.isCollapsed(r))r=r.anchor;else{var[,s]=R.edges(r),l=D.pointRef(t,s);N.delete(t,{at:r}),r=l.unref(),e.at==null&&N.select(t,r)}var[c]=D.nodes(t,{at:r,match:n,voids:i,mode:a}),f=D.previous(t,{at:r,match:n,voids:i,mode:a});if(c&&f){var[p,d]=c,[m,g]=f;if(d.length!==0&&g.length!==0){var v,y,h=j.next(g),b=j.common(d,g),w=j.isSibling(d,g),E=Array.from(D.levels(t,{at:d}),k=>{var[I]=k;return I}).slice(b.length).slice(0,-1),S=D.above(t,{at:d,mode:"highest",match:k=>E.includes(k)&&cj(t,k)}),C=S&&D.pathRef(t,S[1]);if(it.isText(p)&&it.isText(m)){var O=di(p,jG);y=m.text.length,v=O}else{if(!ct.isElement(p)||!ct.isElement(m))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(m)));O=di(p,NG),y=m.children.length,v=O}w||N.moveNodes(t,{at:d,to:h,voids:i}),C&&N.removeNodes(t,{at:C.current,voids:i}),ct.isElement(m)&&D.isEmpty(t,m)||it.isText(m)&&m.text===""&&g[g.length-1]!==0?N.removeNodes(t,{at:g,voids:i}):t.apply({type:"merge_node",path:h,position:y,properties:v}),C&&C.unref()}}}})},moveNodes(t,e){D.withoutNormalizing(t,()=>{var{to:n,at:r=t.selection,mode:o="lowest",voids:i=!1}=e,{match:a}=e;if(r){a==null&&(a=j.isPath(r)?Ps(t,r):d=>D.isBlock(t,d));var u=D.pathRef(t,n),s=D.nodes(t,{at:r,match:a,mode:o,voids:i}),l=Array.from(s,d=>{var[,m]=d;return D.pathRef(t,m)});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&&j.isSibling(p,f)&&j.isAfter(p,f)&&(u.current=j.next(u.current))}u.unref()}})},removeNodes(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};D.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=j.isPath(i)?Ps(t,i):p=>D.isBlock(t,p)),!n&&R.isRange(i)&&(i=D.unhangRange(t,i));var u=D.nodes(t,{at:i,match:a,mode:o,voids:r}),s=Array.from(u,p=>{var[,d]=p;return D.pathRef(t,d)});for(var l of s){var c=l.unref();if(c){var[f]=D.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]:{};D.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=j.isPath(o)?Ps(t,o):E=>D.isBlock(t,E)),!i&&R.isRange(o)&&(o=D.unhangRange(t,o)),u&&R.isRange(o)){if(R.isCollapsed(o)&&D.leaf(t,o.anchor)[0].text.length>0)return;var l=D.rangeRef(t,o,{affinity:"inward"}),[c,f]=R.edges(o),p=a==="lowest"?"lowest":"highest",d=D.isEnd(t,f,f.path);N.splitNodes(t,{at:f,match:r,mode:p,voids:s,always:!d});var m=D.isStart(t,c,c.path);N.splitNodes(t,{at:c,match:r,mode:p,voids:s,always:!m}),o=l.unref(),n.at==null&&N.select(t,o)}for(var[g,v]of D.nodes(t,{at:o,match:r,mode:a,voids:s})){var y={},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)&&(y[w]=g[w]),e[w]!=null&&(h[w]=e[w]));b&&t.apply({type:"set_node",path:v,properties:y,newProperties:h})}}}})},splitNodes(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};D.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=>D.isBlock(t,G)),R.isRange(i)&&(i=LG(t,i)),j.isPath(i)){var s=i,l=D.point(t,s),[c]=D.parent(t,s);o=G=>G===c,a=l.path.length-s.length+1,i=l,u=!0}if(i){var f=D.pointRef(t,i,{affinity:"backward"}),[p]=D.nodes(t,{at:i,match:o,mode:n,voids:r});if(p){var d=D.void(t,{at:i,mode:"highest"});if(!r&&d){var[m,g]=d;if(ct.isElement(m)&&t.isInline(m)){var v=D.after(t,g);if(!v){var y=j.next(g);N.insertNodes(t,{text:""},{at:y,voids:r}),v=D.point(t,y)}i=v,u=!0}a=i.path.length-g.length+1,u=!0}var h=D.pointRef(t,i),b=i.path.length-a,[,w]=p,E=i.path.slice(0,b),S=a===0?i.offset:i.path[b]+0;for(var[C,O]of D.levels(t,{at:E,reverse:!0,voids:r})){var k=!1;if(O.length<w.length||O.length===0||!r&&D.isVoid(t,C))break;var I=f.current,$=D.isEnd(t,I,O);if(u||!f||!D.isEdge(t,I,O)){k=!0;var M=tt.extractProps(C);t.apply({type:"split_node",path:O,position:S,properties:M})}S=O[O.length-1]+(k||$?1:0)}if(e.at==null){var q=h.current||D.end(t,[]);N.select(t,q)}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;N.setNodes(t,r,n)},unwrapNodes(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};D.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=j.isPath(i)?Ps(t,i):p=>D.isBlock(t,p)),j.isPath(i)&&(i=D.range(t,i));var u=R.isRange(i)?D.rangeRef(t,i):null,s=D.nodes(t,{at:i,match:a,mode:n,voids:o}),l=Array.from(s,p=>{var[,d]=p;return D.pathRef(t,d)}).reverse(),c=function(p){var d=p.unref(),[m]=D.node(t,d),g=D.range(t,d);r&&u&&(g=R.intersection(u.current,g)),N.liftNodes(t,{at:g,match:v=>ct.isAncestor(m)&&m.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]:{};D.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=j.isPath(u)?Ps(t,u):t.isInline(e)?v=>D.isInline(t,v)||it.isText(v):v=>D.isBlock(t,v)),o&&R.isRange(u)){var[s,l]=R.edges(u),c=D.rangeRef(t,u,{affinity:"inward"});N.splitNodes(t,{at:l,match:a,voids:i}),N.splitNodes(t,{at:s,match:a,voids:i}),u=c.unref(),n.at==null&&N.select(t,u)}var f=Array.from(D.nodes(t,{at:u,match:t.isInline(e)?v=>D.isBlock(t,v):v=>D.isEditor(v),mode:"lowest",voids:i}));for(var[,p]of f){var d=R.isRange(u)?R.intersection(u,D.range(t,p)):u;if(d){var m=Array.from(D.nodes(t,{at:d,match:a,mode:r,voids:i}));if(m.length>0){var g=function(){var[v]=m,y=m[m.length-1],[,h]=v,[,b]=y;if(h.length===0&&b.length===0)return"continue";var w=j.equals(h,b)?j.parent(h):j.common(h,b),E=D.range(t,h,b),S=D.node(t,w),[C]=S,O=w.length+1,k=j.next(b.slice(0,O)),I=wA(wA({},e),{},{children:[]});N.insertNodes(t,I,{at:k,voids:i}),N.moveNodes(t,{at:E,match:$=>ct.isAncestor(C)&&C.children.includes($),to:k.concat(0),voids:i})}();if(g==="continue")continue}}}}})}},cj=(t,e)=>{if(ct.isElement(e)){var n=e;return!!D.isVoid(t,e)||n.children.length===1&&cj(t,n.children[0])}return!D.isEditor(e)},LG=(t,e)=>{if(R.isCollapsed(e))return e.anchor;var[,n]=R.edges(e),r=D.pointRef(t,n);return N.delete(t,{at:e}),r.unref()},Ps=(t,e)=>{var[n]=D.node(t,e);return r=>r===n};function EA(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 DA(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?EA(Object(n),!0).forEach(function(r){zo(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):EA(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var RG={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")N.select(t,r.anchor);else if(n==="focus")N.select(t,r.focus);else if(n==="start"){var[o]=R.edges(r);N.select(t,o)}else if(n==="end"){var[,i]=R.edges(r);N.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=R.isBackward(n)?"focus":"anchor"),a==="end"&&(a=R.isBackward(n)?"anchor":"focus");var{anchor:u,focus:s}=n,l={distance:r,unit:o},c={};if(a==null||a==="anchor"){var f=i?D.before(t,u,l):D.after(t,u,l);f&&(c.anchor=f)}if(a==null||a==="focus"){var p=i?D.before(t,s,l):D.after(t,s,l);p&&(c.focus=p)}N.setSelection(t,c)}},select(t,e){var{selection:n}=t;if(e=D.range(t,e),n)N.setSelection(t,e);else{if(!R.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=R.isBackward(r)?"focus":"anchor"),o==="end"&&(o=R.isBackward(r)?"anchor":"focus");var{anchor:i,focus:a}=r,u=o==="anchor"?i:a;N.setSelection(t,{[o==="anchor"?"anchor":"focus"]:DA(DA({},u),e)})}},setSelection(t,e){var{selection:n}=t,r={},o={};if(n){for(var i in e)(i==="anchor"&&e.anchor!=null&&!_t.equals(e.anchor,n.anchor)||i==="focus"&&e.focus!=null&&!_t.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})}}},MG={delete(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};D.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(R.isRange(a)&&R.isCollapsed(a)&&(a=a.anchor),_t.isPoint(a)){var s=D.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?D.before(t,a,c)||D.start(t,[]):D.after(t,a,c)||D.end(t,[])},u=!0}}if(j.isPath(a))N.removeNodes(t,{at:a,voids:i});else if(!R.isCollapsed(a)){if(!u){var[,f]=R.edges(a),p=D.end(t,[]);_t.equals(f,p)||(a=D.unhangRange(t,a,{voids:i}))}var[d,m]=R.edges(a),g=D.above(t,{match:gt=>D.isBlock(t,gt),at:d,voids:i}),v=D.above(t,{match:gt=>D.isBlock(t,gt),at:m,voids:i}),y=g&&v&&!j.equals(g[1],v[1]),h=j.equals(d.path,m.path),b=i?null:D.void(t,{at:d,mode:"highest"}),w=i?null:D.void(t,{at:m,mode:"highest"});if(b){var E=D.before(t,d);E&&g&&j.isAncestor(g[1],E.path)&&(d=E)}if(w){var S=D.after(t,m);S&&v&&j.isAncestor(v[1],S.path)&&(m=S)}var C,O=[];for(var k of D.nodes(t,{at:a,voids:i})){var[I,$]=k;C&&j.compare($,C)===0||(!i&&D.isVoid(t,I)||!j.isCommon($,d.path)&&!j.isCommon($,m.path))&&(O.push(k),C=$)}var M=Array.from(O,gt=>{var[,vt]=gt;return D.pathRef(t,vt)}),q=D.pointRef(t,d),G=D.pointRef(t,m);if(!h&&!b){var W=q.current,[K]=D.leaf(t,W),{path:J}=W,{offset:ot}=d,ut=K.text.slice(ot);ut.length>0&&t.apply({type:"remove_text",path:J,offset:ot,text:ut})}for(var st of M){var B=st.unref();N.removeNodes(t,{at:B,voids:i})}if(!w){var x=G.current,[T]=D.leaf(t,x),{path:H}=x,V=h?d.offset:0,U=T.text.slice(V,m.offset);U.length>0&&t.apply({type:"remove_text",path:H,offset:V,text:U})}!h&&y&&G.current&&q.current&&N.mergeNodes(t,{at:G.current,hanging:!0,voids:i});var at=n?q.unref()||G.unref():G.unref()||q.unref();e.at==null&&at&&N.select(t,at)}}})},insertFragment(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};D.withoutNormalizing(t,()=>{var{hanging:r=!1,voids:o=!1}=n,{at:i=t.selection}=n;if(e.length&&i){if(R.isRange(i))if(r||(i=D.unhangRange(t,i)),R.isCollapsed(i))i=i.anchor;else{var[,a]=R.edges(i);if(!o&&D.void(t,{at:a}))return;var u=D.pointRef(t,a);N.delete(t,{at:i}),i=u.unref()}else j.isPath(i)&&(i=D.start(t,i));if(o||!D.void(t,{at:i})){var s=D.above(t,{at:i,match:x=>D.isInline(t,x),mode:"highest",voids:o});if(s){var[,l]=s;D.isEnd(t,i,l)?i=D.after(t,l):D.isStart(t,i,l)&&(i=D.before(t,l))}var c=D.above(t,{match:x=>D.isBlock(t,x),at:i,voids:o}),[,f]=c,p=D.isStart(t,i,f),d=D.isEnd(t,i,f),m=p&&d,g=!p||p&&d,v=!d,[,y]=tt.first({children:e},[]),[,h]=tt.last({children:e},[]),b=[],w=x=>{var[T,H]=x;return H.length!==0&&(!!m||!(g&&j.isAncestor(H,y)&&ct.isElement(T)&&!t.isVoid(T)&&!t.isInline(T))&&!(v&&j.isAncestor(H,h)&&ct.isElement(T)&&!t.isVoid(T)&&!t.isInline(T)))};for(var E of tt.nodes({children:e},{pass:w}))w(E)&&b.push(E);var S=[],C=[],O=[],k=!0,I=!1;for(var[$]of b)ct.isElement($)&&!t.isInline($)?(k=!1,I=!0,C.push($)):k?S.push($):O.push($);var[M]=D.nodes(t,{at:i,match:x=>it.isText(x)||D.isInline(t,x),mode:"highest",voids:o}),[,q]=M,G=D.isStart(t,i,q),W=D.isEnd(t,i,q),K=D.pathRef(t,d?j.next(f):f),J=D.pathRef(t,W?j.next(q):q),ot=D.pathRef(t,f);N.splitNodes(t,{at:i,match:x=>I?D.isBlock(t,x):it.isText(x)||D.isInline(t,x),mode:I?"lowest":"highest",voids:o});var ut=D.pathRef(t,!G||G&&W?j.next(q):q);if(N.insertNodes(t,S,{at:ut.current,match:x=>it.isText(x)||D.isInline(t,x),mode:"highest",voids:o}),m&&C.length&&N.delete(t,{at:ot.unref(),voids:o}),N.insertNodes(t,C,{at:K.current,match:x=>D.isBlock(t,x),mode:"lowest",voids:o}),N.insertNodes(t,O,{at:J.current,match:x=>it.isText(x)||D.isInline(t,x),mode:"highest",voids:o}),!n.at){var st;st=O.length>0?j.previous(J.current):C.length>0?j.previous(K.current):j.previous(ut.current);var B=D.end(t,st);N.select(t,B)}ut.unref(),K.unref(),J.unref()}}})},insertText(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};D.withoutNormalizing(t,()=>{var{voids:r=!1}=n,{at:o=t.selection}=n;if(o){if(j.isPath(o)&&(o=D.range(t,o)),R.isRange(o))if(R.isCollapsed(o))o=o.anchor;else{var i=R.end(o);if(!r&&D.void(t,{at:i}))return;var a=D.pointRef(t,i);N.delete(t,{at:o,voids:r}),o=a.unref(),N.setSelection(t,{anchor:o,focus:o})}if(r||!D.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 CA(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 Gh(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{};e%2?CA(Object(n),!0).forEach(function(r){zo(t,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):CA(Object(n)).forEach(function(r){Object.defineProperty(t,r,Object.getOwnPropertyDescriptor(n,r))})}return t}var N=Gh(Gh(Gh(Gh({},PG),IG),RG),MG),nE="[object Map]",rE="[object Set]",zG=/^\[object .+?Constructor\]$/,$G=/^(?:0|[1-9]\d*)$/,HG="[\\ud800-\\udfff]",oE="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",iE="\\ud83c[\\udffb-\\udfff]",fj="[^\\ud800-\\udfff]",dj="(?:\\ud83c[\\udde6-\\uddff]){2}",pj="[\\ud800-\\udbff][\\udc00-\\udfff]",SA="(?:"+oE+"|"+iE+")?",VG="[\\ufe0e\\ufe0f]?"+SA+("(?:\\u200d(?:"+[fj,dj,pj].join("|")+")[\\ufe0e\\ufe0f]?"+SA+")*"),UG="(?:"+[fj+oE+"?",oE,dj,pj,HG].join("|")+")",WG=RegExp(iE+"(?="+iE+")|"+UG+VG,"g"),GG=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),qG=typeof ce=="object"&&ce&&ce.Object===Object&&ce,KG=typeof self=="object"&&self&&self.Object===Object&&self,gs=qG||KG||Function("return this")();function YG(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 XG(t){var e=-1,n=Array(t.size);return t.forEach(function(r,o){n[++e]=[o,r]}),n}function ZG(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}function JG(t){return function(e){return GG.test(e)}(t)?function(e){return e.match(WG)||[]}(t):function(e){return e.split("")}(t)}var xA,AA,QG=Function.prototype,K1=Object.prototype,_y=gs["__core-js_shared__"],OA=function(){var t=/[^.]+$/.exec(_y&&_y.keys&&_y.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),hj=QG.toString,Qg=K1.hasOwnProperty,qp=K1.toString,tq=RegExp("^"+hj.call(Qg).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),kA=gs.Symbol,Fy=kA?kA.iterator:void 0,eq=K1.propertyIsEnumerable,nq=(xA=Object.keys,AA=Object,function(t){return xA(AA(t))}),aE=Kp(gs,"DataView"),uE=Kp(gs,"Map"),sE=Kp(gs,"Promise"),lE=Kp(gs,"Set"),cE=Kp(gs,"WeakMap"),rq=vs(aE),oq=vs(uE),iq=vs(sE),aq=vs(lE),uq=vs(cE);function sq(t,e){var n=gj(t)||function(a){return function(u){return yj(u)&&W5(u)}(a)&&Qg.call(a,"callee")&&(!eq.call(a,"callee")||qp.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&&!Qg.call(t,i)||o&&(i=="length"||fq(i,r))||n.push(i);return n}function lq(t){if(!mj(t)||function(n){return!!OA&&OA in n}(t))return!1;var e=vj(t)||function(n){var r=!1;if(n!=null&&typeof n.toString!="function")try{r=!!(n+"")}catch{}return r}(t)?tq:zG;return e.test(vs(t))}function cq(t){if(n=(e=t)&&e.constructor,r=typeof n=="function"&&n.prototype||K1,e!==r)return nq(t);var e,n,r,o=[];for(var i in Object(t))Qg.call(t,i)&&i!="constructor"&&o.push(i);return o}function Kp(t,e){var n=function(r,o){return r==null?void 0:r[o]}(t,e);return lq(n)?n:void 0}var pu=function(t){return qp.call(t)};function fq(t,e){return!!(e=e==null?9007199254740991:e)&&(typeof t=="number"||$G.test(t))&&t>-1&&t%1==0&&t<e}function vs(t){if(t!=null){try{return hj.call(t)}catch{}try{return t+""}catch{}}return""}(aE&&pu(new aE(new ArrayBuffer(1)))!="[object DataView]"||uE&&pu(new uE)!=nE||sE&&pu(sE.resolve())!="[object Promise]"||lE&&pu(new lE)!=rE||cE&&pu(new cE)!="[object WeakMap]")&&(pu=function(t){var e=qp.call(t),n=e=="[object Object]"?t.constructor:void 0,r=n?vs(n):void 0;if(r)switch(r){case rq:return"[object DataView]";case oq:return nE;case iq:return"[object Promise]";case aq:return rE;case uq:return"[object WeakMap]"}return e});var gj=Array.isArray;function W5(t){return t!=null&&function(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=9007199254740991}(t.length)&&!vj(t)}function vj(t){var e=mj(t)?qp.call(t):"";return e=="[object Function]"||e=="[object GeneratorFunction]"}function mj(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function yj(t){return!!t&&typeof t=="object"}function dq(t){return t?YG(t,function(e){return W5(e)?sq(e):cq(e)}(t)):[]}var BA=function(t){if(!t)return[];if(W5(t))return function(n){return typeof n=="string"||!gj(n)&&yj(n)&&qp.call(n)=="[object String]"}(t)?JG(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(Fy&&t[Fy])return function(n){for(var r,o=[];!(r=n.next()).done;)o.push(r.value);return o}(t[Fy]());var e=pu(t);return(e==nE?XG:e==rE?ZG:dq)(t)};function _A(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function G5(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(function(n){t[n]===void 0?t[n]=e[n]:_A(e[n])&&_A(t[n])&&Object.keys(e[n]).length>0&&G5(t[n],e[n])})}var bj={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 Yp(){var t=typeof document<"u"?document:{};return G5(t,bj),t}var pq={document:bj,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>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame:function(t){typeof setTimeout<"u"&&clearTimeout(t)}};function ms(){var t=typeof window<"u"?window:{};return G5(t,pq),t}function fE(t){return fE=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},fE(t)}function tv(t,e){return tv=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},tv(t,e)}function hq(){if(typeof Reflect>"u"||!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{return!1}}function dE(t,e,n){return dE=hq()?Reflect.construct:function(r,o,i){var a=[null];a.push.apply(a,o);var u=new(Function.bind.apply(r,a));return i&&tv(u,i.prototype),u},dE.apply(null,arguments)}function pE(t){var e=typeof Map=="function"?new Map:void 0;return pE=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 dE(n,arguments,fE(this).constructor)}return r.prototype=Object.create(n.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),tv(r,n)},pE(t)}var oa=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}(pE(Array));function Y1(t){t===void 0&&(t=[]);var e=[];return t.forEach(function(n){Array.isArray(n)?e.push.apply(e,Y1(n)):e.push(n)}),e}function wj(t,e){return Array.prototype.filter.call(t,e)}function _(t,e){var n=ms(),r=Yp(),o=[];if(!e&&t instanceof oa)return t;if(!t)return new oa(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 oa)return t;o=t}return new oa(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 Ll(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=Y1(e.map(function(o){return o.split(" ")}));return this.forEach(function(o){var i;(i=o.classList).add.apply(i,r)}),this}function Rl(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=Y1(e.map(function(o){return o.split(" ")}));return this.forEach(function(o){var i;(i=o.classList).remove.apply(i,r)}),this}function Ml(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=Y1(e.map(function(o){return o.split(" ")}));return wj(this,function(o){return r.filter(function(i){return o.classList.contains(i)}).length>0}).length>0}function Nr(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 ev(t){for(var e=0;e<this.length;e+=1)this[e].removeAttribute(t);return this}function zl(){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 Po(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 jo(){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 y=g.target.dom7EventData||[];if(y.indexOf(g)<0&&y.unshift(g),_(v).is(o))i.apply(v,y);else for(var h=_(v).parents(),b=0;b<h.length;b+=1)_(h[b]).is(o)&&i.apply(h[b],y)}}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 m=c[l];p.dom7Listeners||(p.dom7Listeners={}),p.dom7Listeners[m]||(p.dom7Listeners[m]=[]),p.dom7Listeners[m].push({listener:i,proxyListener:s}),p.addEventListener(m,s,a)}}return this}function FA(){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 m=p[d];i&&m.listener===i||i&&m.listener&&m.listener.dom7proxy&&m.listener.dom7proxy===i?(f.removeEventListener(l,m.proxyListener,a),p.splice(d,1)):i||(f.removeEventListener(l,m.proxyListener,a),p.splice(d,1))}}return this}function nv(){var t=ms();return this[0]===t?t.innerWidth:this.length>0?parseFloat(this.css("width")):null}function rv(){var t=ms();return this[0]===t?t.innerHeight:this.length>0?parseFloat(this.css("height")):null}function TA(){if(this.length>0){var t=ms(),e=Yp(),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 $l(){for(var t=0;t<this.length;t+=1)this[t].style.display="none";return this}function ov(){for(var t=ms(),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 iv(t,e){var n,r=ms();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 av(t){return t?(this.forEach(function(e,n){t.apply(e,[e,n])}),this):this}function PA(t){return _(wj(this,t))}function Ba(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 uv(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 jA(t){var e,n,r=ms(),o=Yp(),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=_(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 oa){for(e=t.nodeType?[t]:t,n=0;n<e.length;n+=1)if(e[n]===i)return!0;return!1}return!1}function Ir(){for(var t,e=Yp(),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 oa)for(var i=0;i<t.length;i+=1)this[r].appendChild(t[i]);else this[r].appendChild(t)}return this}function NA(t){var e,n,r=Yp();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 oa)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 Hl(t){for(var e=[],n=0;n<this.length;n+=1)this[n].parentNode!==null&&(t?_(this[n].parentNode).is(t)&&e.push(this[n].parentNode):e.push(this[n].parentNode));return _(e)}function sv(t){for(var e=[],n=0;n<this.length;n+=1)for(var r=this[n].parentNode;r;)t?_(r).is(t)&&e.push(r):e.push(r),r=r.parentNode;return _(e)}function Vl(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 _(e)}function Ul(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&&!_(r[o]).is(t)||e.push(r[o]);return _(e)}function Wl(){for(var t=0;t<this.length;t+=1)this[t].parentNode&&this[t].parentNode.removeChild(this[t]);return this}function Gl(){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}_.fn=oa.prototype;var gq="resize scroll".split(" ");function Ej(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)gq.indexOf(t)<0&&(t in this[o]?this[o][t]():_(this[o]).trigger(t));return this}return this.on.apply(this,[t].concat(n))}}var IA=Ej("click"),_a=Ej("focus"),vq="[object GeneratorFunction]",mq=/^(?:0|[1-9]\d*)$/;function yq(t,e){for(var n=-1,r=t?t.length:0;++n<r&&e(t[n],n,t)!==!1;);return t}var X1=Object.prototype,hE=X1.hasOwnProperty,Dj=X1.toString,bq=X1.propertyIsEnumerable,wq=function(t,e){return function(n){return t(e(n))}}(Object.keys,Object);function Eq(t,e){var n=Cj(t)||function(a){return function(u){return function(s){return!!s&&typeof s=="object"}(u)&&q5(u)}(a)&&hE.call(a,"callee")&&(!bq.call(a,"callee")||Dj.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&&!hE.call(t,i)||o&&(i=="length"||xq(i,r))||n.push(i);return n}var LA,Dq=(LA=function(t,e){return t&&Cq(t,e,Aq)},function(t,e){if(t==null)return t;if(!q5(t))return LA(t,e);for(var n=t.length,r=-1,o=Object(t);++r<n&&e(o[r],r,o)!==!1;);return t}),Cq=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 Sq(t){if(n=(e=t)&&e.constructor,r=typeof n=="function"&&n.prototype||X1,e!==r)return wq(t);var e,n,r,o=[];for(var i in Object(t))hE.call(t,i)&&i!="constructor"&&o.push(i);return o}function xq(t,e){return!!(e=e==null?9007199254740991:e)&&(typeof t=="number"||mq.test(t))&&t>-1&&t%1==0&&t<e}var Cj=Array.isArray;function q5(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)?Dj.call(e):"";return n=="[object Function]"||n==vq}(t)}function Aq(t){return q5(t)?Eq(t):Sq(t)}function Oq(t){return t}var K5=function(t,e){return(Cj(t)?yq:Dq)(t,typeof e=="function"?e:Oq)};let Sj=(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 kq=/^\s+|\s+$/g,Bq=/^[-+]0x[0-9a-f]+$/i,_q=/^0b[01]+$/i,Fq=/^0o[0-7]+$/i,Tq=parseInt,Pq=typeof ce=="object"&&ce&&ce.Object===Object&&ce,jq=typeof self=="object"&&self&&self.Object===Object&&self,Nq=Pq||jq||Function("return this")(),Iq=Object.prototype.toString,Lq=Math.max,Rq=Math.min,Ty=function(){return Nq.Date.now()};function Mq(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,E=o;return r=o=void 0,l=b,a=t.apply(E,w)}function m(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=Ty();if(g(b))return y(b);u=setTimeout(v,function(w){var E=e-(w-s);return f?Rq(E,i-(w-l)):E}(b))}function y(b){return u=void 0,p&&r?d(b):(r=o=void 0,a)}function h(){var b=Ty(),w=g(b);if(r=arguments,o=this,s=b,w){if(u===void 0)return m(s);if(f)return u=setTimeout(v,e),d(s)}return u===void 0&&(u=setTimeout(v,e)),a}return e=RA(e)||0,lv(n)&&(c=!!n.leading,i=(f="maxWait"in n)?Lq(RA(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:y(Ty())},h}function lv(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function RA(t){if(typeof t=="number")return t;if(function(r){return typeof r=="symbol"||function(o){return!!o&&typeof o=="object"}(r)&&Iq.call(r)=="[object Symbol]"}(t))return NaN;if(lv(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=lv(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=t.replace(kq,"");var n=_q.test(t);return n||Fq.test(t)?Tq(t.slice(2),n?2:8):Bq.test(t)?NaN:+t}var es=function(t,e,n){var r=!0,o=!0;if(typeof t!="function")throw new TypeError("Expected a function");return lv(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Mq(t,e,{leading:r,maxWait:e,trailing:o})};const zq={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 qd(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 gE=Array.isArray;function og(t){return typeof t=="string"||typeof t=="number"||t instanceof String||t instanceof Number}function Py(t){return t===void 0}function tr(t){return t!==void 0}const MA=qd("",{},[],void 0,void 0);function Uc(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 $q(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 Hq=["create","update","remove","destroy","pre","post"];function Vq(t,e){const n={create:[],update:[],remove:[],destroy:[],pre:[],post:[]},r=e!==void 0?e:zq;for(const f of Hq)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"),m=d?"."+d.split(" ").join("."):"";return qd(r.tagName(f).toLowerCase()+p+m,{},[],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,m;let g,v=f.data;if(v!==void 0){const b=(d=v.hook)===null||d===void 0?void 0:d.init;tr(b)&&(b(f),v=f.data)}const y=f.children,h=f.sel;if(h==="!")Py(f.text)&&(f.text=""),f.elm=r.createComment(f.text);else if(h!==void 0){const b=h.indexOf("#"),w=h.indexOf(".",b),E=b>0?b:h.length,S=w>0?w:h.length,C=b!==-1||w!==-1?h.slice(0,Math.min(E,S)):h,O=f.elm=tr(v)&&tr(g=v.ns)?r.createElementNS(g,C,v):r.createElement(C,v);for(E<S&&O.setAttribute("id",h.slice(E+1,S)),w>0&&O.setAttribute("class",h.slice(S+1).replace(/\./g," ")),g=0;g<n.create.length;++g)n.create[g](MA,f);if(gE(y))for(g=0;g<y.length;++g){const I=y[g];I!=null&&r.appendChild(O,a(I,p))}else og(f.text)&&r.appendChild(O,r.createTextNode(f.text));const k=f.data.hook;tr(k)&&((m=k.create)===null||m===void 0||m.call(k,MA,f),k.insert&&p.push(f))}else f.elm=r.createTextNode(f.text);return f.elm}function u(f,p,d,m,g,v){for(;m<=g;++m){const y=d[m];y!=null&&r.insertBefore(f,a(y,v),p)}}function s(f){var p,d;const m=f.data;if(m!==void 0){(d=(p=m==null?void 0:m.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,m){for(var g,v;d<=m;++d){let y,h;const b=p[d];if(b!=null)if(tr(b.sel)){s(b),y=n.remove.length+1,h=i(b.elm,y);for(let E=0;E<n.remove.length;++E)n.remove[E](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;tr(w)?w(b,h):h()}else r.removeChild(f,b.elm)}}function c(f,p,d){var m,g,v,y,h;const b=(m=p.data)===null||m===void 0?void 0:m.hook;(g=b==null?void 0:b.prepatch)===null||g===void 0||g.call(b,f,p);const w=p.elm=f.elm,E=f.children,S=p.children;if(f!==p){if(p.data!==void 0){for(let C=0;C<n.update.length;++C)n.update[C](f,p);(y=(v=p.data.hook)===null||v===void 0?void 0:v.update)===null||y===void 0||y.call(v,f,p)}Py(p.text)?tr(E)&&tr(S)?E!==S&&function(C,O,k,I){let $,M,q,G,W=0,K=0,J=O.length-1,ot=O[0],ut=O[J],st=k.length-1,B=k[0],x=k[st];for(;W<=J&&K<=st;)ot==null?ot=O[++W]:ut==null?ut=O[--J]:B==null?B=k[++K]:x==null?x=k[--st]:Uc(ot,B)?(c(ot,B,I),ot=O[++W],B=k[++K]):Uc(ut,x)?(c(ut,x,I),ut=O[--J],x=k[--st]):Uc(ot,x)?(c(ot,x,I),r.insertBefore(C,ot.elm,r.nextSibling(ut.elm)),ot=O[++W],x=k[--st]):Uc(ut,B)?(c(ut,B,I),r.insertBefore(C,ut.elm,ot.elm),ut=O[--J],B=k[++K]):($===void 0&&($=$q(O,W,J)),M=$[B.key],Py(M)?r.insertBefore(C,a(B,I),ot.elm):(q=O[M],q.sel!==B.sel?r.insertBefore(C,a(B,I),ot.elm):(c(q,B,I),O[M]=void 0,r.insertBefore(C,q.elm,ot.elm))),B=k[++K]);(W<=J||K<=st)&&(W>J?(G=k[st+1]==null?null:k[st+1].elm,u(C,G,k,K,st,I)):l(C,O,W,J))}(w,E,S,d):tr(S)?(tr(f.text)&&r.setTextContent(w,""),u(w,null,S,0,S.length-1,d)):tr(E)?l(w,E,0,E.length-1):tr(f.text)&&r.setTextContent(w,""):f.text!==p.text&&(tr(E)&&l(w,E,0,E.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,m,g;const v=[];for(d=0;d<n.pre.length;++d)n.pre[d]();for(function(y){return y.sel!==void 0}(f)||(f=o(f)),Uc(f,p)?c(f,p,v):(m=f.elm,g=r.parentNode(m),a(p,v),g!==null&&(r.insertBefore(g,p.elm,r.nextSibling(m)),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 xj(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&&xj(o,e[r].children,e[r].sel)}}function ql(t,e,n){let r,o,i,a={};if(n!==void 0?(e!==null&&(a=e),gE(n)?r=n:og(n)?o=n.toString():n&&n.sel&&(r=[n])):e!=null&&(gE(e)?r=e:og(e)?o=e.toString():e&&e.sel?r=[e]:a=e),r!==void 0)for(i=0;i<r.length;++i)og(r[i])&&(r[i]=qd(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]!=="#"||xj(a,r,t),qd(t,a,r,o,void 0)}function zA(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 Uq={create:zA,update:zA};function $A(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 Wq={create:$A,update:$A},HA=/[A-Z]/g;function VA(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(HA,"-$&").toLowerCase()));for(r in i)o[r]!==i[r]&&(a?a[r]=i[r]:n.setAttribute("data-"+r.replace(HA,"-$&").toLowerCase(),i[r]))}const Gq={create:VA,update:VA};function Aj(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++)Aj(t[r],e,n)}function qq(t,e){const n=t.type,r=e.data.on;r&&r[n]&&Aj(r[n],e,t)}function jy(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){qq(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 Kq={create:jy,update:jy,destroy:jy};function UA(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 Yq={create:UA,update:UA},WA=typeof window<"u"&&window.requestAnimationFrame.bind(window)||setTimeout;let Ny=!1;function Xq(t,e,n){(function(r){WA(function(){WA(r)})})(function(){t[e]=n})}function GA(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]||Xq(o.style,s,n);else r!=="remove"&&n!==i[r]&&(r[0]==="-"&&r[1]==="-"?o.style.setProperty(r,n):o.style[r]=n)}const Zq={pre:function(){Ny=!1},create:GA,update:GA,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;Ny||(t.elm.offsetLeft,Ny=!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 Oj(t,e){for(const n of t)n!=null&&n!==!1&&n!==""&&(Array.isArray(n)?Oj(n,e):typeof n=="string"||typeof n=="number"||typeof n=="boolean"?e.push(qd(void 0,void 0,void 0,String(n),void 0)):e.push(n));return e}function bt(t,e,...n){const r=Oj(n,[]);return typeof t=="function"?t(e,r):r.length===1&&!r[0].sel&&r[0].text?ql(t,e,r[0].text):ql(t,e,r)}bt||(bt={});var Jq=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Qq=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,kj="\\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",tK="[\\ud800-\\udfff]",qA="["+kj+"]",cv="[\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0]",Bj="\\d+",eK="[\\u2700-\\u27bf]",_j="[a-z\\xdf-\\xf6\\xf8-\\xff]",Fj="[^\\ud800-\\udfff"+kj+Bj+"\\u2700-\\u27bfa-z\\xdf-\\xf6\\xf8-\\xffA-Z\\xc0-\\xd6\\xd8-\\xde]",vE="\\ud83c[\\udffb-\\udfff]",Tj="[^\\ud800-\\udfff]",Y5="(?:\\ud83c[\\udde6-\\uddff]){2}",X5="[\\ud800-\\udbff][\\udc00-\\udfff]",sl="[A-Z\\xc0-\\xd6\\xd8-\\xde]",KA="(?:"+_j+"|"+Fj+")",nK="(?:"+sl+"|"+Fj+")",YA="(?:"+cv+"|"+vE+")?",Pj="[\\ufe0e\\ufe0f]?"+YA+("(?:\\u200d(?:"+[Tj,Y5,X5].join("|")+")[\\ufe0e\\ufe0f]?"+YA+")*"),rK="(?:"+[eK,Y5,X5].join("|")+")"+Pj,oK="(?:"+[Tj+cv+"?",cv,Y5,X5,tK].join("|")+")",iK=RegExp("['\u2019]","g"),aK=RegExp(cv,"g"),uK=RegExp(vE+"(?="+vE+")|"+oK+Pj,"g"),sK=RegExp([sl+"?"+_j+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?(?="+[qA,sl,"$"].join("|")+")",nK+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?(?="+[qA,sl+KA,"$"].join("|")+")",sl+"?"+KA+"+(?:['\u2019](?:d|ll|m|re|s|t|ve))?",sl+"+(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",Bj,rK].join("|"),"g"),lK=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe23\\u20d0-\\u20f0\\ufe0e\\ufe0f]"),cK=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,fK=typeof ce=="object"&&ce&&ce.Object===Object&&ce,dK=typeof self=="object"&&self&&self.Object===Object&&self,pK=fK||dK||Function("return this")(),Iy,hK=(Iy={\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 Iy==null?void 0:Iy[t]});function jj(t){return lK.test(t)}function gK(t){return jj(t)?function(e){return e.match(uK)||[]}(t):function(e){return e.split("")}(t)}var vK=Object.prototype.toString,XA=pK.Symbol,ZA=XA?XA.prototype:void 0,JA=ZA?ZA.toString:void 0;function mK(t){if(typeof t=="string")return t;if(function(n){return typeof n=="symbol"||function(r){return!!r&&typeof r=="object"}(n)&&vK.call(n)=="[object Symbol]"}(t))return JA?JA.call(t):"";var e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function yK(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 ig(t){return t==null?"":mK(t)}var QA,bK=(QA=function(t,e,n){return e=e.toLowerCase(),t+(n?wK(ig(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=ig(e),(n=r?void 0:n)===void 0?function(o){return cK.test(o)}(e)?function(o){return o.match(sK)||[]}(e):function(o){return o.match(Jq)||[]}(e):e.match(n)||[]}(function(e){return(e=ig(e))&&e.replace(Qq,hK).replace(aK,"")}(t).replace(iK,"")),QA,"")}),t7,wK=(t7="toUpperCase",function(t){var e=jj(t=ig(t))?gK(t):void 0,n=e?e[0]:t.charAt(0),r=e?yK(e,1).join(""):t.slice(1);return n[t7]()+r});for(var EK=bK,DK=typeof window<"u"&&/Mac|iPod|iPhone|iPad/.test(window.navigator.platform),Ly={alt:"altKey",control:"ctrlKey",meta:"metaKey",shift:"shiftKey"},Nj={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:DK?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:" ",spacebar:" ",up:"arrowup",win:"meta",windows:"meta"},Z5={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},qh=1;qh<20;qh++)Z5["f"+qh]=111+qh;function Ij(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 Ly)l[Ly[p]]=!1;var d=!0,m=!1,g=void 0;try{for(var v,y=c[Symbol.iterator]();!(d=(v=y.next()).done);d=!0){var h=v.value,b=h.endsWith("?")&&h.length>1;b&&(h=h.slice(0,-1));var w=Lj(h),E=Ly[w];if(h.length>1&&!E&&!Nj[h]&&!Z5[w])throw new TypeError('Unknown modifier: "'+h+'"');f!==1&&E||(s?l.key=w:l.which=CK(h)),E&&(l[E]=!b||null)}}catch(S){m=!0,g=S}finally{try{!d&&y.return&&y.return()}finally{if(m)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 CK(t){return t=Lj(t),Z5[t]||t.toUpperCase().charCodeAt(0)}function Lj(t){return t=t.toLowerCase(),t=Nj[t]||t}var SK=Ij,Ry=function(t,e){return Ij(t,{byKey:!0},e)},xK=/^\s+|\s+$/g,AK=/^[-+]0x[0-9a-f]+$/i,OK=/^0b[01]+$/i,kK=/^0o[0-7]+$/i,BK=parseInt,_K=typeof ce=="object"&&ce&&ce.Object===Object&&ce,FK=typeof self=="object"&&self&&self.Object===Object&&self,TK=_K||FK||Function("return this")(),PK=Object.prototype.toString,jK=Math.max,NK=Math.min,My=function(){return TK.Date.now()};function mE(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function e7(t){if(typeof t=="number")return t;if(function(r){return typeof r=="symbol"||function(o){return!!o&&typeof o=="object"}(r)&&PK.call(r)=="[object Symbol]"}(t))return NaN;if(mE(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=mE(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=t.replace(xK,"");var n=OK.test(t);return n||kK.test(t)?BK(t.slice(2),n?2:8):AK.test(t)?NaN:+t}var js,Rj=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,E=o;return r=o=void 0,l=b,a=t.apply(E,w)}function m(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=My();if(g(b))return y(b);u=setTimeout(v,function(w){var E=e-(w-s);return f?NK(E,i-(w-l)):E}(b))}function y(b){return u=void 0,p&&r?d(b):(r=o=void 0,a)}function h(){var b=My(),w=g(b);if(r=arguments,o=this,s=b,w){if(u===void 0)return m(s);if(f)return u=setTimeout(v,e),d(s)}return u===void 0&&(u=setTimeout(v,e)),a}return e=e7(e)||0,mE(n)&&(c=!!n.leading,i=(f="maxWait"in n)?jK(e7(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:y(My())},h},Mj=ps(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]",m="[object Set]",g="[object String]",v="[object Symbol]",y="[object WeakMap]",h="[object ArrayBuffer]",b="[object DataView]",w="[object Float32Array]",E="[object Float64Array]",S="[object Int8Array]",C="[object Int16Array]",O="[object Int32Array]",k="[object Uint8Array]",I="[object Uint8ClampedArray]",$="[object Uint16Array]",M="[object Uint32Array]",q=/\w*$/,G=/^\[object .+?Constructor\]$/,W=/^(?:0|[1-9]\d*)$/,K={};K[o]=K["[object Array]"]=K[h]=K[b]=K[i]=K[a]=K[w]=K[E]=K[S]=K[C]=K[O]=K[l]=K[c]=K[f]=K[d]=K[m]=K[g]=K[v]=K[k]=K[I]=K[$]=K[M]=!0,K["[object Error]"]=K[u]=K[y]=!1;var J=typeof ce=="object"&&ce&&ce.Object===Object&&ce,ot=typeof self=="object"&&self&&self.Object===Object&&self,ut=J||ot||Function("return this")(),st=e&&!e.nodeType&&e,B=st&&t&&!t.nodeType&&t,x=B&&B.exports===st;function T(F,z){return F.set(z[0],z[1]),F}function H(F,z){return F.add(z),F}function V(F,z,Q,lt){var zt=-1,ge=F?F.length:0;for(lt&&ge&&(Q=F[++zt]);++zt<ge;)Q=z(Q,F[zt],zt,F);return Q}function U(F){var z=!1;if(F!=null&&typeof F.toString!="function")try{z=!!(F+"")}catch{}return z}function at(F){var z=-1,Q=Array(F.size);return F.forEach(function(lt,zt){Q[++z]=[zt,lt]}),Q}function gt(F,z){return function(Q){return F(z(Q))}}function vt(F){var z=-1,Q=Array(F.size);return F.forEach(function(lt){Q[++z]=lt}),Q}var Dt=Array.prototype,Y=Function.prototype,Lt=Object.prototype,At=ut["__core-js_shared__"],dt=function(){var F=/[^.]+$/.exec(At&&At.keys&&At.keys.IE_PROTO||"");return F?"Symbol(src)_1."+F:""}(),Ot=Y.toString,Fe=Lt.hasOwnProperty,Ht=Lt.toString,ne=RegExp("^"+Ot.call(Fe).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),be=x?ut.Buffer:void 0,En=ut.Symbol,$t=ut.Uint8Array,Mn=gt(Object.getPrototypeOf,Object),$r=Object.create,lo=Lt.propertyIsEnumerable,xs=Dt.splice,Ya=Object.getOwnPropertySymbols,Hr=be?be.isBuffer:void 0,co=gt(Object.keys,Object),Ho=fo(ut,"DataView"),Dn=fo(ut,"Map"),Cn=fo(ut,"Promise"),Sn=fo(ut,"Set"),Pn=fo(ut,"WeakMap"),un=fo(Object,"create"),yr=ho(Ho),_c=ho(Dn),yi=ho(Cn),Vo=ho(Sn),As=ho(Pn),Xa=En?En.prototype:void 0,Os=Xa?Xa.valueOf:void 0;function Vr(F){var z=-1,Q=F?F.length:0;for(this.clear();++z<Q;){var lt=F[z];this.set(lt[0],lt[1])}}function br(F){var z=-1,Q=F?F.length:0;for(this.clear();++z<Q;){var lt=F[z];this.set(lt[0],lt[1])}}function Uo(F){var z=-1,Q=F?F.length:0;for(this.clear();++z<Q;){var lt=F[z];this.set(lt[0],lt[1])}}function Ur(F){this.__data__=new br(F)}function bi(F,z){var Q=P(F)||function(oe){return function(Gt){return function(tn){return!!tn&&typeof tn=="object"}(Gt)&&L(Gt)}(oe)&&Fe.call(oe,"callee")&&(!lo.call(oe,"callee")||Ht.call(oe)==o)}(F)?function(oe,Gt){for(var tn=-1,xn=Array(oe);++tn<oe;)xn[tn]=Gt(tn);return xn}(F.length,String):[],lt=Q.length,zt=!!lt;for(var ge in F)!z&&!Fe.call(F,ge)||zt&&(ge=="length"||Bh(ge,lt))||Q.push(ge);return Q}function Oh(F,z,Q){var lt=F[z];Fe.call(F,z)&&_h(lt,Q)&&(Q!==void 0||z in F)||(F[z]=Q)}function Qn(F,z){for(var Q=F.length;Q--;)if(_h(F[Q][0],z))return Q;return-1}function Fc(F,z,Q,lt,zt,ge,oe){var Gt;if(lt&&(Gt=ge?lt(F,zt,ge,oe):lt(F)),Gt!==void 0)return Gt;if(!re(F))return F;var tn=P(F);if(tn){if(Gt=function(yt){var Jt=yt.length,Ne=yt.constructor(Jt);return Jt&&typeof yt[0]=="string"&&Fe.call(yt,"index")&&(Ne.index=yt.index,Ne.input=yt.input),Ne}(F),!z)return function(yt,Jt){var Ne=-1,Rt=yt.length;for(Jt||(Jt=Array(Rt));++Ne<Rt;)Jt[Ne]=yt[Ne];return Jt}(F,Gt)}else{var xn=po(F),Za=xn==u||xn==s;if(Z(F))return function(yt,Jt){if(Jt)return yt.slice();var Ne=new yt.constructor(yt.length);return yt.copy(Ne),Ne}(F,z);if(xn==f||xn==o||Za&&!ge){if(U(F))return ge?F:{};if(Gt=function(yt){return typeof yt.constructor!="function"||wi(yt)?{}:(Jt=Mn(yt),re(Jt)?$r(Jt):{});var Jt}(Za?{}:F),!z)return function(yt,Jt){return kh(yt,Tc(yt),Jt)}(F,function(yt,Jt){return yt&&kh(Jt,jt(Jt),yt)}(Gt,F))}else{if(!K[xn])return ge?F:{};Gt=function(yt,Jt,Ne,Rt){var qt=yt.constructor;switch(Jt){case h:return ks(yt);case i:case a:return new qt(+yt);case b:return function(Kt,Te){var jn=Te?ks(Kt.buffer):Kt.buffer;return new Kt.constructor(jn,Kt.byteOffset,Kt.byteLength)}(yt,Rt);case w:case E:case S:case C:case O:case k:case I:case $:case M:return function(Kt,Te){var jn=Te?ks(Kt.buffer):Kt.buffer;return new Kt.constructor(jn,Kt.byteOffset,Kt.length)}(yt,Rt);case l:return function(Kt,Te,jn){return V(Te?jn(at(Kt),!0):at(Kt),T,new Kt.constructor)}(yt,Rt,Ne);case c:case g:return new qt(yt);case d:return function(Kt){var Te=new Kt.constructor(Kt.source,q.exec(Kt));return Te.lastIndex=Kt.lastIndex,Te}(yt);case m:return function(Kt,Te,jn){return V(Te?jn(vt(Kt),!0):vt(Kt),H,new Kt.constructor)}(yt,Rt,Ne);case v:return function(Kt){return Os?Object(Os.call(Kt)):{}}(yt)}}(F,xn,Fc,z)}}oe||(oe=new Ur);var qo=oe.get(F);if(qo)return qo;if(oe.set(F,Gt),!tn)var Ei=Q?function(yt){return function(Jt,Ne,Rt){var qt=Ne(Jt);return P(Jt)?qt:function(Kt,Te){for(var jn=-1,zn=Te.length,Wr=Kt.length;++jn<zn;)Kt[Wr+jn]=Te[jn];return Kt}(qt,Rt(Jt))}(yt,jt,Tc)}(F):jt(F);return function(yt,Jt){for(var Ne=-1,Rt=yt?yt.length:0;++Ne<Rt&&Jt(yt[Ne],Ne,yt)!==!1;);}(Ei||F,function(yt,Jt){Ei&&(yt=F[Jt=yt]),Oh(Gt,Jt,Fc(yt,z,Q,lt,Jt,F,oe))}),Gt}function Wo(F){return!(!re(F)||function(z){return!!dt&&dt in z}(F))&&(ht(F)||U(F)?ne:G).test(ho(F))}function ks(F){var z=new F.constructor(F.byteLength);return new $t(z).set(new $t(F)),z}function kh(F,z,Q,lt){Q||(Q={});for(var zt=-1,ge=z.length;++zt<ge;){var oe=z[zt],Gt=lt?lt(Q[oe],F[oe],oe,Q,F):void 0;Oh(Q,oe,Gt===void 0?F[oe]:Gt)}return Q}function Go(F,z){var Q,lt,zt=F.__data__;return((lt=typeof(Q=z))=="string"||lt=="number"||lt=="symbol"||lt=="boolean"?Q!=="__proto__":Q===null)?zt[typeof z=="string"?"string":"hash"]:zt.map}function fo(F,z){var Q=function(lt,zt){return lt==null?void 0:lt[zt]}(F,z);return Wo(Q)?Q:void 0}Vr.prototype.clear=function(){this.__data__=un?un(null):{}},Vr.prototype.delete=function(F){return this.has(F)&&delete this.__data__[F]},Vr.prototype.get=function(F){var z=this.__data__;if(un){var Q=z[F];return Q===n?void 0:Q}return Fe.call(z,F)?z[F]:void 0},Vr.prototype.has=function(F){var z=this.__data__;return un?z[F]!==void 0:Fe.call(z,F)},Vr.prototype.set=function(F,z){return this.__data__[F]=un&&z===void 0?n:z,this},br.prototype.clear=function(){this.__data__=[]},br.prototype.delete=function(F){var z=this.__data__,Q=Qn(z,F);return!(Q<0)&&(Q==z.length-1?z.pop():xs.call(z,Q,1),!0)},br.prototype.get=function(F){var z=this.__data__,Q=Qn(z,F);return Q<0?void 0:z[Q][1]},br.prototype.has=function(F){return Qn(this.__data__,F)>-1},br.prototype.set=function(F,z){var Q=this.__data__,lt=Qn(Q,F);return lt<0?Q.push([F,z]):Q[lt][1]=z,this},Uo.prototype.clear=function(){this.__data__={hash:new Vr,map:new(Dn||br),string:new Vr}},Uo.prototype.delete=function(F){return Go(this,F).delete(F)},Uo.prototype.get=function(F){return Go(this,F).get(F)},Uo.prototype.has=function(F){return Go(this,F).has(F)},Uo.prototype.set=function(F,z){return Go(this,F).set(F,z),this},Ur.prototype.clear=function(){this.__data__=new br},Ur.prototype.delete=function(F){return this.__data__.delete(F)},Ur.prototype.get=function(F){return this.__data__.get(F)},Ur.prototype.has=function(F){return this.__data__.has(F)},Ur.prototype.set=function(F,z){var Q=this.__data__;if(Q instanceof br){var lt=Q.__data__;if(!Dn||lt.length<199)return lt.push([F,z]),this;Q=this.__data__=new Uo(lt)}return Q.set(F,z),this};var Tc=Ya?gt(Ya,Object):function(){return[]},po=function(F){return Ht.call(F)};function Bh(F,z){return!!(z=z==null?r:z)&&(typeof F=="number"||W.test(F))&&F>-1&&F%1==0&&F<z}function wi(F){var z=F&&F.constructor;return F===(typeof z=="function"&&z.prototype||Lt)}function ho(F){if(F!=null){try{return Ot.call(F)}catch{}try{return F+""}catch{}}return""}function _h(F,z){return F===z||F!=F&&z!=z}(Ho&&po(new Ho(new ArrayBuffer(1)))!=b||Dn&&po(new Dn)!=l||Cn&&po(Cn.resolve())!=p||Sn&&po(new Sn)!=m||Pn&&po(new Pn)!=y)&&(po=function(F){var z=Ht.call(F),Q=z==f?F.constructor:void 0,lt=Q?ho(Q):void 0;if(lt)switch(lt){case yr:return b;case _c:return l;case yi:return p;case Vo:return m;case As:return y}return z});var P=Array.isArray;function L(F){return F!=null&&function(z){return typeof z=="number"&&z>-1&&z%1==0&&z<=r}(F.length)&&!ht(F)}var Z=Hr||function(){return!1};function ht(F){var z=re(F)?Ht.call(F):"";return z==u||z==s}function re(F){var z=typeof F;return!!F&&(z=="object"||z=="function")}function jt(F){return L(F)?bi(F):function(z){if(!wi(z))return co(z);var Q=[];for(var lt in Object(z))Fe.call(z,lt)&&lt!="constructor"&&Q.push(lt);return Q}(F)}t.exports=function(F){return Fc(F,!0,!0)}});function n7(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var IK=0;function LK(t){return"__private_"+IK+++"_"+t}function RK(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 r7(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=RK(r,new RegExp(`%\\{${o}\\}`,"g"),i)}return r}var zj=(js=LK("apply"),class{constructor(t){Object.defineProperty(this,js,{value:MK}),this.locale={strings:{},pluralize:e=>e===1?0:1},Array.isArray(t)?t.forEach(n7(this,js)[js],this):n7(this,js)[js](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 r7(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 r7(n,e)}});function MK(t){if(t==null||!t.strings)return;const e=this.locale;this.locale={...e,strings:{...e.strings,...t.strings}},this.locale.pluralize=t.pluralize||e.pluralize}var $j=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)],m=Object.keys(e),g=0,v=m.length;g<v;g++){var y=m[g];if(y==="*"&&(f=f.concat(e[y])),d.length===2&&d[0]===y){f=f.concat(e[y]);break}}return f}(n);l.length&&function(c,f,p){for(var d=0,m=f.length;d<m&&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},zK={urlAlphabet:"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"};let{urlAlphabet:$K}=zK,o7=t=>crypto.getRandomValues(new Uint8Array(t)),i7=(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 HK={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)=>i7(t,e,o7),customRandom:i7,urlAlphabet:$K,random:o7},zy=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 Hj(t,e){this.text=t=t||"",this.hasWild=~t.indexOf("*"),this.separator=e,this.parts=t.split(e)}Hj.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 VK=/[\/\+\.]/,UK=function(t,e){function n(r){var o=function(i,a,u){var s=new Hj(i,u||/[\/\.]/);return a!==void 0?s.match(a):s}(r,t,VK);return o&&o.length>=2}return e?n(e.split(";")[0]):n},WK=0;function GK(t){return"__private_"+WK+++"_"+t}var $y=GK("publish");class Vj{constructor(){Object.defineProperty(this,$y,{value:qK}),this.state={},this.callbacks=[]}getState(){return this.state}setState(e){const n={...this.state},r={...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,$y)[$y](n,r,e)}subscribe(e){return this.callbacks.push(e),()=>{this.callbacks.splice(this.callbacks.indexOf(e),1)}}}function qK(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];this.callbacks.forEach(r=>{r(...e)})}Vj.VERSION="2.0.3";var a7=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)}},u7={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 s7(t){let e="";return t.replace(/[^A-Z0-9]/gi,n=>(e+=`-${function(r){return r.charCodeAt(0).toString(32)}(n)}`,"/"))+e}var KK=function(t){if(t==null&&(t=typeof navigator<"u"?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 Hy(t){return t<10?`0${t}`:t.toString()}var Kh=function(){const t=new Date;return`${Hy(t.getHours())}:${Hy(t.getMinutes())}:${Hy(t.getSeconds())}`},Uj={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] [${Kh()}]`,...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] [${Kh()}]`,...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] [${Kh()}]`,...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] [${Kh()}]`,...e)}}},YK={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}"}}},Wj=HK;let Gj,qj;function ft(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var XK=0;function Qe(t){return"__private_"+XK+++"_"+t}const{nanoid:ZK}=Wj,{justErrorsLogger:JK,debugLogger:QK}=Uj;class Co extends Error{constructor(){super(...arguments),this.isRestriction=!0}}typeof AggregateError>"u"&&(globalThis.AggregateError=class extends Error{constructor(t,e){super(e),this.errors=t}});class tY extends AggregateError{constructor(){super(...arguments),this.isRestriction=!0}}var vn=Qe("plugins"),Wc=Qe("storeUnsubscribe"),Yo=Qe("emitter"),yu=Qe("preProcessors"),bu=Qe("uploaders"),ei=Qe("postProcessors"),hd=Qe("checkRestrictions"),Vy=Qe("checkMinNumberOfFiles"),Kd=Qe("checkRequiredMetaFieldsOnFile"),Uy=Qe("checkRequiredMetaFields"),en=Qe("showOrLogErrorAndThrow"),Gc=Qe("assertNewUploadAllowed"),qc=Qe("checkAndCreateFileStateObject"),Kc=Qe("startIfAutoProceed"),Wy=Qe("addListeners"),qr=Qe("updateOnlineStatus"),Xo=Qe("createUpload"),Gy=Qe("getUpload"),Cu=Qe("removeUpload"),Zo=Qe("runUpload");Gj=Symbol.for("uppy test: getPlugins"),qj=Symbol.for("uppy test: createUpload");class Kj{constructor(e){Object.defineProperty(this,Zo,{value:pY}),Object.defineProperty(this,Cu,{value:dY}),Object.defineProperty(this,Gy,{value:fY}),Object.defineProperty(this,Xo,{value:cY}),Object.defineProperty(this,Wy,{value:lY}),Object.defineProperty(this,Kc,{value:sY}),Object.defineProperty(this,qc,{value:uY}),Object.defineProperty(this,Gc,{value:aY}),Object.defineProperty(this,en,{value:iY}),Object.defineProperty(this,Uy,{value:oY}),Object.defineProperty(this,Kd,{value:rY}),Object.defineProperty(this,Vy,{value:nY}),Object.defineProperty(this,hd,{value:eY}),Object.defineProperty(this,vn,{writable:!0,value:Object.create(null)}),Object.defineProperty(this,Wc,{writable:!0,value:void 0}),Object.defineProperty(this,Yo,{writable:!0,value:$j()}),Object.defineProperty(this,yu,{writable:!0,value:new Set}),Object.defineProperty(this,bu,{writable:!0,value:new Set}),Object.defineProperty(this,ei,{writable:!0,value:new Set}),Object.defineProperty(this,qr,{writable:!0,value:this.updateOnlineStatus.bind(this)}),this.defaultLocale=YK;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 Vj,logger:JK,infoTimeout:5e3};if(this.opts={...n,...e,restrictions:{...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=QK),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=es(this.calculateProgress.bind(this),500,{leading:!0,trailing:!0}),this.store=this.opts.store,this.setState({plugins:{},files:{},currentUploads:{},allowNewUpload:!0,capabilities:{uploadProgress:KK(),individualCancellation:!0,resumableUploads:!1},totalProgress:0,meta:{...this.opts.meta},info:[],recoveredState:null}),ft(this,Wc)[Wc]=this.store.subscribe((r,o,i)=>{this.emit("state-update",r,o,i),this.updateAll(o)}),this.opts.debug&&typeof window<"u"&&(window[this.opts.id]=this),ft(this,Wy)[Wy]()}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];ft(this,Yo)[Yo].emit(e,...r)}on(e,n){return ft(this,Yo)[Yo].on(e,n),this}once(e,n){return ft(this,Yo)[Yo].once(e,n),this}off(e,n){return ft(this,Yo)[Yo].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:{...this.getState().files,[e]:{...this.getState().files[e],...n}}})}i18nInit(){const e=new zj([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={...this.opts,...e,restrictions:{...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={...this.getState().files},r={};Object.keys(n).forEach(o=>{const i={...n[o]};i.progress={...i.progress,...e},r[o]=i}),this.setState({files:r,totalProgress:0}),this.emit("reset-progress")}addPreProcessor(e){ft(this,yu)[yu].add(e)}removePreProcessor(e){return ft(this,yu)[yu].delete(e)}addPostProcessor(e){ft(this,ei)[ei].add(e)}removePostProcessor(e){return ft(this,ei)[ei].delete(e)}addUploader(e){ft(this,bu)[bu].add(e)}removeUploader(e){return ft(this,bu)[bu].delete(e)}setMeta(e){const n={...this.getState().meta,...e},r={...this.getState().files};Object.keys(r).forEach(o=>{r[o]={...r[o],meta:{...r[o].meta,...e}}}),this.log("Adding metadata:"),this.log(e),this.setState({meta:n,files:r})}setFileMeta(e,n){const r={...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={...r[e].meta,...n};r[e]={...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(m=>{let{progress:g}=m;return!g.uploadComplete&&g.uploadStarted}),a=o.filter(m=>!m.progress.uploadStarted),u=o.filter(m=>m.progress.uploadStarted||m.progress.preprocess||m.progress.postprocess),s=o.filter(m=>m.progress.uploadStarted),l=o.filter(m=>m.isPaused),c=o.filter(m=>m.progress.uploadComplete),f=o.filter(m=>m.error),p=i.filter(m=>!m.isPaused),d=o.filter(m=>m.progress.preprocess||m.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(m=>m.isGhost)}}validateRestrictions(e,n){try{return ft(this,hd)[hd](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){ft(this,Gc)[Gc](e);const{files:n}=this.getState();let r=ft(this,qc)[qc](n,e);return n[r.id]&&n[r.id].isGhost&&(r={...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:{...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}`),ft(this,Kc)[Kc](),r.id}addFiles(e){ft(this,Gc)[Gc]();const n={...this.getState().files},r=[],o=[];for(let i=0;i<e.length;i++)try{let a=ft(this,qc)[qc](n,e[i]);n[a.id]&&n[a.id].isGhost&&(a={...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&&ft(this,Kc)[Kc](),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={...r},a={...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]={...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={...this.getState().files};Object.keys(e).filter(n=>!e[n].progress.uploadComplete&&e[n].progress.uploadStarted).forEach(n=>{const r={...e[n],isPaused:!0};e[n]=r}),this.setState({files:e}),this.emit("pause-all")}resumeAll(){const e={...this.getState().files};Object.keys(e).filter(n=>!e[n].progress.uploadComplete&&e[n].progress.uploadStarted).forEach(n=>{const r={...e[n],isPaused:!1,error:null};e[n]=r}),this.setState({files:e}),this.emit("resume-all")}retryAll(){const e={...this.getState().files},n=Object.keys(e).filter(o=>e[o].error);if(n.forEach(o=>{const i={...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=ft(this,Xo)[Xo](n,{forceAllowNewUpload:!0});return ft(this,Zo)[Zo](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=ft(this,Xo)[Xo]([e],{forceAllowNewUpload:!0});return ft(this,Zo)[Zo](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:{...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 ft(this,vn)[vn]?ft(this,vn)[vn][r.type].push(r):ft(this,vn)[vn][r.type]=[r],r.install(),this}getPlugin(e){for(const n of Object.values(ft(this,vn)[vn])){const r=n.find(o=>o.id===e);if(r!=null)return r}}[Gj](e){return ft(this,vn)[vn][e]}iteratePlugins(e){Object.values(ft(this,vn)[vn]).flat(1).forEach(e)}removePlugin(e){this.log(`Removing plugin ${e.id}`),this.emit("plugin-remove",e),e.uninstall&&e.uninstall();const n=ft(this,vn)[vn][e.type],r=n.findIndex(i=>i.id===e.id);r!==-1&&n.splice(r,1);const o={plugins:{...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(),ft(this,Wc)[Wc](),this.iteratePlugins(e=>{this.removePlugin(e)}),typeof window<"u"&&window.removeEventListener&&(window.removeEventListener("online",ft(this,qr)[qr]),window.removeEventListener("offline",ft(this,qr)[qr]))}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]?ft(this,Zo)[Zo](e):(ft(this,Cu)[Cu](e),Promise.reject(new Error("Nonexistent upload")))}[qj](){return ft(this,Xo)[Xo](...arguments)}addResultData(e,n){if(!ft(this,Gy)[Gy](e))return void this.log(`Not setting result for an upload that has been removed: ${e}`);const{currentUploads:r}=this.getState(),o={...r[e],result:{...r[e].result,...n}};this.setState({currentUploads:{...r,[e]:o}})}upload(){var e;(e=ft(this,vn)[vn].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(()=>{ft(this,Vy)[Vy](n),ft(this,Uy)[Uy](n)}).catch(o=>{ft(this,en)[en](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=ft(this,Xo)[Xo](a);return ft(this,Zo)[Zo](u)}).catch(o=>{ft(this,en)[en](o,{showInformer:!1})}))}}function eY(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 Co(`${this.i18n("youCanOnlyUploadX",{smart_count:i})}`);if(a&&!a.some(u=>u.indexOf("/")>-1?!!t.type&&UK(t.type.replace(/;.*?$/,""),u):!(u[0]!=="."||!t.extension)&&t.extension.toLowerCase()===u.substr(1).toLowerCase())){const u=a.join(", ");throw new Co(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 Co(this.i18n("exceedsSize",{size:zy(o),file:t.name}))}if(n&&t.size!=null&&t.size>n)throw new Co(this.i18n("exceedsSize",{size:zy(n),file:t.name}));if(r&&t.size!=null&&t.size<r)throw new Co(this.i18n("inferiorSize",{size:zy(r)}))}function nY(t){const{minNumberOfFiles:e}=this.opts.restrictions;if(Object.keys(t).length<e)throw new Co(`${this.i18n("youHaveToAtLeastSelectX",{smart_count:e})}`)}function rY(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 Co(`${this.i18n("missingRequiredMetaFieldOnFile",{fileName:t.name})}`);r.push(a),o.push(e[i]),ft(this,en)[en](a,{file:t,showInformer:!1,throwErr:!1})}return this.setFileState(t.id,{missingRequiredMetaFields:o}),r}function oY(t){const e=Object.keys(t).flatMap(n=>{const r=this.getFile(n);return ft(this,Kd)[Kd](r)});if(e.length)throw new tY(e,`${this.i18n("missingRequiredMetaField")}`)}function iY(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 aY(t){const{allowNewUpload:e}=this.getState();e===!1&&ft(this,en)[en](new Co(this.i18n("noMoreFilesAllowed")),{file:t})}function uY(t,e){const n=function(f){var p;if(f.type)return f.type;const d=f.name?(p=a7(f.name).extension)==null?void 0:p.toLowerCase():null;return d&&d in u7?u7[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=a7(r).extension,i=Boolean(e.isRemote),a=function(f){let p="uppy";return typeof f.name=="string"&&(p+=`-${s7(f.name.toLowerCase())}`),f.type!==void 0&&(p+=`-${f.type}`),f.meta&&typeof f.meta.relativePath=="string"&&(p+=`-${s7(f.meta.relativePath.toLowerCase())}`),f.data.size!==void 0&&(p+=`-${f.data.size}`),f.data.lastModified!==void 0&&(p+=`-${f.data.lastModified}`),p}({...e,type:n});if(this.checkIfFileAlreadyExists(a)){const f=new Co(this.i18n("noDuplicates",{fileName:r}));ft(this,en)[en](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:{...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?ft(this,en)[en](new Co("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]);ft(this,hd)[hd](l,f)}catch(f){ft(this,en)[en](f,{file:l})}return l}function sY(){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 lY(){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}),ft(this,en)[en](o,{throwErr:!1})}else ft(this,en)[en](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:{...r,postprocess:ft(this,ei)[ei].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:{...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={...this.getState().files};n[e.id]={...n[e.id],progress:{...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:{...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={...this.getState().files};n[e.id]={...n[e.id],progress:{...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&&ft(this,Kd)[Kd](e)}),typeof window<"u"&&window.addEventListener&&(window.addEventListener("online",ft(this,qr)[qr]),window.addEventListener("offline",ft(this,qr)[qr]),setTimeout(ft(this,qr)[qr],3e3))}function cY(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=ZK();return this.emit("upload",{id:i,fileIDs:t}),this.setState({allowNewUpload:this.opts.allowMultipleUploadBatches!==!1&&this.opts.allowMultipleUploads!==!1,currentUploads:{...o,[i]:{fileIDs:t,step:0,result:{}}}}),i}function fY(t){const{currentUploads:e}=this.getState();return e[t]}function dY(t){const e={...this.getState().currentUploads};delete e[t],this.setState({currentUploads:e})}async function pY(t){let{currentUploads:e}=this.getState(),n=e[t];const r=n.step||0,o=[...ft(this,yu)[yu],...ft(this,bu)[bu],...ft(this,ei)[ei]];try{for(let a=r;a<o.length&&n;a++){const u=o[a],s={...n,step:a};this.setState({currentUploads:{...e,[t]:s}}),await u(s.fileIDs,t),e=this.getState().currentUploads,n=e[t]}}catch(a){throw this.emit("error",a),ft(this,Cu)[Cu](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);await 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),ft(this,Cu)[Cu](t)),i==null&&this.log(`Not setting result for an upload that has been removed: ${t}`),i}Kj.VERSION="2.1.3";var Yj=Kj,hY=ps(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 T in x)B[T]=x[T];return B}function m(B){var x=B.parentNode;x&&x.removeChild(B)}function g(B,x,T){var H,V,U,at={};for(U in x)U=="key"?H=x[U]:U=="ref"?V=x[U]:at[U]=x[U];if(arguments.length>2&&(at.children=arguments.length>3?n.call(arguments,2):T),typeof B=="function"&&B.defaultProps!=null)for(U in B.defaultProps)at[U]===void 0&&(at[U]=B.defaultProps[U]);return v(B,at,H,V,null)}function v(B,x,T,H,V){var U={type:B,props:x,key:T,ref:H,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:V==null?++o:V};return V==null&&r.vnode!=null&&r.vnode(U),U}function y(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 T;x<B.__k.length;x++)if((T=B.__k[x])!=null&&T.__e!=null)return T.__e;return typeof B.type=="function"?b(B):null}function w(B){var x,T;if((B=B.__)!=null&&B.__c!=null){for(B.__e=B.__c.base=null,x=0;x<B.__k.length;x++)if((T=B.__k[x])!=null&&T.__e!=null){B.__e=B.__c.base=T.__e;break}return w(B)}}function E(B){(!B.__d&&(B.__d=!0)&&a.push(B)&&!S.__r++||s!==r.debounceRendering)&&((s=r.debounceRendering)||u)(S)}function S(){for(var B;S.__r=a.length;)B=a.sort(function(x,T){return x.__v.__b-T.__v.__b}),a=[],B.some(function(x){var T,H,V,U,at,gt;x.__d&&(at=(U=(T=x).__v).__e,(gt=T.__P)&&(H=[],(V=d({},U)).__v=U.__v+1,G(gt,U,V,T.__n,gt.ownerSVGElement!==void 0,U.__h!=null?[at]:null,H,at==null?b(U):at,U.__h),W(H,U),U.__e!=at&&w(U)))})}function C(B,x,T,H,V,U,at,gt,vt,Dt){var Y,Lt,At,dt,Ot,Fe,Ht,ne=H&&H.__k||f,be=ne.length;for(T.__k=[],Y=0;Y<x.length;Y++)if((dt=T.__k[Y]=(dt=x[Y])==null||typeof dt=="boolean"?null:typeof dt=="string"||typeof dt=="number"||typeof dt=="bigint"?v(null,dt,null,null,dt):Array.isArray(dt)?v(y,{children:dt},null,null,null):dt.__b>0?v(dt.type,dt.props,dt.key,null,dt.__v):dt)!=null){if(dt.__=T,dt.__b=T.__b+1,(At=ne[Y])===null||At&&dt.key==At.key&&dt.type===At.type)ne[Y]=void 0;else for(Lt=0;Lt<be;Lt++){if((At=ne[Lt])&&dt.key==At.key&&dt.type===At.type){ne[Lt]=void 0;break}At=null}G(B,dt,At=At||c,V,U,at,gt,vt,Dt),Ot=dt.__e,(Lt=dt.ref)&&At.ref!=Lt&&(Ht||(Ht=[]),At.ref&&Ht.push(At.ref,null,dt),Ht.push(Lt,dt.__c||Ot,dt)),Ot!=null?(Fe==null&&(Fe=Ot),typeof dt.type=="function"&&dt.__k===At.__k?dt.__d=vt=O(dt,vt,B):vt=k(B,dt,At,ne,Ot,vt),typeof T.type=="function"&&(T.__d=vt)):vt&&At.__e==vt&&vt.parentNode!=B&&(vt=b(At))}for(T.__e=Fe,Y=be;Y--;)ne[Y]!=null&&(typeof T.type=="function"&&ne[Y].__e!=null&&ne[Y].__e==T.__d&&(T.__d=b(H,Y+1)),ot(ne[Y],ne[Y]));if(Ht)for(Y=0;Y<Ht.length;Y++)J(Ht[Y],Ht[++Y],Ht[++Y])}function O(B,x,T){for(var H,V=B.__k,U=0;V&&U<V.length;U++)(H=V[U])&&(H.__=B,x=typeof H.type=="function"?O(H,x,T):k(T,H,H,V,H.__e,x));return x}function k(B,x,T,H,V,U){var at,gt,vt;if(x.__d!==void 0)at=x.__d,x.__d=void 0;else if(T==null||V!=U||V.parentNode==null)t:if(U==null||U.parentNode!==B)B.appendChild(V),at=null;else{for(gt=U,vt=0;(gt=gt.nextSibling)&&vt<H.length;vt+=2)if(gt==V)break t;B.insertBefore(V,U),at=U}return at!==void 0?at:V.nextSibling}function I(B,x,T){x[0]==="-"?B.setProperty(x,T):B[x]=T==null?"":typeof T!="number"||p.test(x)?T:T+"px"}function $(B,x,T,H,V){var U;t:if(x==="style")if(typeof T=="string")B.style.cssText=T;else{if(typeof H=="string"&&(B.style.cssText=H=""),H)for(x in H)T&&x in T||I(B.style,x,"");if(T)for(x in T)H&&T[x]===H[x]||I(B.style,x,T[x])}else if(x[0]==="o"&&x[1]==="n")U=x!==(x=x.replace(/Capture$/,"")),x=x.toLowerCase()in B?x.toLowerCase().slice(2):x.slice(2),B.l||(B.l={}),B.l[x+U]=T,T?H||B.addEventListener(x,U?q:M,U):B.removeEventListener(x,U?q:M,U);else if(x!=="dangerouslySetInnerHTML"){if(V)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]=T==null?"":T;break t}catch{}typeof T=="function"||(T!=null&&(T!==!1||x[0]==="a"&&x[1]==="r")?B.setAttribute(x,T):B.removeAttribute(x))}}function M(B){this.l[B.type+!1](r.event?r.event(B):B)}function q(B){this.l[B.type+!0](r.event?r.event(B):B)}function G(B,x,T,H,V,U,at,gt,vt){var Dt,Y,Lt,At,dt,Ot,Fe,Ht,ne,be,En,$t=x.type;if(x.constructor!==void 0)return null;T.__h!=null&&(vt=T.__h,gt=x.__e=T.__e,x.__h=null,U=[gt]),(Dt=r.__b)&&Dt(x);try{t:if(typeof $t=="function"){if(Ht=x.props,ne=(Dt=$t.contextType)&&H[Dt.__c],be=Dt?ne?ne.props.value:Dt.__:H,T.__c?Fe=(Y=x.__c=T.__c).__=Y.__E:("prototype"in $t&&$t.prototype.render?x.__c=Y=new $t(Ht,be):(x.__c=Y=new h(Ht,be),Y.constructor=$t,Y.render=ut),ne&&ne.sub(Y),Y.props=Ht,Y.state||(Y.state={}),Y.context=be,Y.__n=H,Lt=Y.__d=!0,Y.__h=[]),Y.__s==null&&(Y.__s=Y.state),$t.getDerivedStateFromProps!=null&&(Y.__s==Y.state&&(Y.__s=d({},Y.__s)),d(Y.__s,$t.getDerivedStateFromProps(Ht,Y.__s))),At=Y.props,dt=Y.state,Lt)$t.getDerivedStateFromProps==null&&Y.componentWillMount!=null&&Y.componentWillMount(),Y.componentDidMount!=null&&Y.__h.push(Y.componentDidMount);else{if($t.getDerivedStateFromProps==null&&Ht!==At&&Y.componentWillReceiveProps!=null&&Y.componentWillReceiveProps(Ht,be),!Y.__e&&Y.shouldComponentUpdate!=null&&Y.shouldComponentUpdate(Ht,Y.__s,be)===!1||x.__v===T.__v){Y.props=Ht,Y.state=Y.__s,x.__v!==T.__v&&(Y.__d=!1),Y.__v=x,x.__e=T.__e,x.__k=T.__k,x.__k.forEach(function(Mn){Mn&&(Mn.__=x)}),Y.__h.length&&at.push(Y);break t}Y.componentWillUpdate!=null&&Y.componentWillUpdate(Ht,Y.__s,be),Y.componentDidUpdate!=null&&Y.__h.push(function(){Y.componentDidUpdate(At,dt,Ot)})}Y.context=be,Y.props=Ht,Y.state=Y.__s,(Dt=r.__r)&&Dt(x),Y.__d=!1,Y.__v=x,Y.__P=B,Dt=Y.render(Y.props,Y.state,Y.context),Y.state=Y.__s,Y.getChildContext!=null&&(H=d(d({},H),Y.getChildContext())),Lt||Y.getSnapshotBeforeUpdate==null||(Ot=Y.getSnapshotBeforeUpdate(At,dt)),En=Dt!=null&&Dt.type===y&&Dt.key==null?Dt.props.children:Dt,C(B,Array.isArray(En)?En:[En],x,T,H,V,U,at,gt,vt),Y.base=x.__e,x.__h=null,Y.__h.length&&at.push(Y),Fe&&(Y.__E=Y.__=null),Y.__e=!1}else U==null&&x.__v===T.__v?(x.__k=T.__k,x.__e=T.__e):x.__e=K(T.__e,x,T,H,V,U,at,vt);(Dt=r.diffed)&&Dt(x)}catch(Mn){x.__v=null,(vt||U!=null)&&(x.__e=gt,x.__h=!!vt,U[U.indexOf(gt)]=null),r.__e(Mn,x,T)}}function W(B,x){r.__c&&r.__c(x,B),B.some(function(T){try{B=T.__h,T.__h=[],B.some(function(H){H.call(T)})}catch(H){r.__e(H,T.__v)}})}function K(B,x,T,H,V,U,at,gt){var vt,Dt,Y,Lt=T.props,At=x.props,dt=x.type,Ot=0;if(dt==="svg"&&(V=!0),U!=null){for(;Ot<U.length;Ot++)if((vt=U[Ot])&&"setAttribute"in vt==!!dt&&(dt?vt.localName===dt:vt.nodeType===3)){B=vt,U[Ot]=null;break}}if(B==null){if(dt===null)return document.createTextNode(At);B=V?document.createElementNS("http://www.w3.org/2000/svg",dt):document.createElement(dt,At.is&&At),U=null,gt=!1}if(dt===null)Lt===At||gt&&B.data===At||(B.data=At);else{if(U=U&&n.call(B.childNodes),Dt=(Lt=T.props||c).dangerouslySetInnerHTML,Y=At.dangerouslySetInnerHTML,!gt){if(U!=null)for(Lt={},Ot=0;Ot<B.attributes.length;Ot++)Lt[B.attributes[Ot].name]=B.attributes[Ot].value;(Y||Dt)&&(Y&&(Dt&&Y.__html==Dt.__html||Y.__html===B.innerHTML)||(B.innerHTML=Y&&Y.__html||""))}if(function(Fe,Ht,ne,be,En){var $t;for($t in ne)$t==="children"||$t==="key"||$t in Ht||$(Fe,$t,null,ne[$t],be);for($t in Ht)En&&typeof Ht[$t]!="function"||$t==="children"||$t==="key"||$t==="value"||$t==="checked"||ne[$t]===Ht[$t]||$(Fe,$t,Ht[$t],ne[$t],be)}(B,At,Lt,V,gt),Y)x.__k=[];else if(Ot=x.props.children,C(B,Array.isArray(Ot)?Ot:[Ot],x,T,H,V&&dt!=="foreignObject",U,at,U?U[0]:T.__k&&b(T,0),gt),U!=null)for(Ot=U.length;Ot--;)U[Ot]!=null&&m(U[Ot]);gt||("value"in At&&(Ot=At.value)!==void 0&&(Ot!==Lt.value||Ot!==B.value||dt==="progress"&&!Ot)&&$(B,"value",Ot,Lt.value,!1),"checked"in At&&(Ot=At.checked)!==void 0&&Ot!==B.checked&&$(B,"checked",Ot,Lt.checked,!1))}return B}function J(B,x,T){try{typeof B=="function"?B(x):B.current=x}catch(H){r.__e(H,T)}}function ot(B,x,T){var H,V;if(r.unmount&&r.unmount(B),(H=B.ref)&&(H.current&&H.current!==B.__e||J(H,null,x)),(H=B.__c)!=null){if(H.componentWillUnmount)try{H.componentWillUnmount()}catch(U){r.__e(U,x)}H.base=H.__P=null}if(H=B.__k)for(V=0;V<H.length;V++)H[V]&&ot(H[V],x,typeof B.type!="function");T||B.__e==null||m(B.__e),B.__e=B.__d=void 0}function ut(B,x,T){return this.constructor(B,T)}function st(B,x,T){var H,V,U;r.__&&r.__(B,x),V=(H=typeof T=="function")?null:T&&T.__k||x.__k,U=[],G(x,B=(!H&&T||x).__k=g(y,null,[B]),V||c,c,x.ownerSVGElement!==void 0,!H&&T?[T]:V?null:x.firstChild?n.call(x.childNodes):null,U,!H&&T?T:V?V.__e:x.firstChild,H),W(U,B)}n=f.slice,r={__e:function(B,x){for(var T,H,V;x=x.__;)if((T=x.__c)&&!T.__)try{if((H=T.constructor)&&H.getDerivedStateFromError!=null&&(T.setState(H.getDerivedStateFromError(B)),V=T.__d),T.componentDidCatch!=null&&(T.componentDidCatch(B),V=T.__d),V)return T.__E=T}catch(U){B=U}throw B}},o=0,i=function(B){return B!=null&&B.constructor===void 0},h.prototype.setState=function(B,x){var T;T=this.__s!=null&&this.__s!==this.state?this.__s:this.__s=d({},this.state),typeof B=="function"&&(B=B(d({},T),this.props)),B&&d(T,B),B!=null&&this.__v&&(x&&this.__h.push(x),E(this))},h.prototype.forceUpdate=function(B){this.__v&&(this.__e=!0,B&&this.__h.push(B),E(this))},h.prototype.render=y,a=[],u=typeof Promise=="function"?Promise.prototype.then.bind(Promise.resolve()):setTimeout,S.__r=0,l=0,e.Component=h,e.Fragment=y,e.cloneElement=function(B,x,T){var H,V,U,at=d({},B.props);for(U in x)U=="key"?H=x[U]:U=="ref"?V=x[U]:at[U]=x[U];return arguments.length>2&&(at.children=arguments.length>3?n.call(arguments,2):T),v(B.type,at,H||B.key,V||B.ref,null)},e.createContext=function(B,x){var T={__c:x="__cC"+l++,__:B,Consumer:function(H,V){return H.children(V)},Provider:function(H){var V,U;return this.getChildContext||(V=[],(U={})[x]=this,this.getChildContext=function(){return U},this.shouldComponentUpdate=function(at){this.props.value!==at.value&&V.some(E)},this.sub=function(at){V.push(at);var gt=at.componentWillUnmount;at.componentWillUnmount=function(){V.splice(V.indexOf(at),1),gt&&gt.call(at)}}),H.children}};return T.Provider.__=T.Consumer.contextType=T},e.createElement=g,e.createRef=function(){return{current:null}},e.h=g,e.hydrate=function B(x,T){st(x,T,B)},e.isValidElement=i,e.options=r,e.render=st,e.toChildArray=function B(x,T){return T=T||[],x==null||typeof x=="boolean"||(Array.isArray(x)?x.some(function(H){B(H,T)}):T.push(x)),T}}),gY=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},J5=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:{...e,[this.id]:{...e[this.id],...t}}})}setOptions(t){this.opts={...this.opts,...t},this.setPluginState(),this.i18nInit()}i18nInit(){const t=new zj([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 l7(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var vY=0;function mY(t){return"__private_"+vY+++"_"+t}const{render:c7}=hY;var Yc=mY("updateUI");class Q5 extends J5{constructor(){super(...arguments),Object.defineProperty(this,Yc,{writable:!0,value:void 0})}mount(e,n){const r=n.id,o=gY(e);if(o){this.isTargetDOMEl=!0;const u=document.createDocumentFragment();return l7(this,Yc)[Yc]=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)&&(c7(this.render(s),u),this.afterUpdate())}),this.uppy.log(`Installing ${r} to a DOM element '${e}'`),this.opts.replaceTargetContent&&(o.innerHTML=""),c7(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 Q5)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=l7(this,Yc))[Yc])==null||n.call(r,e))}unmount(){var e;this.isTargetDOMEl&&((e=this.el)==null||e.remove()),this.onUnmount()}onMount(){}onUnmount(){}}var yY=Q5;const{debugLogger:bY}=Uj;var rd=Yj,wY=Yj,EY=yY,DY=J5,CY=bY;rd.Uppy=wY,rd.UIPlugin=EY,rd.BasePlugin=DY,rd.debugLogger=CY;class SY 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 tD=SY,qy=function(){return fetch(...arguments).catch(t=>{throw t.name==="AbortError"?t:new tD(t)})};class xY extends Error{constructor(){super("Authorization required"),this.name="AuthError",this.isAuthError=!0}}var Yh,Oi,yo,ki,f7,AY=xY;function mo(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var OY=0;function Ky(t){return"__private_"+OY+++"_"+t}async function Yy(t){if(t.status===401)throw new AY;const e=t.json();if(t.status<200||t.status>300){let n=`Failed request with status: ${t.status}. ${t.statusText}`;try{const r=await 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 Xy=(Oi=Ky("getPostResponseFunc"),yo=Ky("getUrl"),ki=Ky("errorHandler"),f7=Yh=class Xj{constructor(e,n){Object.defineProperty(this,ki,{value:BY}),Object.defineProperty(this,yo,{value:kY}),Object.defineProperty(this,Oi,{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({...Xj.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:{...n,[r]:o.get("i-am")}}),e}preflight(e){return this.preflightDone?Promise.resolve(this.allowedHeaders.slice()):fetch(mo(this,yo)[yo](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=>qy(mo(this,yo)[yo](e),{method:"get",headers:r,credentials:this.opts.companionCookiesRule||"same-origin"})).then(mo(this,Oi)[Oi](n)).then(Yy).catch(mo(this,ki)[ki]("get",e))}post(e,n,r){const o="post";return this.preflightAndHeaders(e).then(i=>qy(mo(this,yo)[yo](e),{method:o,headers:i,credentials:this.opts.companionCookiesRule||"same-origin",body:JSON.stringify(n)})).then(mo(this,Oi)[Oi](r)).then(Yy).catch(mo(this,ki)[ki](o,e))}delete(e,n,r){const o="delete";return this.preflightAndHeaders(e).then(i=>qy(`${this.hostname}/${e}`,{method:o,headers:i,credentials:this.opts.companionCookiesRule||"same-origin",body:n?JSON.stringify(n):null})).then(mo(this,Oi)[Oi](r)).then(Yy).catch(mo(this,ki)[ki](o,e))}},Yh.VERSION="2.0.4",Yh.defaultHeaders={Accept:"application/json","Content-Type":"application/json","Uppy-Versions":`@uppy/companion-client=${Yh.VERSION}`},f7);function kY(t){return/^(https?:|)\/\//.test(t)?t:`${this.hostname}/${t}`}function BY(t,e){return n=>{var r;if((r=n)==null||!r.isAuthError){const o=new Error(`Could not ${t} ${mo(this,yo)[yo](e)}`);o.cause=n,n=o}return Promise.reject(n)}}var _Y={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()})},vo,Bi,wr,An,Xh;let d7,p7;function Ue(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var FY=0;function Xc(t){return"__private_"+FY+++"_"+t}var TY=(vo=Xc("queued"),Bi=Xc("emitter"),wr=Xc("isOpen"),An=Xc("socket"),Xh=Xc("handleMessage"),d7=Symbol.for("uppy test: getSocket"),p7=Symbol.for("uppy test: getQueued"),class{constructor(t){Object.defineProperty(this,vo,{writable:!0,value:[]}),Object.defineProperty(this,Bi,{writable:!0,value:$j()}),Object.defineProperty(this,wr,{writable:!0,value:!1}),Object.defineProperty(this,An,{writable:!0,value:void 0}),Object.defineProperty(this,Xh,{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 Ue(this,wr)[wr]}[d7](){return Ue(this,An)[An]}[p7](){return Ue(this,vo)[vo]}open(){Ue(this,An)[An]=new WebSocket(this.opts.target),Ue(this,An)[An].onopen=()=>{for(Ue(this,wr)[wr]=!0;Ue(this,vo)[vo].length>0&&Ue(this,wr)[wr];){const t=Ue(this,vo)[vo].shift();this.send(t.action,t.payload)}},Ue(this,An)[An].onclose=()=>{Ue(this,wr)[wr]=!1},Ue(this,An)[An].onmessage=Ue(this,Xh)[Xh]}close(){var t;(t=Ue(this,An)[An])==null||t.close()}send(t,e){Ue(this,wr)[wr]?Ue(this,An)[An].send(JSON.stringify({action:t,payload:e})):Ue(this,vo)[vo].push({action:t,payload:e})}on(t,e){Ue(this,Bi)[Bi].on(t,e)}emit(t,e){Ue(this,Bi)[Bi].emit(t,e)}once(t,e){Ue(this,Bi)[Bi].once(t,e)}}),PY={RequestClient:Xy,Provider:class extends Xy{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}))),{...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={...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||_Y}},SearchProvider:class extends Xy{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:TY},_i,Ns,jY=es(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 Zc(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var NY=0;function h7(t){return"__private_"+NY+++"_"+t}var g7=(_i=h7("emitter"),Ns=h7("events"),class{constructor(t){Object.defineProperty(this,_i,{writable:!0,value:void 0}),Object.defineProperty(this,Ns,{writable:!0,value:[]}),Zc(this,_i)[_i]=t}on(t,e){return Zc(this,Ns)[Ns].push([t,e]),Zc(this,_i)[_i].on(t,e)}remove(){for(const[t,e]of Zc(this,Ns)[Ns].splice(0))Zc(this,_i)[_i].off(t,e)}});function Er(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var IY=0;function Z1(t){return"__private_"+IY+++"_"+t}var Jo=Z1("aliveTimer"),eu=Z1("isDone"),Jc=Z1("onTimedOut"),nu=Z1("timeout"),v7=class{constructor(t,e){Object.defineProperty(this,Jo,{writable:!0,value:void 0}),Object.defineProperty(this,eu,{writable:!0,value:!1}),Object.defineProperty(this,Jc,{writable:!0,value:void 0}),Object.defineProperty(this,nu,{writable:!0,value:void 0}),Er(this,nu)[nu]=t,Er(this,Jc)[Jc]=e}progress(){Er(this,eu)[eu]||Er(this,nu)[nu]>0&&(clearTimeout(Er(this,Jo)[Jo]),Er(this,Jo)[Jo]=setTimeout(Er(this,Jc)[Jc],Er(this,nu)[nu]))}done(){Er(this,eu)[eu]||(clearTimeout(Er(this,Jo)[Jo]),Er(this,Jo)[Jo]=null,Er(this,eu)[eu]=!0)}};function qe(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}var LY=0;function ys(t){return"__private_"+LY+++"_"+t}function RY(){return new Error("Cancelled")}var nr=ys("activeRequests"),In=ys("queuedHandlers"),gd=ys("call"),od=ys("queueNext"),yE=ys("next"),Zy=ys("queue"),bE=ys("dequeue");function MY(t){qe(this,nr)[nr]+=1;let e,n=!1;try{e=t()}catch(r){throw qe(this,nr)[nr]-=1,r}return{abort:()=>{n||(n=!0,qe(this,nr)[nr]-=1,e(),qe(this,od)[od]())},done:()=>{n||(n=!0,qe(this,nr)[nr]-=1,qe(this,od)[od]())}}}function zY(){queueMicrotask(()=>qe(this,yE)[yE]())}function $Y(){if(qe(this,nr)[nr]>=this.limit||qe(this,In)[In].length===0)return;const t=qe(this,In)[In].shift(),e=qe(this,gd)[gd](t.fn);t.abort=e.abort,t.done=e.done}function HY(t,e){e===void 0&&(e={});const n={fn:t,priority:e.priority||0,abort:()=>{qe(this,bE)[bE](n)},done:()=>{throw new Error("Cannot mark a queued request as done: this indicates a bug")}},r=qe(this,In)[In].findIndex(o=>n.priority>o.priority);return r===-1?qe(this,In)[In].push(n):qe(this,In)[In].splice(r,0,n),n}function VY(t){const e=qe(this,In)[In].indexOf(t);e!==-1&&qe(this,In)[In].splice(e,1)}var UY={RateLimitedQueue:class{constructor(t){Object.defineProperty(this,bE,{value:VY}),Object.defineProperty(this,Zy,{value:HY}),Object.defineProperty(this,yE,{value:$Y}),Object.defineProperty(this,od,{value:zY}),Object.defineProperty(this,gd,{value:MY}),Object.defineProperty(this,nr,{writable:!0,value:0}),Object.defineProperty(this,In,{writable:!0,value:[]}),this.limit=typeof t!="number"||t===0?1/0:t}run(t,e){return qe(this,nr)[nr]<this.limit?qe(this,gd)[gd](t):qe(this,Zy)[Zy](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=RY()}},e)});return u.abort=()=>{a.abort()},u}}},internalRateLimitedQueue:Symbol("__queue")},m7,y7,Zj=function(t){return!!t&&(t.readyState!==0&&t.readyState!==4||t.status===0)},WY={strings:{timedOut:"Upload stalled for %{seconds} seconds, aborting."}};const{nanoid:GY}=Wj,{Provider:qY,RequestClient:KY,Socket:YY}=PY,{RateLimitedQueue:XY,internalRateLimitedQueue:Jy}=UY;function b7(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})),Zj(t)?(n=new tD(n,t),n):(n.request=t,n)}function w7(t){return t.data.slice(0,t.data.size,t.meta.type)}var ZY=(y7=m7=class extends J5{constructor(t,e){super(t,e),this.type="uploader",this.id=this.opts.id||"XHRUpload",this.title="XHRUpload",this.defaultLocale=WY;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 Zj(o)&&(i=new tD(i,o)),i},validateStatus:r=>r>=200&&r<300};if(this.opts={...n,...e},this.i18nInit(),this.handleUpload=this.handleUpload.bind(this),Jy in this.opts?this.requests=this.opts[Jy]:this.requests=new XY(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={...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=w7(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=w7(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 g7(this.uppy);const s=new v7(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=GY();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],y={status:f.target.status,body:g,uploadURL:v};return this.uppy.emit("upload-success",t,y),v&&this.uppy.log(`Download ${t.name} from ${v}`),o(t)}const p=r.getResponseData(u.responseText,u),d=b7(u,r.getResponseError(u.responseText,u)),m={status:f.target.status,body:p};return this.uppy.emit("upload-error",t,d,m),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=b7(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?qY:KY)(this.uppy,t.remote.providerOptions).post(t.remote.url,{...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 YY({target:`${u}/api/${a}`,autoOpen:!1});this.uploaderEvents[t.id]=new g7(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=>jY(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,{...this.opts,...i||{}}),u=new XMLHttpRequest,s=new v7(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(m=>{this.uppy.emit("upload-success",m,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[Jy]||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:{...t,individualCancellation:!1}})}this.uppy.addUploader(this.handleUpload)}uninstall(){if(this.opts.bundle){const{capabilities:t}=this.uppy.getState();this.uppy.setState({capabilities:{...t,individualCancellation:!0}})}this.uppy.removeUploader(this.handleUpload)}},m7.VERSION="2.0.6",y7),E7=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Xp(t){var e={exports:{}};return t(e,e.exports),e.exports}var Fi,ag,Zh=function(t){return t&&t.Math==Math&&t},X=Zh(typeof globalThis=="object"&&globalThis)||Zh(typeof window=="object"&&window)||Zh(typeof self=="object"&&self)||Zh(typeof E7=="object"&&E7)||function(){return this}()||Function("return this")(),JY=Object.defineProperty,eD=function(t,e){try{JY(X,t,{value:e,configurable:!0,writable:!0})}catch{X[t]=e}return e},fa=X["__core-js_shared__"]||eD("__core-js_shared__",{}),nD=Xp(function(t){(t.exports=function(e,n){return fa[e]||(fa[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Jj=Function.prototype,wE=Jj.bind,EE=Jj.call,QY=wE&&wE.bind(EE),pt=wE?function(t){return t&&QY(EE,t)}:function(t){return t&&function(){return EE.apply(t,arguments)}},tX=X.TypeError,Lr=function(t){if(t==null)throw tX("Can't call method on "+t);return t},eX=X.Object,Ha=function(t){return eX(Lr(t))},nX=pt({}.hasOwnProperty),Re=Object.hasOwn||function(t,e){return nX(Ha(t),e)},rX=0,oX=Math.random(),iX=pt(1 .toString),rD=function(t){return"Symbol("+(t===void 0?"":t)+")_"+iX(++rX+oX,36)},ie=function(t){return typeof t=="function"},aX=function(t){return ie(t)?t:void 0},bs=function(t,e){return arguments.length<2?aX(X[t]):X[t]&&X[t][e]},El=bs("navigator","userAgent")||"",D7=X.process,C7=X.Deno,S7=D7&&D7.versions||C7&&C7.version,x7=S7&&S7.v8;x7&&(ag=(Fi=x7.split("."))[0]>0&&Fi[0]<4?1:+(Fi[0]+Fi[1])),!ag&&El&&(!(Fi=El.match(/Edge\/(\d+)/))||Fi[1]>=74)&&(Fi=El.match(/Chrome\/(\d+)/))&&(ag=+Fi[1]);var Yd=ag,Qt=function(t){try{return!!t()}catch{return!0}},DE=!!Object.getOwnPropertySymbols&&!Qt(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Yd&&Yd<41}),oD=DE&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Qc=nD("wks"),ju=X.Symbol,A7=ju&&ju.for,uX=oD?ju:ju&&ju.withoutSetter||rD,Ae=function(t){if(!Re(Qc,t)||!DE&&typeof Qc[t]!="string"){var e="Symbol."+t;DE&&Re(ju,t)?Qc[t]=ju[t]:Qc[t]=oD&&A7?A7(e):uX(e)}return Qc[t]},Qj={};Qj[Ae("toStringTag")]="z";var iD=String(Qj)==="[object z]",ln=!Qt(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),de=function(t){return typeof t=="object"?t!==null:ie(t)},CE=X.document,sX=de(CE)&&de(CE.createElement),Xd=function(t){return sX?CE.createElement(t):{}},tN=!ln&&!Qt(function(){return Object.defineProperty(Xd("div"),"a",{get:function(){return 7}}).a!=7}),lX=X.String,cX=X.TypeError,Me=function(t){if(de(t))return t;throw cX(lX(t)+" is not an object")},tf=Function.prototype.call,Wt=tf.bind?tf.bind(tf):function(){return tf.apply(tf,arguments)},ns=pt({}.isPrototypeOf),fX=X.Object,Qy=oD?function(t){return typeof t=="symbol"}:function(t){var e=bs("Symbol");return ie(e)&&ns(e.prototype,fX(t))},dX=X.String,J1=function(t){try{return dX(t)}catch{return"Object"}},pX=X.TypeError,Fa=function(t){if(ie(t))return t;throw pX(J1(t)+" is not a function")},rs=function(t,e){var n=t[e];return n==null?void 0:Fa(n)},hX=X.TypeError,gX=X.TypeError,vX=Ae("toPrimitive"),aD=function(t){var e=function(n,r){if(!de(n)||Qy(n))return n;var o,i=rs(n,vX);if(i){if(r===void 0&&(r="default"),o=Wt(i,n,r),!de(o)||Qy(o))return o;throw gX("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&ie(s=a.toString)&&!de(l=Wt(s,a))||ie(s=a.valueOf)&&!de(l=Wt(s,a))||u!=="string"&&ie(s=a.toString)&&!de(l=Wt(s,a)))return l;throw hX("Can't convert object to primitive value")}(n,r)}(t,"string");return Qy(e)?e:e+""},mX=X.TypeError,O7=Object.defineProperty,so={f:ln?O7:function(t,e,n){if(Me(t),e=aD(e),Me(n),tN)try{return O7(t,e,n)}catch{}if("get"in n||"set"in n)throw mX("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Q1=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},eo=ln?function(t,e,n){return so.f(t,e,Q1(1,n))}:function(t,e,n){return t[e]=n,t},yX=pt(Function.toString);ie(fa.inspectSource)||(fa.inspectSource=function(t){return yX(t)});var fv,vd,dv,tm=fa.inspectSource,k7=X.WeakMap,eN=ie(k7)&&/native code/.test(tm(k7)),B7=nD("keys"),uD=function(t){return B7[t]||(B7[t]=rD(t))},em={},SE=X.TypeError,bX=X.WeakMap;if(eN||fa.state){var ru=fa.state||(fa.state=new bX),wX=pt(ru.get),_7=pt(ru.has),EX=pt(ru.set);fv=function(t,e){if(_7(ru,t))throw new SE("Object already initialized");return e.facade=t,EX(ru,t,e),e},vd=function(t){return wX(ru,t)||{}},dv=function(t){return _7(ru,t)}}else{var Is=uD("state");em[Is]=!0,fv=function(t,e){if(Re(t,Is))throw new SE("Object already initialized");return e.facade=t,eo(t,Is,e),e},vd=function(t){return Re(t,Is)?t[Is]:{}},dv=function(t){return Re(t,Is)}}var Fn={set:fv,get:vd,has:dv,enforce:function(t){return dv(t)?vd(t):fv(t,{})},getterFor:function(t){return function(e){var n;if(!de(e)||(n=vd(e)).type!==t)throw SE("Incompatible receiver, "+t+" required");return n}}},nN=Function.prototype,DX=ln&&Object.getOwnPropertyDescriptor,tb=Re(nN,"name"),gc={EXISTS:tb,PROPER:tb&&function(){}.name==="something",CONFIGURABLE:tb&&(!ln||ln&&DX(nN,"name").configurable)},Kn=Xp(function(t){var e=gc.CONFIGURABLE,n=Fn.get,r=Fn.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;ie(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Re(u,"name")||e&&u.name!==d)&&eo(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==X?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:eo(i,a,u)):f?i[a]=u:eD(a,u)})(Function.prototype,"toString",function(){return ie(this)&&n(this).source||tm(this)})}),CX=pt({}.toString),SX=pt("".slice),no=function(t){return SX(CX(t),8,-1)},xX=Ae("toStringTag"),AX=X.Object,OX=no(function(){return arguments}())=="Arguments",nm=iD?no:function(t){var e,n,r;return t===void 0?"Undefined":t===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(e=AX(t),xX))=="string"?n:OX?no(e):(r=no(e))=="Object"&&ie(e.callee)?"Arguments":r},kX=iD?{}.toString:function(){return"[object "+nm(this)+"]"};iD||Kn(Object.prototype,"toString",kX,{unsafe:!0});var pv={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},eb=Xd("span").classList,F7=eb&&eb.constructor&&eb.constructor.prototype,rN=F7===Object.prototype?void 0:F7,T7=pt(pt.bind),os=function(t,e){return Fa(t),e===void 0?t:T7?T7(t,e):function(){return t.apply(e,arguments)}},nb=X.Object,BX=pt("".split),rm=Qt(function(){return!nb("z").propertyIsEnumerable(0)})?function(t){return no(t)=="String"?BX(t,""):nb(t)}:nb,_X=Math.ceil,FX=Math.floor,Zp=function(t){var e=+t;return e!=e||e===0?0:(e>0?FX:_X)(e)},TX=Math.min,vc=function(t){return t>0?TX(Zp(t),9007199254740991):0},ws=function(t){return vc(t.length)},hv=Array.isArray||function(t){return no(t)=="Array"},oN=function(){},PX=[],iN=bs("Reflect","construct"),sD=/^\s*(?:class|function)\b/,jX=pt(sD.exec),NX=!sD.exec(oN),ef=function(t){if(!ie(t))return!1;try{return iN(oN,PX,t),!0}catch{return!1}},om=!iN||Qt(function(){var t;return ef(ef.call)||!ef(Object)||!ef(function(){t=!0})||t})?function(t){if(!ie(t))return!1;switch(nm(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return NX||!!jX(sD,tm(t))}:ef,IX=Ae("species"),P7=X.Array,aN=function(t,e){return new(function(n){var r;return hv(n)&&(r=n.constructor,(om(r)&&(r===P7||hv(r.prototype))||de(r)&&(r=r[IX])===null)&&(r=void 0)),r===void 0?P7:r}(t))(e===0?0:e)},j7=pt([].push),Ti=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,m=Ha(s),g=rm(m),v=os(l,c),y=ws(g),h=0,b=f||aN,w=e?b(s,y):n||a?b(s,0):void 0;y>h;h++)if((u||h in g)&&(d=v(p=g[h],h,m),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:j7(w,p)}else switch(t){case 4:return!1;case 7:j7(w,p)}return i?-1:r||o?o:w}},mc={forEach:Ti(0),map:Ti(1),filter:Ti(2),some:Ti(3),every:Ti(4),find:Ti(5),findIndex:Ti(6),filterReject:Ti(7)},uN=function(t,e){var n=[][t];return!!n&&Qt(function(){n.call(null,e||function(){throw 1},1)})},LX=mc.forEach,rb=uN("forEach")?[].forEach:function(t){return LX(this,t,arguments.length>1?arguments[1]:void 0)},sN=function(t){if(t&&t.forEach!==rb)try{eo(t,"forEach",rb)}catch{t.forEach=rb}};for(var ob in pv)pv[ob]&&sN(X[ob]&&X[ob].prototype);sN(rN);var N7={}.propertyIsEnumerable,I7=Object.getOwnPropertyDescriptor,RX=I7&&!N7.call({1:2},1)?function(t){var e=I7(this,t);return!!e&&e.enumerable}:N7,lN={f:RX},Va=function(t){return rm(Lr(t))},L7=Object.getOwnPropertyDescriptor,Jp={f:ln?L7:function(t,e){if(t=Va(t),e=aD(e),tN)try{return L7(t,e)}catch{}if(Re(t,e))return Q1(!Wt(lN.f,t,e),t[e])}},MX=Math.max,zX=Math.min,Kl=function(t,e){var n=Zp(t);return n<0?MX(n+e,0):zX(n,e)},R7=function(t){return function(e,n,r){var o,i=Va(e),a=ws(i),u=Kl(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}},cN={includes:R7(!0),indexOf:R7(!1)},$X=cN.indexOf,M7=pt([].push),fN=function(t,e){var n,r=Va(t),o=0,i=[];for(n in r)!Re(em,n)&&Re(r,n)&&M7(i,n);for(;e.length>o;)Re(r,n=e[o++])&&(~$X(i,n)||M7(i,n));return i},gv=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],HX=gv.concat("length","prototype"),Zd={f:Object.getOwnPropertyNames||function(t){return fN(t,HX)}},dN={f:Object.getOwnPropertySymbols},VX=pt([].concat),UX=bs("Reflect","ownKeys")||function(t){var e=Zd.f(Me(t)),n=dN.f;return n?VX(e,n(t)):e},WX=function(t,e){for(var n=UX(e),r=so.f,o=Jp.f,i=0;i<n.length;i++){var a=n[i];Re(t,a)||r(t,a,o(e,a))}},GX=/#|\.prototype\./,Qp=function(t,e){var n=KX[qX(t)];return n==XX||n!=YX&&(ie(e)?Qt(e):!!e)},qX=Qp.normalize=function(t){return String(t).replace(GX,".").toLowerCase()},KX=Qp.data={},YX=Qp.NATIVE="N",XX=Qp.POLYFILL="P",Jd=Qp,ZX=Jp.f,Se=function(t,e){var n,r,o,i,a,u=t.target,s=t.global,l=t.stat;if(n=s?X:l?X[u]||eD(u,{}):(X[u]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=ZX(n,r))&&a.value:n[r],!Jd(s?r:u+(l?".":"#")+r,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;WX(i,o)}(t.sham||o&&o.sham)&&eo(i,"sham",!0),Kn(n,r,i,t)}},Dl=Object.keys||function(t){return fN(t,gv)},JX=Qt(function(){Dl(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 z7(t){return Object.prototype.toString.call(t)==="[object Object]"}Se({target:"Object",stat:!0,forced:JX},{keys:function(t){return Dl(Ha(t))}});var QX={isHistory(t){return z7(e=t)!==!1&&((n=e.constructor)===void 0||z7(r=n.prototype)!==!1&&r.hasOwnProperty("isPrototypeOf")!==!1)&&Array.isArray(t.redos)&&Array.isArray(t.undos)&&(t.redos.length===0||ra.isOperationList(t.redos[0]))&&(t.undos.length===0||ra.isOperationList(t.undos[0]));var e,n,r}},ib=new WeakMap,ab=new WeakMap,gl={isHistoryEditor:t=>QX.isHistory(t.history)&&D.isEditor(t),isMerging:t=>ab.get(t),isSaving:t=>ib.get(t),redo(t){t.redo()},undo(t){t.undo()},withoutMerging(t,e){var n=gl.isMerging(t);ab.set(t,!1),e(),ab.set(t,n)},withoutSaving(t,e){var n=gl.isSaving(t);ib.set(t,!1),e(),ib.set(t,n)}},tZ=X.String,le=function(t){if(nm(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return tZ(t)},lD=function(){var t=Me(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},eZ=gc.PROPER,xE=RegExp.prototype,pN=xE.toString,nZ=pt(lD),rZ=Qt(function(){return pN.call({source:"a",flags:"b"})!="/a/b"}),oZ=eZ&&pN.name!="toString";(rZ||oZ)&&Kn(RegExp.prototype,"toString",function(){var t=Me(this),e=le(t.source),n=t.flags;return"/"+e+"/"+le(n===void 0&&ns(xE,t)&&!("flags"in xE)?nZ(t):n)},{unsafe:!0});var Jh,iZ=ln?Object.defineProperties:function(t,e){Me(t);for(var n,r=Va(e),o=Dl(e),i=o.length,a=0;i>a;)so.f(t,n=o[a++],r[n]);return t},AE=bs("document","documentElement"),hN=uD("IE_PROTO"),ub=function(){},gN=function(t){return"<script>"+t+"<\/script>"},$7=function(t){t.write(gN("")),t.close();var e=t.parentWindow.Object;return t=null,e},ug=function(){try{Jh=new ActiveXObject("htmlfile")}catch{}var t,e;ug=typeof document<"u"?document.domain&&Jh?$7(Jh):((e=Xd("iframe")).style.display="none",AE.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(gN("document.F=Object")),t.close(),t.F):$7(Jh);for(var n=gv.length;n--;)delete ug.prototype[gv[n]];return ug()};em[hN]=!0;var im=Object.create||function(t,e){var n;return t!==null?(ub.prototype=Me(t),n=new ub,ub.prototype=null,n[hN]=t):n=ug(),e===void 0?n:iZ(n,e)},OE=Ae("unscopables"),kE=Array.prototype;kE[OE]==null&&so.f(kE,OE,{configurable:!0,value:im(null)});var md=function(t){kE[OE][t]=!0},aZ=cN.includes;Se({target:"Array",proto:!0},{includes:function(t){return aZ(this,t,arguments.length>1?arguments[1]:void 0)}}),md("includes");var uZ=Ae("match"),cD=function(t){var e;return de(t)&&((e=t[uZ])!==void 0?!!e:no(t)=="RegExp")},sZ=X.TypeError,fD=function(t){if(cD(t))throw sZ("The method doesn't accept regular expressions");return t},lZ=Ae("match"),dD=function(t){var e=/./;try{"/./"[t](e)}catch{try{return e[lZ]=!1,"/./"[t](e)}catch{}}return!1},cZ=pt("".indexOf);Se({target:"String",proto:!0,forced:!dD("includes")},{includes:function(t){return!!~cZ(le(Lr(this)),le(fD(t)),arguments.length>1?arguments[1]:void 0)}});var fZ=/"/g,dZ=pt("".replace);Se({target:"String",proto:!0,forced:Qt(function(){var t="".anchor('"');return t!==t.toLowerCase()||t.split('"').length>3})},{anchor:function(t){return e=t,n=le(Lr(this)),r="<a",(r+=' name="'+dZ(le(e),fZ,"&quot;")+'"')+">"+n+"</a>";var e,n,r}});var BE=function(t,e,n){var r,o;Me(t);try{if(!(r=rs(t,"return"))){if(e==="throw")throw n;return n}r=Wt(r,t)}catch(i){o=!0,r=i}if(e==="throw")throw n;if(o)throw r;return Me(r),n},pZ=function(t,e,n,r){try{return r?e(Me(n)[0],n[1]):e(n)}catch(o){BE(t,"throw",o)}},Yl={},hZ=Ae("iterator"),gZ=Array.prototype,vN=function(t){return t!==void 0&&(Yl.Array===t||gZ[hZ]===t)},Qd=function(t,e,n){var r=aD(e);r in t?so.f(t,r,Q1(0,n)):t[r]=n},vZ=Ae("iterator"),pD=function(t){if(t!=null)return rs(t,vZ)||rs(t,"@@iterator")||Yl[nm(t)]},mZ=X.TypeError,mN=function(t,e){var n=arguments.length<2?pD(t):e;if(Fa(n))return Me(Wt(n,t));throw mZ(J1(t)+" is not iterable")},H7=X.Array,yN=Ae("iterator"),bN=!1;try{var yZ=0,V7={next:function(){return{done:!!yZ++}},return:function(){bN=!0}};V7[yN]=function(){return this},Array.from(V7,function(){throw 2})}catch{}var hD=function(t,e){if(!e&&!bN)return!1;var n=!1;try{var r={};r[yN]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch{}return n},bZ=!hD(function(t){Array.from(t)});Se({target:"Array",stat:!0,forced:bZ},{from:function(t){var e=Ha(t),n=om(this),r=arguments.length,o=r>1?arguments[1]:void 0,i=o!==void 0;i&&(o=os(o,r>2?arguments[2]:void 0));var a,u,s,l,c,f,p=pD(e),d=0;if(!p||this==H7&&vN(p))for(a=ws(e),u=n?new this(a):H7(a);a>d;d++)f=i?o(e[d],d):e[d],Qd(u,d,f);else for(c=(l=mN(e,p)).next,u=n?new this:[];!(s=Wt(c,l)).done;d++)f=i?pZ(l,o,[s.value,d],!0):s.value,Qd(u,d,f);return u.length=d,u}});var Nu,U7,W7,wZ=pt("".charAt),G7=pt("".charCodeAt),EZ=pt("".slice),q7=function(t){return function(e,n){var r,o,i=le(Lr(e)),a=Zp(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=G7(i,a))<55296||r>56319||a+1===u||(o=G7(i,a+1))<56320||o>57343?t?wZ(i,a):r:t?EZ(i,a,a+2):o-56320+(r-55296<<10)+65536}},wN={codeAt:q7(!1),charAt:q7(!0)},DZ=!Qt(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),K7=uD("IE_PROTO"),_E=X.Object,CZ=_E.prototype,vv=DZ?_E.getPrototypeOf:function(t){var e=Ha(t);if(Re(e,K7))return e[K7];var n=e.constructor;return ie(n)&&e instanceof n?n.prototype:e instanceof _E?CZ:null},FE=Ae("iterator"),EN=!1;[].keys&&("next"in(W7=[].keys())?(U7=vv(vv(W7)))!==Object.prototype&&(Nu=U7):EN=!0);var SZ=Nu==null||Qt(function(){var t={};return Nu[FE].call(t)!==t});SZ&&(Nu={}),ie(Nu[FE])||Kn(Nu,FE,function(){return this});var gD={IteratorPrototype:Nu,BUGGY_SAFARI_ITERATORS:EN},xZ=so.f,Y7=Ae("toStringTag"),mv=function(t,e,n){t&&!Re(t=n?t:t.prototype,Y7)&&xZ(t,Y7,{configurable:!0,value:e})},AZ=gD.IteratorPrototype,OZ=function(){return this},kZ=X.String,BZ=X.TypeError,Xl=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=pt(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch{}return function(r,o){return Me(r),function(i){if(typeof i=="object"||ie(i))return i;throw BZ("Can't set "+kZ(i)+" as a prototype")}(o),e?t(r,o):r.__proto__=o,r}}():void 0),_Z=gc.PROPER,FZ=gc.CONFIGURABLE,X7=gD.IteratorPrototype,Qh=gD.BUGGY_SAFARI_ITERATORS,nf=Ae("iterator"),TZ=function(){return this},vD=function(t,e,n,r,o,i,a){(function(y,h,b,w){var E=h+" Iterator";y.prototype=im(AZ,{next:Q1(1,b)}),mv(y,E,!1),Yl[E]=OZ})(n,e,r);var u,s,l,c=function(y){if(y===o&&g)return g;if(!Qh&&y in d)return d[y];switch(y){case"keys":case"values":case"entries":return function(){return new n(this,y)}}return function(){return new n(this)}},f=e+" Iterator",p=!1,d=t.prototype,m=d[nf]||d["@@iterator"]||o&&d[o],g=!Qh&&m||c(o),v=e=="Array"&&d.entries||m;if(v&&(u=vv(v.call(new t)))!==Object.prototype&&u.next&&(vv(u)!==X7&&(Xl?Xl(u,X7):ie(u[nf])||Kn(u,nf,TZ)),mv(u,f,!0)),_Z&&o=="values"&&m&&m.name!=="values"&&(FZ?eo(d,"name","values"):(p=!0,g=function(){return Wt(m,this)})),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(Qh||p||!(l in d))&&Kn(d,l,s[l]);else Se({target:e,proto:!0,forced:Qh||p},s);return d[nf]!==g&&Kn(d,nf,g,{name:o}),Yl[e]=g,s},PZ=wN.charAt,jZ=Fn.set,NZ=Fn.getterFor("String Iterator");vD(String,"String",function(t){jZ(this,{type:"String Iterator",string:le(t),index:0})},function(){var t,e=NZ(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=PZ(n,r),e.index+=t.length,{value:t,done:!1})});var sb,IZ=Jp.f,Z7=pt("".endsWith),LZ=pt("".slice),RZ=Math.min,DN=dD("endsWith"),MZ=!(DN||(sb=IZ(String.prototype,"endsWith"),!sb||sb.writable));Se({target:"String",proto:!0,forced:!MZ&&!DN},{endsWith:function(t){var e=le(Lr(this));fD(t);var n=arguments.length>1?arguments[1]:void 0,r=e.length,o=n===void 0?r:RZ(vc(n),r),i=le(t);return Z7?Z7(e,i,o):LZ(e,o-i.length,o)===i}});var zZ=pt([].join),$Z=rm!=Object,HZ=uN("join",",");Se({target:"Array",proto:!0,forced:$Z||!HZ},{join:function(t){return zZ(Va(this),t===void 0?",":t)}});var VZ=Ae("species"),am=function(t){return Yd>=51||!Qt(function(){var e=[];return(e.constructor={})[VZ]=function(){return{foo:1}},e[t](Boolean).foo!==1})},UZ=mc.map,WZ=am("map");Se({target:"Array",proto:!0,forced:!WZ},{map:function(t){return UZ(this,t,arguments.length>1?arguments[1]:void 0)}});var mD=X.RegExp,TE=Qt(function(){var t=mD("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),GZ=TE||Qt(function(){return!mD("a","y").sticky}),um={BROKEN_CARET:TE||Qt(function(){var t=mD("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),MISSED_STICKY:GZ,UNSUPPORTED_Y:TE},qZ=X.RegExp,yD=Qt(function(){var t=qZ(".","s");return!(t.dotAll&&t.exec(`
  36. `)&&t.flags==="s")}),KZ=X.RegExp,bD=Qt(function(){var t=KZ("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),YZ=Fn.get,XZ=nD("native-string-replace",String.prototype.replace),yv=RegExp.prototype.exec,PE=yv,ZZ=pt("".charAt),JZ=pt("".indexOf),QZ=pt("".replace),lb=pt("".slice),cb=function(){var t=/a/,e=/b*/g;return Wt(yv,t,"a"),Wt(yv,e,"a"),t.lastIndex!==0||e.lastIndex!==0}(),J7=um.BROKEN_CARET,fb=/()??/.exec("")[1]!==void 0;(cb||fb||J7||yD||bD)&&(PE=function(t){var e,n,r,o,i,a,u,s=this,l=YZ(s),c=le(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=Wt(PE,f,c),s.lastIndex=f.lastIndex,e;var p=l.groups,d=J7&&s.sticky,m=Wt(lD,s),g=s.source,v=0,y=c;if(d&&(m=QZ(m,"y",""),JZ(m,"g")===-1&&(m+="g"),y=lb(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&ZZ(c,s.lastIndex-1)!==`
  37. `)&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",m)),fb&&(n=new RegExp("^"+g+"$(?!\\s)",m)),cb&&(r=s.lastIndex),o=Wt(yv,d?n:s,y),d?o?(o.input=lb(o.input,v),o[0]=lb(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:cb&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),fb&&o&&o.length>1&&Wt(XZ,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=im(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var tp=PE;Se({target:"RegExp",proto:!0,forced:/./.exec!==tp},{exec:tp});var wD=Function.prototype,Q7=wD.apply,tJ=wD.bind,t9=wD.call,ED=typeof Reflect=="object"&&Reflect.apply||(tJ?t9.bind(Q7):function(){return t9.apply(Q7,arguments)}),eJ=Ae("species"),db=RegExp.prototype,DD=function(t,e,n,r){var o=Ae(t),i=!Qt(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!Qt(function(){var l=!1,c=/a/;return t==="split"&&((c={}).constructor={},c.constructor[eJ]=function(){return c},c.flags="",c[o]=/./[o]),c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=pt(/./[o]),s=e(o,""[t],function(l,c,f,p,d){var m=pt(l),g=c.exec;return g===tp||g===db.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:m(f,c,p)}:{done:!1}});Kn(String.prototype,t,s[0]),Kn(db,o,s[1])}r&&eo(db[o],"sham",!0)},nJ=wN.charAt,CD=function(t,e,n){return e+(n?nJ(t,e).length:1)},rJ=Math.floor,pb=pt("".charAt),oJ=pt("".replace),hb=pt("".slice),iJ=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,aJ=/\$([$&'`]|\d{1,2})/g,uJ=function(t,e,n,r,o,i){var a=n+t.length,u=r.length,s=aJ;return o!==void 0&&(o=Ha(o),s=iJ),oJ(i,s,function(l,c){var f;switch(pb(c,0)){case"$":return"$";case"&":return t;case"`":return hb(e,0,n);case"'":return hb(e,a);case"<":f=o[hb(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>u){var d=rJ(p/10);return d===0?l:d<=u?r[d-1]===void 0?pb(c,1):r[d-1]+pb(c,1):l}f=r[p-1]}return f===void 0?"":f})},sJ=X.TypeError,ep=function(t,e){var n=t.exec;if(ie(n)){var r=Wt(n,t,e);return r!==null&&Me(r),r}if(no(t)==="RegExp")return Wt(tp,t,e);throw sJ("RegExp#exec called on incompatible receiver")},jE=Ae("replace"),lJ=Math.max,cJ=Math.min,fJ=pt([].concat),gb=pt([].push),e9=pt("".indexOf),n9=pt("".slice),dJ="a".replace(/./,"$0")==="$0",r9=!!/./[jE]&&/./[jE]("a","$0")==="";DD("replace",function(t,e,n){var r=r9?"$":"$0";return[function(o,i){var a=Lr(this),u=o==null?void 0:rs(o,jE);return u?Wt(u,o,a,i):Wt(e,le(a),o,i)},function(o,i){var a=Me(this),u=le(o);if(typeof i=="string"&&e9(i,r)===-1&&e9(i,"$<")===-1){var s=n(e,a,u,i);if(s.done)return s.value}var l=ie(i);l||(i=le(i));var c=a.global;if(c){var f=a.unicode;a.lastIndex=0}for(var p=[];;){var d=ep(a,u);if(d===null||(gb(p,d),!c))break;le(d[0])===""&&(a.lastIndex=CD(u,vc(a.lastIndex),f))}for(var m,g="",v=0,y=0;y<p.length;y++){for(var h=le((d=p[y])[0]),b=lJ(cJ(Zp(d.index),u.length),0),w=[],E=1;E<d.length;E++)gb(w,(m=d[E])===void 0?m:String(m));var S=d.groups;if(l){var C=fJ([h],w,b,u);S!==void 0&&gb(C,S);var O=le(ED(i,void 0,C))}else O=uJ(h,u,b,w,S,i);b>=v&&(g+=n9(u,v,b)+O,v=b+h.length)}return g+n9(u,v)}]},!!Qt(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$<a>")!=="7"})||!dJ||r9);/*! *****************************************************************************
  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 NE=function(t,e){return NE=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])},NE(t,e)};function yc(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}NE(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var Ar=function(){return Ar=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},Ar.apply(this,arguments)};function Or(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 Vt(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 IE(t,e){for(var n=0,r=e.length,o=t.length;n<r;n++,o++)t[o]=e[n];return t}var pJ=0,o9=function(){this.id=""+pJ++},hJ=Fn.set,gJ=Fn.getterFor("Array Iterator"),id=vD(Array,"Array",function(t,e){hJ(this,{type:"Array Iterator",target:Va(t),index:0,kind:e})},function(){var t=gJ(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");Yl.Arguments=Yl.Array,md("keys"),md("values"),md("entries");var Zl=function(t,e,n){for(var r in e)Kn(t,r,e[r],n);return t},vJ=X.Array,mJ=Math.max,LE=function(t,e,n){for(var r=ws(t),o=Kl(e,r),i=Kl(n===void 0?r:n,r),a=vJ(mJ(i-o,0)),u=0;o<i;o++,u++)Qd(a,u,t[o]);return a.length=u,a},i9=Zd.f,a9=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],yJ={f:function(t){return a9&&no(t)=="Window"?function(e){try{return i9(e)}catch{return LE(a9)}}(t):i9(Va(t))}},u9=Qt(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),t0=Object.isExtensible,Su=Qt(function(){t0(1)})||u9?function(t){return!!de(t)&&(!u9||no(t)!="ArrayBuffer")&&(!t0||t0(t))}:t0,bJ=!Qt(function(){return Object.isExtensible(Object.preventExtensions({}))}),sm=Xp(function(t){var e=so.f,n=!1,r=rD("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=Zd.f,s=pt([].splice),l={};l[r]=1,u(l).length&&(Zd.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},Se({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:yJ.f}))},fastKey:function(u,s){if(!de(u))return typeof u=="symbol"?u:(typeof u=="string"?"S":"P")+u;if(!Re(u,r)){if(!Su(u))return"F";if(!s)return"E";i(u)}return u[r].objectID},getWeakData:function(u,s){if(!Re(u,r)){if(!Su(u))return!0;if(!s)return!1;i(u)}return u[r].weakData},onFreeze:function(u){return bJ&&n&&Su(u)&&!Re(u,r)&&i(u),u}};em[r]=!0}),wJ=X.TypeError,sg=function(t,e){this.stopped=t,this.result=e},s9=sg.prototype,np=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),m=os(e,c),g=function(y){return r&&BE(r,"normal",y),new sg(!0,y)},v=function(y){return f?(Me(y),d?m(y[0],y[1],g):m(y[0],y[1])):d?m(y,g):m(y)};if(p)r=t;else{if(!(o=pD(t)))throw wJ(J1(t)+" is not iterable");if(vN(o)){for(i=0,a=ws(t);a>i;i++)if((u=v(t[i]))&&ns(s9,u))return u;return new sg(!1)}r=mN(t,o)}for(s=r.next;!(l=Wt(s,r)).done;){try{u=v(l.value)}catch(y){BE(r,"throw",y)}if(typeof u=="object"&&u&&ns(s9,u))return u}return new sg(!1)},EJ=X.TypeError,lm=function(t,e){if(ns(e,t))return t;throw EJ("Incorrect invocation")},CN=function(t,e,n){var r,o;return Xl&&ie(r=e.constructor)&&r!==n&&de(o=r.prototype)&&o!==n.prototype&&Xl(t,o),t},SN=function(t,e,n){var r=t.indexOf("Map")!==-1,o=t.indexOf("Weak")!==-1,i=r?"set":"add",a=X[t],u=a&&a.prototype,s=a,l={},c=function(v){var y=pt(u[v]);Kn(u,v,v=="add"?function(h){return y(this,h===0?0:h),this}:v=="delete"?function(h){return!(o&&!de(h))&&y(this,h===0?0:h)}:v=="get"?function(h){return o&&!de(h)?void 0:y(this,h===0?0:h)}:v=="has"?function(h){return!(o&&!de(h))&&y(this,h===0?0:h)}:function(h,b){return y(this,h===0?0:h,b),this})};if(Jd(t,!ie(a)||!(o||u.forEach&&!Qt(function(){new a().entries().next()}))))s=n.getConstructor(e,t,r,i),sm.enable();else if(Jd(t,!0)){var f=new s,p=f[i](o?{}:-0,1)!=f,d=Qt(function(){f.has(1)}),m=hD(function(v){new a(v)}),g=!o&&Qt(function(){for(var v=new a,y=5;y--;)v[i](y,y);return!v.has(-0)});m||((s=e(function(v,y){lm(v,u);var h=CN(new a,v,s);return y!=null&&np(y,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,Se({global:!0,forced:s!=a},l),mv(s,t),o||n.setStrong(s,t,r),s},e0=sm.getWeakData,DJ=Fn.set,CJ=Fn.getterFor,SJ=mc.find,xJ=mc.findIndex,AJ=pt([].splice),OJ=0,n0=function(t){return t.frozen||(t.frozen=new xN)},xN=function(){this.entries=[]},vb=function(t,e){return SJ(t.entries,function(n){return n[0]===e})};xN.prototype={get:function(t){var e=vb(this,t);if(e)return e[1]},has:function(t){return!!vb(this,t)},set:function(t,e){var n=vb(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=xJ(this.entries,function(n){return n[0]===t});return~e&&AJ(this.entries,e,1),!!~e}};var rf,AN={getConstructor:function(t,e,n,r){var o=t(function(s,l){lm(s,i),DJ(s,{type:e,id:OJ++,frozen:void 0}),l!=null&&np(l,s[r],{that:s,AS_ENTRIES:n})}),i=o.prototype,a=CJ(e),u=function(s,l,c){var f=a(s),p=e0(Me(l),!0);return p===!0?n0(f).set(l,c):p[f.id]=c,s};return Zl(i,{delete:function(s){var l=a(this);if(!de(s))return!1;var c=e0(s);return c===!0?n0(l).delete(s):c&&Re(c,l.id)&&delete c[l.id]},has:function(s){var l=a(this);if(!de(s))return!1;var c=e0(s);return c===!0?n0(l).has(s):c&&Re(c,l.id)}}),Zl(i,n?{get:function(s){var l=a(this);if(de(s)){var c=e0(s);return c===!0?n0(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}},r0=Fn.enforce,kJ=!X.ActiveXObject&&"ActiveXObject"in X,ON=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},BJ=SN("WeakMap",ON,AN);if(eN&&kJ){rf=AN.getConstructor(ON,"WeakMap",!0),sm.enable();var of=BJ.prototype,l9=pt(of.delete),o0=pt(of.has),c9=pt(of.get),f9=pt(of.set);Zl(of,{delete:function(t){if(de(t)&&!Su(t)){var e=r0(this);return e.frozen||(e.frozen=new rf),l9(this,t)||e.frozen.delete(t)}return l9(this,t)},has:function(t){if(de(t)&&!Su(t)){var e=r0(this);return e.frozen||(e.frozen=new rf),o0(this,t)||e.frozen.has(t)}return o0(this,t)},get:function(t){if(de(t)&&!Su(t)){var e=r0(this);return e.frozen||(e.frozen=new rf),o0(this,t)?c9(this,t):e.frozen.get(t)}return c9(this,t)},set:function(t,e){if(de(t)&&!Su(t)){var n=r0(this);n.frozen||(n.frozen=new rf),o0(this,t)?f9(this,t,e):n.frozen.set(t,e)}else f9(this,t,e);return this}})}var mb=Ae("iterator"),d9=Ae("toStringTag"),yb=id.values,kN=function(t,e){if(t){if(t[mb]!==yb)try{eo(t,mb,yb)}catch{t[mb]=yb}if(t[d9]||eo(t,d9,e),pv[e]){for(var n in id)if(t[n]!==id[n])try{eo(t,n,id[n])}catch{t[n]=id[n]}}}};for(var bb in pv)kN(X[bb]&&X[bb].prototype,bb);kN(rN,"DOMTokenList");var RE=new WeakMap,ME=new WeakMap,SD=new WeakMap,cm=new WeakMap,zE=new WeakMap,bv=new WeakMap,xD=new WeakMap,$E=new WeakMap,lg=new WeakMap,p9=new WeakMap,h9=new WeakMap,g9=new WeakMap,v9=new WeakMap,rp=new WeakMap,Jl=new WeakMap,AD=new WeakMap,wv=new WeakMap,HE=new WeakMap,Ev=new WeakMap,cg=new WeakMap,BN=new WeakMap,Iu=new WeakMap,wb=new WeakMap,m9=new WeakMap,Eb=new WeakMap,_J=mc.find,y9=!0;"find"in[]&&Array(1).find(function(){y9=!1}),Se({target:"Array",proto:!0,forced:y9},{find:function(t){return _J(this,t,arguments.length>1?arguments[1]:void 0)}}),md("find"),Se({global:!0},{globalThis:X});const FJ=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"];iv&&(_.fn.css=iv),Ir&&(_.fn.append=Ir),Ll&&(_.fn.addClass=Ll),Rl&&(_.fn.removeClass=Rl),Ml&&(_.fn.hasClass=Ml),jo&&(_.fn.on=jo),_a&&(_.fn.focus=_a),Nr&&(_.fn.attr=Nr),ev&&(_.fn.removeAttr=ev),$l&&(_.fn.hide=$l),ov&&(_.fn.show=ov),TA&&(_.fn.offset=TA),nv&&(_.fn.width=nv),rv&&(_.fn.height=rv),Hl&&(_.fn.parent=Hl),sv&&(_.fn.parents=sv),jA&&(_.fn.is=jA),zl&&(_.fn.dataset=zl),Po&&(_.fn.val=Po),uv&&(_.fn.text=uv),Ba&&(_.fn.html=Ba),Ul&&(_.fn.children=Ul),Wl&&(_.fn.remove=Wl),Vl&&(_.fn.find=Vl),av&&(_.fn.each=av),Gl&&(_.fn.empty=Gl);var So,On,OD=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||null},Gr=function(t){return is(t)&&t.nodeType===1},is=function(t){var e=OD(t);return!!e&&t instanceof e.Node},b9=function(t){var e=t&&t.anchorNode&&OD(t.anchorNode);return!!e&&t instanceof e.Selection},_N=function(t){return is(t)&&t.nodeType===3},VE=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},FN=function(t,e,n){for(var r,o=t.childNodes,i=o[e],a=e,u=!1,s=!1;(is(r=i)&&r.nodeType===8||Gr(i)&&i.childNodes.length===0||Gr(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]},TJ=function(t,e,n){return Vt(FN(t,e,n),1)[0]},PJ=function t(e){var n,r,o="";if(_N(e)&&e.nodeValue)return e.nodeValue;if(Gr(e)){try{for(var i=Or(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 TN(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||TN(o,e)}}function w9(t){if(t.length===0)return"";var e=t[0];return e.nodeType!==So.ELEMENT_NODE?"":e.tagName.toLowerCase()}(On=So||(So={}))[On.ELEMENT_NODE=1]="ELEMENT_NODE",On[On.TEXT_NODE=3]="TEXT_NODE",On[On.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",On[On.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",On[On.COMMENT_NODE=8]="COMMENT_NODE",On[On.DOCUMENT_NODE=9]="DOCUMENT_NODE",On[On.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",On[On.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 UE=typeof navigator<"u"&&/Mac OS X/.test(navigator.userAgent),yd=typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent);typeof navigator<"u"&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent);var af=typeof navigator<"u"&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),jJ=typeof navigator<"u"&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),NJ=typeof navigator<"u"&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),WE=typeof navigator<"u"&&/Chrome/i.test(navigator.userAgent);typeof navigator<"u"&&/.*QQBrowser/.test(navigator.userAgent);var uf=!NJ&&!jJ&&typeof globalThis<"u"&&globalThis.InputEvent&&typeof globalThis.InputEvent.prototype.getTargetRanges=="function",A={getWindow:function(t){var e=BN.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=cg.get(e);return n||(n=new o9,cg.set(e,n)),n},setNewKey:function(t){var e=new o9;cg.set(t,e)},findPath:function(t,e){for(var n=[],r=e;;){var o=Jl.get(r);if(o==null){if(D.isEditor(r))return n;break}var i=rp.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 Jl.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 tt.get(t,n)},toDOMNode:function(t,e){var n;if(D.isEditor(e))n=AD.get(t);else{var r=A.findKey(t,e);n=HE.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=Gr(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=R.isBackward(e),i=A.toDOMPoint(t,n),a=R.isCollapsed(e)?i:A.toDOMPoint(t,r),u=A.getWindow(t).document.createRange(),s=Vt(o?a:i,2),l=s[0],c=s[1],f=Vt(o?i:a,2),p=f[0],d=f[1],m=!!(Gr(l)?l:l.parentElement).getAttribute("data-slate-zero-width"),g=!!(Gr(p)?p:p.parentElement).getAttribute("data-slate-zero-width");return u.setStart(l,m?1:c),u.setEnd(p,g?1:d),u},toDOMPoint:function(t,e){var n,r,o,i=Vt(D.node(t,e.path),1)[0],a=A.toDOMNode(t,i);D.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=Or(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,m=f.getAttribute("data-slate-length"),g=s+(m==null?d:parseInt(m,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=Gr(e)?e:e.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?wv.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(D.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=D.point(t,u,{edge:l?"start":"end"}),f=l?D.before(t,c):D.after(t,c);if(f)return D.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((b9(e)?e.anchorNode:e.startContainer)&&(b9(e)?(r=e.anchorNode,o=e.anchorOffset,i=e.focusNode,a=e.focusOffset,u=WE&&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 R.isExpanded(p)&&R.isForward(p)&&Gr(i)&&D.void(t,{at:p.focus,mode:"highest"})&&(p=D.unhangRange(t,p,{voids:!0})),p},toSlatePoint:function(t,e,n){var r,o=n.exactMatch,i=n.suppressThrow,a=Vt(o?e:function(h){var b,w=Vt(h,2),E=w[0],S=w[1];if(Gr(E)&&E.childNodes.length){var C=S===E.childNodes.length,O=C?S-1:S;for(E=(b=Vt(FN(E,O,C?"backward":"forward"),2))[0],C=(O=b[1])<S;Gr(E)&&E.childNodes.length;){var k=C?E.childNodes.length-1:0;E=TJ(E,k,C?"backward":"forward")}S=C&&E.textContent!=null?E.textContent.length:0}return[E,S]}(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]"),m=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();IE(IE([],Vt(BA(v.querySelectorAll("[data-slate-zero-width]")))),Vt(BA(v.querySelectorAll("[contenteditable=false]")))).forEach(function(h){h.parentNode.removeChild(h)}),f=v.textContent.length,m=c}else p&&((d=p.querySelector("[data-slate-leaf]"))?(c=d.closest('[data-slate-node="text"]'),f=(m=d).textContent.length,m.querySelectorAll("[data-slate-zero-width]").forEach(function(h){f-=h.textContent.length})):f=1);m&&f===m.textContent.length&&(l.hasAttribute("data-slate-zero-width")||yd&&((r=m.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 y=A.toSlateNode(t,c);return{path:A.findPath(t,y),offset:f}},hasRange:function(t,e){var n=e.anchor,r=e.focus;return D.hasPath(t,n.path)&&D.hasPath(t,r.path)},getNodeType:function(t){return ct.isElement(t)?t.type:""},checkNodeType:function(t,e){return this.getNodeType(t)===e},getNodesStr:function(t){return t.map(function(e){return tt.string(e)}).join("")},getSelectedElems:function(t){var e,n,r=[],o=D.nodes(t,{universal:!0});try{for(var i=Or(o),a=i.next();!a.done;a=i.next()){var u=Vt(a.value,1)[0];ct.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=Vt(D.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=Vt(D.nodes(t,{match:function(r){return it.isText(r)},universal:!0}),1),n=e[0];return n==null?null:n[0]},isNodeSelected:function(t,e){var n=Vt(D.nodes(t,{match:function(o){return o===e},universal:!0}),1),r=n[0];return r!=null&&Vt(r,1)[0]===e},isSelectionAtLineEnd:function(t,e){var n=t.selection;return!!n&&(D.isEnd(t,n.anchor,e)||D.isEnd(t,n.focus,e))},getTextarea:function(t){var e=RE.get(t);if(e==null)throw new Error("Cannot find textarea instance by editor");return e},getToolbar:function(t){return cm.get(t)||null},getHoverbar:function(t){return bv.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=Or(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=D.nodes(t,{match:function(g){return!(!ct.isElement(g)||t.isInline(g))},universal:!0});try{for(var f=Or(c),p=f.next();!p.done;p=f.next()){var d=p.value;if(d!=null){var m=d[0];TN(A.toDOMNode(t,m),function(g,v){var y=_(v);y.attr("data-slate-string")||y.attr("data-slate-zero-width")||y.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=D.nodes(t,{match:function(u){return t.isVoid(u)}}),o=0;try{for(var i=Or(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||R.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=D.node(t,e);if(n==null)return!1;var r=Vt(n,1)[0].children;return r.length===1&&r[0].text===""}},IJ=1,PN={},op={},LJ=mc.filter,RJ=am("filter");Se({target:"Array",proto:!0,forced:!RJ},{filter:function(t){return LJ(this,t,arguments.length>1?arguments[1]:void 0)}});var GE=`
  51. \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,E9=pt("".replace),Dv="["+GE+"]",MJ=RegExp("^"+Dv+Dv+"*"),zJ=RegExp(Dv+Dv+"*$"),Db=function(t){return function(e){var n=le(Lr(e));return 1&t&&(n=E9(n,MJ,"")),2&t&&(n=E9(n,zJ,"")),n}},$J={start:Db(1),end:Db(2),trim:Db(3)},HJ=gc.PROPER,VJ=$J.trim;Se({target:"String",proto:!0,forced:function(t){return Qt(function(){return!!GE[t]()||"\u200B\x85\u180E"[t]()!=="\u200B\x85\u180E"||HJ&&GE[t].name!==t})}("trim")},{trim:function(){return VJ(this)}});var qE=[],jN={};function UJ(t,e,n){var r=n.isInline(t)?"span":"div";return"<"+r+">"+e+"</"+r+">"}var ip,Ls,D9,Cb,Cv=X.Promise,C9=Ae("species"),kD=function(t){var e=bs(t),n=so.f;ln&&e&&!e[C9]&&n(e,C9,{configurable:!0,get:function(){return this}})},WJ=X.TypeError,GJ=Ae("species"),NN=function(t,e){var n,r=Me(t).constructor;return r===void 0||(n=Me(r)[GJ])==null?e:function(o){if(om(o))return o;throw WJ(J1(o)+" is not a constructor")}(n)},IN=pt([].slice),LN=/(?:ipad|iphone|ipod).*applewebkit/i.test(El),da=no(X.process)=="process",KE=X.setImmediate,YE=X.clearImmediate,qJ=X.process,Sb=X.Dispatch,KJ=X.Function,S9=X.MessageChannel,YJ=X.String,xb=0,bd={};try{ip=X.location}catch{}var BD=function(t){if(Re(bd,t)){var e=bd[t];delete bd[t],e()}},Ab=function(t){return function(){BD(t)}},x9=function(t){BD(t.data)},A9=function(t){X.postMessage(YJ(t),ip.protocol+"//"+ip.host)};KE&&YE||(KE=function(t){var e=IN(arguments,1);return bd[++xb]=function(){ED(ie(t)?t:KJ(t),void 0,e)},Ls(xb),xb},YE=function(t){delete bd[t]},da?Ls=function(t){qJ.nextTick(Ab(t))}:Sb&&Sb.now?Ls=function(t){Sb.now(Ab(t))}:S9&&!LN?(Cb=(D9=new S9).port2,D9.port1.onmessage=x9,Ls=os(Cb.postMessage,Cb)):X.addEventListener&&ie(X.postMessage)&&!X.importScripts&&ip&&ip.protocol!=="file:"&&!Qt(A9)?(Ls=A9,X.addEventListener("message",x9,!1)):Ls="onreadystatechange"in Xd("script")?function(t){AE.appendChild(Xd("script")).onreadystatechange=function(){AE.removeChild(this),BD(t)}}:function(t){setTimeout(Ab(t),0)});var sf,wu,wd,ll,Ob,kb,Bb,O9,RN={set:KE,clear:YE},XJ=/ipad|iphone|ipod/i.test(El)&&X.Pebble!==void 0,ZJ=/web0s(?!.*chrome)/i.test(El),JJ=Jp.f,_b=RN.set,k9=X.MutationObserver||X.WebKitMutationObserver,B9=X.document,_9=X.process,i0=X.Promise,F9=JJ(X,"queueMicrotask"),MN=F9&&F9.value;MN||(sf=function(){var t,e;for(da&&(t=_9.domain)&&t.exit();wu;){e=wu.fn,wu=wu.next;try{e()}catch(n){throw wu?ll():wd=void 0,n}}wd=void 0,t&&t.enter()},LN||da||ZJ||!k9||!B9?!XJ&&i0&&i0.resolve?((Bb=i0.resolve(void 0)).constructor=i0,O9=os(Bb.then,Bb),ll=function(){O9(sf)}):da?ll=function(){_9.nextTick(sf)}:(_b=os(_b,X),ll=function(){_b(sf)}):(Ob=!0,kb=B9.createTextNode(""),new k9(sf).observe(kb,{characterData:!0}),ll=function(){kb.data=Ob=!Ob}));var Fb,T9,zN,P9,$N=MN||function(t){var e={fn:t,next:void 0};wd&&(wd.next=e),wu||(wu=e,ll()),wd=e},QJ=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)},_D={f:function(t){return new QJ(t)}},XE=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}},tQ=typeof window=="object",HN=RN.set,eQ=Ae("species"),Eo="Promise",j9=Fn.getterFor(Eo),nQ=Fn.set,rQ=Fn.getterFor(Eo),hu=Cv&&Cv.prototype,xo=Cv,lf=hu,VN=X.TypeError,ZE=X.document,FD=X.process,Cl=_D.f,oQ=Cl,iQ=!!(ZE&&ZE.createEvent&&X.dispatchEvent),UN=ie(X.PromiseRejectionEvent),WN=!1,Ed=Jd(Eo,function(){var t=tm(xo),e=t!==String(xo);if(!e&&Yd===66)return!0;if(Yd>=51&&/native code/.test(t))return!1;var n=new xo(function(o){o(1)}),r=function(o){o(function(){},function(){})};return(n.constructor={})[eQ]=r,!(WN=n.then(function(){})instanceof r)||!e&&tQ&&!UN}),aQ=Ed||!hD(function(t){xo.all(t).catch(function(){})}),GN=function(t){var e;return!(!de(t)||!ie(e=t.then))&&e},TD=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;$N(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&&sQ(t),t.rejection=1),c===!0?a=r:(d&&d.enter(),a=c(r),d&&(d.exit(),s=!0)),a===l.promise?p(VN("Promise-chain cycle")):(u=GN(a))?Wt(u,a,f,p):f(a)):p(r)}catch(m){d&&!s&&d.exit(),p(m)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&uQ(t)})}},qN=function(t,e,n){var r,o;iQ?((r=ZE.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),X.dispatchEvent(r)):r={promise:e,reason:n},!UN&&(o=X["on"+t])?o(r):t==="unhandledrejection"&&function(i,a){var u=X.console;u&&u.error&&(arguments.length==1?u.error(i):u.error(i,a))}("Unhandled promise rejection",n)},uQ=function(t){Wt(HN,X,function(){var e,n=t.facade,r=t.value;if(N9(t)&&(e=XE(function(){da?FD.emit("unhandledRejection",r,n):qN("unhandledrejection",n,r)}),t.rejection=da||N9(t)?2:1,e.error))throw e.value})},N9=function(t){return t.rejection!==1&&!t.parent},sQ=function(t){Wt(HN,X,function(){var e=t.facade;da?FD.emit("rejectionHandled",e):qN("rejectionhandled",e,t.value)})},vl=function(t,e,n){return function(r){t(e,r,n)}},Sl=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,TD(t,!0))},JE=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw VN("Promise can't be resolved itself");var r=GN(e);r?$N(function(){var o={done:!1};try{Wt(r,e,vl(JE,o,t),vl(Sl,o,t))}catch(i){Sl(o,i,t)}}):(t.value=e,t.state=1,TD(t,!1))}catch(o){Sl({done:!1},o,t)}}};if(Ed&&(lf=(xo=function(t){lm(this,lf),Fa(t),Wt(Fb,this);var e=j9(this);try{t(vl(JE,e),vl(Sl,e))}catch(n){Sl(e,n)}}).prototype,(Fb=function(t){nQ(this,{type:Eo,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Zl(lf,{then:function(t,e){var n=rQ(this),r=n.reactions,o=Cl(NN(this,xo));return o.ok=!ie(t)||t,o.fail=ie(e)&&e,o.domain=da?FD.domain:void 0,n.parent=!0,r[r.length]=o,n.state!=0&&TD(n,!1),o.promise},catch:function(t){return this.then(void 0,t)}}),T9=function(){var t=new Fb,e=j9(t);this.promise=t,this.resolve=vl(JE,e),this.reject=vl(Sl,e)},_D.f=Cl=function(t){return t===xo||t===zN?new T9(t):oQ(t)},ie(Cv)&&hu!==Object.prototype)){P9=hu.then,WN||(Kn(hu,"then",function(t,e){var n=this;return new xo(function(r,o){Wt(P9,n,r,o)}).then(t,e)},{unsafe:!0}),Kn(hu,"catch",lf.catch,{unsafe:!0}));try{delete hu.constructor}catch{}Xl&&Xl(hu,lf)}Se({global:!0,wrap:!0,forced:Ed},{Promise:xo}),mv(xo,Eo,!1),kD(Eo),zN=bs(Eo),Se({target:Eo,stat:!0,forced:Ed},{reject:function(t){var e=Cl(this);return Wt(e.reject,void 0,t),e.promise}}),Se({target:Eo,stat:!0,forced:Ed},{resolve:function(t){return function(e,n){if(Me(e),de(n)&&n.constructor===e)return n;var r=_D.f(e);return(0,r.resolve)(n),r.promise}(this,t)}}),Se({target:Eo,stat:!0,forced:aQ},{all:function(t){var e=this,n=Cl(e),r=n.resolve,o=n.reject,i=XE(function(){var a=Fa(e.resolve),u=[],s=0,l=1;np(t,function(c){var f=s++,p=!1;l++,Wt(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=Cl(e),r=n.reject,o=XE(function(){var i=Fa(e.resolve);np(t,function(a){Wt(i,e,a).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var Rs=um.UNSUPPORTED_Y,lQ=Math.min,KN=[].push,cQ=pt(/./.exec),Ms=pt(KN),cf=pt("".slice);function Rr(t){Promise.resolve().then(t)}function YN(t,e){return ct.isElement(t)?function(n,r){var o=n.type,i=o===void 0?"":o,a=n.children,u=a===void 0?[]:a,s=D.isVoid(r,n),l="";s||(l=u.map(function(y){return YN(y,r)}).join(""));var c=function(y){return jN[y]||UJ}(i),f=c(n,l,r),p="";if(p=typeof f=="string"?f:f.html||"",s||qE.forEach(function(y){return p=y(n,p)}),typeof f=="string")return p;var d=f.prefix,m=d===void 0?"":d,g=f.suffix,v=g===void 0?"":g;return m&&(p=m+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 qE.forEach(function(s){return i=s(n,i)}),i}(t,e)}function XN(t){return"w-e-element-"+t}DD("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=le(Lr(this)),u=i===void 0?4294967295:i>>>0;if(u===0)return[];if(o===void 0)return[a];if(!cD(o))return Wt(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,m=new RegExp(o.source,p+"g");(s=Wt(tp,m,a))&&!((l=m.lastIndex)>d&&(Ms(f,cf(a,d,s.index)),s.length>1&&s.index<a.length&&ED(KN,f,LE(s,1)),c=s[0].length,d=l,f.length>=u));)m.lastIndex===s.index&&m.lastIndex++;return d===a.length?!c&&cQ(m,"")||Ms(f,""):Ms(f,cf(a,d)),f.length>u?LE(f,0,u):f}:"0".split(void 0,0).length?function(o,i){return o===void 0&&i===0?[]:Wt(e,this,o,i)}:e,[function(o,i){var a=Lr(this),u=o==null?void 0:rs(o,t);return u?Wt(u,o,a,i):Wt(r,le(a),o,i)},function(o,i){var a=Me(this),u=le(o),s=n(r,a,u,i,r!==e);if(s.done)return s.value;var l=NN(a,RegExp),c=a.unicode,f=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Rs?"g":"y"),p=new l(Rs?"^(?:"+a.source+")":a,f),d=i===void 0?4294967295:i>>>0;if(d===0)return[];if(u.length===0)return ep(p,u)===null?[u]:[];for(var m=0,g=0,v=[];g<u.length;){p.lastIndex=Rs?0:g;var y,h=ep(p,Rs?cf(u,g):u);if(h===null||(y=lQ(vc(p.lastIndex+(Rs?g:0)),u.length))===m)g=CD(u,g,c);else{if(Ms(v,cf(u,m,g)),v.length===d)return v;for(var b=1;b<=h.length-1;b++)if(Ms(v,h[b]),v.length===d)return v;g=m=y}}return Ms(v,cf(u,m)),v}]},!!Qt(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"}),Rs);var I9=function(t,e){var n=(e.top+e.bottom)/2;return t.top<=n&&t.bottom>=n},L9=function(t,e,n){var r=A.toDOMRange(t,e).getBoundingClientRect(),o=A.toDOMRange(t,n).getBoundingClientRect();return I9(r,o)&&I9(o,r)},ZN=["span","b","strong","i","em","s","strike","u","font","sub","sup"],JN=[],PD=[],Sv={},fQ=so.f,dQ=Zd.f,pQ=Fn.enforce,hQ=Ae("match"),oi=X.RegExp,cl=oi.prototype,gQ=X.SyntaxError,vQ=pt(lD),mQ=pt(cl.exec),a0=pt("".charAt),R9=pt("".replace),M9=pt("".indexOf),yQ=pt("".slice),bQ=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Lu=/a/g,Tb=/a/g,wQ=new oi(Lu)!==Lu,QN=um.MISSED_STICKY,EQ=um.UNSUPPORTED_Y,DQ=ln&&(!wQ||QN||yD||bD||Qt(function(){return Tb[hQ]=!1,oi(Lu)!=Lu||oi(Tb)==Tb||oi(Lu,"i")!="/a/i"}));if(Jd("RegExp",DQ)){for(var Pi=function(t,e){var n,r,o,i,a,u,s=ns(cl,this),l=cD(t),c=e===void 0,f=[],p=t;if(!s&&l&&c&&t.constructor===Pi)return t;if((l||ns(cl,t))&&(t=t.source,c&&(e="flags"in p?p.flags:vQ(p))),t=t===void 0?"":le(t),e=e===void 0?"":le(e),p=t,yD&&"dotAll"in Lu&&(r=!!e&&M9(e,"s")>-1)&&(e=R9(e,/s/g,"")),n=e,QN&&"sticky"in Lu&&(o=!!e&&M9(e,"y")>-1)&&EQ&&(e=R9(e,/y/g,"")),bD&&(i=function(d){for(var m,g=d.length,v=0,y="",h=[],b={},w=!1,E=!1,S=0,C="";v<=g;v++){if((m=a0(d,v))==="\\")m+=a0(d,++v);else if(m==="]")w=!1;else if(!w)switch(!0){case m==="[":w=!0;break;case m==="(":mQ(bQ,yQ(d,v+1))&&(v+=2,E=!0),y+=m,S++;continue;case(m===">"&&E):if(C===""||Re(b,C))throw new gQ("Invalid capture group name");b[C]=!0,h[h.length]=[C,S],E=!1,C="";continue}E?C+=m:y+=m}return[y,h]}(t),t=i[0],f=i[1]),a=CN(oi(t,e),s?this:cl,Pi),(r||o||f.length)&&(u=pQ(a),r&&(u.dotAll=!0,u.raw=Pi(function(d){for(var m,g=d.length,v=0,y="",h=!1;v<=g;v++)(m=a0(d,v))!=="\\"?h||m!=="."?(m==="["?h=!0:m==="]"&&(h=!1),y+=m):y+="[\\s\\S]":y+=m+a0(d,++v);return y}(t),n)),o&&(u.sticky=!0),f.length&&(u.groups=f)),t!==p)try{eo(a,"source",p===""?"(?:)":p)}catch{}return a},CQ=function(t){t in Pi||fQ(Pi,t,{configurable:!0,get:function(){return oi[t]},set:function(e){oi[t]=e}})},z9=dQ(oi),$9=0;z9.length>$9;)CQ(z9[$9++]);cl.constructor=Pi,Pi.prototype=cl,Kn(X,"RegExp",Pi)}kD("RegExp");var SQ=new RegExp(String.fromCharCode(160),"g");function tI(t){return t.replace(SQ," ")}function H9(t,e){var n=t.length;if(n){var r=t[n-1];if(it.isText(r)){var o=Object.keys(r);if(o.length===1&&o[0]==="text")return r.text=r.text+e,!0}}return!1}function xQ(t,e,n){return{type:"paragraph",children:[{text:_(t).text().replace(/\s+/gm," ")}]}}function Pb(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!==So.ELEMENT_NODE){if(l.nodeType===So.TEXT_NODE){var c=l.textContent||"";if(c.trim()===""&&c.indexOf(`
  52. `)>=0)return;c&&(c=tI(c),H9(u,c)||u.push({text:c}))}}else{if(l.nodeName==="BR")return void(H9(u,`
  53. `)||u.push({text:`
  54. `}));var f=jD(_(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 Sv)if(i[0].matches(a))return Sv[a];return xQ}(t),o=r(t[0],n,e);return Array.isArray(o)||(o=[o]),o.forEach(function(i){D.isVoid(e,i)||(n.length===0&&(i.children=[{text:t.text().replace(/\s+/gm," ")}]),PD.forEach(function(a){i=a(t[0],i,e)}))}),o}function jb(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=tI(n)};return PD.forEach(function(o){r=o(t[0],r,e)}),r}function jD(t,e){JN.forEach(function(r){var o=r.selector,i=r.preParseHtml;t[0].matches(o)&&(t=_(i(t[0])))});var n=w9(t);return n==="span"?t.attr("data-w-e-type")?Pb(t,e):jb(t,e):n==="code"?w9(t.parent())==="pre"?Pb(t,e):jb(t,e):ZN.includes(n)?jb(t,e):Pb(t,e)}function eI(t,e,n){var r=_(n);return!!r.attr(e)||(r.attr(e,"true"),t.on("destroyed",function(){r.removeAttr(e)}),!1)}function V9(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=_("<div>"+e+"</div>");return Array.from(r.children()).forEach(function(o){var i=jD(_(o),t);Array.isArray(i)?i.forEach(function(a){return n.push(a)}):n.push(i)}),n}var AQ=so.f,U9=sm.fastKey,W9=Fn.set,Nb=Fn.getterFor,OQ={getConstructor:function(t,e,n,r){var o=t(function(l,c){lm(l,i),W9(l,{type:e,index:im(null),first:void 0,last:void 0,size:0}),ln||(l.size=0),c!=null&&np(c,l[r],{that:l,AS_ENTRIES:n})}),i=o.prototype,a=Nb(e),u=function(l,c,f){var p,d,m=a(l),g=s(l,c);return g?g.value=f:(m.last=g={index:d=U9(c,!0),key:c,value:f,previous:p=m.last,next:void 0,removed:!1},m.first||(m.first=g),p&&(p.next=g),ln?m.size++:l.size++,d!=="F"&&(m.index[d]=g)),l},s=function(l,c){var f,p=a(l),d=U9(c);if(d!=="F")return p.index[d];for(f=p.first;f;f=f.next)if(f.key==c)return f};return Zl(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,ln?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,m=p.previous;delete f.index[p.index],p.removed=!0,m&&(m.next=d),d&&(d.previous=m),f.first==p&&(f.first=d),f.last==p&&(f.last=m),ln?f.size--:c.size--}return!!p},forEach:function(l){for(var c,f=a(this),p=os(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)}}),Zl(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)}}),ln&&AQ(i,"size",{get:function(){return a(this).size}}),o},setStrong:function(t,e,n){var r=e+" Iterator",o=Nb(e),i=Nb(r);vD(t,e,function(a,u){W9(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),kD(e)}};SN("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},OQ);var G9=new Set(["doctype","!doctype","meta","script","style","link","frame","iframe","title","svg"]);function q9(t,e){t.isInline(e)?(t.insertNode(e),e.type==="link"&&t.insertFragment([{text:""}])):N.insertNodes(t,e,{mode:"highest"})}var kQ=function(t){var e=t,n=e.insertText;return e.insertFragment,e.setFragmentData=function(r){var o=e.selection;if(o){var i=Vt(R.edges(o),2),a=i[0],u=i[1],s=D.void(e,{at:a.path}),l=D.void(e,{at:u.path});if(!R.isCollapsed(o)||s){var c=A.toDOMRange(e,o),f=c.cloneContents(),p=f.childNodes[0];if(f.childNodes.forEach(function(E){E.textContent&&E.textContent.trim()!==""&&(p=E)}),l){var d=Vt(l,1)[0],m=c.cloneRange(),g=A.toDOMNode(e,d);m.setEndAfter(g),f=m.cloneContents()}if(s&&(p=f.querySelector("[data-slate-spacer]")),Array.from(f.querySelectorAll("[data-slate-zero-width]")).forEach(function(E){var S=E.getAttribute("data-slate-zero-width")==="n";E.textContent=S?`
  56. `:""}),_N(p)){var v=p.ownerDocument.createElement("span");v.style.whiteSpace="pre",v.appendChild(p),f.appendChild(v),p=v}var y=e.getFragment(),h=JSON.stringify(y),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",PJ(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=Or(f),m=d.next();!m.done;m=d.next()){var g=m.value;p&&N.splitNodes(e,{always:!0}),n(g),p=!0}}catch(v){o={error:v}}finally{try{m&&!m.done&&(i=d.return)&&i.call(d)}finally{if(o)throw o.error}}}}},e},ad=function(t){return t!=null},BQ={object:!0,function:!0,undefined:!0},_Q=/^\s*class[\s{/}]/,FQ=Function.prototype.toString,K9=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{return!1}return!function(n){if(!function(r){return!!ad(r)&&hasOwnProperty.call(BQ,typeof r)}(n))return!1;try{return!!n.constructor&&n.constructor.prototype===n}catch{return!1}}(e)}(t)&&!_Q.test(FQ.call(t))},ND=function(t){return t!=null},TQ=Object.keys,PQ=function(){try{return Object.keys("primitive"),!0}catch{return!1}}()?Object.keys:function(t){return TQ(ND(t)?Object(t):t)},jQ=function(t){if(!ND(t))throw new TypeError("Cannot use null or undefined");return t},NQ=Math.max,Y9=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=NQ(arguments.length,2);for(t=Object(jQ(t)),o=function(a){try{t[a]=e[a]}catch(u){n||(n=u)}},r=1;r<i;++r)PQ(e=arguments[r]).forEach(o);if(n!==void 0)throw n;return t},IQ=Array.prototype.forEach,LQ=Object.create,RQ=function(t,e){var n;for(n in t)e[n]=t[n]},X9=function(t){var e=LQ(null);return IQ.call(arguments,function(n){ND(n)&&RQ(Object(n),e)}),e},Ib="razdwatrzy",MQ=String.prototype.indexOf,ff=typeof Ib.contains=="function"&&Ib.contains("dwa")===!0&&Ib.contains("foo")===!1?String.prototype.contains:function(t){return MQ.call(this,t,arguments[1])>-1},u0=Xp(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],ad(n)?(o=ff.call(n,"c"),i=ff.call(n,"e"),a=ff.call(n,"w")):(o=a=!0,i=!1),s={value:r,configurable:o,enumerable:i,writable:a},u?Y9(X9(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],ad(r)?K9(r)?ad(o)?K9(o)||(u=o,o=void 0):o=void 0:(u=r,r=o=void 0):r=void 0,ad(n)?(i=ff.call(n,"c"),a=ff.call(n,"e")):(i=!0,a=!1),s={get:r,set:o,configurable:i,enumerable:a},u?Y9(X9(u),s):s}}),Lb=function(t){if(typeof t!="function")throw new TypeError(t+" is not a function");return t},zQ=Xp(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,m=Object.prototype.hasOwnProperty,g={configurable:!0,enumerable:!1,writable:!0};n=function(v,y){var h;return Lb(y),m.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(y):h[v]=[h[v],y]:h[v]=y,this},r=function(v,y){var h,b;return Lb(y),b=this,n.call(this,v,h=function(){o.call(b,v,h),l.call(y,this,arguments)}),h.__eeOnceListener__=y,this},o=function(v,y){var h,b,w,E;if(Lb(y),!m.call(this,"__ee__"))return this;if(!(h=this.__ee__)[v])return this;if(typeof(b=h[v])=="object")for(E=0;w=b[E];++E)w!==y&&w.__eeOnceListener__!==y||(b.length===2?h[v]=b[E?0:1]:b.splice(E,1));else b!==y&&b.__eeOnceListener__!==y||delete h[v];return this},i=function(v){var y,h,b,w,E;if(m.call(this,"__ee__")&&(w=this.__ee__[v]))if(typeof w=="object"){for(h=arguments.length,E=new Array(h-1),y=1;y<h;++y)E[y-1]=arguments[y];for(w=w.slice(),y=0;b=w[y];++y)l.call(b,this,E)}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,E=new Array(h-1),y=1;y<h;++y)E[y-1]=arguments[y];l.call(w,this,E)}},a={on:n,once:r,off:o,emit:i},u={on:u0(n),once:u0(r),off:u0(o),emit:u0(i)},s=d({},u),t.exports=e=function(v){return v==null?f(s):d(Object(v),u)},e.methods=a});function s0(t){var e=m9.get(t);return e==null&&(e=zQ(),m9.set(t,e)),e}var xv=new WeakMap;function Z9(t,e){var n=xv.get(t);n==null&&(n=new Set,xv.set(t,n)),n.add(e)}function $Q(t){return xv.get(t)||new Set}function HQ(t){xv.set(t,new Set)}function ID(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 LD(t){var e={top:"0",left:"0"},n=t.selection;if(n==null)return e;var r=ID(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 m=u-f;c.bottom=m+5+"px"}else{var g=f+l;g<0&&(g=0),c.top=g+5+"px"}return c}function RD(t,e,n){n===void 0&&(n="modal");var r={top:"0",left:"0"};if(t.selection==null)return r;var o=ct.isElement(e)&&t.isVoid(e),i=ct.isElement(e)&&t.isInline(e),a=Ev.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 k=0;O.length>0;){var I=O.pop();if(I==null||++k>1e4)break;var $=I.nodeName;if(I.nodeType===1){var M=$.toLowerCase();if(FJ.includes(M)||M==="iframe"||M==="video")return I;var q=I.children||[],G=q.length;if(G)for(var W=G-1;W>=0;W--)O.push(q[W])}}return null}(a);if(p!=null){var d=p.getBoundingClientRect();s=d.top,c=d.height}}var m=ID(t);if(m==null)return r;var g,v=m.top,y=m.left,h=m.width,b=m.height,w={},E=s-v,S=l-y;if(n==="bar")return w.left=S+"px",E>40?w.bottom=b-E+5+"px":w.top=E+c+5+"px",w;if(n==="modal")return o?i?S>(h-f)/2?w.right=h-S+5+"px":w.left=S+f+5+"px":w.left="20px":w.left=S+"px",o?((g=E)<0&&(g=0),w.top=g+"px"):E>(b-c)/2?w.bottom=b-E+5+"px":((g=E+c)<0&&(g=0),w.top=g+5+"px"),w;throw new Error("type '"+n+"' is invalid")}function QE(t,e){Rr(function(){var n=ID(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,m=c-i,g=e.attr("style");if(g.indexOf("top")>=0&&(r=d+p-u)>0){var v=e.css("top"),y=parseInt(v.toString())-r;y<0&&(y=0),e.css("top",y+"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=m+f-a)>0){var w=e.css("left"),E=parseInt(w.toString())-r;E<0&&(E=0),e.css("left",E+"px")}if(g.indexOf("right")>=0&&c<0){var S=e.css("right"),C=parseInt(S.toString())-Math.abs(c);e.css("right",C+"px")}}})}var VQ=am("slice"),UQ=Ae("species"),Rb=X.Array,WQ=Math.max;Se({target:"Array",proto:!0,forced:!VQ},{slice:function(t,e){var n,r,o,i=Va(this),a=ws(i),u=Kl(t,a),s=Kl(e===void 0?a:e,a);if(hv(i)&&(n=i.constructor,(om(n)&&(n===Rb||hv(n.prototype))||de(n)&&(n=n[UQ])===null)&&(n=void 0),n===Rb||n===void 0))return IN(i,u,s);for(r=new(n===void 0?Rb:n)(WQ(s-u,0)),o=0;u<s;u++,o++)u in i&&Qd(r,o,i[u]);return r.length=o,r}});var GQ=Jp.f,J9=pt("".startsWith),qQ=pt("".slice),KQ=Math.min,nI=dD("startsWith"),YQ=!nI&&!!function(){var t=GQ(String.prototype,"startsWith");return t&&!t.writable}();Se({target:"String",proto:!0,forced:!YQ&&!nI},{startsWith:function(t){var e=le(Lr(this));fD(t);var n=vc(KQ(arguments.length>1?arguments[1]:void 0,e.length)),r=le(t);return J9?J9(e,r,n):qQ(e,n,n+r.length)===r}});var zs=Object.assign,Q9=Object.defineProperty,XQ=pt([].concat),tO=!zs||Qt(function(){if(ln&&zs({b:1},zs(Q9({},"a",{enumerable:!0,get:function(){Q9(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}),zs({},t)[n]!=7||Dl(zs({},e)).join("")!=r})?function(t,e){for(var n=Ha(t),r=arguments.length,o=1,i=dN.f,a=lN.f;r>o;)for(var u,s=rm(arguments[o++]),l=i?XQ(Dl(s),i(s)):Dl(s),c=l.length,f=0;c>f;)u=l[f++],ln&&!Wt(a,s,u)||(n[u]=s[u]);return n}:zs;Se({target:"Object",stat:!0,forced:Object.assign!==tO},{assign:tO});var ZQ=["props","attrs","style","dataset","on","hook"];function rI(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(!ZQ.includes(i)){if(i.startsWith("data-")){var l=i.slice(5);return l=EK(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"&&rI(i)})}var t6=[],oI={};function JQ(t,e,n){return bt(n.isInline(t)?"span":"div",null,e)}function eO(t,e){return e===void 0&&(e=!1),bt("span",{"data-slate-string":!0},e?t+`
  57. `:t)}function Mb(t,e){return t===void 0&&(t=0),e===void 0&&(e=!1),bt("span",{"data-slate-zero-width":e?"n":"z","data-slate-length":t},"\uFEFF",e?bt("br",null):null)}function e6(t,e,n,r){return rp.set(t,e),Jl.set(t,n),ct.isElement(t)?function(o,i){var a,u=A.findKey(i,o),s=i.isInline(o),l=D.isVoid(i,o),c=XN(u.id),f={id:c,key:u.id,"data-slate-node":"element","data-slate-inline":s},p=o.type,d=o.children,m=d===void 0?[]:d,g=function(E){return oI[E]||JQ}(p);a=l?null:m.map(function(E,S){return e6(E,S,o,i)});var v=g(o,a,i);if(l){f["data-slate-void"]=!0;var y=s?"span":"div",h=Vt(tt.texts(o),1),b=Vt(h[0],1)[0],w=bt(y,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},e6(b,0,o,i));v=bt(y,{style:{position:"relative"}},v,w),rp.set(b,0),Jl.set(b,o)}return v.data==null&&(v.data={}),Object.assign(v.data,f),l||s||(v=function(E,S){var C=S;return t6.forEach(function(O){C=O(E,S)}),C}(o,v)),Rr(function(){var E=VE(c);E!=null&&(HE.set(u,E),Ev.set(o,E),wv.set(E,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=it.decorations(o,c),p=f.map(function(g,v){var y=function(h,b,w,E,S){b===void 0&&(b=!1);var C=h.text,O=A.findPath(S,w),k=j.parent(O);if(D.isEditor(E))throw new Error("Text node "+JSON.stringify(w)+" parent is Editor");return S.isVoid(E)?Mb(tt.string(E).length):C!==""||E.children[E.children.length-1]!==w||S.isInline(E)||D.string(S,k)!==""?C===""?Mb():b&&C.slice(-1)===`
  58. `?eO(C,!0):eO(C):Mb(0,!0)}(g,v===f.length-1,o,i,a);return y=function(h,b){var w=b;return t6.forEach(function(E){w=E(h,w)}),w}(g,y),bt("span",{"data-slate-leaf":!0},y)}),d=function(g){return"w-e-text-"+g}(u.id),m=bt("span",{"data-slate-node":"text",id:d,key:u.id},p);return Rr(function(){var g=VE(d);g!=null&&(HE.set(u,g),Ev.set(o,g),wv.set(g,o))}),m}(t,n,r)}function QQ(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),ql("div#"+g,{props:{contentEditable:!v}})}(o,a),l=e.children||[];s.children=l.map(function(g,v){var y=e6(g,v,e,e);return rI(y),y});var c=h9.get(t);if(c==null&&(c=!0),c){var f=function(g,v){return _(`<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=Vq([Wq,Yq,Zq,Gq,Kq,Uq]))(n,s),h9.set(t,!1),g9.set(t,d)}else{var p=v9.get(t),d=g9.get(t);if(p==null||d==null)return;n=p.elm,d(p,s)}if(n!=null||(n=VE(o))!=null){if((c?u:e.isFocused())&&n.focus({preventScroll:!0}),c){var m=OD(n);m&&BN.set(e,m)}AD.set(e,n),Ev.set(e,n),wv.set(n,e),v9.set(t,s)}}function nO(t){return typeof t=="object"&&t!=null&&t.nodeType===1}function rO(t,e){return(!e||t!=="hidden")&&t!=="visible"&&t!=="clip"}function zb(t,e){if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){var n=getComputedStyle(t,null);return rO(n.overflowY,e)||rO(n.overflowX,e)||function(r){var o=function(i){if(!i.ownerDocument||!i.ownerDocument.defaultView)return null;try{return i.ownerDocument.defaultView.frameElement}catch{return null}}(r);return!!o&&(o.clientHeight<r.scrollHeight||o.clientWidth<r.scrollWidth)}(t)}return!1}function l0(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 oO(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(Dt){return Dt!==a};if(!nO(t))throw new TypeError("Invalid target");for(var l=document.scrollingElement||document.documentElement,c=[],f=t;nO(f)&&s(f);){if((f=f.parentElement)===l){c.push(f);break}f!=null&&f===document.body&&zb(f)&&!zb(document.documentElement)||f!=null&&zb(f,u)&&c.push(f)}for(var p=n.visualViewport?n.visualViewport.width:innerWidth,d=n.visualViewport?n.visualViewport.height:innerHeight,m=window.scrollX||pageXOffset,g=window.scrollY||pageYOffset,v=t.getBoundingClientRect(),y=v.height,h=v.width,b=v.top,w=v.right,E=v.bottom,S=v.left,C=o==="start"||o==="nearest"?b:o==="end"?E:b+y/2,O=i==="center"?S+h/2:i==="end"?w:S,k=[],I=0;I<c.length;I++){var $=c[I],M=$.getBoundingClientRect(),q=M.height,G=M.width,W=M.top,K=M.right,J=M.bottom,ot=M.left;if(r==="if-needed"&&b>=0&&S>=0&&E<=d&&w<=p&&b>=W&&E<=J&&S>=ot&&w<=K)return k;var ut=getComputedStyle($),st=parseInt(ut.borderLeftWidth,10),B=parseInt(ut.borderTopWidth,10),x=parseInt(ut.borderRightWidth,10),T=parseInt(ut.borderBottomWidth,10),H=0,V=0,U="offsetWidth"in $?$.offsetWidth-$.clientWidth-st-x:0,at="offsetHeight"in $?$.offsetHeight-$.clientHeight-B-T:0;if(l===$)H=o==="start"?C:o==="end"?C-d:o==="nearest"?l0(g,g+d,d,B,T,g+C,g+C+y,y):C-d/2,V=i==="start"?O:i==="center"?O-p/2:i==="end"?O-p:l0(m,m+p,p,st,x,m+O,m+O+h,h),H=Math.max(0,H+g),V=Math.max(0,V+m);else{H=o==="start"?C-W-B:o==="end"?C-J+T+at:o==="nearest"?l0(W,J,q,B,T+at,C,C+y,y):C-(W+q/2)+at/2,V=i==="start"?O-ot-st:i==="center"?O-(ot+G/2)+U/2:i==="end"?O-K+x+U:l0(ot,K,G,st,x+U,O,O+h,h);var gt=$.scrollLeft,vt=$.scrollTop;C+=vt-(H=Math.max(0,Math.min(vt+H,$.scrollHeight-q+at))),O+=gt-(V=Math.max(0,Math.min(gt+V,$.scrollWidth-G+U)))}k.push({el:$,top:H,left:V})}return k}function iO(t){return t===Object(t)&&Object.keys(t).length!==0}function Dr(t,e){return is(e)&&A.hasDOMNode(t,e,{editable:!0})}function aO(t,e){if(t.getConfig().readOnly)return!1;var n=fl(t,e)&&A.toSlateNode(t,e);return D.isVoid(t,n)}function fl(t,e){return is(e)&&A.hasDOMNode(t,e)}function iI(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=AD.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&&R.equals(l,r)){var c=!0;if(R.isCollapsed(r)){var f=i.anchorNode,p=i.anchorOffset;if(f===u){var d=u.childNodes,m=void 0;(m=d[p])&&m.matches("table")&&(c=!1),(m=d[p-1])&&m.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){R.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 y=document.body;(function(h,b){var w=!h.ownerDocument.documentElement.contains(h);if(iO(b)&&typeof b.behavior=="function")return b.behavior(w?[]:oO(h,b));if(!w){var E=function(S){return S===!1?{block:"end",inline:"nearest"}:iO(S)?S:{block:"start",inline:"nearest"}}(b);(function(S,C){C===void 0&&(C="auto");var O="scrollBehavior"in document.body.style;S.forEach(function(k){var I=k.el,$=k.top,M=k.left;I.scroll&&O?I.scroll({top:$,left:M,behavior:C}):(I.scrollTop=$,I.scrollLeft=M)})})(oO(h,E),E.behavior)}})(v,{scrollMode:"if-needed",boundary:o.scroll?u.parentElement:y,block:"end",behavior:"smooth"}),delete v.getBoundingClientRect}}else i.removeAllRanges();setTimeout(function(){g&&yd&&u.focus(),t.isUpdatingSelection=!1})}else e.selection=A.toSlateRange(e,i,{exactMatch:!1,suppressThrow:!1})}}}var $b=new WeakMap,uO=new WeakMap,ttt={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"},ett={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"},ntt={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},we=function(t){var e=ttt[t],n=ett[t],r=ntt[t],o=e&&Ry(e),i=n&&Ry(n),a=r&&Ry(r);return function(u){return!(!o||!o(u))||!!(UE&&i&&i(u))||!(UE||!a||!a(u))}},De={isBold:we("bold"),isCompose:we("compose"),isMoveBackward:we("moveBackward"),isMoveForward:we("moveForward"),isDeleteBackward:we("deleteBackward"),isDeleteForward:we("deleteForward"),isDeleteLineBackward:we("deleteLineBackward"),isDeleteLineForward:we("deleteLineForward"),isDeleteWordBackward:we("deleteWordBackward"),isDeleteWordForward:we("deleteWordForward"),isExtendBackward:we("extendBackward"),isExtendForward:we("extendForward"),isExtendLineBackward:we("extendLineBackward"),isExtendLineForward:we("extendLineForward"),isItalic:we("italic"),isMoveLineBackward:we("moveLineBackward"),isMoveLineForward:we("moveLineForward"),isMoveWordBackward:we("moveWordBackward"),isMoveWordForward:we("moveWordForward"),isRedo:we("redo"),isSplitBlock:we("splitBlock"),isTransposeCharacter:we("transposeCharacter"),isUndo:we("undo"),isTab:we("tab"),isSelectAll:we("selectAll")};function We(t){t.preventDefault()}var rtt={beforeinput:function(t,e,n){var r=t,o=n.getConfig().readOnly;if(uf&&!o&&Dr(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=Vt(r.getTargetRanges(),1)[0];if(s){var l=A.toSlateRange(n,s,{exactMatch:!1,suppressThrow:!1});i&&R.equals(i,l)||N.select(n,l)}}if(i&&R.isExpanded(i)&&a.startsWith("delete")){var c=a.endsWith("Backward")?"backward":"forward";D.deleteFragment(n,{direction:c})}else switch(a){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":D.deleteFragment(n);break;case"deleteContent":case"deleteContentForward":D.deleteForward(n);break;case"deleteContentBackward":D.deleteBackward(n);break;case"deleteEntireSoftLine":D.deleteBackward(n,{unit:"line"}),D.deleteForward(n,{unit:"line"});break;case"deleteHardLineBackward":D.deleteBackward(n,{unit:"block"});break;case"deleteSoftLineBackward":D.deleteBackward(n,{unit:"line"});break;case"deleteHardLineForward":D.deleteForward(n,{unit:"block"});break;case"deleteSoftLineForward":D.deleteForward(n,{unit:"line"});break;case"deleteWordBackward":D.deleteBackward(n,{unit:"word"});break;case"deleteWordForward":D.deleteForward(n,{unit:"word"});break;case"insertLineBreak":case"insertParagraph":D.insertBreak(n);break;case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if(a==="insertFromPaste"&&!Eb.get(n))break;u instanceof DataTransfer?n.insertData(u):typeof u=="string"&&D.insertText(n,u)}}}},blur:function(t,e,n){var r=t,o=e.isUpdatingSelection,i=e.latestElement;if(!n.getConfig().readOnly&&!o&&Dr(n,r.target)){var a=A.findDocumentOrShadowRoot(n);if(i!==a.activeElement){var u=r.relatedTarget;if(!(u===A.toDOMNode(n,n)||Gr(u)&&u.hasAttribute("data-slate-spacer"))){if(u!=null&&is(u)&&A.hasDOMNode(n,u)){var s=A.toSlateNode(n,u);if(ct.isElement(s)&&!n.isVoid(s))return}if(af){var l=a.getSelection();l==null||l.removeAllRanges()}Iu.delete(n)}}}},focus:function(t,e,n){var r=A.toDOMNode(n,n),o=A.findDocumentOrShadowRoot(n);e.latestElement=o.activeElement,yd&&t.target!==r?r.focus():Iu.set(n,!0)},click:function(t,e,n){if(!n.getConfig().readOnly&&fl(n,t.target)&&is(t.target)){var r=A.toSlateNode(n,t.target),o=A.findPath(n,r);if(D.hasPath(n,o)&&tt.get(n,o)===r){var i=D.start(n,o),a=D.end(n,o),u=D.void(n,{at:i}),s=D.void(n,{at:a});if(u&&s&&j.equals(u[1],s[1])){var l=D.range(n,i);N.select(n,l)}}}},compositionstart:function(t,e,n){if(Dr(n,t.target)){var r=n.selection;if(r&&R.isExpanded(r)&&(D.deleteFragment(n),Promise.resolve().then(function(){iI(e,n,!0)})),r&&R.isCollapsed(r)){var o=A.toDOMRange(n,r).startContainer,i=o.textContent||"";$b.set(n,i),uO.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(Dr(n,r.target)){e.isComposing=!1;var o=n.selection;if(o!=null){(WE||yd)&&A.cleanExposedTexNodeInSelectionBlock(n);for(var i=R.isBackward(o)?o.focus:o.anchor,a=Vt(D.node(n,[i.path[0]]),1)[0],u=0;u<i.path.length;u++){var s=Vt(D.node(n,i.path.slice(0,u+1)),1)[0];if(ct.isElement(s)&&((af||yd)&&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=$b.get(n)||"",c>0&&D.insertText(n,l.slice(0,c)),e.changeViewState()):D.insertText(n,l)}else D.insertText(n,l);af||setTimeout(function(){var f=n.selection;if(f!=null){var p=uO.get(n);p!=null&&A.toDOMRange(n,f).startContainer!==p&&(p.textContent=$b.get(n)||"")}})}}}},compositionupdate:function(t,e,n){Dr(n,t.target)&&(e.isComposing=!0)},keydown:function(t,e,n){var r=t,o=n.selection;if(!n.getConfig().readOnly&&!e.isComposing&&Dr(n,r.target)){if(function(a,u){var s=cm.get(a),l=s&&s.getMenus(),c=bv.get(a),f=c&&c.getMenus(),p=Ar(Ar({},l),f);for(var d in p){var m=p[d],g=m.hotkey;if(g&&SK(g,u)&&!m.isDisabled(a)){var v=m.getValue(a);m.exec(a,v)}}}(n,r),De.isTab(r))return We(r),void n.handleTab();if(De.isRedo(r))return We(r),void(typeof n.redo=="function"&&n.redo());if(De.isUndo(r))return We(r),void(typeof n.undo=="function"&&n.undo());if(De.isMoveLineBackward(r))return We(r),void N.move(n,{unit:"line",reverse:!0});if(De.isMoveLineForward(r))return We(r),void N.move(n,{unit:"line"});if(De.isExtendLineBackward(r))return We(r),void N.move(n,{unit:"line",edge:"focus",reverse:!0});if(De.isExtendLineForward(r))return We(r),void N.move(n,{unit:"line",edge:"focus"});if(De.isMoveBackward(r))return We(r),void(o&&R.isCollapsed(o)?N.move(n,{reverse:!0}):N.collapse(n,{edge:"start"}));if(De.isMoveForward(r))return We(r),void(o&&R.isCollapsed(o)?N.move(n):N.collapse(n,{edge:"end"}));if(De.isMoveWordBackward(r))return We(r),o&&R.isExpanded(o)&&N.collapse(n,{edge:"focus"}),void N.move(n,{unit:"word",reverse:!0});if(De.isMoveWordForward(r))return We(r),o&&R.isExpanded(o)&&N.collapse(n,{edge:"focus"}),void N.move(n,{unit:"word"});if(De.isSelectAll(r))return We(r),void n.selectAll();if(uf){if((WE||af)&&o&&(De.isDeleteBackward(r)||De.isDeleteForward(r))&&R.isCollapsed(o)){var i=tt.parent(n,o.anchor.path);if(ct.isElement(i)&&D.isVoid(n,i)&&D.isInline(n,i))return r.preventDefault(),void N.delete(n,{unit:"block"})}}else{if(De.isBold(r)||De.isItalic(r)||De.isTransposeCharacter(r))return void We(r);if(De.isSplitBlock(r))return We(r),void D.insertBreak(n);if(De.isDeleteBackward(r))return We(r),void(o&&R.isExpanded(o)?D.deleteFragment(n,{direction:"backward"}):D.deleteBackward(n));if(De.isDeleteForward(r))return We(r),void(o&&R.isExpanded(o)?D.deleteFragment(n,{direction:"forward"}):D.deleteForward(n));if(De.isDeleteLineBackward(r))return We(r),void(o&&R.isExpanded(o)?D.deleteFragment(n,{direction:"backward"}):D.deleteBackward(n,{unit:"line"}));if(De.isDeleteLineForward(r))return We(r),void(o&&R.isExpanded(o)?D.deleteFragment(n,{direction:"forward"}):D.deleteForward(n,{unit:"line"}));if(De.isDeleteWordBackward(r))return We(r),void(o&&R.isExpanded(o)?D.deleteFragment(n,{direction:"backward"}):D.deleteBackward(n,{unit:"word"}));if(De.isDeleteWordForward(r))return We(r),void(o&&R.isExpanded(o)?D.deleteFragment(n,{direction:"forward"}):D.deleteForward(n,{unit:"word"}))}}},keypress:function(t,e,n){if(!uf&&!n.getConfig().readOnly&&Dr(n,t.target)){t.preventDefault();var r=t.key;D.insertText(n,r)}},copy:function(t,e,n){var r=t;if(Dr(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&&Dr(n,r.target)){r.preventDefault();var i=r.clipboardData;if(i!=null&&(n.setFragmentData(i),o))if(R.isExpanded(o))D.deleteFragment(n);else{var a=tt.parent(n,o.anchor.path);D.isVoid(n,a)&&N.delete(n)}}},paste:function(t,e,n){Eb.set(n,!0);var r=t;if(!n.getConfig().readOnly&&Dr(n,r.target)){var o=n.getConfig().customPaste;if(o&&o(n,r)===!1)return void Eb.set(n,!1);if(!uf||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(fl(n,t.target)){var r=A.toSlateNode(n,t.target);D.isVoid(n,r)&&t.preventDefault()}},dragstart:function(t,e,n){var r=t;if(fl(n,r.target)&&!n.getConfig().readOnly){var o=A.toSlateNode(n,r.target),i=A.findPath(n,o);if(D.isVoid(n,o)||D.void(n,{at:i,voids:!0})){var a=D.range(n,i);N.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&&fl(n,r.target)&&(e.isDraggingInternally=!1)},drop:function(t,e,n){var r=t,o=r.dataTransfer;if(!n.getConfig().readOnly&&fl(n,r.target)&&o!=null&&!(uf&&af&&o.files.length>0)){r.preventDefault();var i=n.selection,a=A.findEventRange(n,r);N.select(n,a),e.isDraggingInternally&&(i&&N.delete(n,{at:i}),e.isDraggingInternally=!1),n.insertData(o),n.isFocused()||n.focus()}}},ott=1,itt=function(){function t(e){var n=this;this.id=ott++,this.$textArea=null,this.$progressBar=_('<div class="w-e-progress-bar"></div>'),this.$maxLengthInfo=_('<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=es(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,m=A.toDOMNode(s,s),g=p.getSelection();if(d===m?(u.latestElement=d,Iu.set(s,!0)):Iu.delete(s),!g)return N.deselect(s);var v=g.anchorNode,y=g.focusNode,h=Dr(s,v)||aO(s,v),b=Dr(s,y)||aO(s,y);if(h&&b){var w=A.toSlateRange(s,g,{exactMatch:!1,suppressThrow:!1});N.select(s,w)}else N.deselect(s)}})(n,a)},100);var r=_(e);if(r.length===0)throw new Error("Cannot find textarea DOM by selector '"+e+"'");this.$box=r;var o=_('<div class="w-e-text-container"></div>');o.append(this.$progressBar),o.append(this.$maxLengthInfo),r.append(o);var i=_('<div class="w-e-scroll"></div>');o.append(i),this.$scroll=i,this.$textAreaContainer=o,Rr(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=ME.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&&(K5(rtt,function(i,a){n.on(a,function(u){i(u,e,o)})}),o.getConfig().scroll&&(r.css("overflow-y","auto"),r.on("scroll",es(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;QQ(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=_('<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),Rr(function(){iI(e,n)})},t.prototype.destroy=function(){this.$textAreaContainer.remove()},t}();function MD(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&&MD(e)}function zD(){return _('<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 aI(){return _('<div class="w-e-bar-divider"></div>')}function uI(t,e,n,r,o){if(o===void 0&&(o=!1),e){if(r){var i=UE?"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")}}}DD("match",function(t,e,n){return[function(r){var o=Lr(this),i=r==null?void 0:rs(r,t);return i?Wt(i,r,o):new RegExp(r)[t](le(o))},function(r){var o=Me(this),i=le(r),a=n(e,o,i);if(a.done)return a.value;if(!o.global)return ep(o,i);var u=o.unicode;o.lastIndex=0;for(var s,l=[],c=0;(s=ep(o,i))!==null;){var f=le(s[0]);l[c]=f,f===""&&(o.lastIndex=CD(i,vc(o.lastIndex),u)),c++}return c===0?null:l}]});var $D=function(){function t(e,n,r){var o=this;r===void 0&&(r=!1),this.$elem=_('<div class="w-e-bar-item"></div>'),this.$button=_('<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=_(f);MD(d),p.append(d)}else p.text(u);uI(p,f,u,l,r),r&&f&&p.append(_('<span class="title">'+u+"</span>")),a&&p.css("width",a+"px"),p.attr("data-menu-key",e),this.$elem.append(p),Rr(function(){return o.init()})}return t.prototype.init=function(){var e=this;this.setActive(),this.setDisabled(),this.$button.on("click",function(n){n.preventDefault(),ir(e).hidePanelOrModal(),e.disabled||(e.exec(),e.onButtonClick())})},t.prototype.exec=function(){var e=ir(this),n=this.menu,r=n.getValue(e);n.exec(e,r)},t.prototype.setActive=function(){var e=ir(this),n=this.$button,r="active";this.menu.isActive(e)?n.addClass(r):n.removeClass(r)},t.prototype.setDisabled=function(){var e=ir(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}(),att=function(t){function e(n,r,o){return o===void 0&&(o=!1),t.call(this,n,r,o)||this}return yc(e,t),e.prototype.onButtonClick=function(){},e}($D),HD=function(){function t(e){this.isShow=!1,this.showTime=0,this.record(e)}return t.prototype.record=function(e){var n=$E.get(e);n==null&&(n=new Set,$E.set(e,n)),n.add(this),lg.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=lg.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=lg.get(this);e&&e.emit("modalOrPanelHide")}},t}(),utt=function(t){function e(n){var r=t.call(this,n)||this;return r.type="dropPanel",r.$elem=_('<div class="w-e-drop-panel"></div>'),r}return yc(e,t),e.prototype.genSelfElem=function(){return null},e}(HD),stt=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=zD();i.$button.append(a)}return i}return yc(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=ir(this);if(this.dropPanel==null){var o=new utt(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}($D),ltt=function(t){function e(n,r){r===void 0&&(r=0);var o=t.call(this,n)||this;o.type="modal",o.$elem=_('<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 yc(e,t),e.prototype.genSelfElem=function(){var n=this,r=_('<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=lg.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}(HD);function ar(t,e,n){var r=_('<label class="babel-container"></label>');r.append("<span>"+t+"</span>");var o=_('<input type="text" id="'+e+'" placeholder="'+(n||"")+'">');return r.append(o),[r[0],o[0]]}function bc(t,e){var n=_('<div class="button-container"></div>'),r=_('<button type="button" id="'+t+'">'+e+"</button>");return n.append(r),[n[0],r[0]]}var ctt=function(t){function e(n,r,o){o===void 0&&(o=!1);var i=t.call(this,n,r,o)||this;return i.$body=_("body"),i.modal=null,i.menu=r,i}return yc(e,t),e.prototype.onButtonClick=function(){this.menu.showModal&&this.handleModal()},e.prototype.getPosition=function(){var n=ir(this),r=this.menu.getModalPositionNode(n);return ct.isElement(r)?RD(n,r,"modal"):LD(n)},e.prototype.handleModal=function(){var n=ir(this),r=this.menu;if(this.modal==null){var o=new ltt(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=ir(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||QE(o,n.$elem),setTimeout(function(){o.blur()})}},e}($D),ftt=function(t){function e(n,r){var o=t.call(this,n)||this;return o.type="selectList",o.$elem=_('<div class="w-e-select-list"></div>'),r&&o.$elem.css("width",r+"px"),o.$elem.on("click",function(i){i.stopPropagation()}),o}return yc(e,t),e.prototype.renderList=function(n){var r=this.$elem;r.empty();var o=_("<ul></ul>");n.forEach(function(i){var a=i.value,u=i.text,s=i.selected,l=i.styleForRenderMenuList,c=_('<li data-value="'+a+'"></li>');if(l&&c.css(l),s){var f=_('<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(_('<span data-value="'+a+'">'+u+"</span>")),c.attr("title",u),o.append(c)}),r.append(o)},e.prototype.genSelfElem=function(){return null},e}(HD),dtt=function(){function t(e,n,r){var o=this;r===void 0&&(r=!1),this.$elem=_('<div class="w-e-bar-item"></div>'),this.$button=_('<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),uI(p,l,a,f,r),this.$elem.append(p),this.menu=n,Rr(function(){return o.init()})}return t.prototype.init=function(){var e=this;this.setSelectedValue(),this.$button.on("click",function(n){n.preventDefault(),ir(e).hidePanelOrModal(),e.trigger()})},t.prototype.trigger=function(){var e=this,n=ir(this);if(!n.isDisabled()&&!this.disabled){var r=this.menu;if(this.selectList==null){this.selectList=new ftt(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=_(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=ir(this),r=this.menu;r.exec&&r.exec(n,e)},t.prototype.setSelectedValue=function(){var e=ir(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=zD();i.empty(),i.text(o),i.append(a)},t.prototype.setDisabled=function(){var e=ir(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}(),sO=function(){function t(e){this.$elem=_('<div class="w-e-bar-item w-e-bar-item-group"></div>'),this.$container=_('<div class="w-e-bar-item-menus-container"></div>'),this.$button=_('<button type="button"></button>');var n=e.key,r=e.iconSvg,o=e.title,i=this.$elem,a=this.$button;if(r){var u=_(r);MD(u),a.append(u)}else a.text(o);a.attr("data-menu-key",n);var s=zD();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){_(s).hasClass("disabled")&&u++}),o.disconnect(),u===a?r.addClass("disabled"):r.removeClass("disabled"),e.observe(o)}});return o},t}(),lO=new WeakMap;function ir(t){var e=xD.get(t);if(e==null)throw new Error("Can not get editor instance");return e}function sI(t,e,n){n===void 0&&(n=!1);var r=lO.get(e);if(r)return r;var o=e.tag;if(o==="button"){var i=e.showDropPanel,a=e.showModal;r=i?new stt(t,e,n):a?new ctt(t,e,n):new att(t,e,n)}if(o==="select"&&(r=new dtt(t,e,n)),r==null)throw new Error("Invalid tag in menu "+JSON.stringify(e));return lO.set(e,r),r}function ptt(t,e){var n=t.selection;return n!=null&&!R.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})&&!!it.isText(e)}var htt=function(){function t(){var e=this;this.$elem=_('<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=Rj(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&&ct.isElement(i)&&n&&e.isSamePath(i,e.prevSelectedNode)||(e.hideAndClean(),i!=null&&(e.registerItems(u),e.setPosition(i),e.show()),e.prevSelectedNode=i)},200),Rr(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;Rr(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=aI();r.append(i)}})},t.prototype.registerSingleItem=function(e){var n=this.getEditorInstance(),r=this.menus,o=r[e];if(o==null){var i=op[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=sI(e,o);this.hoverbarItems.push(a),xD.set(a,n),this.$elem.append(a.$elem)},t.prototype.setPosition=function(e){var n=this.getEditorInstance(),r=this.$elem;if(r.attr("style",""),ct.isElement(e)){var o=RD(n,e,"bar");return r.css(o),void QE(n,r)}if(it.isText(e))return o=LD(n),r.css(o),void QE(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=Vt(D.nodes(e,{match:function(g){return p(e,g)},universal:!0}),1),m=d[0];if(m!=null)return r=m[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=zE.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=ptt),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 j.equals(r,o)},t.prototype.destroy=function(){this.changeHoverbarState.cancel(),this.$elem.remove(),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null},t}();function lI(t,e,n,r){if(rp.set(t,e),Jl.set(t,n),ct.isElement(t)){var o=t.children;if((o===void 0?[]:o).forEach(function(u,s){return lI(u,s,t,r)}),D.isVoid(r,t)){var i=Vt(tt.texts(t),1),a=Vt(i[0],1)[0];rp.set(a,0),Jl.set(a,t)}}}function gtt(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=(y=>{var h=y,{apply:b}=h;return h.history={undos:[],redos:[]},h.redo=()=>{var{history:w}=h,{redos:E}=w;if(E.length>0){var S=E[E.length-1];gl.withoutSaving(h,()=>{D.withoutNormalizing(h,()=>{for(var C of S)h.apply(C)})}),w.redos.pop(),w.undos.push(S)}},h.undo=()=>{var{history:w}=h,{undos:E}=w;if(E.length>0){var S=E[E.length-1];gl.withoutSaving(h,()=>{D.withoutNormalizing(h,()=>{var C=S.map(ra.inverse).reverse();for(var O of C)h.apply(O)})}),w.redos.push(S),w.undos.pop()}},h.apply=w=>{var{operations:E,history:S}=h,{undos:C}=S,O=C[C.length-1],k=O&&O[O.length-1],I=((G,W)=>!(!W||G.type!=="set_selection"||W.type!=="set_selection"))(w,k),$=gl.isSaving(h),M=gl.isMerging(h);if($==null&&($=((G,W)=>G.type!=="set_selection"||G.properties!=null&&G.newProperties!=null)(w)),$){if(M==null&&(M=O!=null&&(E.length!==0||((G,W)=>G.type==="set_selection"||!(!W||G.type!=="insert_text"||W.type!=="insert_text"||G.offset!==W.offset+W.text.length||!j.equals(G.path,W.path))||!(!W||G.type!=="remove_text"||W.type!=="remove_text"||G.offset+G.text.length!==W.offset||!j.equals(G.path,W.path)))(w,k)||I)),O&&M)I&&O.pop(),O.push(w);else{var q=[w];C.push(q)}for(;C.length>100;)C.shift();(G=>G.type!=="set_selection")(w)&&(S.redos=[])}b(w)},h})(function(y){var h=y,b=h.insertText,w=h.insertNode,E=h.insertFragment,S=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<tt.string(C).length||w(C)}else w(C)},h.insertFragment=function(C){if(h.getConfig().maxLength)if(C.length!==1)C.forEach(function(k){h.insertNode(k)});else{var O=C[0];if(A.getLeftLengthOfMaxLength(h)<tt.string(O).length)return;E(C)}else E(C)},h.dangerouslyInsertHtml=function(C,O){if(C===void 0&&(C=""),O===void 0&&(O=!1),C)if(h.getConfig().maxLength){var k=A.getLeftLengthOfMaxLength(h);if(!(k<=0)){var I=document.createElement("div");I.innerHTML=C;var $=Array.from(I.childNodes).reduce(function(M,q){var G=q.nodeType,W=q.nodeName;return q?G===So.TEXT_NODE?M+(q.textContent||""):G===So.ELEMENT_NODE?G9.has(W.toLowerCase())?M:M+(q.textContent||""):M:M},"");k<$.length||S(C,O)}}else S(C,O)},h}(function(y){var h=y;return h.on=function(b,w){var E=s0(h);if(E.on(b,w),b==="destroyed"&&Z9(h,w),b!=="destroyed"){var S=function(){return E.off(b,w)};E.on("destroyed",S),Z9(h,S)}},h.once=function(b,w){s0(h).once(b,w)},h.off=function(b,w){s0(h).off(b,w)},h.emit=function(b){for(var w=[],E=1;E<arguments.length;E++)w[E-1]=arguments[E];var S=s0(h);S.emit.apply(S,IE([b],Vt(w))),b==="destroyed"&&($Q(h).forEach(function(C){return S.off("destroyed",C)}),HQ(h))},h}(function(y){var h=y;return h.select=function(b){N.select(h,b)},h.deselect=function(){var b=h.selection,w=A.findDocumentOrShadowRoot(h).getSelection();w&&w.rangeCount>0&&w.removeAllRanges(),b&&N.deselect(y)},h.move=function(b,w){w===void 0&&(w=!1),b&&(b<0||N.move(y,{distance:b,unit:"character",reverse:w}))},h.moveReverse=function(b){h.move(b,!0)},h.restoreSelection=function(){var b=wb.get(h);b!=null&&(h.focus(),N.select(h,b))},h.getSelectionPosition=function(){return LD(h)},h.getNodePosition=function(b){return RD(h,b)},h.isSelectedAll=function(){var b=h.selection;if(b==null)return!1;var w=Vt(R.edges(b),2),E=w[0],S=w[1],C=Vt(D.edges(h,[]),2),O=C[0],k=C[1];return!(!_t.equals(E,O)||!_t.equals(S,k))},h.selectAll=function(){var b=D.start(h,[]),w=D.end(h,[]);N.select(h,{anchor:b,focus:w})},h}(function(y){var h=y,b=h.onChange,w=h.insertText,E=h.apply,S=h.deleteBackward;return h.insertText=function(C){h.getConfig().readOnly||w(C)},h.apply=function(C){var O,k,I,$,M,q,G,W,K=[];switch(C.type){case"insert_text":case"remove_text":case"set_node":try{for(var J=Or(D.levels(h,{at:C.path})),ot=J.next();!ot.done;ot=J.next()){var ut=Vt(ot.value,2),st=ut[0],B=ut[1],x=A.findKey(h,st);K.push([B,x])}}catch(Lt){O={error:Lt}}finally{try{ot&&!ot.done&&(k=J.return)&&k.call(J)}finally{if(O)throw O.error}}break;case"insert_node":case"remove_node":case"merge_node":case"split_node":try{for(var T=Or(D.levels(h,{at:j.parent(C.path)})),H=T.next();!H.done;H=T.next()){var V=Vt(H.value,2);st=V[0],B=V[1],x=A.findKey(h,st),K.push([B,x])}}catch(Lt){I={error:Lt}}finally{try{H&&!H.done&&($=T.return)&&$.call(T)}finally{if(I)throw I.error}}break;case"move_node":try{for(var U=Or(D.levels(h,{at:j.common(j.parent(C.path),j.parent(C.newPath))})),at=U.next();!at.done;at=U.next()){var gt=Vt(at.value,2);st=gt[0],B=gt[1],x=A.findKey(h,st),K.push([B,x])}}catch(Lt){M={error:Lt}}finally{try{at&&!at.done&&(q=U.return)&&q.call(U)}finally{if(M)throw M.error}}}E(C);try{for(var vt=Or(K),Dt=vt.next();!Dt.done;Dt=vt.next()){var Y=Vt(Dt.value,2);B=Y[0],x=Y[1],st=Vt(D.node(h,B),1)[0],cg.set(st,x)}}catch(Lt){G={error:Lt}}finally{try{Dt&&!Dt.done&&(W=vt.return)&&W.call(vt)}finally{if(G)throw G.error}}},h.deleteBackward=function(C){if(C!=="line")return S(C);if(y.selection&&R.isCollapsed(y.selection)){var O=D.above(y,{match:function(M){return D.isBlock(y,M)},at:y.selection});if(O){var k=Vt(O,2)[1],I=D.range(y,k,y.selection.anchor),$=function(M,q){var G=D.range(M,R.end(q)),W=Array.from(D.positions(M,{at:q})),K=0,J=W.length,ot=Math.floor(J/2);if(L9(M,D.range(M,W[K]),G))return D.range(M,W[K],G);if(W.length<2)return D.range(M,W[W.length-1],G);for(;ot!==W.length&&ot!==K;)L9(M,D.range(M,W[ot]),G)?J=ot:K=ot,ot=Math.floor((K+J)/2);return D.range(M,W[J],G)}(h,I);R.isCollapsed($)||N.delete(y,{at:$})}}},h.onChange=function(){var C=h.selection;C!=null&&wb.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 YN(O,h)}).join("")},h.getText=function(){var C=h.children;return(C===void 0?[]:C).map(function(O){return tt.string(O)}).join(`
  69. `)},h.getSelectionText=function(){var C=h.selection;return C==null?"":D.string(y,C)},h.getElemsByType=function(C,O){var k,I;O===void 0&&(O=!1);var $=[],M=D.nodes(h,{at:[],universal:!0});try{for(var q=Or(M),G=q.next();!G.done;G=q.next()){var W=Vt(G.value,1)[0];if(ct.isElement(W)&&(O?W.type.indexOf(C)>=0:W.type===C)){var K=XN(A.findKey(h,W).id);$.push(Ar(Ar({},W),{id:K}))}}}catch(J){k={error:J}}finally{try{G&&!G.done&&(I=q.return)&&I.call(q)}finally{if(k)throw k.error}}return $},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 k=O[0];if(k==null)return!0;if(ct.isElement(k)&&k.type==="paragraph"){var I=k.children,$=I===void 0?[]:I;if($.length>1)return!1;var M=$[0];if(M==null||it.isText(M)&&M.text==="")return!0}return!1},h.clear=function(){N.delete(h,{at:{anchor:D.start(h,[]),focus:D.end(h,[])}}),h.children.length===0&&N.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 k=document.createElement("div");k.innerHTML=C;var I=Array.from(k.childNodes);if(I=I.filter(function(G){var W=G.nodeType,K=G.nodeName;return W===So.TEXT_NODE||W===So.ELEMENT_NODE&&!G9.has(K.toLowerCase())}),I.length!==0){var $=h.selection;if($!=null){var M=null;A.isSelectedEmptyParagraph(h)&&!O&&(M=[$.focus.path[0]]),k.setAttribute("hidden","true"),document.body.appendChild(k);var q=0;I.forEach(function(G){var W=G.nodeType,K=G.nodeName,J=G.textContent,ot=J===void 0?"":J;if(W!==So.TEXT_NODE)if(K!=="BR"){var ut=G,st=!1;if(ZN.includes(K.toLowerCase()))st=!0;else for(var B in Sv)if(ut.matches(B)){st=!0;break}if(st){var x=jD(_(ut),h);return Array.isArray(x)?(x.forEach(function(H){return q9(h,H)}),q++):(q9(h,x),q++),void(A.isSelectedVoidNode(h)&&h.move(1))}var T=window.getComputedStyle(ut).display;A.isSelectedEmptyParagraph(h)||T.indexOf("inline")<0&&h.insertBreak(),h.dangerouslyInsertHtml(ut.innerHTML,!0)}else h.insertText(`
  70. `);else{if(!ot||!ot.trim())return;h.insertNode({text:ot})}}),q&&M&&A.isEmptyPath(h,M)&&N.removeNodes(h,{at:M}),k.remove()}}}},h.setHtml=function(C){C===void 0&&(C="");var O=h.isDisabled(),k=h.isFocused(),I=JSON.stringify(h.selection);h.enable(),h.focus(),h.clear();var $=V9(h,C);if(N.insertFragment(h,$),k||(h.deselect(),h.blur()),O&&(h.deselect(),h.disable()),h.isFocused())try{h.select(JSON.parse(I))}catch{h.select(D.start(h,[]))}},h}(function(y){var h=y;return h.getAllMenuKeys=function(){var b=[];for(var w in op)b.push(w);return b},h.getConfig=function(){var b=p9.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 E=h.getConfig().customAlert;E&&E(b,w)},h}(function(y){var h=kQ(ZW());return h.id="wangEditor-"+IJ++,h.isDestroyed=!1,h.isFullScreen=!1,h.focus=function(b){if(A.toDOMNode(h,h).focus({preventScroll:!0}),Iu.set(h,!0),b){var w=D.end(h,[]);N.select(h,w)}else{var E=wb.get(h);E?N.select(h,E):N.select(h,D.start(h,[]))}},h.isFocused=function(){return!!Iu.get(h)},h.blur=function(){A.toDOMNode(h,h).blur(),N.deselect(h),Iu.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(),RE.delete(h),ME.delete(b);var w=A.getToolbar(h);w&&(w.destroy(),cm.delete(h),SD.delete(w));var E=A.getHoverbar(h);E&&(E.destroy(),bv.delete(h),zE.delete(E)),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 E=_("#"+b);if(E.length!==0){var S=E[0];if(!A.hasDOMNode(h,S))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,S);var C=A.getTextarea(h),O=C.$textAreaContainer,k=C.$scroll,I=E.offset().top,$=O.offset().top;k[0].scrollBy({top:I-$,behavior:"smooth"})}},h.showProgressBar=function(b){b<1||A.getTextarea(h).changeProgress(b)},h.hidePanelOrModal=function(){var b=$E.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 E=A.getTextarea(h).$box.parent();if(b&&b.parent()[0]!==E[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`);E.addClass("w-e-full-screen-container");var S=E.css("z-index");E.attr("data-z-index",S.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(y,h){return eI(y,"data-w-e-textarea",h)}(l,n))throw new Error("Repeated create editor by selector '"+n+"'");var c=function(y){y===void 0&&(y={});var h=Mj(PN),b={},w=y.MENU_CONF,E=w===void 0?{}:w;return K5(h,function(S,C){b[C]=Ar(Ar({},S),E[C]||{})}),delete y.MENU_CONF,Ar({scroll:!0,readOnly:!1,autoFocus:!0,decorate:function(){return[]},maxLength:0,MENU_CONF:b,hoverbarKeys:{},customAlert:function(S,C){window.alert(C+`:
  74. `+S)}},y)}(o);p9.set(l,c);var f=c.hoverbarKeys,p=f===void 0?{}:f;if(s.forEach(function(y){l=y(l)}),a!=null&&(l.children=V9(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 itt(n);RE.set(l,d),ME.set(d,l),d.changeViewState(),Rr(function(){var y=d.$scroll;y!=null&&y.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`,y)});var m=void 0;Object.keys(p).length>0&&(m=new htt,zE.set(m,l),bv.set(l,m)),l.on("change",function(){l.hidePanelOrModal()}),l.on("scroll",function(){l.hidePanelOrModal()})}else l.children.forEach(function(y,h){return lI(y,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)}),Rr(function(){return l.emit("created")}),l}var vtt=am("splice"),mtt=X.TypeError,ytt=Math.max,btt=Math.min;Se({target:"Array",proto:!0,forced:!vtt},{splice:function(t,e){var n,r,o,i,a,u,s=Ha(this),l=ws(s),c=Kl(t,l),f=arguments.length;if(f===0?n=r=0:f===1?(n=0,r=l-c):(n=f-2,r=btt(ytt(Zp(e),0),l-c)),l+n-r>9007199254740991)throw mtt("Maximum allowed length exceeded");for(o=aN(s,r),i=0;i<r;i++)(a=c+i)in s&&Qd(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 wtt=function(){function t(e,n){var r=this;this.$toolbar=_('<div class="w-e-bar w-e-bar-show w-e-toolbar"></div>'),this.menus={},this.toolbarItems=[],this.config={},this.changeToolbarState=Rj(function(){r.toolbarItems.forEach(function(a){a.changeMenuState()})},200),this.config=n;var o=_(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),Rr(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=Mj(a);s.keys.length>0&&(typeof s.keys=="string"&&(s.keys=[s.keys]),s.keys.forEach(function(m,g){f.splice(s.index+g,0,m)}));var p=f.filter(function(m){if(typeof m=="string"){if(c.includes(m))return!1}else if(c.includes(m.key))return!1;return!0}),d=p.length;p.forEach(function(m,g){if(m==="|"){if(g===0||g+1===d||n==="|")return;var v=aI();return r.append(v),void(n=m)}if(typeof m=="string")return e.registerSingleItem(m,e),void(n=m);e.registerGroup(m),n="group"})},t.prototype.registerGroup=function(e){var n=this,r=this.$toolbar,o=function(l){return new sO(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 sO,i=this.menus,a=i[e];if(a==null){var u=op[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=sI(e,a,o);this.toolbarItems.push(s),xD.set(s,r),o?n.appendBarItem(s):n.$toolbar.append(s.$elem)},t.prototype.getEditorInstance=function(){var e=SD.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}(),Ett=gc.EXISTS,Dtt=so.f,cI=Function.prototype,Ctt=pt(cI.toString),fI=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Stt=pt(fI.exec);function dI(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,m=d===void 0?{}:d,g=t.withCredentials,v=g!==void 0&&g,y=t.timeout,h=y===void 0?1e4:y,b=t.onBeforeUpload,w=b===void 0?function(q){return q}:b,E=t.onSuccess,S=E===void 0?function(q,G){}:E,C=t.onError,O=C===void 0?function(q,G,W){console.error(q.name+" upload error",G,W)}:C,k=t.onProgress,I=k===void 0?function(q){}:k;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 $=n;p&&($=function(q,G){var W=Vt(q.split("#"),2),K=W[0],J=W[1],ot=[];K5(G,function(st,B){ot.push(B+"="+st)});var ut=ot.join("&");return K=K.indexOf("?")>0?K+"&"+ut:K+"?"+ut,J?K+"#"+J:K}($,c));var M=new rd({onBeforeUpload:w,restrictions:{maxFileSize:a,maxNumberOfFiles:s},meta:c}).use(ZY,{endpoint:$,headers:m,formData:!0,fieldName:o,bundle:!0,withCredentials:v,timeout:h});return M.on("upload-success",function(q,G){var W=G.body,K=W===void 0?{}:W;try{S(q,K)}catch(J){console.error("wangEditor upload file - onSuccess error",J)}M.removeFile(q.id)}),M.on("progress",function(q){q<1||I(q)}),M.on("upload-error",function(q,G,W){try{O(q,G,W)}catch(K){console.error("wangEditor upload file - onError error",K)}M.removeFile(q.id)}),M.on("restriction-failed",function(q,G){try{O(q,G)}catch(W){console.error("wangEditor upload file - onError error",W)}M.removeFile(q.id)}),M}function pa(t){return pa=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},pa(t)}function xtt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ge(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){xtt(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 cO(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 gi(t,e,n){return e&&cO(t.prototype,e),n&&cO(t,n),t}function as(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ap(t,e){if(e&&(pa(e)==="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return as(t)}function Ql(t){return Ql=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ql(t)}function n6(t,e){return n6=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},n6(t,e)}function fm(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&&n6(t,e)}ln&&!Ett&&Dtt(cI,"name",{configurable:!0,get:function(){try{return Stt(fI,Ctt(this))[1]}catch{return""}}});var Att={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)}},ii=new(function(){function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};hi(this,t),this.init(e,n)}return gi(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||Att,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,Ge({},{prefix:"".concat(this.prefix,":").concat(e,":")},this.options))}}]),t}()),Ta=function(){function t(){hi(this,t),this.observers={}}return gi(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 df(){var t,e,n=new Promise(function(r,o){t=r,e=o});return n.resolve=t,n.reject=e,n}function fO(t){return t==null?"":""+t}function Ott(t,e,n){t.forEach(function(r){e[r]&&(n[r]=e[r])})}function VD(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 dO(t,e,n){var r=VD(t,e,Object);r.obj[r.k]=n}function Av(t,e){var n=VD(t,e),r=n.obj,o=n.k;if(r)return r[o]}function pO(t,e,n){var r=Av(t,n);return r!==void 0?r:Av(e,n)}function pI(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]):pI(t[r],e[r],n):t[r]=e[r]);return t}function $s(t){return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var ktt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function Btt(t){return typeof t=="string"?t.replace(/[&<>"'\/]/g,function(e){return ktt[e]}):t}var dm=typeof window<"u"&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1;function hI(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?hI(s,l,n):void 0}o=o[r[i]]}return o}}var _tt=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=ap(this,Ql(e).call(this)),dm&&Ta.call(as(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 fm(e,Ta),gi(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=Av(this.data,s);return l||!u||typeof o!="string"?l:hI(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),dO(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=Av(this.data,s)||{};i?pI(l,o,a):l=Ge({},l,o),dO(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"?Ge({},{},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}(),gI={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}},hO={},gO=function(t){function e(n){var r,o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return hi(this,e),r=ap(this,Ql(e).call(this)),dm&&Ta.call(as(r)),Ott(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],n,as(r)),r.options=o,r.options.keySeparator===void 0&&(r.options.keySeparator="."),r.logger=ii.create("translator"),r}return fm(e,Ta),gi(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(pa(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 m=this.resolve(n,r),g=m&&m.res,v=m&&m.usedKey||s,y=m&&m.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,E=!this.i18nFormat||this.i18nFormat.handleAsObject,S=typeof g!="string"&&typeof g!="boolean"&&typeof g!="number";if(E&&g&&S&&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,Ge({},r,{ns:l})):"key '".concat(s," (").concat(this.language,")' returned an object instead of string.");if(a){var C=h==="[object Array]",O=C?[]:{},k=C?y:v;for(var I in g)if(Object.prototype.hasOwnProperty.call(g,I)){var $="".concat(k).concat(a).concat(I);O[I]=this.translate($,Ge({},r,{joinArrays:!1,ns:l})),O[I]===$&&(O[I]=g[I])}g=O}}else if(E&&typeof w=="string"&&h==="[object Array]")(g=g.join(w))&&(g=this.extendTranslation(g,n,r,o));else{var M=!1,q=!1,G=r.count!==void 0&&typeof r.count!="string",W=e.hasDefaultValue(r),K=G?this.pluralResolver.getSuffix(f,r.count):"",J=r["defaultValue".concat(K)]||r.defaultValue;!this.isValidLookup(g)&&W&&(M=!0,g=J),this.isValidLookup(g)||(q=!0,g=s);var ot=r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey,ut=ot&&q?void 0:g,st=W&&J!==g&&this.options.updateMissing;if(q||M||st){if(this.logger.log(st?"updateKey":"missingKey",f,c,s,st?J:g),a){var B=this.resolve(s,Ge({},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=[],T=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&T&&T[0])for(var H=0;H<T.length;H++)x.push(T[H]);else this.options.saveMissingTo==="all"?x=this.languageUtils.toResolveHierarchy(r.lng||this.language):x.push(r.lng||this.language);var V=function(U,at,gt){i.options.missingKeyHandler?i.options.missingKeyHandler(U,c,at,st?gt:ut,st,r):i.backendConnector&&i.backendConnector.saveMissing&&i.backendConnector.saveMissing(U,c,at,st?gt:ut,st,r),i.emit("missingKey",U,c,at,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&G?x.forEach(function(U){i.pluralResolver.getSuffixes(U).forEach(function(at){V([U],s+at,r["defaultValue".concat(at)]||J)})}):V(x,s,J))}g=this.extendTranslation(g,n,r,m,o),q&&g===s&&this.options.appendNamespaceToMissingKey&&(g="".concat(c,":").concat(s)),(q||M)&&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(Ge({},o,{interpolation:Ge({},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=Ge({},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),y=0;y<g;y++)v[y]=arguments[y];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,m=typeof d=="string"?[d]:d;return n!=null&&m&&m.length&&o.applyPostProcessor!==!1&&(n=gI.handle(m,n,r,this.options&&this.options.postProcessPassResolved?Ge({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 m=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(y){s.isValidLookup(r)||(u=y,!hO["".concat(v[0],"-").concat(y)]&&s.utils&&s.utils.hasLoadedNamespace&&!s.utils.hasLoadedNamespace(u)&&(hO["".concat(v[0],"-").concat(y)]=!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,E=p,S=[E];for(s.i18nFormat&&s.i18nFormat.addLookupKeys?s.i18nFormat.addLookupKeys(S,p,h,y,l):(m&&(b=s.pluralResolver.getSuffix(h,l.count)),m&&g&&S.push(E+b),g&&S.push(E+="".concat(s.options.contextSeparator).concat(l.context)),m&&S.push(E+=b));w=S.pop();)s.isValidLookup(r)||(i=w,r=s.getResource(h,y,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 Hb(t){return t.charAt(0).toUpperCase()+t.slice(1)}var Ftt=function(){function t(e){hi(this,t),this.options=e,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ii.create("languageUtils")}return gi(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]=Hb(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]=Hb(r[1].toLowerCase())),n.indexOf(r[2].toLowerCase())>-1&&(r[2]=Hb(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}(),Ttt=[{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}],Ptt={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 jtt(){var t={};return Ttt.forEach(function(e){e.lngs.forEach(function(n){t[n]={numbers:e.nr,plurals:Ptt[e.fc]}})}),t}var Ntt=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=ii.create("pluralResolver"),this.rules=jtt()}return gi(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}(),Itt=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};hi(this,t),this.logger=ii.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||function(n){return n},this.init(e)}return gi(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:Btt,this.escapeValue=n.escapeValue===void 0||n.escapeValue,this.useRawValueToEscape=n.useRawValueToEscape!==void 0&&n.useRawValueToEscape,this.prefix=n.prefix?$s(n.prefix):n.prefixEscaped||"{{",this.suffix=n.suffix?$s(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?$s(n.nestingPrefix):n.nestingPrefixEscaped||$s("$t("),this.nestingSuffix=n.nestingSuffix?$s(n.nestingSuffix):n.nestingSuffixEscaped||$s(")"),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=pO(n,l,g);return s.alwaysFormat?s.format(v,void 0,r,Ge({},o,n,{interpolationkey:g})):v}var y=g.split(s.formatSeparator),h=y.shift().trim(),b=y.join(s.formatSeparator).trim();return s.format(pO(n,l,h),b,r,Ge({},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,m=[{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 m.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=fO(a));var y=g.safeValue(a);if(e=e.replace(i[0],y),d?(g.regex.lastIndex+=y.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=Ge({},a);function s(p,d){var m=this.nestingOptionsSeparator;if(p.indexOf(m)<0)return p;var g=p.split(new RegExp("".concat(m,"[ ]*{"))),v="{".concat(g[1]);p=g[0],v=(v=this.interpolate(v,u)).replace(/'/g,'"');try{u=JSON.parse(v),d&&(u=Ge({},d,u))}catch(y){return this.logger.warn("failed parsing options string in nesting for key ".concat(p),y),"".concat(p).concat(m).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=fO(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,Ge({},a,{interpolationkey:r[1].trim()}))},o.trim())),e=e.replace(r[0],o),this.regexp.lastIndex=0}return e}}]),t}(),Ltt=function(t){function e(n,r,o){var i,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return hi(this,e),i=ap(this,Ql(e).call(this)),dm&&Ta.call(as(i)),i.backend=n,i.store=r,i.services=o,i.languageUtils=o.languageUtils,i.options=a,i.logger=ii.create("backendConnector"),i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(o,a.backend,a),i}return fm(e,Ta),gi(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 m="".concat(f,"|").concat(d);!o.reload&&a.store.hasResourceBundle(f,d)?a.state[m]=2:a.state[m]<0||(a.state[m]===1?s.indexOf(m)<0&&s.push(m):(a.state[m]=1,p=!1,s.indexOf(m)<0&&s.push(m),u.indexOf(m)<0&&u.push(m),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 m=VD(c,f,Object),g=m.obj,v=m.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,Ge({},u,{isUpdate:a})),n&&n[0]&&this.store.addResource(n[0],r,o,i))}}]),e}();function Rtt(){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(pa(t[1])==="object"&&(e=t[1]),typeof t[1]=="string"&&(e.defaultValue=t[1]),typeof t[2]=="string"&&(e.tDescription=t[2]),pa(t[2])==="object"||pa(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 vO(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 c0(){}var Mtt=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=ap(this,Ql(e).call(this)),dm&&Ta.call(as(n)),n.options=vO(r),n.services={},n.logger=ii,n.modules={external:[]},o&&!n.isInitialized&&!r.isClone){if(!n.options.initImmediate)return n.init(r,o),ap(n,as(n));setTimeout(function(){n.init(r,o)},0)}return n}return fm(e,Ta),gi(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=Ge({},Rtt(),this.options,vO(r)),this.format=this.options.interpolation.format,o||(o=c0),!this.options.isClone){this.modules.logger?ii.init(i(this.modules.logger),this.options):ii.init(null,this.options);var a=new Ftt(this.options);this.store=new _tt(this.options.resources,this.options);var u=this.services;u.logger=ii,u.resourceStore=this.store,u.languageUtils=a,u.pluralResolver=new Ntt(a,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),u.interpolator=new Itt(this.options),u.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},u.backendConnector=new Ltt(i(this.modules.backend),u.resourceStore,u,this.options),u.backendConnector.on("*",function(d){for(var m=arguments.length,g=new Array(m>1?m-1:0),v=1;v<m;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 gO(this.services,this.options),this.translator.on("*",function(d){for(var m=arguments.length,g=new Array(m>1?m-1:0),v=1;v<m;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 m;return(m=n.store)[d].apply(m,arguments)}});var c=["addResource","addResources","addResourceBundle","removeResourceBundle"];c.forEach(function(d){n[d]=function(){var m;return(m=n.store)[d].apply(m,arguments),n}});var f=df(),p=function(){var d=function(m,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(m,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]:c0,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=df();return n||(n=this.languages),r||(r=this.options.ns),o||(o=c0),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"&&gI.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=df();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(pa(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=Ge({},l);c.lng=c.lng||u.lng,c.lngs=c.lngs||u.lngs,c.ns=c.ns||u.ns;var m=i.options.keySeparator||".",g=o?"".concat(o).concat(m).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=df();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=df();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]:c0,i=Ge({},this.options,r,{isClone:!0}),a=new e(i),u=["store","services","language"];return u.forEach(function(s){a[s]=n[s]}),a.services=Ge({},this.services),a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a.translator=new gO(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}(),Ov=new Mtt;function Zn(t,e){Ov.addResourceBundle(t,"translation",e,!0,!0)}Ov.init({lng:"zh-CN",resources:{}});var et=Ov.t.bind(Ov);Zn("en",{editor:{more:"More",justify:"Justify",indent:"Indent",image:"Image",video:"Video"}}),Zn("zh-CN",{editor:{more:"\u66F4\u591A",justify:"\u5BF9\u9F50",indent:"\u7F29\u8FDB",image:"\u56FE\u7247",video:"\u89C6\u9891"}});var ztt=T5?{}.toString:function(){return"[object "+W1(this)+"]"};T5||ca(Object.prototype,"toString",ztt,{unsafe:!0});var mO=Array.isArray||function(t){return _u(t)=="Array"},vI=function(){},$tt=[],mI=Hp("Reflect","construct"),UD=/^\s*(?:class|function)\b/,Htt=ue(UD.exec),Vtt=!UD.exec(vI),pf=function(t){if(!Ye(t))return!1;try{return mI(vI,$tt,t),!0}catch{return!1}},Utt=!mI||pn(function(){var t;return pf(pf.call)||!pf(Object)||!pf(function(){t=!0})||t})?function(t){if(!Ye(t))return!1;switch(W1(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Vtt||!!Htt(UD,O5(t))}:pf,Wtt=Rn("species"),yO=Et.Array,Gtt=function(t,e){return new(function(n){var r;return mO(n)&&(r=n.constructor,(Utt(r)&&(r===yO||mO(r.prototype))||Kr(r)&&(r=r[Wtt])===null)&&(r=void 0)),r===void 0?yO:r}(t))(e===0?0:e)},bO=ue([].push),ji=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,m=C5(s),g=jP(m),v=GP(l,c),y=U1(g),h=0,b=f||Gtt,w=e?b(s,y):n||a?b(s,0):void 0;y>h;h++)if((u||h in g)&&(d=v(p=g[h],h,m),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:bO(w,p)}else switch(t){case 4:return!1;case 7:bO(w,p)}return i?-1:r||o?o:w}},qtt={forEach:ji(0),map:ji(1),filter:ji(2),some:ji(3),every:ji(4),find:ji(5),findIndex:ji(6),filterReject:ji(7)}.forEach,Ktt=function(t,e){var n=[][t];return!!n&&pn(function(){n.call(null,e||function(){throw 1},1)})}("forEach"),Vb=Ktt?[].forEach:function(t){return qtt(this,t,arguments.length>1?arguments[1]:void 0)},yI=function(t){if(t&&t.forEach!==Vb)try{Ln(t,"forEach",Vb)}catch{t.forEach=Vb}};for(var Ub in Gg)Gg[Ub]&&yI(Et[Ub]&&Et[Ub].prototype);yI(YP),Zn("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"}}),Zn("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 Ytt={type:"paragraph",renderElem:function(t,e,n){return bt("p",null,e)}},kv=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function pm(t){var e={exports:{}};return t(e,e.exports),e.exports}var Ni,fg,f0=function(t){return t&&t.Math==Math&&t},xt=f0(typeof globalThis=="object"&&globalThis)||f0(typeof window=="object"&&window)||f0(typeof self=="object"&&self)||f0(typeof kv=="object"&&kv)||function(){return this}()||Function("return this")(),xe=function(t){try{return!!t()}catch{return!0}},ao=!xe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),hf=Function.prototype.call,Pe=hf.bind?hf.bind(hf):function(){return hf.apply(hf,arguments)},wO={}.propertyIsEnumerable,EO=Object.getOwnPropertyDescriptor,Xtt=EO&&!wO.call({1:2},1)?function(t){var e=EO(this,t);return!!e&&e.enumerable}:wO,bI={f:Xtt},WD=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},wI=Function.prototype,r6=wI.bind,o6=wI.call,Ztt=r6&&r6.bind(o6),mt=r6?function(t){return t&&Ztt(o6,t)}:function(t){return t&&function(){return o6.apply(t,arguments)}},Jtt=mt({}.toString),Qtt=mt("".slice),ha=function(t){return Qtt(Jtt(t),8,-1)},Wb=xt.Object,tet=mt("".split),hm=xe(function(){return!Wb("z").propertyIsEnumerable(0)})?function(t){return ha(t)=="String"?tet(t,""):Wb(t)}:Wb,eet=xt.TypeError,Mr=function(t){if(t==null)throw eet("Can't call method on "+t);return t},wc=function(t){return hm(Mr(t))},mn=function(t){return typeof t=="function"},kr=function(t){return typeof t=="object"?t!==null:mn(t)},net=function(t){return mn(t)?t:void 0},th=function(t,e){return arguments.length<2?net(xt[t]):xt[t]&&xt[t][e]},EI=mt({}.isPrototypeOf),Gb=th("navigator","userAgent")||"",DO=xt.process,CO=xt.Deno,SO=DO&&DO.versions||CO&&CO.version,xO=SO&&SO.v8;xO&&(fg=(Ni=xO.split("."))[0]>0&&Ni[0]<4?1:+(Ni[0]+Ni[1])),!fg&&Gb&&(!(Ni=Gb.match(/Edge\/(\d+)/))||Ni[1]>=74)&&(Ni=Gb.match(/Chrome\/(\d+)/))&&(fg=+Ni[1]);var i6=fg,a6=!!Object.getOwnPropertySymbols&&!xe(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&i6&&i6<41}),GD=a6&&!Symbol.sham&&typeof Symbol.iterator=="symbol",ret=xt.Object,qb=GD?function(t){return typeof t=="symbol"}:function(t){var e=th("Symbol");return mn(e)&&EI(e.prototype,ret(t))},oet=xt.String,DI=function(t){try{return oet(t)}catch{return"Object"}},iet=xt.TypeError,CI=function(t){if(mn(t))return t;throw iet(DI(t)+" is not a function")},gm=function(t,e){var n=t[e];return n==null?void 0:CI(n)},aet=xt.TypeError,uet=Object.defineProperty,qD=function(t,e){try{uet(xt,t,{value:e,configurable:!0,writable:!0})}catch{xt[t]=e}return e},ga=xt["__core-js_shared__"]||qD("__core-js_shared__",{}),KD=pm(function(t){(t.exports=function(e,n){return ga[e]||(ga[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),set=xt.Object,eh=function(t){return set(Mr(t))},cet=mt({}.hasOwnProperty),Fr=Object.hasOwn||function(t,e){return cet(eh(t),e)},fet=0,det=Math.random(),pet=mt(1 .toString),SI=function(t){return"Symbol("+(t===void 0?"":t)+")_"+pet(++fet+det,36)},gf=KD("wks"),Ru=xt.Symbol,AO=Ru&&Ru.for,het=GD?Ru:Ru&&Ru.withoutSetter||SI,vr=function(t){if(!Fr(gf,t)||!a6&&typeof gf[t]!="string"){var e="Symbol."+t;a6&&Fr(Ru,t)?gf[t]=Ru[t]:gf[t]=GD&&AO?AO(e):het(e)}return gf[t]},get=xt.TypeError,vet=vr("toPrimitive"),YD=function(t){var e=function(n,r){if(!kr(n)||qb(n))return n;var o,i=gm(n,vet);if(i){if(r===void 0&&(r="default"),o=Pe(i,n,r),!kr(o)||qb(o))return o;throw get("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&mn(s=a.toString)&&!kr(l=Pe(s,a))||mn(s=a.valueOf)&&!kr(l=Pe(s,a))||u!=="string"&&mn(s=a.toString)&&!kr(l=Pe(s,a)))return l;throw aet("Can't convert object to primitive value")}(n,r)}(t,"string");return qb(e)?e:e+""},u6=xt.document,met=kr(u6)&&kr(u6.createElement),XD=function(t){return met?u6.createElement(t):{}},xI=!ao&&!xe(function(){return Object.defineProperty(XD("div"),"a",{get:function(){return 7}}).a!=7}),OO=Object.getOwnPropertyDescriptor,ZD={f:ao?OO:function(t,e){if(t=wc(t),e=YD(e),xI)try{return OO(t,e)}catch{}if(Fr(t,e))return WD(!Pe(bI.f,t,e),t[e])}},yet=xt.String,bet=xt.TypeError,ur=function(t){if(kr(t))return t;throw bet(yet(t)+" is not an object")},wet=xt.TypeError,kO=Object.defineProperty,Ec={f:ao?kO:function(t,e,n){if(ur(t),e=YD(e),ur(n),xI)try{return kO(t,e,n)}catch{}if("get"in n||"set"in n)throw wet("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},tc=ao?function(t,e,n){return Ec.f(t,e,WD(1,n))}:function(t,e,n){return t[e]=n,t},Eet=mt(Function.toString);mn(ga.inspectSource)||(ga.inspectSource=function(t){return Eet(t)});var Bv,Dd,_v,JD=ga.inspectSource,BO=xt.WeakMap,Det=mn(BO)&&/native code/.test(JD(BO)),_O=KD("keys"),AI=function(t){return _O[t]||(_O[t]=SI(t))},QD={},s6=xt.TypeError,Cet=xt.WeakMap;if(Det||ga.state){var ou=ga.state||(ga.state=new Cet),xet=mt(ou.get),FO=mt(ou.has),Aet=mt(ou.set);Bv=function(t,e){if(FO(ou,t))throw new s6("Object already initialized");return e.facade=t,Aet(ou,t,e),e},Dd=function(t){return xet(ou,t)||{}},_v=function(t){return FO(ou,t)}}else{var Hs=AI("state");QD[Hs]=!0,Bv=function(t,e){if(Fr(t,Hs))throw new s6("Object already initialized");return e.facade=t,tc(t,Hs,e),e},Dd=function(t){return Fr(t,Hs)?t[Hs]:{}},_v=function(t){return Fr(t,Hs)}}var l6={set:Bv,get:Dd,has:_v,enforce:function(t){return _v(t)?Dd(t):Bv(t,{})},getterFor:function(t){return function(e){var n;if(!kr(e)||(n=Dd(e)).type!==t)throw s6("Incompatible receiver, "+t+" required");return n}}},OI=Function.prototype,Oet=ao&&Object.getOwnPropertyDescriptor,Kb=Fr(OI,"name"),vm={EXISTS:Kb,PROPER:Kb&&function(){}.name==="something",CONFIGURABLE:Kb&&(!ao||ao&&Oet(OI,"name").configurable)},up=pm(function(t){var e=vm.CONFIGURABLE,n=l6.get,r=l6.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;mn(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Fr(u,"name")||e&&u.name!==d)&&tc(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==xt?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:tc(i,a,u)):f?i[a]=u:qD(a,u)})(Function.prototype,"toString",function(){return mn(this)&&n(this).source||JD(this)})}),ket=Math.ceil,Bet=Math.floor,Dc=function(t){var e=+t;return e!=e||e===0?0:(e>0?Bet:ket)(e)},_et=Math.max,Fet=Math.min,sp=function(t,e){var n=Dc(t);return n<0?_et(n+e,0):Fet(n,e)},Tet=Math.min,nh=function(t){return t>0?Tet(Dc(t),9007199254740991):0},mm=function(t){return nh(t.length)},TO=function(t){return function(e,n,r){var o,i=wc(e),a=mm(i),u=sp(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}},kI={includes:TO(!0),indexOf:TO(!1)},Pet=kI.indexOf,PO=mt([].push),BI=function(t,e){var n,r=wc(t),o=0,i=[];for(n in r)!Fr(QD,n)&&Fr(r,n)&&PO(i,n);for(;e.length>o;)Fr(r,n=e[o++])&&(~Pet(i,n)||PO(i,n));return i},Fv=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],jet=Fv.concat("length","prototype"),Net={f:Object.getOwnPropertyNames||function(t){return BI(t,jet)}},_I={f:Object.getOwnPropertySymbols},Iet=mt([].concat),Let=th("Reflect","ownKeys")||function(t){var e=Net.f(ur(t)),n=_I.f;return n?Iet(e,n(t)):e},Ret=function(t,e){for(var n=Let(e),r=Ec.f,o=ZD.f,i=0;i<n.length;i++){var a=n[i];Fr(t,a)||r(t,a,o(e,a))}},Met=/#|\.prototype\./,rh=function(t,e){var n=$et[zet(t)];return n==Vet||n!=Het&&(mn(e)?xe(e):!!e)},zet=rh.normalize=function(t){return String(t).replace(Met,".").toLowerCase()},$et=rh.data={},Het=rh.NATIVE="N",Vet=rh.POLYFILL="P",Uet=rh,Wet=ZD.f,rn=function(t,e){var n,r,o,i,a,u=t.target,s=t.global,l=t.stat;if(n=s?xt:l?xt[u]||qD(u,{}):(xt[u]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=Wet(n,r))&&a.value:n[r],!Uet(s?r:u+(l?".":"#")+r,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;Ret(i,o)}(t.sham||o&&o.sham)&&tc(i,"sham",!0),up(n,r,i,t)}},jO=mt(mt.bind),Tv=Array.isArray||function(t){return ha(t)=="Array"},FI={};FI[vr("toStringTag")]="z";var tC=String(FI)==="[object z]",Get=vr("toStringTag"),qet=xt.Object,Ket=ha(function(){return arguments}())=="Arguments",eC=tC?ha:function(t){var e,n,r;return t===void 0?"Undefined":t===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(e=qet(t),Get))=="string"?n:Ket?ha(e):(r=ha(e))=="Object"&&mn(e.callee)?"Arguments":r},TI=function(){},Yet=[],PI=th("Reflect","construct"),nC=/^\s*(?:class|function)\b/,Xet=mt(nC.exec),Zet=!nC.exec(TI),vf=function(t){if(!mn(t))return!1;try{return PI(TI,Yet,t),!0}catch{return!1}},rC=!PI||xe(function(){var t;return vf(vf.call)||!vf(Object)||!vf(function(){t=!0})||t})?function(t){if(!mn(t))return!1;switch(eC(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Zet||!!Xet(nC,JD(t))}:vf,Jet=vr("species"),NO=xt.Array,Qet=function(t,e){return new(function(n){var r;return Tv(n)&&(r=n.constructor,(rC(r)&&(r===NO||Tv(r.prototype))||kr(r)&&(r=r[Jet])===null)&&(r=void 0)),r===void 0?NO:r}(t))(e===0?0:e)},IO=mt([].push),Ii=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,m=eh(s),g=hm(m),v=function(E,S){return CI(E),S===void 0?E:jO?jO(E,S):function(){return E.apply(S,arguments)}}(l,c),y=mm(g),h=0,b=f||Qet,w=e?b(s,y):n||a?b(s,0):void 0;y>h;h++)if((u||h in g)&&(d=v(p=g[h],h,m),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:IO(w,p)}else switch(t){case 4:return!1;case 7:IO(w,p)}return i?-1:r||o?o:w}},ym={forEach:Ii(0),map:Ii(1),filter:Ii(2),some:Ii(3),every:Ii(4),find:Ii(5),findIndex:Ii(6),filterReject:Ii(7)},tnt=vr("species"),oC=function(t){return i6>=51||!xe(function(){var e=[];return(e.constructor={})[tnt]=function(){return{foo:1}},e[t](Boolean).foo!==1})},ent=ym.filter;rn({target:"Array",proto:!0,forced:!oC("filter")},{filter:function(t){return ent(this,t,arguments.length>1?arguments[1]:void 0)}});var nnt=tC?{}.toString:function(){return"[object "+eC(this)+"]"};tC||up(Object.prototype,"toString",nnt,{unsafe:!0});var d0,rnt=xt.String,Ce=function(t){if(eC(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return rnt(t)},jI=function(){var t=ur(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},iC=xt.RegExp,c6=xe(function(){var t=iC("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),ont=c6||xe(function(){return!iC("a","y").sticky}),NI={BROKEN_CARET:c6||xe(function(){var t=iC("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),MISSED_STICKY:ont,UNSUPPORTED_Y:c6},xl=Object.keys||function(t){return BI(t,Fv)},int=ao?Object.defineProperties:function(t,e){ur(t);for(var n,r=wc(e),o=xl(e),i=o.length,a=0;i>a;)Ec.f(t,n=o[a++],r[n]);return t},ant=th("document","documentElement"),II=AI("IE_PROTO"),Yb=function(){},LI=function(t){return"<script>"+t+"<\/script>"},LO=function(t){t.write(LI("")),t.close();var e=t.parentWindow.Object;return t=null,e},dg=function(){try{d0=new ActiveXObject("htmlfile")}catch{}var t,e;dg=typeof document<"u"?document.domain&&d0?LO(d0):((e=XD("iframe")).style.display="none",ant.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(LI("document.F=Object")),t.close(),t.F):LO(d0);for(var n=Fv.length;n--;)delete dg.prototype[Fv[n]];return dg()};QD[II]=!0;var RO,Xb,RI=Object.create||function(t,e){var n;return t!==null?(Yb.prototype=ur(t),n=new Yb,Yb.prototype=null,n[II]=t):n=dg(),e===void 0?n:int(n,e)},unt=xt.RegExp,snt=xe(function(){var t=unt(".","s");return!(t.dotAll&&t.exec(`
  79. `)&&t.flags==="s")}),lnt=xt.RegExp,cnt=xe(function(){var t=lnt("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),fnt=l6.get,dnt=KD("native-string-replace",String.prototype.replace),Pv=RegExp.prototype.exec,f6=Pv,pnt=mt("".charAt),hnt=mt("".indexOf),gnt=mt("".replace),Zb=mt("".slice),Jb=(Xb=/b*/g,Pe(Pv,RO=/a/,"a"),Pe(Pv,Xb,"a"),RO.lastIndex!==0||Xb.lastIndex!==0),MO=NI.BROKEN_CARET,Qb=/()??/.exec("")[1]!==void 0;(Jb||Qb||MO||snt||cnt)&&(f6=function(t){var e,n,r,o,i,a,u,s=this,l=fnt(s),c=Ce(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=Pe(f6,f,c),s.lastIndex=f.lastIndex,e;var p=l.groups,d=MO&&s.sticky,m=Pe(jI,s),g=s.source,v=0,y=c;if(d&&(m=gnt(m,"y",""),hnt(m,"g")===-1&&(m+="g"),y=Zb(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&pnt(c,s.lastIndex-1)!==`
  80. `)&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",m)),Qb&&(n=new RegExp("^"+g+"$(?!\\s)",m)),Jb&&(r=s.lastIndex),o=Pe(Pv,d?n:s,y),d?o?(o.input=Zb(o.input,v),o[0]=Zb(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:Jb&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),Qb&&o&&o.length>1&&Pe(dnt,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=RI(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var lp=f6;rn({target:"RegExp",proto:!0,forced:/./.exec!==lp},{exec:lp});var aC=Function.prototype,zO=aC.apply,vnt=aC.bind,$O=aC.call,MI=typeof Reflect=="object"&&Reflect.apply||(vnt?$O.bind(zO):function(){return $O.apply(zO,arguments)}),mnt=vr("species"),t2=RegExp.prototype,uC=function(t,e,n,r){var o=vr(t),i=!xe(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!xe(function(){var l=!1,c=/a/;return t==="split"&&((c={}).constructor={},c.constructor[mnt]=function(){return c},c.flags="",c[o]=/./[o]),c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=mt(/./[o]),s=e(o,""[t],function(l,c,f,p,d){var m=mt(l),g=c.exec;return g===lp||g===t2.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:m(f,c,p)}:{done:!1}});up(String.prototype,t,s[0]),up(t2,o,s[1])}r&&tc(t2[o],"sham",!0)},ynt=mt("".charAt),HO=mt("".charCodeAt),bnt=mt("".slice),wnt=function(t){return function(e,n){var r,o,i=Ce(Mr(e)),a=Dc(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=HO(i,a))<55296||r>56319||a+1===u||(o=HO(i,a+1))<56320||o>57343?t?ynt(i,a):r:t?bnt(i,a,a+2):o-56320+(r-55296<<10)+65536}},Ent=wnt(!0),sC=function(t,e,n){return e+(n?Ent(t,e).length:1)},Dnt=Math.floor,e2=mt("".charAt),Cnt=mt("".replace),n2=mt("".slice),Snt=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,xnt=/\$([$&'`]|\d{1,2})/g,Ant=function(t,e,n,r,o,i){var a=n+t.length,u=r.length,s=xnt;return o!==void 0&&(o=eh(o),s=Snt),Cnt(i,s,function(l,c){var f;switch(e2(c,0)){case"$":return"$";case"&":return t;case"`":return n2(e,0,n);case"'":return n2(e,a);case"<":f=o[n2(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>u){var d=Dnt(p/10);return d===0?l:d<=u?r[d-1]===void 0?e2(c,1):r[d-1]+e2(c,1):l}f=r[p-1]}return f===void 0?"":f})},Ont=xt.TypeError,cp=function(t,e){var n=t.exec;if(mn(n)){var r=Pe(n,t,e);return r!==null&&ur(r),r}if(ha(t)==="RegExp")return Pe(lp,t,e);throw Ont("RegExp#exec called on incompatible receiver")},d6=vr("replace"),knt=Math.max,Bnt=Math.min,_nt=mt([].concat),r2=mt([].push),VO=mt("".indexOf),UO=mt("".slice),Fnt="a".replace(/./,"$0")==="$0",WO=!!/./[d6]&&/./[d6]("a","$0")==="";uC("replace",function(t,e,n){var r=WO?"$":"$0";return[function(o,i){var a=Mr(this),u=o==null?void 0:gm(o,d6);return u?Pe(u,o,a,i):Pe(e,Ce(a),o,i)},function(o,i){var a=ur(this),u=Ce(o);if(typeof i=="string"&&VO(i,r)===-1&&VO(i,"$<")===-1){var s=n(e,a,u,i);if(s.done)return s.value}var l=mn(i);l||(i=Ce(i));var c=a.global;if(c){var f=a.unicode;a.lastIndex=0}for(var p=[];;){var d=cp(a,u);if(d===null||(r2(p,d),!c))break;Ce(d[0])===""&&(a.lastIndex=sC(u,nh(a.lastIndex),f))}for(var m,g="",v=0,y=0;y<p.length;y++){for(var h=Ce((d=p[y])[0]),b=knt(Bnt(Dc(d.index),u.length),0),w=[],E=1;E<d.length;E++)r2(w,(m=d[E])===void 0?m:String(m));var S=d.groups;if(l){var C=_nt([h],w,b,u);S!==void 0&&r2(C,S);var O=Ce(MI(i,void 0,C))}else O=Ant(h,u,b,w,S,i);b>=v&&(g+=UO(u,v,b)+O,v=b+h.length)}return g+UO(u,v)}]},!!xe(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$<a>")!=="7"})||!Fnt||WO);var p6=vr("unscopables"),h6=Array.prototype;h6[p6]==null&&Ec.f(h6,p6,{configurable:!0,value:RI(null)});var zI=function(t){h6[p6][t]=!0},Tnt=ym.find,GO=!0;"find"in[]&&Array(1).find(function(){GO=!1}),rn({target:"Array",proto:!0,forced:GO},{find:function(t){return Tnt(this,t,arguments.length>1?arguments[1]:void 0)}}),zI("find");var Pnt=vr("match"),$I=function(t){var e;return kr(t)&&((e=t[Pnt])!==void 0?!!e:ha(t)=="RegExp")},jnt=xt.TypeError,Nnt=vr("species"),HI=function(t,e,n){var r=YD(e);r in t?Ec.f(t,r,WD(0,n)):t[r]=n},Int=xt.Array,Lnt=Math.max,qO=function(t,e,n){for(var r=mm(t),o=sp(e,r),i=sp(n===void 0?r:n,r),a=Int(Lnt(i-o,0)),u=0;o<i;o++,u++)HI(a,u,t[o]);return a.length=u,a},Vs=NI.UNSUPPORTED_Y,Rnt=Math.min,VI=[].push,Mnt=mt(/./.exec),Us=mt(VI),mf=mt("".slice);uC("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=Ce(Mr(this)),u=i===void 0?4294967295:i>>>0;if(u===0)return[];if(o===void 0)return[a];if(!$I(o))return Pe(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,m=new RegExp(o.source,p+"g");(s=Pe(lp,m,a))&&!((l=m.lastIndex)>d&&(Us(f,mf(a,d,s.index)),s.length>1&&s.index<a.length&&MI(VI,f,qO(s,1)),c=s[0].length,d=l,f.length>=u));)m.lastIndex===s.index&&m.lastIndex++;return d===a.length?!c&&Mnt(m,"")||Us(f,""):Us(f,mf(a,d)),f.length>u?qO(f,0,u):f}:"0".split(void 0,0).length?function(o,i){return o===void 0&&i===0?[]:Pe(e,this,o,i)}:e,[function(o,i){var a=Mr(this),u=o==null?void 0:gm(o,t);return u?Pe(u,o,a,i):Pe(r,Ce(a),o,i)},function(o,i){var a=ur(this),u=Ce(o),s=n(r,a,u,i,r!==e);if(s.done)return s.value;var l=function(w,E){var S,C=ur(w).constructor;return C===void 0||(S=ur(C)[Nnt])==null?E:function(O){if(rC(O))return O;throw jnt(DI(O)+" is not a constructor")}(S)}(a,RegExp),c=a.unicode,f=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Vs?"g":"y"),p=new l(Vs?"^(?:"+a.source+")":a,f),d=i===void 0?4294967295:i>>>0;if(d===0)return[];if(u.length===0)return cp(p,u)===null?[u]:[];for(var m=0,g=0,v=[];g<u.length;){p.lastIndex=Vs?0:g;var y,h=cp(p,Vs?mf(u,g):u);if(h===null||(y=Rnt(nh(p.lastIndex+(Vs?g:0)),u.length))===m)g=sC(u,g,c);else{if(Us(v,mf(u,m,g)),v.length===d)return v;for(var b=1;b<=h.length-1;b++)if(Us(v,h[b]),v.length===d)return v;g=m=y}}return Us(v,mf(u,m)),v}]},!!xe(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"}),Vs);var g6=`
  81. \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,KO=mt("".replace),jv="["+g6+"]",znt=RegExp("^"+jv+jv+"*"),$nt=RegExp(jv+jv+"*$"),o2=function(t){return function(e){var n=Ce(Mr(e));return 1&t&&(n=KO(n,znt,"")),2&t&&(n=KO(n,$nt,"")),n}},Hnt={start:o2(1),end:o2(2),trim:o2(3)},Vnt=vm.PROPER,Unt=Hnt.trim;function lC(t){return _("<div>"+t+"</div>").children().filter(function(e){return e.tagName!=="BR"}).length===0}function Cc(t){return t.length===0?"":t[0].outerHTML}function Sc(t){return t.length?t[0].tagName.toLowerCase():""}function ro(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}rn({target:"String",proto:!0,forced:xe(function(){return!!g6.trim()||"\u200B\x85\u180E".trim()!=="\u200B\x85\u180E"||Vnt&&g6.trim.name!=="trim"})},{trim:function(){return Unt(this)}}),rn({global:!0},{globalThis:xt}),iv&&(_.fn.css=iv),Ir&&(_.fn.append=Ir),NA&&(_.fn.prepend=NA),Ll&&(_.fn.addClass=Ll),Rl&&(_.fn.removeClass=Rl),Ml&&(_.fn.hasClass=Ml),jo&&(_.fn.on=jo),FA&&(_.fn.off=FA),_a&&(_.fn.focus=_a),Nr&&(_.fn.attr=Nr),ev&&(_.fn.removeAttr=ev),$l&&(_.fn.hide=$l),ov&&(_.fn.show=ov),sv&&(_.fn.parents=sv),zl&&(_.fn.dataset=zl),Po&&(_.fn.val=Po),uv&&(_.fn.text=uv),Ba&&(_.fn.html=Ba),Ul&&(_.fn.children=Ul),Wl&&(_.fn.remove=Wl),Vl&&(_.fn.find=Vl),nv&&(_.fn.width=nv),rv&&(_.fn.height=rv),PA&&(_.fn.filter=PA),Gl&&(_.fn.empty=Gl);var Wnt={selector:"p:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=_(t);return(e=e.filter(function(o){return!!it.isText(o)||!!n.isInline(o)})).length===0&&(e=[{text:r.text().replace(/\s+/gm," ")}]),{type:"paragraph",children:e}}},v6=function(t,e){return v6=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])},v6(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 Ee(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}v6(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}var Pa=function(){return Pa=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},Pa.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 Wa(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 UI(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 Xt(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 YO(t){var e=Xt(D.nodes(t,{match:function(i){return t.children[0]===i},mode:"highest"}),1)[0];if(e==null)return!1;var n=e[0];if(!ct.isElement(n)||n.type==="paragraph"||tt.string(n)!=="")return!1;var r=n.children,o=r===void 0?[]:r;return!!it.isText(o[0])&&(N.setNodes(t,{type:"paragraph"}),!0)}var Gnt={renderElems:[Ytt],elemsToHtml:[{type:"paragraph",elemToHtml:function(t,e){return e===""?"<p><br></p>":"<p>"+e+"</p>"}}],parseElemsHtml:[Wnt],editorPlugin:function(t){var e=t.deleteBackward,n=t.deleteForward;t.insertText,t.insertBreak;var r=t;return r.deleteBackward=function(o){YO(r)||e(o)},r.deleteForward=function(o){YO(r)||n(o)},r}},qnt=/"/g,Knt=mt("".replace),ud=function(t,e,n,r){var o=Ce(Mr(t)),i="<"+e;return n!==""&&(i+=" "+n+'="'+Knt(Ce(r),qnt,"&quot;")+'"'),i+">"+o+"</"+e+">"},sd=function(t){return xe(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})};function i2(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 iu(t,e){return t.length!==0&&(!!t[0].matches(e)||t.find(e).length>0)}rn({target:"String",proto:!0,forced:sd("bold")},{bold:function(){return ud(this,"b","","")}}),rn({target:"String",proto:!0,forced:sd("italics")},{italics:function(){return ud(this,"i","","")}}),rn({target:"String",proto:!0,forced:sd("sub")},{sub:function(){return ud(this,"sub","","")}}),rn({target:"String",proto:!0,forced:sd("sup")},{sup:function(){return ud(this,"sup","","")}});var XO={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},a2=XD("span").classList,ZO=a2&&a2.constructor&&a2.constructor.prototype,Ynt=ZO===Object.prototype?void 0:ZO,WI=function(t,e){var n=[][t];return!!n&&xe(function(){n.call(null,e||function(){throw 1},1)})},Xnt=ym.forEach,u2=WI("forEach")?[].forEach:function(t){return Xnt(this,t,arguments.length>1?arguments[1]:void 0)},GI=function(t){if(t&&t.forEach!==u2)try{tc(t,"forEach",u2)}catch{t.forEach=u2}};for(var s2 in XO)XO[s2]&&GI(xt[s2]&&xt[s2].prototype);function qI(t,e){return t.selection==null||!!Xt(D.nodes(t,{match:function(n){return A.getNodeType(n)==="pre"||!!D.isVoid(t,n)},universal:!0}),1)[0]}function Znt(t,e){Object.keys(e).forEach(function(n){n!=="text"&&D.removeMark(t,n)})}GI(Ynt),rn({target:"Object",stat:!0,forced:xe(function(){xl(1)})},{keys:function(t){return xl(eh(t))}});var Es=function(){function t(){this.marksNeedToRemove=[],this.tag="button"}return t.prototype.getValue=function(e){var n=this.mark,r=D.marks(e);return r?r[n]:!!Xt(D.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 qI(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}(),Jnt='<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>',Qnt='<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>',trt='<svg viewBox="0 0 1024 1024"><path d="M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z"></path></svg>',ert='<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>',nrt='<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>',KI='<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>',YI='<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>',rrt='<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>',ort='<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>',irt='<svg viewBox="0 0 1024 1024"><path d="M64 512h384v128h-128V1024h-128V640h-128z m896-256H708.2496v768h-136.4992V256H320V128h640z"></path></svg>',art='<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>',urt='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m256-512v384l-256-192z"></path></svg>',srt='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',lrt='<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>',crt='<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>',frt='<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>',drt='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>',prt='<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>',hrt='<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>',grt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.mark="bold",n.title=et("textStyle.bold"),n.iconSvg=Jnt,n.hotkey="mod+b",n}return Ee(e,t),e}(Es),vrt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.mark="code",n.title=et("textStyle.code"),n.iconSvg=nrt,n.hotkey="mod+e",n}return Ee(e,t),e}(Es),mrt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.mark="italic",n.title=et("textStyle.italic"),n.iconSvg=trt,n.hotkey="mod+i",n}return Ee(e,t),e}(Es),yrt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.mark="through",n.title=et("textStyle.through"),n.iconSvg=ert,n.hotkey="mod+shift+x",n}return Ee(e,t),e}(Es),brt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.mark="underline",n.title=et("textStyle.underline"),n.iconSvg=Qnt,n.hotkey="mod+u",n}return Ee(e,t),e}(Es),wrt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.mark="sub",n.marksNeedToRemove=["sup"],n.title=et("textStyle.sub"),n.iconSvg=hrt,n.hotkey="",n}return Ee(e,t),e}(Es),Ert=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.mark="sup",n.marksNeedToRemove=["sub"],n.title=et("textStyle.sup"),n.iconSvg=prt,n.hotkey="",n}return Ee(e,t),e}(Es),Drt=function(){function t(){this.title=et("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 qI(e)},t.prototype.exec=function(e,n){var r,o,i=D.nodes(e,{match:function(s){return it.isText(s)},universal:!0});try{for(var a=UI(i),u=a.next();!u.done;u=a.next())Znt(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}(),Crt={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=bt("strong",null,c)),a&&(c=bt("code",null,c)),o&&(c=bt("em",null,c)),i&&(c=bt("u",null,c)),u&&(c=bt("s",null,c)),s&&(c=bt("sub",null,c)),l&&(c=bt("sup",null,c)),c},menus:[{key:"bold",factory:function(){return new grt}},{key:"underline",factory:function(){return new brt}},{key:"italic",factory:function(){return new mrt}},{key:"through",factory:function(){return new yrt}},{key:"code",factory:function(){return new vrt}},{key:"sub",factory:function(){return new wrt}},{key:"sup",factory:function(){return new Ert}},{key:"clearStyle",factory:function(){return new Drt}}],styleToHtml:function(t,e){if(!it.isText(t))return e;if(lC(e))return i2(t,e);var n=_(e);if(Sc(n)==="br")return i2(t,"<br>");var r=n.html();return r=i2(t,r),n.html(r),Cc(n)},parseStyleHtml:function(t,e,n){var r=_(t);if(!it.isText(e))return e;var o=e;return iu(r,"b,strong")&&(o.bold=!0),iu(r,"i,em")&&(o.italic=!0),iu(r,"u")&&(o.underline=!0),iu(r,"s,strike")&&(o.through=!0),iu(r,"sub")&&(o.sub=!0),iu(r,"sup")&&(o.sup=!0),iu(r,"code")&&(o.code=!0),o}};function oh(t){return function(e,n,r){return bt("h"+t,null,n)}}var Srt={type:"header1",renderElem:oh(1)},xrt={type:"header2",renderElem:oh(2)},Art={type:"header3",renderElem:oh(3)},Ort={type:"header4",renderElem:oh(4)},krt={type:"header5",renderElem:oh(5)},Brt=vm.PROPER,m6=RegExp.prototype,XI=m6.toString,_rt=mt(jI),Frt=xe(function(){return XI.call({source:"a",flags:"b"})!="/a/b"}),Trt=Brt&&XI.name!="toString";(Frt||Trt)&&up(RegExp.prototype,"toString",function(){var t=ur(this),e=Ce(t.source),n=t.flags;return"/"+e+"/"+Ce(n===void 0&&EI(m6,t)&&!("flags"in m6)?_rt(t):n)},{unsafe:!0});var l2,Prt=xt.TypeError,ZI=function(t){if($I(t))throw Prt("The method doesn't accept regular expressions");return t},jrt=vr("match"),JI=function(t){var e=/./;try{"/./"[t](e)}catch{try{return e[jrt]=!1,"/./"[t](e)}catch{}}return!1},Nrt=ZD.f,JO=mt("".startsWith),Irt=mt("".slice),Lrt=Math.min,QO=JI("startsWith");function QI(t){var e=Xt(D.nodes(t,{match:function(o){return A.getNodeType(o).startsWith("header")},universal:!0}),1),n=e[0];if(n==null)return"paragraph";var r=Xt(n,1)[0];return A.getNodeType(r)}function tL(t){return t.selection==null||!Xt(D.nodes(t,{match:function(e){var n=A.getNodeType(e);return n==="paragraph"||!!n.startsWith("header")},universal:!0,mode:"highest"}),1)[0]}function eL(t,e){e&&N.setNodes(t,{type:e})}rn({target:"String",proto:!0,forced:!(!QO&&(l2=Nrt(String.prototype,"startsWith"),l2&&!l2.writable)||QO)},{startsWith:function(t){var e=Ce(Mr(this));ZI(t);var n=nh(Lrt(arguments.length>1?arguments[1]:void 0,e.length)),r=Ce(t);return JO?JO(e,r,n):Irt(e,n,n+r.length)===r}});var Rrt=function(){function t(){this.title=et("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:et("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 QI(e)},t.prototype.isDisabled=function(e){return tL(e)},t.prototype.exec=function(e,n){eL(e,n.toString())},t}(),ih=function(){function t(){this.tag="button"}return t.prototype.getValue=function(e){return QI(e)},t.prototype.isActive=function(e){return this.getValue(e)===this.type},t.prototype.isDisabled=function(e){return tL(e)},t.prototype.exec=function(e,n){var r=this.type;eL(e,n===r?"paragraph":r)},t}(),Mrt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title="H1",n.type="header1",n}return Ee(e,t),e}(ih),zrt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title="H2",n.type="header2",n}return Ee(e,t),e}(ih),$rt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title="H3",n.type="header3",n}return Ee(e,t),e}(ih),Hrt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title="H4",n.type="header4",n}return Ee(e,t),e}(ih),Vrt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title="H5",n.type="header5",n}return Ee(e,t),e}(ih),Urt={key:"headerSelect",factory:function(){return new Rrt}},Wrt={key:"header1",factory:function(){return new Mrt}},Grt={key:"header2",factory:function(){return new zrt}},qrt={key:"header3",factory:function(){return new $rt}},Krt={key:"header4",factory:function(){return new Hrt}},Yrt={key:"header5",factory:function(){return new Vrt}};function yf(t){return function(e,n){return"<h"+t+">"+n+"</h"+t+">"}}function bf(t){return function(e,n,r){var o=_(e);return(n=n.filter(function(i){return!!it.isText(i)||!!r.isInline(i)})).length===0&&(n=[{text:o.text().replace(/\s+/gm," ")}]),{type:"header"+t,children:n}}}var Xrt={renderElems:[Srt,xrt,Art,Ort,krt],elemsToHtml:[{type:"header1",elemToHtml:yf(1)},{type:"header2",elemToHtml:yf(2)},{type:"header3",elemToHtml:yf(3)},{type:"header4",elemToHtml:yf(4)},{type:"header5",elemToHtml:yf(5)}],parseElemsHtml:[{selector:"h1:not([data-w-e-type])",parseElemHtml:bf(1)},{selector:"h2:not([data-w-e-type])",parseElemHtml:bf(2)},{selector:"h3:not([data-w-e-type])",parseElemHtml:bf(3)},{selector:"h4:not([data-w-e-type])",parseElemHtml:bf(4)},{selector:"h5:not([data-w-e-type])",parseElemHtml:bf(5)}],menus:[Urt,Wrt,Grt,qrt,Krt,Yrt],editorPlugin:function(t){var e=t.insertBreak;t.insertNode;var n=t;return n.insertBreak=function(){var r=Xt(D.nodes(n,{match:function(o){return A.getNodeType(o).startsWith("header")},universal:!0}),1)[0];r&&A.isSelectionAtLineEnd(t,r[1])?N.insertNodes(n,{type:"paragraph",children:[{text:""}]},{mode:"highest"}):e()},n}},Ws=Object.assign,tk=Object.defineProperty,Zrt=mt([].concat),ek=!Ws||xe(function(){if(ao&&Ws({b:1},Ws(tk({},"a",{enumerable:!0,get:function(){tk(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}),Ws({},t)[n]!=7||xl(Ws({},e)).join("")!=r})?function(t,e){for(var n=eh(t),r=arguments.length,o=1,i=_I.f,a=bI.f;r>o;)for(var u,s=hm(arguments[o++]),l=i?Zrt(xl(s),i(s)):xl(s),c=l.length,f=0;c>f;)u=l[f++],ao&&!Pe(a,s,u)||(n[u]=s[u]);return n}:Ws;function us(t,e){t.data==null&&(t.data={});var n=t.data;n.style==null&&(n.style={}),Object.assign(n.style,e)}rn({target:"Object",stat:!0,forced:Object.assign!==ek},{assign:ek});var Jrt={selector:"font",preParseHtml:function(t){var e=_(t);if(Sc(e)!=="font")return t;var n=e.attr("color")||"";return n&&(e.removeAttr("color"),e.css("color",n)),e[0]}},nL=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=D.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||!!Xt(D.nodes(e,{match:function(n){return A.getNodeType(n)==="pre"||!!D.isVoid(e,n)},universal:!0}),1)[0]},t.prototype.getPanelContentElem=function(e){var n=this.mark;if(this.$content==null){var r=_('<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=_(c).attr("data-value");f==="0"?D.removeMark(e,n):D.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=_('<div class="color-block" data-value="'+l+'"></div>');c.css("background-color",l);var f=_('<li data-value="'+l+'"></li>');i===l&&f.addClass("active"),f.append(c),o.append(f)});var u="";n==="color"&&(u=et("color.default")),n==="bgColor"&&(u=et("color.clear"));var s=_(`
  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}(),Qrt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=et("color.color"),n.iconSvg=rrt,n.mark="color",n}return Ee(e,t),e}(nL),tot=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=et("color.bgColor"),n.iconSvg=ort,n.mark="bgColor",n}return Ee(e,t),e}(nL),nk=["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)"],eot={renderStyle:function(t,e){var n=t,r=n.color,o=n.bgColor,i=e;return r&&us(i,{color:r}),o&&us(i,{backgroundColor:o}),i},styleToHtml:function(t,e){if(!it.isText(t))return e;var n,r=t,o=r.color,i=r.bgColor;return o||i?((lC(e)||Sc(n=_(e))!=="span")&&(n=_("<span>"+e+"</span>")),o&&n.css("color",o),i&&n.css("background-color",i),Cc(n)):e},preParseHtml:[Jrt],parseStyleHtml:function(t,e,n){var r=_(t);if(!it.isText(e))return e;var o=e,i=ro(r,"color");i&&(o.color=i);var a=ro(r,"background-color");return a||(a=ro(r,"background")),a&&(o.bgColor=a),o},menus:[{key:"color",factory:function(){return new Qrt},config:{colors:nk}},{key:"bgColor",factory:function(){return new tot},config:{colors:nk}}]},not=/^(?:\w+:)?\/\/(\S+)$/,rot=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,oot=/^[^\s\.]+\.\S{2,}$/,iot=kI.includes;function bm(t){return t===void 0&&(t="r"),t+"-"+Sj()}function cC(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;")}function rL(t,e,n,r){return Ua(this,void 0,void 0,function(){var o,i;return Wa(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 oL(t,e,n){return Ua(this,void 0,void 0,function(){var r;return Wa(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 fC(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 c2(t,e){return{type:"link",url:cC(t),children:e?[{text:e}]:[]}}function iL(t,e,n){return Ua(this,void 0,void 0,function(){var r,o,i;return Wa(this,function(a){switch(a.label){case 0:return n?(e||(e=n),t.restoreSelection(),fC(t)?[2]:[4,rL("insertLink",t,e,n)]):[2];case 1:return a.sent()?[4,oL("insertLink",t,n)]:[2];case 2:return r=a.sent(),(o=t.selection)==null||(R.isCollapsed(o)?(t.insertText(" "),i=c2(r,e),N.insertNodes(t,i),t.insertFragment([{text:" "}])):D.string(t,o)!==e?(t.deleteFragment(),i=c2(r,e),N.insertNodes(t,i)):(i=c2(r),N.wrapNodes(t,i,{split:!0}),N.collapse(t,{edge:"end"}))),[2]}})})}rn({target:"Array",proto:!0},{includes:function(t){return iot(this,t,arguments.length>1?arguments[1]:void 0)}}),zI("includes");var aot={type:"link",renderElem:function(t,e,n){var r=t,o=r.url,i=r.target;return bt("a",{href:o,target:i===void 0?"_blank":i},e)}},uot={selector:"a:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=_(t);return(e=e.filter(function(o){return!!it.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 f2(){return bm("w-e-insert-link")}var sot=function(){function t(){this.title=et("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=f2(),this.urlInputId=f2(),this.buttonId=f2()}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 fC(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=Xt(ar(et("link.text"),o),2),s=u[0],l=_(u[1]),c=Xt(ar(et("link.url"),i),2),f=c[0],p=_(c[1]),d=Xt(bc(a,et("common.ok")),1)[0];if(this.$content==null){var m=_("<div></div>");m.on("click","#"+a,function(y){y.preventDefault();var h=m.find("#"+o).val(),b=m.find("#"+i).val();iL(e,h,b),e.hidePanelOrModal()}),this.$content=m}var g=this.$content;if(g.empty(),g.append(s),g.append(f),g.append(d),n==null||R.isCollapsed(n))l.val("");else{var v=D.string(e,n);l.val(v)}return p.val(""),setTimeout(function(){l.focus()}),g[0]},t}();function rk(){return bm("w-e-update-link")}var lot=function(){function t(){this.title=et("link.edit"),this.iconSvg=KI,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.urlInputId=rk(),this.buttonId=rk()}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=Xt(ar(et("link.url"),n),2),i=o[0],a=_(o[1]),u=Xt(bc(r,et("common.ok")),1)[0];if(this.$content==null){var s=_("<div></div>");s.on("click","button",function(f){f.preventDefault(),e.restoreSelection();var p=A.getSelectedNodeByType(e,"link"),d=p?tt.string(p):"",m=s.find("#"+n).val();(function(g,v,y){Ua(this,void 0,void 0,function(){var h,b;return Wa(this,function(w){switch(w.label){case 0:return y?[4,rL("editLink",g,v,y)]:[2];case 1:return w.sent()?[4,oL("editLink",g,y)]:[2];case 2:return h=w.sent(),b={url:cC(h)},N.setNodes(g,b,{match:function(E){return A.checkNodeType(E,"link")}}),[2]}})})})(e,d,m),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}(),cot=function(){function t(){this.title=et("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)||N.unwrapNodes(e,{match:function(r){return A.checkNodeType(r,"link")}})},t}(),fot=function(){function t(){this.title=et("link.view"),this.iconSvg=YI,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}(),ok={checkLink:function(t,e){return!0},parseLinkUrl:function(t){return t}},dot={renderElems:[aot],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:[uot],menus:[{key:"insertLink",factory:function(){return new sot},config:ok},{key:"editLink",factory:function(){return new lot},config:ok},{key:"unLink",factory:function(){return new cot}},{key:"viewLink",factory:function(){return new fot}}],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(not);if(!c)return!1;var f=c[1];return!(!f||!rot.test(f)&&!oot.test(f))}(a)){if(!fC(o)){var u=o.selection;if(u!=null){var s=D.string(o,u);iL(o,s,a)}}}else n(i)},o.normalizeNode=function(i){var a=Xt(i,2),u=a[0],s=a[1];return A.getNodeType(u)!=="link"?r([u,s]):tt.string(u)===""?N.removeNodes(o,{at:s}):r([u,s])},o}},pot=mt(1 .valueOf),hot=xt.RangeError,got=xt.RangeError,aL=xt.String,uL=Math.floor,y6=mt(function(t){var e=Ce(Mr(this)),n="",r=Dc(t);if(r<0||r==1/0)throw hot("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n}),ik=mt("".slice),wf=mt(1 .toFixed),ml=function(t,e,n){return e===0?n:e%2==1?ml(t,e-1,n*t):ml(t*t,e/2,n)},Gs=function(t,e,n){for(var r=-1,o=n;++r<6;)o+=e*t[r],t[r]=o%1e7,o=uL(o/1e7)},d2=function(t,e){for(var n=6,r=0;--n>=0;)r+=t[n],t[n]=uL(r/e),r=r%e*1e7},ak=function(t){for(var e=6,n="";--e>=0;)if(n!==""||e===0||t[e]!==0){var r=aL(t[e]);n=n===""?r:n+y6("0",7-r.length)+r}return n};function uk(t,e){return"w-e-image-container-"+A.findKey(t,e).id}rn({target:"Number",proto:!0,forced:xe(function(){return wf(8e-5,3)!=="0.000"||wf(.9,0)!=="1"||wf(1.255,2)!=="1.25"||wf(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!xe(function(){wf({})})},{toFixed:function(t){var e,n,r,o,i=pot(this),a=Dc(t),u=[0,0,0,0,0,0],s="",l="0";if(a<0||a>20)throw got("Incorrect fraction digits");if(i!=i)return"NaN";if(i<=-1e21||i>=1e21)return aL(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*ml(2,69,1))-69)<0?i*ml(2,-e,1):i/ml(2,e,1),n*=4503599627370496,(e=52-e)>0){for(Gs(u,0,n),r=a;r>=7;)Gs(u,1e7,0),r-=7;for(Gs(u,ml(10,r,1),0),r=e-1;r>=23;)d2(u,1<<23),r-=23;d2(u,1<<r),Gs(u,1,1),d2(u,2),l=ak(u)}else Gs(u,0,n),Gs(u,1<<-e,0),l=ak(u)+y6("0",a);return a>0?s+((o=l.length)<=a?"0."+y6("0",a-o)+l:ik(l,0,o-a)+"."+ik(l,o-a)):s+l}});var vot={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,m=d===void 0?"":d,g=A.isNodeSelected(n,t),v={};p&&(v.width="100%"),m&&(v.height="100%");var y=bt("img",{style:v,src:o,alt:a,"data-href":s}),h=n.isDisabled();return g&&!h?function(b,w,E,S){var C=_("body"),O=uk(b,w),k=S.width,I=S.height,$=0,M=0,q=0,G=!1,W=null;function K(st){W=function(){var T=_("#"+O);if(T.length===0)throw new Error("Cannot find image container elem");return T}(),$=st;var B=W.find("img");if(B.length===0)throw new Error("Cannot find image elem");M=B.width(),q=B.height(),C.on("mousemove",J),C.on("mouseup",ot);var x=A.getHoverbar(b);x&&x.hideAndClean()}var J=es(function(st){st.preventDefault();var B=st.clientX,x=M+(G?$-B:B-$),T=q*(x/M);W!=null&&(x<=15||T<=15||(W.css("width",x+"px"),W.css("height",T+"px")))},100);function ot(st){if(C.off("mousemove",J),W!=null){var B=W.width().toFixed(2),x=W.height().toFixed(2),T={style:Pa(Pa({},w.style),{width:B+"px",height:x+"px"})};N.setNodes(b,T,{at:A.findPath(b,w)}),C.off("mouseup",ot)}}var ut={};return k&&(ut.width=k),I&&(ut.height=I),bt("div",{id:O,style:ut,className:"w-e-image-container w-e-selected-image-container",on:{mousedown:function(st){var B=_(st.target);B.hasClass("w-e-image-dragger")&&(st.preventDefault(),(B.hasClass("left-top")||B.hasClass("left-bottom"))&&(G=!0),K(st.clientX))}}},E,bt("div",{className:"w-e-image-dragger left-top"}),bt("div",{className:"w-e-image-dragger right-top"}),bt("div",{className:"w-e-image-dragger left-bottom"}),bt("div",{className:"w-e-image-dragger right-bottom"}))}(n,t,y,{width:p,height:m}):function(b,w,E,S){var C=S.width,O=S.height,k={};return C&&(k.width=C),O&&(k.height=O),bt("div",{id:uk(b,w),style:k,className:"w-e-image-container"},E)}(n,t,y,{width:p,height:m})}},mot={selector:"img:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=_(t),o=r.attr("data-href")||"";return o=decodeURIComponent(o),{type:"image",src:r.attr("src")||"",alt:r.attr("alt")||"",href:o,style:{width:ro(r,"width"),height:ro(r,"height")},children:[{text:""}]}}};function sL(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 Wa(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 lL(t,e,n){return Ua(this,void 0,void 0,function(){var r;return Wa(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 Mu(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 Wa(this,function(u){switch(u.label){case 0:return[4,sL("insertImage",t,e,n,r)];case 1:return u.sent()?[4,lL("insertImage",t,e)]:[2];case 2:return o=u.sent(),i={type:"image",src:cC(o),href:r,alt:n,style:{},children:[{text:""}]},t.selection===null&&t.restoreSelection(),A.getSelectedNodeByType(t,"image")&&t.move(1),wm(t)||(N.insertNodes(t,i),(a=t.getMenuConfig("insertImage").onInsertedImage)&&a(i)),[2]}})})}function wm(t){var e=t.selection;return e==null||!R.isCollapsed(e)||!!Xt(D.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"||!!D.isVoid(t,n)},universal:!0}),1)[0]}function p0(){return bm("w-e-insert-image")}var yot=function(){function t(){this.title=et("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=p0(),this.altInputId=p0(),this.hrefInputId=p0(),this.buttonId=p0()}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 wm(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=Xt(ar(et("image.src"),o),2),l=s[0],c=_(s[1]),f=Xt(ar(et("image.desc"),i),2),p=f[0],d=_(f[1]),m=Xt(ar(et("image.link"),a),2),g=m[0],v=_(m[1]),y=Xt(bc(u,et("common.ok")),1)[0];if(this.$content==null){var h=_("<div></div>");h.on("click","#"+u,function(w){w.preventDefault();var E=h.find("#"+o).val().trim(),S=h.find("#"+i).val().trim(),C=h.find("#"+a).val().trim();n.insertImage(e,E,S,C),e.hidePanelOrModal()}),this.$content=h}var b=this.$content;return b.empty(),b.append(l),b.append(p),b.append(g),b.append(y),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)||Mu(e,n,r,o))},t}(),bot=function(){function t(){this.title=et("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)||N.removeNodes(e,{match:function(r){return A.checkNodeType(r,"image")}})},t}();function h0(){return bm("w-e-edit-image")}var wot=function(){function t(){this.title=et("image.edit"),this.iconSvg=KI,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=h0(),this.altInputId=h0(),this.hrefInputId=h0(),this.buttonId=h0()}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||!R.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=Xt(ar(et("image.src"),o),2),c=l[0],f=_(l[1]),p=Xt(ar(et("image.desc"),i),2),d=p[0],m=_(p[1]),g=Xt(ar(et("image.link"),a),2),v=g[0],y=_(g[1]),h=Xt(bc(u,et("common.ok")),1)[0];if(this.$content==null){var b=_("<div></div>");b.on("click","#"+u,function($){$.preventDefault();var M=b.find("#"+o).val(),q=b.find("#"+i).val(),G=b.find("#"+a).val();n.updateImage(e,M,q,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 E=s,S=E.src,C=E.alt,O=C===void 0?"":C,k=E.href,I=k===void 0?"":k;return f.val(S),m.val(O),y.val(I),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,m,g,v;return Wa(this,function(y){switch(y.label){case 0:return[4,sL("editImage",a,u,s,l)];case 1:return y.sent()?[4,lL("editImage",a,u)]:[2];case 2:return f=y.sent(),(p=A.getSelectedNodeByType(a,"image"))==null||(d=p.style,m={src:f,alt:s,href:l,style:Pa(Pa({},d===void 0?{}:d),c)},N.setNodes(a,m,{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}(),Eot=function(){function t(){this.title=et("image.viewLink"),this.iconSvg=YI,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}(),dC=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:Pa(Pa({},i===void 0?{}:i),{width:this.value,height:""})};N.setNodes(e,a,{match:function(u){return A.checkNodeType(u,"image")}})}}},t}(),Dot=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title="30%",n.value="30%",n}return Ee(e,t),e}(dC),Cot=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title="50%",n.value="50%",n}return Ee(e,t),e}(dC),Sot=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title="100%",n.value="100%",n}return Ee(e,t),e}(dC),sk={onInsertedImage:function(t){},onUpdatedImage:function(t){},checkImage:function(t,e,n){return!0},parseImageSrc:function(t){return t}},xot={renderElems:[vot],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,m="";return f&&(m+="width: "+f+";"),d&&(m+="height: "+d+";"),'<img src="'+r+'" alt="'+i+'" data-href="'+u+'" style="'+m+'"/>'}}],parseElemsHtml:[mot],menus:[{key:"insertImage",factory:function(){return new yot},config:sk},{key:"deleteImage",factory:function(){return new bot}},{key:"editImage",factory:function(){return new wot},config:sk},{key:"viewImageLink",factory:function(){return new Eot}},{key:"imageWidth30",factory:function(){return new Dot}},{key:"imageWidth50",factory:function(){return new Cot}},{key:"imageWidth100",factory:function(){return new Sot}}],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}},Aot={type:"todo",renderElem:function(t,e,n){var r=!1;n.isDisabled()&&(r=!0);var o=bt("div",{style:{margin:"5px 0"}},bt("span",{contentEditable:!1,style:{marginRight:"0.5em"}},bt("input",{type:"checkbox",checked:t.checked,disabled:r,on:{change:function(i){var a=A.findPath(n,t),u={checked:i.target.checked};N.setNodes(n,u,{at:a})}}})),bt("span",null,e));return o}},Oot=function(){function t(){this.title=et("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(D.isVoid(e,n)&&D.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);N.setNodes(e,{type:r?"paragraph":"todo"})},t}(),kot={selector:'div[data-w-e-type="todo"]',parseElemHtml:function(t,e,n){var r=_(t);(e=e.filter(function(i){return!!it.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}}},Bot={renderElems:[Aot],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=_(t).find("li"),n=_('<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:[kot],menus:[{key:"todo",factory:function(){return new Oot}}],editorPlugin:function(t){var e=t.deleteBackward,n=t;return n.deleteBackward=function(r){var o=t.selection;if(o&&R.isCollapsed(o)){var i=A.getSelectedNodeByType(t,"todo");if(i&&tt.string(i).length===0)return void N.setNodes(t,{type:"paragraph"},{mode:"highest"})}e(r)},n}},_ot={type:"blockquote",renderElem:function(t,e,n){return bt("blockquote",null,e)}},Fot={selector:"blockquote:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=_(t);return(e=e.filter(function(o){return!!it.isText(o)||!!n.isInline(o)})).length===0&&(e=[{text:r.text().replace(/\s+/gm," ")}]),{type:"blockquote",children:e}}},Tot=function(){function t(){this.title=et("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||!Xt(D.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";N.setNodes(e,{type:r},{mode:"highest"})}},t}(),Pot={key:"blockquote",factory:function(){return new Tot}},jot=mt([].slice),Not=oC("slice"),Iot=vr("species"),p2=xt.Array,Lot=Math.max;rn({target:"Array",proto:!0,forced:!Not},{slice:function(t,e){var n,r,o,i=wc(this),a=mm(i),u=sp(t,a),s=sp(e===void 0?a:e,a);if(Tv(i)&&(n=i.constructor,(rC(n)&&(n===p2||Tv(n.prototype))||kr(n)&&(n=n[Iot])===null)&&(n=void 0),n===p2||n===void 0))return jot(i,u,s);for(r=new(n===void 0?p2:n)(Lot(s-u,0)),o=0;u<s;u++,o++)u in i&&HI(r,o,i[u]);return r.length=o,r}});var Rot={renderElems:[_ot],elemsToHtml:[{type:"blockquote",elemToHtml:function(t,e){return"<blockquote>"+e+"</blockquote>"}}],parseElemsHtml:[Fot],menus:[Pot],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=Xt(D.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=D.end(t,u);if(_t.equals(s,o.focus)){var l=tt.string(a);if(l&&l.slice(-1)===`
  98. `)return t.deleteBackward("character"),void N.insertNodes(r,{type:"paragraph",children:[{text:""}]},{mode:"highest"})}n(`
  99. `)},r}},Mot=function(){function t(){this.title=et("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||!!Xt(D.nodes(e,{match:function(n){return A.getNodeType(n)==="pre"||!!D.isVoid(e,n)},universal:!0}),1)[0]},t.prototype.getPanelContentElem=function(e){if(this.$content==null){var n=_('<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=_(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=_("<li>"+i+"</li>");r.append(a)}),r[0]},t}(),zot={menus:[{key:"emotion",factory:function(){return new Mot},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(" ")}}]},$ot={1:"12px",2:"14px",3:"16px",4:"19px",5:"24px",6:"32px",7:"48px"},Hot={selector:"font",preParseHtml:function(t){var e=_(t);if(Sc(e)!=="font")return t;var n=e.attr("size")||"";n&&(e.removeAttr("size"),e.css("font-size",$ot[n]));var r=e.attr("face")||"";return r&&(e.removeAttr("face"),e.css("font-family",r)),e[0]}},Vot=mt("".indexOf);rn({target:"String",proto:!0,forced:!JI("includes")},{includes:function(t){return!!~Vot(Ce(Mr(this)),Ce(ZI(t)),arguments.length>1?arguments[1]:void 0)}});var Li,pg,g0=function(t){return t&&t.Math==Math&&t},Ft=g0(typeof globalThis=="object"&&globalThis)||g0(typeof window=="object"&&window)||g0(typeof self=="object"&&self)||g0(typeof kv=="object"&&kv)||function(){return this}()||Function("return this")(),pC=Function.prototype,lk=pC.apply,Uot=pC.bind,ck=pC.call,cL=typeof Reflect=="object"&&Reflect.apply||(Uot?ck.bind(lk):function(){return ck.apply(lk,arguments)}),fL=Function.prototype,b6=fL.bind,w6=fL.call,Wot=b6&&b6.bind(w6),je=b6?function(t){return t&&Wot(w6,t)}:function(t){return t&&function(){return w6.apply(t,arguments)}},yn=function(t){return typeof t=="function"},pr=function(t){try{return!!t()}catch{return!0}},Yn=!pr(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Ef=Function.prototype.call,Jr=Ef.bind?Ef.bind(Ef):function(){return Ef.apply(Ef,arguments)},fk={}.propertyIsEnumerable,dk=Object.getOwnPropertyDescriptor,Got=dk&&!fk.call({1:2},1)?function(t){var e=dk(this,t);return!!e&&e.enumerable}:fk,hC={f:Got},ss=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},qot=je({}.toString),Kot=je("".slice),zu=function(t){return Kot(qot(t),8,-1)},h2=Ft.Object,Yot=je("".split),dL=pr(function(){return!h2("z").propertyIsEnumerable(0)})?function(t){return zu(t)=="String"?Yot(t,""):h2(t)}:h2,Xot=Ft.TypeError,gC=function(t){if(t==null)throw Xot("Can't call method on "+t);return t},$o=function(t){return dL(gC(t))},Br=function(t){return typeof t=="object"?t!==null:yn(t)},Sr={},pk=function(t){return yn(t)?t:void 0},ah=function(t,e){return arguments.length<2?pk(Sr[t])||pk(Ft[t]):Sr[t]&&Sr[t][e]||Ft[t]&&Ft[t][e]},pL=je({}.isPrototypeOf),g2=ah("navigator","userAgent")||"",hk=Ft.process,gk=Ft.Deno,vk=hk&&hk.versions||gk&&gk.version,mk=vk&&vk.v8;mk&&(pg=(Li=mk.split("."))[0]>0&&Li[0]<4?1:+(Li[0]+Li[1])),!pg&&g2&&(!(Li=g2.match(/Edge\/(\d+)/))||Li[1]>=74)&&(Li=g2.match(/Chrome\/(\d+)/))&&(pg=+Li[1]);var Nv=pg,wo=!!Object.getOwnPropertySymbols&&!pr(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Nv&&Nv<41}),vC=wo&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Zot=Ft.Object,Al=vC?function(t){return typeof t=="symbol"}:function(t){var e=ah("Symbol");return yn(e)&&pL(e.prototype,Zot(t))},Jot=Ft.String,Qot=Ft.TypeError,hL=function(t){if(yn(t))return t;throw Qot(function(e){try{return Jot(e)}catch{return"Object"}}(t)+" is not a function")},tit=Ft.TypeError,eit=Object.defineProperty,va=Ft["__core-js_shared__"]||function(t,e){try{eit(Ft,t,{value:e,configurable:!0,writable:!0})}catch{Ft[t]=e}return e}("__core-js_shared__",{}),Ds=pm(function(t){(t.exports=function(e,n){return va[e]||(va[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),nit=Ft.Object,uh=function(t){return nit(gC(t))},rit=je({}.hasOwnProperty),Yt=Object.hasOwn||function(t,e){return rit(uh(t),e)},oit=0,iit=Math.random(),ait=je(1 .toString),Iv=function(t){return"Symbol("+(t===void 0?"":t)+")_"+ait(++oit+iit,36)},Df=Ds("wks"),$u=Ft.Symbol,yk=$u&&$u.for,uit=vC?$u:$u&&$u.withoutSetter||Iv,mr=function(t){if(!Yt(Df,t)||!wo&&typeof Df[t]!="string"){var e="Symbol."+t;wo&&Yt($u,t)?Df[t]=$u[t]:Df[t]=vC&&yk?yk(e):uit(e)}return Df[t]},sit=Ft.TypeError,lit=mr("toPrimitive"),xc=function(t){var e=function(n,r){if(!Br(n)||Al(n))return n;var o,i,a=(o=n[lit])==null?void 0:hL(o);if(a){if(r===void 0&&(r="default"),i=Jr(a,n,r),!Br(i)||Al(i))return i;throw sit("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(u,s){var l,c;if(s==="string"&&yn(l=u.toString)&&!Br(c=Jr(l,u))||yn(l=u.valueOf)&&!Br(c=Jr(l,u))||s!=="string"&&yn(l=u.toString)&&!Br(c=Jr(l,u)))return c;throw tit("Can't convert object to primitive value")}(n,r)}(t,"string");return Al(e)?e:e+""},E6=Ft.document,cit=Br(E6)&&Br(E6.createElement),gL=function(t){return cit?E6.createElement(t):{}},vL=!Yn&&!pr(function(){return Object.defineProperty(gL("div"),"a",{get:function(){return 7}}).a!=7}),bk=Object.getOwnPropertyDescriptor,mC={f:Yn?bk:function(t,e){if(t=$o(t),e=xc(e),vL)try{return bk(t,e)}catch{}if(Yt(t,e))return ss(!Jr(hC.f,t,e),t[e])}},fit=/#|\.prototype\./,sh=function(t,e){var n=pit[dit(t)];return n==git||n!=hit&&(yn(e)?pr(e):!!e)},dit=sh.normalize=function(t){return String(t).replace(fit,".").toLowerCase()},pit=sh.data={},hit=sh.NATIVE="N",git=sh.POLYFILL="P",vit=sh,wk=je(je.bind),mL=function(t,e){return hL(t),e===void 0?t:wk?wk(t,e):function(){return t.apply(e,arguments)}},mit=Ft.String,yit=Ft.TypeError,ls=function(t){if(Br(t))return t;throw yit(mit(t)+" is not an object")},bit=Ft.TypeError,Ek=Object.defineProperty,Cs={f:Yn?Ek:function(t,e,n){if(ls(t),e=xc(e),ls(n),vL)try{return Ek(t,e,n)}catch{}if("get"in n||"set"in n)throw bit("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Do=Yn?function(t,e,n){return Cs.f(t,e,ss(1,n))}:function(t,e,n){return t[e]=n,t},wit=mC.f,Eit=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 cL(t,this,arguments)};return e.prototype=t.prototype,e},Xi=function(t,e){var n,r,o,i,a,u,s,l,c=t.target,f=t.global,p=t.stat,d=t.proto,m=f?Ft:p?Ft[c]:(Ft[c]||{}).prototype,g=f?Sr:Sr[c]||Do(Sr,c,{})[c],v=g.prototype;for(o in e)n=!vit(f?o:c+(p?".":"#")+o,t.forced)&&m&&Yt(m,o),a=g[o],n&&(u=t.noTargetGet?(l=wit(m,o))&&l.value:m[o]),i=n&&u?u:e[o],n&&typeof a==typeof i||(s=t.bind&&n?mL(i,Ft):t.wrap&&n?Eit(i):d&&yn(i)?je(i):i,(t.sham||i&&i.sham||a&&a.sham)&&Do(s,"sham",!0),Do(g,o,s),d&&(Yt(Sr,r=c+"Prototype")||Do(Sr,r,{}),Do(Sr[r],o,i),t.real&&v&&!v[o]&&Do(v,o,i)))},Lv=Array.isArray||function(t){return zu(t)=="Array"},Dit=Math.ceil,Cit=Math.floor,yC=function(t){var e=+t;return e!=e||e===0?0:(e>0?Cit:Dit)(e)},Sit=Math.min,Em=function(t){return(e=t.length)>0?Sit(yC(e),9007199254740991):0;var e},D6=function(t,e,n){var r=xc(e);r in t?Cs.f(t,r,ss(0,n)):t[r]=n},yL={};yL[mr("toStringTag")]="z";var bC=String(yL)==="[object z]",xit=mr("toStringTag"),Ait=Ft.Object,Oit=zu(function(){return arguments}())=="Arguments",Dm=bC?zu:function(t){var e,n,r;return t===void 0?"Undefined":t===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(e=Ait(t),xit))=="string"?n:Oit?zu(e):(r=zu(e))=="Object"&&yn(e.callee)?"Arguments":r},kit=je(Function.toString);yn(va.inspectSource)||(va.inspectSource=function(t){return kit(t)});var bL=va.inspectSource,wL=function(){},Bit=[],EL=ah("Reflect","construct"),wC=/^\s*(?:class|function)\b/,_it=je(wC.exec),Fit=!wC.exec(wL),Cf=function(t){if(!yn(t))return!1;try{return EL(wL,Bit,t),!0}catch{return!1}},Tit=!EL||pr(function(){var t;return Cf(Cf.call)||!Cf(Object)||!Cf(function(){t=!0})||t})?function(t){if(!yn(t))return!1;switch(Dm(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Fit||!!_it(wC,bL(t))}:Cf,Pit=mr("species"),Dk=Ft.Array,DL=function(t,e){return new(function(n){var r;return Lv(n)&&(r=n.constructor,(Tit(r)&&(r===Dk||Lv(r.prototype))||Br(r)&&(r=r[Pit])===null)&&(r=void 0)),r===void 0?Dk:r}(t))(e===0?0:e)},jit=mr("species"),CL=mr("isConcatSpreadable"),Ck=Ft.TypeError,Nit=Nv>=51||!pr(function(){var t=[];return t[CL]=!1,t.concat()[0]!==t}),Iit=Nv>=51||!pr(function(){var t=[];return(t.constructor={})[jit]=function(){return{foo:1}},t.concat(Boolean).foo!==1}),Lit=function(t){if(!Br(t))return!1;var e=t[CL];return e!==void 0?!!e:Lv(t)};Xi({target:"Array",proto:!0,forced:!Nit||!Iit},{concat:function(t){var e,n,r,o,i,a=uh(this),u=DL(a,0),s=0;for(e=-1,r=arguments.length;e<r;e++)if(Lit(i=e===-1?a:arguments[e])){if(s+(o=Em(i))>9007199254740991)throw Ck("Maximum allowed index exceeded");for(n=0;n<o;n++,s++)n in i&&D6(u,s,i[n])}else{if(s>=9007199254740991)throw Ck("Maximum allowed index exceeded");D6(u,s++,i)}return u.length=s,u}});var v0,Rit=Ft.String,Rv=function(t){if(Dm(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Rit(t)},Mit=Math.max,zit=Math.min,C6=function(t,e){var n=yC(t);return n<0?Mit(n+e,0):zit(n,e)},Sk=function(t){return function(e,n,r){var o,i=$o(e),a=Em(i),u=C6(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}},$it={includes:Sk(!0),indexOf:Sk(!1)},lh={},Hit=$it.indexOf,xk=je([].push),SL=function(t,e){var n,r=$o(t),o=0,i=[];for(n in r)!Yt(lh,n)&&Yt(r,n)&&xk(i,n);for(;e.length>o;)Yt(r,n=e[o++])&&(~Hit(i,n)||xk(i,n));return i},Mv=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],EC=Object.keys||function(t){return SL(t,Mv)},Vit=Yn?Object.defineProperties:function(t,e){ls(t);for(var n,r=$o(e),o=EC(e),i=o.length,a=0;i>a;)Cs.f(t,n=o[a++],r[n]);return t},Uit=ah("document","documentElement"),Ak=Ds("keys"),Cm=function(t){return Ak[t]||(Ak[t]=Iv(t))},xL=Cm("IE_PROTO"),v2=function(){},AL=function(t){return"<script>"+t+"<\/script>"},Ok=function(t){t.write(AL("")),t.close();var e=t.parentWindow.Object;return t=null,e},hg=function(){try{v0=new ActiveXObject("htmlfile")}catch{}var t,e;hg=typeof document<"u"?document.domain&&v0?Ok(v0):((e=gL("iframe")).style.display="none",Uit.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(AL("document.F=Object")),t.close(),t.F):Ok(v0);for(var n=Mv.length;n--;)delete hg.prototype[Mv[n]];return hg()};lh[xL]=!0;var zv,Cd,$v,cs=Object.create||function(t,e){var n;return t!==null?(v2.prototype=ls(t),n=new v2,v2.prototype=null,n[xL]=t):n=hg(),e===void 0?n:Vit(n,e)},Wit=Mv.concat("length","prototype"),OL={f:Object.getOwnPropertyNames||function(t){return SL(t,Wit)}},Git=Ft.Array,qit=Math.max,kk=OL.f,Bk=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],kL={f:function(t){return Bk&&zu(t)=="Window"?function(e){try{return kk(e)}catch{return function(r,o,i){for(var a=Em(r),u=C6(void 0,a),s=C6(a,a),l=Git(qit(s-u,0)),c=0;u<s;u++,c++)D6(l,c,r[u]);return l.length=c,l}(Bk)}}(t):kk($o(t))}},m2={f:Object.getOwnPropertySymbols},Kit=je([].slice),ec=function(t,e,n,r){r&&r.enumerable?t[e]=n:Do(t,e,n)},DC={f:mr},Yit=Cs.f,Le=function(t){var e=Sr.Symbol||(Sr.Symbol={});Yt(e,t)||Yit(e,t,{value:DC.f(t)})},Xit=bC?{}.toString:function(){return"[object "+Dm(this)+"]"},Zit=Cs.f,_k=mr("toStringTag"),Hv=function(t,e,n,r){if(t){var o=n?t:t.prototype;Yt(o,_k)||Zit(o,_k,{configurable:!0,value:e}),r&&!bC&&Do(o,"toString",Xit)}},Fk=Ft.WeakMap,Jit=yn(Fk)&&/native code/.test(bL(Fk)),S6=Ft.TypeError,Qit=Ft.WeakMap;if(Jit||va.state){var au=va.state||(va.state=new Qit),tat=je(au.get),Tk=je(au.has),eat=je(au.set);zv=function(t,e){if(Tk(au,t))throw new S6("Object already initialized");return e.facade=t,eat(au,t,e),e},Cd=function(t){return tat(au,t)||{}},$v=function(t){return Tk(au,t)}}else{var qs=Cm("state");lh[qs]=!0,zv=function(t,e){if(Yt(t,qs))throw new S6("Object already initialized");return e.facade=t,Do(t,qs,e),e},Cd=function(t){return Yt(t,qs)?t[qs]:{}},$v=function(t){return Yt(t,qs)}}var Ac={set:zv,get:Cd,has:$v,enforce:function(t){return $v(t)?Cd(t):zv(t,{})},getterFor:function(t){return function(e){var n;if(!Br(e)||(n=Cd(e)).type!==t)throw S6("Incompatible receiver, "+t+" required");return n}}},Pk=je([].push),Ri=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,m=uh(s),g=dL(m),v=mL(l,c),y=Em(g),h=0,b=f||DL,w=e?b(s,y):n||a?b(s,0):void 0;y>h;h++)if((u||h in g)&&(d=v(p=g[h],h,m),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:Pk(w,p)}else switch(t){case 4:return!1;case 7:Pk(w,p)}return i?-1:r||o?o:w}},Sm=[Ri(0),Ri(1),Ri(2),Ri(3),Ri(4),Ri(5),Ri(6),Ri(7)][0],Vn=Cm("hidden"),jk=mr("toPrimitive"),nat=Ac.set,Nk=Ac.getterFor("Symbol"),Qr=Object.prototype,Qi=Ft.Symbol,ia=Qi&&Qi.prototype,Ik=Ft.TypeError,y2=Ft.QObject,Sf=ah("JSON","stringify"),BL=mC.f,ta=Cs.f,_L=kL.f,rat=hC.f,FL=je([].push),pi=Ds("symbols"),ch=Ds("op-symbols"),b2=Ds("string-to-symbol-registry"),w2=Ds("symbol-to-string-registry"),oat=Ds("wks"),E2=!y2||!y2.prototype||!y2.prototype.findChild,x6=Yn&&pr(function(){return cs(ta({},"a",{get:function(){return ta(this,"a",{value:7}).a}})).a!=7})?function(t,e,n){var r=BL(Qr,e);r&&delete Qr[e],ta(t,e,n),r&&t!==Qr&&ta(Qr,e,r)}:ta,D2=function(t,e){var n=pi[t]=cs(ia);return nat(n,{type:"Symbol",tag:t,description:e}),Yn||(n.description=e),n},Vv=function(t,e,n){t===Qr&&Vv(ch,e,n),ls(t);var r=xc(e);return ls(n),Yt(pi,r)?(n.enumerable?(Yt(t,Vn)&&t[Vn][r]&&(t[Vn][r]=!1),n=cs(n,{enumerable:ss(0,!1)})):(Yt(t,Vn)||ta(t,Vn,ss(1,{})),t[Vn][r]=!0),x6(t,r,n)):ta(t,r,n)},Lk=function(t,e){ls(t);var n=$o(e),r=EC(n).concat(A6(n));return Sm(r,function(o){Yn&&!Jr(TL,n,o)||Vv(t,o,n[o])}),t},TL=function(t){var e=xc(t),n=Jr(rat,this,e);return!(this===Qr&&Yt(pi,e)&&!Yt(ch,e))&&(!(n||!Yt(this,e)||!Yt(pi,e)||Yt(this,Vn)&&this[Vn][e])||n)},Rk=function(t,e){var n=$o(t),r=xc(e);if(n!==Qr||!Yt(pi,r)||Yt(ch,r)){var o=BL(n,r);return!o||!Yt(pi,r)||Yt(n,Vn)&&n[Vn][r]||(o.enumerable=!0),o}},Mk=function(t){var e=_L($o(t)),n=[];return Sm(e,function(r){Yt(pi,r)||Yt(lh,r)||FL(n,r)}),n},A6=function(t){var e=t===Qr,n=_L(e?ch:$o(t)),r=[];return Sm(n,function(o){!Yt(pi,o)||e&&!Yt(Qr,o)||FL(r,pi[o])}),r};if(wo||(ia=(Qi=function(){if(pL(ia,this))throw Ik("Symbol is not a constructor");var t=arguments.length&&arguments[0]!==void 0?Rv(arguments[0]):void 0,e=Iv(t),n=function(r){this===Qr&&Jr(n,ch,r),Yt(this,Vn)&&Yt(this[Vn],e)&&(this[Vn][e]=!1),x6(this,e,ss(1,r))};return Yn&&E2&&x6(Qr,e,{configurable:!0,set:n}),D2(e,t)}).prototype,ec(ia,"toString",function(){return Nk(this).tag}),ec(Qi,"withoutSetter",function(t){return D2(Iv(t),t)}),hC.f=TL,Cs.f=Vv,mC.f=Rk,OL.f=kL.f=Mk,m2.f=A6,DC.f=function(t){return D2(mr(t),t)},Yn&&ta(ia,"description",{configurable:!0,get:function(){return Nk(this).description}})),Xi({global:!0,wrap:!0,forced:!wo,sham:!wo},{Symbol:Qi}),Sm(EC(oat),function(t){Le(t)}),Xi({target:"Symbol",stat:!0,forced:!wo},{for:function(t){var e=Rv(t);if(Yt(b2,e))return b2[e];var n=Qi(e);return b2[e]=n,w2[n]=e,n},keyFor:function(t){if(!Al(t))throw Ik(t+" is not a symbol");if(Yt(w2,t))return w2[t]},useSetter:function(){E2=!0},useSimple:function(){E2=!1}}),Xi({target:"Object",stat:!0,forced:!wo,sham:!Yn},{create:function(t,e){return e===void 0?cs(t):Lk(cs(t),e)},defineProperty:Vv,defineProperties:Lk,getOwnPropertyDescriptor:Rk}),Xi({target:"Object",stat:!0,forced:!wo},{getOwnPropertyNames:Mk,getOwnPropertySymbols:A6}),Xi({target:"Object",stat:!0,forced:pr(function(){m2.f(1)})},{getOwnPropertySymbols:function(t){return m2.f(uh(t))}}),Sf){var iat=!wo||pr(function(){var t=Qi();return Sf([t])!="[null]"||Sf({a:t})!="{}"||Sf(Object(t))!="{}"});Xi({target:"JSON",stat:!0,forced:iat},{stringify:function(t,e,n){var r=Kit(arguments),o=e;if((Br(e)||t!==void 0)&&!Al(t))return Lv(e)||(e=function(i,a){if(yn(o)&&(a=Jr(o,this,i,a)),!Al(a))return a}),r[1]=e,cL(Sf,null,r)}})}if(!ia[jk]){var aat=ia.valueOf;ec(ia,jk,function(t){return Jr(aat,this)})}Hv(Qi,"Symbol"),lh[Vn]=!0,Le("asyncIterator"),Le("hasInstance"),Le("isConcatSpreadable"),Le("iterator"),Le("match"),Le("matchAll"),Le("replace"),Le("search"),Le("species"),Le("split"),Le("toPrimitive"),Le("toStringTag"),Le("unscopables"),Hv(Ft.JSON,"JSON",!0);var aa,zk,$k,uat=Sr.Symbol,Hu={},PL=Function.prototype,sat=Yn&&Object.getOwnPropertyDescriptor,C2=Yt(PL,"name"),lat={EXISTS:C2,PROPER:C2&&function(){}.name==="something",CONFIGURABLE:C2&&(!Yn||Yn&&sat(PL,"name").configurable)},cat=!pr(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),Hk=Cm("IE_PROTO"),O6=Ft.Object,fat=O6.prototype,k6=cat?O6.getPrototypeOf:function(t){var e=uh(t);if(Yt(e,Hk))return e[Hk];var n=e.constructor;return yn(n)&&e instanceof n?n.prototype:e instanceof O6?fat:null},B6=mr("iterator"),jL=!1;[].keys&&("next"in($k=[].keys())?(zk=k6(k6($k)))!==Object.prototype&&(aa=zk):jL=!0);var dat=aa==null||pr(function(){var t={};return aa[B6].call(t)!==t});aa=dat?{}:cs(aa),yn(aa[B6])||ec(aa,B6,function(){return this});var NL={IteratorPrototype:aa,BUGGY_SAFARI_ITERATORS:jL},pat=NL.IteratorPrototype,hat=function(){return this};Ft.String,Ft.TypeError,Object.setPrototypeOf||"__proto__"in{}&&function(){var t={};try{je(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set)(t,[]),t instanceof Array}catch{}}();var gat=lat.PROPER,m0=NL.BUGGY_SAFARI_ITERATORS,S2=mr("iterator"),vat=function(){return this},IL=function(t,e,n,r,o,i,a){(function(y,h,b,w){var E=h+" Iterator";y.prototype=cs(pat,{next:ss(1,b)}),Hv(y,E,!1,!0),Hu[E]=hat})(n,e,r);var u,s,l,c=function(y){if(y===o&&g)return g;if(!m0&&y in d)return d[y];switch(y){case"keys":case"values":case"entries":return function(){return new n(this,y)}}return function(){return new n(this)}},f=e+" Iterator",p=!1,d=t.prototype,m=d[S2]||d["@@iterator"]||o&&d[o],g=!m0&&m||c(o),v=e=="Array"&&d.entries||m;if(v&&(u=k6(v.call(new t)))!==Object.prototype&&u.next&&(Hv(u,f,!0,!0),Hu[f]=vat),gat&&o=="values"&&m&&m.name!=="values"&&(p=!0,g=function(){return Jr(m,this)}),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(m0||p||!(l in d))&&ec(d,l,s[l]);else Xi({target:e,proto:!0,forced:m0||p},s);return a&&d[S2]!==g&&ec(d,S2,g,{name:o}),Hu[e]=g,s},mat=Ac.set,yat=Ac.getterFor("Array Iterator");IL(Array,"Array",function(t,e){mat(this,{type:"Array Iterator",target:$o(t),index:0,kind:e})},function(){var t=yat(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"),Hu.Arguments=Hu.Array;var Vk=mr("toStringTag");for(var x2 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 Uk=Ft[x2],A2=Uk&&Uk.prototype;A2&&Dm(A2)!==Vk&&Do(A2,Vk,x2),Hu[x2]=Hu.Array}var bat=uat;Le("asyncDispose"),Le("dispose"),Le("matcher"),Le("metadata"),Le("observable"),Le("patternMatch"),Le("replaceAll");var y0=bat,wat=je("".charAt),Wk=je("".charCodeAt),Eat=je("".slice),Dat=function(t){return function(e,n){var r,o,i=Rv(gC(e)),a=yC(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=Wk(i,a))<55296||r>56319||a+1===u||(o=Wk(i,a+1))<56320||o>57343?t?wat(i,a):r:t?Eat(i,a,a+2):o-56320+(r-55296<<10)+65536}},Cat=Dat(!0),Sat=Ac.set,xat=Ac.getterFor("String Iterator");IL(String,"String",function(t){Sat(this,{type:"String Iterator",string:Rv(t),index:0})},function(){var t,e=xat(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=Cat(n,r),e.index+=t.length,{value:t,done:!1})});var Aat=DC.f("iterator"),Oat=pm(function(t){function e(n){return typeof y0=="function"&&typeof Aat=="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 y0=="function"&&r.constructor===y0&&r!==y0.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}),LL=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}(Oat),kat=vm.EXISTS,Bat=Ec.f,RL=Function.prototype,_at=mt(RL.toString),ML=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Fat=mt(ML.exec);ao&&!kat&&Bat(RL,"name",{configurable:!0,get:function(){try{return Fat(ML,_at(this))[1]}catch{return""}}});var zL=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=D.marks(e);return r&&r[n]?r[n]:""},t.prototype.isDisabled=function(e){return e.selection==null||(this.mark,!!Xt(D.nodes(e,{match:function(n){return A.getNodeType(n)==="pre"||!!D.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}(),Tat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=et("fontSize.title"),n.iconSvg=irt,n.mark="fontSize",n}return Ee(e,t),e.prototype.getOptions=function(n){var r=[],o=n.getMenuConfig(this.mark).fontSizeList,i=o===void 0?[]:o;r.push({text:et("fontSize.default"),value:""}),i.forEach(function(u){if(typeof u=="string")r.push({text:u,value:u});else if(LL(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}(zL),Pat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=et("fontFamily.title"),n.iconSvg=art,n.mark="fontFamily",n.selectPanelWidth=150,n}return Ee(e,t),e.prototype.getOptions=function(n){var r=[],o=n.getMenuConfig(this.mark).fontFamilyList,i=o===void 0?[]:o;r.push({text:et("fontFamily.default"),value:""}),i.forEach(function(u){if(typeof u=="string")r.push({text:u,value:u,styleForRenderMenuList:{"font-family":u}});else if(LL(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}(zL),jat={renderStyle:function(t,e){var n=t,r=n.fontSize,o=n.fontFamily,i=e;return r&&us(i,{fontSize:r}),o&&us(i,{fontFamily:o}),i},styleToHtml:function(t,e){if(!it.isText(t))return e;var n,r=t,o=r.fontSize,i=r.fontFamily;return o||i?((lC(e)||Sc(n=_(e))!=="span")&&(n=_("<span>"+e+"</span>")),o&&n.css("font-size",o),i&&n.css("font-family",i),Cc(n)):e},preParseHtml:[Hot],parseStyleHtml:function(t,e,n){var r=_(t);if(!it.isText(e))return e;var o=e,i=n.getMenuConfig("fontSize").fontSizeList,a=i===void 0?[]:i,u=ro(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=ro(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 Tat},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 Pat},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"]}}]},Nat={selector:"p,h1,h2,h3,h4,h5",preParseHtml:function(t){var e=_(t),n=ro(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]}},$L=function(){function t(){this.tag="button"}return t.prototype.getValue=function(e){var n=Xt(D.nodes(e,{match:function(o){return!!o.indent},universal:!0}),1),r=n[0];return r==null?"":Xt(r,1)[0].indent||""},t.prototype.isActive=function(e){return!1},t.prototype.getMatchNode=function(e){var n=Xt(D.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}(),Iat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=et("indent.decrease"),n.iconSvg=urt,n}return Ee(e,t),e.prototype.isDisabled=function(n){var r=this.getMatchNode(n);return r==null||!r.indent},e.prototype.exec=function(n,r){N.setNodes(n,{indent:null},{match:function(o){return ct.isElement(o)}})},e}($L),Lat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=et("indent.increase"),n.iconSvg=srt,n}return Ee(e,t),e.prototype.isDisabled=function(n){var r=this.getMatchNode(n);return r==null||!!r.indent},e.prototype.exec=function(n,r){N.setNodes(n,{indent:"2em"},{match:function(o){return ct.isElement(o)},mode:"highest"})},e}($L),Rat={renderStyle:function(t,e){if(!ct.isElement(t))return e;var n=t.indent,r=e;return n&&us(r,{textIndent:n}),r},styleToHtml:function(t,e){if(!ct.isElement(t))return e;var n=t.indent;if(!n)return e;var r=_(e);return r.css("text-indent",n),Cc(r)},preParseHtml:[Nat],parseStyleHtml:function(t,e,n){var r=_(t);if(!ct.isElement(e))return e;var o=e,i=ro(r,"text-indent"),a=parseInt(i,10);return i&&a>0&&(o.indent=i),o},menus:[{key:"indent",factory:function(){return new Lat}},{key:"delIndent",factory:function(){return new Iat}}]},xm=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=Xt(D.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(D.isVoid(e,n)&&D.isBlock(e,n))return!0;var r=n.type;return!!["pre","code"].includes(r)||void 0})},t}(),Mat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=et("justify.left"),n.iconSvg=lrt,n}return Ee(e,t),e.prototype.exec=function(n,r){N.setNodes(n,{textAlign:"left"},{match:function(o){return ct.isElement(o)&&!n.isInline(o)}})},e}(xm),zat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=et("justify.right"),n.iconSvg=crt,n}return Ee(e,t),e.prototype.exec=function(n,r){N.setNodes(n,{textAlign:"right"},{match:function(o){return ct.isElement(o)&&!n.isInline(o)}})},e}(xm),$at=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=et("justify.center"),n.iconSvg=frt,n}return Ee(e,t),e.prototype.exec=function(n,r){N.setNodes(n,{textAlign:"center"},{match:function(o){return ct.isElement(o)&&!n.isInline(o)}})},e}(xm),Hat=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.title=et("justify.justify"),n.iconSvg=drt,n}return Ee(e,t),e.prototype.exec=function(n,r){N.setNodes(n,{textAlign:"justify"},{match:function(o){return ct.isElement(o)&&!n.isInline(o)}})},e}(xm),Vat={renderStyle:function(t,e){if(!ct.isElement(t))return e;var n=t.textAlign,r=e;return n&&us(r,{textAlign:n}),r},styleToHtml:function(t,e){if(!ct.isElement(t))return e;var n=t.textAlign;if(!n)return e;var r=_(e);return r.css("text-align",n),Cc(r)},parseStyleHtml:function(t,e,n){var r=_(t);if(!ct.isElement(e))return e;var o=e,i=ro(r,"text-align");return i&&(o.textAlign=i),o},menus:[{key:"justifyLeft",factory:function(){return new Mat}},{key:"justifyRight",factory:function(){return new zat}},{key:"justifyCenter",factory:function(){return new $at}},{key:"justifyJustify",factory:function(){return new Hat}}]},Uat=function(){function t(){this.title=et("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:et("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=Xt(D.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?"":ct.isElement(n)&&n.lineHeight||""},t.prototype.isDisabled=function(e){return e.selection==null||this.getMatchNode(e)==null},t.prototype.exec=function(e,n){N.setNodes(e,{lineHeight:n.toString()},{mode:"highest"})},t}(),Wat={renderStyle:function(t,e){if(!ct.isElement(t))return e;var n=t.lineHeight,r=e;return n&&us(r,{lineHeight:n}),r},styleToHtml:function(t,e){if(!ct.isElement(t))return e;var n=t.lineHeight;if(!n)return e;var r=_(e);return r.css("line-height",n),Cc(r)},parseStyleHtml:function(t,e,n){var r=_(t);if(!ct.isElement(e))return e;var o=e,i=n.getMenuConfig("lineHeight").lineHeightList,a=i===void 0?[]:i,u=ro(r,"line-height");return u&&a.includes(u)&&(o.lineHeight=u),o},menus:[{key:"lineHeight",factory:function(){return new Uat},config:{lineHeightList:["1","1.15","1.5","2","2.5","3"]}}]},Gat=function(){function t(){this.title=et("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}(),qat=function(){function t(){this.title=et("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}(),Kat={menus:[{key:"redo",factory:function(){return new Gat}},{key:"undo",factory:function(){return new qat}}]},Yat={type:"divider",renderElem:function(t,e,n){return ql("div",{props:{contentEditable:!1,className:"w-e-textarea-divider"},dataset:{selected:A.isNodeSelected(n,t)?"true":""},style:{},on:{mousedown:function(r){return r.preventDefault()}}},[ql("hr")])}},Xat=function(){function t(){this.title=et("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){N.insertNodes(e,{type:"divider",children:[{text:""}]},{mode:"highest"})},t}(),Zat={renderElems:[Yat],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 Xat}}],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=Xt(o,2),a=i[0],u=i[1];if(A.getNodeType(a)!=="divider")return n([a,u]);A.isLastNode(r,a)&&N.insertNodes(r,A.genEmptyParagraph(),{at:[u[0]+1]})},r}},Jat=ym.map;rn({target:"Array",proto:!0,forced:!oC("map")},{map:function(t){return Jat(this,t,arguments.length>1?arguments[1]:void 0)}});var Qat=mt([].join),tut=hm!=Object,eut=WI("join",",");rn({target:"Array",proto:!0,forced:tut||!eut},{join:function(t){return Qat(wc(this),t===void 0?",":t)}});var nut=function(){function t(){this.title=et("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=tt.string(n);N.removeNodes(e,{mode:"highest"});var o=r.split(`
  100. `).map(function(i){return{type:"paragraph",children:[{text:i}]}});N.insertNodes(e,o,{mode:"highest"})}},t.prototype.changeToCodeBlock=function(e,n){var r,o,i=[],a=D.nodes(e,{match:function(f){return e.children.includes(f)},universal:!0});try{for(var u=UI(a),s=u.next();!s.done;s=u.next()){var l=Xt(s.value,1)[0];l&&i.push(tt.string(l))}}catch(f){r={error:f}}finally{try{s&&!s.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}N.removeNodes(e,{mode:"highest"});var c={type:"pre",children:[{type:"code",language:n,children:[{text:i.join(`
  101. `)}]}]};N.insertNodes(e,c,{mode:"highest"})},t}(),rut={key:"codeBlock",factory:function(){return new nut}};rn({target:"String",proto:!0,forced:sd("anchor")},{anchor:function(t){return ud(this,"a","name",t)}}),uC("match",function(t,e,n){return[function(r){var o=Mr(this),i=r==null?void 0:gm(r,t);return i?Pe(i,r,o):new RegExp(r)[t](Ce(o))},function(r){var o=ur(this),i=Ce(r),a=n(e,o,i);if(a.done)return a.value;if(!o.global)return cp(o,i);var u=o.unicode;o.lastIndex=0;for(var s,l=[],c=0;(s=cp(o,i))!==null;){var f=Ce(s[0]);l[c]=f,f===""&&(o.lastIndex=sC(i,nh(o.lastIndex),u)),c++}return c===0?null:l}]});var out={type:"pre",renderElem:function(t,e,n){return bt("pre",null,e)}},iut={type:"code",renderElem:function(t,e,n){return bt("code",null,e)}},aut={selector:"pre:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=_(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"})}}},uut={menus:[rut],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=tt.string(l),d=f.anchor.offset,m=p.slice(0,d).split(`
  102. `),g=m.length;return g===0?"":m[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=Xt(i,2),u=a[0],s=a[1],l=A.getNodeType(u);return l==="code"&&s.length<=1&&N.setNodes(o,{type:"paragraph"},{at:s}),l==="pre"&&(A.isLastNode(o,u)&&N.insertNodes(o,A.genEmptyParagraph(),{at:[s[0]+1]}),A.getNodeType(u.children[0])!=="code"&&(N.unwrapNodes(o),N.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");D.insertText(o,a)}else r(i)},o},renderElems:[out,iut],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=_(t);if(Sc(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:_(t)[0].textContent||""}]}}},aut]},sut=function(){function t(){this.title=et("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}(),lut={menus:[{key:"fullScreen",factory:function(){return new sut}}]},cut=function(){function t(){this.title=et("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||!!R.isExpanded(n)},t.prototype.exec=function(e,n){var r=e.selection;if(r!=null){var o=[r.anchor.path[0]];N.insertNodes(e,{type:"paragraph",children:[{text:""}]},{at:o}),e.select(D.start(e,o))}},t}(),fut=[Crt,eot,jat,Rat,Vat,Wat,xot,Zat,zot,dot,uut,Rot,Xrt,Gnt,Bot,Kat,lut,{menus:[{key:"enter",factory:function(){return new cut}}]}];Zn("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),Zn("zh-CN",{listModule:{unOrderedList:"\u65E0\u5E8F\u5217\u8868",orderedList:"\u6709\u5E8F\u5217\u8868"}});var Gk=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function CC(t){var e={exports:{}};return t(e,e.exports),e.exports}var Mi,gg,b0=function(t){return t&&t.Math==Math&&t},wt=b0(typeof globalThis=="object"&&globalThis)||b0(typeof window=="object"&&window)||b0(typeof self=="object"&&self)||b0(typeof Gk=="object"&&Gk)||function(){return this}()||Function("return this")(),HL=Function.prototype,_6=HL.bind,F6=HL.call,dut=_6&&_6.bind(F6),Nt=_6?function(t){return t&&dut(F6,t)}:function(t){return t&&function(){return F6.apply(t,arguments)}},Be=function(t){try{return!!t()}catch{return!0}},put=Nt({}.toString),hut=Nt("".slice),si=function(t){return hut(put(t),8,-1)},O2=wt.Object,gut=Nt("".split),VL=Be(function(){return!O2("z").propertyIsEnumerable(0)})?function(t){return si(t)=="String"?gut(t,""):O2(t)}:O2,vut=wt.TypeError,Am=function(t){if(t==null)throw vut("Can't call method on "+t);return t},Oc=function(t){return VL(Am(t))},mut=Object.defineProperty,SC=function(t,e){try{mut(wt,t,{value:e,configurable:!0,writable:!0})}catch{wt[t]=e}return e},ma=wt["__core-js_shared__"]||SC("__core-js_shared__",{}),xC=CC(function(t){(t.exports=function(e,n){return ma[e]||(ma[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),yut=wt.Object,fh=function(t){return yut(Am(t))},but=Nt({}.hasOwnProperty),an=Object.hasOwn||function(t,e){return but(fh(t),e)},wut=0,Eut=Math.random(),Dut=Nt(1 .toString),AC=function(t){return"Symbol("+(t===void 0?"":t)+")_"+Dut(++wut+Eut,36)},_e=function(t){return typeof t=="function"},Cut=function(t){return _e(t)?t:void 0},dh=function(t,e){return arguments.length<2?Cut(wt[t]):wt[t]&&wt[t][e]},k2=dh("navigator","userAgent")||"",qk=wt.process,Kk=wt.Deno,Yk=qk&&qk.versions||Kk&&Kk.version,Xk=Yk&&Yk.v8;Xk&&(gg=(Mi=Xk.split("."))[0]>0&&Mi[0]<4?1:+(Mi[0]+Mi[1])),!gg&&k2&&(!(Mi=k2.match(/Edge\/(\d+)/))||Mi[1]>=74)&&(Mi=k2.match(/Chrome\/(\d+)/))&&(gg=+Mi[1]);var w0,T6=gg,P6=!!Object.getOwnPropertySymbols&&!Be(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&T6&&T6<41}),OC=P6&&!Symbol.sham&&typeof Symbol.iterator=="symbol",xf=xC("wks"),Vu=wt.Symbol,Zk=Vu&&Vu.for,Sut=OC?Vu:Vu&&Vu.withoutSetter||AC,wn=function(t){if(!an(xf,t)||!P6&&typeof xf[t]!="string"){var e="Symbol."+t;P6&&an(Vu,t)?xf[t]=Vu[t]:xf[t]=OC&&Zk?Zk(e):Sut(e)}return xf[t]},ke=function(t){return typeof t=="object"?t!==null:_e(t)},xut=wt.String,Aut=wt.TypeError,Jn=function(t){if(ke(t))return t;throw Aut(xut(t)+" is not an object")},ja=!Be(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),j6=wt.document,Out=ke(j6)&&ke(j6.createElement),kC=function(t){return Out?j6.createElement(t):{}},UL=!ja&&!Be(function(){return Object.defineProperty(kC("div"),"a",{get:function(){return 7}}).a!=7}),Af=Function.prototype.call,on=Af.bind?Af.bind(Af):function(){return Af.apply(Af,arguments)},Uv=Nt({}.isPrototypeOf),kut=wt.Object,B2=OC?function(t){return typeof t=="symbol"}:function(t){var e=dh("Symbol");return _e(e)&&Uv(e.prototype,kut(t))},But=wt.String,N6=function(t){try{return But(t)}catch{return"Object"}},_ut=wt.TypeError,BC=function(t){if(_e(t))return t;throw _ut(N6(t)+" is not a function")},fp=function(t,e){var n=t[e];return n==null?void 0:BC(n)},Fut=wt.TypeError,Tut=wt.TypeError,Put=wn("toPrimitive"),_C=function(t){var e=function(n,r){if(!ke(n)||B2(n))return n;var o,i=fp(n,Put);if(i){if(r===void 0&&(r="default"),o=on(i,n,r),!ke(o)||B2(o))return o;throw Tut("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&_e(s=a.toString)&&!ke(l=on(s,a))||_e(s=a.valueOf)&&!ke(l=on(s,a))||u!=="string"&&_e(s=a.toString)&&!ke(l=on(s,a)))return l;throw Fut("Can't convert object to primitive value")}(n,r)}(t,"string");return B2(e)?e:e+""},jut=wt.TypeError,Jk=Object.defineProperty,Ss={f:ja?Jk:function(t,e,n){if(Jn(t),e=_C(e),Jn(n),UL)try{return Jk(t,e,n)}catch{}if("get"in n||"set"in n)throw jut("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Nut=Math.ceil,Iut=Math.floor,ph=function(t){var e=+t;return e!=e||e===0?0:(e>0?Iut:Nut)(e)},Lut=Math.max,Rut=Math.min,I6=function(t,e){var n=ph(t);return n<0?Lut(n+e,0):Rut(n,e)},Mut=Math.min,WL=function(t){return t>0?Mut(ph(t),9007199254740991):0},kc=function(t){return WL(t.length)},Qk=function(t){return function(e,n,r){var o,i=Oc(e),a=kc(i),u=I6(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}},GL={includes:Qk(!0),indexOf:Qk(!1)},Om={},zut=GL.indexOf,tB=Nt([].push),qL=function(t,e){var n,r=Oc(t),o=0,i=[];for(n in r)!an(Om,n)&&an(r,n)&&tB(i,n);for(;e.length>o;)an(r,n=e[o++])&&(~zut(i,n)||tB(i,n));return i},Wv=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],$ut=Object.keys||function(t){return qL(t,Wv)},Hut=ja?Object.defineProperties:function(t,e){Jn(t);for(var n,r=Oc(e),o=$ut(e),i=o.length,a=0;i>a;)Ss.f(t,n=o[a++],r[n]);return t},Vut=dh("document","documentElement"),eB=xC("keys"),FC=function(t){return eB[t]||(eB[t]=AC(t))},KL=FC("IE_PROTO"),_2=function(){},YL=function(t){return"<script>"+t+"<\/script>"},nB=function(t){t.write(YL("")),t.close();var e=t.parentWindow.Object;return t=null,e},vg=function(){try{w0=new ActiveXObject("htmlfile")}catch{}var t,e;vg=typeof document<"u"?document.domain&&w0?nB(w0):((e=kC("iframe")).style.display="none",Vut.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(YL("document.F=Object")),t.close(),t.F):nB(w0);for(var n=Wv.length;n--;)delete vg.prototype[Wv[n]];return vg()};Om[KL]=!0;var TC=Object.create||function(t,e){var n;return t!==null?(_2.prototype=Jn(t),n=new _2,_2.prototype=null,n[KL]=t):n=vg(),e===void 0?n:Hut(n,e)},L6=wn("unscopables"),R6=Array.prototype;R6[L6]==null&&Ss.f(R6,L6,{configurable:!0,value:TC(null)});var Sd=function(t){R6[L6][t]=!0},nc={},Uut=Nt(Function.toString);_e(ma.inspectSource)||(ma.inspectSource=function(t){return Uut(t)});var Gv,xd,qv,PC=ma.inspectSource,rB=wt.WeakMap,XL=_e(rB)&&/native code/.test(PC(rB)),km=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},ya=ja?function(t,e,n){return Ss.f(t,e,km(1,n))}:function(t,e,n){return t[e]=n,t},M6=wt.TypeError,Wut=wt.WeakMap;if(XL||ma.state){var uu=ma.state||(ma.state=new Wut),Gut=Nt(uu.get),oB=Nt(uu.has),qut=Nt(uu.set);Gv=function(t,e){if(oB(uu,t))throw new M6("Object already initialized");return e.facade=t,qut(uu,t,e),e},xd=function(t){return Gut(uu,t)||{}},qv=function(t){return oB(uu,t)}}else{var Ks=FC("state");Om[Ks]=!0,Gv=function(t,e){if(an(t,Ks))throw new M6("Object already initialized");return e.facade=t,ya(t,Ks,e),e},xd=function(t){return an(t,Ks)?t[Ks]:{}},qv=function(t){return an(t,Ks)}}var Uu,iB,aB,No={set:Gv,get:xd,has:qv,enforce:function(t){return qv(t)?xd(t):Gv(t,{})},getterFor:function(t){return function(e){var n;if(!ke(e)||(n=xd(e)).type!==t)throw M6("Incompatible receiver, "+t+" required");return n}}},uB={}.propertyIsEnumerable,sB=Object.getOwnPropertyDescriptor,Kut={f:sB&&!uB.call({1:2},1)?function(t){var e=sB(this,t);return!!e&&e.enumerable}:uB},lB=Object.getOwnPropertyDescriptor,ZL={f:ja?lB:function(t,e){if(t=Oc(t),e=_C(e),UL)try{return lB(t,e)}catch{}if(an(t,e))return km(!on(Kut.f,t,e),t[e])}},JL=Function.prototype,Yut=ja&&Object.getOwnPropertyDescriptor,F2=an(JL,"name"),jC={EXISTS:F2,PROPER:F2&&function(){}.name==="something",CONFIGURABLE:F2&&(!ja||ja&&Yut(JL,"name").configurable)},Bo=CC(function(t){var e=jC.CONFIGURABLE,n=No.get,r=No.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;_e(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!an(u,"name")||e&&u.name!==d)&&ya(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==wt?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:ya(i,a,u)):f?i[a]=u:SC(a,u)})(Function.prototype,"toString",function(){return _e(this)&&n(this).source||PC(this)})}),Xut=Wv.concat("length","prototype"),Kv={f:Object.getOwnPropertyNames||function(t){return qL(t,Xut)}},Zut={f:Object.getOwnPropertySymbols},Jut=Nt([].concat),Qut=dh("Reflect","ownKeys")||function(t){var e=Kv.f(Jn(t)),n=Zut.f;return n?Jut(e,n(t)):e},tst=function(t,e){for(var n=Qut(e),r=Ss.f,o=ZL.f,i=0;i<n.length;i++){var a=n[i];an(t,a)||r(t,a,o(e,a))}},est=/#|\.prototype\./,hh=function(t,e){var n=rst[nst(t)];return n==ist||n!=ost&&(_e(e)?Be(e):!!e)},nst=hh.normalize=function(t){return String(t).replace(est,".").toLowerCase()},rst=hh.data={},ost=hh.NATIVE="N",ist=hh.POLYFILL="P",z6=hh,ast=ZL.f,Na=function(t,e){var n,r,o,i,a,u=t.target,s=t.global,l=t.stat;if(n=s?wt:l?wt[u]||SC(u,{}):(wt[u]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=ast(n,r))&&a.value:n[r],!z6(s?r:u+(l?".":"#")+r,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;tst(i,o)}(t.sham||o&&o.sham)&&ya(i,"sham",!0),Bo(n,r,i,t)}},ust=!Be(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),cB=FC("IE_PROTO"),$6=wt.Object,sst=$6.prototype,Yv=ust?$6.getPrototypeOf:function(t){var e=fh(t);if(an(e,cB))return e[cB];var n=e.constructor;return _e(n)&&e instanceof n?n.prototype:e instanceof $6?sst:null},H6=wn("iterator"),QL=!1;[].keys&&("next"in(aB=[].keys())?(iB=Yv(Yv(aB)))!==Object.prototype&&(Uu=iB):QL=!0);var lst=Uu==null||Be(function(){var t={};return Uu[H6].call(t)!==t});lst&&(Uu={}),_e(Uu[H6])||Bo(Uu,H6,function(){return this});var NC={IteratorPrototype:Uu,BUGGY_SAFARI_ITERATORS:QL},cst=Ss.f,fB=wn("toStringTag"),V6=function(t,e,n){t&&!an(t=n?t:t.prototype,fB)&&cst(t,fB,{configurable:!0,value:e})},fst=NC.IteratorPrototype,dst=function(){return this},pst=wt.String,hst=wt.TypeError,Xv=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Nt(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch{}return function(r,o){return Jn(r),function(i){if(typeof i=="object"||_e(i))return i;throw hst("Can't set "+pst(i)+" as a prototype")}(o),e?t(r,o):r.__proto__=o,r}}():void 0),gst=jC.PROPER,vst=jC.CONFIGURABLE,dB=NC.IteratorPrototype,E0=NC.BUGGY_SAFARI_ITERATORS,Of=wn("iterator"),mst=function(){return this},tR=function(t,e,n,r,o,i,a){(function(y,h,b,w){var E=h+" Iterator";y.prototype=TC(fst,{next:km(1,b)}),V6(y,E,!1),nc[E]=dst})(n,e,r);var u,s,l,c=function(y){if(y===o&&g)return g;if(!E0&&y in d)return d[y];switch(y){case"keys":case"values":case"entries":return function(){return new n(this,y)}}return function(){return new n(this)}},f=e+" Iterator",p=!1,d=t.prototype,m=d[Of]||d["@@iterator"]||o&&d[o],g=!E0&&m||c(o),v=e=="Array"&&d.entries||m;if(v&&(u=Yv(v.call(new t)))!==Object.prototype&&u.next&&(Yv(u)!==dB&&(Xv?Xv(u,dB):_e(u[Of])||Bo(u,Of,mst)),V6(u,f,!0)),gst&&o=="values"&&m&&m.name!=="values"&&(vst?ya(d,"name","values"):(p=!0,g=function(){return on(m,this)})),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(E0||p||!(l in d))&&Bo(d,l,s[l]);else Na({target:e,proto:!0,forced:E0||p},s);return d[Of]!==g&&Bo(d,Of,g,{name:o}),nc[e]=g,s},yst=No.set,bst=No.getterFor("Array Iterator"),ld=tR(Array,"Array",function(t,e){yst(this,{type:"Array Iterator",target:Oc(t),index:0,kind:e})},function(){var t=bst(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");nc.Arguments=nc.Array,Sd("keys"),Sd("values"),Sd("entries");var eR={};eR[wn("toStringTag")]="z";var IC=String(eR)==="[object z]",wst=wn("toStringTag"),Est=wt.Object,Dst=si(function(){return arguments}())=="Arguments",Bm=IC?si:function(t){var e,n,r;return t===void 0?"Undefined":t===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(e=Est(t),wst))=="string"?n:Dst?si(e):(r=si(e))=="Object"&&_e(e.callee)?"Arguments":r},Cst=IC?{}.toString:function(){return"[object "+Bm(this)+"]"};IC||Bo(Object.prototype,"toString",Cst,{unsafe:!0});var Sst=wt.String,ti=function(t){if(Bm(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Sst(t)},xst=Nt("".charAt),pB=Nt("".charCodeAt),Ast=Nt("".slice),hB=function(t){return function(e,n){var r,o,i=ti(Am(e)),a=ph(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=pB(i,a))<55296||r>56319||a+1===u||(o=pB(i,a+1))<56320||o>57343?t?xst(i,a):r:t?Ast(i,a,a+2):o-56320+(r-55296<<10)+65536}},nR={codeAt:hB(!1),charAt:hB(!0)},Ost=nR.charAt,kst=No.set,Bst=No.getterFor("String Iterator");tR(String,"String",function(t){kst(this,{type:"String Iterator",string:ti(t),index:0})},function(){var t,e=Bst(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=Ost(n,r),e.index+=t.length,{value:t,done:!1})});var U6=function(t,e,n){for(var r in e)Bo(t,r,e[r],n);return t},_st=wt.Array,Fst=Math.max,gB=Kv.f,vB=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Tst={f:function(t){return vB&&si(t)=="Window"?function(e){try{return gB(e)}catch{return function(r,o,i){for(var a,u,s,l,c=kc(r),f=I6(void 0,c),p=I6(c,c),d=_st(Fst(p-f,0)),m=0;f<p;f++,m++)a=d,u=m,s=r[f],(l=_C(u))in a?Ss.f(a,l,km(0,s)):a[l]=s;return d.length=m,d}(vB)}}(t):gB(Oc(t))}},mB=Be(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),D0=Object.isExtensible,xu=Be(function(){D0(1)})||mB?function(t){return!!ke(t)&&(!mB||si(t)!="ArrayBuffer")&&(!D0||D0(t))}:D0,Pst=!Be(function(){return Object.isExtensible(Object.preventExtensions({}))}),LC=CC(function(t){var e=Ss.f,n=!1,r=AC("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=Kv.f,s=Nt([].splice),l={};l[r]=1,u(l).length&&(Kv.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},Na({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Tst.f}))},fastKey:function(u,s){if(!ke(u))return typeof u=="symbol"?u:(typeof u=="string"?"S":"P")+u;if(!an(u,r)){if(!xu(u))return"F";if(!s)return"E";i(u)}return u[r].objectID},getWeakData:function(u,s){if(!an(u,r)){if(!xu(u))return!0;if(!s)return!1;i(u)}return u[r].weakData},onFreeze:function(u){return Pst&&n&&xu(u)&&!an(u,r)&&i(u),u}};Om[r]=!0}),yB=Nt(Nt.bind),RC=function(t,e){return BC(t),e===void 0?t:yB?yB(t,e):function(){return t.apply(e,arguments)}},jst=wn("iterator"),Nst=Array.prototype,Ist=wn("iterator"),bB=function(t){if(t!=null)return fp(t,Ist)||fp(t,"@@iterator")||nc[Bm(t)]},Lst=wt.TypeError,wB=function(t,e,n){var r,o;Jn(t);try{if(!(r=fp(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 Jn(r),n},Rst=wt.TypeError,mg=function(t,e){this.stopped=t,this.result=e},EB=mg.prototype,rR=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),m=!(!n||!n.INTERRUPTED),g=RC(e,f),v=function(h){return r&&wB(r,"normal",h),new mg(!0,h)},y=function(h){return p?(Jn(h),m?g(h[0],h[1],v):g(h[0],h[1])):m?g(h,v):g(h)};if(d)r=t;else{if(!(o=bB(t)))throw Rst(N6(t)+" is not iterable");if((c=o)!==void 0&&(nc.Array===c||Nst[jst]===c)){for(i=0,a=kc(t);a>i;i++)if((u=y(t[i]))&&Uv(EB,u))return u;return new mg(!1)}r=function(h,b){var w=arguments.length<2?bB(h):b;if(BC(w))return Jn(on(w,h));throw Lst(N6(h)+" is not iterable")}(t,o)}for(s=r.next;!(l=on(s,r)).done;){try{u=y(l.value)}catch(h){wB(r,"throw",h)}if(typeof u=="object"&&u&&Uv(EB,u))return u}return new mg(!1)},Mst=wt.TypeError,oR=function(t,e){if(Uv(e,t))return t;throw Mst("Incorrect invocation")},iR=wn("iterator"),aR=!1;try{var zst=0,DB={next:function(){return{done:!!zst++}},return:function(){aR=!0}};DB[iR]=function(){return this},Array.from(DB,function(){throw 2})}catch{}var W6=Array.isArray||function(t){return si(t)=="Array"},uR=function(){},$st=[],sR=dh("Reflect","construct"),MC=/^\s*(?:class|function)\b/,Hst=Nt(MC.exec),Vst=!MC.exec(uR),kf=function(t){if(!_e(t))return!1;try{return sR(uR,$st,t),!0}catch{return!1}},Ust=!sR||Be(function(){var t;return kf(kf.call)||!kf(Object)||!kf(function(){t=!0})||t})?function(t){if(!_e(t))return!1;switch(Bm(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Vst||!!Hst(MC,PC(t))}:kf,Wst=wn("species"),CB=wt.Array,lR=function(t,e){return new(function(n){var r;return W6(n)&&(r=n.constructor,(Ust(r)&&(r===CB||W6(r.prototype))||ke(r)&&(r=r[Wst])===null)&&(r=void 0)),r===void 0?CB:r}(t))(e===0?0:e)},SB=Nt([].push),zi=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,m=fh(s),g=VL(m),v=RC(l,c),y=kc(g),h=0,b=f||lR,w=e?b(s,y):n||a?b(s,0):void 0;y>h;h++)if((u||h in g)&&(d=v(p=g[h],h,m),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:SB(w,p)}else switch(t){case 4:return!1;case 7:SB(w,p)}return i?-1:r||o?o:w}},zC={forEach:zi(0),map:zi(1),filter:zi(2),some:zi(3),every:zi(4),find:zi(5),findIndex:zi(6),filterReject:zi(7)},C0=LC.getWeakData,Gst=No.set,qst=No.getterFor,Kst=zC.find,Yst=zC.findIndex,Xst=Nt([].splice),Zst=0,S0=function(t){return t.frozen||(t.frozen=new cR)},cR=function(){this.entries=[]},T2=function(t,e){return Kst(t.entries,function(n){return n[0]===e})};cR.prototype={get:function(t){var e=T2(this,t);if(e)return e[1]},has:function(t){return!!T2(this,t)},set:function(t,e){var n=T2(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=Yst(this.entries,function(n){return n[0]===t});return~e&&Xst(this.entries,e,1),!!~e}};var Bf,fR={getConstructor:function(t,e,n,r){var o=t(function(s,l){oR(s,i),Gst(s,{type:e,id:Zst++,frozen:void 0}),l!=null&&rR(l,s[r],{that:s,AS_ENTRIES:n})}),i=o.prototype,a=qst(e),u=function(s,l,c){var f=a(s),p=C0(Jn(l),!0);return p===!0?S0(f).set(l,c):p[f.id]=c,s};return U6(i,{delete:function(s){var l=a(this);if(!ke(s))return!1;var c=C0(s);return c===!0?S0(l).delete(s):c&&an(c,l.id)&&delete c[l.id]},has:function(s){var l=a(this);if(!ke(s))return!1;var c=C0(s);return c===!0?S0(l).has(s):c&&an(c,l.id)}}),U6(i,n?{get:function(s){var l=a(this);if(ke(s)){var c=C0(s);return c===!0?S0(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}},x0=No.enforce,Jst=!wt.ActiveXObject&&"ActiveXObject"in wt,dR=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Qst=function(t,e,n){var r=t.indexOf("Map")!==-1,o=t.indexOf("Weak")!==-1,i=r?"set":"add",a=wt[t],u=a&&a.prototype,s=a,l={},c=function(v){var y=Nt(u[v]);Bo(u,v,v=="add"?function(h){return y(this,h===0?0:h),this}:v=="delete"?function(h){return!(o&&!ke(h))&&y(this,h===0?0:h)}:v=="get"?function(h){return o&&!ke(h)?void 0:y(this,h===0?0:h)}:v=="has"?function(h){return!(o&&!ke(h))&&y(this,h===0?0:h)}:function(h,b){return y(this,h===0?0:h,b),this})};if(z6(t,!_e(a)||!(o||u.forEach&&!Be(function(){new a().entries().next()}))))s=n.getConstructor(e,t,r,i),LC.enable();else if(z6(t,!0)){var f=new s,p=f[i](o?{}:-0,1)!=f,d=Be(function(){f.has(1)}),m=function(v,y){if(!aR)return!1;var h=!1;try{var b={};b[iR]=function(){return{next:function(){return{done:h=!0}}}},function(w){new a(w)}(b)}catch{}return h}(),g=!o&&Be(function(){for(var v=new a,y=5;y--;)v[i](y,y);return!v.has(-0)});m||((s=e(function(v,y){oR(v,u);var h=function(b,w,E){var S,C;return Xv&&_e(S=w.constructor)&&S!==E&&ke(C=S.prototype)&&C!==E.prototype&&Xv(b,C),b}(new a,v,s);return y!=null&&rR(y,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,Na({global:!0,forced:s!=a},l),V6(s,t),o||n.setStrong(s,t,r),s}("WeakMap",dR,fR);if(XL&&Jst){Bf=fR.getConstructor(dR,"WeakMap",!0),LC.enable();var _f=Qst.prototype,xB=Nt(_f.delete),A0=Nt(_f.has),AB=Nt(_f.get),OB=Nt(_f.set);U6(_f,{delete:function(t){if(ke(t)&&!xu(t)){var e=x0(this);return e.frozen||(e.frozen=new Bf),xB(this,t)||e.frozen.delete(t)}return xB(this,t)},has:function(t){if(ke(t)&&!xu(t)){var e=x0(this);return e.frozen||(e.frozen=new Bf),A0(this,t)||e.frozen.has(t)}return A0(this,t)},get:function(t){if(ke(t)&&!xu(t)){var e=x0(this);return e.frozen||(e.frozen=new Bf),A0(this,t)?AB(this,t):e.frozen.get(t)}return AB(this,t)},set:function(t,e){if(ke(t)&&!xu(t)){var n=x0(this);n.frozen||(n.frozen=new Bf),A0(this,t)?OB(this,t,e):n.frozen.set(t,e)}else OB(this,t,e);return this}})}var pR={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},P2=kC("span").classList,kB=P2&&P2.constructor&&P2.constructor.prototype,tlt=kB===Object.prototype?void 0:kB,j2=wn("iterator"),BB=wn("toStringTag"),N2=ld.values,hR=function(t,e){if(t){if(t[j2]!==N2)try{ya(t,j2,N2)}catch{t[j2]=N2}if(t[BB]||ya(t,BB,e),pR[e]){for(var n in ld)if(t[n]!==ld[n])try{ya(t,n,ld[n])}catch{t[n]=ld[n]}}}};for(var I2 in pR)hR(wt[I2]&&wt[I2].prototype,I2);hR(tlt,"DOMTokenList");var G6=new WeakMap,elt={type:"list-item",renderElem:function(t,e,n){G6.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,m=d.type,g=d.level,v=g===void 0?0:g,y=d.ordered,h=y!==void 0&&y;if(!h)return-1;var b=1,w=p,E=A.findPath(f,w);if(E[0]===0)return 1;for(;E[0]>0;){var S=j.previous(E),C=D.node(f,S);if(C==null)break;var O=C[0],k=O.level,I=k===void 0?0:k,$=O.type,M=O.ordered;if($!==m||I<v)break;if(I===v){if(M!==h)break;b++}w=O,E=S}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||[],m=d.length;if(m===0)return"";for(var g=0;g<m&&!p;g++){var v=d[g];it.isText(v)&&(p=v)}return p==null?"":p.color||""}(t);return bt("div",{style:u},bt("span",{contentEditable:!1,style:{marginRight:"0.5em",color:c},"data-w-e-reserve":!0},s),bt("span",null,e))}},q6=function(t,e){return q6=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])},q6(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 gR(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}q6(t,e),t.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}function _B(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 Ad(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 FB(t){return D.nodes(t,{at:t.selection||void 0,match:function(e){return A.findPath(t,e).length===1}})}var nlt=GL.includes;Na({target:"Array",proto:!0},{includes:function(t){return nlt(this,t,arguments.length>1?arguments[1]:void 0)}}),Sd("includes");var TB,L2,rlt=function(){var t=Jn(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},$C=wt.RegExp,K6=Be(function(){var t=$C("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),olt=K6||Be(function(){return!$C("a","y").sticky}),ilt={BROKEN_CARET:K6||Be(function(){var t=$C("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),MISSED_STICKY:olt,UNSUPPORTED_Y:K6},alt=wt.RegExp,ult=Be(function(){var t=alt(".","s");return!(t.dotAll&&t.exec(`
  116. `)&&t.flags==="s")}),slt=wt.RegExp,llt=Be(function(){var t=slt("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),clt=No.get,flt=xC("native-string-replace",String.prototype.replace),Zv=RegExp.prototype.exec,Y6=Zv,dlt=Nt("".charAt),plt=Nt("".indexOf),hlt=Nt("".replace),R2=Nt("".slice),M2=(L2=/b*/g,on(Zv,TB=/a/,"a"),on(Zv,L2,"a"),TB.lastIndex!==0||L2.lastIndex!==0),PB=ilt.BROKEN_CARET,z2=/()??/.exec("")[1]!==void 0;(M2||z2||PB||ult||llt)&&(Y6=function(t){var e,n,r,o,i,a,u,s=this,l=clt(s),c=ti(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=on(Y6,f,c),s.lastIndex=f.lastIndex,e;var p=l.groups,d=PB&&s.sticky,m=on(rlt,s),g=s.source,v=0,y=c;if(d&&(m=hlt(m,"y",""),plt(m,"g")===-1&&(m+="g"),y=R2(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&dlt(c,s.lastIndex-1)!==`
  117. `)&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",m)),z2&&(n=new RegExp("^"+g+"$(?!\\s)",m)),M2&&(r=s.lastIndex),o=on(Zv,d?n:s,y),d?o?(o.input=R2(o.input,v),o[0]=R2(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:M2&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),z2&&o&&o.length>1&&on(flt,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=TC(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var Jv=Y6;Na({target:"RegExp",proto:!0,forced:/./.exec!==Jv},{exec:Jv});var vR=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(D.isVoid(e,n)&&D.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)?N.setNodes(e,{type:"paragraph",ordered:void 0,level:void 0}):N.setNodes(e,{type:"list-item",ordered:this.ordered,indent:void 0})},t}(),glt='<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>',vlt='<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>',mlt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.ordered=!1,n.title=et("listModule.unOrderedList"),n.iconSvg=glt,n}return gR(e,t),e}(vR),ylt=function(t){function e(){var n=t!==null&&t.apply(this,arguments)||this;return n.ordered=!0,n.title=et("listModule.orderedList"),n.iconSvg=vlt,n}return gR(e,t),e}(vR),blt={key:"bulletedList",factory:function(){return new mlt}},wlt={key:"numberedList",factory:function(){return new ylt}},jB=[],Elt={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=G6.get(l);if(c==null)return 0;var f=l,p=f.type,d=f.ordered,m=d!==void 0&&d,g=f.level,v=g===void 0?0:g,y=A.findPath(c,l);if(y[0]===0)return v+1;var h=j.previous(y),b=D.node(c,h);if(!b)return 0;var w=Ad(b,1)[0];if(A.getNodeType(w)!==p)return v+1;var E=w,S=E.ordered,C=S!==void 0&&S,O=E.level,k=O===void 0?0:O;return k<v?v-k:k>v?0:k===v?C===m?0:1:0}(t);if(a>0)for(var u=0;u<a;u++)n+="<"+i+">",jB.push(i);var s=function(l){var c=G6.get(l);if(c==null)return 0;var f=l,p=f.type,d=f.ordered,m=d!==void 0&&d,g=f.level,v=g===void 0?0:g,y=A.findPath(c,l);if(y[0]===c.children.length-1)return v+1;var h=j.next(y),b=D.node(c,h);if(!b)return 0;var w=Ad(b,1)[0];if(A.getNodeType(w)!==p)return v+1;var E=w,S=E.ordered,C=S!==void 0&&S,O=E.level,k=O===void 0?0:O;return k<v?v-k:k>v?0:k===v?C===m?0:1:0}(t);if(s>0)for(u=0;u<s;u++)r+="</"+jB.pop()+">";return{html:"<li>"+e+"</li>",prefix:n,suffix:r}}},Dlt=wn("species"),Clt=zC.filter,Slt=T6>=51||!Be(function(){var t=[];return(t.constructor={})[Dlt]=function(){return{foo:1}},t.filter(Boolean).foo!==1});Na({target:"Array",proto:!0,forced:!Slt},{filter:function(t){return Clt(this,t,arguments.length>1?arguments[1]:void 0)}});var HC=Function.prototype,NB=HC.apply,xlt=HC.bind,IB=HC.call,Alt=typeof Reflect=="object"&&Reflect.apply||(xlt?IB.bind(NB):function(){return IB.apply(NB,arguments)}),LB=(wn("species"),RegExp.prototype),Olt=nR.charAt,klt=function(t,e,n){return e+(n?Olt(t,e).length:1)},Blt=Math.floor,$2=Nt("".charAt),_lt=Nt("".replace),H2=Nt("".slice),Flt=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Tlt=/\$([$&'`]|\d{1,2})/g,Plt=function(t,e,n,r,o,i){var a=n+t.length,u=r.length,s=Tlt;return o!==void 0&&(o=fh(o),s=Flt),_lt(i,s,function(l,c){var f;switch($2(c,0)){case"$":return"$";case"&":return t;case"`":return H2(e,0,n);case"'":return H2(e,a);case"<":f=o[H2(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>u){var d=Blt(p/10);return d===0?l:d<=u?r[d-1]===void 0?$2(c,1):r[d-1]+$2(c,1):l}f=r[p-1]}return f===void 0?"":f})},jlt=wt.TypeError,Nlt=function(t,e){var n=t.exec;if(_e(n)){var r=on(n,t,e);return r!==null&&Jn(r),r}if(si(t)==="RegExp")return on(Jv,t,e);throw jlt("RegExp#exec called on incompatible receiver")},X6=wn("replace"),Ilt=Math.max,Llt=Math.min,Rlt=Nt([].concat),V2=Nt([].push),RB=Nt("".indexOf),MB=Nt("".slice),Mlt="a".replace(/./,"$0")==="$0",zB=!!/./[X6]&&/./[X6]("a","$0")==="";(function(t,e,n,r){var o=wn(t),i=!Be(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!Be(function(){var l=!1,c=/a/;return c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=Nt(/./[o]),s=function(l,c,f){var p=zB?"$":"$0";return[function(d,m){var g=Am(this),v=d==null?void 0:fp(d,X6);return v?on(v,d,g,m):on(c,ti(g),d,m)},function(d,m){var g=Jn(this),v=ti(d);if(typeof m=="string"&&RB(m,p)===-1&&RB(m,"$<")===-1){var y=f(c,g,v,m);if(y.done)return y.value}var h=_e(m);h||(m=ti(m));var b=g.global;if(b){var w=g.unicode;g.lastIndex=0}for(var E=[];;){var S=Nlt(g,v);if(S===null||(V2(E,S),!b))break;ti(S[0])===""&&(g.lastIndex=klt(v,WL(g.lastIndex),w))}for(var C,O="",k=0,I=0;I<E.length;I++){for(var $=ti((S=E[I])[0]),M=Ilt(Llt(ph(S.index),v.length),0),q=[],G=1;G<S.length;G++)V2(q,(C=S[G])===void 0?C:String(C));var W=S.groups;if(h){var K=Rlt([$],q,M,v);W!==void 0&&V2(K,W);var J=ti(Alt(m,void 0,K))}else J=Plt($,v,M,q,W,m);M>=k&&(O+=MB(v,k,M)+J,k=M+$.length)}return O+MB(v,k)}]}(0,""[t],function(l,c,f,p,d){var m=Nt(l),g=c.exec;return g===Jv||g===LB.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:m(f,c,p)}:{done:!1}});Bo(String.prototype,t,s[0]),Bo(LB,o,s[1])}})("replace",0,!!Be(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$<a>")!=="7"})||!Mlt||zB);var zlt=wt.TypeError,mR=function(t,e,n,r,o,i,a,u){for(var s,l,c=o,f=0,p=!!a&&RC(a,u);f<r;){if(f in n){if(s=p?p(n[f],f,e):n[f],i>0&&W6(s))l=kc(s),c=mR(t,e,s,l,c,i-1)-1;else{if(c>=9007199254740991)throw zlt("Exceed the acceptable array length");t[c]=s}c++}f++}return c},$lt=mR;function U2(t){return t.length?t[0].tagName.toLowerCase():""}Na({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=fh(this),n=kc(e),r=lR(e,0);return r.length=$lt(r,e,e,n,0,t===void 0?1:ph(t)),r}}),Sd("flat"),Na({global:!0},{globalThis:wt}),Ir&&(_.fn.append=Ir),Nr&&(_.fn.attr=Nr),Hl&&(_.fn.parent=Hl);var Hlt={renderElems:[elt],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(R.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?N.setNodes(o,{level:l-1}):N.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(R.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 N.setNodes(o,{level:p+1})}}if(R.isExpanded(l)){var d=0,m=!1;try{for(var g=_B(FB(o)),v=g.next();!v.done;v=g.next()){var y=Ad(v.value,1)[0];A.getNodeType(y)==="list-item"?d++:m=!0}}catch(C){i={error:C}}finally{try{v&&!v.done&&(a=g.return)&&a.call(g)}finally{if(i)throw i.error}}if(m||d<=1)return void n();try{for(var h=_B(FB(o)),b=h.next();!b.done;b=h.next()){var w=Ad(b.value,2),E=(y=w[0],w[1]),S=y.level;p=S===void 0?0:S,N.setNodes(o,{level:p+1},{at:E})}}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=Ad(i,2),u=a[0],s=a[1],l=A.getNodeType(u);return l!=="bulleted-list"&&l!=="numbered-list"||N.unwrapNodes(o,{at:s}),r([u,s])},o},menus:[blt,wlt],elemsToHtml:[Elt],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=_(t);(e=e.filter(function(a){return!!it.isText(a)||!!n.isInline(a)})).length===0&&(e=[{text:r.text().replace(/\s+/gm," ")}]);var o=function(a){return U2(a.parent())==="ol"}(r),i=function(a){for(var u=0,s=a.parent(),l=U2(s);l==="ul"||l==="ol";)l=U2(s=s.parent()),u++;return u-1}(r);return{type:"list-item",ordered:o,level:i,children:e}}}]},yR=ps(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]",m="[object RegExp]",g="[object Set]",v="[object String]",y="[object Symbol]",h="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",E=/^\[object .+?Constructor\]$/,S=/^(?: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[m]=C[g]=C[v]=C[h]=!1;var O=typeof ce=="object"&&ce&&ce.Object===Object&&ce,k=typeof self=="object"&&self&&self.Object===Object&&self,I=O||k||Function("return this")(),$=e&&!e.nodeType&&e,M=$&&t&&!t.nodeType&&t,q=M&&M.exports===$,G=q&&O.process,W=function(){try{return G&&G.binding&&G.binding("util")}catch{}}(),K=W&&W.isTypedArray;function J(P,L){for(var Z=-1,ht=P==null?0:P.length;++Z<ht;)if(L(P[Z],Z,P))return!0;return!1}function ot(P){var L=-1,Z=Array(P.size);return P.forEach(function(ht,re){Z[++L]=[re,ht]}),Z}function ut(P){var L=-1,Z=Array(P.size);return P.forEach(function(ht){Z[++L]=ht}),Z}var st=Array.prototype,B=Function.prototype,x=Object.prototype,T=I["__core-js_shared__"],H=B.toString,V=x.hasOwnProperty,U=function(){var P=/[^.]+$/.exec(T&&T.keys&&T.keys.IE_PROTO||"");return P?"Symbol(src)_1."+P:""}(),at=x.toString,gt=RegExp("^"+H.call(V).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),vt=q?I.Buffer:void 0,Dt=I.Symbol,Y=I.Uint8Array,Lt=x.propertyIsEnumerable,At=st.splice,dt=Dt?Dt.toStringTag:void 0,Ot=Object.getOwnPropertySymbols,Fe=vt?vt.isBuffer:void 0,Ht=function(P,L){return function(Z){return P(L(Z))}}(Object.keys,Object),ne=bi(I,"DataView"),be=bi(I,"Map"),En=bi(I,"Promise"),$t=bi(I,"Set"),Mn=bi(I,"WeakMap"),$r=bi(Object,"create"),lo=Wo(ne),xs=Wo(be),Ya=Wo(En),Hr=Wo($t),co=Wo(Mn),Ho=Dt?Dt.prototype:void 0,Dn=Ho?Ho.valueOf:void 0;function Cn(P){var L=-1,Z=P==null?0:P.length;for(this.clear();++L<Z;){var ht=P[L];this.set(ht[0],ht[1])}}function Sn(P){var L=-1,Z=P==null?0:P.length;for(this.clear();++L<Z;){var ht=P[L];this.set(ht[0],ht[1])}}function Pn(P){var L=-1,Z=P==null?0:P.length;for(this.clear();++L<Z;){var ht=P[L];this.set(ht[0],ht[1])}}function un(P){var L=-1,Z=P==null?0:P.length;for(this.__data__=new Pn;++L<Z;)this.add(P[L])}function yr(P){var L=this.__data__=new Sn(P);this.size=L.size}function _c(P,L){var Z=Go(P),ht=!Z&&kh(P),re=!Z&&!ht&&fo(P),jt=!Z&&!ht&&!re&&ho(P),F=Z||ht||re||jt,z=F?function(zt,ge){for(var oe=-1,Gt=Array(zt);++oe<zt;)Gt[oe]=ge(oe);return Gt}(P.length,String):[],Q=z.length;for(var lt in P)!L&&!V.call(P,lt)||F&&(lt=="length"||re&&(lt=="offset"||lt=="parent")||jt&&(lt=="buffer"||lt=="byteLength"||lt=="byteOffset")||Fc(lt,Q))||z.push(lt);return z}function yi(P,L){for(var Z=P.length;Z--;)if(ks(P[Z][0],L))return Z;return-1}function Vo(P){return P==null?P===void 0?"[object Undefined]":"[object Null]":dt&&dt in Object(P)?function(L){var Z=V.call(L,dt),ht=L[dt];try{L[dt]=void 0;var re=!0}catch{}var jt=at.call(L);return re&&(Z?L[dt]=ht:delete L[dt]),jt}(P):function(L){return at.call(L)}(P)}function As(P){return wi(P)&&Vo(P)==o}function Xa(P,L,Z,ht,re){return P===L||(P==null||L==null||!wi(P)&&!wi(L)?P!=P&&L!=L:function(jt,F,z,Q,lt,zt){var ge=Go(jt),oe=Go(F),Gt=ge?i:Qn(jt),tn=oe?i:Qn(F),xn=(Gt=Gt==o?p:Gt)==p,Za=(tn=tn==o?p:tn)==p,qo=Gt==tn;if(qo&&fo(jt)){if(!fo(F))return!1;ge=!0,xn=!1}if(qo&&!xn)return zt||(zt=new yr),ge||ho(jt)?br(jt,F,z,Q,lt,zt):function(Rt,qt,Kt,Te,jn,zn,Wr){switch(Kt){case w:if(Rt.byteLength!=qt.byteLength||Rt.byteOffset!=qt.byteOffset)return!1;Rt=Rt.buffer,qt=qt.buffer;case b:return!(Rt.byteLength!=qt.byteLength||!zn(new Y(Rt),new Y(qt)));case a:case u:case f:return ks(+Rt,+qt);case s:return Rt.name==qt.name&&Rt.message==qt.message;case m:case v:return Rt==qt+"";case c:var Di=ot;case g:var Pc=1&Te;if(Di||(Di=ut),Rt.size!=qt.size&&!Pc)return!1;var Fh=Wr.get(Rt);if(Fh)return Fh==qt;Te|=2,Wr.set(Rt,qt);var Bs=br(Di(Rt),Di(qt),Te,jn,zn,Wr);return Wr.delete(Rt),Bs;case y:if(Dn)return Dn.call(Rt)==Dn.call(qt)}return!1}(jt,F,Gt,z,Q,lt,zt);if(!(1&z)){var Ei=xn&&V.call(jt,"__wrapped__"),yt=Za&&V.call(F,"__wrapped__");if(Ei||yt){var Jt=Ei?jt.value():jt,Ne=yt?F.value():F;return zt||(zt=new yr),lt(Jt,Ne,z,Q,zt)}}return qo?(zt||(zt=new yr),function(Rt,qt,Kt,Te,jn,zn){var Wr=1&Kt,Di=Uo(Rt),Pc=Di.length,Fh=Uo(qt).length;if(Pc!=Fh&&!Wr)return!1;for(var Bs=Pc;Bs--;){var Ja=Di[Bs];if(!(Wr?Ja in qt:V.call(qt,Ja)))return!1}var DS=zn.get(Rt);if(DS&&zn.get(qt))return DS==qt;var Th=!0;zn.set(Rt,qt),zn.set(qt,Rt);for(var Ym=Wr;++Bs<Pc;){var Ph=Rt[Ja=Di[Bs]],jh=qt[Ja];if(Te)var CS=Wr?Te(jh,Ph,Ja,qt,Rt,zn):Te(Ph,jh,Ja,Rt,qt,zn);if(!(CS===void 0?Ph===jh||jn(Ph,jh,Kt,Te,zn):CS)){Th=!1;break}Ym||(Ym=Ja=="constructor")}if(Th&&!Ym){var Nh=Rt.constructor,Ih=qt.constructor;Nh==Ih||!("constructor"in Rt)||!("constructor"in qt)||typeof Nh=="function"&&Nh instanceof Nh&&typeof Ih=="function"&&Ih instanceof Ih||(Th=!1)}return zn.delete(Rt),zn.delete(qt),Th}(jt,F,z,Q,lt,zt)):!1}(P,L,Z,ht,Xa,re))}function Os(P){return!(!Bh(P)||function(L){return!!U&&U in L}(P))&&(Tc(P)?gt:E).test(Wo(P))}function Vr(P){if(Z=(L=P)&&L.constructor,ht=typeof Z=="function"&&Z.prototype||x,L!==ht)return Ht(P);var L,Z,ht,re=[];for(var jt in Object(P))V.call(P,jt)&&jt!="constructor"&&re.push(jt);return re}function br(P,L,Z,ht,re,jt){var F=1&Z,z=P.length,Q=L.length;if(z!=Q&&!(F&&Q>z))return!1;var lt=jt.get(P);if(lt&&jt.get(L))return lt==L;var zt=-1,ge=!0,oe=2&Z?new un:void 0;for(jt.set(P,L),jt.set(L,P);++zt<z;){var Gt=P[zt],tn=L[zt];if(ht)var xn=F?ht(tn,Gt,zt,L,P,jt):ht(Gt,tn,zt,P,L,jt);if(xn!==void 0){if(xn)continue;ge=!1;break}if(oe){if(!J(L,function(Za,qo){if(Ei=qo,!oe.has(Ei)&&(Gt===Za||re(Gt,Za,Z,ht,jt)))return oe.push(qo);var Ei})){ge=!1;break}}else if(Gt!==tn&&!re(Gt,tn,Z,ht,jt)){ge=!1;break}}return jt.delete(P),jt.delete(L),ge}function Uo(P){return function(L,Z,ht){var re=Z(L);return Go(L)?re:function(jt,F){for(var z=-1,Q=F.length,lt=jt.length;++z<Q;)jt[lt+z]=F[z];return jt}(re,ht(L))}(P,_h,Oh)}function Ur(P,L){var Z,ht,re=P.__data__;return((ht=typeof(Z=L))=="string"||ht=="number"||ht=="symbol"||ht=="boolean"?Z!=="__proto__":Z===null)?re[typeof L=="string"?"string":"hash"]:re.map}function bi(P,L){var Z=function(ht,re){return ht==null?void 0:ht[re]}(P,L);return Os(Z)?Z:void 0}Cn.prototype.clear=function(){this.__data__=$r?$r(null):{},this.size=0},Cn.prototype.delete=function(P){var L=this.has(P)&&delete this.__data__[P];return this.size-=L?1:0,L},Cn.prototype.get=function(P){var L=this.__data__;if($r){var Z=L[P];return Z===n?void 0:Z}return V.call(L,P)?L[P]:void 0},Cn.prototype.has=function(P){var L=this.__data__;return $r?L[P]!==void 0:V.call(L,P)},Cn.prototype.set=function(P,L){var Z=this.__data__;return this.size+=this.has(P)?0:1,Z[P]=$r&&L===void 0?n:L,this},Sn.prototype.clear=function(){this.__data__=[],this.size=0},Sn.prototype.delete=function(P){var L=this.__data__,Z=yi(L,P);return!(Z<0)&&(Z==L.length-1?L.pop():At.call(L,Z,1),--this.size,!0)},Sn.prototype.get=function(P){var L=this.__data__,Z=yi(L,P);return Z<0?void 0:L[Z][1]},Sn.prototype.has=function(P){return yi(this.__data__,P)>-1},Sn.prototype.set=function(P,L){var Z=this.__data__,ht=yi(Z,P);return ht<0?(++this.size,Z.push([P,L])):Z[ht][1]=L,this},Pn.prototype.clear=function(){this.size=0,this.__data__={hash:new Cn,map:new(be||Sn),string:new Cn}},Pn.prototype.delete=function(P){var L=Ur(this,P).delete(P);return this.size-=L?1:0,L},Pn.prototype.get=function(P){return Ur(this,P).get(P)},Pn.prototype.has=function(P){return Ur(this,P).has(P)},Pn.prototype.set=function(P,L){var Z=Ur(this,P),ht=Z.size;return Z.set(P,L),this.size+=Z.size==ht?0:1,this},un.prototype.add=un.prototype.push=function(P){return this.__data__.set(P,n),this},un.prototype.has=function(P){return this.__data__.has(P)},yr.prototype.clear=function(){this.__data__=new Sn,this.size=0},yr.prototype.delete=function(P){var L=this.__data__,Z=L.delete(P);return this.size=L.size,Z},yr.prototype.get=function(P){return this.__data__.get(P)},yr.prototype.has=function(P){return this.__data__.has(P)},yr.prototype.set=function(P,L){var Z=this.__data__;if(Z instanceof Sn){var ht=Z.__data__;if(!be||ht.length<199)return ht.push([P,L]),this.size=++Z.size,this;Z=this.__data__=new Pn(ht)}return Z.set(P,L),this.size=Z.size,this};var Oh=Ot?function(P){return P==null?[]:(P=Object(P),function(L,Z){for(var ht=-1,re=L==null?0:L.length,jt=0,F=[];++ht<re;){var z=L[ht];Z(z,ht,L)&&(F[jt++]=z)}return F}(Ot(P),function(L){return Lt.call(P,L)}))}:function(){return[]},Qn=Vo;function Fc(P,L){return!!(L=L==null?r:L)&&(typeof P=="number"||S.test(P))&&P>-1&&P%1==0&&P<L}function Wo(P){if(P!=null){try{return H.call(P)}catch{}try{return P+""}catch{}}return""}function ks(P,L){return P===L||P!=P&&L!=L}(ne&&Qn(new ne(new ArrayBuffer(1)))!=w||be&&Qn(new be)!=c||En&&Qn(En.resolve())!=d||$t&&Qn(new $t)!=g||Mn&&Qn(new Mn)!=h)&&(Qn=function(P){var L=Vo(P),Z=L==p?P.constructor:void 0,ht=Z?Wo(Z):"";if(ht)switch(ht){case lo:return w;case xs:return c;case Ya:return d;case Hr:return g;case co:return h}return L});var kh=As(function(){return arguments}())?As:function(P){return wi(P)&&V.call(P,"callee")&&!Lt.call(P,"callee")},Go=Array.isArray,fo=Fe||function(){return!1};function Tc(P){if(!Bh(P))return!1;var L=Vo(P);return L==l||L=="[object GeneratorFunction]"||L=="[object AsyncFunction]"||L=="[object Proxy]"}function po(P){return typeof P=="number"&&P>-1&&P%1==0&&P<=r}function Bh(P){var L=typeof P;return P!=null&&(L=="object"||L=="function")}function wi(P){return P!=null&&typeof P=="object"}var ho=K?function(P){return function(L){return P(L)}}(K):function(P){return wi(P)&&po(P.length)&&!!C[Vo(P)]};function _h(P){return(L=P)!=null&&po(L.length)&&!Tc(L)?_c(P):Vr(P);var L}t.exports=function(P,L){return Xa(P,L)}});Zn("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"}}),Zn("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 $B=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function bR(t){var e={exports:{}};return t(e,e.exports),e.exports}var $i,yg,O0=function(t){return t&&t.Math==Math&&t},Pt=O0(typeof globalThis=="object"&&globalThis)||O0(typeof window=="object"&&window)||O0(typeof self=="object"&&self)||O0(typeof $B=="object"&&$B)||function(){return this}()||Function("return this")(),Je=function(t){try{return!!t()}catch{return!0}},Ia=!Je(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Ff=Function.prototype.call,Ke=Ff.bind?Ff.bind(Ff):function(){return Ff.apply(Ff,arguments)},HB={}.propertyIsEnumerable,VB=Object.getOwnPropertyDescriptor,Vlt={f:VB&&!HB.call({1:2},1)?function(t){var e=VB(this,t);return!!e&&e.enumerable}:HB},VC=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},wR=Function.prototype,Z6=wR.bind,J6=wR.call,Ult=Z6&&Z6.bind(J6),Mt=Z6?function(t){return t&&Ult(J6,t)}:function(t){return t&&function(){return J6.apply(t,arguments)}},Wlt=Mt({}.toString),Glt=Mt("".slice),ba=function(t){return Glt(Wlt(t),8,-1)},W2=Pt.Object,qlt=Mt("".split),ER=Je(function(){return!W2("z").propertyIsEnumerable(0)})?function(t){return ba(t)=="String"?qlt(t,""):W2(t)}:W2,Klt=Pt.TypeError,La=function(t){if(t==null)throw Klt("Can't call method on "+t);return t},gh=function(t){return ER(La(t))},bn=function(t){return typeof t=="function"},_r=function(t){return typeof t=="object"?t!==null:bn(t)},Ylt=function(t){return bn(t)?t:void 0},vh=function(t,e){return arguments.length<2?Ylt(Pt[t]):Pt[t]&&Pt[t][e]},DR=Mt({}.isPrototypeOf),G2=vh("navigator","userAgent")||"",UB=Pt.process,WB=Pt.Deno,GB=UB&&UB.versions||WB&&WB.version,qB=GB&&GB.v8;qB&&(yg=($i=qB.split("."))[0]>0&&$i[0]<4?1:+($i[0]+$i[1])),!yg&&G2&&(!($i=G2.match(/Edge\/(\d+)/))||$i[1]>=74)&&($i=G2.match(/Chrome\/(\d+)/))&&(yg=+$i[1]);var Q6=yg,t3=!!Object.getOwnPropertySymbols&&!Je(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Q6&&Q6<41}),UC=t3&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Xlt=Pt.Object,q2=UC?function(t){return typeof t=="symbol"}:function(t){var e=vh("Symbol");return bn(e)&&DR(e.prototype,Xlt(t))},Zlt=Pt.String,CR=function(t){try{return Zlt(t)}catch{return"Object"}},Jlt=Pt.TypeError,SR=function(t){if(bn(t))return t;throw Jlt(CR(t)+" is not a function")},WC=function(t,e){var n=t[e];return n==null?void 0:SR(n)},Qlt=Pt.TypeError,tct=Object.defineProperty,GC=function(t,e){try{tct(Pt,t,{value:e,configurable:!0,writable:!0})}catch{Pt[t]=e}return e},wa=Pt["__core-js_shared__"]||GC("__core-js_shared__",{}),qC=bR(function(t){(t.exports=function(e,n){return wa[e]||(wa[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),ect=Pt.Object,KC=function(t){return ect(La(t))},nct=Mt({}.hasOwnProperty),Tr=Object.hasOwn||function(t,e){return nct(KC(t),e)},rct=0,oct=Math.random(),ict=Mt(1 .toString),xR=function(t){return"Symbol("+(t===void 0?"":t)+")_"+ict(++rct+oct,36)},Tf=qC("wks"),Wu=Pt.Symbol,KB=Wu&&Wu.for,act=UC?Wu:Wu&&Wu.withoutSetter||xR,zr=function(t){if(!Tr(Tf,t)||!t3&&typeof Tf[t]!="string"){var e="Symbol."+t;t3&&Tr(Wu,t)?Tf[t]=Wu[t]:Tf[t]=UC&&KB?KB(e):act(e)}return Tf[t]},uct=Pt.TypeError,sct=zr("toPrimitive"),YC=function(t){var e=function(n,r){if(!_r(n)||q2(n))return n;var o,i=WC(n,sct);if(i){if(r===void 0&&(r="default"),o=Ke(i,n,r),!_r(o)||q2(o))return o;throw uct("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&bn(s=a.toString)&&!_r(l=Ke(s,a))||bn(s=a.valueOf)&&!_r(l=Ke(s,a))||u!=="string"&&bn(s=a.toString)&&!_r(l=Ke(s,a)))return l;throw Qlt("Can't convert object to primitive value")}(n,r)}(t,"string");return q2(e)?e:e+""},e3=Pt.document,lct=_r(e3)&&_r(e3.createElement),XC=function(t){return lct?e3.createElement(t):{}},AR=!Ia&&!Je(function(){return Object.defineProperty(XC("div"),"a",{get:function(){return 7}}).a!=7}),YB=Object.getOwnPropertyDescriptor,OR={f:Ia?YB:function(t,e){if(t=gh(t),e=YC(e),AR)try{return YB(t,e)}catch{}if(Tr(t,e))return VC(!Ke(Vlt.f,t,e),t[e])}},cct=Pt.String,fct=Pt.TypeError,Pr=function(t){if(_r(t))return t;throw fct(cct(t)+" is not an object")},dct=Pt.TypeError,XB=Object.defineProperty,mh={f:Ia?XB:function(t,e,n){if(Pr(t),e=YC(e),Pr(n),AR)try{return XB(t,e,n)}catch{}if("get"in n||"set"in n)throw dct("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},rc=Ia?function(t,e,n){return mh.f(t,e,VC(1,n))}:function(t,e,n){return t[e]=n,t},pct=Mt(Function.toString);bn(wa.inspectSource)||(wa.inspectSource=function(t){return pct(t)});var Qv,Od,t1,ZC=wa.inspectSource,ZB=Pt.WeakMap,hct=bn(ZB)&&/native code/.test(ZC(ZB)),JB=qC("keys"),kR=function(t){return JB[t]||(JB[t]=xR(t))},JC={},n3=Pt.TypeError,gct=Pt.WeakMap;if(hct||wa.state){var su=wa.state||(wa.state=new gct),vct=Mt(su.get),QB=Mt(su.has),mct=Mt(su.set);Qv=function(t,e){if(QB(su,t))throw new n3("Object already initialized");return e.facade=t,mct(su,t,e),e},Od=function(t){return vct(su,t)||{}},t1=function(t){return QB(su,t)}}else{var Ys=kR("state");JC[Ys]=!0,Qv=function(t,e){if(Tr(t,Ys))throw new n3("Object already initialized");return e.facade=t,rc(t,Ys,e),e},Od=function(t){return Tr(t,Ys)?t[Ys]:{}},t1=function(t){return Tr(t,Ys)}}var r3={set:Qv,get:Od,has:t1,enforce:function(t){return t1(t)?Od(t):Qv(t,{})},getterFor:function(t){return function(e){var n;if(!_r(e)||(n=Od(e)).type!==t)throw n3("Incompatible receiver, "+t+" required");return n}}},BR=Function.prototype,yct=Ia&&Object.getOwnPropertyDescriptor,K2=Tr(BR,"name"),QC={EXISTS:K2,PROPER:K2&&function(){}.name==="something",CONFIGURABLE:K2&&(!Ia||Ia&&yct(BR,"name").configurable)},dp=bR(function(t){var e=QC.CONFIGURABLE,n=r3.get,r=r3.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;bn(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Tr(u,"name")||e&&u.name!==d)&&rc(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==Pt?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:rc(i,a,u)):f?i[a]=u:GC(a,u)})(Function.prototype,"toString",function(){return bn(this)&&n(this).source||ZC(this)})}),bct=Math.ceil,wct=Math.floor,_m=function(t){var e=+t;return e!=e||e===0?0:(e>0?wct:bct)(e)},Ect=Math.max,Dct=Math.min,pp=function(t,e){var n=_m(t);return n<0?Ect(n+e,0):Dct(n,e)},Cct=Math.min,t8=function(t){return t>0?Cct(_m(t),9007199254740991):0},Fm=function(t){return t8(t.length)},Sct=function(t){return function(e,n,r){var o,i=gh(e),a=Fm(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}},xct=Sct(!1),t_=Mt([].push),_R=function(t,e){var n,r=gh(t),o=0,i=[];for(n in r)!Tr(JC,n)&&Tr(r,n)&&t_(i,n);for(;e.length>o;)Tr(r,n=e[o++])&&(~xct(i,n)||t_(i,n));return i},e1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Act=e1.concat("length","prototype"),Oct={f:Object.getOwnPropertyNames||function(t){return _R(t,Act)}},kct={f:Object.getOwnPropertySymbols},Bct=Mt([].concat),_ct=vh("Reflect","ownKeys")||function(t){var e=Oct.f(Pr(t)),n=kct.f;return n?Bct(e,n(t)):e},Fct=function(t,e){for(var n=_ct(e),r=mh.f,o=OR.f,i=0;i<n.length;i++){var a=n[i];Tr(t,a)||r(t,a,o(e,a))}},Tct=/#|\.prototype\./,yh=function(t,e){var n=jct[Pct(t)];return n==Ict||n!=Nct&&(bn(e)?Je(e):!!e)},Pct=yh.normalize=function(t){return String(t).replace(Tct,".").toLowerCase()},jct=yh.data={},Nct=yh.NATIVE="N",Ict=yh.POLYFILL="P",Lct=yh,Rct=OR.f,Ra=function(t,e){var n,r,o,i,a,u=t.target,s=t.global,l=t.stat;if(n=s?Pt:l?Pt[u]||GC(u,{}):(Pt[u]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=Rct(n,r))&&a.value:n[r],!Lct(s?r:u+(l?".":"#")+r,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;Fct(i,o)}(t.sham||o&&o.sham)&&rc(i,"sham",!0),dp(n,r,i,t)}},FR={};FR[zr("toStringTag")]="z";var e8=String(FR)==="[object z]",Mct=zr("toStringTag"),zct=Pt.Object,$ct=ba(function(){return arguments}())=="Arguments",n8=e8?ba:function(t){var e,n,r;return t===void 0?"Undefined":t===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(e=zct(t),Mct))=="string"?n:$ct?ba(e):(r=ba(e))=="Object"&&bn(e.callee)?"Arguments":r},Hct=Pt.String,Bn=function(t){if(n8(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Hct(t)},Vct=/"/g,Uct=Mt("".replace);Ra({target:"String",proto:!0,forced:Je(function(){var t="".anchor('"');return t!==t.toLowerCase()||t.split('"').length>3})},{anchor:function(t){return e=t,n=Bn(La(this)),r="<a",(r+=' name="'+Uct(Bn(e),Vct,"&quot;")+'"')+">"+n+"</a>";var e,n,r}});var k0,TR=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},r8=Pt.RegExp,o3=Je(function(){var t=r8("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),Wct=o3||Je(function(){return!r8("a","y").sticky}),PR={BROKEN_CARET:o3||Je(function(){var t=r8("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),MISSED_STICKY:Wct,UNSUPPORTED_Y:o3},Gct=Object.keys||function(t){return _R(t,e1)},qct=Ia?Object.defineProperties:function(t,e){Pr(t);for(var n,r=gh(e),o=Gct(e),i=o.length,a=0;i>a;)mh.f(t,n=o[a++],r[n]);return t},Kct=vh("document","documentElement"),jR=kR("IE_PROTO"),Y2=function(){},NR=function(t){return"<script>"+t+"<\/script>"},e_=function(t){t.write(NR("")),t.close();var e=t.parentWindow.Object;return t=null,e},bg=function(){try{k0=new ActiveXObject("htmlfile")}catch{}var t,e;bg=typeof document<"u"?document.domain&&k0?e_(k0):((e=XC("iframe")).style.display="none",Kct.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(NR("document.F=Object")),t.close(),t.F):e_(k0);for(var n=e1.length;n--;)delete bg.prototype[e1[n]];return bg()};JC[jR]=!0;var n_,X2,IR=Object.create||function(t,e){var n;return t!==null?(Y2.prototype=Pr(t),n=new Y2,Y2.prototype=null,n[jR]=t):n=bg(),e===void 0?n:qct(n,e)},Yct=Pt.RegExp,Xct=Je(function(){var t=Yct(".","s");return!(t.dotAll&&t.exec(`
  118. `)&&t.flags==="s")}),Zct=Pt.RegExp,Jct=Je(function(){var t=Zct("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),Qct=r3.get,tft=qC("native-string-replace",String.prototype.replace),n1=RegExp.prototype.exec,i3=n1,eft=Mt("".charAt),nft=Mt("".indexOf),rft=Mt("".replace),Z2=Mt("".slice),J2=(X2=/b*/g,Ke(n1,n_=/a/,"a"),Ke(n1,X2,"a"),n_.lastIndex!==0||X2.lastIndex!==0),r_=PR.BROKEN_CARET,Q2=/()??/.exec("")[1]!==void 0;(J2||Q2||r_||Xct||Jct)&&(i3=function(t){var e,n,r,o,i,a,u,s=this,l=Qct(s),c=Bn(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=Ke(i3,f,c),s.lastIndex=f.lastIndex,e;var p=l.groups,d=r_&&s.sticky,m=Ke(TR,s),g=s.source,v=0,y=c;if(d&&(m=rft(m,"y",""),nft(m,"g")===-1&&(m+="g"),y=Z2(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&eft(c,s.lastIndex-1)!==`
  119. `)&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",m)),Q2&&(n=new RegExp("^"+g+"$(?!\\s)",m)),J2&&(r=s.lastIndex),o=Ke(n1,d?n:s,y),d?o?(o.input=Z2(o.input,v),o[0]=Z2(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:J2&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),Q2&&o&&o.length>1&&Ke(tft,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=IR(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var hp=i3;Ra({target:"RegExp",proto:!0,forced:/./.exec!==hp},{exec:hp});var r1=Array.isArray||function(t){return ba(t)=="Array"},LR=function(){},oft=[],RR=vh("Reflect","construct"),o8=/^\s*(?:class|function)\b/,ift=Mt(o8.exec),aft=!o8.exec(LR),Pf=function(t){if(!bn(t))return!1;try{return RR(LR,oft,t),!0}catch{return!1}},i8=!RR||Je(function(){var t;return Pf(Pf.call)||!Pf(Object)||!Pf(function(){t=!0})||t})?function(t){if(!bn(t))return!1;switch(n8(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return aft||!!ift(o8,ZC(t))}:Pf,MR=function(t,e,n){var r=YC(e);r in t?mh.f(t,r,VC(0,n)):t[r]=n},uft=zr("species"),a8=function(t){return Q6>=51||!Je(function(){var e=[];return(e.constructor={})[uft]=function(){return{foo:1}},e[t](Boolean).foo!==1})},sft=Mt([].slice),lft=a8("slice"),cft=zr("species"),tw=Pt.Array,fft=Math.max;function uo(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 o_(t){var e=t.selection;if(e==null)return!1;var n=uo(D.nodes(t,{match:function(i){return A.checkNodeType(i,"table-cell")}}),1)[0];if(n){var r=uo(n,2)[1],o=D.start(t,r);if(_t.equals(e.anchor,o))return!0}return!1}function i_(t,e){var n,r,o=D.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}Ra({target:"Array",proto:!0,forced:!lft},{slice:function(t,e){var n,r,o,i=gh(this),a=Fm(i),u=pp(t,a),s=pp(e===void 0?a:e,a);if(r1(i)&&(n=i.constructor,(i8(n)&&(n===tw||r1(n.prototype))||_r(n)&&(n=n[cft])===null)&&(n=void 0),n===tw||n===void 0))return sft(i,u,s);for(r=new(n===void 0?tw:n)(fft(s-u,0)),o=0;u<s;u++,o++)u in i&&MR(r,o,i[u]);return r.length=o,r}});var a_=Mt(Mt.bind),dft=zr("species"),u_=Pt.Array,pft=function(t,e){return new(function(n){var r;return r1(n)&&(r=n.constructor,(i8(r)&&(r===u_||r1(r.prototype))||_r(r)&&(r=r[dft])===null)&&(r=void 0)),r===void 0?u_:r}(t))(e===0?0:e)},s_=Mt([].push),Hi=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,m=KC(s),g=ER(m),v=function(E,S){return SR(E),S===void 0?E:a_?a_(E,S):function(){return E.apply(S,arguments)}}(l,c),y=Fm(g),h=0,b=f||pft,w=e?b(s,y):n||a?b(s,0):void 0;y>h;h++)if((u||h in g)&&(d=v(p=g[h],h,m),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:s_(w,p)}else switch(t){case 4:return!1;case 7:s_(w,p)}return i?-1:r||o?o:w}},Tm={forEach:Hi(0),map:Hi(1),filter:Hi(2),some:Hi(3),every:Hi(4),find:Hi(5),findIndex:Hi(6),filterReject:Hi(7)},hft=Tm.map;Ra({target:"Array",proto:!0,forced:!a8("map")},{map:function(t){return hft(this,t,arguments.length>1?arguments[1]:void 0)}});var gft=e8?{}.toString:function(){return"[object "+n8(this)+"]"};function Pm(t){var e=t.children||[];return e.length===0?[]:(e[0]||{}).children||[]}function zR(t){return Pm(t).every(function(e){return!!e.isHeader})}e8||dp(Object.prototype,"toString",gft,{unsafe:!0});var vft=QC.PROPER,a3=RegExp.prototype,$R=a3.toString,mft=Mt(TR),yft=Je(function(){return $R.call({source:"a",flags:"b"})!="/a/b"}),bft=vft&&$R.name!="toString";(yft||bft)&&dp(RegExp.prototype,"toString",function(){var t=Pr(this),e=Bn(t.source),n=t.flags;return"/"+e+"/"+Bn(n===void 0&&DR(a3,t)&&!("flags"in a3)?mft(t):n)},{unsafe:!0});var u3=zr("unscopables"),s3=Array.prototype;s3[u3]==null&&mh.f(s3,u3,{configurable:!0,value:IR(null)});var wft=Tm.find,l_=!0;"find"in[]&&Array(1).find(function(){l_=!1}),Ra({target:"Array",proto:!0,forced:l_},{find:function(t){return wft(this,t,arguments.length>1?arguments[1]:void 0)}}),s3[u3].find=!0;var u8=Function.prototype,c_=u8.apply,Eft=u8.bind,f_=u8.call,HR=typeof Reflect=="object"&&Reflect.apply||(Eft?f_.bind(c_):function(){return f_.apply(c_,arguments)}),Dft=zr("species"),ew=RegExp.prototype,VR=function(t,e,n,r){var o=zr(t),i=!Je(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!Je(function(){var l=!1,c=/a/;return t==="split"&&((c={}).constructor={},c.constructor[Dft]=function(){return c},c.flags="",c[o]=/./[o]),c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=Mt(/./[o]),s=e(o,""[t],function(l,c,f,p,d){var m=Mt(l),g=c.exec;return g===hp||g===ew.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:m(f,c,p)}:{done:!1}});dp(String.prototype,t,s[0]),dp(ew,o,s[1])}r&&rc(ew[o],"sham",!0)},Cft=zr("match"),Sft=Pt.TypeError,xft=zr("species"),Aft=Mt("".charAt),d_=Mt("".charCodeAt),Oft=Mt("".slice),kft=function(t){return function(e,n){var r,o,i=Bn(La(e)),a=_m(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?Aft(i,a):r:t?Oft(i,a,a+2):o-56320+(r-55296<<10)+65536}},Bft=kft(!0),UR=function(t,e,n){return e+(n?Bft(t,e).length:1)},_ft=Pt.Array,Fft=Math.max,p_=function(t,e,n){for(var r=Fm(t),o=pp(e,r),i=pp(n===void 0?r:n,r),a=_ft(Fft(i-o,0)),u=0;o<i;o++,u++)MR(a,u,t[o]);return a.length=u,a},Tft=Pt.TypeError,l3=function(t,e){var n=t.exec;if(bn(n)){var r=Ke(n,t,e);return r!==null&&Pr(r),r}if(ba(t)==="RegExp")return Ke(hp,t,e);throw Tft("RegExp#exec called on incompatible receiver")},Xs=PR.UNSUPPORTED_Y,Pft=Math.min,WR=[].push,jft=Mt(/./.exec),Zs=Mt(WR),jf=Mt("".slice);VR("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=Bn(La(this)),l=i===void 0?4294967295:i>>>0;if(l===0)return[];if(o===void 0)return[s];if(!_r(a=o)||!((u=a[Cft])!==void 0?u:ba(a)=="RegExp"))return Ke(e,s,o,l);for(var c,f,p,d=[],m=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(o.sticky?"y":""),g=0,v=new RegExp(o.source,m+"g");(c=Ke(hp,v,s))&&!((f=v.lastIndex)>g&&(Zs(d,jf(s,g,c.index)),c.length>1&&c.index<s.length&&HR(WR,d,p_(c,1)),p=c[0].length,g=f,d.length>=l));)v.lastIndex===c.index&&v.lastIndex++;return g===s.length?!p&&jft(v,"")||Zs(d,""):Zs(d,jf(s,g)),d.length>l?p_(d,0,l):d}:"0".split(void 0,0).length?function(o,i){return o===void 0&&i===0?[]:Ke(e,this,o,i)}:e,[function(o,i){var a=La(this),u=o==null?void 0:WC(o,t);return u?Ke(u,o,a,i):Ke(r,Bn(a),o,i)},function(o,i){var a=Pr(this),u=Bn(o),s=n(r,a,u,i,r!==e);if(s.done)return s.value;var l=function(w,E){var S,C=Pr(w).constructor;return C===void 0||(S=Pr(C)[xft])==null?E:function(O){if(i8(O))return O;throw Sft(CR(O)+" is not a constructor")}(S)}(a,RegExp),c=a.unicode,f=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(Xs?"g":"y"),p=new l(Xs?"^(?:"+a.source+")":a,f),d=i===void 0?4294967295:i>>>0;if(d===0)return[];if(u.length===0)return l3(p,u)===null?[u]:[];for(var m=0,g=0,v=[];g<u.length;){p.lastIndex=Xs?0:g;var y,h=l3(p,Xs?jf(u,g):u);if(h===null||(y=Pft(t8(p.lastIndex+(Xs?g:0)),u.length))===m)g=UR(u,g,c);else{if(Zs(v,jf(u,m,g)),v.length===d)return v;for(var b=1;b<=h.length-1;b++)if(Zs(v,h[b]),v.length===d)return v;g=m=y}}return Zs(v,jf(u,m)),v}]},!!Je(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"}),Xs);var c3=`
  120. \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,h_=Mt("".replace),o1="["+c3+"]",Nft=RegExp("^"+o1+o1+"*"),Ift=RegExp(o1+o1+"*$"),nw=function(t){return function(e){var n=Bn(La(e));return 1&t&&(n=h_(n,Nft,"")),2&t&&(n=h_(n,Ift,"")),n}},Lft={start:nw(1),end:nw(2),trim:nw(3)},Rft=QC.PROPER,Mft=Lft.trim;function GR(t){return t.length?t[0].tagName.toLowerCase():""}Ra({target:"String",proto:!0,forced:function(t){return Je(function(){return!!c3[t]()||"\u200B\x85\u180E"[t]()!=="\u200B\x85\u180E"||Rft&&c3[t].name!==t})}("trim")},{trim:function(){return Mft(this)}}),Ra({global:!0},{globalThis:Pt}),Ir&&(_.fn.append=Ir),jo&&(_.fn.on=jo),_a&&(_.fn.focus=_a),Nr&&(_.fn.attr=Nr),Po&&(_.fn.val=Po),Ba&&(_.fn.html=Ba),zl&&(_.fn.dataset=zl),Ll&&(_.fn.addClass=Ll),Rl&&(_.fn.removeClass=Rl),Ul&&(_.fn.children=Ul),av&&(_.fn.each=av),Vl&&(_.fn.find=Vl);var gp=!1,qR=0,KR=0,vp=null,mp=null,kd=_("body");function YR(t){gp=!1,mp=null,vp=null,kd.off("mousemove",XR),kd.off("mouseup",YR)}kd.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(),gp=!0;var n=t.clientX;qR=n;var r=e.getBoundingClientRect().width;KR=r,kd.on("mousemove",XR),kd.on("mouseup",YR)}});var XR=es(function(t){if(gp&&mp!=null&&vp!=null){t.preventDefault();var e=t.clientX,n=KR+(e-qR);(n=Math.floor(100*n)/100)<30&&(n=30),N.setNodes(mp,{width:n.toString()},{at:vp})}},100),zft={type:"table",renderElem:function(t,e,n){var r=function(u,s){if(u.isDisabled())return!1;var l=u.selection;if(l==null||R.isCollapsed(l))return!0;var c=l.anchor,f=l.focus,p=A.findPath(u,s),d=D.start(u,p),m=D.end(u,p),g=_t.compare(c,m)<=0&&_t.compare(c,d)>=0,v=_t.compare(f,m)<=0&&_t.compare(f,d)>=0;return!!(g&&v&&j.equals(c.path.slice(0,3),f.path.slice(0,3)))}(n,t),o=t.width,i=o===void 0?"auto":o,a=bt("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=D.start(n,s),c=n.selection;c!=null?c.anchor.path[0]!==s[0]&&n.select(l):n.select(l)}}}},bt("table",{width:i,contentEditable:r},bt("colgroup",null,Pm(t).map(function(u){var s=u.width;return bt("col",{width:s===void 0?"auto":s})})),bt("tbody",null,e)));return a}},$ft={type:"table-row",renderElem:function(t,e,n){return bt("tr",null,e)}},Hft={type:"table-cell",renderElem:function(t,e,n){var r=function(p,d){var m=A.getParentNode(p,d);if(m==null)return!1;var g=A.getParentNode(p,m);return g!=null&&Pm(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 bt("td",{colSpan:a,rowSpan:s},e);var f=bt(c?"th":"td",{colSpan:a,rowSpan:s,style:{borderRightWidth:"3px"},on:{mousemove:es(function(p){var d=this.elm;if(d!=null){var m=d.getBoundingClientRect(),g=m.left,v=m.width,y=m.top,h=m.height,b=p.clientX,w=p.clientY;gp||(b>g+v-5&&b<g+v&&w>y&&w<y+h?(d.style.cursor="col-resize",mp=n,vp=A.findPath(n,t)):gp||(d.style.cursor="auto",mp=null,vp=null))}},100)}},e);return f}},Vft={selector:"table",preParseHtml:function(t){var e=_(t);if(GR(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]}},Uft=Tm.filter;Ra({target:"Array",proto:!0,forced:!a8("filter")},{filter:function(t){return Uft(this,t,arguments.length>1?arguments[1]:void 0)}});var Wft=Math.floor,rw=Mt("".charAt),Gft=Mt("".replace),ow=Mt("".slice),qft=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Kft=/\$([$&'`]|\d{1,2})/g,Yft=function(t,e,n,r,o,i){var a=n+t.length,u=r.length,s=Kft;return o!==void 0&&(o=KC(o),s=qft),Gft(i,s,function(l,c){var f;switch(rw(c,0)){case"$":return"$";case"&":return t;case"`":return ow(e,0,n);case"'":return ow(e,a);case"<":f=o[ow(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>u){var d=Wft(p/10);return d===0?l:d<=u?r[d-1]===void 0?rw(c,1):r[d-1]+rw(c,1):l}f=r[p-1]}return f===void 0?"":f})},f3=zr("replace"),Xft=Math.max,Zft=Math.min,Jft=Mt([].concat),iw=Mt([].push),g_=Mt("".indexOf),v_=Mt("".slice),Qft="a".replace(/./,"$0")==="$0",m_=!!/./[f3]&&/./[f3]("a","$0")==="";VR("replace",function(t,e,n){var r=m_?"$":"$0";return[function(o,i){var a=La(this),u=o==null?void 0:WC(o,f3);return u?Ke(u,o,a,i):Ke(e,Bn(a),o,i)},function(o,i){var a=Pr(this),u=Bn(o);if(typeof i=="string"&&g_(i,r)===-1&&g_(i,"$<")===-1){var s=n(e,a,u,i);if(s.done)return s.value}var l=bn(i);l||(i=Bn(i));var c=a.global;if(c){var f=a.unicode;a.lastIndex=0}for(var p=[];;){var d=l3(a,u);if(d===null||(iw(p,d),!c))break;Bn(d[0])===""&&(a.lastIndex=UR(u,t8(a.lastIndex),f))}for(var m,g="",v=0,y=0;y<p.length;y++){for(var h=Bn((d=p[y])[0]),b=Xft(Zft(_m(d.index),u.length),0),w=[],E=1;E<d.length;E++)iw(w,(m=d[E])===void 0?m:String(m));var S=d.groups;if(l){var C=Jft([h],w,b,u);S!==void 0&&iw(C,S);var O=Bn(HR(i,void 0,C))}else O=Yft(h,u,b,w,S,i);b>=v&&(g+=v_(u,v,b)+O,v=b+h.length)}return g+v_(u,v)}]},!!Je(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$<a>")!=="7"})||!Qft||m_);var tdt={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=_(t);(e=e.filter(function(u){return!!it.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:GR(r)==="th",colSpan:o,rowSpan:i,width:a,children:e}}},edt={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"})}}},ndt={selector:"table:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=_(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"})}}},rdt=function(){function t(){this.title=et("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||!R.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=_('<div class="w-e-panel-content-table"></div>'),o=_("<span>0 &times; 0</span>"),i=_("<table></table>"),a=0;a<10;a++){for(var u=_("<tr></tr>"),s=0;s<10;s++){var l=_("<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=_(f).dataset(),d=p.x,m=p.y;o[0].innerHTML=d+1+" &times; "+(m+1),i.children().each(function(g){_(g).children().each(function(v){var y=_(v),h=y.dataset(),b=h.x,w=h.y;b<=d&&w<=m?y.addClass("active"):y.removeClass("active")})})}}),l.on("click",function(c){c.preventDefault();var f=c.target;if(f!=null){var p=_(f).dataset(),d=p.x,m=p.y;n.insertTable(e,m+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)&&N.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);N.insertNodes(e,a,{mode:"highest"})}},t}(),odt=function(){function t(){this.title=et("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)||N.removeNodes(e,{mode:"highest"})},t}(),idt=function(){function t(){this.title=et("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||!R.isCollapsed(n)||A.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r=uo(D.nodes(e,{match:function(d){return A.checkNodeType(d,"table-cell")},universal:!0}),1),o=uo(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=j.parent(a),p=j.next(f);N.insertNodes(e,l,{at:p})}}},t}(),adt=function(){function t(){this.title=et("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||!R.isCollapsed(n)||A.getSelectedNodeByType(e,"table-row")==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r=uo(D.nodes(e,{match:function(s){return A.checkNodeType(s,"table-row")},universal:!0}),1),o=uo(r[0],2),i=o[0],a=o[1],u=A.getParentNode(e,i);((u==null?void 0:u.children.length)||0)<=1?N.removeNodes(e,{mode:"highest"}):N.removeNodes(e,{at:a})}},t}(),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},aw=XC("span").classList,b_=aw&&aw.constructor&&aw.constructor.prototype,udt=b_===Object.prototype?void 0:b_,sdt=Tm.forEach,ldt=function(t,e){var n=[].forEach;return!!n&&Je(function(){n.call(null,function(){throw 1},1)})}(),uw=ldt?[].forEach:function(t){return sdt(this,t,arguments.length>1?arguments[1]:void 0)},ZR=function(t){if(t&&t.forEach!==uw)try{rc(t,"forEach",uw)}catch{t.forEach=uw}};for(var sw in y_)y_[sw]&&ZR(Pt[sw]&&Pt[sw].prototype);ZR(udt);var cdt=function(){function t(){this.title=et("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||!R.isCollapsed(n)||A.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r=uo(D.nodes(e,{match:function(l){return A.checkNodeType(l,"table-cell")},universal:!0}),1),o=uo(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){ct.isElement(l)&&(l.children||[]).forEach(function(f){var p=A.findPath(e,f);if(p.length===a.length&&yR(p.slice(-1),a.slice(-1))){var d={type:"table-cell",children:[{text:""}]};c===0&&zR(s)&&(d.isHeader=!0),N.insertNodes(e,d,{at:p})}})})}}},t}(),fdt=function(){function t(){this.title=et("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||!R.isCollapsed(n)||A.getSelectedNodeByType(e,"table-cell")==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r=uo(D.nodes(e,{match:function(c){return A.checkNodeType(c,"table-cell")},universal:!0}),1),o=uo(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)N.removeNodes(e,{mode:"highest"});else{var l=A.getParentNode(e,u);l!=null&&(l.children||[]).forEach(function(c){ct.isElement(c)&&(c.children||[]).forEach(function(f){var p=A.findPath(e,f);p.length===a.length&&yR(p.slice(-1),a.slice(-1))&&N.removeNodes(e,{at:p})})})}}},t}(),ddt=function(){function t(){this.title=et("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&&zR(n)},t.prototype.isActive=function(e){return!!this.getValue(e)},t.prototype.isDisabled=function(e){var n=e.selection;return n==null||!R.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&&Pm(o).forEach(function(i){return N.setNodes(e,{isHeader:r},{at:A.findPath(e,i)})})}},t}(),pdt=function(){function t(){this.title=et("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||!R.isCollapsed(n)||A.getSelectedNodeByType(e,"table")==null},t.prototype.exec=function(e,n){if(!this.isDisabled(e)){var r={width:n?"auto":"100%"};N.setNodes(e,r,{mode:"highest"})}},t}(),hdt={renderElems:[zft,$ft,Hft],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:[Vft],parseElemsHtml:[tdt,edt,ndt],menus:[{key:"insertTable",factory:function(){return new rdt}},{key:"deleteTable",factory:function(){return new odt}},{key:"insertTableRow",factory:function(){return new idt}},{key:"deleteTableRow",factory:function(){return new adt}},{key:"insertTableCol",factory:function(){return new cdt}},{key:"deleteTableCol",factory:function(){return new fdt}},{key:"tableHeader",factory:function(){return new ddt}},{key:"tableFullWidth",factory:function(){return new pdt}}],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(!o_(s)){var c=s.selection;if(c){var f=D.before(s,c);if(f){var p=i_(s,f),d=i_(s,c);if(p&&!d)return}}n(l)}},s.handleTab=function(){var l;if(A.getSelectedNodeByType(s,"table")){var c=D.above(t);A.checkNodeType(c[0],"table-cell")&&N.select(t,c[1]);var f=D.next(t);if(f)f[0]&&f[0].text&&(f=(l=D.above(t,{at:f[1]}))!==null&&l!==void 0?l:f),N.select(t,f[1]);else{var p=s.children||[],d=p.length;if(A.checkNodeType(p[d-1],"table")){var m=A.genEmptyParagraph();N.insertNodes(s,m,{at:[d]}),s.handleTab()}}}else a()},s.deleteForward=function(l){o_(s)||r(l)},s.normalizeNode=function(l){var c=uo(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();N.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):D.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(j.equals(f.path.slice(0,3),p.path.slice(0,3)))if(tt.string(c).length!==0){var d=A.findPath(s,c),m={anchor:D.start(s,d),focus:D.end(s,d)};s.select(m)}else u();else u()}else u()}else u()},s}};Zn("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"}}),Zn("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 i1=function(){return i1=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},i1.apply(this,arguments)};function jm(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 Nm(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 Gu(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 gdt(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 w_=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function s8(t){var e={exports:{}};return t(e,e.exports),e.exports}var Vi,wg,B0=function(t){return t&&t.Math==Math&&t},rt=B0(typeof globalThis=="object"&&globalThis)||B0(typeof window=="object"&&window)||B0(typeof self=="object"&&self)||B0(typeof w_=="object"&&w_)||function(){return this}()||Function("return this")(),he=function(t){try{return!!t()}catch{return!0}},Io=!he(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Nf=Function.prototype.call,fe=Nf.bind?Nf.bind(Nf):function(){return Nf.apply(Nf,arguments)},E_={}.propertyIsEnumerable,D_=Object.getOwnPropertyDescriptor,vdt={f:D_&&!E_.call({1:2},1)?function(t){var e=D_(this,t);return!!e&&e.enumerable}:E_},Im=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},JR=Function.prototype,d3=JR.bind,p3=JR.call,mdt=d3&&d3.bind(p3),Ct=d3?function(t){return t&&mdt(p3,t)}:function(t){return t&&function(){return p3.apply(t,arguments)}},ydt=Ct({}.toString),bdt=Ct("".slice),_o=function(t){return bdt(ydt(t),8,-1)},lw=rt.Object,wdt=Ct("".split),l8=he(function(){return!lw("z").propertyIsEnumerable(0)})?function(t){return _o(t)=="String"?wdt(t,""):lw(t)}:lw,Edt=rt.TypeError,bh=function(t){if(t==null)throw Edt("Can't call method on "+t);return t},Ga=function(t){return l8(bh(t))},ae=function(t){return typeof t=="function"},ve=function(t){return typeof t=="object"?t!==null:ae(t)},Ddt=function(t){return ae(t)?t:void 0},fs=function(t,e){return arguments.length<2?Ddt(rt[t]):rt[t]&&rt[t][e]},yp=Ct({}.isPrototypeOf),Ol=fs("navigator","userAgent")||"",C_=rt.process,S_=rt.Deno,x_=C_&&C_.versions||S_&&S_.version,A_=x_&&x_.v8;A_&&(wg=(Vi=A_.split("."))[0]>0&&Vi[0]<4?1:+(Vi[0]+Vi[1])),!wg&&Ol&&(!(Vi=Ol.match(/Edge\/(\d+)/))||Vi[1]>=74)&&(Vi=Ol.match(/Chrome\/(\d+)/))&&(wg=+Vi[1]);var bp=wg,h3=!!Object.getOwnPropertySymbols&&!he(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&bp&&bp<41}),c8=h3&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Cdt=rt.Object,cw=c8?function(t){return typeof t=="symbol"}:function(t){var e=fs("Symbol");return ae(e)&&yp(e.prototype,Cdt(t))},Sdt=rt.String,a1=function(t){try{return Sdt(t)}catch{return"Object"}},xdt=rt.TypeError,Ma=function(t){if(ae(t))return t;throw xdt(a1(t)+" is not a function")},wp=function(t,e){var n=t[e];return n==null?void 0:Ma(n)},Adt=rt.TypeError,Odt=Object.defineProperty,f8=function(t,e){try{Odt(rt,t,{value:e,configurable:!0,writable:!0})}catch{rt[t]=e}return e},Ea=rt["__core-js_shared__"]||f8("__core-js_shared__",{}),d8=s8(function(t){(t.exports=function(e,n){return Ea[e]||(Ea[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),kdt=rt.Object,Lm=function(t){return kdt(bh(t))},Bdt=Ct({}.hasOwnProperty),Xe=Object.hasOwn||function(t,e){return Bdt(Lm(t),e)},_dt=0,Fdt=Math.random(),Tdt=Ct(1 .toString),p8=function(t){return"Symbol("+(t===void 0?"":t)+")_"+Tdt(++_dt+Fdt,36)},If=d8("wks"),qu=rt.Symbol,O_=qu&&qu.for,Pdt=c8?qu:qu&&qu.withoutSetter||p8,ze=function(t){if(!Xe(If,t)||!h3&&typeof If[t]!="string"){var e="Symbol."+t;h3&&Xe(qu,t)?If[t]=qu[t]:If[t]=c8&&O_?O_(e):Pdt(e)}return If[t]},jdt=rt.TypeError,Ndt=ze("toPrimitive"),h8=function(t){var e=function(n,r){if(!ve(n)||cw(n))return n;var o,i=wp(n,Ndt);if(i){if(r===void 0&&(r="default"),o=fe(i,n,r),!ve(o)||cw(o))return o;throw jdt("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&ae(s=a.toString)&&!ve(l=fe(s,a))||ae(s=a.valueOf)&&!ve(l=fe(s,a))||u!=="string"&&ae(s=a.toString)&&!ve(l=fe(s,a)))return l;throw Adt("Can't convert object to primitive value")}(n,r)}(t,"string");return cw(e)?e:e+""},g3=rt.document,Idt=ve(g3)&&ve(g3.createElement),Ep=function(t){return Idt?g3.createElement(t):{}},QR=!Io&&!he(function(){return Object.defineProperty(Ep("div"),"a",{get:function(){return 7}}).a!=7}),k_=Object.getOwnPropertyDescriptor,g8={f:Io?k_:function(t,e){if(t=Ga(t),e=h8(e),QR)try{return k_(t,e)}catch{}if(Xe(t,e))return Im(!fe(vdt.f,t,e),t[e])}},Ldt=rt.String,Rdt=rt.TypeError,hn=function(t){if(ve(t))return t;throw Rdt(Ldt(t)+" is not an object")},Mdt=rt.TypeError,B_=Object.defineProperty,vi={f:Io?B_:function(t,e,n){if(hn(t),e=h8(e),hn(n),QR)try{return B_(t,e,n)}catch{}if("get"in n||"set"in n)throw Mdt("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Da=Io?function(t,e,n){return vi.f(t,e,Im(1,n))}:function(t,e,n){return t[e]=n,t},zdt=Ct(Function.toString);ae(Ea.inspectSource)||(Ea.inspectSource=function(t){return zdt(t)});var u1,Bd,s1,Rm=Ea.inspectSource,__=rt.WeakMap,tM=ae(__)&&/native code/.test(Rm(__)),F_=d8("keys"),v8=function(t){return F_[t]||(F_[t]=p8(t))},Mm={},v3=rt.TypeError,$dt=rt.WeakMap;if(tM||Ea.state){var lu=Ea.state||(Ea.state=new $dt),Hdt=Ct(lu.get),T_=Ct(lu.has),Vdt=Ct(lu.set);u1=function(t,e){if(T_(lu,t))throw new v3("Object already initialized");return e.facade=t,Vdt(lu,t,e),e},Bd=function(t){return Hdt(lu,t)||{}},s1=function(t){return T_(lu,t)}}else{var Js=v8("state");Mm[Js]=!0,u1=function(t,e){if(Xe(t,Js))throw new v3("Object already initialized");return e.facade=t,Da(t,Js,e),e},Bd=function(t){return Xe(t,Js)?t[Js]:{}},s1=function(t){return Xe(t,Js)}}var hr={set:u1,get:Bd,has:s1,enforce:function(t){return s1(t)?Bd(t):u1(t,{})},getterFor:function(t){return function(e){var n;if(!ve(e)||(n=Bd(e)).type!==t)throw v3("Incompatible receiver, "+t+" required");return n}}},eM=Function.prototype,Udt=Io&&Object.getOwnPropertyDescriptor,fw=Xe(eM,"name"),Bc={EXISTS:fw,PROPER:fw&&function(){}.name==="something",CONFIGURABLE:fw&&(!Io||Io&&Udt(eM,"name").configurable)},sr=s8(function(t){var e=Bc.CONFIGURABLE,n=hr.get,r=hr.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;ae(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Xe(u,"name")||e&&u.name!==d)&&Da(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==rt?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:Da(i,a,u)):f?i[a]=u:f8(a,u)})(Function.prototype,"toString",function(){return ae(this)&&n(this).source||Rm(this)})}),Wdt=Math.ceil,Gdt=Math.floor,zm=function(t){var e=+t;return e!=e||e===0?0:(e>0?Gdt:Wdt)(e)},qdt=Math.max,Kdt=Math.min,Dp=function(t,e){var n=zm(t);return n<0?qdt(n+e,0):Kdt(n,e)},Ydt=Math.min,nM=function(t){return t>0?Ydt(zm(t),9007199254740991):0},wh=function(t){return nM(t.length)},P_=function(t){return function(e,n,r){var o,i=Ga(e),a=wh(i),u=Dp(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}},rM={includes:P_(!0),indexOf:P_(!1)},Xdt=rM.indexOf,j_=Ct([].push),oM=function(t,e){var n,r=Ga(t),o=0,i=[];for(n in r)!Xe(Mm,n)&&Xe(r,n)&&j_(i,n);for(;e.length>o;)Xe(r,n=e[o++])&&(~Xdt(i,n)||j_(i,n));return i},l1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Zdt=l1.concat("length","prototype"),c1={f:Object.getOwnPropertyNames||function(t){return oM(t,Zdt)}},Jdt={f:Object.getOwnPropertySymbols},Qdt=Ct([].concat),tpt=fs("Reflect","ownKeys")||function(t){var e=c1.f(hn(t)),n=Jdt.f;return n?Qdt(e,n(t)):e},ept=function(t,e){for(var n=tpt(e),r=vi.f,o=g8.f,i=0;i<n.length;i++){var a=n[i];Xe(t,a)||r(t,a,o(e,a))}},npt=/#|\.prototype\./,Eh=function(t,e){var n=opt[rpt(t)];return n==apt||n!=ipt&&(ae(e)?he(e):!!e)},rpt=Eh.normalize=function(t){return String(t).replace(npt,".").toLowerCase()},opt=Eh.data={},ipt=Eh.NATIVE="N",apt=Eh.POLYFILL="P",f1=Eh,upt=g8.f,Wn=function(t,e){var n,r,o,i,a,u=t.target,s=t.global,l=t.stat;if(n=s?rt:l?rt[u]||f8(u,{}):(rt[u]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=upt(n,r))&&a.value:n[r],!f1(s?r:u+(l?".":"#")+r,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;ept(i,o)}(t.sham||o&&o.sham)&&Da(i,"sham",!0),sr(n,r,i,t)}},iM={};iM[ze("toStringTag")]="z";var m8=String(iM)==="[object z]",spt=ze("toStringTag"),lpt=rt.Object,cpt=_o(function(){return arguments}())=="Arguments",$m=m8?_o:function(t){var e,n,r;return t===void 0?"Undefined":t===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(e=lpt(t),spt))=="string"?n:cpt?_o(e):(r=_o(e))=="Object"&&ae(e.callee)?"Arguments":r},fpt=rt.String,xr=function(t){if($m(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return fpt(t)},m3=`
  134. \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`,N_=Ct("".replace),d1="["+m3+"]",dpt=RegExp("^"+d1+d1+"*"),ppt=RegExp(d1+d1+"*$"),dw=function(t){return function(e){var n=xr(bh(e));return 1&t&&(n=N_(n,dpt,"")),2&t&&(n=N_(n,ppt,"")),n}},hpt={start:dw(1),end:dw(2),trim:dw(3)},gpt=Bc.PROPER,vpt=hpt.trim;function I_(t){return t.length?t[0].tagName.toLowerCase():""}function aM(t,e,n){e===void 0&&(e="auto"),n===void 0&&(n="auto");var r=_(t);return r.attr("width",e),r.attr("height",n),r[0].outerHTML}Wn({target:"String",proto:!0,forced:he(function(){return!!m3.trim()||"\u200B\x85\u180E".trim()!=="\u200B\x85\u180E"||gpt&&m3.trim.name!=="trim"})},{trim:function(){return vpt(this)}}),Wn({global:!0},{globalThis:rt}),Ir&&(_.fn.append=Ir),jo&&(_.fn.on=jo),_a&&(_.fn.focus=_a),Nr&&(_.fn.attr=Nr),Po&&(_.fn.val=Po),Ba&&(_.fn.html=Ba),Hl&&(_.fn.parent=Hl),Ml&&(_.fn.hasClass=Ml),Gl&&(_.fn.empty=Gl);var _0,mpt={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=bt("div",{className:"w-e-textarea-video-container","data-selected":d?"true":"",innerHTML:aM(a,c,p)});else{var m=bt("video",{poster:s,controls:!0},bt("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"&&(m.data.width=c),p!=="auto"&&(m.data.height=p),r=bt("div",{className:"w-e-textarea-video-container","data-selected":d?"true":""},m)}return ql("div",{props:{contentEditable:!1},on:{mousedown:function(g){return g.preventDefault()}}},r)}},ypt={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+=aM(o,s,c):f+='<video poster="'+a+'" controls="true" width="'+s+'" height="'+c+'"><source src="'+o+'" type="video/mp4"/></video>',f+`
  137. </div>`}},bpt=Object.keys||function(t){return oM(t,l1)},wpt=Io?Object.defineProperties:function(t,e){hn(t);for(var n,r=Ga(e),o=bpt(e),i=o.length,a=0;i>a;)vi.f(t,n=o[a++],r[n]);return t},y3=fs("document","documentElement"),uM=v8("IE_PROTO"),pw=function(){},sM=function(t){return"<script>"+t+"<\/script>"},L_=function(t){t.write(sM("")),t.close();var e=t.parentWindow.Object;return t=null,e},Eg=function(){try{_0=new ActiveXObject("htmlfile")}catch{}var t,e;Eg=typeof document<"u"?document.domain&&_0?L_(_0):((e=Ep("iframe")).style.display="none",y3.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(sM("document.F=Object")),t.close(),t.F):L_(_0);for(var n=l1.length;n--;)delete Eg.prototype[l1[n]];return Eg()};Mm[uM]=!0;var y8=Object.create||function(t,e){var n;return t!==null?(pw.prototype=hn(t),n=new pw,pw.prototype=null,n[uM]=t):n=Eg(),e===void 0?n:wpt(n,e)},b3=ze("unscopables"),w3=Array.prototype;w3[b3]==null&&vi.f(w3,b3,{configurable:!0,value:y8(null)});var _d=function(t){w3[b3][t]=!0},Ept=rM.includes;Wn({target:"Array",proto:!0},{includes:function(t){return Ept(this,t,arguments.length>1?arguments[1]:void 0)}}),_d("includes");var Dpt={selector:"iframe,video,p",preParseHtml:function(t){var e=_(t),n=e;if(I_(e)==="p"){var r=e.children();if(r.length===1){var o=r[0],i=o.tagName.toLowerCase();["iframe","video"].includes(i)&&(n=_(o))}}var a=I_(n);if(a!=="iframe"&&a!=="video"||n.parent().attr("data-w-e-type")==="video")return n[0];var u=_('<div data-w-e-type="video" data-w-e-is-void></div>');return u.append(n),u[0]}},R_=Ct(Ct.bind),Cp=function(t,e){return Ma(t),e===void 0?t:R_?R_(t,e):function(){return t.apply(e,arguments)}},p1=Array.isArray||function(t){return _o(t)=="Array"},lM=function(){},Cpt=[],cM=fs("Reflect","construct"),b8=/^\s*(?:class|function)\b/,Spt=Ct(b8.exec),xpt=!b8.exec(lM),Lf=function(t){if(!ae(t))return!1;try{return cM(lM,Cpt,t),!0}catch{return!1}},w8=!cM||he(function(){var t;return Lf(Lf.call)||!Lf(Object)||!Lf(function(){t=!0})||t})?function(t){if(!ae(t))return!1;switch($m(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return xpt||!!Spt(b8,Rm(t))}:Lf,Apt=ze("species"),M_=rt.Array,Opt=function(t,e){return new(function(n){var r;return p1(n)&&(r=n.constructor,(w8(r)&&(r===M_||p1(r.prototype))||ve(r)&&(r=r[Apt])===null)&&(r=void 0)),r===void 0?M_:r}(t))(e===0?0:e)},z_=Ct([].push),Ui=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,m=Lm(s),g=l8(m),v=Cp(l,c),y=wh(g),h=0,b=f||Opt,w=e?b(s,y):n||a?b(s,0):void 0;y>h;h++)if((u||h in g)&&(d=v(p=g[h],h,m),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:z_(w,p)}else switch(t){case 4:return!1;case 7:z_(w,p)}return i?-1:r||o?o:w}},E8={forEach:Ui(0),map:Ui(1),filter:Ui(2),some:Ui(3),every:Ui(4),find:Ui(5),findIndex:Ui(6),filterReject:Ui(7)},kpt=E8.find,$_=!0;"find"in[]&&Array(1).find(function(){$_=!1}),Wn({target:"Array",proto:!0,forced:$_},{find:function(t){return kpt(this,t,arguments.length>1?arguments[1]:void 0)}}),_d("find");var Bpt=m8?{}.toString:function(){return"[object "+$m(this)+"]"};function H_(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:""}]}}m8||sr(Object.prototype,"toString",Bpt,{unsafe:!0});var V_,hw,_pt={selector:'div[data-w-e-type="video"]',parseElemHtml:function(t,e,n){var r=_(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",H_(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",H_(o,i=l.attr("poster")||"",a,u)}},fM=function(){var t=hn(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},D8=rt.RegExp,E3=he(function(){var t=D8("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),Fpt=E3||he(function(){return!D8("a","y").sticky}),Tpt={BROKEN_CARET:E3||he(function(){var t=D8("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),MISSED_STICKY:Fpt,UNSUPPORTED_Y:E3},Ppt=rt.RegExp,jpt=he(function(){var t=Ppt(".","s");return!(t.dotAll&&t.exec(`
  138. `)&&t.flags==="s")}),Npt=rt.RegExp,Ipt=he(function(){var t=Npt("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),Lpt=hr.get,Rpt=d8("native-string-replace",String.prototype.replace),h1=RegExp.prototype.exec,D3=h1,Mpt=Ct("".charAt),zpt=Ct("".indexOf),$pt=Ct("".replace),gw=Ct("".slice),vw=(hw=/b*/g,fe(h1,V_=/a/,"a"),fe(h1,hw,"a"),V_.lastIndex!==0||hw.lastIndex!==0),U_=Tpt.BROKEN_CARET,mw=/()??/.exec("")[1]!==void 0;(vw||mw||U_||jpt||Ipt)&&(D3=function(t){var e,n,r,o,i,a,u,s=this,l=Lpt(s),c=xr(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=fe(D3,f,c),s.lastIndex=f.lastIndex,e;var p=l.groups,d=U_&&s.sticky,m=fe(fM,s),g=s.source,v=0,y=c;if(d&&(m=$pt(m,"y",""),zpt(m,"g")===-1&&(m+="g"),y=gw(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&Mpt(c,s.lastIndex-1)!==`
  139. `)&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",m)),mw&&(n=new RegExp("^"+g+"$(?!\\s)",m)),vw&&(r=s.lastIndex),o=fe(h1,d?n:s,y),d?o?(o.input=gw(o.input,v),o[0]=gw(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:vw&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),mw&&o&&o.length>1&&fe(Rpt,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=y8(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var g1=D3;Wn({target:"RegExp",proto:!0,forced:/./.exec!==g1},{exec:g1});var C8=Function.prototype,W_=C8.apply,Hpt=C8.bind,G_=C8.call,dM=typeof Reflect=="object"&&Reflect.apply||(Hpt?G_.bind(W_):function(){return G_.apply(W_,arguments)}),q_=(ze("species"),RegExp.prototype),Vpt=Ct("".charAt),K_=Ct("".charCodeAt),Upt=Ct("".slice),Y_=function(t){return function(e,n){var r,o,i=xr(bh(e)),a=zm(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?Vpt(i,a):r:t?Upt(i,a,a+2):o-56320+(r-55296<<10)+65536}},pM={codeAt:Y_(!1),charAt:Y_(!0)},Wpt=pM.charAt,Gpt=function(t,e,n){return e+(n?Wpt(t,e).length:1)},qpt=Math.floor,yw=Ct("".charAt),Kpt=Ct("".replace),bw=Ct("".slice),Ypt=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Xpt=/\$([$&'`]|\d{1,2})/g,Zpt=function(t,e,n,r,o,i){var a=n+t.length,u=r.length,s=Xpt;return o!==void 0&&(o=Lm(o),s=Ypt),Kpt(i,s,function(l,c){var f;switch(yw(c,0)){case"$":return"$";case"&":return t;case"`":return bw(e,0,n);case"'":return bw(e,a);case"<":f=o[bw(c,1,-1)];break;default:var p=+c;if(p===0)return l;if(p>u){var d=qpt(p/10);return d===0?l:d<=u?r[d-1]===void 0?yw(c,1):r[d-1]+yw(c,1):l}f=r[p-1]}return f===void 0?"":f})},Jpt=rt.TypeError,Qpt=function(t,e){var n=t.exec;if(ae(n)){var r=fe(n,t,e);return r!==null&&hn(r),r}if(_o(t)==="RegExp")return fe(g1,t,e);throw Jpt("RegExp#exec called on incompatible receiver")},C3=ze("replace"),tht=Math.max,eht=Math.min,nht=Ct([].concat),ww=Ct([].push),X_=Ct("".indexOf),Z_=Ct("".slice),rht="a".replace(/./,"$0")==="$0",J_=!!/./[C3]&&/./[C3]("a","$0")==="";function hM(t){return t===void 0&&(t="r"),t+"-"+Sj()}(function(t,e,n,r){var o=ze(t),i=!he(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!he(function(){var l=!1,c=/a/;return c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=Ct(/./[o]),s=function(l,c,f){var p=J_?"$":"$0";return[function(d,m){var g=bh(this),v=d==null?void 0:wp(d,C3);return v?fe(v,d,g,m):fe(c,xr(g),d,m)},function(d,m){var g=hn(this),v=xr(d);if(typeof m=="string"&&X_(m,p)===-1&&X_(m,"$<")===-1){var y=f(c,g,v,m);if(y.done)return y.value}var h=ae(m);h||(m=xr(m));var b=g.global;if(b){var w=g.unicode;g.lastIndex=0}for(var E=[];;){var S=Qpt(g,v);if(S===null||(ww(E,S),!b))break;xr(S[0])===""&&(g.lastIndex=Gpt(v,nM(g.lastIndex),w))}for(var C,O="",k=0,I=0;I<E.length;I++){for(var $=xr((S=E[I])[0]),M=tht(eht(zm(S.index),v.length),0),q=[],G=1;G<S.length;G++)ww(q,(C=S[G])===void 0?C:String(C));var W=S.groups;if(h){var K=nht([$],q,M,v);W!==void 0&&ww(K,W);var J=xr(dM(m,void 0,K))}else J=Zpt($,v,M,q,W,m);M>=k&&(O+=Z_(v,k,M)+J,k=M+$.length)}return O+Z_(v,k)}]}(0,""[t],function(l,c,f,p,d){var m=Ct(l),g=c.exec;return g===g1||g===q_.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:m(f,c,p)}:{done:!1}});sr(String.prototype,t,s[0]),sr(q_,o,s[1])}})("replace",0,!!he(function(){var t=/./;return t.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(t,"$<a>")!=="7"})||!rht||J_);var v1=rt.Promise,m1=function(t,e,n){for(var r in e)sr(t,r,e[r],n);return t},oht=rt.String,iht=rt.TypeError,oc=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Ct(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch{}return function(r,o){return hn(r),function(i){if(typeof i=="object"||ae(i))return i;throw iht("Can't set "+oht(i)+" as a prototype")}(o),e?t(r,o):r.__proto__=o,r}}():void 0),aht=vi.f,Q_=ze("toStringTag"),y1=function(t,e,n){t&&!Xe(t=n?t:t.prototype,Q_)&&aht(t,Q_,{configurable:!0,value:e})},tF=ze("species"),uht=rt.TypeError,S8=function(t,e){if(yp(e,t))return t;throw uht("Incorrect invocation")},ic={},sht=ze("iterator"),lht=Array.prototype,cht=ze("iterator"),eF=function(t){if(t!=null)return wp(t,cht)||wp(t,"@@iterator")||ic[$m(t)]},fht=rt.TypeError,nF=function(t,e,n){var r,o;hn(t);try{if(!(r=wp(t,"return"))){if(e==="throw")throw n;return n}r=fe(r,t)}catch(i){o=!0,r=i}if(e==="throw")throw n;if(o)throw r;return hn(r),n},dht=rt.TypeError,Dg=function(t,e){this.stopped=t,this.result=e},rF=Dg.prototype,b1=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),m=!(!n||!n.INTERRUPTED),g=Cp(e,f),v=function(h){return r&&nF(r,"normal",h),new Dg(!0,h)},y=function(h){return p?(hn(h),m?g(h[0],h[1],v):g(h[0],h[1])):m?g(h,v):g(h)};if(d)r=t;else{if(!(o=eF(t)))throw dht(a1(t)+" is not iterable");if((c=o)!==void 0&&(ic.Array===c||lht[sht]===c)){for(i=0,a=wh(t);a>i;i++)if((u=y(t[i]))&&yp(rF,u))return u;return new Dg(!1)}r=function(h,b){var w=arguments.length<2?eF(h):b;if(Ma(w))return hn(fe(w,h));throw fht(a1(h)+" is not iterable")}(t,o)}for(s=r.next;!(l=fe(s,r)).done;){try{u=y(l.value)}catch(h){nF(r,"throw",h)}if(typeof u=="object"&&u&&yp(rF,u))return u}return new Dg(!1)},gM=ze("iterator"),vM=!1;try{var pht=0,oF={next:function(){return{done:!!pht++}},return:function(){vM=!0}};oF[gM]=function(){return this},Array.from(oF,function(){throw 2})}catch{}var Sp,Qs,iF,Ew,mM=function(t,e){if(!e&&!vM)return!1;var n=!1;try{var r={};r[gM]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch{}return n},hht=rt.TypeError,ght=ze("species"),yM=Ct([].slice),bM=/(?:ipad|iphone|ipod).*applewebkit/i.test(Ol),Ca=_o(rt.process)=="process",S3=rt.setImmediate,x3=rt.clearImmediate,vht=rt.process,Dw=rt.Dispatch,mht=rt.Function,aF=rt.MessageChannel,yht=rt.String,Cw=0,Fd={};try{Sp=rt.location}catch{}var x8=function(t){if(Xe(Fd,t)){var e=Fd[t];delete Fd[t],e()}},Sw=function(t){return function(){x8(t)}},uF=function(t){x8(t.data)},sF=function(t){rt.postMessage(yht(t),Sp.protocol+"//"+Sp.host)};S3&&x3||(S3=function(t){var e=yM(arguments,1);return Fd[++Cw]=function(){dM(ae(t)?t:mht(t),void 0,e)},Qs(Cw),Cw},x3=function(t){delete Fd[t]},Ca?Qs=function(t){vht.nextTick(Sw(t))}:Dw&&Dw.now?Qs=function(t){Dw.now(Sw(t))}:aF&&!bM?(Ew=(iF=new aF).port2,iF.port1.onmessage=uF,Qs=Cp(Ew.postMessage,Ew)):rt.addEventListener&&ae(rt.postMessage)&&!rt.importScripts&&Sp&&Sp.protocol!=="file:"&&!he(sF)?(Qs=sF,rt.addEventListener("message",uF,!1)):Qs="onreadystatechange"in Ep("script")?function(t){y3.appendChild(Ep("script")).onreadystatechange=function(){y3.removeChild(this),x8(t)}}:function(t){setTimeout(Sw(t),0)});var Rf,Eu,Td,dl,xw,Aw,Ow,lF,wM={set:S3,clear:x3},bht=/ipad|iphone|ipod/i.test(Ol)&&rt.Pebble!==void 0,wht=/web0s(?!.*chrome)/i.test(Ol),Eht=g8.f,kw=wM.set,cF=rt.MutationObserver||rt.WebKitMutationObserver,fF=rt.document,dF=rt.process,F0=rt.Promise,pF=Eht(rt,"queueMicrotask"),EM=pF&&pF.value;EM||(Rf=function(){var t,e;for(Ca&&(t=dF.domain)&&t.exit();Eu;){e=Eu.fn,Eu=Eu.next;try{e()}catch(n){throw Eu?dl():Td=void 0,n}}Td=void 0,t&&t.enter()},bM||Ca||wht||!cF||!fF?!bht&&F0&&F0.resolve?((Ow=F0.resolve(void 0)).constructor=F0,lF=Cp(Ow.then,Ow),dl=function(){lF(Rf)}):Ca?dl=function(){dF.nextTick(Rf)}:(kw=Cp(kw,rt),dl=function(){kw(Rf)}):(xw=!0,Aw=fF.createTextNode(""),new cF(Rf).observe(Aw,{characterData:!0}),dl=function(){Aw.data=xw=!xw}));var Bw,hF,DM,gF,CM=EM||function(t){var e={fn:t,next:void 0};Td&&(Td.next=e),Eu||(Eu=e,dl()),Td=e},Dht=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=Ma(e),this.reject=Ma(n)},A8={f:function(t){return new Dht(t)}},A3=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}},Cht=typeof window=="object",SM=wM.set,Sht=ze("species"),ni="Promise",vF=hr.getterFor(ni),xht=hr.set,Aht=hr.getterFor(ni),gu=v1&&v1.prototype,Ao=v1,Mf=gu,xM=rt.TypeError,O3=rt.document,O8=rt.process,kl=A8.f,Oht=kl,kht=!!(O3&&O3.createEvent&&rt.dispatchEvent),AM=ae(rt.PromiseRejectionEvent),OM=!1,Pd=f1(ni,function(){var t=Rm(Ao),e=t!==String(Ao);if(!e&&bp===66)return!0;if(bp>=51&&/native code/.test(t))return!1;var n=new Ao(function(o){o(1)}),r=function(o){o(function(){},function(){})};return(n.constructor={})[Sht]=r,!(OM=n.then(function(){})instanceof r)||!e&&Cht&&!AM}),Bht=Pd||!mM(function(t){Ao.all(t).catch(function(){})}),kM=function(t){var e;return!(!ve(t)||!ae(e=t.then))&&e},k8=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;CM(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&&Fht(t),t.rejection=1),c===!0?a=r:(d&&d.enter(),a=c(r),d&&(d.exit(),s=!0)),a===l.promise?p(xM("Promise-chain cycle")):(u=kM(a))?fe(u,a,f,p):f(a)):p(r)}catch(m){d&&!s&&d.exit(),p(m)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&_ht(t)})}},BM=function(t,e,n){var r,o;kht?((r=O3.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),rt.dispatchEvent(r)):r={promise:e,reason:n},!AM&&(o=rt["on"+t])?o(r):t==="unhandledrejection"&&function(i,a){var u=rt.console;u&&u.error&&(arguments.length==1?u.error(i):u.error(i,a))}("Unhandled promise rejection",n)},_ht=function(t){fe(SM,rt,function(){var e,n=t.facade,r=t.value;if(mF(t)&&(e=A3(function(){Ca?O8.emit("unhandledRejection",r,n):BM("unhandledrejection",n,r)}),t.rejection=Ca||mF(t)?2:1,e.error))throw e.value})},mF=function(t){return t.rejection!==1&&!t.parent},Fht=function(t){fe(SM,rt,function(){var e=t.facade;Ca?O8.emit("rejectionHandled",e):BM("rejectionhandled",e,t.value)})},yl=function(t,e,n){return function(r){t(e,r,n)}},Bl=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,k8(t,!0))},k3=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw xM("Promise can't be resolved itself");var r=kM(e);r?CM(function(){var o={done:!1};try{fe(r,e,yl(k3,o,t),yl(Bl,o,t))}catch(i){Bl(o,i,t)}}):(t.value=e,t.state=1,k8(t,!1))}catch(o){Bl({done:!1},o,t)}}};if(Pd&&(Mf=(Ao=function(t){S8(this,Mf),Ma(t),fe(Bw,this);var e=vF(this);try{t(yl(k3,e),yl(Bl,e))}catch(n){Bl(e,n)}}).prototype,(Bw=function(t){xht(this,{type:ni,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=m1(Mf,{then:function(t,e){var n=Aht(this),r=n.reactions,o=kl(function(i,a){var u,s=hn(i).constructor;return s===void 0||(u=hn(s)[ght])==null?a:function(l){if(w8(l))return l;throw hht(a1(l)+" is not a constructor")}(u)}(this,Ao));return o.ok=!ae(t)||t,o.fail=ae(e)&&e,o.domain=Ca?O8.domain:void 0,n.parent=!0,r[r.length]=o,n.state!=0&&k8(n,!1),o.promise},catch:function(t){return this.then(void 0,t)}}),hF=function(){var t=new Bw,e=vF(t);this.promise=t,this.resolve=yl(k3,e),this.reject=yl(Bl,e)},A8.f=kl=function(t){return t===Ao||t===DM?new hF(t):Oht(t)},ae(v1)&&gu!==Object.prototype)){gF=gu.then,OM||(sr(gu,"then",function(t,e){var n=this;return new Ao(function(r,o){fe(gF,n,r,o)}).then(t,e)},{unsafe:!0}),sr(gu,"catch",Mf.catch,{unsafe:!0}));try{delete gu.constructor}catch{}oc&&oc(gu,Mf)}function xp(t,e,n){return n===void 0&&(n=""),jm(this,void 0,void 0,function(){var r,o,i,a,u,s,l;return Nm(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(){N.insertNodes(t,l)}),o(l),[2]}})})}function _w(){return hM("w-e-insert-video")}Wn({global:!0,wrap:!0,forced:Pd},{Promise:Ao}),y1(Ao,ni,!1),function(t){var e=fs("Promise"),n=vi.f;Io&&e&&!e[tF]&&n(e,tF,{configurable:!0,get:function(){return this}})}(),DM=fs(ni),Wn({target:ni,stat:!0,forced:Pd},{reject:function(t){var e=kl(this);return fe(e.reject,void 0,t),e.promise}}),Wn({target:ni,stat:!0,forced:Pd},{resolve:function(t){return function(e,n){if(hn(e),ve(n)&&n.constructor===e)return n;var r=A8.f(e);return(0,r.resolve)(n),r.promise}(this,t)}}),Wn({target:ni,stat:!0,forced:Bht},{all:function(t){var e=this,n=kl(e),r=n.resolve,o=n.reject,i=A3(function(){var a=Ma(e.resolve),u=[],s=0,l=1;b1(t,function(c){var f=s++,p=!1;l++,fe(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=kl(e),r=n.reject,o=A3(function(){var i=Ma(e.resolve);b1(t,function(a){fe(i,e,a).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var Tht=function(){function t(){this.title=et("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=_w(),this.posterInputId=_w(),this.buttonId=_w()}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||!R.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=Gu(ar(et("videoModule.videoSrc"),o,et("videoModule.videoSrcPlaceHolder")),2),s=u[0],l=u[1],c=Gu(ar(et("videoModule.videoPoster"),i,et("videoModule.videoPosterPlaceHolder")),2),f=c[0],p=c[1],d=_(l),m=_(p),g=Gu(bc(a,et("videoModule.ok")),1)[0];if(this.$content==null){var v=_("<div></div>");v.on("click","#"+a,function(h){return jm(n,void 0,void 0,function(){var b,w;return Nm(this,function(E){switch(E.label){case 0:return h.preventDefault(),b=v.find("#"+o).val().trim(),w=v.find("#"+i).val().trim(),[4,xp(e,b,w)];case 1:return E.sent(),e.hidePanelOrModal(),[2]}})})}),this.$content=v}var y=this.$content;return y.empty(),y.append(s),y.append(f),y.append(g),d.val(""),m.val(""),setTimeout(function(){d.focus()}),y[0]},t}(),Pht=Ct([].join),jht=l8!=Object,Nht=function(t,e){var n=[].join;return!!n&&he(function(){n.call(null,",",1)})}();Wn({target:"Array",proto:!0,forced:jht||!Nht},{join:function(t){return Pht(Ga(this),t===void 0?",":t)}});var Ku,yF,bF,Iht=!he(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),wF=v8("IE_PROTO"),B3=rt.Object,Lht=B3.prototype,w1=Iht?B3.getPrototypeOf:function(t){var e=Lm(t);if(Xe(e,wF))return e[wF];var n=e.constructor;return ae(n)&&e instanceof n?n.prototype:e instanceof B3?Lht:null},_3=ze("iterator"),_M=!1;[].keys&&("next"in(bF=[].keys())?(yF=w1(w1(bF)))!==Object.prototype&&(Ku=yF):_M=!0);var Rht=Ku==null||he(function(){var t={};return Ku[_3].call(t)!==t});Rht&&(Ku={}),ae(Ku[_3])||sr(Ku,_3,function(){return this});var B8={IteratorPrototype:Ku,BUGGY_SAFARI_ITERATORS:_M},Mht=B8.IteratorPrototype,zht=function(){return this},$ht=Bc.PROPER,Hht=Bc.CONFIGURABLE,EF=B8.IteratorPrototype,T0=B8.BUGGY_SAFARI_ITERATORS,zf=ze("iterator"),Vht=function(){return this},FM=function(t,e,n,r,o,i,a){(function(y,h,b,w){var E=h+" Iterator";y.prototype=y8(Mht,{next:Im(1,b)}),y1(y,E,!1),ic[E]=zht})(n,e,r);var u,s,l,c=function(y){if(y===o&&g)return g;if(!T0&&y in d)return d[y];switch(y){case"keys":case"values":case"entries":return function(){return new n(this,y)}}return function(){return new n(this)}},f=e+" Iterator",p=!1,d=t.prototype,m=d[zf]||d["@@iterator"]||o&&d[o],g=!T0&&m||c(o),v=e=="Array"&&d.entries||m;if(v&&(u=w1(v.call(new t)))!==Object.prototype&&u.next&&(w1(u)!==EF&&(oc?oc(u,EF):ae(u[zf])||sr(u,zf,Vht)),y1(u,f,!0)),$ht&&o=="values"&&m&&m.name!=="values"&&(Hht?Da(d,"name","values"):(p=!0,g=function(){return fe(m,this)})),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(T0||p||!(l in d))&&sr(d,l,s[l]);else Wn({target:e,proto:!0,forced:T0||p},s);return d[zf]!==g&&sr(d,zf,g,{name:o}),ic[e]=g,s},Uht=hr.set,Wht=hr.getterFor("Array Iterator"),cd=FM(Array,"Array",function(t,e){Uht(this,{type:"Array Iterator",target:Ga(t),index:0,kind:e})},function(){var t=Wht(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");ic.Arguments=ic.Array,_d("keys"),_d("values"),_d("entries");var Ght=pM.charAt,qht=hr.set,Kht=hr.getterFor("String Iterator");FM(String,"String",function(t){qht(this,{type:"String Iterator",string:xr(t),index:0})},function(){var t,e=Kht(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=Ght(n,r),e.index+=t.length,{value:t,done:!1})});var TM=function(t,e,n){var r=h8(e);r in t?vi.f(t,r,Im(0,n)):t[r]=n},Yht=rt.Array,Xht=Math.max,DF=c1.f,CF=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Zht={f:function(t){return CF&&_o(t)=="Window"?function(e){try{return DF(e)}catch{return function(r,o,i){for(var a=wh(r),u=Dp(void 0,a),s=Dp(a,a),l=Yht(Xht(s-u,0)),c=0;u<s;u++,c++)TM(l,c,r[u]);return l.length=c,l}(CF)}}(t):DF(Ga(t))}},SF=he(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),P0=Object.isExtensible,Au=he(function(){P0(1)})||SF?function(t){return!!ve(t)&&(!SF||_o(t)!="ArrayBuffer")&&(!P0||P0(t))}:P0,Jht=!he(function(){return Object.isExtensible(Object.preventExtensions({}))}),_8=s8(function(t){var e=vi.f,n=!1,r=p8("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=c1.f,s=Ct([].splice),l={};l[r]=1,u(l).length&&(c1.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},Wn({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Zht.f}))},fastKey:function(u,s){if(!ve(u))return typeof u=="symbol"?u:(typeof u=="string"?"S":"P")+u;if(!Xe(u,r)){if(!Au(u))return"F";if(!s)return"E";i(u)}return u[r].objectID},getWeakData:function(u,s){if(!Xe(u,r)){if(!Au(u))return!0;if(!s)return!1;i(u)}return u[r].weakData},onFreeze:function(u){return Jht&&n&&Au(u)&&!Xe(u,r)&&i(u),u}};Mm[r]=!0}),j0=_8.getWeakData,Qht=hr.set,t0t=hr.getterFor,e0t=E8.find,n0t=E8.findIndex,r0t=Ct([].splice),o0t=0,N0=function(t){return t.frozen||(t.frozen=new PM)},PM=function(){this.entries=[]},Fw=function(t,e){return e0t(t.entries,function(n){return n[0]===e})};PM.prototype={get:function(t){var e=Fw(this,t);if(e)return e[1]},has:function(t){return!!Fw(this,t)},set:function(t,e){var n=Fw(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=n0t(this.entries,function(n){return n[0]===t});return~e&&r0t(this.entries,e,1),!!~e}};var $f,jM={getConstructor:function(t,e,n,r){var o=t(function(s,l){S8(s,i),Qht(s,{type:e,id:o0t++,frozen:void 0}),l!=null&&b1(l,s[r],{that:s,AS_ENTRIES:n})}),i=o.prototype,a=t0t(e),u=function(s,l,c){var f=a(s),p=j0(hn(l),!0);return p===!0?N0(f).set(l,c):p[f.id]=c,s};return m1(i,{delete:function(s){var l=a(this);if(!ve(s))return!1;var c=j0(s);return c===!0?N0(l).delete(s):c&&Xe(c,l.id)&&delete c[l.id]},has:function(s){var l=a(this);if(!ve(s))return!1;var c=j0(s);return c===!0?N0(l).has(s):c&&Xe(c,l.id)}}),m1(i,n?{get:function(s){var l=a(this);if(ve(s)){var c=j0(s);return c===!0?N0(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}},I0=hr.enforce,i0t=!rt.ActiveXObject&&"ActiveXObject"in rt,NM=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},a0t=function(t,e,n){var r=t.indexOf("Map")!==-1,o=t.indexOf("Weak")!==-1,i=r?"set":"add",a=rt[t],u=a&&a.prototype,s=a,l={},c=function(v){var y=Ct(u[v]);sr(u,v,v=="add"?function(h){return y(this,h===0?0:h),this}:v=="delete"?function(h){return!(o&&!ve(h))&&y(this,h===0?0:h)}:v=="get"?function(h){return o&&!ve(h)?void 0:y(this,h===0?0:h)}:v=="has"?function(h){return!(o&&!ve(h))&&y(this,h===0?0:h)}:function(h,b){return y(this,h===0?0:h,b),this})};if(f1(t,!ae(a)||!(o||u.forEach&&!he(function(){new a().entries().next()}))))s=n.getConstructor(e,t,r,i),_8.enable();else if(f1(t,!0)){var f=new s,p=f[i](o?{}:-0,1)!=f,d=he(function(){f.has(1)}),m=mM(function(v){new a(v)}),g=!o&&he(function(){for(var v=new a,y=5;y--;)v[i](y,y);return!v.has(-0)});m||((s=e(function(v,y){S8(v,u);var h=function(b,w,E){var S,C;return oc&&ae(S=w.constructor)&&S!==E&&ve(C=S.prototype)&&C!==E.prototype&&oc(b,C),b}(new a,v,s);return y!=null&&b1(y,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,Wn({global:!0,forced:s!=a},l),y1(s,t),o||n.setStrong(s,t,r),s}("WeakMap",NM,jM);if(tM&&i0t){$f=jM.getConstructor(NM,"WeakMap",!0),_8.enable();var Hf=a0t.prototype,xF=Ct(Hf.delete),L0=Ct(Hf.has),AF=Ct(Hf.get),OF=Ct(Hf.set);m1(Hf,{delete:function(t){if(ve(t)&&!Au(t)){var e=I0(this);return e.frozen||(e.frozen=new $f),xF(this,t)||e.frozen.delete(t)}return xF(this,t)},has:function(t){if(ve(t)&&!Au(t)){var e=I0(this);return e.frozen||(e.frozen=new $f),L0(this,t)||e.frozen.has(t)}return L0(this,t)},get:function(t){if(ve(t)&&!Au(t)){var e=I0(this);return e.frozen||(e.frozen=new $f),L0(this,t)?AF(this,t):e.frozen.get(t)}return AF(this,t)},set:function(t,e){if(ve(t)&&!Au(t)){var n=I0(this);n.frozen||(n.frozen=new $f),L0(this,t)?OF(this,t,e):n.frozen.set(t,e)}else OF(this,t,e);return this}})}var IM={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},Tw=Ep("span").classList,kF=Tw&&Tw.constructor&&Tw.constructor.prototype,u0t=kF===Object.prototype?void 0:kF,Pw=ze("iterator"),BF=ze("toStringTag"),jw=cd.values,LM=function(t,e){if(t){if(t[Pw]!==jw)try{Da(t,Pw,jw)}catch{t[Pw]=jw}if(t[BF]||Da(t,BF,e),IM[e]){for(var n in cd)if(t[n]!==cd[n])try{Da(t,n,cd[n])}catch{t[n]=cd[n]}}}};for(var Nw in IM)LM(rt[Nw]&&rt[Nw].prototype,Nw);LM(u0t,"DOMTokenList");var s0t=Bc.EXISTS,l0t=vi.f,RM=Function.prototype,c0t=Ct(RM.toString),MM=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,f0t=Ct(MM.exec);Io&&!s0t&&l0t(RM,"name",{configurable:!0,get:function(){try{return f0t(MM,c0t(this))[1]}catch{return""}}});var d0t=ze("species"),p0t=bp>=51||!he(function(){var t=[];return(t.constructor={})[d0t]=function(){return{foo:1}},t.slice(Boolean).foo!==1}),h0t=ze("species"),Iw=rt.Array,g0t=Math.max;function zM(t){return t.getMenuConfig("uploadVideo")}Wn({target:"Array",proto:!0,forced:!p0t},{slice:function(t,e){var n,r,o,i=Ga(this),a=wh(i),u=Dp(t,a),s=Dp(e===void 0?a:e,a);if(p1(i)&&(n=i.constructor,(w8(n)&&(n===Iw||p1(n.prototype))||ve(n)&&(n=n[h0t])===null)&&(n=void 0),n===Iw||n===void 0))return yM(i,u,s);for(r=new(n===void 0?Iw:n)(g0t(s-u,0)),o=0;u<s;u++,o++)u in i&&TM(r,o,i[u]);return r.length=o,r}});var _F=new WeakMap;function v0t(t,e){return jm(this,void 0,void 0,function(){var n,r,o,i;return Nm(this,function(a){switch(a.label){case 0:return n=function(u){var s=_F.get(u);if(s!=null)return s;var l=zM(u),c=l.onSuccess,f=l.onProgress,p=l.onFailed,d=l.customInsert,m=l.onError;return s=dI(i1(i1({},l),{onProgress:function(g){u.showProgressBar(g),f&&f(g)},onSuccess:function(g,v){if(d)return d(v,function(O,k){return xp(u,O,k)}),void c(g,v);var y=v.errno,h=y===void 0?1:y,b=v.data,w=b===void 0?{}:b;if(h===0){var E=w.url,S=E===void 0?"":E,C=w.poster;xp(u,S,C===void 0?"":C),c(g,v)}else p(g,v)},onError:function(g,v,y){m(g,v,y)}})),_F.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 m0t=function(){function t(){this.title=et("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 xp(e,c,f)});else{var u="";i.length>0&&(u='accept="'+i.join(", ")+'"');var s=_("body"),l=_('<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,m;jm(this,void 0,void 0,function(){var g,v,y,h,b,w;return Nm(this,function(E){switch(E.label){case 0:if(p==null)return[2];g=Array.prototype.slice.call(p),v=zM(f).customUpload,E.label=1;case 1:E.trys.push([1,9,10,15]),y=gdt(g),E.label=2;case 2:return[4,y.next()];case 3:return(h=E.sent()).done?[3,8]:(b=h.value,v?[4,v(b,function(S,C){return xp(f,S,C)})]:[3,5]);case 4:return E.sent(),[3,7];case 5:return[4,v0t(f,b)];case 6:E.sent(),E.label=7;case 7:return[3,2];case 8:return[3,15];case 9:return w=E.sent(),d={error:w},[3,15];case 10:return E.trys.push([10,,13,14]),h&&!h.done&&(m=y.return)?[4,m.call(y)]:[3,12];case 11:E.sent(),E.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||!R.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}(),y0t=Bc.PROPER,F3=RegExp.prototype,$M=F3.toString,b0t=Ct(fM),w0t=he(function(){return $M.call({source:"a",flags:"b"})!="/a/b"}),E0t=y0t&&$M.name!="toString";function Lw(){return hM("w-e-insert-video")}(w0t||E0t)&&sr(RegExp.prototype,"toString",function(){var t=hn(this),e=xr(t.source),n=t.flags;return"/"+e+"/"+xr(n===void 0&&yp(F3,t)&&!("flags"in F3)?b0t(t):n)},{unsafe:!0});var D0t=function(){function t(){this.title=et("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=Lw(),this.heightInputId=Lw(),this.buttonId=Lw()}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=Gu(ar(et("videoModule.width"),r,"auto"),2),u=a[0],s=_(a[1]),l=Gu(ar(et("videoModule.height"),o,"auto"),2),c=l[0],f=_(l[1]),p=Gu(bc(i,et("videoModule.ok")),1)[0];if(this.$content==null){var d=_("<div></div>");d.on("click","#"+i,function(w){w.preventDefault();var E=d.find("#"+r).val().trim(),S=d.find("#"+o).val().trim(),C=parseInt(E),O=parseInt(S),k=C?C.toString():"auto",I=O?O.toString():"auto";e.restoreSelection(),N.setNodes(e,{width:k,height:I},{match:function($){return A.checkNodeType($,"video")}}),e.hidePanelOrModal()}),this.$content=d}var m=this.$content;m.empty(),m.append(u),m.append(c),m.append(p);var g=this.getSelectedVideoNode(e);if(g==null)return m[0];var v=g.width,y=v===void 0?"auto":v,h=g.height,b=h===void 0?"auto":h;return s.val(y),f.val(b),setTimeout(function(){s.focus()}),m[0]},t}(),C0t={renderElems:[mpt],elemsToHtml:[ypt],preParseHtml:[Dpt],parseElemsHtml:[_pt],menus:[{key:"insertVideo",factory:function(){return new Tht},config:{onInsertedVideo:function(t){},checkVideo:function(t,e){return!0},parseVideoSrc:function(t){return t}}},{key:"uploadVideo",factory:function(){return new m0t},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 D0t}}],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=Gu(o,2),a=i[0],u=i[1];return A.getNodeType(a)==="video"&&A.isLastNode(r,a)&&N.insertNodes(r,A.genEmptyParagraph(),{at:[u[0]+1]}),n([a,u])},r}};Zn("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),Zn("zh-CN",{uploadImgModule:{uploadImage:"\u4E0A\u4F20\u56FE\u7247",uploadError:"{{fileName}} \u4E0A\u4F20\u51FA\u9519"}});var FF=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function F8(t){var e={exports:{}};return t(e,e.exports),e.exports}var Wi,Cg,R0=function(t){return t&&t.Math==Math&&t},nt=R0(typeof globalThis=="object"&&globalThis)||R0(typeof window=="object"&&window)||R0(typeof self=="object"&&self)||R0(typeof FF=="object"&&FF)||function(){return this}()||Function("return this")(),ye=function(t){try{return!!t()}catch{return!0}},Lo=!ye(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Vf=Function.prototype.call,te=Vf.bind?Vf.bind(Vf):function(){return Vf.apply(Vf,arguments)},TF={}.propertyIsEnumerable,PF=Object.getOwnPropertyDescriptor,S0t={f:PF&&!TF.call({1:2},1)?function(t){var e=PF(this,t);return!!e&&e.enumerable}:TF},Hm=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},HM=Function.prototype,T3=HM.bind,P3=HM.call,x0t=T3&&T3.bind(P3),Tt=T3?function(t){return t&&x0t(P3,t)}:function(t){return t&&function(){return P3.apply(t,arguments)}},A0t=Tt({}.toString),O0t=Tt("".slice),oo=function(t){return O0t(A0t(t),8,-1)},Rw=nt.Object,k0t=Tt("".split),T8=ye(function(){return!Rw("z").propertyIsEnumerable(0)})?function(t){return oo(t)=="String"?k0t(t,""):Rw(t)}:Rw,B0t=nt.TypeError,Ap=function(t){if(t==null)throw B0t("Can't call method on "+t);return t},qa=function(t){return T8(Ap(t))},se=function(t){return typeof t=="function"},pe=function(t){return typeof t=="object"?t!==null:se(t)},_0t=function(t){return se(t)?t:void 0},ds=function(t,e){return arguments.length<2?_0t(nt[t]):nt[t]&&nt[t][e]},Op=Tt({}.isPrototypeOf),_l=ds("navigator","userAgent")||"",jF=nt.process,NF=nt.Deno,IF=jF&&jF.versions||NF&&NF.version,LF=IF&&IF.v8;LF&&(Cg=(Wi=LF.split("."))[0]>0&&Wi[0]<4?1:+(Wi[0]+Wi[1])),!Cg&&_l&&(!(Wi=_l.match(/Edge\/(\d+)/))||Wi[1]>=74)&&(Wi=_l.match(/Chrome\/(\d+)/))&&(Cg=+Wi[1]);var kp=Cg,j3=!!Object.getOwnPropertySymbols&&!ye(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&kp&&kp<41}),P8=j3&&!Symbol.sham&&typeof Symbol.iterator=="symbol",F0t=nt.Object,Mw=P8?function(t){return typeof t=="symbol"}:function(t){var e=ds("Symbol");return se(e)&&Op(e.prototype,F0t(t))},T0t=nt.String,E1=function(t){try{return T0t(t)}catch{return"Object"}},P0t=nt.TypeError,za=function(t){if(se(t))return t;throw P0t(E1(t)+" is not a function")},Bp=function(t,e){var n=t[e];return n==null?void 0:za(n)},j0t=nt.TypeError,N0t=Object.defineProperty,j8=function(t,e){try{N0t(nt,t,{value:e,configurable:!0,writable:!0})}catch{nt[t]=e}return e},Sa=nt["__core-js_shared__"]||j8("__core-js_shared__",{}),N8=F8(function(t){(t.exports=function(e,n){return Sa[e]||(Sa[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),I0t=nt.Object,I8=function(t){return I0t(Ap(t))},L0t=Tt({}.hasOwnProperty),Ze=Object.hasOwn||function(t,e){return L0t(I8(t),e)},R0t=0,M0t=Math.random(),z0t=Tt(1 .toString),L8=function(t){return"Symbol("+(t===void 0?"":t)+")_"+z0t(++R0t+M0t,36)},Uf=N8("wks"),Yu=nt.Symbol,RF=Yu&&Yu.for,$0t=P8?Yu:Yu&&Yu.withoutSetter||L8,$e=function(t){if(!Ze(Uf,t)||!j3&&typeof Uf[t]!="string"){var e="Symbol."+t;j3&&Ze(Yu,t)?Uf[t]=Yu[t]:Uf[t]=P8&&RF?RF(e):$0t(e)}return Uf[t]},H0t=nt.TypeError,V0t=$e("toPrimitive"),R8=function(t){var e=function(n,r){if(!pe(n)||Mw(n))return n;var o,i=Bp(n,V0t);if(i){if(r===void 0&&(r="default"),o=te(i,n,r),!pe(o)||Mw(o))return o;throw H0t("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&se(s=a.toString)&&!pe(l=te(s,a))||se(s=a.valueOf)&&!pe(l=te(s,a))||u!=="string"&&se(s=a.toString)&&!pe(l=te(s,a)))return l;throw j0t("Can't convert object to primitive value")}(n,r)}(t,"string");return Mw(e)?e:e+""},N3=nt.document,U0t=pe(N3)&&pe(N3.createElement),_p=function(t){return U0t?N3.createElement(t):{}},VM=!Lo&&!ye(function(){return Object.defineProperty(_p("div"),"a",{get:function(){return 7}}).a!=7}),MF=Object.getOwnPropertyDescriptor,M8={f:Lo?MF:function(t,e){if(t=qa(t),e=R8(e),VM)try{return MF(t,e)}catch{}if(Ze(t,e))return Hm(!te(S0t.f,t,e),t[e])}},W0t=nt.String,G0t=nt.TypeError,gn=function(t){if(pe(t))return t;throw G0t(W0t(t)+" is not an object")},q0t=nt.TypeError,zF=Object.defineProperty,mi={f:Lo?zF:function(t,e,n){if(gn(t),e=R8(e),gn(n),VM)try{return zF(t,e,n)}catch{}if("get"in n||"set"in n)throw q0t("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},Fo=Lo?function(t,e,n){return mi.f(t,e,Hm(1,n))}:function(t,e,n){return t[e]=n,t},K0t=Tt(Function.toString);se(Sa.inspectSource)||(Sa.inspectSource=function(t){return K0t(t)});var D1,jd,C1,Vm=Sa.inspectSource,$F=nt.WeakMap,UM=se($F)&&/native code/.test(Vm($F)),HF=N8("keys"),z8=function(t){return HF[t]||(HF[t]=L8(t))},Um={},I3=nt.TypeError,Y0t=nt.WeakMap;if(UM||Sa.state){var cu=Sa.state||(Sa.state=new Y0t),X0t=Tt(cu.get),VF=Tt(cu.has),Z0t=Tt(cu.set);D1=function(t,e){if(VF(cu,t))throw new I3("Object already initialized");return e.facade=t,Z0t(cu,t,e),e},jd=function(t){return X0t(cu,t)||{}},C1=function(t){return VF(cu,t)}}else{var tl=z8("state");Um[tl]=!0,D1=function(t,e){if(Ze(t,tl))throw new I3("Object already initialized");return e.facade=t,Fo(t,tl,e),e},jd=function(t){return Ze(t,tl)?t[tl]:{}},C1=function(t){return Ze(t,tl)}}var gr={set:D1,get:jd,has:C1,enforce:function(t){return C1(t)?jd(t):D1(t,{})},getterFor:function(t){return function(e){var n;if(!pe(e)||(n=jd(e)).type!==t)throw I3("Incompatible receiver, "+t+" required");return n}}},WM=Function.prototype,J0t=Lo&&Object.getOwnPropertyDescriptor,zw=Ze(WM,"name"),Dh={EXISTS:zw,PROPER:zw&&function(){}.name==="something",CONFIGURABLE:zw&&(!Lo||Lo&&J0t(WM,"name").configurable)},lr=F8(function(t){var e=Dh.CONFIGURABLE,n=gr.get,r=gr.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;se(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Ze(u,"name")||e&&u.name!==d)&&Fo(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:Fo(i,a,u)):f?i[a]=u:j8(a,u)})(Function.prototype,"toString",function(){return se(this)&&n(this).source||Vm(this)})}),Q0t=Math.ceil,tgt=Math.floor,$8=function(t){var e=+t;return e!=e||e===0?0:(e>0?tgt:Q0t)(e)},egt=Math.max,ngt=Math.min,Fp=function(t,e){var n=$8(t);return n<0?egt(n+e,0):ngt(n,e)},rgt=Math.min,GM=function(t){return t>0?rgt($8(t),9007199254740991):0},Ch=function(t){return GM(t.length)},ogt=function(t){return function(e,n,r){var o,i=qa(e),a=Ch(i),u=Fp(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}},igt=ogt(!1),UF=Tt([].push),qM=function(t,e){var n,r=qa(t),o=0,i=[];for(n in r)!Ze(Um,n)&&Ze(r,n)&&UF(i,n);for(;e.length>o;)Ze(r,n=e[o++])&&(~igt(i,n)||UF(i,n));return i},S1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],agt=S1.concat("length","prototype"),x1={f:Object.getOwnPropertyNames||function(t){return qM(t,agt)}},ugt={f:Object.getOwnPropertySymbols},sgt=Tt([].concat),lgt=ds("Reflect","ownKeys")||function(t){var e=x1.f(gn(t)),n=ugt.f;return n?sgt(e,n(t)):e},cgt=function(t,e){for(var n=lgt(e),r=mi.f,o=M8.f,i=0;i<n.length;i++){var a=n[i];Ze(t,a)||r(t,a,o(e,a))}},fgt=/#|\.prototype\./,Sh=function(t,e){var n=pgt[dgt(t)];return n==ggt||n!=hgt&&(se(e)?ye(e):!!e)},dgt=Sh.normalize=function(t){return String(t).replace(fgt,".").toLowerCase()},pgt=Sh.data={},hgt=Sh.NATIVE="N",ggt=Sh.POLYFILL="P",A1=Sh,vgt=M8.f,Oo=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]||j8(u,{}):(nt[u]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=vgt(n,r))&&a.value:n[r],!A1(s?r:u+(l?".":"#")+r,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;cgt(i,o)}(t.sham||o&&o.sham)&&Fo(i,"sham",!0),lr(n,r,i,t)}},O1=Array.isArray||function(t){return oo(t)=="Array"},KM={};KM[$e("toStringTag")]="z";var H8=String(KM)==="[object z]",mgt=$e("toStringTag"),ygt=nt.Object,bgt=oo(function(){return arguments}())=="Arguments",Wm=H8?oo:function(t){var e,n,r;return t===void 0?"Undefined":t===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(e=ygt(t),mgt))=="string"?n:bgt?oo(e):(r=oo(e))=="Object"&&se(e.callee)?"Arguments":r},YM=function(){},wgt=[],XM=ds("Reflect","construct"),V8=/^\s*(?:class|function)\b/,Egt=Tt(V8.exec),Dgt=!V8.exec(YM),Wf=function(t){if(!se(t))return!1;try{return XM(YM,wgt,t),!0}catch{return!1}},U8=!XM||ye(function(){var t;return Wf(Wf.call)||!Wf(Object)||!Wf(function(){t=!0})||t})?function(t){if(!se(t))return!1;switch(Wm(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return Dgt||!!Egt(V8,Vm(t))}:Wf,ZM=function(t,e,n){var r=R8(e);r in t?mi.f(t,r,Hm(0,n)):t[r]=n},Cgt=$e("species"),JM=Tt([].slice),Sgt=kp>=51||!ye(function(){var t=[];return(t.constructor={})[Cgt]=function(){return{foo:1}},t.slice(Boolean).foo!==1}),xgt=$e("species"),$w=nt.Array,Agt=Math.max;Oo({target:"Array",proto:!0,forced:!Sgt},{slice:function(t,e){var n,r,o,i=qa(this),a=Ch(i),u=Fp(t,a),s=Fp(e===void 0?a:e,a);if(O1(i)&&(n=i.constructor,(U8(n)&&(n===$w||O1(n.prototype))||pe(n)&&(n=n[xgt])===null)&&(n=void 0),n===$w||n===void 0))return JM(i,u,s);for(r=new(n===void 0?$w:n)(Agt(s-u,0)),o=0;u<s;u++,o++)u in i&&ZM(r,o,i[u]);return r.length=o,r}});var Ogt=H8?{}.toString:function(){return"[object "+Wm(this)+"]"};H8||lr(Object.prototype,"toString",Ogt,{unsafe:!0});var M0,kgt=nt.String,xa=function(t){if(Wm(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return kgt(t)},QM=function(){var t=gn(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},W8=nt.RegExp,L3=ye(function(){var t=W8("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),Bgt=L3||ye(function(){return!W8("a","y").sticky}),tz={BROKEN_CARET:L3||ye(function(){var t=W8("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),MISSED_STICKY:Bgt,UNSUPPORTED_Y:L3},_gt=Object.keys||function(t){return qM(t,S1)},Fgt=Lo?Object.defineProperties:function(t,e){gn(t);for(var n,r=qa(e),o=_gt(e),i=o.length,a=0;i>a;)mi.f(t,n=o[a++],r[n]);return t},R3=ds("document","documentElement"),ez=z8("IE_PROTO"),Hw=function(){},nz=function(t){return"<script>"+t+"<\/script>"},WF=function(t){t.write(nz("")),t.close();var e=t.parentWindow.Object;return t=null,e},Sg=function(){try{M0=new ActiveXObject("htmlfile")}catch{}var t,e;Sg=typeof document<"u"?document.domain&&M0?WF(M0):((e=_p("iframe")).style.display="none",R3.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(nz("document.F=Object")),t.close(),t.F):WF(M0);for(var n=S1.length;n--;)delete Sg.prototype[S1[n]];return Sg()};Um[ez]=!0;var GF,Vw,G8=Object.create||function(t,e){var n;return t!==null?(Hw.prototype=gn(t),n=new Hw,Hw.prototype=null,n[ez]=t):n=Sg(),e===void 0?n:Fgt(n,e)},Tgt=nt.RegExp,Pgt=ye(function(){var t=Tgt(".","s");return!(t.dotAll&&t.exec(`
  140. `)&&t.flags==="s")}),jgt=nt.RegExp,Ngt=ye(function(){var t=jgt("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),Igt=gr.get,Lgt=N8("native-string-replace",String.prototype.replace),k1=RegExp.prototype.exec,M3=k1,Rgt=Tt("".charAt),Mgt=Tt("".indexOf),zgt=Tt("".replace),Uw=Tt("".slice),Ww=(Vw=/b*/g,te(k1,GF=/a/,"a"),te(k1,Vw,"a"),GF.lastIndex!==0||Vw.lastIndex!==0),qF=tz.BROKEN_CARET,Gw=/()??/.exec("")[1]!==void 0;(Ww||Gw||qF||Pgt||Ngt)&&(M3=function(t){var e,n,r,o,i,a,u,s=this,l=Igt(s),c=xa(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=te(M3,f,c),s.lastIndex=f.lastIndex,e;var p=l.groups,d=qF&&s.sticky,m=te(QM,s),g=s.source,v=0,y=c;if(d&&(m=zgt(m,"y",""),Mgt(m,"g")===-1&&(m+="g"),y=Uw(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&Rgt(c,s.lastIndex-1)!==`
  141. `)&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",m)),Gw&&(n=new RegExp("^"+g+"$(?!\\s)",m)),Ww&&(r=s.lastIndex),o=te(k1,d?n:s,y),d?o?(o.input=Uw(o.input,v),o[0]=Uw(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:Ww&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),Gw&&o&&o.length>1&&te(Lgt,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=G8(null),i=0;i<p.length;i++)a[(u=p[i])[0]]=o[u[1]];return o});var Tp=M3;Oo({target:"RegExp",proto:!0,forced:/./.exec!==Tp},{exec:Tp});var q8=Function.prototype,KF=q8.apply,$gt=q8.bind,YF=q8.call,rz=typeof Reflect=="object"&&Reflect.apply||($gt?YF.bind(KF):function(){return YF.apply(KF,arguments)}),Hgt=$e("species"),qw=RegExp.prototype,Vgt=$e("match"),Ugt=nt.TypeError,Wgt=$e("species"),oz=function(t,e){var n,r=gn(t).constructor;return r===void 0||(n=gn(r)[Wgt])==null?e:function(o){if(U8(o))return o;throw Ugt(E1(o)+" is not a constructor")}(n)},Ggt=Tt("".charAt),XF=Tt("".charCodeAt),qgt=Tt("".slice),ZF=function(t){return function(e,n){var r,o,i=xa(Ap(e)),a=$8(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=XF(i,a))<55296||r>56319||a+1===u||(o=XF(i,a+1))<56320||o>57343?t?Ggt(i,a):r:t?qgt(i,a,a+2):o-56320+(r-55296<<10)+65536}},iz={codeAt:ZF(!1),charAt:ZF(!0)},Kgt=iz.charAt,Ygt=function(t,e,n){return e+(n?Kgt(t,e).length:1)},Xgt=nt.Array,Zgt=Math.max,z3=function(t,e,n){for(var r=Ch(t),o=Fp(e,r),i=Fp(n===void 0?r:n,r),a=Xgt(Zgt(i-o,0)),u=0;o<i;o++,u++)ZM(a,u,t[o]);return a.length=u,a},Jgt=nt.TypeError,JF=function(t,e){var n=t.exec;if(se(n)){var r=te(n,t,e);return r!==null&&gn(r),r}if(oo(t)==="RegExp")return te(Tp,t,e);throw Jgt("RegExp#exec called on incompatible receiver")},el=tz.UNSUPPORTED_Y,Qgt=Math.min,az=[].push,tvt=Tt(/./.exec),nl=Tt(az),Gf=Tt("".slice);(function(t,e,n,r){var o=$e(t),i=!ye(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!ye(function(){var l=!1,c=/a/;return(c={}).constructor={},c.constructor[Hgt]=function(){return c},c.flags="",c[o]=/./[o],c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=Tt(/./[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,m){var g,v,y=xa(Ap(this)),h=m===void 0?4294967295:m>>>0;if(h===0)return[];if(d===void 0)return[y];if(!pe(g=d)||!((v=g[Vgt])!==void 0?v:oo(g)=="RegExp"))return te(c,y,d,h);for(var b,w,E,S=[],C=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(d.sticky?"y":""),O=0,k=new RegExp(d.source,C+"g");(b=te(Tp,k,y))&&!((w=k.lastIndex)>O&&(nl(S,Gf(y,O,b.index)),b.length>1&&b.index<y.length&&rz(az,S,z3(b,1)),E=b[0].length,O=w,S.length>=h));)k.lastIndex===b.index&&k.lastIndex++;return O===y.length?!E&&tvt(k,"")||nl(S,""):nl(S,Gf(y,O)),S.length>h?z3(S,0,h):S}:"0".split(void 0,0).length?function(d,m){return d===void 0&&m===0?[]:te(c,this,d,m)}:c,[function(d,m){var g=Ap(this),v=d==null?void 0:Bp(d,l);return v?te(v,d,g,m):te(p,xa(g),d,m)},function(d,m){var g=gn(this),v=xa(d),y=f(p,g,v,m,p!==c);if(y.done)return y.value;var h=oz(g,RegExp),b=g.unicode,w=(g.ignoreCase?"i":"")+(g.multiline?"m":"")+(g.unicode?"u":"")+(el?"g":"y"),E=new h(el?"^(?:"+g.source+")":g,w),S=m===void 0?4294967295:m>>>0;if(S===0)return[];if(v.length===0)return JF(E,v)===null?[v]:[];for(var C=0,O=0,k=[];O<v.length;){E.lastIndex=el?0:O;var I,$=JF(E,el?Gf(v,O):v);if($===null||(I=Qgt(GM(E.lastIndex+(el?O:0)),v.length))===C)O=Ygt(v,O,b);else{if(nl(k,Gf(v,C,O)),k.length===S)return k;for(var M=1;M<=$.length-1;M++)if(nl(k,$[M]),k.length===S)return k;O=C=I}}return nl(k,Gf(v,C)),k}]}(o,""[t],function(l,c,f,p,d){var m=Tt(l),g=c.exec;return g===Tp||g===qw.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:m(f,c,p)}:{done:!1}});lr(String.prototype,t,s[0]),lr(qw,o,s[1])}r&&Fo(qw[o],"sham",!0)})("split",0,!!ye(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"}),el);/*! *****************************************************************************
  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 B1=function(){return B1=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},B1.apply(this,arguments)};function K8(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 Y8(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 evt(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 $3=$e("unscopables"),H3=Array.prototype;H3[$3]==null&&mi.f(H3,$3,{configurable:!0,value:G8(null)});var Xu,QF,tT,Kw=function(t){H3[$3][t]=!0},ac={},nvt=!ye(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),eT=z8("IE_PROTO"),V3=nt.Object,rvt=V3.prototype,_1=nvt?V3.getPrototypeOf:function(t){var e=I8(t);if(Ze(e,eT))return e[eT];var n=e.constructor;return se(n)&&e instanceof n?n.prototype:e instanceof V3?rvt:null},U3=$e("iterator"),uz=!1;[].keys&&("next"in(tT=[].keys())?(QF=_1(_1(tT)))!==Object.prototype&&(Xu=QF):uz=!0);var ovt=Xu==null||ye(function(){var t={};return Xu[U3].call(t)!==t});ovt&&(Xu={}),se(Xu[U3])||lr(Xu,U3,function(){return this});var X8={IteratorPrototype:Xu,BUGGY_SAFARI_ITERATORS:uz},ivt=mi.f,nT=$e("toStringTag"),F1=function(t,e,n){t&&!Ze(t=n?t:t.prototype,nT)&&ivt(t,nT,{configurable:!0,value:e})},avt=X8.IteratorPrototype,uvt=function(){return this},svt=nt.String,lvt=nt.TypeError,uc=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Tt(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),e=n instanceof Array}catch{}return function(r,o){return gn(r),function(i){if(typeof i=="object"||se(i))return i;throw lvt("Can't set "+svt(i)+" as a prototype")}(o),e?t(r,o):r.__proto__=o,r}}():void 0),cvt=Dh.PROPER,fvt=Dh.CONFIGURABLE,rT=X8.IteratorPrototype,z0=X8.BUGGY_SAFARI_ITERATORS,qf=$e("iterator"),dvt=function(){return this},sz=function(t,e,n,r,o,i,a){(function(y,h,b,w){var E=h+" Iterator";y.prototype=G8(avt,{next:Hm(1,b)}),F1(y,E,!1),ac[E]=uvt})(n,e,r);var u,s,l,c=function(y){if(y===o&&g)return g;if(!z0&&y in d)return d[y];switch(y){case"keys":case"values":case"entries":return function(){return new n(this,y)}}return function(){return new n(this)}},f=e+" Iterator",p=!1,d=t.prototype,m=d[qf]||d["@@iterator"]||o&&d[o],g=!z0&&m||c(o),v=e=="Array"&&d.entries||m;if(v&&(u=_1(v.call(new t)))!==Object.prototype&&u.next&&(_1(u)!==rT&&(uc?uc(u,rT):se(u[qf])||lr(u,qf,dvt)),F1(u,f,!0)),cvt&&o=="values"&&m&&m.name!=="values"&&(fvt?Fo(d,"name","values"):(p=!0,g=function(){return te(m,this)})),o)if(s={values:c("values"),keys:i?g:c("keys"),entries:c("entries")},a)for(l in s)(z0||p||!(l in d))&&lr(d,l,s[l]);else Oo({target:e,proto:!0,forced:z0||p},s);return d[qf]!==g&&lr(d,qf,g,{name:o}),ac[e]=g,s},pvt=gr.set,hvt=gr.getterFor("Array Iterator"),fd=sz(Array,"Array",function(t,e){pvt(this,{type:"Array Iterator",target:qa(t),index:0,kind:e})},function(){var t=hvt(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");ac.Arguments=ac.Array,Kw("keys"),Kw("values"),Kw("entries");var gvt=iz.charAt,vvt=gr.set,mvt=gr.getterFor("String Iterator");sz(String,"String",function(t){vvt(this,{type:"String Iterator",string:xa(t),index:0})},function(){var t,e=mvt(this),n=e.string,r=e.index;return r>=n.length?{value:void 0,done:!0}:(t=gvt(n,r),e.index+=t.length,{value:t,done:!1})});var T1=function(t,e,n){for(var r in e)lr(t,r,e[r],n);return t},oT=x1.f,iT=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],yvt={f:function(t){return iT&&oo(t)=="Window"?function(e){try{return oT(e)}catch{return z3(iT)}}(t):oT(qa(t))}},aT=ye(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),$0=Object.isExtensible,Ou=ye(function(){$0(1)})||aT?function(t){return!!pe(t)&&(!aT||oo(t)!="ArrayBuffer")&&(!$0||$0(t))}:$0,bvt=!ye(function(){return Object.isExtensible(Object.preventExtensions({}))}),Z8=F8(function(t){var e=mi.f,n=!1,r=L8("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=x1.f,s=Tt([].splice),l={};l[r]=1,u(l).length&&(x1.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},Oo({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:yvt.f}))},fastKey:function(u,s){if(!pe(u))return typeof u=="symbol"?u:(typeof u=="string"?"S":"P")+u;if(!Ze(u,r)){if(!Ou(u))return"F";if(!s)return"E";i(u)}return u[r].objectID},getWeakData:function(u,s){if(!Ze(u,r)){if(!Ou(u))return!0;if(!s)return!1;i(u)}return u[r].weakData},onFreeze:function(u){return bvt&&n&&Ou(u)&&!Ze(u,r)&&i(u),u}};Um[r]=!0}),uT=Tt(Tt.bind),Pp=function(t,e){return za(t),e===void 0?t:uT?uT(t,e):function(){return t.apply(e,arguments)}},wvt=$e("iterator"),Evt=Array.prototype,Dvt=$e("iterator"),sT=function(t){if(t!=null)return Bp(t,Dvt)||Bp(t,"@@iterator")||ac[Wm(t)]},Cvt=nt.TypeError,lT=function(t,e,n){var r,o;gn(t);try{if(!(r=Bp(t,"return"))){if(e==="throw")throw n;return n}r=te(r,t)}catch(i){o=!0,r=i}if(e==="throw")throw n;if(o)throw r;return gn(r),n},Svt=nt.TypeError,xg=function(t,e){this.stopped=t,this.result=e},cT=xg.prototype,P1=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),m=!(!n||!n.INTERRUPTED),g=Pp(e,f),v=function(h){return r&&lT(r,"normal",h),new xg(!0,h)},y=function(h){return p?(gn(h),m?g(h[0],h[1],v):g(h[0],h[1])):m?g(h,v):g(h)};if(d)r=t;else{if(!(o=sT(t)))throw Svt(E1(t)+" is not iterable");if((c=o)!==void 0&&(ac.Array===c||Evt[wvt]===c)){for(i=0,a=Ch(t);a>i;i++)if((u=y(t[i]))&&Op(cT,u))return u;return new xg(!1)}r=function(h,b){var w=arguments.length<2?sT(h):b;if(za(w))return gn(te(w,h));throw Cvt(E1(h)+" is not iterable")}(t,o)}for(s=r.next;!(l=te(s,r)).done;){try{u=y(l.value)}catch(h){lT(r,"throw",h)}if(typeof u=="object"&&u&&Op(cT,u))return u}return new xg(!1)},xvt=nt.TypeError,J8=function(t,e){if(Op(e,t))return t;throw xvt("Incorrect invocation")},lz=$e("iterator"),cz=!1;try{var Avt=0,fT={next:function(){return{done:!!Avt++}},return:function(){cz=!0}};fT[lz]=function(){return this},Array.from(fT,function(){throw 2})}catch{}var fz=function(t,e){if(!e&&!cz)return!1;var n=!1;try{var r={};r[lz]=function(){return{next:function(){return{done:n=!0}}}},t(r)}catch{}return n},Ovt=$e("species"),dT=nt.Array,kvt=function(t,e){return new(function(n){var r;return O1(n)&&(r=n.constructor,(U8(r)&&(r===dT||O1(r.prototype))||pe(r)&&(r=r[Ovt])===null)&&(r=void 0)),r===void 0?dT:r}(t))(e===0?0:e)},pT=Tt([].push),Gi=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,m=I8(s),g=T8(m),v=Pp(l,c),y=Ch(g),h=0,b=f||kvt,w=e?b(s,y):n||a?b(s,0):void 0;y>h;h++)if((u||h in g)&&(d=v(p=g[h],h,m),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:pT(w,p)}else switch(t){case 4:return!1;case 7:pT(w,p)}return i?-1:r||o?o:w}},Q8={forEach:Gi(0),map:Gi(1),filter:Gi(2),some:Gi(3),every:Gi(4),find:Gi(5),findIndex:Gi(6),filterReject:Gi(7)},H0=Z8.getWeakData,Bvt=gr.set,_vt=gr.getterFor,Fvt=Q8.find,Tvt=Q8.findIndex,Pvt=Tt([].splice),jvt=0,V0=function(t){return t.frozen||(t.frozen=new dz)},dz=function(){this.entries=[]},Yw=function(t,e){return Fvt(t.entries,function(n){return n[0]===e})};dz.prototype={get:function(t){var e=Yw(this,t);if(e)return e[1]},has:function(t){return!!Yw(this,t)},set:function(t,e){var n=Yw(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=Tvt(this.entries,function(n){return n[0]===t});return~e&&Pvt(this.entries,e,1),!!~e}};var Kf,pz={getConstructor:function(t,e,n,r){var o=t(function(s,l){J8(s,i),Bvt(s,{type:e,id:jvt++,frozen:void 0}),l!=null&&P1(l,s[r],{that:s,AS_ENTRIES:n})}),i=o.prototype,a=_vt(e),u=function(s,l,c){var f=a(s),p=H0(gn(l),!0);return p===!0?V0(f).set(l,c):p[f.id]=c,s};return T1(i,{delete:function(s){var l=a(this);if(!pe(s))return!1;var c=H0(s);return c===!0?V0(l).delete(s):c&&Ze(c,l.id)&&delete c[l.id]},has:function(s){var l=a(this);if(!pe(s))return!1;var c=H0(s);return c===!0?V0(l).has(s):c&&Ze(c,l.id)}}),T1(i,n?{get:function(s){var l=a(this);if(pe(s)){var c=H0(s);return c===!0?V0(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}},U0=gr.enforce,Nvt=!nt.ActiveXObject&&"ActiveXObject"in nt,hz=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Ivt=function(t,e,n){var r=t.indexOf("Map")!==-1,o=t.indexOf("Weak")!==-1,i=r?"set":"add",a=nt[t],u=a&&a.prototype,s=a,l={},c=function(v){var y=Tt(u[v]);lr(u,v,v=="add"?function(h){return y(this,h===0?0:h),this}:v=="delete"?function(h){return!(o&&!pe(h))&&y(this,h===0?0:h)}:v=="get"?function(h){return o&&!pe(h)?void 0:y(this,h===0?0:h)}:v=="has"?function(h){return!(o&&!pe(h))&&y(this,h===0?0:h)}:function(h,b){return y(this,h===0?0:h,b),this})};if(A1(t,!se(a)||!(o||u.forEach&&!ye(function(){new a().entries().next()}))))s=n.getConstructor(e,t,r,i),Z8.enable();else if(A1(t,!0)){var f=new s,p=f[i](o?{}:-0,1)!=f,d=ye(function(){f.has(1)}),m=fz(function(v){new a(v)}),g=!o&&ye(function(){for(var v=new a,y=5;y--;)v[i](y,y);return!v.has(-0)});m||((s=e(function(v,y){J8(v,u);var h=function(b,w,E){var S,C;return uc&&se(S=w.constructor)&&S!==E&&pe(C=S.prototype)&&C!==E.prototype&&uc(b,C),b}(new a,v,s);return y!=null&&P1(y,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,Oo({global:!0,forced:s!=a},l),F1(s,t),o||n.setStrong(s,t,r),s}("WeakMap",hz,pz);if(UM&&Nvt){Kf=pz.getConstructor(hz,"WeakMap",!0),Z8.enable();var Yf=Ivt.prototype,hT=Tt(Yf.delete),W0=Tt(Yf.has),gT=Tt(Yf.get),vT=Tt(Yf.set);T1(Yf,{delete:function(t){if(pe(t)&&!Ou(t)){var e=U0(this);return e.frozen||(e.frozen=new Kf),hT(this,t)||e.frozen.delete(t)}return hT(this,t)},has:function(t){if(pe(t)&&!Ou(t)){var e=U0(this);return e.frozen||(e.frozen=new Kf),W0(this,t)||e.frozen.has(t)}return W0(this,t)},get:function(t){if(pe(t)&&!Ou(t)){var e=U0(this);return e.frozen||(e.frozen=new Kf),W0(this,t)?gT(this,t):e.frozen.get(t)}return gT(this,t)},set:function(t,e){if(pe(t)&&!Ou(t)){var n=U0(this);n.frozen||(n.frozen=new Kf),W0(this,t)?vT(this,t,e):n.frozen.set(t,e)}else vT(this,t,e);return this}})}var j1={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},Xw=_p("span").classList,mT=Xw&&Xw.constructor&&Xw.constructor.prototype,gz=mT===Object.prototype?void 0:mT,Zw=$e("iterator"),yT=$e("toStringTag"),Jw=fd.values,vz=function(t,e){if(t){if(t[Zw]!==Jw)try{Fo(t,Zw,Jw)}catch{t[Zw]=Jw}if(t[yT]||Fo(t,yT,e),j1[e]){for(var n in fd)if(t[n]!==fd[n])try{Fo(t,n,fd[n])}catch{t[n]=fd[n]}}}};for(var Qw in j1)vz(nt[Qw]&&nt[Qw].prototype,Qw);vz(gz,"DOMTokenList");var mz=function(t,e){var n=[][t];return!!n&&ye(function(){n.call(null,e||function(){throw 1},1)})},Lvt=Q8.forEach,t4=mz("forEach")?[].forEach:function(t){return Lvt(this,t,arguments.length>1?arguments[1]:void 0)},yz=function(t){if(t&&t.forEach!==t4)try{Fo(t,"forEach",t4)}catch{t.forEach=t4}};for(var e4 in j1)j1[e4]&&yz(nt[e4]&&nt[e4].prototype);yz(gz);var jp,rl,bT,n4,N1=nt.Promise,wT=$e("species"),bz=/(?:ipad|iphone|ipod).*applewebkit/i.test(_l),Aa=oo(nt.process)=="process",W3=nt.setImmediate,G3=nt.clearImmediate,Rvt=nt.process,r4=nt.Dispatch,Mvt=nt.Function,ET=nt.MessageChannel,zvt=nt.String,o4=0,Nd={};try{jp=nt.location}catch{}var tS=function(t){if(Ze(Nd,t)){var e=Nd[t];delete Nd[t],e()}},i4=function(t){return function(){tS(t)}},DT=function(t){tS(t.data)},CT=function(t){nt.postMessage(zvt(t),jp.protocol+"//"+jp.host)};W3&&G3||(W3=function(t){var e=JM(arguments,1);return Nd[++o4]=function(){rz(se(t)?t:Mvt(t),void 0,e)},rl(o4),o4},G3=function(t){delete Nd[t]},Aa?rl=function(t){Rvt.nextTick(i4(t))}:r4&&r4.now?rl=function(t){r4.now(i4(t))}:ET&&!bz?(n4=(bT=new ET).port2,bT.port1.onmessage=DT,rl=Pp(n4.postMessage,n4)):nt.addEventListener&&se(nt.postMessage)&&!nt.importScripts&&jp&&jp.protocol!=="file:"&&!ye(CT)?(rl=CT,nt.addEventListener("message",DT,!1)):rl="onreadystatechange"in _p("script")?function(t){R3.appendChild(_p("script")).onreadystatechange=function(){R3.removeChild(this),tS(t)}}:function(t){setTimeout(i4(t),0)});var Xf,Du,Id,pl,a4,u4,s4,ST,wz={set:W3,clear:G3},$vt=/ipad|iphone|ipod/i.test(_l)&&nt.Pebble!==void 0,Hvt=/web0s(?!.*chrome)/i.test(_l),Vvt=M8.f,l4=wz.set,xT=nt.MutationObserver||nt.WebKitMutationObserver,AT=nt.document,OT=nt.process,G0=nt.Promise,kT=Vvt(nt,"queueMicrotask"),Ez=kT&&kT.value;Ez||(Xf=function(){var t,e;for(Aa&&(t=OT.domain)&&t.exit();Du;){e=Du.fn,Du=Du.next;try{e()}catch(n){throw Du?pl():Id=void 0,n}}Id=void 0,t&&t.enter()},bz||Aa||Hvt||!xT||!AT?!$vt&&G0&&G0.resolve?((s4=G0.resolve(void 0)).constructor=G0,ST=Pp(s4.then,s4),pl=function(){ST(Xf)}):Aa?pl=function(){OT.nextTick(Xf)}:(l4=Pp(l4,nt),pl=function(){l4(Xf)}):(a4=!0,u4=AT.createTextNode(""),new xT(Xf).observe(u4,{characterData:!0}),pl=function(){u4.data=a4=!a4}));var c4,BT,Dz,_T,Cz=Ez||function(t){var e={fn:t,next:void 0};Id&&(Id.next=e),Du||(Du=e,pl()),Id=e},Uvt=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=za(e),this.reject=za(n)},eS={f:function(t){return new Uvt(t)}},q3=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}},Wvt=typeof window=="object",Sz=wz.set,Gvt=$e("species"),ri="Promise",FT=gr.getterFor(ri),qvt=gr.set,Kvt=gr.getterFor(ri),vu=N1&&N1.prototype,ko=N1,Zf=vu,xz=nt.TypeError,K3=nt.document,nS=nt.process,Fl=eS.f,Yvt=Fl,Xvt=!!(K3&&K3.createEvent&&nt.dispatchEvent),Az=se(nt.PromiseRejectionEvent),Oz=!1,Ld=A1(ri,function(){var t=Vm(ko),e=t!==String(ko);if(!e&&kp===66)return!0;if(kp>=51&&/native code/.test(t))return!1;var n=new ko(function(o){o(1)}),r=function(o){o(function(){},function(){})};return(n.constructor={})[Gvt]=r,!(Oz=n.then(function(){})instanceof r)||!e&&Wvt&&!Az}),Zvt=Ld||!fz(function(t){ko.all(t).catch(function(){})}),kz=function(t){var e;return!(!pe(t)||!se(e=t.then))&&e},rS=function(t,e){if(!t.notified){t.notified=!0;var n=t.reactions;Cz(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&&Qvt(t),t.rejection=1),c===!0?a=r:(d&&d.enter(),a=c(r),d&&(d.exit(),s=!0)),a===l.promise?p(xz("Promise-chain cycle")):(u=kz(a))?te(u,a,f,p):f(a)):p(r)}catch(m){d&&!s&&d.exit(),p(m)}}t.reactions=[],t.notified=!1,e&&!t.rejection&&Jvt(t)})}},Bz=function(t,e,n){var r,o;Xvt?((r=K3.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),nt.dispatchEvent(r)):r={promise:e,reason:n},!Az&&(o=nt["on"+t])?o(r):t==="unhandledrejection"&&function(i,a){var u=nt.console;u&&u.error&&(arguments.length==1?u.error(i):u.error(i,a))}("Unhandled promise rejection",n)},Jvt=function(t){te(Sz,nt,function(){var e,n=t.facade,r=t.value;if(TT(t)&&(e=q3(function(){Aa?nS.emit("unhandledRejection",r,n):Bz("unhandledrejection",n,r)}),t.rejection=Aa||TT(t)?2:1,e.error))throw e.value})},TT=function(t){return t.rejection!==1&&!t.parent},Qvt=function(t){te(Sz,nt,function(){var e=t.facade;Aa?nS.emit("rejectionHandled",e):Bz("rejectionhandled",e,t.value)})},bl=function(t,e,n){return function(r){t(e,r,n)}},Tl=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,rS(t,!0))},Y3=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw xz("Promise can't be resolved itself");var r=kz(e);r?Cz(function(){var o={done:!1};try{te(r,e,bl(Y3,o,t),bl(Tl,o,t))}catch(i){Tl(o,i,t)}}):(t.value=e,t.state=1,rS(t,!1))}catch(o){Tl({done:!1},o,t)}}};if(Ld&&(Zf=(ko=function(t){J8(this,Zf),za(t),te(c4,this);var e=FT(this);try{t(bl(Y3,e),bl(Tl,e))}catch(n){Tl(e,n)}}).prototype,(c4=function(t){qvt(this,{type:ri,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=T1(Zf,{then:function(t,e){var n=Kvt(this),r=n.reactions,o=Fl(oz(this,ko));return o.ok=!se(t)||t,o.fail=se(e)&&e,o.domain=Aa?nS.domain:void 0,n.parent=!0,r[r.length]=o,n.state!=0&&rS(n,!1),o.promise},catch:function(t){return this.then(void 0,t)}}),BT=function(){var t=new c4,e=FT(t);this.promise=t,this.resolve=bl(Y3,e),this.reject=bl(Tl,e)},eS.f=Fl=function(t){return t===ko||t===Dz?new BT(t):Yvt(t)},se(N1)&&vu!==Object.prototype)){_T=vu.then,Oz||(lr(vu,"then",function(t,e){var n=this;return new ko(function(r,o){te(_T,n,r,o)}).then(t,e)},{unsafe:!0}),lr(vu,"catch",Zf.catch,{unsafe:!0}));try{delete vu.constructor}catch{}uc&&uc(vu,Zf)}Oo({global:!0,wrap:!0,forced:Ld},{Promise:ko}),F1(ko,ri,!1),function(t){var e=ds("Promise"),n=mi.f;Lo&&e&&!e[wT]&&n(e,wT,{configurable:!0,get:function(){return this}})}(),Dz=ds(ri),Oo({target:ri,stat:!0,forced:Ld},{reject:function(t){var e=Fl(this);return te(e.reject,void 0,t),e.promise}}),Oo({target:ri,stat:!0,forced:Ld},{resolve:function(t){return function(e,n){if(gn(e),pe(n)&&n.constructor===e)return n;var r=eS.f(e);return(0,r.resolve)(n),r.promise}(this,t)}}),Oo({target:ri,stat:!0,forced:Zvt},{all:function(t){var e=this,n=Fl(e),r=n.resolve,o=n.reject,i=q3(function(){var a=za(e.resolve),u=[],s=0,l=1;P1(t,function(c){var f=s++,p=!1;l++,te(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=Fl(e),r=n.reject,o=q3(function(){var i=za(e.resolve);P1(t,function(a){te(i,e,a).then(n.resolve,r)})});return o.error&&r(o.value),n.promise}});var t1t=Dh.PROPER,X3=RegExp.prototype,_z=X3.toString,e1t=Tt(QM),n1t=ye(function(){return _z.call({source:"a",flags:"b"})!="/a/b"}),r1t=t1t&&_z.name!="toString";(n1t||r1t)&&lr(RegExp.prototype,"toString",function(){var t=gn(this),e=xa(t.source),n=t.flags;return"/"+e+"/"+xa(n===void 0&&Op(X3,t)&&!("flags"in X3)?e1t(t):n)},{unsafe:!0});var o1t=Dh.EXISTS,i1t=mi.f,Fz=Function.prototype,a1t=Tt(Fz.toString),Tz=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,u1t=Tt(Tz.exec);Lo&&!o1t&&i1t(Fz,"name",{configurable:!0,get:function(){try{return u1t(Tz,a1t(this))[1]}catch{return""}}});var PT=new WeakMap;function Pz(t){return t.getMenuConfig("uploadImage")}function s1t(t,e){return K8(this,void 0,void 0,function(){return Y8(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;Mu(t,a,e.name,u),r("ok")}}})]})})}function l1t(t,e){return K8(this,void 0,void 0,function(){var n,r,o,i;return Y8(this,function(a){switch(a.label){case 0:return n=function(u){var s=PT.get(u);if(s!=null)return s;var l=Pz(u),c=l.onSuccess,f=l.onProgress,p=l.onFailed,d=l.customInsert,m=l.onError;return s=dI(B1(B1({},l),{onProgress:function(g){u.showProgressBar(g),f&&f(g)},onSuccess:function(g,v){if(d)return d(v,function(I,$,M){return Mu(u,I,$,M)}),void c(g,v);var y=v.errno,h=y===void 0?1:y,b=v.data,w=b===void 0?{}:b;if(h===0){if(Array.isArray(w))w.forEach(function(I){var $=I.url,M=$===void 0?"":$,q=I.alt,G=q===void 0?"":q,W=I.href;Mu(u,M,G,W===void 0?"":W)});else{var E=w.url,S=E===void 0?"":E,C=w.alt,O=C===void 0?"":C,k=w.href;Mu(u,S,O,k===void 0?"":k)}c(g,v)}else p(g,v)},onError:function(g,v,y){m(g,v,y)}})),PT.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 jz(t,e){var n,r;return K8(this,void 0,void 0,function(){var o,i,a,u,s,l,c,f,p;return Y8(this,function(d){switch(d.label){case 0:if(e==null)return[2];o=Array.prototype.slice.call(e),i=Pz(t),a=i.customUpload,u=i.base64LimitSize,d.label=1;case 1:d.trys.push([1,11,12,17]),s=evt(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,s1t(t,c)]:[3,5]);case 4:return d.sent(),[3,9];case 5:return a?[4,a(c,function(m,g,v){return Mu(t,m,g,v)})]:[3,7];case 6:return d.sent(),[3,9];case 7:return[4,l1t(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 c1t=Tt([].join),f1t=T8!=Object,d1t=mz("join",",");Oo({target:"Array",proto:!0,forced:f1t||!d1t},{join:function(t){return c1t(qa(this),t===void 0?",":t)}}),Ir&&(_.fn.append=Ir),jo&&(_.fn.on=jo),Wl&&(_.fn.remove=Wl),Po&&(_.fn.val=Po),IA&&(_.fn.click=IA),$l&&(_.fn.hide=$l);var p1t=function(){function t(){this.title=et("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 wm(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 Mu(e,c,f,p)});else{var u="";i.length>0&&(u='accept="'+i.join(", ")+'"');var s=_("body"),l=_('<input type="file" '+u+" multiple/>");l.hide(),s.append(l),l.click(),l.on("change",function(){var c=l[0].files;jz(e,c)})}},t}(),h1t={menus:[{key:"uploadImage",factory:function(){return new p1t},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(wm(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"})?jz(t,o):e(r)}},n}};Zn("en",{highLightModule:{selectLang:"Language"}}),Zn("zh-CN",{highLightModule:{selectLang:"\u9009\u62E9\u8BED\u8A00"}});var I1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function oS(t){var e={exports:{}};return t(e,e.exports),e.exports}var qi,Ag,q0=function(t){return t&&t.Math==Math&&t},It=q0(typeof globalThis=="object"&&globalThis)||q0(typeof window=="object"&&window)||q0(typeof self=="object"&&self)||q0(typeof I1=="object"&&I1)||function(){return this}()||Function("return this")(),g1t=Object.defineProperty,iS=function(t,e){try{g1t(It,t,{value:e,configurable:!0,writable:!0})}catch{It[t]=e}return e},Oa=It["__core-js_shared__"]||iS("__core-js_shared__",{}),aS=oS(function(t){(t.exports=function(e,n){return Oa[e]||(Oa[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})}),Nz=Function.prototype,Z3=Nz.bind,J3=Nz.call,v1t=Z3&&Z3.bind(J3),ee=Z3?function(t){return t&&v1t(J3,t)}:function(t){return t&&function(){return J3.apply(t,arguments)}},m1t=It.TypeError,sc=function(t){if(t==null)throw m1t("Can't call method on "+t);return t},y1t=It.Object,uS=function(t){return y1t(sc(t))},b1t=ee({}.hasOwnProperty),jr=Object.hasOwn||function(t,e){return b1t(uS(t),e)},w1t=0,E1t=Math.random(),D1t=ee(1 .toString),Iz=function(t){return"Symbol("+(t===void 0?"":t)+")_"+D1t(++w1t+E1t,36)},_n=function(t){return typeof t=="function"},C1t=function(t){return _n(t)?t:void 0},xh=function(t,e){return arguments.length<2?C1t(It[t]):It[t]&&It[t][e]},f4=xh("navigator","userAgent")||"",jT=It.process,NT=It.Deno,IT=jT&&jT.versions||NT&&NT.version,LT=IT&&IT.v8;LT&&(Ag=(qi=LT.split("."))[0]>0&&qi[0]<4?1:+(qi[0]+qi[1])),!Ag&&f4&&(!(qi=f4.match(/Edge\/(\d+)/))||qi[1]>=74)&&(qi=f4.match(/Chrome\/(\d+)/))&&(Ag=+qi[1]);var RT=Ag,dn=function(t){try{return!!t()}catch{return!0}},Q3=!!Object.getOwnPropertySymbols&&!dn(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&RT&&RT<41}),sS=Q3&&!Symbol.sham&&typeof Symbol.iterator=="symbol",Jf=aS("wks"),Zu=It.Symbol,MT=Zu&&Zu.for,S1t=sS?Zu:Zu&&Zu.withoutSetter||Iz,Ka=function(t){if(!jr(Jf,t)||!Q3&&typeof Jf[t]!="string"){var e="Symbol."+t;Q3&&jr(Zu,t)?Jf[t]=Zu[t]:Jf[t]=sS&&MT?MT(e):S1t(e)}return Jf[t]},Lz={};Lz[Ka("toStringTag")]="z";var lS=String(Lz)==="[object z]",Ro=!dn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),Xr=function(t){return typeof t=="object"?t!==null:_n(t)},t5=It.document,x1t=Xr(t5)&&Xr(t5.createElement),cS=function(t){return x1t?t5.createElement(t):{}},Rz=!Ro&&!dn(function(){return Object.defineProperty(cS("div"),"a",{get:function(){return 7}}).a!=7}),A1t=It.String,O1t=It.TypeError,io=function(t){if(Xr(t))return t;throw O1t(A1t(t)+" is not an object")},Qf=Function.prototype.call,nn=Qf.bind?Qf.bind(Qf):function(){return Qf.apply(Qf,arguments)},Mz=ee({}.isPrototypeOf),k1t=It.Object,d4=sS?function(t){return typeof t=="symbol"}:function(t){var e=xh("Symbol");return _n(e)&&Mz(e.prototype,k1t(t))},B1t=It.String,zz=function(t){try{return B1t(t)}catch{return"Object"}},_1t=It.TypeError,$z=function(t){if(_n(t))return t;throw _1t(zz(t)+" is not a function")},Hz=function(t,e){var n=t[e];return n==null?void 0:$z(n)},F1t=It.TypeError,T1t=It.TypeError,P1t=Ka("toPrimitive"),fS=function(t){var e=function(n,r){if(!Xr(n)||d4(n))return n;var o,i=Hz(n,P1t);if(i){if(r===void 0&&(r="default"),o=nn(i,n,r),!Xr(o)||d4(o))return o;throw T1t("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&_n(s=a.toString)&&!Xr(l=nn(s,a))||_n(s=a.valueOf)&&!Xr(l=nn(s,a))||u!=="string"&&_n(s=a.toString)&&!Xr(l=nn(s,a)))return l;throw F1t("Can't convert object to primitive value")}(n,r)}(t,"string");return d4(e)?e:e+""},j1t=It.TypeError,zT=Object.defineProperty,Gm={f:Ro?zT:function(t,e,n){if(io(t),e=fS(e),io(n),Rz)try{return zT(t,e,n)}catch{}if("get"in n||"set"in n)throw j1t("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},dS=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},lc=Ro?function(t,e,n){return Gm.f(t,e,dS(1,n))}:function(t,e,n){return t[e]=n,t},N1t=ee(Function.toString);_n(Oa.inspectSource)||(Oa.inspectSource=function(t){return N1t(t)});var L1,Rd,R1,pS=Oa.inspectSource,$T=It.WeakMap,I1t=_n($T)&&/native code/.test(pS($T)),HT=aS("keys"),Vz=function(t){return HT[t]||(HT[t]=Iz(t))},hS={},e5=It.TypeError,L1t=It.WeakMap;if(I1t||Oa.state){var fu=Oa.state||(Oa.state=new L1t),R1t=ee(fu.get),VT=ee(fu.has),M1t=ee(fu.set);L1=function(t,e){if(VT(fu,t))throw new e5("Object already initialized");return e.facade=t,M1t(fu,t,e),e},Rd=function(t){return R1t(fu,t)||{}},R1=function(t){return VT(fu,t)}}else{var ol=Vz("state");hS[ol]=!0,L1=function(t,e){if(jr(t,ol))throw new e5("Object already initialized");return e.facade=t,lc(t,ol,e),e},Rd=function(t){return jr(t,ol)?t[ol]:{}},R1=function(t){return jr(t,ol)}}var n5={set:L1,get:Rd,has:R1,enforce:function(t){return R1(t)?Rd(t):L1(t,{})},getterFor:function(t){return function(e){var n;if(!Xr(e)||(n=Rd(e)).type!==t)throw e5("Incompatible receiver, "+t+" required");return n}}},Uz=Function.prototype,z1t=Ro&&Object.getOwnPropertyDescriptor,p4=jr(Uz,"name"),Wz={EXISTS:p4,PROPER:p4&&function(){}.name==="something",CONFIGURABLE:p4&&(!Ro||Ro&&z1t(Uz,"name").configurable)},Np=oS(function(t){var e=Wz.CONFIGURABLE,n=n5.get,r=n5.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;_n(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!jr(u,"name")||e&&u.name!==d)&&lc(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:lc(i,a,u)):f?i[a]=u:iS(a,u)})(Function.prototype,"toString",function(){return _n(this)&&n(this).source||pS(this)})}),$1t=ee({}.toString),H1t=ee("".slice),ka=function(t){return H1t($1t(t),8,-1)},V1t=Ka("toStringTag"),U1t=It.Object,W1t=ka(function(){return arguments}())=="Arguments",gS=lS?ka:function(t){var e,n,r;return t===void 0?"Undefined":t===null?"Null":typeof(n=function(o,i){try{return o[i]}catch{}}(e=U1t(t),V1t))=="string"?n:W1t?ka(e):(r=ka(e))=="Object"&&_n(e.callee)?"Arguments":r},G1t=lS?{}.toString:function(){return"[object "+gS(this)+"]"};lS||Np(Object.prototype,"toString",G1t,{unsafe:!0});var UT,WT={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},h4=cS("span").classList,GT=h4&&h4.constructor&&h4.constructor.prototype,q1t=GT===Object.prototype?void 0:GT,qT=ee(ee.bind),g4=It.Object,K1t=ee("".split),vS=dn(function(){return!g4("z").propertyIsEnumerable(0)})?function(t){return ka(t)=="String"?K1t(t,""):g4(t)}:g4,Y1t=Math.ceil,X1t=Math.floor,mS=function(t){var e=+t;return e!=e||e===0?0:(e>0?X1t:Y1t)(e)},Z1t=Math.min,Gz=function(t){return t>0?Z1t(mS(t),9007199254740991):0},yS=function(t){return Gz(t.length)},KT=Array.isArray||function(t){return ka(t)=="Array"},qz=function(){},J1t=[],Kz=xh("Reflect","construct"),bS=/^\s*(?:class|function)\b/,Q1t=ee(bS.exec),tmt=!bS.exec(qz),td=function(t){if(!_n(t))return!1;try{return Kz(qz,J1t,t),!0}catch{return!1}},Yz=!Kz||dn(function(){var t;return td(td.call)||!td(Object)||!td(function(){t=!0})||t})?function(t){if(!_n(t))return!1;switch(gS(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return tmt||!!Q1t(bS,pS(t))}:td,emt=Ka("species"),YT=It.Array,nmt=function(t,e){return new(function(n){var r;return KT(n)&&(r=n.constructor,(Yz(r)&&(r===YT||KT(r.prototype))||Xr(r)&&(r=r[emt])===null)&&(r=void 0)),r===void 0?YT:r}(t))(e===0?0:e)},XT=ee([].push),Ki=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,m=uS(s),g=vS(m),v=function(E,S){return $z(E),S===void 0?E:qT?qT(E,S):function(){return E.apply(S,arguments)}}(l,c),y=yS(g),h=0,b=f||nmt,w=e?b(s,y):n||a?b(s,0):void 0;y>h;h++)if((u||h in g)&&(d=v(p=g[h],h,m),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:XT(w,p)}else switch(t){case 4:return!1;case 7:XT(w,p)}return i?-1:r||o?o:w}},rmt=[Ki(0),Ki(1),Ki(2),Ki(3),Ki(4),Ki(5),Ki(6),Ki(7)][0],v4=(UT=[].forEach)&&dn(function(){UT.call(null,function(){throw 1},1)})?[].forEach:function(t){return rmt(this,t,arguments.length>1?arguments[1]:void 0)},Xz=function(t){if(t&&t.forEach!==v4)try{lc(t,"forEach",v4)}catch{t.forEach=v4}};for(var m4 in WT)WT[m4]&&Xz(It[m4]&&It[m4].prototype);Xz(q1t);var ZT={}.propertyIsEnumerable,JT=Object.getOwnPropertyDescriptor,Zz={f:JT&&!ZT.call({1:2},1)?function(t){var e=JT(this,t);return!!e&&e.enumerable}:ZT},qm=function(t){return vS(sc(t))},QT=Object.getOwnPropertyDescriptor,Jz={f:Ro?QT:function(t,e){if(t=qm(t),e=fS(e),Rz)try{return QT(t,e)}catch{}if(jr(t,e))return dS(!nn(Zz.f,t,e),t[e])}},omt=Math.max,imt=Math.min,r5=function(t,e){var n=mS(t);return n<0?omt(n+e,0):imt(n,e)},amt=function(t){return function(e,n,r){var o,i=qm(e),a=yS(i),u=r5(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}},umt=amt(!1),tP=ee([].push),Qz=function(t,e){var n,r=qm(t),o=0,i=[];for(n in r)!jr(hS,n)&&jr(r,n)&&tP(i,n);for(;e.length>o;)jr(r,n=e[o++])&&(~umt(i,n)||tP(i,n));return i},M1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],smt=M1.concat("length","prototype"),lmt={f:Object.getOwnPropertyNames||function(t){return Qz(t,smt)}},t$={f:Object.getOwnPropertySymbols},cmt=ee([].concat),fmt=xh("Reflect","ownKeys")||function(t){var e=lmt.f(io(t)),n=t$.f;return n?cmt(e,n(t)):e},dmt=function(t,e){for(var n=fmt(e),r=Gm.f,o=Jz.f,i=0;i<n.length;i++){var a=n[i];jr(t,a)||r(t,a,o(e,a))}},pmt=/#|\.prototype\./,Ah=function(t,e){var n=gmt[hmt(t)];return n==mmt||n!=vmt&&(_n(e)?dn(e):!!e)},hmt=Ah.normalize=function(t){return String(t).replace(pmt,".").toLowerCase()},gmt=Ah.data={},vmt=Ah.NATIVE="N",mmt=Ah.POLYFILL="P",ymt=Ah,bmt=Jz.f,Km=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]||iS(u,{}):(It[u]||{}).prototype)for(r in e){if(i=e[r],o=t.noTargetGet?(a=bmt(n,r))&&a.value:n[r],!ymt(s?r:u+(l?".":"#")+r,t.forced)&&o!==void 0){if(typeof i==typeof o)continue;dmt(i,o)}(t.sham||o&&o.sham)&&lc(i,"sham",!0),Np(n,r,i,t)}},Og=Object.keys||function(t){return Qz(t,M1)},il=Object.assign,eP=Object.defineProperty,wmt=ee([].concat),nP=!il||dn(function(){if(Ro&&il({b:1},il(eP({},"a",{enumerable:!0,get:function(){eP(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}),il({},t)[n]!=7||Og(il({},e)).join("")!=r})?function(t,e){for(var n=uS(t),r=arguments.length,o=1,i=t$.f,a=Zz.f;r>o;)for(var u,s=vS(arguments[o++]),l=i?wmt(Og(s),i(s)):Og(s),c=l.length,f=0;c>f;)u=l[f++],Ro&&!nn(a,s,u)||(n[u]=s[u]);return n}:il;Km({target:"Object",stat:!0,forced:Object.assign!==nP},{assign:nP});var rP=oS(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(y){return y instanceof u?new u(y.type,v(y.content),y.alias):Array.isArray(y)?y.map(v):y.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(y,h){var b,w;switch(h=h||{},a.util.type(y)){case"Object":if(w=a.util.objId(y),h[w])return h[w];for(var E in b={},h[w]=b,y)y.hasOwnProperty(E)&&(b[E]=v(y[E],h));return b;case"Array":return w=a.util.objId(y),h[w]?h[w]:(b=[],h[w]=b,y.forEach(function(S,C){b[C]=v(S,h)}),b);default:return y}},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>"u")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 y=document.getElementsByTagName("script");for(var h in y)if(y[h].src==v)return y[h]}return null}},isActive:function(v,y,h){for(var b="no-"+y;v;){var w=v.classList;if(w.contains(y))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,y){var h=a.util.clone(a.languages[v]);for(var b in y)h[b]=y[b];return h},insertBefore:function(v,y,h,b){var w=(b=b||a.languages)[v],E={};for(var S in w)if(w.hasOwnProperty(S)){if(S==y)for(var C in h)h.hasOwnProperty(C)&&(E[C]=h[C]);h.hasOwnProperty(S)||(E[S]=w[S])}var O=b[v];return b[v]=E,a.languages.DFS(a.languages,function(k,I){I===O&&k!=v&&(this[k]=E)}),E},DFS:function v(y,h,b,w){w=w||{};var E=a.util.objId;for(var S in y)if(y.hasOwnProperty(S)){h.call(y,S,y[S],b||S);var C=y[S],O=a.util.type(C);O!=="Object"||w[E(C)]?O!=="Array"||w[E(C)]||(w[E(C)]=!0,v(C,h,S,w)):(w[E(C)]=!0,v(C,h,null,w))}}},plugins:{},highlightAll:function(v,y){a.highlightAllUnder(document,v,y)},highlightAllUnder:function(v,y,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,E=0;w=b.elements[E++];)a.highlightElement(w,y===!0,b.callback)},highlightElement:function(v,y,h){var b=a.util.getLanguage(v),w=a.languages[b];v.className=v.className.replace(r,"").replace(/\s+/g," ")+" language-"+b;var E=v.parentElement;E&&E.nodeName.toLowerCase()==="pre"&&(E.className=E.className.replace(r,"").replace(/\s+/g," ")+" language-"+b);var S={element:v,language:b,grammar:w,code:v.textContent};function C(k){S.highlightedCode=k,a.hooks.run("before-insert",S),S.element.innerHTML=S.highlightedCode,a.hooks.run("after-highlight",S),a.hooks.run("complete",S),h&&h.call(S.element)}if(a.hooks.run("before-sanity-check",S),(E=S.element.parentElement)&&E.nodeName.toLowerCase()==="pre"&&!E.hasAttribute("tabindex")&&E.setAttribute("tabindex","0"),!S.code)return a.hooks.run("complete",S),void(h&&h.call(S.element));if(a.hooks.run("before-highlight",S),S.grammar)if(y&&n.Worker){var O=new Worker(a.filename);O.onmessage=function(k){C(k.data)},O.postMessage(JSON.stringify({language:S.language,code:S.code,immediateClose:!0}))}else C(a.highlight(S.code,S.grammar,S.language));else C(a.util.encode(S.code))},highlight:function(v,y,h){var b={code:v,grammar:y,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,y){var h=y.rest;if(h){for(var b in h)y[b]=h[b];delete y.rest}var w=new c;return f(w,w.head,v),l(v,w,y,w.head,0),function(E){for(var S=[],C=E.head.next;C!==E.tail;)S.push(C.value),C=C.next;return S}(w)},hooks:{all:{},add:function(v,y){var h=a.hooks.all;h[v]=h[v]||[],h[v].push(y)},run:function(v,y){var h=a.hooks.all[v];if(h&&h.length)for(var b,w=0;b=h[w++];)b(y)}},Token:u};function u(v,y,h,b){this.type=v,this.content=y,this.alias=h,this.length=0|(b||"").length}function s(v,y,h,b){v.lastIndex=y;var w=v.exec(h);if(w&&b&&w[1]){var E=w[1].length;w.index+=E,w[0]=w[0].slice(E)}return w}function l(v,y,h,b,w,E){for(var S in h)if(h.hasOwnProperty(S)&&h[S]){var C=h[S];C=Array.isArray(C)?C:[C];for(var O=0;O<C.length;++O){if(E&&E.cause==S+","+O)return;var k=C[O],I=k.inside,$=!!k.lookbehind,M=!!k.greedy,q=k.alias;if(M&&!k.pattern.global){var G=k.pattern.toString().match(/[imsuy]*$/)[0];k.pattern=RegExp(k.pattern.source,G+"g")}for(var W=k.pattern||k,K=b.next,J=w;K!==y.tail&&!(E&&J>=E.reach);J+=K.value.length,K=K.next){var ot=K.value;if(y.length>v.length)return;if(!(ot instanceof u)){var ut,st=1;if(M){if(!(ut=s(W,J,v,$)))break;var B=ut.index,x=ut.index+ut[0].length,T=J;for(T+=K.value.length;B>=T;)T+=(K=K.next).value.length;if(J=T-=K.value.length,K.value instanceof u)continue;for(var H=K;H!==y.tail&&(T<x||typeof H.value=="string");H=H.next)st++,T+=H.value.length;st--,ot=v.slice(J,T),ut.index-=J}else if(!(ut=s(W,0,ot,$)))continue;B=ut.index;var V=ut[0],U=ot.slice(0,B),at=ot.slice(B+V.length),gt=J+ot.length;E&&gt>E.reach&&(E.reach=gt);var vt=K.prev;if(U&&(vt=f(y,vt,U),J+=U.length),p(y,vt,st),K=f(y,vt,new u(S,I?a.tokenize(V,I):V,q,V)),at&&f(y,K,at),st>1){var Dt={cause:S+","+O,reach:gt};l(v,y,h,K.prev,J,Dt),E&&Dt.reach>E.reach&&(E.reach=Dt.reach)}}}}}}function c(){var v={value:null,prev:null,next:null},y={value:null,prev:v,next:null};v.next=y,this.head=v,this.tail=y,this.length=0}function f(v,y,h){var b=y.next,w={value:h,prev:y,next:b};return y.next=w,b.prev=w,v.length++,w}function p(v,y,h){for(var b=y.next,w=0;w<h&&b!==v.tail;w++)b=b.next;y.next=b,b.prev=y,v.length-=w}if(n.Prism=a,u.stringify=function v(y,h){if(typeof y=="string")return y;if(Array.isArray(y)){var b="";return y.forEach(function(O){b+=v(O,h)}),b}var w={type:y.type,content:v(y.content,h),tag:"span",classes:["token",y.type],attributes:{},language:h},E=y.alias;E&&(Array.isArray(E)?Array.prototype.push.apply(w.classes,E):w.classes.push(E)),a.hooks.run("wrap",w);var S="";for(var C in w.attributes)S+=" "+C+'="'+(w.attributes[C]||"").replace(/"/g,"&quot;")+'"';return"<"+w.tag+' class="'+w.classes.join(" ")+'"'+S+">"+w.content+"</"+w.tag+">"},!n.document)return n.addEventListener&&(a.disableWorkerMessageHandler||n.addEventListener("message",function(v){var y=JSON.parse(v.data),h=y.language,b=y.code,w=y.immediateClose;n.postMessage(a.highlight(b,a.languages[h],h)),w&&n.close()},!1)),a;var d=a.util.currentScript();function m(){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",m):window.requestAnimationFrame?window.requestAnimationFrame(m):window.setTimeout(m,16)}return a}(typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&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),I1!==void 0&&(I1.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<"u"){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 m=e.plugins.autoloader;m&&m.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,T){return x.replace(/<<(\d+)>>/g,function(H,V){return"(?:"+T[+V]+")"})}function n(x,T,H){return RegExp(e(x,T),H||"")}function r(x,T){for(var H=0;H<T;H++)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),m=r(/\((?:[^()]|<<self>>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,v=e(/<<0>>(?:\s*<<1>>)?/.source,[g,d]),y=e(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[f,v]),h=/\[\s*(?:,\s*)*\]/.source,b=e(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[y,h]),w=e(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[d,m,h]),E=e(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),S=e(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[E,y,h]),C={keyword:c,punctuation:/[<>()?,.:[\]]/},O=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,k=/"(?:\\.|[^\\"\r\n])*"/.source,I=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;t.languages.csharp=t.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[I]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[k]),lookbehind:!0,greedy:!0},{pattern:RegExp(O),greedy:!0,alias:"character"}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[y]),lookbehind:!0,inside:C},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,S]),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,[y]),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,[S,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,[m]),lookbehind:!0,alias:"class-name",inside:C},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[S,y]),inside:C,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[S]),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,S,c.source,m,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[v,m]),lookbehind:!0,greedy:!0,inside:t.languages.csharp},keyword:c,"class-name":{pattern:RegExp(S),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 $=k+"|"+O,M=e(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[$]),q=r(e(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[M]),2),G=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,W=e(/<<0>>(?:\s*\(<<1>>*\))?/.source,[y,q]);t.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[G,W]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[G]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[q]),inside:t.languages.csharp},"class-name":{pattern:RegExp(y),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var K=/:[^}\r\n]+/.source,J=r(e(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[M]),2),ot=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[J,K]),ut=r(e(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[$]),2),st=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[ut,K]);function B(x,T){return{interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[x]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[T,K]),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,[ot]),lookbehind:!0,greedy:!0,inside:B(ot,J)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[st]),lookbehind:!0,greedy:!0,inside:B(st,ut)}]})}(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 m=f[p];if(m.type==="code"){var g=m.content[1],v=m.content[3];if(g&&v&&g.type==="code-language"&&v.type==="code-block"&&typeof g.content=="string"){var y=g.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),h="language-"+(y=(/[a-z][\w-]*/i.exec(y)||[""])[0].toLowerCase());v.alias?typeof v.alias=="string"?v.alias=[v.alias,h]:v.alias.push(h):v.alias=[h]}}else c(m.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],m=/language-(.+)/.exec(d);if(m){c=m[1];break}}var g=t.languages[c];if(g)l.content=t.highlight(function(y){var h=y.replace(a,"");return h.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(b,w){var E;return(w=w.toLowerCase())[0]==="#"?(E=w[1]==="x"?parseInt(w.slice(2),16):Number(w.slice(1)),s(E)):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 y=document.getElementById(v);y&&(y.innerHTML=t.highlight(y.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 e$(t){return typeof t=="string"?t.length:typeof t.content=="string"?t.content.length:t.content.reduce(function(e,n){return e+e$(n)},0)}var K0,Dmt=It.String,li=function(t){if(gS(t)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return Dmt(t)},n$=function(){var t=io(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=It.RegExp,o5=dn(function(){var t=wS("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),Cmt=o5||dn(function(){return!wS("a","y").sticky}),r$={BROKEN_CARET:o5||dn(function(){var t=wS("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),MISSED_STICKY:Cmt,UNSUPPORTED_Y:o5},Smt=Ro?Object.defineProperties:function(t,e){io(t);for(var n,r=qm(e),o=Og(e),i=o.length,a=0;i>a;)Gm.f(t,n=o[a++],r[n]);return t},xmt=xh("document","documentElement"),o$=Vz("IE_PROTO"),y4=function(){},i$=function(t){return"<script>"+t+"<\/script>"},oP=function(t){t.write(i$("")),t.close();var e=t.parentWindow.Object;return t=null,e},kg=function(){try{K0=new ActiveXObject("htmlfile")}catch{}var t,e;kg=typeof document<"u"?document.domain&&K0?oP(K0):((e=cS("iframe")).style.display="none",xmt.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(i$("document.F=Object")),t.close(),t.F):oP(K0);for(var n=M1.length;n--;)delete kg.prototype[M1[n]];return kg()};hS[o$]=!0;var iP,b4,Amt=Object.create||function(t,e){var n;return t!==null?(y4.prototype=io(t),n=new y4,y4.prototype=null,n[o$]=t):n=kg(),e===void 0?n:Smt(n,e)},Omt=It.RegExp,kmt=dn(function(){var t=Omt(".","s");return!(t.dotAll&&t.exec(`
  160. `)&&t.flags==="s")}),Bmt=It.RegExp,_mt=dn(function(){var t=Bmt("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"}),Fmt=n5.get,Tmt=aS("native-string-replace",String.prototype.replace),z1=RegExp.prototype.exec,i5=z1,Pmt=ee("".charAt),jmt=ee("".indexOf),Nmt=ee("".replace),w4=ee("".slice),E4=(b4=/b*/g,nn(z1,iP=/a/,"a"),nn(z1,b4,"a"),iP.lastIndex!==0||b4.lastIndex!==0),aP=r$.BROKEN_CARET,D4=/()??/.exec("")[1]!==void 0;(E4||D4||aP||kmt||_mt)&&(i5=function(t){var e,n,r,o,i,a,u,s=this,l=Fmt(s),c=li(t),f=l.raw;if(f)return f.lastIndex=s.lastIndex,e=nn(i5,f,c),s.lastIndex=f.lastIndex,e;var p=l.groups,d=aP&&s.sticky,m=nn(n$,s),g=s.source,v=0,y=c;if(d&&(m=Nmt(m,"y",""),jmt(m,"g")===-1&&(m+="g"),y=w4(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&Pmt(c,s.lastIndex-1)!==`
  161. `)&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",m)),D4&&(n=new RegExp("^"+g+"$(?!\\s)",m)),E4&&(r=s.lastIndex),o=nn(z1,d?n:s,y),d?o?(o.input=w4(o.input,v),o[0]=w4(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:E4&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),D4&&o&&o.length>1&&nn(Tmt,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 Ip=i5;Km({target:"RegExp",proto:!0,forced:/./.exec!==Ip},{exec:Ip});var ES=Function.prototype,uP=ES.apply,Imt=ES.bind,sP=ES.call,Lmt=typeof Reflect=="object"&&Reflect.apply||(Imt?sP.bind(uP):function(){return sP.apply(uP,arguments)}),Rmt=Ka("species"),C4=RegExp.prototype,Mmt=Ka("match"),zmt=It.TypeError,$mt=Ka("species"),Hmt=ee("".charAt),lP=ee("".charCodeAt),Vmt=ee("".slice),Umt=function(t){return function(e,n){var r,o,i=li(sc(e)),a=mS(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=lP(i,a))<55296||r>56319||a+1===u||(o=lP(i,a+1))<56320||o>57343?t?Hmt(i,a):r:t?Vmt(i,a,a+2):o-56320+(r-55296<<10)+65536}},Wmt=Umt(!0),Gmt=function(t,e,n){return e+(n?Wmt(t,e).length:1)},qmt=It.Array,Kmt=Math.max,cP=function(t,e,n){for(var r,o,i,a,u=yS(t),s=r5(e,u),l=r5(n===void 0?u:n,u),c=qmt(Kmt(l-s,0)),f=0;s<l;s++,f++)r=c,o=f,i=t[s],(a=fS(o))in r?Gm.f(r,a,dS(0,i)):r[a]=i;return c.length=f,c},Ymt=It.TypeError,fP=function(t,e){var n=t.exec;if(_n(n)){var r=nn(n,t,e);return r!==null&&io(r),r}if(ka(t)==="RegExp")return nn(Ip,t,e);throw Ymt("RegExp#exec called on incompatible receiver")},al=r$.UNSUPPORTED_Y,Xmt=Math.min,a$=[].push,Zmt=ee(/./.exec),ul=ee(a$),ed=ee("".slice);(function(t,e,n,r){var o=Ka(t),i=!dn(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!dn(function(){var l=!1,c=/a/;return(c={}).constructor={},c.constructor[Rmt]=function(){return c},c.flags="",c[o]=/./[o],c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=ee(/./[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,m){var g,v,y=li(sc(this)),h=m===void 0?4294967295:m>>>0;if(h===0)return[];if(d===void 0)return[y];if(!Xr(g=d)||!((v=g[Mmt])!==void 0?v:ka(g)=="RegExp"))return nn(c,y,d,h);for(var b,w,E,S=[],C=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(d.sticky?"y":""),O=0,k=new RegExp(d.source,C+"g");(b=nn(Ip,k,y))&&!((w=k.lastIndex)>O&&(ul(S,ed(y,O,b.index)),b.length>1&&b.index<y.length&&Lmt(a$,S,cP(b,1)),E=b[0].length,O=w,S.length>=h));)k.lastIndex===b.index&&k.lastIndex++;return O===y.length?!E&&Zmt(k,"")||ul(S,""):ul(S,ed(y,O)),S.length>h?cP(S,0,h):S}:"0".split(void 0,0).length?function(d,m){return d===void 0&&m===0?[]:nn(c,this,d,m)}:c,[function(d,m){var g=sc(this),v=d==null?void 0:Hz(d,l);return v?nn(v,d,g,m):nn(p,li(g),d,m)},function(d,m){var g=io(this),v=li(d),y=f(p,g,v,m,p!==c);if(y.done)return y.value;var h=function(q,G){var W,K=io(q).constructor;return K===void 0||(W=io(K)[$mt])==null?G:function(J){if(Yz(J))return J;throw zmt(zz(J)+" is not a constructor")}(W)}(g,RegExp),b=g.unicode,w=(g.ignoreCase?"i":"")+(g.multiline?"m":"")+(g.unicode?"u":"")+(al?"g":"y"),E=new h(al?"^(?:"+g.source+")":g,w),S=m===void 0?4294967295:m>>>0;if(S===0)return[];if(v.length===0)return fP(E,v)===null?[v]:[];for(var C=0,O=0,k=[];O<v.length;){E.lastIndex=al?0:O;var I,$=fP(E,al?ed(v,O):v);if($===null||(I=Xmt(Gz(E.lastIndex+(al?O:0)),v.length))===C)O=Gmt(v,O,b);else{if(ul(k,ed(v,C,O)),k.length===S)return k;for(var M=1;M<=$.length-1;M++)if(ul(k,$[M]),k.length===S)return k;O=C=I}}return ul(k,ed(v,C)),k}]}(o,""[t],function(l,c,f,p,d){var m=ee(l),g=c.exec;return g===Ip||g===C4.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:m(f,c,p)}:{done:!1}});Np(String.prototype,t,s[0]),Np(C4,o,s[1])}r&&lc(C4[o],"sham",!0)})("split",0,!!dn(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"}),al),Km({global:!0},{globalThis:It}),Nr&&(_.fn.attr=Nr);var Jmt=Wz.PROPER,a5=RegExp.prototype,u$=a5.toString,Qmt=ee(n$),tyt=dn(function(){return u$.call({source:"a",flags:"b"})!="/a/b"}),eyt=Jmt&&u$.name!="toString";(tyt||eyt)&&Np(RegExp.prototype,"toString",function(){var t=io(this),e=li(t.source),n=t.flags;return"/"+e+"/"+li(n===void 0&&Mz(a5,t)&&!("flags"in a5)?Qmt(t):n)},{unsafe:!0});var nyt=function(){function t(){this.title=et("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||!ct.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()};N.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 ct.isElement(r)?r.type!=="pre"?null:n:null},t}(),ryt={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=_(t);if(!ct.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 nyt},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>"}}]},oyt=/"/g,iyt=ee("".replace);Km({target:"String",proto:!0,forced:dn(function(){var t="".anchor('"');return t!==t.toLowerCase()||t.split('"').length>3})},{anchor:function(t){return e=t,n=li(sc(this)),r="<a",(r+=' name="'+iyt(li(e),oyt,"&quot;")+'"')+">"+n+"</a>";var e,n,r}});var s$=function(t){var e,n,r,o=function(y,h){var b=typeof Symbol=="function"&&y[Symbol.iterator];if(!b)return y;var w,E,S=b.call(y),C=[];try{for(;(h===void 0||h-- >0)&&!(w=S.next()).done;)C.push(w.value)}catch(O){E={error:O}}finally{try{w&&!w.done&&(b=S.return)&&b.call(S)}finally{if(E)throw E.error}}return C}(t,2),i=o[0],a=o[1],u=[],s=function(y){if(!it.isText(y))return null;var h=A.getParentNode(null,y);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(y,h){if(!h)return[];var b=rP.languages[h];return b?rP.tokenize(y.text,b):[]}(i,c),p=0;try{for(var d=function(y){var h=typeof Symbol=="function"&&Symbol.iterator,b=h&&y[h],w=0;if(b)return b.call(y);if(y&&typeof y.length=="number")return{next:function(){return y&&w>=y.length&&(y=void 0),{value:y&&y[w++],done:!y}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")}(f),m=d.next();!m.done;m=d.next()){var g=m.value,v=p+e$(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(y){e={error:y}}finally{try{m&&!m.done&&(n=d.return)&&n.call(d)}finally{if(e)throw e.error}}return u},Oe=function(){return Oe=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},Oe.apply(this,arguments)},sn=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=Oe(Oe({},this.editorConfig),e)},t.setSimpleEditorConfig=function(e){e===void 0&&(e={}),this.simpleEditorConfig=Oe(Oe({},this.simpleEditorConfig),e)},t.setToolbarConfig=function(e){e===void 0&&(e={}),this.toolbarConfig=Oe(Oe({},this.toolbarConfig),e)},t.setSimpleToolbarConfig=function(e){e===void 0&&(e={}),this.simpleToolbarConfig=Oe(Oe({},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=Ar(Ar({},u),o||{});if(op[i]!=null)throw new Error("Duplicated key '"+i+"' in menu items");op[i]=a,function(l,c){c!=null&&(PN[l]=c)}(i,s)})(e,n)},t.registerRenderElem=function(e){(function(n){var r=n.type,o=n.renderElem;oI[r||""]=o})(e)},t.registerRenderStyle=function(e){(function(n){t6.push(n)})(e)},t.registerElemToHtml=function(e){(function(n){var r=n.type,o=n.elemToHtml;jN[r||""]=o})(e)},t.registerStyleToHtml=function(e){(function(n){qE.push(n)})(e)},t.registerPreParseHtml=function(e){(function(n){JN.push(n)})(e)},t.registerParseElemHtml=function(e){(function(n){var r=n.selector,o=n.parseElemHtml;Sv[r]=o})(e)},t.registerParseStyleHtml=function(e){(function(n){PD.push(n)})(e)},t.registerModule=function(e){mu(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 mu(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 sn.registerMenu(c)}),n&&n.forEach(function(c){return sn.registerRenderElem(c)}),r&&sn.registerRenderStyle(r),o&&o.forEach(function(c){return sn.registerElemToHtml(c)}),i&&sn.registerStyleToHtml(i),a&&a.forEach(function(c){return sn.registerPreParseHtml(c)}),u&&u.forEach(function(c){return sn.registerParseElemHtml(c)}),s&&sn.registerParseStyleHtml(s),l&&sn.registerPlugin(l)}fut.forEach(function(t){return mu(t)}),mu(Hlt),mu(hdt),mu(C0t),mu(h1t),mu(ryt);var l$='<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>',c$={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"]}},ayt={hoverbarKeys:Oe(Oe({},c$),{text:{menuKeys:["headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};sn.setEditorConfig(Oe(Oe({},ayt),{decorate:s$}));var uyt={hoverbarKeys:c$};sn.setSimpleEditorConfig(Oe(Oe({},uyt),{decorate:s$}));var syt={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:et("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:et("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:et("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:et("editor.image"),iconSvg:l$,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:et("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"]};sn.setToolbarConfig(syt);var lyt={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:et("editor.image"),iconSvg:l$,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};function cyt(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"?sn.simpleEditorConfig:sn.editorConfig,c=Oe(Oe({},l.hoverbarKeys||{}),u.hoverbarKeys||{});return gtt({selector:n,config:Oe(Oe(Oe({},l),u),{hoverbarKeys:c}),content:o,html:i,plugins:sn.plugins})}function fyt(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"?sn.simpleToolbarConfig:sn.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,y){return eI(v,"data-w-e-toolbar",y)}(l,f))throw new Error("Repeated create toolbar by selector '"+f+"'");var m=Ar({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},d||{}),g=new wtt(f,m);return SD.set(g,l),cm.set(l,g),g}(n,{selector:e,config:Oe(Oe({},u),o)});return s}sn.setSimpleToolbarConfig(lyt);var dyt=Object.defineProperty,pyt=Object.defineProperties,hyt=Object.getOwnPropertyDescriptors,dP=Object.getOwnPropertySymbols,gyt=Object.prototype.hasOwnProperty,vyt=Object.prototype.propertyIsEnumerable,pP=(t,e,n)=>e in t?dyt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,myt=(t,e)=>{for(var n in e||(e={}))gyt.call(e,n)&&pP(t,n,e[n]);if(dP)for(var n of dP(e))vyt.call(e,n)&&pP(t,n,e[n]);return t},yyt=(t,e)=>pyt(t,hyt(e));function Yi(t){let e=`\u8BF7\u4F7F\u7528 '@${t}' \u4E8B\u4EF6\uFF0C\u4E0D\u8981\u653E\u5728 props \u4E2D`;return e+=`
  174. Please use '@${t}' event instead of props`,e}var f$=(t,e)=>{for(const[n,r]of e)t[n]=r;return t};const byt=hP({props:{mode:{type:String,default:"default"},defaultContent:{type:Array,default:[]},defaultHtml:{type:String,default:""},defaultConfig:{type:Object,default:{}},modelValue:{type:String,default:""}},setup(t,e){const n=Cr(null),r=gP(null),o=Cr(""),i=()=>{if(!n.value)return;const u=h$(t.defaultContent);cyt({selector:n.value,mode:t.mode,content:u||[],html:t.defaultHtml||t.modelValue||"",config:yyt(myt({},t.defaultConfig),{onCreated(s){if(r.value=s,e.emit("onCreated",s),t.defaultConfig.onCreated){const l=Yi("onCreated");throw new Error(l)}},onChange(s){const l=s.getHtml();if(o.value=l,e.emit("update:modelValue",l),e.emit("onChange",s),t.defaultConfig.onChange){const c=Yi("onChange");throw new Error(c)}},onDestroyed(s){if(e.emit("onDestroyed",s),t.defaultConfig.onDestroyed){const l=Yi("onDestroyed");throw new Error(l)}},onMaxLength(s){if(e.emit("onMaxLength",s),t.defaultConfig.onMaxLength){const l=Yi("onMaxLength");throw new Error(l)}},onFocus(s){if(e.emit("onFocus",s),t.defaultConfig.onFocus){const l=Yi("onFocus");throw new Error(l)}},onBlur(s){if(e.emit("onBlur",s),t.defaultConfig.onBlur){const l=Yi("onBlur");throw new Error(l)}},customAlert(s,l){if(e.emit("customAlert",s,l),t.defaultConfig.customAlert){const c=Yi("customAlert");throw new Error(c)}},customPaste:(s,l)=>{if(t.defaultConfig.customPaste){const f=Yi("customPaste");throw new Error(f)}let c;return e.emit("customPaste",s,l,f=>{c=f}),c}})})};function a(u){const s=r.value;s!=null&&s.setHtml(u)}return vP(()=>{i()}),d$(()=>t.modelValue,u=>{u!==o.value&&a(u)}),{box:n}}}),wyt={ref:"box",style:{height:"100%"}};function Eyt(t,e,n,r,o,i){return u5(),s5("div",wyt,null,512)}var Dyt=f$(byt,[["render",Eyt]]);const Cyt=hP({props:{editor:{type:Object},mode:{type:String,default:"default"},defaultConfig:{type:Object,default:{}}},setup(t){const e=Cr(null),n=r=>{if(!!e.value){if(r==null)throw new Error("Not found instance of Editor when create <Toolbar/> component");A.getToolbar(r)||fyt({editor:r,selector:e.value||"<div></div>",mode:t.mode,config:t.defaultConfig})}};return p$(()=>{const{editor:r}=t;r!=null&&n(r)}),{selector:e}}}),Syt={ref:"selector"};function xyt(t,e,n,r,o,i){return u5(),s5("div",Syt,null,512)}var Ayt=f$(Cyt,[["render",xyt]]);const Oyt={class:"search-form"},kyt={class:"pagination-box"},Byt={style:{border:"1px solid #ccc"},class:"fileImageClass"},_yt={class:"dialog-footer"},Fyt={__name:"WangEditor",setup(t){const e=Cr({title:""}),n=Cr([]),r=v$({Authorization:sessionStorage.getItem("token")?`Bearer ${sessionStorage.getItem("token")}`:""}),o=gP();let i=Cr([]),a=Cr({id:"",articelTitle:"",articleDes:"",articleNum:"",imagePath:"",articleHtml:""}),u=Cr(10),s=Cr(1),l=Cr(0),c=Cr(!1),f=Cr(!1);vP(()=>{E()});const p={toolbarKeys:["redo","undo","|","headerSelect","bold","italic","underline","fontSize","fontFamily","color","bgColor","through","sub","sup","clearStyle","lineHeight","insertLink","divider","emotion","blockquote","justifyLeft","justifyRight","justifyCenter","justifyJustify",{key:"group-image",title:"\u56FE\u7247",iconSvg:"",menuKeys:["uploadImage","deleteImage"]},"fullScreen"]},d={MENU_CONF:{}};d.MENU_CONF.uploadImage={base64LimitSize:5e4*1024},m$(()=>{const k=o.value;k!=null&&k.destroy()});const m=k=>{o.value=k},g=(k,I,$)=>{a.value.imagePath=k.data,Ci({message:"\u4E0A\u4F20\u6210\u529F",type:"success"})},v=()=>{Ci.error("\u4E0A\u4F20\u5931\u8D25,\u56FE\u7247\u5EFA\u8BAE\u4E0D\u5927\u4E8E1M")},y=k=>{u.value=k,E()},h=k=>{s.value=k,E()},b=()=>{let I=o.value.getHtml();if(!a.value.articelTitle){Ci.warning("\u8BF7\u8F93\u5165\u6807\u9898\uFF01");return}if(!a.value.articleDes){Ci.warning("\u8BF7\u8F93\u5165\u7B80\u4ECB\uFF01");return}if(!a.value.imagePath){Ci.warning("\u8BF7\u4E0A\u4F20\u5C01\u9762\uFF01");return}if(!a.value.content){Ci.warning("\u8BF7\u8F93\u5165\u6587\u7AE0\u5185\u5BB9");return}f.value=!0,Xm.post("/article/save",{id:a.value.id,title:a.value.articelTitle,description:a.value.articleDes,content:I,cover:a.value.imagePath,sort:a.value.ariticleNum}).then($=>{f.value=!1,w(!1),Ci({message:"\u63D0\u4EA4\u6210\u529F",type:"success"}),E()}).catch($=>{f.value=!1,Ci({message:"\u63D0\u4EA4\u5931\u8D25!",type:"success"})})},w=k=>{c.value=k,n.value=[],a.value={id:"",articelTitle:"",articleDes:"",articleNum:"",imagePath:"",articleHtml:""}},E=()=>{Xm.get("/article/find/",{pageNum:s.value,pageSize:u.value,title:e.value.title}).then(k=>{k.code=="200"&&(i.value=k.data.content,l.value=k.data.totalElements)}).catch(k=>{})},S=k=>{a.value={id:k.id,articelTitle:k.title,articleDes:k.description,articleNum:k.sort,imagePath:k.cover,articleHtml:k.content},n.value=[{name:"file",url:`https://dcbt.jue-ming.com:8666/file/show?filePath=${k.cover}`}],c.value=!0},C=k=>{D$.alert("\u8B66\u544A\uFF01\u60A8\u786E\u5B9A\u8981\u5220\u9664\u5417\uFF1F",{confirmButtonText:"\u786E\u5B9A",callback:I=>{O(k)}})},O=k=>{console.log(k),Xm.delete("/article/delete/"+k,{}).then(I=>{I.code=="200"&&(console.log(I),E())}).catch(I=>{})};return(k,I)=>{const $=$n("el-input"),M=$n("el-form-item"),q=$n("el-button"),G=$n("el-form"),W=$n("el-table-column"),K=$n("el-table"),J=$n("el-pagination"),ot=$n("el-col"),ut=$n("el-row"),st=$n("el-input-number"),B=$n("el-icon"),x=$n("el-upload"),T=$n("el-scrollbar"),H=$n("el-dialog");return u5(),s5(y$,null,[jc("div",Oyt,[Bt(G,{inline:!0,model:e.value},{default:Zt(()=>[Bt(M,{label:"\u6807\u9898"},{default:Zt(()=>[Bt($,{modelValue:e.value.title,"onUpdate:modelValue":I[0]||(I[0]=V=>e.value.title=V),placeholder:"\u8BF7\u8F93\u5165\u6587\u7AE0\u6807\u9898"},null,8,["modelValue"])]),_:1}),Bt(M,null,{default:Zt(()=>[Bt(q,{type:"primary",onClick:E},{default:Zt(()=>[go("\u67E5\u8BE2")]),_:1}),Bt(q,{type:"primary",onClick:I[1]||(I[1]=V=>w(!0))},{default:Zt(()=>[go(" \u6DFB\u52A0\u65B0\u95FB")]),_:1})]),_:1})]),_:1},8,["model"])]),Bt(K,{data:He(i),style:{width:"100%"},border:"","highlight-current-row":!0,"header-cell-style":{background:"#ecf7f9"}},{default:Zt(()=>[Bt(W,{label:"\u6807\u9898",prop:"title",width:"300"}),Bt(W,{label:"\u63CF\u8FF0","show-overflow-tooltip":!0,prop:"description"}),Bt(W,{fixed:"right",label:"\u64CD\u4F5C",width:"200",align:"center"},{default:Zt(V=>[Bt(q,{type:"primary",icon:He(b$),plain:"",size:"small",onClick:U=>S(V.row)},{default:Zt(()=>[go("\u7F16\u8F91")]),_:2},1032,["icon","onClick"]),Bt(q,{type:"danger",icon:He(w$),size:"small",onClick:U=>C(V.row.id)},{default:Zt(()=>[go("\u5220\u9664")]),_:2},1032,["icon","onClick"])]),_:1})]),_:1},8,["data"]),jc("div",kyt,[Bt(J,{currentPage:He(s),"onUpdate:currentPage":I[2]||(I[2]=V=>Lh(s)?s.value=V:s=V),"page-size":He(u),"onUpdate:pageSize":I[3]||(I[3]=V=>Lh(u)?u.value=V:u=V),background:"",small:"","page-sizes":[10,20,50,100],layout:"total, sizes, prev, pager, next, jumper",total:He(l),onSizeChange:y,onCurrentChange:h},null,8,["currentPage","page-size","total"])]),Bt(H,{modelValue:He(c),"onUpdate:modelValue":I[10]||(I[10]=V=>Lh(c)?c.value=V:c=V),title:"\u7F16\u8F91\u65B0\u95FB",width:"50%",center:""},{footer:Zt(()=>[jc("span",_yt,[Bt(q,{onClick:I[9]||(I[9]=V=>Lh(c)?c.value=!1:c=!1)},{default:Zt(()=>[go("\u53D6\u6D88")]),_:1}),Bt(q,{type:"primary",onClick:b,disabled:He(f)},{default:Zt(()=>[go("\u63D0\u4EA4")]),_:1},8,["disabled"])])]),default:Zt(()=>[Bt(T,{height:"500px"},{default:Zt(()=>[jc("span",null,[Bt(ut,null,{default:Zt(()=>[Bt(ot,{span:24,class:"fileImageClass"},{default:Zt(()=>[Bt(ut,null,{default:Zt(()=>[Bt(ot,{span:3,class:"titlePage"},{default:Zt(()=>[go("\u6807\u9898:\xA0")]),_:1}),Bt(ot,{span:9},{default:Zt(()=>[Bt($,{modelValue:He(a).articelTitle,"onUpdate:modelValue":I[4]||(I[4]=V=>He(a).articelTitle=V),placeholder:"\u8BF7\u8F93\u5165\u6807\u9898"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),Bt(ot,{span:24,class:"fileImageClass"},{default:Zt(()=>[Bt(ut,null,{default:Zt(()=>[Bt(ot,{span:3,class:"titlePage"},{default:Zt(()=>[go("\u7B80\u4ECB:\xA0")]),_:1}),Bt(ot,{span:9},{default:Zt(()=>[Bt($,{modelValue:He(a).articleDes,"onUpdate:modelValue":I[5]||(I[5]=V=>He(a).articleDes=V),placeholder:"\u8BF7\u8F93\u5165\u7B80\u4ECB"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),Bt(ot,{span:24,class:"fileImageClass"},{default:Zt(()=>[Bt(ut,null,{default:Zt(()=>[Bt(ot,{span:3,class:"titlePage"},{default:Zt(()=>[go("\u4F18\u5148\u7EA7:\xA0")]),_:1}),Bt(ot,{span:9},{default:Zt(()=>[Bt(st,{modelValue:He(a).articleNum,"onUpdate:modelValue":I[6]||(I[6]=V=>He(a).articleNum=V),min:1,max:10},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),Bt(ot,{span:24,class:"fileImageClass"},{default:Zt(()=>[Bt(ut,null,{default:Zt(()=>[Bt(ot,{span:3,class:"titlePage"},{default:Zt(()=>[go("\u4E0A\u4F20\u56FE\u7247:\xA0")]),_:1}),Bt(ot,{span:9},{default:Zt(()=>[Bt(x,{"file-list":n.value,"onUpdate:fileList":I[7]||(I[7]=V=>n.value=V),"list-type":"picture-card",method:"post",headers:r,limit:1,action:"https://dcbt.jue-ming.com:8666/file/upload","on-success":g,"on-error":v},{default:Zt(()=>[Bt(B,null,{default:Zt(()=>[Bt(He(E$))]),_:1})]),_:1},8,["file-list","headers"])]),_:1})]),_:1})]),_:1})]),_:1}),jc("div",Byt,[Bt(He(Ayt),{style:{"border-bottom":"1px solid #ccc"},editor:He(o),defaultConfig:p,mode:k.mode},null,8,["editor","mode"]),Bt(He(Dyt),{style:{height:"500px","overflow-y":"hidden"},modelValue:He(a).articleHtml,"onUpdate:modelValue":I[8]||(I[8]=V=>He(a).articleHtml=V),defaultConfig:d,mode:k.mode,onOnCreated:m},null,8,["modelValue","mode"])])])]),_:1})]),_:1},8,["modelValue"])],64)}}},Nyt=g$(Fyt,[["__scopeId","data-v-66b70492"]]);export{Nyt as default};