HuDouTuan/admin20250319/dist/js/chunk-0c4f7e34.1d3e7469.js

149 lines
1.4 MiB
JavaScript
Raw Permalink Normal View History

2025-07-17 09:09:57 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0c4f7e34"],{"00ea":function(e,t,i){"use strict";i.d(t,"a",(function(){return n})),i.d(t,"b",(function(){return a}));var r=i("b775");function n(e){return Object(r["b"])({url:"/common/uploadimg",method:"post",data:e})}function a(e){return Object(r["b"])({url:"/common/uploadvideo",method:"post",data:e})}},"017a":function(e,t,i){"use strict";i.r(t);var r=function(){var e=this,t=e._self._c;return t("a-modal",{attrs:{title:e.title,width:"60%",visible:e.visible,confirmLoading:e.confirmLoading,destroyOnClose:!0},on:{ok:e.handleSubmit,cancel:e.handleCancel}},[t("a-spin",{attrs:{spinning:e.confirmLoading}},[t("a-form",{attrs:{form:e.form}},[t("a-form-item",{attrs:{label:"标题",labelCol:e.labelCol,wrapperCol:e.wrapperCol,"has-feedback":""}},[t("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["title",{validateFirst:!0,rules:[{required:!0,message:"请输入标题"},{max:100,message:"标题最多100个字"}]}],expression:"[\n 'title',\n {\n validateFirst: true,\n rules: [\n { required: true, message: '请输入标题' },\n { max: 100, message: '标题最多100个字' }\n ]\n }\n ]"}],attrs:{placeholder:"请输入标题"}})],1),t("a-form-item",{attrs:{label:"是否置顶",labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[t("a-switch",{directives:[{name:"decorator",rawName:"v-decorator",value:["istop",{valuePropName:"checked"}],expression:"['istop', { valuePropName: 'checked' }]"}]})],1),t("a-form-item",{attrs:{label:"封面",labelCol:e.labelCol,wrapperCol:e.wrapperCol,"has-feedback":""}},[t("a-upload-dragger",{attrs:{customRequest:e.handleUpload,"show-upload-list":!1}},[e.imageUrl?t("img",{staticStyle:{"max-height":"200px","max-width":"400px"},attrs:{src:e.imageUrl,alt:"封面图"}}):t("div",[t("p",{staticClass:"ant-upload-drag-icon"},[t("a-icon",{attrs:{type:e.loading?"loading":"inbox"}})],1),t("p",{staticClass:"ant-upload-text"},[e._v(" 上传封面 ")])])])],1),t("a-form-item",{attrs:{label:"类型",labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[t("a-select",{directives:[{name:"decorator",rawName:"v-decorator",value:["ptype",{rules:[{required:!0,message:"请选择类型"}],initialValue:1}],expression:"['ptype', { rules: [{ required: true, message: '请选择类型' }], initialValue: 1 }]"}],attrs:{placeholder:"请选择类型"},on:{change:e.typeChange}},e._l(e.GetClientDataList("conenttypeenum"),(function(i,r){return t("a-select-option",{key:r,attrs:{value:i.code}},[e._v(e._s(i.val))])})),1)],1),1==e.type?t("a-form-item",{attrs:{label:"小程序Appid",labelCol:e.labelCol,wrapperCol:e.wrapperCol,"has-feedback":""}},[t("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["appid",{rules:[{required:!0,message:"请输入小程序appid"}]}],expression:"['appid', { rules: [{ required: true, message: '请输入小程序appid' }] }]"}],attrs:{placeholder:"请输入小程序appid"}})],1):e._e(),1==e.type?t("a-form-item",{attrs:{label:"小程序页面地址",labelCol:e.labelCol,wrapperCol:e.wrapperCol,"has-feedback":""}},[t("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["content"],expression:"['content']"}],attrs:{placeholder:"请输入小程序页面地址"}})],1):e._e(),2==e.type?t("a-form-item",{attrs:{label:"链接",labelCol:e.labelCol,wrapperCol:e.wrapperCol}},[t("a-textarea",{directives:[{name:"decorator",rawName:"v-decorator",value:["content",{rules:[{required:!0,message:"请输入链接地址"}]}],expression:"['content', { rules: [{ required: true, message: '请输入链接地址' }] }]"}],attrs:{rows:2,placeholder:"请输入链接地址"}})],1):e._e(),3==e.type?t("a-form-item",{attrs:{label:"页面地址",labelCol:e.labelCol,wrapperCol:e.wrapperCol,"has-feedback":""}},[t("a-input",{directives:[{name:"decorator",rawName:"v-decorator",value:["content",{rules:[{required:!0,message:"请输入小程序内的页面地址"}]}],expression:"['content', { rules: [{ required: true, message: '请输入小程序<EFBFBD><EFBFBD>
/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/function Ms(e){return"[object Object]"===Object.prototype.toString.call(e)}function $s(e){var t,i;return!1!==Ms(e)&&(void 0===(t=e.constructor)||!1!==Ms(i=t.prototype)&&!1!==i.hasOwnProperty("isPrototypeOf"))}function qs(e){for(var t=arguments.length,i=Array(t>1?t-1:0),r=1;r<t;r++)i[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(i.length?" "+i.map((function(e){return"'"+e+"'"})).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function zs(e){return!!e&&!!e[kd]}function Us(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;var i=Object.hasOwnProperty.call(t,"constructor")&&t.constructor;return i===Object||"function"==typeof i&&Function.toString.call(i)===Od}(e)||Array.isArray(e)||!!e[Sd]||!!e.constructor[Sd]||Ws(e)||Ys(e))}function Vs(e,t,i){void 0===i&&(i=!1),0===Hs(e)?(i?Object.keys:Ad)(e).forEach((function(r){i&&"symbol"==typeof r||t(r,e[r],e)})):e.forEach((function(i,r){return t(r,i,e)}))}function Hs(e){var t=e[kd];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:Ws(e)?2:Ys(e)?3:0}function Gs(e,t){return 2===Hs(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Ks(e,t,i){var r=Hs(e);2===r?e.set(t,i):3===r?(e.delete(t),e.add(i)):e[t]=i}function Ws(e){return wd&&e instanceof Map}function Ys(e){return Cd&&e instanceof Set}function Xs(e){return e.o||e.t}function Js(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Pd(e);delete t[kd];for(var i=Ad(t),r=0;r<i.length;r++){var n=i[r],a=t[n];!1===a.writable&&(a.writable=!0,a.configurable=!0),(a.get||a.set)&&(t[n]={configurable:!0,writable:!0,enumerable:a.enumerable,value:e[n]})}return Object.create(Object.getPrototypeOf(e),t)}function Zs(e,t){return void 0===t&&(t=!1),ed(e)||zs(e)||!Us(e)||(Hs(e)>1&&(e.set=e.add=e.clear=e.delete=Qs),Object.freeze(e),t&&Vs(e,(function(e,t){return Zs(t,!0)}),!0)),e}function Qs(){qs(2)}function ed(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function td(e){var t=Fd[e];return t||qs(18,e),t}function id(){return xd}function rd(e,t){t&&(td("Patches"),e.u=[],e.s=[],e.v=t)}function nd(e){ad(e),e.p.forEach(ld),e.p=null}function ad(e){e===xd&&(xd=e.l)}function od(e){return xd={p:[],l:xd,h:e,m:!0,_:0}}function ld(e){var t=e[kd];0===t.i||1===t.i?t.j():t.O=!0}function ud(e,t){t._=t.p.length;var i=t.p[0],r=void 0!==e&&e!==i;return t.h.g||td("ES5").S(t,e,r),r?(i[kd].P&&(nd(t),qs(4)),Us(e)&&(e=sd(t,e),t.l||cd(t,e)),t.u&&td("Patches").M(i[kd],e,t.u,t.s)):e=sd(t,i,[]),nd(t),t.u&&t.v(t.u,t.s),e!==Ed?e:void 0}function sd(e,t,i){if(ed(t))return t;var r=t[kd];if(!r)return Vs(t,(function(n,a){return dd(e,r,t,n,a,i)}),!0),t;if(r.A!==e)return t;if(!r.P)return cd(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var n=4===r.i||5===r.i?r.o=Js(r.k):r.o;Vs(3===r.i?new Set(n):n,(function(t,a){return dd(e,r,n,t,a,i)})),cd(e,n,!1),i&&e.u&&td("Patches").R(r,i,e.u,e.s)}return r.o}function dd(e,t,i,r,n,a){if(zs(n)){var o=sd(e,n,a&&t&&3!==t.i&&!Gs(t.D,r)?a.concat(r):void 0);if(Ks(i,r,o),!zs(o))return;e.m=!1}if(Us(n)&&!ed(n)){if(!e.h.F&&e._<1)return;sd(e,n),t&&t.A.l||cd(e,n)}}function cd(e,t,i){void 0===i&&(i=!1),e.h.F&&e.m&&Zs(t,i)}function pd(e,t){var i=e[kd];return(i?Xs(i):e)[t]}function fd(e,t){if(t in e)for(var i=Object.getPrototypeOf(e);i;){var r=Object.getOwnPropertyDescriptor(i,t);if(r)return r;i=Object.getPrototypeOf(i)}}function vd(e){e.P||(e.P=!0,e.l&&vd(e.l))}function hd(e){e.o||(e.o=Js(e.t))}function md(e,t,i){var r=Ws(t)?td("MapSet").N(t,i):Ys(t)?td("MapSet").T(t,i):e.g?function(e,t){var i=Array.isArray(e),r={i:i?1:0,A:t?t.A:id(),P:!1,I:!1,D:{},l:t,t:e,k:null,o:null,j:null,C:!1},n=r,a=jd;i&&(n=[r],a=Td);var o=Proxy.revocable(n,a),l=o.revoke,u=o.proxy;return r.k=u,r.j=l,u}(t,i):td("ES5").J(t,i);return(i?i.A:id()).p.push(r),r}function bd(e){return zs(e)||qs(22,e),function e(t){if(!Us(t))return t;var i,r=t[kd],n=Hs(t);if(r){if(!r.P&&(r.i<4||!td("ES5").K(r)))return r.t;r.I=!0,i=gd(t,n),r.I=!1}else i=gd(t,n);return Vs(i,(function(t,n){r&&function(e,t){return 2===Hs(e)?e.get(t):e[t]}(r.t,t)===n||Ks(i,t,e(n))})),3===n?new Set(i):i}(e)}function gd(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 ab(e,t){const i=/\$/g;let r=[e];if(null==t)return r;for(const n of Object.keys(t))if("_"!==n){let e=t[n];"string"==typeof e&&(e=i[Symbol.replace](e,"$$$$")),r=nb(r,new RegExp(`%\\{${n}\\}`,"g"),e)}return r}var ob=(Zm=rb("apply"),class{constructor(e){Object.defineProperty(this,Zm,{value:lb}),this.locale={strings:{},pluralize:e=>1===e?0:1},Array.isArray(e)?e.forEach(tb(this,Zm)[Zm],this):tb(this,Zm)[Zm](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 i=this.locale.strings[e];if("object"==typeof i){if(t&&void 0!==t.smart_count)return ab(i[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 ab(i,t)}});function lb(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 ub=function(){var e={},t=e._fns={};return e.emit=function(e,i,r,n,a,o,l){var u=function(e){for(var i=t[e]?t[e]:[],r=e.indexOf(":"),n=-1===r?[e]:[e.substring(0,r),e.substring(r+1)],a=Object.keys(t),o=0,l=a.length;o<l;o++){var u=a[o];if("*"===u&&(i=i.concat(t[u])),2===n.length&&n[0]===u){i=i.concat(t[u]);break}}return i}(e);u.length&&function(e,t,i){for(var r=0,n=t.length;r<n&&t[r];r++)t[r].event=e,t[r].apply(t[r],i)}(e,u,[i,r,n,a,o,l])},e.on=function(e,i){t[e]||(t[e]=[]),t[e].push(i)},e.once=function(t,i){this.on(t,(function r(){i.apply(this,arguments),e.off(t,r)}))},e.off=function(e,t){var i=[];if(e&&t)for(var r=this._fns[e],n=0,a=r?r.length:0;n<a;n++)r[n]!==t&&i.push(r[n]);i.length?this._fns[e]=i:delete this._fns[e]},e},sb={urlAlphabet:"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"};let{urlAlphabet:db}=sb,cb=e=>crypto.getRandomValues(new Uint8Array(e)),pb=(e,t,i)=>{let r=(2<<Math.log(e.length-1)/Math.LN2)-1,n=-~(1.6*r*t/e.length);return()=>{let a="";for(;;){let o=i(n),l=n;for(;l--;)if(a+=e[o[l]&r]||"",a.length===t)return a}}};var fb={nanoid:(e=21)=>{let t="",i=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let r=63&i[e];t+=r<36?r.toString(36):r<62?(r-26).toString(36).toUpperCase():r<63?"_":"-"}return t},customAlphabet:(e,t)=>pb(e,t,cb),customRandom:pb,urlAlphabet:db,random:cb},vb=function(e){if("number"!=typeof e||isNaN(e))throw new TypeError("Expected a number, got "+typeof e);var t=e<0,i=["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)),i.length-1);e=Number(e/Math.pow(1024,r));var n=i[r];return e>=10||e%1==0?(t?"-":"")+e.toFixed(0)+" "+n:(t?"-":"")+e.toFixed(1)+" "+n};function hb(e,t){this.text=e=e||"",this.hasWild=~e.indexOf("*"),this.separator=t,this.parts=e.split(t)}hb.prototype.match=function(e){var t,i,r=!0,n=this.parts,a=n.length;if("string"==typeof e||e instanceof String)if(this.hasWild||this.text==e){for(i=(e||"").split(this.separator),t=0;r&&t<a;t++)"*"!==n[t]&&(r=t<i.length&&n[t]===i[t]);r=r&&i}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 o in r={},e)this.match(o)&&(r[o]=e[o]);return r};var mb=/[\/\+\.]/,bb=function(e,t){function i(t){var i=function(e,t,i){var r=new hb(e,i||/[\/\.]/);return void 0!==t?r.match(t):r}(t,e,mb);return i&&i.length>=2}return t?i(t.split(";")[0]):i},gb=0;function yb(e){return"__private_"+gb+++"_"+e}var xb=yb("publish");class _b{constructor(){Object.defineProperty(this,xb,{value:wb}),this.state={},this.callbacks=[]}getState(){return this.state}setState(e){const t={...this.state},i={...this.state,...e};this.state=i,function(e,t){if(!Object.prototype.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}(this,xb)[xb](t,i,e)}subscribe(e){return this.callbacks.push(e),()=>{this.callbacks.splice(this.callbacks.indexOf(e),1)}}}function wb(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++
/*!
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/function hC(e){return"[object Object]"===Object.prototype.toString.call(e)}pC({target:"Object",stat:!0,forced:vC},{keys:function(e){return fC(Dx(e))}});var mC={isHistory(e){return!1!==hC(t=e)&&(void 0===(i=t.constructor)||!1!==hC(r=i.prototype)&&!1!==r.hasOwnProperty("isPrototypeOf"))&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(0===e.redos.length||Mc.isOperationList(e.redos[0]))&&(0===e.undos.length||Mc.isOperationList(e.undos[0]));var t,i,r}},bC=new WeakMap,gC=new WeakMap,yC={isHistoryEditor:e=>mC.isHistory(e.history)&&Fc.isEditor(e),isMerging:e=>gC.get(e),isSaving:e=>bC.get(e),redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var i=yC.isMerging(e);gC.set(e,!1),t(),gC.set(e,i)},withoutSaving(e,t){var i=yC.isSaving(e);bC.set(e,!1),t(),bC.set(e,i)}},xC=cx.String,_C=function(e){if("Symbol"===Q_(e))throw TypeError("Cannot convert a Symbol value to a string");return xC(e)},wC=function(){var e=n_(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},CC=H_.PROPER,DC=RegExp.prototype,EC=DC.toString,SC=xx(wC),kC=$x((function(){return"/a/b"!=EC.call({source:"a",flags:"b"})})),OC=CC&&"toString"!=EC.name;(kC||OC)&&G_(RegExp.prototype,"toString",(function(){var e=n_(this),t=_C(e.source),i=e.flags;return"/"+t+"/"+_C(void 0===i&&l_(DC,e)&&!("flags"in DC)?SC(e):i)}),{unsafe:!0});var AC,PC=Xx?Object.defineProperties:function(e,t){n_(e);for(var i,r=$w(t),n=fC(t),a=n.length,o=0;a>o;)__.f(e,i=n[o++],r[i]);return e},FC=Tx("document","documentElement"),jC=j_("IE_PROTO"),TC=function(){},IC=function(e){return"<script>"+e+"<\/script>"},BC=function(e){e.write(IC("")),e.close();var t=e.parentWindow.Object;return e=null,t},LC=function(){try{AC=new ActiveXObject("htmlfile")}catch(e){}var e,t;LC="undefined"!=typeof document?document.domain&&AC?BC(AC):((t=e_("iframe")).style.display="none",FC.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(IC("document.F=Object")),e.close(),e.F):BC(AC);for(var i=Jw.length;i--;)delete LC.prototype[Jw[i]];return LC()};T_[jC]=!0;var NC=Object.create||function(e,t){var i;return null!==e?(TC.prototype=n_(e),i=new TC,TC.prototype=null,i[jC]=e):i=LC(),void 0===t?i:PC(i,t)},RC=Kx("unscopables"),MC=Array.prototype;null==MC[RC]&&__.f(MC,RC,{configurable:!0,value:NC(null)});var $C=function(e){MC[RC][e]=!0},qC=Kw.includes;pC({target:"Array",proto:!0},{includes:function(e){return qC(this,e,arguments.length>1?arguments[1]:void 0)}}),$C("includes");var zC=Kx("match"),UC=function(e){var t;return Jx(e)&&(void 0!==(t=e[zC])?!!t:"RegExp"==Y_(e))},VC=cx.TypeError,HC=function(e){if(UC(e))throw VC("The method doesn't accept regular expressions");return e},GC=Kx("match"),KC=function(e){var t=/./;try{"/./"[e](t)}catch(a){try{return t[GC]=!1,"/./"[e](t)}catch(e){}}return!1},WC=xx("".indexOf);pC({target:"String",proto:!0,forced:!KC("includes")},{includes:function(e){return!!~WC(_C(wx(this)),_C(HC(e)),arguments.length>1?arguments[1]:void 0)}});var YC=/"/g,XC=xx("".replace);pC({target:"String",proto:!0,forced:$x((function(){var e="".anchor('"');return e!==e.toLowerCase()||e.split('"').length>3}))},{anchor:function(e){return t=e,i=_C(wx(this)),r="<a",(r+=' name="'+XC(_C(t),YC,"&quot;")+'"')+">"+i+"</a>";var t,i,r}});var JC=function(e,t,i){var r,n;n_(e);try{if(!(r=v_(e,"return"))){if("throw"===t)throw i;return i}r=o_(r,e)}catch(e){n=!0,r=e}if("throw"===t)throw i;if(n)throw r;return n_(r),i},ZC=function(e,t,i,r){try{return r?t(n_(i)[0],i[1]):t(i)}catch(t){JC(e,"throw",t)}},QC={},eD=Kx("iterator"),tD=Array.prototype,iD=function(e){return void 0!==e&&(QC.Array===e||tD[eD]===e)},rD=function(e,t,i){var r=g_(t);r in e?__.f(e,r,w_(0,i)):e[r]=i},nD=Kx("iterator"),aD=function(e){if(null!=e)return v_(e,nD)||v_(e,"@@iterator")||QC[Q_(e)]},oD=cx.TypeError,lD=function(e,t){var i=arguments.length<2?aD(e):t;if(f_(i))return n_(o_(i,e));throw oD(c_(e)+" is not iterable")},uD=cx.Array,sD=Kx("iterator"),dD=!1;try{var cD=0,pD={next:function(){return{done:!!cD++}},return:function(){dD=!0}};pD[sD]=function(){return this},Array
/*! *****************************************************************************
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 nS=function(e,t){return nS=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},nS(e,t)};function aS(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}nS(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var oS=function(){return oS=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},oS.apply(this,arguments)};function lS(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.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 uS(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var r,n,a=i.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){n={error:e}}finally{try{r&&!r.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o}function sS(e,t){for(var i=0,r=t.length,n=e.length;i<r;i++,n++)e[n]=t[i];return e}var dS=0,cS=function(){this.id=""+dS++},pS=q_.set,fS=q_.getterFor("Array Iterator"),vS=GD(Array,"Array",(function(e,t){pS(this,{type:"Array Iterator",target:$w(e),index:0,kind:t})}),(function(){var e=fS(this),t=e.target,i=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==i?{value:r,done:!1}:"values"==i?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");QC.Arguments=QC.Array,$C("keys"),$C("values"),$C("entries");var hS=function(e,t,i){for(var r in t)G_(e,r,t[r],i);return e},mS=cx.Array,bS=Math.max,gS=function(e,t,i){for(var r=hw(e),n=Hw(t,r),a=Hw(void 0===i?r:i,r),o=mS(bS(a-n,0)),l=0;n<a;n++,l++)rD(o,l,e[n]);return o.length=l,o},yS=Qw.f,xS="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],_S={f:function(e){return xS&&"Window"==Y_(e)?function(e){try{return yS(e)}catch(e){return gS(xS)}}(e):yS($w(e))}},wS=$x((function(){if("function"==typeof ArrayBuffer){var e=new ArrayBuffer(8);Object.isExtensible(e)&&Object.defineProperty(e,"a",{value:8})}})),CS=Object.isExtensible,DS=$x((function(){CS(1)}))||wS?function(e){return!!Jx(e)&&(!wS||"ArrayBuffer"!=Y_(e))&&(!CS||CS(e))}:CS,ES=!$x((function(){return Object.isExtensible(Object.preventExtensions({}))})),SS=lx((function(e){var t=__.f,i=!1,r=Px("meta"),n=0,a=function(e){t(e,r,{value:{objectID:"O"+n++,weakData:{}}})},o=e.exports={enable:function(){o.enable=function(){},i=!0;var e=Qw.f,t=xx([].splice),n={};n[r]=1,e(n).length&&(Qw.f=function(i){for(var n=e(i),a=0,o=n.length;a<o;a++)if(n[a]===r){t(n,a,1);break}return n},pC({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:_S.f}))},fastKey:function(e,t){if(!Jx(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!Sx(e,r)){if(!DS(e))return"F";if(!t)return"E";a(e)}return e[r].objectID},getWeakData:function(e,t){if(!Sx(e,r)){if(!DS(e))return!0;if(!t)return!1;a(e)}return e[r].weakData},onFreeze:function(e){return ES&&i&&DS(e)&&!Sx(e,r)&&a(e),e}};T_[r]=!0})),kS=cx.TypeError,OS=function(e,t){this.stopped=e,this.result=t},AS=OS.prototype,PS=function(e,t,i){var r,n,a,o,l,u,s,d=i&&i.that,c=!(!i||!i.AS_ENTRIES),p=!(!i||!i.IS_ITERATOR),f=!(!i||!i.INTERRUPTED),v=ow(t,d),h=function(e){return r&&JC(r,"normal",e),new OS(!0,e)},m=function(e){return c?(n_(e),f?v(e[0],e[1],h):v(e[0],e[1])):f?v(e,h):v(e)};if(p)r=e;else{if(!(n=aD(e)))throw kS(c_(e)+" is not iterable");if(iD(n)){for(a=0,o=hw(e);o>a;a++)if((l=m(e[a]))&&l_(AS,l))return l;return new OS(!1)}r=lD(e,n)}for(u=r.next;!(s=o_(u,r)).done;){try{l=m(s.value)}catch(e){JC(r,"throw",e)}if("object"==typeof l&&l&&l_(AS,l))return l}return new OS(!1)},FS=cx.TypeError,jS=function(e,t){if(l_(t,e))return e;throw FS("Incorrect invocation")},TS=function(e,t,i){var r,n;return MD&&Fx(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 iM(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}tM(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var rM=function(){return rM=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},rM.apply(this,arguments)};function nM(e,t,i,r){return new(i||(i=Promise))((function(n,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function l(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,l)}u((r=r.apply(e,t||[])).next())}))}function aM(e,t){var i,r,n,a,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,r&&(n=2&a[0]?r.return:a[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,a[1])).done)return n;switch(r=0,n&&(a=[2&a[0],n.value]),a[0]){case 0:case 1:n=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((n=(n=o.trys).length>0&&n[n.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!n||a[1]>n[0]&&a[1]<n[3])){o.label=a[1];break}if(6===a[0]&&o.label<n[1]){o.label=n[1],n=a;break}if(n&&o.label<n[2]){o.label=n[2],o.ops.push(a);break}n[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{i=n=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}}function oM(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.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 lM(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var r,n,a=i.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){n={error:e}}finally{try{r&&!r.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o}function uM(e){var t=lM(Fc.nodes(e,{match:function(t){return e.children[0]===t},mode:"highest"}),1)[0];if(null==t)return!1;var i=t[0];if(!Ec.isElement(i))return!1;if("paragraph"===i.type)return!1;if(""!==Lc.string(i))return!1;var r=i.children,n=void 0===r?[]:r;return!!tp.isText(n[0])&&(yp.setNodes(e,{type:"paragraph"}),!0)}var sM={renderElems:[uI],elemsToHtml:[{type:"paragraph",elemToHtml:function(e,t){return""===t?"<p><br></p>":"<p>"+t+"</p>"}}],parseElemsHtml:[eM],editorPlugin:function(e){var t=e.deleteBackward,i=e.deleteForward;e.insertText,e.insertBreak;var r=e;return r.deleteBackward=function(e){uM(r)||t(e)},r.deleteForward=function(e){uM(r)||i(e)},r}},dM=/"/g,cM=OI("".replace),pM=function(e,t,i,r){var n=cN(LI(e)),a="<"+t;return""!==i&&(a+=" "+i+'="'+cM(cN(r),dM,"&quot;")+'"'),a+">"+n+"</"+t+">"},fM=function(e){return hI((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))};function vM(e,t){var i=t,r=e,n=r.bold,a=r.italic,o=r.underline;return n&&(i="<strong>"+i+"</strong>"),r.code&&(i="<code>"+i+"</code>"),a&&(i="<em>"+i+"</em>"),o&&(i="<u>"+i+"</u>"),r.through&&(i="<s>"+i+"</s>"),r.sub&&(i="<sub>"+i+"</sub>"),r.sup&&(i="<sup>"+i+"</sup>"),i}function hM(e,t){return 0!==e.length&&(!!e[0].matches(t)||e.find(t).length>0)}LL({target:"String",proto:!0,forced:fM("bold")},{bold:function(){return pM(this,"b","","")}}),LL({target:"String",proto:!0,forced:fM("italics")},{italics:function(){return pM(this,"i","","")}}),LL({target:"String",proto:!0,forced:fM("sub")},{sub:function(){return pM(this,"sub","","")}}),LL({target:"String",proto:!0,forced:fM("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 ZZ(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}JZ(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}function QZ(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.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 eQ(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var r,n,a=i.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){n={error:e}}finally{try{r&&!r.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o}function tQ(e){return Fc.nodes(e,{at:e.selection||void 0,match:function(t){return 1===tO.findPath(e,t).length}})}var iQ=kY.includes;RX({target:"Array",proto:!0},{includes:function(e){return iQ(this,e,arguments.length>1?arguments[1]:void 0)}}),GY("includes");var rQ,nQ,aQ=function(){var e=WW(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},oQ=eW.RegExp,lQ=oW((function(){var e=oQ("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),uQ=lQ||oW((function(){return!oQ("a","y").sticky})),sQ={BROKEN_CARET:lQ||oW((function(){var e=oQ("^r","gy");return e.lastIndex=2,null!=e.exec("str")})),MISSED_STICKY:uQ,UNSUPPORTED_Y:lQ},dQ=eW.RegExp,cQ=oW((function(){var e=dQ(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),pQ=eW.RegExp,fQ=oW((function(){var e=pQ("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),vQ=fX.get,hQ=yW("native-string-replace",String.prototype.replace),mQ=RegExp.prototype.exec,bQ=mQ,gQ=aW("".charAt),yQ=aW("".indexOf),xQ=aW("".replace),_Q=aW("".slice),wQ=(nQ=/b*/g,tY(mQ,rQ=/a/,"a"),tY(mQ,nQ,"a"),0!==rQ.lastIndex||0!==nQ.lastIndex),CQ=sQ.BROKEN_CARET,DQ=void 0!==/()??/.exec("")[1];(wQ||DQ||CQ||cQ||fQ)&&(bQ=function(e){var t,i,r,n,a,o,l,u=this,s=vQ(u),d=xJ(e),c=s.raw;if(c)return c.lastIndex=u.lastIndex,t=tY(bQ,c,d),u.lastIndex=c.lastIndex,t;var p=s.groups,f=CQ&&u.sticky,v=tY(aQ,u),h=u.source,m=0,b=d;if(f&&(v=xQ(v,"y",""),-1===yQ(v,"g")&&(v+="g"),b=_Q(d,u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==gQ(d,u.lastIndex-1))&&(h="(?: "+h+")",b=" "+b,m++),i=new RegExp("^(?:"+h+")",v)),DQ&&(i=new RegExp("^"+h+"$(?!\\s)",v)),wQ&&(r=u.lastIndex),n=tY(mQ,f?i:u,b),f?n?(n.input=_Q(n.input,m),n[0]=_Q(n[0],m),n.index=u.lastIndex,u.lastIndex+=n[0].length):u.lastIndex=0:wQ&&n&&(u.lastIndex=u.global?n.index+n[0].length:r),DQ&&n&&n.length>1&&tY(hQ,n[0],i,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(n[a]=void 0)})),n&&p)for(n.groups=o=UY(null),a=0;a<p.length;a++)o[(l=p[a])[0]]=n[l[1]];return n});var EQ=bQ;RX({target:"RegExp",proto:!0,forced:/./.exec!==EQ},{exec:EQ});var SQ=function(){function e(){this.type="list-item",this.tag="button"}return e.prototype.getListNode=function(e){var t=this.type;return tO.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 i=t.ordered;return(void 0!==i&&i)===this.ordered},e.prototype.isDisabled=function(e){return null==e.selection||!!tO.getSelectedElems(e).some((function(t){if(Fc.isVoid(e,t)&&Fc.isBlock(e,t))return!0;var i=t.type;return!!["pre","code","table"].includes(i)||void 0}))},e.prototype.exec=function(e,t){this.isActive(e)?yp.setNodes(e,{type:"paragraph",ordered:void 0,level:void 0}):yp.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>',OQ='<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,i=t&&e[t],r=0;if(i)return i.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.")}(n),l=o.next();!l.done;l=o.next())l.value,a=!0}catch(e){i={error:e}}finally{try{l&&!l.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return a}q2({target:"Array",proto:!0,forced:!V3},{slice:function(e,t){var i,r,n,a=U0(this),o=_2(a),l=g2(e,o),u=g2(void 0===t?o:t,o);if(F3(a)&&(i=a.constructor,(M3(i)&&(i===G3||F3(i.prototype))||H0(i)&&null===(i=i[H3]))&&(i=void 0),i===G3||void 0===i))return U3(a,l,u);for(r=new(void 0===i?G3:i)(K3(u-l,0)),n=0;l<u;l++,n++)l in a&&$3(r,n,a[l]);return r.length=n,r}});var J3=I0(I0.bind),Z3=k1("species"),Q3=_0.Array,e4=function(e,t){return new(function(e){var t;return F3(e)&&(t=e.constructor,(M3(t)&&(t===Q3||F3(t.prototype))||H0(t)&&null===(t=t[Z3]))&&(t=void 0)),void 0===t?Q3:t}(e))(0===t?0:t)},t4=I0([].push),i4=function(e){var t=1==e,i=2==e,r=3==e,n=4==e,a=6==e,o=7==e,l=5==e||a;return function(u,s,d,c){for(var p,f,v=m1(u),h=$0(v),m=function(e,t){return u1(e),void 0===t?e:J3?J3(e,t):function(){return e.apply(t,arguments)}}(s,d),b=_2(h),g=0,y=c||e4,x=t?y(u,b):i||o?y(u,0):void 0;b>g;g++)if((l||g in h)&&(f=m(p=h[g],g,v),e))if(t)x[g]=f;else if(f)switch(e){case 3:return!0;case 5:return p;case 6:return g;case 2:t4(x,p)}else switch(e){case 4:return!1;case 7:t4(x,p)}return a?-1:r||n?n:x}},r4={forEach:i4(0),map:i4(1),filter:i4(2),some:i4(3),every:i4(4),find:i4(5),findIndex:i4(6),filterReject:i4(7)},n4=r4.map;q2({target:"Array",proto:!0,forced:!z3("map")},{map:function(e){return n4(this,e,arguments.length>1?arguments[1]:void 0)}});var a4=U2?{}.toString:function(){return"[object "+K2(this)+"]"};function o4(e){var t=e.children||[];return 0===t.length?[]:(t[0]||{}).children||[]}function l4(e){return o4(e).every((function(e){return!!e.isHeader}))}U2||p2(Object.prototype,"toString",a4,{unsafe:!0});var u4=c2.PROPER,s4=RegExp.prototype,d4=s4.toString,c4=I0(Q2),p4=w0((function(){return"/a/b"!=d4.call({source:"a",flags:"b"})})),f4=u4&&"toString"!=d4.name;(p4||f4)&&p2(RegExp.prototype,"toString",(function(){var e=M1(this),t=Y2(e.source),i=e.flags;return"/"+t+"/"+Y2(void 0===i&&W0(s4,e)&&!("flags"in s4)?c4(e):i)}),{unsafe:!0});var v4=k1("unscopables"),h4=Array.prototype;null==h4[v4]&&z1.f(h4,v4,{configurable:!0,value:v3(null)});var m4=r4.find,b4=!0;"find"in[]&&Array(1).find((function(){b4=!1})),q2({target:"Array",proto:!0,forced:b4},{find:function(e){return m4(this,e,arguments.length>1?arguments[1]:void 0)}}),h4[v4].find=!0;var g4=Function.prototype,y4=g4.apply,x4=g4.bind,_4=g4.call,w4="object"==typeof Reflect&&Reflect.apply||(x4?_4.bind(y4):function(){return _4.apply(y4,arguments)}),C4=k1("species"),D4=RegExp.prototype,E4=function(e,t,i,r){var n=k1(e),a=!w0((function(){var t={};return t[n]=function(){return 7},7!=""[e](t)})),o=a&&!w0((function(){var t=!1,i=/a/;return"split"===e&&((i={}).constructor={},i.constructor[C4]=function(){return i},i.flags="",i[n]=/./[n]),i.exec=function(){return t=!0,null},i[n](""),!t}));if(!a||!o||i){var l=I0(/./[n]),u=t(n,""[e],(function(e,t,i,r,n){var o=I0(e),u=t.exec;return u===P3||u===D4.exec?a&&!n?{done:!0,value:l(t,i,r)}:{done:!0,value:o(i,t,r)}:{done:!1}}));p2(String.prototype,e,u[0]),p2(D4,n,u[1])}r&&U1(D4[n],"sham",!0)},S4=k1("match"),k4=_0.TypeError,O4=k1("species"),A4=I0("".charAt),P4=I0("".charCodeAt),F4=I0("".slice),j4=function(e){return function(t,i){var r,n,a=Y2(z0(t)),o=h2(i),l=a.length;return o<0||o>=l?e?"":void 0:(r=P4(a,o))<55296||r>56319||o+1===l||(n=P4(a,o+1))<56320||n>57343?e?A4(a,o):r:e?F4(a,o,o+2):n-56320+(r-55296<<10)+65536}},T4=(j4(!1),j4(!0)),I4=function(e,t,i){return t+(i?T4(e,t).length:1)},B4=_0.Array,L4=Math.max,N4=function(e,t,i){for(var r=_2(e),n=g2(t,r),a=g2(void 0===i?r:i,r),o=B4(L4(a-n,0)),l=0;n<a;n++,l++)$3(o,l,e[n]);return o.length=l,o},R4=_0.TypeError,M4=function(e,t){var i=e.exec;if(V0(i)){var r=E0(i,e,t);return null!==r&&M1(r),r}if("RegExp"===N0(
/*! *****************************************************************************
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 Z5=function(){return Z5=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},Z5.apply(this,arguments)};function Q5(e,t,i,r){return new(i||(i=Promise))((function(n,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function l(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,l)}u((r=r.apply(e,t||[])).next())}))}function e6(e,t){var i,r,n,a,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,r&&(n=2&a[0]?r.return:a[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,a[1])).done)return n;switch(r=0,n&&(a=[2&a[0],n.value]),a[0]){case 0:case 1:n=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((n=(n=o.trys).length>0&&n[n.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!n||a[1]>n[0]&&a[1]<n[3])){o.label=a[1];break}if(6===a[0]&&o.label<n[1]){o.label=n[1],n=a;break}if(n&&o.label<n[2]){o.label=n[2],o.ops.push(a);break}n[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{i=n=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}}function t6(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var r,n,a=i.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){n={error:e}}finally{try{r&&!r.done&&(i=a.return)&&i.call(a)}finally{if(n)throw n.error}}return o}function i6(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,i=e[Symbol.asyncIterator];return i?i.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.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(i){t[i]=e[i]&&function(t){return new Promise((function(r,n){!function(e,t,i,r){Promise.resolve(r).then((function(t){e({value:t,done:i})}),t)}(r,n,(t=e[i](t)).done,t.value)}))}}}var r6="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof e?e:"undefined"!=typeof self?self:{};function n6(e){var t={exports:{}};return e(t,t.exports),t.exports}var a6,o6,l6=function(e){return e&&e.Math==Math&&e},u6=l6("object"==typeof globalThis&&globalThis)||l6("object"==typeof window&&window)||l6("object"==typeof self&&self)||l6("object"==typeof r6&&r6)||function(){return this}()||Function("return this")(),s6=function(e){try{return!!e()}catch(e){return!0}},d6=!s6((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c6=Function.prototype.call,p6=c6.bind?c6.bind(c6):function(){return c6.apply(c6,arguments)},f6={}.propertyIsEnumerable,v6=Object.getOwnPropertyDescriptor,h6={f:v6&&!f6.call({1:2},1)?function(e){var t=v6(this,e);return!!t&&t.enumerable}:f6},m6=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},b6=Function.prototype,g6=b6.bind,y6=b6.call,x6=g6&&g6.bind(y6),_6=g6?function(e){return e&&x6(y6,e)}:function(e){return e&&function(){return y6.apply(e,arguments)}},w6=_6({}.toString),C6=_6("".slice),D6=function(e){return C6(w6(e),8,-1)},E6=u6.Object,S6=_6("".split),k6=s6((function(){return!E6("z").propertyIsEnumerable(0)}))?function(e){return"String"==D6(e)?S6(e,""):E6(e)}:E6,O6=u6.TypeError,A6=function(e){if(null==e)throw O6("Can't call method on "+e);return e},P6=function(e){return k6(A6(e))},F6=function(e){return"function"==typeof e},j6=function(e){return"object"==typeof
/*! *****************************************************************************
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 kue=function(){return kue=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},kue.apply(this,arguments)};function Oue(e,t,i,r){return new(i||(i=Promise))((function(n,a){function o(e){try{u(r.next(e))}catch(e){a(e)}}function l(e){try{u(r.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?n(e.value):(t=e.value,t instanceof i?t:new i((function(e){e(t)}))).then(o,l)}u((r=r.apply(e,t||[])).next())}))}function Aue(e,t){var i,r,n,a,o={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(i)throw new TypeError("Generator is already executing.");for(;o;)try{if(i=1,r&&(n=2&a[0]?r.return:a[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,a[1])).done)return n;switch(r=0,n&&(a=[2&a[0],n.value]),a[0]){case 0:case 1:n=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!((n=(n=o.trys).length>0&&n[n.length-1])||6!==a[0]&&2!==a[0])){o=0;continue}if(3===a[0]&&(!n||a[1]>n[0]&&a[1]<n[3])){o.label=a[1];break}if(6===a[0]&&o.label<n[1]){o.label=n[1],n=a;break}if(n&&o.label<n[2]){o.label=n[2],o.ops.push(a);break}n[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(e){a=[6,e],r=0}finally{i=n=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}}function Pue(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,i=e[Symbol.asyncIterator];return i?i.call(e):(e=function(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],r=0;if(i)return i.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(i){t[i]=e[i]&&function(t){return new Promise((function(r,n){!function(e,t,i,r){Promise.resolve(r).then((function(t){e({value:t,done:i})}),t)}(r,n,(t=e[i](t)).done,t.value)}))}}}var Fue=Tae("unscopables"),jue=Array.prototype;null==jue[Fue]&&Wae.f(jue,Fue,{configurable:!0,value:Ble(null)});var Tue,Iue,Bue,Lue=function(e){jue[Fue][e]=!0},Nue={},Rue=!One((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Mue=noe("IE_PROTO"),$ue=kne.Object,que=$ue.prototype,zue=Rue?$ue.getPrototypeOf:function(e){var t=wae(e);if(Dae(t,Mue))return t[Mue];var i=t.constructor;return Xne(i)&&t instanceof i?i.prototype:t instanceof $ue?que:null},Uue=Tae("iterator"),Vue=!1;[].keys&&("next"in(Bue=[].keys())?(Iue=zue(zue(Bue)))!==Object.prototype&&(Tue=Iue):Vue=!0);var Hue=null==Tue||One((function(){var e={};return Tue[Uue].call(e)!==e}));Hue&&(Tue={}),Xne(Tue[Uue])||goe(Tue,Uue,(function(){return this}));var Gue={IteratorPrototype:Tue,BUGGY_SAFARI_ITERATORS:Vue},Kue=Wae.f,Wue=Tae("toStringTag"),Yue=function(e,t,i){e&&!Dae(e=i?e:e.prototype,Wue)&&Kue(e,Wue,{configurable:!0,value:t})},Xue=Gue.IteratorPrototype,Jue=function(){return this},Zue=kne.String,Que=kne.TypeError,ese=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,i={};try{(e=$ne(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set))(i,[]),t=i instanceof Array}catch(e){}return function(i,r){return Hae(i),function(e){if("object"==typeof e||Xne(e))return e;throw Que("Can't set "+Zue(e)+" as a prototype")}(r),t?e(i,r):i.__proto__=r,i}}():void 0),tse=boe.PROPER,ise=boe.CONFIGURABLE,rse=Gue.IteratorPrototype,nse=Gue.BUGGY_SAFARI_ITERATORS,ase=Tae("iterator"),ose=function(){return this},lse=function(e,t,i,r,n,a,o){!function(e,t,i,r){var n=t+" Iterator";e.prototype=Ble(Xue,{next:Bne(1,i)}),Yue(e,n,!1),Nue[n]=Jue}(i,t,r);var l,u,s,d=function(e){if(e===n&&h)return h;if(!nse&&e in f)return f[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!==xpe&&(xpe.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,i){var r={};r["language-"+i]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[i]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var n={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};n["language-"+i]={pattern:/[\s\S]+/,inside:t.languages[i]};var a={};a[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,(function(){return e})),"i"),lookbehind:!0,greedy:!0,inside:n},t.languages.insertBefore("markup","cdata",a)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,i){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:[i,"language-"+i],inside:t.languages[i]},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 i=e.languages.markup;i&&(i.tag.addInlined("style","css"),i.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,i=t&&e[t],r=0;if(i)return i.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.")}(c),v=f.next();!v.done;v=f.next()){var h=v.value,m=p+Phe(h);"string"!=typeof h&&l.push(((r={})[h.type]=!0,r.anchor={path:o,offset:p},r.focus={path:o,offset:m},r)),p=m}}catch(e){t={error:e}}finally{try{v&&!v.done&&(i=f.return)&&i.call(f)}finally{if(t)throw t.error}}return l},Yme=function(){return Yme=Object.assign||function(e){for(var t,i=1,r=arguments.length;i<r;i++)for(var n in t=arguments[i])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},Yme.apply(this,arguments)},Xme=function(){function e(){throw new Error("不能实例化\nCan not construct a instance")}return e.setEditorConfig=function(e){void 0===e&&(e={}),this.editorConfig=Yme(Yme({},this.editorConfig),e)},e.setSimpleEditorConfig=function(e){void 0===e&&(e={}),this.simpleEditorConfig=Yme(Yme({},this.simpleEditorConfig),e)},e.setToolbarConfig=function(e){void 0===e&&(e={}),this.toolbarConfig=Yme(Yme({},this.toolbarConfig),e)},e.setSimpleToolbarConfig=function(e){void 0===e&&(e={}),this.simpleToolbarConfig=Yme(Yme({},this.simpleToolbarConfig),e)},e.registerPlugin=function(e){this.plugins.push(e)},e.registerMenu=function(e,t){!function(e,t){var i=e.key,r=e.factory,n=e.config,a=oS(oS({},n),t||{});if(null!=nO[i])throw new Error("Duplicated key '"+i+"' in menu items");nO[i]=r,function(e,t){null!=t&&(rO[e]=t)}(i,a)}(e,t)},e.registerRenderElem=function(e){!function(e){var t=e.type,i=e.renderElem;zF[t||""]=i}(e)},e.registerRenderStyle=function(e){!function(e){qF.push(e)}(e)},e.registerElemToHtml=function(e){!function(e){var t=e.type,i=e.elemToHtml;bO[t||""]=i}(e)},e.registerStyleToHtml=function(e){!function(e){mO.push(e)}(e)},e.registerPreParseHtml=function(e){!function(e){aP.push(e)}(e)},e.registerParseElemHtml=function(e){!function(e){var t=e.selector,i=e.parseElemHtml;lP[t]=i}(e)},e.registerParseStyleHtml=function(e){!function(e){oP.push(e)}(e)},e.registerModule=function(e){Jme(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 Jme(e){var t=e.menus,i=e.renderElems,r=e.renderStyle,n=e.elemsToHtml,a=e.styleToHtml,o=e.preParseHtml,l=e.parseElemsHtml,u=e.parseStyleHtml,s=e.editorPlugin;t&&t.forEach((function(e){return Xme.registerMenu(e)})),i&&i.forEach((function(e){return Xme.registerRenderElem(e)})),r&&Xme.registerRenderStyle(r),n&&n.forEach((function(e){return Xme.registerElemToHtml(e)})),a&&Xme.registerStyleToHtml(a),o&&o.forEach((function(e){return Xme.registerPreParseHtml(e)})),l&&l.forEach((function(e){return Xme.registerParseElemHtml(e)})),u&&Xme.registerParseStyleHtml(u),s&&Xme.registerPlugin(s)}WK.forEach((function(e){return Jme(e)})),Jme(v0),Jme(J5),Jme(_ne),Jme(ype),Jme(Hme);var Zme='<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>',Qme={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"]}},ebe={hoverbarKeys:Yme(Yme({},Qme),{text:{menuKeys:["headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"]}})};Xme.setEditorConfig(Yme(Yme({},ebe),{decorate:Wme}));var tbe={hoverbarKeys:Qme};Xme.setSimpleEditorConfig(Yme(Yme({},tbe),{decorate:Wme}));var ibe={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:qT("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:qT("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:qT("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:qT("editor.image"),iconSvg:Zme,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:qT("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"]};Xme.setToolbarConfig(ibe);var rbe={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:qT("editor.image"),iconSvg:Zme,menuKeys:["