数通智联化工云平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

151 lines
800 KiB

2 years ago
var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function n(e){var t={exports:{}};return e(t,t.exports),t.exports}var r,o,i=function(e){return e&&e.Math==Math&&e},a=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof e&&e)||function(){return this}()||Function("return this")(),u=Function.prototype,s=u.apply,l=u.bind,c=u.call,f="object"==typeof Reflect&&Reflect.apply||(l?c.bind(s):function(){return c.apply(s,arguments)}),d=Function.prototype,p=d.bind,h=d.call,g=p&&p.bind(h),v=p?function(e){return e&&g(h,e)}:function(e){return e&&function(){return h.apply(e,arguments)}},y=function(e){return"function"==typeof e},m=function(e){try{return!!e()}catch(e){return!0}},b=!m((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),w=Function.prototype.call,E=w.bind?w.bind(w):function(){return w.apply(w,arguments)},D={}.propertyIsEnumerable,S=Object.getOwnPropertyDescriptor,x=S&&!D.call({1:2},1)?function(e){var t=S(this,e);return!!t&&t.enumerable}:D,C={f:x},A=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},O=v({}.toString),k=v("".slice),B=function(e){return k(O(e),8,-1)},F=a.Object,T=v("".split),_=m((function(){return!F("z").propertyIsEnumerable(0)}))?function(e){return"String"==B(e)?T(e,""):F(e)}:F,P=a.TypeError,j=function(e){if(null==e)throw P("Can't call method on "+e);return e},N=function(e){return _(j(e))},I=function(e){return"object"==typeof e?null!==e:y(e)},L={},R=function(e){return y(e)?e:void 0},M=function(e,t){return arguments.length<2?R(L[e])||R(a[e]):L[e]&&L[e][t]||a[e]&&a[e][t]},z=v({}.isPrototypeOf),$=M("navigator","userAgent")||"",H=a.process,V=a.Deno,U=H&&H.versions||V&&V.version,W=U&&U.v8;W&&(o=(r=W.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&$&&(!(r=$.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=$.match(/Chrome\/(\d+)/))&&(o=+r[1]);var G,q=o,K=!!Object.getOwnPropertySymbols&&!m((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&q&&q<41})),Y=K&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,X=a.Object,Z=Y?function(e){return"symbol"==typeof e}:function(e){var t=M("Symbol");return y(t)&&z(t.prototype,X(e))},J=a.String,Q=function(e){try{return J(e)}catch(e){return"Object"}},ee=a.TypeError,te=function(e){if(y(e))return e;throw ee(Q(e)+" is not a function")},ne=function(e,t){var n=e[t];return null==n?void 0:te(n)},re=a.TypeError,oe=Object.defineProperty,ie=a["__core-js_shared__"]||function(e,t){try{oe(a,e,{value:t,configurable:!0,writable:!0})}catch(n){a[e]=t}return t}("__core-js_shared__",{}),ae=n((function(e){(e.exports=function(e,t){return ie[e]||(ie[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.19.3",mode:"pure",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})})),ue=a.Object,se=function(e){return ue(j(e))},le=v({}.hasOwnProperty),ce=Object.hasOwn||function(e,t){return le(se(e),t)},fe=0,de=Math.random(),pe=v(1..toString),he=function(e){return"Symbol("+(void 0===e?"":e)+")_"+pe(++fe+de,36)},ge=ae("wks"),ve=a.Symbol,ye=ve&&ve.for,me=Y?ve:ve&&ve.withoutSetter||he,be=function(e){if(!ce(ge,e)||!K&&"string"!=typeof ge[e]){var t="Symbol."+e;K&&ce(ve,e)?ge[e]=ve[e]:ge[e]=Y&&ye?ye(t):me(t)}return ge[e]},we=a.TypeError,Ee=be("toPrimitive"),De=function(e,t){if(!I(e)||Z(e))return e;var n,r=ne(e,Ee);if(r){if(void 0===t&&(t="default"),n=E(r,e,t),!I(n)||Z(n))return n;throw we("Can't convert object to primitive value")}return void 0===t&&(t="number"),function(e,t){var n,r;if("string"===t&&y(n=e.toString)&&!I(r=E(n,e)))return r;if(y(n=e.valueOf)&&!I(r=E(n,e)))return r;if("string"!==t&&y(n=e.toString)&&!I(r=E(n,e)))return r;throw re("Can't convert object to primitive value")}(e,t)},Se=function(e){var t=De(e,"string");return Z(t)?t:t+""},xe=a.document,Ce=I(xe)&&I(xe.createElement),Ae=function(e){return Ce?xe.createElement(e):{}},Oe=!b&&!m((function(){return 7!
/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/function Il(e){return"[object Object]"===Object.prototype.toString.call(e)}function Ll(e){var t,n;return!1!==Il(e)&&(void 0===(t=e.constructor)||!1!==Il(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}function Rl(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function Ml(e){return!!e&&!!e[xc]}function zl(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var n=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return n===Object||"function"==typeof n&&Function.toString.call(n)===Cc}(e)||Array.isArray(e)||!!e[Sc]||!!e.constructor[Sc]||Wl(e)||Gl(e))}function $l(e,t,n){void 0===n&&(n=!1),0===Hl(e)?(n?Object.keys:Ac)(e).forEach((function(r){n&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function Hl(e){var t=e[xc];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Wl(e)?2:Gl(e)?3:0}function Vl(e,t){return 2===Hl(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Ul(e,t,n){var r=Hl(e);2===r?e.set(t,n):3===r?(e.delete(t),e.add(n)):e[t]=n}function Wl(e){return bc&&e instanceof Map}function Gl(e){return wc&&e instanceof Set}function ql(e){return e.o||e.t}function Kl(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Oc(e);delete t[xc];for(var n=Ac(t),r=0;r<n.length;r++){var o=n[r],i=t[o];!1===i.writable&&(i.writable=!0,i.configurable=!0),(i.get||i.set)&&(t[o]={configurable:!0,writable:!0,enumerable:i.enumerable,value:e[o]})}return Object.create(Object.getPrototypeOf(e),t)}function Yl(e,t){return void 0===t&&(t=!1),Zl(e)||Ml(e)||!zl(e)||(Hl(e)>1&&(e.set=e.add=e.clear=e.delete=Xl),Object.freeze(e),t&&$l(e,(function(e,t){return Yl(t,!0)}),!0)),e}function Xl(){Rl(2)}function Zl(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function Jl(e){var t=kc[e];return t||Rl(18,e),t}function Ql(){return yc}function ec(e,t){t&&(Jl("Patches"),e.u=[],e.s=[],e.v=t)}function tc(e){nc(e),e.p.forEach(oc),e.p=null}function nc(e){e===yc&&(yc=e.l)}function rc(e){return yc={p:[],l:yc,h:e,m:!0,_:0}}function oc(e){var t=e[xc];0===t.i||1===t.i?t.j():t.O=!0}function ic(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.g||Jl("ES5").S(t,e,r),r?(n[xc].P&&(tc(t),Rl(4)),zl(e)&&(e=ac(t,e),t.l||sc(t,e)),t.u&&Jl("Patches").M(n[xc],e,t.u,t.s)):e=ac(t,n,[]),tc(t),t.u&&t.v(t.u,t.s),e!==Dc?e:void 0}function ac(e,t,n){if(Zl(t))return t;var r=t[xc];if(!r)return $l(t,(function(o,i){return uc(e,r,t,o,i,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return sc(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var o=4===r.i||5===r.i?r.o=Kl(r.k):r.o;$l(3===r.i?new Set(o):o,(function(t,i){return uc(e,r,o,t,i,n)})),sc(e,o,!1),n&&e.u&&Jl("Patches").R(r,n,e.u,e.s)}return r.o}function uc(e,t,n,r,o,i){if(Ml(o)){var a=ac(e,o,i&&t&&3!==t.i&&!Vl(t.D,r)?i.concat(r):void 0);if(Ul(n,r,a),!Ml(a))return;e.m=!1}if(zl(o)&&!Zl(o)){if(!e.h.F&&e._<1)return;ac(e,o),t&&t.A.l||sc(e,o)}}function sc(e,t,n){void 0===n&&(n=!1),e.h.F&&e.m&&Yl(t,n)}function lc(e,t){var n=e[xc];return(n?ql(n):e)[t]}function cc(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function fc(e){e.P||(e.P=!0,e.l&&fc(e.l))}function dc(e){e.o||(e.o=Kl(e.t))}function pc(e,t,n){var r=Wl(t)?Jl("MapSet").N(t,n):Gl(t)?Jl("MapSet").T(t,n):e.g?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:Ql(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},o=r,i=Bc;n&&(o=[r],i=Fc);var a=Proxy.revocable(o,i),u=a.revoke,s=a.proxy;return r.k=s,r.j=u,s}(t,n):Jl("ES5").J(t,n);return(n?n.A:Ql()).p.push(r),r}function hc(e){return Ml(e)||Rl(22,e),function e(t){if(!zl(t))return t;var n,r=t[xc],o=Hl(t);if(r){if(!r.P&&(r.i<4||!Jl("ES5").K(r)))return r.t;r.I=!0,n=gc(t,o),r.I=!1}else n=gc(t,o);return $l(n,(function(t,o){r&&function(e,t){return 2===Hl(e)?e.get(t):e[t]}(r.t,t)===o||Ul(n,t,e(o))})),3===o?new Set(n):n}(e)}function gc(e,t){s
/**
* Takes a string with placeholder variables like `%{smart_count} file selected`
* and replaces it with values from options `{smart_count: 5}`
*
* @license https://github.com/airbnb/polyglot.js/blob/master/LICENSE
* taken from https://github.com/airbnb/polyglot.js/blob/master/lib/polyglot.js#L299
*
* @param {string} phrase that needs interpolation, with placeholders
* @param {object} options with values that will be used to replace placeholders
* @returns {any[]} interpolated
*/function ry(e,t){const n=/\$/g;let r=[e];if(null==t)return r;for(const e of Object.keys(t))if("_"!==e){let o=t[e];"string"==typeof o&&(o=n[Symbol.replace](o,"$$$$")),r=ny(r,new RegExp(`%\\{${e}\\}`,"g"),o)}return r}var oy=(Xv=ty("apply"),class{constructor(e){Object.defineProperty(this,Xv,{value:iy}),this.locale={strings:{},pluralize:e=>1===e?0:1},Array.isArray(e)?e.forEach(Qv(this,Xv)[Xv],this):Qv(this,Xv)[Xv](e)}translate(e,t){return this.translateArray(e,t).join("")}translateArray(e,t){if(!function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}(this.locale.strings,e))throw new Error(`missing string: ${e}`);const n=this.locale.strings[e];if("object"==typeof n){if(t&&void 0!==t.smart_count){return ry(n[this.locale.pluralize(t.smart_count)],t)}throw new Error("Attempted to use a string with plural forms, but no value was given for %{smart_count}")}return ry(n,t)}});function iy(e){if(null==e||!e.strings)return;const t=this.locale;this.locale={...t,strings:{...t.strings,...e.strings}},this.locale.pluralize=e.pluralize||t.pluralize}var ay=function(){var e={},t=e._fns={};return e.emit=function(e,n,r,o,i,a,u){var s=function(e){var n=t[e]?t[e]:[],r=e.indexOf(":"),o=-1===r?[e]:[e.substring(0,r),e.substring(r+1)],i=Object.keys(t),a=0,u=i.length;for(;a<u;a++){var s=i[a];if("*"===s&&(n=n.concat(t[s])),2===o.length&&o[0]===s){n=n.concat(t[s]);break}}return n}(e);s.length&&function(e,t,n){var r=0,o=t.length;for(;r<o&&t[r];r++)t[r].event=e,t[r].apply(t[r],n)}(e,s,[n,r,o,i,a,u])},e.on=function(e,n){t[e]||(t[e]=[]),t[e].push(n)},e.once=function(t,n){this.on(t,(function r(){n.apply(this,arguments),e.off(t,r)}))},e.off=function(e,t){var n=[];if(e&&t)for(var r=this._fns[e],o=0,i=r?r.length:0;o<i;o++)r[o]!==t&&n.push(r[o]);n.length?this._fns[e]=n:delete this._fns[e]},e};var uy={urlAlphabet:"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"};let{urlAlphabet:sy}=uy,ly=e=>crypto.getRandomValues(new Uint8Array(e)),cy=(e,t,n)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,o=-~(1.6*r*t/e.length);return()=>{let i="";for(;;){let a=n(o),u=o;for(;u--;)if(i+=e[a[u]&r]||"",i.length===t)return i}}};var fy={nanoid:(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=63&n[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-"}return t},customAlphabet:(e,t)=>cy(e,t,ly),customRandom:cy,urlAlphabet:sy,random:ly},dy=function(e){if("number"!=typeof e||isNaN(e))throw new TypeError("Expected a number, got "+typeof e);var t=e<0,n=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(t&&(e=-e),e<1)return(t?"-":"")+e+" B";var r=Math.min(Math.floor(Math.log(e)/Math.log(1024)),n.length-1);e=Number(e/Math.pow(1024,r));var o=n[r];return e>=10||e%1==0?(t?"-":"")+e.toFixed(0)+" "+o:(t?"-":"")+e.toFixed(1)+" "+o};function py(e,t){this.text=e=e||"",this.hasWild=~e.indexOf("*"),this.separator=t,this.parts=e.split(t)}py.prototype.match=function(e){var t,n,r=!0,o=this.parts,i=o.length;if("string"==typeof e||e instanceof String)if(this.hasWild||this.text==e){for(n=(e||"").split(this.separator),t=0;r&&t<i;t++)"*"!==o[t]&&(r=t<n.length&&o[t]===n[t]);r=r&&n}else r=!1;else if("function"==typeof e.splice)for(r=[],t=e.length;t--;)this.match(e[t])&&(r[r.length]=e[t]);else if("object"==typeof e)for(var a in r={},e)this.match(a)&&(r[a]=e[a]);return r};var hy=/[\/\+\.]/,gy=function(e,t){function n(t){var n=function(e,t,n){var r=new py(e,n||/[\/\.]/);return void 0!==t?r.match(t):r}(t,e,hy);return n&&n.length>=2}return t?n(t.split(";")[0]):n};var vy=0;function yy(e){return"__private_"+vy+++"_"+e}var my=yy("publish");class by{constructor(){Object.defineProperty(this,my,{value:wy}),this.state={},this.callbacks=[]}getState(){return this.state}setState(e){const t={...this.state},n={...this.state,...e};this.state=n,function(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}(this,my)[my](t,n,e)}subscribe(e){return this.callbacks.push(e),()=>{this.callbacks.splice(this.callbacks.indexOf(e),1)}}}function wy(){for(var e=arguments.length,t=new Array(e
/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/function pS(e){return"[object Object]"===Object.prototype.toString.call(e)}cS({target:"Object",stat:!0,forced:dS},{keys:function(e){return fS(Dw(e))}});var hS={isHistory(e){return!1!==pS(t=e)&&(void 0===(n=t.constructor)||!1!==pS(r=n.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(0===e.redos.length||Rf.isOperationList(e.redos[0]))&&(0===e.undos.length||Rf.isOperationList(e.undos[0]));var t,n,r}},gS=new WeakMap,vS=new WeakMap,yS={isHistoryEditor:e=>hS.isHistory(e.history)&&Bf.isEditor(e),isMerging:e=>vS.get(e),isSaving:e=>gS.get(e),redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var n=yS.isMerging(e);vS.set(e,!1),t(),vS.set(e,n)},withoutSaving(e,t){var n=yS.isSaving(e);gS.set(e,!1),t(),gS.set(e,n)}},mS=lw.String,bS=function(e){if("Symbol"===ZE(e))throw TypeError("Cannot convert a Symbol value to a string");return mS(e)},wS=function(){var e=nE(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},ES=VE.PROPER,DS=RegExp.prototype,SS=DS.toString,xS=mw(wS),CS=Rw((function(){return"/a/b"!=SS.call({source:"a",flags:"b"})})),AS=ES&&"toString"!=SS.name;(CS||AS)&&UE(RegExp.prototype,"toString",(function(){var e=nE(this),t=bS(e.source),n=e.flags;return"/"+t+"/"+bS(void 0===n&&iE(DS,e)&&!("flags"in DS)?xS(e):n)}),{unsafe:!0});var OS,kS=Kw?Object.defineProperties:function(e,t){nE(e);for(var n,r=RD(t),o=fS(t),i=o.length,a=0;i>a;)bE.f(e,n=o[a++],r[n]);return e},BS=Tw("document","documentElement"),FS=FE("IE_PROTO"),TS=function(){},_S=function(e){return"<script>"+e+"<\/script>"},PS=function(e){e.write(_S("")),e.close();var t=e.parentWindow.Object;return e=null,t},jS=function(){try{OS=new ActiveXObject("htmlfile")}catch(e){}var e,t;jS="undefined"!=typeof document?document.domain&&OS?PS(OS):((t=Jw("iframe")).style.display="none",BS.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(_S("document.F=Object")),e.close(),e.F):PS(OS);for(var n=YD.length;n--;)delete jS.prototype[YD[n]];return jS()};TE[FS]=!0;var NS=Object.create||function(e,t){var n;return null!==e?(TS.prototype=nE(e),n=new TS,TS.prototype=null,n[FS]=e):n=jS(),void 0===t?n:kS(n,t)},IS=Ww("unscopables"),LS=Array.prototype;null==LS[IS]&&bE.f(LS,IS,{configurable:!0,value:NS(null)});var RS=function(e){LS[IS][e]=!0},MS=WD.includes;cS({target:"Array",proto:!0},{includes:function(e){return MS(this,e,arguments.length>1?arguments[1]:void 0)}}),RS("includes");var zS=Ww("match"),$S=function(e){var t;return Yw(e)&&(void 0!==(t=e[zS])?!!t:"RegExp"==qE(e))},HS=lw.TypeError,VS=function(e){if($S(e))throw HS("The method doesn't accept regular expressions");return e},US=Ww("match"),WS=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[US]=!1,"/./"[e](t)}catch(e){}}return!1},GS=mw("".indexOf);cS({target:"String",proto:!0,forced:!WS("includes")},{includes:function(e){return!!~GS(bS(ww(this)),bS(VS(e)),arguments.length>1?arguments[1]:void 0)}});var qS=/"/g,KS=mw("".replace);cS({target:"String",proto:!0,forced:("anchor",Rw((function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3})))},{anchor:function(e){return"a","name",t=e,n=bS(ww(this)),r="<a",(r+=' name="'+KS(bS(t),qS,"&quot;")+'"')+">"+n+"</a>";var t,n,r}});var YS=function(e,t,n){var r,o;nE(e);try{if(!(r=dE(e,"return"))){if("throw"===t)throw n;return n}r=oE(r,e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return nE(r),n},XS=function(e,t,n,r){try{return r?t(nE(n)[0],n[1]):t(n)}catch(t){YS(e,"throw",t)}},ZS={},JS=Ww("iterator"),QS=Array.prototype,ex=function(e){return void 0!==e&&(ZS.Array===e||QS[JS]===e)},tx=function(e,t,n){var r=vE(t);r in e?bE.f(e,r,wE(0,n)):e[r]=n},nx=Ww("iterator"),rx=function(e){if(null!=e)return dE(e,nx)||dE(e,"@@iterator")||ZS[ZE(e)]},ox=lw.TypeError,ix=function(e,t){var n=arguments.length<2?rx(e):t;if(fE(n))return nE(oE(n,e));throw ox(lE(e)+" is not iterable")},ax=lw.Array,ux=Ww("iterator"),sx=!1;try{var lx=0,cx={next:function(){return{done:!!lx++}},return:function(){sx=!0}};cx[ux]=function
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var nA=function(e,t){return nA=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])},nA(e,t)};function rA(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}nA(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var oA=function(){return oA=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},oA.apply(this,arguments)};function iA(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 aA(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 uA(e,t){for(var n=0,r=t.length,o=e.length;n<r;n++,o++)e[o]=t[n];return e}var sA=0,lA=function(){this.id=""+sA++},cA=ME.set,fA=ME.getterFor("Array Iterator"),dA=Ux(Array,"Array",(function(e,t){cA(this,{type:"Array Iterator",target:RD(e),index:0,kind:t})}),(function(){var e=fA(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");ZS.Arguments=ZS.Array,RS("keys"),RS("values"),RS("entries");var pA=function(e,t,n){for(var r in t)UE(e,r,t[r],n);return e},hA=lw.Array,gA=Math.max,vA=function(e,t,n){for(var r=pD(e),o=VD(t,r),i=VD(void 0===n?r:n,r),a=hA(gA(i-o,0)),u=0;o<i;o++,u++)tx(a,u,e[o]);return a.length=u,a},yA=ZD.f,mA="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],bA={f:function(e){return mA&&"Window"==qE(e)?function(e){try{return yA(e)}catch(e){return vA(mA)}}(e):yA(RD(e))}},wA=Rw((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),EA=Object.isExtensible,DA=Rw((function(){EA(1)}))||wA?function(e){return!!Yw(e)&&(!wA||"ArrayBuffer"!=qE(e))&&(!EA||EA(e))}:EA,SA=!Rw((function(){return Object.isExtensible(Object.preventExtensions({}))})),xA=iw((function(e){var t=bE.f,n=!1,r=kw("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=ZD.f,t=mw([].splice),o={};o[r]=1,e(o).length&&(ZD.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},cS({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:bA.f}))},fastKey:function(e,t){if(!Yw(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!xw(e,r)){if(!DA(e))return"F";if(!t)return"E";i(e)}return e[r].objectID},getWeakData:function(e,t){if(!xw(e,r)){if(!DA(e))return!0;if(!t)return!1;i(e)}return e[r].weakData},onFreeze:function(e){return SA&&n&&DA(e)&&!xw(e,r)&&i(e),e}};TE[r]=!0})),CA=lw.TypeError,AA=function(e,t){this.stopped=e,this.result=t},OA=AA.prototype,kA=function(e,t,n){var r,o,i,a,u,s,l,c=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=oD(t,c),g=function(e){return r&&YS(r,"normal",e),new AA(!0,e)},v=function(e){return f?(nE(e),p?h(e[0],e[1],g):h(e[0],e[1])):p?h(e,g):h(e)};if(d)r=e;else{if(!(o=rx(e)))throw CA(lE(e)+" is not iterable");if(ex(o)){for(i=0,a=pD(e);a>i;i++)if((u=v(e[i]))&&iE(OA,u))return u;return new AA(!1)}r=ix(e,o)}for(s=r.next;!(l=oE(s,r)).done;){try{u=v(l.value)}catch(e){YS(r,"throw",e)}if("object"==typeof u&&u&&iE(OA,u))return u}return new AA(!1)},BA=lw.TypeError,FA=function(e,t){if(iE(t,e))return e;throw BA("Incorrect invocation")},TA=function(e,t,n){var r,o;return Lx&&Bw(r=t.construc
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */};function rM(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}nM(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var oM=function(){return oM=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},oM.apply(this,arguments)};function iM(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}function aM(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function uM(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 sM(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 lM(e){var t=sM(Bf.nodes(e,{match:function(t){return e.children[0]===t},mode:"highest"}),1)[0];if(null==t)return!1;var n=t[0];if(!Sf.isElement(n))return!1;if("paragraph"===n.type)return!1;if(""!==Nf.string(n))return!1;var r=n.children,o=void 0===r?[]:r;return!!ed.isText(o[0])&&(md.setNodes(e,{type:"paragraph"}),!0)}var cM={renderElems:[lj],elemsToHtml:[{type:"paragraph",elemToHtml:function(e,t){return""===t?"<p><br></p>":"<p>"+t+"</p>"}}],parseElemsHtml:[tM],editorPlugin:function(e){var t=e.deleteBackward,n=e.deleteForward;e.insertText,e.insertBreak;var r=e;return r.deleteBackward=function(e){lM(r)||t(e)},r.deleteForward=function(e){lM(r)||n(e)},r}},fM=/"/g,dM=Bj("".replace),pM=function(e,t,n,r){var o=dL(Lj(e)),i="<"+t;return""!==n&&(i+=" "+n+'="'+dM(dL(r),fM,"&quot;")+'"'),i+">"+o+"</"+t+">"},hM=function(e){return vj((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))};function gM(e,t){var n=t,r=e,o=r.bold,i=r.italic,a=r.underline;return o&&(n="<strong>"+n+"</strong>"),r.code&&(n="<code>"+n+"</code>"),i&&(n="<em>"+n+"</em>"),a&&(n="<u>"+n+"</u>"),r.through&&(n="<s>"+n+"</s>"),r.sub&&(n="<sub>"+n+"</sub>"),r.sup&&(n="<sup>"+n+"</sup>"),n}function vM(e,t){return 0!==e.length&&(!!e[0].matches(t)||e.find(t).length>0)}LI({target:"String",proto:!0,forced:hM("bold")},{bold:function(){return pM(this,"b","","")}}),LI({target:"String",proto:!0,forced:hM("italics")},{italics:function(){return pM(this,"i","","")}}),LI({target:"String",proto:!0,forced:hM("sub")},{sub:function(){return pM(this,"sub","","")}}),LI({target:"String",proto:!0,forced:hM("sup")},{sup:
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */};function QJ(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}JJ(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function eQ(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 tQ(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 nQ(e){return Bf.nodes(e,{at:e.selection||void 0,match:function(t){return 1===QO.findPath(e,t).length}})}var rQ=kY.includes;MX({target:"Array",proto:!0},{includes:function(e){return rQ(this,e,arguments.length>1?arguments[1]:void 0)}}),qY("includes");var oQ,iQ,aQ=function(){var e=YK(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},uQ=tK.RegExp,sQ=uK((function(){var e=uQ("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),lQ=sQ||uK((function(){return!uQ("a","y").sticky})),cQ={BROKEN_CARET:sQ||uK((function(){var e=uQ("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:lQ,UNSUPPORTED_Y:sQ},fQ=tK.RegExp,dQ=uK((function(){var e=fQ(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),pQ=tK.RegExp,hQ=uK((function(){var e=pQ("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),gQ=hX.get,vQ=wK("native-string-replace",String.prototype.replace),yQ=RegExp.prototype.exec,mQ=yQ,bQ=aK("".charAt),wQ=aK("".indexOf),EQ=aK("".replace),DQ=aK("".slice),SQ=(iQ=/b*/g,nY(yQ,oQ=/a/,"a"),nY(yQ,iQ,"a"),0!==oQ.lastIndex||0!==iQ.lastIndex),xQ=cQ.BROKEN_CARET,CQ=void 0!==/()??/.exec("")[1];(SQ||CQ||xQ||dQ||hQ)&&(mQ=function(e){var t,n,r,o,i,a,u,s=this,l=gQ(s),c=EZ(e),f=l.raw;if(f)return f.lastIndex=s.lastIndex,t=nY(mQ,f,c),s.lastIndex=f.lastIndex,t;var d=l.groups,p=xQ&&s.sticky,h=nY(aQ,s),g=s.source,v=0,y=c;if(p&&(h=EQ(h,"y",""),-1===wQ(h,"g")&&(h+="g"),y=DQ(c,s.lastIndex),s.lastIndex>0&&(!s.multiline||s.multiline&&"\n"!==bQ(c,s.lastIndex-1))&&(g="(?: "+g+")",y=" "+y,v++),n=new RegExp("^(?:"+g+")",h)),CQ&&(n=new RegExp("^"+g+"$(?!\\s)",h)),SQ&&(r=s.lastIndex),o=nY(yQ,p?n:s,y),p?o?(o.input=DQ(o.input,v),o[0]=DQ(o[0],v),o.index=s.lastIndex,s.lastIndex+=o[0].length):s.lastIndex=0:SQ&&o&&(s.lastIndex=s.global?o.index+o[0].length:r),CQ&&o&&o.length>1&&nY(vQ,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=UY(null),i=0;i<d.length;i++)a[(u=d[i])[0]]=o[u[1]];return o});var AQ=mQ;MX({target:"RegExp",proto:!0,forced:/./.exec!==AQ},{exec:AQ});var OQ=function(){function e(){this.type="list-item",this.tag="button"}return e.prototype.getListNode=function(e){var t=this.type;return QO.getSelectedNodeByType(e,t)},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){var t=this.getListNode(e);if(null==t)return!1;var n=t.ordered;return(void 0!==n&&n)===this.ordered},e.prototype.isDisabled=function(e){return null==e.selection||!!QO.getSelectedElems(e).some((function(t){if(Bf.isVoid(e,t)&&Bf.isBlock(e,t))return!0;var n=t.type;return!!["pre","code","table"].includes(n)||void 0}))},e.prototype.exec=function(e,t){this.isActive(e)?md.setNodes(e,{type:"paragraph",ordered:void 0,level:void 0}):md.setNodes(e,{type:"list-item",ordered:this.ordered,indent:void 0})},e}(),kQ='<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>',BQ='<svg v
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
function(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.")}(o),u=a.next();!u.done;u=a.next())u.value,i=!0}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}H2({target:"Array",proto:!0,forced:!W4},{slice:function(e,t){var n,r,o,i=U0(this),a=D2(i),u=b2(e,a),s=b2(void 0===t?a:t,a);if(_4(i)&&(n=i.constructor,(z4(n)&&(n===q4||_4(n.prototype))||G0(n)&&null===(n=n[G4]))&&(n=void 0),n===q4||void 0===n))return U4(i,u,s);for(r=new(void 0===n?q4:n)(K4(s-u,0)),o=0;u<s;u++,o++)u in i&&$4(r,o,i[u]);return r.length=o,r}});var J4=N0(N0.bind),Q4=k1("species"),e6=D0.Array,t6=function(e,t){return new(function(e){var t;return _4(e)&&(t=e.constructor,(z4(t)&&(t===e6||_4(t.prototype))||G0(t)&&null===(t=t[Q4]))&&(t=void 0)),void 0===t?e6:t}(e))(0===t?0:t)},n6=N0([].push),r6=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,u=5==e||i;return function(s,l,c,f){for(var d,p,h=y1(s),g=$0(h),v=function(e,t){return l1(e),void 0===t?e:J4?J4(e,t):function(){return e.apply(t,arguments)}}(l,c),y=D2(g),m=0,b=f||t6,w=t?b(s,y):n||a?b(s,0):void 0;y>m;m++)if((u||m in g)&&(p=v(d=g[m],m,h),e))if(t)w[m]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return m;case 2:n6(w,d)}else switch(e){case 4:return!1;case 7:n6(w,d)}return i?-1:r||o?o:w}},o6={forEach:r6(0),map:r6(1),filter:r6(2),some:r6(3),every:r6(4),find:r6(5),findIndex:r6(6),filterReject:r6(7)},i6=o6.map;H2({target:"Array",proto:!0,forced:!V4("map")},{map:function(e){return i6(this,e,arguments.length>1?arguments[1]:void 0)}});var a6=U2?{}.toString:function(){return"[object "+K2(this)+"]"};function u6(e){var t=e.children||[];return 0===t.length?[]:(t[0]||{}).children||[]}function s6(e){return u6(e).every((function(e){return!!e.isHeader}))}U2||p2(Object.prototype,"toString",a6,{unsafe:!0});var l6=d2.PROPER,c6=RegExp.prototype,f6=c6.toString,d6=N0(e4),p6=S0((function(){return"/a/b"!=f6.call({source:"a",flags:"b"})})),h6=l6&&"toString"!=f6.name;(p6||h6)&&p2(RegExp.prototype,"toString",(function(){var e=z1(this),t=X2(e.source),n=e.flags;return"/"+t+"/"+X2(void 0===n&&Y0(c6,e)&&!("flags"in c6)?d6(e):n)}),{unsafe:!0});var g6=k1("unscopables"),v6=Array.prototype;null==v6[g6]&&V1.f(v6,g6,{configurable:!0,value:g4(null)});var y6=o6.find,m6=!0;"find"in[]&&Array(1).find((function(){m6=!1})),H2({target:"Array",proto:!0,forced:m6},{find:function(e){return y6(this,e,arguments.length>1?arguments[1]:void 0)}}),v6[g6].find=!0;var b6=Function.prototype,w6=b6.apply,E6=b6.bind,D6=b6.call,S6="object"==typeof Reflect&&Reflect.apply||(E6?D6.bind(w6):function(){return D6.apply(w6,arguments)}),x6=k1("species"),C6=RegExp.prototype,A6=function(e,t,n,r){var o=k1(e),i=!S0((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!S0((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[x6]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!a||n){var u=N0(/./[o]),s=t(o,""[e],(function(e,t,n,r,o){var a=N0(e),s=t.exec;return s===T4||s===C6.exec?i&&!o?{done:!0,value:u(t,n,r)}:{done:!0,value:a(n,t,r)}:{done:!1}}));p2(String.prototype,e,s[0]),p2(C6,o,s[1])}r&&U1(C6[o],"sham",!0)},O6=k1("match"),k6=D0.TypeError,B6=k1("species"),F6=N0("".charAt),T6=N0("".charCodeAt),_6=N0("".slice),P6=function(e){return function(t,n){var r,o,i=X2(V0(t)),a=v2(n),u=i.length;return a<0||a>=u?e?"":void 0:(r=T6(i,a))<55296||r>56319||a+1===u||(o=T6(i,a+1))<56320||o>57343?e?F6(i,a):r:e?_6(i,a,a+2):o-56320+(r-55296<<10)+65536}},j6=(P6(!1),P6(!0)),N6=function(e,t,n){return t+(n?j6(e,t).length:1)},I6=D0.Array,L6=Math.max,R6=function(e,t,n){for(var r=D2(e),o=b2(t,r),i=b2(void 0===n?r:n,r),a=I6(L6(i-o,0)),u=0;o<i;o++,u++)$4(a,u,e[o]);return a.length=u,a},M6=D0.TypeError,z6=function(e,t){var n=e.exec;if(W0(n)){var r=A0(n,e,t);return null!==r&&z1(r),r}if("RegExp"===R0(
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var Q3=function(){return Q3=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},Q3.apply(this,arguments)};function e5(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}function t5(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function n5(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 r5(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(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.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,o,(t=e[n](t)).done,t.value)}))}}}var o5="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function i5(e){var t={exports:{}};return e(t,t.exports),t.exports}var a5,u5,s5=function(e){return e&&e.Math==Math&&e},l5=s5("object"==typeof globalThis&&globalThis)||s5("object"==typeof window&&window)||s5("object"==typeof self&&self)||s5("object"==typeof o5&&o5)||function(){return this}()||Function("return this")(),c5=function(e){try{return!!e()}catch(e){return!0}},f5=!c5((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),d5=Function.prototype.call,p5=d5.bind?d5.bind(d5):function(){return d5.apply(d5,arguments)},h5={}.propertyIsEnumerable,g5=Object.getOwnPropertyDescriptor,v5={f:g5&&!h5.call({1:2},1)?function(e){var t=g5(this,e);return!!t&&t.enumerable}:h5},y5=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},m5=Function.prototype,b5=m5.bind,w5=m5.call,E5=b5&&b5.bind(w5),D5=b5?function(e){return e&&E5(w5,e)}:function(e){return e&&function(){return w5.apply(e,arguments)}},S5=D5({}.toString),x5=D5("".slice),C5=function(e){return x5(S5(e),8,-1)},A5=l5.Object,O5=D5("".split),k5=c5((function(){return!A5("z").propertyIsEnumerable(0)}))?function(e){return"String"==C5(e)?O5(e,""):A5(e)}:A5,B5=l5.TypeError,F5=function(e){if(null==e)throw B5("Can't call method on "+e);return e},T5=function(e){return k5(F5(e))},_5=function(e){return"function"==typeof e},P5=function(e){return"object
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
var kse=function(){return kse=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},kse.apply(this,arguments)};function Bse(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{s(r.next(e))}catch(e){i(e)}}function u(e){try{s(r.throw(e))}catch(e){i(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,u)}s((r=r.apply(e,t||[])).next())}))}function Fse(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(i){return function(u){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,u])}}}function Tse(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=function(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.")}(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise((function(r,o){!function(e,t,n,r){Promise.resolve(r).then((function(t){e({value:t,done:n})}),t)}(r,o,(t=e[n](t)).done,t.value)}))}}}var _se=jie("unscopables"),Pse=Array.prototype;null==Pse[_se]&&Yie.f(Pse,_se,{configurable:!0,value:Iue(null)});var jse,Nse,Ise,Lse=function(e){Pse[_se][e]=!0},Rse={},Mse=!Boe((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),zse=iae("IE_PROTO"),$se=koe.Object,Hse=$se.prototype,Vse=Mse?$se.getPrototypeOf:function(e){var t=Sie(e);if(Cie(t,zse))return t[zse];var n=t.constructor;return Zoe(n)&&t instanceof n?n.prototype:t instanceof $se?Hse:null},Use=jie("iterator"),Wse=!1;[].keys&&("next"in(Ise=[].keys())?(Nse=Vse(Vse(Ise)))!==Object.prototype&&(jse=Nse):Wse=!0);var Gse=null==jse||Boe((function(){var e={};return jse[Use].call(e)!==e}));Gse&&(jse={}),Zoe(jse[Use])||bae(jse,Use,(function(){return this}));var qse={IteratorPrototype:jse,BUGGY_SAFARI_ITERATORS:Wse},Kse=Yie.f,Yse=jie("toStringTag"),Xse=function(e,t,n){e&&!Cie(e=n?e:e.prototype,Yse)&&Kse(e,Yse,{configurable:!0,value:t})},Zse=qse.IteratorPrototype,Jse=function(){return this},Qse=koe.String,ele=koe.TypeError,tle=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=$oe(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Gie(n),function(e){if("object"==typeof e||Zoe(e))return e;throw ele("Can't set "+Qse(e)+" as a prototype")}(r),t?e(n,r):n.__proto__=r,n}}():void 0),nle=mae.PROPER,rle=mae.CONFIGURABLE,ole=qse.IteratorPrototype,ile=qse.BUGGY_SAFARI_ITERATORS,ale=jie("iterator"),ule=function(){return this},sle=function(e,t,n,r,o,i,a){!function(e,t,n,r){var o=t+" Iterator";e.prototype=Iue(Zse,{next:Ioe(1,n)}),Xse(e,o,!1),Rse[o]=Jse}(n,t,r);var u,s,l,c=function(e){if(e===o&&g)return g;if(!ile&&e in p)return p[e];switch(e){case"keys":case"values":ca
/**
* Prism: Lightweight, robust, elegant syntax highlighting
*
* @license MIT <https://opensource.org/licenses/MIT>
* @author Lea Verou <https://lea.verou.me>
* @namespace
* @public
*/e.exports&&(e.exports=t),void 0!==Ede&&(Ede.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"},/"|'/]}},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 r={};r["language-"+n]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[n]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};o["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:o},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:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+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:/(^|[^\
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */
function(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.")}(f),h=p.next();!h.done;h=p.next()){var g=h.value,v=d+Tge(g);"string"!=typeof g&&u.push(((r={})[g.type]=!0,r.anchor={path:a,offset:d},r.focus={path:a,offset:v},r)),d=v}}catch(e){t={error:e}}finally{try{h&&!h.done&&(n=p.return)&&n.call(p)}finally{if(t)throw t.error}}return u},Xve=function(){return Xve=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},Xve.apply(this,arguments)},Zve=function(){function e(){throw new Error("不能实例化\nCan not construct a instance")}return e.setEditorConfig=function(e){void 0===e&&(e={}),this.editorConfig=Xve(Xve({},this.editorConfig),e)},e.setSimpleEditorConfig=function(e){void 0===e&&(e={}),this.simpleEditorConfig=Xve(Xve({},this.simpleEditorConfig),e)},e.setToolbarConfig=function(e){void 0===e&&(e={}),this.toolbarConfig=Xve(Xve({},this.toolbarConfig),e)},e.setSimpleToolbarConfig=function(e){void 0===e&&(e={}),this.simpleToolbarConfig=Xve(Xve({},this.simpleToolbarConfig),e)},e.registerPlugin=function(e){this.plugins.push(e)},e.registerMenu=function(e,t){!function(e,t){var n=e.key,r=e.factory,o=e.config,i=oA(oA({},o),t||{});if(null!=nk[n])throw new Error("Duplicated key '"+n+"' in menu items");nk[n]=r,function(e,t){null!=t&&(tk[e]=t)}(n,i)}(e,t)},e.registerRenderElem=function(e){!function(e){var t=e.type,n=e.renderElem;zT[t||""]=n}(e)},e.registerRenderStyle=function(e){!function(e){MT.push(e)}(e)},e.registerElemToHtml=function(e){!function(e){var t=e.type,n=e.elemToHtml;gk[t||""]=n}(e)},e.registerStyleToHtml=function(e){!function(e){hk.push(e)}(e)},e.registerPreParseHtml=function(e){!function(e){rF.push(e)}(e)},e.registerParseElemHtml=function(e){!function(e){var t=e.selector,n=e.parseElemHtml;iF[t]=n}(e)},e.registerParseStyleHtml=function(e){!function(e){oF.push(e)}(e)},e.registerModule=function(e){Jve(e)},e.editorConfig={},e.simpleEditorConfig={},e.toolbarConfig={},e.simpleToolbarConfig={},e.plugins=[],e}();
/*! *****************************************************************************
Copyright (c) Microsoft Corporation.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function Jve(e){var t=e.menus,n=e.renderElems,r=e.renderStyle,o=e.elemsToHtml,i=e.styleToHtml,a=e.preParseHtml,u=e.parseElemsHtml,s=e.parseStyleHtml,l=e.editorPlugin;t&&t.forEach((function(e){return Zve.registerMenu(e)})),n&&n.forEach((function(e){return Zve.registerRenderElem(e)})),r&&Zve.registerRenderStyle(r),o&&o.forEach((function(e){return Zve.registerElemToHtml(e)})),i&&Zve.registerStyleToHtml(i),a&&a.forEach((function(e){return Zve.registerPreParseHtml(e)})),u&&u.forEach((function(e){return Zve.registerParseElemHtml(e)})),s&&Zve.registerParseStyleHtml(s),l&&Zve.registerPlugin(l)}Yq.forEach((function(e){return Jve(e)})),Jve(g0),Jve(J3),Jve(Doe),Jve(wde),Jve(Gve);var Qve='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>';var eye={link:{menuKeys:["editLink","unLink","viewLink"]},image:{menuKeys:["imageWidth30","imageWidth50","imageWidth100","editImage","viewImageLink","deleteImage"]},pre:{menuKeys:["enter","codeBlock","codeSelectLang"]},table:{menuKeys:["enter","tableHeader","tableFullWidth","insertTableRow","deleteTableRow","insertTableCol","deleteTableCol","deleteTable"]},divider:{menuKeys:["enter"]},video:{menuKeys:["enter","editVideoSize"]}};var tye={hoverbarKeys:Xve(Xve({},eye),{text:{menuKeys:["headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};Zve.setEditorConfig(Xve(Xve({},tye),{decorate:Yve}));var nye={hoverbarKeys:eye};Zve.setSimpleEditorConfig(Xve(Xve({},nye),{decorate:Yve}));var rye={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:HP("editor.more"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path></svg>',menuKeys:["through","code","sup","sub","clearStyle"]},"color","bgColor","|","fontSize","fontFamily","lineHeight","|","bulletedList","numberedList","todo",{key:"group-justify",title:HP("editor.justify"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',menuKeys:["justifyLeft","justifyRight","justifyCenter","justifyJustify"]},{key:"group-indent",title:HP("editor.indent"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',menuKeys:["indent","delIndent"]},"|","emotion","insertLink",{key:"group-image",title:HP("editor.image"),iconSvg:Qve,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:HP("editor.video"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',menuKeys:["insertVideo","uploadVideo"]},"insertTable","codeBlock","divider","|","undo","redo","|","fullScreen"]};Zve.setToolbarConfig(rye);var oye={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:HP("editor.image"),iconSvg:Qve,men
//# sourceMappingURL=index.esm.js.map