"+o+"
"}).join(""));var r=B(""+e+"
"}}],parseElemsHtml:[jnt],editorPlugin:function(t){var e=t.deleteBackward,n=t.deleteForward;t.insertText,t.insertBreak;var r=t;return r.deleteBackward=function(o){UO(r)||e(o)},r.deleteForward=function(o){UO(r)||n(o)},r}},Int=/"/g,Lnt=yt("".replace),Qf=function(t,e,n,r){var o=Ee(jr(t)),i="<"+e;return n!==""&&(i+=" "+n+'="'+Lnt(Ee(r),Int,""")+'"'),i+">"+o+""+e+">"},td=function(t){return Ce(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3})};function Xb(t,e){var n=e,r=t,o=r.bold,i=r.italic,a=r.underline;return o&&(n=""+n+""),r.code&&(n=""+n+"
"),i&&(n=""+n+""),a&&(n=""+n+""),r.through&&(n=""+e+"
"}},{type:"pre",elemToHtml:function(t,e){return""+e+""}}],preParseHtml:[{selector:"pre>code",preParseHtml:function(t){var e=B(t);if(yc(e)!=="code")return t;var n=e.find("xmp");if(n.length===0)return t;var r=n.text();return n.remove(),e.text(r),e[0]}}],parseElemsHtml:[{selector:"pre:not([data-w-e-type])>code",parseElemHtml:function(t,e,n){return{type:"code",language:"",children:[{text:B(t)[0].textContent||""}]}}},Yat]},Zat=function(){function t(){this.title=tt("fullScreen.title"),this.iconSvg='',this.tag="button",this.alwaysEnable=!0}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return e.isFullScreen},t.prototype.isDisabled=function(e){return!1},t.prototype.exec=function(e,n){e.isFullScreen?e.unFullScreen():e.fullScreen()},t}(),Jat={menus:[{key:"fullScreen",factory:function(){return new Zat}}]},Qat=function(){function t(){this.title=tt("common.enter"),this.iconSvg='',this.tag="button"}return t.prototype.getValue=function(e){return""},t.prototype.isActive=function(e){return!1},t.prototype.isDisabled=function(e){var n=e.selection;return n==null||!!L.isExpanded(n)},t.prototype.exec=function(e,n){var r=e.selection;if(r!=null){var o=[r.anchor.path[0]];N.insertNodes(e,{type:"paragraph",children:[{text:""}]},{at:o}),e.select(E.start(e,o))}},t}(),tut=[drt,Urt,Cat,Oat,_at,jat,hot,zat,Bot,eot,Xat,Oot,Mrt,Nnt,mot,Lat,Jat,{menus:[{key:"enter",factory:function(){return new Qat}}]}];qn("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),qn("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var $k=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function vC(t){var e={exports:{}};return t(e,e.exports),e.exports}var _i,ag,c0=function(t){return t&&t.Math==Math&&t},wt=c0(typeof globalThis=="object"&&globalThis)||c0(typeof window=="object"&&window)||c0(typeof self=="object"&&self)||c0(typeof $k=="object"&&$k)||function(){return this}()||Function("return this")(),NL=Function.prototype,C6=NL.bind,x6=NL.call,eut=C6&&C6.bind(x6),jt=C6?function(t){return t&&eut(x6,t)}:function(t){return t&&function(){return x6.apply(t,arguments)}},Oe=function(t){try{return!!t()}catch{return!0}},nut=jt({}.toString),rut=jt("".slice),ni=function(t){return rut(nut(t),8,-1)},m2=wt.Object,out=jt("".split),IL=Oe(function(){return!m2("z").propertyIsEnumerable(0)})?function(t){return ni(t)=="String"?out(t,""):m2(t)}:m2,iut=wt.TypeError,my=function(t){if(t==null)throw iut("Can't call method on "+t);return t},wc=function(t){return IL(my(t))},aut=Object.defineProperty,yC=function(t,e){try{aut(wt,t,{value:e,configurable:!0,writable:!0})}catch{wt[t]=e}return e},ca=wt["__core-js_shared__"]||yC("__core-js_shared__",{}),mC=vC(function(t){(t.exports=function(e,n){return ca[e]||(ca[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.19.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),uut=wt.Object,rh=function(t){return uut(my(t))},sut=jt({}.hasOwnProperty),nn=Object.hasOwn||function(t,e){return sut(rh(t),e)},lut=0,cut=Math.random(),fut=jt(1 .toString),bC=function(t){return"Symbol("+(t===void 0?"":t)+")_"+fut(++lut+cut,36)},ke=function(t){return typeof t=="function"},dut=function(t){return ke(t)?t:void 0},oh=function(t,e){return arguments.length<2?dut(wt[t]):wt[t]&&wt[t][e]},b2=oh("navigator","userAgent")||"",Hk=wt.process,Vk=wt.Deno,Uk=Hk&&Hk.versions||Vk&&Vk.version,Wk=Uk&&Uk.v8;Wk&&(ag=(_i=Wk.split("."))[0]>0&&_i[0]<4?1:+(_i[0]+_i[1])),!ag&&b2&&(!(_i=b2.match(/Edge\/(\d+)/))||_i[1]>=74)&&(_i=b2.match(/Chrome\/(\d+)/))&&(ag=+_i[1]);var f0,S6=ag,A6=!!Object.getOwnPropertySymbols&&!Oe(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&S6&&S6<41}),wC=A6&&!Symbol.sham&&typeof Symbol.iterator=="symbol",yf=mC("wks"),Iu=wt.Symbol,Gk=Iu&&Iu.for,put=wC?Iu:Iu&&Iu.withoutSetter||bC,yn=function(t){if(!nn(yf,t)||!A6&&typeof yf[t]!="string"){var e="Symbol."+t;A6&&nn(Iu,t)?yf[t]=Iu[t]:yf[t]=wC&&Gk?Gk(e):put(e)}return yf[t]},Ae=function(t){return typeof t=="object"?t!==null:ke(t)},hut=wt.String,gut=wt.TypeError,Kn=function(t){if(Ae(t))return t;throw gut(hut(t)+" is not an object")},Oa=!Oe(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),O6=wt.document,vut=Ae(O6)&&Ae(O6.createElement),EC=function(t){return vut?O6.createElement(t):{}},LL=!Oa&&!Oe(function(){return Object.defineProperty(EC("div"),"a",{get:function(){return 7}}).a!=7}),mf=Function.prototype.call,en=mf.bind?mf.bind(mf):function(){return mf.apply(mf,arguments)},Nv=jt({}.isPrototypeOf),yut=wt.Object,w2=wC?function(t){return typeof t=="symbol"}:function(t){var e=oh("Symbol");return ke(e)&&Nv(e.prototype,yut(t))},mut=wt.String,k6=function(t){try{return mut(t)}catch{return"Object"}},but=wt.TypeError,DC=function(t){if(ke(t))return t;throw but(k6(t)+" is not a function")},rp=function(t,e){var n=t[e];return n==null?void 0:DC(n)},wut=wt.TypeError,Eut=wt.TypeError,Dut=yn("toPrimitive"),CC=function(t){var e=function(n,r){if(!Ae(n)||w2(n))return n;var o,i=rp(n,Dut);if(i){if(r===void 0&&(r="default"),o=en(i,n,r),!Ae(o)||w2(o))return o;throw Eut("Can't convert object to primitive value")}return r===void 0&&(r="number"),function(a,u){var s,l;if(u==="string"&&ke(s=a.toString)&&!Ae(l=en(s,a))||ke(s=a.valueOf)&&!Ae(l=en(s,a))||u!=="string"&&ke(s=a.toString)&&!Ae(l=en(s,a)))return l;throw wut("Can't convert object to primitive value")}(n,r)}(t,"string");return w2(e)?e:e+""},Cut=wt.TypeError,qk=Object.defineProperty,ys={f:Oa?qk:function(t,e,n){if(Kn(t),e=CC(e),Kn(n),LL)try{return qk(t,e,n)}catch{}if("get"in n||"set"in n)throw Cut("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},xut=Math.ceil,Sut=Math.floor,ih=function(t){var e=+t;return e!=e||e===0?0:(e>0?Sut:xut)(e)},Aut=Math.max,Out=Math.min,B6=function(t,e){var n=ih(t);return n<0?Aut(n+e,0):Out(n,e)},kut=Math.min,RL=function(t){return t>0?kut(ih(t),9007199254740991):0},Ec=function(t){return RL(t.length)},Kk=function(t){return function(e,n,r){var o,i=wc(e),a=Ec(i),u=B6(r,a);if(t&&n!=n){for(;a>u;)if((o=i[u++])!=o)return!0}else for(;a>u;u++)if((t||u in i)&&i[u]===n)return t||u||0;return!t&&-1}},ML={includes:Kk(!0),indexOf:Kk(!1)},by={},But=ML.indexOf,Yk=jt([].push),zL=function(t,e){var n,r=wc(t),o=0,i=[];for(n in r)!nn(by,n)&&nn(r,n)&&Yk(i,n);for(;e.length>o;)nn(r,n=e[o++])&&(~But(i,n)||Yk(i,n));return i},Iv=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],Fut=Object.keys||function(t){return zL(t,Iv)},Tut=Oa?Object.defineProperties:function(t,e){Kn(t);for(var n,r=wc(e),o=Fut(e),i=o.length,a=0;i>a;)ys.f(t,n=o[a++],r[n]);return t},_ut=oh("document","documentElement"),Xk=mC("keys"),xC=function(t){return Xk[t]||(Xk[t]=bC(t))},$L=xC("IE_PROTO"),E2=function(){},HL=function(t){return""},Zk=function(t){t.write(HL("")),t.close();var e=t.parentWindow.Object;return t=null,e},ug=function(){try{f0=new ActiveXObject("htmlfile")}catch{}var t,e;ug=typeof document<"u"?document.domain&&f0?Zk(f0):((e=EC("iframe")).style.display="none",_ut.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(HL("document.F=Object")),t.close(),t.F):Zk(f0);for(var n=Iv.length;n--;)delete ug.prototype[Iv[n]];return ug()};by[$L]=!0;var SC=Object.create||function(t,e){var n;return t!==null?(E2.prototype=Kn(t),n=new E2,E2.prototype=null,n[$L]=t):n=ug(),e===void 0?n:Tut(n,e)},F6=yn("unscopables"),T6=Array.prototype;T6[F6]==null&&ys.f(T6,F6,{configurable:!0,value:SC(null)});var vd=function(t){T6[F6][t]=!0},Yl={},Put=jt(Function.toString);ke(ca.inspectSource)||(ca.inspectSource=function(t){return Put(t)});var Lv,yd,Rv,AC=ca.inspectSource,Jk=wt.WeakMap,VL=ke(Jk)&&/native code/.test(AC(Jk)),wy=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}},fa=Oa?function(t,e,n){return ys.f(t,e,wy(1,n))}:function(t,e,n){return t[e]=n,t},_6=wt.TypeError,jut=wt.WeakMap;if(VL||ca.state){var tu=ca.state||(ca.state=new jut),Nut=jt(tu.get),Qk=jt(tu.has),Iut=jt(tu.set);Lv=function(t,e){if(Qk(tu,t))throw new _6("Object already initialized");return e.facade=t,Iut(tu,t,e),e},yd=function(t){return Nut(tu,t)||{}},Rv=function(t){return Qk(tu,t)}}else{var $s=xC("state");by[$s]=!0,Lv=function(t,e){if(nn(t,$s))throw new _6("Object already initialized");return e.facade=t,fa(t,$s,e),e},yd=function(t){return nn(t,$s)?t[$s]:{}},Rv=function(t){return nn(t,$s)}}var Lu,tB,eB,Bo={set:Lv,get:yd,has:Rv,enforce:function(t){return Rv(t)?yd(t):Lv(t,{})},getterFor:function(t){return function(e){var n;if(!Ae(e)||(n=yd(e)).type!==t)throw _6("Incompatible receiver, "+t+" required");return n}}},nB={}.propertyIsEnumerable,rB=Object.getOwnPropertyDescriptor,Lut={f:rB&&!nB.call({1:2},1)?function(t){var e=rB(this,t);return!!e&&e.enumerable}:nB},oB=Object.getOwnPropertyDescriptor,UL={f:Oa?oB:function(t,e){if(t=wc(t),e=CC(e),LL)try{return oB(t,e)}catch{}if(nn(t,e))return wy(!en(Lut.f,t,e),t[e])}},WL=Function.prototype,Rut=Oa&&Object.getOwnPropertyDescriptor,D2=nn(WL,"name"),OC={EXISTS:D2,PROPER:D2&&function(){}.name==="something",CONFIGURABLE:D2&&(!Oa||Oa&&Rut(WL,"name").configurable)},Co=vC(function(t){var e=OC.CONFIGURABLE,n=Bo.get,r=Bo.enforce,o=String(String).split("String");(t.exports=function(i,a,u,s){var l,c=!!s&&!!s.unsafe,f=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet,d=s&&s.name!==void 0?s.name:a;ke(u)&&(String(d).slice(0,7)==="Symbol("&&(d="["+String(d).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!nn(u,"name")||e&&u.name!==d)&&fa(u,"name",d),(l=r(u)).source||(l.source=o.join(typeof d=="string"?d:""))),i!==wt?(c?!p&&i[a]&&(f=!0):delete i[a],f?i[a]=u:fa(i,a,u)):f?i[a]=u:yC(a,u)})(Function.prototype,"toString",function(){return ke(this)&&n(this).source||AC(this)})}),Mut=Iv.concat("length","prototype"),Mv={f:Object.getOwnPropertyNames||function(t){return zL(t,Mut)}},zut={f:Object.getOwnPropertySymbols},$ut=jt([].concat),Hut=oh("Reflect","ownKeys")||function(t){var e=Mv.f(Kn(t)),n=zut.f;return n?$ut(e,n(t)):e},Vut=function(t,e){for(var n=Hut(e),r=ys.f,o=UL.f,i=0;i
i;i++)if((u=m(t[i]))&&Nv(vB,u))return u;return new sg(!1)}r=function(h,b){var w=arguments.length<2?hB(h):b;if(DC(w))return Kn(en(w,h));throw Ast(k6(h)+" is not iterable")}(t,o)}for(s=r.next;!(l=en(s,r)).done;){try{u=m(l.value)}catch(h){gB(r,"throw",h)}if(typeof u=="object"&&u&&Nv(vB,u))return u}return new sg(!1)},kst=wt.TypeError,ZL=function(t,e){if(Nv(e,t))return t;throw kst("Incorrect invocation")},JL=yn("iterator"),QL=!1;try{var Bst=0,yB={next:function(){return{done:!!Bst++}},return:function(){QL=!0}};yB[JL]=function(){return this},Array.from(yB,function(){throw 2})}catch{}var R6=Array.isArray||function(t){return ni(t)=="Array"},tR=function(){},Fst=[],eR=oh("Reflect","construct"),_C=/^\s*(?:class|function)\b/,Tst=jt(_C.exec),_st=!_C.exec(tR),wf=function(t){if(!ke(t))return!1;try{return eR(tR,Fst,t),!0}catch{return!1}},Pst=!eR||Oe(function(){var t;return wf(wf.call)||!wf(Object)||!wf(function(){t=!0})||t})?function(t){if(!ke(t))return!1;switch(Ey(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}return _st||!!Tst(_C,AC(t))}:wf,jst=yn("species"),mB=wt.Array,nR=function(t,e){return new(function(n){var r;return R6(n)&&(r=n.constructor,(Pst(r)&&(r===mB||R6(r.prototype))||Ae(r)&&(r=r[jst])===null)&&(r=void 0)),r===void 0?mB:r}(t))(e===0?0:e)},bB=jt([].push),Pi=function(t){var e=t==1,n=t==2,r=t==3,o=t==4,i=t==6,a=t==7,u=t==5||i;return function(s,l,c,f){for(var p,d,y=rh(s),g=IL(y),v=TC(l,c),m=Ec(g),h=0,b=f||nR,w=e?b(s,m):n||a?b(s,0):void 0;m>h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),t))if(e)w[h]=d;else if(d)switch(t){case 3:return!0;case 5:return p;case 6:return h;case 2:bB(w,p)}else switch(t){case 4:return!1;case 7:bB(w,p)}return i?-1:r||o?o:w}},PC={forEach:Pi(0),map:Pi(1),filter:Pi(2),some:Pi(3),every:Pi(4),find:Pi(5),findIndex:Pi(6),filterReject:Pi(7)},h0=FC.getWeakData,Nst=Bo.set,Ist=Bo.getterFor,Lst=PC.find,Rst=PC.findIndex,Mst=jt([].splice),zst=0,g0=function(t){return t.frozen||(t.frozen=new rR)},rR=function(){this.entries=[]},C2=function(t,e){return Lst(t.entries,function(n){return n[0]===e})};rR.prototype={get:function(t){var e=C2(this,t);if(e)return e[1]},has:function(t){return!!C2(this,t)},set:function(t,e){var n=C2(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=Rst(this.entries,function(n){return n[0]===t});return~e&&Mst(this.entries,e,1),!!~e}};var Ef,oR={getConstructor:function(t,e,n,r){var o=t(function(s,l){ZL(s,i),Nst(s,{type:e,id:zst++,frozen:void 0}),l!=null&&XL(l,s[r],{that:s,AS_ENTRIES:n})}),i=o.prototype,a=Ist(e),u=function(s,l,c){var f=a(s),p=h0(Kn(l),!0);return p===!0?g0(f).set(l,c):p[f.id]=c,s};return L6(i,{delete:function(s){var l=a(this);if(!Ae(s))return!1;var c=h0(s);return c===!0?g0(l).delete(s):c&&nn(c,l.id)&&delete c[l.id]},has:function(s){var l=a(this);if(!Ae(s))return!1;var c=h0(s);return c===!0?g0(l).has(s):c&&nn(c,l.id)}}),L6(i,n?{get:function(s){var l=a(this);if(Ae(s)){var c=h0(s);return c===!0?g0(l).get(s):c?c[l.id]:void 0}},set:function(s,l){return u(this,s,l)}}:{add:function(s){return u(this,s,!0)}}),o}},v0=Bo.enforce,$st=!wt.ActiveXObject&&"ActiveXObject"in wt,iR=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},Hst=function(t,e,n){var r=t.indexOf("Map")!==-1,o=t.indexOf("Weak")!==-1,i=r?"set":"add",a=wt[t],u=a&&a.prototype,s=a,l={},c=function(v){var m=jt(u[v]);Co(u,v,v=="add"?function(h){return m(this,h===0?0:h),this}:v=="delete"?function(h){return!(o&&!Ae(h))&&m(this,h===0?0:h)}:v=="get"?function(h){return o&&!Ae(h)?void 0:m(this,h===0?0:h)}:v=="has"?function(h){return!(o&&!Ae(h))&&m(this,h===0?0:h)}:function(h,b){return m(this,h===0?0:h,b),this})};if(P6(t,!ke(a)||!(o||u.forEach&&!Oe(function(){new a().entries().next()}))))s=n.getConstructor(e,t,r,i),FC.enable();else if(P6(t,!0)){var f=new s,p=f[i](o?{}:-0,1)!=f,d=Oe(function(){f.has(1)}),y=function(v,m){if(!QL)return!1;var h=!1;try{var b={};b[JL]=function(){return{next:function(){return{done:h=!0}}}},function(w){new a(w)}(b)}catch{}return h}(),g=!o&&Oe(function(){for(var v=new a,m=5;m--;)v[i](m,m);return!v.has(-0)});y||((s=e(function(v,m){ZL(v,u);var h=function(b,w,D){var x,C;return $v&&ke(x=w.constructor)&&x!==D&&Ae(C=x.prototype)&&C!==D.prototype&&$v(b,C),b}(new a,v,s);return m!=null&&XL(m,h[i],{that:h,AS_ENTRIES:r}),h})).prototype=u,u.constructor=s),(d||g)&&(c("delete"),c("has"),r&&c("get")),(g||p)&&c(i),o&&u.clear&&delete u.clear}return l[t]=s,ka({global:!0,forced:s!=a},l),I6(s,t),o||n.setStrong(s,t,r),s}("WeakMap",iR,oR);if(VL&&$st){Ef=oR.getConstructor(iR,"WeakMap",!0),FC.enable();var Df=Hst.prototype,wB=jt(Df.delete),y0=jt(Df.has),EB=jt(Df.get),DB=jt(Df.set);L6(Df,{delete:function(t){if(Ae(t)&&!mu(t)){var e=v0(this);return e.frozen||(e.frozen=new Ef),wB(this,t)||e.frozen.delete(t)}return wB(this,t)},has:function(t){if(Ae(t)&&!mu(t)){var e=v0(this);return e.frozen||(e.frozen=new Ef),y0(this,t)||e.frozen.has(t)}return y0(this,t)},get:function(t){if(Ae(t)&&!mu(t)){var e=v0(this);return e.frozen||(e.frozen=new Ef),y0(this,t)?EB(this,t):e.frozen.get(t)}return EB(this,t)},set:function(t,e){if(Ae(t)&&!mu(t)){var n=v0(this);n.frozen||(n.frozen=new Ef),y0(this,t)?DB(this,t,e):n.frozen.set(t,e)}else DB(this,t,e);return this}})}var aR={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},x2=EC("span").classList,CB=x2&&x2.constructor&&x2.constructor.prototype,Vst=CB===Object.prototype?void 0:CB,S2=yn("iterator"),xB=yn("toStringTag"),A2=ed.values,uR=function(t,e){if(t){if(t[S2]!==A2)try{fa(t,S2,A2)}catch{t[S2]=A2}if(t[xB]||fa(t,xB,e),aR[e]){for(var n in ed)if(t[n]!==ed[n])try{fa(t,n,ed[n])}catch{t[n]=ed[n]}}}};for(var O2 in aR)uR(wt[O2]&&wt[O2].prototype,O2);uR(Vst,"DOMTokenList");var M6=new WeakMap,Ust={type:"list-item",renderElem:function(t,e,n){M6.set(t,n);var r=t,o=r.level,i=o===void 0?0:o,a=r.ordered,u={margin:"5px 0 5px "+20*i+"px"},s="";if(a!==void 0&&a){var l=function(f,p){var d=p,y=d.type,g=d.level,v=g===void 0?0:g,m=d.ordered,h=m!==void 0&&m;if(!h)return-1;var b=1,w=p,D=A.findPath(f,w);if(D[0]===0)return 1;for(;D[0]>0;){var x=j.previous(D),C=E.node(f,x);if(C==null)break;var O=C[0],T=O.level,R=T===void 0?0:T,H=O.type,M=O.ordered;if(H!==y||R >/g,function(){return"(?:"+S+")"});return S.replace(/<";return{html:"h;h++)if((u||h in g)&&(d=v(p=g[h],h,y),t))if(e)w[h]=d;else if(d)switch(t){case 3:return!0;case 5:return p;case 6:return h;case 2:rF(w,p)}else switch(t){case 4:return!1;case 7:rF(w,p)}return i?-1:r||o?o:w}},xy={forEach:Ni(0),map:Ni(1),filter:Ni(2),some:Ni(3),every:Ni(4),find:Ni(5),findIndex:Ni(6),filterReject:Ni(7)},rft=xy.map;Ta({target:"Array",proto:!0,forced:!QC("map")},{map:function(t){return rft(this,t,arguments.length>1?arguments[1]:void 0)}});var oft=KC?{}.toString:function(){return"[object "+YC(this)+"]"};function Sy(t){var e=t.children||[];return e.length===0?[]:(e[0]||{}).children||[]}function PR(t){return Sy(t).every(function(e){return!!e.isHeader})}KC||op(Object.prototype,"toString",oft,{unsafe:!0});var ift=GC.PROPER,Q6=RegExp.prototype,jR=Q6.toString,aft=Rt(SR),uft=Ye(function(){return jR.call({source:"a",flags:"b"})!="/a/b"}),sft=ift&&jR.name!="toString";(uft||sft)&&op(RegExp.prototype,"toString",function(){var t=kr(this),e=An(t.source),n=t.flags;return"/"+e+"/"+An(n===void 0&&gR(Q6,t)&&!("flags"in Q6)?aft(t):n)},{unsafe:!0});var t3=Nr("unscopables"),e3=Array.prototype;e3[t3]==null&&lh.f(e3,t3,{configurable:!0,value:BR(null)});var lft=xy.find,oF=!0;"find"in[]&&Array(1).find(function(){oF=!1}),Ta({target:"Array",proto:!0,forced:oF},{find:function(t){return lft(this,t,arguments.length>1?arguments[1]:void 0)}}),e3[t3].find=!0;var t8=Function.prototype,iF=t8.apply,cft=t8.bind,aF=t8.call,NR=typeof Reflect=="object"&&Reflect.apply||(cft?aF.bind(iF):function(){return aF.apply(iF,arguments)}),fft=Nr("species"),G2=RegExp.prototype,IR=function(t,e,n,r){var o=Nr(t),i=!Ye(function(){var l={};return l[o]=function(){return 7},""[t](l)!=7}),a=i&&!Ye(function(){var l=!1,c=/a/;return t==="split"&&((c={}).constructor={},c.constructor[fft]=function(){return c},c.flags="",c[o]=/./[o]),c.exec=function(){return l=!0,null},c[o](""),!l});if(!i||!a||n){var u=Rt(/./[o]),s=e(o,""[t],function(l,c,f,p,d){var y=Rt(l),g=c.exec;return g===ap||g===G2.exec?i&&!d?{done:!0,value:u(c,f,p)}:{done:!0,value:y(f,c,p)}:{done:!1}});op(String.prototype,t,s[0]),op(G2,o,s[1])}r&&Xl(G2[o],"sham",!0)},dft=Nr("match"),pft=_t.TypeError,hft=Nr("species"),gft=Rt("".charAt),uF=Rt("".charCodeAt),vft=Rt("".slice),yft=function(t){return function(e,n){var r,o,i=An(Fa(e)),a=Dy(n),u=i.length;return a<0||a>=u?t?"":void 0:(r=uF(i,a))<55296||r>56319||a+1===u||(o=uF(i,a+1))<56320||o>57343?t?gft(i,a):r:t?vft(i,a,a+2):o-56320+(r-55296<<10)+65536}},mft=yft(!0),LR=function(t,e,n){return e+(n?mft(t,e).length:1)},bft=_t.Array,wft=Math.max,sF=function(t,e,n){for(var r=Cy(t),o=ip(e,r),i=ip(n===void 0?r:n,r),a=bft(wft(i-o,0)),u=0;o1||"".split(/.?/).length?function(o,i){var a,u,s=An(Fa(this)),l=i===void 0?4294967295:i>>>0;if(l===0)return[];if(o===void 0)return[s];if(!Sr(a=o)||!((u=a[dft])!==void 0?u:da(a)=="RegExp"))return We(e,s,o,l);for(var c,f,p,d=[],y=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(o.sticky?"y":""),g=0,v=new RegExp(o.source,y+"g");(c=We(ap,v,s))&&!((f=v.lastIndex)>g&&(Us(d,Af(s,g,c.index)),c.length>1&&c.index"),a=0;a<10;a++){for(var u=B("
"),s=0;s<10;s++){var l=B(" ");l.attr("data-x",s.toString()),l.attr("data-y",a.toString()),u.append(l),l.on("mouseenter",function(c){var f=c.target;if(f!=null){var p=B(f).dataset(),d=p.x,y=p.y;o[0].innerHTML=d+1+" × "+(y+1),i.children().each(function(g){B(g).children().each(function(v){var m=B(v),h=m.dataset(),b=h.x,w=h.y;b<=d&&w<=y?m.addClass("active"):m.removeClass("active")})})}}),l.on("click",function(c){c.preventDefault();var f=c.target;if(f!=null){var p=B(f).dataset(),d=p.x,y=p.y;n.insertTable(e,y+1,d+1)}})}i.append(u)}return r.append(i),r.append(o),this.$content=r,r[0]},t.prototype.insertTable=function(e,n,r){var o=parseInt(n,10),i=parseInt(r,10);if(o&&i&&!(o<=0||i<=0)){A.isSelectedEmptyParagraph(e)&&N.removeNodes(e,{mode:"highest"});var a=function(u,s){for(var l=[],c=0;c '+e+"
"}},{type:"table-row",elemToHtml:function(t,e){return""+e+" "}},{type:"table-cell",elemToHtml:function(t,e){var n=t,r=n.colSpan,o=r===void 0?1:r,i=n.rowSpan,a=i===void 0?1:i,u=n.isHeader,s=u!==void 0&&u,l=n.width,c=s?"th":"td";return"<"+c+' colSpan="'+o+'" rowSpan="'+a+'" width="'+(l===void 0?"auto":l)+'">'+e+""+c+">"}}],preParseHtml:[_ft],parseElemsHtml:[Vft,Uft,Wft],menus:[{key:"insertTable",factory:function(){return new Gft}},{key:"deleteTable",factory:function(){return new qft}},{key:"insertTableRow",factory:function(){return new Kft}},{key:"deleteTableRow",factory:function(){return new Yft}},{key:"insertTableCol",factory:function(){return new Qft}},{key:"deleteTableCol",factory:function(){return new tdt}},{key:"tableHeader",factory:function(){return new edt}},{key:"tableFullWidth",factory:function(){return new ndt}}],editorPlugin:function(t){var e=t.insertBreak,n=t.deleteBackward,r=t.deleteForward,o=t.normalizeNode,i=t.insertData,a=t.handleTab,u=t.selectAll,s=t;return s.insertBreak=function(){A.getSelectedNodeByType(s,"table")==null?e():s.insertText(`
`)},s.deleteBackward=function(l){if(!QB(s)){var c=s.selection;if(c){var f=E.before(s,c);if(f){var p=tF(s,f),d=tF(s,c);if(p&&!d)return}}n(l)}},s.handleTab=function(){var l;if(A.getSelectedNodeByType(s,"table")){var c=E.above(t);A.checkNodeType(c[0],"table-cell")&&N.select(t,c[1]);var f=E.next(t);if(f)f[0]&&f[0].text&&(f=(l=E.above(t,{at:f[1]}))!==null&&l!==void 0?l:f),N.select(t,f[1]);else{var p=s.children||[],d=p.length;if(A.checkNodeType(p[d-1],"table")){var y=A.genEmptyParagraph();N.insertNodes(s,y,{at:[d]}),s.handleTab()}}}else a()},s.deleteForward=function(l){QB(s)||r(l)},s.normalizeNode=function(l){var c=no(l,2),f=c[0],p=c[1];if(A.getNodeType(f)!=="table")return o([f,p]);if(A.isLastNode(s,f)){var d=A.genEmptyParagraph();N.insertNodes(s,d,{at:[p[0]+1]})}},s.insertData=function(l){if(A.getSelectedNodeByType(s,"table")!=null){var c=l.getData("text/plain");c===`
`||/]+>/.test(l.getData("text/html"))?i(l):E.insertText(s,c)}else i(l)},s.selectAll=function(){var l=s.selection;if(l!=null){var c=A.getSelectedNodeByType(s,"table-cell");if(c!=null){var f=l.anchor,p=l.focus;if(j.equals(f.path.slice(0,3),p.path.slice(0,3)))if(Q.string(c).length!==0){var d=A.findPath(s,c),y={anchor:E.start(s,d),focus:E.end(s,d)};s.select(y)}else u();else u()}else u()}else u()},s}};qn("en",{videoModule:{delete:"Delete",uploadVideo:"Upload video",insertVideo:"Insert video",videoSrc:"Video source",videoSrcPlaceHolder:"Video file url, or third-party
D.reach&&(D.reach=gt);var vt=q.prev;if(V&&(vt=f(m,vt,V),nt+=V.length),p(m,vt,at),q=f(m,vt,new u(x,R?a.tokenize(Y,R):Y,K,Y)),it&&f(m,q,it),at>1){var Dt={cause:x+","+O,reach:gt};l(v,m,h,q.prev,nt,Dt),D&&Dt.reach>D.reach&&(D.reach=Dt.reach)}}}}}}function c(){var v={value:null,prev:null,next:null},m={value:null,prev:v,next:null};v.next=m,this.head=v,this.tail=m,this.length=0}function f(v,m,h){var b=m.next,w={value:h,prev:m,next:b};return m.next=w,b.prev=w,v.length++,w}function p(v,m,h){for(var b=m.next,w=0;w*\.{3}(?:[^{}]|/g,function(){return n}).replace(/+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|*\/?)?>/.source),t.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,t.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/i,t.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,t.languages.jsx.tag.inside.comment=e.comment,t.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/"+e+"
"}}]},qyt=/"/g,Kyt=Qt("".replace);zy({target:"String",proto:!0,forced:ln(function(){var t="".anchor('"');return t!==t.toLowerCase()||t.split('"').length>3})},{anchor:function(t){return e=t,n=ri(ec(this)),r=""+n+"";var e,n,r}});var e$=function(t){var e,n,r,o=function(m,h){var b=typeof Symbol=="function"&&m[Symbol.iterator];if(!b)return m;var w,D,x=b.call(m),C=[];try{for(;(h===void 0||h-- >0)&&!(w=x.next()).done;)C.push(w.value)}catch(O){D={error:O}}finally{try{w&&!w.done&&(b=x.return)&&b.call(x)}finally{if(D)throw D.error}}return C}(t,2),i=o[0],a=o[1],u=[],s=function(m){if(!ot.isText(m))return null;var h=A.getParentNode(null,m);if(h&&A.getNodeType(h)==="code"){var b=A.getParentNode(null,h);if(b&&A.getNodeType(b)==="pre")return h}return null}(i);if(s==null)return u;var l=s.language,c=l===void 0?"":l;if(!c)return u;var f=function(m,h){if(!h)return[];var b=J_.languages[h];return b?J_.tokenize(m.text,b):[]}(i,c),p=0;try{for(var d=function(m){var h=typeof Symbol=="function"&&Symbol.iterator,b=h&&m[h],w=0;if(b)return b.call(m);if(m&&typeof m.length=="number")return{next:function(){return m&&w>=m.length&&(m=void 0),{value:m&&m[w++],done:!m}}};throw new TypeError(h?"Object is not iterable.":"Symbol.iterator is not defined.")}(f),y=d.next();!y.done;y=d.next()){var g=y.value,v=p+Kz(g);typeof g!="string"&&u.push(((r={})[g.type]=!0,r.anchor={path:a,offset:p},r.focus={path:a,offset:v},r)),p=v}}catch(m){e={error:m}}finally{try{y&&!y.done&&(n=d.return)&&n.call(d)}finally{if(e)throw e.error}}return u},Se=function(){return Se=Object.assign||function(t){for(var e,n=1,r=arguments.length;n