@wangeditor-next/editor 5.5.6 → 5.5.7

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.esm.js CHANGED
@@ -17501,14 +17501,14 @@ var lib = (_temp = _class = class XHRUpload extends BasePlugin_1$1 {
17501
17501
 
17502
17502
  }, _class.VERSION = "2.0.6", _temp);
17503
17503
 
17504
- var ne$6="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function re$6(e){var t={exports:{}};return e(t,t.exports),t.exports}var oe$6,ie$6,ae$6=function(e){return e&&e.Math===Math&&e},se$6=ae$6("object"==typeof globalThis&&globalThis)||ae$6("object"==typeof window&&window)||ae$6("object"==typeof self&&self)||ae$6("object"==typeof ne$6&&ne$6)||ae$6("object"==typeof ne$6&&ne$6)||function(){return this}()||Function("return this")(),le$6=function(e){try{return !!e()}catch(e){return !0}},ue$6=!le$6((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),ce$6=!le$6((function(){var e=function(){}.bind();return "function"!=typeof e||e.hasOwnProperty("prototype")})),fe$6=Function.prototype.call,de$6=ce$6?fe$6.bind(fe$6):function(){return fe$6.apply(fe$6,arguments)},he$6={}.propertyIsEnumerable,pe$6=Object.getOwnPropertyDescriptor,ge$6=pe$6&&!he$6.call({1:2},1)?function(e){var t=pe$6(this,e);return !!t&&t.enumerable}:he$6,ve$6={f:ge$6},ye$6=function(e,t){return {enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},me$6=Function.prototype,be$6=me$6.call,we$6=ce$6&&me$6.bind.bind(be$6,be$6),xe$6=ce$6?we$6:function(e){return function(){return be$6.apply(e,arguments)}},Se$6=xe$6({}.toString),Ee$6=xe$6("".slice),Oe$6=function(e){return Ee$6(Se$6(e),8,-1)},ke$6=Object,Ce$6=xe$6("".split),Te$6=le$6((function(){return !ke$6("z").propertyIsEnumerable(0)}))?function(e){return "String"===Oe$6(e)?Ce$6(e,""):ke$6(e)}:ke$6,Ne$6=function(e){return null==e},Le$6=TypeError,Me$6=function(e){if(Ne$6(e))throw new Le$6("Can't call method on "+e);return e},Pe$6=function(e){return Te$6(Me$6(e))},De$6="object"==typeof document&&document.all,Re$6=void 0===De$6&&void 0!==De$6?function(e){return "function"==typeof e||e===De$6}:function(e){return "function"==typeof e},je$6=function(e){return "object"==typeof e?null!==e:Re$6(e)},Ae$6=function(e,t){return arguments.length<2?(n=se$6[e],Re$6(n)?n:void 0):se$6[e]&&se$6[e][t];var n;},Ie$6=xe$6({}.isPrototypeOf),Fe$6=se$6.navigator,Be$6=Fe$6&&Fe$6.userAgent,_e$6=Be$6?String(Be$6):"",$e$6=se$6.process,We$6=se$6.Deno,Ve$6=$e$6&&$e$6.versions||We$6&&We$6.version,ze$6=Ve$6&&Ve$6.v8;ze$6&&(ie$6=(oe$6=ze$6.split("."))[0]>0&&oe$6[0]<4?1:+(oe$6[0]+oe$6[1])),!ie$6&&_e$6&&(!(oe$6=_e$6.match(/Edge\/(\d+)/))||oe$6[1]>=74)&&(oe$6=_e$6.match(/Chrome\/(\d+)/))&&(ie$6=+oe$6[1]);var Ue$6=ie$6,He$6=se$6.String,Ke$6=!!Object.getOwnPropertySymbols&&!le$6((function(){var e=Symbol("symbol detection");return !He$6(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&Ue$6&&Ue$6<41})),qe$6=Ke$6&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ge$6=Object,Je$6=qe$6?function(e){return "symbol"==typeof e}:function(e){var t=Ae$6("Symbol");return Re$6(t)&&Ie$6(t.prototype,Ge$6(e))},Ye$6=String,Xe$6=function(e){try{return Ye$6(e)}catch(e){return "Object"}},Qe$6=TypeError,Ze$6=function(e){if(Re$6(e))return e;throw new Qe$6(Xe$6(e)+" is not a function")},et$6=function(e,t){var n=e[t];return Ne$6(n)?void 0:Ze$6(n)},tt$6=TypeError,nt$6=Object.defineProperty,rt$6=function(e,t){try{nt$6(se$6,e,{value:t,configurable:!0,writable:!0});}catch(n){se$6[e]=t;}return t},ot$6=re$6((function(e){var t="__core-js_shared__",n=e.exports=se$6[t]||rt$6(t,{});(n.versions||(n.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});})),it$6=function(e,t){return ot$6[e]||(ot$6[e]=t||{})},at$6=Object,st$6=function(e){return at$6(Me$6(e))},lt$6=xe$6({}.hasOwnProperty),ut$6=Object.hasOwn||function(e,t){return lt$6(st$6(e),t)},ct$6=0,ft$6=Math.random(),dt$6=xe$6(1..toString),ht$6=function(e){return "Symbol("+(void 0===e?"":e)+")_"+dt$6(++ct$6+ft$6,36)},pt$6=se$6.Symbol,gt$6=it$6("wks"),vt$6=qe$6?pt$6.for||pt$6:pt$6&&pt$6.withoutSetter||ht$6,yt$6=function(e){return ut$6(gt$6,e)||(gt$6[e]=Ke$6&&ut$6(pt$6,e)?pt$6[e]:vt$6("Symbol."+e)),gt$6[e]},mt$6=TypeError,bt$6=yt$6("toPrimitive"),wt$6=function(e,t){if(!je$6(e)||Je$6(e))return e;var n,r=et$6(e,bt$6);if(r){if(void 0===t&&(t="default"),n=de$6(r,e,t),!je$6(n)||Je$6(n))return n;throw new mt$6("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&Re$6(n=e.toString)&&!je$6(r=de$6(n,e)))return r;if(Re$6(n=e.valueOf)&&!je$6(r=de$6(n,e)))return r;if("string"!==t&&Re$6(n=e.toString)&&!je$6(r=de$6(n,e)))return r;throw new tt$6("Can't convert object to primitive value")}(e,t)},xt$6=function(e){var t=wt$6(e,"string");return Je$6(t)?t:t+""},St$6=se$6.document,Et$6=je$6(St$6)&&je$6(St$6.createElement),Ot$6=function(e){return Et$6?St$6.createElement(e):{}},kt$6=!ue$6&&!le$6((function(){return 7!==Object.defineProperty(Ot$6("div"),"a",{get:function(){return 7}}).a})),Ct$6=Object.getOwnPropertyDescriptor,Tt$6={f:ue$6?Ct$6:function(e,t){if(e=Pe$6(e),t=xt$6(t),kt$6)try{return Ct$6(e,t)}catch(e){}if(ut$6(e,t))return ye$6(!de$6(ve$6.f,e,t),e[t])}},Nt$6=ue$6&&le$6((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Lt$6=String,Mt$6=TypeError,Pt$6=function(e){if(je$6(e))return e;throw new Mt$6(Lt$6(e)+" is not an object")},Dt$6=TypeError,Rt$6=Object.defineProperty,jt$6=Object.getOwnPropertyDescriptor,At$6="enumerable",It$6="configurable",Ft$6="writable",Bt$6={f:ue$6?Nt$6?function(e,t,n){if(Pt$6(e),t=xt$6(t),Pt$6(n),"function"==typeof e&&"prototype"===t&&"value"in n&&Ft$6 in n&&!n[Ft$6]){var r=jt$6(e,t);r&&r[Ft$6]&&(e[t]=n.value,n={configurable:It$6 in n?n[It$6]:r[It$6],enumerable:At$6 in n?n[At$6]:r[At$6],writable:!1});}return Rt$6(e,t,n)}:Rt$6:function(e,t,n){if(Pt$6(e),t=xt$6(t),Pt$6(n),kt$6)try{return Rt$6(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new Dt$6("Accessors not supported");return "value"in n&&(e[t]=n.value),e}},_t$6=ue$6?function(e,t,n){return Bt$6.f(e,t,ye$6(1,n))}:function(e,t,n){return e[t]=n,e},$t$6=Function.prototype,Wt$6=ue$6&&Object.getOwnPropertyDescriptor,Vt$6=ut$6($t$6,"name"),zt$6={EXISTS:Vt$6,PROPER:Vt$6&&"something"===function(){}.name,CONFIGURABLE:Vt$6&&(!ue$6||ue$6&&Wt$6($t$6,"name").configurable)},Ut$6=xe$6(Function.toString);Re$6(ot$6.inspectSource)||(ot$6.inspectSource=function(e){return Ut$6(e)});var Ht$6,Kt$6,qt$6,Gt$6=ot$6.inspectSource,Jt$6=se$6.WeakMap,Yt$6=Re$6(Jt$6)&&/native code/.test(String(Jt$6)),Xt$6=it$6("keys"),Qt$6=function(e){return Xt$6[e]||(Xt$6[e]=ht$6(e))},Zt$6={},en$6="Object already initialized",tn$6=se$6.TypeError,nn$6=se$6.WeakMap;if(Yt$6||ot$6.state){var rn$6=ot$6.state||(ot$6.state=new nn$6);rn$6.get=rn$6.get,rn$6.has=rn$6.has,rn$6.set=rn$6.set,Ht$6=function(e,t){if(rn$6.has(e))throw new tn$6(en$6);return t.facade=e,rn$6.set(e,t),t},Kt$6=function(e){return rn$6.get(e)||{}},qt$6=function(e){return rn$6.has(e)};}else {var on$6=Qt$6("state");Zt$6[on$6]=!0,Ht$6=function(e,t){if(ut$6(e,on$6))throw new tn$6(en$6);return t.facade=e,_t$6(e,on$6,t),t},Kt$6=function(e){return ut$6(e,on$6)?e[on$6]:{}},qt$6=function(e){return ut$6(e,on$6)};}var an$6={set:Ht$6,get:Kt$6,has:qt$6,enforce:function(e){return qt$6(e)?Kt$6(e):Ht$6(e,{})},getterFor:function(e){return function(t){var n;if(!je$6(t)||(n=Kt$6(t)).type!==e)throw new tn$6("Incompatible receiver, "+e+" required");return n}}},sn$6=re$6((function(e){var t=zt$6.CONFIGURABLE,n=an$6.enforce,r=an$6.get,o=String,i=Object.defineProperty,a=xe$6("".slice),s=xe$6("".replace),l=xe$6([].join),u=ue$6&&!le$6((function(){return 8!==i((function(){}),"length",{value:8}).length})),c=String(String).split("String"),f=e.exports=function(e,r,f){"Symbol("===a(o(r),0,7)&&(r="["+s(o(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),f&&f.getter&&(r="get "+r),f&&f.setter&&(r="set "+r),(!ut$6(e,"name")||t&&e.name!==r)&&(ue$6?i(e,"name",{value:r,configurable:!0}):e.name=r),u&&f&&ut$6(f,"arity")&&e.length!==f.arity&&i(e,"length",{value:f.arity});try{f&&ut$6(f,"constructor")&&f.constructor?ue$6&&i(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0);}catch(e){}var d=n(e);return ut$6(d,"source")||(d.source=l(c,"string"==typeof r?r:"")),e};Function.prototype.toString=f((function(){return Re$6(this)&&r(this).source||Gt$6(this)}),"toString");})),ln$6=function(e,t,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:t;if(Re$6(n)&&sn$6(n,i,r),r.global)o?e[t]=n:rt$6(t,n);else {try{r.unsafe?e[t]&&(o=!0):delete e[t];}catch(e){}o?e[t]=n:Bt$6.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable});}return e},un$6=Math.ceil,cn$6=Math.floor,fn$6=Math.trunc||function(e){var t=+e;return (t>0?cn$6:un$6)(t)},dn$6=function(e){var t=+e;return t!=t||0===t?0:fn$6(t)},hn$6=Math.max,pn$6=Math.min,gn$6=function(e,t){var n=dn$6(e);return n<0?hn$6(n+t,0):pn$6(n,t)},vn$6=Math.min,yn$6=function(e){var t=dn$6(e);return t>0?vn$6(t,9007199254740991):0},mn$6=function(e){return yn$6(e.length)},bn$6=function(e){return function(t,n,r){var o=Pe$6(t),i=mn$6(o);if(0===i)return !e&&-1;var a,s=gn$6(r,i);if(e&&n!=n){for(;i>s;)if((a=o[s++])!=a)return !0}else for(;i>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return !e&&-1}},wn$6={includes:bn$6(!0),indexOf:bn$6(!1)},xn$6=wn$6.indexOf,Sn$6=xe$6([].push),En$6=function(e,t){var n,r=Pe$6(e),o=0,i=[];for(n in r)!ut$6(Zt$6,n)&&ut$6(r,n)&&Sn$6(i,n);for(;t.length>o;)ut$6(r,n=t[o++])&&(~xn$6(i,n)||Sn$6(i,n));return i},On$6=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],kn$6=On$6.concat("length","prototype"),Cn$6={f:Object.getOwnPropertyNames||function(e){return En$6(e,kn$6)}},Tn$6={f:Object.getOwnPropertySymbols},Nn$6=xe$6([].concat),Ln$6=Ae$6("Reflect","ownKeys")||function(e){var t=Cn$6.f(Pt$6(e)),n=Tn$6.f;return n?Nn$6(t,n(e)):t},Mn$6=function(e,t,n){for(var r=Ln$6(t),o=Bt$6.f,i=Tt$6.f,a=0;a<r.length;a++){var s=r[a];ut$6(e,s)||n&&ut$6(n,s)||o(e,s,i(t,s));}},Pn$6=/#|\.prototype\./,Dn$6=function(e,t){var n=jn$6[Rn$6(e)];return n===In$6||n!==An$6&&(Re$6(t)?le$6(t):!!t)},Rn$6=Dn$6.normalize=function(e){return String(e).replace(Pn$6,".").toLowerCase()},jn$6=Dn$6.data={},An$6=Dn$6.NATIVE="N",In$6=Dn$6.POLYFILL="P",Fn$6=Dn$6,Bn$6=Tt$6.f,_n$6=function(e,t){var n,r,o,i,a,s=e.target,l=e.global,u=e.stat;if(n=l?se$6:u?se$6[s]||rt$6(s,{}):se$6[s]&&se$6[s].prototype)for(r in t){if(i=t[r],o=e.dontCallGetSet?(a=Bn$6(n,r))&&a.value:n[r],!Fn$6(l?r:s+(u?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Mn$6(i,o);}(e.sham||o&&o.sham)&&_t$6(i,"sham",!0),ln$6(n,r,i,e);}},$n$6=Object.keys||function(e){return En$6(e,On$6)},Wn$6=le$6((function(){$n$6(1);}));_n$6({target:"Object",stat:!0,forced:Wn$6},{keys:function(e){return $n$6(st$6(e))}});var Vn$6={};Vn$6[yt$6("toStringTag")]="z";var zn$6="[object z]"===String(Vn$6),Un$6=yt$6("toStringTag"),Hn$6=Object,Kn$6="Arguments"===Oe$6(function(){return arguments}()),qn$6=zn$6?Oe$6:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Hn$6(e),Un$6))?n:Kn$6?Oe$6(t):"Object"===(r=Oe$6(t))&&Re$6(t.callee)?"Arguments":r},Gn$6=zn$6?{}.toString:function(){return "[object "+qn$6(this)+"]"};zn$6||ln$6(Object.prototype,"toString",Gn$6,{unsafe:!0});var Jn$6={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},Yn$6=Ot$6("span").classList,Xn$6=Yn$6&&Yn$6.constructor&&Yn$6.constructor.prototype,Qn$6=Xn$6===Object.prototype?void 0:Xn$6,Zn$6=function(e){if("Function"===Oe$6(e))return xe$6(e)},er$5=Zn$6(Zn$6.bind),tr$5=function(e,t){return Ze$6(e),void 0===t?e:ce$6?er$5(e,t):function(){return e.apply(t,arguments)}},nr$5=Array.isArray||function(e){return "Array"===Oe$6(e)},rr$5=function(){},or$5=Ae$6("Reflect","construct"),ir$5=/^\s*(?:class|function)\b/,ar$5=xe$6(ir$5.exec),sr$5=!ir$5.test(rr$5),lr$5=function(e){if(!Re$6(e))return !1;try{return or$5(rr$5,[],e),!0}catch(e){return !1}},ur$5=function(e){if(!Re$6(e))return !1;switch(qn$6(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return !1}try{return sr$5||!!ar$5(ir$5,Gt$6(e))}catch(e){return !0}};ur$5.sham=!0;var cr$5=!or$5||le$6((function(){var e;return lr$5(lr$5.call)||!lr$5(Object)||!lr$5((function(){e=!0;}))||e}))?ur$5:lr$5,fr$5=yt$6("species"),dr$5=Array,hr$5=function(e,t){return new(function(e){var t;return nr$5(e)&&(t=e.constructor,(cr$5(t)&&(t===dr$5||nr$5(t.prototype))||je$6(t)&&null===(t=t[fr$5]))&&(t=void 0)),void 0===t?dr$5:t}(e))(0===t?0:t)},pr$5=xe$6([].push),gr$5=function(e){var t=1===e,n=2===e,r=3===e,o=4===e,i=6===e,a=7===e,s=5===e||i;return function(l,u,c,f){for(var d,h,p=st$6(l),g=Te$6(p),v=mn$6(g),y=tr$5(u,c),m=0,b=f||hr$5,w=t?b(l,v):n||a?b(l,0):void 0;v>m;m++)if((s||m in g)&&(h=y(d=g[m],m,p),e))if(t)w[m]=h;else if(h)switch(e){case 3:return !0;case 5:return d;case 6:return m;case 2:pr$5(w,d);}else switch(e){case 4:return !1;case 7:pr$5(w,d);}return i?-1:r||o?o:w}},vr$5={forEach:gr$5(0),map:gr$5(1),filter:gr$5(2),some:gr$5(3),every:gr$5(4),find:gr$5(5),findIndex:gr$5(6),filterReject:gr$5(7)},yr$5=function(e,t){var n=[][e];return !!n&&le$6((function(){n.call(null,t||function(){return 1},1);}))},mr$5=vr$5.forEach,br$5=yr$5("forEach")?[].forEach:function(e){return mr$5(this,e,arguments.length>1?arguments[1]:void 0)},wr$5=function(e){if(e&&e.forEach!==br$5)try{_t$6(e,"forEach",br$5);}catch(t){e.forEach=br$5;}};for(var xr$5 in Jn$6)Jn$6[xr$5]&&wr$5(se$6[xr$5]&&se$6[xr$5].prototype);
17504
+ var ne$6="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function re$6(e){var t={exports:{}};return e(t,t.exports),t.exports}var oe$6,ie$6,ae$6=function(e){return e&&e.Math===Math&&e},se$6=ae$6("object"==typeof globalThis&&globalThis)||ae$6("object"==typeof window&&window)||ae$6("object"==typeof self&&self)||ae$6("object"==typeof ne$6&&ne$6)||ae$6("object"==typeof ne$6&&ne$6)||function(){return this}()||Function("return this")(),ce$6=function(e){try{return !!e()}catch(e){return !0}},le$6=!ce$6((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),ue$6=!ce$6((function(){var e=function(){}.bind();return "function"!=typeof e||e.hasOwnProperty("prototype")})),fe$6=Function.prototype.call,de$6=ue$6?fe$6.bind(fe$6):function(){return fe$6.apply(fe$6,arguments)},he$6={}.propertyIsEnumerable,pe$6=Object.getOwnPropertyDescriptor,ge$6=pe$6&&!he$6.call({1:2},1)?function(e){var t=pe$6(this,e);return !!t&&t.enumerable}:he$6,ve$6={f:ge$6},ye$6=function(e,t){return {enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},me$6=Function.prototype,be$6=me$6.call,we$6=ue$6&&me$6.bind.bind(be$6,be$6),xe$6=ue$6?we$6:function(e){return function(){return be$6.apply(e,arguments)}},Se$6=xe$6({}.toString),Ee$6=xe$6("".slice),Oe$6=function(e){return Ee$6(Se$6(e),8,-1)},ke$6=Object,Ce$6=xe$6("".split),Te$6=ce$6((function(){return !ke$6("z").propertyIsEnumerable(0)}))?function(e){return "String"===Oe$6(e)?Ce$6(e,""):ke$6(e)}:ke$6,Ne$6=function(e){return null==e},Le$6=TypeError,Me$6=function(e){if(Ne$6(e))throw new Le$6("Can't call method on "+e);return e},Pe$6=function(e){return Te$6(Me$6(e))},De$6="object"==typeof document&&document.all,Re$6=void 0===De$6&&void 0!==De$6?function(e){return "function"==typeof e||e===De$6}:function(e){return "function"==typeof e},je$6=function(e){return "object"==typeof e?null!==e:Re$6(e)},Ae$6=function(e,t){return arguments.length<2?(n=se$6[e],Re$6(n)?n:void 0):se$6[e]&&se$6[e][t];var n;},Ie$6=xe$6({}.isPrototypeOf),Fe$6=se$6.navigator,Be$6=Fe$6&&Fe$6.userAgent,_e$6=Be$6?String(Be$6):"",$e$6=se$6.process,We$6=se$6.Deno,Ve$6=$e$6&&$e$6.versions||We$6&&We$6.version,ze$6=Ve$6&&Ve$6.v8;ze$6&&(ie$6=(oe$6=ze$6.split("."))[0]>0&&oe$6[0]<4?1:+(oe$6[0]+oe$6[1])),!ie$6&&_e$6&&(!(oe$6=_e$6.match(/Edge\/(\d+)/))||oe$6[1]>=74)&&(oe$6=_e$6.match(/Chrome\/(\d+)/))&&(ie$6=+oe$6[1]);var He$6=ie$6,Ue$6=se$6.String,Ke$6=!!Object.getOwnPropertySymbols&&!ce$6((function(){var e=Symbol("symbol detection");return !Ue$6(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&He$6&&He$6<41})),qe$6=Ke$6&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Ge$6=Object,Je$6=qe$6?function(e){return "symbol"==typeof e}:function(e){var t=Ae$6("Symbol");return Re$6(t)&&Ie$6(t.prototype,Ge$6(e))},Ye$6=String,Xe$6=function(e){try{return Ye$6(e)}catch(e){return "Object"}},Qe$6=TypeError,Ze$6=function(e){if(Re$6(e))return e;throw new Qe$6(Xe$6(e)+" is not a function")},et$6=function(e,t){var n=e[t];return Ne$6(n)?void 0:Ze$6(n)},tt$6=TypeError,nt$6=Object.defineProperty,rt$6=function(e,t){try{nt$6(se$6,e,{value:t,configurable:!0,writable:!0});}catch(n){se$6[e]=t;}return t},ot$6=re$6((function(e){var t="__core-js_shared__",n=e.exports=se$6[t]||rt$6(t,{});(n.versions||(n.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});})),it$6=function(e,t){return ot$6[e]||(ot$6[e]=t||{})},at$6=Object,st$6=function(e){return at$6(Me$6(e))},ct$6=xe$6({}.hasOwnProperty),lt$6=Object.hasOwn||function(e,t){return ct$6(st$6(e),t)},ut$6=0,ft$6=Math.random(),dt$6=xe$6(1..toString),ht$6=function(e){return "Symbol("+(void 0===e?"":e)+")_"+dt$6(++ut$6+ft$6,36)},pt$6=se$6.Symbol,gt$6=it$6("wks"),vt$6=qe$6?pt$6.for||pt$6:pt$6&&pt$6.withoutSetter||ht$6,yt$6=function(e){return lt$6(gt$6,e)||(gt$6[e]=Ke$6&&lt$6(pt$6,e)?pt$6[e]:vt$6("Symbol."+e)),gt$6[e]},mt$6=TypeError,bt$6=yt$6("toPrimitive"),wt$6=function(e,t){if(!je$6(e)||Je$6(e))return e;var n,r=et$6(e,bt$6);if(r){if(void 0===t&&(t="default"),n=de$6(r,e,t),!je$6(n)||Je$6(n))return n;throw new mt$6("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&Re$6(n=e.toString)&&!je$6(r=de$6(n,e)))return r;if(Re$6(n=e.valueOf)&&!je$6(r=de$6(n,e)))return r;if("string"!==t&&Re$6(n=e.toString)&&!je$6(r=de$6(n,e)))return r;throw new tt$6("Can't convert object to primitive value")}(e,t)},xt$6=function(e){var t=wt$6(e,"string");return Je$6(t)?t:t+""},St$6=se$6.document,Et$6=je$6(St$6)&&je$6(St$6.createElement),Ot$6=function(e){return Et$6?St$6.createElement(e):{}},kt$6=!le$6&&!ce$6((function(){return 7!==Object.defineProperty(Ot$6("div"),"a",{get:function(){return 7}}).a})),Ct$6=Object.getOwnPropertyDescriptor,Tt$6={f:le$6?Ct$6:function(e,t){if(e=Pe$6(e),t=xt$6(t),kt$6)try{return Ct$6(e,t)}catch(e){}if(lt$6(e,t))return ye$6(!de$6(ve$6.f,e,t),e[t])}},Nt$6=le$6&&ce$6((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Lt$6=String,Mt$6=TypeError,Pt$6=function(e){if(je$6(e))return e;throw new Mt$6(Lt$6(e)+" is not an object")},Dt$6=TypeError,Rt$6=Object.defineProperty,jt$6=Object.getOwnPropertyDescriptor,At$6="enumerable",It$6="configurable",Ft$6="writable",Bt$6={f:le$6?Nt$6?function(e,t,n){if(Pt$6(e),t=xt$6(t),Pt$6(n),"function"==typeof e&&"prototype"===t&&"value"in n&&Ft$6 in n&&!n[Ft$6]){var r=jt$6(e,t);r&&r[Ft$6]&&(e[t]=n.value,n={configurable:It$6 in n?n[It$6]:r[It$6],enumerable:At$6 in n?n[At$6]:r[At$6],writable:!1});}return Rt$6(e,t,n)}:Rt$6:function(e,t,n){if(Pt$6(e),t=xt$6(t),Pt$6(n),kt$6)try{return Rt$6(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new Dt$6("Accessors not supported");return "value"in n&&(e[t]=n.value),e}},_t$6=le$6?function(e,t,n){return Bt$6.f(e,t,ye$6(1,n))}:function(e,t,n){return e[t]=n,e},$t$6=Function.prototype,Wt$6=le$6&&Object.getOwnPropertyDescriptor,Vt$6=lt$6($t$6,"name"),zt$6={EXISTS:Vt$6,PROPER:Vt$6&&"something"===function(){}.name,CONFIGURABLE:Vt$6&&(!le$6||le$6&&Wt$6($t$6,"name").configurable)},Ht$6=xe$6(Function.toString);Re$6(ot$6.inspectSource)||(ot$6.inspectSource=function(e){return Ht$6(e)});var Ut$6,Kt$6,qt$6,Gt$6=ot$6.inspectSource,Jt$6=se$6.WeakMap,Yt$6=Re$6(Jt$6)&&/native code/.test(String(Jt$6)),Xt$6=it$6("keys"),Qt$6=function(e){return Xt$6[e]||(Xt$6[e]=ht$6(e))},Zt$6={},en$6="Object already initialized",tn$6=se$6.TypeError,nn$6=se$6.WeakMap;if(Yt$6||ot$6.state){var rn$6=ot$6.state||(ot$6.state=new nn$6);rn$6.get=rn$6.get,rn$6.has=rn$6.has,rn$6.set=rn$6.set,Ut$6=function(e,t){if(rn$6.has(e))throw new tn$6(en$6);return t.facade=e,rn$6.set(e,t),t},Kt$6=function(e){return rn$6.get(e)||{}},qt$6=function(e){return rn$6.has(e)};}else {var on$6=Qt$6("state");Zt$6[on$6]=!0,Ut$6=function(e,t){if(lt$6(e,on$6))throw new tn$6(en$6);return t.facade=e,_t$6(e,on$6,t),t},Kt$6=function(e){return lt$6(e,on$6)?e[on$6]:{}},qt$6=function(e){return lt$6(e,on$6)};}var an$6={set:Ut$6,get:Kt$6,has:qt$6,enforce:function(e){return qt$6(e)?Kt$6(e):Ut$6(e,{})},getterFor:function(e){return function(t){var n;if(!je$6(t)||(n=Kt$6(t)).type!==e)throw new tn$6("Incompatible receiver, "+e+" required");return n}}},sn$6=re$6((function(e){var t=zt$6.CONFIGURABLE,n=an$6.enforce,r=an$6.get,o=String,i=Object.defineProperty,a=xe$6("".slice),s=xe$6("".replace),c=xe$6([].join),l=le$6&&!ce$6((function(){return 8!==i((function(){}),"length",{value:8}).length})),u=String(String).split("String"),f=e.exports=function(e,r,f){"Symbol("===a(o(r),0,7)&&(r="["+s(o(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),f&&f.getter&&(r="get "+r),f&&f.setter&&(r="set "+r),(!lt$6(e,"name")||t&&e.name!==r)&&(le$6?i(e,"name",{value:r,configurable:!0}):e.name=r),l&&f&&lt$6(f,"arity")&&e.length!==f.arity&&i(e,"length",{value:f.arity});try{f&&lt$6(f,"constructor")&&f.constructor?le$6&&i(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0);}catch(e){}var d=n(e);return lt$6(d,"source")||(d.source=c(u,"string"==typeof r?r:"")),e};Function.prototype.toString=f((function(){return Re$6(this)&&r(this).source||Gt$6(this)}),"toString");})),cn$6=function(e,t,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:t;if(Re$6(n)&&sn$6(n,i,r),r.global)o?e[t]=n:rt$6(t,n);else {try{r.unsafe?e[t]&&(o=!0):delete e[t];}catch(e){}o?e[t]=n:Bt$6.f(e,t,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable});}return e},ln$6=Math.ceil,un$6=Math.floor,fn$6=Math.trunc||function(e){var t=+e;return (t>0?un$6:ln$6)(t)},dn$6=function(e){var t=+e;return t!=t||0===t?0:fn$6(t)},hn$6=Math.max,pn$6=Math.min,gn$6=function(e,t){var n=dn$6(e);return n<0?hn$6(n+t,0):pn$6(n,t)},vn$6=Math.min,yn$6=function(e){var t=dn$6(e);return t>0?vn$6(t,9007199254740991):0},mn$6=function(e){return yn$6(e.length)},bn$6=function(e){return function(t,n,r){var o=Pe$6(t),i=mn$6(o);if(0===i)return !e&&-1;var a,s=gn$6(r,i);if(e&&n!=n){for(;i>s;)if((a=o[s++])!=a)return !0}else for(;i>s;s++)if((e||s in o)&&o[s]===n)return e||s||0;return !e&&-1}},wn$6={includes:bn$6(!0),indexOf:bn$6(!1)},xn$6=wn$6.indexOf,Sn$6=xe$6([].push),En$6=function(e,t){var n,r=Pe$6(e),o=0,i=[];for(n in r)!lt$6(Zt$6,n)&&lt$6(r,n)&&Sn$6(i,n);for(;t.length>o;)lt$6(r,n=t[o++])&&(~xn$6(i,n)||Sn$6(i,n));return i},On$6=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],kn$6=On$6.concat("length","prototype"),Cn$6={f:Object.getOwnPropertyNames||function(e){return En$6(e,kn$6)}},Tn$6={f:Object.getOwnPropertySymbols},Nn$6=xe$6([].concat),Ln$6=Ae$6("Reflect","ownKeys")||function(e){var t=Cn$6.f(Pt$6(e)),n=Tn$6.f;return n?Nn$6(t,n(e)):t},Mn$6=function(e,t,n){for(var r=Ln$6(t),o=Bt$6.f,i=Tt$6.f,a=0;a<r.length;a++){var s=r[a];lt$6(e,s)||n&&lt$6(n,s)||o(e,s,i(t,s));}},Pn$6=/#|\.prototype\./,Dn$6=function(e,t){var n=jn$6[Rn$6(e)];return n===In$6||n!==An$6&&(Re$6(t)?ce$6(t):!!t)},Rn$6=Dn$6.normalize=function(e){return String(e).replace(Pn$6,".").toLowerCase()},jn$6=Dn$6.data={},An$6=Dn$6.NATIVE="N",In$6=Dn$6.POLYFILL="P",Fn$6=Dn$6,Bn$6=Tt$6.f,_n$6=function(e,t){var n,r,o,i,a,s=e.target,c=e.global,l=e.stat;if(n=c?se$6:l?se$6[s]||rt$6(s,{}):se$6[s]&&se$6[s].prototype)for(r in t){if(i=t[r],o=e.dontCallGetSet?(a=Bn$6(n,r))&&a.value:n[r],!Fn$6(c?r:s+(l?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Mn$6(i,o);}(e.sham||o&&o.sham)&&_t$6(i,"sham",!0),cn$6(n,r,i,e);}},$n$6=Object.keys||function(e){return En$6(e,On$6)},Wn$6=ce$6((function(){$n$6(1);}));_n$6({target:"Object",stat:!0,forced:Wn$6},{keys:function(e){return $n$6(st$6(e))}});var Vn$6={};Vn$6[yt$6("toStringTag")]="z";var zn$6="[object z]"===String(Vn$6),Hn$6=yt$6("toStringTag"),Un$6=Object,Kn$6="Arguments"===Oe$6(function(){return arguments}()),qn$6=zn$6?Oe$6:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Un$6(e),Hn$6))?n:Kn$6?Oe$6(t):"Object"===(r=Oe$6(t))&&Re$6(t.callee)?"Arguments":r},Gn$6=zn$6?{}.toString:function(){return "[object "+qn$6(this)+"]"};zn$6||cn$6(Object.prototype,"toString",Gn$6,{unsafe:!0});var Jn$6={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},Yn$6=Ot$6("span").classList,Xn$6=Yn$6&&Yn$6.constructor&&Yn$6.constructor.prototype,Qn$6=Xn$6===Object.prototype?void 0:Xn$6,Zn$6=function(e){if("Function"===Oe$6(e))return xe$6(e)},er$5=Zn$6(Zn$6.bind),tr$5=function(e,t){return Ze$6(e),void 0===t?e:ue$6?er$5(e,t):function(){return e.apply(t,arguments)}},nr$5=Array.isArray||function(e){return "Array"===Oe$6(e)},rr$5=function(){},or$5=Ae$6("Reflect","construct"),ir$5=/^\s*(?:class|function)\b/,ar$5=xe$6(ir$5.exec),sr$5=!ir$5.test(rr$5),cr$5=function(e){if(!Re$6(e))return !1;try{return or$5(rr$5,[],e),!0}catch(e){return !1}},lr$5=function(e){if(!Re$6(e))return !1;switch(qn$6(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return !1}try{return sr$5||!!ar$5(ir$5,Gt$6(e))}catch(e){return !0}};lr$5.sham=!0;var ur$5=!or$5||ce$6((function(){var e;return cr$5(cr$5.call)||!cr$5(Object)||!cr$5((function(){e=!0;}))||e}))?lr$5:cr$5,fr$5=yt$6("species"),dr$5=Array,hr$5=function(e,t){return new(function(e){var t;return nr$5(e)&&(t=e.constructor,(ur$5(t)&&(t===dr$5||nr$5(t.prototype))||je$6(t)&&null===(t=t[fr$5]))&&(t=void 0)),void 0===t?dr$5:t}(e))(0===t?0:t)},pr$5=xe$6([].push),gr$5=function(e){var t=1===e,n=2===e,r=3===e,o=4===e,i=6===e,a=7===e,s=5===e||i;return function(c,l,u,f){for(var d,h,p=st$6(c),g=Te$6(p),v=mn$6(g),y=tr$5(l,u),m=0,b=f||hr$5,w=t?b(c,v):n||a?b(c,0):void 0;v>m;m++)if((s||m in g)&&(h=y(d=g[m],m,p),e))if(t)w[m]=h;else if(h)switch(e){case 3:return !0;case 5:return d;case 6:return m;case 2:pr$5(w,d);}else switch(e){case 4:return !1;case 7:pr$5(w,d);}return i?-1:r||o?o:w}},vr$5={forEach:gr$5(0),map:gr$5(1),filter:gr$5(2),some:gr$5(3),every:gr$5(4),find:gr$5(5),findIndex:gr$5(6),filterReject:gr$5(7)},yr$5=function(e,t){var n=[][e];return !!n&&ce$6((function(){n.call(null,t||function(){return 1},1);}))},mr$5=vr$5.forEach,br$5=yr$5("forEach")?[].forEach:function(e){return mr$5(this,e,arguments.length>1?arguments[1]:void 0)},wr$5=function(e){if(e&&e.forEach!==br$5)try{_t$6(e,"forEach",br$5);}catch(t){e.forEach=br$5;}};for(var xr$5 in Jn$6)Jn$6[xr$5]&&wr$5(se$6[xr$5]&&se$6[xr$5].prototype);
17505
17505
  /*!
17506
17506
  * is-plain-object <https://github.com/jonschlinkert/is-plain-object>
17507
17507
  *
17508
17508
  * Copyright (c) 2014-2017, Jon Schlinkert.
17509
17509
  * Released under the MIT License.
17510
17510
  */
17511
- function Sr$5(e){return "[object Object]"===Object.prototype.toString.call(e)}wr$5(Qn$6);var Er$5={isHistory(e){return !1!==Sr$5(n=e)&&(void 0===(r=n.constructor)||!1!==Sr$5(o=r.prototype)&&!1!==o.hasOwnProperty("isPrototypeOf"))&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(0===e.redos.length||Operation.isOperationList(e.redos[0]))&&(0===e.undos.length||Operation.isOperationList(e.undos[0]));var n,r,o;}},Or$5=new WeakMap,kr$5=new WeakMap,Cr$5={isHistoryEditor:t=>Er$5.isHistory(t.history)&&Editor.isEditor(t),isMerging:e=>kr$5.get(e),isSaving:e=>Or$5.get(e),redo(e){e.redo();},undo(e){e.undo();},withoutMerging(e,t){var n=Cr$5.isMerging(e);kr$5.set(e,!1),t(),kr$5.set(e,n);},withoutSaving(e,t){var n=Cr$5.isSaving(e);Or$5.set(e,!1),t(),Or$5.set(e,n);}},Tr$5=(e,t)=>"set_selection"===e.type||(!(!t||"insert_text"!==e.type||"insert_text"!==t.type||e.offset!==t.offset+t.text.length||!Path.equals(e.path,t.path))||!(!t||"remove_text"!==e.type||"remove_text"!==t.type||e.offset+e.text.length!==t.offset||!Path.equals(e.path,t.path))),Nr$5=(e,t)=>"set_selection"!==e.type||null!=e.properties&&null!=e.newProperties,Lr$5=(e,t)=>!(!t||"set_selection"!==e.type||"set_selection"!==t.type),Mr$5=e=>"set_selection"!==e.type,Pr$5=String,Dr$5=function(e){if("Symbol"===qn$6(e))throw new TypeError("Cannot convert a Symbol value to a string");return Pr$5(e)},Rr$5=function(){var e=Pt$6(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},jr$5=RegExp.prototype,Ar$5=function(e){var t=e.flags;return void 0!==t||"flags"in jr$5||ut$6(e,"flags")||!Ie$6(jr$5,e)?t:de$6(Rr$5,e)},Ir$5=zt$6.PROPER,Fr$5="toString",Br$5=RegExp.prototype,_r$5=Br$5[Fr$5],$r$5=le$6((function(){return "/a/b"!==_r$5.call({source:"a",flags:"b"})})),Wr$5=Ir$5&&_r$5.name!==Fr$5;($r$5||Wr$5)&&ln$6(Br$5,Fr$5,(function(){var e=Pt$6(this);return "/"+Dr$5(e.source)+"/"+Dr$5(Ar$5(e))}),{unsafe:!0});var Vr$5=function(e,t,n){var r,o;Pt$6(e);try{if(!(r=et$6(e,"return"))){if("throw"===t)throw n;return n}r=de$6(r,e);}catch(e){o=!0,r=e;}if("throw"===t)throw n;if(o)throw r;return Pt$6(r),n},zr$5=function(e,t,n,r){try{return r?t(Pt$6(n)[0],n[1]):t(n)}catch(t){Vr$5(e,"throw",t);}},Ur$5={},Hr$5=yt$6("iterator"),Kr$5=Array.prototype,qr$5=function(e){return void 0!==e&&(Ur$5.Array===e||Kr$5[Hr$5]===e)},Gr$5=function(e,t,n){ue$6?Bt$6.f(e,t,ye$6(0,n)):e[t]=n;},Jr$5=yt$6("iterator"),Yr$5=function(e){if(!Ne$6(e))return et$6(e,Jr$5)||et$6(e,"@@iterator")||Ur$5[qn$6(e)]},Xr$5=TypeError,Qr$5=function(e,t){var n=arguments.length<2?Yr$5(e):t;if(Ze$6(n))return Pt$6(de$6(n,e));throw new Xr$5(Xe$6(e)+" is not iterable")},Zr$5=Array,eo$5=yt$6("iterator"),to$5=!1;try{var no$5=0,ro$5={next:function(){return {done:!!no$5++}},return:function(){to$5=!0;}};ro$5[eo$5]=function(){return this},Array.from(ro$5,(function(){throw 2}));}catch(e){}var oo$5=function(e,t){try{if(!t&&!to$5)return !1}catch(e){return !1}var n=!1;try{var r={};r[eo$5]=function(){return {next:function(){return {done:n=!0}}}},e(r);}catch(e){}return n},io$5=!oo$5((function(e){Array.from(e);}));_n$6({target:"Array",stat:!0,forced:io$5},{from:function(e){var t=st$6(e),n=cr$5(this),r=arguments.length,o=r>1?arguments[1]:void 0,i=void 0!==o;i&&(o=tr$5(o,r>2?arguments[2]:void 0));var a,s,l,u,c,f,d=Yr$5(t),h=0;if(!d||this===Zr$5&&qr$5(d))for(a=mn$6(t),s=n?new this(a):Zr$5(a);a>h;h++)f=i?o(t[h],h):t[h],Gr$5(s,h,f);else for(s=n?new this:[],c=(u=Qr$5(t,d)).next;!(l=de$6(c,u)).done;h++)f=i?zr$5(u,o,[l.value,h],!0):l.value,Gr$5(s,h,f);return s.length=h,s}});var ao$5,so$5=ue$6&&!Nt$6?Object.defineProperties:function(e,t){Pt$6(e);for(var n,r=Pe$6(t),o=$n$6(t),i=o.length,a=0;i>a;)Bt$6.f(e,n=o[a++],r[n]);return e},lo$5={f:so$5},uo$5=Ae$6("document","documentElement"),co$5="prototype",fo$5="script",ho$5=Qt$6("IE_PROTO"),po$5=function(){},go$5=function(e){return "<"+fo$5+">"+e+"</"+fo$5+">"},vo$5=function(e){e.write(go$5("")),e.close();var t=e.parentWindow.Object;return e=null,t},yo$5=function(){try{ao$5=new ActiveXObject("htmlfile");}catch(e){}var e,t,n;yo$5="undefined"!=typeof document?document.domain&&ao$5?vo$5(ao$5):(t=Ot$6("iframe"),n="java"+fo$5+":",t.style.display="none",uo$5.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(go$5("document.F=Object")),e.close(),e.F):vo$5(ao$5);for(var r=On$6.length;r--;)delete yo$5[co$5][On$6[r]];return yo$5()};Zt$6[ho$5]=!0;var mo$5=Object.create||function(e,t){var n;return null!==e?(po$5[co$5]=Pt$6(e),n=new po$5,po$5[co$5]=null,n[ho$5]=e):n=yo$5(),void 0===t?n:lo$5.f(n,t)},bo$5=Bt$6.f,wo$5=yt$6("unscopables"),xo$5=Array.prototype;void 0===xo$5[wo$5]&&bo$5(xo$5,wo$5,{configurable:!0,value:mo$5(null)});var So$5=function(e){xo$5[wo$5][e]=!0;},Eo$5=wn$6.includes,Oo$5=le$6((function(){return !Array(1).includes()}));_n$6({target:"Array",proto:!0,forced:Oo$5},{includes:function(e){return Eo$5(this,e,arguments.length>1?arguments[1]:void 0)}}),So$5("includes");var ko$5=xe$6([].join),Co$5=Te$6!==Object||!yr$5("join",",");_n$6({target:"Array",proto:!0,forced:Co$5},{join:function(e){return ko$5(Pe$6(this),void 0===e?",":e)}});var To$5=yt$6("species"),No$5=function(e){return Ue$6>=51||!le$6((function(){var t=[];return (t.constructor={})[To$5]=function(){return {foo:1}},1!==t[e](Boolean).foo}))},Lo$5=vr$5.map,Mo$5=No$5("map");_n$6({target:"Array",proto:!0,forced:!Mo$5},{map:function(e){return Lo$5(this,e,arguments.length>1?arguments[1]:void 0)}});var Po$5=!le$6((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Do$5=Qt$6("IE_PROTO"),Ro$5=Object,jo$5=Ro$5.prototype,Ao$5=Po$5?Ro$5.getPrototypeOf:function(e){var t=st$6(e);if(ut$6(t,Do$5))return t[Do$5];var n=t.constructor;return Re$6(n)&&t instanceof n?n.prototype:t instanceof Ro$5?jo$5:null};_n$6({target:"Reflect",stat:!0},{get:function e(t,n){var r,o,i=arguments.length<3?t:arguments[2];return Pt$6(t)===i?t[n]:(r=Tt$6.f(t,n))?function(e){return void 0!==e&&(ut$6(e,"value")||ut$6(e,"writable"))}(r)?r.value:void 0===r.get?void 0:de$6(r.get,i):je$6(o=Ao$5(t))?e(o,n,i):void 0}});var Io$5=se$6.RegExp,Fo$5=le$6((function(){var e=Io$5("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),Bo$5=Fo$5||le$6((function(){return !Io$5("a","y").sticky})),_o$5={BROKEN_CARET:Fo$5||le$6((function(){var e=Io$5("^r","gy");return e.lastIndex=2,null!==e.exec("str")})),MISSED_STICKY:Bo$5,UNSUPPORTED_Y:Fo$5},$o$5=se$6.RegExp,Wo$5=le$6((function(){var e=$o$5(".","s");return !(e.dotAll&&e.test("\n")&&"s"===e.flags)})),Vo$5=se$6.RegExp,zo$5=le$6((function(){var e=Vo$5("(?<a>b)","g");return "b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Uo$5=an$6.get,Ho$5=it$6("native-string-replace",String.prototype.replace),Ko$5=RegExp.prototype.exec,qo$5=Ko$5,Go$5=xe$6("".charAt),Jo$5=xe$6("".indexOf),Yo$5=xe$6("".replace),Xo$5=xe$6("".slice),Qo$5=function(){var e=/a/,t=/b*/g;return de$6(Ko$5,e,"a"),de$6(Ko$5,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),Zo$5=_o$5.BROKEN_CARET,ei$5=void 0!==/()??/.exec("")[1];(Qo$5||ei$5||Zo$5||Wo$5||zo$5)&&(qo$5=function(e){var t,n,r,o,i,a,s,l=this,u=Uo$5(l),c=Dr$5(e),f=u.raw;if(f)return f.lastIndex=l.lastIndex,t=de$6(qo$5,f,c),l.lastIndex=f.lastIndex,t;var d=u.groups,h=Zo$5&&l.sticky,p=de$6(Rr$5,l),g=l.source,v=0,y=c;if(h&&(p=Yo$5(p,"y",""),-1===Jo$5(p,"g")&&(p+="g"),y=Xo$5(c,l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==Go$5(c,l.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",p)),ei$5&&(n=new RegExp("^"+g+"$(?!\\s)",p)),Qo$5&&(r=l.lastIndex),o=de$6(Ko$5,h?n:l,y),h?o?(o.input=Xo$5(o.input,v),o[0]=Xo$5(o[0],v),o.index=l.lastIndex,l.lastIndex+=o[0].length):l.lastIndex=0:Qo$5&&o&&(l.lastIndex=l.global?o.index+o[0].length:r),ei$5&&o&&o.length>1&&de$6(Ho$5,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0);})),o&&d)for(o.groups=a=mo$5(null),i=0;i<d.length;i++)a[(s=d[i])[0]]=o[s[1]];return o});var ti$5=qo$5;_n$6({target:"RegExp",proto:!0,forced:/./.exec!==ti$5},{exec:ti$5});var ni$5,ri$5=yt$6("match"),oi$5=function(e){var t;return je$6(e)&&(void 0!==(t=e[ri$5])?!!t:"RegExp"===Oe$6(e))},ii$5=TypeError,ai$5=function(e){if(oi$5(e))throw new ii$5("The method doesn't accept regular expressions");return e},si$5=yt$6("match"),li$5=function(e){var t=/./;try{"/./"[e](t);}catch(n){try{return t[si$5]=!1,"/./"[e](t)}catch(e){}}return !1},ui$5=Tt$6.f,ci$5=Zn$6("".slice),fi$5=Math.min,di$5=li$5("endsWith"),hi$5=!(di$5||(ni$5=ui$5(String.prototype,"endsWith"),!ni$5||ni$5.writable));_n$6({target:"String",proto:!0,forced:!hi$5&&!di$5},{endsWith:function(e){var t=Dr$5(Me$6(this));ai$5(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,o=void 0===n?r:fi$5(yn$6(n),r),i=Dr$5(e);return ci$5(t,o-i.length,o)===i}});var pi$5=xe$6("".indexOf);_n$6({target:"String",proto:!0,forced:!li$5("includes")},{includes:function(e){return !!~pi$5(Dr$5(Me$6(this)),Dr$5(ai$5(e)),arguments.length>1?arguments[1]:void 0)}});var gi$5,vi$5,yi$5,mi$5=xe$6("".charAt),bi$5=xe$6("".charCodeAt),wi$5=xe$6("".slice),xi$5=function(e){return function(t,n){var r,o,i=Dr$5(Me$6(t)),a=dn$6(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=bi$5(i,a))<55296||r>56319||a+1===s||(o=bi$5(i,a+1))<56320||o>57343?e?mi$5(i,a):r:e?wi$5(i,a,a+2):o-56320+(r-55296<<10)+65536}},Si$5={codeAt:xi$5(!1),charAt:xi$5(!0)},Ei$5=yt$6("iterator"),Oi$5=!1;[].keys&&("next"in(yi$5=[].keys())?(vi$5=Ao$5(Ao$5(yi$5)))!==Object.prototype&&(gi$5=vi$5):Oi$5=!0);var ki$5=!je$6(gi$5)||le$6((function(){var e={};return gi$5[Ei$5].call(e)!==e}));ki$5&&(gi$5={}),Re$6(gi$5[Ei$5])||ln$6(gi$5,Ei$5,(function(){return this}));var Ci$5={IteratorPrototype:gi$5,BUGGY_SAFARI_ITERATORS:Oi$5},Ti$5=Bt$6.f,Ni$5=yt$6("toStringTag"),Li$5=function(e,t,n){e&&!n&&(e=e.prototype),e&&!ut$6(e,Ni$5)&&Ti$5(e,Ni$5,{configurable:!0,value:t});},Mi$5=Ci$5.IteratorPrototype,Pi$5=function(){return this},Di$5=String,Ri$5=TypeError,ji$5=function(e){if(function(e){return je$6(e)||null===e}(e))return e;throw new Ri$5("Can't set "+Di$5(e)+" as a prototype")},Ai$5=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=function(e,t,n){try{return xe$6(Ze$6(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}(Object.prototype,"__proto__","set"),e(n,[]),t=n instanceof Array;}catch(e){}return function(n,r){return Me$6(n),ji$5(r),je$6(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0),Ii$5=zt$6.PROPER,Fi$5=zt$6.CONFIGURABLE,Bi$5=Ci$5.IteratorPrototype,_i$5=Ci$5.BUGGY_SAFARI_ITERATORS,$i$5=yt$6("iterator"),Wi$5="keys",Vi$5="values",zi$5="entries",Ui$5=function(){return this},Hi$5=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=mo$5(Mi$5,{next:ye$6(+!r,n)}),Li$5(e,o,!1),Ur$5[o]=Pi$5;}(n,t,r);var s,l,u,c=function(e){if(e===o&&g)return g;if(!_i$5&&e&&e in h)return h[e];switch(e){case Wi$5:case Vi$5:case zi$5:return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",d=!1,h=e.prototype,p=h[$i$5]||h["@@iterator"]||o&&h[o],g=!_i$5&&p||c(o),v="Array"===t&&h.entries||p;if(v&&(s=Ao$5(v.call(new e)))!==Object.prototype&&s.next&&(Ao$5(s)!==Bi$5&&(Ai$5?Ai$5(s,Bi$5):Re$6(s[$i$5])||ln$6(s,$i$5,Ui$5)),Li$5(s,f,!0)),Ii$5&&o===Vi$5&&p&&p.name!==Vi$5&&(Fi$5?_t$6(h,"name",Vi$5):(d=!0,g=function(){return de$6(p,this)})),o)if(l={values:c(Vi$5),keys:i?g:c(Wi$5),entries:c(zi$5)},a)for(u in l)(_i$5||d||!(u in h))&&ln$6(h,u,l[u]);else _n$6({target:t,proto:!0,forced:_i$5||d},l);return h[$i$5]!==g&&ln$6(h,$i$5,g,{name:o}),Ur$5[t]=g,l},Ki$5=function(e,t){return {value:e,done:t}},qi$5=Si$5.charAt,Gi$5="String Iterator",Ji$5=an$6.set,Yi$5=an$6.getterFor(Gi$5);Hi$5(String,"String",(function(e){Ji$5(this,{type:Gi$5,string:Dr$5(e),index:0});}),(function(){var e,t=Yi$5(this),n=t.string,r=t.index;return r>=n.length?Ki$5(void 0,!0):(e=qi$5(n,r),t.index+=e.length,Ki$5(e,!1))}));var Xi$5=Function.prototype,Qi$5=Xi$5.apply,Zi$5=Xi$5.call,ea$5="object"==typeof Reflect&&Reflect.apply||(ce$6?Zi$5.bind(Qi$5):function(){return Zi$5.apply(Qi$5,arguments)}),ta$5=yt$6("species"),na$5=RegExp.prototype,ra$5=function(e,t,n,r){var o=yt$6(e),i=!le$6((function(){var t={};return t[o]=function(){return 7},7!==""[e](t)})),a=i&&!le$6((function(){var t=!1,n=/a/;return "split"===e&&((n={}).constructor={},n.constructor[ta$5]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!a||n){var s=/./[o],l=t(o,""[e],(function(e,t,n,r,o){var a=t.exec;return a===ti$5||a===na$5.exec?i&&!o?{done:!0,value:de$6(s,t,n,r)}:{done:!0,value:de$6(e,n,t,r)}:{done:!1}}));ln$6(String.prototype,e,l[0]),ln$6(na$5,o,l[1]);}r&&_t$6(na$5[o],"sham",!0);},oa$5=Si$5.charAt,ia$5=function(e,t,n){return t+(n?oa$5(e,t).length:1)},aa$5=Math.floor,sa$5=xe$6("".charAt),la$5=xe$6("".replace),ua$5=xe$6("".slice),ca$5=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,fa$5=/\$([$&'`]|\d{1,2})/g,da$5=function(e,t,n,r,o,i){var a=n+e.length,s=r.length,l=fa$5;return void 0!==o&&(o=st$6(o),l=ca$5),la$5(i,l,(function(i,l){var u;switch(sa$5(l,0)){case"$":return "$";case"&":return e;case"`":return ua$5(t,0,n);case"'":return ua$5(t,a);case"<":u=o[ua$5(l,1,-1)];break;default:var c=+l;if(0===c)return i;if(c>s){var f=aa$5(c/10);return 0===f?i:f<=s?void 0===r[f-1]?sa$5(l,1):r[f-1]+sa$5(l,1):i}u=r[c-1];}return void 0===u?"":u}))},ha$5=TypeError,pa$5=function(e,t){var n=e.exec;if(Re$6(n)){var r=de$6(n,e,t);return null!==r&&Pt$6(r),r}if("RegExp"===Oe$6(e))return de$6(ti$5,e,t);throw new ha$5("RegExp#exec called on incompatible receiver")},ga$5=yt$6("replace"),va$4=Math.max,ya$4=Math.min,ma$5=xe$6([].concat),ba$5=xe$6([].push),wa$4=xe$6("".indexOf),xa$4=xe$6("".slice),Sa$5="$0"==="a".replace(/./,"$0"),Ea$5=!!/./[ga$5]&&""===/./[ga$5]("a","$0");ra$5("replace",(function(e,t,n){var r=Ea$5?"$":"$0";return [function(e,n){var r=Me$6(this),o=Ne$6(e)?void 0:et$6(e,ga$5);return o?de$6(o,e,r,n):de$6(t,Dr$5(r),e,n)},function(e,o){var i=Pt$6(this),a=Dr$5(e);if("string"==typeof o&&-1===wa$4(o,r)&&-1===wa$4(o,"$<")){var s=n(t,i,a,o);if(s.done)return s.value}var l=Re$6(o);l||(o=Dr$5(o));var u,c=i.global;c&&(u=i.unicode,i.lastIndex=0);for(var f,d=[];null!==(f=pa$5(i,a))&&(ba$5(d,f),c);){""===Dr$5(f[0])&&(i.lastIndex=ia$5(a,yn$6(i.lastIndex),u));}for(var h,p="",g=0,v=0;v<d.length;v++){for(var y,m=Dr$5((f=d[v])[0]),b=va$4(ya$4(dn$6(f.index),a.length),0),w=[],x=1;x<f.length;x++)ba$5(w,void 0===(h=f[x])?h:String(h));var S=f.groups;if(l){var E=ma$5([m],w,b,a);void 0!==S&&ba$5(E,S),y=Dr$5(ea$5(o,void 0,E));}else y=da$5(m,a,b,w,S,o);b>=g&&(p+=xa$4(a,g,b)+y,g=b+m.length);}return p+xa$4(a,g)}]}),!!le$6((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!Sa$5||Ea$5);var Oa$4,ka$4=/"/g,Ca$4=xe$6("".replace);_n$6({target:"String",proto:!0,forced:(Oa$4="anchor",le$6((function(){var e=""[Oa$4]('"');return e!==e.toLowerCase()||e.split('"').length>3})))},{anchor:function(e){return t="a",n="name",r=e,o=Dr$5(Me$6(this)),i="<"+t,""!==n&&(i+=" "+n+'="'+Ca$4(Dr$5(r),ka$4,"&quot;")+'"'),i+">"+o+"</"+t+">";var t,n,r,o,i;}});var Ta$5=function(e,t){return Ta$5=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t;}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);},Ta$5(e,t)};function Na$4(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e;}Ta$5(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n);}var La$4=function(){return La$4=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},La$4.apply(this,arguments)};function Ma$3(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return {next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function Pa$4(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value);}catch(e){o={error:e};}finally{try{r&&!r.done&&(n=i.return)&&n.call(i);}finally{if(o)throw o.error}}return a}function Da$3(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var Ra$4=0,ja$4=function(){this.id=""+Ra$4++;},Aa$4=Bt$6.f,Ia$4="Array Iterator",Fa$3=an$6.set,Ba$3=an$6.getterFor(Ia$4),_a$3=Hi$5(Array,"Array",(function(e,t){Fa$3(this,{type:Ia$4,target:Pe$6(e),index:0,kind:t});}),(function(){var e=Ba$3(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,Ki$5(void 0,!0);switch(e.kind){case"keys":return Ki$5(n,!1);case"values":return Ki$5(t[n],!1)}return Ki$5([n,t[n]],!1)}),"values"),$a$3=Ur$5.Arguments=Ur$5.Array;if(So$5("keys"),So$5("values"),So$5("entries"),ue$6&&"values"!==$a$3.name)try{Aa$4($a$3,"name",{value:"values"});}catch(e){}var Wa$3=!le$6((function(){return Object.isExtensible(Object.preventExtensions({}))})),Va$3=function(e,t,n){for(var r in t)ln$6(e,r,t[r],n);return e},za$3=xe$6([].slice),Ua$3=Cn$6.f,Ha$3="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Ka$3={f:function(e){return Ha$3&&"Window"===Oe$6(e)?function(e){try{return Ua$3(e)}catch(e){return za$3(Ha$3)}}(e):Ua$3(Pe$6(e))}},qa$3=le$6((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8});}})),Ga$3=Object.isExtensible,Ja$3=le$6((function(){Ga$3(1);}))||qa$3?function(e){return !!je$6(e)&&((!qa$3||"ArrayBuffer"!==Oe$6(e))&&(!Ga$3||Ga$3(e)))}:Ga$3,Ya$3=re$6((function(e){var t=Bt$6.f,n=!1,r=ht$6("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}});},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=Cn$6.f,t=xe$6([].splice),o={};o[r]=1,e(o).length&&(Cn$6.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break}return o},_n$6({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Ka$3.f}));},fastKey:function(e,t){if(!je$6(e))return "symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!ut$6(e,r)){if(!Ja$3(e))return "F";if(!t)return "E";i(e);}return e[r].objectID},getWeakData:function(e,t){if(!ut$6(e,r)){if(!Ja$3(e))return !0;if(!t)return !1;i(e);}return e[r].weakData},onFreeze:function(e){return Wa$3&&n&&Ja$3(e)&&!ut$6(e,r)&&i(e),e}};Zt$6[r]=!0;})),Xa$3=TypeError,Qa$3=function(e,t){this.stopped=e,this.result=t;},Za$3=Qa$3.prototype,es$1=function(e,t,n){var r,o,i,a,s,l,u,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_RECORD),h=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),g=tr$5(t,c),v=function(e){return r&&Vr$5(r,"normal",e),new Qa$3(!0,e)},y=function(e){return f?(Pt$6(e),p?g(e[0],e[1],v):g(e[0],e[1])):p?g(e,v):g(e)};if(d)r=e.iterator;else if(h)r=e;else {if(!(o=Yr$5(e)))throw new Xa$3(Xe$6(e)+" is not iterable");if(qr$5(o)){for(i=0,a=mn$6(e);a>i;i++)if((s=y(e[i]))&&Ie$6(Za$3,s))return s;return new Qa$3(!1)}r=Qr$5(e,o);}for(l=d?e.next:r.next;!(u=de$6(l,r)).done;){try{s=y(u.value);}catch(e){Vr$5(r,"throw",e);}if("object"==typeof s&&s&&Ie$6(Za$3,s))return s}return new Qa$3(!1)},ts$1=TypeError,ns$1=function(e,t){if(Ie$6(t,e))return e;throw new ts$1("Incorrect invocation")},rs$1=function(e,t,n){var r,o;return Ai$5&&Re$6(r=t.constructor)&&r!==n&&je$6(o=r.prototype)&&o!==n.prototype&&Ai$5(e,o),e},os$1=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=se$6[e],s=a&&a.prototype,l=a,u={},c=function(e){var t=xe$6(s[e]);ln$6(s,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return !(o&&!je$6(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return o&&!je$6(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return !(o&&!je$6(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this});};if(Fn$6(e,!Re$6(a)||!(o||s.forEach&&!le$6((function(){(new a).entries().next();})))))l=n.getConstructor(t,e,r,i),Ya$3.enable();else if(Fn$6(e,!0)){var f=new l,d=f[i](o?{}:-0,1)!==f,h=le$6((function(){f.has(1);})),p=oo$5((function(e){new a(e);})),g=!o&&le$6((function(){for(var e=new a,t=5;t--;)e[i](t,t);return !e.has(-0)}));p||((l=t((function(e,t){ns$1(e,s);var n=rs$1(new a,e,l);return Ne$6(t)||es$1(t,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=s,s.constructor=l),(h||g)&&(c("delete"),c("has"),r&&c("get")),(g||d)&&c(i),o&&s.clear&&delete s.clear;}return u[e]=l,_n$6({global:!0,constructor:!0,forced:l!==a},u),Li$5(l,e),o||n.setStrong(l,e,r),l},is$1=Ya$3.getWeakData,as$1=an$6.set,ss$1=an$6.getterFor,ls$1=vr$5.find,us$1=vr$5.findIndex,cs$1=xe$6([].splice),fs$1=0,ds$1=function(e){return e.frozen||(e.frozen=new hs$1)},hs$1=function(){this.entries=[];},ps$1=function(e,t){return ls$1(e.entries,(function(e){return e[0]===t}))};hs$1.prototype={get:function(e){var t=ps$1(this,e);if(t)return t[1]},has:function(e){return !!ps$1(this,e)},set:function(e,t){var n=ps$1(this,e);n?n[1]=t:this.entries.push([e,t]);},delete:function(e){var t=us$1(this.entries,(function(t){return t[0]===e}));return ~t&&cs$1(this.entries,t,1),!!~t}};var gs$1,vs$1={getConstructor:function(e,t,n,r){var o=e((function(e,o){ns$1(e,i),as$1(e,{type:t,id:fs$1++,frozen:null}),Ne$6(o)||es$1(o,e[r],{that:e,AS_ENTRIES:n});})),i=o.prototype,a=ss$1(t),s=function(e,t,n){var r=a(e),o=is$1(Pt$6(t),!0);return !0===o?ds$1(r).set(t,n):o[r.id]=n,e};return Va$3(i,{delete:function(e){var t=a(this);if(!je$6(e))return !1;var n=is$1(e);return !0===n?ds$1(t).delete(e):n&&ut$6(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!je$6(e))return !1;var n=is$1(e);return !0===n?ds$1(t).has(e):n&&ut$6(n,t.id)}}),Va$3(i,n?{get:function(e){var t=a(this);if(je$6(e)){var n=is$1(e);if(!0===n)return ds$1(t).get(e);if(n)return n[t.id]}},set:function(e,t){return s(this,e,t)}}:{add:function(e){return s(this,e,!0)}}),o}},ys$1=an$6.enforce,ms$1=Object,bs$1=Array.isArray,ws$1=ms$1.isExtensible,xs$1=ms$1.isFrozen,Ss$1=ms$1.isSealed,Es$1=ms$1.freeze,Os$1=ms$1.seal,ks$1=!se$6.ActiveXObject&&"ActiveXObject"in se$6,Cs$1=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},Ts$1=os$1("WeakMap",Cs$1,vs$1),Ns$1=Ts$1.prototype,Ls$1=xe$6(Ns$1.set);if(Yt$6)if(ks$1){gs$1=vs$1.getConstructor(Cs$1,"WeakMap",!0),Ya$3.enable();var Ms$1=xe$6(Ns$1.delete),Ps$1=xe$6(Ns$1.has),Ds$1=xe$6(Ns$1.get);Va$3(Ns$1,{delete:function(e){if(je$6(e)&&!ws$1(e)){var t=ys$1(this);return t.frozen||(t.frozen=new gs$1),Ms$1(this,e)||t.frozen.delete(e)}return Ms$1(this,e)},has:function(e){if(je$6(e)&&!ws$1(e)){var t=ys$1(this);return t.frozen||(t.frozen=new gs$1),Ps$1(this,e)||t.frozen.has(e)}return Ps$1(this,e)},get:function(e){if(je$6(e)&&!ws$1(e)){var t=ys$1(this);return t.frozen||(t.frozen=new gs$1),Ps$1(this,e)?Ds$1(this,e):t.frozen.get(e)}return Ds$1(this,e)},set:function(e,t){if(je$6(e)&&!ws$1(e)){var n=ys$1(this);n.frozen||(n.frozen=new gs$1),Ps$1(this,e)?Ls$1(this,e,t):n.frozen.set(e,t);}else Ls$1(this,e,t);return this}});}else Wa$3&&le$6((function(){var e=Es$1([]);return Ls$1(new Ts$1,e,1),!xs$1(e)}))&&Va$3(Ns$1,{set:function(e,t){var n;return bs$1(e)&&(xs$1(e)?n=Es$1:Ss$1(e)&&(n=Os$1)),Ls$1(this,e,t),n&&n(e),this}});var Rs$1=yt$6("iterator"),js$1=_a$3.values,As$1=function(e,t){if(e){if(e[Rs$1]!==js$1)try{_t$6(e,Rs$1,js$1);}catch(t){e[Rs$1]=js$1;}if(Li$5(e,t,!0),Jn$6[t])for(var n in _a$3)if(e[n]!==_a$3[n])try{_t$6(e,n,_a$3[n]);}catch(t){e[n]=_a$3[n];}}};for(var Is$1 in Jn$6)As$1(se$6[Is$1]&&se$6[Is$1].prototype,Is$1);As$1(Qn$6,"DOMTokenList");var Fs$1=new WeakMap,Bs$1=new WeakMap,_s$1=new WeakMap,$s$1=new WeakMap,Ws$1=new WeakMap,Vs$1=new WeakMap,zs$1=new WeakMap,Us$1=new WeakMap,Hs$1=new WeakMap,Ks$1=new WeakMap,qs$1=new WeakMap,Gs$1=new WeakMap,Js$1=new WeakMap,Ys$1=new WeakMap,Xs$1=new WeakMap,Qs$1=new WeakMap,Zs$1=new WeakMap,el$2=new WeakMap,tl$2=new WeakMap,nl$2=new WeakMap,rl$2=new WeakMap,ol$2=new WeakMap,il$2=new WeakMap,al$2=new WeakMap,sl$2=new WeakMap,ll$2=vr$5.find,ul$2="find",cl$2=!0;ul$2 in[]&&Array(1)[ul$2]((function(){cl$2=!1;})),_n$6({target:"Array",proto:!0,forced:cl$2},{find:function(e){return ll$2(this,e,arguments.length>1?arguments[1]:void 0)}}),So$5(ul$2),_n$6({global:!0,forced:se$6.globalThis!==se$6},{globalThis:se$6});const fl$2=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"];var dl$2,hl$2,pl$2,gl$2,vl$2=function(e){return _e$6.slice(0,e.length)===e},yl$2=vl$2("Bun/")?"BUN":vl$2("Cloudflare-Workers")?"CLOUDFLARE":vl$2("Deno/")?"DENO":vl$2("Node.js/")?"NODE":se$6.Bun&&"string"==typeof Bun.version?"BUN":se$6.Deno&&"object"==typeof Deno.version?"DENO":"process"===Oe$6(se$6.process)?"NODE":se$6.window&&se$6.document?"BROWSER":"REST",ml$2="NODE"===yl$2,bl$2=function(e,t,n){return n.get&&sn$6(n.get,t,{getter:!0}),n.set&&sn$6(n.set,t,{setter:!0}),Bt$6.f(e,t,n)},wl$2=yt$6("species"),xl$2=function(e){var t=Ae$6(e);ue$6&&t&&!t[wl$2]&&bl$2(t,wl$2,{configurable:!0,get:function(){return this}});},Sl$2=TypeError,El$2=yt$6("species"),Ol$2=function(e,t){var n,r=Pt$6(e).constructor;return void 0===r||Ne$6(n=Pt$6(r)[El$2])?t:function(e){if(cr$5(e))return e;throw new Sl$2(Xe$6(e)+" is not a constructor")}(n)},kl$2=TypeError,Cl$2=/(?:ipad|iphone|ipod).*applewebkit/i.test(_e$6),Tl$2=se$6.setImmediate,Nl$2=se$6.clearImmediate,Ll$2=se$6.process,Ml$2=se$6.Dispatch,Pl$2=se$6.Function,Dl$2=se$6.MessageChannel,Rl$2=se$6.String,jl$2=0,Al$2={},Il$2="onreadystatechange";le$6((function(){dl$2=se$6.location;}));var Fl$2=function(e){if(ut$6(Al$2,e)){var t=Al$2[e];delete Al$2[e],t();}},Bl$2=function(e){return function(){Fl$2(e);}},_l$2=function(e){Fl$2(e.data);},$l$2=function(e){se$6.postMessage(Rl$2(e),dl$2.protocol+"//"+dl$2.host);};Tl$2&&Nl$2||(Tl$2=function(e){!function(e,t){if(e<t)throw new kl$2("Not enough arguments")}(arguments.length,1);var t=Re$6(e)?e:Pl$2(e),n=za$3(arguments,1);return Al$2[++jl$2]=function(){ea$5(t,void 0,n);},hl$2(jl$2),jl$2},Nl$2=function(e){delete Al$2[e];},ml$2?hl$2=function(e){Ll$2.nextTick(Bl$2(e));}:Ml$2&&Ml$2.now?hl$2=function(e){Ml$2.now(Bl$2(e));}:Dl$2&&!Cl$2?(gl$2=(pl$2=new Dl$2).port2,pl$2.port1.onmessage=_l$2,hl$2=tr$5(gl$2.postMessage,gl$2)):se$6.addEventListener&&Re$6(se$6.postMessage)&&!se$6.importScripts&&dl$2&&"file:"!==dl$2.protocol&&!le$6($l$2)?(hl$2=$l$2,se$6.addEventListener("message",_l$2,!1)):hl$2=Il$2 in Ot$6("script")?function(e){uo$5.appendChild(Ot$6("script"))[Il$2]=function(){uo$5.removeChild(this),Fl$2(e);};}:function(e){setTimeout(Bl$2(e),0);});var Wl$2={set:Tl$2,clear:Nl$2},Vl$2=Object.getOwnPropertyDescriptor,zl$2=function(){this.head=null,this.tail=null;};zl$2.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t;},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}};var Ul$2,Hl$2,Kl$2,ql$2,Gl$2,Jl$2=zl$2,Yl$2=/ipad|iphone|ipod/i.test(_e$6)&&"undefined"!=typeof Pebble,Xl$2=/web0s(?!.*chrome)/i.test(_e$6),Ql$2=Wl$2.set,Zl$2=se$6.MutationObserver||se$6.WebKitMutationObserver,eu$5=se$6.document,tu$5=se$6.process,nu$5=se$6.Promise,ru$5=function(e){if(!ue$6)return se$6[e];var t=Vl$2(se$6,e);return t&&t.value}("queueMicrotask");if(!ru$5){var ou$5=new Jl$2,iu$5=function(){var e,t;for(ml$2&&(e=tu$5.domain)&&e.exit();t=ou$5.get();)try{t();}catch(e){throw ou$5.head&&Ul$2(),e}e&&e.enter();};Cl$2||ml$2||Xl$2||!Zl$2||!eu$5?!Yl$2&&nu$5&&nu$5.resolve?((ql$2=nu$5.resolve(void 0)).constructor=nu$5,Gl$2=tr$5(ql$2.then,ql$2),Ul$2=function(){Gl$2(iu$5);}):ml$2?Ul$2=function(){tu$5.nextTick(iu$5);}:(Ql$2=tr$5(Ql$2,se$6),Ul$2=function(){Ql$2(iu$5);}):(Hl$2=!0,Kl$2=eu$5.createTextNode(""),new Zl$2(iu$5).observe(Kl$2,{characterData:!0}),Ul$2=function(){Kl$2.data=Hl$2=!Hl$2;}),ru$5=function(e){ou$5.head||Ul$2(),ou$5.add(e);};}var au$5=ru$5,su$5=function(e){try{return {error:!1,value:e()}}catch(e){return {error:!0,value:e}}},lu$5=se$6.Promise;lu$5&&lu$5.prototype;var uu$5,cu$5,fu$5,du$4=yt$6("species"),hu$4=!1,pu$4=Re$6(se$6.PromiseRejectionEvent),gu$4=Fn$6("Promise",(function(){var e=Gt$6(lu$5),t=e!==String(lu$5);if(!t&&66===Ue$6)return !0;if(!Ue$6||Ue$6<51||!/native code/.test(e)){var n=new lu$5((function(e){e(1);})),r=function(e){e((function(){}),(function(){}));};if((n.constructor={})[du$4]=r,!(hu$4=n.then((function(){}))instanceof r))return !0}return !(t||"BROWSER"!==yl$2&&"DENO"!==yl$2||pu$4)})),vu$4={CONSTRUCTOR:gu$4,REJECTION_EVENT:pu$4,SUBCLASSING:hu$4},yu$4=TypeError,mu$4=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw new yu$4("Bad Promise constructor");t=e,n=r;})),this.resolve=Ze$6(t),this.reject=Ze$6(n);},bu$4={f:function(e){return new mu$4(e)}},wu$4=Wl$2.set,xu$4="Promise",Su$4=vu$4.CONSTRUCTOR,Eu$4=vu$4.REJECTION_EVENT,Ou$4=vu$4.SUBCLASSING,ku$4=an$6.getterFor(xu$4),Cu$3=an$6.set,Tu$4=lu$5&&lu$5.prototype,Nu$4=lu$5,Lu$3=Tu$4,Mu$4=se$6.TypeError,Pu$3=se$6.document,Du$3=se$6.process,Ru$3=bu$4.f,ju$3=Ru$3,Au$3=!!(Pu$3&&Pu$3.createEvent&&se$6.dispatchEvent),Iu$3="unhandledrejection",Fu$3=function(e){var t;return !(!je$6(e)||!Re$6(t=e.then))&&t},Bu$3=function(e,t){var n,r,o,i=t.value,a=1===t.state,s=a?e.ok:e.fail,l=e.resolve,u=e.reject,c=e.domain;try{s?(a||(2===t.rejection&&zu$4(t),t.rejection=1),!0===s?n=i:(c&&c.enter(),n=s(i),c&&(c.exit(),o=!0)),n===e.promise?u(new Mu$4("Promise-chain cycle")):(r=Fu$3(n))?de$6(r,n,l,u):l(n)):u(i);}catch(e){c&&!o&&c.exit(),u(e);}},_u$3=function(e,t){e.notified||(e.notified=!0,au$5((function(){for(var n,r=e.reactions;n=r.get();)Bu$3(n,e);e.notified=!1,t&&!e.rejection&&Wu$3(e);})));},$u$3=function(e,t,n){var r,o;Au$3?((r=Pu$3.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),se$6.dispatchEvent(r)):r={promise:t,reason:n},!Eu$4&&(o=se$6["on"+e])?o(r):e===Iu$3&&function(e,t){try{1===arguments.length?console.error(e):console.error(e,t);}catch(e){}}("Unhandled promise rejection",n);},Wu$3=function(e){de$6(wu$4,se$6,(function(){var t,n=e.facade,r=e.value;if(Vu$3(e)&&(t=su$5((function(){ml$2?Du$3.emit("unhandledRejection",r,n):$u$3(Iu$3,n,r);})),e.rejection=ml$2||Vu$3(e)?2:1,t.error))throw t.value}));},Vu$3=function(e){return 1!==e.rejection&&!e.parent},zu$4=function(e){de$6(wu$4,se$6,(function(){var t=e.facade;ml$2?Du$3.emit("rejectionHandled",t):$u$3("rejectionhandled",t,e.value);}));},Uu$3=function(e,t,n){return function(r){e(t,r,n);}},Hu$3=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,_u$3(e,!0));},Ku$3=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw new Mu$4("Promise can't be resolved itself");var r=Fu$3(t);r?au$5((function(){var n={done:!1};try{de$6(r,t,Uu$3(Ku$3,n,e),Uu$3(Hu$3,n,e));}catch(t){Hu$3(n,t,e);}})):(e.value=t,e.state=1,_u$3(e,!1));}catch(t){Hu$3({done:!1},t,e);}}};if(Su$4&&(Lu$3=(Nu$4=function(e){ns$1(this,Lu$3),Ze$6(e),de$6(uu$5,this);var t=ku$4(this);try{e(Uu$3(Ku$3,t),Uu$3(Hu$3,t));}catch(e){Hu$3(t,e);}}).prototype,(uu$5=function(e){Cu$3(this,{type:xu$4,done:!1,notified:!1,parent:!1,reactions:new Jl$2,rejection:!1,state:0,value:null});}).prototype=ln$6(Lu$3,"then",(function(e,t){var n=ku$4(this),r=Ru$3(Ol$2(this,Nu$4));return n.parent=!0,r.ok=!Re$6(e)||e,r.fail=Re$6(t)&&t,r.domain=ml$2?Du$3.domain:void 0,0===n.state?n.reactions.add(r):au$5((function(){Bu$3(r,n);})),r.promise})),cu$5=function(){var e=new uu$5,t=ku$4(e);this.promise=e,this.resolve=Uu$3(Ku$3,t),this.reject=Uu$3(Hu$3,t);},bu$4.f=Ru$3=function(e){return e===Nu$4||undefined===e?new cu$5(e):ju$3(e)},Re$6(lu$5)&&Tu$4!==Object.prototype)){fu$5=Tu$4.then,Ou$4||ln$6(Tu$4,"then",(function(e,t){var n=this;return new Nu$4((function(e,t){de$6(fu$5,n,e,t);})).then(e,t)}),{unsafe:!0});try{delete Tu$4.constructor;}catch(e){}Ai$5&&Ai$5(Tu$4,Lu$3);}_n$6({global:!0,constructor:!0,wrap:!0,forced:Su$4},{Promise:Nu$4}),Li$5(Nu$4,xu$4,!1),xl$2(xu$4);var qu$3=vu$4.CONSTRUCTOR||!oo$5((function(e){lu$5.all(e).then(void 0,(function(){}));}));_n$6({target:"Promise",stat:!0,forced:qu$3},{all:function(e){var t=this,n=bu$4.f(t),r=n.resolve,o=n.reject,i=su$5((function(){var n=Ze$6(t.resolve),i=[],a=0,s=1;es$1(e,(function(e){var l=a++,u=!1;s++,de$6(n,t,e).then((function(e){u||(u=!0,i[l]=e,--s||r(i));}),o);})),--s||r(i);}));return i.error&&o(i.value),n.promise}});var Gu$3=vu$4.CONSTRUCTOR,Ju$3=lu$5&&lu$5.prototype;if(_n$6({target:"Promise",proto:!0,forced:Gu$3,real:!0},{catch:function(e){return this.then(void 0,e)}}),Re$6(lu$5)){var Yu$3=Ae$6("Promise").prototype.catch;Ju$3.catch!==Yu$3&&ln$6(Ju$3,"catch",Yu$3,{unsafe:!0});}_n$6({target:"Promise",stat:!0,forced:qu$3},{race:function(e){var t=this,n=bu$4.f(t),r=n.reject,o=su$5((function(){var o=Ze$6(t.resolve);es$1(e,(function(e){de$6(o,t,e).then(n.resolve,r);}));}));return o.error&&r(o.value),n.promise}}),_n$6({target:"Promise",stat:!0,forced:vu$4.CONSTRUCTOR},{reject:function(e){var t=bu$4.f(this);return (0, t.reject)(e),t.promise}});var Xu$3=vu$4.CONSTRUCTOR;function Qu$3(e){Promise.resolve().then(e);}Ae$6("Promise"),_n$6({target:"Promise",stat:!0,forced:Xu$3},{resolve:function(e){return function(e,t){if(Pt$6(e),je$6(t)&&t.constructor===e)return t;var n=bu$4.f(e);return (0, n.resolve)(t),n.promise}(this,e)}});var Zu$3=function(e){return Object.prototype.toString.call(e)};css&&($$6.fn.css=css),append&&($$6.fn.append=append),addClass&&($$6.fn.addClass=addClass),removeClass&&($$6.fn.removeClass=removeClass),hasClass&&($$6.fn.hasClass=hasClass),on$7&&($$6.fn.on=on$7),focus&&($$6.fn.focus=focus),attr&&($$6.fn.attr=attr),removeAttr&&($$6.fn.removeAttr=removeAttr),hide&&($$6.fn.hide=hide),show&&($$6.fn.show=show),offset&&($$6.fn.offset=offset),width&&($$6.fn.width=width),height&&($$6.fn.height=height),parent&&($$6.fn.parent=parent),parents&&($$6.fn.parents=parents),is$2&&($$6.fn.is=is$2),dataset&&($$6.fn.dataset=dataset),val&&($$6.fn.val=val),text&&($$6.fn.text=text),html&&($$6.fn.html=html),children&&($$6.fn.children=children),remove&&($$6.fn.remove=remove),find&&($$6.fn.find=find),each&&($$6.fn.each=each),empty&&($$6.fn.empty=empty);var ec$2,tc$2=function(e){return "[object HTMLDocument]"===Zu$3(e)},nc$2=function(e){return "[object ShadowRoot]"===Zu$3(e)},rc$2=function(e){return "[object DataTransfer]"===Zu$3(e)},oc$2=/\[object HTML([A-Z][a-z]*)*Element\]/,ic$2=function(e){return oc$2.test(Zu$3(e))},hc$2=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||null},pc$2=function(e){return vc$2(e)&&8===e.nodeType},gc$2=function(e){return vc$2(e)&&1===e.nodeType},vc$2=function(e){return null!=e&&"number"==typeof e.nodeType},yc$2=function(e){return "[object Selection]"===Zu$3(e)},mc$2=function(e){return vc$2(e)&&3===e.nodeType},bc$2=function(e){return e.clipboardData&&""!==e.clipboardData.getData("text/plain")&&1===e.clipboardData.types.length},wc$2=function(e){var t,n=Pa$4(e,2),r=n[0],o=n[1];if(gc$2(r)&&r.childNodes.length){var i=o===r.childNodes.length,a=i?o-1:o;for(r=(t=Pa$4(Ec$2(r,a,i?"backward":"forward"),2))[0],i=(a=t[1])<o;gc$2(r)&&r.childNodes.length;){var s=i?r.childNodes.length-1:0;r=Oc$2(r,s,i?"backward":"forward");}o=i&&null!=r.textContent?r.textContent.length:0;}return [r,o]},xc$2=function(){return !(!window.document.activeElement||!window.document.activeElement.shadowRoot)},Sc$2=function(e){var t,n,r;return null!==(t=window.document.getElementById(e))&&void 0!==t?t:(null===(r=null===(n=window.document.activeElement)||void 0===n?void 0:n.shadowRoot)||void 0===r?void 0:r.getElementById(e))||null},Ec$2=function(e,t,n){for(var r=e.childNodes,o=r[t],i=t,a=!1,s=!1;(pc$2(o)||gc$2(o)&&0===o.childNodes.length||gc$2(o)&&"false"===o.getAttribute("contenteditable"))&&(!a||!s);)i>=r.length?(a=!0,i=t-1,n="backward"):i<0?(s=!0,i=t+1,n="forward"):(o=r[i],t=i,i+="forward"===n?1:-1);return [o,t]},Oc$2=function(e,t,n){return Pa$4(Ec$2(e,t,n),1)[0]},kc$2=function(e){var t,n,r="";if(mc$2(e)&&e.nodeValue)return e.nodeValue;if(gc$2(e)){try{for(var o=Ma$3(Array.from(e.childNodes)),i=o.next();!i.done;i=o.next()){var a=i.value;r+=kc$2(a);}}catch(e){t={error:e};}finally{try{i&&!i.done&&(n=o.return)&&n.call(o);}finally{if(t)throw t.error}}var s=getComputedStyle(e).getPropertyValue("display");"block"!==s&&"list"!==s&&"table-row"!==s&&"BR"!==e.tagName||(r+="\n");}return r};function Cc$2(e){var t=[];t.push(e);for(var n=0;t.length>0;){var r=t.pop();if(null==r)break;if(++n>1e4)break;var o=r.nodeName;if(1===r.nodeType){var i=o.toLowerCase();if(fl$2.includes(i)||"iframe"===i||"video"===i)return r;var a=r.children||[],s=a.length;if(s)for(var l=s-1;l>=0;l--)t.push(a[l]);}}return null}function Tc$2(e,t){if(!ic$2(e)||"true"!==e.dataset.slateVoid)for(var n=e.childNodes,r=n.length;r--;){var o=n[r],i=o.nodeType;3==i?t(o,e):1!=i&&9!=i&&11!=i||Tc$2(o,t);}}function Nc$2(e){if(0===e.length)return "";var t=e[0];return t.nodeType!==ec$2.ELEMENT_NODE?"":t.tagName.toLowerCase()}!function(e){e[e.ELEMENT_NODE=1]="ELEMENT_NODE",e[e.TEXT_NODE=3]="TEXT_NODE",e[e.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",e[e.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",e[e.COMMENT_NODE=8]="COMMENT_NODE",e[e.DOCUMENT_NODE=9]="DOCUMENT_NODE",e[e.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",e[e.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE";}(ec$2||(ec$2={})),void 0!==globalThis.navigator&&void 0!==globalThis.window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&globalThis.window.MSStream;var Lc$2="undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),Mc$2="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent);"undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent);var Pc$2="undefined"!=typeof navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Dc$1="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),Rc$2="undefined"!=typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),jc$2="undefined"!=typeof navigator&&/Chrome/i.test(navigator.userAgent);"undefined"!=typeof navigator&&/.*QQBrowser/.test(navigator.userAgent);var Ac$2=!Rc$2&&!Dc$1&&"undefined"!=typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges,Ic$2={getWindow:function(e){var t=rl$2.get(e);if(!t)throw new Error("Unable to find a host window element for this editor");return t},findKey:function(e,t){var n=nl$2.get(t);return n||(n=new ja$4,nl$2.set(t,n)),n},setNewKey:function(e){var t=new ja$4;nl$2.set(e,t);},findPath:function(t,n){for(var r=[],o=n;;){var i=Xs$1.get(o);if(null==i){if(Editor.isEditor(o))return r;break}var a=Ys$1.get(o);if(null==a)break;r.unshift(a),o=i;}throw new Error("Unable to find the path for Slate node: "+JSON.stringify(n))},findDocumentOrShadowRoot:function(e){if(e.isDestroyed)return window.document;var t=Ic$2.toDOMNode(e,e),n=t.getRootNode();return (tc$2(n)||nc$2(n))&&null!=Reflect.get(n,"getSelection")?n:t.ownerDocument},getParentNode:function(e,t){return Xs$1.get(t)||null},getParentsNodes:function(e,t){for(var n=[],r=t;r!==e&&null!=r;){var o=Ic$2.getParentNode(e,r);if(null==o)break;n.push(o),r=o;}return n},getTopNode:function(e,t){var n=[Ic$2.findPath(e,t)[0]];return Node$1.get(e,n)},toDOMNode:function(t,n){var r;if(Editor.isEditor(n))r=Qs$1.get(t);else {var o=Ic$2.findKey(t,n);r=el$2.get(o);}if(!r)throw new Error("Cannot resolve a DOM node from Slate node: "+JSON.stringify(n));return r},hasDOMNode:function(e,t,n){void 0===n&&(n={});var r,o=n.editable,i=void 0!==o&&o,a=Ic$2.toDOMNode(e,e);try{r=gc$2(t)?t:t.parentElement;}catch(e){if(!e.message.includes('Permission denied to access property "nodeType"'))throw e}return !!r&&(r.closest("[data-slate-editor]")===a&&(!i||r.isContentEditable||!!r.getAttribute("data-slate-zero-width"))||!!r.getAttribute("data-slate-string"))},toDOMRange:function(e,t){var n=t.anchor,r=t.focus,i=Range.isBackward(t),a=Ic$2.toDOMPoint(e,n),s=Range.isCollapsed(t)?a:Ic$2.toDOMPoint(e,r),l=Ic$2.getWindow(e).document.createRange(),u=Pa$4(i?s:a,2),c=u[0],f=u[1],d=Pa$4(i?a:s,2),h=d[0],p=d[1],g=!!(gc$2(c)?c:c.parentElement).getAttribute("data-slate-zero-width"),v=!!(gc$2(h)?h:h.parentElement).getAttribute("data-slate-zero-width");return l.setStart(c,g?1:f),l.setEnd(h,v?1:p),l},toDOMPoint:function(t,n){var r,o,i,a=Pa$4(Editor.node(t,n.path),1)[0],s=Ic$2.toDOMNode(t,a);Editor.void(t,{at:n})&&(n={path:n.path,offset:0});var l=Array.from(s.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),u=0;try{for(var c=Ma$3(l),f=c.next();!f.done;f=c.next()){var d=f.value,h=d.childNodes[0];if(null!=h&&null!=h.textContent){var p=h.textContent.length,g=d.getAttribute("data-slate-length"),v=u+(null==g?p:parseInt(g,10));if(n.offset<=v){i=[h,Math.min(p,Math.max(0,n.offset-u))];break}u=v;}}}catch(e){r={error:e};}finally{try{f&&!f.done&&(o=c.return)&&o.call(c);}finally{if(r)throw r.error}}if(!i)throw new Error("Cannot resolve a DOM point from Slate point: "+JSON.stringify(n));return i},toSlateNode:function(e,t){var n=gc$2(t)?t:t.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?Zs$1.get(n):null;if(!r)throw new Error("Cannot resolve a Slate node from DOM node: "+n);return r},findEventRange:function(t,n){"nativeEvent"in n&&(n=n.nativeEvent);var r=n.clientX,o=n.clientY,i=n.target;if(null==r||null==o)throw new Error("Cannot resolve a Slate range from a DOM event: "+n);var a,s=Ic$2.toSlateNode(t,n.target),l=Ic$2.findPath(t,s);if(Editor.isVoid(t,s)){var u=i.getBoundingClientRect(),c=t.isInline(s)?r-u.left<u.left+u.width-r:o-u.top<u.top+u.height-o,f=Editor.point(t,l,{edge:c?"start":"end"}),d=c?Editor.before(t,f):Editor.after(t,f);if(d)return Editor.range(t,d)}var h=this.getWindow(t).document;if(h.caretRangeFromPoint)a=h.caretRangeFromPoint(r,o);else {var p=h.caretPositionFromPoint(r,o);p&&((a=h.createRange()).setStart(p.offsetNode,p.offset),a.setEnd(p.offsetNode,p.offset));}if(!a)throw new Error("Cannot resolve a Slate range from a DOM event: "+n);return Ic$2.toSlateRange(t,a,{exactMatch:!1,suppressThrow:!1})},toSlateRange:function(t,n,r){var i,a,s,l,u,c=r.exactMatch,f=r.suppressThrow;if((yc$2(n)?n.anchorNode:n.startContainer)&&(yc$2(n)?(i=n.anchorNode,a=n.anchorOffset,s=n.focusNode,l=n.focusOffset,u=jc$2&&xc$2()?n.anchorNode===n.focusNode&&n.anchorOffset===n.focusOffset:n.isCollapsed):(i=n.startContainer,a=n.startOffset,s=n.endContainer,l=n.endOffset,u=n.collapsed)),null==i||null==s||null==a||null==l)throw new Error("Cannot resolve a Slate range from DOM range: "+n);var d=Ic$2.toSlatePoint(t,[i,a],{exactMatch:c,suppressThrow:f});if(!d)return null;var h=u?d:Ic$2.toSlatePoint(t,[s,l],{exactMatch:c,suppressThrow:f});if(!h)return null;var p={anchor:d,focus:h};return Range.isExpanded(p)&&Range.isForward(p)&&gc$2(s)&&Editor.void(t,{at:p.focus,mode:"highest"})&&(p=Editor.unhangRange(t,p,{voids:!0})),p},toSlatePoint:function(e,t,n){var r,o=n.exactMatch,i=n.suppressThrow,a=Pa$4(o?t:wc$2(t),2),s=a[0],l=a[1],u=s.parentNode,f=null,d=0;if(u){var h=u.closest('[data-slate-void="true"]'),p=u.closest("[data-slate-leaf]"),g=null;if(p){f=p.closest('[data-slate-node="text"]');var v=Ic$2.getWindow(e).document.createRange();v.setStart(f,0),v.setEnd(s,l);var y=v.cloneContents();Da$3(Da$3([],Pa$4(lodash_toarray(y.querySelectorAll("[data-slate-zero-width]")))),Pa$4(lodash_toarray(y.querySelectorAll("[contenteditable=false]")))).forEach((function(e){e.parentNode.removeChild(e);})),d=y.textContent.length,g=f;}else h&&((p=h.querySelector("[data-slate-leaf]"))?(f=p.closest('[data-slate-node="text"]'),d=(g=p).textContent.length,g.querySelectorAll("[data-slate-zero-width]").forEach((function(e){d-=e.textContent.length;}))):d=1);g&&d===g.textContent.length&&(u.hasAttribute("data-slate-zero-width")||Mc$2&&(null===(r=g.textContent)||void 0===r?void 0:r.endsWith("\n")))&&d--;}if(!f){if(i)return null;throw new Error("Cannot resolve a Slate point from DOM point: "+t)}var m=Ic$2.toSlateNode(e,f);return {path:Ic$2.findPath(e,m),offset:d}},hasRange:function(t,n){var r=n.anchor,o=n.focus;return Editor.hasPath(t,r.path)&&Editor.hasPath(t,o.path)},getNodeType:function(e){return Element$1.isElement(e)?e.type:""},checkNodeType:function(e,t){return this.getNodeType(e)===t},getNodesStr:function(e){return e.map((function(e){return Node$1.string(e)})).join("")},getSelectedElems:function(t){var n,r,o=[],a=Editor.nodes(t,{universal:!0});try{for(var s=Ma$3(a),l=s.next();!l.done;l=s.next()){var u=Pa$4(l.value,1)[0];Element$1.isElement(u)&&o.push(u);}}catch(e){n={error:e};}finally{try{l&&!l.done&&(r=s.return)&&r.call(s);}finally{if(n)throw n.error}}return o},getSelectedNodeByType:function(t,n){var r=this,o=Pa$4(Editor.nodes(t,{match:function(e){return r.checkNodeType(e,n)},universal:!0}),1),i=o[0];return null==i?null:i[0]},getSelectedTextNode:function(t){var n=Pa$4(Editor.nodes(t,{match:function(e){return Text.isText(e)},universal:!0}),1),r=n[0];return null==r?null:r[0]},isNodeSelected:function(t,n){var r=Pa$4(Editor.nodes(t,{match:function(e){return e===n},universal:!0}),1),o=r[0];return null!=o&&Pa$4(o,1)[0]===n},isSelectionAtLineEnd:function(t,n){var r=t.selection;return !!r&&(Editor.isEnd(t,r.anchor,n)||Editor.isEnd(t,r.focus,n))},getTextarea:function(e){var t=Fs$1.get(e);if(null==t)throw new Error("Cannot find textarea instance by editor");return t},getToolbar:function(e){return $s$1.get(e)||null},getHoverbar:function(e){return Vs$1.get(e)||null},normalizeContent:function(e){e.children.forEach((function(t,n){e.normalizeNode([t,[n]]);}));},getLeftLengthOfMaxLength:function(e){var t=e.getConfig(),n=t.maxLength,r=t.onMaxLength;if("number"!=typeof n||n<=0)return 1/0;var o=n-e.getText().replace(/\r|\n|(\r\n)/g,"").length;return o<=0&&r&&r(e),o},cleanExposedTexNodeInSelectionBlock:function(t){var n,r,o,a,s=Ic$2.getTextarea(t).$textArea,l=null==s?void 0:s[0].childNodes;if(l)try{for(var u=Ma$3(Array.from(l)),c=u.next();!c.done;c=u.next()){var d=c.value;if(3!==d.nodeType)break;d.remove();}}catch(e){n={error:e};}finally{try{c&&!c.done&&(r=u.return)&&r.call(u);}finally{if(n)throw n.error}}var h=Editor.nodes(t,{match:function(e){return !(!Element$1.isElement(e)||t.isInline(e))},universal:!0});try{for(var p=Ma$3(h),g=p.next();!g.done;g=p.next()){var v=g.value;if(null!=v){var y=v[0];Tc$2(Ic$2.toDOMNode(t,y),(function(e,t){var n=$$6(t);n.attr("data-slate-string")||n.attr("data-slate-zero-width")||n.attr("data-w-e-reserve")||t.removeChild(e);}));}}}catch(e){o={error:e};}finally{try{g&&!g.done&&(a=p.return)&&a.call(p);}finally{if(o)throw o.error}}},isLastNode:function(e,t){var n=e.children||[];return n[n.length-1]===t},genEmptyParagraph:function(){return {type:"paragraph",children:[{text:""}]}},isSelectedVoidNode:function(t){var n,r,o=Editor.nodes(t,{match:function(e){return t.isVoid(e)}}),i=0;try{for(var a=Ma$3(o),s=a.next();!s.done;s=a.next()){s.value;i++;}}catch(e){n={error:e};}finally{try{s&&!s.done&&(r=a.return)&&r.call(a);}finally{if(n)throw n.error}}return i>0},isSelectedEmptyParagraph:function(e){var t=e.selection;if(null==t)return !1;if(Range.isExpanded(t))return !1;var n=Ic$2.getSelectedNodeByType(e,"paragraph");if(null===n)return !1;var r=n.children;return 1===r.length&&(""===r[0].text||void 0)},isEmptyPath:function(t,n){var r=Editor.node(t,n);if(null==r)return !1;var o=Pa$4(r,1)[0].children;if(1===o.length&&""===o[0].text)return !0;return !1}},Fc$1=1,Bc$1={};var _c$1={};function $c$1(e,t){var n=e.key,r=e.factory,o=e.config,i=La$4(La$4({},o),t||{});if(null!=_c$1[n])throw new Error("Duplicated key '"+n+"' in menu items");_c$1[n]=r,function(e,t){null!=t&&(Bc$1[e]=t);}(n,i);}var Wc$1=vr$5.filter,Vc$2=No$5("filter");_n$6({target:"Array",proto:!0,forced:!Vc$2},{filter:function(e){return Wc$1(this,e,arguments.length>1?arguments[1]:void 0)}});var zc$1="\t\n\v\f\r                 \u2028\u2029\ufeff",Uc$1=xe$6("".replace),Hc$1=RegExp("^["+zc$1+"]+"),Kc$1=RegExp("(^|[^"+zc$1+"])["+zc$1+"]+$"),qc$1=function(e){return function(t){var n=Dr$5(Me$6(t));return 1&e&&(n=Uc$1(n,Hc$1,"")),2&e&&(n=Uc$1(n,Kc$1,"$1")),n}},Gc$1={start:qc$1(1),end:qc$1(2),trim:qc$1(3)},Jc$1=zt$6.PROPER,Yc$1=Gc$1.trim;_n$6({target:"String",proto:!0,forced:function(e){return le$6((function(){return !!zc$1[e]()||"​…᠎"!=="​…᠎"[e]()||Jc$1&&zc$1[e].name!==e}))}("trim")},{trim:function(){return Yc$1(this)}});var Xc$1=[];function Qc$1(e){Xc$1.push(e);}var Zc$1={};function ef$1(e){var t=e.type,n=e.elemToHtml;Zc$1[t||""]=n;}function tf$1(e,t,n){var r=n.isInline(e)?"span":"div";return "<"+r+">"+t+"</"+r+">"}function nf$1(t,n){var r=t.type,o=void 0===r?"":r,i=t.children,a=void 0===i?[]:i,s=Editor.isVoid(n,t),l="";s||(l=a.map((function(e){return rf$1(e,n)})).join(""));var u=function(e){return Zc$1[e]||tf$1}(o),c=u(t,l,n),f="";if(f="string"==typeof c?c:c.html||"",s||Xc$1.forEach((function(e){return f=e(t,f)})),"string"==typeof c)return f;var d=c.prefix,h=void 0===d?"":d,p=c.suffix,g=void 0===p?"":p;return h&&(f=h+f),g&&(f+=g),f}function rf$1(e,t){return Element$1.isElement(e)?nf$1(e,t):function(e,t){var n=e.text;if(null==n)throw new Error("Current node is not slate Text "+JSON.stringify(e));var r=n;r=function(e){return e.replace(/ {2}/g," &nbsp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/®/g,"&reg;").replace(/©/g,"&copy;").replace(/™/g,"&trade;")}(r);var o=Ic$2.getParentsNodes(t,e).some((function(e){return "pre"===Ic$2.getNodeType(e)}));if(o||(r=r.replace(/\r\n|\r|\n/g,"<br>")),o&&(r=r.replace(/&nbsp;/g," ")),""===r){var i=Ic$2.getParentNode(null,e);if(!i||0!==i.children.length)return r;r="<br>";}return Xc$1.forEach((function(t){return r=t(e,r)})),r}(e,t)}function of$1(e){return "w-e-element-"+e}var af$1=function(e,t){var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},sf$1=function(e,t,n){var r=Ic$2.toDOMRange(e,t).getBoundingClientRect(),o=Ic$2.toDOMRange(e,n).getBoundingClientRect();return af$1(r,o)&&af$1(o,r)},lf$1=["span","b","strong","i","em","s","strike","u","font","sub","sup"],uf$1=[];function cf$1(e){uf$1.push(e);}var ff$1=[];function df$1(e){ff$1.push(e);}var hf$1={};function pf$1(e){var t=e.selector,n=e.parseElemHtml;hf$1[t]=n;}var gf$1=Bt$6.f,vf$1=function(e,t,n){n in e||gf$1(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e;}});},yf$1=Cn$6.f,mf$1=an$6.enforce,bf$1=yt$6("match"),wf$1=se$6.RegExp,xf$1=wf$1.prototype,Sf$1=se$6.SyntaxError,Ef$1=xe$6(xf$1.exec),Of$1=xe$6("".charAt),kf$1=xe$6("".replace),Cf$1=xe$6("".indexOf),Tf$1=xe$6("".slice),Nf$1=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Lf$1=/a/g,Mf$1=/a/g,Pf$1=new wf$1(Lf$1)!==Lf$1,Df$1=_o$5.MISSED_STICKY,Rf$1=_o$5.UNSUPPORTED_Y,jf$1=ue$6&&(!Pf$1||Df$1||Wo$5||zo$5||le$6((function(){return Mf$1[bf$1]=!1,wf$1(Lf$1)!==Lf$1||wf$1(Mf$1)===Mf$1||"/a/i"!==String(wf$1(Lf$1,"i"))})));if(Fn$6("RegExp",jf$1)){for(var Af$1=function(e,t){var n,r,o,i,a,s,l=Ie$6(xf$1,this),u=oi$5(e),c=void 0===t,f=[],d=e;if(!l&&u&&c&&e.constructor===Af$1)return e;if((u||Ie$6(xf$1,e))&&(e=e.source,c&&(t=Ar$5(d))),e=void 0===e?"":Dr$5(e),t=void 0===t?"":Dr$5(t),d=e,Wo$5&&"dotAll"in Lf$1&&(r=!!t&&Cf$1(t,"s")>-1)&&(t=kf$1(t,/s/g,"")),n=t,Df$1&&"sticky"in Lf$1&&(o=!!t&&Cf$1(t,"y")>-1)&&Rf$1&&(t=kf$1(t,/y/g,"")),zo$5&&(i=function(e){for(var t,n=e.length,r=0,o="",i=[],a=mo$5(null),s=!1,l=!1,u=0,c="";r<=n;r++){if("\\"===(t=Of$1(e,r)))t+=Of$1(e,++r);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:if(o+=t,"?:"===Tf$1(e,r+1,r+3))continue;Ef$1(Nf$1,Tf$1(e,r+1))&&(r+=2,l=!0),u++;continue;case">"===t&&l:if(""===c||ut$6(a,c))throw new Sf$1("Invalid capture group name");a[c]=!0,i[i.length]=[c,u],l=!1,c="";continue}l?c+=t:o+=t;}return [o,i]}(e),e=i[0],f=i[1]),a=rs$1(wf$1(e,t),l?this:xf$1,Af$1),(r||o||f.length)&&(s=mf$1(a),r&&(s.dotAll=!0,s.raw=Af$1(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=Of$1(e,r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+Of$1(e,++r);return o}(e),n)),o&&(s.sticky=!0),f.length&&(s.groups=f)),e!==d)try{_t$6(a,"source",""===d?"(?:)":d);}catch(e){}return a},If$1=yf$1(wf$1),Ff$1=0;If$1.length>Ff$1;)vf$1(Af$1,wf$1,If$1[Ff$1++]);xf$1.constructor=Af$1,Af$1.prototype=xf$1,ln$6(se$6,"RegExp",Af$1,{constructor:!0});}xl$2("RegExp");var Bf$1=new RegExp(String.fromCharCode(160),"g");function _f$1(e){return e.replace(Bf$1," ")}function $f$1(e,t){var n=e.length;if(n){var r=e[n-1];if(Text.isText(r)){var o=Object.keys(r);if(1===o.length&&"text"===o[0])return r.text=r.text+t,!0}}return !1}function Wf$1(e,t,n){return {type:"paragraph",children:[{text:$$6(e).text().replace(/\s+/gm," ")}]}}function Vf$1(t,n){var r=function(e,t){var n=[];if(null!=e.attr("data-w-e-is-void"))return n;var r=e[0].childNodes;return 1===r.length&&"BR"===r[0].nodeName?(n.push({text:""}),n):(r.forEach((function(e){if(e.nodeType!==ec$2.ELEMENT_NODE)if(e.nodeType!==ec$2.TEXT_NODE);else {var r=e.textContent||"";if(""===r.trim()&&r.indexOf("\n")>=0)return;r&&(r=_f$1(r),$f$1(n,r)||n.push({text:r}));}else {if("BR"===e.nodeName)return void($f$1(n,"\n")||n.push({text:"\n"}));var o=Uf$1($$6(e),t);Array.isArray(o)?o.forEach((function(e){return n.push(e)})):n.push(o);}})),n)}(t,n),o=function(e){for(var t in hf$1)if(e[0].matches(t))return hf$1[t];return Wf$1}(t),i=o(t[0],r,n);return Array.isArray(i)||(i=[i]),i.forEach((function(o){Editor.isVoid(n,o)||(0===r.length&&(o.children=[{text:t.text().replace(/\s+/gm," ")}]),ff$1.forEach((function(e){o=e(t[0],o,n);})));})),i}function zf$1(e,t){0===e.parents("pre").length&&(e[0].innerHTML=e[0].innerHTML.replace(/\s+/gm," ").replace(/<br>/g,"\n"));var n=e[0].textContent||"";n=function(e){return e.replace(/&nbsp;/g," ").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&reg;/g,"®").replace(/&copy;/g,"©").replace(/&trade;/g,"™").replace(/&quot;/g,'"')}(n);var r={text:n=_f$1(n)};return ff$1.forEach((function(n){r=n(e[0],r,t);})),r}function Uf$1(e,t){uf$1.forEach((function(t){var n=t.selector,r=t.preParseHtml;e[0].matches(n)&&(e=$$6(r(e[0])));}));var n=Nc$2(e);if("span"===n){if(e.attr("data-w-e-type"))return Vf$1(e,t);if(e[0].childNodes.length>1){var r=e[0].childNodes;return Array.from(r).map((function(n){return $$6(e[0]).empty(),$$6(e[0]).append($$6(n)),zf$1($$6(e[0]),t)}))}return zf$1(e,t)}return "code"===n?"pre"===Nc$2(e.parent())?Vf$1(e,t):zf$1(e,t):lf$1.includes(n)?zf$1(e,t):Vf$1(e,t)}var Hf$1=_o$5.UNSUPPORTED_Y,Kf$1=Math.min,qf$1=xe$6([].push),Gf$1=xe$6("".slice),Jf$1=!le$6((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),Yf$1="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;function Xf$1(e,t,n){var r=$$6(n);return !!r.attr(t)||(r.attr(t,"true"),e.on("destroyed",(function(){r.removeAttr(t);})),!1)}function Qf$1(e,t){void 0===t&&(t="");var n=[];""===t&&(t="<p><br></p>"),0!==t.indexOf("<")&&(t=t.split(/\n/).map((function(e){return "<p>"+e+"</p>"})).join(""));var r=$$6("<div>"+t+"</div>");return Array.from(r.children()).forEach((function(t){var r=Uf$1($$6(t),e);Array.isArray(r)?r.forEach((function(e){return n.push(e)})):n.push(r);})),n}ra$5("split",(function(e,t,n){var r="0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:de$6(t,this,e,n)}:t;return [function(t,n){var o=Me$6(this),i=Ne$6(t)?void 0:et$6(t,e);return i?de$6(i,t,o,n):de$6(r,Dr$5(o),t,n)},function(e,o){var i=Pt$6(this),a=Dr$5(e);if(!Yf$1){var s=n(r,i,a,o,r!==t);if(s.done)return s.value}var l=Ol$2(i,RegExp),u=i.unicode,c=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(Hf$1?"g":"y"),f=new l(Hf$1?"^(?:"+i.source+")":i,c),d=void 0===o?4294967295:o>>>0;if(0===d)return [];if(0===a.length)return null===pa$5(f,a)?[a]:[];for(var h=0,p=0,g=[];p<a.length;){f.lastIndex=Hf$1?0:p;var v,y=pa$5(f,Hf$1?Gf$1(a,p):a);if(null===y||(v=Kf$1(yn$6(f.lastIndex+(Hf$1?p:0)),a.length))===h)p=ia$5(a,p,u);else {if(qf$1(g,Gf$1(a,h,p)),g.length===d)return g;for(var m=1;m<=y.length-1;m++)if(qf$1(g,y[m]),g.length===d)return g;p=h=v;}}return qf$1(g,Gf$1(a,h)),g}]}),Yf$1||!Jf$1,Hf$1);var Zf$1=Ya$3.fastKey,ed$1=an$6.set,td$1=an$6.getterFor,nd$1={getConstructor:function(e,t,n,r){var o=e((function(e,o){ns$1(e,i),ed$1(e,{type:t,index:mo$5(null),first:null,last:null,size:0}),ue$6||(e.size=0),Ne$6(o)||es$1(o,e[r],{that:e,AS_ENTRIES:n});})),i=o.prototype,a=td$1(t),s=function(e,t,n){var r,o,i=a(e),s=l(e,t);return s?s.value=n:(i.last=s={index:o=Zf$1(t,!0),key:t,value:n,previous:r=i.last,next:null,removed:!1},i.first||(i.first=s),r&&(r.next=s),ue$6?i.size++:e.size++,"F"!==o&&(i.index[o]=s)),e},l=function(e,t){var n,r=a(e),o=Zf$1(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key===t)return n};return Va$3(i,{clear:function(){for(var e=a(this),t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=null),t=t.next;e.first=e.last=null,e.index=mo$5(null),ue$6?e.size=0:this.size=0;},delete:function(e){var t=this,n=a(t),r=l(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first===r&&(n.first=o),n.last===r&&(n.last=i),ue$6?n.size--:t.size--;}return !!r},forEach:function(e){for(var t,n=a(this),r=tr$5(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous;},has:function(e){return !!l(this,e)}}),Va$3(i,n?{get:function(e){var t=l(this,e);return t&&t.value},set:function(e,t){return s(this,0===e?0:e,t)}}:{add:function(e){return s(this,e=0===e?0:e,e)}}),ue$6&&bl$2(i,"size",{configurable:!0,get:function(){return a(this).size}}),o},setStrong:function(e,t,n){var r=t+" Iterator",o=td$1(t),i=td$1(r);Hi$5(e,t,(function(e,t){ed$1(this,{type:r,target:e,state:o(e),kind:t,last:null});}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?Ki$5("keys"===t?n.key:"values"===t?n.value:[n.key,n.value],!1):(e.target=null,Ki$5(void 0,!0))}),n?"entries":"values",!n,!0),xl$2(t);}};os$1("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),nd$1);var rd$1=new Set(["doctype","!doctype","meta","script","style","link","frame","iframe","title","svg"]);function od$1(e,t){e.isInline(t)?(e.insertNode(t),"link"===t.type&&e.insertFragment([{text:""}])):Transforms.insertNodes(e,t,{mode:"highest"});}var id$1=function(t){var l=t,u=l.onChange,c=l.insertText,d=l.apply,h=l.deleteBackward;return l.insertText=function(e){l.getConfig().readOnly||c(e);},l.apply=function(t){var r,o,i,a,s,u,c,f,h=[];switch(t.type){case"insert_text":case"remove_text":case"set_node":try{for(var p=Ma$3(Editor.levels(l,{at:t.path})),g=p.next();!g.done;g=p.next()){var v=Pa$4(g.value,2),y=v[0],m=v[1],b=Ic$2.findKey(l,y);h.push([m,b]);}}catch(e){r={error:e};}finally{try{g&&!g.done&&(o=p.return)&&o.call(p);}finally{if(r)throw r.error}}break;case"insert_node":case"remove_node":case"merge_node":case"split_node":try{for(var w=Ma$3(Editor.levels(l,{at:Path.parent(t.path)})),x=w.next();!x.done;x=w.next()){var S=Pa$4(x.value,2);y=S[0],m=S[1],b=Ic$2.findKey(l,y);h.push([m,b]);}}catch(e){i={error:e};}finally{try{x&&!x.done&&(a=w.return)&&a.call(w);}finally{if(i)throw i.error}}break;case"move_node":try{for(var E=Ma$3(Editor.levels(l,{at:Path.common(Path.parent(t.path),Path.parent(t.newPath))})),O=E.next();!O.done;O=E.next()){var k=Pa$4(O.value,2);y=k[0],m=k[1],b=Ic$2.findKey(l,y);h.push([m,b]);}}catch(e){s={error:e};}finally{try{O&&!O.done&&(u=E.return)&&u.call(E);}finally{if(s)throw s.error}}}d(t);try{for(var C=Ma$3(h),T=C.next();!T.done;T=C.next()){var N=Pa$4(T.value,2);m=N[0],b=N[1],y=Pa$4(Editor.node(l,m),1)[0];nl$2.set(y,b);}}catch(e){c={error:e};}finally{try{T&&!T.done&&(f=C.return)&&f.call(C);}finally{if(c)throw c.error}}},l.deleteBackward=function(n){if("line"!==n)return h(n);if(t.selection&&Range.isCollapsed(t.selection)){var r=Editor.above(t,{match:function(n){return Editor.isBlock(t,n)},at:t.selection});if(r){var i=Pa$4(r,2)[1],a=Editor.range(t,i,t.selection.anchor),u=function(t,n){var r=Editor.range(t,Range.end(n)),i=Array.from(Editor.positions(t,{at:n})),a=0,s=i.length,l=Math.floor(s/2);if(sf$1(t,Editor.range(t,i[a]),r))return Editor.range(t,i[a],r);if(i.length<2)return Editor.range(t,i[i.length-1],r);for(;l!==i.length&&l!==a;)sf$1(t,Editor.range(t,i[l]),r)?s=l:a=l,l=Math.floor((a+s)/2);return Editor.range(t,i[s],r)}(l,a);Range.isCollapsed(u)||Transforms.delete(t,{at:u});}}},l.onChange=function(){var e=l.selection;null!=e&&il$2.set(l,e),l.emit("change"),u();},l.handleTab=function(){l.insertText(" ");},l.getHtml=function(){var e=l.children;return (void 0===e?[]:e).map((function(e){return rf$1(e,l)})).join("")},l.getText=function(){var e=l.children;return (void 0===e?[]:e).map((function(e){return Node$1.string(e)})).join("\n")},l.getSelectionText=function(){var n=l.selection;return null==n?"":Editor.string(t,n)},l.getElemsByType=function(t,n){var r,o;void 0===n&&(n=!1);var a=[],s=Editor.nodes(l,{at:[],universal:!0});try{for(var u=Ma$3(s),c=u.next();!c.done;c=u.next()){var f=Pa$4(c.value,1)[0];if(Element$1.isElement(f))if(n?f.type.indexOf(t)>=0:f.type===t){var d=of$1(Ic$2.findKey(l,f).id);a.push(La$4(La$4({},f),{id:d}));}}}catch(e){r={error:e};}finally{try{c&&!c.done&&(o=u.return)&&o.call(u);}finally{if(r)throw r.error}}return a},l.getElemsByTypePrefix=function(e){return l.getElemsByType(e,!0)},l.isEmpty=function(){var e=l.children,t=void 0===e?[]:e;if(t.length>1)return !1;var n=t[0];if(null==n)return !0;if(Element$1.isElement(n)&&"paragraph"===n.type){var r=n.children,o=void 0===r?[]:r;if(o.length>1)return !1;var s=o[0];if(null==s)return !0;if(Text.isText(s)&&""===s.text)return !0}return !1},l.clear=function(){Transforms.delete(l,{at:{anchor:Editor.start(l,[]),focus:Editor.end(l,[])}}),0===l.children.length&&Transforms.insertNodes(l,[{type:"paragraph",children:[{text:""}]}]);},l.getParentNode=function(e){return Ic$2.getParentNode(l,e)},l.dangerouslyInsertHtml=function(e,t){if(void 0===e&&(e=""),void 0===t&&(t=!1),e){var n=document.createElement("div");n.innerHTML=e;var r=Array.from(n.childNodes);if(r=r.filter((function(e){var t=e.nodeType,n=e.nodeName;return t===ec$2.TEXT_NODE||t===ec$2.ELEMENT_NODE&&!rd$1.has(n.toLowerCase())})),0!==r.length){var o=l.selection;if(null!=o){var i=null;if(Ic$2.isSelectedEmptyParagraph(l)&&!t)i=[o.focus.path[0]];n.setAttribute("hidden","true"),document.body.appendChild(n);var a=0;r.forEach((function(e,t){var n=e.nodeType,o=e.nodeName,i=e.textContent,s=void 0===i?"":i;if(n!==ec$2.TEXT_NODE)if("BR"!==o){var u=e,c=!1;if(lf$1.includes(o.toLowerCase()))c=!0;else for(var d in hf$1)if(u.matches(d)){c=!0;break}if(c){var h=Uf$1($$6(u),l);return Array.isArray(h)?(h.forEach((function(e){return od$1(l,e)})),a++):(od$1(l,h),a++),void(Ic$2.isSelectedVoidNode(l)&&l.move(1))}var p=window.getComputedStyle(u).display;if(!Ic$2.isSelectedEmptyParagraph(l)&&p.indexOf("inline")<0){if(t>=1){var g=r[t-1];"matches"in g&&g.matches("ul:not([data-w-e-type]),ol:not([data-w-e-type])")&&l.insertBreak();}l.insertBreak();}l.dangerouslyInsertHtml(u.innerHTML,!0);}else l.insertText("\n");else {if(!s||!s.trim())return;l.insertNode({text:s});}})),a&&i&&Ic$2.isEmptyPath(l,i)&&Transforms.removeNodes(l,{at:i}),n.remove();}}}},l.setHtml=function(t){void 0===t&&(t="");var n=l.isDisabled(),r=l.isFocused(),o=JSON.stringify(l.selection);l.enable(),l.focus(),l.clear();var i=Qf$1(l,null==t?"":t);if(Transforms.insertFragment(l,i),r||(l.deselect(),l.blur()),n&&(l.deselect(),l.disable()),l.isFocused())try{l.select(JSON.parse(o));}catch(t){l.select(Editor.start(l,[]));}},l},ad$1=function(e){return null!=e},sd$1={object:!0,function:!0,undefined:!0},ld$1=function(e){if(!function(e){return !!ad$1(e)&&hasOwnProperty.call(sd$1,typeof e)}(e))return !1;try{return !!e.constructor&&e.constructor.prototype===e}catch(e){return !1}},ud$1=/^\s*class[\s{/}]/,cd$1=Function.prototype.toString,fd$1=function(e){return !!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(e){return !1}return !ld$1(e)}(e)&&!ud$1.test(cd$1.call(e))},dd$1=function(e){return null!=e},hd$1=Object.keys,pd$1=function(){try{return Object.keys("primitive"),!0}catch(e){return !1}}()?Object.keys:function(e){return hd$1(dd$1(e)?Object(e):e)},gd$1=Math.max,vd$1=function(){var e,t=Object.assign;return "function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}()?Object.assign:function(e,t){var n,r,o,i=gd$1(arguments.length,2);for(e=Object(function(e){if(!dd$1(e))throw new TypeError("Cannot use null or undefined");return e}(e)),o=function(r){try{e[r]=t[r];}catch(e){n||(n=e);}},r=1;r<i;++r)pd$1(t=arguments[r]).forEach(o);if(void 0!==n)throw n;return e},yd$1=Array.prototype.forEach,md$1=Object.create,bd$1=function(e){var t=md$1(null);return yd$1.call(arguments,(function(e){dd$1(e)&&function(e,t){var n;for(n in e)t[n]=e[n];}(Object(e),t);})),t},wd$1="razdwatrzy",xd$1=String.prototype.indexOf,Sd$1="function"==typeof wd$1.contains&&!0===wd$1.contains("dwa")&&!1===wd$1.contains("foo")?String.prototype.contains:function(e){return xd$1.call(this,e,arguments[1])>-1},Ed$1=re$6((function(e){var t=e.exports=function(e,t){var n,r,o,i,a;return arguments.length<2||"string"!=typeof e?(i=t,t=e,e=null):i=arguments[2],ad$1(e)?(n=Sd$1.call(e,"c"),r=Sd$1.call(e,"e"),o=Sd$1.call(e,"w")):(n=o=!0,r=!1),a={value:t,configurable:n,enumerable:r,writable:o},i?vd$1(bd$1(i),a):a};t.gs=function(e,t,n){var r,o,i,a;return "string"!=typeof e?(i=n,n=t,t=e,e=null):i=arguments[3],ad$1(t)?fd$1(t)?ad$1(n)?fd$1(n)||(i=n,n=void 0):n=void 0:(i=t,t=n=void 0):t=void 0,ad$1(e)?(r=Sd$1.call(e,"c"),o=Sd$1.call(e,"e")):(r=!0,o=!1),a={get:t,set:n,configurable:r,enumerable:o},i?vd$1(bd$1(i),a):a};})),Od$1=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e},kd$1=re$6((function(e,t){var n,r,o,i,a,s,l,u=Function.prototype.apply,c=Function.prototype.call,f=Object.create,d=Object.defineProperty,h=Object.defineProperties,p=Object.prototype.hasOwnProperty,g={configurable:!0,enumerable:!1,writable:!0};n=function(e,t){var n;return Od$1(t),p.call(this,"__ee__")?n=this.__ee__:(n=g.value=f(null),d(this,"__ee__",g),g.value=null),n[e]?"object"==typeof n[e]?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},r=function(e,t){var r,i;return Od$1(t),i=this,n.call(this,e,r=function(){o.call(i,e,r),u.call(t,this,arguments);}),r.__eeOnceListener__=t,this},o=function(e,t){var n,r,o,i;if(Od$1(t),!p.call(this,"__ee__"))return this;if(!(n=this.__ee__)[e])return this;if("object"==typeof(r=n[e]))for(i=0;o=r[i];++i)o!==t&&o.__eeOnceListener__!==t||(2===r.length?n[e]=r[i?0:1]:r.splice(i,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this},i=function(e){var t,n,r,o,i;if(p.call(this,"__ee__")&&(o=this.__ee__[e]))if("object"==typeof o){for(n=arguments.length,i=new Array(n-1),t=1;t<n;++t)i[t-1]=arguments[t];for(o=o.slice(),t=0;r=o[t];++t)u.call(r,this,i);}else switch(arguments.length){case 1:c.call(o,this);break;case 2:c.call(o,this,arguments[1]);break;case 3:c.call(o,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,i=new Array(n-1),t=1;t<n;++t)i[t-1]=arguments[t];u.call(o,this,i);}},a={on:n,once:r,off:o,emit:i},s={on:Ed$1(n),once:Ed$1(r),off:Ed$1(o),emit:Ed$1(i)},l=h({},s),e.exports=t=function(e){return null==e?f(l):h(Object(e),s)},t.methods=a;}));function Cd$1(e){var t=al$2.get(e);return null==t&&(t=kd$1(),al$2.set(e,t)),t}var Td$1=new WeakMap;function Nd(e,t){var n=Td$1.get(e);null==n&&(n=new Set,Td$1.set(e,n)),n.add(t);}var Ld=function(e){var t=e;return t.on=function(e,n){var r=Cd$1(t);if(r.on(e,n),"destroyed"===e&&Nd(t,n),"destroyed"!==e){var o=function(){return r.off(e,n)};r.on("destroyed",o),Nd(t,o);}},t.once=function(e,n){Cd$1(t).once(e,n);},t.off=function(e,n){Cd$1(t).off(e,n);},t.emit=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=Cd$1(t);if(o.emit.apply(o,Da$3([e],Pa$4(n))),"destroyed"===e){var i=function(e){return Td$1.get(e)||new Set}(t);i.forEach((function(e){return o.off("destroyed",e)})),function(e){Td$1.set(e,new Set);}(t);}},t};function Md(e){var t=Ic$2.getTextarea(e).$textAreaContainer,n=t.width(),r=t.height(),o=t.offset();return {top:o.top,left:o.left,width:n,height:r}}function Pd(e){var t={top:"0",left:"0"},n=e.selection;if(null==n)return t;var r=Md(e);if(null==r)return t;var o=r.top,i=r.left,a=r.width,s=r.height,l=Ic$2.toDOMRange(e,n).getClientRects()[0];if(null==l)return t;l.width;var u=l.height,c={},f=l.top-o,d=l.left-i;if(d>a/2){var h=a-d;c.right=h+5+"px";}else c.left=d+5+"px";if(f>s/2){var p=s-f;c.bottom=p+5+"px";}else {var g=f+u;g<0&&(g=0),c.top=g+5+"px";}return c}function Dd$1(e,t,n){void 0===n&&(n="modal");var r={top:"0",left:"0"};if(null==e.selection)return r;var o=Element$1.isElement(t)&&e.isVoid(t),a=Element$1.isElement(t)&&e.isInline(t),s=tl$2.get(t);if(null==s)return r;var l=s.getBoundingClientRect(),u=l.top,c=l.left,f=l.height,d=l.width;if(o){var h=Cc$2(s);if(null!=h){var p=h.getBoundingClientRect();u=p.top,f=p.height;}}var g=Md(e);if(null==g)return r;var v=g.top,y=g.left,m=g.width,b=g.height,w={},x=u-v,S=c-y;if("bar"===n)return w.left=S+"px",x>40?w.bottom=b-x+5+"px":w.top=x+f+5+"px",w;if("modal"===n){var E;if(o?a?S>(m-d)/2?w.right=m-S+5+"px":w.left=S+d+5+"px":w.left="20px":w.left=S+"px",o)(E=x)<0&&(E=0),w.top=E+"px";else if(x>(b-f)/2)w.bottom=b-x+5+"px";else (E=x+f)<0&&(E=0),w.top=E+5+"px";return w}throw new Error("type '"+n+"' is invalid")}function Rd$1(e,t){Qu$3((function(){var n=Md(e);if(null!=n){var r,o=n.top,i=n.left,a=n.width,s=n.height,l=t.offset(),u=l.top,c=l.left,f=t.width(),d=t.height(),h=u-o,p=c-i,g=t.attr("style");if(g.indexOf("top")>=0)if((r=h+d-s)>0){var v=t.css("top"),y=parseInt(v.toString())-r;y<0&&(y=0),t.css("top",y+"px");}if(g.indexOf("bottom")>=0&&u<0){var m=t.css("bottom"),b=parseInt(m.toString())-Math.abs(u);t.css("bottom",b+"px");}if(g.indexOf("left")>=0)if((r=p+f-a)>0){var w=t.css("left"),x=parseInt(w.toString())-r;x<0&&(x=0),t.css("left",x+"px");}if(g.indexOf("right")>=0&&c<0){var S=t.css("right"),E=parseInt(S.toString())-Math.abs(c);t.css("right",E+"px");}}}));}var jd$1=No$5("slice"),Ad$1=yt$6("species"),Id=Array,Fd$1=Math.max;_n$6({target:"Array",proto:!0,forced:!jd$1},{slice:function(e,t){var n,r,o,i=Pe$6(this),a=mn$6(i),s=gn$6(e,a),l=gn$6(void 0===t?a:t,a);if(nr$5(i)&&(n=i.constructor,(cr$5(n)&&(n===Id||nr$5(n.prototype))||je$6(n)&&null===(n=n[Ad$1]))&&(n=void 0),n===Id||void 0===n))return za$3(i,s,l);for(r=new(void 0===n?Id:n)(Fd$1(l-s,0)),o=0;s<l;s++,o++)s in i&&Gr$5(r,o,i[s]);return r.length=o,r}});var Bd$1=Object.assign,_d=Object.defineProperty,$d$1=xe$6([].concat),Wd$1=!Bd$1||le$6((function(){if(ue$6&&1!==Bd$1({b:1},Bd$1(_d({},"a",{enumerable:!0,get:function(){_d(this,"b",{value:3,enumerable:!1});}}),{b:2})).b)return !0;var e={},t={},n=Symbol("assign detection"),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e;})),7!==Bd$1({},e)[n]||$n$6(Bd$1({},t)).join("")!==r}))?function(e,t){for(var n=st$6(e),r=arguments.length,o=1,i=Tn$6.f,a=ve$6.f;r>o;)for(var s,l=Te$6(arguments[o++]),u=i?$d$1($n$6(l),i(l)):$n$6(l),c=u.length,f=0;c>f;)s=u[f++],ue$6&&!de$6(a,l,s)||(n[s]=l[s]);return n}:Bd$1;_n$6({target:"Object",stat:!0,arity:2,forced:Object.assign!==Wd$1},{assign:Wd$1});var Vd$1=Tt$6.f,zd=Zn$6("".slice),Ud$1=Math.min,Hd$1=li$5("startsWith"),Kd$1=!Hd$1&&!!function(){var e=Vd$1(String.prototype,"startsWith");return e&&!e.writable}();_n$6({target:"String",proto:!0,forced:!Kd$1&&!Hd$1},{startsWith:function(e){var t=Dr$5(Me$6(this));ai$5(e);var n=yn$6(Ud$1(arguments.length>1?arguments[1]:void 0,t.length)),r=Dr$5(e);return zd(t,n,n+r.length)===r}});var qd$1=["props","attrs","style","dataset","on","hook"];function Gd$1(e){var t=e.data,n=void 0===t?{}:t,r=e.children,o=void 0===r?[]:r;Object.keys(n).forEach((function(t){var r,o,i=n[t];if("key"!==t){if(!qd$1.includes(t)){if(t.startsWith("data-")){var a=t.slice(5);return a=lodash_camelcase(a),function(e,t){null==e.data&&(e.data={});var n=e.data;null==n.dataset&&(n.dataset={});Object.assign(n.dataset,t);}(e,((r={})[a]=i,r)),void delete n[t]}!function(e,t){null==e.data&&(e.data={});var n=e.data;null==n.props&&(n.props={});Object.assign(n.props,t);}(e,(o={},o[t]=i,o)),delete n[t];}}else e.key=i;})),o.length>0&&o.forEach((function(e){"string"!=typeof e&&Gd$1(e);}));}var Jd$1=[];function Yd$1(e){Jd$1.push(e);}var Xd$1={};function Qd$1(e){var t=e.type,n=e.renderElem;Xd$1[t||""]=n;}function Zd$1(e,t,n){var r=n.isInline(e)?"span":"div";return jsx(r,null,t)}function eh$1(t,n){var o,i=Ic$2.findKey(n,t),a=n.isInline(t),s=Editor.isVoid(n,t),l=of$1(i.id),u={id:l,key:i.id,"data-slate-node":"element","data-slate-inline":a},c=t.type,f=t.children,d=void 0===f?[]:f,h=function(e){return Xd$1[e]||Zd$1}(c);o=s?null:d.map((function(e,r){return oh$1(e,r,t,n)}));var p=h(t,o,n);if(s){u["data-slate-void"]=!0;var g=a?"span":"div",v=Pa$4(Node$1.texts(t),1),y=Pa$4(v[0],1)[0],m=oh$1(y,0,t,n),b=jsx(g,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},m);p=jsx(g,{style:{position:"relative"}},p,b),Ys$1.set(y,0),Xs$1.set(y,t);}return null==p.data&&(p.data={}),Object.assign(p.data,u),s||a||(p=function(e,t){var n=t;return Jd$1.forEach((function(r){n=r(e,t);})),n}(t,p)),Qu$3((function(){var e=Sc$2(l);null!=e&&(el$2.set(i,e),tl$2.set(t,e),Zs$1.set(e,t));})),p}function th$1(e,t){return void 0===t&&(t=!1),jsx("span",{"data-slate-string":!0},t?e+"\n":e)}function nh$1(e,t){return void 0===e&&(e=0),void 0===t&&(t=!1),jsx("span",{"data-slate-zero-width":t?"n":"z","data-slate-length":e},"\ufeff",t?jsx("br",null):null)}function rh$1(t,o,i){if(null==t.text)throw new Error("Current node is not slate Text "+JSON.stringify(t));var s=Ic$2.findKey(i,t),l=i.getConfig().decorate;if(null==l)throw new Error("Can not get config.decorate");var u=Ic$2.findPath(i,t),c=l([t,u]),f=Text.decorations(t,c),d=f.map((function(a,s){var l=function(t,o,i,a,s){void 0===o&&(o=!1);var l=t.text,u=Ic$2.findPath(s,i),c=Path.parent(u);if(Editor.isEditor(a))throw new Error("Text node "+JSON.stringify(i)+" parent is Editor");return s.isVoid(a)?nh$1(Node$1.string(a).length):""!==l||a.children[a.children.length-1]!==i||s.isInline(a)||""!==Editor.string(s,c)?""===l?nh$1():o&&"\n"===l.slice(-1)?th$1(l,!0):th$1(l):nh$1(0,!0)}(a,s===f.length-1,t,o,i);return l=function(e,t){var n=t;return Jd$1.forEach((function(t){n=t(e,n);})),n}(a,l),jsx("span",{"data-slate-leaf":!0},l)})),h=function(e){return "w-e-text-"+e}(s.id),p=jsx("span",{"data-slate-node":"text",id:h,key:s.id},d);return Qu$3((function(){var e=Sc$2(h);null!=e&&(el$2.set(s,e),tl$2.set(t,e),Zs$1.set(e,t));})),p}function oh$1(e,t,n,r){return Ys$1.set(e,t),Xs$1.set(e,n),Element$1.isElement(e)?eh$1(e,r):rh$1(e,n,r)}function ih$1(e,t){var n,r=e.$scroll,o=function(e){return "w-e-textarea-"+e}(e.id),i=t.getConfig(),a=i.readOnly,s=i.autoFocus,l=function(e,t){return void 0===t&&(t=!1),h$3("div#"+e,{props:{contentEditable:!t}})}(o,a),u=t.children||[];l.children=u.map((function(e,n){var r=oh$1(e,n,t,t);return Gd$1(r),r}));var c=qs$1.get(e);if(null==c&&(c=!0),c){var d=function(e){return $$6('<div\n id="'+e+'"\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>')}(o);r.append(d),e.$textArea=d,n=d[0],(p=init([classModule,propsModule,styleModule,datasetModule,eventListenersModule,attributesModule]))(n,l),qs$1.set(e,!1),Gs$1.set(e,p);}else {var h=Js$1.get(e),p=Gs$1.get(e);if(null==h||null==p)return;n=h.elm,p(h,l);}if(null!=n||null!=(n=Sc$2(o))){if((c?s:t.isFocused())&&n.focus({preventScroll:!0}),c){var g=hc$2(n);g&&rl$2.set(t,g);}Qs$1.set(t,n),tl$2.set(t,n),Zs$1.set(n,t),Js$1.set(e,l);}}function ah$1(e){return "object"==typeof e&&null!=e&&1===e.nodeType}function sh$1(e,t){return (!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function lh$1(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return sh$1(n.overflowY,t)||sh$1(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return !!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return !1}function uh$1(e,t,n,r,o,i,a,s){return i<e&&a>t||i>e&&a<t?0:i<=e&&s<=n||a>=t&&s>=n?i-e-r:a>t&&s<n||i<e&&s>n?a-t+o:0}var ch$1=function(e,t){var n=window,r=t.scrollMode,o=t.block,i=t.inline,a=t.boundary,s=t.skipOverflowHiddenElements,l="function"==typeof a?a:function(e){return e!==a};if(!ah$1(e))throw new TypeError("Invalid target");for(var u,c,f=document.scrollingElement||document.documentElement,d=[],h=e;ah$1(h)&&l(h);){if((h=null==(c=(u=h).parentElement)?u.getRootNode().host||null:c)===f){d.push(h);break}null!=h&&h===document.body&&lh$1(h)&&!lh$1(document.documentElement)||null!=h&&lh$1(h,s)&&d.push(h);}for(var p=n.visualViewport?n.visualViewport.width:innerWidth,g=n.visualViewport?n.visualViewport.height:innerHeight,v=window.scrollX||pageXOffset,y=window.scrollY||pageYOffset,m=e.getBoundingClientRect(),b=m.height,w=m.width,x=m.top,S=m.right,E=m.bottom,O=m.left,k="start"===o||"nearest"===o?x:"end"===o?E:x+b/2,C="center"===i?O+w/2:"end"===i?S:O,T=[],N=0;N<d.length;N++){var L=d[N],M=L.getBoundingClientRect(),P=M.height,D=M.width,R=M.top,j=M.right,A=M.bottom,I=M.left;if("if-needed"===r&&x>=0&&O>=0&&E<=g&&S<=p&&x>=R&&E<=A&&O>=I&&S<=j)return T;var F=getComputedStyle(L),B=parseInt(F.borderLeftWidth,10),_=parseInt(F.borderTopWidth,10),$=parseInt(F.borderRightWidth,10),W=parseInt(F.borderBottomWidth,10),V=0,z=0,U="offsetWidth"in L?L.offsetWidth-L.clientWidth-B-$:0,H="offsetHeight"in L?L.offsetHeight-L.clientHeight-_-W:0,K="offsetWidth"in L?0===L.offsetWidth?0:D/L.offsetWidth:0,q="offsetHeight"in L?0===L.offsetHeight?0:P/L.offsetHeight:0;if(f===L)V="start"===o?k:"end"===o?k-g:"nearest"===o?uh$1(y,y+g,g,_,W,y+k,y+k+b,b):k-g/2,z="start"===i?C:"center"===i?C-p/2:"end"===i?C-p:uh$1(v,v+p,p,B,$,v+C,v+C+w,w),V=Math.max(0,V+y),z=Math.max(0,z+v);else {V="start"===o?k-R-_:"end"===o?k-A+W+H:"nearest"===o?uh$1(R,A,P,_,W+H,k,k+b,b):k-(R+P/2)+H/2,z="start"===i?C-I-B:"center"===i?C-(I+D/2)+U/2:"end"===i?C-j+$+U:uh$1(I,j,D,B,$+U,C,C+w,w);var G=L.scrollLeft,J=L.scrollTop;k+=J-(V=Math.max(0,Math.min(J+V/q,L.scrollHeight-P/q+H))),C+=G-(z=Math.max(0,Math.min(G+z/K,L.scrollWidth-D/K+U)));}T.push({el:L,top:V,left:z});}return T};function fh$1(e){return e===Object(e)&&0!==Object.keys(e).length}function dh$1(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(fh$1(t)&&"function"==typeof t.behavior)return t.behavior(n?ch$1(e,t):[]);if(n){var r=function(e){return !1===e?{block:"end",inline:"nearest"}:fh$1(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach((function(e){var r=e.el,o=e.top,i=e.left;r.scroll&&n?r.scroll({top:o,left:i,behavior:t}):(r.scrollTop=o,r.scrollLeft=i);}));}(ch$1(e,r),r.behavior)}}function hh$1(e,t){return vc$2(t)&&Ic$2.hasDOMNode(e,t,{editable:!0})}function ph$1(t,n){if(t.getConfig().readOnly)return !1;var r=gh$1(t,n)&&Ic$2.toSlateNode(t,n);return Editor.isVoid(t,r)}function gh$1(e,t){return vc$2(t)&&Ic$2.hasDOMNode(e,t)}function vh$1(e,t,n){void 0===n&&(n=!1);var r=t.selection,i=t.getConfig(),a=Ic$2.findDocumentOrShadowRoot(t).getSelection();if(a&&(!e.isComposing||n)&&t.isFocused()){var s="None"!==a.type;if(r||s){var l=Qs$1.get(t),u=!1;if(l.contains(a.anchorNode)&&l.contains(a.focusNode)&&(u=!0),s&&u&&r){var c=Ic$2.toSlateRange(t,a,{exactMatch:!0,suppressThrow:!0});if(c&&Range.equals(c,r)){var f=!0;if(Range.isCollapsed(r)){var d=a.anchorNode,h=a.anchorOffset;if(d===l){var p=l.childNodes,g=void 0;(g=p[h])&&g.matches("table")&&(f=!1),(g=p[h-1])&&g.matches("table")&&(f=!1);}}if(f)return}}if(!r||Ic$2.hasRange(t,r)){e.isUpdatingSelection=!0;var v=r&&Ic$2.toDOMRange(t,r);if(v){Range.isBackward(r)?a.setBaseAndExtent(v.endContainer,v.endOffset,v.startContainer,v.startOffset):a.setBaseAndExtent(v.startContainer,v.startOffset,v.endContainer,v.endOffset);var y=v.startContainer.parentElement;if(!y.closest("[data-slate-spacer]")){y.getBoundingClientRect=v.getBoundingClientRect.bind(v);var m=document.body;dh$1(y,{scrollMode:"if-needed",boundary:i.scroll?l.parentElement:m,block:"end",behavior:"smooth"}),delete y.getBoundingClientRect;}}else a.removeAllRanges();setTimeout((function(){v&&Mc$2&&l.focus(),e.isUpdatingSelection=!1;}));}else t.selection=Ic$2.toSlateRange(t,a,{exactMatch:!1,suppressThrow:!1});}}}var yh$1=new WeakMap,mh$1=new WeakMap;var bh$1={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"},wh$1={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"},xh$1={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},Sh$1=function(e){var t=bh$1[e],n=wh$1[e],r=xh$1[e],o=t&&isKeyHotkey_1(t),i=n&&isKeyHotkey_1(n),a=r&&isKeyHotkey_1(r);return function(e){return !(!o||!o(e))||(!!(Lc$2&&i&&i(e))||!(Lc$2||!a||!a(e)))}},Eh$1={isBold:Sh$1("bold"),isCompose:Sh$1("compose"),isMoveBackward:Sh$1("moveBackward"),isMoveForward:Sh$1("moveForward"),isDeleteBackward:Sh$1("deleteBackward"),isDeleteForward:Sh$1("deleteForward"),isDeleteLineBackward:Sh$1("deleteLineBackward"),isDeleteLineForward:Sh$1("deleteLineForward"),isDeleteWordBackward:Sh$1("deleteWordBackward"),isDeleteWordForward:Sh$1("deleteWordForward"),isExtendBackward:Sh$1("extendBackward"),isExtendForward:Sh$1("extendForward"),isExtendLineBackward:Sh$1("extendLineBackward"),isExtendLineForward:Sh$1("extendLineForward"),isItalic:Sh$1("italic"),isMoveLineBackward:Sh$1("moveLineBackward"),isMoveLineForward:Sh$1("moveLineForward"),isMoveWordBackward:Sh$1("moveWordBackward"),isMoveWordForward:Sh$1("moveWordForward"),isRedo:Sh$1("redo"),isSplitBlock:Sh$1("splitBlock"),isTransposeCharacter:Sh$1("transposeCharacter"),isUndo:Sh$1("undo"),isTab:Sh$1("tab"),isSelectAll:Sh$1("selectAll")};function Oh$1(e){e.preventDefault();}var kh$1={beforeinput:function(t,n,r){var i=t,a=r.getConfig().readOnly;if(Ac$2&&!a&&hh$1(r,i.target)){var l=r.selection,u=i.inputType,c=i.dataTransfer||i.data||void 0;if("insertCompositionText"!==u&&"deleteCompositionText"!==u){if(i.preventDefault(),!u.startsWith("delete")||u.startsWith("deleteBy")){var f=Pa$4(i.getTargetRanges(),1)[0];if(f){var d=Ic$2.toSlateRange(r,f,{exactMatch:!1,suppressThrow:!1});l&&Range.equals(l,d)||Transforms.select(r,d);}}if(l&&Range.isExpanded(l)&&u.startsWith("delete")){var h=u.endsWith("Backward")?"backward":"forward";Editor.deleteFragment(r,{direction:h});}else switch(u){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":Editor.deleteFragment(r);break;case"deleteContent":case"deleteContentForward":Editor.deleteForward(r);break;case"deleteContentBackward":Editor.deleteBackward(r);break;case"deleteEntireSoftLine":Editor.deleteBackward(r,{unit:"line"}),Editor.deleteForward(r,{unit:"line"});break;case"deleteHardLineBackward":Editor.deleteBackward(r,{unit:"block"});break;case"deleteSoftLineBackward":Editor.deleteBackward(r,{unit:"line"});break;case"deleteHardLineForward":Editor.deleteForward(r,{unit:"block"});break;case"deleteSoftLineForward":Editor.deleteForward(r,{unit:"line"});break;case"deleteWordBackward":Editor.deleteBackward(r,{unit:"word"});break;case"deleteWordForward":Editor.deleteForward(r,{unit:"word"});break;case"insertLineBreak":case"insertParagraph":Editor.insertBreak(r);break;case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if("insertFromPaste"===u&&!sl$2.get(r))break;rc$2(c)?r.insertData(c):"string"==typeof c&&Editor.insertText(r,c);}}}},blur:function(e,t,n){var r=e,o=t.isUpdatingSelection,a=t.latestElement;if(!n.getConfig().readOnly&&!o&&hh$1(n,r.target)){var s=Ic$2.findDocumentOrShadowRoot(n);if(a!==s.activeElement){var l=r.relatedTarget;if(!(l===Ic$2.toDOMNode(n,n)||gc$2(l)&&l.hasAttribute("data-slate-spacer"))){if(null!=l&&vc$2(l)&&Ic$2.hasDOMNode(n,l)){var u=Ic$2.toSlateNode(n,l);if(Element$1.isElement(u)&&!n.isVoid(u))return}if(Pc$2){var c=s.getSelection();null==c||c.removeAllRanges();}ol$2.delete(n);}}}},focus:function(e,t,n){var r=Ic$2.toDOMNode(n,n),o=Ic$2.findDocumentOrShadowRoot(n);t.latestElement=o.activeElement,Mc$2&&e.target!==r?r.focus():ol$2.set(n,!0);},click:function(t,o,i){if(!i.getConfig().readOnly&&gh$1(i,t.target)&&vc$2(t.target)){var a=Ic$2.toSlateNode(i,t.target),l=Ic$2.findPath(i,a);if(Editor.hasPath(i,l))if(Node$1.get(i,l)===a){var u=Editor.start(i,l),c=Editor.end(i,l),f=Editor.void(i,{at:u}),d=Editor.void(i,{at:c});if(f&&d&&Path.equals(f[1],d[1])){var h=Editor.range(i,u);Transforms.select(i,h);}}}},compositionstart:function(t,n,r){if(hh$1(r,t.target)){var i=r.selection;if(i&&Range.isExpanded(i)&&(Editor.deleteFragment(r),Promise.resolve().then((function(){vh$1(n,r,!0);}))),i&&(Range.isExpanded(i)||Range.isCollapsed(i))){var a=Ic$2.toDOMRange(r,i).startContainer,s=a.textContent||"";yh$1.set(r,s),mh$1.set(r,a);}n.isComposing=!0,function(e,t){var n;t.getConfig().placeholder&&t.isEmpty()&&e.showPlaceholder&&(null===(n=e.$placeholder)||void 0===n||n.hide(),e.showPlaceholder=!1);}(n,r);}},compositionend:function(t,n,r){var s=t;if(hh$1(r,s.target)){n.isComposing=!1;var l=r.selection;if(null!=l){(jc$2||Mc$2)&&Ic$2.cleanExposedTexNodeInSelectionBlock(r);for(var u=Range.isBackward(l)?l.focus:l.anchor,c=Pa$4(Editor.node(r,[u.path[0]]),1)[0],f=0;f<u.path.length;f++){var d=Pa$4(Editor.node(r,u.path.slice(0,f+1)),1)[0];if(Element$1.isElement(d)&&((Pc$2||Mc$2)&&"link"===d.type||"code"===d.type)){Ic$2.setNewKey(c);break}}var h=s.data;if(h){if(r.getConfig().maxLength){var p=Ic$2.getLeftLengthOfMaxLength(r);if(p<h.length)Ic$2.toDOMRange(r,l).startContainer.textContent=yh$1.get(r)||"",p>0&&Editor.insertText(r,h.slice(0,p)),n.changeViewState();else Editor.insertText(r,h);}else {var g=Ic$2.findDocumentOrShadowRoot(r).getSelection();g&&function(t,n){if(Range.isCollapsed(n)){var r=n.anchor,i=n.focus;if(2===r.path.length&&2===i.path.length&&(0===r.offset||0===i.path.offset)){var s=Editor.node(t,r.path),l=0===r.offset?r.path:i.path,u=[l[0],l[1]-1];if(0===l[1])return !1;var c=Editor.node(t,u);if(Text.isText(c[0])&&Text.isText(s[0]))return !0}}}(r,l)&&(r.selection=Ic$2.toSlateRange(r,g,{exactMatch:!1,suppressThrow:!1})),Editor.insertText(r,h);}Pc$2||setTimeout((function(){var e=r.selection;if(null!=e){var t=mh$1.get(r);if(null!=t)Ic$2.toDOMRange(r,e).startContainer!==t&&(t.textContent=yh$1.get(r)||"");}}));}}}},compositionupdate:function(e,t,n){hh$1(n,e.target)&&(t.isComposing=!0);},keydown:function(t,n,a){var l=t,u=a.selection;if(!a.getConfig().readOnly&&!n.isComposing&&hh$1(a,l.target)){if(function(e,t){var n=$s$1.get(e),r=n&&n.getMenus(),o=Vs$1.get(e),i=o&&o.getMenus(),a=La$4(La$4({},r),i);for(var s in a){var l=a[s],u=l.hotkey;if(u&&isHotkey_1(u,t)&&!l.isDisabled(e)){var c=l.getValue(e);l.exec(e,c);}}}(a,l),Eh$1.isTab(l))return Oh$1(l),void a.handleTab();if(Eh$1.isRedo(l))return Oh$1(l),void("function"==typeof a.redo&&a.redo());if(Eh$1.isUndo(l))return Oh$1(l),void("function"==typeof a.undo&&a.undo());if(Eh$1.isMoveLineBackward(l))return Oh$1(l),void Transforms.move(a,{unit:"line",reverse:!0});if(Eh$1.isMoveLineForward(l))return Oh$1(l),void Transforms.move(a,{unit:"line"});if(Eh$1.isExtendLineBackward(l))return Oh$1(l),void Transforms.move(a,{unit:"line",edge:"focus",reverse:!0});if(Eh$1.isExtendLineForward(l))return Oh$1(l),void Transforms.move(a,{unit:"line",edge:"focus"});if(Eh$1.isMoveBackward(l))return Oh$1(l),void(u&&Range.isCollapsed(u)?Transforms.move(a,{reverse:!0}):Transforms.collapse(a,{edge:"start"}));if(Eh$1.isMoveForward(l))return Oh$1(l),void(u&&Range.isCollapsed(u)?Transforms.move(a):Transforms.collapse(a,{edge:"end"}));if(Eh$1.isMoveWordBackward(l))return Oh$1(l),u&&Range.isExpanded(u)&&Transforms.collapse(a,{edge:"focus"}),void Transforms.move(a,{unit:"word",reverse:!0});if(Eh$1.isMoveWordForward(l))return Oh$1(l),u&&Range.isExpanded(u)&&Transforms.collapse(a,{edge:"focus"}),void Transforms.move(a,{unit:"word"});if(Eh$1.isSelectAll(l))return Oh$1(l),void a.selectAll();if(Ac$2){if((jc$2||Pc$2)&&u&&(Eh$1.isDeleteBackward(l)||Eh$1.isDeleteForward(l))&&Range.isCollapsed(u)){var c=Node$1.parent(a,u.anchor.path);if(Element$1.isElement(c)&&Editor.isVoid(a,c)&&Editor.isInline(a,c))return l.preventDefault(),void Transforms.delete(a,{unit:"block"})}}else {if(Eh$1.isBold(l)||Eh$1.isItalic(l)||Eh$1.isTransposeCharacter(l))return void Oh$1(l);if(Eh$1.isSplitBlock(l))return Oh$1(l),void Editor.insertBreak(a);if(Eh$1.isDeleteBackward(l))return Oh$1(l),void(u&&Range.isExpanded(u)?Editor.deleteFragment(a,{direction:"backward"}):Editor.deleteBackward(a));if(Eh$1.isDeleteForward(l))return Oh$1(l),void(u&&Range.isExpanded(u)?Editor.deleteFragment(a,{direction:"forward"}):Editor.deleteForward(a));if(Eh$1.isDeleteLineBackward(l))return Oh$1(l),void(u&&Range.isExpanded(u)?Editor.deleteFragment(a,{direction:"backward"}):Editor.deleteBackward(a,{unit:"line"}));if(Eh$1.isDeleteLineForward(l))return Oh$1(l),void(u&&Range.isExpanded(u)?Editor.deleteFragment(a,{direction:"forward"}):Editor.deleteForward(a,{unit:"line"}));if(Eh$1.isDeleteWordBackward(l))return Oh$1(l),void(u&&Range.isExpanded(u)?Editor.deleteFragment(a,{direction:"backward"}):Editor.deleteBackward(a,{unit:"word"}));if(Eh$1.isDeleteWordForward(l))return Oh$1(l),void(u&&Range.isExpanded(u)?Editor.deleteFragment(a,{direction:"forward"}):Editor.deleteForward(a,{unit:"word"}))}}},keypress:function(t,n,r){if(!Ac$2&&!r.getConfig().readOnly&&hh$1(r,t.target)){t.preventDefault();var o=t.key;Editor.insertText(r,o);}},copy:function(e,t,n){var r=e;if(hh$1(n,r.target)){r.preventDefault();var o=r.clipboardData;null!=o&&n.setFragmentData(o);}},cut:function(t,n,i){var a=t,l=i.selection;if(!i.getConfig().readOnly&&hh$1(i,a.target)){a.preventDefault();var u=a.clipboardData;if(null!=u&&(i.setFragmentData(u),l))if(Range.isExpanded(l))Editor.deleteFragment(i);else {var c=Node$1.parent(i,l.anchor.path);Editor.isVoid(i,c)&&Transforms.delete(i);}}},paste:function(e,t,n){sl$2.set(n,!0);var r=e;if(!n.getConfig().readOnly&&hh$1(n,r.target)){var o=n.getConfig().customPaste;if(o)if(!1===o(n,r))return void sl$2.set(n,!1);if(!Ac$2||bc$2(r)){r.preventDefault();var i=r.clipboardData;null!=i&&n.insertData(i);}}},dragover:function(t,n,r){if(gh$1(r,t.target)){var o=Ic$2.toSlateNode(r,t.target);Editor.isVoid(r,o)&&t.preventDefault();}},dragstart:function(t,n,r){var o=t;if(gh$1(r,o.target)&&!r.getConfig().readOnly){var i=Ic$2.toSlateNode(r,o.target),a=Ic$2.findPath(r,i);if(Editor.isVoid(r,i)||Editor.void(r,{at:a,voids:!0})){var l=Editor.range(r,a);Transforms.select(r,l);}var u=o.dataTransfer;null!=u&&(n.isDraggingInternally=!0,r.setFragmentData(u));}},dragend:function(e,t,n){var r=e;n.getConfig().readOnly||t.isDraggingInternally&&gh$1(n,r.target)&&(t.isDraggingInternally=!1);},drop:function(e,t,n){var r=e,o=r.dataTransfer;if(!n.getConfig().readOnly&&gh$1(n,r.target)&&null!=o&&!(Ac$2&&Pc$2&&o.files.length>0)){r.preventDefault();var i=n.selection,a=Ic$2.findEventRange(n,r);Transforms.select(n,a),t.isDraggingInternally&&(i&&Transforms.delete(n,{at:i}),t.isDraggingInternally=!1),n.insertData(o),n.isFocused()||n.focus();}}},Ch$1=1,Th$1=function(){function e(e){var t=this;this.id=Ch$1++,this.$textArea=null,this.$progressBar=$$6('<div class="w-e-progress-bar"></div>'),this.$maxLengthInfo=$$6('<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=lodash_throttle((function(){var e=t.editorInstance;!function(e,t){var n=e.isComposing,r=e.isUpdatingSelection,o=e.isDraggingInternally;if(!(t.getConfig().readOnly||n||r||o)){var i=Ic$2.findDocumentOrShadowRoot(t),a=i.activeElement,l=Ic$2.toDOMNode(t,t),u=i.getSelection();if(a!==l)return ol$2.delete(t),void Transforms.deselect(t);if(e.latestElement=a,ol$2.set(t,!0),!u)return Transforms.deselect(t);var c=u.anchorNode,f=u.focusNode,d=hh$1(t,c)||ph$1(t,c),h=hh$1(t,f)||ph$1(t,f);if(d&&h){var p=Ic$2.toSlateRange(t,u,{exactMatch:!1,suppressThrow:!1});Transforms.select(t,p);}}}(t,e);}),100);var n=$$6(e);if(0===n.length)throw new Error("Cannot find textarea DOM by selector '"+e+"'");this.$box=n;var r=$$6('<div class="w-e-text-container"></div>');r.append(this.$progressBar),r.append(this.$maxLengthInfo),n.append(r);var o=$$6('<div class="w-e-scroll"></div>');r.append(o),this.$scroll=o,this.$textAreaContainer=r,Qu$3((function(){var e=t.editorInstance,o=Ic$2.getWindow(e);o.document.addEventListener("selectionchange",t.onDOMSelectionChange),e.on("destroyed",(function(){o.document.removeEventListener("selectionchange",t.onDOMSelectionChange);})),r.on("click",(function(){return e.hidePanelOrModal()})),e.on("change",t.changeViewState.bind(t));var i=e.getConfig(),a=i.onChange,s=i.scroll;a&&e.on("change",(function(){return a(e)})),s||(n.css("position","relative"),r.addClass("no-scroll")),t.onFocusAndOnBlur(),e.on("change",t.changeMaxLengthInfo.bind(t)),t.bindEvent();}));}return Object.defineProperty(e.prototype,"editorInstance",{get:function(){var e=Bs$1.get(this);if(null==e)throw new Error("Can not get editor instance");return e},enumerable:!1,configurable:!0}),e.prototype.bindEvent=function(){var e=this,t=this.$textArea,n=this.$scroll,r=this.editorInstance;null!=t&&(lodash_foreach(kh$1,(function(n,o){t.on(o,(function(t){n(t,e,r);}));})),r.getConfig().scroll&&(n.css("overflow-y","auto"),n.on("scroll",lodash_throttle((function(){r.emit("scroll");}),100))));},e.prototype.onFocusAndOnBlur=function(){var e=this,t=this.editorInstance,n=t.getConfig(),r=n.onBlur,o=n.onFocus;this.latestEditorSelection=t.selection,t.on("change",(function(){null==e.latestEditorSelection&&null!=t.selection?setTimeout((function(){return o&&o(t)})):null!=e.latestEditorSelection&&null==t.selection&&setTimeout((function(){return r&&r(t)})),e.latestEditorSelection=t.selection;}));},e.prototype.changeMaxLengthInfo=function(){var e=this.editorInstance,t=e.getConfig().maxLength;if(t){var n=t-Ic$2.getLeftLengthOfMaxLength(e);this.$maxLengthInfo[0].innerHTML=n+"/"+t;}},e.prototype.changeProgress=function(e){var t=this.$progressBar;t.css("width",e+"%"),e>=100&&setTimeout((function(){t.hide(),t.css("width","0"),t.show();}),1e3);},e.prototype.changeViewState=function(){var e=this,t=this.editorInstance;ih$1(this,t),function(e,t){var n,r=t.getConfig().placeholder;if(r){var o=t.isEmpty();if(o&&!e.showPlaceholder&&!e.isComposing){if(null==e.$placeholder){var i=$$6('<div class="w-e-text-placeholder">'+r+"</div>");e.$textAreaContainer.append(i),e.$placeholder=i;}return e.$placeholder.show(),void(e.showPlaceholder=!0)}!o&&e.showPlaceholder&&(null===(n=e.$placeholder)||void 0===n||n.hide(),e.showPlaceholder=!1);}}(this,t),Qu$3((function(){vh$1(e,t);}));},e.prototype.destroy=function(){this.$textAreaContainer.remove();},e}();ra$5("match",(function(e,t,n){return [function(t){var n=Me$6(this),r=Ne$6(t)?void 0:et$6(t,e);return r?de$6(r,t,n):new RegExp(t)[e](Dr$5(n))},function(e){var r=Pt$6(this),o=Dr$5(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return pa$5(r,o);var a=r.unicode;r.lastIndex=0;for(var s,l=[],u=0;null!==(s=pa$5(r,o));){var c=Dr$5(s[0]);l[u]=c,""===c&&(r.lastIndex=ia$5(o,yn$6(r.lastIndex),a)),u++;}return 0===u?null:l}]}));function Nh$1(e){if(e.removeAttr){e.removeAttr("width"),e.removeAttr("height"),e.removeAttr("fill"),e.removeAttr("class"),e.removeAttr("t"),e.removeAttr("p-id");var t=e.children();t.length&&Nh$1(t);}}function Lh$1(){return $$6('<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 Mh$1(){return $$6('<div class="w-e-bar-divider"></div>')}function Ph$1(e,t,n,r,o){if(void 0===r&&(r=""),void 0===o&&(o=!1),t){if(r){var i=Lc$2?"cmd":"ctrl";r=r.replace("mod",i);}if(o)r&&(e.attr("data-tooltip",r),e.addClass("w-e-menu-tooltip-v5"),e.addClass("tooltip-right"));else {var a=r?n+"\n"+r:n;e.attr("data-tooltip",a),e.addClass("w-e-menu-tooltip-v5");}}}var Dh$1=function(){function e(e,t,n){var r=this;void 0===n&&(n=!1),this.$elem=$$6('<div class="w-e-bar-item"></div>'),this.$button=$$6('<button type="button"></button>'),this.disabled=!1,this.menu=t;var o=t.tag,i=t.width;if("button"!==o)throw new Error("Invalid tag '"+o+"', expected 'button'");var a=t.title,s=t.hotkey,l=void 0===s?"":s,u=t.iconSvg,c=void 0===u?"":u,d=this.$button;if(c){var h=$$6(c);Nh$1(h),d.append(h);}else d.text(a);Ph$1(d,c,a,l,n),n&&c&&d.append($$6('<span class="title">'+a+"</span>")),i&&d.css("width",i+"px"),d.attr("data-menu-key",e),this.$elem.append(d),Qu$3((function(){return r.init()}));}return e.prototype.init=function(){var e=this;this.setActive(),this.setDisabled(),this.$button.on("click",(function(t){t.preventDefault(),Kh$1(e).hidePanelOrModal(),e.disabled||(e.exec(),e.onButtonClick());}));},e.prototype.exec=function(){var e=Kh$1(this),t=this.menu,n=t.getValue(e);this.setIcon(),this.setTooltip(),t.exec(e,n);},e.prototype.setActive=function(){var e=Kh$1(this),t=this.$button,n="active";this.menu.isActive(e)?t.addClass(n):t.removeClass(n);},e.prototype.setDisabled=function(){var e=Kh$1(this),t=this.$button,n=this.menu.isDisabled(e);(null==e.selection||e.isDisabled())&&(n=!0),this.menu.alwaysEnable&&(n=!1);var r="disabled";n?t.addClass(r):t.removeClass(r),this.disabled=n;},e.prototype.setIcon=function(){var e=Kh$1(this),t=this.$button;if(this.menu.getIcon){var n=this.menu.getIcon(e);if(n){t.find("svg").remove();var r=$$6(n);Nh$1(r),t.append(r);}}},e.prototype.setTooltip=function(){var e=Kh$1(this),t=this.$button;if(this.menu.getTitle){var n=this.menu.getTitle(e),r=this.menu.iconSvg;n&&r&&Ph$1(t,r,n);}},e.prototype.changeMenuState=function(){this.setActive(),this.setDisabled();},e}(),Rh$1=function(e){function t(t,n,r){return void 0===r&&(r=!1),e.call(this,t,n,r)||this}return Na$4(t,e),t.prototype.onButtonClick=function(){},t}(Dh$1),jh$1=function(){function e(e){this.isShow=!1,this.showTime=0,this.record(e);}return e.prototype.record=function(e){var t=Us$1.get(e);null==t&&(t=new Set,Us$1.set(e,t)),t.add(this),Hs$1.set(this,e);},e.prototype.renderContent=function(e){var t=this.$elem;t.empty(),t.append(e);var n=this.genSelfElem();n&&t.append(n);},e.prototype.appendTo=function(e){var t=this.$elem;e.append(t);},e.prototype.show=function(){if(!this.isShow){this.showTime=Date.now(),this.$elem.show(),this.isShow=!0;var e=Hs$1.get(this);e&&e.emit("modalOrPanelShow",this);}},e.prototype.hide=function(){if(this.isShow&&!(Date.now()-this.showTime<200)){this.$elem.hide(),this.isShow=!1;var e=Hs$1.get(this);e&&e.emit("modalOrPanelHide");}},e}(),Ah$1=function(e){function t(t){var n=e.call(this,t)||this;return n.type="dropPanel",n.$elem=$$6('<div class="w-e-drop-panel"></div>'),n}return Na$4(t,e),t.prototype.genSelfElem=function(){return null},t}(jh$1),Ih$1=function(e){function t(t,n,r){void 0===r&&(r=!1);var o=e.call(this,t,n,r)||this;if(o.dropPanel=null,o.menu=n,n.showDropPanel){var i=Lh$1();o.$button.append(i);}return o}return Na$4(t,e),t.prototype.onButtonClick=function(){this.menu.showDropPanel&&this.handleDropPanel();},t.prototype.handleDropPanel=function(){var e=this.menu;if(null!=e.getPanelContentElem){var t=Kh$1(this);if(null==this.dropPanel){var n=new Ah$1(t),r=e.getPanelContentElem(t);n.renderContent(r),n.appendTo(this.$elem),n.show(),this.dropPanel=n;}else {var o=this.dropPanel;if(o.isShow)o.hide();else {r=e.getPanelContentElem(t);o.renderContent(r),o.show();}}var i=this.dropPanel;if(i.isShow){var a=this.$elem,s=a.offset().left,l=a.parents(".w-e-bar");s-l.offset().left>=l.width()/2?i.$elem.css({left:"none",right:"0"}):i.$elem.css({left:"0",right:"none"});}}},t}(Dh$1),Fh$1=function(e){function t(t,n){void 0===n&&(n=0);var r=e.call(this,t)||this;r.type="modal",r.$elem=$$6('<div class="w-e-modal"></div>'),r.width=0,n&&(r.width=n);var o=r.$elem;return o.on("click",(function(e){return e.stopPropagation()})),o.on("keyup",(function(e){"Escape"===e.code&&(r.hide(),t.restoreSelection());})),r}return Na$4(t,e),t.prototype.genSelfElem=function(){var e=this,t=$$6('<span class="btn-close"><svg viewBox="0 0 1024 1024"><path d="M1024 896.1024l-128 128L512 640 128 1024 0 896 384 512 0 128 128 0 512 384 896.1024 0l128 128L640 512z"></path></svg></span>'),n=Hs$1.get(this);return t.on("click",(function(){e.hide(),null==n||n.restoreSelection();})),t},t.prototype.setStyle=function(e){var t=this.width,n=this.$elem;n.attr("style",""),t&&n.css("width",t+"px"),n.css(e);},t}(jh$1);function Bh$1(e,t,n){var r=$$6('<label class="babel-container"></label>');r.append("<span>"+e+"</span>");var o=$$6('<input type="text" id="'+t+'" placeholder="'+(n||"")+'">');return r.append(o),[r[0],o[0]]}function _h$1(e,t,n){var r=$$6('<label class="babel-container"></label>');r.append("<span>"+e+"</span>");var o=$$6('<textarea type="text" id="'+t+'" placeholder="'+(n||"")+'"></textarea>');return r.append(o),[r[0],o[0]]}function $h$1(e,t){var n=$$6('<div class="button-container"></div>'),r=$$6('<button type="button" id="'+e+'">'+t+"</button>");return n.append(r),[n[0],r[0]]}var Wh$1=function(e){function t(t,n,r){void 0===r&&(r=!1);var o=e.call(this,t,n,r)||this;return o.$body=$$6("body"),o.modal=null,o.menu=n,o}return Na$4(t,e),t.prototype.onButtonClick=function(){this.menu.showModal&&this.handleModal();},t.prototype.getPosition=function(){var e=Kh$1(this),t=this.menu.getModalPositionNode(e);return Element$1.isElement(t)?Dd$1(e,t,"modal"):Pd(e)},t.prototype.handleModal=function(){var e=Kh$1(this),t=this.menu;if(null==this.modal){var n=new Fh$1(e,t.modalWidth);this.renderAndShowModal(n,!0),this.modal=n;}else {(n=this.modal).isShow?n.hide():this.renderAndShowModal(n,!1);}},t.prototype.renderAndShowModal=function(e,t){void 0===t&&(t=!1);var n=Kh$1(this),r=this.menu;if(null!=r.getModalContentElem){var o=Ic$2.getTextarea(n),i=Ic$2.getToolbar(n),a=((null==i?void 0:i.getConfig())||{}).modalAppendToBody,s=r.getModalContentElem(n);if(e.renderContent(s),a)e.setStyle({left:"0",right:"0"});else {var l=this.getPosition();e.setStyle(l);}t&&(a?e.appendTo(this.$body):e.appendTo(o.$textAreaContainer)),e.show(),a||Rd$1(n,e.$elem),setTimeout((function(){n.blur();}));}},t}(Dh$1);var Vh$1=function(e){function t(t,n){var r=e.call(this,t)||this;return r.type="selectList",r.$elem=$$6('<div class="w-e-select-list"></div>'),n&&r.$elem.css("width",n+"px"),r.$elem.on("click",(function(e){e.stopPropagation();})),r}return Na$4(t,e),t.prototype.renderList=function(e){var t=this.$elem;t.empty();var n=$$6("<ul></ul>");e.forEach((function(e){var t=e.value,r=e.text,o=e.selected,i=e.styleForRenderMenuList,a=$$6('<li data-value="'+t+'"></li>');if(i&&a.css(i),o){var s=$$6('<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>');a.append(s),a.addClass("selected");}a.append($$6('<span data-value="'+t+'">'+r+"</span>")),a.attr("title",r),n.append(a);})),t.append(n);},t.prototype.genSelfElem=function(){return null},t}(jh$1);var zh$1=function(){function e(e,t,n){var r=this;void 0===n&&(n=!1),this.$elem=$$6('<div class="w-e-bar-item"></div>'),this.$button=$$6('<button type="button" class="select-button"></button>'),this.disabled=!1,this.selectList=null;var o=t.tag,i=t.title,a=t.width,s=t.iconSvg,l=void 0===s?"":s,u=t.hotkey,c=void 0===u?"":u;if("select"!==o)throw new Error("Invalid tag '"+o+"', expected 'select'");var d=this.$button;a&&d.css("width",a+"px"),d.attr("data-menu-key",e),Ph$1(d,l,i,c,n),this.$elem.append(d),this.menu=t,Qu$3((function(){return r.init()}));}return e.prototype.init=function(){var e=this;this.setSelectedValue(),this.$button.on("click",(function(t){t.preventDefault(),Kh$1(e).hidePanelOrModal(),e.trigger();}));},e.prototype.trigger=function(){var e=this,t=Kh$1(this);if(!t.isDisabled()&&!this.disabled){var n=this.menu;if(null==this.selectList){this.selectList=new Vh$1(t,n.selectPanelWidth);var r=this.selectList,o=n.getOptions(t);r.renderList(o),r.appendTo(this.$elem),r.show(),r.$elem.on("click","li",(function(t){var n=t.target;if(null!=n){t.preventDefault();var r=$$6(n).attr("data-value");e.onChange(r);}}));}else {if((r=this.selectList).isShow)r.hide();else {o=n.getOptions(t);r.renderList(o),r.show();}}}},e.prototype.onChange=function(e){var t=Kh$1(this),n=this.menu;n.exec&&n.exec(t,e);},e.prototype.setSelectedValue=function(){var e=Kh$1(this),t=this.menu,n=t.getValue(e),r=function(e,t){for(var n=e.length,r="",o=0;o<n;o++){var i=e[o];if(i.value===t){r=i.text;break}}return r}(t.getOptions(e),n.toString()),o=this.$button,i=Lh$1();o.empty(),o.text(r),o.append(i);},e.prototype.setDisabled=function(){var e=Kh$1(this),t=this.menu.isDisabled(e),n=this.$button;(null==e.selection||e.isDisabled())&&(t=!0);var r="disabled";t?n.addClass(r):n.removeClass(r),this.disabled=t;},e.prototype.changeMenuState=function(){this.setSelectedValue(),this.setDisabled();},e}(),Uh$1=function(){function e(e){this.$elem=$$6('<div class="w-e-bar-item w-e-bar-item-group"></div>'),this.$container=$$6('<div class="w-e-bar-item-menus-container"></div>'),this.$button=$$6('<button type="button"></button>');var t=e.key,n=e.iconSvg,r=e.title,o=this.$elem,i=this.$button;if(n){var a=$$6(n);Nh$1(a),i.append(a);}else i.text(r);i.attr("data-menu-key",t);var s=Lh$1();i.append(s),o.append(i);var l=this.$container;o.append(l);var u=this.createObserver();this.observe(u);}return e.prototype.appendBarItem=function(e){var t=e.$elem;this.$container.append(t);},e.prototype.observe=function(e){var t=this.$container;e.observe(t[0],{childList:!0,subtree:!0,attributes:!0});},e.prototype.createObserver=function(){var e=this,t=this.$container,n=this.$button,r=new MutationObserver((function(){var o=t.find("button"),i=o.length;if(0!==i){var a=0;o.each((function(e){$$6(e).hasClass("disabled")&&a++;})),r.disconnect(),a===i?n.addClass("disabled"):n.removeClass("disabled"),e.observe(r);}}));return r},e}(),Hh$1=new WeakMap;function Kh$1(e){var t=zs$1.get(e);if(null==t)throw new Error("Can not get editor instance");return t}function qh$1(e,t,n){void 0===n&&(n=!1);var r=Hh$1.get(t);if(r)return r;var o=t.tag;if("button"===o){var i=t.showDropPanel,a=t.showModal;r=i?new Ih$1(e,t,n):a?new Wh$1(e,t,n):new Rh$1(e,t,n);}if("select"===o&&(r=new zh$1(e,t,n)),null==r)throw new Error("Invalid tag in menu "+JSON.stringify(t));return Hh$1.set(t,r),r}function Gh$1(e){return Gh$1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gh$1(e)}function Jh$1(e){var t=function(e,t){if("object"!=Gh$1(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Gh$1(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return ("string"===t?String:Number)(e)}(e,"string");return "symbol"==Gh$1(t)?t:t+""}function Yh$1(e,t,n){return (t=Jh$1(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xh$1(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach((function(t){Yh$1(e,t,n[t]);}));}return e}function Qh$1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zh$1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Jh$1(r.key),r);}}function ep$1(e,t,n){return t&&Zh$1(e.prototype,t),n&&Zh$1(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function tp$1(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function np$1(e,t){if(t&&("object"==Gh$1(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return tp$1(e)}function rp$1(e){return rp$1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},rp$1(e)}function op$1(e,t){return op$1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},op$1(e,t)}function ip$1(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&op$1(e,t);}var ap$1={type:"logger",log:function(e){this.output("log",e);},warn:function(e){this.output("warn",e);},error:function(e){this.output("error",e);},output:function(e,t){console&&console[e]&&console[e].apply(console,t);}},sp$1=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Qh$1(this,e),this.init(t,n);}return ep$1(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||ap$1,this.options=t,this.debug=t.debug;}},{key:"setDebug",value:function(e){this.debug=e;}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,Xh$1({},{prefix:"".concat(this.prefix,":").concat(t,":")},this.options))}}]),e}()),lp$1=function(){function e(){Qh$1(this,e),this.observers={};}return ep$1(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t);})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e]);}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&[].concat(this.observers[e]).forEach((function(e){e.apply(void 0,n);}));this.observers["*"]&&[].concat(this.observers["*"]).forEach((function(t){t.apply(t,[e].concat(n));}));}}]),e}();function up$1(){var e,t,n=new Promise((function(n,r){e=n,t=r;}));return n.resolve=e,n.reject=t,n}function cp$1(e){return null==e?"":""+e}function fp$1(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return !e||"string"==typeof e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(o())return {};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{};}return o()?{}:{obj:e,k:r(i.shift())}}function dp$1(e,t,n){var r=fp$1(e,t,Object);r.obj[r.k]=n;}function hp$1(e,t){var n=fp$1(e,t),r=n.obj,o=n.k;if(r)return r[o]}function pp$1(e,t,n){var r=hp$1(e,n);return void 0!==r?r:hp$1(t,n)}function gp$1(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):gp$1(e[r],t[r],n):e[r]=t[r]);return e}function vp$1(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var yp$1={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function mp$1(e){return "string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return yp$1[e]})):e}var bp$1="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1;function wp$1(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),o=e,i=0;i<r.length;++i){if(!o)return;if("string"==typeof o[r[i]]&&i+1<r.length)return;if(void 0===o[r[i]]){for(var a=2,s=r.slice(i,i+a).join(n),l=o[s];void 0===l&&r.length>i+a;)a++,l=o[s=r.slice(i,i+a).join(n)];if(void 0===l)return;if("string"==typeof l)return l;if(s&&"string"==typeof l[s])return l[s];var u=r.slice(i+a).join(n);return u?wp$1(l,u,n):void 0}o=o[r[i]];}return o}}var xp$1=function(){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return Qh$1(this,e),n=np$1(this,rp$1(e).call(this)),bp$1&&lp$1.call(tp$1(n)),n.data=t||{},n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),void 0===n.options.ignoreJSONStructure&&(n.options.ignoreJSONStructure=!0),n}return ip$1(e,lp$1),ep$1(e,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e);}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1);}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."));var s=hp$1(this.data,a);return s||!i||"string"!=typeof n?s:wp$1(this.data&&this.data[e]&&this.data[e][t],n,o)}},{key:"addResource",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),dp$1(this.data,a,r),o.silent||this.emit("added",e,t,n,r);}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"!=typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n);}},{key:"addResourceBundle",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var s=hp$1(this.data,a)||{};r?gp$1(s,n,o):s=Xh$1({},s,n),dp$1(this.data,a,s),i.silent||this.emit("added",e,t,n);}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t);}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?Xh$1({},{},this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"toJSON",value:function(){return this.data}}]),e}(),Sp$1={processors:{},addPostProcessor:function(e){this.processors[e.name]=e;},handle:function(e,t,n,r,o){var i=this;return e.forEach((function(e){i.processors[e]&&(t=i.processors[e].process(t,n,r,o));})),t}},Ep$1={},Op$1=function(){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Qh$1(this,e),n=np$1(this,rp$1(e).call(this)),bp$1&&lp$1.call(tp$1(n)),function(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e]);}));}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,tp$1(n)),n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n.logger=sp$1.create("translator"),n}return ip$1(e,lp$1),ep$1(e,[{key:"changeLanguage",value:function(e){e&&(this.language=e);}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return !1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS;if(n&&e.indexOf(n)>-1){var i=e.match(this.interpolator.nestingRegexp);if(i&&i.length>0)return {key:e,namespaces:o};var a=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(o=a.shift()),e=a.join(r);}return "string"==typeof o&&(o=[o]),{key:e,namespaces:o}}},{key:"translate",value:function(t,n,r){var o=this;if("object"!==Gh$1(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),n||(n={}),null==t)return "";Array.isArray(t)||(t=[String(t)]);var i=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,a=this.extractFromKey(t[t.length-1],n),s=a.key,l=a.namespaces,u=l[l.length-1],c=n.lng||this.language,f=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase()){if(f){var d=n.nsSeparator||this.options.nsSeparator;return u+d+s}return s}var h=this.resolve(t,n),p=h&&h.res,g=h&&h.usedKey||s,v=h&&h.exactUsedKey||s,y=Object.prototype.toString.apply(p),m=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,b=!this.i18nFormat||this.i18nFormat.handleAsObject;if(b&&p&&("string"!=typeof p&&"boolean"!=typeof p&&"number"!=typeof p)&&["[object Number]","[object Function]","[object RegExp]"].indexOf(y)<0&&("string"!=typeof m||"[object Array]"!==y)){if(!n.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,p,Xh$1({},n,{ns:l})):"key '".concat(s," (").concat(this.language,")' returned an object instead of string.");if(i){var w="[object Array]"===y,x=w?[]:{},S=w?v:g;for(var E in p)if(Object.prototype.hasOwnProperty.call(p,E)){var O="".concat(S).concat(i).concat(E);x[E]=this.translate(O,Xh$1({},n,{joinArrays:!1,ns:l})),x[E]===O&&(x[E]=p[E]);}p=x;}}else if(b&&"string"==typeof m&&"[object Array]"===y)(p=p.join(m))&&(p=this.extendTranslation(p,t,n,r));else {var k=!1,C=!1,T=void 0!==n.count&&"string"!=typeof n.count,N=e.hasDefaultValue(n),L=T?this.pluralResolver.getSuffix(c,n.count):"",M=n["defaultValue".concat(L)]||n.defaultValue;!this.isValidLookup(p)&&N&&(k=!0,p=M),this.isValidLookup(p)||(C=!0,p=s);var P=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&C?void 0:p,D=N&&M!==p&&this.options.updateMissing;if(C||k||D){if(this.logger.log(D?"updateKey":"missingKey",c,u,s,D?M:p),i){var R=this.resolve(s,Xh$1({},n,{keySeparator:!1}));R&&R.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");}var j=[],A=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&A&&A[0])for(var I=0;I<A.length;I++)j.push(A[I]);else "all"===this.options.saveMissingTo?j=this.languageUtils.toResolveHierarchy(n.lng||this.language):j.push(n.lng||this.language);var F=function(e,t,r){o.options.missingKeyHandler?o.options.missingKeyHandler(e,u,t,D?r:P,D,n):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(e,u,t,D?r:P,D,n),o.emit("missingKey",e,u,t,p);};this.options.saveMissing&&(this.options.saveMissingPlurals&&T?j.forEach((function(e){o.pluralResolver.getSuffixes(e).forEach((function(t){F([e],s+t,n["defaultValue".concat(t)]||M);}));})):F(j,s,M));}p=this.extendTranslation(p,t,n,h,r),C&&p===s&&this.options.appendNamespaceToMissingKey&&(p="".concat(u,":").concat(s)),(C||k)&&this.options.parseMissingKeyHandler&&(p=this.options.parseMissingKeyHandler(p));}return p}},{key:"extendTranslation",value:function(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(Xh$1({},n,{interpolation:Xh$1({},this.options.interpolation,n.interpolation)}));var a,s=n.interpolation&&n.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(s){var l=e.match(this.interpolator.nestingRegexp);a=l&&l.length;}var u=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(u=Xh$1({},this.options.interpolation.defaultVariables,u)),e=this.interpolator.interpolate(e,u,n.lng||this.language,n),s){var c=e.match(this.interpolator.nestingRegexp);a<(c&&c.length)&&(n.nest=!1);}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return o&&o[0]===r[0]&&!n.context?(i.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):i.translate.apply(i,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset();}var f=n.postProcess||this.options.postProcess,d="string"==typeof f?[f]:f;return null!=e&&d&&d.length&&!1!==n.applyPostProcessor&&(e=Sp$1.handle(d,e,t,this.options&&this.options.postProcessPassResolved?Xh$1({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,o,i,a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return "string"==typeof e&&(e=[e]),e.forEach((function(e){if(!a.isValidLookup(t)){var l=a.extractFromKey(e,s),u=l.key;n=u;var c=l.namespaces;a.options.fallbackNS&&(c=c.concat(a.options.fallbackNS));var f=void 0!==s.count&&"string"!=typeof s.count,d=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,h=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);c.forEach((function(e){a.isValidLookup(t)||(i=e,!Ep$1["".concat(h[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(Ep$1["".concat(h[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(h.join(", "),'" won\'t get resolved as namespace "').concat(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!!!")),h.forEach((function(n){if(!a.isValidLookup(t)){o=n;var i,l,c=u,h=[c];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(h,u,n,e,s);else f&&(i=a.pluralResolver.getSuffix(n,s.count)),f&&d&&h.push(c+i),d&&h.push(c+="".concat(a.options.contextSeparator).concat(s.context)),f&&h.push(c+=i);for(;l=h.pop();)a.isValidLookup(t)||(r=l,t=a.getResource(n,e,l,s));}})));}));}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}},{key:"isValidLookup",value:function(e){return !(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,12)&&void 0!==e[n])return !0;return !1}}]),e}();function kp$1(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Cp$1=function(){function e(t){Qh$1(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=sp$1.create("languageUtils");}return ep$1(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=kp$1(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=kp$1(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=kp$1(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isWhitelisted",value:function(e){return this.logger.deprecate("languageUtils.isWhitelisted",'function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it\'s usage asap.'),this.isSupportedCode(e)}},{key:"isSupportedCode",value:function(e){return ("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r);}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}));}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return [];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],i=function(e){e&&(n.isSupportedCode(e)?o.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)));};return "string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),r.forEach((function(e){o.indexOf(e)<0&&i(n.formatLanguageCode(e));})),o}}]),e}(),Tp$1=[{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}],Np$1={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}};var Lp$1=function(){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Qh$1(this,e),this.languageUtils=t,this.options=r,this.logger=sp$1.create("pluralResolver"),this.rules=(n={},Tp$1.forEach((function(e){e.lngs.forEach((function(t){n[t]={numbers:e.nr,plurals:Np$1[e.fc]};}));})),n);}return ep$1(e,[{key:"addRule",value:function(e,t){this.rules[e]=t;}},{key:"getRule",value:function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=this.getRule(e);return t&&t.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){return this.getSuffixes(e).map((function(e){return t+e}))}},{key:"getSuffixes",value:function(e){var t=this,n=this.getRule(e);return n?n.numbers.map((function(n){return t.getSuffix(e,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=this,r=this.getRule(e);if(r){var o=r.noAbs?r.plurals(t):r.plurals(Math.abs(t)),i=r.numbers[o];this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var a=function(){return n.options.prepend&&i.toString()?n.options.prepend+i.toString():i.toString()};return "v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?"_plural_".concat(i.toString()):a():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]?a():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}return this.logger.warn("no plural rule found for: ".concat(e)),""}}]),e}(),Mp$1=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};Qh$1(this,e),this.logger=sp$1.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t);}return ep$1(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:mp$1,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?vp$1(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?vp$1(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?vp$1(t.nestingPrefix):t.nestingPrefixEscaped||vp$1("$t("),this.nestingSuffix=t.nestingSuffix?vp$1(t.nestingSuffix):t.nestingSuffixEscaped||vp$1(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp();}},{key:"reset",value:function(){this.options&&this.init(this.options);}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g");}},{key:"interpolate",value:function(e,t,n,r){var o,i,a,s=this,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function u(e){return e.replace(/\$/g,"$$$$")}var c=function(e){if(e.indexOf(s.formatSeparator)<0){var o=pp$1(t,l,e);return s.alwaysFormat?s.format(o,void 0,n,Xh$1({},r,t,{interpolationkey:e})):o}var i=e.split(s.formatSeparator),a=i.shift().trim(),u=i.join(s.formatSeparator).trim();return s.format(pp$1(t,l,a),u,n,Xh$1({},r,t,{interpolationkey:a}))};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&r.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables,h=[{regex:this.regexpUnescape,safeValue:function(e){return u(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?u(s.escape(e)):u(e)}}];return h.forEach((function(t){for(a=0;o=t.regex.exec(e);){if(void 0===(i=c(o[1].trim())))if("function"==typeof f){var n=f(e,o,r);i="string"==typeof n?n:"";}else {if(d){i=o[0];continue}s.logger.warn("missed to pass in variable ".concat(o[1]," for interpolating ").concat(e)),i="";}else "string"==typeof i||s.useRawValueToEscape||(i=cp$1(i));var l=t.safeValue(i);if(e=e.replace(o[0],l),d?(t.regex.lastIndex+=l.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++a>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,o=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=Xh$1({},i);function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),o="{".concat(r[1]);e=r[0],o=(o=this.interpolate(o,a)).replace(/'/g,'"');try{a=JSON.parse(o),t&&(a=Xh$1({},t,a));}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(o)}return delete a.defaultValue,e}for(a.applyPostProcessor=!1,delete a.defaultValue;n=this.nestingRegexp.exec(e);){var l=[],u=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var c=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=c.shift(),l=c,u=!0;}if((r=t(s.call(this,n[1].trim(),a),a))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=cp$1(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),u&&(r=l.reduce((function(e,t){return o.format(e,t,i.lng,Xh$1({},i,{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0;}return e}}]),e}();var Pp$1=function(){function e(t,n,r){var o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return Qh$1(this,e),o=np$1(this,rp$1(e).call(this)),bp$1&&lp$1.call(tp$1(o)),o.backend=t,o.store=n,o.services=r,o.languageUtils=r.languageUtils,o.options=i,o.logger=sp$1.create("backendConnector"),o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(r,i.backend,i),o}return ip$1(e,lp$1),ep$1(e,[{key:"queueLoad",value:function(e,t,n,r){var o=this,i=[],a=[],s=[],l=[];return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&o.store.hasResourceBundle(e,t)?o.state[s]=2:o.state[s]<0||(1===o.state[s]?a.indexOf(s)<0&&a.push(s):(o.state[s]=1,r=!1,a.indexOf(s)<0&&a.push(s),i.indexOf(s)<0&&i.push(s),l.indexOf(t)<0&&l.push(t)));})),r||s.push(e);})),(i.length||a.length)&&this.queue.push({pending:a,loaded:{},errors:[],callback:r}),{toLoad:i,pending:a,toLoadLanguages:s,toLoadNamespaces:l}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),n&&this.store.addResourceBundle(o,i,n),this.state[e]=t?-1:2;var a={};this.queue.forEach((function(n){!function(e,t,n,r){var o=fp$1(e,t,Object),i=o.obj,a=o.k;i[a]=i[a]||[],r&&(i[a]=i[a].concat(n)),r||i[a].push(n);}(n.loaded,[o],i),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t);}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach((function(e){a[e]||(a[e]=[]),n.loaded[e].length&&n.loaded[e].forEach((function(t){a[e].indexOf(t)<0&&a[e].push(t);}));})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback());})),this.emit("loaded",a),this.queue=this.queue.filter((function(e){return !e.done}));}},{key:"read",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,a=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,(function(s,l){s&&l&&o<5?setTimeout((function(){r.read.call(r,e,t,n,o+1,2*i,a);}),i):a(s,l);})):a(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=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."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var i=this.queueLoad(e,t,r,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach((function(e){n.loadOne(e);}));}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n);}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n);}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=r[0],i=r[1];this.read(o,i,"read",void 0,void 0,(function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(o," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(o),a),t.loaded(e,r,a);}));}},{key:"saveMissing",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" 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!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,Xh$1({},i,{isUpdate:o})),e&&e[0]&&this.store.addResource(e[0],t,n,r));}}]),e}();function Dp$1(e){return "string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Rp$1(){}var jp$1=function(){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(Qh$1(this,e),t=np$1(this,rp$1(e).call(this)),bp$1&&lp$1.call(tp$1(t)),t.options=Dp$1(n),t.services={},t.logger=sp$1,t.modules={external:[]},r&&!t.isInitialized&&!n.isClone){if(!t.options.initImmediate)return t.init(n,r),np$1(t,tp$1(t));setTimeout((function(){t.init(n,r);}),0);}return t}return ip$1(e,lp$1),ep$1(e,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;function r(e){return e?"function"==typeof e?new e:e:null}if("function"==typeof t&&(n=t,t={}),t.whitelist&&!t.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),t.nonExplicitWhitelist&&!t.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=Xh$1({},{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===Gh$1(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===Gh$1(e[2])||"object"===Gh$1(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e];}));}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}},this.options,Dp$1(t)),this.format=this.options.interpolation.format,n||(n=Rp$1),!this.options.isClone){this.modules.logger?sp$1.init(r(this.modules.logger),this.options):sp$1.init(null,this.options);var o=new Cp$1(this.options);this.store=new xp$1(this.options.resources,this.options);var i=this.services;i.logger=sp$1,i.resourceStore=this.store,i.languageUtils=o,i.pluralResolver=new Lp$1(o,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),i.interpolator=new Mp$1(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new Pp$1(r(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r));})),this.modules.languageDetector&&(i.languageDetector=r(this.modules.languageDetector),i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=r(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new Op$1(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r));})),this.modules.external.forEach((function(t){t.init&&t.init(e);}));}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var a=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);a.length>0&&"dev"!==a[0]&&(this.options.lng=a[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((function(t){e[t]=function(){var n;return (n=e.store)[t].apply(n,arguments)};}));["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((function(t){e[t]=function(){var n;return (n=e.store)[t].apply(n,arguments),e};}));var s=up$1(),l=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),s.resolve(r),n(t,r);};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t);};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),s}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rp$1,r="string"==typeof e?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase())return n();var o=[],i=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){o.indexOf(e)<0&&o.push(e);}));};if(r)i(r);else this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(e){return i(e)}));this.options.preload&&this.options.preload.forEach((function(e){return i(e)})),this.services.backendConnector.load(o,this.options.ns,n);}else n(null);}},{key:"reloadResources",value:function(e,t,n){var r=up$1();return e||(e=this.languages),t||(t=this.options.ns),n||(n=Rp$1),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e);})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return "backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&Sp$1.addPostProcessor(e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=up$1();this.emit("languageChanging",e);var o=function(o){e||o||!n.services.languageDetector||(o=[]);var i="string"==typeof o?o:n.services.languageUtils.getBestMatchFromCodes(o);i&&(n.language||(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i)),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,(function(e){!function(e,o){o?(n.language=o,n.languages=n.services.languageUtils.toResolveHierarchy(o),n.translator.changeLanguage(o),n.isLanguageChangingTo=void 0,n.emit("languageChanged",o),n.logger.log("languageChanged",o)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}));}(e,i);}));};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,o=function e(t,o){var i;if("object"!==Gh$1(o)){for(var a=arguments.length,s=new Array(a>2?a-2:0),l=2;l<a;l++)s[l-2]=arguments[l];i=r.options.overloadTranslationOptionHandler([t,o].concat(s));}else i=Xh$1({},o);i.lng=i.lng||e.lng,i.lngs=i.lngs||e.lngs,i.ns=i.ns||e.ns;var u=r.options.keySeparator||".",c=n?"".concat(n).concat(u).concat(t):t;return r.t(c,i)};return "string"==typeof e?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e;}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=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;var r=this.languages[0],o=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return !0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return -1===r||2===r};if(n.precheck){var s=n.precheck(this,a);if(void 0!==s)return s}return !!this.hasResourceBundle(r,e)||(!this.services.backendConnector.backend||!(!a(r,e)||o&&!a(i,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=up$1();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e);})),this.loadResources((function(e){r.resolve(),t&&t(e);})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=up$1();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],o=e.filter((function(e){return r.indexOf(e)<0}));return o.length?(this.options.preload=r.concat(o),this.loadResources((function(e){n.resolve(),t&&t(e);})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),!e)return "rtl";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"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr"}},{key:"createInstance",value:function(){return new e(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}},{key:"cloneInstance",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rp$1,o=Xh$1({},this.options,n,{isClone:!0}),i=new e(o);return ["store","services","language"].forEach((function(e){i[e]=t[e];})),i.services=Xh$1({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new Op$1(i.services,i.options),i.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit.apply(i,[e].concat(n));})),i.init(o,r),i.translator.options=i.options,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}},{key:"toJSON",value:function(){return {options:this.options,store:this.store,language:this.language,languages:this.languages}}}]),e}(),Ap$1=new jp$1,Ip$1="translation";function Fp$1(e,t){Ap$1.addResourceBundle(e,Ip$1,t,!0,!0);}function Bp$1(e){Ap$1.changeLanguage(e);}function _p$1(e){return Ap$1.getResourceBundle(e,Ip$1)}function $p$1(e){return Ap$1.on("languageChanged",e),function(){return Ap$1.off("languageChanged",e)}}Ap$1.init({lng:"zh-CN",resources:{}});var Wp$1=Ap$1.t.bind(Ap$1);function Vp$1(e,t){var n=e.selection;return null!=n&&(!Range.isCollapsed(n)&&(!Ic$2.getSelectedElems(e).some((function(t){if(e.isVoid(t))return !0;var n=t.type;return !!["pre","code","table"].includes(n)||void 0}))&&!!Text.isText(t)))}var zp$1=function(){function t(){var e=this;this.$elem=$$6('<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=lodash_debounce((function(){var t=e.isShow,n=e.getSelectedNodeAndMenuKeys()||{},r=n.node,o=void 0===r?null:r,a=n.menuKeys,s=void 0===a?[]:a;if((null!=o&&e.changeItemsState(),o&&Element$1.isElement(o))&&(t&&e.isSamePath(o,e.prevSelectedNode)))return;e.hideAndClean(),null!=o&&(e.registerItems(s),e.setPosition(o),e.show()),e.prevSelectedNode=o;}),200),Qu$3((function(){var t=e.getEditorInstance(),n=e.$elem;n.on("mousedown",(function(e){return e.preventDefault()}),{passive:!1}),Ic$2.getTextarea(t).$textAreaContainer.append(n),t.on("change",e.changeHoverbarState);var r=e.hideAndClean.bind(e);t.on("scroll",r),t.on("fullScreen",r),t.on("unFullScreen",r);})),this.lngListen=$p$1((function(){e.menus={},e.hideAndClean(),e.getEditorInstance().deselect();}));}return t.prototype.getMenus=function(){return this.menus},t.prototype.hideAndClean=function(){var e=this.$elem;e.removeClass("w-e-bar-show").addClass("w-e-bar-hidden"),this.hoverbarItems=[],e.empty(),this.isShow=!1;},t.prototype.checkPositionBottom=function(){var e=this.$elem,t=!1,n=window.innerHeight;n&&n>=360&&(n-e[0].getBoundingClientRect().bottom<360&&(t=!0));t?e.addClass("w-e-bar-bottom"):e.removeClass("w-e-bar-bottom");},t.prototype.show=function(){this.$elem.removeClass("w-e-bar-hidden").addClass("w-e-bar-show"),this.isShow=!0,this.checkPositionBottom();},t.prototype.changeItemsState=function(){var e=this;Qu$3((function(){e.hoverbarItems.forEach((function(e){e.changeMenuState();}));}));},t.prototype.registerItems=function(e){var t=this,n=this.$elem;e.forEach((function(e){if("|"!==e)t.registerSingleItem(e);else {var r=Mh$1();n.append(r);}}));},t.prototype.registerSingleItem=function(e){var t=this.getEditorInstance(),n=this.menus,r=n[e];if(null==r){var o=_c$1[e];if(null==o)throw new Error("Not found menu item factory by key '"+e+"'");if("function"!=typeof o)throw new Error("Menu item factory (key='"+e+"') is not a function");r=o(),n[e]=r;}var i=t.getMenuConfig(e);i&&void 0!==i.iconSvg&&(r.iconSvg=i.iconSvg);var a=qh$1(e,r);this.hoverbarItems.push(a),zs$1.set(a,t),this.$elem.append(a.$elem);},t.prototype.setPosition=function(e){var t=this.getEditorInstance(),n=this.$elem;if(n.attr("style",""),Element$1.isElement(e)){var r=Dd$1(t,e,"bar");return n.css(r),void Rd$1(t,n)}if(Text.isText(e)){r=Pd(t);return n.css(r),void Rd$1(t,n)}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 n=this.getHoverbarKeysConf(),r=null,o=[],i=function(i){var a=n[i],s=a.match,l=a.menuKeys,u=void 0===l?[]:l,c=s||function(e,t){return Ic$2.checkNodeType(t,i)},f=Pa$4(Editor.nodes(t,{match:function(e){return c(t,e)},universal:!0}),1),d=f[0];if(null!=d)return r=d[0],o=u,"break"};for(var a in n){if("break"===i(a))break}return null==r||0===o.length?null:{node:r,menuKeys:o}},t.prototype.getEditorInstance=function(){var e=Ws$1.get(this);if(null==e)throw new Error("Can not get editor instance");return e},t.prototype.getHoverbarKeysConf=function(){var e=this.getEditorInstance().getConfig().hoverbarKeys,t=void 0===e?{}:e,n=t.text;return n&&null==n.match&&(n.match=Vp$1),t},t.prototype.isSamePath=function(e,t){if(null==e||null==t)return !1;var r=Ic$2.findPath(null,e),o=Ic$2.findPath(null,t);return Path.equals(r,o)},t.prototype.destroy=function(){var e;this.changeHoverbarState.cancel(),this.$elem.remove(),null===(e=this.lngListen)||void 0===e||e.call(this),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null;},t}();function Up$1(t,n,o,a){if(Ys$1.set(t,n),Xs$1.set(t,o),Element$1.isElement(t)){var s=t.children;if((void 0===s?[]:s).forEach((function(e,n){return Up$1(e,n,t,a)})),Editor.isVoid(a,t)){var l=Pa$4(Node$1.texts(t),1),u=Pa$4(l[0],1)[0];Ys$1.set(u,0),Xs$1.set(u,t);}}}function Hp$1(n){var i=n.selector,a=void 0===i?"":i,c=n.config,d=void 0===c?{}:c,h=n.content,p=n.html,g=n.plugins,v=void 0===g?[]:g,y=(n=>{var r=n,{apply:o}=r;return r.history={undos:[],redos:[]},r.redo=()=>{var{history:t}=r,{redos:n}=t;if(n.length>0){var o=n[n.length-1];Cr$5.withoutSaving(r,(()=>{Editor.withoutNormalizing(r,(()=>{for(var e of o)r.apply(e);}));})),t.redos.pop(),t.undos.push(o);}},r.undo=()=>{var{history:n}=r,{undos:o}=n;if(o.length>0){var i=o[o.length-1];Cr$5.withoutSaving(r,(()=>{Editor.withoutNormalizing(r,(()=>{var e=i.map(Operation.inverse).reverse();for(var n of e)r.apply(n);}));})),n.redos.push(i),n.undos.pop();}},r.apply=e=>{var{operations:t,history:n}=r,{undos:i}=n,a=i[i.length-1],s=a&&a[a.length-1],l=Lr$5(e,s),u=Cr$5.isSaving(r),c=Cr$5.isMerging(r);if(null==u&&(u=Nr$5(e)),u){if(null==c&&(c=null!=a&&(0!==t.length||Tr$5(e,s)||l)),a&&c)l&&a.pop(),a.push(e);else {var f=[e];i.push(f);}for(;i.length>100;)i.shift();Mr$5(e)&&(n.redos=[]);}o(e);},r})(function(e){var t=e,n=t.insertText,o=t.insertNode,i=t.insertFragment,a=t.dangerouslyInsertHtml;return t.insertText=function(e){if(t.getConfig().maxLength){var r=Ic$2.getLeftLengthOfMaxLength(t);r<=0||(r<e.length?n(e.slice(0,r)):n(e));}else n(e);},t.insertNode=function(e){if(t.getConfig().maxLength){var n=Ic$2.getLeftLengthOfMaxLength(t);n<=0||n<Node$1.string(e).length||o(e);}else o(e);},t.insertFragment=function(e){if(t.getConfig().maxLength){if(e.length>0){var n=e[0];if(Ic$2.getLeftLengthOfMaxLength(t)<Node$1.string(n).length)return;i([n]);for(var o=1;o<e.length;o++)t.insertNode(e[o]);}}else i(e);},t.dangerouslyInsertHtml=function(e,n){if(void 0===e&&(e=""),void 0===n&&(n=!1),e)if(t.getConfig().maxLength){var r=Ic$2.getLeftLengthOfMaxLength(t);if(!(r<=0)){var o=document.createElement("div");o.innerHTML=e;var i=Array.from(o.childNodes).reduce((function(e,t){var n=t.nodeType,r=t.nodeName;return t?n===ec$2.TEXT_NODE?e+(t.textContent||""):n===ec$2.ELEMENT_NODE?rd$1.has(r.toLowerCase())?e:e+(t.textContent||""):e:e}),"");r<i.length||a(e,n);}}else a(e,n);},t}(Ld(function(t){var n=t;return n.select=function(e){Transforms.select(n,e);},n.deselect=function(){var e=n.selection,r=Ic$2.findDocumentOrShadowRoot(n).getSelection();r&&r.rangeCount>0&&r.removeAllRanges(),e&&Transforms.deselect(t);},n.move=function(e,n){void 0===n&&(n=!1),e&&(e<0||Transforms.move(t,{distance:e,unit:"character",reverse:n}));},n.moveReverse=function(e){n.move(e,!0);},n.restoreSelection=function(){var e=il$2.get(n);null!=e&&(n.focus(),Transforms.select(n,e));},n.getSelectionPosition=function(){return Pd(n)},n.getNodePosition=function(e){return Dd$1(n,e)},n.isSelectedAll=function(){var t=n.selection;if(null==t)return !1;var r=Pa$4(Range.edges(t),2),i=r[0],a=r[1],s=Pa$4(Editor.edges(n,[]),2),u=s[0],c=s[1];return !(!Point.equals(i,u)||!Point.equals(a,c))},n.selectAll=function(){var t=Editor.start(n,[]),r=Editor.end(n,[]);Transforms.select(n,{anchor:t,focus:r});},n}(id$1(function(e){var t=e;return t.getAllMenuKeys=function(){var e=[];for(var t in _c$1)e.push(t);return e},t.getConfig=function(){var e=Ks$1.get(t);if(null==e)throw new Error("Can not get editor config");return e},t.getMenuConfig=function(e){var n=t.getConfig().MENU_CONF;return (void 0===n?{}:n)[e]||{}},t.alert=function(e,n){void 0===n&&(n="info");var r=t.getConfig().customAlert;r&&r(e,n);},t}(function(t){var n=t;return n.id="wangEditor-"+Fc$1++,n.isDestroyed=!1,n.isFullScreen=!1,n.focus=function(t){if(Ic$2.toDOMNode(n,n).focus({preventScroll:!0}),ol$2.set(n,!0),t){var r=Editor.end(n,[]);Transforms.select(n,r);}else {var o=il$2.get(n);o?Transforms.select(n,o):Transforms.select(n,Editor.start(n,[]));}},n.isFocused=function(){return !!ol$2.get(n)},n.blur=function(){Ic$2.toDOMNode(n,n).blur(),Transforms.deselect(n),ol$2.set(n,!1);},n.updateView=function(){Ic$2.getTextarea(n).changeViewState();var e=Ic$2.getToolbar(n);e&&e.changeToolbarState();var t=Ic$2.getHoverbar(n);t&&t.changeHoverbarState();},n.destroy=function(){if(!n.isDestroyed){var e=Ic$2.getTextarea(n);e.destroy(),Fs$1.delete(n),Bs$1.delete(e);var t=Ic$2.getToolbar(n);t&&(t.destroy(),$s$1.delete(n),_s$1.delete(t));var r=Ic$2.getHoverbar(n);r&&(r.destroy(),Vs$1.delete(n),Ws$1.delete(r)),n.isDestroyed=!0,n.emit("destroyed");}},n.scrollToElem=function(e){if(!n.getConfig().scroll){var t="编辑器禁用了 scroll ,编辑器内容无法滚动,请自行实现该功能";return t+="\nYou has disabled editor scroll, please do this yourself",void console.warn(t)}var r=$$6("#"+e);if(0!==r.length){var o=r[0];if(!Ic$2.hasDOMNode(n,o))return t="Element (found by id is '"+e+"') is not in editor DOM",t+="\n 通过 id '"+e+"' 找到的 element 不在 editor DOM 之内",void console.error(t,o);var i=Ic$2.getTextarea(n),a=i.$textAreaContainer,s=i.$scroll,l=r.offset().top,u=a.offset().top;s[0].scrollBy({top:l-u,behavior:"smooth"});}},n.showProgressBar=function(e){e<1||Ic$2.getTextarea(n).changeProgress(e);},n.hidePanelOrModal=function(){var e=Us$1.get(n);null!=e&&e.forEach((function(e){return e.hide()}));},n.enable=function(){n.getConfig().readOnly=!1,n.updateView();},n.disable=function(){n.getConfig().readOnly=!0,n.updateView();},n.isDisabled=function(){return n.getConfig().readOnly},n.toDOMNode=function(e){return Ic$2.toDOMNode(n,e)},n.fullScreen=function(){if(!n.isFullScreen){var e=null,t=Ic$2.getToolbar(n);t&&(e=t.$box);var r=Ic$2.getTextarea(n).$box.parent();if(e&&e.parent()[0]!==r[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 父节点不一致");r.addClass("w-e-full-screen-container");var o=r.css("z-index");r.attr("data-z-index",o.toString()),n.isFullScreen=!0,n.emit("fullScreen");}},n.unFullScreen=function(){if(n.isFullScreen){var e=Ic$2.getTextarea(n).$box.parent();setTimeout((function(){e.removeClass("w-e-full-screen-container"),n.isFullScreen=!1,n.emit("unFullScreen");}),200);}},n.getEditableContainer=function(){return Ic$2.getTextarea(n).$textAreaContainer[0]},n}(function(t){var n=t;return n.setFragmentData=function(t){var r=n.selection;if(r){var i=Pa$4(Range.edges(r),2),a=i[0],s=i[1],l=Editor.void(n,{at:a.path}),u=Editor.void(n,{at:s.path});if(!Range.isCollapsed(r)||l){var c=Ic$2.toDOMRange(n,r),f=c.cloneContents(),d=f.childNodes[0];if(f.childNodes.forEach((function(e){e.textContent&&""!==e.textContent.trim()&&(d=e);})),u){var h=Pa$4(u,1)[0],p=c.cloneRange(),g=Ic$2.toDOMNode(n,h);p.setEndAfter(g),f=p.cloneContents();}if(l&&(d=f.querySelector("[data-slate-spacer]")),Array.from(f.querySelectorAll("[data-slate-zero-width]")).forEach((function(e){var t="n"===e.getAttribute("data-slate-zero-width");e.textContent=t?"\n":"";})),mc$2(d)){var v=d.ownerDocument.createElement("span");v.style.whiteSpace="pre",v.appendChild(d),f.appendChild(v),d=v;}var y=n.getFragment(),m=JSON.stringify(y),b=window.btoa(encodeURIComponent(m));d.setAttribute("data-slate-fragment",b),t.setData("application/x-slate-fragment",b);var w=f.ownerDocument.createElement("div");return w.appendChild(f),w.setAttribute("hidden","true"),f.ownerDocument.body.appendChild(w),t.setData("text/html",w.innerHTML),t.setData("text/plain",kc$2(w)),f.ownerDocument.body.removeChild(w),t}}},n.insertData=function(e){var t,r,o=e.getData("application/x-slate-fragment");if(o){var i=decodeURIComponent(window.atob(o)),a=JSON.parse(i);n.insertFragment(a);}else {var l=e.getData("text/plain"),u=e.getData("text/html");if(u)n.dangerouslyInsertHtml(u);else {var c=Ic$2.getLeftLengthOfMaxLength(n);if(l){var f=l.split(/\r\n|\r|\n/),d=!1;try{for(var h=Ma$3(f),p=h.next();!p.done;p=h.next()){var g=p.value;d&&c>0&&Transforms.splitNodes(n,{always:!0}),n.insertText(g),d=!0;}}catch(e){t={error:e};}finally{try{p&&!p.done&&(r=h.return)&&r.call(h);}finally{if(t)throw t.error}}}}}},n}(createEditor$1()))))))));if(a&&function(e,t){return Xf$1(e,"data-w-e-textarea",t)}(y,a))throw new Error("Repeated create editor by selector '"+a+"'");var m=function(e){void 0===e&&(e={});var t=lodash_clonedeep(Bc$1),n={},r=e.MENU_CONF,o=void 0===r?{}:r;return lodash_foreach(t,(function(e,t){n[t]=La$4(La$4({},e),o[t]||{});})),delete e.MENU_CONF,La$4({scroll:!0,readOnly:!1,autoFocus:!0,decorate:function(){return []},maxLength:0,MENU_CONF:n,hoverbarKeys:{},customAlert:function(e,t){window.alert(t+":\n"+e);}},e)}(d);Ks$1.set(y,m);var b=m.hoverbarKeys,w=void 0===b?{}:b;if(v.forEach((function(e){y=e(y);})),null!=p&&(y.children=Qf$1(y,p)),h&&h.length&&(y.children=h),0===y.children.length&&(y.children=[{type:"paragraph",children:[{text:""}]}]),Ic$2.normalizeContent(y),a){var x=new Th$1(a);Fs$1.set(y,x),Bs$1.set(x,y),x.changeViewState(),Qu$3((function(){var e=x.$scroll;if(null!=e&&e.height()<300){console.warn("编辑区域高度 < 300px 这可能会导致 modal hoverbar 定位异常\nTextarea height < 300px . This may be cause modal and hoverbar position error",e);}}));var S=void 0;Object.keys(w).length>0&&(S=new zp$1,Ws$1.set(S,y),Vs$1.set(y,S)),y.on("change",(function(){y.hidePanelOrModal();})),y.on("scroll",(function(){y.hidePanelOrModal();}));}else y.children.forEach((function(e,t){return Up$1(e,t,y,y)}));var E=m.onCreated,O=m.onDestroyed;return E&&y.on("created",(function(){return E(y)})),O&&y.on("destroyed",(function(){return O(y)})),Qu$3((function(){return y.emit("created")})),y}var Kp$1=TypeError,qp$1=Object.getOwnPropertyDescriptor,Gp$1=ue$6&&!function(){if(void 0!==this)return !0;try{Object.defineProperty([],"length",{writable:!1}).length=1;}catch(e){return e instanceof TypeError}}()?function(e,t){if(nr$5(e)&&!qp$1(e,"length").writable)throw new Kp$1("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},Jp$1=TypeError,Yp$1=TypeError,Xp$1=function(e,t){if(!delete e[t])throw new Yp$1("Cannot delete property "+Xe$6(t)+" of "+Xe$6(e))},Qp$1=No$5("splice"),Zp$1=Math.max,eg=Math.min;_n$6({target:"Array",proto:!0,forced:!Qp$1},{splice:function(e,t){var n,r,o,i,a,s,l=st$6(this),u=mn$6(l),c=gn$6(e,u),f=arguments.length;for(0===f?n=r=0:1===f?(n=0,r=u-c):(n=f-2,r=eg(Zp$1(dn$6(t),0),u-c)),function(e){if(e>9007199254740991)throw Jp$1("Maximum allowed index exceeded")}(u+n-r),o=hr$5(l,r),i=0;i<r;i++)(a=c+i)in l&&Gr$5(o,i,l[a]);if(o.length=r,n<r){for(i=c;i<u-r;i++)s=i+n,(a=i+r)in l?l[s]=l[a]:Xp$1(l,s);for(i=u;i>u-r+n;i--)Xp$1(l,i-1);}else if(n>r)for(i=u-r;i>c;i--)s=i+n-1,(a=i+r-1)in l?l[s]=l[a]:Xp$1(l,s);for(i=0;i<n;i++)l[i+c]=arguments[i+2];return Gp$1(l,u-r+n),o}});var tg=function(){function e(e,t){var n=this;this.$toolbar=$$6('<div class="w-e-bar w-e-bar-show w-e-toolbar"></div>'),this.menus={},this.toolbarItems=[],this.config={},this.lngListen=function(){},this.changeToolbarState=lodash_debounce((function(){n.toolbarItems.forEach((function(e){e.changeMenuState();}));}),200),this.config=t;var r=$$6(e);if(0===r.length)throw new Error("Cannot find toolbar DOM by selector '"+e+"'");this.$box=r;var o=this.$toolbar;o.on("mousedown",(function(e){return e.preventDefault()}),{passive:!1}),r.append(o),Qu$3((function(){n.initToolbar(),n.lngListen=$p$1((function(){return n.initToolbar()})),n.getEditorInstance().on("change",n.changeToolbarState);}));}return e.prototype.getMenus=function(){return this.menus},e.prototype.getConfig=function(){return this.config},e.prototype.initToolbar=function(){this.menus={};var e=this.$toolbar;null==e||e.empty(),this.registerItems(),this.changeToolbarState();},e.prototype.registerItems=function(){var e=this,t="",n=this.$toolbar,r=this.config,o=r.toolbarKeys,i=void 0===o?[]:o,a=r.insertKeys,s=void 0===a?{index:0,keys:[]}:a,l=r.excludeKeys,u=void 0===l?[]:l,c=lodash_clonedeep(i);s.keys.length>0&&("string"==typeof s.keys&&(s.keys=[s.keys]),s.keys.forEach((function(e,t){c.splice(s.index+t,0,e);})));var f=c.filter((function(e){if("string"==typeof e){if(u.includes(e))return !1}else if(u.includes(e.key))return !1;return !0})),d=f.length;f.forEach((function(r,o){if("|"===r){if(0===o)return;if(o+1===d)return;if("|"===t)return;var i=Mh$1();return n.append(i),void(t=r)}if("string"==typeof r)return e.registerSingleItem(r,e),void(t=r);e.registerGroup(r),t="group";}));},e.prototype.registerGroup=function(e){var t=this,n=this.$toolbar,r=function(e){return new Uh$1(e)}(e),o=e.menuKeys,i=void 0===o?[]:o,a=this.config.excludeKeys,s=void 0===a?[]:a;i.forEach((function(e){s.includes(e)||t.registerSingleItem(e,r);})),n.append(r.$elem);},e.prototype.registerSingleItem=function(e,t){var n=this.getEditorInstance(),r=t instanceof Uh$1,o=this.menus,i=o[e];if(null==i){var a=_c$1[e];if(null==a)throw new Error("Not found menu item factory by key '"+e+"'");if("function"!=typeof a)throw new Error("Menu item factory (key='"+e+"') is not a function");i=a(),o[e]=i;}else console.warn("Duplicated toolbar menu key '"+e+"'\n重复注册了菜单栏 menu '"+e+"'");var s=n.getMenuConfig(e);s&&void 0!==s.iconSvg&&(i.iconSvg=s.iconSvg);var l=qh$1(e,i,r);(this.toolbarItems.push(l),zs$1.set(l,n),r)?t.appendBarItem(l):t.$toolbar.append(l.$elem);},e.prototype.getEditorInstance=function(){var e=_s$1.get(this);if(null==e)throw new Error("Can not get editor instance");return e},e.prototype.destroy=function(){var e;this.$toolbar.remove(),null===(e=this.lngListen)||void 0===e||e.call(this),this.menus={},this.toolbarItems=[];},e}();function ng(e,t){if(null==e)throw new Error("Cannot create toolbar, because editor is null");var n=t.selector,r=t.config,o=void 0===r?{}:r;if(function(e,t){return Xf$1(e,"data-w-e-toolbar",t)}(e,n))throw new Error("Repeated create toolbar by selector '"+n+"'");var i=La$4({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},o||{}),a=new tg(n,i);return _s$1.set(a,e),$s$1.set(e,a),a}var rg=zt$6.EXISTS,og=Function.prototype,ig=xe$6(og.toString),ag=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,sg=xe$6(ag.exec);function lg(e){var t=e.server,n=void 0===t?"":t,r=e.fieldName,o=void 0===r?"":r,i=e.maxFileSize,a=void 0===i?10485760:i,s=e.maxNumberOfFiles,l=void 0===s?100:s,u=e.meta,c=void 0===u?{}:u,f=e.metaWithUrl,d=void 0!==f&&f,h=e.headers,p=void 0===h?{}:h,g=e.withCredentials,v=void 0!==g&&g,y=e.timeout,m=void 0===y?1e4:y,b=e.onBeforeUpload,w=void 0===b?function(e){return e}:b,x=e.onSuccess,S=void 0===x?function(e,t){}:x,E=e.onError,O=void 0===E?function(e,t,n){console.error(e.name+" upload error",t,n);}:E,k=e.onProgress,C=void 0===k?function(e){}:k;if(!n)throw new Error("Cannot get upload server address\n没有配置上传地址");if(!o)throw new Error("Cannot get fieldName\n没有配置 fieldName");var T=n;d&&(T=function(e,t){var n=Pa$4(e.split("#"),2),r=n[0],o=n[1],i=[];lodash_foreach(t,(function(e,t){i.push(t+"="+e);}));var a=i.join("&");return r=r.indexOf("?")>0?r+"&"+a:r+"?"+a,o?r+"#"+o:r}(T,c));var N=new lib$2({onBeforeUpload:w,restrictions:{maxFileSize:a,maxNumberOfFiles:l},meta:c}).use(lib,{endpoint:T,headers:p,formData:!0,fieldName:o,bundle:!0,withCredentials:v,timeout:m});return N.on("upload-success",(function(e,t){var n=t.body,r=void 0===n?{}:n;try{S(e,r);}catch(e){console.error("wangEditor upload file - onSuccess error",e);}N.removeFile(e.id);})),N.on("progress",(function(e){e<1||C(e);})),N.on("upload-error",(function(e,t,n){try{O(e,t,n);}catch(e){console.error("wangEditor upload file - onError error",e);}N.removeFile(e.id);})),N.on("restriction-failed",(function(e,t){try{O(e,t);}catch(e){console.error("wangEditor upload file - onError error",e);}N.removeFile(e.id);})),N}ue$6&&!rg&&bl$2(og,"name",{configurable:!0,get:function(){try{return sg(ag,ig(this))[1]}catch(e){return ""}}});
17511
+ function Sr$5(e){return "[object Object]"===Object.prototype.toString.call(e)}wr$5(Qn$6);var Er$5={isHistory(e){return !1!==Sr$5(t=e)&&(void 0===(r=t.constructor)||!1!==Sr$5(o=r.prototype)&&!1!==o.hasOwnProperty("isPrototypeOf"))&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(0===e.redos.length||Operation.isOperationList(e.redos[0].operations))&&(0===e.undos.length||Operation.isOperationList(e.undos[0].operations));var t,r,o;}},Or$5=new WeakMap,kr$5=new WeakMap,Cr$5={isHistoryEditor:e=>Er$5.isHistory(e.history)&&Editor.isEditor(e),isMerging:e=>kr$5.get(e),isSaving:e=>Or$5.get(e),redo(e){e.redo();},undo(e){e.undo();},withMerging(e,t){var n=Cr$5.isMerging(e);kr$5.set(e,!0),t(),kr$5.set(e,n);},withoutMerging(e,t){var n=Cr$5.isMerging(e);kr$5.set(e,!1),t(),kr$5.set(e,n);},withoutSaving(e,t){var n=Cr$5.isSaving(e);Or$5.set(e,!1),t(),Or$5.set(e,n);}},Tr$5=(e,t)=>!(!t||"insert_text"!==e.type||"insert_text"!==t.type||e.offset!==t.offset+t.text.length||!Path.equals(e.path,t.path))||!(!t||"remove_text"!==e.type||"remove_text"!==t.type||e.offset+e.text.length!==t.offset||!Path.equals(e.path,t.path)),Nr$5=(e,t)=>"set_selection"!==e.type,Lr$5=String,Mr$5=function(e){if("Symbol"===qn$6(e))throw new TypeError("Cannot convert a Symbol value to a string");return Lr$5(e)},Pr$5=function(){var e=Pt$6(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},Dr$5=RegExp.prototype,Rr$5=function(e){var t=e.flags;return void 0!==t||"flags"in Dr$5||lt$6(e,"flags")||!Ie$6(Dr$5,e)?t:de$6(Pr$5,e)},jr$5=zt$6.PROPER,Ar$5="toString",Ir$5=RegExp.prototype,Fr$5=Ir$5[Ar$5],Br$5=ce$6((function(){return "/a/b"!==Fr$5.call({source:"a",flags:"b"})})),_r$5=jr$5&&Fr$5.name!==Ar$5;(Br$5||_r$5)&&cn$6(Ir$5,Ar$5,(function(){var e=Pt$6(this);return "/"+Mr$5(e.source)+"/"+Mr$5(Rr$5(e))}),{unsafe:!0});var $r$5=function(e,t,n){var r,o;Pt$6(e);try{if(!(r=et$6(e,"return"))){if("throw"===t)throw n;return n}r=de$6(r,e);}catch(e){o=!0,r=e;}if("throw"===t)throw n;if(o)throw r;return Pt$6(r),n},Wr$5=function(e,t,n,r){try{return r?t(Pt$6(n)[0],n[1]):t(n)}catch(t){$r$5(e,"throw",t);}},Vr$5={},zr$5=yt$6("iterator"),Hr$5=Array.prototype,Ur$5=function(e){return void 0!==e&&(Vr$5.Array===e||Hr$5[zr$5]===e)},Kr$5=function(e,t,n){le$6?Bt$6.f(e,t,ye$6(0,n)):e[t]=n;},qr$5=yt$6("iterator"),Gr$5=function(e){if(!Ne$6(e))return et$6(e,qr$5)||et$6(e,"@@iterator")||Vr$5[qn$6(e)]},Jr$5=TypeError,Yr$5=function(e,t){var n=arguments.length<2?Gr$5(e):t;if(Ze$6(n))return Pt$6(de$6(n,e));throw new Jr$5(Xe$6(e)+" is not iterable")},Xr$5=Array,Qr$5=yt$6("iterator"),Zr$5=!1;try{var eo$5=0,to$5={next:function(){return {done:!!eo$5++}},return:function(){Zr$5=!0;}};to$5[Qr$5]=function(){return this},Array.from(to$5,(function(){throw 2}));}catch(e){}var no$5=function(e,t){try{if(!t&&!Zr$5)return !1}catch(e){return !1}var n=!1;try{var r={};r[Qr$5]=function(){return {next:function(){return {done:n=!0}}}},e(r);}catch(e){}return n},ro$5=!no$5((function(e){Array.from(e);}));_n$6({target:"Array",stat:!0,forced:ro$5},{from:function(e){var t=st$6(e),n=ur$5(this),r=arguments.length,o=r>1?arguments[1]:void 0,i=void 0!==o;i&&(o=tr$5(o,r>2?arguments[2]:void 0));var a,s,c,l,u,f,d=Gr$5(t),h=0;if(!d||this===Xr$5&&Ur$5(d))for(a=mn$6(t),s=n?new this(a):Xr$5(a);a>h;h++)f=i?o(t[h],h):t[h],Kr$5(s,h,f);else for(s=n?new this:[],u=(l=Yr$5(t,d)).next;!(c=de$6(u,l)).done;h++)f=i?Wr$5(l,o,[c.value,h],!0):c.value,Kr$5(s,h,f);return s.length=h,s}});var oo$5,io$5=le$6&&!Nt$6?Object.defineProperties:function(e,t){Pt$6(e);for(var n,r=Pe$6(t),o=$n$6(t),i=o.length,a=0;i>a;)Bt$6.f(e,n=o[a++],r[n]);return e},ao$5={f:io$5},so$5=Ae$6("document","documentElement"),co$5="prototype",lo$5="script",uo$5=Qt$6("IE_PROTO"),fo$5=function(){},ho$5=function(e){return "<"+lo$5+">"+e+"</"+lo$5+">"},po$5=function(e){e.write(ho$5("")),e.close();var t=e.parentWindow.Object;return e=null,t},go$5=function(){try{oo$5=new ActiveXObject("htmlfile");}catch(e){}var e,t,n;go$5="undefined"!=typeof document?document.domain&&oo$5?po$5(oo$5):(t=Ot$6("iframe"),n="java"+lo$5+":",t.style.display="none",so$5.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(ho$5("document.F=Object")),e.close(),e.F):po$5(oo$5);for(var r=On$6.length;r--;)delete go$5[co$5][On$6[r]];return go$5()};Zt$6[uo$5]=!0;var vo$5=Object.create||function(e,t){var n;return null!==e?(fo$5[co$5]=Pt$6(e),n=new fo$5,fo$5[co$5]=null,n[uo$5]=e):n=go$5(),void 0===t?n:ao$5.f(n,t)},yo$5=Bt$6.f,mo$5=yt$6("unscopables"),bo$5=Array.prototype;void 0===bo$5[mo$5]&&yo$5(bo$5,mo$5,{configurable:!0,value:vo$5(null)});var wo$5=function(e){bo$5[mo$5][e]=!0;},xo$5=wn$6.includes,So$5=ce$6((function(){return !Array(1).includes()}));_n$6({target:"Array",proto:!0,forced:So$5},{includes:function(e){return xo$5(this,e,arguments.length>1?arguments[1]:void 0)}}),wo$5("includes");var Eo$5=xe$6([].join),Oo$5=Te$6!==Object||!yr$5("join",",");_n$6({target:"Array",proto:!0,forced:Oo$5},{join:function(e){return Eo$5(Pe$6(this),void 0===e?",":e)}});var ko$5=yt$6("species"),Co$5=function(e){return He$6>=51||!ce$6((function(){var t=[];return (t.constructor={})[ko$5]=function(){return {foo:1}},1!==t[e](Boolean).foo}))},To$5=vr$5.map,No$5=Co$5("map");_n$6({target:"Array",proto:!0,forced:!No$5},{map:function(e){return To$5(this,e,arguments.length>1?arguments[1]:void 0)}});var Lo$5=!ce$6((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Mo$5=Qt$6("IE_PROTO"),Po$5=Object,Do$5=Po$5.prototype,Ro$5=Lo$5?Po$5.getPrototypeOf:function(e){var t=st$6(e);if(lt$6(t,Mo$5))return t[Mo$5];var n=t.constructor;return Re$6(n)&&t instanceof n?n.prototype:t instanceof Po$5?Do$5:null};_n$6({target:"Reflect",stat:!0},{get:function e(t,n){var r,o,i=arguments.length<3?t:arguments[2];return Pt$6(t)===i?t[n]:(r=Tt$6.f(t,n))?function(e){return void 0!==e&&(lt$6(e,"value")||lt$6(e,"writable"))}(r)?r.value:void 0===r.get?void 0:de$6(r.get,i):je$6(o=Ro$5(t))?e(o,n,i):void 0}});var jo$5=se$6.RegExp,Ao$5=ce$6((function(){var e=jo$5("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),Io$5=Ao$5||ce$6((function(){return !jo$5("a","y").sticky})),Fo$5={BROKEN_CARET:Ao$5||ce$6((function(){var e=jo$5("^r","gy");return e.lastIndex=2,null!==e.exec("str")})),MISSED_STICKY:Io$5,UNSUPPORTED_Y:Ao$5},Bo$5=se$6.RegExp,_o$5=ce$6((function(){var e=Bo$5(".","s");return !(e.dotAll&&e.test("\n")&&"s"===e.flags)})),$o$5=se$6.RegExp,Wo$5=ce$6((function(){var e=$o$5("(?<a>b)","g");return "b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Vo$5=an$6.get,zo$5=it$6("native-string-replace",String.prototype.replace),Ho$5=RegExp.prototype.exec,Uo$5=Ho$5,Ko$5=xe$6("".charAt),qo$5=xe$6("".indexOf),Go$5=xe$6("".replace),Jo$5=xe$6("".slice),Yo$5=function(){var e=/a/,t=/b*/g;return de$6(Ho$5,e,"a"),de$6(Ho$5,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),Xo$5=Fo$5.BROKEN_CARET,Qo$5=void 0!==/()??/.exec("")[1];(Yo$5||Qo$5||Xo$5||_o$5||Wo$5)&&(Uo$5=function(e){var t,n,r,o,i,a,s,c=this,l=Vo$5(c),u=Mr$5(e),f=l.raw;if(f)return f.lastIndex=c.lastIndex,t=de$6(Uo$5,f,u),c.lastIndex=f.lastIndex,t;var d=l.groups,h=Xo$5&&c.sticky,p=de$6(Pr$5,c),g=c.source,v=0,y=u;if(h&&(p=Go$5(p,"y",""),-1===qo$5(p,"g")&&(p+="g"),y=Jo$5(u,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==Ko$5(u,c.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",p)),Qo$5&&(n=new RegExp("^"+g+"$(?!\\s)",p)),Yo$5&&(r=c.lastIndex),o=de$6(Ho$5,h?n:c,y),h?o?(o.input=Jo$5(o.input,v),o[0]=Jo$5(o[0],v),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:Yo$5&&o&&(c.lastIndex=c.global?o.index+o[0].length:r),Qo$5&&o&&o.length>1&&de$6(zo$5,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0);})),o&&d)for(o.groups=a=vo$5(null),i=0;i<d.length;i++)a[(s=d[i])[0]]=o[s[1]];return o});var Zo$5=Uo$5;_n$6({target:"RegExp",proto:!0,forced:/./.exec!==Zo$5},{exec:Zo$5});var ei$5,ti$5=yt$6("match"),ni$5=function(e){var t;return je$6(e)&&(void 0!==(t=e[ti$5])?!!t:"RegExp"===Oe$6(e))},ri$5=TypeError,oi$5=function(e){if(ni$5(e))throw new ri$5("The method doesn't accept regular expressions");return e},ii$5=yt$6("match"),ai$5=function(e){var t=/./;try{"/./"[e](t);}catch(n){try{return t[ii$5]=!1,"/./"[e](t)}catch(e){}}return !1},si$5=Tt$6.f,ci$5=Zn$6("".slice),li$5=Math.min,ui$5=ai$5("endsWith"),fi$5=!(ui$5||(ei$5=si$5(String.prototype,"endsWith"),!ei$5||ei$5.writable));_n$6({target:"String",proto:!0,forced:!fi$5&&!ui$5},{endsWith:function(e){var t=Mr$5(Me$6(this));oi$5(e);var n=arguments.length>1?arguments[1]:void 0,r=t.length,o=void 0===n?r:li$5(yn$6(n),r),i=Mr$5(e);return ci$5(t,o-i.length,o)===i}});var di$5=xe$6("".indexOf);_n$6({target:"String",proto:!0,forced:!ai$5("includes")},{includes:function(e){return !!~di$5(Mr$5(Me$6(this)),Mr$5(oi$5(e)),arguments.length>1?arguments[1]:void 0)}});var hi$5,pi$5,gi$5,vi$5=xe$6("".charAt),yi$5=xe$6("".charCodeAt),mi$5=xe$6("".slice),bi$5=function(e){return function(t,n){var r,o,i=Mr$5(Me$6(t)),a=dn$6(n),s=i.length;return a<0||a>=s?e?"":void 0:(r=yi$5(i,a))<55296||r>56319||a+1===s||(o=yi$5(i,a+1))<56320||o>57343?e?vi$5(i,a):r:e?mi$5(i,a,a+2):o-56320+(r-55296<<10)+65536}},wi$5={codeAt:bi$5(!1),charAt:bi$5(!0)},xi$5=yt$6("iterator"),Si$5=!1;[].keys&&("next"in(gi$5=[].keys())?(pi$5=Ro$5(Ro$5(gi$5)))!==Object.prototype&&(hi$5=pi$5):Si$5=!0);var Ei$5=!je$6(hi$5)||ce$6((function(){var e={};return hi$5[xi$5].call(e)!==e}));Ei$5&&(hi$5={}),Re$6(hi$5[xi$5])||cn$6(hi$5,xi$5,(function(){return this}));var Oi$5={IteratorPrototype:hi$5,BUGGY_SAFARI_ITERATORS:Si$5},ki$5=Bt$6.f,Ci$5=yt$6("toStringTag"),Ti$5=function(e,t,n){e&&!n&&(e=e.prototype),e&&!lt$6(e,Ci$5)&&ki$5(e,Ci$5,{configurable:!0,value:t});},Ni$5=Oi$5.IteratorPrototype,Li$5=function(){return this},Mi$5=String,Pi$5=TypeError,Di$5=function(e){if(function(e){return je$6(e)||null===e}(e))return e;throw new Pi$5("Can't set "+Mi$5(e)+" as a prototype")},Ri$5=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{e=function(e,t,n){try{return xe$6(Ze$6(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}(Object.prototype,"__proto__","set"),e(n,[]),t=n instanceof Array;}catch(e){}return function(n,r){return Me$6(n),Di$5(r),je$6(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0),ji$5=zt$6.PROPER,Ai$5=zt$6.CONFIGURABLE,Ii$5=Oi$5.IteratorPrototype,Fi$5=Oi$5.BUGGY_SAFARI_ITERATORS,Bi$5=yt$6("iterator"),_i$5="keys",$i$5="values",Wi$5="entries",Vi$5=function(){return this},zi$5=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=vo$5(Ni$5,{next:ye$6(+!r,n)}),Ti$5(e,o,!1),Vr$5[o]=Li$5;}(n,t,r);var s,c,l,u=function(e){if(e===o&&g)return g;if(!Fi$5&&e&&e in h)return h[e];switch(e){case _i$5:case $i$5:case Wi$5:return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",d=!1,h=e.prototype,p=h[Bi$5]||h["@@iterator"]||o&&h[o],g=!Fi$5&&p||u(o),v="Array"===t&&h.entries||p;if(v&&(s=Ro$5(v.call(new e)))!==Object.prototype&&s.next&&(Ro$5(s)!==Ii$5&&(Ri$5?Ri$5(s,Ii$5):Re$6(s[Bi$5])||cn$6(s,Bi$5,Vi$5)),Ti$5(s,f,!0)),ji$5&&o===$i$5&&p&&p.name!==$i$5&&(Ai$5?_t$6(h,"name",$i$5):(d=!0,g=function(){return de$6(p,this)})),o)if(c={values:u($i$5),keys:i?g:u(_i$5),entries:u(Wi$5)},a)for(l in c)(Fi$5||d||!(l in h))&&cn$6(h,l,c[l]);else _n$6({target:t,proto:!0,forced:Fi$5||d},c);return h[Bi$5]!==g&&cn$6(h,Bi$5,g,{name:o}),Vr$5[t]=g,c},Hi$5=function(e,t){return {value:e,done:t}},Ui$5=wi$5.charAt,Ki$5="String Iterator",qi$5=an$6.set,Gi$5=an$6.getterFor(Ki$5);zi$5(String,"String",(function(e){qi$5(this,{type:Ki$5,string:Mr$5(e),index:0});}),(function(){var e,t=Gi$5(this),n=t.string,r=t.index;return r>=n.length?Hi$5(void 0,!0):(e=Ui$5(n,r),t.index+=e.length,Hi$5(e,!1))}));var Ji$5=Function.prototype,Yi$5=Ji$5.apply,Xi$5=Ji$5.call,Qi$5="object"==typeof Reflect&&Reflect.apply||(ue$6?Xi$5.bind(Yi$5):function(){return Xi$5.apply(Yi$5,arguments)}),Zi$5=yt$6("species"),ea$5=RegExp.prototype,ta$5=function(e,t,n,r){var o=yt$6(e),i=!ce$6((function(){var t={};return t[o]=function(){return 7},7!==""[e](t)})),a=i&&!ce$6((function(){var t=!1,n=/a/;return "split"===e&&((n={}).constructor={},n.constructor[Zi$5]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!a||n){var s=/./[o],c=t(o,""[e],(function(e,t,n,r,o){var a=t.exec;return a===Zo$5||a===ea$5.exec?i&&!o?{done:!0,value:de$6(s,t,n,r)}:{done:!0,value:de$6(e,n,t,r)}:{done:!1}}));cn$6(String.prototype,e,c[0]),cn$6(ea$5,o,c[1]);}r&&_t$6(ea$5[o],"sham",!0);},na$5=wi$5.charAt,ra$5=function(e,t,n){return t+(n?na$5(e,t).length:1)},oa$5=Math.floor,ia$5=xe$6("".charAt),aa$5=xe$6("".replace),sa$5=xe$6("".slice),ca$5=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,la$5=/\$([$&'`]|\d{1,2})/g,ua$5=function(e,t,n,r,o,i){var a=n+e.length,s=r.length,c=la$5;return void 0!==o&&(o=st$6(o),c=ca$5),aa$5(i,c,(function(i,c){var l;switch(ia$5(c,0)){case"$":return "$";case"&":return e;case"`":return sa$5(t,0,n);case"'":return sa$5(t,a);case"<":l=o[sa$5(c,1,-1)];break;default:var u=+c;if(0===u)return i;if(u>s){var f=oa$5(u/10);return 0===f?i:f<=s?void 0===r[f-1]?ia$5(c,1):r[f-1]+ia$5(c,1):i}l=r[u-1];}return void 0===l?"":l}))},fa$5=TypeError,da$5=function(e,t){var n=e.exec;if(Re$6(n)){var r=de$6(n,e,t);return null!==r&&Pt$6(r),r}if("RegExp"===Oe$6(e))return de$6(Zo$5,e,t);throw new fa$5("RegExp#exec called on incompatible receiver")},ha$5=yt$6("replace"),pa$5=Math.max,ga$5=Math.min,va$5=xe$6([].concat),ya$5=xe$6([].push),ma$5=xe$6("".indexOf),ba$5=xe$6("".slice),wa$5="$0"==="a".replace(/./,"$0"),xa$4=!!/./[ha$5]&&""===/./[ha$5]("a","$0");ta$5("replace",(function(e,t,n){var r=xa$4?"$":"$0";return [function(e,n){var r=Me$6(this),o=Ne$6(e)?void 0:et$6(e,ha$5);return o?de$6(o,e,r,n):de$6(t,Mr$5(r),e,n)},function(e,o){var i=Pt$6(this),a=Mr$5(e);if("string"==typeof o&&-1===ma$5(o,r)&&-1===ma$5(o,"$<")){var s=n(t,i,a,o);if(s.done)return s.value}var c=Re$6(o);c||(o=Mr$5(o));var l,u=i.global;u&&(l=i.unicode,i.lastIndex=0);for(var f,d=[];null!==(f=da$5(i,a))&&(ya$5(d,f),u);){""===Mr$5(f[0])&&(i.lastIndex=ra$5(a,yn$6(i.lastIndex),l));}for(var h,p="",g=0,v=0;v<d.length;v++){for(var y,m=Mr$5((f=d[v])[0]),b=pa$5(ga$5(dn$6(f.index),a.length),0),w=[],x=1;x<f.length;x++)ya$5(w,void 0===(h=f[x])?h:String(h));var S=f.groups;if(c){var E=va$5([m],w,b,a);void 0!==S&&ya$5(E,S),y=Mr$5(Qi$5(o,void 0,E));}else y=ua$5(m,a,b,w,S,o);b>=g&&(p+=ba$5(a,g,b)+y,g=b+m.length);}return p+ba$5(a,g)}]}),!!ce$6((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!wa$5||xa$4);var Sa$5,Ea$5=/"/g,Oa$5=xe$6("".replace);_n$6({target:"String",proto:!0,forced:(Sa$5="anchor",ce$6((function(){var e=""[Sa$5]('"');return e!==e.toLowerCase()||e.split('"').length>3})))},{anchor:function(e){return t="a",n="name",r=e,o=Mr$5(Me$6(this)),i="<"+t,""!==n&&(i+=" "+n+'="'+Oa$5(Mr$5(r),Ea$5,"&quot;")+'"'),i+">"+o+"</"+t+">";var t,n,r,o,i;}});var ka$4=function(e,t){return ka$4=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t;}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);},ka$4(e,t)};function Ca$5(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e;}ka$4(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n);}var Ta$5=function(){return Ta$5=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Ta$5.apply(this,arguments)};function Na$5(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return {next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function La$5(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value);}catch(e){o={error:e};}finally{try{r&&!r.done&&(n=i.return)&&n.call(i);}finally{if(o)throw o.error}}return a}function Ma$3(e,t,n){if(n||2===arguments.length)for(var r,o=0,i=t.length;o<i;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var Pa$4=vr$5.find,Da$3="find",Ra$5=!0;Da$3 in[]&&Array(1)[Da$3]((function(){Ra$5=!1;})),_n$6({target:"Array",proto:!0,forced:Ra$5},{find:function(e){return Pa$4(this,e,arguments.length>1?arguments[1]:void 0)}}),wo$5(Da$3),_n$6({global:!0,forced:se$6.globalThis!==se$6},{globalThis:se$6});const ja$4=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"];var Aa$5=TypeError,Ia$5=function(e){if(e>9007199254740991)throw Aa$5("Maximum allowed index exceeded");return e},Fa$3=yt$6("isConcatSpreadable"),Ba$3=He$6>=51||!ce$6((function(){var e=[];return e[Fa$3]=!1,e.concat()[0]!==e})),_a$3=function(e){if(!je$6(e))return !1;var t=e[Fa$3];return void 0!==t?!!t:nr$5(e)},$a$3=!Ba$3||!Co$5("concat");_n$6({target:"Array",proto:!0,arity:1,forced:$a$3},{concat:function(e){var t,n,r,o,i,a=st$6(this),s=hr$5(a,0),c=0;for(t=-1,r=arguments.length;t<r;t++)if(_a$3(i=-1===t?a:arguments[t]))for(o=mn$6(i),Ia$5(c+o),n=0;n<o;n++,c++)n in i&&Kr$5(s,c,i[n]);else Ia$5(c+1),Kr$5(s,c++,i);return s.length=c,s}});var Wa$3,Va$3,za$3,Ha$3,Ua$3=function(e){return _e$6.slice(0,e.length)===e},Ka$2=Ua$3("Bun/")?"BUN":Ua$3("Cloudflare-Workers")?"CLOUDFLARE":Ua$3("Deno/")?"DENO":Ua$3("Node.js/")?"NODE":se$6.Bun&&"string"==typeof Bun.version?"BUN":se$6.Deno&&"object"==typeof Deno.version?"DENO":"process"===Oe$6(se$6.process)?"NODE":se$6.window&&se$6.document?"BROWSER":"REST",qa$2="NODE"===Ka$2,Ga$3=function(e,t,n){return n.get&&sn$6(n.get,t,{getter:!0}),n.set&&sn$6(n.set,t,{setter:!0}),Bt$6.f(e,t,n)},Ja$2=yt$6("species"),Ya$2=function(e){var t=Ae$6(e);le$6&&t&&!t[Ja$2]&&Ga$3(t,Ja$2,{configurable:!0,get:function(){return this}});},Xa$2=TypeError,Qa$2=function(e,t){if(Ie$6(t,e))return e;throw new Xa$2("Incorrect invocation")},Za$2=TypeError,es$1=yt$6("species"),ts$1=function(e,t){var n,r=Pt$6(e).constructor;return void 0===r||Ne$6(n=Pt$6(r)[es$1])?t:function(e){if(ur$5(e))return e;throw new Za$2(Xe$6(e)+" is not a constructor")}(n)},ns$1=xe$6([].slice),rs$1=TypeError,os$1=/(?:ipad|iphone|ipod).*applewebkit/i.test(_e$6),is$1=se$6.setImmediate,as$1=se$6.clearImmediate,ss$1=se$6.process,cs$1=se$6.Dispatch,ls$1=se$6.Function,us$1=se$6.MessageChannel,fs$1=se$6.String,ds$1=0,hs$1={},ps$1="onreadystatechange";ce$6((function(){Wa$3=se$6.location;}));var gs$1=function(e){if(lt$6(hs$1,e)){var t=hs$1[e];delete hs$1[e],t();}},vs$1=function(e){return function(){gs$1(e);}},ys$1=function(e){gs$1(e.data);},ms$1=function(e){se$6.postMessage(fs$1(e),Wa$3.protocol+"//"+Wa$3.host);};is$1&&as$1||(is$1=function(e){!function(e,t){if(e<t)throw new rs$1("Not enough arguments")}(arguments.length,1);var t=Re$6(e)?e:ls$1(e),n=ns$1(arguments,1);return hs$1[++ds$1]=function(){Qi$5(t,void 0,n);},Va$3(ds$1),ds$1},as$1=function(e){delete hs$1[e];},qa$2?Va$3=function(e){ss$1.nextTick(vs$1(e));}:cs$1&&cs$1.now?Va$3=function(e){cs$1.now(vs$1(e));}:us$1&&!os$1?(Ha$3=(za$3=new us$1).port2,za$3.port1.onmessage=ys$1,Va$3=tr$5(Ha$3.postMessage,Ha$3)):se$6.addEventListener&&Re$6(se$6.postMessage)&&!se$6.importScripts&&Wa$3&&"file:"!==Wa$3.protocol&&!ce$6(ms$1)?(Va$3=ms$1,se$6.addEventListener("message",ys$1,!1)):Va$3=ps$1 in Ot$6("script")?function(e){so$5.appendChild(Ot$6("script"))[ps$1]=function(){so$5.removeChild(this),gs$1(e);};}:function(e){setTimeout(vs$1(e),0);});var bs$1={set:is$1,clear:as$1},ws$1=Object.getOwnPropertyDescriptor,xs$1=function(){this.head=null,this.tail=null;};xs$1.prototype={add:function(e){var t={item:e,next:null},n=this.tail;n?n.next=t:this.head=t,this.tail=t;},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}};var Ss$1,Es$1,Os$1,ks$1,Cs$1,Ts$1=xs$1,Ns$1=/ipad|iphone|ipod/i.test(_e$6)&&"undefined"!=typeof Pebble,Ls$1=/web0s(?!.*chrome)/i.test(_e$6),Ms$1=bs$1.set,Ps$1=se$6.MutationObserver||se$6.WebKitMutationObserver,Ds$1=se$6.document,Rs$1=se$6.process,js$1=se$6.Promise,As$1=function(e){if(!le$6)return se$6[e];var t=ws$1(se$6,e);return t&&t.value}("queueMicrotask");if(!As$1){var Is$1=new Ts$1,Fs$1=function(){var e,t;for(qa$2&&(e=Rs$1.domain)&&e.exit();t=Is$1.get();)try{t();}catch(e){throw Is$1.head&&Ss$1(),e}e&&e.enter();};os$1||qa$2||Ls$1||!Ps$1||!Ds$1?!Ns$1&&js$1&&js$1.resolve?((ks$1=js$1.resolve(void 0)).constructor=js$1,Cs$1=tr$5(ks$1.then,ks$1),Ss$1=function(){Cs$1(Fs$1);}):qa$2?Ss$1=function(){Rs$1.nextTick(Fs$1);}:(Ms$1=tr$5(Ms$1,se$6),Ss$1=function(){Ms$1(Fs$1);}):(Es$1=!0,Os$1=Ds$1.createTextNode(""),new Ps$1(Fs$1).observe(Os$1,{characterData:!0}),Ss$1=function(){Os$1.data=Es$1=!Es$1;}),As$1=function(e){Is$1.head||Ss$1(),Is$1.add(e);};}var Bs$1=As$1,_s$1=function(e){try{return {error:!1,value:e()}}catch(e){return {error:!0,value:e}}},$s$1=se$6.Promise;$s$1&&$s$1.prototype;var Ws$1,Vs$1,zs$1,Hs$1=yt$6("species"),Us$1=!1,Ks$1=Re$6(se$6.PromiseRejectionEvent),qs$1=Fn$6("Promise",(function(){var e=Gt$6($s$1),t=e!==String($s$1);if(!t&&66===He$6)return !0;if(!He$6||He$6<51||!/native code/.test(e)){var n=new $s$1((function(e){e(1);})),r=function(e){e((function(){}),(function(){}));};if((n.constructor={})[Hs$1]=r,!(Us$1=n.then((function(){}))instanceof r))return !0}return !(t||"BROWSER"!==Ka$2&&"DENO"!==Ka$2||Ks$1)})),Gs$1={CONSTRUCTOR:qs$1,REJECTION_EVENT:Ks$1,SUBCLASSING:Us$1},Js$1=TypeError,Ys$1=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw new Js$1("Bad Promise constructor");t=e,n=r;})),this.resolve=Ze$6(t),this.reject=Ze$6(n);},Xs$1={f:function(e){return new Ys$1(e)}},Qs$1=bs$1.set,Zs$1="Promise",ec$3=Gs$1.CONSTRUCTOR,tc$3=Gs$1.REJECTION_EVENT,nc$3=Gs$1.SUBCLASSING,rc$3=an$6.getterFor(Zs$1),oc$3=an$6.set,ic$3=$s$1&&$s$1.prototype,ac$3=$s$1,sc$3=ic$3,cc$3=se$6.TypeError,lc$3=se$6.document,uc$3=se$6.process,fc$3=Xs$1.f,dc$3=fc$3,hc$3=!!(lc$3&&lc$3.createEvent&&se$6.dispatchEvent),pc$3="unhandledrejection",gc$3=function(e){var t;return !(!je$6(e)||!Re$6(t=e.then))&&t},vc$3=function(e,t){var n,r,o,i=t.value,a=1===t.state,s=a?e.ok:e.fail,c=e.resolve,l=e.reject,u=e.domain;try{s?(a||(2===t.rejection&&xc$3(t),t.rejection=1),!0===s?n=i:(u&&u.enter(),n=s(i),u&&(u.exit(),o=!0)),n===e.promise?l(new cc$3("Promise-chain cycle")):(r=gc$3(n))?de$6(r,n,c,l):c(n)):l(i);}catch(e){u&&!o&&u.exit(),l(e);}},yc$3=function(e,t){e.notified||(e.notified=!0,Bs$1((function(){for(var n,r=e.reactions;n=r.get();)vc$3(n,e);e.notified=!1,t&&!e.rejection&&bc$3(e);})));},mc$3=function(e,t,n){var r,o;hc$3?((r=lc$3.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),se$6.dispatchEvent(r)):r={promise:t,reason:n},!tc$3&&(o=se$6["on"+e])?o(r):e===pc$3&&function(e,t){try{1===arguments.length?console.error(e):console.error(e,t);}catch(e){}}("Unhandled promise rejection",n);},bc$3=function(e){de$6(Qs$1,se$6,(function(){var t,n=e.facade,r=e.value;if(wc$3(e)&&(t=_s$1((function(){qa$2?uc$3.emit("unhandledRejection",r,n):mc$3(pc$3,n,r);})),e.rejection=qa$2||wc$3(e)?2:1,t.error))throw t.value}));},wc$3=function(e){return 1!==e.rejection&&!e.parent},xc$3=function(e){de$6(Qs$1,se$6,(function(){var t=e.facade;qa$2?uc$3.emit("rejectionHandled",t):mc$3("rejectionhandled",t,e.value);}));},Sc$3=function(e,t,n){return function(r){e(t,r,n);}},Ec$3=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,yc$3(e,!0));},Oc$3=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw new cc$3("Promise can't be resolved itself");var r=gc$3(t);r?Bs$1((function(){var n={done:!1};try{de$6(r,t,Sc$3(Oc$3,n,e),Sc$3(Ec$3,n,e));}catch(t){Ec$3(n,t,e);}})):(e.value=t,e.state=1,yc$3(e,!1));}catch(t){Ec$3({done:!1},t,e);}}};if(ec$3&&(sc$3=(ac$3=function(e){Qa$2(this,sc$3),Ze$6(e),de$6(Ws$1,this);var t=rc$3(this);try{e(Sc$3(Oc$3,t),Sc$3(Ec$3,t));}catch(e){Ec$3(t,e);}}).prototype,(Ws$1=function(e){oc$3(this,{type:Zs$1,done:!1,notified:!1,parent:!1,reactions:new Ts$1,rejection:!1,state:0,value:null});}).prototype=cn$6(sc$3,"then",(function(e,t){var n=rc$3(this),r=fc$3(ts$1(this,ac$3));return n.parent=!0,r.ok=!Re$6(e)||e,r.fail=Re$6(t)&&t,r.domain=qa$2?uc$3.domain:void 0,0===n.state?n.reactions.add(r):Bs$1((function(){vc$3(r,n);})),r.promise})),Vs$1=function(){var e=new Ws$1,t=rc$3(e);this.promise=e,this.resolve=Sc$3(Oc$3,t),this.reject=Sc$3(Ec$3,t);},Xs$1.f=fc$3=function(e){return e===ac$3||undefined===e?new Vs$1(e):dc$3(e)},Re$6($s$1)&&ic$3!==Object.prototype)){zs$1=ic$3.then,nc$3||cn$6(ic$3,"then",(function(e,t){var n=this;return new ac$3((function(e,t){de$6(zs$1,n,e,t);})).then(e,t)}),{unsafe:!0});try{delete ic$3.constructor;}catch(e){}Ri$5&&Ri$5(ic$3,sc$3);}_n$6({global:!0,constructor:!0,wrap:!0,forced:ec$3},{Promise:ac$3}),Ti$5(ac$3,Zs$1,!1),Ya$2(Zs$1);var kc$3=TypeError,Cc$3=function(e,t){this.stopped=e,this.result=t;},Tc$3=Cc$3.prototype,Nc$3=function(e,t,n){var r,o,i,a,s,c,l,u=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_RECORD),h=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),g=tr$5(t,u),v=function(e){return r&&$r$5(r,"normal",e),new Cc$3(!0,e)},y=function(e){return f?(Pt$6(e),p?g(e[0],e[1],v):g(e[0],e[1])):p?g(e,v):g(e)};if(d)r=e.iterator;else if(h)r=e;else {if(!(o=Gr$5(e)))throw new kc$3(Xe$6(e)+" is not iterable");if(Ur$5(o)){for(i=0,a=mn$6(e);a>i;i++)if((s=y(e[i]))&&Ie$6(Tc$3,s))return s;return new Cc$3(!1)}r=Yr$5(e,o);}for(c=d?e.next:r.next;!(l=de$6(c,r)).done;){try{s=y(l.value);}catch(e){$r$5(r,"throw",e);}if("object"==typeof s&&s&&Ie$6(Tc$3,s))return s}return new Cc$3(!1)},Lc$3=Gs$1.CONSTRUCTOR||!no$5((function(e){$s$1.all(e).then(void 0,(function(){}));}));_n$6({target:"Promise",stat:!0,forced:Lc$3},{all:function(e){var t=this,n=Xs$1.f(t),r=n.resolve,o=n.reject,i=_s$1((function(){var n=Ze$6(t.resolve),i=[],a=0,s=1;Nc$3(e,(function(e){var c=a++,l=!1;s++,de$6(n,t,e).then((function(e){l||(l=!0,i[c]=e,--s||r(i));}),o);})),--s||r(i);}));return i.error&&o(i.value),n.promise}});var Mc$3=Gs$1.CONSTRUCTOR,Pc$3=$s$1&&$s$1.prototype;if(_n$6({target:"Promise",proto:!0,forced:Mc$3,real:!0},{catch:function(e){return this.then(void 0,e)}}),Re$6($s$1)){var Dc$3=Ae$6("Promise").prototype.catch;Pc$3.catch!==Dc$3&&cn$6(Pc$3,"catch",Dc$3,{unsafe:!0});}_n$6({target:"Promise",stat:!0,forced:Lc$3},{race:function(e){var t=this,n=Xs$1.f(t),r=n.reject,o=_s$1((function(){var o=Ze$6(t.resolve);Nc$3(e,(function(e){de$6(o,t,e).then(n.resolve,r);}));}));return o.error&&r(o.value),n.promise}}),_n$6({target:"Promise",stat:!0,forced:Gs$1.CONSTRUCTOR},{reject:function(e){var t=Xs$1.f(this);return (0, t.reject)(e),t.promise}});var Rc$3=Gs$1.CONSTRUCTOR;function jc$3(e){Promise.resolve().then(e);}Ae$6("Promise"),_n$6({target:"Promise",stat:!0,forced:Rc$3},{resolve:function(e){return function(e,t){if(Pt$6(e),je$6(t)&&t.constructor===e)return t;var n=Xs$1.f(e);return (0, n.resolve)(t),n.promise}(this,e)}});var Ac$3=function(e){return Object.prototype.toString.call(e)};css&&($$6.fn.css=css),append&&($$6.fn.append=append),addClass&&($$6.fn.addClass=addClass),removeClass&&($$6.fn.removeClass=removeClass),hasClass&&($$6.fn.hasClass=hasClass),on$7&&($$6.fn.on=on$7),focus&&($$6.fn.focus=focus),attr&&($$6.fn.attr=attr),removeAttr&&($$6.fn.removeAttr=removeAttr),hide&&($$6.fn.hide=hide),show&&($$6.fn.show=show),offset&&($$6.fn.offset=offset),width&&($$6.fn.width=width),height&&($$6.fn.height=height),parent&&($$6.fn.parent=parent),parents&&($$6.fn.parents=parents),is$2&&($$6.fn.is=is$2),dataset&&($$6.fn.dataset=dataset),val&&($$6.fn.val=val),text&&($$6.fn.text=text),html&&($$6.fn.html=html),children&&($$6.fn.children=children),remove&&($$6.fn.remove=remove),find&&($$6.fn.find=find),each&&($$6.fn.each=each),empty&&($$6.fn.empty=empty);var Ic$3,Fc$3=function(e){return "[object HTMLDocument]"===Ac$3(e)},Bc$3=function(e){return "[object ShadowRoot]"===Ac$3(e)},_c$3=function(e){return "[object DataTransfer]"===Ac$3(e)},$c$3=/\[object HTML([A-Z][a-z]*)*Element\]/,Wc$3=function(e){return $c$3.test(Ac$3(e))},Jc$2=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||null},Yc$2=function(e){return Qc$2(e)&&8===e.nodeType},Xc$2=function(e){return Qc$2(e)&&1===e.nodeType},Qc$2=function(e){return null!=e&&"number"==typeof e.nodeType},Zc$2=function(e){return "[object Selection]"===Ac$3(e)},el$2=function(e){return Qc$2(e)&&3===e.nodeType},tl$2=function(e){return e.clipboardData&&""!==e.clipboardData.getData("text/plain")&&1===e.clipboardData.types.length},nl$2=function(e){var t,n=La$5(e,2),r=n[0],o=n[1];if(Xc$2(r)&&r.childNodes.length){var i=o===r.childNodes.length,a=i?o-1:o;for(r=(t=La$5(il$2(r,a,i?"backward":"forward"),2))[0],i=(a=t[1])<o;Xc$2(r)&&r.childNodes.length;){var s=i?r.childNodes.length-1:0;r=al$2(r,s,i?"backward":"forward");}o=i&&null!=r.textContent?r.textContent.length:0;}return [r,o]},rl$2=function(){return !(!window.document.activeElement||!window.document.activeElement.shadowRoot)},ol$2=function(e){var t,n,r;return null!==(t=window.document.getElementById(e))&&void 0!==t?t:(null===(r=null===(n=window.document.activeElement)||void 0===n?void 0:n.shadowRoot)||void 0===r?void 0:r.getElementById(e))||null},il$2=function(e,t,n){for(var r=e.childNodes,o=r[t],i=t,a=!1,s=!1;(Yc$2(o)||Xc$2(o)&&0===o.childNodes.length||Xc$2(o)&&"false"===o.getAttribute("contenteditable"))&&(!a||!s);)i>=r.length?(a=!0,i=t-1,n="backward"):i<0?(s=!0,i=t+1,n="forward"):(o=r[i],t=i,i+="forward"===n?1:-1);return [o,t]},al$2=function(e,t,n){return La$5(il$2(e,t,n),1)[0]},sl$2=function(e){var t,n,r="";if(el$2(e)&&e.nodeValue)return e.nodeValue;if(Xc$2(e)){try{for(var o=Na$5(Array.from(e.childNodes)),i=o.next();!i.done;i=o.next()){var a=i.value;r+=sl$2(a);}}catch(e){t={error:e};}finally{try{i&&!i.done&&(n=o.return)&&n.call(o);}finally{if(t)throw t.error}}var s=getComputedStyle(e).getPropertyValue("display");"block"!==s&&"list"!==s&&"table-row"!==s&&"BR"!==e.tagName||(r+="\n");}return r};function cl$2(e){var t=[];t.push(e);for(var n=0;t.length>0;){var r=t.pop();if(null==r)break;if(++n>1e4)break;var o=r.nodeName;if(1===r.nodeType){var i=o.toLowerCase();if(ja$4.includes(i)||"iframe"===i||"video"===i)return r;var a=r.children||[],s=a.length;if(s)for(var c=s-1;c>=0;c--)t.push(a[c]);}}return null}function ll$2(e,t){if(!Wc$3(e)||"true"!==e.dataset.slateVoid)for(var n=e.childNodes,r=n.length;r--;){var o=n[r],i=o.nodeType;3==i?t(o,e):1!=i&&9!=i&&11!=i||ll$2(o,t);}}function ul$2(e){if(0===e.length)return "";var t=e[0];return t.nodeType!==Ic$3.ELEMENT_NODE?"":t.tagName.toLowerCase()}!function(e){e[e.ELEMENT_NODE=1]="ELEMENT_NODE",e[e.TEXT_NODE=3]="TEXT_NODE",e[e.CDATA_SECTION_NODE=4]="CDATA_SECTION_NODE",e[e.PROCESSING_INSTRUCTION_NODE=7]="PROCESSING_INSTRUCTION_NODE",e[e.COMMENT_NODE=8]="COMMENT_NODE",e[e.DOCUMENT_NODE=9]="DOCUMENT_NODE",e[e.DOCUMENT_TYPE_NODE=10]="DOCUMENT_TYPE_NODE",e[e.DOCUMENT_FRAGMENT_NODE=11]="DOCUMENT_FRAGMENT_NODE";}(Ic$3||(Ic$3={}));var fl$2=0,dl$2=function(){this.id="".concat(fl$2++);};void 0!==globalThis.navigator&&void 0!==globalThis.window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&globalThis.window.MSStream;var hl$2="undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent),pl$2="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent);"undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox\/(?:[0-7][0-9]|[0-8][0-6])(?:\.)).*/i.test(navigator.userAgent);var gl$2="undefined"!=typeof navigator&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent),vl$2="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])(?:\.)/i.test(navigator.userAgent),yl$2="undefined"!=typeof navigator&&/Chrome?\/(?:[0-7][0-5]|[0-6][0-9])(?:\.)/i.test(navigator.userAgent),ml$2="undefined"!=typeof navigator&&/Chrome/i.test(navigator.userAgent);"undefined"!=typeof navigator&&/.*QQBrowser/.test(navigator.userAgent);var bl$2=!yl$2&&!vl$2&&"undefined"!=typeof globalThis&&globalThis.InputEvent&&"function"==typeof globalThis.InputEvent.prototype.getTargetRanges,wl$2=Bt$6.f,xl$2="Array Iterator",Sl$2=an$6.set,El$2=an$6.getterFor(xl$2),Ol$2=zi$5(Array,"Array",(function(e,t){Sl$2(this,{type:xl$2,target:Pe$6(e),index:0,kind:t});}),(function(){var e=El$2(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,Hi$5(void 0,!0);switch(e.kind){case"keys":return Hi$5(n,!1);case"values":return Hi$5(t[n],!1)}return Hi$5([n,t[n]],!1)}),"values"),kl$2=Vr$5.Arguments=Vr$5.Array;if(wo$5("keys"),wo$5("values"),wo$5("entries"),le$6&&"values"!==kl$2.name)try{wl$2(kl$2,"name",{value:"values"});}catch(e){}var Cl$2=!ce$6((function(){return Object.isExtensible(Object.preventExtensions({}))})),Tl$2=function(e,t,n){for(var r in t)cn$6(e,r,t[r],n);return e},Nl$2=Cn$6.f,Ll$2="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Ml$2={f:function(e){return Ll$2&&"Window"===Oe$6(e)?function(e){try{return Nl$2(e)}catch(e){return ns$1(Ll$2)}}(e):Nl$2(Pe$6(e))}},Pl$2=ce$6((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8});}})),Dl$2=Object.isExtensible,Rl$2=ce$6((function(){Dl$2(1);}))||Pl$2?function(e){return !!je$6(e)&&((!Pl$2||"ArrayBuffer"!==Oe$6(e))&&(!Dl$2||Dl$2(e)))}:Dl$2,jl$2=re$6((function(e){var t=Bt$6.f,n=!1,r=ht$6("meta"),o=0,i=function(e){t(e,r,{value:{objectID:"O"+o++,weakData:{}}});},a=e.exports={enable:function(){a.enable=function(){},n=!0;var e=Cn$6.f,t=xe$6([].splice),o={};o[r]=1,e(o).length&&(Cn$6.f=function(n){for(var o=e(n),i=0,a=o.length;i<a;i++)if(o[i]===r){t(o,i,1);break}return o},_n$6({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Ml$2.f}));},fastKey:function(e,t){if(!je$6(e))return "symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!lt$6(e,r)){if(!Rl$2(e))return "F";if(!t)return "E";i(e);}return e[r].objectID},getWeakData:function(e,t){if(!lt$6(e,r)){if(!Rl$2(e))return !0;if(!t)return !1;i(e);}return e[r].weakData},onFreeze:function(e){return Cl$2&&n&&Rl$2(e)&&!lt$6(e,r)&&i(e),e}};Zt$6[r]=!0;})),Al$2=function(e,t,n){var r,o;return Ri$5&&Re$6(r=t.constructor)&&r!==n&&je$6(o=r.prototype)&&o!==n.prototype&&Ri$5(e,o),e},Il$2=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=se$6[e],s=a&&a.prototype,c=a,l={},u=function(e){var t=xe$6(s[e]);cn$6(s,e,"add"===e?function(e){return t(this,0===e?0:e),this}:"delete"===e?function(e){return !(o&&!je$6(e))&&t(this,0===e?0:e)}:"get"===e?function(e){return o&&!je$6(e)?void 0:t(this,0===e?0:e)}:"has"===e?function(e){return !(o&&!je$6(e))&&t(this,0===e?0:e)}:function(e,n){return t(this,0===e?0:e,n),this});};if(Fn$6(e,!Re$6(a)||!(o||s.forEach&&!ce$6((function(){(new a).entries().next();})))))c=n.getConstructor(t,e,r,i),jl$2.enable();else if(Fn$6(e,!0)){var f=new c,d=f[i](o?{}:-0,1)!==f,h=ce$6((function(){f.has(1);})),p=no$5((function(e){new a(e);})),g=!o&&ce$6((function(){for(var e=new a,t=5;t--;)e[i](t,t);return !e.has(-0)}));p||((c=t((function(e,t){Qa$2(e,s);var n=Al$2(new a,e,c);return Ne$6(t)||Nc$3(t,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=s,s.constructor=c),(h||g)&&(u("delete"),u("has"),r&&u("get")),(g||d)&&u(i),o&&s.clear&&delete s.clear;}return l[e]=c,_n$6({global:!0,constructor:!0,forced:c!==a},l),Ti$5(c,e),o||n.setStrong(c,e,r),c},Fl$2=jl$2.getWeakData,Bl$2=an$6.set,_l$2=an$6.getterFor,$l$2=vr$5.find,Wl$2=vr$5.findIndex,Vl$2=xe$6([].splice),zl$2=0,Hl$2=function(e){return e.frozen||(e.frozen=new Ul$2)},Ul$2=function(){this.entries=[];},Kl$2=function(e,t){return $l$2(e.entries,(function(e){return e[0]===t}))};Ul$2.prototype={get:function(e){var t=Kl$2(this,e);if(t)return t[1]},has:function(e){return !!Kl$2(this,e)},set:function(e,t){var n=Kl$2(this,e);n?n[1]=t:this.entries.push([e,t]);},delete:function(e){var t=Wl$2(this.entries,(function(t){return t[0]===e}));return ~t&&Vl$2(this.entries,t,1),!!~t}};var ql$2,Gl$2={getConstructor:function(e,t,n,r){var o=e((function(e,o){Qa$2(e,i),Bl$2(e,{type:t,id:zl$2++,frozen:null}),Ne$6(o)||Nc$3(o,e[r],{that:e,AS_ENTRIES:n});})),i=o.prototype,a=_l$2(t),s=function(e,t,n){var r=a(e),o=Fl$2(Pt$6(t),!0);return !0===o?Hl$2(r).set(t,n):o[r.id]=n,e};return Tl$2(i,{delete:function(e){var t=a(this);if(!je$6(e))return !1;var n=Fl$2(e);return !0===n?Hl$2(t).delete(e):n&&lt$6(n,t.id)&&delete n[t.id]},has:function(e){var t=a(this);if(!je$6(e))return !1;var n=Fl$2(e);return !0===n?Hl$2(t).has(e):n&&lt$6(n,t.id)}}),Tl$2(i,n?{get:function(e){var t=a(this);if(je$6(e)){var n=Fl$2(e);if(!0===n)return Hl$2(t).get(e);if(n)return n[t.id]}},set:function(e,t){return s(this,e,t)}}:{add:function(e){return s(this,e,!0)}}),o}},Jl$2=an$6.enforce,Yl$2=Object,Xl$2=Array.isArray,Ql$2=Yl$2.isExtensible,Zl$2=Yl$2.isFrozen,eu$4=Yl$2.isSealed,tu$4=Yl$2.freeze,nu$4=Yl$2.seal,ru$4=!se$6.ActiveXObject&&"ActiveXObject"in se$6,ou$4=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},iu$4=Il$2("WeakMap",ou$4,Gl$2),au$4=iu$4.prototype,su$4=xe$6(au$4.set);if(Yt$6)if(ru$4){ql$2=Gl$2.getConstructor(ou$4,"WeakMap",!0),jl$2.enable();var cu$4=xe$6(au$4.delete),lu$4=xe$6(au$4.has),uu$4=xe$6(au$4.get);Tl$2(au$4,{delete:function(e){if(je$6(e)&&!Ql$2(e)){var t=Jl$2(this);return t.frozen||(t.frozen=new ql$2),cu$4(this,e)||t.frozen.delete(e)}return cu$4(this,e)},has:function(e){if(je$6(e)&&!Ql$2(e)){var t=Jl$2(this);return t.frozen||(t.frozen=new ql$2),lu$4(this,e)||t.frozen.has(e)}return lu$4(this,e)},get:function(e){if(je$6(e)&&!Ql$2(e)){var t=Jl$2(this);return t.frozen||(t.frozen=new ql$2),lu$4(this,e)?uu$4(this,e):t.frozen.get(e)}return uu$4(this,e)},set:function(e,t){if(je$6(e)&&!Ql$2(e)){var n=Jl$2(this);n.frozen||(n.frozen=new ql$2),lu$4(this,e)?su$4(this,e,t):n.frozen.set(e,t);}else su$4(this,e,t);return this}});}else Cl$2&&ce$6((function(){var e=tu$4([]);return su$4(new iu$4,e,1),!Zl$2(e)}))&&Tl$2(au$4,{set:function(e,t){var n;return Xl$2(e)&&(Zl$2(e)?n=tu$4:eu$4(e)&&(n=nu$4)),su$4(this,e,t),n&&n(e),this}});var fu$4=yt$6("iterator"),du$4=Ol$2.values,hu$3=function(e,t){if(e){if(e[fu$4]!==du$4)try{_t$6(e,fu$4,du$4);}catch(t){e[fu$4]=du$4;}if(Ti$5(e,t,!0),Jn$6[t])for(var n in Ol$2)if(e[n]!==Ol$2[n])try{_t$6(e,n,Ol$2[n]);}catch(t){e[n]=Ol$2[n];}}};for(var pu$4 in Jn$6)hu$3(se$6[pu$4]&&se$6[pu$4].prototype,pu$4);hu$3(Qn$6,"DOMTokenList");var gu$3=new WeakMap,vu$4=new WeakMap,yu$4=new WeakMap,mu$3=new WeakMap,bu$3=new WeakMap,wu$3=new WeakMap,xu$3=new WeakMap,Su$3=new WeakMap,Eu$3=new WeakMap,Ou$3=new WeakMap,ku$3=new WeakMap,Cu$3=new WeakMap,Tu$3=new WeakMap,Nu$3=new WeakMap,Lu$3=new WeakMap,Mu$3=new WeakMap,Pu$3=new WeakMap,Du$3=new WeakMap,Ru$3=new WeakMap,ju$3=new WeakMap,Au$3=new WeakMap,Iu$3=new WeakMap,Fu$3=new WeakMap,Bu$3=new WeakMap,_u$3=new WeakMap,$u$3={getWindow:function(e){var t=Au$3.get(e);if(!t)throw new Error("Unable to find a host window element for this editor");return t},findKey:function(e,t){var n=ju$3.get(t);return n||(n=new dl$2,ju$3.set(t,n)),n},setNewKey:function(e){var t=new dl$2;ju$3.set(e,t);},findPath:function(e,n){for(var r=[],o=n;;){var i=Lu$3.get(o);if(null==i){if(Editor.isEditor(o))return r;break}var a=Nu$3.get(o);if(null==a)break;r.unshift(a),o=i;}throw new Error("Unable to find the path for Slate node: ".concat(JSON.stringify(n)))},findDocumentOrShadowRoot:function(e){if(e.isDestroyed)return window.document;var t=$u$3.toDOMNode(e,e),n=t.getRootNode();return (Fc$3(n)||Bc$3(n))&&null!=Reflect.get(n,"getSelection")?n:t.ownerDocument},getParentNode:function(e,t){return Lu$3.get(t)||null},getParentsNodes:function(e,t){for(var n=[],r=t;r!==e&&null!=r;){var o=$u$3.getParentNode(e,r);if(null==o)break;n.push(o),r=o;}return n},getTopNode:function(e,t){var n=[$u$3.findPath(e,t)[0]];return Node$1.get(e,n)},toDOMNode:function(e,n){var r;if(Editor.isEditor(n))r=Mu$3.get(e);else {var o=$u$3.findKey(e,n);r=Du$3.get(o);}if(!r)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(JSON.stringify(n)));return r},hasDOMNode:function(e,t,n){void 0===n&&(n={});var r,o=n.editable,i=void 0!==o&&o,a=$u$3.toDOMNode(e,e);try{r=Xc$2(t)?t:t.parentElement;}catch(e){if(e instanceof Error&&!e.message.includes('Permission denied to access property "nodeType"'))throw e}return !!r&&(r.closest("[data-slate-editor]")===a&&(!i||r.isContentEditable||!!r.getAttribute("data-slate-zero-width"))||!!r.getAttribute("data-slate-string"))},toDOMRange:function(e,t){var n=t.anchor,r=t.focus,o=Range.isBackward(t),a=$u$3.toDOMPoint(e,n),s=Range.isCollapsed(t)?a:$u$3.toDOMPoint(e,r),c=$u$3.getWindow(e).document.createRange(),l=La$5(o?s:a,2),u=l[0],f=l[1],d=La$5(o?a:s,2),h=d[0],p=d[1],g=!!(Xc$2(u)?u:u.parentElement).getAttribute("data-slate-zero-width"),v=!!(Xc$2(h)?h:h.parentElement).getAttribute("data-slate-zero-width");return c.setStart(u,g?1:f),c.setEnd(h,v?1:p),c},toDOMPoint:function(e,n){var r,o,i,a=La$5(Editor.node(e,n.path),1)[0],s=$u$3.toDOMNode(e,a);Editor.void(e,{at:n})&&(n={path:n.path,offset:0});var c=Array.from(s.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),l=0;try{for(var u=Na$5(c),f=u.next();!f.done;f=u.next()){var d=f.value,h=d.childNodes[0];if(null!=h&&null!=h.textContent){var p=h.textContent.length,g=d.getAttribute("data-slate-length"),v=l+(null==g?p:parseInt(g,10));if(n.offset<=v){i=[h,Math.min(p,Math.max(0,n.offset-l))];break}l=v;}}}catch(e){r={error:e};}finally{try{f&&!f.done&&(o=u.return)&&o.call(u);}finally{if(r)throw r.error}}if(!i)throw new Error("Cannot resolve a DOM point from Slate point: ".concat(JSON.stringify(n)));return i},toSlateNode:function(e,t){var n=Xc$2(t)?t:t.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?Pu$3.get(n):null;if(!r)throw new Error("Cannot resolve a Slate node from DOM node: ".concat(n));return r},findEventRange:function(e,n){"nativeEvent"in n&&(n=n.nativeEvent);var r=n.clientX,o=n.clientY,i=n.target;if(null==r||null==o)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(n));var a,s=$u$3.toSlateNode(e,n.target),c=$u$3.findPath(e,s);if(Editor.isVoid(e,s)){var l=i.getBoundingClientRect(),u=e.isInline(s)?r-l.left<l.left+l.width-r:o-l.top<l.top+l.height-o,f=Editor.point(e,c,{edge:u?"start":"end"}),d=u?Editor.before(e,f):Editor.after(e,f);if(d)return Editor.range(e,d)}var h=this.getWindow(e).document;if(h.caretRangeFromPoint)a=h.caretRangeFromPoint(r,o);else {var p=h.caretPositionFromPoint(r,o);p&&((a=h.createRange()).setStart(p.offsetNode,p.offset),a.setEnd(p.offsetNode,p.offset));}if(!a)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(n));return $u$3.toSlateRange(e,a,{exactMatch:!1,suppressThrow:!1})},toSlateRange:function(e,n,r){var o,a,s,c,l,u=r.exactMatch,f=r.suppressThrow;if((Zc$2(n)?n.anchorNode:n.startContainer)&&(Zc$2(n)?(o=n.anchorNode,a=n.anchorOffset,s=n.focusNode,c=n.focusOffset,l=ml$2&&rl$2()?n.anchorNode===n.focusNode&&n.anchorOffset===n.focusOffset:n.isCollapsed):(o=n.startContainer,a=n.startOffset,s=n.endContainer,c=n.endOffset,l=n.collapsed)),null==o||null==s||null==a||null==c)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(n));var d=$u$3.toSlatePoint(e,[o,a],{exactMatch:u,suppressThrow:f});if(!d)return null;var h=l?d:$u$3.toSlatePoint(e,[s,c],{exactMatch:u,suppressThrow:f});if(!h)return null;var p={anchor:d,focus:h};return Range.isExpanded(p)&&Range.isForward(p)&&Xc$2(s)&&Editor.void(e,{at:p.focus,mode:"highest"})&&(p=Editor.unhangRange(e,p,{voids:!0})),p},toSlatePoint:function(e,t,n){var r,o=n.exactMatch,i=n.suppressThrow,a=La$5(o?t:nl$2(t),2),s=a[0],c=a[1],l=s.parentNode,f=null,d=0;if(l){var h=l.closest('[data-slate-void="true"]'),p=l.closest("[data-slate-leaf]"),g=null;if(p){f=p.closest('[data-slate-node="text"]');var v=$u$3.getWindow(e).document.createRange();v.setStart(f,0),v.setEnd(s,c);var y=v.cloneContents();Ma$3(Ma$3([],La$5(lodash_toarray(y.querySelectorAll("[data-slate-zero-width]"))),!1),La$5(lodash_toarray(y.querySelectorAll("[contenteditable=false]"))),!1).forEach((function(e){e.parentNode.removeChild(e);})),d=y.textContent.length,g=f;}else h&&((p=h.querySelector("[data-slate-leaf]"))?(f=p.closest('[data-slate-node="text"]'),d=(g=p).textContent.length,g.querySelectorAll("[data-slate-zero-width]").forEach((function(e){d-=e.textContent.length;}))):d=1);g&&d===g.textContent.length&&(l.hasAttribute("data-slate-zero-width")||pl$2&&(null===(r=g.textContent)||void 0===r?void 0:r.endsWith("\n")))&&(d-=1);}if(!f){if(i)return null;throw new Error("Cannot resolve a Slate point from DOM point: ".concat(t))}var m=$u$3.toSlateNode(e,f);return {path:$u$3.findPath(e,m),offset:d}},hasRange:function(e,n){var r=n.anchor,o=n.focus;return Editor.hasPath(e,r.path)&&Editor.hasPath(e,o.path)},getNodeType:function(e){return Element$1.isElement(e)?e.type:""},checkNodeType:function(e,t){return this.getNodeType(e)===t},getNodesStr:function(e){return e.map((function(e){return Node$1.string(e)})).join("")},getSelectedElems:function(e){var n,r,o=[],i=Editor.nodes(e,{universal:!0});try{for(var s=Na$5(i),c=s.next();!c.done;c=s.next()){var l=La$5(c.value,1)[0];Element$1.isElement(l)&&o.push(l);}}catch(e){n={error:e};}finally{try{c&&!c.done&&(r=s.return)&&r.call(s);}finally{if(n)throw n.error}}return o},getSelectedNodeByType:function(e,n){var r=this,o=La$5(Editor.nodes(e,{match:function(e){return r.checkNodeType(e,n)},universal:!0}),1),i=o[0];return null==i?null:i[0]},getSelectedTextNode:function(e){var n=La$5(Editor.nodes(e,{match:function(e){return Text.isText(e)},universal:!0}),1),r=n[0];return null==r?null:r[0]},isNodeSelected:function(e,n){var r=La$5(Editor.nodes(e,{match:function(e){return e===n},universal:!0}),1),o=r[0];return null!=o&&La$5(o,1)[0]===n},isSelectionAtLineEnd:function(e,n){var r=e.selection;return !!r&&(Editor.isEnd(e,r.anchor,n)||Editor.isEnd(e,r.focus,n))},getTextarea:function(e){var t=gu$3.get(e);if(null==t)throw new Error("Cannot find textarea instance by editor");return t},getToolbar:function(e){return mu$3.get(e)||null},getHoverbar:function(e){return wu$3.get(e)||null},normalizeContent:function(e){e.children.forEach((function(t,n){e.normalizeNode([t,[n]]);}));},getLeftLengthOfMaxLength:function(e){var t=e.getConfig(),n=t.maxLength,r=t.onMaxLength;if("number"!=typeof n||n<=0)return 1/0;var o=n-e.getText().replace(/\r|\n|(\r\n)/g,"").length;return o<=0&&r&&r(e),o},cleanExposedTexNodeInSelectionBlock:function(e){var n,r,o,i,s=$u$3.getTextarea(e).$textArea,c=null==s?void 0:s[0].childNodes;if(c)try{for(var l=Na$5(Array.from(c)),u=l.next();!u.done;u=l.next()){var d=u.value;if(3!==d.nodeType)break;d.remove();}}catch(e){n={error:e};}finally{try{u&&!u.done&&(r=l.return)&&r.call(l);}finally{if(n)throw n.error}}var h=Editor.nodes(e,{match:function(t){return !(!Element$1.isElement(t)||e.isInline(t))},universal:!0});try{for(var p=Na$5(h),g=p.next();!g.done;g=p.next()){var v=g.value;if(null!=v){var y=v[0];ll$2($u$3.toDOMNode(e,y),(function(e,t){var n=$$6(t);n.attr("data-slate-string")||n.attr("data-slate-zero-width")||n.attr("data-w-e-reserve")||t.removeChild(e);}));}}}catch(e){o={error:e};}finally{try{g&&!g.done&&(i=p.return)&&i.call(p);}finally{if(o)throw o.error}}},isLastNode:function(e,t){var n=e.children||[];return n[n.length-1]===t},genEmptyParagraph:function(){return {type:"paragraph",children:[{text:""}]}},isSelectedVoidNode:function(e){var n,r,o=Editor.nodes(e,{match:function(t){return e.isVoid(t)}}),i=0;try{for(var a=Na$5(o),s=a.next();!s.done;s=a.next()){s.value&&(i+=1);}}catch(e){n={error:e};}finally{try{s&&!s.done&&(r=a.return)&&r.call(a);}finally{if(n)throw n.error}}return i>0},isSelectedEmptyParagraph:function(e){var t=e.selection;if(null==t)return !1;if(Range.isExpanded(t))return !1;var n=$u$3.getSelectedNodeByType(e,"paragraph");if(null===n)return !1;var r=n.children;return 1===r.length&&(""===r[0].text||void 0)},isEmptyPath:function(e,n){var r=Editor.node(e,n);if(null==r)return !1;var o=La$5(r,1)[0].children;if(1===o.length&&""===o[0].text)return !0;return !1}},Wu$3=1,Vu$3={};var zu$3={};function Hu$3(e,t){var n=e.key,r=e.factory,o=e.config,i=Ta$5(Ta$5({},o),t||{});if(null!=zu$3[n])throw new Error("Duplicated key '".concat(n,"' in menu items"));zu$3[n]=r,function(e,t){null!=t&&(Vu$3[e]=t);}(n,i);}var Uu$3=vr$5.filter,Ku$3=Co$5("filter");_n$6({target:"Array",proto:!0,forced:!Ku$3},{filter:function(e){return Uu$3(this,e,arguments.length>1?arguments[1]:void 0)}});var qu$3="\t\n\v\f\r                 \u2028\u2029\ufeff",Gu$3=xe$6("".replace),Ju$3=RegExp("^["+qu$3+"]+"),Yu$3=RegExp("(^|[^"+qu$3+"])["+qu$3+"]+$"),Xu$3=function(e){return function(t){var n=Mr$5(Me$6(t));return 1&e&&(n=Gu$3(n,Ju$3,"")),2&e&&(n=Gu$3(n,Yu$3,"$1")),n}},Qu$3={start:Xu$3(1),end:Xu$3(2),trim:Xu$3(3)},Zu$3=zt$6.PROPER,ef$1=Qu$3.trim;_n$6({target:"String",proto:!0,forced:function(e){return ce$6((function(){return !!qu$3[e]()||"​…᠎"!=="​…᠎"[e]()||Zu$3&&qu$3[e].name!==e}))}("trim")},{trim:function(){return ef$1(this)}});var tf$1=[];function nf$1(e){tf$1.push(e);}var rf$1={};function of$1(e){var t=e.type,n=e.elemToHtml;rf$1[t||""]=n;}function af$1(e,t,n){var r=n.isInline(e)?"span":"div";return "<".concat(r,">").concat(t,"</").concat(r,">")}function sf$1(e,n){var r=e.type,o=void 0===r?"":r,i=e.children,a=void 0===i?[]:i,s=Editor.isVoid(n,e),c="";s||(c=a.map((function(e){return cf$1(e,n)})).join(""));var l=function(e){return rf$1[e]||af$1}(o),u=l(e,c,n),f="";if(f="string"==typeof u?u:u.html||"",s||tf$1.forEach((function(t){return f=t(e,f)})),"string"==typeof u)return f;var d=u.prefix,h=void 0===d?"":d,p=u.suffix,g=void 0===p?"":p;return h&&(f=h+f),g&&(f+=g),f}function cf$1(e,t){return Element$1.isElement(e)?sf$1(e,t):function(e,t){var n=e.text;if(null==n)throw new Error("Current node is not slate Text ".concat(JSON.stringify(e)));var r=n;r=function(e){return e.replace(/ {2}/g," &nbsp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/®/g,"&reg;").replace(/©/g,"&copy;").replace(/™/g,"&trade;")}(r);var o=$u$3.getParentsNodes(t,e).some((function(e){return "pre"===$u$3.getNodeType(e)}));if(o||(r=r.replace(/\r\n|\r|\n/g,"<br>")),o&&(r=r.replace(/&nbsp;/g," ")),""===r){var i=$u$3.getParentNode(null,e);if(!i||0!==i.children.length)return r;r="<br>";}return tf$1.forEach((function(t){return r=t(e,r)})),r}(e,t)}function lf$1(e){return "w-e-element-".concat(e)}var uf$1=function(e,t){var n=(t.top+t.bottom)/2;return e.top<=n&&e.bottom>=n},ff$1=function(e,t,n){var r=$u$3.toDOMRange(e,t).getBoundingClientRect(),o=$u$3.toDOMRange(e,n).getBoundingClientRect();return uf$1(r,o)&&uf$1(o,r)},df$1=["span","b","strong","i","em","s","strike","u","font","sub","sup"],hf$1=[];function pf$1(e){hf$1.push(e);}var gf$1=[];function vf$1(e){gf$1.push(e);}var yf$1={};function mf$1(e){var t=e.selector,n=e.parseElemHtml;yf$1[t]=n;}var bf$1=Bt$6.f,wf$1=function(e,t,n){n in e||bf$1(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e;}});},xf$1=Cn$6.f,Sf$1=an$6.enforce,Ef$1=yt$6("match"),Of$1=se$6.RegExp,kf$1=Of$1.prototype,Cf$1=se$6.SyntaxError,Tf$1=xe$6(kf$1.exec),Nf$1=xe$6("".charAt),Lf$1=xe$6("".replace),Mf$1=xe$6("".indexOf),Pf$1=xe$6("".slice),Df$1=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Rf$1=/a/g,jf$1=/a/g,Af$1=new Of$1(Rf$1)!==Rf$1,If$1=Fo$5.MISSED_STICKY,Ff$1=Fo$5.UNSUPPORTED_Y,Bf$1=le$6&&(!Af$1||If$1||_o$5||Wo$5||ce$6((function(){return jf$1[Ef$1]=!1,Of$1(Rf$1)!==Rf$1||Of$1(jf$1)===jf$1||"/a/i"!==String(Of$1(Rf$1,"i"))})));if(Fn$6("RegExp",Bf$1)){for(var _f$1=function(e,t){var n,r,o,i,a,s,c=Ie$6(kf$1,this),l=ni$5(e),u=void 0===t,f=[],d=e;if(!c&&l&&u&&e.constructor===_f$1)return e;if((l||Ie$6(kf$1,e))&&(e=e.source,u&&(t=Rr$5(d))),e=void 0===e?"":Mr$5(e),t=void 0===t?"":Mr$5(t),d=e,_o$5&&"dotAll"in Rf$1&&(r=!!t&&Mf$1(t,"s")>-1)&&(t=Lf$1(t,/s/g,"")),n=t,If$1&&"sticky"in Rf$1&&(o=!!t&&Mf$1(t,"y")>-1)&&Ff$1&&(t=Lf$1(t,/y/g,"")),Wo$5&&(i=function(e){for(var t,n=e.length,r=0,o="",i=[],a=vo$5(null),s=!1,c=!1,l=0,u="";r<=n;r++){if("\\"===(t=Nf$1(e,r)))t+=Nf$1(e,++r);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:if(o+=t,"?:"===Pf$1(e,r+1,r+3))continue;Tf$1(Df$1,Pf$1(e,r+1))&&(r+=2,c=!0),l++;continue;case">"===t&&c:if(""===u||lt$6(a,u))throw new Cf$1("Invalid capture group name");a[u]=!0,i[i.length]=[u,l],c=!1,u="";continue}c?u+=t:o+=t;}return [o,i]}(e),e=i[0],f=i[1]),a=Al$2(Of$1(e,t),c?this:kf$1,_f$1),(r||o||f.length)&&(s=Sf$1(a),r&&(s.dotAll=!0,s.raw=_f$1(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=Nf$1(e,r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+Nf$1(e,++r);return o}(e),n)),o&&(s.sticky=!0),f.length&&(s.groups=f)),e!==d)try{_t$6(a,"source",""===d?"(?:)":d);}catch(e){}return a},$f$1=xf$1(Of$1),Wf$1=0;$f$1.length>Wf$1;)wf$1(_f$1,Of$1,$f$1[Wf$1++]);kf$1.constructor=_f$1,_f$1.prototype=kf$1,cn$6(se$6,"RegExp",_f$1,{constructor:!0});}Ya$2("RegExp");var Vf$1=new RegExp(String.fromCharCode(160),"g");function zf$1(e){return e.replace(Vf$1," ")}function Hf$1(e,t){var n=e.length;if(n){var r=e[n-1];if(Text.isText(r)){var o=Object.keys(r);if(1===o.length&&"text"===o[0])return r.text=r.text+t,!0}}return !1}function Uf(e,t,n){return {type:"paragraph",children:[{text:$$6(e).text().replace(/\s+/gm," ")}]}}function Kf(e,n){var r=function(e,t){var n=[];if(null!=e.attr("data-w-e-is-void"))return n;var r=e[0].childNodes;return 1===r.length&&"BR"===r[0].nodeName?(n.push({text:""}),n):(r.forEach((function(e){if(e.nodeType!==Ic$3.ELEMENT_NODE)if(e.nodeType!==Ic$3.TEXT_NODE);else {var r=e.textContent||"";if(""===r.trim()&&r.indexOf("\n")>=0)return;r&&(r=zf$1(r),Hf$1(n,r)||n.push({text:r}));}else {if("BR"===e.nodeName)return void(Hf$1(n,"\n")||n.push({text:"\n"}));var o=Gf($$6(e),t);Array.isArray(o)?o.forEach((function(e){return n.push(e)})):n.push(o);}})),n)}(e,n),o=function(e){for(var t in yf$1)if(e[0].matches(t))return yf$1[t];return Uf}(e),i=o(e[0],r,n);return Array.isArray(i)||(i=[i]),i.forEach((function(o){Editor.isVoid(n,o)||(0===r.length&&(o.children=[{text:e.text().replace(/\s+/gm," ")}]),gf$1.forEach((function(t){o=t(e[0],o,n);})));})),i}function qf(e,t){0===e.parents("pre").length&&(e[0].innerHTML=e[0].innerHTML.replace(/\s+/gm," ").replace(/<br>/g,"\n"));var n=e[0].textContent||"";n=function(e){return e.replace(/&nbsp;/g," ").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&reg;/g,"®").replace(/&copy;/g,"©").replace(/&trade;/g,"™").replace(/&quot;/g,'"')}(n);var r={text:n=zf$1(n)};return gf$1.forEach((function(n){r=n(e[0],r,t);})),r}function Gf(e,t){hf$1.forEach((function(t){var n=t.selector,r=t.preParseHtml;e[0].matches(n)&&(e=$$6(r(e[0])));}));var n=ul$2(e);if("span"===n){if(e.attr("data-w-e-type"))return Kf(e,t);if(e[0].childNodes.length>1){var r=e[0].childNodes;return Array.from(r).map((function(e){return qf($$6(e),t)}))}return qf(e,t)}if("code"===n)return "pre"===ul$2(e.parent())?Kf(e,t):qf(e,t);if(df$1.includes(n)){if(e[0].childNodes.length>0&&3!==e[0].childNodes[0].nodeType){r=e[0].childNodes;return Ta$5(Ta$5({},Gf($$6(r[0]),t)),qf(e,t))}return qf(e,t)}return Kf(e,t)}var Jf$1=Fo$5.UNSUPPORTED_Y,Yf=Math.min,Xf=xe$6([].push),Qf$1=xe$6("".slice),Zf$1=!ce$6((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),ed$1="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;function td$1(e,t,n){var r=$$6(n);return !!r.attr(t)||(r.attr(t,"true"),e.on("destroyed",(function(){r.removeAttr(t);})),!1)}function nd$1(e,t){void 0===t&&(t="");var n=[];""===t&&(t="<p><br></p>"),0!==t.indexOf("<")&&(t=t.split(/\n/).map((function(e){return "<p>".concat(e,"</p>")})).join(""));var r=$$6("<div>".concat(t,"</div>"));return Array.from(r.children()).forEach((function(t){var r=Gf($$6(t),e);Array.isArray(r)?r.forEach((function(e){return n.push(e)})):n.push(r);})),n}ta$5("split",(function(e,t,n){var r="0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:de$6(t,this,e,n)}:t;return [function(t,n){var o=Me$6(this),i=Ne$6(t)?void 0:et$6(t,e);return i?de$6(i,t,o,n):de$6(r,Mr$5(o),t,n)},function(e,o){var i=Pt$6(this),a=Mr$5(e);if(!ed$1){var s=n(r,i,a,o,r!==t);if(s.done)return s.value}var c=ts$1(i,RegExp),l=i.unicode,u=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(Jf$1?"g":"y"),f=new c(Jf$1?"^(?:"+i.source+")":i,u),d=void 0===o?4294967295:o>>>0;if(0===d)return [];if(0===a.length)return null===da$5(f,a)?[a]:[];for(var h=0,p=0,g=[];p<a.length;){f.lastIndex=Jf$1?0:p;var v,y=da$5(f,Jf$1?Qf$1(a,p):a);if(null===y||(v=Yf(yn$6(f.lastIndex+(Jf$1?p:0)),a.length))===h)p=ra$5(a,p,l);else {if(Xf(g,Qf$1(a,h,p)),g.length===d)return g;for(var m=1;m<=y.length-1;m++)if(Xf(g,y[m]),g.length===d)return g;p=h=v;}}return Xf(g,Qf$1(a,h)),g}]}),ed$1||!Zf$1,Jf$1);var rd$1=jl$2.fastKey,od$1=an$6.set,id$1=an$6.getterFor,ad$1={getConstructor:function(e,t,n,r){var o=e((function(e,o){Qa$2(e,i),od$1(e,{type:t,index:vo$5(null),first:null,last:null,size:0}),le$6||(e.size=0),Ne$6(o)||Nc$3(o,e[r],{that:e,AS_ENTRIES:n});})),i=o.prototype,a=id$1(t),s=function(e,t,n){var r,o,i=a(e),s=c(e,t);return s?s.value=n:(i.last=s={index:o=rd$1(t,!0),key:t,value:n,previous:r=i.last,next:null,removed:!1},i.first||(i.first=s),r&&(r.next=s),le$6?i.size++:e.size++,"F"!==o&&(i.index[o]=s)),e},c=function(e,t){var n,r=a(e),o=rd$1(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key===t)return n};return Tl$2(i,{clear:function(){for(var e=a(this),t=e.first;t;)t.removed=!0,t.previous&&(t.previous=t.previous.next=null),t=t.next;e.first=e.last=null,e.index=vo$5(null),le$6?e.size=0:this.size=0;},delete:function(e){var t=this,n=a(t),r=c(t,e);if(r){var o=r.next,i=r.previous;delete n.index[r.index],r.removed=!0,i&&(i.next=o),o&&(o.previous=i),n.first===r&&(n.first=o),n.last===r&&(n.last=i),le$6?n.size--:t.size--;}return !!r},forEach:function(e){for(var t,n=a(this),r=tr$5(e,arguments.length>1?arguments[1]:void 0);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous;},has:function(e){return !!c(this,e)}}),Tl$2(i,n?{get:function(e){var t=c(this,e);return t&&t.value},set:function(e,t){return s(this,0===e?0:e,t)}}:{add:function(e){return s(this,e=0===e?0:e,e)}}),le$6&&Ga$3(i,"size",{configurable:!0,get:function(){return a(this).size}}),o},setStrong:function(e,t,n){var r=t+" Iterator",o=id$1(t),i=id$1(r);zi$5(e,t,(function(e,t){od$1(this,{type:r,target:e,state:o(e),kind:t,last:null});}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?Hi$5("keys"===t?n.key:"values"===t?n.value:[n.key,n.value],!1):(e.target=null,Hi$5(void 0,!0))}),n?"entries":"values",!n,!0),Ya$2(t);}};Il$2("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),ad$1);var sd$1=new Set(["doctype","!doctype","meta","script","style","link","frame","iframe","title","svg"]);function cd$1(t,n){t.isInline(n)?(t.insertNode(n),"link"===n.type&&t.insertFragment([{text:""}])):Transforms.insertNodes(t,n,{mode:"highest"});}var ld$1=function(n){var c=n,l=c.onChange,u=c.insertText,d=c.apply,h=c.deleteBackward;return c.insertText=function(e){c.getConfig().readOnly||u(e);},c.apply=function(e){var n,o,i,a,s,l,u,f,h=[];switch(e.type){case"insert_text":case"remove_text":case"set_node":try{for(var p=Na$5(Editor.levels(c,{at:e.path})),g=p.next();!g.done;g=p.next()){var v=La$5(g.value,2),y=v[0],m=v[1],b=$u$3.findKey(c,y);h.push([m,b]);}}catch(e){n={error:e};}finally{try{g&&!g.done&&(o=p.return)&&o.call(p);}finally{if(n)throw n.error}}break;case"insert_node":case"remove_node":case"merge_node":case"split_node":try{for(var w=Na$5(Editor.levels(c,{at:Path.parent(e.path)})),x=w.next();!x.done;x=w.next()){var S=La$5(x.value,2);y=S[0],m=S[1],b=$u$3.findKey(c,y);h.push([m,b]);}}catch(e){i={error:e};}finally{try{x&&!x.done&&(a=w.return)&&a.call(w);}finally{if(i)throw i.error}}break;case"move_node":try{for(var E=Na$5(Editor.levels(c,{at:Path.common(Path.parent(e.path),Path.parent(e.newPath))})),O=E.next();!O.done;O=E.next()){var k=La$5(O.value,2);y=k[0],m=k[1],b=$u$3.findKey(c,y);h.push([m,b]);}}catch(e){s={error:e};}finally{try{O&&!O.done&&(l=E.return)&&l.call(E);}finally{if(s)throw s.error}}}d(e);try{for(var C=Na$5(h),T=C.next();!T.done;T=C.next()){var N=La$5(T.value,2);m=N[0],b=N[1],y=La$5(Editor.node(c,m),1)[0];ju$3.set(y,b);}}catch(e){u={error:e};}finally{try{T&&!T.done&&(f=C.return)&&f.call(C);}finally{if(u)throw u.error}}},c.deleteBackward=function(r){if("line"!==r)return h(r);if(n.selection&&Range.isCollapsed(n.selection)){var o=Editor.above(n,{match:function(e){return Editor.isBlock(n,e)},at:n.selection});if(o){var a=La$5(o,2)[1],s=Editor.range(n,a,n.selection.anchor),l=function(e,n){var r=Editor.range(e,Range.end(n)),o=Array.from(Editor.positions(e,{at:n})),a=0,s=o.length,c=Math.floor(s/2);if(ff$1(e,Editor.range(e,o[a]),r))return Editor.range(e,o[a],r);if(o.length<2)return Editor.range(e,o[o.length-1],r);for(;c!==o.length&&c!==a;)ff$1(e,Editor.range(e,o[c]),r)?s=c:a=c,c=Math.floor((a+s)/2);return Editor.range(e,o[s],r)}(c,s);Range.isCollapsed(l)||Transforms.delete(n,{at:l});}}},c.onChange=function(){var e=c.selection;null!=e&&Fu$3.set(c,e),c.emit("change"),l();},c.handleTab=function(){c.insertText(" ");},c.getHtml=function(){var e=c.children;return (void 0===e?[]:e).map((function(e){return cf$1(e,c)})).join("")},c.getText=function(){var e=c.children;return (void 0===e?[]:e).map((function(e){return Node$1.string(e)})).join("\n")},c.getSelectionText=function(){var e=c.selection;return null==e?"":Editor.string(n,e)},c.getElemsByType=function(e,n){var r,o;void 0===n&&(n=!1);var i=[],s=Editor.nodes(c,{at:[],universal:!0});try{for(var l=Na$5(s),u=l.next();!u.done;u=l.next()){var f=La$5(u.value,1)[0];if(Element$1.isElement(f))if(n?f.type.indexOf(e)>=0:f.type===e){var d=lf$1($u$3.findKey(c,f).id);i.push(Ta$5(Ta$5({},f),{id:d}));}}}catch(e){r={error:e};}finally{try{u&&!u.done&&(o=l.return)&&o.call(l);}finally{if(r)throw r.error}}return i},c.getElemsByTypePrefix=function(e){return c.getElemsByType(e,!0)},c.isEmpty=function(){var e=c.children,t=void 0===e?[]:e;if(t.length>1)return !1;var n=t[0];if(null==n)return !0;if(Element$1.isElement(n)&&"paragraph"===n.type){var r=n.children,o=void 0===r?[]:r;if(o.length>1)return !1;var i=o[0];if(null==i)return !0;if(Text.isText(i)&&""===i.text)return !0}return !1},c.clear=function(){Transforms.delete(c,{at:{anchor:Editor.start(c,[]),focus:Editor.end(c,[])}}),0===c.children.length&&Transforms.insertNodes(c,[{type:"paragraph",children:[{text:""}]}]);},c.getParentNode=function(e){return $u$3.getParentNode(c,e)},c.dangerouslyInsertHtml=function(t,n){if(void 0===t&&(t=""),void 0===n&&(n=!1),t){var r=document.createElement("div");r.innerHTML=t;var o=Array.from(r.childNodes);if(o=o.filter((function(e){var t=e.nodeType,n=e.nodeName;return t===Ic$3.TEXT_NODE||t===Ic$3.ELEMENT_NODE&&!sd$1.has(n.toLowerCase())})),0!==o.length){var i=c.selection;if(null!=i){var a=null;if($u$3.isSelectedEmptyParagraph(c)&&!n)a=[i.focus.path[0]];r.setAttribute("hidden","true"),document.body.appendChild(r);var s=0;o.forEach((function(e,t){var n=e.nodeType,r=e.nodeName,i=e.textContent,a=void 0===i?"":i;if(n!==Ic$3.TEXT_NODE)if("BR"!==r){var l=e,u=!1;if(df$1.includes(r.toLowerCase()))u=!0;else for(var d in yf$1)if(l.matches(d)){u=!0;break}if(u){var h=Gf($$6(l),c);return Array.isArray(h)?(h.forEach((function(e){return cd$1(c,e)})),s++):(cd$1(c,h),s++),void($u$3.isSelectedVoidNode(c)&&c.move(1))}var p=window.getComputedStyle(l).display;if(!$u$3.isSelectedEmptyParagraph(c)&&p.indexOf("inline")<0){if(t>=1){var g=o[t-1];"matches"in g&&g.matches("ul:not([data-w-e-type]),ol:not([data-w-e-type])")&&c.insertBreak();}c.insertBreak();}c.dangerouslyInsertHtml(l.innerHTML,!0);}else c.insertText("\n");else {if(!a||!a.trim())return;c.insertNode({text:a});}})),s&&a&&$u$3.isEmptyPath(c,a)&&Transforms.removeNodes(c,{at:a}),r.remove();}}}},c.setHtml=function(n){void 0===n&&(n="");var r=c.isDisabled(),o=c.isFocused(),i=JSON.stringify(c.selection);c.enable(),c.focus(),c.clear();var a=nd$1(c,null==n?"":n);if(Transforms.insertFragment(c,a),o||(c.deselect(),c.blur()),r&&(c.deselect(),c.disable()),c.isFocused())try{c.select(JSON.parse(i));}catch(e){c.select(Editor.start(c,[]));}},c},ud$1=function(e){return null!=e},fd$1={object:!0,function:!0,undefined:!0},dd$1=function(e){if(!function(e){return !!ud$1(e)&&hasOwnProperty.call(fd$1,typeof e)}(e))return !1;try{return !!e.constructor&&e.constructor.prototype===e}catch(e){return !1}},hd$1=/^\s*class[\s{/}]/,pd$1=Function.prototype.toString,gd$1=function(e){return !!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(e){return !1}return !dd$1(e)}(e)&&!hd$1.test(pd$1.call(e))},vd$1=function(e){return null!=e},yd$1=Object.keys,md$1=function(){try{return Object.keys("primitive"),!0}catch(e){return !1}}()?Object.keys:function(e){return yd$1(vd$1(e)?Object(e):e)},bd$1=Math.max,wd$1=function(){var e,t=Object.assign;return "function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}()?Object.assign:function(e,t){var n,r,o,i=bd$1(arguments.length,2);for(e=Object(function(e){if(!vd$1(e))throw new TypeError("Cannot use null or undefined");return e}(e)),o=function(r){try{e[r]=t[r];}catch(e){n||(n=e);}},r=1;r<i;++r)md$1(t=arguments[r]).forEach(o);if(void 0!==n)throw n;return e},xd$1=Array.prototype.forEach,Sd$1=Object.create,Ed$1=function(e){var t=Sd$1(null);return xd$1.call(arguments,(function(e){vd$1(e)&&function(e,t){var n;for(n in e)t[n]=e[n];}(Object(e),t);})),t},Od$1="razdwatrzy",kd$1=String.prototype.indexOf,Cd$1="function"==typeof Od$1.contains&&!0===Od$1.contains("dwa")&&!1===Od$1.contains("foo")?String.prototype.contains:function(e){return kd$1.call(this,e,arguments[1])>-1},Td$1=re$6((function(e){var t=e.exports=function(e,t){var n,r,o,i,a;return arguments.length<2||"string"!=typeof e?(i=t,t=e,e=null):i=arguments[2],ud$1(e)?(n=Cd$1.call(e,"c"),r=Cd$1.call(e,"e"),o=Cd$1.call(e,"w")):(n=o=!0,r=!1),a={value:t,configurable:n,enumerable:r,writable:o},i?wd$1(Ed$1(i),a):a};t.gs=function(e,t,n){var r,o,i,a;return "string"!=typeof e?(i=n,n=t,t=e,e=null):i=arguments[3],ud$1(t)?gd$1(t)?ud$1(n)?gd$1(n)||(i=n,n=void 0):n=void 0:(i=t,t=n=void 0):t=void 0,ud$1(e)?(r=Cd$1.call(e,"c"),o=Cd$1.call(e,"e")):(r=!0,o=!1),a={get:t,set:n,configurable:r,enumerable:o},i?wd$1(Ed$1(i),a):a};})),Nd$1=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e},Ld$1=re$6((function(e,t){var n,r,o,i,a,s,c,l=Function.prototype.apply,u=Function.prototype.call,f=Object.create,d=Object.defineProperty,h=Object.defineProperties,p=Object.prototype.hasOwnProperty,g={configurable:!0,enumerable:!1,writable:!0};n=function(e,t){var n;return Nd$1(t),p.call(this,"__ee__")?n=this.__ee__:(n=g.value=f(null),d(this,"__ee__",g),g.value=null),n[e]?"object"==typeof n[e]?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},r=function(e,t){var r,i;return Nd$1(t),i=this,n.call(this,e,r=function(){o.call(i,e,r),l.call(t,this,arguments);}),r.__eeOnceListener__=t,this},o=function(e,t){var n,r,o,i;if(Nd$1(t),!p.call(this,"__ee__"))return this;if(!(n=this.__ee__)[e])return this;if("object"==typeof(r=n[e]))for(i=0;o=r[i];++i)o!==t&&o.__eeOnceListener__!==t||(2===r.length?n[e]=r[i?0:1]:r.splice(i,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this},i=function(e){var t,n,r,o,i;if(p.call(this,"__ee__")&&(o=this.__ee__[e]))if("object"==typeof o){for(n=arguments.length,i=new Array(n-1),t=1;t<n;++t)i[t-1]=arguments[t];for(o=o.slice(),t=0;r=o[t];++t)l.call(r,this,i);}else switch(arguments.length){case 1:u.call(o,this);break;case 2:u.call(o,this,arguments[1]);break;case 3:u.call(o,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,i=new Array(n-1),t=1;t<n;++t)i[t-1]=arguments[t];l.call(o,this,i);}},a={on:n,once:r,off:o,emit:i},s={on:Td$1(n),once:Td$1(r),off:Td$1(o),emit:Td$1(i)},c=h({},s),e.exports=t=function(e){return null==e?f(c):h(Object(e),s)},t.methods=a;}));function Md$1(e){var t=Bu$3.get(e);return null==t&&(t=Ld$1(),Bu$3.set(e,t)),t}var Pd$1=new WeakMap;function Dd$1(e,t){var n=Pd$1.get(e);null==n&&(n=new Set,Pd$1.set(e,n)),n.add(t);}var Rd$1=function(e){var t=e;return t.on=function(e,n){var r=Md$1(t);if(r.on(e,n),"destroyed"===e&&Dd$1(t,n),"destroyed"!==e){var o=function(){return r.off(e,n)};r.on("destroyed",o),Dd$1(t,o);}},t.once=function(e,n){Md$1(t).once(e,n);},t.off=function(e,n){Md$1(t).off(e,n);},t.emit=function(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];var o=Md$1(t);if(o.emit.apply(o,Ma$3([e],La$5(n),!1)),"destroyed"===e){var i=function(e){return Pd$1.get(e)||new Set}(t);i.forEach((function(e){return o.off("destroyed",e)})),function(e){Pd$1.set(e,new Set);}(t);}},t};function jd$1(e){var t=$u$3.getTextarea(e).$textAreaContainer,n=t.width(),r=t.height(),o=t.offset();return {top:o.top,left:o.left,width:n,height:r}}function Ad$1(e){var t={top:"0",left:"0"},n=e.selection;if(null==n)return t;var r=jd$1(e);if(null==r)return t;var o=r.top,i=r.left,a=r.width,s=r.height,c=$u$3.toDOMRange(e,n).getClientRects()[0];if(null==c)return t;c.width;var l=c.height,u={},f=c.top-o,d=c.left-i;if(d>a/2){var h=a-d;u.right="".concat(h+5,"px");}else u.left="".concat(d+5,"px");if(f>s/2){var p=s-f;u.bottom="".concat(p+5,"px");}else {var g=f+l;g<0&&(g=0),u.top="".concat(g+5,"px");}return u}function Id$1(e,t,n){void 0===n&&(n="modal");var r={top:"0",left:"0"};if(null==e.selection)return r;var o=Element$1.isElement(t)&&e.isVoid(t),i=Element$1.isElement(t)&&e.isInline(t),s=Ru$3.get(t);if(null==s)return r;var c=s.getBoundingClientRect(),l=c.top,u=c.left,f=c.height,d=c.width;if(o){var h=cl$2(s);if(null!=h){var p=h.getBoundingClientRect();l=p.top,f=p.height;}}var g=jd$1(e);if(null==g)return r;var v=g.top,y=g.left,m=g.width,b=g.height,w={},x=l-v,S=u-y;if("bar"===n)return w.left="".concat(S,"px"),x>40?w.bottom="".concat(b-x+5,"px"):w.top="".concat(x+f+5,"px"),w;if("modal"===n){var E;if(o?i?S>(m-d)/2?w.right="".concat(m-S+5,"px"):w.left="".concat(S+d+5,"px"):w.left="20px":w.left="".concat(S,"px"),o)(E=x)<0&&(E=0),w.top="".concat(E,"px");else if(x>(b-f)/2)w.bottom="".concat(b-x+5,"px");else (E=x+f)<0&&(E=0),w.top="".concat(E+5,"px");return w}throw new Error("type '".concat(n,"' is invalid"))}function Fd$1(e,t){jc$3((function(){var n=jd$1(e);if(null!=n){var r,o=n.top,i=n.left,a=n.width,s=n.height,c=t.offset(),l=c.top,u=c.left,f=t.width(),d=t.height(),h=l-o,p=u-i,g=t.attr("style");if(g.indexOf("top")>=0)if((r=h+d-s)>0){var v=t.css("top"),y=parseInt(v.toString())-r;y<0&&(y=0),t.css("top","".concat(y,"px"));}if(g.indexOf("bottom")>=0&&l<0){var m=t.css("bottom"),b=parseInt(m.toString())-Math.abs(l);t.css("bottom","".concat(b,"px"));}if(g.indexOf("left")>=0)if((r=p+f-a)>0){var w=t.css("left"),x=parseInt(w.toString())-r;x<0&&(x=0),t.css("left","".concat(x,"px"));}if(g.indexOf("right")>=0&&u<0){var S=t.css("right"),E=parseInt(S.toString())-Math.abs(u);t.css("right","".concat(E,"px"));}}}));}var Bd$1=Co$5("slice"),_d$1=yt$6("species"),$d$1=Array,Wd$1=Math.max;_n$6({target:"Array",proto:!0,forced:!Bd$1},{slice:function(e,t){var n,r,o,i=Pe$6(this),a=mn$6(i),s=gn$6(e,a),c=gn$6(void 0===t?a:t,a);if(nr$5(i)&&(n=i.constructor,(ur$5(n)&&(n===$d$1||nr$5(n.prototype))||je$6(n)&&null===(n=n[_d$1]))&&(n=void 0),n===$d$1||void 0===n))return ns$1(i,s,c);for(r=new(void 0===n?$d$1:n)(Wd$1(c-s,0)),o=0;s<c;s++,o++)s in i&&Kr$5(r,o,i[s]);return r.length=o,r}});var Vd$1=Object.assign,zd$1=Object.defineProperty,Hd$1=xe$6([].concat),Ud$1=!Vd$1||ce$6((function(){if(le$6&&1!==Vd$1({b:1},Vd$1(zd$1({},"a",{enumerable:!0,get:function(){zd$1(this,"b",{value:3,enumerable:!1});}}),{b:2})).b)return !0;var e={},t={},n=Symbol("assign detection"),r="abcdefghijklmnopqrst";return e[n]=7,r.split("").forEach((function(e){t[e]=e;})),7!==Vd$1({},e)[n]||$n$6(Vd$1({},t)).join("")!==r}))?function(e,t){for(var n=st$6(e),r=arguments.length,o=1,i=Tn$6.f,a=ve$6.f;r>o;)for(var s,c=Te$6(arguments[o++]),l=i?Hd$1($n$6(c),i(c)):$n$6(c),u=l.length,f=0;u>f;)s=l[f++],le$6&&!de$6(a,c,s)||(n[s]=c[s]);return n}:Vd$1;_n$6({target:"Object",stat:!0,arity:2,forced:Object.assign!==Ud$1},{assign:Ud$1});var Kd$1=Tt$6.f,qd$1=Zn$6("".slice),Gd$1=Math.min,Jd$1=ai$5("startsWith"),Yd$1=!Jd$1&&!!function(){var e=Kd$1(String.prototype,"startsWith");return e&&!e.writable}();_n$6({target:"String",proto:!0,forced:!Yd$1&&!Jd$1},{startsWith:function(e){var t=Mr$5(Me$6(this));oi$5(e);var n=yn$6(Gd$1(arguments.length>1?arguments[1]:void 0,t.length)),r=Mr$5(e);return qd$1(t,n,n+r.length)===r}});var Xd$1=["props","attrs","style","dataset","on","hook"];function Qd$1(e){var t=e.data,n=void 0===t?{}:t,r=e.children,o=void 0===r?[]:r;Object.keys(n).forEach((function(t){var r,o,i=n[t];if("key"!==t){if(!Xd$1.includes(t)){if(t.startsWith("data-")){var a=t.slice(5);return a=lodash_camelcase(a),function(e,t){null==e.data&&(e.data={});var n=e.data;null==n.dataset&&(n.dataset={});Object.assign(n.dataset,t);}(e,((r={})[a]=i,r)),void delete n[t]}!function(e,t){null==e.data&&(e.data={});var n=e.data;null==n.props&&(n.props={});Object.assign(n.props,t);}(e,(o={},o[t]=i,o)),delete n[t];}}else e.key=i;})),o.length>0&&o.forEach((function(e){"string"!=typeof e&&Qd$1(e);}));}var Zd$1=[];function eh$1(e){Zd$1.push(e);}var th$1={};function nh$1(e){var t=e.type,n=e.renderElem;th$1[t||""]=n;}function rh$1(e,t,n){var r=n.isInline(e)?"span":"div";return jsx(r,null,t)}function oh$1(e,n){var r,i=$u$3.findKey(n,e),a=n.isInline(e),s=Editor.isVoid(n,e),c=lf$1(i.id),l={id:c,key:i.id,"data-slate-node":"element","data-slate-inline":a},u=e.type,f=e.children,d=void 0===f?[]:f,h=function(e){return th$1[e]||rh$1}(u);r=s?null:d.map((function(t,r){return ch$1(t,r,e,n)}));var p=h(e,r,n);if(s){l["data-slate-void"]=!0;var g=a?"span":"div",v=La$5(Node$1.texts(e),1),y=La$5(v[0],1)[0],m=ch$1(y,0,e,n),b=jsx(g,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},m);p=jsx(g,{style:{position:"relative"}},p,b),Nu$3.set(y,0),Lu$3.set(y,e);}return null==p.data&&(p.data={}),Object.assign(p.data,l),s||a||(p=function(e,t){var n=t;return Zd$1.forEach((function(r){n=r(e,t);})),n}(e,p)),jc$3((function(){var t=ol$2(c);null!=t&&(Du$3.set(i,t),Ru$3.set(e,t),Pu$3.set(t,e));})),p}function ih$1(e,t){return void 0===t&&(t=!1),jsx("span",{"data-slate-string":!0},t?e+"\n":e)}function ah$1(e,t){return void 0===e&&(e=0),void 0===t&&(t=!1),jsx("span",{"data-slate-zero-width":t?"n":"z","data-slate-length":e},"\ufeff",t?jsx("br",null):null)}function sh$1(e,n,i){if(null==e.text)throw new Error("Current node is not slate Text ".concat(JSON.stringify(e)));var a=$u$3.findKey(i,e),c=i.getConfig().decorate;if(null==c)throw new Error("Can not get config.decorate");var l=$u$3.findPath(i,e),u=c([e,l]),f=Text.decorations(e,u),d=f.map((function(a,s){var c=function(e,n,i,a,s){void 0===n&&(n=!1);var c=e.text,l=$u$3.findPath(s,i),u=Path.parent(l);if(Editor.isEditor(a))throw new Error("Text node ".concat(JSON.stringify(i)," parent is Editor"));return s.isVoid(a)?ah$1(Node$1.string(a).length):""!==c||a.children[a.children.length-1]!==i||s.isInline(a)||""!==Editor.string(s,u)?""===c?ah$1():n&&"\n"===c.slice(-1)?ih$1(c,!0):ih$1(c):ah$1(0,!0)}(a,s===f.length-1,e,n,i);return c=function(e,t){var n=t;return Zd$1.forEach((function(t){n=t(e,n);})),n}(a,c),jsx("span",{"data-slate-leaf":!0},c)})),h=function(e){return "w-e-text-".concat(e)}(a.id),p=jsx("span",{"data-slate-node":"text",id:h,key:a.id},d);return jc$3((function(){var t=ol$2(h);null!=t&&(Du$3.set(a,t),Ru$3.set(e,t),Pu$3.set(t,e));})),p}function ch$1(e,t,n,r){return Nu$3.set(e,t),Lu$3.set(e,n),Element$1.isElement(e)?oh$1(e,r):sh$1(e,n,r)}function lh$1(e,t){var n,r=e.$scroll,o=function(e){return "w-e-textarea-".concat(e)}(e.id),i=t.getConfig(),a=i.readOnly,s=i.autoFocus,c=function(e,t){return void 0===t&&(t=!1),h$3("div#".concat(e),{props:{contentEditable:!t}})}(o,a),l=t.children||[];c.children=l.map((function(e,n){var r=ch$1(e,n,t,t);return Qd$1(r),r}));var u=ku$3.get(e);if(null==u&&(u=!0),u){var d=function(e){return $$6('<div\n id="'.concat(e,'"\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>'))}(o);r.append(d),e.$textArea=d,n=d[0],(p=init([classModule,propsModule,styleModule,datasetModule,eventListenersModule,attributesModule]))(n,c),ku$3.set(e,!1),Cu$3.set(e,p);}else {var h=Tu$3.get(e),p=Cu$3.get(e);if(null==h||null==p)return;n=h.elm,p(h,c);}if(null!=n||null!=(n=ol$2(o))){if((u?s:t.isFocused())&&n.focus({preventScroll:!0}),u){var g=Jc$2(n);g&&Au$3.set(t,g);}Mu$3.set(t,n),Ru$3.set(t,n),Pu$3.set(n,t),Tu$3.set(e,c);}}function uh$1(e){return "object"==typeof e&&null!=e&&1===e.nodeType}function fh$1(e,t){return (!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e}function dh$1(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return fh$1(n.overflowY,t)||fh$1(n.overflowX,t)||function(e){var t=function(e){if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}}(e);return !!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return !1}function hh$1(e,t,n,r,o,i,a,s){return i<e&&a>t||i>e&&a<t?0:i<=e&&s<=n||a>=t&&s>=n?i-e-r:a>t&&s<n||i<e&&s>n?a-t+o:0}var ph$1=function(e,t){var n=window,r=t.scrollMode,o=t.block,i=t.inline,a=t.boundary,s=t.skipOverflowHiddenElements,c="function"==typeof a?a:function(e){return e!==a};if(!uh$1(e))throw new TypeError("Invalid target");for(var l,u,f=document.scrollingElement||document.documentElement,d=[],h=e;uh$1(h)&&c(h);){if((h=null==(u=(l=h).parentElement)?l.getRootNode().host||null:u)===f){d.push(h);break}null!=h&&h===document.body&&dh$1(h)&&!dh$1(document.documentElement)||null!=h&&dh$1(h,s)&&d.push(h);}for(var p=n.visualViewport?n.visualViewport.width:innerWidth,g=n.visualViewport?n.visualViewport.height:innerHeight,v=window.scrollX||pageXOffset,y=window.scrollY||pageYOffset,m=e.getBoundingClientRect(),b=m.height,w=m.width,x=m.top,S=m.right,E=m.bottom,O=m.left,k="start"===o||"nearest"===o?x:"end"===o?E:x+b/2,C="center"===i?O+w/2:"end"===i?S:O,T=[],N=0;N<d.length;N++){var L=d[N],M=L.getBoundingClientRect(),P=M.height,D=M.width,R=M.top,j=M.right,A=M.bottom,I=M.left;if("if-needed"===r&&x>=0&&O>=0&&E<=g&&S<=p&&x>=R&&E<=A&&O>=I&&S<=j)return T;var F=getComputedStyle(L),B=parseInt(F.borderLeftWidth,10),_=parseInt(F.borderTopWidth,10),$=parseInt(F.borderRightWidth,10),W=parseInt(F.borderBottomWidth,10),V=0,z=0,H="offsetWidth"in L?L.offsetWidth-L.clientWidth-B-$:0,U="offsetHeight"in L?L.offsetHeight-L.clientHeight-_-W:0,K="offsetWidth"in L?0===L.offsetWidth?0:D/L.offsetWidth:0,q="offsetHeight"in L?0===L.offsetHeight?0:P/L.offsetHeight:0;if(f===L)V="start"===o?k:"end"===o?k-g:"nearest"===o?hh$1(y,y+g,g,_,W,y+k,y+k+b,b):k-g/2,z="start"===i?C:"center"===i?C-p/2:"end"===i?C-p:hh$1(v,v+p,p,B,$,v+C,v+C+w,w),V=Math.max(0,V+y),z=Math.max(0,z+v);else {V="start"===o?k-R-_:"end"===o?k-A+W+U:"nearest"===o?hh$1(R,A,P,_,W+U,k,k+b,b):k-(R+P/2)+U/2,z="start"===i?C-I-B:"center"===i?C-(I+D/2)+H/2:"end"===i?C-j+$+H:hh$1(I,j,D,B,$+H,C,C+w,w);var G=L.scrollLeft,J=L.scrollTop;k+=J-(V=Math.max(0,Math.min(J+V/q,L.scrollHeight-P/q+U))),C+=G-(z=Math.max(0,Math.min(G+z/K,L.scrollWidth-D/K+H)));}T.push({el:L,top:V,left:z});}return T};function gh$1(e){return e===Object(e)&&0!==Object.keys(e).length}function vh$1(e,t){var n=e.isConnected||e.ownerDocument.documentElement.contains(e);if(gh$1(t)&&"function"==typeof t.behavior)return t.behavior(n?ph$1(e,t):[]);if(n){var r=function(e){return !1===e?{block:"end",inline:"nearest"}:gh$1(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach((function(e){var r=e.el,o=e.top,i=e.left;r.scroll&&n?r.scroll({top:o,left:i,behavior:t}):(r.scrollTop=o,r.scrollLeft=i);}));}(ph$1(e,r),r.behavior)}}function yh$1(e,t){return Qc$2(t)&&$u$3.hasDOMNode(e,t,{editable:!0})}function mh$1(e,n){if(e.getConfig().readOnly)return !1;var r=bh$1(e,n)&&$u$3.toSlateNode(e,n);return Editor.isVoid(e,r)}function bh$1(e,t){return Qc$2(t)&&$u$3.hasDOMNode(e,t)}function wh$1(e,t,n){void 0===n&&(n=!1);var r=t.selection,o=t.getConfig(),a=$u$3.findDocumentOrShadowRoot(t).getSelection();if(a&&(!e.isComposing||n)&&t.isFocused()){var s="None"!==a.type;if(r||s){var c=Mu$3.get(t),l=!1;if(c.contains(a.anchorNode)&&c.contains(a.focusNode)&&(l=!0),s&&l&&r){var u=$u$3.toSlateRange(t,a,{exactMatch:!0,suppressThrow:!0});if(u&&Range.equals(u,r)){var f=!0;if(Range.isCollapsed(r)){var d=a.anchorNode,h=a.anchorOffset;if(d===c){var p=c.childNodes,g=void 0;(g=p[h])&&g.matches("table")&&(f=!1),(g=p[h-1])&&g.matches("table")&&(f=!1);}}if(f)return}}if(!r||$u$3.hasRange(t,r)){e.isUpdatingSelection=!0;var v=r&&$u$3.toDOMRange(t,r);if(v){Range.isBackward(r)?a.setBaseAndExtent(v.endContainer,v.endOffset,v.startContainer,v.startOffset):a.setBaseAndExtent(v.startContainer,v.startOffset,v.endContainer,v.endOffset);var y=v.startContainer.parentElement;if(!y.closest("[data-slate-spacer]")){y.getBoundingClientRect=v.getBoundingClientRect.bind(v);var m=document.body;vh$1(y,{scrollMode:"if-needed",boundary:o.scroll?c.parentElement:m,block:"end",behavior:"smooth"}),delete y.getBoundingClientRect;}}else a.removeAllRanges();setTimeout((function(){v&&pl$2&&c.focus(),e.isUpdatingSelection=!1;}));}else t.selection=$u$3.toSlateRange(t,a,{exactMatch:!1,suppressThrow:!1});}}}var xh$1=new WeakMap,Sh$1=new WeakMap;var Eh$1={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"},Oh$1={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"},kh$1={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},Ch$1=function(e){var t=Eh$1[e],n=Oh$1[e],r=kh$1[e],o=t&&isKeyHotkey_1(t),i=n&&isKeyHotkey_1(n),a=r&&isKeyHotkey_1(r);return function(e){return !(!o||!o(e))||(!!(hl$2&&i&&i(e))||!(hl$2||!a||!a(e)))}},Th$1={isBold:Ch$1("bold"),isCompose:Ch$1("compose"),isMoveBackward:Ch$1("moveBackward"),isMoveForward:Ch$1("moveForward"),isDeleteBackward:Ch$1("deleteBackward"),isDeleteForward:Ch$1("deleteForward"),isDeleteLineBackward:Ch$1("deleteLineBackward"),isDeleteLineForward:Ch$1("deleteLineForward"),isDeleteWordBackward:Ch$1("deleteWordBackward"),isDeleteWordForward:Ch$1("deleteWordForward"),isExtendBackward:Ch$1("extendBackward"),isExtendForward:Ch$1("extendForward"),isExtendLineBackward:Ch$1("extendLineBackward"),isExtendLineForward:Ch$1("extendLineForward"),isItalic:Ch$1("italic"),isMoveLineBackward:Ch$1("moveLineBackward"),isMoveLineForward:Ch$1("moveLineForward"),isMoveWordBackward:Ch$1("moveWordBackward"),isMoveWordForward:Ch$1("moveWordForward"),isRedo:Ch$1("redo"),isSplitBlock:Ch$1("splitBlock"),isTransposeCharacter:Ch$1("transposeCharacter"),isUndo:Ch$1("undo"),isTab:Ch$1("tab"),isSelectAll:Ch$1("selectAll")};function Nh$1(e){e.preventDefault();}var Lh$1={beforeinput:function(n,r,o){var a=n,s=o.getConfig().readOnly;if(bl$2&&!s&&yh$1(o,a.target)){var c=o.selection,l=a.inputType,u=a.dataTransfer||a.data||void 0;if("insertCompositionText"!==l&&"deleteCompositionText"!==l){if(a.preventDefault(),!l.startsWith("delete")||l.startsWith("deleteBy")){var f=La$5(a.getTargetRanges(),1)[0];if(f){var d=$u$3.toSlateRange(o,f,{exactMatch:!1,suppressThrow:!1});c&&Range.equals(c,d)||Transforms.select(o,d);}}if(c&&Range.isExpanded(c)&&l.startsWith("delete")){var h=l.endsWith("Backward")?"backward":"forward";Editor.deleteFragment(o,{direction:h});}else switch(l){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":Editor.deleteFragment(o);break;case"deleteContent":case"deleteContentForward":Editor.deleteForward(o);break;case"deleteContentBackward":Editor.deleteBackward(o);break;case"deleteEntireSoftLine":Editor.deleteBackward(o,{unit:"line"}),Editor.deleteForward(o,{unit:"line"});break;case"deleteHardLineBackward":Editor.deleteBackward(o,{unit:"block"});break;case"deleteSoftLineBackward":Editor.deleteBackward(o,{unit:"line"});break;case"deleteHardLineForward":Editor.deleteForward(o,{unit:"block"});break;case"deleteSoftLineForward":Editor.deleteForward(o,{unit:"line"});break;case"deleteWordBackward":Editor.deleteBackward(o,{unit:"word"});break;case"deleteWordForward":Editor.deleteForward(o,{unit:"word"});break;case"insertLineBreak":case"insertParagraph":Editor.insertBreak(o);break;case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":if("insertFromPaste"===l&&!_u$3.get(o))break;_c$3(u)?o.insertData(u):"string"==typeof u&&Editor.insertText(o,u);}}}},blur:function(e,t,n){var r=e,o=t.isUpdatingSelection,i=t.latestElement;if(!n.getConfig().readOnly&&!o&&yh$1(n,r.target)){var s=$u$3.findDocumentOrShadowRoot(n);if(i!==s.activeElement){var c=r.relatedTarget;if(!(c===$u$3.toDOMNode(n,n)||Xc$2(c)&&c.hasAttribute("data-slate-spacer"))){if(null!=c&&Qc$2(c)&&$u$3.hasDOMNode(n,c)){var l=$u$3.toSlateNode(n,c);if(Element$1.isElement(l)&&!n.isVoid(l))return}if(gl$2){var u=s.getSelection();null==u||u.removeAllRanges();}Iu$3.delete(n);}}}},focus:function(e,t,n){var r=$u$3.toDOMNode(n,n),o=$u$3.findDocumentOrShadowRoot(n);t.latestElement=o.activeElement,pl$2&&e.target!==r?r.focus():Iu$3.set(n,!0);},click:function(n,i,a){if(!a.getConfig().readOnly&&bh$1(a,n.target)&&Qc$2(n.target)){var s=$u$3.toSlateNode(a,n.target),c=$u$3.findPath(a,s);if(Editor.hasPath(a,c))if(Node$1.get(a,c)===s){var l=Editor.start(a,c),u=Editor.end(a,c),f=Editor.void(a,{at:l}),d=Editor.void(a,{at:u});if(f&&d&&Path.equals(f[1],d[1])){var h=Editor.range(a,l);Transforms.select(a,h);}}}},compositionstart:function(e,n,r){if(yh$1(r,e.target)){var o=r.selection;if(o&&Range.isExpanded(o)&&(Editor.deleteFragment(r),Promise.resolve().then((function(){wh$1(n,r,!0);}))),o&&(Range.isExpanded(o)||Range.isCollapsed(o))){var a=$u$3.toDOMRange(r,o).startContainer,s=a.textContent||"";xh$1.set(r,s),Sh$1.set(r,a);}n.isComposing=!0,function(e,t){var n;t.getConfig().placeholder&&t.isEmpty()&&e.showPlaceholder&&(null===(n=e.$placeholder)||void 0===n||n.hide(),e.showPlaceholder=!1);}(n,r);}},compositionend:function(e,n,r){var o=e;if(yh$1(r,o.target)){n.isComposing=!1;var c=r.selection;if(null!=c){(ml$2||pl$2)&&$u$3.cleanExposedTexNodeInSelectionBlock(r);for(var l=Range.isBackward(c)?c.focus:c.anchor,u=La$5(Editor.node(r,[l.path[0]]),1)[0],f=0;f<l.path.length;f++){var d=La$5(Editor.node(r,l.path.slice(0,f+1)),1)[0];if(Element$1.isElement(d)&&((gl$2||pl$2)&&"link"===d.type||"code"===d.type)){$u$3.setNewKey(u);break}}var h=o.data;if(h){if(r.getConfig().maxLength){var p=$u$3.getLeftLengthOfMaxLength(r);if(p<h.length)$u$3.toDOMRange(r,c).startContainer.textContent=xh$1.get(r)||"",p>0&&Editor.insertText(r,h.slice(0,p)),n.changeViewState();else Editor.insertText(r,h);}else {var g=$u$3.findDocumentOrShadowRoot(r).getSelection();g&&function(e,n){if(Range.isCollapsed(n)){var r=n.anchor,o=n.focus;if(2===r.path.length&&2===o.path.length&&(0===r.offset||0===o.path.offset)){var a=Editor.node(e,r.path),c=0===r.offset?r.path:o.path,l=[c[0],c[1]-1];if(0===c[1])return !1;var u=Editor.node(e,l);if(Text.isText(u[0])&&Text.isText(a[0]))return !0}}}(r,c)&&(r.selection=$u$3.toSlateRange(r,g,{exactMatch:!1,suppressThrow:!1})),Editor.insertText(r,h);}gl$2||setTimeout((function(){var e=r.selection;if(null!=e){var t=Sh$1.get(r);if(null!=t)$u$3.toDOMRange(r,e).startContainer!==t&&(t.textContent=xh$1.get(r)||"");}}));}}}},compositionupdate:function(e,t,n){yh$1(n,e.target)&&(t.isComposing=!0);},keydown:function(n,r,s){var c=n,l=s.selection;if(!s.getConfig().readOnly&&!r.isComposing&&yh$1(s,c.target)){if(function(e,t){var n=mu$3.get(e),r=n&&n.getMenus(),o=wu$3.get(e),i=o&&o.getMenus(),a=Ta$5(Ta$5({},r),i);for(var s in a){var c=a[s],l=c.hotkey;if(l&&isHotkey_1(l,t)&&!c.isDisabled(e)){var u=c.getValue(e);c.exec(e,u);}}}(s,c),Th$1.isTab(c))return Nh$1(c),void s.handleTab();if(Th$1.isRedo(c))return Nh$1(c),void("function"==typeof s.redo&&s.redo());if(Th$1.isUndo(c))return Nh$1(c),void("function"==typeof s.undo&&s.undo());if(Th$1.isMoveLineBackward(c))return Nh$1(c),void Transforms.move(s,{unit:"line",reverse:!0});if(Th$1.isMoveLineForward(c))return Nh$1(c),void Transforms.move(s,{unit:"line"});if(Th$1.isExtendLineBackward(c))return Nh$1(c),void Transforms.move(s,{unit:"line",edge:"focus",reverse:!0});if(Th$1.isExtendLineForward(c))return Nh$1(c),void Transforms.move(s,{unit:"line",edge:"focus"});if(Th$1.isMoveBackward(c))return Nh$1(c),void(l&&Range.isCollapsed(l)?Transforms.move(s,{reverse:!0}):Transforms.collapse(s,{edge:"start"}));if(Th$1.isMoveForward(c))return Nh$1(c),void(l&&Range.isCollapsed(l)?Transforms.move(s):Transforms.collapse(s,{edge:"end"}));if(Th$1.isMoveWordBackward(c))return Nh$1(c),l&&Range.isExpanded(l)&&Transforms.collapse(s,{edge:"focus"}),void Transforms.move(s,{unit:"word",reverse:!0});if(Th$1.isMoveWordForward(c))return Nh$1(c),l&&Range.isExpanded(l)&&Transforms.collapse(s,{edge:"focus"}),void Transforms.move(s,{unit:"word"});if(Th$1.isSelectAll(c))return Nh$1(c),void s.selectAll();if(bl$2){if((ml$2||gl$2)&&l&&(Th$1.isDeleteBackward(c)||Th$1.isDeleteForward(c))&&Range.isCollapsed(l)){var u=Node$1.parent(s,l.anchor.path);if(Element$1.isElement(u)&&Editor.isVoid(s,u)&&Editor.isInline(s,u))return c.preventDefault(),void Transforms.delete(s,{unit:"block"})}}else {if(Th$1.isBold(c)||Th$1.isItalic(c)||Th$1.isTransposeCharacter(c))return void Nh$1(c);if(Th$1.isSplitBlock(c))return Nh$1(c),void Editor.insertBreak(s);if(Th$1.isDeleteBackward(c))return Nh$1(c),void(l&&Range.isExpanded(l)?Editor.deleteFragment(s,{direction:"backward"}):Editor.deleteBackward(s));if(Th$1.isDeleteForward(c))return Nh$1(c),void(l&&Range.isExpanded(l)?Editor.deleteFragment(s,{direction:"forward"}):Editor.deleteForward(s));if(Th$1.isDeleteLineBackward(c))return Nh$1(c),void(l&&Range.isExpanded(l)?Editor.deleteFragment(s,{direction:"backward"}):Editor.deleteBackward(s,{unit:"line"}));if(Th$1.isDeleteLineForward(c))return Nh$1(c),void(l&&Range.isExpanded(l)?Editor.deleteFragment(s,{direction:"forward"}):Editor.deleteForward(s,{unit:"line"}));if(Th$1.isDeleteWordBackward(c))return Nh$1(c),void(l&&Range.isExpanded(l)?Editor.deleteFragment(s,{direction:"backward"}):Editor.deleteBackward(s,{unit:"word"}));if(Th$1.isDeleteWordForward(c))return Nh$1(c),void(l&&Range.isExpanded(l)?Editor.deleteFragment(s,{direction:"forward"}):Editor.deleteForward(s,{unit:"word"}))}}},keypress:function(e,n,r){if(!bl$2&&!r.getConfig().readOnly&&yh$1(r,e.target)){e.preventDefault();var o=e.key;Editor.insertText(r,o);}},copy:function(e,t,n){var r=e;if(yh$1(n,r.target)){r.preventDefault();var o=r.clipboardData;null!=o&&n.setFragmentData(o);}},cut:function(n,r,a){var s=n,c=a.selection;if(!a.getConfig().readOnly&&yh$1(a,s.target)){s.preventDefault();var l=s.clipboardData;if(null!=l&&(a.setFragmentData(l),c))if(Range.isExpanded(c))Editor.deleteFragment(a);else {var u=Node$1.parent(a,c.anchor.path);Editor.isVoid(a,u)&&Transforms.delete(a);}}},paste:function(e,t,n){_u$3.set(n,!0);var r=e;if(!n.getConfig().readOnly&&yh$1(n,r.target)){var o=n.getConfig().customPaste;if(o)if(!1===o(n,r))return void _u$3.set(n,!1);if(!bl$2||tl$2(r)){r.preventDefault();var i=r.clipboardData;null!=i&&n.insertData(i);}}},dragover:function(e,n,r){if(bh$1(r,e.target)){var o=$u$3.toSlateNode(r,e.target);Editor.isVoid(r,o)&&e.preventDefault();}},dragstart:function(n,r,o){var i=n;if(bh$1(o,i.target)&&!o.getConfig().readOnly){var a=$u$3.toSlateNode(o,i.target),s=$u$3.findPath(o,a);if(Editor.isVoid(o,a)||Editor.void(o,{at:s,voids:!0})){var c=Editor.range(o,s);Transforms.select(o,c);}var l=i.dataTransfer;null!=l&&(r.isDraggingInternally=!0,o.setFragmentData(l));}},dragend:function(e,t,n){var r=e;n.getConfig().readOnly||t.isDraggingInternally&&bh$1(n,r.target)&&(t.isDraggingInternally=!1);},drop:function(t,n,r){var o=t,i=o.dataTransfer;if(!r.getConfig().readOnly&&bh$1(r,o.target)&&null!=i&&!(bl$2&&gl$2&&i.files.length>0)){o.preventDefault();var a=r.selection,s=$u$3.findEventRange(r,o);Transforms.select(r,s),n.isDraggingInternally&&(a&&Transforms.delete(r,{at:a}),n.isDraggingInternally=!1),r.insertData(i),r.isFocused()||r.focus();}}},Mh$1=1,Ph$1=function(){function t(t){var n=this;this.id=Mh$1++,this.$textArea=null,this.$progressBar=$$6('<div class="w-e-progress-bar"></div>'),this.$maxLengthInfo=$$6('<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=lodash_throttle((function(){var t=n.editorInstance;!function(t,n){var r=t.isComposing,o=t.isUpdatingSelection,i=t.isDraggingInternally;if(!(n.getConfig().readOnly||r||o||i)){var a=$u$3.findDocumentOrShadowRoot(n),s=a.activeElement,c=$u$3.toDOMNode(n,n),l=a.getSelection();if(s!==c)return Iu$3.delete(n),void Transforms.deselect(n);if(t.latestElement=s,Iu$3.set(n,!0),!l)return Transforms.deselect(n);var u=l.anchorNode,f=l.focusNode,d=yh$1(n,u)||mh$1(n,u),h=yh$1(n,f)||mh$1(n,f);if(d&&h){var p=$u$3.toSlateRange(n,l,{exactMatch:!1,suppressThrow:!1});Transforms.select(n,p);}}}(n,t);}),100);var r=$$6(t);if(0===r.length)throw new Error("Cannot find textarea DOM by selector '".concat(t,"'"));this.$box=r;var o=$$6('<div class="w-e-text-container"></div>');o.append(this.$progressBar),o.append(this.$maxLengthInfo),r.append(o);var i=$$6('<div class="w-e-scroll"></div>');o.append(i),this.$scroll=i,this.$textAreaContainer=o,jc$3((function(){var e=n.editorInstance,t=$u$3.getWindow(e);t.document.addEventListener("selectionchange",n.onDOMSelectionChange),e.on("destroyed",(function(){t.document.removeEventListener("selectionchange",n.onDOMSelectionChange);})),o.on("click",(function(){return e.hidePanelOrModal()})),e.on("change",n.changeViewState.bind(n));var i=e.getConfig(),a=i.onChange,s=i.scroll;a&&e.on("change",(function(){return a(e)})),s||(r.css("position","relative"),o.addClass("no-scroll")),n.onFocusAndOnBlur(),e.on("change",n.changeMaxLengthInfo.bind(n)),n.bindEvent();}));}return Object.defineProperty(t.prototype,"editorInstance",{get:function(){var e=vu$4.get(this);if(null==e)throw new Error("Can not get editor instance");return e},enumerable:!1,configurable:!0}),t.prototype.bindEvent=function(){var e=this,t=this.$textArea,n=this.$scroll,r=this.editorInstance;null!=t&&(lodash_foreach(Lh$1,(function(n,o){t.on(o,(function(t){n(t,e,r);}));})),r.getConfig().scroll&&(n.css("overflow-y","auto"),n.on("scroll",lodash_throttle((function(){r.emit("scroll");}),100))));},t.prototype.onFocusAndOnBlur=function(){var e=this,t=this.editorInstance,n=t.getConfig(),r=n.onBlur,o=n.onFocus;this.latestEditorSelection=t.selection,t.on("change",(function(){null==e.latestEditorSelection&&null!=t.selection?setTimeout((function(){return o&&o(t)})):null!=e.latestEditorSelection&&null==t.selection&&setTimeout((function(){return r&&r(t)})),e.latestEditorSelection=t.selection;}));},t.prototype.changeMaxLengthInfo=function(){var e=this.editorInstance,t=e.getConfig().maxLength;if(t){var n=t-$u$3.getLeftLengthOfMaxLength(e);this.$maxLengthInfo[0].innerHTML="".concat(n,"/").concat(t);}},t.prototype.changeProgress=function(e){var t=this.$progressBar;t.css("width","".concat(e,"%")),e>=100&&setTimeout((function(){t.hide(),t.css("width","0"),t.show();}),1e3);},t.prototype.changeViewState=function(){var e=this,t=this.editorInstance;lh$1(this,t),function(e,t){var n,r=t.getConfig().placeholder;if(r){var o=t.isEmpty();if(o&&!e.showPlaceholder&&!e.isComposing){if(null==e.$placeholder){var i=$$6('<div class="w-e-text-placeholder">'.concat(r,"</div>"));e.$textAreaContainer.append(i),e.$placeholder=i;}return e.$placeholder.show(),void(e.showPlaceholder=!0)}!o&&e.showPlaceholder&&(null===(n=e.$placeholder)||void 0===n||n.hide(),e.showPlaceholder=!1);}}(this,t),jc$3((function(){wh$1(e,t);}));},t.prototype.destroy=function(){this.$textAreaContainer.remove();},t}();ta$5("match",(function(e,t,n){return [function(t){var n=Me$6(this),r=Ne$6(t)?void 0:et$6(t,e);return r?de$6(r,t,n):new RegExp(t)[e](Mr$5(n))},function(e){var r=Pt$6(this),o=Mr$5(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return da$5(r,o);var a=r.unicode;r.lastIndex=0;for(var s,c=[],l=0;null!==(s=da$5(r,o));){var u=Mr$5(s[0]);c[l]=u,""===u&&(r.lastIndex=ra$5(o,yn$6(r.lastIndex),a)),l++;}return 0===l?null:c}]}));function Dh$1(e){if(e.removeAttr){e.removeAttr("width"),e.removeAttr("height"),e.removeAttr("fill"),e.removeAttr("class"),e.removeAttr("t"),e.removeAttr("p-id");var t=e.children();t.length&&Dh$1(t);}}function Rh$1(){return $$6('<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 jh$1(){return $$6('<div class="w-e-bar-divider"></div>')}function Ah$1(e,t,n,r,o){if(void 0===r&&(r=""),void 0===o&&(o=!1),t){if(r){var i=hl$2?"cmd":"ctrl";r=r.replace("mod",i);}if(o)r&&(e.attr("data-tooltip",r),e.addClass("w-e-menu-tooltip-v5"),e.addClass("tooltip-right"));else {var a=r?"".concat(n,"\n").concat(r):n;e.attr("data-tooltip",a),e.addClass("w-e-menu-tooltip-v5");}}}var Ih$1=function(){function e(e,t,n){void 0===n&&(n=!1);var r=this;this.$elem=$$6('<div class="w-e-bar-item"></div>'),this.$button=$$6('<button type="button"></button>'),this.disabled=!1,this.menu=t;var o=t.tag,i=t.width;if("button"!==o)throw new Error("Invalid tag '".concat(o,"', expected 'button'"));var a=t.title,s=t.hotkey,c=void 0===s?"":s,l=t.iconSvg,u=void 0===l?"":l,d=this.$button;if(u){var h=$$6(u);Dh$1(h),d.append(h);}else d.text(a);Ah$1(d,u,a,c,n),n&&u&&d.append($$6('<span class="title">'.concat(a,"</span>"))),i&&d.css("width","".concat(i,"px")),d.attr("data-menu-key",e),this.$elem.append(d),jc$3((function(){return r.init()}));}return e.prototype.init=function(){var e=this;this.setActive(),this.setDisabled(),this.$button.on("click",(function(t){t.preventDefault(),Yh$1(e).hidePanelOrModal(),e.disabled||(e.exec(),e.onButtonClick());}));},e.prototype.exec=function(){var e=Yh$1(this),t=this.menu,n=t.getValue(e);this.setIcon(),this.setTooltip(),t.exec(e,n);},e.prototype.setActive=function(){var e=Yh$1(this),t=this.$button,n="active";this.menu.isActive(e)?t.addClass(n):t.removeClass(n);},e.prototype.setDisabled=function(){var e=Yh$1(this),t=this.$button,n=this.menu.isDisabled(e);(null==e.selection||e.isDisabled())&&(n=!0),this.menu.alwaysEnable&&(n=!1);var r="disabled";n?t.addClass(r):t.removeClass(r),this.disabled=n;},e.prototype.setIcon=function(){var e=Yh$1(this),t=this.$button;if(this.menu.getIcon){var n=this.menu.getIcon(e);if(n){t.find("svg").remove();var r=$$6(n);Dh$1(r),t.append(r);}}},e.prototype.setTooltip=function(){var e=Yh$1(this),t=this.$button;if(this.menu.getTitle){var n=this.menu.getTitle(e),r=this.menu.iconSvg;n&&r&&Ah$1(t,r,n);}},e.prototype.changeMenuState=function(){this.setActive(),this.setDisabled();},e}(),Fh$1=function(e){function t(t,n,r){return void 0===r&&(r=!1),e.call(this,t,n,r)||this}return Ca$5(t,e),t.prototype.onButtonClick=function(){},t}(Ih$1),Bh$1=function(){function e(e){this.isShow=!1,this.showTime=0,this.record(e);}return e.prototype.record=function(e){var t=Su$3.get(e);null==t&&(t=new Set,Su$3.set(e,t)),t.add(this),Eu$3.set(this,e);},e.prototype.renderContent=function(e){var t=this.$elem;t.empty(),t.append(e);var n=this.genSelfElem();n&&t.append(n);},e.prototype.appendTo=function(e){var t=this.$elem;e.append(t);},e.prototype.show=function(){if(!this.isShow){this.showTime=Date.now(),this.$elem.show(),this.isShow=!0;var e=Eu$3.get(this);e&&e.emit("modalOrPanelShow",this);}},e.prototype.hide=function(){if(this.isShow&&!(Date.now()-this.showTime<200)){this.$elem.hide(),this.isShow=!1;var e=Eu$3.get(this);e&&e.emit("modalOrPanelHide");}},e}(),_h$1=function(e){function t(t){var n=e.call(this,t)||this;return n.type="dropPanel",n.$elem=$$6('<div class="w-e-drop-panel"></div>'),n}return Ca$5(t,e),t.prototype.genSelfElem=function(){return null},t}(Bh$1),$h$1=function(e){function t(t,n,r){void 0===r&&(r=!1);var o=e.call(this,t,n,r)||this;if(o.dropPanel=null,o.menu=n,n.showDropPanel){var i=Rh$1();o.$button.append(i);}return o}return Ca$5(t,e),t.prototype.onButtonClick=function(){this.menu.showDropPanel&&this.handleDropPanel();},t.prototype.handleDropPanel=function(){var e=this.menu;if(null!=e.getPanelContentElem){var t=Yh$1(this);if(null==this.dropPanel){var n=new _h$1(t),r=e.getPanelContentElem(t);n.renderContent(r),n.appendTo(this.$elem),n.show(),this.dropPanel=n;}else {var o=this.dropPanel;if(o.isShow)o.hide();else {r=e.getPanelContentElem(t);o.renderContent(r),o.show();}}var i=this.dropPanel;if(i.isShow){var a=this.$elem,s=a.offset().left,c=a.parents(".w-e-bar");s-c.offset().left>=c.width()/2?i.$elem.css({left:"none",right:"0"}):i.$elem.css({left:"0",right:"none"});}}},t}(Ih$1),Wh$1=function(e){function t(t,n){void 0===n&&(n=0);var r=e.call(this,t)||this;r.type="modal",r.$elem=$$6('<div class="w-e-modal"></div>'),r.width=0,n&&(r.width=n);var o=r.$elem;return o.on("click",(function(e){return e.stopPropagation()})),o.on("keyup",(function(e){"Escape"===e.code&&(r.hide(),t.restoreSelection());})),r}return Ca$5(t,e),t.prototype.genSelfElem=function(){var e=this,t=$$6('<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>")),n=Eu$3.get(this);return t.on("click",(function(){e.hide(),null==n||n.restoreSelection();})),t},t.prototype.setStyle=function(e){var t=this.width,n=this.$elem;n.attr("style",""),t&&n.css("width","".concat(t,"px")),n.css(e);},t}(Bh$1);function Vh$1(e,t,n){var r=$$6('<label class="babel-container"></label>');r.append("<span>".concat(e,"</span>"));var o=$$6('<input type="text" id="'.concat(t,'" placeholder="').concat(n||"",'">'));return r.append(o),[r[0],o[0]]}function zh$1(e,t,n){var r=$$6('<label class="babel-container"></label>');r.append("<span>".concat(e,"</span>"));var o=$$6('<textarea type="text" id="'.concat(t,'" placeholder="').concat(n||"",'"></textarea>'));return r.append(o),[r[0],o[0]]}function Hh$1(e,t){var n=$$6('<div class="button-container"></div>'),r=$$6('<button type="button" id="'.concat(e,'">').concat(t,"</button>"));return n.append(r),[n[0],r[0]]}var Uh$1=function(e){function t(t,n,r){void 0===r&&(r=!1);var o=e.call(this,t,n,r)||this;return o.$body=$$6("body"),o.modal=null,o.menu=n,o}return Ca$5(t,e),t.prototype.onButtonClick=function(){this.menu.showModal&&this.handleModal();},t.prototype.getPosition=function(){var e=Yh$1(this),t=this.menu.getModalPositionNode(e);return Element$1.isElement(t)?Id$1(e,t,"modal"):Ad$1(e)},t.prototype.handleModal=function(){var e=Yh$1(this),t=this.menu;if(null==this.modal){var n=new Wh$1(e,t.modalWidth);this.renderAndShowModal(n,!0),this.modal=n;}else {(n=this.modal).isShow?n.hide():this.renderAndShowModal(n,!1);}},t.prototype.renderAndShowModal=function(e,t){void 0===t&&(t=!1);var n=Yh$1(this),r=this.menu;if(null!=r.getModalContentElem){var o=$u$3.getTextarea(n),i=$u$3.getToolbar(n),a=((null==i?void 0:i.getConfig())||{}).modalAppendToBody,s=r.getModalContentElem(n);if(e.renderContent(s),a)e.setStyle({left:"0",right:"0"});else {var c=this.getPosition();e.setStyle(c);}t&&(a?e.appendTo(this.$body):e.appendTo(o.$textAreaContainer)),e.show(),a||Fd$1(n,e.$elem),setTimeout((function(){n.blur();}));}},t}(Ih$1);var Kh$1=function(e){function t(t,n){var r=e.call(this,t)||this;return r.type="selectList",r.$elem=$$6('<div class="w-e-select-list"></div>'),n&&r.$elem.css("width","".concat(n,"px")),r.$elem.on("click",(function(e){e.stopPropagation();})),r}return Ca$5(t,e),t.prototype.renderList=function(e){var t=this.$elem;t.empty();var n=$$6("<ul></ul>");e.forEach((function(e){var t=e.value,r=e.text,o=e.selected,i=e.styleForRenderMenuList,a=$$6('<li data-value="'.concat(t,'"></li>'));if(i&&a.css(i),o){var s=$$6('<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>');a.append(s),a.addClass("selected");}a.append($$6('<span data-value="'.concat(t,'">').concat(r,"</span>"))),a.attr("title",r),n.append(a);})),t.append(n);},t.prototype.genSelfElem=function(){return null},t}(Bh$1);var qh$1=function(){function e(e,t,n){void 0===n&&(n=!1);var r=this;this.$elem=$$6('<div class="w-e-bar-item"></div>'),this.$button=$$6('<button type="button" class="select-button"></button>'),this.disabled=!1,this.selectList=null;var o=t.tag,i=t.title,a=t.width,s=t.iconSvg,c=void 0===s?"":s,l=t.hotkey,u=void 0===l?"":l;if("select"!==o)throw new Error("Invalid tag '".concat(o,"', expected 'select'"));var d=this.$button;a&&d.css("width","".concat(a,"px")),d.attr("data-menu-key",e),Ah$1(d,c,i,u,n),this.$elem.append(d),this.menu=t,jc$3((function(){return r.init()}));}return e.prototype.init=function(){var e=this;this.setSelectedValue(),this.$button.on("click",(function(t){t.preventDefault(),Yh$1(e).hidePanelOrModal(),e.trigger();}));},e.prototype.trigger=function(){var e=this,t=Yh$1(this);if(!t.isDisabled()&&!this.disabled){var n=this.menu;if(null==this.selectList){this.selectList=new Kh$1(t,n.selectPanelWidth);var r=this.selectList,o=n.getOptions(t);r.renderList(o),r.appendTo(this.$elem),r.show(),r.$elem.on("click","li",(function(t){var n=t.target;if(null!=n){t.preventDefault();var r=$$6(n).attr("data-value");e.onChange(r);}}));}else {if((r=this.selectList).isShow)r.hide();else {o=n.getOptions(t);r.renderList(o),r.show();}}}},e.prototype.onChange=function(e){var t=Yh$1(this),n=this.menu;n.exec&&n.exec(t,e);},e.prototype.setSelectedValue=function(){var e=Yh$1(this),t=this.menu,n=t.getValue(e),r=function(e,t){for(var n=e.length,r="",o=0;o<n;o++){var i=e[o];if(i.value===t){r=i.text;break}}return r}(t.getOptions(e),n.toString()),o=this.$button,i=Rh$1();o.empty(),o.text(r),o.append(i);},e.prototype.setDisabled=function(){var e=Yh$1(this),t=this.menu.isDisabled(e),n=this.$button;(null==e.selection||e.isDisabled())&&(t=!0);var r="disabled";t?n.addClass(r):n.removeClass(r),this.disabled=t;},e.prototype.changeMenuState=function(){this.setSelectedValue(),this.setDisabled();},e}(),Gh$1=function(){function e(e){this.$elem=$$6('<div class="w-e-bar-item w-e-bar-item-group"></div>'),this.$container=$$6('<div class="w-e-bar-item-menus-container"></div>'),this.$button=$$6('<button type="button"></button>');var t=e.key,n=e.iconSvg,r=e.title,o=this.$elem,i=this.$button;if(n){var a=$$6(n);Dh$1(a),i.append(a);}else i.text(r);i.attr("data-menu-key",t);var s=Rh$1();i.append(s),o.append(i);var c=this.$container;o.append(c);var l=this.createObserver();this.observe(l);}return e.prototype.appendBarItem=function(e){var t=e.$elem;this.$container.append(t);},e.prototype.observe=function(e){var t=this.$container;e.observe(t[0],{childList:!0,subtree:!0,attributes:!0});},e.prototype.createObserver=function(){var e=this,t=this.$container,n=this.$button,r=new MutationObserver((function(){var o=t.find("button"),i=o.length;if(0!==i){var a=0;o.each((function(e){$$6(e).hasClass("disabled")&&a++;})),r.disconnect(),a===i?n.addClass("disabled"):n.removeClass("disabled"),e.observe(r);}}));return r},e}(),Jh$1=new WeakMap;function Yh$1(e){var t=xu$3.get(e);if(null==t)throw new Error("Can not get editor instance");return t}function Xh$1(e,t,n){void 0===n&&(n=!1);var r=Jh$1.get(t);if(r)return r;var o=t.tag;if("button"===o){var i=t.showDropPanel,a=t.showModal;r=i?new $h$1(e,t,n):a?new Uh$1(e,t,n):new Fh$1(e,t,n);}if("select"===o&&(r=new qh$1(e,t,n)),null==r)throw new Error("Invalid tag in menu ".concat(JSON.stringify(t)));return Jh$1.set(t,r),r}function Qh$1(e){return Qh$1="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Qh$1(e)}function Zh$1(e){var t=function(e,t){if("object"!=Qh$1(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Qh$1(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return ("string"===t?String:Number)(e)}(e,"string");return "symbol"==Qh$1(t)?t:t+""}function ep$1(e,t,n){return (t=Zh$1(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function tp$1(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?Object(arguments[t]):{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&r.push.apply(r,Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach((function(t){ep$1(e,t,n[t]);}));}return e}function np$1(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function rp$1(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Zh$1(r.key),r);}}function op$1(e,t,n){return t&&rp$1(e.prototype,t),n&&rp$1(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function ip$1(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ap$1(e,t){if(t&&("object"==Qh$1(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ip$1(e)}function sp$1(e){return sp$1=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},sp$1(e)}function cp$1(e,t){return cp$1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},cp$1(e,t)}function lp$1(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&cp$1(e,t);}var up={type:"logger",log:function(e){this.output("log",e);},warn:function(e){this.output("warn",e);},error:function(e){this.output("error",e);},output:function(e,t){console&&console[e]&&console[e].apply(console,t);}},fp$1=new(function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};np$1(this,e),this.init(t,n);}return op$1(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||up,this.options=t,this.debug=t.debug;}},{key:"setDebug",value:function(e){this.debug=e;}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,tp$1({},{prefix:"".concat(this.prefix,":").concat(t,":")},this.options))}}]),e}()),dp$1=function(){function e(){np$1(this,e),this.observers={};}return op$1(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach((function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t);})),this}},{key:"off",value:function(e,t){this.observers[e]&&(t?this.observers[e]=this.observers[e].filter((function(e){return e!==t})):delete this.observers[e]);}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.observers[e]&&[].concat(this.observers[e]).forEach((function(e){e.apply(void 0,n);}));this.observers["*"]&&[].concat(this.observers["*"]).forEach((function(t){t.apply(t,[e].concat(n));}));}}]),e}();function hp$1(){var e,t,n=new Promise((function(n,r){e=n,t=r;}));return n.resolve=e,n.reject=t,n}function pp$1(e){return null==e?"":""+e}function gp$1(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function o(){return !e||"string"==typeof e}for(var i="string"!=typeof t?[].concat(t):t.split(".");i.length>1;){if(o())return {};var a=r(i.shift());!e[a]&&n&&(e[a]=new n),e=Object.prototype.hasOwnProperty.call(e,a)?e[a]:{};}return o()?{}:{obj:e,k:r(i.shift())}}function vp$1(e,t,n){var r=gp$1(e,t,Object);r.obj[r.k]=n;}function yp$1(e,t){var n=gp$1(e,t),r=n.obj,o=n.k;if(r)return r[o]}function mp$1(e,t,n){var r=yp$1(e,n);return void 0!==r?r:yp$1(t,n)}function bp$1(e,t,n){for(var r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):bp$1(e[r],t[r],n):e[r]=t[r]);return e}function wp$1(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var xp$1={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function Sp$1(e){return "string"==typeof e?e.replace(/[&<>"'\/]/g,(function(e){return xp$1[e]})):e}var Ep$1="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1;function Op$1(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var r=t.split(n),o=e,i=0;i<r.length;++i){if(!o)return;if("string"==typeof o[r[i]]&&i+1<r.length)return;if(void 0===o[r[i]]){for(var a=2,s=r.slice(i,i+a).join(n),c=o[s];void 0===c&&r.length>i+a;)a++,c=o[s=r.slice(i,i+a).join(n)];if(void 0===c)return;if("string"==typeof c)return c;if(s&&"string"==typeof c[s])return c[s];var l=r.slice(i+a).join(n);return l?Op$1(c,l,n):void 0}o=o[r[i]];}return o}}var kp$1=function(){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return np$1(this,e),n=ap$1(this,sp$1(e).call(this)),Ep$1&&dp$1.call(ip$1(n)),n.data=t||{},n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),void 0===n.options.ignoreJSONStructure&&(n.options.ignoreJSONStructure=!0),n}return lp$1(e,dp$1),op$1(e,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e);}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1);}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure,a=[e,t];n&&"string"!=typeof n&&(a=a.concat(n)),n&&"string"==typeof n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."));var s=yp$1(this.data,a);return s||!i||"string"!=typeof n?s:Op$1(this.data&&this.data[e]&&this.data[e][t],n,o)}},{key:"addResource",value:function(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},i=this.options.keySeparator;void 0===i&&(i=".");var a=[e,t];n&&(a=a.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(r=t,t=(a=e.split("."))[1]),this.addNamespaces(t),vp$1(this.data,a,r),o.silent||this.emit("added",e,t,n,r);}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var o in n)"string"!=typeof n[o]&&"[object Array]"!==Object.prototype.toString.apply(n[o])||this.addResource(e,t,o,n[o],{silent:!0});r.silent||this.emit("added",e,t,n);}},{key:"addResourceBundle",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(r=n,n=t,t=(a=e.split("."))[1]),this.addNamespaces(t);var s=yp$1(this.data,a)||{};r?bp$1(s,n,o):s=tp$1({},s,n),vp$1(this.data,a,s),i.silent||this.emit("added",e,t,n);}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t);}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?tp$1({},{},this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"toJSON",value:function(){return this.data}}]),e}(),Cp$1={processors:{},addPostProcessor:function(e){this.processors[e.name]=e;},handle:function(e,t,n,r,o){var i=this;return e.forEach((function(e){i.processors[e]&&(t=i.processors[e].process(t,n,r,o));})),t}},Tp$1={},Np$1=function(){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return np$1(this,e),n=ap$1(this,sp$1(e).call(this)),Ep$1&&dp$1.call(ip$1(n)),function(e,t,n){e.forEach((function(e){t[e]&&(n[e]=t[e]);}));}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,ip$1(n)),n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n.logger=fp$1.create("translator"),n}return lp$1(e,dp$1),op$1(e,[{key:"changeLanguage",value:function(e){e&&(this.language=e);}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return !1;var n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,o=t.ns||this.options.defaultNS;if(n&&e.indexOf(n)>-1){var i=e.match(this.interpolator.nestingRegexp);if(i&&i.length>0)return {key:e,namespaces:o};var a=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(a[0])>-1)&&(o=a.shift()),e=a.join(r);}return "string"==typeof o&&(o=[o]),{key:e,namespaces:o}}},{key:"translate",value:function(t,n,r){var o=this;if("object"!==Qh$1(n)&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),n||(n={}),null==t)return "";Array.isArray(t)||(t=[String(t)]);var i=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,a=this.extractFromKey(t[t.length-1],n),s=a.key,c=a.namespaces,l=c[c.length-1],u=n.lng||this.language,f=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&"cimode"===u.toLowerCase()){if(f){var d=n.nsSeparator||this.options.nsSeparator;return l+d+s}return s}var h=this.resolve(t,n),p=h&&h.res,g=h&&h.usedKey||s,v=h&&h.exactUsedKey||s,y=Object.prototype.toString.apply(p),m=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,b=!this.i18nFormat||this.i18nFormat.handleAsObject;if(b&&p&&("string"!=typeof p&&"boolean"!=typeof p&&"number"!=typeof p)&&["[object Number]","[object Function]","[object RegExp]"].indexOf(y)<0&&("string"!=typeof m||"[object Array]"!==y)){if(!n.returnObjects&&!this.options.returnObjects)return this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,p,tp$1({},n,{ns:c})):"key '".concat(s," (").concat(this.language,")' returned an object instead of string.");if(i){var w="[object Array]"===y,x=w?[]:{},S=w?v:g;for(var E in p)if(Object.prototype.hasOwnProperty.call(p,E)){var O="".concat(S).concat(i).concat(E);x[E]=this.translate(O,tp$1({},n,{joinArrays:!1,ns:c})),x[E]===O&&(x[E]=p[E]);}p=x;}}else if(b&&"string"==typeof m&&"[object Array]"===y)(p=p.join(m))&&(p=this.extendTranslation(p,t,n,r));else {var k=!1,C=!1,T=void 0!==n.count&&"string"!=typeof n.count,N=e.hasDefaultValue(n),L=T?this.pluralResolver.getSuffix(u,n.count):"",M=n["defaultValue".concat(L)]||n.defaultValue;!this.isValidLookup(p)&&N&&(k=!0,p=M),this.isValidLookup(p)||(C=!0,p=s);var P=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&C?void 0:p,D=N&&M!==p&&this.options.updateMissing;if(C||k||D){if(this.logger.log(D?"updateKey":"missingKey",u,l,s,D?M:p),i){var R=this.resolve(s,tp$1({},n,{keySeparator:!1}));R&&R.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");}var j=[],A=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&A&&A[0])for(var I=0;I<A.length;I++)j.push(A[I]);else "all"===this.options.saveMissingTo?j=this.languageUtils.toResolveHierarchy(n.lng||this.language):j.push(n.lng||this.language);var F=function(e,t,r){o.options.missingKeyHandler?o.options.missingKeyHandler(e,l,t,D?r:P,D,n):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(e,l,t,D?r:P,D,n),o.emit("missingKey",e,l,t,p);};this.options.saveMissing&&(this.options.saveMissingPlurals&&T?j.forEach((function(e){o.pluralResolver.getSuffixes(e).forEach((function(t){F([e],s+t,n["defaultValue".concat(t)]||M);}));})):F(j,s,M));}p=this.extendTranslation(p,t,n,h,r),C&&p===s&&this.options.appendNamespaceToMissingKey&&(p="".concat(l,":").concat(s)),(C||k)&&this.options.parseMissingKeyHandler&&(p=this.options.parseMissingKeyHandler(p));}return p}},{key:"extendTranslation",value:function(e,t,n,r,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(tp$1({},n,{interpolation:tp$1({},this.options.interpolation,n.interpolation)}));var a,s=n.interpolation&&n.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables;if(s){var c=e.match(this.interpolator.nestingRegexp);a=c&&c.length;}var l=n.replace&&"string"!=typeof n.replace?n.replace:n;if(this.options.interpolation.defaultVariables&&(l=tp$1({},this.options.interpolation.defaultVariables,l)),e=this.interpolator.interpolate(e,l,n.lng||this.language,n),s){var u=e.match(this.interpolator.nestingRegexp);a<(u&&u.length)&&(n.nest=!1);}!1!==n.nest&&(e=this.interpolator.nest(e,(function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];return o&&o[0]===r[0]&&!n.context?(i.logger.warn("It seems you are nesting recursively key: ".concat(r[0]," in key: ").concat(t[0])),null):i.translate.apply(i,r.concat([t]))}),n)),n.interpolation&&this.interpolator.reset();}var f=n.postProcess||this.options.postProcess,d="string"==typeof f?[f]:f;return null!=e&&d&&d.length&&!1!==n.applyPostProcessor&&(e=Cp$1.handle(d,e,t,this.options&&this.options.postProcessPassResolved?tp$1({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,o,i,a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return "string"==typeof e&&(e=[e]),e.forEach((function(e){if(!a.isValidLookup(t)){var c=a.extractFromKey(e,s),l=c.key;n=l;var u=c.namespaces;a.options.fallbackNS&&(u=u.concat(a.options.fallbackNS));var f=void 0!==s.count&&"string"!=typeof s.count,d=void 0!==s.context&&("string"==typeof s.context||"number"==typeof s.context)&&""!==s.context,h=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);u.forEach((function(e){a.isValidLookup(t)||(i=e,!Tp$1["".concat(h[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(i)&&(Tp$1["".concat(h[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for languages "').concat(h.join(", "),'" won\'t get resolved as namespace "').concat(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!!!")),h.forEach((function(n){if(!a.isValidLookup(t)){o=n;var i,c,u=l,h=[u];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(h,l,n,e,s);else f&&(i=a.pluralResolver.getSuffix(n,s.count)),f&&d&&h.push(u+i),d&&h.push(u+="".concat(a.options.contextSeparator).concat(s.context)),f&&h.push(u+=i);for(;c=h.pop();)a.isValidLookup(t)||(r=c,t=a.getResource(n,e,c,s));}})));}));}})),{res:t,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:i}}},{key:"isValidLookup",value:function(e){return !(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,12)&&void 0!==e[n])return !0;return !1}}]),e}();function Lp$1(e){return e.charAt(0).toUpperCase()+e.slice(1)}var Mp$1=function(){function e(t){np$1(this,e),this.options=t,this.whitelist=this.options.supportedLngs||!1,this.supportedLngs=this.options.supportedLngs||!1,this.logger=fp$1.create("languageUtils");}return op$1(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map((function(e){return e.toLowerCase()})):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Lp$1(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=Lp$1(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=Lp$1(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isWhitelisted",value:function(e){return this.logger.deprecate("languageUtils.isWhitelisted",'function "isWhitelisted" will be renamed to "isSupportedCode" in the next major - please make sure to rename it\'s usage asap.'),this.isSupportedCode(e)}},{key:"isSupportedCode",value:function(e){return ("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,n=this;return e?(e.forEach((function(e){if(!t){var r=n.formatLanguageCode(e);n.options.supportedLngs&&!n.isSupportedCode(r)||(t=r);}})),!t&&this.options.supportedLngs&&e.forEach((function(e){if(!t){var r=n.getLanguagePartFromCode(e);if(n.isSupportedCode(r))return t=r;t=n.options.supportedLngs.find((function(e){if(0===e.indexOf(r))return e}));}})),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return [];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),o=[],i=function(e){e&&(n.isSupportedCode(e)?o.push(e):n.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)));};return "string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&i(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&i(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&i(this.getLanguagePartFromCode(e))):"string"==typeof e&&i(this.formatLanguageCode(e)),r.forEach((function(e){o.indexOf(e)<0&&i(n.formatLanguageCode(e));})),o}}]),e}(),Pp$1=[{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}],Dp$1={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1&&e%100!=11?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0==e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)}};var Rp$1=function(){function e(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};np$1(this,e),this.languageUtils=t,this.options=r,this.logger=fp$1.create("pluralResolver"),this.rules=(n={},Pp$1.forEach((function(e){e.lngs.forEach((function(t){n[t]={numbers:e.nr,plurals:Dp$1[e.fc]};}));})),n);}return op$1(e,[{key:"addRule",value:function(e,t){this.rules[e]=t;}},{key:"getRule",value:function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=this.getRule(e);return t&&t.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){return this.getSuffixes(e).map((function(e){return t+e}))}},{key:"getSuffixes",value:function(e){var t=this,n=this.getRule(e);return n?n.numbers.map((function(n){return t.getSuffix(e,n)})):[]}},{key:"getSuffix",value:function(e,t){var n=this,r=this.getRule(e);if(r){var o=r.noAbs?r.plurals(t):r.plurals(Math.abs(t)),i=r.numbers[o];this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var a=function(){return n.options.prepend&&i.toString()?n.options.prepend+i.toString():i.toString()};return "v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?"_plural_".concat(i.toString()):a():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]?a():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}return this.logger.warn("no plural rule found for: ".concat(e)),""}}]),e}(),jp$1=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};np$1(this,e),this.logger=fp$1.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t);}return op$1(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:Sp$1,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?wp$1(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?wp$1(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?wp$1(t.nestingPrefix):t.nestingPrefixEscaped||wp$1("$t("),this.nestingSuffix=t.nestingSuffix?wp$1(t.nestingSuffix):t.nestingSuffixEscaped||wp$1(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp();}},{key:"reset",value:function(){this.options&&this.init(this.options);}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g");}},{key:"interpolate",value:function(e,t,n,r){var o,i,a,s=this,c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function l(e){return e.replace(/\$/g,"$$$$")}var u=function(e){if(e.indexOf(s.formatSeparator)<0){var o=mp$1(t,c,e);return s.alwaysFormat?s.format(o,void 0,n,tp$1({},r,t,{interpolationkey:e})):o}var i=e.split(s.formatSeparator),a=i.shift().trim(),l=i.join(s.formatSeparator).trim();return s.format(mp$1(t,c,a),l,n,tp$1({},r,t,{interpolationkey:a}))};this.resetRegExp();var f=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler,d=r&&r.interpolation&&r.interpolation.skipOnVariables||this.options.interpolation.skipOnVariables,h=[{regex:this.regexpUnescape,safeValue:function(e){return l(e)}},{regex:this.regexp,safeValue:function(e){return s.escapeValue?l(s.escape(e)):l(e)}}];return h.forEach((function(t){for(a=0;o=t.regex.exec(e);){if(void 0===(i=u(o[1].trim())))if("function"==typeof f){var n=f(e,o,r);i="string"==typeof n?n:"";}else {if(d){i=o[0];continue}s.logger.warn("missed to pass in variable ".concat(o[1]," for interpolating ").concat(e)),i="";}else "string"==typeof i||s.useRawValueToEscape||(i=pp$1(i));var c=t.safeValue(i);if(e=e.replace(o[0],c),d?(t.regex.lastIndex+=c.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++a>=s.maxReplaces)break}})),e}},{key:"nest",value:function(e,t){var n,r,o=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=tp$1({},i);function s(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),o="{".concat(r[1]);e=r[0],o=(o=this.interpolate(o,a)).replace(/'/g,'"');try{a=JSON.parse(o),t&&(a=tp$1({},t,a));}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(n).concat(o)}return delete a.defaultValue,e}for(a.applyPostProcessor=!1,delete a.defaultValue;n=this.nestingRegexp.exec(e);){var c=[],l=!1;if(-1!==n[0].indexOf(this.formatSeparator)&&!/{.*}/.test(n[1])){var u=n[1].split(this.formatSeparator).map((function(e){return e.trim()}));n[1]=u.shift(),c=u,l=!0;}if((r=t(s.call(this,n[1].trim(),a),a))&&n[0]===e&&"string"!=typeof r)return r;"string"!=typeof r&&(r=pp$1(r)),r||(this.logger.warn("missed to resolve ".concat(n[1]," for nesting ").concat(e)),r=""),l&&(r=c.reduce((function(e,t){return o.format(e,t,i.lng,tp$1({},i,{interpolationkey:n[1].trim()}))}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0;}return e}}]),e}();var Ap$1=function(){function e(t,n,r){var o,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return np$1(this,e),o=ap$1(this,sp$1(e).call(this)),Ep$1&&dp$1.call(ip$1(o)),o.backend=t,o.store=n,o.services=r,o.languageUtils=r.languageUtils,o.options=i,o.logger=fp$1.create("backendConnector"),o.state={},o.queue=[],o.backend&&o.backend.init&&o.backend.init(r,i.backend,i),o}return lp$1(e,dp$1),op$1(e,[{key:"queueLoad",value:function(e,t,n,r){var o=this,i=[],a=[],s=[],c=[];return e.forEach((function(e){var r=!0;t.forEach((function(t){var s="".concat(e,"|").concat(t);!n.reload&&o.store.hasResourceBundle(e,t)?o.state[s]=2:o.state[s]<0||(1===o.state[s]?a.indexOf(s)<0&&a.push(s):(o.state[s]=1,r=!1,a.indexOf(s)<0&&a.push(s),i.indexOf(s)<0&&i.push(s),c.indexOf(t)<0&&c.push(t)));})),r||s.push(e);})),(i.length||a.length)&&this.queue.push({pending:a,loaded:{},errors:[],callback:r}),{toLoad:i,pending:a,toLoadLanguages:s,toLoadNamespaces:c}}},{key:"loaded",value:function(e,t,n){var r=e.split("|"),o=r[0],i=r[1];t&&this.emit("failedLoading",o,i,t),n&&this.store.addResourceBundle(o,i,n),this.state[e]=t?-1:2;var a={};this.queue.forEach((function(n){!function(e,t,n,r){var o=gp$1(e,t,Object),i=o.obj,a=o.k;i[a]=i[a]||[],r&&(i[a]=i[a].concat(n)),r||i[a].push(n);}(n.loaded,[o],i),function(e,t){for(var n=e.indexOf(t);-1!==n;)e.splice(n,1),n=e.indexOf(t);}(n.pending,e),t&&n.errors.push(t),0!==n.pending.length||n.done||(Object.keys(n.loaded).forEach((function(e){a[e]||(a[e]=[]),n.loaded[e].length&&n.loaded[e].forEach((function(t){a[e].indexOf(t)<0&&a[e].push(t);}));})),n.done=!0,n.errors.length?n.callback(n.errors):n.callback());})),this.emit("loaded",a),this.queue=this.queue.filter((function(e){return !e.done}));}},{key:"read",value:function(e,t,n){var r=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,a=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,(function(s,c){s&&c&&o<5?setTimeout((function(){r.read.call(r,e,t,n,o+1,2*i,a);}),i):a(s,c);})):a(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=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."),o&&o();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var i=this.queueLoad(e,t,r,o);if(!i.toLoad.length)return i.pending.length||o(),null;i.toLoad.forEach((function(e){n.loadOne(e);}));}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n);}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n);}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),o=r[0],i=r[1];this.read(o,i,"read",void 0,void 0,(function(r,a){r&&t.logger.warn("".concat(n,"loading namespace ").concat(i," for language ").concat(o," failed"),r),!r&&a&&t.logger.log("".concat(n,"loaded namespace ").concat(i," for language ").concat(o),a),t.loaded(e,r,a);}));}},{key:"saveMissing",value:function(e,t,n,r,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(t,'" 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!!!"):null!=n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,tp$1({},i,{isUpdate:o})),e&&e[0]&&this.store.addResource(e[0],t,n,r));}}]),e}();function Ip$1(e){return "string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&(e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e.supportedLngs=e.whitelist),e.nonExplicitWhitelist&&(e.nonExplicitSupportedLngs=e.nonExplicitWhitelist),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Fp$1(){}var Bp$1=function(){function e(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(np$1(this,e),t=ap$1(this,sp$1(e).call(this)),Ep$1&&dp$1.call(ip$1(t)),t.options=Ip$1(n),t.services={},t.logger=fp$1,t.modules={external:[]},r&&!t.isInitialized&&!n.isClone){if(!t.options.initImmediate)return t.init(n,r),ap$1(t,ip$1(t));setTimeout((function(){t.init(n,r);}),0);}return t}return lp$1(e,dp$1),op$1(e,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;function r(e){return e?"function"==typeof e?new e:e:null}if("function"==typeof t&&(n=t,t={}),t.whitelist&&!t.supportedLngs&&this.logger.deprecate("whitelist",'option "whitelist" will be renamed to "supportedLngs" in the next major - please make sure to rename this option asap.'),t.nonExplicitWhitelist&&!t.nonExplicitSupportedLngs&&this.logger.deprecate("whitelist",'options "nonExplicitWhitelist" will be renamed to "nonExplicitSupportedLngs" in the next major - please make sure to rename this option asap.'),this.options=tp$1({},{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===Qh$1(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===Qh$1(e[2])||"object"===Qh$1(e[3])){var n=e[3]||e[2];Object.keys(n).forEach((function(e){t[e]=n[e];}));}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!1}},this.options,Ip$1(t)),this.format=this.options.interpolation.format,n||(n=Fp$1),!this.options.isClone){this.modules.logger?fp$1.init(r(this.modules.logger),this.options):fp$1.init(null,this.options);var o=new Mp$1(this.options);this.store=new kp$1(this.options.resources,this.options);var i=this.services;i.logger=fp$1,i.resourceStore=this.store,i.languageUtils=o,i.pluralResolver=new Rp$1(o,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),i.interpolator=new jp$1(this.options),i.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},i.backendConnector=new Ap$1(r(this.modules.backend),i.resourceStore,i,this.options),i.backendConnector.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r));})),this.modules.languageDetector&&(i.languageDetector=r(this.modules.languageDetector),i.languageDetector.init(i,this.options.detection,this.options)),this.modules.i18nFormat&&(i.i18nFormat=r(this.modules.i18nFormat),i.i18nFormat.init&&i.i18nFormat.init(this)),this.translator=new Np$1(this.services,this.options),this.translator.on("*",(function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];e.emit.apply(e,[t].concat(r));})),this.modules.external.forEach((function(t){t.init&&t.init(e);}));}if(this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var a=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);a.length>0&&"dev"!==a[0]&&(this.options.lng=a[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((function(t){e[t]=function(){var n;return (n=e.store)[t].apply(n,arguments)};}));["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach((function(t){e[t]=function(){var n;return (n=e.store)[t].apply(n,arguments),e};}));var s=hp$1(),c=function(){var t=function(t,r){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),s.resolve(r),n(t,r);};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return t(null,e.t.bind(e));e.changeLanguage(e.options.lng,t);};return this.options.resources||!this.options.initImmediate?c():setTimeout(c,0),s}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fp$1,r="string"==typeof e?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if(r&&"cimode"===r.toLowerCase())return n();var o=[],i=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach((function(e){o.indexOf(e)<0&&o.push(e);}));};if(r)i(r);else this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((function(e){return i(e)}));this.options.preload&&this.options.preload.forEach((function(e){return i(e)})),this.services.backendConnector.load(o,this.options.ns,n);}else n(null);}},{key:"reloadResources",value:function(e,t,n){var r=hp$1();return e||(e=this.languages),t||(t=this.options.ns),n||(n=Fp$1),this.services.backendConnector.reload(e,t,(function(e){r.resolve(),n(e);})),r}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return "backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&Cp$1.addPostProcessor(e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,t){var n=this;this.isLanguageChangingTo=e;var r=hp$1();this.emit("languageChanging",e);var o=function(o){e||o||!n.services.languageDetector||(o=[]);var i="string"==typeof o?o:n.services.languageUtils.getBestMatchFromCodes(o);i&&(n.language||(n.language=i,n.languages=n.services.languageUtils.toResolveHierarchy(i)),n.translator.language||n.translator.changeLanguage(i),n.services.languageDetector&&n.services.languageDetector.cacheUserLanguage(i)),n.loadResources(i,(function(e){!function(e,o){o?(n.language=o,n.languages=n.services.languageUtils.toResolveHierarchy(o),n.translator.changeLanguage(o),n.isLanguageChangingTo=void 0,n.emit("languageChanged",o),n.logger.log("languageChanged",o)):n.isLanguageChangingTo=void 0,r.resolve((function(){return n.t.apply(n,arguments)})),t&&t(e,(function(){return n.t.apply(n,arguments)}));}(e,i);}));};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(o):o(e):o(this.services.languageDetector.detect()),r}},{key:"getFixedT",value:function(e,t,n){var r=this,o=function e(t,o){var i;if("object"!==Qh$1(o)){for(var a=arguments.length,s=new Array(a>2?a-2:0),c=2;c<a;c++)s[c-2]=arguments[c];i=r.options.overloadTranslationOptionHandler([t,o].concat(s));}else i=tp$1({},o);i.lng=i.lng||e.lng,i.lngs=i.lngs||e.lngs,i.ns=i.ns||e.ns;var l=r.options.keySeparator||".",u=n?"".concat(n).concat(l).concat(t):t;return r.t(u,i)};return "string"==typeof e?o.lng=e:o.lngs=e,o.ns=t,o.keyPrefix=n,o}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e;}},{key:"hasLoadedNamespace",value:function(e){var t=this,n=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;var r=this.languages[0],o=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return !0;var a=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return -1===r||2===r};if(n.precheck){var s=n.precheck(this,a);if(void 0!==s)return s}return !!this.hasResourceBundle(r,e)||(!this.services.backendConnector.backend||!(!a(r,e)||o&&!a(i,e)))}},{key:"loadNamespaces",value:function(e,t){var n=this,r=hp$1();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach((function(e){n.options.ns.indexOf(e)<0&&n.options.ns.push(e);})),this.loadResources((function(e){r.resolve(),t&&t(e);})),r):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var n=hp$1();"string"==typeof e&&(e=[e]);var r=this.options.preload||[],o=e.filter((function(e){return r.indexOf(e)<0}));return o.length?(this.options.preload=r.concat(o),this.loadResources((function(e){n.resolve(),t&&t(e);})),n):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),!e)return "rtl";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"].indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr"}},{key:"createInstance",value:function(){return new e(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},arguments.length>1?arguments[1]:void 0)}},{key:"cloneInstance",value:function(){var t=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Fp$1,o=tp$1({},this.options,n,{isClone:!0}),i=new e(o);return ["store","services","language"].forEach((function(e){i[e]=t[e];})),i.services=tp$1({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new Np$1(i.services,i.options),i.translator.on("*",(function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];i.emit.apply(i,[e].concat(n));})),i.init(o,r),i.translator.options=i.options,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}},{key:"toJSON",value:function(){return {options:this.options,store:this.store,language:this.language,languages:this.languages}}}]),e}(),_p$1=new Bp$1,$p$1="translation";function Wp$1(e,t){_p$1.addResourceBundle(e,$p$1,t,!0,!0);}function Vp$1(e){_p$1.changeLanguage(e);}function zp$1(e){return _p$1.getResourceBundle(e,$p$1)}function Hp$1(e){return _p$1.on("languageChanged",e),function(){return _p$1.off("languageChanged",e)}}_p$1.init({lng:"zh-CN",resources:{}});var Up$1=_p$1.t.bind(_p$1);function Kp$1(e,t){var n=e.selection;return null!=n&&(!Range.isCollapsed(n)&&(!$u$3.getSelectedElems(e).some((function(t){if(e.isVoid(t))return !0;var n=t.type;return !!["pre","code","table"].includes(n)||void 0}))&&!!Text.isText(t)))}var qp$1=function(){function e(){var e=this;this.$elem=$$6('<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=lodash_debounce((function(){var t=e.isShow,n=e.getSelectedNodeAndMenuKeys()||{},r=n.node,o=void 0===r?null:r,i=n.menuKeys,s=void 0===i?[]:i;if((null!=o&&e.changeItemsState(),o&&Element$1.isElement(o))&&(t&&e.isSamePath(o,e.prevSelectedNode)))return;e.hideAndClean(),null!=o&&(e.registerItems(s),e.setPosition(o),e.show()),e.prevSelectedNode=o;}),200),jc$3((function(){var t=e.getEditorInstance(),n=e.$elem;n.on("mousedown",(function(e){return e.preventDefault()}),{passive:!1}),$u$3.getTextarea(t).$textAreaContainer.append(n),t.on("change",e.changeHoverbarState);var r=e.hideAndClean.bind(e);t.on("scroll",r),t.on("fullScreen",r),t.on("unFullScreen",r);})),this.lngListen=Hp$1((function(){e.menus={},e.hideAndClean(),e.getEditorInstance().deselect();}));}return e.prototype.getMenus=function(){return this.menus},e.prototype.hideAndClean=function(){var e=this.$elem;e.removeClass("w-e-bar-show").addClass("w-e-bar-hidden"),this.hoverbarItems=[],e.empty(),this.isShow=!1;},e.prototype.checkPositionBottom=function(){var e=this.$elem,t=!1,n=window.innerHeight;n&&n>=360&&(n-e[0].getBoundingClientRect().bottom<360&&(t=!0));t?e.addClass("w-e-bar-bottom"):e.removeClass("w-e-bar-bottom");},e.prototype.show=function(){this.$elem.removeClass("w-e-bar-hidden").addClass("w-e-bar-show"),this.isShow=!0,this.checkPositionBottom();},e.prototype.changeItemsState=function(){var e=this;jc$3((function(){e.hoverbarItems.forEach((function(e){e.changeMenuState();}));}));},e.prototype.registerItems=function(e){var t=this,n=this.$elem;e.forEach((function(e){if("|"!==e)t.registerSingleItem(e);else {var r=jh$1();n.append(r);}}));},e.prototype.registerSingleItem=function(e){var t=this.getEditorInstance(),n=this.menus,r=n[e];if(null==r){var o=zu$3[e];if(null==o)throw new Error("Not found menu item factory by key '".concat(e,"'"));if("function"!=typeof o)throw new Error("Menu item factory (key='".concat(e,"') is not a function"));r=o(),n[e]=r;}var i=t.getMenuConfig(e);i&&void 0!==i.iconSvg&&(r.iconSvg=i.iconSvg);var a=Xh$1(e,r);this.hoverbarItems.push(a),xu$3.set(a,t),this.$elem.append(a.$elem);},e.prototype.setPosition=function(e){var t=this.getEditorInstance(),n=this.$elem;if(n.attr("style",""),Element$1.isElement(e)){var r=Id$1(t,e,"bar");return n.css(r),void Fd$1(t,n)}if(Text.isText(e)){r=Ad$1(t);return n.css(r),void Fd$1(t,n)}throw new Error("hoverbar.setPosition error, current selected node is not elem nor text")},e.prototype.getSelectedNodeAndMenuKeys=function(){var e=this.getEditorInstance();if(null==e.selection)return null;var n=this.getHoverbarKeysConf(),r=null,o=[],i=function(i){var a=n[i],s=a.match,c=a.menuKeys,l=void 0===c?[]:c,u=s||function(e,t){return $u$3.checkNodeType(t,i)},f=La$5(Editor.nodes(e,{match:function(t){return u(e,t)},universal:!0}),1),d=f[0];if(null!=d)return r=d[0],o=l,"break"};for(var a in n){if("break"===i(a))break}return null==r||0===o.length?null:{node:r,menuKeys:o}},e.prototype.getEditorInstance=function(){var e=bu$3.get(this);if(null==e)throw new Error("Can not get editor instance");return e},e.prototype.getHoverbarKeysConf=function(){var e=this.getEditorInstance().getConfig().hoverbarKeys,t=void 0===e?{}:e,n=t.text;return n&&null==n.match&&(n.match=Kp$1),t},e.prototype.isSamePath=function(e,t){if(null==e||null==t)return !1;var n=$u$3.findPath(null,e),o=$u$3.findPath(null,t);return Path.equals(n,o)},e.prototype.destroy=function(){var e;this.changeHoverbarState.cancel(),this.$elem.remove(),null===(e=this.lngListen)||void 0===e||e.call(this),this.menus={},this.hoverbarItems=[],this.prevSelectedNode=null;},e}();function Gp$1(e,n,r,i){if(Nu$3.set(e,n),Lu$3.set(e,r),Element$1.isElement(e)){var s=e.children;if((void 0===s?[]:s).forEach((function(t,n){return Gp$1(t,n,e,i)})),Editor.isVoid(i,e)){var c=La$5(Node$1.texts(e),1),l=La$5(c[0],1)[0];Nu$3.set(l,0),Lu$3.set(l,e);}}}function Jp$1(r){var a=r.selector,s=void 0===a?"":a,u=r.config,d=void 0===u?{}:u,h=r.content,p=r.html,g=r.plugins,v=void 0===g?[]:g,y=(r=>{var o=r,{apply:i}=o;return o.history={undos:[],redos:[]},o.redo=()=>{var{history:n}=o,{redos:r}=n;if(r.length>0){var i=r[r.length-1];i.selectionBefore&&Transforms.setSelection(o,i.selectionBefore),Cr$5.withoutSaving(o,(()=>{Editor.withoutNormalizing(o,(()=>{for(var e of i.operations)o.apply(e);}));})),n.redos.pop(),o.writeHistory("undos",i);}},o.undo=()=>{var{history:r}=o,{undos:i}=r;if(i.length>0){var a=i[i.length-1];Cr$5.withoutSaving(o,(()=>{Editor.withoutNormalizing(o,(()=>{var t=a.operations.map(Operation.inverse).reverse();for(var r of t)o.apply(r);a.selectionBefore&&Transforms.setSelection(o,a.selectionBefore);}));})),o.writeHistory("redos",a),r.undos.pop();}},o.apply=e=>{var{operations:t,history:n}=o,{undos:r}=n,a=r[r.length-1],s=a&&a.operations[a.operations.length-1],c=Cr$5.isSaving(o),l=Cr$5.isMerging(o);if(null==c&&(c=Nr$5(e)),c){if(null==l&&(l=null!=a&&(0!==t.length||Tr$5(e,s))),a&&l)a.operations.push(e);else {var u={operations:[e],selectionBefore:o.selection};o.writeHistory("undos",u);}for(;r.length>100;)r.shift();n.redos=[];}i(e);},o.writeHistory=(e,t)=>{o.history[e].push(t);},o})(function(e){var t=e,n=t.insertText,r=t.insertNode,i=t.insertFragment,a=t.dangerouslyInsertHtml;return t.insertText=function(e){if(t.getConfig().maxLength){var r=$u$3.getLeftLengthOfMaxLength(t);r<=0||(r<e.length?n(e.slice(0,r)):n(e));}else n(e);},t.insertNode=function(e){if(t.getConfig().maxLength){var n=$u$3.getLeftLengthOfMaxLength(t);n<=0||n<Node$1.string(e).length||r(e);}else r(e);},t.insertFragment=function(e){if(t.getConfig().maxLength){if(e.length>0){var n=e[0];if($u$3.getLeftLengthOfMaxLength(t)<Node$1.string(n).length)return;i([n]);for(var r=1;r<e.length;r++)t.insertNode(e[r]);}}else i(e);},t.dangerouslyInsertHtml=function(e,n){if(void 0===e&&(e=""),void 0===n&&(n=!1),e)if(t.getConfig().maxLength){var r=$u$3.getLeftLengthOfMaxLength(t);if(!(r<=0)){var o=document.createElement("div");o.innerHTML=e;var i=Array.from(o.childNodes).reduce((function(e,t){var n=t.nodeType,r=t.nodeName;return t?n===Ic$3.TEXT_NODE?e+(t.textContent||""):n===Ic$3.ELEMENT_NODE?sd$1.has(r.toLowerCase())?e:e+(t.textContent||""):e:e}),"");r<i.length||a(e,n);}}else a(e,n);},t}(Rd$1(function(n){var r=n;return r.select=function(t){Transforms.select(r,t);},r.deselect=function(){var t=r.selection,o=$u$3.findDocumentOrShadowRoot(r).getSelection();o&&o.rangeCount>0&&o.removeAllRanges(),t&&Transforms.deselect(n);},r.move=function(t,r){void 0===r&&(r=!1),t&&(t<0||Transforms.move(n,{distance:t,unit:"character",reverse:r}));},r.moveReverse=function(e){r.move(e,!0);},r.restoreSelection=function(){var t=Fu$3.get(r);null!=t&&(r.focus(),Transforms.select(r,t));},r.getSelectionPosition=function(){return Ad$1(r)},r.getNodePosition=function(e){return Id$1(r,e)},r.isSelectedAll=function(){var e=r.selection;if(null==e)return !1;var n=La$5(Range.edges(e),2),o=n[0],a=n[1],s=La$5(Editor.edges(r,[]),2),l=s[0],u=s[1];return !(!Point.equals(o,l)||!Point.equals(a,u))},r.selectAll=function(){var n=Editor.start(r,[]),o=Editor.end(r,[]);Transforms.select(r,{anchor:n,focus:o});},r}(ld$1(function(e){var t=e;return t.getAllMenuKeys=function(){var e=[];for(var t in zu$3)e.push(t);return e},t.getConfig=function(){var e=Ou$3.get(t);if(null==e)throw new Error("Can not get editor config");return e},t.getMenuConfig=function(e){var n=t.getConfig().MENU_CONF;return (void 0===n?{}:n)[e]||{}},t.alert=function(e,n){void 0===n&&(n="info");var r=t.getConfig().customAlert;r&&r(e,n);},t}(function(n){var r=n;return r.id="wangEditor-".concat(Wu$3++),r.isDestroyed=!1,r.isFullScreen=!1,r.focus=function(n){if($u$3.toDOMNode(r,r).focus({preventScroll:!0}),Iu$3.set(r,!0),n){var o=Editor.end(r,[]);Transforms.select(r,o);}else {var i=Fu$3.get(r);i?Transforms.select(r,i):Transforms.select(r,Editor.start(r,[]));}},r.isFocused=function(){return !!Iu$3.get(r)},r.blur=function(){$u$3.toDOMNode(r,r).blur(),Transforms.deselect(r),Iu$3.set(r,!1);},r.updateView=function(){$u$3.getTextarea(r).changeViewState();var e=$u$3.getToolbar(r);e&&e.changeToolbarState();var t=$u$3.getHoverbar(r);t&&t.changeHoverbarState();},r.destroy=function(){if(!r.isDestroyed){var e=$u$3.getTextarea(r);e.destroy(),gu$3.delete(r),vu$4.delete(e);var t=$u$3.getToolbar(r);t&&(t.destroy(),mu$3.delete(r),yu$4.delete(t));var n=$u$3.getHoverbar(r);n&&(n.destroy(),wu$3.delete(r),bu$3.delete(n)),r.isDestroyed=!0,r.emit("destroyed");}},r.scrollToElem=function(e){if(!r.getConfig().scroll){var t="编辑器禁用了 scroll ,编辑器内容无法滚动,请自行实现该功能";return t+="\nYou has disabled editor scroll, please do this yourself",void console.warn(t)}var n=$$6("#".concat(e));if(0!==n.length){var o=n[0];if(!$u$3.hasDOMNode(r,o))return t="Element (found by id is '".concat(e,"') is not in editor DOM"),t+="\n 通过 id '".concat(e,"' 找到的 element 不在 editor DOM 之内"),void console.error(t,o);var i=$u$3.getTextarea(r),a=i.$textAreaContainer,s=i.$scroll,c=n.offset().top,l=a.offset().top;s[0].scrollBy({top:c-l,behavior:"smooth"});}},r.showProgressBar=function(e){e<1||$u$3.getTextarea(r).changeProgress(e);},r.hidePanelOrModal=function(){var e=Su$3.get(r);null!=e&&e.forEach((function(e){return e.hide()}));},r.enable=function(){r.getConfig().readOnly=!1,r.updateView();},r.disable=function(){r.getConfig().readOnly=!0,r.updateView();},r.isDisabled=function(){return r.getConfig().readOnly},r.toDOMNode=function(e){return $u$3.toDOMNode(r,e)},r.fullScreen=function(){if(!r.isFullScreen){var e=null,t=$u$3.getToolbar(r);t&&(e=t.$box);var n=$u$3.getTextarea(r).$box.parent();if(e&&e.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()),r.isFullScreen=!0,r.emit("fullScreen");}},r.unFullScreen=function(){if(r.isFullScreen){var e=$u$3.getTextarea(r).$box.parent();setTimeout((function(){e.removeClass("w-e-full-screen-container"),r.isFullScreen=!1,r.emit("unFullScreen");}),200);}},r.getEditableContainer=function(){return $u$3.getTextarea(r).$textAreaContainer[0]},r}(function(n){var r=n;return r.setFragmentData=function(e){var n=r.selection;if(n){var o=La$5(Range.edges(n),2),a=o[0],s=o[1],c=Editor.void(r,{at:a.path}),l=Editor.void(r,{at:s.path});if(!Range.isCollapsed(n)||c){var u=$u$3.toDOMRange(r,n),f=u.cloneContents(),d=f.childNodes[0];if(f.childNodes.forEach((function(e){e.textContent&&""!==e.textContent.trim()&&(d=e);})),l){var h=La$5(l,1)[0],p=u.cloneRange(),g=$u$3.toDOMNode(r,h);p.setEndAfter(g),f=p.cloneContents();}if(c&&(d=f.querySelector("[data-slate-spacer]")),Array.from(f.querySelectorAll("[data-slate-zero-width]")).forEach((function(e){var t="n"===e.getAttribute("data-slate-zero-width");e.textContent=t?"\n":"";})),el$2(d)){var v=d.ownerDocument.createElement("span");v.style.whiteSpace="pre",v.appendChild(d),f.appendChild(v),d=v;}var y=r.getFragment(),m=JSON.stringify(y),b=window.btoa(encodeURIComponent(m));d.setAttribute("data-slate-fragment",b),e.setData("application/x-slate-fragment",b);var w=f.ownerDocument.createElement("div");return w.appendChild(f),w.setAttribute("hidden","true"),f.ownerDocument.body.appendChild(w),e.setData("text/html",w.innerHTML),e.setData("text/plain",sl$2(w)),f.ownerDocument.body.removeChild(w),e}}},r.insertData=function(t){var n,o,i=t.getData("application/x-slate-fragment");if(i){var a=decodeURIComponent(window.atob(i)),s=JSON.parse(a);r.insertFragment(s);}else {var c=t.getData("text/plain"),l=t.getData("text/html");if(l)r.dangerouslyInsertHtml(l);else {var u=$u$3.getLeftLengthOfMaxLength(r);if(c){var f=c.split(/\r\n|\r|\n/),d=!1;try{for(var h=Na$5(f),p=h.next();!p.done;p=h.next()){var g=p.value;d&&u>0&&Transforms.splitNodes(r,{always:!0}),r.insertText(g),d=!0;}}catch(e){n={error:e};}finally{try{p&&!p.done&&(o=h.return)&&o.call(h);}finally{if(n)throw n.error}}}}}},r}(createEditor$1()))))))));if(s&&function(e,t){return td$1(e,"data-w-e-textarea",t)}(y,s))throw new Error("Repeated create editor by selector '".concat(s,"'"));var m=function(e){void 0===e&&(e={});var t=lodash_clonedeep(Vu$3),n={},r=e.MENU_CONF,o=void 0===r?{}:r;return lodash_foreach(t,(function(e,t){n[t]=Ta$5(Ta$5({},e),o[t]||{});})),delete e.MENU_CONF,Ta$5({scroll:!0,readOnly:!1,autoFocus:!0,decorate:function(){return []},maxLength:0,MENU_CONF:n,hoverbarKeys:{},customAlert:function(e,t){window.alert("".concat(t,":\n").concat(e));}},e)}(d);Ou$3.set(y,m);var b=m.hoverbarKeys,w=void 0===b?{}:b;if(v.forEach((function(e){y=e(y);})),null!=p&&(y.children=nd$1(y,p)),h&&h.length&&(y.children=h),0===y.children.length&&(y.children=[{type:"paragraph",children:[{text:""}]}]),$u$3.normalizeContent(y),s){var x=new Ph$1(s);gu$3.set(y,x),vu$4.set(x,y),x.changeViewState(),jc$3((function(){var e=x.$scroll;if(null!=e&&e.height()<300){console.warn("编辑区域高度 < 300px 这可能会导致 modal hoverbar 定位异常\nTextarea height < 300px . This may be cause modal and hoverbar position error",e);}}));var S=void 0;Object.keys(w).length>0&&(S=new qp$1,bu$3.set(S,y),wu$3.set(y,S)),y.on("change",(function(){y.hidePanelOrModal();})),y.on("scroll",(function(){y.hidePanelOrModal();}));}else y.children.forEach((function(e,t){return Gp$1(e,t,y,y)}));var E=m.onCreated,O=m.onDestroyed;return E&&y.on("created",(function(){return E(y)})),O&&y.on("destroyed",(function(){return O(y)})),jc$3((function(){return y.emit("created")})),y}var Yp$1=TypeError,Xp$1=Object.getOwnPropertyDescriptor,Qp$1=le$6&&!function(){if(void 0!==this)return !0;try{Object.defineProperty([],"length",{writable:!1}).length=1;}catch(e){return e instanceof TypeError}}()?function(e,t){if(nr$5(e)&&!Xp$1(e,"length").writable)throw new Yp$1("Cannot set read only .length");return e.length=t}:function(e,t){return e.length=t},Zp$1=TypeError,eg$1=function(e,t){if(!delete e[t])throw new Zp$1("Cannot delete property "+Xe$6(t)+" of "+Xe$6(e))},tg$1=Co$5("splice"),ng$1=Math.max,rg$1=Math.min;_n$6({target:"Array",proto:!0,forced:!tg$1},{splice:function(e,t){var n,r,o,i,a,s,c=st$6(this),l=mn$6(c),u=gn$6(e,l),f=arguments.length;for(0===f?n=r=0:1===f?(n=0,r=l-u):(n=f-2,r=rg$1(ng$1(dn$6(t),0),l-u)),Ia$5(l+n-r),o=hr$5(c,r),i=0;i<r;i++)(a=u+i)in c&&Kr$5(o,i,c[a]);if(o.length=r,n<r){for(i=u;i<l-r;i++)s=i+n,(a=i+r)in c?c[s]=c[a]:eg$1(c,s);for(i=l;i>l-r+n;i--)eg$1(c,i-1);}else if(n>r)for(i=l-r;i>u;i--)s=i+n-1,(a=i+r-1)in c?c[s]=c[a]:eg$1(c,s);for(i=0;i<n;i++)c[i+u]=arguments[i+2];return Qp$1(c,l-r+n),o}});var og$1=function(){function e(e,t){var n=this;this.$toolbar=$$6('<div class="w-e-bar w-e-bar-show w-e-toolbar"></div>'),this.menus={},this.toolbarItems=[],this.config={},this.lngListen=function(){},this.changeToolbarState=lodash_debounce((function(){n.toolbarItems.forEach((function(e){e.changeMenuState();}));}),200),this.config=t;var r=$$6(e);if(0===r.length)throw new Error("Cannot find toolbar DOM by selector '".concat(e,"'"));this.$box=r;var o=this.$toolbar;o.on("mousedown",(function(e){return e.preventDefault()}),{passive:!1}),r.append(o),jc$3((function(){n.initToolbar(),n.lngListen=Hp$1((function(){return n.initToolbar()})),n.getEditorInstance().on("change",n.changeToolbarState);}));}return e.prototype.getMenus=function(){return this.menus},e.prototype.getConfig=function(){return this.config},e.prototype.initToolbar=function(){this.menus={};var e=this.$toolbar;null==e||e.empty(),this.registerItems(),this.changeToolbarState();},e.prototype.registerItems=function(){var e=this,t="",n=this.$toolbar,r=this.config,o=r.toolbarKeys,i=void 0===o?[]:o,a=r.insertKeys,s=void 0===a?{index:0,keys:[]}:a,c=r.excludeKeys,l=void 0===c?[]:c,u=lodash_clonedeep(i);s.keys.length>0&&("string"==typeof s.keys&&(s.keys=[s.keys]),s.keys.forEach((function(e,t){u.splice(s.index+t,0,e);})));var f=u.filter((function(e){if("string"==typeof e){if(l.includes(e))return !1}else if(l.includes(e.key))return !1;return !0})),d=f.length;f.forEach((function(r,o){if("|"===r){if(0===o)return;if(o+1===d)return;if("|"===t)return;var i=jh$1();return n.append(i),void(t=r)}if("string"==typeof r)return e.registerSingleItem(r,e),void(t=r);e.registerGroup(r),t="group";}));},e.prototype.registerGroup=function(e){var t=this,n=this.$toolbar,r=function(e){return new Gh$1(e)}(e),o=e.menuKeys,i=void 0===o?[]:o,a=this.config.excludeKeys,s=void 0===a?[]:a;i.forEach((function(e){s.includes(e)||t.registerSingleItem(e,r);})),n.append(r.$elem);},e.prototype.registerSingleItem=function(e,t){var n=this.getEditorInstance(),r=t instanceof Gh$1,o=this.menus,i=o[e];if(null==i){var a=zu$3[e];if(null==a)throw new Error("Not found menu item factory by key '".concat(e,"'"));if("function"!=typeof a)throw new Error("Menu item factory (key='".concat(e,"') is not a function"));i=a(),o[e]=i;}else console.warn("Duplicated toolbar menu key '".concat(e,"'\n重复注册了菜单栏 menu '").concat(e,"'"));var s=n.getMenuConfig(e);s&&void 0!==s.iconSvg&&(i.iconSvg=s.iconSvg);var c=Xh$1(e,i,r);(this.toolbarItems.push(c),xu$3.set(c,n),r)?t.appendBarItem(c):t.$toolbar.append(c.$elem);},e.prototype.getEditorInstance=function(){var e=yu$4.get(this);if(null==e)throw new Error("Can not get editor instance");return e},e.prototype.destroy=function(){var e;this.$toolbar.remove(),null===(e=this.lngListen)||void 0===e||e.call(this),this.menus={},this.toolbarItems=[];},e}();function ig$1(e,t){if(null==e)throw new Error("Cannot create toolbar, because editor is null");var n=t.selector,r=t.config,o=void 0===r?{}:r;if(function(e,t){return td$1(e,"data-w-e-toolbar",t)}(e,n))throw new Error("Repeated create toolbar by selector '".concat(n,"'"));var i=Ta$5({toolbarKeys:[],excludeKeys:[],insertKeys:{index:0,keys:[]},modalAppendToBody:!1},o||{}),a=new og$1(n,i);return yu$4.set(a,e),mu$3.set(e,a),a}var ag=zt$6.EXISTS,sg=Function.prototype,cg=xe$6(sg.toString),lg=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,ug=xe$6(lg.exec);function fg(e){var t=e.server,n=void 0===t?"":t,r=e.fieldName,o=void 0===r?"":r,i=e.maxFileSize,a=void 0===i?10485760:i,s=e.maxNumberOfFiles,c=void 0===s?100:s,l=e.meta,u=void 0===l?{}:l,f=e.metaWithUrl,d=void 0!==f&&f,h=e.headers,p=void 0===h?{}:h,g=e.withCredentials,v=void 0!==g&&g,y=e.timeout,m=void 0===y?1e4:y,b=e.onBeforeUpload,w=void 0===b?function(e){return e}:b,x=e.onSuccess,S=void 0===x?function(e,t){}:x,E=e.onError,O=void 0===E?function(e,t,n){console.error("".concat(e.name," upload error"),t,n);}:E,k=e.onProgress,C=void 0===k?function(e){}:k;if(!n)throw new Error("Cannot get upload server address\n没有配置上传地址");if(!o)throw new Error("Cannot get fieldName\n没有配置 fieldName");var T=n;d&&(T=function(e,t){var n=La$5(e.split("#"),2),r=n[0],o=n[1],i=[];lodash_foreach(t,(function(e,t){i.push("".concat(t,"=").concat(e));}));var a=i.join("&");return r=r.indexOf("?")>0?"".concat(r,"&").concat(a):"".concat(r,"?").concat(a),o?"".concat(r,"#").concat(o):r}(T,u));var N=new lib$2({onBeforeUpload:w,restrictions:{maxFileSize:a,maxNumberOfFiles:c},meta:u}).use(lib,{endpoint:T,headers:p,formData:!0,fieldName:o,bundle:!0,withCredentials:v,timeout:m});return N.on("upload-success",(function(e,t){var n=t.body,r=void 0===n?{}:n;try{S(e,r);}catch(e){console.error("wangEditor upload file - onSuccess error",e);}N.removeFile(e.id);})),N.on("progress",(function(e){e<1||C(e);})),N.on("upload-error",(function(e,t,n){try{O(e,t,n);}catch(e){console.error("wangEditor upload file - onError error",e);}N.removeFile(e.id);})),N.on("restriction-failed",(function(e,t){try{O(e,t);}catch(e){console.error("wangEditor upload file - onError error",e);}N.removeFile(e.id);})),N}le$6&&!ag&&Ga$3(sg,"name",{configurable:!0,get:function(){try{return ug(lg,cg(this))[1]}catch(e){return ""}}});
17512
17512
 
17513
17513
  /**
17514
17514
  * @description i18n en
@@ -17542,20 +17542,20 @@ var zhResources = {
17542
17542
  * @description i18n entry
17543
17543
  * @author wangfupeng
17544
17544
  */
17545
- Fp$1('en', enResources);
17546
- Fp$1('zh-CN', zhResources);
17545
+ Wp$1('en', enResources);
17546
+ Wp$1('zh-CN', zhResources);
17547
17547
 
17548
- Fp$1("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"}}),Fp$1("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 $$5={type:"paragraph",renderElem:function(t,e,n){return jsx("p",null,e)}};var _$5={type:"paragraph",elemToHtml:function(t,e){return ""===e?"<p><br></p>":"<p>"+e+"</p>"}},q$5="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function W$5(t){var e={exports:{}};return t(e,e.exports),e.exports}var G$5,U$5,K$5=function(t){return t&&t.Math===Math&&t},X$5=K$5("object"==typeof globalThis&&globalThis)||K$5("object"==typeof window&&window)||K$5("object"==typeof self&&self)||K$5("object"==typeof q$5&&q$5)||K$5("object"==typeof q$5&&q$5)||function(){return this}()||Function("return this")(),J$5=function(t){try{return !!t()}catch(t){return !0}},Y$5=!J$5((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),Q$5=!J$5((function(){var t=function(){}.bind();return "function"!=typeof t||t.hasOwnProperty("prototype")})),Z$5=Function.prototype.call,tt$5=Q$5?Z$5.bind(Z$5):function(){return Z$5.apply(Z$5,arguments)},et$5={}.propertyIsEnumerable,nt$5=Object.getOwnPropertyDescriptor,rt$5=nt$5&&!et$5.call({1:2},1)?function(t){var e=nt$5(this,t);return !!e&&e.enumerable}:et$5,ot$5={f:rt$5},it$5=function(t,e){return {enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},ut$5=Function.prototype,at$5=ut$5.call,ct$5=Q$5&&ut$5.bind.bind(at$5,at$5),lt$5=Q$5?ct$5:function(t){return function(){return at$5.apply(t,arguments)}},st$5=lt$5({}.toString),ft$5=lt$5("".slice),pt$5=function(t){return ft$5(st$5(t),8,-1)},dt$5=Object,ht$5=lt$5("".split),vt$5=J$5((function(){return !dt$5("z").propertyIsEnumerable(0)}))?function(t){return "String"===pt$5(t)?ht$5(t,""):dt$5(t)}:dt$5,gt$5=function(t){return null==t},yt$5=TypeError,mt$5=function(t){if(gt$5(t))throw new yt$5("Can't call method on "+t);return t},bt$5=function(t){return vt$5(mt$5(t))},wt$5="object"==typeof document&&document.all,St$5=void 0===wt$5&&void 0!==wt$5?function(t){return "function"==typeof t||t===wt$5}:function(t){return "function"==typeof t},xt$5=function(t){return "object"==typeof t?null!==t:St$5(t)},kt$5=function(t,e){return arguments.length<2?(n=X$5[t],St$5(n)?n:void 0):X$5[t]&&X$5[t][e];var n;},Et$5=lt$5({}.isPrototypeOf),Tt$5=X$5.navigator,Ot$5=Tt$5&&Tt$5.userAgent,Mt$5=Ot$5?String(Ot$5):"",Ht$5=X$5.process,It$5=X$5.Deno,Nt$5=Ht$5&&Ht$5.versions||It$5&&It$5.version,Lt$5=Nt$5&&Nt$5.v8;Lt$5&&(U$5=(G$5=Lt$5.split("."))[0]>0&&G$5[0]<4?1:+(G$5[0]+G$5[1])),!U$5&&Mt$5&&(!(G$5=Mt$5.match(/Edge\/(\d+)/))||G$5[1]>=74)&&(G$5=Mt$5.match(/Chrome\/(\d+)/))&&(U$5=+G$5[1]);var zt$5=U$5,jt$5=X$5.String,Pt$5=!!Object.getOwnPropertySymbols&&!J$5((function(){var t=Symbol("symbol detection");return !jt$5(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&zt$5&&zt$5<41})),At$5=Pt$5&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Vt$5=Object,Ct$5=At$5?function(t){return "symbol"==typeof t}:function(t){var e=kt$5("Symbol");return St$5(e)&&Et$5(e.prototype,Vt$5(t))},Dt$5=String,Ft$5=TypeError,Bt$5=function(t){if(St$5(t))return t;throw new Ft$5(function(t){try{return Dt$5(t)}catch(t){return "Object"}}(t)+" is not a function")},Rt$5=function(t,e){var n=t[e];return gt$5(n)?void 0:Bt$5(n)},$t$5=TypeError,_t$5=Object.defineProperty,qt$5=function(t,e){try{_t$5(X$5,t,{value:e,configurable:!0,writable:!0});}catch(n){X$5[t]=e;}return e},Wt$5=W$5((function(t){var e="__core-js_shared__",n=t.exports=X$5[e]||qt$5(e,{});(n.versions||(n.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});})),Gt$5=function(t,e){return Wt$5[t]||(Wt$5[t]=e||{})},Ut$5=Object,Kt$5=function(t){return Ut$5(mt$5(t))},Xt$5=lt$5({}.hasOwnProperty),Jt$5=Object.hasOwn||function(t,e){return Xt$5(Kt$5(t),e)},Yt$5=0,Qt$5=Math.random(),Zt$5=lt$5(1..toString),te$5=function(t){return "Symbol("+(void 0===t?"":t)+")_"+Zt$5(++Yt$5+Qt$5,36)},ee$5=X$5.Symbol,ne$5=Gt$5("wks"),re$5=At$5?ee$5.for||ee$5:ee$5&&ee$5.withoutSetter||te$5,oe$5=function(t){return Jt$5(ne$5,t)||(ne$5[t]=Pt$5&&Jt$5(ee$5,t)?ee$5[t]:re$5("Symbol."+t)),ne$5[t]},ie$5=TypeError,ue$5=oe$5("toPrimitive"),ae$5=function(t,e){if(!xt$5(t)||Ct$5(t))return t;var n,r=Rt$5(t,ue$5);if(r){if(void 0===e&&(e="default"),n=tt$5(r,t,e),!xt$5(n)||Ct$5(n))return n;throw new ie$5("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&St$5(n=t.toString)&&!xt$5(r=tt$5(n,t)))return r;if(St$5(n=t.valueOf)&&!xt$5(r=tt$5(n,t)))return r;if("string"!==e&&St$5(n=t.toString)&&!xt$5(r=tt$5(n,t)))return r;throw new $t$5("Can't convert object to primitive value")}(t,e)},ce$5=function(t){var e=ae$5(t,"string");return Ct$5(e)?e:e+""},le$5=X$5.document,se$5=xt$5(le$5)&&xt$5(le$5.createElement),fe$5=function(t){return se$5?le$5.createElement(t):{}},pe$5=!Y$5&&!J$5((function(){return 7!==Object.defineProperty(fe$5("div"),"a",{get:function(){return 7}}).a})),de$5=Object.getOwnPropertyDescriptor,he$5={f:Y$5?de$5:function(t,e){if(t=bt$5(t),e=ce$5(e),pe$5)try{return de$5(t,e)}catch(t){}if(Jt$5(t,e))return it$5(!tt$5(ot$5.f,t,e),t[e])}},ve$5=Y$5&&J$5((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),ge$5=String,ye$5=TypeError,me$5=function(t){if(xt$5(t))return t;throw new ye$5(ge$5(t)+" is not an object")},be$5=TypeError,we$5=Object.defineProperty,Se$5=Object.getOwnPropertyDescriptor,xe$5="enumerable",ke$5="configurable",Ee$5="writable",Te$5={f:Y$5?ve$5?function(t,e,n){if(me$5(t),e=ce$5(e),me$5(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Ee$5 in n&&!n[Ee$5]){var r=Se$5(t,e);r&&r[Ee$5]&&(t[e]=n.value,n={configurable:ke$5 in n?n[ke$5]:r[ke$5],enumerable:xe$5 in n?n[xe$5]:r[xe$5],writable:!1});}return we$5(t,e,n)}:we$5:function(t,e,n){if(me$5(t),e=ce$5(e),me$5(n),pe$5)try{return we$5(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new be$5("Accessors not supported");return "value"in n&&(t[e]=n.value),t}},Oe$5=Y$5?function(t,e,n){return Te$5.f(t,e,it$5(1,n))}:function(t,e,n){return t[e]=n,t},Me$5=Function.prototype,He$5=Y$5&&Object.getOwnPropertyDescriptor,Ie$5=Jt$5(Me$5,"name"),Ne$5={EXISTS:Ie$5,PROPER:Ie$5&&"something"===function(){}.name,CONFIGURABLE:Ie$5&&(!Y$5||Y$5&&He$5(Me$5,"name").configurable)},Le$5=lt$5(Function.toString);St$5(Wt$5.inspectSource)||(Wt$5.inspectSource=function(t){return Le$5(t)});var ze$5,je$5,Pe$5,Ae$5=Wt$5.inspectSource,Ve$5=X$5.WeakMap,Ce$5=St$5(Ve$5)&&/native code/.test(String(Ve$5)),De$5=Gt$5("keys"),Fe$5=function(t){return De$5[t]||(De$5[t]=te$5(t))},Be$5={},Re$5="Object already initialized",$e$5=X$5.TypeError,_e$5=X$5.WeakMap;if(Ce$5||Wt$5.state){var qe$5=Wt$5.state||(Wt$5.state=new _e$5);qe$5.get=qe$5.get,qe$5.has=qe$5.has,qe$5.set=qe$5.set,ze$5=function(t,e){if(qe$5.has(t))throw new $e$5(Re$5);return e.facade=t,qe$5.set(t,e),e},je$5=function(t){return qe$5.get(t)||{}},Pe$5=function(t){return qe$5.has(t)};}else {var We$5=Fe$5("state");Be$5[We$5]=!0,ze$5=function(t,e){if(Jt$5(t,We$5))throw new $e$5(Re$5);return e.facade=t,Oe$5(t,We$5,e),e},je$5=function(t){return Jt$5(t,We$5)?t[We$5]:{}},Pe$5=function(t){return Jt$5(t,We$5)};}var Ge$5={set:ze$5,get:je$5,has:Pe$5,enforce:function(t){return Pe$5(t)?je$5(t):ze$5(t,{})},getterFor:function(t){return function(e){var n;if(!xt$5(e)||(n=je$5(e)).type!==t)throw new $e$5("Incompatible receiver, "+t+" required");return n}}},Ue$5=W$5((function(t){var e=Ne$5.CONFIGURABLE,n=Ge$5.enforce,r=Ge$5.get,o=String,i=Object.defineProperty,u=lt$5("".slice),a=lt$5("".replace),c=lt$5([].join),l=Y$5&&!J$5((function(){return 8!==i((function(){}),"length",{value:8}).length})),s=String(String).split("String"),f=t.exports=function(t,r,f){"Symbol("===u(o(r),0,7)&&(r="["+a(o(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),f&&f.getter&&(r="get "+r),f&&f.setter&&(r="set "+r),(!Jt$5(t,"name")||e&&t.name!==r)&&(Y$5?i(t,"name",{value:r,configurable:!0}):t.name=r),l&&f&&Jt$5(f,"arity")&&t.length!==f.arity&&i(t,"length",{value:f.arity});try{f&&Jt$5(f,"constructor")&&f.constructor?Y$5&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0);}catch(t){}var p=n(t);return Jt$5(p,"source")||(p.source=c(s,"string"==typeof r?r:"")),t};Function.prototype.toString=f((function(){return St$5(this)&&r(this).source||Ae$5(this)}),"toString");})),Ke$5=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(St$5(n)&&Ue$5(n,i,r),r.global)o?t[e]=n:qt$5(e,n);else {try{r.unsafe?t[e]&&(o=!0):delete t[e];}catch(t){}o?t[e]=n:Te$5.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable});}return t},Xe$5=Math.ceil,Je$5=Math.floor,Ye$5=Math.trunc||function(t){var e=+t;return (e>0?Je$5:Xe$5)(e)},Qe$5=function(t){var e=+t;return e!=e||0===e?0:Ye$5(e)},Ze$5=Math.max,tn$5=Math.min,en$5=function(t,e){var n=Qe$5(t);return n<0?Ze$5(n+e,0):tn$5(n,e)},nn$5=Math.min,rn$5=function(t){var e=Qe$5(t);return e>0?nn$5(e,9007199254740991):0},on$5=function(t){return rn$5(t.length)},un$5=function(t){return function(e,n,r){var o=bt$5(e),i=on$5(o);if(0===i)return !t&&-1;var u,a=en$5(r,i);if(t&&n!=n){for(;i>a;)if((u=o[a++])!=u)return !0}else for(;i>a;a++)if((t||a in o)&&o[a]===n)return t||a||0;return !t&&-1}},an$5={includes:un$5(!0),indexOf:un$5(!1)},cn$5=an$5.indexOf,ln$5=lt$5([].push),sn$5=function(t,e){var n,r=bt$5(t),o=0,i=[];for(n in r)!Jt$5(Be$5,n)&&Jt$5(r,n)&&ln$5(i,n);for(;e.length>o;)Jt$5(r,n=e[o++])&&(~cn$5(i,n)||ln$5(i,n));return i},fn$5=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],pn$5=fn$5.concat("length","prototype"),dn$5={f:Object.getOwnPropertyNames||function(t){return sn$5(t,pn$5)}},hn$5={f:Object.getOwnPropertySymbols},vn$5=lt$5([].concat),gn$5=kt$5("Reflect","ownKeys")||function(t){var e=dn$5.f(me$5(t)),n=hn$5.f;return n?vn$5(e,n(t)):e},yn$5=function(t,e,n){for(var r=gn$5(e),o=Te$5.f,i=he$5.f,u=0;u<r.length;u++){var a=r[u];Jt$5(t,a)||n&&Jt$5(n,a)||o(t,a,i(e,a));}},mn$5=/#|\.prototype\./,bn$5=function(t,e){var n=Sn$5[wn$5(t)];return n===kn$5||n!==xn$5&&(St$5(e)?J$5(e):!!e)},wn$5=bn$5.normalize=function(t){return String(t).replace(mn$5,".").toLowerCase()},Sn$5=bn$5.data={},xn$5=bn$5.NATIVE="N",kn$5=bn$5.POLYFILL="P",En$5=bn$5,Tn$5=he$5.f,On$5=function(t,e){var n,r,o,i,u,a=t.target,c=t.global,l=t.stat;if(n=c?X$5:l?X$5[a]||qt$5(a,{}):X$5[a]&&X$5[a].prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(u=Tn$5(n,r))&&u.value:n[r],!En$5(c?r:a+(l?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;yn$5(i,o);}(t.sham||o&&o.sham)&&Oe$5(i,"sham",!0),Ke$5(n,r,i,t);}},Mn$5=function(t){if("Function"===pt$5(t))return lt$5(t)},Hn$5=Mn$5(Mn$5.bind),In$5=Array.isArray||function(t){return "Array"===pt$5(t)},Nn$5={};Nn$5[oe$5("toStringTag")]="z";var Ln$5="[object z]"===String(Nn$5),zn$5=oe$5("toStringTag"),jn$5=Object,Pn$5="Arguments"===pt$5(function(){return arguments}()),An$5=Ln$5?pt$5:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=jn$5(t),zn$5))?n:Pn$5?pt$5(e):"Object"===(r=pt$5(e))&&St$5(e.callee)?"Arguments":r},Vn$5=function(){},Cn$5=kt$5("Reflect","construct"),Dn$5=/^\s*(?:class|function)\b/,Fn$5=lt$5(Dn$5.exec),Bn$5=!Dn$5.test(Vn$5),Rn$5=function(t){if(!St$5(t))return !1;try{return Cn$5(Vn$5,[],t),!0}catch(t){return !1}},$n$5=function(t){if(!St$5(t))return !1;switch(An$5(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return !1}try{return Bn$5||!!Fn$5(Dn$5,Ae$5(t))}catch(t){return !0}};$n$5.sham=!0;var _n$5=!Cn$5||J$5((function(){var t;return Rn$5(Rn$5.call)||!Rn$5(Object)||!Rn$5((function(){t=!0;}))||t}))?$n$5:Rn$5,qn$5=oe$5("species"),Wn$5=Array,Gn$5=function(t,e){return new(function(t){var e;return In$5(t)&&(e=t.constructor,(_n$5(e)&&(e===Wn$5||In$5(e.prototype))||xt$5(e)&&null===(e=e[qn$5]))&&(e=void 0)),void 0===e?Wn$5:e}(t))(0===e?0:e)},Un$5=lt$5([].push),Kn$5=function(t){var e=1===t,n=2===t,r=3===t,o=4===t,i=6===t,u=7===t,a=5===t||i;return function(c,l,s,f){for(var p,d,h=Kt$5(c),v=vt$5(h),g=on$5(v),y=function(t,e){return Bt$5(t),void 0===e?t:Q$5?Hn$5(t,e):function(){return t.apply(e,arguments)}}(l,s),m=0,b=f||Gn$5,w=e?b(c,g):n||u?b(c,0):void 0;g>m;m++)if((a||m in v)&&(d=y(p=v[m],m,h),t))if(e)w[m]=d;else if(d)switch(t){case 3:return !0;case 5:return p;case 6:return m;case 2:Un$5(w,p);}else switch(t){case 4:return !1;case 7:Un$5(w,p);}return i?-1:r||o?o:w}},Xn$5={forEach:Kn$5(0),map:Kn$5(1),filter:Kn$5(2),some:Kn$5(3),every:Kn$5(4),find:Kn$5(5),findIndex:Kn$5(6),filterReject:Kn$5(7)},Jn$5=oe$5("species"),Yn$5=function(t){return zt$5>=51||!J$5((function(){var e=[];return (e.constructor={})[Jn$5]=function(){return {foo:1}},1!==e[t](Boolean).foo}))},Qn$5=Xn$5.filter;On$5({target:"Array",proto:!0,forced:!Yn$5("filter")},{filter:function(t){return Qn$5(this,t,arguments.length>1?arguments[1]:void 0)}});var Zn$5=Ln$5?{}.toString:function(){return "[object "+An$5(this)+"]"};Ln$5||Ke$5(Object.prototype,"toString",Zn$5,{unsafe:!0});var tr$4,er$4=String,nr$4=function(t){if("Symbol"===An$5(t))throw new TypeError("Cannot convert a Symbol value to a string");return er$4(t)},rr$4=function(){var t=me$5(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},or$4=X$5.RegExp,ir$4=J$5((function(){var t=or$4("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),ur$4=ir$4||J$5((function(){return !or$4("a","y").sticky})),ar$4={BROKEN_CARET:ir$4||J$5((function(){var t=or$4("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:ur$4,UNSUPPORTED_Y:ir$4},cr$4=Object.keys||function(t){return sn$5(t,fn$5)},lr$4=Y$5&&!ve$5?Object.defineProperties:function(t,e){me$5(t);for(var n,r=bt$5(e),o=cr$4(e),i=o.length,u=0;i>u;)Te$5.f(t,n=o[u++],r[n]);return t},sr$4={f:lr$4},fr$4=kt$5("document","documentElement"),pr$4="prototype",dr$4="script",hr$4=Fe$5("IE_PROTO"),vr$4=function(){},gr$4=function(t){return "<"+dr$4+">"+t+"</"+dr$4+">"},yr$4=function(t){t.write(gr$4("")),t.close();var e=t.parentWindow.Object;return t=null,e},mr$4=function(){try{tr$4=new ActiveXObject("htmlfile");}catch(t){}var t,e,n;mr$4="undefined"!=typeof document?document.domain&&tr$4?yr$4(tr$4):(e=fe$5("iframe"),n="java"+dr$4+":",e.style.display="none",fr$4.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(gr$4("document.F=Object")),t.close(),t.F):yr$4(tr$4);for(var r=fn$5.length;r--;)delete mr$4[pr$4][fn$5[r]];return mr$4()};Be$5[hr$4]=!0;var br$4,wr$4,Sr$4=Object.create||function(t,e){var n;return null!==t?(vr$4[pr$4]=me$5(t),n=new vr$4,vr$4[pr$4]=null,n[hr$4]=t):n=mr$4(),void 0===e?n:sr$4.f(n,e)},xr$4=X$5.RegExp,kr$4=J$5((function(){var t=xr$4(".","s");return !(t.dotAll&&t.test("\n")&&"s"===t.flags)})),Er$4=X$5.RegExp,Tr$4=J$5((function(){var t=Er$4("(?<a>b)","g");return "b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Or$4=Ge$5.get,Mr$4=Gt$5("native-string-replace",String.prototype.replace),Hr$4=RegExp.prototype.exec,Ir$4=Hr$4,Nr$4=lt$5("".charAt),Lr$4=lt$5("".indexOf),zr$4=lt$5("".replace),jr$4=lt$5("".slice),Pr$4=(wr$4=/b*/g,tt$5(Hr$4,br$4=/a/,"a"),tt$5(Hr$4,wr$4,"a"),0!==br$4.lastIndex||0!==wr$4.lastIndex),Ar$4=ar$4.BROKEN_CARET,Vr$4=void 0!==/()??/.exec("")[1];(Pr$4||Vr$4||Ar$4||kr$4||Tr$4)&&(Ir$4=function(t){var e,n,r,o,i,u,a,c=this,l=Or$4(c),s=nr$4(t),f=l.raw;if(f)return f.lastIndex=c.lastIndex,e=tt$5(Ir$4,f,s),c.lastIndex=f.lastIndex,e;var p=l.groups,d=Ar$4&&c.sticky,h=tt$5(rr$4,c),v=c.source,g=0,y=s;if(d&&(h=zr$4(h,"y",""),-1===Lr$4(h,"g")&&(h+="g"),y=jr$4(s,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==Nr$4(s,c.lastIndex-1))&&(v="(?: "+v+")",y=" "+y,g++),n=new RegExp("^(?:"+v+")",h)),Vr$4&&(n=new RegExp("^"+v+"$(?!\\s)",h)),Pr$4&&(r=c.lastIndex),o=tt$5(Hr$4,d?n:c,y),d?o?(o.input=jr$4(o.input,g),o[0]=jr$4(o[0],g),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:Pr$4&&o&&(c.lastIndex=c.global?o.index+o[0].length:r),Vr$4&&o&&o.length>1&&tt$5(Mr$4,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0);})),o&&p)for(o.groups=u=Sr$4(null),i=0;i<p.length;i++)u[(a=p[i])[0]]=o[a[1]];return o});var Cr$4=Ir$4;On$5({target:"RegExp",proto:!0,forced:/./.exec!==Cr$4},{exec:Cr$4});var Dr$4=Function.prototype,Fr$4=Dr$4.apply,Br$4=Dr$4.call,Rr$4="object"==typeof Reflect&&Reflect.apply||(Q$5?Br$4.bind(Fr$4):function(){return Br$4.apply(Fr$4,arguments)}),$r$4=oe$5("species"),_r$4=RegExp.prototype,qr$4=function(t,e,n,r){var o=oe$5(t),i=!J$5((function(){var e={};return e[o]=function(){return 7},7!==""[t](e)})),u=i&&!J$5((function(){var e=!1,n=/a/;return "split"===t&&((n={}).constructor={},n.constructor[$r$4]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!i||!u||n){var a=/./[o],c=e(o,""[t],(function(t,e,n,r,o){var u=e.exec;return u===Cr$4||u===_r$4.exec?i&&!o?{done:!0,value:tt$5(a,e,n,r)}:{done:!0,value:tt$5(t,n,e,r)}:{done:!1}}));Ke$5(String.prototype,t,c[0]),Ke$5(_r$4,o,c[1]);}r&&Oe$5(_r$4[o],"sham",!0);},Wr$4=lt$5("".charAt),Gr$4=lt$5("".charCodeAt),Ur$4=lt$5("".slice),Kr$4=function(t){return function(e,n){var r,o,i=nr$4(mt$5(e)),u=Qe$5(n),a=i.length;return u<0||u>=a?t?"":void 0:(r=Gr$4(i,u))<55296||r>56319||u+1===a||(o=Gr$4(i,u+1))<56320||o>57343?t?Wr$4(i,u):r:t?Ur$4(i,u,u+2):o-56320+(r-55296<<10)+65536}},Xr$4={codeAt:Kr$4(!1),charAt:Kr$4(!0)}.charAt,Jr$4=function(t,e,n){return e+(n?Xr$4(t,e).length:1)},Yr$4=Math.floor,Qr$4=lt$5("".charAt),Zr$4=lt$5("".replace),to$4=lt$5("".slice),eo$4=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,no$4=/\$([$&'`]|\d{1,2})/g,ro$4=function(t,e,n,r,o,i){var u=n+t.length,a=r.length,c=no$4;return void 0!==o&&(o=Kt$5(o),c=eo$4),Zr$4(i,c,(function(i,c){var l;switch(Qr$4(c,0)){case"$":return "$";case"&":return t;case"`":return to$4(e,0,n);case"'":return to$4(e,u);case"<":l=o[to$4(c,1,-1)];break;default:var s=+c;if(0===s)return i;if(s>a){var f=Yr$4(s/10);return 0===f?i:f<=a?void 0===r[f-1]?Qr$4(c,1):r[f-1]+Qr$4(c,1):i}l=r[s-1];}return void 0===l?"":l}))},oo$4=TypeError,io$4=function(t,e){var n=t.exec;if(St$5(n)){var r=tt$5(n,t,e);return null!==r&&me$5(r),r}if("RegExp"===pt$5(t))return tt$5(Cr$4,t,e);throw new oo$4("RegExp#exec called on incompatible receiver")},uo$4=oe$5("replace"),ao$4=Math.max,co$4=Math.min,lo$4=lt$5([].concat),so$4=lt$5([].push),fo$4=lt$5("".indexOf),po$4=lt$5("".slice),ho$4="$0"==="a".replace(/./,"$0"),vo$4=!!/./[uo$4]&&""===/./[uo$4]("a","$0");qr$4("replace",(function(t,e,n){var r=vo$4?"$":"$0";return [function(t,n){var r=mt$5(this),o=gt$5(t)?void 0:Rt$5(t,uo$4);return o?tt$5(o,t,r,n):tt$5(e,nr$4(r),t,n)},function(t,o){var i=me$5(this),u=nr$4(t);if("string"==typeof o&&-1===fo$4(o,r)&&-1===fo$4(o,"$<")){var a=n(e,i,u,o);if(a.done)return a.value}var c=St$5(o);c||(o=nr$4(o));var l,s=i.global;s&&(l=i.unicode,i.lastIndex=0);for(var f,p=[];null!==(f=io$4(i,u))&&(so$4(p,f),s);){""===nr$4(f[0])&&(i.lastIndex=Jr$4(u,rn$5(i.lastIndex),l));}for(var d,h="",v=0,g=0;g<p.length;g++){for(var y,m=nr$4((f=p[g])[0]),b=ao$4(co$4(Qe$5(f.index),u.length),0),w=[],S=1;S<f.length;S++)so$4(w,void 0===(d=f[S])?d:String(d));var x=f.groups;if(c){var k=lo$4([m],w,b,u);void 0!==x&&so$4(k,x),y=nr$4(Rr$4(o,void 0,k));}else y=ro$4(m,u,b,w,x,o);b>=v&&(h+=po$4(u,v,b)+y,v=b+m.length);}return h+po$4(u,v)}]}),!!J$5((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!ho$4||vo$4);var go$4=Te$5.f,yo$4=oe$5("unscopables"),mo$4=Array.prototype;void 0===mo$4[yo$4]&&go$4(mo$4,yo$4,{configurable:!0,value:Sr$4(null)});var bo$4=function(t){mo$4[yo$4][t]=!0;},wo$4=Xn$5.find,So$4="find",xo$4=!0;So$4 in[]&&Array(1)[So$4]((function(){xo$4=!1;})),On$5({target:"Array",proto:!0,forced:xo$4},{find:function(t){return wo$4(this,t,arguments.length>1?arguments[1]:void 0)}}),bo$4(So$4);var ko$4,Eo$4="\t\n\v\f\r                 \u2028\u2029\ufeff",To$4=lt$5("".replace),Oo$4=RegExp("^["+Eo$4+"]+"),Mo$4=RegExp("(^|[^"+Eo$4+"])["+Eo$4+"]+$"),Ho$4=function(t){return function(e){var n=nr$4(mt$5(e));return 1&t&&(n=To$4(n,Oo$4,"")),2&t&&(n=To$4(n,Mo$4,"$1")),n}},Io$4={start:Ho$4(1),end:Ho$4(2),trim:Ho$4(3)},No$4=Ne$5.PROPER,Lo$4=Io$4.trim;function zo$4(t){return 0===$$6("<div>"+t+"</div>").children().filter((function(t){return "BR"!==t.tagName})).length}function jo$4(t){return 0===t.length?"":t[0].outerHTML}function Po$4(t){return t.length?t[0].tagName.toLowerCase():""}function Ao$4(t,e){for(var n="",r=(t.attr("style")||"").split(";"),o=r.length,i=0;i<o;i++){var u=r[i];if(u){var a=u.split(":");a[0].trim()===e&&(n=a[1].trim());}}return n}On$5({target:"String",proto:!0,forced:(ko$4="trim",J$5((function(){return !!Eo$4[ko$4]()||"​…᠎"!=="​…᠎"[ko$4]()||No$4&&Eo$4[ko$4].name!==ko$4})))},{trim:function(){return Lo$4(this)}}),On$5({global:!0,forced:X$5.globalThis!==X$5},{globalThis:X$5}),css&&($$6.fn.css=css),append&&($$6.fn.append=append),prepend&&($$6.fn.prepend=prepend),addClass&&($$6.fn.addClass=addClass),removeClass&&($$6.fn.removeClass=removeClass),hasClass&&($$6.fn.hasClass=hasClass),on$7&&($$6.fn.on=on$7),off&&($$6.fn.off=off),focus&&($$6.fn.focus=focus),attr&&($$6.fn.attr=attr),removeAttr&&($$6.fn.removeAttr=removeAttr),hide&&($$6.fn.hide=hide),show&&($$6.fn.show=show),parents&&($$6.fn.parents=parents),dataset&&($$6.fn.dataset=dataset),val&&($$6.fn.val=val),text&&($$6.fn.text=text),html&&($$6.fn.html=html),children&&($$6.fn.children=children),remove&&($$6.fn.remove=remove),find&&($$6.fn.find=find),width&&($$6.fn.width=width),height&&($$6.fn.height=height),filter&&($$6.fn.filter=filter),empty&&($$6.fn.empty=empty);var Vo$4={selector:"p:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=$$6(t);return 0===(e=e.filter((function(t){return !!Text.isText(t)||!!n.isInline(t)}))).length&&(e=[{text:r.text().replace(/\s+/gm," ")}]),{type:"paragraph",children:e}}},Co$4=function(t,e){return Co$4=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e;}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);},Co$4(t,e)};function Do$4(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t;}Co$4(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n);}var Fo$4=function(){return Fo$4=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Fo$4.apply(this,arguments)};function Bo$4(t,e,n,r){return new(n||(n=Promise))((function(o,i){function u(t){try{c(r.next(t));}catch(t){i(t);}}function a(t){try{c(r.throw(t));}catch(t){i(t);}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e);}))).then(u,a);}c((r=r.apply(t,e||[])).next());}))}function Ro$4(t,e){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(u=0)),u;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,r=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(!(o=u.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){u=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(6===a[0]&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=e.call(t,u);}catch(t){a=[6,t],r=0;}finally{n=o=0;}if(5&a[0])throw a[1];return {value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}function $o$4(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return {next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function _o$4(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value);}catch(t){o={error:t};}finally{try{r&&!r.done&&(n=i.return)&&n.call(i);}finally{if(o)throw o.error}}return u}function qo$4(t){var e=_o$4(Editor.nodes(t,{match:function(e){return t.children[0]===e},mode:"highest"}),1),n=e[0];if(null==n)return !1;var r=n[0];if(!Element$1.isElement(r))return !1;if("paragraph"===r.type)return !1;if(""!==Node$1.string(r))return !1;var o=r.children,i=void 0===o?[]:o;return !!Text.isText(i[0])&&(Transforms.setNodes(t,{type:"paragraph"}),!0)}"function"==typeof SuppressedError&&SuppressedError;var Wo$4={renderElems:[$$5],elemsToHtml:[_$5],parseElemsHtml:[Vo$4],editorPlugin:function(t){var e=t.deleteBackward,n=t.deleteForward;t.insertText,t.insertBreak;var r=t;return r.deleteBackward=function(t){qo$4(r)||e(t);},r.deleteForward=function(t){qo$4(r)||n(t);},r}},Go$4=/"/g,Uo$4=lt$5("".replace),Ko$4=function(t,e,n,r){var o=nr$4(mt$5(t)),i="<"+e;return ""!==n&&(i+=" "+n+'="'+Uo$4(nr$4(r),Go$4,"&quot;")+'"'),i+">"+o+"</"+e+">"},Xo$4=function(t){return J$5((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))};function Jo$4(t,e){var n=e,r=t,o=r.bold,i=r.italic,u=r.underline;return o&&(n="<strong>"+n+"</strong>"),r.code&&(n="<code>"+n+"</code>"),i&&(n="<em>"+n+"</em>"),u&&(n="<u>"+n+"</u>"),r.through&&(n="<s>"+n+"</s>"),r.sub&&(n="<sub>"+n+"</sub>"),r.sup&&(n="<sup>"+n+"</sup>"),n}function Yo$4(t,e){return 0!==t.length&&(!!t[0].matches(e)||t.find(e).length>0)}On$5({target:"String",proto:!0,forced:Xo$4("bold")},{bold:function(){return Ko$4(this,"b","","")}}),On$5({target:"String",proto:!0,forced:Xo$4("italics")},{italics:function(){return Ko$4(this,"i","","")}}),On$5({target:"String",proto:!0,forced:Xo$4("sub")},{sub:function(){return Ko$4(this,"sub","","")}}),On$5({target:"String",proto:!0,forced:Xo$4("sup")},{sup:function(){return Ko$4(this,"sup","","")}});var Qo$4={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},Zo$4=fe$5("span").classList,ti$4=Zo$4&&Zo$4.constructor&&Zo$4.constructor.prototype,ei$4=ti$4===Object.prototype?void 0:ti$4,ni$4=function(t,e){var n=[][t];return !!n&&J$5((function(){n.call(null,e||function(){return 1},1);}))},ri$4=Xn$5.forEach,oi$4=ni$4("forEach")?[].forEach:function(t){return ri$4(this,t,arguments.length>1?arguments[1]:void 0)},ii$4=function(t){if(t&&t.forEach!==oi$4)try{Oe$5(t,"forEach",oi$4);}catch(e){t.forEach=oi$4;}};for(var ui$4 in Qo$4)Qo$4[ui$4]&&ii$4(X$5[ui$4]&&X$5[ui$4].prototype);function ai$4(t,n){return null==t.selection||!!_o$4(Editor.nodes(t,{match:function(n){return "pre"===Ic$2.getNodeType(n)||!!Editor.isVoid(t,n)},universal:!0}),1)[0]}function ci$4(t,e){Object.keys(e).forEach((function(e){"text"!==e&&Editor.removeMark(t,e);}));}ii$4(ei$4),On$5({target:"Object",stat:!0,forced:J$5((function(){cr$4(1);}))},{keys:function(t){return cr$4(Kt$5(t))}});var li$4=function(){function t(){this.marksNeedToRemove=[],this.tag="button";}return t.prototype.getValue=function(t){var e=this.mark,n=Editor.marks(t);return n?n[e]:!!_o$4(Editor.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 ai$4(t,this.mark)},t.prototype.exec=function(t,e){var n=this.mark,r=this.marksNeedToRemove;e?t.removeMark(n):(t.addMark(n,!0),r&&r.forEach((function(e){return t.removeMark(e)})));},t}(),si$4='<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>',fi$4='<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>',pi$4='<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>',di$4=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.mark="bold",e.title=Wp$1("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 Do$4(e,t),e}(li$4),hi$4=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.mark="code",e.title=Wp$1("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 Do$4(e,t),e}(li$4),vi$4=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.mark="italic",e.title=Wp$1("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 Do$4(e,t),e}(li$4),gi$4=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.mark="through",e.title=Wp$1("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 Do$4(e,t),e}(li$4),yi$4=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.mark="underline",e.title=Wp$1("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 Do$4(e,t),e}(li$4),mi$4=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.mark="sub",e.marksNeedToRemove=["sup"],e.title=Wp$1("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 Do$4(e,t),e}(li$4),bi$4=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.mark="sup",e.marksNeedToRemove=["sub"],e.title=Wp$1("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 Do$4(e,t),e}(li$4),wi$4=function(){function t(){this.title=Wp$1("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 ai$4(t)},t.prototype.exec=function(t,e){var n,r,o=Editor.nodes(t,{match:function(t){return Text.isText(t)},universal:!0});try{for(var i=$o$4(o),u=i.next();!u.done;u=i.next()){ci$4(t,u.value[0]);}}catch(t){n={error:t};}finally{try{u&&!u.done&&(r=i.return)&&r.call(i);}finally{if(n)throw n.error}}},t}(),Si$4={renderStyle:function(t,e){var n=t,r=n.bold,o=n.italic,u=n.underline,a=n.code,c=n.through,l=n.sub,s=n.sup,f=e;return r&&(f=jsx("strong",null,f)),a&&(f=jsx("code",null,f)),o&&(f=jsx("em",null,f)),u&&(f=jsx("u",null,f)),c&&(f=jsx("s",null,f)),l&&(f=jsx("sub",null,f)),s&&(f=jsx("sup",null,f)),f},menus:[{key:"bold",factory:function(){return new di$4}},{key:"underline",factory:function(){return new yi$4}},{key:"italic",factory:function(){return new vi$4}},{key:"through",factory:function(){return new gi$4}},{key:"code",factory:function(){return new hi$4}},{key:"sub",factory:function(){return new mi$4}},{key:"sup",factory:function(){return new bi$4}},{key:"clearStyle",factory:function(){return new wi$4}}],styleToHtml:function(t,e){if(!Text.isText(t))return e;if(zo$4(e))return Jo$4(t,e);var n=$$6(e),r=n.html();return r=Jo$4(t,r),n.html(r),jo$4(n)},parseStyleHtml:function(t,e,n){var r=$$6(t);if(!Text.isText(e))return e;var o=e;return Yo$4(r,"b,strong")&&(o.bold=!0),Yo$4(r,"i,em")&&(o.italic=!0),Yo$4(r,"u")&&(o.underline=!0),Yo$4(r,"s,strike")&&(o.through=!0),Yo$4(r,"sub")&&(o.sub=!0),Yo$4(r,"sup")&&(o.sup=!0),Yo$4(r,"code")&&(o.code=!0),o}};function xi$4(t){return function(e,n,r){return jsx("h"+t,null,n)}}var ki$4={type:"header1",renderElem:xi$4(1)},Ei$4={type:"header2",renderElem:xi$4(2)},Ti$4={type:"header3",renderElem:xi$4(3)},Oi$4={type:"header4",renderElem:xi$4(4)},Mi$4={type:"header5",renderElem:xi$4(5)},Hi$4={type:"header6",renderElem:xi$4(6)},Ii$4=RegExp.prototype,Ni$4=Ne$5.PROPER,Li$4="toString",zi$4=RegExp.prototype,ji$4=zi$4[Li$4],Pi$4=J$5((function(){return "/a/b"!==ji$4.call({source:"a",flags:"b"})})),Ai$4=Ni$4&&ji$4.name!==Li$4;(Pi$4||Ai$4)&&Ke$5(zi$4,Li$4,(function(){var t=me$5(this),e=nr$4(t.source),n=nr$4(function(t){var e=t.flags;return void 0!==e||"flags"in Ii$4||Jt$5(t,"flags")||!Et$5(Ii$4,t)?e:tt$5(rr$4,t)}(t));return "/"+e+"/"+n}),{unsafe:!0});var Vi$4,Ci$4=oe$5("match"),Di$4=TypeError,Fi$4=function(t){if(function(t){var e;return xt$5(t)&&(void 0!==(e=t[Ci$4])?!!e:"RegExp"===pt$5(t))}(t))throw new Di$4("The method doesn't accept regular expressions");return t},Bi$4=oe$5("match"),Ri$4=function(t){var e=/./;try{"/./"[t](e);}catch(n){try{return e[Bi$4]=!1,"/./"[t](e)}catch(t){}}return !1},$i$4=he$5.f,_i$4=Mn$5("".slice),qi$4=Math.min,Wi$4=Ri$4("startsWith");function Gi$4(t){var n=_o$4(Editor.nodes(t,{match:function(t){return Ic$2.getNodeType(t).startsWith("header")},universal:!0}),1),r=n[0];if(null==r)return "paragraph";var o=_o$4(r,1)[0];return Ic$2.getNodeType(o)}function Ui$4(t){return null==t.selection||!_o$4(Editor.nodes(t,{match:function(t){var n=Ic$2.getNodeType(t);return "paragraph"===n||!!n.startsWith("header")},universal:!0,mode:"highest"}),1)[0]}function Ki$4(t,e){e&&Transforms.setNodes(t,{type:e});}On$5({target:"String",proto:!0,forced:!!(Wi$4||(Vi$4=$i$4(String.prototype,"startsWith"),!Vi$4||Vi$4.writable))&&!Wi$4},{startsWith:function(t){var e=nr$4(mt$5(this));Fi$4(t);var n=rn$5(qi$4(arguments.length>1?arguments[1]:void 0,e.length)),r=nr$4(t);return _i$4(e,n,n+r.length)===r}});var Xi$4=function(){function t(){this.title=Wp$1("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:Wp$1("header.text")}],r=this.getValue(t).toString();return e.forEach((function(t){t.value===r?t.selected=!0:delete t.selected;})),e},t.prototype.isActive=function(t){return !1},t.prototype.getValue=function(t){return Gi$4(t)},t.prototype.isDisabled=function(t){return Ui$4(t)},t.prototype.exec=function(t,e){Ki$4(t,e.toString());},t}(),Ji$4=function(){function t(){this.tag="button";}return t.prototype.getValue=function(t){return Gi$4(t)},t.prototype.isActive=function(t){return this.getValue(t)===this.type},t.prototype.isDisabled=function(t){return Ui$4(t)},t.prototype.exec=function(t,e){var n=this.type;Ki$4(t,e===n?"paragraph":n);},t}(),Yi$4=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title="H1",e.type="header1",e}return Do$4(e,t),e}(Ji$4),Qi$4=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title="H2",e.type="header2",e}return Do$4(e,t),e}(Ji$4),Zi$4=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title="H3",e.type="header3",e}return Do$4(e,t),e}(Ji$4),tu$4=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title="H4",e.type="header4",e}return Do$4(e,t),e}(Ji$4),eu$4=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title="H5",e.type="header5",e}return Do$4(e,t),e}(Ji$4),nu$4=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title="H6",e.type="header6",e}return Do$4(e,t),e}(Ji$4),ru$4={key:"headerSelect",factory:function(){return new Xi$4}},ou$4={key:"header1",factory:function(){return new Yi$4}},iu$4={key:"header2",factory:function(){return new Qi$4}},uu$4={key:"header3",factory:function(){return new Zi$4}},au$4={key:"header4",factory:function(){return new tu$4}},cu$4={key:"header5",factory:function(){return new eu$4}},lu$4={key:"header6",factory:function(){return new nu$4}};function su$4(t){return function(e,n){return "<h"+t+">"+n+"</h"+t+">"}}function fu$4(t){return function(e,n,r){var o=$$6(e);return 0===(n=n.filter((function(t){return !!Text.isText(t)||!!r.isInline(t)}))).length&&(n=[{text:o.text().replace(/\s+/gm," ")}]),{type:"header"+t,children:n}}}var pu$3={renderElems:[ki$4,Ei$4,Ti$4,Oi$4,Mi$4,Hi$4],elemsToHtml:[{type:"header1",elemToHtml:su$4(1)},{type:"header2",elemToHtml:su$4(2)},{type:"header3",elemToHtml:su$4(3)},{type:"header4",elemToHtml:su$4(4)},{type:"header5",elemToHtml:su$4(5)},{type:"header6",elemToHtml:su$4(6)}],parseElemsHtml:[{selector:"h1:not([data-w-e-type])",parseElemHtml:fu$4(1)},{selector:"h2:not([data-w-e-type])",parseElemHtml:fu$4(2)},{selector:"h3:not([data-w-e-type])",parseElemHtml:fu$4(3)},{selector:"h4:not([data-w-e-type])",parseElemHtml:fu$4(4)},{selector:"h5:not([data-w-e-type])",parseElemHtml:fu$4(5)},{selector:"h6:not([data-w-e-type])",parseElemHtml:fu$4(6)}],menus:[ru$4,ou$4,iu$4,uu$4,au$4,cu$4,lu$4],editorPlugin:function(t){var n=t.insertBreak;t.insertNode;var r=t;return r.insertBreak=function(){var o=_o$4(Editor.nodes(r,{match:function(t){return Ic$2.getNodeType(t).startsWith("header")},universal:!0}),1)[0];if(o)if(Ic$2.isSelectionAtLineEnd(t,o[1])){Transforms.insertNodes(r,{type:"paragraph",children:[{text:""}]},{mode:"highest"});}else n();else n();},r}},du$3=Object.assign,hu$3=Object.defineProperty,vu$3=lt$5([].concat),gu$3=!du$3||J$5((function(){if(Y$5&&1!==du$3({b:1},du$3(hu$3({},"a",{enumerable:!0,get:function(){hu$3(this,"b",{value:3,enumerable:!1});}}),{b:2})).b)return !0;var t={},e={},n=Symbol("assign detection"),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t;})),7!==du$3({},t)[n]||cr$4(du$3({},e)).join("")!==r}))?function(t,e){for(var n=Kt$5(t),r=arguments.length,o=1,i=hn$5.f,u=ot$5.f;r>o;)for(var a,c=vt$5(arguments[o++]),l=i?vu$3(cr$4(c),i(c)):cr$4(c),s=l.length,f=0;s>f;)a=l[f++],Y$5&&!tt$5(u,c,a)||(n[a]=c[a]);return n}:du$3;function yu$3(t,e){null==t.data&&(t.data={});var n=t.data;null==n.style&&(n.style={}),Object.assign(n.style,e);}On$5({target:"Object",stat:!0,arity:2,forced:Object.assign!==gu$3},{assign:gu$3});var mu$3={selector:"font",preParseHtml:function(t){var e=$$6(t);if("font"!==Po$4(e))return t;var n=e.attr("color")||"";return n&&(e.removeAttr("color"),e.css("color",n)),e[0]}};var bu$3=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,n=Editor.marks(t);return n&&n[e]?n[e]:""},t.prototype.isActive=function(t){return !!this.getValue(t)},t.prototype.isDisabled=function(t){return null==t.selection||!!_o$4(Editor.nodes(t,{match:function(n){return "pre"===Ic$2.getNodeType(n)||!!Editor.isVoid(t,n)},universal:!0}),1)[0]},t.prototype.getPanelContentElem=function(t){var e=this.mark;if(null==this.$content){var r=$$6('<ul class="w-e-panel-content-color"></ul>');r.on("click","li",(function(n){var r=n.target;if(null!=r&&(n.preventDefault(),null!=t.selection)){var o=$$6(r).attr("data-value");"0"===o?Editor.removeMark(t,e):Editor.addMark(t,e,o);}})),this.$content=r;}var o=this.$content;if(null==o)return document.createElement("ul");o.empty();var i=this.getValue(t),u=t.getMenuConfig(e).colors;(void 0===u?[]:u).forEach((function(t){var e=$$6('<div class="color-block" data-value="'+t+'"></div>');e.css("background-color",t);var n=$$6('<li data-value="'+t+'"></li>');i===t&&n.addClass("active"),n.append(e),o.append(n);}));var a="";"color"===e&&(a=Wp$1("color.default")),"bgColor"===e&&(a=Wp$1("color.clear"));var l=$$6('\n <li data-value="0" class="clear">\n <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 '+a+"\n </li>\n ");return o.prepend(l),o[0]},t}(),wu$3=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title=Wp$1("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 Do$4(e,t),e}(bu$3),Su$3=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title=Wp$1("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 Do$4(e,t),e}(bu$3),xu$3=["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)"];var ku$3={renderStyle:function(t,e){var n=t,r=n.color,o=n.bgColor,i=e;return r&&yu$3(i,{color:r}),o&&yu$3(i,{backgroundColor:o}),i},styleToHtml:function(t,e){if(!Text.isText(t))return e;var n,r=t,o=r.color,i=r.bgColor;return o||i?((zo$4(e)||"span"!==Po$4(n=$$6(e)))&&(n=$$6("<span>"+e+"</span>")),o&&n.css("color",o),i&&n.css("background-color",i),jo$4(n)):e},preParseHtml:[mu$3],parseStyleHtml:function(t,e,n){var r=$$6(t);if(!Text.isText(e))return e;var o=e,i=Ao$4(r,"color");i&&(o.color=i);var u=Ao$4(r,"background-color");return u||(u=Ao$4(r,"background")),u&&(o.bgColor=u),o},menus:[{key:"color",factory:function(){return new wu$3},config:{colors:xu$3}},{key:"bgColor",factory:function(){return new Su$3},config:{colors:xu$3}}]},Eu$3=function(t){if("string"!=typeof t)return !1;var e=t.match(Tu$3);if(!e)return !1;var n=e[1];if(!n)return !1;if(Ou$3.test(n)||Mu$3.test(n))return !0;return !1},Tu$3=/^(?:\w+:)?\/\/(\S+)$/,Ou$3=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,Mu$3=/^[^\s\.]+\.\S{2,}$/;var Hu$2=an$5.includes;On$5({target:"Array",proto:!0,forced:J$5((function(){return !Array(1).includes()}))},{includes:function(t){return Hu$2(this,t,arguments.length>1?arguments[1]:void 0)}}),bo$4("includes");var Iu$2=lt$5([].slice),Nu$3=Yn$5("slice"),Lu$2=oe$5("species"),zu$3=Array,ju$2=Math.max;function Pu$2(t){return void 0===t&&(t="r"),t+"-"+nanoid$3()}function Au$2(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Vu$2(t,e,n,r){return Bo$4(this,void 0,void 0,(function(){var o,i;return Ro$4(this,(function(u){switch(u.label){case 0:return (o=e.getMenuConfig(t).checkLink)?[4,o(n,r)]:[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 Cu$2(t,e,n){return Bo$4(this,void 0,void 0,(function(){var r;return Ro$4(this,(function(o){switch(o.label){case 0:return (r=e.getMenuConfig(t).parseLinkUrl)?[4,r(n)]:[3,2];case 1:return [2,o.sent()];case 2:return [2,n]}}))}))}function Du$2(t){return null==t.selection||!!Ic$2.getSelectedElems(t).some((function(e){var n=e.type;return !!t.isVoid(e)||(!!["pre","code","link"].includes(n)||void 0)}))}function Fu$2(t,e){return {type:"link",url:Au$2(t),children:e?[{text:e}]:[]}}function Bu$2(t,n,r){return Bo$4(this,void 0,void 0,(function(){var o,i,u,a,l;return Ro$4(this,(function(s){switch(s.label){case 0:return r?(n||(n=r),t.restoreSelection(),Du$2(t)?[2]:[4,Vu$2("insertLink",t,n,r)]):[2];case 1:return s.sent()?[4,Cu$2("insertLink",t,r)]:[2];case 2:if(o=s.sent(),null==(i=t.selection))return [2];if(Range.isCollapsed(i)){if((a=Ic$2.getLeftLengthOfMaxLength(t))<=0)return [2];t.insertText(" "),a<n.length+1&&(n=n.slice(0,a-1)),l=Fu$2(o,n),Transforms.insertNodes(t,l),t.insertFragment([{text:" "}]);}else if((u=Editor.string(t,i))!==n){if((a=Ic$2.getLeftLengthOfMaxLength(t))<=0)return [2];a<u.length-n.length&&(n=n.slice(0,a)),t.deleteFragment(),l=Fu$2(o,n),Transforms.insertNodes(t,l);}else l=Fu$2(o),Transforms.wrapNodes(t,l,{split:!0}),Transforms.collapse(t,{edge:"end"});return [2]}}))}))}On$5({target:"Array",proto:!0,forced:!Nu$3},{slice:function(t,e){var n,r,o,i,u,a,c=bt$5(this),l=on$5(c),s=en$5(t,l),f=en$5(void 0===e?l:e,l);if(In$5(c)&&(n=c.constructor,(_n$5(n)&&(n===zu$3||In$5(n.prototype))||xt$5(n)&&null===(n=n[Lu$2]))&&(n=void 0),n===zu$3||void 0===n))return Iu$2(c,s,f);for(r=new(void 0===n?zu$3:n)(ju$2(f-s,0)),o=0;s<f;s++,o++)s in c&&(i=r,u=o,a=c[s],Y$5?Te$5.f(i,u,it$5(0,a)):i[u]=a);return r.length=o,r}});var Ru$2={type:"link",renderElem:function(t,e,n){var r=t,o=r.url,u=r.target;return jsx("a",{href:o,target:void 0===u?"_blank":u},e)}};var $u$2={type:"link",elemToHtml:function(t,e){var n=t,r=n.url,o=n.target;return '<a href="'+r+'" target="'+(void 0===o?"_blank":o)+'">'+e+"</a>"}};var _u$2={selector:"a:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=$$6(t);return 0===(e=e.filter((function(t){return !!Text.isText(t)||!!n.isInline(t)}))).length&&(e=[{text:r.text().replace(/\s+/gm," ")}]),{type:"link",url:r.attr("href")||"",target:r.attr("target")||"",children:e}}};function qu$2(){return Pu$2("w-e-insert-link")}var Wu$2=function(){function t(){this.title=Wp$1("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=qu$2(),this.urlInputId=qu$2(),this.buttonId=qu$2();}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 Du$2(t)},t.prototype.getModalPositionNode=function(t){return null},t.prototype.getModalContentElem=function(t){var e=t.selection,i=this,u=i.textInputId,a=i.urlInputId,l=i.buttonId,s=_o$4(Bh$1(Wp$1("link.text"),u),2),f=s[0],d=s[1],v=$$6(d),g=_o$4(Bh$1(Wp$1("link.url"),a),2),y=g[0],m=g[1],b=$$6(m),w=_o$4($h$1(l,Wp$1("common.ok")),1)[0];if(null==this.$content){var S=$$6("<div></div>");S.on("click","#"+l,(function(e){e.preventDefault();var n=S.find("#"+u).val(),r=S.find("#"+a).val();Bu$2(t,n,r),t.hidePanelOrModal();})),this.$content=S;}var x=this.$content;if(x.empty(),x.append(f),x.append(y),x.append(w),null==e||Range.isCollapsed(e))v.val("");else {var k=Editor.string(t,e);v.val(k);}return b.val(""),setTimeout((function(){v.focus();})),x[0]},t}();function Gu$2(){return Pu$2("w-e-update-link")}var Uu$2=function(){function t(){this.title=Wp$1("link.edit"),this.iconSvg=si$4,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.urlInputId=Gu$2(),this.buttonId=Gu$2();}return t.prototype.getSelectedLinkElem=function(t){var n=Ic$2.getSelectedNodeByType(t,"link");return null==n?null:n},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 Ic$2.getSelectedNodeByType(t,"link")},t.prototype.getModalContentElem=function(t){var i=this.urlInputId,u=this.buttonId,a=_o$4(Bh$1(Wp$1("link.url"),i),2),c=a[0],l=a[1],p=$$6(l),d=_o$4($h$1(u,Wp$1("common.ok")),1)[0];if(null==this.$content){var v=$$6("<div></div>");v.on("click","#"+u,(function(n){n.preventDefault(),t.restoreSelection();var r=Ic$2.getSelectedNodeByType(t,"link"),o=r?Node$1.string(r):"",u=v.find("#"+i).val();!function(t,n,r){Bo$4(this,void 0,void 0,(function(){var o,i;return Ro$4(this,(function(u){switch(u.label){case 0:return r?[4,Vu$2("editLink",t,n,r)]:[2];case 1:return u.sent()?[4,Cu$2("editLink",t,r)]:[2];case 2:return o=u.sent(),i={url:Au$2(o)},Transforms.setNodes(t,i,{match:function(t){return Ic$2.checkNodeType(t,"link")}}),[2]}}))}));}(t,o,u),t.hidePanelOrModal();})),this.$content=v;}var g=this.$content;g.empty(),g.append(c),g.append(d);var y=this.getValue(t);return p.val(y),setTimeout((function(){p.focus();})),g[0]},t}(),Ku$2=function(){function t(){this.title=Wp$1("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==Ic$2.getSelectedNodeByType(t,"link")},t.prototype.exec=function(t,n){this.isDisabled(t)||Transforms.unwrapNodes(t,{match:function(t){return Ic$2.checkNodeType(t,"link")}});},t}(),Xu$2=function(){function t(){this.title=Wp$1("link.view"),this.iconSvg=fi$4,this.tag="button";}return t.prototype.getSelectedLinkElem=function(t){var n=Ic$2.getSelectedNodeByType(t,"link");return null==n?null:n},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 '"+e+"'");window.open(e,"_blank");}},t}();var Ju$2={checkLink:function(t,e){return !0},parseLinkUrl:function(t){return t}},Yu$2={renderElems:[Ru$2],elemsToHtml:[$u$2],parseElemsHtml:[_u$2],menus:[{key:"insertLink",factory:function(){return new Wu$2},config:Ju$2},{key:"editLink",factory:function(){return new Uu$2},config:Ju$2},{key:"unLink",factory:function(){return new Ku$2}},{key:"viewLink",factory:function(){return new Xu$2}}],editorPlugin:function(t){var n=t.isInline,r=t.insertData,o=t.normalizeNode;t.insertNode,t.insertText;var i=t;return i.isInline=function(t){return "link"===t.type||n(t)},i.insertData=function(t){var e=t.getData("text/plain");if(Eu$3(e)){if(/<img[^>]+>/.test(t.getData("text/html")))r(t);else if(!Du$2(i)){var n=i.selection;if(null!=n){var o=Editor.string(i,n);Bu$2(i,o,e);}}}else r(t);},i.normalizeNode=function(t){var n=_o$4(t,2),r=n[0],u=n[1];return "link"!==Ic$2.getNodeType(r)?o([r,u]):""===Node$1.string(r)?Transforms.removeNodes(i,{at:u}):o([r,u])},i}};var Qu$2=lt$5(1..valueOf),Zu$2=RangeError,ta$4=RangeError,ea$4=String,na$4=Math.floor,ra$4=lt$5((function(t){var e=nr$4(mt$5(this)),n="",r=Qe$5(t);if(r<0||r===1/0)throw new Zu$2("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n})),oa$4=lt$5("".slice),ia$4=lt$5(1..toFixed),ua$4=function(t,e,n){return 0===e?n:e%2==1?ua$4(t,e-1,n*t):ua$4(t*t,e/2,n)},aa$4=function(t,e,n){for(var r=-1,o=n;++r<6;)o+=e*t[r],t[r]=o%1e7,o=na$4(o/1e7);},ca$4=function(t,e){for(var n=6,r=0;--n>=0;)r+=t[n],t[n]=na$4(r/e),r=r%e*1e7;},la$4=function(t){for(var e=6,n="";--e>=0;)if(""!==n||0===e||0!==t[e]){var r=ea$4(t[e]);n=""===n?r:n+ra$4("0",7-r.length)+r;}return n};function sa$4(t,n){return "w-e-image-container-"+Ic$2.findKey(t,n).id}function fa$4(t,n,r,o){var u=$$6("body"),a=sa$4(t,n),c=o.width,l=o.height,s=0,p=0,d=0,v=0,g=!1,y=null;function m(n,r){y=function(){var t=$$6("#"+a);if(0===t.length)throw new Error("Cannot find image container elem");return t}(),s=n,v=r;var o=y.find("img");if(0===o.length)throw new Error("Cannot find image elem");p=o.width(),d=o.height(),u.on("mousemove",b),u.on("mouseup",w);var i=Ic$2.getHoverbar(t);i&&i.hideAndClean();}var b=lodash_throttle((function(t){t.preventDefault();var e=t.clientX,n=p+(g?s-e:e-s),r=d*(n/p);n>v-6||null!=y&&(n<=15||r<=15||(y.css("width",n+"px"),y.css("height",r+"px")));}),100);function w(r){if(u.off("mousemove",b),null!=y){var o=y.width().toFixed(2),i=y.height().toFixed(2),a={style:Fo$4(Fo$4({},n.style),{width:o+"px",height:i+"px"})};Transforms.setNodes(t,a,{at:Ic$2.findPath(t,n)}),u.off("mouseup",w);}}var S={};return c&&(S.width=c),l&&(S.height=l),S.boxShadow="0 0 0 1px #B4D5FF",jsx("div",{id:a,style:S,className:"w-e-image-container w-e-selected-image-container",on:{mousedown:function(r){var o=$$6(r.target);if(o.hasClass("w-e-image-dragger")){r.preventDefault(),(o.hasClass("left-top")||o.hasClass("left-bottom"))&&(g=!0);var i=Ic$2.getParentNode(t,n);if(null!=i){var u=Ic$2.toDOMNode(t,i),a=u.getBoundingClientRect(),c=window.getComputedStyle(u),l=parseFloat(c.paddingLeft),s=parseFloat(c.paddingRight),f=parseFloat(c.borderLeftWidth),p=parseFloat(c.borderRightWidth);m(r.clientX,a.width-l-s-f-p);}}}}},r,jsx("div",{className:"w-e-image-dragger left-top"}),jsx("div",{className:"w-e-image-dragger right-top"}),jsx("div",{className:"w-e-image-dragger left-bottom"}),jsx("div",{className:"w-e-image-dragger right-bottom"}))}On$5({target:"Number",proto:!0,forced:J$5((function(){return "0.000"!==ia$4(8e-5,3)||"1"!==ia$4(.9,0)||"1.25"!==ia$4(1.255,2)||"1000000000000000128"!==ia$4(0xde0b6b3a7640080,0)}))||!J$5((function(){ia$4({});}))},{toFixed:function(t){var e,n,r,o,i=Qu$2(this),u=Qe$5(t),a=[0,0,0,0,0,0],c="",l="0";if(u<0||u>20)throw new ta$4("Incorrect fraction digits");if(i!=i)return "NaN";if(i<=-1e21||i>=1e21)return ea$4(i);if(i<0&&(c="-",i=-i),i>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(i*ua$4(2,69,1))-69)<0?i*ua$4(2,-e,1):i/ua$4(2,e,1),n*=4503599627370496,(e=52-e)>0){for(aa$4(a,0,n),r=u;r>=7;)aa$4(a,1e7,0),r-=7;for(aa$4(a,ua$4(10,r,1),0),r=e-1;r>=23;)ca$4(a,1<<23),r-=23;ca$4(a,1<<r),aa$4(a,1,1),ca$4(a,2),l=la$4(a);}else aa$4(a,0,n),aa$4(a,1<<-e,0),l=la$4(a)+ra$4("0",u);return l=u>0?c+((o=l.length)<=u?"0."+ra$4("0",u-o)+l:oa$4(l,0,o-u)+"."+oa$4(l,o-u)):c+l}});var pa$4={type:"image",renderElem:function(t,n,r){var o=t,u=o.src,a=o.alt,c=void 0===a?"":a,l=o.href,s=void 0===l?"":l,f=o.style,p=void 0===f?{}:f,d=p.width,h=void 0===d?"":d,v=p.height,g=void 0===v?"":v,y=Ic$2.isNodeSelected(r,t),m={maxWidth:"100%"};h&&(m.width="100%"),g&&(m.height="100%");var b=jsx("img",{style:m,src:u,alt:c,"data-href":s}),w=r.isDisabled();return y&&!w?fa$4(r,t,b,{width:h,height:g}):function(t,e,n,r){var o=r.width,u=r.height,a={};o&&(a.width=o),u&&(a.height=u);var c=sa$4(t,e);return jsx("div",{id:c,style:a,className:"w-e-image-container"},n)}(r,t,b,{width:h,height:g})}};var da$4={type:"image",elemToHtml:function(t,e){var n=t,r=n.src,o=n.alt,i=void 0===o?"":o,u=n.href,a=void 0===u?"":u,c=n.width,l=void 0===c?"":c,s=n.height,f=void 0===s?"":s,p=n.style,d=void 0===p?{}:p,h=d.width,v=void 0===h?"":h,g=d.height,y=void 0===g?"":g,m="";return v&&(m+="width: "+v+";"),y&&(m+="height: "+y+";"),'<img src="'+r+'" alt="'+i+'" data-href="'+a+'" width="'+l+'" height="'+f+'" style="'+m+'"/>'}};var ha$4={selector:"img:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=$$6(t),o=r.attr("data-href")||"";return o=decodeURIComponent(o),{type:"image",src:r.attr("src")||"",alt:r.attr("alt")||"",href:o,style:{width:Ao$4(r,"width"),height:Ao$4(r,"height")},width:r.attr("width")||"",height:r.attr("height")||"",children:[{text:""}]}}};function va$3(t,e,n,r,o){return void 0===r&&(r=""),void 0===o&&(o=""),Bo$4(this,void 0,void 0,(function(){var i,u;return Ro$4(this,(function(a){switch(a.label){case 0:return (i=e.getMenuConfig(t).checkImage)?[4,i(n,r,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 ga$4(t,e,n){return Bo$4(this,void 0,void 0,(function(){var r;return Ro$4(this,(function(o){switch(o.label){case 0:return (r=e.getMenuConfig(t).parseImageSrc)?[4,r(n)]:[3,2];case 1:return [2,o.sent()];case 2:return [2,n]}}))}))}function ya$3(t,n,r,o){return void 0===r&&(r=""),void 0===o&&(o=""),Bo$4(this,void 0,void 0,(function(){var i,u,a;return Ro$4(this,(function(c){switch(c.label){case 0:return [4,va$3("insertImage",t,n,r,o)];case 1:return c.sent()?[4,ga$4("insertImage",t,n)]:[2];case 2:return i=c.sent(),u={type:"image",src:Au$2(i),href:o,alt:r,style:{},children:[{text:""}]},null===t.selection&&t.restoreSelection(),Ic$2.getSelectedNodeByType(t,"image")&&t.move(1),ba$4(t)?[2]:(Transforms.insertNodes(t,u),(a=t.getMenuConfig("insertImage").onInsertedImage)&&a(u),[2])}}))}))}function ma$4(t,n,r,o,i){return void 0===r&&(r=""),void 0===o&&(o=""),void 0===i&&(i={}),Bo$4(this,void 0,void 0,(function(){var u,a,c,l,s,p;return Ro$4(this,(function(d){switch(d.label){case 0:return [4,va$3("editImage",t,n,r,o)];case 1:return d.sent()?[4,ga$4("editImage",t,n)]:[2];case 2:return u=d.sent(),null==(a=Ic$2.getSelectedNodeByType(t,"image"))?[2]:(c=a.style,l={src:u,alt:r,href:o,style:Fo$4(Fo$4({},void 0===c?{}:c),i)},Transforms.setNodes(t,l,{match:function(t){return Ic$2.checkNodeType(t,"image")}}),s=Ic$2.getSelectedNodeByType(t,"image"),(p=t.getMenuConfig("editImage").onUpdatedImage)&&p(s),[2])}}))}))}function ba$4(t){var n=t.selection;return null==n||(!Range.isCollapsed(n)||!!_o$4(Editor.nodes(t,{match:function(n){var r=Ic$2.getNodeType(n);return "code"===r||("pre"===r||("link"===r||("list-item"===r||(!!r.startsWith("header")||("blockquote"===r||!!Editor.isVoid(t,n))))))},universal:!0}),1)[0])}function wa$3(){return Pu$2("w-e-insert-image")}var Sa$4=function(){function t(){this.title=Wp$1("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=wa$3(),this.altInputId=wa$3(),this.hrefInputId=wa$3(),this.buttonId=wa$3();}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 ba$4(t)},t.prototype.getModalPositionNode=function(t){return null},t.prototype.getModalContentElem=function(t){var e=this,i=this,u=i.srcInputId,a=i.altInputId,c=i.hrefInputId,l=i.buttonId,s=_o$4(Bh$1(Wp$1("image.src"),u),2),f=s[0],p=s[1],d=$$6(p),v=_o$4(Bh$1(Wp$1("image.desc"),a),2),g=v[0],y=v[1],m=$$6(y),b=_o$4(Bh$1(Wp$1("image.link"),c),2),w=b[0],S=b[1],x=$$6(S),k=_o$4($h$1(l,Wp$1("common.ok")),1)[0];if(null==this.$content){var E=$$6("<div></div>");E.on("click","#"+l,(function(n){n.preventDefault();var r=E.find("#"+u).val().trim(),o=E.find("#"+a).val().trim(),i=E.find("#"+c).val().trim();e.insertImage(t,r,o,i),t.hidePanelOrModal();})),this.$content=E;}var T=this.$content;return T.empty(),T.append(f),T.append(g),T.append(w),T.append(k),d.val(""),m.val(""),x.val(""),setTimeout((function(){d.focus();})),T[0]},t.prototype.insertImage=function(t,e,n,r){void 0===n&&(n=""),void 0===r&&(r=""),e&&(t.restoreSelection(),this.isDisabled(t)||ya$3(t,e,n,r));},t}(),xa$3=function(){function t(){this.title=Wp$1("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==Ic$2.getSelectedNodeByType(t,"image")},t.prototype.exec=function(t,n){this.isDisabled(t)||Transforms.removeNodes(t,{match:function(t){return Ic$2.checkNodeType(t,"image")}});},t}();function ka$3(){return Pu$2("w-e-edit-image")}var Ea$4=function(){function t(){this.title=Wp$1("image.edit"),this.iconSvg=si$4,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=ka$3(),this.altInputId=ka$3(),this.hrefInputId=ka$3(),this.buttonId=ka$3();}return t.prototype.getValue=function(t){return ""},t.prototype.getImageNode=function(t){return Ic$2.getSelectedNodeByType(t,"image")},t.prototype.isActive=function(t){return !1},t.prototype.exec=function(t,e){},t.prototype.isDisabled=function(t){var n=t.selection;return null==n||(!Range.isCollapsed(n)||null==Ic$2.getSelectedNodeByType(t,"image"))},t.prototype.getModalPositionNode=function(t){return this.getImageNode(t)},t.prototype.getModalContentElem=function(t){var e=this,i=this,u=i.srcInputId,a=i.altInputId,c=i.hrefInputId,l=i.buttonId,s=this.getImageNode(t);if(null==s)throw new Error("Not found selected image node");var f=_o$4(Bh$1(Wp$1("image.src"),u),2),p=f[0],d=f[1],v=$$6(d),g=_o$4(Bh$1(Wp$1("image.desc"),a),2),y=g[0],m=g[1],b=$$6(m),w=_o$4(Bh$1(Wp$1("image.link"),c),2),S=w[0],x=w[1],k=$$6(x),E=_o$4($h$1(l,Wp$1("common.ok")),1)[0];if(null==this.$content){var T=$$6("<div></div>");T.on("click","#"+l,(function(n){n.preventDefault();var r=T.find("#"+u).val(),o=T.find("#"+a).val(),i=T.find("#"+c).val();e.updateImage(t,r,o,i),t.hidePanelOrModal();})),this.$content=T;}var O=this.$content;O.empty(),O.append(p),O.append(y),O.append(S),O.append(E);var M=s,H=M.src,I=M.alt,N=void 0===I?"":I,L=M.href,z=void 0===L?"":L;return v.val(H),b.val(N),k.val(z),setTimeout((function(){v.focus();})),O[0]},t.prototype.updateImage=function(t,e,n,r,o){void 0===n&&(n=""),void 0===r&&(r=""),void 0===o&&(o={}),e&&(t.restoreSelection(),this.isDisabled(t)||ma$4(t,e,n,r,o));},t}(),Ta$4=function(){function t(){this.title=Wp$1("image.viewLink"),this.iconSvg=fi$4,this.tag="button";}return t.prototype.getValue=function(t){var n=Ic$2.getSelectedNodeByType(t,"image");return n&&n.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 '"+e+"'");window.open(e,"_blank");}},t}(),Oa$3=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 Ic$2.getSelectedNodeByType(t,"image")},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getSelectedNode(t)},t.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=this.getSelectedNode(t);if(null!=r){var o=Ic$2.getHoverbar(t);o&&o.hideAndClean();var i=r.style,u={style:Fo$4(Fo$4({},void 0===i?{}:i),{width:this.value,height:""})};Transforms.setNodes(t,u,{match:function(t){return Ic$2.checkNodeType(t,"image")}});}}},t}(),Ma$2=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title="30%",e.value="30%",e}return Do$4(e,t),e}(Oa$3),Ha$2=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title="50%",e.value="50%",e}return Do$4(e,t),e}(Oa$3),Ia$3=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title="100%",e.value="100%",e}return Do$4(e,t),e}(Oa$3);function Na$3(){return Pu$2("w-e-insert-image")}var La$3=function(){function t(){this.title=Wp$1("image.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=Na$3(),this.heightInputId=Na$3(),this.buttonId=Na$3();}return t.prototype.getSelectedImageNode=function(t){return Ic$2.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 i=this,u=i.widthInputId,a=i.heightInputId,c=i.buttonId,l=_o$4(Bh$1(Wp$1("image.width"),u,"auto"),2),s=l[0],p=l[1],d=$$6(p),v=_o$4(Bh$1(Wp$1("image.height"),a,"auto"),2),g=v[0],y=v[1],m=$$6(y),b=_o$4($h$1(c,Wp$1("image.ok")),1)[0];if(null==this.$content){var w=$$6("<div></div>");w.on("click","#"+c,(function(n){n.preventDefault();var r=w.find("#"+u).val().trim(),o=w.find("#"+a).val().trim(),i=function(t){return /^\d+(\.\d+)?%$/.test(t)},c=function(t){return /^\d+(\.\d+)?$/.test(t)},l=function(t){return /^\d+(\.\d+)?px$/.test(t)},s="auto",p="auto";i(r)?s=r:c(r)?s=parseInt(r)+"px":l(r)&&(s=r),i(o)?p=o:c(o)?p=parseInt(o)+"px":l(o)&&(p=o);var d=x.style,h=void 0===d?{}:d;t.restoreSelection();var v=Fo$4(Fo$4({},h),{style:{width:s,height:p}});Transforms.setNodes(t,v,{match:function(t){return Ic$2.checkNodeType(t,"image")}}),t.hidePanelOrModal();})),this.$content=w;}var S=this.$content;S.empty(),S.append(s),S.append(g),S.append(b);var x=this.getSelectedImageNode(t);if(null==x)return S[0];var k=x.style,E=void 0===k?{}:k,T=E.width,O=void 0===T?"auto":T,M=E.height,H=void 0===M?"auto":M;return d.val(O),m.val(H),setTimeout((function(){d.focus();})),S[0]},t}();var za$2={onInsertedImage:function(t){},onUpdatedImage:function(t){},checkImage:function(t,e,n){return !0},parseImageSrc:function(t){return t}},ja$3={renderElems:[pa$4],elemsToHtml:[da$4],parseElemsHtml:[ha$4],menus:[{key:"insertImage",factory:function(){return new Sa$4},config:za$2},{key:"deleteImage",factory:function(){return new xa$3}},{key:"editImage",factory:function(){return new Ea$4},config:za$2},{key:"viewImageLink",factory:function(){return new Ta$4}},{key:"imageWidth30",factory:function(){return new Ma$2}},{key:"imageWidth50",factory:function(){return new Ha$2}},{key:"imageWidth100",factory:function(){return new Ia$3}},{key:"editorImageSizeMenu",factory:function(){return new La$3}}],editorPlugin:function(t){var e=t.isInline,n=t.isVoid;t.insertNode;var r=t;return r.isInline=function(t){return "image"===t.type||e(t)},r.isVoid=function(t){return "image"===t.type||n(t)},r}};var Pa$3={type:"todo",renderElem:function(t,n,r){var o=!1;r.isDisabled()&&(o=!0);var u=t.checked,a=jsx("div",{style:{margin:"5px 0"}},jsx("span",{contentEditable:!1,style:{marginRight:"0.5em"}},jsx("input",{type:"checkbox",checked:u,disabled:o,on:{change:function(n){var o=Ic$2.findPath(r,t),i={checked:n.target.checked};Transforms.setNodes(r,i,{at:o});}}})),jsx("span",null,n));return a}};var Aa$3=function(){function t(){this.title=Wp$1("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 !!Ic$2.getSelectedNodeByType(t,"todo")},t.prototype.isDisabled=function(t){return null==t.selection||!!Ic$2.getSelectedElems(t).some((function(e){if(Editor.isVoid(t,e)&&Editor.isBlock(t,e))return !0;var n=e.type;return !!["pre","table","list-item"].includes(n)||void 0}))},t.prototype.exec=function(t,e){var n=this.isActive(t);Transforms.setNodes(t,{type:n?"paragraph":"todo"});},t}();var Va$2={selector:'div[data-w-e-type="todo"]',parseElemHtml:function(t,e,n){var r=$$6(t);0===(e=e.filter((function(t){return !!Text.isText(t)||!!n.isInline(t)}))).length&&(e=[{text:r.text().replace(/\s+/gm," ")}]);var o=!1;return null!=r.find('input[type="checkbox"]').attr("checked")&&(o=!0),{type:"todo",checked:o,children:e}}};var Ca$3={renderElems:[Pa$3],elemsToHtml:[{type:"todo",elemToHtml:function(t,e){return '<div data-w-e-type="todo"><input type="checkbox" disabled '+(t.checked?"checked":"")+">"+e+"</div>"}}],preParseHtml:[{selector:"ul.w-e-todo",preParseHtml:function(t){var e=$$6(t).find("li"),n=$$6('<div data-w-e-type="todo"></div>'),r=e.find("input[type]");return n.append(r),e.children()[0].remove(),n[0].innerHTML=n[0].innerHTML+e[0].innerHTML,n[0]}}],parseElemsHtml:[Va$2],menus:[{key:"todo",factory:function(){return new Aa$3}}],editorPlugin:function(t){var n=t.deleteBackward,r=t;return r.deleteBackward=function(r){var o=t.selection;if(o&&Range.isCollapsed(o)){var i=Ic$2.getSelectedNodeByType(t,"todo");if(i&&0===Node$1.string(i).length)return void Transforms.setNodes(t,{type:"paragraph"},{mode:"highest"})}n(r);},r}};var Da$2={type:"blockquote",renderElem:function(t,e,n){return jsx("blockquote",null,e)}};var Fa$2={type:"blockquote",elemToHtml:function(t,e){return "<blockquote>"+e+"</blockquote>"}};var Ba$2={selector:"blockquote:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=$$6(t);return 0===(e=e.filter((function(t){return !!Text.isText(t)||!!n.isInline(t)}))).length&&(e=[{text:r.text().replace(/\s+/gm," ")}]),{type:"blockquote",children:e}}},Ra$3=function(){function t(){this.title=Wp$1("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 !!Ic$2.getSelectedNodeByType(t,"blockquote")},t.prototype.isDisabled=function(t){return null==t.selection||!_o$4(Editor.nodes(t,{match:function(t){var n=Ic$2.getNodeType(t);return "paragraph"===n||"blockquote"===n},universal:!0,mode:"highest"}),1)[0]},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var n=this.isActive(t)?"paragraph":"blockquote";Transforms.setNodes(t,{type:n},{mode:"highest"});}},t}();function $a$2(t){t.deleteBackward("character");Transforms.insertNodes(t,{type:"paragraph",children:[{text:""}]},{mode:"highest"});}var _a$2={renderElems:[Da$2],elemsToHtml:[Fa$2],parseElemsHtml:[Ba$2],menus:[{key:"blockquote",factory:function(){return new Ra$3}}],editorPlugin:function(t){var n=t.insertBreak,r=t.insertText,o=t;return o.insertBreak=function(){var i=o.selection;if(null==i)return n();var u=_o$4(Editor.nodes(t,{match:function(t){return Ic$2.checkNodeType(t,"blockquote")},universal:!0}),1)[0];if(!u)return n();var a=u[0];if(Ic$2.getParentNode(t,a)){var l=Ic$2.findPath(t,a),f=Editor.end(t,l);if(Point.equals(f,i.focus)){var p=Node$1.string(a);if(p&&"\n"===p.slice(-1))return void $a$2(o)}r("\n");}else $a$2(o);},o}},qa$2=function(){function t(){this.title=Wp$1("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||!!_o$4(Editor.nodes(t,{match:function(n){return "pre"===Ic$2.getNodeType(n)||!!Editor.isVoid(t,n)},universal:!0}),1)[0]},t.prototype.getPanelContentElem=function(t){if(null==this.$content){var e=$$6('<ul class="w-e-panel-content-emotion"></ul>');e.on("click","li",(function(e){var n=e.target;if(null!=n){e.preventDefault();var r=$$6(n).text();t.insertText(r);}})),this.$content=e;}var n=this.$content;if(null==n)return document.createElement("ul");n.empty();var r=t.getMenuConfig("emotion").emotions;return (void 0===r?[]:r).forEach((function(t){var e=$$6("<li>"+t+"</li>");n.append(e);})),n[0]},t}();var Wa$2={menus:[{key:"emotion",factory:function(){return new qa$2},config:{emotions:"😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 😘 😗 😙 😚 😋 😛 😝 😜 🤓 😎 😏 😒 😞 😔 😟 😕 🙁 😣 😖 😫 😩 😢 😭 😤 😠 😡 😳 😱 😨 🤗 🤔 😶 😑 😬 🙄 😯 😴 😷 🤑 😈 🤡 💩 👻 💀 👀 👣 👐 🙌 👏 🤝 👍 👎 👊 ✊ 🤛 🤜 🤞 ✌️ 🤘 👌 👈 👉 👆 👇 ☝️ ✋ 🤚 🖐 🖖 👋 🤙 💪 🖕 ✍️ 🙏".split(" ")}}]};var Ga$2={1:"12px",2:"14px",3:"16px",4:"19px",5:"24px",6:"32px",7:"48px"};var Ua$2={selector:"font",preParseHtml:function(t){var e=$$6(t);if("font"!==Po$4(e))return t;var n=e.attr("size")||"";n&&(e.removeAttr("size"),e.css("font-size",Ga$2[n]));var r=e.attr("face")||"";return r&&(e.removeAttr("face"),e.css("font-family",r)),e[0]}},Ka$2=lt$5("".indexOf);On$5({target:"String",proto:!0,forced:!Ri$4("includes")},{includes:function(t){return !!~Ka$2(nr$4(mt$5(this)),nr$4(Fi$4(t)),arguments.length>1?arguments[1]:void 0)}});var Xa$2,Ja$2,Ya$2=function(t){return t&&t.Math===Math&&t},Qa$2=Ya$2("object"==typeof globalThis&&globalThis)||Ya$2("object"==typeof window&&window)||Ya$2("object"==typeof self&&self)||Ya$2("object"==typeof q$5&&q$5)||Ya$2("object"==typeof q$5&&q$5)||function(){return this}()||Function("return this")(),Za$2=function(t){try{return !!t()}catch(t){return !0}},tc$1=!Za$2((function(){var t=function(){}.bind();return "function"!=typeof t||t.hasOwnProperty("prototype")})),ec$1=tc$1,nc$1=Function.prototype,rc$1=nc$1.apply,oc$1=nc$1.call,ic$1="object"==typeof Reflect&&Reflect.apply||(ec$1?oc$1.bind(rc$1):function(){return oc$1.apply(rc$1,arguments)}),uc$1=Function.prototype,ac$1=uc$1.call,cc$1=ec$1&&uc$1.bind.bind(ac$1,ac$1),lc$1=ec$1?cc$1:function(t){return function(){return ac$1.apply(t,arguments)}},sc$1=lc$1({}.toString),fc$1=lc$1("".slice),pc$1=function(t){return fc$1(sc$1(t),8,-1)},dc$1="object"==typeof document&&document.all,hc$1=void 0===dc$1&&void 0!==dc$1?function(t){return "function"==typeof t||t===dc$1}:function(t){return "function"==typeof t},vc$1=!Za$2((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),gc$1=Function.prototype.call,yc$1=ec$1?gc$1.bind(gc$1):function(){return gc$1.apply(gc$1,arguments)},mc$1={}.propertyIsEnumerable,bc$1=Object.getOwnPropertyDescriptor,wc$1=bc$1&&!mc$1.call({1:2},1)?function(t){var e=bc$1(this,t);return !!e&&e.enumerable}:mc$1,Sc$1={f:wc$1},xc$1=Object,kc$1=lc$1("".split),Ec$1=Za$2((function(){return !xc$1("z").propertyIsEnumerable(0)}))?function(t){return "String"===pc$1(t)?kc$1(t,""):xc$1(t)}:xc$1,Tc$1=function(t){return null==t},Oc$1=TypeError,Mc$1=Ec$1,Hc=function(t){if(Tc$1(t))throw new Oc$1("Can't call method on "+t);return t},Ic$1=hc$1,Nc$1={},Lc$1=Qa$2,zc=function(t){return Ic$1(t)?t:void 0},jc$1=lc$1({}.isPrototypeOf),Pc$1=Lc$1.navigator,Ac$1=Pc$1&&Pc$1.userAgent,Vc$1=Ac$1?String(Ac$1):"",Cc$1=Lc$1.process,Dc=Lc$1.Deno,Fc=Cc$1&&Cc$1.versions||Dc&&Dc.version,Bc=Fc&&Fc.v8;Bc&&(Ja$2=(Xa$2=Bc.split("."))[0]>0&&Xa$2[0]<4?1:+(Xa$2[0]+Xa$2[1])),!Ja$2&&Vc$1&&(!(Xa$2=Vc$1.match(/Edge\/(\d+)/))||Xa$2[1]>=74)&&(Xa$2=Vc$1.match(/Chrome\/(\d+)/))&&(Ja$2=+Xa$2[1]);var Rc$1=Ja$2,$c=Lc$1.String,_c=!!Object.getOwnPropertySymbols&&!Za$2((function(){var t=Symbol("symbol detection");return !$c(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Rc$1&&Rc$1<41})),qc=_c,Wc=qc&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Gc=function(t,e){return arguments.length<2?zc(Nc$1[t])||zc(Lc$1[t]):Nc$1[t]&&Nc$1[t][e]||Lc$1[t]&&Lc$1[t][e]},Uc=jc$1,Kc=Wc,Xc=Object,Jc=Kc?function(t){return "symbol"==typeof t}:function(t){var e=Gc("Symbol");return Ic$1(e)&&Uc(e.prototype,Xc(t))},Yc=String,Qc=function(t){try{return Yc(t)}catch(t){return "Object"}},Zc=TypeError,tl$1=function(t){if(Ic$1(t))return t;throw new Zc(Qc(t)+" is not a function")},el$1=yc$1,nl$1=function(t){return "object"==typeof t?null!==t:Ic$1(t)},rl$1=TypeError,ol$1=Object.defineProperty,il$1=function(t,e){try{ol$1(Lc$1,t,{value:e,configurable:!0,writable:!0});}catch(n){Lc$1[t]=e;}return e},ul$1=W$5((function(t){var e="__core-js_shared__",n=t.exports=Lc$1[e]||il$1(e,{});(n.versions||(n.versions=[])).push({version:"3.38.0",mode:"pure",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.0/LICENSE",source:"https://github.com/zloirock/core-js"});})),al$1=ul$1,cl$1=Object,ll$1=function(t){return cl$1(Hc(t))},sl$1=lc$1({}.hasOwnProperty),fl$1=Object.hasOwn||function(t,e){return sl$1(ll$1(t),e)},pl$1=0,dl$1=Math.random(),hl$1=lc$1(1..toString),vl$1=function(t,e){return al$1[t]||(al$1[t]=e||{})},gl$1=fl$1,yl$1=function(t){return "Symbol("+(void 0===t?"":t)+")_"+hl$1(++pl$1+dl$1,36)},ml$1=Lc$1.Symbol,bl$1=vl$1("wks"),wl$1=Kc?ml$1.for||ml$1:ml$1&&ml$1.withoutSetter||yl$1,Sl$1=Jc,xl$1=function(t,e){var n=t[e];return Tc$1(n)?void 0:tl$1(n)},kl$1=function(t,e){var n,r;if("string"===e&&Ic$1(n=t.toString)&&!nl$1(r=el$1(n,t)))return r;if(Ic$1(n=t.valueOf)&&!nl$1(r=el$1(n,t)))return r;if("string"!==e&&Ic$1(n=t.toString)&&!nl$1(r=el$1(n,t)))return r;throw new rl$1("Can't convert object to primitive value")},El$1=function(t){return gl$1(bl$1,t)||(bl$1[t]=qc&&gl$1(ml$1,t)?ml$1[t]:wl$1("Symbol."+t)),bl$1[t]},Tl$1=TypeError,Ol$1=El$1("toPrimitive"),Ml$1=function(t,e){if(!nl$1(t)||Sl$1(t))return t;var n,r=xl$1(t,Ol$1);if(r){if(void 0===e&&(e="default"),n=el$1(r,t,e),!nl$1(n)||Sl$1(n))return n;throw new Tl$1("Can't convert object to primitive value")}return void 0===e&&(e="number"),kl$1(t,e)},Hl$1=Lc$1.document,Il$1=nl$1(Hl$1)&&nl$1(Hl$1.createElement),Nl$1=vc$1,Ll$1=function(t){return Il$1?Hl$1.createElement(t):{}},zl$1=!Nl$1&&!Za$2((function(){return 7!==Object.defineProperty(Ll$1("div"),"a",{get:function(){return 7}}).a})),jl$1=Sc$1,Pl$1=function(t,e){return {enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Al$1=function(t){return Mc$1(Hc(t))},Vl$1=function(t){var e=Ml$1(t,"string");return Sl$1(e)?e:e+""},Cl$1=zl$1,Dl$1=Object.getOwnPropertyDescriptor,Fl$1={f:Nl$1?Dl$1:function(t,e){if(t=Al$1(t),e=Vl$1(e),Cl$1)try{return Dl$1(t,e)}catch(t){}if(gl$1(t,e))return Pl$1(!el$1(jl$1.f,t,e),t[e])}},Bl$1=/#|\.prototype\./,Rl$1=function(t,e){var n=_l$1[$l$1(t)];return n===Wl$1||n!==ql$1&&(Ic$1(e)?Za$2(e):!!e)},$l$1=Rl$1.normalize=function(t){return String(t).replace(Bl$1,".").toLowerCase()},_l$1=Rl$1.data={},ql$1=Rl$1.NATIVE="N",Wl$1=Rl$1.POLYFILL="P",Gl$1=Rl$1,Ul$1=function(t){if("Function"===pc$1(t))return lc$1(t)},Kl$1=Ul$1(Ul$1.bind),Xl$1=Nl$1&&Za$2((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Jl$1=String,Yl$1=TypeError,Ql$1=Xl$1,Zl$1=function(t){if(nl$1(t))return t;throw new Yl$1(Jl$1(t)+" is not an object")},ts=TypeError,es=Object.defineProperty,ns=Object.getOwnPropertyDescriptor,rs="enumerable",os="configurable",is="writable",us={f:Nl$1?Ql$1?function(t,e,n){if(Zl$1(t),e=Vl$1(e),Zl$1(n),"function"==typeof t&&"prototype"===e&&"value"in n&&is in n&&!n[is]){var r=ns(t,e);r&&r[is]&&(t[e]=n.value,n={configurable:os in n?n[os]:r[os],enumerable:rs in n?n[rs]:r[rs],writable:!1});}return es(t,e,n)}:es:function(t,e,n){if(Zl$1(t),e=Vl$1(e),Zl$1(n),Cl$1)try{return es(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new ts("Accessors not supported");return "value"in n&&(t[e]=n.value),t}},as=ic$1,cs=Fl$1,ls=Gl$1,ss=function(t,e){return tl$1(t),void 0===e?t:ec$1?Kl$1(t,e):function(){return t.apply(e,arguments)}},fs=Nl$1?function(t,e,n){return us.f(t,e,Pl$1(1,n))}:function(t,e,n){return t[e]=n,t},ps=cs.f,ds=function(t){var e=function(n,r,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,o)}return as(t,this,arguments)};return e.prototype=t.prototype,e},hs=Array.isArray||function(t){return "Array"===pc$1(t)},vs=Math.ceil,gs=Math.floor,ys=Math.trunc||function(t){var e=+t;return (e>0?gs:vs)(e)},ms=function(t){var e=+t;return e!=e||0===e?0:ys(e)},bs=Math.min,ws=function(t){var e=ms(t);return e>0?bs(e,9007199254740991):0},Ss=TypeError,xs={};xs[El$1("toStringTag")]="z";var ks="[object z]"===String(xs),Es=El$1("toStringTag"),Ts=Object,Os="Arguments"===pc$1(function(){return arguments}()),Ms=ks?pc$1:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Ts(t),Es))?n:Os?pc$1(e):"Object"===(r=pc$1(e))&&Ic$1(e.callee)?"Arguments":r},Hs=lc$1(Function.toString);Ic$1(al$1.inspectSource)||(al$1.inspectSource=function(t){return Hs(t)});var Is=al$1.inspectSource,Ns=Ms,Ls=Is,zs=function(){},js=Gc("Reflect","construct"),Ps=/^\s*(?:class|function)\b/,As=lc$1(Ps.exec),Vs=!Ps.test(zs),Cs=function(t){if(!Ic$1(t))return !1;try{return js(zs,[],t),!0}catch(t){return !1}},Ds=function(t){if(!Ic$1(t))return !1;switch(Ns(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return !1}try{return Vs||!!As(Ps,Ls(t))}catch(t){return !0}};Ds.sham=!0;var Fs=!js||Za$2((function(){var t;return Cs(Cs.call)||!Cs(Object)||!Cs((function(){t=!0;}))||t}))?Ds:Cs,Bs=hs,Rs=Fs,$s=El$1("species"),_s=Array,qs=function(t){var e;return Bs(t)&&(e=t.constructor,(Rs(e)&&(e===_s||Bs(e.prototype))||nl$1(e)&&null===(e=e[$s]))&&(e=void 0)),void 0===e?_s:e},Ws=El$1("species"),Gs=function(t,e){var n,r,o,i,u,a,c,l,s,f=t.target,p=t.global,d=t.stat,h=t.proto,v=p?Lc$1:d?Lc$1[f]:Lc$1[f]&&Lc$1[f].prototype,g=p?Nc$1:Nc$1[f]||fs(Nc$1,f,{})[f],y=g.prototype;for(i in e)r=!(n=ls(p?i:f+(d?".":"#")+i,t.forced))&&v&&gl$1(v,i),a=g[i],r&&(c=t.dontCallGetSet?(s=ps(v,i))&&s.value:v[i]),u=r&&c?c:e[i],(n||h||typeof a!=typeof u)&&(l=t.bind&&r?ss(u,Lc$1):t.wrap&&r?ds(u):h&&Ic$1(u)?Ul$1(u):u,(t.sham||u&&u.sham||a&&a.sham)&&fs(l,"sham",!0),fs(g,i,l),h&&(gl$1(Nc$1,o=f+"Prototype")||fs(Nc$1,o,{}),fs(Nc$1[o],i,u),t.real&&y&&(n||!y[i])&&fs(y,i,u)));},Us=function(t){return ws(t.length)},Ks=function(t){if(t>9007199254740991)throw Ss("Maximum allowed index exceeded");return t},Xs=function(t,e,n){Nl$1?us.f(t,e,Pl$1(0,n)):t[e]=n;},Js=function(t,e){return new(qs(t))(0===e?0:e)},Ys=function(t){return Rc$1>=51||!Za$2((function(){var e=[];return (e.constructor={})[Ws]=function(){return {foo:1}},1!==e[t](Boolean).foo}))},Qs=El$1("isConcatSpreadable"),Zs=Rc$1>=51||!Za$2((function(){var t=[];return t[Qs]=!1,t.concat()[0]!==t})),tf=function(t){if(!nl$1(t))return !1;var e=t[Qs];return void 0!==e?!!e:Bs(t)},ef=!Zs||!Ys("concat");Gs({target:"Array",proto:!0,arity:1,forced:ef},{concat:function(t){var e,n,r,o,i,u=ll$1(this),a=Js(u,0),c=0;for(e=-1,r=arguments.length;e<r;e++)if(tf(i=-1===e?u:arguments[e]))for(o=Us(i),Ks(c+o),n=0;n<o;n++,c++)n in i&&Xs(a,c,i[n]);else Ks(c+1),Xs(a,c++,i);return a.length=c,a}});var nf,rf=String,of=Math.max,uf=Math.min,af=function(t,e){var n=ms(t);return n<0?of(n+e,0):uf(n,e)},cf=function(t){return function(e,n,r){var o=Al$1(e),i=Us(o);if(0===i)return !t&&-1;var u,a=af(r,i);if(t&&n!=n){for(;i>a;)if((u=o[a++])!=u)return !0}else for(;i>a;a++)if((t||a in o)&&o[a]===n)return t||a||0;return !t&&-1}},lf={includes:cf(!0),indexOf:cf(!1)},sf={},ff=lf.indexOf,pf=lc$1([].push),df=function(t,e){var n,r=Al$1(t),o=0,i=[];for(n in r)!gl$1(sf,n)&&gl$1(r,n)&&pf(i,n);for(;e.length>o;)gl$1(r,n=e[o++])&&(~ff(i,n)||pf(i,n));return i},hf=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],vf=Object.keys||function(t){return df(t,hf)},gf=Nl$1&&!Ql$1?Object.defineProperties:function(t,e){Zl$1(t);for(var n,r=Al$1(e),o=vf(e),i=o.length,u=0;i>u;)us.f(t,n=o[u++],r[n]);return t},yf={f:gf},mf=Gc("document","documentElement"),bf=vl$1("keys"),wf=yf,Sf=mf,xf=function(t){return bf[t]||(bf[t]=yl$1(t))},kf="prototype",Ef="script",Tf=xf("IE_PROTO"),Of=function(){},Mf=function(t){return "<"+Ef+">"+t+"</"+Ef+">"},Hf=function(t){t.write(Mf("")),t.close();var e=t.parentWindow.Object;return t=null,e},If=function(){try{nf=new ActiveXObject("htmlfile");}catch(t){}var t,e,n;If="undefined"!=typeof document?document.domain&&nf?Hf(nf):(e=Ll$1("iframe"),n="java"+Ef+":",e.style.display="none",Sf.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(Mf("document.F=Object")),t.close(),t.F):Hf(nf);for(var r=hf.length;r--;)delete If[kf][hf[r]];return If()};sf[Tf]=!0;var Nf,Lf,zf,jf=Object.create||function(t,e){var n;return null!==t?(Of[kf]=Zl$1(t),n=new Of,Of[kf]=null,n[Tf]=t):n=If(),void 0===e?n:wf.f(n,e)},Pf=hf.concat("length","prototype"),Af={f:Object.getOwnPropertyNames||function(t){return df(t,Pf)}},Vf=lc$1([].slice),Cf=Af.f,Df="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Ff={f:function(t){return Df&&"Window"===pc$1(t)?function(t){try{return Cf(t)}catch(t){return Vf(Df)}}(t):Cf(Al$1(t))}},Bf={f:Object.getOwnPropertySymbols},Rf={f:El$1},$f=us.f,_f=function(t,e,n,r){return r&&r.enumerable?t[e]=n:fs(t,e,n),t},qf=ks?{}.toString:function(){return "[object "+Ns(this)+"]"},Wf=us.f,Gf=El$1("toStringTag"),Uf=Lc$1.WeakMap,Kf=Ic$1(Uf)&&/native code/.test(String(Uf)),Xf="Object already initialized",Jf=Lc$1.TypeError,Yf=Lc$1.WeakMap;if(Kf||al$1.state){var Qf=al$1.state||(al$1.state=new Yf);Qf.get=Qf.get,Qf.has=Qf.has,Qf.set=Qf.set,Nf=function(t,e){if(Qf.has(t))throw new Jf(Xf);return e.facade=t,Qf.set(t,e),e},Lf=function(t){return Qf.get(t)||{}},zf=function(t){return Qf.has(t)};}else {var Zf=xf("state");sf[Zf]=!0,Nf=function(t,e){if(gl$1(t,Zf))throw new Jf(Xf);return e.facade=t,fs(t,Zf,e),e},Lf=function(t){return gl$1(t,Zf)?t[Zf]:{}},zf=function(t){return gl$1(t,Zf)};}var tp={set:Nf,get:Lf,has:zf,enforce:function(t){return zf(t)?Lf(t):Nf(t,{})},getterFor:function(t){return function(e){var n;if(!nl$1(e)||(n=Lf(e)).type!==t)throw new Jf("Incompatible receiver, "+t+" required");return n}}},ep=lc$1([].push),np=function(t){var e=1===t,n=2===t,r=3===t,o=4===t,i=6===t,u=7===t,a=5===t||i;return function(c,l,s,f){for(var p,d,h=ll$1(c),v=Mc$1(h),g=Us(v),y=ss(l,s),m=0,b=f||Js,w=e?b(c,g):n||u?b(c,0):void 0;g>m;m++)if((a||m in v)&&(d=y(p=v[m],m,h),t))if(e)w[m]=d;else if(d)switch(t){case 3:return !0;case 5:return p;case 6:return m;case 2:ep(w,p);}else switch(t){case 4:return !1;case 7:ep(w,p);}return i?-1:r||o?o:w}},rp={forEach:np(0),map:np(1),filter:np(2),some:np(3),every:np(4),find:np(5),findIndex:np(6),filterReject:np(7)},op=function(t){if("Symbol"===Ns(t))throw new TypeError("Cannot convert a Symbol value to a string");return rf(t)},ip=jf,up=Ff,ap=Bf,cp=function(t,e,n){return us.f(t,e,n)},lp=function(t){var e=Nc$1.Symbol||(Nc$1.Symbol={});gl$1(e,t)||$f(e,t,{value:Rf.f(t)});},sp=function(){var t=Gc("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,r=El$1("toPrimitive");e&&!e[r]&&_f(e,r,(function(t){return el$1(n,this)}),{arity:1});},fp=function(t,e,n,r){var o=n?t:t&&t.prototype;o&&(gl$1(o,Gf)||Wf(o,Gf,{configurable:!0,value:e}),r&&!ks&&fs(o,"toString",qf));},pp=tp,dp=rp.forEach,hp=xf("hidden"),vp="Symbol",gp="prototype",yp=pp.set,mp=pp.getterFor(vp),bp=Object[gp],wp=Lc$1.Symbol,Sp=wp&&wp[gp],xp=Lc$1.RangeError,kp=Lc$1.TypeError,Ep=Lc$1.QObject,Tp=cs.f,Op=us.f,Mp=up.f,Hp=jl$1.f,Ip=lc$1([].push),Np=vl$1("symbols"),Lp=vl$1("op-symbols"),zp=vl$1("wks"),jp=!Ep||!Ep[gp]||!Ep[gp].findChild,Pp=function(t,e,n){var r=Tp(bp,e);r&&delete bp[e],Op(t,e,n),r&&t!==bp&&Op(bp,e,r);},Ap=Nl$1&&Za$2((function(){return 7!==ip(Op({},"a",{get:function(){return Op(this,"a",{value:7}).a}})).a}))?Pp:Op,Vp=function(t,e){var n=Np[t]=ip(Sp);return yp(n,{type:vp,tag:t,description:e}),Nl$1||(n.description=e),n},Cp=function(t,e,n){t===bp&&Cp(Lp,e,n),Zl$1(t);var r=Vl$1(e);return Zl$1(n),gl$1(Np,r)?(n.enumerable?(gl$1(t,hp)&&t[hp][r]&&(t[hp][r]=!1),n=ip(n,{enumerable:Pl$1(0,!1)})):(gl$1(t,hp)||Op(t,hp,Pl$1(1,ip(null))),t[hp][r]=!0),Ap(t,r,n)):Op(t,r,n)},Dp=function(t,e){Zl$1(t);var n=Al$1(e),r=vf(n).concat($p(n));return dp(r,(function(e){Nl$1&&!el$1(Fp,n,e)||Cp(t,e,n[e]);})),t},Fp=function(t){var e=Vl$1(t),n=el$1(Hp,this,e);return !(this===bp&&gl$1(Np,e)&&!gl$1(Lp,e))&&(!(n||!gl$1(this,e)||!gl$1(Np,e)||gl$1(this,hp)&&this[hp][e])||n)},Bp=function(t,e){var n=Al$1(t),r=Vl$1(e);if(n!==bp||!gl$1(Np,r)||gl$1(Lp,r)){var o=Tp(n,r);return !o||!gl$1(Np,r)||gl$1(n,hp)&&n[hp][r]||(o.enumerable=!0),o}},Rp=function(t){var e=Mp(Al$1(t)),n=[];return dp(e,(function(t){gl$1(Np,t)||gl$1(sf,t)||Ip(n,t);})),n},$p=function(t){var e=t===bp,n=Mp(e?Lp:Al$1(t)),r=[];return dp(n,(function(t){!gl$1(Np,t)||e&&!gl$1(bp,t)||Ip(r,Np[t]);})),r};qc||(wp=function(){if(Uc(Sp,this))throw new kp("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?op(arguments[0]):void 0,e=yl$1(t),n=function(t){var r=void 0===this?Lc$1:this;r===bp&&el$1(n,Lp,t),gl$1(r,hp)&&gl$1(r[hp],e)&&(r[hp][e]=!1);var o=Pl$1(1,t);try{Ap(r,e,o);}catch(t){if(!(t instanceof xp))throw t;Pp(r,e,o);}};return Nl$1&&jp&&Ap(bp,e,{configurable:!0,set:n}),Vp(e,t)},Sp=wp[gp],_f(Sp,"toString",(function(){return mp(this).tag})),_f(wp,"withoutSetter",(function(t){return Vp(yl$1(t),t)})),jl$1.f=Fp,us.f=Cp,wf.f=Dp,cs.f=Bp,Af.f=up.f=Rp,ap.f=$p,Rf.f=function(t){return Vp(El$1(t),t)},Nl$1&&cp(Sp,"description",{configurable:!0,get:function(){return mp(this).description}})),Gs({global:!0,constructor:!0,wrap:!0,forced:!qc,sham:!qc},{Symbol:wp}),dp(vf(zp),(function(t){lp(t);})),Gs({target:vp,stat:!0,forced:!qc},{useSetter:function(){jp=!0;},useSimple:function(){jp=!1;}}),Gs({target:"Object",stat:!0,forced:!qc,sham:!Nl$1},{create:function(t,e){return void 0===e?ip(t):Dp(ip(t),e)},defineProperty:Cp,defineProperties:Dp,getOwnPropertyDescriptor:Bp}),Gs({target:"Object",stat:!0,forced:!qc},{getOwnPropertyNames:Rp}),sp(),fp(wp,vp),sf[hp]=!0;var _p=qc&&!!Symbol.for&&!!Symbol.keyFor,qp=vl$1("string-to-symbol-registry"),Wp=vl$1("symbol-to-string-registry");Gs({target:"Symbol",stat:!0,forced:!_p},{for:function(t){var e=op(t);if(gl$1(qp,e))return qp[e];var n=Gc("Symbol")(e);return qp[e]=n,Wp[n]=e,n}});var Gp=vl$1("symbol-to-string-registry");Gs({target:"Symbol",stat:!0,forced:!_p},{keyFor:function(t){if(!Sl$1(t))throw new TypeError(Qc(t)+" is not a symbol");if(gl$1(Gp,t))return Gp[t]}});var Up=lc$1([].push),Kp=function(t){if(Ic$1(t))return t;if(Bs(t)){for(var e=t.length,n=[],r=0;r<e;r++){var o=t[r];"string"==typeof o?Up(n,o):"number"!=typeof o&&"Number"!==pc$1(o)&&"String"!==pc$1(o)||Up(n,op(o));}var i=n.length,u=!0;return function(t,e){if(u)return u=!1,e;if(Bs(this))return e;for(var r=0;r<i;r++)if(n[r]===t)return e}}},Xp=String,Jp=Gc("JSON","stringify"),Yp=lc$1(/./.exec),Qp=lc$1("".charAt),Zp=lc$1("".charCodeAt),td=lc$1("".replace),ed=lc$1(1..toString),nd=/[\uD800-\uDFFF]/g,rd=/^[\uD800-\uDBFF]$/,od=/^[\uDC00-\uDFFF]$/,id=!qc||Za$2((function(){var t=Gc("Symbol")("stringify detection");return "[null]"!==Jp([t])||"{}"!==Jp({a:t})||"{}"!==Jp(Object(t))})),ud=Za$2((function(){return '"\\udf06\\ud834"'!==Jp("\udf06\ud834")||'"\\udead"'!==Jp("\udead")})),ad=function(t,e){var n=Vf(arguments),r=Kp(e);if(Ic$1(r)||void 0!==t&&!Sl$1(t))return n[1]=function(t,e){if(Ic$1(r)&&(e=el$1(r,this,Xp(t),e)),!Sl$1(e))return e},as(Jp,null,n)},cd=function(t,e,n){var r=Qp(n,e-1),o=Qp(n,e+1);return Yp(rd,t)&&!Yp(od,o)||Yp(od,t)&&!Yp(rd,r)?"\\u"+ed(Zp(t,0),16):t};Jp&&Gs({target:"JSON",stat:!0,arity:3,forced:id||ud},{stringify:function(t,e,n){var r=Vf(arguments),o=as(id?ad:Jp,null,r);return ud&&"string"==typeof o?td(o,nd,cd):o}});var ld=!qc||Za$2((function(){ap.f(1);}));Gs({target:"Object",stat:!0,forced:ld},{getOwnPropertySymbols:function(t){var e=ap.f;return e?e(ll$1(t)):[]}}),lp("asyncIterator"),lp("hasInstance"),lp("isConcatSpreadable"),lp("iterator"),lp("match"),lp("matchAll"),lp("replace"),lp("search"),lp("species"),lp("split"),lp("toPrimitive"),sp(),lp("toStringTag"),fp(Gc("Symbol"),"Symbol"),lp("unscopables"),fp(Lc$1.JSON,"JSON",!0);var sd,fd,pd,dd=Nc$1.Symbol,hd=Function.prototype,vd=Nl$1&&Object.getOwnPropertyDescriptor,gd=gl$1(hd,"name"),yd={EXISTS:gd,PROPER:gd&&"something"===function(){}.name,CONFIGURABLE:gd&&(!Nl$1||Nl$1&&vd(hd,"name").configurable)},md=!Za$2((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),bd=xf("IE_PROTO"),wd=Object,Sd=wd.prototype,xd=md?wd.getPrototypeOf:function(t){var e=ll$1(t);if(gl$1(e,bd))return e[bd];var n=e.constructor;return Ic$1(n)&&e instanceof n?n.prototype:e instanceof wd?Sd:null},kd=El$1("iterator"),Ed=!1;[].keys&&("next"in(pd=[].keys())?(fd=xd(xd(pd)))!==Object.prototype&&(sd=fd):Ed=!0);var Td=!nl$1(sd)||Za$2((function(){var t={};return sd[kd].call(t)!==t}));sd=Td?{}:ip(sd),Ic$1(sd[kd])||_f(sd,kd,(function(){return this}));var Od={IteratorPrototype:sd,BUGGY_SAFARI_ITERATORS:Ed},Hd=Od.IteratorPrototype,jd=function(t,e,n){try{return lc$1(tl$1(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}},Ad=(Object.setPrototypeOf||"__proto__"in{}&&function(){var t,e=!1,n={};try{(t=jd(Object.prototype,"__proto__","set"))(n,[]),e=n instanceof Array;}catch(t){}}(),function(t,e,n,r){var o=e+" Iterator";return t.prototype=ip(Hd,{next:Pl$1(+!r,n)}),fp(t,o,!1,!0),t}),Vd=yd.PROPER,Cd=Od.BUGGY_SAFARI_ITERATORS,Dd=El$1("iterator"),Fd="keys",Bd="values",Rd="entries",$d=function(){return this},qd=function(t,e,n,r,o,i,u){Ad(n,e,r);var a,c,l,s=function(t){if(t===o&&v)return v;if(!Cd&&t&&t in d)return d[t];switch(t){case Fd:case Bd:case Rd:return function(){return new n(this,t)}}return function(){return new n(this)}},f=e+" Iterator",p=!1,d=t.prototype,h=d[Dd]||d["@@iterator"]||o&&d[o],v=!Cd&&h||s(o),g="Array"===e&&d.entries||h;if(g&&(a=xd(g.call(new t)))!==Object.prototype&&a.next&&(fp(a,f,!0,!0),$d),Vd&&o===Bd&&h&&h.name!==Bd&&(p=!0,v=function(){return el$1(h,this)}),o)if(c={values:s(Bd),keys:i?v:s(Fd),entries:s(Rd)},u)for(l in c)(Cd||p||!(l in d))&&_f(d,l,c[l]);else Gs({target:e,proto:!0,forced:Cd||p},c);return u&&d[Dd]!==v&&_f(d,Dd,v,{name:o}),c},Wd=function(t,e){return {value:t,done:e}},Gd=(us.f,"Array Iterator"),Ud=pp.set,Kd=pp.getterFor(Gd);qd(Array,"Array",(function(t,e){Ud(this,{type:Gd,target:Al$1(t),index:0,kind:e});}),(function(){var t=Kd(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=void 0,Wd(void 0,!0);switch(t.kind){case"keys":return Wd(n,!1);case"values":return Wd(e[n],!1)}return Wd([n,e[n]],!1)}),"values");var Xd={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};for(var Jd in Xd)fp(Lc$1[Jd],Jd);var Yd=dd,Qd=us.f,Zd=El$1("metadata"),th=Function.prototype;void 0===th[Zd]&&Qd(th,Zd,{value:null}),lp("asyncDispose"),lp("dispose"),lp("metadata");var eh=Yd,nh=Gc("Symbol"),rh=nh.keyFor,oh=lc$1(nh.prototype.valueOf),ih=nh.isRegisteredSymbol||function(t){try{return void 0!==rh(oh(t))}catch(t){return !1}};Gs({target:"Symbol",stat:!0},{isRegisteredSymbol:ih});for(var uh=Gc("Symbol"),ah=uh.isWellKnownSymbol,ch=Gc("Object","getOwnPropertyNames"),lh=lc$1(uh.prototype.valueOf),sh=vl$1("wks"),fh=0,ph=ch(uh),dh=ph.length;fh<dh;fh++)try{var hh=ph[fh];Sl$1(uh[hh])&&El$1(hh);}catch(t){}var vh=function(t){if(ah&&ah(t))return !0;try{for(var e=lh(t),n=0,r=ch(sh),o=r.length;n<o;n++)if(sh[r[n]]==e)return !0}catch(t){}return !1};Gs({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:vh}),lp("customMatcher"),lp("observable"),Gs({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:ih}),Gs({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:vh}),lp("matcher"),lp("metadataKey"),lp("patternMatch"),lp("replaceAll");var gh=eh,yh=lc$1("".charAt),mh=lc$1("".charCodeAt),bh=lc$1("".slice),wh=function(t){return function(e,n){var r,o,i=op(Hc(e)),u=ms(n),a=i.length;return u<0||u>=a?t?"":void 0:(r=mh(i,u))<55296||r>56319||u+1===a||(o=mh(i,u+1))<56320||o>57343?t?yh(i,u):r:t?bh(i,u,u+2):o-56320+(r-55296<<10)+65536}},Sh={codeAt:wh(!1),charAt:wh(!0)}.charAt,xh="String Iterator",kh=pp.set,Eh=pp.getterFor(xh);qd(String,"String",(function(t){kh(this,{type:xh,string:op(t),index:0});}),(function(){var t,e=Eh(this),n=e.string,r=e.index;return r>=n.length?Wd(void 0,!0):(t=Sh(n,r),e.index+=t.length,Wd(t,!1))}));var Th=Rf.f("iterator");function Oh(t){return Oh="function"==typeof gh&&"symbol"==typeof Th?function(t){return typeof t}:function(t){return t&&"function"==typeof gh&&t.constructor===gh&&t!==gh.prototype?"symbol":typeof t},Oh(t)}var Mh=Ne$5.EXISTS,Hh=Function.prototype,Ih=lt$5(Hh.toString),Nh=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Lh=lt$5(Nh.exec);Y$5&&!Mh&&function(t,e,n){n.get&&Ue$5(n.get,e,{getter:!0}),n.set&&Ue$5(n.set,e,{setter:!0}),Te$5.f(t,e,n);}(Hh,"name",{configurable:!0,get:function(){try{return Lh(Nh,Ih(this))[1]}catch(t){return ""}}});var zh=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,n=Editor.marks(t);return n&&n[e]?n[e]:""},t.prototype.isDisabled=function(t){return null==t.selection||(this.mark,!!_o$4(Editor.nodes(t,{match:function(n){return "pre"===Ic$2.getNodeType(n)||!!Editor.isVoid(t,n)},universal:!0}),1)[0])},t.prototype.exec=function(t,e){var n=this.mark;e?t.addMark(n,e):t.removeMark(n);},t}(),jh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title=Wp$1("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 Do$4(e,t),e.prototype.getOptions=function(t){var e=[],r=t.getMenuConfig(this.mark).fontSizeList,o=void 0===r?[]:r;e.push({text:Wp$1("fontSize.default"),value:""}),o.forEach((function(t){if("string"==typeof t)e.push({text:t,value:t});else if("object"===Oh(t)){var n=t.name,r=t.value;e.push({text:n,value:r});}}));var i=this.getValue(t);return e.forEach((function(t){t.value===i?t.selected=!0:delete t.selected;})),e},e}(zh),Ph=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title=Wp$1("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 Do$4(e,t),e.prototype.getOptions=function(t){var e=[],r=t.getMenuConfig(this.mark).fontFamilyList,o=void 0===r?[]:r;e.push({text:Wp$1("fontFamily.default"),value:""}),o.forEach((function(t){if("string"==typeof t)e.push({text:t,value:t,styleForRenderMenuList:{"font-family":t}});else if("object"===Oh(t)){var n=t.name,r=t.value;e.push({text:n,value:r,styleForRenderMenuList:{"font-family":r}});}}));var i=this.getValue(t);return e.forEach((function(t){t.value===i?t.selected=!0:delete t.selected;})),e},e}(zh);var Ah={renderStyle:function(t,e){var n=t,r=n.fontSize,o=n.fontFamily,i=e;return r&&yu$3(i,{fontSize:r}),o&&yu$3(i,{fontFamily:o}),i},styleToHtml:function(t,e){if(!Text.isText(t))return e;var n,r=t,o=r.fontSize,i=r.fontFamily;return o||i?((zo$4(e)||"span"!==Po$4(n=$$6(e)))&&(n=$$6("<span>"+e+"</span>")),o&&n.css("font-size",o),i&&n.css("font-family",i),jo$4(n)):e},preParseHtml:[Ua$2],parseStyleHtml:function(t,e,n){var r=$$6(t);if(!Text.isText(e))return e;var o=e,i=n.getMenuConfig("fontSize").fontSizeList,u=void 0===i?[]:i,c=Ao$4(r,"font-size"),l=u.find((function(t){return t.value&&t.value===c}))||u.includes(c);c&&l&&(o.fontSize=c);var s=n.getMenuConfig("fontFamily").fontFamilyList,f=void 0===s?[]:s,p=Ao$4(r,"font-family").replace(/"/g,""),d=f.find((function(t){return t.value&&t.value===p}))||f.includes(p);return p&&d&&(o.fontFamily=p),o},menus:[{key:"fontSize",factory:function(){return new jh},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 Ph},config:{fontFamilyList:["黑体",{name:"仿宋",value:"仿宋"},"楷体","标楷体","华文仿宋","华文楷体",{name:"宋体",value:"宋体"},"微软雅黑","Arial","Tahoma","Verdana","Times New Roman","Courier New"]}}]};var Vh={selector:"p,h1,h2,h3,h4,h5",preParseHtml:function(t){var e=$$6(t),n=Ao$4(e,"padding-left");return /\dem/.test(n)&&e.css("text-indent","2em"),/\dpx/.test(n)&&parseInt(n,10)%32==0&&e.css("text-indent","2em"),e[0]}};var Ch=function(){function t(){this.tag="button";}return t.prototype.getValue=function(t){var e=_o$4(Editor.nodes(t,{match:function(t){return !!t.indent},universal:!0}),1),n=e[0];return null==n?"":_o$4(n,1)[0].indent||""},t.prototype.isActive=function(t){return !1},t.prototype.getMatchNode=function(t){var n=_o$4(Editor.nodes(t,{match:function(t){var n=Ic$2.getNodeType(t);return "paragraph"===n||!!n.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return null==n?null:n[0]},t}(),Dh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title=Wp$1("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 Do$4(e,t),e.prototype.isDisabled=function(t){var e=this.getMatchNode(t);return null==e||!e.indent},e.prototype.exec=function(t,e){Transforms.setNodes(t,{indent:null},{match:function(t){return Element$1.isElement(t)}});},e}(Ch),Fh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title=Wp$1("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 Do$4(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 n=e.children.filter(Text.isText)[0];if(!n||!n.fontSize)return this.DEFAULT_INDENT_VALUE;var r=n.fontSize,o=parseInt(n.fontSize);return ""+2*o+r.replace(""+o,"")},e.prototype.exec=function(t,e){var n=this.getIndentValue(t);Transforms.setNodes(t,{indent:n},{match:function(t){return Element$1.isElement(t)},mode:"highest"});},e}(Ch),Bh={renderStyle:function(t,e){if(!Element$1.isElement(t))return e;var n=t.indent,r=e;return n&&yu$3(r,{textIndent:n}),r},styleToHtml:function(t,e){if(!Element$1.isElement(t))return e;var n=t.indent;if(!n)return e;var r=$$6(e);return r.css("text-indent",n),jo$4(r)},preParseHtml:[Vh],parseStyleHtml:function(t,e,n){var r=$$6(t);if(!Element$1.isElement(e))return e;var o=e,i=Ao$4(r,"text-indent"),u=parseInt(i,10);return i&&u>0&&(o.indent=i),o},menus:[{key:"indent",factory:function(){return new Fh}},{key:"delIndent",factory:function(){return new Dh}}]};var Rh=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||!!Ic$2.getSelectedElems(t).some((function(e){var n=e.type;return !(!Editor.isVoid(t,e)||!Editor.isBlock(t,e)||"video"===n)||(!!["pre","code"].includes(n)||void 0)}))},t}(),$h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title=Wp$1("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 Do$4(e,t),e.prototype.exec=function(t,e){Transforms.setNodes(t,{textAlign:"left"},{match:function(e){return Element$1.isElement(e)&&!t.isInline(e)}});},e}(Rh),_h=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title=Wp$1("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 Do$4(e,t),e.prototype.exec=function(t,e){Transforms.setNodes(t,{textAlign:"right"},{match:function(e){return Element$1.isElement(e)&&!t.isInline(e)}});},e}(Rh),qh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title=Wp$1("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 Do$4(e,t),e.prototype.exec=function(t,e){Transforms.setNodes(t,{textAlign:"center"},{match:function(e){return Element$1.isElement(e)&&!t.isInline(e)}});},e}(Rh),Wh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title=Wp$1("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 Do$4(e,t),e.prototype.exec=function(t,e){Transforms.setNodes(t,{textAlign:"justify"},{match:function(e){return Element$1.isElement(e)&&!t.isInline(e)}});},e}(Rh),Gh={renderStyle:function(t,e){if(!Element$1.isElement(t))return e;var n=t.textAlign,r=e;return n&&yu$3(r,{textAlign:n}),r},styleToHtml:function(t,e){if(!Element$1.isElement(t))return e;var n=t.textAlign;if(!n)return e;var r=$$6(e);return r.css("text-align",n),jo$4(r)},parseStyleHtml:function(t,e,n){var r=$$6(t);if(!Element$1.isElement(e))return e;var o=e,i=Ao$4(r,"text-align");return i&&(o.textAlign=i),o},menus:[{key:"justifyLeft",factory:function(){return new $h}},{key:"justifyRight",factory:function(){return new _h}},{key:"justifyCenter",factory:function(){return new qh}},{key:"justifyJustify",factory:function(){return new Wh}}]};var Uh=function(){function t(){this.title=Wp$1("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,o=void 0===r?[]:r;e.push({text:Wp$1("lineHeight.default"),value:""}),o.forEach((function(t){e.push({text:t,value:t});}));var i=this.getValue(t);return e.forEach((function(t){t.value===i?t.selected=!0:delete t.selected;})),e},t.prototype.getMatchNode=function(t){var n=_o$4(Editor.nodes(t,{match:function(t){var n=Ic$2.getNodeType(t);return !!n.startsWith("header")||!!["paragraph","blockquote","list-item"].includes(n)},universal:!0,mode:"highest"}),1)[0];return null==n?null:n[0]},t.prototype.isActive=function(t){return !1},t.prototype.getValue=function(t){var e=this.getMatchNode(t);return null==e?"":Element$1.isElement(e)&&e.lineHeight||""},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getMatchNode(t)},t.prototype.exec=function(t,e){Transforms.setNodes(t,{lineHeight:e.toString()},{mode:"highest"});},t}();var Kh={renderStyle:function(t,e){if(!Element$1.isElement(t))return e;var n=t.lineHeight,r=e;return n&&yu$3(r,{lineHeight:n}),r},styleToHtml:function(t,e){if(!Element$1.isElement(t))return e;var n=t.lineHeight;if(!n)return e;var r=$$6(e);return r.css("line-height",n),jo$4(r)},parseStyleHtml:function(t,e,n){var r=$$6(t);if(!Element$1.isElement(e))return e;var o=e,i=n.getMenuConfig("lineHeight").lineHeightList,u=void 0===i?[]:i,a=Ao$4(r,"line-height");return a&&u.includes(a)&&(o.lineHeight=a),o},menus:[{key:"lineHeight",factory:function(){return new Uh},config:{lineHeightList:["1","1.15","1.5","2","2.5","3"]}}]},Xh=function(){function t(){this.title=Wp$1("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}(),Jh=function(){function t(){this.title=Wp$1("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}(),Yh={menus:[{key:"redo",factory:function(){return new Xh}},{key:"undo",factory:function(){return new Jh}}]};var Qh={type:"divider",renderElem:function(t,n,r){var o=Ic$2.isNodeSelected(r,t);return h$3("div",{props:{contentEditable:!1,className:"w-e-textarea-divider"},dataset:{selected:o?"true":""},style:{},on:{mousedown:function(t){return t.preventDefault()}}},[h$3("hr")])}};var Zh={type:"divider",elemToHtml:function(t,e){return "<hr/>"}};var tv={selector:"hr:not([data-w-e-type])",parseElemHtml:function(t,e,n){return {type:"divider",children:[{text:""}]}}},ev=function(){function t(){this.title=Wp$1("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||!!Ic$2.getSelectedElems(t).some((function(n){if(t.isVoid(n))return !0;var r=Ic$2.getNodeType(n);return "table"===r||("pre"===r||void 0)}))},t.prototype.exec=function(t,n){Ic$2.isSelectedEmptyParagraph(t)&&Transforms.removeNodes(t,{mode:"highest"}),Transforms.insertNodes(t,{type:"divider",children:[{text:""}]},{mode:"highest"});},t}(),nv={renderElems:[Qh],elemsToHtml:[Zh],parseElemsHtml:[tv],menus:[{key:"divider",factory:function(){return new ev}}],editorPlugin:function(t){var n=t.isVoid,r=t.normalizeNode,o=t;return o.isVoid=function(t){return "divider"===t.type||n(t)},o.normalizeNode=function(t){var n=_o$4(t,2),i=n[0],u=n[1];if("divider"!==Ic$2.getNodeType(i))return r([i,u]);Ic$2.isLastNode(o,i)&&Transforms.insertNodes(o,Ic$2.genEmptyParagraph(),{at:[u[0]+1]});},o}},rv=lt$5([].join);On$5({target:"Array",proto:!0,forced:vt$5!==Object||!ni$4("join",",")},{join:function(t){return rv(bt$5(this),void 0===t?",":t)}});var ov=Xn$5.map;On$5({target:"Array",proto:!0,forced:!Yn$5("map")},{map:function(t){return ov(this,t,arguments.length>1?arguments[1]:void 0)}});var iv=function(){function t(){this.title=Wp$1("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 n=Ic$2.getSelectedNodeByType(t,"code");if(null==n)return null;var r=Ic$2.getParentNode(t,n);return null==r||"pre"!==Ic$2.getNodeType(r)?null:n},t.prototype.getValue=function(t){var e=this.getSelectCodeElem(t);return null==e?"":e.language||""},t.prototype.isActive=function(t){return !!this.getSelectCodeElem(t)},t.prototype.isDisabled=function(t){if(null==t.selection)return !0;var n=Ic$2.getSelectedElems(t);return !!n.some((function(e){return t.isVoid(e)}))||!n.some((function(t){var n=Ic$2.getNodeType(t);if("pre"===n||"paragraph"===n)return !0}))},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 n=Node$1.string(e);Transforms.removeNodes(t,{mode:"highest"});var r=n.split("\n").map((function(t){return {type:"paragraph",children:[{text:t}]}}));Transforms.insertNodes(t,r,{mode:"highest"});}},t.prototype.changeToCodeBlock=function(t,e){var n,r,o=[],i=Editor.nodes(t,{match:function(e){return t.children.includes(e)},universal:!0});try{for(var u=$o$4(i),a=u.next();!a.done;a=u.next()){var l=_o$4(a.value,1)[0];l&&o.push(Node$1.string(l));}}catch(t){n={error:t};}finally{try{a&&!a.done&&(r=u.return)&&r.call(u);}finally{if(n)throw n.error}}Transforms.removeNodes(t,{mode:"highest"});var p={type:"pre",children:[{type:"code",language:e,children:[{text:o.join("\n")}]}]};Transforms.insertNodes(t,p,{mode:"highest"});},t}(),uv={key:"codeBlock",factory:function(){return new iv}};qr$4("match",(function(t,e,n){return [function(e){var n=mt$5(this),r=gt$5(e)?void 0:Rt$5(e,t);return r?tt$5(r,e,n):new RegExp(e)[t](nr$4(n))},function(t){var r=me$5(this),o=nr$4(t),i=n(e,r,o);if(i.done)return i.value;if(!r.global)return io$4(r,o);var u=r.unicode;r.lastIndex=0;for(var a,c=[],l=0;null!==(a=io$4(r,o));){var s=nr$4(a[0]);c[l]=s,""===s&&(r.lastIndex=Jr$4(o,rn$5(r.lastIndex),u)),l++;}return 0===l?null:c}]})),On$5({target:"String",proto:!0,forced:Xo$4("anchor")},{anchor:function(t){return Ko$4(this,"a","name",t)}});var av={type:"pre",renderElem:function(t,e,n){return jsx("pre",null,e)}},cv={type:"code",renderElem:function(t,e,n){return jsx("code",null,e)}};var lv={selector:"pre:not([data-w-e-type])",parseElemHtml:function(t,n,r){var o=$$6(t);return 0===(n=n.filter((function(t){return "code"===Ic$2.getNodeType(t)}))).length&&(n=[{type:"code",language:"",children:[{text:o[0].textContent||""}]}]),{type:"pre",children:n.filter((function(t){return "code"===Ic$2.getNodeType(t)}))}}};var sv={menus:[uv],editorPlugin:function(t){var n=t.insertBreak,r=t.normalizeNode,o=t.insertData;t.insertNode;var i=t;return i.insertBreak=function(){var t=Ic$2.getSelectedNodeByType(i,"code");if(null!=t){var r=function(t,e){var n=e.selection;if(null==n)return "";var r=Node$1.string(t),o=n.anchor.offset,i=r.slice(0,o).split("\n"),u=i.length;return 0===u?"":i[u-1]}(t,i);if(r){var o=r.match(/^\s+/);if(null!=o&&null!=o[0]){var u=o[0];return void i.insertText("\n"+u)}}i.insertText("\n");}else n();},i.normalizeNode=function(t){var n=_o$4(t,2),o=n[0],u=n[1],a=Ic$2.getNodeType(o);("code"===a&&u.length<=1&&Transforms.setNodes(i,{type:"paragraph"},{at:u}),"pre"===a)&&(Ic$2.isLastNode(i,o)&&Transforms.insertNodes(i,Ic$2.genEmptyParagraph(),{at:[u[0]+1]}),"code"!==Ic$2.getNodeType(o.children[0])&&(Transforms.unwrapNodes(i),Transforms.setNodes(i,{type:"paragraph"},{mode:"highest"})));return r([o,u])},i.insertData=function(t){if(null!=Ic$2.getSelectedNodeByType(i,"code")){var n=t.getData("text/plain");Editor.insertText(i,n);}else o(t);},i},renderElems:[av,cv],elemsToHtml:[{type:"code",elemToHtml:function(t,e){return "<code>"+e+"</code>"}},{type:"pre",elemToHtml:function(t,e){return "<pre>"+e+"</pre>"}}],preParseHtml:[{selector:"pre>code",preParseHtml:function(t){var e=$$6(t);if("code"!==Po$4(e))return t;var n=e.find("xmp");if(0===n.length)return t;var r=n.text();return n.remove(),e.text(r),e[0]}}],parseElemsHtml:[{selector:"pre:not([data-w-e-type])>code",parseElemHtml:function(t,e,n){return {type:"code",language:"",children:[{text:$$6(t)[0].textContent||""}]}}},lv]},fv=function(){function t(){this.title=Wp$1("fullScreen.title"),this.iconSvg=pi$4,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?pi$4:'<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?Wp$1("fullScreen.title"):Wp$1("fullScreen.cancelTitle")},t.prototype.exec=function(t,e){t.isFullScreen?t.unFullScreen():t.fullScreen();},t}(),pv={menus:[{key:"fullScreen",factory:function(){return new fv}}]},dv=function(){function t(){this.title=Wp$1("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||!!Range.isExpanded(e)},t.prototype.exec=function(t,e){var n=t.selection;if(null!=n){var r=[n.anchor.path[0]];Transforms.insertNodes(t,{type:"paragraph",children:[{text:""}]},{at:r}),t.select(Editor.start(t,r));}},t}(),hv={menus:[{key:"enter",factory:function(){return new dv}}]},vv=!J$5((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),gv=Fe$5("IE_PROTO"),yv=Object,mv=yv.prototype,bv=vv?yv.getPrototypeOf:function(t){var e=Kt$5(t);if(Jt$5(e,gv))return e[gv];var n=e.constructor;return St$5(n)&&e instanceof n?n.prototype:e instanceof yv?mv:null},wv=lt$5(ot$5.f),Sv=lt$5([].push),xv=Y$5&&J$5((function(){var t=Object.create(null);return t[2]=2,!wv(t,2)})),kv=function(t){return function(e){for(var n,r=bt$5(e),o=cr$4(r),i=xv&&null===bv(r),u=o.length,a=0,c=[];u>a;)n=o[a++],Y$5&&!(i?n in r:wv(r,n))||Sv(c,t?[n,r[n]]:r[n]);return c}},Ev={entries:kv(!0),values:kv(!1)}.entries;On$5({target:"Object",stat:!0},{entries:function(t){return Ev(t)}});var Tv=function(){function t(){this.title=Wp$1("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 n,r;if(e.getSelectionText().length){if(t.attrs.formatStyle){!function(t){var e=Editor.marks(t);e&&Object.keys(e).forEach((function(e){t.removeMark(e);}));}(e);try{for(var o=$o$4(Object.entries(t.attrs.formatStyle)),i=o.next();!i.done;i=o.next()){var u=_o$4(i.value,2),a=u[0],l=u[1];e.addMark(a,l);}}catch(t){n={error:t};}finally{try{i&&!i.done&&(r=o.return)&&r.call(o);}finally{if(n)throw n.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=Editor.marks(e),t.attrs.isSelect=!0);e.blur(),e.focus();},t.attrs={isSelect:!1,formatStyle:null},t}();var Ov=[Si$4,ku$3,Ah,Bh,Gh,Kh,ja$3,nv,Wa$2,Yu$2,sv,_a$2,pu$3,Wo$4,Ca$3,{menus:[{key:"formatPainter",factory:function(){return new Tv}}],editorPlugin:function(t){var e=new Tv,n=t.onChange,r=t,o=function(){e.setFormatHtml(r),document.removeEventListener("mouseup",o);};return r.onChange=function(){n(),Tv.attrs.isSelect&&(document.removeEventListener("mouseup",o),document.addEventListener("mouseup",o));},r}},Yh,pv,hv];
17548
+ Wp$1("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"}}),Wp$1("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 $$5={type:"blockquote",elemToHtml:function(t,e){return "<blockquote>".concat(e,"</blockquote>")}},_$5="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function q$5(t){var e={exports:{}};return t(e,e.exports),e.exports}var W$5,G$5,U$5=function(t){return t&&t.Math===Math&&t},K$5=U$5("object"==typeof globalThis&&globalThis)||U$5("object"==typeof window&&window)||U$5("object"==typeof self&&self)||U$5("object"==typeof _$5&&_$5)||U$5("object"==typeof _$5&&_$5)||function(){return this}()||Function("return this")(),X$5=function(t){try{return !!t()}catch(t){return !0}},J$5=!X$5((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),Y$5=!X$5((function(){var t=function(){}.bind();return "function"!=typeof t||t.hasOwnProperty("prototype")})),Q$5=Function.prototype.call,Z$5=Y$5?Q$5.bind(Q$5):function(){return Q$5.apply(Q$5,arguments)},tt$5={}.propertyIsEnumerable,et$5=Object.getOwnPropertyDescriptor,nt$5=et$5&&!tt$5.call({1:2},1)?function(t){var e=et$5(this,t);return !!e&&e.enumerable}:tt$5,rt$5={f:nt$5},ot$5=function(t,e){return {enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},it$5=Function.prototype,ut$5=it$5.call,at$5=Y$5&&it$5.bind.bind(ut$5,ut$5),ct$5=Y$5?at$5:function(t){return function(){return ut$5.apply(t,arguments)}},lt$5=ct$5({}.toString),st$5=ct$5("".slice),ft$5=function(t){return st$5(lt$5(t),8,-1)},pt$5=Object,dt$5=ct$5("".split),ht$5=X$5((function(){return !pt$5("z").propertyIsEnumerable(0)}))?function(t){return "String"===ft$5(t)?dt$5(t,""):pt$5(t)}:pt$5,vt$5=function(t){return null==t},gt$5=TypeError,yt$5=function(t){if(vt$5(t))throw new gt$5("Can't call method on "+t);return t},mt$5=function(t){return ht$5(yt$5(t))},bt$5="object"==typeof document&&document.all,wt$5=void 0===bt$5&&void 0!==bt$5?function(t){return "function"==typeof t||t===bt$5}:function(t){return "function"==typeof t},St$5=function(t){return "object"==typeof t?null!==t:wt$5(t)},xt$5=function(t,e){return arguments.length<2?(n=K$5[t],wt$5(n)?n:void 0):K$5[t]&&K$5[t][e];var n;},kt$5=ct$5({}.isPrototypeOf),Et$5=K$5.navigator,Tt$5=Et$5&&Et$5.userAgent,Ot$5=Tt$5?String(Tt$5):"",Mt$5=K$5.process,Ht$5=K$5.Deno,It$5=Mt$5&&Mt$5.versions||Ht$5&&Ht$5.version,Nt$5=It$5&&It$5.v8;Nt$5&&(G$5=(W$5=Nt$5.split("."))[0]>0&&W$5[0]<4?1:+(W$5[0]+W$5[1])),!G$5&&Ot$5&&(!(W$5=Ot$5.match(/Edge\/(\d+)/))||W$5[1]>=74)&&(W$5=Ot$5.match(/Chrome\/(\d+)/))&&(G$5=+W$5[1]);var Lt$5=G$5,zt$5=K$5.String,jt$5=!!Object.getOwnPropertySymbols&&!X$5((function(){var t=Symbol("symbol detection");return !zt$5(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Lt$5&&Lt$5<41})),Pt$5=jt$5&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,At$5=Object,Vt$5=Pt$5?function(t){return "symbol"==typeof t}:function(t){var e=xt$5("Symbol");return wt$5(e)&&kt$5(e.prototype,At$5(t))},Ct$5=String,Dt$5=TypeError,Ft$5=function(t){if(wt$5(t))return t;throw new Dt$5(function(t){try{return Ct$5(t)}catch(t){return "Object"}}(t)+" is not a function")},Bt$5=function(t,e){var n=t[e];return vt$5(n)?void 0:Ft$5(n)},Rt$5=TypeError,$t$5=Object.defineProperty,_t$5=function(t,e){try{$t$5(K$5,t,{value:e,configurable:!0,writable:!0});}catch(n){K$5[t]=e;}return e},qt$5=q$5((function(t){var e="__core-js_shared__",n=t.exports=K$5[e]||_t$5(e,{});(n.versions||(n.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});})),Wt$5=function(t,e){return qt$5[t]||(qt$5[t]=e||{})},Gt$5=Object,Ut$5=function(t){return Gt$5(yt$5(t))},Kt$5=ct$5({}.hasOwnProperty),Xt$5=Object.hasOwn||function(t,e){return Kt$5(Ut$5(t),e)},Jt$5=0,Yt$5=Math.random(),Qt$5=ct$5(1..toString),Zt$5=function(t){return "Symbol("+(void 0===t?"":t)+")_"+Qt$5(++Jt$5+Yt$5,36)},te$5=K$5.Symbol,ee$5=Wt$5("wks"),ne$5=Pt$5?te$5.for||te$5:te$5&&te$5.withoutSetter||Zt$5,re$5=function(t){return Xt$5(ee$5,t)||(ee$5[t]=jt$5&&Xt$5(te$5,t)?te$5[t]:ne$5("Symbol."+t)),ee$5[t]},oe$5=TypeError,ie$5=re$5("toPrimitive"),ue$5=function(t,e){if(!St$5(t)||Vt$5(t))return t;var n,r=Bt$5(t,ie$5);if(r){if(void 0===e&&(e="default"),n=Z$5(r,t,e),!St$5(n)||Vt$5(n))return n;throw new oe$5("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&wt$5(n=t.toString)&&!St$5(r=Z$5(n,t)))return r;if(wt$5(n=t.valueOf)&&!St$5(r=Z$5(n,t)))return r;if("string"!==e&&wt$5(n=t.toString)&&!St$5(r=Z$5(n,t)))return r;throw new Rt$5("Can't convert object to primitive value")}(t,e)},ae$5=function(t){var e=ue$5(t,"string");return Vt$5(e)?e:e+""},ce$5=K$5.document,le$5=St$5(ce$5)&&St$5(ce$5.createElement),se$5=function(t){return le$5?ce$5.createElement(t):{}},fe$5=!J$5&&!X$5((function(){return 7!==Object.defineProperty(se$5("div"),"a",{get:function(){return 7}}).a})),pe$5=Object.getOwnPropertyDescriptor,de$5={f:J$5?pe$5:function(t,e){if(t=mt$5(t),e=ae$5(e),fe$5)try{return pe$5(t,e)}catch(t){}if(Xt$5(t,e))return ot$5(!Z$5(rt$5.f,t,e),t[e])}},he$5=J$5&&X$5((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),ve$5=String,ge$5=TypeError,ye$5=function(t){if(St$5(t))return t;throw new ge$5(ve$5(t)+" is not an object")},me$5=TypeError,be$5=Object.defineProperty,we$5=Object.getOwnPropertyDescriptor,Se$5="enumerable",xe$5="configurable",ke$5="writable",Ee$5={f:J$5?he$5?function(t,e,n){if(ye$5(t),e=ae$5(e),ye$5(n),"function"==typeof t&&"prototype"===e&&"value"in n&&ke$5 in n&&!n[ke$5]){var r=we$5(t,e);r&&r[ke$5]&&(t[e]=n.value,n={configurable:xe$5 in n?n[xe$5]:r[xe$5],enumerable:Se$5 in n?n[Se$5]:r[Se$5],writable:!1});}return be$5(t,e,n)}:be$5:function(t,e,n){if(ye$5(t),e=ae$5(e),ye$5(n),fe$5)try{return be$5(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new me$5("Accessors not supported");return "value"in n&&(t[e]=n.value),t}},Te$5=J$5?function(t,e,n){return Ee$5.f(t,e,ot$5(1,n))}:function(t,e,n){return t[e]=n,t},Oe$5=Function.prototype,Me$5=J$5&&Object.getOwnPropertyDescriptor,He$5=Xt$5(Oe$5,"name"),Ie$5={EXISTS:He$5,PROPER:He$5&&"something"===function(){}.name,CONFIGURABLE:He$5&&(!J$5||J$5&&Me$5(Oe$5,"name").configurable)},Ne$5=ct$5(Function.toString);wt$5(qt$5.inspectSource)||(qt$5.inspectSource=function(t){return Ne$5(t)});var Le$5,ze$5,je$5,Pe$5=qt$5.inspectSource,Ae$5=K$5.WeakMap,Ve$5=wt$5(Ae$5)&&/native code/.test(String(Ae$5)),Ce$5=Wt$5("keys"),De$5=function(t){return Ce$5[t]||(Ce$5[t]=Zt$5(t))},Fe$5={},Be$5="Object already initialized",Re$5=K$5.TypeError,$e$5=K$5.WeakMap;if(Ve$5||qt$5.state){var _e$5=qt$5.state||(qt$5.state=new $e$5);_e$5.get=_e$5.get,_e$5.has=_e$5.has,_e$5.set=_e$5.set,Le$5=function(t,e){if(_e$5.has(t))throw new Re$5(Be$5);return e.facade=t,_e$5.set(t,e),e},ze$5=function(t){return _e$5.get(t)||{}},je$5=function(t){return _e$5.has(t)};}else {var qe$5=De$5("state");Fe$5[qe$5]=!0,Le$5=function(t,e){if(Xt$5(t,qe$5))throw new Re$5(Be$5);return e.facade=t,Te$5(t,qe$5,e),e},ze$5=function(t){return Xt$5(t,qe$5)?t[qe$5]:{}},je$5=function(t){return Xt$5(t,qe$5)};}var We$5={set:Le$5,get:ze$5,has:je$5,enforce:function(t){return je$5(t)?ze$5(t):Le$5(t,{})},getterFor:function(t){return function(e){var n;if(!St$5(e)||(n=ze$5(e)).type!==t)throw new Re$5("Incompatible receiver, "+t+" required");return n}}},Ge$5=q$5((function(t){var e=Ie$5.CONFIGURABLE,n=We$5.enforce,r=We$5.get,o=String,i=Object.defineProperty,u=ct$5("".slice),a=ct$5("".replace),c=ct$5([].join),l=J$5&&!X$5((function(){return 8!==i((function(){}),"length",{value:8}).length})),s=String(String).split("String"),f=t.exports=function(t,r,f){"Symbol("===u(o(r),0,7)&&(r="["+a(o(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),f&&f.getter&&(r="get "+r),f&&f.setter&&(r="set "+r),(!Xt$5(t,"name")||e&&t.name!==r)&&(J$5?i(t,"name",{value:r,configurable:!0}):t.name=r),l&&f&&Xt$5(f,"arity")&&t.length!==f.arity&&i(t,"length",{value:f.arity});try{f&&Xt$5(f,"constructor")&&f.constructor?J$5&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0);}catch(t){}var p=n(t);return Xt$5(p,"source")||(p.source=c(s,"string"==typeof r?r:"")),t};Function.prototype.toString=f((function(){return wt$5(this)&&r(this).source||Pe$5(this)}),"toString");})),Ue$5=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(wt$5(n)&&Ge$5(n,i,r),r.global)o?t[e]=n:_t$5(e,n);else {try{r.unsafe?t[e]&&(o=!0):delete t[e];}catch(t){}o?t[e]=n:Ee$5.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable});}return t},Ke$5=Math.ceil,Xe$5=Math.floor,Je$5=Math.trunc||function(t){var e=+t;return (e>0?Xe$5:Ke$5)(e)},Ye$5=function(t){var e=+t;return e!=e||0===e?0:Je$5(e)},Qe$5=Math.max,Ze$5=Math.min,tn$5=function(t,e){var n=Ye$5(t);return n<0?Qe$5(n+e,0):Ze$5(n,e)},en$5=Math.min,nn$5=function(t){var e=Ye$5(t);return e>0?en$5(e,9007199254740991):0},rn$5=function(t){return nn$5(t.length)},on$5=function(t){return function(e,n,r){var o=mt$5(e),i=rn$5(o);if(0===i)return !t&&-1;var u,a=tn$5(r,i);if(t&&n!=n){for(;i>a;)if((u=o[a++])!=u)return !0}else for(;i>a;a++)if((t||a in o)&&o[a]===n)return t||a||0;return !t&&-1}},un$5={includes:on$5(!0),indexOf:on$5(!1)},an$5=un$5.indexOf,cn$5=ct$5([].push),ln$5=function(t,e){var n,r=mt$5(t),o=0,i=[];for(n in r)!Xt$5(Fe$5,n)&&Xt$5(r,n)&&cn$5(i,n);for(;e.length>o;)Xt$5(r,n=e[o++])&&(~an$5(i,n)||cn$5(i,n));return i},sn$5=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],fn$5=sn$5.concat("length","prototype"),pn$5={f:Object.getOwnPropertyNames||function(t){return ln$5(t,fn$5)}},dn$5={f:Object.getOwnPropertySymbols},hn$5=ct$5([].concat),vn$5=xt$5("Reflect","ownKeys")||function(t){var e=pn$5.f(ye$5(t)),n=dn$5.f;return n?hn$5(e,n(t)):e},gn$5=function(t,e,n){for(var r=vn$5(e),o=Ee$5.f,i=de$5.f,u=0;u<r.length;u++){var a=r[u];Xt$5(t,a)||n&&Xt$5(n,a)||o(t,a,i(e,a));}},yn$5=/#|\.prototype\./,mn$5=function(t,e){var n=wn$5[bn$5(t)];return n===xn$5||n!==Sn$5&&(wt$5(e)?X$5(e):!!e)},bn$5=mn$5.normalize=function(t){return String(t).replace(yn$5,".").toLowerCase()},wn$5=mn$5.data={},Sn$5=mn$5.NATIVE="N",xn$5=mn$5.POLYFILL="P",kn$5=mn$5,En$5=de$5.f,Tn$5=function(t,e){var n,r,o,i,u,a=t.target,c=t.global,l=t.stat;if(n=c?K$5:l?K$5[a]||_t$5(a,{}):K$5[a]&&K$5[a].prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(u=En$5(n,r))&&u.value:n[r],!kn$5(c?r:a+(l?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;gn$5(i,o);}(t.sham||o&&o.sham)&&Te$5(i,"sham",!0),Ue$5(n,r,i,t);}},On$5={};On$5[re$5("toStringTag")]="z";var Mn$5,Hn$5="[object z]"===String(On$5),In$5=re$5("toStringTag"),Nn$5=Object,Ln$5="Arguments"===ft$5(function(){return arguments}()),zn$5=Hn$5?ft$5:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Nn$5(t),In$5))?n:Ln$5?ft$5(e):"Object"===(r=ft$5(e))&&wt$5(e.callee)?"Arguments":r},jn$5=String,Pn$5=function(t){if("Symbol"===zn$5(t))throw new TypeError("Cannot convert a Symbol value to a string");return jn$5(t)},An$5=function(){var t=ye$5(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},Vn$5=K$5.RegExp,Cn$5=X$5((function(){var t=Vn$5("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),Dn$5=Cn$5||X$5((function(){return !Vn$5("a","y").sticky})),Fn$5={BROKEN_CARET:Cn$5||X$5((function(){var t=Vn$5("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:Dn$5,UNSUPPORTED_Y:Cn$5},Bn$5=Object.keys||function(t){return ln$5(t,sn$5)},Rn$5=J$5&&!he$5?Object.defineProperties:function(t,e){ye$5(t);for(var n,r=mt$5(e),o=Bn$5(e),i=o.length,u=0;i>u;)Ee$5.f(t,n=o[u++],r[n]);return t},$n$5={f:Rn$5},_n$5=xt$5("document","documentElement"),qn$5="prototype",Wn$5="script",Gn$5=De$5("IE_PROTO"),Un$5=function(){},Kn$5=function(t){return "<"+Wn$5+">"+t+"</"+Wn$5+">"},Xn$5=function(t){t.write(Kn$5("")),t.close();var e=t.parentWindow.Object;return t=null,e},Jn$5=function(){try{Mn$5=new ActiveXObject("htmlfile");}catch(t){}var t,e,n;Jn$5="undefined"!=typeof document?document.domain&&Mn$5?Xn$5(Mn$5):(e=se$5("iframe"),n="java"+Wn$5+":",e.style.display="none",_n$5.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(Kn$5("document.F=Object")),t.close(),t.F):Xn$5(Mn$5);for(var r=sn$5.length;r--;)delete Jn$5[qn$5][sn$5[r]];return Jn$5()};Fe$5[Gn$5]=!0;var Yn$5,Qn$5,Zn$5=Object.create||function(t,e){var n;return null!==t?(Un$5[qn$5]=ye$5(t),n=new Un$5,Un$5[qn$5]=null,n[Gn$5]=t):n=Jn$5(),void 0===e?n:$n$5.f(n,e)},tr$4=K$5.RegExp,er$4=X$5((function(){var t=tr$4(".","s");return !(t.dotAll&&t.test("\n")&&"s"===t.flags)})),nr$4=K$5.RegExp,rr$4=X$5((function(){var t=nr$4("(?<a>b)","g");return "b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),or$4=We$5.get,ir$4=Wt$5("native-string-replace",String.prototype.replace),ur$4=RegExp.prototype.exec,ar$4=ur$4,cr$4=ct$5("".charAt),lr$4=ct$5("".indexOf),sr$4=ct$5("".replace),fr$4=ct$5("".slice),pr$4=(Qn$5=/b*/g,Z$5(ur$4,Yn$5=/a/,"a"),Z$5(ur$4,Qn$5,"a"),0!==Yn$5.lastIndex||0!==Qn$5.lastIndex),dr$4=Fn$5.BROKEN_CARET,hr$4=void 0!==/()??/.exec("")[1];(pr$4||hr$4||dr$4||er$4||rr$4)&&(ar$4=function(t){var e,n,r,o,i,u,a,c=this,l=or$4(c),s=Pn$5(t),f=l.raw;if(f)return f.lastIndex=c.lastIndex,e=Z$5(ar$4,f,s),c.lastIndex=f.lastIndex,e;var p=l.groups,d=dr$4&&c.sticky,h=Z$5(An$5,c),v=c.source,g=0,y=s;if(d&&(h=sr$4(h,"y",""),-1===lr$4(h,"g")&&(h+="g"),y=fr$4(s,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==cr$4(s,c.lastIndex-1))&&(v="(?: "+v+")",y=" "+y,g++),n=new RegExp("^(?:"+v+")",h)),hr$4&&(n=new RegExp("^"+v+"$(?!\\s)",h)),pr$4&&(r=c.lastIndex),o=Z$5(ur$4,d?n:c,y),d?o?(o.input=fr$4(o.input,g),o[0]=fr$4(o[0],g),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:pr$4&&o&&(c.lastIndex=c.global?o.index+o[0].length:r),hr$4&&o&&o.length>1&&Z$5(ir$4,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0);})),o&&p)for(o.groups=u=Zn$5(null),i=0;i<p.length;i++)u[(a=p[i])[0]]=o[a[1]];return o});var vr$4=ar$4;Tn$5({target:"RegExp",proto:!0,forced:/./.exec!==vr$4},{exec:vr$4});var gr$4=function(t,e){return gr$4=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e;}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);},gr$4(t,e)};function yr$4(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t;}gr$4(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n);}var mr$4=function(){return mr$4=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},mr$4.apply(this,arguments)};function br$4(t,e,n,r){return new(n||(n=Promise))((function(o,i){function u(t){try{c(r.next(t));}catch(t){i(t);}}function a(t){try{c(r.throw(t));}catch(t){i(t);}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e);}))).then(u,a);}c((r=r.apply(t,e||[])).next());}))}function wr$4(t,e){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(u=0)),u;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,r=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(!(o=u.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){u=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(6===a[0]&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=e.call(t,u);}catch(t){a=[6,t],r=0;}finally{n=o=0;}if(5&a[0])throw a[1];return {value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}function Sr$4(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return {next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function xr$4(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value);}catch(t){o={error:t};}finally{try{r&&!r.done&&(n=i.return)&&n.call(i);}finally{if(o)throw o.error}}return u}"function"==typeof SuppressedError&&SuppressedError;var kr$4='<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>',Er$4='<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>',Tr$4='<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>',Or$4=function(){function t(){this.title=Up$1("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 !!$u$3.getSelectedNodeByType(t,"blockquote")},t.prototype.isDisabled=function(t){return null==t.selection||!xr$4(Editor.nodes(t,{match:function(t){var e=$u$3.getNodeType(t);return "paragraph"===e||"blockquote"===e},universal:!0,mode:"highest"}),1)[0]},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var n=this.isActive(t)?"paragraph":"blockquote";Transforms.setNodes(t,{type:n},{mode:"highest"});}},t}(),Mr$4={key:"blockquote",factory:function(){return new Or$4}},Hr$4=function(t){if("Function"===ft$5(t))return ct$5(t)},Ir$4=Hr$4(Hr$4.bind),Nr$4=Array.isArray||function(t){return "Array"===ft$5(t)},Lr$4=function(){},zr$4=xt$5("Reflect","construct"),jr$4=/^\s*(?:class|function)\b/,Pr$4=ct$5(jr$4.exec),Ar$4=!jr$4.test(Lr$4),Vr$4=function(t){if(!wt$5(t))return !1;try{return zr$4(Lr$4,[],t),!0}catch(t){return !1}},Cr$4=function(t){if(!wt$5(t))return !1;switch(zn$5(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return !1}try{return Ar$4||!!Pr$4(jr$4,Pe$5(t))}catch(t){return !0}};Cr$4.sham=!0;var Dr$4=!zr$4||X$5((function(){var t;return Vr$4(Vr$4.call)||!Vr$4(Object)||!Vr$4((function(){t=!0;}))||t}))?Cr$4:Vr$4,Fr$4=re$5("species"),Br$4=Array,Rr$4=function(t,e){return new(function(t){var e;return Nr$4(t)&&(e=t.constructor,(Dr$4(e)&&(e===Br$4||Nr$4(e.prototype))||St$5(e)&&null===(e=e[Fr$4]))&&(e=void 0)),void 0===e?Br$4:e}(t))(0===e?0:e)},$r$4=ct$5([].push),_r$4=function(t){var e=1===t,n=2===t,r=3===t,o=4===t,i=6===t,u=7===t,a=5===t||i;return function(c,l,s,f){for(var p,d,h=Ut$5(c),v=ht$5(h),g=rn$5(v),y=function(t,e){return Ft$5(t),void 0===e?t:Y$5?Ir$4(t,e):function(){return t.apply(e,arguments)}}(l,s),m=0,b=f||Rr$4,w=e?b(c,g):n||u?b(c,0):void 0;g>m;m++)if((a||m in v)&&(d=y(p=v[m],m,h),t))if(e)w[m]=d;else if(d)switch(t){case 3:return !0;case 5:return p;case 6:return m;case 2:$r$4(w,p);}else switch(t){case 4:return !1;case 7:$r$4(w,p);}return i?-1:r||o?o:w}},qr$4={forEach:_r$4(0),map:_r$4(1),filter:_r$4(2),some:_r$4(3),every:_r$4(4),find:_r$4(5),findIndex:_r$4(6),filterReject:_r$4(7)},Wr$4=re$5("species"),Gr$4=function(t){return Lt$5>=51||!X$5((function(){var e=[];return (e.constructor={})[Wr$4]=function(){return {foo:1}},1!==e[t](Boolean).foo}))},Ur$4=qr$4.filter;Tn$5({target:"Array",proto:!0,forced:!Gr$4("filter")},{filter:function(t){return Ur$4(this,t,arguments.length>1?arguments[1]:void 0)}});var Kr$4=Hn$5?{}.toString:function(){return "[object "+zn$5(this)+"]"};Hn$5||Ue$5(Object.prototype,"toString",Kr$4,{unsafe:!0});var Xr$4=Function.prototype,Jr$4=Xr$4.apply,Yr$4=Xr$4.call,Qr$4="object"==typeof Reflect&&Reflect.apply||(Y$5?Yr$4.bind(Jr$4):function(){return Yr$4.apply(Jr$4,arguments)}),Zr$4=re$5("species"),to$4=RegExp.prototype,eo$4=function(t,e,n,r){var o=re$5(t),i=!X$5((function(){var e={};return e[o]=function(){return 7},7!==""[t](e)})),u=i&&!X$5((function(){var e=!1,n=/a/;return "split"===t&&((n={}).constructor={},n.constructor[Zr$4]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!i||!u||n){var a=/./[o],c=e(o,""[t],(function(t,e,n,r,o){var u=e.exec;return u===vr$4||u===to$4.exec?i&&!o?{done:!0,value:Z$5(a,e,n,r)}:{done:!0,value:Z$5(t,n,e,r)}:{done:!1}}));Ue$5(String.prototype,t,c[0]),Ue$5(to$4,o,c[1]);}r&&Te$5(to$4[o],"sham",!0);},no$4=ct$5("".charAt),ro$4=ct$5("".charCodeAt),oo$4=ct$5("".slice),io$4=function(t){return function(e,n){var r,o,i=Pn$5(yt$5(e)),u=Ye$5(n),a=i.length;return u<0||u>=a?t?"":void 0:(r=ro$4(i,u))<55296||r>56319||u+1===a||(o=ro$4(i,u+1))<56320||o>57343?t?no$4(i,u):r:t?oo$4(i,u,u+2):o-56320+(r-55296<<10)+65536}},uo$4={codeAt:io$4(!1),charAt:io$4(!0)}.charAt,ao$4=function(t,e,n){return e+(n?uo$4(t,e).length:1)},co$4=Math.floor,lo$4=ct$5("".charAt),so$4=ct$5("".replace),fo$4=ct$5("".slice),po$4=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ho$4=/\$([$&'`]|\d{1,2})/g,vo$4=function(t,e,n,r,o,i){var u=n+t.length,a=r.length,c=ho$4;return void 0!==o&&(o=Ut$5(o),c=po$4),so$4(i,c,(function(i,c){var l;switch(lo$4(c,0)){case"$":return "$";case"&":return t;case"`":return fo$4(e,0,n);case"'":return fo$4(e,u);case"<":l=o[fo$4(c,1,-1)];break;default:var s=+c;if(0===s)return i;if(s>a){var f=co$4(s/10);return 0===f?i:f<=a?void 0===r[f-1]?lo$4(c,1):r[f-1]+lo$4(c,1):i}l=r[s-1];}return void 0===l?"":l}))},go$4=TypeError,yo$4=function(t,e){var n=t.exec;if(wt$5(n)){var r=Z$5(n,t,e);return null!==r&&ye$5(r),r}if("RegExp"===ft$5(t))return Z$5(vr$4,t,e);throw new go$4("RegExp#exec called on incompatible receiver")},mo$4=re$5("replace"),bo$4=Math.max,wo$4=Math.min,So$4=ct$5([].concat),xo$4=ct$5([].push),ko$4=ct$5("".indexOf),Eo$4=ct$5("".slice),To$4="$0"==="a".replace(/./,"$0"),Oo$4=!!/./[mo$4]&&""===/./[mo$4]("a","$0");eo$4("replace",(function(t,e,n){var r=Oo$4?"$":"$0";return [function(t,n){var r=yt$5(this),o=vt$5(t)?void 0:Bt$5(t,mo$4);return o?Z$5(o,t,r,n):Z$5(e,Pn$5(r),t,n)},function(t,o){var i=ye$5(this),u=Pn$5(t);if("string"==typeof o&&-1===ko$4(o,r)&&-1===ko$4(o,"$<")){var a=n(e,i,u,o);if(a.done)return a.value}var c=wt$5(o);c||(o=Pn$5(o));var l,s=i.global;s&&(l=i.unicode,i.lastIndex=0);for(var f,p=[];null!==(f=yo$4(i,u))&&(xo$4(p,f),s);){""===Pn$5(f[0])&&(i.lastIndex=ao$4(u,nn$5(i.lastIndex),l));}for(var d,h="",v=0,g=0;g<p.length;g++){for(var y,m=Pn$5((f=p[g])[0]),b=bo$4(wo$4(Ye$5(f.index),u.length),0),w=[],S=1;S<f.length;S++)xo$4(w,void 0===(d=f[S])?d:String(d));var x=f.groups;if(c){var k=So$4([m],w,b,u);void 0!==x&&xo$4(k,x),y=Pn$5(Qr$4(o,void 0,k));}else y=vo$4(m,u,b,w,x,o);b>=v&&(h+=Eo$4(u,v,b)+y,v=b+m.length);}return h+Eo$4(u,v)}]}),!!X$5((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!To$4||Oo$4);var Mo$4=Ee$5.f,Ho$4=re$5("unscopables"),Io$4=Array.prototype;void 0===Io$4[Ho$4]&&Mo$4(Io$4,Ho$4,{configurable:!0,value:Zn$5(null)});var No$4=function(t){Io$4[Ho$4][t]=!0;},Lo$4=qr$4.find,zo$4="find",jo$4=!0;zo$4 in[]&&Array(1)[zo$4]((function(){jo$4=!1;})),Tn$5({target:"Array",proto:!0,forced:jo$4},{find:function(t){return Lo$4(this,t,arguments.length>1?arguments[1]:void 0)}}),No$4(zo$4);var Po$4,Ao$4="\t\n\v\f\r                 \u2028\u2029\ufeff",Vo$4=ct$5("".replace),Co$4=RegExp("^["+Ao$4+"]+"),Do$4=RegExp("(^|[^"+Ao$4+"])["+Ao$4+"]+$"),Fo$4=function(t){return function(e){var n=Pn$5(yt$5(e));return 1&t&&(n=Vo$4(n,Co$4,"")),2&t&&(n=Vo$4(n,Do$4,"$1")),n}},Bo$4={start:Fo$4(1),end:Fo$4(2),trim:Fo$4(3)},Ro$4=Ie$5.PROPER,$o$4=Bo$4.trim;function _o$4(t){return 0===$$6("<div>".concat(t,"</div>")).children().filter((function(t){return "BR"!==t.tagName})).length}function qo$4(t){return 0===t.length?"":t[0].outerHTML}function Wo$4(t){return t.length?t[0].tagName.toLowerCase():""}function Go$4(t,e){for(var n="",r=(t.attr("style")||"").split(";"),o=r.length,i=0;i<o;i+=1){var u=r[i];if(u){var a=u.split(":");a[0].trim()===e&&(n=a[1].trim());}}return n}Tn$5({target:"String",proto:!0,forced:(Po$4="trim",X$5((function(){return !!Ao$4[Po$4]()||"​…᠎"!=="​…᠎"[Po$4]()||Ro$4&&Ao$4[Po$4].name!==Po$4})))},{trim:function(){return $o$4(this)}}),Tn$5({global:!0,forced:K$5.globalThis!==K$5},{globalThis:K$5}),css&&($$6.fn.css=css),append&&($$6.fn.append=append),prepend&&($$6.fn.prepend=prepend),addClass&&($$6.fn.addClass=addClass),removeClass&&($$6.fn.removeClass=removeClass),hasClass&&($$6.fn.hasClass=hasClass),on$7&&($$6.fn.on=on$7),off&&($$6.fn.off=off),focus&&($$6.fn.focus=focus),attr&&($$6.fn.attr=attr),removeAttr&&($$6.fn.removeAttr=removeAttr),hide&&($$6.fn.hide=hide),show&&($$6.fn.show=show),parents&&($$6.fn.parents=parents),dataset&&($$6.fn.dataset=dataset),val&&($$6.fn.val=val),text&&($$6.fn.text=text),html&&($$6.fn.html=html),children&&($$6.fn.children=children),remove&&($$6.fn.remove=remove),find&&($$6.fn.find=find),width&&($$6.fn.width=width),height&&($$6.fn.height=height),filter&&($$6.fn.filter=filter),empty&&($$6.fn.empty=empty);var Uo$4={selector:"blockquote:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=$$6(t);return 0===(e=e.filter((function(t){return !!Text.isText(t)||!!n.isInline(t)}))).length&&(e=[{text:r.text().replace(/\s+/gm," ")}]),{type:"blockquote",children:e}}},Ko$4=function(t,e,n){J$5?Ee$5.f(t,e,ot$5(0,n)):t[e]=n;},Xo$4=ct$5([].slice),Jo$4=Gr$4("slice"),Yo$4=re$5("species"),Qo$4=Array,Zo$4=Math.max;function ti$4(t){t.deleteBackward("character");Transforms.insertNodes(t,{type:"paragraph",children:[{text:""}]},{mode:"highest"});}Tn$5({target:"Array",proto:!0,forced:!Jo$4},{slice:function(t,e){var n,r,o,i=mt$5(this),u=rn$5(i),a=tn$5(t,u),c=tn$5(void 0===e?u:e,u);if(Nr$4(i)&&(n=i.constructor,(Dr$4(n)&&(n===Qo$4||Nr$4(n.prototype))||St$5(n)&&null===(n=n[Yo$4]))&&(n=void 0),n===Qo$4||void 0===n))return Xo$4(i,a,c);for(r=new(void 0===n?Qo$4:n)(Zo$4(c-a,0)),o=0;a<c;a++,o++)a in i&&Ko$4(r,o,i[a]);return r.length=o,r}});var ei$4={type:"blockquote",renderElem:function(t,e,n){return jsx("blockquote",null,e)}},ni$4={renderElems:[ei$4],elemsToHtml:[$$5],parseElemsHtml:[Uo$4],menus:[Mr$4],editorPlugin:function(t){var e=t.insertBreak,r=t.insertText,o=t;return o.insertBreak=function(){var u=o.selection;if(null==u)return e();var a=xr$4(Editor.nodes(t,{match:function(t){return $u$3.checkNodeType(t,"blockquote")},universal:!0}),1)[0];if(!a)return e();var s=a[0];if($u$3.getParentNode(t,s)){var f=$u$3.findPath(t,s),p=Editor.end(t,f);if(Point.equals(p,u.focus)){var d=Node$1.string(s);if(d&&"\n"===d.slice(-1))return void ti$4(o)}r("\n");}else ti$4(o);},o}};var ri$4={type:"code",elemToHtml:function(t,e){return "<code>".concat(e,"</code>")}};var oi$4={type:"pre",elemToHtml:function(t,e){return "<pre>".concat(e,"</pre>")}},ii$4=un$5.includes;Tn$5({target:"Array",proto:!0,forced:X$5((function(){return !Array(1).includes()}))},{includes:function(t){return ii$4(this,t,arguments.length>1?arguments[1]:void 0)}}),No$4("includes");var ui$4=function(t,e){var n=[][t];return !!n&&X$5((function(){n.call(null,e||function(){return 1},1);}))},ai$4=ct$5([].join);Tn$5({target:"Array",proto:!0,forced:ht$5!==Object||!ui$4("join",",")},{join:function(t){return ai$4(mt$5(this),void 0===t?",":t)}});var ci$4=qr$4.map;Tn$5({target:"Array",proto:!0,forced:!Gr$4("map")},{map:function(t){return ci$4(this,t,arguments.length>1?arguments[1]:void 0)}});var li$4=RegExp.prototype,si$4=Ie$5.PROPER,fi$4="toString",pi$4=RegExp.prototype,di$4=pi$4[fi$4],hi$4=X$5((function(){return "/a/b"!==di$4.call({source:"a",flags:"b"})})),vi$4=si$4&&di$4.name!==fi$4;(hi$4||vi$4)&&Ue$5(pi$4,fi$4,(function(){var t=ye$5(this),e=Pn$5(t.source),n=Pn$5(function(t){var e=t.flags;return void 0!==e||"flags"in li$4||Xt$5(t,"flags")||!kt$5(li$4,t)?e:Z$5(An$5,t)}(t));return "/"+e+"/"+n}),{unsafe:!0});var gi$4=re$5("match"),yi$4=TypeError,mi$4=function(t){if(function(t){var e;return St$5(t)&&(void 0!==(e=t[gi$4])?!!e:"RegExp"===ft$5(t))}(t))throw new yi$4("The method doesn't accept regular expressions");return t},bi$4=re$5("match"),wi$4=function(t){var e=/./;try{"/./"[t](e);}catch(n){try{return e[bi$4]=!1,"/./"[t](e)}catch(t){}}return !1},Si$4=ct$5("".indexOf);Tn$5({target:"String",proto:!0,forced:!wi$4("includes")},{includes:function(t){return !!~Si$4(Pn$5(yt$5(this)),Pn$5(mi$4(t)),arguments.length>1?arguments[1]:void 0)}});var xi$4=function(){function t(){this.title=Up$1("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=$u$3.getSelectedNodeByType(t,"code");if(null==e)return null;var r=$u$3.getParentNode(t,e);return null==r||"pre"!==$u$3.getNodeType(r)?null:e},t.prototype.getValue=function(t){var e=this.getSelectCodeElem(t);return null==e?"":e.language||""},t.prototype.isActive=function(t){return !!this.getSelectCodeElem(t)},t.prototype.isDisabled=function(t){if(null==t.selection)return !0;var e=$u$3.getSelectedElems(t);return !!e.some((function(e){return t.isVoid(e)}))||!e.some((function(t){var e=$u$3.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 n=Node$1.string(e);Transforms.removeNodes(t,{mode:"highest"});var r=n.split("\n").map((function(t){return {type:"paragraph",children:[{text:t}]}}));Transforms.insertNodes(t,r,{mode:"highest"});}},t.prototype.changeToCodeBlock=function(t,e){var n,r,o=[],a=Editor.nodes(t,{match:function(e){return t.children.includes(e)},universal:!0});try{for(var c=Sr$4(a),s=c.next();!s.done;s=c.next()){var f=xr$4(s.value,1)[0];f&&o.push(Node$1.string(f));}}catch(t){n={error:t};}finally{try{s&&!s.done&&(r=c.return)&&r.call(c);}finally{if(n)throw n.error}}Transforms.removeNodes(t,{mode:"highest"});var p={type:"pre",children:[{type:"code",language:e,children:[{text:o.join("\n")}]}]};Transforms.insertNodes(t,p,{mode:"highest"});},t}(),ki$4={key:"codeBlock",factory:function(){return new xi$4}};var Ei$4={selector:"pre:not([data-w-e-type])>code",parseElemHtml:function(t,e,n){return {type:"code",language:"",children:[{text:$$6(t)[0].textContent||""}]}}};var Ti$4={selector:"pre:not([data-w-e-type])",parseElemHtml:function(t,e,r){var o=$$6(t);return 0===(e=e.filter((function(t){return "code"===$u$3.getNodeType(t)}))).length&&(e=[{type:"code",language:"",children:[{text:o[0].textContent||""}]}]),{type:"pre",children:e.filter((function(t){return "code"===$u$3.getNodeType(t)}))}}};eo$4("match",(function(t,e,n){return [function(e){var n=yt$5(this),r=vt$5(e)?void 0:Bt$5(e,t);return r?Z$5(r,e,n):new RegExp(e)[t](Pn$5(n))},function(t){var r=ye$5(this),o=Pn$5(t),i=n(e,r,o);if(i.done)return i.value;if(!r.global)return yo$4(r,o);var u=r.unicode;r.lastIndex=0;for(var a,c=[],l=0;null!==(a=yo$4(r,o));){var s=Pn$5(a[0]);c[l]=s,""===s&&(r.lastIndex=ao$4(o,nn$5(r.lastIndex),u)),l++;}return 0===l?null:c}]}));var Oi$4=/"/g,Mi$4=ct$5("".replace),Hi$4=function(t,e,n,r){var o=Pn$5(yt$5(t)),i="<"+e;return ""!==n&&(i+=" "+n+'="'+Mi$4(Pn$5(r),Oi$4,"&quot;")+'"'),i+">"+o+"</"+e+">"},Ii$4=function(t){return X$5((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))};Tn$5({target:"String",proto:!0,forced:Ii$4("anchor")},{anchor:function(t){return Hi$4(this,"a","name",t)}});var Ni$4={type:"pre",renderElem:function(t,e,n){return jsx("pre",null,e)}},Li$4={type:"code",renderElem:function(t,e,n){return jsx("code",null,e)}},zi$4={menus:[ki$4],editorPlugin:function(t){var e=t.insertBreak,r=t.normalizeNode,o=t.insertData,a=t;return a.insertBreak=function(){var t=$u$3.getSelectedNodeByType(a,"code");if(null!=t){var r=function(t,e){var n=e.selection;if(null==n)return "";var r=Node$1.string(t),o=n.anchor.offset,i=r.slice(0,o).split("\n"),u=i.length;return 0===u?"":i[u-1]}(t,a);if(r){var o=r.match(/^\s+/);if(null!=o&&null!=o[0]){var i=o[0];return void a.insertText("\n".concat(i))}}a.insertText("\n");}else e();},a.normalizeNode=function(t){var e=xr$4(t,2),o=e[0],i=e[1],c=$u$3.getNodeType(o);("code"===c&&i.length<=1&&Transforms.setNodes(a,{type:"paragraph"},{at:i}),"pre"===c)&&($u$3.isLastNode(a,o)&&Transforms.insertNodes(a,$u$3.genEmptyParagraph(),{at:[i[0]+1]}),"code"!==$u$3.getNodeType(o.children[0])&&(Transforms.unwrapNodes(a),Transforms.setNodes(a,{type:"paragraph"},{mode:"highest"})));return r([o,i])},a.insertData=function(t){if(null!=$u$3.getSelectedNodeByType(a,"code")){var e=t.getData("text/plain");Editor.insertText(a,e);}else o(t);},a},renderElems:[Ni$4,Li$4],elemsToHtml:[ri$4,oi$4],preParseHtml:[{selector:"pre>code",preParseHtml:function(t){var e=$$6(t);if("code"!==Wo$4(e))return t;var n=e.find("xmp");if(0===n.length)return t;var r=n.text();return n.remove(),e.text(r),e[0]}}],parseElemsHtml:[Ei$4,Ti$4]},ji$4=TypeError,Pi$4=function(t){if(t>9007199254740991)throw ji$4("Maximum allowed index exceeded");return t},Ai$4=re$5("isConcatSpreadable"),Vi$4=Lt$5>=51||!X$5((function(){var t=[];return t[Ai$4]=!1,t.concat()[0]!==t})),Ci$4=function(t){if(!St$5(t))return !1;var e=t[Ai$4];return void 0!==e?!!e:Nr$4(t)};Tn$5({target:"Array",proto:!0,arity:1,forced:!Vi$4||!Gr$4("concat")},{concat:function(t){var e,n,r,o,i,u=Ut$5(this),a=Rr$4(u,0),c=0;for(e=-1,r=arguments.length;e<r;e++)if(Ci$4(i=-1===e?u:arguments[e]))for(o=rn$5(i),Pi$4(c+o),n=0;n<o;n++,c++)n in i&&Ko$4(a,c,i[n]);else Pi$4(c+1),Ko$4(a,c++,i);return a.length=c,a}});var Di$4={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},Fi$4=se$5("span").classList,Bi$4=Fi$4&&Fi$4.constructor&&Fi$4.constructor.prototype,Ri$4=Bi$4===Object.prototype?void 0:Bi$4,$i$4=qr$4.forEach,_i$4=ui$4("forEach")?[].forEach:function(t){return $i$4(this,t,arguments.length>1?arguments[1]:void 0)},qi$4=function(t){if(t&&t.forEach!==_i$4)try{Te$5(t,"forEach",_i$4);}catch(e){t.forEach=_i$4;}};for(var Wi$4 in Di$4)Di$4[Wi$4]&&qi$4(K$5[Wi$4]&&K$5[Wi$4].prototype);qi$4(Ri$4);var Gi$4=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,n=Editor.marks(t);return n&&n[e]?n[e]:""},t.prototype.isActive=function(t){return !!this.getValue(t)},t.prototype.isDisabled=function(t){return null==t.selection||!!xr$4(Editor.nodes(t,{match:function(e){return "pre"===$u$3.getNodeType(e)||!!Editor.isVoid(t,e)},universal:!0}),1)[0]},t.prototype.getPanelContentElem=function(t){var n=this.mark;if(null==this.$content){var r=$$6('<ul class="w-e-panel-content-color"></ul>');r.on("click","li",(function(e){var r=e.target;if(null!=r&&(e.preventDefault(),null!=t.selection)){var o=$$6(r).attr("data-value");"0"===o?Editor.removeMark(t,n):Editor.addMark(t,n,o);}})),this.$content=r;}var o=this.$content;if(null==o)return document.createElement("ul");o.empty();var u=this.getValue(t),a=t.getMenuConfig(n).colors;(void 0===a?[]:a).forEach((function(t){var e=$$6('<div class="color-block" data-value="'.concat(t,'"></div>'));e.css("background-color",t);var n=$$6('<li data-value="'.concat(t,'"></li>'));u===t&&n.addClass("active"),n.append(e),o.append(n);}));var c="";"color"===n&&(c=Up$1("color.default")),"bgColor"===n&&(c=Up$1("color.clear"));var l=$$6('\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(c,"\n </li>\n "));return o.prepend(l),o[0]},t}(),Ui$4=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.title=Up$1("color.bgColor"),n.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>',n.mark="bgColor",n}return yr$4(n,t),n}(Gi$4),Ki$4=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.title=Up$1("color.color"),n.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>',n.mark="color",n}return yr$4(n,t),n}(Gi$4),Xi$4=["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)"];var Ji$4={key:"color",factory:function(){return new Ki$4},config:{colors:Xi$4}},Yi$4={key:"bgColor",factory:function(){return new Ui$4},config:{colors:Xi$4}};var Qi$4={selector:"font",preParseHtml:function(t){var e=$$6(t);if("font"!==Wo$4(e))return t;var n=e.attr("color")||"";return n&&(e.removeAttr("color"),e.css("color",n)),e[0]}},Zi$4=Object.assign,tu$3=Object.defineProperty,eu$3=ct$5([].concat),nu$3=!Zi$4||X$5((function(){if(J$5&&1!==Zi$4({b:1},Zi$4(tu$3({},"a",{enumerable:!0,get:function(){tu$3(this,"b",{value:3,enumerable:!1});}}),{b:2})).b)return !0;var t={},e={},n=Symbol("assign detection"),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t;})),7!==Zi$4({},t)[n]||Bn$5(Zi$4({},e)).join("")!==r}))?function(t,e){for(var n=Ut$5(t),r=arguments.length,o=1,i=dn$5.f,u=rt$5.f;r>o;)for(var a,c=ht$5(arguments[o++]),l=i?eu$3(Bn$5(c),i(c)):Bn$5(c),s=l.length,f=0;s>f;)a=l[f++],J$5&&!Z$5(u,c,a)||(n[a]=c[a]);return n}:Zi$4;function ru$3(t,e){null==t.data&&(t.data={});var n=t.data;null==n.style&&(n.style={}),Object.assign(n.style,e);}Tn$5({target:"Object",stat:!0,arity:2,forced:Object.assign!==nu$3},{assign:nu$3});var ou$3={renderStyle:function(t,e){var n=t,r=n.color,o=n.bgColor,i=e;return r&&ru$3(i,{color:r}),o&&ru$3(i,{backgroundColor:o}),i},styleToHtml:function(t,e){if(!Text.isText(t))return e;var n,r=t,o=r.color,i=r.bgColor;return o||i?((_o$4(e)||"span"!==Wo$4(n=$$6(e)))&&(n=$$6("<span>".concat(e,"</span>"))),o&&n.css("color",o),i&&n.css("background-color",i),qo$4(n)):e},preParseHtml:[Qi$4],parseStyleHtml:function(t,e,n){var r=$$6(t);if(!Text.isText(e))return e;var o=e,i=Go$4(r,"color");i&&(o.color=i);var u=Go$4(r,"background-color");return u||(u=Go$4(r,"background")),u&&(o.bgColor=u),o},menus:[Ji$4,Yi$4]},iu$3=function(){function t(){this.title=Up$1("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||!!Range.isExpanded(e)},t.prototype.exec=function(t,e){var n=t.selection;if(null!=n){var r=[n.anchor.path[0]];Transforms.insertNodes(t,{type:"paragraph",children:[{text:""}]},{at:r}),t.select(Editor.start(t,r));}},t}(),uu$3={menus:[{key:"enter",factory:function(){return new iu$3}}]};var au$3={type:"divider",elemToHtml:function(t,e){return "<hr/>"}},cu$3=function(){function t(){this.title=Up$1("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||!!$u$3.getSelectedElems(t).some((function(e){if(t.isVoid(e))return !0;var r=$u$3.getNodeType(e);return "table"===r||"pre"===r}))},t.prototype.exec=function(t,e){$u$3.isSelectedEmptyParagraph(t)&&Transforms.removeNodes(t,{mode:"highest"}),Transforms.insertNodes(t,{type:"divider",children:[{text:""}]},{mode:"highest"});},t}();var lu$3={renderElems:[{type:"divider",renderElem:function(t,e,r){var o=$u$3.isNodeSelected(r,t);return h$3("div",{props:{contentEditable:!1,className:"w-e-textarea-divider"},dataset:{selected:o?"true":""},style:{},on:{mousedown:function(t){return t.preventDefault()}}},[h$3("hr")])}}],elemsToHtml:[au$3],parseElemsHtml:[{selector:"hr:not([data-w-e-type])",parseElemHtml:function(t,e,n){return {type:"divider",children:[{text:""}]}}}],menus:[{key:"divider",factory:function(){return new cu$3}}],editorPlugin:function(t){var e=t.isVoid,r=t.normalizeNode,o=t;return o.isVoid=function(t){return "divider"===t.type||e(t)},o.normalizeNode=function(t){var e=xr$4(t,2),i=e[0],a=e[1];if("divider"!==$u$3.getNodeType(i))return r([i,a]);$u$3.isLastNode(o,i)&&Transforms.insertNodes(o,$u$3.genEmptyParagraph(),{at:[a[0]+1]});},o}};var su$3=function(){function t(){this.title=Up$1("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||!!xr$4(Editor.nodes(t,{match:function(e){return "pre"===$u$3.getNodeType(e)||!!Editor.isVoid(t,e)},universal:!0}),1)[0]},t.prototype.getPanelContentElem=function(t){if(null==this.$content){var e=$$6('<ul class="w-e-panel-content-emotion"></ul>');e.on("click","li",(function(e){var n=e.target;if(null!=n){e.preventDefault();var r=$$6(n).text();t.insertText(r);}})),this.$content=e;}var n=this.$content;if(null==n)return document.createElement("ul");n.empty();var r=t.getMenuConfig("emotion").emotions;return (void 0===r?[]:r).forEach((function(t){var e=$$6("<li>".concat(t,"</li>"));n.append(e);})),n[0]},t}(),fu$3={menus:[{key:"emotion",factory:function(){return new su$3},config:{emotions:"😀 😃 😄 😁 😆 😅 😂 🤣 😊 😇 🙂 🙃 😉 😌 😍 😘 😗 😙 😚 😋 😛 😝 😜 🤓 😎 😏 😒 😞 😔 😟 😕 🙁 😣 😖 😫 😩 😢 😭 😤 😠 😡 😳 😱 😨 🤗 🤔 😶 😑 😬 🙄 😯 😴 😷 🤑 😈 🤡 💩 👻 💀 👀 👣 👐 🙌 👏 🤝 👍 👎 👊 ✊ 🤛 🤜 🤞 ✌️ 🤘 👌 👈 👉 👆 👇 ☝️ ✋ 🤚 🖐 🖖 👋 🤙 💪 🖕 ✍️ 🙏".split(" ")}}]};var pu$3,du$3,hu$2=function(t){return t&&t.Math===Math&&t},vu$3=hu$2("object"==typeof globalThis&&globalThis)||hu$2("object"==typeof window&&window)||hu$2("object"==typeof self&&self)||hu$2("object"==typeof _$5&&_$5)||hu$2("object"==typeof _$5&&_$5)||function(){return this}()||Function("return this")(),gu$2=function(t){try{return !!t()}catch(t){return !0}},yu$3=!gu$2((function(){var t=function(){}.bind();return "function"!=typeof t||t.hasOwnProperty("prototype")})),mu$2=yu$3,bu$2=Function.prototype,wu$2=bu$2.apply,Su$2=bu$2.call,xu$2="object"==typeof Reflect&&Reflect.apply||(mu$2?Su$2.bind(wu$2):function(){return Su$2.apply(wu$2,arguments)}),ku$2=Function.prototype,Eu$2=ku$2.call,Tu$2=mu$2&&ku$2.bind.bind(Eu$2,Eu$2),Ou$2=mu$2?Tu$2:function(t){return function(){return Eu$2.apply(t,arguments)}},Mu$2=Ou$2({}.toString),Hu$2=Ou$2("".slice),Iu$2=function(t){return Hu$2(Mu$2(t),8,-1)},Nu$2="object"==typeof document&&document.all,Lu$2=void 0===Nu$2&&void 0!==Nu$2?function(t){return "function"==typeof t||t===Nu$2}:function(t){return "function"==typeof t},zu$2=!gu$2((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),ju$2=Function.prototype.call,Pu$2=mu$2?ju$2.bind(ju$2):function(){return ju$2.apply(ju$2,arguments)},Au$2={}.propertyIsEnumerable,Vu$2=Object.getOwnPropertyDescriptor,Cu$2=Vu$2&&!Au$2.call({1:2},1)?function(t){var e=Vu$2(this,t);return !!e&&e.enumerable}:Au$2,Du$2={f:Cu$2},Fu$2=Object,Bu$2=Ou$2("".split),Ru$2=gu$2((function(){return !Fu$2("z").propertyIsEnumerable(0)}))?function(t){return "String"===Iu$2(t)?Bu$2(t,""):Fu$2(t)}:Fu$2,$u$2=function(t){return null==t},_u$2=TypeError,qu$2=Ru$2,Wu$2=function(t){if($u$2(t))throw new _u$2("Can't call method on "+t);return t},Gu$2=Lu$2,Uu$2={},Ku$2=vu$3,Xu$2=function(t){return Gu$2(t)?t:void 0},Ju$2=Ou$2({}.isPrototypeOf),Yu$2=Ku$2.navigator,Qu$2=Yu$2&&Yu$2.userAgent,Zu$2=Qu$2?String(Qu$2):"",ta$4=Ku$2.process,ea$4=Ku$2.Deno,na$4=ta$4&&ta$4.versions||ea$4&&ea$4.version,ra$4=na$4&&na$4.v8;ra$4&&(du$3=(pu$3=ra$4.split("."))[0]>0&&pu$3[0]<4?1:+(pu$3[0]+pu$3[1])),!du$3&&Zu$2&&(!(pu$3=Zu$2.match(/Edge\/(\d+)/))||pu$3[1]>=74)&&(pu$3=Zu$2.match(/Chrome\/(\d+)/))&&(du$3=+pu$3[1]);var oa$4=du$3,ia$4=Ku$2.String,ua$4=!!Object.getOwnPropertySymbols&&!gu$2((function(){var t=Symbol("symbol detection");return !ia$4(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&oa$4&&oa$4<41})),aa$4=ua$4,ca$4=aa$4&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,la$4=function(t,e){return arguments.length<2?Xu$2(Uu$2[t])||Xu$2(Ku$2[t]):Uu$2[t]&&Uu$2[t][e]||Ku$2[t]&&Ku$2[t][e]},sa$4=Ju$2,fa$4=ca$4,pa$4=Object,da$4=fa$4?function(t){return "symbol"==typeof t}:function(t){var e=la$4("Symbol");return Gu$2(e)&&sa$4(e.prototype,pa$4(t))},ha$4=String,va$4=function(t){try{return ha$4(t)}catch(t){return "Object"}},ga$4=TypeError,ya$4=function(t){if(Gu$2(t))return t;throw new ga$4(va$4(t)+" is not a function")},ma$4=Pu$2,ba$4=function(t){return "object"==typeof t?null!==t:Gu$2(t)},wa$4=TypeError,Sa$4=Object.defineProperty,xa$3=function(t,e){try{Sa$4(Ku$2,t,{value:e,configurable:!0,writable:!0});}catch(n){Ku$2[t]=e;}return e},ka$3=q$5((function(t){var e="__core-js_shared__",n=t.exports=Ku$2[e]||xa$3(e,{});(n.versions||(n.versions=[])).push({version:"3.38.1",mode:"pure",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});})),Ea$4=ka$3,Ta$4=Object,Oa$4=function(t){return Ta$4(Wu$2(t))},Ma$2=Ou$2({}.hasOwnProperty),Ha$2=Object.hasOwn||function(t,e){return Ma$2(Oa$4(t),e)},Ia$4=0,Na$4=Math.random(),La$4=Ou$2(1..toString),za$2=function(t,e){return Ea$4[t]||(Ea$4[t]=e||{})},ja$3=Ha$2,Pa$3=function(t){return "Symbol("+(void 0===t?"":t)+")_"+La$4(++Ia$4+Na$4,36)},Aa$4=Ku$2.Symbol,Va$2=za$2("wks"),Ca$4=fa$4?Aa$4.for||Aa$4:Aa$4&&Aa$4.withoutSetter||Pa$3,Da$2=da$4,Fa$2=function(t,e){var n=t[e];return $u$2(n)?void 0:ya$4(n)},Ba$2=function(t,e){var n,r;if("string"===e&&Gu$2(n=t.toString)&&!ba$4(r=ma$4(n,t)))return r;if(Gu$2(n=t.valueOf)&&!ba$4(r=ma$4(n,t)))return r;if("string"!==e&&Gu$2(n=t.toString)&&!ba$4(r=ma$4(n,t)))return r;throw new wa$4("Can't convert object to primitive value")},Ra$4=function(t){return ja$3(Va$2,t)||(Va$2[t]=aa$4&&ja$3(Aa$4,t)?Aa$4[t]:Ca$4("Symbol."+t)),Va$2[t]},$a$2=TypeError,_a$2=Ra$4("toPrimitive"),qa$1=function(t,e){if(!ba$4(t)||Da$2(t))return t;var n,r=Fa$2(t,_a$2);if(r){if(void 0===e&&(e="default"),n=ma$4(r,t,e),!ba$4(n)||Da$2(n))return n;throw new $a$2("Can't convert object to primitive value")}return void 0===e&&(e="number"),Ba$2(t,e)},Wa$2=Ku$2.document,Ga$2=ba$4(Wa$2)&&ba$4(Wa$2.createElement),Ua$2=zu$2,Ka$1=function(t){return Ga$2?Wa$2.createElement(t):{}},Xa$1=!Ua$2&&!gu$2((function(){return 7!==Object.defineProperty(Ka$1("div"),"a",{get:function(){return 7}}).a})),Ja$1=Du$2,Ya$1=function(t,e){return {enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Qa$1=function(t){return qu$2(Wu$2(t))},Za$1=function(t){var e=qa$1(t,"string");return Da$2(e)?e:e+""},tc$2=Xa$1,ec$2=Object.getOwnPropertyDescriptor,nc$2={f:Ua$2?ec$2:function(t,e){if(t=Qa$1(t),e=Za$1(e),tc$2)try{return ec$2(t,e)}catch(t){}if(ja$3(t,e))return Ya$1(!ma$4(Ja$1.f,t,e),t[e])}},rc$2=/#|\.prototype\./,oc$2=function(t,e){var n=uc$2[ic$2(t)];return n===cc$2||n!==ac$2&&(Gu$2(e)?gu$2(e):!!e)},ic$2=oc$2.normalize=function(t){return String(t).replace(rc$2,".").toLowerCase()},uc$2=oc$2.data={},ac$2=oc$2.NATIVE="N",cc$2=oc$2.POLYFILL="P",lc$2=oc$2,sc$2=function(t){if("Function"===Iu$2(t))return Ou$2(t)},fc$2=sc$2(sc$2.bind),pc$2=Ua$2&&gu$2((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),dc$2=String,hc$2=TypeError,vc$2=pc$2,gc$2=function(t){if(ba$4(t))return t;throw new hc$2(dc$2(t)+" is not an object")},yc$2=TypeError,mc$2=Object.defineProperty,bc$2=Object.getOwnPropertyDescriptor,wc$2="enumerable",Sc$2="configurable",xc$2="writable",kc$2={f:Ua$2?vc$2?function(t,e,n){if(gc$2(t),e=Za$1(e),gc$2(n),"function"==typeof t&&"prototype"===e&&"value"in n&&xc$2 in n&&!n[xc$2]){var r=bc$2(t,e);r&&r[xc$2]&&(t[e]=n.value,n={configurable:Sc$2 in n?n[Sc$2]:r[Sc$2],enumerable:wc$2 in n?n[wc$2]:r[wc$2],writable:!1});}return mc$2(t,e,n)}:mc$2:function(t,e,n){if(gc$2(t),e=Za$1(e),gc$2(n),tc$2)try{return mc$2(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new yc$2("Accessors not supported");return "value"in n&&(t[e]=n.value),t}},Ec$2=xu$2,Tc$2=nc$2,Oc$2=lc$2,Mc$2=function(t,e){return ya$4(t),void 0===e?t:mu$2?fc$2(t,e):function(){return t.apply(e,arguments)}},Hc$2=Ua$2?function(t,e,n){return kc$2.f(t,e,Ya$1(1,n))}:function(t,e,n){return t[e]=n,t},Ic$2=Tc$2.f,Nc$2=function(t){var e=function(n,r,o){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,r)}return new t(n,r,o)}return Ec$2(t,this,arguments)};return e.prototype=t.prototype,e},Lc$2=Array.isArray||function(t){return "Array"===Iu$2(t)},zc$2=Math.ceil,jc$2=Math.floor,Pc$2=Math.trunc||function(t){var e=+t;return (e>0?jc$2:zc$2)(e)},Ac$2=function(t){var e=+t;return e!=e||0===e?0:Pc$2(e)},Vc$2=Math.min,Cc$2=function(t){var e=Ac$2(t);return e>0?Vc$2(e,9007199254740991):0},Dc$2=TypeError,Fc$2={};Fc$2[Ra$4("toStringTag")]="z";var Bc$2="[object z]"===String(Fc$2),Rc$2=Ra$4("toStringTag"),$c$2=Object,_c$2="Arguments"===Iu$2(function(){return arguments}()),qc$2=Bc$2?Iu$2:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=$c$2(t),Rc$2))?n:_c$2?Iu$2(e):"Object"===(r=Iu$2(e))&&Gu$2(e.callee)?"Arguments":r},Wc$2=Ou$2(Function.toString);Gu$2(Ea$4.inspectSource)||(Ea$4.inspectSource=function(t){return Wc$2(t)});var Gc$2=Ea$4.inspectSource,Uc$1=qc$2,Kc$1=Gc$2,Xc$1=function(){},Jc$1=la$4("Reflect","construct"),Yc$1=/^\s*(?:class|function)\b/,Qc$1=Ou$2(Yc$1.exec),Zc$1=!Yc$1.test(Xc$1),tl$1=function(t){if(!Gu$2(t))return !1;try{return Jc$1(Xc$1,[],t),!0}catch(t){return !1}},el$1=function(t){if(!Gu$2(t))return !1;switch(Uc$1(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return !1}try{return Zc$1||!!Qc$1(Yc$1,Kc$1(t))}catch(t){return !0}};el$1.sham=!0;var nl$1=!Jc$1||gu$2((function(){var t;return tl$1(tl$1.call)||!tl$1(Object)||!tl$1((function(){t=!0;}))||t}))?el$1:tl$1,rl$1=Lc$2,ol$1=nl$1,il$1=Ra$4("species"),ul$1=Array,al$1=function(t){var e;return rl$1(t)&&(e=t.constructor,(ol$1(e)&&(e===ul$1||rl$1(e.prototype))||ba$4(e)&&null===(e=e[il$1]))&&(e=void 0)),void 0===e?ul$1:e},cl$1=Ra$4("species"),ll$1=function(t,e){var n,r,o,i,u,a,c,l,s,f=t.target,p=t.global,d=t.stat,h=t.proto,v=p?Ku$2:d?Ku$2[f]:Ku$2[f]&&Ku$2[f].prototype,g=p?Uu$2:Uu$2[f]||Hc$2(Uu$2,f,{})[f],y=g.prototype;for(i in e)r=!(n=Oc$2(p?i:f+(d?".":"#")+i,t.forced))&&v&&ja$3(v,i),a=g[i],r&&(c=t.dontCallGetSet?(s=Ic$2(v,i))&&s.value:v[i]),u=r&&c?c:e[i],(n||h||typeof a!=typeof u)&&(l=t.bind&&r?Mc$2(u,Ku$2):t.wrap&&r?Nc$2(u):h&&Gu$2(u)?sc$2(u):u,(t.sham||u&&u.sham||a&&a.sham)&&Hc$2(l,"sham",!0),Hc$2(g,i,l),h&&(ja$3(Uu$2,o=f+"Prototype")||Hc$2(Uu$2,o,{}),Hc$2(Uu$2[o],i,u),t.real&&y&&(n||!y[i])&&Hc$2(y,i,u)));},sl$1=function(t){return Cc$2(t.length)},fl$1=function(t){if(t>9007199254740991)throw Dc$2("Maximum allowed index exceeded");return t},pl$1=function(t,e,n){Ua$2?kc$2.f(t,e,Ya$1(0,n)):t[e]=n;},dl$1=function(t,e){return new(al$1(t))(0===e?0:e)},hl$1=function(t){return oa$4>=51||!gu$2((function(){var e=[];return (e.constructor={})[cl$1]=function(){return {foo:1}},1!==e[t](Boolean).foo}))},vl$1=Ra$4("isConcatSpreadable"),gl$1=oa$4>=51||!gu$2((function(){var t=[];return t[vl$1]=!1,t.concat()[0]!==t})),yl$1=function(t){if(!ba$4(t))return !1;var e=t[vl$1];return void 0!==e?!!e:rl$1(t)},ml$1=!gl$1||!hl$1("concat");ll$1({target:"Array",proto:!0,arity:1,forced:ml$1},{concat:function(t){var e,n,r,o,i,u=Oa$4(this),a=dl$1(u,0),c=0;for(e=-1,r=arguments.length;e<r;e++)if(yl$1(i=-1===e?u:arguments[e]))for(o=sl$1(i),fl$1(c+o),n=0;n<o;n++,c++)n in i&&pl$1(a,c,i[n]);else fl$1(c+1),pl$1(a,c++,i);return a.length=c,a}});var bl$1,wl$1=String,Sl$1=Math.max,xl$1=Math.min,kl$1=function(t,e){var n=Ac$2(t);return n<0?Sl$1(n+e,0):xl$1(n,e)},El$1=function(t){return function(e,n,r){var o=Qa$1(e),i=sl$1(o);if(0===i)return !t&&-1;var u,a=kl$1(r,i);if(t&&n!=n){for(;i>a;)if((u=o[a++])!=u)return !0}else for(;i>a;a++)if((t||a in o)&&o[a]===n)return t||a||0;return !t&&-1}},Tl$1={includes:El$1(!0),indexOf:El$1(!1)},Ol$1={},Ml$1=Tl$1.indexOf,Hl$1=Ou$2([].push),Il$1=function(t,e){var n,r=Qa$1(t),o=0,i=[];for(n in r)!ja$3(Ol$1,n)&&ja$3(r,n)&&Hl$1(i,n);for(;e.length>o;)ja$3(r,n=e[o++])&&(~Ml$1(i,n)||Hl$1(i,n));return i},Nl$1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ll$1=Object.keys||function(t){return Il$1(t,Nl$1)},zl$1=Ua$2&&!vc$2?Object.defineProperties:function(t,e){gc$2(t);for(var n,r=Qa$1(e),o=Ll$1(e),i=o.length,u=0;i>u;)kc$2.f(t,n=o[u++],r[n]);return t},jl$1={f:zl$1},Pl$1=la$4("document","documentElement"),Al$1=za$2("keys"),Vl$1=jl$1,Cl$1=Pl$1,Dl$1=function(t){return Al$1[t]||(Al$1[t]=Pa$3(t))},Fl$1="prototype",Bl$1="script",Rl$1=Dl$1("IE_PROTO"),$l$1=function(){},_l$1=function(t){return "<"+Bl$1+">"+t+"</"+Bl$1+">"},ql$1=function(t){t.write(_l$1("")),t.close();var e=t.parentWindow.Object;return t=null,e},Wl$1=function(){try{bl$1=new ActiveXObject("htmlfile");}catch(t){}var t,e,n;Wl$1="undefined"!=typeof document?document.domain&&bl$1?ql$1(bl$1):(e=Ka$1("iframe"),n="java"+Bl$1+":",e.style.display="none",Cl$1.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(_l$1("document.F=Object")),t.close(),t.F):ql$1(bl$1);for(var r=Nl$1.length;r--;)delete Wl$1[Fl$1][Nl$1[r]];return Wl$1()};Ol$1[Rl$1]=!0;var Gl$1,Ul$1,Kl$1,Xl$1=Object.create||function(t,e){var n;return null!==t?($l$1[Fl$1]=gc$2(t),n=new $l$1,$l$1[Fl$1]=null,n[Rl$1]=t):n=Wl$1(),void 0===e?n:Vl$1.f(n,e)},Jl$1=Nl$1.concat("length","prototype"),Yl$1={f:Object.getOwnPropertyNames||function(t){return Il$1(t,Jl$1)}},Ql$1=Ou$2([].slice),Zl$1=Yl$1.f,ts="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],es={f:function(t){return ts&&"Window"===Iu$2(t)?function(t){try{return Zl$1(t)}catch(t){return Ql$1(ts)}}(t):Zl$1(Qa$1(t))}},ns={f:Object.getOwnPropertySymbols},rs={f:Ra$4},os=kc$2.f,is=function(t,e,n,r){return r&&r.enumerable?t[e]=n:Hc$2(t,e,n),t},us=Bc$2?{}.toString:function(){return "[object "+Uc$1(this)+"]"},as=kc$2.f,cs=Ra$4("toStringTag"),ls=Ku$2.WeakMap,ss=Gu$2(ls)&&/native code/.test(String(ls)),fs="Object already initialized",ps=Ku$2.TypeError,ds=Ku$2.WeakMap;if(ss||Ea$4.state){var hs=Ea$4.state||(Ea$4.state=new ds);hs.get=hs.get,hs.has=hs.has,hs.set=hs.set,Gl$1=function(t,e){if(hs.has(t))throw new ps(fs);return e.facade=t,hs.set(t,e),e},Ul$1=function(t){return hs.get(t)||{}},Kl$1=function(t){return hs.has(t)};}else {var vs=Dl$1("state");Ol$1[vs]=!0,Gl$1=function(t,e){if(ja$3(t,vs))throw new ps(fs);return e.facade=t,Hc$2(t,vs,e),e},Ul$1=function(t){return ja$3(t,vs)?t[vs]:{}},Kl$1=function(t){return ja$3(t,vs)};}var gs={set:Gl$1,get:Ul$1,has:Kl$1,enforce:function(t){return Kl$1(t)?Ul$1(t):Gl$1(t,{})},getterFor:function(t){return function(e){var n;if(!ba$4(e)||(n=Ul$1(e)).type!==t)throw new ps("Incompatible receiver, "+t+" required");return n}}},ys=Ou$2([].push),ms=function(t){var e=1===t,n=2===t,r=3===t,o=4===t,i=6===t,u=7===t,a=5===t||i;return function(c,l,s,f){for(var p,d,h=Oa$4(c),v=qu$2(h),g=sl$1(v),y=Mc$2(l,s),m=0,b=f||dl$1,w=e?b(c,g):n||u?b(c,0):void 0;g>m;m++)if((a||m in v)&&(d=y(p=v[m],m,h),t))if(e)w[m]=d;else if(d)switch(t){case 3:return !0;case 5:return p;case 6:return m;case 2:ys(w,p);}else switch(t){case 4:return !1;case 7:ys(w,p);}return i?-1:r||o?o:w}},bs={forEach:ms(0),map:ms(1),filter:ms(2),some:ms(3),every:ms(4),find:ms(5),findIndex:ms(6),filterReject:ms(7)},ws=function(t){if("Symbol"===Uc$1(t))throw new TypeError("Cannot convert a Symbol value to a string");return wl$1(t)},Ss=Xl$1,xs=es,ks=ns,Es=function(t,e,n){return kc$2.f(t,e,n)},Ts=function(t){var e=Uu$2.Symbol||(Uu$2.Symbol={});ja$3(e,t)||os(e,t,{value:rs.f(t)});},Os=function(){var t=la$4("Symbol"),e=t&&t.prototype,n=e&&e.valueOf,r=Ra$4("toPrimitive");e&&!e[r]&&is(e,r,(function(t){return ma$4(n,this)}),{arity:1});},Ms=function(t,e,n,r){var o=n?t:t&&t.prototype;o&&(ja$3(o,cs)||as(o,cs,{configurable:!0,value:e}),r&&!Bc$2&&Hc$2(o,"toString",us));},Hs=gs,Is=bs.forEach,Ns=Dl$1("hidden"),Ls="Symbol",zs="prototype",js=Hs.set,Ps=Hs.getterFor(Ls),As=Object[zs],Vs=Ku$2.Symbol,Cs=Vs&&Vs[zs],Ds=Ku$2.RangeError,Fs=Ku$2.TypeError,Bs=Ku$2.QObject,Rs=Tc$2.f,$s=kc$2.f,_s=xs.f,qs=Ja$1.f,Ws=Ou$2([].push),Gs=za$2("symbols"),Us=za$2("op-symbols"),Ks=za$2("wks"),Xs=!Bs||!Bs[zs]||!Bs[zs].findChild,Js=function(t,e,n){var r=Rs(As,e);r&&delete As[e],$s(t,e,n),r&&t!==As&&$s(As,e,r);},Ys=Ua$2&&gu$2((function(){return 7!==Ss($s({},"a",{get:function(){return $s(this,"a",{value:7}).a}})).a}))?Js:$s,Qs=function(t,e){var n=Gs[t]=Ss(Cs);return js(n,{type:Ls,tag:t,description:e}),Ua$2||(n.description=e),n},Zs=function(t,e,n){t===As&&Zs(Us,e,n),gc$2(t);var r=Za$1(e);return gc$2(n),ja$3(Gs,r)?(n.enumerable?(ja$3(t,Ns)&&t[Ns][r]&&(t[Ns][r]=!1),n=Ss(n,{enumerable:Ya$1(0,!1)})):(ja$3(t,Ns)||$s(t,Ns,Ya$1(1,Ss(null))),t[Ns][r]=!0),Ys(t,r,n)):$s(t,r,n)},tf=function(t,e){gc$2(t);var n=Qa$1(e),r=Ll$1(n).concat(of(n));return Is(r,(function(e){Ua$2&&!ma$4(ef,n,e)||Zs(t,e,n[e]);})),t},ef=function(t){var e=Za$1(t),n=ma$4(qs,this,e);return !(this===As&&ja$3(Gs,e)&&!ja$3(Us,e))&&(!(n||!ja$3(this,e)||!ja$3(Gs,e)||ja$3(this,Ns)&&this[Ns][e])||n)},nf=function(t,e){var n=Qa$1(t),r=Za$1(e);if(n!==As||!ja$3(Gs,r)||ja$3(Us,r)){var o=Rs(n,r);return !o||!ja$3(Gs,r)||ja$3(n,Ns)&&n[Ns][r]||(o.enumerable=!0),o}},rf=function(t){var e=_s(Qa$1(t)),n=[];return Is(e,(function(t){ja$3(Gs,t)||ja$3(Ol$1,t)||Ws(n,t);})),n},of=function(t){var e=t===As,n=_s(e?Us:Qa$1(t)),r=[];return Is(n,(function(t){!ja$3(Gs,t)||e&&!ja$3(As,t)||Ws(r,Gs[t]);})),r};aa$4||(Cs=(Vs=function(){if(sa$4(Cs,this))throw new Fs("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?ws(arguments[0]):void 0,e=Pa$3(t),n=function(t){var r=void 0===this?Ku$2:this;r===As&&ma$4(n,Us,t),ja$3(r,Ns)&&ja$3(r[Ns],e)&&(r[Ns][e]=!1);var o=Ya$1(1,t);try{Ys(r,e,o);}catch(t){if(!(t instanceof Ds))throw t;Js(r,e,o);}};return Ua$2&&Xs&&Ys(As,e,{configurable:!0,set:n}),Qs(e,t)})[zs],is(Cs,"toString",(function(){return Ps(this).tag})),is(Vs,"withoutSetter",(function(t){return Qs(Pa$3(t),t)})),Ja$1.f=ef,kc$2.f=Zs,Vl$1.f=tf,Tc$2.f=nf,Yl$1.f=xs.f=rf,ks.f=of,rs.f=function(t){return Qs(Ra$4(t),t)},Ua$2&&Es(Cs,"description",{configurable:!0,get:function(){return Ps(this).description}})),ll$1({global:!0,constructor:!0,wrap:!0,forced:!aa$4,sham:!aa$4},{Symbol:Vs}),Is(Ll$1(Ks),(function(t){Ts(t);})),ll$1({target:Ls,stat:!0,forced:!aa$4},{useSetter:function(){Xs=!0;},useSimple:function(){Xs=!1;}}),ll$1({target:"Object",stat:!0,forced:!aa$4,sham:!Ua$2},{create:function(t,e){return void 0===e?Ss(t):tf(Ss(t),e)},defineProperty:Zs,defineProperties:tf,getOwnPropertyDescriptor:nf}),ll$1({target:"Object",stat:!0,forced:!aa$4},{getOwnPropertyNames:rf}),Os(),Ms(Vs,Ls),Ol$1[Ns]=!0;var uf=aa$4&&!!Symbol.for&&!!Symbol.keyFor,af=za$2("string-to-symbol-registry"),cf=za$2("symbol-to-string-registry");ll$1({target:"Symbol",stat:!0,forced:!uf},{for:function(t){var e=ws(t);if(ja$3(af,e))return af[e];var n=la$4("Symbol")(e);return af[e]=n,cf[n]=e,n}});var lf=za$2("symbol-to-string-registry");ll$1({target:"Symbol",stat:!0,forced:!uf},{keyFor:function(t){if(!Da$2(t))throw new TypeError(va$4(t)+" is not a symbol");if(ja$3(lf,t))return lf[t]}});var sf=Ou$2([].push),ff=function(t){if(Gu$2(t))return t;if(rl$1(t)){for(var e=t.length,n=[],r=0;r<e;r++){var o=t[r];"string"==typeof o?sf(n,o):"number"!=typeof o&&"Number"!==Iu$2(o)&&"String"!==Iu$2(o)||sf(n,ws(o));}var i=n.length,u=!0;return function(t,e){if(u)return u=!1,e;if(rl$1(this))return e;for(var r=0;r<i;r++)if(n[r]===t)return e}}},pf=String,df=la$4("JSON","stringify"),hf=Ou$2(/./.exec),vf=Ou$2("".charAt),gf=Ou$2("".charCodeAt),yf=Ou$2("".replace),mf=Ou$2(1..toString),bf=/[\uD800-\uDFFF]/g,wf=/^[\uD800-\uDBFF]$/,Sf=/^[\uDC00-\uDFFF]$/,xf=!aa$4||gu$2((function(){var t=la$4("Symbol")("stringify detection");return "[null]"!==df([t])||"{}"!==df({a:t})||"{}"!==df(Object(t))})),kf=gu$2((function(){return '"\\udf06\\ud834"'!==df("\udf06\ud834")||'"\\udead"'!==df("\udead")})),Ef=function(t,e){var n=Ql$1(arguments),r=ff(e);if(Gu$2(r)||void 0!==t&&!Da$2(t))return n[1]=function(t,e){if(Gu$2(r)&&(e=ma$4(r,this,pf(t),e)),!Da$2(e))return e},Ec$2(df,null,n)},Tf=function(t,e,n){var r=vf(n,e-1),o=vf(n,e+1);return hf(wf,t)&&!hf(Sf,o)||hf(Sf,t)&&!hf(wf,r)?"\\u"+mf(gf(t,0),16):t};df&&ll$1({target:"JSON",stat:!0,arity:3,forced:xf||kf},{stringify:function(t,e,n){var r=Ql$1(arguments),o=Ec$2(xf?Ef:df,null,r);return kf&&"string"==typeof o?yf(o,bf,Tf):o}});var Of=!aa$4||gu$2((function(){ks.f(1);}));ll$1({target:"Object",stat:!0,forced:Of},{getOwnPropertySymbols:function(t){var e=ks.f;return e?e(Oa$4(t)):[]}}),Ts("asyncIterator"),Ts("hasInstance"),Ts("isConcatSpreadable"),Ts("iterator"),Ts("match"),Ts("matchAll"),Ts("replace"),Ts("search"),Ts("species"),Ts("split"),Ts("toPrimitive"),Os(),Ts("toStringTag"),Ms(la$4("Symbol"),"Symbol"),Ts("unscopables"),Ms(Ku$2.JSON,"JSON",!0);var Mf,Hf,If,Nf=Uu$2.Symbol,Lf=Function.prototype,zf=Ua$2&&Object.getOwnPropertyDescriptor,jf=ja$3(Lf,"name"),Pf={EXISTS:jf,PROPER:jf&&"something"===function(){}.name,CONFIGURABLE:jf&&(!Ua$2||Ua$2&&zf(Lf,"name").configurable)},Af=!gu$2((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Vf=Dl$1("IE_PROTO"),Cf=Object,Df=Cf.prototype,Ff=Af?Cf.getPrototypeOf:function(t){var e=Oa$4(t);if(ja$3(e,Vf))return e[Vf];var n=e.constructor;return Gu$2(n)&&e instanceof n?n.prototype:e instanceof Cf?Df:null},Bf=Ra$4("iterator"),Rf=!1;[].keys&&("next"in(If=[].keys())?(Hf=Ff(Ff(If)))!==Object.prototype&&(Mf=Hf):Rf=!0);var $f=!ba$4(Mf)||gu$2((function(){var t={};return Mf[Bf].call(t)!==t}));Mf=$f?{}:Ss(Mf),Gu$2(Mf[Bf])||is(Mf,Bf,(function(){return this}));var _f={IteratorPrototype:Mf,BUGGY_SAFARI_ITERATORS:Rf},Wf=_f.IteratorPrototype,Jf=function(t,e,n){try{return Ou$2(ya$4(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}},Qf=(Object.setPrototypeOf||"__proto__"in{}&&function(){var t,e=!1,n={};try{(t=Jf(Object.prototype,"__proto__","set"))(n,[]),e=n instanceof Array;}catch(t){}}(),function(t,e,n,r){var o=e+" Iterator";return t.prototype=Ss(Wf,{next:Ya$1(+!r,n)}),Ms(t,o,!1,!0),t}),Zf=Pf.PROPER,tp=_f.BUGGY_SAFARI_ITERATORS,ep=Ra$4("iterator"),np="keys",rp="values",op="entries",ip=function(){return this},ap=function(t,e,n,r,o,i,u){Qf(n,e,r);var a,c,l,s=function(t){if(t===o&&v)return v;if(!tp&&t&&t in d)return d[t];switch(t){case np:case rp:case op:return function(){return new n(this,t)}}return function(){return new n(this)}},f=e+" Iterator",p=!1,d=t.prototype,h=d[ep]||d["@@iterator"]||o&&d[o],v=!tp&&h||s(o),g="Array"===e&&d.entries||h;if(g&&(a=Ff(g.call(new t)))!==Object.prototype&&a.next&&(Ms(a,f,!0,!0),ip),Zf&&o===rp&&h&&h.name!==rp&&(p=!0,v=function(){return ma$4(h,this)}),o)if(c={values:s(rp),keys:i?v:s(np),entries:s(op)},u)for(l in c)(tp||p||!(l in d))&&is(d,l,c[l]);else ll$1({target:e,proto:!0,forced:tp||p},c);return u&&d[ep]!==v&&is(d,ep,v,{name:o}),c},cp=function(t,e){return {value:t,done:e}},lp=(kc$2.f,"Array Iterator"),sp=Hs.set,fp=Hs.getterFor(lp);ap(Array,"Array",(function(t,e){sp(this,{type:lp,target:Qa$1(t),index:0,kind:e});}),(function(){var t=fp(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=null,cp(void 0,!0);switch(t.kind){case"keys":return cp(n,!1);case"values":return cp(e[n],!1)}return cp([n,e[n]],!1)}),"values");var pp={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};for(var dp in pp)Ms(Ku$2[dp],dp);var hp=Nf,vp=kc$2.f,gp=Ra$4("metadata"),yp=Function.prototype;void 0===yp[gp]&&vp(yp,gp,{value:null}),Ts("asyncDispose"),Ts("dispose"),Ts("metadata");var mp=hp,bp=la$4("Symbol"),wp=bp.keyFor,Sp=Ou$2(bp.prototype.valueOf),xp=bp.isRegisteredSymbol||function(t){try{return void 0!==wp(Sp(t))}catch(t){return !1}};ll$1({target:"Symbol",stat:!0},{isRegisteredSymbol:xp});for(var kp=la$4("Symbol"),Ep=kp.isWellKnownSymbol,Tp=la$4("Object","getOwnPropertyNames"),Op=Ou$2(kp.prototype.valueOf),Mp=za$2("wks"),Hp=0,Ip=Tp(kp),Np=Ip.length;Hp<Np;Hp++)try{var Lp=Ip[Hp];Da$2(kp[Lp])&&Ra$4(Lp);}catch(t){}var zp=function(t){if(Ep&&Ep(t))return !0;try{for(var e=Op(t),n=0,r=Tp(Mp),o=r.length;n<o;n++)if(Mp[r[n]]==e)return !0}catch(t){}return !1};ll$1({target:"Symbol",stat:!0,forced:!0},{isWellKnownSymbol:zp}),Ts("customMatcher"),Ts("observable"),ll$1({target:"Symbol",stat:!0,name:"isRegisteredSymbol"},{isRegistered:xp}),ll$1({target:"Symbol",stat:!0,name:"isWellKnownSymbol",forced:!0},{isWellKnown:zp}),Ts("matcher"),Ts("metadataKey"),Ts("patternMatch"),Ts("replaceAll");var jp=mp,Pp=Ou$2("".charAt),Ap=Ou$2("".charCodeAt),Vp=Ou$2("".slice),Cp=function(t){return function(e,n){var r,o,i=ws(Wu$2(e)),u=Ac$2(n),a=i.length;return u<0||u>=a?t?"":void 0:(r=Ap(i,u))<55296||r>56319||u+1===a||(o=Ap(i,u+1))<56320||o>57343?t?Pp(i,u):r:t?Vp(i,u,u+2):o-56320+(r-55296<<10)+65536}},Dp={codeAt:Cp(!1),charAt:Cp(!0)}.charAt,Fp="String Iterator",Bp=Hs.set,Rp=Hs.getterFor(Fp);ap(String,"String",(function(t){Bp(this,{type:Fp,string:ws(t),index:0});}),(function(){var t,e=Rp(this),n=e.string,r=e.index;return r>=n.length?cp(void 0,!0):(t=Dp(n,r),e.index+=t.length,cp(t,!1))}));var $p=rs.f("iterator");function _p(t){return _p="function"==typeof jp&&"symbol"==typeof $p?function(t){return typeof t}:function(t){return t&&"function"==typeof jp&&t.constructor===jp&&t!==jp.prototype?"symbol":typeof t},_p(t)}var qp,Wp,Gp,Up=Ie$5.EXISTS,Kp=Function.prototype,Xp=ct$5(Kp.toString),Jp=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Yp=ct$5(Jp.exec);J$5&&!Up&&(qp=Kp,Wp="name",(Gp={configurable:!0,get:function(){try{return Yp(Jp,Xp(this))[1]}catch(t){return ""}}}).get&&Ge$5(Gp.get,Wp,{getter:!0}),Gp.set&&Ge$5(Gp.set,Wp,{setter:!0}),Ee$5.f(qp,Wp,Gp));var Qp=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,n=Editor.marks(t);return n&&n[e]?n[e]:""},t.prototype.isDisabled=function(t){return null==t.selection||!!xr$4(Editor.nodes(t,{match:function(e){return "pre"===$u$3.getNodeType(e)||!!Editor.isVoid(t,e)},universal:!0}),1)[0]},t.prototype.exec=function(t,e){var n=this.mark;e?t.addMark(n,e):t.removeMark(n);},t}(),Zp=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.title=Up$1("fontFamily.title"),n.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>',n.mark="fontFamily",n.selectPanelWidth=150,n}return yr$4(n,t),n.prototype.getOptions=function(t){var n=[],r=t.getMenuConfig(this.mark).fontFamilyList,o=void 0===r?[]:r;n.push({text:Up$1("fontFamily.default"),value:""}),o.forEach((function(t){if("string"==typeof t)n.push({text:t,value:t,styleForRenderMenuList:{"font-family":t}});else if("object"===_p(t)){var e=t.name,r=t.value;n.push({text:e,value:r,styleForRenderMenuList:{"font-family":r}});}}));var i=this.getValue(t);return n.forEach((function(t){t.value===i?t.selected=!0:delete t.selected;})),n},n}(Qp),td=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.title=Up$1("fontSize.title"),n.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M64 512h384v128h-128V1024h-128V640h-128z m896-256H708.2496v768h-136.4992V256H320V128h640z"></path></svg>',n.mark="fontSize",n}return yr$4(n,t),n.prototype.getOptions=function(t){var n=[],r=t.getMenuConfig(this.mark).fontSizeList,o=void 0===r?[]:r;n.push({text:Up$1("fontSize.default"),value:""}),o.forEach((function(t){if("string"==typeof t)n.push({text:t,value:t});else if("object"===_p(t)){var e=t.name,r=t.value;n.push({text:e,value:r});}}));var i=this.getValue(t);return n.forEach((function(t){t.value===i?t.selected=!0:delete t.selected;})),n},n}(Qp);var ed={1:"12px",2:"14px",3:"16px",4:"19px",5:"24px",6:"32px",7:"48px"};var nd={renderStyle:function(t,e){var n=t,r=n.fontSize,o=n.fontFamily,i=e;return r&&ru$3(i,{fontSize:r}),o&&ru$3(i,{fontFamily:o}),i},styleToHtml:function(t,e){if(!Text.isText(t))return e;var n,r=t,o=r.fontSize,i=r.fontFamily;return o||i?((_o$4(e)||"span"!==Wo$4(n=$$6(e)))&&(n=$$6("<span>".concat(e,"</span>"))),o&&n.css("font-size",o),i&&n.css("font-family",i),qo$4(n)):e},preParseHtml:[{selector:"font",preParseHtml:function(t){var e=$$6(t);if("font"!==Wo$4(e))return t;var n=e.attr("size")||"";n&&(e.removeAttr("size"),e.css("font-size",ed[n]));var r=e.attr("face")||"";return r&&(e.removeAttr("face"),e.css("font-family",r)),e[0]}}],parseStyleHtml:function(t,e,n){var r=$$6(t);if(!Text.isText(e))return e;var o=e,i=Go$4(r,"font-size");i&&(o.fontSize=i);var u=Go$4(r,"font-family").replace(/"/g,"");return u&&(o.fontFamily=u),o},menus:[{key:"fontSize",factory:function(){return new td},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 Zp},config:{fontFamilyList:["黑体",{name:"仿宋",value:"仿宋"},"楷体","标楷体","华文仿宋","华文楷体",{name:"宋体",value:"宋体"},"微软雅黑","Arial","Tahoma","Verdana","Times New Roman","Courier New"]}}]},rd=!X$5((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),od=De$5("IE_PROTO"),id=Object,ud=id.prototype,ad=rd?id.getPrototypeOf:function(t){var e=Ut$5(t);if(Xt$5(e,od))return e[od];var n=e.constructor;return wt$5(n)&&e instanceof n?n.prototype:e instanceof id?ud:null},cd=ct$5(rt$5.f),ld=ct$5([].push),sd=J$5&&X$5((function(){var t=Object.create(null);return t[2]=2,!cd(t,2)})),fd=function(t){return function(e){for(var n,r=mt$5(e),o=Bn$5(r),i=sd&&null===ad(r),u=o.length,a=0,c=[];u>a;)n=o[a++],J$5&&!(i?n in r:cd(r,n))||ld(c,t?[n,r[n]]:r[n]);return c}},pd={entries:fd(!0),values:fd(!1)}.entries;Tn$5({target:"Object",stat:!0},{entries:function(t){return pd(t)}}),Tn$5({target:"Object",stat:!0,forced:X$5((function(){Bn$5(1);}))},{keys:function(t){return Bn$5(Ut$5(t))}});var dd=function(){function t(){this.title=Up$1("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 n,r;if(e.getSelectionText().length){if(t.attrs.formatStyle){!function(t){var e=Editor.marks(t);e&&Object.keys(e).forEach((function(e){t.removeMark(e);}));}(e);try{for(var o=Sr$4(Object.entries(t.attrs.formatStyle)),u=o.next();!u.done;u=o.next()){var a=xr$4(u.value,2),c=a[0],l=a[1];e.addMark(c,l);}}catch(t){n={error:t};}finally{try{u&&!u.done&&(r=o.return)&&r.call(o);}finally{if(n)throw n.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=Editor.marks(e),t.attrs.isSelect=!0);e.blur(),e.focus();},t.attrs={isSelect:!1,formatStyle:null},t}();var hd={menus:[{key:"formatPainter",factory:function(){return new dd}}],editorPlugin:function(t){var e=new dd,n=t.onChange,r=t,o=function(){e.setFormatHtml(r),document.removeEventListener("mouseup",o);};return r.onChange=function(){n(),dd.attrs.isSelect&&(document.removeEventListener("mouseup",o),document.addEventListener("mouseup",o));},r}},vd=function(){function t(){this.title=Up$1("fullScreen.title"),this.iconSvg=Tr$4,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?Tr$4:'<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?Up$1("fullScreen.title"):Up$1("fullScreen.cancelTitle")},t.prototype.exec=function(t,e){t.isFullScreen?t.unFullScreen():t.fullScreen();},t}(),gd={menus:[{key:"fullScreen",factory:function(){return new vd}}]};function yd(t){return function(e,n){return "<h".concat(t,">").concat(n,"</h").concat(t,">")}}var md={type:"header1",elemToHtml:yd(1)},bd={type:"header2",elemToHtml:yd(2)},wd={type:"header3",elemToHtml:yd(3)},Sd={type:"header4",elemToHtml:yd(4)},xd={type:"header5",elemToHtml:yd(5)},kd={type:"header6",elemToHtml:yd(6)},Ed=de$5.f,Td=Hr$4("".slice),Od=Math.min,Md=wi$4("startsWith"),Hd=!Md&&!!function(){var t=Ed(String.prototype,"startsWith");return t&&!t.writable}();function Id(t){var e=xr$4(Editor.nodes(t,{match:function(t){return $u$3.getNodeType(t).startsWith("header")},universal:!0}),1),r=e[0];if(null==r)return "paragraph";var o=xr$4(r,1)[0];return $u$3.getNodeType(o)}function Nd(t){return null==t.selection||!xr$4(Editor.nodes(t,{match:function(t){var e=$u$3.getNodeType(t);return "paragraph"===e||!!e.startsWith("header")},universal:!0,mode:"highest"}),1)[0]}function Ld(t,e){e&&Transforms.setNodes(t,{type:e});}Tn$5({target:"String",proto:!0,forced:!Hd&&!Md},{startsWith:function(t){var e=Pn$5(yt$5(this));mi$4(t);var n=nn$5(Od(arguments.length>1?arguments[1]:void 0,e.length)),r=Pn$5(t);return Td(e,n,n+r.length)===r}});var zd=function(){function t(){this.tag="button";}return t.prototype.getValue=function(t){return Id(t)},t.prototype.isActive=function(t){return this.getValue(t)===this.type},t.prototype.isDisabled=function(t){return Nd(t)},t.prototype.exec=function(t,e){var n=this.type;Ld(t,e===n?"paragraph":n);},t}(),jd=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title="H1",e.type="header1",e}return yr$4(e,t),e}(zd),Pd=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title="H2",e.type="header2",e}return yr$4(e,t),e}(zd),Ad=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title="H3",e.type="header3",e}return yr$4(e,t),e}(zd),Vd=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title="H4",e.type="header4",e}return yr$4(e,t),e}(zd),Cd=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title="H5",e.type="header5",e}return yr$4(e,t),e}(zd),Dd=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title="H6",e.type="header6",e}return yr$4(e,t),e}(zd),Fd=function(){function t(){this.title=Up$1("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 n=[{value:"header1",text:"H1",styleForRenderMenuList:{"font-size":"32px","font-weight":"bold"}},{value:"header2",text:"H2",styleForRenderMenuList:{"font-size":"24px","font-weight":"bold"}},{value:"header3",text:"H3",styleForRenderMenuList:{"font-size":"18px","font-weight":"bold"}},{value:"header4",text:"H4",styleForRenderMenuList:{"font-size":"16px","font-weight":"bold"}},{value:"header5",text:"H5",styleForRenderMenuList:{"font-size":"13px","font-weight":"bold"}},{value:"header6",text:"H6",styleForRenderMenuList:{"font-size":"11px","font-weight":"bold"}},{value:"paragraph",text:Up$1("header.text")}],r=this.getValue(t).toString();return n.forEach((function(t){t.value===r?t.selected=!0:delete t.selected;})),n},t.prototype.isActive=function(t){return !1},t.prototype.getValue=function(t){return Id(t)},t.prototype.isDisabled=function(t){return Nd(t)},t.prototype.exec=function(t,e){Ld(t,e.toString());},t}(),Bd={key:"headerSelect",factory:function(){return new Fd}},Rd={key:"header1",factory:function(){return new jd}},$d={key:"header2",factory:function(){return new Pd}},_d={key:"header3",factory:function(){return new Ad}},qd={key:"header4",factory:function(){return new Vd}},Wd={key:"header5",factory:function(){return new Cd}},Gd={key:"header6",factory:function(){return new Dd}};function Ud(t){return function(e,n,r){var o=$$6(e);return 0===(n=n.filter((function(t){return !!Text.isText(t)||!!r.isInline(t)}))).length&&(n=[{text:o.text().replace(/\s+/gm," ")}]),{type:"header".concat(t),children:n}}}var Kd={selector:"h1:not([data-w-e-type])",parseElemHtml:Ud(1)},Xd={selector:"h2:not([data-w-e-type])",parseElemHtml:Ud(2)},Jd={selector:"h3:not([data-w-e-type])",parseElemHtml:Ud(3)},Yd={selector:"h4:not([data-w-e-type])",parseElemHtml:Ud(4)},Qd={selector:"h5:not([data-w-e-type])",parseElemHtml:Ud(5)},Zd={selector:"h6:not([data-w-e-type])",parseElemHtml:Ud(6)};function th(t){return function(e,n,r){var o="h".concat(t);return jsx(o,null,n)}}var eh={renderElems:[{type:"header1",renderElem:th(1)},{type:"header2",renderElem:th(2)},{type:"header3",renderElem:th(3)},{type:"header4",renderElem:th(4)},{type:"header5",renderElem:th(5)},{type:"header6",renderElem:th(6)}],elemsToHtml:[md,bd,wd,Sd,xd,kd],parseElemsHtml:[Kd,Xd,Jd,Yd,Qd,Zd],menus:[Bd,Rd,$d,_d,qd,Wd,Gd],editorPlugin:function(t){var e=t.insertBreak,r=t;return r.insertBreak=function(){var o=xr$4(Editor.nodes(r,{match:function(t){return $u$3.getNodeType(t).startsWith("header")},universal:!0}),1)[0];if(o)if($u$3.isSelectionAtLineEnd(t,o[1])){Transforms.insertNodes(r,{type:"paragraph",children:[{text:""}]},{mode:"highest"});}else e();else e();},r}};var nh={type:"image",elemToHtml:function(t,e){var n=t,r=n.src,o=n.alt,i=void 0===o?"":o,u=n.href,a=void 0===u?"":u,c=n.width,l=void 0===c?"":c,s=n.height,f=void 0===s?"":s,p=n.style,d=void 0===p?{}:p,h=d.width,v=void 0===h?"":h,g=d.height,y=void 0===g?"":g,m="";return v&&(m+="width: ".concat(v,";")),y&&(m+="height: ".concat(y,";")),'<img src="'.concat(r,'" alt="').concat(i,'" data-href="').concat(a,'" width="').concat(l,'" height="').concat(f,'" style="').concat(m,'"/>')}};var rh=function(){function t(){this.title=Up$1("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==$u$3.getSelectedNodeByType(t,"image")},t.prototype.exec=function(t,e){this.isDisabled(t)||Transforms.removeNodes(t,{match:function(t){return $u$3.checkNodeType(t,"image")}});},t}();function oh(t){return void 0===t&&(t="r"),"".concat(t,"-").concat(nanoid$3())}function ih(t){return t.replace(/</g,"&lt;").replace(/>/g,"&gt;")}function uh(t){var e=t.selection;return null==e||(!Range.isCollapsed(e)||!!xr$4(Editor.nodes(t,{match:function(e){var r=$u$3.getNodeType(e);return "code"===r||("pre"===r||("link"===r||("list-item"===r||(!!r.startsWith("header")||("blockquote"===r||!!Editor.isVoid(t,e))))))},universal:!0}),1)[0])}function ah(t,e,n,r,o){return void 0===r&&(r=""),void 0===o&&(o=""),br$4(this,void 0,void 0,(function(){var i,u;return wr$4(this,(function(a){switch(a.label){case 0:return (i=e.getMenuConfig(t).checkImage)?[4,i(n,r,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 ch(t,e,n){return br$4(this,void 0,void 0,(function(){var r;return wr$4(this,(function(o){switch(o.label){case 0:return (r=e.getMenuConfig(t).parseImageSrc)?[4,r(n)]:[3,2];case 1:return [2,o.sent()];case 2:return [2,n]}}))}))}function lh(t,e,r,o){return void 0===r&&(r=""),void 0===o&&(o=""),br$4(this,void 0,void 0,(function(){var i,a,c;return wr$4(this,(function(l){switch(l.label){case 0:return [4,ah("insertImage",t,e,r,o)];case 1:return l.sent()?[4,ch("insertImage",t,e)]:[2];case 2:return i=l.sent(),a={type:"image",src:ih(i),href:o,alt:r,style:{},children:[{text:""}]},null===t.selection&&t.restoreSelection(),$u$3.getSelectedNodeByType(t,"image")&&t.move(1),uh(t)?[2]:(Transforms.insertNodes(t,a),(c=t.getMenuConfig("insertImage").onInsertedImage)&&c(a),[2])}}))}))}function sh(t,e,r,o,i){return void 0===r&&(r=""),void 0===o&&(o=""),void 0===i&&(i={}),br$4(this,void 0,void 0,(function(){var a,c,l,s,f,p;return wr$4(this,(function(d){switch(d.label){case 0:return [4,ah("editImage",t,e,r,o)];case 1:return d.sent()?[4,ch("editImage",t,e)]:[2];case 2:return a=d.sent(),null==(c=$u$3.getSelectedNodeByType(t,"image"))?[2]:(l=c.style,s={src:a,alt:r,href:o,style:mr$4(mr$4({},void 0===l?{}:l),i)},Transforms.setNodes(t,s,{match:function(t){return $u$3.checkNodeType(t,"image")}}),f=$u$3.getSelectedNodeByType(t,"image"),(p=t.getMenuConfig("editImage").onUpdatedImage)&&p(f),[2])}}))}))}function fh(){return oh("w-e-edit-image")}var ph=function(){function t(){this.title=Up$1("image.edit"),this.iconSvg=kr$4,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=fh(),this.altInputId=fh(),this.hrefInputId=fh(),this.buttonId=fh();}return t.prototype.getValue=function(t){return ""},t.prototype.getImageNode=function(t){return $u$3.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||(!Range.isCollapsed(e)||null==$u$3.getSelectedNodeByType(t,"image"))},t.prototype.getModalPositionNode=function(t){return this.getImageNode(t)},t.prototype.getModalContentElem=function(t){var n=this,i=this,u=i.srcInputId,a=i.altInputId,c=i.hrefInputId,l=i.buttonId,s=this.getImageNode(t);if(null==s)throw new Error("Not found selected image node");var f=xr$4(Vh$1(Up$1("image.src"),u),2),d=f[0],h=f[1],v=$$6(h),g=xr$4(Vh$1(Up$1("image.desc"),a),2),y=g[0],m=g[1],b=$$6(m),w=xr$4(Vh$1(Up$1("image.link"),c),2),S=w[0],x=w[1],k=$$6(x),E=xr$4(Hh$1(l,Up$1("common.ok")),1)[0];if(null==this.$content){var T=$$6("<div></div>");T.on("click","#".concat(l),(function(e){e.preventDefault();var r=T.find("#".concat(u)).val(),o=T.find("#".concat(a)).val(),i=T.find("#".concat(c)).val();n.updateImage(t,r,o,i),t.hidePanelOrModal();})),this.$content=T;}var O=this.$content;O.empty(),O.append(d),O.append(y),O.append(S),O.append(E);var M=s,H=M.src,I=M.alt,N=void 0===I?"":I,L=M.href,z=void 0===L?"":L;return v.val(H),b.val(N),k.val(z),setTimeout((function(){v.focus();})),O[0]},t.prototype.updateImage=function(t,e,n,r,o){void 0===n&&(n=""),void 0===r&&(r=""),void 0===o&&(o={}),e&&(t.restoreSelection(),this.isDisabled(t)||sh(t,e,n,r,o));},t}();function dh(){return oh("w-e-insert-image")}var hh=function(){function t(){this.title=Up$1("image.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=dh(),this.heightInputId=dh(),this.buttonId=dh();}return t.prototype.getSelectedImageNode=function(t){return $u$3.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 i=this,a=i.widthInputId,c=i.heightInputId,l=i.buttonId,s=xr$4(Vh$1(Up$1("image.width"),a,"auto"),2),f=s[0],d=s[1],h=$$6(d),v=xr$4(Vh$1(Up$1("image.height"),c,"auto"),2),g=v[0],y=v[1],m=$$6(y),b=xr$4(Hh$1(l,Up$1("image.ok")),1)[0],w=this.getSelectedImageNode(t);if(null==this.$content){var S=$$6("<div></div>");S.on("click","#".concat(l),(function(e){e.preventDefault();var r=S.find("#".concat(a)).val().trim(),o=S.find("#".concat(c)).val().trim(),i=function(t){return /^\d+(\.\d+)?%$/.test(t)},l=function(t){return /^\d+(\.\d+)?$/.test(t)},s=function(t){return /^\d+(\.\d+)?px$/.test(t)},f="auto",p="auto";i(r)?f=r:l(r)?f="".concat(parseInt(r,10),"px"):s(r)&&(f=r),i(o)?p=o:l(o)?p="".concat(parseInt(o,10),"px"):s(o)&&(p=o);var d=w.style,h=void 0===d?{}:d;t.restoreSelection();var v=mr$4(mr$4({},h),{style:{width:f,height:p}});Transforms.setNodes(t,v,{match:function(t){return $u$3.checkNodeType(t,"image")}}),t.hidePanelOrModal();})),this.$content=S;}var x=this.$content;if(x.empty(),x.append(f),x.append(g),x.append(b),null==w)return x[0];var k=w.style,E=void 0===k?{}:k,T=E.width,O=void 0===T?"auto":T,M=E.height,H=void 0===M?"auto":M;return h.val(O),m.val(H),setTimeout((function(){h.focus();})),x[0]},t}();function vh(){return oh("w-e-insert-image")}var gh=function(){function t(){this.title=Up$1("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=vh(),this.altInputId=vh(),this.hrefInputId=vh(),this.buttonId=vh();}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 uh(t)},t.prototype.getModalPositionNode=function(t){return null},t.prototype.getModalContentElem=function(t){var n=this,i=this,u=i.srcInputId,a=i.altInputId,c=i.hrefInputId,l=i.buttonId,s=xr$4(Vh$1(Up$1("image.src"),u),2),f=s[0],d=s[1],h=$$6(d),v=xr$4(Vh$1(Up$1("image.desc"),a),2),g=v[0],y=v[1],m=$$6(y),b=xr$4(Vh$1(Up$1("image.link"),c),2),w=b[0],S=b[1],x=$$6(S),k=xr$4(Hh$1(l,Up$1("common.ok")),1)[0];if(null==this.$content){var E=$$6("<div></div>");E.on("click","#".concat(l),(function(e){e.preventDefault();var r=E.find("#".concat(u)).val().trim(),o=E.find("#".concat(a)).val().trim(),i=E.find("#".concat(c)).val().trim();n.insertImage(t,r,o,i),t.hidePanelOrModal();})),this.$content=E;}var T=this.$content;return T.empty(),T.append(f),T.append(g),T.append(w),T.append(k),h.val(""),m.val(""),x.val(""),setTimeout((function(){h.focus();})),T[0]},t.prototype.insertImage=function(t,e,n,r){void 0===n&&(n=""),void 0===r&&(r=""),e&&(t.restoreSelection(),this.isDisabled(t)||lh(t,e,n,r));},t}(),yh=function(){function t(){this.title=Up$1("image.viewLink"),this.iconSvg=Er$4,this.tag="button";}return t.prototype.getValue=function(t){var e=$u$3.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}(),mh=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 $u$3.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 o=$u$3.getHoverbar(t);o&&o.hideAndClean();var i=r.style,a={style:mr$4(mr$4({},void 0===i?{}:i),{width:this.value,height:""})};Transforms.setNodes(t,a,{match:function(t){return $u$3.checkNodeType(t,"image")}});}}},t}(),bh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title="30%",e.value="30%",e}return yr$4(e,t),e}(mh),wh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title="50%",e.value="50%",e}return yr$4(e,t),e}(mh),Sh=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title="100%",e.value="100%",e}return yr$4(e,t),e}(mh),xh={onInsertedImage:function(t){},onUpdatedImage:function(t){},checkImage:function(t,e,n){return !0},parseImageSrc:function(t){return t}},kh={key:"insertImage",factory:function(){return new gh},config:xh},Eh={key:"deleteImage",factory:function(){return new rh}},Th={key:"editImage",factory:function(){return new ph},config:xh},Oh={key:"viewImageLink",factory:function(){return new yh}},Mh={key:"imageWidth30",factory:function(){return new bh}},Hh={key:"imageWidth50",factory:function(){return new wh}},Ih={key:"imageWidth100",factory:function(){return new Sh}},Nh={key:"editorImageSizeMenu",factory:function(){return new hh}};var Lh={selector:"img:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=$$6(t),o=r.attr("data-href")||"";return o=decodeURIComponent(o),{type:"image",src:r.attr("src")||"",alt:r.attr("alt")||"",href:o,style:{width:Go$4(r,"width"),height:Go$4(r,"height")},width:r.attr("width")||"",height:r.attr("height")||"",children:[{text:""}]}}};var zh=ct$5(1..valueOf),jh=RangeError,Ph=RangeError,Ah=String,Vh=Math.floor,Ch=ct$5((function(t){var e=Pn$5(yt$5(this)),n="",r=Ye$5(t);if(r<0||r===1/0)throw new jh("Wrong number of repetitions");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n})),Dh=ct$5("".slice),Fh=ct$5(1..toFixed),Bh=function(t,e,n){return 0===e?n:e%2==1?Bh(t,e-1,n*t):Bh(t*t,e/2,n)},Rh=function(t,e,n){for(var r=-1,o=n;++r<6;)o+=e*t[r],t[r]=o%1e7,o=Vh(o/1e7);},$h=function(t,e){for(var n=6,r=0;--n>=0;)r+=t[n],t[n]=Vh(r/e),r=r%e*1e7;},_h=function(t){for(var e=6,n="";--e>=0;)if(""!==n||0===e||0!==t[e]){var r=Ah(t[e]);n=""===n?r:n+Ch("0",7-r.length)+r;}return n};function qh(t,e){var r=$u$3.findKey(t,e).id;return "w-e-image-container-".concat(r)}function Wh(t,e,r,o){var i=$$6("body"),a=qh(t,e),c=o.width,l=o.height,s=0,f=0,d=0,h=0,v=!1,g=null;var y=lodash_throttle((function(t){t.preventDefault();var e=t.clientX,n=f+(v?s-e:e-s),r=d*(n/f);n>h-6||null!=g&&(n<=15||r<=15||(g.css("width","".concat(n,"px")),g.css("height","".concat(r,"px"))));}),100);function m(r){if(i.off("mousemove",y),null!=g){var o=g.width().toFixed(2),a=g.height().toFixed(2),c={style:mr$4(mr$4({},e.style),{width:"".concat(o,"px"),height:"".concat(a,"px")})};Transforms.setNodes(t,c,{at:$u$3.findPath(t,e)}),i.off("mouseup",m);}}function b(e,r){g=function(){var t=$$6("#".concat(a));if(0===t.length)throw new Error("Cannot find image container elem");return t}(),s=e,h=r;var o=g.find("img");if(0===o.length)throw new Error("Cannot find image elem");f=o.width(),d=o.height(),i.on("mousemove",y),i.on("mouseup",m);var u=$u$3.getHoverbar(t);u&&u.hideAndClean();}var w={};return c&&(w.width=c),l&&(w.height=l),w.boxShadow="0 0 0 1px #B4D5FF",jsx("div",{id:a,style:w,className:"w-e-image-container w-e-selected-image-container",on:{mousedown:function(r){var o=$$6(r.target);if(o.hasClass("w-e-image-dragger")){r.preventDefault(),(o.hasClass("left-top")||o.hasClass("left-bottom"))&&(v=!0);var i=$u$3.getParentNode(t,e);if(null!=i){var u=$u$3.toDOMNode(t,i),a=u.getBoundingClientRect(),c=window.getComputedStyle(u),l=parseFloat(c.paddingLeft),s=parseFloat(c.paddingRight),f=parseFloat(c.borderLeftWidth),d=parseFloat(c.borderRightWidth);b(r.clientX,a.width-l-s-f-d);}}}}},r,jsx("div",{className:"w-e-image-dragger left-top"}),jsx("div",{className:"w-e-image-dragger right-top"}),jsx("div",{className:"w-e-image-dragger left-bottom"}),jsx("div",{className:"w-e-image-dragger right-bottom"}))}Tn$5({target:"Number",proto:!0,forced:X$5((function(){return "0.000"!==Fh(8e-5,3)||"1"!==Fh(.9,0)||"1.25"!==Fh(1.255,2)||"1000000000000000128"!==Fh(0xde0b6b3a7640080,0)}))||!X$5((function(){Fh({});}))},{toFixed:function(t){var e,n,r,o,i=zh(this),u=Ye$5(t),a=[0,0,0,0,0,0],c="",l="0";if(u<0||u>20)throw new Ph("Incorrect fraction digits");if(i!=i)return "NaN";if(i<=-1e21||i>=1e21)return Ah(i);if(i<0&&(c="-",i=-i),i>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(i*Bh(2,69,1))-69)<0?i*Bh(2,-e,1):i/Bh(2,e,1),n*=4503599627370496,(e=52-e)>0){for(Rh(a,0,n),r=u;r>=7;)Rh(a,1e7,0),r-=7;for(Rh(a,Bh(10,r,1),0),r=e-1;r>=23;)$h(a,1<<23),r-=23;$h(a,1<<r),Rh(a,1,1),$h(a,2),l=_h(a);}else Rh(a,0,n),Rh(a,1<<-e,0),l=_h(a)+Ch("0",u);return l=u>0?c+((o=l.length)<=u?"0."+Ch("0",u-o)+l:Dh(l,0,o-u)+"."+Dh(l,o-u)):c+l}});var Gh={type:"image",renderElem:function(t,e,r){var o=t,i=o.src,u=o.alt,a=void 0===u?"":u,c=o.href,l=void 0===c?"":c,s=o.style,f=void 0===s?{}:s,p=f.width,d=void 0===p?"":p,h=f.height,v=void 0===h?"":h,g=$u$3.isNodeSelected(r,t),y={maxWidth:"100%"};d&&(y.width="100%"),v&&(y.height="100%");var m=jsx("img",{style:y,src:i,alt:a,"data-href":l}),b=r.isDisabled();return g&&!b?Wh(r,t,m,{width:d,height:v}):function(t,e,n,r){var o=r.width,i=r.height,u={};o&&(u.width=o),i&&(u.height=i);var a=qh(t,e);return jsx("div",{id:a,style:u,className:"w-e-image-container"},n)}(r,t,m,{width:d,height:v})}},Uh={renderElems:[Gh],elemsToHtml:[nh],parseElemsHtml:[Lh],menus:[kh,Eh,Th,Oh,Mh,Hh,Ih,Nh],editorPlugin:function(t){var e=t.isInline,n=t.isVoid,r=t;return r.isInline=function(t){return "image"===t.type||e(t)},r.isVoid=function(t){return "image"===t.type||n(t)},r}},Kh=function(){function t(){this.tag="button";}return t.prototype.getValue=function(t){var e=xr$4(Editor.nodes(t,{match:function(t){return !!t.indent},universal:!0}),1),n=e[0];return null==n?"":xr$4(n,1)[0].indent||""},t.prototype.isActive=function(t){return !1},t.prototype.getMatchNode=function(t){var e=xr$4(Editor.nodes(t,{match:function(t){var e=$u$3.getNodeType(t);return "paragraph"===e||!!e.startsWith("header")},universal:!0,mode:"highest"}),1)[0];return null==e?null:e[0]},t}(),Xh=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.title=Up$1("indent.decrease"),n.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m256-512v384l-256-192z"></path></svg>',n}return yr$4(n,t),n.prototype.isDisabled=function(t){var e=this.getMatchNode(t);return null==e||!e.indent},n.prototype.exec=function(t,e){Transforms.setNodes(t,{indent:null},{match:function(t){return Element$1.isElement(t)}});},n}(Kh),Jh=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.title=Up$1("indent.increase"),n.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',n.DEFAULT_INDENT_VALUE="2em",n}return yr$4(n,t),n.prototype.isDisabled=function(t){var e=this.getMatchNode(t);return null==e||!!e.indent},n.prototype.getIndentValue=function(t){var e=this.getMatchNode(t);if(!e)return this.DEFAULT_INDENT_VALUE;var n=e.children.filter(Text.isText)[0];if(!n||!n.fontSize)return this.DEFAULT_INDENT_VALUE;var r=n.fontSize,o=parseInt(n.fontSize,10),i=r.replace("".concat(o),"");return "".concat(2*o).concat(i)},n.prototype.exec=function(t,e){var n=this.getIndentValue(t);Transforms.setNodes(t,{indent:n},{match:function(t){return Element$1.isElement(t)},mode:"highest"});},n}(Kh);var Yh={renderStyle:function(t,e){if(!Element$1.isElement(t))return e;var n=t.indent,r=e;return n&&ru$3(r,{textIndent:n}),r},styleToHtml:function(t,e){if(!Element$1.isElement(t))return e;var n=t.indent;if(!n)return e;var r=$$6(e);return r.css("text-indent",n),qo$4(r)},preParseHtml:[{selector:"p,h1,h2,h3,h4,h5",preParseHtml:function(t){var e=$$6(t),n=Go$4(e,"padding-left");return /\dem/.test(n)&&e.css("text-indent","2em"),/\dpx/.test(n)&&parseInt(n,10)%32==0&&e.css("text-indent","2em"),e[0]}}],parseStyleHtml:function(t,e,n){var r=$$6(t);if(!Element$1.isElement(e))return e;var o=e,i=Go$4(r,"text-indent"),u=parseInt(i,10);return i&&u>0&&(o.indent=i),o},menus:[{key:"indent",factory:function(){return new Jh}},{key:"delIndent",factory:function(){return new Xh}}]},Qh=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||!!$u$3.getSelectedElems(t).some((function(e){var n=e.type;return !(!Editor.isVoid(t,e)||!Editor.isBlock(t,e)||"video"===n)||!!["pre","code"].includes(n)}))},t}(),Zh=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.title=Up$1("justify.center"),n.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>',n}return yr$4(n,t),n.prototype.exec=function(t,e){Transforms.setNodes(t,{textAlign:"center"},{match:function(e){return Element$1.isElement(e)&&!t.isInline(e)}});},n}(Qh),tv=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.title=Up$1("justify.justify"),n.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>',n}return yr$4(n,t),n.prototype.exec=function(t,e){Transforms.setNodes(t,{textAlign:"justify"},{match:function(e){return Element$1.isElement(e)&&!t.isInline(e)}});},n}(Qh),ev=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.title=Up$1("justify.left"),n.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>',n}return yr$4(n,t),n.prototype.exec=function(t,e){Transforms.setNodes(t,{textAlign:"left"},{match:function(e){return Element$1.isElement(e)&&!t.isInline(e)}});},n}(Qh),nv=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.title=Up$1("justify.right"),n.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>',n}return yr$4(n,t),n.prototype.exec=function(t,e){Transforms.setNodes(t,{textAlign:"right"},{match:function(e){return Element$1.isElement(e)&&!t.isInline(e)}});},n}(Qh);var rv={renderStyle:function(t,e){if(!Element$1.isElement(t))return e;var n=t.textAlign,r=e;return n&&ru$3(r,{textAlign:n}),r},styleToHtml:function(t,e){if(!Element$1.isElement(t))return e;var n=t.textAlign;if(!n)return e;var r=$$6(e);return r.css("text-align",n),qo$4(r)},parseStyleHtml:function(t,e,n){var r=$$6(t);if(!Element$1.isElement(e))return e;var o=e,i=Go$4(r,"text-align");return i&&(o.textAlign=i),o},menus:[{key:"justifyLeft",factory:function(){return new ev}},{key:"justifyRight",factory:function(){return new nv}},{key:"justifyCenter",factory:function(){return new Zh}},{key:"justifyJustify",factory:function(){return new tv}}]};var ov=function(){function t(){this.title=Up$1("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 n=[],r=t.getMenuConfig("lineHeight").lineHeightList,o=void 0===r?[]:r;n.push({text:Up$1("lineHeight.default"),value:""}),o.forEach((function(t){n.push({text:t,value:t});}));var i=this.getValue(t);return n.forEach((function(t){t.value===i?t.selected=!0:delete t.selected;})),n},t.prototype.getMatchNode=function(t){var e=xr$4(Editor.nodes(t,{match:function(t){var e=$u$3.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?"":Element$1.isElement(e)&&e.lineHeight||""},t.prototype.isDisabled=function(t){return null==t.selection||null==this.getMatchNode(t)},t.prototype.exec=function(t,e){Transforms.setNodes(t,{lineHeight:e.toString()},{mode:"highest"});},t}();var iv={renderStyle:function(t,e){if(!Element$1.isElement(t))return e;var n=t.lineHeight,r=e;return n&&ru$3(r,{lineHeight:n}),r},styleToHtml:function(t,e){if(!Element$1.isElement(t))return e;var n=t.lineHeight;if(!n)return e;var r=$$6(e);return r.css("line-height",n),qo$4(r)},parseStyleHtml:function(t,e,n){var r=$$6(t);if(!Element$1.isElement(e))return e;var o=e,i=n.getMenuConfig("lineHeight").lineHeightList,u=void 0===i?[]:i,a=Go$4(r,"line-height");return a&&u.includes(a)&&(o.lineHeight=a),o},menus:[{key:"lineHeight",factory:function(){return new ov},config:{lineHeightList:["1","1.15","1.5","2","2.5","3"]}}]};var uv={type:"link",elemToHtml:function(t,e){var n=t,r=n.url,o=n.target,i=void 0===o?"_blank":o;return '<a href="'.concat(r,'" target="').concat(i,'">').concat(e,"</a>")}};function av(t,e,n,r){return br$4(this,void 0,void 0,(function(){var o,i;return wr$4(this,(function(u){switch(u.label){case 0:return (o=e.getMenuConfig(t).checkLink)?[4,o(n,r)]:[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 cv(t,e,n){return br$4(this,void 0,void 0,(function(){var r;return wr$4(this,(function(o){switch(o.label){case 0:return (r=e.getMenuConfig(t).parseLinkUrl)?[4,r(n)]:[3,2];case 1:return [2,o.sent()];case 2:return [2,n]}}))}))}function lv(t){return null==t.selection||!!$u$3.getSelectedElems(t).some((function(e){var n=e.type;return !!t.isVoid(e)||!!["pre","code","link"].includes(n)}))}function sv(t,e){return {type:"link",url:ih(t),children:e?[{text:e}]:[]}}function fv(t,e,r){return br$4(this,void 0,void 0,(function(){var o,a,c,l,f;return wr$4(this,(function(p){switch(p.label){case 0:return r?(e||(e=r),t.restoreSelection(),lv(t)?[2]:[4,av("insertLink",t,e,r)]):[2];case 1:return p.sent()?[4,cv("insertLink",t,r)]:[2];case 2:if(o=p.sent(),null==(a=t.selection))return [2];if(Range.isCollapsed(a)){if((l=$u$3.getLeftLengthOfMaxLength(t))<=0)return [2];t.insertText(" "),l<e.length+1&&(e=e.slice(0,l-1)),f=sv(o,e),Transforms.insertNodes(t,f),t.insertFragment([{text:" "}]);}else if((c=Editor.string(t,a))!==e){if((l=$u$3.getLeftLengthOfMaxLength(t))<=0)return [2];l<c.length-e.length&&(e=e.slice(0,l)),t.deleteFragment(),f=sv(o,e),Transforms.insertNodes(t,f);}else f=sv(o),Transforms.wrapNodes(t,f,{split:!0}),Transforms.collapse(t,{edge:"end"});return [2]}}))}))}function pv(){return oh("w-e-update-link")}var dv=function(){function t(){this.title=Up$1("link.edit"),this.iconSvg=kr$4,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.urlInputId=pv(),this.buttonId=pv();}return t.prototype.getSelectedLinkElem=function(t){var e=$u$3.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 $u$3.getSelectedNodeByType(t,"link")},t.prototype.getModalContentElem=function(t){var i=this.urlInputId,a=this.buttonId,c=xr$4(Vh$1(Up$1("link.url"),i),2),s=c[0],f=c[1],d=$$6(f),h=xr$4(Hh$1(a,Up$1("common.ok")),1)[0];if(null==this.$content){var v=$$6("<div></div>");v.on("click","#".concat(a),(function(e){e.preventDefault(),t.restoreSelection();var r=$u$3.getSelectedNodeByType(t,"link"),o=r?Node$1.string(r):"",a=v.find("#".concat(i)).val();!function(t,e,r){br$4(this,void 0,void 0,(function(){var o,i;return wr$4(this,(function(a){switch(a.label){case 0:return r?[4,av("editLink",t,e,r)]:[2];case 1:return a.sent()?[4,cv("editLink",t,r)]:[2];case 2:return o=a.sent(),i={url:ih(o)},Transforms.setNodes(t,i,{match:function(t){return $u$3.checkNodeType(t,"link")}}),[2]}}))}));}(t,o,a),t.hidePanelOrModal();})),this.$content=v;}var g=this.$content;g.empty(),g.append(s),g.append(h);var y=this.getValue(t);return d.val(y),setTimeout((function(){d.focus();})),g[0]},t}();function hv(){return oh("w-e-insert-link")}var vv=function(){function t(){this.title=Up$1("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=hv(),this.urlInputId=hv(),this.buttonId=hv();}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 lv(t)},t.prototype.getModalPositionNode=function(t){return null},t.prototype.getModalContentElem=function(t){var n=t.selection,u=this,a=u.textInputId,c=u.urlInputId,l=u.buttonId,f=xr$4(Vh$1(Up$1("link.text"),a),2),d=f[0],h=f[1],v=$$6(h),g=xr$4(Vh$1(Up$1("link.url"),c),2),y=g[0],m=g[1],b=$$6(m),w=xr$4(Hh$1(l,Up$1("common.ok")),1)[0];if(null==this.$content){var S=$$6("<div></div>");S.on("click","#".concat(l),(function(e){e.preventDefault();var n=S.find("#".concat(a)).val(),r=S.find("#".concat(c)).val();fv(t,n,r),t.hidePanelOrModal();})),this.$content=S;}var x=this.$content;if(x.empty(),x.append(d),x.append(y),x.append(w),null==n||Range.isCollapsed(n))v.val("");else {var k=Editor.string(t,n);v.val(k);}return b.val(""),setTimeout((function(){v.focus();})),x[0]},t}(),gv=function(){function t(){this.title=Up$1("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==$u$3.getSelectedNodeByType(t,"link")},t.prototype.exec=function(t,e){this.isDisabled(t)||Transforms.unwrapNodes(t,{match:function(t){return $u$3.checkNodeType(t,"link")}});},t}(),yv=function(){function t(){this.title=Up$1("link.view"),this.iconSvg=Er$4,this.tag="button";}return t.prototype.getSelectedLinkElem=function(t){var e=$u$3.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}(),mv={checkLink:function(t,e){return !0},parseLinkUrl:function(t){return t}};var bv={selector:"a:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=$$6(t);return 0===(e=e.filter((function(t){return !!Text.isText(t)||!!n.isInline(t)}))).length&&(e=[{text:r.text().replace(/\s+/gm," ")}]),{type:"link",url:r.attr("href")||"",target:r.attr("target")||"",children:e}}},wv=function(t){if("string"!=typeof t)return !1;var e=t.match(Sv);if(!e)return !1;var n=e[1];if(!n)return !1;if(xv.test(n)||kv.test(n))return !0;return !1},Sv=/^(?:\w+:)?\/\/(\S+)$/,xv=/^localhost[\:?\d]*(?:[^\:?\d]\S*)?$/,kv=/^[^\s\.]+\.\S{2,}$/;var Ev={type:"link",renderElem:function(t,e,n){var r=t,o=r.url,i=r.target;return jsx("a",{href:o,target:void 0===i?"_blank":i},e)}},Tv={renderElems:[Ev],elemsToHtml:[uv],parseElemsHtml:[bv],menus:[{key:"insertLink",factory:function(){return new vv},config:mv},{key:"editLink",factory:function(){return new dv},config:mv},{key:"unLink",factory:function(){return new gv}},{key:"viewLink",factory:function(){return new yv}}],editorPlugin:function(t){var e=t.isInline,r=t.insertData,o=t.normalizeNode,a=t;return a.isInline=function(t){return "link"===t.type||e(t)},a.insertData=function(t){var e=t.getData("text/plain");if(wv(e)){if(/<img[^>]+>/.test(t.getData("text/html")))r(t);else if(!lv(a)){var n=a.selection;if(null!=n){var o=Editor.string(a,n);fv(a,o,e);}}}else r(t);},a.normalizeNode=function(t){var e=xr$4(t,2),r=e[0],i=e[1];return "link"!==$u$3.getNodeType(r)?o([r,i]):""===Node$1.string(r)?Transforms.removeNodes(a,{at:i}):o([r,i])},a}};var Ov={selector:"p:not([data-w-e-type])",parseElemHtml:function(t,e,n){var r=$$6(t);return 0===(e=e.filter((function(t){return !!Text.isText(t)||!!n.isInline(t)}))).length&&(e=[{text:r.text().replace(/\s+/gm," ")}]),{type:"paragraph",children:e}}};function Mv(t){var e=xr$4(Editor.nodes(t,{match:function(e){return t.children[0]===e},mode:"highest"}),1),n=e[0];if(null==n)return !1;var r=n[0];if(!Element$1.isElement(r))return !1;if("paragraph"===r.type)return !1;if(""!==Node$1.string(r))return !1;var o=r.children,c=void 0===o?[]:o;return !!Text.isText(c[0])&&(Transforms.setNodes(t,{type:"paragraph"}),!0)}var Hv={type:"paragraph",renderElem:function(t,e,n){return jsx("p",null,e)}},Iv={renderElems:[Hv],elemsToHtml:[{type:"paragraph",elemToHtml:function(t,e){return ""===e?"<p><br></p>":"<p>".concat(e,"</p>")}}],parseElemsHtml:[Ov],editorPlugin:function(t){var e=t.deleteBackward,n=t.deleteForward,r=t;return r.deleteBackward=function(t){Mv(r)||e(t);},r.deleteForward=function(t){Mv(r)||n(t);},r}};function Nv(t,e){return null==t.selection||!!xr$4(Editor.nodes(t,{match:function(e){return "pre"===$u$3.getNodeType(e)||!!Editor.isVoid(t,e)},universal:!0}),1)[0]}function Lv(t,e){Object.keys(e).forEach((function(e){"text"!==e&&Editor.removeMark(t,e);}));}var zv=function(){function t(){this.marksNeedToRemove=[],this.tag="button";}return t.prototype.getValue=function(t){var e=this.mark,n=Editor.marks(t);return n?n[e]:!!xr$4(Editor.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 Nv(t,this.mark)},t.prototype.exec=function(t,e){var n=this.mark,r=this.marksNeedToRemove;e?t.removeMark(n):(t.addMark(n,!0),r&&r.forEach((function(e){return t.removeMark(e)})));},t}(),jv=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.mark="bold",n.title=Up$1("textStyle.bold"),n.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>',n.hotkey="mod+b",n}return yr$4(n,t),n}(zv),Pv=function(){function t(){this.title=Up$1("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 Nv(t)},t.prototype.exec=function(t,e){var n,r,o=Editor.nodes(t,{match:function(t){return Text.isText(t)},universal:!0});try{for(var u=Sr$4(o),c=u.next();!c.done;c=u.next()){Lv(t,c.value[0]);}}catch(t){n={error:t};}finally{try{c&&!c.done&&(r=u.return)&&r.call(u);}finally{if(n)throw n.error}}},t}(),Av=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.mark="code",n.title=Up$1("textStyle.code"),n.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>',n.hotkey="mod+e",n}return yr$4(n,t),n}(zv),Vv=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.mark="italic",n.title=Up$1("textStyle.italic"),n.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M896 64v64h-128L448 896h128v64H128v-64h128L576 128h-128V64z"></path></svg>',n.hotkey="mod+i",n}return yr$4(n,t),n}(zv),Cv=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.mark="sub",n.marksNeedToRemove=["sup"],n.title=Up$1("textStyle.sub"),n.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>',n.hotkey="",n}return yr$4(n,t),n}(zv),Dv=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.mark="sup",n.marksNeedToRemove=["sub"],n.title=Up$1("textStyle.sup"),n.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>',n.hotkey="",n}return yr$4(n,t),n}(zv),Fv=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.mark="through",n.title=Up$1("textStyle.through"),n.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>',n.hotkey="mod+shift+x",n}return yr$4(n,t),n}(zv),Bv=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.mark="underline",n.title=Up$1("textStyle.underline"),n.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>',n.hotkey="mod+u",n}return yr$4(n,t),n}(zv),Rv={key:"bold",factory:function(){return new jv}},$v={key:"code",factory:function(){return new Av}},_v={key:"italic",factory:function(){return new Vv}},qv={key:"through",factory:function(){return new Fv}},Wv={key:"underline",factory:function(){return new Bv}},Gv={key:"sup",factory:function(){return new Dv}},Uv={key:"sub",factory:function(){return new Cv}},Kv={key:"clearStyle",factory:function(){return new Pv}};function Xv(t,e){return 0!==t.length&&(!!t[0].matches(e)||t.find(e).length>0)}function Jv(t,e){var n=e,r=t,o=r.bold,i=r.italic,u=r.underline,a=r.code,c=r.through,l=r.sub,s=r.sup;return o&&(n="<strong>".concat(n,"</strong>")),a&&(n="<code>".concat(n,"</code>")),i&&(n="<em>".concat(n,"</em>")),u&&(n="<u>".concat(n,"</u>")),c&&(n="<s>".concat(n,"</s>")),l&&(n="<sub>".concat(n,"</sub>")),s&&(n="<sup>".concat(n,"</sup>")),n}Tn$5({target:"String",proto:!0,forced:Ii$4("bold")},{bold:function(){return Hi$4(this,"b","","")}}),Tn$5({target:"String",proto:!0,forced:Ii$4("italics")},{italics:function(){return Hi$4(this,"i","","")}}),Tn$5({target:"String",proto:!0,forced:Ii$4("sub")},{sub:function(){return Hi$4(this,"sub","","")}}),Tn$5({target:"String",proto:!0,forced:Ii$4("sup")},{sup:function(){return Hi$4(this,"sup","","")}});var Yv={renderStyle:function(t,e){var n=t,r=n.bold,o=n.italic,i=n.underline,u=n.code,a=n.through,c=n.sub,l=n.sup,s=e;return r&&(s=jsx("strong",null,s)),u&&(s=jsx("code",null,s)),o&&(s=jsx("em",null,s)),i&&(s=jsx("u",null,s)),a&&(s=jsx("s",null,s)),c&&(s=jsx("sub",null,s)),l&&(s=jsx("sup",null,s)),s},menus:[Rv,Wv,_v,qv,$v,Uv,Gv,Kv],styleToHtml:function(t,e){if(!Text.isText(t))return e;if(_o$4(e))return Jv(t,e);var n=$$6(e),r=n.html();return r=Jv(t,r),n.html(r),qo$4(n)},parseStyleHtml:function(t,e,n){var r=$$6(t);if(!Text.isText(e))return e;var o=e;return Xv(r,"b,strong")&&(o.bold=!0),Xv(r,"i,em")&&(o.italic=!0),Xv(r,"u")&&(o.underline=!0),Xv(r,"s,strike")&&(o.through=!0),Xv(r,"sub")&&(o.sub=!0),Xv(r,"sup")&&(o.sup=!0),Xv(r,"code")&&(o.code=!0),o}};var Qv={type:"todo",elemToHtml:function(t,e){var n=t.checked;return '<div data-w-e-type="todo"><input type="checkbox" disabled '.concat(n?"checked":"",">").concat(e,"</div>")}},Zv=function(){function t(){this.title=Up$1("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 !!$u$3.getSelectedNodeByType(t,"todo")},t.prototype.isDisabled=function(t){return null==t.selection||!!$u$3.getSelectedElems(t).some((function(e){if(Editor.isVoid(t,e)&&Editor.isBlock(t,e))return !0;var n=e.type;return !!["pre","table","list-item"].includes(n)}))},t.prototype.exec=function(t,e){var n=this.isActive(t);Transforms.setNodes(t,{type:n?"paragraph":"todo"});},t}();var tg={selector:'div[data-w-e-type="todo"]',parseElemHtml:function(t,e,n){var r=$$6(t);0===(e=e.filter((function(t){return !!Text.isText(t)||!!n.isInline(t)}))).length&&(e=[{text:r.text().replace(/\s+/gm," ")}]);var o=!1;return null!=r.find('input[type="checkbox"]').attr("checked")&&(o=!0),{type:"todo",checked:o,children:e}}};var eg={type:"todo",renderElem:function(t,e,r){var o=!1;r.isDisabled()&&(o=!0);var i=t.checked,a=jsx("div",{style:{margin:"5px 0"}},jsx("span",{contentEditable:!1,style:{marginRight:"0.5em"}},jsx("input",{type:"checkbox",checked:i,disabled:o,on:{change:function(e){var o=$u$3.findPath(r,t),i={checked:e.target.checked};Transforms.setNodes(r,i,{at:o});}}})),jsx("span",null,e));return a}},ng={renderElems:[eg],elemsToHtml:[Qv],preParseHtml:[{selector:"ul.w-e-todo",preParseHtml:function(t){var e=$$6(t).find("li"),n=$$6('<div data-w-e-type="todo"></div>'),r=e.find("input[type]");return n.append(r),e.children()[0].remove(),n[0].innerHTML+=e[0].innerHTML,n[0]}}],parseElemsHtml:[tg],menus:[{key:"todo",factory:function(){return new Zv}}],editorPlugin:function(t){var e=t.deleteBackward,r=t;return r.deleteBackward=function(r){var o=t.selection;if(o&&Range.isCollapsed(o)){var i=$u$3.getSelectedNodeByType(t,"todo");if(i&&0===Node$1.string(i).length)return void Transforms.setNodes(t,{type:"paragraph"},{mode:"highest"})}e(r);},r}},rg=function(){function t(){this.title=Up$1("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}(),og=function(){function t(){this.title=Up$1("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}(),ig=[Yv,ou$3,nd,Yh,rv,iv,Uh,lu$3,fu$3,Tv,zi$4,ni$4,eh,Iv,ng,hd,{menus:[{key:"redo",factory:function(){return new rg}},{key:"undo",factory:function(){return new og}}]},gd,uu$3];
17549
17549
 
17550
- Fp$1("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),Fp$1("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var v$2=function(t){try{return !!t()}catch(t){return !0}},p$2=!v$2((function(){var t=function(){}.bind();return "function"!=typeof t||t.hasOwnProperty("prototype")})),y$2=Function.prototype,h$2=y$2.call,g$2=p$2&&y$2.bind.bind(h$2,h$2),b$2=p$2?g$2:function(t){return function(){return h$2.apply(t,arguments)}},m$2=b$2({}.toString),w$2=b$2("".slice),O$3=function(t){return w$2(m$2(t),8,-1)},S$3=Object,x$3=b$2("".split),E$3=v$2((function(){return !S$3("z").propertyIsEnumerable(0)}))?function(t){return "String"===O$3(t)?x$3(t,""):S$3(t)}:S$3,j$4=function(t){return null==t},T$3=TypeError,A$3=function(t){if(j$4(t))throw new T$3("Can't call method on "+t);return t},I$4=function(t){return E$3(A$3(t))},P$4="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function L$4(t){var e={exports:{}};return t(e,e.exports),e.exports}var R$4,k$3,N$3=function(t){return t&&t.Math===Math&&t},z$3=N$3("object"==typeof globalThis&&globalThis)||N$3("object"==typeof window&&window)||N$3("object"==typeof self&&self)||N$3("object"==typeof P$4&&P$4)||N$3("object"==typeof P$4&&P$4)||function(){return this}()||Function("return this")(),M$3=Object.defineProperty,_$4=function(t,e){try{M$3(z$3,t,{value:e,configurable:!0,writable:!0});}catch(r){z$3[t]=e;}return e},C$3=L$4((function(t){var e="__core-js_shared__",r=t.exports=z$3[e]||_$4(e,{});(r.versions||(r.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});})),F$4=function(t,e){return C$3[t]||(C$3[t]=e||{})},D$4=Object,B$4=function(t){return D$4(A$3(t))},H$3=b$2({}.hasOwnProperty),$$4=Object.hasOwn||function(t,e){return H$3(B$4(t),e)},G$4=0,V$4=Math.random(),W$4=b$2(1..toString),U$4=function(t){return "Symbol("+(void 0===t?"":t)+")_"+W$4(++G$4+V$4,36)},K$4=z$3.navigator,Y$4=K$4&&K$4.userAgent,X$4=Y$4?String(Y$4):"",q$4=z$3.process,J$4=z$3.Deno,Q$4=q$4&&q$4.versions||J$4&&J$4.version,Z$4=Q$4&&Q$4.v8;Z$4&&(k$3=(R$4=Z$4.split("."))[0]>0&&R$4[0]<4?1:+(R$4[0]+R$4[1])),!k$3&&X$4&&(!(R$4=X$4.match(/Edge\/(\d+)/))||R$4[1]>=74)&&(R$4=X$4.match(/Chrome\/(\d+)/))&&(k$3=+R$4[1]);var tt$4,et$4=k$3,rt$4=z$3.String,nt$4=!!Object.getOwnPropertySymbols&&!v$2((function(){var t=Symbol("symbol detection");return !rt$4(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&et$4&&et$4<41})),ot$4=nt$4&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,it$4=z$3.Symbol,ut$4=F$4("wks"),at$4=ot$4?it$4.for||it$4:it$4&&it$4.withoutSetter||U$4,ct$4=function(t){return $$4(ut$4,t)||(ut$4[t]=nt$4&&$$4(it$4,t)?it$4[t]:at$4("Symbol."+t)),ut$4[t]},ft$4="object"==typeof document&&document.all,lt$4=void 0===ft$4&&void 0!==ft$4?function(t){return "function"==typeof t||t===ft$4}:function(t){return "function"==typeof t},st$4=function(t){return "object"==typeof t?null!==t:lt$4(t)},dt$4=String,vt$4=TypeError,pt$4=function(t){if(st$4(t))return t;throw new vt$4(dt$4(t)+" is not an object")},yt$4=!v$2((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),ht$4=yt$4&&v$2((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),gt$4=z$3.document,bt$4=st$4(gt$4)&&st$4(gt$4.createElement),mt$4=function(t){return bt$4?gt$4.createElement(t):{}},wt$4=!yt$4&&!v$2((function(){return 7!==Object.defineProperty(mt$4("div"),"a",{get:function(){return 7}}).a})),Ot$4=Function.prototype.call,St$4=p$2?Ot$4.bind(Ot$4):function(){return Ot$4.apply(Ot$4,arguments)},xt$4=function(t,e){return arguments.length<2?(r=z$3[t],lt$4(r)?r:void 0):z$3[t]&&z$3[t][e];var r;},Et$4=b$2({}.isPrototypeOf),jt$4=Object,Tt$4=ot$4?function(t){return "symbol"==typeof t}:function(t){var e=xt$4("Symbol");return lt$4(e)&&Et$4(e.prototype,jt$4(t))},At$4=String,It$4=function(t){try{return At$4(t)}catch(t){return "Object"}},Pt$4=TypeError,Lt$4=function(t){if(lt$4(t))return t;throw new Pt$4(It$4(t)+" is not a function")},Rt$4=function(t,e){var r=t[e];return j$4(r)?void 0:Lt$4(r)},kt$4=TypeError,Nt$4=TypeError,zt$4=ct$4("toPrimitive"),Mt$4=function(t,e){if(!st$4(t)||Tt$4(t))return t;var r,n=Rt$4(t,zt$4);if(n){if(void 0===e&&(e="default"),r=St$4(n,t,e),!st$4(r)||Tt$4(r))return r;throw new Nt$4("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var r,n;if("string"===e&&lt$4(r=t.toString)&&!st$4(n=St$4(r,t)))return n;if(lt$4(r=t.valueOf)&&!st$4(n=St$4(r,t)))return n;if("string"!==e&&lt$4(r=t.toString)&&!st$4(n=St$4(r,t)))return n;throw new kt$4("Can't convert object to primitive value")}(t,e)},_t$4=function(t){var e=Mt$4(t,"string");return Tt$4(e)?e:e+""},Ct$4=TypeError,Ft$4=Object.defineProperty,Dt$4=Object.getOwnPropertyDescriptor,Bt$4="enumerable",Ht$4="configurable",$t$4="writable",Gt$4={f:yt$4?ht$4?function(t,e,r){if(pt$4(t),e=_t$4(e),pt$4(r),"function"==typeof t&&"prototype"===e&&"value"in r&&$t$4 in r&&!r[$t$4]){var n=Dt$4(t,e);n&&n[$t$4]&&(t[e]=r.value,r={configurable:Ht$4 in r?r[Ht$4]:n[Ht$4],enumerable:Bt$4 in r?r[Bt$4]:n[Bt$4],writable:!1});}return Ft$4(t,e,r)}:Ft$4:function(t,e,r){if(pt$4(t),e=_t$4(e),pt$4(r),wt$4)try{return Ft$4(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new Ct$4("Accessors not supported");return "value"in r&&(t[e]=r.value),t}},Vt$4=Math.ceil,Wt$4=Math.floor,Ut$4=Math.trunc||function(t){var e=+t;return (e>0?Wt$4:Vt$4)(e)},Kt$4=function(t){var e=+t;return e!=e||0===e?0:Ut$4(e)},Yt$4=Math.max,Xt$4=Math.min,qt$4=Math.min,Jt$4=function(t){var e=Kt$4(t);return e>0?qt$4(e,9007199254740991):0},Qt$4=function(t){return Jt$4(t.length)},Zt$4=function(t){return function(e,r,n){var o=I$4(e),i=Qt$4(o);if(0===i)return !t&&-1;var u,a=function(t,e){var r=Kt$4(t);return r<0?Yt$4(r+e,0):Xt$4(r,e)}(n,i);if(t&&r!=r){for(;i>a;)if((u=o[a++])!=u)return !0}else for(;i>a;a++)if((t||a in o)&&o[a]===r)return t||a||0;return !t&&-1}},te$4={includes:Zt$4(!0),indexOf:Zt$4(!1)},ee$4={},re$4=te$4.indexOf,ne$4=b$2([].push),oe$4=function(t,e){var r,n=I$4(t),o=0,i=[];for(r in n)!$$4(ee$4,r)&&$$4(n,r)&&ne$4(i,r);for(;e.length>o;)$$4(n,r=e[o++])&&(~re$4(i,r)||ne$4(i,r));return i},ie$4=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],ue$4=Object.keys||function(t){return oe$4(t,ie$4)},ae$4=yt$4&&!ht$4?Object.defineProperties:function(t,e){pt$4(t);for(var r,n=I$4(e),o=ue$4(e),i=o.length,u=0;i>u;)Gt$4.f(t,r=o[u++],n[r]);return t},ce$4={f:ae$4},fe$4=xt$4("document","documentElement"),le$4=F$4("keys"),se$4=function(t){return le$4[t]||(le$4[t]=U$4(t))},de$4="prototype",ve$4="script",pe$4=se$4("IE_PROTO"),ye$4=function(){},he$4=function(t){return "<"+ve$4+">"+t+"</"+ve$4+">"},ge$4=function(t){t.write(he$4("")),t.close();var e=t.parentWindow.Object;return t=null,e},be$4=function(){try{tt$4=new ActiveXObject("htmlfile");}catch(t){}var t,e,r;be$4="undefined"!=typeof document?document.domain&&tt$4?ge$4(tt$4):(e=mt$4("iframe"),r="java"+ve$4+":",e.style.display="none",fe$4.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(he$4("document.F=Object")),t.close(),t.F):ge$4(tt$4);for(var n=ie$4.length;n--;)delete be$4[de$4][ie$4[n]];return be$4()};ee$4[pe$4]=!0;var me$4=Object.create||function(t,e){var r;return null!==t?(ye$4[de$4]=pt$4(t),r=new ye$4,ye$4[de$4]=null,r[pe$4]=t):r=be$4(),void 0===e?r:ce$4.f(r,e)},we$4=Gt$4.f,Oe$4=ct$4("unscopables"),Se$4=Array.prototype;void 0===Se$4[Oe$4]&&we$4(Se$4,Oe$4,{configurable:!0,value:me$4(null)});var xe$4,Ee$4,je$4,Te$4=function(t){Se$4[Oe$4][t]=!0;},Ae$4={},Ie$4=z$3.WeakMap,Pe$4=lt$4(Ie$4)&&/native code/.test(String(Ie$4)),Le$4=function(t,e){return {enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Re$4=yt$4?function(t,e,r){return Gt$4.f(t,e,Le$4(1,r))}:function(t,e,r){return t[e]=r,t},ke$4="Object already initialized",Ne$4=z$3.TypeError,ze$4=z$3.WeakMap;if(Pe$4||C$3.state){var Me$4=C$3.state||(C$3.state=new ze$4);Me$4.get=Me$4.get,Me$4.has=Me$4.has,Me$4.set=Me$4.set,xe$4=function(t,e){if(Me$4.has(t))throw new Ne$4(ke$4);return e.facade=t,Me$4.set(t,e),e},Ee$4=function(t){return Me$4.get(t)||{}},je$4=function(t){return Me$4.has(t)};}else {var _e$4=se$4("state");ee$4[_e$4]=!0,xe$4=function(t,e){if($$4(t,_e$4))throw new Ne$4(ke$4);return e.facade=t,Re$4(t,_e$4,e),e},Ee$4=function(t){return $$4(t,_e$4)?t[_e$4]:{}},je$4=function(t){return $$4(t,_e$4)};}var Ce$4={set:xe$4,get:Ee$4,has:je$4,enforce:function(t){return je$4(t)?Ee$4(t):xe$4(t,{})},getterFor:function(t){return function(e){var r;if(!st$4(e)||(r=Ee$4(e)).type!==t)throw new Ne$4("Incompatible receiver, "+t+" required");return r}}},Fe$4={}.propertyIsEnumerable,De$4=Object.getOwnPropertyDescriptor,Be$4={f:De$4&&!Fe$4.call({1:2},1)?function(t){var e=De$4(this,t);return !!e&&e.enumerable}:Fe$4},He$4=Object.getOwnPropertyDescriptor,$e$4={f:yt$4?He$4:function(t,e){if(t=I$4(t),e=_t$4(e),wt$4)try{return He$4(t,e)}catch(t){}if($$4(t,e))return Le$4(!St$4(Be$4.f,t,e),t[e])}},Ge$4=Function.prototype,Ve$4=yt$4&&Object.getOwnPropertyDescriptor,We$4=$$4(Ge$4,"name"),Ue$4={EXISTS:We$4,PROPER:We$4&&"something"===function(){}.name,CONFIGURABLE:We$4&&(!yt$4||yt$4&&Ve$4(Ge$4,"name").configurable)},Ke$4=b$2(Function.toString);lt$4(C$3.inspectSource)||(C$3.inspectSource=function(t){return Ke$4(t)});var Ye$4,Xe$4,qe$4,Je$4=C$3.inspectSource,Qe$4=L$4((function(t){var e=Ue$4.CONFIGURABLE,r=Ce$4.enforce,n=Ce$4.get,o=String,i=Object.defineProperty,u=b$2("".slice),a=b$2("".replace),c=b$2([].join),f=yt$4&&!v$2((function(){return 8!==i((function(){}),"length",{value:8}).length})),l=String(String).split("String"),s=t.exports=function(t,n,s){"Symbol("===u(o(n),0,7)&&(n="["+a(o(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),s&&s.getter&&(n="get "+n),s&&s.setter&&(n="set "+n),(!$$4(t,"name")||e&&t.name!==n)&&(yt$4?i(t,"name",{value:n,configurable:!0}):t.name=n),f&&s&&$$4(s,"arity")&&t.length!==s.arity&&i(t,"length",{value:s.arity});try{s&&$$4(s,"constructor")&&s.constructor?yt$4&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0);}catch(t){}var d=r(t);return $$4(d,"source")||(d.source=c(l,"string"==typeof n?n:"")),t};Function.prototype.toString=s((function(){return lt$4(this)&&n(this).source||Je$4(this)}),"toString");})),Ze$4=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(lt$4(r)&&Qe$4(r,i,n),n.global)o?t[e]=r:_$4(e,r);else {try{n.unsafe?t[e]&&(o=!0):delete t[e];}catch(t){}o?t[e]=r:Gt$4.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable});}return t},tr$3=ie$4.concat("length","prototype"),er$3={f:Object.getOwnPropertyNames||function(t){return oe$4(t,tr$3)}},rr$3={f:Object.getOwnPropertySymbols},nr$3=b$2([].concat),or$3=xt$4("Reflect","ownKeys")||function(t){var e=er$3.f(pt$4(t)),r=rr$3.f;return r?nr$3(e,r(t)):e},ir$3=function(t,e,r){for(var n=or$3(e),o=Gt$4.f,i=$e$4.f,u=0;u<n.length;u++){var a=n[u];$$4(t,a)||r&&$$4(r,a)||o(t,a,i(e,a));}},ur$3=/#|\.prototype\./,ar$3=function(t,e){var r=fr$3[cr$3(t)];return r===sr$3||r!==lr$3&&(lt$4(e)?v$2(e):!!e)},cr$3=ar$3.normalize=function(t){return String(t).replace(ur$3,".").toLowerCase()},fr$3=ar$3.data={},lr$3=ar$3.NATIVE="N",sr$3=ar$3.POLYFILL="P",dr$3=ar$3,vr$3=$e$4.f,pr$3=function(t,e){var r,n,o,i,u,a=t.target,c=t.global,f=t.stat;if(r=c?z$3:f?z$3[a]||_$4(a,{}):z$3[a]&&z$3[a].prototype)for(n in e){if(i=e[n],o=t.dontCallGetSet?(u=vr$3(r,n))&&u.value:r[n],!dr$3(c?n:a+(f?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;ir$3(i,o);}(t.sham||o&&o.sham)&&Re$4(i,"sham",!0),Ze$4(r,n,i,t);}},yr$3=!v$2((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),hr$3=se$4("IE_PROTO"),gr$3=Object,br$3=gr$3.prototype,mr$3=yr$3?gr$3.getPrototypeOf:function(t){var e=B$4(t);if($$4(e,hr$3))return e[hr$3];var r=e.constructor;return lt$4(r)&&e instanceof r?r.prototype:e instanceof gr$3?br$3:null},wr$3=ct$4("iterator"),Or$3=!1;[].keys&&("next"in(qe$4=[].keys())?(Xe$4=mr$3(mr$3(qe$4)))!==Object.prototype&&(Ye$4=Xe$4):Or$3=!0);var Sr$3=!st$4(Ye$4)||v$2((function(){var t={};return Ye$4[wr$3].call(t)!==t}));Sr$3&&(Ye$4={}),lt$4(Ye$4[wr$3])||Ze$4(Ye$4,wr$3,(function(){return this}));var xr$3={IteratorPrototype:Ye$4,BUGGY_SAFARI_ITERATORS:Or$3},Er$3=Gt$4.f,jr$3=ct$4("toStringTag"),Tr$3=function(t,e,r){t&&!r&&(t=t.prototype),t&&!$$4(t,jr$3)&&Er$3(t,jr$3,{configurable:!0,value:e});},Ar$3=xr$3.IteratorPrototype,Ir$3=function(){return this},Pr$3=String,Lr$3=TypeError,Rr$3=function(t){if(function(t){return st$4(t)||null===t}(t))return t;throw new Lr$3("Can't set "+Pr$3(t)+" as a prototype")},kr$3=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=function(t,e,r){try{return b$2(Lt$4(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array;}catch(t){}return function(r,n){return A$3(r),Rr$3(n),st$4(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0),Nr$3=Ue$4.PROPER,zr$3=Ue$4.CONFIGURABLE,Mr$3=xr$3.IteratorPrototype,_r$3=xr$3.BUGGY_SAFARI_ITERATORS,Cr$3=ct$4("iterator"),Fr$3="keys",Dr$3="values",Br$3="entries",Hr$3=function(){return this},$r$3=function(t,e,r,n,o,i,u){!function(t,e,r,n){var o=e+" Iterator";t.prototype=me$4(Ar$3,{next:Le$4(+!n,r)}),Tr$3(t,o,!1),Ae$4[o]=Ir$3;}(r,e,n);var a,c,f,l=function(t){if(t===o&&y)return y;if(!_r$3&&t&&t in v)return v[t];switch(t){case Fr$3:case Dr$3:case Br$3:return function(){return new r(this,t)}}return function(){return new r(this)}},s=e+" Iterator",d=!1,v=t.prototype,p=v[Cr$3]||v["@@iterator"]||o&&v[o],y=!_r$3&&p||l(o),h="Array"===e&&v.entries||p;if(h&&(a=mr$3(h.call(new t)))!==Object.prototype&&a.next&&(mr$3(a)!==Mr$3&&(kr$3?kr$3(a,Mr$3):lt$4(a[Cr$3])||Ze$4(a,Cr$3,Hr$3)),Tr$3(a,s,!0)),Nr$3&&o===Dr$3&&p&&p.name!==Dr$3&&(zr$3?Re$4(v,"name",Dr$3):(d=!0,y=function(){return St$4(p,this)})),o)if(c={values:l(Dr$3),keys:i?y:l(Fr$3),entries:l(Br$3)},u)for(f in c)(_r$3||d||!(f in v))&&Ze$4(v,f,c[f]);else pr$3({target:e,proto:!0,forced:_r$3||d},c);return v[Cr$3]!==y&&Ze$4(v,Cr$3,y,{name:o}),Ae$4[e]=y,c},Gr$3=function(t,e){return {value:t,done:e}},Vr$3=Gt$4.f,Wr$3="Array Iterator",Ur$3=Ce$4.set,Kr$3=Ce$4.getterFor(Wr$3),Yr$3=$r$3(Array,"Array",(function(t,e){Ur$3(this,{type:Wr$3,target:I$4(t),index:0,kind:e});}),(function(){var t=Kr$3(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,Gr$3(void 0,!0);switch(t.kind){case"keys":return Gr$3(r,!1);case"values":return Gr$3(e[r],!1)}return Gr$3([r,e[r]],!1)}),"values"),Xr$3=Ae$4.Arguments=Ae$4.Array;if(Te$4("keys"),Te$4("values"),Te$4("entries"),yt$4&&"values"!==Xr$3.name)try{Vr$3(Xr$3,"name",{value:"values"});}catch(t){}var qr$3={};qr$3[ct$4("toStringTag")]="z";var Jr$3="[object z]"===String(qr$3),Qr$3=ct$4("toStringTag"),Zr$3=Object,tn$4="Arguments"===O$3(function(){return arguments}()),en$4=Jr$3?O$3:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=Zr$3(t),Qr$3))?r:tn$4?O$3(e):"Object"===(n=O$3(e))&&lt$4(e.callee)?"Arguments":n},rn$4=Jr$3?{}.toString:function(){return "[object "+en$4(this)+"]"};Jr$3||Ze$4(Object.prototype,"toString",rn$4,{unsafe:!0});var nn$4=String,on$4=function(t){if("Symbol"===en$4(t))throw new TypeError("Cannot convert a Symbol value to a string");return nn$4(t)},un$4=b$2("".charAt),an$4=b$2("".charCodeAt),cn$4=b$2("".slice),fn$4=function(t){return function(e,r){var n,o,i=on$4(A$3(e)),u=Kt$4(r),a=i.length;return u<0||u>=a?t?"":void 0:(n=an$4(i,u))<55296||n>56319||u+1===a||(o=an$4(i,u+1))<56320||o>57343?t?un$4(i,u):n:t?cn$4(i,u,u+2):o-56320+(n-55296<<10)+65536}},ln$4={codeAt:fn$4(!1),charAt:fn$4(!0)},sn$4=ln$4.charAt,dn$4="String Iterator",vn$4=Ce$4.set,pn$4=Ce$4.getterFor(dn$4);$r$3(String,"String",(function(t){vn$4(this,{type:dn$4,string:on$4(t),index:0});}),(function(){var t,e=pn$4(this),r=e.string,n=e.index;return n>=r.length?Gr$3(void 0,!0):(t=sn$4(r,n),e.index+=t.length,Gr$3(t,!1))}));var yn$4=!v$2((function(){return Object.isExtensible(Object.preventExtensions({}))})),hn$4=function(t,e,r){for(var n in e)Ze$4(t,n,e[n],r);return t},gn$4=b$2([].slice),bn$4=er$3.f,mn$4="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],wn$4={f:function(t){return mn$4&&"Window"===O$3(t)?function(t){try{return bn$4(t)}catch(t){return gn$4(mn$4)}}(t):bn$4(I$4(t))}},On$4=v$2((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8});}})),Sn$4=Object.isExtensible,xn$4=v$2((function(){Sn$4(1);}))||On$4?function(t){return !!st$4(t)&&((!On$4||"ArrayBuffer"!==O$3(t))&&(!Sn$4||Sn$4(t)))}:Sn$4,En$4=L$4((function(t){var e=Gt$4.f,r=!1,n=U$4("meta"),o=0,i=function(t){e(t,n,{value:{objectID:"O"+o++,weakData:{}}});},u=t.exports={enable:function(){u.enable=function(){},r=!0;var t=er$3.f,e=b$2([].splice),o={};o[n]=1,t(o).length&&(er$3.f=function(r){for(var o=t(r),i=0,u=o.length;i<u;i++)if(o[i]===n){e(o,i,1);break}return o},pr$3({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:wn$4.f}));},fastKey:function(t,e){if(!st$4(t))return "symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!$$4(t,n)){if(!xn$4(t))return "F";if(!e)return "E";i(t);}return t[n].objectID},getWeakData:function(t,e){if(!$$4(t,n)){if(!xn$4(t))return !0;if(!e)return !1;i(t);}return t[n].weakData},onFreeze:function(t){return yn$4&&r&&xn$4(t)&&!$$4(t,n)&&i(t),t}};ee$4[n]=!0;})),jn$4=function(t){if("Function"===O$3(t))return b$2(t)},Tn$4=jn$4(jn$4.bind),An$4=function(t,e){return Lt$4(t),void 0===e?t:p$2?Tn$4(t,e):function(){return t.apply(e,arguments)}},In$4=ct$4("iterator"),Pn$4=Array.prototype,Ln$4=ct$4("iterator"),Rn$4=function(t){if(!j$4(t))return Rt$4(t,Ln$4)||Rt$4(t,"@@iterator")||Ae$4[en$4(t)]},kn$4=TypeError,Nn$4=function(t,e,r){var n,o;pt$4(t);try{if(!(n=Rt$4(t,"return"))){if("throw"===e)throw r;return r}n=St$4(n,t);}catch(t){o=!0,n=t;}if("throw"===e)throw r;if(o)throw n;return pt$4(n),r},zn$4=TypeError,Mn$4=function(t,e){this.stopped=t,this.result=e;},_n$4=Mn$4.prototype,Cn$4=function(t,e,r){var n,o,i,u,a,c,f,l,s=r&&r.that,d=!(!r||!r.AS_ENTRIES),v=!(!r||!r.IS_RECORD),p=!(!r||!r.IS_ITERATOR),y=!(!r||!r.INTERRUPTED),h=An$4(e,s),g=function(t){return n&&Nn$4(n,"normal",t),new Mn$4(!0,t)},b=function(t){return d?(pt$4(t),y?h(t[0],t[1],g):h(t[0],t[1])):y?h(t,g):h(t)};if(v)n=t.iterator;else if(p)n=t;else {if(!(o=Rn$4(t)))throw new zn$4(It$4(t)+" is not iterable");if(void 0!==(l=o)&&(Ae$4.Array===l||Pn$4[In$4]===l)){for(i=0,u=Qt$4(t);u>i;i++)if((a=b(t[i]))&&Et$4(_n$4,a))return a;return new Mn$4(!1)}n=function(t,e){var r=arguments.length<2?Rn$4(t):e;if(Lt$4(r))return pt$4(St$4(r,t));throw new kn$4(It$4(t)+" is not iterable")}(t,o);}for(c=v?t.next:n.next;!(f=St$4(c,n)).done;){try{a=b(f.value);}catch(t){Nn$4(n,"throw",t);}if("object"==typeof a&&a&&Et$4(_n$4,a))return a}return new Mn$4(!1)},Fn$4=TypeError,Dn$4=function(t,e){if(Et$4(e,t))return t;throw new Fn$4("Incorrect invocation")},Bn$4=ct$4("iterator"),Hn$4=!1;try{var $n$4=0,Gn$4={next:function(){return {done:!!$n$4++}},return:function(){Hn$4=!0;}};Gn$4[Bn$4]=function(){return this},Array.from(Gn$4,(function(){throw 2}));}catch(t){}var Vn$4=Array.isArray||function(t){return "Array"===O$3(t)},Wn$4=function(){},Un$4=xt$4("Reflect","construct"),Kn$4=/^\s*(?:class|function)\b/,Yn$4=b$2(Kn$4.exec),Xn$4=!Kn$4.test(Wn$4),qn$4=function(t){if(!lt$4(t))return !1;try{return Un$4(Wn$4,[],t),!0}catch(t){return !1}},Jn$4=function(t){if(!lt$4(t))return !1;switch(en$4(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return !1}try{return Xn$4||!!Yn$4(Kn$4,Je$4(t))}catch(t){return !0}};Jn$4.sham=!0;var Qn$4=!Un$4||v$2((function(){var t;return qn$4(qn$4.call)||!qn$4(Object)||!qn$4((function(){t=!0;}))||t}))?Jn$4:qn$4,Zn$4=ct$4("species"),to$3=Array,eo$3=function(t,e){return new(function(t){var e;return Vn$4(t)&&(e=t.constructor,(Qn$4(e)&&(e===to$3||Vn$4(e.prototype))||st$4(e)&&null===(e=e[Zn$4]))&&(e=void 0)),void 0===e?to$3:e}(t))(0===e?0:e)},ro$3=b$2([].push),no$3=function(t){var e=1===t,r=2===t,n=3===t,o=4===t,i=6===t,u=7===t,a=5===t||i;return function(c,f,l,s){for(var d,v,p=B$4(c),y=E$3(p),h=Qt$4(y),g=An$4(f,l),b=0,m=s||eo$3,w=e?m(c,h):r||u?m(c,0):void 0;h>b;b++)if((a||b in y)&&(v=g(d=y[b],b,p),t))if(e)w[b]=v;else if(v)switch(t){case 3:return !0;case 5:return d;case 6:return b;case 2:ro$3(w,d);}else switch(t){case 4:return !1;case 7:ro$3(w,d);}return i?-1:n||o?o:w}},oo$3={forEach:no$3(0),map:no$3(1),filter:no$3(2),some:no$3(3),every:no$3(4),find:no$3(5),findIndex:no$3(6),filterReject:no$3(7)},io$3=En$4.getWeakData,uo$3=Ce$4.set,ao$3=Ce$4.getterFor,co$3=oo$3.find,fo$3=oo$3.findIndex,lo$3=b$2([].splice),so$3=0,vo$3=function(t){return t.frozen||(t.frozen=new po$3)},po$3=function(){this.entries=[];},yo$3=function(t,e){return co$3(t.entries,(function(t){return t[0]===e}))};po$3.prototype={get:function(t){var e=yo$3(this,t);if(e)return e[1]},has:function(t){return !!yo$3(this,t)},set:function(t,e){var r=yo$3(this,t);r?r[1]=e:this.entries.push([t,e]);},delete:function(t){var e=fo$3(this.entries,(function(e){return e[0]===t}));return ~e&&lo$3(this.entries,e,1),!!~e}};var ho$3,go$3={getConstructor:function(t,e,r,n){var o=t((function(t,o){Dn$4(t,i),uo$3(t,{type:e,id:so$3++,frozen:null}),j$4(o)||Cn$4(o,t[n],{that:t,AS_ENTRIES:r});})),i=o.prototype,u=ao$3(e),a=function(t,e,r){var n=u(t),o=io$3(pt$4(e),!0);return !0===o?vo$3(n).set(e,r):o[n.id]=r,t};return hn$4(i,{delete:function(t){var e=u(this);if(!st$4(t))return !1;var r=io$3(t);return !0===r?vo$3(e).delete(t):r&&$$4(r,e.id)&&delete r[e.id]},has:function(t){var e=u(this);if(!st$4(t))return !1;var r=io$3(t);return !0===r?vo$3(e).has(t):r&&$$4(r,e.id)}}),hn$4(i,r?{get:function(t){var e=u(this);if(st$4(t)){var r=io$3(t);if(!0===r)return vo$3(e).get(t);if(r)return r[e.id]}},set:function(t,e){return a(this,t,e)}}:{add:function(t){return a(this,t,!0)}}),o}},bo$3=Ce$4.enforce,mo$3=Object,wo$3=Array.isArray,Oo$3=mo$3.isExtensible,So$3=mo$3.isFrozen,xo$3=mo$3.isSealed,Eo$3=mo$3.freeze,jo$3=mo$3.seal,To$3=!z$3.ActiveXObject&&"ActiveXObject"in z$3,Ao$3=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Io$3=function(t,e,r){var n=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),i=n?"set":"add",u=z$3[t],a=u&&u.prototype,c=u,f={},l=function(t){var e=b$2(a[t]);Ze$4(a,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return !(o&&!st$4(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return o&&!st$4(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return !(o&&!st$4(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this});};if(dr$3(t,!lt$4(u)||!(o||a.forEach&&!v$2((function(){(new u).entries().next();})))))c=r.getConstructor(e,t,n,i),En$4.enable();else if(dr$3(t,!0)){var s=new c,d=s[i](o?{}:-0,1)!==s,p=v$2((function(){s.has(1);})),y=function(t,e){try{if(!e&&!Hn$4)return !1}catch(t){return !1}var r=!1;try{var n={};n[Bn$4]=function(){return {next:function(){return {done:r=!0}}}},t(n);}catch(t){}return r}((function(t){new u(t);})),h=!o&&v$2((function(){for(var t=new u,e=5;e--;)t[i](e,e);return !t.has(-0)}));y||((c=e((function(t,e){Dn$4(t,a);var r=function(t,e,r){var n,o;return kr$3&&lt$4(n=e.constructor)&&n!==r&&st$4(o=n.prototype)&&o!==r.prototype&&kr$3(t,o),t}(new u,t,c);return j$4(e)||Cn$4(e,r[i],{that:r,AS_ENTRIES:n}),r}))).prototype=a,a.constructor=c),(p||h)&&(l("delete"),l("has"),n&&l("get")),(h||d)&&l(i),o&&a.clear&&delete a.clear;}return f[t]=c,pr$3({global:!0,constructor:!0,forced:c!==u},f),Tr$3(c,t),o||r.setStrong(c,t,n),c}("WeakMap",Ao$3,go$3),Po$3=Io$3.prototype,Lo$3=b$2(Po$3.set);if(Pe$4)if(To$3){ho$3=go$3.getConstructor(Ao$3,"WeakMap",!0),En$4.enable();var Ro$3=b$2(Po$3.delete),ko$3=b$2(Po$3.has),No$3=b$2(Po$3.get);hn$4(Po$3,{delete:function(t){if(st$4(t)&&!Oo$3(t)){var e=bo$3(this);return e.frozen||(e.frozen=new ho$3),Ro$3(this,t)||e.frozen.delete(t)}return Ro$3(this,t)},has:function(t){if(st$4(t)&&!Oo$3(t)){var e=bo$3(this);return e.frozen||(e.frozen=new ho$3),ko$3(this,t)||e.frozen.has(t)}return ko$3(this,t)},get:function(t){if(st$4(t)&&!Oo$3(t)){var e=bo$3(this);return e.frozen||(e.frozen=new ho$3),ko$3(this,t)?No$3(this,t):e.frozen.get(t)}return No$3(this,t)},set:function(t,e){if(st$4(t)&&!Oo$3(t)){var r=bo$3(this);r.frozen||(r.frozen=new ho$3),ko$3(this,t)?Lo$3(this,t,e):r.frozen.set(t,e);}else Lo$3(this,t,e);return this}});}else yn$4&&v$2((function(){var t=Eo$3([]);return Lo$3(new Io$3,t,1),!So$3(t)}))&&hn$4(Po$3,{set:function(t,e){var r;return wo$3(t)&&(So$3(t)?r=Eo$3:xo$3(t)&&(r=jo$3)),Lo$3(this,t,e),r&&r(t),this}});var zo$3={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},Mo$3=mt$4("span").classList,_o$3=Mo$3&&Mo$3.constructor&&Mo$3.constructor.prototype,Co$3=_o$3===Object.prototype?void 0:_o$3,Fo$3=ct$4("iterator"),Do$3=Yr$3.values,Bo$3=function(t,e){if(t){if(t[Fo$3]!==Do$3)try{Re$4(t,Fo$3,Do$3);}catch(e){t[Fo$3]=Do$3;}if(Tr$3(t,e,!0),zo$3[e])for(var r in Yr$3)if(t[r]!==Yr$3[r])try{Re$4(t,r,Yr$3[r]);}catch(e){t[r]=Yr$3[r];}}};for(var Ho$3 in zo$3)Bo$3(z$3[Ho$3]&&z$3[Ho$3].prototype,Ho$3);Bo$3(Co$3,"DOMTokenList");var $o$3=new WeakMap;function Go$3(t){var e,r=t.children||[],o=r.length;if(0===o)return "";for(var i=0;i<o&&!e;i++){var u=r[i];Text.isText(u)&&(e=u);}return null==e?"":e.color||""}var Vo$3={type:"list-item",renderElem:function(t,r,n){$o$3.set(t,n);var u=t,a=u.level,f=void 0===a?0:a,l=u.ordered,s={margin:"5px 0 5px "+20*f+"px"},d="";if(void 0!==l&&l){var v=function(t,r){var n=r,u=n.type,a=n.level,c=void 0===a?0:a,f=n.ordered,l=void 0!==f&&f,s=1,d=r,v=Ic$2.findPath(t,d);if(0===v[0])return 1;for(;v[0]>0;){var p=Path.previous(v),y=Editor.node(t,p);if(null==y)break;var h=y[0],g=h.level,b=void 0===g?0:g,m=h.type,w=h.ordered;if(m!==u)break;if(b<c)break;if(b===c){if(w!==l)break;s++;}d=h,v=p;}return s}(n,t);d=v+".";}else d=function(t){void 0===t&&(t=0);var e="";switch(t){case 0:e="•";break;case 1:e="◦";break;default:e="▪";}return e}(f);var p=Go$3(t);return jsx("div",{style:s},jsx("span",{contentEditable:!1,style:{marginRight:"0.5em",color:p},"data-w-e-reserve":!0},d),jsx("span",null,r))}},Wo$3=function(t,e){return Wo$3=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]);},Wo$3(t,e)};function Uo$3(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;}Wo$3(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r);}function Ko$3(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 Yo$3(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 Xo$3(t,r,n){for(var u=r.type,a=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}(r,["type"]),c=void 0!==n?n:a.level||0,f=Ic$2.findPath(t,r),l=f;;){if(0===l.length||0===f[f.length-1])return null;l=Path.previous(l);var s=Editor.node(t,l);if(!s)return null;var d=Yo$3(s,1)[0],v=d.level,p=void 0===v?0:v;if(Ic$2.getNodeType(d)!==u)return null;if(p===c)return d}}function qo$3(t,e,r){var n=Xo$3(t,e,r);return !!n&&n.ordered===e.ordered}function Jo$3(t){return Editor.nodes(t,{at:t.selection||void 0,match:function(r){return 1===Ic$2.findPath(t,r).length}})}"function"==typeof SuppressedError&&SuppressedError;var Qo$3=te$4.includes,Zo$3=v$2((function(){return !Array(1).includes()}));pr$3({target:"Array",proto:!0,forced:Zo$3},{includes:function(t){return Qo$3(this,t,arguments.length>1?arguments[1]:void 0)}}),Te$4("includes");var ti$3,ei$3,ri$3=function(){var t=pt$4(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},ni$3=z$3.RegExp,oi$3=v$2((function(){var t=ni$3("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),ii$3=oi$3||v$2((function(){return !ni$3("a","y").sticky})),ui$3={BROKEN_CARET:oi$3||v$2((function(){var t=ni$3("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:ii$3,UNSUPPORTED_Y:oi$3},ai$3=z$3.RegExp,ci$3=v$2((function(){var t=ai$3(".","s");return !(t.dotAll&&t.test("\n")&&"s"===t.flags)})),fi$3=z$3.RegExp,li$3=v$2((function(){var t=fi$3("(?<a>b)","g");return "b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),si$3=Ce$4.get,di$3=F$4("native-string-replace",String.prototype.replace),vi$3=RegExp.prototype.exec,pi$3=vi$3,yi$3=b$2("".charAt),hi$3=b$2("".indexOf),gi$3=b$2("".replace),bi$3=b$2("".slice),mi$3=(ei$3=/b*/g,St$4(vi$3,ti$3=/a/,"a"),St$4(vi$3,ei$3,"a"),0!==ti$3.lastIndex||0!==ei$3.lastIndex),wi$3=ui$3.BROKEN_CARET,Oi$3=void 0!==/()??/.exec("")[1];(mi$3||Oi$3||wi$3||ci$3||li$3)&&(pi$3=function(t){var e,r,n,o,i,u,a,c=this,f=si$3(c),l=on$4(t),s=f.raw;if(s)return s.lastIndex=c.lastIndex,e=St$4(pi$3,s,l),c.lastIndex=s.lastIndex,e;var d=f.groups,v=wi$3&&c.sticky,p=St$4(ri$3,c),y=c.source,h=0,g=l;if(v&&(p=gi$3(p,"y",""),-1===hi$3(p,"g")&&(p+="g"),g=bi$3(l,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==yi$3(l,c.lastIndex-1))&&(y="(?: "+y+")",g=" "+g,h++),r=new RegExp("^(?:"+y+")",p)),Oi$3&&(r=new RegExp("^"+y+"$(?!\\s)",p)),mi$3&&(n=c.lastIndex),o=St$4(vi$3,v?r:c,g),v?o?(o.input=bi$3(o.input,h),o[0]=bi$3(o[0],h),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:mi$3&&o&&(c.lastIndex=c.global?o.index+o[0].length:n),Oi$3&&o&&o.length>1&&St$4(di$3,o[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0);})),o&&d)for(o.groups=u=me$4(null),i=0;i<d.length;i++)u[(a=d[i])[0]]=o[a[1]];return o});var Si$3=pi$3;pr$3({target:"RegExp",proto:!0,forced:/./.exec!==Si$3},{exec:Si$3});var xi$3=function(){function t(){this.type="list-item",this.tag="button";}return t.prototype.getListNode=function(t){var r=this.type;return Ic$2.getSelectedNodeByType(t,r)},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||!!Ic$2.getSelectedElems(t).some((function(e){if(Editor.isVoid(t,e)&&Editor.isBlock(t,e))return !0;var r=e.type;return !!["pre","code","table"].includes(r)||void 0}))},t.prototype.exec=function(t,e){this.isActive(t)?Transforms.setNodes(t,{type:"paragraph",ordered:void 0,level:void 0}):Transforms.setNodes(t,{type:"list-item",ordered:this.ordered,indent:void 0});},t}(),Ei$3=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ordered=!1,e.title=Wp$1("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 Uo$3(e,t),e}(xi$3),ji$3=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ordered=!0,e.title=Wp$1("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 Uo$3(e,t),e}(xi$3),Ti$3={key:"bulletedList",factory:function(){return new Ei$3}},Ai$3={key:"numberedList",factory:function(){return new ji$3}};var Ii$3=[];var Pi$3,Li$3={type:"list-item",elemToHtml:function(t,r){var n="",u="",a=t.ordered,c=void 0!==a&&a?"ol":"ul",f=function(t){var r=$o$3.get(t);if(null==r)return 0;var n=t,u=n.type,a=n.ordered,c=void 0!==a&&a,f=n.level,l=void 0===f?0:f,s=Ic$2.findPath(r,t);if(0===s[0])return l+1;var d=Path.previous(s),v=Editor.node(r,d);if(!v)return 0;var p=Yo$3(v,1)[0];if(Ic$2.getNodeType(p)!==u)return l+1;var y=p,h=y.ordered,g=void 0!==h&&h,b=y.level,m=void 0===b?0:b;return m<l?l-m:m>l?qo$3(r,t)?0:1:m===l?g===c?0:1:0}(t);if(f>0)for(var l=0;l<f;l++)n+="<"+c+">",Ii$3.push(c);var s=function(t){var r=$o$3.get(t);if(null==r)return 0;var n=t,u=n.type,a=n.ordered,c=void 0!==a&&a,f=n.level,l=void 0===f?0:f,s=Ic$2.findPath(r,t);if(s[0]===r.children.length-1)return l+1;var d=Path.next(s),v=Editor.node(r,d);if(!v)return 0;var p=Yo$3(v,1)[0];if(Ic$2.getNodeType(p)!==u)return l+1;var y=p,h=y.ordered,g=void 0!==h&&h,b=y.level,m=void 0===b?0:b;return m<l?qo$3(r,p)?l-m:l-m+1:m>l?0:m===l?g===c?0:1:0}(t);if(s>0)for(l=0;l<s;l++){u+="</"+Ii$3.pop()+">";}var d=Go$3(t);return {html:"<li"+(d?' style="color:'+d+'"':"")+">"+r+"</li>",prefix:n,suffix:u}}},Ri$3=ct$4("species"),ki$3=oo$3.filter,Ni$3=(Pi$3="filter",et$4>=51||!v$2((function(){var t=[];return (t.constructor={})[Ri$3]=function(){return {foo:1}},1!==t[Pi$3](Boolean).foo})));pr$3({target:"Array",proto:!0,forced:!Ni$3},{filter:function(t){return ki$3(this,t,arguments.length>1?arguments[1]:void 0)}});var zi$3=TypeError,Mi$3=function(t){if(t>9007199254740991)throw zi$3("Maximum allowed index exceeded");return t},_i$3=function(t,e,r,n,o,i,u,a){for(var c,f,l=o,s=0,d=!!u&&An$4(u,a);s<n;)s in r&&(c=d?d(r[s],s,e):r[s],i>0&&Vn$4(c)?(f=Qt$4(c),l=_i$3(t,e,c,f,l,i-1)-1):(Mi$3(l+1),t[l]=c),l++),s++;return l},Ci$3=_i$3;pr$3({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=B$4(this),r=Qt$4(e),n=eo$3(e,0);return n.length=Ci$3(n,e,e,r,0,void 0===t?1:Kt$4(t)),n}}),Te$4("flat");var Fi$3=Function.prototype,Di$3=Fi$3.apply,Bi$3=Fi$3.call,Hi$3="object"==typeof Reflect&&Reflect.apply||(p$2?Bi$3.bind(Di$3):function(){return Bi$3.apply(Di$3,arguments)}),$i$3=ct$4("species"),Gi$3=RegExp.prototype,Vi$3=ln$4.charAt,Wi$3=function(t,e,r){return e+(r?Vi$3(t,e).length:1)},Ui$3=Math.floor,Ki$3=b$2("".charAt),Yi$3=b$2("".replace),Xi$3=b$2("".slice),qi$3=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Ji$3=/\$([$&'`]|\d{1,2})/g,Qi$3=function(t,e,r,n,o,i){var u=r+t.length,a=n.length,c=Ji$3;return void 0!==o&&(o=B$4(o),c=qi$3),Yi$3(i,c,(function(i,c){var f;switch(Ki$3(c,0)){case"$":return "$";case"&":return t;case"`":return Xi$3(e,0,r);case"'":return Xi$3(e,u);case"<":f=o[Xi$3(c,1,-1)];break;default:var l=+c;if(0===l)return i;if(l>a){var s=Ui$3(l/10);return 0===s?i:s<=a?void 0===n[s-1]?Ki$3(c,1):n[s-1]+Ki$3(c,1):i}f=n[l-1];}return void 0===f?"":f}))},Zi$3=TypeError,tu$3=function(t,e){var r=t.exec;if(lt$4(r)){var n=St$4(r,t,e);return null!==n&&pt$4(n),n}if("RegExp"===O$3(t))return St$4(Si$3,t,e);throw new Zi$3("RegExp#exec called on incompatible receiver")},eu$3=ct$4("replace"),ru$3=Math.max,nu$3=Math.min,ou$3=b$2([].concat),iu$3=b$2([].push),uu$3=b$2("".indexOf),au$3=b$2("".slice),cu$3="$0"==="a".replace(/./,"$0"),fu$3=!!/./[eu$3]&&""===/./[eu$3]("a","$0");function lu$3(t){return t.length?t[0].tagName.toLowerCase():""}!function(t,e,r,n){var o=ct$4(t),i=!v$2((function(){var e={};return e[o]=function(){return 7},7!==""[t](e)})),u=i&&!v$2((function(){var e=!1,r=/a/;return "split"===t&&((r={}).constructor={},r.constructor[$i$3]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!u||r){var a=/./[o],c=e(o,""[t],(function(t,e,r,n,o){var u=e.exec;return u===Si$3||u===Gi$3.exec?i&&!o?{done:!0,value:St$4(a,e,r,n)}:{done:!0,value:St$4(t,r,e,n)}:{done:!1}}));Ze$4(String.prototype,t,c[0]),Ze$4(Gi$3,o,c[1]);}n&&Re$4(Gi$3[o],"sham",!0);}("replace",(function(t,e,r){var n=fu$3?"$":"$0";return [function(t,r){var n=A$3(this),o=j$4(t)?void 0:Rt$4(t,eu$3);return o?St$4(o,t,n,r):St$4(e,on$4(n),t,r)},function(t,o){var i=pt$4(this),u=on$4(t);if("string"==typeof o&&-1===uu$3(o,n)&&-1===uu$3(o,"$<")){var a=r(e,i,u,o);if(a.done)return a.value}var c=lt$4(o);c||(o=on$4(o));var f,l=i.global;l&&(f=i.unicode,i.lastIndex=0);for(var s,d=[];null!==(s=tu$3(i,u))&&(iu$3(d,s),l);){""===on$4(s[0])&&(i.lastIndex=Wi$3(u,Jt$4(i.lastIndex),f));}for(var v,p="",y=0,h=0;h<d.length;h++){for(var g,b=on$4((s=d[h])[0]),m=ru$3(nu$3(Kt$4(s.index),u.length),0),w=[],O=1;O<s.length;O++)iu$3(w,void 0===(v=s[O])?v:String(v));var S=s.groups;if(c){var x=ou$3([b],w,m,u);void 0!==S&&iu$3(x,S),g=on$4(Hi$3(o,void 0,x));}else g=Qi$3(b,u,m,w,S,o);m>=y&&(p+=au$3(u,y,m)+g,y=m+b.length);}return p+au$3(u,y)}]}),!!v$2((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!cu$3||fu$3),pr$3({global:!0,forced:z$3.globalThis!==z$3},{globalThis:z$3}),append&&($$6.fn.append=append),attr&&($$6.fn.attr=attr),parent&&($$6.fn.parent=parent);var su$3={renderElems:[Vo$3],editorPlugin:function(t){var r=t.deleteBackward,n=t.handleTab,o=t.normalizeNode,c=t.insertBreak,f=t;return f.insertBreak=function(){var r=Yo$3(Editor.nodes(t,{match:function(t){return Ic$2.checkNodeType(t,"list-item")},universal:!0}),1)[0];return r?""!==r[0].children[0].text?c():void Transforms.setNodes(f,{type:"paragraph",ordered:void 0,level:void 0}):c()},f.deleteBackward=function(n){var o=f.selection;if(null!=o)if(Range.isExpanded(o))r(n);else {var i=Ic$2.getSelectedNodeByType(f,"list-item");if(null!=i)if(0!==o.focus.offset)r(n);else {var c=i,l=c.level,s=void 0===l?0:l,d=c.ordered,v=void 0!==d&&d;if(s>0){var p=Xo$3(t,i,s-1);p&&p.ordered!==v?Transforms.setNodes(f,{level:s-1,ordered:!v}):Transforms.setNodes(f,{level:s-1});}else Transforms.setNodes(f,{type:"paragraph",ordered:void 0,level:void 0});}else r(n);}else r(n);},f.handleTab=function(){var t,r,o,i,c=f.selection;if(null!=c){if(Range.isCollapsed(c)){var l=Ic$2.getSelectedNodeByType(f,"list-item");if(null==l)return void n();if(0===c.focus.offset){var s=l.level,d=void 0===s?0:s;return void Transforms.setNodes(f,{level:d+1})}}if(Range.isExpanded(c)){var v=0,p=!1;try{for(var y=Ko$3(Jo$3(f)),h=y.next();!h.done;h=y.next()){var g=Yo$3(h.value,1)[0];"list-item"===Ic$2.getNodeType(g)?v++:p=!0;}}catch(e){t={error:e};}finally{try{h&&!h.done&&(r=y.return)&&r.call(y);}finally{if(t)throw t.error}}if(p||v<=1)return void n();try{for(var b=Ko$3(Jo$3(f)),m=b.next();!m.done;m=b.next()){var w=Yo$3(m.value,2),O=(g=w[0],w[1]),S=g.level;d=void 0===S?0:S;Transforms.setNodes(f,{level:d+1},{at:O});}}catch(t){o={error:t};}finally{try{m&&!m.done&&(i=b.return)&&i.call(b);}finally{if(o)throw o.error}}}else n();}else n();},f.normalizeNode=function(t){var r=Yo$3(t,2),n=r[0],i=r[1],a=Ic$2.getNodeType(n);return "bulleted-list"!==a&&"numbered-list"!==a||Transforms.unwrapNodes(f,{at:i}),o([n,i])},f},menus:[Ti$3,Ai$3],elemsToHtml:[Li$3],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 o=$$6(t);0===(e=e.filter((function(t){return !!Text.isText(t)||!!r.isInline(t)}))).length&&(e=[{text:o.text().replace(/\s+/gm," ")}]);var i=function(t){return "ol"===lu$3(t.parent())}(o),u=function(t){for(var e=0,r=t.parent(),n=lu$3(r);"ul"===n||"ol"===n;)n=lu$3(r=r.parent()),e++;return e-1}(o);return {type:"list-item",ordered:i,level:u,children:e}}}]};
17550
+ Wp$1("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),Wp$1("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var v$2="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function p$2(t){var e={exports:{}};return t(e,e.exports),e.exports}var y$2,h$2,g$2=function(t){return t&&t.Math===Math&&t},b$2=g$2("object"==typeof globalThis&&globalThis)||g$2("object"==typeof window&&window)||g$2("object"==typeof self&&self)||g$2("object"==typeof v$2&&v$2)||g$2("object"==typeof v$2&&v$2)||function(){return this}()||Function("return this")(),m$2=function(t){try{return !!t()}catch(t){return !0}},w$2=!m$2((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),O$3=!m$2((function(){var t=function(){}.bind();return "function"!=typeof t||t.hasOwnProperty("prototype")})),S$3=Function.prototype.call,x$3=O$3?S$3.bind(S$3):function(){return S$3.apply(S$3,arguments)},E$3={}.propertyIsEnumerable,j$4=Object.getOwnPropertyDescriptor,T$3={f:j$4&&!E$3.call({1:2},1)?function(t){var e=j$4(this,t);return !!e&&e.enumerable}:E$3},A$3=function(t,e){return {enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},I$4=Function.prototype,P$4=I$4.call,L$4=O$3&&I$4.bind.bind(P$4,P$4),R$4=O$3?L$4:function(t){return function(){return P$4.apply(t,arguments)}},k$3=R$4({}.toString),N$3=R$4("".slice),z$3=function(t){return N$3(k$3(t),8,-1)},M$3=Object,_$4=R$4("".split),C$3=m$2((function(){return !M$3("z").propertyIsEnumerable(0)}))?function(t){return "String"===z$3(t)?_$4(t,""):M$3(t)}:M$3,F$4=function(t){return null==t},D$4=TypeError,B$4=function(t){if(F$4(t))throw new D$4("Can't call method on "+t);return t},H$3=function(t){return C$3(B$4(t))},$$4="object"==typeof document&&document.all,G$4=void 0===$$4&&void 0!==$$4?function(t){return "function"==typeof t||t===$$4}:function(t){return "function"==typeof t},V$4=function(t){return "object"==typeof t?null!==t:G$4(t)},W$4=function(t,e){return arguments.length<2?(r=b$2[t],G$4(r)?r:void 0):b$2[t]&&b$2[t][e];var r;},U$4=R$4({}.isPrototypeOf),K$4=b$2.navigator,Y$4=K$4&&K$4.userAgent,X$4=Y$4?String(Y$4):"",q$4=b$2.process,J$4=b$2.Deno,Q$4=q$4&&q$4.versions||J$4&&J$4.version,Z$4=Q$4&&Q$4.v8;Z$4&&(h$2=(y$2=Z$4.split("."))[0]>0&&y$2[0]<4?1:+(y$2[0]+y$2[1])),!h$2&&X$4&&(!(y$2=X$4.match(/Edge\/(\d+)/))||y$2[1]>=74)&&(y$2=X$4.match(/Chrome\/(\d+)/))&&(h$2=+y$2[1]);var tt$4=h$2,et$4=b$2.String,rt$4=!!Object.getOwnPropertySymbols&&!m$2((function(){var t=Symbol("symbol detection");return !et$4(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&tt$4&&tt$4<41})),nt$4=rt$4&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ot$4=Object,it$4=nt$4?function(t){return "symbol"==typeof t}:function(t){var e=W$4("Symbol");return G$4(e)&&U$4(e.prototype,ot$4(t))},ut$4=String,at$4=function(t){try{return ut$4(t)}catch(t){return "Object"}},ct$4=TypeError,ft$4=function(t){if(G$4(t))return t;throw new ct$4(at$4(t)+" is not a function")},lt$4=function(t,e){var r=t[e];return F$4(r)?void 0:ft$4(r)},st$4=TypeError,dt$4=Object.defineProperty,vt$4=function(t,e){try{dt$4(b$2,t,{value:e,configurable:!0,writable:!0});}catch(r){b$2[t]=e;}return e},pt$4=p$2((function(t){var e="__core-js_shared__",r=t.exports=b$2[e]||vt$4(e,{});(r.versions||(r.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});})),yt$4=function(t,e){return pt$4[t]||(pt$4[t]=e||{})},ht$4=Object,gt$4=function(t){return ht$4(B$4(t))},bt$4=R$4({}.hasOwnProperty),mt$4=Object.hasOwn||function(t,e){return bt$4(gt$4(t),e)},wt$4=0,Ot$4=Math.random(),St$4=R$4(1..toString),xt$4=function(t){return "Symbol("+(void 0===t?"":t)+")_"+St$4(++wt$4+Ot$4,36)},Et$4=b$2.Symbol,jt$4=yt$4("wks"),Tt$4=nt$4?Et$4.for||Et$4:Et$4&&Et$4.withoutSetter||xt$4,At$4=function(t){return mt$4(jt$4,t)||(jt$4[t]=rt$4&&mt$4(Et$4,t)?Et$4[t]:Tt$4("Symbol."+t)),jt$4[t]},It$4=TypeError,Pt$4=At$4("toPrimitive"),Lt$4=function(t,e){if(!V$4(t)||it$4(t))return t;var r,n=lt$4(t,Pt$4);if(n){if(void 0===e&&(e="default"),r=x$3(n,t,e),!V$4(r)||it$4(r))return r;throw new It$4("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var r,n;if("string"===e&&G$4(r=t.toString)&&!V$4(n=x$3(r,t)))return n;if(G$4(r=t.valueOf)&&!V$4(n=x$3(r,t)))return n;if("string"!==e&&G$4(r=t.toString)&&!V$4(n=x$3(r,t)))return n;throw new st$4("Can't convert object to primitive value")}(t,e)},Rt$4=function(t){var e=Lt$4(t,"string");return it$4(e)?e:e+""},kt$4=b$2.document,Nt$4=V$4(kt$4)&&V$4(kt$4.createElement),zt$4=function(t){return Nt$4?kt$4.createElement(t):{}},Mt$4=!w$2&&!m$2((function(){return 7!==Object.defineProperty(zt$4("div"),"a",{get:function(){return 7}}).a})),_t$4=Object.getOwnPropertyDescriptor,Ct$4={f:w$2?_t$4:function(t,e){if(t=H$3(t),e=Rt$4(e),Mt$4)try{return _t$4(t,e)}catch(t){}if(mt$4(t,e))return A$3(!x$3(T$3.f,t,e),t[e])}},Ft$4=w$2&&m$2((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Dt$4=String,Bt$4=TypeError,Ht$4=function(t){if(V$4(t))return t;throw new Bt$4(Dt$4(t)+" is not an object")},$t$4=TypeError,Gt$4=Object.defineProperty,Vt$4=Object.getOwnPropertyDescriptor,Wt$4="enumerable",Ut$4="configurable",Kt$4="writable",Yt$4={f:w$2?Ft$4?function(t,e,r){if(Ht$4(t),e=Rt$4(e),Ht$4(r),"function"==typeof t&&"prototype"===e&&"value"in r&&Kt$4 in r&&!r[Kt$4]){var n=Vt$4(t,e);n&&n[Kt$4]&&(t[e]=r.value,r={configurable:Ut$4 in r?r[Ut$4]:n[Ut$4],enumerable:Wt$4 in r?r[Wt$4]:n[Wt$4],writable:!1});}return Gt$4(t,e,r)}:Gt$4:function(t,e,r){if(Ht$4(t),e=Rt$4(e),Ht$4(r),Mt$4)try{return Gt$4(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new $t$4("Accessors not supported");return "value"in r&&(t[e]=r.value),t}},Xt$4=w$2?function(t,e,r){return Yt$4.f(t,e,A$3(1,r))}:function(t,e,r){return t[e]=r,t},qt$4=Function.prototype,Jt$4=w$2&&Object.getOwnPropertyDescriptor,Qt$4=mt$4(qt$4,"name"),Zt$4={EXISTS:Qt$4,PROPER:Qt$4&&"something"===function(){}.name,CONFIGURABLE:Qt$4&&(!w$2||w$2&&Jt$4(qt$4,"name").configurable)},te$4=R$4(Function.toString);G$4(pt$4.inspectSource)||(pt$4.inspectSource=function(t){return te$4(t)});var ee$4,re$4,ne$4,oe$4=pt$4.inspectSource,ie$4=b$2.WeakMap,ue$4=G$4(ie$4)&&/native code/.test(String(ie$4)),ae$4=yt$4("keys"),ce$4=function(t){return ae$4[t]||(ae$4[t]=xt$4(t))},fe$4={},le$4="Object already initialized",se$4=b$2.TypeError,de$4=b$2.WeakMap;if(ue$4||pt$4.state){var ve$4=pt$4.state||(pt$4.state=new de$4);ve$4.get=ve$4.get,ve$4.has=ve$4.has,ve$4.set=ve$4.set,ee$4=function(t,e){if(ve$4.has(t))throw new se$4(le$4);return e.facade=t,ve$4.set(t,e),e},re$4=function(t){return ve$4.get(t)||{}},ne$4=function(t){return ve$4.has(t)};}else {var pe$4=ce$4("state");fe$4[pe$4]=!0,ee$4=function(t,e){if(mt$4(t,pe$4))throw new se$4(le$4);return e.facade=t,Xt$4(t,pe$4,e),e},re$4=function(t){return mt$4(t,pe$4)?t[pe$4]:{}},ne$4=function(t){return mt$4(t,pe$4)};}var ye$4={set:ee$4,get:re$4,has:ne$4,enforce:function(t){return ne$4(t)?re$4(t):ee$4(t,{})},getterFor:function(t){return function(e){var r;if(!V$4(e)||(r=re$4(e)).type!==t)throw new se$4("Incompatible receiver, "+t+" required");return r}}},he$4=p$2((function(t){var e=Zt$4.CONFIGURABLE,r=ye$4.enforce,n=ye$4.get,o=String,i=Object.defineProperty,u=R$4("".slice),a=R$4("".replace),c=R$4([].join),f=w$2&&!m$2((function(){return 8!==i((function(){}),"length",{value:8}).length})),l=String(String).split("String"),s=t.exports=function(t,n,s){"Symbol("===u(o(n),0,7)&&(n="["+a(o(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),s&&s.getter&&(n="get "+n),s&&s.setter&&(n="set "+n),(!mt$4(t,"name")||e&&t.name!==n)&&(w$2?i(t,"name",{value:n,configurable:!0}):t.name=n),f&&s&&mt$4(s,"arity")&&t.length!==s.arity&&i(t,"length",{value:s.arity});try{s&&mt$4(s,"constructor")&&s.constructor?w$2&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0);}catch(t){}var d=r(t);return mt$4(d,"source")||(d.source=c(l,"string"==typeof n?n:"")),t};Function.prototype.toString=s((function(){return G$4(this)&&n(this).source||oe$4(this)}),"toString");})),ge$4=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(G$4(r)&&he$4(r,i,n),n.global)o?t[e]=r:vt$4(e,r);else {try{n.unsafe?t[e]&&(o=!0):delete t[e];}catch(t){}o?t[e]=r:Yt$4.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable});}return t},be$4=Math.ceil,me$4=Math.floor,we$4=Math.trunc||function(t){var e=+t;return (e>0?me$4:be$4)(e)},Oe$4=function(t){var e=+t;return e!=e||0===e?0:we$4(e)},Se$4=Math.max,xe$4=Math.min,Ee$4=Math.min,je$4=function(t){var e=Oe$4(t);return e>0?Ee$4(e,9007199254740991):0},Te$4=function(t){return je$4(t.length)},Ae$4=function(t){return function(e,r,n){var o=H$3(e),i=Te$4(o);if(0===i)return !t&&-1;var u,a=function(t,e){var r=Oe$4(t);return r<0?Se$4(r+e,0):xe$4(r,e)}(n,i);if(t&&r!=r){for(;i>a;)if((u=o[a++])!=u)return !0}else for(;i>a;a++)if((t||a in o)&&o[a]===r)return t||a||0;return !t&&-1}},Ie$4={includes:Ae$4(!0),indexOf:Ae$4(!1)},Pe$4=Ie$4.indexOf,Le$4=R$4([].push),Re$4=function(t,e){var r,n=H$3(t),o=0,i=[];for(r in n)!mt$4(fe$4,r)&&mt$4(n,r)&&Le$4(i,r);for(;e.length>o;)mt$4(n,r=e[o++])&&(~Pe$4(i,r)||Le$4(i,r));return i},ke$4=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ne$4=ke$4.concat("length","prototype"),ze$4={f:Object.getOwnPropertyNames||function(t){return Re$4(t,Ne$4)}},Me$4={f:Object.getOwnPropertySymbols},_e$4=R$4([].concat),Ce$4=W$4("Reflect","ownKeys")||function(t){var e=ze$4.f(Ht$4(t)),r=Me$4.f;return r?_e$4(e,r(t)):e},Fe$4=function(t,e,r){for(var n=Ce$4(e),o=Yt$4.f,i=Ct$4.f,u=0;u<n.length;u++){var a=n[u];mt$4(t,a)||r&&mt$4(r,a)||o(t,a,i(e,a));}},De$4=/#|\.prototype\./,Be$4=function(t,e){var r=$e$4[He$4(t)];return r===Ve$4||r!==Ge$4&&(G$4(e)?m$2(e):!!e)},He$4=Be$4.normalize=function(t){return String(t).replace(De$4,".").toLowerCase()},$e$4=Be$4.data={},Ge$4=Be$4.NATIVE="N",Ve$4=Be$4.POLYFILL="P",We$4=Be$4,Ue$4=Ct$4.f,Ke$4=function(t,e){var r,n,o,i,u,a=t.target,c=t.global,f=t.stat;if(r=c?b$2:f?b$2[a]||vt$4(a,{}):b$2[a]&&b$2[a].prototype)for(n in e){if(i=e[n],o=t.dontCallGetSet?(u=Ue$4(r,n))&&u.value:r[n],!We$4(c?n:a+(f?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Fe$4(i,o);}(t.sham||o&&o.sham)&&Xt$4(i,"sham",!0),ge$4(r,n,i,t);}},Ye$4=Array.isArray||function(t){return "Array"===z$3(t)},Xe$4=TypeError,qe$4=function(t){if(t>9007199254740991)throw Xe$4("Maximum allowed index exceeded");return t},Je$4=function(t,e,r){w$2?Yt$4.f(t,e,A$3(0,r)):t[e]=r;},Qe$4={};Qe$4[At$4("toStringTag")]="z";var Ze$4="[object z]"===String(Qe$4),tr$3=At$4("toStringTag"),er$3=Object,rr$3="Arguments"===z$3(function(){return arguments}()),nr$3=Ze$4?z$3:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=er$3(t),tr$3))?r:rr$3?z$3(e):"Object"===(n=z$3(e))&&G$4(e.callee)?"Arguments":n},or$3=function(){},ir$3=W$4("Reflect","construct"),ur$3=/^\s*(?:class|function)\b/,ar$3=R$4(ur$3.exec),cr$3=!ur$3.test(or$3),fr$3=function(t){if(!G$4(t))return !1;try{return ir$3(or$3,[],t),!0}catch(t){return !1}},lr$3=function(t){if(!G$4(t))return !1;switch(nr$3(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return !1}try{return cr$3||!!ar$3(ur$3,oe$4(t))}catch(t){return !0}};lr$3.sham=!0;var sr$3=!ir$3||m$2((function(){var t;return fr$3(fr$3.call)||!fr$3(Object)||!fr$3((function(){t=!0;}))||t}))?lr$3:fr$3,dr$3=At$4("species"),vr$3=Array,pr$3=function(t,e){return new(function(t){var e;return Ye$4(t)&&(e=t.constructor,(sr$3(e)&&(e===vr$3||Ye$4(e.prototype))||V$4(e)&&null===(e=e[dr$3]))&&(e=void 0)),void 0===e?vr$3:e}(t))(0===e?0:e)},yr$3=At$4("species"),hr$3=function(t){return tt$4>=51||!m$2((function(){var e=[];return (e.constructor={})[yr$3]=function(){return {foo:1}},1!==e[t](Boolean).foo}))},gr$3=At$4("isConcatSpreadable"),br$3=tt$4>=51||!m$2((function(){var t=[];return t[gr$3]=!1,t.concat()[0]!==t})),mr$3=function(t){if(!V$4(t))return !1;var e=t[gr$3];return void 0!==e?!!e:Ye$4(t)},wr$3=!br$3||!hr$3("concat");Ke$4({target:"Array",proto:!0,arity:1,forced:wr$3},{concat:function(t){var e,r,n,o,i,u=gt$4(this),a=pr$3(u,0),c=0;for(e=-1,n=arguments.length;e<n;e++)if(mr$3(i=-1===e?u:arguments[e]))for(o=Te$4(i),qe$4(c+o),r=0;r<o;r++,c++)r in i&&Je$4(a,c,i[r]);else qe$4(c+1),Je$4(a,c++,i);return a.length=c,a}});var Or$3=function(t,e){return Or$3=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]);},Or$3(t,e)};function Sr$3(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;}Or$3(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r);}function xr$3(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 Er$3(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"==typeof SuppressedError&&SuppressedError;var jr$3,Tr$3=Object.keys||function(t){return Re$4(t,ke$4)},Ar$3=w$2&&!Ft$4?Object.defineProperties:function(t,e){Ht$4(t);for(var r,n=H$3(e),o=Tr$3(e),i=o.length,u=0;i>u;)Yt$4.f(t,r=o[u++],n[r]);return t},Ir$3={f:Ar$3},Pr$3=W$4("document","documentElement"),Lr$3="prototype",Rr$3="script",kr$3=ce$4("IE_PROTO"),Nr$3=function(){},zr$3=function(t){return "<"+Rr$3+">"+t+"</"+Rr$3+">"},Mr$3=function(t){t.write(zr$3("")),t.close();var e=t.parentWindow.Object;return t=null,e},_r$3=function(){try{jr$3=new ActiveXObject("htmlfile");}catch(t){}var t,e,r;_r$3="undefined"!=typeof document?document.domain&&jr$3?Mr$3(jr$3):(e=zt$4("iframe"),r="java"+Rr$3+":",e.style.display="none",Pr$3.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(zr$3("document.F=Object")),t.close(),t.F):Mr$3(jr$3);for(var n=ke$4.length;n--;)delete _r$3[Lr$3][ke$4[n]];return _r$3()};fe$4[kr$3]=!0;var Cr$3=Object.create||function(t,e){var r;return null!==t?(Nr$3[Lr$3]=Ht$4(t),r=new Nr$3,Nr$3[Lr$3]=null,r[kr$3]=t):r=_r$3(),void 0===e?r:Ir$3.f(r,e)},Fr$3=Yt$4.f,Dr$3=At$4("unscopables"),Br$3=Array.prototype;void 0===Br$3[Dr$3]&&Fr$3(Br$3,Dr$3,{configurable:!0,value:Cr$3(null)});var Hr$3,$r$3,Gr$3,Vr$3=function(t){Br$3[Dr$3][t]=!0;},Wr$3={},Ur$3=!m$2((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Kr$3=ce$4("IE_PROTO"),Yr$3=Object,Xr$3=Yr$3.prototype,qr$3=Ur$3?Yr$3.getPrototypeOf:function(t){var e=gt$4(t);if(mt$4(e,Kr$3))return e[Kr$3];var r=e.constructor;return G$4(r)&&e instanceof r?r.prototype:e instanceof Yr$3?Xr$3:null},Jr$3=At$4("iterator"),Qr$3=!1;[].keys&&("next"in(Gr$3=[].keys())?($r$3=qr$3(qr$3(Gr$3)))!==Object.prototype&&(Hr$3=$r$3):Qr$3=!0);var Zr$3=!V$4(Hr$3)||m$2((function(){var t={};return Hr$3[Jr$3].call(t)!==t}));Zr$3&&(Hr$3={}),G$4(Hr$3[Jr$3])||ge$4(Hr$3,Jr$3,(function(){return this}));var tn$4={IteratorPrototype:Hr$3,BUGGY_SAFARI_ITERATORS:Qr$3},en$4=Yt$4.f,rn$4=At$4("toStringTag"),nn$4=function(t,e,r){t&&!r&&(t=t.prototype),t&&!mt$4(t,rn$4)&&en$4(t,rn$4,{configurable:!0,value:e});},on$4=tn$4.IteratorPrototype,un$4=function(){return this},an$4=String,cn$4=TypeError,fn$4=function(t){if(function(t){return V$4(t)||null===t}(t))return t;throw new cn$4("Can't set "+an$4(t)+" as a prototype")},ln$4=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=function(t,e,r){try{return R$4(ft$4(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array;}catch(t){}return function(r,n){return B$4(r),fn$4(n),V$4(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0),sn$4=Zt$4.PROPER,dn$4=Zt$4.CONFIGURABLE,vn$4=tn$4.IteratorPrototype,pn$4=tn$4.BUGGY_SAFARI_ITERATORS,yn$4=At$4("iterator"),hn$4="keys",gn$4="values",bn$4="entries",mn$4=function(){return this},wn$4=function(t,e,r,n,o,i,u){!function(t,e,r,n){var o=e+" Iterator";t.prototype=Cr$3(on$4,{next:A$3(+!n,r)}),nn$4(t,o,!1),Wr$3[o]=un$4;}(r,e,n);var a,c,f,l=function(t){if(t===o&&y)return y;if(!pn$4&&t&&t in v)return v[t];switch(t){case hn$4:case gn$4:case bn$4:return function(){return new r(this,t)}}return function(){return new r(this)}},s=e+" Iterator",d=!1,v=t.prototype,p=v[yn$4]||v["@@iterator"]||o&&v[o],y=!pn$4&&p||l(o),h="Array"===e&&v.entries||p;if(h&&(a=qr$3(h.call(new t)))!==Object.prototype&&a.next&&(qr$3(a)!==vn$4&&(ln$4?ln$4(a,vn$4):G$4(a[yn$4])||ge$4(a,yn$4,mn$4)),nn$4(a,s,!0)),sn$4&&o===gn$4&&p&&p.name!==gn$4&&(dn$4?Xt$4(v,"name",gn$4):(d=!0,y=function(){return x$3(p,this)})),o)if(c={values:l(gn$4),keys:i?y:l(hn$4),entries:l(bn$4)},u)for(f in c)(pn$4||d||!(f in v))&&ge$4(v,f,c[f]);else Ke$4({target:e,proto:!0,forced:pn$4||d},c);return v[yn$4]!==y&&ge$4(v,yn$4,y,{name:o}),Wr$3[e]=y,c},On$4=function(t,e){return {value:t,done:e}},Sn$4=Yt$4.f,xn$4="Array Iterator",En$4=ye$4.set,jn$4=ye$4.getterFor(xn$4),Tn$4=wn$4(Array,"Array",(function(t,e){En$4(this,{type:xn$4,target:H$3(t),index:0,kind:e});}),(function(){var t=jn$4(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,On$4(void 0,!0);switch(t.kind){case"keys":return On$4(r,!1);case"values":return On$4(e[r],!1)}return On$4([r,e[r]],!1)}),"values"),An$4=Wr$3.Arguments=Wr$3.Array;if(Vr$3("keys"),Vr$3("values"),Vr$3("entries"),w$2&&"values"!==An$4.name)try{Sn$4(An$4,"name",{value:"values"});}catch(t){}var In$4=Ze$4?{}.toString:function(){return "[object "+nr$3(this)+"]"};Ze$4||ge$4(Object.prototype,"toString",In$4,{unsafe:!0});var Pn$4=String,Ln$4=function(t){if("Symbol"===nr$3(t))throw new TypeError("Cannot convert a Symbol value to a string");return Pn$4(t)},Rn$4=R$4("".charAt),kn$4=R$4("".charCodeAt),Nn$4=R$4("".slice),zn$4=function(t){return function(e,r){var n,o,i=Ln$4(B$4(e)),u=Oe$4(r),a=i.length;return u<0||u>=a?t?"":void 0:(n=kn$4(i,u))<55296||n>56319||u+1===a||(o=kn$4(i,u+1))<56320||o>57343?t?Rn$4(i,u):n:t?Nn$4(i,u,u+2):o-56320+(n-55296<<10)+65536}},Mn$4={codeAt:zn$4(!1),charAt:zn$4(!0)},_n$4=Mn$4.charAt,Cn$4="String Iterator",Fn$4=ye$4.set,Dn$4=ye$4.getterFor(Cn$4);wn$4(String,"String",(function(t){Fn$4(this,{type:Cn$4,string:Ln$4(t),index:0});}),(function(){var t,e=Dn$4(this),r=e.string,n=e.index;return n>=r.length?On$4(void 0,!0):(t=_n$4(r,n),e.index+=t.length,On$4(t,!1))}));var Bn$4=!m$2((function(){return Object.isExtensible(Object.preventExtensions({}))})),Hn$4=function(t,e,r){for(var n in e)ge$4(t,n,e[n],r);return t},$n$4=R$4([].slice),Gn$4=ze$4.f,Vn$4="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Wn$4={f:function(t){return Vn$4&&"Window"===z$3(t)?function(t){try{return Gn$4(t)}catch(t){return $n$4(Vn$4)}}(t):Gn$4(H$3(t))}},Un$4=m$2((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8});}})),Kn$4=Object.isExtensible,Yn$4=m$2((function(){Kn$4(1);}))||Un$4?function(t){return !!V$4(t)&&((!Un$4||"ArrayBuffer"!==z$3(t))&&(!Kn$4||Kn$4(t)))}:Kn$4,Xn$4=p$2((function(t){var e=Yt$4.f,r=!1,n=xt$4("meta"),o=0,i=function(t){e(t,n,{value:{objectID:"O"+o++,weakData:{}}});},u=t.exports={enable:function(){u.enable=function(){},r=!0;var t=ze$4.f,e=R$4([].splice),o={};o[n]=1,t(o).length&&(ze$4.f=function(r){for(var o=t(r),i=0,u=o.length;i<u;i++)if(o[i]===n){e(o,i,1);break}return o},Ke$4({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Wn$4.f}));},fastKey:function(t,e){if(!V$4(t))return "symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!mt$4(t,n)){if(!Yn$4(t))return "F";if(!e)return "E";i(t);}return t[n].objectID},getWeakData:function(t,e){if(!mt$4(t,n)){if(!Yn$4(t))return !0;if(!e)return !1;i(t);}return t[n].weakData},onFreeze:function(t){return Bn$4&&r&&Yn$4(t)&&!mt$4(t,n)&&i(t),t}};fe$4[n]=!0;})),qn$4=function(t){if("Function"===z$3(t))return R$4(t)},Jn$4=qn$4(qn$4.bind),Qn$4=function(t,e){return ft$4(t),void 0===e?t:O$3?Jn$4(t,e):function(){return t.apply(e,arguments)}},Zn$4=At$4("iterator"),to$3=Array.prototype,eo$3=At$4("iterator"),ro$3=function(t){if(!F$4(t))return lt$4(t,eo$3)||lt$4(t,"@@iterator")||Wr$3[nr$3(t)]},no$3=TypeError,oo$3=function(t,e,r){var n,o;Ht$4(t);try{if(!(n=lt$4(t,"return"))){if("throw"===e)throw r;return r}n=x$3(n,t);}catch(t){o=!0,n=t;}if("throw"===e)throw r;if(o)throw n;return Ht$4(n),r},io$3=TypeError,uo$3=function(t,e){this.stopped=t,this.result=e;},ao$3=uo$3.prototype,co$3=function(t,e,r){var n,o,i,u,a,c,f,l,s=r&&r.that,d=!(!r||!r.AS_ENTRIES),v=!(!r||!r.IS_RECORD),p=!(!r||!r.IS_ITERATOR),y=!(!r||!r.INTERRUPTED),h=Qn$4(e,s),g=function(t){return n&&oo$3(n,"normal",t),new uo$3(!0,t)},b=function(t){return d?(Ht$4(t),y?h(t[0],t[1],g):h(t[0],t[1])):y?h(t,g):h(t)};if(v)n=t.iterator;else if(p)n=t;else {if(!(o=ro$3(t)))throw new io$3(at$4(t)+" is not iterable");if(void 0!==(l=o)&&(Wr$3.Array===l||to$3[Zn$4]===l)){for(i=0,u=Te$4(t);u>i;i++)if((a=b(t[i]))&&U$4(ao$3,a))return a;return new uo$3(!1)}n=function(t,e){var r=arguments.length<2?ro$3(t):e;if(ft$4(r))return Ht$4(x$3(r,t));throw new no$3(at$4(t)+" is not iterable")}(t,o);}for(c=v?t.next:n.next;!(f=x$3(c,n)).done;){try{a=b(f.value);}catch(t){oo$3(n,"throw",t);}if("object"==typeof a&&a&&U$4(ao$3,a))return a}return new uo$3(!1)},fo$3=TypeError,lo$3=function(t,e){if(U$4(e,t))return t;throw new fo$3("Incorrect invocation")},so$3=At$4("iterator"),vo$3=!1;try{var po$3=0,yo$3={next:function(){return {done:!!po$3++}},return:function(){vo$3=!0;}};yo$3[so$3]=function(){return this},Array.from(yo$3,(function(){throw 2}));}catch(t){}var ho$3=R$4([].push),go$3=function(t){var e=1===t,r=2===t,n=3===t,o=4===t,i=6===t,u=7===t,a=5===t||i;return function(c,f,l,s){for(var d,v,p=gt$4(c),y=C$3(p),h=Te$4(y),g=Qn$4(f,l),b=0,m=s||pr$3,w=e?m(c,h):r||u?m(c,0):void 0;h>b;b++)if((a||b in y)&&(v=g(d=y[b],b,p),t))if(e)w[b]=v;else if(v)switch(t){case 3:return !0;case 5:return d;case 6:return b;case 2:ho$3(w,d);}else switch(t){case 4:return !1;case 7:ho$3(w,d);}return i?-1:n||o?o:w}},bo$3={forEach:go$3(0),map:go$3(1),filter:go$3(2),some:go$3(3),every:go$3(4),find:go$3(5),findIndex:go$3(6),filterReject:go$3(7)},mo$3=Xn$4.getWeakData,wo$3=ye$4.set,Oo$3=ye$4.getterFor,So$3=bo$3.find,xo$3=bo$3.findIndex,Eo$3=R$4([].splice),jo$3=0,To$3=function(t){return t.frozen||(t.frozen=new Ao$3)},Ao$3=function(){this.entries=[];},Io$3=function(t,e){return So$3(t.entries,(function(t){return t[0]===e}))};Ao$3.prototype={get:function(t){var e=Io$3(this,t);if(e)return e[1]},has:function(t){return !!Io$3(this,t)},set:function(t,e){var r=Io$3(this,t);r?r[1]=e:this.entries.push([t,e]);},delete:function(t){var e=xo$3(this.entries,(function(e){return e[0]===t}));return ~e&&Eo$3(this.entries,e,1),!!~e}};var Po$3,Lo$3={getConstructor:function(t,e,r,n){var o=t((function(t,o){lo$3(t,i),wo$3(t,{type:e,id:jo$3++,frozen:null}),F$4(o)||co$3(o,t[n],{that:t,AS_ENTRIES:r});})),i=o.prototype,u=Oo$3(e),a=function(t,e,r){var n=u(t),o=mo$3(Ht$4(e),!0);return !0===o?To$3(n).set(e,r):o[n.id]=r,t};return Hn$4(i,{delete:function(t){var e=u(this);if(!V$4(t))return !1;var r=mo$3(t);return !0===r?To$3(e).delete(t):r&&mt$4(r,e.id)&&delete r[e.id]},has:function(t){var e=u(this);if(!V$4(t))return !1;var r=mo$3(t);return !0===r?To$3(e).has(t):r&&mt$4(r,e.id)}}),Hn$4(i,r?{get:function(t){var e=u(this);if(V$4(t)){var r=mo$3(t);if(!0===r)return To$3(e).get(t);if(r)return r[e.id]}},set:function(t,e){return a(this,t,e)}}:{add:function(t){return a(this,t,!0)}}),o}},Ro$3=ye$4.enforce,ko$3=Object,No$3=Array.isArray,zo$3=ko$3.isExtensible,Mo$3=ko$3.isFrozen,_o$3=ko$3.isSealed,Co$3=ko$3.freeze,Fo$3=ko$3.seal,Do$3=!b$2.ActiveXObject&&"ActiveXObject"in b$2,Bo$3=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Ho$3=function(t,e,r){var n=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),i=n?"set":"add",u=b$2[t],a=u&&u.prototype,c=u,f={},l=function(t){var e=R$4(a[t]);ge$4(a,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return !(o&&!V$4(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return o&&!V$4(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return !(o&&!V$4(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this});};if(We$4(t,!G$4(u)||!(o||a.forEach&&!m$2((function(){(new u).entries().next();})))))c=r.getConstructor(e,t,n,i),Xn$4.enable();else if(We$4(t,!0)){var s=new c,d=s[i](o?{}:-0,1)!==s,v=m$2((function(){s.has(1);})),p=function(t,e){try{if(!e&&!vo$3)return !1}catch(t){return !1}var r=!1;try{var n={};n[so$3]=function(){return {next:function(){return {done:r=!0}}}},t(n);}catch(t){}return r}((function(t){new u(t);})),y=!o&&m$2((function(){for(var t=new u,e=5;e--;)t[i](e,e);return !t.has(-0)}));p||((c=e((function(t,e){lo$3(t,a);var r=function(t,e,r){var n,o;return ln$4&&G$4(n=e.constructor)&&n!==r&&V$4(o=n.prototype)&&o!==r.prototype&&ln$4(t,o),t}(new u,t,c);return F$4(e)||co$3(e,r[i],{that:r,AS_ENTRIES:n}),r}))).prototype=a,a.constructor=c),(v||y)&&(l("delete"),l("has"),n&&l("get")),(y||d)&&l(i),o&&a.clear&&delete a.clear;}return f[t]=c,Ke$4({global:!0,constructor:!0,forced:c!==u},f),nn$4(c,t),o||r.setStrong(c,t,n),c}("WeakMap",Bo$3,Lo$3),$o$3=Ho$3.prototype,Go$3=R$4($o$3.set);if(ue$4)if(Do$3){Po$3=Lo$3.getConstructor(Bo$3,"WeakMap",!0),Xn$4.enable();var Vo$3=R$4($o$3.delete),Wo$3=R$4($o$3.has),Uo$3=R$4($o$3.get);Hn$4($o$3,{delete:function(t){if(V$4(t)&&!zo$3(t)){var e=Ro$3(this);return e.frozen||(e.frozen=new Po$3),Vo$3(this,t)||e.frozen.delete(t)}return Vo$3(this,t)},has:function(t){if(V$4(t)&&!zo$3(t)){var e=Ro$3(this);return e.frozen||(e.frozen=new Po$3),Wo$3(this,t)||e.frozen.has(t)}return Wo$3(this,t)},get:function(t){if(V$4(t)&&!zo$3(t)){var e=Ro$3(this);return e.frozen||(e.frozen=new Po$3),Wo$3(this,t)?Uo$3(this,t):e.frozen.get(t)}return Uo$3(this,t)},set:function(t,e){if(V$4(t)&&!zo$3(t)){var r=Ro$3(this);r.frozen||(r.frozen=new Po$3),Wo$3(this,t)?Go$3(this,t,e):r.frozen.set(t,e);}else Go$3(this,t,e);return this}});}else Bn$4&&m$2((function(){var t=Co$3([]);return Go$3(new Ho$3,t,1),!Mo$3(t)}))&&Hn$4($o$3,{set:function(t,e){var r;return No$3(t)&&(Mo$3(t)?r=Co$3:_o$3(t)&&(r=Fo$3)),Go$3(this,t,e),r&&r(t),this}});var Ko$3={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},Yo$3=zt$4("span").classList,Xo$3=Yo$3&&Yo$3.constructor&&Yo$3.constructor.prototype,qo$3=Xo$3===Object.prototype?void 0:Xo$3,Jo$3=At$4("iterator"),Qo$3=Tn$4.values,Zo$3=function(t,e){if(t){if(t[Jo$3]!==Qo$3)try{Xt$4(t,Jo$3,Qo$3);}catch(e){t[Jo$3]=Qo$3;}if(nn$4(t,e,!0),Ko$3[e])for(var r in Tn$4)if(t[r]!==Tn$4[r])try{Xt$4(t,r,Tn$4[r]);}catch(e){t[r]=Tn$4[r];}}};for(var ti$3 in Ko$3)Zo$3(b$2[ti$3]&&b$2[ti$3].prototype,ti$3);Zo$3(qo$3,"DOMTokenList");var ei$3=new WeakMap;function ri$3(t){var e,r=t.children||[],o=r.length;if(0===o)return "";for(var i=0;i<o&&!e;i+=1){var u=r[i];Text.isText(u)&&(e=u);}return null==e?"":e.color||""}function ni$3(t,r,n){for(var u=r.type,a=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}(r,["type"]),c=void 0!==n?n:a.level||0,f=$u$3.findPath(t,r),l=f;;){if(0===l.length||0===f[f.length-1])return null;l=Path.previous(l);var s=Editor.node(t,l);if(!s)return null;var d=Er$3(s,1)[0],v=d.level,p=void 0===v?0:v;if($u$3.getNodeType(d)!==u)return null;if(p===c)return d}}function oi$3(t,e,r){var n=ni$3(t,e,r);return !!n&&n.ordered===e.ordered}var ii$3=[];var ui$3={type:"list-item",elemToHtml:function(t,r){var n="",u="",a=t.ordered,c=void 0!==a&&a?"ol":"ul",f=function(t){var r=ei$3.get(t);if(null==r)return 0;var n=t,u=n.type,a=n.ordered,c=void 0!==a&&a,f=n.level,l=void 0===f?0:f,s=$u$3.findPath(r,t);if(0===s[0])return l+1;var d=Path.previous(s),v=Editor.node(r,d);if(!v)return 0;var p=Er$3(v,1)[0];if($u$3.getNodeType(p)!==u)return l+1;var y=p,h=y.ordered,g=void 0!==h&&h,b=y.level,m=void 0===b?0:b;return m<l?l-m:m>l?oi$3(r,t)?0:1:m===l?g===c?0:1:0}(t);if(f>0)for(var l=0;l<f;l+=1)n+="<".concat(c,">"),ii$3.push(c);var s=function(t){var r=ei$3.get(t);if(null==r)return 0;var n=t,u=n.type,a=n.ordered,c=void 0!==a&&a,f=n.level,l=void 0===f?0:f,s=$u$3.findPath(r,t);if(s[0]===r.children.length-1)return l+1;var d=Path.next(s),v=Editor.node(r,d);if(!v)return 0;var p=Er$3(v,1)[0];if($u$3.getNodeType(p)!==u)return l+1;var y=p,h=y.ordered,g=void 0!==h&&h,b=y.level,m=void 0===b?0:b;return m<l?oi$3(r,p)?l-m:l-m+1:m>l?0:m===l?g===c?0:1:0}(t);if(s>0)for(l=0;l<s;l+=1){var d=ii$3.pop();u+="</".concat(d,">");}var v=ri$3(t),p=v?' style="color:'.concat(v,'"'):"";return {html:"<li".concat(p,">").concat(r,"</li>"),prefix:n,suffix:u}}},ai$3=Ie$4.includes,ci$3=m$2((function(){return !Array(1).includes()}));Ke$4({target:"Array",proto:!0,forced:ci$3},{includes:function(t){return ai$3(this,t,arguments.length>1?arguments[1]:void 0)}}),Vr$3("includes");var fi$3,li$3,si$3=function(){var t=Ht$4(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},di$3=b$2.RegExp,vi$3=m$2((function(){var t=di$3("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),pi$3=vi$3||m$2((function(){return !di$3("a","y").sticky})),yi$3={BROKEN_CARET:vi$3||m$2((function(){var t=di$3("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:pi$3,UNSUPPORTED_Y:vi$3},hi$3=b$2.RegExp,gi$3=m$2((function(){var t=hi$3(".","s");return !(t.dotAll&&t.test("\n")&&"s"===t.flags)})),bi$3=b$2.RegExp,mi$3=m$2((function(){var t=bi$3("(?<a>b)","g");return "b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),wi$3=ye$4.get,Oi$3=yt$4("native-string-replace",String.prototype.replace),Si$3=RegExp.prototype.exec,xi$3=Si$3,Ei$3=R$4("".charAt),ji$3=R$4("".indexOf),Ti$3=R$4("".replace),Ai$3=R$4("".slice),Ii$3=(li$3=/b*/g,x$3(Si$3,fi$3=/a/,"a"),x$3(Si$3,li$3,"a"),0!==fi$3.lastIndex||0!==li$3.lastIndex),Pi$3=yi$3.BROKEN_CARET,Li$3=void 0!==/()??/.exec("")[1];(Ii$3||Li$3||Pi$3||gi$3||mi$3)&&(xi$3=function(t){var e,r,n,o,i,u,a,c=this,f=wi$3(c),l=Ln$4(t),s=f.raw;if(s)return s.lastIndex=c.lastIndex,e=x$3(xi$3,s,l),c.lastIndex=s.lastIndex,e;var d=f.groups,v=Pi$3&&c.sticky,p=x$3(si$3,c),y=c.source,h=0,g=l;if(v&&(p=Ti$3(p,"y",""),-1===ji$3(p,"g")&&(p+="g"),g=Ai$3(l,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==Ei$3(l,c.lastIndex-1))&&(y="(?: "+y+")",g=" "+g,h++),r=new RegExp("^(?:"+y+")",p)),Li$3&&(r=new RegExp("^"+y+"$(?!\\s)",p)),Ii$3&&(n=c.lastIndex),o=x$3(Si$3,v?r:c,g),v?o?(o.input=Ai$3(o.input,h),o[0]=Ai$3(o[0],h),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:Ii$3&&o&&(c.lastIndex=c.global?o.index+o[0].length:n),Li$3&&o&&o.length>1&&x$3(Oi$3,o[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0);})),o&&d)for(o.groups=u=Cr$3(null),i=0;i<d.length;i++)u[(a=d[i])[0]]=o[a[1]];return o});var Ri$3=xi$3;Ke$4({target:"RegExp",proto:!0,forced:/./.exec!==Ri$3},{exec:Ri$3});var ki$3=function(){function t(){this.type="list-item",this.tag="button";}return t.prototype.getListNode=function(t){var r=this.type;return $u$3.getSelectedNodeByType(t,r)},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||!!$u$3.getSelectedElems(t).some((function(e){if(Editor.isVoid(t,e)&&Editor.isBlock(t,e))return !0;var r=e.type;return !!["pre","code","table"].includes(r)}))},t.prototype.exec=function(t,e){this.isActive(t)?Transforms.setNodes(t,{type:"paragraph",ordered:void 0,level:void 0}):Transforms.setNodes(t,{type:"list-item",ordered:this.ordered,indent:void 0});},t}(),Ni$3=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ordered=!1,e.title=Up$1("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 Sr$3(e,t),e}(ki$3),zi$3=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ordered=!0,e.title=Up$1("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 Sr$3(e,t),e}(ki$3),Mi$3={key:"bulletedList",factory:function(){return new Ni$3}},_i$3={key:"numberedList",factory:function(){return new zi$3}},Ci$3=bo$3.filter,Fi$3=hr$3("filter");Ke$4({target:"Array",proto:!0,forced:!Fi$3},{filter:function(t){return Ci$3(this,t,arguments.length>1?arguments[1]:void 0)}});var Di$3=function(t,e,r,n,o,i,u,a){for(var c,f,l=o,s=0,d=!!u&&Qn$4(u,a);s<n;)s in r&&(c=d?d(r[s],s,e):r[s],i>0&&Ye$4(c)?(f=Te$4(c),l=Di$3(t,e,c,f,l,i-1)-1):(qe$4(l+1),t[l]=c),l++),s++;return l},Bi$3=Di$3;Ke$4({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=gt$4(this),r=Te$4(e),n=pr$3(e,0);return n.length=Bi$3(n,e,e,r,0,void 0===t?1:Oe$4(t)),n}}),Vr$3("flat");var Hi$3=Function.prototype,$i$3=Hi$3.apply,Gi$3=Hi$3.call,Vi$3="object"==typeof Reflect&&Reflect.apply||(O$3?Gi$3.bind($i$3):function(){return Gi$3.apply($i$3,arguments)}),Wi$3=At$4("species"),Ui$3=RegExp.prototype,Ki$3=Mn$4.charAt,Yi$3=function(t,e,r){return e+(r?Ki$3(t,e).length:1)},Xi$3=Math.floor,qi$3=R$4("".charAt),Ji$3=R$4("".replace),Qi$3=R$4("".slice),Zi$3=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,tu$2=/\$([$&'`]|\d{1,2})/g,eu$2=function(t,e,r,n,o,i){var u=r+t.length,a=n.length,c=tu$2;return void 0!==o&&(o=gt$4(o),c=Zi$3),Ji$3(i,c,(function(i,c){var f;switch(qi$3(c,0)){case"$":return "$";case"&":return t;case"`":return Qi$3(e,0,r);case"'":return Qi$3(e,u);case"<":f=o[Qi$3(c,1,-1)];break;default:var l=+c;if(0===l)return i;if(l>a){var s=Xi$3(l/10);return 0===s?i:s<=a?void 0===n[s-1]?qi$3(c,1):n[s-1]+qi$3(c,1):i}f=n[l-1];}return void 0===f?"":f}))},ru$2=TypeError,nu$2=function(t,e){var r=t.exec;if(G$4(r)){var n=x$3(r,t,e);return null!==n&&Ht$4(n),n}if("RegExp"===z$3(t))return x$3(Ri$3,t,e);throw new ru$2("RegExp#exec called on incompatible receiver")},ou$2=At$4("replace"),iu$2=Math.max,uu$2=Math.min,au$2=R$4([].concat),cu$2=R$4([].push),fu$2=R$4("".indexOf),lu$2=R$4("".slice),su$2="$0"==="a".replace(/./,"$0"),du$2=!!/./[ou$2]&&""===/./[ou$2]("a","$0");function vu$2(t){return t.length?t[0].tagName.toLowerCase():""}function pu$2(t){return Editor.nodes(t,{at:t.selection||void 0,match:function(r){return 1===$u$3.findPath(t,r).length}})}!function(t,e,r,n){var o=At$4(t),i=!m$2((function(){var e={};return e[o]=function(){return 7},7!==""[t](e)})),u=i&&!m$2((function(){var e=!1,r=/a/;return "split"===t&&((r={}).constructor={},r.constructor[Wi$3]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!u||r){var a=/./[o],c=e(o,""[t],(function(t,e,r,n,o){var u=e.exec;return u===Ri$3||u===Ui$3.exec?i&&!o?{done:!0,value:x$3(a,e,r,n)}:{done:!0,value:x$3(t,r,e,n)}:{done:!1}}));ge$4(String.prototype,t,c[0]),ge$4(Ui$3,o,c[1]);}n&&Xt$4(Ui$3[o],"sham",!0);}("replace",(function(t,e,r){var n=du$2?"$":"$0";return [function(t,r){var n=B$4(this),o=F$4(t)?void 0:lt$4(t,ou$2);return o?x$3(o,t,n,r):x$3(e,Ln$4(n),t,r)},function(t,o){var i=Ht$4(this),u=Ln$4(t);if("string"==typeof o&&-1===fu$2(o,n)&&-1===fu$2(o,"$<")){var a=r(e,i,u,o);if(a.done)return a.value}var c=G$4(o);c||(o=Ln$4(o));var f,l=i.global;l&&(f=i.unicode,i.lastIndex=0);for(var s,d=[];null!==(s=nu$2(i,u))&&(cu$2(d,s),l);){""===Ln$4(s[0])&&(i.lastIndex=Yi$3(u,je$4(i.lastIndex),f));}for(var v,p="",y=0,h=0;h<d.length;h++){for(var g,b=Ln$4((s=d[h])[0]),m=iu$2(uu$2(Oe$4(s.index),u.length),0),w=[],O=1;O<s.length;O++)cu$2(w,void 0===(v=s[O])?v:String(v));var S=s.groups;if(c){var x=au$2([b],w,m,u);void 0!==S&&cu$2(x,S),g=Ln$4(Vi$3(o,void 0,x));}else g=eu$2(b,u,m,w,S,o);m>=y&&(p+=lu$2(u,y,m)+g,y=m+b.length);}return p+lu$2(u,y)}]}),!!m$2((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!su$2||du$2),Ke$4({global:!0,forced:b$2.globalThis!==b$2},{globalThis:b$2}),append&&($$6.fn.append=append),attr&&($$6.fn.attr=attr),parent&&($$6.fn.parent=parent);var yu$2={renderElems:[{type:"list-item",renderElem:function(t,r,n){ei$3.set(t,n);var u=t,a=u.level,c=void 0===a?0:a,f=u.ordered,l=void 0!==f&&f,s={margin:"5px 0 5px ".concat(20*c,"px")},v="";if(l){var p=function(t,r){var n=r,u=n.type,a=n.level,c=void 0===a?0:a,f=n.ordered,l=void 0!==f&&f,s=1,d=r,v=$u$3.findPath(t,d);if(0===v[0])return 1;for(;v[0]>0;){var p=Path.previous(v),y=Editor.node(t,p);if(null==y)break;var h=y[0],g=h.level,b=void 0===g?0:g,m=h.type,w=h.ordered;if(m!==u)break;if(b<c)break;if(b===c){if(w!==l)break;s+=1;}d=h,v=p;}return s}(n,t);v="".concat(p,".");}else v=function(t){void 0===t&&(t=0);var e="";switch(t){case 0:e="•";break;case 1:e="◦";break;default:e="▪";}return e}(c);var y=ri$3(t);return jsx("div",{style:s},jsx("span",{contentEditable:!1,style:{marginRight:"0.5em",color:y},"data-w-e-reserve":!0},v),jsx("span",null,r))}}],editorPlugin:function(t){var r=t.deleteBackward,n=t.handleTab,o=t.normalizeNode,c=t.insertBreak,f=t;return f.insertBreak=function(){var r=Er$3(Editor.nodes(t,{match:function(t){return $u$3.checkNodeType(t,"list-item")},universal:!0}),1)[0];return r?""!==r[0].children[0].text?c():void Transforms.setNodes(f,{type:"paragraph",ordered:void 0,level:void 0}):c()},f.deleteBackward=function(n){var o=f.selection;if(null!=o)if(Range.isExpanded(o))r(n);else {var i=$u$3.getSelectedNodeByType(f,"list-item");if(null!=i)if(0!==o.focus.offset)r(n);else {var c=i,l=c.level,s=void 0===l?0:l,d=c.ordered,v=void 0!==d&&d;if(s>0){var p=ni$3(t,i,s-1);p&&p.ordered!==v?Transforms.setNodes(f,{level:s-1,ordered:!v}):Transforms.setNodes(f,{level:s-1});}else Transforms.setNodes(f,{type:"paragraph",ordered:void 0,level:void 0});}else r(n);}else r(n);},f.handleTab=function(){var t,r,o,i,c=f.selection;if(null!=c){if(Range.isCollapsed(c)){var l=$u$3.getSelectedNodeByType(f,"list-item");if(null==l)return void n();if(0===c.focus.offset){var s=l.level,d=void 0===s?0:s;return void Transforms.setNodes(f,{level:d+1})}}if(Range.isExpanded(c)){var v=0,p=!1;try{for(var y=xr$3(pu$2(f)),h=y.next();!h.done;h=y.next()){var g=Er$3(h.value,1)[0];"list-item"===$u$3.getNodeType(g)?v+=1:p=!0;}}catch(e){t={error:e};}finally{try{h&&!h.done&&(r=y.return)&&r.call(y);}finally{if(t)throw t.error}}if(p||v<=1)return void n();try{for(var b=xr$3(pu$2(f)),m=b.next();!m.done;m=b.next()){var w=Er$3(m.value,2),O=(g=w[0],w[1]),S=g.level;d=void 0===S?0:S;Transforms.setNodes(f,{level:d+1},{at:O});}}catch(t){o={error:t};}finally{try{m&&!m.done&&(i=b.return)&&i.call(b);}finally{if(o)throw o.error}}}else n();}else n();},f.normalizeNode=function(t){var r=Er$3(t,2),n=r[0],i=r[1],a=$u$3.getNodeType(n);return "bulleted-list"!==a&&"numbered-list"!==a||Transforms.unwrapNodes(f,{at:i}),o([n,i])},f},menus:[Mi$3,_i$3],elemsToHtml:[ui$3],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 o=$$6(t);0===(e=e.filter((function(t){return !!Text.isText(t)||!!r.isInline(t)}))).length&&(e=[{text:o.text().replace(/\s+/gm," ")}]);var i=function(t){return "ol"===vu$2(t.parent())}(o),u=function(t){for(var e=0,r=t.parent(),n=vu$2(r);"ul"===n||"ol"===n;)n=vu$2(r=r.parent()),e+=1;return e-1}(o);return {type:"list-item",ordered:i,level:u,children:e}}}]};
17551
17551
 
17552
- Fp$1("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"}}),Fp$1("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 j$3="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function P$3(t){var e={exports:{}};return t(e,e.exports),e.exports}var V$3,I$3,R$3=function(t){return t&&t.Math===Math&&t},L$3=R$3("object"==typeof globalThis&&globalThis)||R$3("object"==typeof window&&window)||R$3("object"==typeof self&&self)||R$3("object"==typeof j$3&&j$3)||R$3("object"==typeof j$3&&j$3)||function(){return this}()||Function("return this")(),D$3=function(t){try{return !!t()}catch(t){return !0}},B$3=!D$3((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),W$3=!D$3((function(){var t=function(){}.bind();return "function"!=typeof t||t.hasOwnProperty("prototype")})),_$3=Function.prototype.call,F$3=W$3?_$3.bind(_$3):function(){return _$3.apply(_$3,arguments)},$$3={}.propertyIsEnumerable,q$3=Object.getOwnPropertyDescriptor,G$3={f:q$3&&!$$3.call({1:2},1)?function(t){var e=q$3(this,t);return !!e&&e.enumerable}:$$3},U$3=function(t,e){return {enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},X$3=Function.prototype,K$3=X$3.call,Y$3=W$3&&X$3.bind.bind(K$3,K$3),J$3=W$3?Y$3:function(t){return function(){return K$3.apply(t,arguments)}},Q$3=J$3({}.toString),Z$3=J$3("".slice),tt$3=function(t){return Z$3(Q$3(t),8,-1)},et$3=Object,rt$3=J$3("".split),nt$3=D$3((function(){return !et$3("z").propertyIsEnumerable(0)}))?function(t){return "String"===tt$3(t)?rt$3(t,""):et$3(t)}:et$3,ot$3=function(t){return null==t},it$3=TypeError,at$3=function(t){if(ot$3(t))throw new it$3("Can't call method on "+t);return t},lt$3=function(t){return nt$3(at$3(t))},ut$3="object"==typeof document&&document.all,ct$3=void 0===ut$3&&void 0!==ut$3?function(t){return "function"==typeof t||t===ut$3}:function(t){return "function"==typeof t},st$3=function(t){return "object"==typeof t?null!==t:ct$3(t)},ft$3=function(t,e){return arguments.length<2?(r=L$3[t],ct$3(r)?r:void 0):L$3[t]&&L$3[t][e];var r;},dt$3=J$3({}.isPrototypeOf),vt$3=L$3.navigator,ht$3=vt$3&&vt$3.userAgent,pt$3=ht$3?String(ht$3):"",yt$3=L$3.process,gt$3=L$3.Deno,bt$3=yt$3&&yt$3.versions||gt$3&&gt$3.version,mt$3=bt$3&&bt$3.v8;mt$3&&(I$3=(V$3=mt$3.split("."))[0]>0&&V$3[0]<4?1:+(V$3[0]+V$3[1])),!I$3&&pt$3&&(!(V$3=pt$3.match(/Edge\/(\d+)/))||V$3[1]>=74)&&(V$3=pt$3.match(/Chrome\/(\d+)/))&&(I$3=+V$3[1]);var wt$3=I$3,xt$3=L$3.String,St$3=!!Object.getOwnPropertySymbols&&!D$3((function(){var t=Symbol("symbol detection");return !xt$3(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&wt$3&&wt$3<41})),zt$3=St$3&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Mt$3=Object,Tt$3=zt$3?function(t){return "symbol"==typeof t}:function(t){var e=ft$3("Symbol");return ct$3(e)&&dt$3(e.prototype,Mt$3(t))},Ot$3=String,Nt$3=function(t){try{return Ot$3(t)}catch(t){return "Object"}},Et$3=TypeError,kt$3=function(t){if(ct$3(t))return t;throw new Et$3(Nt$3(t)+" is not a function")},At$3=function(t,e){var r=t[e];return ot$3(r)?void 0:kt$3(r)},Ht$3=TypeError,Ct$3=Object.defineProperty,jt$3=function(t,e){try{Ct$3(L$3,t,{value:e,configurable:!0,writable:!0});}catch(r){L$3[t]=e;}return e},Pt$3=P$3((function(t){var e="__core-js_shared__",r=t.exports=L$3[e]||jt$3(e,{});(r.versions||(r.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});})),Vt$3=function(t,e){return Pt$3[t]||(Pt$3[t]=e||{})},It$3=Object,Rt$3=function(t){return It$3(at$3(t))},Lt$3=J$3({}.hasOwnProperty),Dt$3=Object.hasOwn||function(t,e){return Lt$3(Rt$3(t),e)},Bt$3=0,Wt$3=Math.random(),_t$3=J$3(1..toString),Ft$3=function(t){return "Symbol("+(void 0===t?"":t)+")_"+_t$3(++Bt$3+Wt$3,36)},$t$3=L$3.Symbol,qt$3=Vt$3("wks"),Gt$3=zt$3?$t$3.for||$t$3:$t$3&&$t$3.withoutSetter||Ft$3,Ut$3=function(t){return Dt$3(qt$3,t)||(qt$3[t]=St$3&&Dt$3($t$3,t)?$t$3[t]:Gt$3("Symbol."+t)),qt$3[t]},Xt$3=TypeError,Kt$3=Ut$3("toPrimitive"),Yt$3=function(t,e){if(!st$3(t)||Tt$3(t))return t;var r,n=At$3(t,Kt$3);if(n){if(void 0===e&&(e="default"),r=F$3(n,t,e),!st$3(r)||Tt$3(r))return r;throw new Xt$3("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var r,n;if("string"===e&&ct$3(r=t.toString)&&!st$3(n=F$3(r,t)))return n;if(ct$3(r=t.valueOf)&&!st$3(n=F$3(r,t)))return n;if("string"!==e&&ct$3(r=t.toString)&&!st$3(n=F$3(r,t)))return n;throw new Ht$3("Can't convert object to primitive value")}(t,e)},Jt$3=function(t){var e=Yt$3(t,"string");return Tt$3(e)?e:e+""},Qt$3=L$3.document,Zt$3=st$3(Qt$3)&&st$3(Qt$3.createElement),te$3=function(t){return Zt$3?Qt$3.createElement(t):{}},ee$3=!B$3&&!D$3((function(){return 7!==Object.defineProperty(te$3("div"),"a",{get:function(){return 7}}).a})),re$3=Object.getOwnPropertyDescriptor,ne$3={f:B$3?re$3:function(t,e){if(t=lt$3(t),e=Jt$3(e),ee$3)try{return re$3(t,e)}catch(t){}if(Dt$3(t,e))return U$3(!F$3(G$3.f,t,e),t[e])}},oe$3=B$3&&D$3((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),ie$3=String,ae$3=TypeError,le$3=function(t){if(st$3(t))return t;throw new ae$3(ie$3(t)+" is not an object")},ue$3=TypeError,ce$3=Object.defineProperty,se$3=Object.getOwnPropertyDescriptor,fe$3="enumerable",de$3="configurable",ve$3="writable",he$3={f:B$3?oe$3?function(t,e,r){if(le$3(t),e=Jt$3(e),le$3(r),"function"==typeof t&&"prototype"===e&&"value"in r&&ve$3 in r&&!r[ve$3]){var n=se$3(t,e);n&&n[ve$3]&&(t[e]=r.value,r={configurable:de$3 in r?r[de$3]:n[de$3],enumerable:fe$3 in r?r[fe$3]:n[fe$3],writable:!1});}return ce$3(t,e,r)}:ce$3:function(t,e,r){if(le$3(t),e=Jt$3(e),le$3(r),ee$3)try{return ce$3(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new ue$3("Accessors not supported");return "value"in r&&(t[e]=r.value),t}},pe$3=B$3?function(t,e,r){return he$3.f(t,e,U$3(1,r))}:function(t,e,r){return t[e]=r,t},ye$3=Function.prototype,ge$3=B$3&&Object.getOwnPropertyDescriptor,be$3=Dt$3(ye$3,"name"),me$3={EXISTS:be$3,PROPER:be$3&&"something"===function(){}.name,CONFIGURABLE:be$3&&(!B$3||B$3&&ge$3(ye$3,"name").configurable)},we$3=J$3(Function.toString);ct$3(Pt$3.inspectSource)||(Pt$3.inspectSource=function(t){return we$3(t)});var xe$3,Se$3,ze$3,Me$3=Pt$3.inspectSource,Te$3=L$3.WeakMap,Oe$3=ct$3(Te$3)&&/native code/.test(String(Te$3)),Ne$3=Vt$3("keys"),Ee$3=function(t){return Ne$3[t]||(Ne$3[t]=Ft$3(t))},ke$3={},Ae$3="Object already initialized",He$3=L$3.TypeError,Ce$3=L$3.WeakMap;if(Oe$3||Pt$3.state){var je$3=Pt$3.state||(Pt$3.state=new Ce$3);je$3.get=je$3.get,je$3.has=je$3.has,je$3.set=je$3.set,xe$3=function(t,e){if(je$3.has(t))throw new He$3(Ae$3);return e.facade=t,je$3.set(t,e),e},Se$3=function(t){return je$3.get(t)||{}},ze$3=function(t){return je$3.has(t)};}else {var Pe$3=Ee$3("state");ke$3[Pe$3]=!0,xe$3=function(t,e){if(Dt$3(t,Pe$3))throw new He$3(Ae$3);return e.facade=t,pe$3(t,Pe$3,e),e},Se$3=function(t){return Dt$3(t,Pe$3)?t[Pe$3]:{}},ze$3=function(t){return Dt$3(t,Pe$3)};}var Ve$3={set:xe$3,get:Se$3,has:ze$3,enforce:function(t){return ze$3(t)?Se$3(t):xe$3(t,{})},getterFor:function(t){return function(e){var r;if(!st$3(e)||(r=Se$3(e)).type!==t)throw new He$3("Incompatible receiver, "+t+" required");return r}}},Ie$3=P$3((function(t){var e=me$3.CONFIGURABLE,r=Ve$3.enforce,n=Ve$3.get,o=String,i=Object.defineProperty,a=J$3("".slice),l=J$3("".replace),u=J$3([].join),c=B$3&&!D$3((function(){return 8!==i((function(){}),"length",{value:8}).length})),s=String(String).split("String"),f=t.exports=function(t,n,f){"Symbol("===a(o(n),0,7)&&(n="["+l(o(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),f&&f.getter&&(n="get "+n),f&&f.setter&&(n="set "+n),(!Dt$3(t,"name")||e&&t.name!==n)&&(B$3?i(t,"name",{value:n,configurable:!0}):t.name=n),c&&f&&Dt$3(f,"arity")&&t.length!==f.arity&&i(t,"length",{value:f.arity});try{f&&Dt$3(f,"constructor")&&f.constructor?B$3&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0);}catch(t){}var d=r(t);return Dt$3(d,"source")||(d.source=u(s,"string"==typeof n?n:"")),t};Function.prototype.toString=f((function(){return ct$3(this)&&n(this).source||Me$3(this)}),"toString");})),Re$3=function(t,e,r,n){n||(n={});var o=n.enumerable,i=void 0!==n.name?n.name:e;if(ct$3(r)&&Ie$3(r,i,n),n.global)o?t[e]=r:jt$3(e,r);else {try{n.unsafe?t[e]&&(o=!0):delete t[e];}catch(t){}o?t[e]=r:he$3.f(t,e,{value:r,enumerable:!1,configurable:!n.nonConfigurable,writable:!n.nonWritable});}return t},Le$3=Math.ceil,De$3=Math.floor,Be$3=Math.trunc||function(t){var e=+t;return (e>0?De$3:Le$3)(e)},We$3=function(t){var e=+t;return e!=e||0===e?0:Be$3(e)},_e$3=Math.max,Fe$3=Math.min,$e$3=function(t,e){var r=We$3(t);return r<0?_e$3(r+e,0):Fe$3(r,e)},qe$3=Math.min,Ge$3=function(t){var e=We$3(t);return e>0?qe$3(e,9007199254740991):0},Ue$3=function(t){return Ge$3(t.length)},Xe$3=function(t){return function(e,r,n){var o=lt$3(e),i=Ue$3(o);if(0===i)return !t&&-1;var a,l=$e$3(n,i);if(t&&r!=r){for(;i>l;)if((a=o[l++])!=a)return !0}else for(;i>l;l++)if((t||l in o)&&o[l]===r)return t||l||0;return !t&&-1}},Ke$3={includes:Xe$3(!0),indexOf:Xe$3(!1)},Ye$3=Ke$3.indexOf,Je$3=J$3([].push),Qe$3=function(t,e){var r,n=lt$3(t),o=0,i=[];for(r in n)!Dt$3(ke$3,r)&&Dt$3(n,r)&&Je$3(i,r);for(;e.length>o;)Dt$3(n,r=e[o++])&&(~Ye$3(i,r)||Je$3(i,r));return i},Ze$3=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],tr$2=Ze$3.concat("length","prototype"),er$2={f:Object.getOwnPropertyNames||function(t){return Qe$3(t,tr$2)}},rr$2={f:Object.getOwnPropertySymbols},nr$2=J$3([].concat),or$2=ft$3("Reflect","ownKeys")||function(t){var e=er$2.f(le$3(t)),r=rr$2.f;return r?nr$2(e,r(t)):e},ir$2=function(t,e,r){for(var n=or$2(e),o=he$3.f,i=ne$3.f,a=0;a<n.length;a++){var l=n[a];Dt$3(t,l)||r&&Dt$3(r,l)||o(t,l,i(e,l));}},ar$2=/#|\.prototype\./,lr$2=function(t,e){var r=cr$2[ur$2(t)];return r===fr$2||r!==sr$2&&(ct$3(e)?D$3(e):!!e)},ur$2=lr$2.normalize=function(t){return String(t).replace(ar$2,".").toLowerCase()},cr$2=lr$2.data={},sr$2=lr$2.NATIVE="N",fr$2=lr$2.POLYFILL="P",dr$2=lr$2,vr$2=ne$3.f,hr$2=function(t,e){var r,n,o,i,a,l=t.target,u=t.global,c=t.stat;if(r=u?L$3:c?L$3[l]||jt$3(l,{}):L$3[l]&&L$3[l].prototype)for(n in e){if(i=e[n],o=t.dontCallGetSet?(a=vr$2(r,n))&&a.value:r[n],!dr$2(u?n:l+(c?".":"#")+n,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;ir$2(i,o);}(t.sham||o&&o.sham)&&pe$3(i,"sham",!0),Re$3(r,n,i,t);}},pr$2=Array.isArray||function(t){return "Array"===tt$3(t)},yr$2={};yr$2[Ut$3("toStringTag")]="z";var gr$2="[object z]"===String(yr$2),br$2=Ut$3("toStringTag"),mr$2=Object,wr$2="Arguments"===tt$3(function(){return arguments}()),xr$2=gr$2?tt$3:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=mr$2(t),br$2))?r:wr$2?tt$3(e):"Object"===(n=tt$3(e))&&ct$3(e.callee)?"Arguments":n},Sr$2=function(){},zr$2=ft$3("Reflect","construct"),Mr$2=/^\s*(?:class|function)\b/,Tr$2=J$3(Mr$2.exec),Or$2=!Mr$2.test(Sr$2),Nr$2=function(t){if(!ct$3(t))return !1;try{return zr$2(Sr$2,[],t),!0}catch(t){return !1}},Er$2=function(t){if(!ct$3(t))return !1;switch(xr$2(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return !1}try{return Or$2||!!Tr$2(Mr$2,Me$3(t))}catch(t){return !0}};Er$2.sham=!0;var kr$2=!zr$2||D$3((function(){var t;return Nr$2(Nr$2.call)||!Nr$2(Object)||!Nr$2((function(){t=!0;}))||t}))?Er$2:Nr$2,Ar$2=function(t,e,r){B$3?he$3.f(t,e,U$3(0,r)):t[e]=r;},Hr$2=Ut$3("species"),Cr$2=function(t){return wt$3>=51||!D$3((function(){var e=[];return (e.constructor={})[Hr$2]=function(){return {foo:1}},1!==e[t](Boolean).foo}))},jr$2=J$3([].slice),Pr$2=Cr$2("slice"),Vr$2=Ut$3("species"),Ir$2=Array,Rr$2=Math.max;hr$2({target:"Array",proto:!0,forced:!Pr$2},{slice:function(t,e){var r,n,o,i=lt$3(this),a=Ue$3(i),l=$e$3(t,a),u=$e$3(void 0===e?a:e,a);if(pr$2(i)&&(r=i.constructor,(kr$2(r)&&(r===Ir$2||pr$2(r.prototype))||st$3(r)&&null===(r=r[Vr$2]))&&(r=void 0),r===Ir$2||void 0===r))return jr$2(i,l,u);for(n=new(void 0===r?Ir$2:r)(Rr$2(u-l,0)),o=0;l<u;l++,o++)l in i&&Ar$2(n,o,i[l]);return n.length=o,n}});var Lr$2,Dr$2=String,Br$2=function(t){if("Symbol"===xr$2(t))throw new TypeError("Cannot convert a Symbol value to a string");return Dr$2(t)},Wr$2=function(){var t=le$3(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},_r$2=L$3.RegExp,Fr$2=D$3((function(){var t=_r$2("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),$r$2=Fr$2||D$3((function(){return !_r$2("a","y").sticky})),qr$2={BROKEN_CARET:Fr$2||D$3((function(){var t=_r$2("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:$r$2,UNSUPPORTED_Y:Fr$2},Gr$2=Object.keys||function(t){return Qe$3(t,Ze$3)},Ur$2=B$3&&!oe$3?Object.defineProperties:function(t,e){le$3(t);for(var r,n=lt$3(e),o=Gr$2(e),i=o.length,a=0;i>a;)he$3.f(t,r=o[a++],n[r]);return t},Xr$2={f:Ur$2},Kr$2=ft$3("document","documentElement"),Yr$2="prototype",Jr$2="script",Qr$2=Ee$3("IE_PROTO"),Zr$2=function(){},tn$3=function(t){return "<"+Jr$2+">"+t+"</"+Jr$2+">"},en$3=function(t){t.write(tn$3("")),t.close();var e=t.parentWindow.Object;return t=null,e},rn$3=function(){try{Lr$2=new ActiveXObject("htmlfile");}catch(t){}var t,e,r;rn$3="undefined"!=typeof document?document.domain&&Lr$2?en$3(Lr$2):(e=te$3("iframe"),r="java"+Jr$2+":",e.style.display="none",Kr$2.appendChild(e),e.src=String(r),(t=e.contentWindow.document).open(),t.write(tn$3("document.F=Object")),t.close(),t.F):en$3(Lr$2);for(var n=Ze$3.length;n--;)delete rn$3[Yr$2][Ze$3[n]];return rn$3()};ke$3[Qr$2]=!0;var nn$3,on$3,an$3=Object.create||function(t,e){var r;return null!==t?(Zr$2[Yr$2]=le$3(t),r=new Zr$2,Zr$2[Yr$2]=null,r[Qr$2]=t):r=rn$3(),void 0===e?r:Xr$2.f(r,e)},ln$3=L$3.RegExp,un$3=D$3((function(){var t=ln$3(".","s");return !(t.dotAll&&t.test("\n")&&"s"===t.flags)})),cn$3=L$3.RegExp,sn$3=D$3((function(){var t=cn$3("(?<a>b)","g");return "b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),fn$3=Ve$3.get,dn$3=Vt$3("native-string-replace",String.prototype.replace),vn$3=RegExp.prototype.exec,hn$3=vn$3,pn$3=J$3("".charAt),yn$3=J$3("".indexOf),gn$3=J$3("".replace),bn$3=J$3("".slice),mn$3=(on$3=/b*/g,F$3(vn$3,nn$3=/a/,"a"),F$3(vn$3,on$3,"a"),0!==nn$3.lastIndex||0!==on$3.lastIndex),wn$3=qr$2.BROKEN_CARET,xn$3=void 0!==/()??/.exec("")[1];(mn$3||xn$3||wn$3||un$3||sn$3)&&(hn$3=function(t){var e,r,n,o,i,a,l,u=this,c=fn$3(u),s=Br$2(t),f=c.raw;if(f)return f.lastIndex=u.lastIndex,e=F$3(hn$3,f,s),u.lastIndex=f.lastIndex,e;var d=c.groups,v=wn$3&&u.sticky,h=F$3(Wr$2,u),p=u.source,y=0,g=s;if(v&&(h=gn$3(h,"y",""),-1===yn$3(h,"g")&&(h+="g"),g=bn$3(s,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==pn$3(s,u.lastIndex-1))&&(p="(?: "+p+")",g=" "+g,y++),r=new RegExp("^(?:"+p+")",h)),xn$3&&(r=new RegExp("^"+p+"$(?!\\s)",h)),mn$3&&(n=u.lastIndex),o=F$3(vn$3,v?r:u,g),v?o?(o.input=bn$3(o.input,y),o[0]=bn$3(o[0],y),o.index=u.lastIndex,u.lastIndex+=o[0].length):u.lastIndex=0:mn$3&&o&&(u.lastIndex=u.global?o.index+o[0].length:n),xn$3&&o&&o.length>1&&F$3(dn$3,o[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0);})),o&&d)for(o.groups=a=an$3(null),i=0;i<d.length;i++)a[(l=d[i])[0]]=o[l[1]];return o});var Sn$3=hn$3;hr$2({target:"RegExp",proto:!0,forced:/./.exec!==Sn$3},{exec:Sn$3});var zn$3,Mn$3=/"/g,Tn$3=J$3("".replace);hr$2({target:"String",proto:!0,forced:(zn$3="anchor",D$3((function(){var t=""[zn$3]('"');return t!==t.toLowerCase()||t.split('"').length>3})))},{anchor:function(t){return e="a",r="name",n=t,o=Br$2(at$3(this)),i="<"+e,""!==r&&(i+=" "+r+'="'+Tn$3(Br$2(n),Mn$3,"&quot;")+'"'),i+">"+o+"</"+e+">";var e,r,n,o,i;}});var On$3=function(t,e){return On$3=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]);},On$3(t,e)};var Nn$3=function(){return Nn$3=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},Nn$3.apply(this,arguments)};function En$3(t,e){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(u){return function(l){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(a=0)),a;)try{if(r=1,n&&(o=2&l[0]?n.return:l[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,l[1])).done)return o;switch(n=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,n=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==l[0]&&2!==l[0])){a=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){a.label=l[1];break}if(6===l[0]&&a.label<o[1]){a.label=o[1],o=l;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(l);break}o[2]&&a.ops.pop(),a.trys.pop();continue}l=e.call(t,a);}catch(t){l=[6,t],n=0;}finally{r=o=0;}if(5&l[0])throw l[1];return {value:l[0]?l[1]:void 0,done:!0}}([l,u])}}}function kn$3(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 An$3(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,o,i=r.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(n=i.next()).done;)a.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 a}function Hn$3(t,e,r){if(r||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 Cn$3=he$3.f,jn$3=Ut$3("unscopables"),Pn$3=Array.prototype;void 0===Pn$3[jn$3]&&Cn$3(Pn$3,jn$3,{configurable:!0,value:an$3(null)});var Vn$3,In$3,Rn$3,Ln$3=function(t){Pn$3[jn$3][t]=!0;},Dn$3={},Bn$3=!D$3((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Wn$3=Ee$3("IE_PROTO"),_n$3=Object,Fn$3=_n$3.prototype,$n$3=Bn$3?_n$3.getPrototypeOf:function(t){var e=Rt$3(t);if(Dt$3(e,Wn$3))return e[Wn$3];var r=e.constructor;return ct$3(r)&&e instanceof r?r.prototype:e instanceof _n$3?Fn$3:null},qn$3=Ut$3("iterator"),Gn$3=!1;[].keys&&("next"in(Rn$3=[].keys())?(In$3=$n$3($n$3(Rn$3)))!==Object.prototype&&(Vn$3=In$3):Gn$3=!0);var Un$3=!st$3(Vn$3)||D$3((function(){var t={};return Vn$3[qn$3].call(t)!==t}));Un$3&&(Vn$3={}),ct$3(Vn$3[qn$3])||Re$3(Vn$3,qn$3,(function(){return this}));var Xn$3={IteratorPrototype:Vn$3,BUGGY_SAFARI_ITERATORS:Gn$3},Kn$3=he$3.f,Yn$3=Ut$3("toStringTag"),Jn$3=function(t,e,r){t&&!r&&(t=t.prototype),t&&!Dt$3(t,Yn$3)&&Kn$3(t,Yn$3,{configurable:!0,value:e});},Qn$3=Xn$3.IteratorPrototype,Zn$3=function(){return this},to$2=String,eo$2=TypeError,ro$2=function(t){if(function(t){return st$3(t)||null===t}(t))return t;throw new eo$2("Can't set "+to$2(t)+" as a prototype")},no$2=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=function(t,e,r){try{return J$3(kt$3(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array;}catch(t){}return function(r,n){return at$3(r),ro$2(n),st$3(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0),oo$2=me$3.PROPER,io$2=me$3.CONFIGURABLE,ao$2=Xn$3.IteratorPrototype,lo$2=Xn$3.BUGGY_SAFARI_ITERATORS,uo$2=Ut$3("iterator"),co$2="keys",so$2="values",fo$2="entries",vo$2=function(){return this},ho$2=function(t,e,r,n,o,i,a){!function(t,e,r,n){var o=e+" Iterator";t.prototype=an$3(Qn$3,{next:U$3(+!n,r)}),Jn$3(t,o,!1),Dn$3[o]=Zn$3;}(r,e,n);var l,u,c,s=function(t){if(t===o&&p)return p;if(!lo$2&&t&&t in v)return v[t];switch(t){case co$2:case so$2:case fo$2:return function(){return new r(this,t)}}return function(){return new r(this)}},f=e+" Iterator",d=!1,v=t.prototype,h=v[uo$2]||v["@@iterator"]||o&&v[o],p=!lo$2&&h||s(o),y="Array"===e&&v.entries||h;if(y&&(l=$n$3(y.call(new t)))!==Object.prototype&&l.next&&($n$3(l)!==ao$2&&(no$2?no$2(l,ao$2):ct$3(l[uo$2])||Re$3(l,uo$2,vo$2)),Jn$3(l,f,!0)),oo$2&&o===so$2&&h&&h.name!==so$2&&(io$2?pe$3(v,"name",so$2):(d=!0,p=function(){return F$3(h,this)})),o)if(u={values:s(so$2),keys:i?p:s(co$2),entries:s(fo$2)},a)for(c in u)(lo$2||d||!(c in v))&&Re$3(v,c,u[c]);else hr$2({target:e,proto:!0,forced:lo$2||d},u);return v[uo$2]!==p&&Re$3(v,uo$2,p,{name:o}),Dn$3[e]=p,u},po$2=function(t,e){return {value:t,done:e}},yo$2=he$3.f,go$2="Array Iterator",bo$2=Ve$3.set,mo$2=Ve$3.getterFor(go$2),wo$2=ho$2(Array,"Array",(function(t,e){bo$2(this,{type:go$2,target:lt$3(t),index:0,kind:e});}),(function(){var t=mo$2(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=null,po$2(void 0,!0);switch(t.kind){case"keys":return po$2(r,!1);case"values":return po$2(e[r],!1)}return po$2([r,e[r]],!1)}),"values"),xo$2=Dn$3.Arguments=Dn$3.Array;if(Ln$3("keys"),Ln$3("values"),Ln$3("entries"),B$3&&"values"!==xo$2.name)try{yo$2(xo$2,"name",{value:"values"});}catch(t){}var So$2=gr$2?{}.toString:function(){return "[object "+xr$2(this)+"]"};gr$2||Re$3(Object.prototype,"toString",So$2,{unsafe:!0});var zo$2=J$3("".charAt),Mo$2=J$3("".charCodeAt),To$2=J$3("".slice),Oo$2=function(t){return function(e,r){var n,o,i=Br$2(at$3(e)),a=We$3(r),l=i.length;return a<0||a>=l?t?"":void 0:(n=Mo$2(i,a))<55296||n>56319||a+1===l||(o=Mo$2(i,a+1))<56320||o>57343?t?zo$2(i,a):n:t?To$2(i,a,a+2):o-56320+(n-55296<<10)+65536}},No$2={codeAt:Oo$2(!1),charAt:Oo$2(!0)},Eo$2=No$2.charAt,ko$2="String Iterator",Ao$2=Ve$3.set,Ho$2=Ve$3.getterFor(ko$2);ho$2(String,"String",(function(t){Ao$2(this,{type:ko$2,string:Br$2(t),index:0});}),(function(){var t,e=Ho$2(this),r=e.string,n=e.index;return n>=r.length?po$2(void 0,!0):(t=Eo$2(r,n),e.index+=t.length,po$2(t,!1))}));var Co$2=er$2.f,jo$2="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Po$2={f:function(t){return jo$2&&"Window"===tt$3(t)?function(t){try{return Co$2(t)}catch(t){return jr$2(jo$2)}}(t):Co$2(lt$3(t))}},Vo$2=D$3((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8});}})),Io$2=Object.isExtensible,Ro$2=D$3((function(){Io$2(1);}))||Vo$2?function(t){return !!st$3(t)&&((!Vo$2||"ArrayBuffer"!==tt$3(t))&&(!Io$2||Io$2(t)))}:Io$2,Lo$2=!D$3((function(){return Object.isExtensible(Object.preventExtensions({}))})),Do$2=P$3((function(t){var e=he$3.f,r=!1,n=Ft$3("meta"),o=0,i=function(t){e(t,n,{value:{objectID:"O"+o++,weakData:{}}});},a=t.exports={enable:function(){a.enable=function(){},r=!0;var t=er$2.f,e=J$3([].splice),o={};o[n]=1,t(o).length&&(er$2.f=function(r){for(var o=t(r),i=0,a=o.length;i<a;i++)if(o[i]===n){e(o,i,1);break}return o},hr$2({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Po$2.f}));},fastKey:function(t,e){if(!st$3(t))return "symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!Dt$3(t,n)){if(!Ro$2(t))return "F";if(!e)return "E";i(t);}return t[n].objectID},getWeakData:function(t,e){if(!Dt$3(t,n)){if(!Ro$2(t))return !0;if(!e)return !1;i(t);}return t[n].weakData},onFreeze:function(t){return Lo$2&&r&&Ro$2(t)&&!Dt$3(t,n)&&i(t),t}};ke$3[n]=!0;})),Bo$2=function(t){if("Function"===tt$3(t))return J$3(t)},Wo$2=Bo$2(Bo$2.bind),_o$2=function(t,e){return kt$3(t),void 0===e?t:W$3?Wo$2(t,e):function(){return t.apply(e,arguments)}},Fo$2=Ut$3("iterator"),$o$2=Array.prototype,qo$2=function(t){return void 0!==t&&(Dn$3.Array===t||$o$2[Fo$2]===t)},Go$2=Ut$3("iterator"),Uo$2=function(t){if(!ot$3(t))return At$3(t,Go$2)||At$3(t,"@@iterator")||Dn$3[xr$2(t)]},Xo$2=TypeError,Ko$2=function(t,e){var r=arguments.length<2?Uo$2(t):e;if(kt$3(r))return le$3(F$3(r,t));throw new Xo$2(Nt$3(t)+" is not iterable")},Yo$2=function(t,e,r){var n,o;le$3(t);try{if(!(n=At$3(t,"return"))){if("throw"===e)throw r;return r}n=F$3(n,t);}catch(t){o=!0,n=t;}if("throw"===e)throw r;if(o)throw n;return le$3(n),r},Jo$2=TypeError,Qo$2=function(t,e){this.stopped=t,this.result=e;},Zo$2=Qo$2.prototype,ti$2=function(t,e,r){var n,o,i,a,l,u,c,s=r&&r.that,f=!(!r||!r.AS_ENTRIES),d=!(!r||!r.IS_RECORD),v=!(!r||!r.IS_ITERATOR),h=!(!r||!r.INTERRUPTED),p=_o$2(e,s),y=function(t){return n&&Yo$2(n,"normal",t),new Qo$2(!0,t)},g=function(t){return f?(le$3(t),h?p(t[0],t[1],y):p(t[0],t[1])):h?p(t,y):p(t)};if(d)n=t.iterator;else if(v)n=t;else {if(!(o=Uo$2(t)))throw new Jo$2(Nt$3(t)+" is not iterable");if(qo$2(o)){for(i=0,a=Ue$3(t);a>i;i++)if((l=g(t[i]))&&dt$3(Zo$2,l))return l;return new Qo$2(!1)}n=Ko$2(t,o);}for(u=d?t.next:n.next;!(c=F$3(u,n)).done;){try{l=g(c.value);}catch(t){Yo$2(n,"throw",t);}if("object"==typeof l&&l&&dt$3(Zo$2,l))return l}return new Qo$2(!1)},ei$2=TypeError,ri$2=function(t,e){if(dt$3(e,t))return t;throw new ei$2("Incorrect invocation")},ni$2=Ut$3("iterator"),oi$2=!1;try{var ii$2=0,ai$2={next:function(){return {done:!!ii$2++}},return:function(){oi$2=!0;}};ai$2[ni$2]=function(){return this},Array.from(ai$2,(function(){throw 2}));}catch(t){}var li$2=function(t,e){try{if(!e&&!oi$2)return !1}catch(t){return !1}var r=!1;try{var n={};n[ni$2]=function(){return {next:function(){return {done:r=!0}}}},t(n);}catch(t){}return r},ui$2=function(t,e,r){var n=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),i=n?"set":"add",a=L$3[t],l=a&&a.prototype,u=a,c={},s=function(t){var e=J$3(l[t]);Re$3(l,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return !(o&&!st$3(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return o&&!st$3(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return !(o&&!st$3(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this});};if(dr$2(t,!ct$3(a)||!(o||l.forEach&&!D$3((function(){(new a).entries().next();})))))u=r.getConstructor(e,t,n,i),Do$2.enable();else if(dr$2(t,!0)){var f=new u,d=f[i](o?{}:-0,1)!==f,v=D$3((function(){f.has(1);})),h=li$2((function(t){new a(t);})),p=!o&&D$3((function(){for(var t=new a,e=5;e--;)t[i](e,e);return !t.has(-0)}));h||((u=e((function(t,e){ri$2(t,l);var r=function(t,e,r){var n,o;return no$2&&ct$3(n=e.constructor)&&n!==r&&st$3(o=n.prototype)&&o!==r.prototype&&no$2(t,o),t}(new a,t,u);return ot$3(e)||ti$2(e,r[i],{that:r,AS_ENTRIES:n}),r}))).prototype=l,l.constructor=u),(v||p)&&(s("delete"),s("has"),n&&s("get")),(p||d)&&s(i),o&&l.clear&&delete l.clear;}return c[t]=u,hr$2({global:!0,constructor:!0,forced:u!==a},c),Jn$3(u,t),o||r.setStrong(u,t,n),u},ci$2=function(t,e,r){for(var n in e)Re$3(t,n,e[n],r);return t},si$2=Ut$3("species"),fi$2=Array,di$2=function(t,e){return new(function(t){var e;return pr$2(t)&&(e=t.constructor,(kr$2(e)&&(e===fi$2||pr$2(e.prototype))||st$3(e)&&null===(e=e[si$2]))&&(e=void 0)),void 0===e?fi$2:e}(t))(0===e?0:e)},vi$2=J$3([].push),hi$2=function(t){var e=1===t,r=2===t,n=3===t,o=4===t,i=6===t,a=7===t,l=5===t||i;return function(u,c,s,f){for(var d,v,h=Rt$3(u),p=nt$3(h),y=Ue$3(p),g=_o$2(c,s),b=0,m=f||di$2,w=e?m(u,y):r||a?m(u,0):void 0;y>b;b++)if((l||b in p)&&(v=g(d=p[b],b,h),t))if(e)w[b]=v;else if(v)switch(t){case 3:return !0;case 5:return d;case 6:return b;case 2:vi$2(w,d);}else switch(t){case 4:return !1;case 7:vi$2(w,d);}return i?-1:n||o?o:w}},pi$2={forEach:hi$2(0),map:hi$2(1),filter:hi$2(2),some:hi$2(3),every:hi$2(4),find:hi$2(5),findIndex:hi$2(6),filterReject:hi$2(7)},yi$2=Do$2.getWeakData,gi$2=Ve$3.set,bi$2=Ve$3.getterFor,mi$2=pi$2.find,wi$2=pi$2.findIndex,xi$2=J$3([].splice),Si$2=0,zi$2=function(t){return t.frozen||(t.frozen=new Mi$2)},Mi$2=function(){this.entries=[];},Ti$2=function(t,e){return mi$2(t.entries,(function(t){return t[0]===e}))};Mi$2.prototype={get:function(t){var e=Ti$2(this,t);if(e)return e[1]},has:function(t){return !!Ti$2(this,t)},set:function(t,e){var r=Ti$2(this,t);r?r[1]=e:this.entries.push([t,e]);},delete:function(t){var e=wi$2(this.entries,(function(e){return e[0]===t}));return ~e&&xi$2(this.entries,e,1),!!~e}};var Oi$2={getConstructor:function(t,e,r,n){var o=t((function(t,o){ri$2(t,i),gi$2(t,{type:e,id:Si$2++,frozen:null}),ot$3(o)||ti$2(o,t[n],{that:t,AS_ENTRIES:r});})),i=o.prototype,a=bi$2(e),l=function(t,e,r){var n=a(t),o=yi$2(le$3(e),!0);return !0===o?zi$2(n).set(e,r):o[n.id]=r,t};return ci$2(i,{delete:function(t){var e=a(this);if(!st$3(t))return !1;var r=yi$2(t);return !0===r?zi$2(e).delete(t):r&&Dt$3(r,e.id)&&delete r[e.id]},has:function(t){var e=a(this);if(!st$3(t))return !1;var r=yi$2(t);return !0===r?zi$2(e).has(t):r&&Dt$3(r,e.id)}}),ci$2(i,r?{get:function(t){var e=a(this);if(st$3(t)){var r=yi$2(t);if(!0===r)return zi$2(e).get(t);if(r)return r[e.id]}},set:function(t,e){return l(this,t,e)}}:{add:function(t){return l(this,t,!0)}}),o}};ui$2("WeakSet",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),Oi$2);var Ni$2={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},Ei$2=te$3("span").classList,ki$2=Ei$2&&Ei$2.constructor&&Ei$2.constructor.prototype,Ai$2=ki$2===Object.prototype?void 0:ki$2,Hi$2=Ut$3("iterator"),Ci$2=wo$2.values,ji$2=function(t,e){if(t){if(t[Hi$2]!==Ci$2)try{pe$3(t,Hi$2,Ci$2);}catch(e){t[Hi$2]=Ci$2;}if(Jn$3(t,e,!0),Ni$2[e])for(var r in wo$2)if(t[r]!==wo$2[r])try{pe$3(t,r,wo$2[r]);}catch(e){t[r]=wo$2[r];}}};for(var Pi$2 in Ni$2)ji$2(L$3[Pi$2]&&L$3[Pi$2].prototype,Pi$2);ji$2(Ai$2,"DOMTokenList");var Vi$2,Ii$2=Ve$3.enforce,Ri$2=Object,Li$2=Array.isArray,Di$2=Ri$2.isExtensible,Bi$2=Ri$2.isFrozen,Wi$2=Ri$2.isSealed,_i$2=Ri$2.freeze,Fi$2=Ri$2.seal,$i$2=!L$3.ActiveXObject&&"ActiveXObject"in L$3,qi$2=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Gi$2=ui$2("WeakMap",qi$2,Oi$2),Ui$2=Gi$2.prototype,Xi$2=J$3(Ui$2.set);if(Oe$3)if($i$2){Vi$2=Oi$2.getConstructor(qi$2,"WeakMap",!0),Do$2.enable();var Ki$2=J$3(Ui$2.delete),Yi$2=J$3(Ui$2.has),Ji$2=J$3(Ui$2.get);ci$2(Ui$2,{delete:function(t){if(st$3(t)&&!Di$2(t)){var e=Ii$2(this);return e.frozen||(e.frozen=new Vi$2),Ki$2(this,t)||e.frozen.delete(t)}return Ki$2(this,t)},has:function(t){if(st$3(t)&&!Di$2(t)){var e=Ii$2(this);return e.frozen||(e.frozen=new Vi$2),Yi$2(this,t)||e.frozen.has(t)}return Yi$2(this,t)},get:function(t){if(st$3(t)&&!Di$2(t)){var e=Ii$2(this);return e.frozen||(e.frozen=new Vi$2),Yi$2(this,t)?Ji$2(this,t):e.frozen.get(t)}return Ji$2(this,t)},set:function(t,e){if(st$3(t)&&!Di$2(t)){var r=Ii$2(this);r.frozen||(r.frozen=new Vi$2),Yi$2(this,t)?Xi$2(this,t,e):r.frozen.set(t,e);}else Xi$2(this,t,e);return this}});}else Lo$2&&D$3((function(){var t=_i$2([]);return Xi$2(new Gi$2,t,1),!Bi$2(t)}))&&ci$2(Ui$2,{set:function(t,e){var r;return Li$2(t)&&(Bi$2(t)?r=_i$2:Wi$2(t)&&(r=Fi$2)),Xi$2(this,t,e),r&&r(t),this}});var Qi$2=new WeakMap,Zi$2=new WeakMap,ta$3=Ke$3.includes,ea$3=D$3((function(){return !Array(1).includes()}));hr$2({target:"Array",proto:!0,forced:ea$3},{includes:function(t){return ta$3(this,t,arguments.length>1?arguments[1]:void 0)}}),Ln$3("includes");var ra$3=pi$2.map,na$3=Cr$2("map");hr$2({target:"Array",proto:!0,forced:!na$3},{map:function(t){return ra$3(this,t,arguments.length>1?arguments[1]:void 0)}});var oa$3=Ut$3("match"),ia$3=TypeError,aa$3=function(t){if(function(t){var e;return st$3(t)&&(void 0!==(e=t[oa$3])?!!e:"RegExp"===tt$3(t))}(t))throw new ia$3("The method doesn't accept regular expressions");return t},la$3=Ut$3("match"),ua$3=J$3("".indexOf);hr$2({target:"String",proto:!0,forced:!function(t){var e=/./;try{"/./"[t](e);}catch(r){try{return e[la$3]=!1,"/./"[t](e)}catch(t){}}return !1}("includes")},{includes:function(t){return !!~ua$3(Br$2(at$3(this)),Br$2(aa$3(t)),arguments.length>1?arguments[1]:void 0)}});var ca$3={blocks:{td:"table-cell",th:"table-cell",content:"paragraph",tr:"table-row",table:"table",tbody:"table-body"}};function sa$3(t){for(var e=[],r=1;r<arguments.length;r++)e[r-1]=arguments[r];var n=ca$3,a=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 !Editor.isEditor(t)&&Element$1.isElement(t)&&"type"in t}(t)&&a.includes(t.type)}}function fa$3(t,e){for(var r=An$3(e,2),n=r[0],i=r[1],l=[],u=2;u<arguments.length;u++)l[u-2]=arguments[u];var c=An$3(Node$1.common(t,n,i),2),s=c[0],f=c[1];return !!sa$3.apply(void 0,Hn$3([t],An$3(l)))(s,f)||!!Editor.above(t,{match:sa$3.apply(void 0,Hn$3([t],An$3(l))),at:f})}function da$3(t,e){var r,n;void 0===e&&(e={});var i=[];try{for(var a=kn$3(function(t,e){var r,n,i,a,l,u,c,s,f,d,v,h,p,y,g,b,m,w;return void 0===e&&(e={}),En$3(this,(function(x){switch(x.label){case 0:if(r=An$3(Editor.nodes(t,{match:sa$3(t,"table"),at:e.at}),1),!(n=r[0]))return [2,[]];i=An$3(n,2),a=i[1],x.label=1;case 1:x.trys.push([1,6,7,8]),l=kn$3(Editor.nodes(t,{match:sa$3(t,"table"),at:a})),u=l.next(),x.label=2;case 2:if(u.done)return [3,5];c=An$3(u.value,2),s=c[1],f=[];try{for(m=void 0,d=kn$3(Editor.nodes(t,{match:sa$3(t,"tr"),at:s})),v=d.next();!v.done;v=d.next())h=An$3(v.value,2),p=h[1],f.push(Hn$3([],An$3(Editor.nodes(t,{match:sa$3(t,"th","td"),at:p}))));}catch(t){m={error:t};}finally{try{v&&!v.done&&(w=d.return)&&w.call(d);}finally{if(m)throw m.error}}return [4,f];case 3:x.sent(),x.label=4;case 4:return u=l.next(),[3,2];case 5:return [3,8];case 6:return y=x.sent(),g={error:y},[3,8];case 7:try{u&&!u.done&&(b=l.return)&&b.call(l);}finally{if(g)throw g.error}return [7];case 8:return [2]}}))}(t,{at:e.at})),l=a.next();!l.done;l=a.next()){for(var u=l.value,c=[],s=0;s<u.length;s++){c[s]||(c[s]=[]);for(var f=0;f<u[s].length;f++)for(var d=An$3(u[s][f],1)[0],v=d.rowSpan,h=void 0===v?1:v,p=d.colSpan,y=void 0===p?1:p,g=0;g<y+0;g++)for(var b=0;b<h;b++)c[s+b]||(c[s+b]=[]),c[s+b][f+g]||(c[s+b][f+g]=[u[s+b][f+g],{rtl:g-0+1,ltr:y-g+0,ttb:b+1,btt:h-b}]);}i.push.apply(i,Hn$3([],An$3(c)));}}catch(t){r={error:t};}finally{try{l&&!l.done&&(n=a.return)&&n.call(a);}finally{if(r)throw r.error}}return i}var va$2=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}(),ha$3={isInTable:function(t,e){return void 0===e&&(e={}),!!An$3(Editor.nodes(t,{match:sa$3(t,"table"),at:e.at}),1)[0]},selection:function(t){var e,r,n,o,i,a,l,u;return En$3(this,(function(c){switch(c.label){case 0:e=Qi$2.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++)i=An$3(e[r][o],2),a=i[0],l=i[1],u=l.ltr,1===l.ttb&&n.push(a),o+=u-1;return [4,n];case 2:c.sent(),c.label=3;case 3:return r++,[3,1];case 4:return [2]}}))},unselect:function(t){Zi$2.delete(t),Qi$2.delete(t);},isSelected:function(t,e){var r=Zi$2.get(t);return !!r&&r.has(e)}};function pa$3(t){var r=t.selection;if(null==r)return !1;var n=An$3(Editor.nodes(t,{match:function(t){return Ic$2.checkNodeType(t,"table-cell")}}),1)[0];if(n){var i=An$3(n,2)[1],a=Editor.start(t,i);if(Point.equals(r.anchor,a))return !0}return !1}var ya$2=pi$2.find,ga$3="find",ba$3=!0;ga$3 in[]&&Array(1)[ga$3]((function(){ba$3=!1;})),hr$2({target:"Array",proto:!0,forced:ba$3},{find:function(t){return ya$2(this,t,arguments.length>1?arguments[1]:void 0)}}),Ln$3(ga$3);var ma$3="\t\n\v\f\r                 \u2028\u2029\ufeff",wa$2=J$3("".replace),xa$2=RegExp("^["+ma$3+"]+"),Sa$3=RegExp("(^|[^"+ma$3+"])["+ma$3+"]+$"),za$1=function(t){return function(e){var r=Br$2(at$3(e));return 1&t&&(r=wa$2(r,xa$2,"")),2&t&&(r=wa$2(r,Sa$3,"$1")),r}},Ma$1={start:za$1(1),end:za$1(2),trim:za$1(3)},Ta$3=me$3.PROPER,Oa$2=Ma$1.trim;function Na$2(t){return t.length?t[0].tagName.toLowerCase():""}function Ea$3(t,e){for(var r="",n=(t.attr("style")||"").split(";"),o=n.length,i=0;i<o;i++){var a=n[i];if(a){var l=a.split(":");l[0].trim()===e&&(r=l[1].trim());}}return r}function ka$2(t){var e,r,n=[],o=t.reduce((function(t,e){return t+e}),0);try{for(var i=kn$3(t),a=i.next();!a.done;a=i.next()){var l=a.value;n.push(l/o);}}catch(t){e={error:t};}finally{try{a&&!a.done&&(r=i.return)&&r.call(i);}finally{if(e)throw e.error}}return n}hr$2({target:"String",proto:!0,forced:function(t){return D$3((function(){return !!ma$3[t]()||"​…᠎"!=="​…᠎"[t]()||Ta$3&&ma$3[t].name!==t}))}("trim")},{trim:function(){return Oa$2(this)}}),hr$2({global:!0,forced:L$3.globalThis!==L$3},{globalThis:L$3}),append&&($$6.fn.append=append),on$7&&($$6.fn.on=on$7),focus&&($$6.fn.focus=focus),attr&&($$6.fn.attr=attr),val&&($$6.fn.val=val),html&&($$6.fn.html=html),dataset&&($$6.fn.dataset=dataset),addClass&&($$6.fn.addClass=addClass),removeClass&&($$6.fn.removeClass=removeClass),children&&($$6.fn.children=children),each&&($$6.fn.each=each),find&&($$6.fn.find=find),data&&($$6.fn.data=data),hide&&($$6.fn.hide=hide),show&&($$6.fn.show=show);var Aa$2=null;var Ha$1=!1,Ca$2=!1,ja$2=0,Pa$2=0,Va$1=null,Ia$2=$$6(window);Ia$2.on("mousedown",(function(t){var e=t.target;if(e.closest('[data-block-type="table-cell"]'))Ha$1=!0;else if("DIV"==e.tagName&&e.closest(".column-resizer-item")){if(null==Va$1)return;var r=An$3(Editor.nodes(Va$1,{match:sa$3(Va$1,"table")}),1),n=An$3(r[0],1)[0],i=n.columnWidths,a=void 0===i?[]:i,l=n.resizingIndex,u=void 0===l?-1:l;Ca$2=!0;var c=t.clientX;ja$2=c,Pa$2=a[u],document.body.style.cursor="col-resize",t.preventDefault();}Ia$2.on("mousemove",Ra$2),Ia$2.on("mouseup",La$2);}));var Ra$2=lodash_throttle((function(t){if(Ca$2&&null!=Va$1){t.preventDefault();var e=t.clientX,r=Pa$2+(e-ja$2);(r=Math.floor(100*r)/100)<30&&(r=30);var n=An$3(Editor.nodes(Va$1,{match:sa$3(Va$1,"table")}),1),i=An$3(n[0],1)[0],a=i.columnWidths,l=void 0===a?[]:a,u=i.resizingIndex,c=void 0===u?-1:u,f=l.reduce((function(t,e){return t+e}),0)-l[c],d=document.querySelector(".table-container");if(!(d&&f+r>d.clientWidth)){var v=Hn$3([],An$3(l)).map((function(t){return Math.floor(t)}));v[c]=r,Transforms.setNodes(Va$1,{columnWidths:v},{mode:"highest"});}}}),100);function La$2(t){Ha$1=!1,Ca$2=!1,Va$1=null,document.body.style.cursor="",Ia$2.off("mousemove",Ra$2),Ia$2.off("mouseup",La$2);}function Da$1(t,e,n,o){if(!t.isDisabled()&&!Ha$1&&!Ca$2){var i=e,a=i.width,l=void 0===a?"auto":a,u=i.columnWidths,c=void 0===u?[]:u,f=i.isHoverCellBorder,d=i.resizingIndex,v=n.clientX,h=n.target;if(ic$2(h))if(v>(g=h.getBoundingClientRect()).x+5&&v<g.x+g.width-5)return void(f&&Transforms.setNodes(t,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"}));if(ic$2(h)){var p=h.closest(".table");if(p)for(var y=n.clientX,g=p.getBoundingClientRect(),b=function(t){var e,r,n=[],o=0;try{for(var i=kn$3(t),a=i.next();!a.done;a=i.next())o+=a.value,n.push(o);}catch(t){e={error:t};}finally{try{a&&!a.done&&(r=i.return)&&r.call(i);}finally{if(e)throw e.error}}return n}("100%"===l?ka$2(c).map((function(t){return t*o})):c),m=0;m<b.length;m++)if(y-g.x>=b[m]-5&&y-g.x<b[m]+5){if(d==m)return;return void Transforms.setNodes(t,{isHoverCellBorder:!0,resizingIndex:m},{mode:"highest"})}}1==f&&Transforms.setNodes(t,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"});}}function Ba$1(t,e){"mouseenter"===e.type?Transforms.setNodes(t,{isResizing:!0},{mode:"highest"}):Transforms.setNodes(t,{isResizing:!1},{mode:"highest"});}function Wa$1(t){var e=t.children||[];return 0===e.length?[]:(e[0]||{}).children||[]}function _a$1(t){return Wa$1(t).every((function(t){return !!t.isHeader}))}var Fa$1={type:"table",renderElem:function(t,n,i){var a=function(t,r){if(t.isDisabled())return !1;var n=t.selection;if(null==n)return !0;if(Range.isCollapsed(n))return !0;var i=n.anchor,a=n.focus,l=Ic$2.findPath(t,r),s=Editor.start(t,l),d=Editor.end(t,l),v=Point.compare(i,d)<=0&&Point.compare(i,s)>=0,h=Point.compare(a,d)<=0&&Point.compare(a,s)>=0;return !!(v&&h&&Path.equals(i.path.slice(0,3),a.path.slice(0,3)))}(i,t),l=t,d=l.width,y=void 0===d?"auto":d,g=l.height,b=l.columnWidths,m=void 0===b?[]:b,w=l.scrollWidth,x=void 0===w?0:w,S=l.isHoverCellBorder,z=l.resizingIndex,M=l.isResizing,T=Ic$2.isNodeSelected(i,t),O=An$3(ha$3.selection(i),1)[0],N=ka$2(m),E=jsx("div",{className:"table-container","data-selected":T,on:{mousedown:function(r){if("DIV"===r.target.tagName&&r.preventDefault(),!i.isDisabled()){r.target.closest('[data-block-type="table-cell"]')&&ha$3.unselect(i);var n=Ic$2.findPath(i,t),a=Editor.start(i,n),l=i.selection;if(null!=l)l.anchor.path[0]!==n[0]&&i.select(a);else i.select(a);}}}},jsx("table",{width:y,contentEditable:a,className:"table "+(O?"table-selection-none":""),style:{width:"100%"==y?y:m.reduce((function(t,e){return t+e}),0)+"px"},on:{mousemove:lodash_debounce((function(e){return Da$1(i,t,e,x)}),25)}},jsx("colgroup",{contentEditable:!1},m.map((function(t){return jsx("col",{width:t})}))),jsx("tbody",null,n)),jsx("div",{className:"column-resizer",contenteditable:"false"},m.map((function(t,e){var r=t;return "100%"==y&&(r=N[e]*x),jsx("div",{className:"column-resizer-item",style:{minWidth:r+"px"}},jsx("div",{className:"resizer-line-hotzone "+(S&&e==z?"visible ":"")+(M&&e==z?"highlight":""),style:{height:g+"px"},on:{mouseenter:function(t){return Ba$1(i,t)},mouseleave:function(t){return Ba$1(i,t)},mousedown:function(t){return function(t){Ca$2||(Va$1=t);}(i)}}},jsx("div",{className:"resizer-line"})))})))),k=h$3("div",{hook:{insert:function(t){var e=t.elm;return function(t,e){if(ic$2(e)){var n=e.querySelector("table");n&&(Aa$2=new ResizeObserver((function(e){var r=An$3(e,1)[0].contentRect;Transforms.setNodes(t,{scrollWidth:r.width,height:r.height},{mode:"highest"});})),Aa$2.observe(n));}}(i,e)},destroy:function(){Aa$2&&(null==Aa$2||Aa$2.disconnect(),Aa$2=null);}}},E);return k}},$a$1={type:"table-row",renderElem:function(t,e,r){return jsx("tr",null,e)}},qa$1={type:"table-cell",renderElem:function(t,r,n){var o=function(t,r){var n=Ic$2.getParentNode(t,r);if(null==n)return !1;var o=Ic$2.getParentNode(t,n);return null!=o&&Wa$1(o).some((function(t){return t===r}))}(n,t),i=t,a=i.colSpan,l=void 0===a?1:a,u=i.rowSpan,c=void 0===u?1:u,s=i.isHeader,f=void 0!==s&&s,d=i.hidden,v=void 0!==d&&d,p=ha$3.isSelected(n,t);return jsx(o&&f?"th":"td",{colSpan:l,rowSpan:c,"data-block-type":"table-cell",className:p?"w-e-selected":"",style:{display:v?"none":""}},r)}},Ga$1=function(t,e){var r=[][t];return !!r&&D$3((function(){r.call(null,e||function(){return 1},1);}))},Ua$1=J$3([].join),Xa$1=nt$3!==Object||!Ga$1("join",",");hr$2({target:"Array",proto:!0,forced:Xa$1},{join:function(t){return Ua$1(lt$3(this),void 0===t?",":t)}});var Ka$1={type:"table",elemToHtml:function(t,e){var r=t,n=r.width,o=void 0===n?"auto":n,i=r.columnWidths,a=r.height,l=void 0===a?"auto":a,u=null==i?void 0:i.map((function(t){return "<col width="+t+"></col>"})).join("");return '<table style="width: '+o+";table-layout: fixed;height:"+l+'">'+(u?'<colgroup contentEditable="false">'+u+"</colgroup>":"")+"<tbody>"+e+"</tbody></table>"}},Ya$1={type:"table-row",elemToHtml:function(t,e){return "<tr>"+e+"</tr>"}},Ja$1={type:"table-cell",elemToHtml:function(t,e){var r=t,n=r.colSpan,o=void 0===n?1:n,i=r.rowSpan,a=void 0===i?1:i,l=r.isHeader,u=void 0!==l&&l,c=r.width,s=void 0===c?"auto":c,f=r.hidden,d=u?"th":"td";return "<"+d+' colSpan="'+o+'" rowSpan="'+a+'" width="'+s+'" style="'+(void 0!==f&&f?"display:none":"")+'">'+e+"</"+d+">"}};var Qa$1={selector:"table",preParseHtml:function(t){var e=$$6(t);if("table"!==Na$2(e))return t;var r=e.find("tbody");if(0===r.length)return t;var n=e.find("tr");return e.append(n),r.remove(),e[0]}},Za$1=Object.assign,tl=Object.defineProperty,el=J$3([].concat),rl=!Za$1||D$3((function(){if(B$3&&1!==Za$1({b:1},Za$1(tl({},"a",{enumerable:!0,get:function(){tl(this,"b",{value:3,enumerable:!1});}}),{b:2})).b)return !0;var t={},e={},r=Symbol("assign detection"),n="abcdefghijklmnopqrst";return t[r]=7,n.split("").forEach((function(t){e[t]=t;})),7!==Za$1({},t)[r]||Gr$2(Za$1({},e)).join("")!==n}))?function(t,e){for(var r=Rt$3(t),n=arguments.length,o=1,i=rr$2.f,a=G$3.f;n>o;)for(var l,u=nt$3(arguments[o++]),c=i?el(Gr$2(u),i(u)):Gr$2(u),s=c.length,f=0;s>f;)l=c[f++],B$3&&!F$3(a,u,l)||(r[l]=u[l]);return r}:Za$1;function nl(t,e){null==t.data&&(t.data={});var r=t.data;null==r.style&&(r.style={}),Object.assign(r.style,e);}hr$2({target:"Object",stat:!0,arity:2,forced:Object.assign!==rl},{assign:rl});var ol,il=Function.prototype,al=il.apply,ll=il.call,ul="object"==typeof Reflect&&Reflect.apply||(W$3?ll.bind(al):function(){return ll.apply(al,arguments)}),cl=Ut$3("species"),sl=RegExp.prototype,fl=function(t,e,r,n){var o=Ut$3(t),i=!D$3((function(){var e={};return e[o]=function(){return 7},7!==""[t](e)})),a=i&&!D$3((function(){var e=!1,r=/a/;return "split"===t&&((r={}).constructor={},r.constructor[cl]=function(){return r},r.flags="",r[o]=/./[o]),r.exec=function(){return e=!0,null},r[o](""),!e}));if(!i||!a||r){var l=/./[o],u=e(o,""[t],(function(t,e,r,n,o){var a=e.exec;return a===Sn$3||a===sl.exec?i&&!o?{done:!0,value:F$3(l,e,r,n)}:{done:!0,value:F$3(t,r,e,n)}:{done:!1}}));Re$3(String.prototype,t,u[0]),Re$3(sl,o,u[1]);}n&&pe$3(sl[o],"sham",!0);},dl=No$2.charAt,vl=function(t,e,r){return e+(r?dl(t,e).length:1)},hl=Math.floor,pl=J$3("".charAt),yl=J$3("".replace),gl=J$3("".slice),bl=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ml=/\$([$&'`]|\d{1,2})/g,wl=function(t,e,r,n,o,i){var a=r+t.length,l=n.length,u=ml;return void 0!==o&&(o=Rt$3(o),u=bl),yl(i,u,(function(i,u){var c;switch(pl(u,0)){case"$":return "$";case"&":return t;case"`":return gl(e,0,r);case"'":return gl(e,a);case"<":c=o[gl(u,1,-1)];break;default:var s=+u;if(0===s)return i;if(s>l){var f=hl(s/10);return 0===f?i:f<=l?void 0===n[f-1]?pl(u,1):n[f-1]+pl(u,1):i}c=n[s-1];}return void 0===c?"":c}))},xl=TypeError,Sl=function(t,e){var r=t.exec;if(ct$3(r)){var n=F$3(r,t,e);return null!==n&&le$3(n),n}if("RegExp"===tt$3(t))return F$3(Sn$3,t,e);throw new xl("RegExp#exec called on incompatible receiver")},zl=Ut$3("replace"),Ml=Math.max,Tl=Math.min,Ol=J$3([].concat),Nl=J$3([].push),El=J$3("".indexOf),kl=J$3("".slice),Al="$0"==="a".replace(/./,"$0"),Hl=!!/./[zl]&&""===/./[zl]("a","$0");fl("replace",(function(t,e,r){var n=Hl?"$":"$0";return [function(t,r){var n=at$3(this),o=ot$3(t)?void 0:At$3(t,zl);return o?F$3(o,t,n,r):F$3(e,Br$2(n),t,r)},function(t,o){var i=le$3(this),a=Br$2(t);if("string"==typeof o&&-1===El(o,n)&&-1===El(o,"$<")){var l=r(e,i,a,o);if(l.done)return l.value}var u=ct$3(o);u||(o=Br$2(o));var c,s=i.global;s&&(c=i.unicode,i.lastIndex=0);for(var f,d=[];null!==(f=Sl(i,a))&&(Nl(d,f),s);){""===Br$2(f[0])&&(i.lastIndex=vl(a,Ge$3(i.lastIndex),c));}for(var v,h="",p=0,y=0;y<d.length;y++){for(var g,b=Br$2((f=d[y])[0]),m=Ml(Tl(We$3(f.index),a.length),0),w=[],x=1;x<f.length;x++)Nl(w,void 0===(v=f[x])?v:String(v));var S=f.groups;if(u){var z=Ol([b],w,m,a);void 0!==S&&Nl(z,S),g=Br$2(ul(o,void 0,z));}else g=wl(b,a,m,w,S,o);m>=p&&(h+=kl(a,p,m)+g,p=m+b.length);}return h+kl(a,p)}]}),!!D$3((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!Al||Hl);var Cl=null===(ol=null===window||void 0===window?void 0:window.getComputedStyle(document.documentElement))||void 0===ol?void 0:ol.getPropertyValue("--w-e-textarea-border-color");var jl=pi$2.filter,Pl=Cr$2("filter");hr$2({target:"Array",proto:!0,forced:!Pl},{filter:function(t){return jl(this,t,arguments.length>1?arguments[1]:void 0)}});var Vl=function(t,e,r,n){try{return n?e(le$3(r)[0],r[1]):e(r)}catch(e){Yo$2(t,"throw",e);}},Il=Array,Rl=!li$2((function(t){Array.from(t);}));hr$2({target:"Array",stat:!0,forced:Rl},{from:function(t){var e=Rt$3(t),r=kr$2(this),n=arguments.length,o=n>1?arguments[1]:void 0,i=void 0!==o;i&&(o=_o$2(o,n>2?arguments[2]:void 0));var a,l,u,c,s,f,d=Uo$2(e),v=0;if(!d||this===Il&&qo$2(d))for(a=Ue$3(e),l=r?new this(a):Il(a);a>v;v++)f=i?o(e[v],v):e[v],Ar$2(l,v,f);else for(l=r?new this:[],s=(c=Ko$2(e,d)).next;!(u=F$3(s,c)).done;v++)f=i?Vl(c,o,[u.value,v],!0):u.value,Ar$2(l,v,f);return l.length=v,l}});var Ll=pi$2.forEach,Dl=Ga$1("forEach")?[].forEach:function(t){return Ll(this,t,arguments.length>1?arguments[1]:void 0)},Bl=function(t){if(t&&t.forEach!==Dl)try{pe$3(t,"forEach",Dl);}catch(e){t.forEach=Dl;}};for(var Wl in Ni$2)Ni$2[Wl]&&Bl(L$3[Wl]&&L$3[Wl].prototype);Bl(Ai$2);var _l={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(t,r,n){var o=$$6(t);0===(r=r.filter((function(t){return "paragraph"===Ic$2.getNodeType(t)||(!!Text.isText(t)||!!n.isInline(t))}))).length&&(r=[{text:o.text().replace(/\s+/gm," ")}]);var i=parseInt(o.attr("colSpan")||"1"),a=parseInt(o.attr("rowSpan")||"1"),l="none"===Ea$3(o,"display"),u=o.attr("width")||"auto";return {type:"table-cell",isHeader:"th"===Na$2(o),colSpan:i,rowSpan:a,width:u,children:r,hidden:l}}};var Fl={selector:"tr:not([data-w-e-type])",parseElemHtml:function(t,r,n){return {type:"table-row",children:r.filter((function(t){return "table-cell"===Ic$2.getNodeType(t)}))}}};var $l={selector:"table:not([data-w-e-type])",parseElemHtml:function(t,r,n){var o,i,a=$$6(t),l="auto";"100%"===Ea$3(a,"width")&&(l="100%"),"100%"===a.attr("width")&&(l="100%");var u={type:"table",width:l,height:parseInt(Ea$3(a,"height")||"0"),children:r.filter((function(t){return "table-row"===Ic$2.getNodeType(t)}))},c=(null===(o=a.find("tr")[0])||void 0===o?void 0:o.children)||[],s=(null===(i=a.find("colgroup")[0])||void 0===i?void 0:i.children)||null;if(s)u.columnWidths=Array.from(s).map((function(t){return parseInt(t.getAttribute("width"))}));else if(c.length>0){var f=[];Array.from(c).forEach((function(t){for(var e=parseInt($$6(t).attr("colspan")||"1",10),r=parseInt(Ea$3($$6(t),"width")||"180",10),n=0;n<e;n++)f.push(r);})),u.columnWidths=f;}return u}};hr$2({target:"Array",proto:!0},{fill:function(t){for(var e=Rt$3(this),r=Ue$3(e),n=arguments.length,o=$e$3(n>1?arguments[1]:void 0,r),i=n>2?arguments[2]:void 0,a=void 0===i?r:$e$3(i,r);a>o;)e[o++]=t;return e}}),Ln$3("fill");var ql=RegExp.prototype,Gl=me$3.PROPER,Ul="toString",Xl=RegExp.prototype,Kl=Xl[Ul],Yl=D$3((function(){return "/a/b"!==Kl.call({source:"a",flags:"b"})})),Jl=Gl&&Kl.name!==Ul;(Yl||Jl)&&Re$3(Xl,Ul,(function(){var t=le$3(this),e=Br$2(t.source),r=Br$2(function(t){var e=t.flags;return void 0!==e||"flags"in ql||Dt$3(t,"flags")||!dt$3(ql,t)?e:F$3(Wr$2,t)}(t));return "/"+e+"/"+r}),{unsafe:!0});var Ql='<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>';var Zl=function(){function t(){this.title=Wp$1("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 r=t.selection;return null==r||(!Range.isCollapsed(r)||!!Ic$2.getSelectedElems(t).some((function(r){var n=Ic$2.getNodeType(r);return "pre"===n||("table"===n||("list-item"===n||!!t.isVoid(r)))})))},t.prototype.getPanelContentElem=function(t){var e=this;if(this.$content)return this.$content[0];for(var r=$$6('<div class="w-e-panel-content-table"></div>'),n=$$6("<span>0 &times; 0</span>"),o=$$6("<table></table>"),i=0;i<10;i++){for(var a=$$6("<tr></tr>"),l=0;l<10;l++){var u=$$6("<td></td>");u.attr("data-x",l.toString()),u.attr("data-y",i.toString()),a.append(u),u.on("mouseenter",(function(t){var e=t.target;if(null!=e){var r=$$6(e).dataset(),i=r.x,a=r.y;n[0].innerHTML=i+1+" &times; "+(a+1),o.children().each((function(t){$$6(t).children().each((function(t){var e=$$6(t),r=e.dataset(),n=r.x,o=r.y;n<=i&&o<=a?e.addClass("active"):e.removeClass("active");}));}));}})),u.on("click",(function(r){r.preventDefault();var n=r.target;if(null!=n){var o=$$6(n).dataset(),i=o.x,a=o.y;e.insertTable(t,a+1,i+1);}}));}o.append(a);}return r.append(o),r.append(n),this.$content=r,r[0]},t.prototype.insertTable=function(t,r,n){var o=parseInt(r,10),i=parseInt(n,10);if(o&&i&&!(o<=0||i<=0)){if(Ic$2.isSelectedEmptyParagraph(t)&&Transforms.removeNodes(t,{mode:"highest"}),0===t.children.length){Transforms.insertNodes(t,{type:"paragraph",children:[{text:""}]},{mode:"highest"});}var a=function(t,e,r){for(var n,o=[],i=t.getMenuConfig("insertTable"),a=i.minWidth,l=void 0===a?60:a,u=i.tableFullWidth,c=i.tableHeader,s=Array(r).fill(parseInt(l)||60),f=0;f<e;f++){for(var d=[],v=0;v<r;v++){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==u?void 0:u.selected)?"100%":"auto",children:o,columnWidths:s}}(t,o,i);Transforms.insertNodes(t,a,{mode:"highest"});}},t}(),tu$2=function(){function t(){this.title=Wp$1("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==Ic$2.getSelectedNodeByType(t,"table")},t.prototype.exec=function(t,e){this.isDisabled(t)||Transforms.removeNodes(t,{mode:"highest"});},t}(),eu$2=function(){function t(){this.title=Wp$1("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 r=t.selection;return null==r||(!Range.isCollapsed(r)||null==Ic$2.getSelectedNodeByType(t,"table"))},t.prototype.exec=function(t,r){if(!this.isDisabled(t)){var n=An$3(Editor.nodes(t,{match:function(t){return Ic$2.checkNodeType(t,"table-cell")},universal:!0}),1),i=An$3(n[0],2),a=i[0],l=i[1],u=Ic$2.getParentNode(t,a),f=(null==u?void 0:u.children.length)||0;if(0!==f){var d=da$3(t),v=0;t:for(var h=0;h<d.length;h++)for(var p=0;p<d[h].length;p++){var y=An$3(d[h][p],1),g=An$3(y[0],2)[1];if(Path.equals(l,g)){v=h;break t}}Editor.withoutNormalizing(t,(function(){for(var e=v+1,r=e>=0&&e<d.length,n=[],o=0;r&&o<d[v].length;o++){var i=An$3(d[v][o],2)[1],a=i.ttb,u=i.btt;if(a>1||u>1){if(1==u)continue;var h=An$3(d[v-(a-1)][o],1),p=An$3(h[0],2),y=p[0],g=p[1],b=y.rowSpan||1;n.push(o),y.hidden||Transforms.setNodes(t,{rowSpan:b+1},{at:g});}}for(var m={type:"table-row",children:[]},w=0;w<f;w++){var x={type:"table-cell",hidden:n.includes(w),children:[{text:""}]};m.children.push(x);}var S=Path.parent(l),z=Path.next(S);Transforms.insertNodes(t,m,{at:z});}));}}},t}(),ru$2=function(){function t(){this.title=Wp$1("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 r=t.selection;return null==r||(!Range.isCollapsed(r)||null==Ic$2.getSelectedNodeByType(t,"table-row"))},t.prototype.exec=function(t,r){if(!this.isDisabled(t)){var n=An$3(Editor.nodes(t,{match:function(t){return Ic$2.checkNodeType(t,"table-row")},universal:!0}),1),i=An$3(n[0],2),l=i[0],u=i[1],f=Ic$2.getParentNode(t,l);if(((null==f?void 0:f.children.length)||0)<=1)Transforms.removeNodes(t,{mode:"highest"});else {var d=An$3(Editor.nodes(t,{match:function(t){return Ic$2.checkNodeType(t,"table-cell")},universal:!0}),1),v=An$3(d[0],2)[1],h=da$3(t),p=0;t:for(var y=0;y<h.length;y++)for(var g=0;g<h[y].length;g++){var b=An$3(h[y][g],1),m=An$3(b[0],2)[1];if(Path.equals(v,m)){p=y;break t}}Editor.withoutNormalizing(t,(function(){for(var e,r,n=0;n<h[p].length;n++){var o=An$3(h[p][n],2),i=An$3(o[0],1)[0].hidden,l=o[1],c=l.ttb,f=l.btt;if(c>1||f>1){var d=An$3(h[p-(c-1)][n],1),v=An$3(d[0],2),y=v[0],g=y.rowSpan,b=void 0===g?1:g,m=y.colSpan,w=void 0===m?1:m,x=v[1];if(i)Transforms.setNodes(t,{rowSpan:Math.max(b-1,1),colSpan:w},{at:x});else {var S=An$3(h[p+1][n],1),z=An$3(S[0],2)[1];Transforms.setNodes(t,{rowSpan:b-1,colSpan:w,hidden:!1},{at:z});try{for(var M=(e=void 0,kn$3(Node$1.children(t,x,{reverse:!0}))),T=M.next();!T.done;T=M.next()){var O=An$3(T.value,2)[1];Transforms.moveNodes(t,{to:Hn$3(Hn$3([],An$3(z)),[0]),at:O});}}catch(t){e={error:t};}finally{try{T&&!T.done&&(r=M.return)&&r.call(M);}finally{if(e)throw e.error}}}}}Transforms.removeNodes(t,{at:u});}));}}},t}(),nu$2=TypeError,ou$2=Object.getOwnPropertyDescriptor,iu$2=B$3&&!function(){if(void 0!==this)return !0;try{Object.defineProperty([],"length",{writable:!1}).length=1;}catch(t){return t instanceof TypeError}}()?function(t,e){if(pr$2(t)&&!ou$2(t,"length").writable)throw new nu$2("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e},au$2=TypeError,lu$2=TypeError,uu$2=function(t,e){if(!delete t[e])throw new lu$2("Cannot delete property "+Nt$3(e)+" of "+Nt$3(t))},cu$2=Cr$2("splice"),su$2=Math.max,fu$2=Math.min;hr$2({target:"Array",proto:!0,forced:!cu$2},{splice:function(t,e){var r,n,o,i,a,l,u=Rt$3(this),c=Ue$3(u),s=$e$3(t,c),f=arguments.length;for(0===f?r=n=0:1===f?(r=0,n=c-s):(r=f-2,n=fu$2(su$2(We$3(e),0),c-s)),function(t){if(t>9007199254740991)throw au$2("Maximum allowed index exceeded")}(c+r-n),o=di$2(u,n),i=0;i<n;i++)(a=s+i)in u&&Ar$2(o,i,u[a]);if(o.length=n,r<n){for(i=s;i<c-n;i++)l=i+r,(a=i+n)in u?u[l]=u[a]:uu$2(u,l);for(i=c;i>c-n+r;i--)uu$2(u,i-1);}else if(r>n)for(i=c-n;i>s;i--)l=i+r-1,(a=i+n-1)in u?u[l]=u[a]:uu$2(u,l);for(i=0;i<r;i++)u[i+s]=arguments[i+2];return iu$2(u,c-n+r),o}});var du$2=function(){function t(){this.title=Wp$1("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 r=t.selection;return null==r||(!Range.isCollapsed(r)||null==Ic$2.getSelectedNodeByType(t,"table"))},t.prototype.exec=function(t,r){if(!this.isDisabled(t)){var n=An$3(Editor.nodes(t,{match:function(t){return Ic$2.checkNodeType(t,"table-cell")},universal:!0}),1),i=An$3(n[0],2),a=i[0],l=i[1],u=Ic$2.getParentNode(t,a);if(null!=u){var f=Ic$2.getParentNode(t,u);if(null!=f){var d=da$3(t),v=0;t:for(var h=0;h<d.length;h++)for(var p=0;p<d[h].length;p++){var y=An$3(d[h][p],1),g=An$3(y[0],2)[1];if(Path.equals(l,g)){v=p;break t}}Editor.withoutNormalizing(t,(function(){for(var r=[],n=0;n<d.length;n++){var i=An$3(d[n][v],2)[1],a=i.ltr,l=i.rtl;if(a>1||l>1){if(1==l)continue;var u=An$3(d[n][v-(l-1)],1),c=An$3(u[0],2),h=c[0],p=c[1],y=h.colSpan||1;r.push(n),h.hidden||Transforms.setNodes(t,{colSpan:y+1},{at:p});}}for(n=0;n<d.length;n++){var g={type:"table-cell",hidden:r.includes(n),children:[{text:""}]};0===n&&_a$1(f)&&(g.isHeader=!0);var b=An$3(d[n][v],1),m=An$3(b[0],2)[1];Transforms.insertNodes(t,g,{at:m});}var w=An$3(Editor.nodes(t,{match:function(t){return Ic$2.checkNodeType(t,"table")},universal:!0}),1)[0];if(w){var x=An$3(w,2),S=x[0],z=x[1],M=S.columnWidths,T=Hn$3([],An$3(void 0===M?[]:M)),O=t.getMenuConfig("insertTable").minWidth,N=void 0===O?60:O;T.splice(v,0,parseInt(N)||60),Transforms.setNodes(t,{columnWidths:T},{at:z});}}));}}}},t}(),vu$2=function(){function t(){this.title=Wp$1("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 r=t.selection;return null==r||(!Range.isCollapsed(r)||null==Ic$2.getSelectedNodeByType(t,"table-cell"))},t.prototype.exec=function(t,r){if(!this.isDisabled(t)){var n=An$3(Editor.nodes(t,{match:function(t){return Ic$2.checkNodeType(t,"table-cell")},universal:!0}),1),i=An$3(n[0],2),l=i[0],u=i[1],f=Ic$2.getParentNode(t,l),d=(null==f?void 0:f.children.length)||0;if(!f||d<=1)Transforms.removeNodes(t,{mode:"highest"});else if(null!=Ic$2.getParentNode(t,f)){var v=da$3(t),h=0;t:for(var p=0;p<v.length;p++)for(var y=0;y<v[p].length;y++){var g=An$3(v[p][y],1),b=An$3(g[0],2)[1];if(Path.equals(u,b)){h=y;break t}}Editor.withoutNormalizing(t,(function(){for(var r,n,i=0;i<v.length;i++){var l=An$3(v[i][h],2),u=An$3(l[0],1)[0].hidden,c=l[1],f=c.rtl,d=c.ltr;if(f>1||d>1){var p=An$3(v[i][h-(f-1)],1),y=An$3(p[0],2),g=y[0],b=g.rowSpan,m=void 0===b?1:b,w=g.colSpan,x=void 0===w?1:w,S=y[1];if(u)Transforms.setNodes(t,{rowSpan:m,colSpan:Math.max(x-1,1)},{at:S});else {var z=An$3(v[i][h+1],1),M=An$3(z[0],2)[1];Transforms.setNodes(t,{rowSpan:m,colSpan:x-1,hidden:!1},{at:M});try{for(var T=(r=void 0,kn$3(Node$1.children(t,S,{reverse:!0}))),O=T.next();!O.done;O=T.next()){var N=An$3(O.value,2)[1];Transforms.moveNodes(t,{to:Hn$3(Hn$3([],An$3(M)),[0]),at:N});}}catch(t){r={error:t};}finally{try{O&&!O.done&&(n=T.return)&&n.call(T);}finally{if(r)throw r.error}}}}}for(i=0;i<v.length;i++){var E=An$3(v[i][h],1);S=An$3(E[0],2)[1];Transforms.removeNodes(t,{at:S});}var k=An$3(Editor.nodes(t,{match:function(t){return Ic$2.checkNodeType(t,"table")},universal:!0}),1)[0];if(k){var A=An$3(k,2),H=A[0],C=A[1],j=H.columnWidths,P=Hn$3([],An$3(void 0===j?[]:j));P.splice(h,1),Transforms.setNodes(t,{columnWidths:P},{at:C});}}));}}},t}(),hu$2=function(){function t(){this.title=Wp$1("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 r=Ic$2.getSelectedNodeByType(t,"table");return null!=r&&_a$1(r)},t.prototype.isActive=function(t){return !!this.getValue(t)},t.prototype.isDisabled=function(t){var r=t.selection;return null==r||(!Range.isCollapsed(r)||null==Ic$2.getSelectedNodeByType(t,"table"))},t.prototype.exec=function(t,r){if(!this.isDisabled(t)){var n=!r,o=Ic$2.getSelectedNodeByType(t,"table");if(null!=o)Wa$1(o).forEach((function(r){return Transforms.setNodes(t,{isHeader:n},{at:Ic$2.findPath(t,r)})}));}},t}(),pu$2=function(){function t(){this.title=Wp$1("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 r=Ic$2.getSelectedNodeByType(t,"table");return null!=r&&"100%"===r.width},t.prototype.isActive=function(t){return !!this.getValue(t)},t.prototype.isDisabled=function(t){var r=t.selection;return null==r||(!Range.isCollapsed(r)||null==Ic$2.getSelectedNodeByType(t,"table"))},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var r={width:e?"auto":"100%"};Transforms.setNodes(t,r,{mode:"highest"});}},t}(),yu$2=function(){function t(){this.title=Wp$1("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),ha$3.unselect(t));},t.prototype.canMerge=function(t){var e=Qi$2.get(t);if(!e||!e.length)return !1;var r=An$3(e[e.length-1][e[e.length-1].length-1],1),n=An$3(r[0],2)[1],o=An$3(e[0][0],1);return !!fa$3(t,[An$3(o[0],2)[1],n],"table")},t.prototype.merge=function(t){if(this.canMerge(t)){var e=Qi$2.get(t);if(e&&e.length){var r=An$3(e[0][0],1),n=An$3(r[0],2)[1],i=An$3(Node$1.children(t,n,{reverse:!0}),1),l=An$3(i[0],2)[1];da$3(t,{at:n}),Editor.withoutNormalizing(t,(function(){for(var r,i,u=0,f=0,d=e.length-1;d>=0;d--,u++){f=0;for(var v=e[d].length-1;v>=0;v--,f++){var h=An$3(e[d][v],2),p=An$3(h[0],2)[1],y=h[1].ttb;if(!(Path.equals(n,p)||y>1)){try{for(var g=(r=void 0,kn$3(Node$1.children(t,p,{reverse:!0}))),b=g.next();!b.done;b=g.next()){var m=An$3(b.value,2)[1];Transforms.moveNodes(t,{to:Path.next(l),at:m});}}catch(t){r={error:t};}finally{try{b&&!b.done&&(i=g.return)&&i.call(g);}finally{if(r)throw r.error}}var w=An$3(Editor.nodes(t,{match:sa$3(t,"tr"),at:p}),1),x=An$3(w[0],2)[1];An$3(Node$1.children(t,x),2)[1]&&Transforms.setNodes(t,{hidden:!0},{at:p});}}}Transforms.setNodes(t,{rowSpan:u,colSpan:f},{at:n});}));}}},t}(),gu$2=TypeError,bu$2=Ut$3("species"),mu$2=function(t,e){var r,n=le$3(t).constructor;return void 0===n||ot$3(r=le$3(n)[bu$2])?e:function(t){if(kr$2(t))return t;throw new gu$2(Nt$3(t)+" is not a constructor")}(r)},wu$2=qr$2.UNSUPPORTED_Y,xu$2=Math.min,Su$2=J$3([].push),zu$2=J$3("".slice),Mu$2=!D$3((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]})),Tu$2="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;fl("split",(function(t,e,r){var n="0".split(void 0,0).length?function(t,r){return void 0===t&&0===r?[]:F$3(e,this,t,r)}:e;return [function(e,r){var o=at$3(this),i=ot$3(e)?void 0:At$3(e,t);return i?F$3(i,e,o,r):F$3(n,Br$2(o),e,r)},function(t,o){var i=le$3(this),a=Br$2(t);if(!Tu$2){var l=r(n,i,a,o,n!==e);if(l.done)return l.value}var u=mu$2(i,RegExp),c=i.unicode,s=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(wu$2?"g":"y"),f=new u(wu$2?"^(?:"+i.source+")":i,s),d=void 0===o?4294967295:o>>>0;if(0===d)return [];if(0===a.length)return null===Sl(f,a)?[a]:[];for(var v=0,h=0,p=[];h<a.length;){f.lastIndex=wu$2?0:h;var y,g=Sl(f,wu$2?zu$2(a,h):a);if(null===g||(y=xu$2(Ge$3(f.lastIndex+(wu$2?h:0)),a.length))===v)h=vl(a,h,c);else {if(Su$2(p,zu$2(a,v,h)),p.length===d)return p;for(var b=1;b<=g.length-1;b++)if(Su$2(p,g[b]),p.length===d)return p;h=v=y;}}return Su$2(p,zu$2(a,v)),p}]}),Tu$2||!Mu$2,wu$2);var Ou$2=function(){function t(){this.title=Wp$1("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=An$3(Editor.nodes(t,{match:sa$3(t,"td")}),1),r=An$3(e[0],1)[0],n=r.rowSpan,i=void 0===n?1:n,a=r.colSpan;return !(i>1||(void 0===a?1:a)>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=An$3(Editor.nodes(t,{match:sa$3(t,"table","th","td"),at:e.at}),2),n=r[0],i=r[1];if(n&&i){var a=Qi$2.get(t)||[],l=da$3(t,{at:e.at});Editor.withoutNormalizing(t,(function(){for(var r=l.length-1;r>=0;r--)for(var n=l[r].length-1;n>=0;n--){var u=An$3(l[r][n],2),f=An$3(u[0],2)[1],d=u[1],v=d.ltr,h=d.rtl,p=d.btt,y=d.ttb;if(h>1)n-=h-2;else if(!(y>1||1===p&&1===v)){var g=!!e.all;if(a.length)t:for(var b=0;!e.all&&b<a.length;b++)for(var m=0;m<a[b].length;m++){var w=An$3(a[b][m],1),x=An$3(w[0],2)[1];if(Path.equals(x,f)){g=!0;break t}}else {x=An$3(i,2)[1];Path.equals(x,f)&&(g=!0);}if(g){var S=An$3(Editor.nodes(t,{match:sa$3(t,"table"),at:f}),1);An$3(S[0],1)[0];t:for(var z=1;z<p;z++)for(b=n;b>=0;b--){var M=An$3(l[r+z][b],2);if(An$3(M[0],2)[1],1!=M[1].ttb){for(var T=0;T<v;T++){var O=An$3(l[r+z][b+T],1),N=An$3(O[0],2)[1];Transforms.unsetNodes(t,["hidden","colSpan","rowSpan"],{at:N});}continue t}}for(T=1;T<v;T++){var E=An$3(l[r][n+T],1);N=An$3(E[0],2)[1];Transforms.unsetNodes(t,["hidden","colSpan","rowSpan"],{at:N});}Transforms.setNodes(t,{rowSpan:1,colSpan:1},{at:f});}}}}));}},t}(),Nu$2=function(){function t(){this.title=Wp$1("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.borderStyle=[{value:"none",label:Wp$1("tableModule.borderStyle.none")},{value:"solid",label:Wp$1("tableModule.borderStyle.solid")},{value:"dotted",label:Wp$1("tableModule.borderStyle.dotted")},{value:"dashed",label:Wp$1("tableModule.borderStyle.dashed")},{value:"double",label:Wp$1("tableModule.borderStyle.double")},{value:"groove",label:Wp$1("tableModule.borderStyle.groove")},{value:"ridge",label:Wp$1("tableModule.borderStyle.ridge")},{value:"inset",label:Wp$1("tableModule.borderStyle.inset")},{value:"outset",label:Wp$1("tableModule.borderStyle.outset")}],this.textAlignOptions=[{value:"left",label:Wp$1("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:Wp$1("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:Wp$1("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:Wp$1("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){var r=t.selection;return null==r||(!Range.isCollapsed(r)||null==Ic$2.getSelectedNodeByType(t,"table"))},t.prototype.exec=function(t,e){},t.prototype.getModalContentNode=function(t){return An$3(Editor.nodes(t,{match:sa$3(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 o=An$3(r,2),i=o[0],a=o[1],l=$$6('<div>\n <label class="babel-container">\n <span>'+Wp$1("tableModule.modal.border")+'</span>\n <span class="babel-container-border">\n <select name="borderStyle">\n '+this.borderStyle.map((function(t){return '<option value="'+t.value+'">'+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="'+Wp$1("tableModule.modal.borderWidth")+'">\n </span>\n </label>\n <div class="babel-container">\n <span>'+Wp$1("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>'+Wp$1("tableModule.modal.align")+'</span>\n <span class="babel-container-align">\n <select name="textAlign">\n '+this.textAlignOptions.map((function(t){return '<option value="'+t.value+'">'+t.label+"</option>"})).join("")+'\n </select>\n </span>\n </label>\n <div class="button-container">\n <button type="button">'+Wp$1("tableModule.modal.ok")+"</button>\n </div>\n </div>");l.find("[name]").each((function(t){$$6(t).val(i[$$6(t).attr("name")]);}));var u=function(t,e){e?$$6(".color-group-block",t).css("background-color",e).empty():$$6(".color-group-block",t).css("background-color","").html(Ql);};return l.find(".color-group").each((function(r){var n=$$6('[type="hidden"]',r).val()||"";u(r,n);var o=$$6(r);o.on("click",(function(){l.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){$$6('[type="hidden"]',r).val(t||""),u(r,t),i.hide();}}),o.append(i),o.data("panel",i));}));})),l.find("button").on("click",(function(){var e=Array.from(l.find("[name]")).reduce((function(t,e){return t[$$6(e).attr("name")]=$$6(e).val(),t}),{});Transforms.setNodes(t,e,{at:a}),setTimeout((function(){t.focus();}));})),l[0]},t.prototype.getPanelContentElem=function(t,e){var r=e.mark,o=e.selectedColor,i=e.callback,a=$$6('<ul class="w-e-panel-content-color"></ul>');a.on("click","li",(function(t){var e=t.target;if(e){t.preventDefault(),t.stopPropagation();var r=$$6(e).attr("data-value");i(r);}}));var l=t.getMenuConfig(r).colors;(void 0===l?[]:l).forEach((function(t){var e=$$6('<div class="color-block" data-value="'+t+'"></div>');e.css("background-color",t);var r=$$6('<li data-value="'+t+'"></li>');o===t&&r.addClass("active"),r.append(e),a.append(r);}));var u="";"color"===r&&(u=Wp$1("tableModule.color.default")),"bgColor"===r&&(u=Wp$1("tableModule.color.clear"));var c=$$6('\n <li data-value="" class="clear">\n '+Ql+"\n "+u+"\n </li>\n ");a.prepend(c);var s=$$6('<div class="w-e-drop-panel"></div>');return s.append(a),s},t}(),Eu$2=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title=Wp$1("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}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;}On$3(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r);}(e,t),e.prototype.getModalContentNode=function(t){return An$3(Editor.nodes(t,{match:sa$3(t,"td")}),1)[0]},e}(Nu$2),ku$2={renderStyle:function(t,e){var r,n;if(!Element$1.isElement(t))return e;var o=t,a=o.backgroundColor,l=o.borderWidth,u=o.borderStyle,c=o.borderColor,s=o.textAlign,f={};a&&(f.backgroundColor=a),l&&(f.borderWidth=l+"px"),u&&(f.borderStyle=u),c&&(f.borderColor=c),s&&(f.textAlign=s);var d=e;return "table"===t.type?nl(null===(n=(null===(r=d.children)||void 0===r?void 0:r[0]).children)||void 0===n?void 0:n[0],f):nl(d,f),d},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,a=t.textAlign;if(!(r||n||o||i||a))return e;var l=$$6(e);return r&&l.css("background-color",r),n&&l.css("border-width",n+"px"),o&&l.css("border-style",o),i&&l.css("border-color",i),a&&l.css("text-align",a),function(t){return 0===t.length?"":t[0].outerHTML}(l)},parseStyleHtml:function(t,e,r){if("TABLE"!==t.tagName&&"TD"!==t.tagName)return e;var n=$$6(t),o=e,i=Ea$3(n,"background-color");i||(i=Ea$3(n,"background")),i&&(o.backgroundColor=i);var a=Ea$3(n,"border");a||"TD"!==t.tagName||(a="1px solid "+Cl);var l=An$3((null==a?void 0:a.split(" "))||[],3),u=l[0],c=l[1],s=l[2];(u=Ea$3(n,"border-width")||u)&&(o.borderWidth=u.replace(/[^\d]/g,"")),(c=Ea$3(n,"border-style")||c)&&(o.borderStyle=c),(s=Ea$3(n,"border-color")||s)&&(o.borderColor=s);var f=Ea$3(n,"text-align");return (f=Ea$3(n,"text-align")||f)&&(o.textAlign=f),e},renderElems:[Fa$1,$a$1,qa$1],elemsToHtml:[Ka$1,Ya$1,Ja$1],preParseHtml:[Qa$1],parseElemsHtml:[_l,Fl,$l],menus:[{key:"insertTable",factory:function(){return new Zl}},{key:"deleteTable",factory:function(){return new tu$2}},{key:"insertTableRow",factory:function(){return new eu$2}},{key:"deleteTableRow",factory:function(){return new ru$2}},{key:"insertTableCol",factory:function(){return new du$2}},{key:"deleteTableCol",factory:function(){return new vu$2}},{key:"tableHeader",factory:function(){return new hu$2}},{key:"tableFullWidth",factory:function(){return new pu$2}},{key:"mergeTableCell",factory:function(){return new yu$2}},{key:"splitTableCell",factory:function(){return new Ou$2}},{key:"setTableProperty",factory:function(){return new Nu$2}},{key:"setTableCellProperty",factory:function(){return new Eu$2}}],editorPlugin:function(t){var r=t.insertBreak,n=t.deleteBackward,i=t.deleteForward,f=t.normalizeNode,d=t.insertData,v=t.handleTab,h=t.selectAll,p=t;return p.insertBreak=function(){null==Ic$2.getSelectedNodeByType(p,"table")?r():p.insertText("\n");},p.deleteBackward=function(t){if(!pa$3(p)){var r=p.selection;if(r){var i=Editor.before(p,r);if(i){var a=function(t,r){var n,i,a=Editor.nodes(t,{at:r,match:function(t){return "table"===Ic$2.getNodeType(t)}}),l=!1;try{for(var u=kn$3(a),c=u.next();!c.done;c=u.next())c.value,l=!0;}catch(t){n={error:t};}finally{try{c&&!c.done&&(i=u.return)&&i.call(u);}finally{if(n)throw n.error}}return l}(p,i);if(a&&Ic$2.getSelectedNodeByType(p,"paragraph"))return}}n(t);}},p.handleTab=function(){var r;if(Ic$2.getSelectedNodeByType(p,"table")){var n=Editor.above(t);Ic$2.checkNodeType(n[0],"table-cell")&&Transforms.select(t,n[1]);var i=Editor.next(t);if(i)i[0]&&i[0].text&&(i=null!==(r=Editor.above(t,{at:i[1]}))&&void 0!==r?r:i),Transforms.select(t,i[1]);else {var a=p.children||[],l=a.length;if(Ic$2.checkNodeType(a[l-1],"table")){var u=Ic$2.genEmptyParagraph();Transforms.insertNodes(p,u,{at:[l]}),p.handleTab();}}}else v();},p.deleteForward=function(t){pa$3(p)||i(t);},p.normalizeNode=function(t){var r=An$3(t,2),n=r[0],o=r[1];if("table"!==Ic$2.getNodeType(n))return f([n,o]);if(Ic$2.isLastNode(p,n)){var i=Ic$2.genEmptyParagraph();Transforms.insertNodes(p,i,{at:[o[0]+1]});}},p.insertData=function(t){if(null!=Ic$2.getSelectedNodeByType(p,"table")){var r=t.getData("text/plain");"\n"===r||/<img[^>]+>/.test(t.getData("text/html"))?d(t):Editor.insertText(p,r);}else d(t);},p.selectAll=function(){var t=p.selection;if(null!=t){var r=Ic$2.getSelectedNodeByType(p,"table-cell");if(null!=r){var n=t.anchor,i=t.focus;if(Path.equals(n.path.slice(0,3),i.path.slice(0,3)))if(0!==Node$1.string(r).length){var l=Ic$2.findPath(p,r),u={anchor:Editor.start(p,l),focus:Editor.end(p,l)};p.select(u);}else h();else h();}else h();}else h();},function(t){var e=t.apply;t.apply=function(r){if(!Operation.isSelectionOperation(r)||!r.newProperties)return e(r);var n=Nn$3(Nn$3({},t.selection),r.newProperties);if(!Range.isRange(n))return ha$3.unselect(t),e(r);var i=An$3(Editor.nodes(t,{match:sa$3(t,"th","td"),at:Range.start(n)}),1)[0],a=An$3(Editor.nodes(t,{match:sa$3(t,"th","td"),at:Range.end(n)}),1)[0];if(!i||!a)return ha$3.unselect(t),e(r);var s=An$3(i,2)[1],f=An$3(a,2)[1];if(Path.equals(s,f)||!fa$3(t,[s,f],"table"))return ha$3.unselect(t),e(r);var d=da$3(t,{at:s}),v=va$2.valueOf(0,0),h=va$2.valueOf(0,0);t:for(var p=0;p<d.length;p++)for(var y=0;y<d[p].length;y++){var g=An$3(d[p][y],1),b=An$3(g[0],2)[1];if(Path.equals(s,b)&&(v.x=p,v.y=y),Path.equals(f,b)){h.x=p,h.y=y;break t}}for(var m=va$2.valueOf(Math.min(v.x,h.x),Math.min(v.y,h.y)),w=va$2.valueOf(Math.max(v.x,h.x),Math.max(v.y,h.y));;){var x=va$2.valueOf(m.x,m.y),S=va$2.valueOf(w.x,w.y);for(p=x.x;p<=S.x;p++)for(y=x.y;y<=S.y;y++){var z=An$3(d[p][y],2)[1],M=z.rtl,T=z.ltr,O=z.btt,N=z.ttb;x.x=Math.min(x.x,p-(N-1)),x.y=Math.min(x.y,y-(M-1)),S.x=Math.max(S.x,p+(O-1)),S.y=Math.max(S.y,y+(T-1));}if(va$2.equals(m,x)&&va$2.equals(w,S))break;m=x,w=S;}var E=[],k=new WeakSet;for(p=m.x;p<=w.x;p++){var A=[];for(y=m.y;y<=w.y;y++){var H=An$3(d[p][y],1),C=An$3(H[0],1)[0];k.add(C),A.push(d[p][y]);}E.push(A);}Qi$2.set(t,E),Zi$2.set(t,k),e(r);};}(p),p}};
17552
+ Wp$1("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"}}),Wp$1("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 j$3="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function P$3(t){var e={exports:{}};return t(e,e.exports),e.exports}var V$3,I$3,R$3=function(t){return t&&t.Math===Math&&t},L$3=R$3("object"==typeof globalThis&&globalThis)||R$3("object"==typeof window&&window)||R$3("object"==typeof self&&self)||R$3("object"==typeof j$3&&j$3)||R$3("object"==typeof j$3&&j$3)||function(){return this}()||Function("return this")(),D$3=function(t){try{return !!t()}catch(t){return !0}},B$3=!D$3((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),W$3=!D$3((function(){var t=function(){}.bind();return "function"!=typeof t||t.hasOwnProperty("prototype")})),_$3=Function.prototype.call,F$3=W$3?_$3.bind(_$3):function(){return _$3.apply(_$3,arguments)},$$3={}.propertyIsEnumerable,q$3=Object.getOwnPropertyDescriptor,G$3={f:q$3&&!$$3.call({1:2},1)?function(t){var e=q$3(this,t);return !!e&&e.enumerable}:$$3},U$3=function(t,e){return {enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},X$3=Function.prototype,K$3=X$3.call,Y$3=W$3&&X$3.bind.bind(K$3,K$3),J$3=W$3?Y$3:function(t){return function(){return K$3.apply(t,arguments)}},Q$3=J$3({}.toString),Z$3=J$3("".slice),tt$3=function(t){return Z$3(Q$3(t),8,-1)},et$3=Object,nt$3=J$3("".split),rt$3=D$3((function(){return !et$3("z").propertyIsEnumerable(0)}))?function(t){return "String"===tt$3(t)?nt$3(t,""):et$3(t)}:et$3,ot$3=function(t){return null==t},it$3=TypeError,at$3=function(t){if(ot$3(t))throw new it$3("Can't call method on "+t);return t},lt$3=function(t){return rt$3(at$3(t))},ct$3="object"==typeof document&&document.all,ut$3=void 0===ct$3&&void 0!==ct$3?function(t){return "function"==typeof t||t===ct$3}:function(t){return "function"==typeof t},st$3=function(t){return "object"==typeof t?null!==t:ut$3(t)},ft$3=function(t,e){return arguments.length<2?(n=L$3[t],ut$3(n)?n:void 0):L$3[t]&&L$3[t][e];var n;},dt$3=J$3({}.isPrototypeOf),vt$3=L$3.navigator,ht$3=vt$3&&vt$3.userAgent,pt$3=ht$3?String(ht$3):"",yt$3=L$3.process,gt$3=L$3.Deno,bt$3=yt$3&&yt$3.versions||gt$3&&gt$3.version,mt$3=bt$3&&bt$3.v8;mt$3&&(I$3=(V$3=mt$3.split("."))[0]>0&&V$3[0]<4?1:+(V$3[0]+V$3[1])),!I$3&&pt$3&&(!(V$3=pt$3.match(/Edge\/(\d+)/))||V$3[1]>=74)&&(V$3=pt$3.match(/Chrome\/(\d+)/))&&(I$3=+V$3[1]);var wt$3=I$3,xt$3=L$3.String,St$3=!!Object.getOwnPropertySymbols&&!D$3((function(){var t=Symbol("symbol detection");return !xt$3(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&wt$3&&wt$3<41})),zt$3=St$3&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,Mt$3=Object,Tt$3=zt$3?function(t){return "symbol"==typeof t}:function(t){var e=ft$3("Symbol");return ut$3(e)&&dt$3(e.prototype,Mt$3(t))},Ot$3=String,Nt$3=function(t){try{return Ot$3(t)}catch(t){return "Object"}},Et$3=TypeError,kt$3=function(t){if(ut$3(t))return t;throw new Et$3(Nt$3(t)+" is not a function")},At$3=function(t,e){var n=t[e];return ot$3(n)?void 0:kt$3(n)},Ht$3=TypeError,Ct$3=Object.defineProperty,jt$3=function(t,e){try{Ct$3(L$3,t,{value:e,configurable:!0,writable:!0});}catch(n){L$3[t]=e;}return e},Pt$3=P$3((function(t){var e="__core-js_shared__",n=t.exports=L$3[e]||jt$3(e,{});(n.versions||(n.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});})),Vt$3=function(t,e){return Pt$3[t]||(Pt$3[t]=e||{})},It$3=Object,Rt$3=function(t){return It$3(at$3(t))},Lt$3=J$3({}.hasOwnProperty),Dt$3=Object.hasOwn||function(t,e){return Lt$3(Rt$3(t),e)},Bt$3=0,Wt$3=Math.random(),_t$3=J$3(1..toString),Ft$3=function(t){return "Symbol("+(void 0===t?"":t)+")_"+_t$3(++Bt$3+Wt$3,36)},$t$3=L$3.Symbol,qt$3=Vt$3("wks"),Gt$3=zt$3?$t$3.for||$t$3:$t$3&&$t$3.withoutSetter||Ft$3,Ut$3=function(t){return Dt$3(qt$3,t)||(qt$3[t]=St$3&&Dt$3($t$3,t)?$t$3[t]:Gt$3("Symbol."+t)),qt$3[t]},Xt$3=TypeError,Kt$3=Ut$3("toPrimitive"),Yt$3=function(t,e){if(!st$3(t)||Tt$3(t))return t;var n,r=At$3(t,Kt$3);if(r){if(void 0===e&&(e="default"),n=F$3(r,t,e),!st$3(n)||Tt$3(n))return n;throw new Xt$3("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&ut$3(n=t.toString)&&!st$3(r=F$3(n,t)))return r;if(ut$3(n=t.valueOf)&&!st$3(r=F$3(n,t)))return r;if("string"!==e&&ut$3(n=t.toString)&&!st$3(r=F$3(n,t)))return r;throw new Ht$3("Can't convert object to primitive value")}(t,e)},Jt$3=function(t){var e=Yt$3(t,"string");return Tt$3(e)?e:e+""},Qt$3=L$3.document,Zt$3=st$3(Qt$3)&&st$3(Qt$3.createElement),te$3=function(t){return Zt$3?Qt$3.createElement(t):{}},ee$3=!B$3&&!D$3((function(){return 7!==Object.defineProperty(te$3("div"),"a",{get:function(){return 7}}).a})),ne$3=Object.getOwnPropertyDescriptor,re$3={f:B$3?ne$3:function(t,e){if(t=lt$3(t),e=Jt$3(e),ee$3)try{return ne$3(t,e)}catch(t){}if(Dt$3(t,e))return U$3(!F$3(G$3.f,t,e),t[e])}},oe$3=B$3&&D$3((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),ie$3=String,ae$3=TypeError,le$3=function(t){if(st$3(t))return t;throw new ae$3(ie$3(t)+" is not an object")},ce$3=TypeError,ue$3=Object.defineProperty,se$3=Object.getOwnPropertyDescriptor,fe$3="enumerable",de$3="configurable",ve$3="writable",he$3={f:B$3?oe$3?function(t,e,n){if(le$3(t),e=Jt$3(e),le$3(n),"function"==typeof t&&"prototype"===e&&"value"in n&&ve$3 in n&&!n[ve$3]){var r=se$3(t,e);r&&r[ve$3]&&(t[e]=n.value,n={configurable:de$3 in n?n[de$3]:r[de$3],enumerable:fe$3 in n?n[fe$3]:r[fe$3],writable:!1});}return ue$3(t,e,n)}:ue$3:function(t,e,n){if(le$3(t),e=Jt$3(e),le$3(n),ee$3)try{return ue$3(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new ce$3("Accessors not supported");return "value"in n&&(t[e]=n.value),t}},pe$3=B$3?function(t,e,n){return he$3.f(t,e,U$3(1,n))}:function(t,e,n){return t[e]=n,t},ye$3=Function.prototype,ge$3=B$3&&Object.getOwnPropertyDescriptor,be$3=Dt$3(ye$3,"name"),me$3={EXISTS:be$3,PROPER:be$3&&"something"===function(){}.name,CONFIGURABLE:be$3&&(!B$3||B$3&&ge$3(ye$3,"name").configurable)},we$3=J$3(Function.toString);ut$3(Pt$3.inspectSource)||(Pt$3.inspectSource=function(t){return we$3(t)});var xe$3,Se$3,ze$3,Me$3=Pt$3.inspectSource,Te$3=L$3.WeakMap,Oe$3=ut$3(Te$3)&&/native code/.test(String(Te$3)),Ne$3=Vt$3("keys"),Ee$3=function(t){return Ne$3[t]||(Ne$3[t]=Ft$3(t))},ke$3={},Ae$3="Object already initialized",He$3=L$3.TypeError,Ce$3=L$3.WeakMap;if(Oe$3||Pt$3.state){var je$3=Pt$3.state||(Pt$3.state=new Ce$3);je$3.get=je$3.get,je$3.has=je$3.has,je$3.set=je$3.set,xe$3=function(t,e){if(je$3.has(t))throw new He$3(Ae$3);return e.facade=t,je$3.set(t,e),e},Se$3=function(t){return je$3.get(t)||{}},ze$3=function(t){return je$3.has(t)};}else {var Pe$3=Ee$3("state");ke$3[Pe$3]=!0,xe$3=function(t,e){if(Dt$3(t,Pe$3))throw new He$3(Ae$3);return e.facade=t,pe$3(t,Pe$3,e),e},Se$3=function(t){return Dt$3(t,Pe$3)?t[Pe$3]:{}},ze$3=function(t){return Dt$3(t,Pe$3)};}var Ve$3={set:xe$3,get:Se$3,has:ze$3,enforce:function(t){return ze$3(t)?Se$3(t):xe$3(t,{})},getterFor:function(t){return function(e){var n;if(!st$3(e)||(n=Se$3(e)).type!==t)throw new He$3("Incompatible receiver, "+t+" required");return n}}},Ie$3=P$3((function(t){var e=me$3.CONFIGURABLE,n=Ve$3.enforce,r=Ve$3.get,o=String,i=Object.defineProperty,a=J$3("".slice),l=J$3("".replace),c=J$3([].join),u=B$3&&!D$3((function(){return 8!==i((function(){}),"length",{value:8}).length})),s=String(String).split("String"),f=t.exports=function(t,r,f){"Symbol("===a(o(r),0,7)&&(r="["+l(o(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),f&&f.getter&&(r="get "+r),f&&f.setter&&(r="set "+r),(!Dt$3(t,"name")||e&&t.name!==r)&&(B$3?i(t,"name",{value:r,configurable:!0}):t.name=r),u&&f&&Dt$3(f,"arity")&&t.length!==f.arity&&i(t,"length",{value:f.arity});try{f&&Dt$3(f,"constructor")&&f.constructor?B$3&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0);}catch(t){}var d=n(t);return Dt$3(d,"source")||(d.source=c(s,"string"==typeof r?r:"")),t};Function.prototype.toString=f((function(){return ut$3(this)&&r(this).source||Me$3(this)}),"toString");})),Re$3=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(ut$3(n)&&Ie$3(n,i,r),r.global)o?t[e]=n:jt$3(e,n);else {try{r.unsafe?t[e]&&(o=!0):delete t[e];}catch(t){}o?t[e]=n:he$3.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable});}return t},Le$3=Math.ceil,De$3=Math.floor,Be$3=Math.trunc||function(t){var e=+t;return (e>0?De$3:Le$3)(e)},We$3=function(t){var e=+t;return e!=e||0===e?0:Be$3(e)},_e$3=Math.max,Fe$3=Math.min,$e$3=function(t,e){var n=We$3(t);return n<0?_e$3(n+e,0):Fe$3(n,e)},qe$3=Math.min,Ge$3=function(t){var e=We$3(t);return e>0?qe$3(e,9007199254740991):0},Ue$3=function(t){return Ge$3(t.length)},Xe$3=function(t){return function(e,n,r){var o=lt$3(e),i=Ue$3(o);if(0===i)return !t&&-1;var a,l=$e$3(r,i);if(t&&n!=n){for(;i>l;)if((a=o[l++])!=a)return !0}else for(;i>l;l++)if((t||l in o)&&o[l]===n)return t||l||0;return !t&&-1}},Ke$3={includes:Xe$3(!0),indexOf:Xe$3(!1)},Ye$3=Ke$3.indexOf,Je$3=J$3([].push),Qe$3=function(t,e){var n,r=lt$3(t),o=0,i=[];for(n in r)!Dt$3(ke$3,n)&&Dt$3(r,n)&&Je$3(i,n);for(;e.length>o;)Dt$3(r,n=e[o++])&&(~Ye$3(i,n)||Je$3(i,n));return i},Ze$3=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],tn$3=Ze$3.concat("length","prototype"),en$3={f:Object.getOwnPropertyNames||function(t){return Qe$3(t,tn$3)}},nn$3={f:Object.getOwnPropertySymbols},rn$3=J$3([].concat),on$3=ft$3("Reflect","ownKeys")||function(t){var e=en$3.f(le$3(t)),n=nn$3.f;return n?rn$3(e,n(t)):e},an$3=function(t,e,n){for(var r=on$3(e),o=he$3.f,i=re$3.f,a=0;a<r.length;a++){var l=r[a];Dt$3(t,l)||n&&Dt$3(n,l)||o(t,l,i(e,l));}},ln$3=/#|\.prototype\./,cn$3=function(t,e){var n=sn$3[un$3(t)];return n===dn$3||n!==fn$3&&(ut$3(e)?D$3(e):!!e)},un$3=cn$3.normalize=function(t){return String(t).replace(ln$3,".").toLowerCase()},sn$3=cn$3.data={},fn$3=cn$3.NATIVE="N",dn$3=cn$3.POLYFILL="P",vn$3=cn$3,hn$3=re$3.f,pn$3=function(t,e){var n,r,o,i,a,l=t.target,c=t.global,u=t.stat;if(n=c?L$3:u?L$3[l]||jt$3(l,{}):L$3[l]&&L$3[l].prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(a=hn$3(n,r))&&a.value:n[r],!vn$3(c?r:l+(u?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;an$3(i,o);}(t.sham||o&&o.sham)&&pe$3(i,"sham",!0),Re$3(n,r,i,t);}},yn$3=Array.isArray||function(t){return "Array"===tt$3(t)},gn$3=TypeError,bn$3=function(t){if(t>9007199254740991)throw gn$3("Maximum allowed index exceeded");return t},mn$3=function(t,e,n){B$3?he$3.f(t,e,U$3(0,n)):t[e]=n;},wn$3={};wn$3[Ut$3("toStringTag")]="z";var xn$3="[object z]"===String(wn$3),Sn$3=Ut$3("toStringTag"),zn$3=Object,Mn$3="Arguments"===tt$3(function(){return arguments}()),Tn$3=xn$3?tt$3:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=zn$3(t),Sn$3))?n:Mn$3?tt$3(e):"Object"===(r=tt$3(e))&&ut$3(e.callee)?"Arguments":r},On$3=function(){},Nn$3=ft$3("Reflect","construct"),En$3=/^\s*(?:class|function)\b/,kn$3=J$3(En$3.exec),An$3=!En$3.test(On$3),Hn$3=function(t){if(!ut$3(t))return !1;try{return Nn$3(On$3,[],t),!0}catch(t){return !1}},Cn$3=function(t){if(!ut$3(t))return !1;switch(Tn$3(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return !1}try{return An$3||!!kn$3(En$3,Me$3(t))}catch(t){return !0}};Cn$3.sham=!0;var jn$3=!Nn$3||D$3((function(){var t;return Hn$3(Hn$3.call)||!Hn$3(Object)||!Hn$3((function(){t=!0;}))||t}))?Cn$3:Hn$3,Pn$3=Ut$3("species"),Vn$3=Array,In$3=function(t,e){return new(function(t){var e;return yn$3(t)&&(e=t.constructor,(jn$3(e)&&(e===Vn$3||yn$3(e.prototype))||st$3(e)&&null===(e=e[Pn$3]))&&(e=void 0)),void 0===e?Vn$3:e}(t))(0===e?0:e)},Rn$3=Ut$3("species"),Ln$3=function(t){return wt$3>=51||!D$3((function(){var e=[];return (e.constructor={})[Rn$3]=function(){return {foo:1}},1!==e[t](Boolean).foo}))},Dn$3=Ut$3("isConcatSpreadable"),Bn$3=wt$3>=51||!D$3((function(){var t=[];return t[Dn$3]=!1,t.concat()[0]!==t})),Wn$3=function(t){if(!st$3(t))return !1;var e=t[Dn$3];return void 0!==e?!!e:yn$3(t)},_n$3=!Bn$3||!Ln$3("concat");pn$3({target:"Array",proto:!0,arity:1,forced:_n$3},{concat:function(t){var e,n,r,o,i,a=Rt$3(this),l=In$3(a,0),c=0;for(e=-1,r=arguments.length;e<r;e++)if(Wn$3(i=-1===e?a:arguments[e]))for(o=Ue$3(i),bn$3(c+o),n=0;n<o;n++,c++)n in i&&mn$3(l,c,i[n]);else bn$3(c+1),mn$3(l,c++,i);return l.length=c,l}});var Fn$3=function(t,e){var n=[][t];return !!n&&D$3((function(){n.call(null,e||function(){return 1},1);}))},$n$3=J$3([].join),qn$3=rt$3!==Object||!Fn$3("join",",");pn$3({target:"Array",proto:!0,forced:qn$3},{join:function(t){return $n$3(lt$3(this),void 0===t?",":t)}});var Gn$3=function(t){if("Function"===tt$3(t))return J$3(t)},Un$3=Gn$3(Gn$3.bind),Xn$3=function(t,e){return kt$3(t),void 0===e?t:W$3?Un$3(t,e):function(){return t.apply(e,arguments)}},Kn$3=J$3([].push),Yn$3=function(t){var e=1===t,n=2===t,r=3===t,o=4===t,i=6===t,a=7===t,l=5===t||i;return function(c,u,s,f){for(var d,v,h=Rt$3(c),p=rt$3(h),y=Ue$3(p),g=Xn$3(u,s),b=0,m=f||In$3,w=e?m(c,y):n||a?m(c,0):void 0;y>b;b++)if((l||b in p)&&(v=g(d=p[b],b,h),t))if(e)w[b]=v;else if(v)switch(t){case 3:return !0;case 5:return d;case 6:return b;case 2:Kn$3(w,d);}else switch(t){case 4:return !1;case 7:Kn$3(w,d);}return i?-1:r||o?o:w}},Jn$3={forEach:Yn$3(0),map:Yn$3(1),filter:Yn$3(2),some:Yn$3(3),every:Yn$3(4),find:Yn$3(5),findIndex:Yn$3(6),filterReject:Yn$3(7)},Qn$3=Jn$3.map,Zn$3=Ln$3("map");pn$3({target:"Array",proto:!0,forced:!Zn$3},{map:function(t){return Qn$3(this,t,arguments.length>1?arguments[1]:void 0)}});var tr$2={type:"table",elemToHtml:function(t,e){var n=t,r=n.width,o=void 0===r?"auto":r,i=n.columnWidths,a=n.height,l=void 0===a?"auto":a,c=null==i?void 0:i.map((function(t){return "<col width=".concat(t,"></col>")})).join(""),u=c?'<colgroup contentEditable="false">'.concat(c,"</colgroup>"):"";return '<table style="width: '.concat(o,";table-layout: fixed;height:").concat(l,'">').concat(u,"<tbody>").concat(e,"</tbody></table>")}},er$2={type:"table-row",elemToHtml:function(t,e){return "<tr>".concat(e,"</tr>")}},nr$2={type:"table-cell",elemToHtml:function(t,e){var n=t,r=n.colSpan,o=void 0===r?1:r,i=n.rowSpan,a=void 0===i?1:i,l=n.isHeader,c=void 0!==l&&l,u=n.width,s=void 0===u?"auto":u,f=n.hidden,d=c?"th":"td",v=void 0!==f&&f?"display:none":"";return "<".concat(d,' colSpan="').concat(o,'" rowSpan="').concat(a,'" width="').concat(s,'" style="').concat(v,'">').concat(e,"</").concat(d,">")}},rr$2=function(t,e){return rr$2=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e;}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);},rr$2(t,e)};var or$2=function(){return or$2=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},or$2.apply(this,arguments)};function ir$2(t,e){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function l(l){return function(c){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,l[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&l[0]?r.return:l[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;switch(r=0,o&&(l=[2&l[0],o.value]),l[0]){case 0:case 1:o=l;break;case 4:return a.label++,{value:l[1],done:!1};case 5:a.label++,r=l[1],l=[0];continue;case 7:l=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==l[0]&&2!==l[0])){a=0;continue}if(3===l[0]&&(!o||l[1]>o[0]&&l[1]<o[3])){a.label=l[1];break}if(6===l[0]&&a.label<o[1]){a.label=o[1],o=l;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(l);break}o[2]&&a.ops.pop(),a.trys.pop();continue}l=e.call(t,a);}catch(t){l=[6,t],r=0;}finally{n=o=0;}if(5&l[0])throw l[1];return {value:l[0]?l[1]:void 0,done:!0}}([l,c])}}}function ar$2(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return {next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function lr$2(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)a.push(r.value);}catch(t){o={error:t};}finally{try{r&&!r.done&&(n=i.return)&&n.call(i);}finally{if(o)throw o.error}}return a}function cr$2(t,e,n){if(n||2===arguments.length)for(var r,o=0,i=e.length;o<i;o++)!r&&o in e||(r||(r=Array.prototype.slice.call(e,0,o)),r[o]=e[o]);return t.concat(r||Array.prototype.slice.call(e))}"function"==typeof SuppressedError&&SuppressedError;var ur$2,sr$2='<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>',fr$2=Object.keys||function(t){return Qe$3(t,Ze$3)},dr$2=B$3&&!oe$3?Object.defineProperties:function(t,e){le$3(t);for(var n,r=lt$3(e),o=fr$2(e),i=o.length,a=0;i>a;)he$3.f(t,n=o[a++],r[n]);return t},vr$2={f:dr$2},hr$2=ft$3("document","documentElement"),pr$2="prototype",yr$2="script",gr$2=Ee$3("IE_PROTO"),br$2=function(){},mr$2=function(t){return "<"+yr$2+">"+t+"</"+yr$2+">"},wr$2=function(t){t.write(mr$2("")),t.close();var e=t.parentWindow.Object;return t=null,e},xr$2=function(){try{ur$2=new ActiveXObject("htmlfile");}catch(t){}var t,e,n;xr$2="undefined"!=typeof document?document.domain&&ur$2?wr$2(ur$2):(e=te$3("iframe"),n="java"+yr$2+":",e.style.display="none",hr$2.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(mr$2("document.F=Object")),t.close(),t.F):wr$2(ur$2);for(var r=Ze$3.length;r--;)delete xr$2[pr$2][Ze$3[r]];return xr$2()};ke$3[gr$2]=!0;var Sr$2=Object.create||function(t,e){var n;return null!==t?(br$2[pr$2]=le$3(t),n=new br$2,br$2[pr$2]=null,n[gr$2]=t):n=xr$2(),void 0===e?n:vr$2.f(n,e)},zr$2=he$3.f,Mr$2=Ut$3("unscopables"),Tr$2=Array.prototype;void 0===Tr$2[Mr$2]&&zr$2(Tr$2,Mr$2,{configurable:!0,value:Sr$2(null)});var Or$2=function(t){Tr$2[Mr$2][t]=!0;},Nr$2=Ke$3.includes,Er$2=D$3((function(){return !Array(1).includes()}));pn$3({target:"Array",proto:!0,forced:Er$2},{includes:function(t){return Nr$2(this,t,arguments.length>1?arguments[1]:void 0)}}),Or$2("includes");var kr$2=Ut$3("match"),Ar$2=TypeError,Hr$2=function(t){if(function(t){var e;return st$3(t)&&(void 0!==(e=t[kr$2])?!!e:"RegExp"===tt$3(t))}(t))throw new Ar$2("The method doesn't accept regular expressions");return t},Cr$2=String,jr$2=function(t){if("Symbol"===Tn$3(t))throw new TypeError("Cannot convert a Symbol value to a string");return Cr$2(t)},Pr$2=Ut$3("match"),Vr$2=J$3("".indexOf);pn$3({target:"String",proto:!0,forced:!function(t){var e=/./;try{"/./"[t](e);}catch(n){try{return e[Pr$2]=!1,"/./"[t](e)}catch(t){}}return !1}("includes")},{includes:function(t){return !!~Vr$2(jr$2(at$3(this)),jr$2(Hr$2(t)),arguments.length>1?arguments[1]:void 0)}});var Ir$2={blocks:{td:"table-cell",th:"table-cell",content:"paragraph",tr:"table-row",table:"table",tbody:"table-body"}};function Rr$2(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=Ir$2,a=e.map((function(t){var e;return null===(e=null==r?void 0:r.blocks)||void 0===e?void 0:e[t]}));return function(t){return function(t){return !Editor.isEditor(t)&&Element$1.isElement(t)&&"type"in t}(t)&&a.includes(t.type)}}function Lr$2(t,e){for(var n=lr$2(e,2),r=n[0],i=n[1],l=[],c=2;c<arguments.length;c++)l[c-2]=arguments[c];var u=lr$2(Node$1.common(t,r,i),2),s=u[0],f=u[1];return !!Rr$2.apply(void 0,cr$2([t],lr$2(l),!1))(s,f)||!!Editor.above(t,{match:Rr$2.apply(void 0,cr$2([t],lr$2(l),!1)),at:f})}function Dr$2(t,e){var n,r;void 0===e&&(e={});var i=[];try{for(var a=ar$2(function(t,e){var n,r,i,a,l,c,u,s,f,d,v,h,p,y,g,b,m,w;return void 0===e&&(e={}),ir$2(this,(function(x){switch(x.label){case 0:if(n=lr$2(Editor.nodes(t,{match:Rr$2(t,"table"),at:e.at}),1),!(r=n[0]))return [2,[]];i=lr$2(r,2),a=i[1],x.label=1;case 1:x.trys.push([1,6,7,8]),l=ar$2(Editor.nodes(t,{match:Rr$2(t,"table"),at:a})),c=l.next(),x.label=2;case 2:if(c.done)return [3,5];u=lr$2(c.value,2),s=u[1],f=[];try{for(m=void 0,d=ar$2(Editor.nodes(t,{match:Rr$2(t,"tr"),at:s})),v=d.next();!v.done;v=d.next())h=lr$2(v.value,2),p=h[1],f.push(cr$2([],lr$2(Editor.nodes(t,{match:Rr$2(t,"th","td"),at:p})),!1));}catch(t){m={error:t};}finally{try{v&&!v.done&&(w=d.return)&&w.call(d);}finally{if(m)throw m.error}}return [4,f];case 3:x.sent(),x.label=4;case 4:return c=l.next(),[3,2];case 5:return [3,8];case 6:return y=x.sent(),g={error:y},[3,8];case 7:try{c&&!c.done&&(b=l.return)&&b.call(l);}finally{if(g)throw g.error}return [7];case 8:return [2]}}))}(t,{at:e.at})),l=a.next();!l.done;l=a.next()){for(var c=l.value,u=[],s=0;s<c.length;s+=1){u[s]||(u[s]=[]);for(var f=0;f<c[s].length;f+=1)for(var d=lr$2(c[s][f],1)[0],v=d.rowSpan,h=void 0===v?1:v,p=d.colSpan,y=void 0===p?1:p,g=0;g<y+0;g+=1)for(var b=0;b<h;b+=1)u[s+b]||(u[s+b]=[]),u[s+b][f+g]||(u[s+b][f+g]=[c[s+b][f+g],{rtl:g-0+1,ltr:y-g+0,ttb:b+1,btt:h-b}]);}i.push.apply(i,cr$2([],lr$2(u),!1));}}catch(t){n={error:t};}finally{try{l&&!l.done&&(r=a.return)&&r.call(a);}finally{if(n)throw n.error}}return i}var Br$2=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}(),Wr$2=Jn$3.find,_r$2="find",Fr$2=!0;_r$2 in[]&&Array(1)[_r$2]((function(){Fr$2=!1;})),pn$3({target:"Array",proto:!0,forced:Fr$2},{find:function(t){return Wr$2(this,t,arguments.length>1?arguments[1]:void 0)}}),Or$2(_r$2);var $r$2=function(t,e,n){var r,o;le$3(t);try{if(!(r=At$3(t,"return"))){if("throw"===e)throw n;return n}r=F$3(r,t);}catch(t){o=!0,r=t;}if("throw"===e)throw n;if(o)throw r;return le$3(r),n},qr$2=function(t,e,n,r){try{return r?e(le$3(n)[0],n[1]):e(n)}catch(e){$r$2(t,"throw",e);}},Gr$2={},Ur$2=Ut$3("iterator"),Xr$2=Array.prototype,Kr$2=function(t){return void 0!==t&&(Gr$2.Array===t||Xr$2[Ur$2]===t)},Yr$2=Ut$3("iterator"),Jr$2=function(t){if(!ot$3(t))return At$3(t,Yr$2)||At$3(t,"@@iterator")||Gr$2[Tn$3(t)]},Qr$2=TypeError,Zr$2=function(t,e){var n=arguments.length<2?Jr$2(t):e;if(kt$3(n))return le$3(F$3(n,t));throw new Qr$2(Nt$3(t)+" is not iterable")},to$2=Array,eo$2=Ut$3("iterator"),no$2=!1;try{var ro$2=0,oo$2={next:function(){return {done:!!ro$2++}},return:function(){no$2=!0;}};oo$2[eo$2]=function(){return this},Array.from(oo$2,(function(){throw 2}));}catch(t){}var io$2=function(t,e){try{if(!e&&!no$2)return !1}catch(t){return !1}var n=!1;try{var r={};r[eo$2]=function(){return {next:function(){return {done:n=!0}}}},t(r);}catch(t){}return n},ao$2=!io$2((function(t){Array.from(t);}));pn$3({target:"Array",stat:!0,forced:ao$2},{from:function(t){var e=Rt$3(t),n=jn$3(this),r=arguments.length,o=r>1?arguments[1]:void 0,i=void 0!==o;i&&(o=Xn$3(o,r>2?arguments[2]:void 0));var a,l,c,u,s,f,d=Jr$2(e),v=0;if(!d||this===to$2&&Kr$2(d))for(a=Ue$3(e),l=n?new this(a):to$2(a);a>v;v++)f=i?o(e[v],v):e[v],mn$3(l,v,f);else for(l=n?new this:[],s=(u=Zr$2(e,d)).next;!(c=F$3(s,u)).done;v++)f=i?qr$2(u,o,[c.value,v],!0):c.value,mn$3(l,v,f);return l.length=v,l}});var lo$2=xn$3?{}.toString:function(){return "[object "+Tn$3(this)+"]"};xn$3||Re$3(Object.prototype,"toString",lo$2,{unsafe:!0});var co$2,uo$2,so$2=function(){var t=le$3(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},fo$2=L$3.RegExp,vo$2=D$3((function(){var t=fo$2("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),ho$2=vo$2||D$3((function(){return !fo$2("a","y").sticky})),po$2={BROKEN_CARET:vo$2||D$3((function(){var t=fo$2("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:ho$2,UNSUPPORTED_Y:vo$2},yo$2=L$3.RegExp,go$2=D$3((function(){var t=yo$2(".","s");return !(t.dotAll&&t.test("\n")&&"s"===t.flags)})),bo$2=L$3.RegExp,mo$2=D$3((function(){var t=bo$2("(?<a>b)","g");return "b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),wo$2=Ve$3.get,xo$2=Vt$3("native-string-replace",String.prototype.replace),So$2=RegExp.prototype.exec,zo$2=So$2,Mo$2=J$3("".charAt),To$2=J$3("".indexOf),Oo$2=J$3("".replace),No$2=J$3("".slice),Eo$2=(uo$2=/b*/g,F$3(So$2,co$2=/a/,"a"),F$3(So$2,uo$2,"a"),0!==co$2.lastIndex||0!==uo$2.lastIndex),ko$2=po$2.BROKEN_CARET,Ao$2=void 0!==/()??/.exec("")[1];(Eo$2||Ao$2||ko$2||go$2||mo$2)&&(zo$2=function(t){var e,n,r,o,i,a,l,c=this,u=wo$2(c),s=jr$2(t),f=u.raw;if(f)return f.lastIndex=c.lastIndex,e=F$3(zo$2,f,s),c.lastIndex=f.lastIndex,e;var d=u.groups,v=ko$2&&c.sticky,h=F$3(so$2,c),p=c.source,y=0,g=s;if(v&&(h=Oo$2(h,"y",""),-1===To$2(h,"g")&&(h+="g"),g=No$2(s,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==Mo$2(s,c.lastIndex-1))&&(p="(?: "+p+")",g=" "+g,y++),n=new RegExp("^(?:"+p+")",h)),Ao$2&&(n=new RegExp("^"+p+"$(?!\\s)",h)),Eo$2&&(r=c.lastIndex),o=F$3(So$2,v?n:c,g),v?o?(o.input=No$2(o.input,y),o[0]=No$2(o[0],y),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:Eo$2&&o&&(c.lastIndex=c.global?o.index+o[0].length:r),Ao$2&&o&&o.length>1&&F$3(xo$2,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0);})),o&&d)for(o.groups=a=Sr$2(null),i=0;i<d.length;i++)a[(l=d[i])[0]]=o[l[1]];return o});var Ho$2=zo$2;pn$3({target:"RegExp",proto:!0,forced:/./.exec!==Ho$2},{exec:Ho$2});var Co$2,jo$2,Po$2,Vo$2=J$3("".charAt),Io$2=J$3("".charCodeAt),Ro$2=J$3("".slice),Lo$2=function(t){return function(e,n){var r,o,i=jr$2(at$3(e)),a=We$3(n),l=i.length;return a<0||a>=l?t?"":void 0:(r=Io$2(i,a))<55296||r>56319||a+1===l||(o=Io$2(i,a+1))<56320||o>57343?t?Vo$2(i,a):r:t?Ro$2(i,a,a+2):o-56320+(r-55296<<10)+65536}},Do$2={codeAt:Lo$2(!1),charAt:Lo$2(!0)},Bo$2=!D$3((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Wo$2=Ee$3("IE_PROTO"),_o$2=Object,Fo$2=_o$2.prototype,$o$2=Bo$2?_o$2.getPrototypeOf:function(t){var e=Rt$3(t);if(Dt$3(e,Wo$2))return e[Wo$2];var n=e.constructor;return ut$3(n)&&e instanceof n?n.prototype:e instanceof _o$2?Fo$2:null},qo$2=Ut$3("iterator"),Go$2=!1;[].keys&&("next"in(Po$2=[].keys())?(jo$2=$o$2($o$2(Po$2)))!==Object.prototype&&(Co$2=jo$2):Go$2=!0);var Uo$2=!st$3(Co$2)||D$3((function(){var t={};return Co$2[qo$2].call(t)!==t}));Uo$2&&(Co$2={}),ut$3(Co$2[qo$2])||Re$3(Co$2,qo$2,(function(){return this}));var Xo$2={IteratorPrototype:Co$2,BUGGY_SAFARI_ITERATORS:Go$2},Ko$2=he$3.f,Yo$2=Ut$3("toStringTag"),Jo$2=function(t,e,n){t&&!n&&(t=t.prototype),t&&!Dt$3(t,Yo$2)&&Ko$2(t,Yo$2,{configurable:!0,value:e});},Qo$2=Xo$2.IteratorPrototype,Zo$2=function(){return this},ti$2=String,ei$2=TypeError,ni$2=function(t){if(function(t){return st$3(t)||null===t}(t))return t;throw new ei$2("Can't set "+ti$2(t)+" as a prototype")},ri$2=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=function(t,e,n){try{return J$3(kt$3(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}(Object.prototype,"__proto__","set"))(n,[]),e=n instanceof Array;}catch(t){}return function(n,r){return at$3(n),ni$2(r),st$3(n)?(e?t(n,r):n.__proto__=r,n):n}}():void 0),oi$2=me$3.PROPER,ii$2=me$3.CONFIGURABLE,ai$2=Xo$2.IteratorPrototype,li$2=Xo$2.BUGGY_SAFARI_ITERATORS,ci$2=Ut$3("iterator"),ui$2="keys",si$2="values",fi$2="entries",di$2=function(){return this},vi$2=function(t,e,n,r,o,i,a){!function(t,e,n,r){var o=e+" Iterator";t.prototype=Sr$2(Qo$2,{next:U$3(+!r,n)}),Jo$2(t,o,!1),Gr$2[o]=Zo$2;}(n,e,r);var l,c,u,s=function(t){if(t===o&&p)return p;if(!li$2&&t&&t in v)return v[t];switch(t){case ui$2:case si$2:case fi$2:return function(){return new n(this,t)}}return function(){return new n(this)}},f=e+" Iterator",d=!1,v=t.prototype,h=v[ci$2]||v["@@iterator"]||o&&v[o],p=!li$2&&h||s(o),y="Array"===e&&v.entries||h;if(y&&(l=$o$2(y.call(new t)))!==Object.prototype&&l.next&&($o$2(l)!==ai$2&&(ri$2?ri$2(l,ai$2):ut$3(l[ci$2])||Re$3(l,ci$2,di$2)),Jo$2(l,f,!0)),oi$2&&o===si$2&&h&&h.name!==si$2&&(ii$2?pe$3(v,"name",si$2):(d=!0,p=function(){return F$3(h,this)})),o)if(c={values:s(si$2),keys:i?p:s(ui$2),entries:s(fi$2)},a)for(u in c)(li$2||d||!(u in v))&&Re$3(v,u,c[u]);else pn$3({target:e,proto:!0,forced:li$2||d},c);return v[ci$2]!==p&&Re$3(v,ci$2,p,{name:o}),Gr$2[e]=p,c},hi$2=function(t,e){return {value:t,done:e}},pi$2=Do$2.charAt,yi$2="String Iterator",gi$2=Ve$3.set,bi$2=Ve$3.getterFor(yi$2);vi$2(String,"String",(function(t){gi$2(this,{type:yi$2,string:jr$2(t),index:0});}),(function(){var t,e=bi$2(this),n=e.string,r=e.index;return r>=n.length?hi$2(void 0,!0):(t=pi$2(n,r),e.index+=t.length,hi$2(t,!1))}));var mi$2={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},wi$2=te$3("span").classList,xi$2=wi$2&&wi$2.constructor&&wi$2.constructor.prototype,Si$2=xi$2===Object.prototype?void 0:xi$2,zi$2=Jn$3.forEach,Mi$2=Fn$3("forEach")?[].forEach:function(t){return zi$2(this,t,arguments.length>1?arguments[1]:void 0)},Ti$2=function(t){if(t&&t.forEach!==Mi$2)try{pe$3(t,"forEach",Mi$2);}catch(e){t.forEach=Mi$2;}};for(var Oi$2 in mi$2)mi$2[Oi$2]&&Ti$2(L$3[Oi$2]&&L$3[Oi$2].prototype);Ti$2(Si$2);var Ni$2,Ei$2="\t\n\v\f\r                 \u2028\u2029\ufeff",ki$2=J$3("".replace),Ai$2=RegExp("^["+Ei$2+"]+"),Hi$2=RegExp("(^|[^"+Ei$2+"])["+Ei$2+"]+$"),Ci$2=function(t){return function(e){var n=jr$2(at$3(e));return 1&t&&(n=ki$2(n,Ai$2,"")),2&t&&(n=ki$2(n,Hi$2,"$1")),n}},ji$2={start:Ci$2(1),end:Ci$2(2),trim:Ci$2(3)},Pi$2=me$3.PROPER,Vi$2=ji$2.trim;function Ii$2(t){return t.length?t[0].tagName.toLowerCase():""}function Ri$2(t,e){for(var n="",r=(t.attr("style")||"").split(";"),o=r.length,i=0;i<o;i+=1){var a=r[i];if(a){var l=a.split(":");l[0].trim()===e&&(n=l[1].trim());}}return n}pn$3({target:"String",proto:!0,forced:(Ni$2="trim",D$3((function(){return !!Ei$2[Ni$2]()||"​…᠎"!=="​…᠎"[Ni$2]()||Pi$2&&Ei$2[Ni$2].name!==Ni$2})))},{trim:function(){return Vi$2(this)}}),pn$3({global:!0,forced:L$3.globalThis!==L$3},{globalThis:L$3}),append&&($$6.fn.append=append),on$7&&($$6.fn.on=on$7),focus&&($$6.fn.focus=focus),attr&&($$6.fn.attr=attr),val&&($$6.fn.val=val),html&&($$6.fn.html=html),dataset&&($$6.fn.dataset=dataset),addClass&&($$6.fn.addClass=addClass),removeClass&&($$6.fn.removeClass=removeClass),children&&($$6.fn.children=children),each&&($$6.fn.each=each),find&&($$6.fn.find=find),data&&($$6.fn.data=data),hide&&($$6.fn.hide=hide),show&&($$6.fn.show=show);var Li$2=function(){function t(){this.title=Up$1("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.borderStyle=[{value:"none",label:Up$1("tableModule.borderStyle.none")},{value:"solid",label:Up$1("tableModule.borderStyle.solid")},{value:"dotted",label:Up$1("tableModule.borderStyle.dotted")},{value:"dashed",label:Up$1("tableModule.borderStyle.dashed")},{value:"double",label:Up$1("tableModule.borderStyle.double")},{value:"groove",label:Up$1("tableModule.borderStyle.groove")},{value:"ridge",label:Up$1("tableModule.borderStyle.ridge")},{value:"inset",label:Up$1("tableModule.borderStyle.inset")},{value:"outset",label:Up$1("tableModule.borderStyle.outset")}],this.textAlignOptions=[{value:"left",label:Up$1("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:Up$1("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:Up$1("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:Up$1("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){var n=t.selection;return null==n||(!Range.isCollapsed(n)||null==$u$3.getSelectedNodeByType(t,"table"))},t.prototype.exec=function(t,e){},t.prototype.getModalContentNode=function(t){return lr$2(Editor.nodes(t,{match:Rr$2(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 o=lr$2(r,2),i=o[0],a=o[1],l=$$6('<div>\n <label class="babel-container">\n <span>'.concat(Up$1("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(Up$1("tableModule.modal.borderWidth"),'">\n </span>\n </label>\n <div class="babel-container">\n <span>').concat(Up$1("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(Up$1("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(Up$1("tableModule.modal.ok"),"</button>\n </div>\n </div>"));l.find("[name]").each((function(t){$$6(t).val(i[$$6(t).attr("name")]);}));var u=function(t,e){e?$$6(".color-group-block",t).css("background-color",e).empty():$$6(".color-group-block",t).css("background-color","").html(sr$2);};return l.find(".color-group").each((function(n){var r=$$6('[type="hidden"]',n).val()||"";u(n,r);var o=$$6(n);o.on("click",(function(){l.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:r,callback:function(t){$$6('[type="hidden"]',n).val(t||""),u(n,t),i.hide();}}),o.append(i),o.data("panel",i));}));})),l.find("button").on("click",(function(){var e=Array.from(l.find("[name]")).reduce((function(t,e){return t[$$6(e).attr("name")]=$$6(e).val(),t}),{});Transforms.setNodes(t,e,{at:a}),setTimeout((function(){t.focus();}));})),l[0]},t.prototype.getPanelContentElem=function(t,e){var r=e.mark,o=e.selectedColor,i=e.callback,a=$$6('<ul class="w-e-panel-content-color"></ul>');a.on("click","li",(function(t){var e=t.target;if(e){t.preventDefault(),t.stopPropagation();var n=$$6(e).attr("data-value");i(n);}}));var l=t.getMenuConfig(r).colors;(void 0===l?[]:l).forEach((function(t){var e=$$6('<div class="color-block" data-value="'.concat(t,'"></div>'));e.css("background-color",t);var n=$$6('<li data-value="'.concat(t,'"></li>'));o===t&&n.addClass("active"),n.append(e),a.append(n);}));var c="";"color"===r&&(c=Up$1("tableModule.color.default")),"bgColor"===r&&(c=Up$1("tableModule.color.clear"));var u=$$6('\n <li data-value="" class="clear">\n '.concat(sr$2,"\n ").concat(c,"\n </li>\n "));a.prepend(u);var s=$$6('<div class="w-e-drop-panel"></div>');return s.append(a),s},t}(),Di$2=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.title=Up$1("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}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 n(){this.constructor=t;}rr$2(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n);}(e,t),e.prototype.getModalContentNode=function(t){return lr$2(Editor.nodes(t,{match:Rr$2(t,"td")}),1)[0]},e}(Li$2),Bi$2=TypeError,Wi$2=Object.getOwnPropertyDescriptor,_i$2=B$3&&!function(){if(void 0!==this)return !0;try{Object.defineProperty([],"length",{writable:!1}).length=1;}catch(t){return t instanceof TypeError}}()?function(t,e){if(yn$3(t)&&!Wi$2(t,"length").writable)throw new Bi$2("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e},Fi$2=TypeError,$i$2=function(t,e){if(!delete t[e])throw new Fi$2("Cannot delete property "+Nt$3(e)+" of "+Nt$3(t))},qi$2=Ln$3("splice"),Gi$2=Math.max,Ui$2=Math.min;pn$3({target:"Array",proto:!0,forced:!qi$2},{splice:function(t,e){var n,r,o,i,a,l,c=Rt$3(this),u=Ue$3(c),s=$e$3(t,u),f=arguments.length;for(0===f?n=r=0:1===f?(n=0,r=u-s):(n=f-2,r=Ui$2(Gi$2(We$3(e),0),u-s)),bn$3(u+n-r),o=In$3(c,r),i=0;i<r;i++)(a=s+i)in c&&mn$3(o,i,c[a]);if(o.length=r,n<r){for(i=s;i<u-r;i++)l=i+n,(a=i+r)in c?c[l]=c[a]:$i$2(c,l);for(i=u;i>u-r+n;i--)$i$2(c,i-1);}else if(n>r)for(i=u-r;i>s;i--)l=i+n-1,(a=i+r-1)in c?c[l]=c[a]:$i$2(c,l);for(i=0;i<n;i++)c[i+s]=arguments[i+2];return _i$2(c,u-r+n),o}});var Xi$2=function(){function t(){this.title=Up$1("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 n=t.selection;return null==n||(!Range.isCollapsed(n)||null==$u$3.getSelectedNodeByType(t,"table-cell"))},t.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=lr$2(Editor.nodes(t,{match:function(t){return $u$3.checkNodeType(t,"table-cell")},universal:!0}),1),i=lr$2(r[0],2),l=i[0],s=i[1],f=$u$3.getParentNode(t,l),d=(null==f?void 0:f.children.length)||0;if(!f||d<=1)Transforms.removeNodes(t,{mode:"highest"});else if(null!=$u$3.getParentNode(t,f)){var v=Dr$2(t),h=0;t:for(var p=0;p<v.length;p+=1)for(var y=0;y<v[p].length;y+=1){var g=lr$2(v[p][y],1),b=lr$2(g[0],2)[1];if(Path.equals(s,b)){h=y;break t}}Editor.withoutNormalizing(t,(function(){for(var n,r,i=0;i<v.length;i+=1){var l=lr$2(v[i][h],2),u=lr$2(l[0],1)[0].hidden,s=l[1],f=s.rtl,d=s.ltr;if(f>1||d>1){var p=lr$2(v[i][h-(f-1)],1),y=lr$2(p[0],2),g=y[0],b=g.rowSpan,m=void 0===b?1:b,w=g.colSpan,x=void 0===w?1:w,S=y[1];if(u)Transforms.setNodes(t,{rowSpan:m,colSpan:Math.max(x-1,1)},{at:S});else {var z=lr$2(v[i][h+1],1),M=lr$2(z[0],2)[1];Transforms.setNodes(t,{rowSpan:m,colSpan:x-1,hidden:!1},{at:M});try{for(var T=(n=void 0,ar$2(Node$1.children(t,S,{reverse:!0}))),O=T.next();!O.done;O=T.next()){var N=lr$2(O.value,2)[1];Transforms.moveNodes(t,{to:cr$2(cr$2([],lr$2(M),!1),[0],!1),at:N});}}catch(t){n={error:t};}finally{try{O&&!O.done&&(r=T.return)&&r.call(T);}finally{if(n)throw n.error}}}}}for(i=0;i<v.length;i+=1){var E=lr$2(v[i][h],1);S=lr$2(E[0],2)[1];Transforms.removeNodes(t,{at:S});}var k=lr$2(Editor.nodes(t,{match:function(t){return $u$3.checkNodeType(t,"table")},universal:!0}),1)[0];if(k){var A=lr$2(k,2),H=A[0],C=A[1],j=H.columnWidths,P=cr$2([],lr$2(void 0===j?[]:j),!1);P.splice(h,1),Transforms.setNodes(t,{columnWidths:P},{at:C});}}));}}},t}(),Ki$2=function(){function t(){this.title=Up$1("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 n=t.selection;return null==n||(!Range.isCollapsed(n)||null==$u$3.getSelectedNodeByType(t,"table-row"))},t.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=lr$2(Editor.nodes(t,{match:function(t){return $u$3.checkNodeType(t,"table-row")},universal:!0}),1),i=lr$2(r[0],2),l=i[0],s=i[1],f=$u$3.getParentNode(t,l);if(((null==f?void 0:f.children.length)||0)<=1)Transforms.removeNodes(t,{mode:"highest"});else {var d=lr$2(Editor.nodes(t,{match:function(t){return $u$3.checkNodeType(t,"table-cell")},universal:!0}),1),v=lr$2(d[0],2)[1],h=Dr$2(t),p=0;t:for(var y=0;y<h.length;y+=1)for(var g=0;g<h[y].length;g+=1){var b=lr$2(h[y][g],1),m=lr$2(b[0],2)[1];if(Path.equals(v,m)){p=y;break t}}Editor.withoutNormalizing(t,(function(){for(var e,n,r=0;r<h[p].length;r+=1){var o=lr$2(h[p][r],2),i=lr$2(o[0],1)[0].hidden,l=o[1],u=l.ttb,f=l.btt;if(u>1||f>1){var d=lr$2(h[p-(u-1)][r],1),v=lr$2(d[0],2),y=v[0],g=y.rowSpan,b=void 0===g?1:g,m=y.colSpan,w=void 0===m?1:m,x=v[1];if(i)Transforms.setNodes(t,{rowSpan:Math.max(b-1,1),colSpan:w},{at:x});else {var S=lr$2(h[p+1][r],1),z=lr$2(S[0],2)[1];Transforms.setNodes(t,{rowSpan:b-1,colSpan:w,hidden:!1},{at:z});try{for(var M=(e=void 0,ar$2(Node$1.children(t,x,{reverse:!0}))),T=M.next();!T.done;T=M.next()){var O=lr$2(T.value,2)[1];Transforms.moveNodes(t,{to:cr$2(cr$2([],lr$2(z),!1),[0],!1),at:O});}}catch(t){e={error:t};}finally{try{T&&!T.done&&(n=M.return)&&n.call(M);}finally{if(e)throw e.error}}}}}Transforms.removeNodes(t,{at:s});}));}}},t}(),Yi$2=function(){function t(){this.title=Up$1("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==$u$3.getSelectedNodeByType(t,"table")},t.prototype.exec=function(t,e){this.isDisabled(t)||Transforms.removeNodes(t,{mode:"highest"});},t}(),Ji$2=function(){function t(){this.title=Up$1("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 n=$u$3.getSelectedNodeByType(t,"table");return null!=n&&"100%"===n.width},t.prototype.isActive=function(t){return !!this.getValue(t)},t.prototype.isDisabled=function(t){var n=t.selection;return null==n||(!Range.isCollapsed(n)||null==$u$3.getSelectedNodeByType(t,"table"))},t.prototype.exec=function(t,e){if(!this.isDisabled(t)){var n={width:e?"auto":"100%"};Transforms.setNodes(t,n,{mode:"highest"});}},t}();function Qi$2(t){var e=t.children||[];return 0===e.length?[]:(e[0]||{}).children||[]}function Zi$2(t){return Qi$2(t).every((function(t){return !!t.isHeader}))}var ta$3=function(){function t(){this.title=Up$1("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 n=t.selection;return null==n||(!Range.isCollapsed(n)||null==$u$3.getSelectedNodeByType(t,"table"))},t.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=lr$2(Editor.nodes(t,{match:function(t){return $u$3.checkNodeType(t,"table-cell")},universal:!0}),1),i=lr$2(r[0],2),a=i[0],l=i[1],s=$u$3.getParentNode(t,a);if(null!=s){var f=$u$3.getParentNode(t,s);if(null!=f){for(var d=Dr$2(t),v=0,h=0;h<d.length;h+=1)for(var p=0;p<d[h].length;p+=1){var y=lr$2(d[h][p],1),g=lr$2(y[0],2)[1];if(Path.equals(l,g)){v=p;break}}Editor.withoutNormalizing(t,(function(){for(var n=[],r=0;r<d.length;r+=1){var i=lr$2(d[r][v],2)[1],a=i.ltr,l=i.rtl;if(a>1||l>1){if(1===l)continue;var u=lr$2(d[r][v-(l-1)],1),s=lr$2(u[0],2),h=s[0],p=s[1],y=h.colSpan||1;n.push(r),h.hidden||Transforms.setNodes(t,{colSpan:y+1},{at:p});}}for(r=0;r<d.length;r+=1){var g={type:"table-cell",hidden:n.includes(r),children:[{text:""}]};0===r&&Zi$2(f)&&(g.isHeader=!0);var b=lr$2(d[r][v],1),m=lr$2(b[0],2)[1];Transforms.insertNodes(t,g,{at:m});}var w=lr$2(Editor.nodes(t,{match:function(t){return $u$3.checkNodeType(t,"table")},universal:!0}),1)[0];if(w){var x=lr$2(w,2),S=x[0],z=x[1],M=S.columnWidths,T=cr$2([],lr$2(void 0===M?[]:M),!1),O=t.getMenuConfig("insertTable").minWidth,N=void 0===O?60:O;T.splice(v,0,parseInt(N,10)||60),Transforms.setNodes(t,{columnWidths:T},{at:z});}}));}}}},t}(),ea$3=function(){function t(){this.title=Up$1("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 n=t.selection;return null==n||(!Range.isCollapsed(n)||null==$u$3.getSelectedNodeByType(t,"table"))},t.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=lr$2(Editor.nodes(t,{match:function(t){return $u$3.checkNodeType(t,"table-cell")},universal:!0}),1),i=lr$2(r[0],2),a=i[0],l=i[1],s=$u$3.getParentNode(t,a),f=(null==s?void 0:s.children.length)||0;if(0!==f){var d=Dr$2(t),v=0;t:for(var h=0;h<d.length;h+=1)for(var p=0;p<d[h].length;p+=1){var y=lr$2(d[h][p],1),g=lr$2(y[0],2)[1];if(Path.equals(l,g)){v=h;break t}}Editor.withoutNormalizing(t,(function(){for(var e=v+1,n=e>=0&&e<d.length,r=[],o=0;n&&o<d[v].length;o+=1){var i=lr$2(d[v][o],2)[1],a=i.ttb,s=i.btt;if(a>1||s>1){if(1===s)continue;var h=lr$2(d[v-(a-1)][o],1),p=lr$2(h[0],2),y=p[0],g=p[1],b=y.rowSpan||1;r.push(o),y.hidden||Transforms.setNodes(t,{rowSpan:b+1},{at:g});}}for(var m={type:"table-row",children:[]},w=0;w<f;w+=1){var x={type:"table-cell",hidden:r.includes(w),children:[{text:""}]};m.children.push(x);}var S=Path.parent(l),z=Path.next(S);Transforms.insertNodes(t,m,{at:z});}));}}},t}();pn$3({target:"Array",proto:!0},{fill:function(t){for(var e=Rt$3(this),n=Ue$3(e),r=arguments.length,o=$e$3(r>1?arguments[1]:void 0,n),i=r>2?arguments[2]:void 0,a=void 0===i?n:$e$3(i,n);a>o;)e[o++]=t;return e}}),Or$2("fill");var na$3=RegExp.prototype,ra$3=me$3.PROPER,oa$3="toString",ia$3=RegExp.prototype,aa$3=ia$3[oa$3],la$3=D$3((function(){return "/a/b"!==aa$3.call({source:"a",flags:"b"})})),ca$3=ra$3&&aa$3.name!==oa$3;(la$3||ca$3)&&Re$3(ia$3,oa$3,(function(){var t=le$3(this),e=jr$2(t.source),n=jr$2(function(t){var e=t.flags;return void 0!==e||"flags"in na$3||Dt$3(t,"flags")||!dt$3(na$3,t)?e:F$3(so$2,t)}(t));return "/"+e+"/"+n}),{unsafe:!0});var ua$3=function(){function t(){this.title=Up$1("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 n=t.selection;return null==n||(!Range.isCollapsed(n)||!!$u$3.getSelectedElems(t).some((function(n){var r=$u$3.getNodeType(n);return "pre"===r||("table"===r||("list-item"===r||!!t.isVoid(n)))})))},t.prototype.getPanelContentElem=function(t){var e=this;if(this.$content)return this.$content[0];for(var n=$$6('<div class="w-e-panel-content-table"></div>'),r=$$6("<span>0 &times; 0</span>"),o=$$6("<table></table>"),i=0;i<10;i+=1){for(var a=$$6("<tr></tr>"),l=0;l<10;l+=1){var c=$$6("<td></td>");c.attr("data-x",l.toString()),c.attr("data-y",i.toString()),a.append(c),c.on("mouseenter",(function(t){var e=t.target;if(null!=e){var n=$$6(e).dataset(),i=n.x,a=n.y;r[0].innerHTML="".concat(i+1," &times; ").concat(a+1),o.children().each((function(t){$$6(t).children().each((function(t){var e=$$6(t),n=e.dataset(),r=n.x,o=n.y;r<=i&&o<=a?e.addClass("active"):e.removeClass("active");}));}));}})),c.on("click",(function(n){n.preventDefault();var r=n.target;if(null!=r){var o=$$6(r).dataset(),i=o.x,a=o.y;e.insertTable(t,a+1,i+1);}}));}o.append(a);}return n.append(o),n.append(r),this.$content=n,n[0]},t.prototype.insertTable=function(t,n,r){var o=parseInt(n,10),i=parseInt(r,10);if(o&&i&&!(o<=0||i<=0)){if($u$3.isSelectedEmptyParagraph(t)&&Transforms.removeNodes(t,{mode:"highest"}),0===t.children.length){Transforms.insertNodes(t,{type:"paragraph",children:[{text:""}]},{mode:"highest"});}var a=function(t,e,n){for(var r,o=[],i=t.getMenuConfig("insertTable"),a=i.minWidth,l=void 0===a?60:a,c=i.tableFullWidth,u=i.tableHeader,s=Array(n).fill(parseInt(l,10)||60),f=0;f<e;f+=1){for(var d=[],v=0;v<n;v+=1){var h={type:"table-cell",children:[{text:""}]};0===f&&(h.isHeader=null===(r=null==u?void 0:u.selected)||void 0===r||r),d.push(h);}o.push({type:"table-row",children:d});}return {type:"table",width:(null==c?void 0:c.selected)?"100%":"auto",children:o,columnWidths:s}}(t,o,i);Transforms.insertNodes(t,a,{mode:"highest"});}},t}(),sa$3=he$3.f,fa$3="Array Iterator",da$3=Ve$3.set,va$3=Ve$3.getterFor(fa$3),ha$3=vi$2(Array,"Array",(function(t,e){da$3(this,{type:fa$3,target:lt$3(t),index:0,kind:e});}),(function(){var t=va$3(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=null,hi$2(void 0,!0);switch(t.kind){case"keys":return hi$2(n,!1);case"values":return hi$2(e[n],!1)}return hi$2([n,e[n]],!1)}),"values"),pa$3=Gr$2.Arguments=Gr$2.Array;if(Or$2("keys"),Or$2("values"),Or$2("entries"),B$3&&"values"!==pa$3.name)try{sa$3(pa$3,"name",{value:"values"});}catch(t){}var ya$3=!D$3((function(){return Object.isExtensible(Object.preventExtensions({}))})),ga$3=function(t,e,n){for(var r in e)Re$3(t,r,e[r],n);return t},ba$3=J$3([].slice),ma$3=en$3.f,wa$3="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],xa$2={f:function(t){return wa$3&&"Window"===tt$3(t)?function(t){try{return ma$3(t)}catch(t){return ba$3(wa$3)}}(t):ma$3(lt$3(t))}},Sa$3=D$3((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8});}})),za$1=Object.isExtensible,Ma$1=D$3((function(){za$1(1);}))||Sa$3?function(t){return !!st$3(t)&&((!Sa$3||"ArrayBuffer"!==tt$3(t))&&(!za$1||za$1(t)))}:za$1,Ta$3=P$3((function(t){var e=he$3.f,n=!1,r=Ft$3("meta"),o=0,i=function(t){e(t,r,{value:{objectID:"O"+o++,weakData:{}}});},a=t.exports={enable:function(){a.enable=function(){},n=!0;var t=en$3.f,e=J$3([].splice),o={};o[r]=1,t(o).length&&(en$3.f=function(n){for(var o=t(n),i=0,a=o.length;i<a;i++)if(o[i]===r){e(o,i,1);break}return o},pn$3({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:xa$2.f}));},fastKey:function(t,e){if(!st$3(t))return "symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!Dt$3(t,r)){if(!Ma$1(t))return "F";if(!e)return "E";i(t);}return t[r].objectID},getWeakData:function(t,e){if(!Dt$3(t,r)){if(!Ma$1(t))return !0;if(!e)return !1;i(t);}return t[r].weakData},onFreeze:function(t){return ya$3&&n&&Ma$1(t)&&!Dt$3(t,r)&&i(t),t}};ke$3[r]=!0;})),Oa$3=TypeError,Na$3=function(t,e){this.stopped=t,this.result=e;},Ea$3=Na$3.prototype,ka$2=function(t,e,n){var r,o,i,a,l,c,u,s=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_RECORD),v=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),p=Xn$3(e,s),y=function(t){return r&&$r$2(r,"normal",t),new Na$3(!0,t)},g=function(t){return f?(le$3(t),h?p(t[0],t[1],y):p(t[0],t[1])):h?p(t,y):p(t)};if(d)r=t.iterator;else if(v)r=t;else {if(!(o=Jr$2(t)))throw new Oa$3(Nt$3(t)+" is not iterable");if(Kr$2(o)){for(i=0,a=Ue$3(t);a>i;i++)if((l=g(t[i]))&&dt$3(Ea$3,l))return l;return new Na$3(!1)}r=Zr$2(t,o);}for(c=d?t.next:r.next;!(u=F$3(c,r)).done;){try{l=g(u.value);}catch(t){$r$2(r,"throw",t);}if("object"==typeof l&&l&&dt$3(Ea$3,l))return l}return new Na$3(!1)},Aa$3=TypeError,Ha$1=function(t,e){if(dt$3(e,t))return t;throw new Aa$3("Incorrect invocation")},Ca$3=function(t,e,n){var r=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),i=r?"set":"add",a=L$3[t],l=a&&a.prototype,c=a,u={},s=function(t){var e=J$3(l[t]);Re$3(l,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return !(o&&!st$3(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return o&&!st$3(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return !(o&&!st$3(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this});};if(vn$3(t,!ut$3(a)||!(o||l.forEach&&!D$3((function(){(new a).entries().next();})))))c=n.getConstructor(e,t,r,i),Ta$3.enable();else if(vn$3(t,!0)){var f=new c,d=f[i](o?{}:-0,1)!==f,v=D$3((function(){f.has(1);})),h=io$2((function(t){new a(t);})),p=!o&&D$3((function(){for(var t=new a,e=5;e--;)t[i](e,e);return !t.has(-0)}));h||((c=e((function(t,e){Ha$1(t,l);var n=function(t,e,n){var r,o;return ri$2&&ut$3(r=e.constructor)&&r!==n&&st$3(o=r.prototype)&&o!==n.prototype&&ri$2(t,o),t}(new a,t,c);return ot$3(e)||ka$2(e,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=l,l.constructor=c),(v||p)&&(s("delete"),s("has"),r&&s("get")),(p||d)&&s(i),o&&l.clear&&delete l.clear;}return u[t]=c,pn$3({global:!0,constructor:!0,forced:c!==a},u),Jo$2(c,t),o||n.setStrong(c,t,r),c},ja$2=Ta$3.getWeakData,Pa$2=Ve$3.set,Va$1=Ve$3.getterFor,Ia$3=Jn$3.find,Ra$3=Jn$3.findIndex,La$3=J$3([].splice),Da$1=0,Ba$1=function(t){return t.frozen||(t.frozen=new Wa$1)},Wa$1=function(){this.entries=[];},_a$1=function(t,e){return Ia$3(t.entries,(function(t){return t[0]===e}))};Wa$1.prototype={get:function(t){var e=_a$1(this,t);if(e)return e[1]},has:function(t){return !!_a$1(this,t)},set:function(t,e){var n=_a$1(this,t);n?n[1]=e:this.entries.push([t,e]);},delete:function(t){var e=Ra$3(this.entries,(function(e){return e[0]===t}));return ~e&&La$3(this.entries,e,1),!!~e}};var Fa$1,$a$1={getConstructor:function(t,e,n,r){var o=t((function(t,o){Ha$1(t,i),Pa$2(t,{type:e,id:Da$1++,frozen:null}),ot$3(o)||ka$2(o,t[r],{that:t,AS_ENTRIES:n});})),i=o.prototype,a=Va$1(e),l=function(t,e,n){var r=a(t),o=ja$2(le$3(e),!0);return !0===o?Ba$1(r).set(e,n):o[r.id]=n,t};return ga$3(i,{delete:function(t){var e=a(this);if(!st$3(t))return !1;var n=ja$2(t);return !0===n?Ba$1(e).delete(t):n&&Dt$3(n,e.id)&&delete n[e.id]},has:function(t){var e=a(this);if(!st$3(t))return !1;var n=ja$2(t);return !0===n?Ba$1(e).has(t):n&&Dt$3(n,e.id)}}),ga$3(i,n?{get:function(t){var e=a(this);if(st$3(t)){var n=ja$2(t);if(!0===n)return Ba$1(e).get(t);if(n)return n[e.id]}},set:function(t,e){return l(this,t,e)}}:{add:function(t){return l(this,t,!0)}}),o}},qa=Ve$3.enforce,Ga$1=Object,Ua$1=Array.isArray,Xa=Ga$1.isExtensible,Ka=Ga$1.isFrozen,Ya=Ga$1.isSealed,Ja=Ga$1.freeze,Qa=Ga$1.seal,Za=!L$3.ActiveXObject&&"ActiveXObject"in L$3,tl=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},el=Ca$3("WeakMap",tl,$a$1),nl=el.prototype,rl=J$3(nl.set);if(Oe$3)if(Za){Fa$1=$a$1.getConstructor(tl,"WeakMap",!0),Ta$3.enable();var ol=J$3(nl.delete),il=J$3(nl.has),al=J$3(nl.get);ga$3(nl,{delete:function(t){if(st$3(t)&&!Xa(t)){var e=qa(this);return e.frozen||(e.frozen=new Fa$1),ol(this,t)||e.frozen.delete(t)}return ol(this,t)},has:function(t){if(st$3(t)&&!Xa(t)){var e=qa(this);return e.frozen||(e.frozen=new Fa$1),il(this,t)||e.frozen.has(t)}return il(this,t)},get:function(t){if(st$3(t)&&!Xa(t)){var e=qa(this);return e.frozen||(e.frozen=new Fa$1),il(this,t)?al(this,t):e.frozen.get(t)}return al(this,t)},set:function(t,e){if(st$3(t)&&!Xa(t)){var n=qa(this);n.frozen||(n.frozen=new Fa$1),il(this,t)?rl(this,t,e):n.frozen.set(t,e);}else rl(this,t,e);return this}});}else ya$3&&D$3((function(){var t=Ja([]);return rl(new el,t,1),!Ka(t)}))&&ga$3(nl,{set:function(t,e){var n;return Ua$1(t)&&(Ka(t)?n=Ja:Ya(t)&&(n=Qa)),rl(this,t,e),n&&n(t),this}});var ll=Ut$3("iterator"),cl=ha$3.values,ul=function(t,e){if(t){if(t[ll]!==cl)try{pe$3(t,ll,cl);}catch(e){t[ll]=cl;}if(Jo$2(t,e,!0),mi$2[e])for(var n in ha$3)if(t[n]!==ha$3[n])try{pe$3(t,n,ha$3[n]);}catch(e){t[n]=ha$3[n];}}};for(var sl in mi$2)ul(L$3[sl]&&L$3[sl].prototype,sl);ul(Si$2,"DOMTokenList");var fl=new WeakMap,dl=new WeakMap,vl={isInTable:function(t,e){return void 0===e&&(e={}),!!lr$2(Editor.nodes(t,{match:Rr$2(t,"table"),at:e.at}),1)[0]},selection:function(t){var e,n,r,o,i,a,l,c;return ir$2(this,(function(u){switch(u.label){case 0:e=fl.get(t),n=0,u.label=1;case 1:if(!(e&&n<e.length))return [3,4];for(r=[],o=0;o<e[n].length;o+=1)i=lr$2(e[n][o],2),a=i[0],l=i[1],c=l.ltr,1===l.ttb&&r.push(a),o+=c-1;return [4,r];case 2:u.sent(),u.label=3;case 3:return n+=1,[3,1];case 4:return [2]}}))},unselect:function(t){dl.delete(t),fl.delete(t);},isSelected:function(t,e){var n=dl.get(t);return !!n&&n.has(e)}},hl=function(){function t(){this.title=Up$1("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),vl.unselect(t));},t.prototype.canMerge=function(t){var e=fl.get(t);if(!e||!e.length)return !1;var n=lr$2(e[e.length-1][e[e.length-1].length-1],1),r=lr$2(n[0],2)[1],o=lr$2(e[0][0],1);return !!Lr$2(t,[lr$2(o[0],2)[1],r],"table")},t.prototype.merge=function(t){if(this.canMerge(t)){var e=fl.get(t);if(e&&e.length){var n=lr$2(e[0][0],1),r=lr$2(n[0],2)[1],i=lr$2(Node$1.children(t,r,{reverse:!0}),1),l=lr$2(i[0],2)[1];Editor.withoutNormalizing(t,(function(){for(var n,i,s=0,f=0,d=e.length-1;d>=0;d-=1,s+=1){f=0;for(var v=e[d].length-1;v>=0;v-=1,f+=1){var h=lr$2(e[d][v],2),p=lr$2(h[0],2)[1],y=h[1].ttb;if(!(Path.equals(r,p)||y>1)){try{for(var g=(n=void 0,ar$2(Node$1.children(t,p,{reverse:!0}))),b=g.next();!b.done;b=g.next()){var m=lr$2(b.value,2)[1];Transforms.moveNodes(t,{to:Path.next(l),at:m});}}catch(t){n={error:t};}finally{try{b&&!b.done&&(i=g.return)&&i.call(g);}finally{if(n)throw n.error}}var w=lr$2(Editor.nodes(t,{match:Rr$2(t,"tr"),at:p}),1),x=lr$2(w[0],2)[1];lr$2(Node$1.children(t,x),2)[1]&&Transforms.setNodes(t,{hidden:!0},{at:p});}}}Transforms.setNodes(t,{rowSpan:s,colSpan:f},{at:r});}));}}},t}(),pl=Ut$3("species"),yl=RegExp.prototype,gl=function(t,e,n,r){var o=Ut$3(t),i=!D$3((function(){var e={};return e[o]=function(){return 7},7!==""[t](e)})),a=i&&!D$3((function(){var e=!1,n=/a/;return "split"===t&&((n={}).constructor={},n.constructor[pl]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!i||!a||n){var l=/./[o],c=e(o,""[t],(function(t,e,n,r,o){var a=e.exec;return a===Ho$2||a===yl.exec?i&&!o?{done:!0,value:F$3(l,e,n,r)}:{done:!0,value:F$3(t,n,e,r)}:{done:!1}}));Re$3(String.prototype,t,c[0]),Re$3(yl,o,c[1]);}r&&pe$3(yl[o],"sham",!0);},bl=TypeError,ml=Ut$3("species"),wl=function(t,e){var n,r=le$3(t).constructor;return void 0===r||ot$3(n=le$3(r)[ml])?e:function(t){if(jn$3(t))return t;throw new bl(Nt$3(t)+" is not a constructor")}(n)},xl=Do$2.charAt,Sl=function(t,e,n){return e+(n?xl(t,e).length:1)},zl=TypeError,Ml=function(t,e){var n=t.exec;if(ut$3(n)){var r=F$3(n,t,e);return null!==r&&le$3(r),r}if("RegExp"===tt$3(t))return F$3(Ho$2,t,e);throw new zl("RegExp#exec called on incompatible receiver")},Tl=po$2.UNSUPPORTED_Y,Ol=Math.min,Nl=J$3([].push),El=J$3("".slice),kl=!D$3((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),Al="c"==="abbc".split(/(b)*/)[1]||4!=="test".split(/(?:)/,-1).length||2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length;gl("split",(function(t,e,n){var r="0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:F$3(e,this,t,n)}:e;return [function(e,n){var o=at$3(this),i=ot$3(e)?void 0:At$3(e,t);return i?F$3(i,e,o,n):F$3(r,jr$2(o),e,n)},function(t,o){var i=le$3(this),a=jr$2(t);if(!Al){var l=n(r,i,a,o,r!==e);if(l.done)return l.value}var c=wl(i,RegExp),u=i.unicode,s=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(Tl?"g":"y"),f=new c(Tl?"^(?:"+i.source+")":i,s),d=void 0===o?4294967295:o>>>0;if(0===d)return [];if(0===a.length)return null===Ml(f,a)?[a]:[];for(var v=0,h=0,p=[];h<a.length;){f.lastIndex=Tl?0:h;var y,g=Ml(f,Tl?El(a,h):a);if(null===g||(y=Ol(Ge$3(f.lastIndex+(Tl?h:0)),a.length))===v)h=Sl(a,h,u);else {if(Nl(p,El(a,v,h)),p.length===d)return p;for(var b=1;b<=g.length-1;b++)if(Nl(p,g[b]),p.length===d)return p;h=v=y;}}return Nl(p,El(a,v)),p}]}),Al||!kl,Tl);var Hl=function(){function t(){this.title=Up$1("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=lr$2(Editor.nodes(t,{match:Rr$2(t,"td")}),1),n=lr$2(e[0],1)[0],r=n.rowSpan,i=void 0===r?1:r,a=n.colSpan;return !(i>1||(void 0===a?1:a)>1)},t.prototype.exec=function(t,e){this.isDisabled(t)||this.split(t);},t.prototype.split=function(t,e){void 0===e&&(e={});var n=lr$2(Editor.nodes(t,{match:Rr$2(t,"table","th","td"),at:e.at}),2),r=n[0],i=n[1];if(r&&i){var a=fl.get(t)||[],l=Dr$2(t,{at:e.at});Editor.withoutNormalizing(t,(function(){for(var n=l.length-1;n>=0;n-=1)for(var r=l[n].length-1;r>=0;r-=1){var o=lr$2(l[n][r],2),s=lr$2(o[0],2)[1],f=o[1],d=f.ltr,v=f.rtl,h=f.btt,p=f.ttb;if(v>1)r-=v-2;else if(!(p>1||1===h&&1===d)){var y=!!e.all;if(a.length)t:for(var g=0;!e.all&&g<a.length;g+=1)for(var b=0;b<a[g].length;b+=1){var m=lr$2(a[g][b],1),w=lr$2(m[0],2)[1];if(Path.equals(w,s)){y=!0;break t}}else {w=lr$2(i,2)[1];Path.equals(w,s)&&(y=!0);}if(y){t:for(var x=1;x<h;x+=1)for(g=r;g>=0;g-=1){if(1!==lr$2(l[n+x][g],2)[1].ttb){for(var S=0;S<d;S+=1){var z=lr$2(l[n+x][g+S],1),M=lr$2(z[0],2)[1];Transforms.unsetNodes(t,["hidden","colSpan","rowSpan"],{at:M});}continue t}}for(S=1;S<d;S+=1){var T=lr$2(l[n][r+S],1);M=lr$2(T[0],2)[1];Transforms.unsetNodes(t,["hidden","colSpan","rowSpan"],{at:M});}Transforms.setNodes(t,{rowSpan:1,colSpan:1},{at:s});}}}}));}},t}(),Cl=function(){function t(){this.title=Up$1("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 n=$u$3.getSelectedNodeByType(t,"table");return null!=n&&Zi$2(n)},t.prototype.isActive=function(t){return !!this.getValue(t)},t.prototype.isDisabled=function(t){var n=t.selection;return null==n||(!Range.isCollapsed(n)||null==$u$3.getSelectedNodeByType(t,"table"))},t.prototype.exec=function(t,n){if(!this.isDisabled(t)){var r=!n,o=$u$3.getSelectedNodeByType(t,"table");if(null!=o)Qi$2(o).forEach((function(n){return Transforms.setNodes(t,{isHeader:r},{at:$u$3.findPath(t,n)})}));}},t}(),jl={key:"insertTable",factory:function(){return new ua$3}},Pl={key:"deleteTable",factory:function(){return new Yi$2}},Vl={key:"insertTableRow",factory:function(){return new ea$3}},Il={key:"deleteTableRow",factory:function(){return new Ki$2}},Rl={key:"insertTableCol",factory:function(){return new ta$3}},Ll={key:"deleteTableCol",factory:function(){return new Xi$2}},Dl={key:"tableHeader",factory:function(){return new Cl}},Bl={key:"tableFullWidth",factory:function(){return new Ji$2}},Wl={key:"mergeTableCell",factory:function(){return new hl}},_l={key:"splitTableCell",factory:function(){return new Hl}},Fl={key:"setTableProperty",factory:function(){return new Li$2}},$l={key:"setTableCellProperty",factory:function(){return new Di$2}},ql=Jn$3.filter,Gl=Ln$3("filter");pn$3({target:"Array",proto:!0,forced:!Gl},{filter:function(t){return ql(this,t,arguments.length>1?arguments[1]:void 0)}});var Ul=Function.prototype,Xl=Ul.apply,Kl=Ul.call,Yl="object"==typeof Reflect&&Reflect.apply||(W$3?Kl.bind(Xl):function(){return Kl.apply(Xl,arguments)}),Jl=Math.floor,Ql=J$3("".charAt),Zl=J$3("".replace),tc$1=J$3("".slice),ec$1=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,nc$1=/\$([$&'`]|\d{1,2})/g,rc$1=function(t,e,n,r,o,i){var a=n+t.length,l=r.length,c=nc$1;return void 0!==o&&(o=Rt$3(o),c=ec$1),Zl(i,c,(function(i,c){var u;switch(Ql(c,0)){case"$":return "$";case"&":return t;case"`":return tc$1(e,0,n);case"'":return tc$1(e,a);case"<":u=o[tc$1(c,1,-1)];break;default:var s=+c;if(0===s)return i;if(s>l){var f=Jl(s/10);return 0===f?i:f<=l?void 0===r[f-1]?Ql(c,1):r[f-1]+Ql(c,1):i}u=r[s-1];}return void 0===u?"":u}))},oc$1=Ut$3("replace"),ic$1=Math.max,ac$1=Math.min,lc$1=J$3([].concat),cc$1=J$3([].push),uc$1=J$3("".indexOf),sc$1=J$3("".slice),fc$1="$0"==="a".replace(/./,"$0"),dc$1=!!/./[oc$1]&&""===/./[oc$1]("a","$0");gl("replace",(function(t,e,n){var r=dc$1?"$":"$0";return [function(t,n){var r=at$3(this),o=ot$3(t)?void 0:At$3(t,oc$1);return o?F$3(o,t,r,n):F$3(e,jr$2(r),t,n)},function(t,o){var i=le$3(this),a=jr$2(t);if("string"==typeof o&&-1===uc$1(o,r)&&-1===uc$1(o,"$<")){var l=n(e,i,a,o);if(l.done)return l.value}var c=ut$3(o);c||(o=jr$2(o));var u,s=i.global;s&&(u=i.unicode,i.lastIndex=0);for(var f,d=[];null!==(f=Ml(i,a))&&(cc$1(d,f),s);){""===jr$2(f[0])&&(i.lastIndex=Sl(a,Ge$3(i.lastIndex),u));}for(var v,h="",p=0,y=0;y<d.length;y++){for(var g,b=jr$2((f=d[y])[0]),m=ic$1(ac$1(We$3(f.index),a.length),0),w=[],x=1;x<f.length;x++)cc$1(w,void 0===(v=f[x])?v:String(v));var S=f.groups;if(c){var z=lc$1([b],w,m,a);void 0!==S&&cc$1(z,S),g=jr$2(Yl(o,void 0,z));}else g=rc$1(b,a,m,w,S,o);m>=p&&(h+=sc$1(a,p,m)+g,p=m+b.length);}return h+sc$1(a,p)}]}),!!D$3((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!fc$1||dc$1);var vc$1={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(t,n,r){var o=$$6(t);0===(n=n.filter((function(t){return "paragraph"===$u$3.getNodeType(t)||(!!Text.isText(t)||!!r.isInline(t))}))).length&&(n=[{text:o.text().replace(/\s+/gm," ")}]);var i=parseInt(o.attr("colSpan")||"1",10),a=parseInt(o.attr("rowSpan")||"1",10),l="none"===Ri$2(o,"display"),c=o.attr("width")||"auto";return {type:"table-cell",isHeader:"th"===Ii$2(o),colSpan:i,rowSpan:a,width:c,children:n,hidden:l}}};var hc$1={selector:"tr:not([data-w-e-type])",parseElemHtml:function(t,n,r){return {type:"table-row",children:n.filter((function(t){return "table-cell"===$u$3.getNodeType(t)}))}}};var pc$1,yc$1={selector:"table:not([data-w-e-type])",parseElemHtml:function(t,n,r){var o,i,a=$$6(t),l="auto";"100%"===Ri$2(a,"width")&&(l="100%"),"100%"===a.attr("width")&&(l="100%");var c={type:"table",width:l,height:parseInt(Ri$2(a,"height")||"0",10),children:n.filter((function(t){return "table-row"===$u$3.getNodeType(t)}))},u=(null===(o=a.find("tr")[0])||void 0===o?void 0:o.children)||[],s=(null===(i=a.find("colgroup")[0])||void 0===i?void 0:i.children)||null;if(s)c.columnWidths=Array.from(s).map((function(t){return parseInt(t.getAttribute("width"),10)}));else if(u.length>0){var f=[];Array.from(u).forEach((function(t){for(var e=parseInt($$6(t).attr("colspan")||"1",10),n=parseInt(Ri$2($$6(t),"width")||"180",10),r=0;r<e;r+=1)f.push(n);})),c.columnWidths=f;}return c}},gc$1=null===(pc$1=null===window||void 0===window?void 0:window.getComputedStyle(document.documentElement))||void 0===pc$1?void 0:pc$1.getPropertyValue("--w-e-textarea-border-color");var bc$1=Ln$3("slice"),mc$1=Ut$3("species"),wc$1=Array,xc$1=Math.max;pn$3({target:"Array",proto:!0,forced:!bc$1},{slice:function(t,e){var n,r,o,i=lt$3(this),a=Ue$3(i),l=$e$3(t,a),c=$e$3(void 0===e?a:e,a);if(yn$3(i)&&(n=i.constructor,(jn$3(n)&&(n===wc$1||yn$3(n.prototype))||st$3(n)&&null===(n=n[mc$1]))&&(n=void 0),n===wc$1||void 0===n))return ba$3(i,l,c);for(r=new(void 0===n?wc$1:n)(xc$1(c-l,0)),o=0;l<c;l++,o++)l in i&&mn$3(r,o,i[l]);return r.length=o,r}});var Sc$1=/"/g,zc$1=J$3("".replace);function Mc$1(t){var n=t.selection;if(null==n)return !1;var r=lr$2(Editor.nodes(t,{match:function(t){return $u$3.checkNodeType(t,"table-cell")}}),1)[0];if(r){var i=lr$2(r,2)[1],a=Editor.start(t,i);if(Point.equals(n.anchor,a))return !0}return !1}pn$3({target:"String",proto:!0,forced:function(t){return D$3((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}("anchor")},{anchor:function(t){return e="a",n="name",r=t,o=jr$2(at$3(this)),i="<"+e,""!==n&&(i+=" "+n+'="'+zc$1(jr$2(r),Sc$1,"&quot;")+'"'),i+">"+o+"</"+e+">";var e,n,r,o,i;}}),Ca$3("WeakSet",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),$a$1);var Tc$1={selector:"table",preParseHtml:function(t){var e=$$6(t);if("table"!==Ii$2(e))return t;var n=e.find("tbody");if(0===n.length)return t;var r=e.find("tr");return e.append(r),n.remove(),e[0]}};function Oc$1(t){var e,n,r=[],o=t.reduce((function(t,e){return t+e}),0);try{for(var i=ar$2(t),a=i.next();!a.done;a=i.next()){var l=a.value;r.push(l/o);}}catch(t){e={error:t};}finally{try{a&&!a.done&&(n=i.return)&&n.call(i);}finally{if(e)throw e.error}}return r}var Nc$1=null;var Ec$1=!1,kc$1=!1,Ac$1=0,Hc$1=0,Cc$1=null,jc$1=$$6(window);jc$1.on("mousedown",(function(t){var e=t.target;if(e.closest('[data-block-type="table-cell"]'))Ec$1=!0;else if("DIV"===e.tagName&&e.closest(".column-resizer-item")){if(null===Cc$1)return;var n=lr$2(Editor.nodes(Cc$1,{match:Rr$2(Cc$1,"table")}),1),r=lr$2(n[0],1)[0],i=r.columnWidths,a=void 0===i?[]:i,l=r.resizingIndex,c=void 0===l?-1:l;kc$1=!0;var u=t.clientX;Ac$1=u,Hc$1=a[c],document.body.style.cursor="col-resize",t.preventDefault();}jc$1.on("mousemove",Pc$1),jc$1.on("mouseup",Vc$1);}));var Pc$1=lodash_throttle((function(t){if(kc$1&&null!==Cc$1){t.preventDefault();var e=t.clientX,n=Hc$1+(e-Ac$1);(n=Math.floor(100*n)/100)<30&&(n=30);var r=lr$2(Editor.nodes(Cc$1,{match:Rr$2(Cc$1,"table")}),1),i=lr$2(r[0],1)[0],a=i.columnWidths,l=void 0===a?[]:a,u=i.resizingIndex,s=void 0===u?-1:u,f=l.reduce((function(t,e){return t+e}),0)-l[s],d=document.querySelector(".table-container");if(!(d&&f+n>d.clientWidth)){var v=cr$2([],lr$2(l),!1).map((function(t){return Math.floor(t)}));v[s]=n,Transforms.setNodes(Cc$1,{columnWidths:v},{mode:"highest"});}}}),100);function Vc$1(t){Ec$1=!1,kc$1=!1,Cc$1=null,document.body.style.cursor="",jc$1.off("mousemove",Pc$1),jc$1.off("mouseup",Vc$1);}function Ic$1(t,e,n,o){if(!t.isDisabled()&&!Ec$1&&!kc$1){var i=e,a=i.width,l=void 0===a?"auto":a,u=i.columnWidths,s=void 0===u?[]:u,f=i.isHoverCellBorder,d=i.resizingIndex,v=n.clientX,h=n.target;if(Wc$3(h))if(v>(g=h.getBoundingClientRect()).x+5&&v<g.x+g.width-5)return void(f&&Transforms.setNodes(t,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"}));if(Wc$3(h)){var p=h.closest(".table");if(p)for(var y=n.clientX,g=p.getBoundingClientRect(),b=function(t){var e,n,r=[],o=0;try{for(var i=ar$2(t),a=i.next();!a.done;a=i.next())o+=a.value,r.push(o);}catch(t){e={error:t};}finally{try{a&&!a.done&&(n=i.return)&&n.call(i);}finally{if(e)throw e.error}}return r}("100%"===l?Oc$1(s).map((function(t){return t*o})):s),m=0;m<b.length;m+=1)if(y-g.x>=b[m]-5&&y-g.x<b[m]+5){if(d===m)return;return void Transforms.setNodes(t,{isHoverCellBorder:!0,resizingIndex:m},{mode:"highest"})}}!0===f&&Transforms.setNodes(t,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"});}}function Rc$1(t,e){"mouseenter"===e.type?Transforms.setNodes(t,{isResizing:!0},{mode:"highest"}):Transforms.setNodes(t,{isResizing:!1},{mode:"highest"});}var Lc$1={type:"table",renderElem:function(t,n,i){var a=function(t,n){if(t.isDisabled())return !1;var r=t.selection;if(null==r)return !0;if(Range.isCollapsed(r))return !0;var i=r.anchor,a=r.focus,c=$u$3.findPath(t,n),s=Editor.start(t,c),f=Editor.end(t,c),v=Point.compare(i,f)<=0&&Point.compare(i,s)>=0,h=Point.compare(a,f)<=0&&Point.compare(a,s)>=0;return !!(v&&h&&Path.equals(i.path.slice(0,3),a.path.slice(0,3)))}(i,t),s=t,f=s.width,v=void 0===f?"auto":f,h=s.height,p=s.columnWidths,y=void 0===p?[]:p,g=s.scrollWidth,b=void 0===g?0:g,m=s.isHoverCellBorder,w=s.resizingIndex,x=s.isResizing,S=$u$3.isNodeSelected(i,t),z=lr$2(vl.selection(i),1)[0],M=Oc$1(y),T=jsx("div",{className:"table-container","data-selected":S,on:{mousedown:function(n){if("DIV"===n.target.tagName&&n.preventDefault(),!i.isDisabled()){n.target.closest('[data-block-type="table-cell"]')&&vl.unselect(i);var r=$u$3.findPath(i,t),a=Editor.start(i,r),l=i.selection;if(null!=l)l.anchor.path[0]!==r[0]&&i.select(a);else i.select(a);}}}},jsx("table",{width:v,contentEditable:a,className:"table ".concat(z?"table-selection-none":""),style:{width:"100%"===v?v:"".concat(y.reduce((function(t,e){return t+e}),0),"px")},on:{mousemove:lodash_debounce((function(e){return Ic$1(i,t,e,b)}),25)}},jsx("colgroup",{contentEditable:!1},y.map((function(t){return jsx("col",{width:t})}))),jsx("tbody",null,n)),jsx("div",{className:"column-resizer",contenteditable:"false"},y.map((function(t,e){var n=t;return "100%"===v&&(n=M[e]*b),jsx("div",{className:"column-resizer-item",style:{minWidth:"".concat(n,"px")}},jsx("div",{className:"resizer-line-hotzone ".concat(m&&e===w?"visible ":"").concat(x&&e===w?"highlight":""),style:{height:"".concat(h,"px")},on:{mouseenter:function(t){return Rc$1(i,t)},mouseleave:function(t){return Rc$1(i,t)},mousedown:function(t){return function(t){kc$1||(Cc$1=t);}(i)}}},jsx("div",{className:"resizer-line"})))})))),O=h$3("div",{hook:{insert:function(t){var e=t.elm;return function(t,e){if(Wc$3(e)){var n=e.querySelector("table");n&&(Nc$1=new ResizeObserver((function(e){var n=lr$2(e,1)[0].contentRect;Transforms.setNodes(t,{scrollWidth:n.width,height:n.height},{mode:"highest"});})),Nc$1.observe(n));}}(i,e)},destroy:function(){Nc$1&&(null==Nc$1||Nc$1.disconnect(),Nc$1=null);}}},T);return O}},Dc$1={type:"table-row",renderElem:function(t,e,n){return jsx("tr",null,e)}},Bc$1={type:"table-cell",renderElem:function(t,n,r){var o=function(t,n){var r=$u$3.getParentNode(t,n);if(null==r)return !1;var o=$u$3.getParentNode(t,r);return null!=o&&Qi$2(o).some((function(t){return t===n}))}(r,t),i=t,a=i.colSpan,l=void 0===a?1:a,c=i.rowSpan,u=void 0===c?1:c,s=i.isHeader,f=void 0!==s&&s,d=i.hidden,v=void 0!==d&&d,h=vl.isSelected(r,t);return jsx(o&&f?"th":"td",{colSpan:l,rowSpan:u,"data-block-type":"table-cell",className:h?"w-e-selected":"",style:{display:v?"none":""}},n)}},Wc$1=Object.assign,_c$1=Object.defineProperty,Fc$1=J$3([].concat),$c$1=!Wc$1||D$3((function(){if(B$3&&1!==Wc$1({b:1},Wc$1(_c$1({},"a",{enumerable:!0,get:function(){_c$1(this,"b",{value:3,enumerable:!1});}}),{b:2})).b)return !0;var t={},e={},n=Symbol("assign detection"),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach((function(t){e[t]=t;})),7!==Wc$1({},t)[n]||fr$2(Wc$1({},e)).join("")!==r}))?function(t,e){for(var n=Rt$3(t),r=arguments.length,o=1,i=nn$3.f,a=G$3.f;r>o;)for(var l,c=rt$3(arguments[o++]),u=i?Fc$1(fr$2(c),i(c)):fr$2(c),s=u.length,f=0;s>f;)l=u[f++],B$3&&!F$3(a,c,l)||(n[l]=c[l]);return n}:Wc$1;function qc$1(t,e){null==t.data&&(t.data={});var n=t.data;null==n.style&&(n.style={}),Object.assign(n.style,e);}pn$3({target:"Object",stat:!0,arity:2,forced:Object.assign!==$c$1},{assign:$c$1});var Gc$1={renderStyle:function(t,e){var n,r;if(!Element$1.isElement(t))return e;var o=t,a=o.backgroundColor,l=o.borderWidth,c=o.borderStyle,u=o.borderColor,s=o.textAlign,f={};a&&(f.backgroundColor=a),l&&(f.borderWidth="".concat(l,"px")),c&&(f.borderStyle=c),u&&(f.borderColor=u),s&&(f.textAlign=s);var d=e;return "table"===t.type?qc$1(null===(r=(null===(n=d.children)||void 0===n?void 0:n[0]).children)||void 0===r?void 0:r[0],f):qc$1(d,f),d},styleToHtml:function(t,e){if("table"!==t.type&&"table-cell"!==t.type)return e;var n=t.backgroundColor,r=t.borderWidth,o=t.borderStyle,i=t.borderColor,a=t.textAlign;if(!(n||r||o||i||a))return e;var l=$$6(e);return n&&l.css("background-color",n),r&&l.css("border-width","".concat(r,"px")),o&&l.css("border-style",o),i&&l.css("border-color",i),a&&l.css("text-align",a),function(t){return 0===t.length?"":t[0].outerHTML}(l)},parseStyleHtml:function(t,e,n){if("TABLE"!==t.tagName&&"TD"!==t.tagName)return e;var r=$$6(t),o=e,i=Ri$2(r,"background-color");i||(i=Ri$2(r,"background")),i&&(o.backgroundColor=i);var a=Ri$2(r,"border");a||"TD"!==t.tagName||(a="1px solid ".concat(gc$1));var l=lr$2((null==a?void 0:a.split(" "))||[],3),c=l[0],u=l[1],s=l[2];(c=Ri$2(r,"border-width")||c)&&(o.borderWidth=c.replace(/[^\d]/g,"")),(u=Ri$2(r,"border-style")||u)&&(o.borderStyle=u),(s=Ri$2(r,"border-color")||s)&&(o.borderColor=s);var f=Ri$2(r,"text-align");return (f=Ri$2(r,"text-align")||f)&&(o.textAlign=f),e},renderElems:[Lc$1,Dc$1,Bc$1],elemsToHtml:[tr$2,er$2,nr$2],preParseHtml:[Tc$1],parseElemsHtml:[vc$1,hc$1,yc$1],menus:[jl,Pl,Vl,Il,Rl,Ll,Dl,Bl,Wl,_l,Fl,$l],editorPlugin:function(t){var n=t.insertBreak,r=t.deleteBackward,i=t.deleteForward,s=t.normalizeNode,d=t.insertData,v=t.handleTab,h=t.selectAll,p=t;return p.insertBreak=function(){null==$u$3.getSelectedNodeByType(p,"table")?n():p.insertText("\n");},p.deleteBackward=function(t){if(!Mc$1(p)){var n=p.selection;if(n){var i=Editor.before(p,n);if(i){var a=function(t,n){return !!cr$2([],lr$2(Editor.nodes(t,{at:n,match:function(t){return "table"===$u$3.getNodeType(t)}})),!1).find((function(){return !0}))}(p,i);if(a&&$u$3.getSelectedNodeByType(p,"paragraph"))return}}r(t);}},p.handleTab=function(){var n;if($u$3.getSelectedNodeByType(p,"table")){var r=Editor.above(t);$u$3.checkNodeType(r[0],"table-cell")&&Transforms.select(t,r[1]);var i=Editor.next(t);if(i)i[0]&&i[0].text&&(i=null!==(n=Editor.above(t,{at:i[1]}))&&void 0!==n?n:i),Transforms.select(t,i[1]);else {var a=p.children||[],l=a.length;if($u$3.checkNodeType(a[l-1],"table")){var u=$u$3.genEmptyParagraph();Transforms.insertNodes(p,u,{at:[l]}),p.handleTab();}}}else v();},p.deleteForward=function(t){Mc$1(p)||i(t);},p.normalizeNode=function(t){var n=lr$2(t,2),r=n[0],o=n[1];if("table"!==$u$3.getNodeType(r))return s([r,o]);if($u$3.isLastNode(p,r)){var i=$u$3.genEmptyParagraph();Transforms.insertNodes(p,i,{at:[o[0]+1]});}},p.insertData=function(t){if(null!=$u$3.getSelectedNodeByType(p,"table")){var n=t.getData("text/plain");"\n"===n||/<img[^>]+>/.test(t.getData("text/html"))?d(t):Editor.insertText(p,n);}else d(t);},p.selectAll=function(){var t=p.selection;if(null!=t){var n=$u$3.getSelectedNodeByType(p,"table-cell");if(null!=n){var r=t.anchor,i=t.focus;if(Path.equals(r.path.slice(0,3),i.path.slice(0,3)))if(0!==Node$1.string(n).length){var l=$u$3.findPath(p,n),c={anchor:Editor.start(p,l),focus:Editor.end(p,l)};p.select(c);}else h();else h();}else h();}else h();},function(t){var e=t.apply;t.apply=function(n){if(!Operation.isSelectionOperation(n)||!n.newProperties)return e(n);var r=or$2(or$2({},t.selection),n.newProperties);if(!Range.isRange(r))return vl.unselect(t),e(n);var i=lr$2(Editor.nodes(t,{match:Rr$2(t,"th","td"),at:Range.start(r)}),1)[0],a=lr$2(Editor.nodes(t,{match:Rr$2(t,"th","td"),at:Range.end(r)}),1)[0];if(!i||!a)return vl.unselect(t),e(n);var c=lr$2(i,2)[1],s=lr$2(a,2)[1];if(Path.equals(c,s)||!Lr$2(t,[c,s],"table"))return vl.unselect(t),e(n);for(var d=Dr$2(t,{at:c}),v=Br$2.valueOf(0,0),h=Br$2.valueOf(0,0),p=0;p<d.length;p+=1)for(var y=0;y<d[p].length;y+=1){var g=lr$2(d[p][y],1),b=lr$2(g[0],2)[1];if(Path.equals(c,b)&&(v.x=p,v.y=y),Path.equals(s,b)){h.x=p,h.y=y;break}}for(var m=Br$2.valueOf(Math.min(v.x,h.x),Math.min(v.y,h.y)),w=Br$2.valueOf(Math.max(v.x,h.x),Math.max(v.y,h.y));;){var x=Br$2.valueOf(m.x,m.y),S=Br$2.valueOf(w.x,w.y);for(p=x.x;p<=S.x;p+=1)for(y=x.y;y<=S.y;y+=1){var z=lr$2(d[p][y],2)[1],M=z.rtl,T=z.ltr,O=z.btt,N=z.ttb;x.x=Math.min(x.x,p-(N-1)),x.y=Math.min(x.y,y-(M-1)),S.x=Math.max(S.x,p+(O-1)),S.y=Math.max(S.y,y+(T-1));}if(Br$2.equals(m,x)&&Br$2.equals(w,S))break;m=x,w=S;}var E=[],k=new WeakSet;for(p=m.x;p<=w.x;p+=1){var A=[];for(y=m.y;y<=w.y;y+=1){var H=lr$2(d[p][y],1),C=lr$2(H[0],1)[0];k.add(C),A.push(d[p][y]);}E.push(A);}fl.set(t,E),dl.set(t,k),e(n);};}(p),p}};
17553
17553
 
17554
- Fp$1("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"}}),Fp$1("zh-CN",{videoModule:{delete:"删除视频",uploadVideo:"上传视频",insertVideo:"插入视频",videoSrc:"视频地址",videoSrcPlaceHolder:"视频文件 url 或第三方 <iframe>",videoPoster:"视频封面",videoPosterPlaceHolder:"封面图片 url",ok:"确定",editSize:"修改尺寸",edit:"编辑视频",width:"宽度",height:"高度"}});var S$2=function(){return S$2=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},S$2.apply(this,arguments)};function O$2(t,e,n,r){return new(n||(n=Promise))((function(o,i){function u(t){try{c(r.next(t));}catch(t){i(t);}}function a(t){try{c(r.throw(t));}catch(t){i(t);}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e);}))).then(u,a);}c((r=r.apply(t,e||[])).next());}))}function E$2(t,e){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(u=0)),u;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,r=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(!(o=u.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){u=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(6===a[0]&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=e.call(t,u);}catch(t){a=[6,t],r=0;}finally{n=o=0;}if(5&a[0])throw a[1];return {value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}function x$2(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return {next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function I$2(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value);}catch(t){o={error:t};}finally{try{r&&!r.done&&(n=i.return)&&n.call(i);}finally{if(o)throw o.error}}return u}function P$2(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=x$2(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,o){(function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n});}),e);})(r,o,(e=t[n](e)).done,e.value);}))};}}"function"==typeof SuppressedError&&SuppressedError;var j$2="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function T$2(t){var e={exports:{}};return t(e,e.exports),e.exports}var M$2,A$2,N$2=function(t){return t&&t.Math===Math&&t},R$2=N$2("object"==typeof globalThis&&globalThis)||N$2("object"==typeof window&&window)||N$2("object"==typeof self&&self)||N$2("object"==typeof j$2&&j$2)||N$2("object"==typeof j$2&&j$2)||function(){return this}()||Function("return this")(),C$2=function(t){try{return !!t()}catch(t){return !0}},k$2=!C$2((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),L$2=!C$2((function(){var t=function(){}.bind();return "function"!=typeof t||t.hasOwnProperty("prototype")})),V$2=Function.prototype.call,z$2=L$2?V$2.bind(V$2):function(){return V$2.apply(V$2,arguments)},D$2={}.propertyIsEnumerable,F$2=Object.getOwnPropertyDescriptor,_$2={f:F$2&&!D$2.call({1:2},1)?function(t){var e=F$2(this,t);return !!e&&e.enumerable}:D$2},$$2=function(t,e){return {enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},B$2=Function.prototype,U$2=B$2.call,H$2=L$2&&B$2.bind.bind(U$2,U$2),W$2=L$2?H$2:function(t){return function(){return U$2.apply(t,arguments)}},G$2=W$2({}.toString),K$2=W$2("".slice),X$2=function(t){return K$2(G$2(t),8,-1)},Y$2=Object,q$2=W$2("".split),J$2=C$2((function(){return !Y$2("z").propertyIsEnumerable(0)}))?function(t){return "String"===X$2(t)?q$2(t,""):Y$2(t)}:Y$2,Q$2=function(t){return null==t},Z$2=TypeError,tt$2=function(t){if(Q$2(t))throw new Z$2("Can't call method on "+t);return t},et$2=function(t){return J$2(tt$2(t))},nt$2="object"==typeof document&&document.all,rt$2=void 0===nt$2&&void 0!==nt$2?function(t){return "function"==typeof t||t===nt$2}:function(t){return "function"==typeof t},ot$2=function(t){return "object"==typeof t?null!==t:rt$2(t)},it$2=function(t,e){return arguments.length<2?(n=R$2[t],rt$2(n)?n:void 0):R$2[t]&&R$2[t][e];var n;},ut$2=W$2({}.isPrototypeOf),at$2=R$2.navigator,ct$2=at$2&&at$2.userAgent,st$2=ct$2?String(ct$2):"",ft$2=R$2.process,lt$2=R$2.Deno,dt$2=ft$2&&ft$2.versions||lt$2&&lt$2.version,pt$2=dt$2&&dt$2.v8;pt$2&&(A$2=(M$2=pt$2.split("."))[0]>0&&M$2[0]<4?1:+(M$2[0]+M$2[1])),!A$2&&st$2&&(!(M$2=st$2.match(/Edge\/(\d+)/))||M$2[1]>=74)&&(M$2=st$2.match(/Chrome\/(\d+)/))&&(A$2=+M$2[1]);var vt$2=A$2,ht$2=R$2.String,yt$2=!!Object.getOwnPropertySymbols&&!C$2((function(){var t=Symbol("symbol detection");return !ht$2(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&vt$2&&vt$2<41})),gt$2=yt$2&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,mt$2=Object,bt$2=gt$2?function(t){return "symbol"==typeof t}:function(t){var e=it$2("Symbol");return rt$2(e)&&ut$2(e.prototype,mt$2(t))},wt$2=String,St$2=function(t){try{return wt$2(t)}catch(t){return "Object"}},Ot$2=TypeError,Et$2=function(t){if(rt$2(t))return t;throw new Ot$2(St$2(t)+" is not a function")},xt$2=function(t,e){var n=t[e];return Q$2(n)?void 0:Et$2(n)},It$2=TypeError,Pt$2=Object.defineProperty,jt$2=function(t,e){try{Pt$2(R$2,t,{value:e,configurable:!0,writable:!0});}catch(n){R$2[t]=e;}return e},Tt$2=T$2((function(t){var e="__core-js_shared__",n=t.exports=R$2[e]||jt$2(e,{});(n.versions||(n.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});})),Mt$2=function(t,e){return Tt$2[t]||(Tt$2[t]=e||{})},At$2=Object,Nt$2=function(t){return At$2(tt$2(t))},Rt$2=W$2({}.hasOwnProperty),Ct$2=Object.hasOwn||function(t,e){return Rt$2(Nt$2(t),e)},kt$2=0,Lt$2=Math.random(),Vt$2=W$2(1..toString),zt$2=function(t){return "Symbol("+(void 0===t?"":t)+")_"+Vt$2(++kt$2+Lt$2,36)},Dt$2=R$2.Symbol,Ft$2=Mt$2("wks"),_t$2=gt$2?Dt$2.for||Dt$2:Dt$2&&Dt$2.withoutSetter||zt$2,$t$2=function(t){return Ct$2(Ft$2,t)||(Ft$2[t]=yt$2&&Ct$2(Dt$2,t)?Dt$2[t]:_t$2("Symbol."+t)),Ft$2[t]},Bt$2=TypeError,Ut$2=$t$2("toPrimitive"),Ht$2=function(t,e){if(!ot$2(t)||bt$2(t))return t;var n,r=xt$2(t,Ut$2);if(r){if(void 0===e&&(e="default"),n=z$2(r,t,e),!ot$2(n)||bt$2(n))return n;throw new Bt$2("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&rt$2(n=t.toString)&&!ot$2(r=z$2(n,t)))return r;if(rt$2(n=t.valueOf)&&!ot$2(r=z$2(n,t)))return r;if("string"!==e&&rt$2(n=t.toString)&&!ot$2(r=z$2(n,t)))return r;throw new It$2("Can't convert object to primitive value")}(t,e)},Wt$2=function(t){var e=Ht$2(t,"string");return bt$2(e)?e:e+""},Gt$2=R$2.document,Kt$2=ot$2(Gt$2)&&ot$2(Gt$2.createElement),Xt$2=function(t){return Kt$2?Gt$2.createElement(t):{}},Yt$2=!k$2&&!C$2((function(){return 7!==Object.defineProperty(Xt$2("div"),"a",{get:function(){return 7}}).a})),qt$2=Object.getOwnPropertyDescriptor,Jt$2={f:k$2?qt$2:function(t,e){if(t=et$2(t),e=Wt$2(e),Yt$2)try{return qt$2(t,e)}catch(t){}if(Ct$2(t,e))return $$2(!z$2(_$2.f,t,e),t[e])}},Qt$2=k$2&&C$2((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Zt$2=String,te$2=TypeError,ee$2=function(t){if(ot$2(t))return t;throw new te$2(Zt$2(t)+" is not an object")},ne$2=TypeError,re$2=Object.defineProperty,oe$2=Object.getOwnPropertyDescriptor,ie$2="enumerable",ue$2="configurable",ae$2="writable",ce$2={f:k$2?Qt$2?function(t,e,n){if(ee$2(t),e=Wt$2(e),ee$2(n),"function"==typeof t&&"prototype"===e&&"value"in n&&ae$2 in n&&!n[ae$2]){var r=oe$2(t,e);r&&r[ae$2]&&(t[e]=n.value,n={configurable:ue$2 in n?n[ue$2]:r[ue$2],enumerable:ie$2 in n?n[ie$2]:r[ie$2],writable:!1});}return re$2(t,e,n)}:re$2:function(t,e,n){if(ee$2(t),e=Wt$2(e),ee$2(n),Yt$2)try{return re$2(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new ne$2("Accessors not supported");return "value"in n&&(t[e]=n.value),t}},se$2=k$2?function(t,e,n){return ce$2.f(t,e,$$2(1,n))}:function(t,e,n){return t[e]=n,t},fe$2=Function.prototype,le$2=k$2&&Object.getOwnPropertyDescriptor,de$2=Ct$2(fe$2,"name"),pe$2={EXISTS:de$2,PROPER:de$2&&"something"===function(){}.name,CONFIGURABLE:de$2&&(!k$2||k$2&&le$2(fe$2,"name").configurable)},ve$2=W$2(Function.toString);rt$2(Tt$2.inspectSource)||(Tt$2.inspectSource=function(t){return ve$2(t)});var he$2,ye$2,ge$2,me$2=Tt$2.inspectSource,be$2=R$2.WeakMap,we$2=rt$2(be$2)&&/native code/.test(String(be$2)),Se$2=Mt$2("keys"),Oe$2=function(t){return Se$2[t]||(Se$2[t]=zt$2(t))},Ee$2={},xe$2="Object already initialized",Ie$2=R$2.TypeError,Pe$2=R$2.WeakMap;if(we$2||Tt$2.state){var je$2=Tt$2.state||(Tt$2.state=new Pe$2);je$2.get=je$2.get,je$2.has=je$2.has,je$2.set=je$2.set,he$2=function(t,e){if(je$2.has(t))throw new Ie$2(xe$2);return e.facade=t,je$2.set(t,e),e},ye$2=function(t){return je$2.get(t)||{}},ge$2=function(t){return je$2.has(t)};}else {var Te$2=Oe$2("state");Ee$2[Te$2]=!0,he$2=function(t,e){if(Ct$2(t,Te$2))throw new Ie$2(xe$2);return e.facade=t,se$2(t,Te$2,e),e},ye$2=function(t){return Ct$2(t,Te$2)?t[Te$2]:{}},ge$2=function(t){return Ct$2(t,Te$2)};}var Me$2={set:he$2,get:ye$2,has:ge$2,enforce:function(t){return ge$2(t)?ye$2(t):he$2(t,{})},getterFor:function(t){return function(e){var n;if(!ot$2(e)||(n=ye$2(e)).type!==t)throw new Ie$2("Incompatible receiver, "+t+" required");return n}}},Ae$2=T$2((function(t){var e=pe$2.CONFIGURABLE,n=Me$2.enforce,r=Me$2.get,o=String,i=Object.defineProperty,u=W$2("".slice),a=W$2("".replace),c=W$2([].join),s=k$2&&!C$2((function(){return 8!==i((function(){}),"length",{value:8}).length})),f=String(String).split("String"),l=t.exports=function(t,r,l){"Symbol("===u(o(r),0,7)&&(r="["+a(o(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),l&&l.getter&&(r="get "+r),l&&l.setter&&(r="set "+r),(!Ct$2(t,"name")||e&&t.name!==r)&&(k$2?i(t,"name",{value:r,configurable:!0}):t.name=r),s&&l&&Ct$2(l,"arity")&&t.length!==l.arity&&i(t,"length",{value:l.arity});try{l&&Ct$2(l,"constructor")&&l.constructor?k$2&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0);}catch(t){}var d=n(t);return Ct$2(d,"source")||(d.source=c(f,"string"==typeof r?r:"")),t};Function.prototype.toString=l((function(){return rt$2(this)&&r(this).source||me$2(this)}),"toString");})),Ne$2=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(rt$2(n)&&Ae$2(n,i,r),r.global)o?t[e]=n:jt$2(e,n);else {try{r.unsafe?t[e]&&(o=!0):delete t[e];}catch(t){}o?t[e]=n:ce$2.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable});}return t},Re$2=Math.ceil,Ce$2=Math.floor,ke$2=Math.trunc||function(t){var e=+t;return (e>0?Ce$2:Re$2)(e)},Le$2=function(t){var e=+t;return e!=e||0===e?0:ke$2(e)},Ve$2=Math.max,ze$2=Math.min,De$2=function(t,e){var n=Le$2(t);return n<0?Ve$2(n+e,0):ze$2(n,e)},Fe$2=Math.min,_e$2=function(t){var e=Le$2(t);return e>0?Fe$2(e,9007199254740991):0},$e$2=function(t){return _e$2(t.length)},Be$2=function(t){return function(e,n,r){var o=et$2(e),i=$e$2(o);if(0===i)return !t&&-1;var u,a=De$2(r,i);if(t&&n!=n){for(;i>a;)if((u=o[a++])!=u)return !0}else for(;i>a;a++)if((t||a in o)&&o[a]===n)return t||a||0;return !t&&-1}},Ue$2={includes:Be$2(!0),indexOf:Be$2(!1)},He$2=Ue$2.indexOf,We$2=W$2([].push),Ge$2=function(t,e){var n,r=et$2(t),o=0,i=[];for(n in r)!Ct$2(Ee$2,n)&&Ct$2(r,n)&&We$2(i,n);for(;e.length>o;)Ct$2(r,n=e[o++])&&(~He$2(i,n)||We$2(i,n));return i},Ke$2=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Xe$2=Ke$2.concat("length","prototype"),Ye$2={f:Object.getOwnPropertyNames||function(t){return Ge$2(t,Xe$2)}},qe$2={f:Object.getOwnPropertySymbols},Je$2=W$2([].concat),Qe$2=it$2("Reflect","ownKeys")||function(t){var e=Ye$2.f(ee$2(t)),n=qe$2.f;return n?Je$2(e,n(t)):e},Ze$2=function(t,e,n){for(var r=Qe$2(e),o=ce$2.f,i=Jt$2.f,u=0;u<r.length;u++){var a=r[u];Ct$2(t,a)||n&&Ct$2(n,a)||o(t,a,i(e,a));}},tn$2=/#|\.prototype\./,en$2=function(t,e){var n=rn$2[nn$2(t)];return n===un$2||n!==on$2&&(rt$2(e)?C$2(e):!!e)},nn$2=en$2.normalize=function(t){return String(t).replace(tn$2,".").toLowerCase()},rn$2=en$2.data={},on$2=en$2.NATIVE="N",un$2=en$2.POLYFILL="P",an$2=en$2,cn$2=Jt$2.f,sn$2=function(t,e){var n,r,o,i,u,a=t.target,c=t.global,s=t.stat;if(n=c?R$2:s?R$2[a]||jt$2(a,{}):R$2[a]&&R$2[a].prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(u=cn$2(n,r))&&u.value:n[r],!an$2(c?r:a+(s?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ze$2(i,o);}(t.sham||o&&o.sham)&&se$2(i,"sham",!0),Ne$2(n,r,i,t);}},fn$2={};fn$2[$t$2("toStringTag")]="z";var ln$2,dn$2="[object z]"===String(fn$2),pn$2=$t$2("toStringTag"),vn$2=Object,hn$2="Arguments"===X$2(function(){return arguments}()),yn$2=dn$2?X$2:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=vn$2(t),pn$2))?n:hn$2?X$2(e):"Object"===(r=X$2(e))&&rt$2(e.callee)?"Arguments":r},gn$2=String,mn$2=function(t){if("Symbol"===yn$2(t))throw new TypeError("Cannot convert a Symbol value to a string");return gn$2(t)},bn$2="\t\n\v\f\r                 \u2028\u2029\ufeff",wn$2=W$2("".replace),Sn$2=RegExp("^["+bn$2+"]+"),On$2=RegExp("(^|[^"+bn$2+"])["+bn$2+"]+$"),En$2=function(t){return function(e){var n=mn$2(tt$2(e));return 1&t&&(n=wn$2(n,Sn$2,"")),2&t&&(n=wn$2(n,On$2,"$1")),n}},xn$2={start:En$2(1),end:En$2(2),trim:En$2(3)},In$2=pe$2.PROPER,Pn$2=xn$2.trim;function jn$2(t){return t.length?t[0].tagName.toLowerCase():""}function Tn$2(t,e,n,r){void 0===e&&(e="auto"),void 0===n&&(n="auto"),void 0===r&&(r={});var o=$$6(t),i=r.width,u=void 0===i?"":i,a=r.height,c=void 0===a?"":a,s="";return u&&(s+="width: "+u+";"),c&&(s+="height: "+c+";"),o.attr("width",e),o.attr("height",n),o.attr("style",s),o[0].outerHTML}sn$2({target:"String",proto:!0,forced:(ln$2="trim",C$2((function(){return !!bn$2[ln$2]()||"​…᠎"!=="​…᠎"[ln$2]()||In$2&&bn$2[ln$2].name!==ln$2})))},{trim:function(){return Pn$2(this)}}),sn$2({global:!0,forced:R$2.globalThis!==R$2},{globalThis:R$2}),append&&($$6.fn.append=append),on$7&&($$6.fn.on=on$7),focus&&($$6.fn.focus=focus),attr&&($$6.fn.attr=attr),val&&($$6.fn.val=val),html&&($$6.fn.html=html),parent&&($$6.fn.parent=parent),hasClass&&($$6.fn.hasClass=hasClass),empty&&($$6.fn.empty=empty);var Mn$2={type:"video",renderElem:function(t,n,r){var o,i=t,u=i.src,a=void 0===u?"":u,f=i.poster,l=void 0===f?"":f,d=i.key,p=void 0===d?"":d,v=i.width,h=void 0===v?"auto":v,y=i.height,g=void 0===y?"auto":y,m=i.style,b=void 0===m?{}:m,w=i.textAlign,S=void 0===w?"center":w,O=Ic$2.isNodeSelected(r,t);if(0===a.trim().indexOf("<iframe ")){var E=Tn$2(a,h,g,b);o=jsx("div",{className:"w-e-textarea-video-container","data-selected":O?"true":"",style:{textAlign:S},innerHTML:E});}else {var x=jsx("video",{key:p,poster:l,controls:!0,style:b},jsx("source",{src:a,type:"video/mp4"}),"Sorry, your browser doesn't support embedded videos.\n 抱歉,浏览器不支持 video 视频");"auto"!==h&&(x.data.width=h),"auto"!==g&&(x.data.height=g),o=jsx("div",{className:"w-e-textarea-video-container","data-selected":O?"true":"",style:{textAlign:S}},x);}return h$3("div",{props:{contentEditable:!1},on:{mousedown:function(t){return t.preventDefault()}}},o)}};var An$2,Nn$2={type:"video",elemToHtml:function(t,e){var n=t,r=n.src,o=void 0===r?"":r,i=n.poster,u=void 0===i?"":i,a=n.width,c=void 0===a?"auto":a,s=n.height,f=void 0===s?"auto":s,l=n.style,d=void 0===l?{}:l,p=n.textAlign,v='<div data-w-e-type="video" data-w-e-is-void style="text-align: '+(void 0===p?"center":p)+';">\n';if(0===o.trim().indexOf("<iframe ")){v+=Tn$2(o,c,f,d);}else {var h=d.width,y=void 0===h?"":h,g=d.height,m=void 0===g?"":g,b="";y&&(b+="width: "+y+";"),m&&(b+="height: "+m+";"),v+='<video poster="'+u+'" controls="true" width="'+c+'" height="'+f+'" style="'+b+'"><source src="'+o+'" type="video/mp4"/></video>';}return v+="\n</div>"}},Rn$2=Object.keys||function(t){return Ge$2(t,Ke$2)},Cn$2=k$2&&!Qt$2?Object.defineProperties:function(t,e){ee$2(t);for(var n,r=et$2(e),o=Rn$2(e),i=o.length,u=0;i>u;)ce$2.f(t,n=o[u++],r[n]);return t},kn$2={f:Cn$2},Ln$2=it$2("document","documentElement"),Vn$2="prototype",zn$2="script",Dn$2=Oe$2("IE_PROTO"),Fn$2=function(){},_n$2=function(t){return "<"+zn$2+">"+t+"</"+zn$2+">"},$n$2=function(t){t.write(_n$2("")),t.close();var e=t.parentWindow.Object;return t=null,e},Bn$2=function(){try{An$2=new ActiveXObject("htmlfile");}catch(t){}var t,e,n;Bn$2="undefined"!=typeof document?document.domain&&An$2?$n$2(An$2):(e=Xt$2("iframe"),n="java"+zn$2+":",e.style.display="none",Ln$2.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(_n$2("document.F=Object")),t.close(),t.F):$n$2(An$2);for(var r=Ke$2.length;r--;)delete Bn$2[Vn$2][Ke$2[r]];return Bn$2()};Ee$2[Dn$2]=!0;var Un$2=Object.create||function(t,e){var n;return null!==t?(Fn$2[Vn$2]=ee$2(t),n=new Fn$2,Fn$2[Vn$2]=null,n[Dn$2]=t):n=Bn$2(),void 0===e?n:kn$2.f(n,e)},Hn$2=ce$2.f,Wn$2=$t$2("unscopables"),Gn$2=Array.prototype;void 0===Gn$2[Wn$2]&&Hn$2(Gn$2,Wn$2,{configurable:!0,value:Un$2(null)});var Kn$2=function(t){Gn$2[Wn$2][t]=!0;},Xn$2=Ue$2.includes,Yn$2=C$2((function(){return !Array(1).includes()}));sn$2({target:"Array",proto:!0,forced:Yn$2},{includes:function(t){return Xn$2(this,t,arguments.length>1?arguments[1]:void 0)}}),Kn$2("includes");var qn$2={selector:"iframe,video,p",preParseHtml:function(t){var e=$$6(t),n=e;if("p"===jn$2(e)){var r=e.children();if(1===r.length){var o=r[0],i=o.tagName.toLowerCase();["iframe","video"].includes(i)&&(n=$$6(o));}}var u=jn$2(n);if("iframe"!==u&&"video"!==u)return n[0];if("video"===n.parent().attr("data-w-e-type"))return n[0];var a=$$6('<div data-w-e-type="video" data-w-e-is-void style="text-align: center;"></div>');return a.append(n),a[0]}},Jn$2=function(t){if("Function"===X$2(t))return W$2(t)},Qn$2=Jn$2(Jn$2.bind),Zn$2=function(t,e){return Et$2(t),void 0===e?t:L$2?Qn$2(t,e):function(){return t.apply(e,arguments)}},tr$1=Array.isArray||function(t){return "Array"===X$2(t)},er$1=function(){},nr$1=it$2("Reflect","construct"),rr$1=/^\s*(?:class|function)\b/,or$1=W$2(rr$1.exec),ir$1=!rr$1.test(er$1),ur$1=function(t){if(!rt$2(t))return !1;try{return nr$1(er$1,[],t),!0}catch(t){return !1}},ar$1=function(t){if(!rt$2(t))return !1;switch(yn$2(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return !1}try{return ir$1||!!or$1(rr$1,me$2(t))}catch(t){return !0}};ar$1.sham=!0;var cr$1=!nr$1||C$2((function(){var t;return ur$1(ur$1.call)||!ur$1(Object)||!ur$1((function(){t=!0;}))||t}))?ar$1:ur$1,sr$1=$t$2("species"),fr$1=Array,lr$1=function(t,e){return new(function(t){var e;return tr$1(t)&&(e=t.constructor,(cr$1(e)&&(e===fr$1||tr$1(e.prototype))||ot$2(e)&&null===(e=e[sr$1]))&&(e=void 0)),void 0===e?fr$1:e}(t))(0===e?0:e)},dr$1=W$2([].push),pr$1=function(t){var e=1===t,n=2===t,r=3===t,o=4===t,i=6===t,u=7===t,a=5===t||i;return function(c,s,f,l){for(var d,p,v=Nt$2(c),h=J$2(v),y=$e$2(h),g=Zn$2(s,f),m=0,b=l||lr$1,w=e?b(c,y):n||u?b(c,0):void 0;y>m;m++)if((a||m in h)&&(p=g(d=h[m],m,v),t))if(e)w[m]=p;else if(p)switch(t){case 3:return !0;case 5:return d;case 6:return m;case 2:dr$1(w,d);}else switch(t){case 4:return !1;case 7:dr$1(w,d);}return i?-1:r||o?o:w}},vr$1={forEach:pr$1(0),map:pr$1(1),filter:pr$1(2),some:pr$1(3),every:pr$1(4),find:pr$1(5),findIndex:pr$1(6),filterReject:pr$1(7)},hr$1=vr$1.find,yr$1="find",gr$1=!0;yr$1 in[]&&Array(1)[yr$1]((function(){gr$1=!1;})),sn$2({target:"Array",proto:!0,forced:gr$1},{find:function(t){return hr$1(this,t,arguments.length>1?arguments[1]:void 0)}}),Kn$2(yr$1);var mr$1=dn$2?{}.toString:function(){return "[object "+yn$2(this)+"]"};dn$2||Ne$2(Object.prototype,"toString",mr$1,{unsafe:!0});var br$1,wr$1,Sr$1=function(){var t=ee$2(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},Or$1=R$2.RegExp,Er$1=C$2((function(){var t=Or$1("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),xr$1=Er$1||C$2((function(){return !Or$1("a","y").sticky})),Ir$1={BROKEN_CARET:Er$1||C$2((function(){var t=Or$1("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:xr$1,UNSUPPORTED_Y:Er$1},Pr$1=R$2.RegExp,jr$1=C$2((function(){var t=Pr$1(".","s");return !(t.dotAll&&t.test("\n")&&"s"===t.flags)})),Tr$1=R$2.RegExp,Mr$1=C$2((function(){var t=Tr$1("(?<a>b)","g");return "b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Ar$1=Me$2.get,Nr$1=Mt$2("native-string-replace",String.prototype.replace),Rr$1=RegExp.prototype.exec,Cr$1=Rr$1,kr$1=W$2("".charAt),Lr$1=W$2("".indexOf),Vr$1=W$2("".replace),zr$1=W$2("".slice),Dr$1=(wr$1=/b*/g,z$2(Rr$1,br$1=/a/,"a"),z$2(Rr$1,wr$1,"a"),0!==br$1.lastIndex||0!==wr$1.lastIndex),Fr$1=Ir$1.BROKEN_CARET,_r$1=void 0!==/()??/.exec("")[1];(Dr$1||_r$1||Fr$1||jr$1||Mr$1)&&(Cr$1=function(t){var e,n,r,o,i,u,a,c=this,s=Ar$1(c),f=mn$2(t),l=s.raw;if(l)return l.lastIndex=c.lastIndex,e=z$2(Cr$1,l,f),c.lastIndex=l.lastIndex,e;var d=s.groups,p=Fr$1&&c.sticky,v=z$2(Sr$1,c),h=c.source,y=0,g=f;if(p&&(v=Vr$1(v,"y",""),-1===Lr$1(v,"g")&&(v+="g"),g=zr$1(f,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==kr$1(f,c.lastIndex-1))&&(h="(?: "+h+")",g=" "+g,y++),n=new RegExp("^(?:"+h+")",v)),_r$1&&(n=new RegExp("^"+h+"$(?!\\s)",v)),Dr$1&&(r=c.lastIndex),o=z$2(Rr$1,p?n:c,g),p?o?(o.input=zr$1(o.input,y),o[0]=zr$1(o[0],y),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:Dr$1&&o&&(c.lastIndex=c.global?o.index+o[0].length:r),_r$1&&o&&o.length>1&&z$2(Nr$1,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0);})),o&&d)for(o.groups=u=Un$2(null),i=0;i<d.length;i++)u[(a=d[i])[0]]=o[a[1]];return o});var $r$1=Cr$1;sn$2({target:"RegExp",proto:!0,forced:/./.exec!==$r$1},{exec:$r$1});var Br$1=Function.prototype,Ur$1=Br$1.apply,Hr$1=Br$1.call,Wr$1="object"==typeof Reflect&&Reflect.apply||(L$2?Hr$1.bind(Ur$1):function(){return Hr$1.apply(Ur$1,arguments)}),Gr$1=$t$2("species"),Kr$1=RegExp.prototype,Xr$1=W$2("".charAt),Yr$1=W$2("".charCodeAt),qr$1=W$2("".slice),Jr$1=function(t){return function(e,n){var r,o,i=mn$2(tt$2(e)),u=Le$2(n),a=i.length;return u<0||u>=a?t?"":void 0:(r=Yr$1(i,u))<55296||r>56319||u+1===a||(o=Yr$1(i,u+1))<56320||o>57343?t?Xr$1(i,u):r:t?qr$1(i,u,u+2):o-56320+(r-55296<<10)+65536}},Qr$1={codeAt:Jr$1(!1),charAt:Jr$1(!0)},Zr$1=Qr$1.charAt,to$1=function(t,e,n){return e+(n?Zr$1(t,e).length:1)},eo$1=Math.floor,no$1=W$2("".charAt),ro$1=W$2("".replace),oo$1=W$2("".slice),io$1=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,uo$1=/\$([$&'`]|\d{1,2})/g,ao$1=function(t,e,n,r,o,i){var u=n+t.length,a=r.length,c=uo$1;return void 0!==o&&(o=Nt$2(o),c=io$1),ro$1(i,c,(function(i,c){var s;switch(no$1(c,0)){case"$":return "$";case"&":return t;case"`":return oo$1(e,0,n);case"'":return oo$1(e,u);case"<":s=o[oo$1(c,1,-1)];break;default:var f=+c;if(0===f)return i;if(f>a){var l=eo$1(f/10);return 0===l?i:l<=a?void 0===r[l-1]?no$1(c,1):r[l-1]+no$1(c,1):i}s=r[f-1];}return void 0===s?"":s}))},co$1=TypeError,so$1=function(t,e){var n=t.exec;if(rt$2(n)){var r=z$2(n,t,e);return null!==r&&ee$2(r),r}if("RegExp"===X$2(t))return z$2($r$1,t,e);throw new co$1("RegExp#exec called on incompatible receiver")},fo$1=$t$2("replace"),lo$1=Math.max,po$1=Math.min,vo$1=W$2([].concat),ho$1=W$2([].push),yo$1=W$2("".indexOf),go$1=W$2("".slice),mo$1="$0"==="a".replace(/./,"$0"),bo$1=!!/./[fo$1]&&""===/./[fo$1]("a","$0");!function(t,e,n,r){var o=$t$2(t),i=!C$2((function(){var e={};return e[o]=function(){return 7},7!==""[t](e)})),u=i&&!C$2((function(){var e=!1,n=/a/;return "split"===t&&((n={}).constructor={},n.constructor[Gr$1]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!i||!u||n){var a=/./[o],c=e(o,""[t],(function(t,e,n,r,o){var u=e.exec;return u===$r$1||u===Kr$1.exec?i&&!o?{done:!0,value:z$2(a,e,n,r)}:{done:!0,value:z$2(t,n,e,r)}:{done:!1}}));Ne$2(String.prototype,t,c[0]),Ne$2(Kr$1,o,c[1]);}r&&se$2(Kr$1[o],"sham",!0);}("replace",(function(t,e,n){var r=bo$1?"$":"$0";return [function(t,n){var r=tt$2(this),o=Q$2(t)?void 0:xt$2(t,fo$1);return o?z$2(o,t,r,n):z$2(e,mn$2(r),t,n)},function(t,o){var i=ee$2(this),u=mn$2(t);if("string"==typeof o&&-1===yo$1(o,r)&&-1===yo$1(o,"$<")){var a=n(e,i,u,o);if(a.done)return a.value}var c=rt$2(o);c||(o=mn$2(o));var s,f=i.global;f&&(s=i.unicode,i.lastIndex=0);for(var l,d=[];null!==(l=so$1(i,u))&&(ho$1(d,l),f);){""===mn$2(l[0])&&(i.lastIndex=to$1(u,_e$2(i.lastIndex),s));}for(var p,v="",h=0,y=0;y<d.length;y++){for(var g,m=mn$2((l=d[y])[0]),b=lo$1(po$1(Le$2(l.index),u.length),0),w=[],S=1;S<l.length;S++)ho$1(w,void 0===(p=l[S])?p:String(p));var O=l.groups;if(c){var E=vo$1([m],w,b,u);void 0!==O&&ho$1(E,O),g=mn$2(Wr$1(o,void 0,E));}else g=ao$1(m,u,b,w,O,o);b>=h&&(v+=go$1(u,h,b)+g,h=b+m.length);}return v+go$1(u,h)}]}),!!C$2((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!mo$1||bo$1);var wo$1={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},So$1=Xt$2("span").classList,Oo$1=So$1&&So$1.constructor&&So$1.constructor.prototype,Eo$1=Oo$1===Object.prototype?void 0:Oo$1,xo$1=function(t,e){var n=[][t];return !!n&&C$2((function(){n.call(null,e||function(){return 1},1);}))},Io$1=vr$1.forEach,Po$1=xo$1("forEach")?[].forEach:function(t){return Io$1(this,t,arguments.length>1?arguments[1]:void 0)},jo$1=function(t){if(t&&t.forEach!==Po$1)try{se$2(t,"forEach",Po$1);}catch(e){t.forEach=Po$1;}};for(var To$1 in wo$1)wo$1[To$1]&&jo$1(R$2[To$1]&&R$2[To$1].prototype);function Mo$1(t){return void 0===t&&(t="r"),t+"-"+nanoid$3()}function Ao$1(t){var e={};return t.trim().split(";").forEach((function(t){if(t){var n=I$2(t.split(":"),2),r=n[0],o=n[1];r&&o&&(e[r.trim()]=o.trim());}})),e}function No$1(t,e,n,r,o){return void 0===e&&(e=""),void 0===n&&(n="auto"),void 0===r&&(r="auto"),void 0===o&&(o={}),{type:"video",src:t,poster:e,width:n,height:r,style:o,children:[{text:""}]}}jo$1(Eo$1);var Ro$1,Co$1,ko$1,Lo$1,Vo$1={selector:'div[data-w-e-type="video"]',parseElemHtml:function(t,e,n){var r=$$6(t),o="",i="",u="auto",a="auto",c={},s=r.find("iframe");if(s.length>0)return u=s.attr("width")||"auto",a=s.attr("height")||"auto",c=Ao$1(c=s.attr("style")||""),No$1(o=s[0].outerHTML,i,u,a,c);var l=r.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",No$1(o,i=l.attr("poster")||"",u,a,c=Ao$1(c=l.attr("style")||""))}},zo$1=function(t){return st$2.slice(0,t.length)===t},Do$1=zo$1("Bun/")?"BUN":zo$1("Cloudflare-Workers")?"CLOUDFLARE":zo$1("Deno/")?"DENO":zo$1("Node.js/")?"NODE":R$2.Bun&&"string"==typeof Bun.version?"BUN":R$2.Deno&&"object"==typeof Deno.version?"DENO":"process"===X$2(R$2.process)?"NODE":R$2.window&&R$2.document?"BROWSER":"REST",Fo$1="NODE"===Do$1,_o$1=String,$o$1=TypeError,Bo$1=function(t){if(function(t){return ot$2(t)||null===t}(t))return t;throw new $o$1("Can't set "+_o$1(t)+" as a prototype")},Uo$1=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=function(t,e,n){try{return W$2(Et$2(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}(Object.prototype,"__proto__","set"),t(n,[]),e=n instanceof Array;}catch(t){}return function(n,r){return tt$2(n),Bo$1(r),ot$2(n)?(e?t(n,r):n.__proto__=r,n):n}}():void 0),Ho$1=ce$2.f,Wo$1=$t$2("toStringTag"),Go$1=function(t,e,n){t&&!n&&(t=t.prototype),t&&!Ct$2(t,Wo$1)&&Ho$1(t,Wo$1,{configurable:!0,value:e});},Ko$1=function(t,e,n){return n.get&&Ae$2(n.get,e,{getter:!0}),n.set&&Ae$2(n.set,e,{setter:!0}),ce$2.f(t,e,n)},Xo$1=$t$2("species"),Yo$1=TypeError,qo$1=function(t,e){if(ut$2(e,t))return t;throw new Yo$1("Incorrect invocation")},Jo$1=TypeError,Qo$1=$t$2("species"),Zo$1=function(t,e){var n,r=ee$2(t).constructor;return void 0===r||Q$2(n=ee$2(r)[Qo$1])?e:function(t){if(cr$1(t))return t;throw new Jo$1(St$2(t)+" is not a constructor")}(n)},ti$1=W$2([].slice),ei$1=TypeError,ni$1=/(?:ipad|iphone|ipod).*applewebkit/i.test(st$2),ri$1=R$2.setImmediate,oi$1=R$2.clearImmediate,ii$1=R$2.process,ui$1=R$2.Dispatch,ai$1=R$2.Function,ci$1=R$2.MessageChannel,si$1=R$2.String,fi$1=0,li$1={},di$1="onreadystatechange";C$2((function(){Ro$1=R$2.location;}));var pi$1=function(t){if(Ct$2(li$1,t)){var e=li$1[t];delete li$1[t],e();}},vi$1=function(t){return function(){pi$1(t);}},hi$1=function(t){pi$1(t.data);},yi$1=function(t){R$2.postMessage(si$1(t),Ro$1.protocol+"//"+Ro$1.host);};ri$1&&oi$1||(ri$1=function(t){!function(t,e){if(t<e)throw new ei$1("Not enough arguments")}(arguments.length,1);var e=rt$2(t)?t:ai$1(t),n=ti$1(arguments,1);return li$1[++fi$1]=function(){Wr$1(e,void 0,n);},Co$1(fi$1),fi$1},oi$1=function(t){delete li$1[t];},Fo$1?Co$1=function(t){ii$1.nextTick(vi$1(t));}:ui$1&&ui$1.now?Co$1=function(t){ui$1.now(vi$1(t));}:ci$1&&!ni$1?(Lo$1=(ko$1=new ci$1).port2,ko$1.port1.onmessage=hi$1,Co$1=Zn$2(Lo$1.postMessage,Lo$1)):R$2.addEventListener&&rt$2(R$2.postMessage)&&!R$2.importScripts&&Ro$1&&"file:"!==Ro$1.protocol&&!C$2(yi$1)?(Co$1=yi$1,R$2.addEventListener("message",hi$1,!1)):Co$1=di$1 in Xt$2("script")?function(t){Ln$2.appendChild(Xt$2("script"))[di$1]=function(){Ln$2.removeChild(this),pi$1(t);};}:function(t){setTimeout(vi$1(t),0);});var gi$1={set:ri$1,clear:oi$1},mi$1=Object.getOwnPropertyDescriptor,bi$1=function(){this.head=null,this.tail=null;};bi$1.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.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}};var wi$1,Si$1,Oi$1,Ei$1,xi$1,Ii$1=bi$1,Pi$1=/ipad|iphone|ipod/i.test(st$2)&&"undefined"!=typeof Pebble,ji$1=/web0s(?!.*chrome)/i.test(st$2),Ti$1=gi$1.set,Mi$1=R$2.MutationObserver||R$2.WebKitMutationObserver,Ai$1=R$2.document,Ni$1=R$2.process,Ri$1=R$2.Promise,Ci$1=function(t){if(!k$2)return R$2[t];var e=mi$1(R$2,t);return e&&e.value}("queueMicrotask");if(!Ci$1){var ki$1=new Ii$1,Li$1=function(){var t,e;for(Fo$1&&(t=Ni$1.domain)&&t.exit();e=ki$1.get();)try{e();}catch(t){throw ki$1.head&&wi$1(),t}t&&t.enter();};ni$1||Fo$1||ji$1||!Mi$1||!Ai$1?!Pi$1&&Ri$1&&Ri$1.resolve?((Ei$1=Ri$1.resolve(void 0)).constructor=Ri$1,xi$1=Zn$2(Ei$1.then,Ei$1),wi$1=function(){xi$1(Li$1);}):Fo$1?wi$1=function(){Ni$1.nextTick(Li$1);}:(Ti$1=Zn$2(Ti$1,R$2),wi$1=function(){Ti$1(Li$1);}):(Si$1=!0,Oi$1=Ai$1.createTextNode(""),new Mi$1(Li$1).observe(Oi$1,{characterData:!0}),wi$1=function(){Oi$1.data=Si$1=!Si$1;}),Ci$1=function(t){ki$1.head||wi$1(),ki$1.add(t);};}var Vi$1=Ci$1,zi$1=function(t){try{return {error:!1,value:t()}}catch(t){return {error:!0,value:t}}},Di$1=R$2.Promise;Di$1&&Di$1.prototype;var Fi$1,_i$1,$i$1,Bi$1,Ui$1=$t$2("species"),Hi$1=!1,Wi$1=rt$2(R$2.PromiseRejectionEvent),Gi$1=an$2("Promise",(function(){var t=me$2(Di$1),e=t!==String(Di$1);if(!e&&66===vt$2)return !0;if(!vt$2||vt$2<51||!/native code/.test(t)){var n=new Di$1((function(t){t(1);})),r=function(t){t((function(){}),(function(){}));};if((n.constructor={})[Ui$1]=r,!(Hi$1=n.then((function(){}))instanceof r))return !0}return !(e||"BROWSER"!==Do$1&&"DENO"!==Do$1||Wi$1)})),Ki$1={CONSTRUCTOR:Gi$1,REJECTION_EVENT:Wi$1,SUBCLASSING:Hi$1},Xi$1=TypeError,Yi$1=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw new Xi$1("Bad Promise constructor");e=t,n=r;})),this.resolve=Et$2(e),this.reject=Et$2(n);},qi$1={f:function(t){return new Yi$1(t)}},Ji$1=gi$1.set,Qi$1="Promise",Zi$1=Ki$1.CONSTRUCTOR,tu$1=Ki$1.REJECTION_EVENT,eu$1=Ki$1.SUBCLASSING,nu$1=Me$2.getterFor(Qi$1),ru$1=Me$2.set,ou$1=Di$1&&Di$1.prototype,iu$1=Di$1,uu$1=ou$1,au$1=R$2.TypeError,cu$1=R$2.document,su$1=R$2.process,fu$1=qi$1.f,lu$1=fu$1,du$1=!!(cu$1&&cu$1.createEvent&&R$2.dispatchEvent),pu$1="unhandledrejection",vu$1=function(t){var e;return !(!ot$2(t)||!rt$2(e=t.then))&&e},hu$1=function(t,e){var n,r,o,i=e.value,u=1===e.state,a=u?t.ok:t.fail,c=t.resolve,s=t.reject,f=t.domain;try{a?(u||(2===e.rejection&&wu$1(e),e.rejection=1),!0===a?n=i:(f&&f.enter(),n=a(i),f&&(f.exit(),o=!0)),n===t.promise?s(new au$1("Promise-chain cycle")):(r=vu$1(n))?z$2(r,n,c,s):c(n)):s(i);}catch(t){f&&!o&&f.exit(),s(t);}},yu$1=function(t,e){t.notified||(t.notified=!0,Vi$1((function(){for(var n,r=t.reactions;n=r.get();)hu$1(n,t);t.notified=!1,e&&!t.rejection&&mu$1(t);})));},gu$1=function(t,e,n){var r,o;du$1?((r=cu$1.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),R$2.dispatchEvent(r)):r={promise:e,reason:n},!tu$1&&(o=R$2["on"+t])?o(r):t===pu$1&&function(t,e){try{1===arguments.length?console.error(t):console.error(t,e);}catch(t){}}("Unhandled promise rejection",n);},mu$1=function(t){z$2(Ji$1,R$2,(function(){var e,n=t.facade,r=t.value;if(bu$1(t)&&(e=zi$1((function(){Fo$1?su$1.emit("unhandledRejection",r,n):gu$1(pu$1,n,r);})),t.rejection=Fo$1||bu$1(t)?2:1,e.error))throw e.value}));},bu$1=function(t){return 1!==t.rejection&&!t.parent},wu$1=function(t){z$2(Ji$1,R$2,(function(){var e=t.facade;Fo$1?su$1.emit("rejectionHandled",e):gu$1("rejectionhandled",e,t.value);}));},Su$1=function(t,e,n){return function(r){t(e,r,n);}},Ou$1=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,yu$1(t,!0));},Eu$1=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw new au$1("Promise can't be resolved itself");var r=vu$1(e);r?Vi$1((function(){var n={done:!1};try{z$2(r,e,Su$1(Eu$1,n,t),Su$1(Ou$1,n,t));}catch(e){Ou$1(n,e,t);}})):(t.value=e,t.state=1,yu$1(t,!1));}catch(e){Ou$1({done:!1},e,t);}}};if(Zi$1&&(uu$1=(iu$1=function(t){qo$1(this,uu$1),Et$2(t),z$2(Fi$1,this);var e=nu$1(this);try{t(Su$1(Eu$1,e),Su$1(Ou$1,e));}catch(t){Ou$1(e,t);}}).prototype,(Fi$1=function(t){ru$1(this,{type:Qi$1,done:!1,notified:!1,parent:!1,reactions:new Ii$1,rejection:!1,state:0,value:null});}).prototype=Ne$2(uu$1,"then",(function(t,e){var n=nu$1(this),r=fu$1(Zo$1(this,iu$1));return n.parent=!0,r.ok=!rt$2(t)||t,r.fail=rt$2(e)&&e,r.domain=Fo$1?su$1.domain:void 0,0===n.state?n.reactions.add(r):Vi$1((function(){hu$1(r,n);})),r.promise})),_i$1=function(){var t=new Fi$1,e=nu$1(t);this.promise=t,this.resolve=Su$1(Eu$1,e),this.reject=Su$1(Ou$1,e);},qi$1.f=fu$1=function(t){return t===iu$1||undefined===t?new _i$1(t):lu$1(t)},rt$2(Di$1)&&ou$1!==Object.prototype)){$i$1=ou$1.then,eu$1||Ne$2(ou$1,"then",(function(t,e){var n=this;return new iu$1((function(t,e){z$2($i$1,n,t,e);})).then(t,e)}),{unsafe:!0});try{delete ou$1.constructor;}catch(t){}Uo$1&&Uo$1(ou$1,uu$1);}sn$2({global:!0,constructor:!0,wrap:!0,forced:Zi$1},{Promise:iu$1}),Go$1(iu$1,Qi$1,!1),Bi$1=it$2(Qi$1),k$2&&Bi$1&&!Bi$1[Xo$1]&&Ko$1(Bi$1,Xo$1,{configurable:!0,get:function(){return this}});var xu$1={},Iu$1=$t$2("iterator"),Pu$1=Array.prototype,ju$1=$t$2("iterator"),Tu$1=function(t){if(!Q$2(t))return xt$2(t,ju$1)||xt$2(t,"@@iterator")||xu$1[yn$2(t)]},Mu$1=TypeError,Au$1=function(t,e,n){var r,o;ee$2(t);try{if(!(r=xt$2(t,"return"))){if("throw"===e)throw n;return n}r=z$2(r,t);}catch(t){o=!0,r=t;}if("throw"===e)throw n;if(o)throw r;return ee$2(r),n},Nu$1=TypeError,Ru$1=function(t,e){this.stopped=t,this.result=e;},Cu$1=Ru$1.prototype,ku$1=function(t,e,n){var r,o,i,u,a,c,s,f,l=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_RECORD),v=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),y=Zn$2(e,l),g=function(t){return r&&Au$1(r,"normal",t),new Ru$1(!0,t)},m=function(t){return d?(ee$2(t),h?y(t[0],t[1],g):y(t[0],t[1])):h?y(t,g):y(t)};if(p)r=t.iterator;else if(v)r=t;else {if(!(o=Tu$1(t)))throw new Nu$1(St$2(t)+" is not iterable");if(void 0!==(f=o)&&(xu$1.Array===f||Pu$1[Iu$1]===f)){for(i=0,u=$e$2(t);u>i;i++)if((a=m(t[i]))&&ut$2(Cu$1,a))return a;return new Ru$1(!1)}r=function(t,e){var n=arguments.length<2?Tu$1(t):e;if(Et$2(n))return ee$2(z$2(n,t));throw new Mu$1(St$2(t)+" is not iterable")}(t,o);}for(c=p?t.next:r.next;!(s=z$2(c,r)).done;){try{a=m(s.value);}catch(t){Au$1(r,"throw",t);}if("object"==typeof a&&a&&ut$2(Cu$1,a))return a}return new Ru$1(!1)},Lu$1=$t$2("iterator"),Vu$1=!1;try{var zu$1=0,Du$1={next:function(){return {done:!!zu$1++}},return:function(){Vu$1=!0;}};Du$1[Lu$1]=function(){return this},Array.from(Du$1,(function(){throw 2}));}catch(t){}var Fu$1=function(t,e){try{if(!e&&!Vu$1)return !1}catch(t){return !1}var n=!1;try{var r={};r[Lu$1]=function(){return {next:function(){return {done:n=!0}}}},t(r);}catch(t){}return n},_u$1=Ki$1.CONSTRUCTOR||!Fu$1((function(t){Di$1.all(t).then(void 0,(function(){}));}));sn$2({target:"Promise",stat:!0,forced:_u$1},{all:function(t){var e=this,n=qi$1.f(e),r=n.resolve,o=n.reject,i=zi$1((function(){var n=Et$2(e.resolve),i=[],u=0,a=1;ku$1(t,(function(t){var c=u++,s=!1;a++,z$2(n,e,t).then((function(t){s||(s=!0,i[c]=t,--a||r(i));}),o);})),--a||r(i);}));return i.error&&o(i.value),n.promise}});var $u$1=Ki$1.CONSTRUCTOR,Bu$1=Di$1&&Di$1.prototype;if(sn$2({target:"Promise",proto:!0,forced:$u$1,real:!0},{catch:function(t){return this.then(void 0,t)}}),rt$2(Di$1)){var Uu$1=it$2("Promise").prototype.catch;Bu$1.catch!==Uu$1&&Ne$2(Bu$1,"catch",Uu$1,{unsafe:!0});}sn$2({target:"Promise",stat:!0,forced:_u$1},{race:function(t){var e=this,n=qi$1.f(e),r=n.reject,o=zi$1((function(){var o=Et$2(e.resolve);ku$1(t,(function(t){z$2(o,e,t).then(n.resolve,r);}));}));return o.error&&r(o.value),n.promise}}),sn$2({target:"Promise",stat:!0,forced:Ki$1.CONSTRUCTOR},{reject:function(t){var e=qi$1.f(this);return (0, e.reject)(t),e.promise}});var Hu$1=Ki$1.CONSTRUCTOR;function Wu$1(t,n,r,o,i){return void 0===r&&(r=""),void 0===o&&(o=""),void 0===i&&(i=""),O$2(this,void 0,void 0,(function(){var a,c,s,f,l,d,p;return E$2(this,(function(v){switch(v.label){case 0:return n?(t.restoreSelection(),a=t.getMenuConfig("insertVideo"),c=a.onInsertedVideo,s=a.checkVideo,f=a.parseVideoSrc,[4,s(n,r)]):[2];case 1:return "string"==typeof(l=v.sent())?(t.alert(l,"error"),[2]):null==l?[2]:[4,f(n)];case 2:return 0!==(d=v.sent()).trim().indexOf("<iframe ")&&(d=d.replace(/</g,"&lt;").replace(/>/g,"&gt;")),p={type:"video",src:d,poster:r,children:[{text:""}],style:{width:o,height:i}},Promise.resolve().then((function(){Ic$2.isSelectedEmptyParagraph(t)&&Transforms.removeNodes(t,{mode:"highest"}),Transforms.insertNodes(t,p,{mode:"highest"});})),c(p),[2]}}))}))}function Gu$1(){return Mo$1("w-e-insert-video")}it$2("Promise"),sn$2({target:"Promise",stat:!0,forced:Hu$1},{resolve:function(t){return function(t,e){if(ee$2(t),ot$2(e)&&e.constructor===t)return e;var n=qi$1.f(t);return (0, n.resolve)(e),n.promise}(this,t)}});var Ku$1=function(){function t(){this.title=Wp$1("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=Gu$1(),this.posterInputId=Gu$1(),this.buttonId=Gu$1();}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 n=t.selection;return null==n||(!Range.isCollapsed(n)||!!Ic$2.getSelectedElems(t).some((function(n){var r=Ic$2.getNodeType(n);return "pre"===r||("list-item"===r||!!t.isVoid(n))})))},t.prototype.getModalPositionNode=function(t){return null},t.prototype.getModalContentElem=function(t){var e=this,i=this,u=i.srcInputId,a=i.posterInputId,c=i.buttonId,s=I$2(Bh$1(Wp$1("videoModule.videoSrc"),u,Wp$1("videoModule.videoSrcPlaceHolder")),2),l=s[0],d=s[1],p=I$2(Bh$1(Wp$1("videoModule.videoPoster"),a,Wp$1("videoModule.videoPosterPlaceHolder")),2),v=p[0],h=p[1],y=$$6(d),g=$$6(h),m=I$2($h$1(c,Wp$1("videoModule.ok")),1)[0];if(null==this.$content){var b=$$6("<div></div>");b.on("click","#"+c,(function(n){return O$2(e,void 0,void 0,(function(){var e,r;return E$2(this,(function(o){switch(o.label){case 0:return n.preventDefault(),e=b.find("#"+u).val().trim(),r=b.find("#"+a).val().trim(),[4,Wu$1(t,e,r)];case 1:return o.sent(),t.hidePanelOrModal(),[2]}}))}))})),this.$content=b;}var w=this.$content;return w.empty(),w.append(l),w.append(v),w.append(m),y.val(""),g.val(""),setTimeout((function(){y.focus();})),w[0]},t}(),Xu$1=W$2([].join),Yu$1=J$2!==Object||!xo$1("join",",");sn$2({target:"Array",proto:!0,forced:Yu$1},{join:function(t){return Xu$1(et$2(this),void 0===t?",":t)}});var qu$1,Ju$1,Qu$1,Zu$1=!C$2((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),ta$2=Oe$2("IE_PROTO"),ea$2=Object,na$2=ea$2.prototype,ra$2=Zu$1?ea$2.getPrototypeOf:function(t){var e=Nt$2(t);if(Ct$2(e,ta$2))return e[ta$2];var n=e.constructor;return rt$2(n)&&e instanceof n?n.prototype:e instanceof ea$2?na$2:null},oa$2=$t$2("iterator"),ia$2=!1;[].keys&&("next"in(Qu$1=[].keys())?(Ju$1=ra$2(ra$2(Qu$1)))!==Object.prototype&&(qu$1=Ju$1):ia$2=!0);var ua$2=!ot$2(qu$1)||C$2((function(){var t={};return qu$1[oa$2].call(t)!==t}));ua$2&&(qu$1={}),rt$2(qu$1[oa$2])||Ne$2(qu$1,oa$2,(function(){return this}));var aa$2={IteratorPrototype:qu$1,BUGGY_SAFARI_ITERATORS:ia$2},ca$2=aa$2.IteratorPrototype,sa$2=function(){return this},fa$2=pe$2.PROPER,la$2=pe$2.CONFIGURABLE,da$2=aa$2.IteratorPrototype,pa$2=aa$2.BUGGY_SAFARI_ITERATORS,va$1=$t$2("iterator"),ha$2="keys",ya$1="values",ga$2="entries",ma$2=function(){return this},ba$2=function(t,e,n,r,o,i,u){!function(t,e,n,r){var o=e+" Iterator";t.prototype=Un$2(ca$2,{next:$$2(+!r,n)}),Go$1(t,o,!1),xu$1[o]=sa$2;}(n,e,r);var a,c,s,f=function(t){if(t===o&&h)return h;if(!pa$2&&t&&t in p)return p[t];switch(t){case ha$2:case ya$1:case ga$2:return function(){return new n(this,t)}}return function(){return new n(this)}},l=e+" Iterator",d=!1,p=t.prototype,v=p[va$1]||p["@@iterator"]||o&&p[o],h=!pa$2&&v||f(o),y="Array"===e&&p.entries||v;if(y&&(a=ra$2(y.call(new t)))!==Object.prototype&&a.next&&(ra$2(a)!==da$2&&(Uo$1?Uo$1(a,da$2):rt$2(a[va$1])||Ne$2(a,va$1,ma$2)),Go$1(a,l,!0)),fa$2&&o===ya$1&&v&&v.name!==ya$1&&(la$2?se$2(p,"name",ya$1):(d=!0,h=function(){return z$2(v,this)})),o)if(c={values:f(ya$1),keys:i?h:f(ha$2),entries:f(ga$2)},u)for(s in c)(pa$2||d||!(s in p))&&Ne$2(p,s,c[s]);else sn$2({target:e,proto:!0,forced:pa$2||d},c);return p[va$1]!==h&&Ne$2(p,va$1,h,{name:o}),xu$1[e]=h,c},wa$1=function(t,e){return {value:t,done:e}},Sa$2=ce$2.f,Oa$1="Array Iterator",Ea$2=Me$2.set,xa$1=Me$2.getterFor(Oa$1),Ia$1=ba$2(Array,"Array",(function(t,e){Ea$2(this,{type:Oa$1,target:et$2(t),index:0,kind:e});}),(function(){var t=xa$1(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=null,wa$1(void 0,!0);switch(t.kind){case"keys":return wa$1(n,!1);case"values":return wa$1(e[n],!1)}return wa$1([n,e[n]],!1)}),"values"),Pa$1=xu$1.Arguments=xu$1.Array;if(Kn$2("keys"),Kn$2("values"),Kn$2("entries"),k$2&&"values"!==Pa$1.name)try{Sa$2(Pa$1,"name",{value:"values"});}catch(t){}var ja$1=$t$2("species"),Ta$2=function(t){return vt$2>=51||!C$2((function(){var e=[];return (e.constructor={})[ja$1]=function(){return {foo:1}},1!==e[t](Boolean).foo}))}("slice"),Ma=$t$2("species"),Aa$1=Array,Na$1=Math.max;sn$2({target:"Array",proto:!0,forced:!Ta$2},{slice:function(t,e){var n,r,o,i,u,a,c=et$2(this),s=$e$2(c),f=De$2(t,s),l=De$2(void 0===e?s:e,s);if(tr$1(c)&&(n=c.constructor,(cr$1(n)&&(n===Aa$1||tr$1(n.prototype))||ot$2(n)&&null===(n=n[Ma]))&&(n=void 0),n===Aa$1||void 0===n))return ti$1(c,f,l);for(r=new(void 0===n?Aa$1:n)(Na$1(l-f,0)),o=0;f<l;f++,o++)f in c&&(i=r,u=o,a=c[f],k$2?ce$2.f(i,u,$$2(0,a)):i[u]=a);return r.length=o,r}});var Ra$1=pe$2.EXISTS,Ca$1=Function.prototype,ka$1=W$2(Ca$1.toString),La$1=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Va=W$2(La$1.exec);k$2&&!Ra$1&&Ko$1(Ca$1,"name",{configurable:!0,get:function(){try{return Va(La$1,ka$1(this))[1]}catch(t){return ""}}});var za=Qr$1.charAt,Da="String Iterator",Fa=Me$2.set,_a=Me$2.getterFor(Da);ba$2(String,"String",(function(t){Fa(this,{type:Da,string:mn$2(t),index:0});}),(function(){var t,e=_a(this),n=e.string,r=e.index;return r>=n.length?wa$1(void 0,!0):(t=za(n,r),e.index+=t.length,wa$1(t,!1))}));var $a=!C$2((function(){return Object.isExtensible(Object.preventExtensions({}))})),Ba=function(t,e,n){for(var r in e)Ne$2(t,r,e[r],n);return t},Ua=Ye$2.f,Ha="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Wa={f:function(t){return Ha&&"Window"===X$2(t)?function(t){try{return Ua(t)}catch(t){return ti$1(Ha)}}(t):Ua(et$2(t))}},Ga=C$2((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8});}})),Ka=Object.isExtensible,Xa=C$2((function(){Ka(1);}))||Ga?function(t){return !!ot$2(t)&&((!Ga||"ArrayBuffer"!==X$2(t))&&(!Ka||Ka(t)))}:Ka,Ya=T$2((function(t){var e=ce$2.f,n=!1,r=zt$2("meta"),o=0,i=function(t){e(t,r,{value:{objectID:"O"+o++,weakData:{}}});},u=t.exports={enable:function(){u.enable=function(){},n=!0;var t=Ye$2.f,e=W$2([].splice),o={};o[r]=1,t(o).length&&(Ye$2.f=function(n){for(var o=t(n),i=0,u=o.length;i<u;i++)if(o[i]===r){e(o,i,1);break}return o},sn$2({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Wa.f}));},fastKey:function(t,e){if(!ot$2(t))return "symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!Ct$2(t,r)){if(!Xa(t))return "F";if(!e)return "E";i(t);}return t[r].objectID},getWeakData:function(t,e){if(!Ct$2(t,r)){if(!Xa(t))return !0;if(!e)return !1;i(t);}return t[r].weakData},onFreeze:function(t){return $a&&n&&Xa(t)&&!Ct$2(t,r)&&i(t),t}};Ee$2[r]=!0;})),qa=Ya.getWeakData,Ja=Me$2.set,Qa=Me$2.getterFor,Za=vr$1.find,tc=vr$1.findIndex,ec=W$2([].splice),nc=0,rc=function(t){return t.frozen||(t.frozen=new oc)},oc=function(){this.entries=[];},ic=function(t,e){return Za(t.entries,(function(t){return t[0]===e}))};oc.prototype={get:function(t){var e=ic(this,t);if(e)return e[1]},has:function(t){return !!ic(this,t)},set:function(t,e){var n=ic(this,t);n?n[1]=e:this.entries.push([t,e]);},delete:function(t){var e=tc(this.entries,(function(e){return e[0]===t}));return ~e&&ec(this.entries,e,1),!!~e}};var uc,ac={getConstructor:function(t,e,n,r){var o=t((function(t,o){qo$1(t,i),Ja(t,{type:e,id:nc++,frozen:null}),Q$2(o)||ku$1(o,t[r],{that:t,AS_ENTRIES:n});})),i=o.prototype,u=Qa(e),a=function(t,e,n){var r=u(t),o=qa(ee$2(e),!0);return !0===o?rc(r).set(e,n):o[r.id]=n,t};return Ba(i,{delete:function(t){var e=u(this);if(!ot$2(t))return !1;var n=qa(t);return !0===n?rc(e).delete(t):n&&Ct$2(n,e.id)&&delete n[e.id]},has:function(t){var e=u(this);if(!ot$2(t))return !1;var n=qa(t);return !0===n?rc(e).has(t):n&&Ct$2(n,e.id)}}),Ba(i,n?{get:function(t){var e=u(this);if(ot$2(t)){var n=qa(t);if(!0===n)return rc(e).get(t);if(n)return n[e.id]}},set:function(t,e){return a(this,t,e)}}:{add:function(t){return a(this,t,!0)}}),o}},cc=Me$2.enforce,sc=Object,fc=Array.isArray,lc=sc.isExtensible,dc=sc.isFrozen,pc=sc.isSealed,vc=sc.freeze,hc=sc.seal,yc=!R$2.ActiveXObject&&"ActiveXObject"in R$2,gc=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},mc=function(t,e,n){var r=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),i=r?"set":"add",u=R$2[t],a=u&&u.prototype,c=u,s={},f=function(t){var e=W$2(a[t]);Ne$2(a,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return !(o&&!ot$2(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return o&&!ot$2(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return !(o&&!ot$2(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this});};if(an$2(t,!rt$2(u)||!(o||a.forEach&&!C$2((function(){(new u).entries().next();})))))c=n.getConstructor(e,t,r,i),Ya.enable();else if(an$2(t,!0)){var l=new c,d=l[i](o?{}:-0,1)!==l,p=C$2((function(){l.has(1);})),v=Fu$1((function(t){new u(t);})),h=!o&&C$2((function(){for(var t=new u,e=5;e--;)t[i](e,e);return !t.has(-0)}));v||((c=e((function(t,e){qo$1(t,a);var n=function(t,e,n){var r,o;return Uo$1&&rt$2(r=e.constructor)&&r!==n&&ot$2(o=r.prototype)&&o!==n.prototype&&Uo$1(t,o),t}(new u,t,c);return Q$2(e)||ku$1(e,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=a,a.constructor=c),(p||h)&&(f("delete"),f("has"),r&&f("get")),(h||d)&&f(i),o&&a.clear&&delete a.clear;}return s[t]=c,sn$2({global:!0,constructor:!0,forced:c!==u},s),Go$1(c,t),o||n.setStrong(c,t,r),c}("WeakMap",gc,ac),bc=mc.prototype,wc=W$2(bc.set);if(we$2)if(yc){uc=ac.getConstructor(gc,"WeakMap",!0),Ya.enable();var Sc=W$2(bc.delete),Oc=W$2(bc.has),Ec=W$2(bc.get);Ba(bc,{delete:function(t){if(ot$2(t)&&!lc(t)){var e=cc(this);return e.frozen||(e.frozen=new uc),Sc(this,t)||e.frozen.delete(t)}return Sc(this,t)},has:function(t){if(ot$2(t)&&!lc(t)){var e=cc(this);return e.frozen||(e.frozen=new uc),Oc(this,t)||e.frozen.has(t)}return Oc(this,t)},get:function(t){if(ot$2(t)&&!lc(t)){var e=cc(this);return e.frozen||(e.frozen=new uc),Oc(this,t)?Ec(this,t):e.frozen.get(t)}return Ec(this,t)},set:function(t,e){if(ot$2(t)&&!lc(t)){var n=cc(this);n.frozen||(n.frozen=new uc),Oc(this,t)?wc(this,t,e):n.frozen.set(t,e);}else wc(this,t,e);return this}});}else $a&&C$2((function(){var t=vc([]);return wc(new mc,t,1),!dc(t)}))&&Ba(bc,{set:function(t,e){var n;return fc(t)&&(dc(t)?n=vc:pc(t)&&(n=hc)),wc(this,t,e),n&&n(t),this}});var xc=$t$2("iterator"),Ic=Ia$1.values,Pc=function(t,e){if(t){if(t[xc]!==Ic)try{se$2(t,xc,Ic);}catch(e){t[xc]=Ic;}if(Go$1(t,e,!0),wo$1[e])for(var n in Ia$1)if(t[n]!==Ia$1[n])try{se$2(t,n,Ia$1[n]);}catch(e){t[n]=Ia$1[n];}}};for(var jc in wo$1)Pc(R$2[jc]&&R$2[jc].prototype,jc);function Tc(t){return t.getMenuConfig("uploadVideo")}Pc(Eo$1,"DOMTokenList");var Mc=new WeakMap;function Ac(t,e){return O$2(this,void 0,void 0,(function(){var n,r,o,u;return E$2(this,(function(a){switch(a.label){case 0:return n=function(t){var e=Mc.get(t);if(null!=e)return e;var n=Tc(t),r=n.onSuccess,o=n.onProgress,u=n.onFailed,a=n.customInsert,c=n.onError;return e=lg(S$2(S$2({},n),{onProgress:function(e){t.showProgressBar(e),o&&o(e);},onSuccess:function(e,n){if(a)return a(n,(function(e,n){return Wu$1(t,e,n)})),void r(e,n);var o=n.errno,i=void 0===o?1:o,c=n.data,s=void 0===c?{}:c;if(0===i){var f=s.url,l=void 0===f?"":f,d=s.poster;Wu$1(t,l,void 0===d?"":d),r(e,n);}else u(e,n);},onError:function(t,e,n){c(t,e,n);}})),Mc.set(t,e),e}(t),r=e.name,o=e.type,u=e.size,n.addFile({name:r,type:o,size:u,data:e}),[4,n.upload()];case 1:return a.sent(),[2]}}))}))}var Nc=function(){function t(){this.title=Wp$1("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 n=this.getMenuConfig(t),r=n.allowedFileTypes,o=void 0===r?[]:r,i=n.customBrowseAndUpload;if(i)i((function(e,n){return Wu$1(t,e,n)}));else {var u="";o.length>0&&(u='accept="'+o.join(", ")+'"');var a=$$6("body"),c=$$6('<input type="file" '+u+" multiple/>");c.hide(),a.append(c),c.click(),c.on("change",(function(){var e=c[0].files;!function(t,e){var n,r;O$2(this,void 0,void 0,(function(){var o,i,u,a,c,s;return E$2(this,(function(f){switch(f.label){case 0:if(null==e)return [2];o=Array.prototype.slice.call(e),i=Tc(t).customUpload,f.label=1;case 1:f.trys.push([1,9,10,15]),u=P$2(o),f.label=2;case 2:return [4,u.next()];case 3:return (a=f.sent()).done?[3,8]:(c=a.value,i?[4,i(c,(function(e,n){return Wu$1(t,e,n)}))]:[3,5]);case 4:return f.sent(),[3,7];case 5:return [4,Ac(t,c)];case 6:f.sent(),f.label=7;case 7:return [3,2];case 8:return [3,15];case 9:return s=f.sent(),n={error:s},[3,15];case 10:return f.trys.push([10,,13,14]),a&&!a.done&&(r=u.return)?[4,r.call(u)]:[3,12];case 11:f.sent(),f.label=12;case 12:return [3,14];case 13:if(n)throw n.error;return [7];case 14:return [7];case 15:return [2]}}))}));}(t,e);}));}},t.prototype.isDisabled=function(t){var n=t.selection;return null==n||(!Range.isCollapsed(n)||!!Ic$2.getSelectedElems(t).some((function(n){var r=Ic$2.getNodeType(n);return "pre"===r||("list-item"===r||!!t.isVoid(n))})))},t.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadVideo")},t}();function Rc(){return Mo$1("w-e-insert-video")}var Cc=function(){function t(){this.title=Wp$1("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=Rc(),this.heightInputId=Rc(),this.buttonId=Rc();}return t.prototype.getSelectedVideoNode=function(t){return Ic$2.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 i=this,a=i.widthInputId,c=i.heightInputId,s=i.buttonId,l=I$2(Bh$1(Wp$1("videoModule.width"),a,"auto"),2),d=l[0],p=l[1],v=$$6(p),h=I$2(Bh$1(Wp$1("videoModule.height"),c,"auto"),2),y=h[0],g=h[1],m=$$6(g),b=I$2($h$1(s,Wp$1("videoModule.ok")),1)[0];if(null==this.$content){var w=$$6("<div></div>");w.on("click","#"+s,(function(n){n.preventDefault();var r=w.find("#"+a).val().trim(),o=w.find("#"+c).val().trim(),i=function(t){return /^\d+(\.\d+)?%$/.test(t)},s=function(t){return /^\d+(\.\d+)?$/.test(t)},f="auto",l="auto";i(r)?f=r:s(r)&&(f=parseInt(r)+"px"),i(o)?l=o:s(o)&&(l=parseInt(o)+"px");var d=E.style,p=void 0===d?{}:d;t.restoreSelection();var v={style:S$2(S$2({},p),{width:f,height:l})};Transforms.setNodes(t,v,{match:function(t){return Ic$2.checkNodeType(t,"video")}}),t.hidePanelOrModal();})),this.$content=w;}var O=this.$content;O.empty(),O.append(d),O.append(y),O.append(b);var E=this.getSelectedVideoNode(t);if(null==E)return O[0];var x=E.style,P=void 0===x?{}:x,j=P.width,T=void 0===j?"":j,M=P.height,A=void 0===M?"":M;return v.val(T),m.val(A),setTimeout((function(){v.focus();})),O[0]},t}();function kc(){return Mo$1("w-e-edit-video")}var Lc=function(){function t(){this.title=Wp$1("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=kc(),this.posterInputId=kc(),this.buttonId=kc();}return t.prototype.getSelectedVideoNode=function(t){return Ic$2.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 i=this,a=this,c=a.srcInputId,s=a.posterInputId,l=a.buttonId,d=I$2(Bh$1(Wp$1("videoModule.videoSrc"),c,Wp$1("videoModule.videoSrcPlaceHolder")),2),p=d[0],v=d[1],h=I$2(Bh$1(Wp$1("videoModule.videoPoster"),s,Wp$1("videoModule.videoPosterPlaceHolder")),2),y=h[0],g=h[1],m=$$6(v),b=$$6(g),w=I$2($h$1(l,Wp$1("videoModule.ok")),1)[0];if(null==this.$content){var S=$$6("<div></div>");S.on("click","#"+l,(function(n){return O$2(i,void 0,void 0,(function(){var r,o,i,a;return E$2(this,(function(f){return n.preventDefault(),r=S.find("#"+c).val().trim(),o=S.find("#"+s).val().trim(),i=Mo$1("video-"),a={src:r,poster:o,key:i},t.restoreSelection(),Transforms.setNodes(t,a,{match:function(t){return Ic$2.checkNodeType(t,"video")}}),t.hidePanelOrModal(),[2]}))}))})),this.$content=S;}var x=this.$content;x.empty(),x.append(p),x.append(y),x.append(w);var P=this.getSelectedVideoNode(t);if(null==P)return x[0];var j=P.src,T=void 0===j?"":j,M=P.poster,A=void 0===M?"":M;return m.val(T),b.val(A),setTimeout((function(){m.focus();})),x[0]},t}();var Vc={renderElems:[Mn$2],elemsToHtml:[Nn$2],preParseHtml:[qn$2],parseElemsHtml:[Vo$1],menus:[{key:"insertVideo",factory:function(){return new Ku$1},config:{onInsertedVideo:function(t){},checkVideo:function(t,e){return !0},parseVideoSrc:function(t){return t}}},{key:"uploadVideo",factory:function(){return new Nc},config:{server:"",fieldName:"wangeditor-uploaded-video",maxFileSize:10485760,maxNumberOfFiles:5,allowedFileTypes:["video/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:3e4,onBeforeUpload:function(t){return t},onProgress:function(t){},onSuccess:function(t,e){},onFailed:function(t,e){console.error("'"+t.name+"' upload failed",e);},onError:function(t,e,n){console.error("'"+t.name+" upload error",e,n);}}},{key:"editVideoSize",factory:function(){return new Cc}},{key:"editVideoSrc",factory:function(){return new Lc}}],editorPlugin:function(t){var n=t.isVoid,r=t.normalizeNode,o=t;return o.isVoid=function(t){return "video"===t.type||n(t)},o.normalizeNode=function(t){var n=I$2(t,2),i=n[0],a=n[1];"video"===Ic$2.getNodeType(i)&&(Ic$2.isLastNode(o,i)&&Transforms.insertNodes(o,Ic$2.genEmptyParagraph(),{at:[a[0]+1]}));return r([i,a])},o}};
17554
+ Wp$1("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"}}),Wp$1("zh-CN",{videoModule:{delete:"删除视频",uploadVideo:"上传视频",insertVideo:"插入视频",videoSrc:"视频地址",videoSrcPlaceHolder:"视频文件 url 或第三方 <iframe>",videoPoster:"视频封面",videoPosterPlaceHolder:"封面图片 url",ok:"确定",editSize:"修改尺寸",edit:"编辑视频",width:"宽度",height:"高度"}});var S$2="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function O$2(t){var e={exports:{}};return t(e,e.exports),e.exports}var E$2,x$2,I$2=function(t){return t&&t.Math===Math&&t},P$2=I$2("object"==typeof globalThis&&globalThis)||I$2("object"==typeof window&&window)||I$2("object"==typeof self&&self)||I$2("object"==typeof S$2&&S$2)||I$2("object"==typeof S$2&&S$2)||function(){return this}()||Function("return this")(),j$2=function(t){try{return !!t()}catch(t){return !0}},T$2=!j$2((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),M$2=!j$2((function(){var t=function(){}.bind();return "function"!=typeof t||t.hasOwnProperty("prototype")})),A$2=Function.prototype.call,N$2=M$2?A$2.bind(A$2):function(){return A$2.apply(A$2,arguments)},R$2={}.propertyIsEnumerable,C$2=Object.getOwnPropertyDescriptor,k$2={f:C$2&&!R$2.call({1:2},1)?function(t){var e=C$2(this,t);return !!e&&e.enumerable}:R$2},L$2=function(t,e){return {enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},V$2=Function.prototype,z$2=V$2.call,D$2=M$2&&V$2.bind.bind(z$2,z$2),F$2=M$2?D$2:function(t){return function(){return z$2.apply(t,arguments)}},_$2=F$2({}.toString),$$2=F$2("".slice),B$2=function(t){return $$2(_$2(t),8,-1)},U$2=Object,H$2=F$2("".split),W$2=j$2((function(){return !U$2("z").propertyIsEnumerable(0)}))?function(t){return "String"===B$2(t)?H$2(t,""):U$2(t)}:U$2,G$2=function(t){return null==t},K$2=TypeError,X$2=function(t){if(G$2(t))throw new K$2("Can't call method on "+t);return t},Y$2=function(t){return W$2(X$2(t))},q$2="object"==typeof document&&document.all,J$2=void 0===q$2&&void 0!==q$2?function(t){return "function"==typeof t||t===q$2}:function(t){return "function"==typeof t},Q$2=function(t){return "object"==typeof t?null!==t:J$2(t)},Z$2=function(t,e){return arguments.length<2?(n=P$2[t],J$2(n)?n:void 0):P$2[t]&&P$2[t][e];var n;},tt$2=F$2({}.isPrototypeOf),et$2=P$2.navigator,nt$2=et$2&&et$2.userAgent,rt$2=nt$2?String(nt$2):"",ot$2=P$2.process,it$2=P$2.Deno,ut$2=ot$2&&ot$2.versions||it$2&&it$2.version,ct$2=ut$2&&ut$2.v8;ct$2&&(x$2=(E$2=ct$2.split("."))[0]>0&&E$2[0]<4?1:+(E$2[0]+E$2[1])),!x$2&&rt$2&&(!(E$2=rt$2.match(/Edge\/(\d+)/))||E$2[1]>=74)&&(E$2=rt$2.match(/Chrome\/(\d+)/))&&(x$2=+E$2[1]);var at$2=x$2,st$2=P$2.String,ft$2=!!Object.getOwnPropertySymbols&&!j$2((function(){var t=Symbol("symbol detection");return !st$2(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&at$2&&at$2<41})),lt$2=ft$2&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,dt$2=Object,pt$2=lt$2?function(t){return "symbol"==typeof t}:function(t){var e=Z$2("Symbol");return J$2(e)&&tt$2(e.prototype,dt$2(t))},vt$2=String,ht$2=function(t){try{return vt$2(t)}catch(t){return "Object"}},yt$2=TypeError,gt$2=function(t){if(J$2(t))return t;throw new yt$2(ht$2(t)+" is not a function")},mt$2=function(t,e){var n=t[e];return G$2(n)?void 0:gt$2(n)},bt$2=TypeError,wt$2=Object.defineProperty,St$2=function(t,e){try{wt$2(P$2,t,{value:e,configurable:!0,writable:!0});}catch(n){P$2[t]=e;}return e},Ot$2=O$2((function(t){var e="__core-js_shared__",n=t.exports=P$2[e]||St$2(e,{});(n.versions||(n.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});})),Et$2=function(t,e){return Ot$2[t]||(Ot$2[t]=e||{})},xt$2=Object,It$2=function(t){return xt$2(X$2(t))},Pt$2=F$2({}.hasOwnProperty),jt$2=Object.hasOwn||function(t,e){return Pt$2(It$2(t),e)},Tt$2=0,Mt$2=Math.random(),At$2=F$2(1..toString),Nt$2=function(t){return "Symbol("+(void 0===t?"":t)+")_"+At$2(++Tt$2+Mt$2,36)},Rt$2=P$2.Symbol,Ct$2=Et$2("wks"),kt$2=lt$2?Rt$2.for||Rt$2:Rt$2&&Rt$2.withoutSetter||Nt$2,Lt$2=function(t){return jt$2(Ct$2,t)||(Ct$2[t]=ft$2&&jt$2(Rt$2,t)?Rt$2[t]:kt$2("Symbol."+t)),Ct$2[t]},Vt$2=TypeError,zt$2=Lt$2("toPrimitive"),Dt$2=function(t,e){if(!Q$2(t)||pt$2(t))return t;var n,r=mt$2(t,zt$2);if(r){if(void 0===e&&(e="default"),n=N$2(r,t,e),!Q$2(n)||pt$2(n))return n;throw new Vt$2("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&J$2(n=t.toString)&&!Q$2(r=N$2(n,t)))return r;if(J$2(n=t.valueOf)&&!Q$2(r=N$2(n,t)))return r;if("string"!==e&&J$2(n=t.toString)&&!Q$2(r=N$2(n,t)))return r;throw new bt$2("Can't convert object to primitive value")}(t,e)},Ft$2=function(t){var e=Dt$2(t,"string");return pt$2(e)?e:e+""},_t$2=P$2.document,$t$2=Q$2(_t$2)&&Q$2(_t$2.createElement),Bt$2=function(t){return $t$2?_t$2.createElement(t):{}},Ut$2=!T$2&&!j$2((function(){return 7!==Object.defineProperty(Bt$2("div"),"a",{get:function(){return 7}}).a})),Ht$2=Object.getOwnPropertyDescriptor,Wt$2={f:T$2?Ht$2:function(t,e){if(t=Y$2(t),e=Ft$2(e),Ut$2)try{return Ht$2(t,e)}catch(t){}if(jt$2(t,e))return L$2(!N$2(k$2.f,t,e),t[e])}},Gt$2=T$2&&j$2((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),Kt$2=String,Xt$2=TypeError,Yt$2=function(t){if(Q$2(t))return t;throw new Xt$2(Kt$2(t)+" is not an object")},qt$2=TypeError,Jt$2=Object.defineProperty,Qt$2=Object.getOwnPropertyDescriptor,Zt$2="enumerable",te$2="configurable",ee$2="writable",ne$2={f:T$2?Gt$2?function(t,e,n){if(Yt$2(t),e=Ft$2(e),Yt$2(n),"function"==typeof t&&"prototype"===e&&"value"in n&&ee$2 in n&&!n[ee$2]){var r=Qt$2(t,e);r&&r[ee$2]&&(t[e]=n.value,n={configurable:te$2 in n?n[te$2]:r[te$2],enumerable:Zt$2 in n?n[Zt$2]:r[Zt$2],writable:!1});}return Jt$2(t,e,n)}:Jt$2:function(t,e,n){if(Yt$2(t),e=Ft$2(e),Yt$2(n),Ut$2)try{return Jt$2(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new qt$2("Accessors not supported");return "value"in n&&(t[e]=n.value),t}},re$2=T$2?function(t,e,n){return ne$2.f(t,e,L$2(1,n))}:function(t,e,n){return t[e]=n,t},oe$2=Function.prototype,ie$2=T$2&&Object.getOwnPropertyDescriptor,ue$2=jt$2(oe$2,"name"),ce$2={EXISTS:ue$2,PROPER:ue$2&&"something"===function(){}.name,CONFIGURABLE:ue$2&&(!T$2||T$2&&ie$2(oe$2,"name").configurable)},ae$2=F$2(Function.toString);J$2(Ot$2.inspectSource)||(Ot$2.inspectSource=function(t){return ae$2(t)});var se$2,fe$2,le$2,de$2=Ot$2.inspectSource,pe$2=P$2.WeakMap,ve$2=J$2(pe$2)&&/native code/.test(String(pe$2)),he$2=Et$2("keys"),ye$2=function(t){return he$2[t]||(he$2[t]=Nt$2(t))},ge$2={},me$2="Object already initialized",be$2=P$2.TypeError,we$2=P$2.WeakMap;if(ve$2||Ot$2.state){var Se$2=Ot$2.state||(Ot$2.state=new we$2);Se$2.get=Se$2.get,Se$2.has=Se$2.has,Se$2.set=Se$2.set,se$2=function(t,e){if(Se$2.has(t))throw new be$2(me$2);return e.facade=t,Se$2.set(t,e),e},fe$2=function(t){return Se$2.get(t)||{}},le$2=function(t){return Se$2.has(t)};}else {var Oe$2=ye$2("state");ge$2[Oe$2]=!0,se$2=function(t,e){if(jt$2(t,Oe$2))throw new be$2(me$2);return e.facade=t,re$2(t,Oe$2,e),e},fe$2=function(t){return jt$2(t,Oe$2)?t[Oe$2]:{}},le$2=function(t){return jt$2(t,Oe$2)};}var Ee$2={set:se$2,get:fe$2,has:le$2,enforce:function(t){return le$2(t)?fe$2(t):se$2(t,{})},getterFor:function(t){return function(e){var n;if(!Q$2(e)||(n=fe$2(e)).type!==t)throw new be$2("Incompatible receiver, "+t+" required");return n}}},xe$2=O$2((function(t){var e=ce$2.CONFIGURABLE,n=Ee$2.enforce,r=Ee$2.get,o=String,i=Object.defineProperty,u=F$2("".slice),c=F$2("".replace),a=F$2([].join),s=T$2&&!j$2((function(){return 8!==i((function(){}),"length",{value:8}).length})),f=String(String).split("String"),l=t.exports=function(t,r,l){"Symbol("===u(o(r),0,7)&&(r="["+c(o(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),l&&l.getter&&(r="get "+r),l&&l.setter&&(r="set "+r),(!jt$2(t,"name")||e&&t.name!==r)&&(T$2?i(t,"name",{value:r,configurable:!0}):t.name=r),s&&l&&jt$2(l,"arity")&&t.length!==l.arity&&i(t,"length",{value:l.arity});try{l&&jt$2(l,"constructor")&&l.constructor?T$2&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0);}catch(t){}var d=n(t);return jt$2(d,"source")||(d.source=a(f,"string"==typeof r?r:"")),t};Function.prototype.toString=l((function(){return J$2(this)&&r(this).source||de$2(this)}),"toString");})),Ie$2=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(J$2(n)&&xe$2(n,i,r),r.global)o?t[e]=n:St$2(e,n);else {try{r.unsafe?t[e]&&(o=!0):delete t[e];}catch(t){}o?t[e]=n:ne$2.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable});}return t},Pe$2=Math.ceil,je$2=Math.floor,Te$2=Math.trunc||function(t){var e=+t;return (e>0?je$2:Pe$2)(e)},Me$2=function(t){var e=+t;return e!=e||0===e?0:Te$2(e)},Ae$2=Math.max,Ne$2=Math.min,Re$2=function(t,e){var n=Me$2(t);return n<0?Ae$2(n+e,0):Ne$2(n,e)},Ce$2=Math.min,ke$2=function(t){var e=Me$2(t);return e>0?Ce$2(e,9007199254740991):0},Le$2=function(t){return ke$2(t.length)},Ve$2=function(t){return function(e,n,r){var o=Y$2(e),i=Le$2(o);if(0===i)return !t&&-1;var u,c=Re$2(r,i);if(t&&n!=n){for(;i>c;)if((u=o[c++])!=u)return !0}else for(;i>c;c++)if((t||c in o)&&o[c]===n)return t||c||0;return !t&&-1}},ze$2={includes:Ve$2(!0),indexOf:Ve$2(!1)},De$2=ze$2.indexOf,Fe$2=F$2([].push),_e$2=function(t,e){var n,r=Y$2(t),o=0,i=[];for(n in r)!jt$2(ge$2,n)&&jt$2(r,n)&&Fe$2(i,n);for(;e.length>o;)jt$2(r,n=e[o++])&&(~De$2(i,n)||Fe$2(i,n));return i},$e$2=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Be$2=$e$2.concat("length","prototype"),Ue$2={f:Object.getOwnPropertyNames||function(t){return _e$2(t,Be$2)}},He$2={f:Object.getOwnPropertySymbols},We$2=F$2([].concat),Ge$2=Z$2("Reflect","ownKeys")||function(t){var e=Ue$2.f(Yt$2(t)),n=He$2.f;return n?We$2(e,n(t)):e},Ke$2=function(t,e,n){for(var r=Ge$2(e),o=ne$2.f,i=Wt$2.f,u=0;u<r.length;u++){var c=r[u];jt$2(t,c)||n&&jt$2(n,c)||o(t,c,i(e,c));}},Xe$2=/#|\.prototype\./,Ye$2=function(t,e){var n=Je$2[qe$2(t)];return n===Ze$2||n!==Qe$2&&(J$2(e)?j$2(e):!!e)},qe$2=Ye$2.normalize=function(t){return String(t).replace(Xe$2,".").toLowerCase()},Je$2=Ye$2.data={},Qe$2=Ye$2.NATIVE="N",Ze$2=Ye$2.POLYFILL="P",tn$2=Ye$2,en$2=Wt$2.f,nn$2=function(t,e){var n,r,o,i,u,c=t.target,a=t.global,s=t.stat;if(n=a?P$2:s?P$2[c]||St$2(c,{}):P$2[c]&&P$2[c].prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(u=en$2(n,r))&&u.value:n[r],!tn$2(a?r:c+(s?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ke$2(i,o);}(t.sham||o&&o.sham)&&re$2(i,"sham",!0),Ie$2(n,r,i,t);}},rn$2=Array.isArray||function(t){return "Array"===B$2(t)},on$2=TypeError,un$2=function(t){if(t>9007199254740991)throw on$2("Maximum allowed index exceeded");return t},cn$2=function(t,e,n){T$2?ne$2.f(t,e,L$2(0,n)):t[e]=n;},an$2={};an$2[Lt$2("toStringTag")]="z";var sn$2="[object z]"===String(an$2),fn$2=Lt$2("toStringTag"),ln$2=Object,dn$2="Arguments"===B$2(function(){return arguments}()),pn$2=sn$2?B$2:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=ln$2(t),fn$2))?n:dn$2?B$2(e):"Object"===(r=B$2(e))&&J$2(e.callee)?"Arguments":r},vn$2=function(){},hn$2=Z$2("Reflect","construct"),yn$2=/^\s*(?:class|function)\b/,gn$2=F$2(yn$2.exec),mn$2=!yn$2.test(vn$2),bn$2=function(t){if(!J$2(t))return !1;try{return hn$2(vn$2,[],t),!0}catch(t){return !1}},wn$2=function(t){if(!J$2(t))return !1;switch(pn$2(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return !1}try{return mn$2||!!gn$2(yn$2,de$2(t))}catch(t){return !0}};wn$2.sham=!0;var Sn$2=!hn$2||j$2((function(){var t;return bn$2(bn$2.call)||!bn$2(Object)||!bn$2((function(){t=!0;}))||t}))?wn$2:bn$2,On$2=Lt$2("species"),En$2=Array,xn$2=function(t,e){return new(function(t){var e;return rn$2(t)&&(e=t.constructor,(Sn$2(e)&&(e===En$2||rn$2(e.prototype))||Q$2(e)&&null===(e=e[On$2]))&&(e=void 0)),void 0===e?En$2:e}(t))(0===e?0:e)},In$2=Lt$2("species"),Pn$2=function(t){return at$2>=51||!j$2((function(){var e=[];return (e.constructor={})[In$2]=function(){return {foo:1}},1!==e[t](Boolean).foo}))},jn$2=Lt$2("isConcatSpreadable"),Tn$2=at$2>=51||!j$2((function(){var t=[];return t[jn$2]=!1,t.concat()[0]!==t})),Mn$2=function(t){if(!Q$2(t))return !1;var e=t[jn$2];return void 0!==e?!!e:rn$2(t)},An$2=!Tn$2||!Pn$2("concat");nn$2({target:"Array",proto:!0,arity:1,forced:An$2},{concat:function(t){var e,n,r,o,i,u=It$2(this),c=xn$2(u,0),a=0;for(e=-1,r=arguments.length;e<r;e++)if(Mn$2(i=-1===e?u:arguments[e]))for(o=Le$2(i),un$2(a+o),n=0;n<o;n++,a++)n in i&&cn$2(c,a,i[n]);else un$2(a+1),cn$2(c,a++,i);return c.length=a,c}});var Nn$2,Rn$2=String,Cn$2=function(t){if("Symbol"===pn$2(t))throw new TypeError("Cannot convert a Symbol value to a string");return Rn$2(t)},kn$2="\t\n\v\f\r                 \u2028\u2029\ufeff",Ln$2=F$2("".replace),Vn$2=RegExp("^["+kn$2+"]+"),zn$2=RegExp("(^|[^"+kn$2+"])["+kn$2+"]+$"),Dn$2=function(t){return function(e){var n=Cn$2(X$2(e));return 1&t&&(n=Ln$2(n,Vn$2,"")),2&t&&(n=Ln$2(n,zn$2,"$1")),n}},Fn$2={start:Dn$2(1),end:Dn$2(2),trim:Dn$2(3)},_n$2=ce$2.PROPER,$n$2=Fn$2.trim;function Bn$2(t){return t.length?t[0].tagName.toLowerCase():""}function Un$2(t,e,n,r){void 0===e&&(e="auto"),void 0===n&&(n="auto"),void 0===r&&(r={});var o=$$6(t),i=r.width,c=void 0===i?"":i,a=r.height,s=void 0===a?"":a,f="";return c&&(f+="width: ".concat(c,";")),s&&(f+="height: ".concat(s,";")),o.attr("width",e),o.attr("height",n),o.attr("style",f),o[0].outerHTML}nn$2({target:"String",proto:!0,forced:(Nn$2="trim",j$2((function(){return !!kn$2[Nn$2]()||"​…᠎"!=="​…᠎"[Nn$2]()||_n$2&&kn$2[Nn$2].name!==Nn$2})))},{trim:function(){return $n$2(this)}}),nn$2({global:!0,forced:P$2.globalThis!==P$2},{globalThis:P$2}),append&&($$6.fn.append=append),on$7&&($$6.fn.on=on$7),focus&&($$6.fn.focus=focus),attr&&($$6.fn.attr=attr),val&&($$6.fn.val=val),html&&($$6.fn.html=html),parent&&($$6.fn.parent=parent),hasClass&&($$6.fn.hasClass=hasClass),empty&&($$6.fn.empty=empty);var Hn$2={type:"video",elemToHtml:function(t,e){var n=t,r=n.src,o=void 0===r?"":r,i=n.poster,u=void 0===i?"":i,c=n.width,a=void 0===c?"auto":c,s=n.height,f=void 0===s?"auto":s,l=n.style,d=void 0===l?{}:l,p=n.textAlign,v='<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 ")){v+=Un$2(o,a,f,d);}else {var h=d.width,y=void 0===h?"":h,g=d.height,m=void 0===g?"":g,b="";y&&(b+="width: ".concat(y,";")),m&&(b+="height: ".concat(m,";")),v+='<video poster="'.concat(u,'" controls="true" width="').concat(a,'" height="').concat(f,'" style="').concat(b,'"><source src="').concat(o,'" type="video/mp4"/></video>');}return v+="\n</div>"}},Wn$2=function(t,e,n){return n.get&&xe$2(n.get,e,{getter:!0}),n.set&&xe$2(n.set,e,{setter:!0}),ne$2.f(t,e,n)},Gn$2=ce$2.EXISTS,Kn$2=Function.prototype,Xn$2=F$2(Kn$2.toString),Yn$2=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,qn$2=F$2(Yn$2.exec);T$2&&!Gn$2&&Wn$2(Kn$2,"name",{configurable:!0,get:function(){try{return qn$2(Yn$2,Xn$2(this))[1]}catch(t){return ""}}});var Jn$2,Qn$2=function(t){if("Function"===B$2(t))return F$2(t)},Zn$2=Qn$2(Qn$2.bind),tr$1=function(t,e){return gt$2(t),void 0===e?t:M$2?Zn$2(t,e):function(){return t.apply(e,arguments)}},er$1=F$2([].push),nr$1=function(t){var e=1===t,n=2===t,r=3===t,o=4===t,i=6===t,u=7===t,c=5===t||i;return function(a,s,f,l){for(var d,p,v=It$2(a),h=W$2(v),y=Le$2(h),g=tr$1(s,f),m=0,b=l||xn$2,w=e?b(a,y):n||u?b(a,0):void 0;y>m;m++)if((c||m in h)&&(p=g(d=h[m],m,v),t))if(e)w[m]=p;else if(p)switch(t){case 3:return !0;case 5:return d;case 6:return m;case 2:er$1(w,d);}else switch(t){case 4:return !1;case 7:er$1(w,d);}return i?-1:r||o?o:w}},rr$1={forEach:nr$1(0),map:nr$1(1),filter:nr$1(2),some:nr$1(3),every:nr$1(4),find:nr$1(5),findIndex:nr$1(6),filterReject:nr$1(7)},or$1=Object.keys||function(t){return _e$2(t,$e$2)},ir$1=T$2&&!Gt$2?Object.defineProperties:function(t,e){Yt$2(t);for(var n,r=Y$2(e),o=or$1(e),i=o.length,u=0;i>u;)ne$2.f(t,n=o[u++],r[n]);return t},ur$1={f:ir$1},cr$1=Z$2("document","documentElement"),ar$1="prototype",sr$1="script",fr$1=ye$2("IE_PROTO"),lr$1=function(){},dr$1=function(t){return "<"+sr$1+">"+t+"</"+sr$1+">"},pr$1=function(t){t.write(dr$1("")),t.close();var e=t.parentWindow.Object;return t=null,e},vr$1=function(){try{Jn$2=new ActiveXObject("htmlfile");}catch(t){}var t,e,n;vr$1="undefined"!=typeof document?document.domain&&Jn$2?pr$1(Jn$2):(e=Bt$2("iframe"),n="java"+sr$1+":",e.style.display="none",cr$1.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(dr$1("document.F=Object")),t.close(),t.F):pr$1(Jn$2);for(var r=$e$2.length;r--;)delete vr$1[ar$1][$e$2[r]];return vr$1()};ge$2[fr$1]=!0;var hr$1=Object.create||function(t,e){var n;return null!==t?(lr$1[ar$1]=Yt$2(t),n=new lr$1,lr$1[ar$1]=null,n[fr$1]=t):n=vr$1(),void 0===e?n:ur$1.f(n,e)},yr$1=ne$2.f,gr$1=Lt$2("unscopables"),mr$1=Array.prototype;void 0===mr$1[gr$1]&&yr$1(mr$1,gr$1,{configurable:!0,value:hr$1(null)});var br$1=function(t){mr$1[gr$1][t]=!0;},wr$1=rr$1.find,Sr$1="find",Or$1=!0;Sr$1 in[]&&Array(1)[Sr$1]((function(){Or$1=!1;})),nn$2({target:"Array",proto:!0,forced:Or$1},{find:function(t){return wr$1(this,t,arguments.length>1?arguments[1]:void 0)}}),br$1(Sr$1);var Er$1=sn$2?{}.toString:function(){return "[object "+pn$2(this)+"]"};sn$2||Ie$2(Object.prototype,"toString",Er$1,{unsafe:!0});var xr$1,Ir$1,Pr$1=function(){var t=Yt$2(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},jr$1=P$2.RegExp,Tr$1=j$2((function(){var t=jr$1("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),Mr$1=Tr$1||j$2((function(){return !jr$1("a","y").sticky})),Ar$1={BROKEN_CARET:Tr$1||j$2((function(){var t=jr$1("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:Mr$1,UNSUPPORTED_Y:Tr$1},Nr$1=P$2.RegExp,Rr$1=j$2((function(){var t=Nr$1(".","s");return !(t.dotAll&&t.test("\n")&&"s"===t.flags)})),Cr$1=P$2.RegExp,kr$1=j$2((function(){var t=Cr$1("(?<a>b)","g");return "b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Lr$1=Ee$2.get,Vr$1=Et$2("native-string-replace",String.prototype.replace),zr$1=RegExp.prototype.exec,Dr$1=zr$1,Fr$1=F$2("".charAt),_r$1=F$2("".indexOf),$r$1=F$2("".replace),Br$1=F$2("".slice),Ur$1=(Ir$1=/b*/g,N$2(zr$1,xr$1=/a/,"a"),N$2(zr$1,Ir$1,"a"),0!==xr$1.lastIndex||0!==Ir$1.lastIndex),Hr$1=Ar$1.BROKEN_CARET,Wr$1=void 0!==/()??/.exec("")[1];(Ur$1||Wr$1||Hr$1||Rr$1||kr$1)&&(Dr$1=function(t){var e,n,r,o,i,u,c,a=this,s=Lr$1(a),f=Cn$2(t),l=s.raw;if(l)return l.lastIndex=a.lastIndex,e=N$2(Dr$1,l,f),a.lastIndex=l.lastIndex,e;var d=s.groups,p=Hr$1&&a.sticky,v=N$2(Pr$1,a),h=a.source,y=0,g=f;if(p&&(v=$r$1(v,"y",""),-1===_r$1(v,"g")&&(v+="g"),g=Br$1(f,a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==Fr$1(f,a.lastIndex-1))&&(h="(?: "+h+")",g=" "+g,y++),n=new RegExp("^(?:"+h+")",v)),Wr$1&&(n=new RegExp("^"+h+"$(?!\\s)",v)),Ur$1&&(r=a.lastIndex),o=N$2(zr$1,p?n:a,g),p?o?(o.input=Br$1(o.input,y),o[0]=Br$1(o[0],y),o.index=a.lastIndex,a.lastIndex+=o[0].length):a.lastIndex=0:Ur$1&&o&&(a.lastIndex=a.global?o.index+o[0].length:r),Wr$1&&o&&o.length>1&&N$2(Vr$1,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0);})),o&&d)for(o.groups=u=hr$1(null),i=0;i<d.length;i++)u[(c=d[i])[0]]=o[c[1]];return o});var Gr$1=Dr$1;nn$2({target:"RegExp",proto:!0,forced:/./.exec!==Gr$1},{exec:Gr$1});var Kr$1=function(){return Kr$1=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Kr$1.apply(this,arguments)};function Xr$1(t,e,n,r){return new(n||(n=Promise))((function(o,i){function u(t){try{a(r.next(t));}catch(t){i(t);}}function c(t){try{a(r.throw(t));}catch(t){i(t);}}function a(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e);}))).then(u,c);}a((r=r.apply(t,e||[])).next());}))}function Yr$1(t,e){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(c){return function(a){return function(c){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,c[0]&&(u=0)),u;)try{if(n=1,r&&(o=2&c[0]?r.return:c[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,c[1])).done)return o;switch(r=0,o&&(c=[2&c[0],o.value]),c[0]){case 0:case 1:o=c;break;case 4:return u.label++,{value:c[1],done:!1};case 5:u.label++,r=c[1],c=[0];continue;case 7:c=u.ops.pop(),u.trys.pop();continue;default:if(!(o=u.trys,(o=o.length>0&&o[o.length-1])||6!==c[0]&&2!==c[0])){u=0;continue}if(3===c[0]&&(!o||c[1]>o[0]&&c[1]<o[3])){u.label=c[1];break}if(6===c[0]&&u.label<o[1]){u.label=o[1],o=c;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(c);break}o[2]&&u.ops.pop(),u.trys.pop();continue}c=e.call(t,u);}catch(t){c=[6,t],r=0;}finally{n=o=0;}if(5&c[0])throw c[1];return {value:c[0]?c[1]:void 0,done:!0}}([c,a])}}}function qr$1(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return {next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Jr$1(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value);}catch(t){o={error:t};}finally{try{r&&!r.done&&(n=i.return)&&n.call(i);}finally{if(o)throw o.error}}return u}function Qr$1(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=qr$1(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,o){(function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n});}),e);})(r,o,(e=t[n](e)).done,e.value);}))};}}"function"==typeof SuppressedError&&SuppressedError;var Zr$1=Function.prototype,to$1=Zr$1.apply,eo$1=Zr$1.call,no$1="object"==typeof Reflect&&Reflect.apply||(M$2?eo$1.bind(to$1):function(){return eo$1.apply(to$1,arguments)}),ro$1=Lt$2("species"),oo$1=RegExp.prototype,io$1=F$2("".charAt),uo$1=F$2("".charCodeAt),co$1=F$2("".slice),ao$1=function(t){return function(e,n){var r,o,i=Cn$2(X$2(e)),u=Me$2(n),c=i.length;return u<0||u>=c?t?"":void 0:(r=uo$1(i,u))<55296||r>56319||u+1===c||(o=uo$1(i,u+1))<56320||o>57343?t?io$1(i,u):r:t?co$1(i,u,u+2):o-56320+(r-55296<<10)+65536}},so$1={codeAt:ao$1(!1),charAt:ao$1(!0)},fo$1=so$1.charAt,lo$1=function(t,e,n){return e+(n?fo$1(t,e).length:1)},po$1=Math.floor,vo$1=F$2("".charAt),ho$1=F$2("".replace),yo$1=F$2("".slice),go$1=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,mo$1=/\$([$&'`]|\d{1,2})/g,bo$1=function(t,e,n,r,o,i){var u=n+t.length,c=r.length,a=mo$1;return void 0!==o&&(o=It$2(o),a=go$1),ho$1(i,a,(function(i,a){var s;switch(vo$1(a,0)){case"$":return "$";case"&":return t;case"`":return yo$1(e,0,n);case"'":return yo$1(e,u);case"<":s=o[yo$1(a,1,-1)];break;default:var f=+a;if(0===f)return i;if(f>c){var l=po$1(f/10);return 0===l?i:l<=c?void 0===r[l-1]?vo$1(a,1):r[l-1]+vo$1(a,1):i}s=r[f-1];}return void 0===s?"":s}))},wo$1=TypeError,So$1=function(t,e){var n=t.exec;if(J$2(n)){var r=N$2(n,t,e);return null!==r&&Yt$2(r),r}if("RegExp"===B$2(t))return N$2(Gr$1,t,e);throw new wo$1("RegExp#exec called on incompatible receiver")},Oo$1=Lt$2("replace"),Eo$1=Math.max,xo$1=Math.min,Io$1=F$2([].concat),Po$1=F$2([].push),jo$1=F$2("".indexOf),To$1=F$2("".slice),Mo$1="$0"==="a".replace(/./,"$0"),Ao$1=!!/./[Oo$1]&&""===/./[Oo$1]("a","$0");!function(t,e,n,r){var o=Lt$2(t),i=!j$2((function(){var e={};return e[o]=function(){return 7},7!==""[t](e)})),u=i&&!j$2((function(){var e=!1,n=/a/;return "split"===t&&((n={}).constructor={},n.constructor[ro$1]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return e=!0,null},n[o](""),!e}));if(!i||!u||n){var c=/./[o],a=e(o,""[t],(function(t,e,n,r,o){var u=e.exec;return u===Gr$1||u===oo$1.exec?i&&!o?{done:!0,value:N$2(c,e,n,r)}:{done:!0,value:N$2(t,n,e,r)}:{done:!1}}));Ie$2(String.prototype,t,a[0]),Ie$2(oo$1,o,a[1]);}r&&re$2(oo$1[o],"sham",!0);}("replace",(function(t,e,n){var r=Ao$1?"$":"$0";return [function(t,n){var r=X$2(this),o=G$2(t)?void 0:mt$2(t,Oo$1);return o?N$2(o,t,r,n):N$2(e,Cn$2(r),t,n)},function(t,o){var i=Yt$2(this),u=Cn$2(t);if("string"==typeof o&&-1===jo$1(o,r)&&-1===jo$1(o,"$<")){var c=n(e,i,u,o);if(c.done)return c.value}var a=J$2(o);a||(o=Cn$2(o));var s,f=i.global;f&&(s=i.unicode,i.lastIndex=0);for(var l,d=[];null!==(l=So$1(i,u))&&(Po$1(d,l),f);){""===Cn$2(l[0])&&(i.lastIndex=lo$1(u,ke$2(i.lastIndex),s));}for(var p,v="",h=0,y=0;y<d.length;y++){for(var g,m=Cn$2((l=d[y])[0]),b=Eo$1(xo$1(Me$2(l.index),u.length),0),w=[],S=1;S<l.length;S++)Po$1(w,void 0===(p=l[S])?p:String(p));var O=l.groups;if(a){var E=Io$1([m],w,b,u);void 0!==O&&Po$1(E,O),g=Cn$2(no$1(o,void 0,E));}else g=bo$1(m,u,b,w,O,o);b>=h&&(v+=To$1(u,h,b)+g,h=b+m.length);}return v+To$1(u,h)}]}),!!j$2((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!Mo$1||Ao$1);var No$1={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},Ro$1=Bt$2("span").classList,Co$1=Ro$1&&Ro$1.constructor&&Ro$1.constructor.prototype,ko$1=Co$1===Object.prototype?void 0:Co$1,Lo$1=function(t,e){var n=[][t];return !!n&&j$2((function(){n.call(null,e||function(){return 1},1);}))},Vo$1=rr$1.forEach,zo$1=Lo$1("forEach")?[].forEach:function(t){return Vo$1(this,t,arguments.length>1?arguments[1]:void 0)},Do$1=function(t){if(t&&t.forEach!==zo$1)try{re$2(t,"forEach",zo$1);}catch(e){t.forEach=zo$1;}};for(var Fo$1 in No$1)No$1[Fo$1]&&Do$1(P$2[Fo$1]&&P$2[Fo$1].prototype);function _o$1(t){return void 0===t&&(t="r"),"".concat(t,"-").concat(nanoid$3())}function $o$1(t){var e={};return t.trim().split(";").forEach((function(t){if(t){var n=Jr$1(t.split(":"),2),r=n[0],o=n[1];r&&o&&(e[r.trim()]=o.trim());}})),e}function Bo$1(){return _o$1("w-e-insert-video")}Do$1(ko$1);var Uo$1=function(){function t(){this.title=Up$1("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=Bo$1(),this.heightInputId=Bo$1(),this.buttonId=Bo$1();}return t.prototype.getSelectedVideoNode=function(t){return $u$3.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 i=this,c=i.widthInputId,a=i.heightInputId,s=i.buttonId,f=Jr$1(Vh$1(Up$1("videoModule.width"),c,"auto"),2),l=f[0],d=f[1],p=$$6(d),v=Jr$1(Vh$1(Up$1("videoModule.height"),a,"auto"),2),h=v[0],g=v[1],m=$$6(g),b=Jr$1(Hh$1(s,Up$1("videoModule.ok")),1)[0],w=this.getSelectedVideoNode(t);if(null==this.$content){var S=$$6("<div></div>");S.on("click","#".concat(s),(function(e){e.preventDefault();var r=S.find("#".concat(c)).val().trim(),o=S.find("#".concat(a)).val().trim(),i=function(t){return /^\d+(\.\d+)?%$/.test(t)},u=function(t){return /^\d+(\.\d+)?$/.test(t)},s="auto",f="auto";i(r)?s=r:u(r)&&(s="".concat(parseInt(r,10),"px")),i(o)?f=o:u(o)&&(f="".concat(parseInt(o,10),"px"));var l=w.style,d=void 0===l?{}:l;t.restoreSelection();var p={style:Kr$1(Kr$1({},d),{width:s,height:f})};Transforms.setNodes(t,p,{match:function(t){return $u$3.checkNodeType(t,"video")}}),t.hidePanelOrModal();})),this.$content=S;}var O=this.$content;if(O.empty(),O.append(l),O.append(h),O.append(b),null==w)return O[0];var E=w.style,x=void 0===E?{}:E,I=x.width,P=void 0===I?"":I,j=x.height,T=void 0===j?"":j;return p.val(P),m.val(T),setTimeout((function(){p.focus();})),O[0]},t}();function Ho$1(){return _o$1("w-e-edit-video")}var Wo$1,Go$1,Ko$1,Xo$1,Yo$1=function(){function t(){this.title=Up$1("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=Ho$1(),this.posterInputId=Ho$1(),this.buttonId=Ho$1();}return t.prototype.getSelectedVideoNode=function(t){return $u$3.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 i=this,c=this,a=c.srcInputId,s=c.posterInputId,f=c.buttonId,l=Jr$1(Vh$1(Up$1("videoModule.videoSrc"),a,Up$1("videoModule.videoSrcPlaceHolder")),2),d=l[0],p=l[1],v=Jr$1(Vh$1(Up$1("videoModule.videoPoster"),s,Up$1("videoModule.videoPosterPlaceHolder")),2),h=v[0],g=v[1],m=$$6(p),b=$$6(g),w=Jr$1(Hh$1(f,Up$1("videoModule.ok")),1)[0];if(null==this.$content){var S=$$6("<div></div>");S.on("click","#".concat(f),(function(e){return Xr$1(i,void 0,void 0,(function(){var r,o,i,u;return Yr$1(this,(function(c){return e.preventDefault(),r=S.find("#".concat(a)).val().trim(),o=S.find("#".concat(s)).val().trim(),i=_o$1("video-"),u={src:r,poster:o,key:i},t.restoreSelection(),Transforms.setNodes(t,u,{match:function(t){return $u$3.checkNodeType(t,"video")}}),t.hidePanelOrModal(),[2]}))}))})),this.$content=S;}var O=this.$content;O.empty(),O.append(d),O.append(h),O.append(w);var E=this.getSelectedVideoNode(t);if(null==E)return O[0];var x=E.src,I=void 0===x?"":x,P=E.poster,j=void 0===P?"":P;return m.val(I),b.val(j),setTimeout((function(){m.focus();})),O[0]},t}(),qo$1=function(t){return rt$2.slice(0,t.length)===t},Jo$1=qo$1("Bun/")?"BUN":qo$1("Cloudflare-Workers")?"CLOUDFLARE":qo$1("Deno/")?"DENO":qo$1("Node.js/")?"NODE":P$2.Bun&&"string"==typeof Bun.version?"BUN":P$2.Deno&&"object"==typeof Deno.version?"DENO":"process"===B$2(P$2.process)?"NODE":P$2.window&&P$2.document?"BROWSER":"REST",Qo$1="NODE"===Jo$1,Zo$1=String,ti$1=TypeError,ei$1=function(t){if(function(t){return Q$2(t)||null===t}(t))return t;throw new ti$1("Can't set "+Zo$1(t)+" as a prototype")},ni$1=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=function(t,e,n){try{return F$2(gt$2(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}(Object.prototype,"__proto__","set"),t(n,[]),e=n instanceof Array;}catch(t){}return function(n,r){return X$2(n),ei$1(r),Q$2(n)?(e?t(n,r):n.__proto__=r,n):n}}():void 0),ri$1=ne$2.f,oi$1=Lt$2("toStringTag"),ii$1=function(t,e,n){t&&!n&&(t=t.prototype),t&&!jt$2(t,oi$1)&&ri$1(t,oi$1,{configurable:!0,value:e});},ui$1=Lt$2("species"),ci$1=TypeError,ai$1=function(t,e){if(tt$2(e,t))return t;throw new ci$1("Incorrect invocation")},si$1=TypeError,fi$1=Lt$2("species"),li$1=function(t,e){var n,r=Yt$2(t).constructor;return void 0===r||G$2(n=Yt$2(r)[fi$1])?e:function(t){if(Sn$2(t))return t;throw new si$1(ht$2(t)+" is not a constructor")}(n)},di$1=F$2([].slice),pi$1=TypeError,vi$1=/(?:ipad|iphone|ipod).*applewebkit/i.test(rt$2),hi$1=P$2.setImmediate,yi$1=P$2.clearImmediate,gi$1=P$2.process,mi$1=P$2.Dispatch,bi$1=P$2.Function,wi$1=P$2.MessageChannel,Si$1=P$2.String,Oi$1=0,Ei$1={},xi$1="onreadystatechange";j$2((function(){Wo$1=P$2.location;}));var Ii$1=function(t){if(jt$2(Ei$1,t)){var e=Ei$1[t];delete Ei$1[t],e();}},Pi$1=function(t){return function(){Ii$1(t);}},ji$1=function(t){Ii$1(t.data);},Ti$1=function(t){P$2.postMessage(Si$1(t),Wo$1.protocol+"//"+Wo$1.host);};hi$1&&yi$1||(hi$1=function(t){!function(t,e){if(t<e)throw new pi$1("Not enough arguments")}(arguments.length,1);var e=J$2(t)?t:bi$1(t),n=di$1(arguments,1);return Ei$1[++Oi$1]=function(){no$1(e,void 0,n);},Go$1(Oi$1),Oi$1},yi$1=function(t){delete Ei$1[t];},Qo$1?Go$1=function(t){gi$1.nextTick(Pi$1(t));}:mi$1&&mi$1.now?Go$1=function(t){mi$1.now(Pi$1(t));}:wi$1&&!vi$1?(Xo$1=(Ko$1=new wi$1).port2,Ko$1.port1.onmessage=ji$1,Go$1=tr$1(Xo$1.postMessage,Xo$1)):P$2.addEventListener&&J$2(P$2.postMessage)&&!P$2.importScripts&&Wo$1&&"file:"!==Wo$1.protocol&&!j$2(Ti$1)?(Go$1=Ti$1,P$2.addEventListener("message",ji$1,!1)):Go$1=xi$1 in Bt$2("script")?function(t){cr$1.appendChild(Bt$2("script"))[xi$1]=function(){cr$1.removeChild(this),Ii$1(t);};}:function(t){setTimeout(Pi$1(t),0);});var Mi$1={set:hi$1,clear:yi$1},Ai$1=Object.getOwnPropertyDescriptor,Ni$1=function(){this.head=null,this.tail=null;};Ni$1.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.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}};var Ri$1,Ci$1,ki$1,Li$1,Vi$1,zi$1=Ni$1,Di$1=/ipad|iphone|ipod/i.test(rt$2)&&"undefined"!=typeof Pebble,Fi$1=/web0s(?!.*chrome)/i.test(rt$2),_i$1=Mi$1.set,$i$1=P$2.MutationObserver||P$2.WebKitMutationObserver,Bi$1=P$2.document,Ui$1=P$2.process,Hi$1=P$2.Promise,Wi$1=function(t){if(!T$2)return P$2[t];var e=Ai$1(P$2,t);return e&&e.value}("queueMicrotask");if(!Wi$1){var Gi$1=new zi$1,Ki$1=function(){var t,e;for(Qo$1&&(t=Ui$1.domain)&&t.exit();e=Gi$1.get();)try{e();}catch(t){throw Gi$1.head&&Ri$1(),t}t&&t.enter();};vi$1||Qo$1||Fi$1||!$i$1||!Bi$1?!Di$1&&Hi$1&&Hi$1.resolve?((Li$1=Hi$1.resolve(void 0)).constructor=Hi$1,Vi$1=tr$1(Li$1.then,Li$1),Ri$1=function(){Vi$1(Ki$1);}):Qo$1?Ri$1=function(){Ui$1.nextTick(Ki$1);}:(_i$1=tr$1(_i$1,P$2),Ri$1=function(){_i$1(Ki$1);}):(Ci$1=!0,ki$1=Bi$1.createTextNode(""),new $i$1(Ki$1).observe(ki$1,{characterData:!0}),Ri$1=function(){ki$1.data=Ci$1=!Ci$1;}),Wi$1=function(t){Gi$1.head||Ri$1(),Gi$1.add(t);};}var Xi$1=Wi$1,Yi$1=function(t){try{return {error:!1,value:t()}}catch(t){return {error:!0,value:t}}},qi$1=P$2.Promise;qi$1&&qi$1.prototype;var Ji$1,Qi$1,Zi$1,tu$1,eu$1=Lt$2("species"),nu$1=!1,ru$1=J$2(P$2.PromiseRejectionEvent),ou$1=tn$2("Promise",(function(){var t=de$2(qi$1),e=t!==String(qi$1);if(!e&&66===at$2)return !0;if(!at$2||at$2<51||!/native code/.test(t)){var n=new qi$1((function(t){t(1);})),r=function(t){t((function(){}),(function(){}));};if((n.constructor={})[eu$1]=r,!(nu$1=n.then((function(){}))instanceof r))return !0}return !(e||"BROWSER"!==Jo$1&&"DENO"!==Jo$1||ru$1)})),iu$1={CONSTRUCTOR:ou$1,REJECTION_EVENT:ru$1,SUBCLASSING:nu$1},uu$1=TypeError,cu$1=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw new uu$1("Bad Promise constructor");e=t,n=r;})),this.resolve=gt$2(e),this.reject=gt$2(n);},au$1={f:function(t){return new cu$1(t)}},su$1=Mi$1.set,fu$1="Promise",lu$1=iu$1.CONSTRUCTOR,du$1=iu$1.REJECTION_EVENT,pu$1=iu$1.SUBCLASSING,vu$1=Ee$2.getterFor(fu$1),hu$1=Ee$2.set,yu$1=qi$1&&qi$1.prototype,gu$1=qi$1,mu$1=yu$1,bu$1=P$2.TypeError,wu$1=P$2.document,Su$1=P$2.process,Ou$1=au$1.f,Eu$1=Ou$1,xu$1=!!(wu$1&&wu$1.createEvent&&P$2.dispatchEvent),Iu$1="unhandledrejection",Pu$1=function(t){var e;return !(!Q$2(t)||!J$2(e=t.then))&&e},ju$1=function(t,e){var n,r,o,i=e.value,u=1===e.state,c=u?t.ok:t.fail,a=t.resolve,s=t.reject,f=t.domain;try{c?(u||(2===e.rejection&&Ru$1(e),e.rejection=1),!0===c?n=i:(f&&f.enter(),n=c(i),f&&(f.exit(),o=!0)),n===t.promise?s(new bu$1("Promise-chain cycle")):(r=Pu$1(n))?N$2(r,n,a,s):a(n)):s(i);}catch(t){f&&!o&&f.exit(),s(t);}},Tu$1=function(t,e){t.notified||(t.notified=!0,Xi$1((function(){for(var n,r=t.reactions;n=r.get();)ju$1(n,t);t.notified=!1,e&&!t.rejection&&Au$1(t);})));},Mu$1=function(t,e,n){var r,o;xu$1?((r=wu$1.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),P$2.dispatchEvent(r)):r={promise:e,reason:n},!du$1&&(o=P$2["on"+t])?o(r):t===Iu$1&&function(t,e){try{1===arguments.length?console.error(t):console.error(t,e);}catch(t){}}("Unhandled promise rejection",n);},Au$1=function(t){N$2(su$1,P$2,(function(){var e,n=t.facade,r=t.value;if(Nu$1(t)&&(e=Yi$1((function(){Qo$1?Su$1.emit("unhandledRejection",r,n):Mu$1(Iu$1,n,r);})),t.rejection=Qo$1||Nu$1(t)?2:1,e.error))throw e.value}));},Nu$1=function(t){return 1!==t.rejection&&!t.parent},Ru$1=function(t){N$2(su$1,P$2,(function(){var e=t.facade;Qo$1?Su$1.emit("rejectionHandled",e):Mu$1("rejectionhandled",e,t.value);}));},Cu$1=function(t,e,n){return function(r){t(e,r,n);}},ku$1=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,Tu$1(t,!0));},Lu$1=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw new bu$1("Promise can't be resolved itself");var r=Pu$1(e);r?Xi$1((function(){var n={done:!1};try{N$2(r,e,Cu$1(Lu$1,n,t),Cu$1(ku$1,n,t));}catch(e){ku$1(n,e,t);}})):(t.value=e,t.state=1,Tu$1(t,!1));}catch(e){ku$1({done:!1},e,t);}}};if(lu$1&&(mu$1=(gu$1=function(t){ai$1(this,mu$1),gt$2(t),N$2(Ji$1,this);var e=vu$1(this);try{t(Cu$1(Lu$1,e),Cu$1(ku$1,e));}catch(t){ku$1(e,t);}}).prototype,(Ji$1=function(t){hu$1(this,{type:fu$1,done:!1,notified:!1,parent:!1,reactions:new zi$1,rejection:!1,state:0,value:null});}).prototype=Ie$2(mu$1,"then",(function(t,e){var n=vu$1(this),r=Ou$1(li$1(this,gu$1));return n.parent=!0,r.ok=!J$2(t)||t,r.fail=J$2(e)&&e,r.domain=Qo$1?Su$1.domain:void 0,0===n.state?n.reactions.add(r):Xi$1((function(){ju$1(r,n);})),r.promise})),Qi$1=function(){var t=new Ji$1,e=vu$1(t);this.promise=t,this.resolve=Cu$1(Lu$1,e),this.reject=Cu$1(ku$1,e);},au$1.f=Ou$1=function(t){return t===gu$1||undefined===t?new Qi$1(t):Eu$1(t)},J$2(qi$1)&&yu$1!==Object.prototype)){Zi$1=yu$1.then,pu$1||Ie$2(yu$1,"then",(function(t,e){var n=this;return new gu$1((function(t,e){N$2(Zi$1,n,t,e);})).then(t,e)}),{unsafe:!0});try{delete yu$1.constructor;}catch(t){}ni$1&&ni$1(yu$1,mu$1);}nn$2({global:!0,constructor:!0,wrap:!0,forced:lu$1},{Promise:gu$1}),ii$1(gu$1,fu$1,!1),tu$1=Z$2(fu$1),T$2&&tu$1&&!tu$1[ui$1]&&Wn$2(tu$1,ui$1,{configurable:!0,get:function(){return this}});var Vu$1={},zu$1=Lt$2("iterator"),Du$1=Array.prototype,Fu$1=Lt$2("iterator"),_u$1=function(t){if(!G$2(t))return mt$2(t,Fu$1)||mt$2(t,"@@iterator")||Vu$1[pn$2(t)]},$u$1=TypeError,Bu$1=function(t,e,n){var r,o;Yt$2(t);try{if(!(r=mt$2(t,"return"))){if("throw"===e)throw n;return n}r=N$2(r,t);}catch(t){o=!0,r=t;}if("throw"===e)throw n;if(o)throw r;return Yt$2(r),n},Uu$1=TypeError,Hu$1=function(t,e){this.stopped=t,this.result=e;},Wu$1=Hu$1.prototype,Gu$1=function(t,e,n){var r,o,i,u,c,a,s,f,l=n&&n.that,d=!(!n||!n.AS_ENTRIES),p=!(!n||!n.IS_RECORD),v=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),y=tr$1(e,l),g=function(t){return r&&Bu$1(r,"normal",t),new Hu$1(!0,t)},m=function(t){return d?(Yt$2(t),h?y(t[0],t[1],g):y(t[0],t[1])):h?y(t,g):y(t)};if(p)r=t.iterator;else if(v)r=t;else {if(!(o=_u$1(t)))throw new Uu$1(ht$2(t)+" is not iterable");if(void 0!==(f=o)&&(Vu$1.Array===f||Du$1[zu$1]===f)){for(i=0,u=Le$2(t);u>i;i++)if((c=m(t[i]))&&tt$2(Wu$1,c))return c;return new Hu$1(!1)}r=function(t,e){var n=arguments.length<2?_u$1(t):e;if(gt$2(n))return Yt$2(N$2(n,t));throw new $u$1(ht$2(t)+" is not iterable")}(t,o);}for(a=p?t.next:r.next;!(s=N$2(a,r)).done;){try{c=m(s.value);}catch(t){Bu$1(r,"throw",t);}if("object"==typeof c&&c&&tt$2(Wu$1,c))return c}return new Hu$1(!1)},Ku$1=Lt$2("iterator"),Xu$1=!1;try{var Yu$1=0,qu$1={next:function(){return {done:!!Yu$1++}},return:function(){Xu$1=!0;}};qu$1[Ku$1]=function(){return this},Array.from(qu$1,(function(){throw 2}));}catch(t){}var Ju$1=function(t,e){try{if(!e&&!Xu$1)return !1}catch(t){return !1}var n=!1;try{var r={};r[Ku$1]=function(){return {next:function(){return {done:n=!0}}}},t(r);}catch(t){}return n},Qu$1=iu$1.CONSTRUCTOR||!Ju$1((function(t){qi$1.all(t).then(void 0,(function(){}));}));nn$2({target:"Promise",stat:!0,forced:Qu$1},{all:function(t){var e=this,n=au$1.f(e),r=n.resolve,o=n.reject,i=Yi$1((function(){var n=gt$2(e.resolve),i=[],u=0,c=1;Gu$1(t,(function(t){var a=u++,s=!1;c++,N$2(n,e,t).then((function(t){s||(s=!0,i[a]=t,--c||r(i));}),o);})),--c||r(i);}));return i.error&&o(i.value),n.promise}});var Zu$1=iu$1.CONSTRUCTOR,tc=qi$1&&qi$1.prototype;if(nn$2({target:"Promise",proto:!0,forced:Zu$1,real:!0},{catch:function(t){return this.then(void 0,t)}}),J$2(qi$1)){var ec=Z$2("Promise").prototype.catch;tc.catch!==ec&&Ie$2(tc,"catch",ec,{unsafe:!0});}nn$2({target:"Promise",stat:!0,forced:Qu$1},{race:function(t){var e=this,n=au$1.f(e),r=n.reject,o=Yi$1((function(){var o=gt$2(e.resolve);Gu$1(t,(function(t){N$2(o,e,t).then(n.resolve,r);}));}));return o.error&&r(o.value),n.promise}}),nn$2({target:"Promise",stat:!0,forced:iu$1.CONSTRUCTOR},{reject:function(t){var e=au$1.f(this);return (0, e.reject)(t),e.promise}});var nc=iu$1.CONSTRUCTOR;function rc(t,e,r,o,i){return void 0===r&&(r=""),void 0===o&&(o=""),void 0===i&&(i=""),Xr$1(this,void 0,void 0,(function(){var u,c,a,s,f,l,d;return Yr$1(this,(function(p){switch(p.label){case 0:return e?(t.restoreSelection(),u=t.getMenuConfig("insertVideo"),c=u.onInsertedVideo,a=u.checkVideo,s=u.parseVideoSrc,[4,a(e,r)]):[2];case 1:return "string"==typeof(f=p.sent())?(t.alert(f,"error"),[2]):null==f?[2]:[4,s(e)];case 2:return 0!==(l=p.sent()).trim().indexOf("<iframe ")&&(l=l.replace(/</g,"&lt;").replace(/>/g,"&gt;")),d={type:"video",src:l,poster:r,children:[{text:""}],style:{width:o,height:i}},Promise.resolve().then((function(){$u$3.isSelectedEmptyParagraph(t)&&Transforms.removeNodes(t,{mode:"highest"}),Transforms.insertNodes(t,d,{mode:"highest"});})),c(d),[2]}}))}))}function oc(){return _o$1("w-e-insert-video")}Z$2("Promise"),nn$2({target:"Promise",stat:!0,forced:nc},{resolve:function(t){return function(t,e){if(Yt$2(t),Q$2(e)&&e.constructor===t)return e;var n=au$1.f(t);return (0, n.resolve)(e),n.promise}(this,t)}});var ic=function(){function t(){this.title=Up$1("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=oc(),this.posterInputId=oc(),this.buttonId=oc();}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||(!Range.isCollapsed(e)||!!$u$3.getSelectedElems(t).some((function(e){var r=$u$3.getNodeType(e);return "pre"===r||("list-item"===r||!!t.isVoid(e))})))},t.prototype.getModalPositionNode=function(t){return null},t.prototype.getModalContentElem=function(t){var n=this,i=this,c=i.srcInputId,a=i.posterInputId,s=i.buttonId,f=Jr$1(Vh$1(Up$1("videoModule.videoSrc"),c,Up$1("videoModule.videoSrcPlaceHolder")),2),l=f[0],d=f[1],p=Jr$1(Vh$1(Up$1("videoModule.videoPoster"),a,Up$1("videoModule.videoPosterPlaceHolder")),2),v=p[0],h=p[1],y=$$6(d),g=$$6(h),m=Jr$1(Hh$1(s,Up$1("videoModule.ok")),1)[0];if(null==this.$content){var b=$$6("<div></div>");b.on("click","#".concat(s),(function(e){return Xr$1(n,void 0,void 0,(function(){var n,r;return Yr$1(this,(function(o){switch(o.label){case 0:return e.preventDefault(),n=b.find("#".concat(c)).val().trim(),r=b.find("#".concat(a)).val().trim(),[4,rc(t,n,r)];case 1:return o.sent(),t.hidePanelOrModal(),[2]}}))}))})),this.$content=b;}var w=this.$content;return w.empty(),w.append(l),w.append(v),w.append(m),y.val(""),g.val(""),setTimeout((function(){y.focus();})),w[0]},t}(),uc=F$2([].join),cc=W$2!==Object||!Lo$1("join",",");nn$2({target:"Array",proto:!0,forced:cc},{join:function(t){return uc(Y$2(this),void 0===t?",":t)}});var ac,sc,fc,lc=!j$2((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),dc=ye$2("IE_PROTO"),pc=Object,vc=pc.prototype,hc=lc?pc.getPrototypeOf:function(t){var e=It$2(t);if(jt$2(e,dc))return e[dc];var n=e.constructor;return J$2(n)&&e instanceof n?n.prototype:e instanceof pc?vc:null},yc=Lt$2("iterator"),gc=!1;[].keys&&("next"in(fc=[].keys())?(sc=hc(hc(fc)))!==Object.prototype&&(ac=sc):gc=!0);var mc=!Q$2(ac)||j$2((function(){var t={};return ac[yc].call(t)!==t}));mc&&(ac={}),J$2(ac[yc])||Ie$2(ac,yc,(function(){return this}));var bc={IteratorPrototype:ac,BUGGY_SAFARI_ITERATORS:gc},wc=bc.IteratorPrototype,Sc=function(){return this},Oc=ce$2.PROPER,Ec=ce$2.CONFIGURABLE,xc=bc.IteratorPrototype,Ic=bc.BUGGY_SAFARI_ITERATORS,Pc=Lt$2("iterator"),jc="keys",Tc="values",Mc="entries",Ac=function(){return this},Nc=function(t,e,n,r,o,i,u){!function(t,e,n,r){var o=e+" Iterator";t.prototype=hr$1(wc,{next:L$2(+!r,n)}),ii$1(t,o,!1),Vu$1[o]=Sc;}(n,e,r);var c,a,s,f=function(t){if(t===o&&h)return h;if(!Ic&&t&&t in p)return p[t];switch(t){case jc:case Tc:case Mc:return function(){return new n(this,t)}}return function(){return new n(this)}},l=e+" Iterator",d=!1,p=t.prototype,v=p[Pc]||p["@@iterator"]||o&&p[o],h=!Ic&&v||f(o),y="Array"===e&&p.entries||v;if(y&&(c=hc(y.call(new t)))!==Object.prototype&&c.next&&(hc(c)!==xc&&(ni$1?ni$1(c,xc):J$2(c[Pc])||Ie$2(c,Pc,Ac)),ii$1(c,l,!0)),Oc&&o===Tc&&v&&v.name!==Tc&&(Ec?re$2(p,"name",Tc):(d=!0,h=function(){return N$2(v,this)})),o)if(a={values:f(Tc),keys:i?h:f(jc),entries:f(Mc)},u)for(s in a)(Ic||d||!(s in p))&&Ie$2(p,s,a[s]);else nn$2({target:e,proto:!0,forced:Ic||d},a);return p[Pc]!==h&&Ie$2(p,Pc,h,{name:o}),Vu$1[e]=h,a},Rc=function(t,e){return {value:t,done:e}},Cc=ne$2.f,kc="Array Iterator",Lc=Ee$2.set,Vc=Ee$2.getterFor(kc),zc=Nc(Array,"Array",(function(t,e){Lc(this,{type:kc,target:Y$2(t),index:0,kind:e});}),(function(){var t=Vc(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=null,Rc(void 0,!0);switch(t.kind){case"keys":return Rc(n,!1);case"values":return Rc(e[n],!1)}return Rc([n,e[n]],!1)}),"values"),Dc=Vu$1.Arguments=Vu$1.Array;if(br$1("keys"),br$1("values"),br$1("entries"),T$2&&"values"!==Dc.name)try{Cc(Dc,"name",{value:"values"});}catch(t){}var Fc=Pn$2("slice"),_c=Lt$2("species"),$c=Array,Bc=Math.max;nn$2({target:"Array",proto:!0,forced:!Fc},{slice:function(t,e){var n,r,o,i=Y$2(this),u=Le$2(i),c=Re$2(t,u),a=Re$2(void 0===e?u:e,u);if(rn$2(i)&&(n=i.constructor,(Sn$2(n)&&(n===$c||rn$2(n.prototype))||Q$2(n)&&null===(n=n[_c]))&&(n=void 0),n===$c||void 0===n))return di$1(i,c,a);for(r=new(void 0===n?$c:n)(Bc(a-c,0)),o=0;c<a;c++,o++)c in i&&cn$2(r,o,i[c]);return r.length=o,r}});var Uc=so$1.charAt,Hc="String Iterator",Wc=Ee$2.set,Gc=Ee$2.getterFor(Hc);Nc(String,"String",(function(t){Wc(this,{type:Hc,string:Cn$2(t),index:0});}),(function(){var t,e=Gc(this),n=e.string,r=e.index;return r>=n.length?Rc(void 0,!0):(t=Uc(n,r),e.index+=t.length,Rc(t,!1))}));var Kc=!j$2((function(){return Object.isExtensible(Object.preventExtensions({}))})),Xc=function(t,e,n){for(var r in e)Ie$2(t,r,e[r],n);return t},Yc=Ue$2.f,qc="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Jc={f:function(t){return qc&&"Window"===B$2(t)?function(t){try{return Yc(t)}catch(t){return di$1(qc)}}(t):Yc(Y$2(t))}},Qc=j$2((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8});}})),Zc=Object.isExtensible,ta$2=j$2((function(){Zc(1);}))||Qc?function(t){return !!Q$2(t)&&((!Qc||"ArrayBuffer"!==B$2(t))&&(!Zc||Zc(t)))}:Zc,ea$2=O$2((function(t){var e=ne$2.f,n=!1,r=Nt$2("meta"),o=0,i=function(t){e(t,r,{value:{objectID:"O"+o++,weakData:{}}});},u=t.exports={enable:function(){u.enable=function(){},n=!0;var t=Ue$2.f,e=F$2([].splice),o={};o[r]=1,t(o).length&&(Ue$2.f=function(n){for(var o=t(n),i=0,u=o.length;i<u;i++)if(o[i]===r){e(o,i,1);break}return o},nn$2({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Jc.f}));},fastKey:function(t,e){if(!Q$2(t))return "symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!jt$2(t,r)){if(!ta$2(t))return "F";if(!e)return "E";i(t);}return t[r].objectID},getWeakData:function(t,e){if(!jt$2(t,r)){if(!ta$2(t))return !0;if(!e)return !1;i(t);}return t[r].weakData},onFreeze:function(t){return Kc&&n&&ta$2(t)&&!jt$2(t,r)&&i(t),t}};ge$2[r]=!0;})),na$2=ea$2.getWeakData,ra$2=Ee$2.set,oa$2=Ee$2.getterFor,ia$2=rr$1.find,ua$2=rr$1.findIndex,ca$2=F$2([].splice),aa$2=0,sa$2=function(t){return t.frozen||(t.frozen=new fa$2)},fa$2=function(){this.entries=[];},la$2=function(t,e){return ia$2(t.entries,(function(t){return t[0]===e}))};fa$2.prototype={get:function(t){var e=la$2(this,t);if(e)return e[1]},has:function(t){return !!la$2(this,t)},set:function(t,e){var n=la$2(this,t);n?n[1]=e:this.entries.push([t,e]);},delete:function(t){var e=ua$2(this.entries,(function(e){return e[0]===t}));return ~e&&ca$2(this.entries,e,1),!!~e}};var da$2,pa$2={getConstructor:function(t,e,n,r){var o=t((function(t,o){ai$1(t,i),ra$2(t,{type:e,id:aa$2++,frozen:null}),G$2(o)||Gu$1(o,t[r],{that:t,AS_ENTRIES:n});})),i=o.prototype,u=oa$2(e),c=function(t,e,n){var r=u(t),o=na$2(Yt$2(e),!0);return !0===o?sa$2(r).set(e,n):o[r.id]=n,t};return Xc(i,{delete:function(t){var e=u(this);if(!Q$2(t))return !1;var n=na$2(t);return !0===n?sa$2(e).delete(t):n&&jt$2(n,e.id)&&delete n[e.id]},has:function(t){var e=u(this);if(!Q$2(t))return !1;var n=na$2(t);return !0===n?sa$2(e).has(t):n&&jt$2(n,e.id)}}),Xc(i,n?{get:function(t){var e=u(this);if(Q$2(t)){var n=na$2(t);if(!0===n)return sa$2(e).get(t);if(n)return n[e.id]}},set:function(t,e){return c(this,t,e)}}:{add:function(t){return c(this,t,!0)}}),o}},va$2=Ee$2.enforce,ha$2=Object,ya$2=Array.isArray,ga$2=ha$2.isExtensible,ma$2=ha$2.isFrozen,ba$2=ha$2.isSealed,wa$2=ha$2.freeze,Sa$2=ha$2.seal,Oa$2=!P$2.ActiveXObject&&"ActiveXObject"in P$2,Ea$2=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},xa$1=function(t,e,n){var r=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),i=r?"set":"add",u=P$2[t],c=u&&u.prototype,a=u,s={},f=function(t){var e=F$2(c[t]);Ie$2(c,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return !(o&&!Q$2(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return o&&!Q$2(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return !(o&&!Q$2(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this});};if(tn$2(t,!J$2(u)||!(o||c.forEach&&!j$2((function(){(new u).entries().next();})))))a=n.getConstructor(e,t,r,i),ea$2.enable();else if(tn$2(t,!0)){var l=new a,d=l[i](o?{}:-0,1)!==l,p=j$2((function(){l.has(1);})),v=Ju$1((function(t){new u(t);})),h=!o&&j$2((function(){for(var t=new u,e=5;e--;)t[i](e,e);return !t.has(-0)}));v||((a=e((function(t,e){ai$1(t,c);var n=function(t,e,n){var r,o;return ni$1&&J$2(r=e.constructor)&&r!==n&&Q$2(o=r.prototype)&&o!==n.prototype&&ni$1(t,o),t}(new u,t,a);return G$2(e)||Gu$1(e,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=c,c.constructor=a),(p||h)&&(f("delete"),f("has"),r&&f("get")),(h||d)&&f(i),o&&c.clear&&delete c.clear;}return s[t]=a,nn$2({global:!0,constructor:!0,forced:a!==u},s),ii$1(a,t),o||n.setStrong(a,t,r),a}("WeakMap",Ea$2,pa$2),Ia$2=xa$1.prototype,Pa$1=F$2(Ia$2.set);if(ve$2)if(Oa$2){da$2=pa$2.getConstructor(Ea$2,"WeakMap",!0),ea$2.enable();var ja$1=F$2(Ia$2.delete),Ta$2=F$2(Ia$2.has),Ma=F$2(Ia$2.get);Xc(Ia$2,{delete:function(t){if(Q$2(t)&&!ga$2(t)){var e=va$2(this);return e.frozen||(e.frozen=new da$2),ja$1(this,t)||e.frozen.delete(t)}return ja$1(this,t)},has:function(t){if(Q$2(t)&&!ga$2(t)){var e=va$2(this);return e.frozen||(e.frozen=new da$2),Ta$2(this,t)||e.frozen.has(t)}return Ta$2(this,t)},get:function(t){if(Q$2(t)&&!ga$2(t)){var e=va$2(this);return e.frozen||(e.frozen=new da$2),Ta$2(this,t)?Ma(this,t):e.frozen.get(t)}return Ma(this,t)},set:function(t,e){if(Q$2(t)&&!ga$2(t)){var n=va$2(this);n.frozen||(n.frozen=new da$2),Ta$2(this,t)?Pa$1(this,t,e):n.frozen.set(t,e);}else Pa$1(this,t,e);return this}});}else Kc&&j$2((function(){var t=wa$2([]);return Pa$1(new xa$1,t,1),!ma$2(t)}))&&Xc(Ia$2,{set:function(t,e){var n;return ya$2(t)&&(ma$2(t)?n=wa$2:ba$2(t)&&(n=Sa$2)),Pa$1(this,t,e),n&&n(t),this}});var Aa$2=Lt$2("iterator"),Na$2=zc.values,Ra$2=function(t,e){if(t){if(t[Aa$2]!==Na$2)try{re$2(t,Aa$2,Na$2);}catch(e){t[Aa$2]=Na$2;}if(ii$1(t,e,!0),No$1[e])for(var n in zc)if(t[n]!==zc[n])try{re$2(t,n,zc[n]);}catch(e){t[n]=zc[n];}}};for(var Ca$2 in No$1)Ra$2(P$2[Ca$2]&&P$2[Ca$2].prototype,Ca$2);function ka$1(t){return t.getMenuConfig("uploadVideo")}Ra$2(ko$1,"DOMTokenList");var La$2=new WeakMap;function Va(t,e){return Xr$1(this,void 0,void 0,(function(){var n,r,o,u;return Yr$1(this,(function(c){switch(c.label){case 0:return n=function(t){var e=La$2.get(t);if(null!=e)return e;var n=ka$1(t),r=n.onSuccess,o=n.onProgress,u=n.onFailed,c=n.customInsert,a=n.onError;return e=fg(Kr$1(Kr$1({},n),{onProgress:function(e){t.showProgressBar(e),o&&o(e);},onSuccess:function(e,n){if(c)return c(n,(function(e,n){return rc(t,e,n)})),void r(e,n);var o=n.errno,i=void 0===o?1:o,a=n.data,s=void 0===a?{}:a;if(0===i){var f=s.url,l=void 0===f?"":f,d=s.poster;rc(t,l,void 0===d?"":d),r(e,n);}else u(e,n);},onError:function(t,e,n){a(t,e,n);}})),La$2.set(t,e),e}(t),r=e.name,o=e.type,u=e.size,n.addFile({name:r,type:o,size:u,data:e}),[4,n.upload()];case 1:return c.sent(),[2]}}))}))}var za=function(){function t(){this.title=Up$1("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 n=this.getMenuConfig(t),r=n.allowedFileTypes,o=void 0===r?[]:r,i=n.customBrowseAndUpload;if(i)i((function(e,n){return rc(t,e,n)}));else {var c="";o.length>0&&(c='accept="'.concat(o.join(", "),'"'));var a=$$6("body"),s=$$6('<input type="file" '.concat(c," multiple/>"));s.hide(),a.append(s),s.click(),s.on("change",(function(){var e=s[0].files;!function(t,e){var n,r,o,i;Xr$1(this,void 0,void 0,(function(){var u,c,a,s,f,l,d;return Yr$1(this,(function(p){switch(p.label){case 0:if(null==e)return [2];u=Array.prototype.slice.call(e),c=ka$1(t).customUpload,p.label=1;case 1:p.trys.push([1,12,13,18]),a=!0,s=Qr$1(u),p.label=2;case 2:return [4,s.next()];case 3:if(f=p.sent(),n=f.done)return [3,11];i=f.value,a=!1,p.label=4;case 4:return p.trys.push([4,,9,10]),l=i,c?[4,c(l,(function(e,n){return rc(t,e,n)}))]:[3,6];case 5:return p.sent(),[3,8];case 6:return [4,Va(t,l)];case 7:p.sent(),p.label=8;case 8:return [3,10];case 9:return a=!0,[7];case 10:return [3,2];case 11:return [3,18];case 12:return d=p.sent(),r={error:d},[3,18];case 13:return p.trys.push([13,,16,17]),a||n||!(o=s.return)?[3,15]:[4,o.call(s)];case 14:p.sent(),p.label=15;case 15:return [3,17];case 16:if(r)throw r.error;return [7];case 17:return [7];case 18:return [2]}}))}));}(t,e);}));}},t.prototype.isDisabled=function(t){var e=t.selection;return null==e||(!Range.isCollapsed(e)||!!$u$3.getSelectedElems(t).some((function(e){var r=$u$3.getNodeType(e);return "pre"===r||("list-item"===r||!!t.isVoid(e))})))},t.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadVideo")},t}(),Da={key:"insertVideo",factory:function(){return new ic},config:{onInsertedVideo:function(t){},checkVideo:function(t,e){return !0},parseVideoSrc:function(t){return t}}},Fa={key:"uploadVideo",factory:function(){return new za},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,n){console.error("'".concat(t.name," upload error"),e,n);}}},_a={key:"editVideoSize",factory:function(){return new Uo$1}},$a={key:"editVideoSrc",factory:function(){return new Yo$1}};function Ba(t,e,n,r,o){return void 0===e&&(e=""),void 0===n&&(n="auto"),void 0===r&&(r="auto"),void 0===o&&(o={}),{type:"video",src:t,poster:e,width:n,height:r,style:o,children:[{text:""}]}}var Ua={selector:'div[data-w-e-type="video"]',parseElemHtml:function(t,e,n){var r=$$6(t),o="",i="",c="auto",a="auto",s={},f=r.find("iframe");if(f.length>0)return c=f.attr("width")||"auto",a=f.attr("height")||"auto",s=$o$1(s=f.attr("style")||""),Ba(o=f[0].outerHTML,i,c,a,s);var l=r.find("video");return (o=l.attr("src")||"")||l.length>0&&(o=l.find("source").attr("src")||""),c=l.attr("width")||"auto",a=l.attr("height")||"auto",Ba(o,i=l.attr("poster")||"",c,a,s=$o$1(s=l.attr("style")||""))}};var Ha=ze$2.includes,Wa=j$2((function(){return !Array(1).includes()}));nn$2({target:"Array",proto:!0,forced:Wa},{includes:function(t){return Ha(this,t,arguments.length>1?arguments[1]:void 0)}}),br$1("includes");var Ga={renderElems:[{type:"video",renderElem:function(t,e,r){var o,i=t,u=i.src,c=void 0===u?"":u,a=i.poster,s=void 0===a?"":a,f=i.key,l=void 0===f?"":f,d=i.width,p=void 0===d?"auto":d,v=i.height,h=void 0===v?"auto":v,y=i.style,g=void 0===y?{}:y,m=i.textAlign,S=void 0===m?"center":m,O=$u$3.isNodeSelected(r,t);if(0===c.trim().indexOf("<iframe ")){var E=Un$2(c,p,h,g);o=jsx("div",{className:"w-e-textarea-video-container","data-selected":O?"true":"",style:{textAlign:S},innerHTML:E});}else {var x=jsx("video",{key:l,poster:s,controls:!0,style:g},jsx("source",{src:c,type:"video/mp4"}),"Sorry, your browser doesn't support embedded videos.\n 抱歉,浏览器不支持 video 视频");"auto"!==p&&(x.data.width=p),"auto"!==h&&(x.data.height=h),o=jsx("div",{className:"w-e-textarea-video-container","data-selected":O?"true":"",style:{textAlign:S}},x);}return h$3("div",{props:{contentEditable:!1},on:{mousedown:function(t){return t.preventDefault()}}},o)}}],elemsToHtml:[Hn$2],preParseHtml:[{selector:"iframe,video,p",preParseHtml:function(t){var e=$$6(t),n=e;if("p"===Bn$2(e)){var r=e.children();if(1===r.length){var o=r[0],i=o.tagName.toLowerCase();["iframe","video"].includes(i)&&(n=$$6(o));}}var c=Bn$2(n);if("iframe"!==c&&"video"!==c)return n[0];if("video"===n.parent().attr("data-w-e-type"))return n[0];var a=$$6('<div data-w-e-type="video" data-w-e-is-void style="text-align: center;"></div>');return a.append(n),a[0]}}],parseElemsHtml:[Ua],menus:[Da,Fa,_a,$a],editorPlugin:function(t){var e=t.isVoid,r=t.normalizeNode,o=t;return o.isVoid=function(t){return "video"===t.type||e(t)},o.normalizeNode=function(t){var e=Jr$1(t,2),i=e[0],u=e[1];"video"===$u$3.getNodeType(i)&&($u$3.isLastNode(o,i)&&Transforms.insertNodes(o,$u$3.genEmptyParagraph(),{at:[u[0]+1]}));return r([i,u])},o}};
17555
17555
 
17556
- Fp$1("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),Fp$1("zh-CN",{uploadImgModule:{uploadImage:"上传图片",uploadError:"{{fileName}} 上传出错"}});var p$1="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function v$1(t){var e={exports:{}};return t(e,e.exports),e.exports}var d$1,h$1,y$1=function(t){return t&&t.Math===Math&&t},g$1=y$1("object"==typeof globalThis&&globalThis)||y$1("object"==typeof window&&window)||y$1("object"==typeof self&&self)||y$1("object"==typeof p$1&&p$1)||y$1("object"==typeof p$1&&p$1)||function(){return this}()||Function("return this")(),m$1=function(t){try{return !!t()}catch(t){return !0}},b$1=!m$1((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),w$1=!m$1((function(){var t=function(){}.bind();return "function"!=typeof t||t.hasOwnProperty("prototype")})),S$1=Function.prototype.call,O$1=w$1?S$1.bind(S$1):function(){return S$1.apply(S$1,arguments)},E$1={}.propertyIsEnumerable,j$1=Object.getOwnPropertyDescriptor,x$1={f:j$1&&!E$1.call({1:2},1)?function(t){var e=j$1(this,t);return !!e&&e.enumerable}:E$1},T$1=function(t,e){return {enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},P$1=Function.prototype,I$1=P$1.call,R$1=w$1&&P$1.bind.bind(I$1,I$1),A$1=w$1?R$1:function(t){return function(){return I$1.apply(t,arguments)}},C$1=A$1({}.toString),N$1=A$1("".slice),k$1=function(t){return N$1(C$1(t),8,-1)},L$1=Object,M$1=A$1("".split),D$1=m$1((function(){return !L$1("z").propertyIsEnumerable(0)}))?function(t){return "String"===k$1(t)?M$1(t,""):L$1(t)}:L$1,F$1=function(t){return null==t},z$1=TypeError,_$1=function(t){if(F$1(t))throw new z$1("Can't call method on "+t);return t},U$1=function(t){return D$1(_$1(t))},B$1="object"==typeof document&&document.all,G$1=void 0===B$1&&void 0!==B$1?function(t){return "function"==typeof t||t===B$1}:function(t){return "function"==typeof t},W$1=function(t){return "object"==typeof t?null!==t:G$1(t)},V$1=function(t,e){return arguments.length<2?(n=g$1[t],G$1(n)?n:void 0):g$1[t]&&g$1[t][e];var n;},H$1=A$1({}.isPrototypeOf),K$1=g$1.navigator,X$1=K$1&&K$1.userAgent,Y$1=X$1?String(X$1):"",$$1=g$1.process,q$1=g$1.Deno,J$1=$$1&&$$1.versions||q$1&&q$1.version,Q$1=J$1&&J$1.v8;Q$1&&(h$1=(d$1=Q$1.split("."))[0]>0&&d$1[0]<4?1:+(d$1[0]+d$1[1])),!h$1&&Y$1&&(!(d$1=Y$1.match(/Edge\/(\d+)/))||d$1[1]>=74)&&(d$1=Y$1.match(/Chrome\/(\d+)/))&&(h$1=+d$1[1]);var Z$1=h$1,tt$1=g$1.String,et$1=!!Object.getOwnPropertySymbols&&!m$1((function(){var t=Symbol("symbol detection");return !tt$1(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Z$1&&Z$1<41})),nt$1=et$1&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,rt$1=Object,ot$1=nt$1?function(t){return "symbol"==typeof t}:function(t){var e=V$1("Symbol");return G$1(e)&&H$1(e.prototype,rt$1(t))},it$1=String,ut$1=function(t){try{return it$1(t)}catch(t){return "Object"}},at$1=TypeError,ct$1=function(t){if(G$1(t))return t;throw new at$1(ut$1(t)+" is not a function")},ft$1=function(t,e){var n=t[e];return F$1(n)?void 0:ct$1(n)},st$1=TypeError,lt$1=Object.defineProperty,pt$1=function(t,e){try{lt$1(g$1,t,{value:e,configurable:!0,writable:!0});}catch(n){g$1[t]=e;}return e},vt$1=v$1((function(t){var e="__core-js_shared__",n=t.exports=g$1[e]||pt$1(e,{});(n.versions||(n.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});})),dt$1=function(t,e){return vt$1[t]||(vt$1[t]=e||{})},ht$1=Object,yt$1=function(t){return ht$1(_$1(t))},gt$1=A$1({}.hasOwnProperty),mt$1=Object.hasOwn||function(t,e){return gt$1(yt$1(t),e)},bt$1=0,wt$1=Math.random(),St$1=A$1(1..toString),Ot$1=function(t){return "Symbol("+(void 0===t?"":t)+")_"+St$1(++bt$1+wt$1,36)},Et$1=g$1.Symbol,jt$1=dt$1("wks"),xt$1=nt$1?Et$1.for||Et$1:Et$1&&Et$1.withoutSetter||Ot$1,Tt$1=function(t){return mt$1(jt$1,t)||(jt$1[t]=et$1&&mt$1(Et$1,t)?Et$1[t]:xt$1("Symbol."+t)),jt$1[t]},Pt$1=TypeError,It$1=Tt$1("toPrimitive"),Rt$1=function(t,e){if(!W$1(t)||ot$1(t))return t;var n,r=ft$1(t,It$1);if(r){if(void 0===e&&(e="default"),n=O$1(r,t,e),!W$1(n)||ot$1(n))return n;throw new Pt$1("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&G$1(n=t.toString)&&!W$1(r=O$1(n,t)))return r;if(G$1(n=t.valueOf)&&!W$1(r=O$1(n,t)))return r;if("string"!==e&&G$1(n=t.toString)&&!W$1(r=O$1(n,t)))return r;throw new st$1("Can't convert object to primitive value")}(t,e)},At$1=function(t){var e=Rt$1(t,"string");return ot$1(e)?e:e+""},Ct$1=g$1.document,Nt$1=W$1(Ct$1)&&W$1(Ct$1.createElement),kt$1=function(t){return Nt$1?Ct$1.createElement(t):{}},Lt$1=!b$1&&!m$1((function(){return 7!==Object.defineProperty(kt$1("div"),"a",{get:function(){return 7}}).a})),Mt$1=Object.getOwnPropertyDescriptor,Dt$1={f:b$1?Mt$1:function(t,e){if(t=U$1(t),e=At$1(e),Lt$1)try{return Mt$1(t,e)}catch(t){}if(mt$1(t,e))return T$1(!O$1(x$1.f,t,e),t[e])}},Ft$1=b$1&&m$1((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),zt$1=String,_t$1=TypeError,Ut$1=function(t){if(W$1(t))return t;throw new _t$1(zt$1(t)+" is not an object")},Bt$1=TypeError,Gt$1=Object.defineProperty,Wt$1=Object.getOwnPropertyDescriptor,Vt$1="enumerable",Ht$1="configurable",Kt$1="writable",Xt$1={f:b$1?Ft$1?function(t,e,n){if(Ut$1(t),e=At$1(e),Ut$1(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Kt$1 in n&&!n[Kt$1]){var r=Wt$1(t,e);r&&r[Kt$1]&&(t[e]=n.value,n={configurable:Ht$1 in n?n[Ht$1]:r[Ht$1],enumerable:Vt$1 in n?n[Vt$1]:r[Vt$1],writable:!1});}return Gt$1(t,e,n)}:Gt$1:function(t,e,n){if(Ut$1(t),e=At$1(e),Ut$1(n),Lt$1)try{return Gt$1(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new Bt$1("Accessors not supported");return "value"in n&&(t[e]=n.value),t}},Yt$1=b$1?function(t,e,n){return Xt$1.f(t,e,T$1(1,n))}:function(t,e,n){return t[e]=n,t},$t$1=Function.prototype,qt$1=b$1&&Object.getOwnPropertyDescriptor,Jt$1=mt$1($t$1,"name"),Qt$1={EXISTS:Jt$1,PROPER:Jt$1&&"something"===function(){}.name,CONFIGURABLE:Jt$1&&(!b$1||b$1&&qt$1($t$1,"name").configurable)},Zt$1=A$1(Function.toString);G$1(vt$1.inspectSource)||(vt$1.inspectSource=function(t){return Zt$1(t)});var te$1,ee$1,ne$1,re$1=vt$1.inspectSource,oe$1=g$1.WeakMap,ie$1=G$1(oe$1)&&/native code/.test(String(oe$1)),ue$1=dt$1("keys"),ae$1=function(t){return ue$1[t]||(ue$1[t]=Ot$1(t))},ce$1={},fe$1="Object already initialized",se$1=g$1.TypeError,le$1=g$1.WeakMap;if(ie$1||vt$1.state){var pe$1=vt$1.state||(vt$1.state=new le$1);pe$1.get=pe$1.get,pe$1.has=pe$1.has,pe$1.set=pe$1.set,te$1=function(t,e){if(pe$1.has(t))throw new se$1(fe$1);return e.facade=t,pe$1.set(t,e),e},ee$1=function(t){return pe$1.get(t)||{}},ne$1=function(t){return pe$1.has(t)};}else {var ve$1=ae$1("state");ce$1[ve$1]=!0,te$1=function(t,e){if(mt$1(t,ve$1))throw new se$1(fe$1);return e.facade=t,Yt$1(t,ve$1,e),e},ee$1=function(t){return mt$1(t,ve$1)?t[ve$1]:{}},ne$1=function(t){return mt$1(t,ve$1)};}var de$1={set:te$1,get:ee$1,has:ne$1,enforce:function(t){return ne$1(t)?ee$1(t):te$1(t,{})},getterFor:function(t){return function(e){var n;if(!W$1(e)||(n=ee$1(e)).type!==t)throw new se$1("Incompatible receiver, "+t+" required");return n}}},he$1=v$1((function(t){var e=Qt$1.CONFIGURABLE,n=de$1.enforce,r=de$1.get,o=String,i=Object.defineProperty,u=A$1("".slice),a=A$1("".replace),c=A$1([].join),f=b$1&&!m$1((function(){return 8!==i((function(){}),"length",{value:8}).length})),s=String(String).split("String"),l=t.exports=function(t,r,l){"Symbol("===u(o(r),0,7)&&(r="["+a(o(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),l&&l.getter&&(r="get "+r),l&&l.setter&&(r="set "+r),(!mt$1(t,"name")||e&&t.name!==r)&&(b$1?i(t,"name",{value:r,configurable:!0}):t.name=r),f&&l&&mt$1(l,"arity")&&t.length!==l.arity&&i(t,"length",{value:l.arity});try{l&&mt$1(l,"constructor")&&l.constructor?b$1&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0);}catch(t){}var p=n(t);return mt$1(p,"source")||(p.source=c(s,"string"==typeof r?r:"")),t};Function.prototype.toString=l((function(){return G$1(this)&&r(this).source||re$1(this)}),"toString");})),ye$1=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(G$1(n)&&he$1(n,i,r),r.global)o?t[e]=n:pt$1(e,n);else {try{r.unsafe?t[e]&&(o=!0):delete t[e];}catch(t){}o?t[e]=n:Xt$1.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable});}return t},ge$1=Math.ceil,me$1=Math.floor,be$1=Math.trunc||function(t){var e=+t;return (e>0?me$1:ge$1)(e)},we$1=function(t){var e=+t;return e!=e||0===e?0:be$1(e)},Se$1=Math.max,Oe$1=Math.min,Ee$1=function(t,e){var n=we$1(t);return n<0?Se$1(n+e,0):Oe$1(n,e)},je$1=Math.min,xe$1=function(t){return e=t.length,(n=we$1(e))>0?je$1(n,9007199254740991):0;var e,n;},Te$1=function(t){return function(e,n,r){var o=U$1(e),i=xe$1(o);if(0===i)return !t&&-1;var u,a=Ee$1(r,i);if(t&&n!=n){for(;i>a;)if((u=o[a++])!=u)return !0}else for(;i>a;a++)if((t||a in o)&&o[a]===n)return t||a||0;return !t&&-1}},Pe$1={includes:Te$1(!0),indexOf:Te$1(!1)}.indexOf,Ie$1=A$1([].push),Re$1=function(t,e){var n,r=U$1(t),o=0,i=[];for(n in r)!mt$1(ce$1,n)&&mt$1(r,n)&&Ie$1(i,n);for(;e.length>o;)mt$1(r,n=e[o++])&&(~Pe$1(i,n)||Ie$1(i,n));return i},Ae$1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ce$1=Ae$1.concat("length","prototype"),Ne$1={f:Object.getOwnPropertyNames||function(t){return Re$1(t,Ce$1)}},ke$1={f:Object.getOwnPropertySymbols},Le$1=A$1([].concat),Me$1=V$1("Reflect","ownKeys")||function(t){var e=Ne$1.f(Ut$1(t)),n=ke$1.f;return n?Le$1(e,n(t)):e},De$1=function(t,e,n){for(var r=Me$1(e),o=Xt$1.f,i=Dt$1.f,u=0;u<r.length;u++){var a=r[u];mt$1(t,a)||n&&mt$1(n,a)||o(t,a,i(e,a));}},Fe$1=/#|\.prototype\./,ze$1=function(t,e){var n=Ue$1[_e$1(t)];return n===Ge$1||n!==Be$1&&(G$1(e)?m$1(e):!!e)},_e$1=ze$1.normalize=function(t){return String(t).replace(Fe$1,".").toLowerCase()},Ue$1=ze$1.data={},Be$1=ze$1.NATIVE="N",Ge$1=ze$1.POLYFILL="P",We$1=ze$1,Ve$1=Dt$1.f,He$1=function(t,e){var n,r,o,i,u,a=t.target,c=t.global,f=t.stat;if(n=c?g$1:f?g$1[a]||pt$1(a,{}):g$1[a]&&g$1[a].prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(u=Ve$1(n,r))&&u.value:n[r],!We$1(c?r:a+(f?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;De$1(i,o);}(t.sham||o&&o.sham)&&Yt$1(i,"sham",!0),ye$1(n,r,i,t);}},Ke$1=Array.isArray||function(t){return "Array"===k$1(t)},Xe$1={};Xe$1[Tt$1("toStringTag")]="z";var Ye$1="[object z]"===String(Xe$1),$e$1=Tt$1("toStringTag"),qe$1=Object,Je$1="Arguments"===k$1(function(){return arguments}()),Qe$1=Ye$1?k$1:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=qe$1(t),$e$1))?n:Je$1?k$1(e):"Object"===(r=k$1(e))&&G$1(e.callee)?"Arguments":r},Ze$1=function(){},tn$1=V$1("Reflect","construct"),en$1=/^\s*(?:class|function)\b/,nn$1=A$1(en$1.exec),rn$1=!en$1.test(Ze$1),on$1=function(t){if(!G$1(t))return !1;try{return tn$1(Ze$1,[],t),!0}catch(t){return !1}},un$1=function(t){if(!G$1(t))return !1;switch(Qe$1(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return !1}try{return rn$1||!!nn$1(en$1,re$1(t))}catch(t){return !0}};un$1.sham=!0;var an$1,cn$1=!tn$1||m$1((function(){var t;return on$1(on$1.call)||!on$1(Object)||!on$1((function(){t=!0;}))||t}))?un$1:on$1,fn$1=Tt$1("species"),sn$1=A$1([].slice),ln$1=(an$1="slice",Z$1>=51||!m$1((function(){var t=[];return (t.constructor={})[fn$1]=function(){return {foo:1}},1!==t[an$1](Boolean).foo}))),pn$1=Tt$1("species"),vn$1=Array,dn$1=Math.max;He$1({target:"Array",proto:!0,forced:!ln$1},{slice:function(t,e){var n,r,o,i,u,a,c=U$1(this),f=xe$1(c),s=Ee$1(t,f),l=Ee$1(void 0===e?f:e,f);if(Ke$1(c)&&(n=c.constructor,(cn$1(n)&&(n===vn$1||Ke$1(n.prototype))||W$1(n)&&null===(n=n[pn$1]))&&(n=void 0),n===vn$1||void 0===n))return sn$1(c,s,l);for(r=new(void 0===n?vn$1:n)(dn$1(l-s,0)),o=0;s<l;s++,o++)s in c&&(i=r,u=o,a=c[s],b$1?Xt$1.f(i,u,T$1(0,a)):i[u]=a);return r.length=o,r}});var hn$1=Ye$1?{}.toString:function(){return "[object "+Qe$1(this)+"]"};Ye$1||ye$1(Object.prototype,"toString",hn$1,{unsafe:!0});var yn$1=function(){return yn$1=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},yn$1.apply(this,arguments)};function gn$1(t,e,n,r){return new(n||(n=Promise))((function(o,i){function u(t){try{c(r.next(t));}catch(t){i(t);}}function a(t){try{c(r.throw(t));}catch(t){i(t);}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e);}))).then(u,a);}c((r=r.apply(t,e||[])).next());}))}function mn$1(t,e){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(u=0)),u;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,r=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(!(o=u.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){u=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(6===a[0]&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=e.call(t,u);}catch(t){a=[6,t],r=0;}finally{n=o=0;}if(5&a[0])throw a[1];return {value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}function bn$1(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return {next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function wn$1(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=bn$1(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,o){(function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n});}),e);})(r,o,(e=t[n](e)).done,e.value);}))};}}"function"==typeof SuppressedError&&SuppressedError;var Sn$1,On$1=Object.keys||function(t){return Re$1(t,Ae$1)},En$1=b$1&&!Ft$1?Object.defineProperties:function(t,e){Ut$1(t);for(var n,r=U$1(e),o=On$1(e),i=o.length,u=0;i>u;)Xt$1.f(t,n=o[u++],r[n]);return t},jn$1={f:En$1},xn$1=V$1("document","documentElement"),Tn$1="prototype",Pn$1="script",In$1=ae$1("IE_PROTO"),Rn$1=function(){},An$1=function(t){return "<"+Pn$1+">"+t+"</"+Pn$1+">"},Cn$1=function(t){t.write(An$1("")),t.close();var e=t.parentWindow.Object;return t=null,e},Nn$1=function(){try{Sn$1=new ActiveXObject("htmlfile");}catch(t){}var t,e,n;Nn$1="undefined"!=typeof document?document.domain&&Sn$1?Cn$1(Sn$1):(e=kt$1("iframe"),n="java"+Pn$1+":",e.style.display="none",xn$1.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(An$1("document.F=Object")),t.close(),t.F):Cn$1(Sn$1);for(var r=Ae$1.length;r--;)delete Nn$1[Tn$1][Ae$1[r]];return Nn$1()};ce$1[In$1]=!0;var kn$1=Object.create||function(t,e){var n;return null!==t?(Rn$1[Tn$1]=Ut$1(t),n=new Rn$1,Rn$1[Tn$1]=null,n[In$1]=t):n=Nn$1(),void 0===e?n:jn$1.f(n,e)},Ln$1=Xt$1.f,Mn$1=Tt$1("unscopables"),Dn$1=Array.prototype;void 0===Dn$1[Mn$1]&&Ln$1(Dn$1,Mn$1,{configurable:!0,value:kn$1(null)});var Fn$1,zn$1,_n$1,Un$1=function(t){Dn$1[Mn$1][t]=!0;},Bn$1={},Gn$1=!m$1((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),Wn$1=ae$1("IE_PROTO"),Vn$1=Object,Hn$1=Vn$1.prototype,Kn$1=Gn$1?Vn$1.getPrototypeOf:function(t){var e=yt$1(t);if(mt$1(e,Wn$1))return e[Wn$1];var n=e.constructor;return G$1(n)&&e instanceof n?n.prototype:e instanceof Vn$1?Hn$1:null},Xn$1=Tt$1("iterator"),Yn$1=!1;[].keys&&("next"in(_n$1=[].keys())?(zn$1=Kn$1(Kn$1(_n$1)))!==Object.prototype&&(Fn$1=zn$1):Yn$1=!0);var $n$1=!W$1(Fn$1)||m$1((function(){var t={};return Fn$1[Xn$1].call(t)!==t}));$n$1&&(Fn$1={}),G$1(Fn$1[Xn$1])||ye$1(Fn$1,Xn$1,(function(){return this}));var qn$1={IteratorPrototype:Fn$1,BUGGY_SAFARI_ITERATORS:Yn$1},Jn$1=Xt$1.f,Qn$1=Tt$1("toStringTag"),Zn$1=function(t,e,n){t&&!n&&(t=t.prototype),t&&!mt$1(t,Qn$1)&&Jn$1(t,Qn$1,{configurable:!0,value:e});},tr=qn$1.IteratorPrototype,er=function(){return this},nr=String,rr=TypeError,or=function(t){if(function(t){return W$1(t)||null===t}(t))return t;throw new rr("Can't set "+nr(t)+" as a prototype")},ir=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=function(t,e,n){try{return A$1(ct$1(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}(Object.prototype,"__proto__","set"),t(n,[]),e=n instanceof Array;}catch(t){}return function(n,r){return _$1(n),or(r),W$1(n)?(e?t(n,r):n.__proto__=r,n):n}}():void 0),ur=Qt$1.PROPER,ar=Qt$1.CONFIGURABLE,cr=qn$1.IteratorPrototype,fr=qn$1.BUGGY_SAFARI_ITERATORS,sr=Tt$1("iterator"),lr="keys",pr="values",vr="entries",dr=function(){return this},hr=function(t,e,n,r,o,i,u){!function(t,e,n,r){var o=e+" Iterator";t.prototype=kn$1(tr,{next:T$1(+!r,n)}),Zn$1(t,o,!1),Bn$1[o]=er;}(n,e,r);var a,c,f,s=function(t){if(t===o&&h)return h;if(!fr&&t&&t in v)return v[t];switch(t){case lr:case pr:case vr:return function(){return new n(this,t)}}return function(){return new n(this)}},l=e+" Iterator",p=!1,v=t.prototype,d=v[sr]||v["@@iterator"]||o&&v[o],h=!fr&&d||s(o),y="Array"===e&&v.entries||d;if(y&&(a=Kn$1(y.call(new t)))!==Object.prototype&&a.next&&(Kn$1(a)!==cr&&(ir?ir(a,cr):G$1(a[sr])||ye$1(a,sr,dr)),Zn$1(a,l,!0)),ur&&o===pr&&d&&d.name!==pr&&(ar?Yt$1(v,"name",pr):(p=!0,h=function(){return O$1(d,this)})),o)if(c={values:s(pr),keys:i?h:s(lr),entries:s(vr)},u)for(f in c)(fr||p||!(f in v))&&ye$1(v,f,c[f]);else He$1({target:e,proto:!0,forced:fr||p},c);return v[sr]!==h&&ye$1(v,sr,h,{name:o}),Bn$1[e]=h,c},yr=function(t,e){return {value:t,done:e}},gr=Xt$1.f,mr="Array Iterator",br=de$1.set,wr=de$1.getterFor(mr),Sr=hr(Array,"Array",(function(t,e){br(this,{type:mr,target:U$1(t),index:0,kind:e});}),(function(){var t=wr(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=null,yr(void 0,!0);switch(t.kind){case"keys":return yr(n,!1);case"values":return yr(e[n],!1)}return yr([n,e[n]],!1)}),"values"),Or=Bn$1.Arguments=Bn$1.Array;if(Un$1("keys"),Un$1("values"),Un$1("entries"),b$1&&"values"!==Or.name)try{gr(Or,"name",{value:"values"});}catch(t){}var Er=function(t,e,n){return n.get&&he$1(n.get,e,{getter:!0}),n.set&&he$1(n.set,e,{setter:!0}),Xt$1.f(t,e,n)},jr=Qt$1.EXISTS,xr=Function.prototype,Tr=A$1(xr.toString),Pr=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,Ir=A$1(Pr.exec);b$1&&!jr&&Er(xr,"name",{configurable:!0,get:function(){try{return Ir(Pr,Tr(this))[1]}catch(t){return ""}}});var Rr,Ar,Cr,Nr,kr=function(t){return Y$1.slice(0,t.length)===t},Lr=kr("Bun/")?"BUN":kr("Cloudflare-Workers")?"CLOUDFLARE":kr("Deno/")?"DENO":kr("Node.js/")?"NODE":g$1.Bun&&"string"==typeof Bun.version?"BUN":g$1.Deno&&"object"==typeof Deno.version?"DENO":"process"===k$1(g$1.process)?"NODE":g$1.window&&g$1.document?"BROWSER":"REST",Mr="NODE"===Lr,Dr=Tt$1("species"),Fr=TypeError,zr=function(t,e){if(H$1(e,t))return t;throw new Fr("Incorrect invocation")},_r=TypeError,Ur=Tt$1("species"),Br=function(t,e){var n,r=Ut$1(t).constructor;return void 0===r||F$1(n=Ut$1(r)[Ur])?e:function(t){if(cn$1(t))return t;throw new _r(ut$1(t)+" is not a constructor")}(n)},Gr=Function.prototype,Wr=Gr.apply,Vr=Gr.call,Hr="object"==typeof Reflect&&Reflect.apply||(w$1?Vr.bind(Wr):function(){return Vr.apply(Wr,arguments)}),Kr=function(t){if("Function"===k$1(t))return A$1(t)},Xr=Kr(Kr.bind),Yr=function(t,e){return ct$1(t),void 0===e?t:w$1?Xr(t,e):function(){return t.apply(e,arguments)}},$r=TypeError,qr=/(?:ipad|iphone|ipod).*applewebkit/i.test(Y$1),Jr=g$1.setImmediate,Qr=g$1.clearImmediate,Zr=g$1.process,to=g$1.Dispatch,eo=g$1.Function,no=g$1.MessageChannel,ro=g$1.String,oo=0,io={},uo="onreadystatechange";m$1((function(){Rr=g$1.location;}));var ao=function(t){if(mt$1(io,t)){var e=io[t];delete io[t],e();}},co=function(t){return function(){ao(t);}},fo=function(t){ao(t.data);},so=function(t){g$1.postMessage(ro(t),Rr.protocol+"//"+Rr.host);};Jr&&Qr||(Jr=function(t){!function(t,e){if(t<e)throw new $r("Not enough arguments")}(arguments.length,1);var e=G$1(t)?t:eo(t),n=sn$1(arguments,1);return io[++oo]=function(){Hr(e,void 0,n);},Ar(oo),oo},Qr=function(t){delete io[t];},Mr?Ar=function(t){Zr.nextTick(co(t));}:to&&to.now?Ar=function(t){to.now(co(t));}:no&&!qr?(Nr=(Cr=new no).port2,Cr.port1.onmessage=fo,Ar=Yr(Nr.postMessage,Nr)):g$1.addEventListener&&G$1(g$1.postMessage)&&!g$1.importScripts&&Rr&&"file:"!==Rr.protocol&&!m$1(so)?(Ar=so,g$1.addEventListener("message",fo,!1)):Ar=uo in kt$1("script")?function(t){xn$1.appendChild(kt$1("script"))[uo]=function(){xn$1.removeChild(this),ao(t);};}:function(t){setTimeout(co(t),0);});var lo={set:Jr,clear:Qr},po=Object.getOwnPropertyDescriptor,vo=function(){this.head=null,this.tail=null;};vo.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.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}};var ho,yo,go,mo,bo,wo=vo,So=/ipad|iphone|ipod/i.test(Y$1)&&"undefined"!=typeof Pebble,Oo=/web0s(?!.*chrome)/i.test(Y$1),Eo=lo.set,jo=g$1.MutationObserver||g$1.WebKitMutationObserver,xo=g$1.document,To=g$1.process,Po=g$1.Promise,Io=function(t){if(!b$1)return g$1[t];var e=po(g$1,t);return e&&e.value}("queueMicrotask");if(!Io){var Ro=new wo,Ao=function(){var t,e;for(Mr&&(t=To.domain)&&t.exit();e=Ro.get();)try{e();}catch(t){throw Ro.head&&ho(),t}t&&t.enter();};qr||Mr||Oo||!jo||!xo?!So&&Po&&Po.resolve?((mo=Po.resolve(void 0)).constructor=Po,bo=Yr(mo.then,mo),ho=function(){bo(Ao);}):Mr?ho=function(){To.nextTick(Ao);}:(Eo=Yr(Eo,g$1),ho=function(){Eo(Ao);}):(yo=!0,go=xo.createTextNode(""),new jo(Ao).observe(go,{characterData:!0}),ho=function(){go.data=yo=!yo;}),Io=function(t){Ro.head||ho(),Ro.add(t);};}var Co=Io,No=function(t){try{return {error:!1,value:t()}}catch(t){return {error:!0,value:t}}},ko=g$1.Promise;ko&&ko.prototype;var Lo,Mo,Do,Fo,zo=Tt$1("species"),_o=!1,Uo=G$1(g$1.PromiseRejectionEvent),Bo=We$1("Promise",(function(){var t=re$1(ko),e=t!==String(ko);if(!e&&66===Z$1)return !0;if(!Z$1||Z$1<51||!/native code/.test(t)){var n=new ko((function(t){t(1);})),r=function(t){t((function(){}),(function(){}));};if((n.constructor={})[zo]=r,!(_o=n.then((function(){}))instanceof r))return !0}return !(e||"BROWSER"!==Lr&&"DENO"!==Lr||Uo)})),Go={CONSTRUCTOR:Bo,REJECTION_EVENT:Uo,SUBCLASSING:_o},Wo=TypeError,Vo=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw new Wo("Bad Promise constructor");e=t,n=r;})),this.resolve=ct$1(e),this.reject=ct$1(n);},Ho={f:function(t){return new Vo(t)}},Ko=lo.set,Xo="Promise",Yo=Go.CONSTRUCTOR,$o=Go.REJECTION_EVENT,qo=Go.SUBCLASSING,Jo=de$1.getterFor(Xo),Qo=de$1.set,Zo=ko&&ko.prototype,ti=ko,ei=Zo,ni=g$1.TypeError,ri=g$1.document,oi=g$1.process,ii=Ho.f,ui=ii,ai=!!(ri&&ri.createEvent&&g$1.dispatchEvent),ci="unhandledrejection",fi=function(t){var e;return !(!W$1(t)||!G$1(e=t.then))&&e},si=function(t,e){var n,r,o,i=e.value,u=1===e.state,a=u?t.ok:t.fail,c=t.resolve,f=t.reject,s=t.domain;try{a?(u||(2===e.rejection&&hi(e),e.rejection=1),!0===a?n=i:(s&&s.enter(),n=a(i),s&&(s.exit(),o=!0)),n===t.promise?f(new ni("Promise-chain cycle")):(r=fi(n))?O$1(r,n,c,f):c(n)):f(i);}catch(t){s&&!o&&s.exit(),f(t);}},li=function(t,e){t.notified||(t.notified=!0,Co((function(){for(var n,r=t.reactions;n=r.get();)si(n,t);t.notified=!1,e&&!t.rejection&&vi(t);})));},pi=function(t,e,n){var r,o;ai?((r=ri.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),g$1.dispatchEvent(r)):r={promise:e,reason:n},!$o&&(o=g$1["on"+t])?o(r):t===ci&&function(t,e){try{1===arguments.length?console.error(t):console.error(t,e);}catch(t){}}("Unhandled promise rejection",n);},vi=function(t){O$1(Ko,g$1,(function(){var e,n=t.facade,r=t.value;if(di(t)&&(e=No((function(){Mr?oi.emit("unhandledRejection",r,n):pi(ci,n,r);})),t.rejection=Mr||di(t)?2:1,e.error))throw e.value}));},di=function(t){return 1!==t.rejection&&!t.parent},hi=function(t){O$1(Ko,g$1,(function(){var e=t.facade;Mr?oi.emit("rejectionHandled",e):pi("rejectionhandled",e,t.value);}));},yi=function(t,e,n){return function(r){t(e,r,n);}},gi=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,li(t,!0));},mi=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw new ni("Promise can't be resolved itself");var r=fi(e);r?Co((function(){var n={done:!1};try{O$1(r,e,yi(mi,n,t),yi(gi,n,t));}catch(e){gi(n,e,t);}})):(t.value=e,t.state=1,li(t,!1));}catch(e){gi({done:!1},e,t);}}};if(Yo&&(ei=(ti=function(t){zr(this,ei),ct$1(t),O$1(Lo,this);var e=Jo(this);try{t(yi(mi,e),yi(gi,e));}catch(t){gi(e,t);}}).prototype,(Lo=function(t){Qo(this,{type:Xo,done:!1,notified:!1,parent:!1,reactions:new wo,rejection:!1,state:0,value:null});}).prototype=ye$1(ei,"then",(function(t,e){var n=Jo(this),r=ii(Br(this,ti));return n.parent=!0,r.ok=!G$1(t)||t,r.fail=G$1(e)&&e,r.domain=Mr?oi.domain:void 0,0===n.state?n.reactions.add(r):Co((function(){si(r,n);})),r.promise})),Mo=function(){var t=new Lo,e=Jo(t);this.promise=t,this.resolve=yi(mi,e),this.reject=yi(gi,e);},Ho.f=ii=function(t){return t===ti||undefined===t?new Mo(t):ui(t)},G$1(ko)&&Zo!==Object.prototype)){Do=Zo.then,qo||ye$1(Zo,"then",(function(t,e){var n=this;return new ti((function(t,e){O$1(Do,n,t,e);})).then(t,e)}),{unsafe:!0});try{delete Zo.constructor;}catch(t){}ir&&ir(Zo,ei);}He$1({global:!0,constructor:!0,wrap:!0,forced:Yo},{Promise:ti}),Zn$1(ti,Xo,!1),Fo=V$1(Xo),b$1&&Fo&&!Fo[Dr]&&Er(Fo,Dr,{configurable:!0,get:function(){return this}});var bi=Tt$1("iterator"),wi=Array.prototype,Si=Tt$1("iterator"),Oi=function(t){if(!F$1(t))return ft$1(t,Si)||ft$1(t,"@@iterator")||Bn$1[Qe$1(t)]},Ei=TypeError,ji=function(t,e,n){var r,o;Ut$1(t);try{if(!(r=ft$1(t,"return"))){if("throw"===e)throw n;return n}r=O$1(r,t);}catch(t){o=!0,r=t;}if("throw"===e)throw n;if(o)throw r;return Ut$1(r),n},xi=TypeError,Ti=function(t,e){this.stopped=t,this.result=e;},Pi=Ti.prototype,Ii=function(t,e,n){var r,o,i,u,a,c,f,s,l=n&&n.that,p=!(!n||!n.AS_ENTRIES),v=!(!n||!n.IS_RECORD),d=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),y=Yr(e,l),g=function(t){return r&&ji(r,"normal",t),new Ti(!0,t)},m=function(t){return p?(Ut$1(t),h?y(t[0],t[1],g):y(t[0],t[1])):h?y(t,g):y(t)};if(v)r=t.iterator;else if(d)r=t;else {if(!(o=Oi(t)))throw new xi(ut$1(t)+" is not iterable");if(void 0!==(s=o)&&(Bn$1.Array===s||wi[bi]===s)){for(i=0,u=xe$1(t);u>i;i++)if((a=m(t[i]))&&H$1(Pi,a))return a;return new Ti(!1)}r=function(t,e){var n=arguments.length<2?Oi(t):e;if(ct$1(n))return Ut$1(O$1(n,t));throw new Ei(ut$1(t)+" is not iterable")}(t,o);}for(c=v?t.next:r.next;!(f=O$1(c,r)).done;){try{a=m(f.value);}catch(t){ji(r,"throw",t);}if("object"==typeof a&&a&&H$1(Pi,a))return a}return new Ti(!1)},Ri=Tt$1("iterator"),Ai=!1;try{var Ci=0,Ni={next:function(){return {done:!!Ci++}},return:function(){Ai=!0;}};Ni[Ri]=function(){return this},Array.from(Ni,(function(){throw 2}));}catch(t){}var ki=function(t,e){try{if(!e&&!Ai)return !1}catch(t){return !1}var n=!1;try{var r={};r[Ri]=function(){return {next:function(){return {done:n=!0}}}},t(r);}catch(t){}return n},Li=Go.CONSTRUCTOR||!ki((function(t){ko.all(t).then(void 0,(function(){}));}));He$1({target:"Promise",stat:!0,forced:Li},{all:function(t){var e=this,n=Ho.f(e),r=n.resolve,o=n.reject,i=No((function(){var n=ct$1(e.resolve),i=[],u=0,a=1;Ii(t,(function(t){var c=u++,f=!1;a++,O$1(n,e,t).then((function(t){f||(f=!0,i[c]=t,--a||r(i));}),o);})),--a||r(i);}));return i.error&&o(i.value),n.promise}});var Mi=Go.CONSTRUCTOR,Di=ko&&ko.prototype;if(He$1({target:"Promise",proto:!0,forced:Mi,real:!0},{catch:function(t){return this.then(void 0,t)}}),G$1(ko)){var Fi=V$1("Promise").prototype.catch;Di.catch!==Fi&&ye$1(Di,"catch",Fi,{unsafe:!0});}He$1({target:"Promise",stat:!0,forced:Li},{race:function(t){var e=this,n=Ho.f(e),r=n.reject,o=No((function(){var o=ct$1(e.resolve);Ii(t,(function(t){O$1(o,e,t).then(n.resolve,r);}));}));return o.error&&r(o.value),n.promise}}),He$1({target:"Promise",stat:!0,forced:Go.CONSTRUCTOR},{reject:function(t){var e=Ho.f(this);return (0, e.reject)(t),e.promise}});var zi=Go.CONSTRUCTOR;V$1("Promise"),He$1({target:"Promise",stat:!0,forced:zi},{resolve:function(t){return function(t,e){if(Ut$1(t),W$1(e)&&e.constructor===t)return e;var n=Ho.f(t);return (0, n.resolve)(e),n.promise}(this,t)}});var _i=String,Ui=function(t){if("Symbol"===Qe$1(t))throw new TypeError("Cannot convert a Symbol value to a string");return _i(t)},Bi=function(){var t=Ut$1(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},Gi=RegExp.prototype,Wi=Qt$1.PROPER,Vi="toString",Hi=RegExp.prototype,Ki=Hi[Vi],Xi=m$1((function(){return "/a/b"!==Ki.call({source:"a",flags:"b"})})),Yi=Wi&&Ki.name!==Vi;(Xi||Yi)&&ye$1(Hi,Vi,(function(){var t=Ut$1(this),e=Ui(t.source),n=Ui(function(t){var e=t.flags;return void 0!==e||"flags"in Gi||mt$1(t,"flags")||!H$1(Gi,t)?e:O$1(Bi,t)}(t));return "/"+e+"/"+n}),{unsafe:!0});var $i=A$1("".charAt),qi=A$1("".charCodeAt),Ji=A$1("".slice),Qi=function(t){return function(e,n){var r,o,i=Ui(_$1(e)),u=we$1(n),a=i.length;return u<0||u>=a?t?"":void 0:(r=qi(i,u))<55296||r>56319||u+1===a||(o=qi(i,u+1))<56320||o>57343?t?$i(i,u):r:t?Ji(i,u,u+2):o-56320+(r-55296<<10)+65536}},Zi={codeAt:Qi(!1),charAt:Qi(!0)}.charAt,tu="String Iterator",eu=de$1.set,nu=de$1.getterFor(tu);hr(String,"String",(function(t){eu(this,{type:tu,string:Ui(t),index:0});}),(function(){var t,e=nu(this),n=e.string,r=e.index;return r>=n.length?yr(void 0,!0):(t=Zi(n,r),e.index+=t.length,yr(t,!1))}));var ru=!m$1((function(){return Object.isExtensible(Object.preventExtensions({}))})),ou=function(t,e,n){for(var r in e)ye$1(t,r,e[r],n);return t},iu=Ne$1.f,uu="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],au={f:function(t){return uu&&"Window"===k$1(t)?function(t){try{return iu(t)}catch(t){return sn$1(uu)}}(t):iu(U$1(t))}},cu=m$1((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8});}})),fu=Object.isExtensible,su=m$1((function(){fu(1);}))||cu?function(t){return !!W$1(t)&&((!cu||"ArrayBuffer"!==k$1(t))&&(!fu||fu(t)))}:fu,lu=v$1((function(t){var e=Xt$1.f,n=!1,r=Ot$1("meta"),o=0,i=function(t){e(t,r,{value:{objectID:"O"+o++,weakData:{}}});},u=t.exports={enable:function(){u.enable=function(){},n=!0;var t=Ne$1.f,e=A$1([].splice),o={};o[r]=1,t(o).length&&(Ne$1.f=function(n){for(var o=t(n),i=0,u=o.length;i<u;i++)if(o[i]===r){e(o,i,1);break}return o},He$1({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:au.f}));},fastKey:function(t,e){if(!W$1(t))return "symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!mt$1(t,r)){if(!su(t))return "F";if(!e)return "E";i(t);}return t[r].objectID},getWeakData:function(t,e){if(!mt$1(t,r)){if(!su(t))return !0;if(!e)return !1;i(t);}return t[r].weakData},onFreeze:function(t){return ru&&n&&su(t)&&!mt$1(t,r)&&i(t),t}};ce$1[r]=!0;})),pu=Tt$1("species"),vu=Array,du=function(t,e){return new(function(t){var e;return Ke$1(t)&&(e=t.constructor,(cn$1(e)&&(e===vu||Ke$1(e.prototype))||W$1(e)&&null===(e=e[pu]))&&(e=void 0)),void 0===e?vu:e}(t))(0===e?0:e)},hu=A$1([].push),yu=function(t){var e=1===t,n=2===t,r=3===t,o=4===t,i=6===t,u=7===t,a=5===t||i;return function(c,f,s,l){for(var p,v,d=yt$1(c),h=D$1(d),y=xe$1(h),g=Yr(f,s),m=0,b=l||du,w=e?b(c,y):n||u?b(c,0):void 0;y>m;m++)if((a||m in h)&&(v=g(p=h[m],m,d),t))if(e)w[m]=v;else if(v)switch(t){case 3:return !0;case 5:return p;case 6:return m;case 2:hu(w,p);}else switch(t){case 4:return !1;case 7:hu(w,p);}return i?-1:r||o?o:w}},gu={forEach:yu(0),map:yu(1),filter:yu(2),some:yu(3),every:yu(4),find:yu(5),findIndex:yu(6),filterReject:yu(7)},mu=lu.getWeakData,bu=de$1.set,wu=de$1.getterFor,Su=gu.find,Ou=gu.findIndex,Eu=A$1([].splice),ju=0,xu=function(t){return t.frozen||(t.frozen=new Tu)},Tu=function(){this.entries=[];},Pu=function(t,e){return Su(t.entries,(function(t){return t[0]===e}))};Tu.prototype={get:function(t){var e=Pu(this,t);if(e)return e[1]},has:function(t){return !!Pu(this,t)},set:function(t,e){var n=Pu(this,t);n?n[1]=e:this.entries.push([t,e]);},delete:function(t){var e=Ou(this.entries,(function(e){return e[0]===t}));return ~e&&Eu(this.entries,e,1),!!~e}};var Iu,Ru={getConstructor:function(t,e,n,r){var o=t((function(t,o){zr(t,i),bu(t,{type:e,id:ju++,frozen:null}),F$1(o)||Ii(o,t[r],{that:t,AS_ENTRIES:n});})),i=o.prototype,u=wu(e),a=function(t,e,n){var r=u(t),o=mu(Ut$1(e),!0);return !0===o?xu(r).set(e,n):o[r.id]=n,t};return ou(i,{delete:function(t){var e=u(this);if(!W$1(t))return !1;var n=mu(t);return !0===n?xu(e).delete(t):n&&mt$1(n,e.id)&&delete n[e.id]},has:function(t){var e=u(this);if(!W$1(t))return !1;var n=mu(t);return !0===n?xu(e).has(t):n&&mt$1(n,e.id)}}),ou(i,n?{get:function(t){var e=u(this);if(W$1(t)){var n=mu(t);if(!0===n)return xu(e).get(t);if(n)return n[e.id]}},set:function(t,e){return a(this,t,e)}}:{add:function(t){return a(this,t,!0)}}),o}},Au=de$1.enforce,Cu=Object,Nu=Array.isArray,ku=Cu.isExtensible,Lu=Cu.isFrozen,Mu=Cu.isSealed,Du=Cu.freeze,Fu=Cu.seal,zu=!g$1.ActiveXObject&&"ActiveXObject"in g$1,_u=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Uu=function(t,e,n){var r=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),i=r?"set":"add",u=g$1[t],a=u&&u.prototype,c=u,f={},s=function(t){var e=A$1(a[t]);ye$1(a,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return !(o&&!W$1(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return o&&!W$1(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return !(o&&!W$1(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this});};if(We$1(t,!G$1(u)||!(o||a.forEach&&!m$1((function(){(new u).entries().next();})))))c=n.getConstructor(e,t,r,i),lu.enable();else if(We$1(t,!0)){var l=new c,p=l[i](o?{}:-0,1)!==l,v=m$1((function(){l.has(1);})),d=ki((function(t){new u(t);})),h=!o&&m$1((function(){for(var t=new u,e=5;e--;)t[i](e,e);return !t.has(-0)}));d||((c=e((function(t,e){zr(t,a);var n=function(t,e,n){var r,o;return ir&&G$1(r=e.constructor)&&r!==n&&W$1(o=r.prototype)&&o!==n.prototype&&ir(t,o),t}(new u,t,c);return F$1(e)||Ii(e,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=a,a.constructor=c),(v||h)&&(s("delete"),s("has"),r&&s("get")),(h||p)&&s(i),o&&a.clear&&delete a.clear;}return f[t]=c,He$1({global:!0,constructor:!0,forced:c!==u},f),Zn$1(c,t),o||n.setStrong(c,t,r),c}("WeakMap",_u,Ru),Bu=Uu.prototype,Gu=A$1(Bu.set);if(ie$1)if(zu){Iu=Ru.getConstructor(_u,"WeakMap",!0),lu.enable();var Wu=A$1(Bu.delete),Vu=A$1(Bu.has),Hu=A$1(Bu.get);ou(Bu,{delete:function(t){if(W$1(t)&&!ku(t)){var e=Au(this);return e.frozen||(e.frozen=new Iu),Wu(this,t)||e.frozen.delete(t)}return Wu(this,t)},has:function(t){if(W$1(t)&&!ku(t)){var e=Au(this);return e.frozen||(e.frozen=new Iu),Vu(this,t)||e.frozen.has(t)}return Vu(this,t)},get:function(t){if(W$1(t)&&!ku(t)){var e=Au(this);return e.frozen||(e.frozen=new Iu),Vu(this,t)?Hu(this,t):e.frozen.get(t)}return Hu(this,t)},set:function(t,e){if(W$1(t)&&!ku(t)){var n=Au(this);n.frozen||(n.frozen=new Iu),Vu(this,t)?Gu(this,t,e):n.frozen.set(t,e);}else Gu(this,t,e);return this}});}else ru&&m$1((function(){var t=Du([]);return Gu(new Uu,t,1),!Lu(t)}))&&ou(Bu,{set:function(t,e){var n;return Nu(t)&&(Lu(t)?n=Du:Mu(t)&&(n=Fu)),Gu(this,t,e),n&&n(t),this}});var Ku={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},Xu=kt$1("span").classList,Yu=Xu&&Xu.constructor&&Xu.constructor.prototype,$u=Yu===Object.prototype?void 0:Yu,qu=function(t,e){var n=[][t];return !!n&&m$1((function(){n.call(null,e||function(){return 1},1);}))},Ju=gu.forEach,Qu=qu("forEach")?[].forEach:function(t){return Ju(this,t,arguments.length>1?arguments[1]:void 0)},Zu=function(t){if(t&&t.forEach!==Qu)try{Yt$1(t,"forEach",Qu);}catch(e){t.forEach=Qu;}};for(var ta$1 in Ku)Ku[ta$1]&&Zu(g$1[ta$1]&&g$1[ta$1].prototype);Zu($u);var ea$1=Tt$1("iterator"),na$1=Sr.values,ra$1=function(t,e){if(t){if(t[ea$1]!==na$1)try{Yt$1(t,ea$1,na$1);}catch(e){t[ea$1]=na$1;}if(Zn$1(t,e,!0),Ku[e])for(var n in Sr)if(t[n]!==Sr[n])try{Yt$1(t,n,Sr[n]);}catch(e){t[n]=Sr[n];}}};for(var oa$1 in Ku)ra$1(g$1[oa$1]&&g$1[oa$1].prototype,oa$1);ra$1($u,"DOMTokenList");var ia$1=new WeakMap;function ua$1(t){return t.getMenuConfig("uploadImage")}function aa$1(t,e){return gn$1(this,void 0,void 0,(function(){return mn$1(this,(function(n){return [2,new Promise((function(n){var o=new FileReader;o.readAsDataURL(e),o.onload=function(){var i=o.result;if(i){var u=i.toString(),a=0===u.indexOf("data:image")?"":u;ya$3(t,u,e.name,a),n("ok");}};}))]}))}))}function ca$1(t,n){return gn$1(this,void 0,void 0,(function(){var o,i,u,a;return mn$1(this,(function(c){switch(c.label){case 0:return o=function(t){var n=ia$1.get(t);if(null!=n)return n;var o=ua$1(t),i=o.onSuccess,u=o.onProgress,a=o.onFailed,c=o.customInsert,f=o.onError;return n=lg(yn$1(yn$1({},o),{onProgress:function(e){t.showProgressBar(e),u&&u(e);},onSuccess:function(e,n){if(c)return c(n,(function(e,n,o){return ya$3(t,e,n,o)})),void i(e,n);var o=n.errno,u=void 0===o?1:o,f=n.data,s=void 0===f?{}:f;if(0===u){if(Array.isArray(s))s.forEach((function(e){var n=e.url,o=void 0===n?"":n,i=e.alt,u=void 0===i?"":i,a=e.href;ya$3(t,o,u,void 0===a?"":a);}));else {var l=s.url,p=void 0===l?"":l,v=s.alt,d=void 0===v?"":v,h=s.href;ya$3(t,p,d,void 0===h?"":h);}i(e,n);}else a(e,n);},onError:function(t,e,n){f(t,e,n);}})),ia$1.set(t,n),n}(t),i=n.name,u=n.type,a=n.size,o.addFile({name:i,type:u,size:a,data:n}),[4,o.upload()];case 1:return c.sent(),[2]}}))}))}function fa$1(t,e){var n,o;return gn$1(this,void 0,void 0,(function(){var i,u,a,c,f,s,l,p,v;return mn$1(this,(function(d){switch(d.label){case 0:if(null==e)return [2];i=Array.prototype.slice.call(e),u=ua$1(t),a=u.customUpload,c=u.base64LimitSize,d.label=1;case 1:d.trys.push([1,11,12,17]),f=wn$1(i),d.label=2;case 2:return [4,f.next()];case 3:return (s=d.sent()).done?[3,10]:(l=s.value,p=l.size,c&&p<=c?[4,aa$1(t,l)]:[3,5]);case 4:return d.sent(),[3,9];case 5:return a?[4,a(l,(function(e,n,o){return ya$3(t,e,n,o)}))]:[3,7];case 6:return d.sent(),[3,9];case 7:return [4,ca$1(t,l)];case 8:d.sent(),d.label=9;case 9:return [3,2];case 10:return [3,17];case 11:return v=d.sent(),n={error:v},[3,17];case 12:return d.trys.push([12,,15,16]),s&&!s.done&&(o=f.return)?[4,o.call(f)]:[3,14];case 13:d.sent(),d.label=14;case 14:return [3,16];case 15:if(n)throw n.error;return [7];case 16:return [7];case 17:return [2]}}))}))}var sa$1=A$1([].join),la$1=D$1!==Object||!qu("join",",");He$1({target:"Array",proto:!0,forced:la$1},{join:function(t){return sa$1(U$1(this),void 0===t?",":t)}});var pa$1,va,da$1=g$1.RegExp,ha$1=m$1((function(){var t=da$1("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),ya=ha$1||m$1((function(){return !da$1("a","y").sticky})),ga$1={BROKEN_CARET:ha$1||m$1((function(){var t=da$1("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:ya,UNSUPPORTED_Y:ha$1},ma$1=g$1.RegExp,ba$1=m$1((function(){var t=ma$1(".","s");return !(t.dotAll&&t.test("\n")&&"s"===t.flags)})),wa=g$1.RegExp,Sa$1=m$1((function(){var t=wa("(?<a>b)","g");return "b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Oa=de$1.get,Ea$1=dt$1("native-string-replace",String.prototype.replace),ja=RegExp.prototype.exec,xa=ja,Ta$1=A$1("".charAt),Pa=A$1("".indexOf),Ia=A$1("".replace),Ra=A$1("".slice),Aa=(va=/b*/g,O$1(ja,pa$1=/a/,"a"),O$1(ja,va,"a"),0!==pa$1.lastIndex||0!==va.lastIndex),Ca=ga$1.BROKEN_CARET,Na=void 0!==/()??/.exec("")[1];(Aa||Na||Ca||ba$1||Sa$1)&&(xa=function(t){var e,n,r,o,i,u,a,c=this,f=Oa(c),s=Ui(t),l=f.raw;if(l)return l.lastIndex=c.lastIndex,e=O$1(xa,l,s),c.lastIndex=l.lastIndex,e;var p=f.groups,v=Ca&&c.sticky,d=O$1(Bi,c),h=c.source,y=0,g=s;if(v&&(d=Ia(d,"y",""),-1===Pa(d,"g")&&(d+="g"),g=Ra(s,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==Ta$1(s,c.lastIndex-1))&&(h="(?: "+h+")",g=" "+g,y++),n=new RegExp("^(?:"+h+")",d)),Na&&(n=new RegExp("^"+h+"$(?!\\s)",d)),Aa&&(r=c.lastIndex),o=O$1(ja,v?n:c,g),v?o?(o.input=Ra(o.input,y),o[0]=Ra(o[0],y),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:Aa&&o&&(c.lastIndex=c.global?o.index+o[0].length:r),Na&&o&&o.length>1&&O$1(Ea$1,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0);})),o&&p)for(o.groups=u=kn$1(null),i=0;i<p.length;i++)u[(a=p[i])[0]]=o[a[1]];return o});He$1({target:"RegExp",proto:!0,forced:/./.exec!==xa},{exec:xa});append&&($$6.fn.append=append),on$7&&($$6.fn.on=on$7),remove&&($$6.fn.remove=remove),val&&($$6.fn.val=val),click&&($$6.fn.click=click),hide&&($$6.fn.hide=hide);var ka=function(){function t(){this.title=Wp$1("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 ba$4(t)},t.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadImage")},t.prototype.exec=function(t,e){var n=this.getMenuConfig(t),o=n.allowedFileTypes,u=void 0===o?[]:o,a=n.customBrowseAndUpload;if(a)a((function(e,n,o){return ya$3(t,e,n,o)}));else {var c="";u.length>0&&(c='accept="'+u.join(", ")+'"');var f=$$6("body"),s=$$6('<input type="file" '+c+" multiple/>");s.hide(),f.append(s),s.click(),s.on("change",(function(){var e=s[0].files;fa$1(t,e);}));}},t}();var La={menus:[{key:"uploadImage",factory:function(){return new ka},config:{server:"",fieldName:"wangeditor-uploaded-image",maxFileSize:2097152,maxNumberOfFiles:100,allowedFileTypes:["image/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:1e4,onBeforeUpload:function(t){return t},onProgress:function(t){},onSuccess:function(t,e){},onFailed:function(t,e){console.error("'"+t.name+"' upload failed",e);},onError:function(t,e,n){console.error("'"+t.name+"' upload error",n);},base64LimitSize:0}}],editorPlugin:function(t){var e=t.insertData,n=t;return n.insertData=function(r){if(ba$4(n))e(r);else if(r.getData("text/plain"))e(r);else {var i=r.files;if(i.length<=0)e(r);else Array.prototype.slice.call(i).some((function(t){return "image"===function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value);}catch(t){o={error:t};}finally{try{r&&!r.done&&(n=i.return)&&n.call(i);}finally{if(o)throw o.error}}return u}(t.type.split("/"),1)[0]}))?fa$1(t,i):e(r);}},n}};
17556
+ Wp$1("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),Wp$1("zh-CN",{uploadImgModule:{uploadImage:"上传图片",uploadError:"{{fileName}} 上传出错"}});var p$1=function(t){try{return !!t()}catch(t){return !0}},v$1=!p$1((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),d$1=!p$1((function(){var t=function(){}.bind();return "function"!=typeof t||t.hasOwnProperty("prototype")})),h$1=Function.prototype,y$1=h$1.call,g$1=d$1&&h$1.bind.bind(y$1,y$1),m$1=d$1?g$1:function(t){return function(){return y$1.apply(t,arguments)}},b$1=function(t){return null==t},w$1=TypeError,S$1=function(t){if(b$1(t))throw new w$1("Can't call method on "+t);return t},O$1=Object,E$1=function(t){return O$1(S$1(t))},j$1=m$1({}.hasOwnProperty),x$1=Object.hasOwn||function(t,e){return j$1(E$1(t),e)},T$1=Function.prototype,P$1=v$1&&Object.getOwnPropertyDescriptor,I$1=x$1(T$1,"name"),R$1={EXISTS:I$1,PROPER:I$1&&"something"===function(){}.name,CONFIGURABLE:I$1&&(!v$1||v$1&&P$1(T$1,"name").configurable)},A$1="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function C$1(t){var e={exports:{}};return t(e,e.exports),e.exports}var N$1="object"==typeof document&&document.all,k$1=void 0===N$1&&void 0!==N$1?function(t){return "function"==typeof t||t===N$1}:function(t){return "function"==typeof t},L$1=function(t){return t&&t.Math===Math&&t},M$1=L$1("object"==typeof globalThis&&globalThis)||L$1("object"==typeof window&&window)||L$1("object"==typeof self&&self)||L$1("object"==typeof A$1&&A$1)||L$1("object"==typeof A$1&&A$1)||function(){return this}()||Function("return this")(),D$1=Object.defineProperty,F$1=function(t,e){try{D$1(M$1,t,{value:e,configurable:!0,writable:!0});}catch(n){M$1[t]=e;}return e},z$1=C$1((function(t){var e="__core-js_shared__",n=t.exports=M$1[e]||F$1(e,{});(n.versions||(n.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});})),_$1=m$1(Function.toString);k$1(z$1.inspectSource)||(z$1.inspectSource=function(t){return _$1(t)});var U$1,B$1,G$1=z$1.inspectSource,W$1=M$1.WeakMap,V$1=k$1(W$1)&&/native code/.test(String(W$1)),H$1=function(t){return "object"==typeof t?null!==t:k$1(t)},K$1=M$1.document,X$1=H$1(K$1)&&H$1(K$1.createElement),Y$1=function(t){return X$1?K$1.createElement(t):{}},$$1=!v$1&&!p$1((function(){return 7!==Object.defineProperty(Y$1("div"),"a",{get:function(){return 7}}).a})),q$1=v$1&&p$1((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),J$1=String,Q$1=TypeError,Z$1=function(t){if(H$1(t))return t;throw new Q$1(J$1(t)+" is not an object")},tt$1=Function.prototype.call,et$1=d$1?tt$1.bind(tt$1):function(){return tt$1.apply(tt$1,arguments)},nt$1=function(t,e){return arguments.length<2?(n=M$1[t],k$1(n)?n:void 0):M$1[t]&&M$1[t][e];var n;},rt$1=m$1({}.isPrototypeOf),ot$1=M$1.navigator,it$1=ot$1&&ot$1.userAgent,ut$1=it$1?String(it$1):"",at$1=M$1.process,ct$1=M$1.Deno,ft$1=at$1&&at$1.versions||ct$1&&ct$1.version,st$1=ft$1&&ft$1.v8;st$1&&(B$1=(U$1=st$1.split("."))[0]>0&&U$1[0]<4?1:+(U$1[0]+U$1[1])),!B$1&&ut$1&&(!(U$1=ut$1.match(/Edge\/(\d+)/))||U$1[1]>=74)&&(U$1=ut$1.match(/Chrome\/(\d+)/))&&(B$1=+U$1[1]);var lt$1,pt$1,vt$1,dt$1=B$1,ht$1=M$1.String,yt$1=!!Object.getOwnPropertySymbols&&!p$1((function(){var t=Symbol("symbol detection");return !ht$1(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&dt$1&&dt$1<41})),gt$1=yt$1&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,mt$1=Object,bt$1=gt$1?function(t){return "symbol"==typeof t}:function(t){var e=nt$1("Symbol");return k$1(e)&&rt$1(e.prototype,mt$1(t))},wt$1=String,St$1=function(t){try{return wt$1(t)}catch(t){return "Object"}},Ot$1=TypeError,Et$1=function(t){if(k$1(t))return t;throw new Ot$1(St$1(t)+" is not a function")},jt$1=function(t,e){var n=t[e];return b$1(n)?void 0:Et$1(n)},xt$1=TypeError,Tt$1=function(t,e){return z$1[t]||(z$1[t]=e||{})},Pt$1=0,It$1=Math.random(),Rt$1=m$1(1..toString),At$1=function(t){return "Symbol("+(void 0===t?"":t)+")_"+Rt$1(++Pt$1+It$1,36)},Ct$1=M$1.Symbol,Nt$1=Tt$1("wks"),kt$1=gt$1?Ct$1.for||Ct$1:Ct$1&&Ct$1.withoutSetter||At$1,Lt$1=function(t){return x$1(Nt$1,t)||(Nt$1[t]=yt$1&&x$1(Ct$1,t)?Ct$1[t]:kt$1("Symbol."+t)),Nt$1[t]},Mt$1=TypeError,Dt$1=Lt$1("toPrimitive"),Ft$1=function(t,e){if(!H$1(t)||bt$1(t))return t;var n,r=jt$1(t,Dt$1);if(r){if(void 0===e&&(e="default"),n=et$1(r,t,e),!H$1(n)||bt$1(n))return n;throw new Mt$1("Can't convert object to primitive value")}return void 0===e&&(e="number"),function(t,e){var n,r;if("string"===e&&k$1(n=t.toString)&&!H$1(r=et$1(n,t)))return r;if(k$1(n=t.valueOf)&&!H$1(r=et$1(n,t)))return r;if("string"!==e&&k$1(n=t.toString)&&!H$1(r=et$1(n,t)))return r;throw new xt$1("Can't convert object to primitive value")}(t,e)},zt$1=function(t){var e=Ft$1(t,"string");return bt$1(e)?e:e+""},_t$1=TypeError,Ut$1=Object.defineProperty,Bt$1=Object.getOwnPropertyDescriptor,Gt$1="enumerable",Wt$1="configurable",Vt$1="writable",Ht$1={f:v$1?q$1?function(t,e,n){if(Z$1(t),e=zt$1(e),Z$1(n),"function"==typeof t&&"prototype"===e&&"value"in n&&Vt$1 in n&&!n[Vt$1]){var r=Bt$1(t,e);r&&r[Vt$1]&&(t[e]=n.value,n={configurable:Wt$1 in n?n[Wt$1]:r[Wt$1],enumerable:Gt$1 in n?n[Gt$1]:r[Gt$1],writable:!1});}return Ut$1(t,e,n)}:Ut$1:function(t,e,n){if(Z$1(t),e=zt$1(e),Z$1(n),$$1)try{return Ut$1(t,e,n)}catch(t){}if("get"in n||"set"in n)throw new _t$1("Accessors not supported");return "value"in n&&(t[e]=n.value),t}},Kt$1=function(t,e){return {enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},Xt$1=v$1?function(t,e,n){return Ht$1.f(t,e,Kt$1(1,n))}:function(t,e,n){return t[e]=n,t},Yt$1=Tt$1("keys"),$t$1=function(t){return Yt$1[t]||(Yt$1[t]=At$1(t))},qt$1={},Jt$1="Object already initialized",Qt$1=M$1.TypeError,Zt$1=M$1.WeakMap;if(V$1||z$1.state){var te$1=z$1.state||(z$1.state=new Zt$1);te$1.get=te$1.get,te$1.has=te$1.has,te$1.set=te$1.set,lt$1=function(t,e){if(te$1.has(t))throw new Qt$1(Jt$1);return e.facade=t,te$1.set(t,e),e},pt$1=function(t){return te$1.get(t)||{}},vt$1=function(t){return te$1.has(t)};}else {var ee$1=$t$1("state");qt$1[ee$1]=!0,lt$1=function(t,e){if(x$1(t,ee$1))throw new Qt$1(Jt$1);return e.facade=t,Xt$1(t,ee$1,e),e},pt$1=function(t){return x$1(t,ee$1)?t[ee$1]:{}},vt$1=function(t){return x$1(t,ee$1)};}var ne$1={set:lt$1,get:pt$1,has:vt$1,enforce:function(t){return vt$1(t)?pt$1(t):lt$1(t,{})},getterFor:function(t){return function(e){var n;if(!H$1(e)||(n=pt$1(e)).type!==t)throw new Qt$1("Incompatible receiver, "+t+" required");return n}}},re$1=C$1((function(t){var e=R$1.CONFIGURABLE,n=ne$1.enforce,r=ne$1.get,o=String,i=Object.defineProperty,u=m$1("".slice),a=m$1("".replace),c=m$1([].join),f=v$1&&!p$1((function(){return 8!==i((function(){}),"length",{value:8}).length})),s=String(String).split("String"),l=t.exports=function(t,r,l){"Symbol("===u(o(r),0,7)&&(r="["+a(o(r),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),l&&l.getter&&(r="get "+r),l&&l.setter&&(r="set "+r),(!x$1(t,"name")||e&&t.name!==r)&&(v$1?i(t,"name",{value:r,configurable:!0}):t.name=r),f&&l&&x$1(l,"arity")&&t.length!==l.arity&&i(t,"length",{value:l.arity});try{l&&x$1(l,"constructor")&&l.constructor?v$1&&i(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0);}catch(t){}var p=n(t);return x$1(p,"source")||(p.source=c(s,"string"==typeof r?r:"")),t};Function.prototype.toString=l((function(){return k$1(this)&&r(this).source||G$1(this)}),"toString");})),oe$1=function(t,e,n){return n.get&&re$1(n.get,e,{getter:!0}),n.set&&re$1(n.set,e,{setter:!0}),Ht$1.f(t,e,n)},ie$1=R$1.EXISTS,ue$1=Function.prototype,ae$1=m$1(ue$1.toString),ce$1=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,fe$1=m$1(ce$1.exec);v$1&&!ie$1&&oe$1(ue$1,"name",{configurable:!0,get:function(){try{return fe$1(ce$1,ae$1(this))[1]}catch(t){return ""}}});var se$1={}.propertyIsEnumerable,le$1=Object.getOwnPropertyDescriptor,pe$1={f:le$1&&!se$1.call({1:2},1)?function(t){var e=le$1(this,t);return !!e&&e.enumerable}:se$1},ve$1=m$1({}.toString),de$1=m$1("".slice),he$1=function(t){return de$1(ve$1(t),8,-1)},ye$1=Object,ge$1=m$1("".split),me$1=p$1((function(){return !ye$1("z").propertyIsEnumerable(0)}))?function(t){return "String"===he$1(t)?ge$1(t,""):ye$1(t)}:ye$1,be$1=function(t){return me$1(S$1(t))},we$1=Object.getOwnPropertyDescriptor,Se$1={f:v$1?we$1:function(t,e){if(t=be$1(t),e=zt$1(e),$$1)try{return we$1(t,e)}catch(t){}if(x$1(t,e))return Kt$1(!et$1(pe$1.f,t,e),t[e])}},Oe$1=function(t,e,n,r){r||(r={});var o=r.enumerable,i=void 0!==r.name?r.name:e;if(k$1(n)&&re$1(n,i,r),r.global)o?t[e]=n:F$1(e,n);else {try{r.unsafe?t[e]&&(o=!0):delete t[e];}catch(t){}o?t[e]=n:Ht$1.f(t,e,{value:n,enumerable:!1,configurable:!r.nonConfigurable,writable:!r.nonWritable});}return t},Ee$1=Math.ceil,je$1=Math.floor,xe$1=Math.trunc||function(t){var e=+t;return (e>0?je$1:Ee$1)(e)},Te$1=function(t){var e=+t;return e!=e||0===e?0:xe$1(e)},Pe$1=Math.max,Ie$1=Math.min,Re$1=function(t,e){var n=Te$1(t);return n<0?Pe$1(n+e,0):Ie$1(n,e)},Ae$1=Math.min,Ce$1=function(t){return e=t.length,(n=Te$1(e))>0?Ae$1(n,9007199254740991):0;var e,n;},Ne$1=function(t){return function(e,n,r){var o=be$1(e),i=Ce$1(o);if(0===i)return !t&&-1;var u,a=Re$1(r,i);if(t&&n!=n){for(;i>a;)if((u=o[a++])!=u)return !0}else for(;i>a;a++)if((t||a in o)&&o[a]===n)return t||a||0;return !t&&-1}},ke$1={includes:Ne$1(!0),indexOf:Ne$1(!1)}.indexOf,Le$1=m$1([].push),Me$1=function(t,e){var n,r=be$1(t),o=0,i=[];for(n in r)!x$1(qt$1,n)&&x$1(r,n)&&Le$1(i,n);for(;e.length>o;)x$1(r,n=e[o++])&&(~ke$1(i,n)||Le$1(i,n));return i},De$1=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Fe$1=De$1.concat("length","prototype"),ze$1={f:Object.getOwnPropertyNames||function(t){return Me$1(t,Fe$1)}},_e$1={f:Object.getOwnPropertySymbols},Ue$1=m$1([].concat),Be$1=nt$1("Reflect","ownKeys")||function(t){var e=ze$1.f(Z$1(t)),n=_e$1.f;return n?Ue$1(e,n(t)):e},Ge$1=function(t,e,n){for(var r=Be$1(e),o=Ht$1.f,i=Se$1.f,u=0;u<r.length;u++){var a=r[u];x$1(t,a)||n&&x$1(n,a)||o(t,a,i(e,a));}},We$1=/#|\.prototype\./,Ve$1=function(t,e){var n=Ke$1[He$1(t)];return n===Ye$1||n!==Xe$1&&(k$1(e)?p$1(e):!!e)},He$1=Ve$1.normalize=function(t){return String(t).replace(We$1,".").toLowerCase()},Ke$1=Ve$1.data={},Xe$1=Ve$1.NATIVE="N",Ye$1=Ve$1.POLYFILL="P",$e$1=Ve$1,qe$1=Se$1.f,Je$1=function(t,e){var n,r,o,i,u,a=t.target,c=t.global,f=t.stat;if(n=c?M$1:f?M$1[a]||F$1(a,{}):M$1[a]&&M$1[a].prototype)for(r in e){if(i=e[r],o=t.dontCallGetSet?(u=qe$1(n,r))&&u.value:n[r],!$e$1(c?r:a+(f?".":"#")+r,t.forced)&&void 0!==o){if(typeof i==typeof o)continue;Ge$1(i,o);}(t.sham||o&&o.sham)&&Xt$1(i,"sham",!0),Oe$1(n,r,i,t);}},Qe$1=function(t,e){var n=[][t];return !!n&&p$1((function(){n.call(null,e||function(){return 1},1);}))},Ze$1=m$1([].join),tn$1=me$1!==Object||!Qe$1("join",",");Je$1({target:"Array",proto:!0,forced:tn$1},{join:function(t){return Ze$1(be$1(this),void 0===t?",":t)}});var en$1={};en$1[Lt$1("toStringTag")]="z";var nn$1,rn$1="[object z]"===String(en$1),on$1=Lt$1("toStringTag"),un$1=Object,an$1="Arguments"===he$1(function(){return arguments}()),cn$1=rn$1?he$1:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=un$1(t),on$1))?n:an$1?he$1(e):"Object"===(r=he$1(e))&&k$1(e.callee)?"Arguments":r},fn$1=String,sn$1=function(t){if("Symbol"===cn$1(t))throw new TypeError("Cannot convert a Symbol value to a string");return fn$1(t)},ln$1=function(){var t=Z$1(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e},pn$1=M$1.RegExp,vn$1=p$1((function(){var t=pn$1("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),dn$1=vn$1||p$1((function(){return !pn$1("a","y").sticky})),hn$1={BROKEN_CARET:vn$1||p$1((function(){var t=pn$1("^r","gy");return t.lastIndex=2,null!==t.exec("str")})),MISSED_STICKY:dn$1,UNSUPPORTED_Y:vn$1},yn$1=Object.keys||function(t){return Me$1(t,De$1)},gn$1=v$1&&!q$1?Object.defineProperties:function(t,e){Z$1(t);for(var n,r=be$1(e),o=yn$1(e),i=o.length,u=0;i>u;)Ht$1.f(t,n=o[u++],r[n]);return t},mn$1={f:gn$1},bn$1=nt$1("document","documentElement"),wn$1="prototype",Sn$1="script",On$1=$t$1("IE_PROTO"),En$1=function(){},jn$1=function(t){return "<"+Sn$1+">"+t+"</"+Sn$1+">"},xn$1=function(t){t.write(jn$1("")),t.close();var e=t.parentWindow.Object;return t=null,e},Tn$1=function(){try{nn$1=new ActiveXObject("htmlfile");}catch(t){}var t,e,n;Tn$1="undefined"!=typeof document?document.domain&&nn$1?xn$1(nn$1):(e=Y$1("iframe"),n="java"+Sn$1+":",e.style.display="none",bn$1.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(jn$1("document.F=Object")),t.close(),t.F):xn$1(nn$1);for(var r=De$1.length;r--;)delete Tn$1[wn$1][De$1[r]];return Tn$1()};qt$1[On$1]=!0;var Pn$1,In$1,Rn$1=Object.create||function(t,e){var n;return null!==t?(En$1[wn$1]=Z$1(t),n=new En$1,En$1[wn$1]=null,n[On$1]=t):n=Tn$1(),void 0===e?n:mn$1.f(n,e)},An$1=M$1.RegExp,Cn$1=p$1((function(){var t=An$1(".","s");return !(t.dotAll&&t.test("\n")&&"s"===t.flags)})),Nn$1=M$1.RegExp,kn$1=p$1((function(){var t=Nn$1("(?<a>b)","g");return "b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")})),Ln$1=ne$1.get,Mn$1=Tt$1("native-string-replace",String.prototype.replace),Dn$1=RegExp.prototype.exec,Fn$1=Dn$1,zn$1=m$1("".charAt),_n$1=m$1("".indexOf),Un$1=m$1("".replace),Bn$1=m$1("".slice),Gn$1=(In$1=/b*/g,et$1(Dn$1,Pn$1=/a/,"a"),et$1(Dn$1,In$1,"a"),0!==Pn$1.lastIndex||0!==In$1.lastIndex),Wn$1=hn$1.BROKEN_CARET,Vn$1=void 0!==/()??/.exec("")[1];(Gn$1||Vn$1||Wn$1||Cn$1||kn$1)&&(Fn$1=function(t){var e,n,r,o,i,u,a,c=this,f=Ln$1(c),s=sn$1(t),l=f.raw;if(l)return l.lastIndex=c.lastIndex,e=et$1(Fn$1,l,s),c.lastIndex=l.lastIndex,e;var p=f.groups,v=Wn$1&&c.sticky,d=et$1(ln$1,c),h=c.source,y=0,g=s;if(v&&(d=Un$1(d,"y",""),-1===_n$1(d,"g")&&(d+="g"),g=Bn$1(s,c.lastIndex),c.lastIndex>0&&(!c.multiline||c.multiline&&"\n"!==zn$1(s,c.lastIndex-1))&&(h="(?: "+h+")",g=" "+g,y++),n=new RegExp("^(?:"+h+")",d)),Vn$1&&(n=new RegExp("^"+h+"$(?!\\s)",d)),Gn$1&&(r=c.lastIndex),o=et$1(Dn$1,v?n:c,g),v?o?(o.input=Bn$1(o.input,y),o[0]=Bn$1(o[0],y),o.index=c.lastIndex,c.lastIndex+=o[0].length):c.lastIndex=0:Gn$1&&o&&(c.lastIndex=c.global?o.index+o[0].length:r),Vn$1&&o&&o.length>1&&et$1(Mn$1,o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0);})),o&&p)for(o.groups=u=Rn$1(null),i=0;i<p.length;i++)u[(a=p[i])[0]]=o[a[1]];return o});Je$1({target:"RegExp",proto:!0,forced:/./.exec!==Fn$1},{exec:Fn$1});append&&($$6.fn.append=append),on$7&&($$6.fn.on=on$7),remove&&($$6.fn.remove=remove),val&&($$6.fn.val=val),click&&($$6.fn.click=click),hide&&($$6.fn.hide=hide);var Hn$1=Ht$1.f,Kn$1=Lt$1("unscopables"),Xn$1=Array.prototype;void 0===Xn$1[Kn$1]&&Hn$1(Xn$1,Kn$1,{configurable:!0,value:Rn$1(null)});var Yn$1,$n$1,qn$1,Jn$1=function(t){Xn$1[Kn$1][t]=!0;},Qn$1={},Zn$1=!p$1((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype})),tr=$t$1("IE_PROTO"),er=Object,nr=er.prototype,rr=Zn$1?er.getPrototypeOf:function(t){var e=E$1(t);if(x$1(e,tr))return e[tr];var n=e.constructor;return k$1(n)&&e instanceof n?n.prototype:e instanceof er?nr:null},or=Lt$1("iterator"),ir=!1;[].keys&&("next"in(qn$1=[].keys())?($n$1=rr(rr(qn$1)))!==Object.prototype&&(Yn$1=$n$1):ir=!0);var ur=!H$1(Yn$1)||p$1((function(){var t={};return Yn$1[or].call(t)!==t}));ur&&(Yn$1={}),k$1(Yn$1[or])||Oe$1(Yn$1,or,(function(){return this}));var ar={IteratorPrototype:Yn$1,BUGGY_SAFARI_ITERATORS:ir},cr=Ht$1.f,fr=Lt$1("toStringTag"),sr=function(t,e,n){t&&!n&&(t=t.prototype),t&&!x$1(t,fr)&&cr(t,fr,{configurable:!0,value:e});},lr=ar.IteratorPrototype,pr=function(){return this},vr=String,dr=TypeError,hr=function(t){if(function(t){return H$1(t)||null===t}(t))return t;throw new dr("Can't set "+vr(t)+" as a prototype")},yr=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=function(t,e,n){try{return m$1(Et$1(Object.getOwnPropertyDescriptor(t,e)[n]))}catch(t){}}(Object.prototype,"__proto__","set"),t(n,[]),e=n instanceof Array;}catch(t){}return function(n,r){return S$1(n),hr(r),H$1(n)?(e?t(n,r):n.__proto__=r,n):n}}():void 0),gr=R$1.PROPER,mr=R$1.CONFIGURABLE,br=ar.IteratorPrototype,wr=ar.BUGGY_SAFARI_ITERATORS,Sr=Lt$1("iterator"),Or="keys",Er="values",jr="entries",xr=function(){return this},Tr=function(t,e,n,r,o,i,u){!function(t,e,n,r){var o=e+" Iterator";t.prototype=Rn$1(lr,{next:Kt$1(+!r,n)}),sr(t,o,!1),Qn$1[o]=pr;}(n,e,r);var a,c,f,s=function(t){if(t===o&&h)return h;if(!wr&&t&&t in v)return v[t];switch(t){case Or:case Er:case jr:return function(){return new n(this,t)}}return function(){return new n(this)}},l=e+" Iterator",p=!1,v=t.prototype,d=v[Sr]||v["@@iterator"]||o&&v[o],h=!wr&&d||s(o),y="Array"===e&&v.entries||d;if(y&&(a=rr(y.call(new t)))!==Object.prototype&&a.next&&(rr(a)!==br&&(yr?yr(a,br):k$1(a[Sr])||Oe$1(a,Sr,xr)),sr(a,l,!0)),gr&&o===Er&&d&&d.name!==Er&&(mr?Xt$1(v,"name",Er):(p=!0,h=function(){return et$1(d,this)})),o)if(c={values:s(Er),keys:i?h:s(Or),entries:s(jr)},u)for(f in c)(wr||p||!(f in v))&&Oe$1(v,f,c[f]);else Je$1({target:e,proto:!0,forced:wr||p},c);return v[Sr]!==h&&Oe$1(v,Sr,h,{name:o}),Qn$1[e]=h,c},Pr=function(t,e){return {value:t,done:e}},Ir=Ht$1.f,Rr="Array Iterator",Ar=ne$1.set,Cr=ne$1.getterFor(Rr),Nr=Tr(Array,"Array",(function(t,e){Ar(this,{type:Rr,target:be$1(t),index:0,kind:e});}),(function(){var t=Cr(this),e=t.target,n=t.index++;if(!e||n>=e.length)return t.target=null,Pr(void 0,!0);switch(t.kind){case"keys":return Pr(n,!1);case"values":return Pr(e[n],!1)}return Pr([n,e[n]],!1)}),"values"),kr=Qn$1.Arguments=Qn$1.Array;if(Jn$1("keys"),Jn$1("values"),Jn$1("entries"),v$1&&"values"!==kr.name)try{Ir(kr,"name",{value:"values"});}catch(t){}var Lr=Array.isArray||function(t){return "Array"===he$1(t)},Mr=function(){},Dr=nt$1("Reflect","construct"),Fr=/^\s*(?:class|function)\b/,zr=m$1(Fr.exec),_r=!Fr.test(Mr),Ur=function(t){if(!k$1(t))return !1;try{return Dr(Mr,[],t),!0}catch(t){return !1}},Br=function(t){if(!k$1(t))return !1;switch(cn$1(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return !1}try{return _r||!!zr(Fr,G$1(t))}catch(t){return !0}};Br.sham=!0;var Gr,Wr=!Dr||p$1((function(){var t;return Ur(Ur.call)||!Ur(Object)||!Ur((function(){t=!0;}))||t}))?Br:Ur,Vr=Lt$1("species"),Hr=m$1([].slice),Kr=(Gr="slice",dt$1>=51||!p$1((function(){var t=[];return (t.constructor={})[Vr]=function(){return {foo:1}},1!==t[Gr](Boolean).foo}))),Xr=Lt$1("species"),Yr=Array,$r=Math.max;Je$1({target:"Array",proto:!0,forced:!Kr},{slice:function(t,e){var n,r,o,i,u,a,c=be$1(this),f=Ce$1(c),s=Re$1(t,f),l=Re$1(void 0===e?f:e,f);if(Lr(c)&&(n=c.constructor,(Wr(n)&&(n===Yr||Lr(n.prototype))||H$1(n)&&null===(n=n[Xr]))&&(n=void 0),n===Yr||void 0===n))return Hr(c,s,l);for(r=new(void 0===n?Yr:n)($r(l-s,0)),o=0;s<l;s++,o++)s in c&&(i=r,u=o,a=c[s],v$1?Ht$1.f(i,u,Kt$1(0,a)):i[u]=a);return r.length=o,r}});var qr=rn$1?{}.toString:function(){return "[object "+cn$1(this)+"]"};rn$1||Oe$1(Object.prototype,"toString",qr,{unsafe:!0});var Jr,Qr,Zr,to,eo=function(t){return ut$1.slice(0,t.length)===t},no=eo("Bun/")?"BUN":eo("Cloudflare-Workers")?"CLOUDFLARE":eo("Deno/")?"DENO":eo("Node.js/")?"NODE":M$1.Bun&&"string"==typeof Bun.version?"BUN":M$1.Deno&&"object"==typeof Deno.version?"DENO":"process"===he$1(M$1.process)?"NODE":M$1.window&&M$1.document?"BROWSER":"REST",ro="NODE"===no,oo=Lt$1("species"),io=TypeError,uo=function(t,e){if(rt$1(e,t))return t;throw new io("Incorrect invocation")},ao=TypeError,co=Lt$1("species"),fo=function(t,e){var n,r=Z$1(t).constructor;return void 0===r||b$1(n=Z$1(r)[co])?e:function(t){if(Wr(t))return t;throw new ao(St$1(t)+" is not a constructor")}(n)},so=Function.prototype,lo=so.apply,po=so.call,vo="object"==typeof Reflect&&Reflect.apply||(d$1?po.bind(lo):function(){return po.apply(lo,arguments)}),ho=function(t){if("Function"===he$1(t))return m$1(t)},yo=ho(ho.bind),go=function(t,e){return Et$1(t),void 0===e?t:d$1?yo(t,e):function(){return t.apply(e,arguments)}},mo=TypeError,bo=/(?:ipad|iphone|ipod).*applewebkit/i.test(ut$1),wo=M$1.setImmediate,So=M$1.clearImmediate,Oo=M$1.process,Eo=M$1.Dispatch,jo=M$1.Function,xo=M$1.MessageChannel,To=M$1.String,Po=0,Io={},Ro="onreadystatechange";p$1((function(){Jr=M$1.location;}));var Ao=function(t){if(x$1(Io,t)){var e=Io[t];delete Io[t],e();}},Co=function(t){return function(){Ao(t);}},No=function(t){Ao(t.data);},ko=function(t){M$1.postMessage(To(t),Jr.protocol+"//"+Jr.host);};wo&&So||(wo=function(t){!function(t,e){if(t<e)throw new mo("Not enough arguments")}(arguments.length,1);var e=k$1(t)?t:jo(t),n=Hr(arguments,1);return Io[++Po]=function(){vo(e,void 0,n);},Qr(Po),Po},So=function(t){delete Io[t];},ro?Qr=function(t){Oo.nextTick(Co(t));}:Eo&&Eo.now?Qr=function(t){Eo.now(Co(t));}:xo&&!bo?(to=(Zr=new xo).port2,Zr.port1.onmessage=No,Qr=go(to.postMessage,to)):M$1.addEventListener&&k$1(M$1.postMessage)&&!M$1.importScripts&&Jr&&"file:"!==Jr.protocol&&!p$1(ko)?(Qr=ko,M$1.addEventListener("message",No,!1)):Qr=Ro in Y$1("script")?function(t){bn$1.appendChild(Y$1("script"))[Ro]=function(){bn$1.removeChild(this),Ao(t);};}:function(t){setTimeout(Co(t),0);});var Lo={set:wo,clear:So},Mo=Object.getOwnPropertyDescriptor,Do=function(){this.head=null,this.tail=null;};Do.prototype={add:function(t){var e={item:t,next:null},n=this.tail;n?n.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}};var Fo,zo,_o,Uo,Bo,Go=Do,Wo=/ipad|iphone|ipod/i.test(ut$1)&&"undefined"!=typeof Pebble,Vo=/web0s(?!.*chrome)/i.test(ut$1),Ho=Lo.set,Ko=M$1.MutationObserver||M$1.WebKitMutationObserver,Xo=M$1.document,Yo=M$1.process,$o=M$1.Promise,qo=function(t){if(!v$1)return M$1[t];var e=Mo(M$1,t);return e&&e.value}("queueMicrotask");if(!qo){var Jo=new Go,Qo=function(){var t,e;for(ro&&(t=Yo.domain)&&t.exit();e=Jo.get();)try{e();}catch(t){throw Jo.head&&Fo(),t}t&&t.enter();};bo||ro||Vo||!Ko||!Xo?!Wo&&$o&&$o.resolve?((Uo=$o.resolve(void 0)).constructor=$o,Bo=go(Uo.then,Uo),Fo=function(){Bo(Qo);}):ro?Fo=function(){Yo.nextTick(Qo);}:(Ho=go(Ho,M$1),Fo=function(){Ho(Qo);}):(zo=!0,_o=Xo.createTextNode(""),new Ko(Qo).observe(_o,{characterData:!0}),Fo=function(){_o.data=zo=!zo;}),qo=function(t){Jo.head||Fo(),Jo.add(t);};}var Zo=qo,ti=function(t){try{return {error:!1,value:t()}}catch(t){return {error:!0,value:t}}},ei=M$1.Promise;ei&&ei.prototype;var ni,ri,oi,ii,ui=Lt$1("species"),ai=!1,ci=k$1(M$1.PromiseRejectionEvent),fi=$e$1("Promise",(function(){var t=G$1(ei),e=t!==String(ei);if(!e&&66===dt$1)return !0;if(!dt$1||dt$1<51||!/native code/.test(t)){var n=new ei((function(t){t(1);})),r=function(t){t((function(){}),(function(){}));};if((n.constructor={})[ui]=r,!(ai=n.then((function(){}))instanceof r))return !0}return !(e||"BROWSER"!==no&&"DENO"!==no||ci)})),si={CONSTRUCTOR:fi,REJECTION_EVENT:ci,SUBCLASSING:ai},li=TypeError,pi=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw new li("Bad Promise constructor");e=t,n=r;})),this.resolve=Et$1(e),this.reject=Et$1(n);},vi={f:function(t){return new pi(t)}},di=Lo.set,hi="Promise",yi=si.CONSTRUCTOR,gi=si.REJECTION_EVENT,mi=si.SUBCLASSING,bi=ne$1.getterFor(hi),wi=ne$1.set,Si=ei&&ei.prototype,Oi=ei,Ei=Si,ji=M$1.TypeError,xi=M$1.document,Ti=M$1.process,Pi=vi.f,Ii=Pi,Ri=!!(xi&&xi.createEvent&&M$1.dispatchEvent),Ai="unhandledrejection",Ci=function(t){var e;return !(!H$1(t)||!k$1(e=t.then))&&e},Ni=function(t,e){var n,r,o,i=e.value,u=1===e.state,a=u?t.ok:t.fail,c=t.resolve,f=t.reject,s=t.domain;try{a?(u||(2===e.rejection&&Fi(e),e.rejection=1),!0===a?n=i:(s&&s.enter(),n=a(i),s&&(s.exit(),o=!0)),n===t.promise?f(new ji("Promise-chain cycle")):(r=Ci(n))?et$1(r,n,c,f):c(n)):f(i);}catch(t){s&&!o&&s.exit(),f(t);}},ki=function(t,e){t.notified||(t.notified=!0,Zo((function(){for(var n,r=t.reactions;n=r.get();)Ni(n,t);t.notified=!1,e&&!t.rejection&&Mi(t);})));},Li=function(t,e,n){var r,o;Ri?((r=xi.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),M$1.dispatchEvent(r)):r={promise:e,reason:n},!gi&&(o=M$1["on"+t])?o(r):t===Ai&&function(t,e){try{1===arguments.length?console.error(t):console.error(t,e);}catch(t){}}("Unhandled promise rejection",n);},Mi=function(t){et$1(di,M$1,(function(){var e,n=t.facade,r=t.value;if(Di(t)&&(e=ti((function(){ro?Ti.emit("unhandledRejection",r,n):Li(Ai,n,r);})),t.rejection=ro||Di(t)?2:1,e.error))throw e.value}));},Di=function(t){return 1!==t.rejection&&!t.parent},Fi=function(t){et$1(di,M$1,(function(){var e=t.facade;ro?Ti.emit("rejectionHandled",e):Li("rejectionhandled",e,t.value);}));},zi=function(t,e,n){return function(r){t(e,r,n);}},_i=function(t,e,n){t.done||(t.done=!0,n&&(t=n),t.value=e,t.state=2,ki(t,!0));},Ui=function(t,e,n){if(!t.done){t.done=!0,n&&(t=n);try{if(t.facade===e)throw new ji("Promise can't be resolved itself");var r=Ci(e);r?Zo((function(){var n={done:!1};try{et$1(r,e,zi(Ui,n,t),zi(_i,n,t));}catch(e){_i(n,e,t);}})):(t.value=e,t.state=1,ki(t,!1));}catch(e){_i({done:!1},e,t);}}};if(yi&&(Ei=(Oi=function(t){uo(this,Ei),Et$1(t),et$1(ni,this);var e=bi(this);try{t(zi(Ui,e),zi(_i,e));}catch(t){_i(e,t);}}).prototype,(ni=function(t){wi(this,{type:hi,done:!1,notified:!1,parent:!1,reactions:new Go,rejection:!1,state:0,value:null});}).prototype=Oe$1(Ei,"then",(function(t,e){var n=bi(this),r=Pi(fo(this,Oi));return n.parent=!0,r.ok=!k$1(t)||t,r.fail=k$1(e)&&e,r.domain=ro?Ti.domain:void 0,0===n.state?n.reactions.add(r):Zo((function(){Ni(r,n);})),r.promise})),ri=function(){var t=new ni,e=bi(t);this.promise=t,this.resolve=zi(Ui,e),this.reject=zi(_i,e);},vi.f=Pi=function(t){return t===Oi||undefined===t?new ri(t):Ii(t)},k$1(ei)&&Si!==Object.prototype)){oi=Si.then,mi||Oe$1(Si,"then",(function(t,e){var n=this;return new Oi((function(t,e){et$1(oi,n,t,e);})).then(t,e)}),{unsafe:!0});try{delete Si.constructor;}catch(t){}yr&&yr(Si,Ei);}Je$1({global:!0,constructor:!0,wrap:!0,forced:yi},{Promise:Oi}),sr(Oi,hi,!1),ii=nt$1(hi),v$1&&ii&&!ii[oo]&&oe$1(ii,oo,{configurable:!0,get:function(){return this}});var Bi=Lt$1("iterator"),Gi=Array.prototype,Wi=Lt$1("iterator"),Vi=function(t){if(!b$1(t))return jt$1(t,Wi)||jt$1(t,"@@iterator")||Qn$1[cn$1(t)]},Hi=TypeError,Ki=function(t,e,n){var r,o;Z$1(t);try{if(!(r=jt$1(t,"return"))){if("throw"===e)throw n;return n}r=et$1(r,t);}catch(t){o=!0,r=t;}if("throw"===e)throw n;if(o)throw r;return Z$1(r),n},Xi=TypeError,Yi=function(t,e){this.stopped=t,this.result=e;},$i=Yi.prototype,qi=function(t,e,n){var r,o,i,u,a,c,f,s,l=n&&n.that,p=!(!n||!n.AS_ENTRIES),v=!(!n||!n.IS_RECORD),d=!(!n||!n.IS_ITERATOR),h=!(!n||!n.INTERRUPTED),y=go(e,l),g=function(t){return r&&Ki(r,"normal",t),new Yi(!0,t)},m=function(t){return p?(Z$1(t),h?y(t[0],t[1],g):y(t[0],t[1])):h?y(t,g):y(t)};if(v)r=t.iterator;else if(d)r=t;else {if(!(o=Vi(t)))throw new Xi(St$1(t)+" is not iterable");if(void 0!==(s=o)&&(Qn$1.Array===s||Gi[Bi]===s)){for(i=0,u=Ce$1(t);u>i;i++)if((a=m(t[i]))&&rt$1($i,a))return a;return new Yi(!1)}r=function(t,e){var n=arguments.length<2?Vi(t):e;if(Et$1(n))return Z$1(et$1(n,t));throw new Hi(St$1(t)+" is not iterable")}(t,o);}for(c=v?t.next:r.next;!(f=et$1(c,r)).done;){try{a=m(f.value);}catch(t){Ki(r,"throw",t);}if("object"==typeof a&&a&&rt$1($i,a))return a}return new Yi(!1)},Ji=Lt$1("iterator"),Qi=!1;try{var Zi=0,tu={next:function(){return {done:!!Zi++}},return:function(){Qi=!0;}};tu[Ji]=function(){return this},Array.from(tu,(function(){throw 2}));}catch(t){}var eu=function(t,e){try{if(!e&&!Qi)return !1}catch(t){return !1}var n=!1;try{var r={};r[Ji]=function(){return {next:function(){return {done:n=!0}}}},t(r);}catch(t){}return n},nu=si.CONSTRUCTOR||!eu((function(t){ei.all(t).then(void 0,(function(){}));}));Je$1({target:"Promise",stat:!0,forced:nu},{all:function(t){var e=this,n=vi.f(e),r=n.resolve,o=n.reject,i=ti((function(){var n=Et$1(e.resolve),i=[],u=0,a=1;qi(t,(function(t){var c=u++,f=!1;a++,et$1(n,e,t).then((function(t){f||(f=!0,i[c]=t,--a||r(i));}),o);})),--a||r(i);}));return i.error&&o(i.value),n.promise}});var ru=si.CONSTRUCTOR,ou=ei&&ei.prototype;if(Je$1({target:"Promise",proto:!0,forced:ru,real:!0},{catch:function(t){return this.then(void 0,t)}}),k$1(ei)){var iu=nt$1("Promise").prototype.catch;ou.catch!==iu&&Oe$1(ou,"catch",iu,{unsafe:!0});}Je$1({target:"Promise",stat:!0,forced:nu},{race:function(t){var e=this,n=vi.f(e),r=n.reject,o=ti((function(){var o=Et$1(e.resolve);qi(t,(function(t){et$1(o,e,t).then(n.resolve,r);}));}));return o.error&&r(o.value),n.promise}}),Je$1({target:"Promise",stat:!0,forced:si.CONSTRUCTOR},{reject:function(t){var e=vi.f(this);return (0, e.reject)(t),e.promise}});var uu=si.CONSTRUCTOR;nt$1("Promise"),Je$1({target:"Promise",stat:!0,forced:uu},{resolve:function(t){return function(t,e){if(Z$1(t),H$1(e)&&e.constructor===t)return e;var n=vi.f(t);return (0, n.resolve)(e),n.promise}(this,t)}});var au=RegExp.prototype,cu=R$1.PROPER,fu="toString",su=RegExp.prototype,lu=su[fu],pu=p$1((function(){return "/a/b"!==lu.call({source:"a",flags:"b"})})),vu=cu&&lu.name!==fu;(pu||vu)&&Oe$1(su,fu,(function(){var t=Z$1(this),e=sn$1(t.source),n=sn$1(function(t){var e=t.flags;return void 0!==e||"flags"in au||x$1(t,"flags")||!rt$1(au,t)?e:et$1(ln$1,t)}(t));return "/"+e+"/"+n}),{unsafe:!0});var du=m$1("".charAt),hu=m$1("".charCodeAt),yu=m$1("".slice),gu=function(t){return function(e,n){var r,o,i=sn$1(S$1(e)),u=Te$1(n),a=i.length;return u<0||u>=a?t?"":void 0:(r=hu(i,u))<55296||r>56319||u+1===a||(o=hu(i,u+1))<56320||o>57343?t?du(i,u):r:t?yu(i,u,u+2):o-56320+(r-55296<<10)+65536}},mu={codeAt:gu(!1),charAt:gu(!0)}.charAt,bu="String Iterator",wu=ne$1.set,Su=ne$1.getterFor(bu);Tr(String,"String",(function(t){wu(this,{type:bu,string:sn$1(t),index:0});}),(function(){var t,e=Su(this),n=e.string,r=e.index;return r>=n.length?Pr(void 0,!0):(t=mu(n,r),e.index+=t.length,Pr(t,!1))}));var Ou=!p$1((function(){return Object.isExtensible(Object.preventExtensions({}))})),Eu=function(t,e,n){for(var r in e)Oe$1(t,r,e[r],n);return t},ju=ze$1.f,xu="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],Tu={f:function(t){return xu&&"Window"===he$1(t)?function(t){try{return ju(t)}catch(t){return Hr(xu)}}(t):ju(be$1(t))}},Pu=p$1((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8});}})),Iu=Object.isExtensible,Ru=p$1((function(){Iu(1);}))||Pu?function(t){return !!H$1(t)&&((!Pu||"ArrayBuffer"!==he$1(t))&&(!Iu||Iu(t)))}:Iu,Au=C$1((function(t){var e=Ht$1.f,n=!1,r=At$1("meta"),o=0,i=function(t){e(t,r,{value:{objectID:"O"+o++,weakData:{}}});},u=t.exports={enable:function(){u.enable=function(){},n=!0;var t=ze$1.f,e=m$1([].splice),o={};o[r]=1,t(o).length&&(ze$1.f=function(n){for(var o=t(n),i=0,u=o.length;i<u;i++)if(o[i]===r){e(o,i,1);break}return o},Je$1({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Tu.f}));},fastKey:function(t,e){if(!H$1(t))return "symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!x$1(t,r)){if(!Ru(t))return "F";if(!e)return "E";i(t);}return t[r].objectID},getWeakData:function(t,e){if(!x$1(t,r)){if(!Ru(t))return !0;if(!e)return !1;i(t);}return t[r].weakData},onFreeze:function(t){return Ou&&n&&Ru(t)&&!x$1(t,r)&&i(t),t}};qt$1[r]=!0;})),Cu=Lt$1("species"),Nu=Array,ku=function(t,e){return new(function(t){var e;return Lr(t)&&(e=t.constructor,(Wr(e)&&(e===Nu||Lr(e.prototype))||H$1(e)&&null===(e=e[Cu]))&&(e=void 0)),void 0===e?Nu:e}(t))(0===e?0:e)},Lu=m$1([].push),Mu=function(t){var e=1===t,n=2===t,r=3===t,o=4===t,i=6===t,u=7===t,a=5===t||i;return function(c,f,s,l){for(var p,v,d=E$1(c),h=me$1(d),y=Ce$1(h),g=go(f,s),m=0,b=l||ku,w=e?b(c,y):n||u?b(c,0):void 0;y>m;m++)if((a||m in h)&&(v=g(p=h[m],m,d),t))if(e)w[m]=v;else if(v)switch(t){case 3:return !0;case 5:return p;case 6:return m;case 2:Lu(w,p);}else switch(t){case 4:return !1;case 7:Lu(w,p);}return i?-1:r||o?o:w}},Du={forEach:Mu(0),map:Mu(1),filter:Mu(2),some:Mu(3),every:Mu(4),find:Mu(5),findIndex:Mu(6),filterReject:Mu(7)},Fu=Au.getWeakData,zu=ne$1.set,_u=ne$1.getterFor,Uu=Du.find,Bu=Du.findIndex,Gu=m$1([].splice),Wu=0,Vu=function(t){return t.frozen||(t.frozen=new Hu)},Hu=function(){this.entries=[];},Ku=function(t,e){return Uu(t.entries,(function(t){return t[0]===e}))};Hu.prototype={get:function(t){var e=Ku(this,t);if(e)return e[1]},has:function(t){return !!Ku(this,t)},set:function(t,e){var n=Ku(this,t);n?n[1]=e:this.entries.push([t,e]);},delete:function(t){var e=Bu(this.entries,(function(e){return e[0]===t}));return ~e&&Gu(this.entries,e,1),!!~e}};var Xu,Yu={getConstructor:function(t,e,n,r){var o=t((function(t,o){uo(t,i),zu(t,{type:e,id:Wu++,frozen:null}),b$1(o)||qi(o,t[r],{that:t,AS_ENTRIES:n});})),i=o.prototype,u=_u(e),a=function(t,e,n){var r=u(t),o=Fu(Z$1(e),!0);return !0===o?Vu(r).set(e,n):o[r.id]=n,t};return Eu(i,{delete:function(t){var e=u(this);if(!H$1(t))return !1;var n=Fu(t);return !0===n?Vu(e).delete(t):n&&x$1(n,e.id)&&delete n[e.id]},has:function(t){var e=u(this);if(!H$1(t))return !1;var n=Fu(t);return !0===n?Vu(e).has(t):n&&x$1(n,e.id)}}),Eu(i,n?{get:function(t){var e=u(this);if(H$1(t)){var n=Fu(t);if(!0===n)return Vu(e).get(t);if(n)return n[e.id]}},set:function(t,e){return a(this,t,e)}}:{add:function(t){return a(this,t,!0)}}),o}},$u=ne$1.enforce,qu=Object,Ju=Array.isArray,Qu=qu.isExtensible,Zu=qu.isFrozen,ta$1=qu.isSealed,ea$1=qu.freeze,na$1=qu.seal,ra$1=!M$1.ActiveXObject&&"ActiveXObject"in M$1,oa$1=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},ia$1=function(t,e,n){var r=-1!==t.indexOf("Map"),o=-1!==t.indexOf("Weak"),i=r?"set":"add",u=M$1[t],a=u&&u.prototype,c=u,f={},s=function(t){var e=m$1(a[t]);Oe$1(a,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return !(o&&!H$1(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return o&&!H$1(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return !(o&&!H$1(t))&&e(this,0===t?0:t)}:function(t,n){return e(this,0===t?0:t,n),this});};if($e$1(t,!k$1(u)||!(o||a.forEach&&!p$1((function(){(new u).entries().next();})))))c=n.getConstructor(e,t,r,i),Au.enable();else if($e$1(t,!0)){var l=new c,v=l[i](o?{}:-0,1)!==l,d=p$1((function(){l.has(1);})),h=eu((function(t){new u(t);})),y=!o&&p$1((function(){for(var t=new u,e=5;e--;)t[i](e,e);return !t.has(-0)}));h||((c=e((function(t,e){uo(t,a);var n=function(t,e,n){var r,o;return yr&&k$1(r=e.constructor)&&r!==n&&H$1(o=r.prototype)&&o!==n.prototype&&yr(t,o),t}(new u,t,c);return b$1(e)||qi(e,n[i],{that:n,AS_ENTRIES:r}),n}))).prototype=a,a.constructor=c),(d||y)&&(s("delete"),s("has"),r&&s("get")),(y||v)&&s(i),o&&a.clear&&delete a.clear;}return f[t]=c,Je$1({global:!0,constructor:!0,forced:c!==u},f),sr(c,t),o||n.setStrong(c,t,r),c}("WeakMap",oa$1,Yu),ua$1=ia$1.prototype,aa$1=m$1(ua$1.set);if(V$1)if(ra$1){Xu=Yu.getConstructor(oa$1,"WeakMap",!0),Au.enable();var ca$1=m$1(ua$1.delete),fa$1=m$1(ua$1.has),sa$1=m$1(ua$1.get);Eu(ua$1,{delete:function(t){if(H$1(t)&&!Qu(t)){var e=$u(this);return e.frozen||(e.frozen=new Xu),ca$1(this,t)||e.frozen.delete(t)}return ca$1(this,t)},has:function(t){if(H$1(t)&&!Qu(t)){var e=$u(this);return e.frozen||(e.frozen=new Xu),fa$1(this,t)||e.frozen.has(t)}return fa$1(this,t)},get:function(t){if(H$1(t)&&!Qu(t)){var e=$u(this);return e.frozen||(e.frozen=new Xu),fa$1(this,t)?sa$1(this,t):e.frozen.get(t)}return sa$1(this,t)},set:function(t,e){if(H$1(t)&&!Qu(t)){var n=$u(this);n.frozen||(n.frozen=new Xu),fa$1(this,t)?aa$1(this,t,e):n.frozen.set(t,e);}else aa$1(this,t,e);return this}});}else Ou&&p$1((function(){var t=ea$1([]);return aa$1(new ia$1,t,1),!Zu(t)}))&&Eu(ua$1,{set:function(t,e){var n;return Ju(t)&&(Zu(t)?n=ea$1:ta$1(t)&&(n=na$1)),aa$1(this,t,e),n&&n(t),this}});var la$1={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},pa$1=Y$1("span").classList,va$1=pa$1&&pa$1.constructor&&pa$1.constructor.prototype,da$1=va$1===Object.prototype?void 0:va$1,ha$1=Du.forEach,ya$1=Qe$1("forEach")?[].forEach:function(t){return ha$1(this,t,arguments.length>1?arguments[1]:void 0)},ga$1=function(t){if(t&&t.forEach!==ya$1)try{Xt$1(t,"forEach",ya$1);}catch(e){t.forEach=ya$1;}};for(var ma$1 in la$1)la$1[ma$1]&&ga$1(M$1[ma$1]&&M$1[ma$1].prototype);ga$1(da$1);var ba$1=Lt$1("iterator"),wa$1=Nr.values,Sa$1=function(t,e){if(t){if(t[ba$1]!==wa$1)try{Xt$1(t,ba$1,wa$1);}catch(e){t[ba$1]=wa$1;}if(sr(t,e,!0),la$1[e])for(var n in Nr)if(t[n]!==Nr[n])try{Xt$1(t,n,Nr[n]);}catch(e){t[n]=Nr[n];}}};for(var Oa$1 in la$1)Sa$1(M$1[Oa$1]&&M$1[Oa$1].prototype,Oa$1);Sa$1(da$1,"DOMTokenList");var Ea$1=function(){return Ea$1=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var o in e=arguments[n])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},Ea$1.apply(this,arguments)};function ja(t,e,n,r){return new(n||(n=Promise))((function(o,i){function u(t){try{c(r.next(t));}catch(t){i(t);}}function a(t){try{c(r.throw(t));}catch(t){i(t);}}function c(t){var e;t.done?o(t.value):(e=t.value,e instanceof n?e:new n((function(t){t(e);}))).then(u,a);}c((r=r.apply(t,e||[])).next());}))}function xa(t,e){var n,r,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(a){return function(c){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,a[0]&&(u=0)),u;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return u.label++,{value:a[1],done:!1};case 5:u.label++,r=a[1],a=[0];continue;case 7:a=u.ops.pop(),u.trys.pop();continue;default:if(!(o=u.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){u=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){u.label=a[1];break}if(6===a[0]&&u.label<o[1]){u.label=o[1],o=a;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(a);break}o[2]&&u.ops.pop(),u.trys.pop();continue}a=e.call(t,u);}catch(t){a=[6,t],r=0;}finally{n=o=0;}if(5&a[0])throw a[1];return {value:a[0]?a[1]:void 0,done:!0}}([a,c])}}}function Ta$1(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return {next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Pa(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,n=t[Symbol.asyncIterator];return n?n.call(t):(t=Ta$1(t),e={},r("next"),r("throw"),r("return"),e[Symbol.asyncIterator]=function(){return this},e);function r(n){e[n]=t[n]&&function(e){return new Promise((function(r,o){(function(t,e,n,r){Promise.resolve(r).then((function(e){t({value:e,done:n});}),e);})(r,o,(e=t[n](e)).done,e.value);}))};}}"function"==typeof SuppressedError&&SuppressedError;var Ia$1=new WeakMap;function Ra$1(t){return t.getMenuConfig("uploadImage")}function Aa$1(t,e){return ja(this,void 0,void 0,(function(){return xa(this,(function(n){return [2,new Promise((function(n){var o=new FileReader;o.readAsDataURL(e),o.onload=function(){var i=o.result;if(i){var u=i.toString(),a=0===u.indexOf("data:image")?"":u;lh(t,u,e.name,a),n("ok");}};}))]}))}))}function Ca$1(t,n){return ja(this,void 0,void 0,(function(){var o,i,u,a;return xa(this,(function(c){switch(c.label){case 0:return o=function(t){var n=Ia$1.get(t);if(null!=n)return n;var o=Ra$1(t),i=o.onSuccess,u=o.onProgress,a=o.onFailed,c=o.customInsert,f=o.onError;return n=fg(Ea$1(Ea$1({},o),{onProgress:function(e){t.showProgressBar(e),u&&u(e);},onSuccess:function(e,n){if(c)return c(n,(function(e,n,o){return lh(t,e,n,o)})),void i(e,n);var o=n.errno,u=void 0===o?1:o,f=n.data,s=void 0===f?{}:f;if(0===u){if(Array.isArray(s))s.forEach((function(e){var n=e.url,o=void 0===n?"":n,i=e.alt,u=void 0===i?"":i,a=e.href;lh(t,o,u,void 0===a?"":a);}));else {var l=s.url,p=void 0===l?"":l,v=s.alt,d=void 0===v?"":v,h=s.href;lh(t,p,d,void 0===h?"":h);}i(e,n);}else a(e,n);},onError:function(t,e,n){f(t,e,n);}})),Ia$1.set(t,n),n}(t),i=n.name,u=n.type,a=n.size,o.addFile({name:i,type:u,size:a,data:n}),[4,o.upload()];case 1:return c.sent(),[2]}}))}))}function Na$1(t,e){var n,o,i,u;return ja(this,void 0,void 0,(function(){var a,c,f,s,l,p,v,d,h,y;return xa(this,(function(g){switch(g.label){case 0:if(null==e)return [2];a=Array.prototype.slice.call(e),c=Ra$1(t),f=c.customUpload,s=c.base64LimitSize,g.label=1;case 1:g.trys.push([1,14,15,20]),l=!0,p=Pa(a),g.label=2;case 2:return [4,p.next()];case 3:if(v=g.sent(),n=v.done)return [3,13];u=v.value,l=!1,g.label=4;case 4:return g.trys.push([4,,11,12]),h=(d=u).size,s&&h<=s?[4,Aa$1(t,d)]:[3,6];case 5:return g.sent(),[3,10];case 6:return f?[4,f(d,(function(e,n,o){return lh(t,e,n,o)}))]:[3,8];case 7:return g.sent(),[3,10];case 8:return [4,Ca$1(t,d)];case 9:g.sent(),g.label=10;case 10:return [3,12];case 11:return l=!0,[7];case 12:return [3,2];case 13:return [3,20];case 14:return y=g.sent(),o={error:y},[3,20];case 15:return g.trys.push([15,,18,19]),l||n||!(i=p.return)?[3,17]:[4,i.call(p)];case 16:g.sent(),g.label=17;case 17:return [3,19];case 18:if(o)throw o.error;return [7];case 19:return [7];case 20:return [2]}}))}))}var ka=function(){function t(){this.title=Up$1("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 uh(t)},t.prototype.getMenuConfig=function(t){return t.getMenuConfig("uploadImage")},t.prototype.exec=function(t,e){var n=this.getMenuConfig(t),o=n.allowedFileTypes,u=void 0===o?[]:o,a=n.customBrowseAndUpload;if(a)a((function(e,n,o){return lh(t,e,n,o)}));else {var c="";u.length>0&&(c='accept="'.concat(u.join(", "),'"'));var f=$$6("body"),s=$$6('<input type="file" '.concat(c," multiple/>"));s.hide(),f.append(s),s.click(),s.on("change",(function(){var e=s[0].files;Na$1(t,e);}));}},t}();var La$1={menus:[{key:"uploadImage",factory:function(){return new ka},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,n){console.error("'".concat(t.name,"' upload error"),n);},base64LimitSize:0}}],editorPlugin:function(t){var e=t.insertData,n=t;return n.insertData=function(r){if(uh(n))e(r);else if(r.getData("text/plain"))e(r);else {var i=r.files;if(i.length<=0)e(r);else Array.prototype.slice.call(i).some((function(t){return "image"===function(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,o,i=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(r=i.next()).done;)u.push(r.value);}catch(t){o={error:t};}finally{try{r&&!r.done&&(n=i.return)&&n.call(i);}finally{if(o)throw o.error}}return u}(t.type.split("/"),1)[0]}))?Na$1(t,i):e(r);}},n}};
17557
17557
 
17558
- Fp$1("en",{highLightModule:{selectLang:"Language"}}),Fp$1("zh-CN",{highLightModule:{selectLang:"选择语言"}});var l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function u(e){var t={exports:{}};return e(t,t.exports),t.exports}var c,d,p=function(e){return e&&e.Math===Math&&e},g=p("object"==typeof globalThis&&globalThis)||p("object"==typeof window&&window)||p("object"==typeof self&&self)||p("object"==typeof l&&l)||p("object"==typeof l&&l)||function(){return this}()||Function("return this")(),E=Object.defineProperty,f=function(e,t){try{E(g,e,{value:t,configurable:!0,writable:!0});}catch(n){g[e]=t;}return t},b=u((function(e){var t="__core-js_shared__",n=e.exports=g[t]||f(t,{});(n.versions||(n.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});})),S=function(e,t){return b[e]||(b[e]=t||{})},T=function(e){try{return !!e()}catch(e){return !0}},h=!T((function(){var e=function(){}.bind();return "function"!=typeof e||e.hasOwnProperty("prototype")})),m=Function.prototype,N=m.call,I=h&&m.bind.bind(N,N),A=h?I:function(e){return function(){return N.apply(e,arguments)}},O=function(e){return null==e},R=TypeError,y=function(e){if(O(e))throw new R("Can't call method on "+e);return e},L=Object,C=function(e){return L(y(e))},v=A({}.hasOwnProperty),w=Object.hasOwn||function(e,t){return v(C(e),t)},P=0,D=Math.random(),k=A(1..toString),_=function(e){return "Symbol("+(void 0===e?"":e)+")_"+k(++P+D,36)},x=g.navigator,F=x&&x.userAgent,M=F?String(F):"",U=g.process,G=g.Deno,B=U&&U.versions||G&&G.version,H=B&&B.v8;H&&(d=(c=H.split("."))[0]>0&&c[0]<4?1:+(c[0]+c[1])),!d&&M&&(!(c=M.match(/Edge\/(\d+)/))||c[1]>=74)&&(c=M.match(/Chrome\/(\d+)/))&&(d=+c[1]);var $=d,Y=g.String,j=!!Object.getOwnPropertySymbols&&!T((function(){var e=Symbol("symbol detection");return !Y(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&$&&$<41})),z=j&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,V=g.Symbol,X=S("wks"),W=z?V.for||V:V&&V.withoutSetter||_,K=function(e){return w(X,e)||(X[e]=j&&w(V,e)?V[e]:W("Symbol."+e)),X[e]},Z={};Z[K("toStringTag")]="z";var q="[object z]"===String(Z),Q="object"==typeof document&&document.all,J=void 0===Q&&void 0!==Q?function(e){return "function"==typeof e||e===Q}:function(e){return "function"==typeof e},ee=!T((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),te=function(e){return "object"==typeof e?null!==e:J(e)},ne=g.document,ae=te(ne)&&te(ne.createElement),re=function(e){return ae?ne.createElement(e):{}},ie=!ee&&!T((function(){return 7!==Object.defineProperty(re("div"),"a",{get:function(){return 7}}).a})),se=ee&&T((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),oe=String,le=TypeError,ue=function(e){if(te(e))return e;throw new le(oe(e)+" is not an object")},ce=Function.prototype.call,de=h?ce.bind(ce):function(){return ce.apply(ce,arguments)},pe=function(e,t){return arguments.length<2?(n=g[e],J(n)?n:void 0):g[e]&&g[e][t];var n;},ge=A({}.isPrototypeOf),Ee=Object,fe=z?function(e){return "symbol"==typeof e}:function(e){var t=pe("Symbol");return J(t)&&ge(t.prototype,Ee(e))},be=String,Se=TypeError,Te=function(e){if(J(e))return e;throw new Se(function(e){try{return be(e)}catch(e){return "Object"}}(e)+" is not a function")},he=TypeError,me=TypeError,Ne=K("toPrimitive"),Ie=function(e,t){if(!te(e)||fe(e))return e;var n,a,r=(n=e[Ne],O(n)?void 0:Te(n));if(r){if(void 0===t&&(t="default"),a=de(r,e,t),!te(a)||fe(a))return a;throw new me("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,a;if("string"===t&&J(n=e.toString)&&!te(a=de(n,e)))return a;if(J(n=e.valueOf)&&!te(a=de(n,e)))return a;if("string"!==t&&J(n=e.toString)&&!te(a=de(n,e)))return a;throw new he("Can't convert object to primitive value")}(e,t)},Ae=function(e){var t=Ie(e,"string");return fe(t)?t:t+""},Oe=TypeError,Re=Object.defineProperty,ye=Object.getOwnPropertyDescriptor,Le="enumerable",Ce="configurable",ve="writable",we={f:ee?se?function(e,t,n){if(ue(e),t=Ae(t),ue(n),"function"==typeof e&&"prototype"===t&&"value"in n&&ve in n&&!n[ve]){var a=ye(e,t);a&&a[ve]&&(e[t]=n.value,n={configurable:Ce in n?n[Ce]:a[Ce],enumerable:Le in n?n[Le]:a[Le],writable:!1});}return Re(e,t,n)}:Re:function(e,t,n){if(ue(e),t=Ae(t),ue(n),ie)try{return Re(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new Oe("Accessors not supported");return "value"in n&&(e[t]=n.value),e}},Pe=Function.prototype,De=ee&&Object.getOwnPropertyDescriptor,ke=w(Pe,"name"),_e={EXISTS:ke,PROPER:ke&&"something"===function(){}.name,CONFIGURABLE:ke&&(!ee||ee&&De(Pe,"name").configurable)},xe=A(Function.toString);J(b.inspectSource)||(b.inspectSource=function(e){return xe(e)});var Fe,Me,Ue,Ge=b.inspectSource,Be=g.WeakMap,He=J(Be)&&/native code/.test(String(Be)),$e=function(e,t){return {enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},Ye=ee?function(e,t,n){return we.f(e,t,$e(1,n))}:function(e,t,n){return e[t]=n,e},je=S("keys"),ze=function(e){return je[e]||(je[e]=_(e))},Ve={},Xe="Object already initialized",We=g.TypeError,Ke=g.WeakMap;if(He||b.state){var Ze=b.state||(b.state=new Ke);Ze.get=Ze.get,Ze.has=Ze.has,Ze.set=Ze.set,Fe=function(e,t){if(Ze.has(e))throw new We(Xe);return t.facade=e,Ze.set(e,t),t},Me=function(e){return Ze.get(e)||{}},Ue=function(e){return Ze.has(e)};}else {var qe=ze("state");Ve[qe]=!0,Fe=function(e,t){if(w(e,qe))throw new We(Xe);return t.facade=e,Ye(e,qe,t),t},Me=function(e){return w(e,qe)?e[qe]:{}},Ue=function(e){return w(e,qe)};}var Qe={set:Fe,get:Me,has:Ue,enforce:function(e){return Ue(e)?Me(e):Fe(e,{})},getterFor:function(e){return function(t){var n;if(!te(t)||(n=Me(t)).type!==e)throw new We("Incompatible receiver, "+e+" required");return n}}},Je=u((function(e){var t=_e.CONFIGURABLE,n=Qe.enforce,a=Qe.get,r=String,i=Object.defineProperty,s=A("".slice),o=A("".replace),l=A([].join),u=ee&&!T((function(){return 8!==i((function(){}),"length",{value:8}).length})),c=String(String).split("String"),d=e.exports=function(e,a,d){"Symbol("===s(r(a),0,7)&&(a="["+o(r(a),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),d&&d.getter&&(a="get "+a),d&&d.setter&&(a="set "+a),(!w(e,"name")||t&&e.name!==a)&&(ee?i(e,"name",{value:a,configurable:!0}):e.name=a),u&&d&&w(d,"arity")&&e.length!==d.arity&&i(e,"length",{value:d.arity});try{d&&w(d,"constructor")&&d.constructor?ee&&i(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0);}catch(e){}var p=n(e);return w(p,"source")||(p.source=l(c,"string"==typeof a?a:"")),e};Function.prototype.toString=d((function(){return J(this)&&a(this).source||Ge(this)}),"toString");})),et=function(e,t,n,a){a||(a={});var r=a.enumerable,i=void 0!==a.name?a.name:t;if(J(n)&&Je(n,i,a),a.global)r?e[t]=n:f(t,n);else {try{a.unsafe?e[t]&&(r=!0):delete e[t];}catch(e){}r?e[t]=n:we.f(e,t,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable});}return e},tt=A({}.toString),nt=A("".slice),at=function(e){return nt(tt(e),8,-1)},rt=K("toStringTag"),it=Object,st="Arguments"===at(function(){return arguments}()),ot=q?at:function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=it(e),rt))?n:st?at(t):"Object"===(a=at(t))&&J(t.callee)?"Arguments":a},lt=q?{}.toString:function(){return "[object "+ot(this)+"]"};q||et(Object.prototype,"toString",lt,{unsafe:!0});var ut={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},ct=re("span").classList,dt=ct&&ct.constructor&&ct.constructor.prototype,pt=dt===Object.prototype?void 0:dt,gt=function(e){if("Function"===at(e))return A(e)},Et=gt(gt.bind),ft=Object,bt=A("".split),St=T((function(){return !ft("z").propertyIsEnumerable(0)}))?function(e){return "String"===at(e)?bt(e,""):ft(e)}:ft,Tt=Math.ceil,ht=Math.floor,mt=Math.trunc||function(e){var t=+e;return (t>0?ht:Tt)(t)},Nt=function(e){var t=+e;return t!=t||0===t?0:mt(t)},It=Math.min,At=function(e){return t=e.length,(n=Nt(t))>0?It(n,9007199254740991):0;var t,n;},Ot=Array.isArray||function(e){return "Array"===at(e)},Rt=function(){},yt=pe("Reflect","construct"),Lt=/^\s*(?:class|function)\b/,Ct=A(Lt.exec),vt=!Lt.test(Rt),wt=function(e){if(!J(e))return !1;try{return yt(Rt,[],e),!0}catch(e){return !1}},Pt=function(e){if(!J(e))return !1;switch(ot(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return !1}try{return vt||!!Ct(Lt,Ge(e))}catch(e){return !0}};Pt.sham=!0;var Dt,kt,_t=!yt||T((function(){var e;return wt(wt.call)||!wt(Object)||!wt((function(){e=!0;}))||e}))?Pt:wt,xt=K("species"),Ft=Array,Mt=function(e,t){return new(function(e){var t;return Ot(e)&&(t=e.constructor,(_t(t)&&(t===Ft||Ot(t.prototype))||te(t)&&null===(t=t[xt]))&&(t=void 0)),void 0===t?Ft:t}(e))(0===t?0:t)},Ut=A([].push),Gt=function(e){var t=1===e,n=2===e,a=3===e,r=4===e,i=6===e,s=7===e,o=5===e||i;return function(l,u,c,d){for(var p,g,E=C(l),f=St(E),b=At(f),S=function(e,t){return Te(e),void 0===t?e:h?Et(e,t):function(){return e.apply(t,arguments)}}(u,c),T=0,m=d||Mt,N=t?m(l,b):n||s?m(l,0):void 0;b>T;T++)if((o||T in f)&&(g=S(p=f[T],T,E),e))if(t)N[T]=g;else if(g)switch(e){case 3:return !0;case 5:return p;case 6:return T;case 2:Ut(N,p);}else switch(e){case 4:return !1;case 7:Ut(N,p);}return i?-1:a||r?r:N}},Bt={forEach:Gt(0),map:Gt(1),filter:Gt(2),some:Gt(3),every:Gt(4),find:Gt(5),findIndex:Gt(6),filterReject:Gt(7)}.forEach,Ht=!!(kt=[]["forEach"])&&T((function(){kt.call(null,Dt||function(){return 1},1);}))?[].forEach:function(e){return Bt(this,e,arguments.length>1?arguments[1]:void 0)},$t=function(e){if(e&&e.forEach!==Ht)try{Ye(e,"forEach",Ht);}catch(t){e.forEach=Ht;}};for(var Yt in ut)ut[Yt]&&$t(g[Yt]&&g[Yt].prototype);$t(pt);var jt={}.propertyIsEnumerable,zt=Object.getOwnPropertyDescriptor,Vt={f:zt&&!jt.call({1:2},1)?function(e){var t=zt(this,e);return !!t&&t.enumerable}:jt},Xt=function(e){return St(y(e))},Wt=Object.getOwnPropertyDescriptor,Kt={f:ee?Wt:function(e,t){if(e=Xt(e),t=Ae(t),ie)try{return Wt(e,t)}catch(e){}if(w(e,t))return $e(!de(Vt.f,e,t),e[t])}},Zt=Math.max,qt=Math.min,Qt=function(e){return function(t,n,a){var r=Xt(t),i=At(r);if(0===i)return !e&&-1;var s,o=function(e,t){var n=Nt(e);return n<0?Zt(n+t,0):qt(n,t)}(a,i);if(e&&n!=n){for(;i>o;)if((s=r[o++])!=s)return !0}else for(;i>o;o++)if((e||o in r)&&r[o]===n)return e||o||0;return !e&&-1}},Jt={includes:Qt(!0),indexOf:Qt(!1)}.indexOf,en=A([].push),tn=function(e,t){var n,a=Xt(e),r=0,i=[];for(n in a)!w(Ve,n)&&w(a,n)&&en(i,n);for(;t.length>r;)w(a,n=t[r++])&&(~Jt(i,n)||en(i,n));return i},nn=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],an=nn.concat("length","prototype"),rn={f:Object.getOwnPropertyNames||function(e){return tn(e,an)}},sn={f:Object.getOwnPropertySymbols},on=A([].concat),ln=pe("Reflect","ownKeys")||function(e){var t=rn.f(ue(e)),n=sn.f;return n?on(t,n(e)):t},un=function(e,t,n){for(var a=ln(t),r=we.f,i=Kt.f,s=0;s<a.length;s++){var o=a[s];w(e,o)||n&&w(n,o)||r(e,o,i(t,o));}},cn=/#|\.prototype\./,dn=function(e,t){var n=gn[pn(e)];return n===fn||n!==En&&(J(t)?T(t):!!t)},pn=dn.normalize=function(e){return String(e).replace(cn,".").toLowerCase()},gn=dn.data={},En=dn.NATIVE="N",fn=dn.POLYFILL="P",bn=dn,Sn=Kt.f,Tn=function(e,t){var n,a,r,i,s,o=e.target,l=e.global,u=e.stat;if(n=l?g:u?g[o]||f(o,{}):g[o]&&g[o].prototype)for(a in t){if(i=t[a],r=e.dontCallGetSet?(s=Sn(n,a))&&s.value:n[a],!bn(l?a:o+(u?".":"#")+a,e.forced)&&void 0!==r){if(typeof i==typeof r)continue;un(i,r);}(e.sham||r&&r.sham)&&Ye(i,"sham",!0),et(n,a,i,e);}},hn=Object.keys||function(e){return tn(e,nn)},mn=Object.assign,Nn=Object.defineProperty,In=A([].concat),An=!mn||T((function(){if(ee&&1!==mn({b:1},mn(Nn({},"a",{enumerable:!0,get:function(){Nn(this,"b",{value:3,enumerable:!1});}}),{b:2})).b)return !0;var e={},t={},n=Symbol("assign detection"),a="abcdefghijklmnopqrst";return e[n]=7,a.split("").forEach((function(e){t[e]=e;})),7!==mn({},e)[n]||hn(mn({},t)).join("")!==a}))?function(e,t){for(var n=C(e),a=arguments.length,r=1,i=sn.f,s=Vt.f;a>r;)for(var o,l=St(arguments[r++]),u=i?In(hn(l),i(l)):hn(l),c=u.length,d=0;c>d;)o=u[d++],ee&&!de(s,l,o)||(n[o]=l[o]);return n}:mn;Tn({target:"Object",stat:!0,arity:2,forced:Object.assign!==An},{assign:An});var On=u((function(e){var t=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,a={},r={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var a,i;switch(n=n||{},r.util.type(t)){case"Object":if(i=r.util.objId(t),n[i])return n[i];for(var s in a={},n[i]=a,t)t.hasOwnProperty(s)&&(a[s]=e(t[s],n));return a;case"Array":return i=r.util.objId(t),n[i]?n[i]:(a=[],n[i]=a,t.forEach((function(t,r){a[r]=e(t,n);})),a);default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement;}return "none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n);},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(a){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(a.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var a="no-"+t;e;){var r=e.classList;if(r.contains(t))return !0;if(r.contains(a))return !1;e=e.parentElement;}return !!n}},languages:{plain:a,plaintext:a,text:a,txt:a,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var i=(a=a||r.languages)[e],s={};for(var o in i)if(i.hasOwnProperty(o)){if(o==t)for(var l in n)n.hasOwnProperty(l)&&(s[l]=n[l]);n.hasOwnProperty(o)||(s[o]=i[o]);}var u=a[e];return a[e]=s,r.languages.DFS(r.languages,(function(t,n){n===u&&t!=e&&(this[t]=s);})),s},DFS:function e(t,n,a,i){i=i||{};var s=r.util.objId;for(var o in t)if(t.hasOwnProperty(o)){n.call(t,o,t[o],a||o);var l=t[o],u=r.util.type(l);"Object"!==u||i[s(l)]?"Array"!==u||i[s(l)]||(i[s(l)]=!0,e(l,n,o,i)):(i[s(l)]=!0,e(l,n,null,i));}}},plugins:{},highlightAll:function(e,t){r.highlightAllUnder(document,e,t);},highlightAllUnder:function(e,t,n){var a={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};r.hooks.run("before-highlightall",a),a.elements=Array.prototype.slice.apply(a.container.querySelectorAll(a.selector)),r.hooks.run("before-all-elements-highlight",a);for(var i,s=0;i=a.elements[s++];)r.highlightElement(i,!0===t,a.callback);},highlightElement:function(t,n,a){var i=r.util.getLanguage(t),s=r.languages[i];r.util.setLanguage(t,i);var o=t.parentElement;o&&"pre"===o.nodeName.toLowerCase()&&r.util.setLanguage(o,i);var l={element:t,language:i,grammar:s,code:t.textContent};function u(e){l.highlightedCode=e,r.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,r.hooks.run("after-highlight",l),r.hooks.run("complete",l),a&&a.call(l.element);}if(r.hooks.run("before-sanity-check",l),(o=l.element.parentElement)&&"pre"===o.nodeName.toLowerCase()&&!o.hasAttribute("tabindex")&&o.setAttribute("tabindex","0"),!l.code)return r.hooks.run("complete",l),void(a&&a.call(l.element));if(r.hooks.run("before-highlight",l),l.grammar)if(n&&e.Worker){var c=new Worker(r.filename);c.onmessage=function(e){u(e.data);},c.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}));}else u(r.highlight(l.code,l.grammar,l.language));else u(r.util.encode(l.code));},highlight:function(e,t,n){var a={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",a),!a.grammar)throw new Error('The language "'+a.language+'" has no grammar.');return a.tokens=r.tokenize(a.code,a.grammar),r.hooks.run("after-tokenize",a),i.stringify(r.util.encode(a.tokens),a.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var a in n)t[a]=n[a];delete t.rest;}var r=new l;return u(r,r.head,e),o(e,r,t,r.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(r)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t);},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,i=0;a=n[i++];)a(t);}},Token:i};function i(e,t,n,a){this.type=e,this.content=t,this.alias=n,this.length=0|(a||"").length;}function s(e,t,n,a){e.lastIndex=t;var r=e.exec(n);if(r&&a&&r[1]){var i=r[1].length;r.index+=i,r[0]=r[0].slice(i);}return r}function o(e,t,n,a,l,d){for(var p in n)if(n.hasOwnProperty(p)&&n[p]){var g=n[p];g=Array.isArray(g)?g:[g];for(var E=0;E<g.length;++E){if(d&&d.cause==p+","+E)return;var f=g[E],b=f.inside,S=!!f.lookbehind,T=!!f.greedy,h=f.alias;if(T&&!f.pattern.global){var m=f.pattern.toString().match(/[imsuy]*$/)[0];f.pattern=RegExp(f.pattern.source,m+"g");}for(var N=f.pattern||f,I=a.next,A=l;I!==t.tail&&!(d&&A>=d.reach);A+=I.value.length,I=I.next){var O=I.value;if(t.length>e.length)return;if(!(O instanceof i)){var R,y=1;if(T){if(!(R=s(N,A,e,S))||R.index>=e.length)break;var L=R.index,C=R.index+R[0].length,v=A;for(v+=I.value.length;L>=v;)v+=(I=I.next).value.length;if(A=v-=I.value.length,I.value instanceof i)continue;for(var w=I;w!==t.tail&&(v<C||"string"==typeof w.value);w=w.next)y++,v+=w.value.length;y--,O=e.slice(A,v),R.index-=A;}else if(!(R=s(N,0,O,S)))continue;L=R.index;var P=R[0],D=O.slice(0,L),k=O.slice(L+P.length),_=A+O.length;d&&_>d.reach&&(d.reach=_);var x=I.prev;if(D&&(x=u(t,x,D),A+=D.length),c(t,x,y),I=u(t,x,new i(p,b?r.tokenize(P,b):P,h,P)),k&&u(t,I,k),y>1){var F={cause:p+","+E,reach:_};o(e,t,n,I.prev,A,F),d&&F.reach>d.reach&&(d.reach=F.reach);}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0;}function u(e,t,n){var a=t.next,r={value:n,prev:t,next:a};return t.next=r,a.prev=r,e.length++,r}function c(e,t,n){for(var a=t.next,r=0;r<n&&a!==e.tail;r++)a=a.next;t.next=a,a.prev=t,e.length-=r;}if(e.Prism=r,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach((function(t){a+=e(t,n);})),a}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},s=t.alias;s&&(Array.isArray(s)?Array.prototype.push.apply(i.classes,s):i.classes.push(s)),r.hooks.run("wrap",i);var o="";for(var l in i.attributes)o+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,"&quot;")+'"';return "<"+i.tag+' class="'+i.classes.join(" ")+'"'+o+">"+i.content+"</"+i.tag+">"},!e.document)return e.addEventListener?(r.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),a=n.language,i=n.code,s=n.immediateClose;e.postMessage(r.highlight(i,r.languages[a],a)),s&&e.close();}),!1),r):r;var d=r.util.currentScript();function p(){r.manual||r.highlightAll();}if(d&&(r.filename=d.src,d.hasAttribute("data-manual")&&(r.manual=!0)),!r.manual){var g=document.readyState;"loading"===g||"interactive"===g&&d&&d.defer?document.addEventListener("DOMContentLoaded",p):window.requestAnimationFrame?window.requestAnimationFrame(p):window.setTimeout(p,16);}return r}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});
17558
+ Wp$1("en",{highLightModule:{selectLang:"Language"}}),Wp$1("zh-CN",{highLightModule:{selectLang:"选择语言"}});var l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function u(e){var t={exports:{}};return e(t,t.exports),t.exports}var c,d,p=function(e){return e&&e.Math===Math&&e},g=p("object"==typeof globalThis&&globalThis)||p("object"==typeof window&&window)||p("object"==typeof self&&self)||p("object"==typeof l&&l)||p("object"==typeof l&&l)||function(){return this}()||Function("return this")(),E=function(e){try{return !!e()}catch(e){return !0}},f=!E((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})),b=!E((function(){var e=function(){}.bind();return "function"!=typeof e||e.hasOwnProperty("prototype")})),S=Function.prototype.call,T=b?S.bind(S):function(){return S.apply(S,arguments)},h={}.propertyIsEnumerable,m=Object.getOwnPropertyDescriptor,N={f:m&&!h.call({1:2},1)?function(e){var t=m(this,e);return !!t&&t.enumerable}:h},I=function(e,t){return {enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},A=Function.prototype,O=A.call,R=b&&A.bind.bind(O,O),y=b?R:function(e){return function(){return O.apply(e,arguments)}},L=y({}.toString),C=y("".slice),v=function(e){return C(L(e),8,-1)},w=Object,P=y("".split),D=E((function(){return !w("z").propertyIsEnumerable(0)}))?function(e){return "String"===v(e)?P(e,""):w(e)}:w,k=function(e){return null==e},_=TypeError,x=function(e){if(k(e))throw new _("Can't call method on "+e);return e},F=function(e){return D(x(e))},M="object"==typeof document&&document.all,U=void 0===M&&void 0!==M?function(e){return "function"==typeof e||e===M}:function(e){return "function"==typeof e},G=function(e){return "object"==typeof e?null!==e:U(e)},B=function(e,t){return arguments.length<2?(n=g[e],U(n)?n:void 0):g[e]&&g[e][t];var n;},H=y({}.isPrototypeOf),$=g.navigator,Y=$&&$.userAgent,j=Y?String(Y):"",z=g.process,V=g.Deno,X=z&&z.versions||V&&V.version,W=X&&X.v8;W&&(d=(c=W.split("."))[0]>0&&c[0]<4?1:+(c[0]+c[1])),!d&&j&&(!(c=j.match(/Edge\/(\d+)/))||c[1]>=74)&&(c=j.match(/Chrome\/(\d+)/))&&(d=+c[1]);var K=d,Z=g.String,q=!!Object.getOwnPropertySymbols&&!E((function(){var e=Symbol("symbol detection");return !Z(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&K&&K<41})),Q=q&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,J=Object,ee=Q?function(e){return "symbol"==typeof e}:function(e){var t=B("Symbol");return U(t)&&H(t.prototype,J(e))},te=String,ne=TypeError,ae=function(e){if(U(e))return e;throw new ne(function(e){try{return te(e)}catch(e){return "Object"}}(e)+" is not a function")},re=TypeError,ie=Object.defineProperty,se=function(e,t){try{ie(g,e,{value:t,configurable:!0,writable:!0});}catch(n){g[e]=t;}return t},oe=u((function(e){var t="__core-js_shared__",n=e.exports=g[t]||se(t,{});(n.versions||(n.versions=[])).push({version:"3.38.1",mode:"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE",source:"https://github.com/zloirock/core-js"});})),le=function(e,t){return oe[e]||(oe[e]=t||{})},ue=Object,ce=function(e){return ue(x(e))},de=y({}.hasOwnProperty),pe=Object.hasOwn||function(e,t){return de(ce(e),t)},ge=0,Ee=Math.random(),fe=y(1..toString),be=function(e){return "Symbol("+(void 0===e?"":e)+")_"+fe(++ge+Ee,36)},Se=g.Symbol,Te=le("wks"),he=Q?Se.for||Se:Se&&Se.withoutSetter||be,me=function(e){return pe(Te,e)||(Te[e]=q&&pe(Se,e)?Se[e]:he("Symbol."+e)),Te[e]},Ne=TypeError,Ie=me("toPrimitive"),Ae=function(e,t){if(!G(e)||ee(e))return e;var n,a,r=(n=e[Ie],k(n)?void 0:ae(n));if(r){if(void 0===t&&(t="default"),a=T(r,e,t),!G(a)||ee(a))return a;throw new Ne("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,a;if("string"===t&&U(n=e.toString)&&!G(a=T(n,e)))return a;if(U(n=e.valueOf)&&!G(a=T(n,e)))return a;if("string"!==t&&U(n=e.toString)&&!G(a=T(n,e)))return a;throw new re("Can't convert object to primitive value")}(e,t)},Oe=function(e){var t=Ae(e,"string");return ee(t)?t:t+""},Re=g.document,ye=G(Re)&&G(Re.createElement),Le=function(e){return ye?Re.createElement(e):{}},Ce=!f&&!E((function(){return 7!==Object.defineProperty(Le("div"),"a",{get:function(){return 7}}).a})),ve=Object.getOwnPropertyDescriptor,we={f:f?ve:function(e,t){if(e=F(e),t=Oe(t),Ce)try{return ve(e,t)}catch(e){}if(pe(e,t))return I(!T(N.f,e,t),e[t])}},Pe=f&&E((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype})),De=String,ke=TypeError,_e=function(e){if(G(e))return e;throw new ke(De(e)+" is not an object")},xe=TypeError,Fe=Object.defineProperty,Me=Object.getOwnPropertyDescriptor,Ue="enumerable",Ge="configurable",Be="writable",He={f:f?Pe?function(e,t,n){if(_e(e),t=Oe(t),_e(n),"function"==typeof e&&"prototype"===t&&"value"in n&&Be in n&&!n[Be]){var a=Me(e,t);a&&a[Be]&&(e[t]=n.value,n={configurable:Ge in n?n[Ge]:a[Ge],enumerable:Ue in n?n[Ue]:a[Ue],writable:!1});}return Fe(e,t,n)}:Fe:function(e,t,n){if(_e(e),t=Oe(t),_e(n),Ce)try{return Fe(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new xe("Accessors not supported");return "value"in n&&(e[t]=n.value),e}},$e=f?function(e,t,n){return He.f(e,t,I(1,n))}:function(e,t,n){return e[t]=n,e},Ye=Function.prototype,je=f&&Object.getOwnPropertyDescriptor,ze=pe(Ye,"name"),Ve={EXISTS:ze,PROPER:ze&&"something"===function(){}.name,CONFIGURABLE:ze&&(!f||f&&je(Ye,"name").configurable)},Xe=y(Function.toString);U(oe.inspectSource)||(oe.inspectSource=function(e){return Xe(e)});var We,Ke,Ze,qe=oe.inspectSource,Qe=g.WeakMap,Je=U(Qe)&&/native code/.test(String(Qe)),et=le("keys"),tt=function(e){return et[e]||(et[e]=be(e))},nt={},at="Object already initialized",rt=g.TypeError,it=g.WeakMap;if(Je||oe.state){var st=oe.state||(oe.state=new it);st.get=st.get,st.has=st.has,st.set=st.set,We=function(e,t){if(st.has(e))throw new rt(at);return t.facade=e,st.set(e,t),t},Ke=function(e){return st.get(e)||{}},Ze=function(e){return st.has(e)};}else {var ot=tt("state");nt[ot]=!0,We=function(e,t){if(pe(e,ot))throw new rt(at);return t.facade=e,$e(e,ot,t),t},Ke=function(e){return pe(e,ot)?e[ot]:{}},Ze=function(e){return pe(e,ot)};}var lt={set:We,get:Ke,has:Ze,enforce:function(e){return Ze(e)?Ke(e):We(e,{})},getterFor:function(e){return function(t){var n;if(!G(t)||(n=Ke(t)).type!==e)throw new rt("Incompatible receiver, "+e+" required");return n}}},ut=u((function(e){var t=Ve.CONFIGURABLE,n=lt.enforce,a=lt.get,r=String,i=Object.defineProperty,s=y("".slice),o=y("".replace),l=y([].join),u=f&&!E((function(){return 8!==i((function(){}),"length",{value:8}).length})),c=String(String).split("String"),d=e.exports=function(e,a,d){"Symbol("===s(r(a),0,7)&&(a="["+o(r(a),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),d&&d.getter&&(a="get "+a),d&&d.setter&&(a="set "+a),(!pe(e,"name")||t&&e.name!==a)&&(f?i(e,"name",{value:a,configurable:!0}):e.name=a),u&&d&&pe(d,"arity")&&e.length!==d.arity&&i(e,"length",{value:d.arity});try{d&&pe(d,"constructor")&&d.constructor?f&&i(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0);}catch(e){}var p=n(e);return pe(p,"source")||(p.source=l(c,"string"==typeof a?a:"")),e};Function.prototype.toString=d((function(){return U(this)&&a(this).source||qe(this)}),"toString");})),ct=function(e,t,n,a){a||(a={});var r=a.enumerable,i=void 0!==a.name?a.name:t;if(U(n)&&ut(n,i,a),a.global)r?e[t]=n:se(t,n);else {try{a.unsafe?e[t]&&(r=!0):delete e[t];}catch(e){}r?e[t]=n:He.f(e,t,{value:n,enumerable:!1,configurable:!a.nonConfigurable,writable:!a.nonWritable});}return e},dt=Math.ceil,pt=Math.floor,gt=Math.trunc||function(e){var t=+e;return (t>0?pt:dt)(t)},Et=function(e){var t=+e;return t!=t||0===t?0:gt(t)},ft=Math.max,bt=Math.min,St=Math.min,Tt=function(e){return t=e.length,(n=Et(t))>0?St(n,9007199254740991):0;var t,n;},ht=function(e){return function(t,n,a){var r=F(t),i=Tt(r);if(0===i)return !e&&-1;var s,o=function(e,t){var n=Et(e);return n<0?ft(n+t,0):bt(n,t)}(a,i);if(e&&n!=n){for(;i>o;)if((s=r[o++])!=s)return !0}else for(;i>o;o++)if((e||o in r)&&r[o]===n)return e||o||0;return !e&&-1}},mt={includes:ht(!0),indexOf:ht(!1)}.indexOf,Nt=y([].push),It=function(e,t){var n,a=F(e),r=0,i=[];for(n in a)!pe(nt,n)&&pe(a,n)&&Nt(i,n);for(;t.length>r;)pe(a,n=t[r++])&&(~mt(i,n)||Nt(i,n));return i},At=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Ot=At.concat("length","prototype"),Rt={f:Object.getOwnPropertyNames||function(e){return It(e,Ot)}},yt={f:Object.getOwnPropertySymbols},Lt=y([].concat),Ct=B("Reflect","ownKeys")||function(e){var t=Rt.f(_e(e)),n=yt.f;return n?Lt(t,n(e)):t},vt=function(e,t,n){for(var a=Ct(t),r=He.f,i=we.f,s=0;s<a.length;s++){var o=a[s];pe(e,o)||n&&pe(n,o)||r(e,o,i(t,o));}},wt=/#|\.prototype\./,Pt=function(e,t){var n=kt[Dt(e)];return n===xt||n!==_t&&(U(t)?E(t):!!t)},Dt=Pt.normalize=function(e){return String(e).replace(wt,".").toLowerCase()},kt=Pt.data={},_t=Pt.NATIVE="N",xt=Pt.POLYFILL="P",Ft=Pt,Mt=we.f,Ut=function(e,t){var n,a,r,i,s,o=e.target,l=e.global,u=e.stat;if(n=l?g:u?g[o]||se(o,{}):g[o]&&g[o].prototype)for(a in t){if(i=t[a],r=e.dontCallGetSet?(s=Mt(n,a))&&s.value:n[a],!Ft(l?a:o+(u?".":"#")+a,e.forced)&&void 0!==r){if(typeof i==typeof r)continue;vt(i,r);}(e.sham||r&&r.sham)&&$e(i,"sham",!0),ct(n,a,i,e);}},Gt={};Gt[me("toStringTag")]="z";var Bt,Ht="[object z]"===String(Gt),$t=me("toStringTag"),Yt=Object,jt="Arguments"===v(function(){return arguments}()),zt=Ht?v:function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Yt(e),$t))?n:jt?v(t):"Object"===(a=v(t))&&U(t.callee)?"Arguments":a},Vt=String,Xt=function(e){if("Symbol"===zt(e))throw new TypeError("Cannot convert a Symbol value to a string");return Vt(e)},Wt=/"/g,Kt=y("".replace);Ut({target:"String",proto:!0,forced:(Bt="anchor",E((function(){var e=""[Bt]('"');return e!==e.toLowerCase()||e.split('"').length>3})))},{anchor:function(e){return t="a",n="name",a=e,r=Xt(x(this)),i="<"+t,""!==n&&(i+=" "+n+'="'+Kt(Xt(a),Wt,"&quot;")+'"'),i+">"+r+"</"+t+">";var t,n,a,r,i;}}),"function"==typeof SuppressedError&&SuppressedError;var Zt=Ht?{}.toString:function(){return "[object "+zt(this)+"]"};Ht||ct(Object.prototype,"toString",Zt,{unsafe:!0});var qt=u((function(e){var t=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,a={},r={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof i?new i(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var a,i;switch(n=n||{},r.util.type(t)){case"Object":if(i=r.util.objId(t),n[i])return n[i];for(var s in a={},n[i]=a,t)t.hasOwnProperty(s)&&(a[s]=e(t[s],n));return a;case"Array":return i=r.util.objId(t),n[i]?n[i]:(a=[],n[i]=a,t.forEach((function(t,r){a[r]=e(t,n);})),a);default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement;}return "none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n);},currentScript:function(){if("undefined"==typeof document)return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(a){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(a.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var a="no-"+t;e;){var r=e.classList;if(r.contains(t))return !0;if(r.contains(a))return !1;e=e.parentElement;}return !!n}},languages:{plain:a,plaintext:a,text:a,txt:a,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var a in t)n[a]=t[a];return n},insertBefore:function(e,t,n,a){var i=(a=a||r.languages)[e],s={};for(var o in i)if(i.hasOwnProperty(o)){if(o==t)for(var l in n)n.hasOwnProperty(l)&&(s[l]=n[l]);n.hasOwnProperty(o)||(s[o]=i[o]);}var u=a[e];return a[e]=s,r.languages.DFS(r.languages,(function(t,n){n===u&&t!=e&&(this[t]=s);})),s},DFS:function e(t,n,a,i){i=i||{};var s=r.util.objId;for(var o in t)if(t.hasOwnProperty(o)){n.call(t,o,t[o],a||o);var l=t[o],u=r.util.type(l);"Object"!==u||i[s(l)]?"Array"!==u||i[s(l)]||(i[s(l)]=!0,e(l,n,o,i)):(i[s(l)]=!0,e(l,n,null,i));}}},plugins:{},highlightAll:function(e,t){r.highlightAllUnder(document,e,t);},highlightAllUnder:function(e,t,n){var a={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};r.hooks.run("before-highlightall",a),a.elements=Array.prototype.slice.apply(a.container.querySelectorAll(a.selector)),r.hooks.run("before-all-elements-highlight",a);for(var i,s=0;i=a.elements[s++];)r.highlightElement(i,!0===t,a.callback);},highlightElement:function(t,n,a){var i=r.util.getLanguage(t),s=r.languages[i];r.util.setLanguage(t,i);var o=t.parentElement;o&&"pre"===o.nodeName.toLowerCase()&&r.util.setLanguage(o,i);var l={element:t,language:i,grammar:s,code:t.textContent};function u(e){l.highlightedCode=e,r.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,r.hooks.run("after-highlight",l),r.hooks.run("complete",l),a&&a.call(l.element);}if(r.hooks.run("before-sanity-check",l),(o=l.element.parentElement)&&"pre"===o.nodeName.toLowerCase()&&!o.hasAttribute("tabindex")&&o.setAttribute("tabindex","0"),!l.code)return r.hooks.run("complete",l),void(a&&a.call(l.element));if(r.hooks.run("before-highlight",l),l.grammar)if(n&&e.Worker){var c=new Worker(r.filename);c.onmessage=function(e){u(e.data);},c.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}));}else u(r.highlight(l.code,l.grammar,l.language));else u(r.util.encode(l.code));},highlight:function(e,t,n){var a={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",a),!a.grammar)throw new Error('The language "'+a.language+'" has no grammar.');return a.tokens=r.tokenize(a.code,a.grammar),r.hooks.run("after-tokenize",a),i.stringify(r.util.encode(a.tokens),a.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var a in n)t[a]=n[a];delete t.rest;}var r=new l;return u(r,r.head,e),o(e,r,t,r.head,0),function(e){var t=[],n=e.head.next;for(;n!==e.tail;)t.push(n.value),n=n.next;return t}(r)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t);},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var a,i=0;a=n[i++];)a(t);}},Token:i};function i(e,t,n,a){this.type=e,this.content=t,this.alias=n,this.length=0|(a||"").length;}function s(e,t,n,a){e.lastIndex=t;var r=e.exec(n);if(r&&a&&r[1]){var i=r[1].length;r.index+=i,r[0]=r[0].slice(i);}return r}function o(e,t,n,a,l,d){for(var p in n)if(n.hasOwnProperty(p)&&n[p]){var g=n[p];g=Array.isArray(g)?g:[g];for(var E=0;E<g.length;++E){if(d&&d.cause==p+","+E)return;var f=g[E],b=f.inside,S=!!f.lookbehind,T=!!f.greedy,h=f.alias;if(T&&!f.pattern.global){var m=f.pattern.toString().match(/[imsuy]*$/)[0];f.pattern=RegExp(f.pattern.source,m+"g");}for(var N=f.pattern||f,I=a.next,A=l;I!==t.tail&&!(d&&A>=d.reach);A+=I.value.length,I=I.next){var O=I.value;if(t.length>e.length)return;if(!(O instanceof i)){var R,y=1;if(T){if(!(R=s(N,A,e,S))||R.index>=e.length)break;var L=R.index,C=R.index+R[0].length,v=A;for(v+=I.value.length;L>=v;)v+=(I=I.next).value.length;if(A=v-=I.value.length,I.value instanceof i)continue;for(var w=I;w!==t.tail&&(v<C||"string"==typeof w.value);w=w.next)y++,v+=w.value.length;y--,O=e.slice(A,v),R.index-=A;}else if(!(R=s(N,0,O,S)))continue;L=R.index;var P=R[0],D=O.slice(0,L),k=O.slice(L+P.length),_=A+O.length;d&&_>d.reach&&(d.reach=_);var x=I.prev;if(D&&(x=u(t,x,D),A+=D.length),c(t,x,y),I=u(t,x,new i(p,b?r.tokenize(P,b):P,h,P)),k&&u(t,I,k),y>1){var F={cause:p+","+E,reach:_};o(e,t,n,I.prev,A,F),d&&F.reach>d.reach&&(d.reach=F.reach);}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0;}function u(e,t,n){var a=t.next,r={value:n,prev:t,next:a};return t.next=r,a.prev=r,e.length++,r}function c(e,t,n){for(var a=t.next,r=0;r<n&&a!==e.tail;r++)a=a.next;t.next=a,a.prev=t,e.length-=r;}if(e.Prism=r,i.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var a="";return t.forEach((function(t){a+=e(t,n);})),a}var i={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},s=t.alias;s&&(Array.isArray(s)?Array.prototype.push.apply(i.classes,s):i.classes.push(s)),r.hooks.run("wrap",i);var o="";for(var l in i.attributes)o+=" "+l+'="'+(i.attributes[l]||"").replace(/"/g,"&quot;")+'"';return "<"+i.tag+' class="'+i.classes.join(" ")+'"'+o+">"+i.content+"</"+i.tag+">"},!e.document)return e.addEventListener?(r.disableWorkerMessageHandler||e.addEventListener("message",(function(t){var n=JSON.parse(t.data),a=n.language,i=n.code,s=n.immediateClose;e.postMessage(r.highlight(i,r.languages[a],a)),s&&e.close();}),!1),r):r;var d=r.util.currentScript();function p(){r.manual||r.highlightAll();}if(d&&(r.filename=d.src,d.hasAttribute("data-manual")&&(r.manual=!0)),!r.manual){var g=document.readyState;"loading"===g||"interactive"===g&&d&&d.defer?document.addEventListener("DOMContentLoaded",p):window.requestAnimationFrame?window.requestAnimationFrame(p):window.setTimeout(p,16);}return r}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});
17559
17559
  /**
17560
17560
  * Prism: Lightweight, robust, elegant syntax highlighting
17561
17561
  *
@@ -17563,7 +17563,7 @@ Fp$1("en",{highLightModule:{selectLang:"Language"}}),Fp$1("zh-CN",{highLightModu
17563
17563
  * @author Lea Verou <https://lea.verou.me>
17564
17564
  * @namespace
17565
17565
  * @public
17566
- */e.exports&&(e.exports=t),void 0!==l&&(l.Prism=t),t.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]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"));})),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(e,n){var a={};a["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[n]},a.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:a}};r["language-"+n]={pattern:/[\s\S]+/,inside:t.languages[n]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},t.languages.insertBefore("markup","cdata",i);}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,n){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\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:[n,"language-"+n],inside:t.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}});}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.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\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,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:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"));}(t),t.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:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.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}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.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:t.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:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.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:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.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:t.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"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.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")),t.languages.js=t.languages.javascript,function(){if(void 0!==t&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},n="data-src-status",a="loading",r="loaded",i="pre[data-src]:not(["+n+'="'+r+'"]):not(['+n+'="'+a+'"])';t.hooks.add("before-highlightall",(function(e){e.selector+=", "+i;})),t.hooks.add("before-sanity-check",(function(s){var o=s.element;if(o.matches(i)){s.code="",o.setAttribute(n,a);var l=o.appendChild(document.createElement("CODE"));l.textContent="Loading…";var u=o.getAttribute("data-src"),c=s.language;if("none"===c){var d=(/\.(\w+)$/.exec(u)||[,"none"])[1];c=e[d]||d;}t.util.setLanguage(l,c),t.util.setLanguage(o,c);var p=t.plugins.autoloader;p&&p.loadLanguages(c),function(e,t,n){var a=new XMLHttpRequest;a.open("GET",e,!0),a.onreadystatechange=function(){4==a.readyState&&(a.status<400&&a.responseText?t(a.responseText):a.status>=400?n("✖ Error "+a.status+" while fetching file: "+a.statusText):n("✖ Error: File does not exist or is empty"));},a.send(null);}(u,(function(e){o.setAttribute(n,r);var a=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var n=Number(t[1]),a=t[2],r=t[3];return a?r?[n,Number(r)]:[n,void 0]:[n,n]}}(o.getAttribute("data-range"));if(a){var i=e.split(/\r\n?|\n/g),s=a[0],u=null==a[1]?i.length:a[1];s<0&&(s+=i.length),s=Math.max(0,Math.min(s-1,i.length)),u<0&&(u+=i.length),u=Math.max(0,Math.min(u,i.length)),e=i.slice(s,u).join("\n"),o.hasAttribute("data-start")||o.setAttribute("data-start",String(s+1));}l.textContent=e,t.highlightElement(l);}),(function(e){o.setAttribute(n,"failed"),l.textContent=e;}));}})),t.plugins.fileHighlight={highlight:function(e){for(var n,a=(e||document).querySelectorAll(i),r=0;n=a[r++];)t.highlightElement(n);}};var s=!1;t.fileHighlight=function(){s||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),s=!0),t.plugins.fileHighlight.highlight.apply(this,arguments);};}}();}));!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,a=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,r=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return a})).replace(/<SPREAD>/g,(function(){return r})),RegExp(e,t)}r=i(r).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var s=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(s).join(""):""},o=function(t){for(var n=[],a=0;a<t.length;a++){var r=t[a],i=!1;if("string"!=typeof r&&("tag"===r.type&&r.content[0]&&"tag"===r.content[0].type?"</"===r.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===s(r.content[0].content[1])&&n.pop():"/>"===r.content[r.content.length-1].content||n.push({tagName:s(r.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===r.type&&"{"===r.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===r.type&&"}"===r.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof r)&&n.length>0&&0===n[n.length-1].openedBraces){var l=s(r);a<t.length-1&&("string"==typeof t[a+1]||"plain-text"===t[a+1].type)&&(l+=s(t[a+1]),t.splice(a+1,1)),a>0&&("string"==typeof t[a-1]||"plain-text"===t[a-1].type)&&(l=s(t[a-1])+l,t.splice(a-1,1),a--),t[a]=new e.Token("plain-text",l,null,l);}r.content&&"string"!=typeof r.content&&o(r.content);}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||o(e.tokens);}));}(Prism),function(e){e.languages.typescript=e.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/}),e.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 e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.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:t}}}}),e.languages.ts=e.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(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"));})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var a={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};a["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var r={};r[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:a},Prism.languages.insertBefore("markup","cdata",r);}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\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:[t,"language-"+t],inside:Prism.languages[t]},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"],function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],a=/\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,r=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,i=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,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:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:a,operator:r,punctuation:i};var s={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},o=[{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:s}},{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:s}}];e.languages.insertBefore("php","variable",{string:o,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:o,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:a,operator:r,punctuation:i}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",(function(t){if(/<\?/.test(t.code)){e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g);}})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"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,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:/![sra](?=[:}]$)/,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,function(e){var t=/\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/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,a={pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[a,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:a.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:a.inside}],keyword:t,function:[e.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/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.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":a,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:a.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:a.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 t.source}))),lookbehind:!0,inside:{punctuation:/\./}}});}(Prism),function(e){var t=/\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/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.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:t,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/}),e.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 n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.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:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"]);}(Prism),function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return "(?:"+t[+n]+")"}))}function n(e,n,a){return RegExp(t(e,n),a||"")}function a(e,t){for(var n=0;n<t;n++)e=e.replace(/<<self>>/g,(function(){return "(?:"+e+")"}));return e.replace(/<<self>>/g,"[^\\s\\S]")}var r="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",i="class enum interface record struct",s="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*{)",o="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 l(e){return "\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var u=l(i),c=RegExp(l(r+" "+i+" "+s+" "+o)),d=l(i+" "+s+" "+o),p=l(r+" "+i+" "+o),g=a(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),E=a(/\((?:[^()]|<<self>>)*\)/.source,2),f=/@?\b[A-Za-z_]\w*\b/.source,b=t(/<<0>>(?:\s*<<1>>)?/.source,[f,g]),S=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,b]),T=/\[\s*(?:,\s*)*\]/.source,h=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[S,T]),m=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[g,E,T]),N=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[m]),I=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[N,S,T]),A={keyword:c,punctuation:/[<>()?,.:[\]]/},O=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,R=/"(?:\\.|[^\\"\r\n])*"/.source,y=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[y]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[R]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[S]),lookbehind:!0,inside:A},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[f,I]),lookbehind:!0,inside:A},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[f]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[u,b]),lookbehind:!0,inside:A},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[S]),lookbehind:!0,inside:A},{pattern:n(/(\bwhere\s+)<<0>>/.source,[f]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[h]),lookbehind:!0,inside:A},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[I,p,f]),inside:A}],keyword:c,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:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[f]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[f]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[E]),lookbehind:!0,alias:"class-name",inside:A},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[I,S]),inside:A,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[I]),lookbehind:!0,inside:A,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[f,g]),inside:{function:n(/^<<0>>/.source,[f]),generic:{pattern:RegExp(g),alias:"class-name",inside:A}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[u,b,f,I,c.source,E,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[b,E]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(I),greedy:!0,inside:A},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 L=R+"|"+O,C=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[L]),v=a(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[C]),2),w=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,P=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[S,v]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[w,P]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[w]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[v]),inside:e.languages.csharp},"class-name":{pattern:RegExp(S),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var D=/:[^}\r\n]+/.source,k=a(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[C]),2),_=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[k,D]),x=a(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[L]),2),F=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[x,D]);function M(t,a){return {interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[a,D]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[_]),lookbehind:!0,greedy:!0,inside:M(_,k)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[F]),lookbehind:!0,greedy:!0,inside:M(F,x)}],char:{pattern:RegExp(O),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.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:/[;[\]()`,.]/},function(e){e.languages.ruby=e.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:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var n="(?:"+[/([^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("|")+")",a=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+a),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+a+/(?=:(?!:))/.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:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,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:t,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+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.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)/}),e.languages.rb=e.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(e){e.inside.interpolation.inside=Prism.languages.swift;})),function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},a={bash:n,environment:{pattern:RegExp("\\$"+t),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("(\\{)"+t),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})/};e.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;|&]|[<>]\\()"+t),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:a},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:a},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:a.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:a.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}},n.inside=e.languages.bash;for(var r=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=a.variable[1].inside,s=0;s<r.length;s++)i[r[s]]=e.languages.bash[r[s]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash;}(Prism),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var a=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,r=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return a})),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.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:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+r+i+"(?:"+r+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+r+i+")(?:"+r+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(a),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+r+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+r+"$"),inside:{"table-header":{pattern:RegExp(a),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n]);}));})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,a=t.length;n<a;n++){var r=t[n];if("code"===r.type){var i=r.content[1],s=r.content[3];if(i&&s&&"code-language"===i.type&&"code-block"===s.type&&"string"==typeof i.content){var o=i.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),l="language-"+(o=(/[a-z][\w-]*/i.exec(o)||[""])[0].toLowerCase());s.alias?"string"==typeof s.alias?s.alias=[s.alias,l]:s.alias.push(l):s.alias=[l];}}else e(r.content);}}(e.tokens);})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",a=0,r=t.classes.length;a<r;a++){var i=t.classes[a],u=/language-(.+)/.exec(i);if(u){n=u[1];break}}var c=e.languages[n];if(c)t.content=e.highlight(function(e){var t=e.replace(s,"");return t=t.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;if("#"===(t=t.toLowerCase())[0])return n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(n);var a=o[t];return a||e}))}(t.content),c,n);else if(n&&"none"!==n&&e.plugins.autoloader){var d="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=d,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(d);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n));}));}}}));var s=RegExp(e.languages.markup.tag.pattern.source,"gi"),o={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.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(e){var t={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};e.languages.groovy=e.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:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.inside.expression.inside=e.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 Rn=["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 yn(e){return "string"==typeof e?e.length:"string"==typeof e.content?e.content.length:e.content.reduce((function(e,t){return e+yn(t)}),0)}Tn({global:!0,forced:g.globalThis!==g},{globalThis:g}),attr&&($$6.fn.attr=attr);var Ln,Cn=String,vn=function(e){if("Symbol"===ot(e))throw new TypeError("Cannot convert a Symbol value to a string");return Cn(e)},wn=function(){var e=ue(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},Pn=g.RegExp,Dn=T((function(){var e=Pn("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),kn=Dn||T((function(){return !Pn("a","y").sticky})),_n={BROKEN_CARET:Dn||T((function(){var e=Pn("^r","gy");return e.lastIndex=2,null!==e.exec("str")})),MISSED_STICKY:kn,UNSUPPORTED_Y:Dn},xn=ee&&!se?Object.defineProperties:function(e,t){ue(e);for(var n,a=Xt(t),r=hn(t),i=r.length,s=0;i>s;)we.f(e,n=r[s++],a[n]);return e},Fn={f:xn},Mn=pe("document","documentElement"),Un="prototype",Gn="script",Bn=ze("IE_PROTO"),Hn=function(){},$n=function(e){return "<"+Gn+">"+e+"</"+Gn+">"},Yn=function(e){e.write($n("")),e.close();var t=e.parentWindow.Object;return e=null,t},jn=function(){try{Ln=new ActiveXObject("htmlfile");}catch(e){}var e,t,n;jn="undefined"!=typeof document?document.domain&&Ln?Yn(Ln):(t=re("iframe"),n="java"+Gn+":",t.style.display="none",Mn.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write($n("document.F=Object")),e.close(),e.F):Yn(Ln);for(var a=nn.length;a--;)delete jn[Un][nn[a]];return jn()};Ve[Bn]=!0;var zn,Vn,Xn=Object.create||function(e,t){var n;return null!==e?(Hn[Un]=ue(e),n=new Hn,Hn[Un]=null,n[Bn]=e):n=jn(),void 0===t?n:Fn.f(n,t)},Wn=g.RegExp,Kn=T((function(){var e=Wn(".","s");return !(e.dotAll&&e.test("\n")&&"s"===e.flags)})),Zn=g.RegExp,qn=T((function(){var e=Zn("(?<a>b)","g");return "b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Qn=Qe.get,Jn=S("native-string-replace",String.prototype.replace),ea=RegExp.prototype.exec,ta=ea,na=A("".charAt),aa=A("".indexOf),ra=A("".replace),ia=A("".slice),sa=(Vn=/b*/g,de(ea,zn=/a/,"a"),de(ea,Vn,"a"),0!==zn.lastIndex||0!==Vn.lastIndex),oa=_n.BROKEN_CARET,la=void 0!==/()??/.exec("")[1];(sa||la||oa||Kn||qn)&&(ta=function(e){var t,n,a,r,i,s,o,l=this,u=Qn(l),c=vn(e),d=u.raw;if(d)return d.lastIndex=l.lastIndex,t=de(ta,d,c),l.lastIndex=d.lastIndex,t;var p=u.groups,g=oa&&l.sticky,E=de(wn,l),f=l.source,b=0,S=c;if(g&&(E=ra(E,"y",""),-1===aa(E,"g")&&(E+="g"),S=ia(c,l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==na(c,l.lastIndex-1))&&(f="(?: "+f+")",S=" "+S,b++),n=new RegExp("^(?:"+f+")",E)),la&&(n=new RegExp("^"+f+"$(?!\\s)",E)),sa&&(a=l.lastIndex),r=de(ea,g?n:l,S),g?r?(r.input=ia(r.input,b),r[0]=ia(r[0],b),r.index=l.lastIndex,l.lastIndex+=r[0].length):l.lastIndex=0:sa&&r&&(l.lastIndex=l.global?r.index+r[0].length:a),la&&r&&r.length>1&&de(Jn,r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0);})),r&&p)for(r.groups=s=Xn(null),i=0;i<p.length;i++)s[(o=p[i])[0]]=r[o[1]];return r});Tn({target:"RegExp",proto:!0,forced:/./.exec!==ta},{exec:ta});var ua=RegExp.prototype,ca=_e.PROPER,da="toString",pa=RegExp.prototype,ga=pa[da],Ea=T((function(){return "/a/b"!==ga.call({source:"a",flags:"b"})})),fa=ca&&ga.name!==da;(Ea||fa)&&et(pa,da,(function(){var e=ue(this),t=vn(e.source),n=vn(function(e){var t=e.flags;return void 0!==t||"flags"in ua||w(e,"flags")||!ge(ua,e)?t:de(wn,e)}(e));return "/"+t+"/"+n}),{unsafe:!0});var ba=function(){function e(){this.title=Wp$1("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 e.prototype.getOptions=function(e){var t=this,n=[],a=e.getMenuConfig("codeSelectLang").codeLangs,r=void 0===a?[]:a;n.push({text:"plain text",value:""}),r.forEach((function(e){var a=e.text,r=e.value;e.selected&&(t.defaultCodeLang=r),n.push({text:a,value:r});}));var i=this.getValue(e);return n.forEach((function(e){e.value===i?e.selected=!0:delete e.selected;})),n},e.prototype.isActive=function(e){return !1},e.prototype.getValue=function(e){var t=this.getSelectCodeElem(e);if(null==t)return this.defaultCodeLang;if(!Element$1.isElement(t))return this.defaultCodeLang;var n=t.language.toString(),a=e.getMenuConfig("codeSelectLang").codeLangs;return (void 0===a?[]:a).some((function(e){return e.value===n}))?n:this.defaultCodeLang},e.prototype.isDisabled=function(e){return null==e.selection||!this.getSelectCodeElem(e)},e.prototype.exec=function(e,n){if(null!=this.getSelectCodeElem(e)){var a={language:n.toString()};Transforms.setNodes(e,a,{match:function(e){return Ic$2.checkNodeType(e,"code")}});}},e.prototype.getSelectCodeElem=function(e){var n=Ic$2.getSelectedNodeByType(e,"code");if(null==n)return null;var a=Ic$2.getParentNode(e,n);return Element$1.isElement(a)?"pre"!==a.type?null:n:null},e}();var Sa={renderStyle:function(e,t){var n=e,a=t,r="";return Rn.forEach((function(e){n[e]&&(r=e);})),r&&function(e,t){null==e.data&&(e.data={});var n=e.data;null==n.props&&(n.props={}),Object.assign(n.props,{className:t});}(a,r="token "+r),a},parseStyleHtml:function(e,n,r){var s=$$6(e);if(!Element$1.isElement(n))return n;if("code"!==Ic$2.getNodeType(n))return n;var o=n,l=s.attr("class")||"";return 0===l.indexOf("language-")?o.language=l.split("-")[1]||"":o.language=l.toLowerCase(),o},menus:[{key:"codeSelectLang",factory:function(){return new ba},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"}]}}],elemsToHtml:[{type:"code",elemToHtml:function(e,t){var n=e.language,a=void 0===n?"":n;return "<code "+(a?'class="language-'+a+'"':"")+">"+t+"</code>"}}]},Ta=/"/g,ha=A("".replace);Tn({target:"String",proto:!0,forced:function(e){return T((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}("anchor")},{anchor:function(e){return t="a",n="name",a=e,r=vn(y(this)),i="<"+t,""!==n&&(i+=" "+n+'="'+ha(vn(a),Ta,"&quot;")+'"'),i+">"+r+"</"+t+">";var t,n,a,r,i;}}),"function"==typeof SuppressedError&&SuppressedError;var ma=function(e){var n,a,r,i=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var a,r,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(a=i.next()).done;)s.push(a.value);}catch(e){r={error:e};}finally{try{a&&!a.done&&(n=i.return)&&n.call(i);}finally{if(r)throw r.error}}return s}(e,2),s=i[0],l=i[1],u=[],c=function(e){if(!Text.isText(e))return null;var n=Ic$2.getParentNode(null,e);if(n&&"code"===Ic$2.getNodeType(n)){var a=Ic$2.getParentNode(null,n);if(a&&"pre"===Ic$2.getNodeType(a))return n}return null}(s);if(null==c)return u;var d=c.language,p=void 0===d?"":d;if(!p)return u;var g=function(e,t){if(!t)return [];var n=On.languages[t];return n?On.tokenize(e.text,n):[]}(s,p),E=0;try{for(var f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],a=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return {next:function(){return e&&a>=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(g),b=f.next();!b.done;b=f.next()){var S=b.value,T=E+yn(S);"string"!=typeof S&&u.push(((r={})[S.type]=!0,r.anchor={path:l,offset:E},r.focus={path:l,offset:T},r)),E=T;}}catch(e){n={error:e};}finally{try{b&&!b.done&&(a=f.return)&&a.call(f);}finally{if(n)throw n.error}}return u};
17566
+ */e.exports&&(e.exports=t),void 0!==l&&(l.Prism=t),t.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]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",(function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"));})),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(e,n){var a={};a["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[n]},a.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:a}};r["language-"+n]={pattern:/[\s\S]+/,inside:t.languages[n]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:r},t.languages.insertBefore("markup","cdata",i);}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,n){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\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:[n,"language-"+n],inside:t.languages[n]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}});}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.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\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,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:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"));}(t),t.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:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.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}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.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:t.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:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.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:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.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:t.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"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.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")),t.languages.js=t.languages.javascript,function(){if(void 0!==t&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},n="data-src-status",a="loading",r="loaded",i="pre[data-src]:not(["+n+'="'+r+'"]):not(['+n+'="'+a+'"])';t.hooks.add("before-highlightall",(function(e){e.selector+=", "+i;})),t.hooks.add("before-sanity-check",(function(s){var o=s.element;if(o.matches(i)){s.code="",o.setAttribute(n,a);var l=o.appendChild(document.createElement("CODE"));l.textContent="Loading…";var u=o.getAttribute("data-src"),c=s.language;if("none"===c){var d=(/\.(\w+)$/.exec(u)||[,"none"])[1];c=e[d]||d;}t.util.setLanguage(l,c),t.util.setLanguage(o,c);var p=t.plugins.autoloader;p&&p.loadLanguages(c),function(e,t,n){var a=new XMLHttpRequest;a.open("GET",e,!0),a.onreadystatechange=function(){4==a.readyState&&(a.status<400&&a.responseText?t(a.responseText):a.status>=400?n("✖ Error "+a.status+" while fetching file: "+a.statusText):n("✖ Error: File does not exist or is empty"));},a.send(null);}(u,(function(e){o.setAttribute(n,r);var a=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var n=Number(t[1]),a=t[2],r=t[3];return a?r?[n,Number(r)]:[n,void 0]:[n,n]}}(o.getAttribute("data-range"));if(a){var i=e.split(/\r\n?|\n/g),s=a[0],u=null==a[1]?i.length:a[1];s<0&&(s+=i.length),s=Math.max(0,Math.min(s-1,i.length)),u<0&&(u+=i.length),u=Math.max(0,Math.min(u,i.length)),e=i.slice(s,u).join("\n"),o.hasAttribute("data-start")||o.setAttribute("data-start",String(s+1));}l.textContent=e,t.highlightElement(l);}),(function(e){o.setAttribute(n,"failed"),l.textContent=e;}));}})),t.plugins.fileHighlight={highlight:function(e){for(var n,a=(e||document).querySelectorAll(i),r=0;n=a[r++];)t.highlightElement(n);}};var s=!1;t.fileHighlight=function(){s||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),s=!0),t.plugins.fileHighlight.highlight.apply(this,arguments);};}}();}));!function(e){var t=e.util.clone(e.languages.javascript),n=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,a=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,r=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(e,t){return e=e.replace(/<S>/g,(function(){return n})).replace(/<BRACES>/g,(function(){return a})).replace(/<SPREAD>/g,(function(){return r})),RegExp(e,t)}r=i(r).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var s=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(s).join(""):""},o=function(t){for(var n=[],a=0;a<t.length;a++){var r=t[a],i=!1;if("string"!=typeof r&&("tag"===r.type&&r.content[0]&&"tag"===r.content[0].type?"</"===r.content[0].content[0].content?n.length>0&&n[n.length-1].tagName===s(r.content[0].content[1])&&n.pop():"/>"===r.content[r.content.length-1].content||n.push({tagName:s(r.content[0].content[1]),openedBraces:0}):n.length>0&&"punctuation"===r.type&&"{"===r.content?n[n.length-1].openedBraces++:n.length>0&&n[n.length-1].openedBraces>0&&"punctuation"===r.type&&"}"===r.content?n[n.length-1].openedBraces--:i=!0),(i||"string"==typeof r)&&n.length>0&&0===n[n.length-1].openedBraces){var l=s(r);a<t.length-1&&("string"==typeof t[a+1]||"plain-text"===t[a+1].type)&&(l+=s(t[a+1]),t.splice(a+1,1)),a>0&&("string"==typeof t[a-1]||"plain-text"===t[a-1].type)&&(l=s(t[a-1])+l,t.splice(a-1,1),a--),t[a]=new e.Token("plain-text",l,null,l);}r.content&&"string"!=typeof r.content&&o(r.content);}};e.hooks.add("after-tokenize",(function(e){"jsx"!==e.language&&"tsx"!==e.language||o(e.tokens);}));}(Prism),function(e){e.languages.typescript=e.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/}),e.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 e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.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:t}}}}),e.languages.ts=e.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(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"));})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var a={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};a["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var r={};r[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:a},Prism.languages.insertBefore("markup","cdata",r);}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\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:[t,"language-"+t],inside:Prism.languages[t]},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"],function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,n=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],a=/\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,r=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,i=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,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:n,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:a,operator:r,punctuation:i};var s={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},o=[{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:s}},{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:s}}];e.languages.insertBefore("php","variable",{string:o,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:o,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:n,number:a,operator:r,punctuation:i}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",(function(t){if(/<\?/.test(t.code)){e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g);}})),e.hooks.add("after-tokenize",(function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"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,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:/![sra](?=[:}]$)/,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,function(e){var t=/\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/,n=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,a={pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[a,{pattern:RegExp(/(^|[^\w.])/.source+n+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:a.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+n+/[A-Z]\w*\b/.source),lookbehind:!0,inside:a.inside}],keyword:t,function:[e.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/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.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":a,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+n+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:a.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+n+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:a.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 t.source}))),lookbehind:!0,inside:{punctuation:/\./}}});}(Prism),function(e){var t=/\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/,n=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,(function(){return t.source}));e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,(function(){return t.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:t,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/}),e.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 n}))+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.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:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"]);}(Prism),function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,(function(e,n){return "(?:"+t[+n]+")"}))}function n(e,n,a){return RegExp(t(e,n),a||"")}function a(e,t){for(var n=0;n<t;n++)e=e.replace(/<<self>>/g,(function(){return "(?:"+e+")"}));return e.replace(/<<self>>/g,"[^\\s\\S]")}var r="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",i="class enum interface record struct",s="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*{)",o="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 l(e){return "\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var u=l(i),c=RegExp(l(r+" "+i+" "+s+" "+o)),d=l(i+" "+s+" "+o),p=l(r+" "+i+" "+o),g=a(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),E=a(/\((?:[^()]|<<self>>)*\)/.source,2),f=/@?\b[A-Za-z_]\w*\b/.source,b=t(/<<0>>(?:\s*<<1>>)?/.source,[f,g]),S=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,b]),T=/\[\s*(?:,\s*)*\]/.source,h=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[S,T]),m=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[g,E,T]),N=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[m]),I=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[N,S,T]),A={keyword:c,punctuation:/[<>()?,.:[\]]/},O=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,R=/"(?:\\.|[^\\"\r\n])*"/.source,y=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:n(/(^|[^$\\])<<0>>/.source,[y]),lookbehind:!0,greedy:!0},{pattern:n(/(^|[^@$\\])<<0>>/.source,[R]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:n(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[S]),lookbehind:!0,inside:A},{pattern:n(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[f,I]),lookbehind:!0,inside:A},{pattern:n(/(\busing\s+)<<0>>(?=\s*=)/.source,[f]),lookbehind:!0},{pattern:n(/(\b<<0>>\s+)<<1>>/.source,[u,b]),lookbehind:!0,inside:A},{pattern:n(/(\bcatch\s*\(\s*)<<0>>/.source,[S]),lookbehind:!0,inside:A},{pattern:n(/(\bwhere\s+)<<0>>/.source,[f]),lookbehind:!0},{pattern:n(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[h]),lookbehind:!0,inside:A},{pattern:n(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[I,p,f]),inside:A}],keyword:c,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:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:n(/([(,]\s*)<<0>>(?=\s*:)/.source,[f]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:n(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[f]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:n(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[E]),lookbehind:!0,alias:"class-name",inside:A},"return-type":{pattern:n(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[I,S]),inside:A,alias:"class-name"},"constructor-invocation":{pattern:n(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[I]),lookbehind:!0,inside:A,alias:"class-name"},"generic-method":{pattern:n(/<<0>>\s*<<1>>(?=\s*\()/.source,[f,g]),inside:{function:n(/^<<0>>/.source,[f]),generic:{pattern:RegExp(g),alias:"class-name",inside:A}}},"type-list":{pattern:n(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[u,b,f,I,c.source,E,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:n(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[b,E]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(I),greedy:!0,inside:A},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 L=R+"|"+O,C=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[L]),v=a(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[C]),2),w=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,P=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[S,v]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:n(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[w,P]),lookbehind:!0,greedy:!0,inside:{target:{pattern:n(/^<<0>>(?=\s*:)/.source,[w]),alias:"keyword"},"attribute-arguments":{pattern:n(/\(<<0>>*\)/.source,[v]),inside:e.languages.csharp},"class-name":{pattern:RegExp(S),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var D=/:[^}\r\n]+/.source,k=a(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[C]),2),_=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[k,D]),x=a(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[L]),2),F=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[x,D]);function M(t,a){return {interpolation:{pattern:n(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:n(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[a,D]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:n(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[_]),lookbehind:!0,greedy:!0,inside:M(_,k)},{pattern:n(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[F]),lookbehind:!0,greedy:!0,inside:M(F,x)}],char:{pattern:RegExp(O),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.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:/[;[\]()`,.]/},function(e){e.languages.ruby=e.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:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var n="(?:"+[/([^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("|")+")",a=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+n+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+a),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+a+/(?=:(?!:))/.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:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+n),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,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:t,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+n),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.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)/}),e.languages.rb=e.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(e){e.inside.interpolation.inside=Prism.languages.swift;})),function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",n={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},a={bash:n,environment:{pattern:RegExp("\\$"+t),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("(\\{)"+t),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})/};e.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;|&]|[<>]\\()"+t),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:a},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:n}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:a},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:a.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:a.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}},n.inside=e.languages.bash;for(var r=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=a.variable[1].inside,s=0;s<r.length;s++)i[r[s]]=e.languages.bash[r[s]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash;}(Prism),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function n(e){return e=e.replace(/<inner>/g,(function(){return t})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var a=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,r=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return a})),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.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:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+r+i+"(?:"+r+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+r+i+")(?:"+r+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(a),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+r+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+r+"$"),inside:{"table-header":{pattern:RegExp(a),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:n(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:n(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:n(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:n(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(t){["url","bold","italic","strike","code-snippet"].forEach((function(n){t!==n&&(e.languages.markdown[t].inside.content.inside[n]=e.languages.markdown[n]);}));})),e.hooks.add("after-tokenize",(function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var n=0,a=t.length;n<a;n++){var r=t[n];if("code"===r.type){var i=r.content[1],s=r.content[3];if(i&&s&&"code-language"===i.type&&"code-block"===s.type&&"string"==typeof i.content){var o=i.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),l="language-"+(o=(/[a-z][\w-]*/i.exec(o)||[""])[0].toLowerCase());s.alias?"string"==typeof s.alias?s.alias=[s.alias,l]:s.alias.push(l):s.alias=[l];}}else e(r.content);}}(e.tokens);})),e.hooks.add("wrap",(function(t){if("code-block"===t.type){for(var n="",a=0,r=t.classes.length;a<r;a++){var i=t.classes[a],u=/language-(.+)/.exec(i);if(u){n=u[1];break}}var c=e.languages[n];if(c)t.content=e.highlight(function(e){var t=e.replace(s,"");return t=t.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,(function(e,t){var n;if("#"===(t=t.toLowerCase())[0])return n="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(n);var a=o[t];return a||e}))}(t.content),c,n);else if(n&&"none"!==n&&e.plugins.autoloader){var d="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=d,e.plugins.autoloader.loadLanguages(n,(function(){var t=document.getElementById(d);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[n],n));}));}}}));var s=RegExp(e.languages.markup.tag.pattern.source,"gi"),o={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.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(e){var t={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};e.languages.groovy=e.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:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.inside.expression.inside=e.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 Qt=["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 Jt(e){return "string"==typeof e?e.length:"string"==typeof e.content?e.content.length:e.content.reduce((function(e,t){return e+Jt(t)}),0)}var en=function(e){var n,r,i,s=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var a,r,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(a=i.next()).done;)s.push(a.value);}catch(e){r={error:e};}finally{try{a&&!a.done&&(n=i.return)&&n.call(i);}finally{if(r)throw r.error}}return s}(e,2),o=s[0],l=s[1],u=[],c=function(e){if(!Text.isText(e))return null;var n=$u$3.getParentNode(null,e);if(n&&"code"===$u$3.getNodeType(n)){var r=$u$3.getParentNode(null,n);if(r&&"pre"===$u$3.getNodeType(r))return n}return null}(o);if(null==c)return u;var d=c.language,p=void 0===d?"":d;if(!p)return u;var g=function(e,t){if(!t)return [];var n=qt.languages[t];return n?qt.tokenize(e.text,n):[]}(o,p),E=0;try{for(var f=function(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],a=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return {next:function(){return e&&a>=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(g),b=f.next();!b.done;b=f.next()){var S=b.value,T=E+Jt(S);"string"!=typeof S&&u.push(((i={})[S.type]=!0,i.anchor={path:l,offset:E},i.focus={path:l,offset:T},i)),E=T;}}catch(e){n={error:e};}finally{try{b&&!b.done&&(r=f.return)&&r.call(f);}finally{if(n)throw n.error}}return u},tn=Array.isArray||function(e){return "Array"===v(e)},nn=TypeError,an=function(e){if(e>9007199254740991)throw nn("Maximum allowed index exceeded");return e},rn=function(e,t,n){f?He.f(e,t,I(0,n)):e[t]=n;},sn=function(){},on=B("Reflect","construct"),ln=/^\s*(?:class|function)\b/,un=y(ln.exec),cn=!ln.test(sn),dn=function(e){if(!U(e))return !1;try{return on(sn,[],e),!0}catch(e){return !1}},pn=function(e){if(!U(e))return !1;switch(zt(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return !1}try{return cn||!!un(ln,qe(e))}catch(e){return !0}};pn.sham=!0;var gn=!on||E((function(){var e;return dn(dn.call)||!dn(Object)||!dn((function(){e=!0;}))||e}))?pn:dn,En=me("species"),fn=Array,bn=function(e,t){return new(function(e){var t;return tn(e)&&(t=e.constructor,(gn(t)&&(t===fn||tn(t.prototype))||G(t)&&null===(t=t[En]))&&(t=void 0)),void 0===t?fn:t}(e))(0===t?0:t)},Sn=me("species"),Tn=me("isConcatSpreadable"),hn=K>=51||!E((function(){var e=[];return e[Tn]=!1,e.concat()[0]!==e})),mn=function(e){if(!G(e))return !1;var t=e[Tn];return void 0!==t?!!t:tn(e)},Nn=!hn||!function(e){return K>=51||!E((function(){var t=[];return (t.constructor={})[Sn]=function(){return {foo:1}},1!==t[e](Boolean).foo}))}("concat");Ut({target:"Array",proto:!0,arity:1,forced:Nn},{concat:function(e){var t,n,a,r,i,s=ce(this),o=bn(s,0),l=0;for(t=-1,a=arguments.length;t<a;t++)if(mn(i=-1===t?s:arguments[t]))for(r=Tt(i),an(l+r),n=0;n<r;n++,l++)n in i&&rn(o,l,i[n]);else an(l+1),rn(o,l++,i);return o.length=l,o}});var In={type:"code",elemToHtml:function(e,t){var n=e.language,a=void 0===n?"":n,r=a?'class="language-'.concat(a,'"'):"";return "<code ".concat(r,">").concat(t,"</code>")}};var An,On=function(){var e=_e(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t},Rn=g.RegExp,yn=E((function(){var e=Rn("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),Ln=yn||E((function(){return !Rn("a","y").sticky})),Cn={BROKEN_CARET:yn||E((function(){var e=Rn("^r","gy");return e.lastIndex=2,null!==e.exec("str")})),MISSED_STICKY:Ln,UNSUPPORTED_Y:yn},vn=Object.keys||function(e){return It(e,At)},wn=f&&!Pe?Object.defineProperties:function(e,t){_e(e);for(var n,a=F(t),r=vn(t),i=r.length,s=0;i>s;)He.f(e,n=r[s++],a[n]);return e},Pn={f:wn},Dn=B("document","documentElement"),kn="prototype",_n="script",xn=tt("IE_PROTO"),Fn=function(){},Mn=function(e){return "<"+_n+">"+e+"</"+_n+">"},Un=function(e){e.write(Mn("")),e.close();var t=e.parentWindow.Object;return e=null,t},Gn=function(){try{An=new ActiveXObject("htmlfile");}catch(e){}var e,t,n;Gn="undefined"!=typeof document?document.domain&&An?Un(An):(t=Le("iframe"),n="java"+_n+":",t.style.display="none",Dn.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(Mn("document.F=Object")),e.close(),e.F):Un(An);for(var a=At.length;a--;)delete Gn[kn][At[a]];return Gn()};nt[xn]=!0;var Bn,Hn,$n=Object.create||function(e,t){var n;return null!==e?(Fn[kn]=_e(e),n=new Fn,Fn[kn]=null,n[xn]=e):n=Gn(),void 0===t?n:Pn.f(n,t)},Yn=g.RegExp,jn=E((function(){var e=Yn(".","s");return !(e.dotAll&&e.test("\n")&&"s"===e.flags)})),zn=g.RegExp,Vn=E((function(){var e=zn("(?<a>b)","g");return "b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),Xn=lt.get,Wn=le("native-string-replace",String.prototype.replace),Kn=RegExp.prototype.exec,Zn=Kn,qn=y("".charAt),Qn=y("".indexOf),Jn=y("".replace),ea=y("".slice),ta=(Hn=/b*/g,T(Kn,Bn=/a/,"a"),T(Kn,Hn,"a"),0!==Bn.lastIndex||0!==Hn.lastIndex),na=Cn.BROKEN_CARET,aa=void 0!==/()??/.exec("")[1];(ta||aa||na||jn||Vn)&&(Zn=function(e){var t,n,a,r,i,s,o,l=this,u=Xn(l),c=Xt(e),d=u.raw;if(d)return d.lastIndex=l.lastIndex,t=T(Zn,d,c),l.lastIndex=d.lastIndex,t;var p=u.groups,g=na&&l.sticky,E=T(On,l),f=l.source,b=0,S=c;if(g&&(E=Jn(E,"y",""),-1===Qn(E,"g")&&(E+="g"),S=ea(c,l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==qn(c,l.lastIndex-1))&&(f="(?: "+f+")",S=" "+S,b++),n=new RegExp("^(?:"+f+")",E)),aa&&(n=new RegExp("^"+f+"$(?!\\s)",E)),ta&&(a=l.lastIndex),r=T(Kn,g?n:l,S),g?r?(r.input=ea(r.input,b),r[0]=ea(r[0],b),r.index=l.lastIndex,l.lastIndex+=r[0].length):l.lastIndex=0:ta&&r&&(l.lastIndex=l.global?r.index+r[0].length:a),aa&&r&&r.length>1&&T(Wn,r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0);})),r&&p)for(r.groups=s=$n(null),i=0;i<p.length;i++)s[(o=p[i])[0]]=r[o[1]];return r});Ut({target:"RegExp",proto:!0,forced:/./.exec!==Zn},{exec:Zn});var ra=RegExp.prototype,ia=Ve.PROPER,sa="toString",oa=RegExp.prototype,la=oa[sa],ua=E((function(){return "/a/b"!==la.call({source:"a",flags:"b"})})),ca=ia&&la.name!==sa;(ua||ca)&&ct(oa,sa,(function(){var e=_e(this),t=Xt(e.source),n=Xt(function(e){var t=e.flags;return void 0!==t||"flags"in ra||pe(e,"flags")||!H(ra,e)?t:T(On,e)}(e));return "/"+t+"/"+n}),{unsafe:!0});var da={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},pa=Le("span").classList,ga=pa&&pa.constructor&&pa.constructor.prototype,Ea=ga===Object.prototype?void 0:ga,fa=function(e){if("Function"===v(e))return y(e)},ba=fa(fa.bind),Sa=y([].push),Ta=function(e){var t=1===e,n=2===e,a=3===e,r=4===e,i=6===e,s=7===e,o=5===e||i;return function(l,u,c,d){for(var p,g,E=ce(l),f=D(E),S=Tt(f),T=function(e,t){return ae(e),void 0===t?e:b?ba(e,t):function(){return e.apply(t,arguments)}}(u,c),h=0,m=d||bn,N=t?m(l,S):n||s?m(l,0):void 0;S>h;h++)if((o||h in f)&&(g=T(p=f[h],h,E),e))if(t)N[h]=g;else if(g)switch(e){case 3:return !0;case 5:return p;case 6:return h;case 2:Sa(N,p);}else switch(e){case 4:return !1;case 7:Sa(N,p);}return i?-1:a||r?r:N}},ha={forEach:Ta(0),map:Ta(1),filter:Ta(2),some:Ta(3),every:Ta(4),find:Ta(5),findIndex:Ta(6),filterReject:Ta(7)}.forEach,ma=function(e,t){var n=[][e];return !!n&&E((function(){n.call(null,t||function(){return 1},1);}))}("forEach"),Na=ma?[].forEach:function(e){return ha(this,e,arguments.length>1?arguments[1]:void 0)},Ia=function(e){if(e&&e.forEach!==Na)try{$e(e,"forEach",Na);}catch(t){e.forEach=Na;}};for(var Aa in da)da[Aa]&&Ia(g[Aa]&&g[Aa].prototype);Ia(Ea);var Oa=function(){function e(){this.title=Up$1("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 e.prototype.getOptions=function(e){var t=this,n=[],a=e.getMenuConfig("codeSelectLang").codeLangs,r=void 0===a?[]:a;n.push({text:"plain text",value:""}),r.forEach((function(e){var a=e.text,r=e.value;e.selected&&(t.defaultCodeLang=r),n.push({text:a,value:r});}));var i=this.getValue(e);return n.forEach((function(e){e.value===i?e.selected=!0:delete e.selected;})),n},e.prototype.isActive=function(e){return !1},e.prototype.getValue=function(e){var t=this.getSelectCodeElem(e);if(null==t)return this.defaultCodeLang;if(!Element$1.isElement(t))return this.defaultCodeLang;var n=t.language.toString(),a=e.getMenuConfig("codeSelectLang").codeLangs;return (void 0===a?[]:a).some((function(e){return e.value===n}))?n:this.defaultCodeLang},e.prototype.isDisabled=function(e){return null==e.selection||!this.getSelectCodeElem(e)},e.prototype.exec=function(e,n){if(null!=this.getSelectCodeElem(e)){var a={language:n.toString()};Transforms.setNodes(e,a,{match:function(e){return $u$3.checkNodeType(e,"code")}});}},e.prototype.getSelectCodeElem=function(e){var n=$u$3.getSelectedNodeByType(e,"code");if(null==n)return null;var a=$u$3.getParentNode(e,n);return Element$1.isElement(a)?"pre"!==a.type?null:n:null},e}(),Ra={key:"codeSelectLang",factory:function(){return new Oa},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"}]}};Ut({global:!0,forced:g.globalThis!==g},{globalThis:g}),attr&&($$6.fn.attr=attr);var ya=Object.assign,La=Object.defineProperty,Ca=y([].concat),va=!ya||E((function(){if(f&&1!==ya({b:1},ya(La({},"a",{enumerable:!0,get:function(){La(this,"b",{value:3,enumerable:!1});}}),{b:2})).b)return !0;var e={},t={},n=Symbol("assign detection"),a="abcdefghijklmnopqrst";return e[n]=7,a.split("").forEach((function(e){t[e]=e;})),7!==ya({},e)[n]||vn(ya({},t)).join("")!==a}))?function(e,t){for(var n=ce(e),a=arguments.length,r=1,i=yt.f,s=N.f;a>r;)for(var o,l=D(arguments[r++]),u=i?Ca(vn(l),i(l)):vn(l),c=u.length,d=0;c>d;)o=u[d++],f&&!T(s,l,o)||(n[o]=l[o]);return n}:ya;Ut({target:"Object",stat:!0,arity:2,forced:Object.assign!==va},{assign:va});var wa={renderStyle:function(e,t){var n=e,a=t,r="";return Qt.forEach((function(e){n[e]&&(r=e);})),r&&function(e,t){null==e.data&&(e.data={});var n=e.data;null==n.props&&(n.props={}),Object.assign(n.props,{className:t});}(a,r="token ".concat(r)),a},parseStyleHtml:function(e,n,a){var i=$$6(e);if(!Element$1.isElement(n))return n;if("code"!==$u$3.getNodeType(n))return n;var o=n,l=i.attr("class")||"";return 0===l.indexOf("language-")?o.language=l.split("-")[1]||"":o.language=l.toLowerCase(),o},menus:[Ra],elemsToHtml:[In]};
17567
17567
 
17568
17568
  /******************************************************************************
17569
17569
  Copyright (c) Microsoft Corporation.
@@ -17626,35 +17626,35 @@ var Boot = /** @class */ (function () {
17626
17626
  // 注册 menu
17627
17627
  // TODO 可在注册时传入配置,在开发文档中说明
17628
17628
  Boot.registerMenu = function (menuConf, customConfig) {
17629
- $c$1(menuConf, customConfig);
17629
+ Hu$3(menuConf, customConfig);
17630
17630
  };
17631
17631
  // 注册 renderElem
17632
17632
  Boot.registerRenderElem = function (renderElemConf) {
17633
- Qd$1(renderElemConf);
17633
+ nh$1(renderElemConf);
17634
17634
  };
17635
17635
  // 注册 renderStyle
17636
17636
  Boot.registerRenderStyle = function (fn) {
17637
- Yd$1(fn);
17637
+ eh$1(fn);
17638
17638
  };
17639
17639
  // 注册 elemToHtml
17640
17640
  Boot.registerElemToHtml = function (elemToHtmlConf) {
17641
- ef$1(elemToHtmlConf);
17641
+ of$1(elemToHtmlConf);
17642
17642
  };
17643
17643
  // 注册 styleToHtml
17644
17644
  Boot.registerStyleToHtml = function (fn) {
17645
- Qc$1(fn);
17645
+ nf$1(fn);
17646
17646
  };
17647
17647
  // 注册 preParseHtml
17648
17648
  Boot.registerPreParseHtml = function (preParseHtmlConf) {
17649
- cf$1(preParseHtmlConf);
17649
+ pf$1(preParseHtmlConf);
17650
17650
  };
17651
17651
  // 注册 parseElemHtml
17652
17652
  Boot.registerParseElemHtml = function (parseElemHtmlConf) {
17653
- pf$1(parseElemHtmlConf);
17653
+ mf$1(parseElemHtmlConf);
17654
17654
  };
17655
17655
  // 注册 parseStyleHtml
17656
17656
  Boot.registerParseStyleHtml = function (fn) {
17657
- df$1(fn);
17657
+ vf$1(fn);
17658
17658
  };
17659
17659
  // 注册 module
17660
17660
  Boot.registerModule = function (module) {
@@ -17710,12 +17710,12 @@ function registerModule(module) {
17710
17710
  * @description register builtin modules
17711
17711
  * @author wangfupeng
17712
17712
  */
17713
- Ov.forEach(function (module) { return registerModule(module); });
17714
- registerModule(su$3);
17715
- registerModule(ku$2);
17716
- registerModule(Vc);
17717
- registerModule(La);
17718
- registerModule(Sa);
17713
+ ig.forEach(function (module) { return registerModule(module); });
17714
+ registerModule(yu$2);
17715
+ registerModule(Gc$1);
17716
+ registerModule(Ga);
17717
+ registerModule(La$1);
17718
+ registerModule(wa);
17719
17719
 
17720
17720
  /**
17721
17721
  * @description svg tag
@@ -17754,7 +17754,7 @@ function genDefaultToolbarKeys() {
17754
17754
  'italic',
17755
17755
  {
17756
17756
  key: 'group-more-style',
17757
- title: Wp$1('editor.more'),
17757
+ title: Up$1('editor.more'),
17758
17758
  iconSvg: MORE_SVG,
17759
17759
  menuKeys: ['through', 'code', 'sup', 'sub', 'clearStyle'],
17760
17760
  },
@@ -17770,13 +17770,13 @@ function genDefaultToolbarKeys() {
17770
17770
  'todo',
17771
17771
  {
17772
17772
  key: 'group-justify',
17773
- title: Wp$1('editor.justify'),
17773
+ title: Up$1('editor.justify'),
17774
17774
  iconSvg: JUSTIFY_LEFT_SVG,
17775
17775
  menuKeys: ['justifyLeft', 'justifyRight', 'justifyCenter', 'justifyJustify'],
17776
17776
  },
17777
17777
  {
17778
17778
  key: 'group-indent',
17779
- title: Wp$1('editor.indent'),
17779
+ title: Up$1('editor.indent'),
17780
17780
  iconSvg: INDENT_RIGHT_SVG,
17781
17781
  menuKeys: ['indent', 'delIndent'],
17782
17782
  },
@@ -17788,7 +17788,7 @@ function genDefaultToolbarKeys() {
17788
17788
  // 'viewLink',
17789
17789
  {
17790
17790
  key: 'group-image',
17791
- title: Wp$1('editor.image'),
17791
+ title: Up$1('editor.image'),
17792
17792
  iconSvg: IMAGE_SVG,
17793
17793
  menuKeys: ['insertImage', 'uploadImage'],
17794
17794
  },
@@ -17797,7 +17797,7 @@ function genDefaultToolbarKeys() {
17797
17797
  // 'viewImageLink',
17798
17798
  {
17799
17799
  key: 'group-video',
17800
- title: Wp$1('editor.video'),
17800
+ title: Up$1('editor.video'),
17801
17801
  iconSvg: VIDEO_SVG,
17802
17802
  menuKeys: ['insertVideo', 'uploadVideo'],
17803
17803
  },
@@ -17840,7 +17840,7 @@ function genSimpleToolbarKeys() {
17840
17840
  'insertLink',
17841
17841
  {
17842
17842
  key: 'group-image',
17843
- title: Wp$1('editor.image'),
17843
+ title: Up$1('editor.image'),
17844
17844
  iconSvg: IMAGE_SVG,
17845
17845
  menuKeys: ['insertImage', 'uploadImage'],
17846
17846
  },
@@ -17955,9 +17955,9 @@ function getSimpleToolbarConfig() {
17955
17955
  * @author wangfupeng
17956
17956
  */
17957
17957
  var defaultEditorConfig = getDefaultEditorConfig();
17958
- Boot.setEditorConfig(__assign(__assign({}, defaultEditorConfig), { decorate: ma }));
17958
+ Boot.setEditorConfig(__assign(__assign({}, defaultEditorConfig), { decorate: en }));
17959
17959
  var simpleEditorConfig = getSimpleEditorConfig();
17960
- Boot.setSimpleEditorConfig(__assign(__assign({}, simpleEditorConfig), { decorate: ma }));
17960
+ Boot.setSimpleEditorConfig(__assign(__assign({}, simpleEditorConfig), { decorate: en }));
17961
17961
  var defaultToolbarConfig = getDefaultToolbarConfig();
17962
17962
  Boot.setToolbarConfig(defaultToolbarConfig);
17963
17963
  var simpleToolbarConfig = getSimpleToolbarConfig();
@@ -17976,7 +17976,7 @@ function createEditor(option) {
17976
17976
  var globalConfig = mode === 'simple' ? Boot.simpleEditorConfig : Boot.editorConfig;
17977
17977
  // 单独处理 hoverbarKeys
17978
17978
  var newHoverbarKeys = __assign(__assign({}, (globalConfig.hoverbarKeys || {})), (config.hoverbarKeys || {}));
17979
- var editor = Hp$1({
17979
+ var editor = Jp$1({
17980
17980
  selector: selector,
17981
17981
  config: __assign(__assign(__assign({}, globalConfig), config), { hoverbarKeys: newHoverbarKeys }),
17982
17982
  content: content,
@@ -17994,7 +17994,7 @@ function createToolbar(option) {
17994
17994
  throw new Error("Cannot find 'selector' when create toolbar");
17995
17995
  }
17996
17996
  var globalConfig = mode === 'simple' ? Boot.simpleToolbarConfig : Boot.toolbarConfig;
17997
- var toolbar = ng(editor, {
17997
+ var toolbar = ig$1(editor, {
17998
17998
  selector: selector,
17999
17999
  config: __assign(__assign({}, globalConfig), config),
18000
18000
  });
@@ -18007,4 +18007,4 @@ function createToolbar(option) {
18007
18007
  */
18008
18008
  var index = {};
18009
18009
 
18010
- export { Boot, Ic$2 as DomEditor, Editor as SlateEditor, Element$1 as SlateElement, Location as SlateLocation, Node$1 as SlateNode, Path as SlatePath, Point as SlatePoint, Range as SlateRange, Text as SlateText, Transforms as SlateTransforms, tg as Toolbar, createEditor, createToolbar, lg as createUploader, index as default, $h$1 as genModalButtonElems, Bh$1 as genModalInputElems, _h$1 as genModalTextareaElems, Fp$1 as i18nAddResources, Bp$1 as i18nChangeLanguage, _p$1 as i18nGetResources, Wp$1 as t };
18010
+ export { Boot, $u$3 as DomEditor, Editor as SlateEditor, Element$1 as SlateElement, Location as SlateLocation, Node$1 as SlateNode, Path as SlatePath, Point as SlatePoint, Range as SlateRange, Text as SlateText, Transforms as SlateTransforms, og$1 as Toolbar, createEditor, createToolbar, fg as createUploader, index as default, Hh$1 as genModalButtonElems, Vh$1 as genModalInputElems, zh$1 as genModalTextareaElems, Wp$1 as i18nAddResources, Vp$1 as i18nChangeLanguage, zp$1 as i18nGetResources, Up$1 as t };