@wangeditor-kai/editor 5.6.38 → 5.6.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs
CHANGED
|
@@ -21,7 +21,7 @@ var t,e,r,n,o,i,u,a,s,c,l,f,d,p,h,v,g,y,m="undefined"!=typeof globalThis?globalT
|
|
|
21
21
|
*
|
|
22
22
|
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
23
23
|
* Released under the MIT License.
|
|
24
|
-
*/function vO(t){return"[object Object]"===Object.prototype.toString.call(t)}!function(){if(aO)return sO;aO=1;var t=_E(),e=cO(),r=lO(),n=function(){if(uO)return iO;uO=1;var t=pO().forEach,e=hO()("forEach");return iO=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},iO}(),o=tC(),i=function(t){if(t&&t.forEach!==n)try{o(t,"forEach",n)}catch(e){t.forEach=n}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(r)}();var gO=t=>function(t){var e,r;return!1!==vO(t)&&(void 0===(e=t.constructor)||!1!==vO(r=e.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}(t)&&Array.isArray(t.redos)&&Array.isArray(t.undos)&&(0===t.redos.length||nv.isOperationList(t.redos[0].operations))&&(0===t.undos.length||nv.isOperationList(t.undos[0].operations)),yO=new WeakMap,mO=new WeakMap,bO={isHistoryEditor:t=>gO(t.history)&&Kh.isEditor(t),isMerging:t=>mO.get(t),isSaving:t=>yO.get(t),redo(t){t.redo()},undo(t){t.undo()},withMerging(t,e){var r=bO.isMerging(t);mO.set(t,!0),e(),mO.set(t,r)},withoutMerging(t,e){var r=bO.isMerging(t);mO.set(t,!1),e(),mO.set(t,r)},withoutSaving(t,e){var r=bO.isSaving(t);yO.set(t,!1),e(),yO.set(t,r)}},EO=t=>{var e=t,{apply:r}=e;return e.history={undos:[],redos:[]},e.redo=()=>{var{history:t}=e,{redos:r}=t;if(r.length>0){var n=r[r.length-1];n.selectionBefore&&zv.setSelection(e,n.selectionBefore),bO.withoutSaving(e,()=>{Kh.withoutNormalizing(e,()=>{for(var t of n.operations)e.apply(t)})}),t.redos.pop(),e.writeHistory("undos",n)}},e.undo=()=>{var{history:t}=e,{undos:r}=t;if(r.length>0){var n=r[r.length-1];bO.withoutSaving(e,()=>{Kh.withoutNormalizing(e,()=>{var t=n.operations.map(nv.inverse).reverse();for(var r of t)e.apply(r);n.selectionBefore&&zv.setSelection(e,n.selectionBefore)})}),e.writeHistory("redos",n),t.undos.pop()}},e.apply=t=>{var{operations:n,history:o}=e,{undos:i}=o,u=i[i.length-1],a=u&&u.operations[u.operations.length-1],s=bO.isSaving(e),c=bO.isMerging(e);if(null==s&&(s=SO(t)),s){if(null==c&&(c=null!=u&&(0!==n.length||wO(t,a))),u&&c)u.operations.push(t);else{var l={operations:[t],selectionBefore:e.selection};e.writeHistory("undos",l)}for(;i.length>100;)i.shift();o.redos=[]}r(t)},e.writeHistory=(t,r)=>{e.history[t].push(r)},e},wO=(t,e)=>!(!e||"insert_text"!==t.type||"insert_text"!==e.type||t.offset!==e.offset+e.text.length||!ov.equals(t.path,e.path))||!(!e||"remove_text"!==t.type||"remove_text"!==e.type||t.offset+t.text.length!==e.offset||!ov.equals(t.path,e.path)),SO=(t,e)=>"set_selection"!==t.type,CO=function(t,e){return CO=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},CO(t,e)};function DO(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}CO(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var OO=function(){return OO=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},OO.apply(this,arguments)};function AO(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function xO(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u}function TO(t,e,r){if(2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var NO={},kO="destroyed",PO="change",BO="scroll",IO={};var FO,RO,LO,_O,jO,MO,zO,HO,$O,UO,VO,GO,WO,qO,KO,YO,XO,JO,ZO,QO,tA,eA,rA,nA,oA,iA,uA,aA,sA,cA,lA,fA,dA,pA={};function hA(){if(LO)return RO;LO=1;var t=Yw();return RO=t("document","documentElement")}function vA(){if(jO)return _O;jO=1;var t,e=ZS(),r=function(){if(FO)return pA;FO=1;var t=KE(),e=JS(),r=QS(),n=ZS(),o=Ww(),i=$D();return pA.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)r.f(t,u=s[l++],a[u]);return t},pA}(),n=YC(),o=wC(),i=hA(),u=zS(),a=EC(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,o;h="undefined"!=typeof document?document.domain&&t?p(t):(r=u("iframe"),o="java"+c+":",r.style.display="none",i.appendChild(r),r.src=String(o),(e=r.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=n.length;a--;)delete h[s][n[a]];return h()};return o[l]=!0,_O=Object.create||function(t,n){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===n?o:r.f(o,n)}}function gA(){if(zO)return MO;zO=1;var t=_S(),e=vA(),r=QS().f,n=t("unscopables"),o=Array.prototype;return void 0===o[n]&&r(o,n,{configurable:!0,value:e(null)}),MO=function(t){o[n][t]=!0}}function yA(){return $O?HO:($O=1,HO={})}function mA(){if(WO)return GO;WO=1;var t=RS(),e=qw(),r=FS(),n=EC(),o=function(){if(VO)return UO;VO=1;var t=qE();return UO=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=n("IE_PROTO"),u=Object,a=u.prototype;return GO=o?u.getPrototypeOf:function(n){var o=r(n);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function bA(){if(KO)return qO;KO=1;var t,e,r,n=qE(),o=qw(),i=Kw(),u=vA(),a=mA(),s=DC(),c=_S(),l=kS(),f=c("iterator"),d=!1;return[].keys&&("next"in(r=[].keys())?(e=a(a(r)))!==Object.prototype&&(t=e):d=!0),!i(t)||n(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),qO={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function EA(){if(XO)return YO;XO=1;var t=QS().f,e=RS(),r=_S()("toStringTag");return YO=function(n,o,i){n&&!i&&(n=n.prototype),n&&!e(n,r)&&t(n,r,{configurable:!0,value:o})}}function wA(){if(oA)return nA;oA=1;var t=function(){if(rA)return eA;rA=1;var t=Kw();return eA=function(e){return t(e)||null===e}}(),e=String,r=TypeError;return nA=function(n){if(t(n))return n;throw new r("Can't set "+e(n)+" as a prototype")}}function SA(){if(uA)return iA;uA=1;var t=function(){if(tA)return QO;tA=1;var t=Hw(),e=nS();return QO=function(r,n,o){try{return t(e(Object.getOwnPropertyDescriptor(r,n)[o]))}catch(t){}}}(),e=Kw(),r=Gw(),n=wA();return iA=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return r(t),n(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function CA(){if(sA)return aA;sA=1;var t=ND(),e=XE(),r=kS(),n=yC(),o=qw(),i=function(){if(ZO)return JO;ZO=1;var t=bA().IteratorPrototype,e=vA(),r=zw(),n=EA(),o=yA(),i=function(){return this};return JO=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:r(+!c,s)}),n(u,l,!1,!0),o[l]=i,u}}(),u=mA(),a=SA(),s=EA(),c=tC(),l=DC(),f=_S(),d=yA(),p=bA(),h=n.PROPER,v=n.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return aA=function(n,f,p,C,D,O,A){i(p,f,C);var x,T,N,k=function(t){if(t===D&&R)return R;if(!y&&t&&t in I)return I[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},P=f+" Iterator",B=!1,I=n.prototype,F=I[m]||I["@@iterator"]||D&&I[D],R=!y&&F||k(D),L="Array"===f&&I.entries||F;if(L&&(x=u(L.call(new n)))!==Object.prototype&&x.next&&(r||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,P,!0,!0),r&&(d[P]=S)),h&&D===E&&F&&F.name!==E&&(!r&&v?c(I,"name",E):(B=!0,R=function(){return e(F,this)})),D)if(T={values:k(E),keys:O?R:k(b),entries:k(w)},A)for(N in T)(y||B||!(N in I))&&l(I,N,T[N]);else t({target:f,proto:!0,forced:y||B},T);return r&&!A||I[m]===R||l(I,m,R,{name:D}),d[f]=R,T}}function DA(){return lA?cA:(lA=1,cA=function(t,e){return{value:t,done:e}})}function OA(){if(dA)return fA;dA=1;var t=Ww(),e=gA(),r=yA(),n=SC(),o=QS().f,i=CA(),u=DA(),a=kS(),s=KE(),c="Array Iterator",l=n.set,f=n.getterFor(c);fA=i(Array,"Array",function(e,r){l(this,{type:c,target:t(e),index:0,kind:r})},function(){var t=f(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(r,!1);case"values":return u(e[r],!1)}return u([r,e[r]],!1)},"values");var d=r.Arguments=r.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return fA}OA();var AA,xA,TA,NA,kA,PA={};function BA(){if(xA)return AA;xA=1;var t=FD(),e=String;return AA=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}function IA(){if(NA)return TA;NA=1;var t=Hw(),e=UC(),r=BA(),n=Gw(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=r(n(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return TA={codeAt:a(!1),charAt:a(!0)}}!function(){if(kA)return PA;kA=1;var t=IA().charAt,e=BA(),r=SC(),n=CA(),o=DA(),i="String Iterator",u=r.set,a=r.getterFor(i);n(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,r=a(this),n=r.string,i=r.index;return i>=n.length?o(void 0,!0):(e=t(n,i),r.index+=e.length,o(e,!1))})}();var FA,RA,LA,_A,jA={};function MA(){if(RA)return FA;RA=1;var t=qE();return FA=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})}function zA(){if(_A)return LA;_A=1;var t=DC();return LA=function(e,r,n){for(var o in r)t(e,o,r[o],n);return e}}var HA,$A,UA,VA,GA,WA,qA,KA,YA,XA,JA,ZA,QA,tx,ex,rx,nx,ox,ix,ux,ax,sx,cx,lx,fx,dx,px,hx,vx,gx,yx={exports:{}},mx={};function bx(){if($A)return HA;$A=1;var t=Hw();return HA=t([].slice)}function Ex(){if(KA)return yx.exports;KA=1;var t=ND(),e=Hw(),r=wC(),n=Kw(),o=RS(),i=QS().f,u=XC(),a=function(){if(UA)return mx;UA=1;var t=$w(),e=Ww(),r=XC().f,n=bx(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return mx.f=function(i){return o&&"Window"===t(i)?function(t){try{return r(t)}catch(t){return n(o)}}(i):r(e(i))},mx}(),s=function(){if(qA)return WA;qA=1;var t=qE(),e=Kw(),r=$w(),n=function(){if(GA)return VA;GA=1;var t=qE();return VA=t(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})}(),o=Object.isExtensible,i=t(function(){});return WA=i||n?function(t){return!!e(t)&&(!n||"ArrayBuffer"!==r(t))&&(!o||o(t))}:o}(),c=LS(),l=MA(),f=!1,d=c("meta"),p=0,h=function(t){i(t,d,{value:{objectID:"O"+p++,weakData:{}}})},v=yx.exports={enable:function(){v.enable=function(){},f=!0;var r=u.f,n=e([].splice),o={};o[d]=1,r(o).length&&(u.f=function(t){for(var e=r(t),o=0,i=e.length;o<i;o++)if(e[o]===d){n(e,o,1);break}return e},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!n(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,d)){if(!s(t))return"F";if(!e)return"E";h(t)}return t[d].objectID},getWeakData:function(t,e){if(!o(t,d)){if(!s(t))return!0;if(!e)return!1;h(t)}return t[d].weakData},onFreeze:function(t){return l&&f&&s(t)&&!o(t,d)&&h(t),t}};return r[d]=!0,yx.exports}function wx(){if(XA)return YA;XA=1;var t=_S(),e=yA(),r=t("iterator"),n=Array.prototype;return YA=function(t){return void 0!==t&&(e.Array===t||n[r]===t)}}function Sx(){if(ZA)return JA;ZA=1;var t=FD(),e=oS(),r=Vw(),n=yA(),o=_S()("iterator");return JA=function(i){if(!r(i))return e(i,o)||e(i,"@@iterator")||n[t(i)]}}function Cx(){if(tx)return QA;tx=1;var t=XE(),e=nS(),r=ZS(),n=rS(),o=Sx(),i=TypeError;return QA=function(u,a){var s=arguments.length<2?o(u):a;if(e(s))return r(t(s,u));throw new i(n(u)+" is not iterable")},QA}function Dx(){if(rx)return ex;rx=1;var t=XE(),e=ZS(),r=oS();return ex=function(n,o,i){var u,a;e(n);try{if(!(u=r(n,"return"))){if("throw"===o)throw i;return i}u=t(u,n)}catch(t){a=!0,u=t}if("throw"===o)throw i;if(a)throw u;return e(u),i}}function Ox(){if(ox)return nx;ox=1;var t=dO(),e=XE(),r=ZS(),n=rS(),o=wx(),i=WC(),u=Xw(),a=Cx(),s=Sx(),c=Dx(),l=TypeError,f=function(t,e){this.stopped=t,this.result=e},d=f.prototype;return nx=function(p,h,v){var g,y,m,b,E,w,S,C=v&&v.that,D=!(!v||!v.AS_ENTRIES),O=!(!v||!v.IS_RECORD),A=!(!v||!v.IS_ITERATOR),x=!(!v||!v.INTERRUPTED),T=t(h,C),N=function(t){return g&&c(g,"normal"),new f(!0,t)},k=function(t){return D?(r(t),x?T(t[0],t[1],N):T(t[0],t[1])):x?T(t,N):T(t)};if(O)g=p.iterator;else if(A)g=p;else{if(!(y=s(p)))throw new l(n(p)+" is not iterable");if(o(y)){for(m=0,b=i(p);b>m;m++)if((E=k(p[m]))&&u(d,E))return E;return new f(!1)}g=a(p,y)}for(w=O?p.next:g.next;!(S=e(w,g)).done;){try{E=k(S.value)}catch(t){c(g,"throw",t)}if("object"==typeof E&&E&&u(d,E))return E}return new f(!1)}}function Ax(){if(ux)return ix;ux=1;var t=Xw(),e=TypeError;return ix=function(r,n){if(t(n,r))return r;throw new e("Incorrect invocation")}}function xx(){if(sx)return ax;sx=1;var t=_S()("iterator"),e=!1;try{var r=0,n={next:function(){return{done:!!r++}},return:function(){e=!0}};n[t]=function(){return this},Array.from(n,function(){throw 2})}catch(t){}return ax=function(r,n){try{if(!n&&!e)return!1}catch(t){return!1}var o=!1;try{var i={};i[t]=function(){return{next:function(){return{done:o=!0}}}},r(i)}catch(t){}return o}}function Tx(){if(lx)return cx;lx=1;var t=qw(),e=Kw(),r=SA();return cx=function(n,o,i){var u,a;return r&&t(u=o.constructor)&&u!==i&&e(a=u.prototype)&&a!==i.prototype&&r(n,a),n}}function Nx(){if(dx)return fx;dx=1;var t=ND(),e=_E(),r=Hw(),n=TD(),o=DC(),i=Ex(),u=Ox(),a=Ax(),s=qw(),c=Vw(),l=Kw(),f=qE(),d=xx(),p=EA(),h=Tx();return fx=function(v,g,y){var m=-1!==v.indexOf("Map"),b=-1!==v.indexOf("Weak"),E=m?"set":"add",w=e[v],S=w&&w.prototype,C=w,D={},O=function(t){var e=r(S[t]);o(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!l(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(n(v,!s(w)||!(b||S.forEach&&!f(function(){(new w).entries().next()}))))C=y.getConstructor(g,v,m,E),i.enable();else if(n(v,!0)){var A=new C,x=A[E](b?{}:-0,1)!==A,T=f(function(){A.has(1)}),N=d(function(t){new w(t)}),k=!b&&f(function(){for(var t=new w,e=5;e--;)t[E](e,e);return!t.has(-0)});N||((C=g(function(t,e){a(t,S);var r=h(new w,t,C);return c(e)||u(e,r[E],{that:r,AS_ENTRIES:m}),r})).prototype=S,S.constructor=C),(T||k)&&(O("delete"),O("has"),m&&O("get")),(k||x)&&O(E),b&&S.clear&&delete S.clear}return D[v]=C,t({global:!0,constructor:!0,forced:C!==w},D),p(C,v),b||y.setStrong(C,v,m),C},fx}gx||(gx=1,function(){if(vx)return jA;vx=1;var t,e=MA(),r=_E(),n=Hw(),o=zA(),i=Ex(),u=Nx(),a=function(){if(hx)return px;hx=1;var t=Hw(),e=zA(),r=Ex().getWeakData,n=Ax(),o=ZS(),i=Vw(),u=Kw(),a=Ox(),s=pO(),c=RS(),l=SC(),f=l.set,d=l.getterFor,p=s.find,h=s.findIndex,v=t([].splice),g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return p(t.entries,function(t){return t[0]===e})};return m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var r=b(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,function(e){return e[0]===t});return~e&&v(this.entries,e,1),!!~e}},px={getConstructor:function(t,s,l,p){var h=t(function(t,e){n(t,v),f(t,{type:s,id:g++,frozen:null}),i(e)||a(e,t[p],{that:t,AS_ENTRIES:l})}),v=h.prototype,m=d(s),b=function(t,e,n){var i=m(t),u=r(o(e),!0);return!0===u?y(i).set(e,n):u[i.id]=n,t};return e(v,{delete:function(t){var e=m(this);if(!u(t))return!1;var n=r(t);return!0===n?y(e).delete(t):n&&c(n,e.id)&&delete n[e.id]},has:function(t){var e=m(this);if(!u(t))return!1;var n=r(t);return!0===n?y(e).has(t):n&&c(n,e.id)}}),e(v,l?{get:function(t){var e=m(this);if(u(t)){var n=r(t);if(!0===n)return y(e).get(t);if(n)return n[e.id]}},set:function(t,e){return b(this,t,e)}}:{add:function(t){return b(this,t,!0)}}),h}}}(),s=Kw(),c=SC().enforce,l=qE(),f=bC(),d=Object,p=Array.isArray,h=d.isExtensible,v=d.isFrozen,g=d.isSealed,y=d.freeze,m=d.seal,b=!r.ActiveXObject&&"ActiveXObject"in r,E=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},w=u("WeakMap",E,a),S=w.prototype,C=n(S.set);if(f)if(b){t=a.getConstructor(E,"WeakMap",!0),i.enable();var D=n(S.delete),O=n(S.has),A=n(S.get);o(S,{delete:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),D(this,e)||r.frozen.delete(e)}return D(this,e)},has:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),O(this,e)||r.frozen.has(e)}return O(this,e)},get:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),O(this,e)?A(this,e):r.frozen.get(e)}return A(this,e)},set:function(e,r){if(s(e)&&!h(e)){var n=c(this);n.frozen||(n.frozen=new t),O(this,e)?C(this,e,r):n.frozen.set(e,r)}else C(this,e,r);return this}})}else e&&l(function(){var t=y([]);return C(new w,t,1),!v(t)})&&o(S,{set:function(t,e){var r;return p(t)&&(v(t)?r=y:g(t)&&(r=m)),C(this,t,e),r&&r(t),this}})}());var kx,Px={};!function(){if(kx)return Px;kx=1;var t=_E(),e=cO(),r=lO(),n=OA(),o=tC(),i=EA(),u=_S()("iterator"),a=n.values,s=function(t,r){if(t){if(t[u]!==a)try{o(t,u,a)}catch(e){t[u]=a}if(i(t,r,!0),e[r])for(var s in n)if(t[s]!==n[s])try{o(t,s,n[s])}catch(e){t[s]=n[s]}}};for(var c in e)s(t[c]&&t[c].prototype,c);s(r,"DOMTokenList")}();var Bx,Ix=new WeakMap,Fx=new WeakMap,Rx=new WeakMap,Lx=new WeakMap,_x=new WeakMap,jx=new WeakMap,Mx=new WeakMap,zx=new WeakMap,Hx=new WeakMap,$x=new WeakMap,Ux=new WeakMap,Vx=new WeakMap,Gx=new WeakMap,Wx=new WeakMap,qx=new WeakMap,Kx=new WeakMap,Yx=new WeakMap,Xx=new WeakMap,Jx=new WeakMap,Zx=new WeakMap,Qx=new WeakMap,tT=new WeakMap,eT=new WeakMap,rT=new WeakMap,nT=new WeakMap,oT=new WeakMap,iT=new WeakMap,uT=function(t){var e=t;return e.getAllMenuKeys=function(){var t=[];for(var e in IO)t.push(e);return t},e.getConfig=function(){var t=$x.get(e);if(null==t)throw new Error("Can not get editor config");return t},e.getMenuConfig=function(t){var r=e.getConfig().MENU_CONF;return(void 0===r?{}:r)[t]||{}},e.alert=function(t,r){void 0===r&&(r="info");var n=e.getConfig().customAlert;n&&n(t,r)},e},aT={};!function(){if(Bx)return aT;Bx=1;var t=ND(),e=pO().filter;t({target:"Array",proto:!0,forced:!_D()("filter")},{filter:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var sT,cT,lT,fT,dT,pT={};!function(){if(dT)return pT;dT=1;var t=ND(),e=function(){if(fT)return lT;fT=1;var t=dO(),e=XE(),r=FS(),n=function(){if(cT)return sT;cT=1;var t=ZS(),e=Dx();return sT=function(r,n,o,i){try{return i?n(t(o)[0],o[1]):n(o)}catch(t){e(r,"throw",t)}}}(),o=wx(),i=RD(),u=WC(),a=BD(),s=Cx(),c=Sx(),l=Array;return lT=function(f){var d=r(f),p=i(this),h=arguments.length,v=h>1?arguments[1]:void 0,g=void 0!==v;g&&(v=t(v,h>2?arguments[2]:void 0));var y,m,b,E,w,S,C=c(d),D=0;if(!C||this===l&&o(C))for(y=u(d),m=p?new this(y):l(y);y>D;D++)S=g?v(d[D],D):d[D],a(m,D,S);else for(m=p?new this:[],w=(E=s(d,C)).next;!(b=e(w,E)).done;D++)S=g?n(E,v,[b.value,D],!0):b.value,a(m,D,S);return m.length=D,m},lT}();t({target:"Array",stat:!0,forced:!xx()(function(t){Array.from(t)})},{from:e})}();var hT,vT={};!function(){if(hT)return vT;hT=1;var t=ND(),e=qC().includes,r=qE(),n=gA();t({target:"Array",proto:!0,forced:r(function(){return!Array(1).includes()})},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n("includes")}();var gT,yT={};!function(){if(gT)return yT;gT=1;var t=ND(),e=Hw(),r=Uw(),n=Ww(),o=hO(),i=e([].join);t({target:"Array",proto:!0,forced:r!==Object||!o("join",",")},{join:function(t){return i(n(this),void 0===t?",":t)}})}();var mT,bT={};!function(){if(mT)return bT;mT=1;var t=ND(),e=pO().map;t({target:"Array",proto:!0,forced:!_D()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var ET,wT,ST,CT,DT,OT,AT,xT={};function TT(){if(wT)return ET;wT=1;var t=Kw(),e=$w(),r=_S()("match");return ET=function(n){var o;return t(n)&&(void 0!==(o=n[r])?!!o:"RegExp"===e(n))}}function NT(){if(CT)return ST;CT=1;var t=TT(),e=TypeError;return ST=function(r){if(t(r))throw new e("The method doesn't accept regular expressions");return r}}function kT(){if(OT)return DT;OT=1;var t=_S()("match");return DT=function(e){var r=/./;try{"/./"[e](r)}catch(n){try{return r[t]=!1,"/./"[e](r)}catch(t){}}return!1}}!function(){if(AT)return xT;AT=1;var t=ND(),e=Hw(),r=NT(),n=Gw(),o=BA(),i=kT(),u=e("".indexOf);t({target:"String",proto:!0,forced:!i("includes")},{includes:function(t){return!!~u(o(n(this)),o(r(t)),arguments.length>1?arguments[1]:void 0)}})}();var PT,BT,IT,FT,RT,LT,_T,jT={};function MT(){return BT?PT:(BT=1,PT="\t\n\v\f\r \u2028\u2029\ufeff")}!function(){if(_T)return jT;_T=1;var t=ND(),e=function(){if(FT)return IT;FT=1;var t=Hw(),e=Gw(),r=BA(),n=MT(),o=t("".replace),i=RegExp("^["+n+"]+"),u=RegExp("(^|[^"+n+"])["+n+"]+$"),a=function(t){return function(n){var a=r(e(n));return 1&t&&(a=o(a,i,"")),2&t&&(a=o(a,u,"$1")),a}};return IT={start:a(1),end:a(2),trim:a(3)}}().trim,r=function(){if(LT)return RT;LT=1;var t=yC().PROPER,e=qE(),r=MT();return RT=function(n){return e(function(){return!!r[n]()||"
"!=="
"[n]()||t&&r[n].name!==n})}}();t({target:"String",proto:!0,forced:r("trim")},{trim:function(){return e(this)}})}();var zT,HT,$T,UT,VT,GT,WT,qT,KT,YT,XT,JT,ZT,QT={};function tN(){if(HT)return zT;HT=1;var t=Hw(),e=Gw(),r=BA(),n=/"/g,o=t("".replace);return zT=function(t,i,u,a){var s=r(e(t)),c="<"+i;return""!==u&&(c+=" "+u+'="'+o(r(a),n,""")+'"'),c+">"+s+"</"+i+">"}}function eN(){if(UT)return $T;UT=1;var t=qE();return $T=function(e){return t(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})}}function rN(){if(WT)return GT;WT=1;var t=CC(),e=QS();return GT=function(r,n,o){return o.get&&t(o.get,n,{getter:!0}),o.set&&t(o.set,n,{setter:!0}),e.f(r,n,o)}}function nN(){if(KT)return qT;KT=1;var t=Yw(),e=rN(),r=_S(),n=KE(),o=r("species");return qT=function(r){var i=t(r);n&&i&&!i[o]&&e(i,o,{configurable:!0,get:function(){return this}})}}!function(){if(VT)return QT;VT=1;var t=ND(),e=tN();t({target:"String",proto:!0,forced:eN()("anchor")},{anchor:function(t){return e(this,"a","name",t)}})}(),ZT||(ZT=1,JT||(JT=1,Nx()("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},function(){if(XT)return YT;XT=1;var t=vA(),e=rN(),r=zA(),n=dO(),o=Ax(),i=Vw(),u=Ox(),a=CA(),s=DA(),c=nN(),l=KE(),f=Ex().fastKey,d=SC(),p=d.set,h=d.getterFor;return YT={getConstructor:function(a,s,c,d){var v=a(function(e,r){o(e,g),p(e,{type:s,index:t(null),first:null,last:null,size:0}),l||(e.size=0),i(r)||u(r,e[d],{that:e,AS_ENTRIES:c})}),g=v.prototype,y=h(s),m=function(t,e,r){var n,o,i=y(t),u=b(t,e);return u?u.value=r:(i.last=u={index:o=f(e,!0),key:e,value:r,previous:n=i.last,next:null,removed:!1},i.first||(i.first=u),n&&(n.next=u),l?i.size++:t.size++,"F"!==o&&(i.index[o]=u)),t},b=function(t,e){var r,n=y(t),o=f(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key===e)return r};return r(g,{clear:function(){for(var e=y(this),r=e.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=null),r=r.next;e.first=e.last=null,e.index=t(null),l?e.size=0:this.size=0},delete:function(t){var e=this,r=y(e),n=b(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first===n&&(r.first=o),r.last===n&&(r.last=i),l?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=y(this),o=n(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(o(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!b(this,t)}}),r(g,c?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),l&&e(g,"size",{configurable:!0,get:function(){return y(this).size}}),v},setStrong:function(t,e,r){var n=e+" Iterator",o=h(e),i=h(n);a(t,e,function(t,e){p(this,{type:n,target:t,state:o(t),kind:e,last:null})},function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?s("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=null,s(void 0,!0))},r?"entries":"values",!r,!0),c(e)}},YT}())));var oN,iN,uN,aN,sN,cN,lN,fN,dN,pN,hN,vN=new Set(["doctype","!doctype","meta","script","style","link","frame","iframe","title","svg"]),gN={};function yN(){if(iN)return oN;iN=1;var t=ZS();return oN=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}function mN(){if(aN)return uN;aN=1;var t=qE(),e=_E().RegExp,r=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),n=r||t(function(){return!e("a","y").sticky}),o=r||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return uN={BROKEN_CARET:o,MISSED_STICKY:n,UNSUPPORTED_Y:r}}function bN(){if(cN)return sN;cN=1;var t=qE(),e=_E().RegExp;return sN=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}function EN(){if(fN)return lN;fN=1;var t=qE(),e=_E().RegExp;return lN=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}function wN(){if(pN)return dN;pN=1;var t,e,r=XE(),n=Hw(),o=BA(),i=yN(),u=mN(),a=IS(),s=vA(),c=SC().get,l=bN(),f=EN(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=n("".charAt),g=n("".indexOf),y=n("".replace),m=n("".slice),b=(e=/b*/g,r(p,t=/a/,"a"),r(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,n,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=r(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=r(i,C),k=C.source,P=0,B=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),B=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(k="(?: "+k+")",B=" "+B,P++),n=new RegExp("^(?:"+k+")",N)),w&&(n=new RegExp("^"+k+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=r(p,T?n:C,B),T?a?(a.input=m(a.input,P),a[0]=m(a[0],P),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&r(d,a[0],n,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),dN=h}function SN(){if(hN)return gN;hN=1;var t=ND(),e=wN();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),gN}SN();var CN,DN,ON,AN,xN,TN,NN,kN,PN,BN,IN,FN={};function RN(){if(DN)return CN;DN=1,SN();var t=XE(),e=DC(),r=wN(),n=qE(),o=_S(),i=tC(),u=o("species"),a=RegExp.prototype;return CN=function(s,c,l,f){var d=o(s),p=!n(function(){var t={};return t[d]=function(){return 7},7!==""[s](t)}),h=p&&!n(function(){var t=!1,e=/a/;return"split"===s&&((e={}).constructor={},e.constructor[u]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return t=!0,null},e[d](""),!t});if(!p||!h||l){var v=/./[d],g=c(d,""[s],function(e,n,o,i,u){var s=n.exec;return s===r||s===a.exec?p&&!u?{done:!0,value:t(v,n,o,i)}:{done:!0,value:t(e,o,n,i)}:{done:!1}});e(String.prototype,s,g[0]),e(a,d,g[1])}f&&i(a[d],"sham",!0)},CN}function LN(){if(TN)return xN;TN=1;var t=ZS(),e=function(){if(AN)return ON;AN=1;var t=RD(),e=rS(),r=TypeError;return ON=function(n){if(t(n))return n;throw new r(e(n)+" is not a constructor")}}(),r=Vw(),n=_S()("species");return xN=function(o,i){var u,a=t(o).constructor;return void 0===a||r(u=t(a)[n])?i:e(u)}}function _N(){if(kN)return NN;kN=1;var t=IA().charAt;return NN=function(e,r,n){return r+(n?t(e,r).length:1)}}function jN(){if(BN)return PN;BN=1;var t=XE(),e=ZS(),r=qw(),n=$w(),o=wN(),i=TypeError;return PN=function(u,a){var s=u.exec;if(r(s)){var c=t(s,u,a);return null!==c&&e(c),c}if("RegExp"===n(u))return t(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}!function(){if(IN)return FN;IN=1;var t=XE(),e=Hw(),r=RN(),n=ZS(),o=Kw(),i=Gw(),u=LN(),a=_N(),s=GC(),c=BA(),l=oS(),f=jN(),d=mN(),p=qE(),h=d.UNSUPPORTED_Y,v=Math.min,g=e([].push),y=e("".slice),m=!p(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}),b="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;r("split",function(e,r,d){var p="0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t(r,this,e,n)}:r;return[function(r,n){var u=i(this),a=o(r)?l(r,e):void 0;return a?t(a,r,u,n):t(p,c(u),r,n)},function(t,e){var o=n(this),i=c(t);if(!b){var l=d(p,o,i,e,p!==r);if(l.done)return l.value}var m=u(o,RegExp),E=o.unicode,w=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(h?"g":"y"),S=new m(h?"^(?:"+o.source+")":o,w),C=void 0===e?4294967295:e>>>0;if(0===C)return[];if(0===i.length)return null===f(S,i)?[i]:[];for(var D=0,O=0,A=[];O<i.length;){S.lastIndex=h?0:O;var x,T=f(S,h?y(i,O):i);if(null===T||(x=v(s(S.lastIndex+(h?O:0)),i.length))===D)O=a(i,O,E);else{if(g(A,y(i,D,O)),A.length===C)return A;for(var N=1;N<=T.length-1;N++)if(g(A,T[N]),A.length===C)return A;O=D=x}}return g(A,y(i,D)),A}]},b||!m,h)}();var MN,zN,HN,$N,UN={};!function(){if(HN)return UN;HN=1;var t=ND(),e=function(){if(zN)return MN;zN=1;var t=kD(),e=WC(),r=PD(),n=dO(),o=function(i,u,a,s,c,l,f,d){for(var p,h,v=c,g=0,y=!!f&&n(f,d);g<s;)g in a&&(p=y?y(a[g],g,u):a[g],l>0&&t(p)?(h=e(p),v=o(i,u,p,h,v,l-1)-1):(r(v+1),i[v]=p),v++),g++;return v};return MN=o}(),r=nS(),n=FS(),o=WC(),i=LD();t({target:"Array",proto:!0},{flatMap:function(t){var u,a=n(this),s=o(a);return r(t),(u=i(a,0)).length=e(u,a,a,s,0,1,t,arguments.length>1?arguments[1]:void 0),u}})}(),$N||($N=1,gA()("flatMap"));var VN,GN={};!function(){if(VN)return GN;VN=1;var t=ND(),e=tN();t({target:"String",proto:!0,forced:eN()("bold")},{bold:function(){return e(this,"b","","")}})}();var WN,qN={};!function(){if(WN)return qN;WN=1;var t=ND(),e=tN();t({target:"String",proto:!0,forced:eN()("italics")},{italics:function(){return e(this,"i","","")}})}();var KN,YN={};!function(){if(KN)return YN;KN=1;var t=ND(),e=tN();t({target:"String",proto:!0,forced:eN()("sub")},{sub:function(){return e(this,"sub","","")}})}();var XN,JN={};!function(){if(XN)return JN;XN=1;var t=ND(),e=tN();t({target:"String",proto:!0,forced:eN()("sup")},{sup:function(){return e(this,"sup","","")}})}();var ZN,QN={};!function(){if(ZN)return QN;ZN=1;var t=ND(),e=pO().find,r=gA(),n="find",o=!0;n in[]&&Array(1)[n](function(){o=!1}),t({target:"Array",proto:!0,forced:o},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r(n)}();var tk,ek,rk={};ek||(ek=1,function(){if(tk)return rk;tk=1;var t=ND(),e=_E();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}());const nk=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];var ok,ik,uk,ak,sk,ck,lk,fk,dk,pk,hk,vk,gk,yk,mk,bk,Ek,wk,Sk,Ck,Dk,Ok,Ak,xk,Tk,Nk,kk,Pk,Bk,Ik,Fk,Rk,Lk={};function _k(){if(ik)return ok;ik=1;var t=_E(),e=Jw(),r=$w(),n=function(t){return e.slice(0,t.length)===t};return ok=n("Bun/")?"BUN":n("Cloudflare-Workers")?"CLOUDFLARE":n("Deno/")?"DENO":n("Node.js/")?"NODE":t.Bun&&"string"==typeof Bun.version?"BUN":t.Deno&&"object"==typeof Deno.version?"DENO":"process"===r(t.process)?"NODE":t.window&&t.document?"BROWSER":"REST"}function jk(){if(ak)return uk;ak=1;var t=_k();return uk="NODE"===t}function Mk(){if(fk)return lk;fk=1;var t=YE(),e=Function.prototype,r=e.apply,n=e.call;return lk="object"==typeof Reflect&&Reflect.apply||(t?n.bind(r):function(){return n.apply(r,arguments)}),lk}function zk(){if(vk)return hk;vk=1;var t=Jw();return hk=/(?:ipad|iphone|ipod).*applewebkit/i.test(t)}function Hk(){if(yk)return gk;yk=1;var t,e,r,n,o=_E(),i=Mk(),u=dO(),a=qw(),s=RS(),c=qE(),l=hA(),f=bx(),d=zS(),p=function(){if(pk)return dk;pk=1;var t=TypeError;return dk=function(e,r){if(e<r)throw new t("Not enough arguments");return e}}(),h=zk(),v=jk(),g=o.setImmediate,y=o.clearImmediate,m=o.process,b=o.Dispatch,E=o.Function,w=o.MessageChannel,S=o.String,C=0,D={},O="onreadystatechange";c(function(){t=o.location});var A=function(t){if(s(D,t)){var e=D[t];delete D[t],e()}},x=function(t){return function(){A(t)}},T=function(t){A(t.data)},N=function(e){o.postMessage(S(e),t.protocol+"//"+t.host)};return g&&y||(g=function(t){p(arguments.length,1);var r=a(t)?t:E(t),n=f(arguments,1);return D[++C]=function(){i(r,void 0,n)},e(C),C},y=function(t){delete D[t]},v?e=function(t){m.nextTick(x(t))}:b&&b.now?e=function(t){b.now(x(t))}:w&&!h?(n=(r=new w).port2,r.port1.onmessage=T,e=u(n.postMessage,n)):o.addEventListener&&a(o.postMessage)&&!o.importScripts&&t&&"file:"!==t.protocol&&!c(N)?(e=N,o.addEventListener("message",T,!1)):e=O in d("script")?function(t){l.appendChild(d("script"))[O]=function(){l.removeChild(this),A(t)}}:function(t){setTimeout(x(t),0)}),gk={set:g,clear:y}}function $k(){if(wk)return Ek;wk=1;var t=function(){this.head=null,this.tail=null};return t.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},Ek=t}function Uk(){if(xk)return Ak;xk=1;var t,e,r,n,o,i=_E(),u=function(){if(bk)return mk;bk=1;var t=_E(),e=KE(),r=Object.getOwnPropertyDescriptor;return mk=function(n){if(!e)return t[n];var o=r(t,n);return o&&o.value}}(),a=dO(),s=Hk().set,c=$k(),l=zk(),f=function(){if(Ck)return Sk;Ck=1;var t=Jw();return Sk=/ipad|iphone|ipod/i.test(t)&&"undefined"!=typeof Pebble}(),d=function(){if(Ok)return Dk;Ok=1;var t=Jw();return Dk=/web0s(?!.*chrome)/i.test(t)}(),p=jk(),h=i.MutationObserver||i.WebKitMutationObserver,v=i.document,g=i.process,y=i.Promise,m=u("queueMicrotask");if(!m){var b=new c,E=function(){var e,r;for(p&&(e=g.domain)&&e.exit();r=b.get();)try{r()}catch(e){throw b.head&&t(),e}e&&e.enter()};l||p||d||!h||!v?!f&&y&&y.resolve?((n=y.resolve(void 0)).constructor=y,o=a(n.then,n),t=function(){o(E)}):p?t=function(){g.nextTick(E)}:(s=a(s,i),t=function(){s(E)}):(e=!0,r=v.createTextNode(""),new h(E).observe(r,{characterData:!0}),t=function(){r.data=e=!e}),m=function(e){b.head||t(),b.add(e)}}return Ak=m}function Vk(){return Pk?kk:(Pk=1,kk=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}})}function Gk(){if(Ik)return Bk;Ik=1;var t=_E();return Bk=t.Promise}function Wk(){if(Rk)return Fk;Rk=1;var t=_E(),e=Gk(),r=qw(),n=TD(),o=mC(),i=_S(),u=_k(),a=kS(),s=Zw(),c=e&&e.prototype,l=i("species"),f=!1,d=r(t.PromiseRejectionEvent),p=n("Promise",function(){var t=o(e),r=t!==String(e);if(!r&&66===s)return!0;if(a&&(!c.catch||!c.finally))return!0;if(!s||s<51||!/native code/.test(t)){var n=new e(function(t){t(1)}),i=function(t){t(function(){},function(){})};if((n.constructor={})[l]=i,!(f=n.then(function(){})instanceof i))return!0}return!(r||"BROWSER"!==u&&"DENO"!==u||d)});return Fk={CONSTRUCTOR:p,REJECTION_EVENT:d,SUBCLASSING:f}}var qk,Kk,Yk={};function Xk(){if(qk)return Yk;qk=1;var t=nS(),e=TypeError,r=function(r){var n,o;this.promise=new r(function(t,r){if(void 0!==n||void 0!==o)throw new e("Bad Promise constructor");n=t,o=r}),this.resolve=t(n),this.reject=t(o)};return Yk.f=function(t){return new r(t)},Yk}var Jk,Zk,Qk,tP={};function eP(){if(Zk)return Jk;Zk=1;var t=Gk(),e=xx(),r=Wk().CONSTRUCTOR;return Jk=r||!e(function(e){t.all(e).then(void 0,function(){})})}var rP,nP,oP,iP,uP,aP,sP,cP={},lP={},fP={},dP={};sP||(sP=1,function(){if(Kk)return Lk;Kk=1;var t,e,r,n,o=ND(),i=kS(),u=jk(),a=_E(),s=function(){if(ck)return sk;ck=1;var t=_E();return sk=t}(),c=XE(),l=DC(),f=SA(),d=EA(),p=nN(),h=nS(),v=qw(),g=Kw(),y=Ax(),m=LN(),b=Hk().set,E=Uk(),w=(Nk||(Nk=1,Tk=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}),Tk),S=Vk(),C=$k(),D=SC(),O=Gk(),A=Wk(),x=Xk(),T="Promise",N=A.CONSTRUCTOR,k=A.REJECTION_EVENT,P=A.SUBCLASSING,B=D.getterFor(T),I=D.set,F=O&&O.prototype,R=O,L=F,_=a.TypeError,j=a.document,M=a.process,z=x.f,H=z,$=!!(j&&j.createEvent&&a.dispatchEvent),U="unhandledrejection",V=function(t){var e;return!(!g(t)||!v(e=t.then))&&e},G=function(t,e){var r,n,o,i=e.value,u=1===e.state,a=u?t.ok:t.fail,s=t.resolve,l=t.reject,f=t.domain;try{a?(u||(2===e.rejection&&X(e),e.rejection=1),!0===a?r=i:(f&&f.enter(),r=a(i),f&&(f.exit(),o=!0)),r===t.promise?l(new _("Promise-chain cycle")):(n=V(r))?c(n,r,s,l):s(r)):l(i)}catch(t){f&&!o&&f.exit(),l(t)}},W=function(t,e){t.notified||(t.notified=!0,E(function(){for(var r,n=t.reactions;r=n.get();)G(r,t);t.notified=!1,e&&!t.rejection&&K(t)}))},q=function(t,e,r){var n,o;$?((n=j.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),a.dispatchEvent(n)):n={promise:e,reason:r},!k&&(o=a["on"+t])?o(n):t===U&&w("Unhandled promise rejection",r)},K=function(t){c(b,a,function(){var e,r=t.facade,n=t.value;if(Y(t)&&(e=S(function(){u?M.emit("unhandledRejection",n,r):q(U,r,n)}),t.rejection=u||Y(t)?2:1,e.error))throw e.value})},Y=function(t){return 1!==t.rejection&&!t.parent},X=function(t){c(b,a,function(){var e=t.facade;u?M.emit("rejectionHandled",e):q("rejectionhandled",e,t.value)})},J=function(t,e,r){return function(n){t(e,n,r)}},Z=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,W(t,!0))},Q=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new _("Promise can't be resolved itself");var n=V(e);n?E(function(){var r={done:!1};try{c(n,e,J(Q,r,t),J(Z,r,t))}catch(e){Z(r,e,t)}}):(t.value=e,t.state=1,W(t,!1))}catch(e){Z({done:!1},e,t)}}};if(N&&(L=(R=function(e){y(this,L),h(e),c(t,this);var r=B(this);try{e(J(Q,r),J(Z,r))}catch(t){Z(r,t)}}).prototype,(t=function(t){I(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:0,value:null})}).prototype=l(L,"then",function(t,e){var r=B(this),n=z(m(this,R));return r.parent=!0,n.ok=!v(t)||t,n.fail=v(e)&&e,n.domain=u?M.domain:void 0,0===r.state?r.reactions.add(n):E(function(){G(n,r)}),n.promise}),e=function(){var e=new t,r=B(e);this.promise=e,this.resolve=J(Q,r),this.reject=J(Z,r)},x.f=z=function(t){return t===R||t===r?new e(t):H(t)},!i&&v(O)&&F!==Object.prototype)){n=F.then,P||l(F,"then",function(t,e){var r=this;return new R(function(t,e){c(n,r,t,e)}).then(t,e)},{unsafe:!0});try{delete F.constructor}catch(t){}f&&f(F,L)}o({global:!0,constructor:!0,wrap:!0,forced:N},{Promise:R}),r=s.Promise,d(R,T,!1,!0),p(T)}(),function(){if(Qk)return tP;Qk=1;var t=ND(),e=XE(),r=nS(),n=Xk(),o=Vk(),i=Ox();t({target:"Promise",stat:!0,forced:eP()},{all:function(t){var u=this,a=n.f(u),s=a.resolve,c=a.reject,l=o(function(){var n=r(u.resolve),o=[],a=0,l=1;i(t,function(t){var r=a++,i=!1;l++,e(n,u,t).then(function(t){i||(i=!0,o[r]=t,--l||s(o))},c)}),--l||s(o)});return l.error&&c(l.value),a.promise}})}(),function(){if(rP)return cP;rP=1;var t=ND(),e=kS(),r=Wk().CONSTRUCTOR,n=Gk(),o=Yw(),i=qw(),u=DC(),a=n&&n.prototype;if(t({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(t){return this.then(void 0,t)}}),!e&&i(n)){var s=o("Promise").prototype.catch;a.catch!==s&&u(a,"catch",s,{unsafe:!0})}}(),function(){if(nP)return lP;nP=1;var t=ND(),e=XE(),r=nS(),n=Xk(),o=Vk(),i=Ox();t({target:"Promise",stat:!0,forced:eP()},{race:function(t){var u=this,a=n.f(u),s=a.reject,c=o(function(){var n=r(u.resolve);i(t,function(t){e(n,u,t).then(a.resolve,s)})});return c.error&&s(c.value),a.promise}})}(),function(){if(oP)return fP;oP=1;var t=ND(),e=Xk();t({target:"Promise",stat:!0,forced:Wk().CONSTRUCTOR},{reject:function(t){var r=e.f(this);return(0,r.reject)(t),r.promise}})}(),function(){if(aP)return dP;aP=1;var t=ND(),e=Yw(),r=kS(),n=Gk(),o=Wk().CONSTRUCTOR,i=function(){if(uP)return iP;uP=1;var t=ZS(),e=Kw(),r=Xk();return iP=function(n,o){if(t(n),e(o)&&o.constructor===n)return o;var i=r.f(n);return(0,i.resolve)(o),i.promise}}(),u=e("Promise"),a=r&&!o;t({target:"Promise",stat:!0,forced:r||o},{resolve:function(t){return i(a&&this===u?n:this,t)}})}());var pP,hP,vP,gP,yP,mP={};function bP(){if(gP)return vP;gP=1;var t=XE(),e=RS(),r=Xw(),n=function(){if(hP)return pP;hP=1;var t=_E(),e=qE(),r=t.RegExp,n=!e(function(){var t=!0;try{r(".","d")}catch(e){t=!1}var e={},n="",o=t?"dgimsy":"gimsy",i=function(t,r){Object.defineProperty(e,t,{get:function(){return n+=r,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(e)!==o||n!==o});return pP={correct:n}}(),o=yN(),i=RegExp.prototype;return vP=n.correct?function(t){return t.flags}:function(u){return n.correct||!r(i,u)||e(u,"flags")?u.flags:t(o,u)}}!function(){if(yP)return mP;yP=1;var t=yC().PROPER,e=DC(),r=ZS(),n=BA(),o=qE(),i=bP(),u="toString",a=RegExp.prototype,s=a[u],c=o(function(){return"/a/b"!==s.call({source:"a",flags:"b"})}),l=t&&s.name!==u;(c||l)&&e(a,u,function(){var t=r(this);return"/"+n(t.source)+"/"+n(i(t))},{unsafe:!0})}();var EP,wP,SP,CP={};function DP(t){Promise.resolve().then(t)}!function(){if(SP)return CP;SP=1;var t=Mk(),e=XE(),r=Hw(),n=RN(),o=qE(),i=ZS(),u=qw(),a=Kw(),s=UC(),c=GC(),l=BA(),f=Gw(),d=_N(),p=oS(),h=function(){if(wP)return EP;wP=1;var t=Hw(),e=FS(),r=Math.floor,n=t("".charAt),o=t("".replace),i=t("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return EP=function(t,s,c,l,f,d){var p=c+t.length,h=l.length,v=a;return void 0!==f&&(f=e(f),v=u),o(d,v,function(e,o){var u;switch(n(o,0)){case"$":return"$";case"&":return t;case"`":return i(s,0,c);case"'":return i(s,p);case"<":u=f[i(o,1,-1)];break;default:var a=+o;if(0===a)return e;if(a>h){var d=r(a/10);return 0===d?e:d<=h?void 0===l[d-1]?n(o,1):l[d-1]+n(o,1):e}u=l[a-1]}return void 0===u?"":u})},EP}(),v=bP(),g=jN(),y=_S()("replace"),m=Math.max,b=Math.min,E=r([].concat),w=r([].push),S=r("".indexOf),C=r("".slice),D=function(t){return void 0===t?t:String(t)},O="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");n("replace",function(r,n,o){var O=A?"$":"$0";return[function(t,r){var o=f(this),i=a(t)?p(t,y):void 0;return i?e(i,t,o,r):e(n,l(o),t,r)},function(e,r){var a=i(this),f=l(e);if("string"==typeof r&&-1===S(r,O)&&-1===S(r,"$<")){var p=o(n,a,f,r);if(p.done)return p.value}var y=u(r);y||(r=l(r));var A,x=l(v(a)),T=-1!==S(x,"g");T&&(A=-1!==S(x,"u"),a.lastIndex=0);for(var N,k=[];null!==(N=g(a,f))&&(w(k,N),T);)""===l(N[0])&&(a.lastIndex=d(f,c(a.lastIndex),A));for(var P="",B=0,I=0;I<k.length;I++){for(var F,R=l((N=k[I])[0]),L=m(b(s(N.index),f.length),0),_=[],j=1;j<N.length;j++)w(_,D(N[j]));var M=N.groups;if(y){var z=E([R],_,L,f);void 0!==M&&w(z,M),F=l(t(r,void 0,z))}else F=h(R,f,L,_,M,r);L>=B&&(P+=C(f,B,L)+F,B=L+R.length)}return P+C(f,B)}]},!!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!O||A)}();var OP,AP=function(t){return Object.prototype.toString.call(t)};Eg&&(og.fn.css=Eg),Ag&&(og.fn.append=Ag),ig&&(og.fn.addClass=ig),ug&&(og.fn.removeClass=ug),ag&&(og.fn.hasClass=ag),pg&&(og.fn.on=pg),_g&&(og.fn.focus=_g),sg&&(og.fn.attr=sg),cg&&(og.fn.removeAttr=cg),mg&&(og.fn.hide=mg),bg&&(og.fn.show=bg),yg&&(og.fn.offset=yg),vg&&(og.fn.width=vg),gg&&(og.fn.height=gg),Tg&&(og.fn.parent=Tg),Ng&&(og.fn.parents=Ng),Og&&(og.fn.is=Og),fg&&(og.fn.dataset=fg),dg&&(og.fn.val=dg),Dg&&(og.fn.text=Dg),Cg&&(og.fn.html=Cg),Pg&&(og.fn.children=Pg),Bg&&(og.fn.remove=Bg),kg&&(og.fn.find=kg),wg&&(og.fn.each=wg),Ig&&(og.fn.empty=Ig),function(t){t[t.ELEMENT_NODE=1]="ELEMENT_NODE",t[t.TEXT_NODE=3]="TEXT_NODE",t[t.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",t[t.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",t[t.COMMENT_NODE=8]="COMMENT_NODE",t[t.DOCUMENT_NODE=9]="DOCUMENT_NODE",t[t.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",t[t.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE"}(OP||(OP={}));var xP=/\[object HTML([A-Z][a-z]*)*Element\]/,TP=function(t){return xP.test(AP(t))},NP=function(t){return null!=t&&"number"==typeof t.nodeType},kP=function(t){return NP(t)&&t.nodeType===OP.COMMENT_NODE},PP=function(t){return NP(t)&&t.nodeType===OP.ELEMENT_NODE},BP=function(t){return"[object Selection]"===AP(t)},IP=function(t){return NP(t)&&t.nodeType===OP.TEXT_NODE},FP=function(t){var e,r,n;return null!==(e=window&&window.document.getElementById(t))&&void 0!==e?e:window&&(null===(n=null===(r=window.document.activeElement)||void 0===r?void 0:r.shadowRoot)||void 0===n?void 0:n.getElementById(t))||null},RP=function(t,e,r){for(var n=t.childNodes,o=n[e],i=e,u=!1,a=!1;(kP(o)||PP(o)&&0===o.childNodes.length||PP(o)&&"false"===o.getAttribute("contenteditable"))&&(!u||!a);)i>=n.length?(u=!0,i=e-1,r="backward"):i<0?(a=!0,i=e+1,r="forward"):(o=n[i],e=i,i+="forward"===r?1:-1);return[o,e]},LP=function(t,e,r){return xO(RP(t,e,r),1)[0]},_P=function(t){var e,r,n="";if(IP(t)&&t.nodeValue)return t.nodeValue;if(PP(t)){try{for(var o=AO(Array.from(t.childNodes)),i=o.next();!i.done;i=o.next()){var u=i.value;n+=_P(u)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}var a=getComputedStyle(t).getPropertyValue("display");"block"!==a&&"list"!==a&&"table-row"!==a&&"BR"!==t.tagName||(n+="\n")}return n};function jP(t,e){if(!TP(t)||"true"!==t.dataset.slateVoid)for(var r=t.childNodes,n=r.length;n-=1;){var o=r[n],i=o.nodeType;IP(o)?e(o,t):[OP.ELEMENT_NODE,OP.DOCUMENT_NODE,OP.DOCUMENT_FRAGMENT_NODE].includes(i)&&jP(o,e)}}function MP(t){if(0===t.length)return"";var e=t[0];return e.nodeType!==OP.ELEMENT_NODE?"":e.tagName.toLowerCase()}var zP,HP,$P,UP={};!function(){if($P)return UP;$P=1;var t=KE(),e=_E(),r=Hw(),n=TD(),o=Tx(),i=tC(),u=vA(),a=XC().f,s=Xw(),c=TT(),l=BA(),f=bP(),d=mN(),p=function(){if(HP)return zP;HP=1;var t=QS().f;return zP=function(e,r,n){n in e||t(e,n,{configurable:!0,get:function(){return r[n]},set:function(t){r[n]=t}})}}(),h=DC(),v=qE(),g=RS(),y=SC().enforce,m=nN(),b=_S(),E=bN(),w=EN(),S=b("match"),C=e.RegExp,D=C.prototype,O=e.SyntaxError,A=r(D.exec),x=r("".charAt),T=r("".replace),N=r("".indexOf),k=r("".slice),P=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,B=/a/g,I=/a/g,F=new C(B)!==B,R=d.MISSED_STICKY,L=d.UNSUPPORTED_Y;if(n("RegExp",t&&(!F||R||E||w||v(function(){return I[S]=!1,C(B)!==B||C(I)===I||"/a/i"!==String(C(B,"i"))})))){for(var _=function(t,e){var r,n,a,d,p,h,v=s(D,this),m=c(t),b=void 0===e,S=[],I=t;if(!v&&m&&b&&t.constructor===_)return t;if((m||s(D,t))&&(t=t.source,b&&(e=f(I))),t=void 0===t?"":l(t),e=void 0===e?"":l(e),I=t,E&&"dotAll"in B&&(n=!!e&&N(e,"s")>-1)&&(e=T(e,/s/g,"")),r=e,R&&"sticky"in B&&(a=!!e&&N(e,"y")>-1)&&L&&(e=T(e,/y/g,"")),w&&(d=function(t){for(var e,r=t.length,n=0,o="",i=[],a=u(null),s=!1,c=!1,l=0,f="";n<=r;n++){if("\\"===(e=x(t,n)))e+=x(t,++n);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:if(o+=e,"?:"===k(t,n+1,n+3))continue;A(P,k(t,n+1))&&(n+=2,c=!0),l++;continue;case">"===e&&c:if(""===f||g(a,f))throw new O("Invalid capture group name");a[f]=!0,i[i.length]=[f,l],c=!1,f="";continue}c?f+=e:o+=e}return[o,i]}(t),t=d[0],S=d[1]),p=o(C(t,e),v?this:D,_),(n||a||S.length)&&(h=y(p),n&&(h.dotAll=!0,h.raw=_(function(t){for(var e,r=t.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(e=x(t,n))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+x(t,++n);return o}(t),r)),a&&(h.sticky=!0),S.length&&(h.groups=S)),t!==I)try{i(p,"source",""===I?"(?:)":I)}catch(t){}return p},j=a(C),M=0;j.length>M;)p(_,C,j[M++]);D.constructor=_,_.prototype=D,h(e,"RegExp",_,{constructor:!0})}m("RegExp")}();var VP=new RegExp(String.fromCharCode(160),"g");function GP(t){return t.replace(VP," ")}var WP=["span","b","strong","i","em","s","strike","u","font","sub","sup"],qP=[];var KP=[];var YP={};function XP(t,e){var r=t.length;if(r){var n=t[r-1];if(wv.isText(n)){var o=Object.keys(n);if(1===o.length&&"text"===o[0])return n.text+=e,!0}}return!1}function JP(t,e,r){return{type:"paragraph",children:[{text:og(t).text().replace(/\s+/gm," ")}]}}function ZP(t,e){var r=function(t,e){var r=[];if(null!=t.attr("data-w-e-is-void"))return r;var n=t[0].childNodes;return 1===n.length&&"BR"===n[0].nodeName?(r.push({text:""}),r):(n.forEach(function(t){if(PP(t)){if("BR"===t.nodeName)return void(XP(r,"\n")||r.push({text:"\n"}));var n=tB(og(t),e);Array.isArray(n)?n.forEach(function(t){return r.push(t)}):r.push(n)}else if(IP(t)){var o=t.textContent||"";if(""===o.trim()&&o.indexOf("\n")>=0)return;o&&(o=GP(o),XP(r,o)||r.push({text:o}))}}),r)}(t,e),n=function(t){for(var e in YP)if(t[0].matches(e))return YP[e];return JP}(t),o=n(t[0],r,e);return Array.isArray(o)||(o=[o]),o.forEach(function(n){Kh.isVoid(e,n)||(0===r.length&&(n.children=[{text:t.text().replace(/\s+/gm," ")}]),KP.forEach(function(r){n=r(t[0],n,e)}))}),o}function QP(t,e){0===t.parents("pre").length&&(t[0].innerHTML=t[0].innerHTML.replace(/\s+/gm," ").replace(/<br>/g,"\n"));var r=t[0].textContent||"";r=function(t){return t.replace(/ /g," ").replace(/</g,"<").replace(/>/g,">").replace(/®/g,"®").replace(/©/g,"©").replace(/™/g,"™").replace(/"/g,'"')}(r);var n={text:r=GP(r)};return KP.forEach(function(r){n=r(t[0],n,e)}),n}function tB(t,e){qP.forEach(function(e){var r=e.selector,n=e.preParseHtml;t[0].matches(r)&&(t=og(n(t[0])))});var r=MP(t);if("span"===r){if(t.attr("data-w-e-type"))return ZP(t,e);if(t[0].childNodes.length>1){var n=t[0].childNodes,o=function(t,e){var r={text:""};return KP.forEach(function(n){r=n(t[0],r,e)}),r}(og(t[0]),e),i=o;i.bold,i.italic,i.underline,i.through,i.sub,i.sup,i.code;var u=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}(i,["bold","italic","underline","through","sub","sup","code"]);return Array.from(n).flatMap(function(t){var r=function(t,e,r){var n=t[0];if(PP(n)){var o=tB(t,r);return Array.isArray(o)?o.map(function(t){return OO(OO({},e),t)}):[OO(OO({},e),o)]}if(kP(n))return null;var i=IP(n)?{text:n.textContent||""}:QP(t,r);return[OO(OO({},e),i)]}(og(t),u,e);return r||[]})}return 1===t[0].childNodes.length&&"span"===MP(og(t[0].childNodes[0]))?tB(og(t[0].childNodes[0]),e):QP(t,e)}return"code"===r?"pre"===MP(t.parent())?ZP(t,e):QP(t,e):WP.includes(r)?t[0].childNodes.length>0&&3!==t[0].childNodes[0].nodeType?(n=t[0].childNodes,OO(OO({},tB(og(n[0]),e)),QP(t,e))):QP(t,e):ZP(t,e)}function eB(t,e,r){var n=og(r);return!!n.attr(e)||(n.attr(e,"true"),t.on(kO,function(){n.removeAttr(e)}),!1)}function rB(t,e){void 0===e&&(e="");var r=[];""===e&&(e="<p><br></p>"),0!==e.indexOf("<")&&(e=e.split(/\n/).map(function(t){return"<p>".concat(t,"</p>")}).join(""));var n=og("<div>".concat(e,"</div>"));return Array.from(n.children()).forEach(function(e){var n=tB(og(e),t);Array.isArray(n)?n.forEach(function(t){return r.push(t)}):r.push(n)}),r}function nB(t,e){return"w-e-element-".concat(t,"-").concat(e)}var oB=[];var iB={};function uB(t,e,r){var n=r.isInline(t)?"span":"div";return"<".concat(n,">").concat(e,"</").concat(n,">")}var aB,sB,cB,lB={};!function(){if(cB)return lB;cB=1;var t=ND(),e=XE(),r=Kw(),n=ZS(),o=function(){if(sB)return aB;sB=1;var t=RS();return aB=function(e){return void 0!==e&&(t(e,"value")||t(e,"writable"))}}(),i=$S(),u=mA();t({target:"Reflect",stat:!0},{get:function t(a,s){var c,l,f=arguments.length<3?a:arguments[2];return n(a)===f?a[s]:(c=i.f(a,s))?o(c)?c.value:void 0===c.get?void 0:e(c.get,f):r(l=u(a))?t(l,s,f):void 0}})}();var fB,dB={};!function(){if(fB)return dB;fB=1;var t,e=ND(),r=fO(),n=$S().f,o=GC(),i=BA(),u=NT(),a=Gw(),s=kT(),c=kS(),l=r("".slice),f=Math.min,d=s("endsWith");e({target:"String",proto:!0,forced:!(!c&&!d&&(t=n(String.prototype,"endsWith"),t&&!t.writable)||d)},{endsWith:function(t){var e=i(a(this));u(t);var r=arguments.length>1?arguments[1]:void 0,n=e.length,s=void 0===r?n:f(o(r),n),c=i(t);return l(e,s-c.length,s)===c}})}();var pB=0,hB=function(){this.id="".concat(pB++)},vB="undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),gB="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),yB="undefined"!=typeof navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent),mB="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),bB="undefined"!=typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),EB="undefined"!=typeof navigator&&/Chrome/i.test(navigator.userAgent),wB=!bB&&!mB&&"undefined"!=typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges,SB={getWindow:function(t){var e=eT.get(t);if(!e)throw new Error("Unable to find a host window element for this editor");return e},findKey:function(t,e){var r=tT.get(e);return r||(r=new hB,tT.set(e,r)),r},setNewKey:function(t){var e=new hB;tT.set(t,e)},findPath:function(t,e){for(var r=[],n=e;;){var o=Yx.get(n);if(null==o){if(Kh.isEditor(n))return r;break}var i=Kx.get(n);if(null==i)break;r.unshift(i),n=o}throw new Error("Unable to find the path for Slate node: ".concat(JSON.stringify(e)))},findDocumentOrShadowRoot:function(t){if(t.isDestroyed)return window.document;var e=SB.toDOMNode(t,t),r=e.getRootNode();return(function(t){return"[object HTMLDocument]"===AP(t)}(r)||function(t){return"[object ShadowRoot]"===AP(t)}(r))&&null!=Reflect.get(r,"getSelection")?r:e.ownerDocument},getParentNode:function(t,e){return Yx.get(e)||null},getParentsNodes:function(t,e){for(var r=[],n=e;n!==t&&null!=n;){var o=SB.getParentNode(t,n);if(null==o)break;r.push(o),n=o}return r},getTopNode:function(t,e){var r=[SB.findPath(t,e)[0]];return tv.get(t,r)},toDOMNode:function(t,e){var r;if(Kh.isEditor(e))r=Xx.get(t);else{var n=SB.findKey(t,e);r=Zx.get(n)}if(!r)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(JSON.stringify(e)));return r},hasDOMNode:function(t,e,r){void 0===r&&(r={});var n,o=r.editable,i=void 0!==o&&o,u=SB.toDOMNode(t,t);try{n=PP(e)?e:e.parentElement}catch(t){if(t instanceof Error&&!t.message.includes('Permission denied to access property "nodeType"'))throw t}return!!n&&(n.closest("[data-slate-editor]")===u&&(!i||n.isContentEditable||!!n.getAttribute("data-slate-zero-width"))||!!n.getAttribute("data-slate-string"))},toDOMRange:function(t,e){var r=e.anchor,n=e.focus,o=dv.isBackward(e),i=SB.toDOMPoint(t,r),u=dv.isCollapsed(e)?i:SB.toDOMPoint(t,n),a=SB.getWindow(t).document.createRange(),s=xO(o?u:i,2),c=s[0],l=s[1],f=xO(o?i:u,2),d=f[0],p=f[1],h=!!(PP(c)?c:c.parentElement).getAttribute("data-slate-zero-width"),v=!!(PP(d)?d:d.parentElement).getAttribute("data-slate-zero-width");return a.setStart(c,h?1:l),a.setEnd(d,v?1:p),a},toDOMPoint:function(t,e){var r,n,o,i=xO(Kh.node(t,e.path),1)[0],u=SB.toDOMNode(t,i);Kh.void(t,{at:e})&&(e={path:e.path,offset:0});var a=Array.from(u.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),s=0;try{for(var c=AO(a),l=c.next();!l.done;l=c.next()){var f=l.value,d=f.childNodes[0];if(null!=d&&null!=d.textContent){var p=d.textContent.length,h=f.getAttribute("data-slate-length"),v=s+(null==h?p:parseInt(h,10));if(e.offset<=v){o=[d,Math.min(p,Math.max(0,e.offset-s))];break}s=v}}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}if(!o)throw new Error("Cannot resolve a DOM point from Slate point: ".concat(JSON.stringify(e)));return o},toSlateNode:function(t,e){var r=PP(e)?e:e.parentElement;r&&!r.hasAttribute("data-slate-node")&&(r=r.closest("[data-slate-node]"));var n=r?Jx.get(r):null;if(!n)throw new Error("Cannot resolve a Slate node from DOM node: ".concat(r));return n},findEventRange:function(t,e){"nativeEvent"in e&&(e=e.nativeEvent);var r=e.clientX,n=e.clientY,o=e.target;if(null==r||null==n)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(e));var i,u=SB.toSlateNode(t,e.target),a=SB.findPath(t,u);if(Kh.isVoid(t,u)){var s=o.getBoundingClientRect(),c=t.isInline(u)?r-s.left<s.left+s.width-r:n-s.top<s.top+s.height-n,l=Kh.point(t,a,{edge:c?"start":"end"}),f=c?Kh.before(t,l):Kh.after(t,l);if(f)return Kh.range(t,f)}var d=this.getWindow(t).document;if(d.caretRangeFromPoint)i=d.caretRangeFromPoint(r,n);else{var p=d.caretPositionFromPoint(r,n);p&&((i=d.createRange()).setStart(p.offsetNode,p.offset),i.setEnd(p.offsetNode,p.offset))}if(!i)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(e));return SB.toSlateRange(t,i,{exactMatch:!1,suppressThrow:!1})},toSlateRange:function(t,e,r){var n,o,i,u,a,s=r.exactMatch,c=r.suppressThrow;if((BP(e)?e.anchorNode:e.startContainer)&&(BP(e)?(n=e.anchorNode,o=e.anchorOffset,i=e.focusNode,u=e.focusOffset,a=EB&&window.document.activeElement&&window.document.activeElement.shadowRoot?e.anchorNode===e.focusNode&&e.anchorOffset===e.focusOffset:e.isCollapsed):(n=e.startContainer,o=e.startOffset,i=e.endContainer,u=e.endOffset,a=e.collapsed)),null==n||null==i||null==o||null==u)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(e));var l=SB.toSlatePoint(t,[n,o],{exactMatch:s,suppressThrow:c});if(!l)return null;var f=a?l:SB.toSlatePoint(t,[i,u],{exactMatch:s,suppressThrow:c});if(!f)return null;var d={anchor:l,focus:f};return dv.isExpanded(d)&&dv.isForward(d)&&PP(i)&&Kh.void(t,{at:d.focus,mode:"highest"})&&(d=Kh.unhangRange(t,d,{voids:!0})),d},toSlatePoint:function(t,e,r){var n,o=r.exactMatch,i=r.suppressThrow,u=xO(o?e:function(t){var e,r=xO(t,2),n=r[0],o=r[1];if(PP(n)&&n.childNodes.length){var i=o===n.childNodes.length,u=i?o-1:o;for(n=(e=xO(RP(n,u,i?"backward":"forward"),2))[0],i=(u=e[1])<o;PP(n)&&n.childNodes.length;){var a=i?n.childNodes.length-1:0;n=LP(n,a,i?"backward":"forward")}o=i&&null!=n.textContent?n.textContent.length:0}return[n,o]}(e),2),a=u[0],s=u[1],c=a.parentNode,l=null,f=0;if(c){var d=c.closest('[data-slate-void="true"]'),p=c.closest("[data-slate-leaf]"),h=null,v=SB.getWindow(t);if(p&&v.document.createRange){l=p.closest('[data-slate-node="text"]');var g=v.document.createRange();g.setStart(l,0),g.setEnd(a,s);var y=g.cloneContents();TO(TO([],xO(Vg(y.querySelectorAll("[data-slate-zero-width]"))),!1),xO(Vg(y.querySelectorAll("[contenteditable=false]"))),!1).forEach(function(t){t.parentNode.removeChild(t)}),f=y.textContent.length,h=l}else d&&((p=d.querySelector("[data-slate-leaf]"))?(l=p.closest('[data-slate-node="text"]'),f=(h=p).textContent.length,h.querySelectorAll("[data-slate-zero-width]").forEach(function(t){f-=t.textContent.length})):f=1);h&&f===h.textContent.length&&(c.hasAttribute("data-slate-zero-width")||gB&&(null===(n=h.textContent)||void 0===n?void 0:n.endsWith("\n")))&&(f-=1)}if(!l){if(i)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(e))}var m=SB.toSlateNode(t,l);return{path:SB.findPath(t,m),offset:f}},hasRange:function(t,e){var r=e.anchor,n=e.focus;return Kh.hasPath(t,r.path)&&Kh.hasPath(t,n.path)},getNodeType:function(t){return $h.isElement(t)?t.type:""},checkNodeType:function(t,e){return this.getNodeType(t)===e},getNodesStr:function(t){return t.map(function(t){return tv.string(t)}).join("")},getSelectedElems:function(t){var e,r,n=[],o=Kh.nodes(t,{universal:!0});try{for(var i=AO(o),u=i.next();!u.done;u=i.next()){var a=xO(u.value,1)[0];$h.isElement(a)&&n.push(a)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n},getSelectedNodeByType:function(t,e){var r=this,n=xO(Kh.nodes(t,{match:function(t){return r.checkNodeType(t,e)},universal:!0}),1),o=n[0];return null==o?null:o[0]},getSelectedTextNode:function(t){var e=xO(Kh.nodes(t,{match:function(t){return wv.isText(t)},universal:!0}),1),r=e[0];return null==r?null:r[0]},isNodeSelected:function(t,e){var r=xO(Kh.nodes(t,{match:function(t){return t===e},universal:!0}),1),n=r[0];return null!=n&&xO(n,1)[0]===e},isSelectionAtLineEnd:function(t,e){var r=t.selection;return!!r&&(Kh.isEnd(t,r.anchor,e)||Kh.isEnd(t,r.focus,e))},getTextarea:function(t){var e=Ix.get(t);if(null==e)throw new Error("Cannot find textarea instance by editor");return e},getToolbar:function(t){return Lx.get(t)||null},getHoverbar:function(t){return jx.get(t)||null},normalizeContent:function(t){t.children.forEach(function(e,r){t.normalizeNode([e,[r]])})},getLeftLengthOfMaxLength:function(t){var e=t.getConfig(),r=e.maxLength,n=e.onMaxLength;if("number"!=typeof r||r<=0)return 1/0;var o=r-t.getText().replace(/\r|\n|(\r\n)|(\n\r)/g,"").length;return o<=0&&n&&n(t),o},cleanExposedTexNodeInSelectionBlock:function(t){var e,r,n,o,i=SB.getTextarea(t).$textArea,u=null==i?void 0:i[0].childNodes;if(u)try{for(var a=AO(Array.from(u)),s=a.next();!s.done;s=a.next()){var c=s.value;if(!IP(c))break;c.remove()}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}var l=Kh.nodes(t,{match:function(e){return!(!$h.isElement(e)||t.isInline(e))},universal:!0});try{for(var f=AO(l),d=f.next();!d.done;d=f.next()){var p=d.value;if(null!=p){var h=p[0];jP(SB.toDOMNode(t,h),function(t,e){var r=og(e);r.attr("data-slate-string")||r.attr("data-slate-zero-width")||r.attr("data-w-e-reserve")||e.removeChild(t)})}}}catch(t){n={error:t}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}},isLastNode:function(t,e){var r=t.children||[];return r[r.length-1]===e},genEmptyParagraph:function(){return{type:"paragraph",children:[{text:""}]}},isSelectedVoidNode:function(t){var e,r,n=Kh.nodes(t,{match:function(e){return t.isVoid(e)}}),o=0;try{for(var i=AO(n),u=i.next();!u.done;u=i.next())u.value&&(o+=1)}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return o>0},isSelectedEmptyParagraph:function(t){var e=t.selection;if(null==e)return!1;if(dv.isExpanded(e))return!1;var r=SB.getSelectedNodeByType(t,"paragraph");if(null===r)return!1;var n=r.children;return 1===n.length&&(""===n[0].text||void 0)},isEmptyPath:function(t,e){var r=Kh.node(t,e);if(null==r)return!1;var n=xO(r,1)[0].children;return 1===n.length&&""===n[0].text}};function CB(t,e){return $h.isElement(t)?function(t,e){var r=t.type,n=void 0===r?"":r,o=t.children,i=void 0===o?[]:o,u=Kh.isVoid(e,t),a="";u||(a=i.map(function(t){return CB(t,e)}).join(""));var s=function(t){return iB[t]||uB}(n),c=s(t,a,e),l="";if(l="string"==typeof c?c:c.html||"",u||oB.forEach(function(e){return l=e(t,l)}),"string"==typeof c)return l;var f=c.prefix,d=void 0===f?"":f,p=c.suffix,h=void 0===p?"":p;return d&&(l=d+l),h&&(l+=h),l}(t,e):function(t,e){var r=t.text;if(null==r)throw new Error("Current node is not slate Text ".concat(JSON.stringify(t)));var n=r;n=function(t){return t.replace(/ {2}/g," ").replace(/</g,"<").replace(/>/g,">").replace(/®/g,"®").replace(/©/g,"©").replace(/™/g,"™")}(n);var o=SB.getParentsNodes(e,t).some(function(t){return"pre"===SB.getNodeType(t)});if(o||(n=n.replace(/\n\r|\r\n|\r|\n/g,"<br>")),o&&(n=n.replace(/ /g," ")),""===n){var i=SB.getParentNode(null,t);if(!i||0!==i.children.length)return n;n="<br>"}return oB.forEach(function(e){return n=e(t,n)}),n}(t,e)}var DB=function(t,e){var r=(e.top+e.bottom)/2;return t.top<=r&&t.bottom>=r},OB=function(t,e,r){var n=SB.toDOMRange(t,e).getBoundingClientRect(),o=SB.toDOMRange(t,r).getBoundingClientRect();return DB(n,o)&&DB(o,n)},AB=function(t,e){var r,n,o=[];try{for(var i=AO(Kh.levels(t,{at:e})),u=i.next();!u.done;u=i.next()){var a=xO(u.value,2),s=a[0],c=a[1],l=SB.findKey(t,s);o.push([c,l])}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return o};function xB(t,e){t.isInline(e)?(t.insertNode(e),"link"===e.type&&t.insertFragment([{text:""}])):zv.insertNodes(t,e,{mode:"highest"})}var TB,NB,kB,PB,BB,IB,FB,RB,LB,_B,jB,MB,zB,HB,$B,UB,VB,GB,WB,qB,KB,YB,XB,JB,ZB,QB,tI,eI,rI,nI,oI,iI,uI,aI,sI,cI,lI,fI,dI,pI,hI=function(t){var e=t,r=e.onChange,n=e.insertText,o=e.apply,i=e.deleteBackward;return e.insertText=function(t){e.getConfig().readOnly||n(t)},e.apply=function(t){var r,n,i,u,a,s,c,l,f=[];switch(t.type){case"insert_text":case"remove_text":case"set_node":case"split_node":f.push.apply(f,TO([],xO(AB(e,t.path)),!1));break;case"insert_node":case"remove_node":f.push.apply(f,TO([],xO(AB(e,ov.parent(t.path))),!1));break;case"merge_node":var d=ov.previous(t.path);f.push.apply(f,TO([],xO(AB(e,d)),!1));break;case"move_node":var p=ov.common(ov.parent(t.path),ov.parent(t.newPath));f.push.apply(f,TO([],xO(AB(e,p)),!1));break;case"set_selection":(null===(u=null===(i=t.newProperties)||void 0===i?void 0:i.focus)||void 0===u?void 0:u.path)&&(f.push.apply(f,TO([],xO(AB(e,null===(s=null===(a=t.newProperties)||void 0===a?void 0:a.focus)||void 0===s?void 0:s.path)),!1)),f.push.apply(f,TO([],xO(AB(e,null===(l=null===(c=t.properties)||void 0===c?void 0:c.focus)||void 0===l?void 0:l.path)),!1)))}o(t);try{for(var h=AO(f),v=h.next();!v.done;v=h.next()){var g=xO(v.value,2),y=g[0],m=g[1],b=xO(Kh.node(e,y),1)[0];tT.set(b,m),"type"in b&&(Wx.has(b)&&Wx.delete(b),qx.has(b)&&qx.delete(b))}}catch(t){r={error:t}}finally{try{v&&!v.done&&(n=h.return)&&n.call(h)}finally{if(r)throw r.error}}},e.deleteBackward=function(r){if("line"!==r)return i(r);if(t.selection&&dv.isCollapsed(t.selection)){var n=Kh.above(t,{match:function(e){return Kh.isBlock(t,e)},at:t.selection});if(n){var o=xO(n,2)[1],u=Kh.range(t,o,t.selection.anchor),a=function(t,e){var r=Kh.range(t,dv.end(e)),n=Array.from(Kh.positions(t,{at:e})),o=0,i=n.length,u=Math.floor(i/2);if(OB(t,Kh.range(t,n[o]),r))return Kh.range(t,n[o],r);if(n.length<2)return Kh.range(t,n[n.length-1],r);for(;u!==n.length&&u!==o;)OB(t,Kh.range(t,n[u]),r)?i=u:o=u,u=Math.floor((o+i)/2);return Kh.range(t,n[i],r)}(e,u);dv.isCollapsed(a)||zv.delete(t,{at:a})}}},e.onChange=function(){var t=e.selection;null!=t&&nT.set(e,t),e.emit("change"),r()},e.handleTab=function(){e.insertText(" ")},e.getHtml=function(){var t=e.children,r=void 0===t?[]:t,n=e.getConfig().skipCacheTypes,o=void 0===n?["list-item"]:n;return r.map(function(t){var r=SB.getNodeType(t);if(o.includes(r))return CB(t,e);var n=qx.get(t);if(n)return n;var i=CB(t,e);return qx.set(t,i),i}).join("")},e.getText=function(){var t=e.children;return(void 0===t?[]:t).map(function(t){return tv.string(t)}).join("\n")},e.getSelectionText=function(){var r=e.selection;return null==r?"":Kh.string(t,r)},e.getElemsByType=function(t,r){var n,o;void 0===r&&(r=!1);var i=[],u=Kh.nodes(e,{at:[],universal:!0});try{for(var a=AO(u),s=a.next();!s.done;s=a.next()){var c=xO(s.value,1)[0];if($h.isElement(c)&&(r?c.type.indexOf(t)>=0:c.type===t)){var l=SB.findKey(e,c),f=nB(c.type,l.id);i.push(OO(OO({},c),{id:f}))}}}catch(t){n={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return i},e.getElemsByTypePrefix=function(t){return e.getElemsByType(t,!0)},e.isEmpty=function(){var t=e.children,r=void 0===t?[]:t;if(r.length>1)return!1;var n=r[0];if(null==n)return!0;if(!$h.isElement(n)||"paragraph"!==n.type)return!1;var o=n.children,i=void 0===o?[]:o;if(i.length>1)return!1;var u=i[0];return null==u||wv.isText(u)&&""===u.text},e.clear=function(){zv.delete(e,{at:{anchor:Kh.start(e,[]),focus:Kh.end(e,[])}}),0===e.children.length&&zv.insertNodes(e,[{type:"paragraph",children:[{text:""}]}])},e.getParentNode=function(t){return SB.getParentNode(e,t)},e.dangerouslyInsertHtml=function(t,r){if(void 0===t&&(t=""),void 0===r&&(r=!1),t){var n=document.createElement("div");n.innerHTML=t;var o=Array.from(n.childNodes);if(o=o.filter(function(t){var e=t.nodeName;return!!IP(t)||!!PP(t)&&!vN.has(e.toLowerCase())}),0!==o.length){var i=e.selection;if(null!=i){var u=null;SB.isSelectedEmptyParagraph(e)&&!r&&(u=[i.focus.path[0]]),n.setAttribute("hidden","true"),document.body.appendChild(n);var a=0;o.forEach(function(t,r){var n=t.nodeName,i=t.textContent,u=void 0===i?"":i;if(IP(t)){if(!u||!u.trim())return;e.insertNode({text:u})}else if("BR"!==n){var s=t,c=!1;if(WP.includes(n.toLowerCase()))c=!0;else for(var l in YP)if(s.matches(l)){c=!0;break}if(c){var f=tB(og(s),e);return Array.isArray(f)?(f.forEach(function(t){return xB(e,t)}),a+=1):(xB(e,f),a+=1),void(SB.isSelectedVoidNode(e)&&e.move(1))}var d=window.getComputedStyle(s).display;if(!SB.isSelectedEmptyParagraph(e)&&d.indexOf("inline")<0){if(r>=1)(function(t){return"matches"in t&&/^[ou]l$/i.test(t.tagName)&&!t.hasAttribute("data-w-e-type")})(o[r-1])&&e.insertBreak();e.insertBreak()}e.dangerouslyInsertHtml(s.innerHTML,!0)}else e.insertText("\n")}),a&&u&&SB.isEmptyPath(e,u)&&zv.removeNodes(e,{at:u}),n.remove()}}}},e.setHtml=function(t){void 0===t&&(t="");var r=e.isDisabled(),n=e.isFocused(),o=JSON.stringify(e.selection);e.enable(),e.focus(),e.clear();var i=rB(e,null==t?"":t);if(zv.insertFragment(e,i),n||(e.deselect(),e.blur()),r&&(e.deselect(),e.disable()),e.isFocused())try{e.select(JSON.parse(o))}catch(t){e.select(Kh.start(e,[]))}},e},vI=1,gI=function(t){var e=t;return e.id="wangEditor-".concat(vI++),e.isDestroyed=!1,e.isFullScreen=!1,e.focus=function(t){if(SB.toDOMNode(e,e).focus({preventScroll:!0}),rT.set(e,!0),t){var r=Kh.end(e,[]);zv.select(e,r)}else{var n=nT.get(e);n?zv.select(e,n):zv.select(e,Kh.start(e,[]))}},e.isFocused=function(){return!!rT.get(e)},e.blur=function(){SB.toDOMNode(e,e).blur(),zv.deselect(e),rT.set(e,!1)},e.updateView=function(){SB.getTextarea(e).changeViewState();var t=SB.getToolbar(e);t&&t.changeToolbarState();var r=SB.getHoverbar(e);r&&r.changeHoverbarState()},e.destroy=function(){if(!e.isDestroyed){var t=SB.getTextarea(e);t.destroy(),Ix.delete(e),Fx.delete(t);var r=SB.getToolbar(e);r&&(r.destroy(),Lx.delete(e),Rx.delete(r));var n=SB.getHoverbar(e);n&&(n.destroy(),jx.delete(e),_x.delete(n)),e.isDestroyed=!0,e.emit("destroyed")}},e.scrollToElem=function(t){if(!e.getConfig().scroll){var r="编辑器禁用了 scroll ,编辑器内容无法滚动,请自行实现该功能";return r+="\nYou has disabled editor scroll, please do this yourself",void console.warn(r)}var n=og("#".concat(t));if(0!==n.length){var o=n[0];if(!SB.hasDOMNode(e,o))return r="Element (found by id is '".concat(t,"') is not in editor DOM"),r+="\n 通过 id '".concat(t,"' 找到的 element 不在 editor DOM 之内"),void console.error(r,o);var i=SB.getTextarea(e),u=i.$textAreaContainer,a=i.$scroll,s=n.offset().top,c=u.offset().top;a[0].scrollBy({top:s-c,behavior:"smooth"})}},e.showProgressBar=function(t){t<1||SB.getTextarea(e).changeProgress(t)},e.hidePanelOrModal=function(){var t=zx.get(e);null!=t&&t.forEach(function(t){return t.hide()})},e.enable=function(){e.getConfig().readOnly=!1,e.updateView()},e.disable=function(){e.getConfig().readOnly=!0,e.updateView()},e.isDisabled=function(){return e.getConfig().readOnly},e.toDOMNode=function(t){return SB.toDOMNode(e,t)},e.fullScreen=function(){if(!e.isFullScreen){var t=null,r=SB.getToolbar(e);r&&(t=r.$box);var n=SB.getTextarea(e).$box.parent();if(t&&t.parent()[0]!==n[0])throw new Error("Can not set full screen, cause toolbar DOM parent is not equal to textarea DOM parent\n不能设置全屏,因为 toolbar DOM 父节点和 textarea DOM 父节点不一致");n.addClass("w-e-full-screen-container");var o=n.css("z-index");n.attr("data-z-index",o.toString()),e.isFullScreen=!0,e.emit("fullScreen")}},e.unFullScreen=function(){if(e.isFullScreen){var t=SB.getTextarea(e).$box.parent();setTimeout(function(){t.removeClass("w-e-full-screen-container"),e.isFullScreen=!1,e.emit("unFullScreen")},200)}},e.getEditableContainer=function(){return SB.getTextarea(e).$textAreaContainer[0]},e},yI={exports:{}},mI={exports:{}};function bI(){return NB?TB:(NB=1,TB=function(t){return null!=t})}function EI(){if(_B)return LB;_B=1;var t=function(){if(RB)return FB;RB=1;var t=function(){if(IB)return BB;IB=1;var t=function(){if(PB)return kB;PB=1;var t=bI(),e={object:!0,function:!0,undefined:!0};return kB=function(r){return!!t(r)&&hasOwnProperty.call(e,typeof r)}}();return BB=function(e){if(!t(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(t){return!1}}}();return FB=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(t){return!1}return!t(e)}}(),e=/^\s*class[\s{/}]/,r=Function.prototype.toString;return LB=function(n){return!!t(n)&&!e.test(r.call(n))}}function wI(){if(GB)return VB;GB=1;var t=(UB?$B:(UB=1,$B=function(){}))();return VB=function(e){return e!==t&&null!==e},VB}function SI(){if(QB)return ZB;QB=1;var t=(YB||(YB=1,KB=(HB?zB:(HB=1,zB=function(){try{return Object.keys("primitive"),!0}catch(t){return!1}}))()?Object.keys:function(){if(qB)return WB;qB=1;var t=wI(),e=Object.keys;return WB=function(r){return e(t(r)?Object(r):r)}}()),KB),e=function(){if(JB)return XB;JB=1;var t=wI();return XB=function(e){if(!t(e))throw new TypeError("Cannot use null or undefined");return e}}(),r=Math.max;return ZB=function(n,o){var i,u,a,s=r(arguments.length,2);for(n=Object(e(n)),a=function(t){try{n[t]=o[t]}catch(t){i||(i=t)}},u=1;u<s;++u)t(o=arguments[u]).forEach(a);if(void 0!==i)throw i;return n},ZB}function CI(){if(lI)return mI.exports;lI=1;var t=bI(),e=EI(),r=eI?tI:(eI=1,tI=(MB||(MB=1,jB=function(){var t,e=Object.assign;return"function"==typeof e&&(e(t={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}),jB)()?Object.assign:SI()),n=function(){if(nI)return rI;nI=1;var t=wI(),e=Array.prototype.forEach,r=Object.create;return rI=function(n){var o=r(null);return e.call(arguments,function(e){t(e)&&function(t,e){var r;for(r in t)e[r]=t[r]}(Object(e),o)}),o},rI}(),o=(cI||(cI=1,sI=function(){if(iI)return oI;iI=1;var t="razdwatrzy";return oI=function(){return"function"==typeof t.contains&&!0===t.contains("dwa")&&!1===t.contains("foo")}}()()?String.prototype.contains:function(){if(aI)return uI;aI=1;var t=String.prototype.indexOf;return uI=function(e){return t.call(this,e,arguments[1])>-1},uI}()),sI),i=mI.exports=function(e,i){var u,a,s,c,l;return arguments.length<2||"string"!=typeof e?(c=i,i=e,e=null):c=arguments[2],t(e)?(u=o.call(e,"c"),a=o.call(e,"e"),s=o.call(e,"w")):(u=s=!0,a=!1),l={value:i,configurable:u,enumerable:a,writable:s},c?r(n(c),l):l};return i.gs=function(i,u,a){var s,c,l,f;return"string"!=typeof i?(l=a,a=u,u=i,i=null):l=arguments[3],t(u)?e(u)?t(a)?e(a)||(l=a,a=void 0):a=void 0:(l=u,u=a=void 0):u=void 0,t(i)?(s=o.call(i,"c"),c=o.call(i,"e")):(s=!0,c=!1),f={get:u,set:a,configurable:s,enumerable:c},l?r(n(l),f):f},mI.exports}var DI=(pI||(pI=1,function(t,e){var r,n,o,i,u,a,s,c=CI(),l=dI?fI:(dI=1,fI=function(t){if("function"!=typeof t)throw new TypeError(t+" is not a function");return t}),f=Function.prototype.apply,d=Function.prototype.call,p=Object.create,h=Object.defineProperty,v=Object.defineProperties,g=Object.prototype.hasOwnProperty,y={configurable:!0,enumerable:!1,writable:!0};n=function(t,e){var n,i;return l(e),i=this,r.call(this,t,n=function(){o.call(i,t,n),f.call(e,this,arguments)}),n.__eeOnceListener__=e,this},i=function(t){var e,r,n,o,i;if(g.call(this,"__ee__")&&(o=this.__ee__[t]))if("object"==typeof o){for(r=arguments.length,i=new Array(r-1),e=1;e<r;++e)i[e-1]=arguments[e];for(o=o.slice(),e=0;n=o[e];++e)f.call(n,this,i)}else switch(arguments.length){case 1:d.call(o,this);break;case 2:d.call(o,this,arguments[1]);break;case 3:d.call(o,this,arguments[1],arguments[2]);break;default:for(r=arguments.length,i=new Array(r-1),e=1;e<r;++e)i[e-1]=arguments[e];f.call(o,this,i)}},u={on:r=function(t,e){var r;return l(e),g.call(this,"__ee__")?r=this.__ee__:(r=y.value=p(null),h(this,"__ee__",y),y.value=null),r[t]?"object"==typeof r[t]?r[t].push(e):r[t]=[r[t],e]:r[t]=e,this},once:n,off:o=function(t,e){var r,n,o,i;if(l(e),!g.call(this,"__ee__"))return this;if(!(r=this.__ee__)[t])return this;if("object"==typeof(n=r[t]))for(i=0;o=n[i];++i)o!==e&&o.__eeOnceListener__!==e||(2===n.length?r[t]=n[i?0:1]:n.splice(i,1));else n!==e&&n.__eeOnceListener__!==e||delete r[t];return this},emit:i},a={on:c(r),once:c(n),off:c(o),emit:c(i)},s=v({},a),t.exports=e=function(t){return null==t?p(s):v(Object(t),a)},e.methods=u}(yI,yI.exports)),yI.exports),OI=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}(DI);function AI(t){var e=oT.get(t);return null==e&&(e=OI(),oT.set(t,e)),e}var xI=new WeakMap;function TI(t,e){var r=xI.get(t);null==r&&(r=new Set,xI.set(t,r)),r.add(e)}var NI,kI=function(t){var e=t;return e.on=function(t,r){var n=AI(e);if(n.on(t,r),"destroyed"===t&&TI(e,r),"destroyed"!==t){var o=function(){return n.off(t,r)};n.on("destroyed",o),TI(e,o)}},e.once=function(t,r){AI(e).once(t,r)},e.off=function(t,r){AI(e).off(t,r)},e.emit=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var o=AI(e);if(o.emit.apply(o,TO([t],xO(r),!1)),"destroyed"===t){var i=function(t){return xI.get(t)||new Set}(e);i.forEach(function(t){return o.off("destroyed",t)}),function(t){xI.set(t,new Set)}(e)}},e},PI=function(t){var e=t;return e.setFragmentData=function(t){var r=e.selection;if(r){var n=xO(dv.edges(r),2),o=n[0],i=n[1],u=Kh.void(e,{at:o.path}),a=Kh.void(e,{at:i.path});if(!dv.isCollapsed(r)||u){var s=SB.toDOMRange(e,r),c=s.cloneContents(),l=c.childNodes[0];if(c.childNodes.forEach(function(t){t.textContent&&""!==t.textContent.trim()&&(l=t)}),a){var f=xO(a,1)[0],d=s.cloneRange(),p=SB.toDOMNode(e,f);d.setEndAfter(p),c=d.cloneContents()}if(u&&(l=c.querySelector("[data-slate-spacer]")),Array.from(c.querySelectorAll("[data-slate-zero-width]")).forEach(function(t){var e="n"===t.getAttribute("data-slate-zero-width");t.textContent=e?"\n":""}),IP(l)){var h=l.ownerDocument.createElement("span");h.style.whiteSpace="pre",h.appendChild(l),c.appendChild(h),l=h}var v=e.getFragment(),g=JSON.stringify(v),y=window.btoa(encodeURIComponent(g));l.setAttribute("data-slate-fragment",y),t.setData("application/x-slate-fragment",y);var m=c.ownerDocument.createElement("div");return m.appendChild(c),m.setAttribute("hidden","true"),c.ownerDocument.body.appendChild(m),t.setData("text/html",m.innerHTML),t.setData("text/plain",_P(m)),c.ownerDocument.body.removeChild(m),t}}},e.insertData=function(t){var r,n,o=t.getData("application/x-slate-fragment");if(o){var i=decodeURIComponent(window.atob(o)),u=JSON.parse(i);e.insertFragment(u)}else{var a=t.getData("text/plain"),s=t.getData("text/html");if(s)e.dangerouslyInsertHtml(s);else if(a){var c=a.split(/\n\r|\r\n|\r|\n/),l=!1;try{for(var f=AO(c),d=f.next();!d.done;d=f.next()){var p=d.value,h=SB.getLeftLengthOfMaxLength(e);l&&h>0&&zv.splitNodes(e,{always:!0}),e.insertText(p),l=!0}}catch(t){r={error:t}}finally{try{d&&!d.done&&(n=f.return)&&n.call(f)}finally{if(r)throw r.error}}}}},e},BI={};!function(){if(NI)return BI;NI=1;var t=ND(),e=kD(),r=RD(),n=Kw(),o=VC(),i=WC(),u=Ww(),a=BD(),s=_S(),c=_D(),l=bx(),f=c("slice"),d=s("species"),p=Array,h=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,s){var c,f,v,g=u(this),y=i(g),m=o(t,y),b=o(void 0===s?y:s,y);if(e(g)&&(c=g.constructor,(r(c)&&(c===p||e(c.prototype))||n(c)&&null===(c=c[d]))&&(c=void 0),c===p||void 0===c))return l(g,m,b);for(f=new(void 0===c?p:c)(h(b-m,0)),v=0;m<b;m++,v++)m in g&&a(f,v,g[m]);return f.length=v,f}})}();var II=function(t){var e=t,r=e.insertText,n=e.insertNode,o=e.insertFragment,i=e.dangerouslyInsertHtml;return e.insertText=function(t){if(e.getConfig().maxLength){var n=SB.getLeftLengthOfMaxLength(e);n<=0||(n<t.length?r(t.slice(0,n)):r(t))}else r(t)},e.insertNode=function(t){if(e.getConfig().maxLength){var r=SB.getLeftLengthOfMaxLength(e);r<=0||r<tv.string(t).length||n(t)}else n(t)},e.insertFragment=function(t){if(e.getConfig().maxLength){if(t.length>0){var r=t[0];if(SB.getLeftLengthOfMaxLength(e)<tv.string(r).length)return;o([r]);for(var n=1;n<t.length;n+=1)e.insertNode(t[n])}}else o(t)},e.dangerouslyInsertHtml=function(t,r){if(void 0===t&&(t=""),void 0===r&&(r=!1),t)if(e.getConfig().maxLength){var n=SB.getLeftLengthOfMaxLength(e);if(!(n<=0)){var o=document.createElement("div");o.innerHTML=t,n<Array.from(o.childNodes).reduce(function(t,e){var r=e.nodeName;return e?IP(e)?t+(e.textContent||""):PP(e)?vN.has(r.toLowerCase())?t:t+(e.textContent||""):t:t},"").length||i(t,r)}}else i(t,r)},e};function FI(t){var e=SB.getTextarea(t).$textAreaContainer,r=e.width(),n=e.height(),o=e.offset();return{top:o.top,left:o.left,width:r,height:n}}function RI(t){var e={top:"0",left:"0"},r=t.selection;if(null==r)return e;var n=FI(t);if(null==n)return e;var o=n.top,i=n.left,u=n.width,a=n.height,s=SB.toDOMRange(t,r).getClientRects(),c=s?s[0]:null;if(null==c)return e;var l={},f=c.top-o,d=c.left-i;if(d>u/2){var p=u-d;l.right="".concat(p+5,"px")}else l.left="".concat(d+5,"px");if(f>a/2){var h=a-f;l.bottom="".concat(h+5,"px")}else{var v=s[s.length-1],g=v.top-o+v.height;g<0&&(g=0),l.top="".concat(g+5,"px")}return l}function LI(t,e,r){void 0===r&&(r="modal");var n={top:"0",left:"0"};if(null==t.selection)return n;var o=$h.isElement(e)&&t.isVoid(e),i=$h.isElement(e)&&t.isInline(e),u=Qx.get(e);if(null==u)return n;var a=u.getBoundingClientRect(),s=a.top,c=a.left,l=a.height,f=a.width;if(o){var d=function(t){var e=[];e.push(t);for(var r=0;e.length>0;){var n=e.pop();if(null==n)break;if((r+=1)>1e4)break;var o=n.nodeName;if(n.nodeType===OP.ELEMENT_NODE){var i=o.toLowerCase();if(nk.includes(i)||"iframe"===i||"video"===i)return n;var u=n.children||[],a=u.length;if(a)for(var s=a-1;s>=0;s-=1)e.push(u[s])}}return null}(u);if(null!=d){var p=d.getBoundingClientRect();s=p.top,l=p.height}}var h=FI(t);if(null==h)return n;var v=h.top,g=h.left,y=h.width,m=h.height,b={},E=s-v,w=c-g;if("bar"===r)return b.left="".concat(w,"px"),E>40?b.bottom="".concat(m-E+5,"px"):b.top="".concat(E+l+5,"px"),b;if("modal"===r){if(o?i?w>(y-f)/2?b.right="".concat(y-w+5,"px"):b.left="".concat(w+f+5,"px"):b.left="20px":b.left="".concat(w,"px"),o)(S=E)<0&&(S=0),b.top="".concat(S,"px");else if(E>(m-l)/2)b.bottom="".concat(m-E+5,"px");else{var S;(S=E+l)<0&&(S=0),b.top="".concat(S+5,"px")}return b}throw new Error("type '".concat(r,"' is invalid"))}function _I(t,e){DP(function(){var r=FI(t);if(null!=r){var n,o=r.top,i=r.left,u=r.width,a=r.height,s=e.offset(),c=s.top,l=s.left,f=e.width(),d=e.height(),p=c-o,h=l-i,v=e.attr("style");if(v.indexOf("top")>=0&&(n=p+d-a)>0){var g=e.css("top"),y=parseInt(g.toString(),10)-n;y<0&&(y=0),e.css("top","".concat(y,"px"))}if(v.indexOf("bottom")>=0&&c<0){var m=e.css("bottom"),b=parseInt(m.toString(),10)-Math.abs(c);e.css("bottom","".concat(b,"px"))}if(v.indexOf("left")>=0&&(n=h+f-u)>0){var E=e.css("left"),w=parseInt(E.toString(),10)-n;w<0&&(w=0),e.css("left","".concat(w,"px"))}if(v.indexOf("right")>=0&&l<0){var S=e.css("right"),C=parseInt(S.toString(),10)-Math.abs(l);e.css("right","".concat(C,"px"))}}})}var jI,MI=function(t){var e=t;return e.select=function(t){zv.select(e,t)},e.deselect=function(){var r=e.selection,n=SB.findDocumentOrShadowRoot(e).getSelection();n&&n.rangeCount>0&&n.removeAllRanges(),r&&zv.deselect(t)},e.move=function(e,r){void 0===r&&(r=!1),e&&(e<0||zv.move(t,{distance:e,unit:"character",reverse:r}))},e.moveReverse=function(t){e.move(t,!0)},e.restoreSelection=function(){var t=nT.get(e);null!=t&&(e.focus(),zv.select(e,t))},e.getSelectionPosition=function(){return RI(e)},e.getNodePosition=function(t){return LI(e,t)},e.isSelectedAll=function(){var t=e.selection;if(null==t)return!1;var r=xO(dv.edges(t),2),n=r[0],o=r[1],i=xO(Kh.edges(e,[]),2),u=i[0],a=i[1];return!(!sv.equals(n,u)||!sv.equals(o,a))},e.selectAll=function(){var t=Kh.start(e,[]),r=Kh.end(e,[]);zv.select(e,{anchor:t,focus:r})},e},zI={};!function(){if(jI)return zI;jI=1;var t=XE(),e=Hw(),r=RN(),n=ZS(),o=Kw(),i=GC(),u=BA(),a=Gw(),s=oS(),c=_N(),l=bP(),f=jN(),d=e("".indexOf);r("match",function(e,r,p){return[function(r){var n=a(this),i=o(r)?s(r,e):void 0;return i?t(i,r,n):new RegExp(r)[e](u(n))},function(t){var e=n(this),o=u(t),a=p(r,e,o);if(a.done)return a.value;var s=u(l(e));if(-1===d(s,"g"))return f(e,o);var h=-1!==d(s,"u");e.lastIndex=0;for(var v,g=[],y=0;null!==(v=f(e,o));){var m=u(v[0]);g[y]=m,""===m&&(e.lastIndex=c(o,i(e.lastIndex),h)),y++}return 0===y?null:g}]})}();const HI=t=>"string"==typeof t,$I=()=>{let t,e;const r=new Promise((r,n)=>{t=r,e=n});return r.resolve=t,r.reject=e,r},UI=t=>null==t?"":""+t,VI=/###/g,GI=t=>t&&t.indexOf("###")>-1?t.replace(VI,"."):t,WI=t=>!t||HI(t),qI=(t,e,r)=>{const n=HI(e)?e.split("."):e;let o=0;for(;o<n.length-1;){if(WI(t))return{};const e=GI(n[o]);!t[e]&&r&&(t[e]=new r),t=Object.prototype.hasOwnProperty.call(t,e)?t[e]:{},++o}return WI(t)?{}:{obj:t,k:GI(n[o])}},KI=(t,e,r)=>{const{obj:n,k:o}=qI(t,e,Object);if(void 0!==n||1===e.length)return void(n[o]=r);let i=e[e.length-1],u=e.slice(0,e.length-1),a=qI(t,u,Object);for(;void 0===a.obj&&u.length;)i=`${u[u.length-1]}.${i}`,u=u.slice(0,u.length-1),a=qI(t,u,Object),a&&a.obj&&void 0!==a.obj[`${a.k}.${i}`]&&(a.obj=void 0);a.obj[`${a.k}.${i}`]=r},YI=(t,e)=>{const{obj:r,k:n}=qI(t,e);if(r)return r[n]},XI=(t,e,r)=>{for(const n in e)"__proto__"!==n&&"constructor"!==n&&(n in t?HI(t[n])||t[n]instanceof String||HI(e[n])||e[n]instanceof String?r&&(t[n]=e[n]):XI(t[n],e[n],r):t[n]=e[n]);return t},JI=t=>t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var ZI={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const QI=t=>HI(t)?t.replace(/[&<>"'\/]/g,t=>ZI[t]):t,tF=[" ",",","?","!",";"],eF=new class{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const e=this.regExpMap.get(t);if(void 0!==e)return e;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}(20),rF=function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!t)return;if(t[e])return t[e];const n=e.split(r);let o=t;for(let t=0;t<n.length;){if(!o||"object"!=typeof o)return;let e,i="";for(let u=t;u<n.length;++u)if(u!==t&&(i+=r),i+=n[u],e=o[i],void 0!==e){if(["string","number","boolean"].indexOf(typeof e)>-1&&u<n.length-1)continue;t+=u-t+1;break}o=e}return o},nF=t=>t&&t.replace("_","-"),oF={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,e){console&&console[t]&&console[t].apply(console,e)}};var iF=new class t{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(t,e)}init(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=e.prefix||"i18next:",this.logger=t||oF,this.options=e,this.debug=e.debug}log(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.forward(e,"log","",!0)}warn(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.forward(e,"warn","",!0)}error(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.forward(e,"error","")}deprecate(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(t,e,r,n){return n&&!this.debug?null:(HI(t[0])&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[e](t))}create(e){return new t(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new t(this.logger,e)}};let uF=class{constructor(){this.observers={}}on(t,e){return t.split(" ").forEach(t=>{this.observers[t]||(this.observers[t]=new Map);const r=this.observers[t].get(e)||0;this.observers[t].set(e,r+1)}),this}off(t,e){this.observers[t]&&(e?this.observers[t].delete(e):delete this.observers[t])}emit(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(t=>{let[e,n]=t;for(let t=0;t<n;t++)e(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(e=>{let[n,o]=e;for(let e=0;e<o;e++)n.apply(n,[t,...r])})}},aF=class extends uF{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=e,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const e=this.options.ns.indexOf(t);e>-1&&this.options.ns.splice(e,1)}getResource(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,i=void 0!==n.ignoreJSONStructure?n.ignoreJSONStructure:this.options.ignoreJSONStructure;let u;t.indexOf(".")>-1?u=t.split("."):(u=[t,e],r&&(Array.isArray(r)?u.push(...r):HI(r)&&o?u.push(...r.split(o)):u.push(r)));const a=YI(this.data,u);return!a&&!e&&!r&&t.indexOf(".")>-1&&(t=u[0],e=u[1],r=u.slice(2).join(".")),!a&&i&&HI(r)?rF(this.data&&this.data[t]&&this.data[t][e],r,o):a}addResource(t,e,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const i=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator;let u=[t,e];r&&(u=u.concat(i?r.split(i):r)),t.indexOf(".")>-1&&(u=t.split("."),n=e,e=u[1]),this.addNamespaces(e),KI(this.data,u,n),o.silent||this.emit("added",t,e,r,n)}addResources(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const n in r)(HI(r[n])||Array.isArray(r[n]))&&this.addResource(t,e,n,r[n],{silent:!0});n.silent||this.emit("added",t,e,r)}addResourceBundle(t,e,r,n,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},u=[t,e];t.indexOf(".")>-1&&(u=t.split("."),n=r,r=e,e=u[1]),this.addNamespaces(e);let a=YI(this.data,u)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),n?XI(a,r,o):a={...a,...r},KI(this.data,u,a),i.silent||this.emit("added",t,e,r)}removeResourceBundle(t,e){this.hasResourceBundle(t,e)&&delete this.data[t][e],this.removeNamespaces(e),this.emit("removed",t,e)}hasResourceBundle(t,e){return void 0!==this.getResource(t,e)}getResourceBundle(t,e){return e||(e=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(t,e)}:this.getResource(t,e)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const e=this.getDataByLanguage(t);return!!(e&&Object.keys(e)||[]).find(t=>e[t]&&Object.keys(e[t]).length>0)}toJSON(){return this.data}};var sF={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,e,r,n,o){return t.forEach(t=>{this.processors[t]&&(e=this.processors[t].process(e,r,n,o))}),e}};const cF={};let lF=class t extends uF{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),((t,e,r)=>{["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach(t=>{e[t]&&(r[t]=e[t])})})(0,t,this),this.options=e,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=iF.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==t)return!1;const r=this.resolve(t,e);return r&&void 0!==r.res}extractFromKey(t,e){let r=void 0!==e.nsSeparator?e.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");const n=void 0!==e.keySeparator?e.keySeparator:this.options.keySeparator;let o=e.ns||this.options.defaultNS||[];const i=r&&t.indexOf(r)>-1,u=!(this.options.userDefinedKeySeparator||e.keySeparator||this.options.userDefinedNsSeparator||e.nsSeparator||((t,e,r)=>{e=e||"",r=r||"";const n=tF.filter(t=>e.indexOf(t)<0&&r.indexOf(t)<0);if(0===n.length)return!0;const o=eF.getRegExp(`(${n.map(t=>"?"===t?"\\?":t).join("|")})`);let i=!o.test(t);if(!i){const e=t.indexOf(r);e>0&&!o.test(t.substring(0,e))&&(i=!0)}return i})(t,r,n));if(i&&!u){const e=t.match(this.interpolator.nestingRegexp);if(e&&e.length>0)return{key:t,namespaces:HI(o)?[o]:o};const i=t.split(r);(r!==n||r===n&&this.options.ns.indexOf(i[0])>-1)&&(o=i.shift()),t=i.join(n)}return{key:t,namespaces:HI(o)?[o]:o}}translate(e,r,n){if("object"!=typeof r&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof r&&(r={...r}),r||(r={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const o=void 0!==r.returnDetails?r.returnDetails:this.options.returnDetails,i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,{key:u,namespaces:a}=this.extractFromKey(e[e.length-1],r),s=a[a.length-1],c=r.lng||this.language,l=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase()){if(l){const t=r.nsSeparator||this.options.nsSeparator;return o?{res:`${s}${t}${u}`,usedKey:u,exactUsedKey:u,usedLng:c,usedNS:s,usedParams:this.getUsedParamsDetails(r)}:`${s}${t}${u}`}return o?{res:u,usedKey:u,exactUsedKey:u,usedLng:c,usedNS:s,usedParams:this.getUsedParamsDetails(r)}:u}const f=this.resolve(e,r);let d=f&&f.res;const p=f&&f.usedKey||u,h=f&&f.exactUsedKey||u,v=Object.prototype.toString.apply(d),g=void 0!==r.joinArrays?r.joinArrays:this.options.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,m=!HI(d)&&"boolean"!=typeof d&&"number"!=typeof d;if(!(y&&d&&m&&["[object Number]","[object Function]","[object RegExp]"].indexOf(v)<0)||HI(g)&&Array.isArray(d))if(y&&HI(g)&&Array.isArray(d))d=d.join(g),d&&(d=this.extendTranslation(d,e,r,n));else{let o=!1,a=!1;const l=void 0!==r.count&&!HI(r.count),p=t.hasDefaultValue(r),h=l?this.pluralResolver.getSuffix(c,r.count,r):"",v=r.ordinal&&l?this.pluralResolver.getSuffix(c,r.count,{ordinal:!1}):"",g=l&&!r.ordinal&&0===r.count&&this.pluralResolver.shouldUseIntlApi(),y=g&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${h}`]||r[`defaultValue${v}`]||r.defaultValue;!this.isValidLookup(d)&&p&&(o=!0,d=y),this.isValidLookup(d)||(a=!0,d=u);const m=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:d,b=p&&y!==d&&this.options.updateMissing;if(a||o||b){if(this.logger.log(b?"updateKey":"missingKey",c,s,u,b?y:d),i){const t=this.resolve(u,{...r,keySeparator:!1});t&&t.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.")}let t=[];const e=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if("fallback"===this.options.saveMissingTo&&e&&e[0])for(let r=0;r<e.length;r++)t.push(e[r]);else"all"===this.options.saveMissingTo?t=this.languageUtils.toResolveHierarchy(r.lng||this.language):t.push(r.lng||this.language);const n=(t,e,n)=>{const o=p&&n!==d?n:m;this.options.missingKeyHandler?this.options.missingKeyHandler(t,s,e,o,b,r):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(t,s,e,o,b,r),this.emit("missingKey",t,s,e,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&l?t.forEach(t=>{const e=this.pluralResolver.getSuffixes(t,r);g&&r[`defaultValue${this.options.pluralSeparator}zero`]&&e.indexOf(`${this.options.pluralSeparator}zero`)<0&&e.push(`${this.options.pluralSeparator}zero`),e.forEach(e=>{n([t],u+e,r[`defaultValue${e}`]||y)})}):n(t,u,y))}d=this.extendTranslation(d,e,r,f,n),a&&d===u&&this.options.appendNamespaceToMissingKey&&(d=`${s}:${u}`),(a||o)&&this.options.parseMissingKeyHandler&&(d="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${u}`:u,o?d:void 0):this.options.parseMissingKeyHandler(d))}else{if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const t=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,d,{...r,ns:a}):`key '${u} (${this.language})' returned an object instead of string.`;return o?(f.res=t,f.usedParams=this.getUsedParamsDetails(r),f):t}if(i){const t=Array.isArray(d),e=t?[]:{},n=t?h:p;for(const t in d)if(Object.prototype.hasOwnProperty.call(d,t)){const o=`${n}${i}${t}`;e[t]=this.translate(o,{...r,joinArrays:!1,ns:a}),e[t]===o&&(e[t]=d[t])}d=e}}return o?(f.res=d,f.usedParams=this.getUsedParamsDetails(r),f):d}extendTranslation(t,e,r,n,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const u=HI(t)&&(r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let a;if(u){const e=t.match(this.interpolator.nestingRegexp);a=e&&e.length}let s=r.replace&&!HI(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),t=this.interpolator.interpolate(t,s,r.lng||this.language||n.usedLng,r),u){const e=t.match(this.interpolator.nestingRegexp);a<(e&&e.length)&&(r.nest=!1)}!r.lng&&"v1"!==this.options.compatibilityAPI&&n&&n.res&&(r.lng=this.language||n.usedLng),!1!==r.nest&&(t=this.interpolator.nest(t,function(){for(var t=arguments.length,n=new Array(t),u=0;u<t;u++)n[u]=arguments[u];return o&&o[0]===n[0]&&!r.context?(i.logger.warn(`It seems you are nesting recursively key: ${n[0]} in key: ${e[0]}`),null):i.translate(...n,e)},r)),r.interpolation&&this.interpolator.reset()}const u=r.postProcess||this.options.postProcess,a=HI(u)?[u]:u;return null!=t&&a&&a.length&&!1!==r.applyPostProcessor&&(t=sF.handle(a,t,e,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...n,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),t}resolve(t){let e,r,n,o,i,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return HI(t)&&(t=[t]),t.forEach(t=>{if(this.isValidLookup(e))return;const a=this.extractFromKey(t,u),s=a.key;r=s;let c=a.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const l=void 0!==u.count&&!HI(u.count),f=l&&!u.ordinal&&0===u.count&&this.pluralResolver.shouldUseIntlApi(),d=void 0!==u.context&&(HI(u.context)||"number"==typeof u.context)&&""!==u.context,p=u.lngs?u.lngs:this.languageUtils.toResolveHierarchy(u.lng||this.language,u.fallbackLng);c.forEach(t=>{this.isValidLookup(e)||(i=t,!cF[`${p[0]}-${t}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(i)&&(cF[`${p[0]}-${t}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(", ")}" won't get resolved as namespace "${i}" 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!!!")),p.forEach(r=>{if(this.isValidLookup(e))return;o=r;const i=[s];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(i,s,r,t,u);else{let t;l&&(t=this.pluralResolver.getSuffix(r,u.count,u));const e=`${this.options.pluralSeparator}zero`,n=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(l&&(i.push(s+t),u.ordinal&&0===t.indexOf(n)&&i.push(s+t.replace(n,this.options.pluralSeparator)),f&&i.push(s+e)),d){const r=`${s}${this.options.contextSeparator}${u.context}`;i.push(r),l&&(i.push(r+t),u.ordinal&&0===t.indexOf(n)&&i.push(r+t.replace(n,this.options.pluralSeparator)),f&&i.push(r+e))}}let a;for(;a=i.pop();)this.isValidLookup(e)||(n=a,e=this.getResource(r,t,a,u))}))})}),{res:e,usedKey:r,exactUsedKey:n,usedLng:o,usedNS:i}}isValidLookup(t){return!(void 0===t||!this.options.returnNull&&null===t||!this.options.returnEmptyString&&""===t)}getResource(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,e,r,n):this.resourceStore.getResource(t,e,r,n)}getUsedParamsDetails(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&!HI(t.replace);let n=r?t.replace:t;if(r&&void 0!==t.count&&(n.count=t.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!r){n={...n};for(const t of e)delete n[t]}return n}static hasDefaultValue(t){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&"defaultValue"===e.substring(0,12)&&void 0!==t[e])return!0;return!1}};const fF=t=>t.charAt(0).toUpperCase()+t.slice(1);let dF=class{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=iF.create("languageUtils")}getScriptPartFromCode(t){if(!(t=nF(t))||t.indexOf("-")<0)return null;const e=t.split("-");return 2===e.length?null:(e.pop(),"x"===e[e.length-1].toLowerCase()?null:this.formatLanguageCode(e.join("-")))}getLanguagePartFromCode(t){if(!(t=nF(t))||t.indexOf("-")<0)return t;const e=t.split("-");return this.formatLanguageCode(e[0])}formatLanguageCode(t){if(HI(t)&&t.indexOf("-")>-1){if("undefined"!=typeof Intl&&void 0!==Intl.getCanonicalLocales)try{let e=Intl.getCanonicalLocales(t)[0];if(e&&this.options.lowerCaseLng&&(e=e.toLowerCase()),e)return e}catch(t){}const e=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(t=>t.toLowerCase()):2===r.length?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),e.indexOf(r[1].toLowerCase())>-1&&(r[1]=fF(r[1].toLowerCase()))):3===r.length&&(r[0]=r[0].toLowerCase(),2===r[1].length&&(r[1]=r[1].toUpperCase()),"sgn"!==r[0]&&2===r[2].length&&(r[2]=r[2].toUpperCase()),e.indexOf(r[1].toLowerCase())>-1&&(r[1]=fF(r[1].toLowerCase())),e.indexOf(r[2].toLowerCase())>-1&&(r[2]=fF(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let e;return t.forEach(t=>{if(e)return;const r=this.formatLanguageCode(t);this.options.supportedLngs&&!this.isSupportedCode(r)||(e=r)}),!e&&this.options.supportedLngs&&t.forEach(t=>{if(e)return;const r=this.getLanguagePartFromCode(t);if(this.isSupportedCode(r))return e=r;e=this.options.supportedLngs.find(t=>t===r?t:t.indexOf("-")<0&&r.indexOf("-")<0?void 0:t.indexOf("-")>0&&r.indexOf("-")<0&&t.substring(0,t.indexOf("-"))===r||0===t.indexOf(r)&&r.length>1?t:void 0)}),e||(e=this.getFallbackCodes(this.options.fallbackLng)[0]),e}getFallbackCodes(t,e){if(!t)return[];if("function"==typeof t&&(t=t(e)),HI(t)&&(t=[t]),Array.isArray(t))return t;if(!e)return t.default||[];let r=t[e];return r||(r=t[this.getScriptPartFromCode(e)]),r||(r=t[this.formatLanguageCode(e)]),r||(r=t[this.getLanguagePartFromCode(e)]),r||(r=t.default),r||[]}toResolveHierarchy(t,e){const r=this.getFallbackCodes(e||this.options.fallbackLng||[],t),n=[],o=t=>{t&&(this.isSupportedCode(t)?n.push(t):this.logger.warn(`rejecting language code not found in supportedLngs: ${t}`))};return HI(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(t)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(t)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(t))):HI(t)&&o(this.formatLanguageCode(t)),r.forEach(t=>{n.indexOf(t)<0&&o(this.formatLanguageCode(t))}),n}},pF=[{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}],hF={1:t=>Number(t>1),2:t=>Number(1!=t),3:t=>0,4:t=>Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2),5:t=>Number(0==t?0:1==t?1:2==t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5),6:t=>Number(1==t?0:t>=2&&t<=4?1:2),7:t=>Number(1==t?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2),8:t=>Number(1==t?0:2==t?1:8!=t&&11!=t?2:3),9:t=>Number(t>=2),10:t=>Number(1==t?0:2==t?1:t<7?2:t<11?3:4),11:t=>Number(1==t||11==t?0:2==t||12==t?1:t>2&&t<20?2:3),12:t=>Number(t%10!=1||t%100==11),13:t=>Number(0!==t),14:t=>Number(1==t?0:2==t?1:3==t?2:3),15:t=>Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2),16:t=>Number(t%10==1&&t%100!=11?0:0!==t?1:2),17:t=>Number(1==t||t%10==1&&t%100!=11?0:1),18:t=>Number(0==t?0:1==t?1:2),19:t=>Number(1==t?0:0==t||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3),20:t=>Number(1==t?0:0==t||t%100>0&&t%100<20?1:2),21:t=>Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0),22:t=>Number(1==t?0:2==t?1:(t<0||t>10)&&t%10==0?2:3)};const vF=["v1","v2","v3"],gF=["v4"],yF={zero:0,one:1,two:2,few:3,many:4,other:5};let mF=class{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=t,this.options=e,this.logger=iF.create("pluralResolver"),this.options.compatibilityJSON&&!gF.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(()=>{const t={};return pF.forEach(e=>{e.lngs.forEach(r=>{t[r]={numbers:e.nr,plurals:hF[e.fc]}})}),t})(),this.pluralRulesCache={}}addRule(t,e){this.rules[t]=e}clearCache(){this.pluralRulesCache={}}getRule(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi()){const r=nF("dev"===t?"en":t),n=e.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:r,type:n});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let i;try{i=new Intl.PluralRules(r,{type:n})}catch(r){if(!t.match(/-|_/))return;const n=this.languageUtils.getLanguagePartFromCode(t);i=this.getRule(n,e)}return this.pluralRulesCache[o]=i,i}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=this.getRule(t,e);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(t,r).map(t=>`${e}${t}`)}getSuffixes(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=this.getRule(t,e);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((t,e)=>yF[t]-yF[e]).map(t=>`${this.options.prepend}${e.ordinal?`ordinal${this.options.prepend}`:""}${t}`):r.numbers.map(r=>this.getSuffix(t,r,e)):[]}getSuffix(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=this.getRule(t,r);return n?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${n.select(e)}`:this.getSuffixRetroCompatible(n,e):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,e){const r=t.noAbs?t.plurals(e):t.plurals(Math.abs(e));let n=t.numbers[r];this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]&&(2===n?n="plural":1===n&&(n=""));const o=()=>this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString();return"v1"===this.options.compatibilityJSON?1===n?"":"number"==typeof n?`_plural_${n.toString()}`:o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!vF.includes(this.options.compatibilityJSON)}};const bF=function(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=((t,e,r)=>{const n=YI(t,r);return void 0!==n?n:YI(e,r)})(t,e,r);return!i&&o&&HI(r)&&(i=rF(t,r,n),void 0===i&&(i=rF(e,r,n))),i},EF=t=>t.replace(/\$/g,"$$$$");let wF=class{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=iF.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(t=>t),this.init(t)}init(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:e,escapeValue:r,useRawValueToEscape:n,prefix:o,prefixEscaped:i,suffix:u,suffixEscaped:a,formatSeparator:s,unescapeSuffix:c,unescapePrefix:l,nestingPrefix:f,nestingPrefixEscaped:d,nestingSuffix:p,nestingSuffixEscaped:h,nestingOptionsSeparator:v,maxReplaces:g,alwaysFormat:y}=t.interpolation;this.escape=void 0!==e?e:QI,this.escapeValue=void 0===r||r,this.useRawValueToEscape=void 0!==n&&n,this.prefix=o?JI(o):i||"{{",this.suffix=u?JI(u):a||"}}",this.formatSeparator=s||",",this.unescapePrefix=c?"":l||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=f?JI(f):d||JI("$t("),this.nestingSuffix=p?JI(p):h||JI(")"),this.nestingOptionsSeparator=v||",",this.maxReplaces=g||1e3,this.alwaysFormat=void 0!==y&&y,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(t,e)=>t&&t.source===e?(t.lastIndex=0,t):new RegExp(e,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,e,r,n){let o,i,u;const a=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},s=t=>{if(t.indexOf(this.formatSeparator)<0){const o=bF(e,a,t,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(o,void 0,r,{...n,...e,interpolationkey:t}):o}const o=t.split(this.formatSeparator),i=o.shift().trim(),u=o.join(this.formatSeparator).trim();return this.format(bF(e,a,i,this.options.keySeparator,this.options.ignoreJSONStructure),u,r,{...n,...e,interpolationkey:i})};this.resetRegExp();const c=n&&n.missingInterpolationHandler||this.options.missingInterpolationHandler,l=n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,f=[{regex:this.regexpUnescape,safeValue:t=>EF(t)},{regex:this.regexp,safeValue:t=>this.escapeValue?EF(this.escape(t)):EF(t)}];return f.forEach(e=>{for(u=0;o=e.regex.exec(t);){const r=o[1].trim();if(i=s(r),void 0===i)if("function"==typeof c){const e=c(t,o,n);i=HI(e)?e:""}else if(n&&Object.prototype.hasOwnProperty.call(n,r))i="";else{if(l){i=o[0];continue}this.logger.warn(`missed to pass in variable ${r} for interpolating ${t}`),i=""}else HI(i)||this.useRawValueToEscape||(i=UI(i));const a=e.safeValue(i);if(t=t.replace(o[0],a),l?(e.regex.lastIndex+=i.length,e.regex.lastIndex-=o[0].length):e.regex.lastIndex=0,u++,u>=this.maxReplaces)break}}),t}nest(t,e){let r,n,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const u=(t,e)=>{const r=this.nestingOptionsSeparator;if(t.indexOf(r)<0)return t;const n=t.split(new RegExp(`${r}[ ]*{`));let i=`{${n[1]}`;t=n[0],i=this.interpolate(i,o);const u=i.match(/'/g),a=i.match(/"/g);(u&&u.length%2==0&&!a||a.length%2!=0)&&(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),e&&(o={...e,...o})}catch(e){return this.logger.warn(`failed parsing options string in nesting for key ${t}`,e),`${t}${r}${i}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,t};for(;r=this.nestingRegexp.exec(t);){let a=[];o={...i},o=o.replace&&!HI(o.replace)?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let s=!1;if(-1!==r[0].indexOf(this.formatSeparator)&&!/{.*}/.test(r[1])){const t=r[1].split(this.formatSeparator).map(t=>t.trim());r[1]=t.shift(),a=t,s=!0}if(n=e(u.call(this,r[1].trim(),o),o),n&&r[0]===t&&!HI(n))return n;HI(n)||(n=UI(n)),n||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${t}`),n=""),s&&(n=a.reduce((t,e)=>this.format(t,e,i.lng,{...i,interpolationkey:r[1].trim()}),n.trim())),t=t.replace(r[0],n),this.regexp.lastIndex=0}return t}};const SF=t=>{const e={};return(r,n,o)=>{let i=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(i={...i,[o.interpolationkey]:void 0});const u=n+JSON.stringify(i);let a=e[u];return a||(a=t(nF(n),o),e[u]=a),a(r)}};let CF=class{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=iF.create("formatter"),this.options=t,this.formats={number:SF((t,e)=>{const r=new Intl.NumberFormat(t,{...e});return t=>r.format(t)}),currency:SF((t,e)=>{const r=new Intl.NumberFormat(t,{...e,style:"currency"});return t=>r.format(t)}),datetime:SF((t,e)=>{const r=new Intl.DateTimeFormat(t,{...e});return t=>r.format(t)}),relativetime:SF((t,e)=>{const r=new Intl.RelativeTimeFormat(t,{...e});return t=>r.format(t,e.range||"day")}),list:SF((t,e)=>{const r=new Intl.ListFormat(t,{...e});return t=>r.format(t)})},this.init(t)}init(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};this.formatSeparator=e.interpolation.formatSeparator||","}add(t,e){this.formats[t.toLowerCase().trim()]=e}addCached(t,e){this.formats[t.toLowerCase().trim()]=SF(e)}format(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=e.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(t=>t.indexOf(")")>-1)){const t=o.findIndex(t=>t.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,t)].join(this.formatSeparator)}const i=o.reduce((t,e)=>{const{formatName:o,formatOptions:i}=(t=>{let e=t.toLowerCase().trim();const r={};if(t.indexOf("(")>-1){const n=t.split("(");e=n[0].toLowerCase().trim();const o=n[1].substring(0,n[1].length-1);"currency"===e&&o.indexOf(":")<0?r.currency||(r.currency=o.trim()):"relativetime"===e&&o.indexOf(":")<0?r.range||(r.range=o.trim()):o.split(";").forEach(t=>{if(t){const[e,...n]=t.split(":"),o=n.join(":").trim().replace(/^'+|'+$/g,""),i=e.trim();r[i]||(r[i]=o),"false"===o&&(r[i]=!1),"true"===o&&(r[i]=!0),isNaN(o)||(r[i]=parseInt(o,10))}})}return{formatName:e,formatOptions:r}})(e);if(this.formats[o]){let e=t;try{const u=n&&n.formatParams&&n.formatParams[n.interpolationkey]||{},a=u.locale||u.lng||n.locale||n.lng||r;e=this.formats[o](t,a,{...i,...n,...u})}catch(t){this.logger.warn(t)}return e}return this.logger.warn(`there was no format function for ${o}`),t},t);return i}},DF=class extends uF{constructor(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=t,this.store=e,this.services=r,this.languageUtils=r.languageUtils,this.options=n,this.logger=iF.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,n.backend,n)}queueLoad(t,e,r,n){const o={},i={},u={},a={};return t.forEach(t=>{let n=!0;e.forEach(e=>{const u=`${t}|${e}`;!r.reload&&this.store.hasResourceBundle(t,e)?this.state[u]=2:this.state[u]<0||(1===this.state[u]?void 0===i[u]&&(i[u]=!0):(this.state[u]=1,n=!1,void 0===i[u]&&(i[u]=!0),void 0===o[u]&&(o[u]=!0),void 0===a[e]&&(a[e]=!0)))}),n||(u[t]=!0)}),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(u),toLoadNamespaces:Object.keys(a)}}loaded(t,e,r){const n=t.split("|"),o=n[0],i=n[1];e&&this.emit("failedLoading",o,i,e),!e&&r&&this.store.addResourceBundle(o,i,r,void 0,void 0,{skipCopy:!0}),this.state[t]=e?-1:2,e&&r&&(this.state[t]=0);const u={};this.queue.forEach(r=>{((t,e,r)=>{const{obj:n,k:o}=qI(t,e,Object);n[o]=n[o]||[],n[o].push(r)})(r.loaded,[o],i),((t,e)=>{void 0!==t.pending[e]&&(delete t.pending[e],t.pendingCount--)})(r,t),e&&r.errors.push(e),0!==r.pendingCount||r.done||(Object.keys(r.loaded).forEach(t=>{u[t]||(u[t]={});const e=r.loaded[t];e.length&&e.forEach(e=>{void 0===u[t][e]&&(u[t][e]=!0)})}),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())}),this.emit("loaded",u),this.queue=this.queue.filter(t=>!t.done)}read(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!t.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:t,ns:e,fcName:r,tried:n,wait:o,callback:i});this.readingCalls++;const u=(u,a)=>{if(this.readingCalls--,this.waitingReads.length>0){const t=this.waitingReads.shift();this.read(t.lng,t.ns,t.fcName,t.tried,t.wait,t.callback)}u&&a&&n<this.maxRetries?setTimeout(()=>{this.read.call(this,t,e,r,n+1,2*o,i)},o):i(u,a)},a=this.backend[r].bind(this.backend);if(2!==a.length)return a(t,e,u);try{const r=a(t,e);r&&"function"==typeof r.then?r.then(t=>u(null,t)).catch(u):u(null,r)}catch(t){u(t)}}prepareLoading(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=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."),n&&n();HI(t)&&(t=this.languageUtils.toResolveHierarchy(t)),HI(e)&&(e=[e]);const o=this.queueLoad(t,e,r,n);if(!o.toLoad.length)return o.pending.length||n(),null;o.toLoad.forEach(t=>{this.loadOne(t)})}load(t,e,r){this.prepareLoading(t,e,{},r)}reload(t,e,r){this.prepareLoading(t,e,{reload:!0},r)}loadOne(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const r=t.split("|"),n=r[0],o=r[1];this.read(n,o,"read",void 0,void 0,(r,i)=>{r&&this.logger.warn(`${e}loading namespace ${o} for language ${n} failed`,r),!r&&i&&this.logger.log(`${e}loaded namespace ${o} for language ${n}`,i),this.loaded(t,r,i)})}saveMissing(t,e,r,n,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(e))this.logger.warn(`did not save key "${r}" as the namespace "${e}" 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!!!");else if(null!=r&&""!==r){if(this.backend&&this.backend.create){const a={...i,isUpdate:o},s=this.backend.create.bind(this.backend);if(s.length<6)try{let o;o=5===s.length?s(t,e,r,n,a):s(t,e,r,n),o&&"function"==typeof o.then?o.then(t=>u(null,t)).catch(u):u(null,o)}catch(t){u(t)}else s(t,e,r,n,u,a)}t&&t[0]&&this.store.addResource(t[0],e,r,n)}}};const OF=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!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:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:t=>{let e={};if("object"==typeof t[1]&&(e=t[1]),HI(t[1])&&(e.defaultValue=t[1]),HI(t[2])&&(e.tDescription=t[2]),"object"==typeof t[2]||"object"==typeof t[3]){const r=t[3]||t[2];Object.keys(r).forEach(t=>{e[t]=r[t]})}return e},interpolation:{escapeValue:!0,format:t=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),AF=t=>(HI(t.ns)&&(t.ns=[t.ns]),HI(t.fallbackLng)&&(t.fallbackLng=[t.fallbackLng]),HI(t.fallbackNS)&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs&&t.supportedLngs.indexOf("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t),xF=()=>{};let TF=class t extends uF{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;var r;if(super(),this.options=AF(t),this.services={},this.logger=iF,this.modules={external:[]},r=this,Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach(t=>{"function"==typeof r[t]&&(r[t]=r[t].bind(r))}),e&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,e),this;setTimeout(()=>{this.init(t,e)},0)}}init(){var t=this;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof e&&(r=e,e={}),!e.defaultNS&&!1!==e.defaultNS&&e.ns&&(HI(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const n=OF();this.options={...n,...this.options,...AF(e)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...n.interpolation,...this.options.interpolation}),void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator);const o=t=>t?"function"==typeof t?new t:t:null;if(!this.options.isClone){let e;this.modules.logger?iF.init(o(this.modules.logger),this.options):iF.init(null,this.options),this.modules.formatter?e=this.modules.formatter:"undefined"!=typeof Intl&&(e=CF);const r=new dF(this.options);this.store=new aF(this.options.resources,this.options);const i=this.services;i.logger=iF,i.resourceStore=this.store,i.languageUtils=r,i.pluralResolver=new mF(r,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!e||this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format||(i.formatter=o(e),i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new wF(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new DF(o(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];t.emit(e,...n)}),this.modules.languageDetector&&(i.languageDetector=o(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=o(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new lF(this.services,this.options),this.translator.on("*",function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];t.emit(e,...n)}),this.modules.external.forEach(t=>{t.init&&t.init(this)})}if(this.format=this.options.interpolation.format,r||(r=xF),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const t=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);t.length>0&&"dev"!==t[0]&&(this.options.lng=t[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=function(){return t.store[e](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=function(){return t.store[e](...arguments),t}});const i=$I(),u=()=>{const t=(t,e)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),i.resolve(e),r(t,e)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return t(null,this.t.bind(this));this.changeLanguage(this.options.lng,t)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),i}loadResources(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xF;const r=HI(t)?t:this.language;if("function"==typeof t&&(e=t),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return e();const t=[],n=e=>{e&&"cimode"!==e&&this.services.languageUtils.toResolveHierarchy(e).forEach(e=>{"cimode"!==e&&t.indexOf(e)<0&&t.push(e)})};r?n(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(t=>n(t)),this.options.preload&&this.options.preload.forEach(t=>n(t)),this.services.backendConnector.load(t,this.options.ns,t=>{t||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),e(t)})}else e(null)}reloadResources(t,e,r){const n=$I();return"function"==typeof t&&(r=t,t=void 0),"function"==typeof e&&(r=e,e=void 0),t||(t=this.languages),e||(e=this.options.ns),r||(r=xF),this.services.backendConnector.reload(t,e,t=>{n.resolve(),r(t)}),n}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===t.type&&(this.modules.backend=t),("logger"===t.type||t.log&&t.warn&&t.error)&&(this.modules.logger=t),"languageDetector"===t.type&&(this.modules.languageDetector=t),"i18nFormat"===t.type&&(this.modules.i18nFormat=t),"postProcessor"===t.type&&sF.addPostProcessor(t),"formatter"===t.type&&(this.modules.formatter=t),"3rdParty"===t.type&&this.modules.external.push(t),this}setResolvedLanguage(t){if(t&&this.languages&&!(["cimode","dev"].indexOf(t)>-1))for(let t=0;t<this.languages.length;t++){const e=this.languages[t];if(!(["cimode","dev"].indexOf(e)>-1)&&this.store.hasLanguageSomeTranslations(e)){this.resolvedLanguage=e;break}}}changeLanguage(t,e){var r=this;this.isLanguageChangingTo=t;const n=$I();this.emit("languageChanging",t);const o=t=>{this.language=t,this.languages=this.services.languageUtils.toResolveHierarchy(t),this.resolvedLanguage=void 0,this.setResolvedLanguage(t)},i=(t,i)=>{i?(o(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,n.resolve(function(){return r.t(...arguments)}),e&&e(t,function(){return r.t(...arguments)})},u=e=>{t||e||!this.services.languageDetector||(e=[]);const r=HI(e)?e:this.services.languageUtils.getBestMatchFromCodes(e);r&&(this.language||o(r),this.translator.language||this.translator.changeLanguage(r),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(r)),this.loadResources(r,t=>{i(t,r)})};return t||!this.services.languageDetector||this.services.languageDetector.async?!t&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(u):this.services.languageDetector.detect(u):u(t):u(this.services.languageDetector.detect()),n}getFixedT(t,e,r){var n=this;const o=function(t,e){let i;if("object"!=typeof e){for(var u=arguments.length,a=new Array(u>2?u-2:0),s=2;s<u;s++)a[s-2]=arguments[s];i=n.options.overloadTranslationOptionHandler([t,e].concat(a))}else i={...e};i.lng=i.lng||o.lng,i.lngs=i.lngs||o.lngs,i.ns=i.ns||o.ns,""!==i.keyPrefix&&(i.keyPrefix=i.keyPrefix||r||o.keyPrefix);const c=n.options.keySeparator||".";let l;return l=i.keyPrefix&&Array.isArray(t)?t.map(t=>`${i.keyPrefix}${c}${t}`):i.keyPrefix?`${i.keyPrefix}${c}${t}`:t,n.t(l,i)};return HI(t)?o.lng=t:o.lngs=t,o.ns=e,o.keyPrefix=r,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let e=arguments.length>1&&void 0!==arguments[1]?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;const r=e.lng||this.resolvedLanguage||this.languages[0],n=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;const i=(t,e)=>{const r=this.services.backendConnector.state[`${t}|${e}`];return-1===r||0===r||2===r};if(e.precheck){const t=e.precheck(this,i);if(void 0!==t)return t}return!(!this.hasResourceBundle(r,t)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!i(r,t)||n&&!i(o,t)))}loadNamespaces(t,e){const r=$I();return this.options.ns?(HI(t)&&(t=[t]),t.forEach(t=>{this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}),this.loadResources(t=>{r.resolve(),e&&e(t)}),r):(e&&e(),Promise.resolve())}loadLanguages(t,e){const r=$I();HI(t)&&(t=[t]);const n=this.options.preload||[],o=t.filter(t=>n.indexOf(t)<0&&this.services.languageUtils.isSupportedCode(t));return o.length?(this.options.preload=n.concat(o),this.loadResources(t=>{r.resolve(),e&&e(t)}),r):(e&&e(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const e=this.services&&this.services.languageUtils||new dF(OF());return["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","ckb"].indexOf(e.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new t(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:xF;const n=e.forkResourceStore;n&&delete e.forkResourceStore;const o={...this.options,...e,isClone:!0},i=new t(o);return void 0===e.debug&&void 0===e.prefix||(i.logger=i.logger.clone(e)),["store","services","language"].forEach(t=>{i[t]=this[t]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n&&(i.store=new aF(this.store.data,o),i.services.resourceStore=i.store),i.translator=new lF(i.services,o),i.translator.on("*",function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];i.emit(t,...r)}),i.init(o,r),i.translator.options=o,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}};const NF=TF.createInstance();NF.createInstance=TF.createInstance,NF.createInstance,NF.dir,NF.init,NF.loadResources,NF.reloadResources,NF.use,NF.changeLanguage,NF.getFixedT,NF.t,NF.exists,NF.setDefaultNamespace,NF.hasLoadedNamespace,NF.loadNamespaces,NF.loadLanguages;var kF="translation";function PF(t,e){NF.addResourceBundle(t,kF,e,!0,!0)}function BF(t){NF.changeLanguage(t)}function IF(t){return NF.getResourceBundle(t,kF)}function FF(t){return NF.on("languageChanged",t),function(){return NF.off("languageChanged",t)}}NF.init({lng:"zh-CN",resources:{}});var RF=NF.t.bind(NF);function LF(t){if(t.removeAttr){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&&LF(e)}}function _F(){return og('<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 jF(){return og('<div class="w-e-bar-divider"></div>')}function MF(t,e,r,n,o){if(void 0===n&&(n=""),void 0===o&&(o=!1),e){if(n){var i=vB?"cmd":"ctrl";n=n.replace("mod",i)}if(o)n&&(t.attr("data-tooltip",n),t.addClass("w-e-menu-tooltip-v5"),t.addClass("tooltip-right"));else{var u=n?"".concat(r,"\n").concat(n):r;t.attr("data-tooltip",u),t.addClass("w-e-menu-tooltip-v5")}}}var zF=function(){function t(t,e,r){void 0===r&&(r=!1);var n=this;this.$elem=og('<div class="w-e-bar-item"></div>'),this.$button=og('<button type="button"></button>'),this.disabled=!1,this.menu=e;var o=e.tag,i=e.width;if("button"!==o)throw new Error("Invalid tag '".concat(o,"', expected 'button'"));var u=e.title,a=e.hotkey,s=void 0===a?"":a,c=e.iconSvg,l=void 0===c?"":c,f=this.$button;if(l){var d=og(l);LF(d),f.append(d)}else f.text(u);MF(f,l,u,s,r),r&&l&&f.append(og('<span class="title">'.concat(u,"</span>"))),i&&f.css("width","".concat(i,"px")),f.attr("data-menu-key",t),this.$elem.append(f),DP(function(){return n.init()})}return t.prototype.init=function(){var t=this;this.setActive(),this.setDisabled(),this.$button.on("click",function(e){e.preventDefault(),tR(t).hidePanelOrModal(),t.disabled||(t.exec(),t.onButtonClick())})},t.prototype.exec=function(){var t=tR(this),e=this.menu,r=e.getValue(t);this.setIcon(),this.setTooltip(),e.exec(t,r)},t.prototype.setActive=function(){var t=tR(this),e=this.$button,r="active";this.menu.isActive(t)?e.addClass(r):e.removeClass(r)},t.prototype.setDisabled=function(){var t=tR(this),e=this.$button,r=this.menu.isDisabled(t);(null==t.selection||t.isDisabled())&&(r=!0),this.menu.alwaysEnable&&(r=!1);var n="disabled";r?e.addClass(n):e.removeClass(n),this.disabled=r},t.prototype.setIcon=function(){var t=tR(this),e=this.$button;if(this.menu.getIcon){var r=this.menu.getIcon(t);if(r){e.find("svg").remove();var n=og(r);LF(n),e.append(n)}}},t.prototype.setTooltip=function(){var t=tR(this),e=this.$button;if(this.menu.getTitle){var r=this.menu.getTitle(t),n=this.menu.iconSvg;r&&n&&MF(e,n,r)}},t.prototype.changeMenuState=function(){this.setActive(),this.setDisabled()},t}(),HF=function(t){function e(e,r,n){return void 0===n&&(n=!1),t.call(this,e,r,n)||this}return DO(e,t),e.prototype.onButtonClick=function(){},e}(zF),$F=function(){function t(t){this.isShow=!1,this.showTime=0,this.record(t)}return t.prototype.record=function(t){var e=zx.get(t);null==e&&(e=new Set,zx.set(t,e)),e.add(this),Hx.set(this,t)},t.prototype.renderContent=function(t){var e=this.$elem;e.empty(),e.append(t);var r=this.genSelfElem();r&&e.append(r)},t.prototype.appendTo=function(t){var e=this.$elem;t.append(e)},t.prototype.show=function(){if(!this.isShow){this.showTime=Date.now(),this.$elem.show(),this.isShow=!0;var t=Hx.get(this);t&&t.emit("modalOrPanelShow",this)}},t.prototype.hide=function(){if(this.isShow&&!(Date.now()-this.showTime<200)){this.$elem.hide(),this.isShow=!1;var t=Hx.get(this);t&&t.emit("modalOrPanelHide")}},t}(),UF=function(t){function e(e){var r=t.call(this,e)||this;return r.type="dropPanel",r.$elem=og('<div class="w-e-drop-panel"></div>'),r}return DO(e,t),e.prototype.genSelfElem=function(){return null},e}($F),VF=function(t){function e(e,r,n){void 0===n&&(n=!1);var o=t.call(this,e,r,n)||this;if(o.dropPanel=null,o.menu=r,r.showDropPanel){var i=_F();o.$button.append(i)}return o}return DO(e,t),e.prototype.onButtonClick=function(){this.menu.showDropPanel&&this.handleDropPanel()},e.prototype.handleDropPanel=function(){var t=this.menu;if(null!=t.getPanelContentElem){var e=tR(this);if(null==this.dropPanel){var r=new UF(e),n=t.getPanelContentElem(e);r.renderContent(n),r.appendTo(this.$elem),r.show(),this.dropPanel=r}else{var o=this.dropPanel;o.isShow?o.hide():(n=t.getPanelContentElem(e),o.renderContent(n),o.show())}var i=this.dropPanel;if(i.isShow){var u=this.$elem,a=u.offset().left,s=u.parents(".w-e-bar");a-s.offset().left>=s.width()/2?i.$elem.css({left:"none",right:"0"}):i.$elem.css({left:"0",right:"none"})}}},e}(zF),GF=function(t){function e(e,r){void 0===r&&(r=0);var n=t.call(this,e)||this;n.type="modal",n.$elem=og('<div class="w-e-modal"></div>'),n.width=0,r&&(n.width=r);var o=n.$elem;return o.on("click",function(t){return t.stopPropagation()}),o.on("keyup",function(t){"Escape"===t.code&&(n.hide(),e.restoreSelection())}),n}return DO(e,t),e.prototype.genSelfElem=function(){var t=this,e=og('<span class="btn-close">'.concat('<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>")),r=Hx.get(this);return e.on("click",function(){t.hide(),null==r||r.restoreSelection()}),e},e.prototype.setStyle=function(t){var e=this.width,r=this.$elem;r.attr("style",""),e&&r.css("width","".concat(e,"px")),r.css(t)},e}($F);function WF(t,e,r){var n=og('<label class="babel-container"></label>');n.append("<span>".concat(t,"</span>"));var o=og('<input type="text" id="'.concat(e,'" placeholder="').concat(r||"",'">'));return n.append(o),[n[0],o[0]]}function qF(t,e,r){var n=og('<label class="babel-container"></label>');n.append("<span>".concat(t,"</span>"));var o=og('<textarea type="text" id="'.concat(e,'" placeholder="').concat(r||"",'"></textarea>'));return n.append(o),[n[0],o[0]]}function KF(t,e){var r=og('<div class="button-container"></div>'),n=og('<button type="button" id="'.concat(t,'">').concat(e,"</button>"));return r.append(n),[r[0],n[0]]}var YF=function(t){function e(e,r,n){void 0===n&&(n=!1);var o=t.call(this,e,r,n)||this;return o.$body=og("body"),o.modal=null,o.menu=r,o}return DO(e,t),e.prototype.onButtonClick=function(){this.menu.showModal&&this.handleModal()},e.prototype.getPosition=function(){var t=tR(this),e=this.menu.getModalPositionNode(t);return $h.isElement(e)?LI(t,e,"modal"):RI(t)},e.prototype.handleModal=function(){var t=tR(this),e=this.menu;if(null==this.modal){var r=new GF(t,e.modalWidth);this.renderAndShowModal(r,!0),this.modal=r}else(r=this.modal).isShow?r.hide():this.renderAndShowModal(r,!1)},e.prototype.renderAndShowModal=function(t,e){void 0===e&&(e=!1);var r=tR(this),n=this.menu;if(null!=n.getModalContentElem){var o=SB.getTextarea(r),i=SB.getToolbar(r),u=((null==i?void 0:i.getConfig())||{}).modalAppendToBody,a=n.getModalContentElem(r);if(t.renderContent(a),u)t.setStyle({left:"0",right:"0"});else{var s=this.getPosition();t.setStyle(s)}e&&(u?t.appendTo(this.$body):t.appendTo(o.$textAreaContainer)),t.show(),u||_I(r,t.$elem),setTimeout(function(){r.blur()})}},e}(zF),XF=function(t){function e(e,r){var n=t.call(this,e)||this;return n.type="selectList",n.$elem=og('<div class="w-e-select-list"></div>'),r&&n.$elem.css("width","".concat(r,"px")),n.$elem.on("click",function(t){t.stopPropagation()}),n}return DO(e,t),e.prototype.renderList=function(t){var e=this.$elem;e.empty();var r=og("<ul></ul>");t.forEach(function(t){var e=t.value,n=t.text,o=t.selected,i=t.styleForRenderMenuList,u=og('<li data-value="'.concat(e,'"></li>'));if(i&&u.css(i),o){var a=og('<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>');u.append(a),u.addClass("selected")}u.append(og('<span data-value="'.concat(e,'">').concat(n,"</span>"))),u.attr("title",n),r.append(u)}),e.append(r)},e.prototype.genSelfElem=function(){return null},e}($F),JF=function(){function t(t,e,r){void 0===r&&(r=!1);var n=this;this.$elem=og('<div class="w-e-bar-item"></div>'),this.$button=og('<button type="button" class="select-button"></button>'),this.disabled=!1,this.selectList=null;var o=e.tag,i=e.title,u=e.width,a=e.iconSvg,s=void 0===a?"":a,c=e.hotkey,l=void 0===c?"":c;if("select"!==o)throw new Error("Invalid tag '".concat(o,"', expected 'select'"));var f=this.$button;u&&f.css("width","".concat(u,"px")),f.attr("data-menu-key",t),MF(f,s,i,l,r),this.$elem.append(f),this.menu=e,DP(function(){return n.init()})}return t.prototype.init=function(){var t=this;this.setSelectedValue(),this.$button.on("click",function(e){e.preventDefault(),tR(t).hidePanelOrModal(),t.trigger()})},t.prototype.trigger=function(){var t=this,e=tR(this);if(!e.isDisabled()&&!this.disabled){var r=this.menu;if(null==this.selectList){this.selectList=new XF(e,r.selectPanelWidth);var n=this.selectList,o=r.getOptions(e);n.renderList(o),n.appendTo(this.$elem),n.show(),n.$elem.on("click","li",function(e){var r=e.target;if(null!=r){e.preventDefault();var n=og(r).attr("data-value");t.onChange(n)}})}else(n=this.selectList).isShow?n.hide():(o=r.getOptions(e),n.renderList(o),n.show())}},t.prototype.onChange=function(t){var e=tR(this),r=this.menu;r.exec&&r.exec(e,t)},t.prototype.setSelectedValue=function(){var t=tR(this),e=this.menu,r=e.getValue(t),n=function(t,e){for(var r=t.length,n="",o=0;o<r;o++){var i=t[o];if(i.value===e){n=i.text;break}}return n}(e.getOptions(t),r.toString()),o=this.$button,i=_F();o.empty(),o.text(n),o.append(i)},t.prototype.setDisabled=function(){var t=tR(this),e=this.menu.isDisabled(t),r=this.$button;(null==t.selection||t.isDisabled())&&(e=!0);var n="disabled";e?r.addClass(n):r.removeClass(n),this.disabled=e},t.prototype.changeMenuState=function(){this.setSelectedValue(),this.setDisabled()},t}(),ZF=function(){function t(t){this.$elem=og('<div class="w-e-bar-item w-e-bar-item-group"></div>'),this.$container=og('<div class="w-e-bar-item-menus-container"></div>'),this.$button=og('<button type="button"></button>');var e=t.key,r=t.iconSvg,n=t.title,o=this.$elem,i=this.$button;if(r){var u=og(r);LF(u),i.append(u)}else i.text(n);i.attr("data-menu-key",e);var a=_F();i.append(a),o.append(i);var s=this.$container;o.append(s);var c=this.createObserver();this.observe(c)}return t.prototype.appendBarItem=function(t){var e=t.$elem;this.$container.append(e)},t.prototype.observe=function(t){var e=this.$container;t.observe(e[0],{childList:!0,subtree:!0,attributes:!0})},t.prototype.createObserver=function(){var t=this,e=this.$container,r=this.$button,n=new MutationObserver(function(){var o=e.find("button"),i=o.length;if(0!==i){var u=0;o.each(function(t){og(t).hasClass("disabled")&&u++}),n.disconnect(),u===i?r.addClass("disabled"):r.removeClass("disabled"),t.observe(n)}});return n},t}(),QF=new WeakMap;function tR(t){var e=Mx.get(t);if(null==e)throw new Error("Can not get editor instance");return e}function eR(t,e,r){void 0===r&&(r=!1);var n=QF.get(e);if(n)return n;var o=e.tag;if("button"===o){var i=e.showDropPanel,u=e.showModal;n=i?new VF(t,e,r):u?new YF(t,e,r):new HF(t,e,r)}if("select"===o&&(n=new JF(t,e,r)),null==n)throw new Error("Invalid tag in menu ".concat(JSON.stringify(e)));return QF.set(e,n),n}function rR(t,e){var r=t.selection;return null!=r&&!dv.isCollapsed(r)&&!SB.getSelectedElems(t).some(function(e){if(t.isVoid(e))return!0;var r=e.type;return!!["pre","code","table"].includes(r)})&&!!wv.isText(e)}var nR,oR=function(){function t(){var t=this;this.$elem=og('<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.lngListen=function(){},this.changeHoverbarState=Kg(function(){var e=t.isShow,r=t.getSelectedNodeAndMenuKeys()||{},n=r.node,o=void 0===n?null:n,i=r.menuKeys,u=void 0===i?[]:i,a=t.getEditorInstance();if(null!=o&&t.changeItemsState(),o&&$h.isElement(o)&&e){var s=t.isSamePath(o,t.prevSelectedNode);if(!Kh.isBlock(a,o)&&s)return}t.hideAndClean(),null!=o&&(t.registerItems(u),t.setPosition(o),t.show()),t.prevSelectedNode=o},200),DP(function(){var e=t.getEditorInstance(),r=t.$elem;r.on("mousedown",function(t){return t.preventDefault()},{passive:!1}),SB.getTextarea(e).$textAreaContainer.append(r),e.on(PO,t.changeHoverbarState);var n=t.hideAndClean.bind(t);e.on(BO,n),e.on("fullscreen",n),e.on("unFullScreen",n)}),this.lngListen=FF(function(){t.menus={},t.hideAndClean(),t.getEditorInstance().deselect()})}return t.prototype.getMenus=function(){return this.menus},t.prototype.hideAndClean=function(){var t=this.$elem;t.removeClass("w-e-bar-show").addClass("w-e-bar-hidden"),this.hoverbarItems=[],t.empty(),this.isShow=!1},t.prototype.checkPositionBottom=function(){var t=this.$elem,e=!1,r="undefined"!=typeof window?window.innerHeight:null;r&&r>=360&&r-t[0].getBoundingClientRect().bottom<360&&(e=!0),e?t.addClass("w-e-bar-bottom"):t.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 t=this;DP(function(){t.hoverbarItems.forEach(function(t){t.changeMenuState()})})},t.prototype.registerItems=function(t){var e=this,r=this.$elem;t.forEach(function(t){if("|"!==t)e.registerSingleItem(t);else{var n=jF();r.append(n)}})},t.prototype.registerSingleItem=function(t){var e=this.getEditorInstance(),r=this.menus,n=r[t];if(null==n){var o=IO[t];if(null==o)throw new Error("Not found menu item factory by key '".concat(t,"'"));if("function"!=typeof o)throw new Error("Menu item factory (key='".concat(t,"') is not a function"));n=o(),r[t]=n}var i=e.getMenuConfig(t);i&&void 0!==i.iconSvg&&(n.iconSvg=i.iconSvg);var u=eR(t,n);this.hoverbarItems.push(u),Mx.set(u,e),this.$elem.append(u.$elem)},t.prototype.setPosition=function(t){var e=this.getEditorInstance(),r=this.$elem;if(r.attr("style",""),$h.isElement(t)){var n=LI(e,t,"bar");return r.css(n),void _I(e,r)}if(wv.isText(t))return n=RI(e),r.css(n),void _I(e,r);throw new Error("hoverbar.setPosition error, current selected node is not elem nor text")},t.prototype.getSelectedNodeAndMenuKeys=function(){var t=this.getEditorInstance();if(null==t.selection)return null;var e=this.getHoverbarKeysConf(),r=null,n=[],o=function(o){var i=e[o],u=i.match,a=i.menuKeys,s=void 0===a?[]:a,c=u||function(t,e){return SB.checkNodeType(e,o)},l=xO(Kh.nodes(t,{match:function(e){return c(t,e)},universal:!0}),1),f=l[0];if(null!=f)return r=f[0],n=s,"break"};for(var i in e)if("break"===o(i))break;return null==r||0===n.length?null:{node:r,menuKeys:n}},t.prototype.getEditorInstance=function(){var t=_x.get(this);if(null==t)throw new Error("Can not get editor instance");return t},t.prototype.getHoverbarKeysConf=function(){var t=this.getEditorInstance().getConfig().hoverbarKeys,e=void 0===t?{}:t,r=e.text;return r&&null==r.match&&(r.match=rR),e},t.prototype.isSamePath=function(t,e){if(null==t||null==e)return!1;var r=SB.findPath(null,t),n=SB.findPath(null,e);return ov.equals(r,n)},t.prototype.destroy=function(){var t;this.changeHoverbarState.cancel(),this.$elem.remove(),null===(t=this.lngListen)||void 0===t||t.call(this),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null},t}(),iR={};function uR(t,e){return NP(e)&&SB.hasDOMNode(t,e,{editable:!0})}function aR(t,e){if(t.getConfig().readOnly)return!1;var r=sR(t,e)&&SB.toSlateNode(t,e);return Kh.isVoid(t,r)}function sR(t,e){return NP(e)&&SB.hasDOMNode(t,e)}!function(){if(nR)return iR;nR=1;var t,e=ND(),r=fO(),n=$S().f,o=GC(),i=BA(),u=NT(),a=Gw(),s=kT(),c=kS(),l=r("".slice),f=Math.min,d=s("startsWith");e({target:"String",proto:!0,forced:!(!c&&!d&&(t=n(String.prototype,"startsWith"),t&&!t.writable)||d)},{startsWith:function(t){var e=i(a(this));u(t);var r=o(f(arguments.length>1?arguments[1]:void 0,e.length)),n=i(t);return l(e,r,r+n.length)===n}})}();const cR=t=>"object"==typeof t&&null!=t&&1===t.nodeType,lR=(t,e)=>(!e||"hidden"!==t)&&"visible"!==t&&"clip"!==t,fR=(t,e)=>{if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){const r=getComputedStyle(t,null);return lR(r.overflowY,e)||lR(r.overflowX,e)||(t=>{const e=(t=>{if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}})(t);return!!e&&(e.clientHeight<t.scrollHeight||e.clientWidth<t.scrollWidth)})(t)}return!1},dR=(t,e,r,n,o,i,u,a)=>i<t&&u>e||i>t&&u<e?0:i<=t&&a<=r||u>=e&&a>=r?i-t-n:u>e&&a<r||i<t&&a>r?u-e+o:0,pR=t=>{const e=t.parentElement;return null==e?t.getRootNode().host||null:e},hR=(t,e)=>{var r,n,o,i;if("undefined"==typeof document)return[];const{scrollMode:u,block:a,inline:s,boundary:c,skipOverflowHiddenElements:l}=e,f="function"==typeof c?c:t=>t!==c;if(!cR(t))throw new TypeError("Invalid target");const d=document.scrollingElement||document.documentElement,p=[];let h=t;for(;cR(h)&&f(h);){if(h=pR(h),h===d){p.push(h);break}null!=h&&h===document.body&&fR(h)&&!fR(document.documentElement)||null!=h&&fR(h,l)&&p.push(h)}const v=null!=(n=null==(r=window.visualViewport)?void 0:r.width)?n:innerWidth,g=null!=(i=null==(o=window.visualViewport)?void 0:o.height)?i:innerHeight,{scrollX:y,scrollY:m}=window,{height:b,width:E,top:w,right:S,bottom:C,left:D}=t.getBoundingClientRect(),{top:O,right:A,bottom:x,left:T}=(t=>{const e=window.getComputedStyle(t);return{top:parseFloat(e.scrollMarginTop)||0,right:parseFloat(e.scrollMarginRight)||0,bottom:parseFloat(e.scrollMarginBottom)||0,left:parseFloat(e.scrollMarginLeft)||0}})(t);let N="start"===a||"nearest"===a?w-O:"end"===a?C+x:w+b/2-O+x,k="center"===s?D+E/2-T+A:"end"===s?S+A:D-T;const P=[];for(let t=0;t<p.length;t++){const e=p[t],{height:r,width:n,top:o,right:i,bottom:c,left:l}=e.getBoundingClientRect();if("if-needed"===u&&w>=0&&D>=0&&C<=g&&S<=v&&(e===d&&!fR(e)||w>=o&&C<=c&&D>=l&&S<=i))return P;const f=getComputedStyle(e),h=parseInt(f.borderLeftWidth,10),O=parseInt(f.borderTopWidth,10),A=parseInt(f.borderRightWidth,10),x=parseInt(f.borderBottomWidth,10);let T=0,B=0;const I="offsetWidth"in e?e.offsetWidth-e.clientWidth-h-A:0,F="offsetHeight"in e?e.offsetHeight-e.clientHeight-O-x:0,R="offsetWidth"in e?0===e.offsetWidth?0:n/e.offsetWidth:0,L="offsetHeight"in e?0===e.offsetHeight?0:r/e.offsetHeight:0;if(d===e)T="start"===a?N:"end"===a?N-g:"nearest"===a?dR(m,m+g,g,O,x,m+N,m+N+b,b):N-g/2,B="start"===s?k:"center"===s?k-v/2:"end"===s?k-v:dR(y,y+v,v,h,A,y+k,y+k+E,E),T=Math.max(0,T+m),B=Math.max(0,B+y);else{T="start"===a?N-o-O:"end"===a?N-c+x+F:"nearest"===a?dR(o,c,r,O,x+F,N,N+b,b):N-(o+r/2)+F/2,B="start"===s?k-l-h:"center"===s?k-(l+n/2)+I/2:"end"===s?k-i+A+I:dR(l,i,n,h,A+I,k,k+E,E);const{scrollLeft:t,scrollTop:u}=e;T=0===L?0:Math.max(0,Math.min(u+T/L,e.scrollHeight-r/L+F)),B=0===R?0:Math.max(0,Math.min(t+B/R,e.scrollWidth-n/R+I)),N+=u-T,k+=t-B}P.push({el:e,top:T,left:B})}return P};function vR(t,e,r){void 0===r&&(r=!1);var n=e.selection,o=e.getConfig(),i=SB.findDocumentOrShadowRoot(e).getSelection();if(i&&(!t.isComposing||r)&&e.isFocused()){var u="None"!==i.type;if(n||u){var a=Xx.get(e),s=!1;if(a.contains(i.anchorNode)&&a.contains(i.focusNode)&&(s=!0),u&&s&&n){var c=SB.toSlateRange(e,i,{exactMatch:!0,suppressThrow:!0});if(c&&dv.equals(c,n)){var l=!0;if(dv.isCollapsed(n)){var f=i.anchorNode,d=i.anchorOffset;if(f===a){var p=a.childNodes,h=void 0;(h=p[d])&&h.matches("table")&&(l=!1),(h=p[d-1])&&h.matches("table")&&(l=!1)}}if(l)return}}if(!n||SB.hasRange(e,n)){t.isUpdatingSelection=!0;var v=n&&SB.toDOMRange(e,n);if(v){dv.isBackward(n)?i.setBaseAndExtent(v.endContainer,v.endOffset,v.startContainer,v.startOffset):i.setBaseAndExtent(v.startContainer,v.startOffset,v.endContainer,v.endOffset);var g=v.startContainer.parentElement;if(!g.closest("[data-slate-spacer]")&&v.getBoundingClientRect){g.getBoundingClientRect=v.getBoundingClientRect.bind(v);var y=document.body;(function(t,e){if(!t.isConnected||!(t=>{let e=t;for(;e&&e.parentNode;){if(e.parentNode===document)return!0;e=e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}return!1})(t))return;const r=(t=>{const e=window.getComputedStyle(t);return{top:parseFloat(e.scrollMarginTop)||0,right:parseFloat(e.scrollMarginRight)||0,bottom:parseFloat(e.scrollMarginBottom)||0,left:parseFloat(e.scrollMarginLeft)||0}})(t);if((t=>"object"==typeof t&&"function"==typeof t.behavior)(e))return e.behavior(hR(t,e));const n="boolean"==typeof e||null==e?void 0:e.behavior;for(const{el:o,top:i,left:u}of hR(t,(t=>!1===t?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&0!==Object.keys(t).length)(t)?t:{block:"start",inline:"nearest"})(e))){const t=i-r.top+r.bottom,e=u-r.left+r.right;o.scroll({top:t,left:e,behavior:n})}})(g,{scrollMode:"if-needed",boundary:o.scroll?a.parentElement:y,block:"end",behavior:"smooth"}),delete g.getBoundingClientRect}}else i.removeAllRanges();setTimeout(function(){v&&gB&&a.focus(),t.isUpdatingSelection=!1})}else e.selection=SB.toSlateRange(e,i,{exactMatch:!1,suppressThrow:!1})}}}var gR=new WeakMap,yR=new WeakMap,mR={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"},bR={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"},ER={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},wR=function(t){var e=mR[t],r=bR[t],n=ER[t],o=e&&Qg.isKeyHotkey(e),i=r&&Qg.isKeyHotkey(r),u=n&&Qg.isKeyHotkey(n);return function(t){return!(!o||!o(t))||!!(vB&&i&&i(t))||!(vB||!u||!u(t))}},SR={isBold:wR("bold"),isCompose:wR("compose"),isMoveBackward:wR("moveBackward"),isMoveForward:wR("moveForward"),isDeleteBackward:wR("deleteBackward"),isDeleteForward:wR("deleteForward"),isDeleteLineBackward:wR("deleteLineBackward"),isDeleteLineForward:wR("deleteLineForward"),isDeleteWordBackward:wR("deleteWordBackward"),isDeleteWordForward:wR("deleteWordForward"),isExtendBackward:wR("extendBackward"),isExtendForward:wR("extendForward"),isExtendLineBackward:wR("extendLineBackward"),isExtendLineForward:wR("extendLineForward"),isItalic:wR("italic"),isMoveLineBackward:wR("moveLineBackward"),isMoveLineForward:wR("moveLineForward"),isMoveWordBackward:wR("moveWordBackward"),isMoveWordForward:wR("moveWordForward"),isRedo:wR("redo"),isSplitBlock:wR("splitBlock"),isTransposeCharacter:wR("transposeCharacter"),isUndo:wR("undo"),isTab:wR("tab"),isSelectAll:wR("selectAll")};function CR(t){t.preventDefault()}var DR,OR,AR,xR={beforeinput:function(t,e,r){var n=t,o=r.getConfig().readOnly;if(wB&&!o&&uR(r,n.target)){var i=r.selection,u=n.inputType,a=n.dataTransfer||n.data||void 0;if("insertCompositionText"!==u&&"deleteCompositionText"!==u){if(n.preventDefault(),!u.startsWith("delete")||u.startsWith("deleteBy")){var s=xO(n.getTargetRanges(),1)[0];if(s){var c=SB.toSlateRange(r,s,{exactMatch:!1,suppressThrow:!1});i&&dv.equals(i,c)||zv.select(r,c)}}if(i&&dv.isExpanded(i)){var l=SB.getSelectedElems(r),f="table"===l[0].type,d="table-cell"!==l[l.length-1].type;if(f&&d)return;if(u.startsWith("delete")){var p=u.endsWith("Backward")?"backward":"forward";return void Kh.deleteFragment(r,{direction:p})}}switch(u){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":Kh.deleteFragment(r);break;case"deleteContent":case"deleteContentForward":Kh.deleteForward(r);break;case"deleteContentBackward":Kh.deleteBackward(r);break;case"deleteEntireSoftLine":Kh.deleteBackward(r,{unit:"line"}),Kh.deleteForward(r,{unit:"line"});break;case"deleteHardLineBackward":Kh.deleteBackward(r,{unit:"block"});break;case"deleteSoftLineBackward":Kh.deleteBackward(r,{unit:"line"});break;case"deleteHardLineForward":Kh.deleteForward(r,{unit:"block"});break;case"deleteSoftLineForward":Kh.deleteForward(r,{unit:"line"});break;case"deleteWordBackward":Kh.deleteBackward(r,{unit:"word"});break;case"deleteWordForward":Kh.deleteForward(r,{unit:"word"});break;case"insertLineBreak":case"insertParagraph":Kh.insertBreak(r);break;case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if("insertFromPaste"===u&&!iT.get(r))break;!function(t){return"[object DataTransfer]"===AP(t)}(a)?"string"==typeof a&&Kh.insertText(r,a):r.insertData(a)}}}},blur:function(t,e,r){var n=t,o=e.isUpdatingSelection,i=e.latestElement;if(!r.getConfig().readOnly&&!o&&uR(r,n.target)){var u=SB.findDocumentOrShadowRoot(r);if(i!==u.activeElement){var a=n.relatedTarget;if(!(a===SB.toDOMNode(r,r)||PP(a)&&a.hasAttribute("data-slate-spacer"))){if(null!=a&&NP(a)&&SB.hasDOMNode(r,a)){var s=SB.toSlateNode(r,a);if($h.isElement(s)&&!r.isVoid(s))return}if(yB){var c=u.getSelection();null==c||c.removeAllRanges()}rT.delete(r)}}}},focus:function(t,e,r){var n=SB.toDOMNode(r,r),o=SB.findDocumentOrShadowRoot(r);e.latestElement=o.activeElement,gB&&t.target!==n?n.focus():rT.set(r,!0)},click:function(t,e,r){if(!r.getConfig().readOnly&&sR(r,t.target)&&NP(t.target)){var n=SB.toSlateNode(r,t.target),o=SB.findPath(r,n);if(Kh.hasPath(r,o)&&tv.get(r,o)===n){var i=Kh.start(r,o),u=Kh.end(r,o),a=Kh.void(r,{at:i}),s=Kh.void(r,{at:u});if(a&&s&&ov.equals(a[1],s[1])){var c=Kh.range(r,i);zv.select(r,c)}}}},compositionstart:function(t,e,r){if(uR(r,t.target)){var n=r.selection;if(n&&dv.isExpanded(n)&&(Kh.deleteFragment(r),Promise.resolve().then(function(){vR(e,r,!0)})),r.selection){var o=SB.toDOMRange(r,r.selection).startContainer,i=o.textContent||"";gR.set(r,i),yR.set(r,o)}e.isComposing=!0,function(t,e){var r;e.getConfig().placeholder&&e.isEmpty()&&t.showPlaceholder&&(null===(r=t.$placeholder)||void 0===r||r.hide(),t.showPlaceholder=!1)}(e,r)}},compositionend:function(t,e,r){var n=t;if(uR(r,n.target)){e.isComposing=!1;var o=r.selection;if(null!=o){(EB||gB)&&SB.cleanExposedTexNodeInSelectionBlock(r);for(var i=dv.isBackward(o)?o.focus:o.anchor,u=xO(Kh.node(r,[i.path[0]]),1)[0],a=0;a<i.path.length;a+=1){var s=xO(Kh.node(r,i.path.slice(0,a+1)),1)[0];if($h.isElement(s)&&((yB||gB)&&"link"===s.type||"code"===s.type)){SB.setNewKey(u);break}}var c=n.data;if(c){if(r.getConfig().maxLength){var l=SB.getLeftLengthOfMaxLength(r);if(l<c.length){var f=SB.toDOMRange(r,o);f.startContainer.nodeType===Node.TEXT_NODE&&(f.startContainer.textContent=gR.get(r)||""),l>0&&Kh.insertText(r,c.slice(0,l)),e.changeViewState()}else Kh.insertText(r,c)}else{var d=SB.findDocumentOrShadowRoot(r).getSelection();d&&function(t,e){if(dv.isCollapsed(e)){var r=e.anchor,n=e.focus;if([2,3].includes(r.path.length)&&[2,3].includes(n.path.length)&&(0===r.offset||0===n.offset)){var o=Kh.node(t,r.path),i=0===r.offset?r.path:n.path,u=[i[0],i[1]-1];if(0===i[1])return!1;var a=Kh.node(t,u);if(wv.isText(a[0])&&wv.isText(o[0]))return!0}}}(r,o)&&(r.selection=SB.toSlateRange(r,d,{exactMatch:!1,suppressThrow:!1})),Kh.insertText(r,c)}yB||setTimeout(function(){var t=r.selection;if(null!=t){var e=yR.get(r);null!=e&&SB.toDOMRange(r,t).startContainer!==e&&(e.textContent=gR.get(r)||"")}})}}}},compositionupdate:function(t,e,r){uR(r,t.target)&&(e.isComposing=!0)},keydown:function(t,e,r){var n=t,o=r.selection;if(!r.getConfig().readOnly&&!e.isComposing&&uR(r,n.target)){if(function(t,e){var r=Lx.get(t),n=r&&r.getMenus(),o=jx.get(t),i=o&&o.getMenus(),u=OO(OO({},n),i);for(var a in u){var s=u[a],c=s.hotkey;if(c&&Qg.isHotkey(c,e)&&!s.isDisabled(t)){var l=s.getValue(t);s.exec(t,l)}}}(r,n),SR.isTab(n))return CR(n),void r.handleTab();if(SR.isRedo(n))return CR(n),void("function"==typeof r.redo&&r.redo());if(SR.isUndo(n))return CR(n),void("function"==typeof r.undo&&r.undo());if(SR.isMoveLineBackward(n))return CR(n),void zv.move(r,{unit:"line",reverse:!0});if(SR.isMoveLineForward(n))return CR(n),void zv.move(r,{unit:"line"});if(SR.isExtendLineBackward(n))return CR(n),void zv.move(r,{unit:"line",edge:"focus",reverse:!0});if(SR.isExtendLineForward(n))return CR(n),void zv.move(r,{unit:"line",edge:"focus"});if(SR.isMoveBackward(n))return CR(n),void(o&&dv.isCollapsed(o)?zv.move(r,{reverse:!0}):zv.collapse(r,{edge:"start"}));if(SR.isMoveForward(n))return CR(n),void(o&&dv.isCollapsed(o)?zv.move(r):zv.collapse(r,{edge:"end"}));if(SR.isMoveWordBackward(n))return CR(n),o&&dv.isExpanded(o)&&zv.collapse(r,{edge:"focus"}),void zv.move(r,{unit:"word",reverse:!0});if(SR.isMoveWordForward(n))return CR(n),o&&dv.isExpanded(o)&&zv.collapse(r,{edge:"focus"}),void zv.move(r,{unit:"word"});if(SR.isSelectAll(n))return CR(n),void r.selectAll();if(wB){if((EB||yB)&&o&&(SR.isDeleteBackward(n)||SR.isDeleteForward(n))&&dv.isCollapsed(o)){var i=tv.parent(r,o.anchor.path);if($h.isElement(i)&&Kh.isVoid(r,i)&&Kh.isInline(r,i))return n.preventDefault(),void zv.delete(r,{unit:"block"})}}else{if(SR.isBold(n)||SR.isItalic(n)||SR.isTransposeCharacter(n))return void CR(n);if(SR.isSplitBlock(n))return CR(n),void Kh.insertBreak(r);if(SR.isDeleteBackward(n))return CR(n),void(o&&dv.isExpanded(o)?Kh.deleteFragment(r,{direction:"backward"}):Kh.deleteBackward(r));if(SR.isDeleteForward(n))return CR(n),void(o&&dv.isExpanded(o)?Kh.deleteFragment(r,{direction:"forward"}):Kh.deleteForward(r));if(SR.isDeleteLineBackward(n))return CR(n),void(o&&dv.isExpanded(o)?Kh.deleteFragment(r,{direction:"backward"}):Kh.deleteBackward(r,{unit:"line"}));if(SR.isDeleteLineForward(n))return CR(n),void(o&&dv.isExpanded(o)?Kh.deleteFragment(r,{direction:"forward"}):Kh.deleteForward(r,{unit:"line"}));if(SR.isDeleteWordBackward(n))return CR(n),void(o&&dv.isExpanded(o)?Kh.deleteFragment(r,{direction:"backward"}):Kh.deleteBackward(r,{unit:"word"}));if(SR.isDeleteWordForward(n))return CR(n),void(o&&dv.isExpanded(o)?Kh.deleteFragment(r,{direction:"forward"}):Kh.deleteForward(r,{unit:"word"}))}}},keypress:function(t,e,r){if(!wB&&!r.getConfig().readOnly&&uR(r,t.target)){t.preventDefault();var n=t.key;Kh.insertText(r,n)}},copy:function(t,e,r){var n=t;if(uR(r,n.target)){r.getConfig().readOnly||n.preventDefault();var o=n.clipboardData;if(null!=o){r.setFragmentData(o);var i=r.getConfig().customCopy;i&&i(r,n)}}},cut:function(t,e,r){var n=t,o=r.selection;if(!r.getConfig().readOnly&&(n.preventDefault(),uR(r,n.target))){var i=n.clipboardData;if(null!=i&&(r.setFragmentData(i),o))if(dv.isExpanded(o))Kh.deleteFragment(r);else{var u=tv.parent(r,o.anchor.path);Kh.isVoid(r,u)&&zv.delete(r)}}},paste:function(t,e,r){iT.set(r,!0);var n=t;if(!r.getConfig().readOnly&&uR(r,n.target)){var o=r.getConfig().customPaste;if(o&&!1===o(r,n))return void iT.set(r,!1);if(yB||!wB||function(t){return t.clipboardData&&""!==t.clipboardData.getData("text/plain")&&1===t.clipboardData.types.length}(n)){n.preventDefault();var i=n.clipboardData;null!=i&&r.insertData(i)}}},dragover:function(t,e,r){if(sR(r,t.target)){var n=SB.toSlateNode(r,t.target);Kh.isVoid(r,n)&&t.preventDefault()}},dragstart:function(t,e,r){var n=t;if(sR(r,n.target)&&!r.getConfig().readOnly){var o=SB.toSlateNode(r,n.target),i=SB.findPath(r,o);if(Kh.isVoid(r,o)||Kh.void(r,{at:i,voids:!0})){var u=Kh.range(r,i);zv.select(r,u)}var a=n.dataTransfer;null!=a&&(SB.getSelectedNodeByType(r,"table")||(e.isDraggingInternally=!0,r.setFragmentData(a)))}},dragend:function(t,e,r){var n=t;r.getConfig().readOnly||e.isDraggingInternally&&sR(r,n.target)&&(e.isDraggingInternally=!1)},drop:function(t,e,r){var n=t,o=n.dataTransfer;if(!r.getConfig().readOnly&&sR(r,n.target)&&null!=o&&!(wB&&yB&&o.files.length>0)){n.preventDefault();var i=r.selection,u=SB.findEventRange(r,n);zv.select(r,u),e.isDraggingInternally&&(i&&zv.delete(r,{at:i}),e.isDraggingInternally=!1),r.insertData(o),r.isFocused()||r.focus()}}},TR={};!function(){if(AR)return TR;AR=1;var t=ND(),e=function(){if(OR)return DR;OR=1;var t=KE(),e=Hw(),r=XE(),n=qE(),o=$D(),i=AD(),u=Mw(),a=FS(),s=Uw(),c=Object.assign,l=Object.defineProperty,f=e([].concat);return DR=!c||n(function(){if(t&&1!==c({b:1},c(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},r={},n=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(t){r[t]=t}),7!==c({},e)[n]||o(c({},r)).join("")!==i})?function(e,n){for(var c=a(e),l=arguments.length,d=1,p=i.f,h=u.f;l>d;)for(var v,g=s(arguments[d++]),y=p?f(o(g),p(g)):o(g),m=y.length,b=0;m>b;)v=y[b++],t&&!r(h,g,v)||(c[v]=g[v]);return c}:c,DR}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var NR=[];var kR={};function PR(t,e,r){return Ry(r.isInline(t)?"span":"div",null,e)}function BR(t,e){return void 0===e&&(e=!1),Ry("span",{"data-slate-string":!0},e?t+"\n":t)}function IR(t,e){return void 0===t&&(t=0),void 0===e&&(e=!1),Ry("span",{"data-slate-zero-width":e?"n":"z","data-slate-length":t},"\ufeff",e?Ry("br",null):null)}function FR(t,e,r,n){return Kx.set(t,e),Yx.set(t,r),$h.isElement(t)?function(t,e){var r,n=SB.findKey(e,t),o=e.isInline(t),i=Kh.isVoid(e,t),u=nB(t.type,n.id),a={id:u,key:n.id,"data-slate-node":"element","data-slate-inline":o},s=t.type,c=t.children,l=void 0===c?[]:c,f=function(t){return kR[t]||PR}(s);r=i?null:l.map(function(r,n){return FR(r,n,t,e)});var d=f(t,r,e);if(i){a["data-slate-void"]=!0;var p=o?"span":"div",h=xO(tv.texts(t),1),v=xO(h[0],1)[0],g=Ry(p,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},FR(v,0,t,e));d=Ry(p,{style:{position:"relative"}},d,g),Kx.set(v,0),Yx.set(v,t)}return null==d.data&&(d.data={}),Object.assign(d.data,a),i||o||(d=function(t,e){var r=e;return NR.forEach(function(n){r=n(t,e)}),r}(t,d)),DP(function(){var e=FP(u);null!=e&&(Zx.set(n,e),Qx.set(t,e),Jx.set(e,t))}),d}(t,n):function(t,e,r){if(null==t.text)throw new Error("Current node is not slate Text ".concat(JSON.stringify(t)));var n=SB.findKey(r,t),o=r.getConfig().decorate;if(null==o)throw new Error("Can not get config.decorate");var i,u=SB.findPath(r,t),a=o([t,u]),s=wv.decorations(t,a),c=s.map(function(n,o){var i=function(t,e,r,n,o){void 0===e&&(e=!1);var i=t.text,u=SB.findPath(o,r),a=ov.parent(u);if(Kh.isEditor(n))throw new Error("Text node ".concat(JSON.stringify(r)," parent is Editor"));return o.isVoid(n)?IR(tv.string(n).length):""!==i||n.children[n.children.length-1]!==r||o.isInline(n)||""!==Kh.string(o,a)?""===i?IR():e&&"\n"===i.slice(-1)?BR(i,!0):BR(i):IR(0,!0)}(n,o===s.length-1,t,e,r);return i=function(t,e){var r=e;return NR.forEach(function(e){r=e(t,r)}),r}(n,i),Ry("span",{"data-slate-leaf":!0},i)}),l=(i=n.id,"w-e-text-".concat(i)),f=Ry("span",{"data-slate-node":"text",id:l,key:n.id},c);return DP(function(){var e=FP(l);null!=e&&(Zx.set(n,e),Qx.set(t,e),Jx.set(e,t))}),f}(t,r,n)}var RR=["props","attrs","style","dataset","on","hook"];function LR(t){var e=t.data,r=void 0===e?{}:e,n=t.children,o=void 0===n?[]:n;Object.keys(r).forEach(function(e){var n,o,i=r[e];if("key"!==e){if(!RR.includes(e)){if(e.startsWith("data-")){var u=e.slice(5);return u=Vy(u),function(t,e){null==t.data&&(t.data={});var r=t.data;null==r.dataset&&(r.dataset={}),Object.assign(r.dataset,e)}(t,((n={})[u]=i,n)),void delete r[e]}!function(t,e){null==t.data&&(t.data={});var r=t.data;null==r.props&&(r.props={}),Object.assign(r.props,e)}(t,(o={},o[e]=i,o)),delete r[e]}}else t.key=i}),o.length>0&&o.forEach(function(t){"string"!=typeof t&&LR(t)})}function _R(t,e){var r,n,o=t.$scroll,i=(r=t.id,"w-e-textarea-".concat(r)),u=e.getConfig(),a=u.readOnly,s=u.autoFocus,c=function(t,e){return void 0===e&&(e=!1),vy("div#".concat(t),{props:{contentEditable:!e}})}(i,a),l=e.children||[];c.children=l.map(function(t,r){if(Wx.has(t)){var n=Wx.get(t);if(n){var o=xO(n,2),i=o[0],u=o[1];if(u)return i!==r&&(Kx.set(t,r),Wx.set(t,[r,u])),u}}var a=FR(t,r,e,e);LR(a);var s=e.getConfig().skipCacheTypes,c=void 0===s?["list-item"]:s;return $h.isElement(t)&&c.includes(t.type)||Wx.set(t,[r,a]),a});var f=Ux.get(t);if(null==f&&(f=!0),f){var d=function(t){return og('<div\n id="'.concat(t,'"\n data-slate-editor\n data-slate-node="value"\n suppressContentEditableWarning\n role="textarea"\n spellCheck="true"\n autoCorrect="true"\n autoCapitalize="true"\n ></div>'))}(i);o.append(d),t.$textArea=d,n=d[0],(h=py([by,Ty,Iy,Sy,Ay,yy]))(n,c),Ux.set(t,!1),Vx.set(t,h)}else{var p=Gx.get(t),h=Vx.get(t);if(null==p||null==h)return;n=p.elm,h(p,c)}if(null!=n||null!=(n=FP(i))){if((f?s:e.isFocused())&&n.focus({preventScroll:!0}),f){var v=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||null}(n);v&&eT.set(e,v)}Xx.set(e,n),Qx.set(e,n),Jx.set(n,e),Gx.set(t,c)}}var jR=1,MR=function(){function t(t){var e=this;this.id=jR++,this.$textArea=null,this.$progressBar=og('<div class="w-e-progress-bar"></div>'),this.$maxLengthInfo=og('<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=Jg(function(){var t=e.editorInstance;!function(t,e){var r=t.isComposing,n=t.isUpdatingSelection,o=t.isDraggingInternally;if(!(e.getConfig().readOnly||r||n||o)){var i=SB.findDocumentOrShadowRoot(e),u=i.activeElement,a=SB.toDOMNode(e,e),s=i.getSelection();if(u!==a)return rT.delete(e),void zv.deselect(e);if(t.latestElement=u,rT.set(e,!0),!s)return zv.deselect(e);var c=s.anchorNode,l=s.focusNode,f=uR(e,c)||aR(e,c),d=uR(e,l)||aR(e,l);if(f&&d){var p=SB.toSlateRange(e,s,{exactMatch:!1,suppressThrow:!1});zv.select(e,p)}}}(e,t)},100);var r=og(t);if(0===r.length)throw new Error("Cannot find textarea DOM by selector '".concat(t,"'"));this.$box=r;var n=og('<div class="w-e-text-container"></div>');n.append(this.$progressBar),n.append(this.$maxLengthInfo),r.append(n);var o=og('<div class="w-e-scroll"></div>');n.append(o),this.$scroll=o,this.$textAreaContainer=n,DP(function(){var t=e.editorInstance,o=SB.getWindow(t);o.document.addEventListener("selectionchange",e.onDOMSelectionChange),t.on(kO,function(){o.document.removeEventListener("selectionchange",e.onDOMSelectionChange)}),n.on("click",function(){return t.hidePanelOrModal()}),t.on(PO,e.changeViewState.bind(e));var i=t.getConfig(),u=i.onChange,a=i.scroll;u&&t.on(PO,function(){return u(t)}),a||(r.css("position","relative"),n.addClass("no-scroll")),e.onFocusAndOnBlur(),t.on(PO,e.changeMaxLengthInfo.bind(e)),e.bindEvent()})}return Object.defineProperty(t.prototype,"editorInstance",{get:function(){var t=Fx.get(this);if(null==t)throw new Error("Can not get editor instance");return t},enumerable:!1,configurable:!0}),t.prototype.bindEvent=function(){var t=this,e=this.$textArea,r=this.$scroll,n=this.editorInstance;null!=e&&(qv(xR,function(r,o){e.on(o,function(e){r(e,t,n)})}),n.getConfig().scroll&&(r.css("overflow-y","auto"),r.on("scroll",Jg(function(){n.emit("scroll")},100))))},t.prototype.onFocusAndOnBlur=function(){var t=this,e=this.editorInstance,r=e.getConfig(),n=r.onBlur,o=r.onFocus;this.latestEditorSelection=e.selection,e.on(PO,function(){null==t.latestEditorSelection&&null!=e.selection?setTimeout(function(){return o&&o(e)}):null!=t.latestEditorSelection&&null==e.selection&&setTimeout(function(){return n&&n(e)}),t.latestEditorSelection=e.selection})},t.prototype.changeMaxLengthInfo=function(){var t=this.editorInstance,e=t.getConfig().maxLength;if(e){var r=e-SB.getLeftLengthOfMaxLength(t);this.$maxLengthInfo[0].innerHTML="".concat(r,"/").concat(e)}},t.prototype.changeProgress=function(t){var e=this.$progressBar;e.css("width","".concat(t,"%")),t>=100&&setTimeout(function(){e.hide(),e.css("width","0"),e.show()},1e3)},t.prototype.changeViewState=function(){var t=this,e=this.editorInstance;_R(this,e),function(t,e){var r,n=e.getConfig().placeholder;if(n){var o=e.isEmpty();if(o&&!t.showPlaceholder&&!t.isComposing){if(null==t.$placeholder){var i=og('<div class="w-e-text-placeholder">'.concat(n,"</div>"));t.$textAreaContainer.append(i),t.$placeholder=i}return t.$placeholder.show(),void(t.showPlaceholder=!0)}!o&&t.showPlaceholder&&(null===(r=t.$placeholder)||void 0===r||r.hide(),t.showPlaceholder=!1)}}(this,e),DP(function(){vR(t,e)})},t.prototype.destroy=function(){this.$textAreaContainer.remove()},t}();function zR(t,e,r,n){if(Kx.set(t,e),Yx.set(t,r),$h.isElement(t)){var o=t.children;if((void 0===o?[]:o).forEach(function(e,r){return zR(e,r,t,n)}),Kh.isVoid(n,t)){var i=xO(tv.texts(t),1),u=xO(i[0],1)[0];Kx.set(u,0),Yx.set(u,t)}}}var HR="Textarea height < 300px. This may cause modal and hoverbar position error",$R="编辑区域高度 < 300px 这可能会导致 modal hoverbar 定位异常";function UR(t){var e,r=t.selector,n=void 0===r?"":r,o=t.config,i=void 0===o?{}:o,u=t.content,a=t.html,s=t.plugins,c=void 0===s?[]:s,l=function(t){return[PI,gI,uT,hI,MI,kI,II,EO].reduce(function(t,e){return e(t)},t)}((e={children:[],operations:[],selection:null,marks:null,isInline:()=>!1,isVoid:()=>!1,onChange:()=>{},apply:t=>{for(var r of Kh.pathRefs(e))iv.transform(r,t);for(var n of Kh.pointRefs(e))cv.transform(n,t);for(var o of Kh.rangeRefs(e))pv.transform(o,t);var i,u,a=oh.get(e)||[],s=ih.get(e)||new Set,c=t=>{if(t){var e=t.join(",");u.has(e)||(u.add(e),i.push(t))}};if(ov.operationCanTransformPath(t))for(var l of(i=[],u=new Set,a))c(ov.transform(l,t));else i=a,u=s;var f=e.getDirtyPaths(t);for(var d of f)c(d);oh.set(e,i),ih.set(e,u),zv.transform(e,t),e.operations.push(t),Kh.normalize(e),"set_selection"===t.type&&(e.marks=null),uh.get(e)||(uh.set(e,!0),Promise.resolve().then(()=>{uh.set(e,!1),e.onChange(),e.operations=[]}))},addMark:(t,r)=>{var{selection:n}=e;if(n)if(dv.isExpanded(n))zv.setNodes(e,{[t]:r},{match:wv.isText,split:!0});else{var o=dh(dh({},Kh.marks(e)||{}),{},{[t]:r});e.marks=o,uh.get(e)||e.onChange()}},deleteBackward:t=>{var{selection:r}=e;r&&dv.isCollapsed(r)&&zv.delete(e,{unit:t,reverse:!0})},deleteForward:t=>{var{selection:r}=e;r&&dv.isCollapsed(r)&&zv.delete(e,{unit:t})},deleteFragment:t=>{var{selection:r}=e;r&&dv.isExpanded(r)&&zv.delete(e,{reverse:"backward"===t})},getFragment:()=>{var{selection:t}=e;return t?tv.fragment(e,t):[]},insertBreak:()=>{zv.splitNodes(e,{always:!0})},insertSoftBreak:()=>{zv.splitNodes(e,{always:!0})},insertFragment:t=>{zv.insertFragment(e,t)},insertNode:t=>{zv.insertNodes(e,t)},insertText:t=>{var{selection:r,marks:n}=e;if(r){if(n){var o=dh({text:t},n);zv.insertNodes(e,o)}else zv.insertText(e,t);e.marks=null}},normalizeNode:t=>{var[r,n]=t;if(!wv.isText(r))if($h.isElement(r)&&0===r.children.length)zv.insertNodes(e,{text:""},{at:n.concat(0),voids:!0});else for(var o=!Kh.isEditor(r)&&$h.isElement(r)&&(e.isInline(r)||0===r.children.length||wv.isText(r.children[0])||e.isInline(r.children[0])),i=0,u=0;u<r.children.length;u++,i++){var a=tv.get(e,n);if(!wv.isText(a)){var s=r.children[u],c=a.children[i-1],l=u===r.children.length-1;(wv.isText(s)||$h.isElement(s)&&e.isInline(s))!==o?(zv.removeNodes(e,{at:n.concat(i),voids:!0}),i--):$h.isElement(s)?e.isInline(s)&&(null!=c&&wv.isText(c)?l&&(zv.insertNodes(e,{text:""},{at:n.concat(i+1),voids:!0}),i++):(zv.insertNodes(e,{text:""},{at:n.concat(i),voids:!0}),i++)):null!=c&&wv.isText(c)&&(wv.equals(s,c,{loose:!0})?(zv.mergeNodes(e,{at:n.concat(i),voids:!0}),i--):""===c.text?(zv.removeNodes(e,{at:n.concat(i-1),voids:!0}),i--):""===s.text&&(zv.removeNodes(e,{at:n.concat(i),voids:!0}),i--))}}},removeMark:t=>{var{selection:r}=e;if(r)if(dv.isExpanded(r))zv.unsetNodes(e,t,{match:wv.isText,split:!0});else{var n=dh({},Kh.marks(e)||{});delete n[t],e.marks=n,uh.get(e)||e.onChange()}},getDirtyPaths:t=>{switch(t.type){case"insert_text":case"remove_text":case"set_node":var{path:e}=t;return ov.levels(e);case"insert_node":var{node:r,path:n}=t,o=ov.levels(n),i=wv.isText(r)?[]:Array.from(tv.nodes(r),t=>{var[,e]=t;return n.concat(e)});return[...o,...i];case"merge_node":var{path:u}=t;return[...ov.ancestors(u),ov.previous(u)];case"move_node":var{path:a,newPath:s}=t;if(ov.equals(a,s))return[];var c=[],l=[];for(var f of ov.ancestors(a)){var d=ov.transform(f,t);c.push(d)}for(var p of ov.ancestors(s)){var h=ov.transform(p,t);l.push(h)}var v=l[l.length-1],g=s[s.length-1],y=v.concat(g);return[...c,...l,y];case"remove_node":var{path:m}=t;return[...ov.ancestors(m)];case"split_node":var{path:b}=t;return[...ov.levels(b),ov.next(b)];default:return[]}}},e));if(n&&function(t,e){return eB(t,"data-w-e-textarea",e)}(l,n))throw new Error("Repeated create editor by selector '".concat(n,"'"));var f=function(t){void 0===t&&(t={});var e=Gv(NO),r={},n=t.MENU_CONF,o=void 0===n?{}:n;return qv(e,function(t,e){r[e]=OO(OO({},t),o[e]||{})}),delete t.MENU_CONF,OO({scroll:!0,readOnly:!1,autoFocus:!0,decorate:function(){return[]},maxLength:0,MENU_CONF:r,hoverbarKeys:{},customAlert:function(t,e){window.alert("".concat(e,":\n").concat(t))}},t)}(i);$x.set(l,f);var d=f.hoverbarKeys,p=void 0===d?{}:d;if(c.forEach(function(t){l=t(l)}),function(t,e){var r=e.html,n=e.content;null!=r?t.children=rB(t,r):n&&n.length&&(t.children=n),0===t.children.length&&(t.children=[{type:"paragraph",children:[{text:""}]}])}(l,{html:a,content:u}),n){var h=new MR(n);Ix.set(l,h),Fx.set(h,l),h.changeViewState(),DP(function(){var t=h.$scroll;null!=t&&t.height()<300&&console.warn("".concat($R,"\n").concat(HR),{element:t,height:t.height()})});var v=void 0;Object.keys(p).length>0&&(v=new oR,_x.set(v,l),jx.set(l,v)),l.on(PO,function(){l.hidePanelOrModal()}),l.on(BO,function(){l.hidePanelOrModal()})}else l.children.forEach(function(t,e){return zR(t,e,l,l)});var g=f.onCreated,y=f.onDestroyed;return g&&l.on("created",function(){return g(l)}),y&&l.on(kO,function(){return y(l)}),DP(function(){return l.emit("created")}),l}var VR,GR,WR,qR,KR,YR={};!function(){if(KR)return YR;KR=1;var t=ND(),e=FS(),r=VC(),n=UC(),o=WC(),i=function(){if(GR)return VR;GR=1;var t=KE(),e=kD(),r=TypeError,n=Object.getOwnPropertyDescriptor,o=t&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();return VR=o?function(t,o){if(e(t)&&!n(t,"length").writable)throw new r("Cannot set read only .length");return t.length=o}:function(t,e){return t.length=e}}(),u=PD(),a=LD(),s=BD(),c=function(){if(qR)return WR;qR=1;var t=rS(),e=TypeError;return WR=function(r,n){if(!delete r[n])throw new e("Cannot delete property "+t(n)+" of "+t(r))}}(),l=_D()("splice"),f=Math.max,d=Math.min;t({target:"Array",proto:!0,forced:!l},{splice:function(t,l){var p,h,v,g,y,m,b=e(this),E=o(b),w=r(t,E),S=arguments.length;for(0===S?p=h=0:1===S?(p=0,h=E-w):(p=S-2,h=d(f(n(l),0),E-w)),u(E+p-h),v=a(b,h),g=0;g<h;g++)(y=w+g)in b&&s(v,g,b[y]);if(v.length=h,p<h){for(g=w;g<E-h;g++)m=g+p,(y=g+h)in b?b[m]=b[y]:c(b,m);for(g=E;g>E-h+p;g--)c(b,g-1)}else if(p>h)for(g=E-h;g>w;g--)m=g+p-1,(y=g+h-1)in b?b[m]=b[y]:c(b,m);for(g=0;g<p;g++)b[g+w]=arguments[g+2];return i(b,E-h+p),v}})}();var XR=function(){function t(t,e){var r=this;this.$toolbar=og('<div class="w-e-bar w-e-bar-show w-e-toolbar"></div>'),this.menus={},this.toolbarItems=[],this.config={},this.lngListen=function(){},this.changeToolbarState=Kg(function(){r.toolbarItems.forEach(function(t){t.changeMenuState()})},200),this.config=e;var n=og(t);if(0===n.length)throw new Error("Cannot find toolbar DOM by selector '".concat(t,"'"));this.$box=n;var o=this.$toolbar;o.on("mousedown",function(t){return t.preventDefault()},{passive:!1}),n.append(o),DP(function(){r.initToolbar(),r.lngListen=FF(function(){return r.initToolbar()}),r.getEditorInstance().on(PO,r.changeToolbarState)})}return t.prototype.getMenus=function(){return this.menus},t.prototype.getConfig=function(){return this.config},t.prototype.initToolbar=function(){this.menus={};var t=this.$toolbar;null==t||t.empty(),this.registerItems(),this.changeToolbarState()},t.prototype.registerItems=function(){var t=this,e="",r=this.$toolbar,n=this.config,o=n.toolbarKeys,i=void 0===o?[]:o,u=n.insertKeys,a=void 0===u?{index:0,keys:[]}:u,s=n.excludeKeys,c=void 0===s?[]:s,l=Gv(i);a.keys.length>0&&("string"==typeof a.keys&&(a.keys=[a.keys]),a.keys.forEach(function(t,e){l.splice(a.index+e,0,t)}));var f=l.filter(function(t){var e="string"==typeof t?t:t.key;return!c.includes(e)}),d=f.length;f.forEach(function(n,o){if("|"===n){if(0===o)return;if(o+1===d)return;if("|"===e)return;var i=jF();return r.append(i),void(e=n)}if("string"==typeof n)return t.registerSingleItem(n,t),void(e=n);t.registerGroup(n),e="group"})},t.prototype.registerGroup=function(t){var e=this,r=this.$toolbar,n=function(t){return new ZF(t)}(t),o=t.menuKeys,i=void 0===o?[]:o,u=this.config.excludeKeys,a=void 0===u?[]:u;i.forEach(function(t){a.includes(t)||e.registerSingleItem(t,n)}),r.append(n.$elem)},t.prototype.registerSingleItem=function(t,e){var r=this.getEditorInstance(),n=e instanceof ZF,o=this.menus,i=o[t];if(null==i){var u=IO[t];if(null==u)throw new Error("Not found menu item factory by key '".concat(t,"'"));if("function"!=typeof u)throw new Error("Menu item factory (key='".concat(t,"') is not a function"));i=u(),o[t]=i}else console.warn("Duplicated toolbar menu key '".concat(t,"'\n重复注册了菜单栏 menu '").concat(t,"'"));var a=r.getMenuConfig(t);a&&void 0!==a.iconSvg&&(i.iconSvg=a.iconSvg);var s=eR(t,i,n);this.toolbarItems.push(s),Mx.set(s,r),n?e.appendBarItem(s):e.$toolbar.append(s.$elem)},t.prototype.getEditorInstance=function(){var t=Rx.get(this);if(null==t)throw new Error("Can not get editor instance");return t},t.prototype.destroy=function(){var t;this.$toolbar.remove(),null===(t=this.lngListen)||void 0===t||t.call(this),this.menus={},this.toolbarItems=[]},t}();var JR,ZR={};function QR(t){var e=t.server,r=void 0===e?"":e,n=t.fieldName,o=void 0===n?"":n,i=t.maxFileSize,u=void 0===i?10485760:i,a=t.maxNumberOfFiles,s=void 0===a?100:a,c=t.meta,l=void 0===c?{}:c,f=t.metaWithUrl,d=void 0!==f&&f,p=t.headers,h=void 0===p?{}:p,v=t.withCredentials,g=void 0!==v&&v,y=t.timeout,m=void 0===y?1e4:y,b=t.onBeforeUpload,E=void 0===b?function(t){return t}:b,w=t.onSuccess,S=void 0===w?function(t,e){}:w,C=t.onError,D=void 0===C?function(t,e,r){console.error("".concat(t.name," upload error"),e,r)}:C,O=t.onProgress,A=void 0===O?function(t){}:O;if(!r)throw new Error("Cannot get upload server address\n没有配置上传地址");if(!o)throw new Error("Cannot get fieldName\n没有配置 fieldName");var x=r;d&&(x=function(t,e){var r=xO(t.split("#"),2),n=r[0],o=r[1],i=[];qv(e,function(t,e){i.push("".concat(e,"=").concat(t))});var u=i.join("&");return n=n.indexOf("?")>0?"".concat(n,"&").concat(u):"".concat(n,"?").concat(u),o?"".concat(n,"#").concat(o):n}(x,l));var T=new Xb(OO({onBeforeUpload:E,restrictions:{maxFileSize:u,maxNumberOfFiles:s},meta:l},t.uppyConfig)).use(BE,OO({endpoint:x,headers:h,formData:!0,fieldName:o,bundle:!0,withCredentials:g,timeout:m},t.xhrConfig));return T.on("complete",function(t){var e=t.successful[0],r=e.response,n=(null!=r?r:{}).body,o=void 0===n?{}:n;try{S(e,o)}catch(t){console.error("wangEditor upload file - onSuccess error",t)}}),T.on("progress",function(t){t<1||A(t)}),T.on("upload-error",function(t,e,r){try{D(t,e,r)}catch(t){console.error("wangEditor upload file - onError error",t)}}),T.on("restriction-failed",function(t,e){try{D(t,e)}catch(t){console.error("wangEditor upload file - onError error",t)}}),T}!function(){if(JR)return ZR;JR=1;var t=KE(),e=yC().EXISTS,r=Hw(),n=rN(),o=Function.prototype,i=r(o.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,a=r(u.exec);t&&!e&&n(o,"name",{configurable:!0,get:function(){try{return a(u,i(this))[1]}catch(t){return""}}})}();PF("en",{editor:{more:"More",justify:"Justify",indent:"Indent",image:"Image",video:"Video"}}),PF("zh-CN",{editor:{more:"更多",justify:"对齐",indent:"缩进",image:"图片",video:"视频"}});var tL,eL,rL,nL,oL,iL,uL,aL,sL,cL,lL,fL,dL,pL,hL,vL={};function gL(){if(eL)return tL;eL=1;var t=D();return tL=Array.isArray||function(e){return"Array"===t(e)}}function yL(){if(nL)return rL;nL=1;var t=C(),e=w(),r=yt(),n=kn(),o=He(),i=Dr(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!r(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,rL=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function mL(){if(iL)return oL;iL=1;var t=gL(),e=yL(),r=mt(),n=gt()("species"),o=Array;return oL=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||r(u)&&null===(u=u[n]))&&(u=void 0)),void 0===u?o:u},oL}function bL(){if(aL)return uL;aL=1;var t=mL();return uL=function(e,r){return new(t(e))(0===r?0:r)}}function EL(){if(fL)return lL;fL=1;var t=w();return lL=function(e,r){var n=[][e];return!!n&&t(function(){n.call(null,r||function(){return 1},1)})}}function wL(){if(pL)return dL;pL=1;var t=function(){if(cL)return sL;cL=1;var t=Wo(),e=C(),r=O(),n=lt(),o=Ze(),i=bL(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=n(h),w=r(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return sL={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}().forEach,e=EL()("forEach");return dL=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},dL}!function(){if(hL)return vL;hL=1;var t=N(),e=li(),r=fi(),n=wL(),o=sr(),i=function(t){if(t&&t.forEach!==n)try{o(t,"forEach",n)}catch(e){t.forEach=n}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(r)}(),PF("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",cancelTitle:"Cancel full screen"},header:{title:"Header",text:"Text"},image:{netImage:"Net image",delete:"Delete image",edit:"Edit image",editSize:"Edit size",viewLink:"View link",src:"Image src",desc:"Description",link:"Image link",ok:"Ok",width:"Width",height:"Height"},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"},formatPainter:{title:"Format Painter"}}),PF("zh-CN",{common:{ok:"确定",delete:"删除",enter:"回车"},blockQuote:{title:"引用"},codeBlock:{title:"代码块"},color:{color:"文字颜色",bgColor:"背景色",default:"默认颜色",clear:"清除背景色"},divider:{title:"分割线"},emotion:{title:"表情"},fontSize:{title:"字号",default:"默认字号"},fontFamily:{title:"字体",default:"默认字体"},fullScreen:{title:"全屏",cancelTitle:"取消全屏"},header:{title:"标题",text:"正文"},image:{netImage:"网络图片",delete:"删除图片",edit:"编辑图片",editSize:"修改尺寸",viewLink:"查看链接",src:"图片地址",desc:"图片描述",link:"图片链接",ok:"确定",width:"宽度",height:"高度"},indent:{decrease:"减少缩进",increase:"增加缩进"},justify:{left:"左对齐",right:"右对齐",center:"居中对齐",justify:"两端对齐"},lineHeight:{title:"行高",default:"默认行高"},link:{insert:"插入链接",text:"链接文本",url:"链接地址",unLink:"取消链接",edit:"修改链接",view:"查看链接"},textStyle:{bold:"粗体",clear:"清除格式",code:"行内代码",italic:"斜体",sub:"下标",sup:"上标",through:"删除线",underline:"下划线"},undo:{undo:"撤销",redo:"重做"},todo:{todo:"待办"},formatPainter:{title:"格式刷"}});var SL="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function CL(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var DL,OL,AL={};function xL(){if(OL)return DL;OL=1;var t=function(t){return t&&t.Math===Math&&t};return DL=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof SL&&SL)||t("object"==typeof DL&&DL)||function(){return this}()||Function("return this")()}var TL,NL,kL,PL,BL,IL,FL,RL,LL={};function _L(){return NL?TL:(NL=1,TL=function(t){try{return!!t()}catch(t){return!0}})}function jL(){if(PL)return kL;PL=1;var t=_L();return kL=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function ML(){if(IL)return BL;IL=1;var t=_L();return BL=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function zL(){if(RL)return FL;RL=1;var t=ML(),e=Function.prototype.call;return FL=t?e.bind(e):function(){return e.apply(e,arguments)},FL}var HL,$L,UL,VL,GL,WL,qL,KL,YL,XL,JL,ZL,QL,t_,e_,r_,n_,o_,i_,u_,a_,s_,c_,l_,f_,d_,p_,h_,v_,g_,y_,m_,b_,E_,w_,S_,C_,D_,O_,A_,x_,T_={};function N_(){if(HL)return T_;HL=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return T_.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,T_}function k_(){return UL?$L:(UL=1,$L=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function P_(){if(GL)return VL;GL=1;var t=ML(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return VL=t?n:function(t){return function(){return r.apply(t,arguments)}},VL}function B_(){if(qL)return WL;qL=1;var t=P_(),e=t({}.toString),r=t("".slice);return WL=function(t){return r(e(t),8,-1)}}function I_(){if(YL)return KL;YL=1;var t=P_(),e=_L(),r=B_(),n=Object,o=t("".split);return KL=e(function(){return!n("z").propertyIsEnumerable(0)})?function(t){return"String"===r(t)?o(t,""):n(t)}:n}function F_(){return JL?XL:(JL=1,XL=function(t){return null==t})}function R_(){if(QL)return ZL;QL=1;var t=F_(),e=TypeError;return ZL=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function L_(){if(e_)return t_;e_=1;var t=I_(),e=R_();return t_=function(r){return t(e(r))}}function __(){if(n_)return r_;n_=1;var t="object"==typeof document&&document.all;return r_=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function j_(){if(i_)return o_;i_=1;var t=__();return o_=function(e){return"object"==typeof e?null!==e:t(e)}}function M_(){if(a_)return u_;a_=1;var t=xL(),e=__();return u_=function(r,n){return arguments.length<2?(o=t[r],e(o)?o:void 0):t[r]&&t[r][n];var o},u_}function z_(){if(c_)return s_;c_=1;var t=P_();return s_=t({}.isPrototypeOf)}function H_(){if(f_)return l_;f_=1;var t=xL().navigator,e=t&&t.userAgent;return l_=e?String(e):""}function $_(){if(p_)return d_;p_=1;var t,e,r=xL(),n=H_(),o=r.process,i=r.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),d_=e}function U_(){if(v_)return h_;v_=1;var t=$_(),e=_L(),r=xL().String;return h_=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function V_(){if(y_)return g_;y_=1;var t=U_();return g_=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function G_(){if(b_)return m_;b_=1;var t=M_(),e=__(),r=z_(),n=V_(),o=Object;return m_=n?function(t){return"symbol"==typeof t}:function(n){var i=t("Symbol");return e(i)&&r(i.prototype,o(n))}}function W_(){if(w_)return E_;w_=1;var t=String;return E_=function(e){try{return t(e)}catch(t){return"Object"}}}function q_(){if(C_)return S_;C_=1;var t=__(),e=W_(),r=TypeError;return S_=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function K_(){if(O_)return D_;O_=1;var t=q_(),e=F_();return D_=function(r,n){var o=r[n];return e(o)?void 0:t(o)}}var Y_,X_,J_,Z_,Q_,tj,ej,rj,nj,oj,ij,uj,aj,sj,cj,lj,fj,dj,pj,hj,vj,gj,yj,mj,bj={exports:{}};function Ej(){return X_?Y_:(X_=1,Y_=!1)}function wj(){if(Z_)return J_;Z_=1;var t=xL(),e=Object.defineProperty;return J_=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function Sj(){if(Q_)return bj.exports;Q_=1;var t=Ej(),e=xL(),r=wj(),n="__core-js_shared__",o=bj.exports=e[n]||r(n,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),bj.exports}function Cj(){if(ej)return tj;ej=1;var t=Sj();return tj=function(e,r){return t[e]||(t[e]=r||{})}}function Dj(){if(nj)return rj;nj=1;var t=R_(),e=Object;return rj=function(r){return e(t(r))}}function Oj(){if(ij)return oj;ij=1;var t=P_(),e=Dj(),r=t({}.hasOwnProperty);return oj=Object.hasOwn||function(t,n){return r(e(t),n)}}function Aj(){if(aj)return uj;aj=1;var t=P_(),e=0,r=Math.random(),n=t(1.1.toString);return uj=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function xj(){if(cj)return sj;cj=1;var t=xL(),e=Cj(),r=Oj(),n=Aj(),o=U_(),i=V_(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||n;return sj=function(t){return r(a,t)||(a[t]=o&&r(u,t)?u[t]:s("Symbol."+t)),a[t]}}function Tj(){if(pj)return dj;pj=1;var t=function(){if(fj)return lj;fj=1;var t=zL(),e=j_(),r=G_(),n=K_(),o=function(){if(x_)return A_;x_=1;var t=zL(),e=__(),r=j_(),n=TypeError;return A_=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!r(a=t(u,o)))return a;if(e(u=o.valueOf)&&!r(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!r(a=t(u,o)))return a;throw new n("Can't convert object to primitive value")},A_}(),i=xj(),u=TypeError,a=i("toPrimitive");return lj=function(i,s){if(!e(i)||r(i))return i;var c,l=n(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||r(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}(),e=G_();return dj=function(r){var n=t(r,"string");return e(n)?n:n+""}}function Nj(){if(vj)return hj;vj=1;var t=xL(),e=j_(),r=t.document,n=e(r)&&e(r.createElement);return hj=function(t){return n?r.createElement(t):{}}}function kj(){if(yj)return gj;yj=1;var t=jL(),e=_L(),r=Nj();return gj=!t&&!e(function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})}function Pj(){if(mj)return LL;mj=1;var t=jL(),e=zL(),r=N_(),n=k_(),o=L_(),i=Tj(),u=Oj(),a=kj(),s=Object.getOwnPropertyDescriptor;return LL.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return n(!e(r.f,t,c),t[c])},LL}var Bj,Ij,Fj,Rj,Lj,_j,jj,Mj={};function zj(){if(Ij)return Bj;Ij=1;var t=jL(),e=_L();return Bj=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function Hj(){if(Rj)return Fj;Rj=1;var t=j_(),e=String,r=TypeError;return Fj=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function $j(){if(Lj)return Mj;Lj=1;var t=jL(),e=kj(),r=zj(),n=Hj(),o=Tj(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return Mj.f=t?r?function(t,e,r){if(n(t),e=o(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&l in r&&!r[l]){var i=a(t,e);i&&i[l]&&(t[e]=r.value,r={configurable:c in r?r[c]:i[c],enumerable:s in r?r[s]:i[s],writable:!1})}return u(t,e,r)}:u:function(t,r,a){if(n(t),r=o(r),n(a),e)try{return u(t,r,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[r]=a.value),t},Mj}function Uj(){if(jj)return _j;jj=1;var t=jL(),e=$j(),r=k_();return _j=t?function(t,n,o){return e.f(t,n,r(1,o))}:function(t,e,r){return t[e]=r,t}}var Vj,Gj,Wj,qj,Kj,Yj,Xj,Jj,Zj,Qj,tM,eM,rM,nM,oM,iM={exports:{}};function uM(){if(Gj)return Vj;Gj=1;var t=jL(),e=Oj(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,o=e(r,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&n(r,"name").configurable);return Vj={EXISTS:o,PROPER:i,CONFIGURABLE:u}}function aM(){if(qj)return Wj;qj=1;var t=P_(),e=__(),r=Sj(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),Wj=r.inspectSource}function sM(){if(Jj)return Xj;Jj=1;var t=Cj(),e=Aj(),r=t("keys");return Xj=function(t){return r[t]||(r[t]=e(t))}}function cM(){return Qj?Zj:(Qj=1,Zj={})}function lM(){if(eM)return tM;eM=1;var t,e,r,n=function(){if(Yj)return Kj;Yj=1;var t=xL(),e=__(),r=t.WeakMap;return Kj=e(r)&&/native code/.test(String(r))}(),o=xL(),i=j_(),u=Uj(),a=Oj(),s=Sj(),c=sM(),l=cM(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(n||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},r=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},r=function(t){return a(t,v)}}return tM={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!i(r)||(n=e(r)).type!==t)throw new d("Incompatible receiver, "+t+" required");return n}}}}function fM(){if(rM)return iM.exports;rM=1;var t=P_(),e=_L(),r=__(),n=Oj(),o=jL(),i=uM().CONFIGURABLE,u=aM(),a=lM(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=iM.exports=function(t,e,r){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return n(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return r(this)&&c(this).source||u(this)},"toString"),iM.exports}function dM(){if(oM)return nM;oM=1;var t=__(),e=$j(),r=fM(),n=wj();return nM=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&r(u,c,a),a.global)s?o[i]=u:n(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var pM,hM,vM,gM,yM,mM,bM,EM,wM,SM,CM,DM,OM,AM,xM,TM,NM,kM={};function PM(){if(gM)return vM;gM=1;var t=function(){if(hM)return pM;hM=1;var t=Math.ceil,e=Math.floor;return pM=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return vM=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function BM(){if(mM)return yM;mM=1;var t=PM(),e=Math.max,r=Math.min;return yM=function(n,o){var i=t(n);return i<0?e(i+o,0):r(i,o)},yM}function IM(){if(EM)return bM;EM=1;var t=PM(),e=Math.min;return bM=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}function FM(){if(SM)return wM;SM=1;var t=IM();return wM=function(e){return t(e.length)}}function RM(){if(DM)return CM;DM=1;var t=L_(),e=BM(),r=FM(),n=function(n){return function(o,i,u){var a=t(o),s=r(a);if(0===s)return!n&&-1;var c,l=e(u,s);if(n&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((n||l in a)&&a[l]===i)return n||l||0;return!n&&-1}};return CM={includes:n(!0),indexOf:n(!1)}}function LM(){if(AM)return OM;AM=1;var t=P_(),e=Oj(),r=L_(),n=RM().indexOf,o=cM(),i=t([].push);return OM=function(t,u){var a,s=r(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~n(l,a)||i(l,a));return l}}function _M(){return TM?xM:(TM=1,xM=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var jM,MM,zM,HM,$M,UM,VM,GM,WM,qM,KM,YM,XM,JM,ZM,QM,tz,ez,rz,nz={};function oz(){return jM||(jM=1,nz.f=Object.getOwnPropertySymbols),nz}function iz(){if($M)return HM;$M=1;var t=Oj(),e=function(){if(zM)return MM;zM=1;var t=M_(),e=P_(),r=function(){if(NM)return kM;NM=1;var t=LM(),e=_M().concat("length","prototype");return kM.f=Object.getOwnPropertyNames||function(r){return t(r,e)},kM}(),n=oz(),o=Hj(),i=e([].concat);return MM=t("Reflect","ownKeys")||function(t){var e=r.f(o(t)),u=n.f;return u?i(e,u(t)):e}}(),r=Pj(),n=$j();return HM=function(o,i,u){for(var a=e(i),s=n.f,c=r.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function uz(){if(WM)return GM;WM=1;var t=xL(),e=Pj().f,r=Uj(),n=dM(),o=wj(),i=iz(),u=function(){if(VM)return UM;VM=1;var t=_L(),e=__(),r=/#|\.prototype\./,n=function(r,n){var s=i[o(r)];return s===a||s!==u&&(e(n)?t(n):!!n)},o=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},i=n.data={},u=n.NATIVE="N",a=n.POLYFILL="P";return UM=n}();return GM=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&r(d,"sham",!0),n(c,l,d,a)}}}function az(){if(KM)return qM;KM=1;var t={};return t[xj()("toStringTag")]="z",qM="[object z]"===String(t)}function sz(){if(XM)return YM;XM=1;var t=az(),e=__(),r=B_(),n=xj()("toStringTag"),o=Object,i="Arguments"===r(function(){return arguments}());return YM=t?r:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),n))?a:i?r(u):"Object"===(s=r(u))&&e(u.callee)?"Arguments":s}}function cz(){if(ZM)return JM;ZM=1;var t=sz(),e=String;return JM=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}function lz(){if(tz)return QM;tz=1;var t=Hj();return QM=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}var fz,dz,pz,hz,vz,gz,yz,mz,bz,Ez,wz,Sz,Cz,Dz,Oz={};function Az(){if(dz)return fz;dz=1;var t=LM(),e=_M();return fz=Object.keys||function(r){return t(r,e)}}function xz(){if(yz)return gz;yz=1;var t,e=Hj(),r=function(){if(pz)return Oz;pz=1;var t=jL(),e=zj(),r=$j(),n=Hj(),o=L_(),i=Az();return Oz.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)r.f(t,u=s[l++],a[u]);return t},Oz}(),n=_M(),o=cM(),i=function(){if(vz)return hz;vz=1;var t=M_();return hz=t("document","documentElement")}(),u=Nj(),a=sM(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,o;h="undefined"!=typeof document?document.domain&&t?p(t):(r=u("iframe"),o="java"+c+":",r.style.display="none",i.appendChild(r),r.src=String(o),(e=r.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=n.length;a--;)delete h[s][n[a]];return h()};return o[l]=!0,gz=Object.create||function(t,n){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===n?o:r.f(o,n)}}function Tz(){if(Cz)return Sz;Cz=1;var t,e,r=zL(),n=P_(),o=cz(),i=lz(),u=function(){if(rz)return ez;rz=1;var t=_L(),e=xL().RegExp,r=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),n=r||t(function(){return!e("a","y").sticky}),o=r||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return ez={BROKEN_CARET:o,MISSED_STICKY:n,UNSUPPORTED_Y:r}}(),a=Cj(),s=xz(),c=lM().get,l=function(){if(bz)return mz;bz=1;var t=_L(),e=xL().RegExp;return mz=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(wz)return Ez;wz=1;var t=_L(),e=xL().RegExp;return Ez=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=n("".charAt),g=n("".indexOf),y=n("".replace),m=n("".slice),b=(e=/b*/g,r(p,t=/a/,"a"),r(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,n,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=r(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=r(i,C),k=C.source,P=0,B=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),B=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(k="(?: "+k+")",B=" "+B,P++),n=new RegExp("^(?:"+k+")",N)),w&&(n=new RegExp("^"+k+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=r(p,T?n:C,B),T?a?(a.input=m(a.input,P),a[0]=m(a[0],P),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&r(d,a[0],n,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),Sz=h}function Nz(){if(Dz)return AL;Dz=1;var t=uz(),e=Tz();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),AL}Nz();var kz=function(t,e){return kz=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},kz(t,e)};function Pz(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}kz(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var Bz=function(){return Bz=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Bz.apply(this,arguments)};function Iz(t,e,r,n){return new(r||(r=Promise))(function(o,i){function u(t){try{s(n.next(t))}catch(t){i(t)}}function a(t){try{s(n.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r(function(t){t(e)})).then(u,a)}s((n=n.apply(t,e||[])).next())})}function Fz(t,e){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=a(0),u.throw=a(1),u.return=a(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;u&&(u=0,a[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function Rz(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Lz(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u}function _z(t,e,r){if(2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var jz,Mz,zz,Hz,$z,Uz,Vz,Gz,Wz,qz,Kz,Yz,Xz,Jz,Zz,Qz,tH,eH='<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>',rH='<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>',nH='<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>',oH=function(){function t(){this.title=RF("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(t){return""},t.prototype.isActive=function(t){return!!SB.getSelectedNodeByType(t,"blockquote")},t.prototype.isDisabled=function(t){return null==t.selection||!Lz(Kh.nodes(t,{match:function(t){var e=SB.getNodeType(t);return"paragraph"===e||"blockquote"===e},universal:!0,mode:"highest"}),1)[0]},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var r=this.isActive(t)?"paragraph":"blockquote";zv.setNodes(t,{type:r},{mode:"highest"})}},t}(),iH={key:"blockquote",factory:function(){return new oH}},uH={};function aH(){if(Mz)return jz;Mz=1;var t=B_(),e=P_();return jz=function(r){if("Function"===t(r))return e(r)}}function sH(){if(Uz)return $z;Uz=1;var t=B_();return $z=Array.isArray||function(e){return"Array"===t(e)}}function cH(){if(Gz)return Vz;Gz=1;var t=P_(),e=_L(),r=__(),n=sz(),o=M_(),i=aM(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!r(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,Vz=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function lH(){if(Yz)return Kz;Yz=1;var t=function(){if(qz)return Wz;qz=1;var t=sH(),e=cH(),r=j_(),n=xj()("species"),o=Array;return Wz=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||r(u)&&null===(u=u[n]))&&(u=void 0)),void 0===u?o:u}}();return Kz=function(e,r){return new(t(e))(0===r?0:r)}}function fH(){if(Jz)return Xz;Jz=1;var t=function(){if(Hz)return zz;Hz=1;var t=aH(),e=q_(),r=ML(),n=t(t.bind);return zz=function(t,o){return e(t),void 0===o?t:r?n(t,o):function(){return t.apply(o,arguments)}},zz}(),e=P_(),r=I_(),n=Dj(),o=FM(),i=lH(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=n(h),w=r(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return Xz={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}function dH(){if(Qz)return Zz;Qz=1;var t=_L(),e=xj(),r=$_(),n=e("species");return Zz=function(e){return r>=51||!t(function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}!function(){if(tH)return uH;tH=1;var t=uz(),e=fH().filter;t({target:"Array",proto:!0,forced:!dH()("filter")},{filter:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var pH,hH,vH,gH={};!function(){if(vH)return gH;vH=1;var t=az(),e=dM(),r=function(){if(hH)return pH;hH=1;var t=az(),e=sz();return pH=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var yH,mH,bH,EH,wH,SH,CH,DH,OH,AH,xH,TH,NH,kH,PH,BH,IH,FH={};function RH(){if(EH)return bH;EH=1,Nz();var t=zL(),e=dM(),r=Tz(),n=_L(),o=xj(),i=Uj(),u=o("species"),a=RegExp.prototype;return bH=function(s,c,l,f){var d=o(s),p=!n(function(){var t={};return t[d]=function(){return 7},7!==""[s](t)}),h=p&&!n(function(){var t=!1,e=/a/;return"split"===s&&((e={}).constructor={},e.constructor[u]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return t=!0,null},e[d](""),!t});if(!p||!h||l){var v=/./[d],g=c(d,""[s],function(e,n,o,i,u){var s=n.exec;return s===r||s===a.exec?p&&!u?{done:!0,value:t(v,n,o,i)}:{done:!0,value:t(e,o,n,i)}:{done:!1}});e(String.prototype,s,g[0]),e(a,d,g[1])}f&&i(a[d],"sham",!0)}}function LH(){if(DH)return CH;DH=1;var t=function(){if(SH)return wH;SH=1;var t=P_(),e=PM(),r=cz(),n=R_(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=r(n(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return wH={codeAt:a(!1),charAt:a(!0)}}().charAt;return CH=function(e,r,n){return r+(n?t(e,r).length:1)},CH}function _H(){if(kH)return NH;kH=1;var t=zL(),e=Oj(),r=z_(),n=function(){if(TH)return xH;TH=1;var t=xL(),e=_L(),r=t.RegExp,n=!e(function(){var t=!0;try{r(".","d")}catch(e){t=!1}var e={},n="",o=t?"dgimsy":"gimsy",i=function(t,r){Object.defineProperty(e,t,{get:function(){return n+=r,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(e)!==o||n!==o});return xH={correct:n}}(),o=lz(),i=RegExp.prototype;return NH=n.correct?function(t){return t.flags}:function(u){return n.correct||!r(i,u)||e(u,"flags")?u.flags:t(o,u)}}function jH(){if(BH)return PH;BH=1;var t=zL(),e=Hj(),r=__(),n=B_(),o=Tz(),i=TypeError;return PH=function(u,a){var s=u.exec;if(r(s)){var c=t(s,u,a);return null!==c&&e(c),c}if("RegExp"===n(u))return t(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}!function(){if(IH)return FH;IH=1;var t=function(){if(mH)return yH;mH=1;var t=ML(),e=Function.prototype,r=e.apply,n=e.call;return yH="object"==typeof Reflect&&Reflect.apply||(t?n.bind(r):function(){return n.apply(r,arguments)}),yH}(),e=zL(),r=P_(),n=RH(),o=_L(),i=Hj(),u=__(),a=j_(),s=PM(),c=IM(),l=cz(),f=R_(),d=LH(),p=K_(),h=function(){if(AH)return OH;AH=1;var t=P_(),e=Dj(),r=Math.floor,n=t("".charAt),o=t("".replace),i=t("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return OH=function(t,s,c,l,f,d){var p=c+t.length,h=l.length,v=a;return void 0!==f&&(f=e(f),v=u),o(d,v,function(e,o){var u;switch(n(o,0)){case"$":return"$";case"&":return t;case"`":return i(s,0,c);case"'":return i(s,p);case"<":u=f[i(o,1,-1)];break;default:var a=+o;if(0===a)return e;if(a>h){var d=r(a/10);return 0===d?e:d<=h?void 0===l[d-1]?n(o,1):l[d-1]+n(o,1):e}u=l[a-1]}return void 0===u?"":u})}}(),v=_H(),g=jH(),y=xj()("replace"),m=Math.max,b=Math.min,E=r([].concat),w=r([].push),S=r("".indexOf),C=r("".slice),D=function(t){return void 0===t?t:String(t)},O="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");n("replace",function(r,n,o){var O=A?"$":"$0";return[function(t,r){var o=f(this),i=a(t)?p(t,y):void 0;return i?e(i,t,o,r):e(n,l(o),t,r)},function(e,r){var a=i(this),f=l(e);if("string"==typeof r&&-1===S(r,O)&&-1===S(r,"$<")){var p=o(n,a,f,r);if(p.done)return p.value}var y=u(r);y||(r=l(r));var A,x=l(v(a)),T=-1!==S(x,"g");T&&(A=-1!==S(x,"u"),a.lastIndex=0);for(var N,k=[];null!==(N=g(a,f))&&(w(k,N),T);)""===l(N[0])&&(a.lastIndex=d(f,c(a.lastIndex),A));for(var P="",B=0,I=0;I<k.length;I++){for(var F,R=l((N=k[I])[0]),L=m(b(s(N.index),f.length),0),_=[],j=1;j<N.length;j++)w(_,D(N[j]));var M=N.groups;if(y){var z=E([R],_,L,f);void 0!==M&&w(z,M),F=l(t(r,void 0,z))}else F=h(R,f,L,_,M,r);L>=B&&(P+=C(f,B,L)+F,B=L+R.length)}return P+C(f,B)}]},!!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!O||A)}();var MH,zH,HH,$H={};function UH(){if(zH)return MH;zH=1;var t=xj(),e=xz(),r=$j().f,n=t("unscopables"),o=Array.prototype;return void 0===o[n]&&r(o,n,{configurable:!0,value:e(null)}),MH=function(t){o[n][t]=!0}}!function(){if(HH)return $H;HH=1;var t=uz(),e=fH().find,r=UH(),n="find",o=!0;n in[]&&Array(1)[n](function(){o=!1}),t({target:"Array",proto:!0,forced:o},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r(n)}();var VH,GH,WH,qH,KH,YH,XH,JH={};function ZH(){return GH?VH:(GH=1,VH="\t\n\v\f\r \u2028\u2029\ufeff")}!function(){if(XH)return JH;XH=1;var t=uz(),e=function(){if(qH)return WH;qH=1;var t=P_(),e=R_(),r=cz(),n=ZH(),o=t("".replace),i=RegExp("^["+n+"]+"),u=RegExp("(^|[^"+n+"])["+n+"]+$"),a=function(t){return function(n){var a=r(e(n));return 1&t&&(a=o(a,i,"")),2&t&&(a=o(a,u,"$1")),a}};return WH={start:a(1),end:a(2),trim:a(3)}}().trim,r=function(){if(YH)return KH;YH=1;var t=uM().PROPER,e=_L(),r=ZH();return KH=function(n){return e(function(){return!!r[n]()||"
"!=="
"[n]()||t&&r[n].name!==n})}}();t({target:"String",proto:!0,forced:r("trim")},{trim:function(){return e(this)}})}();var QH,t$,e$={};function r$(t){return 0===og("<div>".concat(t,"</div>")).children().filter(function(t){return"BR"!==t.tagName}).length}function n$(t){return 0===t.length?"":t[0].outerHTML}function o$(t){return t.length?t[0].tagName.toLowerCase():""}function i$(t,e){for(var r="",n=(t.attr("style")||"").split(";"),o=n.length,i=0;i<o;i+=1){var u=n[i];if(u){var a=u.split(":");a[0].trim()===e&&(r=a[1].trim())}}return r}t$||(t$=1,function(){if(QH)return e$;QH=1;var t=uz(),e=xL();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}()),Eg&&(og.fn.css=Eg),Ag&&(og.fn.append=Ag),xg&&(og.fn.prepend=xg),ig&&(og.fn.addClass=ig),ug&&(og.fn.removeClass=ug),ag&&(og.fn.hasClass=ag),pg&&(og.fn.on=pg),hg&&(og.fn.off=hg),_g&&(og.fn.focus=_g),sg&&(og.fn.attr=sg),cg&&(og.fn.removeAttr=cg),mg&&(og.fn.hide=mg),bg&&(og.fn.show=bg),Ng&&(og.fn.parents=Ng),fg&&(og.fn.dataset=fg),dg&&(og.fn.val=dg),Dg&&(og.fn.text=Dg),Cg&&(og.fn.html=Cg),Pg&&(og.fn.children=Pg),Bg&&(og.fn.remove=Bg),kg&&(og.fn.find=kg),vg&&(og.fn.width=vg),gg&&(og.fn.height=gg),Sg&&(og.fn.filter=Sg),Ig&&(og.fn.empty=Ig);var u$,a$,s$,c$,l$,f$={selector:"blockquote:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n=og(t);return 0===(e=e.filter(function(t){return!!wv.isText(t)||!!r.isInline(t)})).length&&(e=[{text:n.text().replace(/\s+/gm," ")}]),{type:"blockquote",children:e}}},d$={};function p$(){if(a$)return u$;a$=1;var t=jL(),e=$j(),r=k_();return u$=function(n,o,i){t?e.f(n,o,r(0,i)):n[o]=i}}function h$(){if(c$)return s$;c$=1;var t=P_();return s$=t([].slice)}function v$(t){t.deleteBackward("character"),zv.insertNodes(t,{type:"paragraph",children:[{text:""}]},{mode:"highest"})}!function(){if(l$)return d$;l$=1;var t=uz(),e=sH(),r=cH(),n=j_(),o=BM(),i=FM(),u=L_(),a=p$(),s=xj(),c=dH(),l=h$(),f=c("slice"),d=s("species"),p=Array,h=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,s){var c,f,v,g=u(this),y=i(g),m=o(t,y),b=o(void 0===s?y:s,y);if(e(g)&&(c=g.constructor,(r(c)&&(c===p||e(c.prototype))||n(c)&&null===(c=c[d]))&&(c=void 0),c===p||void 0===c))return l(g,m,b);for(f=new(void 0===c?p:c)(h(b-m,0)),v=0;m<b;m++,v++)m in g&&a(f,v,g[m]);return f.length=v,f}})}();var g$,y$={type:"blockquote",renderElem:function(t,e,r){return Ry("blockquote",null,e)}},m$={renderElems:[y$],elemsToHtml:[{type:"blockquote",elemToHtml:function(t,e){return"<blockquote>".concat(e,"</blockquote>")}}],parseElemsHtml:[f$],menus:[iH],editorPlugin:function(t){var e=t.insertBreak,r=t.insertText,n=t;return n.insertBreak=function(){var o=n.selection;if(null==o)return e();var i=Lz(Kh.nodes(t,{match:function(t){return SB.checkNodeType(t,"blockquote")},universal:!0}),1)[0];if(!i)return e();var u=i[0];if(SB.getParentNode(t,u)){var a=SB.findPath(t,u),s=Kh.end(t,a);if(sv.equals(s,o.focus)){var c=tv.string(u);if(c&&"\n"===c.slice(-1))return void v$(n)}r("\n")}else v$(n)},n}},b$={};!function(){if(g$)return b$;g$=1;var t=uz(),e=RM().includes,r=_L(),n=UH();t({target:"Array",proto:!0,forced:r(function(){return!Array(1).includes()})},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n("includes")}();var E$,w$,S$,C$={};function D$(){if(w$)return E$;w$=1;var t=_L();return E$=function(e,r){var n=[][e];return!!n&&t(function(){n.call(null,r||function(){return 1},1)})}}!function(){if(S$)return C$;S$=1;var t=uz(),e=P_(),r=I_(),n=L_(),o=D$(),i=e([].join);t({target:"Array",proto:!0,forced:r!==Object||!o("join",",")},{join:function(t){return i(n(this),void 0===t?",":t)}})}();var O$,A$={};!function(){if(O$)return A$;O$=1;var t=uz(),e=fH().map;t({target:"Array",proto:!0,forced:!dH()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var x$,T$={};!function(){if(x$)return T$;x$=1;var t=uM().PROPER,e=dM(),r=Hj(),n=cz(),o=_L(),i=_H(),u="toString",a=RegExp.prototype,s=a[u],c=o(function(){return"/a/b"!==s.call({source:"a",flags:"b"})}),l=t&&s.name!==u;(c||l)&&e(a,u,function(){var t=r(this);return"/"+n(t.source)+"/"+n(i(t))},{unsafe:!0})}();var N$,k$,P$,B$,I$,F$,R$,L$={};function _$(){if(B$)return P$;B$=1;var t=function(){if(k$)return N$;k$=1;var t=j_(),e=B_(),r=xj()("match");return N$=function(n){var o;return t(n)&&(void 0!==(o=n[r])?!!o:"RegExp"===e(n))}}(),e=TypeError;return P$=function(r){if(t(r))throw new e("The method doesn't accept regular expressions");return r}}function j$(){if(F$)return I$;F$=1;var t=xj()("match");return I$=function(e){var r=/./;try{"/./"[e](r)}catch(n){try{return r[t]=!1,"/./"[e](r)}catch(t){}}return!1}}!function(){if(R$)return L$;R$=1;var t=uz(),e=P_(),r=_$(),n=R_(),o=cz(),i=j$(),u=e("".indexOf);t({target:"String",proto:!0,forced:!i("includes")},{includes:function(t){return!!~u(o(n(this)),o(r(t)),arguments.length>1?arguments[1]:void 0)}})}();var M$,z$,H$,$$,U$,V$,G$,W$,q$,K$,Y$,X$=function(){function t(){this.title=RF("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(t){var e=SB.getSelectedNodeByType(t,"code");if(null==e)return null;var r=SB.getParentNode(t,e);return null==r||"pre"!==SB.getNodeType(r)?null:e},t.prototype.getValue=function(t){var e=this.getSelectCodeElem(t);if(null==e){var r=t.getMenuConfig("codeSelectLang").codeLangs,n=(void 0===r?[]:r).find(function(t){return t.selected});return(null==n?void 0:n.value)||""}return e.language||""},t.prototype.isActive=function(t){return!!this.getSelectCodeElem(t)},t.prototype.isDisabled=function(t){if(null==t.selection)return!0;var e=SB.getSelectedElems(t);return!!e.some(function(e){return t.isVoid(e)})||!e.some(function(t){var e=SB.getNodeType(t);return"pre"===e||"paragraph"===e})},t.prototype.exec=function(t,e){this.isActive(t)?this.changeToPlainText(t):this.changeToCodeBlock(t,e.toString())},t.prototype.changeToPlainText=function(t){var e=this.getSelectCodeElem(t);if(null!=e){var r=tv.string(e);zv.removeNodes(t,{mode:"highest"});var n=r.split("\n").map(function(t){return{type:"paragraph",children:[{text:t}]}});zv.insertNodes(t,n,{mode:"highest"})}},t.prototype.changeToCodeBlock=function(t,e){var r,n,o=[],i=Kh.nodes(t,{match:function(e){return t.children.includes(e)},universal:!0});try{for(var u=Rz(i),a=u.next();!a.done;a=u.next()){var s=Lz(a.value,1)[0];s&&o.push(tv.string(s))}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}zv.removeNodes(t,{mode:"highest"});var c={type:"pre",children:[{type:"code",language:e,children:[{text:o.join("\n")}]}]};zv.insertNodes(t,c,{mode:"highest"})},t}(),J$={key:"codeBlock",factory:function(){return new X$}},Z$={selector:"pre:not([data-w-e-type])>code",parseElemHtml:function(t,e,r){return{type:"code",language:"",children:[{text:og(t)[0].textContent||""}]}}},Q$={selector:"pre:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n=og(t);return 0===(e=e.filter(function(t){return"code"===SB.getNodeType(t)})).length&&(e=[{type:"code",language:"",children:[{text:n[0].textContent||""}]}]),{type:"pre",children:e.filter(function(t){return"code"===SB.getNodeType(t)})}}},tU={};!function(){if(Y$)return tU;Y$=1;var t=uz(),e=P_(),r=q_(),n=Dj(),o=FM(),i=function(){if(z$)return M$;z$=1;var t=W_(),e=TypeError;return M$=function(r,n){if(!delete r[n])throw new e("Cannot delete property "+t(n)+" of "+t(r))}}(),u=cz(),a=_L(),s=function(){if($$)return H$;$$=1;var t=h$(),e=Math.floor,r=function(n,o){var i=n.length;if(i<8)for(var u,a,s=1;s<i;){for(a=s,u=n[s];a&&o(n[a-1],u)>0;)n[a]=n[--a];a!==s++&&(n[a]=u)}else for(var c=e(i/2),l=r(t(n,0,c),o),f=r(t(n,c),o),d=l.length,p=f.length,h=0,v=0;h<d||v<p;)n[h+v]=h<d&&v<p?o(l[h],f[v])<=0?l[h++]:f[v++]:h<d?l[h++]:f[v++];return n};return H$=r}(),c=D$(),l=function(){if(V$)return U$;V$=1;var t=H_().match(/firefox\/(\d+)/i);return U$=!!t&&+t[1]}(),f=function(){if(W$)return G$;W$=1;var t=H_();return G$=/MSIE|Trident/.test(t)}(),d=$_(),p=function(){if(K$)return q$;K$=1;var t=H_().match(/AppleWebKit\/(\d+)\./);return q$=!!t&&+t[1]}(),h=[],v=e(h.sort),g=e(h.push),y=a(function(){h.sort(void 0)}),m=a(function(){h.sort(null)}),b=c("sort"),E=!a(function(){if(d)return d<70;if(!(l&&l>3)){if(f)return!0;if(p)return p<603;var t,e,r,n,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)h.push({k:e+n,v:r})}for(h.sort(function(t,e){return e.v-t.v}),n=0;n<h.length;n++)e=h[n].k.charAt(0),o.charAt(o.length-1)!==e&&(o+=e);return"DGBEFHACIJK"!==o}});t({target:"Array",proto:!0,forced:y||!m||!b||!E},{sort:function(t){void 0!==t&&r(t);var e=n(this);if(E)return void 0===t?v(e):v(e,t);var a,c,l=[],f=o(e);for(c=0;c<f;c++)c in e&&g(l,e[c]);for(s(l,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:u(e)>u(r)?1:-1}}(t)),a=o(l),c=0;c<a;)e[c]=l[c++];for(;c<f;)i(e,c++);return e}})}();var eU,rU={};!function(){if(eU)return rU;eU=1;var t=zL(),e=P_(),r=RH(),n=Hj(),o=j_(),i=IM(),u=cz(),a=R_(),s=K_(),c=LH(),l=_H(),f=jH(),d=e("".indexOf);r("match",function(e,r,p){return[function(r){var n=a(this),i=o(r)?s(r,e):void 0;return i?t(i,r,n):new RegExp(r)[e](u(n))},function(t){var e=n(this),o=u(t),a=p(r,e,o);if(a.done)return a.value;var s=u(l(e));if(-1===d(s,"g"))return f(e,o);var h=-1!==d(s,"u");e.lastIndex=0;for(var v,g=[],y=0;null!==(v=f(e,o));){var m=u(v[0]);g[y]=m,""===m&&(e.lastIndex=c(o,i(e.lastIndex),h)),y++}return 0===y?null:g}]})}();var nU,oU,iU,uU,aU,sU={};function cU(){if(oU)return nU;oU=1;var t=P_(),e=R_(),r=cz(),n=/"/g,o=t("".replace);return nU=function(t,i,u,a){var s=r(e(t)),c="<"+i;return""!==u&&(c+=" "+u+'="'+o(r(a),n,""")+'"'),c+">"+s+"</"+i+">"}}function lU(){if(uU)return iU;uU=1;var t=_L();return iU=function(e){return t(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})}}!function(){if(aU)return sU;aU=1;var t=uz(),e=cU();t({target:"String",proto:!0,forced:lU()("anchor")},{anchor:function(t){return e(this,"a","name",t)}})}();var fU,dU,pU,hU={type:"pre",renderElem:function(t,e,r){return Ry("pre",null,e)}},vU={type:"code",renderElem:function(t,e,r){return Ry("code",null,e)}},gU={menus:[J$],editorPlugin:function(t){var e=t.insertBreak,r=t.normalizeNode,n=t.insertData,o=t.handleTab,i=t;return i.insertBreak=function(){var t=SB.getSelectedNodeByType(i,"code");if(null!=t){var r=function(t,e){var r=e.selection;if(null==r)return"";var n=tv.string(t),o=r.anchor.offset,i=n.slice(0,o).split("\n"),u=i.length;return 0===u?"":i[u-1]}(t,i);if(r){var n=r.match(/^\s+/);if(null!=n&&null!=n[0]){var o=n[0];return void i.insertText("\n".concat(o))}}i.insertText("\n")}else e()},t.handleTab=function(){var e=t.selection;if(e){var r=SB.getSelectedNodeByType(t,"code");if(r&&!dv.isCollapsed(e)){var n=Lz([e.anchor,e.focus].sort(function(t,e){return t.offset-e.offset}),2),i=n[0],u=n[1],a=r.children[0].text,s=a.split("\n"),c=a.slice(0,i.offset).split("\n").length-1,l=a.slice(0,u.offset).split("\n").length-1,f=s.map(function(t,e){return e>=c&&e<=l?" ".concat(t):t}),d=f.join("\n"),p={anchor:{path:i.path,offset:i.offset+2},focus:{path:u.path,offset:u.offset+2}};zv.insertText(t,d,{at:{anchor:{path:i.path,offset:0},focus:{path:u.path,offset:a.length}}}),zv.select(t,p)}else o()}},i.normalizeNode=function(t){var e=Lz(t,2),n=e[0],o=e[1],u=SB.getNodeType(n);return"code"===u&&o.length<=1&&zv.setNodes(i,{type:"paragraph"},{at:o}),"pre"===u&&(SB.isLastNode(i,n)&&zv.insertNodes(i,SB.genEmptyParagraph(),{at:[o[0]+1]}),"code"!==SB.getNodeType(n.children[0])&&(zv.unwrapNodes(i),zv.setNodes(i,{type:"paragraph"},{mode:"highest"}))),r([n,o])},i.insertData=function(t){if(null!=SB.getSelectedNodeByType(i,"code")){var e=t.getData("text/plain");Kh.insertText(i,e)}else n(t)},i},renderElems:[hU,vU],elemsToHtml:[{type:"code",elemToHtml:function(t,e){return"<code>".concat(e,"</code>")}},{type:"pre",elemToHtml:function(t,e){return"<pre>".concat(e,"</pre>")}}],preParseHtml:[{selector:"pre>code",preParseHtml:function(t){var e=og(t);if("code"!==o$(e))return t;var r=e.find("xmp");if(0===r.length)return t;var n=r.text();return r.remove(),e.text(n),e[0]}}],parseElemsHtml:[Z$,Q$]},yU={};!function(){if(pU)return yU;pU=1;var t=uz(),e=_L(),r=sH(),n=j_(),o=Dj(),i=FM(),u=function(){if(dU)return fU;dU=1;var t=TypeError;return fU=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}(),a=p$(),s=lH(),c=dH(),l=xj(),f=$_(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!n(t))return!1;var e=t[d];return void 0!==e?!!e:r(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,r,n,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),r=0;r<c;r++,p++)r in l&&a(d,p,l[r]);else u(p+1),a(d,p++,l);return d.length=p,d}})}();var mU,bU,EU,wU,SU,CU,DU,OU={};!function(){if(DU)return OU;DU=1;var t=xL(),e=bU?mU:(bU=1,mU={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}),r=function(){if(wU)return EU;wU=1;var t=Nj()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return EU=e===Object.prototype?void 0:e}(),n=function(){if(CU)return SU;CU=1;var t=fH().forEach,e=D$()("forEach");return SU=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},SU}(),o=Uj(),i=function(t){if(t&&t.forEach!==n)try{o(t,"forEach",n)}catch(e){t.forEach=n}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(r)}();var AU,xU,TU,NU=function(){function t(){this.tag="button",this.showDropPanel=!0,this.$content=null}return t.prototype.exec=function(t,e){},t.prototype.getValue=function(t){var e=this.mark,r=Kh.marks(t);return r&&r[e]?r[e]:""},t.prototype.isActive=function(t){return!!this.getValue(t)},t.prototype.isDisabled=function(t){return null==t.selection||!!Lz(Kh.nodes(t,{match:function(e){return"pre"===SB.getNodeType(e)||!!Kh.isVoid(t,e)},universal:!0}),1)[0]},t.prototype.getPanelContentElem=function(t){var e=this.mark;if(null==this.$content){var r=og('<ul class="w-e-panel-content-color"></ul>');r.on("click","li",function(r){var n=r.target;if(null!=n&&(r.preventDefault(),null!=t.selection)){var o=og(n).attr("data-value");"0"===o?Kh.removeMark(t,e):Kh.addMark(t,e,o)}}),this.$content=r}var n=this.$content;if(null==n)return document.createElement("ul");n.empty();var o=this.getValue(t),i=t.getMenuConfig(e).colors;(void 0===i?[]:i).forEach(function(t){var e=og('<div class="color-block" data-value="'.concat(t,'"></div>'));e.css("background-color",t);var r=og('<li data-value="'.concat(t,'"></li>'));o===t&&r.addClass("active"),r.append(e),n.append(r)});var u="";"color"===e&&(u=RF("color.default")),"bgColor"===e&&(u=RF("color.clear"));var a=og('\n <li data-value="0" class="clear">\n '.concat('<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>',"\n ").concat(u,"\n </li>\n "));return n.prepend(a),n[0]},t}(),kU=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.title=RF("color.bgColor"),e.iconSvg='<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>',e.mark="bgColor",e}return Pz(e,t),e}(NU),PU=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.title=RF("color.color"),e.iconSvg='<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>',e.mark="color",e}return Pz(e,t),e}(NU),BU=["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)"],IU={key:"color",factory:function(){return new PU},config:{colors:BU}},FU={key:"bgColor",factory:function(){return new kU},config:{colors:BU}},RU={selector:"font",preParseHtml:function(t){var e=og(t);if("font"!==o$(e))return t;var r=e.attr("color")||"";return r&&(e.removeAttr("color"),e.css("color",r)),e[0]}},LU={};function _U(t,e){null==t.data&&(t.data={});var r=t.data;null==r.style&&(r.style={}),Object.assign(r.style,e)}!function(){if(TU)return LU;TU=1;var t=uz(),e=function(){if(xU)return AU;xU=1;var t=jL(),e=P_(),r=zL(),n=_L(),o=Az(),i=oz(),u=N_(),a=Dj(),s=I_(),c=Object.assign,l=Object.defineProperty,f=e([].concat);return AU=!c||n(function(){if(t&&1!==c({b:1},c(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},r={},n=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(t){r[t]=t}),7!==c({},e)[n]||o(c({},r)).join("")!==i})?function(e,n){for(var c=a(e),l=arguments.length,d=1,p=i.f,h=u.f;l>d;)for(var v,g=s(arguments[d++]),y=p?f(o(g),p(g)):o(g),m=y.length,b=0;m>b;)v=y[b++],t&&!r(h,g,v)||(c[v]=g[v]);return c}:c,AU}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var jU,MU,zU,HU,$U,UU,VU,GU,WU,qU,KU,YU,XU,JU,ZU,QU,tV={renderStyle:function(t,e){var r=t,n=r.color,o=r.bgColor,i=e;return n&&_U(i,{color:n}),o&&_U(i,{backgroundColor:o}),i},styleToHtml:function(t,e){if(!wv.isText(t))return e;var r,n=t,o=n.color,i=n.bgColor;return o||i?((r$(e)||"span"!==o$(r=og(e)))&&(r=og("<span>".concat(e,"</span>"))),o&&r.css("color",o),i&&r.css("background-color",i),n$(r)):e},preParseHtml:[RU],parseStyleHtml:function(t,e,r){var n=og(t);if(!wv.isText(e))return e;var o=e,i=i$(n,"color");i&&(o.color=i);var u=i$(n,"background-color");return u||(u=i$(n,"background")),u&&(o.bgColor=u),o},menus:[IU,FU]},eV=function(){function t(){this.title=RF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!!dv.isExpanded(e)},t.prototype.exec=function(t,e){var r=t.selection;if(null!=r){var n=[r.anchor.path[0]];zv.insertNodes(t,{type:"paragraph",children:[{text:""}]},{at:n}),t.select(Kh.start(t,n))}},t}(),rV={menus:[{key:"enter",factory:function(){return new eV}}]},nV=function(){function t(){this.title=RF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||!!SB.getSelectedElems(t).some(function(e){if(t.isVoid(e))return!0;var r=SB.getNodeType(e);return"table"===r||"pre"===r})},t.prototype.exec=function(t,e){SB.isSelectedEmptyParagraph(t)&&zv.removeNodes(t,{mode:"highest"}),zv.insertNodes(t,{type:"divider",children:[{text:""}]},{mode:"highest"})},t}(),oV={renderElems:[{type:"divider",renderElem:function(t,e,r){return vy("div",{props:{contentEditable:!1,className:"w-e-textarea-divider"},dataset:{selected:SB.isNodeSelected(r,t)?"true":""},style:{},on:{mousedown:function(t){return t.preventDefault()}}},[vy("hr")])}}],elemsToHtml:[{type:"divider",elemToHtml:function(t,e){return"<hr/>"}}],parseElemsHtml:[{selector:"hr:not([data-w-e-type])",parseElemHtml:function(t,e,r){return{type:"divider",children:[{text:""}]}}}],menus:[{key:"divider",factory:function(){return new nV}}],editorPlugin:function(t){var e=t.isVoid,r=t.normalizeNode,n=t;return n.isVoid=function(t){return"divider"===t.type||e(t)},n.normalizeNode=function(t){var e=Lz(t,2),o=e[0],i=e[1];if("divider"!==SB.getNodeType(o))return r([o,i]);SB.isLastNode(n,o)&&zv.insertNodes(n,SB.genEmptyParagraph(),{at:[i[0]+1]})},n}},iV=function(){function t(){this.title=RF("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(t,e){},t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||!!Lz(Kh.nodes(t,{match:function(e){return"pre"===SB.getNodeType(e)||!!Kh.isVoid(t,e)},universal:!0}),1)[0]},t.prototype.getPanelContentElem=function(t){if(null==this.$content){var e=og('<ul class="w-e-panel-content-emotion"></ul>');e.on("click","li",function(e){var r=e.target;if(null!=r){e.preventDefault();var n=og(r).text();t.insertText(n)}}),this.$content=e}var r=this.$content;if(null==r)return document.createElement("ul");r.empty();var n=t.getMenuConfig("emotion").emotions;return(void 0===n?[]:n).forEach(function(t){var e=og("<li>".concat(t,"</li>"));r.append(e)}),r[0]},t}(),uV={menus:[{key:"emotion",factory:function(){return new iV},config:{emotions:"😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 😘 😗 😙 😚 😋 😛 😝 😜 🤓 😎 😏 😒 😞 😔 😟 😕 🙁 😣 😖 😫 😩 😢 😭 😤 😠 😡 😳 😱 😨 🤗 🤔 😶 😑 😬 🙄 😯 😴 😷 🤑 😈 🤡 💩 👻 💀 👀 👣 👐 🙌 👏 🤝 👍 👎 👊 ✊ 🤛 🤜 🤞 ✌️ 🤘 👌 👈 👉 👆 👇 ☝️ ✋ 🤚 🖐 🖖 👋 🤙 💪 🖕 ✍️ 🙏".split(" ")}}]},aV={};function sV(){if(MU)return jU;MU=1;var t=function(t){return t&&t.Math===Math&&t};return jU=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof SL&&SL)||t("object"==typeof jU&&jU)||function(){return this}()||Function("return this")()}function cV(){return HU?zU:(HU=1,zU=function(t){try{return!!t()}catch(t){return!0}})}function lV(){return UU?$U:(UU=1,$U=!cV()(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function fV(){if(GU)return VU;GU=1;var t=lV(),e=Function.prototype,r=e.apply,n=e.call;return VU="object"==typeof Reflect&&Reflect.apply||(t?n.bind(r):function(){return n.apply(r,arguments)}),VU}function dV(){if(qU)return WU;qU=1;var t=lV(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return WU=t?n:function(t){return function(){return r.apply(t,arguments)}},WU}function pV(){if(YU)return KU;YU=1;var t=dV(),e=t({}.toString),r=t("".slice);return KU=function(t){return r(e(t),8,-1)}}function hV(){if(JU)return XU;JU=1;var t=pV(),e=dV();return XU=function(r){if("Function"===t(r))return e(r)}}function vV(){if(QU)return ZU;QU=1;var t="object"==typeof document&&document.all;return ZU=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}var gV,yV,mV,bV,EV={};function wV(){return yV?gV:(yV=1,gV=!cV()(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function SV(){if(bV)return mV;bV=1;var t=lV(),e=Function.prototype.call;return mV=t?e.bind(e):function(){return e.apply(e,arguments)},mV}var CV,DV,OV,AV,xV,TV,NV,kV,PV,BV,IV,FV,RV,LV,_V,jV,MV,zV,HV,$V,UV,VV,GV,WV,qV,KV,YV,XV,JV,ZV,QV,tG,eG,rG,nG,oG,iG,uG={};function aG(){if(CV)return uG;CV=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return uG.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,uG}function sG(){return OV?DV:(OV=1,DV=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function cG(){if(xV)return AV;xV=1;var t=dV(),e=cV(),r=pV(),n=Object,o=t("".split);return AV=e(function(){return!n("z").propertyIsEnumerable(0)})?function(t){return"String"===r(t)?o(t,""):n(t)}:n}function lG(){return NV?TV:(NV=1,TV=function(t){return null==t})}function fG(){if(PV)return kV;PV=1;var t=lG(),e=TypeError;return kV=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function dG(){if(IV)return BV;IV=1;var t=cG(),e=fG();return BV=function(r){return t(e(r))}}function pG(){if(RV)return FV;RV=1;var t=vV();return FV=function(e){return"object"==typeof e?null!==e:t(e)}}function hG(){return _V?LV:(_V=1,LV={})}function vG(){if(MV)return jV;MV=1;var t=hG(),e=sV(),r=vV(),n=function(t){return r(t)?t:void 0};return jV=function(r,o){return arguments.length<2?n(t[r])||n(e[r]):t[r]&&t[r][o]||e[r]&&e[r][o]},jV}function gG(){return HV?zV:(HV=1,zV=dV()({}.isPrototypeOf))}function yG(){if(GV)return VV;GV=1;var t,e,r=sV(),n=function(){if(UV)return $V;UV=1;var t=sV().navigator,e=t&&t.userAgent;return $V=e?String(e):""}(),o=r.process,i=r.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),VV=e}function mG(){if(qV)return WV;qV=1;var t=yG(),e=cV(),r=sV().String;return WV=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function bG(){return YV?KV:(YV=1,KV=mG()&&!Symbol.sham&&"symbol"==typeof Symbol.iterator)}function EG(){if(JV)return XV;JV=1;var t=vG(),e=vV(),r=gG(),n=Object;return XV=bG()?function(t){return"symbol"==typeof t}:function(o){var i=t("Symbol");return e(i)&&r(i.prototype,n(o))}}function wG(){if(QV)return ZV;QV=1;var t=String;return ZV=function(e){try{return t(e)}catch(t){return"Object"}}}function SG(){if(eG)return tG;eG=1;var t=vV(),e=wG(),r=TypeError;return tG=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}var CG,DG,OG,AG,xG,TG,NG,kG,PG,BG,IG,FG,RG,LG,_G,jG,MG,zG,HG,$G,UG,VG,GG,WG,qG,KG,YG,XG,JG={exports:{}};function ZG(){return DG?CG:(DG=1,CG=!0)}function QG(){if(xG)return JG.exports;xG=1;var t=ZG(),e=sV(),r=function(){if(AG)return OG;AG=1;var t=sV(),e=Object.defineProperty;return OG=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}(),n="__core-js_shared__",o=JG.exports=e[n]||r(n,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),JG.exports}function tW(){if(NG)return TG;NG=1;var t=QG();return TG=function(e,r){return t[e]||(t[e]=r||{})}}function eW(){if(PG)return kG;PG=1;var t=fG(),e=Object;return kG=function(r){return e(t(r))}}function rW(){if(IG)return BG;IG=1;var t=dV(),e=eW(),r=t({}.hasOwnProperty);return BG=Object.hasOwn||function(t,n){return r(e(t),n)}}function nW(){if(RG)return FG;RG=1;var t=dV(),e=0,r=Math.random(),n=t(1.1.toString);return FG=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function oW(){if(_G)return LG;_G=1;var t=sV(),e=tW(),r=rW(),n=nW(),o=mG(),i=bG(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||n;return LG=function(t){return r(a,t)||(a[t]=o&&r(u,t)?u[t]:s("Symbol."+t)),a[t]}}function iW(){if(MG)return jG;MG=1;var t=SV(),e=pG(),r=EG(),n=function(){if(nG)return rG;nG=1;var t=SG(),e=lG();return rG=function(r,n){var o=r[n];return e(o)?void 0:t(o)}}(),o=function(){if(iG)return oG;iG=1;var t=SV(),e=vV(),r=pG(),n=TypeError;return oG=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!r(a=t(u,o)))return a;if(e(u=o.valueOf)&&!r(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!r(a=t(u,o)))return a;throw new n("Can't convert object to primitive value")},oG}(),i=TypeError,u=oW()("toPrimitive");return jG=function(a,s){if(!e(a)||r(a))return a;var c,l=n(a,u);if(l){if(void 0===s&&(s="default"),c=t(l,a,s),!e(c)||r(c))return c;throw new i("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(a,s)}}function uW(){if(HG)return zG;HG=1;var t=iW(),e=EG();return zG=function(r){var n=t(r,"string");return e(n)?n:n+""}}function aW(){if(UG)return $G;UG=1;var t=sV(),e=pG(),r=t.document,n=e(r)&&e(r.createElement);return $G=function(t){return n?r.createElement(t):{}}}function sW(){if(GG)return VG;GG=1;var t=wV(),e=cV(),r=aW();return VG=!t&&!e(function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})}function cW(){if(WG)return EV;WG=1;var t=wV(),e=SV(),r=aG(),n=sG(),o=dG(),i=uW(),u=rW(),a=sW(),s=Object.getOwnPropertyDescriptor;return EV.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return n(!e(r.f,t,c),t[c])},EV}function lW(){if(XG)return YG;XG=1;var t=hV(),e=SG(),r=lV(),n=t(t.bind);return YG=function(t,o){return e(t),void 0===o?t:r?n(t,o):function(){return t.apply(o,arguments)}},YG}var fW,dW,pW,hW,vW,gW,yW,mW,bW,EW,wW,SW,CW,DW,OW,AW,xW,TW,NW,kW,PW,BW,IW,FW,RW,LW,_W,jW,MW,zW,HW,$W,UW,VW,GW,WW,qW,KW,YW={};function XW(){return dW?fW:(dW=1,fW=wV()&&cV()(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}))}function JW(){if(hW)return pW;hW=1;var t=pG(),e=String,r=TypeError;return pW=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function ZW(){if(vW)return YW;vW=1;var t=wV(),e=sW(),r=XW(),n=JW(),o=uW(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return YW.f=t?r?function(t,e,r){if(n(t),e=o(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&l in r&&!r[l]){var i=a(t,e);i&&i[l]&&(t[e]=r.value,r={configurable:c in r?r[c]:i[c],enumerable:s in r?r[s]:i[s],writable:!1})}return u(t,e,r)}:u:function(t,r,a){if(n(t),r=o(r),n(a),e)try{return u(t,r,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[r]=a.value),t},YW}function QW(){if(yW)return gW;yW=1;var t=wV(),e=ZW(),r=sG();return gW=t?function(t,n,o){return e.f(t,n,r(1,o))}:function(t,e,r){return t[e]=r,t}}function tq(){if(bW)return mW;bW=1;var t=sV(),e=fV(),r=hV(),n=vV(),o=cW().f,i=function(){if(KG)return qG;KG=1;var t=cV(),e=vV(),r=/#|\.prototype\./,n=function(r,n){var s=i[o(r)];return s===a||s!==u&&(e(n)?t(n):!!n)},o=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},i=n.data={},u=n.NATIVE="N",a=n.POLYFILL="P";return qG=n}(),u=hG(),a=lW(),s=QW(),c=rW(),l=function(t){var r=function(n,o,i){if(this instanceof r){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,o)}return new t(n,o,i)}return e(t,this,arguments)};return r.prototype=t.prototype,r};return mW=function(e,f){var d,p,h,v,g,y,m,b,E,w=e.target,S=e.global,C=e.stat,D=e.proto,O=S?t:C?t[w]:t[w]&&t[w].prototype,A=S?u:u[w]||s(u,w,{})[w],x=A.prototype;for(v in f)p=!(d=i(S?v:w+(C?".":"#")+v,e.forced))&&O&&c(O,v),y=A[v],p&&(m=e.dontCallGetSet?(E=o(O,v))&&E.value:O[v]),g=p&&m?m:f[v],(d||D||typeof y!=typeof g)&&(b=e.bind&&p?a(g,t):e.wrap&&p?l(g):D&&n(g)?r(g):g,(e.sham||g&&g.sham||y&&y.sham)&&s(b,"sham",!0),s(A,v,b),D&&(c(u,h=w+"Prototype")||s(u,h,{}),s(u[h],v,g),e.real&&x&&(d||!x[v])&&s(x,v,g)))}}function eq(){if(wW)return EW;wW=1;var t=pV();return EW=Array.isArray||function(e){return"Array"===t(e)}}function rq(){if(OW)return DW;OW=1;var t=function(){if(CW)return SW;CW=1;var t=Math.ceil,e=Math.floor;return SW=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return DW=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function nq(){if(NW)return TW;NW=1;var t=function(){if(xW)return AW;xW=1;var t=rq(),e=Math.min;return AW=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}();return TW=function(e){return t(e.length)}}function oq(){if(RW)return FW;RW=1;var t={};return t[oW()("toStringTag")]="z",FW="[object z]"===String(t)}function iq(){if(_W)return LW;_W=1;var t=oq(),e=vV(),r=pV(),n=oW()("toStringTag"),o=Object,i="Arguments"===r(function(){return arguments}());return LW=t?r:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),n))?a:i?r(u):"Object"===(s=r(u))&&e(u.callee)?"Arguments":s}}function uq(){if(HW)return zW;HW=1;var t=dV(),e=cV(),r=vV(),n=iq(),o=vG(),i=function(){if(MW)return jW;MW=1;var t=dV(),e=vV(),r=QG(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),jW=r.inspectSource}(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!r(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,zW=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function aq(){if(GW)return VW;GW=1;var t=function(){if(UW)return $W;UW=1;var t=eq(),e=uq(),r=pG(),n=oW()("species"),o=Array;return $W=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||r(u)&&null===(u=u[n]))&&(u=void 0)),void 0===u?o:u}}();return VW=function(e,r){return new(t(e))(0===r?0:r)}}var sq,cq,lq={},fq={};function dq(){if(cq)return sq;cq=1;var t=iq(),e=String;return sq=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}var pq,hq,vq,gq,yq,mq,bq,Eq,wq,Sq,Cq,Dq,Oq,Aq,xq,Tq,Nq,kq,Pq,Bq={};function Iq(){if(gq)return vq;gq=1;var t=dG(),e=function(){if(hq)return pq;hq=1;var t=rq(),e=Math.max,r=Math.min;return pq=function(n,o){var i=t(n);return i<0?e(i+o,0):r(i,o)},pq}(),r=nq(),n=function(n){return function(o,i,u){var a=t(o),s=r(a);if(0===s)return!n&&-1;var c,l=e(u,s);if(n&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((n||l in a)&&a[l]===i)return n||l||0;return!n&&-1}};return vq={includes:n(!0),indexOf:n(!1)}}function Fq(){return mq?yq:(mq=1,yq={})}function Rq(){if(Eq)return bq;Eq=1;var t=dV(),e=rW(),r=dG(),n=Iq().indexOf,o=Fq(),i=t([].push);return bq=function(t,u){var a,s=r(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~n(l,a)||i(l,a));return l}}function Lq(){return Sq?wq:(Sq=1,wq=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function _q(){if(Dq)return Cq;Dq=1;var t=Rq(),e=Lq();return Cq=Object.keys||function(r){return t(r,e)}}function jq(){if(Oq)return Bq;Oq=1;var t=wV(),e=XW(),r=ZW(),n=JW(),o=dG(),i=_q();return Bq.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)r.f(t,u=s[l++],a[u]);return t},Bq}function Mq(){if(Nq)return Tq;Nq=1;var t=tW(),e=nW(),r=t("keys");return Tq=function(t){return r[t]||(r[t]=e(t))}}function zq(){if(Pq)return kq;Pq=1;var t,e=JW(),r=jq(),n=Lq(),o=Fq(),i=xq?Aq:(xq=1,Aq=vG()("document","documentElement")),u=aW(),a="prototype",s="script",c=Mq()("IE_PROTO"),l=function(){},f=function(t){return"<"+s+">"+t+"</"+s+">"},d=function(t){t.write(f("")),t.close();var e=t.parentWindow.Object;return t=null,e},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,o;p="undefined"!=typeof document?document.domain&&t?d(t):(r=u("iframe"),o="java"+s+":",r.style.display="none",i.appendChild(r),r.src=String(o),(e=r.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):d(t);for(var c=n.length;c--;)delete p[a][n[c]];return p()};return o[c]=!0,kq=Object.create||function(t,n){var o;return null!==t?(l[a]=e(t),o=new l,l[a]=null,o[c]=t):o=p(),void 0===n?o:r.f(o,n)}}var Hq,$q={};function Uq(){if(Hq)return $q;Hq=1;var t=Rq(),e=Lq().concat("length","prototype");return $q.f=Object.getOwnPropertyNames||function(r){return t(r,e)},$q}var Vq,Gq,Wq,qq={};function Kq(){return Gq?Vq:(Gq=1,Vq=dV()([].slice))}var Yq,Xq,Jq,Zq,Qq,tK={};function eK(){return Yq||(Yq=1,tK.f=Object.getOwnPropertySymbols),tK}function rK(){if(Jq)return Xq;Jq=1;var t=QW();return Xq=function(e,r,n,o){return o&&o.enumerable?e[r]=n:t(e,r,n),e}}var nK,oK,iK,uK,aK,sK,cK,lK,fK,dK,pK,hK,vK,gK,yK,mK,bK={};function EK(){if(nK)return bK;nK=1;var t=oW();return bK.f=t,bK}function wK(){if(iK)return oK;iK=1;var t=hG(),e=rW(),r=EK(),n=ZW().f;return oK=function(o){var i=t.Symbol||(t.Symbol={});e(i,o)||n(i,o,{value:r.f(o)})}}function SK(){if(aK)return uK;aK=1;var t=SV(),e=vG(),r=oW(),n=rK();return uK=function(){var o=e("Symbol"),i=o&&o.prototype,u=i&&i.valueOf,a=r("toPrimitive");i&&!i[a]&&n(i,a,function(e){return t(u,this)},{arity:1})}}function CK(){if(fK)return lK;fK=1;var t=oq(),e=ZW().f,r=QW(),n=rW(),o=function(){if(cK)return sK;cK=1;var t=oq(),e=iq();return sK=t?{}.toString:function(){return"[object "+e(this)+"]"}}(),i=oW()("toStringTag");return lK=function(u,a,s,c){var l=s?u:u&&u.prototype;l&&(n(l,i)||e(l,i,{configurable:!0,value:a}),c&&!t&&r(l,"toString",o))}}function DK(){if(vK)return hK;vK=1;var t,e,r,n=function(){if(pK)return dK;pK=1;var t=sV(),e=vV(),r=t.WeakMap;return dK=e(r)&&/native code/.test(String(r))}(),o=sV(),i=pG(),u=QW(),a=rW(),s=QG(),c=Mq(),l=Fq(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(n||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},r=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},r=function(t){return a(t,v)}}return hK={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!i(r)||(n=e(r)).type!==t)throw new d("Incompatible receiver, "+t+" required");return n}}}}var OK,AK,xK,TK={};function NK(){return AK?OK:(AK=1,OK=mG()&&!!Symbol.for&&!!Symbol.keyFor)}var kK,PK,BK,IK,FK={},RK={};var LK,_K,jK={};function MK(){return _K||(_K=1,function(){if(mK)return fq;mK=1;var t=tq(),e=sV(),r=SV(),n=dV(),o=ZG(),i=wV(),u=mG(),a=cV(),s=rW(),c=gG(),l=JW(),f=dG(),d=uW(),p=dq(),h=sG(),v=zq(),g=_q(),y=Uq(),m=function(){if(Wq)return qq;Wq=1;var t=pV(),e=dG(),r=Uq().f,n=Kq(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return qq.f=function(i){return o&&"Window"===t(i)?function(t){try{return r(t)}catch(t){return n(o)}}(i):r(e(i))},qq}(),b=eK(),E=cW(),w=ZW(),S=jq(),C=aG(),D=rK(),O=function(){if(Qq)return Zq;Qq=1;var t=ZW();return Zq=function(e,r,n){return t.f(e,r,n)}}(),A=tW(),x=Mq(),T=Fq(),N=nW(),k=oW(),P=EK(),B=wK(),I=SK(),F=CK(),R=DK(),L=function(){if(yK)return gK;yK=1;var t=lW(),e=dV(),r=cG(),n=eW(),o=nq(),i=aq(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=n(h),w=r(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return gK={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}().forEach,_=x("hidden"),j="Symbol",M="prototype",z=R.set,H=R.getterFor(j),$=Object[M],U=e.Symbol,V=U&&U[M],G=e.RangeError,W=e.TypeError,q=e.QObject,K=E.f,Y=w.f,X=m.f,J=C.f,Z=n([].push),Q=A("symbols"),tt=A("op-symbols"),et=A("wks"),rt=!q||!q[M]||!q[M].findChild,nt=function(t,e,r){var n=K($,e);n&&delete $[e],Y(t,e,r),n&&t!==$&&Y($,e,n)},ot=i&&a(function(){return 7!==v(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a})?nt:Y,it=function(t,e){var r=Q[t]=v(V);return z(r,{type:j,tag:t,description:e}),i||(r.description=e),r},ut=function(t,e,r){t===$&&ut(tt,e,r),l(t);var n=d(e);return l(r),s(Q,n)?(r.enumerable?(s(t,_)&&t[_][n]&&(t[_][n]=!1),r=v(r,{enumerable:h(0,!1)})):(s(t,_)||Y(t,_,h(1,v(null))),t[_][n]=!0),ot(t,n,r)):Y(t,n,r)},at=function(t,e){l(t);var n=f(e),o=g(n).concat(ft(n));return L(o,function(e){i&&!r(st,n,e)||ut(t,e,n[e])}),t},st=function(t){var e=d(t),n=r(J,this,e);return!(this===$&&s(Q,e)&&!s(tt,e))&&(!(n||!s(this,e)||!s(Q,e)||s(this,_)&&this[_][e])||n)},ct=function(t,e){var r=f(t),n=d(e);if(r!==$||!s(Q,n)||s(tt,n)){var o=K(r,n);return!o||!s(Q,n)||s(r,_)&&r[_][n]||(o.enumerable=!0),o}},lt=function(t){var e=X(f(t)),r=[];return L(e,function(t){s(Q,t)||s(T,t)||Z(r,t)}),r},ft=function(t){var e=t===$,r=X(e?tt:f(t)),n=[];return L(r,function(t){!s(Q,t)||e&&!s($,t)||Z(n,Q[t])}),n};u||(U=function(){if(c(V,this))throw new W("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?p(arguments[0]):void 0,n=N(t),o=function(t){var i=void 0===this?e:this;i===$&&r(o,tt,t),s(i,_)&&s(i[_],n)&&(i[_][n]=!1);var u=h(1,t);try{ot(i,n,u)}catch(t){if(!(t instanceof G))throw t;nt(i,n,u)}};return i&&rt&&ot($,n,{configurable:!0,set:o}),it(n,t)},D(V=U[M],"toString",function(){return H(this).tag}),D(U,"withoutSetter",function(t){return it(N(t),t)}),C.f=st,w.f=ut,S.f=at,E.f=ct,y.f=m.f=lt,b.f=ft,P.f=function(t){return it(k(t),t)},i&&(O(V,"description",{configurable:!0,get:function(){return H(this).description}}),o||D($,"propertyIsEnumerable",st,{unsafe:!0}))),t({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:U}),L(g(et),function(t){B(t)}),t({target:j,stat:!0,forced:!u},{useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),t({target:"Object",stat:!0,forced:!u,sham:!i},{create:function(t,e){return void 0===e?v(t):at(v(t),e)},defineProperty:ut,defineProperties:at,getOwnPropertyDescriptor:ct}),t({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:lt}),I(),F(U,j),T[_]=!0}(),function(){if(xK)return TK;xK=1;var t=tq(),e=vG(),r=rW(),n=dq(),o=tW(),i=NK(),u=o("string-to-symbol-registry"),a=o("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!i},{for:function(t){var o=n(t);if(r(u,o))return u[o];var i=e("Symbol")(o);return u[o]=i,a[i]=o,i}})}(),function(){if(kK)return FK;kK=1;var t=tq(),e=rW(),r=EG(),n=wG(),o=tW(),i=NK(),u=o("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!i},{keyFor:function(t){if(!r(t))throw new TypeError(n(t)+" is not a symbol");if(e(u,t))return u[t]}})}(),function(){if(IK)return RK;IK=1;var t=tq(),e=vG(),r=fV(),n=SV(),o=dV(),i=cV(),u=vV(),a=EG(),s=Kq(),c=function(){if(BK)return PK;BK=1;var t=dV(),e=eq(),r=vV(),n=pV(),o=dq(),i=t([].push);return PK=function(t){if(r(t))return t;if(e(t)){for(var u=t.length,a=[],s=0;s<u;s++){var c=t[s];"string"==typeof c?i(a,c):"number"!=typeof c&&"Number"!==n(c)&&"String"!==n(c)||i(a,o(c))}var l=a.length,f=!0;return function(t,r){if(f)return f=!1,r;if(e(this))return r;for(var n=0;n<l;n++)if(a[n]===t)return r}}}}(),l=mG(),f=String,d=e("JSON","stringify"),p=o(/./.exec),h=o("".charAt),v=o("".charCodeAt),g=o("".replace),y=o(1.1.toString),m=/[\uD800-\uDFFF]/g,b=/^[\uD800-\uDBFF]$/,E=/^[\uDC00-\uDFFF]$/,w=!l||i(function(){var t=e("Symbol")("stringify detection");return"[null]"!==d([t])||"{}"!==d({a:t})||"{}"!==d(Object(t))}),S=i(function(){return'"\\udf06\\ud834"'!==d("\udf06\ud834")||'"\\udead"'!==d("\udead")}),C=function(t,e){var o=s(arguments),i=c(e);if(u(i)||void 0!==t&&!a(t))return o[1]=function(t,e){if(u(i)&&(e=n(i,this,f(t),e)),!a(e))return e},r(d,null,o)},D=function(t,e,r){var n=h(r,e-1),o=h(r,e+1);return p(b,t)&&!p(E,o)||p(E,t)&&!p(b,n)?"\\u"+y(v(t,0),16):t};d&&t({target:"JSON",stat:!0,arity:3,forced:w||S},{stringify:function(t,e,n){var o=s(arguments),i=r(w?C:d,null,o);return S&&"string"==typeof i?g(i,m,D):i}})}(),function(){if(LK)return jK;LK=1;var t=tq(),e=mG(),r=cV(),n=eK(),o=eW();t({target:"Object",stat:!0,forced:!e||r(function(){n.f(1)})},{getOwnPropertySymbols:function(t){var e=n.f;return e?e(o(t)):[]}})}()),lq}var zK,HK,$K={};function UK(){return zK||(zK=1,wK()("asyncDispose")),$K}var VK,GK,WK,qK={};function KK(){return VK||(VK=1,wK()("dispose")),qK}var YK,XK,JK,ZK,QK,tY,eY,rY={};function nY(){return YK||(YK=1,wK()("iterator")),rY}var oY,iY,uY,aY,sY,cY,lY={},fY={},dY={};function pY(){return cY?sY:(cY=1,function(){if(KW)return aV;KW=1;var t=tq(),e=cV(),r=eq(),n=pG(),o=eW(),i=nq(),u=function(){if(PW)return kW;PW=1;var t=TypeError;return kW=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}(),a=function(){if(IW)return BW;IW=1;var t=wV(),e=ZW(),r=sG();return BW=function(n,o,i){t?e.f(n,o,r(0,i)):n[o]=i}}(),s=aq(),c=function(){if(qW)return WW;qW=1;var t=cV(),e=oW(),r=yG(),n=e("species");return WW=function(e){return r>=51||!t(function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}(),l=oW(),f=yG(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!n(t))return!1;var e=t[d];return void 0!==e?!!e:r(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,r,n,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),r=0;r<c;r++,p++)r in l&&a(d,p,l[r]);else u(p+1),a(d,p++,l);return d.length=p,d}})}(),MK(),UK(),HK||(HK=1,wK()("asyncIterator")),KK(),GK||(GK=1,wK()("hasInstance")),WK||(WK=1,wK()("isConcatSpreadable")),nY(),XK||(XK=1,wK()("match")),JK||(JK=1,wK()("matchAll")),ZK||(ZK=1,wK()("replace")),QK||(QK=1,wK()("search")),tY||(tY=1,wK()("species")),eY||(eY=1,wK()("split")),function(){if(oY)return lY;oY=1;var t=wK(),e=SK();t("toPrimitive"),e()}(),function(){if(iY)return fY;iY=1;var t=vG(),e=wK(),r=CK();e("toStringTag"),r(t("Symbol"),"Symbol")}(),uY||(uY=1,wK()("unscopables")),function(){if(aY)return dY;aY=1;var t=sV();CK()(t.JSON,"JSON",!0)}(),sY=hG().Symbol)}var hY,vY,gY,yY,mY,bY,EY,wY,SY,CY,DY,OY,AY,xY,TY,NY,kY,PY,BY,IY,FY,RY,LY,_Y,jY,MY,zY,HY,$Y,UY,VY,GY,WY,qY={};function KY(){return yY?gY:(yY=1,gY={})}function YY(){if(CY)return SY;CY=1;var t=rW(),e=vV(),r=eW(),n=Mq(),o=wY?EY:(wY=1,EY=!cV()(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),i=n("IE_PROTO"),u=Object,a=u.prototype;return SY=o?u.getPrototypeOf:function(n){var o=r(n);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function XY(){if(OY)return DY;OY=1;var t,e,r,n=cV(),o=vV(),i=pG(),u=zq(),a=YY(),s=rK(),c=oW(),l=ZG(),f=c("iterator"),d=!1;return[].keys&&("next"in(r=[].keys())?(e=a(a(r)))!==Object.prototype&&(t=e):d=!0),!i(t)||n(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),DY={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function JY(){if(IY)return BY;IY=1;var t=function(){if(PY)return kY;PY=1;var t=pG();return kY=function(e){return t(e)||null===e}}(),e=String,r=TypeError;return BY=function(n){if(t(n))return n;throw new r("Can't set "+e(n)+" as a prototype")}}function ZY(){if(RY)return FY;RY=1;var t=function(){if(NY)return TY;NY=1;var t=dV(),e=SG();return TY=function(r,n,o){try{return t(e(Object.getOwnPropertyDescriptor(r,n)[o]))}catch(t){}}}(),e=pG(),r=fG(),n=JY();return FY=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return r(t),n(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function QY(){if(_Y)return LY;_Y=1;var t=tq(),e=SV(),r=ZG(),n=function(){if(bY)return mY;bY=1;var t=wV(),e=rW(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,o=e(r,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&n(r,"name").configurable);return mY={EXISTS:o,PROPER:i,CONFIGURABLE:u}}(),o=vV(),i=function(){if(xY)return AY;xY=1;var t=XY().IteratorPrototype,e=zq(),r=sG(),n=CK(),o=KY(),i=function(){return this};return AY=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:r(+!c,s)}),n(u,l,!1,!0),o[l]=i,u}}(),u=YY(),a=ZY(),s=CK(),c=QW(),l=rK(),f=oW(),d=KY(),p=XY(),h=n.PROPER,v=n.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return LY=function(n,f,p,C,D,O,A){i(p,f,C);var x,T,N,k=function(t){if(t===D&&R)return R;if(!y&&t&&t in I)return I[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},P=f+" Iterator",B=!1,I=n.prototype,F=I[m]||I["@@iterator"]||D&&I[D],R=!y&&F||k(D),L="Array"===f&&I.entries||F;if(L&&(x=u(L.call(new n)))!==Object.prototype&&x.next&&(r||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,P,!0,!0),r&&(d[P]=S)),h&&D===E&&F&&F.name!==E&&(!r&&v?c(I,"name",E):(B=!0,R=function(){return e(F,this)})),D)if(T={values:k(E),keys:O?R:k(b),entries:k(w)},A)for(N in T)(y||B||!(N in I))&&l(I,N,T[N]);else t({target:f,proto:!0,forced:y||B},T);return r&&!A||I[m]===R||l(I,m,R,{name:D}),d[f]=R,T}}function tX(){return MY?jY:(MY=1,jY=function(t,e){return{value:t,done:e}})}function eX(){if(HY)return zY;HY=1;var t=dG(),e=vY?hY:(vY=1,hY=function(){}),r=KY(),n=DK(),o=ZW().f,i=QY(),u=tX(),a=ZG(),s=wV(),c="Array Iterator",l=n.set,f=n.getterFor(c);zY=i(Array,"Array",function(e,r){l(this,{type:c,target:t(e),index:0,kind:r})},function(){var t=f(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(r,!1);case"values":return u(e[r],!1)}return u([r,e[r]],!1)},"values");var d=r.Arguments=r.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return zY}function rX(){if(VY)return qY;VY=1,eX();var t=UY?$Y:(UY=1,$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}),e=sV(),r=CK(),n=KY();for(var o in t)r(e[o],o),n[o]=n.Array;return qY}var nX,oX,iX,uX,aX,sX,cX,lX,fX,dX,pX,hX,vX,gX,yX,mX,bX,EX,wX,SX,CX,DX,OX,AX,xX={};function TX(){if(sX)return aX;sX=1;var t=function(){if(WY)return GY;WY=1;var t=pY();return rX(),GY=t}();return function(){if(nX)return xX;nX=1;var t=oW(),e=ZW().f,r=t("metadata"),n=Function.prototype;void 0===n[r]&&e(n,r,{value:null})}(),oX||(oX=1,UK()),iX||(iX=1,KK()),uX||(uX=1,wK()("metadata")),aX=t}function NX(){if(lX)return cX;lX=1;var t=vG(),e=dV(),r=t("Symbol"),n=r.keyFor,o=e(r.prototype.valueOf);return cX=r.isRegisteredSymbol||function(t){try{return void 0!==n(o(t))}catch(t){return!1}}}function kX(){if(pX)return dX;pX=1;for(var t=tW(),e=vG(),r=dV(),n=EG(),o=oW(),i=e("Symbol"),u=i.isWellKnownSymbol,a=e("Object","getOwnPropertyNames"),s=r(i.prototype.valueOf),c=t("wks"),l=0,f=a(i),d=f.length;l<d;l++)try{var p=f[l];n(i[p])&&o(p)}catch(t){}return dX=function(t){if(u&&u(t))return!0;try{for(var e=s(t),r=0,n=a(c),o=n.length;r<o;r++)if(c[n[r]]==e)return!0}catch(t){}return!1},dX}var PX,BX,IX,FX,RX,LX,_X,jX,MX,zX,HX,$X,UX,VX=CL(AX?OX:(AX=1,OX=function(){if(DX)return CX;DX=1;var t=TX();return fX||(fX=1,tq()({target:"Symbol",stat:!0},{isRegisteredSymbol:NX()})),hX||(hX=1,tq()({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:kX()})),vX||(vX=1,wK()("customMatcher")),gX||(gX=1,wK()("observable")),yX||(yX=1,tq()({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:NX()})),mX||(mX=1,tq()({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:kX()})),bX||(bX=1,wK()("matcher")),EX||(EX=1,wK()("metadataKey")),wX||(wX=1,wK()("patternMatch")),SX||(SX=1,wK()("replaceAll")),CX=t}())),GX={};function WX(){return RX?FX:(RX=1,eX(),function(){if(IX)return GX;IX=1;var t=function(){if(BX)return PX;BX=1;var t=dV(),e=rq(),r=dq(),n=fG(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=r(n(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return PX={codeAt:a(!1),charAt:a(!0)}}().charAt,e=dq(),r=DK(),n=QY(),o=tX(),i="String Iterator",u=r.set,a=r.getterFor(i);n(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,r=a(this),n=r.string,i=r.index;return i>=n.length?o(void 0,!0):(e=t(n,i),r.index+=e.length,o(e,!1))})}(),nY(),FX=EK().f("iterator"))}function qX(){return MX?jX:(MX=1,jX=function(){if(_X)return LX;_X=1;var t=WX();return rX(),LX=t}())}var KX=CL(UX?$X:(UX=1,$X=HX?zX:(HX=1,zX=qX())));function YX(t){return YX="function"==typeof VX&&"symbol"==typeof KX?function(t){return typeof t}:function(t){return t&&"function"==typeof VX&&t.constructor===VX&&t!==VX.prototype?"symbol":typeof t},YX(t)}var XX,JX,ZX,QX={};!function(){if(ZX)return QX;ZX=1;var t=jL(),e=uM().EXISTS,r=P_(),n=function(){if(JX)return XX;JX=1;var t=fM(),e=$j();return XX=function(r,n,o){return o.get&&t(o.get,n,{getter:!0}),o.set&&t(o.set,n,{setter:!0}),e.f(r,n,o)}}(),o=Function.prototype,i=r(o.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,a=r(u.exec);t&&!e&&n(o,"name",{configurable:!0,get:function(){try{return a(u,i(this))[1]}catch(t){return""}}})}();var tJ,eJ,rJ,nJ,oJ,iJ,uJ,aJ=function(){function t(){this.tag="select",this.width=80}return t.prototype.isActive=function(t){return!1},t.prototype.getValue=function(t){var e=this.mark,r=Kh.marks(t);return r&&r[e]?r[e]:""},t.prototype.isDisabled=function(t){return null==t.selection||!!Lz(Kh.nodes(t,{match:function(e){return"pre"===SB.getNodeType(e)||!!Kh.isVoid(t,e)},universal:!0}),1)[0]},t.prototype.exec=function(t,e){var r=this.mark;e?t.addMark(r,e):t.removeMark(r)},t}(),sJ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.title=RF("fontFamily.title"),e.iconSvg='<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>',e.mark="fontFamily",e.selectPanelWidth=150,e}return Pz(e,t),e.prototype.getOptions=function(t){var e=[],r=t.getMenuConfig(this.mark).fontFamilyList,n=void 0===r?[]:r;e.push({text:RF("fontFamily.default"),value:""}),n.forEach(function(t){if("string"==typeof t)e.push({text:t,value:t,styleForRenderMenuList:{"font-family":t}});else if("object"===YX(t)){var r=t.name,n=t.value;e.push({text:r,value:n,styleForRenderMenuList:{"font-family":n}})}});var o=this.getValue(t),i=!1;return e.forEach(function(t){t.value===o?(i=!0,t.selected=!0):t.selected=void 0}),i||"string"!=typeof o||e.push({text:o,value:o,selected:!0}),e},e}(aJ),cJ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.title=RF("fontSize.title"),e.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M64 512h384v128h-128V1024h-128V640h-128z m896-256H708.2496v768h-136.4992V256H320V128h640z"></path></svg>',e.mark="fontSize",e}return Pz(e,t),e.prototype.getOptions=function(t){var e=[],r=t.getMenuConfig(this.mark).fontSizeList,n=void 0===r?[]:r;e.push({text:RF("fontSize.default"),value:""}),n.forEach(function(t){if("string"==typeof t)e.push({text:t,value:t});else if("object"===YX(t)){var r=t.name,n=t.value;e.push({text:r,value:n})}});var o=this.getValue(t),i=!1;return e.forEach(function(t){t.value===o?(i=!0,t.selected=!0):t.selected=void 0}),i||"string"!=typeof o||e.push({text:o,value:o,selected:!0}),e},e}(aJ),lJ={1:"12px",2:"14px",3:"16px",4:"19px",5:"24px",6:"32px",7:"48px"},fJ={renderStyle:function(t,e){var r=t,n=r.fontSize,o=r.fontFamily,i=e;return n&&_U(i,{fontSize:n}),o&&_U(i,{fontFamily:o}),i},styleToHtml:function(t,e){if(!wv.isText(t))return e;var r,n=t,o=n.fontSize,i=n.fontFamily;return o||i?((r$(e)||"span"!==o$(r=og(e)))&&(r=og("<span>".concat(e,"</span>"))),o&&r.css("font-size",o),i&&r.css("font-family",i),n$(r)):e},preParseHtml:[{selector:"font",preParseHtml:function(t){var e=og(t);if("font"!==o$(e))return t;var r=e.attr("size")||"";r&&(e.removeAttr("size"),e.css("font-size",lJ[r]));var n=e.attr("face")||"";return n&&(e.removeAttr("face"),e.css("font-family",n)),e[0]}}],parseStyleHtml:function(t,e,r){var n=og(t);if(!wv.isText(e))return e;var o=e,i=i$(n,"font-size");i&&(o.fontSize=i);var u=i$(n,"font-family").replace(/"/g,"");return u&&(o.fontFamily=u),o},menus:[{key:"fontSize",factory:function(){return new cJ},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 sJ},config:{fontFamilyList:["黑体",{name:"仿宋",value:"仿宋"},"楷体","标楷体","华文仿宋","华文楷体",{name:"宋体",value:"宋体"},"微软雅黑","Arial","Tahoma","Verdana","Times New Roman","Courier New"]}}]},dJ={};!function(){if(uJ)return dJ;uJ=1;var t=uz(),e=function(){if(iJ)return oJ;iJ=1;var t=jL(),e=_L(),r=P_(),n=function(){if(nJ)return rJ;nJ=1;var t=Oj(),e=__(),r=Dj(),n=sM(),o=function(){if(eJ)return tJ;eJ=1;var t=_L();return tJ=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=n("IE_PROTO"),u=Object,a=u.prototype;return rJ=o?u.getPrototypeOf:function(n){var o=r(n);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}(),o=Az(),i=L_(),u=r(N_().f),a=r([].push),s=t&&e(function(){var t=Object.create(null);return t[2]=2,!u(t,2)}),c=function(e){return function(r){for(var c,l=i(r),f=o(l),d=s&&null===n(l),p=f.length,h=0,v=[];p>h;)c=f[h++],t&&!(d?c in l:u(l,c))||a(v,e?[c,l[c]]:l[c]);return v}};return oJ={entries:c(!0),values:c(!1)}}().entries;t({target:"Object",stat:!0},{entries:function(t){return e(t)}})}();var pJ,hJ={};!function(){if(pJ)return hJ;pJ=1;var t=uz(),e=Dj(),r=Az();t({target:"Object",stat:!0,forced:_L()(function(){r(1)})},{keys:function(t){return r(e(t))}})}();var vJ=function(){function t(){this.title=RF("formatPainter.title"),this.iconSvg='<svg viewBox="0 0 24 24"><path d="M8 19.997v-5h2v5h9v-7H5v7zm-4-9h16v-3h-6v-4h-4v4H4zm-1 10v-8H2v-6a1 1 0 0 1 1-1h5v-3a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v3h5a1 1 0 0 1 1 1v6h-1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1"/></svg>',this.tag="button"}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(e){return t.attrs.isSelect},t.prototype.isDisabled=function(t){return!1},t.prototype.setFormatHtml=function(e){var r,n;if(e.getSelectionText().length){if(t.attrs.formatStyle){!function(t){var e=Kh.marks(t);e&&Object.keys(e).forEach(function(e){t.removeMark(e)})}(e);try{for(var o=Rz(Object.entries(t.attrs.formatStyle)),i=o.next();!i.done;i=o.next()){var u=Lz(i.value,2),a=u[0],s=u[1];e.addMark(a,s)}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}t.attrs.formatStyle=null,t.attrs.isSelect=!1}},t.prototype.exec=function(e){t.attrs.isSelect?(t.attrs.isSelect=!1,t.attrs.formatStyle=null):e.getSelectionText().length&&(t.attrs.formatStyle=Kh.marks(e),t.attrs.isSelect=!0),e.blur(),e.focus()},t.attrs={isSelect:!1,formatStyle:null},t}(),gJ={menus:[{key:"formatPainter",factory:function(){return new vJ}}],editorPlugin:function(t){var e=new vJ,r=t.onChange,n=t,o=function(){e.setFormatHtml(n),document.removeEventListener("mouseup",o)};return n.onChange=function(){r(),vJ.attrs.isSelect&&(document.removeEventListener("mouseup",o),document.addEventListener("mouseup",o))},n}},yJ=function(){function t(){this.title=RF("fullScreen.title"),this.iconSvg=nH,this.tag="button",this.alwaysEnable=!0}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return t.isFullScreen},t.prototype.isDisabled=function(t){return!1},t.prototype.getIcon=function(t){return t.isFullScreen?nH:'<svg t="1723361745825" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8705" width="200" height="200"><path d="M703.926857 362.642286a42.642286 42.642286 0 0 1-42.642286-42.642286V128a42.642286 42.642286 0 1 1 85.357715 0v149.357714h149.357714c21.211429 0 38.765714 15.433143 42.057143 35.693715l0.585143 6.948571a42.642286 42.642286 0 0 1-42.642286 42.642286H703.926857zM703.926857 938.642286a42.642286 42.642286 0 0 1-42.642286-42.642286V704c0-23.552 19.090286-42.642286 42.642286-42.642286h192.073143a42.642286 42.642286 0 1 1 0 85.284572l-149.357714 0.073143v149.284571c0 21.211429-15.506286 38.765714-35.84 42.130286l-6.875429 0.512zM319.853714 938.642286a42.642286 42.642286 0 0 1-42.642285-42.642286v-149.284571H127.853714a42.642286 42.642286 0 0 1-42.130285-35.84l-0.585143-6.875429c0-23.552 19.163429-42.642286 42.715428-42.642286h192c23.552 0 42.715429 19.017143 42.715429 42.642286v192a42.642286 42.642286 0 0 1-42.715429 42.642286zM127.853714 362.642286a42.642286 42.642286 0 1 1 0-85.284572H277.211429V128c0-21.211429 15.433143-38.765714 35.766857-42.130286l6.875428-0.512c23.552 0 42.715429 19.017143 42.715429 42.642286v192a42.642286 42.642286 0 0 1-42.715429 42.642286H127.853714z" fill="#333333" p-id="8706"></path></svg>'},t.prototype.getTitle=function(t){return t.isFullScreen?RF("fullScreen.title"):RF("fullScreen.cancelTitle")},t.prototype.exec=function(t,e){t.isFullScreen?t.unFullScreen():t.fullScreen()},t}(),mJ={menus:[{key:"fullScreen",factory:function(){return new yJ}}]};function bJ(t){return function(e,r){return"<h".concat(t,">").concat(r,"</h").concat(t,">")}}var EJ,wJ={type:"header1",elemToHtml:bJ(1)},SJ={type:"header2",elemToHtml:bJ(2)},CJ={type:"header3",elemToHtml:bJ(3)},DJ={type:"header4",elemToHtml:bJ(4)},OJ={type:"header5",elemToHtml:bJ(5)},AJ={type:"header6",elemToHtml:bJ(6)},xJ={};function TJ(t){var e=Lz(Kh.nodes(t,{match:function(t){return SB.getNodeType(t).startsWith("header")},universal:!0}),1),r=e[0];if(null==r)return"paragraph";var n=Lz(r,1)[0];return SB.getNodeType(n)}function NJ(t){return null==t.selection||!Lz(Kh.nodes(t,{match:function(t){var e=SB.getNodeType(t);return"paragraph"===e||!!e.startsWith("header")},universal:!0,mode:"highest"}),1)[0]}function kJ(t,e){e&&zv.setNodes(t,{type:e})}!function(){if(EJ)return xJ;EJ=1;var t,e=uz(),r=aH(),n=Pj().f,o=IM(),i=cz(),u=_$(),a=R_(),s=j$(),c=Ej(),l=r("".slice),f=Math.min,d=s("startsWith");e({target:"String",proto:!0,forced:!(!c&&!d&&(t=n(String.prototype,"startsWith"),t&&!t.writable)||d)},{startsWith:function(t){var e=i(a(this));u(t);var r=o(f(arguments.length>1?arguments[1]:void 0,e.length)),n=i(t);return l(e,r,r+n.length)===n}})}();var PJ=function(){function t(){this.tag="button"}return t.prototype.getValue=function(t){return TJ(t)},t.prototype.isActive=function(t){return this.getValue(t)===this.type},t.prototype.isDisabled=function(t){return NJ(t)},t.prototype.exec=function(t,e){var r=this.type;kJ(t,e===r?"paragraph":r)},t}(),BJ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.title="H1",e.type="header1",e}return Pz(e,t),e}(PJ),IJ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.title="H2",e.type="header2",e}return Pz(e,t),e}(PJ),FJ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.title="H3",e.type="header3",e}return Pz(e,t),e}(PJ),RJ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.title="H4",e.type="header4",e}return Pz(e,t),e}(PJ),LJ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.title="H5",e.type="header5",e}return Pz(e,t),e}(PJ),_J=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.title="H6",e.type="header6",e}return Pz(e,t),e}(PJ),jJ=function(){function t(){this.title=RF("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(t){var e=[{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:"header6",text:"H6",styleForRenderMenuList:{"font-size":"11px","font-weight":"bold"}},{value:"paragraph",text:RF("header.text")}],r=this.getValue(t).toString();return e.forEach(function(t){t.value===r?t.selected=!0:t.selected=void 0}),e},t.prototype.isActive=function(t){return!1},t.prototype.getValue=function(t){return TJ(t)},t.prototype.isDisabled=function(t){return NJ(t)},t.prototype.exec=function(t,e){kJ(t,e.toString())},t}(),MJ={key:"headerSelect",factory:function(){return new jJ}},zJ={key:"header1",factory:function(){return new BJ}},HJ={key:"header2",factory:function(){return new IJ}},$J={key:"header3",factory:function(){return new FJ}},UJ={key:"header4",factory:function(){return new RJ}},VJ={key:"header5",factory:function(){return new LJ}},GJ={key:"header6",factory:function(){return new _J}};function WJ(t){return function(e,r,n){var o=og(e);return 0===(r=r.filter(function(t){return!!wv.isText(t)||!!n.isInline(t)})).length&&(r=[{text:o.text().replace(/\s+/gm," ")}]),{type:"header".concat(t),children:r}}}var qJ={selector:"h1:not([data-w-e-type])",parseElemHtml:WJ(1)},KJ={selector:"h2:not([data-w-e-type])",parseElemHtml:WJ(2)},YJ={selector:"h3:not([data-w-e-type])",parseElemHtml:WJ(3)},XJ={selector:"h4:not([data-w-e-type])",parseElemHtml:WJ(4)},JJ={selector:"h5:not([data-w-e-type])",parseElemHtml:WJ(5)},ZJ={selector:"h6:not([data-w-e-type])",parseElemHtml:WJ(6)};function QJ(t){return function(e,r,n){return Ry("h".concat(t),null,r)}}var tZ={renderElems:[{type:"header1",renderElem:QJ(1)},{type:"header2",renderElem:QJ(2)},{type:"header3",renderElem:QJ(3)},{type:"header4",renderElem:QJ(4)},{type:"header5",renderElem:QJ(5)},{type:"header6",renderElem:QJ(6)}],elemsToHtml:[wJ,SJ,CJ,DJ,OJ,AJ],parseElemsHtml:[qJ,KJ,YJ,XJ,JJ,ZJ],menus:[MJ,zJ,HJ,$J,UJ,VJ,GJ],editorPlugin:function(t){var e=t.insertBreak,r=t;return r.insertBreak=function(){var n=Lz(Kh.nodes(r,{match:function(t){return SB.getNodeType(t).startsWith("header")},universal:!0}),1)[0];n&&SB.isSelectionAtLineEnd(t,n[1])?zv.insertNodes(r,{type:"paragraph",children:[{text:""}]},{mode:"highest"}):e()},r}},eZ=function(){function t(){this.title=RF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||null==SB.getSelectedNodeByType(t,"image")},t.prototype.exec=function(t,e){this.isDisabled(t)||zv.removeNodes(t,{match:function(t){return SB.checkNodeType(t,"image")}})},t}();function rZ(t){return void 0===t&&(t="r"),"".concat(t,"-").concat(jg())}function nZ(t){return t.replace(/</g,"<").replace(/>/g,">")}function oZ(t){var e=t.selection;return null==e||!dv.isCollapsed(e)||!!Lz(Kh.nodes(t,{match:function(e){var r=SB.getNodeType(e);return"code"===r||"pre"===r||"link"===r||"list-item"===r||!!r.startsWith("header")||"blockquote"===r||!!Kh.isVoid(t,e)},universal:!0}),1)[0]}function iZ(t,e,r){return Iz(this,arguments,void 0,function(t,e,r,n,o){var i,u;return void 0===n&&(n=""),void 0===o&&(o=""),Fz(this,function(a){switch(a.label){case 0:return(i=e.getMenuConfig(t).checkImage)?[4,i(r,n,o)]:[3,2];case 1:if("string"==typeof(u=a.sent()))return e.alert(u,"error"),[2,!1];if(null==u)return[2,!1];a.label=2;case 2:return[2,!0]}})})}function uZ(t,e,r){return Iz(this,void 0,void 0,function(){var n;return Fz(this,function(o){switch(o.label){case 0:return(n=e.getMenuConfig(t).parseImageSrc)?[4,n(r)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,r]}})})}function aZ(t,e){return Iz(this,arguments,void 0,function(t,e,r,n){var o,i,u;return void 0===r&&(r=""),void 0===n&&(n=""),Fz(this,function(a){switch(a.label){case 0:return[4,iZ("insertImage",t,e,r,n)];case 1:return a.sent()?[4,uZ("insertImage",t,e)]:[2];case 2:return o=a.sent(),i={type:"image",src:nZ(o),href:n,alt:r,style:{},children:[{text:""}]},null===t.selection&&t.restoreSelection(),SB.getSelectedNodeByType(t,"image")&&t.move(1),oZ(t)||(zv.insertNodes(t,i),(u=t.getMenuConfig("insertImage").onInsertedImage)&&u(i)),[2]}})})}function sZ(){return rZ("w-e-edit-image")}var cZ=function(){function t(){this.title=RF("image.edit"),this.iconSvg=eH,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=sZ(),this.altInputId=sZ(),this.hrefInputId=sZ(),this.buttonId=sZ()}return t.prototype.getValue=function(t){return""},t.prototype.getImageNode=function(t){return SB.getSelectedNodeByType(t,"image")},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!dv.isCollapsed(e)||null==SB.getSelectedNodeByType(t,"image")},t.prototype.getModalPositionNode=function(t){return this.getImageNode(t)},t.prototype.getModalContentElem=function(t){var e=this,r=this,n=r.srcInputId,o=r.altInputId,i=r.hrefInputId,u=r.buttonId,a=this.getImageNode(t);if(null==a)throw new Error("Not found selected image node");var s=Lz(WF(RF("image.src"),n),2),c=s[0],l=og(s[1]),f=Lz(WF(RF("image.desc"),o),2),d=f[0],p=og(f[1]),h=Lz(WF(RF("image.link"),i),2),v=h[0],g=og(h[1]),y=Lz(KF(u,RF("common.ok")),1)[0];if(null==this.$content){var m=og("<div></div>");m.on("click","#".concat(u),function(r){r.preventDefault();var u=m.find("#".concat(n)).val(),a=m.find("#".concat(o)).val(),s=m.find("#".concat(i)).val();e.updateImage(t,u,a,s),t.hidePanelOrModal()}),this.$content=m}var b=this.$content;b.empty(),b.append(c),b.append(d),b.append(v),b.append(y);var E=a,w=E.src,S=E.alt,C=void 0===S?"":S,D=E.href,O=void 0===D?"":D;return l.val(w),p.val(C),g.val(O),setTimeout(function(){l.focus()}),b[0]},t.prototype.updateImage=function(t,e,r,n,o){void 0===r&&(r=""),void 0===n&&(n=""),void 0===o&&(o={}),e&&(t.restoreSelection(),this.isDisabled(t)||function(t,e){Iz(this,arguments,void 0,function(t,e,r,n,o){var i,u,a,s,c,l;return void 0===r&&(r=""),void 0===n&&(n=""),void 0===o&&(o={}),Fz(this,function(f){switch(f.label){case 0:return[4,iZ("editImage",t,e,r,n)];case 1:return f.sent()?[4,uZ("editImage",t,e)]:[2];case 2:return i=f.sent(),null==(u=SB.getSelectedNodeByType(t,"image"))||(a=u.style,s={src:i,alt:r,href:n,style:Bz(Bz({},void 0===a?{}:a),o)},zv.setNodes(t,s,{match:function(t){return SB.checkNodeType(t,"image")}}),c=SB.getSelectedNodeByType(t,"image"),(l=t.getMenuConfig("editImage").onUpdatedImage)&&l(c)),[2]}})})}(t,e,r,n,o))},t}();function lZ(){return rZ("w-e-insert-image")}var fZ=function(){function t(){this.title=RF("image.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=lZ(),this.heightInputId=lZ(),this.buttonId=lZ()}return t.prototype.getSelectedImageNode=function(t){return SB.getSelectedNodeByType(t,"image")},t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedImageNode(t)},t.prototype.getModalPositionNode=function(t){return this.getSelectedImageNode(t)},t.prototype.getModalContentElem=function(t){var e=this,r=e.widthInputId,n=e.heightInputId,o=e.buttonId,i=Lz(WF(RF("image.width"),r,"auto"),2),u=i[0],a=og(i[1]),s=Lz(WF(RF("image.height"),n,"auto"),2),c=s[0],l=og(s[1]),f=Lz(KF(o,RF("image.ok")),1)[0],d=this.getSelectedImageNode(t);if(null==this.$content){var p=og("<div></div>");p.on("click","#".concat(o),function(e){e.preventDefault();var o=p.find("#".concat(r)).val().trim(),i=p.find("#".concat(n)).val().trim(),u=function(t){return/^\d+(\.\d+)?%$/.test(t)},a=function(t){return/^\d+(\.\d+)?$/.test(t)},s=function(t){return/^\d+(\.\d+)?px$/.test(t)},c="auto",l="auto";u(o)?c=o:a(o)?c="".concat(parseInt(o,10),"px"):s(o)&&(c=o),u(i)?l=i:a(i)?l="".concat(parseInt(i,10),"px"):s(i)&&(l=i);var f=d.style,h=void 0===f?{}:f;t.restoreSelection();var v=Bz(Bz({},h),{style:{width:c,height:l}});zv.setNodes(t,v,{match:function(t){return SB.checkNodeType(t,"image")}}),t.hidePanelOrModal()}),this.$content=p}var h=this.$content;if(h.empty(),h.append(u),h.append(c),h.append(f),null==d)return h[0];var v=d.style,g=void 0===v?{}:v,y=g.width,m=void 0===y?"auto":y,b=g.height,E=void 0===b?"auto":b;return a.val(m),l.val(E),setTimeout(function(){a.focus()}),h[0]},t}();function dZ(){return rZ("w-e-insert-image")}var pZ,hZ,vZ,gZ,yZ,mZ=function(){function t(){this.title=RF("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=dZ(),this.altInputId=dZ(),this.hrefInputId=dZ(),this.buttonId=dZ()}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return oZ(t)},t.prototype.getModalPositionNode=function(t){return null},t.prototype.getModalContentElem=function(t){var e=this,r=this,n=r.srcInputId,o=r.altInputId,i=r.hrefInputId,u=r.buttonId,a=Lz(WF(RF("image.src"),n),2),s=a[0],c=og(a[1]),l=Lz(WF(RF("image.desc"),o),2),f=l[0],d=og(l[1]),p=Lz(WF(RF("image.link"),i),2),h=p[0],v=og(p[1]),g=Lz(KF(u,RF("common.ok")),1)[0];if(null==this.$content){var y=og("<div></div>");y.on("click","#".concat(u),function(r){r.preventDefault();var u=y.find("#".concat(n)).val().trim(),a=y.find("#".concat(o)).val().trim(),s=y.find("#".concat(i)).val().trim();e.insertImage(t,u,a,s),t.hidePanelOrModal()}),this.$content=y}var m=this.$content;return m.empty(),m.append(s),m.append(f),m.append(h),m.append(g),c.val(""),d.val(""),v.val(""),setTimeout(function(){c.focus()}),m[0]},t.prototype.insertImage=function(t,e,r,n){void 0===r&&(r=""),void 0===n&&(n=""),e&&(t.restoreSelection(),this.isDisabled(t)||aZ(t,e,r,n))},t}(),bZ=function(){function t(){this.title=RF("image.viewLink"),this.iconSvg=rH,this.tag="button"}return t.prototype.getValue=function(t){var e=SB.getSelectedNodeByType(t,"image");return e&&e.href||""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||!this.getValue(t)},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){if(!e||"string"!=typeof e)throw new Error("View image link failed, image.href is '".concat(e,"'"));window.open(e,"_blank")}},t}(),EZ=function(){function t(){this.tag="button"}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.getSelectedNode=function(t){return SB.getSelectedNodeByType(t,"image")},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedNode(t)},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var r=this.getSelectedNode(t);if(null!=r){var n=SB.getHoverbar(t);n&&n.hideAndClean();var o=r.style,i={style:Bz(Bz({},void 0===o?{}:o),{width:this.value,height:""})};zv.setNodes(t,i,{match:function(t){return SB.checkNodeType(t,"image")}})}}},t}(),wZ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.title="30%",e.value="30%",e}return Pz(e,t),e}(EZ),SZ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.title="50%",e.value="50%",e}return Pz(e,t),e}(EZ),CZ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.title="100%",e.value="100%",e}return Pz(e,t),e}(EZ),DZ={onInsertedImage:function(t){},onUpdatedImage:function(t){},checkImage:function(t,e,r){return!0},parseImageSrc:function(t){return t}},OZ={key:"insertImage",factory:function(){return new mZ},config:DZ},AZ={key:"deleteImage",factory:function(){return new eZ}},xZ={key:"editImage",factory:function(){return new cZ},config:DZ},TZ={key:"viewImageLink",factory:function(){return new bZ}},NZ={key:"imageWidth30",factory:function(){return new wZ}},kZ={key:"imageWidth50",factory:function(){return new SZ}},PZ={key:"imageWidth100",factory:function(){return new CZ}},BZ={key:"editorImageSizeMenu",factory:function(){return new fZ}},IZ={selector:"img:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n=og(t),o=n.attr("data-href")||"";return o=decodeURIComponent(o),{type:"image",src:n.attr("src")||"",alt:n.attr("alt")||"",href:o,style:{width:i$(n,"width"),height:i$(n,"height")},width:n.attr("width")||"",height:n.attr("height")||"",children:[{text:""}]}}},FZ={};function RZ(t,e){var r=SB.findKey(t,e).id;return"w-e-image-container-".concat(r)}!function(){if(yZ)return FZ;yZ=1;var t=uz(),e=P_(),r=PM(),n=function(){if(hZ)return pZ;hZ=1;var t=P_();return pZ=t(1.1.valueOf)}(),o=function(){if(gZ)return vZ;gZ=1;var t=PM(),e=cz(),r=R_(),n=RangeError;return vZ=function(o){var i=e(r(this)),u="",a=t(o);if(a<0||a===1/0)throw new n("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(i+=i))1&a&&(u+=i);return u}}(),i=_L(),u=RangeError,a=String,s=Math.floor,c=e(o),l=e("".slice),f=e(1.1.toFixed),d=function(t,e,r){return 0===e?r:e%2==1?d(t,e-1,r*t):d(t*t,e/2,r)},p=function(t,e,r){for(var n=-1,o=r;++n<6;)o+=e*t[n],t[n]=o%1e7,o=s(o/1e7)},h=function(t,e){for(var r=6,n=0;--r>=0;)n+=t[r],t[r]=s(n/e),n=n%e*1e7},v=function(t){for(var e=6,r="";--e>=0;)if(""!==r||0===e||0!==t[e]){var n=a(t[e]);r=""===r?n:r+c("0",7-n.length)+n}return r};t({target:"Number",proto:!0,forced:i(function(){return"0.000"!==f(8e-5,3)||"1"!==f(.9,0)||"1.25"!==f(1.255,2)||"1000000000000000128"!==f(0xde0b6b3a7640080,0)})||!i(function(){f({})})},{toFixed:function(t){var e,o,i,s,f=n(this),g=r(t),y=[0,0,0,0,0,0],m="",b="0";if(g<0||g>20)throw new u("Incorrect fraction digits");if(f!=f)return"NaN";if(f<=-1e21||f>=1e21)return a(f);if(f<0&&(m="-",f=-f),f>1e-21)if(o=(e=function(t){for(var e=0,r=t;r>=4096;)e+=12,r/=4096;for(;r>=2;)e+=1,r/=2;return e}(f*d(2,69,1))-69)<0?f*d(2,-e,1):f/d(2,e,1),o*=4503599627370496,(e=52-e)>0){for(p(y,0,o),i=g;i>=7;)p(y,1e7,0),i-=7;for(p(y,d(10,i,1),0),i=e-1;i>=23;)h(y,1<<23),i-=23;h(y,1<<i),p(y,1,1),h(y,2),b=v(y)}else p(y,0,o),p(y,1<<-e,0),b=v(y)+c("0",g);return g>0?m+((s=b.length)<=g?"0."+c("0",g-s)+b:l(b,0,s-g)+"."+l(b,s-g)):m+b}})}();var LZ={type:"image",renderElem:function(t,e,r){var n=t,o=n.src,i=n.alt,u=void 0===i?"":i,a=n.href,s=void 0===a?"":a,c=n.style,l=void 0===c?{}:c,f=l.width,d=void 0===f?"":f,p=l.height,h=void 0===p?"":p,v=SB.isNodeSelected(r,t),g={maxWidth:"100%"};d&&(g.width="100%"),h&&(g.height="100%");var y=Ry("img",{style:g,src:o,alt:u,"data-href":s}),m=r.isDisabled();return v&&!m?function(t,e,r,n){var o=og("body"),i=RZ(t,e),u=n.width,a=n.height,s=0,c=0,l=0,f=0,d=!1,p=null,h=Jg(function(t){t.preventDefault();var e=t.clientX,r=c+(d?s-e:e-s),n=l*(r/c);r>f-6||null!=p&&(r<=15||n<=15||(p.css("width","".concat(r,"px")),p.css("height","".concat(n,"px"))))},100);function v(r){if(o.off("mousemove",h),null!=p){var n=p.width().toFixed(2),i=p.height().toFixed(2),u={style:Bz(Bz({},e.style),{width:"".concat(n,"px"),height:"".concat(i,"px")})};zv.setNodes(t,u,{at:SB.findPath(t,e)}),o.off("mouseup",v)}}function g(e,r){p=function(){var t=og("#".concat(i));if(0===t.length)throw new Error("Cannot find image container elem");return t}(),s=e,f=r;var n=p.find("img");if(0===n.length)throw new Error("Cannot find image elem");c=n.width(),l=n.height(),o.on("mousemove",h),o.on("mouseup",v);var u=SB.getHoverbar(t);u&&u.hideAndClean()}var y={};return u&&(y.width=u),a&&(y.height=a),y.boxShadow="0 0 0 1px #B4D5FF",Ry("div",{id:i,style:y,className:"w-e-image-container w-e-selected-image-container",on:{mousedown:function(r){var n=og(r.target);if(n.hasClass("w-e-image-dragger")){r.preventDefault(),(n.hasClass("left-top")||n.hasClass("left-bottom"))&&(d=!0);var o=SB.getParentNode(t,e);if(null!=o){var i=SB.toDOMNode(t,o),u=i.getBoundingClientRect?i.getBoundingClientRect():{width:0},a=window.getComputedStyle(i),s=parseFloat(a.paddingLeft),c=parseFloat(a.paddingRight),l=parseFloat(a.borderLeftWidth),f=parseFloat(a.borderRightWidth);g(r.clientX,u.width-s-c-l-f)}}}}},r,Ry("div",{className:"w-e-image-dragger left-top"}),Ry("div",{className:"w-e-image-dragger right-top"}),Ry("div",{className:"w-e-image-dragger left-bottom"}),Ry("div",{className:"w-e-image-dragger right-bottom"}))}(r,t,y,{width:d,height:h}):function(t,e,r,n){var o=n.width,i=n.height,u={};return o&&(u.width=o),i&&(u.height=i),Ry("div",{id:RZ(t,e),style:u,className:"w-e-image-container"},r)}(r,t,y,{width:d,height:h})}},_Z={renderElems:[LZ],elemsToHtml:[{type:"image",elemToHtml:function(t,e){var r=t,n=r.src,o=r.alt,i=void 0===o?"":o,u=r.href,a=void 0===u?"":u,s=r.width,c=void 0===s?"":s,l=r.height,f=void 0===l?"":l,d=r.style,p=void 0===d?{}:d,h=p.width,v=void 0===h?"":h,g=p.height,y=void 0===g?"":g,m="";return v&&(m+="width: ".concat(v,";")),y&&(m+="height: ".concat(y,";")),'<img src="'.concat(n,'" alt="').concat(i,'" data-href="').concat(a,'" width="').concat(c,'" height="').concat(f,'" style="').concat(m,'"/>')}}],parseElemsHtml:[IZ],menus:[OZ,AZ,xZ,TZ,NZ,kZ,PZ,BZ],editorPlugin:function(t){var e=t.isInline,r=t.isVoid,n=t;return n.isInline=function(t){return"image"===t.type||e(t)},n.isVoid=function(t){return"image"===t.type||r(t)},n}},jZ=function(){function t(){this.tag="button"}return t.prototype.getValue=function(t){var e=Lz(Kh.nodes(t,{match:function(t){return!!t.indent},universal:!0}),1),r=e[0];return null==r?"":Lz(r,1)[0].indent||""},t.prototype.isActive=function(t){return!1},t.prototype.getMatchNode=function(t){var e=Lz(Kh.nodes(t,{match:function(t){var e=SB.getNodeType(t);return"paragraph"===e||!!e.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return null==e?null:e[0]},t}(),MZ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.title=RF("indent.decrease"),e.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m256-512v384l-256-192z"></path></svg>',e}return Pz(e,t),e.prototype.isDisabled=function(t){var e=this.getMatchNode(t);return null==e||!e.indent},e.prototype.exec=function(t,e){zv.setNodes(t,{indent:null},{match:function(t){return $h.isElement(t)}})},e}(jZ),zZ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.title=RF("indent.increase"),e.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',e.DEFAULT_INDENT_VALUE="2em",e}return Pz(e,t),e.prototype.isDisabled=function(t){var e=this.getMatchNode(t);return null==e||!!e.indent},e.prototype.getIndentValue=function(t){var e=this.getMatchNode(t);if(!e)return this.DEFAULT_INDENT_VALUE;var r=e.children.filter(wv.isText)[0];if(!r||!r.fontSize)return this.DEFAULT_INDENT_VALUE;var n=r.fontSize,o=parseInt(r.fontSize,10),i=n.replace("".concat(o),"");return"".concat(2*o).concat(i)},e.prototype.exec=function(t,e){var r=this.getIndentValue(t);zv.setNodes(t,{indent:r},{match:function(t){return $h.isElement(t)},mode:"highest"})},e}(jZ),HZ={renderStyle:function(t,e){if(!$h.isElement(t))return e;var r=t.indent,n=e;return r&&_U(n,{textIndent:r}),n},styleToHtml:function(t,e){if(!$h.isElement(t))return e;var r=t.indent;if(!r)return e;var n=og(e);return n.css("text-indent",r),n$(n)},preParseHtml:[{selector:"p,h1,h2,h3,h4,h5",preParseHtml:function(t){var e=og(t),r=i$(e,"padding-left");return/^[1-9]\d*em$/.test(r)&&e.css("text-indent","2em"),/^[1-9]\d*px$/.test(r)&&parseInt(r,10)%32==0&&e.css("text-indent","2em"),e[0]}}],parseStyleHtml:function(t,e,r){var n=og(t);if(!$h.isElement(e))return e;var o=e,i=i$(n,"text-indent"),u=parseInt(i,10);return i&&u>0&&(o.indent=i),o},menus:[{key:"indent",factory:function(){return new zZ}},{key:"delIndent",factory:function(){return new MZ}}]},$Z=function(){function t(){this.tag="button"}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||!!SB.getSelectedElems(t).some(function(e){var r=e.type;return!(!Kh.isVoid(t,e)||!Kh.isBlock(t,e)||"video"===r)||!!["pre","code"].includes(r)})},t}(),UZ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.title=RF("justify.center"),e.iconSvg='<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>',e}return Pz(e,t),e.prototype.exec=function(t,e){zv.setNodes(t,{textAlign:"center"},{match:function(e){return $h.isElement(e)&&!t.isInline(e)}})},e}($Z),VZ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.title=RF("justify.justify"),e.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>',e}return Pz(e,t),e.prototype.exec=function(t,e){zv.setNodes(t,{textAlign:"justify"},{match:function(e){return $h.isElement(e)&&!t.isInline(e)}})},e}($Z),GZ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.title=RF("justify.left"),e.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>',e}return Pz(e,t),e.prototype.exec=function(t,e){zv.setNodes(t,{textAlign:"left"},{match:function(e){return $h.isElement(e)&&!t.isInline(e)}})},e}($Z),WZ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.title=RF("justify.right"),e.iconSvg='<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>',e}return Pz(e,t),e.prototype.exec=function(t,e){zv.setNodes(t,{textAlign:"right"},{match:function(e){return $h.isElement(e)&&!t.isInline(e)}})},e}($Z),qZ={renderStyle:function(t,e){if(!$h.isElement(t))return e;var r=t.textAlign,n=e;return r&&_U(n,{textAlign:r}),n},styleToHtml:function(t,e){if(!$h.isElement(t))return e;var r=t.textAlign;if(!r)return e;var n=og(e);return n.css("text-align",r),n$(n)},parseStyleHtml:function(t,e,r){var n=og(t);if(!$h.isElement(e))return e;var o=e,i=i$(n,"text-align");return i&&(o.textAlign=i),o},menus:[{key:"justifyLeft",factory:function(){return new GZ}},{key:"justifyRight",factory:function(){return new WZ}},{key:"justifyCenter",factory:function(){return new UZ}},{key:"justifyJustify",factory:function(){return new VZ}}]},KZ=function(){function t(){this.title=RF("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(t){var e=[],r=t.getMenuConfig("lineHeight").lineHeightList,n=void 0===r?[]:r;e.push({text:RF("lineHeight.default"),value:""}),n.forEach(function(t){e.push({text:t,value:t})});var o=this.getValue(t);return e.forEach(function(t){t.value===o?t.selected=!0:t.selected=void 0}),e},t.prototype.getMatchNode=function(t){var e=Lz(Kh.nodes(t,{match:function(t){var e=SB.getNodeType(t);return!!e.startsWith("header")||!!["paragraph","blockquote","list-item"].includes(e)},universal:!0,mode:"highest"}),1)[0];return null==e?null:e[0]},t.prototype.isActive=function(t){return!1},t.prototype.getValue=function(t){var e=this.getMatchNode(t);return null==e?"":$h.isElement(e)&&e.lineHeight||""},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getMatchNode(t)},t.prototype.exec=function(t,e){zv.setNodes(t,{lineHeight:e.toString()},{mode:"highest"})},t}(),YZ={renderStyle:function(t,e){if(!$h.isElement(t))return e;var r=t.lineHeight,n=e;return r&&_U(n,{lineHeight:r}),n},styleToHtml:function(t,e){if(!$h.isElement(t))return e;var r=t.lineHeight;if(!r)return e;var n=og(e);return n.css("line-height",r),n$(n)},parseStyleHtml:function(t,e,r){var n=og(t);if(!$h.isElement(e))return e;var o=e,i=r.getMenuConfig("lineHeight").lineHeightList,u=void 0===i?[]:i,a=i$(n,"line-height");return a&&u.includes(a)&&(o.lineHeight=a),o},menus:[{key:"lineHeight",factory:function(){return new KZ},config:{lineHeightList:["1","1.15","1.5","2","2.5","3"]}}]};function XZ(t,e,r,n){return Iz(this,void 0,void 0,function(){var o,i;return Fz(this,function(u){switch(u.label){case 0:return(o=e.getMenuConfig(t).checkLink)?[4,o(r,n)]:[3,2];case 1:if("string"==typeof(i=u.sent()))return e.alert(i,"error"),[2,!1];if(null==i)return[2,!1];u.label=2;case 2:return[2,!0]}})})}function JZ(t,e,r){return Iz(this,void 0,void 0,function(){var n;return Fz(this,function(o){switch(o.label){case 0:return(n=e.getMenuConfig(t).parseLinkUrl)?[4,n(r)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,r]}})})}function ZZ(t){return null==t.selection||!!SB.getSelectedElems(t).some(function(e){var r=e.type;return!!t.isVoid(e)||!!["pre","code","link"].includes(r)})}function QZ(t,e){return{type:"link",url:nZ(t),children:e?[{text:e}]:[]}}function tQ(t,e,r){return Iz(this,void 0,void 0,function(){var n,o,i,u,a;return Fz(this,function(s){switch(s.label){case 0:return r?(e||(e=r),t.restoreSelection(),ZZ(t)?[2]:[4,XZ("insertLink",t,e,r)]):[2];case 1:return s.sent()?[4,JZ("insertLink",t,r)]:[2];case 2:if(n=s.sent(),null==(o=t.selection))return[2];if(dv.isCollapsed(o)){if((u=SB.getLeftLengthOfMaxLength(t))<=0)return[2];t.insertText(" "),u<e.length+1&&(e=e.slice(0,u-1)),a=QZ(n,e),zv.insertNodes(t,a),t.insertFragment([{text:" "}])}else if((i=Kh.string(t,o))!==e){if((u=SB.getLeftLengthOfMaxLength(t))<=0)return[2];u<i.length-e.length&&(e=e.slice(0,u)),t.deleteFragment(),a=QZ(n,e),zv.insertNodes(t,a)}else a=QZ(n),zv.wrapNodes(t,a,{split:!0}),zv.collapse(t,{edge:"end"});return[2]}})})}function eQ(){return rZ("w-e-update-link")}var rQ=function(){function t(){this.title=RF("link.edit"),this.iconSvg=eH,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.urlInputId=eQ(),this.buttonId=eQ()}return t.prototype.getSelectedLinkElem=function(t){var e=SB.getSelectedNodeByType(t,"link");return null==e?null:e},t.prototype.getValue=function(t){var e=this.getSelectedLinkElem(t);return e&&e.url||""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedLinkElem(t)},t.prototype.getModalPositionNode=function(t){return SB.getSelectedNodeByType(t,"link")},t.prototype.getModalContentElem=function(t){var e=this.urlInputId,r=this.buttonId,n=Lz(WF(RF("link.url"),e),2),o=n[0],i=og(n[1]),u=Lz(KF(r,RF("common.ok")),1)[0];if(null==this.$content){var a=og("<div></div>");a.on("click","#".concat(r),function(r){r.preventDefault(),t.restoreSelection();var n=SB.getSelectedNodeByType(t,"link"),o=n?tv.string(n):"",i=a.find("#".concat(e)).val();!function(t,e,r){Iz(this,void 0,void 0,function(){var n,o;return Fz(this,function(i){switch(i.label){case 0:return r?[4,XZ("editLink",t,e,r)]:[2];case 1:return i.sent()?[4,JZ("editLink",t,r)]:[2];case 2:return n=i.sent(),o={url:nZ(n)},zv.setNodes(t,o,{match:function(t){return SB.checkNodeType(t,"link")}}),[2]}})})}(t,o,i),t.hidePanelOrModal()}),this.$content=a}var s=this.$content;s.empty(),s.append(o),s.append(u);var c=this.getValue(t);return i.val(c),setTimeout(function(){i.focus()}),s[0]},t}();function nQ(){return rZ("w-e-insert-link")}var oQ,iQ,uQ=function(){function t(){this.title=RF("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=nQ(),this.urlInputId=nQ(),this.buttonId=nQ()}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return ZZ(t)},t.prototype.getModalPositionNode=function(t){return null},t.prototype.getModalContentElem=function(t){var e=t.selection,r=this,n=r.textInputId,o=r.urlInputId,i=r.buttonId,u=Lz(WF(RF("link.text"),n),2),a=u[0],s=og(u[1]),c=Lz(WF(RF("link.url"),o),2),l=c[0],f=og(c[1]),d=Lz(KF(i,RF("common.ok")),1)[0];if(null==this.$content){var p=og("<div></div>");p.on("click","#".concat(i),function(e){e.preventDefault();var r=p.find("#".concat(n)).val(),i=p.find("#".concat(o)).val();tQ(t,r,i),t.hidePanelOrModal()}),this.$content=p}var h=this.$content;if(h.empty(),h.append(a),h.append(l),h.append(d),null==e||dv.isCollapsed(e))s.val("");else{var v=Kh.string(t,e);s.val(v)}return f.val(""),setTimeout(function(){s.focus()}),h[0]},t}(),aQ=function(){function t(){this.title=RF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||null==SB.getSelectedNodeByType(t,"link")},t.prototype.exec=function(t,e){this.isDisabled(t)||zv.unwrapNodes(t,{match:function(t){return SB.checkNodeType(t,"link")}})},t}(),sQ=function(){function t(){this.title=RF("link.view"),this.iconSvg=rH,this.tag="button"}return t.prototype.getSelectedLinkElem=function(t){var e=SB.getSelectedNodeByType(t,"link");return null==e?null:e},t.prototype.getValue=function(t){var e=this.getSelectedLinkElem(t);return e&&e.url||""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedLinkElem(t)},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){if(!e||"string"!=typeof e)throw new Error("View link failed, link url is '".concat(e,"'"));window.open(e,"_blank")}},t}(),cQ={checkLink:function(t,e){return!0},parseLinkUrl:function(t){return t}},lQ={key:"insertLink",factory:function(){return new uQ},config:cQ},fQ={key:"editLink",factory:function(){return new rQ},config:cQ},dQ={key:"unLink",factory:function(){return new aQ}},pQ={key:"viewLink",factory:function(){return new sQ}},hQ={selector:"a:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n=og(t).text().replace(/\s+/gm," ");return e.length>0?{text:e.filter(function(t){return wv.isText(t)}).map(function(t){return t.text}).join("")||n}:{text:n}}},vQ=CL(function(){if(iQ)return oQ;iQ=1,oQ=function(n){if("string"!=typeof n)return!1;var o=n.match(t);if(!o)return!1;var i=o[1];return!!i&&!(!e.test(i)&&!r.test(i))};var t=/^(?:\w+:)?\/\/(\S+)$/,e=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,r=/^[^\s\.]+\.\S{2,}$/;return oQ}()),gQ={type:"link",renderElem:function(t,e,r){var n=t,o=n.url,i=n.target;return Ry("a",{href:o,target:void 0===i?"_blank":i},e)}},yQ={renderElems:[gQ],elemsToHtml:[{type:"link",elemToHtml:function(t,e){var r=t,n=r.url,o=r.target,i=void 0===o?"_blank":o;return'<a href="'.concat(n,'" target="').concat(i,'">').concat(e,"</a>")}}],parseElemsHtml:[hQ],menus:[lQ,fQ,dQ,pQ],editorPlugin:function(t){var e=t.isInline,r=t.insertData,n=t.normalizeNode,o=t;return o.isInline=function(t){return"link"===t.type||e(t)},o.insertData=function(t){var e=t.getData("text/plain");if(vQ(e)){if(/<img[^>]+>/.test(t.getData("text/html")))r(t);else if(!ZZ(o)){var n=o.selection;if(null!=n){var i=Kh.string(o,n);tQ(o,i,e)}}}else r(t)},o.normalizeNode=function(t){var e=Lz(t,2),r=e[0],i=e[1];return"link"!==SB.getNodeType(r)?n([r,i]):""===tv.string(r)?zv.removeNodes(o,{at:i}):n([r,i])},o}},mQ={selector:"p:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n=og(t);return 0===(e=e.filter(function(t){return!!wv.isText(t)||!!r.isInline(t)})).length&&(e=[{text:n.text().replace(/\s+/gm," ")}]),{type:"paragraph",children:e}}};function bQ(t){var e=Lz(Kh.nodes(t,{match:function(e){return t.children[0]===e},mode:"highest"}),1)[0];if(null==e)return!1;var r=e[0];if(!$h.isElement(r))return!1;if("paragraph"===r.type)return!1;if(""!==tv.string(r))return!1;var n=r.children,o=void 0===n?[]:n;return!!wv.isText(o[0])&&(zv.setNodes(t,{type:"paragraph"}),!0)}var EQ={type:"paragraph",renderElem:function(t,e,r){return Ry("p",null,e)}},wQ={renderElems:[EQ],elemsToHtml:[{type:"paragraph",elemToHtml:function(t,e){return""===e?"<p><br></p>":"<p>".concat(e,"</p>")}}],parseElemsHtml:[mQ],editorPlugin:function(t){var e=t.deleteBackward,r=t.deleteForward,n=t;return n.deleteBackward=function(t){bQ(n)||e(t)},n.deleteForward=function(t){bQ(n)||r(t)},n}};function SQ(t,e){return null==t.selection||!!Lz(Kh.nodes(t,{match:function(e){return"pre"===SB.getNodeType(e)||!!Kh.isVoid(t,e)},universal:!0}),1)[0]}function CQ(t,e){Object.keys(e).forEach(function(e){"text"!==e&&Kh.removeMark(t,e)})}var DQ,OQ=function(){function t(){this.marksNeedToRemove=[],this.tag="button"}return t.prototype.getValue=function(t){var e=this.mark,r=Kh.marks(t);return r?r[e]:!!Lz(Kh.nodes(t,{match:function(t){return!0===t[e]}}),1)[0]},t.prototype.isActive=function(t){return!!this.getValue(t)},t.prototype.isDisabled=function(t){return SQ(t,this.mark)},t.prototype.exec=function(t,e){var r=this.mark,n=this.marksNeedToRemove;e?t.removeMark(r):(t.addMark(r,!0),n&&n.forEach(function(e){return t.removeMark(e)}))},t}(),AQ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.mark="bold",e.title=RF("textStyle.bold"),e.iconSvg='<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>',e.hotkey="mod+b",e}return Pz(e,t),e}(OQ),xQ=function(){function t(){this.title=RF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return SQ(t)},t.prototype.exec=function(t,e){var r,n,o=Kh.nodes(t,{match:function(t){return wv.isText(t)},universal:!0});try{for(var i=Rz(o),u=i.next();!u.done;u=i.next())CQ(t,u.value[0])}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},t}(),TQ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.mark="code",e.title=RF("textStyle.code"),e.iconSvg='<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>',e.hotkey="mod+e",e}return Pz(e,t),e}(OQ),NQ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.mark="italic",e.title=RF("textStyle.italic"),e.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z"></path></svg>',e.hotkey="mod+i",e}return Pz(e,t),e}(OQ),kQ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.mark="sub",e.marksNeedToRemove=["sup"],e.title=RF("textStyle.sub"),e.iconSvg='<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>',e.hotkey="",e}return Pz(e,t),e}(OQ),PQ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.mark="sup",e.marksNeedToRemove=["sub"],e.title=RF("textStyle.sup"),e.iconSvg='<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>',e.hotkey="",e}return Pz(e,t),e}(OQ),BQ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.mark="through",e.title=RF("textStyle.through"),e.iconSvg='<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>',e.hotkey="mod+shift+x",e}return Pz(e,t),e}(OQ),IQ=function(t){function e(){var e=t.apply(this,_z([],Lz(arguments),!1))||this;return e.mark="underline",e.title=RF("textStyle.underline"),e.iconSvg='<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>',e.hotkey="mod+u",e}return Pz(e,t),e}(OQ),FQ={key:"bold",factory:function(){return new AQ}},RQ={key:"code",factory:function(){return new TQ}},LQ={key:"italic",factory:function(){return new NQ}},_Q={key:"through",factory:function(){return new BQ}},jQ={key:"underline",factory:function(){return new IQ}},MQ={key:"sup",factory:function(){return new PQ}},zQ={key:"sub",factory:function(){return new kQ}},HQ={key:"clearStyle",factory:function(){return new xQ}},$Q={};!function(){if(DQ)return $Q;DQ=1;var t=uz(),e=cU();t({target:"String",proto:!0,forced:lU()("bold")},{bold:function(){return e(this,"b","","")}})}();var UQ,VQ={};!function(){if(UQ)return VQ;UQ=1;var t=uz(),e=cU();t({target:"String",proto:!0,forced:lU()("italics")},{italics:function(){return e(this,"i","","")}})}();var GQ,WQ={};!function(){if(GQ)return WQ;GQ=1;var t=uz(),e=cU();t({target:"String",proto:!0,forced:lU()("sub")},{sub:function(){return e(this,"sub","","")}})}();var qQ,KQ={};function YQ(t,e){return 0!==t.length&&(!!t[0].matches(e)||t.find(e).length>0)}function XQ(t,e){var r=e,n=t,o=n.bold,i=n.italic,u=n.underline,a=n.code,s=n.through,c=n.sub,l=n.sup;return o&&(r="<strong>".concat(r,"</strong>")),a&&(r="<code>".concat(r,"</code>")),i&&(r="<em>".concat(r,"</em>")),u&&(r="<u>".concat(r,"</u>")),s&&(r="<s>".concat(r,"</s>")),c&&(r="<sub>".concat(r,"</sub>")),l&&(r="<sup>".concat(r,"</sup>")),r}!function(){if(qQ)return KQ;qQ=1;var t=uz(),e=cU();t({target:"String",proto:!0,forced:lU()("sup")},{sup:function(){return e(this,"sup","","")}})}();var JQ={renderStyle:function(t,e){var r=t,n=r.bold,o=r.italic,i=r.underline,u=r.code,a=r.through,s=r.sub,c=r.sup,l=e;return n&&(l=Ry("strong",null,l)),u&&(l=Ry("code",null,l)),o&&(l=Ry("em",null,l)),i&&(l=Ry("u",null,l)),a&&(l=Ry("s",null,l)),s&&(l=Ry("sub",null,l)),c&&(l=Ry("sup",null,l)),l},menus:[FQ,jQ,LQ,_Q,RQ,zQ,MQ,HQ],styleToHtml:function(t,e){if(!wv.isText(t))return e;if(r$(e))return XQ(t,e);var r=og(e),n=r.html();return n=XQ(t,n),r.html(n),n$(r)},parseStyleHtml:function(t,e,r){var n=og(t);if(!wv.isText(e))return e;var o=e;return YQ(n,"b,strong")&&(o.bold=!0),YQ(n,"i,em")&&(o.italic=!0),YQ(n,"u")&&(o.underline=!0),YQ(n,"s,strike")&&(o.through=!0),YQ(n,"sub")&&(o.sub=!0),YQ(n,"sup")&&(o.sup=!0),YQ(n,"code")&&(o.code=!0),o}},ZQ=function(){function t(){this.title=RF("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(t){return""},t.prototype.isActive=function(t){return!!SB.getSelectedNodeByType(t,"todo")},t.prototype.isDisabled=function(t){return null==t.selection||!!SB.getSelectedElems(t).some(function(e){if(Kh.isVoid(t,e)&&Kh.isBlock(t,e))return!0;var r=e.type;return!!["pre","table","list-item"].includes(r)})},t.prototype.exec=function(t,e){var r=this.isActive(t);zv.setNodes(t,{type:r?"paragraph":"todo"})},t}(),QQ={selector:'div[data-w-e-type="todo"]',parseElemHtml:function(t,e,r){var n=og(t);0===(e=e.filter(function(t){return!!wv.isText(t)||!!r.isInline(t)})).length&&(e=[{text:n.text().replace(/\s+/gm," ")}]);var o=!1;return null!=n.find('input[type="checkbox"]').attr("checked")&&(o=!0),{type:"todo",checked:o,children:e}}},t0={type:"todo",renderElem:function(t,e,r){var n=!1;r.isDisabled()&&(n=!0);var o=Ry("div",{style:{margin:"5px 0"}},Ry("span",{contentEditable:!1,style:{marginRight:"0.5em"}},Ry("input",{type:"checkbox",checked:t.checked,disabled:n,on:{change:function(e){var n=SB.findPath(r,t),o={checked:e.target.checked};zv.setNodes(r,o,{at:n})}}})),Ry("span",null,e));return o}},e0={renderElems:[t0],elemsToHtml:[{type:"todo",elemToHtml:function(t,e){var r=t.checked;return'<div data-w-e-type="todo"><input type="checkbox" disabled '.concat(r?"checked":"",">").concat(e,"</div>")}}],preParseHtml:[{selector:"ul.w-e-todo",preParseHtml:function(t){var e=og(t).find("li"),r=og('<div data-w-e-type="todo"></div>'),n=e.find("input[type]");return r.append(n),e.children()[0].remove(),r[0].innerHTML+=e[0].innerHTML,r[0]}}],parseElemsHtml:[QQ],menus:[{key:"todo",factory:function(){return new ZQ}}],editorPlugin:function(t){var e=t.deleteBackward,r=t;return r.deleteBackward=function(r){var n=t.selection;if(n&&dv.isCollapsed(n)){var o=SB.getSelectedNodeByType(t,"todo");if(o&&0===tv.string(o).length)return void zv.setNodes(t,{type:"paragraph"},{mode:"highest"})}e(r)},r}},r0=function(){function t(){this.title=RF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection},t.prototype.exec=function(t,e){"function"==typeof t.redo&&t.redo()},t}(),n0=function(){function t(){this.title=RF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection},t.prototype.exec=function(t,e){"function"==typeof t.undo&&t.undo()},t}(),o0=[JQ,tV,fJ,HZ,qZ,YZ,_Z,oV,uV,yQ,gU,m$,tZ,wQ,e0,gJ,{menus:[{key:"redo",factory:function(){return new r0}},{key:"undo",factory:function(){return new n0}}]},mJ,rV];PF("en",{highLightModule:{selectLang:"Language"}}),PF("zh-CN",{highLightModule:{selectLang:"选择语言"}});var i0="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var u0,a0,s0={};function c0(){if(a0)return u0;a0=1;var t=function(t){return t&&t.Math===Math&&t};return u0=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof i0&&i0)||t("object"==typeof u0&&u0)||function(){return this}()||Function("return this")()}var l0,f0,d0,p0,h0,v0,g0,y0,m0={};function b0(){return f0?l0:(f0=1,l0=function(t){try{return!!t()}catch(t){return!0}})}function E0(){if(p0)return d0;p0=1;var t=b0();return d0=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function w0(){if(v0)return h0;v0=1;var t=b0();return h0=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function S0(){if(y0)return g0;y0=1;var t=w0(),e=Function.prototype.call;return g0=t?e.bind(e):function(){return e.apply(e,arguments)},g0}var C0,D0,O0,A0,x0,T0,N0,k0,P0,B0,I0,F0,R0,L0,_0,j0,M0,z0,H0,$0,U0,V0,G0,W0,q0,K0,Y0,X0,J0,Z0,Q0,t1,e1,r1,n1,o1,i1,u1,a1,s1,c1,l1={};function f1(){if(C0)return l1;C0=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return l1.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,l1}function d1(){return O0?D0:(O0=1,D0=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function p1(){if(x0)return A0;x0=1;var t=w0(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return A0=t?n:function(t){return function(){return r.apply(t,arguments)}},A0}function h1(){if(N0)return T0;N0=1;var t=p1(),e=t({}.toString),r=t("".slice);return T0=function(t){return r(e(t),8,-1)}}function v1(){if(P0)return k0;P0=1;var t=p1(),e=b0(),r=h1(),n=Object,o=t("".split);return k0=e(function(){return!n("z").propertyIsEnumerable(0)})?function(t){return"String"===r(t)?o(t,""):n(t)}:n}function g1(){return I0?B0:(I0=1,B0=function(t){return null==t})}function y1(){if(R0)return F0;R0=1;var t=g1(),e=TypeError;return F0=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function m1(){if(_0)return L0;_0=1;var t=v1(),e=y1();return L0=function(r){return t(e(r))}}function b1(){if(M0)return j0;M0=1;var t="object"==typeof document&&document.all;return j0=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function E1(){if(H0)return z0;H0=1;var t=b1();return z0=function(e){return"object"==typeof e?null!==e:t(e)}}function w1(){if(U0)return $0;U0=1;var t=c0(),e=b1();return $0=function(r,n){return arguments.length<2?(o=t[r],e(o)?o:void 0):t[r]&&t[r][n];var o},$0}function S1(){if(G0)return V0;G0=1;var t=p1();return V0=t({}.isPrototypeOf)}function C1(){if(Y0)return K0;Y0=1;var t,e,r=c0(),n=function(){if(q0)return W0;q0=1;var t=c0().navigator,e=t&&t.userAgent;return W0=e?String(e):""}(),o=r.process,i=r.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),K0=e}function D1(){if(J0)return X0;J0=1;var t=C1(),e=b0(),r=c0().String;return X0=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function O1(){if(Q0)return Z0;Q0=1;var t=D1();return Z0=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function A1(){if(e1)return t1;e1=1;var t=w1(),e=b1(),r=S1(),n=O1(),o=Object;return t1=n?function(t){return"symbol"==typeof t}:function(n){var i=t("Symbol");return e(i)&&r(i.prototype,o(n))}}function x1(){if(i1)return o1;i1=1;var t=b1(),e=function(){if(n1)return r1;n1=1;var t=String;return r1=function(e){try{return t(e)}catch(t){return"Object"}}}(),r=TypeError;return o1=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}var T1,N1,k1,P1,B1,I1,F1,R1,L1,_1,j1,M1,z1,H1,$1,U1,V1,G1,W1,q1,K1,Y1,X1,J1,Z1={exports:{}};function Q1(){if(P1)return k1;P1=1;var t=c0(),e=Object.defineProperty;return k1=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function t2(){if(B1)return Z1.exports;B1=1;var t=N1?T1:(N1=1,T1=!1),e=c0(),r=Q1(),n="__core-js_shared__",o=Z1.exports=e[n]||r(n,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Z1.exports}function e2(){if(F1)return I1;F1=1;var t=t2();return I1=function(e,r){return t[e]||(t[e]=r||{})}}function r2(){if(L1)return R1;L1=1;var t=y1(),e=Object;return R1=function(r){return e(t(r))}}function n2(){if(j1)return _1;j1=1;var t=p1(),e=r2(),r=t({}.hasOwnProperty);return _1=Object.hasOwn||function(t,n){return r(e(t),n)}}function o2(){if(z1)return M1;z1=1;var t=p1(),e=0,r=Math.random(),n=t(1.1.toString);return M1=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function i2(){if($1)return H1;$1=1;var t=c0(),e=e2(),r=n2(),n=o2(),o=D1(),i=O1(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||n;return H1=function(t){return r(a,t)||(a[t]=o&&r(u,t)?u[t]:s("Symbol."+t)),a[t]}}function u2(){if(V1)return U1;V1=1;var t=S0(),e=E1(),r=A1(),n=function(){if(a1)return u1;a1=1;var t=x1(),e=g1();return u1=function(r,n){var o=r[n];return e(o)?void 0:t(o)}}(),o=function(){if(c1)return s1;c1=1;var t=S0(),e=b1(),r=E1(),n=TypeError;return s1=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!r(a=t(u,o)))return a;if(e(u=o.valueOf)&&!r(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!r(a=t(u,o)))return a;throw new n("Can't convert object to primitive value")}}(),i=i2(),u=TypeError,a=i("toPrimitive");return U1=function(i,s){if(!e(i)||r(i))return i;var c,l=n(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||r(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}function a2(){if(W1)return G1;W1=1;var t=u2(),e=A1();return G1=function(r){var n=t(r,"string");return e(n)?n:n+""}}function s2(){if(K1)return q1;K1=1;var t=c0(),e=E1(),r=t.document,n=e(r)&&e(r.createElement);return q1=function(t){return n?r.createElement(t):{}}}function c2(){if(X1)return Y1;X1=1;var t=E0(),e=b0(),r=s2();return Y1=!t&&!e(function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})}function l2(){if(J1)return m0;J1=1;var t=E0(),e=S0(),r=f1(),n=d1(),o=m1(),i=a2(),u=n2(),a=c2(),s=Object.getOwnPropertyDescriptor;return m0.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return n(!e(r.f,t,c),t[c])},m0}var f2,d2,p2,h2,v2,g2,y2,m2={};function b2(){if(d2)return f2;d2=1;var t=E0(),e=b0();return f2=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function E2(){if(h2)return p2;h2=1;var t=E1(),e=String,r=TypeError;return p2=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function w2(){if(v2)return m2;v2=1;var t=E0(),e=c2(),r=b2(),n=E2(),o=a2(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return m2.f=t?r?function(t,e,r){if(n(t),e=o(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&l in r&&!r[l]){var i=a(t,e);i&&i[l]&&(t[e]=r.value,r={configurable:c in r?r[c]:i[c],enumerable:s in r?r[s]:i[s],writable:!1})}return u(t,e,r)}:u:function(t,r,a){if(n(t),r=o(r),n(a),e)try{return u(t,r,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[r]=a.value),t},m2}function S2(){if(y2)return g2;y2=1;var t=E0(),e=w2(),r=d1();return g2=t?function(t,n,o){return e.f(t,n,r(1,o))}:function(t,e,r){return t[e]=r,t}}var C2,D2,O2,A2,x2,T2,N2,k2,P2,B2,I2,F2,R2,L2,_2,j2={exports:{}};function M2(){if(D2)return C2;D2=1;var t=E0(),e=n2(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,o=e(r,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&n(r,"name").configurable);return C2={EXISTS:o,PROPER:i,CONFIGURABLE:u}}function z2(){if(A2)return O2;A2=1;var t=p1(),e=b1(),r=t2(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),O2=r.inspectSource}function H2(){if(k2)return N2;k2=1;var t=e2(),e=o2(),r=t("keys");return N2=function(t){return r[t]||(r[t]=e(t))}}function $2(){return B2?P2:(B2=1,P2={})}function U2(){if(F2)return I2;F2=1;var t,e,r,n=function(){if(T2)return x2;T2=1;var t=c0(),e=b1(),r=t.WeakMap;return x2=e(r)&&/native code/.test(String(r))}(),o=c0(),i=E1(),u=S2(),a=n2(),s=t2(),c=H2(),l=$2(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(n||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},r=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},r=function(t){return a(t,v)}}return I2={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!i(r)||(n=e(r)).type!==t)throw new d("Incompatible receiver, "+t+" required");return n}}}}function V2(){if(_2)return L2;_2=1;var t=b1(),e=w2(),r=function(){if(R2)return j2.exports;R2=1;var t=p1(),e=b0(),r=b1(),n=n2(),o=E0(),i=M2().CONFIGURABLE,u=z2(),a=U2(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=j2.exports=function(t,e,r){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return n(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return r(this)&&c(this).source||u(this)},"toString"),j2.exports}(),n=Q1();return L2=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&r(u,c,a),a.global)s?o[i]=u:n(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var G2,W2,q2,K2,Y2,X2,J2,Z2,Q2,t4,e4,r4,n4,o4,i4,u4,a4,s4={};function c4(){if(K2)return q2;K2=1;var t=function(){if(W2)return G2;W2=1;var t=Math.ceil,e=Math.floor;return G2=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return q2=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function l4(){if(t4)return Q2;t4=1;var t=function(){if(Z2)return J2;Z2=1;var t=c4(),e=Math.min;return J2=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}();return Q2=function(e){return t(e.length)}}function f4(){if(o4)return n4;o4=1;var t=p1(),e=n2(),r=m1(),n=function(){if(r4)return e4;r4=1;var t=m1(),e=function(){if(X2)return Y2;X2=1;var t=c4(),e=Math.max,r=Math.min;return Y2=function(n,o){var i=t(n);return i<0?e(i+o,0):r(i,o)}}(),r=l4(),n=function(n){return function(o,i,u){var a=t(o),s=r(a);if(0===s)return!n&&-1;var c,l=e(u,s);if(n&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((n||l in a)&&a[l]===i)return n||l||0;return!n&&-1}};return e4={includes:n(!0),indexOf:n(!1)}}().indexOf,o=$2(),i=t([].push);return n4=function(t,u){var a,s=r(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~n(l,a)||i(l,a));return l}}function d4(){return u4?i4:(u4=1,i4=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var p4,h4,v4,g4,y4,m4,b4,E4,w4,S4,C4,D4,O4,A4,x4,T4,N4,k4,P4,B4,I4={};function F4(){return p4||(p4=1,I4.f=Object.getOwnPropertySymbols),I4}function R4(){if(y4)return g4;y4=1;var t=n2(),e=function(){if(v4)return h4;v4=1;var t=w1(),e=p1(),r=function(){if(a4)return s4;a4=1;var t=f4(),e=d4().concat("length","prototype");return s4.f=Object.getOwnPropertyNames||function(r){return t(r,e)},s4}(),n=F4(),o=E2(),i=e([].concat);return h4=t("Reflect","ownKeys")||function(t){var e=r.f(o(t)),u=n.f;return u?i(e,u(t)):e}}(),r=l2(),n=w2();return g4=function(o,i,u){for(var a=e(i),s=n.f,c=r.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function L4(){if(w4)return E4;w4=1;var t=c0(),e=l2().f,r=S2(),n=V2(),o=Q1(),i=R4(),u=function(){if(b4)return m4;b4=1;var t=b0(),e=b1(),r=/#|\.prototype\./,n=function(r,n){var s=i[o(r)];return s===a||s!==u&&(e(n)?t(n):!!n)},o=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},i=n.data={},u=n.NATIVE="N",a=n.POLYFILL="P";return m4=n}();return E4=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&r(d,"sham",!0),n(c,l,d,a)}}}function _4(){if(C4)return S4;C4=1;var t={};return t[i2()("toStringTag")]="z",S4="[object z]"===String(t)}function j4(){if(O4)return D4;O4=1;var t=_4(),e=b1(),r=h1(),n=i2()("toStringTag"),o=Object,i="Arguments"===r(function(){return arguments}());return D4=t?r:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),n))?a:i?r(u):"Object"===(s=r(u))&&e(u.callee)?"Arguments":s}}function M4(){if(x4)return A4;x4=1;var t=j4(),e=String;return A4=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}!function(){if(B4)return s0;B4=1;var t=L4(),e=function(){if(N4)return T4;N4=1;var t=p1(),e=y1(),r=M4(),n=/"/g,o=t("".replace);return T4=function(t,i,u,a){var s=r(e(t)),c="<"+i;return""!==u&&(c+=" "+u+'="'+o(r(a),n,""")+'"'),c+">"+s+"</"+i+">"}}(),r=function(){if(P4)return k4;P4=1;var t=b0();return k4=function(e){return t(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})}}();t({target:"String",proto:!0,forced:r("anchor")},{anchor:function(t){return e(this,"a","name",t)}})}(),"function"==typeof SuppressedError&&SuppressedError;var z4,H4,$4,U4={};!function(){if($4)return U4;$4=1;var t=_4(),e=V2(),r=function(){if(H4)return z4;H4=1;var t=_4(),e=j4();return z4=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var V4,G4,W4,q4,K4,Y4,X4,J4,Z4={exports:{}},Q4=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}((V4||(V4=1,function(t){var e=function(t){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,r=0,n={},o={manual:t.Prism&&t.Prism.manual,disableWorkerMessageHandler:t.Prism&&t.Prism.disableWorkerMessageHandler,util:{encode:function t(e){return e instanceof i?new i(e.type,t(e.content),e.alias):Array.isArray(e)?e.map(t):e.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(t){return Object.prototype.toString.call(t).slice(8,-1)},objId:function(t){return t.__id||Object.defineProperty(t,"__id",{value:++r}),t.__id},clone:function t(e,r){var n,i;switch(r=r||{},o.util.type(e)){case"Object":if(i=o.util.objId(e),r[i])return r[i];for(var u in n={},r[i]=n,e)e.hasOwnProperty(u)&&(n[u]=t(e[u],r));return n;case"Array":return i=o.util.objId(e),r[i]?r[i]:(n=[],r[i]=n,e.forEach(function(e,o){n[o]=t(e,r)}),n);default:return e}},getLanguage:function(t){for(;t;){var r=e.exec(t.className);if(r)return r[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,r){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+r)},currentScript:function(){if("undefined"==typeof document)return null;if(document.currentScript&&"SCRIPT"===document.currentScript.tagName)return document.currentScript;try{throw new Error}catch(n){var t=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(n.stack)||[])[1];if(t){var e=document.getElementsByTagName("script");for(var r in e)if(e[r].src==t)return e[r]}return null}},isActive:function(t,e,r){for(var n="no-"+e;t;){var o=t.classList;if(o.contains(e))return!0;if(o.contains(n))return!1;t=t.parentElement}return!!r}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(t,e){var r=o.util.clone(o.languages[t]);for(var n in e)r[n]=e[n];return r},insertBefore:function(t,e,r,n){var i=(n=n||o.languages)[t],u={};for(var a in i)if(i.hasOwnProperty(a)){if(a==e)for(var s in r)r.hasOwnProperty(s)&&(u[s]=r[s]);r.hasOwnProperty(a)||(u[a]=i[a])}var c=n[t];return n[t]=u,o.languages.DFS(o.languages,function(e,r){r===c&&e!=t&&(this[e]=u)}),u},DFS:function t(e,r,n,i){i=i||{};var u=o.util.objId;for(var a in e)if(e.hasOwnProperty(a)){r.call(e,a,e[a],n||a);var s=e[a],c=o.util.type(s);"Object"!==c||i[u(s)]?"Array"!==c||i[u(s)]||(i[u(s)]=!0,t(s,r,a,i)):(i[u(s)]=!0,t(s,r,null,i))}}},plugins:{},highlightAll:function(t,e){o.highlightAllUnder(document,t,e)},highlightAllUnder:function(t,e,r){var n={callback:r,container:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",n),n.elements=Array.prototype.slice.apply(n.container.querySelectorAll(n.selector)),o.hooks.run("before-all-elements-highlight",n);for(var i,u=0;i=n.elements[u++];)o.highlightElement(i,!0===e,n.callback)},highlightElement:function(e,r,n){var i=o.util.getLanguage(e),u=o.languages[i];o.util.setLanguage(e,i);var a=e.parentElement;a&&"pre"===a.nodeName.toLowerCase()&&o.util.setLanguage(a,i);var s={element:e,language:i,grammar:u,code:e.textContent};function c(t){s.highlightedCode=t,o.hooks.run("before-insert",s),s.element.innerHTML=s.highlightedCode,o.hooks.run("after-highlight",s),o.hooks.run("complete",s),n&&n.call(s.element)}if(o.hooks.run("before-sanity-check",s),(a=s.element.parentElement)&&"pre"===a.nodeName.toLowerCase()&&!a.hasAttribute("tabindex")&&a.setAttribute("tabindex","0"),!s.code)return o.hooks.run("complete",s),void(n&&n.call(s.element));if(o.hooks.run("before-highlight",s),s.grammar)if(r&&t.Worker){var l=new Worker(o.filename);l.onmessage=function(t){c(t.data)},l.postMessage(JSON.stringify({language:s.language,code:s.code,immediateClose:!0}))}else c(o.highlight(s.code,s.grammar,s.language));else c(o.util.encode(s.code))},highlight:function(t,e,r){var n={code:t,grammar:e,language:r};if(o.hooks.run("before-tokenize",n),!n.grammar)throw new Error('The language "'+n.language+'" has no grammar.');return n.tokens=o.tokenize(n.code,n.grammar),o.hooks.run("after-tokenize",n),i.stringify(o.util.encode(n.tokens),n.language)},tokenize:function(t,e){var r=e.rest;if(r){for(var n in r)e[n]=r[n];delete e.rest}var o=new s;return c(o,o.head,t),a(t,o,e,o.head,0),function(t){for(var e=[],r=t.head.next;r!==t.tail;)e.push(r.value),r=r.next;return e}(o)},hooks:{all:{},add:function(t,e){var r=o.hooks.all;r[t]=r[t]||[],r[t].push(e)},run:function(t,e){var r=o.hooks.all[t];if(r&&r.length)for(var n,i=0;n=r[i++];)n(e)}},Token:i};function i(t,e,r,n){this.type=t,this.content=e,this.alias=r,this.length=0|(n||"").length}function u(t,e,r,n){t.lastIndex=e;var o=t.exec(r);if(o&&n&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function a(t,e,r,n,s,f){for(var d in r)if(r.hasOwnProperty(d)&&r[d]){var p=r[d];p=Array.isArray(p)?p:[p];for(var h=0;h<p.length;++h){if(f&&f.cause==d+","+h)return;var v=p[h],g=v.inside,y=!!v.lookbehind,m=!!v.greedy,b=v.alias;if(m&&!v.pattern.global){var E=v.pattern.toString().match(/[imsuy]*$/)[0];v.pattern=RegExp(v.pattern.source,E+"g")}for(var w=v.pattern||v,S=n.next,C=s;S!==e.tail&&!(f&&C>=f.reach);C+=S.value.length,S=S.next){var D=S.value;if(e.length>t.length)return;if(!(D instanceof i)){var O,A=1;if(m){if(!(O=u(w,C,t,y))||O.index>=t.length)break;var x=O.index,T=O.index+O[0].length,N=C;for(N+=S.value.length;x>=N;)N+=(S=S.next).value.length;if(C=N-=S.value.length,S.value instanceof i)continue;for(var k=S;k!==e.tail&&(N<T||"string"==typeof k.value);k=k.next)A++,N+=k.value.length;A--,D=t.slice(C,N),O.index-=C}else if(!(O=u(w,0,D,y)))continue;x=O.index;var P=O[0],B=D.slice(0,x),I=D.slice(x+P.length),F=C+D.length;f&&F>f.reach&&(f.reach=F);var R=S.prev;if(B&&(R=c(e,R,B),C+=B.length),l(e,R,A),S=c(e,R,new i(d,g?o.tokenize(P,g):P,b,P)),I&&c(e,S,I),A>1){var L={cause:d+","+h,reach:F};a(t,e,r,S.prev,C,L),f&&L.reach>f.reach&&(f.reach=L.reach)}}}}}}function s(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function c(t,e,r){var n=e.next,o={value:r,prev:e,next:n};return e.next=o,n.prev=o,t.length++,o}function l(t,e,r){for(var n=e.next,o=0;o<r&&n!==t.tail;o++)n=n.next;e.next=n,n.prev=e,t.length-=o}if(t.Prism=o,i.stringify=function t(e,r){if("string"==typeof e)return e;if(Array.isArray(e)){var n="";return e.forEach(function(e){n+=t(e,r)}),n}var i={type:e.type,content:t(e.content,r),tag:"span",classes:["token",e.type],attributes:{},language:r},u=e.alias;u&&(Array.isArray(u)?Array.prototype.push.apply(i.classes,u):i.classes.push(u)),o.hooks.run("wrap",i);var a="";for(var s in i.attributes)a+=" "+s+'="'+(i.attributes[s]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+a+">"+i.content+"</"+i.tag+">"},!t.document)return t.addEventListener?(o.disableWorkerMessageHandler||t.addEventListener("message",function(e){var r=JSON.parse(e.data),n=r.language,i=r.code,u=r.immediateClose;t.postMessage(o.highlight(i,o.languages[n],n)),u&&t.close()},!1),o):o;var f=o.util.currentScript();function d(){o.manual||o.highlightAll()}if(f&&(o.filename=f.src,f.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var p=document.readyState;"loading"===p||"interactive"===p&&f&&f.defer?document.addEventListener("DOMContentLoaded",d):window.requestAnimationFrame?window.requestAnimationFrame(d):window.setTimeout(d,16)}return o}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});
|
|
24
|
+
*/function vO(t){return"[object Object]"===Object.prototype.toString.call(t)}!function(){if(aO)return sO;aO=1;var t=_E(),e=cO(),r=lO(),n=function(){if(uO)return iO;uO=1;var t=pO().forEach,e=hO()("forEach");return iO=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},iO}(),o=tC(),i=function(t){if(t&&t.forEach!==n)try{o(t,"forEach",n)}catch(e){t.forEach=n}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(r)}();var gO=t=>function(t){var e,r;return!1!==vO(t)&&(void 0===(e=t.constructor)||!1!==vO(r=e.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))}(t)&&Array.isArray(t.redos)&&Array.isArray(t.undos)&&(0===t.redos.length||nv.isOperationList(t.redos[0].operations))&&(0===t.undos.length||nv.isOperationList(t.undos[0].operations)),yO=new WeakMap,mO=new WeakMap,bO={isHistoryEditor:t=>gO(t.history)&&Kh.isEditor(t),isMerging:t=>mO.get(t),isSaving:t=>yO.get(t),redo(t){t.redo()},undo(t){t.undo()},withMerging(t,e){var r=bO.isMerging(t);mO.set(t,!0),e(),mO.set(t,r)},withoutMerging(t,e){var r=bO.isMerging(t);mO.set(t,!1),e(),mO.set(t,r)},withoutSaving(t,e){var r=bO.isSaving(t);yO.set(t,!1),e(),yO.set(t,r)}},EO=t=>{var e=t,{apply:r}=e;return e.history={undos:[],redos:[]},e.redo=()=>{var{history:t}=e,{redos:r}=t;if(r.length>0){var n=r[r.length-1];n.selectionBefore&&zv.setSelection(e,n.selectionBefore),bO.withoutSaving(e,()=>{Kh.withoutNormalizing(e,()=>{for(var t of n.operations)e.apply(t)})}),t.redos.pop(),e.writeHistory("undos",n)}},e.undo=()=>{var{history:t}=e,{undos:r}=t;if(r.length>0){var n=r[r.length-1];bO.withoutSaving(e,()=>{Kh.withoutNormalizing(e,()=>{var t=n.operations.map(nv.inverse).reverse();for(var r of t)e.apply(r);n.selectionBefore&&zv.setSelection(e,n.selectionBefore)})}),e.writeHistory("redos",n),t.undos.pop()}},e.apply=t=>{var{operations:n,history:o}=e,{undos:i}=o,u=i[i.length-1],a=u&&u.operations[u.operations.length-1],s=bO.isSaving(e),c=bO.isMerging(e);if(null==s&&(s=SO(t)),s){if(null==c&&(c=null!=u&&(0!==n.length||wO(t,a))),u&&c)u.operations.push(t);else{var l={operations:[t],selectionBefore:e.selection};e.writeHistory("undos",l)}for(;i.length>100;)i.shift();o.redos=[]}r(t)},e.writeHistory=(t,r)=>{e.history[t].push(r)},e},wO=(t,e)=>!(!e||"insert_text"!==t.type||"insert_text"!==e.type||t.offset!==e.offset+e.text.length||!ov.equals(t.path,e.path))||!(!e||"remove_text"!==t.type||"remove_text"!==e.type||t.offset+t.text.length!==e.offset||!ov.equals(t.path,e.path)),SO=(t,e)=>"set_selection"!==t.type,CO=function(t,e){return CO=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},CO(t,e)};function DO(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}CO(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var OO=function(){return OO=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},OO.apply(this,arguments)};function AO(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}function xO(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function TO(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u}function NO(t,e,r){if(2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var kO={},PO="destroyed",BO="change",IO="scroll",FO={};var RO,LO,_O,jO,MO,zO,HO,$O,UO,VO,GO,WO,qO,KO,YO,XO,JO,ZO,QO,tA,eA,rA,nA,oA,iA,uA,aA,sA,cA,lA,fA,dA,pA,hA={};function vA(){if(_O)return LO;_O=1;var t=Yw();return LO=t("document","documentElement")}function gA(){if(MO)return jO;MO=1;var t,e=ZS(),r=function(){if(RO)return hA;RO=1;var t=KE(),e=JS(),r=QS(),n=ZS(),o=Ww(),i=$D();return hA.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)r.f(t,u=s[l++],a[u]);return t},hA}(),n=YC(),o=wC(),i=vA(),u=zS(),a=EC(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,o;h="undefined"!=typeof document?document.domain&&t?p(t):(r=u("iframe"),o="java"+c+":",r.style.display="none",i.appendChild(r),r.src=String(o),(e=r.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=n.length;a--;)delete h[s][n[a]];return h()};return o[l]=!0,jO=Object.create||function(t,n){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===n?o:r.f(o,n)}}function yA(){if(HO)return zO;HO=1;var t=_S(),e=gA(),r=QS().f,n=t("unscopables"),o=Array.prototype;return void 0===o[n]&&r(o,n,{configurable:!0,value:e(null)}),zO=function(t){o[n][t]=!0}}function mA(){return UO?$O:(UO=1,$O={})}function bA(){if(qO)return WO;qO=1;var t=RS(),e=qw(),r=FS(),n=EC(),o=function(){if(GO)return VO;GO=1;var t=qE();return VO=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=n("IE_PROTO"),u=Object,a=u.prototype;return WO=o?u.getPrototypeOf:function(n){var o=r(n);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function EA(){if(YO)return KO;YO=1;var t,e,r,n=qE(),o=qw(),i=Kw(),u=gA(),a=bA(),s=DC(),c=_S(),l=kS(),f=c("iterator"),d=!1;return[].keys&&("next"in(r=[].keys())?(e=a(a(r)))!==Object.prototype&&(t=e):d=!0),!i(t)||n(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),KO={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function wA(){if(JO)return XO;JO=1;var t=QS().f,e=RS(),r=_S()("toStringTag");return XO=function(n,o,i){n&&!i&&(n=n.prototype),n&&!e(n,r)&&t(n,r,{configurable:!0,value:o})}}function SA(){if(iA)return oA;iA=1;var t=function(){if(nA)return rA;nA=1;var t=Kw();return rA=function(e){return t(e)||null===e}}(),e=String,r=TypeError;return oA=function(n){if(t(n))return n;throw new r("Can't set "+e(n)+" as a prototype")}}function CA(){if(aA)return uA;aA=1;var t=function(){if(eA)return tA;eA=1;var t=Hw(),e=nS();return tA=function(r,n,o){try{return t(e(Object.getOwnPropertyDescriptor(r,n)[o]))}catch(t){}}}(),e=Kw(),r=Gw(),n=SA();return uA=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return r(t),n(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function DA(){if(cA)return sA;cA=1;var t=ND(),e=XE(),r=kS(),n=yC(),o=qw(),i=function(){if(QO)return ZO;QO=1;var t=EA().IteratorPrototype,e=gA(),r=zw(),n=wA(),o=mA(),i=function(){return this};return ZO=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:r(+!c,s)}),n(u,l,!1,!0),o[l]=i,u}}(),u=bA(),a=CA(),s=wA(),c=tC(),l=DC(),f=_S(),d=mA(),p=EA(),h=n.PROPER,v=n.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return sA=function(n,f,p,C,D,O,A){i(p,f,C);var x,T,N,k=function(t){if(t===D&&R)return R;if(!y&&t&&t in I)return I[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},P=f+" Iterator",B=!1,I=n.prototype,F=I[m]||I["@@iterator"]||D&&I[D],R=!y&&F||k(D),L="Array"===f&&I.entries||F;if(L&&(x=u(L.call(new n)))!==Object.prototype&&x.next&&(r||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,P,!0,!0),r&&(d[P]=S)),h&&D===E&&F&&F.name!==E&&(!r&&v?c(I,"name",E):(B=!0,R=function(){return e(F,this)})),D)if(T={values:k(E),keys:O?R:k(b),entries:k(w)},A)for(N in T)(y||B||!(N in I))&&l(I,N,T[N]);else t({target:f,proto:!0,forced:y||B},T);return r&&!A||I[m]===R||l(I,m,R,{name:D}),d[f]=R,T}}function OA(){return fA?lA:(fA=1,lA=function(t,e){return{value:t,done:e}})}function AA(){if(pA)return dA;pA=1;var t=Ww(),e=yA(),r=mA(),n=SC(),o=QS().f,i=DA(),u=OA(),a=kS(),s=KE(),c="Array Iterator",l=n.set,f=n.getterFor(c);dA=i(Array,"Array",function(e,r){l(this,{type:c,target:t(e),index:0,kind:r})},function(){var t=f(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(r,!1);case"values":return u(e[r],!1)}return u([r,e[r]],!1)},"values");var d=r.Arguments=r.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return dA}AA();var xA,TA,NA,kA,PA,BA={};function IA(){if(TA)return xA;TA=1;var t=FD(),e=String;return xA=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}function FA(){if(kA)return NA;kA=1;var t=Hw(),e=UC(),r=IA(),n=Gw(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=r(n(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return NA={codeAt:a(!1),charAt:a(!0)}}!function(){if(PA)return BA;PA=1;var t=FA().charAt,e=IA(),r=SC(),n=DA(),o=OA(),i="String Iterator",u=r.set,a=r.getterFor(i);n(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,r=a(this),n=r.string,i=r.index;return i>=n.length?o(void 0,!0):(e=t(n,i),r.index+=e.length,o(e,!1))})}();var RA,LA,_A,jA,MA={};function zA(){if(LA)return RA;LA=1;var t=qE();return RA=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})}function HA(){if(jA)return _A;jA=1;var t=DC();return _A=function(e,r,n){for(var o in r)t(e,o,r[o],n);return e}}var $A,UA,VA,GA,WA,qA,KA,YA,XA,JA,ZA,QA,tx,ex,rx,nx,ox,ix,ux,ax,sx,cx,lx,fx,dx,px,hx,vx,gx,yx,mx={exports:{}},bx={};function Ex(){if(UA)return $A;UA=1;var t=Hw();return $A=t([].slice)}function wx(){if(YA)return mx.exports;YA=1;var t=ND(),e=Hw(),r=wC(),n=Kw(),o=RS(),i=QS().f,u=XC(),a=function(){if(VA)return bx;VA=1;var t=$w(),e=Ww(),r=XC().f,n=Ex(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return bx.f=function(i){return o&&"Window"===t(i)?function(t){try{return r(t)}catch(t){return n(o)}}(i):r(e(i))},bx}(),s=function(){if(KA)return qA;KA=1;var t=qE(),e=Kw(),r=$w(),n=function(){if(WA)return GA;WA=1;var t=qE();return GA=t(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})}(),o=Object.isExtensible,i=t(function(){});return qA=i||n?function(t){return!!e(t)&&(!n||"ArrayBuffer"!==r(t))&&(!o||o(t))}:o}(),c=LS(),l=zA(),f=!1,d=c("meta"),p=0,h=function(t){i(t,d,{value:{objectID:"O"+p++,weakData:{}}})},v=mx.exports={enable:function(){v.enable=function(){},f=!0;var r=u.f,n=e([].splice),o={};o[d]=1,r(o).length&&(u.f=function(t){for(var e=r(t),o=0,i=e.length;o<i;o++)if(e[o]===d){n(e,o,1);break}return e},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!n(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,d)){if(!s(t))return"F";if(!e)return"E";h(t)}return t[d].objectID},getWeakData:function(t,e){if(!o(t,d)){if(!s(t))return!0;if(!e)return!1;h(t)}return t[d].weakData},onFreeze:function(t){return l&&f&&s(t)&&!o(t,d)&&h(t),t}};return r[d]=!0,mx.exports}function Sx(){if(JA)return XA;JA=1;var t=_S(),e=mA(),r=t("iterator"),n=Array.prototype;return XA=function(t){return void 0!==t&&(e.Array===t||n[r]===t)}}function Cx(){if(QA)return ZA;QA=1;var t=FD(),e=oS(),r=Vw(),n=mA(),o=_S()("iterator");return ZA=function(i){if(!r(i))return e(i,o)||e(i,"@@iterator")||n[t(i)]}}function Dx(){if(ex)return tx;ex=1;var t=XE(),e=nS(),r=ZS(),n=rS(),o=Cx(),i=TypeError;return tx=function(u,a){var s=arguments.length<2?o(u):a;if(e(s))return r(t(s,u));throw new i(n(u)+" is not iterable")},tx}function Ox(){if(nx)return rx;nx=1;var t=XE(),e=ZS(),r=oS();return rx=function(n,o,i){var u,a;e(n);try{if(!(u=r(n,"return"))){if("throw"===o)throw i;return i}u=t(u,n)}catch(t){a=!0,u=t}if("throw"===o)throw i;if(a)throw u;return e(u),i}}function Ax(){if(ix)return ox;ix=1;var t=dO(),e=XE(),r=ZS(),n=rS(),o=Sx(),i=WC(),u=Xw(),a=Dx(),s=Cx(),c=Ox(),l=TypeError,f=function(t,e){this.stopped=t,this.result=e},d=f.prototype;return ox=function(p,h,v){var g,y,m,b,E,w,S,C=v&&v.that,D=!(!v||!v.AS_ENTRIES),O=!(!v||!v.IS_RECORD),A=!(!v||!v.IS_ITERATOR),x=!(!v||!v.INTERRUPTED),T=t(h,C),N=function(t){return g&&c(g,"normal"),new f(!0,t)},k=function(t){return D?(r(t),x?T(t[0],t[1],N):T(t[0],t[1])):x?T(t,N):T(t)};if(O)g=p.iterator;else if(A)g=p;else{if(!(y=s(p)))throw new l(n(p)+" is not iterable");if(o(y)){for(m=0,b=i(p);b>m;m++)if((E=k(p[m]))&&u(d,E))return E;return new f(!1)}g=a(p,y)}for(w=O?p.next:g.next;!(S=e(w,g)).done;){try{E=k(S.value)}catch(t){c(g,"throw",t)}if("object"==typeof E&&E&&u(d,E))return E}return new f(!1)}}function xx(){if(ax)return ux;ax=1;var t=Xw(),e=TypeError;return ux=function(r,n){if(t(n,r))return r;throw new e("Incorrect invocation")}}function Tx(){if(cx)return sx;cx=1;var t=_S()("iterator"),e=!1;try{var r=0,n={next:function(){return{done:!!r++}},return:function(){e=!0}};n[t]=function(){return this},Array.from(n,function(){throw 2})}catch(t){}return sx=function(r,n){try{if(!n&&!e)return!1}catch(t){return!1}var o=!1;try{var i={};i[t]=function(){return{next:function(){return{done:o=!0}}}},r(i)}catch(t){}return o}}function Nx(){if(fx)return lx;fx=1;var t=qw(),e=Kw(),r=CA();return lx=function(n,o,i){var u,a;return r&&t(u=o.constructor)&&u!==i&&e(a=u.prototype)&&a!==i.prototype&&r(n,a),n}}function kx(){if(px)return dx;px=1;var t=ND(),e=_E(),r=Hw(),n=TD(),o=DC(),i=wx(),u=Ax(),a=xx(),s=qw(),c=Vw(),l=Kw(),f=qE(),d=Tx(),p=wA(),h=Nx();return dx=function(v,g,y){var m=-1!==v.indexOf("Map"),b=-1!==v.indexOf("Weak"),E=m?"set":"add",w=e[v],S=w&&w.prototype,C=w,D={},O=function(t){var e=r(S[t]);o(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!l(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(n(v,!s(w)||!(b||S.forEach&&!f(function(){(new w).entries().next()}))))C=y.getConstructor(g,v,m,E),i.enable();else if(n(v,!0)){var A=new C,x=A[E](b?{}:-0,1)!==A,T=f(function(){A.has(1)}),N=d(function(t){new w(t)}),k=!b&&f(function(){for(var t=new w,e=5;e--;)t[E](e,e);return!t.has(-0)});N||((C=g(function(t,e){a(t,S);var r=h(new w,t,C);return c(e)||u(e,r[E],{that:r,AS_ENTRIES:m}),r})).prototype=S,S.constructor=C),(T||k)&&(O("delete"),O("has"),m&&O("get")),(k||x)&&O(E),b&&S.clear&&delete S.clear}return D[v]=C,t({global:!0,constructor:!0,forced:C!==w},D),p(C,v),b||y.setStrong(C,v,m),C},dx}yx||(yx=1,function(){if(gx)return MA;gx=1;var t,e=zA(),r=_E(),n=Hw(),o=HA(),i=wx(),u=kx(),a=function(){if(vx)return hx;vx=1;var t=Hw(),e=HA(),r=wx().getWeakData,n=xx(),o=ZS(),i=Vw(),u=Kw(),a=Ax(),s=pO(),c=RS(),l=SC(),f=l.set,d=l.getterFor,p=s.find,h=s.findIndex,v=t([].splice),g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return p(t.entries,function(t){return t[0]===e})};return m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var r=b(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,function(e){return e[0]===t});return~e&&v(this.entries,e,1),!!~e}},hx={getConstructor:function(t,s,l,p){var h=t(function(t,e){n(t,v),f(t,{type:s,id:g++,frozen:null}),i(e)||a(e,t[p],{that:t,AS_ENTRIES:l})}),v=h.prototype,m=d(s),b=function(t,e,n){var i=m(t),u=r(o(e),!0);return!0===u?y(i).set(e,n):u[i.id]=n,t};return e(v,{delete:function(t){var e=m(this);if(!u(t))return!1;var n=r(t);return!0===n?y(e).delete(t):n&&c(n,e.id)&&delete n[e.id]},has:function(t){var e=m(this);if(!u(t))return!1;var n=r(t);return!0===n?y(e).has(t):n&&c(n,e.id)}}),e(v,l?{get:function(t){var e=m(this);if(u(t)){var n=r(t);if(!0===n)return y(e).get(t);if(n)return n[e.id]}},set:function(t,e){return b(this,t,e)}}:{add:function(t){return b(this,t,!0)}}),h}}}(),s=Kw(),c=SC().enforce,l=qE(),f=bC(),d=Object,p=Array.isArray,h=d.isExtensible,v=d.isFrozen,g=d.isSealed,y=d.freeze,m=d.seal,b=!r.ActiveXObject&&"ActiveXObject"in r,E=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},w=u("WeakMap",E,a),S=w.prototype,C=n(S.set);if(f)if(b){t=a.getConstructor(E,"WeakMap",!0),i.enable();var D=n(S.delete),O=n(S.has),A=n(S.get);o(S,{delete:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),D(this,e)||r.frozen.delete(e)}return D(this,e)},has:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),O(this,e)||r.frozen.has(e)}return O(this,e)},get:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),O(this,e)?A(this,e):r.frozen.get(e)}return A(this,e)},set:function(e,r){if(s(e)&&!h(e)){var n=c(this);n.frozen||(n.frozen=new t),O(this,e)?C(this,e,r):n.frozen.set(e,r)}else C(this,e,r);return this}})}else e&&l(function(){var t=y([]);return C(new w,t,1),!v(t)})&&o(S,{set:function(t,e){var r;return p(t)&&(v(t)?r=y:g(t)&&(r=m)),C(this,t,e),r&&r(t),this}})}());var Px,Bx={};!function(){if(Px)return Bx;Px=1;var t=_E(),e=cO(),r=lO(),n=AA(),o=tC(),i=wA(),u=_S()("iterator"),a=n.values,s=function(t,r){if(t){if(t[u]!==a)try{o(t,u,a)}catch(e){t[u]=a}if(i(t,r,!0),e[r])for(var s in n)if(t[s]!==n[s])try{o(t,s,n[s])}catch(e){t[s]=n[s]}}};for(var c in e)s(t[c]&&t[c].prototype,c);s(r,"DOMTokenList")}();var Ix,Fx=new WeakMap,Rx=new WeakMap,Lx=new WeakMap,_x=new WeakMap,jx=new WeakMap,Mx=new WeakMap,zx=new WeakMap,Hx=new WeakMap,$x=new WeakMap,Ux=new WeakMap,Vx=new WeakMap,Gx=new WeakMap,Wx=new WeakMap,qx=new WeakMap,Kx=new WeakMap,Yx=new WeakMap,Xx=new WeakMap,Jx=new WeakMap,Zx=new WeakMap,Qx=new WeakMap,tT=new WeakMap,eT=new WeakMap,rT=new WeakMap,nT=new WeakMap,oT=new WeakMap,iT=new WeakMap,uT=new WeakMap,aT=function(t){var e=t;return e.getAllMenuKeys=function(){var t=[];for(var e in FO)t.push(e);return t},e.getConfig=function(){var t=Ux.get(e);if(null==t)throw new Error("Can not get editor config");return t},e.getMenuConfig=function(t){var r=e.getConfig().MENU_CONF;return(void 0===r?{}:r)[t]||{}},e.alert=function(t,r){void 0===r&&(r="info");var n=e.getConfig().customAlert;n&&n(t,r)},e},sT={};!function(){if(Ix)return sT;Ix=1;var t=ND(),e=pO().filter;t({target:"Array",proto:!0,forced:!_D()("filter")},{filter:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var cT,lT,fT,dT,pT,hT={};!function(){if(pT)return hT;pT=1;var t=ND(),e=function(){if(dT)return fT;dT=1;var t=dO(),e=XE(),r=FS(),n=function(){if(lT)return cT;lT=1;var t=ZS(),e=Ox();return cT=function(r,n,o,i){try{return i?n(t(o)[0],o[1]):n(o)}catch(t){e(r,"throw",t)}}}(),o=Sx(),i=RD(),u=WC(),a=BD(),s=Dx(),c=Cx(),l=Array;return fT=function(f){var d=r(f),p=i(this),h=arguments.length,v=h>1?arguments[1]:void 0,g=void 0!==v;g&&(v=t(v,h>2?arguments[2]:void 0));var y,m,b,E,w,S,C=c(d),D=0;if(!C||this===l&&o(C))for(y=u(d),m=p?new this(y):l(y);y>D;D++)S=g?v(d[D],D):d[D],a(m,D,S);else for(m=p?new this:[],w=(E=s(d,C)).next;!(b=e(w,E)).done;D++)S=g?n(E,v,[b.value,D],!0):b.value,a(m,D,S);return m.length=D,m},fT}();t({target:"Array",stat:!0,forced:!Tx()(function(t){Array.from(t)})},{from:e})}();var vT,gT={};!function(){if(vT)return gT;vT=1;var t=ND(),e=qC().includes,r=qE(),n=yA();t({target:"Array",proto:!0,forced:r(function(){return!Array(1).includes()})},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n("includes")}();var yT,mT={};!function(){if(yT)return mT;yT=1;var t=ND(),e=Hw(),r=Uw(),n=Ww(),o=hO(),i=e([].join);t({target:"Array",proto:!0,forced:r!==Object||!o("join",",")},{join:function(t){return i(n(this),void 0===t?",":t)}})}();var bT,ET={};!function(){if(bT)return ET;bT=1;var t=ND(),e=pO().map;t({target:"Array",proto:!0,forced:!_D()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var wT,ST,CT,DT,OT,AT,xT,TT={};function NT(){if(ST)return wT;ST=1;var t=Kw(),e=$w(),r=_S()("match");return wT=function(n){var o;return t(n)&&(void 0!==(o=n[r])?!!o:"RegExp"===e(n))}}function kT(){if(DT)return CT;DT=1;var t=NT(),e=TypeError;return CT=function(r){if(t(r))throw new e("The method doesn't accept regular expressions");return r}}function PT(){if(AT)return OT;AT=1;var t=_S()("match");return OT=function(e){var r=/./;try{"/./"[e](r)}catch(n){try{return r[t]=!1,"/./"[e](r)}catch(t){}}return!1}}!function(){if(xT)return TT;xT=1;var t=ND(),e=Hw(),r=kT(),n=Gw(),o=IA(),i=PT(),u=e("".indexOf);t({target:"String",proto:!0,forced:!i("includes")},{includes:function(t){return!!~u(o(n(this)),o(r(t)),arguments.length>1?arguments[1]:void 0)}})}();var BT,IT,FT,RT,LT,_T,jT,MT={};function zT(){return IT?BT:(IT=1,BT="\t\n\v\f\r \u2028\u2029\ufeff")}!function(){if(jT)return MT;jT=1;var t=ND(),e=function(){if(RT)return FT;RT=1;var t=Hw(),e=Gw(),r=IA(),n=zT(),o=t("".replace),i=RegExp("^["+n+"]+"),u=RegExp("(^|[^"+n+"])["+n+"]+$"),a=function(t){return function(n){var a=r(e(n));return 1&t&&(a=o(a,i,"")),2&t&&(a=o(a,u,"$1")),a}};return FT={start:a(1),end:a(2),trim:a(3)}}().trim,r=function(){if(_T)return LT;_T=1;var t=yC().PROPER,e=qE(),r=zT();return LT=function(n){return e(function(){return!!r[n]()||"
"!=="
"[n]()||t&&r[n].name!==n})}}();t({target:"String",proto:!0,forced:r("trim")},{trim:function(){return e(this)}})}();var HT,$T,UT,VT,GT,WT,qT,KT,YT,XT,JT,ZT,QT,tN={};function eN(){if($T)return HT;$T=1;var t=Hw(),e=Gw(),r=IA(),n=/"/g,o=t("".replace);return HT=function(t,i,u,a){var s=r(e(t)),c="<"+i;return""!==u&&(c+=" "+u+'="'+o(r(a),n,""")+'"'),c+">"+s+"</"+i+">"}}function rN(){if(VT)return UT;VT=1;var t=qE();return UT=function(e){return t(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})}}function nN(){if(qT)return WT;qT=1;var t=CC(),e=QS();return WT=function(r,n,o){return o.get&&t(o.get,n,{getter:!0}),o.set&&t(o.set,n,{setter:!0}),e.f(r,n,o)}}function oN(){if(YT)return KT;YT=1;var t=Yw(),e=nN(),r=_S(),n=KE(),o=r("species");return KT=function(r){var i=t(r);n&&i&&!i[o]&&e(i,o,{configurable:!0,get:function(){return this}})}}!function(){if(GT)return tN;GT=1;var t=ND(),e=eN();t({target:"String",proto:!0,forced:rN()("anchor")},{anchor:function(t){return e(this,"a","name",t)}})}(),QT||(QT=1,ZT||(ZT=1,kx()("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},function(){if(JT)return XT;JT=1;var t=gA(),e=nN(),r=HA(),n=dO(),o=xx(),i=Vw(),u=Ax(),a=DA(),s=OA(),c=oN(),l=KE(),f=wx().fastKey,d=SC(),p=d.set,h=d.getterFor;return XT={getConstructor:function(a,s,c,d){var v=a(function(e,r){o(e,g),p(e,{type:s,index:t(null),first:null,last:null,size:0}),l||(e.size=0),i(r)||u(r,e[d],{that:e,AS_ENTRIES:c})}),g=v.prototype,y=h(s),m=function(t,e,r){var n,o,i=y(t),u=b(t,e);return u?u.value=r:(i.last=u={index:o=f(e,!0),key:e,value:r,previous:n=i.last,next:null,removed:!1},i.first||(i.first=u),n&&(n.next=u),l?i.size++:t.size++,"F"!==o&&(i.index[o]=u)),t},b=function(t,e){var r,n=y(t),o=f(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key===e)return r};return r(g,{clear:function(){for(var e=y(this),r=e.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=null),r=r.next;e.first=e.last=null,e.index=t(null),l?e.size=0:this.size=0},delete:function(t){var e=this,r=y(e),n=b(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first===n&&(r.first=o),r.last===n&&(r.last=i),l?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=y(this),o=n(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(o(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!b(this,t)}}),r(g,c?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),l&&e(g,"size",{configurable:!0,get:function(){return y(this).size}}),v},setStrong:function(t,e,r){var n=e+" Iterator",o=h(e),i=h(n);a(t,e,function(t,e){p(this,{type:n,target:t,state:o(t),kind:e,last:null})},function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?s("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=null,s(void 0,!0))},r?"entries":"values",!r,!0),c(e)}},XT}())));var iN,uN,aN,sN,cN,lN,fN,dN,pN,hN,vN,gN=new Set(["doctype","!doctype","meta","script","style","link","frame","iframe","title","svg"]),yN={};function mN(){if(uN)return iN;uN=1;var t=ZS();return iN=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}function bN(){if(sN)return aN;sN=1;var t=qE(),e=_E().RegExp,r=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),n=r||t(function(){return!e("a","y").sticky}),o=r||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return aN={BROKEN_CARET:o,MISSED_STICKY:n,UNSUPPORTED_Y:r}}function EN(){if(lN)return cN;lN=1;var t=qE(),e=_E().RegExp;return cN=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}function wN(){if(dN)return fN;dN=1;var t=qE(),e=_E().RegExp;return fN=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}function SN(){if(hN)return pN;hN=1;var t,e,r=XE(),n=Hw(),o=IA(),i=mN(),u=bN(),a=IS(),s=gA(),c=SC().get,l=EN(),f=wN(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=n("".charAt),g=n("".indexOf),y=n("".replace),m=n("".slice),b=(e=/b*/g,r(p,t=/a/,"a"),r(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,n,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=r(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=r(i,C),k=C.source,P=0,B=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),B=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(k="(?: "+k+")",B=" "+B,P++),n=new RegExp("^(?:"+k+")",N)),w&&(n=new RegExp("^"+k+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=r(p,T?n:C,B),T?a?(a.input=m(a.input,P),a[0]=m(a[0],P),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&r(d,a[0],n,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),pN=h}function CN(){if(vN)return yN;vN=1;var t=ND(),e=SN();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),yN}CN();var DN,ON,AN,xN,TN,NN,kN,PN,BN,IN,FN,RN={};function LN(){if(ON)return DN;ON=1,CN();var t=XE(),e=DC(),r=SN(),n=qE(),o=_S(),i=tC(),u=o("species"),a=RegExp.prototype;return DN=function(s,c,l,f){var d=o(s),p=!n(function(){var t={};return t[d]=function(){return 7},7!==""[s](t)}),h=p&&!n(function(){var t=!1,e=/a/;return"split"===s&&((e={}).constructor={},e.constructor[u]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return t=!0,null},e[d](""),!t});if(!p||!h||l){var v=/./[d],g=c(d,""[s],function(e,n,o,i,u){var s=n.exec;return s===r||s===a.exec?p&&!u?{done:!0,value:t(v,n,o,i)}:{done:!0,value:t(e,o,n,i)}:{done:!1}});e(String.prototype,s,g[0]),e(a,d,g[1])}f&&i(a[d],"sham",!0)},DN}function _N(){if(NN)return TN;NN=1;var t=ZS(),e=function(){if(xN)return AN;xN=1;var t=RD(),e=rS(),r=TypeError;return AN=function(n){if(t(n))return n;throw new r(e(n)+" is not a constructor")}}(),r=Vw(),n=_S()("species");return TN=function(o,i){var u,a=t(o).constructor;return void 0===a||r(u=t(a)[n])?i:e(u)}}function jN(){if(PN)return kN;PN=1;var t=FA().charAt;return kN=function(e,r,n){return r+(n?t(e,r).length:1)}}function MN(){if(IN)return BN;IN=1;var t=XE(),e=ZS(),r=qw(),n=$w(),o=SN(),i=TypeError;return BN=function(u,a){var s=u.exec;if(r(s)){var c=t(s,u,a);return null!==c&&e(c),c}if("RegExp"===n(u))return t(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}!function(){if(FN)return RN;FN=1;var t=XE(),e=Hw(),r=LN(),n=ZS(),o=Kw(),i=Gw(),u=_N(),a=jN(),s=GC(),c=IA(),l=oS(),f=MN(),d=bN(),p=qE(),h=d.UNSUPPORTED_Y,v=Math.min,g=e([].push),y=e("".slice),m=!p(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}),b="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;r("split",function(e,r,d){var p="0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t(r,this,e,n)}:r;return[function(r,n){var u=i(this),a=o(r)?l(r,e):void 0;return a?t(a,r,u,n):t(p,c(u),r,n)},function(t,e){var o=n(this),i=c(t);if(!b){var l=d(p,o,i,e,p!==r);if(l.done)return l.value}var m=u(o,RegExp),E=o.unicode,w=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(h?"g":"y"),S=new m(h?"^(?:"+o.source+")":o,w),C=void 0===e?4294967295:e>>>0;if(0===C)return[];if(0===i.length)return null===f(S,i)?[i]:[];for(var D=0,O=0,A=[];O<i.length;){S.lastIndex=h?0:O;var x,T=f(S,h?y(i,O):i);if(null===T||(x=v(s(S.lastIndex+(h?O:0)),i.length))===D)O=a(i,O,E);else{if(g(A,y(i,D,O)),A.length===C)return A;for(var N=1;N<=T.length-1;N++)if(g(A,T[N]),A.length===C)return A;O=D=x}}return g(A,y(i,D)),A}]},b||!m,h)}();var zN,HN,$N,UN,VN={};!function(){if($N)return VN;$N=1;var t=ND(),e=function(){if(HN)return zN;HN=1;var t=kD(),e=WC(),r=PD(),n=dO(),o=function(i,u,a,s,c,l,f,d){for(var p,h,v=c,g=0,y=!!f&&n(f,d);g<s;)g in a&&(p=y?y(a[g],g,u):a[g],l>0&&t(p)?(h=e(p),v=o(i,u,p,h,v,l-1)-1):(r(v+1),i[v]=p),v++),g++;return v};return zN=o}(),r=nS(),n=FS(),o=WC(),i=LD();t({target:"Array",proto:!0},{flatMap:function(t){var u,a=n(this),s=o(a);return r(t),(u=i(a,0)).length=e(u,a,a,s,0,1,t,arguments.length>1?arguments[1]:void 0),u}})}(),UN||(UN=1,yA()("flatMap"));var GN,WN={};!function(){if(GN)return WN;GN=1;var t=ND(),e=eN();t({target:"String",proto:!0,forced:rN()("bold")},{bold:function(){return e(this,"b","","")}})}();var qN,KN={};!function(){if(qN)return KN;qN=1;var t=ND(),e=eN();t({target:"String",proto:!0,forced:rN()("italics")},{italics:function(){return e(this,"i","","")}})}();var YN,XN={};!function(){if(YN)return XN;YN=1;var t=ND(),e=eN();t({target:"String",proto:!0,forced:rN()("sub")},{sub:function(){return e(this,"sub","","")}})}();var JN,ZN={};!function(){if(JN)return ZN;JN=1;var t=ND(),e=eN();t({target:"String",proto:!0,forced:rN()("sup")},{sup:function(){return e(this,"sup","","")}})}();var QN,tk={};!function(){if(QN)return tk;QN=1;var t=ND(),e=pO().find,r=yA(),n="find",o=!0;n in[]&&Array(1)[n](function(){o=!1}),t({target:"Array",proto:!0,forced:o},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r(n)}();var ek,rk,nk={};rk||(rk=1,function(){if(ek)return nk;ek=1;var t=ND(),e=_E();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}());const ok=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];var ik,uk,ak,sk,ck,lk,fk,dk,pk,hk,vk,gk,yk,mk,bk,Ek,wk,Sk,Ck,Dk,Ok,Ak,xk,Tk,Nk,kk,Pk,Bk,Ik,Fk,Rk,Lk,_k={};function jk(){if(uk)return ik;uk=1;var t=_E(),e=Jw(),r=$w(),n=function(t){return e.slice(0,t.length)===t};return ik=n("Bun/")?"BUN":n("Cloudflare-Workers")?"CLOUDFLARE":n("Deno/")?"DENO":n("Node.js/")?"NODE":t.Bun&&"string"==typeof Bun.version?"BUN":t.Deno&&"object"==typeof Deno.version?"DENO":"process"===r(t.process)?"NODE":t.window&&t.document?"BROWSER":"REST"}function Mk(){if(sk)return ak;sk=1;var t=jk();return ak="NODE"===t}function zk(){if(dk)return fk;dk=1;var t=YE(),e=Function.prototype,r=e.apply,n=e.call;return fk="object"==typeof Reflect&&Reflect.apply||(t?n.bind(r):function(){return n.apply(r,arguments)}),fk}function Hk(){if(gk)return vk;gk=1;var t=Jw();return vk=/(?:ipad|iphone|ipod).*applewebkit/i.test(t)}function $k(){if(mk)return yk;mk=1;var t,e,r,n,o=_E(),i=zk(),u=dO(),a=qw(),s=RS(),c=qE(),l=vA(),f=Ex(),d=zS(),p=function(){if(hk)return pk;hk=1;var t=TypeError;return pk=function(e,r){if(e<r)throw new t("Not enough arguments");return e}}(),h=Hk(),v=Mk(),g=o.setImmediate,y=o.clearImmediate,m=o.process,b=o.Dispatch,E=o.Function,w=o.MessageChannel,S=o.String,C=0,D={},O="onreadystatechange";c(function(){t=o.location});var A=function(t){if(s(D,t)){var e=D[t];delete D[t],e()}},x=function(t){return function(){A(t)}},T=function(t){A(t.data)},N=function(e){o.postMessage(S(e),t.protocol+"//"+t.host)};return g&&y||(g=function(t){p(arguments.length,1);var r=a(t)?t:E(t),n=f(arguments,1);return D[++C]=function(){i(r,void 0,n)},e(C),C},y=function(t){delete D[t]},v?e=function(t){m.nextTick(x(t))}:b&&b.now?e=function(t){b.now(x(t))}:w&&!h?(n=(r=new w).port2,r.port1.onmessage=T,e=u(n.postMessage,n)):o.addEventListener&&a(o.postMessage)&&!o.importScripts&&t&&"file:"!==t.protocol&&!c(N)?(e=N,o.addEventListener("message",T,!1)):e=O in d("script")?function(t){l.appendChild(d("script"))[O]=function(){l.removeChild(this),A(t)}}:function(t){setTimeout(x(t),0)}),yk={set:g,clear:y}}function Uk(){if(Sk)return wk;Sk=1;var t=function(){this.head=null,this.tail=null};return t.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},wk=t}function Vk(){if(Tk)return xk;Tk=1;var t,e,r,n,o,i=_E(),u=function(){if(Ek)return bk;Ek=1;var t=_E(),e=KE(),r=Object.getOwnPropertyDescriptor;return bk=function(n){if(!e)return t[n];var o=r(t,n);return o&&o.value}}(),a=dO(),s=$k().set,c=Uk(),l=Hk(),f=function(){if(Dk)return Ck;Dk=1;var t=Jw();return Ck=/ipad|iphone|ipod/i.test(t)&&"undefined"!=typeof Pebble}(),d=function(){if(Ak)return Ok;Ak=1;var t=Jw();return Ok=/web0s(?!.*chrome)/i.test(t)}(),p=Mk(),h=i.MutationObserver||i.WebKitMutationObserver,v=i.document,g=i.process,y=i.Promise,m=u("queueMicrotask");if(!m){var b=new c,E=function(){var e,r;for(p&&(e=g.domain)&&e.exit();r=b.get();)try{r()}catch(e){throw b.head&&t(),e}e&&e.enter()};l||p||d||!h||!v?!f&&y&&y.resolve?((n=y.resolve(void 0)).constructor=y,o=a(n.then,n),t=function(){o(E)}):p?t=function(){g.nextTick(E)}:(s=a(s,i),t=function(){s(E)}):(e=!0,r=v.createTextNode(""),new h(E).observe(r,{characterData:!0}),t=function(){r.data=e=!e}),m=function(e){b.head||t(),b.add(e)}}return xk=m}function Gk(){return Bk?Pk:(Bk=1,Pk=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}})}function Wk(){if(Fk)return Ik;Fk=1;var t=_E();return Ik=t.Promise}function qk(){if(Lk)return Rk;Lk=1;var t=_E(),e=Wk(),r=qw(),n=TD(),o=mC(),i=_S(),u=jk(),a=kS(),s=Zw(),c=e&&e.prototype,l=i("species"),f=!1,d=r(t.PromiseRejectionEvent),p=n("Promise",function(){var t=o(e),r=t!==String(e);if(!r&&66===s)return!0;if(a&&(!c.catch||!c.finally))return!0;if(!s||s<51||!/native code/.test(t)){var n=new e(function(t){t(1)}),i=function(t){t(function(){},function(){})};if((n.constructor={})[l]=i,!(f=n.then(function(){})instanceof i))return!0}return!(r||"BROWSER"!==u&&"DENO"!==u||d)});return Rk={CONSTRUCTOR:p,REJECTION_EVENT:d,SUBCLASSING:f}}var Kk,Yk,Xk={};function Jk(){if(Kk)return Xk;Kk=1;var t=nS(),e=TypeError,r=function(r){var n,o;this.promise=new r(function(t,r){if(void 0!==n||void 0!==o)throw new e("Bad Promise constructor");n=t,o=r}),this.resolve=t(n),this.reject=t(o)};return Xk.f=function(t){return new r(t)},Xk}var Zk,Qk,tP,eP={};function rP(){if(Qk)return Zk;Qk=1;var t=Wk(),e=Tx(),r=qk().CONSTRUCTOR;return Zk=r||!e(function(e){t.all(e).then(void 0,function(){})})}var nP,oP,iP,uP,aP,sP,cP,lP={},fP={},dP={},pP={};cP||(cP=1,function(){if(Yk)return _k;Yk=1;var t,e,r,n,o=ND(),i=kS(),u=Mk(),a=_E(),s=function(){if(lk)return ck;lk=1;var t=_E();return ck=t}(),c=XE(),l=DC(),f=CA(),d=wA(),p=oN(),h=nS(),v=qw(),g=Kw(),y=xx(),m=_N(),b=$k().set,E=Vk(),w=(kk||(kk=1,Nk=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}),Nk),S=Gk(),C=Uk(),D=SC(),O=Wk(),A=qk(),x=Jk(),T="Promise",N=A.CONSTRUCTOR,k=A.REJECTION_EVENT,P=A.SUBCLASSING,B=D.getterFor(T),I=D.set,F=O&&O.prototype,R=O,L=F,_=a.TypeError,j=a.document,M=a.process,z=x.f,H=z,$=!!(j&&j.createEvent&&a.dispatchEvent),U="unhandledrejection",V=function(t){var e;return!(!g(t)||!v(e=t.then))&&e},G=function(t,e){var r,n,o,i=e.value,u=1===e.state,a=u?t.ok:t.fail,s=t.resolve,l=t.reject,f=t.domain;try{a?(u||(2===e.rejection&&X(e),e.rejection=1),!0===a?r=i:(f&&f.enter(),r=a(i),f&&(f.exit(),o=!0)),r===t.promise?l(new _("Promise-chain cycle")):(n=V(r))?c(n,r,s,l):s(r)):l(i)}catch(t){f&&!o&&f.exit(),l(t)}},W=function(t,e){t.notified||(t.notified=!0,E(function(){for(var r,n=t.reactions;r=n.get();)G(r,t);t.notified=!1,e&&!t.rejection&&K(t)}))},q=function(t,e,r){var n,o;$?((n=j.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),a.dispatchEvent(n)):n={promise:e,reason:r},!k&&(o=a["on"+t])?o(n):t===U&&w("Unhandled promise rejection",r)},K=function(t){c(b,a,function(){var e,r=t.facade,n=t.value;if(Y(t)&&(e=S(function(){u?M.emit("unhandledRejection",n,r):q(U,r,n)}),t.rejection=u||Y(t)?2:1,e.error))throw e.value})},Y=function(t){return 1!==t.rejection&&!t.parent},X=function(t){c(b,a,function(){var e=t.facade;u?M.emit("rejectionHandled",e):q("rejectionhandled",e,t.value)})},J=function(t,e,r){return function(n){t(e,n,r)}},Z=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,W(t,!0))},Q=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new _("Promise can't be resolved itself");var n=V(e);n?E(function(){var r={done:!1};try{c(n,e,J(Q,r,t),J(Z,r,t))}catch(e){Z(r,e,t)}}):(t.value=e,t.state=1,W(t,!1))}catch(e){Z({done:!1},e,t)}}};if(N&&(L=(R=function(e){y(this,L),h(e),c(t,this);var r=B(this);try{e(J(Q,r),J(Z,r))}catch(t){Z(r,t)}}).prototype,(t=function(t){I(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:0,value:null})}).prototype=l(L,"then",function(t,e){var r=B(this),n=z(m(this,R));return r.parent=!0,n.ok=!v(t)||t,n.fail=v(e)&&e,n.domain=u?M.domain:void 0,0===r.state?r.reactions.add(n):E(function(){G(n,r)}),n.promise}),e=function(){var e=new t,r=B(e);this.promise=e,this.resolve=J(Q,r),this.reject=J(Z,r)},x.f=z=function(t){return t===R||t===r?new e(t):H(t)},!i&&v(O)&&F!==Object.prototype)){n=F.then,P||l(F,"then",function(t,e){var r=this;return new R(function(t,e){c(n,r,t,e)}).then(t,e)},{unsafe:!0});try{delete F.constructor}catch(t){}f&&f(F,L)}o({global:!0,constructor:!0,wrap:!0,forced:N},{Promise:R}),r=s.Promise,d(R,T,!1,!0),p(T)}(),function(){if(tP)return eP;tP=1;var t=ND(),e=XE(),r=nS(),n=Jk(),o=Gk(),i=Ax();t({target:"Promise",stat:!0,forced:rP()},{all:function(t){var u=this,a=n.f(u),s=a.resolve,c=a.reject,l=o(function(){var n=r(u.resolve),o=[],a=0,l=1;i(t,function(t){var r=a++,i=!1;l++,e(n,u,t).then(function(t){i||(i=!0,o[r]=t,--l||s(o))},c)}),--l||s(o)});return l.error&&c(l.value),a.promise}})}(),function(){if(nP)return lP;nP=1;var t=ND(),e=kS(),r=qk().CONSTRUCTOR,n=Wk(),o=Yw(),i=qw(),u=DC(),a=n&&n.prototype;if(t({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(t){return this.then(void 0,t)}}),!e&&i(n)){var s=o("Promise").prototype.catch;a.catch!==s&&u(a,"catch",s,{unsafe:!0})}}(),function(){if(oP)return fP;oP=1;var t=ND(),e=XE(),r=nS(),n=Jk(),o=Gk(),i=Ax();t({target:"Promise",stat:!0,forced:rP()},{race:function(t){var u=this,a=n.f(u),s=a.reject,c=o(function(){var n=r(u.resolve);i(t,function(t){e(n,u,t).then(a.resolve,s)})});return c.error&&s(c.value),a.promise}})}(),function(){if(iP)return dP;iP=1;var t=ND(),e=Jk();t({target:"Promise",stat:!0,forced:qk().CONSTRUCTOR},{reject:function(t){var r=e.f(this);return(0,r.reject)(t),r.promise}})}(),function(){if(sP)return pP;sP=1;var t=ND(),e=Yw(),r=kS(),n=Wk(),o=qk().CONSTRUCTOR,i=function(){if(aP)return uP;aP=1;var t=ZS(),e=Kw(),r=Jk();return uP=function(n,o){if(t(n),e(o)&&o.constructor===n)return o;var i=r.f(n);return(0,i.resolve)(o),i.promise}}(),u=e("Promise"),a=r&&!o;t({target:"Promise",stat:!0,forced:r||o},{resolve:function(t){return i(a&&this===u?n:this,t)}})}());var hP,vP,gP,yP,mP,bP={};function EP(){if(yP)return gP;yP=1;var t=XE(),e=RS(),r=Xw(),n=function(){if(vP)return hP;vP=1;var t=_E(),e=qE(),r=t.RegExp,n=!e(function(){var t=!0;try{r(".","d")}catch(e){t=!1}var e={},n="",o=t?"dgimsy":"gimsy",i=function(t,r){Object.defineProperty(e,t,{get:function(){return n+=r,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(e)!==o||n!==o});return hP={correct:n}}(),o=mN(),i=RegExp.prototype;return gP=n.correct?function(t){return t.flags}:function(u){return n.correct||!r(i,u)||e(u,"flags")?u.flags:t(o,u)}}!function(){if(mP)return bP;mP=1;var t=yC().PROPER,e=DC(),r=ZS(),n=IA(),o=qE(),i=EP(),u="toString",a=RegExp.prototype,s=a[u],c=o(function(){return"/a/b"!==s.call({source:"a",flags:"b"})}),l=t&&s.name!==u;(c||l)&&e(a,u,function(){var t=r(this);return"/"+n(t.source)+"/"+n(i(t))},{unsafe:!0})}();var wP,SP,CP,DP={};function OP(t){Promise.resolve().then(t)}!function(){if(CP)return DP;CP=1;var t=zk(),e=XE(),r=Hw(),n=LN(),o=qE(),i=ZS(),u=qw(),a=Kw(),s=UC(),c=GC(),l=IA(),f=Gw(),d=jN(),p=oS(),h=function(){if(SP)return wP;SP=1;var t=Hw(),e=FS(),r=Math.floor,n=t("".charAt),o=t("".replace),i=t("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return wP=function(t,s,c,l,f,d){var p=c+t.length,h=l.length,v=a;return void 0!==f&&(f=e(f),v=u),o(d,v,function(e,o){var u;switch(n(o,0)){case"$":return"$";case"&":return t;case"`":return i(s,0,c);case"'":return i(s,p);case"<":u=f[i(o,1,-1)];break;default:var a=+o;if(0===a)return e;if(a>h){var d=r(a/10);return 0===d?e:d<=h?void 0===l[d-1]?n(o,1):l[d-1]+n(o,1):e}u=l[a-1]}return void 0===u?"":u})},wP}(),v=EP(),g=MN(),y=_S()("replace"),m=Math.max,b=Math.min,E=r([].concat),w=r([].push),S=r("".indexOf),C=r("".slice),D=function(t){return void 0===t?t:String(t)},O="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");n("replace",function(r,n,o){var O=A?"$":"$0";return[function(t,r){var o=f(this),i=a(t)?p(t,y):void 0;return i?e(i,t,o,r):e(n,l(o),t,r)},function(e,r){var a=i(this),f=l(e);if("string"==typeof r&&-1===S(r,O)&&-1===S(r,"$<")){var p=o(n,a,f,r);if(p.done)return p.value}var y=u(r);y||(r=l(r));var A,x=l(v(a)),T=-1!==S(x,"g");T&&(A=-1!==S(x,"u"),a.lastIndex=0);for(var N,k=[];null!==(N=g(a,f))&&(w(k,N),T);)""===l(N[0])&&(a.lastIndex=d(f,c(a.lastIndex),A));for(var P="",B=0,I=0;I<k.length;I++){for(var F,R=l((N=k[I])[0]),L=m(b(s(N.index),f.length),0),_=[],j=1;j<N.length;j++)w(_,D(N[j]));var M=N.groups;if(y){var z=E([R],_,L,f);void 0!==M&&w(z,M),F=l(t(r,void 0,z))}else F=h(R,f,L,_,M,r);L>=B&&(P+=C(f,B,L)+F,B=L+R.length)}return P+C(f,B)}]},!!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!O||A)}();var AP,xP=function(t){return Object.prototype.toString.call(t)};Eg&&(og.fn.css=Eg),Ag&&(og.fn.append=Ag),ig&&(og.fn.addClass=ig),ug&&(og.fn.removeClass=ug),ag&&(og.fn.hasClass=ag),pg&&(og.fn.on=pg),_g&&(og.fn.focus=_g),sg&&(og.fn.attr=sg),cg&&(og.fn.removeAttr=cg),mg&&(og.fn.hide=mg),bg&&(og.fn.show=bg),yg&&(og.fn.offset=yg),vg&&(og.fn.width=vg),gg&&(og.fn.height=gg),Tg&&(og.fn.parent=Tg),Ng&&(og.fn.parents=Ng),Og&&(og.fn.is=Og),fg&&(og.fn.dataset=fg),dg&&(og.fn.val=dg),Dg&&(og.fn.text=Dg),Cg&&(og.fn.html=Cg),Pg&&(og.fn.children=Pg),Bg&&(og.fn.remove=Bg),kg&&(og.fn.find=kg),wg&&(og.fn.each=wg),Ig&&(og.fn.empty=Ig),function(t){t[t.ELEMENT_NODE=1]="ELEMENT_NODE",t[t.TEXT_NODE=3]="TEXT_NODE",t[t.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",t[t.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",t[t.COMMENT_NODE=8]="COMMENT_NODE",t[t.DOCUMENT_NODE=9]="DOCUMENT_NODE",t[t.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",t[t.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE"}(AP||(AP={}));var TP=/\[object HTML([A-Z][a-z]*)*Element\]/,NP=function(t){return TP.test(xP(t))},kP=function(t){return null!=t&&"number"==typeof t.nodeType},PP=function(t){return kP(t)&&t.nodeType===AP.COMMENT_NODE},BP=function(t){return kP(t)&&t.nodeType===AP.ELEMENT_NODE},IP=function(t){return"[object Selection]"===xP(t)},FP=function(t){return kP(t)&&t.nodeType===AP.TEXT_NODE},RP=function(t){var e,r,n;return null!==(e=window&&window.document.getElementById(t))&&void 0!==e?e:window&&(null===(n=null===(r=window.document.activeElement)||void 0===r?void 0:r.shadowRoot)||void 0===n?void 0:n.getElementById(t))||null},LP=function(t,e,r){for(var n=t.childNodes,o=n[e],i=e,u=!1,a=!1;(PP(o)||BP(o)&&0===o.childNodes.length||BP(o)&&"false"===o.getAttribute("contenteditable"))&&(!u||!a);)i>=n.length?(u=!0,i=e-1,r="backward"):i<0?(a=!0,i=e+1,r="forward"):(o=n[i],e=i,i+="forward"===r?1:-1);return[o,e]},_P=function(t,e,r){return TO(LP(t,e,r),1)[0]},jP=function(t){var e,r,n="";if(FP(t)&&t.nodeValue)return t.nodeValue;if(BP(t)){try{for(var o=xO(Array.from(t.childNodes)),i=o.next();!i.done;i=o.next()){var u=i.value;n+=jP(u)}}catch(t){e={error:t}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(e)throw e.error}}var a=getComputedStyle(t).getPropertyValue("display");"block"!==a&&"list"!==a&&"table-row"!==a&&"BR"!==t.tagName||(n+="\n")}return n};function MP(t,e){if(!NP(t)||"true"!==t.dataset.slateVoid)for(var r=t.childNodes,n=r.length;n-=1;){var o=r[n],i=o.nodeType;FP(o)?e(o,t):[AP.ELEMENT_NODE,AP.DOCUMENT_NODE,AP.DOCUMENT_FRAGMENT_NODE].includes(i)&&MP(o,e)}}function zP(t){if(0===t.length)return"";var e=t[0];return e.nodeType!==AP.ELEMENT_NODE?"":e.tagName.toLowerCase()}var HP,$P,UP,VP={};!function(){if(UP)return VP;UP=1;var t=KE(),e=_E(),r=Hw(),n=TD(),o=Nx(),i=tC(),u=gA(),a=XC().f,s=Xw(),c=NT(),l=IA(),f=EP(),d=bN(),p=function(){if($P)return HP;$P=1;var t=QS().f;return HP=function(e,r,n){n in e||t(e,n,{configurable:!0,get:function(){return r[n]},set:function(t){r[n]=t}})}}(),h=DC(),v=qE(),g=RS(),y=SC().enforce,m=oN(),b=_S(),E=EN(),w=wN(),S=b("match"),C=e.RegExp,D=C.prototype,O=e.SyntaxError,A=r(D.exec),x=r("".charAt),T=r("".replace),N=r("".indexOf),k=r("".slice),P=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,B=/a/g,I=/a/g,F=new C(B)!==B,R=d.MISSED_STICKY,L=d.UNSUPPORTED_Y;if(n("RegExp",t&&(!F||R||E||w||v(function(){return I[S]=!1,C(B)!==B||C(I)===I||"/a/i"!==String(C(B,"i"))})))){for(var _=function(t,e){var r,n,a,d,p,h,v=s(D,this),m=c(t),b=void 0===e,S=[],I=t;if(!v&&m&&b&&t.constructor===_)return t;if((m||s(D,t))&&(t=t.source,b&&(e=f(I))),t=void 0===t?"":l(t),e=void 0===e?"":l(e),I=t,E&&"dotAll"in B&&(n=!!e&&N(e,"s")>-1)&&(e=T(e,/s/g,"")),r=e,R&&"sticky"in B&&(a=!!e&&N(e,"y")>-1)&&L&&(e=T(e,/y/g,"")),w&&(d=function(t){for(var e,r=t.length,n=0,o="",i=[],a=u(null),s=!1,c=!1,l=0,f="";n<=r;n++){if("\\"===(e=x(t,n)))e+=x(t,++n);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:if(o+=e,"?:"===k(t,n+1,n+3))continue;A(P,k(t,n+1))&&(n+=2,c=!0),l++;continue;case">"===e&&c:if(""===f||g(a,f))throw new O("Invalid capture group name");a[f]=!0,i[i.length]=[f,l],c=!1,f="";continue}c?f+=e:o+=e}return[o,i]}(t),t=d[0],S=d[1]),p=o(C(t,e),v?this:D,_),(n||a||S.length)&&(h=y(p),n&&(h.dotAll=!0,h.raw=_(function(t){for(var e,r=t.length,n=0,o="",i=!1;n<=r;n++)"\\"!==(e=x(t,n))?i||"."!==e?("["===e?i=!0:"]"===e&&(i=!1),o+=e):o+="[\\s\\S]":o+=e+x(t,++n);return o}(t),r)),a&&(h.sticky=!0),S.length&&(h.groups=S)),t!==I)try{i(p,"source",""===I?"(?:)":I)}catch(t){}return p},j=a(C),M=0;j.length>M;)p(_,C,j[M++]);D.constructor=_,_.prototype=D,h(e,"RegExp",_,{constructor:!0})}m("RegExp")}();var GP=new RegExp(String.fromCharCode(160),"g");function WP(t){return t.replace(GP," ")}var qP=["span","b","strong","i","em","s","strike","u","font","sub","sup"],KP=[];var YP=[];var XP={};function JP(t,e){var r=t.length;if(r){var n=t[r-1];if(wv.isText(n)){var o=Object.keys(n);if(1===o.length&&"text"===o[0])return n.text+=e,!0}}return!1}function ZP(t,e,r){return{type:"paragraph",children:[{text:og(t).text().replace(/\s+/gm," ")}]}}function QP(t,e){var r=function(t,e){var r=[];if(null!=t.attr("data-w-e-is-void"))return r;var n=t[0].childNodes;return 1===n.length&&"BR"===n[0].nodeName?(r.push({text:""}),r):(n.forEach(function(t){if(BP(t)){if("BR"===t.nodeName)return void(JP(r,"\n")||r.push({text:"\n"}));var n=eB(og(t),e);Array.isArray(n)?n.forEach(function(t){return r.push(t)}):r.push(n)}else if(FP(t)){var o=t.textContent||"";if(""===o.trim()&&o.indexOf("\n")>=0)return;o&&(o=WP(o),JP(r,o)||r.push({text:o}))}}),r)}(t,e),n=function(t){for(var e in XP)if(t[0].matches(e))return XP[e];return ZP}(t),o=n(t[0],r,e);return Array.isArray(o)||(o=[o]),o.forEach(function(n){Kh.isVoid(e,n)||(0===r.length&&(n.children=[{text:t.text().replace(/\s+/gm," ")}]),YP.forEach(function(r){n=r(t[0],n,e)}))}),o}function tB(t,e){0===t.parents("pre").length&&(t[0].innerHTML=t[0].innerHTML.replace(/\s+/gm," ").replace(/<br>/g,"\n"));var r=t[0].textContent||"";r=function(t){return t.replace(/ /g," ").replace(/</g,"<").replace(/>/g,">").replace(/®/g,"®").replace(/©/g,"©").replace(/™/g,"™").replace(/"/g,'"')}(r);var n={text:r=WP(r)};return YP.forEach(function(r){n=r(t[0],n,e)}),n}function eB(t,e){KP.forEach(function(e){var r=e.selector,n=e.preParseHtml;t[0].matches(r)&&(t=og(n(t[0])))});var r=zP(t);if("span"===r){if(t.attr("data-w-e-type"))return QP(t,e);if(t[0].childNodes.length>1){var n=t[0].childNodes,o=function(t,e){var r={text:""};return YP.forEach(function(n){r=n(t[0],r,e)}),r}(og(t[0]),e),i=o;i.bold,i.italic,i.underline,i.through,i.sub,i.sup,i.code;var u=AO(i,["bold","italic","underline","through","sub","sup","code"]);return Array.from(n).flatMap(function(t){var r=function(t,e,r){var n=t[0];if(BP(n)){var o=eB(t,r);return Array.isArray(o)?o.map(function(t){return OO(OO({},e),t)}):[OO(OO({},e),o)]}if(PP(n))return null;var i=FP(n)?{text:n.textContent||""}:tB(t,r);return[OO(OO({},e),i)]}(og(t),u,e);return r||[]})}return 1===t[0].childNodes.length&&"span"===zP(og(t[0].childNodes[0]))?eB(og(t[0].childNodes[0]),e):tB(t,e)}if("code"===r)return"pre"===zP(t.parent())?QP(t,e):tB(t,e);if(qP.includes(r)){if(t[0].childNodes.length>0&&3!==t[0].childNodes[0].nodeType){var a=eB(og((n=t[0].childNodes)[0]),e),s=tB(t,e),c=void 0;if(Array.isArray(a)){var l=s;l.text;var f=l.bold,d=l.italic,p=l.underline,h=l.through;l.sub,l.sup;var v=l.code,g=AO(l,["text","bold","italic","underline","through","sub","sup","code"]);c=a.map(function(t){return OO(OO({},g),t)}),(f||d||p||h||v)&&(c=c.map(function(t){var e=OO({},t),r=t;return f&&!r.bold&&(e.bold=!0),d&&!r.italic&&(e.italic=!0),p&&!r.underline&&(e.underline=!0),h&&!r.through&&(e.through=!0),v&&!r.code&&(e.code=!0),e}))}else c=OO(OO({},a),s);return c}return tB(t,e)}return QP(t,e)}function rB(t,e,r){var n=og(r);return!!n.attr(e)||(n.attr(e,"true"),t.on(PO,function(){n.removeAttr(e)}),!1)}function nB(t,e){void 0===e&&(e="");var r=[];""===e&&(e="<p><br></p>"),0!==e.indexOf("<")&&(e=e.split(/\n/).map(function(t){return"<p>".concat(t,"</p>")}).join(""));var n=og("<div>".concat(e,"</div>"));return Array.from(n.children()).forEach(function(e){var n=eB(og(e),t);Array.isArray(n)?n.forEach(function(t){return r.push(t)}):r.push(n)}),r}function oB(t,e){return"w-e-element-".concat(t,"-").concat(e)}var iB=[];var uB={};function aB(t,e,r){var n=r.isInline(t)?"span":"div";return"<".concat(n,">").concat(e,"</").concat(n,">")}var sB,cB,lB,fB={};!function(){if(lB)return fB;lB=1;var t=ND(),e=XE(),r=Kw(),n=ZS(),o=function(){if(cB)return sB;cB=1;var t=RS();return sB=function(e){return void 0!==e&&(t(e,"value")||t(e,"writable"))}}(),i=$S(),u=bA();t({target:"Reflect",stat:!0},{get:function t(a,s){var c,l,f=arguments.length<3?a:arguments[2];return n(a)===f?a[s]:(c=i.f(a,s))?o(c)?c.value:void 0===c.get?void 0:e(c.get,f):r(l=u(a))?t(l,s,f):void 0}})}();var dB,pB={};!function(){if(dB)return pB;dB=1;var t,e=ND(),r=fO(),n=$S().f,o=GC(),i=IA(),u=kT(),a=Gw(),s=PT(),c=kS(),l=r("".slice),f=Math.min,d=s("endsWith");e({target:"String",proto:!0,forced:!(!c&&!d&&(t=n(String.prototype,"endsWith"),t&&!t.writable)||d)},{endsWith:function(t){var e=i(a(this));u(t);var r=arguments.length>1?arguments[1]:void 0,n=e.length,s=void 0===r?n:f(o(r),n),c=i(t);return l(e,s-c.length,s)===c}})}();var hB=0,vB=function(){this.id="".concat(hB++)},gB="undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),yB="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),mB="undefined"!=typeof navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bB="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),EB="undefined"!=typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),wB="undefined"!=typeof navigator&&/Chrome/i.test(navigator.userAgent),SB=!EB&&!bB&&"undefined"!=typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges,CB={getWindow:function(t){var e=rT.get(t);if(!e)throw new Error("Unable to find a host window element for this editor");return e},findKey:function(t,e){var r=eT.get(e);return r||(r=new vB,eT.set(e,r)),r},setNewKey:function(t){var e=new vB;eT.set(t,e)},findPath:function(t,e){for(var r=[],n=e;;){var o=Xx.get(n);if(null==o){if(Kh.isEditor(n))return r;break}var i=Yx.get(n);if(null==i)break;r.unshift(i),n=o}throw new Error("Unable to find the path for Slate node: ".concat(JSON.stringify(e)))},findDocumentOrShadowRoot:function(t){if(t.isDestroyed)return window.document;var e=CB.toDOMNode(t,t),r=e.getRootNode();return(function(t){return"[object HTMLDocument]"===xP(t)}(r)||function(t){return"[object ShadowRoot]"===xP(t)}(r))&&null!=Reflect.get(r,"getSelection")?r:e.ownerDocument},getParentNode:function(t,e){return Xx.get(e)||null},getParentsNodes:function(t,e){for(var r=[],n=e;n!==t&&null!=n;){var o=CB.getParentNode(t,n);if(null==o)break;r.push(o),n=o}return r},getTopNode:function(t,e){var r=[CB.findPath(t,e)[0]];return tv.get(t,r)},toDOMNode:function(t,e){var r;if(Kh.isEditor(e))r=Jx.get(t);else{var n=CB.findKey(t,e);r=Qx.get(n)}if(!r)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(JSON.stringify(e)));return r},hasDOMNode:function(t,e,r){void 0===r&&(r={});var n,o=r.editable,i=void 0!==o&&o,u=CB.toDOMNode(t,t);try{n=BP(e)?e:e.parentElement}catch(t){if(t instanceof Error&&!t.message.includes('Permission denied to access property "nodeType"'))throw t}return!!n&&(n.closest("[data-slate-editor]")===u&&(!i||n.isContentEditable||!!n.getAttribute("data-slate-zero-width"))||!!n.getAttribute("data-slate-string"))},toDOMRange:function(t,e){var r=e.anchor,n=e.focus,o=dv.isBackward(e),i=CB.toDOMPoint(t,r),u=dv.isCollapsed(e)?i:CB.toDOMPoint(t,n),a=CB.getWindow(t).document.createRange(),s=TO(o?u:i,2),c=s[0],l=s[1],f=TO(o?i:u,2),d=f[0],p=f[1],h=!!(BP(c)?c:c.parentElement).getAttribute("data-slate-zero-width"),v=!!(BP(d)?d:d.parentElement).getAttribute("data-slate-zero-width");return a.setStart(c,h?1:l),a.setEnd(d,v?1:p),a},toDOMPoint:function(t,e){var r,n,o,i=TO(Kh.node(t,e.path),1)[0],u=CB.toDOMNode(t,i);Kh.void(t,{at:e})&&(e={path:e.path,offset:0});var a=Array.from(u.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),s=0;try{for(var c=xO(a),l=c.next();!l.done;l=c.next()){var f=l.value,d=f.childNodes[0];if(null!=d&&null!=d.textContent){var p=d.textContent.length,h=f.getAttribute("data-slate-length"),v=s+(null==h?p:parseInt(h,10));if(e.offset<=v){o=[d,Math.min(p,Math.max(0,e.offset-s))];break}s=v}}}catch(t){r={error:t}}finally{try{l&&!l.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}if(!o)throw new Error("Cannot resolve a DOM point from Slate point: ".concat(JSON.stringify(e)));return o},toSlateNode:function(t,e){var r=BP(e)?e:e.parentElement;r&&!r.hasAttribute("data-slate-node")&&(r=r.closest("[data-slate-node]"));var n=r?Zx.get(r):null;if(!n)throw new Error("Cannot resolve a Slate node from DOM node: ".concat(r));return n},findEventRange:function(t,e){"nativeEvent"in e&&(e=e.nativeEvent);var r=e.clientX,n=e.clientY,o=e.target;if(null==r||null==n)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(e));var i,u=CB.toSlateNode(t,e.target),a=CB.findPath(t,u);if(Kh.isVoid(t,u)){var s=o.getBoundingClientRect(),c=t.isInline(u)?r-s.left<s.left+s.width-r:n-s.top<s.top+s.height-n,l=Kh.point(t,a,{edge:c?"start":"end"}),f=c?Kh.before(t,l):Kh.after(t,l);if(f)return Kh.range(t,f)}var d=this.getWindow(t).document;if(d.caretRangeFromPoint)i=d.caretRangeFromPoint(r,n);else{var p=d.caretPositionFromPoint(r,n);p&&((i=d.createRange()).setStart(p.offsetNode,p.offset),i.setEnd(p.offsetNode,p.offset))}if(!i)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(e));return CB.toSlateRange(t,i,{exactMatch:!1,suppressThrow:!1})},toSlateRange:function(t,e,r){var n,o,i,u,a,s=r.exactMatch,c=r.suppressThrow;if((IP(e)?e.anchorNode:e.startContainer)&&(IP(e)?(n=e.anchorNode,o=e.anchorOffset,i=e.focusNode,u=e.focusOffset,a=wB&&window.document.activeElement&&window.document.activeElement.shadowRoot?e.anchorNode===e.focusNode&&e.anchorOffset===e.focusOffset:e.isCollapsed):(n=e.startContainer,o=e.startOffset,i=e.endContainer,u=e.endOffset,a=e.collapsed)),null==n||null==i||null==o||null==u)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(e));var l=CB.toSlatePoint(t,[n,o],{exactMatch:s,suppressThrow:c});if(!l)return null;var f=a?l:CB.toSlatePoint(t,[i,u],{exactMatch:s,suppressThrow:c});if(!f)return null;var d={anchor:l,focus:f};return dv.isExpanded(d)&&dv.isForward(d)&&BP(i)&&Kh.void(t,{at:d.focus,mode:"highest"})&&(d=Kh.unhangRange(t,d,{voids:!0})),d},toSlatePoint:function(t,e,r){var n,o=r.exactMatch,i=r.suppressThrow,u=TO(o?e:function(t){var e,r=TO(t,2),n=r[0],o=r[1];if(BP(n)&&n.childNodes.length){var i=o===n.childNodes.length,u=i?o-1:o;for(n=(e=TO(LP(n,u,i?"backward":"forward"),2))[0],i=(u=e[1])<o;BP(n)&&n.childNodes.length;){var a=i?n.childNodes.length-1:0;n=_P(n,a,i?"backward":"forward")}o=i&&null!=n.textContent?n.textContent.length:0}return[n,o]}(e),2),a=u[0],s=u[1],c=a.parentNode,l=null,f=0;if(c){var d=c.closest('[data-slate-void="true"]'),p=c.closest("[data-slate-leaf]"),h=null,v=CB.getWindow(t);if(p&&v.document.createRange){l=p.closest('[data-slate-node="text"]');var g=v.document.createRange();g.setStart(l,0),g.setEnd(a,s);var y=g.cloneContents();NO(NO([],TO(Vg(y.querySelectorAll("[data-slate-zero-width]"))),!1),TO(Vg(y.querySelectorAll("[contenteditable=false]"))),!1).forEach(function(t){t.parentNode.removeChild(t)}),f=y.textContent.length,h=l}else d&&((p=d.querySelector("[data-slate-leaf]"))?(l=p.closest('[data-slate-node="text"]'),f=(h=p).textContent.length,h.querySelectorAll("[data-slate-zero-width]").forEach(function(t){f-=t.textContent.length})):f=1);h&&f===h.textContent.length&&(c.hasAttribute("data-slate-zero-width")||yB&&(null===(n=h.textContent)||void 0===n?void 0:n.endsWith("\n")))&&(f-=1)}if(!l){if(i)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(e))}var m=CB.toSlateNode(t,l);return{path:CB.findPath(t,m),offset:f}},hasRange:function(t,e){var r=e.anchor,n=e.focus;return Kh.hasPath(t,r.path)&&Kh.hasPath(t,n.path)},getNodeType:function(t){return $h.isElement(t)?t.type:""},checkNodeType:function(t,e){return this.getNodeType(t)===e},getNodesStr:function(t){return t.map(function(t){return tv.string(t)}).join("")},getSelectedElems:function(t){var e,r,n=[],o=Kh.nodes(t,{universal:!0});try{for(var i=xO(o),u=i.next();!u.done;u=i.next()){var a=TO(u.value,1)[0];$h.isElement(a)&&n.push(a)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n},getSelectedNodeByType:function(t,e){var r=this,n=TO(Kh.nodes(t,{match:function(t){return r.checkNodeType(t,e)},universal:!0}),1),o=n[0];return null==o?null:o[0]},getSelectedTextNode:function(t){var e=TO(Kh.nodes(t,{match:function(t){return wv.isText(t)},universal:!0}),1),r=e[0];return null==r?null:r[0]},isNodeSelected:function(t,e){var r=TO(Kh.nodes(t,{match:function(t){return t===e},universal:!0}),1),n=r[0];return null!=n&&TO(n,1)[0]===e},isSelectionAtLineEnd:function(t,e){var r=t.selection;return!!r&&(Kh.isEnd(t,r.anchor,e)||Kh.isEnd(t,r.focus,e))},getTextarea:function(t){var e=Fx.get(t);if(null==e)throw new Error("Cannot find textarea instance by editor");return e},getToolbar:function(t){return _x.get(t)||null},getHoverbar:function(t){return Mx.get(t)||null},normalizeContent:function(t){t.children.forEach(function(e,r){t.normalizeNode([e,[r]])})},getLeftLengthOfMaxLength:function(t){var e=t.getConfig(),r=e.maxLength,n=e.onMaxLength;if("number"!=typeof r||r<=0)return 1/0;var o=r-t.getText().replace(/\r|\n|(\r\n)|(\n\r)/g,"").length;return o<=0&&n&&n(t),o},cleanExposedTexNodeInSelectionBlock:function(t){var e,r,n,o,i=CB.getTextarea(t).$textArea,u=null==i?void 0:i[0].childNodes;if(u)try{for(var a=xO(Array.from(u)),s=a.next();!s.done;s=a.next()){var c=s.value;if(!FP(c))break;c.remove()}}catch(t){e={error:t}}finally{try{s&&!s.done&&(r=a.return)&&r.call(a)}finally{if(e)throw e.error}}var l=Kh.nodes(t,{match:function(e){return!(!$h.isElement(e)||t.isInline(e))},universal:!0});try{for(var f=xO(l),d=f.next();!d.done;d=f.next()){var p=d.value;if(null!=p){var h=p[0];MP(CB.toDOMNode(t,h),function(t,e){var r=og(e);r.attr("data-slate-string")||r.attr("data-slate-zero-width")||r.attr("data-w-e-reserve")||e.removeChild(t)})}}}catch(t){n={error:t}}finally{try{d&&!d.done&&(o=f.return)&&o.call(f)}finally{if(n)throw n.error}}},isLastNode:function(t,e){var r=t.children||[];return r[r.length-1]===e},genEmptyParagraph:function(){return{type:"paragraph",children:[{text:""}]}},isSelectedVoidNode:function(t){var e,r,n=Kh.nodes(t,{match:function(e){return t.isVoid(e)}}),o=0;try{for(var i=xO(n),u=i.next();!u.done;u=i.next())u.value&&(o+=1)}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return o>0},isSelectedEmptyParagraph:function(t){var e=t.selection;if(null==e)return!1;if(dv.isExpanded(e))return!1;var r=CB.getSelectedNodeByType(t,"paragraph");if(null===r)return!1;var n=r.children;return 1===n.length&&(""===n[0].text||void 0)},isEmptyPath:function(t,e){var r=Kh.node(t,e);if(null==r)return!1;var n=TO(r,1)[0].children;return 1===n.length&&""===n[0].text}};function DB(t,e){return $h.isElement(t)?function(t,e){var r=t.type,n=void 0===r?"":r,o=t.children,i=void 0===o?[]:o,u=Kh.isVoid(e,t),a="";u||(a=i.map(function(t){return DB(t,e)}).join(""));var s=function(t){return uB[t]||aB}(n),c=s(t,a,e),l="";if(l="string"==typeof c?c:c.html||"",u||iB.forEach(function(e){return l=e(t,l)}),"string"==typeof c)return l;var f=c.prefix,d=void 0===f?"":f,p=c.suffix,h=void 0===p?"":p;return d&&(l=d+l),h&&(l+=h),l}(t,e):function(t,e){var r=t.text;if(null==r)throw new Error("Current node is not slate Text ".concat(JSON.stringify(t)));var n=r;n=function(t){return t.replace(/ {2}/g," ").replace(/</g,"<").replace(/>/g,">").replace(/®/g,"®").replace(/©/g,"©").replace(/™/g,"™")}(n);var o=CB.getParentsNodes(e,t).some(function(t){return"pre"===CB.getNodeType(t)});if(o||(n=n.replace(/\n\r|\r\n|\r|\n/g,"<br>")),o&&(n=n.replace(/ /g," ")),""===n){var i=CB.getParentNode(null,t);if(!i||0!==i.children.length)return n;n="<br>"}return iB.forEach(function(e){return n=e(t,n)}),n}(t,e)}var OB=function(t,e){var r=(e.top+e.bottom)/2;return t.top<=r&&t.bottom>=r},AB=function(t,e,r){var n=CB.toDOMRange(t,e).getBoundingClientRect(),o=CB.toDOMRange(t,r).getBoundingClientRect();return OB(n,o)&&OB(o,n)},xB=function(t,e){var r,n,o=[];try{for(var i=xO(Kh.levels(t,{at:e})),u=i.next();!u.done;u=i.next()){var a=TO(u.value,2),s=a[0],c=a[1],l=CB.findKey(t,s);o.push([c,l])}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return o};function TB(t,e){t.isInline(e)?(t.insertNode(e),"link"===e.type&&t.insertFragment([{text:""}])):zv.insertNodes(t,e,{mode:"highest"})}var NB,kB,PB,BB,IB,FB,RB,LB,_B,jB,MB,zB,HB,$B,UB,VB,GB,WB,qB,KB,YB,XB,JB,ZB,QB,tI,eI,rI,nI,oI,iI,uI,aI,sI,cI,lI,fI,dI,pI,hI,vI=function(t){var e=t,r=e.onChange,n=e.insertText,o=e.apply,i=e.deleteBackward;return e.insertText=function(t){e.getConfig().readOnly||n(t)},e.apply=function(t){var r,n,i,u,a,s,c,l,f=[];switch(t.type){case"insert_text":case"remove_text":case"set_node":case"split_node":f.push.apply(f,NO([],TO(xB(e,t.path)),!1));break;case"insert_node":case"remove_node":f.push.apply(f,NO([],TO(xB(e,ov.parent(t.path))),!1));break;case"merge_node":var d=ov.previous(t.path);f.push.apply(f,NO([],TO(xB(e,d)),!1));break;case"move_node":var p=ov.common(ov.parent(t.path),ov.parent(t.newPath));f.push.apply(f,NO([],TO(xB(e,p)),!1));break;case"set_selection":(null===(u=null===(i=t.newProperties)||void 0===i?void 0:i.focus)||void 0===u?void 0:u.path)&&(f.push.apply(f,NO([],TO(xB(e,null===(s=null===(a=t.newProperties)||void 0===a?void 0:a.focus)||void 0===s?void 0:s.path)),!1)),f.push.apply(f,NO([],TO(xB(e,null===(l=null===(c=t.properties)||void 0===c?void 0:c.focus)||void 0===l?void 0:l.path)),!1)))}o(t);try{for(var h=xO(f),v=h.next();!v.done;v=h.next()){var g=TO(v.value,2),y=g[0],m=g[1],b=TO(Kh.node(e,y),1)[0];eT.set(b,m),"type"in b&&(qx.has(b)&&qx.delete(b),Kx.has(b)&&Kx.delete(b))}}catch(t){r={error:t}}finally{try{v&&!v.done&&(n=h.return)&&n.call(h)}finally{if(r)throw r.error}}},e.deleteBackward=function(r){if("line"!==r)return i(r);if(t.selection&&dv.isCollapsed(t.selection)){var n=Kh.above(t,{match:function(e){return Kh.isBlock(t,e)},at:t.selection});if(n){var o=TO(n,2)[1],u=Kh.range(t,o,t.selection.anchor),a=function(t,e){var r=Kh.range(t,dv.end(e)),n=Array.from(Kh.positions(t,{at:e})),o=0,i=n.length,u=Math.floor(i/2);if(AB(t,Kh.range(t,n[o]),r))return Kh.range(t,n[o],r);if(n.length<2)return Kh.range(t,n[n.length-1],r);for(;u!==n.length&&u!==o;)AB(t,Kh.range(t,n[u]),r)?i=u:o=u,u=Math.floor((o+i)/2);return Kh.range(t,n[i],r)}(e,u);dv.isCollapsed(a)||zv.delete(t,{at:a})}}},e.onChange=function(){var t=e.selection;null!=t&&oT.set(e,t),e.emit("change"),r()},e.handleTab=function(){e.insertText(" ")},e.getHtml=function(){var t=e.children,r=void 0===t?[]:t,n=e.getConfig().skipCacheTypes,o=void 0===n?["list-item"]:n;return r.map(function(t){var r=CB.getNodeType(t);if(o.includes(r))return DB(t,e);var n=Kx.get(t);if(n)return n;var i=DB(t,e);return Kx.set(t,i),i}).join("")},e.getText=function(){var t=e.children;return(void 0===t?[]:t).map(function(t){return tv.string(t)}).join("\n")},e.getSelectionText=function(){var r=e.selection;return null==r?"":Kh.string(t,r)},e.getElemsByType=function(t,r){var n,o;void 0===r&&(r=!1);var i=[],u=Kh.nodes(e,{at:[],universal:!0});try{for(var a=xO(u),s=a.next();!s.done;s=a.next()){var c=TO(s.value,1)[0];if($h.isElement(c)&&(r?c.type.indexOf(t)>=0:c.type===t)){var l=CB.findKey(e,c),f=oB(c.type,l.id);i.push(OO(OO({},c),{id:f}))}}}catch(t){n={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(n)throw n.error}}return i},e.getElemsByTypePrefix=function(t){return e.getElemsByType(t,!0)},e.isEmpty=function(){var t=e.children,r=void 0===t?[]:t;if(r.length>1)return!1;var n=r[0];if(null==n)return!0;if(!$h.isElement(n)||"paragraph"!==n.type)return!1;var o=n.children,i=void 0===o?[]:o;if(i.length>1)return!1;var u=i[0];return null==u||wv.isText(u)&&""===u.text},e.clear=function(){zv.delete(e,{at:{anchor:Kh.start(e,[]),focus:Kh.end(e,[])}}),0===e.children.length&&zv.insertNodes(e,[{type:"paragraph",children:[{text:""}]}])},e.getParentNode=function(t){return CB.getParentNode(e,t)},e.dangerouslyInsertHtml=function(t,r){if(void 0===t&&(t=""),void 0===r&&(r=!1),t){var n=document.createElement("div");n.innerHTML=t;var o=Array.from(n.childNodes);if(o=o.filter(function(t){var e=t.nodeName;return!!FP(t)||!!BP(t)&&!gN.has(e.toLowerCase())}),0!==o.length){var i=e.selection;if(null!=i){var u=null;CB.isSelectedEmptyParagraph(e)&&!r&&(u=[i.focus.path[0]]),n.setAttribute("hidden","true"),document.body.appendChild(n);var a=0;o.forEach(function(t,r){var n=t.nodeName,i=t.textContent,u=void 0===i?"":i;if(FP(t)){if(!u||!u.trim())return;e.insertNode({text:u})}else if("BR"!==n){var s=t,c=!1;if(qP.includes(n.toLowerCase()))c=!0;else for(var l in XP)if(s.matches(l)){c=!0;break}if(c){var f=eB(og(s),e);return Array.isArray(f)?(f.forEach(function(t){return TB(e,t)}),a+=1):(TB(e,f),a+=1),void(CB.isSelectedVoidNode(e)&&e.move(1))}var d=window.getComputedStyle(s).display;if(!CB.isSelectedEmptyParagraph(e)&&d.indexOf("inline")<0){if(r>=1)(function(t){return"matches"in t&&/^[ou]l$/i.test(t.tagName)&&!t.hasAttribute("data-w-e-type")})(o[r-1])&&e.insertBreak();e.insertBreak()}e.dangerouslyInsertHtml(s.innerHTML,!0)}else e.insertText("\n")}),a&&u&&CB.isEmptyPath(e,u)&&zv.removeNodes(e,{at:u}),n.remove()}}}},e.setHtml=function(t){void 0===t&&(t="");var r=e.isDisabled(),n=e.isFocused(),o=JSON.stringify(e.selection);e.enable(),e.focus(),e.clear();var i=nB(e,null==t?"":t);if(zv.insertFragment(e,i),n||(e.deselect(),e.blur()),r&&(e.deselect(),e.disable()),e.isFocused())try{e.select(JSON.parse(o))}catch(t){e.select(Kh.start(e,[]))}},e},gI=1,yI=function(t){var e=t;return e.id="wangEditor-".concat(gI++),e.isDestroyed=!1,e.isFullScreen=!1,e.focus=function(t){if(CB.toDOMNode(e,e).focus({preventScroll:!0}),nT.set(e,!0),t){var r=Kh.end(e,[]);zv.select(e,r)}else{var n=oT.get(e);n?zv.select(e,n):zv.select(e,Kh.start(e,[]))}},e.isFocused=function(){return!!nT.get(e)},e.blur=function(){CB.toDOMNode(e,e).blur(),zv.deselect(e),nT.set(e,!1)},e.updateView=function(){CB.getTextarea(e).changeViewState();var t=CB.getToolbar(e);t&&t.changeToolbarState();var r=CB.getHoverbar(e);r&&r.changeHoverbarState()},e.destroy=function(){if(!e.isDestroyed){var t=CB.getTextarea(e);t.destroy(),Fx.delete(e),Rx.delete(t);var r=CB.getToolbar(e);r&&(r.destroy(),_x.delete(e),Lx.delete(r));var n=CB.getHoverbar(e);n&&(n.destroy(),Mx.delete(e),jx.delete(n)),e.isDestroyed=!0,e.emit("destroyed")}},e.scrollToElem=function(t){if(!e.getConfig().scroll){var r="编辑器禁用了 scroll ,编辑器内容无法滚动,请自行实现该功能";return r+="\nYou has disabled editor scroll, please do this yourself",void console.warn(r)}var n=og("#".concat(t));if(0!==n.length){var o=n[0];if(!CB.hasDOMNode(e,o))return r="Element (found by id is '".concat(t,"') is not in editor DOM"),r+="\n 通过 id '".concat(t,"' 找到的 element 不在 editor DOM 之内"),void console.error(r,o);var i=CB.getTextarea(e),u=i.$textAreaContainer,a=i.$scroll,s=n.offset().top,c=u.offset().top;a[0].scrollBy({top:s-c,behavior:"smooth"})}},e.showProgressBar=function(t){t<1||CB.getTextarea(e).changeProgress(t)},e.hidePanelOrModal=function(){var t=Hx.get(e);null!=t&&t.forEach(function(t){return t.hide()})},e.enable=function(){e.getConfig().readOnly=!1,e.updateView()},e.disable=function(){e.getConfig().readOnly=!0,e.updateView()},e.isDisabled=function(){return e.getConfig().readOnly},e.toDOMNode=function(t){return CB.toDOMNode(e,t)},e.fullScreen=function(){if(!e.isFullScreen){var t=null,r=CB.getToolbar(e);r&&(t=r.$box);var n=CB.getTextarea(e).$box.parent();if(t&&t.parent()[0]!==n[0])throw new Error("Can not set full screen, cause toolbar DOM parent is not equal to textarea DOM parent\n不能设置全屏,因为 toolbar DOM 父节点和 textarea DOM 父节点不一致");n.addClass("w-e-full-screen-container");var o=n.css("z-index");n.attr("data-z-index",o.toString()),e.isFullScreen=!0,e.emit("fullScreen")}},e.unFullScreen=function(){if(e.isFullScreen){var t=CB.getTextarea(e).$box.parent();setTimeout(function(){t.removeClass("w-e-full-screen-container"),e.isFullScreen=!1,e.emit("unFullScreen")},200)}},e.getEditableContainer=function(){return CB.getTextarea(e).$textAreaContainer[0]},e},mI={exports:{}},bI={exports:{}};function EI(){return kB?NB:(kB=1,NB=function(t){return null!=t})}function wI(){if(jB)return _B;jB=1;var t=function(){if(LB)return RB;LB=1;var t=function(){if(FB)return IB;FB=1;var t=function(){if(BB)return PB;BB=1;var t=EI(),e={object:!0,function:!0,undefined:!0};return PB=function(r){return!!t(r)&&hasOwnProperty.call(e,typeof r)}}();return IB=function(e){if(!t(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(t){return!1}}}();return RB=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(t){return!1}return!t(e)}}(),e=/^\s*class[\s{/}]/,r=Function.prototype.toString;return _B=function(n){return!!t(n)&&!e.test(r.call(n))}}function SI(){if(WB)return GB;WB=1;var t=(VB?UB:(VB=1,UB=function(){}))();return GB=function(e){return e!==t&&null!==e},GB}function CI(){if(tI)return QB;tI=1;var t=(XB||(XB=1,YB=($B?HB:($B=1,HB=function(){try{return Object.keys("primitive"),!0}catch(t){return!1}}))()?Object.keys:function(){if(KB)return qB;KB=1;var t=SI(),e=Object.keys;return qB=function(r){return e(t(r)?Object(r):r)}}()),YB),e=function(){if(ZB)return JB;ZB=1;var t=SI();return JB=function(e){if(!t(e))throw new TypeError("Cannot use null or undefined");return e}}(),r=Math.max;return QB=function(n,o){var i,u,a,s=r(arguments.length,2);for(n=Object(e(n)),a=function(t){try{n[t]=o[t]}catch(t){i||(i=t)}},u=1;u<s;++u)t(o=arguments[u]).forEach(a);if(void 0!==i)throw i;return n},QB}function DI(){if(fI)return bI.exports;fI=1;var t=EI(),e=wI(),r=rI?eI:(rI=1,eI=(zB||(zB=1,MB=function(){var t,e=Object.assign;return"function"==typeof e&&(e(t={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),t.foo+t.bar+t.trzy==="razdwatrzy")}),MB)()?Object.assign:CI()),n=function(){if(oI)return nI;oI=1;var t=SI(),e=Array.prototype.forEach,r=Object.create;return nI=function(n){var o=r(null);return e.call(arguments,function(e){t(e)&&function(t,e){var r;for(r in t)e[r]=t[r]}(Object(e),o)}),o},nI}(),o=(lI||(lI=1,cI=function(){if(uI)return iI;uI=1;var t="razdwatrzy";return iI=function(){return"function"==typeof t.contains&&!0===t.contains("dwa")&&!1===t.contains("foo")}}()()?String.prototype.contains:function(){if(sI)return aI;sI=1;var t=String.prototype.indexOf;return aI=function(e){return t.call(this,e,arguments[1])>-1},aI}()),cI),i=bI.exports=function(e,i){var u,a,s,c,l;return arguments.length<2||"string"!=typeof e?(c=i,i=e,e=null):c=arguments[2],t(e)?(u=o.call(e,"c"),a=o.call(e,"e"),s=o.call(e,"w")):(u=s=!0,a=!1),l={value:i,configurable:u,enumerable:a,writable:s},c?r(n(c),l):l};return i.gs=function(i,u,a){var s,c,l,f;return"string"!=typeof i?(l=a,a=u,u=i,i=null):l=arguments[3],t(u)?e(u)?t(a)?e(a)||(l=a,a=void 0):a=void 0:(l=u,u=a=void 0):u=void 0,t(i)?(s=o.call(i,"c"),c=o.call(i,"e")):(s=!0,c=!1),f={get:u,set:a,configurable:s,enumerable:c},l?r(n(l),f):f},bI.exports}var OI=(hI||(hI=1,function(t,e){var r,n,o,i,u,a,s,c=DI(),l=pI?dI:(pI=1,dI=function(t){if("function"!=typeof t)throw new TypeError(t+" is not a function");return t}),f=Function.prototype.apply,d=Function.prototype.call,p=Object.create,h=Object.defineProperty,v=Object.defineProperties,g=Object.prototype.hasOwnProperty,y={configurable:!0,enumerable:!1,writable:!0};n=function(t,e){var n,i;return l(e),i=this,r.call(this,t,n=function(){o.call(i,t,n),f.call(e,this,arguments)}),n.__eeOnceListener__=e,this},i=function(t){var e,r,n,o,i;if(g.call(this,"__ee__")&&(o=this.__ee__[t]))if("object"==typeof o){for(r=arguments.length,i=new Array(r-1),e=1;e<r;++e)i[e-1]=arguments[e];for(o=o.slice(),e=0;n=o[e];++e)f.call(n,this,i)}else switch(arguments.length){case 1:d.call(o,this);break;case 2:d.call(o,this,arguments[1]);break;case 3:d.call(o,this,arguments[1],arguments[2]);break;default:for(r=arguments.length,i=new Array(r-1),e=1;e<r;++e)i[e-1]=arguments[e];f.call(o,this,i)}},u={on:r=function(t,e){var r;return l(e),g.call(this,"__ee__")?r=this.__ee__:(r=y.value=p(null),h(this,"__ee__",y),y.value=null),r[t]?"object"==typeof r[t]?r[t].push(e):r[t]=[r[t],e]:r[t]=e,this},once:n,off:o=function(t,e){var r,n,o,i;if(l(e),!g.call(this,"__ee__"))return this;if(!(r=this.__ee__)[t])return this;if("object"==typeof(n=r[t]))for(i=0;o=n[i];++i)o!==e&&o.__eeOnceListener__!==e||(2===n.length?r[t]=n[i?0:1]:n.splice(i,1));else n!==e&&n.__eeOnceListener__!==e||delete r[t];return this},emit:i},a={on:c(r),once:c(n),off:c(o),emit:c(i)},s=v({},a),t.exports=e=function(t){return null==t?p(s):v(Object(t),a)},e.methods=u}(mI,mI.exports)),mI.exports),AI=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}(OI);function xI(t){var e=iT.get(t);return null==e&&(e=AI(),iT.set(t,e)),e}var TI=new WeakMap;function NI(t,e){var r=TI.get(t);null==r&&(r=new Set,TI.set(t,r)),r.add(e)}var kI,PI=function(t){var e=t;return e.on=function(t,r){var n=xI(e);if(n.on(t,r),"destroyed"===t&&NI(e,r),"destroyed"!==t){var o=function(){return n.off(t,r)};n.on("destroyed",o),NI(e,o)}},e.once=function(t,r){xI(e).once(t,r)},e.off=function(t,r){xI(e).off(t,r)},e.emit=function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];var o=xI(e);if(o.emit.apply(o,NO([t],TO(r),!1)),"destroyed"===t){var i=function(t){return TI.get(t)||new Set}(e);i.forEach(function(t){return o.off("destroyed",t)}),function(t){TI.set(t,new Set)}(e)}},e},BI=function(t){var e=t;return e.setFragmentData=function(t){var r=e.selection;if(r){var n=TO(dv.edges(r),2),o=n[0],i=n[1],u=Kh.void(e,{at:o.path}),a=Kh.void(e,{at:i.path});if(!dv.isCollapsed(r)||u){var s=CB.toDOMRange(e,r),c=s.cloneContents(),l=c.childNodes[0];if(c.childNodes.forEach(function(t){t.textContent&&""!==t.textContent.trim()&&(l=t)}),a){var f=TO(a,1)[0],d=s.cloneRange(),p=CB.toDOMNode(e,f);d.setEndAfter(p),c=d.cloneContents()}if(u&&(l=c.querySelector("[data-slate-spacer]")),Array.from(c.querySelectorAll("[data-slate-zero-width]")).forEach(function(t){var e="n"===t.getAttribute("data-slate-zero-width");t.textContent=e?"\n":""}),FP(l)){var h=l.ownerDocument.createElement("span");h.style.whiteSpace="pre",h.appendChild(l),c.appendChild(h),l=h}var v=e.getFragment(),g=JSON.stringify(v),y=window.btoa(encodeURIComponent(g));l.setAttribute("data-slate-fragment",y),t.setData("application/x-slate-fragment",y);var m=c.ownerDocument.createElement("div");return m.appendChild(c),m.setAttribute("hidden","true"),c.ownerDocument.body.appendChild(m),t.setData("text/html",m.innerHTML),t.setData("text/plain",jP(m)),c.ownerDocument.body.removeChild(m),t}}},e.insertData=function(t){var r,n,o=t.getData("application/x-slate-fragment");if(o){var i=decodeURIComponent(window.atob(o)),u=JSON.parse(i);e.insertFragment(u)}else{var a=t.getData("text/plain"),s=t.getData("text/html");if(s)e.dangerouslyInsertHtml(s);else if(a){var c=a.split(/\n\r|\r\n|\r|\n/),l=!1;try{for(var f=xO(c),d=f.next();!d.done;d=f.next()){var p=d.value,h=CB.getLeftLengthOfMaxLength(e);l&&h>0&&zv.splitNodes(e,{always:!0}),e.insertText(p),l=!0}}catch(t){r={error:t}}finally{try{d&&!d.done&&(n=f.return)&&n.call(f)}finally{if(r)throw r.error}}}}},e},II={};!function(){if(kI)return II;kI=1;var t=ND(),e=kD(),r=RD(),n=Kw(),o=VC(),i=WC(),u=Ww(),a=BD(),s=_S(),c=_D(),l=Ex(),f=c("slice"),d=s("species"),p=Array,h=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,s){var c,f,v,g=u(this),y=i(g),m=o(t,y),b=o(void 0===s?y:s,y);if(e(g)&&(c=g.constructor,(r(c)&&(c===p||e(c.prototype))||n(c)&&null===(c=c[d]))&&(c=void 0),c===p||void 0===c))return l(g,m,b);for(f=new(void 0===c?p:c)(h(b-m,0)),v=0;m<b;m++,v++)m in g&&a(f,v,g[m]);return f.length=v,f}})}();var FI=function(t){var e=t,r=e.insertText,n=e.insertNode,o=e.insertFragment,i=e.dangerouslyInsertHtml;return e.insertText=function(t){if(e.getConfig().maxLength){var n=CB.getLeftLengthOfMaxLength(e);n<=0||(n<t.length?r(t.slice(0,n)):r(t))}else r(t)},e.insertNode=function(t){if(e.getConfig().maxLength){var r=CB.getLeftLengthOfMaxLength(e);r<=0||r<tv.string(t).length||n(t)}else n(t)},e.insertFragment=function(t){if(e.getConfig().maxLength){if(t.length>0){var r=t[0];if(CB.getLeftLengthOfMaxLength(e)<tv.string(r).length)return;o([r]);for(var n=1;n<t.length;n+=1)e.insertNode(t[n])}}else o(t)},e.dangerouslyInsertHtml=function(t,r){if(void 0===t&&(t=""),void 0===r&&(r=!1),t)if(e.getConfig().maxLength){var n=CB.getLeftLengthOfMaxLength(e);if(!(n<=0)){var o=document.createElement("div");o.innerHTML=t,n<Array.from(o.childNodes).reduce(function(t,e){var r=e.nodeName;return e?FP(e)?t+(e.textContent||""):BP(e)?gN.has(r.toLowerCase())?t:t+(e.textContent||""):t:t},"").length||i(t,r)}}else i(t,r)},e};function RI(t){var e=CB.getTextarea(t).$textAreaContainer,r=e.width(),n=e.height(),o=e.offset();return{top:o.top,left:o.left,width:r,height:n}}function LI(t){var e={top:"0",left:"0"},r=t.selection;if(null==r)return e;var n=RI(t);if(null==n)return e;var o=n.top,i=n.left,u=n.width,a=n.height,s=CB.toDOMRange(t,r).getClientRects(),c=s?s[0]:null;if(null==c)return e;var l={},f=c.top-o,d=c.left-i;if(d>u/2){var p=u-d;l.right="".concat(p+5,"px")}else l.left="".concat(d+5,"px");if(f>a/2){var h=a-f;l.bottom="".concat(h+5,"px")}else{var v=s[s.length-1],g=v.top-o+v.height;g<0&&(g=0),l.top="".concat(g+5,"px")}return l}function _I(t,e,r){void 0===r&&(r="modal");var n={top:"0",left:"0"};if(null==t.selection)return n;var o=$h.isElement(e)&&t.isVoid(e),i=$h.isElement(e)&&t.isInline(e),u=tT.get(e);if(null==u)return n;var a=u.getBoundingClientRect(),s=a.top,c=a.left,l=a.height,f=a.width;if(o){var d=function(t){var e=[];e.push(t);for(var r=0;e.length>0;){var n=e.pop();if(null==n)break;if((r+=1)>1e4)break;var o=n.nodeName;if(n.nodeType===AP.ELEMENT_NODE){var i=o.toLowerCase();if(ok.includes(i)||"iframe"===i||"video"===i)return n;var u=n.children||[],a=u.length;if(a)for(var s=a-1;s>=0;s-=1)e.push(u[s])}}return null}(u);if(null!=d){var p=d.getBoundingClientRect();s=p.top,l=p.height}}var h=RI(t);if(null==h)return n;var v=h.top,g=h.left,y=h.width,m=h.height,b={},E=s-v,w=c-g;if("bar"===r)return b.left="".concat(w,"px"),E>40?b.bottom="".concat(m-E+5,"px"):b.top="".concat(E+l+5,"px"),b;if("modal"===r){if(o?i?w>(y-f)/2?b.right="".concat(y-w+5,"px"):b.left="".concat(w+f+5,"px"):b.left="20px":b.left="".concat(w,"px"),o)(S=E)<0&&(S=0),b.top="".concat(S,"px");else if(E>(m-l)/2)b.bottom="".concat(m-E+5,"px");else{var S;(S=E+l)<0&&(S=0),b.top="".concat(S+5,"px")}return b}throw new Error("type '".concat(r,"' is invalid"))}function jI(t,e){OP(function(){var r=RI(t);if(null!=r){var n,o=r.top,i=r.left,u=r.width,a=r.height,s=e.offset(),c=s.top,l=s.left,f=e.width(),d=e.height(),p=c-o,h=l-i,v=e.attr("style");if(v.indexOf("top")>=0&&(n=p+d-a)>0){var g=e.css("top"),y=parseInt(g.toString(),10)-n;y<0&&(y=0),e.css("top","".concat(y,"px"))}if(v.indexOf("bottom")>=0&&c<0){var m=e.css("bottom"),b=parseInt(m.toString(),10)-Math.abs(c);e.css("bottom","".concat(b,"px"))}if(v.indexOf("left")>=0&&(n=h+f-u)>0){var E=e.css("left"),w=parseInt(E.toString(),10)-n;w<0&&(w=0),e.css("left","".concat(w,"px"))}if(v.indexOf("right")>=0&&l<0){var S=e.css("right"),C=parseInt(S.toString(),10)-Math.abs(l);e.css("right","".concat(C,"px"))}}})}var MI,zI=function(t){var e=t;return e.select=function(t){zv.select(e,t)},e.deselect=function(){var r=e.selection,n=CB.findDocumentOrShadowRoot(e).getSelection();n&&n.rangeCount>0&&n.removeAllRanges(),r&&zv.deselect(t)},e.move=function(e,r){void 0===r&&(r=!1),e&&(e<0||zv.move(t,{distance:e,unit:"character",reverse:r}))},e.moveReverse=function(t){e.move(t,!0)},e.restoreSelection=function(){var t=oT.get(e);null!=t&&(e.focus(),zv.select(e,t))},e.getSelectionPosition=function(){return LI(e)},e.getNodePosition=function(t){return _I(e,t)},e.isSelectedAll=function(){var t=e.selection;if(null==t)return!1;var r=TO(dv.edges(t),2),n=r[0],o=r[1],i=TO(Kh.edges(e,[]),2),u=i[0],a=i[1];return!(!sv.equals(n,u)||!sv.equals(o,a))},e.selectAll=function(){var t=Kh.start(e,[]),r=Kh.end(e,[]);zv.select(e,{anchor:t,focus:r})},e},HI={};!function(){if(MI)return HI;MI=1;var t=XE(),e=Hw(),r=LN(),n=ZS(),o=Kw(),i=GC(),u=IA(),a=Gw(),s=oS(),c=jN(),l=EP(),f=MN(),d=e("".indexOf);r("match",function(e,r,p){return[function(r){var n=a(this),i=o(r)?s(r,e):void 0;return i?t(i,r,n):new RegExp(r)[e](u(n))},function(t){var e=n(this),o=u(t),a=p(r,e,o);if(a.done)return a.value;var s=u(l(e));if(-1===d(s,"g"))return f(e,o);var h=-1!==d(s,"u");e.lastIndex=0;for(var v,g=[],y=0;null!==(v=f(e,o));){var m=u(v[0]);g[y]=m,""===m&&(e.lastIndex=c(o,i(e.lastIndex),h)),y++}return 0===y?null:g}]})}();const $I=t=>"string"==typeof t,UI=()=>{let t,e;const r=new Promise((r,n)=>{t=r,e=n});return r.resolve=t,r.reject=e,r},VI=t=>null==t?"":""+t,GI=/###/g,WI=t=>t&&t.indexOf("###")>-1?t.replace(GI,"."):t,qI=t=>!t||$I(t),KI=(t,e,r)=>{const n=$I(e)?e.split("."):e;let o=0;for(;o<n.length-1;){if(qI(t))return{};const e=WI(n[o]);!t[e]&&r&&(t[e]=new r),t=Object.prototype.hasOwnProperty.call(t,e)?t[e]:{},++o}return qI(t)?{}:{obj:t,k:WI(n[o])}},YI=(t,e,r)=>{const{obj:n,k:o}=KI(t,e,Object);if(void 0!==n||1===e.length)return void(n[o]=r);let i=e[e.length-1],u=e.slice(0,e.length-1),a=KI(t,u,Object);for(;void 0===a.obj&&u.length;)i=`${u[u.length-1]}.${i}`,u=u.slice(0,u.length-1),a=KI(t,u,Object),a&&a.obj&&void 0!==a.obj[`${a.k}.${i}`]&&(a.obj=void 0);a.obj[`${a.k}.${i}`]=r},XI=(t,e)=>{const{obj:r,k:n}=KI(t,e);if(r)return r[n]},JI=(t,e,r)=>{for(const n in e)"__proto__"!==n&&"constructor"!==n&&(n in t?$I(t[n])||t[n]instanceof String||$I(e[n])||e[n]instanceof String?r&&(t[n]=e[n]):JI(t[n],e[n],r):t[n]=e[n]);return t},ZI=t=>t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var QI={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const tF=t=>$I(t)?t.replace(/[&<>"'\/]/g,t=>QI[t]):t,eF=[" ",",","?","!",";"],rF=new class{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const e=this.regExpMap.get(t);if(void 0!==e)return e;const r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}}(20),nF=function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!t)return;if(t[e])return t[e];const n=e.split(r);let o=t;for(let t=0;t<n.length;){if(!o||"object"!=typeof o)return;let e,i="";for(let u=t;u<n.length;++u)if(u!==t&&(i+=r),i+=n[u],e=o[i],void 0!==e){if(["string","number","boolean"].indexOf(typeof e)>-1&&u<n.length-1)continue;t+=u-t+1;break}o=e}return o},oF=t=>t&&t.replace("_","-"),iF={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,e){console&&console[t]&&console[t].apply(console,e)}};var uF=new class t{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(t,e)}init(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=e.prefix||"i18next:",this.logger=t||iF,this.options=e,this.debug=e.debug}log(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.forward(e,"log","",!0)}warn(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.forward(e,"warn","",!0)}error(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.forward(e,"error","")}deprecate(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(t,e,r,n){return n&&!this.debug?null:($I(t[0])&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[e](t))}create(e){return new t(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new t(this.logger,e)}};let aF=class{constructor(){this.observers={}}on(t,e){return t.split(" ").forEach(t=>{this.observers[t]||(this.observers[t]=new Map);const r=this.observers[t].get(e)||0;this.observers[t].set(e,r+1)}),this}off(t,e){this.observers[t]&&(e?this.observers[t].delete(e):delete this.observers[t])}emit(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(t=>{let[e,n]=t;for(let t=0;t<n;t++)e(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(e=>{let[n,o]=e;for(let e=0;e<o;e++)n.apply(n,[t,...r])})}},sF=class extends aF{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=e,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const e=this.options.ns.indexOf(t);e>-1&&this.options.ns.splice(e,1)}getResource(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,i=void 0!==n.ignoreJSONStructure?n.ignoreJSONStructure:this.options.ignoreJSONStructure;let u;t.indexOf(".")>-1?u=t.split("."):(u=[t,e],r&&(Array.isArray(r)?u.push(...r):$I(r)&&o?u.push(...r.split(o)):u.push(r)));const a=XI(this.data,u);return!a&&!e&&!r&&t.indexOf(".")>-1&&(t=u[0],e=u[1],r=u.slice(2).join(".")),!a&&i&&$I(r)?nF(this.data&&this.data[t]&&this.data[t][e],r,o):a}addResource(t,e,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1};const i=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator;let u=[t,e];r&&(u=u.concat(i?r.split(i):r)),t.indexOf(".")>-1&&(u=t.split("."),n=e,e=u[1]),this.addNamespaces(e),YI(this.data,u,n),o.silent||this.emit("added",t,e,r,n)}addResources(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(const n in r)($I(r[n])||Array.isArray(r[n]))&&this.addResource(t,e,n,r[n],{silent:!0});n.silent||this.emit("added",t,e,r)}addResourceBundle(t,e,r,n,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},u=[t,e];t.indexOf(".")>-1&&(u=t.split("."),n=r,r=e,e=u[1]),this.addNamespaces(e);let a=XI(this.data,u)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),n?JI(a,r,o):a={...a,...r},YI(this.data,u,a),i.silent||this.emit("added",t,e,r)}removeResourceBundle(t,e){this.hasResourceBundle(t,e)&&delete this.data[t][e],this.removeNamespaces(e),this.emit("removed",t,e)}hasResourceBundle(t,e){return void 0!==this.getResource(t,e)}getResourceBundle(t,e){return e||(e=this.options.defaultNS),"v1"===this.options.compatibilityAPI?{...this.getResource(t,e)}:this.getResource(t,e)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const e=this.getDataByLanguage(t);return!!(e&&Object.keys(e)||[]).find(t=>e[t]&&Object.keys(e[t]).length>0)}toJSON(){return this.data}};var cF={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,e,r,n,o){return t.forEach(t=>{this.processors[t]&&(e=this.processors[t].process(e,r,n,o))}),e}};const lF={};let fF=class t extends aF{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),((t,e,r)=>{["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach(t=>{e[t]&&(r[t]=e[t])})})(0,t,this),this.options=e,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=uF.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==t)return!1;const r=this.resolve(t,e);return r&&void 0!==r.res}extractFromKey(t,e){let r=void 0!==e.nsSeparator?e.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");const n=void 0!==e.keySeparator?e.keySeparator:this.options.keySeparator;let o=e.ns||this.options.defaultNS||[];const i=r&&t.indexOf(r)>-1,u=!(this.options.userDefinedKeySeparator||e.keySeparator||this.options.userDefinedNsSeparator||e.nsSeparator||((t,e,r)=>{e=e||"",r=r||"";const n=eF.filter(t=>e.indexOf(t)<0&&r.indexOf(t)<0);if(0===n.length)return!0;const o=rF.getRegExp(`(${n.map(t=>"?"===t?"\\?":t).join("|")})`);let i=!o.test(t);if(!i){const e=t.indexOf(r);e>0&&!o.test(t.substring(0,e))&&(i=!0)}return i})(t,r,n));if(i&&!u){const e=t.match(this.interpolator.nestingRegexp);if(e&&e.length>0)return{key:t,namespaces:$I(o)?[o]:o};const i=t.split(r);(r!==n||r===n&&this.options.ns.indexOf(i[0])>-1)&&(o=i.shift()),t=i.join(n)}return{key:t,namespaces:$I(o)?[o]:o}}translate(e,r,n){if("object"!=typeof r&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof r&&(r={...r}),r||(r={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);const o=void 0!==r.returnDetails?r.returnDetails:this.options.returnDetails,i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,{key:u,namespaces:a}=this.extractFromKey(e[e.length-1],r),s=a[a.length-1],c=r.lng||this.language,l=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase()){if(l){const t=r.nsSeparator||this.options.nsSeparator;return o?{res:`${s}${t}${u}`,usedKey:u,exactUsedKey:u,usedLng:c,usedNS:s,usedParams:this.getUsedParamsDetails(r)}:`${s}${t}${u}`}return o?{res:u,usedKey:u,exactUsedKey:u,usedLng:c,usedNS:s,usedParams:this.getUsedParamsDetails(r)}:u}const f=this.resolve(e,r);let d=f&&f.res;const p=f&&f.usedKey||u,h=f&&f.exactUsedKey||u,v=Object.prototype.toString.apply(d),g=void 0!==r.joinArrays?r.joinArrays:this.options.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,m=!$I(d)&&"boolean"!=typeof d&&"number"!=typeof d;if(!(y&&d&&m&&["[object Number]","[object Function]","[object RegExp]"].indexOf(v)<0)||$I(g)&&Array.isArray(d))if(y&&$I(g)&&Array.isArray(d))d=d.join(g),d&&(d=this.extendTranslation(d,e,r,n));else{let o=!1,a=!1;const l=void 0!==r.count&&!$I(r.count),p=t.hasDefaultValue(r),h=l?this.pluralResolver.getSuffix(c,r.count,r):"",v=r.ordinal&&l?this.pluralResolver.getSuffix(c,r.count,{ordinal:!1}):"",g=l&&!r.ordinal&&0===r.count&&this.pluralResolver.shouldUseIntlApi(),y=g&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${h}`]||r[`defaultValue${v}`]||r.defaultValue;!this.isValidLookup(d)&&p&&(o=!0,d=y),this.isValidLookup(d)||(a=!0,d=u);const m=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&a?void 0:d,b=p&&y!==d&&this.options.updateMissing;if(a||o||b){if(this.logger.log(b?"updateKey":"missingKey",c,s,u,b?y:d),i){const t=this.resolve(u,{...r,keySeparator:!1});t&&t.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.")}let t=[];const e=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if("fallback"===this.options.saveMissingTo&&e&&e[0])for(let r=0;r<e.length;r++)t.push(e[r]);else"all"===this.options.saveMissingTo?t=this.languageUtils.toResolveHierarchy(r.lng||this.language):t.push(r.lng||this.language);const n=(t,e,n)=>{const o=p&&n!==d?n:m;this.options.missingKeyHandler?this.options.missingKeyHandler(t,s,e,o,b,r):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(t,s,e,o,b,r),this.emit("missingKey",t,s,e,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&l?t.forEach(t=>{const e=this.pluralResolver.getSuffixes(t,r);g&&r[`defaultValue${this.options.pluralSeparator}zero`]&&e.indexOf(`${this.options.pluralSeparator}zero`)<0&&e.push(`${this.options.pluralSeparator}zero`),e.forEach(e=>{n([t],u+e,r[`defaultValue${e}`]||y)})}):n(t,u,y))}d=this.extendTranslation(d,e,r,f,n),a&&d===u&&this.options.appendNamespaceToMissingKey&&(d=`${s}:${u}`),(a||o)&&this.options.parseMissingKeyHandler&&(d="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${s}:${u}`:u,o?d:void 0):this.options.parseMissingKeyHandler(d))}else{if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const t=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,d,{...r,ns:a}):`key '${u} (${this.language})' returned an object instead of string.`;return o?(f.res=t,f.usedParams=this.getUsedParamsDetails(r),f):t}if(i){const t=Array.isArray(d),e=t?[]:{},n=t?h:p;for(const t in d)if(Object.prototype.hasOwnProperty.call(d,t)){const o=`${n}${i}${t}`;e[t]=this.translate(o,{...r,joinArrays:!1,ns:a}),e[t]===o&&(e[t]=d[t])}d=e}}return o?(f.res=d,f.usedParams=this.getUsedParamsDetails(r),f):d}extendTranslation(t,e,r,n,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const u=$I(t)&&(r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let a;if(u){const e=t.match(this.interpolator.nestingRegexp);a=e&&e.length}let s=r.replace&&!$I(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),t=this.interpolator.interpolate(t,s,r.lng||this.language||n.usedLng,r),u){const e=t.match(this.interpolator.nestingRegexp);a<(e&&e.length)&&(r.nest=!1)}!r.lng&&"v1"!==this.options.compatibilityAPI&&n&&n.res&&(r.lng=this.language||n.usedLng),!1!==r.nest&&(t=this.interpolator.nest(t,function(){for(var t=arguments.length,n=new Array(t),u=0;u<t;u++)n[u]=arguments[u];return o&&o[0]===n[0]&&!r.context?(i.logger.warn(`It seems you are nesting recursively key: ${n[0]} in key: ${e[0]}`),null):i.translate(...n,e)},r)),r.interpolation&&this.interpolator.reset()}const u=r.postProcess||this.options.postProcess,a=$I(u)?[u]:u;return null!=t&&a&&a.length&&!1!==r.applyPostProcessor&&(t=cF.handle(a,t,e,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...n,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),t}resolve(t){let e,r,n,o,i,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return $I(t)&&(t=[t]),t.forEach(t=>{if(this.isValidLookup(e))return;const a=this.extractFromKey(t,u),s=a.key;r=s;let c=a.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const l=void 0!==u.count&&!$I(u.count),f=l&&!u.ordinal&&0===u.count&&this.pluralResolver.shouldUseIntlApi(),d=void 0!==u.context&&($I(u.context)||"number"==typeof u.context)&&""!==u.context,p=u.lngs?u.lngs:this.languageUtils.toResolveHierarchy(u.lng||this.language,u.fallbackLng);c.forEach(t=>{this.isValidLookup(e)||(i=t,!lF[`${p[0]}-${t}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(i)&&(lF[`${p[0]}-${t}`]=!0,this.logger.warn(`key "${r}" for languages "${p.join(", ")}" won't get resolved as namespace "${i}" 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!!!")),p.forEach(r=>{if(this.isValidLookup(e))return;o=r;const i=[s];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(i,s,r,t,u);else{let t;l&&(t=this.pluralResolver.getSuffix(r,u.count,u));const e=`${this.options.pluralSeparator}zero`,n=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(l&&(i.push(s+t),u.ordinal&&0===t.indexOf(n)&&i.push(s+t.replace(n,this.options.pluralSeparator)),f&&i.push(s+e)),d){const r=`${s}${this.options.contextSeparator}${u.context}`;i.push(r),l&&(i.push(r+t),u.ordinal&&0===t.indexOf(n)&&i.push(r+t.replace(n,this.options.pluralSeparator)),f&&i.push(r+e))}}let a;for(;a=i.pop();)this.isValidLookup(e)||(n=a,e=this.getResource(r,t,a,u))}))})}),{res:e,usedKey:r,exactUsedKey:n,usedLng:o,usedNS:i}}isValidLookup(t){return!(void 0===t||!this.options.returnNull&&null===t||!this.options.returnEmptyString&&""===t)}getResource(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,e,r,n):this.resourceStore.getResource(t,e,r,n)}getUsedParamsDetails(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const e=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=t.replace&&!$I(t.replace);let n=r?t.replace:t;if(r&&void 0!==t.count&&(n.count=t.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!r){n={...n};for(const t of e)delete n[t]}return n}static hasDefaultValue(t){for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)&&"defaultValue"===e.substring(0,12)&&void 0!==t[e])return!0;return!1}};const dF=t=>t.charAt(0).toUpperCase()+t.slice(1);let pF=class{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=uF.create("languageUtils")}getScriptPartFromCode(t){if(!(t=oF(t))||t.indexOf("-")<0)return null;const e=t.split("-");return 2===e.length?null:(e.pop(),"x"===e[e.length-1].toLowerCase()?null:this.formatLanguageCode(e.join("-")))}getLanguagePartFromCode(t){if(!(t=oF(t))||t.indexOf("-")<0)return t;const e=t.split("-");return this.formatLanguageCode(e[0])}formatLanguageCode(t){if($I(t)&&t.indexOf("-")>-1){if("undefined"!=typeof Intl&&void 0!==Intl.getCanonicalLocales)try{let e=Intl.getCanonicalLocales(t)[0];if(e&&this.options.lowerCaseLng&&(e=e.toLowerCase()),e)return e}catch(t){}const e=["hans","hant","latn","cyrl","cans","mong","arab"];let r=t.split("-");return this.options.lowerCaseLng?r=r.map(t=>t.toLowerCase()):2===r.length?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),e.indexOf(r[1].toLowerCase())>-1&&(r[1]=dF(r[1].toLowerCase()))):3===r.length&&(r[0]=r[0].toLowerCase(),2===r[1].length&&(r[1]=r[1].toUpperCase()),"sgn"!==r[0]&&2===r[2].length&&(r[2]=r[2].toUpperCase()),e.indexOf(r[1].toLowerCase())>-1&&(r[1]=dF(r[1].toLowerCase())),e.indexOf(r[2].toLowerCase())>-1&&(r[2]=dF(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let e;return t.forEach(t=>{if(e)return;const r=this.formatLanguageCode(t);this.options.supportedLngs&&!this.isSupportedCode(r)||(e=r)}),!e&&this.options.supportedLngs&&t.forEach(t=>{if(e)return;const r=this.getLanguagePartFromCode(t);if(this.isSupportedCode(r))return e=r;e=this.options.supportedLngs.find(t=>t===r?t:t.indexOf("-")<0&&r.indexOf("-")<0?void 0:t.indexOf("-")>0&&r.indexOf("-")<0&&t.substring(0,t.indexOf("-"))===r||0===t.indexOf(r)&&r.length>1?t:void 0)}),e||(e=this.getFallbackCodes(this.options.fallbackLng)[0]),e}getFallbackCodes(t,e){if(!t)return[];if("function"==typeof t&&(t=t(e)),$I(t)&&(t=[t]),Array.isArray(t))return t;if(!e)return t.default||[];let r=t[e];return r||(r=t[this.getScriptPartFromCode(e)]),r||(r=t[this.formatLanguageCode(e)]),r||(r=t[this.getLanguagePartFromCode(e)]),r||(r=t.default),r||[]}toResolveHierarchy(t,e){const r=this.getFallbackCodes(e||this.options.fallbackLng||[],t),n=[],o=t=>{t&&(this.isSupportedCode(t)?n.push(t):this.logger.warn(`rejecting language code not found in supportedLngs: ${t}`))};return $I(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(t)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(t)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(t))):$I(t)&&o(this.formatLanguageCode(t)),r.forEach(t=>{n.indexOf(t)<0&&o(this.formatLanguageCode(t))}),n}},hF=[{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}],vF={1:t=>Number(t>1),2:t=>Number(1!=t),3:t=>0,4:t=>Number(t%10==1&&t%100!=11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2),5:t=>Number(0==t?0:1==t?1:2==t?2:t%100>=3&&t%100<=10?3:t%100>=11?4:5),6:t=>Number(1==t?0:t>=2&&t<=4?1:2),7:t=>Number(1==t?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2),8:t=>Number(1==t?0:2==t?1:8!=t&&11!=t?2:3),9:t=>Number(t>=2),10:t=>Number(1==t?0:2==t?1:t<7?2:t<11?3:4),11:t=>Number(1==t||11==t?0:2==t||12==t?1:t>2&&t<20?2:3),12:t=>Number(t%10!=1||t%100==11),13:t=>Number(0!==t),14:t=>Number(1==t?0:2==t?1:3==t?2:3),15:t=>Number(t%10==1&&t%100!=11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2),16:t=>Number(t%10==1&&t%100!=11?0:0!==t?1:2),17:t=>Number(1==t||t%10==1&&t%100!=11?0:1),18:t=>Number(0==t?0:1==t?1:2),19:t=>Number(1==t?0:0==t||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3),20:t=>Number(1==t?0:0==t||t%100>0&&t%100<20?1:2),21:t=>Number(t%100==1?1:t%100==2?2:t%100==3||t%100==4?3:0),22:t=>Number(1==t?0:2==t?1:(t<0||t>10)&&t%10==0?2:3)};const gF=["v1","v2","v3"],yF=["v4"],mF={zero:0,one:1,two:2,few:3,many:4,other:5};let bF=class{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=t,this.options=e,this.logger=uF.create("pluralResolver"),this.options.compatibilityJSON&&!yF.includes(this.options.compatibilityJSON)||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(()=>{const t={};return hF.forEach(e=>{e.lngs.forEach(r=>{t[r]={numbers:e.nr,plurals:vF[e.fc]}})}),t})(),this.pluralRulesCache={}}addRule(t,e){this.rules[t]=e}clearCache(){this.pluralRulesCache={}}getRule(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi()){const r=oF("dev"===t?"en":t),n=e.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:r,type:n});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let i;try{i=new Intl.PluralRules(r,{type:n})}catch(r){if(!t.match(/-|_/))return;const n=this.languageUtils.getLanguagePartFromCode(t);i=this.getRule(n,e)}return this.pluralRulesCache[o]=i,i}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=this.getRule(t,e);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(t,r).map(t=>`${e}${t}`)}getSuffixes(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const r=this.getRule(t,e);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((t,e)=>mF[t]-mF[e]).map(t=>`${this.options.prepend}${e.ordinal?`ordinal${this.options.prepend}`:""}${t}`):r.numbers.map(r=>this.getSuffix(t,r,e)):[]}getSuffix(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=this.getRule(t,r);return n?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${n.select(e)}`:this.getSuffixRetroCompatible(n,e):(this.logger.warn(`no plural rule found for: ${t}`),"")}getSuffixRetroCompatible(t,e){const r=t.noAbs?t.plurals(e):t.plurals(Math.abs(e));let n=t.numbers[r];this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]&&(2===n?n="plural":1===n&&(n=""));const o=()=>this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString();return"v1"===this.options.compatibilityJSON?1===n?"":"number"==typeof n?`_plural_${n.toString()}`:o():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===t.numbers.length&&1===t.numbers[0]?o():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}shouldUseIntlApi(){return!gF.includes(this.options.compatibilityJSON)}};const EF=function(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=((t,e,r)=>{const n=XI(t,r);return void 0!==n?n:XI(e,r)})(t,e,r);return!i&&o&&$I(r)&&(i=nF(t,r,n),void 0===i&&(i=nF(e,r,n))),i},wF=t=>t.replace(/\$/g,"$$$$");let SF=class{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=uF.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(t=>t),this.init(t)}init(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const{escape:e,escapeValue:r,useRawValueToEscape:n,prefix:o,prefixEscaped:i,suffix:u,suffixEscaped:a,formatSeparator:s,unescapeSuffix:c,unescapePrefix:l,nestingPrefix:f,nestingPrefixEscaped:d,nestingSuffix:p,nestingSuffixEscaped:h,nestingOptionsSeparator:v,maxReplaces:g,alwaysFormat:y}=t.interpolation;this.escape=void 0!==e?e:tF,this.escapeValue=void 0===r||r,this.useRawValueToEscape=void 0!==n&&n,this.prefix=o?ZI(o):i||"{{",this.suffix=u?ZI(u):a||"}}",this.formatSeparator=s||",",this.unescapePrefix=c?"":l||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=f?ZI(f):d||ZI("$t("),this.nestingSuffix=p?ZI(p):h||ZI(")"),this.nestingOptionsSeparator=v||",",this.maxReplaces=g||1e3,this.alwaysFormat=void 0!==y&&y,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(t,e)=>t&&t.source===e?(t.lastIndex=0,t):new RegExp(e,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,e,r,n){let o,i,u;const a=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},s=t=>{if(t.indexOf(this.formatSeparator)<0){const o=EF(e,a,t,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(o,void 0,r,{...n,...e,interpolationkey:t}):o}const o=t.split(this.formatSeparator),i=o.shift().trim(),u=o.join(this.formatSeparator).trim();return this.format(EF(e,a,i,this.options.keySeparator,this.options.ignoreJSONStructure),u,r,{...n,...e,interpolationkey:i})};this.resetRegExp();const c=n&&n.missingInterpolationHandler||this.options.missingInterpolationHandler,l=n&&n.interpolation&&void 0!==n.interpolation.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables,f=[{regex:this.regexpUnescape,safeValue:t=>wF(t)},{regex:this.regexp,safeValue:t=>this.escapeValue?wF(this.escape(t)):wF(t)}];return f.forEach(e=>{for(u=0;o=e.regex.exec(t);){const r=o[1].trim();if(i=s(r),void 0===i)if("function"==typeof c){const e=c(t,o,n);i=$I(e)?e:""}else if(n&&Object.prototype.hasOwnProperty.call(n,r))i="";else{if(l){i=o[0];continue}this.logger.warn(`missed to pass in variable ${r} for interpolating ${t}`),i=""}else $I(i)||this.useRawValueToEscape||(i=VI(i));const a=e.safeValue(i);if(t=t.replace(o[0],a),l?(e.regex.lastIndex+=i.length,e.regex.lastIndex-=o[0].length):e.regex.lastIndex=0,u++,u>=this.maxReplaces)break}}),t}nest(t,e){let r,n,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const u=(t,e)=>{const r=this.nestingOptionsSeparator;if(t.indexOf(r)<0)return t;const n=t.split(new RegExp(`${r}[ ]*{`));let i=`{${n[1]}`;t=n[0],i=this.interpolate(i,o);const u=i.match(/'/g),a=i.match(/"/g);(u&&u.length%2==0&&!a||a.length%2!=0)&&(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),e&&(o={...e,...o})}catch(e){return this.logger.warn(`failed parsing options string in nesting for key ${t}`,e),`${t}${r}${i}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,t};for(;r=this.nestingRegexp.exec(t);){let a=[];o={...i},o=o.replace&&!$I(o.replace)?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let s=!1;if(-1!==r[0].indexOf(this.formatSeparator)&&!/{.*}/.test(r[1])){const t=r[1].split(this.formatSeparator).map(t=>t.trim());r[1]=t.shift(),a=t,s=!0}if(n=e(u.call(this,r[1].trim(),o),o),n&&r[0]===t&&!$I(n))return n;$I(n)||(n=VI(n)),n||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${t}`),n=""),s&&(n=a.reduce((t,e)=>this.format(t,e,i.lng,{...i,interpolationkey:r[1].trim()}),n.trim())),t=t.replace(r[0],n),this.regexp.lastIndex=0}return t}};const CF=t=>{const e={};return(r,n,o)=>{let i=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(i={...i,[o.interpolationkey]:void 0});const u=n+JSON.stringify(i);let a=e[u];return a||(a=t(oF(n),o),e[u]=a),a(r)}};let DF=class{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=uF.create("formatter"),this.options=t,this.formats={number:CF((t,e)=>{const r=new Intl.NumberFormat(t,{...e});return t=>r.format(t)}),currency:CF((t,e)=>{const r=new Intl.NumberFormat(t,{...e,style:"currency"});return t=>r.format(t)}),datetime:CF((t,e)=>{const r=new Intl.DateTimeFormat(t,{...e});return t=>r.format(t)}),relativetime:CF((t,e)=>{const r=new Intl.RelativeTimeFormat(t,{...e});return t=>r.format(t,e.range||"day")}),list:CF((t,e)=>{const r=new Intl.ListFormat(t,{...e});return t=>r.format(t)})},this.init(t)}init(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};this.formatSeparator=e.interpolation.formatSeparator||","}add(t,e){this.formats[t.toLowerCase().trim()]=e}addCached(t,e){this.formats[t.toLowerCase().trim()]=CF(e)}format(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};const o=e.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(t=>t.indexOf(")")>-1)){const t=o.findIndex(t=>t.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,t)].join(this.formatSeparator)}const i=o.reduce((t,e)=>{const{formatName:o,formatOptions:i}=(t=>{let e=t.toLowerCase().trim();const r={};if(t.indexOf("(")>-1){const n=t.split("(");e=n[0].toLowerCase().trim();const o=n[1].substring(0,n[1].length-1);"currency"===e&&o.indexOf(":")<0?r.currency||(r.currency=o.trim()):"relativetime"===e&&o.indexOf(":")<0?r.range||(r.range=o.trim()):o.split(";").forEach(t=>{if(t){const[e,...n]=t.split(":"),o=n.join(":").trim().replace(/^'+|'+$/g,""),i=e.trim();r[i]||(r[i]=o),"false"===o&&(r[i]=!1),"true"===o&&(r[i]=!0),isNaN(o)||(r[i]=parseInt(o,10))}})}return{formatName:e,formatOptions:r}})(e);if(this.formats[o]){let e=t;try{const u=n&&n.formatParams&&n.formatParams[n.interpolationkey]||{},a=u.locale||u.lng||n.locale||n.lng||r;e=this.formats[o](t,a,{...i,...n,...u})}catch(t){this.logger.warn(t)}return e}return this.logger.warn(`there was no format function for ${o}`),t},t);return i}},OF=class extends aF{constructor(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=t,this.store=e,this.services=r,this.languageUtils=r.languageUtils,this.options=n,this.logger=uF.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,n.backend,n)}queueLoad(t,e,r,n){const o={},i={},u={},a={};return t.forEach(t=>{let n=!0;e.forEach(e=>{const u=`${t}|${e}`;!r.reload&&this.store.hasResourceBundle(t,e)?this.state[u]=2:this.state[u]<0||(1===this.state[u]?void 0===i[u]&&(i[u]=!0):(this.state[u]=1,n=!1,void 0===i[u]&&(i[u]=!0),void 0===o[u]&&(o[u]=!0),void 0===a[e]&&(a[e]=!0)))}),n||(u[t]=!0)}),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(u),toLoadNamespaces:Object.keys(a)}}loaded(t,e,r){const n=t.split("|"),o=n[0],i=n[1];e&&this.emit("failedLoading",o,i,e),!e&&r&&this.store.addResourceBundle(o,i,r,void 0,void 0,{skipCopy:!0}),this.state[t]=e?-1:2,e&&r&&(this.state[t]=0);const u={};this.queue.forEach(r=>{((t,e,r)=>{const{obj:n,k:o}=KI(t,e,Object);n[o]=n[o]||[],n[o].push(r)})(r.loaded,[o],i),((t,e)=>{void 0!==t.pending[e]&&(delete t.pending[e],t.pendingCount--)})(r,t),e&&r.errors.push(e),0!==r.pendingCount||r.done||(Object.keys(r.loaded).forEach(t=>{u[t]||(u[t]={});const e=r.loaded[t];e.length&&e.forEach(e=>{void 0===u[t][e]&&(u[t][e]=!0)})}),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())}),this.emit("loaded",u),this.queue=this.queue.filter(t=>!t.done)}read(t,e,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!t.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:t,ns:e,fcName:r,tried:n,wait:o,callback:i});this.readingCalls++;const u=(u,a)=>{if(this.readingCalls--,this.waitingReads.length>0){const t=this.waitingReads.shift();this.read(t.lng,t.ns,t.fcName,t.tried,t.wait,t.callback)}u&&a&&n<this.maxRetries?setTimeout(()=>{this.read.call(this,t,e,r,n+1,2*o,i)},o):i(u,a)},a=this.backend[r].bind(this.backend);if(2!==a.length)return a(t,e,u);try{const r=a(t,e);r&&"function"==typeof r.then?r.then(t=>u(null,t)).catch(u):u(null,r)}catch(t){u(t)}}prepareLoading(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=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."),n&&n();$I(t)&&(t=this.languageUtils.toResolveHierarchy(t)),$I(e)&&(e=[e]);const o=this.queueLoad(t,e,r,n);if(!o.toLoad.length)return o.pending.length||n(),null;o.toLoad.forEach(t=>{this.loadOne(t)})}load(t,e,r){this.prepareLoading(t,e,{},r)}reload(t,e,r){this.prepareLoading(t,e,{reload:!0},r)}loadOne(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const r=t.split("|"),n=r[0],o=r[1];this.read(n,o,"read",void 0,void 0,(r,i)=>{r&&this.logger.warn(`${e}loading namespace ${o} for language ${n} failed`,r),!r&&i&&this.logger.log(`${e}loaded namespace ${o} for language ${n}`,i),this.loaded(t,r,i)})}saveMissing(t,e,r,n,o){let i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},u=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(e))this.logger.warn(`did not save key "${r}" as the namespace "${e}" 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!!!");else if(null!=r&&""!==r){if(this.backend&&this.backend.create){const a={...i,isUpdate:o},s=this.backend.create.bind(this.backend);if(s.length<6)try{let o;o=5===s.length?s(t,e,r,n,a):s(t,e,r,n),o&&"function"==typeof o.then?o.then(t=>u(null,t)).catch(u):u(null,o)}catch(t){u(t)}else s(t,e,r,n,u,a)}t&&t[0]&&this.store.addResource(t[0],e,r,n)}}};const AF=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!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:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:t=>{let e={};if("object"==typeof t[1]&&(e=t[1]),$I(t[1])&&(e.defaultValue=t[1]),$I(t[2])&&(e.tDescription=t[2]),"object"==typeof t[2]||"object"==typeof t[3]){const r=t[3]||t[2];Object.keys(r).forEach(t=>{e[t]=r[t]})}return e},interpolation:{escapeValue:!0,format:t=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),xF=t=>($I(t.ns)&&(t.ns=[t.ns]),$I(t.fallbackLng)&&(t.fallbackLng=[t.fallbackLng]),$I(t.fallbackNS)&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs&&t.supportedLngs.indexOf("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),t),TF=()=>{};let NF=class t extends aF{constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;var r;if(super(),this.options=xF(t),this.services={},this.logger=uF,this.modules={external:[]},r=this,Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach(t=>{"function"==typeof r[t]&&(r[t]=r[t].bind(r))}),e&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,e),this;setTimeout(()=>{this.init(t,e)},0)}}init(){var t=this;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof e&&(r=e,e={}),!e.defaultNS&&!1!==e.defaultNS&&e.ns&&($I(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const n=AF();this.options={...n,...this.options,...xF(e)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...n.interpolation,...this.options.interpolation}),void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator);const o=t=>t?"function"==typeof t?new t:t:null;if(!this.options.isClone){let e;this.modules.logger?uF.init(o(this.modules.logger),this.options):uF.init(null,this.options),this.modules.formatter?e=this.modules.formatter:"undefined"!=typeof Intl&&(e=DF);const r=new pF(this.options);this.store=new sF(this.options.resources,this.options);const i=this.services;i.logger=uF,i.resourceStore=this.store,i.languageUtils=r,i.pluralResolver=new bF(r,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),!e||this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format||(i.formatter=o(e),i.formatter.init(i,this.options),this.options.interpolation.format=i.formatter.format.bind(i.formatter)),i.interpolator=new SF(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new OF(o(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];t.emit(e,...n)}),this.modules.languageDetector&&(i.languageDetector=o(this.modules.languageDetector),i.languageDetector.init&&i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=o(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new fF(this.services,this.options),this.translator.on("*",function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];t.emit(e,...n)}),this.modules.external.forEach(t=>{t.init&&t.init(this)})}if(this.format=this.options.interpolation.format,r||(r=TF),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const t=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);t.length>0&&"dev"!==t[0]&&(this.options.lng=t[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=function(){return t.store[e](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=function(){return t.store[e](...arguments),t}});const i=UI(),u=()=>{const t=(t,e)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),i.resolve(e),r(t,e)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return t(null,this.t.bind(this));this.changeLanguage(this.options.lng,t)};return this.options.resources||!this.options.initImmediate?u():setTimeout(u,0),i}loadResources(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:TF;const r=$I(t)?t:this.language;if("function"==typeof t&&(e=t),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return e();const t=[],n=e=>{e&&"cimode"!==e&&this.services.languageUtils.toResolveHierarchy(e).forEach(e=>{"cimode"!==e&&t.indexOf(e)<0&&t.push(e)})};r?n(r):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(t=>n(t)),this.options.preload&&this.options.preload.forEach(t=>n(t)),this.services.backendConnector.load(t,this.options.ns,t=>{t||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),e(t)})}else e(null)}reloadResources(t,e,r){const n=UI();return"function"==typeof t&&(r=t,t=void 0),"function"==typeof e&&(r=e,e=void 0),t||(t=this.languages),e||(e=this.options.ns),r||(r=TF),this.services.backendConnector.reload(t,e,t=>{n.resolve(),r(t)}),n}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===t.type&&(this.modules.backend=t),("logger"===t.type||t.log&&t.warn&&t.error)&&(this.modules.logger=t),"languageDetector"===t.type&&(this.modules.languageDetector=t),"i18nFormat"===t.type&&(this.modules.i18nFormat=t),"postProcessor"===t.type&&cF.addPostProcessor(t),"formatter"===t.type&&(this.modules.formatter=t),"3rdParty"===t.type&&this.modules.external.push(t),this}setResolvedLanguage(t){if(t&&this.languages&&!(["cimode","dev"].indexOf(t)>-1))for(let t=0;t<this.languages.length;t++){const e=this.languages[t];if(!(["cimode","dev"].indexOf(e)>-1)&&this.store.hasLanguageSomeTranslations(e)){this.resolvedLanguage=e;break}}}changeLanguage(t,e){var r=this;this.isLanguageChangingTo=t;const n=UI();this.emit("languageChanging",t);const o=t=>{this.language=t,this.languages=this.services.languageUtils.toResolveHierarchy(t),this.resolvedLanguage=void 0,this.setResolvedLanguage(t)},i=(t,i)=>{i?(o(i),this.translator.changeLanguage(i),this.isLanguageChangingTo=void 0,this.emit("languageChanged",i),this.logger.log("languageChanged",i)):this.isLanguageChangingTo=void 0,n.resolve(function(){return r.t(...arguments)}),e&&e(t,function(){return r.t(...arguments)})},u=e=>{t||e||!this.services.languageDetector||(e=[]);const r=$I(e)?e:this.services.languageUtils.getBestMatchFromCodes(e);r&&(this.language||o(r),this.translator.language||this.translator.changeLanguage(r),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(r)),this.loadResources(r,t=>{i(t,r)})};return t||!this.services.languageDetector||this.services.languageDetector.async?!t&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(u):this.services.languageDetector.detect(u):u(t):u(this.services.languageDetector.detect()),n}getFixedT(t,e,r){var n=this;const o=function(t,e){let i;if("object"!=typeof e){for(var u=arguments.length,a=new Array(u>2?u-2:0),s=2;s<u;s++)a[s-2]=arguments[s];i=n.options.overloadTranslationOptionHandler([t,e].concat(a))}else i={...e};i.lng=i.lng||o.lng,i.lngs=i.lngs||o.lngs,i.ns=i.ns||o.ns,""!==i.keyPrefix&&(i.keyPrefix=i.keyPrefix||r||o.keyPrefix);const c=n.options.keySeparator||".";let l;return l=i.keyPrefix&&Array.isArray(t)?t.map(t=>`${i.keyPrefix}${c}${t}`):i.keyPrefix?`${i.keyPrefix}${c}${t}`:t,n.t(l,i)};return $I(t)?o.lng=t:o.lngs=t,o.ns=e,o.keyPrefix=r,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let e=arguments.length>1&&void 0!==arguments[1]?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;const r=e.lng||this.resolvedLanguage||this.languages[0],n=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;const i=(t,e)=>{const r=this.services.backendConnector.state[`${t}|${e}`];return-1===r||0===r||2===r};if(e.precheck){const t=e.precheck(this,i);if(void 0!==t)return t}return!(!this.hasResourceBundle(r,t)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!i(r,t)||n&&!i(o,t)))}loadNamespaces(t,e){const r=UI();return this.options.ns?($I(t)&&(t=[t]),t.forEach(t=>{this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}),this.loadResources(t=>{r.resolve(),e&&e(t)}),r):(e&&e(),Promise.resolve())}loadLanguages(t,e){const r=UI();$I(t)&&(t=[t]);const n=this.options.preload||[],o=t.filter(t=>n.indexOf(t)<0&&this.services.languageUtils.isSupportedCode(t));return o.length?(this.options.preload=n.concat(o),this.loadResources(t=>{r.resolve(),e&&e(t)}),r):(e&&e(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const e=this.services&&this.services.languageUtils||new pF(AF());return["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","ckb"].indexOf(e.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){return new t(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:TF;const n=e.forkResourceStore;n&&delete e.forkResourceStore;const o={...this.options,...e,isClone:!0},i=new t(o);return void 0===e.debug&&void 0===e.prefix||(i.logger=i.logger.clone(e)),["store","services","language"].forEach(t=>{i[t]=this[t]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n&&(i.store=new sF(this.store.data,o),i.services.resourceStore=i.store),i.translator=new fF(i.services,o),i.translator.on("*",function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];i.emit(t,...r)}),i.init(o,r),i.translator.options=o,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}};const kF=NF.createInstance();kF.createInstance=NF.createInstance,kF.createInstance,kF.dir,kF.init,kF.loadResources,kF.reloadResources,kF.use,kF.changeLanguage,kF.getFixedT,kF.t,kF.exists,kF.setDefaultNamespace,kF.hasLoadedNamespace,kF.loadNamespaces,kF.loadLanguages;var PF="translation";function BF(t,e){kF.addResourceBundle(t,PF,e,!0,!0)}function IF(t){kF.changeLanguage(t)}function FF(t){return kF.getResourceBundle(t,PF)}function RF(t){return kF.on("languageChanged",t),function(){return kF.off("languageChanged",t)}}kF.init({lng:"zh-CN",resources:{}});var LF=kF.t.bind(kF);function _F(t){if(t.removeAttr){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&&_F(e)}}function jF(){return og('<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 MF(){return og('<div class="w-e-bar-divider"></div>')}function zF(t,e,r,n,o){if(void 0===n&&(n=""),void 0===o&&(o=!1),e){if(n){var i=gB?"cmd":"ctrl";n=n.replace("mod",i)}if(o)n&&(t.attr("data-tooltip",n),t.addClass("w-e-menu-tooltip-v5"),t.addClass("tooltip-right"));else{var u=n?"".concat(r,"\n").concat(n):r;t.attr("data-tooltip",u),t.addClass("w-e-menu-tooltip-v5")}}}var HF=function(){function t(t,e,r){void 0===r&&(r=!1);var n=this;this.$elem=og('<div class="w-e-bar-item"></div>'),this.$button=og('<button type="button"></button>'),this.disabled=!1,this.menu=e;var o=e.tag,i=e.width;if("button"!==o)throw new Error("Invalid tag '".concat(o,"', expected 'button'"));var u=e.title,a=e.hotkey,s=void 0===a?"":a,c=e.iconSvg,l=void 0===c?"":c,f=this.$button;if(l){var d=og(l);_F(d),f.append(d)}else f.text(u);zF(f,l,u,s,r),r&&l&&f.append(og('<span class="title">'.concat(u,"</span>"))),i&&f.css("width","".concat(i,"px")),f.attr("data-menu-key",t),this.$elem.append(f),OP(function(){return n.init()})}return t.prototype.init=function(){var t=this;this.setActive(),this.setDisabled(),this.$button.on("click",function(e){e.preventDefault(),eR(t).hidePanelOrModal(),t.disabled||(t.exec(),t.onButtonClick())})},t.prototype.exec=function(){var t=eR(this),e=this.menu,r=e.getValue(t);this.setIcon(),this.setTooltip(),e.exec(t,r)},t.prototype.setActive=function(){var t=eR(this),e=this.$button,r="active";this.menu.isActive(t)?e.addClass(r):e.removeClass(r)},t.prototype.setDisabled=function(){var t=eR(this),e=this.$button,r=this.menu.isDisabled(t);(null==t.selection||t.isDisabled())&&(r=!0),this.menu.alwaysEnable&&(r=!1);var n="disabled";r?e.addClass(n):e.removeClass(n),this.disabled=r},t.prototype.setIcon=function(){var t=eR(this),e=this.$button;if(this.menu.getIcon){var r=this.menu.getIcon(t);if(r){e.find("svg").remove();var n=og(r);_F(n),e.append(n)}}},t.prototype.setTooltip=function(){var t=eR(this),e=this.$button;if(this.menu.getTitle){var r=this.menu.getTitle(t),n=this.menu.iconSvg;r&&n&&zF(e,n,r)}},t.prototype.changeMenuState=function(){this.setActive(),this.setDisabled()},t}(),$F=function(t){function e(e,r,n){return void 0===n&&(n=!1),t.call(this,e,r,n)||this}return DO(e,t),e.prototype.onButtonClick=function(){},e}(HF),UF=function(){function t(t){this.isShow=!1,this.showTime=0,this.record(t)}return t.prototype.record=function(t){var e=Hx.get(t);null==e&&(e=new Set,Hx.set(t,e)),e.add(this),$x.set(this,t)},t.prototype.renderContent=function(t){var e=this.$elem;e.empty(),e.append(t);var r=this.genSelfElem();r&&e.append(r)},t.prototype.appendTo=function(t){var e=this.$elem;t.append(e)},t.prototype.show=function(){if(!this.isShow){this.showTime=Date.now(),this.$elem.show(),this.isShow=!0;var t=$x.get(this);t&&t.emit("modalOrPanelShow",this)}},t.prototype.hide=function(){if(this.isShow&&!(Date.now()-this.showTime<200)){this.$elem.hide(),this.isShow=!1;var t=$x.get(this);t&&t.emit("modalOrPanelHide")}},t}(),VF=function(t){function e(e){var r=t.call(this,e)||this;return r.type="dropPanel",r.$elem=og('<div class="w-e-drop-panel"></div>'),r}return DO(e,t),e.prototype.genSelfElem=function(){return null},e}(UF),GF=function(t){function e(e,r,n){void 0===n&&(n=!1);var o=t.call(this,e,r,n)||this;if(o.dropPanel=null,o.menu=r,r.showDropPanel){var i=jF();o.$button.append(i)}return o}return DO(e,t),e.prototype.onButtonClick=function(){this.menu.showDropPanel&&this.handleDropPanel()},e.prototype.handleDropPanel=function(){var t=this.menu;if(null!=t.getPanelContentElem){var e=eR(this);if(null==this.dropPanel){var r=new VF(e),n=t.getPanelContentElem(e);r.renderContent(n),r.appendTo(this.$elem),r.show(),this.dropPanel=r}else{var o=this.dropPanel;o.isShow?o.hide():(n=t.getPanelContentElem(e),o.renderContent(n),o.show())}var i=this.dropPanel;if(i.isShow){var u=this.$elem,a=u.offset().left,s=u.parents(".w-e-bar");a-s.offset().left>=s.width()/2?i.$elem.css({left:"none",right:"0"}):i.$elem.css({left:"0",right:"none"})}}},e}(HF),WF=function(t){function e(e,r){void 0===r&&(r=0);var n=t.call(this,e)||this;n.type="modal",n.$elem=og('<div class="w-e-modal"></div>'),n.width=0,r&&(n.width=r);var o=n.$elem;return o.on("click",function(t){return t.stopPropagation()}),o.on("keyup",function(t){"Escape"===t.code&&(n.hide(),e.restoreSelection())}),n}return DO(e,t),e.prototype.genSelfElem=function(){var t=this,e=og('<span class="btn-close">'.concat('<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>")),r=$x.get(this);return e.on("click",function(){t.hide(),null==r||r.restoreSelection()}),e},e.prototype.setStyle=function(t){var e=this.width,r=this.$elem;r.attr("style",""),e&&r.css("width","".concat(e,"px")),r.css(t)},e}(UF);function qF(t,e,r){var n=og('<label class="babel-container"></label>');n.append("<span>".concat(t,"</span>"));var o=og('<input type="text" id="'.concat(e,'" placeholder="').concat(r||"",'">'));return n.append(o),[n[0],o[0]]}function KF(t,e,r){var n=og('<label class="babel-container"></label>');n.append("<span>".concat(t,"</span>"));var o=og('<textarea type="text" id="'.concat(e,'" placeholder="').concat(r||"",'"></textarea>'));return n.append(o),[n[0],o[0]]}function YF(t,e){var r=og('<div class="button-container"></div>'),n=og('<button type="button" id="'.concat(t,'">').concat(e,"</button>"));return r.append(n),[r[0],n[0]]}var XF=function(t){function e(e,r,n){void 0===n&&(n=!1);var o=t.call(this,e,r,n)||this;return o.$body=og("body"),o.modal=null,o.menu=r,o}return DO(e,t),e.prototype.onButtonClick=function(){this.menu.showModal&&this.handleModal()},e.prototype.getPosition=function(){var t=eR(this),e=this.menu.getModalPositionNode(t);return $h.isElement(e)?_I(t,e,"modal"):LI(t)},e.prototype.handleModal=function(){var t=eR(this),e=this.menu;if(null==this.modal){var r=new WF(t,e.modalWidth);this.renderAndShowModal(r,!0),this.modal=r}else(r=this.modal).isShow?r.hide():this.renderAndShowModal(r,!1)},e.prototype.renderAndShowModal=function(t,e){void 0===e&&(e=!1);var r=eR(this),n=this.menu;if(null!=n.getModalContentElem){var o=CB.getTextarea(r),i=CB.getToolbar(r),u=((null==i?void 0:i.getConfig())||{}).modalAppendToBody,a=n.getModalContentElem(r);if(t.renderContent(a),u)t.setStyle({left:"0",right:"0"});else{var s=this.getPosition();t.setStyle(s)}e&&(u?t.appendTo(this.$body):t.appendTo(o.$textAreaContainer)),t.show(),u||jI(r,t.$elem),setTimeout(function(){r.blur()})}},e}(HF),JF=function(t){function e(e,r){var n=t.call(this,e)||this;return n.type="selectList",n.$elem=og('<div class="w-e-select-list"></div>'),r&&n.$elem.css("width","".concat(r,"px")),n.$elem.on("click",function(t){t.stopPropagation()}),n}return DO(e,t),e.prototype.renderList=function(t){var e=this.$elem;e.empty();var r=og("<ul></ul>");t.forEach(function(t){var e=t.value,n=t.text,o=t.selected,i=t.styleForRenderMenuList,u=og('<li data-value="'.concat(e,'"></li>'));if(i&&u.css(i),o){var a=og('<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>');u.append(a),u.addClass("selected")}u.append(og('<span data-value="'.concat(e,'">').concat(n,"</span>"))),u.attr("title",n),r.append(u)}),e.append(r)},e.prototype.genSelfElem=function(){return null},e}(UF),ZF=function(){function t(t,e,r){void 0===r&&(r=!1);var n=this;this.$elem=og('<div class="w-e-bar-item"></div>'),this.$button=og('<button type="button" class="select-button"></button>'),this.disabled=!1,this.selectList=null;var o=e.tag,i=e.title,u=e.width,a=e.iconSvg,s=void 0===a?"":a,c=e.hotkey,l=void 0===c?"":c;if("select"!==o)throw new Error("Invalid tag '".concat(o,"', expected 'select'"));var f=this.$button;u&&f.css("width","".concat(u,"px")),f.attr("data-menu-key",t),zF(f,s,i,l,r),this.$elem.append(f),this.menu=e,OP(function(){return n.init()})}return t.prototype.init=function(){var t=this;this.setSelectedValue(),this.$button.on("click",function(e){e.preventDefault(),eR(t).hidePanelOrModal(),t.trigger()})},t.prototype.trigger=function(){var t=this,e=eR(this);if(!e.isDisabled()&&!this.disabled){var r=this.menu;if(null==this.selectList){this.selectList=new JF(e,r.selectPanelWidth);var n=this.selectList,o=r.getOptions(e);n.renderList(o),n.appendTo(this.$elem),n.show(),n.$elem.on("click","li",function(e){var r=e.target;if(null!=r){e.preventDefault();var n=og(r).attr("data-value");t.onChange(n)}})}else(n=this.selectList).isShow?n.hide():(o=r.getOptions(e),n.renderList(o),n.show())}},t.prototype.onChange=function(t){var e=eR(this),r=this.menu;r.exec&&r.exec(e,t)},t.prototype.setSelectedValue=function(){var t=eR(this),e=this.menu,r=e.getValue(t),n=function(t,e){for(var r=t.length,n="",o=0;o<r;o++){var i=t[o];if(i.value===e){n=i.text;break}}return n}(e.getOptions(t),r.toString()),o=this.$button,i=jF();o.empty(),o.text(n),o.append(i)},t.prototype.setDisabled=function(){var t=eR(this),e=this.menu.isDisabled(t),r=this.$button;(null==t.selection||t.isDisabled())&&(e=!0);var n="disabled";e?r.addClass(n):r.removeClass(n),this.disabled=e},t.prototype.changeMenuState=function(){this.setSelectedValue(),this.setDisabled()},t}(),QF=function(){function t(t){this.$elem=og('<div class="w-e-bar-item w-e-bar-item-group"></div>'),this.$container=og('<div class="w-e-bar-item-menus-container"></div>'),this.$button=og('<button type="button"></button>');var e=t.key,r=t.iconSvg,n=t.title,o=this.$elem,i=this.$button;if(r){var u=og(r);_F(u),i.append(u)}else i.text(n);i.attr("data-menu-key",e);var a=jF();i.append(a),o.append(i);var s=this.$container;o.append(s);var c=this.createObserver();this.observe(c)}return t.prototype.appendBarItem=function(t){var e=t.$elem;this.$container.append(e)},t.prototype.observe=function(t){var e=this.$container;t.observe(e[0],{childList:!0,subtree:!0,attributes:!0})},t.prototype.createObserver=function(){var t=this,e=this.$container,r=this.$button,n=new MutationObserver(function(){var o=e.find("button"),i=o.length;if(0!==i){var u=0;o.each(function(t){og(t).hasClass("disabled")&&u++}),n.disconnect(),u===i?r.addClass("disabled"):r.removeClass("disabled"),t.observe(n)}});return n},t}(),tR=new WeakMap;function eR(t){var e=zx.get(t);if(null==e)throw new Error("Can not get editor instance");return e}function rR(t,e,r){void 0===r&&(r=!1);var n=tR.get(e);if(n)return n;var o=e.tag;if("button"===o){var i=e.showDropPanel,u=e.showModal;n=i?new GF(t,e,r):u?new XF(t,e,r):new $F(t,e,r)}if("select"===o&&(n=new ZF(t,e,r)),null==n)throw new Error("Invalid tag in menu ".concat(JSON.stringify(e)));return tR.set(e,n),n}function nR(t,e){var r=t.selection;return null!=r&&!dv.isCollapsed(r)&&!CB.getSelectedElems(t).some(function(e){if(t.isVoid(e))return!0;var r=e.type;return!!["pre","code","table"].includes(r)})&&!!wv.isText(e)}var oR,iR=function(){function t(){var t=this;this.$elem=og('<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.lngListen=function(){},this.changeHoverbarState=Kg(function(){var e=t.isShow,r=t.getSelectedNodeAndMenuKeys()||{},n=r.node,o=void 0===n?null:n,i=r.menuKeys,u=void 0===i?[]:i,a=t.getEditorInstance();if(null!=o&&t.changeItemsState(),o&&$h.isElement(o)&&e){var s=t.isSamePath(o,t.prevSelectedNode);if(!Kh.isBlock(a,o)&&s)return}t.hideAndClean(),null!=o&&(t.registerItems(u),t.setPosition(o),t.show()),t.prevSelectedNode=o},200),OP(function(){var e=t.getEditorInstance(),r=t.$elem;r.on("mousedown",function(t){return t.preventDefault()},{passive:!1}),CB.getTextarea(e).$textAreaContainer.append(r),e.on(BO,t.changeHoverbarState);var n=t.hideAndClean.bind(t);e.on(IO,n),e.on("fullscreen",n),e.on("unFullScreen",n)}),this.lngListen=RF(function(){t.menus={},t.hideAndClean(),t.getEditorInstance().deselect()})}return t.prototype.getMenus=function(){return this.menus},t.prototype.hideAndClean=function(){var t=this.$elem;t.removeClass("w-e-bar-show").addClass("w-e-bar-hidden"),this.hoverbarItems=[],t.empty(),this.isShow=!1},t.prototype.checkPositionBottom=function(){var t=this.$elem,e=!1,r="undefined"!=typeof window?window.innerHeight:null;r&&r>=360&&r-t[0].getBoundingClientRect().bottom<360&&(e=!0),e?t.addClass("w-e-bar-bottom"):t.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 t=this;OP(function(){t.hoverbarItems.forEach(function(t){t.changeMenuState()})})},t.prototype.registerItems=function(t){var e=this,r=this.$elem;t.forEach(function(t){if("|"!==t)e.registerSingleItem(t);else{var n=MF();r.append(n)}})},t.prototype.registerSingleItem=function(t){var e=this.getEditorInstance(),r=this.menus,n=r[t];if(null==n){var o=FO[t];if(null==o)throw new Error("Not found menu item factory by key '".concat(t,"'"));if("function"!=typeof o)throw new Error("Menu item factory (key='".concat(t,"') is not a function"));n=o(),r[t]=n}var i=e.getMenuConfig(t);i&&void 0!==i.iconSvg&&(n.iconSvg=i.iconSvg);var u=rR(t,n);this.hoverbarItems.push(u),zx.set(u,e),this.$elem.append(u.$elem)},t.prototype.setPosition=function(t){var e=this.getEditorInstance(),r=this.$elem;if(r.attr("style",""),$h.isElement(t)){var n=_I(e,t,"bar");return r.css(n),void jI(e,r)}if(wv.isText(t))return n=LI(e),r.css(n),void jI(e,r);throw new Error("hoverbar.setPosition error, current selected node is not elem nor text")},t.prototype.getSelectedNodeAndMenuKeys=function(){var t=this.getEditorInstance();if(null==t.selection)return null;var e=this.getHoverbarKeysConf(),r=null,n=[],o=function(o){var i=e[o],u=i.match,a=i.menuKeys,s=void 0===a?[]:a,c=u||function(t,e){return CB.checkNodeType(e,o)},l=TO(Kh.nodes(t,{match:function(e){return c(t,e)},universal:!0}),1),f=l[0];if(null!=f)return r=f[0],n=s,"break"};for(var i in e)if("break"===o(i))break;return null==r||0===n.length?null:{node:r,menuKeys:n}},t.prototype.getEditorInstance=function(){var t=jx.get(this);if(null==t)throw new Error("Can not get editor instance");return t},t.prototype.getHoverbarKeysConf=function(){var t=this.getEditorInstance().getConfig().hoverbarKeys,e=void 0===t?{}:t,r=e.text;return r&&null==r.match&&(r.match=nR),e},t.prototype.isSamePath=function(t,e){if(null==t||null==e)return!1;var r=CB.findPath(null,t),n=CB.findPath(null,e);return ov.equals(r,n)},t.prototype.destroy=function(){var t;this.changeHoverbarState.cancel(),this.$elem.remove(),null===(t=this.lngListen)||void 0===t||t.call(this),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null},t}(),uR={};function aR(t,e){return kP(e)&&CB.hasDOMNode(t,e,{editable:!0})}function sR(t,e){if(t.getConfig().readOnly)return!1;var r=cR(t,e)&&CB.toSlateNode(t,e);return Kh.isVoid(t,r)}function cR(t,e){return kP(e)&&CB.hasDOMNode(t,e)}!function(){if(oR)return uR;oR=1;var t,e=ND(),r=fO(),n=$S().f,o=GC(),i=IA(),u=kT(),a=Gw(),s=PT(),c=kS(),l=r("".slice),f=Math.min,d=s("startsWith");e({target:"String",proto:!0,forced:!(!c&&!d&&(t=n(String.prototype,"startsWith"),t&&!t.writable)||d)},{startsWith:function(t){var e=i(a(this));u(t);var r=o(f(arguments.length>1?arguments[1]:void 0,e.length)),n=i(t);return l(e,r,r+n.length)===n}})}();const lR=t=>"object"==typeof t&&null!=t&&1===t.nodeType,fR=(t,e)=>(!e||"hidden"!==t)&&"visible"!==t&&"clip"!==t,dR=(t,e)=>{if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){const r=getComputedStyle(t,null);return fR(r.overflowY,e)||fR(r.overflowX,e)||(t=>{const e=(t=>{if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}})(t);return!!e&&(e.clientHeight<t.scrollHeight||e.clientWidth<t.scrollWidth)})(t)}return!1},pR=(t,e,r,n,o,i,u,a)=>i<t&&u>e||i>t&&u<e?0:i<=t&&a<=r||u>=e&&a>=r?i-t-n:u>e&&a<r||i<t&&a>r?u-e+o:0,hR=t=>{const e=t.parentElement;return null==e?t.getRootNode().host||null:e},vR=(t,e)=>{var r,n,o,i;if("undefined"==typeof document)return[];const{scrollMode:u,block:a,inline:s,boundary:c,skipOverflowHiddenElements:l}=e,f="function"==typeof c?c:t=>t!==c;if(!lR(t))throw new TypeError("Invalid target");const d=document.scrollingElement||document.documentElement,p=[];let h=t;for(;lR(h)&&f(h);){if(h=hR(h),h===d){p.push(h);break}null!=h&&h===document.body&&dR(h)&&!dR(document.documentElement)||null!=h&&dR(h,l)&&p.push(h)}const v=null!=(n=null==(r=window.visualViewport)?void 0:r.width)?n:innerWidth,g=null!=(i=null==(o=window.visualViewport)?void 0:o.height)?i:innerHeight,{scrollX:y,scrollY:m}=window,{height:b,width:E,top:w,right:S,bottom:C,left:D}=t.getBoundingClientRect(),{top:O,right:A,bottom:x,left:T}=(t=>{const e=window.getComputedStyle(t);return{top:parseFloat(e.scrollMarginTop)||0,right:parseFloat(e.scrollMarginRight)||0,bottom:parseFloat(e.scrollMarginBottom)||0,left:parseFloat(e.scrollMarginLeft)||0}})(t);let N="start"===a||"nearest"===a?w-O:"end"===a?C+x:w+b/2-O+x,k="center"===s?D+E/2-T+A:"end"===s?S+A:D-T;const P=[];for(let t=0;t<p.length;t++){const e=p[t],{height:r,width:n,top:o,right:i,bottom:c,left:l}=e.getBoundingClientRect();if("if-needed"===u&&w>=0&&D>=0&&C<=g&&S<=v&&(e===d&&!dR(e)||w>=o&&C<=c&&D>=l&&S<=i))return P;const f=getComputedStyle(e),h=parseInt(f.borderLeftWidth,10),O=parseInt(f.borderTopWidth,10),A=parseInt(f.borderRightWidth,10),x=parseInt(f.borderBottomWidth,10);let T=0,B=0;const I="offsetWidth"in e?e.offsetWidth-e.clientWidth-h-A:0,F="offsetHeight"in e?e.offsetHeight-e.clientHeight-O-x:0,R="offsetWidth"in e?0===e.offsetWidth?0:n/e.offsetWidth:0,L="offsetHeight"in e?0===e.offsetHeight?0:r/e.offsetHeight:0;if(d===e)T="start"===a?N:"end"===a?N-g:"nearest"===a?pR(m,m+g,g,O,x,m+N,m+N+b,b):N-g/2,B="start"===s?k:"center"===s?k-v/2:"end"===s?k-v:pR(y,y+v,v,h,A,y+k,y+k+E,E),T=Math.max(0,T+m),B=Math.max(0,B+y);else{T="start"===a?N-o-O:"end"===a?N-c+x+F:"nearest"===a?pR(o,c,r,O,x+F,N,N+b,b):N-(o+r/2)+F/2,B="start"===s?k-l-h:"center"===s?k-(l+n/2)+I/2:"end"===s?k-i+A+I:pR(l,i,n,h,A+I,k,k+E,E);const{scrollLeft:t,scrollTop:u}=e;T=0===L?0:Math.max(0,Math.min(u+T/L,e.scrollHeight-r/L+F)),B=0===R?0:Math.max(0,Math.min(t+B/R,e.scrollWidth-n/R+I)),N+=u-T,k+=t-B}P.push({el:e,top:T,left:B})}return P};function gR(t,e,r){void 0===r&&(r=!1);var n=e.selection,o=e.getConfig(),i=CB.findDocumentOrShadowRoot(e).getSelection();if(i&&(!t.isComposing||r)&&e.isFocused()){var u="None"!==i.type;if(n||u){var a=Jx.get(e),s=!1;if(a.contains(i.anchorNode)&&a.contains(i.focusNode)&&(s=!0),u&&s&&n){var c=CB.toSlateRange(e,i,{exactMatch:!0,suppressThrow:!0});if(c&&dv.equals(c,n)){var l=!0;if(dv.isCollapsed(n)){var f=i.anchorNode,d=i.anchorOffset;if(f===a){var p=a.childNodes,h=void 0;(h=p[d])&&h.matches("table")&&(l=!1),(h=p[d-1])&&h.matches("table")&&(l=!1)}}if(l)return}}if(!n||CB.hasRange(e,n)){t.isUpdatingSelection=!0;var v=n&&CB.toDOMRange(e,n);if(v){dv.isBackward(n)?i.setBaseAndExtent(v.endContainer,v.endOffset,v.startContainer,v.startOffset):i.setBaseAndExtent(v.startContainer,v.startOffset,v.endContainer,v.endOffset);var g=v.startContainer.parentElement;if(!g.closest("[data-slate-spacer]")&&v.getBoundingClientRect){g.getBoundingClientRect=v.getBoundingClientRect.bind(v);var y=document.body;(function(t,e){if(!t.isConnected||!(t=>{let e=t;for(;e&&e.parentNode;){if(e.parentNode===document)return!0;e=e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}return!1})(t))return;const r=(t=>{const e=window.getComputedStyle(t);return{top:parseFloat(e.scrollMarginTop)||0,right:parseFloat(e.scrollMarginRight)||0,bottom:parseFloat(e.scrollMarginBottom)||0,left:parseFloat(e.scrollMarginLeft)||0}})(t);if((t=>"object"==typeof t&&"function"==typeof t.behavior)(e))return e.behavior(vR(t,e));const n="boolean"==typeof e||null==e?void 0:e.behavior;for(const{el:o,top:i,left:u}of vR(t,(t=>!1===t?{block:"end",inline:"nearest"}:(t=>t===Object(t)&&0!==Object.keys(t).length)(t)?t:{block:"start",inline:"nearest"})(e))){const t=i-r.top+r.bottom,e=u-r.left+r.right;o.scroll({top:t,left:e,behavior:n})}})(g,{scrollMode:"if-needed",boundary:o.scroll?a.parentElement:y,block:"end",behavior:"smooth"}),delete g.getBoundingClientRect}}else i.removeAllRanges();setTimeout(function(){v&&yB&&a.focus(),t.isUpdatingSelection=!1})}else e.selection=CB.toSlateRange(e,i,{exactMatch:!1,suppressThrow:!1})}}}var yR=new WeakMap,mR=new WeakMap,bR={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"},ER={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"},wR={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},SR=function(t){var e=bR[t],r=ER[t],n=wR[t],o=e&&Qg.isKeyHotkey(e),i=r&&Qg.isKeyHotkey(r),u=n&&Qg.isKeyHotkey(n);return function(t){return!(!o||!o(t))||!!(gB&&i&&i(t))||!(gB||!u||!u(t))}},CR={isBold:SR("bold"),isCompose:SR("compose"),isMoveBackward:SR("moveBackward"),isMoveForward:SR("moveForward"),isDeleteBackward:SR("deleteBackward"),isDeleteForward:SR("deleteForward"),isDeleteLineBackward:SR("deleteLineBackward"),isDeleteLineForward:SR("deleteLineForward"),isDeleteWordBackward:SR("deleteWordBackward"),isDeleteWordForward:SR("deleteWordForward"),isExtendBackward:SR("extendBackward"),isExtendForward:SR("extendForward"),isExtendLineBackward:SR("extendLineBackward"),isExtendLineForward:SR("extendLineForward"),isItalic:SR("italic"),isMoveLineBackward:SR("moveLineBackward"),isMoveLineForward:SR("moveLineForward"),isMoveWordBackward:SR("moveWordBackward"),isMoveWordForward:SR("moveWordForward"),isRedo:SR("redo"),isSplitBlock:SR("splitBlock"),isTransposeCharacter:SR("transposeCharacter"),isUndo:SR("undo"),isTab:SR("tab"),isSelectAll:SR("selectAll")};function DR(t){t.preventDefault()}var OR,AR,xR,TR={beforeinput:function(t,e,r){var n=t,o=r.getConfig().readOnly;if(SB&&!o&&aR(r,n.target)){var i=r.selection,u=n.inputType,a=n.dataTransfer||n.data||void 0;if("insertCompositionText"!==u&&"deleteCompositionText"!==u){if(n.preventDefault(),!u.startsWith("delete")||u.startsWith("deleteBy")){var s=TO(n.getTargetRanges(),1)[0];if(s){var c=CB.toSlateRange(r,s,{exactMatch:!1,suppressThrow:!1});i&&dv.equals(i,c)||zv.select(r,c)}}if(i&&dv.isExpanded(i)){var l=CB.getSelectedElems(r),f="table"===l[0].type,d="table-cell"!==l[l.length-1].type;if(f&&d)return;if(u.startsWith("delete")){var p=u.endsWith("Backward")?"backward":"forward";return void Kh.deleteFragment(r,{direction:p})}}switch(u){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":Kh.deleteFragment(r);break;case"deleteContent":case"deleteContentForward":Kh.deleteForward(r);break;case"deleteContentBackward":Kh.deleteBackward(r);break;case"deleteEntireSoftLine":Kh.deleteBackward(r,{unit:"line"}),Kh.deleteForward(r,{unit:"line"});break;case"deleteHardLineBackward":Kh.deleteBackward(r,{unit:"block"});break;case"deleteSoftLineBackward":Kh.deleteBackward(r,{unit:"line"});break;case"deleteHardLineForward":Kh.deleteForward(r,{unit:"block"});break;case"deleteSoftLineForward":Kh.deleteForward(r,{unit:"line"});break;case"deleteWordBackward":Kh.deleteBackward(r,{unit:"word"});break;case"deleteWordForward":Kh.deleteForward(r,{unit:"word"});break;case"insertLineBreak":case"insertParagraph":Kh.insertBreak(r);break;case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if("insertFromPaste"===u&&!uT.get(r))break;!function(t){return"[object DataTransfer]"===xP(t)}(a)?"string"==typeof a&&Kh.insertText(r,a):r.insertData(a)}}}},blur:function(t,e,r){var n=t,o=e.isUpdatingSelection,i=e.latestElement;if(!r.getConfig().readOnly&&!o&&aR(r,n.target)){var u=CB.findDocumentOrShadowRoot(r);if(i!==u.activeElement){var a=n.relatedTarget;if(!(a===CB.toDOMNode(r,r)||BP(a)&&a.hasAttribute("data-slate-spacer"))){if(null!=a&&kP(a)&&CB.hasDOMNode(r,a)){var s=CB.toSlateNode(r,a);if($h.isElement(s)&&!r.isVoid(s))return}if(mB){var c=u.getSelection();null==c||c.removeAllRanges()}nT.delete(r)}}}},focus:function(t,e,r){var n=CB.toDOMNode(r,r),o=CB.findDocumentOrShadowRoot(r);e.latestElement=o.activeElement,yB&&t.target!==n?n.focus():nT.set(r,!0)},click:function(t,e,r){if(!r.getConfig().readOnly&&cR(r,t.target)&&kP(t.target)){var n=CB.toSlateNode(r,t.target),o=CB.findPath(r,n);if(Kh.hasPath(r,o)&&tv.get(r,o)===n){var i=Kh.start(r,o),u=Kh.end(r,o),a=Kh.void(r,{at:i}),s=Kh.void(r,{at:u});if(a&&s&&ov.equals(a[1],s[1])){var c=Kh.range(r,i);zv.select(r,c)}}}},compositionstart:function(t,e,r){if(aR(r,t.target)){var n=r.selection;if(n&&dv.isExpanded(n)&&(Kh.deleteFragment(r),Promise.resolve().then(function(){gR(e,r,!0)})),r.selection){var o=CB.toDOMRange(r,r.selection).startContainer,i=o.textContent||"";yR.set(r,i),mR.set(r,o)}e.isComposing=!0,function(t,e){var r;e.getConfig().placeholder&&e.isEmpty()&&t.showPlaceholder&&(null===(r=t.$placeholder)||void 0===r||r.hide(),t.showPlaceholder=!1)}(e,r)}},compositionend:function(t,e,r){var n=t;if(aR(r,n.target)){e.isComposing=!1;var o=r.selection;if(null!=o){(wB||yB)&&CB.cleanExposedTexNodeInSelectionBlock(r);for(var i=dv.isBackward(o)?o.focus:o.anchor,u=TO(Kh.node(r,[i.path[0]]),1)[0],a=0;a<i.path.length;a+=1){var s=TO(Kh.node(r,i.path.slice(0,a+1)),1)[0];if($h.isElement(s)&&((mB||yB)&&"link"===s.type||"code"===s.type)){CB.setNewKey(u);break}}var c=n.data;if(c){if(r.getConfig().maxLength){var l=CB.getLeftLengthOfMaxLength(r);if(l<c.length){var f=CB.toDOMRange(r,o);f.startContainer.nodeType===Node.TEXT_NODE&&(f.startContainer.textContent=yR.get(r)||""),l>0&&Kh.insertText(r,c.slice(0,l)),e.changeViewState()}else Kh.insertText(r,c)}else{var d=CB.findDocumentOrShadowRoot(r).getSelection();d&&function(t,e){if(dv.isCollapsed(e)){var r=e.anchor,n=e.focus;if([2,3].includes(r.path.length)&&[2,3].includes(n.path.length)&&(0===r.offset||0===n.offset)){var o=Kh.node(t,r.path),i=0===r.offset?r.path:n.path,u=[i[0],i[1]-1];if(0===i[1])return!1;var a=Kh.node(t,u);if(wv.isText(a[0])&&wv.isText(o[0]))return!0}}}(r,o)&&(r.selection=CB.toSlateRange(r,d,{exactMatch:!1,suppressThrow:!1})),Kh.insertText(r,c)}mB||setTimeout(function(){var t=r.selection;if(null!=t){var e=mR.get(r);null!=e&&CB.toDOMRange(r,t).startContainer!==e&&(e.textContent=yR.get(r)||"")}})}}}},compositionupdate:function(t,e,r){aR(r,t.target)&&(e.isComposing=!0)},keydown:function(t,e,r){var n=t,o=r.selection;if(!r.getConfig().readOnly&&!e.isComposing&&aR(r,n.target)){if(function(t,e){var r=_x.get(t),n=r&&r.getMenus(),o=Mx.get(t),i=o&&o.getMenus(),u=OO(OO({},n),i);for(var a in u){var s=u[a],c=s.hotkey;if(c&&Qg.isHotkey(c,e)&&!s.isDisabled(t)){var l=s.getValue(t);s.exec(t,l)}}}(r,n),CR.isTab(n))return DR(n),void r.handleTab();if(CR.isRedo(n))return DR(n),void("function"==typeof r.redo&&r.redo());if(CR.isUndo(n))return DR(n),void("function"==typeof r.undo&&r.undo());if(CR.isMoveLineBackward(n))return DR(n),void zv.move(r,{unit:"line",reverse:!0});if(CR.isMoveLineForward(n))return DR(n),void zv.move(r,{unit:"line"});if(CR.isExtendLineBackward(n))return DR(n),void zv.move(r,{unit:"line",edge:"focus",reverse:!0});if(CR.isExtendLineForward(n))return DR(n),void zv.move(r,{unit:"line",edge:"focus"});if(CR.isMoveBackward(n))return DR(n),void(o&&dv.isCollapsed(o)?zv.move(r,{reverse:!0}):zv.collapse(r,{edge:"start"}));if(CR.isMoveForward(n))return DR(n),void(o&&dv.isCollapsed(o)?zv.move(r):zv.collapse(r,{edge:"end"}));if(CR.isMoveWordBackward(n))return DR(n),o&&dv.isExpanded(o)&&zv.collapse(r,{edge:"focus"}),void zv.move(r,{unit:"word",reverse:!0});if(CR.isMoveWordForward(n))return DR(n),o&&dv.isExpanded(o)&&zv.collapse(r,{edge:"focus"}),void zv.move(r,{unit:"word"});if(CR.isSelectAll(n))return DR(n),void r.selectAll();if(SB){if((wB||mB)&&o&&(CR.isDeleteBackward(n)||CR.isDeleteForward(n))&&dv.isCollapsed(o)){var i=tv.parent(r,o.anchor.path);if($h.isElement(i)&&Kh.isVoid(r,i)&&Kh.isInline(r,i))return n.preventDefault(),void zv.delete(r,{unit:"block"})}}else{if(CR.isBold(n)||CR.isItalic(n)||CR.isTransposeCharacter(n))return void DR(n);if(CR.isSplitBlock(n))return DR(n),void Kh.insertBreak(r);if(CR.isDeleteBackward(n))return DR(n),void(o&&dv.isExpanded(o)?Kh.deleteFragment(r,{direction:"backward"}):Kh.deleteBackward(r));if(CR.isDeleteForward(n))return DR(n),void(o&&dv.isExpanded(o)?Kh.deleteFragment(r,{direction:"forward"}):Kh.deleteForward(r));if(CR.isDeleteLineBackward(n))return DR(n),void(o&&dv.isExpanded(o)?Kh.deleteFragment(r,{direction:"backward"}):Kh.deleteBackward(r,{unit:"line"}));if(CR.isDeleteLineForward(n))return DR(n),void(o&&dv.isExpanded(o)?Kh.deleteFragment(r,{direction:"forward"}):Kh.deleteForward(r,{unit:"line"}));if(CR.isDeleteWordBackward(n))return DR(n),void(o&&dv.isExpanded(o)?Kh.deleteFragment(r,{direction:"backward"}):Kh.deleteBackward(r,{unit:"word"}));if(CR.isDeleteWordForward(n))return DR(n),void(o&&dv.isExpanded(o)?Kh.deleteFragment(r,{direction:"forward"}):Kh.deleteForward(r,{unit:"word"}))}}},keypress:function(t,e,r){if(!SB&&!r.getConfig().readOnly&&aR(r,t.target)){t.preventDefault();var n=t.key;Kh.insertText(r,n)}},copy:function(t,e,r){var n=t;if(aR(r,n.target)){r.getConfig().readOnly||n.preventDefault();var o=n.clipboardData;if(null!=o){r.setFragmentData(o);var i=r.getConfig().customCopy;i&&i(r,n)}}},cut:function(t,e,r){var n=t,o=r.selection;if(!r.getConfig().readOnly&&(n.preventDefault(),aR(r,n.target))){var i=n.clipboardData;if(null!=i&&(r.setFragmentData(i),o))if(dv.isExpanded(o))Kh.deleteFragment(r);else{var u=tv.parent(r,o.anchor.path);Kh.isVoid(r,u)&&zv.delete(r)}}},paste:function(t,e,r){uT.set(r,!0);var n=t;if(!r.getConfig().readOnly&&aR(r,n.target)){var o=r.getConfig().customPaste;if(o&&!1===o(r,n))return void uT.set(r,!1);if(mB||!SB||function(t){return t.clipboardData&&""!==t.clipboardData.getData("text/plain")&&1===t.clipboardData.types.length}(n)){n.preventDefault();var i=n.clipboardData;null!=i&&r.insertData(i)}}},dragover:function(t,e,r){if(cR(r,t.target)){var n=CB.toSlateNode(r,t.target);Kh.isVoid(r,n)&&t.preventDefault()}},dragstart:function(t,e,r){var n=t;if(cR(r,n.target)&&!r.getConfig().readOnly){var o=CB.toSlateNode(r,n.target),i=CB.findPath(r,o);if(Kh.isVoid(r,o)||Kh.void(r,{at:i,voids:!0})){var u=Kh.range(r,i);zv.select(r,u)}var a=n.dataTransfer;null!=a&&(CB.getSelectedNodeByType(r,"table")||(e.isDraggingInternally=!0,r.setFragmentData(a)))}},dragend:function(t,e,r){var n=t;r.getConfig().readOnly||e.isDraggingInternally&&cR(r,n.target)&&(e.isDraggingInternally=!1)},drop:function(t,e,r){var n=t,o=n.dataTransfer;if(!r.getConfig().readOnly&&cR(r,n.target)&&null!=o&&!(SB&&mB&&o.files.length>0)){n.preventDefault();var i=r.selection,u=CB.findEventRange(r,n);zv.select(r,u),e.isDraggingInternally&&(i&&zv.delete(r,{at:i}),e.isDraggingInternally=!1),r.insertData(o),r.isFocused()||r.focus()}}},NR={};!function(){if(xR)return NR;xR=1;var t=ND(),e=function(){if(AR)return OR;AR=1;var t=KE(),e=Hw(),r=XE(),n=qE(),o=$D(),i=AD(),u=Mw(),a=FS(),s=Uw(),c=Object.assign,l=Object.defineProperty,f=e([].concat);return OR=!c||n(function(){if(t&&1!==c({b:1},c(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},r={},n=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(t){r[t]=t}),7!==c({},e)[n]||o(c({},r)).join("")!==i})?function(e,n){for(var c=a(e),l=arguments.length,d=1,p=i.f,h=u.f;l>d;)for(var v,g=s(arguments[d++]),y=p?f(o(g),p(g)):o(g),m=y.length,b=0;m>b;)v=y[b++],t&&!r(h,g,v)||(c[v]=g[v]);return c}:c,OR}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var kR=[];var PR={};function BR(t,e,r){return Ry(r.isInline(t)?"span":"div",null,e)}function IR(t,e){return void 0===e&&(e=!1),Ry("span",{"data-slate-string":!0},e?t+"\n":t)}function FR(t,e){return void 0===t&&(t=0),void 0===e&&(e=!1),Ry("span",{"data-slate-zero-width":e?"n":"z","data-slate-length":t},"\ufeff",e?Ry("br",null):null)}function RR(t,e,r,n){return Yx.set(t,e),Xx.set(t,r),$h.isElement(t)?function(t,e){var r,n=CB.findKey(e,t),o=e.isInline(t),i=Kh.isVoid(e,t),u=oB(t.type,n.id),a={id:u,key:n.id,"data-slate-node":"element","data-slate-inline":o},s=t.type,c=t.children,l=void 0===c?[]:c,f=function(t){return PR[t]||BR}(s);r=i?null:l.map(function(r,n){return RR(r,n,t,e)});var d=f(t,r,e);if(i){a["data-slate-void"]=!0;var p=o?"span":"div",h=TO(tv.texts(t),1),v=TO(h[0],1)[0],g=Ry(p,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},RR(v,0,t,e));d=Ry(p,{style:{position:"relative"}},d,g),Yx.set(v,0),Xx.set(v,t)}return null==d.data&&(d.data={}),Object.assign(d.data,a),i||o||(d=function(t,e){var r=e;return kR.forEach(function(n){r=n(t,e)}),r}(t,d)),OP(function(){var e=RP(u);null!=e&&(Qx.set(n,e),tT.set(t,e),Zx.set(e,t))}),d}(t,n):function(t,e,r){if(null==t.text)throw new Error("Current node is not slate Text ".concat(JSON.stringify(t)));var n=CB.findKey(r,t),o=r.getConfig().decorate;if(null==o)throw new Error("Can not get config.decorate");var i,u=CB.findPath(r,t),a=o([t,u]),s=wv.decorations(t,a),c=s.map(function(n,o){var i=function(t,e,r,n,o){void 0===e&&(e=!1);var i=t.text,u=CB.findPath(o,r),a=ov.parent(u);if(Kh.isEditor(n))throw new Error("Text node ".concat(JSON.stringify(r)," parent is Editor"));return o.isVoid(n)?FR(tv.string(n).length):""!==i||n.children[n.children.length-1]!==r||o.isInline(n)||""!==Kh.string(o,a)?""===i?FR():e&&"\n"===i.slice(-1)?IR(i,!0):IR(i):FR(0,!0)}(n,o===s.length-1,t,e,r);return i=function(t,e){var r=e;return kR.forEach(function(e){r=e(t,r)}),r}(n,i),Ry("span",{"data-slate-leaf":!0},i)}),l=(i=n.id,"w-e-text-".concat(i)),f=Ry("span",{"data-slate-node":"text",id:l,key:n.id},c);return OP(function(){var e=RP(l);null!=e&&(Qx.set(n,e),tT.set(t,e),Zx.set(e,t))}),f}(t,r,n)}var LR=["props","attrs","style","dataset","on","hook"];function _R(t){var e=t.data,r=void 0===e?{}:e,n=t.children,o=void 0===n?[]:n;Object.keys(r).forEach(function(e){var n,o,i=r[e];if("key"!==e){if(!LR.includes(e)){if(e.startsWith("data-")){var u=e.slice(5);return u=Vy(u),function(t,e){null==t.data&&(t.data={});var r=t.data;null==r.dataset&&(r.dataset={}),Object.assign(r.dataset,e)}(t,((n={})[u]=i,n)),void delete r[e]}!function(t,e){null==t.data&&(t.data={});var r=t.data;null==r.props&&(r.props={}),Object.assign(r.props,e)}(t,(o={},o[e]=i,o)),delete r[e]}}else t.key=i}),o.length>0&&o.forEach(function(t){"string"!=typeof t&&_R(t)})}function jR(t,e){var r,n,o=t.$scroll,i=(r=t.id,"w-e-textarea-".concat(r)),u=e.getConfig(),a=u.readOnly,s=u.autoFocus,c=function(t,e){return void 0===e&&(e=!1),vy("div#".concat(t),{props:{contentEditable:!e}})}(i,a),l=e.children||[];c.children=l.map(function(t,r){if(qx.has(t)){var n=qx.get(t);if(n){var o=TO(n,2),i=o[0],u=o[1];if(u)return i!==r&&(Yx.set(t,r),qx.set(t,[r,u])),u}}var a=RR(t,r,e,e);_R(a);var s=e.getConfig().skipCacheTypes,c=void 0===s?["list-item"]:s;return $h.isElement(t)&&c.includes(t.type)||qx.set(t,[r,a]),a});var f=Vx.get(t);if(null==f&&(f=!0),f){var d=function(t){return og('<div\n id="'.concat(t,'"\n data-slate-editor\n data-slate-node="value"\n suppressContentEditableWarning\n role="textarea"\n spellCheck="true"\n autoCorrect="true"\n autoCapitalize="true"\n ></div>'))}(i);o.append(d),t.$textArea=d,n=d[0],(h=py([by,Ty,Iy,Sy,Ay,yy]))(n,c),Vx.set(t,!1),Gx.set(t,h)}else{var p=Wx.get(t),h=Gx.get(t);if(null==p||null==h)return;n=p.elm,h(p,c)}if(null!=n||null!=(n=RP(i))){if((f?s:e.isFocused())&&n.focus({preventScroll:!0}),f){var v=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||null}(n);v&&rT.set(e,v)}Jx.set(e,n),tT.set(e,n),Zx.set(n,e),Wx.set(t,c)}}var MR=1,zR=function(){function t(t){var e=this;this.id=MR++,this.$textArea=null,this.$progressBar=og('<div class="w-e-progress-bar"></div>'),this.$maxLengthInfo=og('<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=Jg(function(){var t=e.editorInstance;!function(t,e){var r=t.isComposing,n=t.isUpdatingSelection,o=t.isDraggingInternally;if(!(e.getConfig().readOnly||r||n||o)){var i=CB.findDocumentOrShadowRoot(e),u=i.activeElement,a=CB.toDOMNode(e,e),s=i.getSelection();if(u!==a)return nT.delete(e),void zv.deselect(e);if(t.latestElement=u,nT.set(e,!0),!s)return zv.deselect(e);var c=s.anchorNode,l=s.focusNode,f=aR(e,c)||sR(e,c),d=aR(e,l)||sR(e,l);if(f&&d){var p=CB.toSlateRange(e,s,{exactMatch:!1,suppressThrow:!1});zv.select(e,p)}}}(e,t)},100);var r=og(t);if(0===r.length)throw new Error("Cannot find textarea DOM by selector '".concat(t,"'"));this.$box=r;var n=og('<div class="w-e-text-container"></div>');n.append(this.$progressBar),n.append(this.$maxLengthInfo),r.append(n);var o=og('<div class="w-e-scroll"></div>');n.append(o),this.$scroll=o,this.$textAreaContainer=n,OP(function(){var t=e.editorInstance,o=CB.getWindow(t);o.document.addEventListener("selectionchange",e.onDOMSelectionChange),t.on(PO,function(){o.document.removeEventListener("selectionchange",e.onDOMSelectionChange)}),n.on("click",function(){return t.hidePanelOrModal()}),t.on(BO,e.changeViewState.bind(e));var i=t.getConfig(),u=i.onChange,a=i.scroll;u&&t.on(BO,function(){return u(t)}),a||(r.css("position","relative"),n.addClass("no-scroll")),e.onFocusAndOnBlur(),t.on(BO,e.changeMaxLengthInfo.bind(e)),e.bindEvent()})}return Object.defineProperty(t.prototype,"editorInstance",{get:function(){var t=Rx.get(this);if(null==t)throw new Error("Can not get editor instance");return t},enumerable:!1,configurable:!0}),t.prototype.bindEvent=function(){var t=this,e=this.$textArea,r=this.$scroll,n=this.editorInstance;null!=e&&(qv(TR,function(r,o){e.on(o,function(e){r(e,t,n)})}),n.getConfig().scroll&&(r.css("overflow-y","auto"),r.on("scroll",Jg(function(){n.emit("scroll")},100))))},t.prototype.onFocusAndOnBlur=function(){var t=this,e=this.editorInstance,r=e.getConfig(),n=r.onBlur,o=r.onFocus;this.latestEditorSelection=e.selection,e.on(BO,function(){null==t.latestEditorSelection&&null!=e.selection?setTimeout(function(){return o&&o(e)}):null!=t.latestEditorSelection&&null==e.selection&&setTimeout(function(){return n&&n(e)}),t.latestEditorSelection=e.selection})},t.prototype.changeMaxLengthInfo=function(){var t=this.editorInstance,e=t.getConfig().maxLength;if(e){var r=e-CB.getLeftLengthOfMaxLength(t);this.$maxLengthInfo[0].innerHTML="".concat(r,"/").concat(e)}},t.prototype.changeProgress=function(t){var e=this.$progressBar;e.css("width","".concat(t,"%")),t>=100&&setTimeout(function(){e.hide(),e.css("width","0"),e.show()},1e3)},t.prototype.changeViewState=function(){var t=this,e=this.editorInstance;jR(this,e),function(t,e){var r,n=e.getConfig().placeholder;if(n){var o=e.isEmpty();if(o&&!t.showPlaceholder&&!t.isComposing){if(null==t.$placeholder){var i=og('<div class="w-e-text-placeholder">'.concat(n,"</div>"));t.$textAreaContainer.append(i),t.$placeholder=i}return t.$placeholder.show(),void(t.showPlaceholder=!0)}!o&&t.showPlaceholder&&(null===(r=t.$placeholder)||void 0===r||r.hide(),t.showPlaceholder=!1)}}(this,e),OP(function(){gR(t,e)})},t.prototype.destroy=function(){this.$textAreaContainer.remove()},t}();function HR(t,e,r,n){if(Yx.set(t,e),Xx.set(t,r),$h.isElement(t)){var o=t.children;if((void 0===o?[]:o).forEach(function(e,r){return HR(e,r,t,n)}),Kh.isVoid(n,t)){var i=TO(tv.texts(t),1),u=TO(i[0],1)[0];Yx.set(u,0),Xx.set(u,t)}}}var $R="Textarea height < 300px. This may cause modal and hoverbar position error",UR="编辑区域高度 < 300px 这可能会导致 modal hoverbar 定位异常";function VR(t){var e,r=t.selector,n=void 0===r?"":r,o=t.config,i=void 0===o?{}:o,u=t.content,a=t.html,s=t.plugins,c=void 0===s?[]:s,l=function(t){return[BI,yI,aT,vI,zI,PI,FI,EO].reduce(function(t,e){return e(t)},t)}((e={children:[],operations:[],selection:null,marks:null,isInline:()=>!1,isVoid:()=>!1,onChange:()=>{},apply:t=>{for(var r of Kh.pathRefs(e))iv.transform(r,t);for(var n of Kh.pointRefs(e))cv.transform(n,t);for(var o of Kh.rangeRefs(e))pv.transform(o,t);var i,u,a=oh.get(e)||[],s=ih.get(e)||new Set,c=t=>{if(t){var e=t.join(",");u.has(e)||(u.add(e),i.push(t))}};if(ov.operationCanTransformPath(t))for(var l of(i=[],u=new Set,a))c(ov.transform(l,t));else i=a,u=s;var f=e.getDirtyPaths(t);for(var d of f)c(d);oh.set(e,i),ih.set(e,u),zv.transform(e,t),e.operations.push(t),Kh.normalize(e),"set_selection"===t.type&&(e.marks=null),uh.get(e)||(uh.set(e,!0),Promise.resolve().then(()=>{uh.set(e,!1),e.onChange(),e.operations=[]}))},addMark:(t,r)=>{var{selection:n}=e;if(n)if(dv.isExpanded(n))zv.setNodes(e,{[t]:r},{match:wv.isText,split:!0});else{var o=dh(dh({},Kh.marks(e)||{}),{},{[t]:r});e.marks=o,uh.get(e)||e.onChange()}},deleteBackward:t=>{var{selection:r}=e;r&&dv.isCollapsed(r)&&zv.delete(e,{unit:t,reverse:!0})},deleteForward:t=>{var{selection:r}=e;r&&dv.isCollapsed(r)&&zv.delete(e,{unit:t})},deleteFragment:t=>{var{selection:r}=e;r&&dv.isExpanded(r)&&zv.delete(e,{reverse:"backward"===t})},getFragment:()=>{var{selection:t}=e;return t?tv.fragment(e,t):[]},insertBreak:()=>{zv.splitNodes(e,{always:!0})},insertSoftBreak:()=>{zv.splitNodes(e,{always:!0})},insertFragment:t=>{zv.insertFragment(e,t)},insertNode:t=>{zv.insertNodes(e,t)},insertText:t=>{var{selection:r,marks:n}=e;if(r){if(n){var o=dh({text:t},n);zv.insertNodes(e,o)}else zv.insertText(e,t);e.marks=null}},normalizeNode:t=>{var[r,n]=t;if(!wv.isText(r))if($h.isElement(r)&&0===r.children.length)zv.insertNodes(e,{text:""},{at:n.concat(0),voids:!0});else for(var o=!Kh.isEditor(r)&&$h.isElement(r)&&(e.isInline(r)||0===r.children.length||wv.isText(r.children[0])||e.isInline(r.children[0])),i=0,u=0;u<r.children.length;u++,i++){var a=tv.get(e,n);if(!wv.isText(a)){var s=r.children[u],c=a.children[i-1],l=u===r.children.length-1;(wv.isText(s)||$h.isElement(s)&&e.isInline(s))!==o?(zv.removeNodes(e,{at:n.concat(i),voids:!0}),i--):$h.isElement(s)?e.isInline(s)&&(null!=c&&wv.isText(c)?l&&(zv.insertNodes(e,{text:""},{at:n.concat(i+1),voids:!0}),i++):(zv.insertNodes(e,{text:""},{at:n.concat(i),voids:!0}),i++)):null!=c&&wv.isText(c)&&(wv.equals(s,c,{loose:!0})?(zv.mergeNodes(e,{at:n.concat(i),voids:!0}),i--):""===c.text?(zv.removeNodes(e,{at:n.concat(i-1),voids:!0}),i--):""===s.text&&(zv.removeNodes(e,{at:n.concat(i),voids:!0}),i--))}}},removeMark:t=>{var{selection:r}=e;if(r)if(dv.isExpanded(r))zv.unsetNodes(e,t,{match:wv.isText,split:!0});else{var n=dh({},Kh.marks(e)||{});delete n[t],e.marks=n,uh.get(e)||e.onChange()}},getDirtyPaths:t=>{switch(t.type){case"insert_text":case"remove_text":case"set_node":var{path:e}=t;return ov.levels(e);case"insert_node":var{node:r,path:n}=t,o=ov.levels(n),i=wv.isText(r)?[]:Array.from(tv.nodes(r),t=>{var[,e]=t;return n.concat(e)});return[...o,...i];case"merge_node":var{path:u}=t;return[...ov.ancestors(u),ov.previous(u)];case"move_node":var{path:a,newPath:s}=t;if(ov.equals(a,s))return[];var c=[],l=[];for(var f of ov.ancestors(a)){var d=ov.transform(f,t);c.push(d)}for(var p of ov.ancestors(s)){var h=ov.transform(p,t);l.push(h)}var v=l[l.length-1],g=s[s.length-1],y=v.concat(g);return[...c,...l,y];case"remove_node":var{path:m}=t;return[...ov.ancestors(m)];case"split_node":var{path:b}=t;return[...ov.levels(b),ov.next(b)];default:return[]}}},e));if(n&&function(t,e){return rB(t,"data-w-e-textarea",e)}(l,n))throw new Error("Repeated create editor by selector '".concat(n,"'"));var f=function(t){void 0===t&&(t={});var e=Gv(kO),r={},n=t.MENU_CONF,o=void 0===n?{}:n;return qv(e,function(t,e){r[e]=OO(OO({},t),o[e]||{})}),delete t.MENU_CONF,OO({scroll:!0,readOnly:!1,autoFocus:!0,decorate:function(){return[]},maxLength:0,MENU_CONF:r,hoverbarKeys:{},customAlert:function(t,e){window.alert("".concat(e,":\n").concat(t))}},t)}(i);Ux.set(l,f);var d=f.hoverbarKeys,p=void 0===d?{}:d;if(c.forEach(function(t){l=t(l)}),function(t,e){var r=e.html,n=e.content;null!=r?t.children=nB(t,r):n&&n.length&&(t.children=n),0===t.children.length&&(t.children=[{type:"paragraph",children:[{text:""}]}])}(l,{html:a,content:u}),n){var h=new zR(n);Fx.set(l,h),Rx.set(h,l),h.changeViewState(),OP(function(){var t=h.$scroll;null!=t&&t.height()<300&&console.warn("".concat(UR,"\n").concat($R),{element:t,height:t.height()})});var v=void 0;Object.keys(p).length>0&&(v=new iR,jx.set(v,l),Mx.set(l,v)),l.on(BO,function(){l.hidePanelOrModal()}),l.on(IO,function(){l.hidePanelOrModal()})}else l.children.forEach(function(t,e){return HR(t,e,l,l)});var g=f.onCreated,y=f.onDestroyed;return g&&l.on("created",function(){return g(l)}),y&&l.on(PO,function(){return y(l)}),OP(function(){return l.emit("created")}),l}var GR,WR,qR,KR,YR,XR={};!function(){if(YR)return XR;YR=1;var t=ND(),e=FS(),r=VC(),n=UC(),o=WC(),i=function(){if(WR)return GR;WR=1;var t=KE(),e=kD(),r=TypeError,n=Object.getOwnPropertyDescriptor,o=t&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();return GR=o?function(t,o){if(e(t)&&!n(t,"length").writable)throw new r("Cannot set read only .length");return t.length=o}:function(t,e){return t.length=e}}(),u=PD(),a=LD(),s=BD(),c=function(){if(KR)return qR;KR=1;var t=rS(),e=TypeError;return qR=function(r,n){if(!delete r[n])throw new e("Cannot delete property "+t(n)+" of "+t(r))}}(),l=_D()("splice"),f=Math.max,d=Math.min;t({target:"Array",proto:!0,forced:!l},{splice:function(t,l){var p,h,v,g,y,m,b=e(this),E=o(b),w=r(t,E),S=arguments.length;for(0===S?p=h=0:1===S?(p=0,h=E-w):(p=S-2,h=d(f(n(l),0),E-w)),u(E+p-h),v=a(b,h),g=0;g<h;g++)(y=w+g)in b&&s(v,g,b[y]);if(v.length=h,p<h){for(g=w;g<E-h;g++)m=g+p,(y=g+h)in b?b[m]=b[y]:c(b,m);for(g=E;g>E-h+p;g--)c(b,g-1)}else if(p>h)for(g=E-h;g>w;g--)m=g+p-1,(y=g+h-1)in b?b[m]=b[y]:c(b,m);for(g=0;g<p;g++)b[g+w]=arguments[g+2];return i(b,E-h+p),v}})}();var JR=function(){function t(t,e){var r=this;this.$toolbar=og('<div class="w-e-bar w-e-bar-show w-e-toolbar"></div>'),this.menus={},this.toolbarItems=[],this.config={},this.lngListen=function(){},this.changeToolbarState=Kg(function(){r.toolbarItems.forEach(function(t){t.changeMenuState()})},200),this.config=e;var n=og(t);if(0===n.length)throw new Error("Cannot find toolbar DOM by selector '".concat(t,"'"));this.$box=n;var o=this.$toolbar;o.on("mousedown",function(t){return t.preventDefault()},{passive:!1}),n.append(o),OP(function(){r.initToolbar(),r.lngListen=RF(function(){return r.initToolbar()}),r.getEditorInstance().on(BO,r.changeToolbarState)})}return t.prototype.getMenus=function(){return this.menus},t.prototype.getConfig=function(){return this.config},t.prototype.initToolbar=function(){this.menus={};var t=this.$toolbar;null==t||t.empty(),this.registerItems(),this.changeToolbarState()},t.prototype.registerItems=function(){var t=this,e="",r=this.$toolbar,n=this.config,o=n.toolbarKeys,i=void 0===o?[]:o,u=n.insertKeys,a=void 0===u?{index:0,keys:[]}:u,s=n.excludeKeys,c=void 0===s?[]:s,l=Gv(i);a.keys.length>0&&("string"==typeof a.keys&&(a.keys=[a.keys]),a.keys.forEach(function(t,e){l.splice(a.index+e,0,t)}));var f=l.filter(function(t){var e="string"==typeof t?t:t.key;return!c.includes(e)}),d=f.length;f.forEach(function(n,o){if("|"===n){if(0===o)return;if(o+1===d)return;if("|"===e)return;var i=MF();return r.append(i),void(e=n)}if("string"==typeof n)return t.registerSingleItem(n,t),void(e=n);t.registerGroup(n),e="group"})},t.prototype.registerGroup=function(t){var e=this,r=this.$toolbar,n=function(t){return new QF(t)}(t),o=t.menuKeys,i=void 0===o?[]:o,u=this.config.excludeKeys,a=void 0===u?[]:u;i.forEach(function(t){a.includes(t)||e.registerSingleItem(t,n)}),r.append(n.$elem)},t.prototype.registerSingleItem=function(t,e){var r=this.getEditorInstance(),n=e instanceof QF,o=this.menus,i=o[t];if(null==i){var u=FO[t];if(null==u)throw new Error("Not found menu item factory by key '".concat(t,"'"));if("function"!=typeof u)throw new Error("Menu item factory (key='".concat(t,"') is not a function"));i=u(),o[t]=i}else console.warn("Duplicated toolbar menu key '".concat(t,"'\n重复注册了菜单栏 menu '").concat(t,"'"));var a=r.getMenuConfig(t);a&&void 0!==a.iconSvg&&(i.iconSvg=a.iconSvg);var s=rR(t,i,n);this.toolbarItems.push(s),zx.set(s,r),n?e.appendBarItem(s):e.$toolbar.append(s.$elem)},t.prototype.getEditorInstance=function(){var t=Lx.get(this);if(null==t)throw new Error("Can not get editor instance");return t},t.prototype.destroy=function(){var t;this.$toolbar.remove(),null===(t=this.lngListen)||void 0===t||t.call(this),this.menus={},this.toolbarItems=[]},t}();var ZR,QR={};function tL(t){var e=t.server,r=void 0===e?"":e,n=t.fieldName,o=void 0===n?"":n,i=t.maxFileSize,u=void 0===i?10485760:i,a=t.maxNumberOfFiles,s=void 0===a?100:a,c=t.meta,l=void 0===c?{}:c,f=t.metaWithUrl,d=void 0!==f&&f,p=t.headers,h=void 0===p?{}:p,v=t.withCredentials,g=void 0!==v&&v,y=t.timeout,m=void 0===y?1e4:y,b=t.onBeforeUpload,E=void 0===b?function(t){return t}:b,w=t.onSuccess,S=void 0===w?function(t,e){}:w,C=t.onError,D=void 0===C?function(t,e,r){console.error("".concat(t.name," upload error"),e,r)}:C,O=t.onProgress,A=void 0===O?function(t){}:O;if(!r)throw new Error("Cannot get upload server address\n没有配置上传地址");if(!o)throw new Error("Cannot get fieldName\n没有配置 fieldName");var x=r;d&&(x=function(t,e){var r=TO(t.split("#"),2),n=r[0],o=r[1],i=[];qv(e,function(t,e){i.push("".concat(e,"=").concat(t))});var u=i.join("&");return n=n.indexOf("?")>0?"".concat(n,"&").concat(u):"".concat(n,"?").concat(u),o?"".concat(n,"#").concat(o):n}(x,l));var T=new Xb(OO({onBeforeUpload:E,restrictions:{maxFileSize:u,maxNumberOfFiles:s},meta:l},t.uppyConfig)).use(BE,OO({endpoint:x,headers:h,formData:!0,fieldName:o,bundle:!0,withCredentials:g,timeout:m},t.xhrConfig));return T.on("complete",function(t){var e=t.successful[0],r=e.response,n=(null!=r?r:{}).body,o=void 0===n?{}:n;try{S(e,o)}catch(t){console.error("wangEditor upload file - onSuccess error",t)}}),T.on("progress",function(t){t<1||A(t)}),T.on("upload-error",function(t,e,r){try{D(t,e,r)}catch(t){console.error("wangEditor upload file - onError error",t)}}),T.on("restriction-failed",function(t,e){try{D(t,e)}catch(t){console.error("wangEditor upload file - onError error",t)}}),T}!function(){if(ZR)return QR;ZR=1;var t=KE(),e=yC().EXISTS,r=Hw(),n=nN(),o=Function.prototype,i=r(o.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,a=r(u.exec);t&&!e&&n(o,"name",{configurable:!0,get:function(){try{return a(u,i(this))[1]}catch(t){return""}}})}();BF("en",{editor:{more:"More",justify:"Justify",indent:"Indent",image:"Image",video:"Video"}}),BF("zh-CN",{editor:{more:"更多",justify:"对齐",indent:"缩进",image:"图片",video:"视频"}});var eL,rL,nL,oL,iL,uL,aL,sL,cL,lL,fL,dL,pL,hL,vL,gL={};function yL(){if(rL)return eL;rL=1;var t=D();return eL=Array.isArray||function(e){return"Array"===t(e)}}function mL(){if(oL)return nL;oL=1;var t=C(),e=w(),r=yt(),n=kn(),o=He(),i=Dr(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!r(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,nL=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function bL(){if(uL)return iL;uL=1;var t=yL(),e=mL(),r=mt(),n=gt()("species"),o=Array;return iL=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||r(u)&&null===(u=u[n]))&&(u=void 0)),void 0===u?o:u},iL}function EL(){if(sL)return aL;sL=1;var t=bL();return aL=function(e,r){return new(t(e))(0===r?0:r)}}function wL(){if(dL)return fL;dL=1;var t=w();return fL=function(e,r){var n=[][e];return!!n&&t(function(){n.call(null,r||function(){return 1},1)})}}function SL(){if(hL)return pL;hL=1;var t=function(){if(lL)return cL;lL=1;var t=Wo(),e=C(),r=O(),n=lt(),o=Ze(),i=EL(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=n(h),w=r(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return cL={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}().forEach,e=wL()("forEach");return pL=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},pL}!function(){if(vL)return gL;vL=1;var t=N(),e=li(),r=fi(),n=SL(),o=sr(),i=function(t){if(t&&t.forEach!==n)try{o(t,"forEach",n)}catch(e){t.forEach=n}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(r)}(),BF("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",cancelTitle:"Cancel full screen"},header:{title:"Header",text:"Text"},image:{netImage:"Net image",delete:"Delete image",edit:"Edit image",editSize:"Edit size",viewLink:"View link",src:"Image src",desc:"Description",link:"Image link",ok:"Ok",width:"Width",height:"Height"},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"},formatPainter:{title:"Format Painter"}}),BF("zh-CN",{common:{ok:"确定",delete:"删除",enter:"回车"},blockQuote:{title:"引用"},codeBlock:{title:"代码块"},color:{color:"文字颜色",bgColor:"背景色",default:"默认颜色",clear:"清除背景色"},divider:{title:"分割线"},emotion:{title:"表情"},fontSize:{title:"字号",default:"默认字号"},fontFamily:{title:"字体",default:"默认字体"},fullScreen:{title:"全屏",cancelTitle:"取消全屏"},header:{title:"标题",text:"正文"},image:{netImage:"网络图片",delete:"删除图片",edit:"编辑图片",editSize:"修改尺寸",viewLink:"查看链接",src:"图片地址",desc:"图片描述",link:"图片链接",ok:"确定",width:"宽度",height:"高度"},indent:{decrease:"减少缩进",increase:"增加缩进"},justify:{left:"左对齐",right:"右对齐",center:"居中对齐",justify:"两端对齐"},lineHeight:{title:"行高",default:"默认行高"},link:{insert:"插入链接",text:"链接文本",url:"链接地址",unLink:"取消链接",edit:"修改链接",view:"查看链接"},textStyle:{bold:"粗体",clear:"清除格式",code:"行内代码",italic:"斜体",sub:"下标",sup:"上标",through:"删除线",underline:"下划线"},undo:{undo:"撤销",redo:"重做"},todo:{todo:"待办"},formatPainter:{title:"格式刷"}});var CL="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function DL(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var OL,AL,xL={};function TL(){if(AL)return OL;AL=1;var t=function(t){return t&&t.Math===Math&&t};return OL=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof CL&&CL)||t("object"==typeof OL&&OL)||function(){return this}()||Function("return this")()}var NL,kL,PL,BL,IL,FL,RL,LL,_L={};function jL(){return kL?NL:(kL=1,NL=function(t){try{return!!t()}catch(t){return!0}})}function ML(){if(BL)return PL;BL=1;var t=jL();return PL=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function zL(){if(FL)return IL;FL=1;var t=jL();return IL=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function HL(){if(LL)return RL;LL=1;var t=zL(),e=Function.prototype.call;return RL=t?e.bind(e):function(){return e.apply(e,arguments)},RL}var $L,UL,VL,GL,WL,qL,KL,YL,XL,JL,ZL,QL,t_,e_,r_,n_,o_,i_,u_,a_,s_,c_,l_,f_,d_,p_,h_,v_,g_,y_,m_,b_,E_,w_,S_,C_,D_,O_,A_,x_,T_,N_={};function k_(){if($L)return N_;$L=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return N_.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,N_}function P_(){return VL?UL:(VL=1,UL=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function B_(){if(WL)return GL;WL=1;var t=zL(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return GL=t?n:function(t){return function(){return r.apply(t,arguments)}},GL}function I_(){if(KL)return qL;KL=1;var t=B_(),e=t({}.toString),r=t("".slice);return qL=function(t){return r(e(t),8,-1)}}function F_(){if(XL)return YL;XL=1;var t=B_(),e=jL(),r=I_(),n=Object,o=t("".split);return YL=e(function(){return!n("z").propertyIsEnumerable(0)})?function(t){return"String"===r(t)?o(t,""):n(t)}:n}function R_(){return ZL?JL:(ZL=1,JL=function(t){return null==t})}function L_(){if(t_)return QL;t_=1;var t=R_(),e=TypeError;return QL=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function __(){if(r_)return e_;r_=1;var t=F_(),e=L_();return e_=function(r){return t(e(r))}}function j_(){if(o_)return n_;o_=1;var t="object"==typeof document&&document.all;return n_=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function M_(){if(u_)return i_;u_=1;var t=j_();return i_=function(e){return"object"==typeof e?null!==e:t(e)}}function z_(){if(s_)return a_;s_=1;var t=TL(),e=j_();return a_=function(r,n){return arguments.length<2?(o=t[r],e(o)?o:void 0):t[r]&&t[r][n];var o},a_}function H_(){if(l_)return c_;l_=1;var t=B_();return c_=t({}.isPrototypeOf)}function $_(){if(d_)return f_;d_=1;var t=TL().navigator,e=t&&t.userAgent;return f_=e?String(e):""}function U_(){if(h_)return p_;h_=1;var t,e,r=TL(),n=$_(),o=r.process,i=r.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),p_=e}function V_(){if(g_)return v_;g_=1;var t=U_(),e=jL(),r=TL().String;return v_=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function G_(){if(m_)return y_;m_=1;var t=V_();return y_=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function W_(){if(E_)return b_;E_=1;var t=z_(),e=j_(),r=H_(),n=G_(),o=Object;return b_=n?function(t){return"symbol"==typeof t}:function(n){var i=t("Symbol");return e(i)&&r(i.prototype,o(n))}}function q_(){if(S_)return w_;S_=1;var t=String;return w_=function(e){try{return t(e)}catch(t){return"Object"}}}function K_(){if(D_)return C_;D_=1;var t=j_(),e=q_(),r=TypeError;return C_=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function Y_(){if(A_)return O_;A_=1;var t=K_(),e=R_();return O_=function(r,n){var o=r[n];return e(o)?void 0:t(o)}}var X_,J_,Z_,Q_,tj,ej,rj,nj,oj,ij,uj,aj,sj,cj,lj,fj,dj,pj,hj,vj,gj,yj,mj,bj,Ej={exports:{}};function wj(){return J_?X_:(J_=1,X_=!1)}function Sj(){if(Q_)return Z_;Q_=1;var t=TL(),e=Object.defineProperty;return Z_=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function Cj(){if(tj)return Ej.exports;tj=1;var t=wj(),e=TL(),r=Sj(),n="__core-js_shared__",o=Ej.exports=e[n]||r(n,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Ej.exports}function Dj(){if(rj)return ej;rj=1;var t=Cj();return ej=function(e,r){return t[e]||(t[e]=r||{})}}function Oj(){if(oj)return nj;oj=1;var t=L_(),e=Object;return nj=function(r){return e(t(r))}}function Aj(){if(uj)return ij;uj=1;var t=B_(),e=Oj(),r=t({}.hasOwnProperty);return ij=Object.hasOwn||function(t,n){return r(e(t),n)}}function xj(){if(sj)return aj;sj=1;var t=B_(),e=0,r=Math.random(),n=t(1.1.toString);return aj=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function Tj(){if(lj)return cj;lj=1;var t=TL(),e=Dj(),r=Aj(),n=xj(),o=V_(),i=G_(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||n;return cj=function(t){return r(a,t)||(a[t]=o&&r(u,t)?u[t]:s("Symbol."+t)),a[t]}}function Nj(){if(hj)return pj;hj=1;var t=function(){if(dj)return fj;dj=1;var t=HL(),e=M_(),r=W_(),n=Y_(),o=function(){if(T_)return x_;T_=1;var t=HL(),e=j_(),r=M_(),n=TypeError;return x_=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!r(a=t(u,o)))return a;if(e(u=o.valueOf)&&!r(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!r(a=t(u,o)))return a;throw new n("Can't convert object to primitive value")},x_}(),i=Tj(),u=TypeError,a=i("toPrimitive");return fj=function(i,s){if(!e(i)||r(i))return i;var c,l=n(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||r(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}(),e=W_();return pj=function(r){var n=t(r,"string");return e(n)?n:n+""}}function kj(){if(gj)return vj;gj=1;var t=TL(),e=M_(),r=t.document,n=e(r)&&e(r.createElement);return vj=function(t){return n?r.createElement(t):{}}}function Pj(){if(mj)return yj;mj=1;var t=ML(),e=jL(),r=kj();return yj=!t&&!e(function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})}function Bj(){if(bj)return _L;bj=1;var t=ML(),e=HL(),r=k_(),n=P_(),o=__(),i=Nj(),u=Aj(),a=Pj(),s=Object.getOwnPropertyDescriptor;return _L.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return n(!e(r.f,t,c),t[c])},_L}var Ij,Fj,Rj,Lj,_j,jj,Mj,zj={};function Hj(){if(Fj)return Ij;Fj=1;var t=ML(),e=jL();return Ij=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function $j(){if(Lj)return Rj;Lj=1;var t=M_(),e=String,r=TypeError;return Rj=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function Uj(){if(_j)return zj;_j=1;var t=ML(),e=Pj(),r=Hj(),n=$j(),o=Nj(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return zj.f=t?r?function(t,e,r){if(n(t),e=o(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&l in r&&!r[l]){var i=a(t,e);i&&i[l]&&(t[e]=r.value,r={configurable:c in r?r[c]:i[c],enumerable:s in r?r[s]:i[s],writable:!1})}return u(t,e,r)}:u:function(t,r,a){if(n(t),r=o(r),n(a),e)try{return u(t,r,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[r]=a.value),t},zj}function Vj(){if(Mj)return jj;Mj=1;var t=ML(),e=Uj(),r=P_();return jj=t?function(t,n,o){return e.f(t,n,r(1,o))}:function(t,e,r){return t[e]=r,t}}var Gj,Wj,qj,Kj,Yj,Xj,Jj,Zj,Qj,tM,eM,rM,nM,oM,iM,uM={exports:{}};function aM(){if(Wj)return Gj;Wj=1;var t=ML(),e=Aj(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,o=e(r,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&n(r,"name").configurable);return Gj={EXISTS:o,PROPER:i,CONFIGURABLE:u}}function sM(){if(Kj)return qj;Kj=1;var t=B_(),e=j_(),r=Cj(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),qj=r.inspectSource}function cM(){if(Zj)return Jj;Zj=1;var t=Dj(),e=xj(),r=t("keys");return Jj=function(t){return r[t]||(r[t]=e(t))}}function lM(){return tM?Qj:(tM=1,Qj={})}function fM(){if(rM)return eM;rM=1;var t,e,r,n=function(){if(Xj)return Yj;Xj=1;var t=TL(),e=j_(),r=t.WeakMap;return Yj=e(r)&&/native code/.test(String(r))}(),o=TL(),i=M_(),u=Vj(),a=Aj(),s=Cj(),c=cM(),l=lM(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(n||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},r=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},r=function(t){return a(t,v)}}return eM={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!i(r)||(n=e(r)).type!==t)throw new d("Incompatible receiver, "+t+" required");return n}}}}function dM(){if(nM)return uM.exports;nM=1;var t=B_(),e=jL(),r=j_(),n=Aj(),o=ML(),i=aM().CONFIGURABLE,u=sM(),a=fM(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=uM.exports=function(t,e,r){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return n(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return r(this)&&c(this).source||u(this)},"toString"),uM.exports}function pM(){if(iM)return oM;iM=1;var t=j_(),e=Uj(),r=dM(),n=Sj();return oM=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&r(u,c,a),a.global)s?o[i]=u:n(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var hM,vM,gM,yM,mM,bM,EM,wM,SM,CM,DM,OM,AM,xM,TM,NM,kM,PM={};function BM(){if(yM)return gM;yM=1;var t=function(){if(vM)return hM;vM=1;var t=Math.ceil,e=Math.floor;return hM=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return gM=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function IM(){if(bM)return mM;bM=1;var t=BM(),e=Math.max,r=Math.min;return mM=function(n,o){var i=t(n);return i<0?e(i+o,0):r(i,o)},mM}function FM(){if(wM)return EM;wM=1;var t=BM(),e=Math.min;return EM=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}function RM(){if(CM)return SM;CM=1;var t=FM();return SM=function(e){return t(e.length)}}function LM(){if(OM)return DM;OM=1;var t=__(),e=IM(),r=RM(),n=function(n){return function(o,i,u){var a=t(o),s=r(a);if(0===s)return!n&&-1;var c,l=e(u,s);if(n&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((n||l in a)&&a[l]===i)return n||l||0;return!n&&-1}};return DM={includes:n(!0),indexOf:n(!1)}}function _M(){if(xM)return AM;xM=1;var t=B_(),e=Aj(),r=__(),n=LM().indexOf,o=lM(),i=t([].push);return AM=function(t,u){var a,s=r(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~n(l,a)||i(l,a));return l}}function jM(){return NM?TM:(NM=1,TM=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var MM,zM,HM,$M,UM,VM,GM,WM,qM,KM,YM,XM,JM,ZM,QM,tz,ez,rz,nz,oz={};function iz(){return MM||(MM=1,oz.f=Object.getOwnPropertySymbols),oz}function uz(){if(UM)return $M;UM=1;var t=Aj(),e=function(){if(HM)return zM;HM=1;var t=z_(),e=B_(),r=function(){if(kM)return PM;kM=1;var t=_M(),e=jM().concat("length","prototype");return PM.f=Object.getOwnPropertyNames||function(r){return t(r,e)},PM}(),n=iz(),o=$j(),i=e([].concat);return zM=t("Reflect","ownKeys")||function(t){var e=r.f(o(t)),u=n.f;return u?i(e,u(t)):e}}(),r=Bj(),n=Uj();return $M=function(o,i,u){for(var a=e(i),s=n.f,c=r.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function az(){if(qM)return WM;qM=1;var t=TL(),e=Bj().f,r=Vj(),n=pM(),o=Sj(),i=uz(),u=function(){if(GM)return VM;GM=1;var t=jL(),e=j_(),r=/#|\.prototype\./,n=function(r,n){var s=i[o(r)];return s===a||s!==u&&(e(n)?t(n):!!n)},o=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},i=n.data={},u=n.NATIVE="N",a=n.POLYFILL="P";return VM=n}();return WM=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&r(d,"sham",!0),n(c,l,d,a)}}}function sz(){if(YM)return KM;YM=1;var t={};return t[Tj()("toStringTag")]="z",KM="[object z]"===String(t)}function cz(){if(JM)return XM;JM=1;var t=sz(),e=j_(),r=I_(),n=Tj()("toStringTag"),o=Object,i="Arguments"===r(function(){return arguments}());return XM=t?r:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),n))?a:i?r(u):"Object"===(s=r(u))&&e(u.callee)?"Arguments":s}}function lz(){if(QM)return ZM;QM=1;var t=cz(),e=String;return ZM=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}function fz(){if(ez)return tz;ez=1;var t=$j();return tz=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}var dz,pz,hz,vz,gz,yz,mz,bz,Ez,wz,Sz,Cz,Dz,Oz,Az={};function xz(){if(pz)return dz;pz=1;var t=_M(),e=jM();return dz=Object.keys||function(r){return t(r,e)}}function Tz(){if(mz)return yz;mz=1;var t,e=$j(),r=function(){if(hz)return Az;hz=1;var t=ML(),e=Hj(),r=Uj(),n=$j(),o=__(),i=xz();return Az.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)r.f(t,u=s[l++],a[u]);return t},Az}(),n=jM(),o=lM(),i=function(){if(gz)return vz;gz=1;var t=z_();return vz=t("document","documentElement")}(),u=kj(),a=cM(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,o;h="undefined"!=typeof document?document.domain&&t?p(t):(r=u("iframe"),o="java"+c+":",r.style.display="none",i.appendChild(r),r.src=String(o),(e=r.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=n.length;a--;)delete h[s][n[a]];return h()};return o[l]=!0,yz=Object.create||function(t,n){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===n?o:r.f(o,n)}}function Nz(){if(Dz)return Cz;Dz=1;var t,e,r=HL(),n=B_(),o=lz(),i=fz(),u=function(){if(nz)return rz;nz=1;var t=jL(),e=TL().RegExp,r=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),n=r||t(function(){return!e("a","y").sticky}),o=r||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return rz={BROKEN_CARET:o,MISSED_STICKY:n,UNSUPPORTED_Y:r}}(),a=Dj(),s=Tz(),c=fM().get,l=function(){if(Ez)return bz;Ez=1;var t=jL(),e=TL().RegExp;return bz=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(Sz)return wz;Sz=1;var t=jL(),e=TL().RegExp;return wz=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=n("".charAt),g=n("".indexOf),y=n("".replace),m=n("".slice),b=(e=/b*/g,r(p,t=/a/,"a"),r(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,n,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=r(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=r(i,C),k=C.source,P=0,B=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),B=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(k="(?: "+k+")",B=" "+B,P++),n=new RegExp("^(?:"+k+")",N)),w&&(n=new RegExp("^"+k+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=r(p,T?n:C,B),T?a?(a.input=m(a.input,P),a[0]=m(a[0],P),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&r(d,a[0],n,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),Cz=h}function kz(){if(Oz)return xL;Oz=1;var t=az(),e=Nz();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),xL}kz();var Pz=function(t,e){return Pz=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},Pz(t,e)};function Bz(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}Pz(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var Iz=function(){return Iz=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Iz.apply(this,arguments)};function Fz(t,e,r,n){return new(r||(r=Promise))(function(o,i){function u(t){try{s(n.next(t))}catch(t){i(t)}}function a(t){try{s(n.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r(function(t){t(e)})).then(u,a)}s((n=n.apply(t,e||[])).next())})}function Rz(t,e){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=a(0),u.throw=a(1),u.return=a(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;u&&(u=0,a[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function Lz(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function _z(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u}function jz(t,e,r){if(2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var Mz,zz,Hz,$z,Uz,Vz,Gz,Wz,qz,Kz,Yz,Xz,Jz,Zz,Qz,tH,eH,rH='<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>',nH='<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>',oH='<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>',iH=function(){function t(){this.title=LF("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(t){return""},t.prototype.isActive=function(t){return!!CB.getSelectedNodeByType(t,"blockquote")},t.prototype.isDisabled=function(t){return null==t.selection||!_z(Kh.nodes(t,{match:function(t){var e=CB.getNodeType(t);return"paragraph"===e||"blockquote"===e},universal:!0,mode:"highest"}),1)[0]},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var r=this.isActive(t)?"paragraph":"blockquote";zv.setNodes(t,{type:r},{mode:"highest"})}},t}(),uH={key:"blockquote",factory:function(){return new iH}},aH={};function sH(){if(zz)return Mz;zz=1;var t=I_(),e=B_();return Mz=function(r){if("Function"===t(r))return e(r)}}function cH(){if(Vz)return Uz;Vz=1;var t=I_();return Uz=Array.isArray||function(e){return"Array"===t(e)}}function lH(){if(Wz)return Gz;Wz=1;var t=B_(),e=jL(),r=j_(),n=cz(),o=z_(),i=sM(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!r(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,Gz=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function fH(){if(Xz)return Yz;Xz=1;var t=function(){if(Kz)return qz;Kz=1;var t=cH(),e=lH(),r=M_(),n=Tj()("species"),o=Array;return qz=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||r(u)&&null===(u=u[n]))&&(u=void 0)),void 0===u?o:u}}();return Yz=function(e,r){return new(t(e))(0===r?0:r)}}function dH(){if(Zz)return Jz;Zz=1;var t=function(){if($z)return Hz;$z=1;var t=sH(),e=K_(),r=zL(),n=t(t.bind);return Hz=function(t,o){return e(t),void 0===o?t:r?n(t,o):function(){return t.apply(o,arguments)}},Hz}(),e=B_(),r=F_(),n=Oj(),o=RM(),i=fH(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=n(h),w=r(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return Jz={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}function pH(){if(tH)return Qz;tH=1;var t=jL(),e=Tj(),r=U_(),n=e("species");return Qz=function(e){return r>=51||!t(function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}!function(){if(eH)return aH;eH=1;var t=az(),e=dH().filter;t({target:"Array",proto:!0,forced:!pH()("filter")},{filter:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var hH,vH,gH,yH={};!function(){if(gH)return yH;gH=1;var t=sz(),e=pM(),r=function(){if(vH)return hH;vH=1;var t=sz(),e=cz();return hH=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var mH,bH,EH,wH,SH,CH,DH,OH,AH,xH,TH,NH,kH,PH,BH,IH,FH,RH={};function LH(){if(wH)return EH;wH=1,kz();var t=HL(),e=pM(),r=Nz(),n=jL(),o=Tj(),i=Vj(),u=o("species"),a=RegExp.prototype;return EH=function(s,c,l,f){var d=o(s),p=!n(function(){var t={};return t[d]=function(){return 7},7!==""[s](t)}),h=p&&!n(function(){var t=!1,e=/a/;return"split"===s&&((e={}).constructor={},e.constructor[u]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return t=!0,null},e[d](""),!t});if(!p||!h||l){var v=/./[d],g=c(d,""[s],function(e,n,o,i,u){var s=n.exec;return s===r||s===a.exec?p&&!u?{done:!0,value:t(v,n,o,i)}:{done:!0,value:t(e,o,n,i)}:{done:!1}});e(String.prototype,s,g[0]),e(a,d,g[1])}f&&i(a[d],"sham",!0)}}function _H(){if(OH)return DH;OH=1;var t=function(){if(CH)return SH;CH=1;var t=B_(),e=BM(),r=lz(),n=L_(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=r(n(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return SH={codeAt:a(!1),charAt:a(!0)}}().charAt;return DH=function(e,r,n){return r+(n?t(e,r).length:1)},DH}function jH(){if(PH)return kH;PH=1;var t=HL(),e=Aj(),r=H_(),n=function(){if(NH)return TH;NH=1;var t=TL(),e=jL(),r=t.RegExp,n=!e(function(){var t=!0;try{r(".","d")}catch(e){t=!1}var e={},n="",o=t?"dgimsy":"gimsy",i=function(t,r){Object.defineProperty(e,t,{get:function(){return n+=r,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(e)!==o||n!==o});return TH={correct:n}}(),o=fz(),i=RegExp.prototype;return kH=n.correct?function(t){return t.flags}:function(u){return n.correct||!r(i,u)||e(u,"flags")?u.flags:t(o,u)}}function MH(){if(IH)return BH;IH=1;var t=HL(),e=$j(),r=j_(),n=I_(),o=Nz(),i=TypeError;return BH=function(u,a){var s=u.exec;if(r(s)){var c=t(s,u,a);return null!==c&&e(c),c}if("RegExp"===n(u))return t(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}!function(){if(FH)return RH;FH=1;var t=function(){if(bH)return mH;bH=1;var t=zL(),e=Function.prototype,r=e.apply,n=e.call;return mH="object"==typeof Reflect&&Reflect.apply||(t?n.bind(r):function(){return n.apply(r,arguments)}),mH}(),e=HL(),r=B_(),n=LH(),o=jL(),i=$j(),u=j_(),a=M_(),s=BM(),c=FM(),l=lz(),f=L_(),d=_H(),p=Y_(),h=function(){if(xH)return AH;xH=1;var t=B_(),e=Oj(),r=Math.floor,n=t("".charAt),o=t("".replace),i=t("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return AH=function(t,s,c,l,f,d){var p=c+t.length,h=l.length,v=a;return void 0!==f&&(f=e(f),v=u),o(d,v,function(e,o){var u;switch(n(o,0)){case"$":return"$";case"&":return t;case"`":return i(s,0,c);case"'":return i(s,p);case"<":u=f[i(o,1,-1)];break;default:var a=+o;if(0===a)return e;if(a>h){var d=r(a/10);return 0===d?e:d<=h?void 0===l[d-1]?n(o,1):l[d-1]+n(o,1):e}u=l[a-1]}return void 0===u?"":u})}}(),v=jH(),g=MH(),y=Tj()("replace"),m=Math.max,b=Math.min,E=r([].concat),w=r([].push),S=r("".indexOf),C=r("".slice),D=function(t){return void 0===t?t:String(t)},O="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");n("replace",function(r,n,o){var O=A?"$":"$0";return[function(t,r){var o=f(this),i=a(t)?p(t,y):void 0;return i?e(i,t,o,r):e(n,l(o),t,r)},function(e,r){var a=i(this),f=l(e);if("string"==typeof r&&-1===S(r,O)&&-1===S(r,"$<")){var p=o(n,a,f,r);if(p.done)return p.value}var y=u(r);y||(r=l(r));var A,x=l(v(a)),T=-1!==S(x,"g");T&&(A=-1!==S(x,"u"),a.lastIndex=0);for(var N,k=[];null!==(N=g(a,f))&&(w(k,N),T);)""===l(N[0])&&(a.lastIndex=d(f,c(a.lastIndex),A));for(var P="",B=0,I=0;I<k.length;I++){for(var F,R=l((N=k[I])[0]),L=m(b(s(N.index),f.length),0),_=[],j=1;j<N.length;j++)w(_,D(N[j]));var M=N.groups;if(y){var z=E([R],_,L,f);void 0!==M&&w(z,M),F=l(t(r,void 0,z))}else F=h(R,f,L,_,M,r);L>=B&&(P+=C(f,B,L)+F,B=L+R.length)}return P+C(f,B)}]},!!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!O||A)}();var zH,HH,$H,UH={};function VH(){if(HH)return zH;HH=1;var t=Tj(),e=Tz(),r=Uj().f,n=t("unscopables"),o=Array.prototype;return void 0===o[n]&&r(o,n,{configurable:!0,value:e(null)}),zH=function(t){o[n][t]=!0}}!function(){if($H)return UH;$H=1;var t=az(),e=dH().find,r=VH(),n="find",o=!0;n in[]&&Array(1)[n](function(){o=!1}),t({target:"Array",proto:!0,forced:o},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r(n)}();var GH,WH,qH,KH,YH,XH,JH,ZH={};function QH(){return WH?GH:(WH=1,GH="\t\n\v\f\r \u2028\u2029\ufeff")}!function(){if(JH)return ZH;JH=1;var t=az(),e=function(){if(KH)return qH;KH=1;var t=B_(),e=L_(),r=lz(),n=QH(),o=t("".replace),i=RegExp("^["+n+"]+"),u=RegExp("(^|[^"+n+"])["+n+"]+$"),a=function(t){return function(n){var a=r(e(n));return 1&t&&(a=o(a,i,"")),2&t&&(a=o(a,u,"$1")),a}};return qH={start:a(1),end:a(2),trim:a(3)}}().trim,r=function(){if(XH)return YH;XH=1;var t=aM().PROPER,e=jL(),r=QH();return YH=function(n){return e(function(){return!!r[n]()||"
"!=="
"[n]()||t&&r[n].name!==n})}}();t({target:"String",proto:!0,forced:r("trim")},{trim:function(){return e(this)}})}();var t$,e$,r$={};function n$(t){return 0===og("<div>".concat(t,"</div>")).children().filter(function(t){return"BR"!==t.tagName}).length}function o$(t){return 0===t.length?"":t[0].outerHTML}function i$(t){return t.length?t[0].tagName.toLowerCase():""}function u$(t,e){for(var r="",n=(t.attr("style")||"").split(";"),o=n.length,i=0;i<o;i+=1){var u=n[i];if(u){var a=u.split(":");a[0].trim()===e&&(r=a[1].trim())}}return r}e$||(e$=1,function(){if(t$)return r$;t$=1;var t=az(),e=TL();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}()),Eg&&(og.fn.css=Eg),Ag&&(og.fn.append=Ag),xg&&(og.fn.prepend=xg),ig&&(og.fn.addClass=ig),ug&&(og.fn.removeClass=ug),ag&&(og.fn.hasClass=ag),pg&&(og.fn.on=pg),hg&&(og.fn.off=hg),_g&&(og.fn.focus=_g),sg&&(og.fn.attr=sg),cg&&(og.fn.removeAttr=cg),mg&&(og.fn.hide=mg),bg&&(og.fn.show=bg),Ng&&(og.fn.parents=Ng),fg&&(og.fn.dataset=fg),dg&&(og.fn.val=dg),Dg&&(og.fn.text=Dg),Cg&&(og.fn.html=Cg),Pg&&(og.fn.children=Pg),Bg&&(og.fn.remove=Bg),kg&&(og.fn.find=kg),vg&&(og.fn.width=vg),gg&&(og.fn.height=gg),Sg&&(og.fn.filter=Sg),Ig&&(og.fn.empty=Ig);var a$,s$,c$,l$,f$,d$={selector:"blockquote:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n=og(t);return 0===(e=e.filter(function(t){return!!wv.isText(t)||!!r.isInline(t)})).length&&(e=[{text:n.text().replace(/\s+/gm," ")}]),{type:"blockquote",children:e}}},p$={};function h$(){if(s$)return a$;s$=1;var t=ML(),e=Uj(),r=P_();return a$=function(n,o,i){t?e.f(n,o,r(0,i)):n[o]=i}}function v$(){if(l$)return c$;l$=1;var t=B_();return c$=t([].slice)}function g$(t){t.deleteBackward("character"),zv.insertNodes(t,{type:"paragraph",children:[{text:""}]},{mode:"highest"})}!function(){if(f$)return p$;f$=1;var t=az(),e=cH(),r=lH(),n=M_(),o=IM(),i=RM(),u=__(),a=h$(),s=Tj(),c=pH(),l=v$(),f=c("slice"),d=s("species"),p=Array,h=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,s){var c,f,v,g=u(this),y=i(g),m=o(t,y),b=o(void 0===s?y:s,y);if(e(g)&&(c=g.constructor,(r(c)&&(c===p||e(c.prototype))||n(c)&&null===(c=c[d]))&&(c=void 0),c===p||void 0===c))return l(g,m,b);for(f=new(void 0===c?p:c)(h(b-m,0)),v=0;m<b;m++,v++)m in g&&a(f,v,g[m]);return f.length=v,f}})}();var y$,m$={type:"blockquote",renderElem:function(t,e,r){return Ry("blockquote",null,e)}},b$={renderElems:[m$],elemsToHtml:[{type:"blockquote",elemToHtml:function(t,e){return"<blockquote>".concat(e,"</blockquote>")}}],parseElemsHtml:[d$],menus:[uH],editorPlugin:function(t){var e=t.insertBreak,r=t.insertText,n=t;return n.insertBreak=function(){var o=n.selection;if(null==o)return e();var i=_z(Kh.nodes(t,{match:function(t){return CB.checkNodeType(t,"blockquote")},universal:!0}),1)[0];if(!i)return e();var u=i[0];if(CB.getParentNode(t,u)){var a=CB.findPath(t,u),s=Kh.end(t,a);if(sv.equals(s,o.focus)){var c=tv.string(u);if(c&&"\n"===c.slice(-1))return void g$(n)}r("\n")}else g$(n)},n}},E$={};!function(){if(y$)return E$;y$=1;var t=az(),e=LM().includes,r=jL(),n=VH();t({target:"Array",proto:!0,forced:r(function(){return!Array(1).includes()})},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n("includes")}();var w$,S$,C$,D$={};function O$(){if(S$)return w$;S$=1;var t=jL();return w$=function(e,r){var n=[][e];return!!n&&t(function(){n.call(null,r||function(){return 1},1)})}}!function(){if(C$)return D$;C$=1;var t=az(),e=B_(),r=F_(),n=__(),o=O$(),i=e([].join);t({target:"Array",proto:!0,forced:r!==Object||!o("join",",")},{join:function(t){return i(n(this),void 0===t?",":t)}})}();var A$,x$={};!function(){if(A$)return x$;A$=1;var t=az(),e=dH().map;t({target:"Array",proto:!0,forced:!pH()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var T$,N$={};!function(){if(T$)return N$;T$=1;var t=aM().PROPER,e=pM(),r=$j(),n=lz(),o=jL(),i=jH(),u="toString",a=RegExp.prototype,s=a[u],c=o(function(){return"/a/b"!==s.call({source:"a",flags:"b"})}),l=t&&s.name!==u;(c||l)&&e(a,u,function(){var t=r(this);return"/"+n(t.source)+"/"+n(i(t))},{unsafe:!0})}();var k$,P$,B$,I$,F$,R$,L$,_$={};function j$(){if(I$)return B$;I$=1;var t=function(){if(P$)return k$;P$=1;var t=M_(),e=I_(),r=Tj()("match");return k$=function(n){var o;return t(n)&&(void 0!==(o=n[r])?!!o:"RegExp"===e(n))}}(),e=TypeError;return B$=function(r){if(t(r))throw new e("The method doesn't accept regular expressions");return r}}function M$(){if(R$)return F$;R$=1;var t=Tj()("match");return F$=function(e){var r=/./;try{"/./"[e](r)}catch(n){try{return r[t]=!1,"/./"[e](r)}catch(t){}}return!1}}!function(){if(L$)return _$;L$=1;var t=az(),e=B_(),r=j$(),n=L_(),o=lz(),i=M$(),u=e("".indexOf);t({target:"String",proto:!0,forced:!i("includes")},{includes:function(t){return!!~u(o(n(this)),o(r(t)),arguments.length>1?arguments[1]:void 0)}})}();var z$,H$,$$,U$,V$,G$,W$,q$,K$,Y$,X$,J$=function(){function t(){this.title=LF("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(t){var e=CB.getSelectedNodeByType(t,"code");if(null==e)return null;var r=CB.getParentNode(t,e);return null==r||"pre"!==CB.getNodeType(r)?null:e},t.prototype.getValue=function(t){var e=this.getSelectCodeElem(t);if(null==e){var r=t.getMenuConfig("codeSelectLang").codeLangs,n=(void 0===r?[]:r).find(function(t){return t.selected});return(null==n?void 0:n.value)||""}return e.language||""},t.prototype.isActive=function(t){return!!this.getSelectCodeElem(t)},t.prototype.isDisabled=function(t){if(null==t.selection)return!0;var e=CB.getSelectedElems(t);return!!e.some(function(e){return t.isVoid(e)})||!e.some(function(t){var e=CB.getNodeType(t);return"pre"===e||"paragraph"===e})},t.prototype.exec=function(t,e){this.isActive(t)?this.changeToPlainText(t):this.changeToCodeBlock(t,e.toString())},t.prototype.changeToPlainText=function(t){var e=this.getSelectCodeElem(t);if(null!=e){var r=tv.string(e);zv.removeNodes(t,{mode:"highest"});var n=r.split("\n").map(function(t){return{type:"paragraph",children:[{text:t}]}});zv.insertNodes(t,n,{mode:"highest"})}},t.prototype.changeToCodeBlock=function(t,e){var r,n,o=[],i=Kh.nodes(t,{match:function(e){return t.children.includes(e)},universal:!0});try{for(var u=Lz(i),a=u.next();!a.done;a=u.next()){var s=_z(a.value,1)[0];s&&o.push(tv.string(s))}}catch(t){r={error:t}}finally{try{a&&!a.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}zv.removeNodes(t,{mode:"highest"});var c={type:"pre",children:[{type:"code",language:e,children:[{text:o.join("\n")}]}]};zv.insertNodes(t,c,{mode:"highest"})},t}(),Z$={key:"codeBlock",factory:function(){return new J$}},Q$={selector:"pre:not([data-w-e-type])>code",parseElemHtml:function(t,e,r){return{type:"code",language:"",children:[{text:og(t)[0].textContent||""}]}}},tU={selector:"pre:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n=og(t);return 0===(e=e.filter(function(t){return"code"===CB.getNodeType(t)})).length&&(e=[{type:"code",language:"",children:[{text:n[0].textContent||""}]}]),{type:"pre",children:e.filter(function(t){return"code"===CB.getNodeType(t)})}}},eU={};!function(){if(X$)return eU;X$=1;var t=az(),e=B_(),r=K_(),n=Oj(),o=RM(),i=function(){if(H$)return z$;H$=1;var t=q_(),e=TypeError;return z$=function(r,n){if(!delete r[n])throw new e("Cannot delete property "+t(n)+" of "+t(r))}}(),u=lz(),a=jL(),s=function(){if(U$)return $$;U$=1;var t=v$(),e=Math.floor,r=function(n,o){var i=n.length;if(i<8)for(var u,a,s=1;s<i;){for(a=s,u=n[s];a&&o(n[a-1],u)>0;)n[a]=n[--a];a!==s++&&(n[a]=u)}else for(var c=e(i/2),l=r(t(n,0,c),o),f=r(t(n,c),o),d=l.length,p=f.length,h=0,v=0;h<d||v<p;)n[h+v]=h<d&&v<p?o(l[h],f[v])<=0?l[h++]:f[v++]:h<d?l[h++]:f[v++];return n};return $$=r}(),c=O$(),l=function(){if(G$)return V$;G$=1;var t=$_().match(/firefox\/(\d+)/i);return V$=!!t&&+t[1]}(),f=function(){if(q$)return W$;q$=1;var t=$_();return W$=/MSIE|Trident/.test(t)}(),d=U_(),p=function(){if(Y$)return K$;Y$=1;var t=$_().match(/AppleWebKit\/(\d+)\./);return K$=!!t&&+t[1]}(),h=[],v=e(h.sort),g=e(h.push),y=a(function(){h.sort(void 0)}),m=a(function(){h.sort(null)}),b=c("sort"),E=!a(function(){if(d)return d<70;if(!(l&&l>3)){if(f)return!0;if(p)return p<603;var t,e,r,n,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)h.push({k:e+n,v:r})}for(h.sort(function(t,e){return e.v-t.v}),n=0;n<h.length;n++)e=h[n].k.charAt(0),o.charAt(o.length-1)!==e&&(o+=e);return"DGBEFHACIJK"!==o}});t({target:"Array",proto:!0,forced:y||!m||!b||!E},{sort:function(t){void 0!==t&&r(t);var e=n(this);if(E)return void 0===t?v(e):v(e,t);var a,c,l=[],f=o(e);for(c=0;c<f;c++)c in e&&g(l,e[c]);for(s(l,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:u(e)>u(r)?1:-1}}(t)),a=o(l),c=0;c<a;)e[c]=l[c++];for(;c<f;)i(e,c++);return e}})}();var rU,nU={};!function(){if(rU)return nU;rU=1;var t=HL(),e=B_(),r=LH(),n=$j(),o=M_(),i=FM(),u=lz(),a=L_(),s=Y_(),c=_H(),l=jH(),f=MH(),d=e("".indexOf);r("match",function(e,r,p){return[function(r){var n=a(this),i=o(r)?s(r,e):void 0;return i?t(i,r,n):new RegExp(r)[e](u(n))},function(t){var e=n(this),o=u(t),a=p(r,e,o);if(a.done)return a.value;var s=u(l(e));if(-1===d(s,"g"))return f(e,o);var h=-1!==d(s,"u");e.lastIndex=0;for(var v,g=[],y=0;null!==(v=f(e,o));){var m=u(v[0]);g[y]=m,""===m&&(e.lastIndex=c(o,i(e.lastIndex),h)),y++}return 0===y?null:g}]})}();var oU,iU,uU,aU,sU,cU={};function lU(){if(iU)return oU;iU=1;var t=B_(),e=L_(),r=lz(),n=/"/g,o=t("".replace);return oU=function(t,i,u,a){var s=r(e(t)),c="<"+i;return""!==u&&(c+=" "+u+'="'+o(r(a),n,""")+'"'),c+">"+s+"</"+i+">"}}function fU(){if(aU)return uU;aU=1;var t=jL();return uU=function(e){return t(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})}}!function(){if(sU)return cU;sU=1;var t=az(),e=lU();t({target:"String",proto:!0,forced:fU()("anchor")},{anchor:function(t){return e(this,"a","name",t)}})}();var dU,pU,hU,vU={type:"pre",renderElem:function(t,e,r){return Ry("pre",null,e)}},gU={type:"code",renderElem:function(t,e,r){return Ry("code",null,e)}},yU={menus:[Z$],editorPlugin:function(t){var e=t.insertBreak,r=t.normalizeNode,n=t.insertData,o=t.handleTab,i=t;return i.insertBreak=function(){var t=CB.getSelectedNodeByType(i,"code");if(null!=t){var r=function(t,e){var r=e.selection;if(null==r)return"";var n=tv.string(t),o=r.anchor.offset,i=n.slice(0,o).split("\n"),u=i.length;return 0===u?"":i[u-1]}(t,i);if(r){var n=r.match(/^\s+/);if(null!=n&&null!=n[0]){var o=n[0];return void i.insertText("\n".concat(o))}}i.insertText("\n")}else e()},t.handleTab=function(){var e=t.selection;if(e){var r=CB.getSelectedNodeByType(t,"code");if(r&&!dv.isCollapsed(e)){var n=_z([e.anchor,e.focus].sort(function(t,e){return t.offset-e.offset}),2),i=n[0],u=n[1],a=r.children[0].text,s=a.split("\n"),c=a.slice(0,i.offset).split("\n").length-1,l=a.slice(0,u.offset).split("\n").length-1,f=s.map(function(t,e){return e>=c&&e<=l?" ".concat(t):t}),d=f.join("\n"),p={anchor:{path:i.path,offset:i.offset+2},focus:{path:u.path,offset:u.offset+2}};zv.insertText(t,d,{at:{anchor:{path:i.path,offset:0},focus:{path:u.path,offset:a.length}}}),zv.select(t,p)}else o()}},i.normalizeNode=function(t){var e=_z(t,2),n=e[0],o=e[1],u=CB.getNodeType(n);return"code"===u&&o.length<=1&&zv.setNodes(i,{type:"paragraph"},{at:o}),"pre"===u&&(CB.isLastNode(i,n)&&zv.insertNodes(i,CB.genEmptyParagraph(),{at:[o[0]+1]}),"code"!==CB.getNodeType(n.children[0])&&(zv.unwrapNodes(i),zv.setNodes(i,{type:"paragraph"},{mode:"highest"}))),r([n,o])},i.insertData=function(t){if(null!=CB.getSelectedNodeByType(i,"code")){var e=t.getData("text/plain");Kh.insertText(i,e)}else n(t)},i},renderElems:[vU,gU],elemsToHtml:[{type:"code",elemToHtml:function(t,e){return"<code>".concat(e,"</code>")}},{type:"pre",elemToHtml:function(t,e){return"<pre>".concat(e,"</pre>")}}],preParseHtml:[{selector:"pre>code",preParseHtml:function(t){var e=og(t);if("code"!==i$(e))return t;var r=e.find("xmp");if(0===r.length)return t;var n=r.text();return r.remove(),e.text(n),e[0]}}],parseElemsHtml:[Q$,tU]},mU={};!function(){if(hU)return mU;hU=1;var t=az(),e=jL(),r=cH(),n=M_(),o=Oj(),i=RM(),u=function(){if(pU)return dU;pU=1;var t=TypeError;return dU=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}(),a=h$(),s=fH(),c=pH(),l=Tj(),f=U_(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!n(t))return!1;var e=t[d];return void 0!==e?!!e:r(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,r,n,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),r=0;r<c;r++,p++)r in l&&a(d,p,l[r]);else u(p+1),a(d,p++,l);return d.length=p,d}})}();var bU,EU,wU,SU,CU,DU,OU,AU={};!function(){if(OU)return AU;OU=1;var t=TL(),e=EU?bU:(EU=1,bU={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}),r=function(){if(SU)return wU;SU=1;var t=kj()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return wU=e===Object.prototype?void 0:e}(),n=function(){if(DU)return CU;DU=1;var t=dH().forEach,e=O$()("forEach");return CU=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},CU}(),o=Vj(),i=function(t){if(t&&t.forEach!==n)try{o(t,"forEach",n)}catch(e){t.forEach=n}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(r)}();var xU,TU,NU,kU=function(){function t(){this.tag="button",this.showDropPanel=!0,this.$content=null}return t.prototype.exec=function(t,e){},t.prototype.getValue=function(t){var e=this.mark,r=Kh.marks(t);return r&&r[e]?r[e]:""},t.prototype.isActive=function(t){return!!this.getValue(t)},t.prototype.isDisabled=function(t){return null==t.selection||!!_z(Kh.nodes(t,{match:function(e){return"pre"===CB.getNodeType(e)||!!Kh.isVoid(t,e)},universal:!0}),1)[0]},t.prototype.getPanelContentElem=function(t){var e=this.mark;if(null==this.$content){var r=og('<ul class="w-e-panel-content-color"></ul>');r.on("click","li",function(r){var n=r.target;if(null!=n&&(r.preventDefault(),null!=t.selection)){var o=og(n).attr("data-value");"0"===o?Kh.removeMark(t,e):Kh.addMark(t,e,o)}}),this.$content=r}var n=this.$content;if(null==n)return document.createElement("ul");n.empty();var o=this.getValue(t),i=t.getMenuConfig(e).colors;(void 0===i?[]:i).forEach(function(t){var e=og('<div class="color-block" data-value="'.concat(t,'"></div>'));e.css("background-color",t);var r=og('<li data-value="'.concat(t,'"></li>'));o===t&&r.addClass("active"),r.append(e),n.append(r)});var u="";"color"===e&&(u=LF("color.default")),"bgColor"===e&&(u=LF("color.clear"));var a=og('\n <li data-value="0" class="clear">\n '.concat('<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>',"\n ").concat(u,"\n </li>\n "));return n.prepend(a),n[0]},t}(),PU=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.title=LF("color.bgColor"),e.iconSvg='<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>',e.mark="bgColor",e}return Bz(e,t),e}(kU),BU=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.title=LF("color.color"),e.iconSvg='<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>',e.mark="color",e}return Bz(e,t),e}(kU),IU=["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)"],FU={key:"color",factory:function(){return new BU},config:{colors:IU}},RU={key:"bgColor",factory:function(){return new PU},config:{colors:IU}},LU={selector:"font",preParseHtml:function(t){var e=og(t);if("font"!==i$(e))return t;var r=e.attr("color")||"";return r&&(e.removeAttr("color"),e.css("color",r)),e[0]}},_U={};function jU(t,e){null==t.data&&(t.data={});var r=t.data;null==r.style&&(r.style={}),Object.assign(r.style,e)}!function(){if(NU)return _U;NU=1;var t=az(),e=function(){if(TU)return xU;TU=1;var t=ML(),e=B_(),r=HL(),n=jL(),o=xz(),i=iz(),u=k_(),a=Oj(),s=F_(),c=Object.assign,l=Object.defineProperty,f=e([].concat);return xU=!c||n(function(){if(t&&1!==c({b:1},c(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},r={},n=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(t){r[t]=t}),7!==c({},e)[n]||o(c({},r)).join("")!==i})?function(e,n){for(var c=a(e),l=arguments.length,d=1,p=i.f,h=u.f;l>d;)for(var v,g=s(arguments[d++]),y=p?f(o(g),p(g)):o(g),m=y.length,b=0;m>b;)v=y[b++],t&&!r(h,g,v)||(c[v]=g[v]);return c}:c,xU}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var MU,zU,HU,$U,UU,VU,GU,WU,qU,KU,YU,XU,JU,ZU,QU,tV,eV={renderStyle:function(t,e){var r=t,n=r.color,o=r.bgColor,i=e;return n&&jU(i,{color:n}),o&&jU(i,{backgroundColor:o}),i},styleToHtml:function(t,e){if(!wv.isText(t))return e;var r,n=t,o=n.color,i=n.bgColor;return o||i?((n$(e)||"span"!==i$(r=og(e)))&&(r=og("<span>".concat(e,"</span>"))),o&&r.css("color",o),i&&r.css("background-color",i),o$(r)):e},preParseHtml:[LU],parseStyleHtml:function(t,e,r){var n=og(t);if(!wv.isText(e))return e;var o=e,i=u$(n,"color");i&&(o.color=i);var u=u$(n,"background-color");return u||(u=u$(n,"background")),u&&(o.bgColor=u),o},menus:[FU,RU]},rV=function(){function t(){this.title=LF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!!dv.isExpanded(e)},t.prototype.exec=function(t,e){var r=t.selection;if(null!=r){var n=[r.anchor.path[0]];zv.insertNodes(t,{type:"paragraph",children:[{text:""}]},{at:n}),t.select(Kh.start(t,n))}},t}(),nV={menus:[{key:"enter",factory:function(){return new rV}}]},oV=function(){function t(){this.title=LF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||!!CB.getSelectedElems(t).some(function(e){if(t.isVoid(e))return!0;var r=CB.getNodeType(e);return"table"===r||"pre"===r})},t.prototype.exec=function(t,e){CB.isSelectedEmptyParagraph(t)&&zv.removeNodes(t,{mode:"highest"}),zv.insertNodes(t,{type:"divider",children:[{text:""}]},{mode:"highest"})},t}(),iV={renderElems:[{type:"divider",renderElem:function(t,e,r){return vy("div",{props:{contentEditable:!1,className:"w-e-textarea-divider"},dataset:{selected:CB.isNodeSelected(r,t)?"true":""},style:{},on:{mousedown:function(t){return t.preventDefault()}}},[vy("hr")])}}],elemsToHtml:[{type:"divider",elemToHtml:function(t,e){return"<hr/>"}}],parseElemsHtml:[{selector:"hr:not([data-w-e-type])",parseElemHtml:function(t,e,r){return{type:"divider",children:[{text:""}]}}}],menus:[{key:"divider",factory:function(){return new oV}}],editorPlugin:function(t){var e=t.isVoid,r=t.normalizeNode,n=t;return n.isVoid=function(t){return"divider"===t.type||e(t)},n.normalizeNode=function(t){var e=_z(t,2),o=e[0],i=e[1];if("divider"!==CB.getNodeType(o))return r([o,i]);CB.isLastNode(n,o)&&zv.insertNodes(n,CB.genEmptyParagraph(),{at:[i[0]+1]})},n}},uV=function(){function t(){this.title=LF("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(t,e){},t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||!!_z(Kh.nodes(t,{match:function(e){return"pre"===CB.getNodeType(e)||!!Kh.isVoid(t,e)},universal:!0}),1)[0]},t.prototype.getPanelContentElem=function(t){if(null==this.$content){var e=og('<ul class="w-e-panel-content-emotion"></ul>');e.on("click","li",function(e){var r=e.target;if(null!=r){e.preventDefault();var n=og(r).text();t.insertText(n)}}),this.$content=e}var r=this.$content;if(null==r)return document.createElement("ul");r.empty();var n=t.getMenuConfig("emotion").emotions;return(void 0===n?[]:n).forEach(function(t){var e=og("<li>".concat(t,"</li>"));r.append(e)}),r[0]},t}(),aV={menus:[{key:"emotion",factory:function(){return new uV},config:{emotions:"😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 😘 😗 😙 😚 😋 😛 😝 😜 🤓 😎 😏 😒 😞 😔 😟 😕 🙁 😣 😖 😫 😩 😢 😭 😤 😠 😡 😳 😱 😨 🤗 🤔 😶 😑 😬 🙄 😯 😴 😷 🤑 😈 🤡 💩 👻 💀 👀 👣 👐 🙌 👏 🤝 👍 👎 👊 ✊ 🤛 🤜 🤞 ✌️ 🤘 👌 👈 👉 👆 👇 ☝️ ✋ 🤚 🖐 🖖 👋 🤙 💪 🖕 ✍️ 🙏".split(" ")}}]},sV={};function cV(){if(zU)return MU;zU=1;var t=function(t){return t&&t.Math===Math&&t};return MU=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof CL&&CL)||t("object"==typeof MU&&MU)||function(){return this}()||Function("return this")()}function lV(){return $U?HU:($U=1,HU=function(t){try{return!!t()}catch(t){return!0}})}function fV(){return VU?UU:(VU=1,UU=!lV()(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))}function dV(){if(WU)return GU;WU=1;var t=fV(),e=Function.prototype,r=e.apply,n=e.call;return GU="object"==typeof Reflect&&Reflect.apply||(t?n.bind(r):function(){return n.apply(r,arguments)}),GU}function pV(){if(KU)return qU;KU=1;var t=fV(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return qU=t?n:function(t){return function(){return r.apply(t,arguments)}},qU}function hV(){if(XU)return YU;XU=1;var t=pV(),e=t({}.toString),r=t("".slice);return YU=function(t){return r(e(t),8,-1)}}function vV(){if(ZU)return JU;ZU=1;var t=hV(),e=pV();return JU=function(r){if("Function"===t(r))return e(r)}}function gV(){if(tV)return QU;tV=1;var t="object"==typeof document&&document.all;return QU=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}var yV,mV,bV,EV,wV={};function SV(){return mV?yV:(mV=1,yV=!lV()(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))}function CV(){if(EV)return bV;EV=1;var t=fV(),e=Function.prototype.call;return bV=t?e.bind(e):function(){return e.apply(e,arguments)},bV}var DV,OV,AV,xV,TV,NV,kV,PV,BV,IV,FV,RV,LV,_V,jV,MV,zV,HV,$V,UV,VV,GV,WV,qV,KV,YV,XV,JV,ZV,QV,tG,eG,rG,nG,oG,iG,uG,aG={};function sG(){if(DV)return aG;DV=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return aG.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,aG}function cG(){return AV?OV:(AV=1,OV=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function lG(){if(TV)return xV;TV=1;var t=pV(),e=lV(),r=hV(),n=Object,o=t("".split);return xV=e(function(){return!n("z").propertyIsEnumerable(0)})?function(t){return"String"===r(t)?o(t,""):n(t)}:n}function fG(){return kV?NV:(kV=1,NV=function(t){return null==t})}function dG(){if(BV)return PV;BV=1;var t=fG(),e=TypeError;return PV=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function pG(){if(FV)return IV;FV=1;var t=lG(),e=dG();return IV=function(r){return t(e(r))}}function hG(){if(LV)return RV;LV=1;var t=gV();return RV=function(e){return"object"==typeof e?null!==e:t(e)}}function vG(){return jV?_V:(jV=1,_V={})}function gG(){if(zV)return MV;zV=1;var t=vG(),e=cV(),r=gV(),n=function(t){return r(t)?t:void 0};return MV=function(r,o){return arguments.length<2?n(t[r])||n(e[r]):t[r]&&t[r][o]||e[r]&&e[r][o]},MV}function yG(){return $V?HV:($V=1,HV=pV()({}.isPrototypeOf))}function mG(){if(WV)return GV;WV=1;var t,e,r=cV(),n=function(){if(VV)return UV;VV=1;var t=cV().navigator,e=t&&t.userAgent;return UV=e?String(e):""}(),o=r.process,i=r.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),GV=e}function bG(){if(KV)return qV;KV=1;var t=mG(),e=lV(),r=cV().String;return qV=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function EG(){return XV?YV:(XV=1,YV=bG()&&!Symbol.sham&&"symbol"==typeof Symbol.iterator)}function wG(){if(ZV)return JV;ZV=1;var t=gG(),e=gV(),r=yG(),n=Object;return JV=EG()?function(t){return"symbol"==typeof t}:function(o){var i=t("Symbol");return e(i)&&r(i.prototype,n(o))}}function SG(){if(tG)return QV;tG=1;var t=String;return QV=function(e){try{return t(e)}catch(t){return"Object"}}}function CG(){if(rG)return eG;rG=1;var t=gV(),e=SG(),r=TypeError;return eG=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}var DG,OG,AG,xG,TG,NG,kG,PG,BG,IG,FG,RG,LG,_G,jG,MG,zG,HG,$G,UG,VG,GG,WG,qG,KG,YG,XG,JG,ZG={exports:{}};function QG(){return OG?DG:(OG=1,DG=!0)}function tW(){if(TG)return ZG.exports;TG=1;var t=QG(),e=cV(),r=function(){if(xG)return AG;xG=1;var t=cV(),e=Object.defineProperty;return AG=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}(),n="__core-js_shared__",o=ZG.exports=e[n]||r(n,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),ZG.exports}function eW(){if(kG)return NG;kG=1;var t=tW();return NG=function(e,r){return t[e]||(t[e]=r||{})}}function rW(){if(BG)return PG;BG=1;var t=dG(),e=Object;return PG=function(r){return e(t(r))}}function nW(){if(FG)return IG;FG=1;var t=pV(),e=rW(),r=t({}.hasOwnProperty);return IG=Object.hasOwn||function(t,n){return r(e(t),n)}}function oW(){if(LG)return RG;LG=1;var t=pV(),e=0,r=Math.random(),n=t(1.1.toString);return RG=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function iW(){if(jG)return _G;jG=1;var t=cV(),e=eW(),r=nW(),n=oW(),o=bG(),i=EG(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||n;return _G=function(t){return r(a,t)||(a[t]=o&&r(u,t)?u[t]:s("Symbol."+t)),a[t]}}function uW(){if(zG)return MG;zG=1;var t=CV(),e=hG(),r=wG(),n=function(){if(oG)return nG;oG=1;var t=CG(),e=fG();return nG=function(r,n){var o=r[n];return e(o)?void 0:t(o)}}(),o=function(){if(uG)return iG;uG=1;var t=CV(),e=gV(),r=hG(),n=TypeError;return iG=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!r(a=t(u,o)))return a;if(e(u=o.valueOf)&&!r(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!r(a=t(u,o)))return a;throw new n("Can't convert object to primitive value")},iG}(),i=TypeError,u=iW()("toPrimitive");return MG=function(a,s){if(!e(a)||r(a))return a;var c,l=n(a,u);if(l){if(void 0===s&&(s="default"),c=t(l,a,s),!e(c)||r(c))return c;throw new i("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(a,s)}}function aW(){if($G)return HG;$G=1;var t=uW(),e=wG();return HG=function(r){var n=t(r,"string");return e(n)?n:n+""}}function sW(){if(VG)return UG;VG=1;var t=cV(),e=hG(),r=t.document,n=e(r)&&e(r.createElement);return UG=function(t){return n?r.createElement(t):{}}}function cW(){if(WG)return GG;WG=1;var t=SV(),e=lV(),r=sW();return GG=!t&&!e(function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})}function lW(){if(qG)return wV;qG=1;var t=SV(),e=CV(),r=sG(),n=cG(),o=pG(),i=aW(),u=nW(),a=cW(),s=Object.getOwnPropertyDescriptor;return wV.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return n(!e(r.f,t,c),t[c])},wV}function fW(){if(JG)return XG;JG=1;var t=vV(),e=CG(),r=fV(),n=t(t.bind);return XG=function(t,o){return e(t),void 0===o?t:r?n(t,o):function(){return t.apply(o,arguments)}},XG}var dW,pW,hW,vW,gW,yW,mW,bW,EW,wW,SW,CW,DW,OW,AW,xW,TW,NW,kW,PW,BW,IW,FW,RW,LW,_W,jW,MW,zW,HW,$W,UW,VW,GW,WW,qW,KW,YW,XW={};function JW(){return pW?dW:(pW=1,dW=SV()&&lV()(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype}))}function ZW(){if(vW)return hW;vW=1;var t=hG(),e=String,r=TypeError;return hW=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function QW(){if(gW)return XW;gW=1;var t=SV(),e=cW(),r=JW(),n=ZW(),o=aW(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return XW.f=t?r?function(t,e,r){if(n(t),e=o(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&l in r&&!r[l]){var i=a(t,e);i&&i[l]&&(t[e]=r.value,r={configurable:c in r?r[c]:i[c],enumerable:s in r?r[s]:i[s],writable:!1})}return u(t,e,r)}:u:function(t,r,a){if(n(t),r=o(r),n(a),e)try{return u(t,r,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[r]=a.value),t},XW}function tq(){if(mW)return yW;mW=1;var t=SV(),e=QW(),r=cG();return yW=t?function(t,n,o){return e.f(t,n,r(1,o))}:function(t,e,r){return t[e]=r,t}}function eq(){if(EW)return bW;EW=1;var t=cV(),e=dV(),r=vV(),n=gV(),o=lW().f,i=function(){if(YG)return KG;YG=1;var t=lV(),e=gV(),r=/#|\.prototype\./,n=function(r,n){var s=i[o(r)];return s===a||s!==u&&(e(n)?t(n):!!n)},o=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},i=n.data={},u=n.NATIVE="N",a=n.POLYFILL="P";return KG=n}(),u=vG(),a=fW(),s=tq(),c=nW(),l=function(t){var r=function(n,o,i){if(this instanceof r){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,o)}return new t(n,o,i)}return e(t,this,arguments)};return r.prototype=t.prototype,r};return bW=function(e,f){var d,p,h,v,g,y,m,b,E,w=e.target,S=e.global,C=e.stat,D=e.proto,O=S?t:C?t[w]:t[w]&&t[w].prototype,A=S?u:u[w]||s(u,w,{})[w],x=A.prototype;for(v in f)p=!(d=i(S?v:w+(C?".":"#")+v,e.forced))&&O&&c(O,v),y=A[v],p&&(m=e.dontCallGetSet?(E=o(O,v))&&E.value:O[v]),g=p&&m?m:f[v],(d||D||typeof y!=typeof g)&&(b=e.bind&&p?a(g,t):e.wrap&&p?l(g):D&&n(g)?r(g):g,(e.sham||g&&g.sham||y&&y.sham)&&s(b,"sham",!0),s(A,v,b),D&&(c(u,h=w+"Prototype")||s(u,h,{}),s(u[h],v,g),e.real&&x&&(d||!x[v])&&s(x,v,g)))}}function rq(){if(SW)return wW;SW=1;var t=hV();return wW=Array.isArray||function(e){return"Array"===t(e)}}function nq(){if(AW)return OW;AW=1;var t=function(){if(DW)return CW;DW=1;var t=Math.ceil,e=Math.floor;return CW=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return OW=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function oq(){if(kW)return NW;kW=1;var t=function(){if(TW)return xW;TW=1;var t=nq(),e=Math.min;return xW=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}();return NW=function(e){return t(e.length)}}function iq(){if(LW)return RW;LW=1;var t={};return t[iW()("toStringTag")]="z",RW="[object z]"===String(t)}function uq(){if(jW)return _W;jW=1;var t=iq(),e=gV(),r=hV(),n=iW()("toStringTag"),o=Object,i="Arguments"===r(function(){return arguments}());return _W=t?r:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),n))?a:i?r(u):"Object"===(s=r(u))&&e(u.callee)?"Arguments":s}}function aq(){if($W)return HW;$W=1;var t=pV(),e=lV(),r=gV(),n=uq(),o=gG(),i=function(){if(zW)return MW;zW=1;var t=pV(),e=gV(),r=tW(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),MW=r.inspectSource}(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!r(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,HW=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function sq(){if(WW)return GW;WW=1;var t=function(){if(VW)return UW;VW=1;var t=rq(),e=aq(),r=hG(),n=iW()("species"),o=Array;return UW=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||r(u)&&null===(u=u[n]))&&(u=void 0)),void 0===u?o:u}}();return GW=function(e,r){return new(t(e))(0===r?0:r)}}var cq,lq,fq={},dq={};function pq(){if(lq)return cq;lq=1;var t=uq(),e=String;return cq=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}var hq,vq,gq,yq,mq,bq,Eq,wq,Sq,Cq,Dq,Oq,Aq,xq,Tq,Nq,kq,Pq,Bq,Iq={};function Fq(){if(yq)return gq;yq=1;var t=pG(),e=function(){if(vq)return hq;vq=1;var t=nq(),e=Math.max,r=Math.min;return hq=function(n,o){var i=t(n);return i<0?e(i+o,0):r(i,o)},hq}(),r=oq(),n=function(n){return function(o,i,u){var a=t(o),s=r(a);if(0===s)return!n&&-1;var c,l=e(u,s);if(n&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((n||l in a)&&a[l]===i)return n||l||0;return!n&&-1}};return gq={includes:n(!0),indexOf:n(!1)}}function Rq(){return bq?mq:(bq=1,mq={})}function Lq(){if(wq)return Eq;wq=1;var t=pV(),e=nW(),r=pG(),n=Fq().indexOf,o=Rq(),i=t([].push);return Eq=function(t,u){var a,s=r(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~n(l,a)||i(l,a));return l}}function _q(){return Cq?Sq:(Cq=1,Sq=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function jq(){if(Oq)return Dq;Oq=1;var t=Lq(),e=_q();return Dq=Object.keys||function(r){return t(r,e)}}function Mq(){if(Aq)return Iq;Aq=1;var t=SV(),e=JW(),r=QW(),n=ZW(),o=pG(),i=jq();return Iq.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)r.f(t,u=s[l++],a[u]);return t},Iq}function zq(){if(kq)return Nq;kq=1;var t=eW(),e=oW(),r=t("keys");return Nq=function(t){return r[t]||(r[t]=e(t))}}function Hq(){if(Bq)return Pq;Bq=1;var t,e=ZW(),r=Mq(),n=_q(),o=Rq(),i=Tq?xq:(Tq=1,xq=gG()("document","documentElement")),u=sW(),a="prototype",s="script",c=zq()("IE_PROTO"),l=function(){},f=function(t){return"<"+s+">"+t+"</"+s+">"},d=function(t){t.write(f("")),t.close();var e=t.parentWindow.Object;return t=null,e},p=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,o;p="undefined"!=typeof document?document.domain&&t?d(t):(r=u("iframe"),o="java"+s+":",r.style.display="none",i.appendChild(r),r.src=String(o),(e=r.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F):d(t);for(var c=n.length;c--;)delete p[a][n[c]];return p()};return o[c]=!0,Pq=Object.create||function(t,n){var o;return null!==t?(l[a]=e(t),o=new l,l[a]=null,o[c]=t):o=p(),void 0===n?o:r.f(o,n)}}var $q,Uq={};function Vq(){if($q)return Uq;$q=1;var t=Lq(),e=_q().concat("length","prototype");return Uq.f=Object.getOwnPropertyNames||function(r){return t(r,e)},Uq}var Gq,Wq,qq,Kq={};function Yq(){return Wq?Gq:(Wq=1,Gq=pV()([].slice))}var Xq,Jq,Zq,Qq,tK,eK={};function rK(){return Xq||(Xq=1,eK.f=Object.getOwnPropertySymbols),eK}function nK(){if(Zq)return Jq;Zq=1;var t=tq();return Jq=function(e,r,n,o){return o&&o.enumerable?e[r]=n:t(e,r,n),e}}var oK,iK,uK,aK,sK,cK,lK,fK,dK,pK,hK,vK,gK,yK,mK,bK,EK={};function wK(){if(oK)return EK;oK=1;var t=iW();return EK.f=t,EK}function SK(){if(uK)return iK;uK=1;var t=vG(),e=nW(),r=wK(),n=QW().f;return iK=function(o){var i=t.Symbol||(t.Symbol={});e(i,o)||n(i,o,{value:r.f(o)})}}function CK(){if(sK)return aK;sK=1;var t=CV(),e=gG(),r=iW(),n=nK();return aK=function(){var o=e("Symbol"),i=o&&o.prototype,u=i&&i.valueOf,a=r("toPrimitive");i&&!i[a]&&n(i,a,function(e){return t(u,this)},{arity:1})}}function DK(){if(dK)return fK;dK=1;var t=iq(),e=QW().f,r=tq(),n=nW(),o=function(){if(lK)return cK;lK=1;var t=iq(),e=uq();return cK=t?{}.toString:function(){return"[object "+e(this)+"]"}}(),i=iW()("toStringTag");return fK=function(u,a,s,c){var l=s?u:u&&u.prototype;l&&(n(l,i)||e(l,i,{configurable:!0,value:a}),c&&!t&&r(l,"toString",o))}}function OK(){if(gK)return vK;gK=1;var t,e,r,n=function(){if(hK)return pK;hK=1;var t=cV(),e=gV(),r=t.WeakMap;return pK=e(r)&&/native code/.test(String(r))}(),o=cV(),i=hG(),u=tq(),a=nW(),s=tW(),c=zq(),l=Rq(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(n||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},r=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},r=function(t){return a(t,v)}}return vK={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!i(r)||(n=e(r)).type!==t)throw new d("Incompatible receiver, "+t+" required");return n}}}}var AK,xK,TK,NK={};function kK(){return xK?AK:(xK=1,AK=bG()&&!!Symbol.for&&!!Symbol.keyFor)}var PK,BK,IK,FK,RK={},LK={};var _K,jK,MK={};function zK(){return jK||(jK=1,function(){if(bK)return dq;bK=1;var t=eq(),e=cV(),r=CV(),n=pV(),o=QG(),i=SV(),u=bG(),a=lV(),s=nW(),c=yG(),l=ZW(),f=pG(),d=aW(),p=pq(),h=cG(),v=Hq(),g=jq(),y=Vq(),m=function(){if(qq)return Kq;qq=1;var t=hV(),e=pG(),r=Vq().f,n=Yq(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return Kq.f=function(i){return o&&"Window"===t(i)?function(t){try{return r(t)}catch(t){return n(o)}}(i):r(e(i))},Kq}(),b=rK(),E=lW(),w=QW(),S=Mq(),C=sG(),D=nK(),O=function(){if(tK)return Qq;tK=1;var t=QW();return Qq=function(e,r,n){return t.f(e,r,n)}}(),A=eW(),x=zq(),T=Rq(),N=oW(),k=iW(),P=wK(),B=SK(),I=CK(),F=DK(),R=OK(),L=function(){if(mK)return yK;mK=1;var t=fW(),e=pV(),r=lG(),n=rW(),o=oq(),i=sq(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=n(h),w=r(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return yK={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}().forEach,_=x("hidden"),j="Symbol",M="prototype",z=R.set,H=R.getterFor(j),$=Object[M],U=e.Symbol,V=U&&U[M],G=e.RangeError,W=e.TypeError,q=e.QObject,K=E.f,Y=w.f,X=m.f,J=C.f,Z=n([].push),Q=A("symbols"),tt=A("op-symbols"),et=A("wks"),rt=!q||!q[M]||!q[M].findChild,nt=function(t,e,r){var n=K($,e);n&&delete $[e],Y(t,e,r),n&&t!==$&&Y($,e,n)},ot=i&&a(function(){return 7!==v(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a})?nt:Y,it=function(t,e){var r=Q[t]=v(V);return z(r,{type:j,tag:t,description:e}),i||(r.description=e),r},ut=function(t,e,r){t===$&&ut(tt,e,r),l(t);var n=d(e);return l(r),s(Q,n)?(r.enumerable?(s(t,_)&&t[_][n]&&(t[_][n]=!1),r=v(r,{enumerable:h(0,!1)})):(s(t,_)||Y(t,_,h(1,v(null))),t[_][n]=!0),ot(t,n,r)):Y(t,n,r)},at=function(t,e){l(t);var n=f(e),o=g(n).concat(ft(n));return L(o,function(e){i&&!r(st,n,e)||ut(t,e,n[e])}),t},st=function(t){var e=d(t),n=r(J,this,e);return!(this===$&&s(Q,e)&&!s(tt,e))&&(!(n||!s(this,e)||!s(Q,e)||s(this,_)&&this[_][e])||n)},ct=function(t,e){var r=f(t),n=d(e);if(r!==$||!s(Q,n)||s(tt,n)){var o=K(r,n);return!o||!s(Q,n)||s(r,_)&&r[_][n]||(o.enumerable=!0),o}},lt=function(t){var e=X(f(t)),r=[];return L(e,function(t){s(Q,t)||s(T,t)||Z(r,t)}),r},ft=function(t){var e=t===$,r=X(e?tt:f(t)),n=[];return L(r,function(t){!s(Q,t)||e&&!s($,t)||Z(n,Q[t])}),n};u||(U=function(){if(c(V,this))throw new W("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?p(arguments[0]):void 0,n=N(t),o=function(t){var i=void 0===this?e:this;i===$&&r(o,tt,t),s(i,_)&&s(i[_],n)&&(i[_][n]=!1);var u=h(1,t);try{ot(i,n,u)}catch(t){if(!(t instanceof G))throw t;nt(i,n,u)}};return i&&rt&&ot($,n,{configurable:!0,set:o}),it(n,t)},D(V=U[M],"toString",function(){return H(this).tag}),D(U,"withoutSetter",function(t){return it(N(t),t)}),C.f=st,w.f=ut,S.f=at,E.f=ct,y.f=m.f=lt,b.f=ft,P.f=function(t){return it(k(t),t)},i&&(O(V,"description",{configurable:!0,get:function(){return H(this).description}}),o||D($,"propertyIsEnumerable",st,{unsafe:!0}))),t({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:U}),L(g(et),function(t){B(t)}),t({target:j,stat:!0,forced:!u},{useSetter:function(){rt=!0},useSimple:function(){rt=!1}}),t({target:"Object",stat:!0,forced:!u,sham:!i},{create:function(t,e){return void 0===e?v(t):at(v(t),e)},defineProperty:ut,defineProperties:at,getOwnPropertyDescriptor:ct}),t({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:lt}),I(),F(U,j),T[_]=!0}(),function(){if(TK)return NK;TK=1;var t=eq(),e=gG(),r=nW(),n=pq(),o=eW(),i=kK(),u=o("string-to-symbol-registry"),a=o("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!i},{for:function(t){var o=n(t);if(r(u,o))return u[o];var i=e("Symbol")(o);return u[o]=i,a[i]=o,i}})}(),function(){if(PK)return RK;PK=1;var t=eq(),e=nW(),r=wG(),n=SG(),o=eW(),i=kK(),u=o("symbol-to-string-registry");t({target:"Symbol",stat:!0,forced:!i},{keyFor:function(t){if(!r(t))throw new TypeError(n(t)+" is not a symbol");if(e(u,t))return u[t]}})}(),function(){if(FK)return LK;FK=1;var t=eq(),e=gG(),r=dV(),n=CV(),o=pV(),i=lV(),u=gV(),a=wG(),s=Yq(),c=function(){if(IK)return BK;IK=1;var t=pV(),e=rq(),r=gV(),n=hV(),o=pq(),i=t([].push);return BK=function(t){if(r(t))return t;if(e(t)){for(var u=t.length,a=[],s=0;s<u;s++){var c=t[s];"string"==typeof c?i(a,c):"number"!=typeof c&&"Number"!==n(c)&&"String"!==n(c)||i(a,o(c))}var l=a.length,f=!0;return function(t,r){if(f)return f=!1,r;if(e(this))return r;for(var n=0;n<l;n++)if(a[n]===t)return r}}}}(),l=bG(),f=String,d=e("JSON","stringify"),p=o(/./.exec),h=o("".charAt),v=o("".charCodeAt),g=o("".replace),y=o(1.1.toString),m=/[\uD800-\uDFFF]/g,b=/^[\uD800-\uDBFF]$/,E=/^[\uDC00-\uDFFF]$/,w=!l||i(function(){var t=e("Symbol")("stringify detection");return"[null]"!==d([t])||"{}"!==d({a:t})||"{}"!==d(Object(t))}),S=i(function(){return'"\\udf06\\ud834"'!==d("\udf06\ud834")||'"\\udead"'!==d("\udead")}),C=function(t,e){var o=s(arguments),i=c(e);if(u(i)||void 0!==t&&!a(t))return o[1]=function(t,e){if(u(i)&&(e=n(i,this,f(t),e)),!a(e))return e},r(d,null,o)},D=function(t,e,r){var n=h(r,e-1),o=h(r,e+1);return p(b,t)&&!p(E,o)||p(E,t)&&!p(b,n)?"\\u"+y(v(t,0),16):t};d&&t({target:"JSON",stat:!0,arity:3,forced:w||S},{stringify:function(t,e,n){var o=s(arguments),i=r(w?C:d,null,o);return S&&"string"==typeof i?g(i,m,D):i}})}(),function(){if(_K)return MK;_K=1;var t=eq(),e=bG(),r=lV(),n=rK(),o=rW();t({target:"Object",stat:!0,forced:!e||r(function(){n.f(1)})},{getOwnPropertySymbols:function(t){var e=n.f;return e?e(o(t)):[]}})}()),fq}var HK,$K,UK={};function VK(){return HK||(HK=1,SK()("asyncDispose")),UK}var GK,WK,qK,KK={};function YK(){return GK||(GK=1,SK()("dispose")),KK}var XK,JK,ZK,QK,tY,eY,rY,nY={};function oY(){return XK||(XK=1,SK()("iterator")),nY}var iY,uY,aY,sY,cY,lY,fY={},dY={},pY={};function hY(){return lY?cY:(lY=1,function(){if(YW)return sV;YW=1;var t=eq(),e=lV(),r=rq(),n=hG(),o=rW(),i=oq(),u=function(){if(BW)return PW;BW=1;var t=TypeError;return PW=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}(),a=function(){if(FW)return IW;FW=1;var t=SV(),e=QW(),r=cG();return IW=function(n,o,i){t?e.f(n,o,r(0,i)):n[o]=i}}(),s=sq(),c=function(){if(KW)return qW;KW=1;var t=lV(),e=iW(),r=mG(),n=e("species");return qW=function(e){return r>=51||!t(function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}(),l=iW(),f=mG(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!n(t))return!1;var e=t[d];return void 0!==e?!!e:r(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,r,n,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),r=0;r<c;r++,p++)r in l&&a(d,p,l[r]);else u(p+1),a(d,p++,l);return d.length=p,d}})}(),zK(),VK(),$K||($K=1,SK()("asyncIterator")),YK(),WK||(WK=1,SK()("hasInstance")),qK||(qK=1,SK()("isConcatSpreadable")),oY(),JK||(JK=1,SK()("match")),ZK||(ZK=1,SK()("matchAll")),QK||(QK=1,SK()("replace")),tY||(tY=1,SK()("search")),eY||(eY=1,SK()("species")),rY||(rY=1,SK()("split")),function(){if(iY)return fY;iY=1;var t=SK(),e=CK();t("toPrimitive"),e()}(),function(){if(uY)return dY;uY=1;var t=gG(),e=SK(),r=DK();e("toStringTag"),r(t("Symbol"),"Symbol")}(),aY||(aY=1,SK()("unscopables")),function(){if(sY)return pY;sY=1;var t=cV();DK()(t.JSON,"JSON",!0)}(),cY=vG().Symbol)}var vY,gY,yY,mY,bY,EY,wY,SY,CY,DY,OY,AY,xY,TY,NY,kY,PY,BY,IY,FY,RY,LY,_Y,jY,MY,zY,HY,$Y,UY,VY,GY,WY,qY,KY={};function YY(){return mY?yY:(mY=1,yY={})}function XY(){if(DY)return CY;DY=1;var t=nW(),e=gV(),r=rW(),n=zq(),o=SY?wY:(SY=1,wY=!lV()(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),i=n("IE_PROTO"),u=Object,a=u.prototype;return CY=o?u.getPrototypeOf:function(n){var o=r(n);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function JY(){if(AY)return OY;AY=1;var t,e,r,n=lV(),o=gV(),i=hG(),u=Hq(),a=XY(),s=nK(),c=iW(),l=QG(),f=c("iterator"),d=!1;return[].keys&&("next"in(r=[].keys())?(e=a(a(r)))!==Object.prototype&&(t=e):d=!0),!i(t)||n(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),OY={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function ZY(){if(FY)return IY;FY=1;var t=function(){if(BY)return PY;BY=1;var t=hG();return PY=function(e){return t(e)||null===e}}(),e=String,r=TypeError;return IY=function(n){if(t(n))return n;throw new r("Can't set "+e(n)+" as a prototype")}}function QY(){if(LY)return RY;LY=1;var t=function(){if(kY)return NY;kY=1;var t=pV(),e=CG();return NY=function(r,n,o){try{return t(e(Object.getOwnPropertyDescriptor(r,n)[o]))}catch(t){}}}(),e=hG(),r=dG(),n=ZY();return RY=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return r(t),n(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function tX(){if(jY)return _Y;jY=1;var t=eq(),e=CV(),r=QG(),n=function(){if(EY)return bY;EY=1;var t=SV(),e=nW(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,o=e(r,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&n(r,"name").configurable);return bY={EXISTS:o,PROPER:i,CONFIGURABLE:u}}(),o=gV(),i=function(){if(TY)return xY;TY=1;var t=JY().IteratorPrototype,e=Hq(),r=cG(),n=DK(),o=YY(),i=function(){return this};return xY=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:r(+!c,s)}),n(u,l,!1,!0),o[l]=i,u}}(),u=XY(),a=QY(),s=DK(),c=tq(),l=nK(),f=iW(),d=YY(),p=JY(),h=n.PROPER,v=n.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return _Y=function(n,f,p,C,D,O,A){i(p,f,C);var x,T,N,k=function(t){if(t===D&&R)return R;if(!y&&t&&t in I)return I[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},P=f+" Iterator",B=!1,I=n.prototype,F=I[m]||I["@@iterator"]||D&&I[D],R=!y&&F||k(D),L="Array"===f&&I.entries||F;if(L&&(x=u(L.call(new n)))!==Object.prototype&&x.next&&(r||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,P,!0,!0),r&&(d[P]=S)),h&&D===E&&F&&F.name!==E&&(!r&&v?c(I,"name",E):(B=!0,R=function(){return e(F,this)})),D)if(T={values:k(E),keys:O?R:k(b),entries:k(w)},A)for(N in T)(y||B||!(N in I))&&l(I,N,T[N]);else t({target:f,proto:!0,forced:y||B},T);return r&&!A||I[m]===R||l(I,m,R,{name:D}),d[f]=R,T}}function eX(){return zY?MY:(zY=1,MY=function(t,e){return{value:t,done:e}})}function rX(){if($Y)return HY;$Y=1;var t=pG(),e=gY?vY:(gY=1,vY=function(){}),r=YY(),n=OK(),o=QW().f,i=tX(),u=eX(),a=QG(),s=SV(),c="Array Iterator",l=n.set,f=n.getterFor(c);HY=i(Array,"Array",function(e,r){l(this,{type:c,target:t(e),index:0,kind:r})},function(){var t=f(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(r,!1);case"values":return u(e[r],!1)}return u([r,e[r]],!1)},"values");var d=r.Arguments=r.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return HY}function nX(){if(GY)return KY;GY=1,rX();var t=VY?UY:(VY=1,UY={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}),e=cV(),r=DK(),n=YY();for(var o in t)r(e[o],o),n[o]=n.Array;return KY}var oX,iX,uX,aX,sX,cX,lX,fX,dX,pX,hX,vX,gX,yX,mX,bX,EX,wX,SX,CX,DX,OX,AX,xX,TX={};function NX(){if(cX)return sX;cX=1;var t=function(){if(qY)return WY;qY=1;var t=hY();return nX(),WY=t}();return function(){if(oX)return TX;oX=1;var t=iW(),e=QW().f,r=t("metadata"),n=Function.prototype;void 0===n[r]&&e(n,r,{value:null})}(),iX||(iX=1,VK()),uX||(uX=1,YK()),aX||(aX=1,SK()("metadata")),sX=t}function kX(){if(fX)return lX;fX=1;var t=gG(),e=pV(),r=t("Symbol"),n=r.keyFor,o=e(r.prototype.valueOf);return lX=r.isRegisteredSymbol||function(t){try{return void 0!==n(o(t))}catch(t){return!1}}}function PX(){if(hX)return pX;hX=1;for(var t=eW(),e=gG(),r=pV(),n=wG(),o=iW(),i=e("Symbol"),u=i.isWellKnownSymbol,a=e("Object","getOwnPropertyNames"),s=r(i.prototype.valueOf),c=t("wks"),l=0,f=a(i),d=f.length;l<d;l++)try{var p=f[l];n(i[p])&&o(p)}catch(t){}return pX=function(t){if(u&&u(t))return!0;try{for(var e=s(t),r=0,n=a(c),o=n.length;r<o;r++)if(c[n[r]]==e)return!0}catch(t){}return!1},pX}var BX,IX,FX,RX,LX,_X,jX,MX,zX,HX,$X,UX,VX,GX=DL(xX?AX:(xX=1,AX=function(){if(OX)return DX;OX=1;var t=NX();return dX||(dX=1,eq()({target:"Symbol",stat:!0},{isRegisteredSymbol:kX()})),vX||(vX=1,eq()({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:PX()})),gX||(gX=1,SK()("customMatcher")),yX||(yX=1,SK()("observable")),mX||(mX=1,eq()({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:kX()})),bX||(bX=1,eq()({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:PX()})),EX||(EX=1,SK()("matcher")),wX||(wX=1,SK()("metadataKey")),SX||(SX=1,SK()("patternMatch")),CX||(CX=1,SK()("replaceAll")),DX=t}())),WX={};function qX(){return LX?RX:(LX=1,rX(),function(){if(FX)return WX;FX=1;var t=function(){if(IX)return BX;IX=1;var t=pV(),e=nq(),r=pq(),n=dG(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=r(n(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return BX={codeAt:a(!1),charAt:a(!0)}}().charAt,e=pq(),r=OK(),n=tX(),o=eX(),i="String Iterator",u=r.set,a=r.getterFor(i);n(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,r=a(this),n=r.string,i=r.index;return i>=n.length?o(void 0,!0):(e=t(n,i),r.index+=e.length,o(e,!1))})}(),oY(),RX=wK().f("iterator"))}function KX(){return zX?MX:(zX=1,MX=function(){if(jX)return _X;jX=1;var t=qX();return nX(),_X=t}())}var YX=DL(VX?UX:(VX=1,UX=$X?HX:($X=1,HX=KX())));function XX(t){return XX="function"==typeof GX&&"symbol"==typeof YX?function(t){return typeof t}:function(t){return t&&"function"==typeof GX&&t.constructor===GX&&t!==GX.prototype?"symbol":typeof t},XX(t)}var JX,ZX,QX,tJ={};!function(){if(QX)return tJ;QX=1;var t=ML(),e=aM().EXISTS,r=B_(),n=function(){if(ZX)return JX;ZX=1;var t=dM(),e=Uj();return JX=function(r,n,o){return o.get&&t(o.get,n,{getter:!0}),o.set&&t(o.set,n,{setter:!0}),e.f(r,n,o)}}(),o=Function.prototype,i=r(o.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,a=r(u.exec);t&&!e&&n(o,"name",{configurable:!0,get:function(){try{return a(u,i(this))[1]}catch(t){return""}}})}();var eJ,rJ,nJ,oJ,iJ,uJ,aJ,sJ=function(){function t(){this.tag="select",this.width=80}return t.prototype.isActive=function(t){return!1},t.prototype.getValue=function(t){var e=this.mark,r=Kh.marks(t);return r&&r[e]?r[e]:""},t.prototype.isDisabled=function(t){return null==t.selection||!!_z(Kh.nodes(t,{match:function(e){return"pre"===CB.getNodeType(e)||!!Kh.isVoid(t,e)},universal:!0}),1)[0]},t.prototype.exec=function(t,e){var r=this.mark;e?t.addMark(r,e):t.removeMark(r)},t}(),cJ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.title=LF("fontFamily.title"),e.iconSvg='<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>',e.mark="fontFamily",e.selectPanelWidth=150,e}return Bz(e,t),e.prototype.getOptions=function(t){var e=[],r=t.getMenuConfig(this.mark).fontFamilyList,n=void 0===r?[]:r;e.push({text:LF("fontFamily.default"),value:""}),n.forEach(function(t){if("string"==typeof t)e.push({text:t,value:t,styleForRenderMenuList:{"font-family":t}});else if("object"===XX(t)){var r=t.name,n=t.value;e.push({text:r,value:n,styleForRenderMenuList:{"font-family":n}})}});var o=this.getValue(t),i=!1;return e.forEach(function(t){t.value===o?(i=!0,t.selected=!0):t.selected=void 0}),i||"string"!=typeof o||e.push({text:o,value:o,selected:!0}),e},e}(sJ),lJ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.title=LF("fontSize.title"),e.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M64 512h384v128h-128V1024h-128V640h-128z m896-256H708.2496v768h-136.4992V256H320V128h640z"></path></svg>',e.mark="fontSize",e}return Bz(e,t),e.prototype.getOptions=function(t){var e=[],r=t.getMenuConfig(this.mark).fontSizeList,n=void 0===r?[]:r;e.push({text:LF("fontSize.default"),value:""}),n.forEach(function(t){if("string"==typeof t)e.push({text:t,value:t});else if("object"===XX(t)){var r=t.name,n=t.value;e.push({text:r,value:n})}});var o=this.getValue(t),i=!1;return e.forEach(function(t){t.value===o?(i=!0,t.selected=!0):t.selected=void 0}),i||"string"!=typeof o||e.push({text:o,value:o,selected:!0}),e},e}(sJ),fJ={1:"12px",2:"14px",3:"16px",4:"19px",5:"24px",6:"32px",7:"48px"},dJ={renderStyle:function(t,e){var r=t,n=r.fontSize,o=r.fontFamily,i=e;return n&&jU(i,{fontSize:n}),o&&jU(i,{fontFamily:o}),i},styleToHtml:function(t,e){if(!wv.isText(t))return e;var r,n=t,o=n.fontSize,i=n.fontFamily;return o||i?((n$(e)||"span"!==i$(r=og(e)))&&(r=og("<span>".concat(e,"</span>"))),o&&r.css("font-size",o),i&&r.css("font-family",i),o$(r)):e},preParseHtml:[{selector:"font",preParseHtml:function(t){var e=og(t);if("font"!==i$(e))return t;var r=e.attr("size")||"";r&&(e.removeAttr("size"),e.css("font-size",fJ[r]));var n=e.attr("face")||"";return n&&(e.removeAttr("face"),e.css("font-family",n)),e[0]}}],parseStyleHtml:function(t,e,r){var n=og(t);if(!wv.isText(e))return e;var o=e,i=u$(n,"font-size");i&&(o.fontSize=i);var u=u$(n,"font-family").replace(/"/g,"");return u&&(o.fontFamily=u),o},menus:[{key:"fontSize",factory:function(){return new lJ},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 cJ},config:{fontFamilyList:["黑体",{name:"仿宋",value:"仿宋"},"楷体","标楷体","华文仿宋","华文楷体",{name:"宋体",value:"宋体"},"微软雅黑","Arial","Tahoma","Verdana","Times New Roman","Courier New"]}}]},pJ={};!function(){if(aJ)return pJ;aJ=1;var t=az(),e=function(){if(uJ)return iJ;uJ=1;var t=ML(),e=jL(),r=B_(),n=function(){if(oJ)return nJ;oJ=1;var t=Aj(),e=j_(),r=Oj(),n=cM(),o=function(){if(rJ)return eJ;rJ=1;var t=jL();return eJ=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=n("IE_PROTO"),u=Object,a=u.prototype;return nJ=o?u.getPrototypeOf:function(n){var o=r(n);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}(),o=xz(),i=__(),u=r(k_().f),a=r([].push),s=t&&e(function(){var t=Object.create(null);return t[2]=2,!u(t,2)}),c=function(e){return function(r){for(var c,l=i(r),f=o(l),d=s&&null===n(l),p=f.length,h=0,v=[];p>h;)c=f[h++],t&&!(d?c in l:u(l,c))||a(v,e?[c,l[c]]:l[c]);return v}};return iJ={entries:c(!0),values:c(!1)}}().entries;t({target:"Object",stat:!0},{entries:function(t){return e(t)}})}();var hJ,vJ={};!function(){if(hJ)return vJ;hJ=1;var t=az(),e=Oj(),r=xz();t({target:"Object",stat:!0,forced:jL()(function(){r(1)})},{keys:function(t){return r(e(t))}})}();var gJ=function(){function t(){this.title=LF("formatPainter.title"),this.iconSvg='<svg viewBox="0 0 24 24"><path d="M8 19.997v-5h2v5h9v-7H5v7zm-4-9h16v-3h-6v-4h-4v4H4zm-1 10v-8H2v-6a1 1 0 0 1 1-1h5v-3a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v3h5a1 1 0 0 1 1 1v6h-1v8a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1"/></svg>',this.tag="button"}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(e){return t.attrs.isSelect},t.prototype.isDisabled=function(t){return!1},t.prototype.setFormatHtml=function(e){var r,n;if(e.getSelectionText().length){if(t.attrs.formatStyle){!function(t){var e=Kh.marks(t);e&&Object.keys(e).forEach(function(e){t.removeMark(e)})}(e);try{for(var o=Lz(Object.entries(t.attrs.formatStyle)),i=o.next();!i.done;i=o.next()){var u=_z(i.value,2),a=u[0],s=u[1];e.addMark(a,s)}}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}}t.attrs.formatStyle=null,t.attrs.isSelect=!1}},t.prototype.exec=function(e){t.attrs.isSelect?(t.attrs.isSelect=!1,t.attrs.formatStyle=null):e.getSelectionText().length&&(t.attrs.formatStyle=Kh.marks(e),t.attrs.isSelect=!0),e.blur(),e.focus()},t.attrs={isSelect:!1,formatStyle:null},t}(),yJ={menus:[{key:"formatPainter",factory:function(){return new gJ}}],editorPlugin:function(t){var e=new gJ,r=t.onChange,n=t,o=function(){e.setFormatHtml(n),document.removeEventListener("mouseup",o)};return n.onChange=function(){r(),gJ.attrs.isSelect&&(document.removeEventListener("mouseup",o),document.addEventListener("mouseup",o))},n}},mJ=function(){function t(){this.title=LF("fullScreen.title"),this.iconSvg=oH,this.tag="button",this.alwaysEnable=!0}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return t.isFullScreen},t.prototype.isDisabled=function(t){return!1},t.prototype.getIcon=function(t){return t.isFullScreen?oH:'<svg t="1723361745825" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8705" width="200" height="200"><path d="M703.926857 362.642286a42.642286 42.642286 0 0 1-42.642286-42.642286V128a42.642286 42.642286 0 1 1 85.357715 0v149.357714h149.357714c21.211429 0 38.765714 15.433143 42.057143 35.693715l0.585143 6.948571a42.642286 42.642286 0 0 1-42.642286 42.642286H703.926857zM703.926857 938.642286a42.642286 42.642286 0 0 1-42.642286-42.642286V704c0-23.552 19.090286-42.642286 42.642286-42.642286h192.073143a42.642286 42.642286 0 1 1 0 85.284572l-149.357714 0.073143v149.284571c0 21.211429-15.506286 38.765714-35.84 42.130286l-6.875429 0.512zM319.853714 938.642286a42.642286 42.642286 0 0 1-42.642285-42.642286v-149.284571H127.853714a42.642286 42.642286 0 0 1-42.130285-35.84l-0.585143-6.875429c0-23.552 19.163429-42.642286 42.715428-42.642286h192c23.552 0 42.715429 19.017143 42.715429 42.642286v192a42.642286 42.642286 0 0 1-42.715429 42.642286zM127.853714 362.642286a42.642286 42.642286 0 1 1 0-85.284572H277.211429V128c0-21.211429 15.433143-38.765714 35.766857-42.130286l6.875428-0.512c23.552 0 42.715429 19.017143 42.715429 42.642286v192a42.642286 42.642286 0 0 1-42.715429 42.642286H127.853714z" fill="#333333" p-id="8706"></path></svg>'},t.prototype.getTitle=function(t){return t.isFullScreen?LF("fullScreen.title"):LF("fullScreen.cancelTitle")},t.prototype.exec=function(t,e){t.isFullScreen?t.unFullScreen():t.fullScreen()},t}(),bJ={menus:[{key:"fullScreen",factory:function(){return new mJ}}]};function EJ(t){return function(e,r){return"<h".concat(t,">").concat(r,"</h").concat(t,">")}}var wJ,SJ={type:"header1",elemToHtml:EJ(1)},CJ={type:"header2",elemToHtml:EJ(2)},DJ={type:"header3",elemToHtml:EJ(3)},OJ={type:"header4",elemToHtml:EJ(4)},AJ={type:"header5",elemToHtml:EJ(5)},xJ={type:"header6",elemToHtml:EJ(6)},TJ={};function NJ(t){var e=_z(Kh.nodes(t,{match:function(t){return CB.getNodeType(t).startsWith("header")},universal:!0}),1),r=e[0];if(null==r)return"paragraph";var n=_z(r,1)[0];return CB.getNodeType(n)}function kJ(t){return null==t.selection||!_z(Kh.nodes(t,{match:function(t){var e=CB.getNodeType(t);return"paragraph"===e||!!e.startsWith("header")},universal:!0,mode:"highest"}),1)[0]}function PJ(t,e){e&&zv.setNodes(t,{type:e})}!function(){if(wJ)return TJ;wJ=1;var t,e=az(),r=sH(),n=Bj().f,o=FM(),i=lz(),u=j$(),a=L_(),s=M$(),c=wj(),l=r("".slice),f=Math.min,d=s("startsWith");e({target:"String",proto:!0,forced:!(!c&&!d&&(t=n(String.prototype,"startsWith"),t&&!t.writable)||d)},{startsWith:function(t){var e=i(a(this));u(t);var r=o(f(arguments.length>1?arguments[1]:void 0,e.length)),n=i(t);return l(e,r,r+n.length)===n}})}();var BJ=function(){function t(){this.tag="button"}return t.prototype.getValue=function(t){return NJ(t)},t.prototype.isActive=function(t){return this.getValue(t)===this.type},t.prototype.isDisabled=function(t){return kJ(t)},t.prototype.exec=function(t,e){var r=this.type;PJ(t,e===r?"paragraph":r)},t}(),IJ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.title="H1",e.type="header1",e}return Bz(e,t),e}(BJ),FJ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.title="H2",e.type="header2",e}return Bz(e,t),e}(BJ),RJ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.title="H3",e.type="header3",e}return Bz(e,t),e}(BJ),LJ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.title="H4",e.type="header4",e}return Bz(e,t),e}(BJ),_J=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.title="H5",e.type="header5",e}return Bz(e,t),e}(BJ),jJ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.title="H6",e.type="header6",e}return Bz(e,t),e}(BJ),MJ=function(){function t(){this.title=LF("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(t){var e=[{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:"header6",text:"H6",styleForRenderMenuList:{"font-size":"11px","font-weight":"bold"}},{value:"paragraph",text:LF("header.text")}],r=this.getValue(t).toString();return e.forEach(function(t){t.value===r?t.selected=!0:t.selected=void 0}),e},t.prototype.isActive=function(t){return!1},t.prototype.getValue=function(t){return NJ(t)},t.prototype.isDisabled=function(t){return kJ(t)},t.prototype.exec=function(t,e){PJ(t,e.toString())},t}(),zJ={key:"headerSelect",factory:function(){return new MJ}},HJ={key:"header1",factory:function(){return new IJ}},$J={key:"header2",factory:function(){return new FJ}},UJ={key:"header3",factory:function(){return new RJ}},VJ={key:"header4",factory:function(){return new LJ}},GJ={key:"header5",factory:function(){return new _J}},WJ={key:"header6",factory:function(){return new jJ}};function qJ(t){return function(e,r,n){var o=og(e);return 0===(r=r.filter(function(t){return!!wv.isText(t)||!!n.isInline(t)})).length&&(r=[{text:o.text().replace(/\s+/gm," ")}]),{type:"header".concat(t),children:r}}}var KJ={selector:"h1:not([data-w-e-type])",parseElemHtml:qJ(1)},YJ={selector:"h2:not([data-w-e-type])",parseElemHtml:qJ(2)},XJ={selector:"h3:not([data-w-e-type])",parseElemHtml:qJ(3)},JJ={selector:"h4:not([data-w-e-type])",parseElemHtml:qJ(4)},ZJ={selector:"h5:not([data-w-e-type])",parseElemHtml:qJ(5)},QJ={selector:"h6:not([data-w-e-type])",parseElemHtml:qJ(6)};function tZ(t){return function(e,r,n){return Ry("h".concat(t),null,r)}}var eZ={renderElems:[{type:"header1",renderElem:tZ(1)},{type:"header2",renderElem:tZ(2)},{type:"header3",renderElem:tZ(3)},{type:"header4",renderElem:tZ(4)},{type:"header5",renderElem:tZ(5)},{type:"header6",renderElem:tZ(6)}],elemsToHtml:[SJ,CJ,DJ,OJ,AJ,xJ],parseElemsHtml:[KJ,YJ,XJ,JJ,ZJ,QJ],menus:[zJ,HJ,$J,UJ,VJ,GJ,WJ],editorPlugin:function(t){var e=t.insertBreak,r=t;return r.insertBreak=function(){var n=_z(Kh.nodes(r,{match:function(t){return CB.getNodeType(t).startsWith("header")},universal:!0}),1)[0];n&&CB.isSelectionAtLineEnd(t,n[1])?zv.insertNodes(r,{type:"paragraph",children:[{text:""}]},{mode:"highest"}):e()},r}},rZ=function(){function t(){this.title=LF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||null==CB.getSelectedNodeByType(t,"image")},t.prototype.exec=function(t,e){this.isDisabled(t)||zv.removeNodes(t,{match:function(t){return CB.checkNodeType(t,"image")}})},t}();function nZ(t){return void 0===t&&(t="r"),"".concat(t,"-").concat(jg())}function oZ(t){return t.replace(/</g,"<").replace(/>/g,">")}function iZ(t){var e=t.selection;return null==e||!dv.isCollapsed(e)||!!_z(Kh.nodes(t,{match:function(e){var r=CB.getNodeType(e);return"code"===r||"pre"===r||"link"===r||"list-item"===r||!!r.startsWith("header")||"blockquote"===r||!!Kh.isVoid(t,e)},universal:!0}),1)[0]}function uZ(t,e,r){return Fz(this,arguments,void 0,function(t,e,r,n,o){var i,u;return void 0===n&&(n=""),void 0===o&&(o=""),Rz(this,function(a){switch(a.label){case 0:return(i=e.getMenuConfig(t).checkImage)?[4,i(r,n,o)]:[3,2];case 1:if("string"==typeof(u=a.sent()))return e.alert(u,"error"),[2,!1];if(null==u)return[2,!1];a.label=2;case 2:return[2,!0]}})})}function aZ(t,e,r){return Fz(this,void 0,void 0,function(){var n;return Rz(this,function(o){switch(o.label){case 0:return(n=e.getMenuConfig(t).parseImageSrc)?[4,n(r)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,r]}})})}function sZ(t,e){return Fz(this,arguments,void 0,function(t,e,r,n){var o,i,u;return void 0===r&&(r=""),void 0===n&&(n=""),Rz(this,function(a){switch(a.label){case 0:return[4,uZ("insertImage",t,e,r,n)];case 1:return a.sent()?[4,aZ("insertImage",t,e)]:[2];case 2:return o=a.sent(),i={type:"image",src:oZ(o),href:n,alt:r,style:{},children:[{text:""}]},null===t.selection&&t.restoreSelection(),CB.getSelectedNodeByType(t,"image")&&t.move(1),iZ(t)||(zv.insertNodes(t,i),(u=t.getMenuConfig("insertImage").onInsertedImage)&&u(i)),[2]}})})}function cZ(){return nZ("w-e-edit-image")}var lZ=function(){function t(){this.title=LF("image.edit"),this.iconSvg=rH,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=cZ(),this.altInputId=cZ(),this.hrefInputId=cZ(),this.buttonId=cZ()}return t.prototype.getValue=function(t){return""},t.prototype.getImageNode=function(t){return CB.getSelectedNodeByType(t,"image")},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!dv.isCollapsed(e)||null==CB.getSelectedNodeByType(t,"image")},t.prototype.getModalPositionNode=function(t){return this.getImageNode(t)},t.prototype.getModalContentElem=function(t){var e=this,r=this,n=r.srcInputId,o=r.altInputId,i=r.hrefInputId,u=r.buttonId,a=this.getImageNode(t);if(null==a)throw new Error("Not found selected image node");var s=_z(qF(LF("image.src"),n),2),c=s[0],l=og(s[1]),f=_z(qF(LF("image.desc"),o),2),d=f[0],p=og(f[1]),h=_z(qF(LF("image.link"),i),2),v=h[0],g=og(h[1]),y=_z(YF(u,LF("common.ok")),1)[0];if(null==this.$content){var m=og("<div></div>");m.on("click","#".concat(u),function(r){r.preventDefault();var u=m.find("#".concat(n)).val(),a=m.find("#".concat(o)).val(),s=m.find("#".concat(i)).val();e.updateImage(t,u,a,s),t.hidePanelOrModal()}),this.$content=m}var b=this.$content;b.empty(),b.append(c),b.append(d),b.append(v),b.append(y);var E=a,w=E.src,S=E.alt,C=void 0===S?"":S,D=E.href,O=void 0===D?"":D;return l.val(w),p.val(C),g.val(O),setTimeout(function(){l.focus()}),b[0]},t.prototype.updateImage=function(t,e,r,n,o){void 0===r&&(r=""),void 0===n&&(n=""),void 0===o&&(o={}),e&&(t.restoreSelection(),this.isDisabled(t)||function(t,e){Fz(this,arguments,void 0,function(t,e,r,n,o){var i,u,a,s,c,l;return void 0===r&&(r=""),void 0===n&&(n=""),void 0===o&&(o={}),Rz(this,function(f){switch(f.label){case 0:return[4,uZ("editImage",t,e,r,n)];case 1:return f.sent()?[4,aZ("editImage",t,e)]:[2];case 2:return i=f.sent(),null==(u=CB.getSelectedNodeByType(t,"image"))||(a=u.style,s={src:i,alt:r,href:n,style:Iz(Iz({},void 0===a?{}:a),o)},zv.setNodes(t,s,{match:function(t){return CB.checkNodeType(t,"image")}}),c=CB.getSelectedNodeByType(t,"image"),(l=t.getMenuConfig("editImage").onUpdatedImage)&&l(c)),[2]}})})}(t,e,r,n,o))},t}();function fZ(){return nZ("w-e-insert-image")}var dZ=function(){function t(){this.title=LF("image.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=fZ(),this.heightInputId=fZ(),this.buttonId=fZ()}return t.prototype.getSelectedImageNode=function(t){return CB.getSelectedNodeByType(t,"image")},t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedImageNode(t)},t.prototype.getModalPositionNode=function(t){return this.getSelectedImageNode(t)},t.prototype.getModalContentElem=function(t){var e=this,r=e.widthInputId,n=e.heightInputId,o=e.buttonId,i=_z(qF(LF("image.width"),r,"auto"),2),u=i[0],a=og(i[1]),s=_z(qF(LF("image.height"),n,"auto"),2),c=s[0],l=og(s[1]),f=_z(YF(o,LF("image.ok")),1)[0],d=this.getSelectedImageNode(t);if(null==this.$content){var p=og("<div></div>");p.on("click","#".concat(o),function(e){e.preventDefault();var o=p.find("#".concat(r)).val().trim(),i=p.find("#".concat(n)).val().trim(),u=function(t){return/^\d+(\.\d+)?%$/.test(t)},a=function(t){return/^\d+(\.\d+)?$/.test(t)},s=function(t){return/^\d+(\.\d+)?px$/.test(t)},c="auto",l="auto";u(o)?c=o:a(o)?c="".concat(parseInt(o,10),"px"):s(o)&&(c=o),u(i)?l=i:a(i)?l="".concat(parseInt(i,10),"px"):s(i)&&(l=i);var f=d.style,h=void 0===f?{}:f;t.restoreSelection();var v=Iz(Iz({},h),{style:{width:c,height:l}});zv.setNodes(t,v,{match:function(t){return CB.checkNodeType(t,"image")}}),t.hidePanelOrModal()}),this.$content=p}var h=this.$content;if(h.empty(),h.append(u),h.append(c),h.append(f),null==d)return h[0];var v=d.style,g=void 0===v?{}:v,y=g.width,m=void 0===y?"auto":y,b=g.height,E=void 0===b?"auto":b;return a.val(m),l.val(E),setTimeout(function(){a.focus()}),h[0]},t}();function pZ(){return nZ("w-e-insert-image")}var hZ,vZ,gZ,yZ,mZ,bZ=function(){function t(){this.title=LF("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=pZ(),this.altInputId=pZ(),this.hrefInputId=pZ(),this.buttonId=pZ()}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return iZ(t)},t.prototype.getModalPositionNode=function(t){return null},t.prototype.getModalContentElem=function(t){var e=this,r=this,n=r.srcInputId,o=r.altInputId,i=r.hrefInputId,u=r.buttonId,a=_z(qF(LF("image.src"),n),2),s=a[0],c=og(a[1]),l=_z(qF(LF("image.desc"),o),2),f=l[0],d=og(l[1]),p=_z(qF(LF("image.link"),i),2),h=p[0],v=og(p[1]),g=_z(YF(u,LF("common.ok")),1)[0];if(null==this.$content){var y=og("<div></div>");y.on("click","#".concat(u),function(r){r.preventDefault();var u=y.find("#".concat(n)).val().trim(),a=y.find("#".concat(o)).val().trim(),s=y.find("#".concat(i)).val().trim();e.insertImage(t,u,a,s),t.hidePanelOrModal()}),this.$content=y}var m=this.$content;return m.empty(),m.append(s),m.append(f),m.append(h),m.append(g),c.val(""),d.val(""),v.val(""),setTimeout(function(){c.focus()}),m[0]},t.prototype.insertImage=function(t,e,r,n){void 0===r&&(r=""),void 0===n&&(n=""),e&&(t.restoreSelection(),this.isDisabled(t)||sZ(t,e,r,n))},t}(),EZ=function(){function t(){this.title=LF("image.viewLink"),this.iconSvg=nH,this.tag="button"}return t.prototype.getValue=function(t){var e=CB.getSelectedNodeByType(t,"image");return e&&e.href||""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||!this.getValue(t)},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){if(!e||"string"!=typeof e)throw new Error("View image link failed, image.href is '".concat(e,"'"));window.open(e,"_blank")}},t}(),wZ=function(){function t(){this.tag="button"}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.getSelectedNode=function(t){return CB.getSelectedNodeByType(t,"image")},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedNode(t)},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var r=this.getSelectedNode(t);if(null!=r){var n=CB.getHoverbar(t);n&&n.hideAndClean();var o=r.style,i={style:Iz(Iz({},void 0===o?{}:o),{width:this.value,height:""})};zv.setNodes(t,i,{match:function(t){return CB.checkNodeType(t,"image")}})}}},t}(),SZ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.title="30%",e.value="30%",e}return Bz(e,t),e}(wZ),CZ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.title="50%",e.value="50%",e}return Bz(e,t),e}(wZ),DZ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.title="100%",e.value="100%",e}return Bz(e,t),e}(wZ),OZ={onInsertedImage:function(t){},onUpdatedImage:function(t){},checkImage:function(t,e,r){return!0},parseImageSrc:function(t){return t}},AZ={key:"insertImage",factory:function(){return new bZ},config:OZ},xZ={key:"deleteImage",factory:function(){return new rZ}},TZ={key:"editImage",factory:function(){return new lZ},config:OZ},NZ={key:"viewImageLink",factory:function(){return new EZ}},kZ={key:"imageWidth30",factory:function(){return new SZ}},PZ={key:"imageWidth50",factory:function(){return new CZ}},BZ={key:"imageWidth100",factory:function(){return new DZ}},IZ={key:"editorImageSizeMenu",factory:function(){return new dZ}},FZ={selector:"img:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n=og(t),o=n.attr("data-href")||"";return o=decodeURIComponent(o),{type:"image",src:n.attr("src")||"",alt:n.attr("alt")||"",href:o,style:{width:u$(n,"width"),height:u$(n,"height")},width:n.attr("width")||"",height:n.attr("height")||"",children:[{text:""}]}}},RZ={};function LZ(t,e){var r=CB.findKey(t,e).id;return"w-e-image-container-".concat(r)}!function(){if(mZ)return RZ;mZ=1;var t=az(),e=B_(),r=BM(),n=function(){if(vZ)return hZ;vZ=1;var t=B_();return hZ=t(1.1.valueOf)}(),o=function(){if(yZ)return gZ;yZ=1;var t=BM(),e=lz(),r=L_(),n=RangeError;return gZ=function(o){var i=e(r(this)),u="",a=t(o);if(a<0||a===1/0)throw new n("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(i+=i))1&a&&(u+=i);return u}}(),i=jL(),u=RangeError,a=String,s=Math.floor,c=e(o),l=e("".slice),f=e(1.1.toFixed),d=function(t,e,r){return 0===e?r:e%2==1?d(t,e-1,r*t):d(t*t,e/2,r)},p=function(t,e,r){for(var n=-1,o=r;++n<6;)o+=e*t[n],t[n]=o%1e7,o=s(o/1e7)},h=function(t,e){for(var r=6,n=0;--r>=0;)n+=t[r],t[r]=s(n/e),n=n%e*1e7},v=function(t){for(var e=6,r="";--e>=0;)if(""!==r||0===e||0!==t[e]){var n=a(t[e]);r=""===r?n:r+c("0",7-n.length)+n}return r};t({target:"Number",proto:!0,forced:i(function(){return"0.000"!==f(8e-5,3)||"1"!==f(.9,0)||"1.25"!==f(1.255,2)||"1000000000000000128"!==f(0xde0b6b3a7640080,0)})||!i(function(){f({})})},{toFixed:function(t){var e,o,i,s,f=n(this),g=r(t),y=[0,0,0,0,0,0],m="",b="0";if(g<0||g>20)throw new u("Incorrect fraction digits");if(f!=f)return"NaN";if(f<=-1e21||f>=1e21)return a(f);if(f<0&&(m="-",f=-f),f>1e-21)if(o=(e=function(t){for(var e=0,r=t;r>=4096;)e+=12,r/=4096;for(;r>=2;)e+=1,r/=2;return e}(f*d(2,69,1))-69)<0?f*d(2,-e,1):f/d(2,e,1),o*=4503599627370496,(e=52-e)>0){for(p(y,0,o),i=g;i>=7;)p(y,1e7,0),i-=7;for(p(y,d(10,i,1),0),i=e-1;i>=23;)h(y,1<<23),i-=23;h(y,1<<i),p(y,1,1),h(y,2),b=v(y)}else p(y,0,o),p(y,1<<-e,0),b=v(y)+c("0",g);return g>0?m+((s=b.length)<=g?"0."+c("0",g-s)+b:l(b,0,s-g)+"."+l(b,s-g)):m+b}})}();var _Z={type:"image",renderElem:function(t,e,r){var n=t,o=n.src,i=n.alt,u=void 0===i?"":i,a=n.href,s=void 0===a?"":a,c=n.style,l=void 0===c?{}:c,f=l.width,d=void 0===f?"":f,p=l.height,h=void 0===p?"":p,v=CB.isNodeSelected(r,t),g={maxWidth:"100%"};d&&(g.width="100%"),h&&(g.height="100%");var y=Ry("img",{style:g,src:o,alt:u,"data-href":s}),m=r.isDisabled();return v&&!m?function(t,e,r,n){var o=og("body"),i=LZ(t,e),u=n.width,a=n.height,s=0,c=0,l=0,f=0,d=!1,p=null,h=Jg(function(t){t.preventDefault();var e=t.clientX,r=c+(d?s-e:e-s),n=l*(r/c);r>f-6||null!=p&&(r<=15||n<=15||(p.css("width","".concat(r,"px")),p.css("height","".concat(n,"px"))))},100);function v(r){if(o.off("mousemove",h),null!=p){var n=p.width().toFixed(2),i=p.height().toFixed(2),u={style:Iz(Iz({},e.style),{width:"".concat(n,"px"),height:"".concat(i,"px")})};zv.setNodes(t,u,{at:CB.findPath(t,e)}),o.off("mouseup",v)}}function g(e,r){p=function(){var t=og("#".concat(i));if(0===t.length)throw new Error("Cannot find image container elem");return t}(),s=e,f=r;var n=p.find("img");if(0===n.length)throw new Error("Cannot find image elem");c=n.width(),l=n.height(),o.on("mousemove",h),o.on("mouseup",v);var u=CB.getHoverbar(t);u&&u.hideAndClean()}var y={};return u&&(y.width=u),a&&(y.height=a),y.boxShadow="0 0 0 1px #B4D5FF",Ry("div",{id:i,style:y,className:"w-e-image-container w-e-selected-image-container",on:{mousedown:function(r){var n=og(r.target);if(n.hasClass("w-e-image-dragger")){r.preventDefault(),(n.hasClass("left-top")||n.hasClass("left-bottom"))&&(d=!0);var o=CB.getParentNode(t,e);if(null!=o){var i=CB.toDOMNode(t,o),u=i.getBoundingClientRect?i.getBoundingClientRect():{width:0},a=window.getComputedStyle(i),s=parseFloat(a.paddingLeft),c=parseFloat(a.paddingRight),l=parseFloat(a.borderLeftWidth),f=parseFloat(a.borderRightWidth);g(r.clientX,u.width-s-c-l-f)}}}}},r,Ry("div",{className:"w-e-image-dragger left-top"}),Ry("div",{className:"w-e-image-dragger right-top"}),Ry("div",{className:"w-e-image-dragger left-bottom"}),Ry("div",{className:"w-e-image-dragger right-bottom"}))}(r,t,y,{width:d,height:h}):function(t,e,r,n){var o=n.width,i=n.height,u={};return o&&(u.width=o),i&&(u.height=i),Ry("div",{id:LZ(t,e),style:u,className:"w-e-image-container"},r)}(r,t,y,{width:d,height:h})}},jZ={renderElems:[_Z],elemsToHtml:[{type:"image",elemToHtml:function(t,e){var r=t,n=r.src,o=r.alt,i=void 0===o?"":o,u=r.href,a=void 0===u?"":u,s=r.width,c=void 0===s?"":s,l=r.height,f=void 0===l?"":l,d=r.style,p=void 0===d?{}:d,h=p.width,v=void 0===h?"":h,g=p.height,y=void 0===g?"":g,m="";return v&&(m+="width: ".concat(v,";")),y&&(m+="height: ".concat(y,";")),'<img src="'.concat(n,'" alt="').concat(i,'" data-href="').concat(a,'" width="').concat(c,'" height="').concat(f,'" style="').concat(m,'"/>')}}],parseElemsHtml:[FZ],menus:[AZ,xZ,TZ,NZ,kZ,PZ,BZ,IZ],editorPlugin:function(t){var e=t.isInline,r=t.isVoid,n=t;return n.isInline=function(t){return"image"===t.type||e(t)},n.isVoid=function(t){return"image"===t.type||r(t)},n}},MZ=function(){function t(){this.tag="button"}return t.prototype.getValue=function(t){var e=_z(Kh.nodes(t,{match:function(t){return!!t.indent},universal:!0}),1),r=e[0];return null==r?"":_z(r,1)[0].indent||""},t.prototype.isActive=function(t){return!1},t.prototype.getMatchNode=function(t){var e=_z(Kh.nodes(t,{match:function(t){var e=CB.getNodeType(t);return"paragraph"===e||!!e.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return null==e?null:e[0]},t}(),zZ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.title=LF("indent.decrease"),e.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m256-512v384l-256-192z"></path></svg>',e}return Bz(e,t),e.prototype.isDisabled=function(t){var e=this.getMatchNode(t);return null==e||!e.indent},e.prototype.exec=function(t,e){zv.setNodes(t,{indent:null},{match:function(t){return $h.isElement(t)}})},e}(MZ),HZ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.title=LF("indent.increase"),e.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',e.DEFAULT_INDENT_VALUE="2em",e}return Bz(e,t),e.prototype.isDisabled=function(t){var e=this.getMatchNode(t);return null==e||!!e.indent},e.prototype.getIndentValue=function(t){var e=this.getMatchNode(t);if(!e)return this.DEFAULT_INDENT_VALUE;var r=e.children.filter(wv.isText)[0];if(!r||!r.fontSize)return this.DEFAULT_INDENT_VALUE;var n=r.fontSize,o=parseInt(r.fontSize,10),i=n.replace("".concat(o),"");return"".concat(2*o).concat(i)},e.prototype.exec=function(t,e){var r=this.getIndentValue(t);zv.setNodes(t,{indent:r},{match:function(t){return $h.isElement(t)},mode:"highest"})},e}(MZ),$Z={renderStyle:function(t,e){if(!$h.isElement(t))return e;var r=t.indent,n=e;return r&&jU(n,{textIndent:r}),n},styleToHtml:function(t,e){if(!$h.isElement(t))return e;var r=t.indent;if(!r)return e;var n=og(e);return n.css("text-indent",r),o$(n)},preParseHtml:[{selector:"p,h1,h2,h3,h4,h5",preParseHtml:function(t){var e=og(t),r=u$(e,"padding-left");return/^[1-9]\d*em$/.test(r)&&e.css("text-indent","2em"),/^[1-9]\d*px$/.test(r)&&parseInt(r,10)%32==0&&e.css("text-indent","2em"),e[0]}}],parseStyleHtml:function(t,e,r){var n=og(t);if(!$h.isElement(e))return e;var o=e,i=u$(n,"text-indent"),u=parseInt(i,10);return i&&u>0&&(o.indent=i),o},menus:[{key:"indent",factory:function(){return new HZ}},{key:"delIndent",factory:function(){return new zZ}}]},UZ=function(){function t(){this.tag="button"}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||!!CB.getSelectedElems(t).some(function(e){var r=e.type;return!(!Kh.isVoid(t,e)||!Kh.isBlock(t,e)||"video"===r)||!!["pre","code"].includes(r)})},t}(),VZ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.title=LF("justify.center"),e.iconSvg='<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>',e}return Bz(e,t),e.prototype.exec=function(t,e){zv.setNodes(t,{textAlign:"center"},{match:function(e){return $h.isElement(e)&&!t.isInline(e)}})},e}(UZ),GZ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.title=LF("justify.justify"),e.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>',e}return Bz(e,t),e.prototype.exec=function(t,e){zv.setNodes(t,{textAlign:"justify"},{match:function(e){return $h.isElement(e)&&!t.isInline(e)}})},e}(UZ),WZ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.title=LF("justify.left"),e.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>',e}return Bz(e,t),e.prototype.exec=function(t,e){zv.setNodes(t,{textAlign:"left"},{match:function(e){return $h.isElement(e)&&!t.isInline(e)}})},e}(UZ),qZ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.title=LF("justify.right"),e.iconSvg='<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>',e}return Bz(e,t),e.prototype.exec=function(t,e){zv.setNodes(t,{textAlign:"right"},{match:function(e){return $h.isElement(e)&&!t.isInline(e)}})},e}(UZ),KZ={renderStyle:function(t,e){if(!$h.isElement(t))return e;var r=t.textAlign,n=e;return r&&jU(n,{textAlign:r}),n},styleToHtml:function(t,e){if(!$h.isElement(t))return e;var r=t.textAlign;if(!r)return e;var n=og(e);return n.css("text-align",r),o$(n)},parseStyleHtml:function(t,e,r){var n=og(t);if(!$h.isElement(e))return e;var o=e,i=u$(n,"text-align");return i&&(o.textAlign=i),o},menus:[{key:"justifyLeft",factory:function(){return new WZ}},{key:"justifyRight",factory:function(){return new qZ}},{key:"justifyCenter",factory:function(){return new VZ}},{key:"justifyJustify",factory:function(){return new GZ}}]},YZ=function(){function t(){this.title=LF("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(t){var e=[],r=t.getMenuConfig("lineHeight").lineHeightList,n=void 0===r?[]:r;e.push({text:LF("lineHeight.default"),value:""}),n.forEach(function(t){e.push({text:t,value:t})});var o=this.getValue(t);return e.forEach(function(t){t.value===o?t.selected=!0:t.selected=void 0}),e},t.prototype.getMatchNode=function(t){var e=_z(Kh.nodes(t,{match:function(t){var e=CB.getNodeType(t);return!!e.startsWith("header")||!!["paragraph","blockquote","list-item"].includes(e)},universal:!0,mode:"highest"}),1)[0];return null==e?null:e[0]},t.prototype.isActive=function(t){return!1},t.prototype.getValue=function(t){var e=this.getMatchNode(t);return null==e?"":$h.isElement(e)&&e.lineHeight||""},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getMatchNode(t)},t.prototype.exec=function(t,e){zv.setNodes(t,{lineHeight:e.toString()},{mode:"highest"})},t}(),XZ={renderStyle:function(t,e){if(!$h.isElement(t))return e;var r=t.lineHeight,n=e;return r&&jU(n,{lineHeight:r}),n},styleToHtml:function(t,e){if(!$h.isElement(t))return e;var r=t.lineHeight;if(!r)return e;var n=og(e);return n.css("line-height",r),o$(n)},parseStyleHtml:function(t,e,r){var n=og(t);if(!$h.isElement(e))return e;var o=e,i=r.getMenuConfig("lineHeight").lineHeightList,u=void 0===i?[]:i,a=u$(n,"line-height");return a&&u.includes(a)&&(o.lineHeight=a),o},menus:[{key:"lineHeight",factory:function(){return new YZ},config:{lineHeightList:["1","1.15","1.5","2","2.5","3"]}}]};function JZ(t,e,r,n){return Fz(this,void 0,void 0,function(){var o,i;return Rz(this,function(u){switch(u.label){case 0:return(o=e.getMenuConfig(t).checkLink)?[4,o(r,n)]:[3,2];case 1:if("string"==typeof(i=u.sent()))return e.alert(i,"error"),[2,!1];if(null==i)return[2,!1];u.label=2;case 2:return[2,!0]}})})}function ZZ(t,e,r){return Fz(this,void 0,void 0,function(){var n;return Rz(this,function(o){switch(o.label){case 0:return(n=e.getMenuConfig(t).parseLinkUrl)?[4,n(r)]:[3,2];case 1:return[2,o.sent()];case 2:return[2,r]}})})}function QZ(t){return null==t.selection||!!CB.getSelectedElems(t).some(function(e){var r=e.type;return!!t.isVoid(e)||!!["pre","code","link"].includes(r)})}function tQ(t,e){return{type:"link",url:oZ(t),children:e?[{text:e}]:[]}}function eQ(t,e,r){return Fz(this,void 0,void 0,function(){var n,o,i,u,a;return Rz(this,function(s){switch(s.label){case 0:return r?(e||(e=r),t.restoreSelection(),QZ(t)?[2]:[4,JZ("insertLink",t,e,r)]):[2];case 1:return s.sent()?[4,ZZ("insertLink",t,r)]:[2];case 2:if(n=s.sent(),null==(o=t.selection))return[2];if(dv.isCollapsed(o)){if((u=CB.getLeftLengthOfMaxLength(t))<=0)return[2];t.insertText(" "),u<e.length+1&&(e=e.slice(0,u-1)),a=tQ(n,e),zv.insertNodes(t,a),t.insertFragment([{text:" "}])}else if((i=Kh.string(t,o))!==e){if((u=CB.getLeftLengthOfMaxLength(t))<=0)return[2];u<i.length-e.length&&(e=e.slice(0,u)),t.deleteFragment(),a=tQ(n,e),zv.insertNodes(t,a)}else a=tQ(n),zv.wrapNodes(t,a,{split:!0}),zv.collapse(t,{edge:"end"});return[2]}})})}function rQ(){return nZ("w-e-update-link")}var nQ=function(){function t(){this.title=LF("link.edit"),this.iconSvg=rH,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.urlInputId=rQ(),this.buttonId=rQ()}return t.prototype.getSelectedLinkElem=function(t){var e=CB.getSelectedNodeByType(t,"link");return null==e?null:e},t.prototype.getValue=function(t){var e=this.getSelectedLinkElem(t);return e&&e.url||""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedLinkElem(t)},t.prototype.getModalPositionNode=function(t){return CB.getSelectedNodeByType(t,"link")},t.prototype.getModalContentElem=function(t){var e=this.urlInputId,r=this.buttonId,n=_z(qF(LF("link.url"),e),2),o=n[0],i=og(n[1]),u=_z(YF(r,LF("common.ok")),1)[0];if(null==this.$content){var a=og("<div></div>");a.on("click","#".concat(r),function(r){r.preventDefault(),t.restoreSelection();var n=CB.getSelectedNodeByType(t,"link"),o=n?tv.string(n):"",i=a.find("#".concat(e)).val();!function(t,e,r){Fz(this,void 0,void 0,function(){var n,o;return Rz(this,function(i){switch(i.label){case 0:return r?[4,JZ("editLink",t,e,r)]:[2];case 1:return i.sent()?[4,ZZ("editLink",t,r)]:[2];case 2:return n=i.sent(),o={url:oZ(n)},zv.setNodes(t,o,{match:function(t){return CB.checkNodeType(t,"link")}}),[2]}})})}(t,o,i),t.hidePanelOrModal()}),this.$content=a}var s=this.$content;s.empty(),s.append(o),s.append(u);var c=this.getValue(t);return i.val(c),setTimeout(function(){i.focus()}),s[0]},t}();function oQ(){return nZ("w-e-insert-link")}var iQ,uQ,aQ=function(){function t(){this.title=LF("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=oQ(),this.urlInputId=oQ(),this.buttonId=oQ()}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return QZ(t)},t.prototype.getModalPositionNode=function(t){return null},t.prototype.getModalContentElem=function(t){var e=t.selection,r=this,n=r.textInputId,o=r.urlInputId,i=r.buttonId,u=_z(qF(LF("link.text"),n),2),a=u[0],s=og(u[1]),c=_z(qF(LF("link.url"),o),2),l=c[0],f=og(c[1]),d=_z(YF(i,LF("common.ok")),1)[0];if(null==this.$content){var p=og("<div></div>");p.on("click","#".concat(i),function(e){e.preventDefault();var r=p.find("#".concat(n)).val(),i=p.find("#".concat(o)).val();eQ(t,r,i),t.hidePanelOrModal()}),this.$content=p}var h=this.$content;if(h.empty(),h.append(a),h.append(l),h.append(d),null==e||dv.isCollapsed(e))s.val("");else{var v=Kh.string(t,e);s.val(v)}return f.val(""),setTimeout(function(){s.focus()}),h[0]},t}(),sQ=function(){function t(){this.title=LF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||null==CB.getSelectedNodeByType(t,"link")},t.prototype.exec=function(t,e){this.isDisabled(t)||zv.unwrapNodes(t,{match:function(t){return CB.checkNodeType(t,"link")}})},t}(),cQ=function(){function t(){this.title=LF("link.view"),this.iconSvg=nH,this.tag="button"}return t.prototype.getSelectedLinkElem=function(t){var e=CB.getSelectedNodeByType(t,"link");return null==e?null:e},t.prototype.getValue=function(t){var e=this.getSelectedLinkElem(t);return e&&e.url||""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedLinkElem(t)},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){if(!e||"string"!=typeof e)throw new Error("View link failed, link url is '".concat(e,"'"));window.open(e,"_blank")}},t}(),lQ={checkLink:function(t,e){return!0},parseLinkUrl:function(t){return t}},fQ={key:"insertLink",factory:function(){return new aQ},config:lQ},dQ={key:"editLink",factory:function(){return new nQ},config:lQ},pQ={key:"unLink",factory:function(){return new sQ}},hQ={key:"viewLink",factory:function(){return new cQ}},vQ={selector:"a:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n=og(t).text().replace(/\s+/gm," ");return e.length>0?{text:e.filter(function(t){return wv.isText(t)}).map(function(t){return t.text}).join("")||n}:{text:n}}},gQ=DL(function(){if(uQ)return iQ;uQ=1,iQ=function(n){if("string"!=typeof n)return!1;var o=n.match(t);if(!o)return!1;var i=o[1];return!!i&&!(!e.test(i)&&!r.test(i))};var t=/^(?:\w+:)?\/\/(\S+)$/,e=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,r=/^[^\s\.]+\.\S{2,}$/;return iQ}()),yQ={type:"link",renderElem:function(t,e,r){var n=t,o=n.url,i=n.target;return Ry("a",{href:o,target:void 0===i?"_blank":i},e)}},mQ={renderElems:[yQ],elemsToHtml:[{type:"link",elemToHtml:function(t,e){var r=t,n=r.url,o=r.target,i=void 0===o?"_blank":o;return'<a href="'.concat(n,'" target="').concat(i,'">').concat(e,"</a>")}}],parseElemsHtml:[vQ],menus:[fQ,dQ,pQ,hQ],editorPlugin:function(t){var e=t.isInline,r=t.insertData,n=t.normalizeNode,o=t;return o.isInline=function(t){return"link"===t.type||e(t)},o.insertData=function(t){var e=t.getData("text/plain");if(gQ(e)){if(/<img[^>]+>/.test(t.getData("text/html")))r(t);else if(!QZ(o)){var n=o.selection;if(null!=n){var i=Kh.string(o,n);eQ(o,i,e)}}}else r(t)},o.normalizeNode=function(t){var e=_z(t,2),r=e[0],i=e[1];return"link"!==CB.getNodeType(r)?n([r,i]):""===tv.string(r)?zv.removeNodes(o,{at:i}):n([r,i])},o}},bQ={selector:"p:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n=og(t);return 0===(e=e.filter(function(t){return!!wv.isText(t)||!!r.isInline(t)})).length&&(e=[{text:n.text().replace(/\s+/gm," ")}]),{type:"paragraph",children:e}}};function EQ(t){var e=_z(Kh.nodes(t,{match:function(e){return t.children[0]===e},mode:"highest"}),1)[0];if(null==e)return!1;var r=e[0];if(!$h.isElement(r))return!1;if("paragraph"===r.type)return!1;if(""!==tv.string(r))return!1;var n=r.children,o=void 0===n?[]:n;return!!wv.isText(o[0])&&(zv.setNodes(t,{type:"paragraph"}),!0)}var wQ={type:"paragraph",renderElem:function(t,e,r){return Ry("p",null,e)}},SQ={renderElems:[wQ],elemsToHtml:[{type:"paragraph",elemToHtml:function(t,e){return""===e?"<p><br></p>":"<p>".concat(e,"</p>")}}],parseElemsHtml:[bQ],editorPlugin:function(t){var e=t.deleteBackward,r=t.deleteForward,n=t;return n.deleteBackward=function(t){EQ(n)||e(t)},n.deleteForward=function(t){EQ(n)||r(t)},n}};function CQ(t,e){return null==t.selection||!!_z(Kh.nodes(t,{match:function(e){return"pre"===CB.getNodeType(e)||!!Kh.isVoid(t,e)},universal:!0}),1)[0]}function DQ(t,e){Object.keys(e).forEach(function(e){"text"!==e&&Kh.removeMark(t,e)})}var OQ,AQ=function(){function t(){this.marksNeedToRemove=[],this.tag="button"}return t.prototype.getValue=function(t){var e=this.mark,r=Kh.marks(t);return r?r[e]:!!_z(Kh.nodes(t,{match:function(t){return!0===t[e]}}),1)[0]},t.prototype.isActive=function(t){return!!this.getValue(t)},t.prototype.isDisabled=function(t){return CQ(t,this.mark)},t.prototype.exec=function(t,e){var r=this.mark,n=this.marksNeedToRemove;e?t.removeMark(r):(t.addMark(r,!0),n&&n.forEach(function(e){return t.removeMark(e)}))},t}(),xQ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.mark="bold",e.title=LF("textStyle.bold"),e.iconSvg='<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>',e.hotkey="mod+b",e}return Bz(e,t),e}(AQ),TQ=function(){function t(){this.title=LF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return CQ(t)},t.prototype.exec=function(t,e){var r,n,o=Kh.nodes(t,{match:function(t){return wv.isText(t)},universal:!0});try{for(var i=Lz(o),u=i.next();!u.done;u=i.next())DQ(t,u.value[0])}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}},t}(),NQ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.mark="code",e.title=LF("textStyle.code"),e.iconSvg='<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>',e.hotkey="mod+e",e}return Bz(e,t),e}(AQ),kQ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.mark="italic",e.title=LF("textStyle.italic"),e.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z"></path></svg>',e.hotkey="mod+i",e}return Bz(e,t),e}(AQ),PQ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.mark="sub",e.marksNeedToRemove=["sup"],e.title=LF("textStyle.sub"),e.iconSvg='<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>',e.hotkey="",e}return Bz(e,t),e}(AQ),BQ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.mark="sup",e.marksNeedToRemove=["sub"],e.title=LF("textStyle.sup"),e.iconSvg='<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>',e.hotkey="",e}return Bz(e,t),e}(AQ),IQ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.mark="through",e.title=LF("textStyle.through"),e.iconSvg='<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>',e.hotkey="mod+shift+x",e}return Bz(e,t),e}(AQ),FQ=function(t){function e(){var e=t.apply(this,jz([],_z(arguments),!1))||this;return e.mark="underline",e.title=LF("textStyle.underline"),e.iconSvg='<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>',e.hotkey="mod+u",e}return Bz(e,t),e}(AQ),RQ={key:"bold",factory:function(){return new xQ}},LQ={key:"code",factory:function(){return new NQ}},_Q={key:"italic",factory:function(){return new kQ}},jQ={key:"through",factory:function(){return new IQ}},MQ={key:"underline",factory:function(){return new FQ}},zQ={key:"sup",factory:function(){return new BQ}},HQ={key:"sub",factory:function(){return new PQ}},$Q={key:"clearStyle",factory:function(){return new TQ}},UQ={};!function(){if(OQ)return UQ;OQ=1;var t=az(),e=lU();t({target:"String",proto:!0,forced:fU()("bold")},{bold:function(){return e(this,"b","","")}})}();var VQ,GQ={};!function(){if(VQ)return GQ;VQ=1;var t=az(),e=lU();t({target:"String",proto:!0,forced:fU()("italics")},{italics:function(){return e(this,"i","","")}})}();var WQ,qQ={};!function(){if(WQ)return qQ;WQ=1;var t=az(),e=lU();t({target:"String",proto:!0,forced:fU()("sub")},{sub:function(){return e(this,"sub","","")}})}();var KQ,YQ={};function XQ(t,e){return 0!==t.length&&(!!t[0].matches(e)||t.find(e).length>0)}function JQ(t,e){var r=e,n=t,o=n.bold,i=n.italic,u=n.underline,a=n.code,s=n.through,c=n.sub,l=n.sup;return o&&(r="<strong>".concat(r,"</strong>")),a&&(r="<code>".concat(r,"</code>")),i&&(r="<em>".concat(r,"</em>")),u&&(r="<u>".concat(r,"</u>")),s&&(r="<s>".concat(r,"</s>")),c&&(r="<sub>".concat(r,"</sub>")),l&&(r="<sup>".concat(r,"</sup>")),r}!function(){if(KQ)return YQ;KQ=1;var t=az(),e=lU();t({target:"String",proto:!0,forced:fU()("sup")},{sup:function(){return e(this,"sup","","")}})}();var ZQ={renderStyle:function(t,e){var r=t,n=r.bold,o=r.italic,i=r.underline,u=r.code,a=r.through,s=r.sub,c=r.sup,l=e;return n&&(l=Ry("strong",null,l)),u&&(l=Ry("code",null,l)),o&&(l=Ry("em",null,l)),i&&(l=Ry("u",null,l)),a&&(l=Ry("s",null,l)),s&&(l=Ry("sub",null,l)),c&&(l=Ry("sup",null,l)),l},menus:[RQ,MQ,_Q,jQ,LQ,HQ,zQ,$Q],styleToHtml:function(t,e){if(!wv.isText(t))return e;if(n$(e))return JQ(t,e);var r=og(e),n=r.html();return n=JQ(t,n),r.html(n),o$(r)},parseStyleHtml:function(t,e,r){var n=og(t);if(!wv.isText(e))return e;var o=e;return XQ(n,"b,strong")&&(o.bold=!0),XQ(n,"i,em")&&(o.italic=!0),XQ(n,"u")&&(o.underline=!0),XQ(n,"s,strike")&&(o.through=!0),XQ(n,"sub")&&(o.sub=!0),XQ(n,"sup")&&(o.sup=!0),XQ(n,"code")&&(o.code=!0),o}},QQ=function(){function t(){this.title=LF("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(t){return""},t.prototype.isActive=function(t){return!!CB.getSelectedNodeByType(t,"todo")},t.prototype.isDisabled=function(t){return null==t.selection||!!CB.getSelectedElems(t).some(function(e){if(Kh.isVoid(t,e)&&Kh.isBlock(t,e))return!0;var r=e.type;return!!["pre","table","list-item"].includes(r)})},t.prototype.exec=function(t,e){var r=this.isActive(t);zv.setNodes(t,{type:r?"paragraph":"todo"})},t}(),t0={selector:'div[data-w-e-type="todo"]',parseElemHtml:function(t,e,r){var n=og(t);0===(e=e.filter(function(t){return!!wv.isText(t)||!!r.isInline(t)})).length&&(e=[{text:n.text().replace(/\s+/gm," ")}]);var o=!1;return null!=n.find('input[type="checkbox"]').attr("checked")&&(o=!0),{type:"todo",checked:o,children:e}}},e0={type:"todo",renderElem:function(t,e,r){var n=!1;r.isDisabled()&&(n=!0);var o=Ry("div",{style:{margin:"5px 0"}},Ry("span",{contentEditable:!1,style:{marginRight:"0.5em"}},Ry("input",{type:"checkbox",checked:t.checked,disabled:n,on:{change:function(e){var n=CB.findPath(r,t),o={checked:e.target.checked};zv.setNodes(r,o,{at:n})}}})),Ry("span",null,e));return o}},r0={renderElems:[e0],elemsToHtml:[{type:"todo",elemToHtml:function(t,e){var r=t.checked;return'<div data-w-e-type="todo"><input type="checkbox" disabled '.concat(r?"checked":"",">").concat(e,"</div>")}}],preParseHtml:[{selector:"ul.w-e-todo",preParseHtml:function(t){var e=og(t).find("li"),r=og('<div data-w-e-type="todo"></div>'),n=e.find("input[type]");return r.append(n),e.children()[0].remove(),r[0].innerHTML+=e[0].innerHTML,r[0]}}],parseElemsHtml:[t0],menus:[{key:"todo",factory:function(){return new QQ}}],editorPlugin:function(t){var e=t.deleteBackward,r=t;return r.deleteBackward=function(r){var n=t.selection;if(n&&dv.isCollapsed(n)){var o=CB.getSelectedNodeByType(t,"todo");if(o&&0===tv.string(o).length)return void zv.setNodes(t,{type:"paragraph"},{mode:"highest"})}e(r)},r}},n0=function(){function t(){this.title=LF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection},t.prototype.exec=function(t,e){"function"==typeof t.redo&&t.redo()},t}(),o0=function(){function t(){this.title=LF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection},t.prototype.exec=function(t,e){"function"==typeof t.undo&&t.undo()},t}(),i0=[ZQ,eV,dJ,$Z,KZ,XZ,jZ,iV,aV,mQ,yU,b$,eZ,SQ,r0,yJ,{menus:[{key:"redo",factory:function(){return new n0}},{key:"undo",factory:function(){return new o0}}]},bJ,nV];BF("en",{highLightModule:{selectLang:"Language"}}),BF("zh-CN",{highLightModule:{selectLang:"选择语言"}});var u0="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};var a0,s0,c0={};function l0(){if(s0)return a0;s0=1;var t=function(t){return t&&t.Math===Math&&t};return a0=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof u0&&u0)||t("object"==typeof a0&&a0)||function(){return this}()||Function("return this")()}var f0,d0,p0,h0,v0,g0,y0,m0,b0={};function E0(){return d0?f0:(d0=1,f0=function(t){try{return!!t()}catch(t){return!0}})}function w0(){if(h0)return p0;h0=1;var t=E0();return p0=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function S0(){if(g0)return v0;g0=1;var t=E0();return v0=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function C0(){if(m0)return y0;m0=1;var t=S0(),e=Function.prototype.call;return y0=t?e.bind(e):function(){return e.apply(e,arguments)},y0}var D0,O0,A0,x0,T0,N0,k0,P0,B0,I0,F0,R0,L0,_0,j0,M0,z0,H0,$0,U0,V0,G0,W0,q0,K0,Y0,X0,J0,Z0,Q0,t1,e1,r1,n1,o1,i1,u1,a1,s1,c1,l1,f1={};function d1(){if(D0)return f1;D0=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return f1.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,f1}function p1(){return A0?O0:(A0=1,O0=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function h1(){if(T0)return x0;T0=1;var t=S0(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return x0=t?n:function(t){return function(){return r.apply(t,arguments)}},x0}function v1(){if(k0)return N0;k0=1;var t=h1(),e=t({}.toString),r=t("".slice);return N0=function(t){return r(e(t),8,-1)}}function g1(){if(B0)return P0;B0=1;var t=h1(),e=E0(),r=v1(),n=Object,o=t("".split);return P0=e(function(){return!n("z").propertyIsEnumerable(0)})?function(t){return"String"===r(t)?o(t,""):n(t)}:n}function y1(){return F0?I0:(F0=1,I0=function(t){return null==t})}function m1(){if(L0)return R0;L0=1;var t=y1(),e=TypeError;return R0=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function b1(){if(j0)return _0;j0=1;var t=g1(),e=m1();return _0=function(r){return t(e(r))}}function E1(){if(z0)return M0;z0=1;var t="object"==typeof document&&document.all;return M0=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function w1(){if($0)return H0;$0=1;var t=E1();return H0=function(e){return"object"==typeof e?null!==e:t(e)}}function S1(){if(V0)return U0;V0=1;var t=l0(),e=E1();return U0=function(r,n){return arguments.length<2?(o=t[r],e(o)?o:void 0):t[r]&&t[r][n];var o},U0}function C1(){if(W0)return G0;W0=1;var t=h1();return G0=t({}.isPrototypeOf)}function D1(){if(X0)return Y0;X0=1;var t,e,r=l0(),n=function(){if(K0)return q0;K0=1;var t=l0().navigator,e=t&&t.userAgent;return q0=e?String(e):""}(),o=r.process,i=r.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),Y0=e}function O1(){if(Z0)return J0;Z0=1;var t=D1(),e=E0(),r=l0().String;return J0=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function A1(){if(t1)return Q0;t1=1;var t=O1();return Q0=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function x1(){if(r1)return e1;r1=1;var t=S1(),e=E1(),r=C1(),n=A1(),o=Object;return e1=n?function(t){return"symbol"==typeof t}:function(n){var i=t("Symbol");return e(i)&&r(i.prototype,o(n))}}function T1(){if(u1)return i1;u1=1;var t=E1(),e=function(){if(o1)return n1;o1=1;var t=String;return n1=function(e){try{return t(e)}catch(t){return"Object"}}}(),r=TypeError;return i1=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}var N1,k1,P1,B1,I1,F1,R1,L1,_1,j1,M1,z1,H1,$1,U1,V1,G1,W1,q1,K1,Y1,X1,J1,Z1,Q1={exports:{}};function t2(){if(B1)return P1;B1=1;var t=l0(),e=Object.defineProperty;return P1=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function e2(){if(I1)return Q1.exports;I1=1;var t=k1?N1:(k1=1,N1=!1),e=l0(),r=t2(),n="__core-js_shared__",o=Q1.exports=e[n]||r(n,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Q1.exports}function r2(){if(R1)return F1;R1=1;var t=e2();return F1=function(e,r){return t[e]||(t[e]=r||{})}}function n2(){if(_1)return L1;_1=1;var t=m1(),e=Object;return L1=function(r){return e(t(r))}}function o2(){if(M1)return j1;M1=1;var t=h1(),e=n2(),r=t({}.hasOwnProperty);return j1=Object.hasOwn||function(t,n){return r(e(t),n)}}function i2(){if(H1)return z1;H1=1;var t=h1(),e=0,r=Math.random(),n=t(1.1.toString);return z1=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function u2(){if(U1)return $1;U1=1;var t=l0(),e=r2(),r=o2(),n=i2(),o=O1(),i=A1(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||n;return $1=function(t){return r(a,t)||(a[t]=o&&r(u,t)?u[t]:s("Symbol."+t)),a[t]}}function a2(){if(G1)return V1;G1=1;var t=C0(),e=w1(),r=x1(),n=function(){if(s1)return a1;s1=1;var t=T1(),e=y1();return a1=function(r,n){var o=r[n];return e(o)?void 0:t(o)}}(),o=function(){if(l1)return c1;l1=1;var t=C0(),e=E1(),r=w1(),n=TypeError;return c1=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!r(a=t(u,o)))return a;if(e(u=o.valueOf)&&!r(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!r(a=t(u,o)))return a;throw new n("Can't convert object to primitive value")}}(),i=u2(),u=TypeError,a=i("toPrimitive");return V1=function(i,s){if(!e(i)||r(i))return i;var c,l=n(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||r(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}function s2(){if(q1)return W1;q1=1;var t=a2(),e=x1();return W1=function(r){var n=t(r,"string");return e(n)?n:n+""}}function c2(){if(Y1)return K1;Y1=1;var t=l0(),e=w1(),r=t.document,n=e(r)&&e(r.createElement);return K1=function(t){return n?r.createElement(t):{}}}function l2(){if(J1)return X1;J1=1;var t=w0(),e=E0(),r=c2();return X1=!t&&!e(function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})}function f2(){if(Z1)return b0;Z1=1;var t=w0(),e=C0(),r=d1(),n=p1(),o=b1(),i=s2(),u=o2(),a=l2(),s=Object.getOwnPropertyDescriptor;return b0.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return n(!e(r.f,t,c),t[c])},b0}var d2,p2,h2,v2,g2,y2,m2,b2={};function E2(){if(p2)return d2;p2=1;var t=w0(),e=E0();return d2=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function w2(){if(v2)return h2;v2=1;var t=w1(),e=String,r=TypeError;return h2=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function S2(){if(g2)return b2;g2=1;var t=w0(),e=l2(),r=E2(),n=w2(),o=s2(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return b2.f=t?r?function(t,e,r){if(n(t),e=o(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&l in r&&!r[l]){var i=a(t,e);i&&i[l]&&(t[e]=r.value,r={configurable:c in r?r[c]:i[c],enumerable:s in r?r[s]:i[s],writable:!1})}return u(t,e,r)}:u:function(t,r,a){if(n(t),r=o(r),n(a),e)try{return u(t,r,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[r]=a.value),t},b2}function C2(){if(m2)return y2;m2=1;var t=w0(),e=S2(),r=p1();return y2=t?function(t,n,o){return e.f(t,n,r(1,o))}:function(t,e,r){return t[e]=r,t}}var D2,O2,A2,x2,T2,N2,k2,P2,B2,I2,F2,R2,L2,_2,j2,M2={exports:{}};function z2(){if(O2)return D2;O2=1;var t=w0(),e=o2(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,o=e(r,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&n(r,"name").configurable);return D2={EXISTS:o,PROPER:i,CONFIGURABLE:u}}function H2(){if(x2)return A2;x2=1;var t=h1(),e=E1(),r=e2(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),A2=r.inspectSource}function $2(){if(P2)return k2;P2=1;var t=r2(),e=i2(),r=t("keys");return k2=function(t){return r[t]||(r[t]=e(t))}}function U2(){return I2?B2:(I2=1,B2={})}function V2(){if(R2)return F2;R2=1;var t,e,r,n=function(){if(N2)return T2;N2=1;var t=l0(),e=E1(),r=t.WeakMap;return T2=e(r)&&/native code/.test(String(r))}(),o=l0(),i=w1(),u=C2(),a=o2(),s=e2(),c=$2(),l=U2(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(n||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},r=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},r=function(t){return a(t,v)}}return F2={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!i(r)||(n=e(r)).type!==t)throw new d("Incompatible receiver, "+t+" required");return n}}}}function G2(){if(j2)return _2;j2=1;var t=E1(),e=S2(),r=function(){if(L2)return M2.exports;L2=1;var t=h1(),e=E0(),r=E1(),n=o2(),o=w0(),i=z2().CONFIGURABLE,u=H2(),a=V2(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=M2.exports=function(t,e,r){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return n(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return r(this)&&c(this).source||u(this)},"toString"),M2.exports}(),n=t2();return _2=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&r(u,c,a),a.global)s?o[i]=u:n(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var W2,q2,K2,Y2,X2,J2,Z2,Q2,t4,e4,r4,n4,o4,i4,u4,a4,s4,c4={};function l4(){if(Y2)return K2;Y2=1;var t=function(){if(q2)return W2;q2=1;var t=Math.ceil,e=Math.floor;return W2=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return K2=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function f4(){if(e4)return t4;e4=1;var t=function(){if(Q2)return Z2;Q2=1;var t=l4(),e=Math.min;return Z2=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}();return t4=function(e){return t(e.length)}}function d4(){if(i4)return o4;i4=1;var t=h1(),e=o2(),r=b1(),n=function(){if(n4)return r4;n4=1;var t=b1(),e=function(){if(J2)return X2;J2=1;var t=l4(),e=Math.max,r=Math.min;return X2=function(n,o){var i=t(n);return i<0?e(i+o,0):r(i,o)}}(),r=f4(),n=function(n){return function(o,i,u){var a=t(o),s=r(a);if(0===s)return!n&&-1;var c,l=e(u,s);if(n&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((n||l in a)&&a[l]===i)return n||l||0;return!n&&-1}};return r4={includes:n(!0),indexOf:n(!1)}}().indexOf,o=U2(),i=t([].push);return o4=function(t,u){var a,s=r(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~n(l,a)||i(l,a));return l}}function p4(){return a4?u4:(a4=1,u4=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}var h4,v4,g4,y4,m4,b4,E4,w4,S4,C4,D4,O4,A4,x4,T4,N4,k4,P4,B4,I4,F4={};function R4(){return h4||(h4=1,F4.f=Object.getOwnPropertySymbols),F4}function L4(){if(m4)return y4;m4=1;var t=o2(),e=function(){if(g4)return v4;g4=1;var t=S1(),e=h1(),r=function(){if(s4)return c4;s4=1;var t=d4(),e=p4().concat("length","prototype");return c4.f=Object.getOwnPropertyNames||function(r){return t(r,e)},c4}(),n=R4(),o=w2(),i=e([].concat);return v4=t("Reflect","ownKeys")||function(t){var e=r.f(o(t)),u=n.f;return u?i(e,u(t)):e}}(),r=f2(),n=S2();return y4=function(o,i,u){for(var a=e(i),s=n.f,c=r.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function _4(){if(S4)return w4;S4=1;var t=l0(),e=f2().f,r=C2(),n=G2(),o=t2(),i=L4(),u=function(){if(E4)return b4;E4=1;var t=E0(),e=E1(),r=/#|\.prototype\./,n=function(r,n){var s=i[o(r)];return s===a||s!==u&&(e(n)?t(n):!!n)},o=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},i=n.data={},u=n.NATIVE="N",a=n.POLYFILL="P";return b4=n}();return w4=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&r(d,"sham",!0),n(c,l,d,a)}}}function j4(){if(D4)return C4;D4=1;var t={};return t[u2()("toStringTag")]="z",C4="[object z]"===String(t)}function M4(){if(A4)return O4;A4=1;var t=j4(),e=E1(),r=v1(),n=u2()("toStringTag"),o=Object,i="Arguments"===r(function(){return arguments}());return O4=t?r:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),n))?a:i?r(u):"Object"===(s=r(u))&&e(u.callee)?"Arguments":s}}function z4(){if(T4)return x4;T4=1;var t=M4(),e=String;return x4=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}!function(){if(I4)return c0;I4=1;var t=_4(),e=function(){if(k4)return N4;k4=1;var t=h1(),e=m1(),r=z4(),n=/"/g,o=t("".replace);return N4=function(t,i,u,a){var s=r(e(t)),c="<"+i;return""!==u&&(c+=" "+u+'="'+o(r(a),n,""")+'"'),c+">"+s+"</"+i+">"}}(),r=function(){if(B4)return P4;B4=1;var t=E0();return P4=function(e){return t(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})}}();t({target:"String",proto:!0,forced:r("anchor")},{anchor:function(t){return e(this,"a","name",t)}})}(),"function"==typeof SuppressedError&&SuppressedError;var H4,$4,U4,V4={};!function(){if(U4)return V4;U4=1;var t=j4(),e=G2(),r=function(){if($4)return H4;$4=1;var t=j4(),e=M4();return H4=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var G4,W4,q4,K4,Y4,X4,J4,Z4,Q4={exports:{}},t6=function(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}((G4||(G4=1,function(t){var e=function(t){var e=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,r=0,n={},o={manual:t.Prism&&t.Prism.manual,disableWorkerMessageHandler:t.Prism&&t.Prism.disableWorkerMessageHandler,util:{encode:function t(e){return e instanceof i?new i(e.type,t(e.content),e.alias):Array.isArray(e)?e.map(t):e.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(t){return Object.prototype.toString.call(t).slice(8,-1)},objId:function(t){return t.__id||Object.defineProperty(t,"__id",{value:++r}),t.__id},clone:function t(e,r){var n,i;switch(r=r||{},o.util.type(e)){case"Object":if(i=o.util.objId(e),r[i])return r[i];for(var u in n={},r[i]=n,e)e.hasOwnProperty(u)&&(n[u]=t(e[u],r));return n;case"Array":return i=o.util.objId(e),r[i]?r[i]:(n=[],r[i]=n,e.forEach(function(e,o){n[o]=t(e,r)}),n);default:return e}},getLanguage:function(t){for(;t;){var r=e.exec(t.className);if(r)return r[1].toLowerCase();t=t.parentElement}return"none"},setLanguage:function(t,r){t.className=t.className.replace(RegExp(e,"gi"),""),t.classList.add("language-"+r)},currentScript:function(){if("undefined"==typeof document)return null;if(document.currentScript&&"SCRIPT"===document.currentScript.tagName)return document.currentScript;try{throw new Error}catch(n){var t=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(n.stack)||[])[1];if(t){var e=document.getElementsByTagName("script");for(var r in e)if(e[r].src==t)return e[r]}return null}},isActive:function(t,e,r){for(var n="no-"+e;t;){var o=t.classList;if(o.contains(e))return!0;if(o.contains(n))return!1;t=t.parentElement}return!!r}},languages:{plain:n,plaintext:n,text:n,txt:n,extend:function(t,e){var r=o.util.clone(o.languages[t]);for(var n in e)r[n]=e[n];return r},insertBefore:function(t,e,r,n){var i=(n=n||o.languages)[t],u={};for(var a in i)if(i.hasOwnProperty(a)){if(a==e)for(var s in r)r.hasOwnProperty(s)&&(u[s]=r[s]);r.hasOwnProperty(a)||(u[a]=i[a])}var c=n[t];return n[t]=u,o.languages.DFS(o.languages,function(e,r){r===c&&e!=t&&(this[e]=u)}),u},DFS:function t(e,r,n,i){i=i||{};var u=o.util.objId;for(var a in e)if(e.hasOwnProperty(a)){r.call(e,a,e[a],n||a);var s=e[a],c=o.util.type(s);"Object"!==c||i[u(s)]?"Array"!==c||i[u(s)]||(i[u(s)]=!0,t(s,r,a,i)):(i[u(s)]=!0,t(s,r,null,i))}}},plugins:{},highlightAll:function(t,e){o.highlightAllUnder(document,t,e)},highlightAllUnder:function(t,e,r){var n={callback:r,container:t,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};o.hooks.run("before-highlightall",n),n.elements=Array.prototype.slice.apply(n.container.querySelectorAll(n.selector)),o.hooks.run("before-all-elements-highlight",n);for(var i,u=0;i=n.elements[u++];)o.highlightElement(i,!0===e,n.callback)},highlightElement:function(e,r,n){var i=o.util.getLanguage(e),u=o.languages[i];o.util.setLanguage(e,i);var a=e.parentElement;a&&"pre"===a.nodeName.toLowerCase()&&o.util.setLanguage(a,i);var s={element:e,language:i,grammar:u,code:e.textContent};function c(t){s.highlightedCode=t,o.hooks.run("before-insert",s),s.element.innerHTML=s.highlightedCode,o.hooks.run("after-highlight",s),o.hooks.run("complete",s),n&&n.call(s.element)}if(o.hooks.run("before-sanity-check",s),(a=s.element.parentElement)&&"pre"===a.nodeName.toLowerCase()&&!a.hasAttribute("tabindex")&&a.setAttribute("tabindex","0"),!s.code)return o.hooks.run("complete",s),void(n&&n.call(s.element));if(o.hooks.run("before-highlight",s),s.grammar)if(r&&t.Worker){var l=new Worker(o.filename);l.onmessage=function(t){c(t.data)},l.postMessage(JSON.stringify({language:s.language,code:s.code,immediateClose:!0}))}else c(o.highlight(s.code,s.grammar,s.language));else c(o.util.encode(s.code))},highlight:function(t,e,r){var n={code:t,grammar:e,language:r};if(o.hooks.run("before-tokenize",n),!n.grammar)throw new Error('The language "'+n.language+'" has no grammar.');return n.tokens=o.tokenize(n.code,n.grammar),o.hooks.run("after-tokenize",n),i.stringify(o.util.encode(n.tokens),n.language)},tokenize:function(t,e){var r=e.rest;if(r){for(var n in r)e[n]=r[n];delete e.rest}var o=new s;return c(o,o.head,t),a(t,o,e,o.head,0),function(t){for(var e=[],r=t.head.next;r!==t.tail;)e.push(r.value),r=r.next;return e}(o)},hooks:{all:{},add:function(t,e){var r=o.hooks.all;r[t]=r[t]||[],r[t].push(e)},run:function(t,e){var r=o.hooks.all[t];if(r&&r.length)for(var n,i=0;n=r[i++];)n(e)}},Token:i};function i(t,e,r,n){this.type=t,this.content=e,this.alias=r,this.length=0|(n||"").length}function u(t,e,r,n){t.lastIndex=e;var o=t.exec(r);if(o&&n&&o[1]){var i=o[1].length;o.index+=i,o[0]=o[0].slice(i)}return o}function a(t,e,r,n,s,f){for(var d in r)if(r.hasOwnProperty(d)&&r[d]){var p=r[d];p=Array.isArray(p)?p:[p];for(var h=0;h<p.length;++h){if(f&&f.cause==d+","+h)return;var v=p[h],g=v.inside,y=!!v.lookbehind,m=!!v.greedy,b=v.alias;if(m&&!v.pattern.global){var E=v.pattern.toString().match(/[imsuy]*$/)[0];v.pattern=RegExp(v.pattern.source,E+"g")}for(var w=v.pattern||v,S=n.next,C=s;S!==e.tail&&!(f&&C>=f.reach);C+=S.value.length,S=S.next){var D=S.value;if(e.length>t.length)return;if(!(D instanceof i)){var O,A=1;if(m){if(!(O=u(w,C,t,y))||O.index>=t.length)break;var x=O.index,T=O.index+O[0].length,N=C;for(N+=S.value.length;x>=N;)N+=(S=S.next).value.length;if(C=N-=S.value.length,S.value instanceof i)continue;for(var k=S;k!==e.tail&&(N<T||"string"==typeof k.value);k=k.next)A++,N+=k.value.length;A--,D=t.slice(C,N),O.index-=C}else if(!(O=u(w,0,D,y)))continue;x=O.index;var P=O[0],B=D.slice(0,x),I=D.slice(x+P.length),F=C+D.length;f&&F>f.reach&&(f.reach=F);var R=S.prev;if(B&&(R=c(e,R,B),C+=B.length),l(e,R,A),S=c(e,R,new i(d,g?o.tokenize(P,g):P,b,P)),I&&c(e,S,I),A>1){var L={cause:d+","+h,reach:F};a(t,e,r,S.prev,C,L),f&&L.reach>f.reach&&(f.reach=L.reach)}}}}}}function s(){var t={value:null,prev:null,next:null},e={value:null,prev:t,next:null};t.next=e,this.head=t,this.tail=e,this.length=0}function c(t,e,r){var n=e.next,o={value:r,prev:e,next:n};return e.next=o,n.prev=o,t.length++,o}function l(t,e,r){for(var n=e.next,o=0;o<r&&n!==t.tail;o++)n=n.next;e.next=n,n.prev=e,t.length-=o}if(t.Prism=o,i.stringify=function t(e,r){if("string"==typeof e)return e;if(Array.isArray(e)){var n="";return e.forEach(function(e){n+=t(e,r)}),n}var i={type:e.type,content:t(e.content,r),tag:"span",classes:["token",e.type],attributes:{},language:r},u=e.alias;u&&(Array.isArray(u)?Array.prototype.push.apply(i.classes,u):i.classes.push(u)),o.hooks.run("wrap",i);var a="";for(var s in i.attributes)a+=" "+s+'="'+(i.attributes[s]||"").replace(/"/g,""")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'"'+a+">"+i.content+"</"+i.tag+">"},!t.document)return t.addEventListener?(o.disableWorkerMessageHandler||t.addEventListener("message",function(e){var r=JSON.parse(e.data),n=r.language,i=r.code,u=r.immediateClose;t.postMessage(o.highlight(i,o.languages[n],n)),u&&t.close()},!1),o):o;var f=o.util.currentScript();function d(){o.manual||o.highlightAll()}if(f&&(o.filename=f.src,f.hasAttribute("data-manual")&&(o.manual=!0)),!o.manual){var p=document.readyState;"loading"===p||"interactive"===p&&f&&f.defer?document.addEventListener("DOMContentLoaded",d):window.requestAnimationFrame?window.requestAnimationFrame(d):window.setTimeout(d,16)}return o}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});
|
|
25
25
|
/**
|
|
26
26
|
* Prism: Lightweight, robust, elegant syntax highlighting
|
|
27
27
|
*
|
|
@@ -29,5 +29,5 @@ var t,e,r,n,o,i,u,a,s,c,l,f,d,p,h,v,g,y,m="undefined"!=typeof globalThis?globalT
|
|
|
29
29
|
* @author Lea Verou <https://lea.verou.me>
|
|
30
30
|
* @namespace
|
|
31
31
|
* @public
|
|
32
|
-
*/t.exports&&(t.exports=e),void 0!==i0&&(i0.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"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},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(t){"entity"===t.type&&(t.attributes.title=t.content.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,r){var n={};n["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[r]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};o["language-"+r]={pattern:/[\s\S]+/,inside:e.languages[r]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:o},e.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,r){e.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:[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(t){var e=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+e.source+")*?"+/(?:;|(?=\s*\{))/.source),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\\((?:"+e.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+e.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+e.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:e,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:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var r=t.languages.markup;r&&(r.tag.addInlined("style","css"),r.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|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\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])*(?=\.(?:constructor|prototype))/,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:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),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]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),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(void 0!==e&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var t={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},r="data-src-status",n="loading",o="loaded",i="pre[data-src]:not(["+r+'="'+o+'"]):not(['+r+'="'+n+'"])';e.hooks.add("before-highlightall",function(t){t.selector+=", "+i}),e.hooks.add("before-sanity-check",function(u){var a=u.element;if(a.matches(i)){u.code="",a.setAttribute(r,n);var s=a.appendChild(document.createElement("CODE"));s.textContent="Loading…";var c=a.getAttribute("data-src"),l=u.language;if("none"===l){var f=(/\.(\w+)$/.exec(c)||[,"none"])[1];l=t[f]||f}e.util.setLanguage(s,l),e.util.setLanguage(a,l);var d=e.plugins.autoloader;d&&d.loadLanguages(l),function(t,e,r){var n=new XMLHttpRequest;n.open("GET",t,!0),n.onreadystatechange=function(){4==n.readyState&&(n.status<400&&n.responseText?e(n.responseText):n.status>=400?r("✖ Error "+n.status+" while fetching file: "+n.statusText):r("✖ Error: File does not exist or is empty"))},n.send(null)}(c,function(t){a.setAttribute(r,o);var n=function(t){var e=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(t||"");if(e){var r=Number(e[1]),n=e[2],o=e[3];return n?o?[r,Number(o)]:[r,void 0]:[r,r]}}(a.getAttribute("data-range"));if(n){var i=t.split(/\r\n?|\n/g),u=n[0],c=null==n[1]?i.length:n[1];u<0&&(u+=i.length),u=Math.max(0,Math.min(u-1,i.length)),c<0&&(c+=i.length),c=Math.max(0,Math.min(c,i.length)),t=i.slice(u,c).join("\n"),a.hasAttribute("data-start")||a.setAttribute("data-start",String(u+1))}s.textContent=t,e.highlightElement(s)},function(t){a.setAttribute(r,"failed"),s.textContent=t})}}),e.plugins.fileHighlight={highlight:function(t){for(var r,n=(t||document).querySelectorAll(i),o=0;r=n[o++];)e.highlightElement(r)}};var u=!1;e.fileHighlight=function(){u||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),u=!0),e.plugins.fileHighlight.highlight.apply(this,arguments)}}}()}(Z4)),Z4.exports));!function(t){var e=t.util.clone(t.languages.javascript),r=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,n=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(t,e){return t=t.replace(/<S>/g,function(){return r}).replace(/<BRACES>/g,function(){return n}).replace(/<SPREAD>/g,function(){return o}),RegExp(t,e)}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>\/]*/,t.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,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),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:t.languages.jsx}}},t.languages.jsx.tag);var u=function(t){return t?"string"==typeof t?t:"string"==typeof t.content?t.content:t.content.map(u).join(""):""},a=function(e){for(var r=[],n=0;n<e.length;n++){var o=e[n],i=!1;if("string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?r.length>0&&r[r.length-1].tagName===u(o.content[0].content[1])&&r.pop():"/>"===o.content[o.content.length-1].content||r.push({tagName:u(o.content[0].content[1]),openedBraces:0}):r.length>0&&"punctuation"===o.type&&"{"===o.content?r[r.length-1].openedBraces++:r.length>0&&r[r.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?r[r.length-1].openedBraces--:i=!0),(i||"string"==typeof o)&&r.length>0&&0===r[r.length-1].openedBraces){var s=u(o);n<e.length-1&&("string"==typeof e[n+1]||"plain-text"===e[n+1].type)&&(s+=u(e[n+1]),e.splice(n+1,1)),n>0&&("string"==typeof e[n-1]||"plain-text"===e[n-1].type)&&(s=u(e[n-1])+s,e.splice(n-1,1),n--),e[n]=new t.Token("plain-text",s,null,s)}o.content&&"string"!=typeof o.content&&a(o.content)}};t.hooks.add("after-tokenize",function(t){"jsx"!==t.language&&"tsx"!==t.language||a(t.tokens)})}(Prism),G4||(G4=1,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(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),t.languages.typescript.keyword.push(/\b(?:abstract|declare|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,delete t.languages.typescript["literal-property"];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"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},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){"entity"===t.type&&(t.attributes.title=t.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(t,e){var r={};r["language-"+e]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[e]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var n={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};n["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:n},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:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,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(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),Prism.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete Prism.languages.go["class-name"],W4||(W4=1,function(t){var e=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,r=[{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*\()/],n=/\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|(?=\{))/,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(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/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(?: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|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\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:r,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:n,operator:o,punctuation:i};var u={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:t.languages.php},a=[{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:u}},{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:u}}];t.languages.insertBefore("php","variable",{string:a,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:e,string:a,"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:r,number:n,operator:o,punctuation:i}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),t.hooks.add("before-tokenize",function(e){/<\?/.test(e.code)&&t.languages["markup-templating"].buildPlaceholders(e,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),t.hooks.add("after-tokenize",function(e){t.languages["markup-templating"].tokenizePlaceholders(e,"php")})}(Prism)),Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,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(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|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",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),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],char:Prism.languages.c.char,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}}}}),Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete Prism.languages.c.boolean,q4||(q4=1,Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\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+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|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(?:False|None|True)\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?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python),K4||(K4=1,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(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,n={pattern:RegExp(/(^|[^\w.])/.source+r+/[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",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[n,{pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:n.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+r+/[A-Z]\w*\b/.source),lookbehind:!0,inside:n.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},constant:/\b[A-Z][A-Z_\d]+\b/}),t.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),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":n,keyword:e,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+r+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:n.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+r+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:n.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],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)),Y4||(Y4=1,function(t){var e=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_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|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,r=/\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(?:false|true)\b/}),t.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\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 r})+")"),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)),X4||(X4=1,function(t){function e(t,e){return t.replace(/<<(\d+)>>/g,function(t,r){return"(?:"+e[+r]+")"})}function r(t,r,n){return RegExp(e(t,r),"")}function n(t,e){for(var r=0;r<e;r++)t=t.replace(/<<self>>/g,function(){return"(?:"+t+")"});return t.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",u="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*{)",a="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(t){return"\\b(?:"+t.trim().replace(/ /g,"|")+")\\b"}var c=s(i),l=RegExp(s(o+" "+i+" "+u+" "+a)),f=s(i+" "+u+" "+a),d=s(o+" "+i+" "+a),p=n(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),h=n(/\((?:[^()]|<<self>>)*\)/.source,2),v=/@?\b[A-Za-z_]\w*\b/.source,g=e(/<<0>>(?:\s*<<1>>)?/.source,[v,p]),y=e(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[f,g]),m=/\[\s*(?:,\s*)*\]/.source,b=e(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[y,m]),E=e(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[p,h,m]),w=e(/\(<<0>>+(?:,<<0>>+)+\)/.source,[E]),S=e(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[w,y,m]),C={keyword:l,punctuation:/[<>()?,.:[\]]/},D=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,O=/"(?:\\.|[^\\"\r\n])*"/.source,A=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;t.languages.csharp=t.languages.extend("clike",{string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:r(/(^|[^@$\\])<<0>>/.source,[O]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:r(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[y]),lookbehind:!0,inside:C},{pattern:r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[v,S]),lookbehind:!0,inside:C},{pattern:r(/(\busing\s+)<<0>>(?=\s*=)/.source,[v]),lookbehind:!0},{pattern:r(/(\b<<0>>\s+)<<1>>/.source,[c,g]),lookbehind:!0,inside:C},{pattern:r(/(\bcatch\s*\(\s*)<<0>>/.source,[y]),lookbehind:!0,inside:C},{pattern:r(/(\bwhere\s+)<<0>>/.source,[v]),lookbehind:!0},{pattern:r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:C},{pattern:r(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[S,d,v]),inside:C}],keyword:l,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),t.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),t.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:r(/([(,]\s*)<<0>>(?=\s*:)/.source,[v]),lookbehind:!0,alias:"punctuation"}}),t.languages.insertBefore("csharp","class-name",{namespace:{pattern:r(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[v]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:r(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[h]),lookbehind:!0,alias:"class-name",inside:C},"return-type":{pattern:r(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[S,y]),inside:C,alias:"class-name"},"constructor-invocation":{pattern:r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[S]),lookbehind:!0,inside:C,alias:"class-name"},"generic-method":{pattern:r(/<<0>>\s*<<1>>(?=\s*\()/.source,[v,p]),inside:{function:r(/^<<0>>/.source,[v]),generic:{pattern:RegExp(p),alias:"class-name",inside:C}}},"type-list":{pattern:r(/\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,[c,g,v,S,l.source,h,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:r(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[g,h]),lookbehind:!0,greedy:!0,inside:t.languages.csharp},keyword:l,"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 x=O+"|"+D,T=e(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[x]),N=n(e(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[T]),2),k=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,P=e(/<<0>>(?:\s*\(<<1>>*\))?/.source,[y,N]);t.languages.insertBefore("csharp","class-name",{attribute:{pattern:r(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[k,P]),lookbehind:!0,greedy:!0,inside:{target:{pattern:r(/^<<0>>(?=\s*:)/.source,[k]),alias:"keyword"},"attribute-arguments":{pattern:r(/\(<<0>>*\)/.source,[N]),inside:t.languages.csharp},"class-name":{pattern:RegExp(y),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var B=/:[^}\r\n]+/.source,I=n(e(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[T]),2),F=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[I,B]),R=n(e(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[x]),2),L=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[R,B]);function _(e,n){return{interpolation:{pattern:r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[e]),lookbehind:!0,inside:{"format-string":{pattern:r(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[n,B]),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:r(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[F]),lookbehind:!0,greedy:!0,inside:_(F,I)},{pattern:r(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[L]),lookbehind:!0,greedy:!0,inside:_(L,R)}],char:{pattern:RegExp(D),greedy:!0}}),t.languages.dotnet=t.languages.cs=t.languages.csharp}(Prism)),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)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\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)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,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},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},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(?:COL|_INSERT)?|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(?:ING|S)?|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(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},J4||(J4=1,function(t){t.languages.ruby=t.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),t.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var e={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:t.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete t.languages.ruby.function;var r="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",n=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;t.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+r+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:e,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:e,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+n),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+n+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),t.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+r),greedy:!0,inside:{interpolation:e,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:e,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:e,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+r),greedy:!0,inside:{interpolation:e,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:e,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete t.languages.ruby.string,t.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),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]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\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|isolated|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(?:false|true)\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",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:r,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}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};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+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+e),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:n.entity}}],environment:{pattern:RegExp("\\$?"+e),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|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|docker|docker-compose|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|java|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|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|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|sysctl|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|vcpkg|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;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\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}},r.inside=t.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=n.variable[1].inside,u=0;u<o.length;u++)i[o[u]]=t.languages.bash[o[u]];t.languages.sh=t.languages.bash,t.languages.shell=t.languages.bash}(Prism),function(t){var e=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function r(t){return t=t.replace(/<inner>/g,function(){return e}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+t+")")}var n=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return n}),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:/^---|---$/,"front-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(n),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(n),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:r(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:r(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:r(/(~~?)(?:(?!~)<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:r(/!?\[(?:(?!\])<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(e){["url","bold","italic","strike","code-snippet"].forEach(function(r){e!==r&&(t.languages.markdown[e].inside.content.inside[r]=t.languages.markdown[r])})}),t.hooks.add("after-tokenize",function(t){"markdown"!==t.language&&"md"!==t.language||function t(e){if(e&&"string"!=typeof e)for(var r=0,n=e.length;r<n;r++){var o=e[r];if("code"===o.type){var i=o.content[1],u=o.content[3];if(i&&u&&"code-language"===i.type&&"code-block"===u.type&&"string"==typeof i.content){var a=i.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),s="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase());u.alias?"string"==typeof u.alias?u.alias=[u.alias,s]:u.alias.push(s):u.alias=[s]}}else t(o.content)}}(t.tokens)}),t.hooks.add("wrap",function(e){if("code-block"===e.type){for(var r="",n=0,o=e.classes.length;n<o;n++){var i=e.classes[n],c=/language-(.+)/.exec(i);if(c){r=c[1];break}}var l=t.languages[r];if(l)e.content=t.highlight(function(t){var e=t.replace(u,"");return e.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(t,e){var r;return"#"===(e=e.toLowerCase())[0]?(r="x"===e[1]?parseInt(e.slice(2),16):Number(e.slice(1)),s(r)):a[e]||t})}(e.content),l,r);else if(r&&"none"!==r&&t.plugins.autoloader){var f="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());e.attributes.id=f,t.plugins.autoloader.loadLanguages(r,function(){var e=document.getElementById(f);e&&(e.innerHTML=t.highlight(e.textContent,t.languages[r],r))})}}});var u=RegExp(t.languages.markup.tag.pattern.source,"gi"),a={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:/[\[\](){},;]|\.+|:+/},function(t){var e={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};t.languages.groovy=t.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|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:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:e,string:/[\s\S]+/}}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),e.inside.expression.inside=t.languages.groovy}(Prism),Prism.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:\*-INPUT|\?TO|ABAP-SOURCE|ABBREVIATED|ABS|ABSTRACT|ACCEPT|ACCEPTING|ACCESSPOLICY|ACCORDING|ACOS|ACTIVATION|ACTUAL|ADD|ADD-CORRESPONDING|ADJACENT|AFTER|ALIAS|ALIASES|ALIGN|ALL|ALLOCATE|ALPHA|ANALYSIS|ANALYZER|AND|ANY|APPEND|APPENDAGE|APPENDING|APPLICATION|ARCHIVE|AREA|ARITHMETIC|AS|ASCENDING|ASIN|ASPECT|ASSERT|ASSIGN|ASSIGNED|ASSIGNING|ASSOCIATION|ASYNCHRONOUS|AT|ATAN|ATTRIBUTES|AUTHORITY|AUTHORITY-CHECK|AVG|BACK|BACKGROUND|BACKUP|BACKWARD|BADI|BASE|BEFORE|BEGIN|BETWEEN|BIG|BINARY|BINDING|BIT|BIT-AND|BIT-NOT|BIT-OR|BIT-XOR|BLACK|BLANK|BLANKS|BLOB|BLOCK|BLOCKS|BLUE|BOUND|BOUNDARIES|BOUNDS|BOXED|BREAK-POINT|BT|BUFFER|BY|BYPASSING|BYTE|BYTE-CA|BYTE-CN|BYTE-CO|BYTE-CS|BYTE-NA|BYTE-NS|BYTE-ORDER|C|CA|CALL|CALLING|CASE|CAST|CASTING|CATCH|CEIL|CENTER|CENTERED|CHAIN|CHAIN-INPUT|CHAIN-REQUEST|CHANGE|CHANGING|CHANNELS|CHAR-TO-HEX|CHARACTER|CHARLEN|CHECK|CHECKBOX|CIRCULAR|CI_|CLASS|CLASS-CODING|CLASS-DATA|CLASS-EVENTS|CLASS-METHODS|CLASS-POOL|CLEANUP|CLEAR|CLIENT|CLOB|CLOCK|CLOSE|CN|CNT|CO|COALESCE|CODE|CODING|COLLECT|COLOR|COLUMN|COLUMNS|COL_BACKGROUND|COL_GROUP|COL_HEADING|COL_KEY|COL_NEGATIVE|COL_NORMAL|COL_POSITIVE|COL_TOTAL|COMMENT|COMMENTS|COMMIT|COMMON|COMMUNICATION|COMPARING|COMPONENT|COMPONENTS|COMPRESSION|COMPUTE|CONCAT|CONCATENATE|COND|CONDENSE|CONDITION|CONNECT|CONNECTION|CONSTANTS|CONTEXT|CONTEXTS|CONTINUE|CONTROL|CONTROLS|CONV|CONVERSION|CONVERT|COPIES|COPY|CORRESPONDING|COS|COSH|COUNT|COUNTRY|COVER|CP|CPI|CREATE|CREATING|CRITICAL|CS|CURRENCY|CURRENCY_CONVERSION|CURRENT|CURSOR|CURSOR-SELECTION|CUSTOMER|CUSTOMER-FUNCTION|DANGEROUS|DATA|DATABASE|DATAINFO|DATASET|DATE|DAYLIGHT|DBMAXLEN|DD\/MM\/YY|DD\/MM\/YYYY|DDMMYY|DEALLOCATE|DECIMALS|DECIMAL_SHIFT|DECLARATIONS|DEEP|DEFAULT|DEFERRED|DEFINE|DEFINING|DEFINITION|DELETE|DELETING|DEMAND|DEPARTMENT|DESCENDING|DESCRIBE|DESTINATION|DETAIL|DIALOG|DIRECTORY|DISCONNECT|DISPLAY|DISPLAY-MODE|DISTANCE|DISTINCT|DIV|DIVIDE|DIVIDE-CORRESPONDING|DIVISION|DO|DUMMY|DUPLICATE|DUPLICATES|DURATION|DURING|DYNAMIC|DYNPRO|E|EACH|EDIT|EDITOR-CALL|ELSE|ELSEIF|EMPTY|ENABLED|ENABLING|ENCODING|END|END-ENHANCEMENT-SECTION|END-LINES|END-OF-DEFINITION|END-OF-FILE|END-OF-PAGE|END-OF-SELECTION|ENDAT|ENDCASE|ENDCATCH|ENDCHAIN|ENDCLASS|ENDDO|ENDENHANCEMENT|ENDEXEC|ENDFOR|ENDFORM|ENDFUNCTION|ENDIAN|ENDIF|ENDING|ENDINTERFACE|ENDLOOP|ENDMETHOD|ENDMODULE|ENDON|ENDPROVIDE|ENDSELECT|ENDTRY|ENDWHILE|ENGINEERING|ENHANCEMENT|ENHANCEMENT-POINT|ENHANCEMENT-SECTION|ENHANCEMENTS|ENTRIES|ENTRY|ENVIRONMENT|EQ|EQUAL|EQUIV|ERRORMESSAGE|ERRORS|ESCAPE|ESCAPING|EVENT|EVENTS|EXACT|EXCEPT|EXCEPTION|EXCEPTION-TABLE|EXCEPTIONS|EXCLUDE|EXCLUDING|EXEC|EXECUTE|EXISTS|EXIT|EXIT-COMMAND|EXP|EXPAND|EXPANDING|EXPIRATION|EXPLICIT|EXPONENT|EXPORT|EXPORTING|EXTEND|EXTENDED|EXTENSION|EXTRACT|FAIL|FETCH|FIELD|FIELD-GROUPS|FIELD-SYMBOL|FIELD-SYMBOLS|FIELDS|FILE|FILTER|FILTER-TABLE|FILTERS|FINAL|FIND|FIRST|FIRST-LINE|FIXED-POINT|FKEQ|FKGE|FLOOR|FLUSH|FONT|FOR|FORM|FORMAT|FORWARD|FOUND|FRAC|FRAME|FRAMES|FREE|FRIENDS|FROM|FUNCTION|FUNCTION-POOL|FUNCTIONALITY|FURTHER|GAPS|GE|GENERATE|GET|GIVING|GKEQ|GKGE|GLOBAL|GRANT|GREATER|GREEN|GROUP|GROUPS|GT|HANDLE|HANDLER|HARMLESS|HASHED|HAVING|HDB|HEAD-LINES|HEADER|HEADERS|HEADING|HELP-ID|HELP-REQUEST|HIDE|HIGH|HINT|HOLD|HOTSPOT|I|ICON|ID|IDENTIFICATION|IDENTIFIER|IDS|IF|IGNORE|IGNORING|IMMEDIATELY|IMPLEMENTATION|IMPLEMENTATIONS|IMPLEMENTED|IMPLICIT|IMPORT|IMPORTING|IN|INACTIVE|INCL|INCLUDE|INCLUDES|INCLUDING|INCREMENT|INDEX|INDEX-LINE|INFOTYPES|INHERITING|INIT|INITIAL|INITIALIZATION|INNER|INOUT|INPUT|INSERT|INSTANCES|INTENSIFIED|INTERFACE|INTERFACE-POOL|INTERFACES|INTERNAL|INTERVALS|INTO|INVERSE|INVERTED-DATE|IS|ISO|ITERATOR|ITNO|JOB|JOIN|KEEP|KEEPING|KERNEL|KEY|KEYS|KEYWORDS|KIND|LANGUAGE|LAST|LATE|LAYOUT|LE|LEADING|LEAVE|LEFT|LEFT-JUSTIFIED|LEFTPLUS|LEFTSPACE|LEGACY|LENGTH|LESS|LET|LEVEL|LEVELS|LIKE|LINE|LINE-COUNT|LINE-SELECTION|LINE-SIZE|LINEFEED|LINES|LIST|LIST-PROCESSING|LISTBOX|LITTLE|LLANG|LOAD|LOAD-OF-PROGRAM|LOB|LOCAL|LOCALE|LOCATOR|LOG|LOG-POINT|LOG10|LOGFILE|LOGICAL|LONG|LOOP|LOW|LOWER|LPAD|LPI|LT|M|MAIL|MAIN|MAJOR-ID|MAPPING|MARGIN|MARK|MASK|MATCH|MATCHCODE|MAX|MAXIMUM|MEDIUM|MEMBERS|MEMORY|MESH|MESSAGE|MESSAGE-ID|MESSAGES|MESSAGING|METHOD|METHODS|MIN|MINIMUM|MINOR-ID|MM\/DD\/YY|MM\/DD\/YYYY|MMDDYY|MOD|MODE|MODIF|MODIFIER|MODIFY|MODULE|MOVE|MOVE-CORRESPONDING|MULTIPLY|MULTIPLY-CORRESPONDING|NA|NAME|NAMETAB|NATIVE|NB|NE|NESTED|NESTING|NEW|NEW-LINE|NEW-PAGE|NEW-SECTION|NEXT|NO|NO-DISPLAY|NO-EXTENSION|NO-GAP|NO-GAPS|NO-GROUPING|NO-HEADING|NO-SCROLLING|NO-SIGN|NO-TITLE|NO-TOPOFPAGE|NO-ZERO|NODE|NODES|NON-UNICODE|NON-UNIQUE|NOT|NP|NS|NULL|NUMBER|NUMOFCHAR|O|OBJECT|OBJECTS|OBLIGATORY|OCCURRENCE|OCCURRENCES|OCCURS|OF|OFF|OFFSET|OLE|ON|ONLY|OPEN|OPTION|OPTIONAL|OPTIONS|OR|ORDER|OTHER|OTHERS|OUT|OUTER|OUTPUT|OUTPUT-LENGTH|OVERFLOW|OVERLAY|PACK|PACKAGE|PAD|PADDING|PAGE|PAGES|PARAMETER|PARAMETER-TABLE|PARAMETERS|PART|PARTIALLY|PATTERN|PERCENTAGE|PERFORM|PERFORMING|PERSON|PF|PF-STATUS|PINK|PLACES|POOL|POSITION|POS_HIGH|POS_LOW|PRAGMAS|PRECOMPILED|PREFERRED|PRESERVING|PRIMARY|PRINT|PRINT-CONTROL|PRIORITY|PRIVATE|PROCEDURE|PROCESS|PROGRAM|PROPERTY|PROTECTED|PROVIDE|PUBLIC|PUSHBUTTON|PUT|QUEUE-ONLY|QUICKINFO|RADIOBUTTON|RAISE|RAISING|RANGE|RANGES|RAW|READ|READ-ONLY|READER|RECEIVE|RECEIVED|RECEIVER|RECEIVING|RED|REDEFINITION|REDUCE|REDUCED|REF|REFERENCE|REFRESH|REGEX|REJECT|REMOTE|RENAMING|REPLACE|REPLACEMENT|REPLACING|REPORT|REQUEST|REQUESTED|RESERVE|RESET|RESOLUTION|RESPECTING|RESPONSIBLE|RESULT|RESULTS|RESUMABLE|RESUME|RETRY|RETURN|RETURNCODE|RETURNING|RIGHT|RIGHT-JUSTIFIED|RIGHTPLUS|RIGHTSPACE|RISK|RMC_COMMUNICATION_FAILURE|RMC_INVALID_STATUS|RMC_SYSTEM_FAILURE|ROLE|ROLLBACK|ROUND|ROWS|RTTI|RUN|SAP|SAP-SPOOL|SAVING|SCALE_PRESERVING|SCALE_PRESERVING_SCIENTIFIC|SCAN|SCIENTIFIC|SCIENTIFIC_WITH_LEADING_ZERO|SCREEN|SCROLL|SCROLL-BOUNDARY|SCROLLING|SEARCH|SECONDARY|SECONDS|SECTION|SELECT|SELECT-OPTIONS|SELECTION|SELECTION-SCREEN|SELECTION-SET|SELECTION-SETS|SELECTION-TABLE|SELECTIONS|SELECTOR|SEND|SEPARATE|SEPARATED|SET|SHARED|SHIFT|SHORT|SHORTDUMP-ID|SIGN|SIGN_AS_POSTFIX|SIMPLE|SIN|SINGLE|SINH|SIZE|SKIP|SKIPPING|SMART|SOME|SORT|SORTABLE|SORTED|SOURCE|SPACE|SPECIFIED|SPLIT|SPOOL|SPOTS|SQL|SQLSCRIPT|SQRT|STABLE|STAMP|STANDARD|START-OF-SELECTION|STARTING|STATE|STATEMENT|STATEMENTS|STATIC|STATICS|STATUSINFO|STEP-LOOP|STOP|STRLEN|STRUCTURE|STRUCTURES|STYLE|SUBKEY|SUBMATCHES|SUBMIT|SUBROUTINE|SUBSCREEN|SUBSTRING|SUBTRACT|SUBTRACT-CORRESPONDING|SUFFIX|SUM|SUMMARY|SUMMING|SUPPLIED|SUPPLY|SUPPRESS|SWITCH|SWITCHSTATES|SYMBOL|SYNCPOINTS|SYNTAX|SYNTAX-CHECK|SYNTAX-TRACE|SYSTEM-CALL|SYSTEM-EXCEPTIONS|SYSTEM-EXIT|TAB|TABBED|TABLE|TABLES|TABLEVIEW|TABSTRIP|TAN|TANH|TARGET|TASK|TASKS|TEST|TESTING|TEXT|TEXTPOOL|THEN|THROW|TIME|TIMES|TIMESTAMP|TIMEZONE|TITLE|TITLE-LINES|TITLEBAR|TO|TOKENIZATION|TOKENS|TOP-LINES|TOP-OF-PAGE|TRACE-FILE|TRACE-TABLE|TRAILING|TRANSACTION|TRANSFER|TRANSFORMATION|TRANSLATE|TRANSPORTING|TRMAC|TRUNC|TRUNCATE|TRUNCATION|TRY|TYPE|TYPE-POOL|TYPE-POOLS|TYPES|ULINE|UNASSIGN|UNDER|UNICODE|UNION|UNIQUE|UNIT|UNIT_CONVERSION|UNIX|UNPACK|UNTIL|UNWIND|UP|UPDATE|UPPER|USER|USER-COMMAND|USING|UTF-8|VALID|VALUE|VALUE-REQUEST|VALUES|VARY|VARYING|VERIFICATION-MESSAGE|VERSION|VIA|VIEW|VISIBLE|WAIT|WARNING|WHEN|WHENEVER|WHERE|WHILE|WIDTH|WINDOW|WINDOWS|WITH|WITH-HEADING|WITH-TITLE|WITHOUT|WORD|WORK|WRITE|WRITER|X|XML|XOR|XSD|XSTRLEN|YELLOW|YES|YYMMDD|Z|ZERO|ZONE)(?![\w-])/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/};var t6=["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 e6(t){return"string"==typeof t?t.length:"string"==typeof t.content?t.content.length:t.content.reduce(function(t,e){return t+e6(e)},0)}var r6,n6,o6,i6,u6,a6,s6,c6,l6,f6,d6,p6,h6,v6,g6,y6=function(t){var e,r,n,o=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u}(t,2),i=o[0],u=o[1],a=[],s=function(t){if(!wv.isText(t))return null;var e=SB.getParentNode(null,t);if(e&&"code"===SB.getNodeType(e)){var r=SB.getParentNode(null,e);if(r&&"pre"===SB.getNodeType(r))return e}return null}(i);if(null==s)return a;var c=s.language,l=void 0===c?"":c;if(!l)return a;var f=function(t,e){if(!e)return[];var r=Q4.languages[e];return r?Q4.tokenize(t.text,r):[]}(i,l),d=0;try{for(var p=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(f),h=p.next();!h.done;h=p.next()){var v=h.value,g=d+e6(v);"string"!=typeof v&&a.push(((n={})[v.type]=!0,n.anchor={path:u,offset:d},n.focus={path:u,offset:g},n)),d=g}}catch(t){e={error:t}}finally{try{h&&!h.done&&(r=p.return)&&r.call(p)}finally{if(e)throw e.error}}return a},m6={};function b6(){if(n6)return r6;n6=1;var t=h1();return r6=Array.isArray||function(e){return"Array"===t(e)}}function E6(){if(f6)return l6;f6=1;var t=b6(),e=function(){if(c6)return s6;c6=1;var t=p1(),e=b0(),r=b1(),n=j4(),o=w1(),i=z2(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!r(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,s6=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}(),r=E1(),n=i2()("species"),o=Array;return l6=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||r(u)&&null===(u=u[n]))&&(u=void 0)),void 0===u?o:u}}function w6(){if(p6)return d6;p6=1;var t=E6();return d6=function(e,r){return new(t(e))(0===r?0:r)}}!function(){if(g6)return m6;g6=1;var t=L4(),e=b0(),r=b6(),n=E1(),o=r2(),i=l4(),u=function(){if(i6)return o6;i6=1;var t=TypeError;return o6=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}(),a=function(){if(a6)return u6;a6=1;var t=E0(),e=w2(),r=d1();return u6=function(n,o,i){t?e.f(n,o,r(0,i)):n[o]=i}}(),s=w6(),c=function(){if(v6)return h6;v6=1;var t=b0(),e=i2(),r=C1(),n=e("species");return h6=function(e){return r>=51||!t(function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}(),l=i2(),f=C1(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!n(t))return!1;var e=t[d];return void 0!==e?!!e:r(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,r,n,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),r=0;r<c;r++,p++)r in l&&a(d,p,l[r]);else u(p+1),a(d,p++,l);return d.length=p,d}})}();var S6,C6,D6,O6,A6={};function x6(){if(C6)return S6;C6=1;var t=E2();return S6=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}var T6,N6,k6,P6,B6,I6,F6,R6,L6,_6,j6,M6,z6,H6,$6={};function U6(){if(N6)return T6;N6=1;var t=f4(),e=d4();return T6=Object.keys||function(r){return t(r,e)}}function V6(){if(F6)return I6;F6=1;var t,e=E2(),r=function(){if(k6)return $6;k6=1;var t=E0(),e=b2(),r=w2(),n=E2(),o=m1(),i=U6();return $6.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)r.f(t,u=s[l++],a[u]);return t},$6}(),n=d4(),o=$2(),i=function(){if(B6)return P6;B6=1;var t=w1();return P6=t("document","documentElement")}(),u=s2(),a=H2(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,o;h="undefined"!=typeof document?document.domain&&t?p(t):(r=u("iframe"),o="java"+c+":",r.style.display="none",i.appendChild(r),r.src=String(o),(e=r.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=n.length;a--;)delete h[s][n[a]];return h()};return o[l]=!0,I6=Object.create||function(t,n){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===n?o:r.f(o,n)}}!function(){if(H6)return A6;H6=1;var t=L4(),e=function(){if(z6)return M6;z6=1;var t,e,r=S0(),n=p1(),o=M4(),i=x6(),u=function(){if(O6)return D6;O6=1;var t=b0(),e=c0().RegExp,r=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),n=r||t(function(){return!e("a","y").sticky}),o=r||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return D6={BROKEN_CARET:o,MISSED_STICKY:n,UNSUPPORTED_Y:r}}(),a=e2(),s=V6(),c=U2().get,l=function(){if(L6)return R6;L6=1;var t=b0(),e=c0().RegExp;return R6=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(j6)return _6;j6=1;var t=b0(),e=c0().RegExp;return _6=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=n("".charAt),g=n("".indexOf),y=n("".replace),m=n("".slice),b=(e=/b*/g,r(p,t=/a/,"a"),r(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,n,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=r(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=r(i,C),k=C.source,P=0,B=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),B=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(k="(?: "+k+")",B=" "+B,P++),n=new RegExp("^(?:"+k+")",N)),w&&(n=new RegExp("^"+k+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=r(p,T?n:C,B),T?a?(a.input=m(a.input,P),a[0]=m(a[0],P),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&r(d,a[0],n,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),M6=h}();t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e})}();var G6,W6,q6,K6,Y6,X6={};!function(){if(Y6)return X6;Y6=1;var t=M2().PROPER,e=V2(),r=E2(),n=M4(),o=b0(),i=function(){if(K6)return q6;K6=1;var t=S0(),e=n2(),r=S1(),n=function(){if(W6)return G6;W6=1;var t=c0(),e=b0(),r=t.RegExp,n=!e(function(){var t=!0;try{r(".","d")}catch(e){t=!1}var e={},n="",o=t?"dgimsy":"gimsy",i=function(t,r){Object.defineProperty(e,t,{get:function(){return n+=r,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(e)!==o||n!==o});return G6={correct:n}}(),o=x6(),i=RegExp.prototype;return q6=n.correct?function(t){return t.flags}:function(u){return n.correct||!r(i,u)||e(u,"flags")?u.flags:t(o,u)}}(),u="toString",a=RegExp.prototype,s=a[u],c=o(function(){return"/a/b"!==s.call({source:"a",flags:"b"})}),l=t&&s.name!==u;(c||l)&&e(a,u,function(){var t=r(this);return"/"+n(t.source)+"/"+n(i(t))},{unsafe:!0})}();var J6,Z6,Q6,t3,e3,r3,n3,o3,i3,u3,a3,s3,c3,l3,f3,d3={};function p3(){if(l3)return c3;l3=1;var t=function(){if(u3)return i3;u3=1;var t=function(){if(o3)return n3;o3=1;var t=function(){if(r3)return e3;r3=1;var t=h1(),e=p1();return e3=function(r){if("Function"===t(r))return e(r)}}(),e=x1(),r=w0(),n=t(t.bind);return n3=function(t,o){return e(t),void 0===o?t:r?n(t,o):function(){return t.apply(o,arguments)}},n3}(),e=p1(),r=v1(),n=r2(),o=l4(),i=w6(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=n(h),w=r(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return i3={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}().forEach,e=function(){if(s3)return a3;s3=1;var t=b0();return a3=function(e,r){var n=[][e];return!!n&&t(function(){n.call(null,r||function(){return 1},1)})}}()("forEach");return c3=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},c3}!function(){if(f3)return d3;f3=1;var t=c0(),e=Z6?J6:(Z6=1,J6={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}),r=function(){if(t3)return Q6;t3=1;var t=s2()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return Q6=e===Object.prototype?void 0:e}(),n=p3(),o=S2(),i=function(t){if(t&&t.forEach!==n)try{o(t,"forEach",n)}catch(e){t.forEach=n}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(r)}();var h3,v3,g3=function(){function t(){this.title=RF("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,this.defaultCodeLang=""}return t.prototype.getOptions=function(t){var e=this,r=[],n=t.getMenuConfig("codeSelectLang").codeLangs,o=void 0===n?[]:n;r.push({text:"plain text",value:""}),o.forEach(function(t){var n=t.text,o=t.value;t.selected&&(e.defaultCodeLang=o),r.push({text:n,value:o})});var i=this.getValue(t);return r.forEach(function(t){t.value===i?t.selected=!0:t.selected=void 0}),r},t.prototype.isActive=function(t){return!1},t.prototype.getValue=function(t){var e=this.getSelectCodeElem(t);if(null==e)return this.defaultCodeLang;if(!$h.isElement(e))return this.defaultCodeLang;var r=e.language.toString(),n=t.getMenuConfig("codeSelectLang").codeLangs;return(void 0===n?[]:n).some(function(t){return t.value===r})?r:this.defaultCodeLang},t.prototype.isDisabled=function(t){return null==t.selection||!this.getSelectCodeElem(t)},t.prototype.exec=function(t,e){if(null!=this.getSelectCodeElem(t)){var r={language:e.toString()};zv.setNodes(t,r,{match:function(t){return SB.checkNodeType(t,"code")}})}},t.prototype.getSelectCodeElem=function(t){var e=SB.getSelectedNodeByType(t,"code");if(null==e)return null;var r=SB.getParentNode(t,e);return $h.isElement(r)?"pre"!==r.type?null:e:null},t}(),y3={key:"codeSelectLang",factory:function(){return new g3},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"},{text:"ABAP",value:"abap"}]}},m3={};v3||(v3=1,function(){if(h3)return m3;h3=1;var t=L4(),e=c0();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}()),sg&&(og.fn.attr=sg);var b3,E3,w3,S3={};!function(){if(w3)return S3;w3=1;var t=L4(),e=function(){if(E3)return b3;E3=1;var t=E0(),e=p1(),r=S0(),n=b0(),o=U6(),i=F4(),u=f1(),a=r2(),s=v1(),c=Object.assign,l=Object.defineProperty,f=e([].concat);return b3=!c||n(function(){if(t&&1!==c({b:1},c(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},r={},n=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(t){r[t]=t}),7!==c({},e)[n]||o(c({},r)).join("")!==i})?function(e,n){for(var c=a(e),l=arguments.length,d=1,p=i.f,h=u.f;l>d;)for(var v,g=s(arguments[d++]),y=p?f(o(g),p(g)):o(g),m=y.length,b=0;m>b;)v=y[b++],t&&!r(h,g,v)||(c[v]=g[v]);return c}:c,b3}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var C3={renderStyle:function(t,e){var r=t,n=e,o="";return t6.forEach(function(t){r[t]&&(o=t)}),o&&function(t,e){null==t.data&&(t.data={});var r=t.data;null==r.props&&(r.props={}),Object.assign(r.props,{className:e})}(n,o="token ".concat(o)),n},parseStyleHtml:function(t,e,r){var n=og(t);if(!$h.isElement(e))return e;if("code"!==SB.getNodeType(e))return e;var o=e,i=n.attr("class")||"";return 0===i.indexOf("language-")?o.language=i.split("-")[1]||"":o.language=i.toLowerCase(),o},menus:[y3],elemsToHtml:[{type:"code",elemToHtml:function(t,e){var r=t.language,n=void 0===r?"":r,o=n?'class="language-'.concat(n,'"'):"";return"<code ".concat(o,">").concat(e,"</code>")}}]};PF("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),PF("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var D3,O3,A3="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},x3={};function T3(){if(O3)return D3;O3=1;var t=function(t){return t&&t.Math===Math&&t};return D3=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof A3&&A3)||t("object"==typeof D3&&D3)||function(){return this}()||Function("return this")()}var N3,k3,P3,B3,I3,F3,R3,L3,_3={};function j3(){return k3?N3:(k3=1,N3=function(t){try{return!!t()}catch(t){return!0}})}function M3(){if(B3)return P3;B3=1;var t=j3();return P3=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function z3(){if(F3)return I3;F3=1;var t=j3();return I3=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function H3(){if(L3)return R3;L3=1;var t=z3(),e=Function.prototype.call;return R3=t?e.bind(e):function(){return e.apply(e,arguments)},R3}var $3,U3,V3,G3,W3,q3,K3,Y3,X3,J3,Z3,Q3,t5,e5,r5,n5,o5,i5,u5,a5,s5,c5,l5,f5,d5,p5,h5,v5,g5,y5,m5,b5,E5,w5,S5,C5,D5,O5,A5,x5,T5,N5={};function k5(){return V3?U3:(V3=1,U3=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function P5(){if(W3)return G3;W3=1;var t=z3(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return G3=t?n:function(t){return function(){return r.apply(t,arguments)}},G3}function B5(){if(K3)return q3;K3=1;var t=P5(),e=t({}.toString),r=t("".slice);return q3=function(t){return r(e(t),8,-1)}}function I5(){if(X3)return Y3;X3=1;var t=P5(),e=j3(),r=B5(),n=Object,o=t("".split);return Y3=e(function(){return!n("z").propertyIsEnumerable(0)})?function(t){return"String"===r(t)?o(t,""):n(t)}:n}function F5(){return Z3?J3:(Z3=1,J3=function(t){return null==t})}function R5(){if(t5)return Q3;t5=1;var t=F5(),e=TypeError;return Q3=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function L5(){if(r5)return e5;r5=1;var t=I5(),e=R5();return e5=function(r){return t(e(r))}}function _5(){if(o5)return n5;o5=1;var t="object"==typeof document&&document.all;return n5=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function j5(){if(u5)return i5;u5=1;var t=_5();return i5=function(e){return"object"==typeof e?null!==e:t(e)}}function M5(){if(s5)return a5;s5=1;var t=T3(),e=_5();return a5=function(r,n){return arguments.length<2?(o=t[r],e(o)?o:void 0):t[r]&&t[r][n];var o},a5}function z5(){if(l5)return c5;l5=1;var t=P5();return c5=t({}.isPrototypeOf)}function H5(){if(h5)return p5;h5=1;var t,e,r=T3(),n=function(){if(d5)return f5;d5=1;var t=T3().navigator,e=t&&t.userAgent;return f5=e?String(e):""}(),o=r.process,i=r.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),p5=e}function $5(){if(g5)return v5;g5=1;var t=H5(),e=j3(),r=T3().String;return v5=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function U5(){if(m5)return y5;m5=1;var t=$5();return y5=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function V5(){if(E5)return b5;E5=1;var t=M5(),e=_5(),r=z5(),n=U5(),o=Object;return b5=n?function(t){return"symbol"==typeof t}:function(n){var i=t("Symbol");return e(i)&&r(i.prototype,o(n))}}function G5(){if(S5)return w5;S5=1;var t=String;return w5=function(e){try{return t(e)}catch(t){return"Object"}}}function W5(){if(D5)return C5;D5=1;var t=_5(),e=G5(),r=TypeError;return C5=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function q5(){if(A5)return O5;A5=1;var t=W5(),e=F5();return O5=function(r,n){var o=r[n];return e(o)?void 0:t(o)}}var K5,Y5,X5,J5,Z5,Q5,t8,e8,r8,n8,o8,i8,u8,a8,s8,c8,l8,f8,d8,p8,h8,v8,g8,y8,m8={exports:{}};function b8(){return Y5?K5:(Y5=1,K5=!1)}function E8(){if(J5)return X5;J5=1;var t=T3(),e=Object.defineProperty;return X5=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function w8(){if(Z5)return m8.exports;Z5=1;var t=b8(),e=T3(),r=E8(),n="__core-js_shared__",o=m8.exports=e[n]||r(n,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),m8.exports}function S8(){if(t8)return Q5;t8=1;var t=w8();return Q5=function(e,r){return t[e]||(t[e]=r||{})}}function C8(){if(r8)return e8;r8=1;var t=R5(),e=Object;return e8=function(r){return e(t(r))}}function D8(){if(o8)return n8;o8=1;var t=P5(),e=C8(),r=t({}.hasOwnProperty);return n8=Object.hasOwn||function(t,n){return r(e(t),n)}}function O8(){if(u8)return i8;u8=1;var t=P5(),e=0,r=Math.random(),n=t(1.1.toString);return i8=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function A8(){if(s8)return a8;s8=1;var t=T3(),e=S8(),r=D8(),n=O8(),o=$5(),i=U5(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||n;return a8=function(t){return r(a,t)||(a[t]=o&&r(u,t)?u[t]:s("Symbol."+t)),a[t]}}function x8(){if(l8)return c8;l8=1;var t=H3(),e=j5(),r=V5(),n=q5(),o=function(){if(T5)return x5;T5=1;var t=H3(),e=_5(),r=j5(),n=TypeError;return x5=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!r(a=t(u,o)))return a;if(e(u=o.valueOf)&&!r(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!r(a=t(u,o)))return a;throw new n("Can't convert object to primitive value")}}(),i=A8(),u=TypeError,a=i("toPrimitive");return c8=function(i,s){if(!e(i)||r(i))return i;var c,l=n(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||r(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}function T8(){if(d8)return f8;d8=1;var t=x8(),e=V5();return f8=function(r){var n=t(r,"string");return e(n)?n:n+""}}function N8(){if(h8)return p8;h8=1;var t=T3(),e=j5(),r=t.document,n=e(r)&&e(r.createElement);return p8=function(t){return n?r.createElement(t):{}}}function k8(){if(g8)return v8;g8=1;var t=M3(),e=j3(),r=N8();return v8=!t&&!e(function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})}function P8(){if(y8)return _3;y8=1;var t=M3(),e=H3(),r=function(){if($3)return N5;$3=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return N5.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,N5}(),n=k5(),o=L5(),i=T8(),u=D8(),a=k8(),s=Object.getOwnPropertyDescriptor;return _3.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return n(!e(r.f,t,c),t[c])},_3}var B8,I8,F8,R8,L8,_8,j8,M8={};function z8(){if(I8)return B8;I8=1;var t=M3(),e=j3();return B8=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function H8(){if(R8)return F8;R8=1;var t=j5(),e=String,r=TypeError;return F8=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function $8(){if(L8)return M8;L8=1;var t=M3(),e=k8(),r=z8(),n=H8(),o=T8(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return M8.f=t?r?function(t,e,r){if(n(t),e=o(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&l in r&&!r[l]){var i=a(t,e);i&&i[l]&&(t[e]=r.value,r={configurable:c in r?r[c]:i[c],enumerable:s in r?r[s]:i[s],writable:!1})}return u(t,e,r)}:u:function(t,r,a){if(n(t),r=o(r),n(a),e)try{return u(t,r,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[r]=a.value),t},M8}function U8(){if(j8)return _8;j8=1;var t=M3(),e=$8(),r=k5();return _8=t?function(t,n,o){return e.f(t,n,r(1,o))}:function(t,e,r){return t[e]=r,t}}var V8,G8,W8,q8,K8,Y8,X8,J8,Z8,Q8,t7,e7,r7,n7,o7,i7={exports:{}};function u7(){if(G8)return V8;G8=1;var t=M3(),e=D8(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,o=e(r,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&n(r,"name").configurable);return V8={EXISTS:o,PROPER:i,CONFIGURABLE:u}}function a7(){if(q8)return W8;q8=1;var t=P5(),e=_5(),r=w8(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),W8=r.inspectSource}function s7(){if(Y8)return K8;Y8=1;var t=T3(),e=_5(),r=t.WeakMap;return K8=e(r)&&/native code/.test(String(r))}function c7(){if(J8)return X8;J8=1;var t=S8(),e=O8(),r=t("keys");return X8=function(t){return r[t]||(r[t]=e(t))}}function l7(){return Q8?Z8:(Q8=1,Z8={})}function f7(){if(e7)return t7;e7=1;var t,e,r,n=s7(),o=T3(),i=j5(),u=U8(),a=D8(),s=w8(),c=c7(),l=l7(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(n||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},r=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},r=function(t){return a(t,v)}}return t7={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!i(r)||(n=e(r)).type!==t)throw new d("Incompatible receiver, "+t+" required");return n}}}}function d7(){if(o7)return n7;o7=1;var t=_5(),e=$8(),r=function(){if(r7)return i7.exports;r7=1;var t=P5(),e=j3(),r=_5(),n=D8(),o=M3(),i=u7().CONFIGURABLE,u=a7(),a=f7(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=i7.exports=function(t,e,r){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return n(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return r(this)&&c(this).source||u(this)},"toString"),i7.exports}(),n=E8();return n7=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&r(u,c,a),a.global)s?o[i]=u:n(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var p7,h7,v7,g7,y7,m7,b7,E7,w7,S7,C7,D7,O7,A7,x7,T7,N7,k7={};function P7(){if(g7)return v7;g7=1;var t=function(){if(h7)return p7;h7=1;var t=Math.ceil,e=Math.floor;return p7=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return v7=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function B7(){if(E7)return b7;E7=1;var t=P7(),e=Math.min;return b7=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}function I7(){if(S7)return w7;S7=1;var t=B7();return w7=function(e){return t(e.length)}}function F7(){if(D7)return C7;D7=1;var t=L5(),e=function(){if(m7)return y7;m7=1;var t=P7(),e=Math.max,r=Math.min;return y7=function(n,o){var i=t(n);return i<0?e(i+o,0):r(i,o)}}(),r=I7(),n=function(n){return function(o,i,u){var a=t(o),s=r(a);if(0===s)return!n&&-1;var c,l=e(u,s);if(n&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((n||l in a)&&a[l]===i)return n||l||0;return!n&&-1}};return C7={includes:n(!0),indexOf:n(!1)}}function R7(){if(A7)return O7;A7=1;var t=P5(),e=D8(),r=L5(),n=F7().indexOf,o=l7(),i=t([].push);return O7=function(t,u){var a,s=r(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~n(l,a)||i(l,a));return l}}function L7(){return T7?x7:(T7=1,x7=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function _7(){if(N7)return k7;N7=1;var t=R7(),e=L7().concat("length","prototype");return k7.f=Object.getOwnPropertyNames||function(r){return t(r,e)},k7}var j7,M7,z7,H7,$7,U7,V7,G7,W7,q7,K7,Y7,X7,J7,Z7,Q7,t9,e9,r9,n9,o9,i9,u9,a9,s9,c9,l9,f9,d9={};function p9(){if($7)return H7;$7=1;var t=D8(),e=function(){if(z7)return M7;z7=1;var t=M5(),e=P5(),r=_7(),n=(j7||(j7=1,d9.f=Object.getOwnPropertySymbols),d9),o=H8(),i=e([].concat);return M7=t("Reflect","ownKeys")||function(t){var e=r.f(o(t)),u=n.f;return u?i(e,u(t)):e}}(),r=P8(),n=$8();return H7=function(o,i,u){for(var a=e(i),s=n.f,c=r.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function h9(){if(V7)return U7;V7=1;var t=j3(),e=_5(),r=/#|\.prototype\./,n=function(r,n){var s=i[o(r)];return s===a||s!==u&&(e(n)?t(n):!!n)},o=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},i=n.data={},u=n.NATIVE="N",a=n.POLYFILL="P";return U7=n}function v9(){if(W7)return G7;W7=1;var t=T3(),e=P8().f,r=U8(),n=d7(),o=E8(),i=p9(),u=h9();return G7=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&r(d,"sham",!0),n(c,l,d,a)}}}function g9(){if(K7)return q7;K7=1;var t=B5();return q7=Array.isArray||function(e){return"Array"===t(e)}}function y9(){if(X7)return Y7;X7=1;var t=TypeError;return Y7=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}function m9(){if(t9)return Q7;t9=1;var t={};return t[A8()("toStringTag")]="z",Q7="[object z]"===String(t)}function b9(){if(r9)return e9;r9=1;var t=m9(),e=_5(),r=B5(),n=A8()("toStringTag"),o=Object,i="Arguments"===r(function(){return arguments}());return e9=t?r:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),n))?a:i?r(u):"Object"===(s=r(u))&&e(u.callee)?"Arguments":s}}function E9(){if(u9)return i9;u9=1;var t=g9(),e=function(){if(o9)return n9;o9=1;var t=P5(),e=j3(),r=_5(),n=b9(),o=M5(),i=a7(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!r(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,n9=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}(),r=j5(),n=A8()("species"),o=Array;return i9=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||r(u)&&null===(u=u[n]))&&(u=void 0)),void 0===u?o:u}}function w9(){if(s9)return a9;s9=1;var t=E9();return a9=function(e,r){return new(t(e))(0===r?0:r)}}function S9(){if(l9)return c9;l9=1;var t=j3(),e=A8(),r=H5(),n=e("species");return c9=function(e){return r>=51||!t(function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}!function(){if(f9)return x3;f9=1;var t=v9(),e=j3(),r=g9(),n=j5(),o=C8(),i=I7(),u=y9(),a=function(){if(Z7)return J7;Z7=1;var t=M3(),e=$8(),r=k5();return J7=function(n,o,i){t?e.f(n,o,r(0,i)):n[o]=i}}(),s=w9(),c=S9(),l=A8(),f=H5(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!n(t))return!1;var e=t[d];return void 0!==e?!!e:r(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,r,n,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),r=0;r<c;r++,p++)r in l&&a(d,p,l[r]);else u(p+1),a(d,p++,l);return d.length=p,d}})}();var C9=function(t,e){return C9=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},C9(t,e)};function D9(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}C9(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function O9(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function A9(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u}function x9(t,e,r){if(2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var T9,N9,k9,P9,B9,I9,F9,R9,L9,_9,j9,M9,z9,H9,$9,U9,V9,G9,W9,q9,K9,Y9,X9,J9,Z9,Q9,ttt,ett,rtt,ntt,ott,itt,utt,att,stt,ctt={};function ltt(){if(F9)return I9;F9=1;var t,e=H8(),r=function(){if(k9)return ctt;k9=1;var t=M3(),e=z8(),r=$8(),n=H8(),o=L5(),i=function(){if(N9)return T9;N9=1;var t=R7(),e=L7();return T9=Object.keys||function(r){return t(r,e)}}();return ctt.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)r.f(t,u=s[l++],a[u]);return t},ctt}(),n=L7(),o=l7(),i=function(){if(B9)return P9;B9=1;var t=M5();return P9=t("document","documentElement")}(),u=N8(),a=c7(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,o;h="undefined"!=typeof document?document.domain&&t?p(t):(r=u("iframe"),o="java"+c+":",r.style.display="none",i.appendChild(r),r.src=String(o),(e=r.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=n.length;a--;)delete h[s][n[a]];return h()};return o[l]=!0,I9=Object.create||function(t,n){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===n?o:r.f(o,n)}}function ftt(){if(L9)return R9;L9=1;var t=A8(),e=ltt(),r=$8().f,n=t("unscopables"),o=Array.prototype;return void 0===o[n]&&r(o,n,{configurable:!0,value:e(null)}),R9=function(t){o[n][t]=!0}}function dtt(){return j9?_9:(j9=1,_9={})}function ptt(){if($9)return H9;$9=1;var t=D8(),e=_5(),r=C8(),n=c7(),o=function(){if(z9)return M9;z9=1;var t=j3();return M9=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=n("IE_PROTO"),u=Object,a=u.prototype;return H9=o?u.getPrototypeOf:function(n){var o=r(n);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function htt(){if(V9)return U9;V9=1;var t,e,r,n=j3(),o=_5(),i=j5(),u=ltt(),a=ptt(),s=d7(),c=A8(),l=b8(),f=c("iterator"),d=!1;return[].keys&&("next"in(r=[].keys())?(e=a(a(r)))!==Object.prototype&&(t=e):d=!0),!i(t)||n(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),U9={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function vtt(){if(W9)return G9;W9=1;var t=$8().f,e=D8(),r=A8()("toStringTag");return G9=function(n,o,i){n&&!i&&(n=n.prototype),n&&!e(n,r)&&t(n,r,{configurable:!0,value:o})}}function gtt(){if(ttt)return Q9;ttt=1;var t=function(){if(Z9)return J9;Z9=1;var t=j5();return J9=function(e){return t(e)||null===e}}(),e=String,r=TypeError;return Q9=function(n){if(t(n))return n;throw new r("Can't set "+e(n)+" as a prototype")}}function ytt(){if(rtt)return ett;rtt=1;var t=function(){if(X9)return Y9;X9=1;var t=P5(),e=W5();return Y9=function(r,n,o){try{return t(e(Object.getOwnPropertyDescriptor(r,n)[o]))}catch(t){}}}(),e=j5(),r=R5(),n=gtt();return ett=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return r(t),n(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function mtt(){if(ott)return ntt;ott=1;var t=v9(),e=H3(),r=b8(),n=u7(),o=_5(),i=function(){if(K9)return q9;K9=1;var t=htt().IteratorPrototype,e=ltt(),r=k5(),n=vtt(),o=dtt(),i=function(){return this};return q9=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:r(+!c,s)}),n(u,l,!1,!0),o[l]=i,u}}(),u=ptt(),a=ytt(),s=vtt(),c=U8(),l=d7(),f=A8(),d=dtt(),p=htt(),h=n.PROPER,v=n.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return ntt=function(n,f,p,C,D,O,A){i(p,f,C);var x,T,N,k=function(t){if(t===D&&R)return R;if(!y&&t&&t in I)return I[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},P=f+" Iterator",B=!1,I=n.prototype,F=I[m]||I["@@iterator"]||D&&I[D],R=!y&&F||k(D),L="Array"===f&&I.entries||F;if(L&&(x=u(L.call(new n)))!==Object.prototype&&x.next&&(r||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,P,!0,!0),r&&(d[P]=S)),h&&D===E&&F&&F.name!==E&&(!r&&v?c(I,"name",E):(B=!0,R=function(){return e(F,this)})),D)if(T={values:k(E),keys:O?R:k(b),entries:k(w)},A)for(N in T)(y||B||!(N in I))&&l(I,N,T[N]);else t({target:f,proto:!0,forced:y||B},T);return r&&!A||I[m]===R||l(I,m,R,{name:D}),d[f]=R,T}}function btt(){return utt?itt:(utt=1,itt=function(t,e){return{value:t,done:e}})}function Ett(){if(stt)return att;stt=1;var t=L5(),e=ftt(),r=dtt(),n=f7(),o=$8().f,i=mtt(),u=btt(),a=b8(),s=M3(),c="Array Iterator",l=n.set,f=n.getterFor(c);att=i(Array,"Array",function(e,r){l(this,{type:c,target:t(e),index:0,kind:r})},function(){var t=f(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(r,!1);case"values":return u(e[r],!1)}return u([r,e[r]],!1)},"values");var d=r.Arguments=r.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return att}Ett();var wtt,Stt,Ctt,Dtt={};!function(){if(Ctt)return Dtt;Ctt=1;var t=m9(),e=d7(),r=function(){if(Stt)return wtt;Stt=1;var t=m9(),e=b9();return wtt=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var Ott,Att,xtt,Ttt,Ntt,ktt={};function Ptt(){if(Att)return Ott;Att=1;var t=b9(),e=String;return Ott=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}function Btt(){if(Ttt)return xtt;Ttt=1;var t=P5(),e=P7(),r=Ptt(),n=R5(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=r(n(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return xtt={codeAt:a(!1),charAt:a(!0)}}!function(){if(Ntt)return ktt;Ntt=1;var t=Btt().charAt,e=Ptt(),r=f7(),n=mtt(),o=btt(),i="String Iterator",u=r.set,a=r.getterFor(i);n(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,r=a(this),n=r.string,i=r.index;return i>=n.length?o(void 0,!0):(e=t(n,i),r.index+=e.length,o(e,!1))})}();var Itt,Ftt,Rtt,Ltt,_tt={};function jtt(){if(Ftt)return Itt;Ftt=1;var t=j3();return Itt=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})}function Mtt(){if(Ltt)return Rtt;Ltt=1;var t=d7();return Rtt=function(e,r,n){for(var o in r)t(e,o,r[o],n);return e}}var ztt,Htt,$tt,Utt,Vtt,Gtt,Wtt,qtt,Ktt,Ytt,Xtt,Jtt,Ztt,Qtt,tet,eet,ret,net,oet,iet,uet,aet,set,cet,fet,det,pet,het,vet,get,yet,met,bet,Eet,wet,Cet,Det={exports:{}},Oet={};function Aet(){if($tt)return Oet;$tt=1;var t=B5(),e=L5(),r=_7().f,n=function(){if(Htt)return ztt;Htt=1;var t=P5();return ztt=t([].slice)}(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return Oet.f=function(i){return o&&"Window"===t(i)?function(t){try{return r(t)}catch(t){return n(o)}}(i):r(e(i))},Oet}function xet(){if(qtt)return Det.exports;qtt=1;var t=v9(),e=P5(),r=l7(),n=j5(),o=D8(),i=$8().f,u=_7(),a=Aet(),s=function(){if(Wtt)return Gtt;Wtt=1;var t=j3(),e=j5(),r=B5(),n=function(){if(Vtt)return Utt;Vtt=1;var t=j3();return Utt=t(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})}(),o=Object.isExtensible,i=t(function(){});return Gtt=i||n?function(t){return!!e(t)&&(!n||"ArrayBuffer"!==r(t))&&(!o||o(t))}:o}(),c=O8(),l=jtt(),f=!1,d=c("meta"),p=0,h=function(t){i(t,d,{value:{objectID:"O"+p++,weakData:{}}})},v=Det.exports={enable:function(){v.enable=function(){},f=!0;var r=u.f,n=e([].splice),o={};o[d]=1,r(o).length&&(u.f=function(t){for(var e=r(t),o=0,i=e.length;o<i;o++)if(e[o]===d){n(e,o,1);break}return e},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!n(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,d)){if(!s(t))return"F";if(!e)return"E";h(t)}return t[d].objectID},getWeakData:function(t,e){if(!o(t,d)){if(!s(t))return!0;if(!e)return!1;h(t)}return t[d].weakData},onFreeze:function(t){return l&&f&&s(t)&&!o(t,d)&&h(t),t}};return r[d]=!0,Det.exports}function Tet(){if(Jtt)return Xtt;Jtt=1;var t=function(){if(Ytt)return Ktt;Ytt=1;var t=B5(),e=P5();return Ktt=function(r){if("Function"===t(r))return e(r)}}(),e=W5(),r=z3(),n=t(t.bind);return Xtt=function(t,o){return e(t),void 0===o?t:r?n(t,o):function(){return t.apply(o,arguments)}},Xtt}function Net(){if(eet)return tet;eet=1;var t=b9(),e=q5(),r=F5(),n=dtt(),o=A8()("iterator");return tet=function(i){if(!r(i))return e(i,o)||e(i,"@@iterator")||n[t(i)]}}function ket(){if(aet)return uet;aet=1;var t=Tet(),e=H3(),r=H8(),n=G5(),o=function(){if(Qtt)return Ztt;Qtt=1;var t=A8(),e=dtt(),r=t("iterator"),n=Array.prototype;return Ztt=function(t){return void 0!==t&&(e.Array===t||n[r]===t)}}(),i=I7(),u=z5(),a=function(){if(net)return ret;net=1;var t=H3(),e=W5(),r=H8(),n=G5(),o=Net(),i=TypeError;return ret=function(u,a){var s=arguments.length<2?o(u):a;if(e(s))return r(t(s,u));throw new i(n(u)+" is not iterable")},ret}(),s=Net(),c=function(){if(iet)return oet;iet=1;var t=H3(),e=H8(),r=q5();return oet=function(n,o,i){var u,a;e(n);try{if(!(u=r(n,"return"))){if("throw"===o)throw i;return i}u=t(u,n)}catch(t){a=!0,u=t}if("throw"===o)throw i;if(a)throw u;return e(u),i}}(),l=TypeError,f=function(t,e){this.stopped=t,this.result=e},d=f.prototype;return uet=function(p,h,v){var g,y,m,b,E,w,S,C=v&&v.that,D=!(!v||!v.AS_ENTRIES),O=!(!v||!v.IS_RECORD),A=!(!v||!v.IS_ITERATOR),x=!(!v||!v.INTERRUPTED),T=t(h,C),N=function(t){return g&&c(g,"normal"),new f(!0,t)},k=function(t){return D?(r(t),x?T(t[0],t[1],N):T(t[0],t[1])):x?T(t,N):T(t)};if(O)g=p.iterator;else if(A)g=p;else{if(!(y=s(p)))throw new l(n(p)+" is not iterable");if(o(y)){for(m=0,b=i(p);b>m;m++)if((E=k(p[m]))&&u(d,E))return E;return new f(!1)}g=a(p,y)}for(w=O?p.next:g.next;!(S=e(w,g)).done;){try{E=k(S.value)}catch(t){c(g,"throw",t)}if("object"==typeof E&&E&&u(d,E))return E}return new f(!1)}}function Pet(){if(cet)return set;cet=1;var t=z5(),e=TypeError;return set=function(r,n){if(t(n,r))return r;throw new e("Incorrect invocation")}}function Bet(){if(get)return vet;get=1;var t=v9(),e=T3(),r=P5(),n=h9(),o=d7(),i=xet(),u=ket(),a=Pet(),s=_5(),c=F5(),l=j5(),f=j3(),d=function(){if(det)return fet;det=1;var t=A8()("iterator"),e=!1;try{var r=0,n={next:function(){return{done:!!r++}},return:function(){e=!0}};n[t]=function(){return this},Array.from(n,function(){throw 2})}catch(t){}return fet=function(r,n){try{if(!n&&!e)return!1}catch(t){return!1}var o=!1;try{var i={};i[t]=function(){return{next:function(){return{done:o=!0}}}},r(i)}catch(t){}return o}}(),p=vtt(),h=function(){if(het)return pet;het=1;var t=_5(),e=j5(),r=ytt();return pet=function(n,o,i){var u,a;return r&&t(u=o.constructor)&&u!==i&&e(a=u.prototype)&&a!==i.prototype&&r(n,a),n}}();return vet=function(v,g,y){var m=-1!==v.indexOf("Map"),b=-1!==v.indexOf("Weak"),E=m?"set":"add",w=e[v],S=w&&w.prototype,C=w,D={},O=function(t){var e=r(S[t]);o(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!l(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(n(v,!s(w)||!(b||S.forEach&&!f(function(){(new w).entries().next()}))))C=y.getConstructor(g,v,m,E),i.enable();else if(n(v,!0)){var A=new C,x=A[E](b?{}:-0,1)!==A,T=f(function(){A.has(1)}),N=d(function(t){new w(t)}),k=!b&&f(function(){for(var t=new w,e=5;e--;)t[E](e,e);return!t.has(-0)});N||((C=g(function(t,e){a(t,S);var r=h(new w,t,C);return c(e)||u(e,r[E],{that:r,AS_ENTRIES:m}),r})).prototype=S,S.constructor=C),(T||k)&&(O("delete"),O("has"),m&&O("get")),(k||x)&&O(E),b&&S.clear&&delete S.clear}return D[v]=C,t({global:!0,constructor:!0,forced:C!==w},D),p(C,v),b||y.setStrong(C,v,m),C}}function Iet(){if(met)return yet;met=1;var t=Tet(),e=P5(),r=I5(),n=C8(),o=I7(),i=w9(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=n(h),w=r(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return yet={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}Cet||(Cet=1,function(){if(wet)return _tt;wet=1;var t,e=jtt(),r=T3(),n=P5(),o=Mtt(),i=xet(),u=Bet(),a=function(){if(Eet)return bet;Eet=1;var t=P5(),e=Mtt(),r=xet().getWeakData,n=Pet(),o=H8(),i=F5(),u=j5(),a=ket(),s=Iet(),c=D8(),l=f7(),f=l.set,d=l.getterFor,p=s.find,h=s.findIndex,v=t([].splice),g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return p(t.entries,function(t){return t[0]===e})};return m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var r=b(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,function(e){return e[0]===t});return~e&&v(this.entries,e,1),!!~e}},bet={getConstructor:function(t,s,l,p){var h=t(function(t,e){n(t,v),f(t,{type:s,id:g++,frozen:null}),i(e)||a(e,t[p],{that:t,AS_ENTRIES:l})}),v=h.prototype,m=d(s),b=function(t,e,n){var i=m(t),u=r(o(e),!0);return!0===u?y(i).set(e,n):u[i.id]=n,t};return e(v,{delete:function(t){var e=m(this);if(!u(t))return!1;var n=r(t);return!0===n?y(e).delete(t):n&&c(n,e.id)&&delete n[e.id]},has:function(t){var e=m(this);if(!u(t))return!1;var n=r(t);return!0===n?y(e).has(t):n&&c(n,e.id)}}),e(v,l?{get:function(t){var e=m(this);if(u(t)){var n=r(t);if(!0===n)return y(e).get(t);if(n)return n[e.id]}},set:function(t,e){return b(this,t,e)}}:{add:function(t){return b(this,t,!0)}}),h}}}(),s=j5(),c=f7().enforce,l=j3(),f=s7(),d=Object,p=Array.isArray,h=d.isExtensible,v=d.isFrozen,g=d.isSealed,y=d.freeze,m=d.seal,b=!r.ActiveXObject&&"ActiveXObject"in r,E=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},w=u("WeakMap",E,a),S=w.prototype,C=n(S.set);if(f)if(b){t=a.getConstructor(E,"WeakMap",!0),i.enable();var D=n(S.delete),O=n(S.has),A=n(S.get);o(S,{delete:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),D(this,e)||r.frozen.delete(e)}return D(this,e)},has:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),O(this,e)||r.frozen.has(e)}return O(this,e)},get:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),O(this,e)?A(this,e):r.frozen.get(e)}return A(this,e)},set:function(e,r){if(s(e)&&!h(e)){var n=c(this);n.frozen||(n.frozen=new t),O(this,e)?C(this,e,r):n.frozen.set(e,r)}else C(this,e,r);return this}})}else e&&l(function(){var t=y([]);return C(new w,t,1),!v(t)})&&o(S,{set:function(t,e){var r;return p(t)&&(v(t)?r=y:g(t)&&(r=m)),C(this,t,e),r&&r(t),this}})}());var Fet,Ret,Let,_et,jet,Met={};!function(){if(jet)return Met;jet=1;var t=T3(),e=Ret?Fet:(Ret=1,Fet={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}),r=function(){if(_et)return Let;_et=1;var t=N8()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return Let=e===Object.prototype?void 0:e}(),n=Ett(),o=U8(),i=vtt(),u=A8()("iterator"),a=n.values,s=function(t,r){if(t){if(t[u]!==a)try{o(t,u,a)}catch(e){t[u]=a}if(i(t,r,!0),e[r])for(var s in n)if(t[s]!==n[s])try{o(t,s,n[s])}catch(e){t[s]=n[s]}}};for(var c in e)s(t[c]&&t[c].prototype,c);s(r,"DOMTokenList")}();var zet=new WeakMap;function Het(t){var e,r=t.children||[],n=r.length;if(0===n)return"";for(var o=0;o<n&&!e;o+=1){var i=r[o];wv.isText(i)&&(e=i)}return null==e?"":e.color||""}function $et(t,e,r){for(var n=e.type,o=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}(e,["type"]),i=void 0!==r?r:o.level||0,u=SB.findPath(t,e),a=u;;){if(0===a.length||0===u[u.length-1])return null;a=ov.previous(a);var s=Kh.node(t,a);if(!s)return null;var c=A9(s,1)[0],l=c.level,f=void 0===l?0:l;if(SB.getNodeType(c)!==n)return null;if(f===i)return c}}function Uet(t,e,r){var n=$et(t,e,r);return!!n&&n.ordered===e.ordered}var Vet,Get=[],Wet={type:"list-item",elemToHtml:function(t,e){var r="",n="",o=t.ordered,i=void 0!==o&&o?"ol":"ul",u=function(t){var e=zet.get(t);if(null==e)return 0;var r=t,n=r.type,o=r.ordered,i=void 0!==o&&o,u=r.level,a=void 0===u?0:u,s=SB.findPath(e,t);if(0===s[0])return a+1;var c=ov.previous(s),l=Kh.node(e,c);if(!l)return 0;var f=A9(l,1)[0];if(SB.getNodeType(f)!==n)return a+1;var d=f,p=d.ordered,h=void 0!==p&&p,v=d.level,g=void 0===v?0:v;return g<a?a-g:g>a?Uet(e,t)?0:1:g===a?h===i?0:1:0}(t);if(u>0)for(var a=0;a<u;a+=1)r+="<".concat(i,">"),Get.push(i);var s=function(t){var e=zet.get(t);if(null==e)return 0;var r=t,n=r.type,o=r.ordered,i=void 0!==o&&o,u=r.level,a=void 0===u?0:u,s=SB.findPath(e,t);if(s[0]===e.children.length-1)return a+1;var c=ov.next(s),l=Kh.node(e,c);if(!l)return 0;var f=A9(l,1)[0];if(SB.getNodeType(f)!==n)return a+1;var d=f,p=d.ordered,h=void 0!==p&&p,v=d.level,g=void 0===v?0:v;return g<a?Uet(e,f)?a-g:a-g+1:g>a?0:g===a?h===i?0:1:0}(t);if(s>0)for(a=0;a<s;a+=1){var c=Get.pop();n+="</".concat(c,">")}var l=Het(t),f=l?' style="color:'.concat(l,'"'):"";return{html:"<li".concat(f,">").concat(e,"</li>"),prefix:r,suffix:n}}},qet={};!function(){if(Vet)return qet;Vet=1;var t=v9(),e=F7().includes,r=j3(),n=ftt();t({target:"Array",proto:!0,forced:r(function(){return!Array(1).includes()})},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n("includes")}();var Ket,Yet,Xet,Jet,Zet,Qet,trt,ert,rrt,nrt,ort,irt={};function urt(){if(Yet)return Ket;Yet=1;var t=H8();return Ket=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}function art(){if(nrt)return rrt;nrt=1;var t,e,r=H3(),n=P5(),o=Ptt(),i=urt(),u=function(){if(Jet)return Xet;Jet=1;var t=j3(),e=T3().RegExp,r=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),n=r||t(function(){return!e("a","y").sticky}),o=r||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return Xet={BROKEN_CARET:o,MISSED_STICKY:n,UNSUPPORTED_Y:r}}(),a=S8(),s=ltt(),c=f7().get,l=function(){if(Qet)return Zet;Qet=1;var t=j3(),e=T3().RegExp;return Zet=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(ert)return trt;ert=1;var t=j3(),e=T3().RegExp;return trt=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=n("".charAt),g=n("".indexOf),y=n("".replace),m=n("".slice),b=(e=/b*/g,r(p,t=/a/,"a"),r(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,n,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=r(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=r(i,C),k=C.source,P=0,B=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),B=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(k="(?: "+k+")",B=" "+B,P++),n=new RegExp("^(?:"+k+")",N)),w&&(n=new RegExp("^"+k+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=r(p,T?n:C,B),T?a?(a.input=m(a.input,P),a[0]=m(a[0],P),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&r(d,a[0],n,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),rrt=h}function srt(){if(ort)return irt;ort=1;var t=v9(),e=art();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),irt}srt();var crt,lrt=function(){function t(){this.type="list-item",this.tag="button"}return t.prototype.getListNode=function(t){var e=this.type;return SB.getSelectedNodeByType(t,e)},t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){var e=this.getListNode(t);if(null==e)return!1;var r=e.ordered;return(void 0!==r&&r)===this.ordered},t.prototype.isDisabled=function(t){return null==t.selection||!!SB.getSelectedElems(t).some(function(e){if(Kh.isVoid(t,e)&&Kh.isBlock(t,e))return!0;var r=e.type;return!!["pre","code","table"].includes(r)})},t.prototype.exec=function(t,e){this.isActive(t)?zv.setNodes(t,{type:"paragraph",ordered:void 0,level:void 0}):zv.setNodes(t,{type:"list-item",ordered:this.ordered,indent:void 0})},t}(),frt=function(t){function e(){var e=t.apply(this,x9([],A9(arguments),!1))||this;return e.ordered=!1,e.title=RF("listModule.unOrderedList"),e.iconSvg='<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>',e}return D9(e,t),e}(lrt),drt=function(t){function e(){var e=t.apply(this,x9([],A9(arguments),!1))||this;return e.ordered=!0,e.title=RF("listModule.orderedList"),e.iconSvg='<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>',e}return D9(e,t),e}(lrt),prt={key:"bulletedList",factory:function(){return new frt}},hrt={key:"numberedList",factory:function(){return new drt}},vrt={};!function(){if(crt)return vrt;crt=1;var t=v9(),e=Iet().filter;t({target:"Array",proto:!0,forced:!S9()("filter")},{filter:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var grt,yrt,mrt,brt,Ert={};!function(){if(mrt)return Ert;mrt=1;var t=v9(),e=function(){if(yrt)return grt;yrt=1;var t=g9(),e=I7(),r=y9(),n=Tet(),o=function(i,u,a,s,c,l,f,d){for(var p,h,v=c,g=0,y=!!f&&n(f,d);g<s;)g in a&&(p=y?y(a[g],g,u):a[g],l>0&&t(p)?(h=e(p),v=o(i,u,p,h,v,l-1)-1):(r(v+1),i[v]=p),v++),g++;return v};return grt=o}(),r=C8(),n=I7(),o=P7(),i=w9();t({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,u=r(this),a=n(u),s=i(u,0);return s.length=e(s,u,u,a,0,void 0===t?1:o(t)),s}})}(),brt||(brt=1,ftt()("flat"));var wrt,Srt,Crt,Drt,Ort,Art,xrt,Trt,Nrt,krt,Prt,Brt,Irt,Frt,Rrt,Lrt={};!function(){if(Rrt)return Lrt;Rrt=1;var t=function(){if(Srt)return wrt;Srt=1;var t=z3(),e=Function.prototype,r=e.apply,n=e.call;return wrt="object"==typeof Reflect&&Reflect.apply||(t?n.bind(r):function(){return n.apply(r,arguments)}),wrt}(),e=H3(),r=P5(),n=function(){if(Drt)return Crt;Drt=1,srt();var t=H3(),e=d7(),r=art(),n=j3(),o=A8(),i=U8(),u=o("species"),a=RegExp.prototype;return Crt=function(s,c,l,f){var d=o(s),p=!n(function(){var t={};return t[d]=function(){return 7},7!==""[s](t)}),h=p&&!n(function(){var t=!1,e=/a/;return"split"===s&&((e={}).constructor={},e.constructor[u]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return t=!0,null},e[d](""),!t});if(!p||!h||l){var v=/./[d],g=c(d,""[s],function(e,n,o,i,u){var s=n.exec;return s===r||s===a.exec?p&&!u?{done:!0,value:t(v,n,o,i)}:{done:!0,value:t(e,o,n,i)}:{done:!1}});e(String.prototype,s,g[0]),e(a,d,g[1])}f&&i(a[d],"sham",!0)}}(),o=j3(),i=H8(),u=_5(),a=j5(),s=P7(),c=B7(),l=Ptt(),f=R5(),d=function(){if(Art)return Ort;Art=1;var t=Btt().charAt;return Ort=function(e,r,n){return r+(n?t(e,r).length:1)}}(),p=q5(),h=function(){if(Trt)return xrt;Trt=1;var t=P5(),e=C8(),r=Math.floor,n=t("".charAt),o=t("".replace),i=t("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return xrt=function(t,s,c,l,f,d){var p=c+t.length,h=l.length,v=a;return void 0!==f&&(f=e(f),v=u),o(d,v,function(e,o){var u;switch(n(o,0)){case"$":return"$";case"&":return t;case"`":return i(s,0,c);case"'":return i(s,p);case"<":u=f[i(o,1,-1)];break;default:var a=+o;if(0===a)return e;if(a>h){var d=r(a/10);return 0===d?e:d<=h?void 0===l[d-1]?n(o,1):l[d-1]+n(o,1):e}u=l[a-1]}return void 0===u?"":u})}}(),v=function(){if(Brt)return Prt;Brt=1;var t=H3(),e=D8(),r=z5(),n=function(){if(krt)return Nrt;krt=1;var t=T3(),e=j3(),r=t.RegExp,n=!e(function(){var t=!0;try{r(".","d")}catch(e){t=!1}var e={},n="",o=t?"dgimsy":"gimsy",i=function(t,r){Object.defineProperty(e,t,{get:function(){return n+=r,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(e)!==o||n!==o});return Nrt={correct:n}}(),o=urt(),i=RegExp.prototype;return Prt=n.correct?function(t){return t.flags}:function(u){return n.correct||!r(i,u)||e(u,"flags")?u.flags:t(o,u)}}(),g=function(){if(Frt)return Irt;Frt=1;var t=H3(),e=H8(),r=_5(),n=B5(),o=art(),i=TypeError;return Irt=function(u,a){var s=u.exec;if(r(s)){var c=t(s,u,a);return null!==c&&e(c),c}if("RegExp"===n(u))return t(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}(),y=A8()("replace"),m=Math.max,b=Math.min,E=r([].concat),w=r([].push),S=r("".indexOf),C=r("".slice),D=function(t){return void 0===t?t:String(t)},O="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");n("replace",function(r,n,o){var O=A?"$":"$0";return[function(t,r){var o=f(this),i=a(t)?p(t,y):void 0;return i?e(i,t,o,r):e(n,l(o),t,r)},function(e,r){var a=i(this),f=l(e);if("string"==typeof r&&-1===S(r,O)&&-1===S(r,"$<")){var p=o(n,a,f,r);if(p.done)return p.value}var y=u(r);y||(r=l(r));var A,x=l(v(a)),T=-1!==S(x,"g");T&&(A=-1!==S(x,"u"),a.lastIndex=0);for(var N,k=[];null!==(N=g(a,f))&&(w(k,N),T);)""===l(N[0])&&(a.lastIndex=d(f,c(a.lastIndex),A));for(var P="",B=0,I=0;I<k.length;I++){for(var F,R=l((N=k[I])[0]),L=m(b(s(N.index),f.length),0),_=[],j=1;j<N.length;j++)w(_,D(N[j]));var M=N.groups;if(y){var z=E([R],_,L,f);void 0!==M&&w(z,M),F=l(t(r,void 0,z))}else F=h(R,f,L,_,M,r);L>=B&&(P+=C(f,B,L)+F,B=L+R.length)}return P+C(f,B)}]},!!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!O||A)}();var _rt,jrt,Mrt={};function zrt(t){return t.length?t[0].tagName.toLowerCase():""}function Hrt(t){return Kh.nodes(t,{at:t.selection||void 0,match:function(e){return 1===SB.findPath(t,e).length}})}jrt||(jrt=1,function(){if(_rt)return Mrt;_rt=1;var t=v9(),e=T3();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}()),Ag&&(og.fn.append=Ag),sg&&(og.fn.attr=sg),Tg&&(og.fn.parent=Tg);var $rt={renderElems:[{type:"list-item",renderElem:function(t,e,r){zet.set(t,r);var n=t,o=n.level,i=void 0===o?0:o,u=n.ordered,a=void 0!==u&&u,s={margin:"5px 0 5px ".concat(20*i,"px"),display:"flex",alignItems:"flex-start"},c="";if(a){var l=function(t,e){var r=e,n=r.type,o=r.level,i=void 0===o?0:o,u=r.ordered,a=void 0!==u&&u,s=1,c=e,l=SB.findPath(t,c);if(0===l[0])return 1;for(;l[0]>0;){var f=ov.previous(l),d=Kh.node(t,f);if(null==d)break;var p=d[0],h=p.level,v=void 0===h?0:h,g=p.type,y=p.ordered;if(g!==n)break;if(v<i)break;if(v===i){if(y!==a)break;s+=1}c=p,l=f}return s}(r,t);c="".concat(l,".")}else c=function(t){void 0===t&&(t=0);var e="";switch(t){case 0:e="•";break;case 1:e="◦";break;default:e="▪"}return e}(i);return Ry("div",{style:s},Ry("span",{contentEditable:!1,style:{marginRight:"0.5em",color:Het(t)},"data-w-e-reserve":!0},c),Ry("span",{style:{flex:"1",wordBreak:"break-word"}},e))}}],editorPlugin:function(t){var e=t.deleteBackward,r=t.handleTab,n=t.normalizeNode,o=t.insertBreak,i=t;return i.insertBreak=function(){var e=A9(Kh.nodes(t,{match:function(t){return SB.checkNodeType(t,"list-item")},universal:!0}),1)[0];return e?""!==e[0].children[0].text?o():void zv.setNodes(i,{type:"paragraph",ordered:void 0,level:void 0}):o()},i.deleteBackward=function(r){var n=i.selection;if(null!=n)if(dv.isExpanded(n))e(r);else{var o=SB.getSelectedNodeByType(i,"list-item");if(null!=o)if(0!==n.focus.offset)e(r);else{var u=o,a=u.level,s=void 0===a?0:a,c=u.ordered,l=void 0!==c&&c;if(s>0){var f=$et(t,o,s-1);f&&f.ordered!==l?zv.setNodes(i,{level:s-1,ordered:!l}):zv.setNodes(i,{level:s-1})}else zv.setNodes(i,{type:"paragraph",ordered:void 0,level:void 0})}else e(r)}else e(r)},i.handleTab=function(){var t,e,n,o,u=i.selection;if(null!=u){if(dv.isCollapsed(u)){var a=SB.getSelectedNodeByType(i,"list-item");if(null==a)return void r();if(0===u.focus.offset){var s=a.level,c=void 0===s?0:s;return void zv.setNodes(i,{level:c+1})}}if(dv.isExpanded(u)){var l=0,f=!1;try{for(var d=O9(Hrt(i)),p=d.next();!p.done;p=d.next()){var h=A9(p.value,1)[0];"list-item"===SB.getNodeType(h)?l+=1:f=!0}}catch(e){t={error:e}}finally{try{p&&!p.done&&(e=d.return)&&e.call(d)}finally{if(t)throw t.error}}if(f||l<=1)return void r();try{for(var v=O9(Hrt(i)),g=v.next();!g.done;g=v.next()){var y=A9(g.value,2),m=(h=y[0],y[1]),b=h.level;c=void 0===b?0:b,zv.setNodes(i,{level:c+1},{at:m})}}catch(t){n={error:t}}finally{try{g&&!g.done&&(o=v.return)&&o.call(v)}finally{if(n)throw n.error}}}else r()}else r()},i.normalizeNode=function(t){var e=A9(t,2),r=e[0],o=e[1],u=SB.getNodeType(r);return"bulleted-list"!==u&&"numbered-list"!==u||zv.unwrapNodes(i,{at:o}),n([r,o])},i},menus:[prt,hrt],elemsToHtml:[Wet],parseElemsHtml:[{selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(t,e,r){return e.flat(1/0)}},{selector:"li:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n=og(t);0===(e=e.filter(function(t){return!!wv.isText(t)||!!r.isInline(t)})).length&&(e=[{text:n.text().replace(/\s+/gm," ")}]);var o=function(t){return"ol"===zrt(t.parent())}(n),i=function(t){for(var e=0,r=t.parent(),n=zrt(r);"ul"===n||"ol"===n;)n=zrt(r=r.parent()),e+=1;return e-1}(n);return{type:"list-item",ordered:o,level:i,children:e}}}]};PF("en",{tableModule:{modal:{border:"Border",borderWidth:"Width",bgColor:"Back color",align:"Text Align",ok:"OK"},color:{default:"Default color",clear:"Clear back color"},borderStyle:{none:"None",solid:"Solid",dotted:"Dotted",dashed:"Dashed",double:"Double",groove:"Groove",ridge:"Ridge",inset:"Inset",outset:"Outset"},deleteCol:"Delete column",deleteRow:"Delete row",deleteTable:"Delete table",widthAuto:"Width auto",insertCol:"Insert column",insertRow:"Insert row",insertTable:"Insert table",header:"Header",mergeCell:"merge cell",splitCell:"split cell",tableProperty:"Table property",cellProperty:"Cell property"}}),PF("zh-CN",{tableModule:{modal:{border:"边框",borderWidth:"宽度",bgColor:"背景色",align:"对齐方式",ok:"确定"},color:{default:"默认颜色",clear:"清除背景色"},borderStyle:{none:"无样式",solid:"实线",dotted:"点状虚线",dashed:"虚线",double:"双线",groove:"凹槽边框",ridge:"菱形边框",inset:"凹边框",outset:"凸边框"},deleteCol:"删除列",deleteRow:"删除行",deleteTable:"删除表格",widthAuto:"宽度自适应",insertCol:"插入列",insertRow:"插入行",insertTable:"插入表格",header:"表头",mergeCell:"合并单元格",splitCell:"拆分单元格",tableProperty:"表格属性",cellProperty:"单元格属性"}});var Urt,Vrt,Grt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Wrt={};function qrt(){if(Vrt)return Urt;Vrt=1;var t=function(t){return t&&t.Math===Math&&t};return Urt=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof Grt&&Grt)||t("object"==typeof Urt&&Urt)||function(){return this}()||Function("return this")()}var Krt,Yrt,Xrt,Jrt,Zrt,Qrt,tnt,ent,rnt={};function nnt(){return Yrt?Krt:(Yrt=1,Krt=function(t){try{return!!t()}catch(t){return!0}})}function ont(){if(Jrt)return Xrt;Jrt=1;var t=nnt();return Xrt=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function int(){if(Qrt)return Zrt;Qrt=1;var t=nnt();return Zrt=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function unt(){if(ent)return tnt;ent=1;var t=int(),e=Function.prototype.call;return tnt=t?e.bind(e):function(){return e.apply(e,arguments)},tnt}var ant,snt,cnt,lnt,fnt,dnt,pnt,hnt,vnt,gnt,ynt,mnt,bnt,Ent,wnt,Snt,Cnt,Dnt,Ont,Ant,xnt,Tnt,Nnt,knt,Pnt,Bnt,Int,Fnt,Rnt,Lnt,_nt,jnt,Mnt,znt,Hnt,$nt,Unt,Vnt,Gnt,Wnt,qnt,Knt={};function Ynt(){if(ant)return Knt;ant=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return Knt.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,Knt}function Xnt(){return cnt?snt:(cnt=1,snt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function Jnt(){if(fnt)return lnt;fnt=1;var t=int(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return lnt=t?n:function(t){return function(){return r.apply(t,arguments)}},lnt}function Znt(){if(pnt)return dnt;pnt=1;var t=Jnt(),e=t({}.toString),r=t("".slice);return dnt=function(t){return r(e(t),8,-1)}}function Qnt(){if(vnt)return hnt;vnt=1;var t=Jnt(),e=nnt(),r=Znt(),n=Object,o=t("".split);return hnt=e(function(){return!n("z").propertyIsEnumerable(0)})?function(t){return"String"===r(t)?o(t,""):n(t)}:n}function tot(){return ynt?gnt:(ynt=1,gnt=function(t){return null==t})}function eot(){if(bnt)return mnt;bnt=1;var t=tot(),e=TypeError;return mnt=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function rot(){if(wnt)return Ent;wnt=1;var t=Qnt(),e=eot();return Ent=function(r){return t(e(r))}}function not(){if(Cnt)return Snt;Cnt=1;var t="object"==typeof document&&document.all;return Snt=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function oot(){if(Ont)return Dnt;Ont=1;var t=not();return Dnt=function(e){return"object"==typeof e?null!==e:t(e)}}function iot(){if(xnt)return Ant;xnt=1;var t=qrt(),e=not();return Ant=function(r,n){return arguments.length<2?(o=t[r],e(o)?o:void 0):t[r]&&t[r][n];var o},Ant}function uot(){if(Nnt)return Tnt;Nnt=1;var t=Jnt();return Tnt=t({}.isPrototypeOf)}function aot(){if(Pnt)return knt;Pnt=1;var t=qrt().navigator,e=t&&t.userAgent;return knt=e?String(e):""}function sot(){if(Int)return Bnt;Int=1;var t,e,r=qrt(),n=aot(),o=r.process,i=r.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),Bnt=e}function cot(){if(Rnt)return Fnt;Rnt=1;var t=sot(),e=nnt(),r=qrt().String;return Fnt=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function lot(){if(_nt)return Lnt;_nt=1;var t=cot();return Lnt=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function fot(){if(Mnt)return jnt;Mnt=1;var t=iot(),e=not(),r=uot(),n=lot(),o=Object;return jnt=n?function(t){return"symbol"==typeof t}:function(n){var i=t("Symbol");return e(i)&&r(i.prototype,o(n))}}function dot(){if(Hnt)return znt;Hnt=1;var t=String;return znt=function(e){try{return t(e)}catch(t){return"Object"}}}function pot(){if(Unt)return $nt;Unt=1;var t=not(),e=dot(),r=TypeError;return $nt=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function hot(){if(Gnt)return Vnt;Gnt=1;var t=pot(),e=tot();return Vnt=function(r,n){var o=r[n];return e(o)?void 0:t(o)}}var vot,got,yot,mot,bot,Eot,wot,Sot,Cot,Dot,Oot,Aot,xot,Tot,Not,kot,Pot,Bot,Iot,Fot,Rot,Lot,_ot,jot,Mot={exports:{}};function zot(){return got?vot:(got=1,vot=!1)}function Hot(){if(mot)return yot;mot=1;var t=qrt(),e=Object.defineProperty;return yot=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function $ot(){if(bot)return Mot.exports;bot=1;var t=zot(),e=qrt(),r=Hot(),n="__core-js_shared__",o=Mot.exports=e[n]||r(n,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),Mot.exports}function Uot(){if(wot)return Eot;wot=1;var t=$ot();return Eot=function(e,r){return t[e]||(t[e]=r||{})}}function Vot(){if(Cot)return Sot;Cot=1;var t=eot(),e=Object;return Sot=function(r){return e(t(r))}}function Got(){if(Oot)return Dot;Oot=1;var t=Jnt(),e=Vot(),r=t({}.hasOwnProperty);return Dot=Object.hasOwn||function(t,n){return r(e(t),n)}}function Wot(){if(xot)return Aot;xot=1;var t=Jnt(),e=0,r=Math.random(),n=t(1.1.toString);return Aot=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function qot(){if(Not)return Tot;Not=1;var t=qrt(),e=Uot(),r=Got(),n=Wot(),o=cot(),i=lot(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||n;return Tot=function(t){return r(a,t)||(a[t]=o&&r(u,t)?u[t]:s("Symbol."+t)),a[t]}}function Kot(){if(Pot)return kot;Pot=1;var t=unt(),e=oot(),r=fot(),n=hot(),o=function(){if(qnt)return Wnt;qnt=1;var t=unt(),e=not(),r=oot(),n=TypeError;return Wnt=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!r(a=t(u,o)))return a;if(e(u=o.valueOf)&&!r(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!r(a=t(u,o)))return a;throw new n("Can't convert object to primitive value")},Wnt}(),i=qot(),u=TypeError,a=i("toPrimitive");return kot=function(i,s){if(!e(i)||r(i))return i;var c,l=n(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||r(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}function Yot(){if(Iot)return Bot;Iot=1;var t=Kot(),e=fot();return Bot=function(r){var n=t(r,"string");return e(n)?n:n+""}}function Xot(){if(Rot)return Fot;Rot=1;var t=qrt(),e=oot(),r=t.document,n=e(r)&&e(r.createElement);return Fot=function(t){return n?r.createElement(t):{}}}function Jot(){if(_ot)return Lot;_ot=1;var t=ont(),e=nnt(),r=Xot();return Lot=!t&&!e(function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})}function Zot(){if(jot)return rnt;jot=1;var t=ont(),e=unt(),r=Ynt(),n=Xnt(),o=rot(),i=Yot(),u=Got(),a=Jot(),s=Object.getOwnPropertyDescriptor;return rnt.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return n(!e(r.f,t,c),t[c])},rnt}var Qot,tit,eit,rit,nit,oit,iit,uit={};function ait(){if(tit)return Qot;tit=1;var t=ont(),e=nnt();return Qot=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function sit(){if(rit)return eit;rit=1;var t=oot(),e=String,r=TypeError;return eit=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function cit(){if(nit)return uit;nit=1;var t=ont(),e=Jot(),r=ait(),n=sit(),o=Yot(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return uit.f=t?r?function(t,e,r){if(n(t),e=o(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&l in r&&!r[l]){var i=a(t,e);i&&i[l]&&(t[e]=r.value,r={configurable:c in r?r[c]:i[c],enumerable:s in r?r[s]:i[s],writable:!1})}return u(t,e,r)}:u:function(t,r,a){if(n(t),r=o(r),n(a),e)try{return u(t,r,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[r]=a.value),t},uit}function lit(){if(iit)return oit;iit=1;var t=ont(),e=cit(),r=Xnt();return oit=t?function(t,n,o){return e.f(t,n,r(1,o))}:function(t,e,r){return t[e]=r,t}}var fit,dit,pit,hit,vit,git,yit,mit,bit,Eit,wit,Sit,Cit,Dit,Oit,Ait={exports:{}};function xit(){if(dit)return fit;dit=1;var t=ont(),e=Got(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,o=e(r,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&n(r,"name").configurable);return fit={EXISTS:o,PROPER:i,CONFIGURABLE:u}}function Tit(){if(hit)return pit;hit=1;var t=Jnt(),e=not(),r=$ot(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),pit=r.inspectSource}function Nit(){if(git)return vit;git=1;var t=qrt(),e=not(),r=t.WeakMap;return vit=e(r)&&/native code/.test(String(r))}function kit(){if(mit)return yit;mit=1;var t=Uot(),e=Wot(),r=t("keys");return yit=function(t){return r[t]||(r[t]=e(t))}}function Pit(){return Eit?bit:(Eit=1,bit={})}function Bit(){if(Sit)return wit;Sit=1;var t,e,r,n=Nit(),o=qrt(),i=oot(),u=lit(),a=Got(),s=$ot(),c=kit(),l=Pit(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(n||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},r=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},r=function(t){return a(t,v)}}return wit={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!i(r)||(n=e(r)).type!==t)throw new d("Incompatible receiver, "+t+" required");return n}}}}function Iit(){if(Cit)return Ait.exports;Cit=1;var t=Jnt(),e=nnt(),r=not(),n=Got(),o=ont(),i=xit().CONFIGURABLE,u=Tit(),a=Bit(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=Ait.exports=function(t,e,r){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return n(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return r(this)&&c(this).source||u(this)},"toString"),Ait.exports}function Fit(){if(Oit)return Dit;Oit=1;var t=not(),e=cit(),r=Iit(),n=Hot();return Dit=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&r(u,c,a),a.global)s?o[i]=u:n(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var Rit,Lit,_it,jit,Mit,zit,Hit,$it,Uit,Vit,Git,Wit,qit,Kit,Yit,Xit,Jit,Zit={};function Qit(){if(jit)return _it;jit=1;var t=function(){if(Lit)return Rit;Lit=1;var t=Math.ceil,e=Math.floor;return Rit=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return _it=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function tut(){if(zit)return Mit;zit=1;var t=Qit(),e=Math.max,r=Math.min;return Mit=function(n,o){var i=t(n);return i<0?e(i+o,0):r(i,o)}}function eut(){if($it)return Hit;$it=1;var t=Qit(),e=Math.min;return Hit=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}function rut(){if(Vit)return Uit;Vit=1;var t=eut();return Uit=function(e){return t(e.length)}}function nut(){if(Wit)return Git;Wit=1;var t=rot(),e=tut(),r=rut(),n=function(n){return function(o,i,u){var a=t(o),s=r(a);if(0===s)return!n&&-1;var c,l=e(u,s);if(n&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((n||l in a)&&a[l]===i)return n||l||0;return!n&&-1}};return Git={includes:n(!0),indexOf:n(!1)}}function out(){if(Kit)return qit;Kit=1;var t=Jnt(),e=Got(),r=rot(),n=nut().indexOf,o=Pit(),i=t([].push);return qit=function(t,u){var a,s=r(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~n(l,a)||i(l,a));return l}}function iut(){return Xit?Yit:(Xit=1,Yit=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function uut(){if(Jit)return Zit;Jit=1;var t=out(),e=iut().concat("length","prototype");return Zit.f=Object.getOwnPropertyNames||function(r){return t(r,e)},Zit}var aut,sut,cut,lut,fut,dut,put,hut,vut,gut,yut,mut,but,Eut,wut,Sut,Cut,Dut,Out,Aut,xut,Tut,Nut,kut,Put,But,Iut,Fut,Rut={};function Lut(){return aut||(aut=1,Rut.f=Object.getOwnPropertySymbols),Rut}function _ut(){if(fut)return lut;fut=1;var t=Got(),e=function(){if(cut)return sut;cut=1;var t=iot(),e=Jnt(),r=uut(),n=Lut(),o=sit(),i=e([].concat);return sut=t("Reflect","ownKeys")||function(t){var e=r.f(o(t)),u=n.f;return u?i(e,u(t)):e}}(),r=Zot(),n=cit();return lut=function(o,i,u){for(var a=e(i),s=n.f,c=r.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function jut(){if(put)return dut;put=1;var t=nnt(),e=not(),r=/#|\.prototype\./,n=function(r,n){var s=i[o(r)];return s===a||s!==u&&(e(n)?t(n):!!n)},o=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},i=n.data={},u=n.NATIVE="N",a=n.POLYFILL="P";return dut=n}function Mut(){if(vut)return hut;vut=1;var t=qrt(),e=Zot().f,r=lit(),n=Fit(),o=Hot(),i=_ut(),u=jut();return hut=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&r(d,"sham",!0),n(c,l,d,a)}}}function zut(){if(yut)return gut;yut=1;var t=Znt();return gut=Array.isArray||function(e){return"Array"===t(e)}}function Hut(){if(but)return mut;but=1;var t=TypeError;return mut=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}function $ut(){if(wut)return Eut;wut=1;var t=ont(),e=cit(),r=Xnt();return Eut=function(n,o,i){t?e.f(n,o,r(0,i)):n[o]=i}}function Uut(){if(Cut)return Sut;Cut=1;var t={};return t[qot()("toStringTag")]="z",Sut="[object z]"===String(t)}function Vut(){if(Out)return Dut;Out=1;var t=Uut(),e=not(),r=Znt(),n=qot()("toStringTag"),o=Object,i="Arguments"===r(function(){return arguments}());return Dut=t?r:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),n))?a:i?r(u):"Object"===(s=r(u))&&e(u.callee)?"Arguments":s}}function Gut(){if(xut)return Aut;xut=1;var t=Jnt(),e=nnt(),r=not(),n=Vut(),o=iot(),i=Tit(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!r(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,Aut=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function Wut(){if(Put)return kut;Put=1;var t=function(){if(Nut)return Tut;Nut=1;var t=zut(),e=Gut(),r=oot(),n=qot()("species"),o=Array;return Tut=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||r(u)&&null===(u=u[n]))&&(u=void 0)),void 0===u?o:u}}();return kut=function(e,r){return new(t(e))(0===r?0:r)}}function qut(){if(Iut)return But;Iut=1;var t=nnt(),e=qot(),r=sot(),n=e("species");return But=function(e){return r>=51||!t(function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}!function(){if(Fut)return Wrt;Fut=1;var t=Mut(),e=nnt(),r=zut(),n=oot(),o=Vot(),i=rut(),u=Hut(),a=$ut(),s=Wut(),c=qut(),l=qot(),f=sot(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!n(t))return!1;var e=t[d];return void 0!==e?!!e:r(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,r,n,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),r=0;r<c;r++,p++)r in l&&a(d,p,l[r]);else u(p+1),a(d,p++,l);return d.length=p,d}})}();var Kut,Yut,Xut,Jut={};function Zut(){if(Yut)return Kut;Yut=1;var t=nnt();return Kut=function(e,r){var n=[][e];return!!n&&t(function(){n.call(null,r||function(){return 1},1)})}}!function(){if(Xut)return Jut;Xut=1;var t=Mut(),e=Jnt(),r=Qnt(),n=rot(),o=Zut(),i=e([].join);t({target:"Array",proto:!0,forced:r!==Object||!o("join",",")},{join:function(t){return i(n(this),void 0===t?",":t)}})}();var Qut,tat,eat,rat,nat,oat,iat,uat={};function aat(){if(rat)return eat;rat=1;var t=function(){if(tat)return Qut;tat=1;var t=Znt(),e=Jnt();return Qut=function(r){if("Function"===t(r))return e(r)}}(),e=pot(),r=int(),n=t(t.bind);return eat=function(t,o){return e(t),void 0===o?t:r?n(t,o):function(){return t.apply(o,arguments)}},eat}function sat(){if(oat)return nat;oat=1;var t=aat(),e=Jnt(),r=Qnt(),n=Vot(),o=rut(),i=Wut(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=n(h),w=r(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return nat={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}!function(){if(iat)return uat;iat=1;var t=Mut(),e=sat().map;t({target:"Array",proto:!0,forced:!qut()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var cat,lat,fat,dat={};!function(){if(fat)return dat;fat=1;var t=Uut(),e=Fit(),r=function(){if(lat)return cat;lat=1;var t=Uut(),e=Vut();return cat=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var pat=function(t,e){return pat=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},pat(t,e)},hat=function(){return hat=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},hat.apply(this,arguments)};function vat(t,e){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=a(0),u.throw=a(1),u.return=a(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;u&&(u=0,a[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function gat(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function yat(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u}function mat(t,e,r){if(2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var bat,Eat,wat,Sat,Cat,Dat,Oat,Aat,xat,Tat,Nat='<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>',kat={},Pat={};function Bat(){if(Eat)return bat;Eat=1;var t=out(),e=iut();return bat=Object.keys||function(r){return t(r,e)}}function Iat(){if(Oat)return Dat;Oat=1;var t,e=sit(),r=function(){if(wat)return Pat;wat=1;var t=ont(),e=ait(),r=cit(),n=sit(),o=rot(),i=Bat();return Pat.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)r.f(t,u=s[l++],a[u]);return t},Pat}(),n=iut(),o=Pit(),i=function(){if(Cat)return Sat;Cat=1;var t=iot();return Sat=t("document","documentElement")}(),u=Xot(),a=kit(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,o;h="undefined"!=typeof document?document.domain&&t?p(t):(r=u("iframe"),o="java"+c+":",r.style.display="none",i.appendChild(r),r.src=String(o),(e=r.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=n.length;a--;)delete h[s][n[a]];return h()};return o[l]=!0,Dat=Object.create||function(t,n){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===n?o:r.f(o,n)}}function Fat(){if(xat)return Aat;xat=1;var t=qot(),e=Iat(),r=cit().f,n=t("unscopables"),o=Array.prototype;return void 0===o[n]&&r(o,n,{configurable:!0,value:e(null)}),Aat=function(t){o[n][t]=!0}}!function(){if(Tat)return kat;Tat=1;var t=Mut(),e=nut().includes,r=nnt(),n=Fat();t({target:"Array",proto:!0,forced:r(function(){return!Array(1).includes()})},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n("includes")}();var Rat,Lat,_at,jat,Mat,zat,Hat,$at,Uat,Vat={};function Gat(){if(zat)return Mat;zat=1;var t=Vut(),e=String;return Mat=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}!function(){if(Uat)return Vat;Uat=1;var t=Mut(),e=Jnt(),r=function(){if(jat)return _at;jat=1;var t=function(){if(Lat)return Rat;Lat=1;var t=oot(),e=Znt(),r=qot()("match");return Rat=function(n){var o;return t(n)&&(void 0!==(o=n[r])?!!o:"RegExp"===e(n))}}(),e=TypeError;return _at=function(r){if(t(r))throw new e("The method doesn't accept regular expressions");return r}}(),n=eot(),o=Gat(),i=function(){if($at)return Hat;$at=1;var t=qot()("match");return Hat=function(e){var r=/./;try{"/./"[e](r)}catch(n){try{return r[t]=!1,"/./"[e](r)}catch(t){}}return!1}}(),u=e("".indexOf);t({target:"String",proto:!0,forced:!i("includes")},{includes:function(t){return!!~u(o(n(this)),o(r(t)),arguments.length>1?arguments[1]:void 0)}})}();var Wat={blocks:{td:"table-cell",th:"table-cell",content:"paragraph",tr:"table-row",table:"table",tbody:"table-body"}};function qat(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=Wat,o=e.map(function(t){var e;return null===(e=null==n?void 0:n.blocks)||void 0===e?void 0:e[t]});return function(t){return function(t){return!Kh.isEditor(t)&&$h.isElement(t)&&"type"in t}(t)&&o.includes(t.type)}}function Kat(t,e){for(var r=yat(e,2),n=r[0],o=r[1],i=[],u=2;u<arguments.length;u++)i[u-2]=arguments[u];var a=yat(tv.common(t,n,o),2),s=a[0],c=a[1];return!!qat.apply(void 0,mat([t],yat(i),!1))(s,c)||!!Kh.above(t,{match:qat.apply(void 0,mat([t],yat(i),!1)),at:c})}function Yat(t,e){var r,n;void 0===e&&(e={});var o=[];try{for(var i=gat(function(t,e){var r,n,o,i,u,a,s,c,l,f,d,p,h,v,g,y,m,b;return void 0===e&&(e={}),vat(this,function(E){switch(E.label){case 0:if(r=yat(Kh.nodes(t,{match:qat(t,"table"),at:e.at}),1),!(n=r[0]))return[2,[]];o=yat(n,2),i=o[1],E.label=1;case 1:E.trys.push([1,6,7,8]),u=gat(Kh.nodes(t,{match:qat(t,"table"),at:i})),a=u.next(),E.label=2;case 2:if(a.done)return[3,5];s=yat(a.value,2),c=s[1],l=[];try{for(m=void 0,f=gat(Kh.nodes(t,{match:qat(t,"tr"),at:c})),d=f.next();!d.done;d=f.next())p=yat(d.value,2),h=p[1],l.push(mat([],yat(Kh.nodes(t,{match:qat(t,"th","td"),at:h})),!1))}catch(t){m={error:t}}finally{try{d&&!d.done&&(b=f.return)&&b.call(f)}finally{if(m)throw m.error}}return[4,l];case 3:E.sent(),E.label=4;case 4:return a=u.next(),[3,2];case 5:return[3,8];case 6:return v=E.sent(),g={error:v},[3,8];case 7:try{a&&!a.done&&(y=u.return)&&y.call(u)}finally{if(g)throw g.error}return[7];case 8:return[2]}})}(t,{at:e.at})),u=i.next();!u.done;u=i.next()){for(var a=u.value,s=[],c=0,l=0;l<a.length;l+=1)a[l]&&(c=Math.max(c,a[l].length));for(l=0;l<a.length;l+=1)if(s[l]||(s[l]=[]),a[l])for(var f=0;f<a[l].length;f+=1)if(a[l][f]&&a[l][f][0]){for(var d=yat(a[l][f],1)[0],p=d.rowSpan,h=void 0===p?1:p,v=d.colSpan,g=void 0===v?1:v,y=f;s[l]&&s[l][y];)y+=1;for(var m=0;m<g;m+=1)for(var b=0;b<h;b+=1){var E=l+b,w=y+m;s[E]||(s[E]=[]),s[E][w]||(s[E][w]=[a[l][f],{rtl:m+1,ltr:g-m,ttb:b+1,btt:h-b}])}}o.push.apply(o,mat([],yat(s),!1))}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return o}var Xat,Jat=function(){function t(t,e){this.x=t,this.y=e}return t.valueOf=function(t,e){return new this(t,e)},t.equals=function(t,e){return t.x===e.x&&t.y===e.y},t}(),Zat={};!function(){if(Xat)return Zat;Xat=1;var t=Mut(),e=sat().find,r=Fat(),n="find",o=!0;n in[]&&Array(1)[n](function(){o=!1}),t({target:"Array",proto:!0,forced:o},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r(n)}();var Qat,tst,est,rst,nst,ost,ist,ust,ast,sst,cst,lst,fst,dst,pst,hst,vst,gst={};function yst(){if(tst)return Qat;tst=1;var t=unt(),e=sit(),r=hot();return Qat=function(n,o,i){var u,a;e(n);try{if(!(u=r(n,"return"))){if("throw"===o)throw i;return i}u=t(u,n)}catch(t){a=!0,u=t}if("throw"===o)throw i;if(a)throw u;return e(u),i}}function mst(){return ost?nst:(ost=1,nst={})}function bst(){if(ust)return ist;ust=1;var t=qot(),e=mst(),r=t("iterator"),n=Array.prototype;return ist=function(t){return void 0!==t&&(e.Array===t||n[r]===t)}}function Est(){if(sst)return ast;sst=1;var t=Vut(),e=hot(),r=tot(),n=mst(),o=qot()("iterator");return ast=function(i){if(!r(i))return e(i,o)||e(i,"@@iterator")||n[t(i)]}}function wst(){if(lst)return cst;lst=1;var t=unt(),e=pot(),r=sit(),n=dot(),o=Est(),i=TypeError;return cst=function(u,a){var s=arguments.length<2?o(u):a;if(e(s))return r(t(s,u));throw new i(n(u)+" is not iterable")},cst}function Sst(){if(hst)return pst;hst=1;var t=qot()("iterator"),e=!1;try{var r=0,n={next:function(){return{done:!!r++}},return:function(){e=!0}};n[t]=function(){return this},Array.from(n,function(){throw 2})}catch(t){}return pst=function(r,n){try{if(!n&&!e)return!1}catch(t){return!1}var o=!1;try{var i={};i[t]=function(){return{next:function(){return{done:o=!0}}}},r(i)}catch(t){}return o}}!function(){if(vst)return gst;vst=1;var t=Mut(),e=function(){if(dst)return fst;dst=1;var t=aat(),e=unt(),r=Vot(),n=function(){if(rst)return est;rst=1;var t=sit(),e=yst();return est=function(r,n,o,i){try{return i?n(t(o)[0],o[1]):n(o)}catch(t){e(r,"throw",t)}}}(),o=bst(),i=Gut(),u=rut(),a=$ut(),s=wst(),c=Est(),l=Array;return fst=function(f){var d=r(f),p=i(this),h=arguments.length,v=h>1?arguments[1]:void 0,g=void 0!==v;g&&(v=t(v,h>2?arguments[2]:void 0));var y,m,b,E,w,S,C=c(d),D=0;if(!C||this===l&&o(C))for(y=u(d),m=p?new this(y):l(y);y>D;D++)S=g?v(d[D],D):d[D],a(m,D,S);else for(m=p?new this:[],w=(E=s(d,C)).next;!(b=e(w,E)).done;D++)S=g?n(E,v,[b.value,D],!0):b.value,a(m,D,S);return m.length=D,m},fst}();t({target:"Array",stat:!0,forced:!Sst()(function(t){Array.from(t)})},{from:e})}();var Cst,Dst,Ost,Ast,xst,Tst,Nst,kst,Pst,Bst,Ist,Fst={};function Rst(){if(Dst)return Cst;Dst=1;var t=sit();return Cst=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}function Lst(){if(Ast)return Ost;Ast=1;var t=nnt(),e=qrt().RegExp,r=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),n=r||t(function(){return!e("a","y").sticky}),o=r||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return Ost={BROKEN_CARET:o,MISSED_STICKY:n,UNSUPPORTED_Y:r}}function _st(){if(Bst)return Pst;Bst=1;var t,e,r=unt(),n=Jnt(),o=Gat(),i=Rst(),u=Lst(),a=Uot(),s=Iat(),c=Bit().get,l=function(){if(Tst)return xst;Tst=1;var t=nnt(),e=qrt().RegExp;return xst=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(kst)return Nst;kst=1;var t=nnt(),e=qrt().RegExp;return Nst=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=n("".charAt),g=n("".indexOf),y=n("".replace),m=n("".slice),b=(e=/b*/g,r(p,t=/a/,"a"),r(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,n,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=r(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=r(i,C),k=C.source,P=0,B=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),B=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(k="(?: "+k+")",B=" "+B,P++),n=new RegExp("^(?:"+k+")",N)),w&&(n=new RegExp("^"+k+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=r(p,T?n:C,B),T?a?(a.input=m(a.input,P),a[0]=m(a[0],P),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&r(d,a[0],n,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),Pst=h}function jst(){if(Ist)return Fst;Ist=1;var t=Mut(),e=_st();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),Fst}jst();var Mst,zst,Hst,$st,Ust,Vst,Gst,Wst,qst,Kst,Yst,Xst,Jst,Zst,Qst,tct,ect,rct,nct,oct,ict,uct,act,sct,cct,lct={};function fct(){if(zst)return Mst;zst=1;var t=Jnt(),e=Qit(),r=Gat(),n=eot(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=r(n(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return Mst={codeAt:a(!1),charAt:a(!0)}}function dct(){if(Vst)return Ust;Vst=1;var t=Got(),e=not(),r=Vot(),n=kit(),o=function(){if($st)return Hst;$st=1;var t=nnt();return Hst=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=n("IE_PROTO"),u=Object,a=u.prototype;return Ust=o?u.getPrototypeOf:function(n){var o=r(n);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function pct(){if(Wst)return Gst;Wst=1;var t,e,r,n=nnt(),o=not(),i=oot(),u=Iat(),a=dct(),s=Fit(),c=qot(),l=zot(),f=c("iterator"),d=!1;return[].keys&&("next"in(r=[].keys())?(e=a(a(r)))!==Object.prototype&&(t=e):d=!0),!i(t)||n(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),Gst={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function hct(){if(Kst)return qst;Kst=1;var t=cit().f,e=Got(),r=qot()("toStringTag");return qst=function(n,o,i){n&&!i&&(n=n.prototype),n&&!e(n,r)&&t(n,r,{configurable:!0,value:o})}}function vct(){if(rct)return ect;rct=1;var t=function(){if(tct)return Qst;tct=1;var t=oot();return Qst=function(e){return t(e)||null===e}}(),e=String,r=TypeError;return ect=function(n){if(t(n))return n;throw new r("Can't set "+e(n)+" as a prototype")}}function gct(){if(oct)return nct;oct=1;var t=function(){if(Zst)return Jst;Zst=1;var t=Jnt(),e=pot();return Jst=function(r,n,o){try{return t(e(Object.getOwnPropertyDescriptor(r,n)[o]))}catch(t){}}}(),e=oot(),r=eot(),n=vct();return nct=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return r(t),n(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function yct(){if(uct)return ict;uct=1;var t=Mut(),e=unt(),r=zot(),n=xit(),o=not(),i=function(){if(Xst)return Yst;Xst=1;var t=pct().IteratorPrototype,e=Iat(),r=Xnt(),n=hct(),o=mst(),i=function(){return this};return Yst=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:r(+!c,s)}),n(u,l,!1,!0),o[l]=i,u}}(),u=dct(),a=gct(),s=hct(),c=lit(),l=Fit(),f=qot(),d=mst(),p=pct(),h=n.PROPER,v=n.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return ict=function(n,f,p,C,D,O,A){i(p,f,C);var x,T,N,k=function(t){if(t===D&&R)return R;if(!y&&t&&t in I)return I[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},P=f+" Iterator",B=!1,I=n.prototype,F=I[m]||I["@@iterator"]||D&&I[D],R=!y&&F||k(D),L="Array"===f&&I.entries||F;if(L&&(x=u(L.call(new n)))!==Object.prototype&&x.next&&(r||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,P,!0,!0),r&&(d[P]=S)),h&&D===E&&F&&F.name!==E&&(!r&&v?c(I,"name",E):(B=!0,R=function(){return e(F,this)})),D)if(T={values:k(E),keys:O?R:k(b),entries:k(w)},A)for(N in T)(y||B||!(N in I))&&l(I,N,T[N]);else t({target:f,proto:!0,forced:y||B},T);return r&&!A||I[m]===R||l(I,m,R,{name:D}),d[f]=R,T}}function mct(){return sct?act:(sct=1,act=function(t,e){return{value:t,done:e}})}!function(){if(cct)return lct;cct=1;var t=fct().charAt,e=Gat(),r=Bit(),n=yct(),o=mct(),i="String Iterator",u=r.set,a=r.getterFor(i);n(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,r=a(this),n=r.string,i=r.index;return i>=n.length?o(void 0,!0):(e=t(n,i),r.index+=e.length,o(e,!1))})}();var bct,Ect,wct,Sct,Cct,Dct,Oct,Act={};function xct(){return Ect?bct:(Ect=1,bct={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})}function Tct(){if(Sct)return wct;Sct=1;var t=Xot()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return wct=e===Object.prototype?void 0:e}!function(){if(Oct)return Act;Oct=1;var t=qrt(),e=xct(),r=Tct(),n=function(){if(Dct)return Cct;Dct=1;var t=sat().forEach,e=Zut()("forEach");return Cct=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},Cct}(),o=lit(),i=function(t){if(t&&t.forEach!==n)try{o(t,"forEach",n)}catch(e){t.forEach=n}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(r)}();var Nct,kct,Pct,Bct,Ict,Fct,Rct,Lct={};function _ct(){return kct?Nct:(kct=1,Nct="\t\n\v\f\r \u2028\u2029\ufeff")}function jct(){if(Bct)return Pct;Bct=1;var t=Jnt(),e=eot(),r=Gat(),n=_ct(),o=t("".replace),i=RegExp("^["+n+"]+"),u=RegExp("(^|[^"+n+"])["+n+"]+$"),a=function(t){return function(n){var a=r(e(n));return 1&t&&(a=o(a,i,"")),2&t&&(a=o(a,u,"$1")),a}};return Pct={start:a(1),end:a(2),trim:a(3)}}!function(){if(Rct)return Lct;Rct=1;var t=Mut(),e=jct().trim,r=function(){if(Fct)return Ict;Fct=1;var t=xit().PROPER,e=nnt(),r=_ct();return Ict=function(n){return e(function(){return!!r[n]()||"
"!=="
"[n]()||t&&r[n].name!==n})}}();t({target:"String",proto:!0,forced:r("trim")},{trim:function(){return e(this)}})}();var Mct,zct,Hct,$ct,Uct={};function Vct(t){return t.length?t[0].tagName.toLowerCase():""}function Gct(t,e){for(var r="",n=(t.attr("style")||"").split(";"),o=n.length,i=0;i<o;i+=1){var u=n[i];if(u){var a=u.split(":");a[0].trim()===e&&(r=a[1].trim())}}return r}function Wct(){if($ct)return Hct;$ct=1;var t=rot(),e=Fat(),r=mst(),n=Bit(),o=cit().f,i=yct(),u=mct(),a=zot(),s=ont(),c="Array Iterator",l=n.set,f=n.getterFor(c);Hct=i(Array,"Array",function(e,r){l(this,{type:c,target:t(e),index:0,kind:r})},function(){var t=f(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(r,!1);case"values":return u(e[r],!1)}return u([r,e[r]],!1)},"values");var d=r.Arguments=r.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return Hct}zct||(zct=1,function(){if(Mct)return Uct;Mct=1;var t=Mut(),e=qrt();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}()),Ag&&og.fn&&(og.fn.append=Ag),pg&&og.fn&&(og.fn.on=pg),_g&&og.fn&&(og.fn.focus=_g),sg&&og.fn&&(og.fn.attr=sg),dg&&og.fn&&(og.fn.val=dg),Cg&&og.fn&&(og.fn.html=Cg),fg&&og.fn&&(og.fn.dataset=fg),ig&&og.fn&&(og.fn.addClass=ig),ug&&og.fn&&(og.fn.removeClass=ug),Pg&&og.fn&&(og.fn.children=Pg),wg&&og.fn&&(og.fn.each=wg),kg&&og.fn&&(og.fn.find=kg),lg&&og.fn&&(og.fn.data=lg),mg&&og.fn&&(og.fn.hide=mg),bg&&og.fn&&(og.fn.show=bg),Wct();var qct,Kct,Yct,Xct,Jct={};function Zct(){if(Kct)return qct;Kct=1;var t=nnt();return qct=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})}function Qct(){if(Xct)return Yct;Xct=1;var t=Fit();return Yct=function(e,r,n){for(var o in r)t(e,o,r[o],n);return e}}var tlt,elt,rlt,nlt,olt,ilt,ult,alt,slt,clt,llt,flt,dlt,plt,hlt,vlt,glt,ylt,mlt,blt,Elt={exports:{}},wlt={};function Slt(){if(elt)return tlt;elt=1;var t=Jnt();return tlt=t([].slice)}function Clt(){if(alt)return Elt.exports;alt=1;var t=Mut(),e=Jnt(),r=Pit(),n=oot(),o=Got(),i=cit().f,u=uut(),a=function(){if(rlt)return wlt;rlt=1;var t=Znt(),e=rot(),r=uut().f,n=Slt(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return wlt.f=function(i){return o&&"Window"===t(i)?function(t){try{return r(t)}catch(t){return n(o)}}(i):r(e(i))},wlt}(),s=function(){if(ult)return ilt;ult=1;var t=nnt(),e=oot(),r=Znt(),n=function(){if(olt)return nlt;olt=1;var t=nnt();return nlt=t(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})}(),o=Object.isExtensible,i=t(function(){});return ilt=i||n?function(t){return!!e(t)&&(!n||"ArrayBuffer"!==r(t))&&(!o||o(t))}:o}(),c=Wot(),l=Zct(),f=!1,d=c("meta"),p=0,h=function(t){i(t,d,{value:{objectID:"O"+p++,weakData:{}}})},v=Elt.exports={enable:function(){v.enable=function(){},f=!0;var r=u.f,n=e([].splice),o={};o[d]=1,r(o).length&&(u.f=function(t){for(var e=r(t),o=0,i=e.length;o<i;o++)if(e[o]===d){n(e,o,1);break}return e},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!n(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,d)){if(!s(t))return"F";if(!e)return"E";h(t)}return t[d].objectID},getWeakData:function(t,e){if(!o(t,d)){if(!s(t))return!0;if(!e)return!1;h(t)}return t[d].weakData},onFreeze:function(t){return l&&f&&s(t)&&!o(t,d)&&h(t),t}};return r[d]=!0,Elt.exports}function Dlt(){if(clt)return slt;clt=1;var t=aat(),e=unt(),r=sit(),n=dot(),o=bst(),i=rut(),u=uot(),a=wst(),s=Est(),c=yst(),l=TypeError,f=function(t,e){this.stopped=t,this.result=e},d=f.prototype;return slt=function(p,h,v){var g,y,m,b,E,w,S,C=v&&v.that,D=!(!v||!v.AS_ENTRIES),O=!(!v||!v.IS_RECORD),A=!(!v||!v.IS_ITERATOR),x=!(!v||!v.INTERRUPTED),T=t(h,C),N=function(t){return g&&c(g,"normal"),new f(!0,t)},k=function(t){return D?(r(t),x?T(t[0],t[1],N):T(t[0],t[1])):x?T(t,N):T(t)};if(O)g=p.iterator;else if(A)g=p;else{if(!(y=s(p)))throw new l(n(p)+" is not iterable");if(o(y)){for(m=0,b=i(p);b>m;m++)if((E=k(p[m]))&&u(d,E))return E;return new f(!1)}g=a(p,y)}for(w=O?p.next:g.next;!(S=e(w,g)).done;){try{E=k(S.value)}catch(t){c(g,"throw",t)}if("object"==typeof E&&E&&u(d,E))return E}return new f(!1)}}function Olt(){if(flt)return llt;flt=1;var t=uot(),e=TypeError;return llt=function(r,n){if(t(n,r))return r;throw new e("Incorrect invocation")}}function Alt(){if(plt)return dlt;plt=1;var t=not(),e=oot(),r=gct();return dlt=function(n,o,i){var u,a;return r&&t(u=o.constructor)&&u!==i&&e(a=u.prototype)&&a!==i.prototype&&r(n,a),n}}function xlt(){if(vlt)return hlt;vlt=1;var t=Mut(),e=qrt(),r=Jnt(),n=jut(),o=Fit(),i=Clt(),u=Dlt(),a=Olt(),s=not(),c=tot(),l=oot(),f=nnt(),d=Sst(),p=hct(),h=Alt();return hlt=function(v,g,y){var m=-1!==v.indexOf("Map"),b=-1!==v.indexOf("Weak"),E=m?"set":"add",w=e[v],S=w&&w.prototype,C=w,D={},O=function(t){var e=r(S[t]);o(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!l(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(n(v,!s(w)||!(b||S.forEach&&!f(function(){(new w).entries().next()}))))C=y.getConstructor(g,v,m,E),i.enable();else if(n(v,!0)){var A=new C,x=A[E](b?{}:-0,1)!==A,T=f(function(){A.has(1)}),N=d(function(t){new w(t)}),k=!b&&f(function(){for(var t=new w,e=5;e--;)t[E](e,e);return!t.has(-0)});N||((C=g(function(t,e){a(t,S);var r=h(new w,t,C);return c(e)||u(e,r[E],{that:r,AS_ENTRIES:m}),r})).prototype=S,S.constructor=C),(T||k)&&(O("delete"),O("has"),m&&O("get")),(k||x)&&O(E),b&&S.clear&&delete S.clear}return D[v]=C,t({global:!0,constructor:!0,forced:C!==w},D),p(C,v),b||y.setStrong(C,v,m),C}}function Tlt(){if(ylt)return glt;ylt=1;var t=Jnt(),e=Qct(),r=Clt().getWeakData,n=Olt(),o=sit(),i=tot(),u=oot(),a=Dlt(),s=sat(),c=Got(),l=Bit(),f=l.set,d=l.getterFor,p=s.find,h=s.findIndex,v=t([].splice),g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return p(t.entries,function(t){return t[0]===e})};return m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var r=b(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,function(e){return e[0]===t});return~e&&v(this.entries,e,1),!!~e}},glt={getConstructor:function(t,s,l,p){var h=t(function(t,e){n(t,v),f(t,{type:s,id:g++,frozen:null}),i(e)||a(e,t[p],{that:t,AS_ENTRIES:l})}),v=h.prototype,m=d(s),b=function(t,e,n){var i=m(t),u=r(o(e),!0);return!0===u?y(i).set(e,n):u[i.id]=n,t};return e(v,{delete:function(t){var e=m(this);if(!u(t))return!1;var n=r(t);return!0===n?y(e).delete(t):n&&c(n,e.id)&&delete n[e.id]},has:function(t){var e=m(this);if(!u(t))return!1;var n=r(t);return!0===n?y(e).has(t):n&&c(n,e.id)}}),e(v,l?{get:function(t){var e=m(this);if(u(t)){var n=r(t);if(!0===n)return y(e).get(t);if(n)return n[e.id]}},set:function(t,e){return b(this,t,e)}}:{add:function(t){return b(this,t,!0)}}),h}},glt}blt||(blt=1,function(){if(mlt)return Jct;mlt=1;var t,e=Zct(),r=qrt(),n=Jnt(),o=Qct(),i=Clt(),u=xlt(),a=Tlt(),s=oot(),c=Bit().enforce,l=nnt(),f=Nit(),d=Object,p=Array.isArray,h=d.isExtensible,v=d.isFrozen,g=d.isSealed,y=d.freeze,m=d.seal,b=!r.ActiveXObject&&"ActiveXObject"in r,E=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},w=u("WeakMap",E,a),S=w.prototype,C=n(S.set);if(f)if(b){t=a.getConstructor(E,"WeakMap",!0),i.enable();var D=n(S.delete),O=n(S.has),A=n(S.get);o(S,{delete:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),D(this,e)||r.frozen.delete(e)}return D(this,e)},has:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),O(this,e)||r.frozen.has(e)}return O(this,e)},get:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),O(this,e)?A(this,e):r.frozen.get(e)}return A(this,e)},set:function(e,r){if(s(e)&&!h(e)){var n=c(this);n.frozen||(n.frozen=new t),O(this,e)?C(this,e,r):n.frozen.set(e,r)}else C(this,e,r);return this}})}else e&&l(function(){var t=y([]);return C(new w,t,1),!v(t)})&&o(S,{set:function(t,e){var r;return p(t)&&(v(t)?r=y:g(t)&&(r=m)),C(this,t,e),r&&r(t),this}})}());var Nlt,klt={};!function(){if(Nlt)return klt;Nlt=1;var t=qrt(),e=xct(),r=Tct(),n=Wct(),o=lit(),i=hct(),u=qot()("iterator"),a=n.values,s=function(t,r){if(t){if(t[u]!==a)try{o(t,u,a)}catch(e){t[u]=a}if(i(t,r,!0),e[r])for(var s in n)if(t[s]!==n[s])try{o(t,s,n[s])}catch(e){t[s]=n[s]}}};for(var c in e)s(t[c]&&t[c].prototype,c);s(r,"DOMTokenList")}();var Plt,Blt,Ilt,Flt,Rlt,Llt,_lt,jlt,Mlt,zlt,Hlt,$lt=new WeakMap,Ult=new WeakMap,Vlt=function(){function t(){this.title=RF("tableModule.tableProperty"),this.iconSvg='<svg viewBox="0 0 20 20"><path d="M8 2v5h4V2h1v5h5v1h-5v4h.021l-.172.351-1.916.28-.151.027c-.287.063-.54.182-.755.341L8 13v5H7v-5H2v-1h5V8H2V7h5V2h1zm4 6H8v4h4V8z" opacity=".6"/><path d="m15.5 11.5 1.323 2.68 2.957.43-2.14 2.085.505 2.946L15.5 18.25l-2.645 1.39.505-2.945-2.14-2.086 2.957-.43L15.5 11.5zM17 1a2 2 0 0 1 2 2v9.475l-.85-.124-.857-1.736a2.048 2.048 0 0 0-.292-.44L17 3H3v14h7.808l.402.392L10.935 19H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h14z"/></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.menu="table",this.borderStyle=[{value:"none",label:RF("tableModule.borderStyle.none")},{value:"solid",label:RF("tableModule.borderStyle.solid")},{value:"dotted",label:RF("tableModule.borderStyle.dotted")},{value:"dashed",label:RF("tableModule.borderStyle.dashed")},{value:"double",label:RF("tableModule.borderStyle.double")},{value:"groove",label:RF("tableModule.borderStyle.groove")},{value:"ridge",label:RF("tableModule.borderStyle.ridge")},{value:"inset",label:RF("tableModule.borderStyle.inset")},{value:"outset",label:RF("tableModule.borderStyle.outset")}],this.textAlignOptions=[{value:"left",label:RF("justify.left"),svg:'<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>'},{value:"center",label:RF("justify.center"),svg:'<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>'},{value:"right",label:RF("justify.right"),svg:'<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>'},{value:"justify",label:RF("justify.justify"),svg:'<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>'}]}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==SB.getSelectedNodeByType(t,"table")},t.prototype.exec=function(t,e){},t.prototype.getModalContentNode=function(t){return yat(Kh.nodes(t,{match:qat(t,"table")}),1)[0]},t.prototype.getModalPositionNode=function(t){return null},t.prototype.getModalContentElem=function(t){var e=this,r=this.getModalContentNode(t);if(!r)return null;var n=yat(r,2),o=n[0],i=n[1],u=og('<div>\n <label class="babel-container">\n <span>'.concat(RF("tableModule.modal.border"),'</span>\n <span class="babel-container-border">\n <select name="borderStyle">\n ').concat(this.borderStyle.map(function(t){return'<option value="'.concat(t.value,'">').concat(t.label,"</option>")}).join(""),'\n </select>\n <span class="color-group" data-mark="color">\n <span class="color-group-block"></span>\n <input name="borderColor" type="hidden">\n </span>\n <input name="borderWidth" type="number" placeholder="').concat(RF("tableModule.modal.borderWidth"),'">\n </span>\n </label>\n <div class="babel-container">\n <span>').concat(RF("tableModule.modal.bgColor"),'</span>\n <span class="babel-container-background">\n <span class="color-group" data-mark="bgColor">\n <span class="color-group-block"></span>\n <input name="backgroundColor" type="hidden">\n </span>\n </span>\n </div>\n <label class="babel-container">\n <span>').concat(RF("tableModule.modal.align"),'</span>\n <span class="babel-container-align">\n <select name="textAlign">\n ').concat(this.textAlignOptions.map(function(t){return'<option value="'.concat(t.value,'">').concat(t.label,"</option>")}).join(""),'\n </select>\n </span>\n </label>\n <div class="button-container">\n <button type="button">').concat(RF("tableModule.modal.ok"),"</button>\n </div>\n </div>"));u.find("[name]").each(function(t){og(t).val(o[og(t).attr("name")])});var a=function(t,e){e?og(".color-group-block",t).css("background-color",e).empty():og(".color-group-block",t).css("background-color","").html(Nat)};return u.find(".color-group").each(function(r){var n=og('[type="hidden"]',r).val()||"";a(r,n);var o=og(r);o.on("click",function(){u.find(".color-group .w-e-drop-panel").hide();var i=o.data("panel");i?i.show():(i=e.getPanelContentElem(t,{mark:o.data("mark"),selectedColor:n,callback:function(t){og('[type="hidden"]',r).val(t||""),a(r,t),i.hide()}}),o.append(i),o.data("panel",i))})}),u.find("button").on("click",function(){var r=Array.from(u.find("[name]")).reduce(function(t,e){return t[og(e).attr("name")]=og(e).val(),t},{}),n=$lt.get(t);"cell"===e.menu&&(null==n?void 0:n.length)?n.forEach(function(e){e.forEach(function(e){zv.setNodes(t,r,{at:e[0][1]})})}):zv.setNodes(t,r,{at:i}),setTimeout(function(){t.focus()})}),u[0]},t.prototype.getPanelContentElem=function(t,e){var r=e.mark,n=e.selectedColor,o=e.callback,i=og('<ul class="w-e-panel-content-color"></ul>');i.on("click","li",function(t){var e=t.target;if(e){t.preventDefault(),t.stopPropagation();var r=og(e).attr("data-value");o(r)}});var u=t.getMenuConfig(r).colors;(void 0===u?[]:u).forEach(function(t){var e=og('<div class="color-block" data-value="'.concat(t,'"></div>'));e.css("background-color",t);var r=og('<li data-value="'.concat(t,'"></li>'));n===t&&r.addClass("active"),r.append(e),i.append(r)});var a="";"color"===r&&(a=RF("tableModule.color.default")),"bgColor"===r&&(a=RF("tableModule.color.clear"));var s=og('\n <li data-value="" class="clear">\n '.concat(Nat,"\n ").concat(a,"\n </li>\n "));i.prepend(s);var c=og('<div class="w-e-drop-panel"></div>');return c.append(i),c},t}(),Glt=function(t){function e(){var e=t.apply(this,mat([],yat(arguments),!1))||this;return e.title=RF("tableModule.cellProperty"),e.iconSvg='<svg viewBox="0 0 20 20"><path d="m11.105 18-.17 1H2.5A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1h15A1.5 1.5 0 0 1 19 2.5v9.975l-.85-.124-.15-.302V8h-5v4h.021l-.172.351-1.916.28-.151.027c-.287.063-.54.182-.755.341L8 13v5h3.105zM2 12h5V8H2v4zm10-4H8v4h4V8zM2 2v5h5V2H2zm0 16h5v-5H2v5zM13 7h5V2h-5v5zM8 2v5h4V2H8z" opacity=".6"/><path d="m15.5 11.5 1.323 2.68 2.957.43-2.14 2.085.505 2.946L15.5 18.25l-2.645 1.39.505-2.945-2.14-2.086 2.957-.43L15.5 11.5zM13 6a1 1 0 0 1 1 1v3.172a2.047 2.047 0 0 0-.293.443l-.858 1.736-1.916.28-.151.027A1.976 1.976 0 0 0 9.315 14H7a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm-1 2H8v4h4V8z"/></svg>',e.tag="button",e.showModal=!0,e.modalWidth=300,e.menu="cell",e}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}pat(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}(e,t),e.prototype.getModalContentNode=function(t){return yat(Kh.nodes(t,{match:qat(t,"td")}),1)[0]},e}(Vlt),Wlt={};function qlt(){if(Blt)return Plt;Blt=1;var t=dot(),e=TypeError;return Plt=function(r,n){if(!delete r[n])throw new e("Cannot delete property "+t(n)+" of "+t(r))}}!function(){if(Hlt)return Wlt;Hlt=1;var t=Mut(),e=Jnt(),r=pot(),n=Vot(),o=rut(),i=qlt(),u=Gat(),a=nnt(),s=function(){if(Flt)return Ilt;Flt=1;var t=Slt(),e=Math.floor,r=function(n,o){var i=n.length;if(i<8)for(var u,a,s=1;s<i;){for(a=s,u=n[s];a&&o(n[a-1],u)>0;)n[a]=n[--a];a!==s++&&(n[a]=u)}else for(var c=e(i/2),l=r(t(n,0,c),o),f=r(t(n,c),o),d=l.length,p=f.length,h=0,v=0;h<d||v<p;)n[h+v]=h<d&&v<p?o(l[h],f[v])<=0?l[h++]:f[v++]:h<d?l[h++]:f[v++];return n};return Ilt=r}(),c=Zut(),l=function(){if(Llt)return Rlt;Llt=1;var t=aot().match(/firefox\/(\d+)/i);return Rlt=!!t&&+t[1]}(),f=function(){if(jlt)return _lt;jlt=1;var t=aot();return _lt=/MSIE|Trident/.test(t)}(),d=sot(),p=function(){if(zlt)return Mlt;zlt=1;var t=aot().match(/AppleWebKit\/(\d+)\./);return Mlt=!!t&&+t[1]}(),h=[],v=e(h.sort),g=e(h.push),y=a(function(){h.sort(void 0)}),m=a(function(){h.sort(null)}),b=c("sort"),E=!a(function(){if(d)return d<70;if(!(l&&l>3)){if(f)return!0;if(p)return p<603;var t,e,r,n,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)h.push({k:e+n,v:r})}for(h.sort(function(t,e){return e.v-t.v}),n=0;n<h.length;n++)e=h[n].k.charAt(0),o.charAt(o.length-1)!==e&&(o+=e);return"DGBEFHACIJK"!==o}});t({target:"Array",proto:!0,forced:y||!m||!b||!E},{sort:function(t){void 0!==t&&r(t);var e=n(this);if(E)return void 0===t?v(e):v(e,t);var a,c,l=[],f=o(e);for(c=0;c<f;c++)c in e&&g(l,e[c]);for(s(l,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:u(e)>u(r)?1:-1}}(t)),a=o(l),c=0;c<a;)e[c]=l[c++];for(;c<f;)i(e,c++);return e}})}();var Klt,Ylt,Xlt,Jlt={};!function(){if(Xlt)return Jlt;Xlt=1;var t=Mut(),e=Vot(),r=tut(),n=Qit(),o=rut(),i=function(){if(Ylt)return Klt;Ylt=1;var t=ont(),e=zut(),r=TypeError,n=Object.getOwnPropertyDescriptor,o=t&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();return Klt=o?function(t,o){if(e(t)&&!n(t,"length").writable)throw new r("Cannot set read only .length");return t.length=o}:function(t,e){return t.length=e}}(),u=Hut(),a=Wut(),s=$ut(),c=qlt(),l=qut()("splice"),f=Math.max,d=Math.min;t({target:"Array",proto:!0,forced:!l},{splice:function(t,l){var p,h,v,g,y,m,b=e(this),E=o(b),w=r(t,E),S=arguments.length;for(0===S?p=h=0:1===S?(p=0,h=E-w):(p=S-2,h=d(f(n(l),0),E-w)),u(E+p-h),v=a(b,h),g=0;g<h;g++)(y=w+g)in b&&s(v,g,b[y]);if(v.length=h,p<h){for(g=w;g<E-h;g++)m=g+p,(y=g+h)in b?b[m]=b[y]:c(b,m);for(g=E;g>E-h+p;g--)c(b,g-1)}else if(p>h)for(g=E-h;g>w;g--)m=g+p-1,(y=g+h-1)in b?b[m]=b[y]:c(b,m);for(g=0;g<p;g++)b[g+w]=arguments[g+2];return i(b,E-h+p),v}})}();var Zlt,Qlt,tft,eft,rft,nft,oft,ift,uft,aft,sft,cft,lft,fft={};function dft(){if(oft)return nft;oft=1;var t=Iit(),e=cit();return nft=function(r,n,o){return o.get&&t(o.get,n,{getter:!0}),o.set&&t(o.set,n,{setter:!0}),e.f(r,n,o)}}function pft(){if(sft)return aft;sft=1;var t=Iat(),e=dft(),r=Qct(),n=aat(),o=Olt(),i=tot(),u=Dlt(),a=yct(),s=mct(),c=function(){if(uft)return ift;uft=1;var t=iot(),e=dft(),r=qot(),n=ont(),o=r("species");return ift=function(r){var i=t(r);n&&i&&!i[o]&&e(i,o,{configurable:!0,get:function(){return this}})}}(),l=ont(),f=Clt().fastKey,d=Bit(),p=d.set,h=d.getterFor;return aft={getConstructor:function(a,s,c,d){var v=a(function(e,r){o(e,g),p(e,{type:s,index:t(null),first:null,last:null,size:0}),l||(e.size=0),i(r)||u(r,e[d],{that:e,AS_ENTRIES:c})}),g=v.prototype,y=h(s),m=function(t,e,r){var n,o,i=y(t),u=b(t,e);return u?u.value=r:(i.last=u={index:o=f(e,!0),key:e,value:r,previous:n=i.last,next:null,removed:!1},i.first||(i.first=u),n&&(n.next=u),l?i.size++:t.size++,"F"!==o&&(i.index[o]=u)),t},b=function(t,e){var r,n=y(t),o=f(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key===e)return r};return r(g,{clear:function(){for(var e=y(this),r=e.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=null),r=r.next;e.first=e.last=null,e.index=t(null),l?e.size=0:this.size=0},delete:function(t){var e=this,r=y(e),n=b(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first===n&&(r.first=o),r.last===n&&(r.last=i),l?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=y(this),o=n(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(o(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!b(this,t)}}),r(g,c?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),l&&e(g,"size",{configurable:!0,get:function(){return y(this).size}}),v},setStrong:function(t,e,r){var n=e+" Iterator",o=h(e),i=h(n);a(t,e,function(t,e){p(this,{type:n,target:t,state:o(t),kind:e,last:null})},function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?s("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=null,s(void 0,!0))},r?"entries":"values",!r,!0),c(e)}},aft}!function(){if(rft)return fft;rft=1;var t=Mut(),e=zot(),r=ont(),n=qrt(),o=function(){if(Qlt)return Zlt;Qlt=1;var t=qrt();return Zlt=t}(),i=Jnt(),u=jut(),a=Got(),s=Alt(),c=uot(),l=fot(),f=Kot(),d=nnt(),p=uut().f,h=Zot().f,v=cit().f,g=function(){if(eft)return tft;eft=1;var t=Jnt();return tft=t(1.1.valueOf)}(),y=jct().trim,m="Number",b=n[m],E=o[m],w=b.prototype,S=n.TypeError,C=i("".slice),D=i("".charCodeAt),O=u(m,!b(" 0o1")||!b("0b1")||b("+0x1")),A=function(t){var e,r=arguments.length<1?0:b(function(t){var e=f(t,"number");return"bigint"==typeof e?e:function(t){var e,r,n,o,i,u,a,s,c=f(t,"number");if(l(c))throw new S("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=y(c),43===(e=D(c,0))||45===e){if(88===(r=D(c,2))||120===r)return NaN}else if(48===e){switch(D(c,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(u=(i=C(c,2)).length,a=0;a<u;a++)if((s=D(i,a))<48||s>o)return NaN;return parseInt(i,n)}return+c}(e)}(t));return c(w,e=this)&&d(function(){g(e)})?s(Object(r),this,A):r};A.prototype=w,O&&!e&&(w.constructor=A),t({global:!0,constructor:!0,wrap:!0,forced:O},{Number:A});var x=function(t,e){for(var n,o=r?p(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;o.length>i;i++)a(e,n=o[i])&&!a(t,n)&&v(t,n,h(e,n))};e&&E&&x(o[m],E),(O||e)&&x(o[m],b)}(),lft||(lft=1,cft||(cft=1,xlt()("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},pft())));var hft=function(){function t(){this.title=RF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!dv.isCollapsed(e)||null==SB.getSelectedNodeByType(t,"table-cell")},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var r=yat(Kh.nodes(t,{match:function(t){return SB.checkNodeType(t,"table-cell")},universal:!0}),1),n=yat(r[0],2),o=n[0],i=n[1],u=SB.getParentNode(t,o),a=(null==u?void 0:u.children.length)||0;if(!u||a<=1)zv.removeNodes(t,{mode:"highest"});else if(null!=SB.getParentNode(t,u)){var s=Yat(t),c=0;t:for(var l=0;l<s.length;l+=1)for(var f=0;f<s[l].length;f+=1){var d=yat(s[l][f],1),p=yat(d[0],2)[1];if(ov.equals(i,p)){c=f;break t}}Kh.withoutNormalizing(t,function(){for(var e,r,n=new Set,o=new Set,i=0;i<s.length;i+=1)if(s[i]&&s[i][c]){var u=yat(s[i][c],2),a=yat(u[0],2)[1],l=u[1],f=l.rtl,d=l.ltr,p=l.ttb,h=l.btt,v=a.join(",");if(f>1||d>1||p>1||h>1){var g=i-(p-1),y=c-(f-1);if(g<0||g>=s.length||!s[g]||!s[g][y])continue;var m=yat(s[g][y],1),b=yat(m[0],2),E=b[0],w=b[1],S=w.join(",");if(!o.has(S)){o.add(S);var C=E.rowSpan,D=void 0===C?1:C,O=E.colSpan,A=void 0===O?1:O,x=Math.max(A-1,1);zv.setNodes(t,{rowSpan:D,colSpan:x},{at:w})}}else n.add(v)}var T=Array.from(n);T.sort(function(t,e){var r=t.split(",").map(Number),n=e.split(",").map(Number);return r[r.length-2]!==n[n.length-2]?n[n.length-2]-r[r.length-2]:n[n.length-1]-r[r.length-1]});try{for(var N=gat(T),k=N.next();!k.done;k=N.next()){var P=k.value.split(",").map(Number);try{Kh.hasPath(t,P)&&zv.removeNodes(t,{at:P})}catch(t){console.warn("删除单元格失败:",P,t)}}}catch(t){e={error:t}}finally{try{k&&!k.done&&(r=N.return)&&r.call(N)}finally{if(e)throw e.error}}var B=yat(Kh.nodes(t,{match:function(t){return SB.checkNodeType(t,"table")},universal:!0}),1)[0];if(B){var I=yat(B,2),F=I[0],R=I[1],L=F.columnWidths,_=mat([],yat(void 0===L?[]:L),!1);_.splice(c,1),zv.setNodes(t,{columnWidths:_},{at:R})}})}}},t}(),vft=function(){function t(){this.title=RF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!dv.isCollapsed(e)||null==SB.getSelectedNodeByType(t,"table-row")},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var r=yat(Kh.nodes(t,{match:function(t){return SB.checkNodeType(t,"table-row")},universal:!0}),1),n=yat(r[0],2),o=n[0],i=n[1],u=SB.getParentNode(t,o);if(((null==u?void 0:u.children.length)||0)<=1)zv.removeNodes(t,{mode:"highest"});else{var a=yat(Kh.nodes(t,{match:function(t){return SB.checkNodeType(t,"table-cell")},universal:!0}),1),s=yat(a[0],2)[1],c=Yat(t),l=0;t:for(var f=0;f<c.length;f+=1)for(var d=0;d<c[f].length;d+=1){var p=yat(c[f][d],1),h=yat(p[0],2)[1];if(ov.equals(s,h)){l=f;break t}}Kh.withoutNormalizing(t,function(){for(var e,r,n=[],o=0;o<c[l].length;o+=1){var u=yat(c[l][o],2),a=yat(u[0],1)[0].hidden,s=u[1],f=s.ttb,d=s.btt,p=s.rtl;if(f>1||d>1){var h=l-(f-1);if(h<0||h>=c.length||!c[h]||!c[h][o])continue;var v=yat(c[h][o],1),g=yat(v[0],2),y=g[0],m=g[1],b=y,E=b.rowSpan,w=void 0===E?1:E,S=b.colSpan,C=void 0===S?1:S;if(a)zv.setNodes(t,{rowSpan:Math.max(w-1,1),colSpan:C},{at:m});else if(1===f&&1===p)if(l+1<c.length&&w>1){var D={type:"table-cell",rowSpan:w-1,colSpan:C,hidden:!1,children:b.children.map(function(t){return hat({},t)})};b.isHeader&&(D.isHeader=b.isHeader),b.width&&(D.width=b.width),b.backgroundColor&&(D.backgroundColor=b.backgroundColor),b.borderWidth&&(D.borderWidth=b.borderWidth),b.borderStyle&&(D.borderStyle=b.borderStyle),b.borderColor&&(D.borderColor=b.borderColor),b.textAlign&&(D.textAlign=b.textAlign),n.push({cell:D,columnIndex:o})}else zv.setNodes(t,{rowSpan:Math.max(w-1,1),colSpan:C},{at:m});else zv.setNodes(t,{rowSpan:Math.max(w-1,1),colSpan:C},{at:m})}}if(zv.removeNodes(t,{at:i}),n.length>0){var O=i;try{n.sort(function(t,e){return t.columnIndex-e.columnIndex});try{for(var A=gat(n),x=A.next();!x.done;x=A.next()){var T=x.value,N=T.cell,k=T.columnIndex;try{var P=mat(mat([],yat(O),!1),[k],!1);zv.insertNodes(t,N,{at:P})}catch(e){try{var B=yat(Kh.node(t,O),1)[0].children.length,I=mat(mat([],yat(O),!1),[B],!1);zv.insertNodes(t,N,{at:I})}catch(t){console.warn("插入新单元格失败:",t)}}}}catch(t){e={error:t}}finally{try{x&&!x.done&&(r=A.return)&&r.call(A)}finally{if(e)throw e.error}}}catch(t){console.warn("插入新单元格失败:",t)}}})}}},t}(),gft=function(){function t(){this.title=RF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||null==SB.getSelectedNodeByType(t,"table")},t.prototype.exec=function(t,e){this.isDisabled(t)||zv.removeNodes(t,{mode:"highest"})},t}(),yft=function(){function t(){this.title=RF("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(t){var e=SB.getSelectedNodeByType(t,"table");return!!e&&("100%"===e.width||"auto"===e.width)},t.prototype.isActive=function(t){return!!this.getValue(t)},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!dv.isCollapsed(e)||null==SB.getSelectedNodeByType(t,"table")},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var r={width:e?"auto":"100%"};zv.setNodes(t,r,{mode:"highest"})}},t}();function mft(t){var e=t.children||[];return 0===e.length?[]:(e[0]||{}).children||[]}function bft(t){return mft(t).every(function(t){return!!t.isHeader})}var Eft,wft,Sft,Cft=function(){function t(){this.title=RF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=t.selection;if(null==e)return!0;if(!dv.isCollapsed(e))return!0;var r=SB.getSelectedNodeByType(t,"table");if(null==r)return!0;try{var n=yat(Kh.nodes(t,{match:function(t){return SB.checkNodeType(t,"table-cell")},universal:!0}),1)[0];if(!n)return!0;for(var o=yat(n,2)[1],i=Yat(t),u=-1,a=0;a<i.length;a+=1){for(var s=0;s<i[a].length;s+=1){var c=yat(i[a][s],1),l=yat(c[0],2)[1];if(ov.equals(o,l)){u=s;break}}if(-1!==u)break}if(-1===u)return!0;var f=r.columnWidths,d=(void 0===f?[]:f)[u];if(d&&d<20)return!0}catch(t){return!0}return!1},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var r=yat(Kh.nodes(t,{match:function(t){return SB.checkNodeType(t,"table-cell")},universal:!0}),1),n=yat(r[0],2),o=n[0],i=n[1],u=SB.getParentNode(t,o);if(null!=u){var a=SB.getParentNode(t,u);if(null!=a){for(var s=Yat(t),c=0,l=0;l<s.length;l+=1)for(var f=0;f<s[l].length;f+=1){var d=yat(s[l][f],1),p=yat(d[0],2)[1];if(ov.equals(i,p)){c=f;break}}Kh.withoutNormalizing(t,function(){for(var e=new Set,r=new Set,n=0;n<s.length;n+=1)if(s[n]&&s[n][c]){var o=yat(s[n][c],2);yat(o[0],1);var i=o[1],u=i.rtl,l=i.ltr,f=i.ttb,d=i.btt;if(u>1||l>1||f>1||d>1){var p=n-(f-1),h=c-(u-1);if(p<0||p>=s.length||!s[p]||!s[p][h])continue;var v=yat(s[p][h],1),g=yat(v[0],2),y=g[0],m=g[1],b=m.join(",");if(e.has(b))r.add(n);else{e.add(b);var E=y.rowSpan,w=void 0===E?1:E,S=y.colSpan,C=(void 0===S?1:S)+1;y.hidden||zv.setNodes(t,{colSpan:C},{at:m});for(var D=0;D<w;D+=1)r.add(p+D)}}}for(n=0;n<s.length;n+=1)if(!r.has(n)&&s[n]&&s[n][c]){var O={type:"table-cell",children:[{text:""}]};0===n&&bft(a)&&(O.isHeader=!0);var A=yat(s[n][c],1),x=yat(A[0],2)[1];zv.insertNodes(t,O,{at:x})}var T=yat(Kh.nodes(t,{match:function(t){return SB.checkNodeType(t,"table")},universal:!0}),1)[0];if(T){var N=yat(T,2),k=N[0],P=N[1],B=k.columnWidths,I=void 0===B?[]:B,F=mat([],yat(I),!1),R=t.getMenuConfig("insertTable").minWidth,L=void 0===R?60:R,_=I[c]||parseInt(L,10)||60,j=Math.floor(_/2),M=_-j;F.splice(c,0,j),F[c+1]=M,zv.setNodes(t,{columnWidths:F},{at:P})}})}}}},t}(),Dft=function(){function t(){this.title=RF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!dv.isCollapsed(e)||null==SB.getSelectedNodeByType(t,"table")},t.prototype.exec=function(t,e){var r;if(!this.isDisabled(t)){var n=yat(Kh.nodes(t,{match:function(t){return SB.checkNodeType(t,"table-cell")},universal:!0}),1),o=yat(n[0],2)[1],i=Yat(t),u=0;t:for(var a=0;a<i.length;a+=1)for(var s=0;s<i[a].length;s+=1){var c=yat(i[a][s],1),l=yat(c[0],2)[1];if(ov.equals(o,l)){u=a;break t}}var f=(null===(r=i[u])||void 0===r?void 0:r.length)||0;0!==f&&Kh.withoutNormalizing(t,function(){for(var e=u+1,r=e>=0&&e<i.length,n=[],a=0;r&&a<i[u].length;a+=1){var s=yat(i[u][a],2)[1],c=s.ttb,l=s.btt;if(c>1||l>1){var d=u-(c-1);if(d<0||d>=i.length||!i[d]||!i[d][a])continue;var p=yat(i[d][a],1),h=yat(p[0],2),v=h[0],g=h[1],y=v.rowSpan||1;n.push(a),v.hidden||zv.setNodes(t,{rowSpan:y+1},{at:g})}}for(var m={type:"table-row",children:[]},b=0;b<f;b+=1)n.includes(b)||m.children.push({type:"table-cell",children:[{text:""}]});var E=ov.parent(o),w=ov.next(E);zv.insertNodes(t,m,{at:w})})}},t}(),Oft={};!function(){if(Sft)return Oft;Sft=1;var t=Mut(),e=function(){if(wft)return Eft;wft=1;var t=Vot(),e=tut(),r=rut();return Eft=function(n){for(var o=t(this),i=r(o),u=arguments.length,a=e(u>1?arguments[1]:void 0,i),s=u>2?arguments[2]:void 0,c=void 0===s?i:e(s,i);c>a;)o[a++]=n;return o},Eft}(),r=Fat();t({target:"Array",proto:!0},{fill:e}),r("fill")}();var Aft,xft,Tft,Nft,kft,Pft={};function Bft(){if(Nft)return Tft;Nft=1;var t=unt(),e=Got(),r=uot(),n=function(){if(xft)return Aft;xft=1;var t=qrt(),e=nnt(),r=t.RegExp,n=!e(function(){var t=!0;try{r(".","d")}catch(e){t=!1}var e={},n="",o=t?"dgimsy":"gimsy",i=function(t,r){Object.defineProperty(e,t,{get:function(){return n+=r,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(e)!==o||n!==o});return Aft={correct:n}}(),o=Rst(),i=RegExp.prototype;return Tft=n.correct?function(t){return t.flags}:function(u){return n.correct||!r(i,u)||e(u,"flags")?u.flags:t(o,u)}}!function(){if(kft)return Pft;kft=1;var t=xit().PROPER,e=Fit(),r=sit(),n=Gat(),o=nnt(),i=Bft(),u="toString",a=RegExp.prototype,s=a[u],c=o(function(){return"/a/b"!==s.call({source:"a",flags:"b"})}),l=t&&s.name!==u;(c||l)&&e(a,u,function(){var t=r(this);return"/"+n(t.source)+"/"+n(i(t))},{unsafe:!0})}();var Ift,Fft,Rft=function(){function t(){this.title=RF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!dv.isCollapsed(e)||!!SB.getSelectedElems(t).some(function(e){var r=SB.getNodeType(e);return"pre"===r||"table"===r||"list-item"===r||!!t.isVoid(e)})},t.prototype.getPanelContentElem=function(t){var e=this;if(this.$content)return this.$content[0];for(var r=og('<div class="w-e-panel-content-table"></div>'),n=og("<span>0 × 0</span>"),o=og("<table></table>"),i=0;i<10;i+=1){for(var u=og("<tr></tr>"),a=0;a<10;a+=1){var s=og("<td></td>");s.attr("data-x",a.toString()),s.attr("data-y",i.toString()),u.append(s),s.on("mouseenter",function(t){var e=t.target;if(null!=e){var r=og(e).dataset(),i=r.x,u=r.y;n[0].innerHTML="".concat(i+1," × ").concat(u+1),o.children().each(function(t){og(t).children().each(function(t){var e=og(t),r=e.dataset(),n=r.x,o=r.y;n<=i&&o<=u?e.addClass("active"):e.removeClass("active")})})}}),s.on("click",function(r){r.preventDefault();var n=r.target;if(null!=n){var o=og(n).dataset(),i=o.x,u=o.y;e.insertTable(t,u+1,i+1)}})}o.append(u)}return r.append(o),r.append(n),this.$content=r,r[0]},t.prototype.insertTable=function(t,e,r){var n=parseInt(e,10),o=parseInt(r,10);if(n&&o&&!(n<=0||o<=0)){SB.isSelectedEmptyParagraph(t)&&zv.removeNodes(t,{mode:"highest"}),0===t.children.length&&zv.insertNodes(t,{type:"paragraph",children:[{text:""}]},{mode:"highest"});var i=function(t,e,r){for(var n,o=[],i=t.getMenuConfig("insertTable"),u=i.minWidth,a=void 0===u?60:u,s=i.tableFullWidth,c=i.tableHeader,l=Array(r).fill(parseInt(a,10)||60),f=0;f<e;f+=1){for(var d=[],p=0;p<r;p+=1){var h={type:"table-cell",children:[{text:""}]};0===f&&(h.isHeader=null===(n=null==c?void 0:c.selected)||void 0===n||n),d.push(h)}o.push({type:"table-row",children:d})}return{type:"table",width:(null==s?void 0:s.selected)?"100%":"auto",children:o,columnWidths:l}}(t,n,o);zv.insertNodes(t,i,{mode:"highest"})}},t}();Fft||(Fft=1,Ift||(Ift=1,xlt()("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},pft())));var Lft,_ft={isInTable:function(t,e){return void 0===e&&(e={}),!!yat(Kh.nodes(t,{match:qat(t,"table"),at:e.at}),1)[0]},selection:function(t){var e,r,n,o,i,u,a,s;return vat(this,function(c){switch(c.label){case 0:e=$lt.get(t),r=0,c.label=1;case 1:if(!(e&&r<e.length))return[3,4];for(n=[],o=0;o<e[r].length;o+=1)i=yat(e[r][o],2),u=i[0],a=i[1],s=a.ltr,1===a.ttb&&n.push(u),o+=s-1;return[4,n];case 2:c.sent(),c.label=3;case 3:return r+=1,[3,1];case 4:return[2]}})},unselect:function(t){Ult.delete(t),$lt.delete(t)},isSelected:function(t,e){var r=Ult.get(t);return!!r&&r.has(e)}},jft=function(){function t(){this.title=RF("tableModule.mergeCell"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M482.2 508.4 331.3 389c-3-2.4-7.3-.2-7.3 3.6V478H184V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H144c-15.5 0-28 12.5-28 28v736c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v128H184V546h140v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4c2.4-1.8 2.4-5.4 0-7.2zM880 116H596c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H700v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4c-2.3 1.8-2.3 5.3 0 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h140v294H636V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v168c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V144c0-15.5-12.5-28-28-28z"/></svg>',this.tag="button"}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return!this.canMerge(t)},t.prototype.exec=function(t,e){this.isDisabled(t)||(this.merge(t),_ft.unselect(t))},t.prototype.canMerge=function(t){var e=$lt.get(t);if(!e||!e.length)return!1;var r=yat(e[e.length-1][e[e.length-1].length-1],1),n=yat(r[0],2)[1],o=yat(e[0][0],1);return!!Kat(t,[yat(o[0],2)[1],n],"table")},t.prototype.merge=function(t){if(this.canMerge(t)){var e=$lt.get(t);if(e&&e.length){var r=yat(e[0][0],1),n=yat(r[0],2)[1],o=yat(tv.children(t,n,{reverse:!0}),1),i=yat(o[0],2)[1];Kh.withoutNormalizing(t,function(){for(var r,o,u,a,s,c,l=new Map,f=[],d=1/0,p=-1/0,h=1/0,v=-1/0,g=0;g<e.length;g+=1)for(var y=0;y<e[g].length;y+=1){var m=yat(e[g][y],2),b=yat(m[0],2),E=b[0],w=b[1],S=m[1].ttb,C=w.join(",");if(1===S&&!l.has(C)){l.set(C,{path:w,x:g,y:y,element:E});var D=E.rowSpan,O=void 0===D?1:D,A=E.colSpan,x=g,T=g+O-1,N=y,k=y+(void 0===A?1:A)-1;d=Math.min(d,x),p=Math.max(p,T),h=Math.min(h,N),v=Math.max(v,k)}}var P=p-d+1,B=v-h+1;try{for(var I=gat(l),F=I.next();!F.done;F=I.next())w=yat(F.value,2)[1].path,ov.equals(n,w)||f.push(w)}catch(t){r={error:t}}finally{try{F&&!F.done&&(o=I.return)&&o.call(I)}finally{if(r)throw r.error}}f.sort(function(t,e){for(var r=0;r<Math.min(t.length,e.length);r+=1)if(t[r]!==e[r])return e[r]-t[r];return e.length-t.length});try{for(var R=gat(f),L=R.next();!L.done;L=R.next()){w=L.value;try{if(!Kh.hasPath(t,w))continue;try{for(var _=(s=void 0,gat(tv.children(t,w,{reverse:!0}))),j=_.next();!j.done;j=_.next()){var M=yat(j.value,2)[1];zv.moveNodes(t,{to:ov.next(i),at:M})}}catch(t){s={error:t}}finally{try{j&&!j.done&&(c=_.return)&&c.call(_)}finally{if(s)throw s.error}}zv.removeNodes(t,{at:w})}catch(t){}}}catch(t){u={error:t}}finally{try{L&&!L.done&&(a=R.return)&&a.call(R)}finally{if(u)throw u.error}}zv.setNodes(t,{rowSpan:P,colSpan:B},{at:n})})}}},t}(),Mft={};!function(){if(Lft)return Mft;Lft=1;var t=Mut(),e=zut(),r=Gut(),n=oot(),o=tut(),i=rut(),u=rot(),a=$ut(),s=qot(),c=qut(),l=Slt(),f=c("slice"),d=s("species"),p=Array,h=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,s){var c,f,v,g=u(this),y=i(g),m=o(t,y),b=o(void 0===s?y:s,y);if(e(g)&&(c=g.constructor,(r(c)&&(c===p||e(c.prototype))||n(c)&&null===(c=c[d]))&&(c=void 0),c===p||void 0===c))return l(g,m,b);for(f=new(void 0===c?p:c)(h(b-m,0)),v=0;m<b;m++,v++)m in g&&a(f,v,g[m]);return f.length=v,f}})}();var zft,Hft,$ft,Uft,Vft,Gft,Wft,qft,Kft,Yft,Xft,Jft={};function Zft(){if(Hft)return zft;Hft=1,jst();var t=unt(),e=Fit(),r=_st(),n=nnt(),o=qot(),i=lit(),u=o("species"),a=RegExp.prototype;return zft=function(s,c,l,f){var d=o(s),p=!n(function(){var t={};return t[d]=function(){return 7},7!==""[s](t)}),h=p&&!n(function(){var t=!1,e=/a/;return"split"===s&&((e={}).constructor={},e.constructor[u]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return t=!0,null},e[d](""),!t});if(!p||!h||l){var v=/./[d],g=c(d,""[s],function(e,n,o,i,u){var s=n.exec;return s===r||s===a.exec?p&&!u?{done:!0,value:t(v,n,o,i)}:{done:!0,value:t(e,o,n,i)}:{done:!1}});e(String.prototype,s,g[0]),e(a,d,g[1])}f&&i(a[d],"sham",!0)}}function Qft(){if(Gft)return Vft;Gft=1;var t=sit(),e=function(){if(Uft)return $ft;Uft=1;var t=Gut(),e=dot(),r=TypeError;return $ft=function(n){if(t(n))return n;throw new r(e(n)+" is not a constructor")}}(),r=tot(),n=qot()("species");return Vft=function(o,i){var u,a=t(o).constructor;return void 0===a||r(u=t(a)[n])?i:e(u)}}function tdt(){if(qft)return Wft;qft=1;var t=fct().charAt;return Wft=function(e,r,n){return r+(n?t(e,r).length:1)}}function edt(){if(Yft)return Kft;Yft=1;var t=unt(),e=sit(),r=not(),n=Znt(),o=_st(),i=TypeError;return Kft=function(u,a){var s=u.exec;if(r(s)){var c=t(s,u,a);return null!==c&&e(c),c}if("RegExp"===n(u))return t(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}!function(){if(Xft)return Jft;Xft=1;var t=unt(),e=Jnt(),r=Zft(),n=sit(),o=oot(),i=eot(),u=Qft(),a=tdt(),s=eut(),c=Gat(),l=hot(),f=edt(),d=Lst(),p=nnt(),h=d.UNSUPPORTED_Y,v=Math.min,g=e([].push),y=e("".slice),m=!p(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}),b="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;r("split",function(e,r,d){var p="0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t(r,this,e,n)}:r;return[function(r,n){var u=i(this),a=o(r)?l(r,e):void 0;return a?t(a,r,u,n):t(p,c(u),r,n)},function(t,e){var o=n(this),i=c(t);if(!b){var l=d(p,o,i,e,p!==r);if(l.done)return l.value}var m=u(o,RegExp),E=o.unicode,w=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(h?"g":"y"),S=new m(h?"^(?:"+o.source+")":o,w),C=void 0===e?4294967295:e>>>0;if(0===C)return[];if(0===i.length)return null===f(S,i)?[i]:[];for(var D=0,O=0,A=[];O<i.length;){S.lastIndex=h?0:O;var x,T=f(S,h?y(i,O):i);if(null===T||(x=v(s(S.lastIndex+(h?O:0)),i.length))===D)O=a(i,O,E);else{if(g(A,y(i,D,O)),A.length===C)return A;for(var N=1;N<=T.length-1;N++)if(g(A,T[N]),A.length===C)return A;O=D=x}}return g(A,y(i,D)),A}]},b||!m,h)}();var rdt,ndt=function(){function t(){this.title=RF("tableModule.splitCell"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M362.667 494.933v53.334l25.6-25.6zm0-241.066L460.8 352V78.933H57.6v98.134h305.067zm0 535.466v57.6H57.6v98.134h403.2V691.2zM661.333 494.933v53.334l-25.6-25.6zm0-241.066L563.2 352V78.933h403.2v98.134H661.333zm0 535.466v57.6H966.4v98.134H563.2V691.2z"/><path d="M753.067 341.333 693.333 281.6 512 460.8 330.667 281.6l-59.734 59.733 181.334 181.334L270.933 704l59.734 59.733L512 582.4l181.333 181.333L753.067 704 571.733 522.667z"/></svg>',this.tag="button"}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=yat(Kh.nodes(t,{match:function(t){return SB.checkNodeType(t,"table-cell")}}),1)[0];if(!e)return!0;var r=yat(e,1)[0],n=r.rowSpan,o=void 0===n?1:n,i=r.colSpan;return!(o>1||(void 0===i?1:i)>1)},t.prototype.exec=function(t,e){this.isDisabled(t)||this.split(t)},t.prototype.split=function(t,e){void 0===e&&(e={});var r=yat(Kh.nodes(t,{match:qat(t,"table","th","td"),at:e.at}),2),n=r[0],o=r[1];if(n&&o){var i=bft(yat(n,1)[0]),u=yat(o,2),a=u[0],s=u[1],c=a.rowSpan,l=void 0===c?1:c,f=a.colSpan,d=void 0===f?1:f;1===l&&1===d||Kh.withoutNormalizing(t,function(){zv.setNodes(t,{rowSpan:1,colSpan:1},{at:s});for(var e=1;e<d;e+=1){var r={type:"table-cell",children:[{text:""}]};0===s[s.length-2]&&i&&(r.isHeader=!0);var n=s.slice(0,-1),o=s[s.length-1]+e,u=mat(mat([],yat(n),!1),[o],!1);try{zv.insertNodes(t,r,{at:u})}catch(e){try{var a=yat(Kh.node(t,n),1)[0].children.length,c=mat(mat([],yat(n),!1),[a],!1);zv.insertNodes(t,r,{at:c})}catch(t){console.warn("插入同行单元格失败: ".concat(t instanceof Error?t.message:String(t)))}}}for(var f=1;f<l;f+=1){var p=s[s.length-2]+f,h=mat(mat([],yat(s.slice(0,-2)),!1),[p],!1);try{var v=yat(Kh.node(t,h),1)[0];if(!v){console.warn("目标行 ".concat(p," 不存在"));continue}for(e=0;e<d;e+=1){r={type:"table-cell",children:[{text:""}]},o=s[s.length-1]+e,u=mat(mat([],yat(h),!1),[o],!1);try{var g=v.children.length;if(o>=g){var y=mat(mat([],yat(h),!1),[g],!1);zv.insertNodes(t,r,{at:y})}else zv.insertNodes(t,r,{at:u})}catch(e){try{var m=v.children.length;c=mat(mat([],yat(h),!1),[m],!1),zv.insertNodes(t,r,{at:c})}catch(t){console.warn("插入单元格到第".concat(f,"行失败: ").concat(t instanceof Error?t.message:String(t)))}}}}catch(t){console.warn("处理第".concat(f,"行时出错: ").concat(t instanceof Error?t.message:String(t)))}}})}},t}(),odt=function(){function t(){this.title=RF("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(t){var e=SB.getSelectedNodeByType(t,"table");return null!=e&&bft(e)},t.prototype.isActive=function(t){return!!this.getValue(t)},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!dv.isCollapsed(e)||null==SB.getSelectedNodeByType(t,"table")},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var r=!e,n=SB.getSelectedNodeByType(t,"table");null!=n&&mft(n).forEach(function(e){return zv.setNodes(t,{isHeader:r},{at:SB.findPath(t,e)})})}},t}(),idt={key:"insertTable",factory:function(){return new Rft}},udt={key:"deleteTable",factory:function(){return new gft}},adt={key:"insertTableRow",factory:function(){return new Dft}},sdt={key:"deleteTableRow",factory:function(){return new vft}},cdt={key:"insertTableCol",factory:function(){return new Cft}},ldt={key:"deleteTableCol",factory:function(){return new hft}},fdt={key:"tableHeader",factory:function(){return new odt}},ddt={key:"tableFullWidth",factory:function(){return new yft}},pdt={key:"mergeTableCell",factory:function(){return new jft}},hdt={key:"splitTableCell",factory:function(){return new ndt}},vdt={key:"setTableProperty",factory:function(){return new Vlt}},gdt={key:"setTableCellProperty",factory:function(){return new Glt}},ydt={};!function(){if(rdt)return ydt;rdt=1;var t=Mut(),e=sat().filter;t({target:"Array",proto:!0,forced:!qut()("filter")},{filter:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var mdt,bdt,Edt,wdt,Sdt,Cdt={};!function(){if(Sdt)return Cdt;Sdt=1;var t=function(){if(bdt)return mdt;bdt=1;var t=int(),e=Function.prototype,r=e.apply,n=e.call;return mdt="object"==typeof Reflect&&Reflect.apply||(t?n.bind(r):function(){return n.apply(r,arguments)}),mdt}(),e=unt(),r=Jnt(),n=Zft(),o=nnt(),i=sit(),u=not(),a=oot(),s=Qit(),c=eut(),l=Gat(),f=eot(),d=tdt(),p=hot(),h=function(){if(wdt)return Edt;wdt=1;var t=Jnt(),e=Vot(),r=Math.floor,n=t("".charAt),o=t("".replace),i=t("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return Edt=function(t,s,c,l,f,d){var p=c+t.length,h=l.length,v=a;return void 0!==f&&(f=e(f),v=u),o(d,v,function(e,o){var u;switch(n(o,0)){case"$":return"$";case"&":return t;case"`":return i(s,0,c);case"'":return i(s,p);case"<":u=f[i(o,1,-1)];break;default:var a=+o;if(0===a)return e;if(a>h){var d=r(a/10);return 0===d?e:d<=h?void 0===l[d-1]?n(o,1):l[d-1]+n(o,1):e}u=l[a-1]}return void 0===u?"":u})}}(),v=Bft(),g=edt(),y=qot()("replace"),m=Math.max,b=Math.min,E=r([].concat),w=r([].push),S=r("".indexOf),C=r("".slice),D=function(t){return void 0===t?t:String(t)},O="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");n("replace",function(r,n,o){var O=A?"$":"$0";return[function(t,r){var o=f(this),i=a(t)?p(t,y):void 0;return i?e(i,t,o,r):e(n,l(o),t,r)},function(e,r){var a=i(this),f=l(e);if("string"==typeof r&&-1===S(r,O)&&-1===S(r,"$<")){var p=o(n,a,f,r);if(p.done)return p.value}var y=u(r);y||(r=l(r));var A,x=l(v(a)),T=-1!==S(x,"g");T&&(A=-1!==S(x,"u"),a.lastIndex=0);for(var N,k=[];null!==(N=g(a,f))&&(w(k,N),T);)""===l(N[0])&&(a.lastIndex=d(f,c(a.lastIndex),A));for(var P="",B=0,I=0;I<k.length;I++){for(var F,R=l((N=k[I])[0]),L=m(b(s(N.index),f.length),0),_=[],j=1;j<N.length;j++)w(_,D(N[j]));var M=N.groups;if(y){var z=E([R],_,L,f);void 0!==M&&w(z,M),F=l(t(r,void 0,z))}else F=h(R,f,L,_,M,r);L>=B&&(P+=C(f,B,L)+F,B=L+R.length)}return P+C(f,B)}]},!!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!O||A)}();var Ddt,Odt,Adt,xdt,Tdt,Ndt,kdt,Pdt,Bdt={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n=og(t);0===(e=e.filter(function(t){return"paragraph"===SB.getNodeType(t)||!!wv.isText(t)||!!r.isInline(t)})).length&&(e=[{text:n.text().replace(/\s+/gm," ")}]);var o=parseInt(n.attr("colSpan")||"1",10),i=parseInt(n.attr("rowSpan")||"1",10),u="none"===Gct(n,"display"),a=n.attr("width")||"auto";return{type:"table-cell",isHeader:"th"===Vct(n),colSpan:o,rowSpan:i,width:a,children:e,hidden:u}}},Idt={selector:"tr:not([data-w-e-type])",parseElemHtml:function(t,e,r){for(var n=[],o=0;o<e.length;o+=1){var i=e[o];if("table-cell"===SB.getNodeType(i)){var u=i;if(u.hidden)continue;n.push(u)}}return{type:"table-row",children:n}}},Fdt={selector:"table:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n,o,i=og(t),u="auto";"100%"===Gct(i,"width")&&(u="100%"),"100%"===i.attr("width")&&(u="100%");var a={type:"table",width:u,height:parseInt(Gct(i,"height")||"0",10),children:e.filter(function(t){return"table-row"===SB.getNodeType(t)})},s=(null===(n=i.find("tr")[0])||void 0===n?void 0:n.children)||[],c=(null===(o=i.find("colgroup")[0])||void 0===o?void 0:o.children)||null,l=e[e.length-1].children.length;if(c&&c.length===l)a.columnWidths=Array.from(c).map(function(t){return parseInt(t.getAttribute("width"),10)});else if(s.length>0){var f=[];Array.from(s).forEach(function(t){var e=parseInt(og(t).attr("colSpan")||"1",10),r=parseInt(Gct(og(t),"width")||"90",10);f.push(r);for(var n=1;n<e;n+=1)f.push(90)}),a.columnWidths=f}return a}},Rdt=null===(Ddt=null===window||void 0===window?void 0:window.getComputedStyle(document.documentElement))||void 0===Ddt?void 0:Ddt.getPropertyValue("--w-e-textarea-border-color"),Ldt={};function _dt(t){var e=t.selection;if(null==e)return!1;var r=yat(Kh.nodes(t,{match:function(t){return SB.checkNodeType(t,"table-cell")}}),1)[0];if(r){var n=yat(r,2)[1],o=Kh.start(t,n);if(sv.equals(e.anchor,o))return!0}return!1}function jdt(t,e){var r=e.offset;if(0===r)return!1;var n=Kh.node(t,e);if(!wv.isText(n[0]))return!1;var o=tv.string(n[0]);return!(r>=o.length)&&"\n"===o[r-1]&&"\r"===o[r]}function Mdt(t,e,r){var n=t.selection;if(null==n||"line"===e)return!1;var o=yat(Kh.nodes(t,{match:function(t){return SB.checkNodeType(t,"table-cell")}}),1)[0],i=n.anchor;if("backward"===r&&0===n.anchor.offset&&(i=Kh.before(t,n)),"forward"===r&&Kh.isEnd(t,n.anchor,n.anchor.path)&&(i=Kh.after(t,n)),null==i)return!1;var u=Kh.above(t,{at:i,match:function(t){return SB.checkNodeType(t,"table-cell")}});if(null==u||null==o||!ov.equals(u[1],o[1]))return!1;var a=Kh.node(t,i);if(!wv.isText(a[0])||a[0].text.length<2)return!1;var s="backward"===r?[i.offset-2,i.offset]:[i.offset,i.offset+2],c=tv.string(a[0]);return"\n\r"===c.slice.apply(c,mat([],yat(s),!1))?(zv.insertText(t,c.slice(0,s[0])+c.slice(s[1]),{at:{anchor:Kh.start(t,i.path),focus:Kh.end(t,i.path)}}),!0):!!jdt(t,i)&&(zv.insertText(t,c.slice(0,n.anchor.offset-1)+c.slice(n.anchor.offset+1),{at:{anchor:Kh.start(t,i.path),focus:Kh.end(t,i.path)}}),!0)}function zdt(t,e){return!!mat([],yat(Kh.nodes(t,{at:e,match:function(t){return"table"===SB.getNodeType(t)}})),!1).find(function(){return!0})}!function(){if(Ndt)return Ldt;Ndt=1;var t=Mut(),e=function(){if(Adt)return Odt;Adt=1;var t=Jnt(),e=eot(),r=Gat(),n=/"/g,o=t("".replace);return Odt=function(t,i,u,a){var s=r(e(t)),c="<"+i;return""!==u&&(c+=" "+u+'="'+o(r(a),n,""")+'"'),c+">"+s+"</"+i+">"}}(),r=function(){if(Tdt)return xdt;Tdt=1;var t=nnt();return xdt=function(e){return t(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})}}();t({target:"String",proto:!0,forced:r("anchor")},{anchor:function(t){return e(this,"a","name",t)}})}(),Pdt||(Pdt=1,kdt||(kdt=1,xlt()("WeakSet",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Tlt())));var Hdt={selector:"table",preParseHtml:function(t){var e=og(t);if("table"!==Vct(e))return t;var r=e.find("tbody");if(0===r.length)return t;var n=e.find("tr");e.append(n),r.remove();for(var o=e.find("td, th"),i=0;i<o.length;i+=1){var u=o[i],a=(c=og(u)).attr("style");a&&/display\s*:\s*none/i.test(a)&&c.remove()}var s=e.find("td, th");for(i=0;i<s.length;i+=1){var c,l=(c=og(u=s[i])).html()||"";l=(l=(l=l.replace(/<o:p[^>]*>[\s\S]*?<\/o:p>/gi,"")).replace(/<\/o:p>/gi,"")).replace(/<p[^>]*>([\s\S]*?)<\/p>/gi,function(t,e){var r=e.trim();return r&&" "!==r?e:""}),c.html(l)}return e[0]}};function $dt(t){var e,r,n=[],o=0;try{for(var i=gat(t),u=i.next();!u.done;u=i.next())o+=u.value,n.push(o)}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n}function Udt(t){var e,r,n=[],o=t.reduce(function(t,e){return t+e},0);try{for(var i=gat(t),u=i.next();!u.done;u=i.next()){var a=u.value;n.push(a/o)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n}var Vdt=null,Gdt=!1,Wdt=!1,qdt=0,Kdt=0,Ydt=null,Xdt=og(window);function Jdt(t,e,r){var n=t.reduce(function(t,e){return t+e},0),o=t[e],i=Math.max(10,r),u=n-o+i;if(u<10*t.length)return t.map(function(){return 10});var a=n-o,s=u-i;if(s<=0){var c=t.map(function(){return 10});return c[e]=Math.max(10,u-10*(t.length-1)),c}var l=a>0?s/a:1,f=t.map(function(t,r){if(r===e)return Math.floor(100*i)/100;var n=t*l;return Math.max(10,Math.floor(100*n)/100)}),d=u-f.reduce(function(t,e){return t+e},0);return Math.abs(d)>.01&&(f[e]=Math.max(10,f[e]+d)),f}Xdt.on("mousedown",function(t){var e=t.target;if(e.closest('[data-block-type="table-cell"]'))Gdt=!0;else if("DIV"===e.tagName&&e.closest(".column-resizer-item")){if(null===Ydt)return;var r=yat(Kh.nodes(Ydt,{match:qat(Ydt,"table")}),1),n=yat(r[0],1)[0],o=n.columnWidths,i=void 0===o?[]:o,u=n.resizingIndex,a=void 0===u?-1:u;Wdt=!0;var s=t.clientX;qdt=s,Kdt=i[a],document.body.style.cursor="col-resize",t.preventDefault()}Xdt.on("mousemove",Zdt),Xdt.on("mouseup",Qdt)});var Zdt=Jg(function(t){if(Wdt&&null!==Ydt){t.preventDefault();var e,r=t.clientX,n=r-qdt,o=yat(Kh.nodes(Ydt,{match:qat(Ydt,"table")}),1),i=yat(o[0],1)[0],u=i.columnWidths,a=void 0===u?[]:u,s=i.resizingIndex,c=void 0===s?-1:s,l=c===a.length-1;if(l)e=Jdt(a,c,Kdt+n);else{var f=document.querySelector(".table");e=f?function(t,e,r,n){var o=mat([],yat(t),!1);if(e<0||e>=t.length)return o;var i=0===e?0:n[e-1],u=i+10,a=(e+1<t.length?n[e+1]:n[e])-10,s=Math.max(u,Math.min(a,r))-i,c=e+1;if(c<t.length){var l=t[e]+t[c]-s;o[e]=Math.floor(100*s)/100,o[c]=Math.floor(100*l)/100}return o}(a,c,r-f.getBoundingClientRect().left,$dt(a)):function(t,e,r){var n=mat([],yat(t),!1),o=e+1;if(o>=n.length)return n;var i=n[e],u=n[o],a=i+u-10,s=i+r,c=i+u-(s=Math.max(10,Math.min(a,s)));return n[e]=Math.floor(100*s)/100,n[o]=Math.floor(100*c)/100,n}(a,c,n)}if(l){var d=document.querySelector(".table-container");if(d){var p=e.reduce(function(t,e){return t+e},0),h=10*a.length,v=d.clientWidth-1;if(p<h)e=a.map(function(){return 10});else if(p>v){var g=e.slice(0,-1).reduce(function(t,e){return t+e},0),y=(e=Jdt(a,c,Math.max(10,v-g))).reduce(function(t,e){return t+e},0);if(y>v){var m=v/y;e=e.map(function(t){return Math.max(10,Math.floor(t*m*100)/100)})}}}}zv.setNodes(Ydt,{columnWidths:e},{mode:"highest"})}},100);function Qdt(t){Gdt=!1,Wdt=!1,Ydt=null,document.body.style.cursor="",Xdt.off("mousemove",Zdt),Xdt.off("mouseup",Qdt)}function tpt(t,e){"mouseenter"===e.type?zv.setNodes(t,{isResizing:!0},{mode:"highest"}):zv.setNodes(t,{isResizing:!1},{mode:"highest"})}var ept,rpt,npt,opt={type:"table",renderElem:function(t,e,r){var n=function(t,e){if(t.isDisabled())return!1;var r=t.selection;if(null==r)return!0;if(dv.isCollapsed(r))return!0;var n=r.anchor,o=r.focus,i=SB.findPath(t,e),u=Kh.start(t,i),a=Kh.end(t,i),s=sv.compare(n,a)<=0&&sv.compare(n,u)>=0,c=sv.compare(o,a)<=0&&sv.compare(o,u)>=0;return!!(s&&c&&ov.equals(n.path.slice(0,3),o.path.slice(0,3)))}(r,t),o=t,i=o.width,u=void 0===i?"auto":i,a=o.height,s=o.columnWidths,c=void 0===s?[]:s,l=o.scrollWidth,f=void 0===l?0:l,d=o.isHoverCellBorder,p=o.resizingIndex,h=o.isResizing,v=SB.isNodeSelected(r,t),g=yat(_ft.selection(r),1)[0],y=Udt(c),m=Ry("div",{className:"table-container","data-selected":v,on:{mousedown:function(e){if("DIV"===e.target.tagName&&e.preventDefault(),!r.isDisabled()){e.target.closest('[data-block-type="table-cell"]')&&_ft.unselect(r);var n=SB.findPath(r,t),o=Kh.start(r,n),i=r.selection;null!=i?i.anchor.path[0]!==n[0]&&"DIV"===e.target.tagName&&r.select(o):r.select(o)}}}},Ry("table",{width:u,contentEditable:n,className:"table ".concat(g?"table-selection-none":""),style:{width:"100%"===u?u:"".concat(c.reduce(function(t,e){return t+e},0),"px")},on:{mousemove:Kg(function(e){return function(t,e,r,n){if(!t.isDisabled()&&!Gdt&&!Wdt){var o=e,i=o.width,u=void 0===i?"auto":i,a=o.columnWidths,s=void 0===a?[]:a,c=o.isHoverCellBorder,l=o.resizingIndex,f=r.clientX,d=r.target;if(TP(d)&&f>(v=d.getBoundingClientRect()).x+5&&f<v.x+v.width-5)return void(c&&zv.setNodes(t,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"}));if(TP(d)){var p=d.closest(".table");if(p)for(var h=r.clientX,v=p.getBoundingClientRect(),g=$dt("100%"===u?Udt(s).map(function(t){return t*n}):s),y=0;y<g.length;y+=1)if(h-v.x>=g[y]-5&&h-v.x<g[y]+5){if(l===y)return;return void zv.setNodes(t,{isHoverCellBorder:!0,resizingIndex:y},{mode:"highest"})}}!0===c&&zv.setNodes(t,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"})}}(r,t,e,f)},25)}},Ry("colgroup",{contentEditable:!1},c.map(function(t){return Ry("col",{width:t})})),Ry("tbody",null,e)),Ry("div",{className:"column-resizer",contentEditable:!1},c.map(function(t,e){var n=t;return"100%"===u&&(n=y[e]*f),Ry("div",{className:"column-resizer-item",style:{minWidth:"".concat(n,"px")}},Ry("div",{className:"resizer-line-hotzone ".concat(d&&e===p?"visible ":"").concat(h&&e===p?"highlight":""),style:{height:"".concat(a,"px")},on:{mouseenter:function(t){return tpt(r,t)},mouseleave:function(t){return tpt(r,t)},mousedown:function(t){return function(t){Wdt||(Ydt=t)}(r)}}},Ry("div",{className:"resizer-line"})))}))),b=vy("div",{hook:{insert:function(t){var e=t.elm;return function(t,e){if(TP(e)){var r=e.querySelector("table");r&&(Vdt=new ResizeObserver(function(e){var r=yat(e,1)[0].contentRect;zv.setNodes(t,{scrollWidth:r.width,height:r.height},{mode:"highest"})}),Vdt.observe(r))}}(r,e)},destroy:function(){Vdt&&(null==Vdt||Vdt.disconnect(),Vdt=null)}}},m);return b}},ipt={type:"table-row",renderElem:function(t,e,r){return Ry("tr",null,e)}},upt={type:"table-cell",renderElem:function(t,e,r){var n=function(t,e){var r=SB.getParentNode(t,e);if(null==r)return!1;var n=SB.getParentNode(t,r);return null!=n&&mft(n).some(function(t){return t===e})}(r,t),o=t,i=o.colSpan,u=void 0===i?1:i,a=o.rowSpan,s=void 0===a?1:a,c=o.isHeader,l=void 0!==c&&c,f=o.hidden,d=void 0!==f&&f;return Ry(n&&l?"th":"td",{colSpan:u,rowSpan:s,"data-block-type":"table-cell",className:_ft.isSelected(r,t)?"w-e-selected":"",style:{display:d?"none":""}},e)}},apt={};function spt(t,e){null==t.data&&(t.data={});var r=t.data;null==r.style&&(r.style={}),Object.assign(r.style,e)}!function(){if(npt)return apt;npt=1;var t=Mut(),e=function(){if(rpt)return ept;rpt=1;var t=ont(),e=Jnt(),r=unt(),n=nnt(),o=Bat(),i=Lut(),u=Ynt(),a=Vot(),s=Qnt(),c=Object.assign,l=Object.defineProperty,f=e([].concat);return ept=!c||n(function(){if(t&&1!==c({b:1},c(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},r={},n=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(t){r[t]=t}),7!==c({},e)[n]||o(c({},r)).join("")!==i})?function(e,n){for(var c=a(e),l=arguments.length,d=1,p=i.f,h=u.f;l>d;)for(var v,g=s(arguments[d++]),y=p?f(o(g),p(g)):o(g),m=y.length,b=0;m>b;)v=y[b++],t&&!r(h,g,v)||(c[v]=g[v]);return c}:c,ept}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var cpt={renderStyle:function(t,e){var r,n;if(!$h.isElement(t))return e;var o=t,i=o.backgroundColor,u=o.borderWidth,a=o.borderStyle,s=o.borderColor,c=o.textAlign,l={};i&&(l.backgroundColor=i),u&&(l.borderWidth="".concat(u,"px")),a&&(l.borderStyle="none"===a?"":a),s&&(l.borderColor=s),c&&(l.textAlign=c);var f=e;return"table"===t.type?spt(null===(n=(null===(r=f.children)||void 0===r?void 0:r[0]).children)||void 0===n?void 0:n[0],l):spt(f,l),f},styleToHtml:function(t,e){if("table"!==t.type&&"table-cell"!==t.type)return e;var r=t.backgroundColor,n=t.borderWidth,o=t.borderStyle,i=t.borderColor,u=t.textAlign;if(!(r||n||o||i||u))return e;var a=og(e);return r&&a.css("background-color",r),n&&a.css("border-width","".concat(n,"px")),o&&a.css("border-style","none"===o?"":o),i&&a.css("border-color",i),u&&a.css("text-align",u),function(t){return 0===t.length?"":t[0].outerHTML}(a)},parseStyleHtml:function(t,e,r){if(!["TABLE","TD","TH"].includes(t.tagName))return e;var n=og(t),o=e,i=Gct(n,"background-color");i||(i=Gct(n,"background")),i&&(o.backgroundColor=i);var u=Gct(n,"border");u||"TD"!==t.tagName||(u="1px solid ".concat(Rdt));var a=yat((null==u?void 0:u.split(" "))||[],3),s=a[0],c=a[1],l=a[2];(s=Gct(n,"border-width")||s)&&(o.borderWidth=s.replace(/[^\d]/g,"")),(c=Gct(n,"border-style")||c)&&(o.borderStyle="none"===c?"":c),(l=Gct(n,"border-color")||l)&&(o.borderColor=l);var f=Gct(n,"text-align");return(f=Gct(n,"text-align")||f)&&(o.textAlign=f),e},renderElems:[opt,ipt,upt],elemsToHtml:[{type:"table",elemToHtml:function(t,e){var r=t,n=r.width,o=void 0===n?"auto":n,i=r.columnWidths,u=r.height,a=void 0===u?"auto":u,s=null==i?void 0:i.map(function(t){return"<col width=".concat(t,"></col>")}).join(""),c=s?'<colgroup contentEditable="false">'.concat(s,"</colgroup>"):"";return'<table style="width: '.concat(o,";table-layout: fixed;height:").concat(a,'">').concat(c,"<tbody>").concat(e,"</tbody></table>")}},{type:"table-row",elemToHtml:function(t,e){return"<tr>".concat(e,"</tr>")}},{type:"table-cell",elemToHtml:function(t,e){var r=t,n=r.colSpan,o=void 0===n?1:n,i=r.rowSpan,u=void 0===i?1:i,a=r.isHeader,s=void 0!==a&&a,c=r.width,l=void 0===c?"auto":c,f=r.hidden;if(void 0!==f&&f)return"";var d=s?"th":"td";return"<".concat(d,' colSpan="').concat(o,'" rowSpan="').concat(u,'" width="').concat(l,'">').concat(e,"</").concat(d,">")}}],preParseHtml:[Hdt],parseElemsHtml:[Bdt,Idt,Fdt],menus:[idt,udt,adt,sdt,cdt,ldt,fdt,ddt,pdt,hdt,vdt,gdt],editorPlugin:function(t){var e=t.insertBreak,r=t.deleteBackward,n=t.deleteForward,o=t.deleteFragment,i=t.normalizeNode,u=t.insertData,a=t.handleTab,s=t.selectAll,c=t;c.insertBreak=function(){null==SB.getSelectedNodeByType(c,"table")?e():c.insertText("\n\r")},c.deleteBackward=function(t){if(!_dt(c)&&!Mdt(c,t,"backward")){var e=c.selection;if(e){var n=Kh.before(c,e),o=Kh.above(c,{at:e,match:function(t){return SB.checkNodeType(t,"table-cell")}});if(n){var i=zdt(c,n);if(!o&&i&&SB.getSelectedNodeByType(c,"paragraph"))return}}r(t)}},c.handleTab=function(){var e;if(SB.getSelectedNodeByType(c,"table")){var r=Kh.above(t);SB.checkNodeType(r[0],"table-cell")&&zv.select(t,r[1]);var n=Kh.next(t);if(n)n[0]&&n[0].text&&(n=null!==(e=Kh.above(t,{at:n[1]}))&&void 0!==e?e:n),zv.select(t,n[1]);else{var o=c.children||[],i=o.length;if(SB.checkNodeType(o[i-1],"table")){var u=SB.genEmptyParagraph();zv.insertNodes(c,u,{at:[i]}),c.handleTab()}}}else a()},c.deleteForward=function(t){if(!_dt(c)&&!Mdt(c,t,"forward")){var e=c.selection;if(e){var r=Kh.after(c,e),o=Kh.above(c,{at:e,match:function(t){return SB.checkNodeType(t,"table-cell")}});if(r){var i=zdt(c,r);if(!o&&i&&SB.getSelectedNodeByType(c,"paragraph"))return}}n(t)}},c.deleteFragment=function(t){var e=c.selection;if(e){var r,n=!1,i={anchor:e.anchor,focus:e.focus},u=sv.isBefore(i.anchor,i.focus);jdt(c,e.anchor)&&((r=Kh[u?"before":"after"](c,e.anchor))&&(i.anchor=r),n=!0),jdt(c,e.focus)&&((r=Kh[u?"after":"before"](c,e.focus))&&(i.focus=r),n=!0),n&&zv.setSelection(c,i),o(t)}},c.normalizeNode=function(t){var e=yat(t,2),r=e[0],n=e[1];if("table"!==SB.getNodeType(r))return i([r,n]);if(SB.isLastNode(c,r)){var o=SB.genEmptyParagraph();zv.insertNodes(c,o,{at:[n[0]+1]})}},c.insertData=function(t){if(null!=SB.getSelectedNodeByType(c,"table")){var e=t.getData("text/plain");"\n"===e||/<img[^>]+>/.test(t.getData("text/html"))?u(t):Kh.insertText(c,e)}else u(t)},c.selectAll=function(){var t=c.selection;if(null!=t){var e=SB.getSelectedNodeByType(c,"table-cell");if(null!=e){var r=t.anchor,n=t.focus;if(ov.equals(r.path.slice(0,3),n.path.slice(0,3)))if(0!==tv.string(e).length){var o=SB.findPath(c,e),i={anchor:Kh.start(c,o),focus:Kh.end(c,o)};c.select(i)}else s();else s()}else s()}else s()},function(t){var e=t.apply;t.apply=function(r){if(!nv.isSelectionOperation(r)||!r.newProperties)return e(r);var n=hat(hat({},t.selection),r.newProperties);if(!dv.isRange(n))return _ft.unselect(t),e(r);var o=function(t){return $h.isElement(t)&&("table-cell"===t.type||"th"===t.type||"td"===t.type)},i=yat(Kh.nodes(t,{match:o,at:dv.start(n),mode:"lowest"}),1)[0],u=yat(Kh.nodes(t,{match:o,at:dv.end(n),mode:"lowest"}),1)[0];if(!i||!u)return _ft.unselect(t),e(r);var a=yat(i,2)[1],s=yat(u,2)[1];if(ov.equals(a,s)||!Kat(t,[a,s],"table"))return _ft.unselect(t),e(r);try{var c=Yat(t,{at:a});if(!c||0===c.length)return _ft.unselect(t),e(r);for(var l=Jat.valueOf(0,0),f=Jat.valueOf(0,0),d=!1,p=!1,h=0;h<c.length;h+=1)if(c[h])for(var v=0;v<c[h].length;v+=1)if(c[h][v]){var g=yat(c[h][v],1),y=yat(g[0],2)[1];ov.equals(a,y)&&(l.x=h,l.y=v,d=!0),ov.equals(s,y)&&(f.x=h,f.y=v,p=!0)}if(!d||!p)return _ft.unselect(t),e(r);for(var m=Jat.valueOf(Math.min(l.x,f.x),Math.min(l.y,f.y)),b=Jat.valueOf(Math.max(l.x,f.x),Math.max(l.y,f.y));;){var E=Jat.valueOf(m.x,m.y),w=Jat.valueOf(b.x,b.y);for(h=E.x;h<=w.x&&h<c.length;h+=1)if(c[h])for(v=E.y;v<=w.y&&v<c[h].length;v+=1)if(c[h][v]){var S=yat(c[h][v],2)[1];if(S){var C=S.rtl,D=S.ltr,O=S.btt,A=S.ttb;E.x=Math.min(E.x,h-(A-1)),E.y=Math.min(E.y,v-(C-1)),w.x=Math.max(w.x,h+(O-1)),w.y=Math.max(w.y,v+(D-1))}}if(Jat.equals(m,E)&&Jat.equals(b,w))break;m=E,b=w}var x=[],T=new WeakSet;for(h=m.x;h<=b.x&&h<c.length;h+=1)if(c[h]){var N=[];for(v=m.y;v<=b.y&&v<c[h].length;v+=1)if(c[h][v]){var k=yat(c[h][v],1),P=yat(k[0],1)[0];P&&(T.add(P),N.push(c[h][v]))}N.length>0&&x.push(N)}$lt.set(t,x),Ult.set(t,T)}catch(n){return _ft.unselect(t),e(r)}e(r)}}(c),c.getTableSelection=function(){return $lt.get(c)||null};var l=c.addMark,f=c.removeMark,d=hat({},zv);return c.addMark=function(t,e){var r=$lt.get(c);if(r&&r.length>0){var n=c.selection;r.forEach(function(r){r.forEach(function(r){var n=yat(r[0],2)[1],o=Kh.start(c,n),i=Kh.end(c,n);zv.select(c,{anchor:o,focus:i}),l(t,e)})}),n&&zv.select(c,n)}else l(t,e)},c.removeMark=function(t){var e=$lt.get(c);if(e&&e.length>0){var r=c.selection;e.forEach(function(e){e.forEach(function(e){var r=yat(e[0],2)[1],n=Kh.start(c,r),o=Kh.end(c,r);zv.select(c,{anchor:n,focus:o}),f(t)})}),r&&zv.select(c,r)}else f(t)},zv.setNodes=function(t,e,r){if(void 0===r&&(r={}),t===c){var n=$lt.get(c);if(n&&n.length>0)return"hidden"in e||"rowSpan"in e||"colSpan"in e?void d.setNodes(t,e,r):void n.forEach(function(n){n.forEach(function(n){var o=yat(n[0],2)[1];d.setNodes(t,e,hat(hat({},r),{at:o}))})})}d.setNodes(t,e,r)},c}};PF("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),PF("zh-CN",{uploadImgModule:{uploadImage:"上传图片",uploadError:"{{fileName}} 上传出错"}});var lpt,fpt,dpt,ppt,hpt,vpt,gpt,ypt,mpt,bpt,Ept,wpt,Spt,Cpt,Dpt,Opt,Apt,xpt,Tpt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Npt={};function kpt(){return fpt?lpt:(fpt=1,lpt=function(t){try{return!!t()}catch(t){return!0}})}function Ppt(){if(ppt)return dpt;ppt=1;var t=kpt();return dpt=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function Bpt(){if(vpt)return hpt;vpt=1;var t=kpt();return hpt=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function Ipt(){if(ypt)return gpt;ypt=1;var t=Bpt(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return gpt=t?n:function(t){return function(){return r.apply(t,arguments)}},gpt}function Fpt(){return bpt?mpt:(bpt=1,mpt=function(t){return null==t})}function Rpt(){if(wpt)return Ept;wpt=1;var t=Fpt(),e=TypeError;return Ept=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function Lpt(){if(Cpt)return Spt;Cpt=1;var t=Rpt(),e=Object;return Spt=function(r){return e(t(r))}}function _pt(){if(Opt)return Dpt;Opt=1;var t=Ipt(),e=Lpt(),r=t({}.hasOwnProperty);return Dpt=Object.hasOwn||function(t,n){return r(e(t),n)}}function jpt(){if(xpt)return Apt;xpt=1;var t=Ppt(),e=_pt(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,o=e(r,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&n(r,"name").configurable);return Apt={EXISTS:o,PROPER:i,CONFIGURABLE:u}}var Mpt,zpt,Hpt={exports:{}};function $pt(){if(zpt)return Mpt;zpt=1;var t="object"==typeof document&&document.all;return Mpt=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}var Upt,Vpt,Gpt,Wpt,qpt,Kpt,Ypt,Xpt,Jpt,Zpt,Qpt,tht,eht,rht={exports:{}};function nht(){return Vpt?Upt:(Vpt=1,Upt=!1)}function oht(){if(Wpt)return Gpt;Wpt=1;var t=function(t){return t&&t.Math===Math&&t};return Gpt=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof Tpt&&Tpt)||t("object"==typeof Gpt&&Gpt)||function(){return this}()||Function("return this")()}function iht(){if(Kpt)return qpt;Kpt=1;var t=oht(),e=Object.defineProperty;return qpt=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function uht(){if(Ypt)return rht.exports;Ypt=1;var t=nht(),e=oht(),r=iht(),n="__core-js_shared__",o=rht.exports=e[n]||r(n,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),rht.exports}function aht(){if(Jpt)return Xpt;Jpt=1;var t=Ipt(),e=$pt(),r=uht(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),Xpt=r.inspectSource}function sht(){if(Qpt)return Zpt;Qpt=1;var t=oht(),e=$pt(),r=t.WeakMap;return Zpt=e(r)&&/native code/.test(String(r))}function cht(){if(eht)return tht;eht=1;var t=$pt();return tht=function(e){return"object"==typeof e?null!==e:t(e)}}var lht,fht,dht,pht,hht,vht,ght,yht,mht,bht,Eht,wht,Sht,Cht,Dht,Oht,Aht,xht,Tht,Nht,kht,Pht,Bht,Iht,Fht,Rht,Lht,_ht,jht,Mht,zht,Hht,$ht,Uht,Vht,Ght,Wht,qht,Kht,Yht,Xht,Jht,Zht,Qht,tvt,evt,rvt,nvt,ovt,ivt,uvt,avt,svt,cvt,lvt,fvt,dvt,pvt={};function hvt(){if(fht)return lht;fht=1;var t=oht(),e=cht(),r=t.document,n=e(r)&&e(r.createElement);return lht=function(t){return n?r.createElement(t):{}}}function vvt(){if(pht)return dht;pht=1;var t=Ppt(),e=kpt(),r=hvt();return dht=!t&&!e(function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})}function gvt(){if(vht)return hht;vht=1;var t=Ppt(),e=kpt();return hht=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function yvt(){if(yht)return ght;yht=1;var t=cht(),e=String,r=TypeError;return ght=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function mvt(){if(bht)return mht;bht=1;var t=Bpt(),e=Function.prototype.call;return mht=t?e.bind(e):function(){return e.apply(e,arguments)},mht}function bvt(){if(wht)return Eht;wht=1;var t=oht(),e=$pt();return Eht=function(r,n){return arguments.length<2?(o=t[r],e(o)?o:void 0):t[r]&&t[r][n];var o},Eht}function Evt(){if(Cht)return Sht;Cht=1;var t=Ipt();return Sht=t({}.isPrototypeOf)}function wvt(){if(Oht)return Dht;Oht=1;var t=oht().navigator,e=t&&t.userAgent;return Dht=e?String(e):""}function Svt(){if(xht)return Aht;xht=1;var t,e,r=oht(),n=wvt(),o=r.process,i=r.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),Aht=e}function Cvt(){if(Nht)return Tht;Nht=1;var t=Svt(),e=kpt(),r=oht().String;return Tht=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function Dvt(){if(Pht)return kht;Pht=1;var t=Cvt();return kht=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Ovt(){if(Iht)return Bht;Iht=1;var t=bvt(),e=$pt(),r=Evt(),n=Dvt(),o=Object;return Bht=n?function(t){return"symbol"==typeof t}:function(n){var i=t("Symbol");return e(i)&&r(i.prototype,o(n))}}function Avt(){if(Rht)return Fht;Rht=1;var t=String;return Fht=function(e){try{return t(e)}catch(t){return"Object"}}}function xvt(){if(_ht)return Lht;_ht=1;var t=$pt(),e=Avt(),r=TypeError;return Lht=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function Tvt(){if(Mht)return jht;Mht=1;var t=xvt(),e=Fpt();return jht=function(r,n){var o=r[n];return e(o)?void 0:t(o)}}function Nvt(){if(Uht)return $ht;Uht=1;var t=uht();return $ht=function(e,r){return t[e]||(t[e]=r||{})}}function kvt(){if(Ght)return Vht;Ght=1;var t=Ipt(),e=0,r=Math.random(),n=t(1.1.toString);return Vht=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function Pvt(){if(qht)return Wht;qht=1;var t=oht(),e=Nvt(),r=_pt(),n=kvt(),o=Cvt(),i=Dvt(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||n;return Wht=function(t){return r(a,t)||(a[t]=o&&r(u,t)?u[t]:s("Symbol."+t)),a[t]}}function Bvt(){if(Yht)return Kht;Yht=1;var t=mvt(),e=cht(),r=Ovt(),n=Tvt(),o=function(){if(Hht)return zht;Hht=1;var t=mvt(),e=$pt(),r=cht(),n=TypeError;return zht=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!r(a=t(u,o)))return a;if(e(u=o.valueOf)&&!r(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!r(a=t(u,o)))return a;throw new n("Can't convert object to primitive value")},zht}(),i=Pvt(),u=TypeError,a=i("toPrimitive");return Kht=function(i,s){if(!e(i)||r(i))return i;var c,l=n(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||r(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}function Ivt(){if(Jht)return Xht;Jht=1;var t=Bvt(),e=Ovt();return Xht=function(r){var n=t(r,"string");return e(n)?n:n+""}}function Fvt(){if(Zht)return pvt;Zht=1;var t=Ppt(),e=vvt(),r=gvt(),n=yvt(),o=Ivt(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return pvt.f=t?r?function(t,e,r){if(n(t),e=o(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&l in r&&!r[l]){var i=a(t,e);i&&i[l]&&(t[e]=r.value,r={configurable:c in r?r[c]:i[c],enumerable:s in r?r[s]:i[s],writable:!1})}return u(t,e,r)}:u:function(t,r,a){if(n(t),r=o(r),n(a),e)try{return u(t,r,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[r]=a.value),t},pvt}function Rvt(){return tvt?Qht:(tvt=1,Qht=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function Lvt(){if(rvt)return evt;rvt=1;var t=Ppt(),e=Fvt(),r=Rvt();return evt=t?function(t,n,o){return e.f(t,n,r(1,o))}:function(t,e,r){return t[e]=r,t}}function _vt(){if(ovt)return nvt;ovt=1;var t=Nvt(),e=kvt(),r=t("keys");return nvt=function(t){return r[t]||(r[t]=e(t))}}function jvt(){return uvt?ivt:(uvt=1,ivt={})}function Mvt(){if(svt)return avt;svt=1;var t,e,r,n=sht(),o=oht(),i=cht(),u=Lvt(),a=_pt(),s=uht(),c=_vt(),l=jvt(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(n||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},r=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},r=function(t){return a(t,v)}}return avt={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!i(r)||(n=e(r)).type!==t)throw new d("Incompatible receiver, "+t+" required");return n}}}}function zvt(){if(cvt)return Hpt.exports;cvt=1;var t=Ipt(),e=kpt(),r=$pt(),n=_pt(),o=Ppt(),i=jpt().CONFIGURABLE,u=aht(),a=Mvt(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=Hpt.exports=function(t,e,r){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return n(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return r(this)&&c(this).source||u(this)},"toString"),Hpt.exports}function Hvt(){if(fvt)return lvt;fvt=1;var t=zvt(),e=Fvt();return lvt=function(r,n,o){return o.get&&t(o.get,n,{getter:!0}),o.set&&t(o.set,n,{setter:!0}),e.f(r,n,o)}}!function(){if(dvt)return Npt;dvt=1;var t=Ppt(),e=jpt().EXISTS,r=Ipt(),n=Hvt(),o=Function.prototype,i=r(o.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,a=r(u.exec);t&&!e&&n(o,"name",{configurable:!0,get:function(){try{return a(u,i(this))[1]}catch(t){return""}}})}();var $vt,Uvt,Vvt,Gvt,Wvt,qvt,Kvt,Yvt,Xvt,Jvt,Zvt={},Qvt={},tgt={};function egt(){if(Vvt)return Uvt;Vvt=1;var t=Ipt(),e=t({}.toString),r=t("".slice);return Uvt=function(t){return r(e(t),8,-1)}}function rgt(){if(Wvt)return Gvt;Wvt=1;var t=Ipt(),e=kpt(),r=egt(),n=Object,o=t("".split);return Gvt=e(function(){return!n("z").propertyIsEnumerable(0)})?function(t){return"String"===r(t)?o(t,""):n(t)}:n}function ngt(){if(Kvt)return qvt;Kvt=1;var t=rgt(),e=Rpt();return qvt=function(r){return t(e(r))}}function ogt(){if(Yvt)return Qvt;Yvt=1;var t=Ppt(),e=mvt(),r=function(){if($vt)return tgt;$vt=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return tgt.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,tgt}(),n=Rvt(),o=ngt(),i=Ivt(),u=_pt(),a=vvt(),s=Object.getOwnPropertyDescriptor;return Qvt.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return n(!e(r.f,t,c),t[c])},Qvt}function igt(){if(Jvt)return Xvt;Jvt=1;var t=$pt(),e=Fvt(),r=zvt(),n=iht();return Xvt=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&r(u,c,a),a.global)s?o[i]=u:n(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var ugt,agt,sgt,cgt,lgt,fgt,dgt,pgt,hgt,vgt,ggt,ygt,mgt,bgt,Egt,wgt,Sgt,Cgt={};function Dgt(){if(cgt)return sgt;cgt=1;var t=function(){if(agt)return ugt;agt=1;var t=Math.ceil,e=Math.floor;return ugt=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return sgt=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function Ogt(){if(fgt)return lgt;fgt=1;var t=Dgt(),e=Math.max,r=Math.min;return lgt=function(n,o){var i=t(n);return i<0?e(i+o,0):r(i,o)}}function Agt(){if(vgt)return hgt;vgt=1;var t=function(){if(pgt)return dgt;pgt=1;var t=Dgt(),e=Math.min;return dgt=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}();return hgt=function(e){return t(e.length)}}function xgt(){if(bgt)return mgt;bgt=1;var t=Ipt(),e=_pt(),r=ngt(),n=function(){if(ygt)return ggt;ygt=1;var t=ngt(),e=Ogt(),r=Agt(),n=function(n){return function(o,i,u){var a=t(o),s=r(a);if(0===s)return!n&&-1;var c,l=e(u,s);if(n&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((n||l in a)&&a[l]===i)return n||l||0;return!n&&-1}};return ggt={includes:n(!0),indexOf:n(!1)}}().indexOf,o=jvt(),i=t([].push);return mgt=function(t,u){var a,s=r(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~n(l,a)||i(l,a));return l}}function Tgt(){return wgt?Egt:(wgt=1,Egt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function Ngt(){if(Sgt)return Cgt;Sgt=1;var t=xgt(),e=Tgt().concat("length","prototype");return Cgt.f=Object.getOwnPropertyNames||function(r){return t(r,e)},Cgt}var kgt,Pgt,Bgt,Igt,Fgt,Rgt,Lgt,_gt,jgt,Mgt,zgt,Hgt,$gt={};function Ugt(){if(Fgt)return Igt;Fgt=1;var t=_pt(),e=function(){if(Bgt)return Pgt;Bgt=1;var t=bvt(),e=Ipt(),r=Ngt(),n=(kgt||(kgt=1,$gt.f=Object.getOwnPropertySymbols),$gt),o=yvt(),i=e([].concat);return Pgt=t("Reflect","ownKeys")||function(t){var e=r.f(o(t)),u=n.f;return u?i(e,u(t)):e}}(),r=ogt(),n=Fvt();return Igt=function(o,i,u){for(var a=e(i),s=n.f,c=r.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function Vgt(){if(Lgt)return Rgt;Lgt=1;var t=kpt(),e=$pt(),r=/#|\.prototype\./,n=function(r,n){var s=i[o(r)];return s===a||s!==u&&(e(n)?t(n):!!n)},o=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},i=n.data={},u=n.NATIVE="N",a=n.POLYFILL="P";return Rgt=n}function Ggt(){if(jgt)return _gt;jgt=1;var t=oht(),e=ogt().f,r=Lvt(),n=igt(),o=iht(),i=Ugt(),u=Vgt();return _gt=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&r(d,"sham",!0),n(c,l,d,a)}}}function Wgt(){if(zgt)return Mgt;zgt=1;var t=kpt();return Mgt=function(e,r){var n=[][e];return!!n&&t(function(){n.call(null,r||function(){return 1},1)})}}!function(){if(Hgt)return Zvt;Hgt=1;var t=Ggt(),e=Ipt(),r=rgt(),n=ngt(),o=Wgt(),i=e([].join);t({target:"Array",proto:!0,forced:r!==Object||!o("join",",")},{join:function(t){return i(n(this),void 0===t?",":t)}})}();var qgt,Kgt,Ygt,Xgt,Jgt,Zgt,Qgt,tyt,eyt,ryt,nyt={};function oyt(){if(Kgt)return qgt;Kgt=1;var t={};return t[Pvt()("toStringTag")]="z",qgt="[object z]"===String(t)}function iyt(){if(Xgt)return Ygt;Xgt=1;var t=oyt(),e=$pt(),r=egt(),n=Pvt()("toStringTag"),o=Object,i="Arguments"===r(function(){return arguments}());return Ygt=t?r:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),n))?a:i?r(u):"Object"===(s=r(u))&&e(u.callee)?"Arguments":s}}function uyt(){if(Zgt)return Jgt;Zgt=1;var t=iyt(),e=String;return Jgt=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}function ayt(){if(tyt)return Qgt;tyt=1;var t=yvt();return Qgt=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}var syt,cyt,lyt,fyt,dyt,pyt,hyt,vyt,gyt,yyt,myt,byt,Eyt,wyt,Syt,Cyt,Dyt,Oyt,Ayt,xyt,Tyt,Nyt,kyt,Pyt,Byt,Iyt,Fyt,Ryt,Lyt,_yt,jyt,Myt,zyt,Hyt,$yt,Uyt,Vyt,Gyt,Wyt,qyt,Kyt,Yyt,Xyt={};function Jyt(){if(dyt)return fyt;dyt=1;var t=bvt();return fyt=t("document","documentElement")}function Zyt(){if(hyt)return pyt;hyt=1;var t,e=yvt(),r=function(){if(lyt)return Xyt;lyt=1;var t=Ppt(),e=gvt(),r=Fvt(),n=yvt(),o=ngt(),i=function(){if(cyt)return syt;cyt=1;var t=xgt(),e=Tgt();return syt=Object.keys||function(r){return t(r,e)}}();return Xyt.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)r.f(t,u=s[l++],a[u]);return t},Xyt}(),n=Tgt(),o=jvt(),i=Jyt(),u=hvt(),a=_vt(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,o;h="undefined"!=typeof document?document.domain&&t?p(t):(r=u("iframe"),o="java"+c+":",r.style.display="none",i.appendChild(r),r.src=String(o),(e=r.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=n.length;a--;)delete h[s][n[a]];return h()};return o[l]=!0,pyt=Object.create||function(t,n){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===n?o:r.f(o,n)}}function Qyt(){return Oyt?Dyt:(Oyt=1,Dyt={})}function tmt(){if(Nyt)return Tyt;Nyt=1;var t=_pt(),e=$pt(),r=Lpt(),n=_vt(),o=function(){if(xyt)return Ayt;xyt=1;var t=kpt();return Ayt=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=n("IE_PROTO"),u=Object,a=u.prototype;return Tyt=o?u.getPrototypeOf:function(n){var o=r(n);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function emt(){if(Pyt)return kyt;Pyt=1;var t,e,r,n=kpt(),o=$pt(),i=cht(),u=Zyt(),a=tmt(),s=igt(),c=Pvt(),l=nht(),f=c("iterator"),d=!1;return[].keys&&("next"in(r=[].keys())?(e=a(a(r)))!==Object.prototype&&(t=e):d=!0),!i(t)||n(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),kyt={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function rmt(){if(Iyt)return Byt;Iyt=1;var t=Fvt().f,e=_pt(),r=Pvt()("toStringTag");return Byt=function(n,o,i){n&&!i&&(n=n.prototype),n&&!e(n,r)&&t(n,r,{configurable:!0,value:o})}}function nmt(){if(Hyt)return zyt;Hyt=1;var t=function(){if(Myt)return jyt;Myt=1;var t=cht();return jyt=function(e){return t(e)||null===e}}(),e=String,r=TypeError;return zyt=function(n){if(t(n))return n;throw new r("Can't set "+e(n)+" as a prototype")}}function omt(){if(Uyt)return $yt;Uyt=1;var t=function(){if(_yt)return Lyt;_yt=1;var t=Ipt(),e=xvt();return Lyt=function(r,n,o){try{return t(e(Object.getOwnPropertyDescriptor(r,n)[o]))}catch(t){}}}(),e=cht(),r=Rpt(),n=nmt();return $yt=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return r(t),n(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function imt(){if(Gyt)return Vyt;Gyt=1;var t=Ggt(),e=mvt(),r=nht(),n=jpt(),o=$pt(),i=function(){if(Ryt)return Fyt;Ryt=1;var t=emt().IteratorPrototype,e=Zyt(),r=Rvt(),n=rmt(),o=Qyt(),i=function(){return this};return Fyt=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:r(+!c,s)}),n(u,l,!1,!0),o[l]=i,u}}(),u=tmt(),a=omt(),s=rmt(),c=Lvt(),l=igt(),f=Pvt(),d=Qyt(),p=emt(),h=n.PROPER,v=n.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return Vyt=function(n,f,p,C,D,O,A){i(p,f,C);var x,T,N,k=function(t){if(t===D&&R)return R;if(!y&&t&&t in I)return I[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},P=f+" Iterator",B=!1,I=n.prototype,F=I[m]||I["@@iterator"]||D&&I[D],R=!y&&F||k(D),L="Array"===f&&I.entries||F;if(L&&(x=u(L.call(new n)))!==Object.prototype&&x.next&&(r||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,P,!0,!0),r&&(d[P]=S)),h&&D===E&&F&&F.name!==E&&(!r&&v?c(I,"name",E):(B=!0,R=function(){return e(F,this)})),D)if(T={values:k(E),keys:O?R:k(b),entries:k(w)},A)for(N in T)(y||B||!(N in I))&&l(I,N,T[N]);else t({target:f,proto:!0,forced:y||B},T);return r&&!A||I[m]===R||l(I,m,R,{name:D}),d[f]=R,T}}function umt(){return qyt?Wyt:(qyt=1,Wyt=function(t,e){return{value:t,done:e}})}function amt(){if(Yyt)return Kyt;Yyt=1;var t=ngt(),e=function(){if(Cyt)return Syt;Cyt=1;var t=Pvt(),e=Zyt(),r=Fvt().f,n=t("unscopables"),o=Array.prototype;return void 0===o[n]&&r(o,n,{configurable:!0,value:e(null)}),Syt=function(t){o[n][t]=!0}}(),r=Qyt(),n=Mvt(),o=Fvt().f,i=imt(),u=umt(),a=nht(),s=Ppt(),c="Array Iterator",l=n.set,f=n.getterFor(c);Kyt=i(Array,"Array",function(e,r){l(this,{type:c,target:t(e),index:0,kind:r})},function(){var t=f(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(r,!1);case"values":return u(e[r],!1)}return u([r,e[r]],!1)},"values");var d=r.Arguments=r.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return Kyt}!function(){if(wyt)return nyt;wyt=1;var t=Ggt(),e=function(){if(Eyt)return byt;Eyt=1;var t,e,r=mvt(),n=Ipt(),o=uyt(),i=ayt(),u=function(){if(ryt)return eyt;ryt=1;var t=kpt(),e=oht().RegExp,r=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),n=r||t(function(){return!e("a","y").sticky}),o=r||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return eyt={BROKEN_CARET:o,MISSED_STICKY:n,UNSUPPORTED_Y:r}}(),a=Nvt(),s=Zyt(),c=Mvt().get,l=function(){if(gyt)return vyt;gyt=1;var t=kpt(),e=oht().RegExp;return vyt=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(myt)return yyt;myt=1;var t=kpt(),e=oht().RegExp;return yyt=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=n("".charAt),g=n("".indexOf),y=n("".replace),m=n("".slice),b=(e=/b*/g,r(p,t=/a/,"a"),r(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,n,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=r(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=r(i,C),k=C.source,P=0,B=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),B=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(k="(?: "+k+")",B=" "+B,P++),n=new RegExp("^(?:"+k+")",N)),w&&(n=new RegExp("^"+k+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=r(p,T?n:C,B),T?a?(a.input=m(a.input,P),a[0]=m(a[0],P),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&r(d,a[0],n,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),byt=h}();t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e})}(),Ag&&(og.fn.append=Ag),pg&&(og.fn.on=pg),Bg&&(og.fn.remove=Bg),dg&&(og.fn.val=dg),Lg&&(og.fn.click=Lg),mg&&(og.fn.hide=mg),amt();var smt,cmt,lmt,fmt,dmt,pmt,hmt,vmt,gmt,ymt,mmt,bmt,Emt,wmt,Smt,Cmt,Dmt,Omt={};function Amt(){if(fmt)return lmt;fmt=1;var t=function(){if(cmt)return smt;cmt=1;var t=egt(),e=Ipt();return smt=function(r){if("Function"===t(r))return e(r)}}(),e=xvt(),r=Bpt(),n=t(t.bind);return lmt=function(t,o){return e(t),void 0===o?t:r?n(t,o):function(){return t.apply(o,arguments)}},lmt}function xmt(){if(pmt)return dmt;pmt=1;var t=egt();return dmt=Array.isArray||function(e){return"Array"===t(e)}}function Tmt(){if(vmt)return hmt;vmt=1;var t=Ipt(),e=kpt(),r=$pt(),n=iyt(),o=bvt(),i=aht(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!r(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,hmt=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function Nmt(){if(bmt)return mmt;bmt=1;var t=function(){if(ymt)return gmt;ymt=1;var t=xmt(),e=Tmt(),r=cht(),n=Pvt()("species"),o=Array;return gmt=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||r(u)&&null===(u=u[n]))&&(u=void 0)),void 0===u?o:u}}();return mmt=function(e,r){return new(t(e))(0===r?0:r)}}function kmt(){if(wmt)return Emt;wmt=1;var t=Amt(),e=Ipt(),r=rgt(),n=Lpt(),o=Agt(),i=Nmt(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=n(h),w=r(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return Emt={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}function Pmt(){if(Cmt)return Smt;Cmt=1;var t=kpt(),e=Pvt(),r=Svt(),n=e("species");return Smt=function(e){return r>=51||!t(function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}!function(){if(Dmt)return Omt;Dmt=1;var t=Ggt(),e=kmt().map;t({target:"Array",proto:!0,forced:!Pmt()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var Bmt,Imt,Fmt,Rmt,Lmt,_mt={};function jmt(){if(Rmt)return Fmt;Rmt=1;var t=Ipt();return Fmt=t([].slice)}!function(){if(Lmt)return _mt;Lmt=1;var t=Ggt(),e=xmt(),r=Tmt(),n=cht(),o=Ogt(),i=Agt(),u=ngt(),a=function(){if(Imt)return Bmt;Imt=1;var t=Ppt(),e=Fvt(),r=Rvt();return Bmt=function(n,o,i){t?e.f(n,o,r(0,i)):n[o]=i}}(),s=Pvt(),c=Pmt(),l=jmt(),f=c("slice"),d=s("species"),p=Array,h=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,s){var c,f,v,g=u(this),y=i(g),m=o(t,y),b=o(void 0===s?y:s,y);if(e(g)&&(c=g.constructor,(r(c)&&(c===p||e(c.prototype))||n(c)&&null===(c=c[d]))&&(c=void 0),c===p||void 0===c))return l(g,m,b);for(f=new(void 0===c?p:c)(h(b-m,0)),v=0;m<b;m++,v++)m in g&&a(f,v,g[m]);return f.length=v,f}})}();var Mmt,zmt,Hmt,$mt={};!function(){if(Hmt)return $mt;Hmt=1;var t=oyt(),e=igt(),r=function(){if(zmt)return Mmt;zmt=1;var t=oyt(),e=iyt();return Mmt=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var Umt,Vmt,Gmt,Wmt,qmt,Kmt,Ymt,Xmt,Jmt,Zmt,Qmt,tbt,ebt,rbt,nbt,obt,ibt,ubt,abt,sbt,cbt,lbt,fbt,dbt,pbt,hbt,vbt,gbt,ybt,mbt,bbt,Ebt,wbt,Sbt,Cbt,Dbt,Obt,Abt,xbt,Tbt,Nbt={};function kbt(){if(Vmt)return Umt;Vmt=1;var t=oht(),e=wvt(),r=egt(),n=function(t){return e.slice(0,t.length)===t};return Umt=n("Bun/")?"BUN":n("Cloudflare-Workers")?"CLOUDFLARE":n("Deno/")?"DENO":n("Node.js/")?"NODE":t.Bun&&"string"==typeof Bun.version?"BUN":t.Deno&&"object"==typeof Deno.version?"DENO":"process"===r(t.process)?"NODE":t.window&&t.document?"BROWSER":"REST"}function Pbt(){if(Wmt)return Gmt;Wmt=1;var t=kbt();return Gmt="NODE"===t}function Bbt(){if(Zmt)return Jmt;Zmt=1;var t=Evt(),e=TypeError;return Jmt=function(r,n){if(t(n,r))return r;throw new e("Incorrect invocation")}}function Ibt(){if(rbt)return ebt;rbt=1;var t=yvt(),e=function(){if(tbt)return Qmt;tbt=1;var t=Tmt(),e=Avt(),r=TypeError;return Qmt=function(n){if(t(n))return n;throw new r(e(n)+" is not a constructor")}}(),r=Fpt(),n=Pvt()("species");return ebt=function(o,i){var u,a=t(o).constructor;return void 0===a||r(u=t(a)[n])?i:e(u)}}function Fbt(){if(sbt)return abt;sbt=1;var t=wvt();return abt=/(?:ipad|iphone|ipod).*applewebkit/i.test(t)}function Rbt(){if(lbt)return cbt;lbt=1;var t,e,r,n,o=oht(),i=function(){if(obt)return nbt;obt=1;var t=Bpt(),e=Function.prototype,r=e.apply,n=e.call;return nbt="object"==typeof Reflect&&Reflect.apply||(t?n.bind(r):function(){return n.apply(r,arguments)}),nbt}(),u=Amt(),a=$pt(),s=_pt(),c=kpt(),l=Jyt(),f=jmt(),d=hvt(),p=function(){if(ubt)return ibt;ubt=1;var t=TypeError;return ibt=function(e,r){if(e<r)throw new t("Not enough arguments");return e}}(),h=Fbt(),v=Pbt(),g=o.setImmediate,y=o.clearImmediate,m=o.process,b=o.Dispatch,E=o.Function,w=o.MessageChannel,S=o.String,C=0,D={},O="onreadystatechange";c(function(){t=o.location});var A=function(t){if(s(D,t)){var e=D[t];delete D[t],e()}},x=function(t){return function(){A(t)}},T=function(t){A(t.data)},N=function(e){o.postMessage(S(e),t.protocol+"//"+t.host)};return g&&y||(g=function(t){p(arguments.length,1);var r=a(t)?t:E(t),n=f(arguments,1);return D[++C]=function(){i(r,void 0,n)},e(C),C},y=function(t){delete D[t]},v?e=function(t){m.nextTick(x(t))}:b&&b.now?e=function(t){b.now(x(t))}:w&&!h?(n=(r=new w).port2,r.port1.onmessage=T,e=u(n.postMessage,n)):o.addEventListener&&a(o.postMessage)&&!o.importScripts&&t&&"file:"!==t.protocol&&!c(N)?(e=N,o.addEventListener("message",T,!1)):e=O in d("script")?function(t){l.appendChild(d("script"))[O]=function(){l.removeChild(this),A(t)}}:function(t){setTimeout(x(t),0)}),cbt={set:g,clear:y}}function Lbt(){if(hbt)return pbt;hbt=1;var t=function(){this.head=null,this.tail=null};return t.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},pbt=t}function _bt(){if(Ebt)return bbt;Ebt=1;var t,e,r,n,o,i=oht(),u=function(){if(dbt)return fbt;dbt=1;var t=oht(),e=Ppt(),r=Object.getOwnPropertyDescriptor;return fbt=function(n){if(!e)return t[n];var o=r(t,n);return o&&o.value}}(),a=Amt(),s=Rbt().set,c=Lbt(),l=Fbt(),f=function(){if(gbt)return vbt;gbt=1;var t=wvt();return vbt=/ipad|iphone|ipod/i.test(t)&&"undefined"!=typeof Pebble}(),d=function(){if(mbt)return ybt;mbt=1;var t=wvt();return ybt=/web0s(?!.*chrome)/i.test(t)}(),p=Pbt(),h=i.MutationObserver||i.WebKitMutationObserver,v=i.document,g=i.process,y=i.Promise,m=u("queueMicrotask");if(!m){var b=new c,E=function(){var e,r;for(p&&(e=g.domain)&&e.exit();r=b.get();)try{r()}catch(e){throw b.head&&t(),e}e&&e.enter()};l||p||d||!h||!v?!f&&y&&y.resolve?((n=y.resolve(void 0)).constructor=y,o=a(n.then,n),t=function(){o(E)}):p?t=function(){g.nextTick(E)}:(s=a(s,i),t=function(){s(E)}):(e=!0,r=v.createTextNode(""),new h(E).observe(r,{characterData:!0}),t=function(){r.data=e=!e}),m=function(e){b.head||t(),b.add(e)}}return bbt=m}function jbt(){return Dbt?Cbt:(Dbt=1,Cbt=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}})}function Mbt(){if(Abt)return Obt;Abt=1;var t=oht();return Obt=t.Promise}function zbt(){if(Tbt)return xbt;Tbt=1;var t=oht(),e=Mbt(),r=$pt(),n=Vgt(),o=aht(),i=Pvt(),u=kbt(),a=nht(),s=Svt(),c=e&&e.prototype,l=i("species"),f=!1,d=r(t.PromiseRejectionEvent),p=n("Promise",function(){var t=o(e),r=t!==String(e);if(!r&&66===s)return!0;if(a&&(!c.catch||!c.finally))return!0;if(!s||s<51||!/native code/.test(t)){var n=new e(function(t){t(1)}),i=function(t){t(function(){},function(){})};if((n.constructor={})[l]=i,!(f=n.then(function(){})instanceof i))return!0}return!(r||"BROWSER"!==u&&"DENO"!==u||d)});return xbt={CONSTRUCTOR:p,REJECTION_EVENT:d,SUBCLASSING:f}}var Hbt,$bt,Ubt={};function Vbt(){if(Hbt)return Ubt;Hbt=1;var t=xvt(),e=TypeError,r=function(r){var n,o;this.promise=new r(function(t,r){if(void 0!==n||void 0!==o)throw new e("Bad Promise constructor");n=t,o=r}),this.resolve=t(n),this.reject=t(o)};return Ubt.f=function(t){return new r(t)},Ubt}var Gbt,Wbt,qbt,Kbt,Ybt,Xbt,Jbt,Zbt,Qbt,tEt,eEt,rEt,nEt,oEt,iEt,uEt={};function aEt(){if(Kbt)return qbt;Kbt=1;var t=iyt(),e=Tvt(),r=Fpt(),n=Qyt(),o=Pvt()("iterator");return qbt=function(i){if(!r(i))return e(i,o)||e(i,"@@iterator")||n[t(i)]}}function sEt(){if(tEt)return Qbt;tEt=1;var t=Amt(),e=mvt(),r=yvt(),n=Avt(),o=function(){if(Wbt)return Gbt;Wbt=1;var t=Pvt(),e=Qyt(),r=t("iterator"),n=Array.prototype;return Gbt=function(t){return void 0!==t&&(e.Array===t||n[r]===t)}}(),i=Agt(),u=Evt(),a=function(){if(Xbt)return Ybt;Xbt=1;var t=mvt(),e=xvt(),r=yvt(),n=Avt(),o=aEt(),i=TypeError;return Ybt=function(u,a){var s=arguments.length<2?o(u):a;if(e(s))return r(t(s,u));throw new i(n(u)+" is not iterable")},Ybt}(),s=aEt(),c=function(){if(Zbt)return Jbt;Zbt=1;var t=mvt(),e=yvt(),r=Tvt();return Jbt=function(n,o,i){var u,a;e(n);try{if(!(u=r(n,"return"))){if("throw"===o)throw i;return i}u=t(u,n)}catch(t){a=!0,u=t}if("throw"===o)throw i;if(a)throw u;return e(u),i}}(),l=TypeError,f=function(t,e){this.stopped=t,this.result=e},d=f.prototype;return Qbt=function(p,h,v){var g,y,m,b,E,w,S,C=v&&v.that,D=!(!v||!v.AS_ENTRIES),O=!(!v||!v.IS_RECORD),A=!(!v||!v.IS_ITERATOR),x=!(!v||!v.INTERRUPTED),T=t(h,C),N=function(t){return g&&c(g,"normal"),new f(!0,t)},k=function(t){return D?(r(t),x?T(t[0],t[1],N):T(t[0],t[1])):x?T(t,N):T(t)};if(O)g=p.iterator;else if(A)g=p;else{if(!(y=s(p)))throw new l(n(p)+" is not iterable");if(o(y)){for(m=0,b=i(p);b>m;m++)if((E=k(p[m]))&&u(d,E))return E;return new f(!1)}g=a(p,y)}for(w=O?p.next:g.next;!(S=e(w,g)).done;){try{E=k(S.value)}catch(t){c(g,"throw",t)}if("object"==typeof E&&E&&u(d,E))return E}return new f(!1)}}function cEt(){if(rEt)return eEt;rEt=1;var t=Pvt()("iterator"),e=!1;try{var r=0,n={next:function(){return{done:!!r++}},return:function(){e=!0}};n[t]=function(){return this},Array.from(n,function(){throw 2})}catch(t){}return eEt=function(r,n){try{if(!n&&!e)return!1}catch(t){return!1}var o=!1;try{var i={};i[t]=function(){return{next:function(){return{done:o=!0}}}},r(i)}catch(t){}return o}}function lEt(){if(oEt)return nEt;oEt=1;var t=Mbt(),e=cEt(),r=zbt().CONSTRUCTOR;return nEt=r||!e(function(e){t.all(e).then(void 0,function(){})})}var fEt,dEt,pEt,hEt,vEt,gEt,yEt,mEt={},bEt={},EEt={},wEt={};yEt||(yEt=1,function(){if($bt)return Nbt;$bt=1;var t,e,r,n,o=Ggt(),i=nht(),u=Pbt(),a=oht(),s=function(){if(Kmt)return qmt;Kmt=1;var t=oht();return qmt=t}(),c=mvt(),l=igt(),f=omt(),d=rmt(),p=function(){if(Xmt)return Ymt;Xmt=1;var t=bvt(),e=Hvt(),r=Pvt(),n=Ppt(),o=r("species");return Ymt=function(r){var i=t(r);n&&i&&!i[o]&&e(i,o,{configurable:!0,get:function(){return this}})}}(),h=xvt(),v=$pt(),g=cht(),y=Bbt(),m=Ibt(),b=Rbt().set,E=_bt(),w=(Sbt||(Sbt=1,wbt=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}),wbt),S=jbt(),C=Lbt(),D=Mvt(),O=Mbt(),A=zbt(),x=Vbt(),T="Promise",N=A.CONSTRUCTOR,k=A.REJECTION_EVENT,P=A.SUBCLASSING,B=D.getterFor(T),I=D.set,F=O&&O.prototype,R=O,L=F,_=a.TypeError,j=a.document,M=a.process,z=x.f,H=z,$=!!(j&&j.createEvent&&a.dispatchEvent),U="unhandledrejection",V=function(t){var e;return!(!g(t)||!v(e=t.then))&&e},G=function(t,e){var r,n,o,i=e.value,u=1===e.state,a=u?t.ok:t.fail,s=t.resolve,l=t.reject,f=t.domain;try{a?(u||(2===e.rejection&&X(e),e.rejection=1),!0===a?r=i:(f&&f.enter(),r=a(i),f&&(f.exit(),o=!0)),r===t.promise?l(new _("Promise-chain cycle")):(n=V(r))?c(n,r,s,l):s(r)):l(i)}catch(t){f&&!o&&f.exit(),l(t)}},W=function(t,e){t.notified||(t.notified=!0,E(function(){for(var r,n=t.reactions;r=n.get();)G(r,t);t.notified=!1,e&&!t.rejection&&K(t)}))},q=function(t,e,r){var n,o;$?((n=j.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),a.dispatchEvent(n)):n={promise:e,reason:r},!k&&(o=a["on"+t])?o(n):t===U&&w("Unhandled promise rejection",r)},K=function(t){c(b,a,function(){var e,r=t.facade,n=t.value;if(Y(t)&&(e=S(function(){u?M.emit("unhandledRejection",n,r):q(U,r,n)}),t.rejection=u||Y(t)?2:1,e.error))throw e.value})},Y=function(t){return 1!==t.rejection&&!t.parent},X=function(t){c(b,a,function(){var e=t.facade;u?M.emit("rejectionHandled",e):q("rejectionhandled",e,t.value)})},J=function(t,e,r){return function(n){t(e,n,r)}},Z=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,W(t,!0))},Q=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new _("Promise can't be resolved itself");var n=V(e);n?E(function(){var r={done:!1};try{c(n,e,J(Q,r,t),J(Z,r,t))}catch(e){Z(r,e,t)}}):(t.value=e,t.state=1,W(t,!1))}catch(e){Z({done:!1},e,t)}}};if(N&&(L=(R=function(e){y(this,L),h(e),c(t,this);var r=B(this);try{e(J(Q,r),J(Z,r))}catch(t){Z(r,t)}}).prototype,(t=function(t){I(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:0,value:null})}).prototype=l(L,"then",function(t,e){var r=B(this),n=z(m(this,R));return r.parent=!0,n.ok=!v(t)||t,n.fail=v(e)&&e,n.domain=u?M.domain:void 0,0===r.state?r.reactions.add(n):E(function(){G(n,r)}),n.promise}),e=function(){var e=new t,r=B(e);this.promise=e,this.resolve=J(Q,r),this.reject=J(Z,r)},x.f=z=function(t){return t===R||t===r?new e(t):H(t)},!i&&v(O)&&F!==Object.prototype)){n=F.then,P||l(F,"then",function(t,e){var r=this;return new R(function(t,e){c(n,r,t,e)}).then(t,e)},{unsafe:!0});try{delete F.constructor}catch(t){}f&&f(F,L)}o({global:!0,constructor:!0,wrap:!0,forced:N},{Promise:R}),r=s.Promise,d(R,T,!1,!0),p(T)}(),function(){if(iEt)return uEt;iEt=1;var t=Ggt(),e=mvt(),r=xvt(),n=Vbt(),o=jbt(),i=sEt();t({target:"Promise",stat:!0,forced:lEt()},{all:function(t){var u=this,a=n.f(u),s=a.resolve,c=a.reject,l=o(function(){var n=r(u.resolve),o=[],a=0,l=1;i(t,function(t){var r=a++,i=!1;l++,e(n,u,t).then(function(t){i||(i=!0,o[r]=t,--l||s(o))},c)}),--l||s(o)});return l.error&&c(l.value),a.promise}})}(),function(){if(fEt)return mEt;fEt=1;var t=Ggt(),e=nht(),r=zbt().CONSTRUCTOR,n=Mbt(),o=bvt(),i=$pt(),u=igt(),a=n&&n.prototype;if(t({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(t){return this.then(void 0,t)}}),!e&&i(n)){var s=o("Promise").prototype.catch;a.catch!==s&&u(a,"catch",s,{unsafe:!0})}}(),function(){if(dEt)return bEt;dEt=1;var t=Ggt(),e=mvt(),r=xvt(),n=Vbt(),o=jbt(),i=sEt();t({target:"Promise",stat:!0,forced:lEt()},{race:function(t){var u=this,a=n.f(u),s=a.reject,c=o(function(){var n=r(u.resolve);i(t,function(t){e(n,u,t).then(a.resolve,s)})});return c.error&&s(c.value),a.promise}})}(),function(){if(pEt)return EEt;pEt=1;var t=Ggt(),e=Vbt();t({target:"Promise",stat:!0,forced:zbt().CONSTRUCTOR},{reject:function(t){var r=e.f(this);return(0,r.reject)(t),r.promise}})}(),function(){if(gEt)return wEt;gEt=1;var t=Ggt(),e=bvt(),r=nht(),n=Mbt(),o=zbt().CONSTRUCTOR,i=function(){if(vEt)return hEt;vEt=1;var t=yvt(),e=cht(),r=Vbt();return hEt=function(n,o){if(t(n),e(o)&&o.constructor===n)return o;var i=r.f(n);return(0,i.resolve)(o),i.promise}}(),u=e("Promise"),a=r&&!o;t({target:"Promise",stat:!0,forced:r||o},{resolve:function(t){return i(a&&this===u?n:this,t)}})}());var SEt,CEt,DEt,OEt,AEt,xEt={};!function(){if(AEt)return xEt;AEt=1;var t=jpt().PROPER,e=igt(),r=yvt(),n=uyt(),o=kpt(),i=function(){if(OEt)return DEt;OEt=1;var t=mvt(),e=_pt(),r=Evt(),n=function(){if(CEt)return SEt;CEt=1;var t=oht(),e=kpt(),r=t.RegExp,n=!e(function(){var t=!0;try{r(".","d")}catch(e){t=!1}var e={},n="",o=t?"dgimsy":"gimsy",i=function(t,r){Object.defineProperty(e,t,{get:function(){return n+=r,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(e)!==o||n!==o});return SEt={correct:n}}(),o=ayt(),i=RegExp.prototype;return DEt=n.correct?function(t){return t.flags}:function(u){return n.correct||!r(i,u)||e(u,"flags")?u.flags:t(o,u)}}(),u="toString",a=RegExp.prototype,s=a[u],c=o(function(){return"/a/b"!==s.call({source:"a",flags:"b"})}),l=t&&s.name!==u;(c||l)&&e(a,u,function(){var t=r(this);return"/"+n(t.source)+"/"+n(i(t))},{unsafe:!0})}();var TEt,NEt,kEt,PEt={};!function(){if(kEt)return PEt;kEt=1;var t=function(){if(NEt)return TEt;NEt=1;var t=Ipt(),e=Dgt(),r=uyt(),n=Rpt(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=r(n(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return TEt={codeAt:a(!1),charAt:a(!0)}}().charAt,e=uyt(),r=Mvt(),n=imt(),o=umt(),i="String Iterator",u=r.set,a=r.getterFor(i);n(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,r=a(this),n=r.string,i=r.index;return i>=n.length?o(void 0,!0):(e=t(n,i),r.index+=e.length,o(e,!1))})}();var BEt,IEt,FEt,REt,LEt={};function _Et(){if(IEt)return BEt;IEt=1;var t=kpt();return BEt=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})}function jEt(){if(REt)return FEt;REt=1;var t=igt();return FEt=function(e,r,n){for(var o in r)t(e,o,r[o],n);return e}}var MEt,zEt,HEt,$Et,UEt,VEt,GEt,WEt,qEt,KEt,YEt,XEt,JEt,ZEt,QEt={exports:{}},twt={};function ewt(){if(VEt)return QEt.exports;VEt=1;var t=Ggt(),e=Ipt(),r=jvt(),n=cht(),o=_pt(),i=Fvt().f,u=Ngt(),a=function(){if(MEt)return twt;MEt=1;var t=egt(),e=ngt(),r=Ngt().f,n=jmt(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return twt.f=function(i){return o&&"Window"===t(i)?function(t){try{return r(t)}catch(t){return n(o)}}(i):r(e(i))},twt}(),s=function(){if(UEt)return $Et;UEt=1;var t=kpt(),e=cht(),r=egt(),n=function(){if(HEt)return zEt;HEt=1;var t=kpt();return zEt=t(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})}(),o=Object.isExtensible,i=t(function(){});return $Et=i||n?function(t){return!!e(t)&&(!n||"ArrayBuffer"!==r(t))&&(!o||o(t))}:o}(),c=kvt(),l=_Et(),f=!1,d=c("meta"),p=0,h=function(t){i(t,d,{value:{objectID:"O"+p++,weakData:{}}})},v=QEt.exports={enable:function(){v.enable=function(){},f=!0;var r=u.f,n=e([].splice),o={};o[d]=1,r(o).length&&(u.f=function(t){for(var e=r(t),o=0,i=e.length;o<i;o++)if(e[o]===d){n(e,o,1);break}return e},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!n(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,d)){if(!s(t))return"F";if(!e)return"E";h(t)}return t[d].objectID},getWeakData:function(t,e){if(!o(t,d)){if(!s(t))return!0;if(!e)return!1;h(t)}return t[d].weakData},onFreeze:function(t){return l&&f&&s(t)&&!o(t,d)&&h(t),t}};return r[d]=!0,QEt.exports}function rwt(){if(KEt)return qEt;KEt=1;var t=Ggt(),e=oht(),r=Ipt(),n=Vgt(),o=igt(),i=ewt(),u=sEt(),a=Bbt(),s=$pt(),c=Fpt(),l=cht(),f=kpt(),d=cEt(),p=rmt(),h=function(){if(WEt)return GEt;WEt=1;var t=$pt(),e=cht(),r=omt();return GEt=function(n,o,i){var u,a;return r&&t(u=o.constructor)&&u!==i&&e(a=u.prototype)&&a!==i.prototype&&r(n,a),n}}();return qEt=function(v,g,y){var m=-1!==v.indexOf("Map"),b=-1!==v.indexOf("Weak"),E=m?"set":"add",w=e[v],S=w&&w.prototype,C=w,D={},O=function(t){var e=r(S[t]);o(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!l(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(n(v,!s(w)||!(b||S.forEach&&!f(function(){(new w).entries().next()}))))C=y.getConstructor(g,v,m,E),i.enable();else if(n(v,!0)){var A=new C,x=A[E](b?{}:-0,1)!==A,T=f(function(){A.has(1)}),N=d(function(t){new w(t)}),k=!b&&f(function(){for(var t=new w,e=5;e--;)t[E](e,e);return!t.has(-0)});N||((C=g(function(t,e){a(t,S);var r=h(new w,t,C);return c(e)||u(e,r[E],{that:r,AS_ENTRIES:m}),r})).prototype=S,S.constructor=C),(T||k)&&(O("delete"),O("has"),m&&O("get")),(k||x)&&O(E),b&&S.clear&&delete S.clear}return D[v]=C,t({global:!0,constructor:!0,forced:C!==w},D),p(C,v),b||y.setStrong(C,v,m),C}}ZEt||(ZEt=1,function(){if(JEt)return LEt;JEt=1;var t,e=_Et(),r=oht(),n=Ipt(),o=jEt(),i=ewt(),u=rwt(),a=function(){if(XEt)return YEt;XEt=1;var t=Ipt(),e=jEt(),r=ewt().getWeakData,n=Bbt(),o=yvt(),i=Fpt(),u=cht(),a=sEt(),s=kmt(),c=_pt(),l=Mvt(),f=l.set,d=l.getterFor,p=s.find,h=s.findIndex,v=t([].splice),g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return p(t.entries,function(t){return t[0]===e})};return m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var r=b(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,function(e){return e[0]===t});return~e&&v(this.entries,e,1),!!~e}},YEt={getConstructor:function(t,s,l,p){var h=t(function(t,e){n(t,v),f(t,{type:s,id:g++,frozen:null}),i(e)||a(e,t[p],{that:t,AS_ENTRIES:l})}),v=h.prototype,m=d(s),b=function(t,e,n){var i=m(t),u=r(o(e),!0);return!0===u?y(i).set(e,n):u[i.id]=n,t};return e(v,{delete:function(t){var e=m(this);if(!u(t))return!1;var n=r(t);return!0===n?y(e).delete(t):n&&c(n,e.id)&&delete n[e.id]},has:function(t){var e=m(this);if(!u(t))return!1;var n=r(t);return!0===n?y(e).has(t):n&&c(n,e.id)}}),e(v,l?{get:function(t){var e=m(this);if(u(t)){var n=r(t);if(!0===n)return y(e).get(t);if(n)return n[e.id]}},set:function(t,e){return b(this,t,e)}}:{add:function(t){return b(this,t,!0)}}),h}}}(),s=cht(),c=Mvt().enforce,l=kpt(),f=sht(),d=Object,p=Array.isArray,h=d.isExtensible,v=d.isFrozen,g=d.isSealed,y=d.freeze,m=d.seal,b=!r.ActiveXObject&&"ActiveXObject"in r,E=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},w=u("WeakMap",E,a),S=w.prototype,C=n(S.set);if(f)if(b){t=a.getConstructor(E,"WeakMap",!0),i.enable();var D=n(S.delete),O=n(S.has),A=n(S.get);o(S,{delete:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),D(this,e)||r.frozen.delete(e)}return D(this,e)},has:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),O(this,e)||r.frozen.has(e)}return O(this,e)},get:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),O(this,e)?A(this,e):r.frozen.get(e)}return A(this,e)},set:function(e,r){if(s(e)&&!h(e)){var n=c(this);n.frozen||(n.frozen=new t),O(this,e)?C(this,e,r):n.frozen.set(e,r)}else C(this,e,r);return this}})}else e&&l(function(){var t=y([]);return C(new w,t,1),!v(t)})&&o(S,{set:function(t,e){var r;return p(t)&&(v(t)?r=y:g(t)&&(r=m)),C(this,t,e),r&&r(t),this}})}());var nwt,owt,iwt,uwt,awt,swt,cwt,lwt={};function fwt(){return owt?nwt:(owt=1,nwt={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})}function dwt(){if(uwt)return iwt;uwt=1;var t=hvt()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return iwt=e===Object.prototype?void 0:e}!function(){if(cwt)return lwt;cwt=1;var t=oht(),e=fwt(),r=dwt(),n=function(){if(swt)return awt;swt=1;var t=kmt().forEach,e=Wgt()("forEach");return awt=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},awt}(),o=Lvt(),i=function(t){if(t&&t.forEach!==n)try{o(t,"forEach",n)}catch(e){t.forEach=n}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(r)}();var pwt,hwt={};!function(){if(pwt)return hwt;pwt=1;var t=oht(),e=fwt(),r=dwt(),n=amt(),o=Lvt(),i=rmt(),u=Pvt()("iterator"),a=n.values,s=function(t,r){if(t){if(t[u]!==a)try{o(t,u,a)}catch(e){t[u]=a}if(i(t,r,!0),e[r])for(var s in n)if(t[s]!==n[s])try{o(t,s,n[s])}catch(e){t[s]=n[s]}}};for(var c in e)s(t[c]&&t[c].prototype,c);s(r,"DOMTokenList")}();var vwt=function(){return vwt=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},vwt.apply(this,arguments)};function gwt(t,e,r,n){return new(r||(r=Promise))(function(e,o){function i(t){try{a(n.next(t))}catch(t){o(t)}}function u(t){try{a(n.throw(t))}catch(t){o(t)}}function a(t){var n;t.done?e(t.value):(n=t.value,n instanceof r?n:new r(function(t){t(n)})).then(i,u)}a((n=n.apply(t,[])).next())})}function ywt(t,e){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=a(0),u.throw=a(1),u.return=a(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;u&&(u=0,a[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function mwt(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,r=t[Symbol.asyncIterator];return r?r.call(t):(t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(r){e[r]=t[r]&&function(e){return new Promise(function(n,o){!function(t,e,r,n){Promise.resolve(n).then(function(e){t({value:e,done:r})},e)}(n,o,(e=t[r](e)).done,e.value)})}}}"function"==typeof SuppressedError&&SuppressedError;var bwt=new WeakMap;function Ewt(t){return t.getMenuConfig("uploadImage")}function wwt(t,e){return gwt(this,0,void 0,function(){return ywt(this,function(r){return[2,new Promise(function(r){var n=new FileReader;n.readAsDataURL(e),n.onload=function(){var o=n.result;if(o){var i=o.toString(),u=0===i.indexOf("data:image")?"":i;aZ(t,i,e.name,u),r("ok")}}})]})})}function Swt(t,e){return gwt(this,0,void 0,function(){var r,n;return ywt(this,function(o){switch(o.label){case 0:return r=function(t){var e=bwt.get(t);if(null!=e)return e;var r=Ewt(t),n=r.onSuccess,o=r.onProgress,i=r.onFailed,u=r.customInsert,a=r.onError;return e=QR(vwt(vwt({},r),{onProgress:function(e){t.showProgressBar(e),o&&o(e)},onSuccess:function(e,r){if(u)return u(r,function(e,r,n){return aZ(t,e,r,n)}),void n(e,r);var o=r.errno,a=void 0===o?1:o,s=r.data,c=void 0===s?{}:s;if(0===a){if(Array.isArray(c))c.forEach(function(e){var r=e.url,n=void 0===r?"":r,o=e.alt,i=void 0===o?"":o,u=e.href;aZ(t,n,i,void 0===u?"":u)});else{var l=c.url,f=void 0===l?"":l,d=c.alt,p=void 0===d?"":d,h=c.href;aZ(t,f,p,void 0===h?"":h)}n(e,r)}else i(e,r)},onError:function(t,e,r){a(t,e,r)}})),bwt.set(t,e),e}(t),n=e.map(function(t){return{name:t.name,type:t.type,size:t.size,data:t}}),r.addFiles(n),[4,r.upload()];case 1:return o.sent(),[2]}})})}function Cwt(t,e){return gwt(this,0,void 0,function(){var r,n,o,i,u,a,s,c,l,f,d,p,h,v,g;return ywt(this,function(y){switch(y.label){case 0:if(null==e)return[2];r=Array.prototype.slice.call(e),n=Ewt(t),o=n.customUpload,i=n.base64LimitSize,u=[],y.label=1;case 1:y.trys.push([1,10,11,16]),a=!0,s=mwt(r),y.label=2;case 2:return[4,s.next()];case 3:return c=y.sent(),(p=c.done)?[3,9]:(g=c.value,a=!1,f=(l=g).size,i&&f<=i?[4,wwt(t,l)]:[3,5]);case 4:return y.sent(),[3,8];case 5:return o?[4,o(l,function(e,r,n){return aZ(t,e,r,n)})]:[3,7];case 6:return y.sent(),[3,8];case 7:u.push(l),y.label=8;case 8:return a=!0,[3,2];case 9:return[3,16];case 10:return d=y.sent(),h={error:d},[3,16];case 11:return y.trys.push([11,,14,15]),a||p||!(v=s.return)?[3,13]:[4,v.call(s)];case 12:y.sent(),y.label=13;case 13:return[3,15];case 14:if(h)throw h.error;return[7];case 15:return[7];case 16:return u.length>0?[4,Swt(t,u)]:[3,18];case 17:y.sent(),y.label=18;case 18:return[2]}})})}var Dwt=function(){function t(){this.title=RF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return oZ(t)},t.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadImage")},t.prototype.exec=function(t,e){var r=this.getMenuConfig(t),n=r.allowedFileTypes,o=void 0===n?[]:n,i=r.customBrowseAndUpload;if(i)i(function(e,r,n){return aZ(t,e,r,n)});else{var u="";o.length>0&&(u='accept="'.concat(o.join(", "),'"'));var a=og("body"),s=og('<input type="file" '.concat(u," multiple/>"));s.hide(),a.append(s),s.click(),s.on("change",function(){var e=s[0].files;Cwt(t,e)})}},t}(),Owt={menus:[{key:"uploadImage",factory:function(){return new Dwt},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("'".concat(t.name,"' upload failed"),e)},onError:function(t,e,r){console.error("'".concat(t.name,"' upload error"),r)},base64LimitSize:0}}],editorPlugin:function(t){var e=t.insertData,r=t;return r.insertData=function(n){if(oZ(r))e(n);else if(n.getData("text/plain"))e(n);else{var o=n.files;o.length<=0?e(n):Array.prototype.slice.call(o).some(function(t){return"image"===function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u}(t.type.split("/"),1)[0]})?Cwt(t,o):e(n)}},r}};PF("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",edit:"Edit video",width:"Width",height:"Height"}}),PF("zh-CN",{videoModule:{delete:"删除视频",uploadVideo:"上传视频",insertVideo:"插入视频",videoSrc:"视频地址",videoSrcPlaceHolder:"视频文件 url 或第三方 <iframe>",videoPoster:"视频封面",videoPosterPlaceHolder:"封面图片 url",ok:"确定",editSize:"修改尺寸",edit:"编辑视频",width:"宽度",height:"高度"}});var Awt,xwt,Twt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Nwt={};function kwt(){if(xwt)return Awt;xwt=1;var t=function(t){return t&&t.Math===Math&&t};return Awt=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof Twt&&Twt)||t("object"==typeof Awt&&Awt)||function(){return this}()||Function("return this")()}var Pwt,Bwt,Iwt,Fwt,Rwt,Lwt,_wt,jwt,Mwt={};function zwt(){return Bwt?Pwt:(Bwt=1,Pwt=function(t){try{return!!t()}catch(t){return!0}})}function Hwt(){if(Fwt)return Iwt;Fwt=1;var t=zwt();return Iwt=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function $wt(){if(Lwt)return Rwt;Lwt=1;var t=zwt();return Rwt=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function Uwt(){if(jwt)return _wt;jwt=1;var t=$wt(),e=Function.prototype.call;return _wt=t?e.bind(e):function(){return e.apply(e,arguments)},_wt}var Vwt,Gwt,Wwt,qwt,Kwt,Ywt,Xwt,Jwt,Zwt,Qwt,tSt,eSt,rSt,nSt,oSt,iSt,uSt,aSt,sSt,cSt,lSt,fSt,dSt,pSt,hSt,vSt,gSt,ySt,mSt,bSt,ESt,wSt,SSt,CSt,DSt,OSt,ASt,xSt,TSt,NSt,kSt,PSt={};function BSt(){return Wwt?Gwt:(Wwt=1,Gwt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function ISt(){if(Kwt)return qwt;Kwt=1;var t=$wt(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return qwt=t?n:function(t){return function(){return r.apply(t,arguments)}},qwt}function FSt(){if(Xwt)return Ywt;Xwt=1;var t=ISt(),e=t({}.toString),r=t("".slice);return Ywt=function(t){return r(e(t),8,-1)}}function RSt(){if(Zwt)return Jwt;Zwt=1;var t=ISt(),e=zwt(),r=FSt(),n=Object,o=t("".split);return Jwt=e(function(){return!n("z").propertyIsEnumerable(0)})?function(t){return"String"===r(t)?o(t,""):n(t)}:n}function LSt(){return tSt?Qwt:(tSt=1,Qwt=function(t){return null==t})}function _St(){if(rSt)return eSt;rSt=1;var t=LSt(),e=TypeError;return eSt=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function jSt(){if(oSt)return nSt;oSt=1;var t=RSt(),e=_St();return nSt=function(r){return t(e(r))}}function MSt(){if(uSt)return iSt;uSt=1;var t="object"==typeof document&&document.all;return iSt=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function zSt(){if(sSt)return aSt;sSt=1;var t=MSt();return aSt=function(e){return"object"==typeof e?null!==e:t(e)}}function HSt(){if(lSt)return cSt;lSt=1;var t=kwt(),e=MSt();return cSt=function(r,n){return arguments.length<2?(o=t[r],e(o)?o:void 0):t[r]&&t[r][n];var o},cSt}function $St(){if(dSt)return fSt;dSt=1;var t=ISt();return fSt=t({}.isPrototypeOf)}function USt(){if(hSt)return pSt;hSt=1;var t=kwt().navigator,e=t&&t.userAgent;return pSt=e?String(e):""}function VSt(){if(gSt)return vSt;gSt=1;var t,e,r=kwt(),n=USt(),o=r.process,i=r.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),vSt=e}function GSt(){if(mSt)return ySt;mSt=1;var t=VSt(),e=zwt(),r=kwt().String;return ySt=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function WSt(){if(ESt)return bSt;ESt=1;var t=GSt();return bSt=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function qSt(){if(SSt)return wSt;SSt=1;var t=HSt(),e=MSt(),r=$St(),n=WSt(),o=Object;return wSt=n?function(t){return"symbol"==typeof t}:function(n){var i=t("Symbol");return e(i)&&r(i.prototype,o(n))}}function KSt(){if(DSt)return CSt;DSt=1;var t=String;return CSt=function(e){try{return t(e)}catch(t){return"Object"}}}function YSt(){if(ASt)return OSt;ASt=1;var t=MSt(),e=KSt(),r=TypeError;return OSt=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function XSt(){if(TSt)return xSt;TSt=1;var t=YSt(),e=LSt();return xSt=function(r,n){var o=r[n];return e(o)?void 0:t(o)}}var JSt,ZSt,QSt,tCt,eCt,rCt,nCt,oCt,iCt,uCt,aCt,sCt,cCt,lCt,fCt,dCt,pCt,hCt,vCt,gCt,yCt,mCt,bCt,ECt,wCt={exports:{}};function SCt(){return ZSt?JSt:(ZSt=1,JSt=!1)}function CCt(){if(tCt)return QSt;tCt=1;var t=kwt(),e=Object.defineProperty;return QSt=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function DCt(){if(eCt)return wCt.exports;eCt=1;var t=SCt(),e=kwt(),r=CCt(),n="__core-js_shared__",o=wCt.exports=e[n]||r(n,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),wCt.exports}function OCt(){if(nCt)return rCt;nCt=1;var t=DCt();return rCt=function(e,r){return t[e]||(t[e]=r||{})}}function ACt(){if(iCt)return oCt;iCt=1;var t=_St(),e=Object;return oCt=function(r){return e(t(r))}}function xCt(){if(aCt)return uCt;aCt=1;var t=ISt(),e=ACt(),r=t({}.hasOwnProperty);return uCt=Object.hasOwn||function(t,n){return r(e(t),n)}}function TCt(){if(cCt)return sCt;cCt=1;var t=ISt(),e=0,r=Math.random(),n=t(1.1.toString);return sCt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function NCt(){if(fCt)return lCt;fCt=1;var t=kwt(),e=OCt(),r=xCt(),n=TCt(),o=GSt(),i=WSt(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||n;return lCt=function(t){return r(a,t)||(a[t]=o&&r(u,t)?u[t]:s("Symbol."+t)),a[t]}}function kCt(){if(pCt)return dCt;pCt=1;var t=Uwt(),e=zSt(),r=qSt(),n=XSt(),o=function(){if(kSt)return NSt;kSt=1;var t=Uwt(),e=MSt(),r=zSt(),n=TypeError;return NSt=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!r(a=t(u,o)))return a;if(e(u=o.valueOf)&&!r(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!r(a=t(u,o)))return a;throw new n("Can't convert object to primitive value")},NSt}(),i=NCt(),u=TypeError,a=i("toPrimitive");return dCt=function(i,s){if(!e(i)||r(i))return i;var c,l=n(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||r(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}function PCt(){if(vCt)return hCt;vCt=1;var t=kCt(),e=qSt();return hCt=function(r){var n=t(r,"string");return e(n)?n:n+""}}function BCt(){if(yCt)return gCt;yCt=1;var t=kwt(),e=zSt(),r=t.document,n=e(r)&&e(r.createElement);return gCt=function(t){return n?r.createElement(t):{}}}function ICt(){if(bCt)return mCt;bCt=1;var t=Hwt(),e=zwt(),r=BCt();return mCt=!t&&!e(function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})}function FCt(){if(ECt)return Mwt;ECt=1;var t=Hwt(),e=Uwt(),r=function(){if(Vwt)return PSt;Vwt=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return PSt.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,PSt}(),n=BSt(),o=jSt(),i=PCt(),u=xCt(),a=ICt(),s=Object.getOwnPropertyDescriptor;return Mwt.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return n(!e(r.f,t,c),t[c])},Mwt}var RCt,LCt,_Ct,jCt,MCt,zCt,HCt,$Ct={};function UCt(){if(LCt)return RCt;LCt=1;var t=Hwt(),e=zwt();return RCt=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function VCt(){if(jCt)return _Ct;jCt=1;var t=zSt(),e=String,r=TypeError;return _Ct=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function GCt(){if(MCt)return $Ct;MCt=1;var t=Hwt(),e=ICt(),r=UCt(),n=VCt(),o=PCt(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return $Ct.f=t?r?function(t,e,r){if(n(t),e=o(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&l in r&&!r[l]){var i=a(t,e);i&&i[l]&&(t[e]=r.value,r={configurable:c in r?r[c]:i[c],enumerable:s in r?r[s]:i[s],writable:!1})}return u(t,e,r)}:u:function(t,r,a){if(n(t),r=o(r),n(a),e)try{return u(t,r,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[r]=a.value),t},$Ct}function WCt(){if(HCt)return zCt;HCt=1;var t=Hwt(),e=GCt(),r=BSt();return zCt=t?function(t,n,o){return e.f(t,n,r(1,o))}:function(t,e,r){return t[e]=r,t}}var qCt,KCt,YCt,XCt,JCt,ZCt,QCt,tDt,eDt,rDt,nDt,oDt,iDt,uDt,aDt,sDt={exports:{}};function cDt(){if(KCt)return qCt;KCt=1;var t=Hwt(),e=xCt(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,o=e(r,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&n(r,"name").configurable);return qCt={EXISTS:o,PROPER:i,CONFIGURABLE:u}}function lDt(){if(XCt)return YCt;XCt=1;var t=ISt(),e=MSt(),r=DCt(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),YCt=r.inspectSource}function fDt(){if(ZCt)return JCt;ZCt=1;var t=kwt(),e=MSt(),r=t.WeakMap;return JCt=e(r)&&/native code/.test(String(r))}function dDt(){if(tDt)return QCt;tDt=1;var t=OCt(),e=TCt(),r=t("keys");return QCt=function(t){return r[t]||(r[t]=e(t))}}function pDt(){return rDt?eDt:(rDt=1,eDt={})}function hDt(){if(oDt)return nDt;oDt=1;var t,e,r,n=fDt(),o=kwt(),i=zSt(),u=WCt(),a=xCt(),s=DCt(),c=dDt(),l=pDt(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(n||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},r=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},r=function(t){return a(t,v)}}return nDt={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!i(r)||(n=e(r)).type!==t)throw new d("Incompatible receiver, "+t+" required");return n}}}}function vDt(){if(iDt)return sDt.exports;iDt=1;var t=ISt(),e=zwt(),r=MSt(),n=xCt(),o=Hwt(),i=cDt().CONFIGURABLE,u=lDt(),a=hDt(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=sDt.exports=function(t,e,r){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return n(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return r(this)&&c(this).source||u(this)},"toString"),sDt.exports}function gDt(){if(aDt)return uDt;aDt=1;var t=MSt(),e=GCt(),r=vDt(),n=CCt();return uDt=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&r(u,c,a),a.global)s?o[i]=u:n(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var yDt,mDt,bDt,EDt,wDt,SDt,CDt,DDt,ODt,ADt,xDt,TDt,NDt,kDt,PDt,BDt,IDt,FDt={};function RDt(){if(EDt)return bDt;EDt=1;var t=function(){if(mDt)return yDt;mDt=1;var t=Math.ceil,e=Math.floor;return yDt=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return bDt=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function LDt(){if(SDt)return wDt;SDt=1;var t=RDt(),e=Math.max,r=Math.min;return wDt=function(n,o){var i=t(n);return i<0?e(i+o,0):r(i,o)}}function _Dt(){if(DDt)return CDt;DDt=1;var t=RDt(),e=Math.min;return CDt=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}function jDt(){if(ADt)return ODt;ADt=1;var t=_Dt();return ODt=function(e){return t(e.length)}}function MDt(){if(TDt)return xDt;TDt=1;var t=jSt(),e=LDt(),r=jDt(),n=function(n){return function(o,i,u){var a=t(o),s=r(a);if(0===s)return!n&&-1;var c,l=e(u,s);if(n&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((n||l in a)&&a[l]===i)return n||l||0;return!n&&-1}};return xDt={includes:n(!0),indexOf:n(!1)}}function zDt(){if(kDt)return NDt;kDt=1;var t=ISt(),e=xCt(),r=jSt(),n=MDt().indexOf,o=pDt(),i=t([].push);return NDt=function(t,u){var a,s=r(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~n(l,a)||i(l,a));return l}}function HDt(){return BDt?PDt:(BDt=1,PDt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function $Dt(){if(IDt)return FDt;IDt=1;var t=zDt(),e=HDt().concat("length","prototype");return FDt.f=Object.getOwnPropertyNames||function(r){return t(r,e)},FDt}var UDt,VDt,GDt,WDt,qDt,KDt,YDt,XDt,JDt,ZDt,QDt,tOt,eOt,rOt,nOt,oOt,iOt,uOt,aOt,sOt,cOt,lOt,fOt,dOt,pOt,hOt,vOt,gOt,yOt={};function mOt(){if(qDt)return WDt;qDt=1;var t=xCt(),e=function(){if(GDt)return VDt;GDt=1;var t=HSt(),e=ISt(),r=$Dt(),n=(UDt||(UDt=1,yOt.f=Object.getOwnPropertySymbols),yOt),o=VCt(),i=e([].concat);return VDt=t("Reflect","ownKeys")||function(t){var e=r.f(o(t)),u=n.f;return u?i(e,u(t)):e}}(),r=FCt(),n=GCt();return WDt=function(o,i,u){for(var a=e(i),s=n.f,c=r.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function bOt(){if(YDt)return KDt;YDt=1;var t=zwt(),e=MSt(),r=/#|\.prototype\./,n=function(r,n){var s=i[o(r)];return s===a||s!==u&&(e(n)?t(n):!!n)},o=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},i=n.data={},u=n.NATIVE="N",a=n.POLYFILL="P";return KDt=n}function EOt(){if(JDt)return XDt;JDt=1;var t=kwt(),e=FCt().f,r=WCt(),n=gDt(),o=CCt(),i=mOt(),u=bOt();return XDt=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&r(d,"sham",!0),n(c,l,d,a)}}}function wOt(){if(QDt)return ZDt;QDt=1;var t=FSt();return ZDt=Array.isArray||function(e){return"Array"===t(e)}}function SOt(){if(nOt)return rOt;nOt=1;var t=Hwt(),e=GCt(),r=BSt();return rOt=function(n,o,i){t?e.f(n,o,r(0,i)):n[o]=i}}function COt(){if(iOt)return oOt;iOt=1;var t={};return t[NCt()("toStringTag")]="z",oOt="[object z]"===String(t)}function DOt(){if(aOt)return uOt;aOt=1;var t=COt(),e=MSt(),r=FSt(),n=NCt()("toStringTag"),o=Object,i="Arguments"===r(function(){return arguments}());return uOt=t?r:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),n))?a:i?r(u):"Object"===(s=r(u))&&e(u.callee)?"Arguments":s}}function OOt(){if(cOt)return sOt;cOt=1;var t=ISt(),e=zwt(),r=MSt(),n=DOt(),o=HSt(),i=lDt(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!r(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,sOt=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function AOt(){if(pOt)return dOt;pOt=1;var t=function(){if(fOt)return lOt;fOt=1;var t=wOt(),e=OOt(),r=zSt(),n=NCt()("species"),o=Array;return lOt=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||r(u)&&null===(u=u[n]))&&(u=void 0)),void 0===u?o:u}}();return dOt=function(e,r){return new(t(e))(0===r?0:r)}}function xOt(){if(vOt)return hOt;vOt=1;var t=zwt(),e=NCt(),r=VSt(),n=e("species");return hOt=function(e){return r>=51||!t(function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}!function(){if(gOt)return Nwt;gOt=1;var t=EOt(),e=zwt(),r=wOt(),n=zSt(),o=ACt(),i=jDt(),u=function(){if(eOt)return tOt;eOt=1;var t=TypeError;return tOt=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}(),a=SOt(),s=AOt(),c=xOt(),l=NCt(),f=VSt(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!n(t))return!1;var e=t[d];return void 0!==e?!!e:r(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,r,n,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),r=0;r<c;r++,p++)r in l&&a(d,p,l[r]);else u(p+1),a(d,p++,l);return d.length=p,d}})}();var TOt,NOt,kOt,POt,BOt,IOt,FOt,ROt,LOt,_Ot={};function jOt(){if(NOt)return TOt;NOt=1;var t=DOt(),e=String;return TOt=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}function MOt(){return POt?kOt:(POt=1,kOt="\t\n\v\f\r \u2028\u2029\ufeff")}!function(){if(LOt)return _Ot;LOt=1;var t=EOt(),e=function(){if(IOt)return BOt;IOt=1;var t=ISt(),e=_St(),r=jOt(),n=MOt(),o=t("".replace),i=RegExp("^["+n+"]+"),u=RegExp("(^|[^"+n+"])["+n+"]+$"),a=function(t){return function(n){var a=r(e(n));return 1&t&&(a=o(a,i,"")),2&t&&(a=o(a,u,"$1")),a}};return BOt={start:a(1),end:a(2),trim:a(3)}}().trim,r=function(){if(ROt)return FOt;ROt=1;var t=cDt().PROPER,e=zwt(),r=MOt();return FOt=function(n){return e(function(){return!!r[n]()||"
"!=="
"[n]()||t&&r[n].name!==n})}}();t({target:"String",proto:!0,forced:r("trim")},{trim:function(){return e(this)}})}();var zOt,HOt,$Ot={};function UOt(t){return t.length?t[0].tagName.toLowerCase():""}function VOt(t,e,r,n){void 0===e&&(e="auto"),void 0===r&&(r="auto"),void 0===n&&(n={});var o=og(t),i=n.width,u=void 0===i?"":i,a=n.height,s=void 0===a?"":a,c="";return u&&(c+="width: ".concat(u,";")),s&&(c+="height: ".concat(s,";")),o.attr("width",e),o.attr("height",r),o.attr("style",c),o[0].outerHTML}HOt||(HOt=1,function(){if(zOt)return $Ot;zOt=1;var t=EOt(),e=kwt();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}()),Ag&&(og.fn.append=Ag),pg&&(og.fn.on=pg),_g&&(og.fn.focus=_g),sg&&(og.fn.attr=sg),dg&&(og.fn.val=dg),Cg&&(og.fn.html=Cg),Tg&&(og.fn.parent=Tg),ag&&(og.fn.hasClass=ag),Ig&&(og.fn.empty=Ig);var GOt,WOt,qOt,KOt={type:"video",elemToHtml:function(t,e){var r=t,n=r.src,o=void 0===n?"":n,i=r.poster,u=void 0===i?"":i,a=r.width,s=void 0===a?"auto":a,c=r.height,l=void 0===c?"auto":c,f=r.style,d=void 0===f?{}:f,p=r.textAlign,h='<div data-w-e-type="video" data-w-e-is-void style="text-align: '.concat(void 0===p?"center":p,';">\n');if(0===o.trim().indexOf("<iframe "))h+=VOt(o,s,l,d);else{var v=d.width,g=void 0===v?"":v,y=d.height,m=void 0===y?"":y,b="";g&&(b+="width: ".concat(g,";")),m&&(b+="height: ".concat(m,";")),h+='<video poster="'.concat(u,'" controls="true" width="').concat(s,'" height="').concat(l,'" style="').concat(b,'"><source src="').concat(o,'" type="video/mp4"/></video>')}return h+"\n</div>"}},YOt={};function XOt(){if(WOt)return GOt;WOt=1;var t=vDt(),e=GCt();return GOt=function(r,n,o){return o.get&&t(o.get,n,{getter:!0}),o.set&&t(o.set,n,{setter:!0}),e.f(r,n,o)}}!function(){if(qOt)return YOt;qOt=1;var t=Hwt(),e=cDt().EXISTS,r=ISt(),n=XOt(),o=Function.prototype,i=r(o.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,a=r(u.exec);t&&!e&&n(o,"name",{configurable:!0,get:function(){try{return a(u,i(this))[1]}catch(t){return""}}})}();var JOt,ZOt,QOt,tAt,eAt,rAt,nAt={};function oAt(){if(tAt)return QOt;tAt=1;var t=function(){if(ZOt)return JOt;ZOt=1;var t=FSt(),e=ISt();return JOt=function(r){if("Function"===t(r))return e(r)}}(),e=YSt(),r=$wt(),n=t(t.bind);return QOt=function(t,o){return e(t),void 0===o?t:r?n(t,o):function(){return t.apply(o,arguments)}},QOt}function iAt(){if(rAt)return eAt;rAt=1;var t=oAt(),e=ISt(),r=RSt(),n=ACt(),o=jDt(),i=AOt(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=n(h),w=r(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return eAt={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}var uAt,aAt,sAt,cAt,lAt,fAt,dAt,pAt,hAt,vAt,gAt={};function yAt(){if(lAt)return cAt;lAt=1;var t=HSt();return cAt=t("document","documentElement")}function mAt(){if(dAt)return fAt;dAt=1;var t,e=VCt(),r=function(){if(sAt)return gAt;sAt=1;var t=Hwt(),e=UCt(),r=GCt(),n=VCt(),o=jSt(),i=function(){if(aAt)return uAt;aAt=1;var t=zDt(),e=HDt();return uAt=Object.keys||function(r){return t(r,e)}}();return gAt.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)r.f(t,u=s[l++],a[u]);return t},gAt}(),n=HDt(),o=pDt(),i=yAt(),u=BCt(),a=dDt(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,o;h="undefined"!=typeof document?document.domain&&t?p(t):(r=u("iframe"),o="java"+c+":",r.style.display="none",i.appendChild(r),r.src=String(o),(e=r.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=n.length;a--;)delete h[s][n[a]];return h()};return o[l]=!0,fAt=Object.create||function(t,n){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===n?o:r.f(o,n)}}function bAt(){if(hAt)return pAt;hAt=1;var t=NCt(),e=mAt(),r=GCt().f,n=t("unscopables"),o=Array.prototype;return void 0===o[n]&&r(o,n,{configurable:!0,value:e(null)}),pAt=function(t){o[n][t]=!0}}!function(){if(vAt)return nAt;vAt=1;var t=EOt(),e=iAt().find,r=bAt(),n="find",o=!0;n in[]&&Array(1)[n](function(){o=!1}),t({target:"Array",proto:!0,forced:o},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r(n)}();var EAt,wAt,SAt,CAt={};!function(){if(SAt)return CAt;SAt=1;var t=COt(),e=gDt(),r=function(){if(wAt)return EAt;wAt=1;var t=COt(),e=DOt();return EAt=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var DAt,OAt,AAt,xAt,TAt,NAt,kAt,PAt,BAt,IAt,FAt,RAt={};function LAt(){if(OAt)return DAt;OAt=1;var t=VCt();return DAt=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}function _At(){if(IAt)return BAt;IAt=1;var t,e,r=Uwt(),n=ISt(),o=jOt(),i=LAt(),u=function(){if(xAt)return AAt;xAt=1;var t=zwt(),e=kwt().RegExp,r=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),n=r||t(function(){return!e("a","y").sticky}),o=r||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return AAt={BROKEN_CARET:o,MISSED_STICKY:n,UNSUPPORTED_Y:r}}(),a=OCt(),s=mAt(),c=hDt().get,l=function(){if(NAt)return TAt;NAt=1;var t=zwt(),e=kwt().RegExp;return TAt=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(PAt)return kAt;PAt=1;var t=zwt(),e=kwt().RegExp;return kAt=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=n("".charAt),g=n("".indexOf),y=n("".replace),m=n("".slice),b=(e=/b*/g,r(p,t=/a/,"a"),r(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,n,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=r(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=r(i,C),k=C.source,P=0,B=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),B=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(k="(?: "+k+")",B=" "+B,P++),n=new RegExp("^(?:"+k+")",N)),w&&(n=new RegExp("^"+k+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=r(p,T?n:C,B),T?a?(a.input=m(a.input,P),a[0]=m(a[0],P),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&r(d,a[0],n,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),BAt=h}function jAt(){if(FAt)return RAt;FAt=1;var t=EOt(),e=_At();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),RAt}jAt();var MAt=function(){return MAt=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},MAt.apply(this,arguments)};function zAt(t,e,r,n){return new(r||(r=Promise))(function(o,i){function u(t){try{s(n.next(t))}catch(t){i(t)}}function a(t){try{s(n.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r(function(t){t(e)})).then(u,a)}s((n=n.apply(t,e||[])).next())})}function HAt(t,e){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=a(0),u.throw=a(1),u.return=a(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;u&&(u=0,a[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function $At(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u}function UAt(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,r=t[Symbol.asyncIterator];return r?r.call(t):(t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(r){e[r]=t[r]&&function(e){return new Promise(function(n,o){!function(t,e,r,n){Promise.resolve(n).then(function(e){t({value:e,done:r})},e)}(n,o,(e=t[r](e)).done,e.value)})}}}"function"==typeof SuppressedError&&SuppressedError;var VAt,GAt,WAt,qAt,KAt,YAt,XAt,JAt,ZAt,QAt,txt,ext,rxt,nxt,oxt,ixt,uxt,axt={};function sxt(){if(GAt)return VAt;GAt=1;var t=$wt(),e=Function.prototype,r=e.apply,n=e.call;return VAt="object"==typeof Reflect&&Reflect.apply||(t?n.bind(r):function(){return n.apply(r,arguments)}),VAt}function cxt(){if(YAt)return KAt;YAt=1;var t=ISt(),e=RDt(),r=jOt(),n=_St(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=r(n(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return KAt={codeAt:a(!1),charAt:a(!0)}}function lxt(){if(nxt)return rxt;nxt=1;var t=Uwt(),e=xCt(),r=$St(),n=function(){if(ext)return txt;ext=1;var t=kwt(),e=zwt(),r=t.RegExp,n=!e(function(){var t=!0;try{r(".","d")}catch(e){t=!1}var e={},n="",o=t?"dgimsy":"gimsy",i=function(t,r){Object.defineProperty(e,t,{get:function(){return n+=r,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(e)!==o||n!==o});return txt={correct:n}}(),o=LAt(),i=RegExp.prototype;return rxt=n.correct?function(t){return t.flags}:function(u){return n.correct||!r(i,u)||e(u,"flags")?u.flags:t(o,u)}}!function(){if(uxt)return axt;uxt=1;var t=sxt(),e=Uwt(),r=ISt(),n=function(){if(qAt)return WAt;qAt=1,jAt();var t=Uwt(),e=gDt(),r=_At(),n=zwt(),o=NCt(),i=WCt(),u=o("species"),a=RegExp.prototype;return WAt=function(s,c,l,f){var d=o(s),p=!n(function(){var t={};return t[d]=function(){return 7},7!==""[s](t)}),h=p&&!n(function(){var t=!1,e=/a/;return"split"===s&&((e={}).constructor={},e.constructor[u]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return t=!0,null},e[d](""),!t});if(!p||!h||l){var v=/./[d],g=c(d,""[s],function(e,n,o,i,u){var s=n.exec;return s===r||s===a.exec?p&&!u?{done:!0,value:t(v,n,o,i)}:{done:!0,value:t(e,o,n,i)}:{done:!1}});e(String.prototype,s,g[0]),e(a,d,g[1])}f&&i(a[d],"sham",!0)}}(),o=zwt(),i=VCt(),u=MSt(),a=zSt(),s=RDt(),c=_Dt(),l=jOt(),f=_St(),d=function(){if(JAt)return XAt;JAt=1;var t=cxt().charAt;return XAt=function(e,r,n){return r+(n?t(e,r).length:1)}}(),p=XSt(),h=function(){if(QAt)return ZAt;QAt=1;var t=ISt(),e=ACt(),r=Math.floor,n=t("".charAt),o=t("".replace),i=t("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return ZAt=function(t,s,c,l,f,d){var p=c+t.length,h=l.length,v=a;return void 0!==f&&(f=e(f),v=u),o(d,v,function(e,o){var u;switch(n(o,0)){case"$":return"$";case"&":return t;case"`":return i(s,0,c);case"'":return i(s,p);case"<":u=f[i(o,1,-1)];break;default:var a=+o;if(0===a)return e;if(a>h){var d=r(a/10);return 0===d?e:d<=h?void 0===l[d-1]?n(o,1):l[d-1]+n(o,1):e}u=l[a-1]}return void 0===u?"":u})}}(),v=lxt(),g=function(){if(ixt)return oxt;ixt=1;var t=Uwt(),e=VCt(),r=MSt(),n=FSt(),o=_At(),i=TypeError;return oxt=function(u,a){var s=u.exec;if(r(s)){var c=t(s,u,a);return null!==c&&e(c),c}if("RegExp"===n(u))return t(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}(),y=NCt()("replace"),m=Math.max,b=Math.min,E=r([].concat),w=r([].push),S=r("".indexOf),C=r("".slice),D=function(t){return void 0===t?t:String(t)},O="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");n("replace",function(r,n,o){var O=A?"$":"$0";return[function(t,r){var o=f(this),i=a(t)?p(t,y):void 0;return i?e(i,t,o,r):e(n,l(o),t,r)},function(e,r){var a=i(this),f=l(e);if("string"==typeof r&&-1===S(r,O)&&-1===S(r,"$<")){var p=o(n,a,f,r);if(p.done)return p.value}var y=u(r);y||(r=l(r));var A,x=l(v(a)),T=-1!==S(x,"g");T&&(A=-1!==S(x,"u"),a.lastIndex=0);for(var N,k=[];null!==(N=g(a,f))&&(w(k,N),T);)""===l(N[0])&&(a.lastIndex=d(f,c(a.lastIndex),A));for(var P="",B=0,I=0;I<k.length;I++){for(var F,R=l((N=k[I])[0]),L=m(b(s(N.index),f.length),0),_=[],j=1;j<N.length;j++)w(_,D(N[j]));var M=N.groups;if(y){var z=E([R],_,L,f);void 0!==M&&w(z,M),F=l(t(r,void 0,z))}else F=h(R,f,L,_,M,r);L>=B&&(P+=C(f,B,L)+F,B=L+R.length)}return P+C(f,B)}]},!!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!O||A)}();var fxt,dxt,pxt,hxt,vxt,gxt,yxt,mxt,bxt,Ext={};function wxt(){return dxt?fxt:(dxt=1,fxt={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})}function Sxt(){if(hxt)return pxt;hxt=1;var t=BCt()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return pxt=e===Object.prototype?void 0:e}function Cxt(){if(gxt)return vxt;gxt=1;var t=zwt();return vxt=function(e,r){var n=[][e];return!!n&&t(function(){n.call(null,r||function(){return 1},1)})}}function Dxt(t){return void 0===t&&(t="r"),"".concat(t,"-").concat(jg())}function Oxt(t){var e={};return t.trim().split(";").forEach(function(t){if(t){var r=$At(t.split(":"),2),n=r[0],o=r[1];n&&o&&(e[n.trim()]=o.trim())}}),e}function Axt(){return Dxt("w-e-insert-video")}!function(){if(bxt)return Ext;bxt=1;var t=kwt(),e=wxt(),r=Sxt(),n=function(){if(mxt)return yxt;mxt=1;var t=iAt().forEach,e=Cxt()("forEach");return yxt=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},yxt}(),o=WCt(),i=function(t){if(t&&t.forEach!==n)try{o(t,"forEach",n)}catch(e){t.forEach=n}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(r)}();var xxt=function(){function t(){this.title=RF("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=Axt(),this.heightInputId=Axt(),this.buttonId=Axt()}return t.prototype.getSelectedVideoNode=function(t){return SB.getSelectedNodeByType(t,"video")},t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedVideoNode(t)},t.prototype.getModalPositionNode=function(t){return this.getSelectedVideoNode(t)},t.prototype.getModalContentElem=function(t){var e=this,r=e.widthInputId,n=e.heightInputId,o=e.buttonId,i=$At(WF(RF("videoModule.width"),r,"auto"),2),u=i[0],a=og(i[1]),s=$At(WF(RF("videoModule.height"),n,"auto"),2),c=s[0],l=og(s[1]),f=$At(KF(o,RF("videoModule.ok")),1)[0],d=this.getSelectedVideoNode(t);if(null==this.$content){var p=og("<div></div>");p.on("click","#".concat(o),function(e){e.preventDefault();var o=p.find("#".concat(r)).val().trim(),i=p.find("#".concat(n)).val().trim(),u=function(t){return/^\d+(\.\d+)?%$/.test(t)},a=function(t){return/^\d+(\.\d+)?$/.test(t)},s="auto",c="auto";u(o)?s=o:a(o)&&(s="".concat(parseInt(o,10),"px")),u(i)?c=i:a(i)&&(c="".concat(parseInt(i,10),"px"));var l=d.style,f=void 0===l?{}:l;t.restoreSelection();var h={style:MAt(MAt({},f),{width:s,height:c})};zv.setNodes(t,h,{match:function(t){return SB.checkNodeType(t,"video")}}),t.hidePanelOrModal()}),this.$content=p}var h=this.$content;if(h.empty(),h.append(u),h.append(c),h.append(f),null==d)return h[0];var v=d.style,g=void 0===v?{}:v,y=g.width,m=void 0===y?"":y,b=g.height,E=void 0===b?"":b;return a.val(m),l.val(E),setTimeout(function(){a.focus()}),h[0]},t}();function Txt(){return Dxt("w-e-edit-video")}var Nxt,kxt,Pxt,Bxt,Ixt,Fxt,Rxt,Lxt,_xt,jxt,Mxt,zxt,Hxt,$xt,Uxt,Vxt,Gxt,Wxt,qxt,Kxt,Yxt,Xxt,Jxt,Zxt,Qxt,tTt,eTt,rTt,nTt,oTt,iTt,uTt,aTt,sTt,cTt,lTt,fTt,dTt,pTt,hTt,vTt,gTt,yTt,mTt,bTt,ETt,wTt,STt,CTt,DTt,OTt=function(){function t(){this.title=RF("videoModule.edit"),this.iconSvg='<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>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=Txt(),this.posterInputId=Txt(),this.buttonId=Txt()}return t.prototype.getSelectedVideoNode=function(t){return SB.getSelectedNodeByType(t,"video")},t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedVideoNode(t)},t.prototype.getModalPositionNode=function(t){return this.getSelectedVideoNode(t)},t.prototype.getModalContentElem=function(t){var e=this,r=this,n=r.srcInputId,o=r.posterInputId,i=r.buttonId,u=$At(WF(RF("videoModule.videoSrc"),n,RF("videoModule.videoSrcPlaceHolder")),2),a=u[0],s=u[1],c=$At(WF(RF("videoModule.videoPoster"),o,RF("videoModule.videoPosterPlaceHolder")),2),l=c[0],f=c[1],d=og(s),p=og(f),h=$At(KF(i,RF("videoModule.ok")),1)[0];if(null==this.$content){var v=og("<div></div>");v.on("click","#".concat(i),function(r){return zAt(e,void 0,void 0,function(){var e,i,u,a;return HAt(this,function(s){return r.preventDefault(),e=v.find("#".concat(n)).val().trim(),i=v.find("#".concat(o)).val().trim(),u=Dxt("video-"),a={src:e,poster:i,key:u},t.restoreSelection(),zv.setNodes(t,a,{match:function(t){return SB.checkNodeType(t,"video")}}),t.hidePanelOrModal(),[2]})})}),this.$content=v}var g=this.$content;g.empty(),g.append(a),g.append(l),g.append(h);var y=this.getSelectedVideoNode(t);if(null==y)return g[0];var m=y.src,b=void 0===m?"":m,E=y.poster,w=void 0===E?"":E;return d.val(b),p.val(w),setTimeout(function(){d.focus()}),g[0]},t}(),ATt={};function xTt(){if(kxt)return Nxt;kxt=1;var t=kwt(),e=USt(),r=FSt(),n=function(t){return e.slice(0,t.length)===t};return Nxt=n("Bun/")?"BUN":n("Cloudflare-Workers")?"CLOUDFLARE":n("Deno/")?"DENO":n("Node.js/")?"NODE":t.Bun&&"string"==typeof Bun.version?"BUN":t.Deno&&"object"==typeof Deno.version?"DENO":"process"===r(t.process)?"NODE":t.window&&t.document?"BROWSER":"REST"}function TTt(){if(Bxt)return Pxt;Bxt=1;var t=xTt();return Pxt="NODE"===t}function NTt(){if(zxt)return Mxt;zxt=1;var t=function(){if(jxt)return _xt;jxt=1;var t=zSt();return _xt=function(e){return t(e)||null===e}}(),e=String,r=TypeError;return Mxt=function(n){if(t(n))return n;throw new r("Can't set "+e(n)+" as a prototype")}}function kTt(){if($xt)return Hxt;$xt=1;var t=function(){if(Lxt)return Rxt;Lxt=1;var t=ISt(),e=YSt();return Rxt=function(r,n,o){try{return t(e(Object.getOwnPropertyDescriptor(r,n)[o]))}catch(t){}}}(),e=zSt(),r=_St(),n=NTt();return Hxt=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return r(t),n(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function PTt(){if(Vxt)return Uxt;Vxt=1;var t=GCt().f,e=xCt(),r=NCt()("toStringTag");return Uxt=function(n,o,i){n&&!i&&(n=n.prototype),n&&!e(n,r)&&t(n,r,{configurable:!0,value:o})}}function BTt(){if(Wxt)return Gxt;Wxt=1;var t=HSt(),e=XOt(),r=NCt(),n=Hwt(),o=r("species");return Gxt=function(r){var i=t(r);n&&i&&!i[o]&&e(i,o,{configurable:!0,get:function(){return this}})}}function ITt(){if(Kxt)return qxt;Kxt=1;var t=$St(),e=TypeError;return qxt=function(r,n){if(t(n,r))return r;throw new e("Incorrect invocation")}}function FTt(){if(Zxt)return Jxt;Zxt=1;var t=VCt(),e=function(){if(Xxt)return Yxt;Xxt=1;var t=OOt(),e=KSt(),r=TypeError;return Yxt=function(n){if(t(n))return n;throw new r(e(n)+" is not a constructor")}}(),r=LSt(),n=NCt()("species");return Jxt=function(o,i){var u,a=t(o).constructor;return void 0===a||r(u=t(a)[n])?i:e(u)}}function RTt(){if(tTt)return Qxt;tTt=1;var t=ISt();return Qxt=t([].slice)}function LTt(){if(oTt)return nTt;oTt=1;var t=USt();return nTt=/(?:ipad|iphone|ipod).*applewebkit/i.test(t)}function _Tt(){if(uTt)return iTt;uTt=1;var t,e,r,n,o=kwt(),i=sxt(),u=oAt(),a=MSt(),s=xCt(),c=zwt(),l=yAt(),f=RTt(),d=BCt(),p=function(){if(rTt)return eTt;rTt=1;var t=TypeError;return eTt=function(e,r){if(e<r)throw new t("Not enough arguments");return e}}(),h=LTt(),v=TTt(),g=o.setImmediate,y=o.clearImmediate,m=o.process,b=o.Dispatch,E=o.Function,w=o.MessageChannel,S=o.String,C=0,D={},O="onreadystatechange";c(function(){t=o.location});var A=function(t){if(s(D,t)){var e=D[t];delete D[t],e()}},x=function(t){return function(){A(t)}},T=function(t){A(t.data)},N=function(e){o.postMessage(S(e),t.protocol+"//"+t.host)};return g&&y||(g=function(t){p(arguments.length,1);var r=a(t)?t:E(t),n=f(arguments,1);return D[++C]=function(){i(r,void 0,n)},e(C),C},y=function(t){delete D[t]},v?e=function(t){m.nextTick(x(t))}:b&&b.now?e=function(t){b.now(x(t))}:w&&!h?(n=(r=new w).port2,r.port1.onmessage=T,e=u(n.postMessage,n)):o.addEventListener&&a(o.postMessage)&&!o.importScripts&&t&&"file:"!==t.protocol&&!c(N)?(e=N,o.addEventListener("message",T,!1)):e=O in d("script")?function(t){l.appendChild(d("script"))[O]=function(){l.removeChild(this),A(t)}}:function(t){setTimeout(x(t),0)}),iTt={set:g,clear:y}}function jTt(){if(lTt)return cTt;lTt=1;var t=function(){this.head=null,this.tail=null};return t.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},cTt=t}function MTt(){if(gTt)return vTt;gTt=1;var t,e,r,n,o,i=kwt(),u=function(){if(sTt)return aTt;sTt=1;var t=kwt(),e=Hwt(),r=Object.getOwnPropertyDescriptor;return aTt=function(n){if(!e)return t[n];var o=r(t,n);return o&&o.value}}(),a=oAt(),s=_Tt().set,c=jTt(),l=LTt(),f=function(){if(dTt)return fTt;dTt=1;var t=USt();return fTt=/ipad|iphone|ipod/i.test(t)&&"undefined"!=typeof Pebble}(),d=function(){if(hTt)return pTt;hTt=1;var t=USt();return pTt=/web0s(?!.*chrome)/i.test(t)}(),p=TTt(),h=i.MutationObserver||i.WebKitMutationObserver,v=i.document,g=i.process,y=i.Promise,m=u("queueMicrotask");if(!m){var b=new c,E=function(){var e,r;for(p&&(e=g.domain)&&e.exit();r=b.get();)try{r()}catch(e){throw b.head&&t(),e}e&&e.enter()};l||p||d||!h||!v?!f&&y&&y.resolve?((n=y.resolve(void 0)).constructor=y,o=a(n.then,n),t=function(){o(E)}):p?t=function(){g.nextTick(E)}:(s=a(s,i),t=function(){s(E)}):(e=!0,r=v.createTextNode(""),new h(E).observe(r,{characterData:!0}),t=function(){r.data=e=!e}),m=function(e){b.head||t(),b.add(e)}}return vTt=m}function zTt(){return ETt?bTt:(ETt=1,bTt=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}})}function HTt(){if(STt)return wTt;STt=1;var t=kwt();return wTt=t.Promise}function $Tt(){if(DTt)return CTt;DTt=1;var t=kwt(),e=HTt(),r=MSt(),n=bOt(),o=lDt(),i=NCt(),u=xTt(),a=SCt(),s=VSt(),c=e&&e.prototype,l=i("species"),f=!1,d=r(t.PromiseRejectionEvent),p=n("Promise",function(){var t=o(e),r=t!==String(e);if(!r&&66===s)return!0;if(a&&(!c.catch||!c.finally))return!0;if(!s||s<51||!/native code/.test(t)){var n=new e(function(t){t(1)}),i=function(t){t(function(){},function(){})};if((n.constructor={})[l]=i,!(f=n.then(function(){})instanceof i))return!0}return!(r||"BROWSER"!==u&&"DENO"!==u||d)});return CTt={CONSTRUCTOR:p,REJECTION_EVENT:d,SUBCLASSING:f}}var UTt,VTt,GTt={};function WTt(){if(UTt)return GTt;UTt=1;var t=YSt(),e=TypeError,r=function(r){var n,o;this.promise=new r(function(t,r){if(void 0!==n||void 0!==o)throw new e("Bad Promise constructor");n=t,o=r}),this.resolve=t(n),this.reject=t(o)};return GTt.f=function(t){return new r(t)},GTt}var qTt,KTt,YTt,XTt,JTt,ZTt,QTt,tNt,eNt,rNt,nNt,oNt,iNt,uNt,aNt,sNt,cNt,lNt={};function fNt(){return KTt?qTt:(KTt=1,qTt={})}function dNt(){if(ZTt)return JTt;ZTt=1;var t=DOt(),e=XSt(),r=LSt(),n=fNt(),o=NCt()("iterator");return JTt=function(i){if(!r(i))return e(i,o)||e(i,"@@iterator")||n[t(i)]}}function pNt(){if(oNt)return nNt;oNt=1;var t=oAt(),e=Uwt(),r=VCt(),n=KSt(),o=function(){if(XTt)return YTt;XTt=1;var t=NCt(),e=fNt(),r=t("iterator"),n=Array.prototype;return YTt=function(t){return void 0!==t&&(e.Array===t||n[r]===t)}}(),i=jDt(),u=$St(),a=function(){if(tNt)return QTt;tNt=1;var t=Uwt(),e=YSt(),r=VCt(),n=KSt(),o=dNt(),i=TypeError;return QTt=function(u,a){var s=arguments.length<2?o(u):a;if(e(s))return r(t(s,u));throw new i(n(u)+" is not iterable")},QTt}(),s=dNt(),c=function(){if(rNt)return eNt;rNt=1;var t=Uwt(),e=VCt(),r=XSt();return eNt=function(n,o,i){var u,a;e(n);try{if(!(u=r(n,"return"))){if("throw"===o)throw i;return i}u=t(u,n)}catch(t){a=!0,u=t}if("throw"===o)throw i;if(a)throw u;return e(u),i}}(),l=TypeError,f=function(t,e){this.stopped=t,this.result=e},d=f.prototype;return nNt=function(p,h,v){var g,y,m,b,E,w,S,C=v&&v.that,D=!(!v||!v.AS_ENTRIES),O=!(!v||!v.IS_RECORD),A=!(!v||!v.IS_ITERATOR),x=!(!v||!v.INTERRUPTED),T=t(h,C),N=function(t){return g&&c(g,"normal"),new f(!0,t)},k=function(t){return D?(r(t),x?T(t[0],t[1],N):T(t[0],t[1])):x?T(t,N):T(t)};if(O)g=p.iterator;else if(A)g=p;else{if(!(y=s(p)))throw new l(n(p)+" is not iterable");if(o(y)){for(m=0,b=i(p);b>m;m++)if((E=k(p[m]))&&u(d,E))return E;return new f(!1)}g=a(p,y)}for(w=O?p.next:g.next;!(S=e(w,g)).done;){try{E=k(S.value)}catch(t){c(g,"throw",t)}if("object"==typeof E&&E&&u(d,E))return E}return new f(!1)}}function hNt(){if(uNt)return iNt;uNt=1;var t=NCt()("iterator"),e=!1;try{var r=0,n={next:function(){return{done:!!r++}},return:function(){e=!0}};n[t]=function(){return this},Array.from(n,function(){throw 2})}catch(t){}return iNt=function(r,n){try{if(!n&&!e)return!1}catch(t){return!1}var o=!1;try{var i={};i[t]=function(){return{next:function(){return{done:o=!0}}}},r(i)}catch(t){}return o}}function vNt(){if(sNt)return aNt;sNt=1;var t=HTt(),e=hNt(),r=$Tt().CONSTRUCTOR;return aNt=r||!e(function(e){t.all(e).then(void 0,function(){})})}var gNt,yNt,mNt,bNt,ENt,wNt,SNt,CNt={},DNt={},ONt={},ANt={};function xNt(t,e){return zAt(this,arguments,void 0,function(t,e,r,n,o){var i,u,a,s,c,l,f;return void 0===r&&(r=""),void 0===n&&(n=""),void 0===o&&(o=""),HAt(this,function(d){switch(d.label){case 0:return e?(t.restoreSelection(),i=t.getMenuConfig("insertVideo"),u=i.onInsertedVideo,a=i.checkVideo,s=i.parseVideoSrc,[4,a(e,r)]):[2];case 1:return"string"==typeof(c=d.sent())?(t.alert(c,"error"),[2]):null==c?[2]:[4,s(e)];case 2:return 0!==(l=d.sent()).trim().indexOf("<iframe ")&&(l=l.replace(/</g,"<").replace(/>/g,">")),f={type:"video",src:l,poster:r,children:[{text:""}],style:{width:n,height:o}},Promise.resolve().then(function(){SB.isSelectedEmptyParagraph(t)&&zv.removeNodes(t,{mode:"highest"}),zv.insertNodes(t,f,{mode:"highest"})}),u(f),[2]}})})}function TNt(){return Dxt("w-e-insert-video")}SNt||(SNt=1,function(){if(VTt)return ATt;VTt=1;var t,e,r,n,o=EOt(),i=SCt(),u=TTt(),a=kwt(),s=function(){if(Fxt)return Ixt;Fxt=1;var t=kwt();return Ixt=t}(),c=Uwt(),l=gDt(),f=kTt(),d=PTt(),p=BTt(),h=YSt(),v=MSt(),g=zSt(),y=ITt(),m=FTt(),b=_Tt().set,E=MTt(),w=(mTt||(mTt=1,yTt=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}),yTt),S=zTt(),C=jTt(),D=hDt(),O=HTt(),A=$Tt(),x=WTt(),T="Promise",N=A.CONSTRUCTOR,k=A.REJECTION_EVENT,P=A.SUBCLASSING,B=D.getterFor(T),I=D.set,F=O&&O.prototype,R=O,L=F,_=a.TypeError,j=a.document,M=a.process,z=x.f,H=z,$=!!(j&&j.createEvent&&a.dispatchEvent),U="unhandledrejection",V=function(t){var e;return!(!g(t)||!v(e=t.then))&&e},G=function(t,e){var r,n,o,i=e.value,u=1===e.state,a=u?t.ok:t.fail,s=t.resolve,l=t.reject,f=t.domain;try{a?(u||(2===e.rejection&&X(e),e.rejection=1),!0===a?r=i:(f&&f.enter(),r=a(i),f&&(f.exit(),o=!0)),r===t.promise?l(new _("Promise-chain cycle")):(n=V(r))?c(n,r,s,l):s(r)):l(i)}catch(t){f&&!o&&f.exit(),l(t)}},W=function(t,e){t.notified||(t.notified=!0,E(function(){for(var r,n=t.reactions;r=n.get();)G(r,t);t.notified=!1,e&&!t.rejection&&K(t)}))},q=function(t,e,r){var n,o;$?((n=j.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),a.dispatchEvent(n)):n={promise:e,reason:r},!k&&(o=a["on"+t])?o(n):t===U&&w("Unhandled promise rejection",r)},K=function(t){c(b,a,function(){var e,r=t.facade,n=t.value;if(Y(t)&&(e=S(function(){u?M.emit("unhandledRejection",n,r):q(U,r,n)}),t.rejection=u||Y(t)?2:1,e.error))throw e.value})},Y=function(t){return 1!==t.rejection&&!t.parent},X=function(t){c(b,a,function(){var e=t.facade;u?M.emit("rejectionHandled",e):q("rejectionhandled",e,t.value)})},J=function(t,e,r){return function(n){t(e,n,r)}},Z=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,W(t,!0))},Q=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new _("Promise can't be resolved itself");var n=V(e);n?E(function(){var r={done:!1};try{c(n,e,J(Q,r,t),J(Z,r,t))}catch(e){Z(r,e,t)}}):(t.value=e,t.state=1,W(t,!1))}catch(e){Z({done:!1},e,t)}}};if(N&&(L=(R=function(e){y(this,L),h(e),c(t,this);var r=B(this);try{e(J(Q,r),J(Z,r))}catch(t){Z(r,t)}}).prototype,(t=function(t){I(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:0,value:null})}).prototype=l(L,"then",function(t,e){var r=B(this),n=z(m(this,R));return r.parent=!0,n.ok=!v(t)||t,n.fail=v(e)&&e,n.domain=u?M.domain:void 0,0===r.state?r.reactions.add(n):E(function(){G(n,r)}),n.promise}),e=function(){var e=new t,r=B(e);this.promise=e,this.resolve=J(Q,r),this.reject=J(Z,r)},x.f=z=function(t){return t===R||t===r?new e(t):H(t)},!i&&v(O)&&F!==Object.prototype)){n=F.then,P||l(F,"then",function(t,e){var r=this;return new R(function(t,e){c(n,r,t,e)}).then(t,e)},{unsafe:!0});try{delete F.constructor}catch(t){}f&&f(F,L)}o({global:!0,constructor:!0,wrap:!0,forced:N},{Promise:R}),r=s.Promise,d(R,T,!1,!0),p(T)}(),function(){if(cNt)return lNt;cNt=1;var t=EOt(),e=Uwt(),r=YSt(),n=WTt(),o=zTt(),i=pNt();t({target:"Promise",stat:!0,forced:vNt()},{all:function(t){var u=this,a=n.f(u),s=a.resolve,c=a.reject,l=o(function(){var n=r(u.resolve),o=[],a=0,l=1;i(t,function(t){var r=a++,i=!1;l++,e(n,u,t).then(function(t){i||(i=!0,o[r]=t,--l||s(o))},c)}),--l||s(o)});return l.error&&c(l.value),a.promise}})}(),function(){if(gNt)return CNt;gNt=1;var t=EOt(),e=SCt(),r=$Tt().CONSTRUCTOR,n=HTt(),o=HSt(),i=MSt(),u=gDt(),a=n&&n.prototype;if(t({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(t){return this.then(void 0,t)}}),!e&&i(n)){var s=o("Promise").prototype.catch;a.catch!==s&&u(a,"catch",s,{unsafe:!0})}}(),function(){if(yNt)return DNt;yNt=1;var t=EOt(),e=Uwt(),r=YSt(),n=WTt(),o=zTt(),i=pNt();t({target:"Promise",stat:!0,forced:vNt()},{race:function(t){var u=this,a=n.f(u),s=a.reject,c=o(function(){var n=r(u.resolve);i(t,function(t){e(n,u,t).then(a.resolve,s)})});return c.error&&s(c.value),a.promise}})}(),function(){if(mNt)return ONt;mNt=1;var t=EOt(),e=WTt();t({target:"Promise",stat:!0,forced:$Tt().CONSTRUCTOR},{reject:function(t){var r=e.f(this);return(0,r.reject)(t),r.promise}})}(),function(){if(wNt)return ANt;wNt=1;var t=EOt(),e=HSt(),r=SCt(),n=HTt(),o=$Tt().CONSTRUCTOR,i=function(){if(ENt)return bNt;ENt=1;var t=VCt(),e=zSt(),r=WTt();return bNt=function(n,o){if(t(n),e(o)&&o.constructor===n)return o;var i=r.f(n);return(0,i.resolve)(o),i.promise}}(),u=e("Promise"),a=r&&!o;t({target:"Promise",stat:!0,forced:r||o},{resolve:function(t){return i(a&&this===u?n:this,t)}})}());var NNt,kNt,PNt,BNt,INt,FNt,RNt,LNt,_Nt,jNt,MNt,zNt,HNt,$Nt,UNt,VNt=function(){function t(){this.title=RF("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=TNt(),this.posterInputId=TNt(),this.buttonId=TNt()}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!dv.isCollapsed(e)||!!SB.getSelectedElems(t).some(function(e){var r=SB.getNodeType(e);return"pre"===r||"list-item"===r||!!t.isVoid(e)})},t.prototype.getModalPositionNode=function(t){return null},t.prototype.getModalContentElem=function(t){var e=this,r=this,n=r.srcInputId,o=r.posterInputId,i=r.buttonId,u=$At(WF(RF("videoModule.videoSrc"),n,RF("videoModule.videoSrcPlaceHolder")),2),a=u[0],s=u[1],c=$At(WF(RF("videoModule.videoPoster"),o,RF("videoModule.videoPosterPlaceHolder")),2),l=c[0],f=c[1],d=og(s),p=og(f),h=$At(KF(i,RF("videoModule.ok")),1)[0];if(null==this.$content){var v=og("<div></div>");v.on("click","#".concat(i),function(r){return zAt(e,void 0,void 0,function(){var e,i;return HAt(this,function(u){switch(u.label){case 0:return r.preventDefault(),e=v.find("#".concat(n)).val().trim(),i=v.find("#".concat(o)).val().trim(),[4,xNt(t,e,i)];case 1:return u.sent(),t.hidePanelOrModal(),[2]}})})}),this.$content=v}var g=this.$content;return g.empty(),g.append(a),g.append(l),g.append(h),d.val(""),p.val(""),setTimeout(function(){d.focus()}),g[0]},t}(),GNt={};function WNt(){if(INt)return BNt;INt=1;var t=xCt(),e=MSt(),r=ACt(),n=dDt(),o=function(){if(PNt)return kNt;PNt=1;var t=zwt();return kNt=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=n("IE_PROTO"),u=Object,a=u.prototype;return BNt=o?u.getPrototypeOf:function(n){var o=r(n);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function qNt(){if(RNt)return FNt;RNt=1;var t,e,r,n=zwt(),o=MSt(),i=zSt(),u=mAt(),a=WNt(),s=gDt(),c=NCt(),l=SCt(),f=c("iterator"),d=!1;return[].keys&&("next"in(r=[].keys())?(e=a(a(r)))!==Object.prototype&&(t=e):d=!0),!i(t)||n(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),FNt={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function KNt(){if(MNt)return jNt;MNt=1;var t=EOt(),e=Uwt(),r=SCt(),n=cDt(),o=MSt(),i=function(){if(_Nt)return LNt;_Nt=1;var t=qNt().IteratorPrototype,e=mAt(),r=BSt(),n=PTt(),o=fNt(),i=function(){return this};return LNt=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:r(+!c,s)}),n(u,l,!1,!0),o[l]=i,u}}(),u=WNt(),a=kTt(),s=PTt(),c=WCt(),l=gDt(),f=NCt(),d=fNt(),p=qNt(),h=n.PROPER,v=n.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return jNt=function(n,f,p,C,D,O,A){i(p,f,C);var x,T,N,k=function(t){if(t===D&&R)return R;if(!y&&t&&t in I)return I[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},P=f+" Iterator",B=!1,I=n.prototype,F=I[m]||I["@@iterator"]||D&&I[D],R=!y&&F||k(D),L="Array"===f&&I.entries||F;if(L&&(x=u(L.call(new n)))!==Object.prototype&&x.next&&(r||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,P,!0,!0),r&&(d[P]=S)),h&&D===E&&F&&F.name!==E&&(!r&&v?c(I,"name",E):(B=!0,R=function(){return e(F,this)})),D)if(T={values:k(E),keys:O?R:k(b),entries:k(w)},A)for(N in T)(y||B||!(N in I))&&l(I,N,T[N]);else t({target:f,proto:!0,forced:y||B},T);return r&&!A||I[m]===R||l(I,m,R,{name:D}),d[f]=R,T}}function YNt(){return HNt?zNt:(HNt=1,zNt=function(t,e){return{value:t,done:e}})}function XNt(){if(UNt)return $Nt;UNt=1;var t=jSt(),e=bAt(),r=fNt(),n=hDt(),o=GCt().f,i=KNt(),u=YNt(),a=SCt(),s=Hwt(),c="Array Iterator",l=n.set,f=n.getterFor(c);$Nt=i(Array,"Array",function(e,r){l(this,{type:c,target:t(e),index:0,kind:r})},function(){var t=f(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(r,!1);case"values":return u(e[r],!1)}return u([r,e[r]],!1)},"values");var d=r.Arguments=r.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return $Nt}!function(){if(NNt)return GNt;NNt=1;var t=EOt(),e=ISt(),r=RSt(),n=jSt(),o=Cxt(),i=e([].join);t({target:"Array",proto:!0,forced:r!==Object||!o("join",",")},{join:function(t){return i(n(this),void 0===t?",":t)}})}(),XNt();var JNt,ZNt={};!function(){if(JNt)return ZNt;JNt=1;var t=EOt(),e=iAt().map;t({target:"Array",proto:!0,forced:!xOt()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var QNt,tkt={};!function(){if(QNt)return tkt;QNt=1;var t=EOt(),e=wOt(),r=OOt(),n=zSt(),o=LDt(),i=jDt(),u=jSt(),a=SOt(),s=NCt(),c=xOt(),l=RTt(),f=c("slice"),d=s("species"),p=Array,h=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,s){var c,f,v,g=u(this),y=i(g),m=o(t,y),b=o(void 0===s?y:s,y);if(e(g)&&(c=g.constructor,(r(c)&&(c===p||e(c.prototype))||n(c)&&null===(c=c[d]))&&(c=void 0),c===p||void 0===c))return l(g,m,b);for(f=new(void 0===c?p:c)(h(b-m,0)),v=0;m<b;m++,v++)m in g&&a(f,v,g[m]);return f.length=v,f}})}();var ekt,rkt={};!function(){if(ekt)return rkt;ekt=1;var t=cxt().charAt,e=jOt(),r=hDt(),n=KNt(),o=YNt(),i="String Iterator",u=r.set,a=r.getterFor(i);n(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,r=a(this),n=r.string,i=r.index;return i>=n.length?o(void 0,!0):(e=t(n,i),r.index+=e.length,o(e,!1))})}();var nkt,okt,ikt,ukt,akt={};function skt(){if(okt)return nkt;okt=1;var t=zwt();return nkt=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})}function ckt(){if(ukt)return ikt;ukt=1;var t=gDt();return ikt=function(e,r,n){for(var o in r)t(e,o,r[o],n);return e}}var lkt,fkt,dkt,pkt,hkt,vkt,gkt,ykt,mkt,bkt,Ekt,wkt,Skt,Ckt,Dkt={exports:{}},Okt={};function Akt(){if(vkt)return Dkt.exports;vkt=1;var t=EOt(),e=ISt(),r=pDt(),n=zSt(),o=xCt(),i=GCt().f,u=$Dt(),a=function(){if(lkt)return Okt;lkt=1;var t=FSt(),e=jSt(),r=$Dt().f,n=RTt(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return Okt.f=function(i){return o&&"Window"===t(i)?function(t){try{return r(t)}catch(t){return n(o)}}(i):r(e(i))},Okt}(),s=function(){if(hkt)return pkt;hkt=1;var t=zwt(),e=zSt(),r=FSt(),n=function(){if(dkt)return fkt;dkt=1;var t=zwt();return fkt=t(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})}(),o=Object.isExtensible,i=t(function(){});return pkt=i||n?function(t){return!!e(t)&&(!n||"ArrayBuffer"!==r(t))&&(!o||o(t))}:o}(),c=TCt(),l=skt(),f=!1,d=c("meta"),p=0,h=function(t){i(t,d,{value:{objectID:"O"+p++,weakData:{}}})},v=Dkt.exports={enable:function(){v.enable=function(){},f=!0;var r=u.f,n=e([].splice),o={};o[d]=1,r(o).length&&(u.f=function(t){for(var e=r(t),o=0,i=e.length;o<i;o++)if(e[o]===d){n(e,o,1);break}return e},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!n(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,d)){if(!s(t))return"F";if(!e)return"E";h(t)}return t[d].objectID},getWeakData:function(t,e){if(!o(t,d)){if(!s(t))return!0;if(!e)return!1;h(t)}return t[d].weakData},onFreeze:function(t){return l&&f&&s(t)&&!o(t,d)&&h(t),t}};return r[d]=!0,Dkt.exports}function xkt(){if(bkt)return mkt;bkt=1;var t=EOt(),e=kwt(),r=ISt(),n=bOt(),o=gDt(),i=Akt(),u=pNt(),a=ITt(),s=MSt(),c=LSt(),l=zSt(),f=zwt(),d=hNt(),p=PTt(),h=function(){if(ykt)return gkt;ykt=1;var t=MSt(),e=zSt(),r=kTt();return gkt=function(n,o,i){var u,a;return r&&t(u=o.constructor)&&u!==i&&e(a=u.prototype)&&a!==i.prototype&&r(n,a),n}}();return mkt=function(v,g,y){var m=-1!==v.indexOf("Map"),b=-1!==v.indexOf("Weak"),E=m?"set":"add",w=e[v],S=w&&w.prototype,C=w,D={},O=function(t){var e=r(S[t]);o(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!l(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(n(v,!s(w)||!(b||S.forEach&&!f(function(){(new w).entries().next()}))))C=y.getConstructor(g,v,m,E),i.enable();else if(n(v,!0)){var A=new C,x=A[E](b?{}:-0,1)!==A,T=f(function(){A.has(1)}),N=d(function(t){new w(t)}),k=!b&&f(function(){for(var t=new w,e=5;e--;)t[E](e,e);return!t.has(-0)});N||((C=g(function(t,e){a(t,S);var r=h(new w,t,C);return c(e)||u(e,r[E],{that:r,AS_ENTRIES:m}),r})).prototype=S,S.constructor=C),(T||k)&&(O("delete"),O("has"),m&&O("get")),(k||x)&&O(E),b&&S.clear&&delete S.clear}return D[v]=C,t({global:!0,constructor:!0,forced:C!==w},D),p(C,v),b||y.setStrong(C,v,m),C}}Ckt||(Ckt=1,function(){if(Skt)return akt;Skt=1;var t,e=skt(),r=kwt(),n=ISt(),o=ckt(),i=Akt(),u=xkt(),a=function(){if(wkt)return Ekt;wkt=1;var t=ISt(),e=ckt(),r=Akt().getWeakData,n=ITt(),o=VCt(),i=LSt(),u=zSt(),a=pNt(),s=iAt(),c=xCt(),l=hDt(),f=l.set,d=l.getterFor,p=s.find,h=s.findIndex,v=t([].splice),g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return p(t.entries,function(t){return t[0]===e})};return m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var r=b(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,function(e){return e[0]===t});return~e&&v(this.entries,e,1),!!~e}},Ekt={getConstructor:function(t,s,l,p){var h=t(function(t,e){n(t,v),f(t,{type:s,id:g++,frozen:null}),i(e)||a(e,t[p],{that:t,AS_ENTRIES:l})}),v=h.prototype,m=d(s),b=function(t,e,n){var i=m(t),u=r(o(e),!0);return!0===u?y(i).set(e,n):u[i.id]=n,t};return e(v,{delete:function(t){var e=m(this);if(!u(t))return!1;var n=r(t);return!0===n?y(e).delete(t):n&&c(n,e.id)&&delete n[e.id]},has:function(t){var e=m(this);if(!u(t))return!1;var n=r(t);return!0===n?y(e).has(t):n&&c(n,e.id)}}),e(v,l?{get:function(t){var e=m(this);if(u(t)){var n=r(t);if(!0===n)return y(e).get(t);if(n)return n[e.id]}},set:function(t,e){return b(this,t,e)}}:{add:function(t){return b(this,t,!0)}}),h}}}(),s=zSt(),c=hDt().enforce,l=zwt(),f=fDt(),d=Object,p=Array.isArray,h=d.isExtensible,v=d.isFrozen,g=d.isSealed,y=d.freeze,m=d.seal,b=!r.ActiveXObject&&"ActiveXObject"in r,E=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},w=u("WeakMap",E,a),S=w.prototype,C=n(S.set);if(f)if(b){t=a.getConstructor(E,"WeakMap",!0),i.enable();var D=n(S.delete),O=n(S.has),A=n(S.get);o(S,{delete:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),D(this,e)||r.frozen.delete(e)}return D(this,e)},has:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),O(this,e)||r.frozen.has(e)}return O(this,e)},get:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),O(this,e)?A(this,e):r.frozen.get(e)}return A(this,e)},set:function(e,r){if(s(e)&&!h(e)){var n=c(this);n.frozen||(n.frozen=new t),O(this,e)?C(this,e,r):n.frozen.set(e,r)}else C(this,e,r);return this}})}else e&&l(function(){var t=y([]);return C(new w,t,1),!v(t)})&&o(S,{set:function(t,e){var r;return p(t)&&(v(t)?r=y:g(t)&&(r=m)),C(this,t,e),r&&r(t),this}})}());var Tkt,Nkt={};function kkt(t){return t.getMenuConfig("uploadVideo")}!function(){if(Tkt)return Nkt;Tkt=1;var t=kwt(),e=wxt(),r=Sxt(),n=XNt(),o=WCt(),i=PTt(),u=NCt()("iterator"),a=n.values,s=function(t,r){if(t){if(t[u]!==a)try{o(t,u,a)}catch(e){t[u]=a}if(i(t,r,!0),e[r])for(var s in n)if(t[s]!==n[s])try{o(t,s,n[s])}catch(e){t[s]=n[s]}}};for(var c in e)s(t[c]&&t[c].prototype,c);s(r,"DOMTokenList")}();var Pkt=new WeakMap;function Bkt(t,e){return zAt(this,void 0,void 0,function(){var r,n;return HAt(this,function(o){switch(o.label){case 0:return r=function(t){var e=Pkt.get(t);if(null!=e)return e;var r=kkt(t),n=r.onSuccess,o=r.onProgress,i=r.onFailed,u=r.customInsert,a=r.onError;return e=QR(MAt(MAt({},r),{onProgress:function(e){t.showProgressBar(e),o&&o(e)},onSuccess:function(e,r){if(u)return u(r,function(e,r){return xNt(t,e,r)}),void n(e,r);var o=r.errno,a=void 0===o?1:o,s=r.data,c=void 0===s?{}:s;if(0===a){var l=c.url,f=void 0===l?"":l,d=c.poster;xNt(t,f,void 0===d?"":d),n(e,r)}else i(e,r)},onError:function(t,e,r){a(t,e,r)}})),Pkt.set(t,e),e}(t),n=e.map(function(t){return{name:t.name,type:t.type,size:t.size,data:t}}),r.addFiles(n),[4,r.upload()];case 1:return o.sent(),[2]}})})}var Ikt=function(){function t(){this.title=RF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){var r=this.getMenuConfig(t),n=r.allowedFileTypes,o=void 0===n?[]:n,i=r.customBrowseAndUpload;if(i)i(function(e,r){return xNt(t,e,r)});else{var u="";o.length>0&&(u='accept="'.concat(o.join(", "),'"'));var a=og("body"),s=og('<input type="file" '.concat(u," multiple/>"));s.hide(),a.append(s),s.click(),s.on("change",function(){var e=s[0].files;!function(t,e){zAt(this,void 0,void 0,function(){var r,n,o,i,u,a,s,c,l,f,d,p;return HAt(this,function(h){switch(h.label){case 0:if(null==e)return[2];r=Array.prototype.slice.call(e),n=[],o=kkt(t).customUpload,h.label=1;case 1:h.trys.push([1,8,9,14]),i=!0,u=UAt(r),h.label=2;case 2:return[4,u.next()];case 3:return a=h.sent(),(l=a.done)?[3,7]:(p=a.value,i=!1,s=p,o?[4,o(s,function(e,r){return xNt(t,e,r)})]:[3,5]);case 4:return h.sent(),[3,6];case 5:n.push(s),h.label=6;case 6:return i=!0,[3,2];case 7:return[3,14];case 8:return c=h.sent(),f={error:c},[3,14];case 9:return h.trys.push([9,,12,13]),i||l||!(d=u.return)?[3,11]:[4,d.call(u)];case 10:h.sent(),h.label=11;case 11:return[3,13];case 12:if(f)throw f.error;return[7];case 13:return[7];case 14:return n.length>0?[4,Bkt(t,n)]:[3,16];case 15:h.sent(),h.label=16;case 16:return[2]}})})}(t,e)})}},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!dv.isCollapsed(e)||!!SB.getSelectedElems(t).some(function(e){var r=SB.getNodeType(e);return"pre"===r||"list-item"===r||!!t.isVoid(e)})},t.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadVideo")},t}(),Fkt={key:"insertVideo",factory:function(){return new VNt},config:{onInsertedVideo:function(t){},checkVideo:function(t,e){return!0},parseVideoSrc:function(t){return t}}},Rkt={key:"uploadVideo",factory:function(){return new Ikt},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("'".concat(t.name,"' upload failed"),e)},onError:function(t,e,r){console.error("'".concat(t.name," upload error"),e,r)}}},Lkt={key:"editVideoSize",factory:function(){return new xxt}},_kt={key:"editVideoSrc",factory:function(){return new OTt}};function jkt(t,e,r,n,o,i){return void 0===e&&(e=""),void 0===r&&(r="auto"),void 0===n&&(n="auto"),void 0===o&&(o={}),void 0===i&&(i="center"),{type:"video",src:t,poster:e,width:r,height:n,style:o,children:[{text:""}],textAlign:i}}var Mkt,zkt={selector:'div[data-w-e-type="video"]',parseElemHtml:function(t,e,r){var n=og(t),o="",i="",u="auto",a="auto",s={},c=n.find("iframe");if(c.length>0)return u=c.attr("width")||"auto",a=c.attr("height")||"auto",s=Oxt(s=c.attr("style")||""),jkt(o=c[0].outerHTML,i,u,a,s,Oxt(n.attr("style")||"")["text-align"]||"center");var l=n.find("video");return(o=l.attr("src")||"")||l.length>0&&(o=l.find("source").attr("src")||""),u=l.attr("width")||"auto",a=l.attr("height")||"auto",jkt(o,i=l.attr("poster")||"",u,a,s=Oxt(s=l.attr("style")||""),Oxt(n.attr("style")||"")["text-align"]||"center")}},Hkt={};!function(){if(Mkt)return Hkt;Mkt=1;var t=EOt(),e=MDt().includes,r=zwt(),n=bAt();t({target:"Array",proto:!0,forced:r(function(){return!Array(1).includes()})},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n("includes")}();var $kt={renderElems:[{type:"video",renderElem:function(t,e,r){var n,o=t,i=o.src,u=void 0===i?"":i,a=o.poster,s=void 0===a?"":a,c=o.key,l=void 0===c?"":c,f=o.width,d=void 0===f?"auto":f,p=o.height,h=void 0===p?"auto":p,v=o.style,g=void 0===v?{}:v,y=o.textAlign,m=void 0===y?"center":y,b=SB.isNodeSelected(r,t);if(0===u.trim().indexOf("<iframe ")){n=Ry("div",{className:"w-e-textarea-video-container","data-selected":b?"true":"",style:{textAlign:m},innerHTML:VOt(u,d,h,g)})}else{var E=Ry("video",{key:l,poster:s,controls:!0,style:g},Ry("source",{src:u,type:"video/mp4"}),"Sorry, your browser doesn't support embedded videos.\n 抱歉,浏览器不支持 video 视频");"auto"!==d&&(E.data.width=d),"auto"!==h&&(E.data.height=h),n=Ry("div",{className:"w-e-textarea-video-container","data-selected":b?"true":"",style:{textAlign:m}},E)}return vy("div",{props:{contentEditable:!1},on:{mousedown:function(t){return t.preventDefault()}}},n)}}],elemsToHtml:[KOt],preParseHtml:[{selector:"iframe,video,p",preParseHtml:function(t){var e=og(t),r=e;if("p"===UOt(e)){var n=e.children();if(1===n.length){var o=n[0],i=o.tagName.toLowerCase();["iframe","video"].includes(i)&&(r=og(o))}}var u=UOt(r);if("iframe"!==u&&"video"!==u)return r[0];if("video"===r.parent().attr("data-w-e-type"))return r[0];var a=og('<div data-w-e-type="video" data-w-e-is-void style="text-align: center;"></div>');return a.append(r),a[0]}}],parseElemsHtml:[zkt],menus:[Fkt,Rkt,Lkt,_kt],editorPlugin:function(t){var e=t.isVoid,r=t.normalizeNode,n=t;return n.isVoid=function(t){return"video"===t.type||e(t)},n.normalizeNode=function(t){var e=$At(t,2),o=e[0],i=e[1];return"video"===SB.getNodeType(o)&&SB.isLastNode(n,o)&&zv.insertNodes(n,SB.genEmptyParagraph(),{at:[i[0]+1]}),r([o,i])},n}},Ukt=function(){return Ukt=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Ukt.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var Vkt=function(){function t(){throw new Error("不能实例化\nCan not construct a instance")}return t.setEditorConfig=function(t){void 0===t&&(t={}),this.editorConfig=Ukt(Ukt({},this.editorConfig),t)},t.setSimpleEditorConfig=function(t){void 0===t&&(t={}),this.simpleEditorConfig=Ukt(Ukt({},this.simpleEditorConfig),t)},t.setToolbarConfig=function(t){void 0===t&&(t={}),this.toolbarConfig=Ukt(Ukt({},this.toolbarConfig),t)},t.setSimpleToolbarConfig=function(t){void 0===t&&(t={}),this.simpleToolbarConfig=Ukt(Ukt({},this.simpleToolbarConfig),t)},t.registerPlugin=function(t){this.plugins.push(t)},t.registerMenu=function(t,e){!function(t,e){var r=t.key,n=t.factory,o=t.config,i=OO(OO({},o),e||{});if(null!=IO[r])throw new Error("Duplicated key '".concat(r,"' in menu items"));IO[r]=n,function(t,e){null!=e&&(NO[t]=e)}(r,i)}(t,e)},t.registerRenderElem=function(t){!function(t){var e=t.type,r=t.renderElem;kR[e||""]=r}(t)},t.registerRenderStyle=function(t){!function(t){NR.push(t)}(t)},t.registerElemToHtml=function(t){!function(t){var e=t.type,r=t.elemToHtml;iB[e||""]=r}(t)},t.registerStyleToHtml=function(t){!function(t){oB.push(t)}(t)},t.registerPreParseHtml=function(t){!function(t){qP.push(t)}(t)},t.registerParseElemHtml=function(t){!function(t){var e=t.selector,r=t.parseElemHtml;YP[e]=r}(t)},t.registerParseStyleHtml=function(t){!function(t){KP.push(t)}(t)},t.registerModule=function(t){Gkt(t)},t.editorConfig={},t.simpleEditorConfig={},t.toolbarConfig={},t.simpleToolbarConfig={},t.plugins=[],t}();function Gkt(t){var e=t.menus,r=t.renderElems,n=t.renderStyle,o=t.elemsToHtml,i=t.styleToHtml,u=t.preParseHtml,a=t.parseElemsHtml,s=t.parseStyleHtml,c=t.editorPlugin;e&&e.forEach(function(t){return Vkt.registerMenu(t)}),r&&r.forEach(function(t){return Vkt.registerRenderElem(t)}),n&&Vkt.registerRenderStyle(n),o&&o.forEach(function(t){return Vkt.registerElemToHtml(t)}),i&&Vkt.registerStyleToHtml(i),u&&u.forEach(function(t){return Vkt.registerPreParseHtml(t)}),a&&a.forEach(function(t){return Vkt.registerParseElemHtml(t)}),s&&Vkt.registerParseStyleHtml(s),c&&Vkt.registerPlugin(c)}o0.forEach(function(t){return Gkt(t)}),Gkt($rt),Gkt(cpt),Gkt($kt),Gkt(Owt),Gkt(C3);var Wkt='<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>';var qkt={link:{menuKeys:["editLink","unLink","viewLink"]},image:{menuKeys:["imageWidth30","imageWidth50","imageWidth100","editorImageSizeMenu","editImage","viewImageLink","deleteImage"]},pre:{menuKeys:["enter","codeBlock","codeSelectLang"]},table:{menuKeys:["enter","tableHeader","tableFullWidth","insertTableRow","deleteTableRow","insertTableCol","deleteTableCol","deleteTable","mergeTableCell","splitTableCell","setTableProperty","setTableCellProperty"]},divider:{menuKeys:["enter"]},video:{menuKeys:["enter","editVideoSize","editVideoSrc"]}};var Kkt={hoverbarKeys:Ukt(Ukt({},qkt),{text:{menuKeys:["formatPainter","headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};Vkt.setEditorConfig(Ukt(Ukt({},Kkt),{decorate:y6}));var Ykt={hoverbarKeys:qkt};Vkt.setSimpleEditorConfig(Ukt(Ukt({},Ykt),{decorate:y6}));var Xkt={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:RF("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:RF("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:RF("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:RF("editor.image"),iconSvg:Wkt,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:RF("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","|","formatPainter","fullScreen"]};Vkt.setToolbarConfig(Xkt);var Jkt={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:RF("editor.image"),iconSvg:Wkt,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};function Zkt(t){void 0===t&&(t={});var e=t.selector,r=void 0===e?"":e,n=t.content,o=void 0===n?[]:n,i=t.html,u=t.config,a=void 0===u?{}:u,s=t.mode,c="simple"===(void 0===s?"default":s)?Vkt.simpleEditorConfig:Vkt.editorConfig,l=Ukt(Ukt({},c.hoverbarKeys||{}),a.hoverbarKeys||{});return UR({selector:r,config:Ukt(Ukt(Ukt({},c),a),{hoverbarKeys:l}),content:o,html:i,plugins:Vkt.plugins})}function Qkt(t){var e=t.selector,r=t.editor,n=t.config,o=void 0===n?{}:n,i=t.mode,u=void 0===i?"default":i;if(!e)throw new Error("Cannot find 'selector' when create toolbar");var a="simple"===u?Vkt.simpleToolbarConfig:Vkt.toolbarConfig,s=function(t,e){if(null==t)throw new Error("Cannot create toolbar, because editor is null");var r=e.selector,n=e.config,o=void 0===n?{}:n;if(function(t,e){return eB(t,"data-w-e-toolbar",e)}(t,r))throw new Error("Repeated create toolbar by selector '".concat(r,"'"));var i=OO({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},o||{}),u=new XR(r,i);return Rx.set(u,t),Lx.set(t,u),u}(r,{selector:e,config:Ukt(Ukt({},a),o)});return s}Vkt.setSimpleToolbarConfig(Jkt);var tPt={};export{Vkt as Boot,SB as DomEditor,Kh as SlateEditor,$h as SlateElement,Yh as SlateLocation,tv as SlateNode,ov as SlatePath,sv as SlatePoint,dv as SlateRange,wv as SlateText,zv as SlateTransforms,XR as Toolbar,Zkt as createEditor,Qkt as createToolbar,QR as createUploader,tPt as default,KF as genModalButtonElems,WF as genModalInputElems,qF as genModalTextareaElems,PF as i18nAddResources,BF as i18nChangeLanguage,IF as i18nGetResources,RF as t};
|
|
32
|
+
*/t.exports&&(t.exports=e),void 0!==u0&&(u0.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"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},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(t){"entity"===t.type&&(t.attributes.title=t.content.replace(/&/,"&"))}),Object.defineProperty(e.languages.markup.tag,"addInlined",{value:function(t,r){var n={};n["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:e.languages[r]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};o["language-"+r]={pattern:/[\s\S]+/,inside:e.languages[r]};var i={};i[t]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return t}),"i"),lookbehind:!0,greedy:!0,inside:o},e.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(e.languages.markup.tag,"addAttribute",{value:function(t,r){e.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:[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(t){var e=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;t.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+e.source+")*?"+/(?:;|(?=\s*\{))/.source),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\\((?:"+e.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+e.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+e.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:e,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:/[(){};:,]/},t.languages.css.atrule.inside.rest=t.languages.css;var r=t.languages.markup;r&&(r.tag.addInlined("style","css"),r.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|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\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])*(?=\.(?:constructor|prototype))/,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:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),e.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,e.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),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]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),e.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),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(void 0!==e&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var t={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},r="data-src-status",n="loading",o="loaded",i="pre[data-src]:not(["+r+'="'+o+'"]):not(['+r+'="'+n+'"])';e.hooks.add("before-highlightall",function(t){t.selector+=", "+i}),e.hooks.add("before-sanity-check",function(u){var a=u.element;if(a.matches(i)){u.code="",a.setAttribute(r,n);var s=a.appendChild(document.createElement("CODE"));s.textContent="Loading…";var c=a.getAttribute("data-src"),l=u.language;if("none"===l){var f=(/\.(\w+)$/.exec(c)||[,"none"])[1];l=t[f]||f}e.util.setLanguage(s,l),e.util.setLanguage(a,l);var d=e.plugins.autoloader;d&&d.loadLanguages(l),function(t,e,r){var n=new XMLHttpRequest;n.open("GET",t,!0),n.onreadystatechange=function(){4==n.readyState&&(n.status<400&&n.responseText?e(n.responseText):n.status>=400?r("✖ Error "+n.status+" while fetching file: "+n.statusText):r("✖ Error: File does not exist or is empty"))},n.send(null)}(c,function(t){a.setAttribute(r,o);var n=function(t){var e=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(t||"");if(e){var r=Number(e[1]),n=e[2],o=e[3];return n?o?[r,Number(o)]:[r,void 0]:[r,r]}}(a.getAttribute("data-range"));if(n){var i=t.split(/\r\n?|\n/g),u=n[0],c=null==n[1]?i.length:n[1];u<0&&(u+=i.length),u=Math.max(0,Math.min(u-1,i.length)),c<0&&(c+=i.length),c=Math.max(0,Math.min(c,i.length)),t=i.slice(u,c).join("\n"),a.hasAttribute("data-start")||a.setAttribute("data-start",String(u+1))}s.textContent=t,e.highlightElement(s)},function(t){a.setAttribute(r,"failed"),s.textContent=t})}}),e.plugins.fileHighlight={highlight:function(t){for(var r,n=(t||document).querySelectorAll(i),o=0;r=n[o++];)e.highlightElement(r)}};var u=!1;e.fileHighlight=function(){u||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),u=!0),e.plugins.fileHighlight.highlight.apply(this,arguments)}}}()}(Q4)),Q4.exports));!function(t){var e=t.util.clone(t.languages.javascript),r=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,n=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(t,e){return t=t.replace(/<S>/g,function(){return r}).replace(/<BRACES>/g,function(){return n}).replace(/<SPREAD>/g,function(){return o}),RegExp(t,e)}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>\/]*/,t.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,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),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:t.languages.jsx}}},t.languages.jsx.tag);var u=function(t){return t?"string"==typeof t?t:"string"==typeof t.content?t.content:t.content.map(u).join(""):""},a=function(e){for(var r=[],n=0;n<e.length;n++){var o=e[n],i=!1;if("string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?r.length>0&&r[r.length-1].tagName===u(o.content[0].content[1])&&r.pop():"/>"===o.content[o.content.length-1].content||r.push({tagName:u(o.content[0].content[1]),openedBraces:0}):r.length>0&&"punctuation"===o.type&&"{"===o.content?r[r.length-1].openedBraces++:r.length>0&&r[r.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?r[r.length-1].openedBraces--:i=!0),(i||"string"==typeof o)&&r.length>0&&0===r[r.length-1].openedBraces){var s=u(o);n<e.length-1&&("string"==typeof e[n+1]||"plain-text"===e[n+1].type)&&(s+=u(e[n+1]),e.splice(n+1,1)),n>0&&("string"==typeof e[n-1]||"plain-text"===e[n-1].type)&&(s=u(e[n-1])+s,e.splice(n-1,1),n--),e[n]=new t.Token("plain-text",s,null,s)}o.content&&"string"!=typeof o.content&&a(o.content)}};t.hooks.add("after-tokenize",function(t){"jsx"!==t.language&&"tsx"!==t.language||a(t.tokens)})}(Prism),W4||(W4=1,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(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),t.languages.typescript.keyword.push(/\b(?:abstract|declare|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,delete t.languages.typescript["literal-property"];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"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},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){"entity"===t.type&&(t.attributes.title=t.content.replace(/&/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(t,e){var r={};r["language-"+e]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[e]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var n={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};n["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:n},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:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,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(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),Prism.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete Prism.languages.go["class-name"],q4||(q4=1,function(t){var e=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,r=[{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*\()/],n=/\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|(?=\{))/,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(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/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(?: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|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\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:r,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:n,operator:o,punctuation:i};var u={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:t.languages.php},a=[{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:u}},{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:u}}];t.languages.insertBefore("php","variable",{string:a,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:e,string:a,"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:r,number:n,operator:o,punctuation:i}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),t.hooks.add("before-tokenize",function(e){/<\?/.test(e.code)&&t.languages["markup-templating"].buildPlaceholders(e,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),t.hooks.add("after-tokenize",function(e){t.languages["markup-templating"].tokenizePlaceholders(e,"php")})}(Prism)),Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,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(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|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",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),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],char:Prism.languages.c.char,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}}}}),Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete Prism.languages.c.boolean,K4||(K4=1,Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern://,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\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+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|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(?:False|None|True)\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?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python),Y4||(Y4=1,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(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,n={pattern:RegExp(/(^|[^\w.])/.source+r+/[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",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[n,{pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:n.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+r+/[A-Z]\w*\b/.source),lookbehind:!0,inside:n.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},constant:/\b[A-Z][A-Z_\d]+\b/}),t.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),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":n,keyword:e,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+r+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:n.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+r+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:n.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],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)),X4||(X4=1,function(t){var e=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_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|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,r=/\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(?:false|true)\b/}),t.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\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 r})+")"),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)),J4||(J4=1,function(t){function e(t,e){return t.replace(/<<(\d+)>>/g,function(t,r){return"(?:"+e[+r]+")"})}function r(t,r,n){return RegExp(e(t,r),"")}function n(t,e){for(var r=0;r<e;r++)t=t.replace(/<<self>>/g,function(){return"(?:"+t+")"});return t.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",u="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*{)",a="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(t){return"\\b(?:"+t.trim().replace(/ /g,"|")+")\\b"}var c=s(i),l=RegExp(s(o+" "+i+" "+u+" "+a)),f=s(i+" "+u+" "+a),d=s(o+" "+i+" "+a),p=n(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),h=n(/\((?:[^()]|<<self>>)*\)/.source,2),v=/@?\b[A-Za-z_]\w*\b/.source,g=e(/<<0>>(?:\s*<<1>>)?/.source,[v,p]),y=e(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[f,g]),m=/\[\s*(?:,\s*)*\]/.source,b=e(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[y,m]),E=e(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[p,h,m]),w=e(/\(<<0>>+(?:,<<0>>+)+\)/.source,[E]),S=e(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[w,y,m]),C={keyword:l,punctuation:/[<>()?,.:[\]]/},D=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,O=/"(?:\\.|[^\\"\r\n])*"/.source,A=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;t.languages.csharp=t.languages.extend("clike",{string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:r(/(^|[^@$\\])<<0>>/.source,[O]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:r(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[y]),lookbehind:!0,inside:C},{pattern:r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[v,S]),lookbehind:!0,inside:C},{pattern:r(/(\busing\s+)<<0>>(?=\s*=)/.source,[v]),lookbehind:!0},{pattern:r(/(\b<<0>>\s+)<<1>>/.source,[c,g]),lookbehind:!0,inside:C},{pattern:r(/(\bcatch\s*\(\s*)<<0>>/.source,[y]),lookbehind:!0,inside:C},{pattern:r(/(\bwhere\s+)<<0>>/.source,[v]),lookbehind:!0},{pattern:r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:C},{pattern:r(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[S,d,v]),inside:C}],keyword:l,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),t.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),t.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:r(/([(,]\s*)<<0>>(?=\s*:)/.source,[v]),lookbehind:!0,alias:"punctuation"}}),t.languages.insertBefore("csharp","class-name",{namespace:{pattern:r(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[v]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:r(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[h]),lookbehind:!0,alias:"class-name",inside:C},"return-type":{pattern:r(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[S,y]),inside:C,alias:"class-name"},"constructor-invocation":{pattern:r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[S]),lookbehind:!0,inside:C,alias:"class-name"},"generic-method":{pattern:r(/<<0>>\s*<<1>>(?=\s*\()/.source,[v,p]),inside:{function:r(/^<<0>>/.source,[v]),generic:{pattern:RegExp(p),alias:"class-name",inside:C}}},"type-list":{pattern:r(/\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,[c,g,v,S,l.source,h,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:r(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[g,h]),lookbehind:!0,greedy:!0,inside:t.languages.csharp},keyword:l,"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 x=O+"|"+D,T=e(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[x]),N=n(e(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[T]),2),k=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,P=e(/<<0>>(?:\s*\(<<1>>*\))?/.source,[y,N]);t.languages.insertBefore("csharp","class-name",{attribute:{pattern:r(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[k,P]),lookbehind:!0,greedy:!0,inside:{target:{pattern:r(/^<<0>>(?=\s*:)/.source,[k]),alias:"keyword"},"attribute-arguments":{pattern:r(/\(<<0>>*\)/.source,[N]),inside:t.languages.csharp},"class-name":{pattern:RegExp(y),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var B=/:[^}\r\n]+/.source,I=n(e(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[T]),2),F=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[I,B]),R=n(e(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[x]),2),L=e(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[R,B]);function _(e,n){return{interpolation:{pattern:r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[e]),lookbehind:!0,inside:{"format-string":{pattern:r(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[n,B]),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:r(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[F]),lookbehind:!0,greedy:!0,inside:_(F,I)},{pattern:r(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[L]),lookbehind:!0,greedy:!0,inside:_(L,R)}],char:{pattern:RegExp(D),greedy:!0}}),t.languages.dotnet=t.languages.cs=t.languages.csharp}(Prism)),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)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\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)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,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},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},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(?:COL|_INSERT)?|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(?:ING|S)?|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(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},Z4||(Z4=1,function(t){t.languages.ruby=t.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),t.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var e={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:t.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete t.languages.ruby.function;var r="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",n=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;t.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+r+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:e,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:e,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+n),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+n+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),t.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+r),greedy:!0,inside:{interpolation:e,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:e,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:e,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+r),greedy:!0,inside:{interpolation:e,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:e,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete t.languages.ruby.string,t.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),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]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\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|isolated|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(?:false|true)\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",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:r,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}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};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+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+e),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:n.entity}}],environment:{pattern:RegExp("\\$?"+e),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|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|docker|docker-compose|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|java|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|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|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|sysctl|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|vcpkg|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;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\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}},r.inside=t.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=n.variable[1].inside,u=0;u<o.length;u++)i[o[u]]=t.languages.bash[o[u]];t.languages.sh=t.languages.bash,t.languages.shell=t.languages.bash}(Prism),function(t){var e=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function r(t){return t=t.replace(/<inner>/g,function(){return e}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+t+")")}var n=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return n}),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:/^---|---$/,"front-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(n),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(n),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:r(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:r(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:r(/(~~?)(?:(?!~)<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:r(/!?\[(?:(?!\])<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(e){["url","bold","italic","strike","code-snippet"].forEach(function(r){e!==r&&(t.languages.markdown[e].inside.content.inside[r]=t.languages.markdown[r])})}),t.hooks.add("after-tokenize",function(t){"markdown"!==t.language&&"md"!==t.language||function t(e){if(e&&"string"!=typeof e)for(var r=0,n=e.length;r<n;r++){var o=e[r];if("code"===o.type){var i=o.content[1],u=o.content[3];if(i&&u&&"code-language"===i.type&&"code-block"===u.type&&"string"==typeof i.content){var a=i.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),s="language-"+(a=(/[a-z][\w-]*/i.exec(a)||[""])[0].toLowerCase());u.alias?"string"==typeof u.alias?u.alias=[u.alias,s]:u.alias.push(s):u.alias=[s]}}else t(o.content)}}(t.tokens)}),t.hooks.add("wrap",function(e){if("code-block"===e.type){for(var r="",n=0,o=e.classes.length;n<o;n++){var i=e.classes[n],c=/language-(.+)/.exec(i);if(c){r=c[1];break}}var l=t.languages[r];if(l)e.content=t.highlight(function(t){var e=t.replace(u,"");return e.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(t,e){var r;return"#"===(e=e.toLowerCase())[0]?(r="x"===e[1]?parseInt(e.slice(2),16):Number(e.slice(1)),s(r)):a[e]||t})}(e.content),l,r);else if(r&&"none"!==r&&t.plugins.autoloader){var f="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());e.attributes.id=f,t.plugins.autoloader.loadLanguages(r,function(){var e=document.getElementById(f);e&&(e.innerHTML=t.highlight(e.textContent,t.languages[r],r))})}}});var u=RegExp(t.languages.markup.tag.pattern.source,"gi"),a={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:/[\[\](){},;]|\.+|:+/},function(t){var e={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};t.languages.groovy=t.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|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:/\.+|[{}[\];(),:$]/}),t.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:e,string:/[\s\S]+/}}}),t.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),t.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),e.inside.expression.inside=t.languages.groovy}(Prism),Prism.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:\*-INPUT|\?TO|ABAP-SOURCE|ABBREVIATED|ABS|ABSTRACT|ACCEPT|ACCEPTING|ACCESSPOLICY|ACCORDING|ACOS|ACTIVATION|ACTUAL|ADD|ADD-CORRESPONDING|ADJACENT|AFTER|ALIAS|ALIASES|ALIGN|ALL|ALLOCATE|ALPHA|ANALYSIS|ANALYZER|AND|ANY|APPEND|APPENDAGE|APPENDING|APPLICATION|ARCHIVE|AREA|ARITHMETIC|AS|ASCENDING|ASIN|ASPECT|ASSERT|ASSIGN|ASSIGNED|ASSIGNING|ASSOCIATION|ASYNCHRONOUS|AT|ATAN|ATTRIBUTES|AUTHORITY|AUTHORITY-CHECK|AVG|BACK|BACKGROUND|BACKUP|BACKWARD|BADI|BASE|BEFORE|BEGIN|BETWEEN|BIG|BINARY|BINDING|BIT|BIT-AND|BIT-NOT|BIT-OR|BIT-XOR|BLACK|BLANK|BLANKS|BLOB|BLOCK|BLOCKS|BLUE|BOUND|BOUNDARIES|BOUNDS|BOXED|BREAK-POINT|BT|BUFFER|BY|BYPASSING|BYTE|BYTE-CA|BYTE-CN|BYTE-CO|BYTE-CS|BYTE-NA|BYTE-NS|BYTE-ORDER|C|CA|CALL|CALLING|CASE|CAST|CASTING|CATCH|CEIL|CENTER|CENTERED|CHAIN|CHAIN-INPUT|CHAIN-REQUEST|CHANGE|CHANGING|CHANNELS|CHAR-TO-HEX|CHARACTER|CHARLEN|CHECK|CHECKBOX|CIRCULAR|CI_|CLASS|CLASS-CODING|CLASS-DATA|CLASS-EVENTS|CLASS-METHODS|CLASS-POOL|CLEANUP|CLEAR|CLIENT|CLOB|CLOCK|CLOSE|CN|CNT|CO|COALESCE|CODE|CODING|COLLECT|COLOR|COLUMN|COLUMNS|COL_BACKGROUND|COL_GROUP|COL_HEADING|COL_KEY|COL_NEGATIVE|COL_NORMAL|COL_POSITIVE|COL_TOTAL|COMMENT|COMMENTS|COMMIT|COMMON|COMMUNICATION|COMPARING|COMPONENT|COMPONENTS|COMPRESSION|COMPUTE|CONCAT|CONCATENATE|COND|CONDENSE|CONDITION|CONNECT|CONNECTION|CONSTANTS|CONTEXT|CONTEXTS|CONTINUE|CONTROL|CONTROLS|CONV|CONVERSION|CONVERT|COPIES|COPY|CORRESPONDING|COS|COSH|COUNT|COUNTRY|COVER|CP|CPI|CREATE|CREATING|CRITICAL|CS|CURRENCY|CURRENCY_CONVERSION|CURRENT|CURSOR|CURSOR-SELECTION|CUSTOMER|CUSTOMER-FUNCTION|DANGEROUS|DATA|DATABASE|DATAINFO|DATASET|DATE|DAYLIGHT|DBMAXLEN|DD\/MM\/YY|DD\/MM\/YYYY|DDMMYY|DEALLOCATE|DECIMALS|DECIMAL_SHIFT|DECLARATIONS|DEEP|DEFAULT|DEFERRED|DEFINE|DEFINING|DEFINITION|DELETE|DELETING|DEMAND|DEPARTMENT|DESCENDING|DESCRIBE|DESTINATION|DETAIL|DIALOG|DIRECTORY|DISCONNECT|DISPLAY|DISPLAY-MODE|DISTANCE|DISTINCT|DIV|DIVIDE|DIVIDE-CORRESPONDING|DIVISION|DO|DUMMY|DUPLICATE|DUPLICATES|DURATION|DURING|DYNAMIC|DYNPRO|E|EACH|EDIT|EDITOR-CALL|ELSE|ELSEIF|EMPTY|ENABLED|ENABLING|ENCODING|END|END-ENHANCEMENT-SECTION|END-LINES|END-OF-DEFINITION|END-OF-FILE|END-OF-PAGE|END-OF-SELECTION|ENDAT|ENDCASE|ENDCATCH|ENDCHAIN|ENDCLASS|ENDDO|ENDENHANCEMENT|ENDEXEC|ENDFOR|ENDFORM|ENDFUNCTION|ENDIAN|ENDIF|ENDING|ENDINTERFACE|ENDLOOP|ENDMETHOD|ENDMODULE|ENDON|ENDPROVIDE|ENDSELECT|ENDTRY|ENDWHILE|ENGINEERING|ENHANCEMENT|ENHANCEMENT-POINT|ENHANCEMENT-SECTION|ENHANCEMENTS|ENTRIES|ENTRY|ENVIRONMENT|EQ|EQUAL|EQUIV|ERRORMESSAGE|ERRORS|ESCAPE|ESCAPING|EVENT|EVENTS|EXACT|EXCEPT|EXCEPTION|EXCEPTION-TABLE|EXCEPTIONS|EXCLUDE|EXCLUDING|EXEC|EXECUTE|EXISTS|EXIT|EXIT-COMMAND|EXP|EXPAND|EXPANDING|EXPIRATION|EXPLICIT|EXPONENT|EXPORT|EXPORTING|EXTEND|EXTENDED|EXTENSION|EXTRACT|FAIL|FETCH|FIELD|FIELD-GROUPS|FIELD-SYMBOL|FIELD-SYMBOLS|FIELDS|FILE|FILTER|FILTER-TABLE|FILTERS|FINAL|FIND|FIRST|FIRST-LINE|FIXED-POINT|FKEQ|FKGE|FLOOR|FLUSH|FONT|FOR|FORM|FORMAT|FORWARD|FOUND|FRAC|FRAME|FRAMES|FREE|FRIENDS|FROM|FUNCTION|FUNCTION-POOL|FUNCTIONALITY|FURTHER|GAPS|GE|GENERATE|GET|GIVING|GKEQ|GKGE|GLOBAL|GRANT|GREATER|GREEN|GROUP|GROUPS|GT|HANDLE|HANDLER|HARMLESS|HASHED|HAVING|HDB|HEAD-LINES|HEADER|HEADERS|HEADING|HELP-ID|HELP-REQUEST|HIDE|HIGH|HINT|HOLD|HOTSPOT|I|ICON|ID|IDENTIFICATION|IDENTIFIER|IDS|IF|IGNORE|IGNORING|IMMEDIATELY|IMPLEMENTATION|IMPLEMENTATIONS|IMPLEMENTED|IMPLICIT|IMPORT|IMPORTING|IN|INACTIVE|INCL|INCLUDE|INCLUDES|INCLUDING|INCREMENT|INDEX|INDEX-LINE|INFOTYPES|INHERITING|INIT|INITIAL|INITIALIZATION|INNER|INOUT|INPUT|INSERT|INSTANCES|INTENSIFIED|INTERFACE|INTERFACE-POOL|INTERFACES|INTERNAL|INTERVALS|INTO|INVERSE|INVERTED-DATE|IS|ISO|ITERATOR|ITNO|JOB|JOIN|KEEP|KEEPING|KERNEL|KEY|KEYS|KEYWORDS|KIND|LANGUAGE|LAST|LATE|LAYOUT|LE|LEADING|LEAVE|LEFT|LEFT-JUSTIFIED|LEFTPLUS|LEFTSPACE|LEGACY|LENGTH|LESS|LET|LEVEL|LEVELS|LIKE|LINE|LINE-COUNT|LINE-SELECTION|LINE-SIZE|LINEFEED|LINES|LIST|LIST-PROCESSING|LISTBOX|LITTLE|LLANG|LOAD|LOAD-OF-PROGRAM|LOB|LOCAL|LOCALE|LOCATOR|LOG|LOG-POINT|LOG10|LOGFILE|LOGICAL|LONG|LOOP|LOW|LOWER|LPAD|LPI|LT|M|MAIL|MAIN|MAJOR-ID|MAPPING|MARGIN|MARK|MASK|MATCH|MATCHCODE|MAX|MAXIMUM|MEDIUM|MEMBERS|MEMORY|MESH|MESSAGE|MESSAGE-ID|MESSAGES|MESSAGING|METHOD|METHODS|MIN|MINIMUM|MINOR-ID|MM\/DD\/YY|MM\/DD\/YYYY|MMDDYY|MOD|MODE|MODIF|MODIFIER|MODIFY|MODULE|MOVE|MOVE-CORRESPONDING|MULTIPLY|MULTIPLY-CORRESPONDING|NA|NAME|NAMETAB|NATIVE|NB|NE|NESTED|NESTING|NEW|NEW-LINE|NEW-PAGE|NEW-SECTION|NEXT|NO|NO-DISPLAY|NO-EXTENSION|NO-GAP|NO-GAPS|NO-GROUPING|NO-HEADING|NO-SCROLLING|NO-SIGN|NO-TITLE|NO-TOPOFPAGE|NO-ZERO|NODE|NODES|NON-UNICODE|NON-UNIQUE|NOT|NP|NS|NULL|NUMBER|NUMOFCHAR|O|OBJECT|OBJECTS|OBLIGATORY|OCCURRENCE|OCCURRENCES|OCCURS|OF|OFF|OFFSET|OLE|ON|ONLY|OPEN|OPTION|OPTIONAL|OPTIONS|OR|ORDER|OTHER|OTHERS|OUT|OUTER|OUTPUT|OUTPUT-LENGTH|OVERFLOW|OVERLAY|PACK|PACKAGE|PAD|PADDING|PAGE|PAGES|PARAMETER|PARAMETER-TABLE|PARAMETERS|PART|PARTIALLY|PATTERN|PERCENTAGE|PERFORM|PERFORMING|PERSON|PF|PF-STATUS|PINK|PLACES|POOL|POSITION|POS_HIGH|POS_LOW|PRAGMAS|PRECOMPILED|PREFERRED|PRESERVING|PRIMARY|PRINT|PRINT-CONTROL|PRIORITY|PRIVATE|PROCEDURE|PROCESS|PROGRAM|PROPERTY|PROTECTED|PROVIDE|PUBLIC|PUSHBUTTON|PUT|QUEUE-ONLY|QUICKINFO|RADIOBUTTON|RAISE|RAISING|RANGE|RANGES|RAW|READ|READ-ONLY|READER|RECEIVE|RECEIVED|RECEIVER|RECEIVING|RED|REDEFINITION|REDUCE|REDUCED|REF|REFERENCE|REFRESH|REGEX|REJECT|REMOTE|RENAMING|REPLACE|REPLACEMENT|REPLACING|REPORT|REQUEST|REQUESTED|RESERVE|RESET|RESOLUTION|RESPECTING|RESPONSIBLE|RESULT|RESULTS|RESUMABLE|RESUME|RETRY|RETURN|RETURNCODE|RETURNING|RIGHT|RIGHT-JUSTIFIED|RIGHTPLUS|RIGHTSPACE|RISK|RMC_COMMUNICATION_FAILURE|RMC_INVALID_STATUS|RMC_SYSTEM_FAILURE|ROLE|ROLLBACK|ROUND|ROWS|RTTI|RUN|SAP|SAP-SPOOL|SAVING|SCALE_PRESERVING|SCALE_PRESERVING_SCIENTIFIC|SCAN|SCIENTIFIC|SCIENTIFIC_WITH_LEADING_ZERO|SCREEN|SCROLL|SCROLL-BOUNDARY|SCROLLING|SEARCH|SECONDARY|SECONDS|SECTION|SELECT|SELECT-OPTIONS|SELECTION|SELECTION-SCREEN|SELECTION-SET|SELECTION-SETS|SELECTION-TABLE|SELECTIONS|SELECTOR|SEND|SEPARATE|SEPARATED|SET|SHARED|SHIFT|SHORT|SHORTDUMP-ID|SIGN|SIGN_AS_POSTFIX|SIMPLE|SIN|SINGLE|SINH|SIZE|SKIP|SKIPPING|SMART|SOME|SORT|SORTABLE|SORTED|SOURCE|SPACE|SPECIFIED|SPLIT|SPOOL|SPOTS|SQL|SQLSCRIPT|SQRT|STABLE|STAMP|STANDARD|START-OF-SELECTION|STARTING|STATE|STATEMENT|STATEMENTS|STATIC|STATICS|STATUSINFO|STEP-LOOP|STOP|STRLEN|STRUCTURE|STRUCTURES|STYLE|SUBKEY|SUBMATCHES|SUBMIT|SUBROUTINE|SUBSCREEN|SUBSTRING|SUBTRACT|SUBTRACT-CORRESPONDING|SUFFIX|SUM|SUMMARY|SUMMING|SUPPLIED|SUPPLY|SUPPRESS|SWITCH|SWITCHSTATES|SYMBOL|SYNCPOINTS|SYNTAX|SYNTAX-CHECK|SYNTAX-TRACE|SYSTEM-CALL|SYSTEM-EXCEPTIONS|SYSTEM-EXIT|TAB|TABBED|TABLE|TABLES|TABLEVIEW|TABSTRIP|TAN|TANH|TARGET|TASK|TASKS|TEST|TESTING|TEXT|TEXTPOOL|THEN|THROW|TIME|TIMES|TIMESTAMP|TIMEZONE|TITLE|TITLE-LINES|TITLEBAR|TO|TOKENIZATION|TOKENS|TOP-LINES|TOP-OF-PAGE|TRACE-FILE|TRACE-TABLE|TRAILING|TRANSACTION|TRANSFER|TRANSFORMATION|TRANSLATE|TRANSPORTING|TRMAC|TRUNC|TRUNCATE|TRUNCATION|TRY|TYPE|TYPE-POOL|TYPE-POOLS|TYPES|ULINE|UNASSIGN|UNDER|UNICODE|UNION|UNIQUE|UNIT|UNIT_CONVERSION|UNIX|UNPACK|UNTIL|UNWIND|UP|UPDATE|UPPER|USER|USER-COMMAND|USING|UTF-8|VALID|VALUE|VALUE-REQUEST|VALUES|VARY|VARYING|VERIFICATION-MESSAGE|VERSION|VIA|VIEW|VISIBLE|WAIT|WARNING|WHEN|WHENEVER|WHERE|WHILE|WIDTH|WINDOW|WINDOWS|WITH|WITH-HEADING|WITH-TITLE|WITHOUT|WORD|WORK|WRITE|WRITER|X|XML|XOR|XSD|XSTRLEN|YELLOW|YES|YYMMDD|Z|ZERO|ZONE)(?![\w-])/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/};var e6=["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 r6(t){return"string"==typeof t?t.length:"string"==typeof t.content?t.content.length:t.content.reduce(function(t,e){return t+r6(e)},0)}var n6,o6,i6,u6,a6,s6,c6,l6,f6,d6,p6,h6,v6,g6,y6,m6=function(t){var e,r,n,o=function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u}(t,2),i=o[0],u=o[1],a=[],s=function(t){if(!wv.isText(t))return null;var e=CB.getParentNode(null,t);if(e&&"code"===CB.getNodeType(e)){var r=CB.getParentNode(null,e);if(r&&"pre"===CB.getNodeType(r))return e}return null}(i);if(null==s)return a;var c=s.language,l=void 0===c?"":c;if(!l)return a;var f=function(t,e){if(!e)return[];var r=t6.languages[e];return r?t6.tokenize(t.text,r):[]}(i,l),d=0;try{for(var p=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(f),h=p.next();!h.done;h=p.next()){var v=h.value,g=d+r6(v);"string"!=typeof v&&a.push(((n={})[v.type]=!0,n.anchor={path:u,offset:d},n.focus={path:u,offset:g},n)),d=g}}catch(t){e={error:t}}finally{try{h&&!h.done&&(r=p.return)&&r.call(p)}finally{if(e)throw e.error}}return a},b6={};function E6(){if(o6)return n6;o6=1;var t=v1();return n6=Array.isArray||function(e){return"Array"===t(e)}}function w6(){if(d6)return f6;d6=1;var t=E6(),e=function(){if(l6)return c6;l6=1;var t=h1(),e=E0(),r=E1(),n=M4(),o=S1(),i=H2(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!r(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,c6=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}(),r=w1(),n=u2()("species"),o=Array;return f6=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||r(u)&&null===(u=u[n]))&&(u=void 0)),void 0===u?o:u}}function S6(){if(h6)return p6;h6=1;var t=w6();return p6=function(e,r){return new(t(e))(0===r?0:r)}}!function(){if(y6)return b6;y6=1;var t=_4(),e=E0(),r=E6(),n=w1(),o=n2(),i=f4(),u=function(){if(u6)return i6;u6=1;var t=TypeError;return i6=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}(),a=function(){if(s6)return a6;s6=1;var t=w0(),e=S2(),r=p1();return a6=function(n,o,i){t?e.f(n,o,r(0,i)):n[o]=i}}(),s=S6(),c=function(){if(g6)return v6;g6=1;var t=E0(),e=u2(),r=D1(),n=e("species");return v6=function(e){return r>=51||!t(function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}(),l=u2(),f=D1(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!n(t))return!1;var e=t[d];return void 0!==e?!!e:r(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,r,n,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),r=0;r<c;r++,p++)r in l&&a(d,p,l[r]);else u(p+1),a(d,p++,l);return d.length=p,d}})}();var C6,D6,O6,A6,x6={};function T6(){if(D6)return C6;D6=1;var t=w2();return C6=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}var N6,k6,P6,B6,I6,F6,R6,L6,_6,j6,M6,z6,H6,$6,U6={};function V6(){if(k6)return N6;k6=1;var t=d4(),e=p4();return N6=Object.keys||function(r){return t(r,e)}}function G6(){if(R6)return F6;R6=1;var t,e=w2(),r=function(){if(P6)return U6;P6=1;var t=w0(),e=E2(),r=S2(),n=w2(),o=b1(),i=V6();return U6.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)r.f(t,u=s[l++],a[u]);return t},U6}(),n=p4(),o=U2(),i=function(){if(I6)return B6;I6=1;var t=S1();return B6=t("document","documentElement")}(),u=c2(),a=$2(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,o;h="undefined"!=typeof document?document.domain&&t?p(t):(r=u("iframe"),o="java"+c+":",r.style.display="none",i.appendChild(r),r.src=String(o),(e=r.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=n.length;a--;)delete h[s][n[a]];return h()};return o[l]=!0,F6=Object.create||function(t,n){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===n?o:r.f(o,n)}}!function(){if($6)return x6;$6=1;var t=_4(),e=function(){if(H6)return z6;H6=1;var t,e,r=C0(),n=h1(),o=z4(),i=T6(),u=function(){if(A6)return O6;A6=1;var t=E0(),e=l0().RegExp,r=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),n=r||t(function(){return!e("a","y").sticky}),o=r||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return O6={BROKEN_CARET:o,MISSED_STICKY:n,UNSUPPORTED_Y:r}}(),a=r2(),s=G6(),c=V2().get,l=function(){if(_6)return L6;_6=1;var t=E0(),e=l0().RegExp;return L6=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(M6)return j6;M6=1;var t=E0(),e=l0().RegExp;return j6=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=n("".charAt),g=n("".indexOf),y=n("".replace),m=n("".slice),b=(e=/b*/g,r(p,t=/a/,"a"),r(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,n,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=r(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=r(i,C),k=C.source,P=0,B=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),B=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(k="(?: "+k+")",B=" "+B,P++),n=new RegExp("^(?:"+k+")",N)),w&&(n=new RegExp("^"+k+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=r(p,T?n:C,B),T?a?(a.input=m(a.input,P),a[0]=m(a[0],P),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&r(d,a[0],n,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),z6=h}();t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e})}();var W6,q6,K6,Y6,X6,J6={};!function(){if(X6)return J6;X6=1;var t=z2().PROPER,e=G2(),r=w2(),n=z4(),o=E0(),i=function(){if(Y6)return K6;Y6=1;var t=C0(),e=o2(),r=C1(),n=function(){if(q6)return W6;q6=1;var t=l0(),e=E0(),r=t.RegExp,n=!e(function(){var t=!0;try{r(".","d")}catch(e){t=!1}var e={},n="",o=t?"dgimsy":"gimsy",i=function(t,r){Object.defineProperty(e,t,{get:function(){return n+=r,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(e)!==o||n!==o});return W6={correct:n}}(),o=T6(),i=RegExp.prototype;return K6=n.correct?function(t){return t.flags}:function(u){return n.correct||!r(i,u)||e(u,"flags")?u.flags:t(o,u)}}(),u="toString",a=RegExp.prototype,s=a[u],c=o(function(){return"/a/b"!==s.call({source:"a",flags:"b"})}),l=t&&s.name!==u;(c||l)&&e(a,u,function(){var t=r(this);return"/"+n(t.source)+"/"+n(i(t))},{unsafe:!0})}();var Z6,Q6,t3,e3,r3,n3,o3,i3,u3,a3,s3,c3,l3,f3,d3,p3={};function h3(){if(f3)return l3;f3=1;var t=function(){if(a3)return u3;a3=1;var t=function(){if(i3)return o3;i3=1;var t=function(){if(n3)return r3;n3=1;var t=v1(),e=h1();return r3=function(r){if("Function"===t(r))return e(r)}}(),e=T1(),r=S0(),n=t(t.bind);return o3=function(t,o){return e(t),void 0===o?t:r?n(t,o):function(){return t.apply(o,arguments)}},o3}(),e=h1(),r=g1(),n=n2(),o=f4(),i=S6(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=n(h),w=r(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return u3={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}().forEach,e=function(){if(c3)return s3;c3=1;var t=E0();return s3=function(e,r){var n=[][e];return!!n&&t(function(){n.call(null,r||function(){return 1},1)})}}()("forEach");return l3=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},l3}!function(){if(d3)return p3;d3=1;var t=l0(),e=Q6?Z6:(Q6=1,Z6={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}),r=function(){if(e3)return t3;e3=1;var t=c2()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return t3=e===Object.prototype?void 0:e}(),n=h3(),o=C2(),i=function(t){if(t&&t.forEach!==n)try{o(t,"forEach",n)}catch(e){t.forEach=n}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(r)}();var v3,g3,y3=function(){function t(){this.title=LF("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,this.defaultCodeLang=""}return t.prototype.getOptions=function(t){var e=this,r=[],n=t.getMenuConfig("codeSelectLang").codeLangs,o=void 0===n?[]:n;r.push({text:"plain text",value:""}),o.forEach(function(t){var n=t.text,o=t.value;t.selected&&(e.defaultCodeLang=o),r.push({text:n,value:o})});var i=this.getValue(t);return r.forEach(function(t){t.value===i?t.selected=!0:t.selected=void 0}),r},t.prototype.isActive=function(t){return!1},t.prototype.getValue=function(t){var e=this.getSelectCodeElem(t);if(null==e)return this.defaultCodeLang;if(!$h.isElement(e))return this.defaultCodeLang;var r=e.language.toString(),n=t.getMenuConfig("codeSelectLang").codeLangs;return(void 0===n?[]:n).some(function(t){return t.value===r})?r:this.defaultCodeLang},t.prototype.isDisabled=function(t){return null==t.selection||!this.getSelectCodeElem(t)},t.prototype.exec=function(t,e){if(null!=this.getSelectCodeElem(t)){var r={language:e.toString()};zv.setNodes(t,r,{match:function(t){return CB.checkNodeType(t,"code")}})}},t.prototype.getSelectCodeElem=function(t){var e=CB.getSelectedNodeByType(t,"code");if(null==e)return null;var r=CB.getParentNode(t,e);return $h.isElement(r)?"pre"!==r.type?null:e:null},t}(),m3={key:"codeSelectLang",factory:function(){return new y3},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"},{text:"ABAP",value:"abap"}]}},b3={};g3||(g3=1,function(){if(v3)return b3;v3=1;var t=_4(),e=l0();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}()),sg&&(og.fn.attr=sg);var E3,w3,S3,C3={};!function(){if(S3)return C3;S3=1;var t=_4(),e=function(){if(w3)return E3;w3=1;var t=w0(),e=h1(),r=C0(),n=E0(),o=V6(),i=R4(),u=d1(),a=n2(),s=g1(),c=Object.assign,l=Object.defineProperty,f=e([].concat);return E3=!c||n(function(){if(t&&1!==c({b:1},c(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},r={},n=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(t){r[t]=t}),7!==c({},e)[n]||o(c({},r)).join("")!==i})?function(e,n){for(var c=a(e),l=arguments.length,d=1,p=i.f,h=u.f;l>d;)for(var v,g=s(arguments[d++]),y=p?f(o(g),p(g)):o(g),m=y.length,b=0;m>b;)v=y[b++],t&&!r(h,g,v)||(c[v]=g[v]);return c}:c,E3}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var D3={renderStyle:function(t,e){var r=t,n=e,o="";return e6.forEach(function(t){r[t]&&(o=t)}),o&&function(t,e){null==t.data&&(t.data={});var r=t.data;null==r.props&&(r.props={}),Object.assign(r.props,{className:e})}(n,o="token ".concat(o)),n},parseStyleHtml:function(t,e,r){var n=og(t);if(!$h.isElement(e))return e;if("code"!==CB.getNodeType(e))return e;var o=e,i=n.attr("class")||"";return 0===i.indexOf("language-")?o.language=i.split("-")[1]||"":o.language=i.toLowerCase(),o},menus:[m3],elemsToHtml:[{type:"code",elemToHtml:function(t,e){var r=t.language,n=void 0===r?"":r,o=n?'class="language-'.concat(n,'"'):"";return"<code ".concat(o,">").concat(e,"</code>")}}]};BF("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),BF("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var O3,A3,x3="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},T3={};function N3(){if(A3)return O3;A3=1;var t=function(t){return t&&t.Math===Math&&t};return O3=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof x3&&x3)||t("object"==typeof O3&&O3)||function(){return this}()||Function("return this")()}var k3,P3,B3,I3,F3,R3,L3,_3,j3={};function M3(){return P3?k3:(P3=1,k3=function(t){try{return!!t()}catch(t){return!0}})}function z3(){if(I3)return B3;I3=1;var t=M3();return B3=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function H3(){if(R3)return F3;R3=1;var t=M3();return F3=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function $3(){if(_3)return L3;_3=1;var t=H3(),e=Function.prototype.call;return L3=t?e.bind(e):function(){return e.apply(e,arguments)},L3}var U3,V3,G3,W3,q3,K3,Y3,X3,J3,Z3,Q3,t5,e5,r5,n5,o5,i5,u5,a5,s5,c5,l5,f5,d5,p5,h5,v5,g5,y5,m5,b5,E5,w5,S5,C5,D5,O5,A5,x5,T5,N5,k5={};function P5(){return G3?V3:(G3=1,V3=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function B5(){if(q3)return W3;q3=1;var t=H3(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return W3=t?n:function(t){return function(){return r.apply(t,arguments)}},W3}function I5(){if(Y3)return K3;Y3=1;var t=B5(),e=t({}.toString),r=t("".slice);return K3=function(t){return r(e(t),8,-1)}}function F5(){if(J3)return X3;J3=1;var t=B5(),e=M3(),r=I5(),n=Object,o=t("".split);return X3=e(function(){return!n("z").propertyIsEnumerable(0)})?function(t){return"String"===r(t)?o(t,""):n(t)}:n}function R5(){return Q3?Z3:(Q3=1,Z3=function(t){return null==t})}function L5(){if(e5)return t5;e5=1;var t=R5(),e=TypeError;return t5=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function _5(){if(n5)return r5;n5=1;var t=F5(),e=L5();return r5=function(r){return t(e(r))}}function j5(){if(i5)return o5;i5=1;var t="object"==typeof document&&document.all;return o5=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function M5(){if(a5)return u5;a5=1;var t=j5();return u5=function(e){return"object"==typeof e?null!==e:t(e)}}function z5(){if(c5)return s5;c5=1;var t=N3(),e=j5();return s5=function(r,n){return arguments.length<2?(o=t[r],e(o)?o:void 0):t[r]&&t[r][n];var o},s5}function H5(){if(f5)return l5;f5=1;var t=B5();return l5=t({}.isPrototypeOf)}function $5(){if(v5)return h5;v5=1;var t,e,r=N3(),n=function(){if(p5)return d5;p5=1;var t=N3().navigator,e=t&&t.userAgent;return d5=e?String(e):""}(),o=r.process,i=r.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),h5=e}function U5(){if(y5)return g5;y5=1;var t=$5(),e=M3(),r=N3().String;return g5=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function V5(){if(b5)return m5;b5=1;var t=U5();return m5=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function G5(){if(w5)return E5;w5=1;var t=z5(),e=j5(),r=H5(),n=V5(),o=Object;return E5=n?function(t){return"symbol"==typeof t}:function(n){var i=t("Symbol");return e(i)&&r(i.prototype,o(n))}}function W5(){if(C5)return S5;C5=1;var t=String;return S5=function(e){try{return t(e)}catch(t){return"Object"}}}function q5(){if(O5)return D5;O5=1;var t=j5(),e=W5(),r=TypeError;return D5=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function K5(){if(x5)return A5;x5=1;var t=q5(),e=R5();return A5=function(r,n){var o=r[n];return e(o)?void 0:t(o)}}var Y5,X5,J5,Z5,Q5,t8,e8,r8,n8,o8,i8,u8,a8,s8,c8,l8,f8,d8,p8,h8,v8,g8,y8,m8,b8={exports:{}};function E8(){return X5?Y5:(X5=1,Y5=!1)}function w8(){if(Z5)return J5;Z5=1;var t=N3(),e=Object.defineProperty;return J5=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function S8(){if(Q5)return b8.exports;Q5=1;var t=E8(),e=N3(),r=w8(),n="__core-js_shared__",o=b8.exports=e[n]||r(n,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),b8.exports}function C8(){if(e8)return t8;e8=1;var t=S8();return t8=function(e,r){return t[e]||(t[e]=r||{})}}function D8(){if(n8)return r8;n8=1;var t=L5(),e=Object;return r8=function(r){return e(t(r))}}function O8(){if(i8)return o8;i8=1;var t=B5(),e=D8(),r=t({}.hasOwnProperty);return o8=Object.hasOwn||function(t,n){return r(e(t),n)}}function A8(){if(a8)return u8;a8=1;var t=B5(),e=0,r=Math.random(),n=t(1.1.toString);return u8=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function x8(){if(c8)return s8;c8=1;var t=N3(),e=C8(),r=O8(),n=A8(),o=U5(),i=V5(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||n;return s8=function(t){return r(a,t)||(a[t]=o&&r(u,t)?u[t]:s("Symbol."+t)),a[t]}}function T8(){if(f8)return l8;f8=1;var t=$3(),e=M5(),r=G5(),n=K5(),o=function(){if(N5)return T5;N5=1;var t=$3(),e=j5(),r=M5(),n=TypeError;return T5=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!r(a=t(u,o)))return a;if(e(u=o.valueOf)&&!r(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!r(a=t(u,o)))return a;throw new n("Can't convert object to primitive value")}}(),i=x8(),u=TypeError,a=i("toPrimitive");return l8=function(i,s){if(!e(i)||r(i))return i;var c,l=n(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||r(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}function N8(){if(p8)return d8;p8=1;var t=T8(),e=G5();return d8=function(r){var n=t(r,"string");return e(n)?n:n+""}}function k8(){if(v8)return h8;v8=1;var t=N3(),e=M5(),r=t.document,n=e(r)&&e(r.createElement);return h8=function(t){return n?r.createElement(t):{}}}function P8(){if(y8)return g8;y8=1;var t=z3(),e=M3(),r=k8();return g8=!t&&!e(function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})}function B8(){if(m8)return j3;m8=1;var t=z3(),e=$3(),r=function(){if(U3)return k5;U3=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return k5.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,k5}(),n=P5(),o=_5(),i=N8(),u=O8(),a=P8(),s=Object.getOwnPropertyDescriptor;return j3.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return n(!e(r.f,t,c),t[c])},j3}var I8,F8,R8,L8,_8,j8,M8,z8={};function H8(){if(F8)return I8;F8=1;var t=z3(),e=M3();return I8=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function $8(){if(L8)return R8;L8=1;var t=M5(),e=String,r=TypeError;return R8=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function U8(){if(_8)return z8;_8=1;var t=z3(),e=P8(),r=H8(),n=$8(),o=N8(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return z8.f=t?r?function(t,e,r){if(n(t),e=o(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&l in r&&!r[l]){var i=a(t,e);i&&i[l]&&(t[e]=r.value,r={configurable:c in r?r[c]:i[c],enumerable:s in r?r[s]:i[s],writable:!1})}return u(t,e,r)}:u:function(t,r,a){if(n(t),r=o(r),n(a),e)try{return u(t,r,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[r]=a.value),t},z8}function V8(){if(M8)return j8;M8=1;var t=z3(),e=U8(),r=P5();return j8=t?function(t,n,o){return e.f(t,n,r(1,o))}:function(t,e,r){return t[e]=r,t}}var G8,W8,q8,K8,Y8,X8,J8,Z8,Q8,t7,e7,r7,n7,o7,i7,u7={exports:{}};function a7(){if(W8)return G8;W8=1;var t=z3(),e=O8(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,o=e(r,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&n(r,"name").configurable);return G8={EXISTS:o,PROPER:i,CONFIGURABLE:u}}function s7(){if(K8)return q8;K8=1;var t=B5(),e=j5(),r=S8(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),q8=r.inspectSource}function c7(){if(X8)return Y8;X8=1;var t=N3(),e=j5(),r=t.WeakMap;return Y8=e(r)&&/native code/.test(String(r))}function l7(){if(Z8)return J8;Z8=1;var t=C8(),e=A8(),r=t("keys");return J8=function(t){return r[t]||(r[t]=e(t))}}function f7(){return t7?Q8:(t7=1,Q8={})}function d7(){if(r7)return e7;r7=1;var t,e,r,n=c7(),o=N3(),i=M5(),u=V8(),a=O8(),s=S8(),c=l7(),l=f7(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(n||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},r=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},r=function(t){return a(t,v)}}return e7={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!i(r)||(n=e(r)).type!==t)throw new d("Incompatible receiver, "+t+" required");return n}}}}function p7(){if(i7)return o7;i7=1;var t=j5(),e=U8(),r=function(){if(n7)return u7.exports;n7=1;var t=B5(),e=M3(),r=j5(),n=O8(),o=z3(),i=a7().CONFIGURABLE,u=s7(),a=d7(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=u7.exports=function(t,e,r){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return n(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return r(this)&&c(this).source||u(this)},"toString"),u7.exports}(),n=w8();return o7=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&r(u,c,a),a.global)s?o[i]=u:n(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var h7,v7,g7,y7,m7,b7,E7,w7,S7,C7,D7,O7,A7,x7,T7,N7,k7,P7={};function B7(){if(y7)return g7;y7=1;var t=function(){if(v7)return h7;v7=1;var t=Math.ceil,e=Math.floor;return h7=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return g7=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function I7(){if(w7)return E7;w7=1;var t=B7(),e=Math.min;return E7=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}function F7(){if(C7)return S7;C7=1;var t=I7();return S7=function(e){return t(e.length)}}function R7(){if(O7)return D7;O7=1;var t=_5(),e=function(){if(b7)return m7;b7=1;var t=B7(),e=Math.max,r=Math.min;return m7=function(n,o){var i=t(n);return i<0?e(i+o,0):r(i,o)}}(),r=F7(),n=function(n){return function(o,i,u){var a=t(o),s=r(a);if(0===s)return!n&&-1;var c,l=e(u,s);if(n&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((n||l in a)&&a[l]===i)return n||l||0;return!n&&-1}};return D7={includes:n(!0),indexOf:n(!1)}}function L7(){if(x7)return A7;x7=1;var t=B5(),e=O8(),r=_5(),n=R7().indexOf,o=f7(),i=t([].push);return A7=function(t,u){var a,s=r(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~n(l,a)||i(l,a));return l}}function _7(){return N7?T7:(N7=1,T7=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function j7(){if(k7)return P7;k7=1;var t=L7(),e=_7().concat("length","prototype");return P7.f=Object.getOwnPropertyNames||function(r){return t(r,e)},P7}var M7,z7,H7,$7,U7,V7,G7,W7,q7,K7,Y7,X7,J7,Z7,Q7,t9,e9,r9,n9,o9,i9,u9,a9,s9,c9,l9,f9,d9,p9={};function h9(){if(U7)return $7;U7=1;var t=O8(),e=function(){if(H7)return z7;H7=1;var t=z5(),e=B5(),r=j7(),n=(M7||(M7=1,p9.f=Object.getOwnPropertySymbols),p9),o=$8(),i=e([].concat);return z7=t("Reflect","ownKeys")||function(t){var e=r.f(o(t)),u=n.f;return u?i(e,u(t)):e}}(),r=B8(),n=U8();return $7=function(o,i,u){for(var a=e(i),s=n.f,c=r.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function v9(){if(G7)return V7;G7=1;var t=M3(),e=j5(),r=/#|\.prototype\./,n=function(r,n){var s=i[o(r)];return s===a||s!==u&&(e(n)?t(n):!!n)},o=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},i=n.data={},u=n.NATIVE="N",a=n.POLYFILL="P";return V7=n}function g9(){if(q7)return W7;q7=1;var t=N3(),e=B8().f,r=V8(),n=p7(),o=w8(),i=h9(),u=v9();return W7=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&r(d,"sham",!0),n(c,l,d,a)}}}function y9(){if(Y7)return K7;Y7=1;var t=I5();return K7=Array.isArray||function(e){return"Array"===t(e)}}function m9(){if(J7)return X7;J7=1;var t=TypeError;return X7=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}function b9(){if(e9)return t9;e9=1;var t={};return t[x8()("toStringTag")]="z",t9="[object z]"===String(t)}function E9(){if(n9)return r9;n9=1;var t=b9(),e=j5(),r=I5(),n=x8()("toStringTag"),o=Object,i="Arguments"===r(function(){return arguments}());return r9=t?r:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),n))?a:i?r(u):"Object"===(s=r(u))&&e(u.callee)?"Arguments":s}}function w9(){if(a9)return u9;a9=1;var t=y9(),e=function(){if(i9)return o9;i9=1;var t=B5(),e=M3(),r=j5(),n=E9(),o=z5(),i=s7(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!r(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,o9=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}(),r=M5(),n=x8()("species"),o=Array;return u9=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||r(u)&&null===(u=u[n]))&&(u=void 0)),void 0===u?o:u}}function S9(){if(c9)return s9;c9=1;var t=w9();return s9=function(e,r){return new(t(e))(0===r?0:r)}}function C9(){if(f9)return l9;f9=1;var t=M3(),e=x8(),r=$5(),n=e("species");return l9=function(e){return r>=51||!t(function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}!function(){if(d9)return T3;d9=1;var t=g9(),e=M3(),r=y9(),n=M5(),o=D8(),i=F7(),u=m9(),a=function(){if(Q7)return Z7;Q7=1;var t=z3(),e=U8(),r=P5();return Z7=function(n,o,i){t?e.f(n,o,r(0,i)):n[o]=i}}(),s=S9(),c=C9(),l=x8(),f=$5(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!n(t))return!1;var e=t[d];return void 0!==e?!!e:r(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,r,n,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),r=0;r<c;r++,p++)r in l&&a(d,p,l[r]);else u(p+1),a(d,p++,l);return d.length=p,d}})}();var D9=function(t,e){return D9=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},D9(t,e)};function O9(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}D9(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}function A9(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function x9(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u}function T9(t,e,r){if(2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var N9,k9,P9,B9,I9,F9,R9,L9,_9,j9,M9,z9,H9,$9,U9,V9,G9,W9,q9,K9,Y9,X9,J9,Z9,Q9,ttt,ett,rtt,ntt,ott,itt,utt,att,stt,ctt,ltt={};function ftt(){if(R9)return F9;R9=1;var t,e=$8(),r=function(){if(P9)return ltt;P9=1;var t=z3(),e=H8(),r=U8(),n=$8(),o=_5(),i=function(){if(k9)return N9;k9=1;var t=L7(),e=_7();return N9=Object.keys||function(r){return t(r,e)}}();return ltt.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)r.f(t,u=s[l++],a[u]);return t},ltt}(),n=_7(),o=f7(),i=function(){if(I9)return B9;I9=1;var t=z5();return B9=t("document","documentElement")}(),u=k8(),a=l7(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,o;h="undefined"!=typeof document?document.domain&&t?p(t):(r=u("iframe"),o="java"+c+":",r.style.display="none",i.appendChild(r),r.src=String(o),(e=r.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=n.length;a--;)delete h[s][n[a]];return h()};return o[l]=!0,F9=Object.create||function(t,n){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===n?o:r.f(o,n)}}function dtt(){if(_9)return L9;_9=1;var t=x8(),e=ftt(),r=U8().f,n=t("unscopables"),o=Array.prototype;return void 0===o[n]&&r(o,n,{configurable:!0,value:e(null)}),L9=function(t){o[n][t]=!0}}function ptt(){return M9?j9:(M9=1,j9={})}function htt(){if(U9)return $9;U9=1;var t=O8(),e=j5(),r=D8(),n=l7(),o=function(){if(H9)return z9;H9=1;var t=M3();return z9=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=n("IE_PROTO"),u=Object,a=u.prototype;return $9=o?u.getPrototypeOf:function(n){var o=r(n);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function vtt(){if(G9)return V9;G9=1;var t,e,r,n=M3(),o=j5(),i=M5(),u=ftt(),a=htt(),s=p7(),c=x8(),l=E8(),f=c("iterator"),d=!1;return[].keys&&("next"in(r=[].keys())?(e=a(a(r)))!==Object.prototype&&(t=e):d=!0),!i(t)||n(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),V9={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function gtt(){if(q9)return W9;q9=1;var t=U8().f,e=O8(),r=x8()("toStringTag");return W9=function(n,o,i){n&&!i&&(n=n.prototype),n&&!e(n,r)&&t(n,r,{configurable:!0,value:o})}}function ytt(){if(ett)return ttt;ett=1;var t=function(){if(Q9)return Z9;Q9=1;var t=M5();return Z9=function(e){return t(e)||null===e}}(),e=String,r=TypeError;return ttt=function(n){if(t(n))return n;throw new r("Can't set "+e(n)+" as a prototype")}}function mtt(){if(ntt)return rtt;ntt=1;var t=function(){if(J9)return X9;J9=1;var t=B5(),e=q5();return X9=function(r,n,o){try{return t(e(Object.getOwnPropertyDescriptor(r,n)[o]))}catch(t){}}}(),e=M5(),r=L5(),n=ytt();return rtt=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return r(t),n(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function btt(){if(itt)return ott;itt=1;var t=g9(),e=$3(),r=E8(),n=a7(),o=j5(),i=function(){if(Y9)return K9;Y9=1;var t=vtt().IteratorPrototype,e=ftt(),r=P5(),n=gtt(),o=ptt(),i=function(){return this};return K9=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:r(+!c,s)}),n(u,l,!1,!0),o[l]=i,u}}(),u=htt(),a=mtt(),s=gtt(),c=V8(),l=p7(),f=x8(),d=ptt(),p=vtt(),h=n.PROPER,v=n.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return ott=function(n,f,p,C,D,O,A){i(p,f,C);var x,T,N,k=function(t){if(t===D&&R)return R;if(!y&&t&&t in I)return I[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},P=f+" Iterator",B=!1,I=n.prototype,F=I[m]||I["@@iterator"]||D&&I[D],R=!y&&F||k(D),L="Array"===f&&I.entries||F;if(L&&(x=u(L.call(new n)))!==Object.prototype&&x.next&&(r||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,P,!0,!0),r&&(d[P]=S)),h&&D===E&&F&&F.name!==E&&(!r&&v?c(I,"name",E):(B=!0,R=function(){return e(F,this)})),D)if(T={values:k(E),keys:O?R:k(b),entries:k(w)},A)for(N in T)(y||B||!(N in I))&&l(I,N,T[N]);else t({target:f,proto:!0,forced:y||B},T);return r&&!A||I[m]===R||l(I,m,R,{name:D}),d[f]=R,T}}function Ett(){return att?utt:(att=1,utt=function(t,e){return{value:t,done:e}})}function wtt(){if(ctt)return stt;ctt=1;var t=_5(),e=dtt(),r=ptt(),n=d7(),o=U8().f,i=btt(),u=Ett(),a=E8(),s=z3(),c="Array Iterator",l=n.set,f=n.getterFor(c);stt=i(Array,"Array",function(e,r){l(this,{type:c,target:t(e),index:0,kind:r})},function(){var t=f(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(r,!1);case"values":return u(e[r],!1)}return u([r,e[r]],!1)},"values");var d=r.Arguments=r.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return stt}wtt();var Stt,Ctt,Dtt,Ott={};!function(){if(Dtt)return Ott;Dtt=1;var t=b9(),e=p7(),r=function(){if(Ctt)return Stt;Ctt=1;var t=b9(),e=E9();return Stt=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var Att,xtt,Ttt,Ntt,ktt,Ptt={};function Btt(){if(xtt)return Att;xtt=1;var t=E9(),e=String;return Att=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}function Itt(){if(Ntt)return Ttt;Ntt=1;var t=B5(),e=B7(),r=Btt(),n=L5(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=r(n(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return Ttt={codeAt:a(!1),charAt:a(!0)}}!function(){if(ktt)return Ptt;ktt=1;var t=Itt().charAt,e=Btt(),r=d7(),n=btt(),o=Ett(),i="String Iterator",u=r.set,a=r.getterFor(i);n(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,r=a(this),n=r.string,i=r.index;return i>=n.length?o(void 0,!0):(e=t(n,i),r.index+=e.length,o(e,!1))})}();var Ftt,Rtt,Ltt,_tt,jtt={};function Mtt(){if(Rtt)return Ftt;Rtt=1;var t=M3();return Ftt=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})}function ztt(){if(_tt)return Ltt;_tt=1;var t=p7();return Ltt=function(e,r,n){for(var o in r)t(e,o,r[o],n);return e}}var Htt,$tt,Utt,Vtt,Gtt,Wtt,qtt,Ktt,Ytt,Xtt,Jtt,Ztt,Qtt,tet,eet,ret,net,oet,iet,uet,aet,set,cet,fet,det,pet,het,vet,get,yet,met,bet,Eet,wet,Cet,Det,Oet={exports:{}},Aet={};function xet(){if(Utt)return Aet;Utt=1;var t=I5(),e=_5(),r=j7().f,n=function(){if($tt)return Htt;$tt=1;var t=B5();return Htt=t([].slice)}(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return Aet.f=function(i){return o&&"Window"===t(i)?function(t){try{return r(t)}catch(t){return n(o)}}(i):r(e(i))},Aet}function Tet(){if(Ktt)return Oet.exports;Ktt=1;var t=g9(),e=B5(),r=f7(),n=M5(),o=O8(),i=U8().f,u=j7(),a=xet(),s=function(){if(qtt)return Wtt;qtt=1;var t=M3(),e=M5(),r=I5(),n=function(){if(Gtt)return Vtt;Gtt=1;var t=M3();return Vtt=t(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})}(),o=Object.isExtensible,i=t(function(){});return Wtt=i||n?function(t){return!!e(t)&&(!n||"ArrayBuffer"!==r(t))&&(!o||o(t))}:o}(),c=A8(),l=Mtt(),f=!1,d=c("meta"),p=0,h=function(t){i(t,d,{value:{objectID:"O"+p++,weakData:{}}})},v=Oet.exports={enable:function(){v.enable=function(){},f=!0;var r=u.f,n=e([].splice),o={};o[d]=1,r(o).length&&(u.f=function(t){for(var e=r(t),o=0,i=e.length;o<i;o++)if(e[o]===d){n(e,o,1);break}return e},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!n(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,d)){if(!s(t))return"F";if(!e)return"E";h(t)}return t[d].objectID},getWeakData:function(t,e){if(!o(t,d)){if(!s(t))return!0;if(!e)return!1;h(t)}return t[d].weakData},onFreeze:function(t){return l&&f&&s(t)&&!o(t,d)&&h(t),t}};return r[d]=!0,Oet.exports}function Net(){if(Ztt)return Jtt;Ztt=1;var t=function(){if(Xtt)return Ytt;Xtt=1;var t=I5(),e=B5();return Ytt=function(r){if("Function"===t(r))return e(r)}}(),e=q5(),r=H3(),n=t(t.bind);return Jtt=function(t,o){return e(t),void 0===o?t:r?n(t,o):function(){return t.apply(o,arguments)}},Jtt}function ket(){if(ret)return eet;ret=1;var t=E9(),e=K5(),r=R5(),n=ptt(),o=x8()("iterator");return eet=function(i){if(!r(i))return e(i,o)||e(i,"@@iterator")||n[t(i)]}}function Pet(){if(set)return aet;set=1;var t=Net(),e=$3(),r=$8(),n=W5(),o=function(){if(tet)return Qtt;tet=1;var t=x8(),e=ptt(),r=t("iterator"),n=Array.prototype;return Qtt=function(t){return void 0!==t&&(e.Array===t||n[r]===t)}}(),i=F7(),u=H5(),a=function(){if(oet)return net;oet=1;var t=$3(),e=q5(),r=$8(),n=W5(),o=ket(),i=TypeError;return net=function(u,a){var s=arguments.length<2?o(u):a;if(e(s))return r(t(s,u));throw new i(n(u)+" is not iterable")},net}(),s=ket(),c=function(){if(uet)return iet;uet=1;var t=$3(),e=$8(),r=K5();return iet=function(n,o,i){var u,a;e(n);try{if(!(u=r(n,"return"))){if("throw"===o)throw i;return i}u=t(u,n)}catch(t){a=!0,u=t}if("throw"===o)throw i;if(a)throw u;return e(u),i}}(),l=TypeError,f=function(t,e){this.stopped=t,this.result=e},d=f.prototype;return aet=function(p,h,v){var g,y,m,b,E,w,S,C=v&&v.that,D=!(!v||!v.AS_ENTRIES),O=!(!v||!v.IS_RECORD),A=!(!v||!v.IS_ITERATOR),x=!(!v||!v.INTERRUPTED),T=t(h,C),N=function(t){return g&&c(g,"normal"),new f(!0,t)},k=function(t){return D?(r(t),x?T(t[0],t[1],N):T(t[0],t[1])):x?T(t,N):T(t)};if(O)g=p.iterator;else if(A)g=p;else{if(!(y=s(p)))throw new l(n(p)+" is not iterable");if(o(y)){for(m=0,b=i(p);b>m;m++)if((E=k(p[m]))&&u(d,E))return E;return new f(!1)}g=a(p,y)}for(w=O?p.next:g.next;!(S=e(w,g)).done;){try{E=k(S.value)}catch(t){c(g,"throw",t)}if("object"==typeof E&&E&&u(d,E))return E}return new f(!1)}}function Bet(){if(fet)return cet;fet=1;var t=H5(),e=TypeError;return cet=function(r,n){if(t(n,r))return r;throw new e("Incorrect invocation")}}function Iet(){if(yet)return get;yet=1;var t=g9(),e=N3(),r=B5(),n=v9(),o=p7(),i=Tet(),u=Pet(),a=Bet(),s=j5(),c=R5(),l=M5(),f=M3(),d=function(){if(pet)return det;pet=1;var t=x8()("iterator"),e=!1;try{var r=0,n={next:function(){return{done:!!r++}},return:function(){e=!0}};n[t]=function(){return this},Array.from(n,function(){throw 2})}catch(t){}return det=function(r,n){try{if(!n&&!e)return!1}catch(t){return!1}var o=!1;try{var i={};i[t]=function(){return{next:function(){return{done:o=!0}}}},r(i)}catch(t){}return o}}(),p=gtt(),h=function(){if(vet)return het;vet=1;var t=j5(),e=M5(),r=mtt();return het=function(n,o,i){var u,a;return r&&t(u=o.constructor)&&u!==i&&e(a=u.prototype)&&a!==i.prototype&&r(n,a),n}}();return get=function(v,g,y){var m=-1!==v.indexOf("Map"),b=-1!==v.indexOf("Weak"),E=m?"set":"add",w=e[v],S=w&&w.prototype,C=w,D={},O=function(t){var e=r(S[t]);o(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!l(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(n(v,!s(w)||!(b||S.forEach&&!f(function(){(new w).entries().next()}))))C=y.getConstructor(g,v,m,E),i.enable();else if(n(v,!0)){var A=new C,x=A[E](b?{}:-0,1)!==A,T=f(function(){A.has(1)}),N=d(function(t){new w(t)}),k=!b&&f(function(){for(var t=new w,e=5;e--;)t[E](e,e);return!t.has(-0)});N||((C=g(function(t,e){a(t,S);var r=h(new w,t,C);return c(e)||u(e,r[E],{that:r,AS_ENTRIES:m}),r})).prototype=S,S.constructor=C),(T||k)&&(O("delete"),O("has"),m&&O("get")),(k||x)&&O(E),b&&S.clear&&delete S.clear}return D[v]=C,t({global:!0,constructor:!0,forced:C!==w},D),p(C,v),b||y.setStrong(C,v,m),C}}function Fet(){if(bet)return met;bet=1;var t=Net(),e=B5(),r=F5(),n=D8(),o=F7(),i=S9(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=n(h),w=r(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return met={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}Det||(Det=1,function(){if(Cet)return jtt;Cet=1;var t,e=Mtt(),r=N3(),n=B5(),o=ztt(),i=Tet(),u=Iet(),a=function(){if(wet)return Eet;wet=1;var t=B5(),e=ztt(),r=Tet().getWeakData,n=Bet(),o=$8(),i=R5(),u=M5(),a=Pet(),s=Fet(),c=O8(),l=d7(),f=l.set,d=l.getterFor,p=s.find,h=s.findIndex,v=t([].splice),g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return p(t.entries,function(t){return t[0]===e})};return m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var r=b(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,function(e){return e[0]===t});return~e&&v(this.entries,e,1),!!~e}},Eet={getConstructor:function(t,s,l,p){var h=t(function(t,e){n(t,v),f(t,{type:s,id:g++,frozen:null}),i(e)||a(e,t[p],{that:t,AS_ENTRIES:l})}),v=h.prototype,m=d(s),b=function(t,e,n){var i=m(t),u=r(o(e),!0);return!0===u?y(i).set(e,n):u[i.id]=n,t};return e(v,{delete:function(t){var e=m(this);if(!u(t))return!1;var n=r(t);return!0===n?y(e).delete(t):n&&c(n,e.id)&&delete n[e.id]},has:function(t){var e=m(this);if(!u(t))return!1;var n=r(t);return!0===n?y(e).has(t):n&&c(n,e.id)}}),e(v,l?{get:function(t){var e=m(this);if(u(t)){var n=r(t);if(!0===n)return y(e).get(t);if(n)return n[e.id]}},set:function(t,e){return b(this,t,e)}}:{add:function(t){return b(this,t,!0)}}),h}}}(),s=M5(),c=d7().enforce,l=M3(),f=c7(),d=Object,p=Array.isArray,h=d.isExtensible,v=d.isFrozen,g=d.isSealed,y=d.freeze,m=d.seal,b=!r.ActiveXObject&&"ActiveXObject"in r,E=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},w=u("WeakMap",E,a),S=w.prototype,C=n(S.set);if(f)if(b){t=a.getConstructor(E,"WeakMap",!0),i.enable();var D=n(S.delete),O=n(S.has),A=n(S.get);o(S,{delete:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),D(this,e)||r.frozen.delete(e)}return D(this,e)},has:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),O(this,e)||r.frozen.has(e)}return O(this,e)},get:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),O(this,e)?A(this,e):r.frozen.get(e)}return A(this,e)},set:function(e,r){if(s(e)&&!h(e)){var n=c(this);n.frozen||(n.frozen=new t),O(this,e)?C(this,e,r):n.frozen.set(e,r)}else C(this,e,r);return this}})}else e&&l(function(){var t=y([]);return C(new w,t,1),!v(t)})&&o(S,{set:function(t,e){var r;return p(t)&&(v(t)?r=y:g(t)&&(r=m)),C(this,t,e),r&&r(t),this}})}());var Ret,Let,_et,jet,Met,zet={};!function(){if(Met)return zet;Met=1;var t=N3(),e=Let?Ret:(Let=1,Ret={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}),r=function(){if(jet)return _et;jet=1;var t=k8()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return _et=e===Object.prototype?void 0:e}(),n=wtt(),o=V8(),i=gtt(),u=x8()("iterator"),a=n.values,s=function(t,r){if(t){if(t[u]!==a)try{o(t,u,a)}catch(e){t[u]=a}if(i(t,r,!0),e[r])for(var s in n)if(t[s]!==n[s])try{o(t,s,n[s])}catch(e){t[s]=n[s]}}};for(var c in e)s(t[c]&&t[c].prototype,c);s(r,"DOMTokenList")}();var Het=new WeakMap;function $et(t){var e,r=t.children||[],n=r.length;if(0===n)return"";for(var o=0;o<n&&!e;o+=1){var i=r[o];wv.isText(i)&&(e=i)}return null==e?"":e.color||""}function Uet(t,e,r){for(var n=e.type,o=function(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]])}return r}(e,["type"]),i=void 0!==r?r:o.level||0,u=CB.findPath(t,e),a=u;;){if(0===a.length||0===u[u.length-1])return null;a=ov.previous(a);var s=Kh.node(t,a);if(!s)return null;var c=x9(s,1)[0],l=c.level,f=void 0===l?0:l;if(CB.getNodeType(c)!==n)return null;if(f===i)return c}}function Vet(t,e,r){var n=Uet(t,e,r);return!!n&&n.ordered===e.ordered}var Get,Wet=[],qet={type:"list-item",elemToHtml:function(t,e){var r="",n="",o=t.ordered,i=void 0!==o&&o?"ol":"ul",u=function(t){var e=Het.get(t);if(null==e)return 0;var r=t,n=r.type,o=r.ordered,i=void 0!==o&&o,u=r.level,a=void 0===u?0:u,s=CB.findPath(e,t);if(0===s[0])return a+1;var c=ov.previous(s),l=Kh.node(e,c);if(!l)return 0;var f=x9(l,1)[0];if(CB.getNodeType(f)!==n)return a+1;var d=f,p=d.ordered,h=void 0!==p&&p,v=d.level,g=void 0===v?0:v;return g<a?a-g:g>a?Vet(e,t)?0:1:g===a?h===i?0:1:0}(t);if(u>0)for(var a=0;a<u;a+=1)r+="<".concat(i,">"),Wet.push(i);var s=function(t){var e=Het.get(t);if(null==e)return 0;var r=t,n=r.type,o=r.ordered,i=void 0!==o&&o,u=r.level,a=void 0===u?0:u,s=CB.findPath(e,t);if(s[0]===e.children.length-1)return a+1;var c=ov.next(s),l=Kh.node(e,c);if(!l)return 0;var f=x9(l,1)[0];if(CB.getNodeType(f)!==n)return a+1;var d=f,p=d.ordered,h=void 0!==p&&p,v=d.level,g=void 0===v?0:v;return g<a?Vet(e,f)?a-g:a-g+1:g>a?0:g===a?h===i?0:1:0}(t);if(s>0)for(a=0;a<s;a+=1){var c=Wet.pop();n+="</".concat(c,">")}var l=$et(t),f=l?' style="color:'.concat(l,'"'):"";return{html:"<li".concat(f,">").concat(e,"</li>"),prefix:r,suffix:n}}},Ket={};!function(){if(Get)return Ket;Get=1;var t=g9(),e=R7().includes,r=M3(),n=dtt();t({target:"Array",proto:!0,forced:r(function(){return!Array(1).includes()})},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n("includes")}();var Yet,Xet,Jet,Zet,Qet,trt,ert,rrt,nrt,ort,irt,urt={};function art(){if(Xet)return Yet;Xet=1;var t=$8();return Yet=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}function srt(){if(ort)return nrt;ort=1;var t,e,r=$3(),n=B5(),o=Btt(),i=art(),u=function(){if(Zet)return Jet;Zet=1;var t=M3(),e=N3().RegExp,r=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),n=r||t(function(){return!e("a","y").sticky}),o=r||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return Jet={BROKEN_CARET:o,MISSED_STICKY:n,UNSUPPORTED_Y:r}}(),a=C8(),s=ftt(),c=d7().get,l=function(){if(trt)return Qet;trt=1;var t=M3(),e=N3().RegExp;return Qet=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(rrt)return ert;rrt=1;var t=M3(),e=N3().RegExp;return ert=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=n("".charAt),g=n("".indexOf),y=n("".replace),m=n("".slice),b=(e=/b*/g,r(p,t=/a/,"a"),r(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,n,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=r(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=r(i,C),k=C.source,P=0,B=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),B=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(k="(?: "+k+")",B=" "+B,P++),n=new RegExp("^(?:"+k+")",N)),w&&(n=new RegExp("^"+k+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=r(p,T?n:C,B),T?a?(a.input=m(a.input,P),a[0]=m(a[0],P),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&r(d,a[0],n,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),nrt=h}function crt(){if(irt)return urt;irt=1;var t=g9(),e=srt();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),urt}crt();var lrt,frt=function(){function t(){this.type="list-item",this.tag="button"}return t.prototype.getListNode=function(t){var e=this.type;return CB.getSelectedNodeByType(t,e)},t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){var e=this.getListNode(t);if(null==e)return!1;var r=e.ordered;return(void 0!==r&&r)===this.ordered},t.prototype.isDisabled=function(t){return null==t.selection||!!CB.getSelectedElems(t).some(function(e){if(Kh.isVoid(t,e)&&Kh.isBlock(t,e))return!0;var r=e.type;return!!["pre","code","table"].includes(r)})},t.prototype.exec=function(t,e){this.isActive(t)?zv.setNodes(t,{type:"paragraph",ordered:void 0,level:void 0}):zv.setNodes(t,{type:"list-item",ordered:this.ordered,indent:void 0})},t}(),drt=function(t){function e(){var e=t.apply(this,T9([],x9(arguments),!1))||this;return e.ordered=!1,e.title=LF("listModule.unOrderedList"),e.iconSvg='<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>',e}return O9(e,t),e}(frt),prt=function(t){function e(){var e=t.apply(this,T9([],x9(arguments),!1))||this;return e.ordered=!0,e.title=LF("listModule.orderedList"),e.iconSvg='<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>',e}return O9(e,t),e}(frt),hrt={key:"bulletedList",factory:function(){return new drt}},vrt={key:"numberedList",factory:function(){return new prt}},grt={};!function(){if(lrt)return grt;lrt=1;var t=g9(),e=Fet().filter;t({target:"Array",proto:!0,forced:!C9()("filter")},{filter:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var yrt,mrt,brt,Ert,wrt={};!function(){if(brt)return wrt;brt=1;var t=g9(),e=function(){if(mrt)return yrt;mrt=1;var t=y9(),e=F7(),r=m9(),n=Net(),o=function(i,u,a,s,c,l,f,d){for(var p,h,v=c,g=0,y=!!f&&n(f,d);g<s;)g in a&&(p=y?y(a[g],g,u):a[g],l>0&&t(p)?(h=e(p),v=o(i,u,p,h,v,l-1)-1):(r(v+1),i[v]=p),v++),g++;return v};return yrt=o}(),r=D8(),n=F7(),o=B7(),i=S9();t({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,u=r(this),a=n(u),s=i(u,0);return s.length=e(s,u,u,a,0,void 0===t?1:o(t)),s}})}(),Ert||(Ert=1,dtt()("flat"));var Srt,Crt,Drt,Ort,Art,xrt,Trt,Nrt,krt,Prt,Brt,Irt,Frt,Rrt,Lrt,_rt={};!function(){if(Lrt)return _rt;Lrt=1;var t=function(){if(Crt)return Srt;Crt=1;var t=H3(),e=Function.prototype,r=e.apply,n=e.call;return Srt="object"==typeof Reflect&&Reflect.apply||(t?n.bind(r):function(){return n.apply(r,arguments)}),Srt}(),e=$3(),r=B5(),n=function(){if(Ort)return Drt;Ort=1,crt();var t=$3(),e=p7(),r=srt(),n=M3(),o=x8(),i=V8(),u=o("species"),a=RegExp.prototype;return Drt=function(s,c,l,f){var d=o(s),p=!n(function(){var t={};return t[d]=function(){return 7},7!==""[s](t)}),h=p&&!n(function(){var t=!1,e=/a/;return"split"===s&&((e={}).constructor={},e.constructor[u]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return t=!0,null},e[d](""),!t});if(!p||!h||l){var v=/./[d],g=c(d,""[s],function(e,n,o,i,u){var s=n.exec;return s===r||s===a.exec?p&&!u?{done:!0,value:t(v,n,o,i)}:{done:!0,value:t(e,o,n,i)}:{done:!1}});e(String.prototype,s,g[0]),e(a,d,g[1])}f&&i(a[d],"sham",!0)}}(),o=M3(),i=$8(),u=j5(),a=M5(),s=B7(),c=I7(),l=Btt(),f=L5(),d=function(){if(xrt)return Art;xrt=1;var t=Itt().charAt;return Art=function(e,r,n){return r+(n?t(e,r).length:1)}}(),p=K5(),h=function(){if(Nrt)return Trt;Nrt=1;var t=B5(),e=D8(),r=Math.floor,n=t("".charAt),o=t("".replace),i=t("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return Trt=function(t,s,c,l,f,d){var p=c+t.length,h=l.length,v=a;return void 0!==f&&(f=e(f),v=u),o(d,v,function(e,o){var u;switch(n(o,0)){case"$":return"$";case"&":return t;case"`":return i(s,0,c);case"'":return i(s,p);case"<":u=f[i(o,1,-1)];break;default:var a=+o;if(0===a)return e;if(a>h){var d=r(a/10);return 0===d?e:d<=h?void 0===l[d-1]?n(o,1):l[d-1]+n(o,1):e}u=l[a-1]}return void 0===u?"":u})}}(),v=function(){if(Irt)return Brt;Irt=1;var t=$3(),e=O8(),r=H5(),n=function(){if(Prt)return krt;Prt=1;var t=N3(),e=M3(),r=t.RegExp,n=!e(function(){var t=!0;try{r(".","d")}catch(e){t=!1}var e={},n="",o=t?"dgimsy":"gimsy",i=function(t,r){Object.defineProperty(e,t,{get:function(){return n+=r,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(e)!==o||n!==o});return krt={correct:n}}(),o=art(),i=RegExp.prototype;return Brt=n.correct?function(t){return t.flags}:function(u){return n.correct||!r(i,u)||e(u,"flags")?u.flags:t(o,u)}}(),g=function(){if(Rrt)return Frt;Rrt=1;var t=$3(),e=$8(),r=j5(),n=I5(),o=srt(),i=TypeError;return Frt=function(u,a){var s=u.exec;if(r(s)){var c=t(s,u,a);return null!==c&&e(c),c}if("RegExp"===n(u))return t(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}(),y=x8()("replace"),m=Math.max,b=Math.min,E=r([].concat),w=r([].push),S=r("".indexOf),C=r("".slice),D=function(t){return void 0===t?t:String(t)},O="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");n("replace",function(r,n,o){var O=A?"$":"$0";return[function(t,r){var o=f(this),i=a(t)?p(t,y):void 0;return i?e(i,t,o,r):e(n,l(o),t,r)},function(e,r){var a=i(this),f=l(e);if("string"==typeof r&&-1===S(r,O)&&-1===S(r,"$<")){var p=o(n,a,f,r);if(p.done)return p.value}var y=u(r);y||(r=l(r));var A,x=l(v(a)),T=-1!==S(x,"g");T&&(A=-1!==S(x,"u"),a.lastIndex=0);for(var N,k=[];null!==(N=g(a,f))&&(w(k,N),T);)""===l(N[0])&&(a.lastIndex=d(f,c(a.lastIndex),A));for(var P="",B=0,I=0;I<k.length;I++){for(var F,R=l((N=k[I])[0]),L=m(b(s(N.index),f.length),0),_=[],j=1;j<N.length;j++)w(_,D(N[j]));var M=N.groups;if(y){var z=E([R],_,L,f);void 0!==M&&w(z,M),F=l(t(r,void 0,z))}else F=h(R,f,L,_,M,r);L>=B&&(P+=C(f,B,L)+F,B=L+R.length)}return P+C(f,B)}]},!!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!O||A)}();var jrt,Mrt,zrt={};function Hrt(t){return t.length?t[0].tagName.toLowerCase():""}function $rt(t){return Kh.nodes(t,{at:t.selection||void 0,match:function(e){return 1===CB.findPath(t,e).length}})}Mrt||(Mrt=1,function(){if(jrt)return zrt;jrt=1;var t=g9(),e=N3();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}()),Ag&&(og.fn.append=Ag),sg&&(og.fn.attr=sg),Tg&&(og.fn.parent=Tg);var Urt={renderElems:[{type:"list-item",renderElem:function(t,e,r){Het.set(t,r);var n=t,o=n.level,i=void 0===o?0:o,u=n.ordered,a=void 0!==u&&u,s={margin:"5px 0 5px ".concat(20*i,"px"),display:"flex",alignItems:"flex-start"},c="";if(a){var l=function(t,e){var r=e,n=r.type,o=r.level,i=void 0===o?0:o,u=r.ordered,a=void 0!==u&&u,s=1,c=e,l=CB.findPath(t,c);if(0===l[0])return 1;for(;l[0]>0;){var f=ov.previous(l),d=Kh.node(t,f);if(null==d)break;var p=d[0],h=p.level,v=void 0===h?0:h,g=p.type,y=p.ordered;if(g!==n)break;if(v<i)break;if(v===i){if(y!==a)break;s+=1}c=p,l=f}return s}(r,t);c="".concat(l,".")}else c=function(t){void 0===t&&(t=0);var e="";switch(t){case 0:e="•";break;case 1:e="◦";break;default:e="▪"}return e}(i);return Ry("div",{style:s},Ry("span",{contentEditable:!1,style:{marginRight:"0.5em",color:$et(t)},"data-w-e-reserve":!0},c),Ry("span",{style:{flex:"1",wordBreak:"break-word"}},e))}}],editorPlugin:function(t){var e=t.deleteBackward,r=t.handleTab,n=t.normalizeNode,o=t.insertBreak,i=t;return i.insertBreak=function(){var e=x9(Kh.nodes(t,{match:function(t){return CB.checkNodeType(t,"list-item")},universal:!0}),1)[0];return e?""!==e[0].children[0].text?o():void zv.setNodes(i,{type:"paragraph",ordered:void 0,level:void 0}):o()},i.deleteBackward=function(r){var n=i.selection;if(null!=n)if(dv.isExpanded(n))e(r);else{var o=CB.getSelectedNodeByType(i,"list-item");if(null!=o)if(0!==n.focus.offset)e(r);else{var u=o,a=u.level,s=void 0===a?0:a,c=u.ordered,l=void 0!==c&&c;if(s>0){var f=Uet(t,o,s-1);f&&f.ordered!==l?zv.setNodes(i,{level:s-1,ordered:!l}):zv.setNodes(i,{level:s-1})}else zv.setNodes(i,{type:"paragraph",ordered:void 0,level:void 0})}else e(r)}else e(r)},i.handleTab=function(){var t,e,n,o,u=i.selection;if(null!=u){if(dv.isCollapsed(u)){var a=CB.getSelectedNodeByType(i,"list-item");if(null==a)return void r();if(0===u.focus.offset){var s=a.level,c=void 0===s?0:s;return void zv.setNodes(i,{level:c+1})}}if(dv.isExpanded(u)){var l=0,f=!1;try{for(var d=A9($rt(i)),p=d.next();!p.done;p=d.next()){var h=x9(p.value,1)[0];"list-item"===CB.getNodeType(h)?l+=1:f=!0}}catch(e){t={error:e}}finally{try{p&&!p.done&&(e=d.return)&&e.call(d)}finally{if(t)throw t.error}}if(f||l<=1)return void r();try{for(var v=A9($rt(i)),g=v.next();!g.done;g=v.next()){var y=x9(g.value,2),m=(h=y[0],y[1]),b=h.level;c=void 0===b?0:b,zv.setNodes(i,{level:c+1},{at:m})}}catch(t){n={error:t}}finally{try{g&&!g.done&&(o=v.return)&&o.call(v)}finally{if(n)throw n.error}}}else r()}else r()},i.normalizeNode=function(t){var e=x9(t,2),r=e[0],o=e[1],u=CB.getNodeType(r);return"bulleted-list"!==u&&"numbered-list"!==u||zv.unwrapNodes(i,{at:o}),n([r,o])},i},menus:[hrt,vrt],elemsToHtml:[qet],parseElemsHtml:[{selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(t,e,r){return e.flat(1/0)}},{selector:"li:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n=og(t);0===(e=e.filter(function(t){return!!wv.isText(t)||!!r.isInline(t)})).length&&(e=[{text:n.text().replace(/\s+/gm," ")}]);var o=function(t){return"ol"===Hrt(t.parent())}(n),i=function(t){for(var e=0,r=t.parent(),n=Hrt(r);"ul"===n||"ol"===n;)n=Hrt(r=r.parent()),e+=1;return e-1}(n);return{type:"list-item",ordered:o,level:i,children:e}}}]};BF("en",{tableModule:{modal:{border:"Border",borderWidth:"Width",bgColor:"Back color",align:"Text Align",ok:"OK"},color:{default:"Default color",clear:"Clear back color"},borderStyle:{none:"None",solid:"Solid",dotted:"Dotted",dashed:"Dashed",double:"Double",groove:"Groove",ridge:"Ridge",inset:"Inset",outset:"Outset"},deleteCol:"Delete column",deleteRow:"Delete row",deleteTable:"Delete table",widthAuto:"Width auto",insertCol:"Insert column",insertRow:"Insert row",insertTable:"Insert table",header:"Header",mergeCell:"merge cell",splitCell:"split cell",tableProperty:"Table property",cellProperty:"Cell property"}}),BF("zh-CN",{tableModule:{modal:{border:"边框",borderWidth:"宽度",bgColor:"背景色",align:"对齐方式",ok:"确定"},color:{default:"默认颜色",clear:"清除背景色"},borderStyle:{none:"无样式",solid:"实线",dotted:"点状虚线",dashed:"虚线",double:"双线",groove:"凹槽边框",ridge:"菱形边框",inset:"凹边框",outset:"凸边框"},deleteCol:"删除列",deleteRow:"删除行",deleteTable:"删除表格",widthAuto:"宽度自适应",insertCol:"插入列",insertRow:"插入行",insertTable:"插入表格",header:"表头",mergeCell:"合并单元格",splitCell:"拆分单元格",tableProperty:"表格属性",cellProperty:"单元格属性"}});var Vrt,Grt,Wrt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},qrt={};function Krt(){if(Grt)return Vrt;Grt=1;var t=function(t){return t&&t.Math===Math&&t};return Vrt=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof Wrt&&Wrt)||t("object"==typeof Vrt&&Vrt)||function(){return this}()||Function("return this")()}var Yrt,Xrt,Jrt,Zrt,Qrt,tnt,ent,rnt,nnt={};function ont(){return Xrt?Yrt:(Xrt=1,Yrt=function(t){try{return!!t()}catch(t){return!0}})}function int(){if(Zrt)return Jrt;Zrt=1;var t=ont();return Jrt=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function unt(){if(tnt)return Qrt;tnt=1;var t=ont();return Qrt=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function ant(){if(rnt)return ent;rnt=1;var t=unt(),e=Function.prototype.call;return ent=t?e.bind(e):function(){return e.apply(e,arguments)},ent}var snt,cnt,lnt,fnt,dnt,pnt,hnt,vnt,gnt,ynt,mnt,bnt,Ent,wnt,Snt,Cnt,Dnt,Ont,Ant,xnt,Tnt,Nnt,knt,Pnt,Bnt,Int,Fnt,Rnt,Lnt,_nt,jnt,Mnt,znt,Hnt,$nt,Unt,Vnt,Gnt,Wnt,qnt,Knt,Ynt={};function Xnt(){if(snt)return Ynt;snt=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return Ynt.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,Ynt}function Jnt(){return lnt?cnt:(lnt=1,cnt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function Znt(){if(dnt)return fnt;dnt=1;var t=unt(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return fnt=t?n:function(t){return function(){return r.apply(t,arguments)}},fnt}function Qnt(){if(hnt)return pnt;hnt=1;var t=Znt(),e=t({}.toString),r=t("".slice);return pnt=function(t){return r(e(t),8,-1)}}function tot(){if(gnt)return vnt;gnt=1;var t=Znt(),e=ont(),r=Qnt(),n=Object,o=t("".split);return vnt=e(function(){return!n("z").propertyIsEnumerable(0)})?function(t){return"String"===r(t)?o(t,""):n(t)}:n}function eot(){return mnt?ynt:(mnt=1,ynt=function(t){return null==t})}function rot(){if(Ent)return bnt;Ent=1;var t=eot(),e=TypeError;return bnt=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function not(){if(Snt)return wnt;Snt=1;var t=tot(),e=rot();return wnt=function(r){return t(e(r))}}function oot(){if(Dnt)return Cnt;Dnt=1;var t="object"==typeof document&&document.all;return Cnt=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function iot(){if(Ant)return Ont;Ant=1;var t=oot();return Ont=function(e){return"object"==typeof e?null!==e:t(e)}}function uot(){if(Tnt)return xnt;Tnt=1;var t=Krt(),e=oot();return xnt=function(r,n){return arguments.length<2?(o=t[r],e(o)?o:void 0):t[r]&&t[r][n];var o},xnt}function aot(){if(knt)return Nnt;knt=1;var t=Znt();return Nnt=t({}.isPrototypeOf)}function sot(){if(Bnt)return Pnt;Bnt=1;var t=Krt().navigator,e=t&&t.userAgent;return Pnt=e?String(e):""}function cot(){if(Fnt)return Int;Fnt=1;var t,e,r=Krt(),n=sot(),o=r.process,i=r.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),Int=e}function lot(){if(Lnt)return Rnt;Lnt=1;var t=cot(),e=ont(),r=Krt().String;return Rnt=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function fot(){if(jnt)return _nt;jnt=1;var t=lot();return _nt=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function dot(){if(znt)return Mnt;znt=1;var t=uot(),e=oot(),r=aot(),n=fot(),o=Object;return Mnt=n?function(t){return"symbol"==typeof t}:function(n){var i=t("Symbol");return e(i)&&r(i.prototype,o(n))}}function pot(){if($nt)return Hnt;$nt=1;var t=String;return Hnt=function(e){try{return t(e)}catch(t){return"Object"}}}function hot(){if(Vnt)return Unt;Vnt=1;var t=oot(),e=pot(),r=TypeError;return Unt=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function vot(){if(Wnt)return Gnt;Wnt=1;var t=hot(),e=eot();return Gnt=function(r,n){var o=r[n];return e(o)?void 0:t(o)}}var got,yot,mot,bot,Eot,wot,Sot,Cot,Dot,Oot,Aot,xot,Tot,Not,kot,Pot,Bot,Iot,Fot,Rot,Lot,_ot,jot,Mot,zot={exports:{}};function Hot(){return yot?got:(yot=1,got=!1)}function $ot(){if(bot)return mot;bot=1;var t=Krt(),e=Object.defineProperty;return mot=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function Uot(){if(Eot)return zot.exports;Eot=1;var t=Hot(),e=Krt(),r=$ot(),n="__core-js_shared__",o=zot.exports=e[n]||r(n,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),zot.exports}function Vot(){if(Sot)return wot;Sot=1;var t=Uot();return wot=function(e,r){return t[e]||(t[e]=r||{})}}function Got(){if(Dot)return Cot;Dot=1;var t=rot(),e=Object;return Cot=function(r){return e(t(r))}}function Wot(){if(Aot)return Oot;Aot=1;var t=Znt(),e=Got(),r=t({}.hasOwnProperty);return Oot=Object.hasOwn||function(t,n){return r(e(t),n)}}function qot(){if(Tot)return xot;Tot=1;var t=Znt(),e=0,r=Math.random(),n=t(1.1.toString);return xot=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function Kot(){if(kot)return Not;kot=1;var t=Krt(),e=Vot(),r=Wot(),n=qot(),o=lot(),i=fot(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||n;return Not=function(t){return r(a,t)||(a[t]=o&&r(u,t)?u[t]:s("Symbol."+t)),a[t]}}function Yot(){if(Bot)return Pot;Bot=1;var t=ant(),e=iot(),r=dot(),n=vot(),o=function(){if(Knt)return qnt;Knt=1;var t=ant(),e=oot(),r=iot(),n=TypeError;return qnt=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!r(a=t(u,o)))return a;if(e(u=o.valueOf)&&!r(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!r(a=t(u,o)))return a;throw new n("Can't convert object to primitive value")},qnt}(),i=Kot(),u=TypeError,a=i("toPrimitive");return Pot=function(i,s){if(!e(i)||r(i))return i;var c,l=n(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||r(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}function Xot(){if(Fot)return Iot;Fot=1;var t=Yot(),e=dot();return Iot=function(r){var n=t(r,"string");return e(n)?n:n+""}}function Jot(){if(Lot)return Rot;Lot=1;var t=Krt(),e=iot(),r=t.document,n=e(r)&&e(r.createElement);return Rot=function(t){return n?r.createElement(t):{}}}function Zot(){if(jot)return _ot;jot=1;var t=int(),e=ont(),r=Jot();return _ot=!t&&!e(function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})}function Qot(){if(Mot)return nnt;Mot=1;var t=int(),e=ant(),r=Xnt(),n=Jnt(),o=not(),i=Xot(),u=Wot(),a=Zot(),s=Object.getOwnPropertyDescriptor;return nnt.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return n(!e(r.f,t,c),t[c])},nnt}var tit,eit,rit,nit,oit,iit,uit,ait={};function sit(){if(eit)return tit;eit=1;var t=int(),e=ont();return tit=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function cit(){if(nit)return rit;nit=1;var t=iot(),e=String,r=TypeError;return rit=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function lit(){if(oit)return ait;oit=1;var t=int(),e=Zot(),r=sit(),n=cit(),o=Xot(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return ait.f=t?r?function(t,e,r){if(n(t),e=o(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&l in r&&!r[l]){var i=a(t,e);i&&i[l]&&(t[e]=r.value,r={configurable:c in r?r[c]:i[c],enumerable:s in r?r[s]:i[s],writable:!1})}return u(t,e,r)}:u:function(t,r,a){if(n(t),r=o(r),n(a),e)try{return u(t,r,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[r]=a.value),t},ait}function fit(){if(uit)return iit;uit=1;var t=int(),e=lit(),r=Jnt();return iit=t?function(t,n,o){return e.f(t,n,r(1,o))}:function(t,e,r){return t[e]=r,t}}var dit,pit,hit,vit,git,yit,mit,bit,Eit,wit,Sit,Cit,Dit,Oit,Ait,xit={exports:{}};function Tit(){if(pit)return dit;pit=1;var t=int(),e=Wot(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,o=e(r,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&n(r,"name").configurable);return dit={EXISTS:o,PROPER:i,CONFIGURABLE:u}}function Nit(){if(vit)return hit;vit=1;var t=Znt(),e=oot(),r=Uot(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),hit=r.inspectSource}function kit(){if(yit)return git;yit=1;var t=Krt(),e=oot(),r=t.WeakMap;return git=e(r)&&/native code/.test(String(r))}function Pit(){if(bit)return mit;bit=1;var t=Vot(),e=qot(),r=t("keys");return mit=function(t){return r[t]||(r[t]=e(t))}}function Bit(){return wit?Eit:(wit=1,Eit={})}function Iit(){if(Cit)return Sit;Cit=1;var t,e,r,n=kit(),o=Krt(),i=iot(),u=fit(),a=Wot(),s=Uot(),c=Pit(),l=Bit(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(n||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},r=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},r=function(t){return a(t,v)}}return Sit={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!i(r)||(n=e(r)).type!==t)throw new d("Incompatible receiver, "+t+" required");return n}}}}function Fit(){if(Dit)return xit.exports;Dit=1;var t=Znt(),e=ont(),r=oot(),n=Wot(),o=int(),i=Tit().CONFIGURABLE,u=Nit(),a=Iit(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=xit.exports=function(t,e,r){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return n(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return r(this)&&c(this).source||u(this)},"toString"),xit.exports}function Rit(){if(Ait)return Oit;Ait=1;var t=oot(),e=lit(),r=Fit(),n=$ot();return Oit=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&r(u,c,a),a.global)s?o[i]=u:n(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var Lit,_it,jit,Mit,zit,Hit,$it,Uit,Vit,Git,Wit,qit,Kit,Yit,Xit,Jit,Zit,Qit={};function tut(){if(Mit)return jit;Mit=1;var t=function(){if(_it)return Lit;_it=1;var t=Math.ceil,e=Math.floor;return Lit=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return jit=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function eut(){if(Hit)return zit;Hit=1;var t=tut(),e=Math.max,r=Math.min;return zit=function(n,o){var i=t(n);return i<0?e(i+o,0):r(i,o)}}function rut(){if(Uit)return $it;Uit=1;var t=tut(),e=Math.min;return $it=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}function nut(){if(Git)return Vit;Git=1;var t=rut();return Vit=function(e){return t(e.length)}}function out(){if(qit)return Wit;qit=1;var t=not(),e=eut(),r=nut(),n=function(n){return function(o,i,u){var a=t(o),s=r(a);if(0===s)return!n&&-1;var c,l=e(u,s);if(n&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((n||l in a)&&a[l]===i)return n||l||0;return!n&&-1}};return Wit={includes:n(!0),indexOf:n(!1)}}function iut(){if(Yit)return Kit;Yit=1;var t=Znt(),e=Wot(),r=not(),n=out().indexOf,o=Bit(),i=t([].push);return Kit=function(t,u){var a,s=r(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~n(l,a)||i(l,a));return l}}function uut(){return Jit?Xit:(Jit=1,Xit=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function aut(){if(Zit)return Qit;Zit=1;var t=iut(),e=uut().concat("length","prototype");return Qit.f=Object.getOwnPropertyNames||function(r){return t(r,e)},Qit}var sut,cut,lut,fut,dut,put,hut,vut,gut,yut,mut,but,Eut,wut,Sut,Cut,Dut,Out,Aut,xut,Tut,Nut,kut,Put,But,Iut,Fut,Rut,Lut={};function _ut(){return sut||(sut=1,Lut.f=Object.getOwnPropertySymbols),Lut}function jut(){if(dut)return fut;dut=1;var t=Wot(),e=function(){if(lut)return cut;lut=1;var t=uot(),e=Znt(),r=aut(),n=_ut(),o=cit(),i=e([].concat);return cut=t("Reflect","ownKeys")||function(t){var e=r.f(o(t)),u=n.f;return u?i(e,u(t)):e}}(),r=Qot(),n=lit();return fut=function(o,i,u){for(var a=e(i),s=n.f,c=r.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function Mut(){if(hut)return put;hut=1;var t=ont(),e=oot(),r=/#|\.prototype\./,n=function(r,n){var s=i[o(r)];return s===a||s!==u&&(e(n)?t(n):!!n)},o=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},i=n.data={},u=n.NATIVE="N",a=n.POLYFILL="P";return put=n}function zut(){if(gut)return vut;gut=1;var t=Krt(),e=Qot().f,r=fit(),n=Rit(),o=$ot(),i=jut(),u=Mut();return vut=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&r(d,"sham",!0),n(c,l,d,a)}}}function Hut(){if(mut)return yut;mut=1;var t=Qnt();return yut=Array.isArray||function(e){return"Array"===t(e)}}function $ut(){if(Eut)return but;Eut=1;var t=TypeError;return but=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}function Uut(){if(Sut)return wut;Sut=1;var t=int(),e=lit(),r=Jnt();return wut=function(n,o,i){t?e.f(n,o,r(0,i)):n[o]=i}}function Vut(){if(Dut)return Cut;Dut=1;var t={};return t[Kot()("toStringTag")]="z",Cut="[object z]"===String(t)}function Gut(){if(Aut)return Out;Aut=1;var t=Vut(),e=oot(),r=Qnt(),n=Kot()("toStringTag"),o=Object,i="Arguments"===r(function(){return arguments}());return Out=t?r:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),n))?a:i?r(u):"Object"===(s=r(u))&&e(u.callee)?"Arguments":s}}function Wut(){if(Tut)return xut;Tut=1;var t=Znt(),e=ont(),r=oot(),n=Gut(),o=uot(),i=Nit(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!r(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,xut=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function qut(){if(But)return Put;But=1;var t=function(){if(kut)return Nut;kut=1;var t=Hut(),e=Wut(),r=iot(),n=Kot()("species"),o=Array;return Nut=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||r(u)&&null===(u=u[n]))&&(u=void 0)),void 0===u?o:u}}();return Put=function(e,r){return new(t(e))(0===r?0:r)}}function Kut(){if(Fut)return Iut;Fut=1;var t=ont(),e=Kot(),r=cot(),n=e("species");return Iut=function(e){return r>=51||!t(function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}!function(){if(Rut)return qrt;Rut=1;var t=zut(),e=ont(),r=Hut(),n=iot(),o=Got(),i=nut(),u=$ut(),a=Uut(),s=qut(),c=Kut(),l=Kot(),f=cot(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!n(t))return!1;var e=t[d];return void 0!==e?!!e:r(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,r,n,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),r=0;r<c;r++,p++)r in l&&a(d,p,l[r]);else u(p+1),a(d,p++,l);return d.length=p,d}})}();var Yut,Xut,Jut,Zut={};function Qut(){if(Xut)return Yut;Xut=1;var t=ont();return Yut=function(e,r){var n=[][e];return!!n&&t(function(){n.call(null,r||function(){return 1},1)})}}!function(){if(Jut)return Zut;Jut=1;var t=zut(),e=Znt(),r=tot(),n=not(),o=Qut(),i=e([].join);t({target:"Array",proto:!0,forced:r!==Object||!o("join",",")},{join:function(t){return i(n(this),void 0===t?",":t)}})}();var tat,eat,rat,nat,oat,iat,uat,aat={};function sat(){if(nat)return rat;nat=1;var t=function(){if(eat)return tat;eat=1;var t=Qnt(),e=Znt();return tat=function(r){if("Function"===t(r))return e(r)}}(),e=hot(),r=unt(),n=t(t.bind);return rat=function(t,o){return e(t),void 0===o?t:r?n(t,o):function(){return t.apply(o,arguments)}},rat}function cat(){if(iat)return oat;iat=1;var t=sat(),e=Znt(),r=tot(),n=Got(),o=nut(),i=qut(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=n(h),w=r(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return oat={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}!function(){if(uat)return aat;uat=1;var t=zut(),e=cat().map;t({target:"Array",proto:!0,forced:!Kut()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var lat,fat,dat,pat={};!function(){if(dat)return pat;dat=1;var t=Vut(),e=Rit(),r=function(){if(fat)return lat;fat=1;var t=Vut(),e=Gut();return lat=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var hat=function(t,e){return hat=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},hat(t,e)},vat=function(){return vat=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},vat.apply(this,arguments)};function gat(t,e){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=a(0),u.throw=a(1),u.return=a(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;u&&(u=0,a[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function yat(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function mat(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u}function bat(t,e,r){if(2===arguments.length)for(var n,o=0,i=e.length;o<i;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var Eat,wat,Sat,Cat,Dat,Oat,Aat,xat,Tat,Nat,kat='<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>',Pat={},Bat={};function Iat(){if(wat)return Eat;wat=1;var t=iut(),e=uut();return Eat=Object.keys||function(r){return t(r,e)}}function Fat(){if(Aat)return Oat;Aat=1;var t,e=cit(),r=function(){if(Sat)return Bat;Sat=1;var t=int(),e=sit(),r=lit(),n=cit(),o=not(),i=Iat();return Bat.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)r.f(t,u=s[l++],a[u]);return t},Bat}(),n=uut(),o=Bit(),i=function(){if(Dat)return Cat;Dat=1;var t=uot();return Cat=t("document","documentElement")}(),u=Jot(),a=Pit(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,o;h="undefined"!=typeof document?document.domain&&t?p(t):(r=u("iframe"),o="java"+c+":",r.style.display="none",i.appendChild(r),r.src=String(o),(e=r.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=n.length;a--;)delete h[s][n[a]];return h()};return o[l]=!0,Oat=Object.create||function(t,n){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===n?o:r.f(o,n)}}function Rat(){if(Tat)return xat;Tat=1;var t=Kot(),e=Fat(),r=lit().f,n=t("unscopables"),o=Array.prototype;return void 0===o[n]&&r(o,n,{configurable:!0,value:e(null)}),xat=function(t){o[n][t]=!0}}!function(){if(Nat)return Pat;Nat=1;var t=zut(),e=out().includes,r=ont(),n=Rat();t({target:"Array",proto:!0,forced:r(function(){return!Array(1).includes()})},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n("includes")}();var Lat,_at,jat,Mat,zat,Hat,$at,Uat,Vat,Gat={};function Wat(){if(Hat)return zat;Hat=1;var t=Gut(),e=String;return zat=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}!function(){if(Vat)return Gat;Vat=1;var t=zut(),e=Znt(),r=function(){if(Mat)return jat;Mat=1;var t=function(){if(_at)return Lat;_at=1;var t=iot(),e=Qnt(),r=Kot()("match");return Lat=function(n){var o;return t(n)&&(void 0!==(o=n[r])?!!o:"RegExp"===e(n))}}(),e=TypeError;return jat=function(r){if(t(r))throw new e("The method doesn't accept regular expressions");return r}}(),n=rot(),o=Wat(),i=function(){if(Uat)return $at;Uat=1;var t=Kot()("match");return $at=function(e){var r=/./;try{"/./"[e](r)}catch(n){try{return r[t]=!1,"/./"[e](r)}catch(t){}}return!1}}(),u=e("".indexOf);t({target:"String",proto:!0,forced:!i("includes")},{includes:function(t){return!!~u(o(n(this)),o(r(t)),arguments.length>1?arguments[1]:void 0)}})}();var qat={blocks:{td:"table-cell",th:"table-cell",content:"paragraph",tr:"table-row",table:"table",tbody:"table-body"}};function Kat(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=qat,o=e.map(function(t){var e;return null===(e=null==n?void 0:n.blocks)||void 0===e?void 0:e[t]});return function(t){return function(t){return!Kh.isEditor(t)&&$h.isElement(t)&&"type"in t}(t)&&o.includes(t.type)}}function Yat(t,e){for(var r=mat(e,2),n=r[0],o=r[1],i=[],u=2;u<arguments.length;u++)i[u-2]=arguments[u];var a=mat(tv.common(t,n,o),2),s=a[0],c=a[1];return!!Kat.apply(void 0,bat([t],mat(i),!1))(s,c)||!!Kh.above(t,{match:Kat.apply(void 0,bat([t],mat(i),!1)),at:c})}function Xat(t,e){var r,n;void 0===e&&(e={});var o=[];try{for(var i=yat(function(t,e){var r,n,o,i,u,a,s,c,l,f,d,p,h,v,g,y,m,b;return void 0===e&&(e={}),gat(this,function(E){switch(E.label){case 0:if(r=mat(Kh.nodes(t,{match:Kat(t,"table"),at:e.at}),1),!(n=r[0]))return[2,[]];o=mat(n,2),i=o[1],E.label=1;case 1:E.trys.push([1,6,7,8]),u=yat(Kh.nodes(t,{match:Kat(t,"table"),at:i})),a=u.next(),E.label=2;case 2:if(a.done)return[3,5];s=mat(a.value,2),c=s[1],l=[];try{for(m=void 0,f=yat(Kh.nodes(t,{match:Kat(t,"tr"),at:c})),d=f.next();!d.done;d=f.next())p=mat(d.value,2),h=p[1],l.push(bat([],mat(Kh.nodes(t,{match:Kat(t,"th","td"),at:h})),!1))}catch(t){m={error:t}}finally{try{d&&!d.done&&(b=f.return)&&b.call(f)}finally{if(m)throw m.error}}return[4,l];case 3:E.sent(),E.label=4;case 4:return a=u.next(),[3,2];case 5:return[3,8];case 6:return v=E.sent(),g={error:v},[3,8];case 7:try{a&&!a.done&&(y=u.return)&&y.call(u)}finally{if(g)throw g.error}return[7];case 8:return[2]}})}(t,{at:e.at})),u=i.next();!u.done;u=i.next()){for(var a=u.value,s=[],c=0,l=0;l<a.length;l+=1)a[l]&&(c=Math.max(c,a[l].length));for(l=0;l<a.length;l+=1)if(s[l]||(s[l]=[]),a[l])for(var f=0;f<a[l].length;f+=1)if(a[l][f]&&a[l][f][0]){for(var d=mat(a[l][f],1)[0],p=d.rowSpan,h=void 0===p?1:p,v=d.colSpan,g=void 0===v?1:v,y=f;s[l]&&s[l][y];)y+=1;for(var m=0;m<g;m+=1)for(var b=0;b<h;b+=1){var E=l+b,w=y+m;s[E]||(s[E]=[]),s[E][w]||(s[E][w]=[a[l][f],{rtl:m+1,ltr:g-m,ttb:b+1,btt:h-b}])}}o.push.apply(o,bat([],mat(s),!1))}}catch(t){r={error:t}}finally{try{u&&!u.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return o}var Jat,Zat=function(){function t(t,e){this.x=t,this.y=e}return t.valueOf=function(t,e){return new this(t,e)},t.equals=function(t,e){return t.x===e.x&&t.y===e.y},t}(),Qat={};!function(){if(Jat)return Qat;Jat=1;var t=zut(),e=cat().find,r=Rat(),n="find",o=!0;n in[]&&Array(1)[n](function(){o=!1}),t({target:"Array",proto:!0,forced:o},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r(n)}();var tst,est,rst,nst,ost,ist,ust,ast,sst,cst,lst,fst,dst,pst,hst,vst,gst,yst={};function mst(){if(est)return tst;est=1;var t=ant(),e=cit(),r=vot();return tst=function(n,o,i){var u,a;e(n);try{if(!(u=r(n,"return"))){if("throw"===o)throw i;return i}u=t(u,n)}catch(t){a=!0,u=t}if("throw"===o)throw i;if(a)throw u;return e(u),i}}function bst(){return ist?ost:(ist=1,ost={})}function Est(){if(ast)return ust;ast=1;var t=Kot(),e=bst(),r=t("iterator"),n=Array.prototype;return ust=function(t){return void 0!==t&&(e.Array===t||n[r]===t)}}function wst(){if(cst)return sst;cst=1;var t=Gut(),e=vot(),r=eot(),n=bst(),o=Kot()("iterator");return sst=function(i){if(!r(i))return e(i,o)||e(i,"@@iterator")||n[t(i)]}}function Sst(){if(fst)return lst;fst=1;var t=ant(),e=hot(),r=cit(),n=pot(),o=wst(),i=TypeError;return lst=function(u,a){var s=arguments.length<2?o(u):a;if(e(s))return r(t(s,u));throw new i(n(u)+" is not iterable")},lst}function Cst(){if(vst)return hst;vst=1;var t=Kot()("iterator"),e=!1;try{var r=0,n={next:function(){return{done:!!r++}},return:function(){e=!0}};n[t]=function(){return this},Array.from(n,function(){throw 2})}catch(t){}return hst=function(r,n){try{if(!n&&!e)return!1}catch(t){return!1}var o=!1;try{var i={};i[t]=function(){return{next:function(){return{done:o=!0}}}},r(i)}catch(t){}return o}}!function(){if(gst)return yst;gst=1;var t=zut(),e=function(){if(pst)return dst;pst=1;var t=sat(),e=ant(),r=Got(),n=function(){if(nst)return rst;nst=1;var t=cit(),e=mst();return rst=function(r,n,o,i){try{return i?n(t(o)[0],o[1]):n(o)}catch(t){e(r,"throw",t)}}}(),o=Est(),i=Wut(),u=nut(),a=Uut(),s=Sst(),c=wst(),l=Array;return dst=function(f){var d=r(f),p=i(this),h=arguments.length,v=h>1?arguments[1]:void 0,g=void 0!==v;g&&(v=t(v,h>2?arguments[2]:void 0));var y,m,b,E,w,S,C=c(d),D=0;if(!C||this===l&&o(C))for(y=u(d),m=p?new this(y):l(y);y>D;D++)S=g?v(d[D],D):d[D],a(m,D,S);else for(m=p?new this:[],w=(E=s(d,C)).next;!(b=e(w,E)).done;D++)S=g?n(E,v,[b.value,D],!0):b.value,a(m,D,S);return m.length=D,m},dst}();t({target:"Array",stat:!0,forced:!Cst()(function(t){Array.from(t)})},{from:e})}();var Dst,Ost,Ast,xst,Tst,Nst,kst,Pst,Bst,Ist,Fst,Rst={};function Lst(){if(Ost)return Dst;Ost=1;var t=cit();return Dst=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}function _st(){if(xst)return Ast;xst=1;var t=ont(),e=Krt().RegExp,r=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),n=r||t(function(){return!e("a","y").sticky}),o=r||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return Ast={BROKEN_CARET:o,MISSED_STICKY:n,UNSUPPORTED_Y:r}}function jst(){if(Ist)return Bst;Ist=1;var t,e,r=ant(),n=Znt(),o=Wat(),i=Lst(),u=_st(),a=Vot(),s=Fat(),c=Iit().get,l=function(){if(Nst)return Tst;Nst=1;var t=ont(),e=Krt().RegExp;return Tst=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(Pst)return kst;Pst=1;var t=ont(),e=Krt().RegExp;return kst=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=n("".charAt),g=n("".indexOf),y=n("".replace),m=n("".slice),b=(e=/b*/g,r(p,t=/a/,"a"),r(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,n,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=r(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=r(i,C),k=C.source,P=0,B=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),B=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(k="(?: "+k+")",B=" "+B,P++),n=new RegExp("^(?:"+k+")",N)),w&&(n=new RegExp("^"+k+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=r(p,T?n:C,B),T?a?(a.input=m(a.input,P),a[0]=m(a[0],P),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&r(d,a[0],n,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),Bst=h}function Mst(){if(Fst)return Rst;Fst=1;var t=zut(),e=jst();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),Rst}Mst();var zst,Hst,$st,Ust,Vst,Gst,Wst,qst,Kst,Yst,Xst,Jst,Zst,Qst,tct,ect,rct,nct,oct,ict,uct,act,sct,cct,lct,fct={};function dct(){if(Hst)return zst;Hst=1;var t=Znt(),e=tut(),r=Wat(),n=rot(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=r(n(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return zst={codeAt:a(!1),charAt:a(!0)}}function pct(){if(Gst)return Vst;Gst=1;var t=Wot(),e=oot(),r=Got(),n=Pit(),o=function(){if(Ust)return $st;Ust=1;var t=ont();return $st=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=n("IE_PROTO"),u=Object,a=u.prototype;return Vst=o?u.getPrototypeOf:function(n){var o=r(n);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function hct(){if(qst)return Wst;qst=1;var t,e,r,n=ont(),o=oot(),i=iot(),u=Fat(),a=pct(),s=Rit(),c=Kot(),l=Hot(),f=c("iterator"),d=!1;return[].keys&&("next"in(r=[].keys())?(e=a(a(r)))!==Object.prototype&&(t=e):d=!0),!i(t)||n(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),Wst={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function vct(){if(Yst)return Kst;Yst=1;var t=lit().f,e=Wot(),r=Kot()("toStringTag");return Kst=function(n,o,i){n&&!i&&(n=n.prototype),n&&!e(n,r)&&t(n,r,{configurable:!0,value:o})}}function gct(){if(nct)return rct;nct=1;var t=function(){if(ect)return tct;ect=1;var t=iot();return tct=function(e){return t(e)||null===e}}(),e=String,r=TypeError;return rct=function(n){if(t(n))return n;throw new r("Can't set "+e(n)+" as a prototype")}}function yct(){if(ict)return oct;ict=1;var t=function(){if(Qst)return Zst;Qst=1;var t=Znt(),e=hot();return Zst=function(r,n,o){try{return t(e(Object.getOwnPropertyDescriptor(r,n)[o]))}catch(t){}}}(),e=iot(),r=rot(),n=gct();return oct=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return r(t),n(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function mct(){if(act)return uct;act=1;var t=zut(),e=ant(),r=Hot(),n=Tit(),o=oot(),i=function(){if(Jst)return Xst;Jst=1;var t=hct().IteratorPrototype,e=Fat(),r=Jnt(),n=vct(),o=bst(),i=function(){return this};return Xst=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:r(+!c,s)}),n(u,l,!1,!0),o[l]=i,u}}(),u=pct(),a=yct(),s=vct(),c=fit(),l=Rit(),f=Kot(),d=bst(),p=hct(),h=n.PROPER,v=n.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return uct=function(n,f,p,C,D,O,A){i(p,f,C);var x,T,N,k=function(t){if(t===D&&R)return R;if(!y&&t&&t in I)return I[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},P=f+" Iterator",B=!1,I=n.prototype,F=I[m]||I["@@iterator"]||D&&I[D],R=!y&&F||k(D),L="Array"===f&&I.entries||F;if(L&&(x=u(L.call(new n)))!==Object.prototype&&x.next&&(r||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,P,!0,!0),r&&(d[P]=S)),h&&D===E&&F&&F.name!==E&&(!r&&v?c(I,"name",E):(B=!0,R=function(){return e(F,this)})),D)if(T={values:k(E),keys:O?R:k(b),entries:k(w)},A)for(N in T)(y||B||!(N in I))&&l(I,N,T[N]);else t({target:f,proto:!0,forced:y||B},T);return r&&!A||I[m]===R||l(I,m,R,{name:D}),d[f]=R,T}}function bct(){return cct?sct:(cct=1,sct=function(t,e){return{value:t,done:e}})}!function(){if(lct)return fct;lct=1;var t=dct().charAt,e=Wat(),r=Iit(),n=mct(),o=bct(),i="String Iterator",u=r.set,a=r.getterFor(i);n(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,r=a(this),n=r.string,i=r.index;return i>=n.length?o(void 0,!0):(e=t(n,i),r.index+=e.length,o(e,!1))})}();var Ect,wct,Sct,Cct,Dct,Oct,Act,xct={};function Tct(){return wct?Ect:(wct=1,Ect={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})}function Nct(){if(Cct)return Sct;Cct=1;var t=Jot()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return Sct=e===Object.prototype?void 0:e}!function(){if(Act)return xct;Act=1;var t=Krt(),e=Tct(),r=Nct(),n=function(){if(Oct)return Dct;Oct=1;var t=cat().forEach,e=Qut()("forEach");return Dct=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},Dct}(),o=fit(),i=function(t){if(t&&t.forEach!==n)try{o(t,"forEach",n)}catch(e){t.forEach=n}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(r)}();var kct,Pct,Bct,Ict,Fct,Rct,Lct,_ct={};function jct(){return Pct?kct:(Pct=1,kct="\t\n\v\f\r \u2028\u2029\ufeff")}function Mct(){if(Ict)return Bct;Ict=1;var t=Znt(),e=rot(),r=Wat(),n=jct(),o=t("".replace),i=RegExp("^["+n+"]+"),u=RegExp("(^|[^"+n+"])["+n+"]+$"),a=function(t){return function(n){var a=r(e(n));return 1&t&&(a=o(a,i,"")),2&t&&(a=o(a,u,"$1")),a}};return Bct={start:a(1),end:a(2),trim:a(3)}}!function(){if(Lct)return _ct;Lct=1;var t=zut(),e=Mct().trim,r=function(){if(Rct)return Fct;Rct=1;var t=Tit().PROPER,e=ont(),r=jct();return Fct=function(n){return e(function(){return!!r[n]()||"
"!=="
"[n]()||t&&r[n].name!==n})}}();t({target:"String",proto:!0,forced:r("trim")},{trim:function(){return e(this)}})}();var zct,Hct,$ct,Uct,Vct={};function Gct(t){return t.length?t[0].tagName.toLowerCase():""}function Wct(t,e){for(var r="",n=(t.attr("style")||"").split(";"),o=n.length,i=0;i<o;i+=1){var u=n[i];if(u){var a=u.split(":");a[0].trim()===e&&(r=a[1].trim())}}return r}function qct(){if(Uct)return $ct;Uct=1;var t=not(),e=Rat(),r=bst(),n=Iit(),o=lit().f,i=mct(),u=bct(),a=Hot(),s=int(),c="Array Iterator",l=n.set,f=n.getterFor(c);$ct=i(Array,"Array",function(e,r){l(this,{type:c,target:t(e),index:0,kind:r})},function(){var t=f(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(r,!1);case"values":return u(e[r],!1)}return u([r,e[r]],!1)},"values");var d=r.Arguments=r.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return $ct}Hct||(Hct=1,function(){if(zct)return Vct;zct=1;var t=zut(),e=Krt();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}()),Ag&&og.fn&&(og.fn.append=Ag),pg&&og.fn&&(og.fn.on=pg),_g&&og.fn&&(og.fn.focus=_g),sg&&og.fn&&(og.fn.attr=sg),dg&&og.fn&&(og.fn.val=dg),Cg&&og.fn&&(og.fn.html=Cg),fg&&og.fn&&(og.fn.dataset=fg),ig&&og.fn&&(og.fn.addClass=ig),ug&&og.fn&&(og.fn.removeClass=ug),Pg&&og.fn&&(og.fn.children=Pg),wg&&og.fn&&(og.fn.each=wg),kg&&og.fn&&(og.fn.find=kg),lg&&og.fn&&(og.fn.data=lg),mg&&og.fn&&(og.fn.hide=mg),bg&&og.fn&&(og.fn.show=bg),qct();var Kct,Yct,Xct,Jct,Zct={};function Qct(){if(Yct)return Kct;Yct=1;var t=ont();return Kct=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})}function tlt(){if(Jct)return Xct;Jct=1;var t=Rit();return Xct=function(e,r,n){for(var o in r)t(e,o,r[o],n);return e}}var elt,rlt,nlt,olt,ilt,ult,alt,slt,clt,llt,flt,dlt,plt,hlt,vlt,glt,ylt,mlt,blt,Elt,wlt={exports:{}},Slt={};function Clt(){if(rlt)return elt;rlt=1;var t=Znt();return elt=t([].slice)}function Dlt(){if(slt)return wlt.exports;slt=1;var t=zut(),e=Znt(),r=Bit(),n=iot(),o=Wot(),i=lit().f,u=aut(),a=function(){if(nlt)return Slt;nlt=1;var t=Qnt(),e=not(),r=aut().f,n=Clt(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return Slt.f=function(i){return o&&"Window"===t(i)?function(t){try{return r(t)}catch(t){return n(o)}}(i):r(e(i))},Slt}(),s=function(){if(alt)return ult;alt=1;var t=ont(),e=iot(),r=Qnt(),n=function(){if(ilt)return olt;ilt=1;var t=ont();return olt=t(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})}(),o=Object.isExtensible,i=t(function(){});return ult=i||n?function(t){return!!e(t)&&(!n||"ArrayBuffer"!==r(t))&&(!o||o(t))}:o}(),c=qot(),l=Qct(),f=!1,d=c("meta"),p=0,h=function(t){i(t,d,{value:{objectID:"O"+p++,weakData:{}}})},v=wlt.exports={enable:function(){v.enable=function(){},f=!0;var r=u.f,n=e([].splice),o={};o[d]=1,r(o).length&&(u.f=function(t){for(var e=r(t),o=0,i=e.length;o<i;o++)if(e[o]===d){n(e,o,1);break}return e},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!n(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,d)){if(!s(t))return"F";if(!e)return"E";h(t)}return t[d].objectID},getWeakData:function(t,e){if(!o(t,d)){if(!s(t))return!0;if(!e)return!1;h(t)}return t[d].weakData},onFreeze:function(t){return l&&f&&s(t)&&!o(t,d)&&h(t),t}};return r[d]=!0,wlt.exports}function Olt(){if(llt)return clt;llt=1;var t=sat(),e=ant(),r=cit(),n=pot(),o=Est(),i=nut(),u=aot(),a=Sst(),s=wst(),c=mst(),l=TypeError,f=function(t,e){this.stopped=t,this.result=e},d=f.prototype;return clt=function(p,h,v){var g,y,m,b,E,w,S,C=v&&v.that,D=!(!v||!v.AS_ENTRIES),O=!(!v||!v.IS_RECORD),A=!(!v||!v.IS_ITERATOR),x=!(!v||!v.INTERRUPTED),T=t(h,C),N=function(t){return g&&c(g,"normal"),new f(!0,t)},k=function(t){return D?(r(t),x?T(t[0],t[1],N):T(t[0],t[1])):x?T(t,N):T(t)};if(O)g=p.iterator;else if(A)g=p;else{if(!(y=s(p)))throw new l(n(p)+" is not iterable");if(o(y)){for(m=0,b=i(p);b>m;m++)if((E=k(p[m]))&&u(d,E))return E;return new f(!1)}g=a(p,y)}for(w=O?p.next:g.next;!(S=e(w,g)).done;){try{E=k(S.value)}catch(t){c(g,"throw",t)}if("object"==typeof E&&E&&u(d,E))return E}return new f(!1)}}function Alt(){if(dlt)return flt;dlt=1;var t=aot(),e=TypeError;return flt=function(r,n){if(t(n,r))return r;throw new e("Incorrect invocation")}}function xlt(){if(hlt)return plt;hlt=1;var t=oot(),e=iot(),r=yct();return plt=function(n,o,i){var u,a;return r&&t(u=o.constructor)&&u!==i&&e(a=u.prototype)&&a!==i.prototype&&r(n,a),n}}function Tlt(){if(glt)return vlt;glt=1;var t=zut(),e=Krt(),r=Znt(),n=Mut(),o=Rit(),i=Dlt(),u=Olt(),a=Alt(),s=oot(),c=eot(),l=iot(),f=ont(),d=Cst(),p=vct(),h=xlt();return vlt=function(v,g,y){var m=-1!==v.indexOf("Map"),b=-1!==v.indexOf("Weak"),E=m?"set":"add",w=e[v],S=w&&w.prototype,C=w,D={},O=function(t){var e=r(S[t]);o(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!l(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(n(v,!s(w)||!(b||S.forEach&&!f(function(){(new w).entries().next()}))))C=y.getConstructor(g,v,m,E),i.enable();else if(n(v,!0)){var A=new C,x=A[E](b?{}:-0,1)!==A,T=f(function(){A.has(1)}),N=d(function(t){new w(t)}),k=!b&&f(function(){for(var t=new w,e=5;e--;)t[E](e,e);return!t.has(-0)});N||((C=g(function(t,e){a(t,S);var r=h(new w,t,C);return c(e)||u(e,r[E],{that:r,AS_ENTRIES:m}),r})).prototype=S,S.constructor=C),(T||k)&&(O("delete"),O("has"),m&&O("get")),(k||x)&&O(E),b&&S.clear&&delete S.clear}return D[v]=C,t({global:!0,constructor:!0,forced:C!==w},D),p(C,v),b||y.setStrong(C,v,m),C}}function Nlt(){if(mlt)return ylt;mlt=1;var t=Znt(),e=tlt(),r=Dlt().getWeakData,n=Alt(),o=cit(),i=eot(),u=iot(),a=Olt(),s=cat(),c=Wot(),l=Iit(),f=l.set,d=l.getterFor,p=s.find,h=s.findIndex,v=t([].splice),g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return p(t.entries,function(t){return t[0]===e})};return m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var r=b(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,function(e){return e[0]===t});return~e&&v(this.entries,e,1),!!~e}},ylt={getConstructor:function(t,s,l,p){var h=t(function(t,e){n(t,v),f(t,{type:s,id:g++,frozen:null}),i(e)||a(e,t[p],{that:t,AS_ENTRIES:l})}),v=h.prototype,m=d(s),b=function(t,e,n){var i=m(t),u=r(o(e),!0);return!0===u?y(i).set(e,n):u[i.id]=n,t};return e(v,{delete:function(t){var e=m(this);if(!u(t))return!1;var n=r(t);return!0===n?y(e).delete(t):n&&c(n,e.id)&&delete n[e.id]},has:function(t){var e=m(this);if(!u(t))return!1;var n=r(t);return!0===n?y(e).has(t):n&&c(n,e.id)}}),e(v,l?{get:function(t){var e=m(this);if(u(t)){var n=r(t);if(!0===n)return y(e).get(t);if(n)return n[e.id]}},set:function(t,e){return b(this,t,e)}}:{add:function(t){return b(this,t,!0)}}),h}},ylt}Elt||(Elt=1,function(){if(blt)return Zct;blt=1;var t,e=Qct(),r=Krt(),n=Znt(),o=tlt(),i=Dlt(),u=Tlt(),a=Nlt(),s=iot(),c=Iit().enforce,l=ont(),f=kit(),d=Object,p=Array.isArray,h=d.isExtensible,v=d.isFrozen,g=d.isSealed,y=d.freeze,m=d.seal,b=!r.ActiveXObject&&"ActiveXObject"in r,E=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},w=u("WeakMap",E,a),S=w.prototype,C=n(S.set);if(f)if(b){t=a.getConstructor(E,"WeakMap",!0),i.enable();var D=n(S.delete),O=n(S.has),A=n(S.get);o(S,{delete:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),D(this,e)||r.frozen.delete(e)}return D(this,e)},has:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),O(this,e)||r.frozen.has(e)}return O(this,e)},get:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),O(this,e)?A(this,e):r.frozen.get(e)}return A(this,e)},set:function(e,r){if(s(e)&&!h(e)){var n=c(this);n.frozen||(n.frozen=new t),O(this,e)?C(this,e,r):n.frozen.set(e,r)}else C(this,e,r);return this}})}else e&&l(function(){var t=y([]);return C(new w,t,1),!v(t)})&&o(S,{set:function(t,e){var r;return p(t)&&(v(t)?r=y:g(t)&&(r=m)),C(this,t,e),r&&r(t),this}})}());var klt,Plt={};!function(){if(klt)return Plt;klt=1;var t=Krt(),e=Tct(),r=Nct(),n=qct(),o=fit(),i=vct(),u=Kot()("iterator"),a=n.values,s=function(t,r){if(t){if(t[u]!==a)try{o(t,u,a)}catch(e){t[u]=a}if(i(t,r,!0),e[r])for(var s in n)if(t[s]!==n[s])try{o(t,s,n[s])}catch(e){t[s]=n[s]}}};for(var c in e)s(t[c]&&t[c].prototype,c);s(r,"DOMTokenList")}();var Blt,Ilt,Flt,Rlt,Llt,_lt,jlt,Mlt,zlt,Hlt,$lt,Ult=new WeakMap,Vlt=new WeakMap,Glt=function(){function t(){this.title=LF("tableModule.tableProperty"),this.iconSvg='<svg viewBox="0 0 20 20"><path d="M8 2v5h4V2h1v5h5v1h-5v4h.021l-.172.351-1.916.28-.151.027c-.287.063-.54.182-.755.341L8 13v5H7v-5H2v-1h5V8H2V7h5V2h1zm4 6H8v4h4V8z" opacity=".6"/><path d="m15.5 11.5 1.323 2.68 2.957.43-2.14 2.085.505 2.946L15.5 18.25l-2.645 1.39.505-2.945-2.14-2.086 2.957-.43L15.5 11.5zM17 1a2 2 0 0 1 2 2v9.475l-.85-.124-.857-1.736a2.048 2.048 0 0 0-.292-.44L17 3H3v14h7.808l.402.392L10.935 19H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h14z"/></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.menu="table",this.borderStyle=[{value:"none",label:LF("tableModule.borderStyle.none")},{value:"solid",label:LF("tableModule.borderStyle.solid")},{value:"dotted",label:LF("tableModule.borderStyle.dotted")},{value:"dashed",label:LF("tableModule.borderStyle.dashed")},{value:"double",label:LF("tableModule.borderStyle.double")},{value:"groove",label:LF("tableModule.borderStyle.groove")},{value:"ridge",label:LF("tableModule.borderStyle.ridge")},{value:"inset",label:LF("tableModule.borderStyle.inset")},{value:"outset",label:LF("tableModule.borderStyle.outset")}],this.textAlignOptions=[{value:"left",label:LF("justify.left"),svg:'<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>'},{value:"center",label:LF("justify.center"),svg:'<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>'},{value:"right",label:LF("justify.right"),svg:'<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>'},{value:"justify",label:LF("justify.justify"),svg:'<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>'}]}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==CB.getSelectedNodeByType(t,"table")},t.prototype.exec=function(t,e){},t.prototype.getModalContentNode=function(t){return mat(Kh.nodes(t,{match:Kat(t,"table")}),1)[0]},t.prototype.getModalPositionNode=function(t){return null},t.prototype.getModalContentElem=function(t){var e=this,r=this.getModalContentNode(t);if(!r)return null;var n=mat(r,2),o=n[0],i=n[1],u=og('<div>\n <label class="babel-container">\n <span>'.concat(LF("tableModule.modal.border"),'</span>\n <span class="babel-container-border">\n <select name="borderStyle">\n ').concat(this.borderStyle.map(function(t){return'<option value="'.concat(t.value,'">').concat(t.label,"</option>")}).join(""),'\n </select>\n <span class="color-group" data-mark="color">\n <span class="color-group-block"></span>\n <input name="borderColor" type="hidden">\n </span>\n <input name="borderWidth" type="number" placeholder="').concat(LF("tableModule.modal.borderWidth"),'">\n </span>\n </label>\n <div class="babel-container">\n <span>').concat(LF("tableModule.modal.bgColor"),'</span>\n <span class="babel-container-background">\n <span class="color-group" data-mark="bgColor">\n <span class="color-group-block"></span>\n <input name="backgroundColor" type="hidden">\n </span>\n </span>\n </div>\n <label class="babel-container">\n <span>').concat(LF("tableModule.modal.align"),'</span>\n <span class="babel-container-align">\n <select name="textAlign">\n ').concat(this.textAlignOptions.map(function(t){return'<option value="'.concat(t.value,'">').concat(t.label,"</option>")}).join(""),'\n </select>\n </span>\n </label>\n <div class="button-container">\n <button type="button">').concat(LF("tableModule.modal.ok"),"</button>\n </div>\n </div>"));u.find("[name]").each(function(t){og(t).val(o[og(t).attr("name")])});var a=function(t,e){e?og(".color-group-block",t).css("background-color",e).empty():og(".color-group-block",t).css("background-color","").html(kat)};return u.find(".color-group").each(function(r){var n=og('[type="hidden"]',r).val()||"";a(r,n);var o=og(r);o.on("click",function(){u.find(".color-group .w-e-drop-panel").hide();var i=o.data("panel");i?i.show():(i=e.getPanelContentElem(t,{mark:o.data("mark"),selectedColor:n,callback:function(t){og('[type="hidden"]',r).val(t||""),a(r,t),i.hide()}}),o.append(i),o.data("panel",i))})}),u.find("button").on("click",function(){var r=Array.from(u.find("[name]")).reduce(function(t,e){return t[og(e).attr("name")]=og(e).val(),t},{}),n=Ult.get(t);"cell"===e.menu&&(null==n?void 0:n.length)?n.forEach(function(e){e.forEach(function(e){zv.setNodes(t,r,{at:e[0][1]})})}):zv.setNodes(t,r,{at:i}),setTimeout(function(){t.focus()})}),u[0]},t.prototype.getPanelContentElem=function(t,e){var r=e.mark,n=e.selectedColor,o=e.callback,i=og('<ul class="w-e-panel-content-color"></ul>');i.on("click","li",function(t){var e=t.target;if(e){t.preventDefault(),t.stopPropagation();var r=og(e).attr("data-value");o(r)}});var u=t.getMenuConfig(r).colors;(void 0===u?[]:u).forEach(function(t){var e=og('<div class="color-block" data-value="'.concat(t,'"></div>'));e.css("background-color",t);var r=og('<li data-value="'.concat(t,'"></li>'));n===t&&r.addClass("active"),r.append(e),i.append(r)});var a="";"color"===r&&(a=LF("tableModule.color.default")),"bgColor"===r&&(a=LF("tableModule.color.clear"));var s=og('\n <li data-value="" class="clear">\n '.concat(kat,"\n ").concat(a,"\n </li>\n "));i.prepend(s);var c=og('<div class="w-e-drop-panel"></div>');return c.append(i),c},t}(),Wlt=function(t){function e(){var e=t.apply(this,bat([],mat(arguments),!1))||this;return e.title=LF("tableModule.cellProperty"),e.iconSvg='<svg viewBox="0 0 20 20"><path d="m11.105 18-.17 1H2.5A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1h15A1.5 1.5 0 0 1 19 2.5v9.975l-.85-.124-.15-.302V8h-5v4h.021l-.172.351-1.916.28-.151.027c-.287.063-.54.182-.755.341L8 13v5h3.105zM2 12h5V8H2v4zm10-4H8v4h4V8zM2 2v5h5V2H2zm0 16h5v-5H2v5zM13 7h5V2h-5v5zM8 2v5h4V2H8z" opacity=".6"/><path d="m15.5 11.5 1.323 2.68 2.957.43-2.14 2.085.505 2.946L15.5 18.25l-2.645 1.39.505-2.945-2.14-2.086 2.957-.43L15.5 11.5zM13 6a1 1 0 0 1 1 1v3.172a2.047 2.047 0 0 0-.293.443l-.858 1.736-1.916.28-.151.027A1.976 1.976 0 0 0 9.315 14H7a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm-1 2H8v4h4V8z"/></svg>',e.tag="button",e.showModal=!0,e.modalWidth=300,e.menu="cell",e}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}hat(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}(e,t),e.prototype.getModalContentNode=function(t){return mat(Kh.nodes(t,{match:Kat(t,"td")}),1)[0]},e}(Glt),qlt={};function Klt(){if(Ilt)return Blt;Ilt=1;var t=pot(),e=TypeError;return Blt=function(r,n){if(!delete r[n])throw new e("Cannot delete property "+t(n)+" of "+t(r))}}!function(){if($lt)return qlt;$lt=1;var t=zut(),e=Znt(),r=hot(),n=Got(),o=nut(),i=Klt(),u=Wat(),a=ont(),s=function(){if(Rlt)return Flt;Rlt=1;var t=Clt(),e=Math.floor,r=function(n,o){var i=n.length;if(i<8)for(var u,a,s=1;s<i;){for(a=s,u=n[s];a&&o(n[a-1],u)>0;)n[a]=n[--a];a!==s++&&(n[a]=u)}else for(var c=e(i/2),l=r(t(n,0,c),o),f=r(t(n,c),o),d=l.length,p=f.length,h=0,v=0;h<d||v<p;)n[h+v]=h<d&&v<p?o(l[h],f[v])<=0?l[h++]:f[v++]:h<d?l[h++]:f[v++];return n};return Flt=r}(),c=Qut(),l=function(){if(_lt)return Llt;_lt=1;var t=sot().match(/firefox\/(\d+)/i);return Llt=!!t&&+t[1]}(),f=function(){if(Mlt)return jlt;Mlt=1;var t=sot();return jlt=/MSIE|Trident/.test(t)}(),d=cot(),p=function(){if(Hlt)return zlt;Hlt=1;var t=sot().match(/AppleWebKit\/(\d+)\./);return zlt=!!t&&+t[1]}(),h=[],v=e(h.sort),g=e(h.push),y=a(function(){h.sort(void 0)}),m=a(function(){h.sort(null)}),b=c("sort"),E=!a(function(){if(d)return d<70;if(!(l&&l>3)){if(f)return!0;if(p)return p<603;var t,e,r,n,o="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)h.push({k:e+n,v:r})}for(h.sort(function(t,e){return e.v-t.v}),n=0;n<h.length;n++)e=h[n].k.charAt(0),o.charAt(o.length-1)!==e&&(o+=e);return"DGBEFHACIJK"!==o}});t({target:"Array",proto:!0,forced:y||!m||!b||!E},{sort:function(t){void 0!==t&&r(t);var e=n(this);if(E)return void 0===t?v(e):v(e,t);var a,c,l=[],f=o(e);for(c=0;c<f;c++)c in e&&g(l,e[c]);for(s(l,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:u(e)>u(r)?1:-1}}(t)),a=o(l),c=0;c<a;)e[c]=l[c++];for(;c<f;)i(e,c++);return e}})}();var Ylt,Xlt,Jlt,Zlt={};!function(){if(Jlt)return Zlt;Jlt=1;var t=zut(),e=Got(),r=eut(),n=tut(),o=nut(),i=function(){if(Xlt)return Ylt;Xlt=1;var t=int(),e=Hut(),r=TypeError,n=Object.getOwnPropertyDescriptor,o=t&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();return Ylt=o?function(t,o){if(e(t)&&!n(t,"length").writable)throw new r("Cannot set read only .length");return t.length=o}:function(t,e){return t.length=e}}(),u=$ut(),a=qut(),s=Uut(),c=Klt(),l=Kut()("splice"),f=Math.max,d=Math.min;t({target:"Array",proto:!0,forced:!l},{splice:function(t,l){var p,h,v,g,y,m,b=e(this),E=o(b),w=r(t,E),S=arguments.length;for(0===S?p=h=0:1===S?(p=0,h=E-w):(p=S-2,h=d(f(n(l),0),E-w)),u(E+p-h),v=a(b,h),g=0;g<h;g++)(y=w+g)in b&&s(v,g,b[y]);if(v.length=h,p<h){for(g=w;g<E-h;g++)m=g+p,(y=g+h)in b?b[m]=b[y]:c(b,m);for(g=E;g>E-h+p;g--)c(b,g-1)}else if(p>h)for(g=E-h;g>w;g--)m=g+p-1,(y=g+h-1)in b?b[m]=b[y]:c(b,m);for(g=0;g<p;g++)b[g+w]=arguments[g+2];return i(b,E-h+p),v}})}();var Qlt,tft,eft,rft,nft,oft,ift,uft,aft,sft,cft,lft,fft,dft={};function pft(){if(ift)return oft;ift=1;var t=Fit(),e=lit();return oft=function(r,n,o){return o.get&&t(o.get,n,{getter:!0}),o.set&&t(o.set,n,{setter:!0}),e.f(r,n,o)}}function hft(){if(cft)return sft;cft=1;var t=Fat(),e=pft(),r=tlt(),n=sat(),o=Alt(),i=eot(),u=Olt(),a=mct(),s=bct(),c=function(){if(aft)return uft;aft=1;var t=uot(),e=pft(),r=Kot(),n=int(),o=r("species");return uft=function(r){var i=t(r);n&&i&&!i[o]&&e(i,o,{configurable:!0,get:function(){return this}})}}(),l=int(),f=Dlt().fastKey,d=Iit(),p=d.set,h=d.getterFor;return sft={getConstructor:function(a,s,c,d){var v=a(function(e,r){o(e,g),p(e,{type:s,index:t(null),first:null,last:null,size:0}),l||(e.size=0),i(r)||u(r,e[d],{that:e,AS_ENTRIES:c})}),g=v.prototype,y=h(s),m=function(t,e,r){var n,o,i=y(t),u=b(t,e);return u?u.value=r:(i.last=u={index:o=f(e,!0),key:e,value:r,previous:n=i.last,next:null,removed:!1},i.first||(i.first=u),n&&(n.next=u),l?i.size++:t.size++,"F"!==o&&(i.index[o]=u)),t},b=function(t,e){var r,n=y(t),o=f(e);if("F"!==o)return n.index[o];for(r=n.first;r;r=r.next)if(r.key===e)return r};return r(g,{clear:function(){for(var e=y(this),r=e.first;r;)r.removed=!0,r.previous&&(r.previous=r.previous.next=null),r=r.next;e.first=e.last=null,e.index=t(null),l?e.size=0:this.size=0},delete:function(t){var e=this,r=y(e),n=b(e,t);if(n){var o=n.next,i=n.previous;delete r.index[n.index],n.removed=!0,i&&(i.next=o),o&&(o.previous=i),r.first===n&&(r.first=o),r.last===n&&(r.last=i),l?r.size--:e.size--}return!!n},forEach:function(t){for(var e,r=y(this),o=n(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(o(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!b(this,t)}}),r(g,c?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),l&&e(g,"size",{configurable:!0,get:function(){return y(this).size}}),v},setStrong:function(t,e,r){var n=e+" Iterator",o=h(e),i=h(n);a(t,e,function(t,e){p(this,{type:n,target:t,state:o(t),kind:e,last:null})},function(){for(var t=i(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?s("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=null,s(void 0,!0))},r?"entries":"values",!r,!0),c(e)}},sft}!function(){if(nft)return dft;nft=1;var t=zut(),e=Hot(),r=int(),n=Krt(),o=function(){if(tft)return Qlt;tft=1;var t=Krt();return Qlt=t}(),i=Znt(),u=Mut(),a=Wot(),s=xlt(),c=aot(),l=dot(),f=Yot(),d=ont(),p=aut().f,h=Qot().f,v=lit().f,g=function(){if(rft)return eft;rft=1;var t=Znt();return eft=t(1.1.valueOf)}(),y=Mct().trim,m="Number",b=n[m],E=o[m],w=b.prototype,S=n.TypeError,C=i("".slice),D=i("".charCodeAt),O=u(m,!b(" 0o1")||!b("0b1")||b("+0x1")),A=function(t){var e,r=arguments.length<1?0:b(function(t){var e=f(t,"number");return"bigint"==typeof e?e:function(t){var e,r,n,o,i,u,a,s,c=f(t,"number");if(l(c))throw new S("Cannot convert a Symbol value to a number");if("string"==typeof c&&c.length>2)if(c=y(c),43===(e=D(c,0))||45===e){if(88===(r=D(c,2))||120===r)return NaN}else if(48===e){switch(D(c,1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+c}for(u=(i=C(c,2)).length,a=0;a<u;a++)if((s=D(i,a))<48||s>o)return NaN;return parseInt(i,n)}return+c}(e)}(t));return c(w,e=this)&&d(function(){g(e)})?s(Object(r),this,A):r};A.prototype=w,O&&!e&&(w.constructor=A),t({global:!0,constructor:!0,wrap:!0,forced:O},{Number:A});var x=function(t,e){for(var n,o=r?p(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;o.length>i;i++)a(e,n=o[i])&&!a(t,n)&&v(t,n,h(e,n))};e&&E&&x(o[m],E),(O||e)&&x(o[m],b)}(),fft||(fft=1,lft||(lft=1,Tlt()("Set",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},hft())));var vft=function(){function t(){this.title=LF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!dv.isCollapsed(e)||null==CB.getSelectedNodeByType(t,"table-cell")},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var r=mat(Kh.nodes(t,{match:function(t){return CB.checkNodeType(t,"table-cell")},universal:!0}),1),n=mat(r[0],2),o=n[0],i=n[1],u=CB.getParentNode(t,o),a=(null==u?void 0:u.children.length)||0;if(!u||a<=1)zv.removeNodes(t,{mode:"highest"});else if(null!=CB.getParentNode(t,u)){var s=Xat(t),c=0;t:for(var l=0;l<s.length;l+=1)for(var f=0;f<s[l].length;f+=1){var d=mat(s[l][f],1),p=mat(d[0],2)[1];if(ov.equals(i,p)){c=f;break t}}Kh.withoutNormalizing(t,function(){for(var e,r,n=new Set,o=new Set,i=0;i<s.length;i+=1)if(s[i]&&s[i][c]){var u=mat(s[i][c],2),a=mat(u[0],2)[1],l=u[1],f=l.rtl,d=l.ltr,p=l.ttb,h=l.btt,v=a.join(",");if(f>1||d>1||p>1||h>1){var g=i-(p-1),y=c-(f-1);if(g<0||g>=s.length||!s[g]||!s[g][y])continue;var m=mat(s[g][y],1),b=mat(m[0],2),E=b[0],w=b[1],S=w.join(",");if(!o.has(S)){o.add(S);var C=E.rowSpan,D=void 0===C?1:C,O=E.colSpan,A=void 0===O?1:O,x=Math.max(A-1,1);zv.setNodes(t,{rowSpan:D,colSpan:x},{at:w})}}else n.add(v)}var T=Array.from(n);T.sort(function(t,e){var r=t.split(",").map(Number),n=e.split(",").map(Number);return r[r.length-2]!==n[n.length-2]?n[n.length-2]-r[r.length-2]:n[n.length-1]-r[r.length-1]});try{for(var N=yat(T),k=N.next();!k.done;k=N.next()){var P=k.value.split(",").map(Number);try{Kh.hasPath(t,P)&&zv.removeNodes(t,{at:P})}catch(t){console.warn("删除单元格失败:",P,t)}}}catch(t){e={error:t}}finally{try{k&&!k.done&&(r=N.return)&&r.call(N)}finally{if(e)throw e.error}}var B=mat(Kh.nodes(t,{match:function(t){return CB.checkNodeType(t,"table")},universal:!0}),1)[0];if(B){var I=mat(B,2),F=I[0],R=I[1],L=F.columnWidths,_=bat([],mat(void 0===L?[]:L),!1);_.splice(c,1),zv.setNodes(t,{columnWidths:_},{at:R})}})}}},t}(),gft=function(){function t(){this.title=LF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!dv.isCollapsed(e)||null==CB.getSelectedNodeByType(t,"table-row")},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var r=mat(Kh.nodes(t,{match:function(t){return CB.checkNodeType(t,"table-row")},universal:!0}),1),n=mat(r[0],2),o=n[0],i=n[1],u=CB.getParentNode(t,o);if(((null==u?void 0:u.children.length)||0)<=1)zv.removeNodes(t,{mode:"highest"});else{var a=mat(Kh.nodes(t,{match:function(t){return CB.checkNodeType(t,"table-cell")},universal:!0}),1),s=mat(a[0],2)[1],c=Xat(t),l=0;t:for(var f=0;f<c.length;f+=1)for(var d=0;d<c[f].length;d+=1){var p=mat(c[f][d],1),h=mat(p[0],2)[1];if(ov.equals(s,h)){l=f;break t}}Kh.withoutNormalizing(t,function(){for(var e,r,n=[],o=0;o<c[l].length;o+=1){var u=mat(c[l][o],2),a=mat(u[0],1)[0].hidden,s=u[1],f=s.ttb,d=s.btt,p=s.rtl;if(f>1||d>1){var h=l-(f-1);if(h<0||h>=c.length||!c[h]||!c[h][o])continue;var v=mat(c[h][o],1),g=mat(v[0],2),y=g[0],m=g[1],b=y,E=b.rowSpan,w=void 0===E?1:E,S=b.colSpan,C=void 0===S?1:S;if(a)zv.setNodes(t,{rowSpan:Math.max(w-1,1),colSpan:C},{at:m});else if(1===f&&1===p)if(l+1<c.length&&w>1){var D={type:"table-cell",rowSpan:w-1,colSpan:C,hidden:!1,children:b.children.map(function(t){return vat({},t)})};b.isHeader&&(D.isHeader=b.isHeader),b.width&&(D.width=b.width),b.backgroundColor&&(D.backgroundColor=b.backgroundColor),b.borderWidth&&(D.borderWidth=b.borderWidth),b.borderStyle&&(D.borderStyle=b.borderStyle),b.borderColor&&(D.borderColor=b.borderColor),b.textAlign&&(D.textAlign=b.textAlign),n.push({cell:D,columnIndex:o})}else zv.setNodes(t,{rowSpan:Math.max(w-1,1),colSpan:C},{at:m});else zv.setNodes(t,{rowSpan:Math.max(w-1,1),colSpan:C},{at:m})}}if(zv.removeNodes(t,{at:i}),n.length>0){var O=i;try{n.sort(function(t,e){return t.columnIndex-e.columnIndex});try{for(var A=yat(n),x=A.next();!x.done;x=A.next()){var T=x.value,N=T.cell,k=T.columnIndex;try{var P=bat(bat([],mat(O),!1),[k],!1);zv.insertNodes(t,N,{at:P})}catch(e){try{var B=mat(Kh.node(t,O),1)[0].children.length,I=bat(bat([],mat(O),!1),[B],!1);zv.insertNodes(t,N,{at:I})}catch(t){console.warn("插入新单元格失败:",t)}}}}catch(t){e={error:t}}finally{try{x&&!x.done&&(r=A.return)&&r.call(A)}finally{if(e)throw e.error}}}catch(t){console.warn("插入新单元格失败:",t)}}})}}},t}(),yft=function(){function t(){this.title=LF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return null==t.selection||null==CB.getSelectedNodeByType(t,"table")},t.prototype.exec=function(t,e){this.isDisabled(t)||zv.removeNodes(t,{mode:"highest"})},t}(),mft=function(){function t(){this.title=LF("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(t){var e=CB.getSelectedNodeByType(t,"table");return!!e&&("100%"===e.width||"auto"===e.width)},t.prototype.isActive=function(t){return!!this.getValue(t)},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!dv.isCollapsed(e)||null==CB.getSelectedNodeByType(t,"table")},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var r={width:e?"auto":"100%"};zv.setNodes(t,r,{mode:"highest"})}},t}();function bft(t){var e=t.children||[];return 0===e.length?[]:(e[0]||{}).children||[]}function Eft(t){return bft(t).every(function(t){return!!t.isHeader})}var wft,Sft,Cft,Dft=function(){function t(){this.title=LF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=t.selection;if(null==e)return!0;if(!dv.isCollapsed(e))return!0;var r=CB.getSelectedNodeByType(t,"table");if(null==r)return!0;try{var n=mat(Kh.nodes(t,{match:function(t){return CB.checkNodeType(t,"table-cell")},universal:!0}),1)[0];if(!n)return!0;for(var o=mat(n,2)[1],i=Xat(t),u=-1,a=0;a<i.length;a+=1){for(var s=0;s<i[a].length;s+=1){var c=mat(i[a][s],1),l=mat(c[0],2)[1];if(ov.equals(o,l)){u=s;break}}if(-1!==u)break}if(-1===u)return!0;var f=r.columnWidths,d=(void 0===f?[]:f)[u];if(d&&d<20)return!0}catch(t){return!0}return!1},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var r=mat(Kh.nodes(t,{match:function(t){return CB.checkNodeType(t,"table-cell")},universal:!0}),1),n=mat(r[0],2),o=n[0],i=n[1],u=CB.getParentNode(t,o);if(null!=u){var a=CB.getParentNode(t,u);if(null!=a){for(var s=Xat(t),c=0,l=0;l<s.length;l+=1)for(var f=0;f<s[l].length;f+=1){var d=mat(s[l][f],1),p=mat(d[0],2)[1];if(ov.equals(i,p)){c=f;break}}Kh.withoutNormalizing(t,function(){for(var e=new Set,r=new Set,n=0;n<s.length;n+=1)if(s[n]&&s[n][c]){var o=mat(s[n][c],2);mat(o[0],1);var i=o[1],u=i.rtl,l=i.ltr,f=i.ttb,d=i.btt;if(u>1||l>1||f>1||d>1){var p=n-(f-1),h=c-(u-1);if(p<0||p>=s.length||!s[p]||!s[p][h])continue;var v=mat(s[p][h],1),g=mat(v[0],2),y=g[0],m=g[1],b=m.join(",");if(e.has(b))r.add(n);else{e.add(b);var E=y.rowSpan,w=void 0===E?1:E,S=y.colSpan,C=(void 0===S?1:S)+1;y.hidden||zv.setNodes(t,{colSpan:C},{at:m});for(var D=0;D<w;D+=1)r.add(p+D)}}}for(n=0;n<s.length;n+=1)if(!r.has(n)&&s[n]&&s[n][c]){var O={type:"table-cell",children:[{text:""}]};0===n&&Eft(a)&&(O.isHeader=!0);var A=mat(s[n][c],1),x=mat(A[0],2)[1];zv.insertNodes(t,O,{at:x})}var T=mat(Kh.nodes(t,{match:function(t){return CB.checkNodeType(t,"table")},universal:!0}),1)[0];if(T){var N=mat(T,2),k=N[0],P=N[1],B=k.columnWidths,I=void 0===B?[]:B,F=bat([],mat(I),!1),R=t.getMenuConfig("insertTable").minWidth,L=void 0===R?60:R,_=I[c]||parseInt(L,10)||60,j=Math.floor(_/2),M=_-j;F.splice(c,0,j),F[c+1]=M,zv.setNodes(t,{columnWidths:F},{at:P})}})}}}},t}(),Oft=function(){function t(){this.title=LF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!dv.isCollapsed(e)||null==CB.getSelectedNodeByType(t,"table")},t.prototype.exec=function(t,e){var r;if(!this.isDisabled(t)){var n=mat(Kh.nodes(t,{match:function(t){return CB.checkNodeType(t,"table-cell")},universal:!0}),1),o=mat(n[0],2)[1],i=Xat(t),u=0;t:for(var a=0;a<i.length;a+=1)for(var s=0;s<i[a].length;s+=1){var c=mat(i[a][s],1),l=mat(c[0],2)[1];if(ov.equals(o,l)){u=a;break t}}var f=(null===(r=i[u])||void 0===r?void 0:r.length)||0;0!==f&&Kh.withoutNormalizing(t,function(){for(var e=u+1,r=e>=0&&e<i.length,n=[],a=0;r&&a<i[u].length;a+=1){var s=mat(i[u][a],2)[1],c=s.ttb,l=s.btt;if(c>1||l>1){var d=u-(c-1);if(d<0||d>=i.length||!i[d]||!i[d][a])continue;var p=mat(i[d][a],1),h=mat(p[0],2),v=h[0],g=h[1],y=v.rowSpan||1;n.push(a),v.hidden||zv.setNodes(t,{rowSpan:y+1},{at:g})}}for(var m={type:"table-row",children:[]},b=0;b<f;b+=1)n.includes(b)||m.children.push({type:"table-cell",children:[{text:""}]});var E=ov.parent(o),w=ov.next(E);zv.insertNodes(t,m,{at:w})})}},t}(),Aft={};!function(){if(Cft)return Aft;Cft=1;var t=zut(),e=function(){if(Sft)return wft;Sft=1;var t=Got(),e=eut(),r=nut();return wft=function(n){for(var o=t(this),i=r(o),u=arguments.length,a=e(u>1?arguments[1]:void 0,i),s=u>2?arguments[2]:void 0,c=void 0===s?i:e(s,i);c>a;)o[a++]=n;return o},wft}(),r=Rat();t({target:"Array",proto:!0},{fill:e}),r("fill")}();var xft,Tft,Nft,kft,Pft,Bft={};function Ift(){if(kft)return Nft;kft=1;var t=ant(),e=Wot(),r=aot(),n=function(){if(Tft)return xft;Tft=1;var t=Krt(),e=ont(),r=t.RegExp,n=!e(function(){var t=!0;try{r(".","d")}catch(e){t=!1}var e={},n="",o=t?"dgimsy":"gimsy",i=function(t,r){Object.defineProperty(e,t,{get:function(){return n+=r,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(e)!==o||n!==o});return xft={correct:n}}(),o=Lst(),i=RegExp.prototype;return Nft=n.correct?function(t){return t.flags}:function(u){return n.correct||!r(i,u)||e(u,"flags")?u.flags:t(o,u)}}!function(){if(Pft)return Bft;Pft=1;var t=Tit().PROPER,e=Rit(),r=cit(),n=Wat(),o=ont(),i=Ift(),u="toString",a=RegExp.prototype,s=a[u],c=o(function(){return"/a/b"!==s.call({source:"a",flags:"b"})}),l=t&&s.name!==u;(c||l)&&e(a,u,function(){var t=r(this);return"/"+n(t.source)+"/"+n(i(t))},{unsafe:!0})}();var Fft,Rft,Lft=function(){function t(){this.title=LF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!dv.isCollapsed(e)||!!CB.getSelectedElems(t).some(function(e){var r=CB.getNodeType(e);return"pre"===r||"table"===r||"list-item"===r||!!t.isVoid(e)})},t.prototype.getPanelContentElem=function(t){var e=this;if(this.$content)return this.$content[0];for(var r=og('<div class="w-e-panel-content-table"></div>'),n=og("<span>0 × 0</span>"),o=og("<table></table>"),i=0;i<10;i+=1){for(var u=og("<tr></tr>"),a=0;a<10;a+=1){var s=og("<td></td>");s.attr("data-x",a.toString()),s.attr("data-y",i.toString()),u.append(s),s.on("mouseenter",function(t){var e=t.target;if(null!=e){var r=og(e).dataset(),i=r.x,u=r.y;n[0].innerHTML="".concat(i+1," × ").concat(u+1),o.children().each(function(t){og(t).children().each(function(t){var e=og(t),r=e.dataset(),n=r.x,o=r.y;n<=i&&o<=u?e.addClass("active"):e.removeClass("active")})})}}),s.on("click",function(r){r.preventDefault();var n=r.target;if(null!=n){var o=og(n).dataset(),i=o.x,u=o.y;e.insertTable(t,u+1,i+1)}})}o.append(u)}return r.append(o),r.append(n),this.$content=r,r[0]},t.prototype.insertTable=function(t,e,r){var n=parseInt(e,10),o=parseInt(r,10);if(n&&o&&!(n<=0||o<=0)){CB.isSelectedEmptyParagraph(t)&&zv.removeNodes(t,{mode:"highest"}),0===t.children.length&&zv.insertNodes(t,{type:"paragraph",children:[{text:""}]},{mode:"highest"});var i=function(t,e,r){for(var n,o=[],i=t.getMenuConfig("insertTable"),u=i.minWidth,a=void 0===u?60:u,s=i.tableFullWidth,c=i.tableHeader,l=Array(r).fill(parseInt(a,10)||60),f=0;f<e;f+=1){for(var d=[],p=0;p<r;p+=1){var h={type:"table-cell",children:[{text:""}]};0===f&&(h.isHeader=null===(n=null==c?void 0:c.selected)||void 0===n||n),d.push(h)}o.push({type:"table-row",children:d})}return{type:"table",width:(null==s?void 0:s.selected)?"100%":"auto",children:o,columnWidths:l}}(t,n,o);zv.insertNodes(t,i,{mode:"highest"})}},t}();Rft||(Rft=1,Fft||(Fft=1,Tlt()("Map",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},hft())));var _ft,jft={isInTable:function(t,e){return void 0===e&&(e={}),!!mat(Kh.nodes(t,{match:Kat(t,"table"),at:e.at}),1)[0]},selection:function(t){var e,r,n,o,i,u,a,s;return gat(this,function(c){switch(c.label){case 0:e=Ult.get(t),r=0,c.label=1;case 1:if(!(e&&r<e.length))return[3,4];for(n=[],o=0;o<e[r].length;o+=1)i=mat(e[r][o],2),u=i[0],a=i[1],s=a.ltr,1===a.ttb&&n.push(u),o+=s-1;return[4,n];case 2:c.sent(),c.label=3;case 3:return r+=1,[3,1];case 4:return[2]}})},unselect:function(t){Vlt.delete(t),Ult.delete(t)},isSelected:function(t,e){var r=Vlt.get(t);return!!r&&r.has(e)}},Mft=function(){function t(){this.title=LF("tableModule.mergeCell"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M482.2 508.4 331.3 389c-3-2.4-7.3-.2-7.3 3.6V478H184V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H144c-15.5 0-28 12.5-28 28v736c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v128H184V546h140v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4c2.4-1.8 2.4-5.4 0-7.2zM880 116H596c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H700v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4c-2.3 1.8-2.3 5.3 0 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h140v294H636V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v168c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V144c0-15.5-12.5-28-28-28z"/></svg>',this.tag="button"}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return!this.canMerge(t)},t.prototype.exec=function(t,e){this.isDisabled(t)||(this.merge(t),jft.unselect(t))},t.prototype.canMerge=function(t){var e=Ult.get(t);if(!e||!e.length)return!1;var r=mat(e[e.length-1][e[e.length-1].length-1],1),n=mat(r[0],2)[1],o=mat(e[0][0],1);return!!Yat(t,[mat(o[0],2)[1],n],"table")},t.prototype.merge=function(t){if(this.canMerge(t)){var e=Ult.get(t);if(e&&e.length){var r=mat(e[0][0],1),n=mat(r[0],2)[1],o=mat(tv.children(t,n,{reverse:!0}),1),i=mat(o[0],2)[1];Kh.withoutNormalizing(t,function(){for(var r,o,u,a,s,c,l=new Map,f=[],d=1/0,p=-1/0,h=1/0,v=-1/0,g=0;g<e.length;g+=1)for(var y=0;y<e[g].length;y+=1){var m=mat(e[g][y],2),b=mat(m[0],2),E=b[0],w=b[1],S=m[1].ttb,C=w.join(",");if(1===S&&!l.has(C)){l.set(C,{path:w,x:g,y:y,element:E});var D=E.rowSpan,O=void 0===D?1:D,A=E.colSpan,x=g,T=g+O-1,N=y,k=y+(void 0===A?1:A)-1;d=Math.min(d,x),p=Math.max(p,T),h=Math.min(h,N),v=Math.max(v,k)}}var P=p-d+1,B=v-h+1;try{for(var I=yat(l),F=I.next();!F.done;F=I.next())w=mat(F.value,2)[1].path,ov.equals(n,w)||f.push(w)}catch(t){r={error:t}}finally{try{F&&!F.done&&(o=I.return)&&o.call(I)}finally{if(r)throw r.error}}f.sort(function(t,e){for(var r=0;r<Math.min(t.length,e.length);r+=1)if(t[r]!==e[r])return e[r]-t[r];return e.length-t.length});try{for(var R=yat(f),L=R.next();!L.done;L=R.next()){w=L.value;try{if(!Kh.hasPath(t,w))continue;try{for(var _=(s=void 0,yat(tv.children(t,w,{reverse:!0}))),j=_.next();!j.done;j=_.next()){var M=mat(j.value,2)[1];zv.moveNodes(t,{to:ov.next(i),at:M})}}catch(t){s={error:t}}finally{try{j&&!j.done&&(c=_.return)&&c.call(_)}finally{if(s)throw s.error}}zv.removeNodes(t,{at:w})}catch(t){}}}catch(t){u={error:t}}finally{try{L&&!L.done&&(a=R.return)&&a.call(R)}finally{if(u)throw u.error}}zv.setNodes(t,{rowSpan:P,colSpan:B},{at:n})})}}},t}(),zft={};!function(){if(_ft)return zft;_ft=1;var t=zut(),e=Hut(),r=Wut(),n=iot(),o=eut(),i=nut(),u=not(),a=Uut(),s=Kot(),c=Kut(),l=Clt(),f=c("slice"),d=s("species"),p=Array,h=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,s){var c,f,v,g=u(this),y=i(g),m=o(t,y),b=o(void 0===s?y:s,y);if(e(g)&&(c=g.constructor,(r(c)&&(c===p||e(c.prototype))||n(c)&&null===(c=c[d]))&&(c=void 0),c===p||void 0===c))return l(g,m,b);for(f=new(void 0===c?p:c)(h(b-m,0)),v=0;m<b;m++,v++)m in g&&a(f,v,g[m]);return f.length=v,f}})}();var Hft,$ft,Uft,Vft,Gft,Wft,qft,Kft,Yft,Xft,Jft,Zft={};function Qft(){if($ft)return Hft;$ft=1,Mst();var t=ant(),e=Rit(),r=jst(),n=ont(),o=Kot(),i=fit(),u=o("species"),a=RegExp.prototype;return Hft=function(s,c,l,f){var d=o(s),p=!n(function(){var t={};return t[d]=function(){return 7},7!==""[s](t)}),h=p&&!n(function(){var t=!1,e=/a/;return"split"===s&&((e={}).constructor={},e.constructor[u]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return t=!0,null},e[d](""),!t});if(!p||!h||l){var v=/./[d],g=c(d,""[s],function(e,n,o,i,u){var s=n.exec;return s===r||s===a.exec?p&&!u?{done:!0,value:t(v,n,o,i)}:{done:!0,value:t(e,o,n,i)}:{done:!1}});e(String.prototype,s,g[0]),e(a,d,g[1])}f&&i(a[d],"sham",!0)}}function tdt(){if(Wft)return Gft;Wft=1;var t=cit(),e=function(){if(Vft)return Uft;Vft=1;var t=Wut(),e=pot(),r=TypeError;return Uft=function(n){if(t(n))return n;throw new r(e(n)+" is not a constructor")}}(),r=eot(),n=Kot()("species");return Gft=function(o,i){var u,a=t(o).constructor;return void 0===a||r(u=t(a)[n])?i:e(u)}}function edt(){if(Kft)return qft;Kft=1;var t=dct().charAt;return qft=function(e,r,n){return r+(n?t(e,r).length:1)}}function rdt(){if(Xft)return Yft;Xft=1;var t=ant(),e=cit(),r=oot(),n=Qnt(),o=jst(),i=TypeError;return Yft=function(u,a){var s=u.exec;if(r(s)){var c=t(s,u,a);return null!==c&&e(c),c}if("RegExp"===n(u))return t(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}!function(){if(Jft)return Zft;Jft=1;var t=ant(),e=Znt(),r=Qft(),n=cit(),o=iot(),i=rot(),u=tdt(),a=edt(),s=rut(),c=Wat(),l=vot(),f=rdt(),d=_st(),p=ont(),h=d.UNSUPPORTED_Y,v=Math.min,g=e([].push),y=e("".slice),m=!p(function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var r="ab".split(t);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}),b="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;r("split",function(e,r,d){var p="0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t(r,this,e,n)}:r;return[function(r,n){var u=i(this),a=o(r)?l(r,e):void 0;return a?t(a,r,u,n):t(p,c(u),r,n)},function(t,e){var o=n(this),i=c(t);if(!b){var l=d(p,o,i,e,p!==r);if(l.done)return l.value}var m=u(o,RegExp),E=o.unicode,w=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(h?"g":"y"),S=new m(h?"^(?:"+o.source+")":o,w),C=void 0===e?4294967295:e>>>0;if(0===C)return[];if(0===i.length)return null===f(S,i)?[i]:[];for(var D=0,O=0,A=[];O<i.length;){S.lastIndex=h?0:O;var x,T=f(S,h?y(i,O):i);if(null===T||(x=v(s(S.lastIndex+(h?O:0)),i.length))===D)O=a(i,O,E);else{if(g(A,y(i,D,O)),A.length===C)return A;for(var N=1;N<=T.length-1;N++)if(g(A,T[N]),A.length===C)return A;O=D=x}}return g(A,y(i,D)),A}]},b||!m,h)}();var ndt,odt=function(){function t(){this.title=LF("tableModule.splitCell"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M362.667 494.933v53.334l25.6-25.6zm0-241.066L460.8 352V78.933H57.6v98.134h305.067zm0 535.466v57.6H57.6v98.134h403.2V691.2zM661.333 494.933v53.334l-25.6-25.6zm0-241.066L563.2 352V78.933h403.2v98.134H661.333zm0 535.466v57.6H966.4v98.134H563.2V691.2z"/><path d="M753.067 341.333 693.333 281.6 512 460.8 330.667 281.6l-59.734 59.733 181.334 181.334L270.933 704l59.734 59.733L512 582.4l181.333 181.333L753.067 704 571.733 522.667z"/></svg>',this.tag="button"}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){var e=mat(Kh.nodes(t,{match:function(t){return CB.checkNodeType(t,"table-cell")}}),1)[0];if(!e)return!0;var r=mat(e,1)[0],n=r.rowSpan,o=void 0===n?1:n,i=r.colSpan;return!(o>1||(void 0===i?1:i)>1)},t.prototype.exec=function(t,e){this.isDisabled(t)||this.split(t)},t.prototype.split=function(t,e){void 0===e&&(e={});var r=mat(Kh.nodes(t,{match:Kat(t,"table","th","td"),at:e.at}),2),n=r[0],o=r[1];if(n&&o){var i=Eft(mat(n,1)[0]),u=mat(o,2),a=u[0],s=u[1],c=a.rowSpan,l=void 0===c?1:c,f=a.colSpan,d=void 0===f?1:f;1===l&&1===d||Kh.withoutNormalizing(t,function(){zv.setNodes(t,{rowSpan:1,colSpan:1},{at:s});for(var e=1;e<d;e+=1){var r={type:"table-cell",children:[{text:""}]};0===s[s.length-2]&&i&&(r.isHeader=!0);var n=s.slice(0,-1),o=s[s.length-1]+e,u=bat(bat([],mat(n),!1),[o],!1);try{zv.insertNodes(t,r,{at:u})}catch(e){try{var a=mat(Kh.node(t,n),1)[0].children.length,c=bat(bat([],mat(n),!1),[a],!1);zv.insertNodes(t,r,{at:c})}catch(t){console.warn("插入同行单元格失败: ".concat(t instanceof Error?t.message:String(t)))}}}for(var f=1;f<l;f+=1){var p=s[s.length-2]+f,h=bat(bat([],mat(s.slice(0,-2)),!1),[p],!1);try{var v=mat(Kh.node(t,h),1)[0];if(!v){console.warn("目标行 ".concat(p," 不存在"));continue}for(e=0;e<d;e+=1){r={type:"table-cell",children:[{text:""}]},o=s[s.length-1]+e,u=bat(bat([],mat(h),!1),[o],!1);try{var g=v.children.length;if(o>=g){var y=bat(bat([],mat(h),!1),[g],!1);zv.insertNodes(t,r,{at:y})}else zv.insertNodes(t,r,{at:u})}catch(e){try{var m=v.children.length;c=bat(bat([],mat(h),!1),[m],!1),zv.insertNodes(t,r,{at:c})}catch(t){console.warn("插入单元格到第".concat(f,"行失败: ").concat(t instanceof Error?t.message:String(t)))}}}}catch(t){console.warn("处理第".concat(f,"行时出错: ").concat(t instanceof Error?t.message:String(t)))}}})}},t}(),idt=function(){function t(){this.title=LF("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(t){var e=CB.getSelectedNodeByType(t,"table");return null!=e&&Eft(e)},t.prototype.isActive=function(t){return!!this.getValue(t)},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!dv.isCollapsed(e)||null==CB.getSelectedNodeByType(t,"table")},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var r=!e,n=CB.getSelectedNodeByType(t,"table");null!=n&&bft(n).forEach(function(e){return zv.setNodes(t,{isHeader:r},{at:CB.findPath(t,e)})})}},t}(),udt={key:"insertTable",factory:function(){return new Lft}},adt={key:"deleteTable",factory:function(){return new yft}},sdt={key:"insertTableRow",factory:function(){return new Oft}},cdt={key:"deleteTableRow",factory:function(){return new gft}},ldt={key:"insertTableCol",factory:function(){return new Dft}},fdt={key:"deleteTableCol",factory:function(){return new vft}},ddt={key:"tableHeader",factory:function(){return new idt}},pdt={key:"tableFullWidth",factory:function(){return new mft}},hdt={key:"mergeTableCell",factory:function(){return new Mft}},vdt={key:"splitTableCell",factory:function(){return new odt}},gdt={key:"setTableProperty",factory:function(){return new Glt}},ydt={key:"setTableCellProperty",factory:function(){return new Wlt}},mdt={};!function(){if(ndt)return mdt;ndt=1;var t=zut(),e=cat().filter;t({target:"Array",proto:!0,forced:!Kut()("filter")},{filter:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var bdt,Edt,wdt,Sdt,Cdt,Ddt={};!function(){if(Cdt)return Ddt;Cdt=1;var t=function(){if(Edt)return bdt;Edt=1;var t=unt(),e=Function.prototype,r=e.apply,n=e.call;return bdt="object"==typeof Reflect&&Reflect.apply||(t?n.bind(r):function(){return n.apply(r,arguments)}),bdt}(),e=ant(),r=Znt(),n=Qft(),o=ont(),i=cit(),u=oot(),a=iot(),s=tut(),c=rut(),l=Wat(),f=rot(),d=edt(),p=vot(),h=function(){if(Sdt)return wdt;Sdt=1;var t=Znt(),e=Got(),r=Math.floor,n=t("".charAt),o=t("".replace),i=t("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return wdt=function(t,s,c,l,f,d){var p=c+t.length,h=l.length,v=a;return void 0!==f&&(f=e(f),v=u),o(d,v,function(e,o){var u;switch(n(o,0)){case"$":return"$";case"&":return t;case"`":return i(s,0,c);case"'":return i(s,p);case"<":u=f[i(o,1,-1)];break;default:var a=+o;if(0===a)return e;if(a>h){var d=r(a/10);return 0===d?e:d<=h?void 0===l[d-1]?n(o,1):l[d-1]+n(o,1):e}u=l[a-1]}return void 0===u?"":u})}}(),v=Ift(),g=rdt(),y=Kot()("replace"),m=Math.max,b=Math.min,E=r([].concat),w=r([].push),S=r("".indexOf),C=r("".slice),D=function(t){return void 0===t?t:String(t)},O="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");n("replace",function(r,n,o){var O=A?"$":"$0";return[function(t,r){var o=f(this),i=a(t)?p(t,y):void 0;return i?e(i,t,o,r):e(n,l(o),t,r)},function(e,r){var a=i(this),f=l(e);if("string"==typeof r&&-1===S(r,O)&&-1===S(r,"$<")){var p=o(n,a,f,r);if(p.done)return p.value}var y=u(r);y||(r=l(r));var A,x=l(v(a)),T=-1!==S(x,"g");T&&(A=-1!==S(x,"u"),a.lastIndex=0);for(var N,k=[];null!==(N=g(a,f))&&(w(k,N),T);)""===l(N[0])&&(a.lastIndex=d(f,c(a.lastIndex),A));for(var P="",B=0,I=0;I<k.length;I++){for(var F,R=l((N=k[I])[0]),L=m(b(s(N.index),f.length),0),_=[],j=1;j<N.length;j++)w(_,D(N[j]));var M=N.groups;if(y){var z=E([R],_,L,f);void 0!==M&&w(z,M),F=l(t(r,void 0,z))}else F=h(R,f,L,_,M,r);L>=B&&(P+=C(f,B,L)+F,B=L+R.length)}return P+C(f,B)}]},!!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!O||A)}();var Odt,Adt,xdt,Tdt,Ndt,kdt,Pdt,Bdt,Idt={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n=og(t);0===(e=e.filter(function(t){return"paragraph"===CB.getNodeType(t)||!!wv.isText(t)||!!r.isInline(t)})).length&&(e=[{text:n.text().replace(/\s+/gm," ")}]);var o=parseInt(n.attr("colSpan")||"1",10),i=parseInt(n.attr("rowSpan")||"1",10),u="none"===Wct(n,"display"),a=n.attr("width")||"auto";return{type:"table-cell",isHeader:"th"===Gct(n),colSpan:o,rowSpan:i,width:a,children:e,hidden:u}}},Fdt={selector:"tr:not([data-w-e-type])",parseElemHtml:function(t,e,r){for(var n=[],o=0;o<e.length;o+=1){var i=e[o];if("table-cell"===CB.getNodeType(i)){var u=i;if(u.hidden)continue;n.push(u)}}return{type:"table-row",children:n}}},Rdt={selector:"table:not([data-w-e-type])",parseElemHtml:function(t,e,r){var n,o,i=og(t),u="auto";"100%"===Wct(i,"width")&&(u="100%"),"100%"===i.attr("width")&&(u="100%");var a={type:"table",width:u,height:parseInt(Wct(i,"height")||"0",10),children:e.filter(function(t){return"table-row"===CB.getNodeType(t)})},s=(null===(n=i.find("tr")[0])||void 0===n?void 0:n.children)||[],c=(null===(o=i.find("colgroup")[0])||void 0===o?void 0:o.children)||null,l=e[e.length-1].children.length;if(c&&c.length===l)a.columnWidths=Array.from(c).map(function(t){return parseInt(t.getAttribute("width"),10)});else if(s.length>0){var f=[];Array.from(s).forEach(function(t){var e=parseInt(og(t).attr("colSpan")||"1",10),r=parseInt(Wct(og(t),"width")||"90",10);f.push(r);for(var n=1;n<e;n+=1)f.push(90)}),a.columnWidths=f}return a}},Ldt=null===(Odt=null===window||void 0===window?void 0:window.getComputedStyle(document.documentElement))||void 0===Odt?void 0:Odt.getPropertyValue("--w-e-textarea-border-color"),_dt={};function jdt(t){var e=t.selection;if(null==e)return!1;var r=mat(Kh.nodes(t,{match:function(t){return CB.checkNodeType(t,"table-cell")}}),1)[0];if(r){var n=mat(r,2)[1],o=Kh.start(t,n);if(sv.equals(e.anchor,o))return!0}return!1}function Mdt(t,e){var r=e.offset;if(0===r)return!1;var n=Kh.node(t,e);if(!wv.isText(n[0]))return!1;var o=tv.string(n[0]);return!(r>=o.length)&&"\n"===o[r-1]&&"\r"===o[r]}function zdt(t,e,r){var n=t.selection;if(null==n||"line"===e)return!1;var o=mat(Kh.nodes(t,{match:function(t){return CB.checkNodeType(t,"table-cell")}}),1)[0],i=n.anchor;if("backward"===r&&0===n.anchor.offset&&(i=Kh.before(t,n)),"forward"===r&&Kh.isEnd(t,n.anchor,n.anchor.path)&&(i=Kh.after(t,n)),null==i)return!1;var u=Kh.above(t,{at:i,match:function(t){return CB.checkNodeType(t,"table-cell")}});if(null==u||null==o||!ov.equals(u[1],o[1]))return!1;var a=Kh.node(t,i);if(!wv.isText(a[0])||a[0].text.length<2)return!1;var s="backward"===r?[i.offset-2,i.offset]:[i.offset,i.offset+2],c=tv.string(a[0]);return"\n\r"===c.slice.apply(c,bat([],mat(s),!1))?(zv.insertText(t,c.slice(0,s[0])+c.slice(s[1]),{at:{anchor:Kh.start(t,i.path),focus:Kh.end(t,i.path)}}),!0):!!Mdt(t,i)&&(zv.insertText(t,c.slice(0,n.anchor.offset-1)+c.slice(n.anchor.offset+1),{at:{anchor:Kh.start(t,i.path),focus:Kh.end(t,i.path)}}),!0)}function Hdt(t,e){return!!bat([],mat(Kh.nodes(t,{at:e,match:function(t){return"table"===CB.getNodeType(t)}})),!1).find(function(){return!0})}!function(){if(kdt)return _dt;kdt=1;var t=zut(),e=function(){if(xdt)return Adt;xdt=1;var t=Znt(),e=rot(),r=Wat(),n=/"/g,o=t("".replace);return Adt=function(t,i,u,a){var s=r(e(t)),c="<"+i;return""!==u&&(c+=" "+u+'="'+o(r(a),n,""")+'"'),c+">"+s+"</"+i+">"}}(),r=function(){if(Ndt)return Tdt;Ndt=1;var t=ont();return Tdt=function(e){return t(function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3})}}();t({target:"String",proto:!0,forced:r("anchor")},{anchor:function(t){return e(this,"a","name",t)}})}(),Bdt||(Bdt=1,Pdt||(Pdt=1,Tlt()("WeakSet",function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Nlt())));var $dt={selector:"table",preParseHtml:function(t){var e=og(t);if("table"!==Gct(e))return t;var r=e.find("tbody");if(0===r.length)return t;var n=e.find("tr");e.append(n),r.remove();for(var o=e.find("td, th"),i=0;i<o.length;i+=1){var u=o[i],a=(c=og(u)).attr("style");a&&/display\s*:\s*none/i.test(a)&&c.remove()}var s=e.find("td, th");for(i=0;i<s.length;i+=1){var c,l=(c=og(u=s[i])).html()||"";l=(l=(l=l.replace(/<o:p[^>]*>[\s\S]*?<\/o:p>/gi,"")).replace(/<\/o:p>/gi,"")).replace(/<p[^>]*>([\s\S]*?)<\/p>/gi,function(t,e){var r=e.trim();return r&&" "!==r?e:""}),c.html(l)}return e[0]}};function Udt(t){var e,r,n=[],o=0;try{for(var i=yat(t),u=i.next();!u.done;u=i.next())o+=u.value,n.push(o)}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n}function Vdt(t){var e,r,n=[],o=t.reduce(function(t,e){return t+e},0);try{for(var i=yat(t),u=i.next();!u.done;u=i.next()){var a=u.value;n.push(a/o)}}catch(t){e={error:t}}finally{try{u&&!u.done&&(r=i.return)&&r.call(i)}finally{if(e)throw e.error}}return n}var Gdt=null,Wdt=!1,qdt=!1,Kdt=0,Ydt=0,Xdt=null,Jdt=og(window);function Zdt(t,e,r){var n=t.reduce(function(t,e){return t+e},0),o=t[e],i=Math.max(10,r),u=n-o+i;if(u<10*t.length)return t.map(function(){return 10});var a=n-o,s=u-i;if(s<=0){var c=t.map(function(){return 10});return c[e]=Math.max(10,u-10*(t.length-1)),c}var l=a>0?s/a:1,f=t.map(function(t,r){if(r===e)return Math.floor(100*i)/100;var n=t*l;return Math.max(10,Math.floor(100*n)/100)}),d=u-f.reduce(function(t,e){return t+e},0);return Math.abs(d)>.01&&(f[e]=Math.max(10,f[e]+d)),f}Jdt.on("mousedown",function(t){var e=t.target;if(e.closest('[data-block-type="table-cell"]'))Wdt=!0;else if("DIV"===e.tagName&&e.closest(".column-resizer-item")){if(null===Xdt)return;var r=mat(Kh.nodes(Xdt,{match:Kat(Xdt,"table")}),1),n=mat(r[0],1)[0],o=n.columnWidths,i=void 0===o?[]:o,u=n.resizingIndex,a=void 0===u?-1:u;qdt=!0;var s=t.clientX;Kdt=s,Ydt=i[a],document.body.style.cursor="col-resize",t.preventDefault()}Jdt.on("mousemove",Qdt),Jdt.on("mouseup",tpt)});var Qdt=Jg(function(t){if(qdt&&null!==Xdt){t.preventDefault();var e,r=t.clientX,n=r-Kdt,o=mat(Kh.nodes(Xdt,{match:Kat(Xdt,"table")}),1),i=mat(o[0],1)[0],u=i.columnWidths,a=void 0===u?[]:u,s=i.resizingIndex,c=void 0===s?-1:s,l=c===a.length-1;if(l)e=Zdt(a,c,Ydt+n);else{var f=document.querySelector(".table");e=f?function(t,e,r,n){var o=bat([],mat(t),!1);if(e<0||e>=t.length)return o;var i=0===e?0:n[e-1],u=i+10,a=(e+1<t.length?n[e+1]:n[e])-10,s=Math.max(u,Math.min(a,r))-i,c=e+1;if(c<t.length){var l=t[e]+t[c]-s;o[e]=Math.floor(100*s)/100,o[c]=Math.floor(100*l)/100}return o}(a,c,r-f.getBoundingClientRect().left,Udt(a)):function(t,e,r){var n=bat([],mat(t),!1),o=e+1;if(o>=n.length)return n;var i=n[e],u=n[o],a=i+u-10,s=i+r,c=i+u-(s=Math.max(10,Math.min(a,s)));return n[e]=Math.floor(100*s)/100,n[o]=Math.floor(100*c)/100,n}(a,c,n)}if(l){var d=document.querySelector(".table-container");if(d){var p=e.reduce(function(t,e){return t+e},0),h=10*a.length,v=d.clientWidth-1;if(p<h)e=a.map(function(){return 10});else if(p>v){var g=e.slice(0,-1).reduce(function(t,e){return t+e},0),y=(e=Zdt(a,c,Math.max(10,v-g))).reduce(function(t,e){return t+e},0);if(y>v){var m=v/y;e=e.map(function(t){return Math.max(10,Math.floor(t*m*100)/100)})}}}}zv.setNodes(Xdt,{columnWidths:e},{mode:"highest"})}},100);function tpt(t){Wdt=!1,qdt=!1,Xdt=null,document.body.style.cursor="",Jdt.off("mousemove",Qdt),Jdt.off("mouseup",tpt)}function ept(t,e){"mouseenter"===e.type?zv.setNodes(t,{isResizing:!0},{mode:"highest"}):zv.setNodes(t,{isResizing:!1},{mode:"highest"})}var rpt,npt,opt,ipt={type:"table",renderElem:function(t,e,r){var n=function(t,e){if(t.isDisabled())return!1;var r=t.selection;if(null==r)return!0;if(dv.isCollapsed(r))return!0;var n=r.anchor,o=r.focus,i=CB.findPath(t,e),u=Kh.start(t,i),a=Kh.end(t,i),s=sv.compare(n,a)<=0&&sv.compare(n,u)>=0,c=sv.compare(o,a)<=0&&sv.compare(o,u)>=0;return!!(s&&c&&ov.equals(n.path.slice(0,3),o.path.slice(0,3)))}(r,t),o=t,i=o.width,u=void 0===i?"auto":i,a=o.height,s=o.columnWidths,c=void 0===s?[]:s,l=o.scrollWidth,f=void 0===l?0:l,d=o.isHoverCellBorder,p=o.resizingIndex,h=o.isResizing,v=CB.isNodeSelected(r,t),g=mat(jft.selection(r),1)[0],y=Vdt(c),m=Ry("div",{className:"table-container","data-selected":v,on:{mousedown:function(e){if("DIV"===e.target.tagName&&e.preventDefault(),!r.isDisabled()){e.target.closest('[data-block-type="table-cell"]')&&jft.unselect(r);var n=CB.findPath(r,t),o=Kh.start(r,n),i=r.selection;null!=i?i.anchor.path[0]!==n[0]&&"DIV"===e.target.tagName&&r.select(o):r.select(o)}}}},Ry("table",{width:u,contentEditable:n,className:"table ".concat(g?"table-selection-none":""),style:{width:"100%"===u?u:"".concat(c.reduce(function(t,e){return t+e},0),"px")},on:{mousemove:Kg(function(e){return function(t,e,r,n){if(!t.isDisabled()&&!Wdt&&!qdt){var o=e,i=o.width,u=void 0===i?"auto":i,a=o.columnWidths,s=void 0===a?[]:a,c=o.isHoverCellBorder,l=o.resizingIndex,f=r.clientX,d=r.target;if(NP(d)&&f>(v=d.getBoundingClientRect()).x+5&&f<v.x+v.width-5)return void(c&&zv.setNodes(t,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"}));if(NP(d)){var p=d.closest(".table");if(p)for(var h=r.clientX,v=p.getBoundingClientRect(),g=Udt("100%"===u?Vdt(s).map(function(t){return t*n}):s),y=0;y<g.length;y+=1)if(h-v.x>=g[y]-5&&h-v.x<g[y]+5){if(l===y)return;return void zv.setNodes(t,{isHoverCellBorder:!0,resizingIndex:y},{mode:"highest"})}}!0===c&&zv.setNodes(t,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"})}}(r,t,e,f)},25)}},Ry("colgroup",{contentEditable:!1},c.map(function(t){return Ry("col",{width:t})})),Ry("tbody",null,e)),Ry("div",{className:"column-resizer",contentEditable:!1},c.map(function(t,e){var n=t;return"100%"===u&&(n=y[e]*f),Ry("div",{className:"column-resizer-item",style:{minWidth:"".concat(n,"px")}},Ry("div",{className:"resizer-line-hotzone ".concat(d&&e===p?"visible ":"").concat(h&&e===p?"highlight":""),style:{height:"".concat(a,"px")},on:{mouseenter:function(t){return ept(r,t)},mouseleave:function(t){return ept(r,t)},mousedown:function(t){return function(t){qdt||(Xdt=t)}(r)}}},Ry("div",{className:"resizer-line"})))}))),b=vy("div",{hook:{insert:function(t){var e=t.elm;return function(t,e){if(NP(e)){var r=e.querySelector("table");r&&(Gdt=new ResizeObserver(function(e){var r=mat(e,1)[0].contentRect;zv.setNodes(t,{scrollWidth:r.width,height:r.height},{mode:"highest"})}),Gdt.observe(r))}}(r,e)},destroy:function(){Gdt&&(null==Gdt||Gdt.disconnect(),Gdt=null)}}},m);return b}},upt={type:"table-row",renderElem:function(t,e,r){return Ry("tr",null,e)}},apt={type:"table-cell",renderElem:function(t,e,r){var n=function(t,e){var r=CB.getParentNode(t,e);if(null==r)return!1;var n=CB.getParentNode(t,r);return null!=n&&bft(n).some(function(t){return t===e})}(r,t),o=t,i=o.colSpan,u=void 0===i?1:i,a=o.rowSpan,s=void 0===a?1:a,c=o.isHeader,l=void 0!==c&&c,f=o.hidden,d=void 0!==f&&f;return Ry(n&&l?"th":"td",{colSpan:u,rowSpan:s,"data-block-type":"table-cell",className:jft.isSelected(r,t)?"w-e-selected":"",style:{display:d?"none":""}},e)}},spt={};function cpt(t,e){null==t.data&&(t.data={});var r=t.data;null==r.style&&(r.style={}),Object.assign(r.style,e)}!function(){if(opt)return spt;opt=1;var t=zut(),e=function(){if(npt)return rpt;npt=1;var t=int(),e=Znt(),r=ant(),n=ont(),o=Iat(),i=_ut(),u=Xnt(),a=Got(),s=tot(),c=Object.assign,l=Object.defineProperty,f=e([].concat);return rpt=!c||n(function(){if(t&&1!==c({b:1},c(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},r={},n=Symbol("assign detection"),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(t){r[t]=t}),7!==c({},e)[n]||o(c({},r)).join("")!==i})?function(e,n){for(var c=a(e),l=arguments.length,d=1,p=i.f,h=u.f;l>d;)for(var v,g=s(arguments[d++]),y=p?f(o(g),p(g)):o(g),m=y.length,b=0;m>b;)v=y[b++],t&&!r(h,g,v)||(c[v]=g[v]);return c}:c,rpt}();t({target:"Object",stat:!0,arity:2,forced:Object.assign!==e},{assign:e})}();var lpt={renderStyle:function(t,e){var r,n;if(!$h.isElement(t))return e;var o=t,i=o.backgroundColor,u=o.borderWidth,a=o.borderStyle,s=o.borderColor,c=o.textAlign,l={};i&&(l.backgroundColor=i),u&&(l.borderWidth="".concat(u,"px")),a&&(l.borderStyle="none"===a?"":a),s&&(l.borderColor=s),c&&(l.textAlign=c);var f=e;return"table"===t.type?cpt(null===(n=(null===(r=f.children)||void 0===r?void 0:r[0]).children)||void 0===n?void 0:n[0],l):cpt(f,l),f},styleToHtml:function(t,e){if("table"!==t.type&&"table-cell"!==t.type)return e;var r=t.backgroundColor,n=t.borderWidth,o=t.borderStyle,i=t.borderColor,u=t.textAlign;if(!(r||n||o||i||u))return e;var a=og(e);return r&&a.css("background-color",r),n&&a.css("border-width","".concat(n,"px")),o&&a.css("border-style","none"===o?"":o),i&&a.css("border-color",i),u&&a.css("text-align",u),function(t){return 0===t.length?"":t[0].outerHTML}(a)},parseStyleHtml:function(t,e,r){if(!["TABLE","TD","TH"].includes(t.tagName))return e;var n=og(t),o=e,i=Wct(n,"background-color");i||(i=Wct(n,"background")),i&&(o.backgroundColor=i);var u=Wct(n,"border");u||"TD"!==t.tagName||(u="1px solid ".concat(Ldt));var a=mat((null==u?void 0:u.split(" "))||[],3),s=a[0],c=a[1],l=a[2];(s=Wct(n,"border-width")||s)&&(o.borderWidth=s.replace(/[^\d]/g,"")),(c=Wct(n,"border-style")||c)&&(o.borderStyle="none"===c?"":c),(l=Wct(n,"border-color")||l)&&(o.borderColor=l);var f=Wct(n,"text-align");return(f=Wct(n,"text-align")||f)&&(o.textAlign=f),e},renderElems:[ipt,upt,apt],elemsToHtml:[{type:"table",elemToHtml:function(t,e){var r=t,n=r.width,o=void 0===n?"auto":n,i=r.columnWidths,u=r.height,a=void 0===u?"auto":u,s=null==i?void 0:i.map(function(t){return"<col width=".concat(t,"></col>")}).join(""),c=s?'<colgroup contentEditable="false">'.concat(s,"</colgroup>"):"";return'<table style="width: '.concat(o,";table-layout: fixed;height:").concat(a,'">').concat(c,"<tbody>").concat(e,"</tbody></table>")}},{type:"table-row",elemToHtml:function(t,e){return"<tr>".concat(e,"</tr>")}},{type:"table-cell",elemToHtml:function(t,e){var r=t,n=r.colSpan,o=void 0===n?1:n,i=r.rowSpan,u=void 0===i?1:i,a=r.isHeader,s=void 0!==a&&a,c=r.width,l=void 0===c?"auto":c,f=r.hidden;if(void 0!==f&&f)return"";var d=s?"th":"td";return"<".concat(d,' colSpan="').concat(o,'" rowSpan="').concat(u,'" width="').concat(l,'">').concat(e,"</").concat(d,">")}}],preParseHtml:[$dt],parseElemsHtml:[Idt,Fdt,Rdt],menus:[udt,adt,sdt,cdt,ldt,fdt,ddt,pdt,hdt,vdt,gdt,ydt],editorPlugin:function(t){var e=t.insertBreak,r=t.deleteBackward,n=t.deleteForward,o=t.deleteFragment,i=t.normalizeNode,u=t.insertData,a=t.handleTab,s=t.selectAll,c=t;c.insertBreak=function(){null==CB.getSelectedNodeByType(c,"table")?e():c.insertText("\n\r")},c.deleteBackward=function(t){if(!jdt(c)&&!zdt(c,t,"backward")){var e=c.selection;if(e){var n=Kh.before(c,e),o=Kh.above(c,{at:e,match:function(t){return CB.checkNodeType(t,"table-cell")}});if(n){var i=Hdt(c,n);if(!o&&i&&CB.getSelectedNodeByType(c,"paragraph"))return}}r(t)}},c.handleTab=function(){var e;if(CB.getSelectedNodeByType(c,"table")){var r=Kh.above(t);CB.checkNodeType(r[0],"table-cell")&&zv.select(t,r[1]);var n=Kh.next(t);if(n)n[0]&&n[0].text&&(n=null!==(e=Kh.above(t,{at:n[1]}))&&void 0!==e?e:n),zv.select(t,n[1]);else{var o=c.children||[],i=o.length;if(CB.checkNodeType(o[i-1],"table")){var u=CB.genEmptyParagraph();zv.insertNodes(c,u,{at:[i]}),c.handleTab()}}}else a()},c.deleteForward=function(t){if(!jdt(c)&&!zdt(c,t,"forward")){var e=c.selection;if(e){var r=Kh.after(c,e),o=Kh.above(c,{at:e,match:function(t){return CB.checkNodeType(t,"table-cell")}});if(r){var i=Hdt(c,r);if(!o&&i&&CB.getSelectedNodeByType(c,"paragraph"))return}}n(t)}},c.deleteFragment=function(t){var e=c.selection;if(e){var r,n=!1,i={anchor:e.anchor,focus:e.focus},u=sv.isBefore(i.anchor,i.focus);Mdt(c,e.anchor)&&((r=Kh[u?"before":"after"](c,e.anchor))&&(i.anchor=r),n=!0),Mdt(c,e.focus)&&((r=Kh[u?"after":"before"](c,e.focus))&&(i.focus=r),n=!0),n&&zv.setSelection(c,i),o(t)}},c.normalizeNode=function(t){var e=mat(t,2),r=e[0],n=e[1];if("table"!==CB.getNodeType(r))return i([r,n]);if(CB.isLastNode(c,r)){var o=CB.genEmptyParagraph();zv.insertNodes(c,o,{at:[n[0]+1]})}},c.insertData=function(t){if(null!=CB.getSelectedNodeByType(c,"table")){var e=t.getData("text/plain");"\n"===e||/<img[^>]+>/.test(t.getData("text/html"))?u(t):Kh.insertText(c,e)}else u(t)},c.selectAll=function(){var t=c.selection;if(null!=t){var e=CB.getSelectedNodeByType(c,"table-cell");if(null!=e){var r=t.anchor,n=t.focus;if(ov.equals(r.path.slice(0,3),n.path.slice(0,3)))if(0!==tv.string(e).length){var o=CB.findPath(c,e),i={anchor:Kh.start(c,o),focus:Kh.end(c,o)};c.select(i)}else s();else s()}else s()}else s()},function(t){var e=t.apply;t.apply=function(r){if(!nv.isSelectionOperation(r)||!r.newProperties)return e(r);var n=vat(vat({},t.selection),r.newProperties);if(!dv.isRange(n))return jft.unselect(t),e(r);var o=function(t){return $h.isElement(t)&&("table-cell"===t.type||"th"===t.type||"td"===t.type)},i=mat(Kh.nodes(t,{match:o,at:dv.start(n),mode:"lowest"}),1)[0],u=mat(Kh.nodes(t,{match:o,at:dv.end(n),mode:"lowest"}),1)[0];if(!i||!u)return jft.unselect(t),e(r);var a=mat(i,2)[1],s=mat(u,2)[1];if(ov.equals(a,s)||!Yat(t,[a,s],"table"))return jft.unselect(t),e(r);try{var c=Xat(t,{at:a});if(!c||0===c.length)return jft.unselect(t),e(r);for(var l=Zat.valueOf(0,0),f=Zat.valueOf(0,0),d=!1,p=!1,h=0;h<c.length;h+=1)if(c[h])for(var v=0;v<c[h].length;v+=1)if(c[h][v]){var g=mat(c[h][v],1),y=mat(g[0],2)[1];ov.equals(a,y)&&(l.x=h,l.y=v,d=!0),ov.equals(s,y)&&(f.x=h,f.y=v,p=!0)}if(!d||!p)return jft.unselect(t),e(r);for(var m=Zat.valueOf(Math.min(l.x,f.x),Math.min(l.y,f.y)),b=Zat.valueOf(Math.max(l.x,f.x),Math.max(l.y,f.y));;){var E=Zat.valueOf(m.x,m.y),w=Zat.valueOf(b.x,b.y);for(h=E.x;h<=w.x&&h<c.length;h+=1)if(c[h])for(v=E.y;v<=w.y&&v<c[h].length;v+=1)if(c[h][v]){var S=mat(c[h][v],2)[1];if(S){var C=S.rtl,D=S.ltr,O=S.btt,A=S.ttb;E.x=Math.min(E.x,h-(A-1)),E.y=Math.min(E.y,v-(C-1)),w.x=Math.max(w.x,h+(O-1)),w.y=Math.max(w.y,v+(D-1))}}if(Zat.equals(m,E)&&Zat.equals(b,w))break;m=E,b=w}var x=[],T=new WeakSet;for(h=m.x;h<=b.x&&h<c.length;h+=1)if(c[h]){var N=[];for(v=m.y;v<=b.y&&v<c[h].length;v+=1)if(c[h][v]){var k=mat(c[h][v],1),P=mat(k[0],1)[0];P&&(T.add(P),N.push(c[h][v]))}N.length>0&&x.push(N)}Ult.set(t,x),Vlt.set(t,T)}catch(n){return jft.unselect(t),e(r)}e(r)}}(c),c.getTableSelection=function(){return Ult.get(c)||null};var l=c.addMark,f=c.removeMark,d=vat({},zv);return c.addMark=function(t,e){var r=Ult.get(c);if(r&&r.length>0){var n=c.selection;r.forEach(function(r){r.forEach(function(r){var n=mat(r[0],2)[1],o=Kh.start(c,n),i=Kh.end(c,n);zv.select(c,{anchor:o,focus:i}),l(t,e)})}),n&&zv.select(c,n)}else l(t,e)},c.removeMark=function(t){var e=Ult.get(c);if(e&&e.length>0){var r=c.selection;e.forEach(function(e){e.forEach(function(e){var r=mat(e[0],2)[1],n=Kh.start(c,r),o=Kh.end(c,r);zv.select(c,{anchor:n,focus:o}),f(t)})}),r&&zv.select(c,r)}else f(t)},zv.setNodes=function(t,e,r){if(void 0===r&&(r={}),t===c){var n=Ult.get(c);if(n&&n.length>0)return"hidden"in e||"rowSpan"in e||"colSpan"in e?void d.setNodes(t,e,r):void n.forEach(function(n){n.forEach(function(n){var o=mat(n[0],2)[1];d.setNodes(t,e,vat(vat({},r),{at:o}))})})}d.setNodes(t,e,r)},c}};BF("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),BF("zh-CN",{uploadImgModule:{uploadImage:"上传图片",uploadError:"{{fileName}} 上传出错"}});var fpt,dpt,ppt,hpt,vpt,gpt,ypt,mpt,bpt,Ept,wpt,Spt,Cpt,Dpt,Opt,Apt,xpt,Tpt,Npt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},kpt={};function Ppt(){return dpt?fpt:(dpt=1,fpt=function(t){try{return!!t()}catch(t){return!0}})}function Bpt(){if(hpt)return ppt;hpt=1;var t=Ppt();return ppt=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function Ipt(){if(gpt)return vpt;gpt=1;var t=Ppt();return vpt=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function Fpt(){if(mpt)return ypt;mpt=1;var t=Ipt(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return ypt=t?n:function(t){return function(){return r.apply(t,arguments)}},ypt}function Rpt(){return Ept?bpt:(Ept=1,bpt=function(t){return null==t})}function Lpt(){if(Spt)return wpt;Spt=1;var t=Rpt(),e=TypeError;return wpt=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function _pt(){if(Dpt)return Cpt;Dpt=1;var t=Lpt(),e=Object;return Cpt=function(r){return e(t(r))}}function jpt(){if(Apt)return Opt;Apt=1;var t=Fpt(),e=_pt(),r=t({}.hasOwnProperty);return Opt=Object.hasOwn||function(t,n){return r(e(t),n)}}function Mpt(){if(Tpt)return xpt;Tpt=1;var t=Bpt(),e=jpt(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,o=e(r,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&n(r,"name").configurable);return xpt={EXISTS:o,PROPER:i,CONFIGURABLE:u}}var zpt,Hpt,$pt={exports:{}};function Upt(){if(Hpt)return zpt;Hpt=1;var t="object"==typeof document&&document.all;return zpt=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}var Vpt,Gpt,Wpt,qpt,Kpt,Ypt,Xpt,Jpt,Zpt,Qpt,tht,eht,rht,nht={exports:{}};function oht(){return Gpt?Vpt:(Gpt=1,Vpt=!1)}function iht(){if(qpt)return Wpt;qpt=1;var t=function(t){return t&&t.Math===Math&&t};return Wpt=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof Npt&&Npt)||t("object"==typeof Wpt&&Wpt)||function(){return this}()||Function("return this")()}function uht(){if(Ypt)return Kpt;Ypt=1;var t=iht(),e=Object.defineProperty;return Kpt=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function aht(){if(Xpt)return nht.exports;Xpt=1;var t=oht(),e=iht(),r=uht(),n="__core-js_shared__",o=nht.exports=e[n]||r(n,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),nht.exports}function sht(){if(Zpt)return Jpt;Zpt=1;var t=Fpt(),e=Upt(),r=aht(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),Jpt=r.inspectSource}function cht(){if(tht)return Qpt;tht=1;var t=iht(),e=Upt(),r=t.WeakMap;return Qpt=e(r)&&/native code/.test(String(r))}function lht(){if(rht)return eht;rht=1;var t=Upt();return eht=function(e){return"object"==typeof e?null!==e:t(e)}}var fht,dht,pht,hht,vht,ght,yht,mht,bht,Eht,wht,Sht,Cht,Dht,Oht,Aht,xht,Tht,Nht,kht,Pht,Bht,Iht,Fht,Rht,Lht,_ht,jht,Mht,zht,Hht,$ht,Uht,Vht,Ght,Wht,qht,Kht,Yht,Xht,Jht,Zht,Qht,tvt,evt,rvt,nvt,ovt,ivt,uvt,avt,svt,cvt,lvt,fvt,dvt,pvt,hvt={};function vvt(){if(dht)return fht;dht=1;var t=iht(),e=lht(),r=t.document,n=e(r)&&e(r.createElement);return fht=function(t){return n?r.createElement(t):{}}}function gvt(){if(hht)return pht;hht=1;var t=Bpt(),e=Ppt(),r=vvt();return pht=!t&&!e(function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})}function yvt(){if(ght)return vht;ght=1;var t=Bpt(),e=Ppt();return vht=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function mvt(){if(mht)return yht;mht=1;var t=lht(),e=String,r=TypeError;return yht=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function bvt(){if(Eht)return bht;Eht=1;var t=Ipt(),e=Function.prototype.call;return bht=t?e.bind(e):function(){return e.apply(e,arguments)},bht}function Evt(){if(Sht)return wht;Sht=1;var t=iht(),e=Upt();return wht=function(r,n){return arguments.length<2?(o=t[r],e(o)?o:void 0):t[r]&&t[r][n];var o},wht}function wvt(){if(Dht)return Cht;Dht=1;var t=Fpt();return Cht=t({}.isPrototypeOf)}function Svt(){if(Aht)return Oht;Aht=1;var t=iht().navigator,e=t&&t.userAgent;return Oht=e?String(e):""}function Cvt(){if(Tht)return xht;Tht=1;var t,e,r=iht(),n=Svt(),o=r.process,i=r.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),xht=e}function Dvt(){if(kht)return Nht;kht=1;var t=Cvt(),e=Ppt(),r=iht().String;return Nht=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function Ovt(){if(Bht)return Pht;Bht=1;var t=Dvt();return Pht=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function Avt(){if(Fht)return Iht;Fht=1;var t=Evt(),e=Upt(),r=wvt(),n=Ovt(),o=Object;return Iht=n?function(t){return"symbol"==typeof t}:function(n){var i=t("Symbol");return e(i)&&r(i.prototype,o(n))}}function xvt(){if(Lht)return Rht;Lht=1;var t=String;return Rht=function(e){try{return t(e)}catch(t){return"Object"}}}function Tvt(){if(jht)return _ht;jht=1;var t=Upt(),e=xvt(),r=TypeError;return _ht=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function Nvt(){if(zht)return Mht;zht=1;var t=Tvt(),e=Rpt();return Mht=function(r,n){var o=r[n];return e(o)?void 0:t(o)}}function kvt(){if(Vht)return Uht;Vht=1;var t=aht();return Uht=function(e,r){return t[e]||(t[e]=r||{})}}function Pvt(){if(Wht)return Ght;Wht=1;var t=Fpt(),e=0,r=Math.random(),n=t(1.1.toString);return Ght=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function Bvt(){if(Kht)return qht;Kht=1;var t=iht(),e=kvt(),r=jpt(),n=Pvt(),o=Dvt(),i=Ovt(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||n;return qht=function(t){return r(a,t)||(a[t]=o&&r(u,t)?u[t]:s("Symbol."+t)),a[t]}}function Ivt(){if(Xht)return Yht;Xht=1;var t=bvt(),e=lht(),r=Avt(),n=Nvt(),o=function(){if($ht)return Hht;$ht=1;var t=bvt(),e=Upt(),r=lht(),n=TypeError;return Hht=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!r(a=t(u,o)))return a;if(e(u=o.valueOf)&&!r(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!r(a=t(u,o)))return a;throw new n("Can't convert object to primitive value")},Hht}(),i=Bvt(),u=TypeError,a=i("toPrimitive");return Yht=function(i,s){if(!e(i)||r(i))return i;var c,l=n(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||r(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}function Fvt(){if(Zht)return Jht;Zht=1;var t=Ivt(),e=Avt();return Jht=function(r){var n=t(r,"string");return e(n)?n:n+""}}function Rvt(){if(Qht)return hvt;Qht=1;var t=Bpt(),e=gvt(),r=yvt(),n=mvt(),o=Fvt(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return hvt.f=t?r?function(t,e,r){if(n(t),e=o(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&l in r&&!r[l]){var i=a(t,e);i&&i[l]&&(t[e]=r.value,r={configurable:c in r?r[c]:i[c],enumerable:s in r?r[s]:i[s],writable:!1})}return u(t,e,r)}:u:function(t,r,a){if(n(t),r=o(r),n(a),e)try{return u(t,r,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[r]=a.value),t},hvt}function Lvt(){return evt?tvt:(evt=1,tvt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function _vt(){if(nvt)return rvt;nvt=1;var t=Bpt(),e=Rvt(),r=Lvt();return rvt=t?function(t,n,o){return e.f(t,n,r(1,o))}:function(t,e,r){return t[e]=r,t}}function jvt(){if(ivt)return ovt;ivt=1;var t=kvt(),e=Pvt(),r=t("keys");return ovt=function(t){return r[t]||(r[t]=e(t))}}function Mvt(){return avt?uvt:(avt=1,uvt={})}function zvt(){if(cvt)return svt;cvt=1;var t,e,r,n=cht(),o=iht(),i=lht(),u=_vt(),a=jpt(),s=aht(),c=jvt(),l=Mvt(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(n||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},r=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},r=function(t){return a(t,v)}}return svt={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!i(r)||(n=e(r)).type!==t)throw new d("Incompatible receiver, "+t+" required");return n}}}}function Hvt(){if(lvt)return $pt.exports;lvt=1;var t=Fpt(),e=Ppt(),r=Upt(),n=jpt(),o=Bpt(),i=Mpt().CONFIGURABLE,u=sht(),a=zvt(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=$pt.exports=function(t,e,r){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return n(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return r(this)&&c(this).source||u(this)},"toString"),$pt.exports}function $vt(){if(dvt)return fvt;dvt=1;var t=Hvt(),e=Rvt();return fvt=function(r,n,o){return o.get&&t(o.get,n,{getter:!0}),o.set&&t(o.set,n,{setter:!0}),e.f(r,n,o)}}!function(){if(pvt)return kpt;pvt=1;var t=Bpt(),e=Mpt().EXISTS,r=Fpt(),n=$vt(),o=Function.prototype,i=r(o.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,a=r(u.exec);t&&!e&&n(o,"name",{configurable:!0,get:function(){try{return a(u,i(this))[1]}catch(t){return""}}})}();var Uvt,Vvt,Gvt,Wvt,qvt,Kvt,Yvt,Xvt,Jvt,Zvt,Qvt={},tgt={},egt={};function rgt(){if(Gvt)return Vvt;Gvt=1;var t=Fpt(),e=t({}.toString),r=t("".slice);return Vvt=function(t){return r(e(t),8,-1)}}function ngt(){if(qvt)return Wvt;qvt=1;var t=Fpt(),e=Ppt(),r=rgt(),n=Object,o=t("".split);return Wvt=e(function(){return!n("z").propertyIsEnumerable(0)})?function(t){return"String"===r(t)?o(t,""):n(t)}:n}function ogt(){if(Yvt)return Kvt;Yvt=1;var t=ngt(),e=Lpt();return Kvt=function(r){return t(e(r))}}function igt(){if(Xvt)return tgt;Xvt=1;var t=Bpt(),e=bvt(),r=function(){if(Uvt)return egt;Uvt=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return egt.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,egt}(),n=Lvt(),o=ogt(),i=Fvt(),u=jpt(),a=gvt(),s=Object.getOwnPropertyDescriptor;return tgt.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return n(!e(r.f,t,c),t[c])},tgt}function ugt(){if(Zvt)return Jvt;Zvt=1;var t=Upt(),e=Rvt(),r=Hvt(),n=uht();return Jvt=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&r(u,c,a),a.global)s?o[i]=u:n(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var agt,sgt,cgt,lgt,fgt,dgt,pgt,hgt,vgt,ggt,ygt,mgt,bgt,Egt,wgt,Sgt,Cgt,Dgt={};function Ogt(){if(lgt)return cgt;lgt=1;var t=function(){if(sgt)return agt;sgt=1;var t=Math.ceil,e=Math.floor;return agt=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return cgt=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function Agt(){if(dgt)return fgt;dgt=1;var t=Ogt(),e=Math.max,r=Math.min;return fgt=function(n,o){var i=t(n);return i<0?e(i+o,0):r(i,o)}}function xgt(){if(ggt)return vgt;ggt=1;var t=function(){if(hgt)return pgt;hgt=1;var t=Ogt(),e=Math.min;return pgt=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}();return vgt=function(e){return t(e.length)}}function Tgt(){if(Egt)return bgt;Egt=1;var t=Fpt(),e=jpt(),r=ogt(),n=function(){if(mgt)return ygt;mgt=1;var t=ogt(),e=Agt(),r=xgt(),n=function(n){return function(o,i,u){var a=t(o),s=r(a);if(0===s)return!n&&-1;var c,l=e(u,s);if(n&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((n||l in a)&&a[l]===i)return n||l||0;return!n&&-1}};return ygt={includes:n(!0),indexOf:n(!1)}}().indexOf,o=Mvt(),i=t([].push);return bgt=function(t,u){var a,s=r(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~n(l,a)||i(l,a));return l}}function Ngt(){return Sgt?wgt:(Sgt=1,wgt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function kgt(){if(Cgt)return Dgt;Cgt=1;var t=Tgt(),e=Ngt().concat("length","prototype");return Dgt.f=Object.getOwnPropertyNames||function(r){return t(r,e)},Dgt}var Pgt,Bgt,Igt,Fgt,Rgt,Lgt,_gt,jgt,Mgt,zgt,Hgt,$gt,Ugt={};function Vgt(){if(Rgt)return Fgt;Rgt=1;var t=jpt(),e=function(){if(Igt)return Bgt;Igt=1;var t=Evt(),e=Fpt(),r=kgt(),n=(Pgt||(Pgt=1,Ugt.f=Object.getOwnPropertySymbols),Ugt),o=mvt(),i=e([].concat);return Bgt=t("Reflect","ownKeys")||function(t){var e=r.f(o(t)),u=n.f;return u?i(e,u(t)):e}}(),r=igt(),n=Rvt();return Fgt=function(o,i,u){for(var a=e(i),s=n.f,c=r.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function Ggt(){if(_gt)return Lgt;_gt=1;var t=Ppt(),e=Upt(),r=/#|\.prototype\./,n=function(r,n){var s=i[o(r)];return s===a||s!==u&&(e(n)?t(n):!!n)},o=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},i=n.data={},u=n.NATIVE="N",a=n.POLYFILL="P";return Lgt=n}function Wgt(){if(Mgt)return jgt;Mgt=1;var t=iht(),e=igt().f,r=_vt(),n=ugt(),o=uht(),i=Vgt(),u=Ggt();return jgt=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&r(d,"sham",!0),n(c,l,d,a)}}}function qgt(){if(Hgt)return zgt;Hgt=1;var t=Ppt();return zgt=function(e,r){var n=[][e];return!!n&&t(function(){n.call(null,r||function(){return 1},1)})}}!function(){if($gt)return Qvt;$gt=1;var t=Wgt(),e=Fpt(),r=ngt(),n=ogt(),o=qgt(),i=e([].join);t({target:"Array",proto:!0,forced:r!==Object||!o("join",",")},{join:function(t){return i(n(this),void 0===t?",":t)}})}();var Kgt,Ygt,Xgt,Jgt,Zgt,Qgt,tyt,eyt,ryt,nyt,oyt={};function iyt(){if(Ygt)return Kgt;Ygt=1;var t={};return t[Bvt()("toStringTag")]="z",Kgt="[object z]"===String(t)}function uyt(){if(Jgt)return Xgt;Jgt=1;var t=iyt(),e=Upt(),r=rgt(),n=Bvt()("toStringTag"),o=Object,i="Arguments"===r(function(){return arguments}());return Xgt=t?r:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),n))?a:i?r(u):"Object"===(s=r(u))&&e(u.callee)?"Arguments":s}}function ayt(){if(Qgt)return Zgt;Qgt=1;var t=uyt(),e=String;return Zgt=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}function syt(){if(eyt)return tyt;eyt=1;var t=mvt();return tyt=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}var cyt,lyt,fyt,dyt,pyt,hyt,vyt,gyt,yyt,myt,byt,Eyt,wyt,Syt,Cyt,Dyt,Oyt,Ayt,xyt,Tyt,Nyt,kyt,Pyt,Byt,Iyt,Fyt,Ryt,Lyt,_yt,jyt,Myt,zyt,Hyt,$yt,Uyt,Vyt,Gyt,Wyt,qyt,Kyt,Yyt,Xyt,Jyt={};function Zyt(){if(pyt)return dyt;pyt=1;var t=Evt();return dyt=t("document","documentElement")}function Qyt(){if(vyt)return hyt;vyt=1;var t,e=mvt(),r=function(){if(fyt)return Jyt;fyt=1;var t=Bpt(),e=yvt(),r=Rvt(),n=mvt(),o=ogt(),i=function(){if(lyt)return cyt;lyt=1;var t=Tgt(),e=Ngt();return cyt=Object.keys||function(r){return t(r,e)}}();return Jyt.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)r.f(t,u=s[l++],a[u]);return t},Jyt}(),n=Ngt(),o=Mvt(),i=Zyt(),u=vvt(),a=jvt(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,o;h="undefined"!=typeof document?document.domain&&t?p(t):(r=u("iframe"),o="java"+c+":",r.style.display="none",i.appendChild(r),r.src=String(o),(e=r.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=n.length;a--;)delete h[s][n[a]];return h()};return o[l]=!0,hyt=Object.create||function(t,n){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===n?o:r.f(o,n)}}function tmt(){return Ayt?Oyt:(Ayt=1,Oyt={})}function emt(){if(kyt)return Nyt;kyt=1;var t=jpt(),e=Upt(),r=_pt(),n=jvt(),o=function(){if(Tyt)return xyt;Tyt=1;var t=Ppt();return xyt=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=n("IE_PROTO"),u=Object,a=u.prototype;return Nyt=o?u.getPrototypeOf:function(n){var o=r(n);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function rmt(){if(Byt)return Pyt;Byt=1;var t,e,r,n=Ppt(),o=Upt(),i=lht(),u=Qyt(),a=emt(),s=ugt(),c=Bvt(),l=oht(),f=c("iterator"),d=!1;return[].keys&&("next"in(r=[].keys())?(e=a(a(r)))!==Object.prototype&&(t=e):d=!0),!i(t)||n(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),Pyt={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function nmt(){if(Fyt)return Iyt;Fyt=1;var t=Rvt().f,e=jpt(),r=Bvt()("toStringTag");return Iyt=function(n,o,i){n&&!i&&(n=n.prototype),n&&!e(n,r)&&t(n,r,{configurable:!0,value:o})}}function omt(){if($yt)return Hyt;$yt=1;var t=function(){if(zyt)return Myt;zyt=1;var t=lht();return Myt=function(e){return t(e)||null===e}}(),e=String,r=TypeError;return Hyt=function(n){if(t(n))return n;throw new r("Can't set "+e(n)+" as a prototype")}}function imt(){if(Vyt)return Uyt;Vyt=1;var t=function(){if(jyt)return _yt;jyt=1;var t=Fpt(),e=Tvt();return _yt=function(r,n,o){try{return t(e(Object.getOwnPropertyDescriptor(r,n)[o]))}catch(t){}}}(),e=lht(),r=Lpt(),n=omt();return Uyt=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return r(t),n(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function umt(){if(Wyt)return Gyt;Wyt=1;var t=Wgt(),e=bvt(),r=oht(),n=Mpt(),o=Upt(),i=function(){if(Lyt)return Ryt;Lyt=1;var t=rmt().IteratorPrototype,e=Qyt(),r=Lvt(),n=nmt(),o=tmt(),i=function(){return this};return Ryt=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:r(+!c,s)}),n(u,l,!1,!0),o[l]=i,u}}(),u=emt(),a=imt(),s=nmt(),c=_vt(),l=ugt(),f=Bvt(),d=tmt(),p=rmt(),h=n.PROPER,v=n.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return Gyt=function(n,f,p,C,D,O,A){i(p,f,C);var x,T,N,k=function(t){if(t===D&&R)return R;if(!y&&t&&t in I)return I[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},P=f+" Iterator",B=!1,I=n.prototype,F=I[m]||I["@@iterator"]||D&&I[D],R=!y&&F||k(D),L="Array"===f&&I.entries||F;if(L&&(x=u(L.call(new n)))!==Object.prototype&&x.next&&(r||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,P,!0,!0),r&&(d[P]=S)),h&&D===E&&F&&F.name!==E&&(!r&&v?c(I,"name",E):(B=!0,R=function(){return e(F,this)})),D)if(T={values:k(E),keys:O?R:k(b),entries:k(w)},A)for(N in T)(y||B||!(N in I))&&l(I,N,T[N]);else t({target:f,proto:!0,forced:y||B},T);return r&&!A||I[m]===R||l(I,m,R,{name:D}),d[f]=R,T}}function amt(){return Kyt?qyt:(Kyt=1,qyt=function(t,e){return{value:t,done:e}})}function smt(){if(Xyt)return Yyt;Xyt=1;var t=ogt(),e=function(){if(Dyt)return Cyt;Dyt=1;var t=Bvt(),e=Qyt(),r=Rvt().f,n=t("unscopables"),o=Array.prototype;return void 0===o[n]&&r(o,n,{configurable:!0,value:e(null)}),Cyt=function(t){o[n][t]=!0}}(),r=tmt(),n=zvt(),o=Rvt().f,i=umt(),u=amt(),a=oht(),s=Bpt(),c="Array Iterator",l=n.set,f=n.getterFor(c);Yyt=i(Array,"Array",function(e,r){l(this,{type:c,target:t(e),index:0,kind:r})},function(){var t=f(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(r,!1);case"values":return u(e[r],!1)}return u([r,e[r]],!1)},"values");var d=r.Arguments=r.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return Yyt}!function(){if(Syt)return oyt;Syt=1;var t=Wgt(),e=function(){if(wyt)return Eyt;wyt=1;var t,e,r=bvt(),n=Fpt(),o=ayt(),i=syt(),u=function(){if(nyt)return ryt;nyt=1;var t=Ppt(),e=iht().RegExp,r=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),n=r||t(function(){return!e("a","y").sticky}),o=r||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return ryt={BROKEN_CARET:o,MISSED_STICKY:n,UNSUPPORTED_Y:r}}(),a=kvt(),s=Qyt(),c=zvt().get,l=function(){if(yyt)return gyt;yyt=1;var t=Ppt(),e=iht().RegExp;return gyt=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(byt)return myt;byt=1;var t=Ppt(),e=iht().RegExp;return myt=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=n("".charAt),g=n("".indexOf),y=n("".replace),m=n("".slice),b=(e=/b*/g,r(p,t=/a/,"a"),r(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,n,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=r(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=r(i,C),k=C.source,P=0,B=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),B=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(k="(?: "+k+")",B=" "+B,P++),n=new RegExp("^(?:"+k+")",N)),w&&(n=new RegExp("^"+k+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=r(p,T?n:C,B),T?a?(a.input=m(a.input,P),a[0]=m(a[0],P),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&r(d,a[0],n,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),Eyt=h}();t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e})}(),Ag&&(og.fn.append=Ag),pg&&(og.fn.on=pg),Bg&&(og.fn.remove=Bg),dg&&(og.fn.val=dg),Lg&&(og.fn.click=Lg),mg&&(og.fn.hide=mg),smt();var cmt,lmt,fmt,dmt,pmt,hmt,vmt,gmt,ymt,mmt,bmt,Emt,wmt,Smt,Cmt,Dmt,Omt,Amt={};function xmt(){if(dmt)return fmt;dmt=1;var t=function(){if(lmt)return cmt;lmt=1;var t=rgt(),e=Fpt();return cmt=function(r){if("Function"===t(r))return e(r)}}(),e=Tvt(),r=Ipt(),n=t(t.bind);return fmt=function(t,o){return e(t),void 0===o?t:r?n(t,o):function(){return t.apply(o,arguments)}},fmt}function Tmt(){if(hmt)return pmt;hmt=1;var t=rgt();return pmt=Array.isArray||function(e){return"Array"===t(e)}}function Nmt(){if(gmt)return vmt;gmt=1;var t=Fpt(),e=Ppt(),r=Upt(),n=uyt(),o=Evt(),i=sht(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!r(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,vmt=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function kmt(){if(Emt)return bmt;Emt=1;var t=function(){if(mmt)return ymt;mmt=1;var t=Tmt(),e=Nmt(),r=lht(),n=Bvt()("species"),o=Array;return ymt=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||r(u)&&null===(u=u[n]))&&(u=void 0)),void 0===u?o:u}}();return bmt=function(e,r){return new(t(e))(0===r?0:r)}}function Pmt(){if(Smt)return wmt;Smt=1;var t=xmt(),e=Fpt(),r=ngt(),n=_pt(),o=xgt(),i=kmt(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=n(h),w=r(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return wmt={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}function Bmt(){if(Dmt)return Cmt;Dmt=1;var t=Ppt(),e=Bvt(),r=Cvt(),n=e("species");return Cmt=function(e){return r>=51||!t(function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}!function(){if(Omt)return Amt;Omt=1;var t=Wgt(),e=Pmt().map;t({target:"Array",proto:!0,forced:!Bmt()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var Imt,Fmt,Rmt,Lmt,_mt,jmt={};function Mmt(){if(Lmt)return Rmt;Lmt=1;var t=Fpt();return Rmt=t([].slice)}!function(){if(_mt)return jmt;_mt=1;var t=Wgt(),e=Tmt(),r=Nmt(),n=lht(),o=Agt(),i=xgt(),u=ogt(),a=function(){if(Fmt)return Imt;Fmt=1;var t=Bpt(),e=Rvt(),r=Lvt();return Imt=function(n,o,i){t?e.f(n,o,r(0,i)):n[o]=i}}(),s=Bvt(),c=Bmt(),l=Mmt(),f=c("slice"),d=s("species"),p=Array,h=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,s){var c,f,v,g=u(this),y=i(g),m=o(t,y),b=o(void 0===s?y:s,y);if(e(g)&&(c=g.constructor,(r(c)&&(c===p||e(c.prototype))||n(c)&&null===(c=c[d]))&&(c=void 0),c===p||void 0===c))return l(g,m,b);for(f=new(void 0===c?p:c)(h(b-m,0)),v=0;m<b;m++,v++)m in g&&a(f,v,g[m]);return f.length=v,f}})}();var zmt,Hmt,$mt,Umt={};!function(){if($mt)return Umt;$mt=1;var t=iyt(),e=ugt(),r=function(){if(Hmt)return zmt;Hmt=1;var t=iyt(),e=uyt();return zmt=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var Vmt,Gmt,Wmt,qmt,Kmt,Ymt,Xmt,Jmt,Zmt,Qmt,tbt,ebt,rbt,nbt,obt,ibt,ubt,abt,sbt,cbt,lbt,fbt,dbt,pbt,hbt,vbt,gbt,ybt,mbt,bbt,Ebt,wbt,Sbt,Cbt,Dbt,Obt,Abt,xbt,Tbt,Nbt,kbt={};function Pbt(){if(Gmt)return Vmt;Gmt=1;var t=iht(),e=Svt(),r=rgt(),n=function(t){return e.slice(0,t.length)===t};return Vmt=n("Bun/")?"BUN":n("Cloudflare-Workers")?"CLOUDFLARE":n("Deno/")?"DENO":n("Node.js/")?"NODE":t.Bun&&"string"==typeof Bun.version?"BUN":t.Deno&&"object"==typeof Deno.version?"DENO":"process"===r(t.process)?"NODE":t.window&&t.document?"BROWSER":"REST"}function Bbt(){if(qmt)return Wmt;qmt=1;var t=Pbt();return Wmt="NODE"===t}function Ibt(){if(Qmt)return Zmt;Qmt=1;var t=wvt(),e=TypeError;return Zmt=function(r,n){if(t(n,r))return r;throw new e("Incorrect invocation")}}function Fbt(){if(nbt)return rbt;nbt=1;var t=mvt(),e=function(){if(ebt)return tbt;ebt=1;var t=Nmt(),e=xvt(),r=TypeError;return tbt=function(n){if(t(n))return n;throw new r(e(n)+" is not a constructor")}}(),r=Rpt(),n=Bvt()("species");return rbt=function(o,i){var u,a=t(o).constructor;return void 0===a||r(u=t(a)[n])?i:e(u)}}function Rbt(){if(cbt)return sbt;cbt=1;var t=Svt();return sbt=/(?:ipad|iphone|ipod).*applewebkit/i.test(t)}function Lbt(){if(fbt)return lbt;fbt=1;var t,e,r,n,o=iht(),i=function(){if(ibt)return obt;ibt=1;var t=Ipt(),e=Function.prototype,r=e.apply,n=e.call;return obt="object"==typeof Reflect&&Reflect.apply||(t?n.bind(r):function(){return n.apply(r,arguments)}),obt}(),u=xmt(),a=Upt(),s=jpt(),c=Ppt(),l=Zyt(),f=Mmt(),d=vvt(),p=function(){if(abt)return ubt;abt=1;var t=TypeError;return ubt=function(e,r){if(e<r)throw new t("Not enough arguments");return e}}(),h=Rbt(),v=Bbt(),g=o.setImmediate,y=o.clearImmediate,m=o.process,b=o.Dispatch,E=o.Function,w=o.MessageChannel,S=o.String,C=0,D={},O="onreadystatechange";c(function(){t=o.location});var A=function(t){if(s(D,t)){var e=D[t];delete D[t],e()}},x=function(t){return function(){A(t)}},T=function(t){A(t.data)},N=function(e){o.postMessage(S(e),t.protocol+"//"+t.host)};return g&&y||(g=function(t){p(arguments.length,1);var r=a(t)?t:E(t),n=f(arguments,1);return D[++C]=function(){i(r,void 0,n)},e(C),C},y=function(t){delete D[t]},v?e=function(t){m.nextTick(x(t))}:b&&b.now?e=function(t){b.now(x(t))}:w&&!h?(n=(r=new w).port2,r.port1.onmessage=T,e=u(n.postMessage,n)):o.addEventListener&&a(o.postMessage)&&!o.importScripts&&t&&"file:"!==t.protocol&&!c(N)?(e=N,o.addEventListener("message",T,!1)):e=O in d("script")?function(t){l.appendChild(d("script"))[O]=function(){l.removeChild(this),A(t)}}:function(t){setTimeout(x(t),0)}),lbt={set:g,clear:y}}function _bt(){if(vbt)return hbt;vbt=1;var t=function(){this.head=null,this.tail=null};return t.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},hbt=t}function jbt(){if(wbt)return Ebt;wbt=1;var t,e,r,n,o,i=iht(),u=function(){if(pbt)return dbt;pbt=1;var t=iht(),e=Bpt(),r=Object.getOwnPropertyDescriptor;return dbt=function(n){if(!e)return t[n];var o=r(t,n);return o&&o.value}}(),a=xmt(),s=Lbt().set,c=_bt(),l=Rbt(),f=function(){if(ybt)return gbt;ybt=1;var t=Svt();return gbt=/ipad|iphone|ipod/i.test(t)&&"undefined"!=typeof Pebble}(),d=function(){if(bbt)return mbt;bbt=1;var t=Svt();return mbt=/web0s(?!.*chrome)/i.test(t)}(),p=Bbt(),h=i.MutationObserver||i.WebKitMutationObserver,v=i.document,g=i.process,y=i.Promise,m=u("queueMicrotask");if(!m){var b=new c,E=function(){var e,r;for(p&&(e=g.domain)&&e.exit();r=b.get();)try{r()}catch(e){throw b.head&&t(),e}e&&e.enter()};l||p||d||!h||!v?!f&&y&&y.resolve?((n=y.resolve(void 0)).constructor=y,o=a(n.then,n),t=function(){o(E)}):p?t=function(){g.nextTick(E)}:(s=a(s,i),t=function(){s(E)}):(e=!0,r=v.createTextNode(""),new h(E).observe(r,{characterData:!0}),t=function(){r.data=e=!e}),m=function(e){b.head||t(),b.add(e)}}return Ebt=m}function Mbt(){return Obt?Dbt:(Obt=1,Dbt=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}})}function zbt(){if(xbt)return Abt;xbt=1;var t=iht();return Abt=t.Promise}function Hbt(){if(Nbt)return Tbt;Nbt=1;var t=iht(),e=zbt(),r=Upt(),n=Ggt(),o=sht(),i=Bvt(),u=Pbt(),a=oht(),s=Cvt(),c=e&&e.prototype,l=i("species"),f=!1,d=r(t.PromiseRejectionEvent),p=n("Promise",function(){var t=o(e),r=t!==String(e);if(!r&&66===s)return!0;if(a&&(!c.catch||!c.finally))return!0;if(!s||s<51||!/native code/.test(t)){var n=new e(function(t){t(1)}),i=function(t){t(function(){},function(){})};if((n.constructor={})[l]=i,!(f=n.then(function(){})instanceof i))return!0}return!(r||"BROWSER"!==u&&"DENO"!==u||d)});return Tbt={CONSTRUCTOR:p,REJECTION_EVENT:d,SUBCLASSING:f}}var $bt,Ubt,Vbt={};function Gbt(){if($bt)return Vbt;$bt=1;var t=Tvt(),e=TypeError,r=function(r){var n,o;this.promise=new r(function(t,r){if(void 0!==n||void 0!==o)throw new e("Bad Promise constructor");n=t,o=r}),this.resolve=t(n),this.reject=t(o)};return Vbt.f=function(t){return new r(t)},Vbt}var Wbt,qbt,Kbt,Ybt,Xbt,Jbt,Zbt,Qbt,tEt,eEt,rEt,nEt,oEt,iEt,uEt,aEt={};function sEt(){if(Ybt)return Kbt;Ybt=1;var t=uyt(),e=Nvt(),r=Rpt(),n=tmt(),o=Bvt()("iterator");return Kbt=function(i){if(!r(i))return e(i,o)||e(i,"@@iterator")||n[t(i)]}}function cEt(){if(eEt)return tEt;eEt=1;var t=xmt(),e=bvt(),r=mvt(),n=xvt(),o=function(){if(qbt)return Wbt;qbt=1;var t=Bvt(),e=tmt(),r=t("iterator"),n=Array.prototype;return Wbt=function(t){return void 0!==t&&(e.Array===t||n[r]===t)}}(),i=xgt(),u=wvt(),a=function(){if(Jbt)return Xbt;Jbt=1;var t=bvt(),e=Tvt(),r=mvt(),n=xvt(),o=sEt(),i=TypeError;return Xbt=function(u,a){var s=arguments.length<2?o(u):a;if(e(s))return r(t(s,u));throw new i(n(u)+" is not iterable")},Xbt}(),s=sEt(),c=function(){if(Qbt)return Zbt;Qbt=1;var t=bvt(),e=mvt(),r=Nvt();return Zbt=function(n,o,i){var u,a;e(n);try{if(!(u=r(n,"return"))){if("throw"===o)throw i;return i}u=t(u,n)}catch(t){a=!0,u=t}if("throw"===o)throw i;if(a)throw u;return e(u),i}}(),l=TypeError,f=function(t,e){this.stopped=t,this.result=e},d=f.prototype;return tEt=function(p,h,v){var g,y,m,b,E,w,S,C=v&&v.that,D=!(!v||!v.AS_ENTRIES),O=!(!v||!v.IS_RECORD),A=!(!v||!v.IS_ITERATOR),x=!(!v||!v.INTERRUPTED),T=t(h,C),N=function(t){return g&&c(g,"normal"),new f(!0,t)},k=function(t){return D?(r(t),x?T(t[0],t[1],N):T(t[0],t[1])):x?T(t,N):T(t)};if(O)g=p.iterator;else if(A)g=p;else{if(!(y=s(p)))throw new l(n(p)+" is not iterable");if(o(y)){for(m=0,b=i(p);b>m;m++)if((E=k(p[m]))&&u(d,E))return E;return new f(!1)}g=a(p,y)}for(w=O?p.next:g.next;!(S=e(w,g)).done;){try{E=k(S.value)}catch(t){c(g,"throw",t)}if("object"==typeof E&&E&&u(d,E))return E}return new f(!1)}}function lEt(){if(nEt)return rEt;nEt=1;var t=Bvt()("iterator"),e=!1;try{var r=0,n={next:function(){return{done:!!r++}},return:function(){e=!0}};n[t]=function(){return this},Array.from(n,function(){throw 2})}catch(t){}return rEt=function(r,n){try{if(!n&&!e)return!1}catch(t){return!1}var o=!1;try{var i={};i[t]=function(){return{next:function(){return{done:o=!0}}}},r(i)}catch(t){}return o}}function fEt(){if(iEt)return oEt;iEt=1;var t=zbt(),e=lEt(),r=Hbt().CONSTRUCTOR;return oEt=r||!e(function(e){t.all(e).then(void 0,function(){})})}var dEt,pEt,hEt,vEt,gEt,yEt,mEt,bEt={},EEt={},wEt={},SEt={};mEt||(mEt=1,function(){if(Ubt)return kbt;Ubt=1;var t,e,r,n,o=Wgt(),i=oht(),u=Bbt(),a=iht(),s=function(){if(Ymt)return Kmt;Ymt=1;var t=iht();return Kmt=t}(),c=bvt(),l=ugt(),f=imt(),d=nmt(),p=function(){if(Jmt)return Xmt;Jmt=1;var t=Evt(),e=$vt(),r=Bvt(),n=Bpt(),o=r("species");return Xmt=function(r){var i=t(r);n&&i&&!i[o]&&e(i,o,{configurable:!0,get:function(){return this}})}}(),h=Tvt(),v=Upt(),g=lht(),y=Ibt(),m=Fbt(),b=Lbt().set,E=jbt(),w=(Cbt||(Cbt=1,Sbt=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}),Sbt),S=Mbt(),C=_bt(),D=zvt(),O=zbt(),A=Hbt(),x=Gbt(),T="Promise",N=A.CONSTRUCTOR,k=A.REJECTION_EVENT,P=A.SUBCLASSING,B=D.getterFor(T),I=D.set,F=O&&O.prototype,R=O,L=F,_=a.TypeError,j=a.document,M=a.process,z=x.f,H=z,$=!!(j&&j.createEvent&&a.dispatchEvent),U="unhandledrejection",V=function(t){var e;return!(!g(t)||!v(e=t.then))&&e},G=function(t,e){var r,n,o,i=e.value,u=1===e.state,a=u?t.ok:t.fail,s=t.resolve,l=t.reject,f=t.domain;try{a?(u||(2===e.rejection&&X(e),e.rejection=1),!0===a?r=i:(f&&f.enter(),r=a(i),f&&(f.exit(),o=!0)),r===t.promise?l(new _("Promise-chain cycle")):(n=V(r))?c(n,r,s,l):s(r)):l(i)}catch(t){f&&!o&&f.exit(),l(t)}},W=function(t,e){t.notified||(t.notified=!0,E(function(){for(var r,n=t.reactions;r=n.get();)G(r,t);t.notified=!1,e&&!t.rejection&&K(t)}))},q=function(t,e,r){var n,o;$?((n=j.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),a.dispatchEvent(n)):n={promise:e,reason:r},!k&&(o=a["on"+t])?o(n):t===U&&w("Unhandled promise rejection",r)},K=function(t){c(b,a,function(){var e,r=t.facade,n=t.value;if(Y(t)&&(e=S(function(){u?M.emit("unhandledRejection",n,r):q(U,r,n)}),t.rejection=u||Y(t)?2:1,e.error))throw e.value})},Y=function(t){return 1!==t.rejection&&!t.parent},X=function(t){c(b,a,function(){var e=t.facade;u?M.emit("rejectionHandled",e):q("rejectionhandled",e,t.value)})},J=function(t,e,r){return function(n){t(e,n,r)}},Z=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,W(t,!0))},Q=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new _("Promise can't be resolved itself");var n=V(e);n?E(function(){var r={done:!1};try{c(n,e,J(Q,r,t),J(Z,r,t))}catch(e){Z(r,e,t)}}):(t.value=e,t.state=1,W(t,!1))}catch(e){Z({done:!1},e,t)}}};if(N&&(L=(R=function(e){y(this,L),h(e),c(t,this);var r=B(this);try{e(J(Q,r),J(Z,r))}catch(t){Z(r,t)}}).prototype,(t=function(t){I(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:0,value:null})}).prototype=l(L,"then",function(t,e){var r=B(this),n=z(m(this,R));return r.parent=!0,n.ok=!v(t)||t,n.fail=v(e)&&e,n.domain=u?M.domain:void 0,0===r.state?r.reactions.add(n):E(function(){G(n,r)}),n.promise}),e=function(){var e=new t,r=B(e);this.promise=e,this.resolve=J(Q,r),this.reject=J(Z,r)},x.f=z=function(t){return t===R||t===r?new e(t):H(t)},!i&&v(O)&&F!==Object.prototype)){n=F.then,P||l(F,"then",function(t,e){var r=this;return new R(function(t,e){c(n,r,t,e)}).then(t,e)},{unsafe:!0});try{delete F.constructor}catch(t){}f&&f(F,L)}o({global:!0,constructor:!0,wrap:!0,forced:N},{Promise:R}),r=s.Promise,d(R,T,!1,!0),p(T)}(),function(){if(uEt)return aEt;uEt=1;var t=Wgt(),e=bvt(),r=Tvt(),n=Gbt(),o=Mbt(),i=cEt();t({target:"Promise",stat:!0,forced:fEt()},{all:function(t){var u=this,a=n.f(u),s=a.resolve,c=a.reject,l=o(function(){var n=r(u.resolve),o=[],a=0,l=1;i(t,function(t){var r=a++,i=!1;l++,e(n,u,t).then(function(t){i||(i=!0,o[r]=t,--l||s(o))},c)}),--l||s(o)});return l.error&&c(l.value),a.promise}})}(),function(){if(dEt)return bEt;dEt=1;var t=Wgt(),e=oht(),r=Hbt().CONSTRUCTOR,n=zbt(),o=Evt(),i=Upt(),u=ugt(),a=n&&n.prototype;if(t({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(t){return this.then(void 0,t)}}),!e&&i(n)){var s=o("Promise").prototype.catch;a.catch!==s&&u(a,"catch",s,{unsafe:!0})}}(),function(){if(pEt)return EEt;pEt=1;var t=Wgt(),e=bvt(),r=Tvt(),n=Gbt(),o=Mbt(),i=cEt();t({target:"Promise",stat:!0,forced:fEt()},{race:function(t){var u=this,a=n.f(u),s=a.reject,c=o(function(){var n=r(u.resolve);i(t,function(t){e(n,u,t).then(a.resolve,s)})});return c.error&&s(c.value),a.promise}})}(),function(){if(hEt)return wEt;hEt=1;var t=Wgt(),e=Gbt();t({target:"Promise",stat:!0,forced:Hbt().CONSTRUCTOR},{reject:function(t){var r=e.f(this);return(0,r.reject)(t),r.promise}})}(),function(){if(yEt)return SEt;yEt=1;var t=Wgt(),e=Evt(),r=oht(),n=zbt(),o=Hbt().CONSTRUCTOR,i=function(){if(gEt)return vEt;gEt=1;var t=mvt(),e=lht(),r=Gbt();return vEt=function(n,o){if(t(n),e(o)&&o.constructor===n)return o;var i=r.f(n);return(0,i.resolve)(o),i.promise}}(),u=e("Promise"),a=r&&!o;t({target:"Promise",stat:!0,forced:r||o},{resolve:function(t){return i(a&&this===u?n:this,t)}})}());var CEt,DEt,OEt,AEt,xEt,TEt={};!function(){if(xEt)return TEt;xEt=1;var t=Mpt().PROPER,e=ugt(),r=mvt(),n=ayt(),o=Ppt(),i=function(){if(AEt)return OEt;AEt=1;var t=bvt(),e=jpt(),r=wvt(),n=function(){if(DEt)return CEt;DEt=1;var t=iht(),e=Ppt(),r=t.RegExp,n=!e(function(){var t=!0;try{r(".","d")}catch(e){t=!1}var e={},n="",o=t?"dgimsy":"gimsy",i=function(t,r){Object.defineProperty(e,t,{get:function(){return n+=r,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(e)!==o||n!==o});return CEt={correct:n}}(),o=syt(),i=RegExp.prototype;return OEt=n.correct?function(t){return t.flags}:function(u){return n.correct||!r(i,u)||e(u,"flags")?u.flags:t(o,u)}}(),u="toString",a=RegExp.prototype,s=a[u],c=o(function(){return"/a/b"!==s.call({source:"a",flags:"b"})}),l=t&&s.name!==u;(c||l)&&e(a,u,function(){var t=r(this);return"/"+n(t.source)+"/"+n(i(t))},{unsafe:!0})}();var NEt,kEt,PEt,BEt={};!function(){if(PEt)return BEt;PEt=1;var t=function(){if(kEt)return NEt;kEt=1;var t=Fpt(),e=Ogt(),r=ayt(),n=Lpt(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=r(n(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return NEt={codeAt:a(!1),charAt:a(!0)}}().charAt,e=ayt(),r=zvt(),n=umt(),o=amt(),i="String Iterator",u=r.set,a=r.getterFor(i);n(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,r=a(this),n=r.string,i=r.index;return i>=n.length?o(void 0,!0):(e=t(n,i),r.index+=e.length,o(e,!1))})}();var IEt,FEt,REt,LEt,_Et={};function jEt(){if(FEt)return IEt;FEt=1;var t=Ppt();return IEt=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})}function MEt(){if(LEt)return REt;LEt=1;var t=ugt();return REt=function(e,r,n){for(var o in r)t(e,o,r[o],n);return e}}var zEt,HEt,$Et,UEt,VEt,GEt,WEt,qEt,KEt,YEt,XEt,JEt,ZEt,QEt,twt={exports:{}},ewt={};function rwt(){if(GEt)return twt.exports;GEt=1;var t=Wgt(),e=Fpt(),r=Mvt(),n=lht(),o=jpt(),i=Rvt().f,u=kgt(),a=function(){if(zEt)return ewt;zEt=1;var t=rgt(),e=ogt(),r=kgt().f,n=Mmt(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return ewt.f=function(i){return o&&"Window"===t(i)?function(t){try{return r(t)}catch(t){return n(o)}}(i):r(e(i))},ewt}(),s=function(){if(VEt)return UEt;VEt=1;var t=Ppt(),e=lht(),r=rgt(),n=function(){if($Et)return HEt;$Et=1;var t=Ppt();return HEt=t(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})}(),o=Object.isExtensible,i=t(function(){});return UEt=i||n?function(t){return!!e(t)&&(!n||"ArrayBuffer"!==r(t))&&(!o||o(t))}:o}(),c=Pvt(),l=jEt(),f=!1,d=c("meta"),p=0,h=function(t){i(t,d,{value:{objectID:"O"+p++,weakData:{}}})},v=twt.exports={enable:function(){v.enable=function(){},f=!0;var r=u.f,n=e([].splice),o={};o[d]=1,r(o).length&&(u.f=function(t){for(var e=r(t),o=0,i=e.length;o<i;o++)if(e[o]===d){n(e,o,1);break}return e},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!n(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,d)){if(!s(t))return"F";if(!e)return"E";h(t)}return t[d].objectID},getWeakData:function(t,e){if(!o(t,d)){if(!s(t))return!0;if(!e)return!1;h(t)}return t[d].weakData},onFreeze:function(t){return l&&f&&s(t)&&!o(t,d)&&h(t),t}};return r[d]=!0,twt.exports}function nwt(){if(YEt)return KEt;YEt=1;var t=Wgt(),e=iht(),r=Fpt(),n=Ggt(),o=ugt(),i=rwt(),u=cEt(),a=Ibt(),s=Upt(),c=Rpt(),l=lht(),f=Ppt(),d=lEt(),p=nmt(),h=function(){if(qEt)return WEt;qEt=1;var t=Upt(),e=lht(),r=imt();return WEt=function(n,o,i){var u,a;return r&&t(u=o.constructor)&&u!==i&&e(a=u.prototype)&&a!==i.prototype&&r(n,a),n}}();return KEt=function(v,g,y){var m=-1!==v.indexOf("Map"),b=-1!==v.indexOf("Weak"),E=m?"set":"add",w=e[v],S=w&&w.prototype,C=w,D={},O=function(t){var e=r(S[t]);o(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!l(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(n(v,!s(w)||!(b||S.forEach&&!f(function(){(new w).entries().next()}))))C=y.getConstructor(g,v,m,E),i.enable();else if(n(v,!0)){var A=new C,x=A[E](b?{}:-0,1)!==A,T=f(function(){A.has(1)}),N=d(function(t){new w(t)}),k=!b&&f(function(){for(var t=new w,e=5;e--;)t[E](e,e);return!t.has(-0)});N||((C=g(function(t,e){a(t,S);var r=h(new w,t,C);return c(e)||u(e,r[E],{that:r,AS_ENTRIES:m}),r})).prototype=S,S.constructor=C),(T||k)&&(O("delete"),O("has"),m&&O("get")),(k||x)&&O(E),b&&S.clear&&delete S.clear}return D[v]=C,t({global:!0,constructor:!0,forced:C!==w},D),p(C,v),b||y.setStrong(C,v,m),C}}QEt||(QEt=1,function(){if(ZEt)return _Et;ZEt=1;var t,e=jEt(),r=iht(),n=Fpt(),o=MEt(),i=rwt(),u=nwt(),a=function(){if(JEt)return XEt;JEt=1;var t=Fpt(),e=MEt(),r=rwt().getWeakData,n=Ibt(),o=mvt(),i=Rpt(),u=lht(),a=cEt(),s=Pmt(),c=jpt(),l=zvt(),f=l.set,d=l.getterFor,p=s.find,h=s.findIndex,v=t([].splice),g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return p(t.entries,function(t){return t[0]===e})};return m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var r=b(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,function(e){return e[0]===t});return~e&&v(this.entries,e,1),!!~e}},XEt={getConstructor:function(t,s,l,p){var h=t(function(t,e){n(t,v),f(t,{type:s,id:g++,frozen:null}),i(e)||a(e,t[p],{that:t,AS_ENTRIES:l})}),v=h.prototype,m=d(s),b=function(t,e,n){var i=m(t),u=r(o(e),!0);return!0===u?y(i).set(e,n):u[i.id]=n,t};return e(v,{delete:function(t){var e=m(this);if(!u(t))return!1;var n=r(t);return!0===n?y(e).delete(t):n&&c(n,e.id)&&delete n[e.id]},has:function(t){var e=m(this);if(!u(t))return!1;var n=r(t);return!0===n?y(e).has(t):n&&c(n,e.id)}}),e(v,l?{get:function(t){var e=m(this);if(u(t)){var n=r(t);if(!0===n)return y(e).get(t);if(n)return n[e.id]}},set:function(t,e){return b(this,t,e)}}:{add:function(t){return b(this,t,!0)}}),h}}}(),s=lht(),c=zvt().enforce,l=Ppt(),f=cht(),d=Object,p=Array.isArray,h=d.isExtensible,v=d.isFrozen,g=d.isSealed,y=d.freeze,m=d.seal,b=!r.ActiveXObject&&"ActiveXObject"in r,E=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},w=u("WeakMap",E,a),S=w.prototype,C=n(S.set);if(f)if(b){t=a.getConstructor(E,"WeakMap",!0),i.enable();var D=n(S.delete),O=n(S.has),A=n(S.get);o(S,{delete:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),D(this,e)||r.frozen.delete(e)}return D(this,e)},has:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),O(this,e)||r.frozen.has(e)}return O(this,e)},get:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),O(this,e)?A(this,e):r.frozen.get(e)}return A(this,e)},set:function(e,r){if(s(e)&&!h(e)){var n=c(this);n.frozen||(n.frozen=new t),O(this,e)?C(this,e,r):n.frozen.set(e,r)}else C(this,e,r);return this}})}else e&&l(function(){var t=y([]);return C(new w,t,1),!v(t)})&&o(S,{set:function(t,e){var r;return p(t)&&(v(t)?r=y:g(t)&&(r=m)),C(this,t,e),r&&r(t),this}})}());var owt,iwt,uwt,awt,swt,cwt,lwt,fwt={};function dwt(){return iwt?owt:(iwt=1,owt={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})}function pwt(){if(awt)return uwt;awt=1;var t=vvt()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return uwt=e===Object.prototype?void 0:e}!function(){if(lwt)return fwt;lwt=1;var t=iht(),e=dwt(),r=pwt(),n=function(){if(cwt)return swt;cwt=1;var t=Pmt().forEach,e=qgt()("forEach");return swt=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},swt}(),o=_vt(),i=function(t){if(t&&t.forEach!==n)try{o(t,"forEach",n)}catch(e){t.forEach=n}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(r)}();var hwt,vwt={};!function(){if(hwt)return vwt;hwt=1;var t=iht(),e=dwt(),r=pwt(),n=smt(),o=_vt(),i=nmt(),u=Bvt()("iterator"),a=n.values,s=function(t,r){if(t){if(t[u]!==a)try{o(t,u,a)}catch(e){t[u]=a}if(i(t,r,!0),e[r])for(var s in n)if(t[s]!==n[s])try{o(t,s,n[s])}catch(e){t[s]=n[s]}}};for(var c in e)s(t[c]&&t[c].prototype,c);s(r,"DOMTokenList")}();var gwt=function(){return gwt=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},gwt.apply(this,arguments)};function ywt(t,e,r,n){return new(r||(r=Promise))(function(e,o){function i(t){try{a(n.next(t))}catch(t){o(t)}}function u(t){try{a(n.throw(t))}catch(t){o(t)}}function a(t){var n;t.done?e(t.value):(n=t.value,n instanceof r?n:new r(function(t){t(n)})).then(i,u)}a((n=n.apply(t,[])).next())})}function mwt(t,e){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=a(0),u.throw=a(1),u.return=a(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;u&&(u=0,a[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function bwt(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,r=t[Symbol.asyncIterator];return r?r.call(t):(t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(r){e[r]=t[r]&&function(e){return new Promise(function(n,o){!function(t,e,r,n){Promise.resolve(n).then(function(e){t({value:e,done:r})},e)}(n,o,(e=t[r](e)).done,e.value)})}}}"function"==typeof SuppressedError&&SuppressedError;var Ewt=new WeakMap;function wwt(t){return t.getMenuConfig("uploadImage")}function Swt(t,e){return ywt(this,0,void 0,function(){return mwt(this,function(r){return[2,new Promise(function(r){var n=new FileReader;n.readAsDataURL(e),n.onload=function(){var o=n.result;if(o){var i=o.toString(),u=0===i.indexOf("data:image")?"":i;sZ(t,i,e.name,u),r("ok")}}})]})})}function Cwt(t,e){return ywt(this,0,void 0,function(){var r,n;return mwt(this,function(o){switch(o.label){case 0:return r=function(t){var e=Ewt.get(t);if(null!=e)return e;var r=wwt(t),n=r.onSuccess,o=r.onProgress,i=r.onFailed,u=r.customInsert,a=r.onError;return e=tL(gwt(gwt({},r),{onProgress:function(e){t.showProgressBar(e),o&&o(e)},onSuccess:function(e,r){if(u)return u(r,function(e,r,n){return sZ(t,e,r,n)}),void n(e,r);var o=r.errno,a=void 0===o?1:o,s=r.data,c=void 0===s?{}:s;if(0===a){if(Array.isArray(c))c.forEach(function(e){var r=e.url,n=void 0===r?"":r,o=e.alt,i=void 0===o?"":o,u=e.href;sZ(t,n,i,void 0===u?"":u)});else{var l=c.url,f=void 0===l?"":l,d=c.alt,p=void 0===d?"":d,h=c.href;sZ(t,f,p,void 0===h?"":h)}n(e,r)}else i(e,r)},onError:function(t,e,r){a(t,e,r)}})),Ewt.set(t,e),e}(t),n=e.map(function(t){return{name:t.name,type:t.type,size:t.size,data:t}}),r.addFiles(n),[4,r.upload()];case 1:return o.sent(),[2]}})})}function Dwt(t,e){return ywt(this,0,void 0,function(){var r,n,o,i,u,a,s,c,l,f,d,p,h,v,g;return mwt(this,function(y){switch(y.label){case 0:if(null==e)return[2];r=Array.prototype.slice.call(e),n=wwt(t),o=n.customUpload,i=n.base64LimitSize,u=[],y.label=1;case 1:y.trys.push([1,10,11,16]),a=!0,s=bwt(r),y.label=2;case 2:return[4,s.next()];case 3:return c=y.sent(),(p=c.done)?[3,9]:(g=c.value,a=!1,f=(l=g).size,i&&f<=i?[4,Swt(t,l)]:[3,5]);case 4:return y.sent(),[3,8];case 5:return o?[4,o(l,function(e,r,n){return sZ(t,e,r,n)})]:[3,7];case 6:return y.sent(),[3,8];case 7:u.push(l),y.label=8;case 8:return a=!0,[3,2];case 9:return[3,16];case 10:return d=y.sent(),h={error:d},[3,16];case 11:return y.trys.push([11,,14,15]),a||p||!(v=s.return)?[3,13]:[4,v.call(s)];case 12:y.sent(),y.label=13;case 13:return[3,15];case 14:if(h)throw h.error;return[7];case 15:return[7];case 16:return u.length>0?[4,Cwt(t,u)]:[3,18];case 17:y.sent(),y.label=18;case 18:return[2]}})})}var Owt=function(){function t(){this.title=LF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.isDisabled=function(t){return iZ(t)},t.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadImage")},t.prototype.exec=function(t,e){var r=this.getMenuConfig(t),n=r.allowedFileTypes,o=void 0===n?[]:n,i=r.customBrowseAndUpload;if(i)i(function(e,r,n){return sZ(t,e,r,n)});else{var u="";o.length>0&&(u='accept="'.concat(o.join(", "),'"'));var a=og("body"),s=og('<input type="file" '.concat(u," multiple/>"));s.hide(),a.append(s),s.click(),s.on("change",function(){var e=s[0].files;Dwt(t,e)})}},t}(),Awt={menus:[{key:"uploadImage",factory:function(){return new Owt},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("'".concat(t.name,"' upload failed"),e)},onError:function(t,e,r){console.error("'".concat(t.name,"' upload error"),r)},base64LimitSize:0}}],editorPlugin:function(t){var e=t.insertData,r=t;return r.insertData=function(n){if(iZ(r))e(n);else if(n.getData("text/plain"))e(n);else{var o=n.files;o.length<=0?e(n):Array.prototype.slice.call(o).some(function(t){return"image"===function(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u}(t.type.split("/"),1)[0]})?Dwt(t,o):e(n)}},r}};BF("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",edit:"Edit video",width:"Width",height:"Height"}}),BF("zh-CN",{videoModule:{delete:"删除视频",uploadVideo:"上传视频",insertVideo:"插入视频",videoSrc:"视频地址",videoSrcPlaceHolder:"视频文件 url 或第三方 <iframe>",videoPoster:"视频封面",videoPosterPlaceHolder:"封面图片 url",ok:"确定",editSize:"修改尺寸",edit:"编辑视频",width:"宽度",height:"高度"}});var xwt,Twt,Nwt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},kwt={};function Pwt(){if(Twt)return xwt;Twt=1;var t=function(t){return t&&t.Math===Math&&t};return xwt=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof Nwt&&Nwt)||t("object"==typeof xwt&&xwt)||function(){return this}()||Function("return this")()}var Bwt,Iwt,Fwt,Rwt,Lwt,_wt,jwt,Mwt,zwt={};function Hwt(){return Iwt?Bwt:(Iwt=1,Bwt=function(t){try{return!!t()}catch(t){return!0}})}function $wt(){if(Rwt)return Fwt;Rwt=1;var t=Hwt();return Fwt=!t(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})}function Uwt(){if(_wt)return Lwt;_wt=1;var t=Hwt();return Lwt=!t(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})}function Vwt(){if(Mwt)return jwt;Mwt=1;var t=Uwt(),e=Function.prototype.call;return jwt=t?e.bind(e):function(){return e.apply(e,arguments)},jwt}var Gwt,Wwt,qwt,Kwt,Ywt,Xwt,Jwt,Zwt,Qwt,tSt,eSt,rSt,nSt,oSt,iSt,uSt,aSt,sSt,cSt,lSt,fSt,dSt,pSt,hSt,vSt,gSt,ySt,mSt,bSt,ESt,wSt,SSt,CSt,DSt,OSt,ASt,xSt,TSt,NSt,kSt,PSt,BSt={};function ISt(){return qwt?Wwt:(qwt=1,Wwt=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}})}function FSt(){if(Ywt)return Kwt;Ywt=1;var t=Uwt(),e=Function.prototype,r=e.call,n=t&&e.bind.bind(r,r);return Kwt=t?n:function(t){return function(){return r.apply(t,arguments)}},Kwt}function RSt(){if(Jwt)return Xwt;Jwt=1;var t=FSt(),e=t({}.toString),r=t("".slice);return Xwt=function(t){return r(e(t),8,-1)}}function LSt(){if(Qwt)return Zwt;Qwt=1;var t=FSt(),e=Hwt(),r=RSt(),n=Object,o=t("".split);return Zwt=e(function(){return!n("z").propertyIsEnumerable(0)})?function(t){return"String"===r(t)?o(t,""):n(t)}:n}function _St(){return eSt?tSt:(eSt=1,tSt=function(t){return null==t})}function jSt(){if(nSt)return rSt;nSt=1;var t=_St(),e=TypeError;return rSt=function(r){if(t(r))throw new e("Can't call method on "+r);return r}}function MSt(){if(iSt)return oSt;iSt=1;var t=LSt(),e=jSt();return oSt=function(r){return t(e(r))}}function zSt(){if(aSt)return uSt;aSt=1;var t="object"==typeof document&&document.all;return uSt=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(t){return"function"==typeof t}}function HSt(){if(cSt)return sSt;cSt=1;var t=zSt();return sSt=function(e){return"object"==typeof e?null!==e:t(e)}}function $St(){if(fSt)return lSt;fSt=1;var t=Pwt(),e=zSt();return lSt=function(r,n){return arguments.length<2?(o=t[r],e(o)?o:void 0):t[r]&&t[r][n];var o},lSt}function USt(){if(pSt)return dSt;pSt=1;var t=FSt();return dSt=t({}.isPrototypeOf)}function VSt(){if(vSt)return hSt;vSt=1;var t=Pwt().navigator,e=t&&t.userAgent;return hSt=e?String(e):""}function GSt(){if(ySt)return gSt;ySt=1;var t,e,r=Pwt(),n=VSt(),o=r.process,i=r.Deno,u=o&&o.versions||i&&i.version,a=u&&u.v8;return a&&(e=(t=a.split("."))[0]>0&&t[0]<4?1:+(t[0]+t[1])),!e&&n&&(!(t=n.match(/Edge\/(\d+)/))||t[1]>=74)&&(t=n.match(/Chrome\/(\d+)/))&&(e=+t[1]),gSt=e}function WSt(){if(bSt)return mSt;bSt=1;var t=GSt(),e=Hwt(),r=Pwt().String;return mSt=!!Object.getOwnPropertySymbols&&!e(function(){var e=Symbol("symbol detection");return!r(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&t&&t<41})}function qSt(){if(wSt)return ESt;wSt=1;var t=WSt();return ESt=t&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}function KSt(){if(CSt)return SSt;CSt=1;var t=$St(),e=zSt(),r=USt(),n=qSt(),o=Object;return SSt=n?function(t){return"symbol"==typeof t}:function(n){var i=t("Symbol");return e(i)&&r(i.prototype,o(n))}}function YSt(){if(OSt)return DSt;OSt=1;var t=String;return DSt=function(e){try{return t(e)}catch(t){return"Object"}}}function XSt(){if(xSt)return ASt;xSt=1;var t=zSt(),e=YSt(),r=TypeError;return ASt=function(n){if(t(n))return n;throw new r(e(n)+" is not a function")}}function JSt(){if(NSt)return TSt;NSt=1;var t=XSt(),e=_St();return TSt=function(r,n){var o=r[n];return e(o)?void 0:t(o)}}var ZSt,QSt,tCt,eCt,rCt,nCt,oCt,iCt,uCt,aCt,sCt,cCt,lCt,fCt,dCt,pCt,hCt,vCt,gCt,yCt,mCt,bCt,ECt,wCt,SCt={exports:{}};function CCt(){return QSt?ZSt:(QSt=1,ZSt=!1)}function DCt(){if(eCt)return tCt;eCt=1;var t=Pwt(),e=Object.defineProperty;return tCt=function(r,n){try{e(t,r,{value:n,configurable:!0,writable:!0})}catch(e){t[r]=n}return n}}function OCt(){if(rCt)return SCt.exports;rCt=1;var t=CCt(),e=Pwt(),r=DCt(),n="__core-js_shared__",o=SCt.exports=e[n]||r(n,{});return(o.versions||(o.versions=[])).push({version:"3.44.0",mode:t?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"}),SCt.exports}function ACt(){if(oCt)return nCt;oCt=1;var t=OCt();return nCt=function(e,r){return t[e]||(t[e]=r||{})}}function xCt(){if(uCt)return iCt;uCt=1;var t=jSt(),e=Object;return iCt=function(r){return e(t(r))}}function TCt(){if(sCt)return aCt;sCt=1;var t=FSt(),e=xCt(),r=t({}.hasOwnProperty);return aCt=Object.hasOwn||function(t,n){return r(e(t),n)}}function NCt(){if(lCt)return cCt;lCt=1;var t=FSt(),e=0,r=Math.random(),n=t(1.1.toString);return cCt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+n(++e+r,36)}}function kCt(){if(dCt)return fCt;dCt=1;var t=Pwt(),e=ACt(),r=TCt(),n=NCt(),o=WSt(),i=qSt(),u=t.Symbol,a=e("wks"),s=i?u.for||u:u&&u.withoutSetter||n;return fCt=function(t){return r(a,t)||(a[t]=o&&r(u,t)?u[t]:s("Symbol."+t)),a[t]}}function PCt(){if(hCt)return pCt;hCt=1;var t=Vwt(),e=HSt(),r=KSt(),n=JSt(),o=function(){if(PSt)return kSt;PSt=1;var t=Vwt(),e=zSt(),r=HSt(),n=TypeError;return kSt=function(o,i){var u,a;if("string"===i&&e(u=o.toString)&&!r(a=t(u,o)))return a;if(e(u=o.valueOf)&&!r(a=t(u,o)))return a;if("string"!==i&&e(u=o.toString)&&!r(a=t(u,o)))return a;throw new n("Can't convert object to primitive value")},kSt}(),i=kCt(),u=TypeError,a=i("toPrimitive");return pCt=function(i,s){if(!e(i)||r(i))return i;var c,l=n(i,a);if(l){if(void 0===s&&(s="default"),c=t(l,i,s),!e(c)||r(c))return c;throw new u("Can't convert object to primitive value")}return void 0===s&&(s="number"),o(i,s)}}function BCt(){if(gCt)return vCt;gCt=1;var t=PCt(),e=KSt();return vCt=function(r){var n=t(r,"string");return e(n)?n:n+""}}function ICt(){if(mCt)return yCt;mCt=1;var t=Pwt(),e=HSt(),r=t.document,n=e(r)&&e(r.createElement);return yCt=function(t){return n?r.createElement(t):{}}}function FCt(){if(ECt)return bCt;ECt=1;var t=$wt(),e=Hwt(),r=ICt();return bCt=!t&&!e(function(){return 7!==Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a})}function RCt(){if(wCt)return zwt;wCt=1;var t=$wt(),e=Vwt(),r=function(){if(Gwt)return BSt;Gwt=1;var t={}.propertyIsEnumerable,e=Object.getOwnPropertyDescriptor,r=e&&!t.call({1:2},1);return BSt.f=r?function(t){var r=e(this,t);return!!r&&r.enumerable}:t,BSt}(),n=ISt(),o=MSt(),i=BCt(),u=TCt(),a=FCt(),s=Object.getOwnPropertyDescriptor;return zwt.f=t?s:function(t,c){if(t=o(t),c=i(c),a)try{return s(t,c)}catch(t){}if(u(t,c))return n(!e(r.f,t,c),t[c])},zwt}var LCt,_Ct,jCt,MCt,zCt,HCt,$Ct,UCt={};function VCt(){if(_Ct)return LCt;_Ct=1;var t=$wt(),e=Hwt();return LCt=t&&e(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})}function GCt(){if(MCt)return jCt;MCt=1;var t=HSt(),e=String,r=TypeError;return jCt=function(n){if(t(n))return n;throw new r(e(n)+" is not an object")}}function WCt(){if(zCt)return UCt;zCt=1;var t=$wt(),e=FCt(),r=VCt(),n=GCt(),o=BCt(),i=TypeError,u=Object.defineProperty,a=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",l="writable";return UCt.f=t?r?function(t,e,r){if(n(t),e=o(e),n(r),"function"==typeof t&&"prototype"===e&&"value"in r&&l in r&&!r[l]){var i=a(t,e);i&&i[l]&&(t[e]=r.value,r={configurable:c in r?r[c]:i[c],enumerable:s in r?r[s]:i[s],writable:!1})}return u(t,e,r)}:u:function(t,r,a){if(n(t),r=o(r),n(a),e)try{return u(t,r,a)}catch(t){}if("get"in a||"set"in a)throw new i("Accessors not supported");return"value"in a&&(t[r]=a.value),t},UCt}function qCt(){if($Ct)return HCt;$Ct=1;var t=$wt(),e=WCt(),r=ISt();return HCt=t?function(t,n,o){return e.f(t,n,r(1,o))}:function(t,e,r){return t[e]=r,t}}var KCt,YCt,XCt,JCt,ZCt,QCt,tDt,eDt,rDt,nDt,oDt,iDt,uDt,aDt,sDt,cDt={exports:{}};function lDt(){if(YCt)return KCt;YCt=1;var t=$wt(),e=TCt(),r=Function.prototype,n=t&&Object.getOwnPropertyDescriptor,o=e(r,"name"),i=o&&"something"===function(){}.name,u=o&&(!t||t&&n(r,"name").configurable);return KCt={EXISTS:o,PROPER:i,CONFIGURABLE:u}}function fDt(){if(JCt)return XCt;JCt=1;var t=FSt(),e=zSt(),r=OCt(),n=t(Function.toString);return e(r.inspectSource)||(r.inspectSource=function(t){return n(t)}),XCt=r.inspectSource}function dDt(){if(QCt)return ZCt;QCt=1;var t=Pwt(),e=zSt(),r=t.WeakMap;return ZCt=e(r)&&/native code/.test(String(r))}function pDt(){if(eDt)return tDt;eDt=1;var t=ACt(),e=NCt(),r=t("keys");return tDt=function(t){return r[t]||(r[t]=e(t))}}function hDt(){return nDt?rDt:(nDt=1,rDt={})}function vDt(){if(iDt)return oDt;iDt=1;var t,e,r,n=dDt(),o=Pwt(),i=HSt(),u=qCt(),a=TCt(),s=OCt(),c=pDt(),l=hDt(),f="Object already initialized",d=o.TypeError,p=o.WeakMap;if(n||s.state){var h=s.state||(s.state=new p);h.get=h.get,h.has=h.has,h.set=h.set,t=function(t,e){if(h.has(t))throw new d(f);return e.facade=t,h.set(t,e),e},e=function(t){return h.get(t)||{}},r=function(t){return h.has(t)}}else{var v=c("state");l[v]=!0,t=function(t,e){if(a(t,v))throw new d(f);return e.facade=t,u(t,v,e),e},e=function(t){return a(t,v)?t[v]:{}},r=function(t){return a(t,v)}}return oDt={set:t,get:e,has:r,enforce:function(n){return r(n)?e(n):t(n,{})},getterFor:function(t){return function(r){var n;if(!i(r)||(n=e(r)).type!==t)throw new d("Incompatible receiver, "+t+" required");return n}}}}function gDt(){if(uDt)return cDt.exports;uDt=1;var t=FSt(),e=Hwt(),r=zSt(),n=TCt(),o=$wt(),i=lDt().CONFIGURABLE,u=fDt(),a=vDt(),s=a.enforce,c=a.get,l=String,f=Object.defineProperty,d=t("".slice),p=t("".replace),h=t([].join),v=o&&!e(function(){return 8!==f(function(){},"length",{value:8}).length}),g=String(String).split("String"),y=cDt.exports=function(t,e,r){"Symbol("===d(l(e),0,7)&&(e="["+p(l(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!n(t,"name")||i&&t.name!==e)&&(o?f(t,"name",{value:e,configurable:!0}):t.name=e),v&&r&&n(r,"arity")&&t.length!==r.arity&&f(t,"length",{value:r.arity});try{r&&n(r,"constructor")&&r.constructor?o&&f(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var u=s(t);return n(u,"source")||(u.source=h(g,"string"==typeof e?e:"")),t};return Function.prototype.toString=y(function(){return r(this)&&c(this).source||u(this)},"toString"),cDt.exports}function yDt(){if(sDt)return aDt;sDt=1;var t=zSt(),e=WCt(),r=gDt(),n=DCt();return aDt=function(o,i,u,a){a||(a={});var s=a.enumerable,c=void 0!==a.name?a.name:i;if(t(u)&&r(u,c,a),a.global)s?o[i]=u:n(i,u);else{try{a.unsafe?o[i]&&(s=!0):delete o[i]}catch(t){}s?o[i]=u:e.f(o,i,{value:u,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable})}return o}}var mDt,bDt,EDt,wDt,SDt,CDt,DDt,ODt,ADt,xDt,TDt,NDt,kDt,PDt,BDt,IDt,FDt,RDt={};function LDt(){if(wDt)return EDt;wDt=1;var t=function(){if(bDt)return mDt;bDt=1;var t=Math.ceil,e=Math.floor;return mDt=Math.trunc||function(r){var n=+r;return(n>0?e:t)(n)}}();return EDt=function(e){var r=+e;return r!=r||0===r?0:t(r)}}function _Dt(){if(CDt)return SDt;CDt=1;var t=LDt(),e=Math.max,r=Math.min;return SDt=function(n,o){var i=t(n);return i<0?e(i+o,0):r(i,o)}}function jDt(){if(ODt)return DDt;ODt=1;var t=LDt(),e=Math.min;return DDt=function(r){var n=t(r);return n>0?e(n,9007199254740991):0}}function MDt(){if(xDt)return ADt;xDt=1;var t=jDt();return ADt=function(e){return t(e.length)}}function zDt(){if(NDt)return TDt;NDt=1;var t=MSt(),e=_Dt(),r=MDt(),n=function(n){return function(o,i,u){var a=t(o),s=r(a);if(0===s)return!n&&-1;var c,l=e(u,s);if(n&&i!=i){for(;s>l;)if((c=a[l++])!=c)return!0}else for(;s>l;l++)if((n||l in a)&&a[l]===i)return n||l||0;return!n&&-1}};return TDt={includes:n(!0),indexOf:n(!1)}}function HDt(){if(PDt)return kDt;PDt=1;var t=FSt(),e=TCt(),r=MSt(),n=zDt().indexOf,o=hDt(),i=t([].push);return kDt=function(t,u){var a,s=r(t),c=0,l=[];for(a in s)!e(o,a)&&e(s,a)&&i(l,a);for(;u.length>c;)e(s,a=u[c++])&&(~n(l,a)||i(l,a));return l}}function $Dt(){return IDt?BDt:(IDt=1,BDt=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"])}function UDt(){if(FDt)return RDt;FDt=1;var t=HDt(),e=$Dt().concat("length","prototype");return RDt.f=Object.getOwnPropertyNames||function(r){return t(r,e)},RDt}var VDt,GDt,WDt,qDt,KDt,YDt,XDt,JDt,ZDt,QDt,tOt,eOt,rOt,nOt,oOt,iOt,uOt,aOt,sOt,cOt,lOt,fOt,dOt,pOt,hOt,vOt,gOt,yOt,mOt={};function bOt(){if(KDt)return qDt;KDt=1;var t=TCt(),e=function(){if(WDt)return GDt;WDt=1;var t=$St(),e=FSt(),r=UDt(),n=(VDt||(VDt=1,mOt.f=Object.getOwnPropertySymbols),mOt),o=GCt(),i=e([].concat);return GDt=t("Reflect","ownKeys")||function(t){var e=r.f(o(t)),u=n.f;return u?i(e,u(t)):e}}(),r=RCt(),n=WCt();return qDt=function(o,i,u){for(var a=e(i),s=n.f,c=r.f,l=0;l<a.length;l++){var f=a[l];t(o,f)||u&&t(u,f)||s(o,f,c(i,f))}}}function EOt(){if(XDt)return YDt;XDt=1;var t=Hwt(),e=zSt(),r=/#|\.prototype\./,n=function(r,n){var s=i[o(r)];return s===a||s!==u&&(e(n)?t(n):!!n)},o=n.normalize=function(t){return String(t).replace(r,".").toLowerCase()},i=n.data={},u=n.NATIVE="N",a=n.POLYFILL="P";return YDt=n}function wOt(){if(ZDt)return JDt;ZDt=1;var t=Pwt(),e=RCt().f,r=qCt(),n=yDt(),o=DCt(),i=bOt(),u=EOt();return JDt=function(a,s){var c,l,f,d,p,h=a.target,v=a.global,g=a.stat;if(c=v?t:g?t[h]||o(h,{}):t[h]&&t[h].prototype)for(l in s){if(d=s[l],f=a.dontCallGetSet?(p=e(c,l))&&p.value:c[l],!u(v?l:h+(g?".":"#")+l,a.forced)&&void 0!==f){if(typeof d==typeof f)continue;i(d,f)}(a.sham||f&&f.sham)&&r(d,"sham",!0),n(c,l,d,a)}}}function SOt(){if(tOt)return QDt;tOt=1;var t=RSt();return QDt=Array.isArray||function(e){return"Array"===t(e)}}function COt(){if(oOt)return nOt;oOt=1;var t=$wt(),e=WCt(),r=ISt();return nOt=function(n,o,i){t?e.f(n,o,r(0,i)):n[o]=i}}function DOt(){if(uOt)return iOt;uOt=1;var t={};return t[kCt()("toStringTag")]="z",iOt="[object z]"===String(t)}function OOt(){if(sOt)return aOt;sOt=1;var t=DOt(),e=zSt(),r=RSt(),n=kCt()("toStringTag"),o=Object,i="Arguments"===r(function(){return arguments}());return aOt=t?r:function(t){var u,a,s;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(a=function(t,e){try{return t[e]}catch(t){}}(u=o(t),n))?a:i?r(u):"Object"===(s=r(u))&&e(u.callee)?"Arguments":s}}function AOt(){if(lOt)return cOt;lOt=1;var t=FSt(),e=Hwt(),r=zSt(),n=OOt(),o=$St(),i=fDt(),u=function(){},a=o("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=t(s.exec),l=!s.test(u),f=function(t){if(!r(t))return!1;try{return a(u,[],t),!0}catch(t){return!1}},d=function(t){if(!r(t))return!1;switch(n(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return l||!!c(s,i(t))}catch(t){return!0}};return d.sham=!0,cOt=!a||e(function(){var t;return f(f.call)||!f(Object)||!f(function(){t=!0})||t})?d:f}function xOt(){if(hOt)return pOt;hOt=1;var t=function(){if(dOt)return fOt;dOt=1;var t=SOt(),e=AOt(),r=HSt(),n=kCt()("species"),o=Array;return fOt=function(i){var u;return t(i)&&(u=i.constructor,(e(u)&&(u===o||t(u.prototype))||r(u)&&null===(u=u[n]))&&(u=void 0)),void 0===u?o:u}}();return pOt=function(e,r){return new(t(e))(0===r?0:r)}}function TOt(){if(gOt)return vOt;gOt=1;var t=Hwt(),e=kCt(),r=GSt(),n=e("species");return vOt=function(e){return r>=51||!t(function(){var t=[];return(t.constructor={})[n]=function(){return{foo:1}},1!==t[e](Boolean).foo})}}!function(){if(yOt)return kwt;yOt=1;var t=wOt(),e=Hwt(),r=SOt(),n=HSt(),o=xCt(),i=MDt(),u=function(){if(rOt)return eOt;rOt=1;var t=TypeError;return eOt=function(e){if(e>9007199254740991)throw t("Maximum allowed index exceeded");return e}}(),a=COt(),s=xOt(),c=TOt(),l=kCt(),f=GSt(),d=l("isConcatSpreadable"),p=f>=51||!e(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),h=function(t){if(!n(t))return!1;var e=t[d];return void 0!==e?!!e:r(t)};t({target:"Array",proto:!0,arity:1,forced:!p||!c("concat")},{concat:function(t){var e,r,n,c,l,f=o(this),d=s(f,0),p=0;for(e=-1,n=arguments.length;e<n;e++)if(h(l=-1===e?f:arguments[e]))for(c=i(l),u(p+c),r=0;r<c;r++,p++)r in l&&a(d,p,l[r]);else u(p+1),a(d,p++,l);return d.length=p,d}})}();var NOt,kOt,POt,BOt,IOt,FOt,ROt,LOt,_Ot,jOt={};function MOt(){if(kOt)return NOt;kOt=1;var t=OOt(),e=String;return NOt=function(r){if("Symbol"===t(r))throw new TypeError("Cannot convert a Symbol value to a string");return e(r)}}function zOt(){return BOt?POt:(BOt=1,POt="\t\n\v\f\r \u2028\u2029\ufeff")}!function(){if(_Ot)return jOt;_Ot=1;var t=wOt(),e=function(){if(FOt)return IOt;FOt=1;var t=FSt(),e=jSt(),r=MOt(),n=zOt(),o=t("".replace),i=RegExp("^["+n+"]+"),u=RegExp("(^|[^"+n+"])["+n+"]+$"),a=function(t){return function(n){var a=r(e(n));return 1&t&&(a=o(a,i,"")),2&t&&(a=o(a,u,"$1")),a}};return IOt={start:a(1),end:a(2),trim:a(3)}}().trim,r=function(){if(LOt)return ROt;LOt=1;var t=lDt().PROPER,e=Hwt(),r=zOt();return ROt=function(n){return e(function(){return!!r[n]()||"
"!=="
"[n]()||t&&r[n].name!==n})}}();t({target:"String",proto:!0,forced:r("trim")},{trim:function(){return e(this)}})}();var HOt,$Ot,UOt={};function VOt(t){return t.length?t[0].tagName.toLowerCase():""}function GOt(t,e,r,n){void 0===e&&(e="auto"),void 0===r&&(r="auto"),void 0===n&&(n={});var o=og(t),i=n.width,u=void 0===i?"":i,a=n.height,s=void 0===a?"":a,c="";return u&&(c+="width: ".concat(u,";")),s&&(c+="height: ".concat(s,";")),o.attr("width",e),o.attr("height",r),o.attr("style",c),o[0].outerHTML}$Ot||($Ot=1,function(){if(HOt)return UOt;HOt=1;var t=wOt(),e=Pwt();t({global:!0,forced:e.globalThis!==e},{globalThis:e})}()),Ag&&(og.fn.append=Ag),pg&&(og.fn.on=pg),_g&&(og.fn.focus=_g),sg&&(og.fn.attr=sg),dg&&(og.fn.val=dg),Cg&&(og.fn.html=Cg),Tg&&(og.fn.parent=Tg),ag&&(og.fn.hasClass=ag),Ig&&(og.fn.empty=Ig);var WOt,qOt,KOt,YOt={type:"video",elemToHtml:function(t,e){var r=t,n=r.src,o=void 0===n?"":n,i=r.poster,u=void 0===i?"":i,a=r.width,s=void 0===a?"auto":a,c=r.height,l=void 0===c?"auto":c,f=r.style,d=void 0===f?{}:f,p=r.textAlign,h='<div data-w-e-type="video" data-w-e-is-void style="text-align: '.concat(void 0===p?"center":p,';">\n');if(0===o.trim().indexOf("<iframe "))h+=GOt(o,s,l,d);else{var v=d.width,g=void 0===v?"":v,y=d.height,m=void 0===y?"":y,b="";g&&(b+="width: ".concat(g,";")),m&&(b+="height: ".concat(m,";")),h+='<video poster="'.concat(u,'" controls="true" width="').concat(s,'" height="').concat(l,'" style="').concat(b,'"><source src="').concat(o,'" type="video/mp4"/></video>')}return h+"\n</div>"}},XOt={};function JOt(){if(qOt)return WOt;qOt=1;var t=gDt(),e=WCt();return WOt=function(r,n,o){return o.get&&t(o.get,n,{getter:!0}),o.set&&t(o.set,n,{setter:!0}),e.f(r,n,o)}}!function(){if(KOt)return XOt;KOt=1;var t=$wt(),e=lDt().EXISTS,r=FSt(),n=JOt(),o=Function.prototype,i=r(o.toString),u=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,a=r(u.exec);t&&!e&&n(o,"name",{configurable:!0,get:function(){try{return a(u,i(this))[1]}catch(t){return""}}})}();var ZOt,QOt,tAt,eAt,rAt,nAt,oAt={};function iAt(){if(eAt)return tAt;eAt=1;var t=function(){if(QOt)return ZOt;QOt=1;var t=RSt(),e=FSt();return ZOt=function(r){if("Function"===t(r))return e(r)}}(),e=XSt(),r=Uwt(),n=t(t.bind);return tAt=function(t,o){return e(t),void 0===o?t:r?n(t,o):function(){return t.apply(o,arguments)}},tAt}function uAt(){if(nAt)return rAt;nAt=1;var t=iAt(),e=FSt(),r=LSt(),n=xCt(),o=MDt(),i=xOt(),u=e([].push),a=function(e){var a=1===e,s=2===e,c=3===e,l=4===e,f=6===e,d=7===e,p=5===e||f;return function(h,v,g,y){for(var m,b,E=n(h),w=r(E),S=o(w),C=t(v,g),D=0,O=y||i,A=a?O(h,S):s||d?O(h,0):void 0;S>D;D++)if((p||D in w)&&(b=C(m=w[D],D,E),e))if(a)A[D]=b;else if(b)switch(e){case 3:return!0;case 5:return m;case 6:return D;case 2:u(A,m)}else switch(e){case 4:return!1;case 7:u(A,m)}return f?-1:c||l?l:A}};return rAt={forEach:a(0),map:a(1),filter:a(2),some:a(3),every:a(4),find:a(5),findIndex:a(6),filterReject:a(7)}}var aAt,sAt,cAt,lAt,fAt,dAt,pAt,hAt,vAt,gAt,yAt={};function mAt(){if(fAt)return lAt;fAt=1;var t=$St();return lAt=t("document","documentElement")}function bAt(){if(pAt)return dAt;pAt=1;var t,e=GCt(),r=function(){if(cAt)return yAt;cAt=1;var t=$wt(),e=VCt(),r=WCt(),n=GCt(),o=MSt(),i=function(){if(sAt)return aAt;sAt=1;var t=HDt(),e=$Dt();return aAt=Object.keys||function(r){return t(r,e)}}();return yAt.f=t&&!e?Object.defineProperties:function(t,e){n(t);for(var u,a=o(e),s=i(e),c=s.length,l=0;c>l;)r.f(t,u=s[l++],a[u]);return t},yAt}(),n=$Dt(),o=hDt(),i=mAt(),u=ICt(),a=pDt(),s="prototype",c="script",l=a("IE_PROTO"),f=function(){},d=function(t){return"<"+c+">"+t+"</"+c+">"},p=function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e},h=function(){try{t=new ActiveXObject("htmlfile")}catch(t){}var e,r,o;h="undefined"!=typeof document?document.domain&&t?p(t):(r=u("iframe"),o="java"+c+":",r.style.display="none",i.appendChild(r),r.src=String(o),(e=r.contentWindow.document).open(),e.write(d("document.F=Object")),e.close(),e.F):p(t);for(var a=n.length;a--;)delete h[s][n[a]];return h()};return o[l]=!0,dAt=Object.create||function(t,n){var o;return null!==t?(f[s]=e(t),o=new f,f[s]=null,o[l]=t):o=h(),void 0===n?o:r.f(o,n)}}function EAt(){if(vAt)return hAt;vAt=1;var t=kCt(),e=bAt(),r=WCt().f,n=t("unscopables"),o=Array.prototype;return void 0===o[n]&&r(o,n,{configurable:!0,value:e(null)}),hAt=function(t){o[n][t]=!0}}!function(){if(gAt)return oAt;gAt=1;var t=wOt(),e=uAt().find,r=EAt(),n="find",o=!0;n in[]&&Array(1)[n](function(){o=!1}),t({target:"Array",proto:!0,forced:o},{find:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),r(n)}();var wAt,SAt,CAt,DAt={};!function(){if(CAt)return DAt;CAt=1;var t=DOt(),e=yDt(),r=function(){if(SAt)return wAt;SAt=1;var t=DOt(),e=OOt();return wAt=t?{}.toString:function(){return"[object "+e(this)+"]"}}();t||e(Object.prototype,"toString",r,{unsafe:!0})}();var OAt,AAt,xAt,TAt,NAt,kAt,PAt,BAt,IAt,FAt,RAt,LAt={};function _At(){if(AAt)return OAt;AAt=1;var t=GCt();return OAt=function(){var e=t(this),r="";return e.hasIndices&&(r+="d"),e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.unicodeSets&&(r+="v"),e.sticky&&(r+="y"),r}}function jAt(){if(FAt)return IAt;FAt=1;var t,e,r=Vwt(),n=FSt(),o=MOt(),i=_At(),u=function(){if(TAt)return xAt;TAt=1;var t=Hwt(),e=Pwt().RegExp,r=t(function(){var t=e("a","y");return t.lastIndex=2,null!==t.exec("abcd")}),n=r||t(function(){return!e("a","y").sticky}),o=r||t(function(){var t=e("^r","gy");return t.lastIndex=2,null!==t.exec("str")});return xAt={BROKEN_CARET:o,MISSED_STICKY:n,UNSUPPORTED_Y:r}}(),a=ACt(),s=bAt(),c=vDt().get,l=function(){if(kAt)return NAt;kAt=1;var t=Hwt(),e=Pwt().RegExp;return NAt=t(function(){var t=e(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})}(),f=function(){if(BAt)return PAt;BAt=1;var t=Hwt(),e=Pwt().RegExp;return PAt=t(function(){var t=e("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})}(),d=a("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,v=n("".charAt),g=n("".indexOf),y=n("".replace),m=n("".slice),b=(e=/b*/g,r(p,t=/a/,"a"),r(p,e,"a"),0!==t.lastIndex||0!==e.lastIndex),E=u.BROKEN_CARET,w=void 0!==/()??/.exec("")[1];return(b||w||E||l||f)&&(h=function(t){var e,n,u,a,l,f,S,C=this,D=c(C),O=o(t),A=D.raw;if(A)return A.lastIndex=C.lastIndex,e=r(h,A,O),C.lastIndex=A.lastIndex,e;var x=D.groups,T=E&&C.sticky,N=r(i,C),k=C.source,P=0,B=O;if(T&&(N=y(N,"y",""),-1===g(N,"g")&&(N+="g"),B=m(O,C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&"\n"!==v(O,C.lastIndex-1))&&(k="(?: "+k+")",B=" "+B,P++),n=new RegExp("^(?:"+k+")",N)),w&&(n=new RegExp("^"+k+"$(?!\\s)",N)),b&&(u=C.lastIndex),a=r(p,T?n:C,B),T?a?(a.input=m(a.input,P),a[0]=m(a[0],P),a.index=C.lastIndex,C.lastIndex+=a[0].length):C.lastIndex=0:b&&a&&(C.lastIndex=C.global?a.index+a[0].length:u),w&&a&&a.length>1&&r(d,a[0],n,function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)}),a&&x)for(a.groups=f=s(null),l=0;l<x.length;l++)f[(S=x[l])[0]]=a[S[1]];return a}),IAt=h}function MAt(){if(RAt)return LAt;RAt=1;var t=wOt(),e=jAt();return t({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e}),LAt}MAt();var zAt=function(){return zAt=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},zAt.apply(this,arguments)};function HAt(t,e,r,n){return new(r||(r=Promise))(function(o,i){function u(t){try{s(n.next(t))}catch(t){i(t)}}function a(t){try{s(n.throw(t))}catch(t){i(t)}}function s(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r(function(t){t(e)})).then(u,a)}s((n=n.apply(t,e||[])).next())})}function $At(t,e){var r,n,o,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=a(0),u.throw=a(1),u.return=a(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(a){return function(s){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;u&&(u=0,a[0]&&(i=0)),i;)try{if(r=1,n&&(o=2&a[0]?n.return:a[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,a[1])).done)return o;switch(n=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,n=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!((o=(o=i.trys).length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t],n=0}finally{r=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,s])}}}function UAt(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)u.push(n.value)}catch(t){o={error:t}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return u}function VAt(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,r=t[Symbol.asyncIterator];return r?r.call(t):(t=function(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}(t),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(r){e[r]=t[r]&&function(e){return new Promise(function(n,o){!function(t,e,r,n){Promise.resolve(n).then(function(e){t({value:e,done:r})},e)}(n,o,(e=t[r](e)).done,e.value)})}}}"function"==typeof SuppressedError&&SuppressedError;var GAt,WAt,qAt,KAt,YAt,XAt,JAt,ZAt,QAt,txt,ext,rxt,nxt,oxt,ixt,uxt,axt,sxt={};function cxt(){if(WAt)return GAt;WAt=1;var t=Uwt(),e=Function.prototype,r=e.apply,n=e.call;return GAt="object"==typeof Reflect&&Reflect.apply||(t?n.bind(r):function(){return n.apply(r,arguments)}),GAt}function lxt(){if(XAt)return YAt;XAt=1;var t=FSt(),e=LDt(),r=MOt(),n=jSt(),o=t("".charAt),i=t("".charCodeAt),u=t("".slice),a=function(t){return function(a,s){var c,l,f=r(n(a)),d=e(s),p=f.length;return d<0||d>=p?t?"":void 0:(c=i(f,d))<55296||c>56319||d+1===p||(l=i(f,d+1))<56320||l>57343?t?o(f,d):c:t?u(f,d,d+2):l-56320+(c-55296<<10)+65536}};return YAt={codeAt:a(!1),charAt:a(!0)}}function fxt(){if(oxt)return nxt;oxt=1;var t=Vwt(),e=TCt(),r=USt(),n=function(){if(rxt)return ext;rxt=1;var t=Pwt(),e=Hwt(),r=t.RegExp,n=!e(function(){var t=!0;try{r(".","d")}catch(e){t=!1}var e={},n="",o=t?"dgimsy":"gimsy",i=function(t,r){Object.defineProperty(e,t,{get:function(){return n+=r,!0}})},u={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var a in t&&(u.hasIndices="d"),u)i(a,u[a]);return Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(e)!==o||n!==o});return ext={correct:n}}(),o=_At(),i=RegExp.prototype;return nxt=n.correct?function(t){return t.flags}:function(u){return n.correct||!r(i,u)||e(u,"flags")?u.flags:t(o,u)}}!function(){if(axt)return sxt;axt=1;var t=cxt(),e=Vwt(),r=FSt(),n=function(){if(KAt)return qAt;KAt=1,MAt();var t=Vwt(),e=yDt(),r=jAt(),n=Hwt(),o=kCt(),i=qCt(),u=o("species"),a=RegExp.prototype;return qAt=function(s,c,l,f){var d=o(s),p=!n(function(){var t={};return t[d]=function(){return 7},7!==""[s](t)}),h=p&&!n(function(){var t=!1,e=/a/;return"split"===s&&((e={}).constructor={},e.constructor[u]=function(){return e},e.flags="",e[d]=/./[d]),e.exec=function(){return t=!0,null},e[d](""),!t});if(!p||!h||l){var v=/./[d],g=c(d,""[s],function(e,n,o,i,u){var s=n.exec;return s===r||s===a.exec?p&&!u?{done:!0,value:t(v,n,o,i)}:{done:!0,value:t(e,o,n,i)}:{done:!1}});e(String.prototype,s,g[0]),e(a,d,g[1])}f&&i(a[d],"sham",!0)}}(),o=Hwt(),i=GCt(),u=zSt(),a=HSt(),s=LDt(),c=jDt(),l=MOt(),f=jSt(),d=function(){if(ZAt)return JAt;ZAt=1;var t=lxt().charAt;return JAt=function(e,r,n){return r+(n?t(e,r).length:1)}}(),p=JSt(),h=function(){if(txt)return QAt;txt=1;var t=FSt(),e=xCt(),r=Math.floor,n=t("".charAt),o=t("".replace),i=t("".slice),u=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;return QAt=function(t,s,c,l,f,d){var p=c+t.length,h=l.length,v=a;return void 0!==f&&(f=e(f),v=u),o(d,v,function(e,o){var u;switch(n(o,0)){case"$":return"$";case"&":return t;case"`":return i(s,0,c);case"'":return i(s,p);case"<":u=f[i(o,1,-1)];break;default:var a=+o;if(0===a)return e;if(a>h){var d=r(a/10);return 0===d?e:d<=h?void 0===l[d-1]?n(o,1):l[d-1]+n(o,1):e}u=l[a-1]}return void 0===u?"":u})}}(),v=fxt(),g=function(){if(uxt)return ixt;uxt=1;var t=Vwt(),e=GCt(),r=zSt(),n=RSt(),o=jAt(),i=TypeError;return ixt=function(u,a){var s=u.exec;if(r(s)){var c=t(s,u,a);return null!==c&&e(c),c}if("RegExp"===n(u))return t(o,u,a);throw new i("RegExp#exec called on incompatible receiver")}}(),y=kCt()("replace"),m=Math.max,b=Math.min,E=r([].concat),w=r([].push),S=r("".indexOf),C=r("".slice),D=function(t){return void 0===t?t:String(t)},O="$0"==="a".replace(/./,"$0"),A=!!/./[y]&&""===/./[y]("a","$0");n("replace",function(r,n,o){var O=A?"$":"$0";return[function(t,r){var o=f(this),i=a(t)?p(t,y):void 0;return i?e(i,t,o,r):e(n,l(o),t,r)},function(e,r){var a=i(this),f=l(e);if("string"==typeof r&&-1===S(r,O)&&-1===S(r,"$<")){var p=o(n,a,f,r);if(p.done)return p.value}var y=u(r);y||(r=l(r));var A,x=l(v(a)),T=-1!==S(x,"g");T&&(A=-1!==S(x,"u"),a.lastIndex=0);for(var N,k=[];null!==(N=g(a,f))&&(w(k,N),T);)""===l(N[0])&&(a.lastIndex=d(f,c(a.lastIndex),A));for(var P="",B=0,I=0;I<k.length;I++){for(var F,R=l((N=k[I])[0]),L=m(b(s(N.index),f.length),0),_=[],j=1;j<N.length;j++)w(_,D(N[j]));var M=N.groups;if(y){var z=E([R],_,L,f);void 0!==M&&w(z,M),F=l(t(r,void 0,z))}else F=h(R,f,L,_,M,r);L>=B&&(P+=C(f,B,L)+F,B=L+R.length)}return P+C(f,B)}]},!!o(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})||!O||A)}();var dxt,pxt,hxt,vxt,gxt,yxt,mxt,bxt,Ext,wxt={};function Sxt(){return pxt?dxt:(pxt=1,dxt={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})}function Cxt(){if(vxt)return hxt;vxt=1;var t=ICt()("span").classList,e=t&&t.constructor&&t.constructor.prototype;return hxt=e===Object.prototype?void 0:e}function Dxt(){if(yxt)return gxt;yxt=1;var t=Hwt();return gxt=function(e,r){var n=[][e];return!!n&&t(function(){n.call(null,r||function(){return 1},1)})}}function Oxt(t){return void 0===t&&(t="r"),"".concat(t,"-").concat(jg())}function Axt(t){var e={};return t.trim().split(";").forEach(function(t){if(t){var r=UAt(t.split(":"),2),n=r[0],o=r[1];n&&o&&(e[n.trim()]=o.trim())}}),e}function xxt(){return Oxt("w-e-insert-video")}!function(){if(Ext)return wxt;Ext=1;var t=Pwt(),e=Sxt(),r=Cxt(),n=function(){if(bxt)return mxt;bxt=1;var t=uAt().forEach,e=Dxt()("forEach");return mxt=e?[].forEach:function(e){return t(this,e,arguments.length>1?arguments[1]:void 0)},mxt}(),o=qCt(),i=function(t){if(t&&t.forEach!==n)try{o(t,"forEach",n)}catch(e){t.forEach=n}};for(var u in e)e[u]&&i(t[u]&&t[u].prototype);i(r)}();var Txt=function(){function t(){this.title=LF("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=xxt(),this.heightInputId=xxt(),this.buttonId=xxt()}return t.prototype.getSelectedVideoNode=function(t){return CB.getSelectedNodeByType(t,"video")},t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedVideoNode(t)},t.prototype.getModalPositionNode=function(t){return this.getSelectedVideoNode(t)},t.prototype.getModalContentElem=function(t){var e=this,r=e.widthInputId,n=e.heightInputId,o=e.buttonId,i=UAt(qF(LF("videoModule.width"),r,"auto"),2),u=i[0],a=og(i[1]),s=UAt(qF(LF("videoModule.height"),n,"auto"),2),c=s[0],l=og(s[1]),f=UAt(YF(o,LF("videoModule.ok")),1)[0],d=this.getSelectedVideoNode(t);if(null==this.$content){var p=og("<div></div>");p.on("click","#".concat(o),function(e){e.preventDefault();var o=p.find("#".concat(r)).val().trim(),i=p.find("#".concat(n)).val().trim(),u=function(t){return/^\d+(\.\d+)?%$/.test(t)},a=function(t){return/^\d+(\.\d+)?$/.test(t)},s="auto",c="auto";u(o)?s=o:a(o)&&(s="".concat(parseInt(o,10),"px")),u(i)?c=i:a(i)&&(c="".concat(parseInt(i,10),"px"));var l=d.style,f=void 0===l?{}:l;t.restoreSelection();var h={style:zAt(zAt({},f),{width:s,height:c})};zv.setNodes(t,h,{match:function(t){return CB.checkNodeType(t,"video")}}),t.hidePanelOrModal()}),this.$content=p}var h=this.$content;if(h.empty(),h.append(u),h.append(c),h.append(f),null==d)return h[0];var v=d.style,g=void 0===v?{}:v,y=g.width,m=void 0===y?"":y,b=g.height,E=void 0===b?"":b;return a.val(m),l.val(E),setTimeout(function(){a.focus()}),h[0]},t}();function Nxt(){return Oxt("w-e-edit-video")}var kxt,Pxt,Bxt,Ixt,Fxt,Rxt,Lxt,_xt,jxt,Mxt,zxt,Hxt,$xt,Uxt,Vxt,Gxt,Wxt,qxt,Kxt,Yxt,Xxt,Jxt,Zxt,Qxt,tTt,eTt,rTt,nTt,oTt,iTt,uTt,aTt,sTt,cTt,lTt,fTt,dTt,pTt,hTt,vTt,gTt,yTt,mTt,bTt,ETt,wTt,STt,CTt,DTt,OTt,ATt=function(){function t(){this.title=LF("videoModule.edit"),this.iconSvg='<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>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=Nxt(),this.posterInputId=Nxt(),this.buttonId=Nxt()}return t.prototype.getSelectedVideoNode=function(t){return CB.getSelectedNodeByType(t,"video")},t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedVideoNode(t)},t.prototype.getModalPositionNode=function(t){return this.getSelectedVideoNode(t)},t.prototype.getModalContentElem=function(t){var e=this,r=this,n=r.srcInputId,o=r.posterInputId,i=r.buttonId,u=UAt(qF(LF("videoModule.videoSrc"),n,LF("videoModule.videoSrcPlaceHolder")),2),a=u[0],s=u[1],c=UAt(qF(LF("videoModule.videoPoster"),o,LF("videoModule.videoPosterPlaceHolder")),2),l=c[0],f=c[1],d=og(s),p=og(f),h=UAt(YF(i,LF("videoModule.ok")),1)[0];if(null==this.$content){var v=og("<div></div>");v.on("click","#".concat(i),function(r){return HAt(e,void 0,void 0,function(){var e,i,u,a;return $At(this,function(s){return r.preventDefault(),e=v.find("#".concat(n)).val().trim(),i=v.find("#".concat(o)).val().trim(),u=Oxt("video-"),a={src:e,poster:i,key:u},t.restoreSelection(),zv.setNodes(t,a,{match:function(t){return CB.checkNodeType(t,"video")}}),t.hidePanelOrModal(),[2]})})}),this.$content=v}var g=this.$content;g.empty(),g.append(a),g.append(l),g.append(h);var y=this.getSelectedVideoNode(t);if(null==y)return g[0];var m=y.src,b=void 0===m?"":m,E=y.poster,w=void 0===E?"":E;return d.val(b),p.val(w),setTimeout(function(){d.focus()}),g[0]},t}(),xTt={};function TTt(){if(Pxt)return kxt;Pxt=1;var t=Pwt(),e=VSt(),r=RSt(),n=function(t){return e.slice(0,t.length)===t};return kxt=n("Bun/")?"BUN":n("Cloudflare-Workers")?"CLOUDFLARE":n("Deno/")?"DENO":n("Node.js/")?"NODE":t.Bun&&"string"==typeof Bun.version?"BUN":t.Deno&&"object"==typeof Deno.version?"DENO":"process"===r(t.process)?"NODE":t.window&&t.document?"BROWSER":"REST"}function NTt(){if(Ixt)return Bxt;Ixt=1;var t=TTt();return Bxt="NODE"===t}function kTt(){if(Hxt)return zxt;Hxt=1;var t=function(){if(Mxt)return jxt;Mxt=1;var t=HSt();return jxt=function(e){return t(e)||null===e}}(),e=String,r=TypeError;return zxt=function(n){if(t(n))return n;throw new r("Can't set "+e(n)+" as a prototype")}}function PTt(){if(Uxt)return $xt;Uxt=1;var t=function(){if(_xt)return Lxt;_xt=1;var t=FSt(),e=XSt();return Lxt=function(r,n,o){try{return t(e(Object.getOwnPropertyDescriptor(r,n)[o]))}catch(t){}}}(),e=HSt(),r=jSt(),n=kTt();return $xt=Object.setPrototypeOf||("__proto__"in{}?function(){var o,i=!1,u={};try{(o=t(Object.prototype,"__proto__","set"))(u,[]),i=u instanceof Array}catch(t){}return function(t,u){return r(t),n(u),e(t)?(i?o(t,u):t.__proto__=u,t):t}}():void 0)}function BTt(){if(Gxt)return Vxt;Gxt=1;var t=WCt().f,e=TCt(),r=kCt()("toStringTag");return Vxt=function(n,o,i){n&&!i&&(n=n.prototype),n&&!e(n,r)&&t(n,r,{configurable:!0,value:o})}}function ITt(){if(qxt)return Wxt;qxt=1;var t=$St(),e=JOt(),r=kCt(),n=$wt(),o=r("species");return Wxt=function(r){var i=t(r);n&&i&&!i[o]&&e(i,o,{configurable:!0,get:function(){return this}})}}function FTt(){if(Yxt)return Kxt;Yxt=1;var t=USt(),e=TypeError;return Kxt=function(r,n){if(t(n,r))return r;throw new e("Incorrect invocation")}}function RTt(){if(Qxt)return Zxt;Qxt=1;var t=GCt(),e=function(){if(Jxt)return Xxt;Jxt=1;var t=AOt(),e=YSt(),r=TypeError;return Xxt=function(n){if(t(n))return n;throw new r(e(n)+" is not a constructor")}}(),r=_St(),n=kCt()("species");return Zxt=function(o,i){var u,a=t(o).constructor;return void 0===a||r(u=t(a)[n])?i:e(u)}}function LTt(){if(eTt)return tTt;eTt=1;var t=FSt();return tTt=t([].slice)}function _Tt(){if(iTt)return oTt;iTt=1;var t=VSt();return oTt=/(?:ipad|iphone|ipod).*applewebkit/i.test(t)}function jTt(){if(aTt)return uTt;aTt=1;var t,e,r,n,o=Pwt(),i=cxt(),u=iAt(),a=zSt(),s=TCt(),c=Hwt(),l=mAt(),f=LTt(),d=ICt(),p=function(){if(nTt)return rTt;nTt=1;var t=TypeError;return rTt=function(e,r){if(e<r)throw new t("Not enough arguments");return e}}(),h=_Tt(),v=NTt(),g=o.setImmediate,y=o.clearImmediate,m=o.process,b=o.Dispatch,E=o.Function,w=o.MessageChannel,S=o.String,C=0,D={},O="onreadystatechange";c(function(){t=o.location});var A=function(t){if(s(D,t)){var e=D[t];delete D[t],e()}},x=function(t){return function(){A(t)}},T=function(t){A(t.data)},N=function(e){o.postMessage(S(e),t.protocol+"//"+t.host)};return g&&y||(g=function(t){p(arguments.length,1);var r=a(t)?t:E(t),n=f(arguments,1);return D[++C]=function(){i(r,void 0,n)},e(C),C},y=function(t){delete D[t]},v?e=function(t){m.nextTick(x(t))}:b&&b.now?e=function(t){b.now(x(t))}:w&&!h?(n=(r=new w).port2,r.port1.onmessage=T,e=u(n.postMessage,n)):o.addEventListener&&a(o.postMessage)&&!o.importScripts&&t&&"file:"!==t.protocol&&!c(N)?(e=N,o.addEventListener("message",T,!1)):e=O in d("script")?function(t){l.appendChild(d("script"))[O]=function(){l.removeChild(this),A(t)}}:function(t){setTimeout(x(t),0)}),uTt={set:g,clear:y}}function MTt(){if(fTt)return lTt;fTt=1;var t=function(){this.head=null,this.tail=null};return t.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},lTt=t}function zTt(){if(yTt)return gTt;yTt=1;var t,e,r,n,o,i=Pwt(),u=function(){if(cTt)return sTt;cTt=1;var t=Pwt(),e=$wt(),r=Object.getOwnPropertyDescriptor;return sTt=function(n){if(!e)return t[n];var o=r(t,n);return o&&o.value}}(),a=iAt(),s=jTt().set,c=MTt(),l=_Tt(),f=function(){if(pTt)return dTt;pTt=1;var t=VSt();return dTt=/ipad|iphone|ipod/i.test(t)&&"undefined"!=typeof Pebble}(),d=function(){if(vTt)return hTt;vTt=1;var t=VSt();return hTt=/web0s(?!.*chrome)/i.test(t)}(),p=NTt(),h=i.MutationObserver||i.WebKitMutationObserver,v=i.document,g=i.process,y=i.Promise,m=u("queueMicrotask");if(!m){var b=new c,E=function(){var e,r;for(p&&(e=g.domain)&&e.exit();r=b.get();)try{r()}catch(e){throw b.head&&t(),e}e&&e.enter()};l||p||d||!h||!v?!f&&y&&y.resolve?((n=y.resolve(void 0)).constructor=y,o=a(n.then,n),t=function(){o(E)}):p?t=function(){g.nextTick(E)}:(s=a(s,i),t=function(){s(E)}):(e=!0,r=v.createTextNode(""),new h(E).observe(r,{characterData:!0}),t=function(){r.data=e=!e}),m=function(e){b.head||t(),b.add(e)}}return gTt=m}function HTt(){return wTt?ETt:(wTt=1,ETt=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}})}function $Tt(){if(CTt)return STt;CTt=1;var t=Pwt();return STt=t.Promise}function UTt(){if(OTt)return DTt;OTt=1;var t=Pwt(),e=$Tt(),r=zSt(),n=EOt(),o=fDt(),i=kCt(),u=TTt(),a=CCt(),s=GSt(),c=e&&e.prototype,l=i("species"),f=!1,d=r(t.PromiseRejectionEvent),p=n("Promise",function(){var t=o(e),r=t!==String(e);if(!r&&66===s)return!0;if(a&&(!c.catch||!c.finally))return!0;if(!s||s<51||!/native code/.test(t)){var n=new e(function(t){t(1)}),i=function(t){t(function(){},function(){})};if((n.constructor={})[l]=i,!(f=n.then(function(){})instanceof i))return!0}return!(r||"BROWSER"!==u&&"DENO"!==u||d)});return DTt={CONSTRUCTOR:p,REJECTION_EVENT:d,SUBCLASSING:f}}var VTt,GTt,WTt={};function qTt(){if(VTt)return WTt;VTt=1;var t=XSt(),e=TypeError,r=function(r){var n,o;this.promise=new r(function(t,r){if(void 0!==n||void 0!==o)throw new e("Bad Promise constructor");n=t,o=r}),this.resolve=t(n),this.reject=t(o)};return WTt.f=function(t){return new r(t)},WTt}var KTt,YTt,XTt,JTt,ZTt,QTt,tNt,eNt,rNt,nNt,oNt,iNt,uNt,aNt,sNt,cNt,lNt,fNt={};function dNt(){return YTt?KTt:(YTt=1,KTt={})}function pNt(){if(QTt)return ZTt;QTt=1;var t=OOt(),e=JSt(),r=_St(),n=dNt(),o=kCt()("iterator");return ZTt=function(i){if(!r(i))return e(i,o)||e(i,"@@iterator")||n[t(i)]}}function hNt(){if(iNt)return oNt;iNt=1;var t=iAt(),e=Vwt(),r=GCt(),n=YSt(),o=function(){if(JTt)return XTt;JTt=1;var t=kCt(),e=dNt(),r=t("iterator"),n=Array.prototype;return XTt=function(t){return void 0!==t&&(e.Array===t||n[r]===t)}}(),i=MDt(),u=USt(),a=function(){if(eNt)return tNt;eNt=1;var t=Vwt(),e=XSt(),r=GCt(),n=YSt(),o=pNt(),i=TypeError;return tNt=function(u,a){var s=arguments.length<2?o(u):a;if(e(s))return r(t(s,u));throw new i(n(u)+" is not iterable")},tNt}(),s=pNt(),c=function(){if(nNt)return rNt;nNt=1;var t=Vwt(),e=GCt(),r=JSt();return rNt=function(n,o,i){var u,a;e(n);try{if(!(u=r(n,"return"))){if("throw"===o)throw i;return i}u=t(u,n)}catch(t){a=!0,u=t}if("throw"===o)throw i;if(a)throw u;return e(u),i}}(),l=TypeError,f=function(t,e){this.stopped=t,this.result=e},d=f.prototype;return oNt=function(p,h,v){var g,y,m,b,E,w,S,C=v&&v.that,D=!(!v||!v.AS_ENTRIES),O=!(!v||!v.IS_RECORD),A=!(!v||!v.IS_ITERATOR),x=!(!v||!v.INTERRUPTED),T=t(h,C),N=function(t){return g&&c(g,"normal"),new f(!0,t)},k=function(t){return D?(r(t),x?T(t[0],t[1],N):T(t[0],t[1])):x?T(t,N):T(t)};if(O)g=p.iterator;else if(A)g=p;else{if(!(y=s(p)))throw new l(n(p)+" is not iterable");if(o(y)){for(m=0,b=i(p);b>m;m++)if((E=k(p[m]))&&u(d,E))return E;return new f(!1)}g=a(p,y)}for(w=O?p.next:g.next;!(S=e(w,g)).done;){try{E=k(S.value)}catch(t){c(g,"throw",t)}if("object"==typeof E&&E&&u(d,E))return E}return new f(!1)}}function vNt(){if(aNt)return uNt;aNt=1;var t=kCt()("iterator"),e=!1;try{var r=0,n={next:function(){return{done:!!r++}},return:function(){e=!0}};n[t]=function(){return this},Array.from(n,function(){throw 2})}catch(t){}return uNt=function(r,n){try{if(!n&&!e)return!1}catch(t){return!1}var o=!1;try{var i={};i[t]=function(){return{next:function(){return{done:o=!0}}}},r(i)}catch(t){}return o}}function gNt(){if(cNt)return sNt;cNt=1;var t=$Tt(),e=vNt(),r=UTt().CONSTRUCTOR;return sNt=r||!e(function(e){t.all(e).then(void 0,function(){})})}var yNt,mNt,bNt,ENt,wNt,SNt,CNt,DNt={},ONt={},ANt={},xNt={};function TNt(t,e){return HAt(this,arguments,void 0,function(t,e,r,n,o){var i,u,a,s,c,l,f;return void 0===r&&(r=""),void 0===n&&(n=""),void 0===o&&(o=""),$At(this,function(d){switch(d.label){case 0:return e?(t.restoreSelection(),i=t.getMenuConfig("insertVideo"),u=i.onInsertedVideo,a=i.checkVideo,s=i.parseVideoSrc,[4,a(e,r)]):[2];case 1:return"string"==typeof(c=d.sent())?(t.alert(c,"error"),[2]):null==c?[2]:[4,s(e)];case 2:return 0!==(l=d.sent()).trim().indexOf("<iframe ")&&(l=l.replace(/</g,"<").replace(/>/g,">")),f={type:"video",src:l,poster:r,children:[{text:""}],style:{width:n,height:o}},Promise.resolve().then(function(){CB.isSelectedEmptyParagraph(t)&&zv.removeNodes(t,{mode:"highest"}),zv.insertNodes(t,f,{mode:"highest"})}),u(f),[2]}})})}function NNt(){return Oxt("w-e-insert-video")}CNt||(CNt=1,function(){if(GTt)return xTt;GTt=1;var t,e,r,n,o=wOt(),i=CCt(),u=NTt(),a=Pwt(),s=function(){if(Rxt)return Fxt;Rxt=1;var t=Pwt();return Fxt=t}(),c=Vwt(),l=yDt(),f=PTt(),d=BTt(),p=ITt(),h=XSt(),v=zSt(),g=HSt(),y=FTt(),m=RTt(),b=jTt().set,E=zTt(),w=(bTt||(bTt=1,mTt=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}),mTt),S=HTt(),C=MTt(),D=vDt(),O=$Tt(),A=UTt(),x=qTt(),T="Promise",N=A.CONSTRUCTOR,k=A.REJECTION_EVENT,P=A.SUBCLASSING,B=D.getterFor(T),I=D.set,F=O&&O.prototype,R=O,L=F,_=a.TypeError,j=a.document,M=a.process,z=x.f,H=z,$=!!(j&&j.createEvent&&a.dispatchEvent),U="unhandledrejection",V=function(t){var e;return!(!g(t)||!v(e=t.then))&&e},G=function(t,e){var r,n,o,i=e.value,u=1===e.state,a=u?t.ok:t.fail,s=t.resolve,l=t.reject,f=t.domain;try{a?(u||(2===e.rejection&&X(e),e.rejection=1),!0===a?r=i:(f&&f.enter(),r=a(i),f&&(f.exit(),o=!0)),r===t.promise?l(new _("Promise-chain cycle")):(n=V(r))?c(n,r,s,l):s(r)):l(i)}catch(t){f&&!o&&f.exit(),l(t)}},W=function(t,e){t.notified||(t.notified=!0,E(function(){for(var r,n=t.reactions;r=n.get();)G(r,t);t.notified=!1,e&&!t.rejection&&K(t)}))},q=function(t,e,r){var n,o;$?((n=j.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),a.dispatchEvent(n)):n={promise:e,reason:r},!k&&(o=a["on"+t])?o(n):t===U&&w("Unhandled promise rejection",r)},K=function(t){c(b,a,function(){var e,r=t.facade,n=t.value;if(Y(t)&&(e=S(function(){u?M.emit("unhandledRejection",n,r):q(U,r,n)}),t.rejection=u||Y(t)?2:1,e.error))throw e.value})},Y=function(t){return 1!==t.rejection&&!t.parent},X=function(t){c(b,a,function(){var e=t.facade;u?M.emit("rejectionHandled",e):q("rejectionhandled",e,t.value)})},J=function(t,e,r){return function(n){t(e,n,r)}},Z=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,W(t,!0))},Q=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new _("Promise can't be resolved itself");var n=V(e);n?E(function(){var r={done:!1};try{c(n,e,J(Q,r,t),J(Z,r,t))}catch(e){Z(r,e,t)}}):(t.value=e,t.state=1,W(t,!1))}catch(e){Z({done:!1},e,t)}}};if(N&&(L=(R=function(e){y(this,L),h(e),c(t,this);var r=B(this);try{e(J(Q,r),J(Z,r))}catch(t){Z(r,t)}}).prototype,(t=function(t){I(this,{type:T,done:!1,notified:!1,parent:!1,reactions:new C,rejection:!1,state:0,value:null})}).prototype=l(L,"then",function(t,e){var r=B(this),n=z(m(this,R));return r.parent=!0,n.ok=!v(t)||t,n.fail=v(e)&&e,n.domain=u?M.domain:void 0,0===r.state?r.reactions.add(n):E(function(){G(n,r)}),n.promise}),e=function(){var e=new t,r=B(e);this.promise=e,this.resolve=J(Q,r),this.reject=J(Z,r)},x.f=z=function(t){return t===R||t===r?new e(t):H(t)},!i&&v(O)&&F!==Object.prototype)){n=F.then,P||l(F,"then",function(t,e){var r=this;return new R(function(t,e){c(n,r,t,e)}).then(t,e)},{unsafe:!0});try{delete F.constructor}catch(t){}f&&f(F,L)}o({global:!0,constructor:!0,wrap:!0,forced:N},{Promise:R}),r=s.Promise,d(R,T,!1,!0),p(T)}(),function(){if(lNt)return fNt;lNt=1;var t=wOt(),e=Vwt(),r=XSt(),n=qTt(),o=HTt(),i=hNt();t({target:"Promise",stat:!0,forced:gNt()},{all:function(t){var u=this,a=n.f(u),s=a.resolve,c=a.reject,l=o(function(){var n=r(u.resolve),o=[],a=0,l=1;i(t,function(t){var r=a++,i=!1;l++,e(n,u,t).then(function(t){i||(i=!0,o[r]=t,--l||s(o))},c)}),--l||s(o)});return l.error&&c(l.value),a.promise}})}(),function(){if(yNt)return DNt;yNt=1;var t=wOt(),e=CCt(),r=UTt().CONSTRUCTOR,n=$Tt(),o=$St(),i=zSt(),u=yDt(),a=n&&n.prototype;if(t({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(t){return this.then(void 0,t)}}),!e&&i(n)){var s=o("Promise").prototype.catch;a.catch!==s&&u(a,"catch",s,{unsafe:!0})}}(),function(){if(mNt)return ONt;mNt=1;var t=wOt(),e=Vwt(),r=XSt(),n=qTt(),o=HTt(),i=hNt();t({target:"Promise",stat:!0,forced:gNt()},{race:function(t){var u=this,a=n.f(u),s=a.reject,c=o(function(){var n=r(u.resolve);i(t,function(t){e(n,u,t).then(a.resolve,s)})});return c.error&&s(c.value),a.promise}})}(),function(){if(bNt)return ANt;bNt=1;var t=wOt(),e=qTt();t({target:"Promise",stat:!0,forced:UTt().CONSTRUCTOR},{reject:function(t){var r=e.f(this);return(0,r.reject)(t),r.promise}})}(),function(){if(SNt)return xNt;SNt=1;var t=wOt(),e=$St(),r=CCt(),n=$Tt(),o=UTt().CONSTRUCTOR,i=function(){if(wNt)return ENt;wNt=1;var t=GCt(),e=HSt(),r=qTt();return ENt=function(n,o){if(t(n),e(o)&&o.constructor===n)return o;var i=r.f(n);return(0,i.resolve)(o),i.promise}}(),u=e("Promise"),a=r&&!o;t({target:"Promise",stat:!0,forced:r||o},{resolve:function(t){return i(a&&this===u?n:this,t)}})}());var kNt,PNt,BNt,INt,FNt,RNt,LNt,_Nt,jNt,MNt,zNt,HNt,$Nt,UNt,VNt,GNt=function(){function t(){this.title=LF("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=NNt(),this.posterInputId=NNt(),this.buttonId=NNt()}return t.prototype.getValue=function(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!dv.isCollapsed(e)||!!CB.getSelectedElems(t).some(function(e){var r=CB.getNodeType(e);return"pre"===r||"list-item"===r||!!t.isVoid(e)})},t.prototype.getModalPositionNode=function(t){return null},t.prototype.getModalContentElem=function(t){var e=this,r=this,n=r.srcInputId,o=r.posterInputId,i=r.buttonId,u=UAt(qF(LF("videoModule.videoSrc"),n,LF("videoModule.videoSrcPlaceHolder")),2),a=u[0],s=u[1],c=UAt(qF(LF("videoModule.videoPoster"),o,LF("videoModule.videoPosterPlaceHolder")),2),l=c[0],f=c[1],d=og(s),p=og(f),h=UAt(YF(i,LF("videoModule.ok")),1)[0];if(null==this.$content){var v=og("<div></div>");v.on("click","#".concat(i),function(r){return HAt(e,void 0,void 0,function(){var e,i;return $At(this,function(u){switch(u.label){case 0:return r.preventDefault(),e=v.find("#".concat(n)).val().trim(),i=v.find("#".concat(o)).val().trim(),[4,TNt(t,e,i)];case 1:return u.sent(),t.hidePanelOrModal(),[2]}})})}),this.$content=v}var g=this.$content;return g.empty(),g.append(a),g.append(l),g.append(h),d.val(""),p.val(""),setTimeout(function(){d.focus()}),g[0]},t}(),WNt={};function qNt(){if(FNt)return INt;FNt=1;var t=TCt(),e=zSt(),r=xCt(),n=pDt(),o=function(){if(BNt)return PNt;BNt=1;var t=Hwt();return PNt=!t(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})}(),i=n("IE_PROTO"),u=Object,a=u.prototype;return INt=o?u.getPrototypeOf:function(n){var o=r(n);if(t(o,i))return o[i];var s=o.constructor;return e(s)&&o instanceof s?s.prototype:o instanceof u?a:null}}function KNt(){if(LNt)return RNt;LNt=1;var t,e,r,n=Hwt(),o=zSt(),i=HSt(),u=bAt(),a=qNt(),s=yDt(),c=kCt(),l=CCt(),f=c("iterator"),d=!1;return[].keys&&("next"in(r=[].keys())?(e=a(a(r)))!==Object.prototype&&(t=e):d=!0),!i(t)||n(function(){var e={};return t[f].call(e)!==e})?t={}:l&&(t=u(t)),o(t[f])||s(t,f,function(){return this}),RNt={IteratorPrototype:t,BUGGY_SAFARI_ITERATORS:d}}function YNt(){if(zNt)return MNt;zNt=1;var t=wOt(),e=Vwt(),r=CCt(),n=lDt(),o=zSt(),i=function(){if(jNt)return _Nt;jNt=1;var t=KNt().IteratorPrototype,e=bAt(),r=ISt(),n=BTt(),o=dNt(),i=function(){return this};return _Nt=function(u,a,s,c){var l=a+" Iterator";return u.prototype=e(t,{next:r(+!c,s)}),n(u,l,!1,!0),o[l]=i,u}}(),u=qNt(),a=PTt(),s=BTt(),c=qCt(),l=yDt(),f=kCt(),d=dNt(),p=KNt(),h=n.PROPER,v=n.CONFIGURABLE,g=p.IteratorPrototype,y=p.BUGGY_SAFARI_ITERATORS,m=f("iterator"),b="keys",E="values",w="entries",S=function(){return this};return MNt=function(n,f,p,C,D,O,A){i(p,f,C);var x,T,N,k=function(t){if(t===D&&R)return R;if(!y&&t&&t in I)return I[t];switch(t){case b:case E:case w:return function(){return new p(this,t)}}return function(){return new p(this)}},P=f+" Iterator",B=!1,I=n.prototype,F=I[m]||I["@@iterator"]||D&&I[D],R=!y&&F||k(D),L="Array"===f&&I.entries||F;if(L&&(x=u(L.call(new n)))!==Object.prototype&&x.next&&(r||u(x)===g||(a?a(x,g):o(x[m])||l(x,m,S)),s(x,P,!0,!0),r&&(d[P]=S)),h&&D===E&&F&&F.name!==E&&(!r&&v?c(I,"name",E):(B=!0,R=function(){return e(F,this)})),D)if(T={values:k(E),keys:O?R:k(b),entries:k(w)},A)for(N in T)(y||B||!(N in I))&&l(I,N,T[N]);else t({target:f,proto:!0,forced:y||B},T);return r&&!A||I[m]===R||l(I,m,R,{name:D}),d[f]=R,T}}function XNt(){return $Nt?HNt:($Nt=1,HNt=function(t,e){return{value:t,done:e}})}function JNt(){if(VNt)return UNt;VNt=1;var t=MSt(),e=EAt(),r=dNt(),n=vDt(),o=WCt().f,i=YNt(),u=XNt(),a=CCt(),s=$wt(),c="Array Iterator",l=n.set,f=n.getterFor(c);UNt=i(Array,"Array",function(e,r){l(this,{type:c,target:t(e),index:0,kind:r})},function(){var t=f(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,u(void 0,!0);switch(t.kind){case"keys":return u(r,!1);case"values":return u(e[r],!1)}return u([r,e[r]],!1)},"values");var d=r.Arguments=r.Array;if(e("keys"),e("values"),e("entries"),!a&&s&&"values"!==d.name)try{o(d,"name",{value:"values"})}catch(t){}return UNt}!function(){if(kNt)return WNt;kNt=1;var t=wOt(),e=FSt(),r=LSt(),n=MSt(),o=Dxt(),i=e([].join);t({target:"Array",proto:!0,forced:r!==Object||!o("join",",")},{join:function(t){return i(n(this),void 0===t?",":t)}})}(),JNt();var ZNt,QNt={};!function(){if(ZNt)return QNt;ZNt=1;var t=wOt(),e=uAt().map;t({target:"Array",proto:!0,forced:!TOt()("map")},{map:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}})}();var tkt,ekt={};!function(){if(tkt)return ekt;tkt=1;var t=wOt(),e=SOt(),r=AOt(),n=HSt(),o=_Dt(),i=MDt(),u=MSt(),a=COt(),s=kCt(),c=TOt(),l=LTt(),f=c("slice"),d=s("species"),p=Array,h=Math.max;t({target:"Array",proto:!0,forced:!f},{slice:function(t,s){var c,f,v,g=u(this),y=i(g),m=o(t,y),b=o(void 0===s?y:s,y);if(e(g)&&(c=g.constructor,(r(c)&&(c===p||e(c.prototype))||n(c)&&null===(c=c[d]))&&(c=void 0),c===p||void 0===c))return l(g,m,b);for(f=new(void 0===c?p:c)(h(b-m,0)),v=0;m<b;m++,v++)m in g&&a(f,v,g[m]);return f.length=v,f}})}();var rkt,nkt={};!function(){if(rkt)return nkt;rkt=1;var t=lxt().charAt,e=MOt(),r=vDt(),n=YNt(),o=XNt(),i="String Iterator",u=r.set,a=r.getterFor(i);n(String,"String",function(t){u(this,{type:i,string:e(t),index:0})},function(){var e,r=a(this),n=r.string,i=r.index;return i>=n.length?o(void 0,!0):(e=t(n,i),r.index+=e.length,o(e,!1))})}();var okt,ikt,ukt,akt,skt={};function ckt(){if(ikt)return okt;ikt=1;var t=Hwt();return okt=!t(function(){return Object.isExtensible(Object.preventExtensions({}))})}function lkt(){if(akt)return ukt;akt=1;var t=yDt();return ukt=function(e,r,n){for(var o in r)t(e,o,r[o],n);return e}}var fkt,dkt,pkt,hkt,vkt,gkt,ykt,mkt,bkt,Ekt,wkt,Skt,Ckt,Dkt,Okt={exports:{}},Akt={};function xkt(){if(gkt)return Okt.exports;gkt=1;var t=wOt(),e=FSt(),r=hDt(),n=HSt(),o=TCt(),i=WCt().f,u=UDt(),a=function(){if(fkt)return Akt;fkt=1;var t=RSt(),e=MSt(),r=UDt().f,n=LTt(),o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];return Akt.f=function(i){return o&&"Window"===t(i)?function(t){try{return r(t)}catch(t){return n(o)}}(i):r(e(i))},Akt}(),s=function(){if(vkt)return hkt;vkt=1;var t=Hwt(),e=HSt(),r=RSt(),n=function(){if(pkt)return dkt;pkt=1;var t=Hwt();return dkt=t(function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}})}(),o=Object.isExtensible,i=t(function(){});return hkt=i||n?function(t){return!!e(t)&&(!n||"ArrayBuffer"!==r(t))&&(!o||o(t))}:o}(),c=NCt(),l=ckt(),f=!1,d=c("meta"),p=0,h=function(t){i(t,d,{value:{objectID:"O"+p++,weakData:{}}})},v=Okt.exports={enable:function(){v.enable=function(){},f=!0;var r=u.f,n=e([].splice),o={};o[d]=1,r(o).length&&(u.f=function(t){for(var e=r(t),o=0,i=e.length;o<i;o++)if(e[o]===d){n(e,o,1);break}return e},t({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:a.f}))},fastKey:function(t,e){if(!n(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!o(t,d)){if(!s(t))return"F";if(!e)return"E";h(t)}return t[d].objectID},getWeakData:function(t,e){if(!o(t,d)){if(!s(t))return!0;if(!e)return!1;h(t)}return t[d].weakData},onFreeze:function(t){return l&&f&&s(t)&&!o(t,d)&&h(t),t}};return r[d]=!0,Okt.exports}function Tkt(){if(Ekt)return bkt;Ekt=1;var t=wOt(),e=Pwt(),r=FSt(),n=EOt(),o=yDt(),i=xkt(),u=hNt(),a=FTt(),s=zSt(),c=_St(),l=HSt(),f=Hwt(),d=vNt(),p=BTt(),h=function(){if(mkt)return ykt;mkt=1;var t=zSt(),e=HSt(),r=PTt();return ykt=function(n,o,i){var u,a;return r&&t(u=o.constructor)&&u!==i&&e(a=u.prototype)&&a!==i.prototype&&r(n,a),n}}();return bkt=function(v,g,y){var m=-1!==v.indexOf("Map"),b=-1!==v.indexOf("Weak"),E=m?"set":"add",w=e[v],S=w&&w.prototype,C=w,D={},O=function(t){var e=r(S[t]);o(S,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!l(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!l(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(n(v,!s(w)||!(b||S.forEach&&!f(function(){(new w).entries().next()}))))C=y.getConstructor(g,v,m,E),i.enable();else if(n(v,!0)){var A=new C,x=A[E](b?{}:-0,1)!==A,T=f(function(){A.has(1)}),N=d(function(t){new w(t)}),k=!b&&f(function(){for(var t=new w,e=5;e--;)t[E](e,e);return!t.has(-0)});N||((C=g(function(t,e){a(t,S);var r=h(new w,t,C);return c(e)||u(e,r[E],{that:r,AS_ENTRIES:m}),r})).prototype=S,S.constructor=C),(T||k)&&(O("delete"),O("has"),m&&O("get")),(k||x)&&O(E),b&&S.clear&&delete S.clear}return D[v]=C,t({global:!0,constructor:!0,forced:C!==w},D),p(C,v),b||y.setStrong(C,v,m),C}}Dkt||(Dkt=1,function(){if(Ckt)return skt;Ckt=1;var t,e=ckt(),r=Pwt(),n=FSt(),o=lkt(),i=xkt(),u=Tkt(),a=function(){if(Skt)return wkt;Skt=1;var t=FSt(),e=lkt(),r=xkt().getWeakData,n=FTt(),o=GCt(),i=_St(),u=HSt(),a=hNt(),s=uAt(),c=TCt(),l=vDt(),f=l.set,d=l.getterFor,p=s.find,h=s.findIndex,v=t([].splice),g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return p(t.entries,function(t){return t[0]===e})};return m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var r=b(this,t);r?r[1]=e:this.entries.push([t,e])},delete:function(t){var e=h(this.entries,function(e){return e[0]===t});return~e&&v(this.entries,e,1),!!~e}},wkt={getConstructor:function(t,s,l,p){var h=t(function(t,e){n(t,v),f(t,{type:s,id:g++,frozen:null}),i(e)||a(e,t[p],{that:t,AS_ENTRIES:l})}),v=h.prototype,m=d(s),b=function(t,e,n){var i=m(t),u=r(o(e),!0);return!0===u?y(i).set(e,n):u[i.id]=n,t};return e(v,{delete:function(t){var e=m(this);if(!u(t))return!1;var n=r(t);return!0===n?y(e).delete(t):n&&c(n,e.id)&&delete n[e.id]},has:function(t){var e=m(this);if(!u(t))return!1;var n=r(t);return!0===n?y(e).has(t):n&&c(n,e.id)}}),e(v,l?{get:function(t){var e=m(this);if(u(t)){var n=r(t);if(!0===n)return y(e).get(t);if(n)return n[e.id]}},set:function(t,e){return b(this,t,e)}}:{add:function(t){return b(this,t,!0)}}),h}}}(),s=HSt(),c=vDt().enforce,l=Hwt(),f=dDt(),d=Object,p=Array.isArray,h=d.isExtensible,v=d.isFrozen,g=d.isSealed,y=d.freeze,m=d.seal,b=!r.ActiveXObject&&"ActiveXObject"in r,E=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},w=u("WeakMap",E,a),S=w.prototype,C=n(S.set);if(f)if(b){t=a.getConstructor(E,"WeakMap",!0),i.enable();var D=n(S.delete),O=n(S.has),A=n(S.get);o(S,{delete:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),D(this,e)||r.frozen.delete(e)}return D(this,e)},has:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),O(this,e)||r.frozen.has(e)}return O(this,e)},get:function(e){if(s(e)&&!h(e)){var r=c(this);return r.frozen||(r.frozen=new t),O(this,e)?A(this,e):r.frozen.get(e)}return A(this,e)},set:function(e,r){if(s(e)&&!h(e)){var n=c(this);n.frozen||(n.frozen=new t),O(this,e)?C(this,e,r):n.frozen.set(e,r)}else C(this,e,r);return this}})}else e&&l(function(){var t=y([]);return C(new w,t,1),!v(t)})&&o(S,{set:function(t,e){var r;return p(t)&&(v(t)?r=y:g(t)&&(r=m)),C(this,t,e),r&&r(t),this}})}());var Nkt,kkt={};function Pkt(t){return t.getMenuConfig("uploadVideo")}!function(){if(Nkt)return kkt;Nkt=1;var t=Pwt(),e=Sxt(),r=Cxt(),n=JNt(),o=qCt(),i=BTt(),u=kCt()("iterator"),a=n.values,s=function(t,r){if(t){if(t[u]!==a)try{o(t,u,a)}catch(e){t[u]=a}if(i(t,r,!0),e[r])for(var s in n)if(t[s]!==n[s])try{o(t,s,n[s])}catch(e){t[s]=n[s]}}};for(var c in e)s(t[c]&&t[c].prototype,c);s(r,"DOMTokenList")}();var Bkt=new WeakMap;function Ikt(t,e){return HAt(this,void 0,void 0,function(){var r,n;return $At(this,function(o){switch(o.label){case 0:return r=function(t){var e=Bkt.get(t);if(null!=e)return e;var r=Pkt(t),n=r.onSuccess,o=r.onProgress,i=r.onFailed,u=r.customInsert,a=r.onError;return e=tL(zAt(zAt({},r),{onProgress:function(e){t.showProgressBar(e),o&&o(e)},onSuccess:function(e,r){if(u)return u(r,function(e,r){return TNt(t,e,r)}),void n(e,r);var o=r.errno,a=void 0===o?1:o,s=r.data,c=void 0===s?{}:s;if(0===a){var l=c.url,f=void 0===l?"":l,d=c.poster;TNt(t,f,void 0===d?"":d),n(e,r)}else i(e,r)},onError:function(t,e,r){a(t,e,r)}})),Bkt.set(t,e),e}(t),n=e.map(function(t){return{name:t.name,type:t.type,size:t.size,data:t}}),r.addFiles(n),[4,r.upload()];case 1:return o.sent(),[2]}})})}var Fkt=function(){function t(){this.title=LF("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(t){return""},t.prototype.isActive=function(t){return!1},t.prototype.exec=function(t,e){var r=this.getMenuConfig(t),n=r.allowedFileTypes,o=void 0===n?[]:n,i=r.customBrowseAndUpload;if(i)i(function(e,r){return TNt(t,e,r)});else{var u="";o.length>0&&(u='accept="'.concat(o.join(", "),'"'));var a=og("body"),s=og('<input type="file" '.concat(u," multiple/>"));s.hide(),a.append(s),s.click(),s.on("change",function(){var e=s[0].files;!function(t,e){HAt(this,void 0,void 0,function(){var r,n,o,i,u,a,s,c,l,f,d,p;return $At(this,function(h){switch(h.label){case 0:if(null==e)return[2];r=Array.prototype.slice.call(e),n=[],o=Pkt(t).customUpload,h.label=1;case 1:h.trys.push([1,8,9,14]),i=!0,u=VAt(r),h.label=2;case 2:return[4,u.next()];case 3:return a=h.sent(),(l=a.done)?[3,7]:(p=a.value,i=!1,s=p,o?[4,o(s,function(e,r){return TNt(t,e,r)})]:[3,5]);case 4:return h.sent(),[3,6];case 5:n.push(s),h.label=6;case 6:return i=!0,[3,2];case 7:return[3,14];case 8:return c=h.sent(),f={error:c},[3,14];case 9:return h.trys.push([9,,12,13]),i||l||!(d=u.return)?[3,11]:[4,d.call(u)];case 10:h.sent(),h.label=11;case 11:return[3,13];case 12:if(f)throw f.error;return[7];case 13:return[7];case 14:return n.length>0?[4,Ikt(t,n)]:[3,16];case 15:h.sent(),h.label=16;case 16:return[2]}})})}(t,e)})}},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||!dv.isCollapsed(e)||!!CB.getSelectedElems(t).some(function(e){var r=CB.getNodeType(e);return"pre"===r||"list-item"===r||!!t.isVoid(e)})},t.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadVideo")},t}(),Rkt={key:"insertVideo",factory:function(){return new GNt},config:{onInsertedVideo:function(t){},checkVideo:function(t,e){return!0},parseVideoSrc:function(t){return t}}},Lkt={key:"uploadVideo",factory:function(){return new Fkt},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("'".concat(t.name,"' upload failed"),e)},onError:function(t,e,r){console.error("'".concat(t.name," upload error"),e,r)}}},_kt={key:"editVideoSize",factory:function(){return new Txt}},jkt={key:"editVideoSrc",factory:function(){return new ATt}};function Mkt(t,e,r,n,o,i){return void 0===e&&(e=""),void 0===r&&(r="auto"),void 0===n&&(n="auto"),void 0===o&&(o={}),void 0===i&&(i="center"),{type:"video",src:t,poster:e,width:r,height:n,style:o,children:[{text:""}],textAlign:i}}var zkt,Hkt={selector:'div[data-w-e-type="video"]',parseElemHtml:function(t,e,r){var n=og(t),o="",i="",u="auto",a="auto",s={},c=n.find("iframe");if(c.length>0)return u=c.attr("width")||"auto",a=c.attr("height")||"auto",s=Axt(s=c.attr("style")||""),Mkt(o=c[0].outerHTML,i,u,a,s,Axt(n.attr("style")||"")["text-align"]||"center");var l=n.find("video");return(o=l.attr("src")||"")||l.length>0&&(o=l.find("source").attr("src")||""),u=l.attr("width")||"auto",a=l.attr("height")||"auto",Mkt(o,i=l.attr("poster")||"",u,a,s=Axt(s=l.attr("style")||""),Axt(n.attr("style")||"")["text-align"]||"center")}},$kt={};!function(){if(zkt)return $kt;zkt=1;var t=wOt(),e=zDt().includes,r=Hwt(),n=EAt();t({target:"Array",proto:!0,forced:r(function(){return!Array(1).includes()})},{includes:function(t){return e(this,t,arguments.length>1?arguments[1]:void 0)}}),n("includes")}();var Ukt={renderElems:[{type:"video",renderElem:function(t,e,r){var n,o=t,i=o.src,u=void 0===i?"":i,a=o.poster,s=void 0===a?"":a,c=o.key,l=void 0===c?"":c,f=o.width,d=void 0===f?"auto":f,p=o.height,h=void 0===p?"auto":p,v=o.style,g=void 0===v?{}:v,y=o.textAlign,m=void 0===y?"center":y,b=CB.isNodeSelected(r,t);if(0===u.trim().indexOf("<iframe ")){n=Ry("div",{className:"w-e-textarea-video-container","data-selected":b?"true":"",style:{textAlign:m},innerHTML:GOt(u,d,h,g)})}else{var E=Ry("video",{key:l,poster:s,controls:!0,style:g},Ry("source",{src:u,type:"video/mp4"}),"Sorry, your browser doesn't support embedded videos.\n 抱歉,浏览器不支持 video 视频");"auto"!==d&&(E.data.width=d),"auto"!==h&&(E.data.height=h),n=Ry("div",{className:"w-e-textarea-video-container","data-selected":b?"true":"",style:{textAlign:m}},E)}return vy("div",{props:{contentEditable:!1},on:{mousedown:function(t){return t.preventDefault()}}},n)}}],elemsToHtml:[YOt],preParseHtml:[{selector:"iframe,video,p",preParseHtml:function(t){var e=og(t),r=e;if("p"===VOt(e)){var n=e.children();if(1===n.length){var o=n[0],i=o.tagName.toLowerCase();["iframe","video"].includes(i)&&(r=og(o))}}var u=VOt(r);if("iframe"!==u&&"video"!==u)return r[0];if("video"===r.parent().attr("data-w-e-type"))return r[0];var a=og('<div data-w-e-type="video" data-w-e-is-void style="text-align: center;"></div>');return a.append(r),a[0]}}],parseElemsHtml:[Hkt],menus:[Rkt,Lkt,_kt,jkt],editorPlugin:function(t){var e=t.isVoid,r=t.normalizeNode,n=t;return n.isVoid=function(t){return"video"===t.type||e(t)},n.normalizeNode=function(t){var e=UAt(t,2),o=e[0],i=e[1];return"video"===CB.getNodeType(o)&&CB.isLastNode(n,o)&&zv.insertNodes(n,CB.genEmptyParagraph(),{at:[i[0]+1]}),r([o,i])},n}},Vkt=function(){return Vkt=Object.assign||function(t){for(var e,r=1,n=arguments.length;r<n;r++)for(var o in e=arguments[r])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Vkt.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var Gkt=function(){function t(){throw new Error("不能实例化\nCan not construct a instance")}return t.setEditorConfig=function(t){void 0===t&&(t={}),this.editorConfig=Vkt(Vkt({},this.editorConfig),t)},t.setSimpleEditorConfig=function(t){void 0===t&&(t={}),this.simpleEditorConfig=Vkt(Vkt({},this.simpleEditorConfig),t)},t.setToolbarConfig=function(t){void 0===t&&(t={}),this.toolbarConfig=Vkt(Vkt({},this.toolbarConfig),t)},t.setSimpleToolbarConfig=function(t){void 0===t&&(t={}),this.simpleToolbarConfig=Vkt(Vkt({},this.simpleToolbarConfig),t)},t.registerPlugin=function(t){this.plugins.push(t)},t.registerMenu=function(t,e){!function(t,e){var r=t.key,n=t.factory,o=t.config,i=OO(OO({},o),e||{});if(null!=FO[r])throw new Error("Duplicated key '".concat(r,"' in menu items"));FO[r]=n,function(t,e){null!=e&&(kO[t]=e)}(r,i)}(t,e)},t.registerRenderElem=function(t){!function(t){var e=t.type,r=t.renderElem;PR[e||""]=r}(t)},t.registerRenderStyle=function(t){!function(t){kR.push(t)}(t)},t.registerElemToHtml=function(t){!function(t){var e=t.type,r=t.elemToHtml;uB[e||""]=r}(t)},t.registerStyleToHtml=function(t){!function(t){iB.push(t)}(t)},t.registerPreParseHtml=function(t){!function(t){KP.push(t)}(t)},t.registerParseElemHtml=function(t){!function(t){var e=t.selector,r=t.parseElemHtml;XP[e]=r}(t)},t.registerParseStyleHtml=function(t){!function(t){YP.push(t)}(t)},t.registerModule=function(t){Wkt(t)},t.editorConfig={},t.simpleEditorConfig={},t.toolbarConfig={},t.simpleToolbarConfig={},t.plugins=[],t}();function Wkt(t){var e=t.menus,r=t.renderElems,n=t.renderStyle,o=t.elemsToHtml,i=t.styleToHtml,u=t.preParseHtml,a=t.parseElemsHtml,s=t.parseStyleHtml,c=t.editorPlugin;e&&e.forEach(function(t){return Gkt.registerMenu(t)}),r&&r.forEach(function(t){return Gkt.registerRenderElem(t)}),n&&Gkt.registerRenderStyle(n),o&&o.forEach(function(t){return Gkt.registerElemToHtml(t)}),i&&Gkt.registerStyleToHtml(i),u&&u.forEach(function(t){return Gkt.registerPreParseHtml(t)}),a&&a.forEach(function(t){return Gkt.registerParseElemHtml(t)}),s&&Gkt.registerParseStyleHtml(s),c&&Gkt.registerPlugin(c)}i0.forEach(function(t){return Wkt(t)}),Wkt(Urt),Wkt(lpt),Wkt(Ukt),Wkt(Awt),Wkt(D3);var qkt='<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>';var Kkt={link:{menuKeys:["editLink","unLink","viewLink"]},image:{menuKeys:["imageWidth30","imageWidth50","imageWidth100","editorImageSizeMenu","editImage","viewImageLink","deleteImage"]},pre:{menuKeys:["enter","codeBlock","codeSelectLang"]},table:{menuKeys:["enter","tableHeader","tableFullWidth","insertTableRow","deleteTableRow","insertTableCol","deleteTableCol","deleteTable","mergeTableCell","splitTableCell","setTableProperty","setTableCellProperty"]},divider:{menuKeys:["enter"]},video:{menuKeys:["enter","editVideoSize","editVideoSrc"]}};var Ykt={hoverbarKeys:Vkt(Vkt({},Kkt),{text:{menuKeys:["formatPainter","headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};Gkt.setEditorConfig(Vkt(Vkt({},Ykt),{decorate:m6}));var Xkt={hoverbarKeys:Kkt};Gkt.setSimpleEditorConfig(Vkt(Vkt({},Xkt),{decorate:m6}));var Jkt={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:LF("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:LF("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:LF("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:LF("editor.image"),iconSvg:qkt,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:LF("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","|","formatPainter","fullScreen"]};Gkt.setToolbarConfig(Jkt);var Zkt={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:LF("editor.image"),iconSvg:qkt,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};function Qkt(t){void 0===t&&(t={});var e=t.selector,r=void 0===e?"":e,n=t.content,o=void 0===n?[]:n,i=t.html,u=t.config,a=void 0===u?{}:u,s=t.mode,c="simple"===(void 0===s?"default":s)?Gkt.simpleEditorConfig:Gkt.editorConfig,l=Vkt(Vkt({},c.hoverbarKeys||{}),a.hoverbarKeys||{});return VR({selector:r,config:Vkt(Vkt(Vkt({},c),a),{hoverbarKeys:l}),content:o,html:i,plugins:Gkt.plugins})}function tPt(t){var e=t.selector,r=t.editor,n=t.config,o=void 0===n?{}:n,i=t.mode,u=void 0===i?"default":i;if(!e)throw new Error("Cannot find 'selector' when create toolbar");var a="simple"===u?Gkt.simpleToolbarConfig:Gkt.toolbarConfig,s=function(t,e){if(null==t)throw new Error("Cannot create toolbar, because editor is null");var r=e.selector,n=e.config,o=void 0===n?{}:n;if(function(t,e){return rB(t,"data-w-e-toolbar",e)}(t,r))throw new Error("Repeated create toolbar by selector '".concat(r,"'"));var i=OO({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},o||{}),u=new JR(r,i);return Lx.set(u,t),_x.set(t,u),u}(r,{selector:e,config:Vkt(Vkt({},a),o)});return s}Gkt.setSimpleToolbarConfig(Zkt);var ePt={};export{Gkt as Boot,CB as DomEditor,Kh as SlateEditor,$h as SlateElement,Yh as SlateLocation,tv as SlateNode,ov as SlatePath,sv as SlatePoint,dv as SlateRange,wv as SlateText,zv as SlateTransforms,JR as Toolbar,Qkt as createEditor,tPt as createToolbar,tL as createUploader,ePt as default,YF as genModalButtonElems,qF as genModalInputElems,KF as genModalTextareaElems,BF as i18nAddResources,IF as i18nChangeLanguage,FF as i18nGetResources,LF as t};
|
|
33
33
|
//# sourceMappingURL=index.mjs.map
|