From 327c58151b74df7d8b7ffccc18b9c4cb549b9444 Mon Sep 17 00:00:00 2001 From: lixinran Date: Wed, 15 Oct 2025 21:07:59 +0800 Subject: [PATCH] feat(frontend): use custom rich-text editor for node editing and hide blue selection outline when editing; intercept MindElixir dblclick to fire showRichTextEditor; refine styles to suppress outline in editing mode; build dist for Django serving --- backend/django_mindmap/urls.py | 3 + backend/mindmap.db | Bin 41086976 -> 41086976 bytes .../{index-8a9a2cec.js => index-207d9110.js} | 2 +- .../{index-baaa8619.js => index-b0cb73ba.js} | 518 +++++++++--------- ...{index-a2fbcb1e.css => index-f016b388.css} | 2 +- .../{pdf-493de69e.js => pdf-75e12a98.js} | 2 +- frontend/dist/index.html | 4 +- frontend/src/components/MindMap.vue | 49 +- frontend/src/lib/mind-elixir/src/index.less | 4 + frontend/src/lib/mind-elixir/src/mouse.ts | 7 +- 10 files changed, 317 insertions(+), 274 deletions(-) rename frontend/dist/assets/{index-8a9a2cec.js => index-207d9110.js} (99%) rename frontend/dist/assets/{index-baaa8619.js => index-b0cb73ba.js} (66%) rename frontend/dist/assets/{index-a2fbcb1e.css => index-f016b388.css} (97%) rename frontend/dist/assets/{pdf-493de69e.js => pdf-75e12a98.js} (99%) diff --git a/backend/django_mindmap/urls.py b/backend/django_mindmap/urls.py index aa29154..3703c10 100644 --- a/backend/django_mindmap/urls.py +++ b/backend/django_mindmap/urls.py @@ -2,8 +2,11 @@ from django.contrib import admin from django.urls import path, include from django.conf import settings from django.conf.urls.static import static +from django.views.generic import TemplateView urlpatterns = [ path('admin/', admin.site.urls), path('api/', include('mindmap.urls')), + # Serve built frontend at root + path('', TemplateView.as_view(template_name='index.html'), name='spa-index'), ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) diff --git a/backend/mindmap.db b/backend/mindmap.db index ca6428c2dff8dece10502930fdf80289e58be9a2..156e10d388e67d5c0cf5234cd35501cd74311a89 100644 GIT binary patch delta 148644 zcmYhE3w#vix&L=&=d!!mYyu)8B7|f?2-z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#+mbr0%Z)GX9&)Era@bsuUjY94AnY60pus2Wr) zY9VS7>bFK)bg|KaHmC1%owQ9x2rVrCV0nC7`w}CQ@d4L4yfGHnGmb97A0xycy3Tfq zTM#oj=sGV*64A*a*LhNsPMsWfoz;@;)yYS$vs999oqX&%^CjugNw@3Fki@rNe%2A! zDU~E$C!e^^2uX5u@~P_#k|bXzpSez!B!xQp9M4&ja-DqPI`NWJ>Ex*Ee6=CgfEt|~ zLrWy7*U53$c~_FKPEMddlCE#sL?>UOKazAJY0JD{TKhFxB5}9A;WucBBt1Im zK}#g@9l%{H^%va?*bU~7QoqUfjNK&YiQ|N*um(5^k)%f_ zKD0yl z(TRbFhLfukSQ|{&~i~a^AJSGr;f317slGS7l`4b6~M)D~6GkJ`xB~9dU(oEKozmO-$ zdh#UsEBPB~A+6*ovVm+Qo5<6ojXXoz$+P4+@;rHgyhvUm5we-QOtz3$$gAWvvX!`` zgS<|*kvGV8@^|tN(n)rZf08%JzsOr;C)q{bCcDWy_`)C_;w4y&+?1L?5{ZxaNfJpWCQ-y90b-LB(ubTwVh^9j zug)dsk#v$lenI+@exyG+pIksLB$?zQGJyP&WRZ(WHpwBm{;Xg#4OZN3JJB$uKgU+(2$5H<1zKW^xNDBt>K-DJHj)QDih3 zL&lO4GLGCv#*0}1Ei`-4BNHv*Bg5(}@ WFPTMVlQ|?r?(?`!sdGKk_x&G}2(#V* diff --git a/frontend/dist/assets/index-8a9a2cec.js b/frontend/dist/assets/index-207d9110.js similarity index 99% rename from frontend/dist/assets/index-8a9a2cec.js rename to frontend/dist/assets/index-207d9110.js index 1a2c202..4fb4b76 100644 --- a/frontend/dist/assets/index-8a9a2cec.js +++ b/frontend/dist/assets/index-207d9110.js @@ -1,4 +1,4 @@ -import{g as jl,c as he}from"./index-baaa8619.js";function Xl(e,n){for(var t=0;ti[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var en={},la="1.13.7",Wo=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},oi=Array.prototype,fa=Object.prototype,Ro=typeof Symbol<"u"?Symbol.prototype:null,Vl=oi.push,Ft=oi.slice,gt=fa.toString,Hl=fa.hasOwnProperty,Su=typeof ArrayBuffer<"u",$l=typeof DataView<"u",Gl=Array.isArray,No=Object.keys,Oo=Object.create,Io=Su&&ArrayBuffer.isView,Zl=isNaN,Yl=isFinite,Bu=!{toString:null}.propertyIsEnumerable("toString"),Lo=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Kl=Math.pow(2,53)-1;function Ie(e,n){return n=n==null?e.length-1:+n,function(){for(var t=Math.max(arguments.length-n,0),i=Array(t),r=0;r=0&&t<=Kl}}function zu(e){return function(n){return n==null?void 0:n[e]}}const Gt=zu("byteLength"),nf=Pu(Gt);var tf=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function rf(e){return Io?Io(e)&&!mt(e):nf(e)&&tf.test(gt.call(e))}const xa=Su?rf:va(!1),qe=zu("length");function af(e){for(var n={},t=e.length,i=0;i":">",'"':""","'":"'","`":"`"},fs=ds(ls),sf=Ea(ls),hs=ds(sf),ps=ye.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var Gi=/(.)^/,df={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},lf=/\\|'|\r|\n|\u2028|\u2029/g;function ff(e){return"\\"+df[e]}var hf=/^\s*(\w|\$)+\s*$/;function gs(e,n,t){!n&&t&&(n=t),n=Ca({},n,ye.templateSettings);var i=RegExp([(n.escape||Gi).source,(n.interpolate||Gi).source,(n.evaluate||Gi).source].join("|")+"|$","g"),r=0,a="__p+='";e.replace(i,function(s,d,g,b,m){return a+=e.slice(r,m).replace(lf,ff),r=m+s.length,d?a+=`'+ +import{g as jl,c as he}from"./index-b0cb73ba.js";function Xl(e,n){for(var t=0;ti[r]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var en={},la="1.13.7",Wo=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},oi=Array.prototype,fa=Object.prototype,Ro=typeof Symbol<"u"?Symbol.prototype:null,Vl=oi.push,Ft=oi.slice,gt=fa.toString,Hl=fa.hasOwnProperty,Su=typeof ArrayBuffer<"u",$l=typeof DataView<"u",Gl=Array.isArray,No=Object.keys,Oo=Object.create,Io=Su&&ArrayBuffer.isView,Zl=isNaN,Yl=isFinite,Bu=!{toString:null}.propertyIsEnumerable("toString"),Lo=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Kl=Math.pow(2,53)-1;function Ie(e,n){return n=n==null?e.length-1:+n,function(){for(var t=Math.max(arguments.length-n,0),i=Array(t),r=0;r=0&&t<=Kl}}function zu(e){return function(n){return n==null?void 0:n[e]}}const Gt=zu("byteLength"),nf=Pu(Gt);var tf=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function rf(e){return Io?Io(e)&&!mt(e):nf(e)&&tf.test(gt.call(e))}const xa=Su?rf:va(!1),qe=zu("length");function af(e){for(var n={},t=e.length,i=0;i":">",'"':""","'":"'","`":"`"},fs=ds(ls),sf=Ea(ls),hs=ds(sf),ps=ye.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var Gi=/(.)^/,df={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},lf=/\\|'|\r|\n|\u2028|\u2029/g;function ff(e){return"\\"+df[e]}var hf=/^\s*(\w|\$)+\s*$/;function gs(e,n,t){!n&&t&&(n=t),n=Ca({},n,ye.templateSettings);var i=RegExp([(n.escape||Gi).source,(n.interpolate||Gi).source,(n.evaluate||Gi).source].join("|")+"|$","g"),r=0,a="__p+='";e.replace(i,function(s,d,g,b,m){return a+=e.slice(r,m).replace(lf,ff),r=m+s.length,d?a+=`'+ ((__t=(`+d+`))==null?'':_.escape(__t))+ '`:g?a+=`'+ ((__t=(`+g+`))==null?'':__t)+ diff --git a/frontend/dist/assets/index-baaa8619.js b/frontend/dist/assets/index-b0cb73ba.js similarity index 66% rename from frontend/dist/assets/index-baaa8619.js rename to frontend/dist/assets/index-b0cb73ba.js index d075f61..a7b0e52 100644 --- a/frontend/dist/assets/index-baaa8619.js +++ b/frontend/dist/assets/index-b0cb73ba.js @@ -1,20 +1,20 @@ -var F2=Object.defineProperty;var q2=(t,e,n)=>e in t?F2(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var mn=(t,e,n)=>(q2(t,typeof e!="symbol"?e+"":e,n),n);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const h of l.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&r(h)}).observe(document,{childList:!0,subtree:!0});function n(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(o){if(o.ep)return;o.ep=!0;const l=n(o);fetch(o.href,l)}})();/** +var F2=Object.defineProperty;var q2=(t,e,n)=>e in t?F2(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n;var fn=(t,e,n)=>(q2(t,typeof e!="symbol"?e+"":e,n),n);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const h of l.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&r(h)}).observe(document,{childList:!0,subtree:!0});function n(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(o){if(o.ep)return;o.ep=!0;const l=n(o);fetch(o.href,l)}})();/** * @vue/shared v3.5.20 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Ap(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const gn={},Jo=[],xi=()=>{},h4=()=>!1,Ac=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Mp=t=>t.startsWith("onUpdate:"),sr=Object.assign,Cp=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},j2=Object.prototype.hasOwnProperty,rn=(t,e)=>j2.call(t,e),It=Array.isArray,Qo=t=>Mc(t)==="[object Map]",p4=t=>Mc(t)==="[object Set]",Bt=t=>typeof t=="function",Vn=t=>typeof t=="string",io=t=>typeof t=="symbol",Rn=t=>t!==null&&typeof t=="object",f4=t=>(Rn(t)||Bt(t))&&Bt(t.then)&&Bt(t.catch),m4=Object.prototype.toString,Mc=t=>m4.call(t),$2=t=>Mc(t).slice(8,-1),g4=t=>Mc(t)==="[object Object]",Lp=t=>Vn(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,gl=Ap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Cc=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},U2=/-(\w)/g,Xa=Cc(t=>t.replace(U2,(e,n)=>n?n.toUpperCase():"")),V2=/\B([A-Z])/g,ao=Cc(t=>t.replace(V2,"-$1").toLowerCase()),v4=Cc(t=>t.charAt(0).toUpperCase()+t.slice(1)),Dd=Cc(t=>t?`on${v4(t)}`:""),Ka=(t,e)=>!Object.is(t,e),L0=(t,...e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:r,value:n})},Ch=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let E1;const Lc=()=>E1||(E1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function os(t){if(It(t)){const e={};for(let n=0;n{if(n){const r=n.split(G2);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function ss(t){let e="";if(Vn(t))e=t;else if(It(t))for(let n=0;n!!(t&&t.__v_isRef===!0),Jr=t=>Vn(t)?t:t==null?"":It(t)||Rn(t)&&(t.toString===m4||!Bt(t.toString))?w4(t)?Jr(t.value):JSON.stringify(t,x4,2):String(t),x4=(t,e)=>w4(e)?x4(t,e.value):Qo(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,o],l)=>(n[Rd(r,l)+" =>"]=o,n),{})}:p4(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>Rd(n))}:io(e)?Rd(e):Rn(e)&&!It(e)&&!g4(e)?String(e):e,Rd=(t,e="")=>{var n;return io(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};/** +**//*! #__NO_SIDE_EFFECTS__ */function Ap(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const mn={},ns=[],ki=()=>{},h4=()=>!1,Mc=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Mp=t=>t.startsWith("onUpdate:"),sr=Object.assign,Cp=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},j2=Object.prototype.hasOwnProperty,rn=(t,e)=>j2.call(t,e),Ot=Array.isArray,rs=t=>Cc(t)==="[object Map]",p4=t=>Cc(t)==="[object Set]",Bt=t=>typeof t=="function",$n=t=>typeof t=="string",oo=t=>typeof t=="symbol",Rn=t=>t!==null&&typeof t=="object",f4=t=>(Rn(t)||Bt(t))&&Bt(t.then)&&Bt(t.catch),m4=Object.prototype.toString,Cc=t=>m4.call(t),$2=t=>Cc(t).slice(8,-1),g4=t=>Cc(t)==="[object Object]",Lp=t=>$n(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,vl=Ap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Lc=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},U2=/-(\w)/g,Ya=Lc(t=>t.replace(U2,(e,n)=>n?n.toUpperCase():"")),V2=/\B([A-Z])/g,so=Lc(t=>t.replace(V2,"-$1").toLowerCase()),v4=Lc(t=>t.charAt(0).toUpperCase()+t.slice(1)),Dd=Lc(t=>t?`on${v4(t)}`:""),Za=(t,e)=>!Object.is(t,e),_0=(t,...e)=>{for(let n=0;n{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:r,value:n})},Ch=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let E1;const _c=()=>E1||(E1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function us(t){if(Ot(t)){const e={};for(let n=0;n{if(n){const r=n.split(G2);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function Ro(t){let e="";if($n(t))e=t;else if(Ot(t))for(let n=0;n!!(t&&t.__v_isRef===!0),Qr=t=>$n(t)?t:t==null?"":Ot(t)||Rn(t)&&(t.toString===m4||!Bt(t.toString))?w4(t)?Qr(t.value):JSON.stringify(t,x4,2):String(t),x4=(t,e)=>w4(e)?x4(t,e.value):rs(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,o],l)=>(n[Rd(r,l)+" =>"]=o,n),{})}:p4(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>Rd(n))}:oo(e)?Rd(e):Rn(e)&&!Ot(e)&&!g4(e)?String(e):e,Rd=(t,e="")=>{var n;return oo(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};/** * @vue/reactivity v3.5.20 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Cr;class J2{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Cr,!e&&Cr&&(this.index=(Cr.scopes||(Cr.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e0&&--this._on===0&&(Cr=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(bl){let e=bl;for(bl=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;vl;){let e=vl;for(vl=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(r){t||(t=r)}e=n}}if(t)throw t}function T4(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function A4(t){let e,n=t.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Dp(r),e5(r)):e=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}t.deps=e,t.depsTail=n}function Lh(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(M4(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function M4(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Ll)||(t.globalVersion=Ll,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Lh(t))))return;t.flags|=2;const e=t.dep,n=yn,r=ki;yn=t,ki=!0;try{T4(t);const o=t.fn(t._value);(e.version===0||Ka(o,t._value))&&(t.flags|=128,t._value=o,e.version++)}catch(o){throw e.version++,o}finally{yn=n,ki=r,A4(t),t.flags&=-3}}function Dp(t,e=!1){const{dep:n,prevSub:r,nextSub:o}=t;if(r&&(r.nextSub=o,t.prevSub=void 0),o&&(o.prevSub=r,t.nextSub=void 0),n.subs===t&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let l=n.computed.deps;l;l=l.nextDep)Dp(l,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function e5(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let ki=!0;const C4=[];function Sa(){C4.push(ki),ki=!1}function Ea(){const t=C4.pop();ki=t===void 0?!0:t}function T1(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=yn;yn=void 0;try{e()}finally{yn=n}}}let Ll=0;class t5{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Rp{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!yn||!ki||yn===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==yn)n=this.activeLink=new t5(yn,this),yn.deps?(n.prevDep=yn.depsTail,yn.depsTail.nextDep=n,yn.depsTail=n):yn.deps=yn.depsTail=n,L4(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=yn.depsTail,n.nextDep=void 0,yn.depsTail.nextDep=n,yn.depsTail=n,yn.deps===n&&(yn.deps=r)}return n}trigger(e){this.version++,Ll++,this.notify(e)}notify(e){_p();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Np()}}}function L4(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let r=e.deps;r;r=r.nextDep)L4(r)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const _h=new WeakMap,No=Symbol(""),Nh=Symbol(""),_l=Symbol("");function hr(t,e,n){if(ki&&yn){let r=_h.get(t);r||_h.set(t,r=new Map);let o=r.get(n);o||(r.set(n,o=new Rp),o.map=r,o.key=n),o.track()}}function da(t,e,n,r,o,l){const h=_h.get(t);if(!h){Ll++;return}const c=p=>{p&&p.trigger()};if(_p(),e==="clear")h.forEach(c);else{const p=It(t),v=p&&Lp(n);if(p&&n==="length"){const b=Number(r);h.forEach((g,m)=>{(m==="length"||m===_l||!io(m)&&m>=b)&&c(g)})}else switch((n!==void 0||h.has(void 0))&&c(h.get(n)),v&&c(h.get(_l)),e){case"add":p?v&&c(h.get("length")):(c(h.get(No)),Qo(t)&&c(h.get(Nh)));break;case"delete":p||(c(h.get(No)),Qo(t)&&c(h.get(Nh)));break;case"set":Qo(t)&&c(h.get(No));break}}Np()}function $o(t){const e=nn(t);return e===t?e:(hr(e,"iterate",_l),ni(t)?e:e.map(or))}function _c(t){return hr(t=nn(t),"iterate",_l),t}const n5={__proto__:null,[Symbol.iterator](){return Od(this,Symbol.iterator,or)},concat(...t){return $o(this).concat(...t.map(e=>It(e)?$o(e):e))},entries(){return Od(this,"entries",t=>(t[1]=or(t[1]),t))},every(t,e){return aa(this,"every",t,e,void 0,arguments)},filter(t,e){return aa(this,"filter",t,e,n=>n.map(or),arguments)},find(t,e){return aa(this,"find",t,e,or,arguments)},findIndex(t,e){return aa(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return aa(this,"findLast",t,e,or,arguments)},findLastIndex(t,e){return aa(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return aa(this,"forEach",t,e,void 0,arguments)},includes(...t){return Hd(this,"includes",t)},indexOf(...t){return Hd(this,"indexOf",t)},join(t){return $o(this).join(t)},lastIndexOf(...t){return Hd(this,"lastIndexOf",t)},map(t,e){return aa(this,"map",t,e,void 0,arguments)},pop(){return Qs(this,"pop")},push(...t){return Qs(this,"push",t)},reduce(t,...e){return A1(this,"reduce",t,e)},reduceRight(t,...e){return A1(this,"reduceRight",t,e)},shift(){return Qs(this,"shift")},some(t,e){return aa(this,"some",t,e,void 0,arguments)},splice(...t){return Qs(this,"splice",t)},toReversed(){return $o(this).toReversed()},toSorted(t){return $o(this).toSorted(t)},toSpliced(...t){return $o(this).toSpliced(...t)},unshift(...t){return Qs(this,"unshift",t)},values(){return Od(this,"values",or)}};function Od(t,e,n){const r=_c(t),o=r[e]();return r!==t&&!ni(t)&&(o._next=o.next,o.next=()=>{const l=o._next();return l.value&&(l.value=n(l.value)),l}),o}const r5=Array.prototype;function aa(t,e,n,r,o,l){const h=_c(t),c=h!==t&&!ni(t),p=h[e];if(p!==r5[e]){const g=p.apply(t,l);return c?or(g):g}let v=n;h!==t&&(c?v=function(g,m){return n.call(this,or(g),m,t)}:n.length>2&&(v=function(g,m){return n.call(this,g,m,t)}));const b=p.call(h,v,r);return c&&o?o(b):b}function A1(t,e,n,r){const o=_c(t);let l=n;return o!==t&&(ni(t)?n.length>3&&(l=function(h,c,p){return n.call(this,h,c,p,t)}):l=function(h,c,p){return n.call(this,h,or(c),p,t)}),o[e](l,...r)}function Hd(t,e,n){const r=nn(t);hr(r,"iterate",_l);const o=r[e](...n);return(o===-1||o===!1)&&Pp(n[0])?(n[0]=nn(n[0]),r[e](...n)):o}function Qs(t,e,n=[]){Sa(),_p();const r=nn(t)[e].apply(t,n);return Np(),Ea(),r}const i5=Ap("__proto__,__v_isRef,__isVue"),_4=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(io));function a5(t){io(t)||(t=String(t));const e=nn(this);return hr(e,"has",t),e.hasOwnProperty(t)}class N4{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,r){if(n==="__v_skip")return e.__v_skip;const o=this._isReadonly,l=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return l;if(n==="__v_raw")return r===(o?l?m5:O4:l?I4:R4).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const h=It(e);if(!o){let p;if(h&&(p=n5[n]))return p;if(n==="hasOwnProperty")return a5}const c=Reflect.get(e,n,fr(e)?e:r);return(io(n)?_4.has(n):i5(n))||(o||hr(e,"get",n),l)?c:fr(c)?h&&Lp(n)?c:c.value:Rn(c)?o?H4(c):Op(c):c}}class D4 extends N4{constructor(e=!1){super(!1,e)}set(e,n,r,o){let l=e[n];if(!this._isShallow){const p=Za(l);if(!ni(r)&&!Za(r)&&(l=nn(l),r=nn(r)),!It(e)&&fr(l)&&!fr(r))return p||(l.value=r),!0}const h=It(e)&&Lp(n)?Number(n)t,t0=t=>Reflect.getPrototypeOf(t);function u5(t,e,n){return function(...r){const o=this.__v_raw,l=nn(o),h=Qo(l),c=t==="entries"||t===Symbol.iterator&&h,p=t==="keys"&&h,v=o[t](...r),b=n?Dh:e?V0:or;return!e&&hr(l,"iterate",p?Nh:No),{next(){const{value:g,done:m}=v.next();return m?{value:g,done:m}:{value:c?[b(g[0]),b(g[1])]:b(g),done:m}},[Symbol.iterator](){return this}}}}function n0(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function d5(t,e){const n={get(o){const l=this.__v_raw,h=nn(l),c=nn(o);t||(Ka(o,c)&&hr(h,"get",o),hr(h,"get",c));const{has:p}=t0(h),v=e?Dh:t?V0:or;if(p.call(h,o))return v(l.get(o));if(p.call(h,c))return v(l.get(c));l!==h&&l.get(o)},get size(){const o=this.__v_raw;return!t&&hr(nn(o),"iterate",No),o.size},has(o){const l=this.__v_raw,h=nn(l),c=nn(o);return t||(Ka(o,c)&&hr(h,"has",o),hr(h,"has",c)),o===c?l.has(o):l.has(o)||l.has(c)},forEach(o,l){const h=this,c=h.__v_raw,p=nn(c),v=e?Dh:t?V0:or;return!t&&hr(p,"iterate",No),c.forEach((b,g)=>o.call(l,v(b),v(g),h))}};return sr(n,t?{add:n0("add"),set:n0("set"),delete:n0("delete"),clear:n0("clear")}:{add(o){!e&&!ni(o)&&!Za(o)&&(o=nn(o));const l=nn(this);return t0(l).has.call(l,o)||(l.add(o),da(l,"add",o,o)),this},set(o,l){!e&&!ni(l)&&!Za(l)&&(l=nn(l));const h=nn(this),{has:c,get:p}=t0(h);let v=c.call(h,o);v||(o=nn(o),v=c.call(h,o));const b=p.call(h,o);return h.set(o,l),v?Ka(l,b)&&da(h,"set",o,l):da(h,"add",o,l),this},delete(o){const l=nn(this),{has:h,get:c}=t0(l);let p=h.call(l,o);p||(o=nn(o),p=h.call(l,o)),c&&c.call(l,o);const v=l.delete(o);return p&&da(l,"delete",o,void 0),v},clear(){const o=nn(this),l=o.size!==0,h=o.clear();return l&&da(o,"clear",void 0,void 0),h}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=u5(o,t,e)}),n}function Ip(t,e){const n=d5(t,e);return(r,o,l)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?r:Reflect.get(rn(n,o)&&o in r?n:r,o,l)}const h5={get:Ip(!1,!1)},p5={get:Ip(!1,!0)},f5={get:Ip(!0,!1)};const R4=new WeakMap,I4=new WeakMap,O4=new WeakMap,m5=new WeakMap;function g5(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function v5(t){return t.__v_skip||!Object.isExtensible(t)?0:g5($2(t))}function Op(t){return Za(t)?t:Hp(t,!1,s5,h5,R4)}function b5(t){return Hp(t,!1,c5,p5,I4)}function H4(t){return Hp(t,!0,l5,f5,O4)}function Hp(t,e,n,r,o){if(!Rn(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const l=v5(t);if(l===0)return t;const h=o.get(t);if(h)return h;const c=new Proxy(t,l===2?r:n);return o.set(t,c),c}function es(t){return Za(t)?es(t.__v_raw):!!(t&&t.__v_isReactive)}function Za(t){return!!(t&&t.__v_isReadonly)}function ni(t){return!!(t&&t.__v_isShallow)}function Pp(t){return t?!!t.__v_raw:!1}function nn(t){const e=t&&t.__v_raw;return e?nn(e):t}function y5(t){return!rn(t,"__v_skip")&&Object.isExtensible(t)&&b4(t,"__v_skip",!0),t}const or=t=>Rn(t)?Op(t):t,V0=t=>Rn(t)?H4(t):t;function fr(t){return t?t.__v_isRef===!0:!1}function yt(t){return w5(t,!1)}function w5(t,e){return fr(t)?t:new x5(t,e)}class x5{constructor(e,n){this.dep=new Rp,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:nn(e),this._value=n?e:or(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,r=this.__v_isShallow||ni(e)||Za(e);e=r?e:nn(e),Ka(e,n)&&(this._rawValue=e,this._value=r?e:or(e),this.dep.trigger())}}function k5(t){return fr(t)?t.value:t}const S5={get:(t,e,n)=>e==="__v_raw"?t:k5(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const o=t[e];return fr(o)&&!fr(n)?(o.value=n,!0):Reflect.set(t,e,n,r)}};function P4(t){return es(t)?t:new Proxy(t,S5)}class E5{constructor(e,n,r){this.fn=e,this.setter=n,this._value=void 0,this.dep=new Rp(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ll-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&yn!==this)return E4(this,!0),!0}get value(){const e=this.dep.track();return M4(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function T5(t,e,n=!1){let r,o;return Bt(t)?r=t:(r=t.get,o=t.set),new E5(r,o,n)}const r0={},W0=new WeakMap;let Lo;function A5(t,e=!1,n=Lo){if(n){let r=W0.get(n);r||W0.set(n,r=[]),r.push(t)}}function M5(t,e,n=gn){const{immediate:r,deep:o,once:l,scheduler:h,augmentJob:c,call:p}=n,v=M=>o?M:ni(M)||o===!1||o===0?ha(M,1):ha(M);let b,g,m,x,w=!1,S=!1;if(fr(t)?(g=()=>t.value,w=ni(t)):es(t)?(g=()=>v(t),w=!0):It(t)?(S=!0,w=t.some(M=>es(M)||ni(M)),g=()=>t.map(M=>{if(fr(M))return M.value;if(es(M))return v(M);if(Bt(M))return p?p(M,2):M()})):Bt(t)?e?g=p?()=>p(t,2):t:g=()=>{if(m){Sa();try{m()}finally{Ea()}}const M=Lo;Lo=b;try{return p?p(t,3,[x]):t(x)}finally{Lo=M}}:g=xi,e&&o){const M=g,y=o===!0?1/0:o;g=()=>ha(M(),y)}const k=Q2(),C=()=>{b.stop(),k&&k.active&&Cp(k.effects,b)};if(l&&e){const M=e;e=(...y)=>{M(...y),C()}}let T=S?new Array(t.length).fill(r0):r0;const A=M=>{if(!(!(b.flags&1)||!b.dirty&&!M))if(e){const y=b.run();if(o||w||(S?y.some((N,z)=>Ka(N,T[z])):Ka(y,T))){m&&m();const N=Lo;Lo=b;try{const z=[y,T===r0?void 0:S&&T[0]===r0?[]:T,x];T=y,p?p(e,3,z):e(...z)}finally{Lo=N}}}else b.run()};return c&&c(A),b=new k4(g),b.scheduler=h?()=>h(A,!1):A,x=M=>A5(M,!1,b),m=b.onStop=()=>{const M=W0.get(b);if(M){if(p)p(M,4);else for(const y of M)y();W0.delete(b)}},e?r?A(!0):T=b.run():h?h(A.bind(null,!0),!0):b.run(),C.pause=b.pause.bind(b),C.resume=b.resume.bind(b),C.stop=C,C}function ha(t,e=1/0,n){if(e<=0||!Rn(t)||t.__v_skip||(n=n||new Set,n.has(t)))return t;if(n.add(t),e--,fr(t))ha(t.value,e,n);else if(It(t))for(let r=0;r{ha(r,e,n)});else if(g4(t)){for(const r in t)ha(t[r],e,n);for(const r of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,r)&&ha(t[r],e,n)}return t}/** +**/let Cr;class J2{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Cr,!e&&Cr&&(this.index=(Cr.scopes||(Cr.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e0&&--this._on===0&&(Cr=this.prevScope,this.prevScope=void 0)}stop(e){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n0)return;if(yl){let e=yl;for(yl=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;bl;){let e=bl;for(bl=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(r){t||(t=r)}e=n}}if(t)throw t}function T4(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function A4(t){let e,n=t.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Dp(r),e5(r)):e=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}t.deps=e,t.depsTail=n}function Lh(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(M4(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function M4(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===_l)||(t.globalVersion=_l,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!Lh(t))))return;t.flags|=2;const e=t.dep,n=yn,r=Si;yn=t,Si=!0;try{T4(t);const o=t.fn(t._value);(e.version===0||Za(o,t._value))&&(t.flags|=128,t._value=o,e.version++)}catch(o){throw e.version++,o}finally{yn=n,Si=r,A4(t),t.flags&=-3}}function Dp(t,e=!1){const{dep:n,prevSub:r,nextSub:o}=t;if(r&&(r.nextSub=o,t.prevSub=void 0),o&&(o.prevSub=r,t.nextSub=void 0),n.subs===t&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let l=n.computed.deps;l;l=l.nextDep)Dp(l,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function e5(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let Si=!0;const C4=[];function Ea(){C4.push(Si),Si=!1}function Ta(){const t=C4.pop();Si=t===void 0?!0:t}function T1(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=yn;yn=void 0;try{e()}finally{yn=n}}}let _l=0;class t5{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Rp{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(e){if(!yn||!Si||yn===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==yn)n=this.activeLink=new t5(yn,this),yn.deps?(n.prevDep=yn.depsTail,yn.depsTail.nextDep=n,yn.depsTail=n):yn.deps=yn.depsTail=n,L4(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=yn.depsTail,n.nextDep=void 0,yn.depsTail.nextDep=n,yn.depsTail=n,yn.deps===n&&(yn.deps=r)}return n}trigger(e){this.version++,_l++,this.notify(e)}notify(e){_p();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Np()}}}function L4(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let r=e.deps;r;r=r.nextDep)L4(r)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const _h=new WeakMap,No=Symbol(""),Nh=Symbol(""),Nl=Symbol("");function ur(t,e,n){if(Si&&yn){let r=_h.get(t);r||_h.set(t,r=new Map);let o=r.get(n);o||(r.set(n,o=new Rp),o.map=r,o.key=n),o.track()}}function ha(t,e,n,r,o,l){const h=_h.get(t);if(!h){_l++;return}const c=p=>{p&&p.trigger()};if(_p(),e==="clear")h.forEach(c);else{const p=Ot(t),v=p&&Lp(n);if(p&&n==="length"){const b=Number(r);h.forEach((g,m)=>{(m==="length"||m===Nl||!oo(m)&&m>=b)&&c(g)})}else switch((n!==void 0||h.has(void 0))&&c(h.get(n)),v&&c(h.get(Nl)),e){case"add":p?v&&c(h.get("length")):(c(h.get(No)),rs(t)&&c(h.get(Nh)));break;case"delete":p||(c(h.get(No)),rs(t)&&c(h.get(Nh)));break;case"set":rs(t)&&c(h.get(No));break}}Np()}function Go(t){const e=nn(t);return e===t?e:(ur(e,"iterate",Nl),ri(t)?e:e.map(or))}function Nc(t){return ur(t=nn(t),"iterate",Nl),t}const n5={__proto__:null,[Symbol.iterator](){return Od(this,Symbol.iterator,or)},concat(...t){return Go(this).concat(...t.map(e=>Ot(e)?Go(e):e))},entries(){return Od(this,"entries",t=>(t[1]=or(t[1]),t))},every(t,e){return oa(this,"every",t,e,void 0,arguments)},filter(t,e){return oa(this,"filter",t,e,n=>n.map(or),arguments)},find(t,e){return oa(this,"find",t,e,or,arguments)},findIndex(t,e){return oa(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return oa(this,"findLast",t,e,or,arguments)},findLastIndex(t,e){return oa(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return oa(this,"forEach",t,e,void 0,arguments)},includes(...t){return Hd(this,"includes",t)},indexOf(...t){return Hd(this,"indexOf",t)},join(t){return Go(this).join(t)},lastIndexOf(...t){return Hd(this,"lastIndexOf",t)},map(t,e){return oa(this,"map",t,e,void 0,arguments)},pop(){return el(this,"pop")},push(...t){return el(this,"push",t)},reduce(t,...e){return A1(this,"reduce",t,e)},reduceRight(t,...e){return A1(this,"reduceRight",t,e)},shift(){return el(this,"shift")},some(t,e){return oa(this,"some",t,e,void 0,arguments)},splice(...t){return el(this,"splice",t)},toReversed(){return Go(this).toReversed()},toSorted(t){return Go(this).toSorted(t)},toSpliced(...t){return Go(this).toSpliced(...t)},unshift(...t){return el(this,"unshift",t)},values(){return Od(this,"values",or)}};function Od(t,e,n){const r=Nc(t),o=r[e]();return r!==t&&!ri(t)&&(o._next=o.next,o.next=()=>{const l=o._next();return l.value&&(l.value=n(l.value)),l}),o}const r5=Array.prototype;function oa(t,e,n,r,o,l){const h=Nc(t),c=h!==t&&!ri(t),p=h[e];if(p!==r5[e]){const g=p.apply(t,l);return c?or(g):g}let v=n;h!==t&&(c?v=function(g,m){return n.call(this,or(g),m,t)}:n.length>2&&(v=function(g,m){return n.call(this,g,m,t)}));const b=p.call(h,v,r);return c&&o?o(b):b}function A1(t,e,n,r){const o=Nc(t);let l=n;return o!==t&&(ri(t)?n.length>3&&(l=function(h,c,p){return n.call(this,h,c,p,t)}):l=function(h,c,p){return n.call(this,h,or(c),p,t)}),o[e](l,...r)}function Hd(t,e,n){const r=nn(t);ur(r,"iterate",Nl);const o=r[e](...n);return(o===-1||o===!1)&&Pp(n[0])?(n[0]=nn(n[0]),r[e](...n)):o}function el(t,e,n=[]){Ea(),_p();const r=nn(t)[e].apply(t,n);return Np(),Ta(),r}const i5=Ap("__proto__,__v_isRef,__isVue"),_4=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(oo));function a5(t){oo(t)||(t=String(t));const e=nn(this);return ur(e,"has",t),e.hasOwnProperty(t)}class N4{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,r){if(n==="__v_skip")return e.__v_skip;const o=this._isReadonly,l=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return l;if(n==="__v_raw")return r===(o?l?m5:O4:l?I4:R4).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const h=Ot(e);if(!o){let p;if(h&&(p=n5[n]))return p;if(n==="hasOwnProperty")return a5}const c=Reflect.get(e,n,hr(e)?e:r);return(oo(n)?_4.has(n):i5(n))||(o||ur(e,"get",n),l)?c:hr(c)?h&&Lp(n)?c:c.value:Rn(c)?o?H4(c):Op(c):c}}class D4 extends N4{constructor(e=!1){super(!1,e)}set(e,n,r,o){let l=e[n];if(!this._isShallow){const p=Ja(l);if(!ri(r)&&!Ja(r)&&(l=nn(l),r=nn(r)),!Ot(e)&&hr(l)&&!hr(r))return p||(l.value=r),!0}const h=Ot(e)&&Lp(n)?Number(n)t,n0=t=>Reflect.getPrototypeOf(t);function u5(t,e,n){return function(...r){const o=this.__v_raw,l=nn(o),h=rs(l),c=t==="entries"||t===Symbol.iterator&&h,p=t==="keys"&&h,v=o[t](...r),b=n?Dh:e?W0:or;return!e&&ur(l,"iterate",p?Nh:No),{next(){const{value:g,done:m}=v.next();return m?{value:g,done:m}:{value:c?[b(g[0]),b(g[1])]:b(g),done:m}},[Symbol.iterator](){return this}}}}function r0(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function d5(t,e){const n={get(o){const l=this.__v_raw,h=nn(l),c=nn(o);t||(Za(o,c)&&ur(h,"get",o),ur(h,"get",c));const{has:p}=n0(h),v=e?Dh:t?W0:or;if(p.call(h,o))return v(l.get(o));if(p.call(h,c))return v(l.get(c));l!==h&&l.get(o)},get size(){const o=this.__v_raw;return!t&&ur(nn(o),"iterate",No),o.size},has(o){const l=this.__v_raw,h=nn(l),c=nn(o);return t||(Za(o,c)&&ur(h,"has",o),ur(h,"has",c)),o===c?l.has(o):l.has(o)||l.has(c)},forEach(o,l){const h=this,c=h.__v_raw,p=nn(c),v=e?Dh:t?W0:or;return!t&&ur(p,"iterate",No),c.forEach((b,g)=>o.call(l,v(b),v(g),h))}};return sr(n,t?{add:r0("add"),set:r0("set"),delete:r0("delete"),clear:r0("clear")}:{add(o){!e&&!ri(o)&&!Ja(o)&&(o=nn(o));const l=nn(this);return n0(l).has.call(l,o)||(l.add(o),ha(l,"add",o,o)),this},set(o,l){!e&&!ri(l)&&!Ja(l)&&(l=nn(l));const h=nn(this),{has:c,get:p}=n0(h);let v=c.call(h,o);v||(o=nn(o),v=c.call(h,o));const b=p.call(h,o);return h.set(o,l),v?Za(l,b)&&ha(h,"set",o,l):ha(h,"add",o,l),this},delete(o){const l=nn(this),{has:h,get:c}=n0(l);let p=h.call(l,o);p||(o=nn(o),p=h.call(l,o)),c&&c.call(l,o);const v=l.delete(o);return p&&ha(l,"delete",o,void 0),v},clear(){const o=nn(this),l=o.size!==0,h=o.clear();return l&&ha(o,"clear",void 0,void 0),h}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=u5(o,t,e)}),n}function Ip(t,e){const n=d5(t,e);return(r,o,l)=>o==="__v_isReactive"?!t:o==="__v_isReadonly"?t:o==="__v_raw"?r:Reflect.get(rn(n,o)&&o in r?n:r,o,l)}const h5={get:Ip(!1,!1)},p5={get:Ip(!1,!0)},f5={get:Ip(!0,!1)};const R4=new WeakMap,I4=new WeakMap,O4=new WeakMap,m5=new WeakMap;function g5(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function v5(t){return t.__v_skip||!Object.isExtensible(t)?0:g5($2(t))}function Op(t){return Ja(t)?t:Hp(t,!1,s5,h5,R4)}function b5(t){return Hp(t,!1,c5,p5,I4)}function H4(t){return Hp(t,!0,l5,f5,O4)}function Hp(t,e,n,r,o){if(!Rn(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const l=v5(t);if(l===0)return t;const h=o.get(t);if(h)return h;const c=new Proxy(t,l===2?r:n);return o.set(t,c),c}function is(t){return Ja(t)?is(t.__v_raw):!!(t&&t.__v_isReactive)}function Ja(t){return!!(t&&t.__v_isReadonly)}function ri(t){return!!(t&&t.__v_isShallow)}function Pp(t){return t?!!t.__v_raw:!1}function nn(t){const e=t&&t.__v_raw;return e?nn(e):t}function y5(t){return!rn(t,"__v_skip")&&Object.isExtensible(t)&&b4(t,"__v_skip",!0),t}const or=t=>Rn(t)?Op(t):t,W0=t=>Rn(t)?H4(t):t;function hr(t){return t?t.__v_isRef===!0:!1}function yt(t){return w5(t,!1)}function w5(t,e){return hr(t)?t:new x5(t,e)}class x5{constructor(e,n){this.dep=new Rp,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:nn(e),this._value=n?e:or(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,r=this.__v_isShallow||ri(e)||Ja(e);e=r?e:nn(e),Za(e,n)&&(this._rawValue=e,this._value=r?e:or(e),this.dep.trigger())}}function k5(t){return hr(t)?t.value:t}const S5={get:(t,e,n)=>e==="__v_raw"?t:k5(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const o=t[e];return hr(o)&&!hr(n)?(o.value=n,!0):Reflect.set(t,e,n,r)}};function P4(t){return is(t)?t:new Proxy(t,S5)}class E5{constructor(e,n,r){this.fn=e,this.setter=n,this._value=void 0,this.dep=new Rp(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=_l-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&yn!==this)return E4(this,!0),!0}get value(){const e=this.dep.track();return M4(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function T5(t,e,n=!1){let r,o;return Bt(t)?r=t:(r=t.get,o=t.set),new E5(r,o,n)}const i0={},G0=new WeakMap;let Lo;function A5(t,e=!1,n=Lo){if(n){let r=G0.get(n);r||G0.set(n,r=[]),r.push(t)}}function M5(t,e,n=mn){const{immediate:r,deep:o,once:l,scheduler:h,augmentJob:c,call:p}=n,v=M=>o?M:ri(M)||o===!1||o===0?pa(M,1):pa(M);let b,g,m,x,w=!1,S=!1;if(hr(t)?(g=()=>t.value,w=ri(t)):is(t)?(g=()=>v(t),w=!0):Ot(t)?(S=!0,w=t.some(M=>is(M)||ri(M)),g=()=>t.map(M=>{if(hr(M))return M.value;if(is(M))return v(M);if(Bt(M))return p?p(M,2):M()})):Bt(t)?e?g=p?()=>p(t,2):t:g=()=>{if(m){Ea();try{m()}finally{Ta()}}const M=Lo;Lo=b;try{return p?p(t,3,[x]):t(x)}finally{Lo=M}}:g=ki,e&&o){const M=g,y=o===!0?1/0:o;g=()=>pa(M(),y)}const k=Q2(),C=()=>{b.stop(),k&&k.active&&Cp(k.effects,b)};if(l&&e){const M=e;e=(...y)=>{M(...y),C()}}let T=S?new Array(t.length).fill(i0):i0;const A=M=>{if(!(!(b.flags&1)||!b.dirty&&!M))if(e){const y=b.run();if(o||w||(S?y.some((N,z)=>Za(N,T[z])):Za(y,T))){m&&m();const N=Lo;Lo=b;try{const z=[y,T===i0?void 0:S&&T[0]===i0?[]:T,x];T=y,p?p(e,3,z):e(...z)}finally{Lo=N}}}else b.run()};return c&&c(A),b=new k4(g),b.scheduler=h?()=>h(A,!1):A,x=M=>A5(M,!1,b),m=b.onStop=()=>{const M=G0.get(b);if(M){if(p)p(M,4);else for(const y of M)y();G0.delete(b)}},e?r?A(!0):T=b.run():h?h(A.bind(null,!0),!0):b.run(),C.pause=b.pause.bind(b),C.resume=b.resume.bind(b),C.stop=C,C}function pa(t,e=1/0,n){if(e<=0||!Rn(t)||t.__v_skip||(n=n||new Set,n.has(t)))return t;if(n.add(t),e--,hr(t))pa(t.value,e,n);else if(Ot(t))for(let r=0;r{pa(r,e,n)});else if(g4(t)){for(const r in t)pa(t[r],e,n);for(const r of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,r)&&pa(t[r],e,n)}return t}/** * @vue/runtime-core v3.5.20 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Bl(t,e,n,r){try{return r?t(...r):t()}catch(o){Nc(o,e,n)}}function Ui(t,e,n,r){if(Bt(t)){const o=Bl(t,e,n,r);return o&&f4(o)&&o.catch(l=>{Nc(l,e,n)}),o}if(It(t)){const o=[];for(let l=0;l>>1,o=yr[r],l=Nl(o);l=Nl(n)?yr.push(t):yr.splice(L5(e),0,t),t.flags|=1,B4()}}function B4(){G0||(G0=z4.then(q4))}function _5(t){It(t)?ts.push(...t):$a&&t.id===-1?$a.splice(Xo+1,0,t):t.flags&1||(ts.push(t),t.flags|=1),B4()}function M1(t,e,n=Hi+1){for(;nNl(n)-Nl(r));if(ts.length=0,$a){$a.push(...e);return}for($a=e,Xo=0;Xo<$a.length;Xo++){const n=$a[Xo];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}$a=null,Xo=0}}const Nl=t=>t.id==null?t.flags&2?-1:1/0:t.id;function q4(t){const e=xi;try{for(Hi=0;Hi{r._d&&O1(-1);const l=K0(e);let h;try{h=t(...o)}finally{K0(l),r._d&&O1(1)}return h};return r._n=!0,r._c=!0,r._d=!0,r}function X0(t,e){if(Qr===null)return t;const n=Hc(Qr),r=t.dirs||(t.dirs=[]);for(let o=0;ot.__isTeleport,I5=Symbol("_leaveCb");function Bp(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Bp(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function $4(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function yl(t,e,n,r,o=!1){if(It(t)){t.forEach((w,S)=>yl(w,e&&(It(e)?e[S]:e),n,r,o));return}if(wl(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&yl(t,e,n,r.component.subTree);return}const l=r.shapeFlag&4?Hc(r.component):r.el,h=o?null:l,{i:c,r:p}=t,v=e&&e.r,b=c.refs===gn?c.refs={}:c.refs,g=c.setupState,m=nn(g),x=g===gn?h4:w=>rn(m,w);if(v!=null&&v!==p){if(Vn(v))b[v]=null,x(v)&&(g[v]=null);else if(fr(v)){v.value=null;const w=e;w.k&&(b[w.k]=null)}}if(Bt(p))Bl(p,c,12,[h,b]);else{const w=Vn(p),S=fr(p);if(w||S){const k=()=>{if(t.f){const C=w?x(p)?g[p]:b[p]:p.value;if(o)It(C)&&Cp(C,l);else if(It(C))C.includes(l)||C.push(l);else if(w)b[p]=[l],x(p)&&(g[p]=b[p]);else{const T=[l];p.value=T,t.k&&(b[t.k]=T)}}else w?(b[p]=h,x(p)&&(g[p]=h)):S&&(p.value=h,t.k&&(b[t.k]=h))};h?(k.id=-1,qr(k,n)):k()}}}Lc().requestIdleCallback;Lc().cancelIdleCallback;const wl=t=>!!t.type.__asyncLoader,U4=t=>t.type.__isKeepAlive;function O5(t,e){V4(t,"a",e)}function H5(t,e){V4(t,"da",e)}function V4(t,e,n=wr){const r=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(Dc(e,r,n),n){let o=n.parent;for(;o&&o.parent;)U4(o.parent.vnode)&&P5(r,e,n,o),o=o.parent}}function P5(t,e,n,r){const o=Dc(e,t,r,!0);Rc(()=>{Cp(r[e],o)},n)}function Dc(t,e,n=wr,r=!1){if(n){const o=n[t]||(n[t]=[]),l=e.__weh||(e.__weh=(...h)=>{Sa();const c=Fl(n),p=Ui(e,n,t,h);return c(),Ea(),p});return r?o.unshift(l):o.push(l),l}}const Na=t=>(e,n=wr)=>{(!Rl||t==="sp")&&Dc(t,(...r)=>e(...r),n)},z5=Na("bm"),Fp=Na("m"),B5=Na("bu"),F5=Na("u"),q5=Na("bum"),Rc=Na("um"),j5=Na("sp"),$5=Na("rtg"),U5=Na("rtc");function V5(t,e=wr){Dc("ec",t,e)}const W5=Symbol.for("v-ndc");function W4(t,e,n,r){let o;const l=n&&n[r],h=It(t);if(h||Vn(t)){const c=h&&es(t);let p=!1,v=!1;c&&(p=!ni(t),v=Za(t),t=_c(t)),o=new Array(t.length);for(let b=0,g=t.length;be(c,p,void 0,l&&l[p]));else{const c=Object.keys(t);o=new Array(c.length);for(let p=0,v=c.length;pt?hv(t)?Hc(t):Rh(t.parent):null,xl=sr(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Rh(t.parent),$root:t=>Rh(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>qp(t),$forceUpdate:t=>t.f||(t.f=()=>{zp(t.update)}),$nextTick:t=>t.n||(t.n=ja.bind(t.proxy)),$watch:t=>fb.bind(t)}),Pd=(t,e)=>t!==gn&&!t.__isScriptSetup&&rn(t,e),G5={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:l,accessCache:h,type:c,appContext:p}=t;let v;if(e[0]!=="$"){const x=h[e];if(x!==void 0)switch(x){case 1:return r[e];case 2:return o[e];case 4:return n[e];case 3:return l[e]}else{if(Pd(r,e))return h[e]=1,r[e];if(o!==gn&&rn(o,e))return h[e]=2,o[e];if((v=t.propsOptions[0])&&rn(v,e))return h[e]=3,l[e];if(n!==gn&&rn(n,e))return h[e]=4,n[e];Ih&&(h[e]=0)}}const b=xl[e];let g,m;if(b)return e==="$attrs"&&hr(t.attrs,"get",""),b(t);if((g=c.__cssModules)&&(g=g[e]))return g;if(n!==gn&&rn(n,e))return h[e]=4,n[e];if(m=p.config.globalProperties,rn(m,e))return m[e]},set({_:t},e,n){const{data:r,setupState:o,ctx:l}=t;return Pd(o,e)?(o[e]=n,!0):r!==gn&&rn(r,e)?(r[e]=n,!0):rn(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(l[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:o,propsOptions:l,type:h}},c){let p,v;return!!(n[c]||t!==gn&&c[0]!=="$"&&rn(t,c)||Pd(e,c)||(p=l[0])&&rn(p,c)||rn(r,c)||rn(xl,c)||rn(o.config.globalProperties,c)||(v=h.__cssModules)&&v[c])},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:rn(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function C1(t){return It(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let Ih=!0;function K5(t){const e=qp(t),n=t.proxy,r=t.ctx;Ih=!1,e.beforeCreate&&L1(e.beforeCreate,t,"bc");const{data:o,computed:l,methods:h,watch:c,provide:p,inject:v,created:b,beforeMount:g,mounted:m,beforeUpdate:x,updated:w,activated:S,deactivated:k,beforeDestroy:C,beforeUnmount:T,destroyed:A,unmounted:M,render:y,renderTracked:N,renderTriggered:z,errorCaptured:F,serverPrefetch:P,expose:Y,inheritAttrs:te,components:ce,directives:Me,filters:Fe}=e;if(v&&X5(v,r,null),h)for(const je in h){const Ne=h[je];Bt(Ne)&&(r[je]=Ne.bind(n))}if(o){const je=o.call(n,n);Rn(je)&&(t.data=Op(je))}if(Ih=!0,l)for(const je in l){const Ne=l[je],nt=Bt(Ne)?Ne.bind(n,n):Bt(Ne.get)?Ne.get.bind(n,n):xi,ct=!Bt(Ne)&&Bt(Ne.set)?Ne.set.bind(n):xi,tt=fv({get:nt,set:ct});Object.defineProperty(r,je,{enumerable:!0,configurable:!0,get:()=>tt.value,set:q=>tt.value=q})}if(c)for(const je in c)G4(c[je],r,n,je);if(p){const je=Bt(p)?p.call(n):p;Reflect.ownKeys(je).forEach(Ne=>{tb(Ne,je[Ne])})}b&&L1(b,t,"c");function rt(je,Ne){It(Ne)?Ne.forEach(nt=>je(nt.bind(n))):Ne&&je(Ne.bind(n))}if(rt(z5,g),rt(Fp,m),rt(B5,x),rt(F5,w),rt(O5,S),rt(H5,k),rt(V5,F),rt(U5,N),rt($5,z),rt(q5,T),rt(Rc,M),rt(j5,P),It(Y))if(Y.length){const je=t.exposed||(t.exposed={});Y.forEach(Ne=>{Object.defineProperty(je,Ne,{get:()=>n[Ne],set:nt=>n[Ne]=nt,enumerable:!0})})}else t.exposed||(t.exposed={});y&&t.render===xi&&(t.render=y),te!=null&&(t.inheritAttrs=te),ce&&(t.components=ce),Me&&(t.directives=Me),P&&$4(t)}function X5(t,e,n=xi){It(t)&&(t=Oh(t));for(const r in t){const o=t[r];let l;Rn(o)?"default"in o?l=_0(o.from||r,o.default,!0):l=_0(o.from||r):l=_0(o),fr(l)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>l.value,set:h=>l.value=h}):e[r]=l}}function L1(t,e,n){Ui(It(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function G4(t,e,n,r){let o=r.includes(".")?ov(n,r):()=>n[r];if(Vn(t)){const l=e[t];Bt(l)&&kl(o,l)}else if(Bt(t))kl(o,t.bind(n));else if(Rn(t))if(It(t))t.forEach(l=>G4(l,e,n,r));else{const l=Bt(t.handler)?t.handler.bind(n):e[t.handler];Bt(l)&&kl(o,l,t)}}function qp(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:o,optionsCache:l,config:{optionMergeStrategies:h}}=t.appContext,c=l.get(e);let p;return c?p=c:!o.length&&!n&&!r?p=e:(p={},o.length&&o.forEach(v=>Z0(p,v,h,!0)),Z0(p,e,h)),Rn(e)&&l.set(e,p),p}function Z0(t,e,n,r=!1){const{mixins:o,extends:l}=e;l&&Z0(t,l,n,!0),o&&o.forEach(h=>Z0(t,h,n,!0));for(const h in e)if(!(r&&h==="expose")){const c=Z5[h]||n&&n[h];t[h]=c?c(t[h],e[h]):e[h]}return t}const Z5={data:_1,props:N1,emits:N1,methods:hl,computed:hl,beforeCreate:br,created:br,beforeMount:br,mounted:br,beforeUpdate:br,updated:br,beforeDestroy:br,beforeUnmount:br,destroyed:br,unmounted:br,activated:br,deactivated:br,errorCaptured:br,serverPrefetch:br,components:hl,directives:hl,watch:J5,provide:_1,inject:Y5};function _1(t,e){return e?t?function(){return sr(Bt(t)?t.call(this,this):t,Bt(e)?e.call(this,this):e)}:e:t}function Y5(t,e){return hl(Oh(t),Oh(e))}function Oh(t){if(It(t)){const e={};for(let n=0;n1)return n&&Bt(e)?e.call(r&&r.proxy):e}}const X4={},Z4=()=>Object.create(X4),Y4=t=>Object.getPrototypeOf(t)===X4;function nb(t,e,n,r=!1){const o={},l=Z4();t.propsDefaults=Object.create(null),J4(t,e,o,l);for(const h in t.propsOptions[0])h in o||(o[h]=void 0);n?t.props=r?o:b5(o):t.type.props?t.props=o:t.props=l,t.attrs=l}function rb(t,e,n,r){const{props:o,attrs:l,vnode:{patchFlag:h}}=t,c=nn(o),[p]=t.propsOptions;let v=!1;if((r||h>0)&&!(h&16)){if(h&8){const b=t.vnode.dynamicProps;for(let g=0;g{p=!0;const[m,x]=Q4(g,e,!0);sr(h,m),x&&c.push(...x)};!n&&e.mixins.length&&e.mixins.forEach(b),t.extends&&b(t.extends),t.mixins&&t.mixins.forEach(b)}if(!l&&!p)return Rn(t)&&r.set(t,Jo),Jo;if(It(l))for(let b=0;bt==="_"||t==="_ctx"||t==="$stable",$p=t=>It(t)?t.map(Pi):[Pi(t)],ab=(t,e,n)=>{if(e._n)return e;const r=N5((...o)=>$p(e(...o)),n);return r._c=!1,r},ev=(t,e,n)=>{const r=t._ctx;for(const o in t){if(jp(o))continue;const l=t[o];if(Bt(l))e[o]=ab(o,l,r);else if(l!=null){const h=$p(l);e[o]=()=>h}}},tv=(t,e)=>{const n=$p(e);t.slots.default=()=>n},nv=(t,e,n)=>{for(const r in e)(n||!jp(r))&&(t[r]=e[r])},ob=(t,e,n)=>{const r=t.slots=Z4();if(t.vnode.shapeFlag&32){const o=e._;o?(nv(r,e,n),n&&b4(r,"_",o,!0)):ev(e,r)}else e&&tv(t,e)},sb=(t,e,n)=>{const{vnode:r,slots:o}=t;let l=!0,h=gn;if(r.shapeFlag&32){const c=e._;c?n&&c===1?l=!1:nv(o,e,n):(l=!e.$stable,ev(e,o)),h=e}else e&&(tv(t,e),h={default:1});if(l)for(const c in o)!jp(c)&&h[c]==null&&delete o[c]},qr=xb;function lb(t){return cb(t)}function cb(t,e){const n=Lc();n.__VUE__=!0;const{insert:r,remove:o,patchProp:l,createElement:h,createText:c,createComment:p,setText:v,setElementText:b,parentNode:g,nextSibling:m,setScopeId:x=xi,insertStaticContent:w}=t,S=(G,X,be,le=null,ye=null,Ae=null,ze=void 0,Xe=null,Ke=!!X.dynamicChildren)=>{if(G===X)return;G&&!el(G,X)&&(le=oe(G),q(G,ye,Ae,!0),G=null),X.patchFlag===-2&&(Ke=!1,X.dynamicChildren=null);const{type:Be,ref:st,shapeFlag:qe}=X;switch(Be){case Oc:k(G,X,be,le);break;case Ya:C(G,X,be,le);break;case N0:G==null&&T(X,be,le,ze);break;case wi:ce(G,X,be,le,ye,Ae,ze,Xe,Ke);break;default:qe&1?y(G,X,be,le,ye,Ae,ze,Xe,Ke):qe&6?Me(G,X,be,le,ye,Ae,ze,Xe,Ke):(qe&64||qe&128)&&Be.process(G,X,be,le,ye,Ae,ze,Xe,Ke,ee)}st!=null&&ye?yl(st,G&&G.ref,Ae,X||G,!X):st==null&&G&&G.ref!=null&&yl(G.ref,null,Ae,G,!0)},k=(G,X,be,le)=>{if(G==null)r(X.el=c(X.children),be,le);else{const ye=X.el=G.el;X.children!==G.children&&v(ye,X.children)}},C=(G,X,be,le)=>{G==null?r(X.el=p(X.children||""),be,le):X.el=G.el},T=(G,X,be,le)=>{[G.el,G.anchor]=w(G.children,X,be,le,G.el,G.anchor)},A=({el:G,anchor:X},be,le)=>{let ye;for(;G&&G!==X;)ye=m(G),r(G,be,le),G=ye;r(X,be,le)},M=({el:G,anchor:X})=>{let be;for(;G&&G!==X;)be=m(G),o(G),G=be;o(X)},y=(G,X,be,le,ye,Ae,ze,Xe,Ke)=>{X.type==="svg"?ze="svg":X.type==="math"&&(ze="mathml"),G==null?N(X,be,le,ye,Ae,ze,Xe,Ke):P(G,X,ye,Ae,ze,Xe,Ke)},N=(G,X,be,le,ye,Ae,ze,Xe)=>{let Ke,Be;const{props:st,shapeFlag:qe,transition:Re,dirs:mt}=G;if(Ke=G.el=h(G.type,Ae,st&&st.is,st),qe&8?b(Ke,G.children):qe&16&&F(G.children,Ke,null,le,ye,zd(G,Ae),ze,Xe),mt&&ko(G,null,le,"created"),z(Ke,G,G.scopeId,ze,le),st){for(const Ut in st)Ut!=="value"&&!gl(Ut)&&l(Ke,Ut,null,st[Ut],Ae,le);"value"in st&&l(Ke,"value",null,st.value,Ae),(Be=st.onVnodeBeforeMount)&&Ni(Be,le,G)}mt&&ko(G,null,le,"beforeMount");const Dt=ub(ye,Re);Dt&&Re.beforeEnter(Ke),r(Ke,X,be),((Be=st&&st.onVnodeMounted)||Dt||mt)&&qr(()=>{Be&&Ni(Be,le,G),Dt&&Re.enter(Ke),mt&&ko(G,null,le,"mounted")},ye)},z=(G,X,be,le,ye)=>{if(be&&x(G,be),le)for(let Ae=0;Ae{for(let Be=Ke;Be{const Xe=X.el=G.el;let{patchFlag:Ke,dynamicChildren:Be,dirs:st}=X;Ke|=G.patchFlag&16;const qe=G.props||gn,Re=X.props||gn;let mt;if(be&&So(be,!1),(mt=Re.onVnodeBeforeUpdate)&&Ni(mt,be,X,G),st&&ko(X,G,be,"beforeUpdate"),be&&So(be,!0),(qe.innerHTML&&Re.innerHTML==null||qe.textContent&&Re.textContent==null)&&b(Xe,""),Be?Y(G.dynamicChildren,Be,Xe,be,le,zd(X,ye),Ae):ze||Ne(G,X,Xe,null,be,le,zd(X,ye),Ae,!1),Ke>0){if(Ke&16)te(Xe,qe,Re,be,ye);else if(Ke&2&&qe.class!==Re.class&&l(Xe,"class",null,Re.class,ye),Ke&4&&l(Xe,"style",qe.style,Re.style,ye),Ke&8){const Dt=X.dynamicProps;for(let Ut=0;Ut{mt&&Ni(mt,be,X,G),st&&ko(X,G,be,"updated")},le)},Y=(G,X,be,le,ye,Ae,ze)=>{for(let Xe=0;Xe{if(X!==be){if(X!==gn)for(const Ae in X)!gl(Ae)&&!(Ae in be)&&l(G,Ae,X[Ae],null,ye,le);for(const Ae in be){if(gl(Ae))continue;const ze=be[Ae],Xe=X[Ae];ze!==Xe&&Ae!=="value"&&l(G,Ae,Xe,ze,ye,le)}"value"in be&&l(G,"value",X.value,be.value,ye)}},ce=(G,X,be,le,ye,Ae,ze,Xe,Ke)=>{const Be=X.el=G?G.el:c(""),st=X.anchor=G?G.anchor:c("");let{patchFlag:qe,dynamicChildren:Re,slotScopeIds:mt}=X;mt&&(Xe=Xe?Xe.concat(mt):mt),G==null?(r(Be,be,le),r(st,be,le),F(X.children||[],be,st,ye,Ae,ze,Xe,Ke)):qe>0&&qe&64&&Re&&G.dynamicChildren?(Y(G.dynamicChildren,Re,be,ye,Ae,ze,Xe),(X.key!=null||ye&&X===ye.subTree)&&rv(G,X,!0)):Ne(G,X,be,st,ye,Ae,ze,Xe,Ke)},Me=(G,X,be,le,ye,Ae,ze,Xe,Ke)=>{X.slotScopeIds=Xe,G==null?X.shapeFlag&512?ye.ctx.activate(X,be,le,ze,Ke):Fe(X,be,le,ye,Ae,ze,Ke):We(G,X,Ke)},Fe=(G,X,be,le,ye,Ae,ze)=>{const Xe=G.component=Lb(G,le,ye);if(U4(G)&&(Xe.ctx.renderer=ee),Nb(Xe,!1,ze),Xe.asyncDep){if(ye&&ye.registerDep(Xe,rt,ze),!G.el){const Ke=Xe.subTree=Gr(Ya);C(null,Ke,X,be),G.placeholder=Ke.el}}else rt(Xe,G,X,be,ye,Ae,ze)},We=(G,X,be)=>{const le=X.component=G.component;if(yb(G,X,be))if(le.asyncDep&&!le.asyncResolved){je(le,X,be);return}else le.next=X,le.update();else X.el=G.el,le.vnode=X},rt=(G,X,be,le,ye,Ae,ze)=>{const Xe=()=>{if(G.isMounted){let{next:qe,bu:Re,u:mt,parent:Dt,vnode:Ut}=G;{const kn=iv(G);if(kn){qe&&(qe.el=Ut.el,je(G,qe,ze)),kn.asyncDep.then(()=>{G.isUnmounted||Xe()});return}}let jt=qe,Hn;So(G,!1),qe?(qe.el=Ut.el,je(G,qe,ze)):qe=Ut,Re&&L0(Re),(Hn=qe.props&&qe.props.onVnodeBeforeUpdate)&&Ni(Hn,Dt,qe,Ut),So(G,!0);const Mn=Bd(G),Pn=G.subTree;G.subTree=Mn,S(Pn,Mn,g(Pn.el),oe(Pn),G,ye,Ae),qe.el=Mn.el,jt===null&&wb(G,Mn.el),mt&&qr(mt,ye),(Hn=qe.props&&qe.props.onVnodeUpdated)&&qr(()=>Ni(Hn,Dt,qe,Ut),ye)}else{let qe;const{el:Re,props:mt}=X,{bm:Dt,m:Ut,parent:jt,root:Hn,type:Mn}=G,Pn=wl(X);if(So(G,!1),Dt&&L0(Dt),!Pn&&(qe=mt&&mt.onVnodeBeforeMount)&&Ni(qe,jt,X),So(G,!0),Re&&se){const kn=()=>{G.subTree=Bd(G),se(Re,G.subTree,G,ye,null)};Pn&&Mn.__asyncHydrate?Mn.__asyncHydrate(Re,G,kn):kn()}else{Hn.ce&&Hn.ce._def.shadowRoot!==!1&&Hn.ce._injectChildStyle(Mn);const kn=G.subTree=Bd(G);S(null,kn,be,le,G,ye,Ae),X.el=kn.el}if(Ut&&qr(Ut,ye),!Pn&&(qe=mt&&mt.onVnodeMounted)){const kn=X;qr(()=>Ni(qe,jt,kn),ye)}(X.shapeFlag&256||jt&&wl(jt.vnode)&&jt.vnode.shapeFlag&256)&&G.a&&qr(G.a,ye),G.isMounted=!0,X=be=le=null}};G.scope.on();const Ke=G.effect=new k4(Xe);G.scope.off();const Be=G.update=Ke.run.bind(Ke),st=G.job=Ke.runIfDirty.bind(Ke);st.i=G,st.id=G.uid,Ke.scheduler=()=>zp(st),So(G,!0),Be()},je=(G,X,be)=>{X.component=G;const le=G.vnode.props;G.vnode=X,G.next=null,rb(G,X.props,le,be),sb(G,X.children,be),Sa(),M1(G),Ea()},Ne=(G,X,be,le,ye,Ae,ze,Xe,Ke=!1)=>{const Be=G&&G.children,st=G?G.shapeFlag:0,qe=X.children,{patchFlag:Re,shapeFlag:mt}=X;if(Re>0){if(Re&128){ct(Be,qe,be,le,ye,Ae,ze,Xe,Ke);return}else if(Re&256){nt(Be,qe,be,le,ye,Ae,ze,Xe,Ke);return}}mt&8?(st&16&&Nt(Be,ye,Ae),qe!==Be&&b(be,qe)):st&16?mt&16?ct(Be,qe,be,le,ye,Ae,ze,Xe,Ke):Nt(Be,ye,Ae,!0):(st&8&&b(be,""),mt&16&&F(qe,be,le,ye,Ae,ze,Xe,Ke))},nt=(G,X,be,le,ye,Ae,ze,Xe,Ke)=>{G=G||Jo,X=X||Jo;const Be=G.length,st=X.length,qe=Math.min(Be,st);let Re;for(Re=0;Rest?Nt(G,ye,Ae,!0,!1,qe):F(X,be,le,ye,Ae,ze,Xe,Ke,qe)},ct=(G,X,be,le,ye,Ae,ze,Xe,Ke)=>{let Be=0;const st=X.length;let qe=G.length-1,Re=st-1;for(;Be<=qe&&Be<=Re;){const mt=G[Be],Dt=X[Be]=Ke?Ua(X[Be]):Pi(X[Be]);if(el(mt,Dt))S(mt,Dt,be,null,ye,Ae,ze,Xe,Ke);else break;Be++}for(;Be<=qe&&Be<=Re;){const mt=G[qe],Dt=X[Re]=Ke?Ua(X[Re]):Pi(X[Re]);if(el(mt,Dt))S(mt,Dt,be,null,ye,Ae,ze,Xe,Ke);else break;qe--,Re--}if(Be>qe){if(Be<=Re){const mt=Re+1,Dt=mtRe)for(;Be<=qe;)q(G[Be],ye,Ae,!0),Be++;else{const mt=Be,Dt=Be,Ut=new Map;for(Be=Dt;Be<=Re;Be++){const zn=X[Be]=Ke?Ua(X[Be]):Pi(X[Be]);zn.key!=null&&Ut.set(zn.key,Be)}let jt,Hn=0;const Mn=Re-Dt+1;let Pn=!1,kn=0;const lr=new Array(Mn);for(Be=0;Be=Mn){q(zn,ye,Ae,!0);continue}let Ot;if(zn.key!=null)Ot=Ut.get(zn.key);else for(jt=Dt;jt<=Re;jt++)if(lr[jt-Dt]===0&&el(zn,X[jt])){Ot=jt;break}Ot===void 0?q(zn,ye,Ae,!0):(lr[Ot-Dt]=Be+1,Ot>=kn?kn=Ot:Pn=!0,S(zn,X[Ot],be,null,ye,Ae,ze,Xe,Ke),Hn++)}const cr=Pn?db(lr):Jo;for(jt=cr.length-1,Be=Mn-1;Be>=0;Be--){const zn=Dt+Be,Ot=X[zn],jn=X[zn+1],en=zn+1{const{el:Ae,type:ze,transition:Xe,children:Ke,shapeFlag:Be}=G;if(Be&6){tt(G.component.subTree,X,be,le);return}if(Be&128){G.suspense.move(X,be,le);return}if(Be&64){ze.move(G,X,be,ee);return}if(ze===wi){r(Ae,X,be);for(let qe=0;qeXe.enter(Ae),ye);else{const{leave:qe,delayLeave:Re,afterLeave:mt}=Xe,Dt=()=>{G.ctx.isUnmounted?o(Ae):r(Ae,X,be)},Ut=()=>{Ae._isLeaving&&Ae[I5](!0),qe(Ae,()=>{Dt(),mt&&mt()})};Re?Re(Ae,Dt,Ut):Ut()}else r(Ae,X,be)},q=(G,X,be,le=!1,ye=!1)=>{const{type:Ae,props:ze,ref:Xe,children:Ke,dynamicChildren:Be,shapeFlag:st,patchFlag:qe,dirs:Re,cacheIndex:mt}=G;if(qe===-2&&(ye=!1),Xe!=null&&(Sa(),yl(Xe,null,be,G,!0),Ea()),mt!=null&&(X.renderCache[mt]=void 0),st&256){X.ctx.deactivate(G);return}const Dt=st&1&&Re,Ut=!wl(G);let jt;if(Ut&&(jt=ze&&ze.onVnodeBeforeUnmount)&&Ni(jt,X,G),st&6)$t(G.component,be,le);else{if(st&128){G.suspense.unmount(be,le);return}Dt&&ko(G,null,X,"beforeUnmount"),st&64?G.type.remove(G,X,be,ee,le):Be&&!Be.hasOnce&&(Ae!==wi||qe>0&&qe&64)?Nt(Be,X,be,!1,!0):(Ae===wi&&qe&384||!ye&&st&16)&&Nt(Ke,X,be),le&&Ht(G)}(Ut&&(jt=ze&&ze.onVnodeUnmounted)||Dt)&&qr(()=>{jt&&Ni(jt,X,G),Dt&&ko(G,null,X,"unmounted")},be)},Ht=G=>{const{type:X,el:be,anchor:le,transition:ye}=G;if(X===wi){Rt(be,le);return}if(X===N0){M(G);return}const Ae=()=>{o(be),ye&&!ye.persisted&&ye.afterLeave&&ye.afterLeave()};if(G.shapeFlag&1&&ye&&!ye.persisted){const{leave:ze,delayLeave:Xe}=ye,Ke=()=>ze(be,Ae);Xe?Xe(G.el,Ae,Ke):Ke()}else Ae()},Rt=(G,X)=>{let be;for(;G!==X;)be=m(G),o(G),G=be;o(X)},$t=(G,X,be)=>{const{bum:le,scope:ye,job:Ae,subTree:ze,um:Xe,m:Ke,a:Be}=G;R1(Ke),R1(Be),le&&L0(le),ye.stop(),Ae&&(Ae.flags|=8,q(ze,G,X,be)),Xe&&qr(Xe,X),qr(()=>{G.isUnmounted=!0},X)},Nt=(G,X,be,le=!1,ye=!1,Ae=0)=>{for(let ze=Ae;ze{if(G.shapeFlag&6)return oe(G.component.subTree);if(G.shapeFlag&128)return G.suspense.next();const X=m(G.anchor||G.el),be=X&&X[D5];return be?m(be):X};let he=!1;const J=(G,X,be)=>{G==null?X._vnode&&q(X._vnode,null,null,!0):S(X._vnode||null,G,X,null,null,null,be),X._vnode=G,he||(he=!0,M1(),F4(),he=!1)},ee={p:S,um:q,m:tt,r:Ht,mt:Fe,mc:F,pc:Ne,pbc:Y,n:oe,o:t};let Ce,se;return e&&([Ce,se]=e(ee)),{render:J,hydrate:Ce,createApp:eb(J,Ce)}}function zd({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function So({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function ub(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function rv(t,e,n=!1){const r=t.children,o=e.children;if(It(r)&&It(o))for(let l=0;l>1,t[n[c]]0&&(e[r]=n[l-1]),n[l]=r)}}for(l=n.length,h=n[l-1];l-- >0;)n[l]=h,h=e[h];return n}function iv(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:iv(e)}function R1(t){if(t)for(let e=0;e_0(hb);function kl(t,e,n){return av(t,e,n)}function av(t,e,n=gn){const{immediate:r,deep:o,flush:l,once:h}=n,c=sr({},n),p=e&&r||!e&&l!=="post";let v;if(Rl){if(l==="sync"){const x=pb();v=x.__watcherHandles||(x.__watcherHandles=[])}else if(!p){const x=()=>{};return x.stop=xi,x.resume=xi,x.pause=xi,x}}const b=wr;c.call=(x,w,S)=>Ui(x,b,w,S);let g=!1;l==="post"?c.scheduler=x=>{qr(x,b&&b.suspense)}:l!=="sync"&&(g=!0,c.scheduler=(x,w)=>{w?x():zp(x)}),c.augmentJob=x=>{e&&(x.flags|=4),g&&(x.flags|=2,b&&(x.id=b.uid,x.i=b))};const m=M5(t,e,c);return Rl&&(v?v.push(m):p&&m()),m}function fb(t,e,n){const r=this.proxy,o=Vn(t)?t.includes(".")?ov(r,t):()=>r[t]:t.bind(r,r);let l;Bt(e)?l=e:(l=e.handler,n=e);const h=Fl(this),c=av(o,l.bind(r),n);return h(),c}function ov(t,e){const n=e.split(".");return()=>{let r=t;for(let o=0;oe==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Xa(e)}Modifiers`]||t[`${ao(e)}Modifiers`];function gb(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||gn;let o=n;const l=e.startsWith("update:"),h=l&&mb(r,e.slice(7));h&&(h.trim&&(o=n.map(b=>Vn(b)?b.trim():b)),h.number&&(o=n.map(Ch)));let c,p=r[c=Dd(e)]||r[c=Dd(Xa(e))];!p&&l&&(p=r[c=Dd(ao(e))]),p&&Ui(p,t,6,o);const v=r[c+"Once"];if(v){if(!t.emitted)t.emitted={};else if(t.emitted[c])return;t.emitted[c]=!0,Ui(v,t,6,o)}}function sv(t,e,n=!1){const r=e.emitsCache,o=r.get(t);if(o!==void 0)return o;const l=t.emits;let h={},c=!1;if(!Bt(t)){const p=v=>{const b=sv(v,e,!0);b&&(c=!0,sr(h,b))};!n&&e.mixins.length&&e.mixins.forEach(p),t.extends&&p(t.extends),t.mixins&&t.mixins.forEach(p)}return!l&&!c?(Rn(t)&&r.set(t,null),null):(It(l)?l.forEach(p=>h[p]=null):sr(h,l),Rn(t)&&r.set(t,h),h)}function Ic(t,e){return!t||!Ac(e)?!1:(e=e.slice(2).replace(/Once$/,""),rn(t,e[0].toLowerCase()+e.slice(1))||rn(t,ao(e))||rn(t,e))}function Bd(t){const{type:e,vnode:n,proxy:r,withProxy:o,propsOptions:[l],slots:h,attrs:c,emit:p,render:v,renderCache:b,props:g,data:m,setupState:x,ctx:w,inheritAttrs:S}=t,k=K0(t);let C,T;try{if(n.shapeFlag&4){const M=o||r,y=M;C=Pi(v.call(y,M,b,g,x,m,w)),T=c}else{const M=e;C=Pi(M.length>1?M(g,{attrs:c,slots:h,emit:p}):M(g,null)),T=e.props?c:vb(c)}}catch(M){Sl.length=0,Nc(M,t,1),C=Gr(Ya)}let A=C;if(T&&S!==!1){const M=Object.keys(T),{shapeFlag:y}=A;M.length&&y&7&&(l&&M.some(Mp)&&(T=bb(T,l)),A=ls(A,T,!1,!0))}return n.dirs&&(A=ls(A,null,!1,!0),A.dirs=A.dirs?A.dirs.concat(n.dirs):n.dirs),n.transition&&Bp(A,n.transition),C=A,K0(k),C}const vb=t=>{let e;for(const n in t)(n==="class"||n==="style"||Ac(n))&&((e||(e={}))[n]=t[n]);return e},bb=(t,e)=>{const n={};for(const r in t)(!Mp(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function yb(t,e,n){const{props:r,children:o,component:l}=t,{props:h,children:c,patchFlag:p}=e,v=l.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&p>=0){if(p&1024)return!0;if(p&16)return r?I1(r,h,v):!!h;if(p&8){const b=e.dynamicProps;for(let g=0;gt.__isSuspense;function xb(t,e){e&&e.pendingBranch?It(t)?e.effects.push(...t):e.effects.push(t):_5(t)}const wi=Symbol.for("v-fgt"),Oc=Symbol.for("v-txt"),Ya=Symbol.for("v-cmt"),N0=Symbol.for("v-stc"),Sl=[];let Wr=null;function Kt(t=!1){Sl.push(Wr=t?null:[])}function kb(){Sl.pop(),Wr=Sl[Sl.length-1]||null}let Dl=1;function O1(t,e=!1){Dl+=t,t<0&&Wr&&e&&(Wr.hasOnce=!0)}function cv(t){return t.dynamicChildren=Dl>0?Wr||Jo:null,kb(),Dl>0&&Wr&&Wr.push(t),t}function Xt(t,e,n,r,o,l){return cv(De(t,e,n,r,o,l,!0))}function Sb(t,e,n,r,o){return cv(Gr(t,e,n,r,o,!0))}function uv(t){return t?t.__v_isVNode===!0:!1}function el(t,e){return t.type===e.type&&t.key===e.key}const dv=({key:t})=>t??null,D0=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?Vn(t)||fr(t)||Bt(t)?{i:Qr,r:t,k:e,f:!!n}:t:null);function De(t,e=null,n=null,r=0,o=null,l=t===wi?0:1,h=!1,c=!1){const p={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&dv(e),ref:e&&D0(e),scopeId:j4,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Qr};return c?(Vp(p,n),l&128&&t.normalize(p)):n&&(p.shapeFlag|=Vn(n)?8:16),Dl>0&&!h&&Wr&&(p.patchFlag>0||l&6)&&p.patchFlag!==32&&Wr.push(p),p}const Gr=Eb;function Eb(t,e=null,n=null,r=0,o=null,l=!1){if((!t||t===W5)&&(t=Ya),uv(t)){const c=ls(t,e,!0);return n&&Vp(c,n),Dl>0&&!l&&Wr&&(c.shapeFlag&6?Wr[Wr.indexOf(t)]=c:Wr.push(c)),c.patchFlag=-2,c}if(Ob(t)&&(t=t.__vccOpts),e){e=Tb(e);let{class:c,style:p}=e;c&&!Vn(c)&&(e.class=ss(c)),Rn(p)&&(Pp(p)&&!It(p)&&(p=sr({},p)),e.style=os(p))}const h=Vn(t)?1:lv(t)?128:R5(t)?64:Rn(t)?4:Bt(t)?2:0;return De(t,e,n,r,o,h,l,!0)}function Tb(t){return t?Pp(t)||Y4(t)?sr({},t):t:null}function ls(t,e,n=!1,r=!1){const{props:o,ref:l,patchFlag:h,children:c,transition:p}=t,v=e?Ab(o||{},e):o,b={__v_isVNode:!0,__v_skip:!0,type:t.type,props:v,key:v&&dv(v),ref:e&&e.ref?n&&l?It(l)?l.concat(D0(e)):[l,D0(e)]:D0(e):l,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:c,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==wi?h===-1?16:h|16:h,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:p,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&ls(t.ssContent),ssFallback:t.ssFallback&&ls(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return p&&r&&Bp(b,p.clone(b)),b}function Up(t=" ",e=0){return Gr(Oc,null,t,e)}function H1(t,e){const n=Gr(N0,null,t);return n.staticCount=e,n}function Yr(t="",e=!1){return e?(Kt(),Sb(Ya,null,t)):Gr(Ya,null,t)}function Pi(t){return t==null||typeof t=="boolean"?Gr(Ya):It(t)?Gr(wi,null,t.slice()):uv(t)?Ua(t):Gr(Oc,null,String(t))}function Ua(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:ls(t)}function Vp(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(It(e))n=16;else if(typeof e=="object")if(r&65){const o=e.default;o&&(o._c&&(o._d=!1),Vp(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!Y4(e)?e._ctx=Qr:o===3&&Qr&&(Qr.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Bt(e)?(e={default:e,_ctx:Qr},n=32):(e=String(e),r&64?(n=16,e=[Up(e)]):n=8);t.children=e,t.shapeFlag|=n}function Ab(...t){const e={};for(let n=0;nwr||Qr;let Y0,Ph;{const t=Lc(),e=(n,r)=>{let o;return(o=t[n])||(o=t[n]=[]),o.push(r),l=>{o.length>1?o.forEach(h=>h(l)):o[0](l)}};Y0=e("__VUE_INSTANCE_SETTERS__",n=>wr=n),Ph=e("__VUE_SSR_SETTERS__",n=>Rl=n)}const Fl=t=>{const e=wr;return Y0(t),t.scope.on(),()=>{t.scope.off(),Y0(e)}},P1=()=>{wr&&wr.scope.off(),Y0(null)};function hv(t){return t.vnode.shapeFlag&4}let Rl=!1;function Nb(t,e=!1,n=!1){e&&Ph(e);const{props:r,children:o}=t.vnode,l=hv(t);nb(t,r,l,e),ob(t,o,n||e);const h=l?Db(t,e):void 0;return e&&Ph(!1),h}function Db(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,G5);const{setup:r}=n;if(r){Sa();const o=t.setupContext=r.length>1?Ib(t):null,l=Fl(t),h=Bl(r,t,0,[t.props,o]),c=f4(h);if(Ea(),l(),(c||t.sp)&&!wl(t)&&$4(t),c){if(h.then(P1,P1),e)return h.then(p=>{z1(t,p,e)}).catch(p=>{Nc(p,t,0)});t.asyncDep=h}else z1(t,h,e)}else pv(t,e)}function z1(t,e,n){Bt(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Rn(e)&&(t.setupState=P4(e)),pv(t,n)}let B1;function pv(t,e,n){const r=t.type;if(!t.render){if(!e&&B1&&!r.render){const o=r.template||qp(t).template;if(o){const{isCustomElement:l,compilerOptions:h}=t.appContext.config,{delimiters:c,compilerOptions:p}=r,v=sr(sr({isCustomElement:l,delimiters:c},h),p);r.render=B1(o,v)}}t.render=r.render||xi}{const o=Fl(t);Sa();try{K5(t)}finally{Ea(),o()}}}const Rb={get(t,e){return hr(t,"get",""),t[e]}};function Ib(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,Rb),slots:t.slots,emit:t.emit,expose:e}}function Hc(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(P4(y5(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in xl)return xl[n](t)},has(e,n){return n in e||n in xl}})):t.proxy}function Ob(t){return Bt(t)&&"__vccOpts"in t}const fv=(t,e)=>T5(t,e,Rl),Hb="3.5.20";/** +**/function Fl(t,e,n,r){try{return r?t(...r):t()}catch(o){Dc(o,e,n)}}function qi(t,e,n,r){if(Bt(t)){const o=Fl(t,e,n,r);return o&&f4(o)&&o.catch(l=>{Dc(l,e,n)}),o}if(Ot(t)){const o=[];for(let l=0;l>>1,o=yr[r],l=Dl(o);l=Dl(n)?yr.push(t):yr.splice(L5(e),0,t),t.flags|=1,B4()}}function B4(){K0||(K0=z4.then(q4))}function _5(t){Ot(t)?as.push(...t):Va&&t.id===-1?Va.splice(Qo+1,0,t):t.flags&1||(as.push(t),t.flags|=1),B4()}function M1(t,e,n=Ri+1){for(;nDl(n)-Dl(r));if(as.length=0,Va){Va.push(...e);return}for(Va=e,Qo=0;Qot.id==null?t.flags&2?-1:1/0:t.id;function q4(t){const e=ki;try{for(Ri=0;Ri{r._d&&O1(-1);const l=X0(e);let h;try{h=t(...o)}finally{X0(l),r._d&&O1(1)}return h};return r._n=!0,r._c=!0,r._d=!0,r}function Z0(t,e){if(ei===null)return t;const n=Pc(ei),r=t.dirs||(t.dirs=[]);for(let o=0;ot.__isTeleport,I5=Symbol("_leaveCb");function Bp(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Bp(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function $4(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function wl(t,e,n,r,o=!1){if(Ot(t)){t.forEach((w,S)=>wl(w,e&&(Ot(e)?e[S]:e),n,r,o));return}if(xl(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&wl(t,e,n,r.component.subTree);return}const l=r.shapeFlag&4?Pc(r.component):r.el,h=o?null:l,{i:c,r:p}=t,v=e&&e.r,b=c.refs===mn?c.refs={}:c.refs,g=c.setupState,m=nn(g),x=g===mn?h4:w=>rn(m,w);if(v!=null&&v!==p){if($n(v))b[v]=null,x(v)&&(g[v]=null);else if(hr(v)){v.value=null;const w=e;w.k&&(b[w.k]=null)}}if(Bt(p))Fl(p,c,12,[h,b]);else{const w=$n(p),S=hr(p);if(w||S){const k=()=>{if(t.f){const C=w?x(p)?g[p]:b[p]:p.value;if(o)Ot(C)&&Cp(C,l);else if(Ot(C))C.includes(l)||C.push(l);else if(w)b[p]=[l],x(p)&&(g[p]=b[p]);else{const T=[l];p.value=T,t.k&&(b[t.k]=T)}}else w?(b[p]=h,x(p)&&(g[p]=h)):S&&(p.value=h,t.k&&(b[t.k]=h))};h?(k.id=-1,qr(k,n)):k()}}}_c().requestIdleCallback;_c().cancelIdleCallback;const xl=t=>!!t.type.__asyncLoader,U4=t=>t.type.__isKeepAlive;function O5(t,e){V4(t,"a",e)}function H5(t,e){V4(t,"da",e)}function V4(t,e,n=wr){const r=t.__wdc||(t.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return t()});if(Rc(e,r,n),n){let o=n.parent;for(;o&&o.parent;)U4(o.parent.vnode)&&P5(r,e,n,o),o=o.parent}}function P5(t,e,n,r){const o=Rc(e,t,r,!0);Ic(()=>{Cp(r[e],o)},n)}function Rc(t,e,n=wr,r=!1){if(n){const o=n[t]||(n[t]=[]),l=e.__weh||(e.__weh=(...h)=>{Ea();const c=ql(n),p=qi(e,n,t,h);return c(),Ta(),p});return r?o.unshift(l):o.push(l),l}}const Da=t=>(e,n=wr)=>{(!Il||t==="sp")&&Rc(t,(...r)=>e(...r),n)},z5=Da("bm"),Fp=Da("m"),B5=Da("bu"),F5=Da("u"),q5=Da("bum"),Ic=Da("um"),j5=Da("sp"),$5=Da("rtg"),U5=Da("rtc");function V5(t,e=wr){Rc("ec",t,e)}const W5=Symbol.for("v-ndc");function W4(t,e,n,r){let o;const l=n&&n[r],h=Ot(t);if(h||$n(t)){const c=h&&is(t);let p=!1,v=!1;c&&(p=!ri(t),v=Ja(t),t=Nc(t)),o=new Array(t.length);for(let b=0,g=t.length;be(c,p,void 0,l&&l[p]));else{const c=Object.keys(t);o=new Array(c.length);for(let p=0,v=c.length;pt?hv(t)?Pc(t):Rh(t.parent):null,kl=sr(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Rh(t.parent),$root:t=>Rh(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>qp(t),$forceUpdate:t=>t.f||(t.f=()=>{zp(t.update)}),$nextTick:t=>t.n||(t.n=Ua.bind(t.proxy)),$watch:t=>fb.bind(t)}),Pd=(t,e)=>t!==mn&&!t.__isScriptSetup&&rn(t,e),G5={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:l,accessCache:h,type:c,appContext:p}=t;let v;if(e[0]!=="$"){const x=h[e];if(x!==void 0)switch(x){case 1:return r[e];case 2:return o[e];case 4:return n[e];case 3:return l[e]}else{if(Pd(r,e))return h[e]=1,r[e];if(o!==mn&&rn(o,e))return h[e]=2,o[e];if((v=t.propsOptions[0])&&rn(v,e))return h[e]=3,l[e];if(n!==mn&&rn(n,e))return h[e]=4,n[e];Ih&&(h[e]=0)}}const b=kl[e];let g,m;if(b)return e==="$attrs"&&ur(t.attrs,"get",""),b(t);if((g=c.__cssModules)&&(g=g[e]))return g;if(n!==mn&&rn(n,e))return h[e]=4,n[e];if(m=p.config.globalProperties,rn(m,e))return m[e]},set({_:t},e,n){const{data:r,setupState:o,ctx:l}=t;return Pd(o,e)?(o[e]=n,!0):r!==mn&&rn(r,e)?(r[e]=n,!0):rn(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(l[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:o,propsOptions:l,type:h}},c){let p,v;return!!(n[c]||t!==mn&&c[0]!=="$"&&rn(t,c)||Pd(e,c)||(p=l[0])&&rn(p,c)||rn(r,c)||rn(kl,c)||rn(o.config.globalProperties,c)||(v=h.__cssModules)&&v[c])},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:rn(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function C1(t){return Ot(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let Ih=!0;function K5(t){const e=qp(t),n=t.proxy,r=t.ctx;Ih=!1,e.beforeCreate&&L1(e.beforeCreate,t,"bc");const{data:o,computed:l,methods:h,watch:c,provide:p,inject:v,created:b,beforeMount:g,mounted:m,beforeUpdate:x,updated:w,activated:S,deactivated:k,beforeDestroy:C,beforeUnmount:T,destroyed:A,unmounted:M,render:y,renderTracked:N,renderTriggered:z,errorCaptured:F,serverPrefetch:P,expose:Y,inheritAttrs:te,components:de,directives:Ce,filters:qe}=e;if(v&&X5(v,r,null),h)for(const je in h){const Ne=h[je];Bt(Ne)&&(r[je]=Ne.bind(n))}if(o){const je=o.call(n,n);Rn(je)&&(t.data=Op(je))}if(Ih=!0,l)for(const je in l){const Ne=l[je],tt=Bt(Ne)?Ne.bind(n,n):Bt(Ne.get)?Ne.get.bind(n,n):ki,lt=!Bt(Ne)&&Bt(Ne.set)?Ne.set.bind(n):ki,Qe=fv({get:tt,set:lt});Object.defineProperty(r,je,{enumerable:!0,configurable:!0,get:()=>Qe.value,set:j=>Qe.value=j})}if(c)for(const je in c)G4(c[je],r,n,je);if(p){const je=Bt(p)?p.call(n):p;Reflect.ownKeys(je).forEach(Ne=>{tb(Ne,je[Ne])})}b&&L1(b,t,"c");function nt(je,Ne){Ot(Ne)?Ne.forEach(tt=>je(tt.bind(n))):Ne&&je(Ne.bind(n))}if(nt(z5,g),nt(Fp,m),nt(B5,x),nt(F5,w),nt(O5,S),nt(H5,k),nt(V5,F),nt(U5,N),nt($5,z),nt(q5,T),nt(Ic,M),nt(j5,P),Ot(Y))if(Y.length){const je=t.exposed||(t.exposed={});Y.forEach(Ne=>{Object.defineProperty(je,Ne,{get:()=>n[Ne],set:tt=>n[Ne]=tt,enumerable:!0})})}else t.exposed||(t.exposed={});y&&t.render===ki&&(t.render=y),te!=null&&(t.inheritAttrs=te),de&&(t.components=de),Ce&&(t.directives=Ce),P&&$4(t)}function X5(t,e,n=ki){Ot(t)&&(t=Oh(t));for(const r in t){const o=t[r];let l;Rn(o)?"default"in o?l=N0(o.from||r,o.default,!0):l=N0(o.from||r):l=N0(o),hr(l)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>l.value,set:h=>l.value=h}):e[r]=l}}function L1(t,e,n){qi(Ot(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function G4(t,e,n,r){let o=r.includes(".")?ov(n,r):()=>n[r];if($n(t)){const l=e[t];Bt(l)&&Sl(o,l)}else if(Bt(t))Sl(o,t.bind(n));else if(Rn(t))if(Ot(t))t.forEach(l=>G4(l,e,n,r));else{const l=Bt(t.handler)?t.handler.bind(n):e[t.handler];Bt(l)&&Sl(o,l,t)}}function qp(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:o,optionsCache:l,config:{optionMergeStrategies:h}}=t.appContext,c=l.get(e);let p;return c?p=c:!o.length&&!n&&!r?p=e:(p={},o.length&&o.forEach(v=>Y0(p,v,h,!0)),Y0(p,e,h)),Rn(e)&&l.set(e,p),p}function Y0(t,e,n,r=!1){const{mixins:o,extends:l}=e;l&&Y0(t,l,n,!0),o&&o.forEach(h=>Y0(t,h,n,!0));for(const h in e)if(!(r&&h==="expose")){const c=Z5[h]||n&&n[h];t[h]=c?c(t[h],e[h]):e[h]}return t}const Z5={data:_1,props:N1,emits:N1,methods:pl,computed:pl,beforeCreate:br,created:br,beforeMount:br,mounted:br,beforeUpdate:br,updated:br,beforeDestroy:br,beforeUnmount:br,destroyed:br,unmounted:br,activated:br,deactivated:br,errorCaptured:br,serverPrefetch:br,components:pl,directives:pl,watch:J5,provide:_1,inject:Y5};function _1(t,e){return e?t?function(){return sr(Bt(t)?t.call(this,this):t,Bt(e)?e.call(this,this):e)}:e:t}function Y5(t,e){return pl(Oh(t),Oh(e))}function Oh(t){if(Ot(t)){const e={};for(let n=0;n1)return n&&Bt(e)?e.call(r&&r.proxy):e}}const X4={},Z4=()=>Object.create(X4),Y4=t=>Object.getPrototypeOf(t)===X4;function nb(t,e,n,r=!1){const o={},l=Z4();t.propsDefaults=Object.create(null),J4(t,e,o,l);for(const h in t.propsOptions[0])h in o||(o[h]=void 0);n?t.props=r?o:b5(o):t.type.props?t.props=o:t.props=l,t.attrs=l}function rb(t,e,n,r){const{props:o,attrs:l,vnode:{patchFlag:h}}=t,c=nn(o),[p]=t.propsOptions;let v=!1;if((r||h>0)&&!(h&16)){if(h&8){const b=t.vnode.dynamicProps;for(let g=0;g{p=!0;const[m,x]=Q4(g,e,!0);sr(h,m),x&&c.push(...x)};!n&&e.mixins.length&&e.mixins.forEach(b),t.extends&&b(t.extends),t.mixins&&t.mixins.forEach(b)}if(!l&&!p)return Rn(t)&&r.set(t,ns),ns;if(Ot(l))for(let b=0;bt==="_"||t==="_ctx"||t==="$stable",$p=t=>Ot(t)?t.map(Ii):[Ii(t)],ab=(t,e,n)=>{if(e._n)return e;const r=N5((...o)=>$p(e(...o)),n);return r._c=!1,r},ev=(t,e,n)=>{const r=t._ctx;for(const o in t){if(jp(o))continue;const l=t[o];if(Bt(l))e[o]=ab(o,l,r);else if(l!=null){const h=$p(l);e[o]=()=>h}}},tv=(t,e)=>{const n=$p(e);t.slots.default=()=>n},nv=(t,e,n)=>{for(const r in e)(n||!jp(r))&&(t[r]=e[r])},ob=(t,e,n)=>{const r=t.slots=Z4();if(t.vnode.shapeFlag&32){const o=e._;o?(nv(r,e,n),n&&b4(r,"_",o,!0)):ev(e,r)}else e&&tv(t,e)},sb=(t,e,n)=>{const{vnode:r,slots:o}=t;let l=!0,h=mn;if(r.shapeFlag&32){const c=e._;c?n&&c===1?l=!1:nv(o,e,n):(l=!e.$stable,ev(e,o)),h=e}else e&&(tv(t,e),h={default:1});if(l)for(const c in o)!jp(c)&&h[c]==null&&delete o[c]},qr=xb;function lb(t){return cb(t)}function cb(t,e){const n=_c();n.__VUE__=!0;const{insert:r,remove:o,patchProp:l,createElement:h,createText:c,createComment:p,setText:v,setElementText:b,parentNode:g,nextSibling:m,setScopeId:x=ki,insertStaticContent:w}=t,S=(V,Z,ve,le=null,we=null,Ae=null,Fe=void 0,Ke=null,Xe=!!Z.dynamicChildren)=>{if(V===Z)return;V&&!tl(V,Z)&&(le=oe(V),j(V,we,Ae,!0),V=null),Z.patchFlag===-2&&(Xe=!1,Z.dynamicChildren=null);const{type:Be,ref:ot,shapeFlag:Ue}=Z;switch(Be){case Hc:k(V,Z,ve,le);break;case Qa:C(V,Z,ve,le);break;case D0:V==null&&T(Z,ve,le,Fe);break;case xi:de(V,Z,ve,le,we,Ae,Fe,Ke,Xe);break;default:Ue&1?y(V,Z,ve,le,we,Ae,Fe,Ke,Xe):Ue&6?Ce(V,Z,ve,le,we,Ae,Fe,Ke,Xe):(Ue&64||Ue&128)&&Be.process(V,Z,ve,le,we,Ae,Fe,Ke,Xe,Q)}ot!=null&&we?wl(ot,V&&V.ref,Ae,Z||V,!Z):ot==null&&V&&V.ref!=null&&wl(V.ref,null,Ae,V,!0)},k=(V,Z,ve,le)=>{if(V==null)r(Z.el=c(Z.children),ve,le);else{const we=Z.el=V.el;Z.children!==V.children&&v(we,Z.children)}},C=(V,Z,ve,le)=>{V==null?r(Z.el=p(Z.children||""),ve,le):Z.el=V.el},T=(V,Z,ve,le)=>{[V.el,V.anchor]=w(V.children,Z,ve,le,V.el,V.anchor)},A=({el:V,anchor:Z},ve,le)=>{let we;for(;V&&V!==Z;)we=m(V),r(V,ve,le),V=we;r(Z,ve,le)},M=({el:V,anchor:Z})=>{let ve;for(;V&&V!==Z;)ve=m(V),o(V),V=ve;o(Z)},y=(V,Z,ve,le,we,Ae,Fe,Ke,Xe)=>{Z.type==="svg"?Fe="svg":Z.type==="math"&&(Fe="mathml"),V==null?N(Z,ve,le,we,Ae,Fe,Ke,Xe):P(V,Z,we,Ae,Fe,Ke,Xe)},N=(V,Z,ve,le,we,Ae,Fe,Ke)=>{let Xe,Be;const{props:ot,shapeFlag:Ue,transition:Oe,dirs:mt}=V;if(Xe=V.el=h(V.type,Ae,ot&&ot.is,ot),Ue&8?b(Xe,V.children):Ue&16&&F(V.children,Xe,null,le,we,zd(V,Ae),Fe,Ke),mt&&ko(V,null,le,"created"),z(Xe,V,V.scopeId,Fe,le),ot){for(const Vt in ot)Vt!=="value"&&!vl(Vt)&&l(Xe,Vt,null,ot[Vt],Ae,le);"value"in ot&&l(Xe,"value",null,ot.value,Ae),(Be=ot.onVnodeBeforeMount)&&Ci(Be,le,V)}mt&&ko(V,null,le,"beforeMount");const Ct=ub(we,Oe);Ct&&Oe.beforeEnter(Xe),r(Xe,Z,ve),((Be=ot&&ot.onVnodeMounted)||Ct||mt)&&qr(()=>{Be&&Ci(Be,le,V),Ct&&Oe.enter(Xe),mt&&ko(V,null,le,"mounted")},we)},z=(V,Z,ve,le,we)=>{if(ve&&x(V,ve),le)for(let Ae=0;Ae{for(let Be=Xe;Be{const Ke=Z.el=V.el;let{patchFlag:Xe,dynamicChildren:Be,dirs:ot}=Z;Xe|=V.patchFlag&16;const Ue=V.props||mn,Oe=Z.props||mn;let mt;if(ve&&So(ve,!1),(mt=Oe.onVnodeBeforeUpdate)&&Ci(mt,ve,Z,V),ot&&ko(Z,V,ve,"beforeUpdate"),ve&&So(ve,!0),(Ue.innerHTML&&Oe.innerHTML==null||Ue.textContent&&Oe.textContent==null)&&b(Ke,""),Be?Y(V.dynamicChildren,Be,Ke,ve,le,zd(Z,we),Ae):Fe||Ne(V,Z,Ke,null,ve,le,zd(Z,we),Ae,!1),Xe>0){if(Xe&16)te(Ke,Ue,Oe,ve,we);else if(Xe&2&&Ue.class!==Oe.class&&l(Ke,"class",null,Oe.class,we),Xe&4&&l(Ke,"style",Ue.style,Oe.style,we),Xe&8){const Ct=Z.dynamicProps;for(let Vt=0;Vt{mt&&Ci(mt,ve,Z,V),ot&&ko(Z,V,ve,"updated")},le)},Y=(V,Z,ve,le,we,Ae,Fe)=>{for(let Ke=0;Ke{if(Z!==ve){if(Z!==mn)for(const Ae in Z)!vl(Ae)&&!(Ae in ve)&&l(V,Ae,Z[Ae],null,we,le);for(const Ae in ve){if(vl(Ae))continue;const Fe=ve[Ae],Ke=Z[Ae];Fe!==Ke&&Ae!=="value"&&l(V,Ae,Ke,Fe,we,le)}"value"in ve&&l(V,"value",Z.value,ve.value,we)}},de=(V,Z,ve,le,we,Ae,Fe,Ke,Xe)=>{const Be=Z.el=V?V.el:c(""),ot=Z.anchor=V?V.anchor:c("");let{patchFlag:Ue,dynamicChildren:Oe,slotScopeIds:mt}=Z;mt&&(Ke=Ke?Ke.concat(mt):mt),V==null?(r(Be,ve,le),r(ot,ve,le),F(Z.children||[],ve,ot,we,Ae,Fe,Ke,Xe)):Ue>0&&Ue&64&&Oe&&V.dynamicChildren?(Y(V.dynamicChildren,Oe,ve,we,Ae,Fe,Ke),(Z.key!=null||we&&Z===we.subTree)&&rv(V,Z,!0)):Ne(V,Z,ve,ot,we,Ae,Fe,Ke,Xe)},Ce=(V,Z,ve,le,we,Ae,Fe,Ke,Xe)=>{Z.slotScopeIds=Ke,V==null?Z.shapeFlag&512?we.ctx.activate(Z,ve,le,Fe,Xe):qe(Z,ve,le,we,Ae,Fe,Xe):Ge(V,Z,Xe)},qe=(V,Z,ve,le,we,Ae,Fe)=>{const Ke=V.component=Lb(V,le,we);if(U4(V)&&(Ke.ctx.renderer=Q),Nb(Ke,!1,Fe),Ke.asyncDep){if(we&&we.registerDep(Ke,nt,Fe),!V.el){const Xe=Ke.subTree=Gr(Qa);C(null,Xe,Z,ve),V.placeholder=Xe.el}}else nt(Ke,V,Z,ve,we,Ae,Fe)},Ge=(V,Z,ve)=>{const le=Z.component=V.component;if(yb(V,Z,ve))if(le.asyncDep&&!le.asyncResolved){je(le,Z,ve);return}else le.next=Z,le.update();else Z.el=V.el,le.vnode=Z},nt=(V,Z,ve,le,we,Ae,Fe)=>{const Ke=()=>{if(V.isMounted){let{next:Ue,bu:Oe,u:mt,parent:Ct,vnode:Vt}=V;{const kn=iv(V);if(kn){Ue&&(Ue.el=Vt.el,je(V,Ue,Fe)),kn.asyncDep.then(()=>{V.isUnmounted||Ke()});return}}let jt=Ue,qn;So(V,!1),Ue?(Ue.el=Vt.el,je(V,Ue,Fe)):Ue=Vt,Oe&&_0(Oe),(qn=Ue.props&&Ue.props.onVnodeBeforeUpdate)&&Ci(qn,Ct,Ue,Vt),So(V,!0);const Mn=Bd(V),In=V.subTree;V.subTree=Mn,S(In,Mn,g(In.el),oe(In),V,we,Ae),Ue.el=Mn.el,jt===null&&wb(V,Mn.el),mt&&qr(mt,we),(qn=Ue.props&&Ue.props.onVnodeUpdated)&&qr(()=>Ci(qn,Ct,Ue,Vt),we)}else{let Ue;const{el:Oe,props:mt}=Z,{bm:Ct,m:Vt,parent:jt,root:qn,type:Mn}=V,In=xl(Z);if(So(V,!1),Ct&&_0(Ct),!In&&(Ue=mt&&mt.onVnodeBeforeMount)&&Ci(Ue,jt,Z),So(V,!0),Oe&&se){const kn=()=>{V.subTree=Bd(V),se(Oe,V.subTree,V,we,null)};In&&Mn.__asyncHydrate?Mn.__asyncHydrate(Oe,V,kn):kn()}else{qn.ce&&qn.ce._def.shadowRoot!==!1&&qn.ce._injectChildStyle(Mn);const kn=V.subTree=Bd(V);S(null,kn,ve,le,V,we,Ae),Z.el=kn.el}if(Vt&&qr(Vt,we),!In&&(Ue=mt&&mt.onVnodeMounted)){const kn=Z;qr(()=>Ci(Ue,jt,kn),we)}(Z.shapeFlag&256||jt&&xl(jt.vnode)&&jt.vnode.shapeFlag&256)&&V.a&&qr(V.a,we),V.isMounted=!0,Z=ve=le=null}};V.scope.on();const Xe=V.effect=new k4(Ke);V.scope.off();const Be=V.update=Xe.run.bind(Xe),ot=V.job=Xe.runIfDirty.bind(Xe);ot.i=V,ot.id=V.uid,Xe.scheduler=()=>zp(ot),So(V,!0),Be()},je=(V,Z,ve)=>{Z.component=V;const le=V.vnode.props;V.vnode=Z,V.next=null,rb(V,Z.props,le,ve),sb(V,Z.children,ve),Ea(),M1(V),Ta()},Ne=(V,Z,ve,le,we,Ae,Fe,Ke,Xe=!1)=>{const Be=V&&V.children,ot=V?V.shapeFlag:0,Ue=Z.children,{patchFlag:Oe,shapeFlag:mt}=Z;if(Oe>0){if(Oe&128){lt(Be,Ue,ve,le,we,Ae,Fe,Ke,Xe);return}else if(Oe&256){tt(Be,Ue,ve,le,we,Ae,Fe,Ke,Xe);return}}mt&8?(ot&16&&Nt(Be,we,Ae),Ue!==Be&&b(ve,Ue)):ot&16?mt&16?lt(Be,Ue,ve,le,we,Ae,Fe,Ke,Xe):Nt(Be,we,Ae,!0):(ot&8&&b(ve,""),mt&16&&F(Ue,ve,le,we,Ae,Fe,Ke,Xe))},tt=(V,Z,ve,le,we,Ae,Fe,Ke,Xe)=>{V=V||ns,Z=Z||ns;const Be=V.length,ot=Z.length,Ue=Math.min(Be,ot);let Oe;for(Oe=0;Oeot?Nt(V,we,Ae,!0,!1,Ue):F(Z,ve,le,we,Ae,Fe,Ke,Xe,Ue)},lt=(V,Z,ve,le,we,Ae,Fe,Ke,Xe)=>{let Be=0;const ot=Z.length;let Ue=V.length-1,Oe=ot-1;for(;Be<=Ue&&Be<=Oe;){const mt=V[Be],Ct=Z[Be]=Xe?Wa(Z[Be]):Ii(Z[Be]);if(tl(mt,Ct))S(mt,Ct,ve,null,we,Ae,Fe,Ke,Xe);else break;Be++}for(;Be<=Ue&&Be<=Oe;){const mt=V[Ue],Ct=Z[Oe]=Xe?Wa(Z[Oe]):Ii(Z[Oe]);if(tl(mt,Ct))S(mt,Ct,ve,null,we,Ae,Fe,Ke,Xe);else break;Ue--,Oe--}if(Be>Ue){if(Be<=Oe){const mt=Oe+1,Ct=mtOe)for(;Be<=Ue;)j(V[Be],we,Ae,!0),Be++;else{const mt=Be,Ct=Be,Vt=new Map;for(Be=Ct;Be<=Oe;Be++){const Gn=Z[Be]=Xe?Wa(Z[Be]):Ii(Z[Be]);Gn.key!=null&&Vt.set(Gn.key,Be)}let jt,qn=0;const Mn=Oe-Ct+1;let In=!1,kn=0;const pr=new Array(Mn);for(Be=0;Be=Mn){j(Gn,we,Ae,!0);continue}let Rt;if(Gn.key!=null)Rt=Vt.get(Gn.key);else for(jt=Ct;jt<=Oe;jt++)if(pr[jt-Ct]===0&&tl(Gn,Z[jt])){Rt=jt;break}Rt===void 0?j(Gn,we,Ae,!0):(pr[Rt-Ct]=Be+1,Rt>=kn?kn=Rt:In=!0,S(Gn,Z[Rt],ve,null,we,Ae,Fe,Ke,Xe),qn++)}const tr=In?db(pr):ns;for(jt=tr.length-1,Be=Mn-1;Be>=0;Be--){const Gn=Ct+Be,Rt=Z[Gn],Pn=Z[Gn+1],tn=Gn+1{const{el:Ae,type:Fe,transition:Ke,children:Xe,shapeFlag:Be}=V;if(Be&6){Qe(V.component.subTree,Z,ve,le);return}if(Be&128){V.suspense.move(Z,ve,le);return}if(Be&64){Fe.move(V,Z,ve,Q);return}if(Fe===xi){r(Ae,Z,ve);for(let Ue=0;UeKe.enter(Ae),we);else{const{leave:Ue,delayLeave:Oe,afterLeave:mt}=Ke,Ct=()=>{V.ctx.isUnmounted?o(Ae):r(Ae,Z,ve)},Vt=()=>{Ae._isLeaving&&Ae[I5](!0),Ue(Ae,()=>{Ct(),mt&&mt()})};Oe?Oe(Ae,Ct,Vt):Vt()}else r(Ae,Z,ve)},j=(V,Z,ve,le=!1,we=!1)=>{const{type:Ae,props:Fe,ref:Ke,children:Xe,dynamicChildren:Be,shapeFlag:ot,patchFlag:Ue,dirs:Oe,cacheIndex:mt}=V;if(Ue===-2&&(we=!1),Ke!=null&&(Ea(),wl(Ke,null,ve,V,!0),Ta()),mt!=null&&(Z.renderCache[mt]=void 0),ot&256){Z.ctx.deactivate(V);return}const Ct=ot&1&&Oe,Vt=!xl(V);let jt;if(Vt&&(jt=Fe&&Fe.onVnodeBeforeUnmount)&&Ci(jt,Z,V),ot&6)Ut(V.component,ve,le);else{if(ot&128){V.suspense.unmount(ve,le);return}Ct&&ko(V,null,Z,"beforeUnmount"),ot&64?V.type.remove(V,Z,ve,Q,le):Be&&!Be.hasOnce&&(Ae!==xi||Ue>0&&Ue&64)?Nt(Be,Z,ve,!1,!0):(Ae===xi&&Ue&384||!we&&ot&16)&&Nt(Xe,Z,ve),le&&Ht(V)}(Vt&&(jt=Fe&&Fe.onVnodeUnmounted)||Ct)&&qr(()=>{jt&&Ci(jt,Z,V),Ct&&ko(V,null,Z,"unmounted")},ve)},Ht=V=>{const{type:Z,el:ve,anchor:le,transition:we}=V;if(Z===xi){Dt(ve,le);return}if(Z===D0){M(V);return}const Ae=()=>{o(ve),we&&!we.persisted&&we.afterLeave&&we.afterLeave()};if(V.shapeFlag&1&&we&&!we.persisted){const{leave:Fe,delayLeave:Ke}=we,Xe=()=>Fe(ve,Ae);Ke?Ke(V.el,Ae,Xe):Xe()}else Ae()},Dt=(V,Z)=>{let ve;for(;V!==Z;)ve=m(V),o(V),V=ve;o(Z)},Ut=(V,Z,ve)=>{const{bum:le,scope:we,job:Ae,subTree:Fe,um:Ke,m:Xe,a:Be}=V;R1(Xe),R1(Be),le&&_0(le),we.stop(),Ae&&(Ae.flags|=8,j(Fe,V,Z,ve)),Ke&&qr(Ke,Z),qr(()=>{V.isUnmounted=!0},Z)},Nt=(V,Z,ve,le=!1,we=!1,Ae=0)=>{for(let Fe=Ae;Fe{if(V.shapeFlag&6)return oe(V.component.subTree);if(V.shapeFlag&128)return V.suspense.next();const Z=m(V.anchor||V.el),ve=Z&&Z[D5];return ve?m(ve):Z};let he=!1;const J=(V,Z,ve)=>{V==null?Z._vnode&&j(Z._vnode,null,null,!0):S(Z._vnode||null,V,Z,null,null,null,ve),Z._vnode=V,he||(he=!0,M1(),F4(),he=!1)},Q={p:S,um:j,m:Qe,r:Ht,mt:qe,mc:F,pc:Ne,pbc:Y,n:oe,o:t};let De,se;return e&&([De,se]=e(Q)),{render:J,hydrate:De,createApp:eb(J,De)}}function zd({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function So({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function ub(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function rv(t,e,n=!1){const r=t.children,o=e.children;if(Ot(r)&&Ot(o))for(let l=0;l>1,t[n[c]]0&&(e[r]=n[l-1]),n[l]=r)}}for(l=n.length,h=n[l-1];l-- >0;)n[l]=h,h=e[h];return n}function iv(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:iv(e)}function R1(t){if(t)for(let e=0;eN0(hb);function Sl(t,e,n){return av(t,e,n)}function av(t,e,n=mn){const{immediate:r,deep:o,flush:l,once:h}=n,c=sr({},n),p=e&&r||!e&&l!=="post";let v;if(Il){if(l==="sync"){const x=pb();v=x.__watcherHandles||(x.__watcherHandles=[])}else if(!p){const x=()=>{};return x.stop=ki,x.resume=ki,x.pause=ki,x}}const b=wr;c.call=(x,w,S)=>qi(x,b,w,S);let g=!1;l==="post"?c.scheduler=x=>{qr(x,b&&b.suspense)}:l!=="sync"&&(g=!0,c.scheduler=(x,w)=>{w?x():zp(x)}),c.augmentJob=x=>{e&&(x.flags|=4),g&&(x.flags|=2,b&&(x.id=b.uid,x.i=b))};const m=M5(t,e,c);return Il&&(v?v.push(m):p&&m()),m}function fb(t,e,n){const r=this.proxy,o=$n(t)?t.includes(".")?ov(r,t):()=>r[t]:t.bind(r,r);let l;Bt(e)?l=e:(l=e.handler,n=e);const h=ql(this),c=av(o,l.bind(r),n);return h(),c}function ov(t,e){const n=e.split(".");return()=>{let r=t;for(let o=0;oe==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Ya(e)}Modifiers`]||t[`${so(e)}Modifiers`];function gb(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||mn;let o=n;const l=e.startsWith("update:"),h=l&&mb(r,e.slice(7));h&&(h.trim&&(o=n.map(b=>$n(b)?b.trim():b)),h.number&&(o=n.map(Ch)));let c,p=r[c=Dd(e)]||r[c=Dd(Ya(e))];!p&&l&&(p=r[c=Dd(so(e))]),p&&qi(p,t,6,o);const v=r[c+"Once"];if(v){if(!t.emitted)t.emitted={};else if(t.emitted[c])return;t.emitted[c]=!0,qi(v,t,6,o)}}function sv(t,e,n=!1){const r=e.emitsCache,o=r.get(t);if(o!==void 0)return o;const l=t.emits;let h={},c=!1;if(!Bt(t)){const p=v=>{const b=sv(v,e,!0);b&&(c=!0,sr(h,b))};!n&&e.mixins.length&&e.mixins.forEach(p),t.extends&&p(t.extends),t.mixins&&t.mixins.forEach(p)}return!l&&!c?(Rn(t)&&r.set(t,null),null):(Ot(l)?l.forEach(p=>h[p]=null):sr(h,l),Rn(t)&&r.set(t,h),h)}function Oc(t,e){return!t||!Mc(e)?!1:(e=e.slice(2).replace(/Once$/,""),rn(t,e[0].toLowerCase()+e.slice(1))||rn(t,so(e))||rn(t,e))}function Bd(t){const{type:e,vnode:n,proxy:r,withProxy:o,propsOptions:[l],slots:h,attrs:c,emit:p,render:v,renderCache:b,props:g,data:m,setupState:x,ctx:w,inheritAttrs:S}=t,k=X0(t);let C,T;try{if(n.shapeFlag&4){const M=o||r,y=M;C=Ii(v.call(y,M,b,g,x,m,w)),T=c}else{const M=e;C=Ii(M.length>1?M(g,{attrs:c,slots:h,emit:p}):M(g,null)),T=e.props?c:vb(c)}}catch(M){El.length=0,Dc(M,t,1),C=Gr(Qa)}let A=C;if(T&&S!==!1){const M=Object.keys(T),{shapeFlag:y}=A;M.length&&y&7&&(l&&M.some(Mp)&&(T=bb(T,l)),A=ds(A,T,!1,!0))}return n.dirs&&(A=ds(A,null,!1,!0),A.dirs=A.dirs?A.dirs.concat(n.dirs):n.dirs),n.transition&&Bp(A,n.transition),C=A,X0(k),C}const vb=t=>{let e;for(const n in t)(n==="class"||n==="style"||Mc(n))&&((e||(e={}))[n]=t[n]);return e},bb=(t,e)=>{const n={};for(const r in t)(!Mp(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function yb(t,e,n){const{props:r,children:o,component:l}=t,{props:h,children:c,patchFlag:p}=e,v=l.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&p>=0){if(p&1024)return!0;if(p&16)return r?I1(r,h,v):!!h;if(p&8){const b=e.dynamicProps;for(let g=0;gt.__isSuspense;function xb(t,e){e&&e.pendingBranch?Ot(t)?e.effects.push(...t):e.effects.push(t):_5(t)}const xi=Symbol.for("v-fgt"),Hc=Symbol.for("v-txt"),Qa=Symbol.for("v-cmt"),D0=Symbol.for("v-stc"),El=[];let Wr=null;function Xt(t=!1){El.push(Wr=t?null:[])}function kb(){El.pop(),Wr=El[El.length-1]||null}let Rl=1;function O1(t,e=!1){Rl+=t,t<0&&Wr&&e&&(Wr.hasOnce=!0)}function cv(t){return t.dynamicChildren=Rl>0?Wr||ns:null,kb(),Rl>0&&Wr&&Wr.push(t),t}function Yt(t,e,n,r,o,l){return cv(Re(t,e,n,r,o,l,!0))}function Sb(t,e,n,r,o){return cv(Gr(t,e,n,r,o,!0))}function uv(t){return t?t.__v_isVNode===!0:!1}function tl(t,e){return t.type===e.type&&t.key===e.key}const dv=({key:t})=>t??null,R0=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?$n(t)||hr(t)||Bt(t)?{i:ei,r:t,k:e,f:!!n}:t:null);function Re(t,e=null,n=null,r=0,o=null,l=t===xi?0:1,h=!1,c=!1){const p={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&dv(e),ref:e&&R0(e),scopeId:j4,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:ei};return c?(Vp(p,n),l&128&&t.normalize(p)):n&&(p.shapeFlag|=$n(n)?8:16),Rl>0&&!h&&Wr&&(p.patchFlag>0||l&6)&&p.patchFlag!==32&&Wr.push(p),p}const Gr=Eb;function Eb(t,e=null,n=null,r=0,o=null,l=!1){if((!t||t===W5)&&(t=Qa),uv(t)){const c=ds(t,e,!0);return n&&Vp(c,n),Rl>0&&!l&&Wr&&(c.shapeFlag&6?Wr[Wr.indexOf(t)]=c:Wr.push(c)),c.patchFlag=-2,c}if(Ob(t)&&(t=t.__vccOpts),e){e=Tb(e);let{class:c,style:p}=e;c&&!$n(c)&&(e.class=Ro(c)),Rn(p)&&(Pp(p)&&!Ot(p)&&(p=sr({},p)),e.style=us(p))}const h=$n(t)?1:lv(t)?128:R5(t)?64:Rn(t)?4:Bt(t)?2:0;return Re(t,e,n,r,o,h,l,!0)}function Tb(t){return t?Pp(t)||Y4(t)?sr({},t):t:null}function ds(t,e,n=!1,r=!1){const{props:o,ref:l,patchFlag:h,children:c,transition:p}=t,v=e?Ab(o||{},e):o,b={__v_isVNode:!0,__v_skip:!0,type:t.type,props:v,key:v&&dv(v),ref:e&&e.ref?n&&l?Ot(l)?l.concat(R0(e)):[l,R0(e)]:R0(e):l,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:c,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==xi?h===-1?16:h|16:h,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:p,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&ds(t.ssContent),ssFallback:t.ssFallback&&ds(t.ssFallback),placeholder:t.placeholder,el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return p&&r&&Bp(b,p.clone(b)),b}function Up(t=" ",e=0){return Gr(Hc,null,t,e)}function H1(t,e){const n=Gr(D0,null,t);return n.staticCount=e,n}function Jr(t="",e=!1){return e?(Xt(),Sb(Qa,null,t)):Gr(Qa,null,t)}function Ii(t){return t==null||typeof t=="boolean"?Gr(Qa):Ot(t)?Gr(xi,null,t.slice()):uv(t)?Wa(t):Gr(Hc,null,String(t))}function Wa(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:ds(t)}function Vp(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(Ot(e))n=16;else if(typeof e=="object")if(r&65){const o=e.default;o&&(o._c&&(o._d=!1),Vp(t,o()),o._c&&(o._d=!0));return}else{n=32;const o=e._;!o&&!Y4(e)?e._ctx=ei:o===3&&ei&&(ei.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Bt(e)?(e={default:e,_ctx:ei},n=32):(e=String(e),r&64?(n=16,e=[Up(e)]):n=8);t.children=e,t.shapeFlag|=n}function Ab(...t){const e={};for(let n=0;nwr||ei;let J0,Ph;{const t=_c(),e=(n,r)=>{let o;return(o=t[n])||(o=t[n]=[]),o.push(r),l=>{o.length>1?o.forEach(h=>h(l)):o[0](l)}};J0=e("__VUE_INSTANCE_SETTERS__",n=>wr=n),Ph=e("__VUE_SSR_SETTERS__",n=>Il=n)}const ql=t=>{const e=wr;return J0(t),t.scope.on(),()=>{t.scope.off(),J0(e)}},P1=()=>{wr&&wr.scope.off(),J0(null)};function hv(t){return t.vnode.shapeFlag&4}let Il=!1;function Nb(t,e=!1,n=!1){e&&Ph(e);const{props:r,children:o}=t.vnode,l=hv(t);nb(t,r,l,e),ob(t,o,n||e);const h=l?Db(t,e):void 0;return e&&Ph(!1),h}function Db(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,G5);const{setup:r}=n;if(r){Ea();const o=t.setupContext=r.length>1?Ib(t):null,l=ql(t),h=Fl(r,t,0,[t.props,o]),c=f4(h);if(Ta(),l(),(c||t.sp)&&!xl(t)&&$4(t),c){if(h.then(P1,P1),e)return h.then(p=>{z1(t,p,e)}).catch(p=>{Dc(p,t,0)});t.asyncDep=h}else z1(t,h,e)}else pv(t,e)}function z1(t,e,n){Bt(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Rn(e)&&(t.setupState=P4(e)),pv(t,n)}let B1;function pv(t,e,n){const r=t.type;if(!t.render){if(!e&&B1&&!r.render){const o=r.template||qp(t).template;if(o){const{isCustomElement:l,compilerOptions:h}=t.appContext.config,{delimiters:c,compilerOptions:p}=r,v=sr(sr({isCustomElement:l,delimiters:c},h),p);r.render=B1(o,v)}}t.render=r.render||ki}{const o=ql(t);Ea();try{K5(t)}finally{Ta(),o()}}}const Rb={get(t,e){return ur(t,"get",""),t[e]}};function Ib(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,Rb),slots:t.slots,emit:t.emit,expose:e}}function Pc(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(P4(y5(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in kl)return kl[n](t)},has(e,n){return n in e||n in kl}})):t.proxy}function Ob(t){return Bt(t)&&"__vccOpts"in t}const fv=(t,e)=>T5(t,e,Il),Hb="3.5.20";/** * @vue/runtime-dom v3.5.20 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let zh;const F1=typeof window<"u"&&window.trustedTypes;if(F1)try{zh=F1.createPolicy("vue",{createHTML:t=>t})}catch{}const mv=zh?t=>zh.createHTML(t):t=>t,Pb="http://www.w3.org/2000/svg",zb="http://www.w3.org/1998/Math/MathML",la=typeof document<"u"?document:null,q1=la&&la.createElement("template"),Bb={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const o=e==="svg"?la.createElementNS(Pb,t):e==="mathml"?la.createElementNS(zb,t):n?la.createElement(t,{is:n}):la.createElement(t);return t==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:t=>la.createTextNode(t),createComment:t=>la.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>la.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,o,l){const h=n?n.previousSibling:e.lastChild;if(o&&(o===l||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),n),!(o===l||!(o=o.nextSibling)););else{q1.innerHTML=mv(r==="svg"?`${t}`:r==="mathml"?`${t}`:t);const c=q1.content;if(r==="svg"||r==="mathml"){const p=c.firstChild;for(;p.firstChild;)c.appendChild(p.firstChild);c.removeChild(p)}e.insertBefore(c,n)}return[h?h.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},Fb=Symbol("_vtc");function qb(t,e,n){const r=t[Fb];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const J0=Symbol("_vod"),gv=Symbol("_vsh"),jb={name:"show",beforeMount(t,{value:e},{transition:n}){t[J0]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):tl(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:r}){!e!=!n&&(r?e?(r.beforeEnter(t),tl(t,!0),r.enter(t)):r.leave(t,()=>{tl(t,!1)}):tl(t,e))},beforeUnmount(t,{value:e}){tl(t,e)}};function tl(t,e){t.style.display=e?t[J0]:"none",t[gv]=!e}const $b=Symbol(""),Ub=/(^|;)\s*display\s*:/;function Vb(t,e,n){const r=t.style,o=Vn(n);let l=!1;if(n&&!o){if(e)if(Vn(e))for(const h of e.split(";")){const c=h.slice(0,h.indexOf(":")).trim();n[c]==null&&R0(r,c,"")}else for(const h in e)n[h]==null&&R0(r,h,"");for(const h in n)h==="display"&&(l=!0),R0(r,h,n[h])}else if(o){if(e!==n){const h=r[$b];h&&(n+=";"+h),r.cssText=n,l=Ub.test(n)}}else e&&t.removeAttribute("style");J0 in t&&(t[J0]=l?r.display:"",t[gv]&&(r.display="none"))}const j1=/\s*!important$/;function R0(t,e,n){if(It(n))n.forEach(r=>R0(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=Wb(t,e);j1.test(n)?t.setProperty(ao(r),n.replace(j1,""),"important"):t[r]=n}}const $1=["Webkit","Moz","ms"],Fd={};function Wb(t,e){const n=Fd[e];if(n)return n;let r=Xa(e);if(r!=="filter"&&r in t)return Fd[e]=r;r=v4(r);for(let o=0;o<$1.length;o++){const l=$1[o]+r;if(l in t)return Fd[e]=l}return e}const U1="http://www.w3.org/1999/xlink";function V1(t,e,n,r,o,l=Y2(e)){r&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(U1,e.slice(6,e.length)):t.setAttributeNS(U1,e,n):n==null||l&&!y4(n)?t.removeAttribute(e):t.setAttribute(e,l?"":io(n)?String(n):n)}function W1(t,e,n,r,o){if(e==="innerHTML"||e==="textContent"){n!=null&&(t[e]=e==="innerHTML"?mv(n):n);return}const l=t.tagName;if(e==="value"&&l!=="PROGRESS"&&!l.includes("-")){const c=l==="OPTION"?t.getAttribute("value")||"":t.value,p=n==null?t.type==="checkbox"?"on":"":String(n);(c!==p||!("_value"in t))&&(t.value=p),n==null&&t.removeAttribute(e),t._value=n;return}let h=!1;if(n===""||n==null){const c=typeof t[e];c==="boolean"?n=y4(n):n==null&&c==="string"?(n="",h=!0):c==="number"&&(n=0,h=!0)}try{t[e]=n}catch{}h&&t.removeAttribute(o||e)}function Zo(t,e,n,r){t.addEventListener(e,n,r)}function Gb(t,e,n,r){t.removeEventListener(e,n,r)}const G1=Symbol("_vei");function Kb(t,e,n,r,o=null){const l=t[G1]||(t[G1]={}),h=l[e];if(r&&h)h.value=r;else{const[c,p]=Xb(e);if(r){const v=l[e]=Jb(r,o);Zo(t,c,v,p)}else h&&(Gb(t,c,h,p),l[e]=void 0)}}const K1=/(?:Once|Passive|Capture)$/;function Xb(t){let e;if(K1.test(t)){e={};let r;for(;r=t.match(K1);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):ao(t.slice(2)),e]}let qd=0;const Zb=Promise.resolve(),Yb=()=>qd||(Zb.then(()=>qd=0),qd=Date.now());function Jb(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ui(Qb(r,n.value),e,5,[r])};return n.value=t,n.attached=Yb(),n}function Qb(t,e){if(It(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>o=>!o._stopped&&r&&r(o))}else return e}const X1=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,ey=(t,e,n,r,o,l)=>{const h=o==="svg";e==="class"?qb(t,r,h):e==="style"?Vb(t,n,r):Ac(e)?Mp(e)||Kb(t,e,n,r,l):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):ty(t,e,r,h))?(W1(t,e,r),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&V1(t,e,r,h,l,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!Vn(r))?W1(t,Xa(e),r,l,e):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),V1(t,e,r,h))};function ty(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&X1(e)&&Bt(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const o=t.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return X1(e)&&Vn(n)?!1:e in t}const Z1=t=>{const e=t.props["onUpdate:modelValue"]||!1;return It(e)?n=>L0(e,n):e};function ny(t){t.target.composing=!0}function Y1(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const jd=Symbol("_assign"),Wp={created(t,{modifiers:{lazy:e,trim:n,number:r}},o){t[jd]=Z1(o);const l=r||o.props&&o.props.type==="number";Zo(t,e?"change":"input",h=>{if(h.target.composing)return;let c=t.value;n&&(c=c.trim()),l&&(c=Ch(c)),t[jd](c)}),n&&Zo(t,"change",()=>{t.value=t.value.trim()}),e||(Zo(t,"compositionstart",ny),Zo(t,"compositionend",Y1),Zo(t,"change",Y1))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:r,trim:o,number:l}},h){if(t[jd]=Z1(h),t.composing)return;const c=(l||t.type==="number")&&!/^0\d/.test(t.value)?Ch(t.value):t.value,p=e??"";c!==p&&(document.activeElement===t&&t.type!=="range"&&(r&&e===n||o&&t.value.trim()===p)||(t.value=p))}},ry=["ctrl","shift","alt","meta"],iy={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>ry.some(n=>t[`${n}Key`]&&!e.includes(n))},Uo=(t,e)=>{const n=t._withMods||(t._withMods={}),r=e.join(".");return n[r]||(n[r]=(o,...l)=>{for(let h=0;h{const n=t._withKeys||(t._withKeys={}),r=e.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const l=ao(o.key);if(e.some(h=>h===l||ay[h]===l))return t(o)})},oy=sr({patchProp:ey},Bb);let J1;function sy(){return J1||(J1=lb(oy))}const ly=(...t)=>{const e=sy().createApp(...t),{mount:n}=e;return e.mount=r=>{const o=uy(r);if(!o)return;const l=e._component;!Bt(l)&&!l.render&&!l.template&&(l.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const h=n(o,!1,cy(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),h},e};function cy(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function uy(t){return Vn(t)?document.querySelector(t):t}var Bh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function vv(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function iC(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return t[r]}})}),n}var bv={exports:{}};/*! +**/let zh;const F1=typeof window<"u"&&window.trustedTypes;if(F1)try{zh=F1.createPolicy("vue",{createHTML:t=>t})}catch{}const mv=zh?t=>zh.createHTML(t):t=>t,Pb="http://www.w3.org/2000/svg",zb="http://www.w3.org/1998/Math/MathML",ca=typeof document<"u"?document:null,q1=ca&&ca.createElement("template"),Bb={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const o=e==="svg"?ca.createElementNS(Pb,t):e==="mathml"?ca.createElementNS(zb,t):n?ca.createElement(t,{is:n}):ca.createElement(t);return t==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:t=>ca.createTextNode(t),createComment:t=>ca.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>ca.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,o,l){const h=n?n.previousSibling:e.lastChild;if(o&&(o===l||o.nextSibling))for(;e.insertBefore(o.cloneNode(!0),n),!(o===l||!(o=o.nextSibling)););else{q1.innerHTML=mv(r==="svg"?`${t}`:r==="mathml"?`${t}`:t);const c=q1.content;if(r==="svg"||r==="mathml"){const p=c.firstChild;for(;p.firstChild;)c.appendChild(p.firstChild);c.removeChild(p)}e.insertBefore(c,n)}return[h?h.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},Fb=Symbol("_vtc");function qb(t,e,n){const r=t[Fb];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const Q0=Symbol("_vod"),gv=Symbol("_vsh"),jb={name:"show",beforeMount(t,{value:e},{transition:n}){t[Q0]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):nl(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:r}){!e!=!n&&(r?e?(r.beforeEnter(t),nl(t,!0),r.enter(t)):r.leave(t,()=>{nl(t,!1)}):nl(t,e))},beforeUnmount(t,{value:e}){nl(t,e)}};function nl(t,e){t.style.display=e?t[Q0]:"none",t[gv]=!e}const $b=Symbol(""),Ub=/(^|;)\s*display\s*:/;function Vb(t,e,n){const r=t.style,o=$n(n);let l=!1;if(n&&!o){if(e)if($n(e))for(const h of e.split(";")){const c=h.slice(0,h.indexOf(":")).trim();n[c]==null&&I0(r,c,"")}else for(const h in e)n[h]==null&&I0(r,h,"");for(const h in n)h==="display"&&(l=!0),I0(r,h,n[h])}else if(o){if(e!==n){const h=r[$b];h&&(n+=";"+h),r.cssText=n,l=Ub.test(n)}}else e&&t.removeAttribute("style");Q0 in t&&(t[Q0]=l?r.display:"",t[gv]&&(r.display="none"))}const j1=/\s*!important$/;function I0(t,e,n){if(Ot(n))n.forEach(r=>I0(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=Wb(t,e);j1.test(n)?t.setProperty(so(r),n.replace(j1,""),"important"):t[r]=n}}const $1=["Webkit","Moz","ms"],Fd={};function Wb(t,e){const n=Fd[e];if(n)return n;let r=Ya(e);if(r!=="filter"&&r in t)return Fd[e]=r;r=v4(r);for(let o=0;o<$1.length;o++){const l=$1[o]+r;if(l in t)return Fd[e]=l}return e}const U1="http://www.w3.org/1999/xlink";function V1(t,e,n,r,o,l=Y2(e)){r&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(U1,e.slice(6,e.length)):t.setAttributeNS(U1,e,n):n==null||l&&!y4(n)?t.removeAttribute(e):t.setAttribute(e,l?"":oo(n)?String(n):n)}function W1(t,e,n,r,o){if(e==="innerHTML"||e==="textContent"){n!=null&&(t[e]=e==="innerHTML"?mv(n):n);return}const l=t.tagName;if(e==="value"&&l!=="PROGRESS"&&!l.includes("-")){const c=l==="OPTION"?t.getAttribute("value")||"":t.value,p=n==null?t.type==="checkbox"?"on":"":String(n);(c!==p||!("_value"in t))&&(t.value=p),n==null&&t.removeAttribute(e),t._value=n;return}let h=!1;if(n===""||n==null){const c=typeof t[e];c==="boolean"?n=y4(n):n==null&&c==="string"?(n="",h=!0):c==="number"&&(n=0,h=!0)}try{t[e]=n}catch{}h&&t.removeAttribute(o||e)}function es(t,e,n,r){t.addEventListener(e,n,r)}function Gb(t,e,n,r){t.removeEventListener(e,n,r)}const G1=Symbol("_vei");function Kb(t,e,n,r,o=null){const l=t[G1]||(t[G1]={}),h=l[e];if(r&&h)h.value=r;else{const[c,p]=Xb(e);if(r){const v=l[e]=Jb(r,o);es(t,c,v,p)}else h&&(Gb(t,c,h,p),l[e]=void 0)}}const K1=/(?:Once|Passive|Capture)$/;function Xb(t){let e;if(K1.test(t)){e={};let r;for(;r=t.match(K1);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):so(t.slice(2)),e]}let qd=0;const Zb=Promise.resolve(),Yb=()=>qd||(Zb.then(()=>qd=0),qd=Date.now());function Jb(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;qi(Qb(r,n.value),e,5,[r])};return n.value=t,n.attached=Yb(),n}function Qb(t,e){if(Ot(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>o=>!o._stopped&&r&&r(o))}else return e}const X1=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,ey=(t,e,n,r,o,l)=>{const h=o==="svg";e==="class"?qb(t,r,h):e==="style"?Vb(t,n,r):Mc(e)?Mp(e)||Kb(t,e,n,r,l):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):ty(t,e,r,h))?(W1(t,e,r),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&V1(t,e,r,h,l,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!$n(r))?W1(t,Ya(e),r,l,e):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),V1(t,e,r,h))};function ty(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&X1(e)&&Bt(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="autocorrect"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const o=t.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return X1(e)&&$n(n)?!1:e in t}const Z1=t=>{const e=t.props["onUpdate:modelValue"]||!1;return Ot(e)?n=>_0(e,n):e};function ny(t){t.target.composing=!0}function Y1(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const jd=Symbol("_assign"),Wp={created(t,{modifiers:{lazy:e,trim:n,number:r}},o){t[jd]=Z1(o);const l=r||o.props&&o.props.type==="number";es(t,e?"change":"input",h=>{if(h.target.composing)return;let c=t.value;n&&(c=c.trim()),l&&(c=Ch(c)),t[jd](c)}),n&&es(t,"change",()=>{t.value=t.value.trim()}),e||(es(t,"compositionstart",ny),es(t,"compositionend",Y1),es(t,"change",Y1))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:r,trim:o,number:l}},h){if(t[jd]=Z1(h),t.composing)return;const c=(l||t.type==="number")&&!/^0\d/.test(t.value)?Ch(t.value):t.value,p=e??"";c!==p&&(document.activeElement===t&&t.type!=="range"&&(r&&e===n||o&&t.value.trim()===p)||(t.value=p))}},ry=["ctrl","shift","alt","meta"],iy={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>ry.some(n=>t[`${n}Key`]&&!e.includes(n))},Ko=(t,e)=>{const n=t._withMods||(t._withMods={}),r=e.join(".");return n[r]||(n[r]=(o,...l)=>{for(let h=0;h{const n=t._withKeys||(t._withKeys={}),r=e.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const l=so(o.key);if(e.some(h=>h===l||ay[h]===l))return t(o)})},oy=sr({patchProp:ey},Bb);let J1;function sy(){return J1||(J1=lb(oy))}const ly=(...t)=>{const e=sy().createApp(...t),{mount:n}=e;return e.mount=r=>{const o=uy(r);if(!o)return;const l=e._component;!Bt(l)&&!l.render&&!l.template&&(l.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const h=n(o,!1,cy(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),h},e};function cy(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function uy(t){return $n(t)?document.querySelector(t):t}var Bh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function vv(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function rC(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return t[r]}})}),n}var bv={exports:{}};/*! * Vditor v3.11.2 - A markdown editor written in TypeScript. * * MIT License @@ -39,19 +39,19 @@ var F2=Object.defineProperty;var q2=(t,e,n)=>e in t?F2(t,e,{enumerable:!0,config * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * - */(function(t,e){(function(r,o){t.exports=o()})(Bh,function(){return(()=>{var n={173:h=>{var c=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},p=-1,v=1,b=0;c.Diff=function(g,m){return[g,m]},c.prototype.diff_main=function(g,m,x,w){typeof w>"u"&&(this.Diff_Timeout<=0?w=Number.MAX_VALUE:w=new Date().getTime()+this.Diff_Timeout*1e3);var S=w;if(g==null||m==null)throw new Error("Null input. (diff_main)");if(g==m)return g?[new c.Diff(b,g)]:[];typeof x>"u"&&(x=!0);var k=x,C=this.diff_commonPrefix(g,m),T=g.substring(0,C);g=g.substring(C),m=m.substring(C),C=this.diff_commonSuffix(g,m);var A=g.substring(g.length-C);g=g.substring(0,g.length-C),m=m.substring(0,m.length-C);var M=this.diff_compute_(g,m,k,S);return T&&M.unshift(new c.Diff(b,T)),A&&M.push(new c.Diff(b,A)),this.diff_cleanupMerge(M),M},c.prototype.diff_compute_=function(g,m,x,w){var S;if(!g)return[new c.Diff(v,m)];if(!m)return[new c.Diff(p,g)];var k=g.length>m.length?g:m,C=g.length>m.length?m:g,T=k.indexOf(C);if(T!=-1)return S=[new c.Diff(v,k.substring(0,T)),new c.Diff(b,C),new c.Diff(v,k.substring(T+C.length))],g.length>m.length&&(S[0][0]=S[2][0]=p),S;if(C.length==1)return[new c.Diff(p,g),new c.Diff(v,m)];var A=this.diff_halfMatch_(g,m);if(A){var M=A[0],y=A[1],N=A[2],z=A[3],F=A[4],P=this.diff_main(M,N,x,w),Y=this.diff_main(y,z,x,w);return P.concat([new c.Diff(b,F)],Y)}return x&&g.length>100&&m.length>100?this.diff_lineMode_(g,m,w):this.diff_bisect_(g,m,w)},c.prototype.diff_lineMode_=function(g,m,x){var w=this.diff_linesToChars_(g,m);g=w.chars1,m=w.chars2;var S=w.lineArray,k=this.diff_main(g,m,!1,x);this.diff_charsToLines_(k,S),this.diff_cleanupSemantic(k),k.push(new c.Diff(b,""));for(var C=0,T=0,A=0,M="",y="";C=1&&A>=1){k.splice(C-T-A,T+A),C=C-T-A;for(var N=this.diff_main(M,y,!1,x),z=N.length-1;z>=0;z--)k.splice(C,0,N[z]);C=C+N.length}A=0,T=0,M="",y="";break}C++}return k.pop(),k},c.prototype.diff_bisect_=function(g,m,x){for(var w=g.length,S=m.length,k=Math.ceil((w+S)/2),C=k,T=2*k,A=new Array(T),M=new Array(T),y=0;yx);ce++){for(var Me=-ce+F;Me<=ce-P;Me+=2){var Fe=C+Me,We;Me==-ce||Me!=ce&&A[Fe-1]w)P+=2;else if(rt>S)F+=2;else if(z){var je=C+N-Me;if(je>=0&&je=Ne)return this.diff_bisectSplit_(g,m,We,rt,x)}}}for(var nt=-ce+Y;nt<=ce-te;nt+=2){var je=C+nt,Ne;nt==-ce||nt!=ce&&M[je-1]w)te+=2;else if(ct>S)Y+=2;else if(!z){var Fe=C+N-nt;if(Fe>=0&&Fe=Ne)return this.diff_bisectSplit_(g,m,We,rt,x)}}}}return[new c.Diff(p,g),new c.Diff(v,m)]},c.prototype.diff_bisectSplit_=function(g,m,x,w,S){var k=g.substring(0,x),C=m.substring(0,w),T=g.substring(x),A=m.substring(w),M=this.diff_main(k,C,!1,S),y=this.diff_main(T,A,!1,S);return M.concat(y)},c.prototype.diff_linesToChars_=function(g,m){var x=[],w={};x[0]="";function S(A){for(var M="",y=0,N=-1,z=x.length;Nw?g=g.substring(x-w):xm.length?g:m,w=g.length>m.length?m:g;if(x.length<4||w.length*2=P.length?[We,rt,je,Ne,Fe]:null}var C=k(x,w,Math.ceil(x.length/4)),T=k(x,w,Math.ceil(x.length/2)),A;if(!C&&!T)return null;T?C?A=C[4].length>T[4].length?C:T:A=T:A=C;var M,y,N,z;g.length>m.length?(M=A[0],y=A[1],N=A[2],z=A[3]):(N=A[0],z=A[1],M=A[2],y=A[3]);var F=A[4];return[M,y,N,z,F]},c.prototype.diff_cleanupSemantic=function(g){for(var m=!1,x=[],w=0,S=null,k=0,C=0,T=0,A=0,M=0;k0?x[w-1]:-1,C=0,T=0,A=0,M=0,S=null,m=!0)),k++;for(m&&this.diff_cleanupMerge(g),this.diff_cleanupSemanticLossless(g),k=1;k=F?(z>=y.length/2||z>=N.length/2)&&(g.splice(k,0,new c.Diff(b,N.substring(0,z))),g[k-1][1]=y.substring(0,y.length-z),g[k+1][1]=N.substring(z),k++):(F>=y.length/2||F>=N.length/2)&&(g.splice(k,0,new c.Diff(b,y.substring(0,F))),g[k-1][0]=v,g[k-1][1]=N.substring(0,N.length-F),g[k+1][0]=p,g[k+1][1]=y.substring(F),k++),k++}k++}},c.prototype.diff_cleanupSemanticLossless=function(g){function m(F,P){if(!F||!P)return 6;var Y=F.charAt(F.length-1),te=P.charAt(0),ce=Y.match(c.nonAlphaNumericRegex_),Me=te.match(c.nonAlphaNumericRegex_),Fe=ce&&Y.match(c.whitespaceRegex_),We=Me&&te.match(c.whitespaceRegex_),rt=Fe&&Y.match(c.linebreakRegex_),je=We&&te.match(c.linebreakRegex_),Ne=rt&&F.match(c.blanklineEndRegex_),nt=je&&P.match(c.blanklineStartRegex_);return Ne||nt?5:rt||je?4:ce&&!Fe&&We?3:Fe||We?2:ce||Me?1:0}for(var x=1;x=N&&(N=z,A=w,M=S,y=k)}g[x-1][1]!=A&&(A?g[x-1][1]=A:(g.splice(x-1,1),x--),g[x][1]=M,y?g[x+1][1]=y:(g.splice(x+1,1),x--))}x++}},c.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,c.whitespaceRegex_=/\s/,c.linebreakRegex_=/[\r\n]/,c.blanklineEndRegex_=/\n\r?\n$/,c.blanklineStartRegex_=/^\r?\n\r?\n/,c.prototype.diff_cleanupEfficiency=function(g){for(var m=!1,x=[],w=0,S=null,k=0,C=!1,T=!1,A=!1,M=!1;k0?x[w-1]:-1,A=M=!1),m=!0)),k++;m&&this.diff_cleanupMerge(g)},c.prototype.diff_cleanupMerge=function(g){g.push(new c.Diff(b,""));for(var m=0,x=0,w=0,S="",k="",C;m1?(x!==0&&w!==0&&(C=this.diff_commonPrefix(k,S),C!==0&&(m-x-w>0&&g[m-x-w-1][0]==b?g[m-x-w-1][1]+=k.substring(0,C):(g.splice(0,0,new c.Diff(b,k.substring(0,C))),m++),k=k.substring(C),S=S.substring(C)),C=this.diff_commonSuffix(k,S),C!==0&&(g[m][1]=k.substring(k.length-C)+g[m][1],k=k.substring(0,k.length-C),S=S.substring(0,S.length-C))),m-=x+w,g.splice(m,x+w),S.length&&(g.splice(m,0,new c.Diff(p,S)),m++),k.length&&(g.splice(m,0,new c.Diff(v,k)),m++),m++):m!==0&&g[m-1][0]==b?(g[m-1][1]+=g[m][1],g.splice(m,1)):m++,w=0,x=0,S="",k="";break}g[g.length-1][1]===""&&g.pop();var T=!1;for(m=1;mm));C++)S=x,k=w;return g.length!=C&&g[C][0]===p?k:k+(m-S)},c.prototype.diff_prettyHtml=function(g){for(var m=[],x=/&/g,w=//g,k=/\n/g,C=0;C");switch(T){case v:m[C]=''+M+"";break;case p:m[C]=''+M+"";break;case b:m[C]=""+M+"";break}}return m.join("")},c.prototype.diff_text1=function(g){for(var m=[],x=0;xthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var w=this.match_alphabet_(m),S=this;function k(We,rt){var je=We/m.length,Ne=Math.abs(x-rt);return S.Match_Distance?je+Ne/S.Match_Distance:Ne?1:je}var C=this.Match_Threshold,T=g.indexOf(m,x);T!=-1&&(C=Math.min(k(0,T),C),T=g.lastIndexOf(m,x+m.length),T!=-1&&(C=Math.min(k(0,T),C)));var A=1<=P;ce--){var Me=w[g.charAt(ce-1)];if(F===0?te[ce]=(te[ce+1]<<1|1)&Me:te[ce]=(te[ce+1]<<1|1)&Me|((z[ce+1]|z[ce])<<1|1)|z[ce+1],te[ce]&A){var Fe=k(F,ce-1);if(Fe<=C)if(C=Fe,T=ce-1,T>x)P=Math.max(1,2*x-T);else break}}if(k(F+1,x)>C)break;z=te}return T},c.prototype.match_alphabet_=function(g){for(var m={},x=0;x"u")w=g,S=this.diff_main(w,m,!0),S.length>2&&(this.diff_cleanupSemantic(S),this.diff_cleanupEfficiency(S));else if(g&&typeof g=="object"&&typeof m>"u"&&typeof x>"u")S=g,w=this.diff_text1(S);else if(typeof g=="string"&&m&&typeof m=="object"&&typeof x>"u")w=g,S=m;else if(typeof g=="string"&&typeof m=="string"&&x&&typeof x=="object")w=g,S=x;else throw new Error("Unknown call format to patch_make.");if(S.length===0)return[];for(var k=[],C=new c.patch_obj,T=0,A=0,M=0,y=w,N=w,z=0;z=2*this.Patch_Margin&&T&&(this.patch_addContext_(C,y),k.push(C),C=new c.patch_obj,T=0,y=N,A=M);break}F!==v&&(A+=P.length),F!==p&&(M+=P.length)}return T&&(this.patch_addContext_(C,y),k.push(C)),k},c.prototype.patch_deepCopy=function(g){for(var m=[],x=0;xthis.Match_MaxBits?(A=this.match_main(m,T.substring(0,this.Match_MaxBits),C),A!=-1&&(M=this.match_main(m,T.substring(T.length-this.Match_MaxBits),C+T.length-this.Match_MaxBits),(M==-1||A>=M)&&(A=-1))):A=this.match_main(m,T,C),A==-1)S[k]=!1,w-=g[k].length2-g[k].length1;else{S[k]=!0,w=A-C;var y;if(M==-1?y=m.substring(A,A+T.length):y=m.substring(A,M+this.Match_MaxBits),T==y)m=m.substring(0,A)+this.diff_text2(g[k].diffs)+m.substring(A+T.length);else{var N=this.diff_main(T,y,!1);if(T.length>this.Match_MaxBits&&this.diff_levenshtein(N)/T.length>this.Patch_DeleteThreshold)S[k]=!1;else{this.diff_cleanupSemanticLossless(N);for(var z=0,F,P=0;Pk[0][1].length){var C=m-k[0][1].length;k[0][1]=x.substring(k[0][1].length)+k[0][1],S.start1-=C,S.start2-=C,S.length1+=C,S.length2+=C}if(S=g[g.length-1],k=S.diffs,k.length==0||k[k.length-1][0]!=b)k.push(new c.Diff(b,x)),S.length1+=m,S.length2+=m;else if(m>k[k.length-1][1].length){var C=m-k[k.length-1][1].length;k[k.length-1][1]+=x.substring(0,C),S.length1+=C,S.length2+=C}return x},c.prototype.patch_splitMax=function(g){for(var m=this.Match_MaxBits,x=0;x2*m?(T.length1+=y.length,S+=y.length,A=!1,T.diffs.push(new c.Diff(M,y)),w.diffs.shift()):(y=y.substring(0,m-T.length1-this.Patch_Margin),T.length1+=y.length,S+=y.length,M===b?(T.length2+=y.length,k+=y.length):A=!1,T.diffs.push(new c.Diff(M,y)),y==w.diffs[0][1]?w.diffs.shift():w.diffs[0][1]=w.diffs[0][1].substring(y.length))}C=this.diff_text2(T.diffs),C=C.substring(C.length-this.Patch_Margin);var N=this.diff_text1(w.diffs).substring(0,this.Patch_Margin);N!==""&&(T.length1+=N.length,T.length2+=N.length,T.diffs.length!==0&&T.diffs[T.diffs.length-1][0]===b?T.diffs[T.diffs.length-1][1]+=N:T.diffs.push(new c.Diff(b,N))),A||g.splice(++x,0,T)}}},c.prototype.patch_toText=function(g){for(var m=[],x=0;x{var n={173:h=>{var c=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},p=-1,v=1,b=0;c.Diff=function(g,m){return[g,m]},c.prototype.diff_main=function(g,m,x,w){typeof w>"u"&&(this.Diff_Timeout<=0?w=Number.MAX_VALUE:w=new Date().getTime()+this.Diff_Timeout*1e3);var S=w;if(g==null||m==null)throw new Error("Null input. (diff_main)");if(g==m)return g?[new c.Diff(b,g)]:[];typeof x>"u"&&(x=!0);var k=x,C=this.diff_commonPrefix(g,m),T=g.substring(0,C);g=g.substring(C),m=m.substring(C),C=this.diff_commonSuffix(g,m);var A=g.substring(g.length-C);g=g.substring(0,g.length-C),m=m.substring(0,m.length-C);var M=this.diff_compute_(g,m,k,S);return T&&M.unshift(new c.Diff(b,T)),A&&M.push(new c.Diff(b,A)),this.diff_cleanupMerge(M),M},c.prototype.diff_compute_=function(g,m,x,w){var S;if(!g)return[new c.Diff(v,m)];if(!m)return[new c.Diff(p,g)];var k=g.length>m.length?g:m,C=g.length>m.length?m:g,T=k.indexOf(C);if(T!=-1)return S=[new c.Diff(v,k.substring(0,T)),new c.Diff(b,C),new c.Diff(v,k.substring(T+C.length))],g.length>m.length&&(S[0][0]=S[2][0]=p),S;if(C.length==1)return[new c.Diff(p,g),new c.Diff(v,m)];var A=this.diff_halfMatch_(g,m);if(A){var M=A[0],y=A[1],N=A[2],z=A[3],F=A[4],P=this.diff_main(M,N,x,w),Y=this.diff_main(y,z,x,w);return P.concat([new c.Diff(b,F)],Y)}return x&&g.length>100&&m.length>100?this.diff_lineMode_(g,m,w):this.diff_bisect_(g,m,w)},c.prototype.diff_lineMode_=function(g,m,x){var w=this.diff_linesToChars_(g,m);g=w.chars1,m=w.chars2;var S=w.lineArray,k=this.diff_main(g,m,!1,x);this.diff_charsToLines_(k,S),this.diff_cleanupSemantic(k),k.push(new c.Diff(b,""));for(var C=0,T=0,A=0,M="",y="";C=1&&A>=1){k.splice(C-T-A,T+A),C=C-T-A;for(var N=this.diff_main(M,y,!1,x),z=N.length-1;z>=0;z--)k.splice(C,0,N[z]);C=C+N.length}A=0,T=0,M="",y="";break}C++}return k.pop(),k},c.prototype.diff_bisect_=function(g,m,x){for(var w=g.length,S=m.length,k=Math.ceil((w+S)/2),C=k,T=2*k,A=new Array(T),M=new Array(T),y=0;yx);de++){for(var Ce=-de+F;Ce<=de-P;Ce+=2){var qe=C+Ce,Ge;Ce==-de||Ce!=de&&A[qe-1]w)P+=2;else if(nt>S)F+=2;else if(z){var je=C+N-Ce;if(je>=0&&je=Ne)return this.diff_bisectSplit_(g,m,Ge,nt,x)}}}for(var tt=-de+Y;tt<=de-te;tt+=2){var je=C+tt,Ne;tt==-de||tt!=de&&M[je-1]w)te+=2;else if(lt>S)Y+=2;else if(!z){var qe=C+N-tt;if(qe>=0&&qe=Ne)return this.diff_bisectSplit_(g,m,Ge,nt,x)}}}}return[new c.Diff(p,g),new c.Diff(v,m)]},c.prototype.diff_bisectSplit_=function(g,m,x,w,S){var k=g.substring(0,x),C=m.substring(0,w),T=g.substring(x),A=m.substring(w),M=this.diff_main(k,C,!1,S),y=this.diff_main(T,A,!1,S);return M.concat(y)},c.prototype.diff_linesToChars_=function(g,m){var x=[],w={};x[0]="";function S(A){for(var M="",y=0,N=-1,z=x.length;Nw?g=g.substring(x-w):xm.length?g:m,w=g.length>m.length?m:g;if(x.length<4||w.length*2=P.length?[Ge,nt,je,Ne,qe]:null}var C=k(x,w,Math.ceil(x.length/4)),T=k(x,w,Math.ceil(x.length/2)),A;if(!C&&!T)return null;T?C?A=C[4].length>T[4].length?C:T:A=T:A=C;var M,y,N,z;g.length>m.length?(M=A[0],y=A[1],N=A[2],z=A[3]):(N=A[0],z=A[1],M=A[2],y=A[3]);var F=A[4];return[M,y,N,z,F]},c.prototype.diff_cleanupSemantic=function(g){for(var m=!1,x=[],w=0,S=null,k=0,C=0,T=0,A=0,M=0;k0?x[w-1]:-1,C=0,T=0,A=0,M=0,S=null,m=!0)),k++;for(m&&this.diff_cleanupMerge(g),this.diff_cleanupSemanticLossless(g),k=1;k=F?(z>=y.length/2||z>=N.length/2)&&(g.splice(k,0,new c.Diff(b,N.substring(0,z))),g[k-1][1]=y.substring(0,y.length-z),g[k+1][1]=N.substring(z),k++):(F>=y.length/2||F>=N.length/2)&&(g.splice(k,0,new c.Diff(b,y.substring(0,F))),g[k-1][0]=v,g[k-1][1]=N.substring(0,N.length-F),g[k+1][0]=p,g[k+1][1]=y.substring(F),k++),k++}k++}},c.prototype.diff_cleanupSemanticLossless=function(g){function m(F,P){if(!F||!P)return 6;var Y=F.charAt(F.length-1),te=P.charAt(0),de=Y.match(c.nonAlphaNumericRegex_),Ce=te.match(c.nonAlphaNumericRegex_),qe=de&&Y.match(c.whitespaceRegex_),Ge=Ce&&te.match(c.whitespaceRegex_),nt=qe&&Y.match(c.linebreakRegex_),je=Ge&&te.match(c.linebreakRegex_),Ne=nt&&F.match(c.blanklineEndRegex_),tt=je&&P.match(c.blanklineStartRegex_);return Ne||tt?5:nt||je?4:de&&!qe&&Ge?3:qe||Ge?2:de||Ce?1:0}for(var x=1;x=N&&(N=z,A=w,M=S,y=k)}g[x-1][1]!=A&&(A?g[x-1][1]=A:(g.splice(x-1,1),x--),g[x][1]=M,y?g[x+1][1]=y:(g.splice(x+1,1),x--))}x++}},c.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,c.whitespaceRegex_=/\s/,c.linebreakRegex_=/[\r\n]/,c.blanklineEndRegex_=/\n\r?\n$/,c.blanklineStartRegex_=/^\r?\n\r?\n/,c.prototype.diff_cleanupEfficiency=function(g){for(var m=!1,x=[],w=0,S=null,k=0,C=!1,T=!1,A=!1,M=!1;k0?x[w-1]:-1,A=M=!1),m=!0)),k++;m&&this.diff_cleanupMerge(g)},c.prototype.diff_cleanupMerge=function(g){g.push(new c.Diff(b,""));for(var m=0,x=0,w=0,S="",k="",C;m1?(x!==0&&w!==0&&(C=this.diff_commonPrefix(k,S),C!==0&&(m-x-w>0&&g[m-x-w-1][0]==b?g[m-x-w-1][1]+=k.substring(0,C):(g.splice(0,0,new c.Diff(b,k.substring(0,C))),m++),k=k.substring(C),S=S.substring(C)),C=this.diff_commonSuffix(k,S),C!==0&&(g[m][1]=k.substring(k.length-C)+g[m][1],k=k.substring(0,k.length-C),S=S.substring(0,S.length-C))),m-=x+w,g.splice(m,x+w),S.length&&(g.splice(m,0,new c.Diff(p,S)),m++),k.length&&(g.splice(m,0,new c.Diff(v,k)),m++),m++):m!==0&&g[m-1][0]==b?(g[m-1][1]+=g[m][1],g.splice(m,1)):m++,w=0,x=0,S="",k="";break}g[g.length-1][1]===""&&g.pop();var T=!1;for(m=1;mm));C++)S=x,k=w;return g.length!=C&&g[C][0]===p?k:k+(m-S)},c.prototype.diff_prettyHtml=function(g){for(var m=[],x=/&/g,w=//g,k=/\n/g,C=0;C");switch(T){case v:m[C]=''+M+"";break;case p:m[C]=''+M+"";break;case b:m[C]=""+M+"";break}}return m.join("")},c.prototype.diff_text1=function(g){for(var m=[],x=0;xthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var w=this.match_alphabet_(m),S=this;function k(Ge,nt){var je=Ge/m.length,Ne=Math.abs(x-nt);return S.Match_Distance?je+Ne/S.Match_Distance:Ne?1:je}var C=this.Match_Threshold,T=g.indexOf(m,x);T!=-1&&(C=Math.min(k(0,T),C),T=g.lastIndexOf(m,x+m.length),T!=-1&&(C=Math.min(k(0,T),C)));var A=1<=P;de--){var Ce=w[g.charAt(de-1)];if(F===0?te[de]=(te[de+1]<<1|1)&Ce:te[de]=(te[de+1]<<1|1)&Ce|((z[de+1]|z[de])<<1|1)|z[de+1],te[de]&A){var qe=k(F,de-1);if(qe<=C)if(C=qe,T=de-1,T>x)P=Math.max(1,2*x-T);else break}}if(k(F+1,x)>C)break;z=te}return T},c.prototype.match_alphabet_=function(g){for(var m={},x=0;x"u")w=g,S=this.diff_main(w,m,!0),S.length>2&&(this.diff_cleanupSemantic(S),this.diff_cleanupEfficiency(S));else if(g&&typeof g=="object"&&typeof m>"u"&&typeof x>"u")S=g,w=this.diff_text1(S);else if(typeof g=="string"&&m&&typeof m=="object"&&typeof x>"u")w=g,S=m;else if(typeof g=="string"&&typeof m=="string"&&x&&typeof x=="object")w=g,S=x;else throw new Error("Unknown call format to patch_make.");if(S.length===0)return[];for(var k=[],C=new c.patch_obj,T=0,A=0,M=0,y=w,N=w,z=0;z=2*this.Patch_Margin&&T&&(this.patch_addContext_(C,y),k.push(C),C=new c.patch_obj,T=0,y=N,A=M);break}F!==v&&(A+=P.length),F!==p&&(M+=P.length)}return T&&(this.patch_addContext_(C,y),k.push(C)),k},c.prototype.patch_deepCopy=function(g){for(var m=[],x=0;xthis.Match_MaxBits?(A=this.match_main(m,T.substring(0,this.Match_MaxBits),C),A!=-1&&(M=this.match_main(m,T.substring(T.length-this.Match_MaxBits),C+T.length-this.Match_MaxBits),(M==-1||A>=M)&&(A=-1))):A=this.match_main(m,T,C),A==-1)S[k]=!1,w-=g[k].length2-g[k].length1;else{S[k]=!0,w=A-C;var y;if(M==-1?y=m.substring(A,A+T.length):y=m.substring(A,M+this.Match_MaxBits),T==y)m=m.substring(0,A)+this.diff_text2(g[k].diffs)+m.substring(A+T.length);else{var N=this.diff_main(T,y,!1);if(T.length>this.Match_MaxBits&&this.diff_levenshtein(N)/T.length>this.Patch_DeleteThreshold)S[k]=!1;else{this.diff_cleanupSemanticLossless(N);for(var z=0,F,P=0;Pk[0][1].length){var C=m-k[0][1].length;k[0][1]=x.substring(k[0][1].length)+k[0][1],S.start1-=C,S.start2-=C,S.length1+=C,S.length2+=C}if(S=g[g.length-1],k=S.diffs,k.length==0||k[k.length-1][0]!=b)k.push(new c.Diff(b,x)),S.length1+=m,S.length2+=m;else if(m>k[k.length-1][1].length){var C=m-k[k.length-1][1].length;k[k.length-1][1]+=x.substring(0,C),S.length1+=C,S.length2+=C}return x},c.prototype.patch_splitMax=function(g){for(var m=this.Match_MaxBits,x=0;x2*m?(T.length1+=y.length,S+=y.length,A=!1,T.diffs.push(new c.Diff(M,y)),w.diffs.shift()):(y=y.substring(0,m-T.length1-this.Patch_Margin),T.length1+=y.length,S+=y.length,M===b?(T.length2+=y.length,k+=y.length):A=!1,T.diffs.push(new c.Diff(M,y)),y==w.diffs[0][1]?w.diffs.shift():w.diffs[0][1]=w.diffs[0][1].substring(y.length))}C=this.diff_text2(T.diffs),C=C.substring(C.length-this.Patch_Margin);var N=this.diff_text1(w.diffs).substring(0,this.Patch_Margin);N!==""&&(T.length1+=N.length,T.length2+=N.length,T.diffs.length!==0&&T.diffs[T.diffs.length-1][0]===b?T.diffs[T.diffs.length-1][1]+=N:T.diffs.push(new c.Diff(b,N))),A||g.splice(++x,0,T)}}},c.prototype.patch_toText=function(g){for(var m=[],x=0;x{p.d(c,{default:()=>Nt});var v=p(135),b=p(840),g=p(775),m=p(428),x=p(325),w=p(483),S=p(999),k=function(oe){oe===void 0&&(oe=document);var he=function(J){var ee=document.createElement("img");ee.src=J.getAttribute("data-src"),ee.addEventListener("load",function(){!J.getAttribute("style")&&!J.getAttribute("class")&&!J.getAttribute("width")&&!J.getAttribute("height")&&ee.naturalHeight>ee.naturalWidth&&ee.naturalWidth/ee.naturalHeightwindow.innerHeight-40&&(J.style.height=window.innerHeight-40+"px"),J.src=ee.src}),J.removeAttribute("data-src")};if(!("IntersectionObserver"in window))return oe.querySelectorAll("img").forEach(function(J){J.getAttribute("data-src")&&he(J)}),!1;window.vditorImageIntersectionObserver?(window.vditorImageIntersectionObserver.disconnect(),oe.querySelectorAll("img").forEach(function(J){window.vditorImageIntersectionObserver.observe(J)})):(window.vditorImageIntersectionObserver=new IntersectionObserver(function(J){J.forEach(function(ee){(typeof ee.isIntersecting>"u"?ee.intersectionRatio!==0:ee.isIntersecting)&&ee.target.getAttribute("data-src")&&he(ee.target)})}),oe.querySelectorAll("img").forEach(function(J){window.vditorImageIntersectionObserver.observe(J)}))},C=p(472),T=p(280),A=p(637),M=p(825),y=p(11),N=p(194),z=p(436),F=p(229),P=p(145),Y=p(538),te=p(413),ce=p(106),Me=p(673),Fe=function(oe){document.querySelectorAll(".vditor-anchor").forEach(function(he){oe===1&&he.classList.add("vditor-anchor--left"),he.onclick=function(){var J=he.getAttribute("href").substr(1),ee=document.getElementById("vditorAnchor-"+J).offsetTop;document.querySelector("html").scrollTop=ee}}),window.onhashchange=function(){var he=document.getElementById("vditorAnchor-"+decodeURIComponent(window.location.hash.substr(1)));he&&(document.querySelector("html").scrollTop=he.offsetTop)}},We=p(214),rt=p(810),je=function(oe,he){if(he===void 0&&(he="zh_CN"),!(typeof speechSynthesis>"u"||typeof SpeechSynthesisUtterance>"u")){var J=function(){var be=speechSynthesis.getVoices(),le,ye;return be.forEach(function(Ae){Ae.lang===he.replace("_","-")&&(le=Ae),Ae.default&&(ye=Ae)}),le||(le=ye),le},ee='',Ce='';document.getElementById("vditorIconScript")||(ee='',Ce='');var se=document.querySelector(".vditor-speech");se||(se=document.createElement("button"),se.className="vditor-speech",oe.insertAdjacentElement("beforeend",se),speechSynthesis.onvoiceschanged!==void 0&&(speechSynthesis.onvoiceschanged=J));var G=J(),X=new SpeechSynthesisUtterance;X.voice=G,X.onend=X.onerror=function(){se.style.display="none",speechSynthesis.cancel(),se.classList.remove("vditor-speech--current"),se.innerHTML=ee},oe.addEventListener(window.ontouchstart!==void 0?"touchend":"click",function(be){var le=be.target;if(le.classList.contains("vditor-speech")||le.parentElement.classList.contains("vditor-speech")){se.classList.contains("vditor-speech--current")?speechSynthesis.speaking&&(speechSynthesis.paused?(speechSynthesis.resume(),se.innerHTML=Ce):(speechSynthesis.pause(),se.innerHTML=ee)):(X.text=se.getAttribute("data-text"),speechSynthesis.speak(X),se.classList.add("vditor-speech--current"),se.innerHTML=Ce),(0,rt.Hc)(window.vditorSpeechRange),oe.focus();return}if(se.style.display="none",speechSynthesis.cancel(),se.classList.remove("vditor-speech--current"),se.innerHTML=ee,getSelection().rangeCount!==0){var ye=getSelection().getRangeAt(0),Ae=ye.toString().trim();if(Ae){window.vditorSpeechRange=ye.cloneRange();var ze=ye.getBoundingClientRect();se.innerHTML=ee,se.style.display="block",se.style.top=ze.top+ze.height+document.querySelector("html").scrollTop-20+"px",window.ontouchstart!==void 0?se.style.left=be.changedTouches[be.changedTouches.length-1].pageX+2+"px":se.style.left=be.clientX+2+"px",se.setAttribute("data-text",Ae)}}})}},Ne=function(oe,he,J,ee){function Ce(se){return se instanceof J?se:new J(function(G){G(se)})}return new(J||(J=Promise))(function(se,G){function X(ye){try{le(ee.next(ye))}catch(Ae){G(Ae)}}function be(ye){try{le(ee.throw(ye))}catch(Ae){G(Ae)}}function le(ye){ye.done?se(ye.value):Ce(ye.value).then(X,be)}le((ee=ee.apply(oe,he||[])).next())})},nt=function(oe,he){var J={label:0,sent:function(){if(se[0]&1)throw se[1];return se[1]},trys:[],ops:[]},ee,Ce,se,G;return G={next:X(0),throw:X(1),return:X(2)},typeof Symbol=="function"&&(G[Symbol.iterator]=function(){return this}),G;function X(le){return function(ye){return be([le,ye])}}function be(le){if(ee)throw new TypeError("Generator is already executing.");for(;G&&(G=0,le[0]&&(J=0)),J;)try{if(ee=1,Ce&&(se=le[0]&2?Ce.return:le[0]?Ce.throw||((se=Ce.return)&&se.call(Ce),0):Ce.next)&&!(se=se.call(Ce,le[1])).done)return se;switch(Ce=0,se&&(le=[le[0]&2,se.value]),le[0]){case 0:case 1:se=le;break;case 4:return J.label++,{value:le[1],done:!1};case 5:J.label++,Ce=le[1],le=[0];continue;case 7:le=J.ops.pop(),J.trys.pop();continue;default:if(se=J.trys,!(se=se.length>0&&se[se.length-1])&&(le[0]===6||le[0]===2)){J=0;continue}if(le[0]===3&&(!se||le[1]>se[0]&&le[1]{p.d(c,{H:()=>v,g:()=>b});var v="3.11.2",b=function(){function g(){}return g.ZWSP="​",g.DROP_EDITOR="application/editor",g.MOBILE_WIDTH=520,g.CLASS_MENU_DISABLED="vditor-menu--disabled",g.EDIT_TOOLBARS=["emoji","headings","bold","italic","strike","link","list","ordered-list","outdent","indent","check","line","quote","code","inline-code","insert-after","insert-before","upload","record","table"],g.CODE_THEME=["a11y-dark","agate","an-old-hope","androidstudio","arta","atom-one-dark","atom-one-dark-reasonable","base16/3024","base16/apathy","base16/apprentice","base16/ashes","base16/atelier-cave","base16/atelier-dune","base16/atelier-estuary","base16/atelier-forest","base16/atelier-heath","base16/atelier-lakeside","base16/atelier-plateau","base16/atelier-savanna","base16/atelier-seaside","base16/atelier-sulphurpool","base16/atlas","base16/bespin","base16/black-metal","base16/black-metal-bathory","base16/black-metal-burzum","base16/black-metal-dark-funeral","base16/black-metal-gorgoroth","base16/black-metal-immortal","base16/black-metal-khold","base16/black-metal-marduk","base16/black-metal-mayhem","base16/black-metal-nile","base16/black-metal-venom","base16/brewer","base16/bright","base16/brogrammer","base16/brush-trees-dark","base16/chalk","base16/circus","base16/classic-dark","base16/codeschool","base16/colors","base16/danqing","base16/darcula","base16/dark-violet","base16/darkmoss","base16/darktooth","base16/decaf","base16/default-dark","base16/dracula","base16/edge-dark","base16/eighties","base16/embers","base16/equilibrium-dark","base16/equilibrium-gray-dark","base16/espresso","base16/eva","base16/eva-dim","base16/flat","base16/framer","base16/gigavolt","base16/google-dark","base16/grayscale-dark","base16/green-screen","base16/gruvbox-dark-hard","base16/gruvbox-dark-medium","base16/gruvbox-dark-pale","base16/gruvbox-dark-soft","base16/hardcore","base16/harmonic16-dark","base16/heetch-dark","base16/helios","base16/hopscotch","base16/horizon-dark","base16/humanoid-dark","base16/ia-dark","base16/icy-dark","base16/ir-black","base16/isotope","base16/kimber","base16/london-tube","base16/macintosh","base16/marrakesh","base16/materia","base16/material","base16/material-darker","base16/material-palenight","base16/material-vivid","base16/mellow-purple","base16/mocha","base16/monokai","base16/nebula","base16/nord","base16/nova","base16/ocean","base16/oceanicnext","base16/onedark","base16/outrun-dark","base16/papercolor-dark","base16/paraiso","base16/pasque","base16/phd","base16/pico","base16/pop","base16/porple","base16/qualia","base16/railscasts","base16/rebecca","base16/ros-pine","base16/ros-pine-moon","base16/sandcastle","base16/seti-ui","base16/silk-dark","base16/snazzy","base16/solar-flare","base16/solarized-dark","base16/spacemacs","base16/summercamp","base16/summerfruit-dark","base16/synth-midnight-terminal-dark","base16/tango","base16/tender","base16/tomorrow-night","base16/twilight","base16/unikitty-dark","base16/vulcan","base16/windows-10","base16/windows-95","base16/windows-high-contrast","base16/windows-nt","base16/woodland","base16/xcode-dusk","base16/zenburn","codepen-embed","dark","devibeans","far","felipec","github-dark","github-dark-dimmed","gml","gradient-dark","hybrid","ir-black","isbl-editor-dark","kimbie-dark","lioshi","monokai","monokai-sublime","night-owl","nnfx-dark","nord","obsidian","panda-syntax-dark","paraiso-dark","pojoaque","qtcreator-dark","rainbow","shades-of-purple","srcery","stackoverflow-dark","sunburst","tomorrow-night-blue","tomorrow-night-bright","tokyo-night-dark","vs2015","xt256","ant-design","a11y-light","arduino-light","ascetic","atom-one-light","base16/atelier-cave-light","base16/atelier-dune-light","base16/atelier-estuary-light","base16/atelier-forest-light","base16/atelier-heath-light","base16/atelier-lakeside-light","base16/atelier-plateau-light","base16/atelier-savanna-light","base16/atelier-seaside-light","base16/atelier-sulphurpool-light","base16/brush-trees","base16/classic-light","base16/cupcake","base16/cupertino","base16/default-light","base16/dirtysea","base16/edge-light","base16/equilibrium-gray-light","base16/equilibrium-light","base16/fruit-soda","base16/github","base16/google-light","base16/grayscale-light","base16/gruvbox-light-hard","base16/gruvbox-light-medium","base16/gruvbox-light-soft","base16/harmonic16-light","base16/heetch-light","base16/humanoid-light","base16/horizon-light","base16/ia-light","base16/material-lighter","base16/mexico-light","base16/one-light","base16/papercolor-light","base16/ros-pine-dawn","base16/sagelight","base16/shapeshifter","base16/silk-light","base16/solar-flare-light","base16/solarized-light","base16/summerfruit-light","base16/synth-midnight-terminal-light","base16/tomorrow","base16/unikitty-light","base16/windows-10-light","base16/windows-95-light","base16/windows-high-contrast-light","brown-paper","base16/windows-nt-light","color-brewer","docco","foundation","github","googlecode","gradient-light","grayscale","idea","intellij-light","isbl-editor-light","kimbie-light","lightfair","magula","mono-blue","nnfx-light","panda-syntax-light","paraiso-light","purebasic","qtcreator-light","routeros","school-book","stackoverflow-light","tokyo-night-light","vs","xcode","default"],g.ALIAS_CODE_LANGUAGES=["abc","plantuml","mermaid","flowchart","echarts","mindmap","graphviz","math","markmap","smiles","js","ts","html","toml","c#","bat"],g.CDN="https://unpkg.com/vditor@".concat("3.11.2"),g.MARKDOWN_OPTIONS={autoSpace:!1,gfmAutoLink:!0,codeBlockPreview:!0,fixTermTypo:!1,footnotes:!0,linkBase:"",linkPrefix:"",listStyle:!1,mark:!1,mathBlockPreview:!0,paragraphBeginningSpace:!1,sanitize:!0,toc:!1},g.HLJS_OPTIONS={enable:!0,lineNumber:!1,defaultLang:"",style:"github"},g.MATH_OPTIONS={engine:"KaTeX",inlineDigit:!1,macros:{}},g.THEME_OPTIONS={current:"light",list:{"ant-design":"Ant Design",dark:"Dark",light:"Light",wechat:"WeChat"},path:"".concat(g.CDN,"/dist/css/content-theme")},g}()},825:(h,c,p)=>{p.d(c,{J:()=>x});var v=p(145),b=p(413),g=p(840),m=p(494),x=function(w,S,k){w===void 0&&(w=document),S===void 0&&(S=v.g.CDN);var C=g.SMILESRenderAdapter.getElements(w);C.length>0&&(0,b.G)("".concat(S,"/dist/js/smiles-drawer/smiles-drawer.min.js?v=2.1.7"),"vditorAbcjsScript").then(function(){var T=new SmiDrawer({},{});C.forEach(function(A){var M=g.SMILESRenderAdapter.getCode(A).trim();if(!(A.getAttribute("data-processed")==="true"||M.trim()==="")){var y="smiles"+(0,m.Wb)();A.innerHTML=''),T.draw(M,"#"+y,k==="dark"?"dark":void 0),A.setAttribute("data-processed","true")}})})}},135:(h,c,p)=>{p.d(c,{Q:()=>m});var v=p(145),b=p(413),g=p(840),m=function(x,w){x===void 0&&(x=document),w===void 0&&(w=v.g.CDN);var S=g.abcRenderAdapter.getElements(x);S.length>0&&(0,b.G)("".concat(w,"/dist/js/abcjs/abcjs_basic.min.js"),"vditorAbcjsScript").then(function(){S.forEach(function(k){k.parentElement.classList.contains("vditor-wysiwyg__pre")||k.parentElement.classList.contains("vditor-ir__marker--pre")||k.getAttribute("data-processed")!=="true"&&(ABCJS.renderAbc(k,g.abcRenderAdapter.getCode(k).trim()),k.style.overflowX="auto",k.setAttribute("data-processed","true"))})})}},840:(h,c,p)=>{p.r(c),p.d(c,{mathRenderAdapter:()=>v,SMILESRenderAdapter:()=>b,mermaidRenderAdapter:()=>g,markmapRenderAdapter:()=>m,mindmapRenderAdapter:()=>x,chartRenderAdapter:()=>w,abcRenderAdapter:()=>S,graphvizRenderAdapter:()=>k,flowchartRenderAdapter:()=>C,plantumlRenderAdapter:()=>T});var v={getCode:function(A){return A.textContent},getElements:function(A){return A.querySelectorAll(".language-math")}},b={getCode:function(A){return A.textContent},getElements:function(A){return A.querySelectorAll(".language-smiles")}},g={getCode:function(A){return A.textContent},getElements:function(A){return A.querySelectorAll(".language-mermaid")}},m={getCode:function(A){return A.textContent},getElements:function(A){return A.querySelectorAll(".language-markmap")}},x={getCode:function(A){return A.getAttribute("data-code")},getElements:function(A){return A.querySelectorAll(".language-mindmap")}},w={getCode:function(A){return A.innerText},getElements:function(A){return A.querySelectorAll(".language-echarts")}},S={getCode:function(A){return A.textContent},getElements:function(A){return A.querySelectorAll(".language-abc")}},k={getCode:function(A){return A.textContent},getElements:function(A){return A.querySelectorAll(".language-graphviz")}},C={getCode:function(A){return A.textContent},getElements:function(A){return A.querySelectorAll(".language-flowchart")}},T={getCode:function(A){return A.textContent},getElements:function(A){return A.querySelectorAll(".language-plantuml")}}},775:(h,c,p)=>{p.d(c,{p:()=>S});var v=p(145),b=p(413),g=p(840),m=p(494),x=function(k,C,T,A){function M(y){return y instanceof T?y:new T(function(N){N(y)})}return new(T||(T=Promise))(function(y,N){function z(Y){try{P(A.next(Y))}catch(te){N(te)}}function F(Y){try{P(A.throw(Y))}catch(te){N(te)}}function P(Y){Y.done?y(Y.value):M(Y.value).then(z,F)}P((A=A.apply(k,C||[])).next())})},w=function(k,C){var T={label:0,sent:function(){if(y[0]&1)throw y[1];return y[1]},trys:[],ops:[]},A,M,y,N;return N={next:z(0),throw:z(1),return:z(2)},typeof Symbol=="function"&&(N[Symbol.iterator]=function(){return this}),N;function z(P){return function(Y){return F([P,Y])}}function F(P){if(A)throw new TypeError("Generator is already executing.");for(;N&&(N=0,P[0]&&(T=0)),T;)try{if(A=1,M&&(y=P[0]&2?M.return:P[0]?M.throw||((y=M.return)&&y.call(M),0):M.next)&&!(y=y.call(M,P[1])).done)return y;switch(M=0,y&&(P=[P[0]&2,y.value]),P[0]){case 0:case 1:y=P;break;case 4:return T.label++,{value:P[1],done:!1};case 5:T.label++,M=P[1],P=[0];continue;case 7:P=T.ops.pop(),T.trys.pop();continue;default:if(y=T.trys,!(y=y.length>0&&y[y.length-1])&&(P[0]===6||P[0]===2)){T=0;continue}if(P[0]===3&&(!y||P[1]>y[0]&&P[1]0&&(0,b.G)("".concat(C,"/dist/js/echarts/echarts.min.js?v=5.5.1"),"vditorEchartsScript").then(function(){A.forEach(function(M){return x(void 0,void 0,void 0,function(){var y,N,z;return w(this,function(F){switch(F.label){case 0:if(M.parentElement.classList.contains("vditor-wysiwyg__pre")||M.parentElement.classList.contains("vditor-ir__marker--pre"))return[2];if(y=g.chartRenderAdapter.getCode(M).trim(),!y)return[2];F.label=1;case 1:return F.trys.push([1,3,,4]),M.getAttribute("data-processed")==="true"?[2]:[4,(0,m.Qf)(y)];case 2:return N=F.sent(),echarts.init(M,T==="dark"?"dark":void 0).setOption(N),M.setAttribute("data-processed","true"),[3,4];case 3:return z=F.sent(),M.className="vditor-reset--error",M.innerHTML="echarts render error:
".concat(z),[3,4];case 4:return[2]}})})})})}},428:(h,c,p)=>{p.d(c,{O:()=>g});var v=p(105),b=p(145),g=function(m,x){Array.from(m.querySelectorAll("pre > code")).filter(function(w,S){return!(w.parentElement.classList.contains("vditor-wysiwyg__pre")||w.parentElement.classList.contains("vditor-ir__marker--pre")||w.classList.contains("language-mermaid")||w.classList.contains("language-flowchart")||w.classList.contains("language-echarts")||w.classList.contains("language-mindmap")||w.classList.contains("language-plantuml")||w.classList.contains("language-markmap")||w.classList.contains("language-abc")||w.classList.contains("language-graphviz")||w.classList.contains("language-math")||w.classList.contains("language-smiles")||w.style.maxHeight.indexOf("px")>-1||m.classList.contains("vditor-preview")&&S>5)}).forEach(function(w){var S,k,C,T=w.innerText;if(w.classList.contains("highlight-chroma")){var A=w.cloneNode(!0);A.querySelectorAll(".highlight-ln").forEach(function(z){z.remove()}),T=A.innerText}else T.endsWith(` +`}return x.join("").replace(/%20/g," ")},h.exports=c,h.exports.diff_match_patch=c,h.exports.DIFF_DELETE=p,h.exports.DIFF_INSERT=v,h.exports.DIFF_EQUAL=b},408:(h,c,p)=>{p.d(c,{default:()=>Nt});var v=p(135),b=p(840),g=p(775),m=p(428),x=p(325),w=p(483),S=p(999),k=function(oe){oe===void 0&&(oe=document);var he=function(J){var Q=document.createElement("img");Q.src=J.getAttribute("data-src"),Q.addEventListener("load",function(){!J.getAttribute("style")&&!J.getAttribute("class")&&!J.getAttribute("width")&&!J.getAttribute("height")&&Q.naturalHeight>Q.naturalWidth&&Q.naturalWidth/Q.naturalHeightwindow.innerHeight-40&&(J.style.height=window.innerHeight-40+"px"),J.src=Q.src}),J.removeAttribute("data-src")};if(!("IntersectionObserver"in window))return oe.querySelectorAll("img").forEach(function(J){J.getAttribute("data-src")&&he(J)}),!1;window.vditorImageIntersectionObserver?(window.vditorImageIntersectionObserver.disconnect(),oe.querySelectorAll("img").forEach(function(J){window.vditorImageIntersectionObserver.observe(J)})):(window.vditorImageIntersectionObserver=new IntersectionObserver(function(J){J.forEach(function(Q){(typeof Q.isIntersecting>"u"?Q.intersectionRatio!==0:Q.isIntersecting)&&Q.target.getAttribute("data-src")&&he(Q.target)})}),oe.querySelectorAll("img").forEach(function(J){window.vditorImageIntersectionObserver.observe(J)}))},C=p(472),T=p(280),A=p(637),M=p(825),y=p(11),N=p(194),z=p(436),F=p(229),P=p(145),Y=p(538),te=p(413),de=p(106),Ce=p(673),qe=function(oe){document.querySelectorAll(".vditor-anchor").forEach(function(he){oe===1&&he.classList.add("vditor-anchor--left"),he.onclick=function(){var J=he.getAttribute("href").substr(1),Q=document.getElementById("vditorAnchor-"+J).offsetTop;document.querySelector("html").scrollTop=Q}}),window.onhashchange=function(){var he=document.getElementById("vditorAnchor-"+decodeURIComponent(window.location.hash.substr(1)));he&&(document.querySelector("html").scrollTop=he.offsetTop)}},Ge=p(214),nt=p(810),je=function(oe,he){if(he===void 0&&(he="zh_CN"),!(typeof speechSynthesis>"u"||typeof SpeechSynthesisUtterance>"u")){var J=function(){var ve=speechSynthesis.getVoices(),le,we;return ve.forEach(function(Ae){Ae.lang===he.replace("_","-")&&(le=Ae),Ae.default&&(we=Ae)}),le||(le=we),le},Q='',De='';document.getElementById("vditorIconScript")||(Q='',De='');var se=document.querySelector(".vditor-speech");se||(se=document.createElement("button"),se.className="vditor-speech",oe.insertAdjacentElement("beforeend",se),speechSynthesis.onvoiceschanged!==void 0&&(speechSynthesis.onvoiceschanged=J));var V=J(),Z=new SpeechSynthesisUtterance;Z.voice=V,Z.onend=Z.onerror=function(){se.style.display="none",speechSynthesis.cancel(),se.classList.remove("vditor-speech--current"),se.innerHTML=Q},oe.addEventListener(window.ontouchstart!==void 0?"touchend":"click",function(ve){var le=ve.target;if(le.classList.contains("vditor-speech")||le.parentElement.classList.contains("vditor-speech")){se.classList.contains("vditor-speech--current")?speechSynthesis.speaking&&(speechSynthesis.paused?(speechSynthesis.resume(),se.innerHTML=De):(speechSynthesis.pause(),se.innerHTML=Q)):(Z.text=se.getAttribute("data-text"),speechSynthesis.speak(Z),se.classList.add("vditor-speech--current"),se.innerHTML=De),(0,nt.Hc)(window.vditorSpeechRange),oe.focus();return}if(se.style.display="none",speechSynthesis.cancel(),se.classList.remove("vditor-speech--current"),se.innerHTML=Q,getSelection().rangeCount!==0){var we=getSelection().getRangeAt(0),Ae=we.toString().trim();if(Ae){window.vditorSpeechRange=we.cloneRange();var Fe=we.getBoundingClientRect();se.innerHTML=Q,se.style.display="block",se.style.top=Fe.top+Fe.height+document.querySelector("html").scrollTop-20+"px",window.ontouchstart!==void 0?se.style.left=ve.changedTouches[ve.changedTouches.length-1].pageX+2+"px":se.style.left=ve.clientX+2+"px",se.setAttribute("data-text",Ae)}}})}},Ne=function(oe,he,J,Q){function De(se){return se instanceof J?se:new J(function(V){V(se)})}return new(J||(J=Promise))(function(se,V){function Z(we){try{le(Q.next(we))}catch(Ae){V(Ae)}}function ve(we){try{le(Q.throw(we))}catch(Ae){V(Ae)}}function le(we){we.done?se(we.value):De(we.value).then(Z,ve)}le((Q=Q.apply(oe,he||[])).next())})},tt=function(oe,he){var J={label:0,sent:function(){if(se[0]&1)throw se[1];return se[1]},trys:[],ops:[]},Q,De,se,V;return V={next:Z(0),throw:Z(1),return:Z(2)},typeof Symbol=="function"&&(V[Symbol.iterator]=function(){return this}),V;function Z(le){return function(we){return ve([le,we])}}function ve(le){if(Q)throw new TypeError("Generator is already executing.");for(;V&&(V=0,le[0]&&(J=0)),J;)try{if(Q=1,De&&(se=le[0]&2?De.return:le[0]?De.throw||((se=De.return)&&se.call(De),0):De.next)&&!(se=se.call(De,le[1])).done)return se;switch(De=0,se&&(le=[le[0]&2,se.value]),le[0]){case 0:case 1:se=le;break;case 4:return J.label++,{value:le[1],done:!1};case 5:J.label++,De=le[1],le=[0];continue;case 7:le=J.ops.pop(),J.trys.pop();continue;default:if(se=J.trys,!(se=se.length>0&&se[se.length-1])&&(le[0]===6||le[0]===2)){J=0;continue}if(le[0]===3&&(!se||le[1]>se[0]&&le[1]{p.d(c,{H:()=>v,g:()=>b});var v="3.11.2",b=function(){function g(){}return g.ZWSP="​",g.DROP_EDITOR="application/editor",g.MOBILE_WIDTH=520,g.CLASS_MENU_DISABLED="vditor-menu--disabled",g.EDIT_TOOLBARS=["emoji","headings","bold","italic","strike","link","list","ordered-list","outdent","indent","check","line","quote","code","inline-code","insert-after","insert-before","upload","record","table"],g.CODE_THEME=["a11y-dark","agate","an-old-hope","androidstudio","arta","atom-one-dark","atom-one-dark-reasonable","base16/3024","base16/apathy","base16/apprentice","base16/ashes","base16/atelier-cave","base16/atelier-dune","base16/atelier-estuary","base16/atelier-forest","base16/atelier-heath","base16/atelier-lakeside","base16/atelier-plateau","base16/atelier-savanna","base16/atelier-seaside","base16/atelier-sulphurpool","base16/atlas","base16/bespin","base16/black-metal","base16/black-metal-bathory","base16/black-metal-burzum","base16/black-metal-dark-funeral","base16/black-metal-gorgoroth","base16/black-metal-immortal","base16/black-metal-khold","base16/black-metal-marduk","base16/black-metal-mayhem","base16/black-metal-nile","base16/black-metal-venom","base16/brewer","base16/bright","base16/brogrammer","base16/brush-trees-dark","base16/chalk","base16/circus","base16/classic-dark","base16/codeschool","base16/colors","base16/danqing","base16/darcula","base16/dark-violet","base16/darkmoss","base16/darktooth","base16/decaf","base16/default-dark","base16/dracula","base16/edge-dark","base16/eighties","base16/embers","base16/equilibrium-dark","base16/equilibrium-gray-dark","base16/espresso","base16/eva","base16/eva-dim","base16/flat","base16/framer","base16/gigavolt","base16/google-dark","base16/grayscale-dark","base16/green-screen","base16/gruvbox-dark-hard","base16/gruvbox-dark-medium","base16/gruvbox-dark-pale","base16/gruvbox-dark-soft","base16/hardcore","base16/harmonic16-dark","base16/heetch-dark","base16/helios","base16/hopscotch","base16/horizon-dark","base16/humanoid-dark","base16/ia-dark","base16/icy-dark","base16/ir-black","base16/isotope","base16/kimber","base16/london-tube","base16/macintosh","base16/marrakesh","base16/materia","base16/material","base16/material-darker","base16/material-palenight","base16/material-vivid","base16/mellow-purple","base16/mocha","base16/monokai","base16/nebula","base16/nord","base16/nova","base16/ocean","base16/oceanicnext","base16/onedark","base16/outrun-dark","base16/papercolor-dark","base16/paraiso","base16/pasque","base16/phd","base16/pico","base16/pop","base16/porple","base16/qualia","base16/railscasts","base16/rebecca","base16/ros-pine","base16/ros-pine-moon","base16/sandcastle","base16/seti-ui","base16/silk-dark","base16/snazzy","base16/solar-flare","base16/solarized-dark","base16/spacemacs","base16/summercamp","base16/summerfruit-dark","base16/synth-midnight-terminal-dark","base16/tango","base16/tender","base16/tomorrow-night","base16/twilight","base16/unikitty-dark","base16/vulcan","base16/windows-10","base16/windows-95","base16/windows-high-contrast","base16/windows-nt","base16/woodland","base16/xcode-dusk","base16/zenburn","codepen-embed","dark","devibeans","far","felipec","github-dark","github-dark-dimmed","gml","gradient-dark","hybrid","ir-black","isbl-editor-dark","kimbie-dark","lioshi","monokai","monokai-sublime","night-owl","nnfx-dark","nord","obsidian","panda-syntax-dark","paraiso-dark","pojoaque","qtcreator-dark","rainbow","shades-of-purple","srcery","stackoverflow-dark","sunburst","tomorrow-night-blue","tomorrow-night-bright","tokyo-night-dark","vs2015","xt256","ant-design","a11y-light","arduino-light","ascetic","atom-one-light","base16/atelier-cave-light","base16/atelier-dune-light","base16/atelier-estuary-light","base16/atelier-forest-light","base16/atelier-heath-light","base16/atelier-lakeside-light","base16/atelier-plateau-light","base16/atelier-savanna-light","base16/atelier-seaside-light","base16/atelier-sulphurpool-light","base16/brush-trees","base16/classic-light","base16/cupcake","base16/cupertino","base16/default-light","base16/dirtysea","base16/edge-light","base16/equilibrium-gray-light","base16/equilibrium-light","base16/fruit-soda","base16/github","base16/google-light","base16/grayscale-light","base16/gruvbox-light-hard","base16/gruvbox-light-medium","base16/gruvbox-light-soft","base16/harmonic16-light","base16/heetch-light","base16/humanoid-light","base16/horizon-light","base16/ia-light","base16/material-lighter","base16/mexico-light","base16/one-light","base16/papercolor-light","base16/ros-pine-dawn","base16/sagelight","base16/shapeshifter","base16/silk-light","base16/solar-flare-light","base16/solarized-light","base16/summerfruit-light","base16/synth-midnight-terminal-light","base16/tomorrow","base16/unikitty-light","base16/windows-10-light","base16/windows-95-light","base16/windows-high-contrast-light","brown-paper","base16/windows-nt-light","color-brewer","docco","foundation","github","googlecode","gradient-light","grayscale","idea","intellij-light","isbl-editor-light","kimbie-light","lightfair","magula","mono-blue","nnfx-light","panda-syntax-light","paraiso-light","purebasic","qtcreator-light","routeros","school-book","stackoverflow-light","tokyo-night-light","vs","xcode","default"],g.ALIAS_CODE_LANGUAGES=["abc","plantuml","mermaid","flowchart","echarts","mindmap","graphviz","math","markmap","smiles","js","ts","html","toml","c#","bat"],g.CDN="https://unpkg.com/vditor@".concat("3.11.2"),g.MARKDOWN_OPTIONS={autoSpace:!1,gfmAutoLink:!0,codeBlockPreview:!0,fixTermTypo:!1,footnotes:!0,linkBase:"",linkPrefix:"",listStyle:!1,mark:!1,mathBlockPreview:!0,paragraphBeginningSpace:!1,sanitize:!0,toc:!1},g.HLJS_OPTIONS={enable:!0,lineNumber:!1,defaultLang:"",style:"github"},g.MATH_OPTIONS={engine:"KaTeX",inlineDigit:!1,macros:{}},g.THEME_OPTIONS={current:"light",list:{"ant-design":"Ant Design",dark:"Dark",light:"Light",wechat:"WeChat"},path:"".concat(g.CDN,"/dist/css/content-theme")},g}()},825:(h,c,p)=>{p.d(c,{J:()=>x});var v=p(145),b=p(413),g=p(840),m=p(494),x=function(w,S,k){w===void 0&&(w=document),S===void 0&&(S=v.g.CDN);var C=g.SMILESRenderAdapter.getElements(w);C.length>0&&(0,b.G)("".concat(S,"/dist/js/smiles-drawer/smiles-drawer.min.js?v=2.1.7"),"vditorAbcjsScript").then(function(){var T=new SmiDrawer({},{});C.forEach(function(A){var M=g.SMILESRenderAdapter.getCode(A).trim();if(!(A.getAttribute("data-processed")==="true"||M.trim()==="")){var y="smiles"+(0,m.Wb)();A.innerHTML=''),T.draw(M,"#"+y,k==="dark"?"dark":void 0),A.setAttribute("data-processed","true")}})})}},135:(h,c,p)=>{p.d(c,{Q:()=>m});var v=p(145),b=p(413),g=p(840),m=function(x,w){x===void 0&&(x=document),w===void 0&&(w=v.g.CDN);var S=g.abcRenderAdapter.getElements(x);S.length>0&&(0,b.G)("".concat(w,"/dist/js/abcjs/abcjs_basic.min.js"),"vditorAbcjsScript").then(function(){S.forEach(function(k){k.parentElement.classList.contains("vditor-wysiwyg__pre")||k.parentElement.classList.contains("vditor-ir__marker--pre")||k.getAttribute("data-processed")!=="true"&&(ABCJS.renderAbc(k,g.abcRenderAdapter.getCode(k).trim()),k.style.overflowX="auto",k.setAttribute("data-processed","true"))})})}},840:(h,c,p)=>{p.r(c),p.d(c,{mathRenderAdapter:()=>v,SMILESRenderAdapter:()=>b,mermaidRenderAdapter:()=>g,markmapRenderAdapter:()=>m,mindmapRenderAdapter:()=>x,chartRenderAdapter:()=>w,abcRenderAdapter:()=>S,graphvizRenderAdapter:()=>k,flowchartRenderAdapter:()=>C,plantumlRenderAdapter:()=>T});var v={getCode:function(A){return A.textContent},getElements:function(A){return A.querySelectorAll(".language-math")}},b={getCode:function(A){return A.textContent},getElements:function(A){return A.querySelectorAll(".language-smiles")}},g={getCode:function(A){return A.textContent},getElements:function(A){return A.querySelectorAll(".language-mermaid")}},m={getCode:function(A){return A.textContent},getElements:function(A){return A.querySelectorAll(".language-markmap")}},x={getCode:function(A){return A.getAttribute("data-code")},getElements:function(A){return A.querySelectorAll(".language-mindmap")}},w={getCode:function(A){return A.innerText},getElements:function(A){return A.querySelectorAll(".language-echarts")}},S={getCode:function(A){return A.textContent},getElements:function(A){return A.querySelectorAll(".language-abc")}},k={getCode:function(A){return A.textContent},getElements:function(A){return A.querySelectorAll(".language-graphviz")}},C={getCode:function(A){return A.textContent},getElements:function(A){return A.querySelectorAll(".language-flowchart")}},T={getCode:function(A){return A.textContent},getElements:function(A){return A.querySelectorAll(".language-plantuml")}}},775:(h,c,p)=>{p.d(c,{p:()=>S});var v=p(145),b=p(413),g=p(840),m=p(494),x=function(k,C,T,A){function M(y){return y instanceof T?y:new T(function(N){N(y)})}return new(T||(T=Promise))(function(y,N){function z(Y){try{P(A.next(Y))}catch(te){N(te)}}function F(Y){try{P(A.throw(Y))}catch(te){N(te)}}function P(Y){Y.done?y(Y.value):M(Y.value).then(z,F)}P((A=A.apply(k,C||[])).next())})},w=function(k,C){var T={label:0,sent:function(){if(y[0]&1)throw y[1];return y[1]},trys:[],ops:[]},A,M,y,N;return N={next:z(0),throw:z(1),return:z(2)},typeof Symbol=="function"&&(N[Symbol.iterator]=function(){return this}),N;function z(P){return function(Y){return F([P,Y])}}function F(P){if(A)throw new TypeError("Generator is already executing.");for(;N&&(N=0,P[0]&&(T=0)),T;)try{if(A=1,M&&(y=P[0]&2?M.return:P[0]?M.throw||((y=M.return)&&y.call(M),0):M.next)&&!(y=y.call(M,P[1])).done)return y;switch(M=0,y&&(P=[P[0]&2,y.value]),P[0]){case 0:case 1:y=P;break;case 4:return T.label++,{value:P[1],done:!1};case 5:T.label++,M=P[1],P=[0];continue;case 7:P=T.ops.pop(),T.trys.pop();continue;default:if(y=T.trys,!(y=y.length>0&&y[y.length-1])&&(P[0]===6||P[0]===2)){T=0;continue}if(P[0]===3&&(!y||P[1]>y[0]&&P[1]0&&(0,b.G)("".concat(C,"/dist/js/echarts/echarts.min.js?v=5.5.1"),"vditorEchartsScript").then(function(){A.forEach(function(M){return x(void 0,void 0,void 0,function(){var y,N,z;return w(this,function(F){switch(F.label){case 0:if(M.parentElement.classList.contains("vditor-wysiwyg__pre")||M.parentElement.classList.contains("vditor-ir__marker--pre"))return[2];if(y=g.chartRenderAdapter.getCode(M).trim(),!y)return[2];F.label=1;case 1:return F.trys.push([1,3,,4]),M.getAttribute("data-processed")==="true"?[2]:[4,(0,m.Qf)(y)];case 2:return N=F.sent(),echarts.init(M,T==="dark"?"dark":void 0).setOption(N),M.setAttribute("data-processed","true"),[3,4];case 3:return z=F.sent(),M.className="vditor-reset--error",M.innerHTML="echarts render error:
".concat(z),[3,4];case 4:return[2]}})})})})}},428:(h,c,p)=>{p.d(c,{O:()=>g});var v=p(105),b=p(145),g=function(m,x){Array.from(m.querySelectorAll("pre > code")).filter(function(w,S){return!(w.parentElement.classList.contains("vditor-wysiwyg__pre")||w.parentElement.classList.contains("vditor-ir__marker--pre")||w.classList.contains("language-mermaid")||w.classList.contains("language-flowchart")||w.classList.contains("language-echarts")||w.classList.contains("language-mindmap")||w.classList.contains("language-plantuml")||w.classList.contains("language-markmap")||w.classList.contains("language-abc")||w.classList.contains("language-graphviz")||w.classList.contains("language-math")||w.classList.contains("language-smiles")||w.style.maxHeight.indexOf("px")>-1||m.classList.contains("vditor-preview")&&S>5)}).forEach(function(w){var S,k,C,T=w.innerText;if(w.classList.contains("highlight-chroma")){var A=w.cloneNode(!0);A.querySelectorAll(".highlight-ln").forEach(function(z){z.remove()}),T=A.innerText}else T.endsWith(` `)&&(T=T.substr(0,T.length-1));var M='';document.getElementById("vditorIconScript")||(M='');var y=document.createElement("div");y.className="vditor-copy",y.innerHTML='`).concat(M,"");var N=document.createElement("textarea");N.value=(0,v.X)(T),y.insertAdjacentElement("afterbegin",N),x&&x.renderMenu&&x.renderMenu(w,y),w.before(y),w.style.maxHeight=window.outerHeight-40+"px",w.insertAdjacentHTML("afterend",''.concat(b.g.ZWSP,""))})}},325:(h,c,p)=>{p.d(c,{P:()=>m});var v=p(145),b=p(413),g=p(840),m=function(x,w){w===void 0&&(w=v.g.CDN);var S=g.flowchartRenderAdapter.getElements(x);S.length!==0&&(0,b.G)("".concat(w,"/dist/js/flowchart.js/flowchart.min.js"),"vditorFlowchartScript").then(function(){S.forEach(function(k){if(k.getAttribute("data-processed")!=="true"){var C=flowchart.parse(g.flowchartRenderAdapter.getCode(k));k.innerHTML="",C.drawSVG(k),k.setAttribute("data-processed","true")}})})}},483:(h,c,p)=>{p.d(c,{v:()=>m});var v=p(145),b=p(413),g=p(840),m=function(x,w){w===void 0&&(w=v.g.CDN);var S=g.graphvizRenderAdapter.getElements(x);S.length!==0&&(0,b.G)("".concat(w,"/dist/js/graphviz/viz.js"),"vditorGraphVizScript").then(function(){S.forEach(function(k){var C=g.graphvizRenderAdapter.getCode(k);if(!(k.parentElement.classList.contains("vditor-wysiwyg__pre")||k.parentElement.classList.contains("vditor-ir__marker--pre"))&&!(k.getAttribute("data-processed")==="true"||C.trim()==="")){try{var T=new Blob(["importScripts('".concat(document.getElementById("vditorGraphVizScript").src.replace("viz.js","full.render.js"),"');")],{type:"application/javascript"}),A=window.URL||window.webkitURL,M=A.createObjectURL(T),y=new Worker(M);new Viz({worker:y}).renderSVGElement(C).then(function(N){k.innerHTML=N.outerHTML}).catch(function(N){k.innerHTML="graphviz render error:
".concat(N),k.className="vditor-reset--error"})}catch(N){console.error("graphviz error",N)}k.setAttribute("data-processed","true")}})})}},999:(h,c,p)=>{p.d(c,{s:()=>m});var v=p(145),b=p(413),g=p(290),m=function(x,w,S){w===void 0&&(w=document),S===void 0&&(S=v.g.CDN);var k=x.style;v.g.CODE_THEME.includes(k)||(k="github");var C=document.getElementById("vditorHljsStyle"),T="".concat(S,"/dist/js/highlight.js/styles/").concat(k,".min.css");if(C&&C.getAttribute("href")!==T&&C.remove(),(0,g.c)("".concat(S,"/dist/js/highlight.js/styles/").concat(k,".min.css"),"vditorHljsStyle"),x.enable!==!1){var A=w.querySelectorAll("pre > code");A.length!==0&&(0,b.G)("".concat(S,"/dist/js/highlight.js/highlight.min.js?v=11.7.0"),"vditorHljsScript").then(function(){(0,b.G)("".concat(S,"/dist/js/highlight.js/third-languages.js?v=1.0.1"),"vditorHljsThirdScript").then(function(){w.querySelectorAll("pre > code").forEach(function(M){if(!(M.parentElement.classList.contains("vditor-ir__marker--pre")||M.parentElement.classList.contains("vditor-wysiwyg__pre"))&&!(M.classList.contains("language-mermaid")||M.classList.contains("language-flowchart")||M.classList.contains("language-echarts")||M.classList.contains("language-mindmap")||M.classList.contains("language-plantuml")||M.classList.contains("language-smiles")||M.classList.contains("language-abc")||M.classList.contains("language-graphviz")||M.classList.contains("language-math"))){x.defaultLang!==""&&M.className.indexOf("language-")===-1&&M.classList.add("language-"+x.defaultLang);var y=M.className.replace("language-","");if(window.hljs.getLanguage(y)||(y="plaintext"),M.innerHTML=window.hljs.highlight(M.textContent,{language:y,ignoreIllegals:!0}).value,M.classList.add("hljs"),!!x.lineNumber){M.classList.add("vditor-linenumber");var N=M.querySelector(".vditor-linenumber__temp");N||(N=document.createElement("div"),N.className="vditor-linenumber__temp",M.insertAdjacentElement("beforeend",N));var z=getComputedStyle(M).whiteSpace,F=!1;(z==="pre-wrap"||z==="pre-line")&&(F=!0);var P="",Y=M.textContent.split(/\r\n|\r|\n/g);Y.pop(),Y.map(function(te){var ce="";F&&(N.textContent=te||` -`,ce=' style="height:'.concat(N.getBoundingClientRect().height,'px"')),P+="")}),N.style.display="none",P=''.concat(P,""),M.insertAdjacentHTML("beforeend",P)}}})})})}}},11:(h,c,p)=>{p.d(c,{K:()=>S});var v=p(145),b=p(413),g=p(840),m={},x=function(k,C){var T=k.transform(C),A=Object.keys(T.features).filter(function(F){return!m[F]});A.forEach(function(F){m[F]=!0});var M=k.getAssets(A),y=M.styles,N=M.scripts,z=window.markmap;return y&&z.loadCSS(y),N&&z.loadJS(N),T},w=function(k,C){var T=window.markmap,A=T.Transformer,M=T.Markmap,y=T.deriveOptions;T.globalCSS;var N=new A;k.innerHTML='';var z=k.firstChild,F=M.create(z,null),P=x(N,C),Y=P.root,te=P.frontmatter,ce=te==null?void 0:te.markmap,Me=y(ce);F.setData(Y,Me),F.fit()},S=function(k,C){k===void 0&&(k=document),C===void 0&&(C=v.g.CDN);var T=g.markmapRenderAdapter.getElements(k);T.length!==0&&(0,b.G)("".concat(C,"/dist/js/markmap/markmap.min.js"),"vditorMarkerScript").then(function(){T.forEach(function(A){var M=g.markmapRenderAdapter.getCode(A);if(!(A.getAttribute("data-processed")==="true"||M.trim()==="")){var y=document.createElement("div");y.className="language-markmap",A.parentNode.appendChild(y),w(y,M),A.parentNode.childNodes[0].nodeName=="CODE"&&A.parentNode.removeChild(A.parentNode.childNodes[0])}})})}},472:(h,c,p)=>{p.d(c,{H:()=>w});var v=p(145),b=p(413),g=p(290),m=p(105),x=p(840),w=function(S,k){S===void 0&&(S=document);var C=x.mathRenderAdapter.getElements(S);if(C.length!==0){var T={cdn:v.g.CDN,math:{engine:"KaTeX",inlineDigit:!1,macros:{}}};if(k&&k.math&&(k.math=Object.assign({},T.math,k.math)),k=Object.assign({},T,k),k.math.engine==="KaTeX")(0,g.c)("".concat(k.cdn,"/dist/js/katex/katex.min.css?v=0.16.9"),"vditorKatexStyle"),(0,b.G)("".concat(k.cdn,"/dist/js/katex/katex.min.js?v=0.16.9"),"vditorKatexScript").then(function(){(0,b.G)("".concat(k.cdn,"/dist/js/katex/mhchem.min.js?v=0.16.9"),"vditorKatexChemScript").then(function(){C.forEach(function(y){if(!(y.parentElement.classList.contains("vditor-wysiwyg__pre")||y.parentElement.classList.contains("vditor-ir__marker--pre"))&&!y.getAttribute("data-math")){var N=(0,m.X)(x.mathRenderAdapter.getCode(y));y.setAttribute("data-math",N);try{y.innerHTML=katex.renderToString(N,{displayMode:y.tagName==="DIV",output:"html",macros:k.math.macros})}catch(z){y.innerHTML=z.message,y.className="language-math vditor-reset--error"}y.addEventListener("copy",function(z){z.stopPropagation(),z.preventDefault();var F=z.currentTarget.closest(".language-math");z.clipboardData.setData("text/html",F.innerHTML),z.clipboardData.setData("text/plain",F.getAttribute("data-math"))})}})})});else if(k.math.engine==="MathJax"){var A=function(y){if(y.length!==0){var N=0,z=y[y.length-1],F=function(){var P=y[N++];P===z?P():P(F)};F()}};window.MathJax||(window.MathJax={loader:{paths:{mathjax:"".concat(k.cdn,"/dist/js/mathjax")}},startup:{typeset:!1},tex:{macros:k.math.macros}},Object.assign(window.MathJax,k.math.mathJaxOptions)),(0,b.J)("".concat(k.cdn,"/dist/js/mathjax/tex-svg-full.js"),"protyleMathJaxScript");var M=function(y,N){var z=(0,m.X)(y.textContent).trim(),F=window.MathJax.getMetricsFor(y);F.display=y.tagName==="DIV",window.MathJax.tex2svgPromise(z,F).then(function(P){y.innerHTML="",y.setAttribute("data-math",z),y.append(P),window.MathJax.startup.document.clear(),window.MathJax.startup.document.updateDocument();var Y=P.querySelector('[data-mml-node="merror"]');Y&&Y.textContent.trim()!==""&&(y.innerHTML=Y.textContent.trim(),y.className="vditor-reset--error"),N&&N()})};window.MathJax.startup.promise.then(function(){for(var y=[],N=function(F){var P=C[F];!P.parentElement.classList.contains("vditor-wysiwyg__pre")&&!P.parentElement.classList.contains("vditor-ir__marker--pre")&&!P.getAttribute("data-math")&&(0,m.X)(P.textContent).trim()&&y.push(function(Y){F===C.length-1?M(P):M(P,Y)})},z=0;z{p.d(c,{Y:()=>x});var v=p(494),b=function(w,S){w.insertAdjacentHTML("afterend",'')),w.remove()},g=function(w,S){w.insertAdjacentHTML("afterend",'')),w.remove()},m=function(w,S){var k=S.match(/\/\/(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))([\w|-]{11})(?:(?:[\?&]t=)(\S+))?/),C=S.match(/\/\/v\.youku\.com\/v_show\/id_(\w+)=*\.html/),T=S.match(/\/\/v\.qq\.com\/x\/cover\/.*\/([^\/]+)\.html\??.*/),A=S.match(/(?:www\.|\/\/)coub\.com\/view\/(\w+)/),M=S.match(/(?:www\.|\/\/)facebook\.com\/([^\/]+)\/videos\/([0-9]+)/),y=S.match(/.+dailymotion.com\/(video|hub)\/(\w+)\?/),N=S.match(/(?:www\.|\/\/)bilibili\.com\/video\/(\w+)/),z=S.match(/(?:www\.|\/\/)ted\.com\/talks\/(\w+)/);if(k&&k[1].length===11)w.insertAdjacentHTML("afterend",'')),w.remove();else if(C&&C[1])w.insertAdjacentHTML("afterend",'')),w.remove();else if(T&&T[1])w.insertAdjacentHTML("afterend",'')),w.remove();else if(A&&A[1])w.insertAdjacentHTML("afterend",`')),w.remove();else if(C&&C[1])w.insertAdjacentHTML("afterend",'')),w.remove();else if(T&&T[1])w.insertAdjacentHTML("afterend",'')),w.remove();else if(A&&A[1])w.insertAdjacentHTML("afterend",`')),w.remove();else if(M&&M[0])w.insertAdjacentHTML("afterend",`')),w.remove();else if(y&&y[2])w.insertAdjacentHTML("afterend",`')),w.remove();else if(S.indexOf("bilibili.com")>-1&&(S.indexOf("bvid=")>-1||N&&N[1])){var F={bvid:(0,v.on)("bvid",S)||N&&N[1],page:"1",high_quality:"1",as_wide:"1",allowfullscreen:"true",autoplay:"0"};new URL(S.startsWith("http")?S:"https:"+S).search.split("&").forEach(function(te,ce){if(te){ce===0&&(te=te.substr(1));var Me=te.split("=");F[Me[0]]=Me[1]}});var P="https://player.bilibili.com/player.html?",Y=Object.keys(F);Y.forEach(function(te,ce){P+="".concat(te,"=").concat(F[te]),ce')),w.remove()}else z&&z[1]&&(w.insertAdjacentHTML("afterend",'')),w.remove())},x=function(w){w&&w.querySelectorAll("a").forEach(function(S){var k=S.getAttribute("href");k&&(k.match(/^.+.(mp4|m4v|ogg|ogv|webm)$/)?b(S,k):k.match(/^.+.(mp3|wav|flac)$/)?g(S,k):m(S,k))})}},637:(h,c,p)=>{p.d(c,{i:()=>S});var v=p(145),b=p(413),g=p(840),m=p(494),x=function(k,C,T,A){function M(y){return y instanceof T?y:new T(function(N){N(y)})}return new(T||(T=Promise))(function(y,N){function z(Y){try{P(A.next(Y))}catch(te){N(te)}}function F(Y){try{P(A.throw(Y))}catch(te){N(te)}}function P(Y){Y.done?y(Y.value):M(Y.value).then(z,F)}P((A=A.apply(k,C||[])).next())})},w=function(k,C){var T={label:0,sent:function(){if(y[0]&1)throw y[1];return y[1]},trys:[],ops:[]},A,M,y,N;return N={next:z(0),throw:z(1),return:z(2)},typeof Symbol=="function"&&(N[Symbol.iterator]=function(){return this}),N;function z(P){return function(Y){return F([P,Y])}}function F(P){if(A)throw new TypeError("Generator is already executing.");for(;N&&(N=0,P[0]&&(T=0)),T;)try{if(A=1,M&&(y=P[0]&2?M.return:P[0]?M.throw||((y=M.return)&&y.call(M),0):M.next)&&!(y=y.call(M,P[1])).done)return y;switch(M=0,y&&(P=[P[0]&2,y.value]),P[0]){case 0:case 1:y=P;break;case 4:return T.label++,{value:P[1],done:!1};case 5:T.label++,M=P[1],P=[0];continue;case 7:P=T.ops.pop(),T.trys.pop();continue;default:if(y=T.trys,!(y=y.length>0&&y[y.length-1])&&(P[0]===6||P[0]===2)){T=0;continue}if(P[0]===3&&(!y||P[1]>y[0]&&P[1] + src="https://www.dailymotion.com/embed/video/`.concat(y[2],'">')),w.remove();else if(S.indexOf("bilibili.com")>-1&&(S.indexOf("bvid=")>-1||N&&N[1])){var F={bvid:(0,v.on)("bvid",S)||N&&N[1],page:"1",high_quality:"1",as_wide:"1",allowfullscreen:"true",autoplay:"0"};new URL(S.startsWith("http")?S:"https:"+S).search.split("&").forEach(function(te,de){if(te){de===0&&(te=te.substr(1));var Ce=te.split("=");F[Ce[0]]=Ce[1]}});var P="https://player.bilibili.com/player.html?",Y=Object.keys(F);Y.forEach(function(te,de){P+="".concat(te,"=").concat(F[te]),de')),w.remove()}else z&&z[1]&&(w.insertAdjacentHTML("afterend",'')),w.remove())},x=function(w){w&&w.querySelectorAll("a").forEach(function(S){var k=S.getAttribute("href");k&&(k.match(/^.+.(mp4|m4v|ogg|ogv|webm)$/)?b(S,k):k.match(/^.+.(mp3|wav|flac)$/)?g(S,k):m(S,k))})}},637:(h,c,p)=>{p.d(c,{i:()=>S});var v=p(145),b=p(413),g=p(840),m=p(494),x=function(k,C,T,A){function M(y){return y instanceof T?y:new T(function(N){N(y)})}return new(T||(T=Promise))(function(y,N){function z(Y){try{P(A.next(Y))}catch(te){N(te)}}function F(Y){try{P(A.throw(Y))}catch(te){N(te)}}function P(Y){Y.done?y(Y.value):M(Y.value).then(z,F)}P((A=A.apply(k,C||[])).next())})},w=function(k,C){var T={label:0,sent:function(){if(y[0]&1)throw y[1];return y[1]},trys:[],ops:[]},A,M,y,N;return N={next:z(0),throw:z(1),return:z(2)},typeof Symbol=="function"&&(N[Symbol.iterator]=function(){return this}),N;function z(P){return function(Y){return F([P,Y])}}function F(P){if(A)throw new TypeError("Generator is already executing.");for(;N&&(N=0,P[0]&&(T=0)),T;)try{if(A=1,M&&(y=P[0]&2?M.return:P[0]?M.throw||((y=M.return)&&y.call(M),0):M.next)&&!(y=y.call(M,P[1])).done)return y;switch(M=0,y&&(P=[P[0]&2,y.value]),P[0]){case 0:case 1:y=P;break;case 4:return T.label++,{value:P[1],done:!1};case 5:T.label++,M=P[1],P=[0];continue;case 7:P=T.ops.pop(),T.trys.pop();continue;default:if(y=T.trys,!(y=y.length>0&&y[y.length-1])&&(P[0]===6||P[0]===2)){T=0;continue}if(P[0]===3&&(!y||P[1]>y[0]&&P[1]
`).concat(P.message.replace(/\n/,"
"),"
"),Y.parentElement.remove(),[3,4];case 4:return y.setAttribute("data-processed","true"),[2]}})})})})}},194:(h,c,p)=>{p.d(c,{P:()=>m});var v=p(145),b=p(413),g=p(840),m=function(x,w,S){x===void 0&&(x=document),w===void 0&&(w=v.g.CDN);var k=g.mindmapRenderAdapter.getElements(x);k.length>0&&(0,b.G)("".concat(w,"/dist/js/echarts/echarts.min.js?v=5.5.1"),"vditorEchartsScript").then(function(){k.forEach(function(C){if(!(C.parentElement.classList.contains("vditor-wysiwyg__pre")||C.parentElement.classList.contains("vditor-ir__marker--pre"))){var T=g.mindmapRenderAdapter.getCode(C);if(T)try{if(C.getAttribute("data-processed")==="true")return;echarts.init(C,S==="dark"?"dark":void 0).setOption({series:[{data:[JSON.parse(decodeURIComponent(T))],initialTreeDepth:-1,itemStyle:{borderWidth:0,color:"#4285f4"},label:{backgroundColor:"#f6f8fa",borderColor:"#d1d5da",borderRadius:5,borderWidth:.5,color:"#586069",lineHeight:20,offset:[-5,0],padding:[0,5],position:"insideRight"},lineStyle:{color:"#d1d5da",width:1},roam:!0,symbol:function(A,M){var y;return!((y=M==null?void 0:M.data)===null||y===void 0)&&y.children?"circle":"path://"},type:"tree"}],tooltip:{trigger:"item",triggerOn:"mousemove"}}),C.setAttribute("data-processed","true")}catch(A){C.className="vditor-reset--error",C.innerHTML="mindmap render error:
".concat(A)}}})})}},436:(h,c,p)=>{p.d(c,{k:()=>g});var v=p(771),b=p(472),g=function(m,x,w){var S="",k=[];if(Array.from(m.children).forEach(function(M,y){if((0,v.W)(M)){if(w){var N=M.id.lastIndexOf("_");M.id=M.id.substring(0,N===-1?void 0:N)+"_"+y}k.push(M.id),S+=M.outerHTML.replace("","")}}),S==="")return x.innerHTML="","";var C=document.createElement("div");if(w)w.lute.SetToC(!0),w.currentMode==="wysiwyg"&&!w.preview.element.contains(m)?C.innerHTML=w.lute.SpinVditorDOM("

[ToC]

"+S):w.currentMode==="ir"&&!w.preview.element.contains(m)?C.innerHTML=w.lute.SpinVditorIRDOM("

[ToC]

"+S):C.innerHTML=w.lute.HTML2VditorDOM("

[ToC]

"+S),w.lute.SetToC(w.options.preview.markdown.toc);else{x.classList.add("vditor-outline");var T=Lute.New();T.SetToC(!0),C.innerHTML=T.HTML2VditorDOM("

[ToC]

"+S)}var A=C.firstElementChild.querySelectorAll("li > span[data-target-id]");return A.forEach(function(M,y){if(M.nextElementSibling&&M.nextElementSibling.tagName==="UL"){var N="";document.getElementById("vditorIconScript")||(N=''),M.innerHTML="".concat(N,"").concat(M.innerHTML,"")}else M.innerHTML="".concat(M.innerHTML,"");M.setAttribute("data-target-id",k[y])}),S=C.firstElementChild.innerHTML,A.length===0?(x.innerHTML="",S):(x.innerHTML=S,w&&(0,b.H)(x,{cdn:w.options.cdn,math:w.options.preview.math}),x.firstElementChild.addEventListener("click",function(M){for(var y=M.target;y&&!y.isEqualNode(x);){if(y.classList.contains("vditor-outline__action")){y.classList.contains("vditor-outline__action--close")?(y.classList.remove("vditor-outline__action--close"),y.parentElement.nextElementSibling.setAttribute("style","display:block")):(y.classList.add("vditor-outline__action--close"),y.parentElement.nextElementSibling.setAttribute("style","display:none")),M.preventDefault(),M.stopPropagation();break}else if(y.getAttribute("data-target-id")){M.preventDefault(),M.stopPropagation();var N=document.getElementById(y.getAttribute("data-target-id"));if(!N)return;if(w)if(w.options.height==="auto"){var z=N.offsetTop+w.element.offsetTop;w.options.toolbarConfig.pin||(z+=w.toolbar.element.offsetHeight),window.scrollTo(window.scrollX,z)}else w.element.offsetTop{p.d(c,{B:()=>m});var v=p(145),b=p(413),g=p(840),m=function(x,w){x===void 0&&(x=document),w===void 0&&(w=v.g.CDN);var S=g.plantumlRenderAdapter.getElements(x);S.length!==0&&(0,b.G)("".concat(w,"/dist/js/plantuml/plantuml-encoder.min.js"),"vditorPlantumlScript").then(function(){S.forEach(function(k){if(!(k.parentElement.classList.contains("vditor-wysiwyg__pre")||k.parentElement.classList.contains("vditor-ir__marker--pre"))){var C=g.plantumlRenderAdapter.getCode(k).trim();if(C)try{k.innerHTML='')}catch(T){k.className="vditor-reset--error",k.innerHTML="plantuml render error:
".concat(T)}}})})}},214:(h,c,p)=>{p.d(c,{X:()=>v});var v=function(b){var g=Lute.New();return g.PutEmojis(b.emojis),g.SetEmojiSite(b.emojiSite),g.SetHeadingAnchor(b.headingAnchor),g.SetInlineMathAllowDigitAfterOpenMarker(b.inlineMathDigit),g.SetAutoSpace(b.autoSpace),g.SetToC(b.toc),g.SetFootnotes(b.footnotes),g.SetFixTermTypo(b.fixTermTypo),g.SetVditorCodeBlockPreview(b.codeBlockPreview),g.SetVditorMathBlockPreview(b.mathBlockPreview),g.SetSanitize(b.sanitize),g.SetChineseParagraphBeginningSpace(b.paragraphBeginningSpace),g.SetRenderListStyle(b.listStyle),g.SetLinkBase(b.linkBase),g.SetLinkPrefix(b.linkPrefix),g.SetMark(b.mark),g.SetGFMAutoLink(b.gfmAutoLink),b.lazyLoadImage&&g.SetImageLazyLoading(b.lazyLoadImage),g}},190:(h,c,p)=>{p.d(c,{E:()=>v});var v=function(b,g,m){m===void 0&&(m="classic");var x=b.getBoundingClientRect(),w=36;document.body.insertAdjacentHTML("beforeend",'
@@ -65,38 +65,38 @@ onclick="event.stopPropagation();this.previousElementSibling.select();document.e
-
`)),document.body.style.overflow="hidden";var S=document.querySelector(".vditor-img img"),k="translate3d(".concat(Math.max(0,window.innerWidth-b.naturalWidth)/2,"px, ").concat(Math.max(0,window.innerHeight-w-b.naturalHeight)/2,"px, 0)");setTimeout(function(){S.setAttribute("style","transition: transform .3s ease-in-out;transform: ".concat(k)),setTimeout(function(){S.parentElement.scrollTo((S.parentElement.scrollWidth-S.parentElement.clientWidth)/2,(S.parentElement.scrollHeight-S.parentElement.clientHeight)/2)},400)});var C=document.querySelector(".vditor-img__btn");C.addEventListener("click",function(){var T=parseInt(C.getAttribute("data-deg"),10)+90;T/90%2===1&&b.naturalWidth>S.parentElement.clientHeight?S.style.transform="translate3d(".concat(Math.max(0,window.innerWidth-b.naturalWidth)/2,"px, ").concat(b.naturalWidth/2-b.naturalHeight/2,"px, 0) rotateZ(").concat(T,"deg)"):S.style.transform="".concat(k," rotateZ(").concat(T,"deg)"),C.setAttribute("data-deg",T.toString()),setTimeout(function(){S.parentElement.scrollTo((S.parentElement.scrollWidth-S.parentElement.clientWidth)/2,(S.parentElement.scrollHeight-S.parentElement.clientHeight)/2)},400)})}},580:(h,c,p)=>{p.d(c,{Y:()=>g});var v=p(145),b=p(290),g=function(m,x){x===void 0&&(x=v.g.CDN),v.g.CODE_THEME.includes(m)||(m="github");var w=document.getElementById("vditorHljsStyle"),S="".concat(x,"/dist/js/highlight.js/styles/").concat(m,".min.css");w?w.getAttribute("href")!==S&&(w.remove(),(0,b.c)(S,"vditorHljsStyle")):(0,b.c)(S,"vditorHljsStyle")}},538:(h,c,p)=>{p.d(c,{Z:()=>b});var v=p(290),b=function(g,m){if(!(!g||!m)){var x=document.getElementById("vditorContentTheme"),w="".concat(m,"/").concat(g,".css");x?x.getAttribute("href")!==w&&(x.remove(),(0,v.c)(w,"vditorContentTheme")):(0,v.c)(w,"vditorContentTheme")}}},413:(h,c,p)=>{p.d(c,{J:()=>v,G:()=>b});var v=function(g,m){if(document.getElementById(m))return!1;var x=new XMLHttpRequest;x.open("GET",g,!1),x.setRequestHeader("Accept","text/javascript, application/javascript, application/ecmascript, application/x-ecmascript, */*; q=0.01"),x.send("");var w=document.createElement("script");w.type="text/javascript",w.text=x.responseText,w.id=m,document.head.appendChild(w)},b=function(g,m){return new Promise(function(x,w){if(document.getElementById(m))return x(!0),!1;var S=document.createElement("script");S.src=g,S.async=!0,document.head.appendChild(S),S.onerror=function(k){w(k)},S.onload=function(){if(document.getElementById(m))return S.remove(),x(!0),!1;S.id=m,x(!0)}})}},290:(h,c,p)=>{p.d(c,{c:()=>v});var v=function(b,g){if(!document.getElementById(g)){var m=document.createElement("link");m.id=g,m.rel="stylesheet",m.type="text/css",m.href=b,document.getElementsByTagName("head")[0].appendChild(m)}}},105:(h,c,p)=>{p.d(c,{X:()=>v});var v=function(b){return b.replace(/\u00a0/g," ")}},410:(h,c,p)=>{p.d(c,{G6:()=>v,vU:()=>b,pK:()=>g,Le:()=>m,yl:()=>x,ns:()=>w,i7:()=>S});var v=function(){return navigator.userAgent.indexOf("Safari")>-1&&navigator.userAgent.indexOf("Chrome")===-1},b=function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1},g=function(){try{return typeof localStorage<"u"}catch{return!1}},m=function(){return navigator.userAgent.indexOf("iPhone")>-1?"touchstart":"click"},x=function(k){return navigator.platform.toUpperCase().indexOf("MAC")>=0?!!(k.metaKey&&!k.ctrlKey):!!(!k.metaKey&&k.ctrlKey)},w=function(k){return/Mac/.test(navigator.platform)||navigator.platform==="iPhone"?k.indexOf("⇧")>-1&&b()&&(k=k.replace(";",":").replace("=","+").replace("-","_")):(k.startsWith("⌘")?k=k.replace("⌘","⌘+"):k.startsWith("⌥")&&k.substr(1,1)!=="⌘"?k=k.replace("⌥","⌥+"):k=k.replace("⇧⌘","⌘+⇧+").replace("⌥⌘","⌥+⌘+"),k=k.replace("⌘","Ctrl").replace("⇧","Shift").replace("⌥","Alt"),k.indexOf("Shift")>-1&&(k=k.replace(";",":").replace("=","+").replace("-","_"))),k},S=function(){return/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor)}},494:(h,c,p)=>{p.d(c,{Wb:()=>v,on:()=>b,Qf:()=>g});var v=function(){return([1e7].toString()+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,function(m){return(parseInt(m,10)^window.crypto.getRandomValues(new Uint32Array(1))[0]&15>>parseInt(m,10)/4).toString(16)})},b=function(m,x){x===void 0&&(x=window.location.search);var w=x.substring(x.indexOf("?")),S=w.indexOf("#"),k=new URLSearchParams(w.substring(0,S>=0?S:void 0));return k.get(m)},g=function(m){return Function('"use strict";return ('.concat(m,")"))()}},106:(h,c,p)=>{p.d(c,{JQ:()=>b,E2:()=>g,O9:()=>m,a1:()=>x,F9:()=>w,lG:()=>S,fb:()=>k,DX:()=>C});var v=p(771),b=function(T,A){for(var M=k(T,A),y=!1,N=!1;M&&!M.classList.contains("vditor-reset")&&!N;)y=k(M.parentElement,A),y?M=y:N=!0;return M||!1},g=function(T,A){for(var M=(0,v.S)(T,A),y=!1,N=!1;M&&!M.classList.contains("vditor-reset")&&!N;)y=(0,v.S)(M.parentElement,A),y?M=y:N=!0;return M||!1},m=function(T){var A=g(T,"UL"),M=g(T,"OL"),y=A;return M&&(!A||A&&M.contains(A))&&(y=M),y},x=function(T,A,M){if(!T)return!1;T.nodeType===3&&(T=T.parentElement);for(var y=T,N=!1;y&&!N&&!y.classList.contains("vditor-reset");)y.getAttribute(A)===M?N=!0:y=y.parentElement;return N&&y},w=function(T){if(!T)return!1;T.nodeType===3&&(T=T.parentElement);var A=T,M=!1,y=x(T,"data-block","0");if(y)return y;for(;A&&!M&&!A.classList.contains("vditor-reset");)A.tagName==="H1"||A.tagName==="H2"||A.tagName==="H3"||A.tagName==="H4"||A.tagName==="H5"||A.tagName==="H6"||A.tagName==="P"||A.tagName==="BLOCKQUOTE"||A.tagName==="OL"||A.tagName==="UL"?M=!0:A=A.parentElement;return M&&A},S=function(T,A){if(!T)return!1;T.nodeType===3&&(T=T.parentElement);for(var M=T,y=!1;M&&!y&&!M.classList.contains("vditor-reset");)M.nodeName===A?y=!0:M=M.parentElement;return y&&M},k=function(T,A){if(!T)return!1;T.nodeType===3&&(T=T.parentElement);for(var M=T,y=!1;M&&!y&&!M.classList.contains("vditor-reset");)M.classList.contains(A)?y=!0:M=M.parentElement;return y&&M},C=function(T){for(;T&&T.lastChild;)T=T.lastChild;return T}},771:(h,c,p)=>{p.d(c,{S:()=>v,W:()=>b});var v=function(g,m){if(!g)return!1;g.nodeType===3&&(g=g.parentElement);for(var x=g,w=!1;x&&!w&&!x.classList.contains("vditor-reset");)x.nodeName.indexOf(m)===0?w=!0:x=x.parentElement;return w&&x},b=function(g){var m=v(g,"H");return m&&m.tagName.length===2&&m.tagName!=="HR"?m:!1}},673:(h,c,p)=>{p.d(c,{T:()=>v});var v=function(){for(var b=[],g=0;g{p.d(c,{zh:()=>m,Ny:()=>x,Gb:()=>w,Hc:()=>S,im:()=>k,$j:()=>C,ib:()=>T,oC:()=>A});var v=p(145),b=p(410),g=p(106),m=function(M){var y,N=M[M.currentMode].element;return getSelection().rangeCount>0&&(y=getSelection().getRangeAt(0),N.isEqualNode(y.startContainer)||N.contains(y.startContainer))?y:M[M.currentMode].range?M[M.currentMode].range:(N.focus(),y=N.ownerDocument.createRange(),y.setStart(N,0),y.collapse(!0),y)},x=function(M){var y=window.getSelection().getRangeAt(0);if(!M.contains(y.startContainer)&&!(0,g.fb)(y.startContainer,"vditor-panel--none"))return{left:0,top:0};var N=M.parentElement.getBoundingClientRect(),z;if(y.getClientRects().length===0)if(y.startContainer.nodeType===3){var F=y.startContainer.parentElement;if(F&&F.getClientRects().length>0)z=F.getClientRects()[0];else return{left:0,top:0}}else{var P=y.startContainer.children;if(P[y.startOffset]&&P[y.startOffset].getClientRects().length>0)z=P[y.startOffset].getClientRects()[0];else if(y.startContainer.childNodes.length>0){var Y=y.cloneRange();y.selectNode(y.startContainer.childNodes[Math.max(0,y.startOffset-1)]),z=y.getClientRects()[0],y.setEnd(Y.endContainer,Y.endOffset),y.setStart(Y.startContainer,Y.startOffset)}else z=y.startContainer.getClientRects()[0];if(!z){for(var te=y.startContainer.childNodes[y.startOffset];!te.getClientRects||te.getClientRects&&te.getClientRects().length===0;)te=te.parentElement;z=te.getClientRects()[0]}}else z=y.getClientRects()[0];return{left:z.left-N.left,top:z.top-N.top}},w=function(M,y){if(!y){if(getSelection().rangeCount===0)return!1;y=getSelection().getRangeAt(0)}var N=y.commonAncestorContainer;return M.isEqualNode(N)||M.contains(N)},S=function(M){var y=window.getSelection();y.removeAllRanges(),y.addRange(M)},k=function(M,y,N){var z={end:0,start:0};if(!N){if(getSelection().rangeCount===0)return z;N=window.getSelection().getRangeAt(0)}if(w(y,N)){var F=N.cloneRange();M.childNodes[0]&&M.childNodes[0].childNodes[0]?F.setStart(M.childNodes[0].childNodes[0],0):F.selectNodeContents(M),F.setEnd(N.startContainer,N.startOffset),z.start=F.toString().length,z.end=z.start+N.toString().length}return z},C=function(M,y,N){var z=0,F=0,P=N.childNodes[F],Y=!1,te=!1;M=Math.max(0,M),y=Math.max(0,y);var ce=N.ownerDocument.createRange();for(ce.setStart(P||N,0),ce.collapse(!0);!te&&P;){var Me=z+P.textContent.length;if(!Y&&M>=z&&M<=Me&&(M===0?ce.setStart(P,0):P.childNodes[0].nodeType===3?ce.setStart(P.childNodes[0],M-z):P.nextSibling?ce.setStartBefore(P.nextSibling):ce.setStartAfter(P),Y=!0,M===y)){te=!0;break}Y&&y>=z&&y<=Me&&(y===0?ce.setEnd(P,0):P.childNodes[0].nodeType===3?ce.setEnd(P.childNodes[0],y-z):P.nextSibling?ce.setEndBefore(P.nextSibling):ce.setEndAfter(P),te=!0),z=Me,P=N.childNodes[++F]}return!te&&N.childNodes[F-1]&&ce.setStartBefore(N.childNodes[F-1]),S(ce),ce},T=function(M,y){var N=M.querySelector("wbr");if(N){if(!N.previousElementSibling)N.previousSibling?y.setStart(N.previousSibling,N.previousSibling.textContent.length):N.nextSibling?N.nextSibling.nodeType===3?y.setStart(N.nextSibling,0):y.setStartBefore(N.nextSibling):y.setStart(N.parentElement,0);else if(N.previousElementSibling.isSameNode(N.previousSibling))if(N.previousElementSibling.lastChild){y.setStartBefore(N),y.collapse(!0),S(y),(0,b.i7)()&&(N.previousElementSibling.tagName==="EM"||N.previousElementSibling.tagName==="STRONG"||N.previousElementSibling.tagName==="S")&&(y.insertNode(document.createTextNode(v.g.ZWSP)),y.collapse(!1)),N.remove();return}else y.setStartAfter(N.previousElementSibling);else y.setStart(N.previousSibling,N.previousSibling.textContent.length);y.collapse(!0),N.remove(),S(y)}},A=function(M,y){var N=document.createElement("div");N.innerHTML=M;var z=N.querySelectorAll("p");z.length===1&&!z[0].previousSibling&&!z[0].nextSibling&&y[y.currentMode].element.children.length>0&&N.firstElementChild.tagName==="P"&&(M=z[0].innerHTML.trim());var F=document.createElement("div");F.innerHTML=M;var P=m(y);if(P.toString()!==""&&(y[y.currentMode].preventInput=!0,document.execCommand("delete",!1,"")),F.firstElementChild&&F.firstElementChild.getAttribute("data-block")==="0"){F.lastElementChild.insertAdjacentHTML("beforeend","");var Y=(0,g.F9)(P.startContainer);if(!Y)y[y.currentMode].element.insertAdjacentHTML("beforeend",F.innerHTML);else{var te=(0,g.lG)(P.startContainer,"LI");te&&F.firstElementChild.tagName==="UL"?te.insertAdjacentHTML("afterend",F.firstElementChild.innerHTML):Y.insertAdjacentHTML("afterend",F.innerHTML)}T(y[y.currentMode].element,P)}else{var ce=document.createElement("template");ce.innerHTML=M,P.insertNode(ce.content.cloneNode(!0)),P.collapse(!1),S(P)}}}},r={};function o(h){var c=r[h];if(c!==void 0)return c.exports;var p=r[h]={exports:{}};return n[h](p,p.exports,o),p.exports}o.d=(h,c)=>{for(var p in c)o.o(c,p)&&!o.o(h,p)&&Object.defineProperty(h,p,{enumerable:!0,get:c[p]})},o.o=(h,c)=>Object.prototype.hasOwnProperty.call(h,c),o.r=h=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(h,"__esModule",{value:!0})};var l={};return(()=>{o.d(l,{default:()=>Nd});var h=o(408),c=o(145),p=o(105),v=function(i){return i.currentMode==="sv"?(0,p.X)("".concat(i.sv.element.textContent,` +
`)),document.body.style.overflow="hidden";var S=document.querySelector(".vditor-img img"),k="translate3d(".concat(Math.max(0,window.innerWidth-b.naturalWidth)/2,"px, ").concat(Math.max(0,window.innerHeight-w-b.naturalHeight)/2,"px, 0)");setTimeout(function(){S.setAttribute("style","transition: transform .3s ease-in-out;transform: ".concat(k)),setTimeout(function(){S.parentElement.scrollTo((S.parentElement.scrollWidth-S.parentElement.clientWidth)/2,(S.parentElement.scrollHeight-S.parentElement.clientHeight)/2)},400)});var C=document.querySelector(".vditor-img__btn");C.addEventListener("click",function(){var T=parseInt(C.getAttribute("data-deg"),10)+90;T/90%2===1&&b.naturalWidth>S.parentElement.clientHeight?S.style.transform="translate3d(".concat(Math.max(0,window.innerWidth-b.naturalWidth)/2,"px, ").concat(b.naturalWidth/2-b.naturalHeight/2,"px, 0) rotateZ(").concat(T,"deg)"):S.style.transform="".concat(k," rotateZ(").concat(T,"deg)"),C.setAttribute("data-deg",T.toString()),setTimeout(function(){S.parentElement.scrollTo((S.parentElement.scrollWidth-S.parentElement.clientWidth)/2,(S.parentElement.scrollHeight-S.parentElement.clientHeight)/2)},400)})}},580:(h,c,p)=>{p.d(c,{Y:()=>g});var v=p(145),b=p(290),g=function(m,x){x===void 0&&(x=v.g.CDN),v.g.CODE_THEME.includes(m)||(m="github");var w=document.getElementById("vditorHljsStyle"),S="".concat(x,"/dist/js/highlight.js/styles/").concat(m,".min.css");w?w.getAttribute("href")!==S&&(w.remove(),(0,b.c)(S,"vditorHljsStyle")):(0,b.c)(S,"vditorHljsStyle")}},538:(h,c,p)=>{p.d(c,{Z:()=>b});var v=p(290),b=function(g,m){if(!(!g||!m)){var x=document.getElementById("vditorContentTheme"),w="".concat(m,"/").concat(g,".css");x?x.getAttribute("href")!==w&&(x.remove(),(0,v.c)(w,"vditorContentTheme")):(0,v.c)(w,"vditorContentTheme")}}},413:(h,c,p)=>{p.d(c,{J:()=>v,G:()=>b});var v=function(g,m){if(document.getElementById(m))return!1;var x=new XMLHttpRequest;x.open("GET",g,!1),x.setRequestHeader("Accept","text/javascript, application/javascript, application/ecmascript, application/x-ecmascript, */*; q=0.01"),x.send("");var w=document.createElement("script");w.type="text/javascript",w.text=x.responseText,w.id=m,document.head.appendChild(w)},b=function(g,m){return new Promise(function(x,w){if(document.getElementById(m))return x(!0),!1;var S=document.createElement("script");S.src=g,S.async=!0,document.head.appendChild(S),S.onerror=function(k){w(k)},S.onload=function(){if(document.getElementById(m))return S.remove(),x(!0),!1;S.id=m,x(!0)}})}},290:(h,c,p)=>{p.d(c,{c:()=>v});var v=function(b,g){if(!document.getElementById(g)){var m=document.createElement("link");m.id=g,m.rel="stylesheet",m.type="text/css",m.href=b,document.getElementsByTagName("head")[0].appendChild(m)}}},105:(h,c,p)=>{p.d(c,{X:()=>v});var v=function(b){return b.replace(/\u00a0/g," ")}},410:(h,c,p)=>{p.d(c,{G6:()=>v,vU:()=>b,pK:()=>g,Le:()=>m,yl:()=>x,ns:()=>w,i7:()=>S});var v=function(){return navigator.userAgent.indexOf("Safari")>-1&&navigator.userAgent.indexOf("Chrome")===-1},b=function(){return navigator.userAgent.toLowerCase().indexOf("firefox")>-1},g=function(){try{return typeof localStorage<"u"}catch{return!1}},m=function(){return navigator.userAgent.indexOf("iPhone")>-1?"touchstart":"click"},x=function(k){return navigator.platform.toUpperCase().indexOf("MAC")>=0?!!(k.metaKey&&!k.ctrlKey):!!(!k.metaKey&&k.ctrlKey)},w=function(k){return/Mac/.test(navigator.platform)||navigator.platform==="iPhone"?k.indexOf("⇧")>-1&&b()&&(k=k.replace(";",":").replace("=","+").replace("-","_")):(k.startsWith("⌘")?k=k.replace("⌘","⌘+"):k.startsWith("⌥")&&k.substr(1,1)!=="⌘"?k=k.replace("⌥","⌥+"):k=k.replace("⇧⌘","⌘+⇧+").replace("⌥⌘","⌥+⌘+"),k=k.replace("⌘","Ctrl").replace("⇧","Shift").replace("⌥","Alt"),k.indexOf("Shift")>-1&&(k=k.replace(";",":").replace("=","+").replace("-","_"))),k},S=function(){return/Chrome/.test(navigator.userAgent)&&/Google Inc/.test(navigator.vendor)}},494:(h,c,p)=>{p.d(c,{Wb:()=>v,on:()=>b,Qf:()=>g});var v=function(){return([1e7].toString()+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,function(m){return(parseInt(m,10)^window.crypto.getRandomValues(new Uint32Array(1))[0]&15>>parseInt(m,10)/4).toString(16)})},b=function(m,x){x===void 0&&(x=window.location.search);var w=x.substring(x.indexOf("?")),S=w.indexOf("#"),k=new URLSearchParams(w.substring(0,S>=0?S:void 0));return k.get(m)},g=function(m){return Function('"use strict";return ('.concat(m,")"))()}},106:(h,c,p)=>{p.d(c,{JQ:()=>b,E2:()=>g,O9:()=>m,a1:()=>x,F9:()=>w,lG:()=>S,fb:()=>k,DX:()=>C});var v=p(771),b=function(T,A){for(var M=k(T,A),y=!1,N=!1;M&&!M.classList.contains("vditor-reset")&&!N;)y=k(M.parentElement,A),y?M=y:N=!0;return M||!1},g=function(T,A){for(var M=(0,v.S)(T,A),y=!1,N=!1;M&&!M.classList.contains("vditor-reset")&&!N;)y=(0,v.S)(M.parentElement,A),y?M=y:N=!0;return M||!1},m=function(T){var A=g(T,"UL"),M=g(T,"OL"),y=A;return M&&(!A||A&&M.contains(A))&&(y=M),y},x=function(T,A,M){if(!T)return!1;T.nodeType===3&&(T=T.parentElement);for(var y=T,N=!1;y&&!N&&!y.classList.contains("vditor-reset");)y.getAttribute(A)===M?N=!0:y=y.parentElement;return N&&y},w=function(T){if(!T)return!1;T.nodeType===3&&(T=T.parentElement);var A=T,M=!1,y=x(T,"data-block","0");if(y)return y;for(;A&&!M&&!A.classList.contains("vditor-reset");)A.tagName==="H1"||A.tagName==="H2"||A.tagName==="H3"||A.tagName==="H4"||A.tagName==="H5"||A.tagName==="H6"||A.tagName==="P"||A.tagName==="BLOCKQUOTE"||A.tagName==="OL"||A.tagName==="UL"?M=!0:A=A.parentElement;return M&&A},S=function(T,A){if(!T)return!1;T.nodeType===3&&(T=T.parentElement);for(var M=T,y=!1;M&&!y&&!M.classList.contains("vditor-reset");)M.nodeName===A?y=!0:M=M.parentElement;return y&&M},k=function(T,A){if(!T)return!1;T.nodeType===3&&(T=T.parentElement);for(var M=T,y=!1;M&&!y&&!M.classList.contains("vditor-reset");)M.classList.contains(A)?y=!0:M=M.parentElement;return y&&M},C=function(T){for(;T&&T.lastChild;)T=T.lastChild;return T}},771:(h,c,p)=>{p.d(c,{S:()=>v,W:()=>b});var v=function(g,m){if(!g)return!1;g.nodeType===3&&(g=g.parentElement);for(var x=g,w=!1;x&&!w&&!x.classList.contains("vditor-reset");)x.nodeName.indexOf(m)===0?w=!0:x=x.parentElement;return w&&x},b=function(g){var m=v(g,"H");return m&&m.tagName.length===2&&m.tagName!=="HR"?m:!1}},673:(h,c,p)=>{p.d(c,{T:()=>v});var v=function(){for(var b=[],g=0;g{p.d(c,{zh:()=>m,Ny:()=>x,Gb:()=>w,Hc:()=>S,im:()=>k,$j:()=>C,ib:()=>T,oC:()=>A});var v=p(145),b=p(410),g=p(106),m=function(M){var y,N=M[M.currentMode].element;return getSelection().rangeCount>0&&(y=getSelection().getRangeAt(0),N.isEqualNode(y.startContainer)||N.contains(y.startContainer))?y:M[M.currentMode].range?M[M.currentMode].range:(N.focus(),y=N.ownerDocument.createRange(),y.setStart(N,0),y.collapse(!0),y)},x=function(M){var y=window.getSelection().getRangeAt(0);if(!M.contains(y.startContainer)&&!(0,g.fb)(y.startContainer,"vditor-panel--none"))return{left:0,top:0};var N=M.parentElement.getBoundingClientRect(),z;if(y.getClientRects().length===0)if(y.startContainer.nodeType===3){var F=y.startContainer.parentElement;if(F&&F.getClientRects().length>0)z=F.getClientRects()[0];else return{left:0,top:0}}else{var P=y.startContainer.children;if(P[y.startOffset]&&P[y.startOffset].getClientRects().length>0)z=P[y.startOffset].getClientRects()[0];else if(y.startContainer.childNodes.length>0){var Y=y.cloneRange();y.selectNode(y.startContainer.childNodes[Math.max(0,y.startOffset-1)]),z=y.getClientRects()[0],y.setEnd(Y.endContainer,Y.endOffset),y.setStart(Y.startContainer,Y.startOffset)}else z=y.startContainer.getClientRects()[0];if(!z){for(var te=y.startContainer.childNodes[y.startOffset];!te.getClientRects||te.getClientRects&&te.getClientRects().length===0;)te=te.parentElement;z=te.getClientRects()[0]}}else z=y.getClientRects()[0];return{left:z.left-N.left,top:z.top-N.top}},w=function(M,y){if(!y){if(getSelection().rangeCount===0)return!1;y=getSelection().getRangeAt(0)}var N=y.commonAncestorContainer;return M.isEqualNode(N)||M.contains(N)},S=function(M){var y=window.getSelection();y.removeAllRanges(),y.addRange(M)},k=function(M,y,N){var z={end:0,start:0};if(!N){if(getSelection().rangeCount===0)return z;N=window.getSelection().getRangeAt(0)}if(w(y,N)){var F=N.cloneRange();M.childNodes[0]&&M.childNodes[0].childNodes[0]?F.setStart(M.childNodes[0].childNodes[0],0):F.selectNodeContents(M),F.setEnd(N.startContainer,N.startOffset),z.start=F.toString().length,z.end=z.start+N.toString().length}return z},C=function(M,y,N){var z=0,F=0,P=N.childNodes[F],Y=!1,te=!1;M=Math.max(0,M),y=Math.max(0,y);var de=N.ownerDocument.createRange();for(de.setStart(P||N,0),de.collapse(!0);!te&&P;){var Ce=z+P.textContent.length;if(!Y&&M>=z&&M<=Ce&&(M===0?de.setStart(P,0):P.childNodes[0].nodeType===3?de.setStart(P.childNodes[0],M-z):P.nextSibling?de.setStartBefore(P.nextSibling):de.setStartAfter(P),Y=!0,M===y)){te=!0;break}Y&&y>=z&&y<=Ce&&(y===0?de.setEnd(P,0):P.childNodes[0].nodeType===3?de.setEnd(P.childNodes[0],y-z):P.nextSibling?de.setEndBefore(P.nextSibling):de.setEndAfter(P),te=!0),z=Ce,P=N.childNodes[++F]}return!te&&N.childNodes[F-1]&&de.setStartBefore(N.childNodes[F-1]),S(de),de},T=function(M,y){var N=M.querySelector("wbr");if(N){if(!N.previousElementSibling)N.previousSibling?y.setStart(N.previousSibling,N.previousSibling.textContent.length):N.nextSibling?N.nextSibling.nodeType===3?y.setStart(N.nextSibling,0):y.setStartBefore(N.nextSibling):y.setStart(N.parentElement,0);else if(N.previousElementSibling.isSameNode(N.previousSibling))if(N.previousElementSibling.lastChild){y.setStartBefore(N),y.collapse(!0),S(y),(0,b.i7)()&&(N.previousElementSibling.tagName==="EM"||N.previousElementSibling.tagName==="STRONG"||N.previousElementSibling.tagName==="S")&&(y.insertNode(document.createTextNode(v.g.ZWSP)),y.collapse(!1)),N.remove();return}else y.setStartAfter(N.previousElementSibling);else y.setStart(N.previousSibling,N.previousSibling.textContent.length);y.collapse(!0),N.remove(),S(y)}},A=function(M,y){var N=document.createElement("div");N.innerHTML=M;var z=N.querySelectorAll("p");z.length===1&&!z[0].previousSibling&&!z[0].nextSibling&&y[y.currentMode].element.children.length>0&&N.firstElementChild.tagName==="P"&&(M=z[0].innerHTML.trim());var F=document.createElement("div");F.innerHTML=M;var P=m(y);if(P.toString()!==""&&(y[y.currentMode].preventInput=!0,document.execCommand("delete",!1,"")),F.firstElementChild&&F.firstElementChild.getAttribute("data-block")==="0"){F.lastElementChild.insertAdjacentHTML("beforeend","");var Y=(0,g.F9)(P.startContainer);if(!Y)y[y.currentMode].element.insertAdjacentHTML("beforeend",F.innerHTML);else{var te=(0,g.lG)(P.startContainer,"LI");te&&F.firstElementChild.tagName==="UL"?te.insertAdjacentHTML("afterend",F.firstElementChild.innerHTML):Y.insertAdjacentHTML("afterend",F.innerHTML)}T(y[y.currentMode].element,P)}else{var de=document.createElement("template");de.innerHTML=M,P.insertNode(de.content.cloneNode(!0)),P.collapse(!1),S(P)}}}},r={};function o(h){var c=r[h];if(c!==void 0)return c.exports;var p=r[h]={exports:{}};return n[h](p,p.exports,o),p.exports}o.d=(h,c)=>{for(var p in c)o.o(c,p)&&!o.o(h,p)&&Object.defineProperty(h,p,{enumerable:!0,get:c[p]})},o.o=(h,c)=>Object.prototype.hasOwnProperty.call(h,c),o.r=h=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(h,"__esModule",{value:!0})};var l={};return(()=>{o.d(l,{default:()=>Nd});var h=o(408),c=o(145),p=o(105),v=function(i){return i.currentMode==="sv"?(0,p.X)("".concat(i.sv.element.textContent,` `).replace(/\n\n$/,` -`)):i.currentMode==="wysiwyg"?i.lute.VditorDOM2Md(i.wysiwyg.element.innerHTML):i.currentMode==="ir"?i.lute.VditorIRDOM2Md(i.ir.element.innerHTML):""},b=o(413),g=function(){function i(){this.element=document.createElement("div"),this.element.className="vditor-devtools",this.element.innerHTML='
'}return i.prototype.renderEchart=function(a){var s=this;a.devtools.element.style.display==="block"&&(0,b.G)("".concat(a.options.cdn,"/dist/js/echarts/echarts.min.js?v=5.5.1"),"vditorEchartsScript").then(function(){s.ASTChart||(s.ASTChart=echarts.init(a.devtools.element.lastElementChild));try{s.element.lastElementChild.style.display="block",s.element.firstElementChild.innerHTML="",s.ASTChart.setOption({series:[{data:JSON.parse(a.lute.RenderEChartsJSON(v(a))),initialTreeDepth:-1,label:{align:"left",backgroundColor:"rgba(68, 77, 86, .68)",borderRadius:3,color:"#d1d5da",fontSize:12,lineHeight:12,offset:[9,12],padding:[2,4,2,4],position:"top",verticalAlign:"middle"},lineStyle:{color:"#4285f4",type:"curve",width:1},orient:"vertical",roam:!0,type:"tree"}],toolbox:{bottom:25,emphasis:{iconStyle:{color:"#4285f4"}},feature:{restore:{show:!0},saveAsImage:{show:!0}},right:15,show:!0}}),s.ASTChart.resize()}catch(u){s.element.lastElementChild.style.display="none",s.element.firstElementChild.innerHTML=u}})},i}(),m=o(410),x=function(i,a){a.forEach(function(s){if(i[s]){var u=i[s].children[0];u&&u.classList.contains("vditor-menu--current")&&u.classList.remove("vditor-menu--current")}})},w=function(i,a){a.forEach(function(s){if(i[s]){var u=i[s].children[0];u&&!u.classList.contains("vditor-menu--current")&&u.classList.add("vditor-menu--current")}})},S=function(i,a){a.forEach(function(s){if(i[s]){var u=i[s].children[0];u&&u.classList.contains(c.g.CLASS_MENU_DISABLED)&&u.classList.remove(c.g.CLASS_MENU_DISABLED)}})},k=function(i,a){a.forEach(function(s){if(i[s]){var u=i[s].children[0];u&&!u.classList.contains(c.g.CLASS_MENU_DISABLED)&&u.classList.add(c.g.CLASS_MENU_DISABLED)}})},C=function(i,a){a.forEach(function(s){i[s]&&i[s]&&(i[s].style.display="none")})},T=function(i,a){a.forEach(function(s){i[s]&&i[s]&&(i[s].style.display="block")})},A=function(i,a,s){a.includes("subToolbar")&&(i.toolbar.element.querySelectorAll(".vditor-hint").forEach(function(u){s&&u.isEqualNode(s)||(u.style.display="none")}),i.toolbar.elements.emoji&&(i.toolbar.elements.emoji.lastElementChild.style.display="none")),a.includes("hint")&&(i.hint.element.style.display="none"),i.wysiwyg.popover&&a.includes("popover")&&(i.wysiwyg.popover.style.display="none")},M=function(i,a,s,u){s.addEventListener((0,m.Le)(),function(d){d.preventDefault(),d.stopPropagation(),!s.classList.contains(c.g.CLASS_MENU_DISABLED)&&(i.toolbar.element.querySelectorAll(".vditor-hint--current").forEach(function(f){f.classList.remove("vditor-hint--current")}),a.style.display==="block"?a.style.display="none":(A(i,["subToolbar","hint","popover"],s.parentElement.parentElement),s.classList.contains("vditor-tooltipped")||s.classList.add("vditor-hint--current"),a.style.display="block",i.toolbar.element.getBoundingClientRect().right-s.getBoundingClientRect().right<250?a.classList.add("vditor-panel--left"):a.classList.remove("vditor-panel--left")))})},y=o(106),N=o(771),z=function(i,a,s,u){u&&console.log("".concat(i," - ").concat(s,": ").concat(a))},F=o(135),P=o(775),Y=o(428),te=o(325),ce=o(483),Me=o(999),Fe=o(472),We=o(637),rt=o(11),je=o(194),Ne=o(229),nt=o(825),ct=function(i,a,s){s===void 0&&(s="sv");var u=document.createElement("div");u.innerHTML=i;var d=!1;u.childElementCount===1&&u.lastElementChild.style.fontFamily.indexOf("monospace")>-1&&(d=!0);var f=u.querySelectorAll("pre");if(u.childElementCount===1&&f.length===1&&f[0].className!=="vditor-wysiwyg"&&f[0].className!=="vditor-sv"&&(d=!0),i.indexOf(` -

`)===0&&(d=!0),u.childElementCount===1&&u.firstElementChild.tagName==="TABLE"&&u.querySelector(".line-number")&&u.querySelector(".line-content")&&(d=!0),d){var E=a||i;return/\n/.test(E)||f.length===1?s==="wysiwyg"?'

'.concat(E.replace(/&/g,"&").replace(/
"):"\n```\n"+E.replace(/&/g,"&").replace(/".concat(E.replace(/&/g,"&").replace(/"):"`".concat(E,"`")}return!1},tt=function(i,a){if(i){if(i.parentElement.getAttribute("data-type")==="html-block"){i.setAttribute("data-render","1");return}var s=i.firstElementChild.className.replace("language-","");if(s==="abc")(0,F.Q)(i,a.options.cdn);else if(s==="mermaid")(0,We.i)(i,a.options.cdn,a.options.theme);else if(s==="smiles")(0,nt.J)(i,a.options.cdn,a.options.theme);else if(s==="markmap")(0,rt.K)(i,a.options.cdn);else if(s==="flowchart")(0,te.P)(i,a.options.cdn);else if(s==="echarts")(0,P.p)(i,a.options.cdn,a.options.theme);else if(s==="mindmap")(0,je.P)(i,a.options.cdn,a.options.theme);else if(s==="plantuml")(0,Ne.B)(i,a.options.cdn);else if(s==="graphviz")(0,ce.v)(i,a.options.cdn);else if(s==="math")(0,Fe.H)(i,{cdn:a.options.cdn,math:a.options.preview.math});else{var u=a.options.customRenders.find(function(d){if(d.language===s)return d.render(i,a),!0});u||((0,Me.s)(Object.assign({},a.options.preview.hljs),i,a.options.cdn),(0,Y.O)(i,a.options.preview.hljs))}i.setAttribute("data-render","1")}},q=o(810),Ht=function(i){if(i.currentMode!=="sv"){var a=i[i.currentMode].element,s=i.outline.render(i);s===""&&(s="[ToC]"),a.querySelectorAll('[data-type="toc-block"]').forEach(function(u){u.innerHTML=s,(0,Fe.H)(u,{cdn:i.options.cdn,math:i.options.preview.math})})}},Rt=function(i,a){var s=(0,y.lG)(i.target,"SPAN");if(s&&(0,y.fb)(s,"vditor-toc")){var u=a[a.currentMode].element.querySelector("#"+s.getAttribute("data-target-id"));if(u)if(a.options.height==="auto"){var d=u.offsetTop+a.element.offsetTop;a.options.toolbarConfig.pin||(d+=a.toolbar.element.offsetHeight),window.scrollTo(window.scrollX,d)}else a.element.offsetTop=i.textContent.trimRight().length)return i.nextElementSibling.remove(),lt(a),!0;if(pi(a,s,u,i,i.nextElementSibling))return!0}if(s.key==="Backspace"||s.key==="Delete"){var d=(0,y.fb)(u.startContainer,"vditor-toc");if(d)return d.remove(),lt(a),!0}},Nt=function(i,a,s,u){s===void 0&&(s=!1);var d=(0,y.F9)(a.startContainer);if(d&&!s&&d.getAttribute("data-type")!=="code-block"){if(fo(d.innerHTML)&&d.previousElementSibling||mo(d.innerHTML))return;for(var f=(0,q.im)(d,i.ir.element,a).start,E=!0,L=f-1;L>d.textContent.substr(0,f).lastIndexOf(` +`)):i.currentMode==="wysiwyg"?i.lute.VditorDOM2Md(i.wysiwyg.element.innerHTML):i.currentMode==="ir"?i.lute.VditorIRDOM2Md(i.ir.element.innerHTML):""},b=o(413),g=function(){function i(){this.element=document.createElement("div"),this.element.className="vditor-devtools",this.element.innerHTML='
'}return i.prototype.renderEchart=function(a){var s=this;a.devtools.element.style.display==="block"&&(0,b.G)("".concat(a.options.cdn,"/dist/js/echarts/echarts.min.js?v=5.5.1"),"vditorEchartsScript").then(function(){s.ASTChart||(s.ASTChart=echarts.init(a.devtools.element.lastElementChild));try{s.element.lastElementChild.style.display="block",s.element.firstElementChild.innerHTML="",s.ASTChart.setOption({series:[{data:JSON.parse(a.lute.RenderEChartsJSON(v(a))),initialTreeDepth:-1,label:{align:"left",backgroundColor:"rgba(68, 77, 86, .68)",borderRadius:3,color:"#d1d5da",fontSize:12,lineHeight:12,offset:[9,12],padding:[2,4,2,4],position:"top",verticalAlign:"middle"},lineStyle:{color:"#4285f4",type:"curve",width:1},orient:"vertical",roam:!0,type:"tree"}],toolbox:{bottom:25,emphasis:{iconStyle:{color:"#4285f4"}},feature:{restore:{show:!0},saveAsImage:{show:!0}},right:15,show:!0}}),s.ASTChart.resize()}catch(u){s.element.lastElementChild.style.display="none",s.element.firstElementChild.innerHTML=u}})},i}(),m=o(410),x=function(i,a){a.forEach(function(s){if(i[s]){var u=i[s].children[0];u&&u.classList.contains("vditor-menu--current")&&u.classList.remove("vditor-menu--current")}})},w=function(i,a){a.forEach(function(s){if(i[s]){var u=i[s].children[0];u&&!u.classList.contains("vditor-menu--current")&&u.classList.add("vditor-menu--current")}})},S=function(i,a){a.forEach(function(s){if(i[s]){var u=i[s].children[0];u&&u.classList.contains(c.g.CLASS_MENU_DISABLED)&&u.classList.remove(c.g.CLASS_MENU_DISABLED)}})},k=function(i,a){a.forEach(function(s){if(i[s]){var u=i[s].children[0];u&&!u.classList.contains(c.g.CLASS_MENU_DISABLED)&&u.classList.add(c.g.CLASS_MENU_DISABLED)}})},C=function(i,a){a.forEach(function(s){i[s]&&i[s]&&(i[s].style.display="none")})},T=function(i,a){a.forEach(function(s){i[s]&&i[s]&&(i[s].style.display="block")})},A=function(i,a,s){a.includes("subToolbar")&&(i.toolbar.element.querySelectorAll(".vditor-hint").forEach(function(u){s&&u.isEqualNode(s)||(u.style.display="none")}),i.toolbar.elements.emoji&&(i.toolbar.elements.emoji.lastElementChild.style.display="none")),a.includes("hint")&&(i.hint.element.style.display="none"),i.wysiwyg.popover&&a.includes("popover")&&(i.wysiwyg.popover.style.display="none")},M=function(i,a,s,u){s.addEventListener((0,m.Le)(),function(d){d.preventDefault(),d.stopPropagation(),!s.classList.contains(c.g.CLASS_MENU_DISABLED)&&(i.toolbar.element.querySelectorAll(".vditor-hint--current").forEach(function(f){f.classList.remove("vditor-hint--current")}),a.style.display==="block"?a.style.display="none":(A(i,["subToolbar","hint","popover"],s.parentElement.parentElement),s.classList.contains("vditor-tooltipped")||s.classList.add("vditor-hint--current"),a.style.display="block",i.toolbar.element.getBoundingClientRect().right-s.getBoundingClientRect().right<250?a.classList.add("vditor-panel--left"):a.classList.remove("vditor-panel--left")))})},y=o(106),N=o(771),z=function(i,a,s,u){u&&console.log("".concat(i," - ").concat(s,": ").concat(a))},F=o(135),P=o(775),Y=o(428),te=o(325),de=o(483),Ce=o(999),qe=o(472),Ge=o(637),nt=o(11),je=o(194),Ne=o(229),tt=o(825),lt=function(i,a,s){s===void 0&&(s="sv");var u=document.createElement("div");u.innerHTML=i;var d=!1;u.childElementCount===1&&u.lastElementChild.style.fontFamily.indexOf("monospace")>-1&&(d=!0);var f=u.querySelectorAll("pre");if(u.childElementCount===1&&f.length===1&&f[0].className!=="vditor-wysiwyg"&&f[0].className!=="vditor-sv"&&(d=!0),i.indexOf(` +

`)===0&&(d=!0),u.childElementCount===1&&u.firstElementChild.tagName==="TABLE"&&u.querySelector(".line-number")&&u.querySelector(".line-content")&&(d=!0),d){var E=a||i;return/\n/.test(E)||f.length===1?s==="wysiwyg"?'

'.concat(E.replace(/&/g,"&").replace(/
"):"\n```\n"+E.replace(/&/g,"&").replace(/".concat(E.replace(/&/g,"&").replace(/"):"`".concat(E,"`")}return!1},Qe=function(i,a){if(i){if(i.parentElement.getAttribute("data-type")==="html-block"){i.setAttribute("data-render","1");return}var s=i.firstElementChild.className.replace("language-","");if(s==="abc")(0,F.Q)(i,a.options.cdn);else if(s==="mermaid")(0,Ge.i)(i,a.options.cdn,a.options.theme);else if(s==="smiles")(0,tt.J)(i,a.options.cdn,a.options.theme);else if(s==="markmap")(0,nt.K)(i,a.options.cdn);else if(s==="flowchart")(0,te.P)(i,a.options.cdn);else if(s==="echarts")(0,P.p)(i,a.options.cdn,a.options.theme);else if(s==="mindmap")(0,je.P)(i,a.options.cdn,a.options.theme);else if(s==="plantuml")(0,Ne.B)(i,a.options.cdn);else if(s==="graphviz")(0,de.v)(i,a.options.cdn);else if(s==="math")(0,qe.H)(i,{cdn:a.options.cdn,math:a.options.preview.math});else{var u=a.options.customRenders.find(function(d){if(d.language===s)return d.render(i,a),!0});u||((0,Ce.s)(Object.assign({},a.options.preview.hljs),i,a.options.cdn),(0,Y.O)(i,a.options.preview.hljs))}i.setAttribute("data-render","1")}},j=o(810),Ht=function(i){if(i.currentMode!=="sv"){var a=i[i.currentMode].element,s=i.outline.render(i);s===""&&(s="[ToC]"),a.querySelectorAll('[data-type="toc-block"]').forEach(function(u){u.innerHTML=s,(0,qe.H)(u,{cdn:i.options.cdn,math:i.options.preview.math})})}},Dt=function(i,a){var s=(0,y.lG)(i.target,"SPAN");if(s&&(0,y.fb)(s,"vditor-toc")){var u=a[a.currentMode].element.querySelector("#"+s.getAttribute("data-target-id"));if(u)if(a.options.height==="auto"){var d=u.offsetTop+a.element.offsetTop;a.options.toolbarConfig.pin||(d+=a.toolbar.element.offsetHeight),window.scrollTo(window.scrollX,d)}else a.element.offsetTop=i.textContent.trimRight().length)return i.nextElementSibling.remove(),st(a),!0;if(fi(a,s,u,i,i.nextElementSibling))return!0}if(s.key==="Backspace"||s.key==="Delete"){var d=(0,y.fb)(u.startContainer,"vditor-toc");if(d)return d.remove(),st(a),!0}},Nt=function(i,a,s,u){s===void 0&&(s=!1);var d=(0,y.F9)(a.startContainer);if(d&&!s&&d.getAttribute("data-type")!=="code-block"){if(fo(d.innerHTML)&&d.previousElementSibling||mo(d.innerHTML))return;for(var f=(0,j.im)(d,i.ir.element,a).start,E=!0,L=f-1;L>d.textContent.substr(0,f).lastIndexOf(` `);L--)if(d.textContent.charAt(L)!==" "&&d.textContent.charAt(L)!==" "){E=!1;break}f===0&&(E=!1);for(var D=!0,L=f-1;L"):a.insertNode(document.createElement("wbr"))}d.querySelectorAll("[style]").forEach(function(it){it.removeAttribute("style")}),d.getAttribute("data-type")==="link-ref-defs-block"&&(d=i.ir.element);var fe=d.isEqualNode(i.ir.element),ve=(0,y.a1)(d,"data-type","footnotes-block"),ue="";if(fe)ue=d.innerHTML;else{var ke=(0,N.S)(a.startContainer,"BLOCKQUOTE"),we=(0,y.O9)(a.startContainer);if(we&&(d=we),ke&&(!we||we&&!ke.contains(we))&&(d=ke),ve&&(d=ve),ue=d.outerHTML,d.tagName==="UL"||d.tagName==="OL"){var de=d.previousElementSibling,Ie=d.nextElementSibling;de&&(de.tagName==="UL"||de.tagName==="OL")&&(ue=de.outerHTML+ue,de.remove()),Ie&&(Ie.tagName==="UL"||Ie.tagName==="OL")&&(ue=ue+Ie.outerHTML,Ie.remove()),ue=ue.replace("

","

  • ")}else d.previousElementSibling&&d.previousElementSibling.textContent.replace(c.g.ZWSP,"")!==""&&u&&u.inputType==="insertParagraph"&&(ue=d.previousElementSibling.outerHTML+ue,d.previousElementSibling.remove());d.innerText.startsWith("```")||(i.ir.element.querySelectorAll("[data-type='link-ref-defs-block']").forEach(function(it){it&&!d.isEqualNode(it)&&(ue+=it.outerHTML,it.remove())}),i.ir.element.querySelectorAll("[data-type='footnotes-block']").forEach(function(it){it&&!d.isEqualNode(it)&&(ue+=it.outerHTML,it.remove())}))}if(z("SpinVditorIRDOM",ue,"argument",i.options.debugger),ue=i.lute.SpinVditorIRDOM(ue),z("SpinVditorIRDOM",ue,"result",i.options.debugger),fe)d.innerHTML=ue;else if(d.outerHTML=ue,ve){var Te=(0,y.a1)(i.ir.element.querySelector("wbr"),"data-type","footnotes-def");if(Te){var $e=Te.textContent,bt=$e.substring(1,$e.indexOf("]:")),gt=i.ir.element.querySelector('sup[data-type="footnotes-ref"][data-footnotes-label="'.concat(bt,'"]'));gt&>.setAttribute("aria-label",$e.substr(bt.length+3).trim().substr(0,24))}}var kt,dn=i.ir.element.querySelectorAll("[data-type='link-ref-defs-block']");dn.forEach(function(it,zt){zt===0?kt=it:(kt.insertAdjacentHTML("beforeend",it.innerHTML),it.remove())}),dn.length>0&&i.ir.element.insertAdjacentElement("beforeend",dn[0]);var Wt,hn=i.ir.element.querySelectorAll("[data-type='footnotes-block']");hn.forEach(function(it,zt){zt===0?Wt=it:(Wt.insertAdjacentHTML("beforeend",it.innerHTML),it.remove())}),hn.length>0&&i.ir.element.insertAdjacentElement("beforeend",hn[0]),(0,q.ib)(i.ir.element,a),i.ir.element.querySelectorAll(".vditor-ir__preview[data-render='2']").forEach(function(it){tt(it,i)}),Ht(i),Xn(i,{enableAddUndoStack:!0,enableHint:!0,enableInput:!0})},oe=function(i,a){if(i==="")return!1;if(i.indexOf("⇧")===-1&&i.indexOf("⌘")===-1&&i.indexOf("⌥")===-1)return!(0,m.yl)(a)&&!a.altKey&&!a.shiftKey&&a.code===i;if(i==="⇧Tab")return!!(!(0,m.yl)(a)&&!a.altKey&&a.shiftKey&&a.code==="Tab");var s=i.split("");if(i.startsWith("⌥")){var u=s.length===3?s[2]:s[1];return!!((s.length===3?(0,m.yl)(a):!(0,m.yl)(a))&&a.altKey&&!a.shiftKey&&a.code===(/^[0-9]$/.test(u)?"Digit":"Key")+u)}i==="⌘Enter"&&(s=["⌘","Enter"]);var d=s.length>2&&s[0]==="⇧",f=d?s[2]:s[1];return d&&((0,m.vU)()||!/Mac/.test(navigator.platform))&&(f==="-"?f="_":f==="="&&(f="+")),!!((0,m.yl)(a)&&a.key.toLowerCase()===f.toLowerCase()&&!a.altKey&&(!d&&!a.shiftKey||d&&a.shiftKey))},he=function(i){var a=i.startContainer;if(a.nodeType===3&&a.nodeValue.length!==i.startOffset)return!1;for(var s=a.nextSibling;s&&s.textContent==="";)s=s.nextSibling;if(s){if(s&&s.nodeType!==3&&s.classList.contains("vditor-ir__node")&&!s.getAttribute("data-block"))return s}else{var u=(0,y.fb)(a,"vditor-ir__marker");if(u&&!u.nextSibling){var d=a.parentElement.parentElement.nextSibling;if(d&&d.nodeType!==3&&d.classList.contains("vditor-ir__node"))return d}return!1}return!1},J=function(i){var a=i.startContainer,s=a.previousSibling;return a.nodeType===3&&i.startOffset===0&&s&&s.nodeType!==3&&s.classList.contains("vditor-ir__node")&&!s.getAttribute("data-block")?s:!1},ee=function(i,a){a.ir.element.querySelectorAll(".vditor-ir__node--expand").forEach(function(E){E.classList.remove("vditor-ir__node--expand")});var s=(0,y.JQ)(i.startContainer,"vditor-ir__node"),u=!i.collapsed&&(0,y.JQ)(i.endContainer,"vditor-ir__node");if(!(!i.collapsed&&(!s||s!==u))){s&&(s.classList.add("vditor-ir__node--expand"),s.classList.remove("vditor-ir__node--hidden"),(0,q.Hc)(i));var d=he(i);if(d){d.classList.add("vditor-ir__node--expand"),d.classList.remove("vditor-ir__node--hidden");return}var f=J(i);if(f){f.classList.add("vditor-ir__node--expand"),f.classList.remove("vditor-ir__node--hidden");return}}},Ce=function(i,a){if(i.ir.composingLock=a.isComposing,a.isComposing)return!1;a.key.indexOf("Arrow")===-1&&a.key!=="Meta"&&a.key!=="Control"&&a.key!=="Alt"&&a.key!=="Shift"&&a.key!=="CapsLock"&&a.key!=="Escape"&&!/^F\d{1,2}$/.test(a.key)&&i.undo.recordFirstPosition(i,a);var s=(0,q.zh)(i),u=s.startContainer;if(!Ss(a,i,u)||(Es(s,i,a),Bs(s),a.key!=="Enter"&&a.key!=="Tab"&&a.key!=="Backspace"&&a.key.indexOf("Arrow")===-1&&!(0,m.yl)(a)&&a.key!=="Escape"&&a.key!=="Delete"))return!1;var d=(0,y.a1)(u,"data-newline","1");if(!(0,m.yl)(a)&&!a.altKey&&!a.shiftKey&&a.key==="Enter"&&d&&s.startOffset-1&&fe){var ve=fu(fe);if(ve&&Pr(i,a,s,fe,ve))return!0;var ue=mu(fe);if(ue&&pi(i,a,s,fe,ue))return!0}if(Is(i,a,s)||Ps(i,s,a)||go(i,s,a))return!0;var ke=(0,N.W)(u);if(ke){if(oe("⌘=",a)){var we=ke.querySelector(".vditor-ir__marker--heading");return we&&we.textContent.trim().length>1&&fi(i,we.textContent.substr(1)),a.preventDefault(),!0}if(oe("⌘-",a)){var we=ke.querySelector(".vditor-ir__marker--heading");return we&&we.textContent.trim().length<6&&fi(i,we.textContent.trim()+"# "),a.preventDefault(),!0}}var de=(0,y.F9)(u);if(a.key==="Backspace"&&!(0,m.yl)(a)&&!a.shiftKey&&!a.altKey&&s.toString()===""){if(zs(i,s,a,L))return!0;if(de&&de.previousElementSibling&&de.tagName!=="UL"&&de.tagName!=="OL"&&(de.previousElementSibling.getAttribute("data-type")==="code-block"||de.previousElementSibling.getAttribute("data-type")==="math-block")){var Ie=(0,q.im)(de,i.ir.element,s).start;if(Ie===0||Ie===1&&de.innerText.startsWith(c.g.ZWSP))return s.selectNodeContents(de.previousElementSibling.querySelector(".vditor-ir__marker--pre code")),s.collapse(!1),ee(s,i),de.textContent.trim().replace(c.g.ZWSP,"")===""&&(de.remove(),Xn(i)),a.preventDefault(),!0}if(ke){var Te=ke.firstElementChild.textContent.length;(0,q.im)(ke,i.ir.element).start===Te&&Te!==0&&(s.setStart(ke.firstElementChild.firstChild,Te-1),s.collapse(!0),(0,q.Hc)(s))}}return(a.key==="ArrowUp"||a.key==="ArrowDown")&&de&&(de.querySelectorAll(".vditor-ir__node").forEach(function($e){$e.contains(u)||$e.classList.add("vditor-ir__node--hidden")}),Fs(a,de,s))?!0:(Ts(s,a.key),de&&$t(de,i,a,s)?(a.preventDefault(),!0):!1)},se=o(190),G=function(i,a){i.querySelectorAll("[data-type=footnotes-link]").forEach(function(s){for(var u=s.parentElement,d=u.nextSibling;d&&d.textContent.startsWith(" ");){var f=d;f.childNodes.forEach(function(E){u.append(E.cloneNode(!0))}),d=d.nextSibling,f.remove()}a&&a(u)})},X=function(i,a){var s,u=getSelection().getRangeAt(0).cloneRange(),d=u.startContainer;u.startContainer.nodeType!==3&&u.startContainer.tagName==="DIV"&&(d=u.startContainer.childNodes[u.startOffset-1]);var f=(0,y.a1)(d,"data-block","0");if(f&&a&&(a.inputType==="deleteContentBackward"||a.data===" ")){for(var E=(0,q.im)(f,i.sv.element,u).start,L=!0,D=E-1;D>f.textContent.substr(0,E).lastIndexOf(` -`);D--)if(f.textContent.charAt(D)!==" "&&f.textContent.charAt(D)!==" "){L=!1;break}if(E===0&&(L=!1),L){Ge(i);return}if(a.inputType==="deleteContentBackward"){var _=(0,y.a1)(d,"data-type","code-block-open-marker")||(0,y.a1)(d,"data-type","code-block-close-marker");if(_){if(_.getAttribute("data-type")==="code-block-close-marker"){var B=pe(d,"code-block-open-marker");if(B){B.textContent=_.textContent,Ge(i);return}}if(_.getAttribute("data-type")==="code-block-open-marker"){var B=pe(d,"code-block-close-marker",!1);if(B){B.textContent=_.textContent,Ge(i);return}}}var K=(0,y.a1)(d,"data-type","math-block-open-marker");if(K){var fe=K.nextElementSibling.nextElementSibling;fe&&fe.getAttribute("data-type")==="math-block-close-marker"&&(fe.remove(),Ge(i));return}f.querySelectorAll('[data-type="code-block-open-marker"]').forEach(function(de){de.textContent.length===1&&de.remove()}),f.querySelectorAll('[data-type="code-block-close-marker"]').forEach(function(de){de.textContent.length===1&&de.remove()});var ve=(0,y.a1)(d,"data-type","heading-marker");if(ve&&ve.textContent.indexOf("#")===-1){Ge(i);return}}if((a.data===" "||a.inputType==="deleteContentBackward")&&((0,y.a1)(d,"data-type","padding")||(0,y.a1)(d,"data-type","li-marker")||(0,y.a1)(d,"data-type","task-marker")||(0,y.a1)(d,"data-type","blockquote-marker"))){Ge(i);return}}if(f&&f.textContent.trimRight()==="$$"){Ge(i);return}f||(f=i.sv.element),((s=f.firstElementChild)===null||s===void 0?void 0:s.getAttribute("data-type"))==="link-ref-defs-block"&&(f=i.sv.element),(0,y.a1)(d,"data-type","footnotes-link")&&(f=i.sv.element),f.textContent.indexOf(Lute.Caret)===-1&&u.insertNode(document.createTextNode(Lute.Caret)),f.querySelectorAll("[style]").forEach(function(de){de.removeAttribute("style")}),f.querySelectorAll("font").forEach(function(de){de.outerHTML=de.innerHTML});var ue=f.textContent,ke=f.isEqualNode(i.sv.element);if(ke)ue=f.textContent;else{f.previousElementSibling&&(ue=f.previousElementSibling.textContent+ue,f.previousElementSibling.remove()),f.previousElementSibling&&ue.indexOf(`--- -`)===0&&(ue=f.previousElementSibling.textContent+ue,f.previousElementSibling.remove());var we="";i.sv.element.querySelectorAll("[data-type='link-ref-defs-block']").forEach(function(de,Ie){de&&!f.isEqualNode(de.parentElement)&&(we+=de.parentElement.textContent+` -`,de.parentElement.remove())}),i.sv.element.querySelectorAll("[data-type='footnotes-link']").forEach(function(de,Ie){de&&!f.isEqualNode(de.parentElement)&&(we+=de.parentElement.textContent+` -`,de.parentElement.remove())}),ue=we+ue}ue=Oe(ue,i),ke?f.innerHTML=ue:f.outerHTML=ue,i.sv.element.querySelectorAll("[data-type='link-ref-defs-block']").forEach(function(de){i.sv.element.insertAdjacentElement("beforeend",de.parentElement)}),G(i.sv.element,function(de){i.sv.element.insertAdjacentElement("beforeend",de)}),(0,q.ib)(i.sv.element,u),Z(i),Ge(i,{enableAddUndoStack:!0,enableHint:!0,enableInput:!0})},be=function(i,a){var s,u,d,f,E;if(i.sv.composingLock=a.isComposing,a.isComposing||(a.key.indexOf("Arrow")===-1&&a.key!=="Meta"&&a.key!=="Control"&&a.key!=="Alt"&&a.key!=="Shift"&&a.key!=="CapsLock"&&a.key!=="Escape"&&!/^F\d{1,2}$/.test(a.key)&&i.undo.recordFirstPosition(i,a),a.key!=="Enter"&&a.key!=="Tab"&&a.key!=="Backspace"&&a.key.indexOf("Arrow")===-1&&!(0,m.yl)(a)&&a.key!=="Escape"))return!1;var L=(0,q.zh)(i),D=L.startContainer;L.startContainer.nodeType!==3&&L.startContainer.tagName==="DIV"&&(D=L.startContainer.childNodes[L.startOffset-1]);var _=(0,y.a1)(D,"data-type","text"),B=(0,y.a1)(D,"data-type","blockquote-marker");if(!B&&L.startOffset===0&&_&&_.previousElementSibling&&_.previousElementSibling.getAttribute("data-type")==="blockquote-marker"&&(B=_.previousElementSibling),B&&a.key==="Enter"&&!(0,m.yl)(a)&&!a.altKey&&B.nextElementSibling.textContent.trim()===""&&(0,q.im)(B,i.sv.element,L).start===B.textContent.length)return((s=B.previousElementSibling)===null||s===void 0?void 0:s.getAttribute("data-type"))==="padding"&&B.previousElementSibling.setAttribute("data-action","enter-remove"),B.remove(),Ge(i),a.preventDefault(),!0;var K=(0,y.a1)(D,"data-type","li-marker"),fe=(0,y.a1)(D,"data-type","task-marker"),ve=K;if(ve||fe&&fe.nextElementSibling.getAttribute("data-type")!=="task-marker"&&(ve=fe),!ve&&L.startOffset===0&&_&&_.previousElementSibling&&(_.previousElementSibling.getAttribute("data-type")==="li-marker"||_.previousElementSibling.getAttribute("data-type")==="task-marker")&&(ve=_.previousElementSibling),ve){var ue=(0,q.im)(ve,i.sv.element,L).start,ke=ve.getAttribute("data-type")==="task-marker",we=ve;if(ke&&(we=ve.previousElementSibling.previousElementSibling.previousElementSibling),ue===ve.textContent.length){if(a.key==="Enter"&&!(0,m.yl)(a)&&!a.altKey&&!a.shiftKey&&ve.nextElementSibling.textContent.trim()==="")return((u=we.previousElementSibling)===null||u===void 0?void 0:u.getAttribute("data-type"))==="padding"?(we.previousElementSibling.remove(),X(i)):(ke&&(we.remove(),ve.previousElementSibling.previousElementSibling.remove(),ve.previousElementSibling.remove()),ve.nextElementSibling.remove(),ve.remove(),Ge(i)),a.preventDefault(),!0;if(a.key==="Tab")return a.shiftKey?we.previousElementSibling.getAttribute("data-type")==="padding"&&we.previousElementSibling.remove():we.insertAdjacentHTML("beforebegin",''.concat(we.textContent.replace(/\S/g," "),"")),/^\d/.test(we.textContent)&&(we.textContent=we.textContent.replace(/^\d{1,}/,"1"),L.selectNodeContents(ve.firstChild),L.collapse(!1)),X(i),a.preventDefault(),!0}}if(go(i,L,a))return!0;var de=(0,y.a1)(D,"data-block","0"),Ie=(0,N.S)(D,"SPAN");if(a.key==="Enter"&&!(0,m.yl)(a)&&!a.altKey&&!a.shiftKey&&de){var Te=!1,$e=de.textContent.match(/^\n+/);(0,q.im)(de,i.sv.element).start<=($e?$e[0].length:0)&&(Te=!0);var bt=` -`;if(Ie){if(((d=Ie.previousElementSibling)===null||d===void 0?void 0:d.getAttribute("data-action"))==="enter-remove")return Ie.previousElementSibling.remove(),Ge(i),a.preventDefault(),!0;bt+=Je(Ie)}return L.insertNode(document.createTextNode(bt)),L.collapse(!1),de&&de.textContent.trim()!==""&&!Te?X(i):Ge(i),a.preventDefault(),!0}if(a.key==="Backspace"&&!(0,m.yl)(a)&&!a.altKey&&!a.shiftKey){if(Ie&&((f=Ie.previousElementSibling)===null||f===void 0?void 0:f.getAttribute("data-type"))==="newline"&&(0,q.im)(Ie,i.sv.element,L).start===1&&Ie.getAttribute("data-type").indexOf("code-block-")===-1)return L.setStart(Ie,0),L.extractContents(),Ie.textContent.trim()!==""?X(i):Ge(i),a.preventDefault(),!0;if(de&&(0,q.im)(de,i.sv.element,L).start===0&&de.previousElementSibling){L.extractContents();var gt=de.previousElementSibling.lastElementChild;return gt.getAttribute("data-type")==="newline"&&(gt.remove(),gt=de.previousElementSibling.lastElementChild),gt.getAttribute("data-type")!=="newline"&&(gt.insertAdjacentHTML("afterend",de.innerHTML),de.remove()),de.textContent.trim()!==""&&!(!((E=de.previousElementSibling)===null||E===void 0)&&E.querySelector('[data-type="code-block-open-marker"]'))?X(i):(gt.getAttribute("data-type")!=="newline"&&(L.selectNodeContents(gt.lastChild),L.collapse(!1)),Ge(i)),a.preventDefault(),!0}}return!1},le=o(538),ye=function(i){i.options.theme==="dark"?i.element.classList.add("vditor--dark"):i.element.classList.remove("vditor--dark")},Ae=function(i){i.element.innerHTML="",i.element.classList.add("vditor"),i.options.rtl&&i.element.setAttribute("dir","rtl"),ye(i),(0,le.Z)(i.options.preview.theme.current,i.options.preview.theme.path),typeof i.options.height=="number"?i.element.style.height=i.options.height+"px":i.element.style.height=i.options.height,typeof i.options.minHeight=="number"&&(i.element.style.minHeight=i.options.minHeight+"px"),typeof i.options.width=="number"?i.element.style.width=i.options.width+"px":i.element.style.width=i.options.width,i.element.appendChild(i.toolbar.element);var a=document.createElement("div");if(a.className="vditor-content",i.options.outline.position==="left"&&a.appendChild(i.outline.element),a.appendChild(i.wysiwyg.element.parentElement),a.appendChild(i.sv.element),a.appendChild(i.ir.element.parentElement),a.appendChild(i.preview.element),i.toolbar.elements.devtools&&a.appendChild(i.devtools.element),i.options.outline.position==="right"&&(i.outline.element.classList.add("vditor-outline--right"),a.appendChild(i.outline.element)),i.upload&&a.appendChild(i.upload.element),i.options.resize.enable&&a.appendChild(i.resize.element),a.appendChild(i.hint.element),a.appendChild(i.tip.element),i.element.appendChild(a),a.addEventListener("click",function(){A(i,["subToolbar"])}),i.toolbar.elements.export&&i.element.insertAdjacentHTML("beforeend",''),er(i,i.options.mode,st(i)),document.execCommand("DefaultParagraphSeparator",!1,"p"),navigator.userAgent.indexOf("iPhone")>-1&&typeof window.visualViewport<"u"){var s=!1,u=function(d){s||(s=!0,requestAnimationFrame(function(){s=!1;var f=i.toolbar.element;f.style.transform="none",f.getBoundingClientRect().top<0&&(f.style.transform="translate(0, ".concat(-f.getBoundingClientRect().top,"px)"))}))};window.visualViewport.addEventListener("scroll",u),window.visualViewport.addEventListener("resize",u)}},ze=function(i){var a=window.innerWidth<=c.g.MOBILE_WIDTH?10:35;if(i.wysiwyg.element.parentElement.style.display!=="none"){var s=(i.wysiwyg.element.parentElement.clientWidth-i.options.preview.maxWidth)/2;i.wysiwyg.element.style.padding="10px ".concat(Math.max(a,s),"px")}if(i.ir.element.parentElement.style.display!=="none"){var s=(i.ir.element.parentElement.clientWidth-i.options.preview.maxWidth)/2;i.ir.element.style.padding="10px ".concat(Math.max(a,s),"px")}i.preview.element.style.display!=="block"?i.toolbar.element.style.paddingLeft=Math.max(5,parseInt(i[i.currentMode].element.style.paddingLeft||"0",10)+(i.options.outline.position==="left"?i.outline.element.offsetWidth:0))+"px":i.toolbar.element.style.paddingLeft=5+(i.options.outline.position==="left"?i.outline.element.offsetWidth:0)+"px"},Xe=function(i){if(i.options.typewriterMode){var a=window.innerHeight;typeof i.options.height=="number"?(a=i.options.height,typeof i.options.minHeight=="number"&&(a=Math.max(a,i.options.minHeight)),a=Math.min(window.innerHeight,a)):a=i.element.clientHeight,i.element.classList.contains("vditor--fullscreen")&&(a=window.innerHeight),i[i.currentMode].element.style.setProperty("--editor-bottom",(a-i.toolbar.element.offsetHeight)/2+"px")}},Ke;function Be(){window.removeEventListener("resize",Ke)}var st=function(i){Xe(i),Be(),window.addEventListener("resize",Ke=function(){ze(i),Xe(i)});var a=(0,m.pK)()&&localStorage.getItem(i.options.cache.id);return(!i.options.cache.enable||!a)&&(i.options.value?a=i.options.value:i.originalInnerHTML?a=i.lute.HTML2Md(i.originalInnerHTML):i.options.cache.enable||(a="")),a||""},qe=function(i){clearTimeout(i[i.currentMode].hlToolbarTimeoutId),i[i.currentMode].hlToolbarTimeoutId=window.setTimeout(function(){if(i[i.currentMode].element.getAttribute("contenteditable")!=="false"&&(0,q.Gb)(i[i.currentMode].element)){x(i.toolbar.elements,c.g.EDIT_TOOLBARS),S(i.toolbar.elements,c.g.EDIT_TOOLBARS);var a=(0,q.zh)(i),s=a.startContainer;a.startContainer.nodeType===3&&(s=a.startContainer.parentElement),s.classList.contains("vditor-reset")&&(s=s.childNodes[a.startOffset]);var u=i.currentMode==="sv"?(0,y.a1)(s,"data-type","heading"):(0,N.W)(s);u&&w(i.toolbar.elements,["headings"]);var d=i.currentMode==="sv"?(0,y.a1)(s,"data-type","blockquote"):(0,y.lG)(s,"BLOCKQUOTE");d&&w(i.toolbar.elements,["quote"]);var f=(0,y.a1)(s,"data-type","strong");f&&w(i.toolbar.elements,["bold"]);var E=(0,y.a1)(s,"data-type","em");E&&w(i.toolbar.elements,["italic"]);var L=(0,y.a1)(s,"data-type","s");L&&w(i.toolbar.elements,["strike"]);var D=(0,y.a1)(s,"data-type","a");D&&w(i.toolbar.elements,["link"]);var _=(0,y.lG)(s,"LI");_?(_.classList.contains("vditor-task")?w(i.toolbar.elements,["check"]):_.parentElement.tagName==="OL"?w(i.toolbar.elements,["ordered-list"]):_.parentElement.tagName==="UL"&&w(i.toolbar.elements,["list"]),S(i.toolbar.elements,["outdent","indent"])):k(i.toolbar.elements,["outdent","indent"]);var B=(0,y.a1)(s,"data-type","code-block");B&&(k(i.toolbar.elements,["headings","bold","italic","strike","line","quote","list","ordered-list","check","code","inline-code","upload","link","table","record"]),w(i.toolbar.elements,["code"]));var K=(0,y.a1)(s,"data-type","code");K&&(k(i.toolbar.elements,["headings","bold","italic","strike","line","quote","list","ordered-list","check","code","upload","link","table","record"]),w(i.toolbar.elements,["inline-code"]));var fe=(0,y.a1)(s,"data-type","table");fe&&k(i.toolbar.elements,["headings","list","ordered-list","check","line","quote","code","table"])}},200)},Re=function(i,a){a===void 0&&(a={enableAddUndoStack:!0,enableHint:!1,enableInput:!0}),a.enableHint&&i.hint.render(i),clearTimeout(i.wysiwyg.afterRenderTimeoutId),i.wysiwyg.afterRenderTimeoutId=window.setTimeout(function(){if(!i.wysiwyg.composingLock){var s=v(i);typeof i.options.input=="function"&&a.enableInput&&i.options.input(s),i.options.counter.enable&&i.counter.render(i,s),i.options.cache.enable&&(0,m.pK)()&&(localStorage.setItem(i.options.cache.id,s),i.options.cache.after&&i.options.cache.after(s)),i.devtools&&i.devtools.renderEchart(i),a.enableAddUndoStack&&i.undo.addToUndoStack(i)}},i.options.undoDelay)},mt=function(i){for(var a=i.previousSibling;a;){if(a.nodeType!==3&&a.tagName==="A"&&!a.previousSibling&&a.innerHTML.replace(c.g.ZWSP,"")===""&&a.nextSibling)return a;a=a.previousSibling}return!1},Dt=function(i){for(var a=i.startContainer.nextSibling;a&&a.textContent==="";)a=a.nextSibling;return!!(a&&a.nodeType!==3&&(a.tagName==="CODE"||a.getAttribute("data-type")==="math-inline"||a.getAttribute("data-type")==="html-entity"||a.getAttribute("data-type")==="html-inline"))},Ut=function(i){for(var a="",s=i.nextSibling;s;)s.nodeType===3?a+=s.textContent:a+=s.outerHTML,s=s.nextSibling;return a},jt=function(i){for(var a="",s=i.previousSibling;s;)s.nodeType===3?a=s.textContent+a:a=s.outerHTML+a,s=s.previousSibling;return a},Hn=function(i){for(var a=i;a&&!a.nextSibling;)a=a.parentElement;return a.nextSibling},Mn=function(i){var a=jt(i.startContainer),s=Ut(i.startContainer),u=i.startContainer.textContent,d=i.startOffset,f="",E="";return(u.substr(0,d)!==""&&u.substr(0,d)!==c.g.ZWSP||a)&&(f="".concat(a).concat(u.substr(0,d))),(u.substr(d)!==""&&u.substr(d)!==c.g.ZWSP||s)&&(E="".concat(u.substr(d)).concat(s)),{afterHTML:E,beforeHTML:f}},Pn=function(i,a){Array.from(i.wysiwyg.element.childNodes).find(function(s){if(s.nodeType===3){var u=document.createElement("p");u.setAttribute("data-block","0"),u.textContent=s.textContent;var d=a.startContainer.nodeType===3?a.startOffset:s.textContent.length;return s.parentNode.insertBefore(u,s),s.remove(),a.setStart(u.firstChild,Math.min(u.firstChild.textContent.length,d)),a.collapse(!0),(0,q.Hc)(a),!0}else if(!s.getAttribute("data-block"))return s.tagName==="P"?s.remove():(s.tagName==="DIV"?(a.insertNode(document.createElement("wbr")),s.outerHTML='

    '.concat(s.innerHTML,"

    ")):s.tagName==="BR"?s.outerHTML='

    '.concat(s.outerHTML,"

    "):(a.insertNode(document.createElement("wbr")),s.outerHTML='

    '.concat(s.outerHTML,"

    ")),(0,q.ib)(i.wysiwyg.element,a),a=getSelection().getRangeAt(0)),!0})},kn=function(i,a){var s=(0,q.zh)(i),u=(0,y.F9)(s.startContainer);u||(u=s.startContainer.childNodes[s.startOffset]),!u&&i.wysiwyg.element.children.length===0&&(u=i.wysiwyg.element),u&&!u.classList.contains("vditor-wysiwyg__block")&&(s.insertNode(document.createElement("wbr")),u.innerHTML.trim()===""&&(u.innerHTML="
    "),u.tagName==="BLOCKQUOTE"||u.classList.contains("vditor-reset")?u.innerHTML="<".concat(a,' data-block="0">').concat(u.innerHTML.trim(),""):u.outerHTML="<".concat(a,' data-block="0">').concat(u.innerHTML.trim(),""),(0,q.ib)(i.wysiwyg.element,s),Ht(i))},lr=function(i){var a=getSelection().getRangeAt(0),s=(0,y.F9)(a.startContainer);s||(s=a.startContainer.childNodes[a.startOffset]),s&&(a.insertNode(document.createElement("wbr")),s.outerHTML='

    '.concat(s.innerHTML,"

    "),(0,q.ib)(i.wysiwyg.element,a)),i.wysiwyg.popover.style.display="none"},cr=function(i,a,s){s===void 0&&(s=!0);var u=i.previousElementSibling,d=u.ownerDocument.createRange();u.tagName==="CODE"?(u.style.display="inline-block",s?d.setStart(u.firstChild,1):d.selectNodeContents(u)):(u.style.display="block",u.firstChild.firstChild||u.firstChild.appendChild(document.createTextNode("")),d.selectNodeContents(u.firstChild)),s?d.collapse(!0):d.collapse(!1),(0,q.Hc)(d),!i.firstElementChild.classList.contains("language-mindmap")&&Z(a)},zn=function(i,a){if(i.wysiwyg.composingLock=a.isComposing,a.isComposing)return!1;a.key.indexOf("Arrow")===-1&&a.key!=="Meta"&&a.key!=="Control"&&a.key!=="Alt"&&a.key!=="Shift"&&a.key!=="CapsLock"&&a.key!=="Escape"&&!/^F\d{1,2}$/.test(a.key)&&i.undo.recordFirstPosition(i,a);var s=(0,q.zh)(i),u=s.startContainer;if(!Ss(a,i,u)||(Es(s,i,a),Bs(s),a.key!=="Enter"&&a.key!=="Tab"&&a.key!=="Backspace"&&a.key.indexOf("Arrow")===-1&&!(0,m.yl)(a)&&a.key!=="Escape"&&a.key!=="Delete"))return!1;var d=(0,y.F9)(u),f=(0,y.lG)(u,"P");if(Ls(a,i,f,s)||Cs(s,i,f,a)||Is(i,a,s))return!0;var E=(0,y.fb)(u,"vditor-wysiwyg__block");if(E){if(a.key==="Escape"&&E.children.length===2)return i.wysiwyg.popover.style.display="none",E.firstElementChild.style.display="none",i.wysiwyg.element.blur(),a.preventDefault(),!0;if(!(0,m.yl)(a)&&!a.shiftKey&&a.altKey&&a.key==="Enter"&&E.getAttribute("data-type")==="code-block"){var L=i.wysiwyg.popover.querySelector(".vditor-input");return L.focus(),L.select(),a.preventDefault(),!0}if(E.getAttribute("data-block")==="0"&&(Os(i,a,E.firstElementChild,s)||pi(i,a,s,E.firstElementChild,E)||E.getAttribute("data-type")!=="yaml-front-matter"&&Pr(i,a,s,E.firstElementChild,E)))return!0}if(Hs(i,s,a,f))return!0;var D=(0,y.E2)(u,"BLOCKQUOTE");if(D&&!a.shiftKey&&a.altKey&&a.key==="Enter"){(0,m.yl)(a)?s.setStartBefore(D):s.setStartAfter(D),(0,q.Hc)(s);var _=document.createElement("p");return _.setAttribute("data-block","0"),_.innerHTML=` -`,s.insertNode(_),s.collapse(!0),(0,q.Hc)(s),Re(i),Z(i),a.preventDefault(),!0}var B=(0,N.W)(u);if(B){if(B.tagName==="H6"&&u.textContent.length===s.startOffset&&!(0,m.yl)(a)&&!a.shiftKey&&!a.altKey&&a.key==="Enter"){var K=document.createElement("p");return K.textContent=` -`,K.setAttribute("data-block","0"),u.parentElement.insertAdjacentElement("afterend",K),s.setStart(K,0),(0,q.Hc)(s),Re(i),Z(i),a.preventDefault(),!0}if(oe("⌘=",a)){var fe=parseInt(B.tagName.substr(1),10)-1;return fe>0&&(kn(i,"h".concat(fe)),Re(i)),a.preventDefault(),!0}if(oe("⌘-",a)){var fe=parseInt(B.tagName.substr(1),10)+1;return fe<7&&(kn(i,"h".concat(fe)),Re(i)),a.preventDefault(),!0}a.key==="Backspace"&&!(0,m.yl)(a)&&!a.shiftKey&&!a.altKey&&B.textContent.length===1&&lr(i)}if(Ps(i,s,a))return!0;if(a.altKey&&a.key==="Enter"&&!(0,m.yl)(a)&&!a.shiftKey){var ve=(0,y.lG)(u,"A"),ue=(0,y.a1)(u,"data-type","link-ref"),ke=(0,y.a1)(u,"data-type","footnotes-ref");if(ve||ue||ke||B&&B.tagName.length===2){var we=i.wysiwyg.popover.querySelector("input");we.focus(),we.select()}}if(Ot(i,a))return!0;if(oe("⇧⌘U",a)){var de=i.wysiwyg.popover.querySelector('[data-type="up"]');if(de)return de.click(),a.preventDefault(),!0}if(oe("⇧⌘D",a)){var de=i.wysiwyg.popover.querySelector('[data-type="down"]');if(de)return de.click(),a.preventDefault(),!0}if(go(i,s,a))return!0;if(!(0,m.yl)(a)&&a.shiftKey&&!a.altKey&&a.key==="Enter"&&u.parentElement.tagName!=="LI"&&u.parentElement.tagName!=="P")return["STRONG","STRIKE","S","I","EM","B"].includes(u.parentElement.tagName)?s.insertNode(document.createTextNode(` +`){D=!1;break}if(E){typeof i.options.input=="function"&&i.options.input(v(i));return}if(D&&/^#{1,6} $/.test(d.textContent)&&(D=!1),D){var _=(0,y.fb)(a.startContainer,"vditor-ir__marker");if(!_){var B=a.startContainer.previousSibling;B&&B.nodeType!==3&&B.classList.contains("vditor-ir__node--expand")&&B.classList.remove("vditor-ir__node--expand"),typeof i.options.input=="function"&&i.options.input(v(i));return}}}if(i.ir.element.querySelectorAll(".vditor-ir__node--expand").forEach(function(rt){rt.classList.remove("vditor-ir__node--expand")}),d||(d=i.ir.element),!d.querySelector("wbr")){var K=(0,y.fb)(a.startContainer,"vditor-ir__preview");K?K.previousElementSibling.insertAdjacentHTML("beforeend",""):a.insertNode(document.createElement("wbr"))}d.querySelectorAll("[style]").forEach(function(rt){rt.removeAttribute("style")}),d.getAttribute("data-type")==="link-ref-defs-block"&&(d=i.ir.element);var fe=d.isEqualNode(i.ir.element),be=(0,y.a1)(d,"data-type","footnotes-block"),ce="";if(fe)ce=d.innerHTML;else{var ke=(0,N.S)(a.startContainer,"BLOCKQUOTE"),xe=(0,y.O9)(a.startContainer);if(xe&&(d=xe),ke&&(!xe||xe&&!ke.contains(xe))&&(d=ke),be&&(d=be),ce=d.outerHTML,d.tagName==="UL"||d.tagName==="OL"){var ue=d.previousElementSibling,Pe=d.nextElementSibling;ue&&(ue.tagName==="UL"||ue.tagName==="OL")&&(ce=ue.outerHTML+ce,ue.remove()),Pe&&(Pe.tagName==="UL"||Pe.tagName==="OL")&&(ce=ce+Pe.outerHTML,Pe.remove()),ce=ce.replace("

    ","

  • ")}else d.previousElementSibling&&d.previousElementSibling.textContent.replace(c.g.ZWSP,"")!==""&&u&&u.inputType==="insertParagraph"&&(ce=d.previousElementSibling.outerHTML+ce,d.previousElementSibling.remove());d.innerText.startsWith("```")||(i.ir.element.querySelectorAll("[data-type='link-ref-defs-block']").forEach(function(rt){rt&&!d.isEqualNode(rt)&&(ce+=rt.outerHTML,rt.remove())}),i.ir.element.querySelectorAll("[data-type='footnotes-block']").forEach(function(rt){rt&&!d.isEqualNode(rt)&&(ce+=rt.outerHTML,rt.remove())}))}if(z("SpinVditorIRDOM",ce,"argument",i.options.debugger),ce=i.lute.SpinVditorIRDOM(ce),z("SpinVditorIRDOM",ce,"result",i.options.debugger),fe)d.innerHTML=ce;else if(d.outerHTML=ce,be){var Te=(0,y.a1)(i.ir.element.querySelector("wbr"),"data-type","footnotes-def");if(Te){var $e=Te.textContent,bt=$e.substring(1,$e.indexOf("]:")),gt=i.ir.element.querySelector('sup[data-type="footnotes-ref"][data-footnotes-label="'.concat(bt,'"]'));gt&>.setAttribute("aria-label",$e.substr(bt.length+3).trim().substr(0,24))}}var kt,dn=i.ir.element.querySelectorAll("[data-type='link-ref-defs-block']");dn.forEach(function(rt,zt){zt===0?kt=rt:(kt.insertAdjacentHTML("beforeend",rt.innerHTML),rt.remove())}),dn.length>0&&i.ir.element.insertAdjacentElement("beforeend",dn[0]);var Kt,hn=i.ir.element.querySelectorAll("[data-type='footnotes-block']");hn.forEach(function(rt,zt){zt===0?Kt=rt:(Kt.insertAdjacentHTML("beforeend",rt.innerHTML),rt.remove())}),hn.length>0&&i.ir.element.insertAdjacentElement("beforeend",hn[0]),(0,j.ib)(i.ir.element,a),i.ir.element.querySelectorAll(".vditor-ir__preview[data-render='2']").forEach(function(rt){Qe(rt,i)}),Ht(i),Kn(i,{enableAddUndoStack:!0,enableHint:!0,enableInput:!0})},oe=function(i,a){if(i==="")return!1;if(i.indexOf("⇧")===-1&&i.indexOf("⌘")===-1&&i.indexOf("⌥")===-1)return!(0,m.yl)(a)&&!a.altKey&&!a.shiftKey&&a.code===i;if(i==="⇧Tab")return!!(!(0,m.yl)(a)&&!a.altKey&&a.shiftKey&&a.code==="Tab");var s=i.split("");if(i.startsWith("⌥")){var u=s.length===3?s[2]:s[1];return!!((s.length===3?(0,m.yl)(a):!(0,m.yl)(a))&&a.altKey&&!a.shiftKey&&a.code===(/^[0-9]$/.test(u)?"Digit":"Key")+u)}i==="⌘Enter"&&(s=["⌘","Enter"]);var d=s.length>2&&s[0]==="⇧",f=d?s[2]:s[1];return d&&((0,m.vU)()||!/Mac/.test(navigator.platform))&&(f==="-"?f="_":f==="="&&(f="+")),!!((0,m.yl)(a)&&a.key.toLowerCase()===f.toLowerCase()&&!a.altKey&&(!d&&!a.shiftKey||d&&a.shiftKey))},he=function(i){var a=i.startContainer;if(a.nodeType===3&&a.nodeValue.length!==i.startOffset)return!1;for(var s=a.nextSibling;s&&s.textContent==="";)s=s.nextSibling;if(s){if(s&&s.nodeType!==3&&s.classList.contains("vditor-ir__node")&&!s.getAttribute("data-block"))return s}else{var u=(0,y.fb)(a,"vditor-ir__marker");if(u&&!u.nextSibling){var d=a.parentElement.parentElement.nextSibling;if(d&&d.nodeType!==3&&d.classList.contains("vditor-ir__node"))return d}return!1}return!1},J=function(i){var a=i.startContainer,s=a.previousSibling;return a.nodeType===3&&i.startOffset===0&&s&&s.nodeType!==3&&s.classList.contains("vditor-ir__node")&&!s.getAttribute("data-block")?s:!1},Q=function(i,a){a.ir.element.querySelectorAll(".vditor-ir__node--expand").forEach(function(E){E.classList.remove("vditor-ir__node--expand")});var s=(0,y.JQ)(i.startContainer,"vditor-ir__node"),u=!i.collapsed&&(0,y.JQ)(i.endContainer,"vditor-ir__node");if(!(!i.collapsed&&(!s||s!==u))){s&&(s.classList.add("vditor-ir__node--expand"),s.classList.remove("vditor-ir__node--hidden"),(0,j.Hc)(i));var d=he(i);if(d){d.classList.add("vditor-ir__node--expand"),d.classList.remove("vditor-ir__node--hidden");return}var f=J(i);if(f){f.classList.add("vditor-ir__node--expand"),f.classList.remove("vditor-ir__node--hidden");return}}},De=function(i,a){if(i.ir.composingLock=a.isComposing,a.isComposing)return!1;a.key.indexOf("Arrow")===-1&&a.key!=="Meta"&&a.key!=="Control"&&a.key!=="Alt"&&a.key!=="Shift"&&a.key!=="CapsLock"&&a.key!=="Escape"&&!/^F\d{1,2}$/.test(a.key)&&i.undo.recordFirstPosition(i,a);var s=(0,j.zh)(i),u=s.startContainer;if(!Es(a,i,u)||(Ts(s,i,a),Fs(s),a.key!=="Enter"&&a.key!=="Tab"&&a.key!=="Backspace"&&a.key.indexOf("Arrow")===-1&&!(0,m.yl)(a)&&a.key!=="Escape"&&a.key!=="Delete"))return!1;var d=(0,y.a1)(u,"data-newline","1");if(!(0,m.yl)(a)&&!a.altKey&&!a.shiftKey&&a.key==="Enter"&&d&&s.startOffset-1&&fe){var be=fu(fe);if(be&&Pr(i,a,s,fe,be))return!0;var ce=mu(fe);if(ce&&fi(i,a,s,fe,ce))return!0}if(Os(i,a,s)||zs(i,s,a)||go(i,s,a))return!0;var ke=(0,N.W)(u);if(ke){if(oe("⌘=",a)){var xe=ke.querySelector(".vditor-ir__marker--heading");return xe&&xe.textContent.trim().length>1&&mi(i,xe.textContent.substr(1)),a.preventDefault(),!0}if(oe("⌘-",a)){var xe=ke.querySelector(".vditor-ir__marker--heading");return xe&&xe.textContent.trim().length<6&&mi(i,xe.textContent.trim()+"# "),a.preventDefault(),!0}}var ue=(0,y.F9)(u);if(a.key==="Backspace"&&!(0,m.yl)(a)&&!a.shiftKey&&!a.altKey&&s.toString()===""){if(Bs(i,s,a,L))return!0;if(ue&&ue.previousElementSibling&&ue.tagName!=="UL"&&ue.tagName!=="OL"&&(ue.previousElementSibling.getAttribute("data-type")==="code-block"||ue.previousElementSibling.getAttribute("data-type")==="math-block")){var Pe=(0,j.im)(ue,i.ir.element,s).start;if(Pe===0||Pe===1&&ue.innerText.startsWith(c.g.ZWSP))return s.selectNodeContents(ue.previousElementSibling.querySelector(".vditor-ir__marker--pre code")),s.collapse(!1),Q(s,i),ue.textContent.trim().replace(c.g.ZWSP,"")===""&&(ue.remove(),Kn(i)),a.preventDefault(),!0}if(ke){var Te=ke.firstElementChild.textContent.length;(0,j.im)(ke,i.ir.element).start===Te&&Te!==0&&(s.setStart(ke.firstElementChild.firstChild,Te-1),s.collapse(!0),(0,j.Hc)(s))}}return(a.key==="ArrowUp"||a.key==="ArrowDown")&&ue&&(ue.querySelectorAll(".vditor-ir__node").forEach(function($e){$e.contains(u)||$e.classList.add("vditor-ir__node--hidden")}),qs(a,ue,s))?!0:(As(s,a.key),ue&&Ut(ue,i,a,s)?(a.preventDefault(),!0):!1)},se=o(190),V=function(i,a){i.querySelectorAll("[data-type=footnotes-link]").forEach(function(s){for(var u=s.parentElement,d=u.nextSibling;d&&d.textContent.startsWith(" ");){var f=d;f.childNodes.forEach(function(E){u.append(E.cloneNode(!0))}),d=d.nextSibling,f.remove()}a&&a(u)})},Z=function(i,a){var s,u=getSelection().getRangeAt(0).cloneRange(),d=u.startContainer;u.startContainer.nodeType!==3&&u.startContainer.tagName==="DIV"&&(d=u.startContainer.childNodes[u.startOffset-1]);var f=(0,y.a1)(d,"data-block","0");if(f&&a&&(a.inputType==="deleteContentBackward"||a.data===" ")){for(var E=(0,j.im)(f,i.sv.element,u).start,L=!0,D=E-1;D>f.textContent.substr(0,E).lastIndexOf(` +`);D--)if(f.textContent.charAt(D)!==" "&&f.textContent.charAt(D)!==" "){L=!1;break}if(E===0&&(L=!1),L){ze(i);return}if(a.inputType==="deleteContentBackward"){var _=(0,y.a1)(d,"data-type","code-block-open-marker")||(0,y.a1)(d,"data-type","code-block-close-marker");if(_){if(_.getAttribute("data-type")==="code-block-close-marker"){var B=He(d,"code-block-open-marker");if(B){B.textContent=_.textContent,ze(i);return}}if(_.getAttribute("data-type")==="code-block-open-marker"){var B=He(d,"code-block-close-marker",!1);if(B){B.textContent=_.textContent,ze(i);return}}}var K=(0,y.a1)(d,"data-type","math-block-open-marker");if(K){var fe=K.nextElementSibling.nextElementSibling;fe&&fe.getAttribute("data-type")==="math-block-close-marker"&&(fe.remove(),ze(i));return}f.querySelectorAll('[data-type="code-block-open-marker"]').forEach(function(ue){ue.textContent.length===1&&ue.remove()}),f.querySelectorAll('[data-type="code-block-close-marker"]').forEach(function(ue){ue.textContent.length===1&&ue.remove()});var be=(0,y.a1)(d,"data-type","heading-marker");if(be&&be.textContent.indexOf("#")===-1){ze(i);return}}if((a.data===" "||a.inputType==="deleteContentBackward")&&((0,y.a1)(d,"data-type","padding")||(0,y.a1)(d,"data-type","li-marker")||(0,y.a1)(d,"data-type","task-marker")||(0,y.a1)(d,"data-type","blockquote-marker"))){ze(i);return}}if(f&&f.textContent.trimRight()==="$$"){ze(i);return}f||(f=i.sv.element),((s=f.firstElementChild)===null||s===void 0?void 0:s.getAttribute("data-type"))==="link-ref-defs-block"&&(f=i.sv.element),(0,y.a1)(d,"data-type","footnotes-link")&&(f=i.sv.element),f.textContent.indexOf(Lute.Caret)===-1&&u.insertNode(document.createTextNode(Lute.Caret)),f.querySelectorAll("[style]").forEach(function(ue){ue.removeAttribute("style")}),f.querySelectorAll("font").forEach(function(ue){ue.outerHTML=ue.innerHTML});var ce=f.textContent,ke=f.isEqualNode(i.sv.element);if(ke)ce=f.textContent;else{f.previousElementSibling&&(ce=f.previousElementSibling.textContent+ce,f.previousElementSibling.remove()),f.previousElementSibling&&ce.indexOf(`--- +`)===0&&(ce=f.previousElementSibling.textContent+ce,f.previousElementSibling.remove());var xe="";i.sv.element.querySelectorAll("[data-type='link-ref-defs-block']").forEach(function(ue,Pe){ue&&!f.isEqualNode(ue.parentElement)&&(xe+=ue.parentElement.textContent+` +`,ue.parentElement.remove())}),i.sv.element.querySelectorAll("[data-type='footnotes-link']").forEach(function(ue,Pe){ue&&!f.isEqualNode(ue.parentElement)&&(xe+=ue.parentElement.textContent+` +`,ue.parentElement.remove())}),ce=xe+ce}ce=pe(ce,i),ke?f.innerHTML=ce:f.outerHTML=ce,i.sv.element.querySelectorAll("[data-type='link-ref-defs-block']").forEach(function(ue){i.sv.element.insertAdjacentElement("beforeend",ue.parentElement)}),V(i.sv.element,function(ue){i.sv.element.insertAdjacentElement("beforeend",ue)}),(0,j.ib)(i.sv.element,u),X(i),ze(i,{enableAddUndoStack:!0,enableHint:!0,enableInput:!0})},ve=function(i,a){var s,u,d,f,E;if(i.sv.composingLock=a.isComposing,a.isComposing||(a.key.indexOf("Arrow")===-1&&a.key!=="Meta"&&a.key!=="Control"&&a.key!=="Alt"&&a.key!=="Shift"&&a.key!=="CapsLock"&&a.key!=="Escape"&&!/^F\d{1,2}$/.test(a.key)&&i.undo.recordFirstPosition(i,a),a.key!=="Enter"&&a.key!=="Tab"&&a.key!=="Backspace"&&a.key.indexOf("Arrow")===-1&&!(0,m.yl)(a)&&a.key!=="Escape"))return!1;var L=(0,j.zh)(i),D=L.startContainer;L.startContainer.nodeType!==3&&L.startContainer.tagName==="DIV"&&(D=L.startContainer.childNodes[L.startOffset-1]);var _=(0,y.a1)(D,"data-type","text"),B=(0,y.a1)(D,"data-type","blockquote-marker");if(!B&&L.startOffset===0&&_&&_.previousElementSibling&&_.previousElementSibling.getAttribute("data-type")==="blockquote-marker"&&(B=_.previousElementSibling),B&&a.key==="Enter"&&!(0,m.yl)(a)&&!a.altKey&&B.nextElementSibling.textContent.trim()===""&&(0,j.im)(B,i.sv.element,L).start===B.textContent.length)return((s=B.previousElementSibling)===null||s===void 0?void 0:s.getAttribute("data-type"))==="padding"&&B.previousElementSibling.setAttribute("data-action","enter-remove"),B.remove(),ze(i),a.preventDefault(),!0;var K=(0,y.a1)(D,"data-type","li-marker"),fe=(0,y.a1)(D,"data-type","task-marker"),be=K;if(be||fe&&fe.nextElementSibling.getAttribute("data-type")!=="task-marker"&&(be=fe),!be&&L.startOffset===0&&_&&_.previousElementSibling&&(_.previousElementSibling.getAttribute("data-type")==="li-marker"||_.previousElementSibling.getAttribute("data-type")==="task-marker")&&(be=_.previousElementSibling),be){var ce=(0,j.im)(be,i.sv.element,L).start,ke=be.getAttribute("data-type")==="task-marker",xe=be;if(ke&&(xe=be.previousElementSibling.previousElementSibling.previousElementSibling),ce===be.textContent.length){if(a.key==="Enter"&&!(0,m.yl)(a)&&!a.altKey&&!a.shiftKey&&be.nextElementSibling.textContent.trim()==="")return((u=xe.previousElementSibling)===null||u===void 0?void 0:u.getAttribute("data-type"))==="padding"?(xe.previousElementSibling.remove(),Z(i)):(ke&&(xe.remove(),be.previousElementSibling.previousElementSibling.remove(),be.previousElementSibling.remove()),be.nextElementSibling.remove(),be.remove(),ze(i)),a.preventDefault(),!0;if(a.key==="Tab")return a.shiftKey?xe.previousElementSibling.getAttribute("data-type")==="padding"&&xe.previousElementSibling.remove():xe.insertAdjacentHTML("beforebegin",''.concat(xe.textContent.replace(/\S/g," "),"")),/^\d/.test(xe.textContent)&&(xe.textContent=xe.textContent.replace(/^\d{1,}/,"1"),L.selectNodeContents(be.firstChild),L.collapse(!1)),Z(i),a.preventDefault(),!0}}if(go(i,L,a))return!0;var ue=(0,y.a1)(D,"data-block","0"),Pe=(0,N.S)(D,"SPAN");if(a.key==="Enter"&&!(0,m.yl)(a)&&!a.altKey&&!a.shiftKey&&ue){var Te=!1,$e=ue.textContent.match(/^\n+/);(0,j.im)(ue,i.sv.element).start<=($e?$e[0].length:0)&&(Te=!0);var bt=` +`;if(Pe){if(((d=Pe.previousElementSibling)===null||d===void 0?void 0:d.getAttribute("data-action"))==="enter-remove")return Pe.previousElementSibling.remove(),ze(i),a.preventDefault(),!0;bt+=Ie(Pe)}return L.insertNode(document.createTextNode(bt)),L.collapse(!1),ue&&ue.textContent.trim()!==""&&!Te?Z(i):ze(i),a.preventDefault(),!0}if(a.key==="Backspace"&&!(0,m.yl)(a)&&!a.altKey&&!a.shiftKey){if(Pe&&((f=Pe.previousElementSibling)===null||f===void 0?void 0:f.getAttribute("data-type"))==="newline"&&(0,j.im)(Pe,i.sv.element,L).start===1&&Pe.getAttribute("data-type").indexOf("code-block-")===-1)return L.setStart(Pe,0),L.extractContents(),Pe.textContent.trim()!==""?Z(i):ze(i),a.preventDefault(),!0;if(ue&&(0,j.im)(ue,i.sv.element,L).start===0&&ue.previousElementSibling){L.extractContents();var gt=ue.previousElementSibling.lastElementChild;return gt.getAttribute("data-type")==="newline"&&(gt.remove(),gt=ue.previousElementSibling.lastElementChild),gt.getAttribute("data-type")!=="newline"&&(gt.insertAdjacentHTML("afterend",ue.innerHTML),ue.remove()),ue.textContent.trim()!==""&&!(!((E=ue.previousElementSibling)===null||E===void 0)&&E.querySelector('[data-type="code-block-open-marker"]'))?Z(i):(gt.getAttribute("data-type")!=="newline"&&(L.selectNodeContents(gt.lastChild),L.collapse(!1)),ze(i)),a.preventDefault(),!0}}return!1},le=o(538),we=function(i){i.options.theme==="dark"?i.element.classList.add("vditor--dark"):i.element.classList.remove("vditor--dark")},Ae=function(i){i.element.innerHTML="",i.element.classList.add("vditor"),i.options.rtl&&i.element.setAttribute("dir","rtl"),we(i),(0,le.Z)(i.options.preview.theme.current,i.options.preview.theme.path),typeof i.options.height=="number"?i.element.style.height=i.options.height+"px":i.element.style.height=i.options.height,typeof i.options.minHeight=="number"&&(i.element.style.minHeight=i.options.minHeight+"px"),typeof i.options.width=="number"?i.element.style.width=i.options.width+"px":i.element.style.width=i.options.width,i.element.appendChild(i.toolbar.element);var a=document.createElement("div");if(a.className="vditor-content",i.options.outline.position==="left"&&a.appendChild(i.outline.element),a.appendChild(i.wysiwyg.element.parentElement),a.appendChild(i.sv.element),a.appendChild(i.ir.element.parentElement),a.appendChild(i.preview.element),i.toolbar.elements.devtools&&a.appendChild(i.devtools.element),i.options.outline.position==="right"&&(i.outline.element.classList.add("vditor-outline--right"),a.appendChild(i.outline.element)),i.upload&&a.appendChild(i.upload.element),i.options.resize.enable&&a.appendChild(i.resize.element),a.appendChild(i.hint.element),a.appendChild(i.tip.element),i.element.appendChild(a),a.addEventListener("click",function(){A(i,["subToolbar"])}),i.toolbar.elements.export&&i.element.insertAdjacentHTML("beforeend",''),nr(i,i.options.mode,ot(i)),document.execCommand("DefaultParagraphSeparator",!1,"p"),navigator.userAgent.indexOf("iPhone")>-1&&typeof window.visualViewport<"u"){var s=!1,u=function(d){s||(s=!0,requestAnimationFrame(function(){s=!1;var f=i.toolbar.element;f.style.transform="none",f.getBoundingClientRect().top<0&&(f.style.transform="translate(0, ".concat(-f.getBoundingClientRect().top,"px)"))}))};window.visualViewport.addEventListener("scroll",u),window.visualViewport.addEventListener("resize",u)}},Fe=function(i){var a=window.innerWidth<=c.g.MOBILE_WIDTH?10:35;if(i.wysiwyg.element.parentElement.style.display!=="none"){var s=(i.wysiwyg.element.parentElement.clientWidth-i.options.preview.maxWidth)/2;i.wysiwyg.element.style.padding="10px ".concat(Math.max(a,s),"px")}if(i.ir.element.parentElement.style.display!=="none"){var s=(i.ir.element.parentElement.clientWidth-i.options.preview.maxWidth)/2;i.ir.element.style.padding="10px ".concat(Math.max(a,s),"px")}i.preview.element.style.display!=="block"?i.toolbar.element.style.paddingLeft=Math.max(5,parseInt(i[i.currentMode].element.style.paddingLeft||"0",10)+(i.options.outline.position==="left"?i.outline.element.offsetWidth:0))+"px":i.toolbar.element.style.paddingLeft=5+(i.options.outline.position==="left"?i.outline.element.offsetWidth:0)+"px"},Ke=function(i){if(i.options.typewriterMode){var a=window.innerHeight;typeof i.options.height=="number"?(a=i.options.height,typeof i.options.minHeight=="number"&&(a=Math.max(a,i.options.minHeight)),a=Math.min(window.innerHeight,a)):a=i.element.clientHeight,i.element.classList.contains("vditor--fullscreen")&&(a=window.innerHeight),i[i.currentMode].element.style.setProperty("--editor-bottom",(a-i.toolbar.element.offsetHeight)/2+"px")}},Xe;function Be(){window.removeEventListener("resize",Xe)}var ot=function(i){Ke(i),Be(),window.addEventListener("resize",Xe=function(){Fe(i),Ke(i)});var a=(0,m.pK)()&&localStorage.getItem(i.options.cache.id);return(!i.options.cache.enable||!a)&&(i.options.value?a=i.options.value:i.originalInnerHTML?a=i.lute.HTML2Md(i.originalInnerHTML):i.options.cache.enable||(a="")),a||""},Ue=function(i){clearTimeout(i[i.currentMode].hlToolbarTimeoutId),i[i.currentMode].hlToolbarTimeoutId=window.setTimeout(function(){if(i[i.currentMode].element.getAttribute("contenteditable")!=="false"&&(0,j.Gb)(i[i.currentMode].element)){x(i.toolbar.elements,c.g.EDIT_TOOLBARS),S(i.toolbar.elements,c.g.EDIT_TOOLBARS);var a=(0,j.zh)(i),s=a.startContainer;a.startContainer.nodeType===3&&(s=a.startContainer.parentElement),s.classList.contains("vditor-reset")&&(s=s.childNodes[a.startOffset]);var u=i.currentMode==="sv"?(0,y.a1)(s,"data-type","heading"):(0,N.W)(s);u&&w(i.toolbar.elements,["headings"]);var d=i.currentMode==="sv"?(0,y.a1)(s,"data-type","blockquote"):(0,y.lG)(s,"BLOCKQUOTE");d&&w(i.toolbar.elements,["quote"]);var f=(0,y.a1)(s,"data-type","strong");f&&w(i.toolbar.elements,["bold"]);var E=(0,y.a1)(s,"data-type","em");E&&w(i.toolbar.elements,["italic"]);var L=(0,y.a1)(s,"data-type","s");L&&w(i.toolbar.elements,["strike"]);var D=(0,y.a1)(s,"data-type","a");D&&w(i.toolbar.elements,["link"]);var _=(0,y.lG)(s,"LI");_?(_.classList.contains("vditor-task")?w(i.toolbar.elements,["check"]):_.parentElement.tagName==="OL"?w(i.toolbar.elements,["ordered-list"]):_.parentElement.tagName==="UL"&&w(i.toolbar.elements,["list"]),S(i.toolbar.elements,["outdent","indent"])):k(i.toolbar.elements,["outdent","indent"]);var B=(0,y.a1)(s,"data-type","code-block");B&&(k(i.toolbar.elements,["headings","bold","italic","strike","line","quote","list","ordered-list","check","code","inline-code","upload","link","table","record"]),w(i.toolbar.elements,["code"]));var K=(0,y.a1)(s,"data-type","code");K&&(k(i.toolbar.elements,["headings","bold","italic","strike","line","quote","list","ordered-list","check","code","upload","link","table","record"]),w(i.toolbar.elements,["inline-code"]));var fe=(0,y.a1)(s,"data-type","table");fe&&k(i.toolbar.elements,["headings","list","ordered-list","check","line","quote","code","table"])}},200)},Oe=function(i,a){a===void 0&&(a={enableAddUndoStack:!0,enableHint:!1,enableInput:!0}),a.enableHint&&i.hint.render(i),clearTimeout(i.wysiwyg.afterRenderTimeoutId),i.wysiwyg.afterRenderTimeoutId=window.setTimeout(function(){if(!i.wysiwyg.composingLock){var s=v(i);typeof i.options.input=="function"&&a.enableInput&&i.options.input(s),i.options.counter.enable&&i.counter.render(i,s),i.options.cache.enable&&(0,m.pK)()&&(localStorage.setItem(i.options.cache.id,s),i.options.cache.after&&i.options.cache.after(s)),i.devtools&&i.devtools.renderEchart(i),a.enableAddUndoStack&&i.undo.addToUndoStack(i)}},i.options.undoDelay)},mt=function(i){for(var a=i.previousSibling;a;){if(a.nodeType!==3&&a.tagName==="A"&&!a.previousSibling&&a.innerHTML.replace(c.g.ZWSP,"")===""&&a.nextSibling)return a;a=a.previousSibling}return!1},Ct=function(i){for(var a=i.startContainer.nextSibling;a&&a.textContent==="";)a=a.nextSibling;return!!(a&&a.nodeType!==3&&(a.tagName==="CODE"||a.getAttribute("data-type")==="math-inline"||a.getAttribute("data-type")==="html-entity"||a.getAttribute("data-type")==="html-inline"))},Vt=function(i){for(var a="",s=i.nextSibling;s;)s.nodeType===3?a+=s.textContent:a+=s.outerHTML,s=s.nextSibling;return a},jt=function(i){for(var a="",s=i.previousSibling;s;)s.nodeType===3?a=s.textContent+a:a=s.outerHTML+a,s=s.previousSibling;return a},qn=function(i){for(var a=i;a&&!a.nextSibling;)a=a.parentElement;return a.nextSibling},Mn=function(i){var a=jt(i.startContainer),s=Vt(i.startContainer),u=i.startContainer.textContent,d=i.startOffset,f="",E="";return(u.substr(0,d)!==""&&u.substr(0,d)!==c.g.ZWSP||a)&&(f="".concat(a).concat(u.substr(0,d))),(u.substr(d)!==""&&u.substr(d)!==c.g.ZWSP||s)&&(E="".concat(u.substr(d)).concat(s)),{afterHTML:E,beforeHTML:f}},In=function(i,a){Array.from(i.wysiwyg.element.childNodes).find(function(s){if(s.nodeType===3){var u=document.createElement("p");u.setAttribute("data-block","0"),u.textContent=s.textContent;var d=a.startContainer.nodeType===3?a.startOffset:s.textContent.length;return s.parentNode.insertBefore(u,s),s.remove(),a.setStart(u.firstChild,Math.min(u.firstChild.textContent.length,d)),a.collapse(!0),(0,j.Hc)(a),!0}else if(!s.getAttribute("data-block"))return s.tagName==="P"?s.remove():(s.tagName==="DIV"?(a.insertNode(document.createElement("wbr")),s.outerHTML='

    '.concat(s.innerHTML,"

    ")):s.tagName==="BR"?s.outerHTML='

    '.concat(s.outerHTML,"

    "):(a.insertNode(document.createElement("wbr")),s.outerHTML='

    '.concat(s.outerHTML,"

    ")),(0,j.ib)(i.wysiwyg.element,a),a=getSelection().getRangeAt(0)),!0})},kn=function(i,a){var s=(0,j.zh)(i),u=(0,y.F9)(s.startContainer);u||(u=s.startContainer.childNodes[s.startOffset]),!u&&i.wysiwyg.element.children.length===0&&(u=i.wysiwyg.element),u&&!u.classList.contains("vditor-wysiwyg__block")&&(s.insertNode(document.createElement("wbr")),u.innerHTML.trim()===""&&(u.innerHTML="
    "),u.tagName==="BLOCKQUOTE"||u.classList.contains("vditor-reset")?u.innerHTML="<".concat(a,' data-block="0">').concat(u.innerHTML.trim(),""):u.outerHTML="<".concat(a,' data-block="0">').concat(u.innerHTML.trim(),""),(0,j.ib)(i.wysiwyg.element,s),Ht(i))},pr=function(i){var a=getSelection().getRangeAt(0),s=(0,y.F9)(a.startContainer);s||(s=a.startContainer.childNodes[a.startOffset]),s&&(a.insertNode(document.createElement("wbr")),s.outerHTML='

    '.concat(s.innerHTML,"

    "),(0,j.ib)(i.wysiwyg.element,a)),i.wysiwyg.popover.style.display="none"},tr=function(i,a,s){s===void 0&&(s=!0);var u=i.previousElementSibling,d=u.ownerDocument.createRange();u.tagName==="CODE"?(u.style.display="inline-block",s?d.setStart(u.firstChild,1):d.selectNodeContents(u)):(u.style.display="block",u.firstChild.firstChild||u.firstChild.appendChild(document.createTextNode("")),d.selectNodeContents(u.firstChild)),s?d.collapse(!0):d.collapse(!1),(0,j.Hc)(d),!i.firstElementChild.classList.contains("language-mindmap")&&X(a)},Gn=function(i,a){if(i.wysiwyg.composingLock=a.isComposing,a.isComposing)return!1;a.key.indexOf("Arrow")===-1&&a.key!=="Meta"&&a.key!=="Control"&&a.key!=="Alt"&&a.key!=="Shift"&&a.key!=="CapsLock"&&a.key!=="Escape"&&!/^F\d{1,2}$/.test(a.key)&&i.undo.recordFirstPosition(i,a);var s=(0,j.zh)(i),u=s.startContainer;if(!Es(a,i,u)||(Ts(s,i,a),Fs(s),a.key!=="Enter"&&a.key!=="Tab"&&a.key!=="Backspace"&&a.key.indexOf("Arrow")===-1&&!(0,m.yl)(a)&&a.key!=="Escape"&&a.key!=="Delete"))return!1;var d=(0,y.F9)(u),f=(0,y.lG)(u,"P");if(_s(a,i,f,s)||Ls(s,i,f,a)||Os(i,a,s))return!0;var E=(0,y.fb)(u,"vditor-wysiwyg__block");if(E){if(a.key==="Escape"&&E.children.length===2)return i.wysiwyg.popover.style.display="none",E.firstElementChild.style.display="none",i.wysiwyg.element.blur(),a.preventDefault(),!0;if(!(0,m.yl)(a)&&!a.shiftKey&&a.altKey&&a.key==="Enter"&&E.getAttribute("data-type")==="code-block"){var L=i.wysiwyg.popover.querySelector(".vditor-input");return L.focus(),L.select(),a.preventDefault(),!0}if(E.getAttribute("data-block")==="0"&&(Hs(i,a,E.firstElementChild,s)||fi(i,a,s,E.firstElementChild,E)||E.getAttribute("data-type")!=="yaml-front-matter"&&Pr(i,a,s,E.firstElementChild,E)))return!0}if(Ps(i,s,a,f))return!0;var D=(0,y.E2)(u,"BLOCKQUOTE");if(D&&!a.shiftKey&&a.altKey&&a.key==="Enter"){(0,m.yl)(a)?s.setStartBefore(D):s.setStartAfter(D),(0,j.Hc)(s);var _=document.createElement("p");return _.setAttribute("data-block","0"),_.innerHTML=` +`,s.insertNode(_),s.collapse(!0),(0,j.Hc)(s),Oe(i),X(i),a.preventDefault(),!0}var B=(0,N.W)(u);if(B){if(B.tagName==="H6"&&u.textContent.length===s.startOffset&&!(0,m.yl)(a)&&!a.shiftKey&&!a.altKey&&a.key==="Enter"){var K=document.createElement("p");return K.textContent=` +`,K.setAttribute("data-block","0"),u.parentElement.insertAdjacentElement("afterend",K),s.setStart(K,0),(0,j.Hc)(s),Oe(i),X(i),a.preventDefault(),!0}if(oe("⌘=",a)){var fe=parseInt(B.tagName.substr(1),10)-1;return fe>0&&(kn(i,"h".concat(fe)),Oe(i)),a.preventDefault(),!0}if(oe("⌘-",a)){var fe=parseInt(B.tagName.substr(1),10)+1;return fe<7&&(kn(i,"h".concat(fe)),Oe(i)),a.preventDefault(),!0}a.key==="Backspace"&&!(0,m.yl)(a)&&!a.shiftKey&&!a.altKey&&B.textContent.length===1&&pr(i)}if(zs(i,s,a))return!0;if(a.altKey&&a.key==="Enter"&&!(0,m.yl)(a)&&!a.shiftKey){var be=(0,y.lG)(u,"A"),ce=(0,y.a1)(u,"data-type","link-ref"),ke=(0,y.a1)(u,"data-type","footnotes-ref");if(be||ce||ke||B&&B.tagName.length===2){var xe=i.wysiwyg.popover.querySelector("input");xe.focus(),xe.select()}}if(Rt(i,a))return!0;if(oe("⇧⌘U",a)){var ue=i.wysiwyg.popover.querySelector('[data-type="up"]');if(ue)return ue.click(),a.preventDefault(),!0}if(oe("⇧⌘D",a)){var ue=i.wysiwyg.popover.querySelector('[data-type="down"]');if(ue)return ue.click(),a.preventDefault(),!0}if(go(i,s,a))return!0;if(!(0,m.yl)(a)&&a.shiftKey&&!a.altKey&&a.key==="Enter"&&u.parentElement.tagName!=="LI"&&u.parentElement.tagName!=="P")return["STRONG","STRIKE","S","I","EM","B"].includes(u.parentElement.tagName)?s.insertNode(document.createTextNode(` `+c.g.ZWSP)):s.insertNode(document.createTextNode(` -`)),s.collapse(!1),(0,q.Hc)(s),Re(i),Z(i),a.preventDefault(),!0;if(a.key==="Backspace"&&!(0,m.yl)(a)&&!a.shiftKey&&!a.altKey&&s.toString()===""){if(zs(i,s,a,f))return!0;if(d){if(d.previousElementSibling&&d.previousElementSibling.classList.contains("vditor-wysiwyg__block")&&d.previousElementSibling.getAttribute("data-block")==="0"&&d.tagName!=="UL"&&d.tagName!=="OL"){var Ie=(0,q.im)(d,i.wysiwyg.element,s).start;if(Ie===0&&s.startOffset===0||Ie===1&&d.innerText.startsWith(c.g.ZWSP))return cr(d.previousElementSibling.lastElementChild,i,!1),d.innerHTML.trim().replace(c.g.ZWSP,"")===""&&(d.remove(),Re(i)),a.preventDefault(),!0}var Te=s.startOffset;if(s.toString()===""&&u.nodeType===3&&u.textContent.charAt(Te-2)===` -`&&u.textContent.charAt(Te-1)!==c.g.ZWSP&&["STRONG","STRIKE","S","I","EM","B"].includes(u.parentElement.tagName))return u.textContent=u.textContent.substring(0,Te-1)+c.g.ZWSP,s.setStart(u,Te),s.collapse(!0),Re(i),a.preventDefault(),!0;u.textContent===c.g.ZWSP&&s.startOffset===1&&!u.previousSibling&&Dt(s)&&(u.textContent=""),d.querySelectorAll("span.vditor-wysiwyg__block[data-type='math-inline']").forEach(function(bt){bt.firstElementChild.style.display="inline",bt.lastElementChild.style.display="none"}),d.querySelectorAll("span.vditor-wysiwyg__block[data-type='html-entity']").forEach(function(bt){bt.firstElementChild.style.display="inline",bt.lastElementChild.style.display="none"})}}if((0,m.vU)()&&s.startOffset===1&&u.textContent.indexOf(c.g.ZWSP)>-1&&u.previousSibling&&u.previousSibling.nodeType!==3&&u.previousSibling.tagName==="CODE"&&(a.key==="Backspace"||a.key==="ArrowLeft"))return s.selectNodeContents(u.previousSibling),s.collapse(!1),a.preventDefault(),!0;if(Fs(a,d,s))return a.preventDefault(),!0;if(Ts(s,a.key),a.key==="ArrowDown"){var $e=u.nextSibling;$e&&$e.nodeType!==3&&$e.getAttribute("data-type")==="math-inline"&&s.setStartAfter($e)}return d&&$t(d,i,a,s)?(a.preventDefault(),!0):!1},Ot=function(i,a){if(oe("⇧⌘X",a)){var s=i.wysiwyg.popover.querySelector('[data-type="remove"]');return s&&s.click(),a.preventDefault(),!0}},jn=function(i){clearTimeout(i.wysiwyg.hlToolbarTimeoutId),i.wysiwyg.hlToolbarTimeoutId=window.setTimeout(function(){if(i.wysiwyg.element.getAttribute("contenteditable")!=="false"&&(0,q.Gb)(i.wysiwyg.element)){x(i.toolbar.elements,c.g.EDIT_TOOLBARS),S(i.toolbar.elements,c.g.EDIT_TOOLBARS);var a=getSelection().getRangeAt(0),s=a.startContainer;a.startContainer.nodeType===3?s=a.startContainer.parentElement:s=s.childNodes[a.startOffset>=s.childNodes.length?s.childNodes.length-1:a.startOffset];var u=(0,y.a1)(s,"data-type","footnotes-block");if(u){i.wysiwyg.popover.innerHTML="",pn(u,i),tn(i,"footnotes-block"),en(i,u);return}var d=(0,y.lG)(s,"LI");d?(d.classList.contains("vditor-task")?w(i.toolbar.elements,["check"]):d.parentElement.tagName==="OL"?w(i.toolbar.elements,["ordered-list"]):d.parentElement.tagName==="UL"&&w(i.toolbar.elements,["list"]),S(i.toolbar.elements,["outdent","indent"])):k(i.toolbar.elements,["outdent","indent"]),(0,y.lG)(s,"BLOCKQUOTE")&&w(i.toolbar.elements,["quote"]),((0,y.lG)(s,"B")||(0,y.lG)(s,"STRONG"))&&w(i.toolbar.elements,["bold"]),((0,y.lG)(s,"I")||(0,y.lG)(s,"EM"))&&w(i.toolbar.elements,["italic"]),((0,y.lG)(s,"STRIKE")||(0,y.lG)(s,"S"))&&w(i.toolbar.elements,["strike"]),i.wysiwyg.element.querySelectorAll(".vditor-comment--focus").forEach(function(Le){Le.classList.remove("vditor-comment--focus")});var f=(0,y.fb)(s,"vditor-comment");if(f){var E=f.getAttribute("data-cmtids").split(" ");if(E.length>1&&f.nextSibling.isSameNode(f.nextElementSibling)){var L=f.nextElementSibling.getAttribute("data-cmtids").split(" ");E.find(function(Le){if(L.includes(Le))return E=[Le],!0})}i.wysiwyg.element.querySelectorAll(".vditor-comment").forEach(function(Le){Le.getAttribute("data-cmtids").indexOf(E[0])>-1&&Le.classList.add("vditor-comment--focus")})}var D=(0,y.lG)(s,"A");D&&w(i.toolbar.elements,["link"]);var _=(0,y.lG)(s,"TABLE"),B=(0,N.W)(s);(0,y.lG)(s,"CODE")?(0,y.lG)(s,"PRE")?(k(i.toolbar.elements,["headings","bold","italic","strike","line","quote","list","ordered-list","check","code","inline-code","upload","link","table","record"]),w(i.toolbar.elements,["code"])):(k(i.toolbar.elements,["headings","bold","italic","strike","line","quote","list","ordered-list","check","code","upload","link","table","record"]),w(i.toolbar.elements,["inline-code"])):B?(k(i.toolbar.elements,["bold"]),w(i.toolbar.elements,["headings"])):_&&k(i.toolbar.elements,["table"]);var K=(0,y.fb)(s,"vditor-toc");if(K){i.wysiwyg.popover.innerHTML="",pn(K,i),tn(i,"vditor-toc"),en(i,K);return}var fe=(0,N.S)(s,"BLOCKQUOTE");if(fe&&(i.wysiwyg.popover.innerHTML="",ur(a,fe,i),nr(a,fe,i),pn(fe,i),tn(i,"blockquote"),en(i,fe)),d&&(i.wysiwyg.popover.innerHTML="",ur(a,d,i),nr(a,d,i),pn(d,i),tn(i,"li"),en(i,d)),_){i.options.lang,i.options,i.wysiwyg.popover.innerHTML="";var ve=function(){var Le=_.rows.length,ut=_.rows[0].cells.length,ir=parseInt(zt.value,10)||Le,ar=parseInt(fn.value,10)||ut;if(!(ir===Le&&ut===ar)){if(ut!==ar)for(var gi=ar-ut,Bn=0;Bn<_.rows.length;Bn++)if(gi>0)for(var Zs=0;Zs "):_.rows[Bn].lastElementChild.insertAdjacentHTML("afterend"," ");else for(var wo=ut-1;wo>=ar;wo--)_.rows[Bn].cells[wo].remove();if(Le!==ir){var Ys=ir-Le;if(Ys>0){for(var xo="",Fr=0;Fr ";for(var Js=0;Js")}else for(var Fr=Le-1;Fr>=ir;Fr--)_.rows[Fr].remove(),_.rows.length===1&&_.querySelector("tbody").remove()}typeof i.options.input=="function"&&i.options.input(v(i))}},ue=function(Le){Qi(_,Le),Le==="right"?(Ie.classList.remove("vditor-icon--current"),Te.classList.remove("vditor-icon--current"),$e.classList.add("vditor-icon--current")):Le==="center"?(Ie.classList.remove("vditor-icon--current"),$e.classList.remove("vditor-icon--current"),Te.classList.add("vditor-icon--current")):(Te.classList.remove("vditor-icon--current"),$e.classList.remove("vditor-icon--current"),Ie.classList.add("vditor-icon--current")),(0,q.Hc)(a),Re(i)},ke=(0,y.lG)(s,"TD"),we=(0,y.lG)(s,"TH"),de="left";ke?de=ke.getAttribute("align")||"left":we&&(de=we.getAttribute("align")||"center");var Ie=document.createElement("button");Ie.setAttribute("type","button"),Ie.setAttribute("aria-label",window.VditorI18n.alignLeft+"<"+(0,m.ns)("⇧⌘L")+">"),Ie.setAttribute("data-type","left"),Ie.innerHTML='',Ie.className="vditor-icon vditor-tooltipped vditor-tooltipped__n"+(de==="left"?" vditor-icon--current":""),Ie.onclick=function(){ue("left")};var Te=document.createElement("button");Te.setAttribute("type","button"),Te.setAttribute("aria-label",window.VditorI18n.alignCenter+"<"+(0,m.ns)("⇧⌘C")+">"),Te.setAttribute("data-type","center"),Te.innerHTML='',Te.className="vditor-icon vditor-tooltipped vditor-tooltipped__n"+(de==="center"?" vditor-icon--current":""),Te.onclick=function(){ue("center")};var $e=document.createElement("button");$e.setAttribute("type","button"),$e.setAttribute("aria-label",window.VditorI18n.alignRight+"<"+(0,m.ns)("⇧⌘R")+">"),$e.setAttribute("data-type","right"),$e.innerHTML='',$e.className="vditor-icon vditor-tooltipped vditor-tooltipped__n"+(de==="right"?" vditor-icon--current":""),$e.onclick=function(){ue("right")};var bt=document.createElement("button");bt.setAttribute("type","button"),bt.setAttribute("aria-label",window.VditorI18n.insertRowBelow+"<"+(0,m.ns)("⌘=")+">"),bt.setAttribute("data-type","insertRow"),bt.innerHTML='',bt.className="vditor-icon vditor-tooltipped vditor-tooltipped__n",bt.onclick=function(){var Le=getSelection().getRangeAt(0).startContainer,ut=(0,y.lG)(Le,"TD")||(0,y.lG)(Le,"TH");ut&&_s(i,a,ut)};var gt=document.createElement("button");gt.setAttribute("type","button"),gt.setAttribute("aria-label",window.VditorI18n.insertRowAbove+"<"+(0,m.ns)("⇧⌘F")+">"),gt.setAttribute("data-type","insertRow"),gt.innerHTML='',gt.className="vditor-icon vditor-tooltipped vditor-tooltipped__n",gt.onclick=function(){var Le=getSelection().getRangeAt(0).startContainer,ut=(0,y.lG)(Le,"TD")||(0,y.lG)(Le,"TH");ut&&Ns(i,a,ut)};var kt=document.createElement("button");kt.setAttribute("type","button"),kt.setAttribute("aria-label",window.VditorI18n.insertColumnRight+"<"+(0,m.ns)("⇧⌘=")+">"),kt.setAttribute("data-type","insertColumn"),kt.innerHTML='',kt.className="vditor-icon vditor-tooltipped vditor-tooltipped__n",kt.onclick=function(){var Le=getSelection().getRangeAt(0).startContainer,ut=(0,y.lG)(Le,"TD")||(0,y.lG)(Le,"TH");ut&&ea(i,_,ut)};var dn=document.createElement("button");dn.setAttribute("type","button"),dn.setAttribute("aria-label",window.VditorI18n.insertColumnLeft+"<"+(0,m.ns)("⇧⌘G")+">"),dn.setAttribute("data-type","insertColumn"),dn.innerHTML='',dn.className="vditor-icon vditor-tooltipped vditor-tooltipped__n",dn.onclick=function(){var Le=getSelection().getRangeAt(0).startContainer,ut=(0,y.lG)(Le,"TD")||(0,y.lG)(Le,"TH");ut&&ea(i,_,ut,"beforebegin")};var Wt=document.createElement("button");Wt.setAttribute("type","button"),Wt.setAttribute("aria-label",window.VditorI18n["delete-row"]+"<"+(0,m.ns)("⌘-")+">"),Wt.setAttribute("data-type","deleteRow"),Wt.innerHTML='',Wt.className="vditor-icon vditor-tooltipped vditor-tooltipped__n",Wt.onclick=function(){var Le=getSelection().getRangeAt(0).startContainer,ut=(0,y.lG)(Le,"TD")||(0,y.lG)(Le,"TH");ut&&Ds(i,a,ut)};var hn=document.createElement("button");hn.setAttribute("type","button"),hn.setAttribute("aria-label",window.VditorI18n["delete-column"]+"<"+(0,m.ns)("⇧⌘-")+">"),hn.setAttribute("data-type","deleteColumn"),hn.innerHTML='',hn.className="vditor-icon vditor-tooltipped vditor-tooltipped__n",hn.onclick=function(){var Le=getSelection().getRangeAt(0).startContainer,ut=(0,y.lG)(Le,"TD")||(0,y.lG)(Le,"TH");ut&&Rs(i,a,_,ut)};var it=document.createElement("span");it.setAttribute("aria-label",window.VditorI18n.row),it.className="vditor-tooltipped vditor-tooltipped__n";var zt=document.createElement("input");it.appendChild(zt),zt.type="number",zt.min="1",zt.className="vditor-input",zt.style.width="42px",zt.style.textAlign="center",zt.setAttribute("placeholder",window.VditorI18n.row),zt.value=_.rows.length.toString(),zt.oninput=function(){ve()},zt.onkeydown=function(Le){if(!Le.isComposing){if(Le.key==="Tab"){fn.focus(),fn.select(),Le.preventDefault();return}Ot(i,Le)||cn(Le,a)}};var ra=document.createElement("span");ra.setAttribute("aria-label",window.VditorI18n.column),ra.className="vditor-tooltipped vditor-tooltipped__n";var fn=document.createElement("input");ra.appendChild(fn),fn.type="number",fn.min="1",fn.className="vditor-input",fn.style.width="42px",fn.style.textAlign="center",fn.setAttribute("placeholder",window.VditorI18n.column),fn.value=_.rows[0].cells.length.toString(),fn.oninput=function(){ve()},fn.onkeydown=function(Le){if(!Le.isComposing){if(Le.key==="Tab"){zt.focus(),zt.select(),Le.preventDefault();return}Ot(i,Le)||cn(Le,a)}},ur(a,_,i),nr(a,_,i),pn(_,i),i.wysiwyg.popover.insertAdjacentElement("beforeend",Ie),i.wysiwyg.popover.insertAdjacentElement("beforeend",Te),i.wysiwyg.popover.insertAdjacentElement("beforeend",$e),i.wysiwyg.popover.insertAdjacentElement("beforeend",gt),i.wysiwyg.popover.insertAdjacentElement("beforeend",bt),i.wysiwyg.popover.insertAdjacentElement("beforeend",dn),i.wysiwyg.popover.insertAdjacentElement("beforeend",kt),i.wysiwyg.popover.insertAdjacentElement("beforeend",Wt),i.wysiwyg.popover.insertAdjacentElement("beforeend",hn),i.wysiwyg.popover.insertAdjacentElement("beforeend",it),i.wysiwyg.popover.insertAdjacentHTML("beforeend"," x "),i.wysiwyg.popover.insertAdjacentElement("beforeend",ra),tn(i,"table"),en(i,_)}var yo=(0,y.a1)(s,"data-type","link-ref");yo&&co(i,yo,a);var zr=(0,y.a1)(s,"data-type","footnotes-ref");if(zr){i.options.lang,i.options,i.wysiwyg.popover.innerHTML="";var it=document.createElement("span");it.setAttribute("aria-label",window.VditorI18n.footnoteRef+"<"+(0,m.ns)("⌥Enter")+">"),it.className="vditor-tooltipped vditor-tooltipped__n";var Zn=document.createElement("input");it.appendChild(Zn),Zn.className="vditor-input",Zn.setAttribute("placeholder",window.VditorI18n.footnoteRef+"<"+(0,m.ns)("⌥Enter")+">"),Zn.style.width="120px",Zn.value=zr.getAttribute("data-footnotes-label"),Zn.oninput=function(){Zn.value.trim()!==""&&zr.setAttribute("data-footnotes-label",Zn.value),typeof i.options.input=="function"&&i.options.input(v(i))},Zn.onkeydown=function(ut){ut.isComposing||Ot(i,ut)||cn(ut,a)},pn(zr,i),i.wysiwyg.popover.insertAdjacentElement("beforeend",it),tn(i,"footnotes-ref"),en(i,zr)}var Vt=(0,y.fb)(s,"vditor-wysiwyg__block"),Ks=Vt?Vt.getAttribute("data-type").indexOf("block")>-1:!1;if(i.wysiwyg.element.querySelectorAll(".vditor-wysiwyg__preview").forEach(function(Le){if(!Vt||Vt&&Ks&&!Vt.contains(Le)){var ut=Le.previousElementSibling;ut.style.display="none"}}),Vt&&Ks){if(i.wysiwyg.popover.innerHTML="",ur(a,Vt,i),nr(a,Vt,i),pn(Vt,i),Vt.getAttribute("data-type")==="code-block"){var ia=document.createElement("span");ia.setAttribute("aria-label",window.VditorI18n.language+"<"+(0,m.ns)("⌥Enter")+">"),ia.className="vditor-tooltipped vditor-tooltipped__n";var Cn=document.createElement("input");ia.appendChild(Cn);var mi=Vt.firstElementChild.firstElementChild;Cn.className="vditor-input",Cn.setAttribute("placeholder",window.VditorI18n.language+"<"+(0,m.ns)("⌥Enter")+">"),Cn.value=mi.className.indexOf("language-")>-1?mi.className.split("-")[1].split(" ")[0]:"",Cn.oninput=function(Le){Cn.value.trim()!==""?mi.className="language-".concat(Cn.value):(mi.className="",i.hint.recentLanguage=""),Vt.lastElementChild.classList.contains("vditor-wysiwyg__preview")&&(Vt.lastElementChild.innerHTML=Vt.firstElementChild.innerHTML,tt(Vt.lastElementChild,i)),Re(i),Le.detail===1&&(a.setStart(mi.firstChild,0),a.collapse(!0),(0,q.Hc)(a))},Cn.onkeydown=function(Le){if(!Le.isComposing&&!Ot(i,Le)){if(Le.key==="Escape"&&i.hint.element.style.display==="block"){i.hint.element.style.display="none",Le.preventDefault();return}i.hint.select(Le,i),cn(Le,a)}},Cn.onkeyup=function(Le){var ut,ir;if(!(Le.isComposing||Le.key==="Enter"||Le.key==="ArrowUp"||Le.key==="Escape"||Le.key==="ArrowDown")){var ar=[],gi=Cn.value.substring(0,Cn.selectionStart);(i.options.preview.hljs.langs||c.g.ALIAS_CODE_LANGUAGES.concat(((ir=(ut=window.hljs)===null||ut===void 0?void 0:ut.listLanguages())!==null&&ir!==void 0?ir:[]).sort())).forEach(function(Bn){Bn.indexOf(gi.toLowerCase())>-1&&ar.push({html:Bn,value:Bn})}),i.hint.genHTML(ar,gi,i),Le.preventDefault()}},i.wysiwyg.popover.insertAdjacentElement("beforeend",ia),tn(i,"code-block")}else tn(i,"block");en(i,Vt)}else Vt=void 0;if(B){i.wysiwyg.popover.innerHTML="";var it=document.createElement("span");it.setAttribute("aria-label","ID<"+(0,m.ns)("⌥Enter")+">"),it.className="vditor-tooltipped vditor-tooltipped__n";var rr=document.createElement("input");it.appendChild(rr),rr.className="vditor-input",rr.setAttribute("placeholder","ID<"+(0,m.ns)("⌥Enter")+">"),rr.style.width="120px",rr.value=B.getAttribute("data-id")||"",rr.oninput=function(){B.setAttribute("data-id",rr.value),typeof i.options.input=="function"&&i.options.input(v(i))},rr.onkeydown=function(ut){ut.isComposing||Ot(i,ut)||cn(ut,a)},ur(a,B,i),nr(a,B,i),pn(B,i),i.wysiwyg.popover.insertAdjacentElement("beforeend",it),tn(i,"heading"),en(i,B)}if(D&&Ti(i,D,a),!fe&&!d&&!_&&!Vt&&!D&&!yo&&!zr&&!B&&!K){var Br=(0,y.a1)(s,"data-block","0");Br&&Br.parentElement.isEqualNode(i.wysiwyg.element)?(i.wysiwyg.popover.innerHTML="",ur(a,Br,i),nr(a,Br,i),pn(Br,i),tn(i,"block"),en(i,Br)):i.wysiwyg.popover.style.display="none"}i.wysiwyg.element.querySelectorAll('span[data-type="backslash"] > span').forEach(function(Le){Le.style.display="none"});var Xs=(0,y.a1)(a.startContainer,"data-type","backslash");Xs&&(Xs.querySelector("span").style.display="inline")}},200)},en=function(i,a){var s=a,u=(0,y.lG)(a,"TABLE");u&&(s=u),i.wysiwyg.popover.style.left="0",i.wysiwyg.popover.style.display="block",i.wysiwyg.popover.style.top=Math.max(-8,s.offsetTop-21-i.wysiwyg.element.scrollTop)+"px",i.wysiwyg.popover.style.left=Math.min(s.offsetLeft,i.wysiwyg.element.clientWidth-i.wysiwyg.popover.clientWidth)+"px",i.wysiwyg.popover.setAttribute("data-top",(s.offsetTop-21).toString())},co=function(i,a,s){s===void 0&&(s=getSelection().getRangeAt(0)),i.wysiwyg.popover.innerHTML="";var u=function(){f.value.trim()!==""&&(a.tagName==="IMG"?a.setAttribute("alt",f.value):a.textContent=f.value),L.value.trim()!==""&&a.setAttribute("data-link-label",L.value),typeof i.options.input=="function"&&i.options.input(v(i))},d=document.createElement("span");d.setAttribute("aria-label",window.VditorI18n.textIsNotEmpty),d.className="vditor-tooltipped vditor-tooltipped__n";var f=document.createElement("input");d.appendChild(f),f.className="vditor-input",f.setAttribute("placeholder",window.VditorI18n.textIsNotEmpty),f.style.width="120px",f.value=a.getAttribute("alt")||a.textContent,f.oninput=function(){u()},f.onkeydown=function(D){Ot(i,D)||cn(D,s)||Ir(i,a,D,L)};var E=document.createElement("span");E.setAttribute("aria-label",window.VditorI18n.linkRef),E.className="vditor-tooltipped vditor-tooltipped__n";var L=document.createElement("input");E.appendChild(L),L.className="vditor-input",L.setAttribute("placeholder",window.VditorI18n.linkRef),L.value=a.getAttribute("data-link-label"),L.oninput=function(){u()},L.onkeydown=function(D){Ot(i,D)||cn(D,s)||Ir(i,a,D,f)},pn(a,i),i.wysiwyg.popover.insertAdjacentElement("beforeend",d),i.wysiwyg.popover.insertAdjacentElement("beforeend",E),tn(i,"link-ref"),en(i,a)},ur=function(i,a,s){var u=a.previousElementSibling;if(!(!u||!a.parentElement.isEqualNode(s.wysiwyg.element)&&a.tagName!=="LI")){var d=document.createElement("button");d.setAttribute("type","button"),d.setAttribute("data-type","up"),d.setAttribute("aria-label",window.VditorI18n.up+"<"+(0,m.ns)("⇧⌘U")+">"),d.innerHTML='',d.className="vditor-icon vditor-tooltipped vditor-tooltipped__n",d.onclick=function(){i.insertNode(document.createElement("wbr")),u.insertAdjacentElement("beforebegin",a),(0,q.ib)(s.wysiwyg.element,i),Re(s),jn(s),Z(s)},s.wysiwyg.popover.insertAdjacentElement("beforeend",d)}},nr=function(i,a,s){var u=a.nextElementSibling;if(!(!u||!a.parentElement.isEqualNode(s.wysiwyg.element)&&a.tagName!=="LI")){var d=document.createElement("button");d.setAttribute("type","button"),d.setAttribute("data-type","down"),d.setAttribute("aria-label",window.VditorI18n.down+"<"+(0,m.ns)("⇧⌘D")+">"),d.innerHTML='',d.className="vditor-icon vditor-tooltipped vditor-tooltipped__n",d.onclick=function(){i.insertNode(document.createElement("wbr")),u.insertAdjacentElement("afterend",a),(0,q.ib)(s.wysiwyg.element,i),Re(s),jn(s),Z(s)},s.wysiwyg.popover.insertAdjacentElement("beforeend",d)}},pn=function(i,a){var s=document.createElement("button");s.setAttribute("type","button"),s.setAttribute("data-type","remove"),s.setAttribute("aria-label",window.VditorI18n.remove+"<"+(0,m.ns)("⇧⌘X")+">"),s.innerHTML='',s.className="vditor-icon vditor-tooltipped vditor-tooltipped__n",s.onclick=function(){var u=(0,q.zh)(a);u.setStartAfter(i),(0,q.Hc)(u),i.remove(),Re(a),jn(a),["H1","H2","H3","H4","H5","H6"].includes(i.tagName)&&Ht(a)},a.wysiwyg.popover.insertAdjacentElement("beforeend",s)},Ir=function(i,a,s,u){if(!s.isComposing){if(s.key==="Tab"){u.focus(),u.select(),s.preventDefault();return}if(!(0,m.yl)(s)&&!s.shiftKey&&s.altKey&&s.key==="Enter"){var d=(0,q.zh)(i);a.insertAdjacentHTML("afterend",c.g.ZWSP),d.setStartAfter(a.nextSibling),d.collapse(!0),(0,q.Hc)(d),s.preventDefault()}}},Ti=function(i,a,s){i.wysiwyg.popover.innerHTML="";var u=function(){f.value.trim()!==""&&(a.innerHTML=f.value),a.setAttribute("href",L.value),a.setAttribute("title",_.value),Re(i)};a.querySelectorAll("[data-marker]").forEach(function(B){B.removeAttribute("data-marker")});var d=document.createElement("span");d.setAttribute("aria-label",window.VditorI18n.textIsNotEmpty),d.className="vditor-tooltipped vditor-tooltipped__n";var f=document.createElement("input");d.appendChild(f),f.className="vditor-input",f.setAttribute("placeholder",window.VditorI18n.textIsNotEmpty),f.style.width="120px",f.value=a.innerHTML||"",f.oninput=function(){u()},f.onkeydown=function(B){Ot(i,B)||cn(B,s)||Ir(i,a,B,L)};var E=document.createElement("span");E.setAttribute("aria-label",window.VditorI18n.link),E.className="vditor-tooltipped vditor-tooltipped__n";var L=document.createElement("input");E.appendChild(L),L.className="vditor-input",L.setAttribute("placeholder",window.VditorI18n.link),L.value=a.getAttribute("href")||"",L.oninput=function(){u()},L.onkeydown=function(B){Ot(i,B)||cn(B,s)||Ir(i,a,B,_)};var D=document.createElement("span");D.setAttribute("aria-label",window.VditorI18n.tooltipText),D.className="vditor-tooltipped vditor-tooltipped__n";var _=document.createElement("input");D.appendChild(_),_.className="vditor-input",_.setAttribute("placeholder",window.VditorI18n.tooltipText),_.style.width="60px",_.value=a.getAttribute("title")||"",_.oninput=function(){u()},_.onkeydown=function(B){Ot(i,B)||cn(B,s)||Ir(i,a,B,f)},pn(a,i),i.wysiwyg.popover.insertAdjacentElement("beforeend",d),i.wysiwyg.popover.insertAdjacentElement("beforeend",E),i.wysiwyg.popover.insertAdjacentElement("beforeend",D),tn(i,"a"),en(i,a)},di=function(i,a){var s=i.target;a.wysiwyg.popover.innerHTML="";var u=function(){s.setAttribute("src",f.value),s.setAttribute("alt",L.value),s.setAttribute("title",_.value),typeof a.options.input=="function"&&a.options.input(v(a))},d=document.createElement("span");d.setAttribute("aria-label",window.VditorI18n.imageURL),d.className="vditor-tooltipped vditor-tooltipped__n";var f=document.createElement("input");d.appendChild(f),f.className="vditor-input",f.setAttribute("placeholder",window.VditorI18n.imageURL),f.value=s.getAttribute("src")||"",f.oninput=function(){u()},f.onkeydown=function(B){Ot(a,B)};var E=document.createElement("span");E.setAttribute("aria-label",window.VditorI18n.alternateText),E.className="vditor-tooltipped vditor-tooltipped__n";var L=document.createElement("input");E.appendChild(L),L.className="vditor-input",L.setAttribute("placeholder",window.VditorI18n.alternateText),L.style.width="52px",L.value=s.getAttribute("alt")||"",L.oninput=function(){u()},L.onkeydown=function(B){Ot(a,B)};var D=document.createElement("span");D.setAttribute("aria-label",window.VditorI18n.title),D.className="vditor-tooltipped vditor-tooltipped__n";var _=document.createElement("input");D.appendChild(_),_.className="vditor-input",_.setAttribute("placeholder",window.VditorI18n.title),_.value=s.getAttribute("title")||"",_.oninput=function(){u()},_.onkeydown=function(B){Ot(a,B)},pn(s,a),a.wysiwyg.popover.insertAdjacentElement("beforeend",d),a.wysiwyg.popover.insertAdjacentElement("beforeend",E),a.wysiwyg.popover.insertAdjacentElement("beforeend",D),tn(a,"image"),en(a,s)},cn=function(i,a){if(!(0,m.yl)(i)&&!i.shiftKey&&i.key==="Enter"||i.key==="Escape")return a&&(0,q.Hc)(a),i.preventDefault(),i.stopPropagation(),!0},tn=function(i,a){i.options.customWysiwygToolbar(a,i.wysiwyg.popover)},dr=function(i){i.currentMode==="wysiwyg"?jn(i):i.currentMode==="ir"&&qe(i)},uo=function(i,a,s){s===void 0&&(s={enableAddUndoStack:!0,enableHint:!1,enableInput:!0});var u=i.wysiwyg.element;u.innerHTML=i.lute.Md2VditorDOM(a),u.querySelectorAll(".vditor-wysiwyg__preview[data-render='2']").forEach(function(d){tt(d,i),d.previousElementSibling.setAttribute("style","display:none")}),Re(i,s)},Yi=function(i,a,s){for(var u=i.startContainer.parentElement,d=!1,f="",E="",L=Mn(i),D=L.beforeHTML,_=L.afterHTML;u&&!d;){var B=u.tagName;if(B==="STRIKE"&&(B="S"),B==="I"&&(B="EM"),B==="B"&&(B="STRONG"),B==="S"||B==="STRONG"||B==="EM"){var K="",fe="",ve="";u.parentElement.getAttribute("data-block")!=="0"&&(fe=jt(u),ve=Ut(u)),(D||fe)&&(K="".concat(fe,"<").concat(B,">").concat(D,""),D=K),(s==="bold"&&B==="STRONG"||s==="italic"&&B==="EM"||s==="strikeThrough"&&B==="S")&&(K+="".concat(f).concat(c.g.ZWSP,"").concat(E),d=!0),(_||ve)&&(_="<".concat(B,">").concat(_,"").concat(ve),K+=_),u.parentElement.getAttribute("data-block")!=="0"?(u=u.parentElement,u.innerHTML=K):(u.outerHTML=K,u=u.parentElement),f="<".concat(B,">")+f,E="")+E}else d=!0}(0,q.ib)(a.wysiwyg.element,i)},bs=function(i,a,s){if(!(i.wysiwyg.composingLock&&s instanceof CustomEvent)){var u=!0,d=!0;i.wysiwyg.element.querySelector("wbr")&&i.wysiwyg.element.querySelector("wbr").remove();var f=(0,q.zh)(i),E=a.getAttribute("data-type");if(a.classList.contains("vditor-menu--current"))if(E==="strike"&&(E="strikeThrough"),E==="quote"){var L=(0,y.lG)(f.startContainer,"BLOCKQUOTE");L||(L=f.startContainer.childNodes[f.startOffset]),L&&(u=!1,a.classList.remove("vditor-menu--current"),f.insertNode(document.createElement("wbr")),L.outerHTML=L.innerHTML.trim()===""?'

    '.concat(L.innerHTML,"

    "):L.innerHTML,(0,q.ib)(i.wysiwyg.element,f))}else if(E==="inline-code"){var D=(0,y.lG)(f.startContainer,"CODE");D||(D=f.startContainer.childNodes[f.startOffset]),D&&(D.outerHTML=D.innerHTML.replace(c.g.ZWSP,"")+"",(0,q.ib)(i.wysiwyg.element,f))}else E==="link"?(f.collapsed&&f.selectNode(f.startContainer.parentElement),document.execCommand("unlink",!1,"")):E==="check"||E==="list"||E==="ordered-list"?(Ji(i,f,E),(0,q.ib)(i.wysiwyg.element,f),u=!1,a.classList.remove("vditor-menu--current")):(u=!1,a.classList.remove("vditor-menu--current"),f.toString()===""?Yi(f,i,E):document.execCommand(E,!1,""));else{i.wysiwyg.element.childNodes.length===0&&(i.wysiwyg.element.innerHTML='

    ',(0,q.ib)(i.wysiwyg.element,f));var _=(0,y.F9)(f.startContainer);if(E==="quote"){if(_||(_=f.startContainer.childNodes[f.startOffset]),_){u=!1,a.classList.add("vditor-menu--current"),f.insertNode(document.createElement("wbr"));var B=(0,y.lG)(f.startContainer,"LI");B&&_.contains(B)?B.innerHTML='
    '.concat(B.innerHTML,"
    "):_.outerHTML='
    '.concat(_.outerHTML,"
    "),(0,q.ib)(i.wysiwyg.element,f)}}else if(E==="check"||E==="list"||E==="ordered-list")Ji(i,f,E,!1),(0,q.ib)(i.wysiwyg.element,f),u=!1,x(i.toolbar.elements,["check","list","ordered-list"]),a.classList.add("vditor-menu--current");else if(E==="inline-code"){if(f.toString()===""){var K=document.createElement("code");K.textContent=c.g.ZWSP,f.insertNode(K),f.setStart(K.firstChild,1),f.collapse(!0),(0,q.Hc)(f)}else if(f.startContainer.nodeType===3){var K=document.createElement("code");f.surroundContents(K),f.insertNode(K),(0,q.Hc)(f)}a.classList.add("vditor-menu--current")}else if(E==="code"){var K=document.createElement("div");K.className="vditor-wysiwyg__block",K.setAttribute("data-type","code-block"),K.setAttribute("data-block","0"),K.setAttribute("data-marker","```"),f.toString()===""?K.innerHTML=`
    
    -
    `:(K.innerHTML="
    ".concat(f.toString(),"
    "),f.deleteContents()),f.insertNode(K),_&&(_.outerHTML=i.lute.SpinVditorDOM(_.outerHTML)),(0,q.ib)(i.wysiwyg.element,f),i.wysiwyg.element.querySelectorAll(".vditor-wysiwyg__preview[data-render='2']").forEach(function(bt){tt(bt,i)}),a.classList.add("vditor-menu--disabled")}else if(E==="link"){if(f.toString()===""){var fe=document.createElement("a");fe.innerText=c.g.ZWSP,f.insertNode(fe),f.setStart(fe.firstChild,1),f.collapse(!0),Ti(i,fe,f);var ve=i.wysiwyg.popover.querySelector("input");ve.value="",ve.focus(),d=!1}else{var K=document.createElement("a");K.setAttribute("href",""),K.innerHTML=f.toString(),f.surroundContents(K),f.insertNode(K),(0,q.Hc)(f),Ti(i,K,f);var ue=i.wysiwyg.popover.querySelectorAll("input");ue[0].value=K.innerText,ue[1].focus()}u=!1,a.classList.add("vditor-menu--current")}else if(E==="table"){var ke='
    col1col2col3
    ';if(f.toString().trim()==="")_&&_.innerHTML.trim().replace(c.g.ZWSP,"")===""?_.outerHTML=ke:document.execCommand("insertHTML",!1,ke),f.selectNode(i.wysiwyg.element.querySelector("wbr").previousSibling),i.wysiwyg.element.querySelector("wbr").remove(),(0,q.Hc)(f);else{ke='';var we=f.toString().split(` -`),de=we[0].split(",").length>we[0].split(" ").length?",":" ";we.forEach(function($e,bt){bt===0?($e.split(de).forEach(function(gt,kt){kt===0?ke+=""):ke+="")}),ke+=""):(bt===1?ke+="":ke+="",$e.split(de).forEach(function(gt){ke+="")}),ke+="")}),ke+="
    ".concat(gt,"".concat(gt,"
    ".concat(gt,"
    ",document.execCommand("insertHTML",!1,ke),(0,q.ib)(i.wysiwyg.element,f)}u=!1,a.classList.add("vditor-menu--disabled")}else if(E==="line"){if(_){var Ie=`

    -

    `;_.innerHTML.trim()===""?_.outerHTML=Ie:_.insertAdjacentHTML("afterend",Ie),(0,q.ib)(i.wysiwyg.element,f)}}else if(u=!1,a.classList.add("vditor-menu--current"),E==="strike"&&(E="strikeThrough"),f.toString()===""&&(E==="bold"||E==="italic"||E==="strikeThrough")){var Te="strong";E==="italic"?Te="em":E==="strikeThrough"&&(Te="s");var K=document.createElement(Te);K.textContent=c.g.ZWSP,f.insertNode(K),K.previousSibling&&K.previousSibling.textContent===c.g.ZWSP&&(K.previousSibling.textContent=""),f.setStart(K.firstChild,1),f.collapse(!0),(0,q.Hc)(f)}else document.execCommand(E,!1,"")}u&&jn(i),d&&Re(i)}},Mt=function(){function i(a,s){var u,d=this;this.element=document.createElement("div"),s.className&&(u=this.element.classList).add.apply(u,s.className.split(" "));var f=s.hotkey?" <".concat((0,m.ns)(s.hotkey),">"):"";s.level===2&&(f=s.hotkey?" <".concat((0,m.ns)(s.hotkey),">"):"");var E=s.tip?s.tip+f:"".concat(window.VditorI18n[s.name]).concat(f),L=s.name==="upload"?"div":"button";if(s.level===2)this.element.innerHTML="<".concat(L,' data-type="').concat(s.name,'">').concat(E,"");else{this.element.classList.add("vditor-toolbar__item");var D=document.createElement(L);D.setAttribute("data-type",s.name),D.className="vditor-tooltipped vditor-tooltipped__".concat(s.tipPosition),D.setAttribute("aria-label",E),D.innerHTML=s.icon,this.element.appendChild(D)}s.prefix&&this.element.children[0].addEventListener((0,m.Le)(),function(_){_.preventDefault(),!d.element.firstElementChild.classList.contains(c.g.CLASS_MENU_DISABLED)&&(a.currentMode==="wysiwyg"?bs(a,d.element.children[0],_):a.currentMode==="ir"?vu(a,d.element.children[0],s.prefix||"",s.suffix||""):Gt(a,d.element.children[0],s.prefix||"",s.suffix||""))})}return i}(),ys=function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(u[f]=d[f])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}(),er=function(i,a,s){var u;if(typeof s!="string"?(A(i,["subToolbar","hint"]),s.preventDefault(),u=v(i)):u=s,!(i.currentMode===a&&typeof s!="string")){if(i.devtools&&i.devtools.renderEchart(i),i.options.preview.mode==="both"&&a==="sv"?i.preview.element.style.display="block":i.preview.element.style.display="none",S(i.toolbar.elements,c.g.EDIT_TOOLBARS),x(i.toolbar.elements,c.g.EDIT_TOOLBARS),k(i.toolbar.elements,["outdent","indent"]),a==="ir")C(i.toolbar.elements,["both"]),T(i.toolbar.elements,["outdent","indent","outline","insert-before","insert-after"]),i.sv.element.style.display="none",i.wysiwyg.element.parentElement.style.display="none",i.ir.element.parentElement.style.display="block",i.lute.SetVditorIR(!0),i.lute.SetVditorWYSIWYG(!1),i.lute.SetVditorSV(!1),i.currentMode="ir",i.ir.element.innerHTML=i.lute.Md2VditorIRDOM(u),Xn(i,{enableAddUndoStack:!0,enableHint:!1,enableInput:!1}),ze(i),i.ir.element.querySelectorAll(".vditor-ir__preview[data-render='2']").forEach(function(f){tt(f,i)}),i.ir.element.querySelectorAll(".vditor-toc").forEach(function(f){(0,Fe.H)(f,{cdn:i.options.cdn,math:i.options.preview.math})});else if(a==="wysiwyg")C(i.toolbar.elements,["both"]),T(i.toolbar.elements,["outdent","indent","outline","insert-before","insert-after"]),i.sv.element.style.display="none",i.wysiwyg.element.parentElement.style.display="block",i.ir.element.parentElement.style.display="none",i.lute.SetVditorIR(!1),i.lute.SetVditorWYSIWYG(!0),i.lute.SetVditorSV(!1),i.currentMode="wysiwyg",ze(i),uo(i,u,{enableAddUndoStack:!0,enableHint:!1,enableInput:!1}),i.wysiwyg.element.querySelectorAll(".vditor-toc").forEach(function(f){(0,Fe.H)(f,{cdn:i.options.cdn,math:i.options.preview.math})}),i.wysiwyg.popover.style.display="none";else if(a==="sv"){T(i.toolbar.elements,["both"]),C(i.toolbar.elements,["outdent","indent","outline","insert-before","insert-after"]),i.wysiwyg.element.parentElement.style.display="none",i.ir.element.parentElement.style.display="none",(i.options.preview.mode==="both"||i.options.preview.mode==="editor")&&(i.sv.element.style.display="block"),i.lute.SetVditorIR(!1),i.lute.SetVditorWYSIWYG(!1),i.lute.SetVditorSV(!0),i.currentMode="sv";var d=Oe(u,i);d==="
    "&&(d=""),i.sv.element.innerHTML=d,G(i.sv.element),Ge(i,{enableAddUndoStack:!0,enableHint:!1,enableInput:!1}),ze(i)}i.undo.resetIcon(i),typeof s!="string"&&(i[i.currentMode].element.focus(),dr(i)),Ht(i),Xe(i),i.toolbar.elements["edit-mode"]&&(i.toolbar.elements["edit-mode"].querySelectorAll("button").forEach(function(f){f.classList.remove("vditor-menu--current")}),i.toolbar.elements["edit-mode"].querySelector('button[data-mode="'.concat(i.currentMode,'"]')).classList.add("vditor-menu--current")),i.outline.toggle(i,i.currentMode!=="sv"&&i.options.outline.enable,typeof s!="string")}},ws=function(i){ys(a,i);function a(s,u){var d=i.call(this,s,u)||this,f=document.createElement("div");return f.className="vditor-hint".concat(u.level===2?"":" vditor-panel--arrow"),f.innerHTML=' +`)),s.collapse(!1),(0,j.Hc)(s),Oe(i),X(i),a.preventDefault(),!0;if(a.key==="Backspace"&&!(0,m.yl)(a)&&!a.shiftKey&&!a.altKey&&s.toString()===""){if(Bs(i,s,a,f))return!0;if(d){if(d.previousElementSibling&&d.previousElementSibling.classList.contains("vditor-wysiwyg__block")&&d.previousElementSibling.getAttribute("data-block")==="0"&&d.tagName!=="UL"&&d.tagName!=="OL"){var Pe=(0,j.im)(d,i.wysiwyg.element,s).start;if(Pe===0&&s.startOffset===0||Pe===1&&d.innerText.startsWith(c.g.ZWSP))return tr(d.previousElementSibling.lastElementChild,i,!1),d.innerHTML.trim().replace(c.g.ZWSP,"")===""&&(d.remove(),Oe(i)),a.preventDefault(),!0}var Te=s.startOffset;if(s.toString()===""&&u.nodeType===3&&u.textContent.charAt(Te-2)===` +`&&u.textContent.charAt(Te-1)!==c.g.ZWSP&&["STRONG","STRIKE","S","I","EM","B"].includes(u.parentElement.tagName))return u.textContent=u.textContent.substring(0,Te-1)+c.g.ZWSP,s.setStart(u,Te),s.collapse(!0),Oe(i),a.preventDefault(),!0;u.textContent===c.g.ZWSP&&s.startOffset===1&&!u.previousSibling&&Ct(s)&&(u.textContent=""),d.querySelectorAll("span.vditor-wysiwyg__block[data-type='math-inline']").forEach(function(bt){bt.firstElementChild.style.display="inline",bt.lastElementChild.style.display="none"}),d.querySelectorAll("span.vditor-wysiwyg__block[data-type='html-entity']").forEach(function(bt){bt.firstElementChild.style.display="inline",bt.lastElementChild.style.display="none"})}}if((0,m.vU)()&&s.startOffset===1&&u.textContent.indexOf(c.g.ZWSP)>-1&&u.previousSibling&&u.previousSibling.nodeType!==3&&u.previousSibling.tagName==="CODE"&&(a.key==="Backspace"||a.key==="ArrowLeft"))return s.selectNodeContents(u.previousSibling),s.collapse(!1),a.preventDefault(),!0;if(qs(a,d,s))return a.preventDefault(),!0;if(As(s,a.key),a.key==="ArrowDown"){var $e=u.nextSibling;$e&&$e.nodeType!==3&&$e.getAttribute("data-type")==="math-inline"&&s.setStartAfter($e)}return d&&Ut(d,i,a,s)?(a.preventDefault(),!0):!1},Rt=function(i,a){if(oe("⇧⌘X",a)){var s=i.wysiwyg.popover.querySelector('[data-type="remove"]');return s&&s.click(),a.preventDefault(),!0}},Pn=function(i){clearTimeout(i.wysiwyg.hlToolbarTimeoutId),i.wysiwyg.hlToolbarTimeoutId=window.setTimeout(function(){if(i.wysiwyg.element.getAttribute("contenteditable")!=="false"&&(0,j.Gb)(i.wysiwyg.element)){x(i.toolbar.elements,c.g.EDIT_TOOLBARS),S(i.toolbar.elements,c.g.EDIT_TOOLBARS);var a=getSelection().getRangeAt(0),s=a.startContainer;a.startContainer.nodeType===3?s=a.startContainer.parentElement:s=s.childNodes[a.startOffset>=s.childNodes.length?s.childNodes.length-1:a.startOffset];var u=(0,y.a1)(s,"data-type","footnotes-block");if(u){i.wysiwyg.popover.innerHTML="",cn(u,i),Gt(i,"footnotes-block"),tn(i,u);return}var d=(0,y.lG)(s,"LI");d?(d.classList.contains("vditor-task")?w(i.toolbar.elements,["check"]):d.parentElement.tagName==="OL"?w(i.toolbar.elements,["ordered-list"]):d.parentElement.tagName==="UL"&&w(i.toolbar.elements,["list"]),S(i.toolbar.elements,["outdent","indent"])):k(i.toolbar.elements,["outdent","indent"]),(0,y.lG)(s,"BLOCKQUOTE")&&w(i.toolbar.elements,["quote"]),((0,y.lG)(s,"B")||(0,y.lG)(s,"STRONG"))&&w(i.toolbar.elements,["bold"]),((0,y.lG)(s,"I")||(0,y.lG)(s,"EM"))&&w(i.toolbar.elements,["italic"]),((0,y.lG)(s,"STRIKE")||(0,y.lG)(s,"S"))&&w(i.toolbar.elements,["strike"]),i.wysiwyg.element.querySelectorAll(".vditor-comment--focus").forEach(function(Le){Le.classList.remove("vditor-comment--focus")});var f=(0,y.fb)(s,"vditor-comment");if(f){var E=f.getAttribute("data-cmtids").split(" ");if(E.length>1&&f.nextSibling.isSameNode(f.nextElementSibling)){var L=f.nextElementSibling.getAttribute("data-cmtids").split(" ");E.find(function(Le){if(L.includes(Le))return E=[Le],!0})}i.wysiwyg.element.querySelectorAll(".vditor-comment").forEach(function(Le){Le.getAttribute("data-cmtids").indexOf(E[0])>-1&&Le.classList.add("vditor-comment--focus")})}var D=(0,y.lG)(s,"A");D&&w(i.toolbar.elements,["link"]);var _=(0,y.lG)(s,"TABLE"),B=(0,N.W)(s);(0,y.lG)(s,"CODE")?(0,y.lG)(s,"PRE")?(k(i.toolbar.elements,["headings","bold","italic","strike","line","quote","list","ordered-list","check","code","inline-code","upload","link","table","record"]),w(i.toolbar.elements,["code"])):(k(i.toolbar.elements,["headings","bold","italic","strike","line","quote","list","ordered-list","check","code","upload","link","table","record"]),w(i.toolbar.elements,["inline-code"])):B?(k(i.toolbar.elements,["bold"]),w(i.toolbar.elements,["headings"])):_&&k(i.toolbar.elements,["table"]);var K=(0,y.fb)(s,"vditor-toc");if(K){i.wysiwyg.popover.innerHTML="",cn(K,i),Gt(i,"vditor-toc"),tn(i,K);return}var fe=(0,N.S)(s,"BLOCKQUOTE");if(fe&&(i.wysiwyg.popover.innerHTML="",fr(a,fe,i),lr(a,fe,i),cn(fe,i),Gt(i,"blockquote"),tn(i,fe)),d&&(i.wysiwyg.popover.innerHTML="",fr(a,d,i),lr(a,d,i),cn(d,i),Gt(i,"li"),tn(i,d)),_){i.options.lang,i.options,i.wysiwyg.popover.innerHTML="";var be=function(){var Le=_.rows.length,ct=_.rows[0].cells.length,ir=parseInt(zt.value,10)||Le,ar=parseInt(pn.value,10)||ct;if(!(ir===Le&&ct===ar)){if(ct!==ar)for(var vi=ar-ct,zn=0;zn<_.rows.length;zn++)if(vi>0)for(var Ys=0;Ys "):_.rows[zn].lastElementChild.insertAdjacentHTML("afterend"," ");else for(var wo=ct-1;wo>=ar;wo--)_.rows[zn].cells[wo].remove();if(Le!==ir){var Js=ir-Le;if(Js>0){for(var xo="",Fr=0;Fr ";for(var Qs=0;Qs")}else for(var Fr=Le-1;Fr>=ir;Fr--)_.rows[Fr].remove(),_.rows.length===1&&_.querySelector("tbody").remove()}typeof i.options.input=="function"&&i.options.input(v(i))}},ce=function(Le){ea(_,Le),Le==="right"?(Pe.classList.remove("vditor-icon--current"),Te.classList.remove("vditor-icon--current"),$e.classList.add("vditor-icon--current")):Le==="center"?(Pe.classList.remove("vditor-icon--current"),$e.classList.remove("vditor-icon--current"),Te.classList.add("vditor-icon--current")):(Te.classList.remove("vditor-icon--current"),$e.classList.remove("vditor-icon--current"),Pe.classList.add("vditor-icon--current")),(0,j.Hc)(a),Oe(i)},ke=(0,y.lG)(s,"TD"),xe=(0,y.lG)(s,"TH"),ue="left";ke?ue=ke.getAttribute("align")||"left":xe&&(ue=xe.getAttribute("align")||"center");var Pe=document.createElement("button");Pe.setAttribute("type","button"),Pe.setAttribute("aria-label",window.VditorI18n.alignLeft+"<"+(0,m.ns)("⇧⌘L")+">"),Pe.setAttribute("data-type","left"),Pe.innerHTML='',Pe.className="vditor-icon vditor-tooltipped vditor-tooltipped__n"+(ue==="left"?" vditor-icon--current":""),Pe.onclick=function(){ce("left")};var Te=document.createElement("button");Te.setAttribute("type","button"),Te.setAttribute("aria-label",window.VditorI18n.alignCenter+"<"+(0,m.ns)("⇧⌘C")+">"),Te.setAttribute("data-type","center"),Te.innerHTML='',Te.className="vditor-icon vditor-tooltipped vditor-tooltipped__n"+(ue==="center"?" vditor-icon--current":""),Te.onclick=function(){ce("center")};var $e=document.createElement("button");$e.setAttribute("type","button"),$e.setAttribute("aria-label",window.VditorI18n.alignRight+"<"+(0,m.ns)("⇧⌘R")+">"),$e.setAttribute("data-type","right"),$e.innerHTML='',$e.className="vditor-icon vditor-tooltipped vditor-tooltipped__n"+(ue==="right"?" vditor-icon--current":""),$e.onclick=function(){ce("right")};var bt=document.createElement("button");bt.setAttribute("type","button"),bt.setAttribute("aria-label",window.VditorI18n.insertRowBelow+"<"+(0,m.ns)("⌘=")+">"),bt.setAttribute("data-type","insertRow"),bt.innerHTML='',bt.className="vditor-icon vditor-tooltipped vditor-tooltipped__n",bt.onclick=function(){var Le=getSelection().getRangeAt(0).startContainer,ct=(0,y.lG)(Le,"TD")||(0,y.lG)(Le,"TH");ct&&Ns(i,a,ct)};var gt=document.createElement("button");gt.setAttribute("type","button"),gt.setAttribute("aria-label",window.VditorI18n.insertRowAbove+"<"+(0,m.ns)("⇧⌘F")+">"),gt.setAttribute("data-type","insertRow"),gt.innerHTML='',gt.className="vditor-icon vditor-tooltipped vditor-tooltipped__n",gt.onclick=function(){var Le=getSelection().getRangeAt(0).startContainer,ct=(0,y.lG)(Le,"TD")||(0,y.lG)(Le,"TH");ct&&Ds(i,a,ct)};var kt=document.createElement("button");kt.setAttribute("type","button"),kt.setAttribute("aria-label",window.VditorI18n.insertColumnRight+"<"+(0,m.ns)("⇧⌘=")+">"),kt.setAttribute("data-type","insertColumn"),kt.innerHTML='',kt.className="vditor-icon vditor-tooltipped vditor-tooltipped__n",kt.onclick=function(){var Le=getSelection().getRangeAt(0).startContainer,ct=(0,y.lG)(Le,"TD")||(0,y.lG)(Le,"TH");ct&&ta(i,_,ct)};var dn=document.createElement("button");dn.setAttribute("type","button"),dn.setAttribute("aria-label",window.VditorI18n.insertColumnLeft+"<"+(0,m.ns)("⇧⌘G")+">"),dn.setAttribute("data-type","insertColumn"),dn.innerHTML='',dn.className="vditor-icon vditor-tooltipped vditor-tooltipped__n",dn.onclick=function(){var Le=getSelection().getRangeAt(0).startContainer,ct=(0,y.lG)(Le,"TD")||(0,y.lG)(Le,"TH");ct&&ta(i,_,ct,"beforebegin")};var Kt=document.createElement("button");Kt.setAttribute("type","button"),Kt.setAttribute("aria-label",window.VditorI18n["delete-row"]+"<"+(0,m.ns)("⌘-")+">"),Kt.setAttribute("data-type","deleteRow"),Kt.innerHTML='',Kt.className="vditor-icon vditor-tooltipped vditor-tooltipped__n",Kt.onclick=function(){var Le=getSelection().getRangeAt(0).startContainer,ct=(0,y.lG)(Le,"TD")||(0,y.lG)(Le,"TH");ct&&Rs(i,a,ct)};var hn=document.createElement("button");hn.setAttribute("type","button"),hn.setAttribute("aria-label",window.VditorI18n["delete-column"]+"<"+(0,m.ns)("⇧⌘-")+">"),hn.setAttribute("data-type","deleteColumn"),hn.innerHTML='',hn.className="vditor-icon vditor-tooltipped vditor-tooltipped__n",hn.onclick=function(){var Le=getSelection().getRangeAt(0).startContainer,ct=(0,y.lG)(Le,"TD")||(0,y.lG)(Le,"TH");ct&&Is(i,a,_,ct)};var rt=document.createElement("span");rt.setAttribute("aria-label",window.VditorI18n.row),rt.className="vditor-tooltipped vditor-tooltipped__n";var zt=document.createElement("input");rt.appendChild(zt),zt.type="number",zt.min="1",zt.className="vditor-input",zt.style.width="42px",zt.style.textAlign="center",zt.setAttribute("placeholder",window.VditorI18n.row),zt.value=_.rows.length.toString(),zt.oninput=function(){be()},zt.onkeydown=function(Le){if(!Le.isComposing){if(Le.key==="Tab"){pn.focus(),pn.select(),Le.preventDefault();return}Rt(i,Le)||un(Le,a)}};var ia=document.createElement("span");ia.setAttribute("aria-label",window.VditorI18n.column),ia.className="vditor-tooltipped vditor-tooltipped__n";var pn=document.createElement("input");ia.appendChild(pn),pn.type="number",pn.min="1",pn.className="vditor-input",pn.style.width="42px",pn.style.textAlign="center",pn.setAttribute("placeholder",window.VditorI18n.column),pn.value=_.rows[0].cells.length.toString(),pn.oninput=function(){be()},pn.onkeydown=function(Le){if(!Le.isComposing){if(Le.key==="Tab"){zt.focus(),zt.select(),Le.preventDefault();return}Rt(i,Le)||un(Le,a)}},fr(a,_,i),lr(a,_,i),cn(_,i),i.wysiwyg.popover.insertAdjacentElement("beforeend",Pe),i.wysiwyg.popover.insertAdjacentElement("beforeend",Te),i.wysiwyg.popover.insertAdjacentElement("beforeend",$e),i.wysiwyg.popover.insertAdjacentElement("beforeend",gt),i.wysiwyg.popover.insertAdjacentElement("beforeend",bt),i.wysiwyg.popover.insertAdjacentElement("beforeend",dn),i.wysiwyg.popover.insertAdjacentElement("beforeend",kt),i.wysiwyg.popover.insertAdjacentElement("beforeend",Kt),i.wysiwyg.popover.insertAdjacentElement("beforeend",hn),i.wysiwyg.popover.insertAdjacentElement("beforeend",rt),i.wysiwyg.popover.insertAdjacentHTML("beforeend"," x "),i.wysiwyg.popover.insertAdjacentElement("beforeend",ia),Gt(i,"table"),tn(i,_)}var yo=(0,y.a1)(s,"data-type","link-ref");yo&&ho(i,yo,a);var zr=(0,y.a1)(s,"data-type","footnotes-ref");if(zr){i.options.lang,i.options,i.wysiwyg.popover.innerHTML="";var rt=document.createElement("span");rt.setAttribute("aria-label",window.VditorI18n.footnoteRef+"<"+(0,m.ns)("⌥Enter")+">"),rt.className="vditor-tooltipped vditor-tooltipped__n";var Xn=document.createElement("input");rt.appendChild(Xn),Xn.className="vditor-input",Xn.setAttribute("placeholder",window.VditorI18n.footnoteRef+"<"+(0,m.ns)("⌥Enter")+">"),Xn.style.width="120px",Xn.value=zr.getAttribute("data-footnotes-label"),Xn.oninput=function(){Xn.value.trim()!==""&&zr.setAttribute("data-footnotes-label",Xn.value),typeof i.options.input=="function"&&i.options.input(v(i))},Xn.onkeydown=function(ct){ct.isComposing||Rt(i,ct)||un(ct,a)},cn(zr,i),i.wysiwyg.popover.insertAdjacentElement("beforeend",rt),Gt(i,"footnotes-ref"),tn(i,zr)}var Wt=(0,y.fb)(s,"vditor-wysiwyg__block"),Xs=Wt?Wt.getAttribute("data-type").indexOf("block")>-1:!1;if(i.wysiwyg.element.querySelectorAll(".vditor-wysiwyg__preview").forEach(function(Le){if(!Wt||Wt&&Xs&&!Wt.contains(Le)){var ct=Le.previousElementSibling;ct.style.display="none"}}),Wt&&Xs){if(i.wysiwyg.popover.innerHTML="",fr(a,Wt,i),lr(a,Wt,i),cn(Wt,i),Wt.getAttribute("data-type")==="code-block"){var aa=document.createElement("span");aa.setAttribute("aria-label",window.VditorI18n.language+"<"+(0,m.ns)("⌥Enter")+">"),aa.className="vditor-tooltipped vditor-tooltipped__n";var Cn=document.createElement("input");aa.appendChild(Cn);var gi=Wt.firstElementChild.firstElementChild;Cn.className="vditor-input",Cn.setAttribute("placeholder",window.VditorI18n.language+"<"+(0,m.ns)("⌥Enter")+">"),Cn.value=gi.className.indexOf("language-")>-1?gi.className.split("-")[1].split(" ")[0]:"",Cn.oninput=function(Le){Cn.value.trim()!==""?gi.className="language-".concat(Cn.value):(gi.className="",i.hint.recentLanguage=""),Wt.lastElementChild.classList.contains("vditor-wysiwyg__preview")&&(Wt.lastElementChild.innerHTML=Wt.firstElementChild.innerHTML,Qe(Wt.lastElementChild,i)),Oe(i),Le.detail===1&&(a.setStart(gi.firstChild,0),a.collapse(!0),(0,j.Hc)(a))},Cn.onkeydown=function(Le){if(!Le.isComposing&&!Rt(i,Le)){if(Le.key==="Escape"&&i.hint.element.style.display==="block"){i.hint.element.style.display="none",Le.preventDefault();return}i.hint.select(Le,i),un(Le,a)}},Cn.onkeyup=function(Le){var ct,ir;if(!(Le.isComposing||Le.key==="Enter"||Le.key==="ArrowUp"||Le.key==="Escape"||Le.key==="ArrowDown")){var ar=[],vi=Cn.value.substring(0,Cn.selectionStart);(i.options.preview.hljs.langs||c.g.ALIAS_CODE_LANGUAGES.concat(((ir=(ct=window.hljs)===null||ct===void 0?void 0:ct.listLanguages())!==null&&ir!==void 0?ir:[]).sort())).forEach(function(zn){zn.indexOf(vi.toLowerCase())>-1&&ar.push({html:zn,value:zn})}),i.hint.genHTML(ar,vi,i),Le.preventDefault()}},i.wysiwyg.popover.insertAdjacentElement("beforeend",aa),Gt(i,"code-block")}else Gt(i,"block");tn(i,Wt)}else Wt=void 0;if(B){i.wysiwyg.popover.innerHTML="";var rt=document.createElement("span");rt.setAttribute("aria-label","ID<"+(0,m.ns)("⌥Enter")+">"),rt.className="vditor-tooltipped vditor-tooltipped__n";var rr=document.createElement("input");rt.appendChild(rr),rr.className="vditor-input",rr.setAttribute("placeholder","ID<"+(0,m.ns)("⌥Enter")+">"),rr.style.width="120px",rr.value=B.getAttribute("data-id")||"",rr.oninput=function(){B.setAttribute("data-id",rr.value),typeof i.options.input=="function"&&i.options.input(v(i))},rr.onkeydown=function(ct){ct.isComposing||Rt(i,ct)||un(ct,a)},fr(a,B,i),lr(a,B,i),cn(B,i),i.wysiwyg.popover.insertAdjacentElement("beforeend",rt),Gt(i,"heading"),tn(i,B)}if(D&&Ki(i,D,a),!fe&&!d&&!_&&!Wt&&!D&&!yo&&!zr&&!B&&!K){var Br=(0,y.a1)(s,"data-block","0");Br&&Br.parentElement.isEqualNode(i.wysiwyg.element)?(i.wysiwyg.popover.innerHTML="",fr(a,Br,i),lr(a,Br,i),cn(Br,i),Gt(i,"block"),tn(i,Br)):i.wysiwyg.popover.style.display="none"}i.wysiwyg.element.querySelectorAll('span[data-type="backslash"] > span').forEach(function(Le){Le.style.display="none"});var Zs=(0,y.a1)(a.startContainer,"data-type","backslash");Zs&&(Zs.querySelector("span").style.display="inline")}},200)},tn=function(i,a){var s=a,u=(0,y.lG)(a,"TABLE");u&&(s=u),i.wysiwyg.popover.style.left="0",i.wysiwyg.popover.style.display="block",i.wysiwyg.popover.style.top=Math.max(-8,s.offsetTop-21-i.wysiwyg.element.scrollTop)+"px",i.wysiwyg.popover.style.left=Math.min(s.offsetLeft,i.wysiwyg.element.clientWidth-i.wysiwyg.popover.clientWidth)+"px",i.wysiwyg.popover.setAttribute("data-top",(s.offsetTop-21).toString())},ho=function(i,a,s){s===void 0&&(s=getSelection().getRangeAt(0)),i.wysiwyg.popover.innerHTML="";var u=function(){f.value.trim()!==""&&(a.tagName==="IMG"?a.setAttribute("alt",f.value):a.textContent=f.value),L.value.trim()!==""&&a.setAttribute("data-link-label",L.value),typeof i.options.input=="function"&&i.options.input(v(i))},d=document.createElement("span");d.setAttribute("aria-label",window.VditorI18n.textIsNotEmpty),d.className="vditor-tooltipped vditor-tooltipped__n";var f=document.createElement("input");d.appendChild(f),f.className="vditor-input",f.setAttribute("placeholder",window.VditorI18n.textIsNotEmpty),f.style.width="120px",f.value=a.getAttribute("alt")||a.textContent,f.oninput=function(){u()},f.onkeydown=function(D){Rt(i,D)||un(D,s)||Ir(i,a,D,L)};var E=document.createElement("span");E.setAttribute("aria-label",window.VditorI18n.linkRef),E.className="vditor-tooltipped vditor-tooltipped__n";var L=document.createElement("input");E.appendChild(L),L.className="vditor-input",L.setAttribute("placeholder",window.VditorI18n.linkRef),L.value=a.getAttribute("data-link-label"),L.oninput=function(){u()},L.onkeydown=function(D){Rt(i,D)||un(D,s)||Ir(i,a,D,f)},cn(a,i),i.wysiwyg.popover.insertAdjacentElement("beforeend",d),i.wysiwyg.popover.insertAdjacentElement("beforeend",E),Gt(i,"link-ref"),tn(i,a)},fr=function(i,a,s){var u=a.previousElementSibling;if(!(!u||!a.parentElement.isEqualNode(s.wysiwyg.element)&&a.tagName!=="LI")){var d=document.createElement("button");d.setAttribute("type","button"),d.setAttribute("data-type","up"),d.setAttribute("aria-label",window.VditorI18n.up+"<"+(0,m.ns)("⇧⌘U")+">"),d.innerHTML='',d.className="vditor-icon vditor-tooltipped vditor-tooltipped__n",d.onclick=function(){i.insertNode(document.createElement("wbr")),u.insertAdjacentElement("beforebegin",a),(0,j.ib)(s.wysiwyg.element,i),Oe(s),Pn(s),X(s)},s.wysiwyg.popover.insertAdjacentElement("beforeend",d)}},lr=function(i,a,s){var u=a.nextElementSibling;if(!(!u||!a.parentElement.isEqualNode(s.wysiwyg.element)&&a.tagName!=="LI")){var d=document.createElement("button");d.setAttribute("type","button"),d.setAttribute("data-type","down"),d.setAttribute("aria-label",window.VditorI18n.down+"<"+(0,m.ns)("⇧⌘D")+">"),d.innerHTML='',d.className="vditor-icon vditor-tooltipped vditor-tooltipped__n",d.onclick=function(){i.insertNode(document.createElement("wbr")),u.insertAdjacentElement("afterend",a),(0,j.ib)(s.wysiwyg.element,i),Oe(s),Pn(s),X(s)},s.wysiwyg.popover.insertAdjacentElement("beforeend",d)}},cn=function(i,a){var s=document.createElement("button");s.setAttribute("type","button"),s.setAttribute("data-type","remove"),s.setAttribute("aria-label",window.VditorI18n.remove+"<"+(0,m.ns)("⇧⌘X")+">"),s.innerHTML='',s.className="vditor-icon vditor-tooltipped vditor-tooltipped__n",s.onclick=function(){var u=(0,j.zh)(a);u.setStartAfter(i),(0,j.Hc)(u),i.remove(),Oe(a),Pn(a),["H1","H2","H3","H4","H5","H6"].includes(i.tagName)&&Ht(a)},a.wysiwyg.popover.insertAdjacentElement("beforeend",s)},Ir=function(i,a,s,u){if(!s.isComposing){if(s.key==="Tab"){u.focus(),u.select(),s.preventDefault();return}if(!(0,m.yl)(s)&&!s.shiftKey&&s.altKey&&s.key==="Enter"){var d=(0,j.zh)(i);a.insertAdjacentHTML("afterend",c.g.ZWSP),d.setStartAfter(a.nextSibling),d.collapse(!0),(0,j.Hc)(d),s.preventDefault()}}},Ki=function(i,a,s){i.wysiwyg.popover.innerHTML="";var u=function(){f.value.trim()!==""&&(a.innerHTML=f.value),a.setAttribute("href",L.value),a.setAttribute("title",_.value),Oe(i)};a.querySelectorAll("[data-marker]").forEach(function(B){B.removeAttribute("data-marker")});var d=document.createElement("span");d.setAttribute("aria-label",window.VditorI18n.textIsNotEmpty),d.className="vditor-tooltipped vditor-tooltipped__n";var f=document.createElement("input");d.appendChild(f),f.className="vditor-input",f.setAttribute("placeholder",window.VditorI18n.textIsNotEmpty),f.style.width="120px",f.value=a.innerHTML||"",f.oninput=function(){u()},f.onkeydown=function(B){Rt(i,B)||un(B,s)||Ir(i,a,B,L)};var E=document.createElement("span");E.setAttribute("aria-label",window.VditorI18n.link),E.className="vditor-tooltipped vditor-tooltipped__n";var L=document.createElement("input");E.appendChild(L),L.className="vditor-input",L.setAttribute("placeholder",window.VditorI18n.link),L.value=a.getAttribute("href")||"",L.oninput=function(){u()},L.onkeydown=function(B){Rt(i,B)||un(B,s)||Ir(i,a,B,_)};var D=document.createElement("span");D.setAttribute("aria-label",window.VditorI18n.tooltipText),D.className="vditor-tooltipped vditor-tooltipped__n";var _=document.createElement("input");D.appendChild(_),_.className="vditor-input",_.setAttribute("placeholder",window.VditorI18n.tooltipText),_.style.width="60px",_.value=a.getAttribute("title")||"",_.oninput=function(){u()},_.onkeydown=function(B){Rt(i,B)||un(B,s)||Ir(i,a,B,f)},cn(a,i),i.wysiwyg.popover.insertAdjacentElement("beforeend",d),i.wysiwyg.popover.insertAdjacentElement("beforeend",E),i.wysiwyg.popover.insertAdjacentElement("beforeend",D),Gt(i,"a"),tn(i,a)},Uo=function(i,a){var s=i.target;a.wysiwyg.popover.innerHTML="";var u=function(){s.setAttribute("src",f.value),s.setAttribute("alt",L.value),s.setAttribute("title",_.value),typeof a.options.input=="function"&&a.options.input(v(a))},d=document.createElement("span");d.setAttribute("aria-label",window.VditorI18n.imageURL),d.className="vditor-tooltipped vditor-tooltipped__n";var f=document.createElement("input");d.appendChild(f),f.className="vditor-input",f.setAttribute("placeholder",window.VditorI18n.imageURL),f.value=s.getAttribute("src")||"",f.oninput=function(){u()},f.onkeydown=function(B){Rt(a,B)};var E=document.createElement("span");E.setAttribute("aria-label",window.VditorI18n.alternateText),E.className="vditor-tooltipped vditor-tooltipped__n";var L=document.createElement("input");E.appendChild(L),L.className="vditor-input",L.setAttribute("placeholder",window.VditorI18n.alternateText),L.style.width="52px",L.value=s.getAttribute("alt")||"",L.oninput=function(){u()},L.onkeydown=function(B){Rt(a,B)};var D=document.createElement("span");D.setAttribute("aria-label",window.VditorI18n.title),D.className="vditor-tooltipped vditor-tooltipped__n";var _=document.createElement("input");D.appendChild(_),_.className="vditor-input",_.setAttribute("placeholder",window.VditorI18n.title),_.value=s.getAttribute("title")||"",_.oninput=function(){u()},_.onkeydown=function(B){Rt(a,B)},cn(s,a),a.wysiwyg.popover.insertAdjacentElement("beforeend",d),a.wysiwyg.popover.insertAdjacentElement("beforeend",E),a.wysiwyg.popover.insertAdjacentElement("beforeend",D),Gt(a,"image"),tn(a,s)},un=function(i,a){if(!(0,m.yl)(i)&&!i.shiftKey&&i.key==="Enter"||i.key==="Escape")return a&&(0,j.Hc)(a),i.preventDefault(),i.stopPropagation(),!0},Gt=function(i,a){i.options.customWysiwygToolbar(a,i.wysiwyg.popover)},cr=function(i){i.currentMode==="wysiwyg"?Pn(i):i.currentMode==="ir"&&Ue(i)},Oa=function(i,a,s){s===void 0&&(s={enableAddUndoStack:!0,enableHint:!1,enableInput:!0});var u=i.wysiwyg.element;u.innerHTML=i.lute.Md2VditorDOM(a),u.querySelectorAll(".vditor-wysiwyg__preview[data-render='2']").forEach(function(d){Qe(d,i),d.previousElementSibling.setAttribute("style","display:none")}),Oe(i,s)},Xi=function(i,a,s){for(var u=i.startContainer.parentElement,d=!1,f="",E="",L=Mn(i),D=L.beforeHTML,_=L.afterHTML;u&&!d;){var B=u.tagName;if(B==="STRIKE"&&(B="S"),B==="I"&&(B="EM"),B==="B"&&(B="STRONG"),B==="S"||B==="STRONG"||B==="EM"){var K="",fe="",be="";u.parentElement.getAttribute("data-block")!=="0"&&(fe=jt(u),be=Vt(u)),(D||fe)&&(K="".concat(fe,"<").concat(B,">").concat(D,""),D=K),(s==="bold"&&B==="STRONG"||s==="italic"&&B==="EM"||s==="strikeThrough"&&B==="S")&&(K+="".concat(f).concat(c.g.ZWSP,"").concat(E),d=!0),(_||be)&&(_="<".concat(B,">").concat(_,"").concat(be),K+=_),u.parentElement.getAttribute("data-block")!=="0"?(u=u.parentElement,u.innerHTML=K):(u.outerHTML=K,u=u.parentElement),f="<".concat(B,">")+f,E="")+E}else d=!0}(0,j.ib)(a.wysiwyg.element,i)},Zi=function(i,a,s){if(!(i.wysiwyg.composingLock&&s instanceof CustomEvent)){var u=!0,d=!0;i.wysiwyg.element.querySelector("wbr")&&i.wysiwyg.element.querySelector("wbr").remove();var f=(0,j.zh)(i),E=a.getAttribute("data-type");if(a.classList.contains("vditor-menu--current"))if(E==="strike"&&(E="strikeThrough"),E==="quote"){var L=(0,y.lG)(f.startContainer,"BLOCKQUOTE");L||(L=f.startContainer.childNodes[f.startOffset]),L&&(u=!1,a.classList.remove("vditor-menu--current"),f.insertNode(document.createElement("wbr")),L.outerHTML=L.innerHTML.trim()===""?'

    '.concat(L.innerHTML,"

    "):L.innerHTML,(0,j.ib)(i.wysiwyg.element,f))}else if(E==="inline-code"){var D=(0,y.lG)(f.startContainer,"CODE");D||(D=f.startContainer.childNodes[f.startOffset]),D&&(D.outerHTML=D.innerHTML.replace(c.g.ZWSP,"")+"",(0,j.ib)(i.wysiwyg.element,f))}else E==="link"?(f.collapsed&&f.selectNode(f.startContainer.parentElement),document.execCommand("unlink",!1,"")):E==="check"||E==="list"||E==="ordered-list"?(Qi(i,f,E),(0,j.ib)(i.wysiwyg.element,f),u=!1,a.classList.remove("vditor-menu--current")):(u=!1,a.classList.remove("vditor-menu--current"),f.toString()===""?Xi(f,i,E):document.execCommand(E,!1,""));else{i.wysiwyg.element.childNodes.length===0&&(i.wysiwyg.element.innerHTML='

    ',(0,j.ib)(i.wysiwyg.element,f));var _=(0,y.F9)(f.startContainer);if(E==="quote"){if(_||(_=f.startContainer.childNodes[f.startOffset]),_){u=!1,a.classList.add("vditor-menu--current"),f.insertNode(document.createElement("wbr"));var B=(0,y.lG)(f.startContainer,"LI");B&&_.contains(B)?B.innerHTML='
    '.concat(B.innerHTML,"
    "):_.outerHTML='
    '.concat(_.outerHTML,"
    "),(0,j.ib)(i.wysiwyg.element,f)}}else if(E==="check"||E==="list"||E==="ordered-list")Qi(i,f,E,!1),(0,j.ib)(i.wysiwyg.element,f),u=!1,x(i.toolbar.elements,["check","list","ordered-list"]),a.classList.add("vditor-menu--current");else if(E==="inline-code"){if(f.toString()===""){var K=document.createElement("code");K.textContent=c.g.ZWSP,f.insertNode(K),f.setStart(K.firstChild,1),f.collapse(!0),(0,j.Hc)(f)}else if(f.startContainer.nodeType===3){var K=document.createElement("code");f.surroundContents(K),f.insertNode(K),(0,j.Hc)(f)}a.classList.add("vditor-menu--current")}else if(E==="code"){var K=document.createElement("div");K.className="vditor-wysiwyg__block",K.setAttribute("data-type","code-block"),K.setAttribute("data-block","0"),K.setAttribute("data-marker","```"),f.toString()===""?K.innerHTML=`
    
    +
    `:(K.innerHTML="
    ".concat(f.toString(),"
    "),f.deleteContents()),f.insertNode(K),_&&(_.outerHTML=i.lute.SpinVditorDOM(_.outerHTML)),(0,j.ib)(i.wysiwyg.element,f),i.wysiwyg.element.querySelectorAll(".vditor-wysiwyg__preview[data-render='2']").forEach(function(bt){Qe(bt,i)}),a.classList.add("vditor-menu--disabled")}else if(E==="link"){if(f.toString()===""){var fe=document.createElement("a");fe.innerText=c.g.ZWSP,f.insertNode(fe),f.setStart(fe.firstChild,1),f.collapse(!0),Ki(i,fe,f);var be=i.wysiwyg.popover.querySelector("input");be.value="",be.focus(),d=!1}else{var K=document.createElement("a");K.setAttribute("href",""),K.innerHTML=f.toString(),f.surroundContents(K),f.insertNode(K),(0,j.Hc)(f),Ki(i,K,f);var ce=i.wysiwyg.popover.querySelectorAll("input");ce[0].value=K.innerText,ce[1].focus()}u=!1,a.classList.add("vditor-menu--current")}else if(E==="table"){var ke='
    col1col2col3
    ';if(f.toString().trim()==="")_&&_.innerHTML.trim().replace(c.g.ZWSP,"")===""?_.outerHTML=ke:document.execCommand("insertHTML",!1,ke),f.selectNode(i.wysiwyg.element.querySelector("wbr").previousSibling),i.wysiwyg.element.querySelector("wbr").remove(),(0,j.Hc)(f);else{ke='';var xe=f.toString().split(` +`),ue=xe[0].split(",").length>xe[0].split(" ").length?",":" ";xe.forEach(function($e,bt){bt===0?($e.split(ue).forEach(function(gt,kt){kt===0?ke+=""):ke+="")}),ke+=""):(bt===1?ke+="":ke+="",$e.split(ue).forEach(function(gt){ke+="")}),ke+="")}),ke+="
    ".concat(gt,"".concat(gt,"
    ".concat(gt,"
    ",document.execCommand("insertHTML",!1,ke),(0,j.ib)(i.wysiwyg.element,f)}u=!1,a.classList.add("vditor-menu--disabled")}else if(E==="line"){if(_){var Pe=`

    +

    `;_.innerHTML.trim()===""?_.outerHTML=Pe:_.insertAdjacentHTML("afterend",Pe),(0,j.ib)(i.wysiwyg.element,f)}}else if(u=!1,a.classList.add("vditor-menu--current"),E==="strike"&&(E="strikeThrough"),f.toString()===""&&(E==="bold"||E==="italic"||E==="strikeThrough")){var Te="strong";E==="italic"?Te="em":E==="strikeThrough"&&(Te="s");var K=document.createElement(Te);K.textContent=c.g.ZWSP,f.insertNode(K),K.previousSibling&&K.previousSibling.textContent===c.g.ZWSP&&(K.previousSibling.textContent=""),f.setStart(K.firstChild,1),f.collapse(!0),(0,j.Hc)(f)}else document.execCommand(E,!1,"")}u&&Pn(i),d&&Oe(i)}},Mt=function(){function i(a,s){var u,d=this;this.element=document.createElement("div"),s.className&&(u=this.element.classList).add.apply(u,s.className.split(" "));var f=s.hotkey?" <".concat((0,m.ns)(s.hotkey),">"):"";s.level===2&&(f=s.hotkey?" <".concat((0,m.ns)(s.hotkey),">"):"");var E=s.tip?s.tip+f:"".concat(window.VditorI18n[s.name]).concat(f),L=s.name==="upload"?"div":"button";if(s.level===2)this.element.innerHTML="<".concat(L,' data-type="').concat(s.name,'">').concat(E,"");else{this.element.classList.add("vditor-toolbar__item");var D=document.createElement(L);D.setAttribute("data-type",s.name),D.className="vditor-tooltipped vditor-tooltipped__".concat(s.tipPosition),D.setAttribute("aria-label",E),D.innerHTML=s.icon,this.element.appendChild(D)}s.prefix&&this.element.children[0].addEventListener((0,m.Le)(),function(_){_.preventDefault(),!d.element.firstElementChild.classList.contains(c.g.CLASS_MENU_DISABLED)&&(a.currentMode==="wysiwyg"?Zi(a,d.element.children[0],_):a.currentMode==="ir"?vu(a,d.element.children[0],s.prefix||"",s.suffix||""):It(a,d.element.children[0],s.prefix||"",s.suffix||""))})}return i}(),xs=function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(u[f]=d[f])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}(),nr=function(i,a,s){var u;if(typeof s!="string"?(A(i,["subToolbar","hint"]),s.preventDefault(),u=v(i)):u=s,!(i.currentMode===a&&typeof s!="string")){if(i.devtools&&i.devtools.renderEchart(i),i.options.preview.mode==="both"&&a==="sv"?i.preview.element.style.display="block":i.preview.element.style.display="none",S(i.toolbar.elements,c.g.EDIT_TOOLBARS),x(i.toolbar.elements,c.g.EDIT_TOOLBARS),k(i.toolbar.elements,["outdent","indent"]),a==="ir")C(i.toolbar.elements,["both"]),T(i.toolbar.elements,["outdent","indent","outline","insert-before","insert-after"]),i.sv.element.style.display="none",i.wysiwyg.element.parentElement.style.display="none",i.ir.element.parentElement.style.display="block",i.lute.SetVditorIR(!0),i.lute.SetVditorWYSIWYG(!1),i.lute.SetVditorSV(!1),i.currentMode="ir",i.ir.element.innerHTML=i.lute.Md2VditorIRDOM(u),Kn(i,{enableAddUndoStack:!0,enableHint:!1,enableInput:!1}),Fe(i),i.ir.element.querySelectorAll(".vditor-ir__preview[data-render='2']").forEach(function(f){Qe(f,i)}),i.ir.element.querySelectorAll(".vditor-toc").forEach(function(f){(0,qe.H)(f,{cdn:i.options.cdn,math:i.options.preview.math})});else if(a==="wysiwyg")C(i.toolbar.elements,["both"]),T(i.toolbar.elements,["outdent","indent","outline","insert-before","insert-after"]),i.sv.element.style.display="none",i.wysiwyg.element.parentElement.style.display="block",i.ir.element.parentElement.style.display="none",i.lute.SetVditorIR(!1),i.lute.SetVditorWYSIWYG(!0),i.lute.SetVditorSV(!1),i.currentMode="wysiwyg",Fe(i),Oa(i,u,{enableAddUndoStack:!0,enableHint:!1,enableInput:!1}),i.wysiwyg.element.querySelectorAll(".vditor-toc").forEach(function(f){(0,qe.H)(f,{cdn:i.options.cdn,math:i.options.preview.math})}),i.wysiwyg.popover.style.display="none";else if(a==="sv"){T(i.toolbar.elements,["both"]),C(i.toolbar.elements,["outdent","indent","outline","insert-before","insert-after"]),i.wysiwyg.element.parentElement.style.display="none",i.ir.element.parentElement.style.display="none",(i.options.preview.mode==="both"||i.options.preview.mode==="editor")&&(i.sv.element.style.display="block"),i.lute.SetVditorIR(!1),i.lute.SetVditorWYSIWYG(!1),i.lute.SetVditorSV(!0),i.currentMode="sv";var d=pe(u,i);d==="
    "&&(d=""),i.sv.element.innerHTML=d,V(i.sv.element),ze(i,{enableAddUndoStack:!0,enableHint:!1,enableInput:!1}),Fe(i)}i.undo.resetIcon(i),typeof s!="string"&&(i[i.currentMode].element.focus(),cr(i)),Ht(i),Ke(i),i.toolbar.elements["edit-mode"]&&(i.toolbar.elements["edit-mode"].querySelectorAll("button").forEach(function(f){f.classList.remove("vditor-menu--current")}),i.toolbar.elements["edit-mode"].querySelector('button[data-mode="'.concat(i.currentMode,'"]')).classList.add("vditor-menu--current")),i.outline.toggle(i,i.currentMode!=="sv"&&i.options.outline.enable,typeof s!="string")}},Vo=function(i){xs(a,i);function a(s,u){var d=i.call(this,s,u)||this,f=document.createElement("div");return f.className="vditor-hint".concat(u.level===2?"":" vditor-panel--arrow"),f.innerHTML=' -"),d.element.appendChild(f),d._bindEvent(s,f,u),d}return a.prototype._bindEvent=function(s,u,d){var f=this.element.children[0];M(s,u,f,d.level),u.children.item(0).addEventListener((0,m.Le)(),function(E){er(s,"wysiwyg",E),E.preventDefault(),E.stopPropagation()}),u.children.item(1).addEventListener((0,m.Le)(),function(E){er(s,"ir",E),E.preventDefault(),E.stopPropagation()}),u.children.item(2).addEventListener((0,m.Le)(),function(E){er(s,"sv",E),E.preventDefault(),E.stopPropagation()})},a}(Mt),Or=function(i,a){return(0,q.Gb)(i,a)?getSelection().toString():""},Ai=function(i,a){a.addEventListener("focus",function(){i.options.focus&&i.options.focus(v(i)),A(i,["subToolbar","hint"])})},ho=function(i,a){a.addEventListener("dblclick",function(s){s.target.tagName==="IMG"&&(i.options.image.preview?i.options.image.preview(s.target):i.options.image.isPreview&&(0,se.E)(s.target,i.options.lang,i.options.theme))})},Mi=function(i,a){a.addEventListener("blur",function(s){if(i.currentMode==="ir"){var u=i.ir.element.querySelector(".vditor-ir__node--expand");u&&u.classList.remove("vditor-ir__node--expand")}else i.currentMode==="wysiwyg"&&!i.wysiwyg.selectPopover.contains(s.relatedTarget)&&i.wysiwyg.hideComment();i[i.currentMode].range=(0,q.zh)(i),i.options.blur&&i.options.blur(v(i))})},Ci=function(i,a){a.addEventListener("dragstart",function(s){s.dataTransfer.setData(c.g.DROP_EDITOR,c.g.DROP_EDITOR)}),a.addEventListener("drop",function(s){s.dataTransfer.getData(c.g.DROP_EDITOR)?lt(i):(s.dataTransfer.types.includes("Files")||s.dataTransfer.types.includes("text/html"))&&ta(i,s,{pasteCode:function(u){document.execCommand("insertHTML",!1,u)}})})},U=function(i,a,s){a.addEventListener("copy",function(u){return s(u,i)})},Q=function(i,a,s){a.addEventListener("cut",function(u){s(u,i),i.options.comment.enable&&i.currentMode==="wysiwyg"&&i.wysiwyg.getComments(i),document.execCommand("delete")})},Z=function(i){if(i.currentMode==="wysiwyg"&&i.options.comment.enable&&i.options.comment.adjustTop(i.wysiwyg.getComments(i,!0)),!!i.options.typewriterMode){var a=i[i.currentMode].element,s=(0,q.Ny)(a).top;i.options.height==="auto"&&!i.element.classList.contains("vditor--fullscreen")&&window.scrollTo(window.scrollX,s+i.element.offsetTop+i.toolbar.element.offsetHeight-window.innerHeight/2+10),(i.options.height!=="auto"||i.element.classList.contains("vditor--fullscreen"))&&(a.scrollTop=s+a.scrollTop-a.clientHeight/2+10)}},xe=function(i,a){a.addEventListener("keydown",function(s){if(!s.isComposing&&i.options.keydown&&i.options.keydown(s),!((i.options.hint.extend.length>1||i.toolbar.elements.emoji)&&i.hint.select(s,i))){if(i.options.comment.enable&&i.currentMode==="wysiwyg"&&(s.key==="Backspace"||oe("⌘X",s))&&i.wysiwyg.getComments(i),i.currentMode==="sv"){if(be(i,s))return}else if(i.currentMode==="wysiwyg"){if(zn(i,s))return}else if(i.currentMode==="ir"&&Ce(i,s))return;if(i.options.ctrlEnter&&oe("⌘Enter",s)){i.options.ctrlEnter(v(i)),s.preventDefault();return}if(oe("⌘Z",s)&&!i.toolbar.elements.undo){i.undo.undo(i),s.preventDefault();return}if(oe("⌘Y",s)&&!i.toolbar.elements.redo){i.undo.redo(i),s.preventDefault();return}if(s.key==="Escape"){i.hint.element.style.display==="block"?i.hint.element.style.display="none":i.options.esc&&!s.isComposing&&i.options.esc(v(i)),s.preventDefault();return}if((0,m.yl)(s)&&s.altKey&&!s.shiftKey&&/^Digit[1-6]$/.test(s.code)){if(i.currentMode==="wysiwyg"){var u=s.code.replace("Digit","H");(0,y.lG)(getSelection().getRangeAt(0).startContainer,u)?lr(i):kn(i,u),Re(i)}else i.currentMode==="sv"?Ct(i,"#".repeat(parseInt(s.code.replace("Digit",""),10))+" "):i.currentMode==="ir"&&fi(i,"#".repeat(parseInt(s.code.replace("Digit",""),10))+" ");return s.preventDefault(),!0}if((0,m.yl)(s)&&s.altKey&&!s.shiftKey&&/^Digit[7-9]$/.test(s.code))return s.code==="Digit7"?er(i,"wysiwyg",s):s.code==="Digit8"?er(i,"ir",s):s.code==="Digit9"&&er(i,"sv",s),!0;i.options.toolbar.find(function(d){if(!d.hotkey||d.toolbar){if(d.toolbar){var f=d.toolbar.find(function(E){if(!E.hotkey)return!1;if(oe(E.hotkey,s))return i.toolbar.elements[E.name].children[0].dispatchEvent(new CustomEvent((0,m.Le)())),s.preventDefault(),!0});return!!f}return!1}if(oe(d.hotkey,s))return i.toolbar.elements[d.name].children[0].dispatchEvent(new CustomEvent((0,m.Le)())),s.preventDefault(),!0})}})},He=function(i,a){a.addEventListener("selectstart",function(s){a.onmouseup=function(){setTimeout(function(){var u=Or(i[i.currentMode].element);u.trim()?(i.currentMode==="wysiwyg"&&i.options.comment.enable&&(!(0,y.a1)(s.target,"data-type","footnotes-block")&&!(0,y.a1)(s.target,"data-type","link-ref-defs-block")?i.wysiwyg.showComment():i.wysiwyg.hideComment()),i.options.select&&i.options.select(u)):(i.currentMode==="wysiwyg"&&i.options.comment.enable&&i.wysiwyg.hideComment(),typeof i.options.unSelect=="function"&&i.options.unSelect())})}})},Pe=function(i,a){var s=(0,q.zh)(i);s.extractContents(),s.insertNode(document.createTextNode(Lute.Caret)),s.insertNode(document.createTextNode(a));var u=(0,y.a1)(s.startContainer,"data-block","0");u||(u=i.sv.element);var d=i.lute.SpinVditorSVDOM(u.textContent);d="
    "+d.replace(/
    \n<\/span><\/span>
    \n<\/span><\/span>
    +"),d.element.appendChild(f),d._bindEvent(s,f,u),d}return a.prototype._bindEvent=function(s,u,d){var f=this.element.children[0];M(s,u,f,d.level),u.children.item(0).addEventListener((0,m.Le)(),function(E){nr(s,"wysiwyg",E),E.preventDefault(),E.stopPropagation()}),u.children.item(1).addEventListener((0,m.Le)(),function(E){nr(s,"ir",E),E.preventDefault(),E.stopPropagation()}),u.children.item(2).addEventListener((0,m.Le)(),function(E){nr(s,"sv",E),E.preventDefault(),E.stopPropagation()})},a}(Mt),Or=function(i,a){return(0,j.Gb)(i,a)?getSelection().toString():""},Yi=function(i,a){a.addEventListener("focus",function(){i.options.focus&&i.options.focus(v(i)),A(i,["subToolbar","hint"])})},Ha=function(i,a){a.addEventListener("dblclick",function(s){s.target.tagName==="IMG"&&(i.options.image.preview?i.options.image.preview(s.target):i.options.image.isPreview&&(0,se.E)(s.target,i.options.lang,i.options.theme))})},Ji=function(i,a){a.addEventListener("blur",function(s){if(i.currentMode==="ir"){var u=i.ir.element.querySelector(".vditor-ir__node--expand");u&&u.classList.remove("vditor-ir__node--expand")}else i.currentMode==="wysiwyg"&&!i.wysiwyg.selectPopover.contains(s.relatedTarget)&&i.wysiwyg.hideComment();i[i.currentMode].range=(0,j.zh)(i),i.options.blur&&i.options.blur(v(i))})},hi=function(i,a){a.addEventListener("dragstart",function(s){s.dataTransfer.setData(c.g.DROP_EDITOR,c.g.DROP_EDITOR)}),a.addEventListener("drop",function(s){s.dataTransfer.getData(c.g.DROP_EDITOR)?st(i):(s.dataTransfer.types.includes("Files")||s.dataTransfer.types.includes("text/html"))&&na(i,s,{pasteCode:function(u){document.execCommand("insertHTML",!1,u)}})})},Ai=function(i,a,s){a.addEventListener("copy",function(u){return s(u,i)})},q=function(i,a,s){a.addEventListener("cut",function(u){s(u,i),i.options.comment.enable&&i.currentMode==="wysiwyg"&&i.wysiwyg.getComments(i),document.execCommand("delete")})},X=function(i){if(i.currentMode==="wysiwyg"&&i.options.comment.enable&&i.options.comment.adjustTop(i.wysiwyg.getComments(i,!0)),!!i.options.typewriterMode){var a=i[i.currentMode].element,s=(0,j.Ny)(a).top;i.options.height==="auto"&&!i.element.classList.contains("vditor--fullscreen")&&window.scrollTo(window.scrollX,s+i.element.offsetTop+i.toolbar.element.offsetHeight-window.innerHeight/2+10),(i.options.height!=="auto"||i.element.classList.contains("vditor--fullscreen"))&&(a.scrollTop=s+a.scrollTop-a.clientHeight/2+10)}},ee=function(i,a){a.addEventListener("keydown",function(s){if(!s.isComposing&&i.options.keydown&&i.options.keydown(s),!((i.options.hint.extend.length>1||i.toolbar.elements.emoji)&&i.hint.select(s,i))){if(i.options.comment.enable&&i.currentMode==="wysiwyg"&&(s.key==="Backspace"||oe("⌘X",s))&&i.wysiwyg.getComments(i),i.currentMode==="sv"){if(ve(i,s))return}else if(i.currentMode==="wysiwyg"){if(Gn(i,s))return}else if(i.currentMode==="ir"&&De(i,s))return;if(i.options.ctrlEnter&&oe("⌘Enter",s)){i.options.ctrlEnter(v(i)),s.preventDefault();return}if(oe("⌘Z",s)&&!i.toolbar.elements.undo){i.undo.undo(i),s.preventDefault();return}if(oe("⌘Y",s)&&!i.toolbar.elements.redo){i.undo.redo(i),s.preventDefault();return}if(s.key==="Escape"){i.hint.element.style.display==="block"?i.hint.element.style.display="none":i.options.esc&&!s.isComposing&&i.options.esc(v(i)),s.preventDefault();return}if((0,m.yl)(s)&&s.altKey&&!s.shiftKey&&/^Digit[1-6]$/.test(s.code)){if(i.currentMode==="wysiwyg"){var u=s.code.replace("Digit","H");(0,y.lG)(getSelection().getRangeAt(0).startContainer,u)?pr(i):kn(i,u),Oe(i)}else i.currentMode==="sv"?ft(i,"#".repeat(parseInt(s.code.replace("Digit",""),10))+" "):i.currentMode==="ir"&&mi(i,"#".repeat(parseInt(s.code.replace("Digit",""),10))+" ");return s.preventDefault(),!0}if((0,m.yl)(s)&&s.altKey&&!s.shiftKey&&/^Digit[7-9]$/.test(s.code))return s.code==="Digit7"?nr(i,"wysiwyg",s):s.code==="Digit8"?nr(i,"ir",s):s.code==="Digit9"&&nr(i,"sv",s),!0;i.options.toolbar.find(function(d){if(!d.hotkey||d.toolbar){if(d.toolbar){var f=d.toolbar.find(function(E){if(!E.hotkey)return!1;if(oe(E.hotkey,s))return i.toolbar.elements[E.name].children[0].dispatchEvent(new CustomEvent((0,m.Le)())),s.preventDefault(),!0});return!!f}return!1}if(oe(d.hotkey,s))return i.toolbar.elements[d.name].children[0].dispatchEvent(new CustomEvent((0,m.Le)())),s.preventDefault(),!0})}})},ye=function(i,a){a.addEventListener("selectstart",function(s){a.onmouseup=function(){setTimeout(function(){var u=Or(i[i.currentMode].element);u.trim()?(i.currentMode==="wysiwyg"&&i.options.comment.enable&&(!(0,y.a1)(s.target,"data-type","footnotes-block")&&!(0,y.a1)(s.target,"data-type","link-ref-defs-block")?i.wysiwyg.showComment():i.wysiwyg.hideComment()),i.options.select&&i.options.select(u)):(i.currentMode==="wysiwyg"&&i.options.comment.enable&&i.wysiwyg.hideComment(),typeof i.options.unSelect=="function"&&i.options.unSelect())})}})},Me=function(i,a){var s=(0,j.zh)(i);s.extractContents(),s.insertNode(document.createTextNode(Lute.Caret)),s.insertNode(document.createTextNode(a));var u=(0,y.a1)(s.startContainer,"data-block","0");u||(u=i.sv.element);var d=i.lute.SpinVditorSVDOM(u.textContent);d="
    "+d.replace(/
    \n<\/span><\/span>
    \n<\/span><\/span>

    -
    <`)+"
    ",u.isEqualNode(i.sv.element)?u.innerHTML=d:u.outerHTML=d,G(i.sv.element),(0,q.ib)(i.sv.element,s),Z(i)},pe=function(i,a,s){s===void 0&&(s=!0);var u=i;for(u.nodeType===3&&(u=u.parentElement);u;){if(u.getAttribute("data-type")===a)return u;s?u=u.previousElementSibling:u=u.nextElementSibling}return!1},Oe=function(i,a){z("SpinVditorSVDOM",i,"argument",a.options.debugger);var s=a.lute.SpinVditorSVDOM(i);return i="
    "+s.replace(/
    \n<\/span><\/span>
    \n<\/span><\/span>
    +
    <`)+"
    ",u.isEqualNode(i.sv.element)?u.innerHTML=d:u.outerHTML=d,V(i.sv.element),(0,j.ib)(i.sv.element,s),X(i)},He=function(i,a,s){s===void 0&&(s=!0);var u=i;for(u.nodeType===3&&(u=u.parentElement);u;){if(u.getAttribute("data-type")===a)return u;s?u=u.previousElementSibling:u=u.nextElementSibling}return!1},pe=function(i,a){z("SpinVditorSVDOM",i,"argument",a.options.debugger);var s=a.lute.SpinVditorSVDOM(i);return i="
    "+s.replace(/
    \n<\/span><\/span>
    \n<\/span><\/span>

    -
    <`)+"
    ",z("SpinVditorSVDOM",i,"result",a.options.debugger),i},Je=function(i){var a=i.getAttribute("data-type"),s=i.previousElementSibling,u=a&&a!=="text"&&a!=="table"&&a!=="heading-marker"&&a!=="newline"&&a!=="yaml-front-matter-open-marker"&&a!=="yaml-front-matter-close-marker"&&a!=="code-block-info"&&a!=="code-block-close-marker"&&a!=="code-block-open-marker"?i.textContent:"",d=!1;for(a==="newline"&&(d=!0);s&&!d;){var f=s.getAttribute("data-type");if(f==="li-marker"||f==="blockquote-marker"||f==="task-marker"||f==="padding"){var E=s.textContent;if(f==="li-marker"&&(a==="code-block-open-marker"||a==="code-block-info"))u=E.replace(/\S/g," ")+u;else if(a==="code-block-close-marker"&&s.nextElementSibling.isSameNode(i)){var L=pe(i,"code-block-open-marker");L&&L.previousElementSibling&&(s=L.previousElementSibling,u=E+u)}else u=E+u}else f==="newline"&&(d=!0);s=s.previousElementSibling}return u},Ge=function(i,a){a===void 0&&(a={enableAddUndoStack:!0,enableHint:!1,enableInput:!0}),a.enableHint&&i.hint.render(i),i.preview.render(i);var s=v(i);typeof i.options.input=="function"&&a.enableInput&&i.options.input(s),i.options.counter.enable&&i.counter.render(i,s),i.options.cache.enable&&(0,m.pK)()&&(localStorage.setItem(i.options.cache.id,s),i.options.cache.after&&i.options.cache.after(s)),i.devtools&&i.devtools.renderEchart(i),clearTimeout(i.sv.processTimeoutId),i.sv.processTimeoutId=window.setTimeout(function(){a.enableAddUndoStack&&!i.sv.composingLock&&i.undo.addToUndoStack(i)},i.options.undoDelay)},Ct=function(i,a){var s=(0,q.zh)(i),u=(0,N.S)(s.startContainer,"SPAN");u&&u.textContent.trim()!==""&&(a=` -`+a),s.collapse(!0),document.execCommand("insertHTML",!1,a)},Gt=function(i,a,s,u){var d=(0,q.zh)(i),f=a.getAttribute("data-type");i.sv.element.childNodes.length===0&&(i.sv.element.innerHTML=`
    -
    `,(0,q.ib)(i.sv.element,d));var E=(0,y.F9)(d.startContainer),L=(0,N.S)(d.startContainer,"SPAN");if(E){if(f==="link"){var D=void 0;d.toString()===""?D="".concat(s).concat(Lute.Caret).concat(u):D="".concat(s).concat(d.toString()).concat(u.replace(")",Lute.Caret+")")),document.execCommand("insertHTML",!1,D);return}else if(f==="italic"||f==="bold"||f==="strike"||f==="inline-code"||f==="code"||f==="table"||f==="line"){var D=void 0;d.toString()===""?D="".concat(s).concat(Lute.Caret).concat(f==="code"?"":u):D="".concat(s).concat(d.toString()).concat(Lute.Caret).concat(f==="code"?"":u),f==="table"||f==="code"&&L&&L.textContent!==""?D=` +
    <`)+"
    ",z("SpinVditorSVDOM",i,"result",a.options.debugger),i},Ie=function(i){var a=i.getAttribute("data-type"),s=i.previousElementSibling,u=a&&a!=="text"&&a!=="table"&&a!=="heading-marker"&&a!=="newline"&&a!=="yaml-front-matter-open-marker"&&a!=="yaml-front-matter-close-marker"&&a!=="code-block-info"&&a!=="code-block-close-marker"&&a!=="code-block-open-marker"?i.textContent:"",d=!1;for(a==="newline"&&(d=!0);s&&!d;){var f=s.getAttribute("data-type");if(f==="li-marker"||f==="blockquote-marker"||f==="task-marker"||f==="padding"){var E=s.textContent;if(f==="li-marker"&&(a==="code-block-open-marker"||a==="code-block-info"))u=E.replace(/\S/g," ")+u;else if(a==="code-block-close-marker"&&s.nextElementSibling.isSameNode(i)){var L=He(i,"code-block-open-marker");L&&L.previousElementSibling&&(s=L.previousElementSibling,u=E+u)}else u=E+u}else f==="newline"&&(d=!0);s=s.previousElementSibling}return u},ze=function(i,a){a===void 0&&(a={enableAddUndoStack:!0,enableHint:!1,enableInput:!0}),a.enableHint&&i.hint.render(i),i.preview.render(i);var s=v(i);typeof i.options.input=="function"&&a.enableInput&&i.options.input(s),i.options.counter.enable&&i.counter.render(i,s),i.options.cache.enable&&(0,m.pK)()&&(localStorage.setItem(i.options.cache.id,s),i.options.cache.after&&i.options.cache.after(s)),i.devtools&&i.devtools.renderEchart(i),clearTimeout(i.sv.processTimeoutId),i.sv.processTimeoutId=window.setTimeout(function(){a.enableAddUndoStack&&!i.sv.composingLock&&i.undo.addToUndoStack(i)},i.options.undoDelay)},ft=function(i,a){var s=(0,j.zh)(i),u=(0,N.S)(s.startContainer,"SPAN");u&&u.textContent.trim()!==""&&(a=` +`+a),s.collapse(!0),document.execCommand("insertHTML",!1,a)},It=function(i,a,s,u){var d=(0,j.zh)(i),f=a.getAttribute("data-type");i.sv.element.childNodes.length===0&&(i.sv.element.innerHTML=`
    +
    `,(0,j.ib)(i.sv.element,d));var E=(0,y.F9)(d.startContainer),L=(0,N.S)(d.startContainer,"SPAN");if(E){if(f==="link"){var D=void 0;d.toString()===""?D="".concat(s).concat(Lute.Caret).concat(u):D="".concat(s).concat(d.toString()).concat(u.replace(")",Lute.Caret+")")),document.execCommand("insertHTML",!1,D);return}else if(f==="italic"||f==="bold"||f==="strike"||f==="inline-code"||f==="code"||f==="table"||f==="line"){var D=void 0;d.toString()===""?D="".concat(s).concat(Lute.Caret).concat(f==="code"?"":u):D="".concat(s).concat(d.toString()).concat(Lute.Caret).concat(f==="code"?"":u),f==="table"||f==="code"&&L&&L.textContent!==""?D=` `+D:f==="line"&&(D=` `.concat(s,` -`).concat(Lute.Caret)),document.execCommand("insertHTML",!1,D);return}else if((f==="check"||f==="list"||f==="ordered-list"||f==="quote")&&L){var _="* ";f==="check"?_="* [ ] ":f==="ordered-list"?_="1. ":f==="quote"&&(_="> ");var B=pe(L,"newline");B?B.insertAdjacentText("afterend",_):E.insertAdjacentText("afterbegin",_),X(i);return}(0,q.ib)(i.sv.element,d),Ge(i)}},un=function(i){switch(i.currentMode){case"ir":return i.ir.element;case"wysiwyg":return i.wysiwyg.element;case"sv":return i.sv.element}},$n=function(i,a){i.options.upload.setHeaders&&(i.options.upload.headers=i.options.upload.setHeaders()),i.options.upload.headers&&Object.keys(i.options.upload.headers).forEach(function(s){a.setRequestHeader(s,i.options.upload.headers[s])})},mr=function(i,a,s,u){function d(f){return f instanceof s?f:new s(function(E){E(f)})}return new(s||(s=Promise))(function(f,E){function L(B){try{_(u.next(B))}catch(K){E(K)}}function D(B){try{_(u.throw(B))}catch(K){E(K)}}function _(B){B.done?f(B.value):d(B.value).then(L,D)}_((u=u.apply(i,a||[])).next())})},Hr=function(i,a){var s={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},u,d,f,E;return E={next:L(0),throw:L(1),return:L(2)},typeof Symbol=="function"&&(E[Symbol.iterator]=function(){return this}),E;function L(_){return function(B){return D([_,B])}}function D(_){if(u)throw new TypeError("Generator is already executing.");for(;E&&(E=0,_[0]&&(s=0)),s;)try{if(u=1,d&&(f=_[0]&2?d.return:_[0]?d.throw||((f=d.return)&&f.call(d),0):d.next)&&!(f=f.call(d,_[1])).done)return f;switch(d=0,f&&(_=[_[0]&2,f.value]),_[0]){case 0:case 1:f=_;break;case 4:return s.label++,{value:_[1],done:!1};case 5:s.label++,d=_[1],_=[0];continue;case 7:_=s.ops.pop(),s.trys.pop();continue;default:if(f=s.trys,!(f=f.length>0&&f[f.length-1])&&(_[0]===6||_[0]===2)){s=0;continue}if(_[0]===3&&(!f||_[1]>f[0]&&_[1]".concat(window.VditorI18n.nameEmpty,""),fe=!1),K.size>i.options.upload.max&&(u+="
  • ".concat(K.name," ").concat(window.VditorI18n.over," ").concat(i.options.upload.max/1024/1024,"M
  • "),fe=!1);var ve=K.name.lastIndexOf("."),ue=K.name.substr(ve),ke=i.options.upload.filename(K.name.substr(0,ve))+ue;if(i.options.upload.accept){var we=i.options.upload.accept.split(",").some(function(de){var Ie=de.trim();if(Ie.indexOf(".")===0){if(ue.toLowerCase()===Ie.toLowerCase())return!0}else if(K.type.split("/")[0]===Ie.split("/")[0])return!0;return!1});we||(u+="
  • ".concat(K.name," ").concat(window.VditorI18n.fileTypeError,"
  • "),fe=!1)}fe&&(s.push(K),d+="
  • ".concat(ke," ").concat(window.VditorI18n.uploading,' ').concat(window.VditorI18n.cancelUpload,"
  • "))},E=a.length,L=0;L".concat(u).concat(d,"")),i.options.upload.cancel){var D=i.tip.element.querySelector(".vditorCancelUpload");D&&D.addEventListener("click",function(){i.options.upload.cancel(s),i.tip.hide(),i.upload.isUploading=!1})}return s},Oa=function(i,a){var s=un(a);s.focus();var u=JSON.parse(i),d="";u.code===1&&(d="".concat(u.msg)),u.data.errFiles&&u.data.errFiles.length>0&&(d="
    • ".concat(d,"
    • "),u.data.errFiles.forEach(function(E){var L=E.lastIndexOf("."),D=a.options.upload.filename(E.substr(0,L))+E.substr(L);d+="
    • ".concat(D," ").concat(window.VditorI18n.uploadError,"
    • ")}),d+="
    "),d?a.tip.show(d):a.tip.hide();var f="";Object.keys(u.data.succMap).forEach(function(E){var L=u.data.succMap[E],D=E.lastIndexOf("."),_=E.substr(D),B=a.options.upload.filename(E.substr(0,D))+_;_=_.toLowerCase(),_.indexOf(".wav")===0||_.indexOf(".mp3")===0||_.indexOf(".ogg")===0?a.currentMode==="wysiwyg"?f+=`
    ");var B=He(L,"newline");B?B.insertAdjacentText("afterend",_):E.insertAdjacentText("afterbegin",_),Z(i);return}(0,j.ib)(i.sv.element,d),ze(i)}},$t=function(i){switch(i.currentMode){case"ir":return i.ir.element;case"wysiwyg":return i.wysiwyg.element;case"sv":return i.sv.element}},bn=function(i,a){i.options.upload.setHeaders&&(i.options.upload.headers=i.options.upload.setHeaders()),i.options.upload.headers&&Object.keys(i.options.upload.headers).forEach(function(s){a.setRequestHeader(s,i.options.upload.headers[s])})},Qn=function(i,a,s,u){function d(f){return f instanceof s?f:new s(function(E){E(f)})}return new(s||(s=Promise))(function(f,E){function L(B){try{_(u.next(B))}catch(K){E(K)}}function D(B){try{_(u.throw(B))}catch(K){E(K)}}function _(B){B.done?f(B.value):d(B.value).then(L,D)}_((u=u.apply(i,a||[])).next())})},mr=function(i,a){var s={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},u,d,f,E;return E={next:L(0),throw:L(1),return:L(2)},typeof Symbol=="function"&&(E[Symbol.iterator]=function(){return this}),E;function L(_){return function(B){return D([_,B])}}function D(_){if(u)throw new TypeError("Generator is already executing.");for(;E&&(E=0,_[0]&&(s=0)),s;)try{if(u=1,d&&(f=_[0]&2?d.return:_[0]?d.throw||((f=d.return)&&f.call(d),0):d.next)&&!(f=f.call(d,_[1])).done)return f;switch(d=0,f&&(_=[_[0]&2,f.value]),_[0]){case 0:case 1:f=_;break;case 4:return s.label++,{value:_[1],done:!1};case 5:s.label++,d=_[1],_=[0];continue;case 7:_=s.ops.pop(),s.trys.pop();continue;default:if(f=s.trys,!(f=f.length>0&&f[f.length-1])&&(_[0]===6||_[0]===2)){s=0;continue}if(_[0]===3&&(!f||_[1]>f[0]&&_[1]".concat(window.VditorI18n.nameEmpty,""),fe=!1),K.size>i.options.upload.max&&(u+="
  • ".concat(K.name," ").concat(window.VditorI18n.over," ").concat(i.options.upload.max/1024/1024,"M
  • "),fe=!1);var be=K.name.lastIndexOf("."),ce=K.name.substr(be),ke=i.options.upload.filename(K.name.substr(0,be))+ce;if(i.options.upload.accept){var xe=i.options.upload.accept.split(",").some(function(ue){var Pe=ue.trim();if(Pe.indexOf(".")===0){if(ce.toLowerCase()===Pe.toLowerCase())return!0}else if(K.type.split("/")[0]===Pe.split("/")[0])return!0;return!1});xe||(u+="
  • ".concat(K.name," ").concat(window.VditorI18n.fileTypeError,"
  • "),fe=!1)}fe&&(s.push(K),d+="
  • ".concat(ke," ").concat(window.VditorI18n.uploading,' ').concat(window.VditorI18n.cancelUpload,"
  • "))},E=a.length,L=0;L".concat(u).concat(d,"")),i.options.upload.cancel){var D=i.tip.element.querySelector(".vditorCancelUpload");D&&D.addEventListener("click",function(){i.options.upload.cancel(s),i.tip.hide(),i.upload.isUploading=!1})}return s},Mi=function(i,a){var s=$t(a);s.focus();var u=JSON.parse(i),d="";u.code===1&&(d="".concat(u.msg)),u.data.errFiles&&u.data.errFiles.length>0&&(d="
    • ".concat(d,"
    • "),u.data.errFiles.forEach(function(E){var L=E.lastIndexOf("."),D=a.options.upload.filename(E.substr(0,L))+E.substr(L);d+="
    • ".concat(D," ").concat(window.VditorI18n.uploadError,"
    • ")}),d+="
    "),d?a.tip.show(d):a.tip.hide();var f="";Object.keys(u.data.succMap).forEach(function(E){var L=u.data.succMap[E],D=E.lastIndexOf("."),_=E.substr(D),B=a.options.upload.filename(E.substr(0,D))+_;_=_.toLowerCase(),_.indexOf(".wav")===0||_.indexOf(".mp3")===0||_.indexOf(".ogg")===0?a.currentMode==="wysiwyg"?f+=`
    <audio controls="controls" src="`.concat(L,'"></audio>
    `):a.currentMode==="ir"?f+=' `):f+="[".concat(B,"](").concat(L,`) @@ -104,61 +104,61 @@ onclick="event.stopPropagation();this.previousElementSibling.select();document.e `):f+="![".concat(B,"](").concat(L,`) `):a.currentMode==="wysiwyg"?f+='').concat(B,` `):f+="[".concat(B,"](").concat(L,`) -`)}),(0,q.Hc)(a.upload.range),document.execCommand("insertHTML",!1,f),a.upload.range=getSelection().getRangeAt(0).cloneRange()},_i=function(i,a,s){return mr(void 0,void 0,void 0,function(){var u,d,ue,f,E,E,L,D,_,B,K,fe,ve,ue,ke,we;return Hr(this,function(de){switch(de.label){case 0:for(u=[],d=i.options.upload.multiple===!0?a.length:1,ue=0;ue=200&&we.status<300)if(i.options.upload.success)i.options.upload.success(L,we.responseText);else{var Ie=we.responseText;i.options.upload.format&&(Ie=i.options.upload.format(a,we.responseText)),Oa(Ie,i)}else i.options.upload.error?i.options.upload.error(we.responseText):i.tip.show(we.responseText);s&&(s.value=""),i.upload.element.style.display="none",i.upload.xhr=void 0}},we.upload.onprogress=function(Ie){if(Ie.lengthComputable){var Te=Ie.loaded/Ie.total*100;i.upload.element.style.display="block";var $e=i.upload.element;$e.style.width=Te+"%"}},we.send(_),[2]}})})},Zr=function(i,a,s){var u,d=(0,y.F9)(a.startContainer);if(d||(d=i.wysiwyg.element),s&&s.inputType!=="formatItalic"&&s.inputType!=="deleteByDrag"&&s.inputType!=="insertFromDrop"&&s.inputType!=="formatBold"&&s.inputType!=="formatRemove"&&s.inputType!=="formatStrikeThrough"&&s.inputType!=="insertUnorderedList"&&s.inputType!=="insertOrderedList"&&s.inputType!=="formatOutdent"&&s.inputType!=="formatIndent"&&s.inputType!==""||!s){var f=mt(a.startContainer);f&&f.remove(),i.wysiwyg.element.querySelectorAll("wbr").forEach(function(Te){Te.remove()}),a.insertNode(document.createElement("wbr")),d.querySelectorAll("[style]").forEach(function(Te){Te.removeAttribute("style")}),d.querySelectorAll(".vditor-comment").forEach(function(Te){Te.textContent.trim()===""&&(Te.classList.remove("vditor-comment","vditor-comment--focus"),Te.removeAttribute("data-cmtids"))}),(u=d.previousElementSibling)===null||u===void 0||u.querySelectorAll(".vditor-comment").forEach(function(Te){Te.textContent.trim()===""&&(Te.classList.remove("vditor-comment","vditor-comment--focus"),Te.removeAttribute("data-cmtids"))});var E="";d.getAttribute("data-type")==="link-ref-defs-block"&&(d=i.wysiwyg.element);var L=d.isEqualNode(i.wysiwyg.element),D=(0,y.a1)(d,"data-type","footnotes-block");if(L)E=d.innerHTML;else{var _=(0,y.O9)(a.startContainer);if(_&&!D){var B=(0,N.S)(a.startContainer,"BLOCKQUOTE");B?d=(0,y.F9)(a.startContainer)||d:d=_}if(D&&(d=D),E=d.outerHTML,d.tagName==="UL"||d.tagName==="OL"){var K=d.previousElementSibling,fe=d.nextElementSibling;K&&(K.tagName==="UL"||K.tagName==="OL")&&(E=K.outerHTML+E,K.remove()),fe&&(fe.tagName==="UL"||fe.tagName==="OL")&&(E=E+fe.outerHTML,fe.remove()),E=E.replace("

    ","

  • ")}d.innerText.startsWith("```")||(i.wysiwyg.element.querySelectorAll("[data-type='link-ref-defs-block']").forEach(function(Te){Te&&!d.isEqualNode(Te)&&(E+=Te.outerHTML,Te.remove())}),i.wysiwyg.element.querySelectorAll("[data-type='footnotes-block']").forEach(function(Te){Te&&!d.isEqualNode(Te)&&(E+=Te.outerHTML,Te.remove())}))}if(E=E.replace(/<\/(strong|b)>/g,"").replace(/<\/(em|i)>/g,"").replace(/<\/(s|strike)>/g,""),E==='

    ```

    '&&i.hint.recentLanguage&&(E='

    ```

    '.replace("```","```"+i.hint.recentLanguage)),z("SpinVditorDOM",E,"argument",i.options.debugger),E=i.lute.SpinVditorDOM(E),z("SpinVditorDOM",E,"result",i.options.debugger),L)d.innerHTML=E;else if(d.outerHTML=E,D){var ve=(0,y.E2)(i.wysiwyg.element.querySelector("wbr"),"LI");if(ve){var ue=i.wysiwyg.element.querySelector('sup[data-type="footnotes-ref"][data-footnotes-label="'.concat(ve.getAttribute("data-marker"),'"]'));ue&&ue.setAttribute("aria-label",ve.textContent.trim().substr(0,24))}}var ke,we=i.wysiwyg.element.querySelectorAll("[data-type='link-ref-defs-block']");we.forEach(function(Te,$e){$e===0?ke=Te:(ke.insertAdjacentHTML("beforeend",Te.innerHTML),Te.remove())}),we.length>0&&i.wysiwyg.element.insertAdjacentElement("beforeend",we[0]);var de,Ie=i.wysiwyg.element.querySelectorAll("[data-type='footnotes-block']");Ie.forEach(function(Te,$e){$e===0?de=Te:(de.insertAdjacentHTML("beforeend",Te.innerHTML),Te.remove())}),Ie.length>0&&i.wysiwyg.element.insertAdjacentElement("beforeend",Ie[0]),(0,q.ib)(i.wysiwyg.element,a),i.wysiwyg.element.querySelectorAll(".vditor-wysiwyg__preview[data-render='2']").forEach(function(Te){tt(Te,i)}),s&&(s.inputType==="deleteContentBackward"||s.inputType==="deleteContentForward")&&i.options.comment.enable&&(i.wysiwyg.triggerRemoveComment(i),i.options.comment.adjustTop(i.wysiwyg.getComments(i,!0)))}Ht(i),Re(i,{enableAddUndoStack:!0,enableHint:!0,enableInput:!0})},pu=function(i,a){return Object.defineProperty?Object.defineProperty(i,"raw",{value:a}):i.raw=a,i},xs=function(i,a,s,u){function d(f){return f instanceof s?f:new s(function(E){E(f)})}return new(s||(s=Promise))(function(f,E){function L(B){try{_(u.next(B))}catch(K){E(K)}}function D(B){try{_(u.throw(B))}catch(K){E(K)}}function _(B){B.done?f(B.value):d(B.value).then(L,D)}_((u=u.apply(i,a||[])).next())})},ks=function(i,a){var s={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},u,d,f,E;return E={next:L(0),throw:L(1),return:L(2)},typeof Symbol=="function"&&(E[Symbol.iterator]=function(){return this}),E;function L(_){return function(B){return D([_,B])}}function D(_){if(u)throw new TypeError("Generator is already executing.");for(;E&&(E=0,_[0]&&(s=0)),s;)try{if(u=1,d&&(f=_[0]&2?d.return:_[0]?d.throw||((f=d.return)&&f.call(d),0):d.next)&&!(f=f.call(d,_[1])).done)return f;switch(d=0,f&&(_=[_[0]&2,f.value]),_[0]){case 0:case 1:f=_;break;case 4:return s.label++,{value:_[1],done:!1};case 5:s.label++,d=_[1],_=[0];continue;case 7:_=s.ops.pop(),s.trys.pop();continue;default:if(f=s.trys,!(f=f.length>0&&f[f.length-1])&&(_[0]===6||_[0]===2)){s=0;continue}if(_[0]===3&&(!f||_[1]>f[0]&&_[1]-1||(0,m.yl)(s)||s.key==="Escape"||s.shiftKey||s.altKey)){var u=(0,y.lG)(i.startContainer,"P")||(0,y.lG)(i.startContainer,"LI");if(u&&(0,q.im)(u,a[a.currentMode].element,i).start===0){u.nodeValue&&(u.nodeValue=u.nodeValue.replace(/\u2006/g,""));var d=document.createTextNode(c.g.ZWSP);i.insertNode(d),i.setStartAfter(d)}}},Ts=function(i,a){if(a==="ArrowDown"||a==="ArrowUp"){var s=(0,y.a1)(i.startContainer,"data-type","math-inline")||(0,y.a1)(i.startContainer,"data-type","html-entity")||(0,y.a1)(i.startContainer,"data-type","html-inline");s&&(a==="ArrowDown"&&i.setStartAfter(s.parentElement),a==="ArrowUp"&&i.setStartBefore(s.parentElement))}},hi=function(i,a){var s=(0,q.zh)(i),u=(0,y.F9)(s.startContainer);u&&(u.insertAdjacentHTML(a,'

    '.concat(c.g.ZWSP,` -

    `)),(0,q.ib)(i[i.currentMode].element,s),dr(i),lt(i))},fu=function(i){var a=(0,y.lG)(i,"TABLE");return a&&a.rows[0].cells[0].isSameNode(i)?a:!1},mu=function(i){var a=(0,y.lG)(i,"TABLE");return a&&a.lastElementChild.lastElementChild.lastElementChild.isSameNode(i)?a:!1},As=function(i,a,s){s===void 0&&(s=!0);var u=i.previousElementSibling;return u||(i.parentElement.previousElementSibling?u=i.parentElement.previousElementSibling.lastElementChild:i.parentElement.parentElement.tagName==="TBODY"&&i.parentElement.parentElement.previousElementSibling?u=i.parentElement.parentElement.previousElementSibling.lastElementChild.lastElementChild:u=null),u&&(a.selectNodeContents(u),s||a.collapse(!1),(0,q.Hc)(a)),u},pi=function(i,a,s,u,d){var f=(0,q.im)(u,i[i.currentMode].element,s);if(a.key==="ArrowDown"&&u.textContent.trimRight().substr(f.start).indexOf(` -`)===-1||a.key==="ArrowRight"&&f.start>=u.textContent.trimRight().length){var E=d.nextElementSibling;return!E||E&&(E.tagName==="TABLE"||E.getAttribute("data-type"))?(d.insertAdjacentHTML("afterend",'

    '.concat(c.g.ZWSP,"

    ")),(0,q.ib)(i[i.currentMode].element,s)):(s.selectNodeContents(E),s.collapse(!0),(0,q.Hc)(s)),a.preventDefault(),!0}return!1},Pr=function(i,a,s,u,d){var f=(0,q.im)(u,i[i.currentMode].element,s);if(a.key==="ArrowUp"&&u.textContent.substr(0,f.start).indexOf(` -`)===-1||(a.key==="ArrowLeft"||a.key==="Backspace"&&s.toString()==="")&&f.start===0){var E=d.previousElementSibling;return!E||E&&(E.tagName==="TABLE"||E.getAttribute("data-type"))?(d.insertAdjacentHTML("beforebegin",'

    '.concat(c.g.ZWSP,"

    ")),(0,q.ib)(i[i.currentMode].element,s)):(s.selectNodeContents(E),s.collapse(!1),(0,q.Hc)(s)),a.preventDefault(),!0}return!1},Ji=function(i,a,s,u){u===void 0&&(u=!0);var d=(0,y.lG)(a.startContainer,"LI");if(i[i.currentMode].element.querySelectorAll("wbr").forEach(function(B){B.remove()}),a.insertNode(document.createElement("wbr")),u&&d){for(var f="",E=0;E'.concat(d.parentElement.children[E].innerHTML.trimLeft(),"

    ")}d.parentElement.insertAdjacentHTML("beforebegin",f),d.parentElement.remove()}else if(d)if(s==="check")d.parentElement.querySelectorAll("li").forEach(function(B){B.insertAdjacentHTML("afterbegin",''.concat(B.textContent.indexOf(" ")===0?"":" ")),B.classList.add("vditor-task")});else{d.querySelector("input")&&d.parentElement.querySelectorAll("li").forEach(function(B){B.querySelector("input").remove(),B.classList.remove("vditor-task")});var _=void 0;s==="list"?(_=document.createElement("ul"),_.setAttribute("data-marker","*")):(_=document.createElement("ol"),_.setAttribute("data-marker","1.")),_.setAttribute("data-block","0"),_.setAttribute("data-tight",d.parentElement.getAttribute("data-tight")),_.innerHTML=d.parentElement.innerHTML,d.parentElement.parentNode.replaceChild(_,d.parentElement)}else{var D=(0,y.a1)(a.startContainer,"data-block","0");D||(i[i.currentMode].element.querySelector("wbr").remove(),D=i[i.currentMode].element.querySelector("p"),D.innerHTML=""),s==="check"?(D.insertAdjacentHTML("beforebegin",'
    • '.concat(D.innerHTML,"
    ")),D.remove()):s==="list"?(D.insertAdjacentHTML("beforebegin",'
    • '.concat(D.innerHTML,"
    ")),D.remove()):s==="ordered-list"&&(D.insertAdjacentHTML("beforebegin",'
    1. '.concat(D.innerHTML,"
    ")),D.remove())}},Ms=function(i,a,s){var u=a.previousElementSibling;if(a&&u){var d=[a];Array.from(s.cloneContents().children).forEach(function(D,_){D.nodeType!==3&&a&&D.textContent.trim()!==""&&a.getAttribute("data-node-id")===D.getAttribute("data-node-id")&&(_!==0&&d.push(a),a=a.nextElementSibling)}),i[i.currentMode].element.querySelectorAll("wbr").forEach(function(D){D.remove()}),s.insertNode(document.createElement("wbr"));var f=u.parentElement,E="";d.forEach(function(D){var _=D.getAttribute("data-marker");_.length!==1&&(_="1".concat(_.slice(-1))),E+='
  • ').concat(D.innerHTML,"
  • "),D.remove()}),u.insertAdjacentHTML("beforeend","<".concat(f.tagName,' data-block="0">').concat(E,"")),i.currentMode==="wysiwyg"?f.outerHTML=i.lute.SpinVditorDOM(f.outerHTML):f.outerHTML=i.lute.SpinVditorIRDOM(f.outerHTML),(0,q.ib)(i[i.currentMode].element,s);var L=(0,y.O9)(s.startContainer);L&&L.querySelectorAll(".vditor-".concat(i.currentMode,"__preview[data-render='2']")).forEach(function(D){tt(D,i),i.currentMode==="wysiwyg"&&D.previousElementSibling.setAttribute("style","display:none")}),lt(i),dr(i)}else i[i.currentMode].element.focus()},po=function(i,a,s,u){var d=(0,y.lG)(a.parentElement,"LI");if(d){i[i.currentMode].element.querySelectorAll("wbr").forEach(function(K){K.remove()}),s.insertNode(document.createElement("wbr"));var f=a.parentElement,E=f.cloneNode(),L=[a];Array.from(s.cloneContents().children).forEach(function(K,fe){K.nodeType!==3&&a&&K.textContent.trim()!==""&&a.getAttribute("data-node-id")===K.getAttribute("data-node-id")&&(fe!==0&&L.push(a),a=a.nextElementSibling)});var D=!1,_="";f.querySelectorAll("li").forEach(function(K){D&&(_+=K.outerHTML,!K.nextElementSibling&&!K.previousElementSibling?K.parentElement.remove():K.remove()),K.isSameNode(L[L.length-1])&&(D=!0)}),L.reverse().forEach(function(K){d.insertAdjacentElement("afterend",K)}),_&&(E.innerHTML=_,L[0].insertAdjacentElement("beforeend",E)),i.currentMode==="wysiwyg"?u.outerHTML=i.lute.SpinVditorDOM(u.outerHTML):u.outerHTML=i.lute.SpinVditorIRDOM(u.outerHTML),(0,q.ib)(i[i.currentMode].element,s);var B=(0,y.O9)(s.startContainer);B&&B.querySelectorAll(".vditor-".concat(i.currentMode,"__preview[data-render='2']")).forEach(function(K){tt(K,i),i.currentMode==="wysiwyg"&&K.previousElementSibling.setAttribute("style","display:none")}),lt(i),dr(i)}else i[i.currentMode].element.focus()},Qi=function(i,a){for(var s=getSelection().getRangeAt(0).startContainer.parentElement,u=i.rows[0].cells.length,d=i.rows.length,f=0,E=0;E=200&&xe.status<300)if(i.options.upload.success)i.options.upload.success(L,xe.responseText);else{var Pe=xe.responseText;i.options.upload.format&&(Pe=i.options.upload.format(a,xe.responseText)),Mi(Pe,i)}else i.options.upload.error?i.options.upload.error(xe.responseText):i.tip.show(xe.responseText);s&&(s.value=""),i.upload.element.style.display="none",i.upload.xhr=void 0}},xe.upload.onprogress=function(Pe){if(Pe.lengthComputable){var Te=Pe.loaded/Pe.total*100;i.upload.element.style.display="block";var $e=i.upload.element;$e.style.width=Te+"%"}},xe.send(_),[2]}})})},Yr=function(i,a,s){var u,d=(0,y.F9)(a.startContainer);if(d||(d=i.wysiwyg.element),s&&s.inputType!=="formatItalic"&&s.inputType!=="deleteByDrag"&&s.inputType!=="insertFromDrop"&&s.inputType!=="formatBold"&&s.inputType!=="formatRemove"&&s.inputType!=="formatStrikeThrough"&&s.inputType!=="insertUnorderedList"&&s.inputType!=="insertOrderedList"&&s.inputType!=="formatOutdent"&&s.inputType!=="formatIndent"&&s.inputType!==""||!s){var f=mt(a.startContainer);f&&f.remove(),i.wysiwyg.element.querySelectorAll("wbr").forEach(function(Te){Te.remove()}),a.insertNode(document.createElement("wbr")),d.querySelectorAll("[style]").forEach(function(Te){Te.removeAttribute("style")}),d.querySelectorAll(".vditor-comment").forEach(function(Te){Te.textContent.trim()===""&&(Te.classList.remove("vditor-comment","vditor-comment--focus"),Te.removeAttribute("data-cmtids"))}),(u=d.previousElementSibling)===null||u===void 0||u.querySelectorAll(".vditor-comment").forEach(function(Te){Te.textContent.trim()===""&&(Te.classList.remove("vditor-comment","vditor-comment--focus"),Te.removeAttribute("data-cmtids"))});var E="";d.getAttribute("data-type")==="link-ref-defs-block"&&(d=i.wysiwyg.element);var L=d.isEqualNode(i.wysiwyg.element),D=(0,y.a1)(d,"data-type","footnotes-block");if(L)E=d.innerHTML;else{var _=(0,y.O9)(a.startContainer);if(_&&!D){var B=(0,N.S)(a.startContainer,"BLOCKQUOTE");B?d=(0,y.F9)(a.startContainer)||d:d=_}if(D&&(d=D),E=d.outerHTML,d.tagName==="UL"||d.tagName==="OL"){var K=d.previousElementSibling,fe=d.nextElementSibling;K&&(K.tagName==="UL"||K.tagName==="OL")&&(E=K.outerHTML+E,K.remove()),fe&&(fe.tagName==="UL"||fe.tagName==="OL")&&(E=E+fe.outerHTML,fe.remove()),E=E.replace("

    ","

  • ")}d.innerText.startsWith("```")||(i.wysiwyg.element.querySelectorAll("[data-type='link-ref-defs-block']").forEach(function(Te){Te&&!d.isEqualNode(Te)&&(E+=Te.outerHTML,Te.remove())}),i.wysiwyg.element.querySelectorAll("[data-type='footnotes-block']").forEach(function(Te){Te&&!d.isEqualNode(Te)&&(E+=Te.outerHTML,Te.remove())}))}if(E=E.replace(/<\/(strong|b)>/g,"").replace(/<\/(em|i)>/g,"").replace(/<\/(s|strike)>/g,""),E==='

    ```

    '&&i.hint.recentLanguage&&(E='

    ```

    '.replace("```","```"+i.hint.recentLanguage)),z("SpinVditorDOM",E,"argument",i.options.debugger),E=i.lute.SpinVditorDOM(E),z("SpinVditorDOM",E,"result",i.options.debugger),L)d.innerHTML=E;else if(d.outerHTML=E,D){var be=(0,y.E2)(i.wysiwyg.element.querySelector("wbr"),"LI");if(be){var ce=i.wysiwyg.element.querySelector('sup[data-type="footnotes-ref"][data-footnotes-label="'.concat(be.getAttribute("data-marker"),'"]'));ce&&ce.setAttribute("aria-label",be.textContent.trim().substr(0,24))}}var ke,xe=i.wysiwyg.element.querySelectorAll("[data-type='link-ref-defs-block']");xe.forEach(function(Te,$e){$e===0?ke=Te:(ke.insertAdjacentHTML("beforeend",Te.innerHTML),Te.remove())}),xe.length>0&&i.wysiwyg.element.insertAdjacentElement("beforeend",xe[0]);var ue,Pe=i.wysiwyg.element.querySelectorAll("[data-type='footnotes-block']");Pe.forEach(function(Te,$e){$e===0?ue=Te:(ue.insertAdjacentHTML("beforeend",Te.innerHTML),Te.remove())}),Pe.length>0&&i.wysiwyg.element.insertAdjacentElement("beforeend",Pe[0]),(0,j.ib)(i.wysiwyg.element,a),i.wysiwyg.element.querySelectorAll(".vditor-wysiwyg__preview[data-render='2']").forEach(function(Te){Qe(Te,i)}),s&&(s.inputType==="deleteContentBackward"||s.inputType==="deleteContentForward")&&i.options.comment.enable&&(i.wysiwyg.triggerRemoveComment(i),i.options.comment.adjustTop(i.wysiwyg.getComments(i,!0)))}Ht(i),Oe(i,{enableAddUndoStack:!0,enableHint:!0,enableInput:!0})},Wo=function(i,a){return Object.defineProperty?Object.defineProperty(i,"raw",{value:a}):i.raw=a,i},ks=function(i,a,s,u){function d(f){return f instanceof s?f:new s(function(E){E(f)})}return new(s||(s=Promise))(function(f,E){function L(B){try{_(u.next(B))}catch(K){E(K)}}function D(B){try{_(u.throw(B))}catch(K){E(K)}}function _(B){B.done?f(B.value):d(B.value).then(L,D)}_((u=u.apply(i,a||[])).next())})},Ss=function(i,a){var s={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},u,d,f,E;return E={next:L(0),throw:L(1),return:L(2)},typeof Symbol=="function"&&(E[Symbol.iterator]=function(){return this}),E;function L(_){return function(B){return D([_,B])}}function D(_){if(u)throw new TypeError("Generator is already executing.");for(;E&&(E=0,_[0]&&(s=0)),s;)try{if(u=1,d&&(f=_[0]&2?d.return:_[0]?d.throw||((f=d.return)&&f.call(d),0):d.next)&&!(f=f.call(d,_[1])).done)return f;switch(d=0,f&&(_=[_[0]&2,f.value]),_[0]){case 0:case 1:f=_;break;case 4:return s.label++,{value:_[1],done:!1};case 5:s.label++,d=_[1],_=[0];continue;case 7:_=s.ops.pop(),s.trys.pop();continue;default:if(f=s.trys,!(f=f.length>0&&f[f.length-1])&&(_[0]===6||_[0]===2)){s=0;continue}if(_[0]===3&&(!f||_[1]>f[0]&&_[1]-1||(0,m.yl)(s)||s.key==="Escape"||s.shiftKey||s.altKey)){var u=(0,y.lG)(i.startContainer,"P")||(0,y.lG)(i.startContainer,"LI");if(u&&(0,j.im)(u,a[a.currentMode].element,i).start===0){u.nodeValue&&(u.nodeValue=u.nodeValue.replace(/\u2006/g,""));var d=document.createTextNode(c.g.ZWSP);i.insertNode(d),i.setStartAfter(d)}}},As=function(i,a){if(a==="ArrowDown"||a==="ArrowUp"){var s=(0,y.a1)(i.startContainer,"data-type","math-inline")||(0,y.a1)(i.startContainer,"data-type","html-entity")||(0,y.a1)(i.startContainer,"data-type","html-inline");s&&(a==="ArrowDown"&&i.setStartAfter(s.parentElement),a==="ArrowUp"&&i.setStartBefore(s.parentElement))}},pi=function(i,a){var s=(0,j.zh)(i),u=(0,y.F9)(s.startContainer);u&&(u.insertAdjacentHTML(a,'

    '.concat(c.g.ZWSP,` +

    `)),(0,j.ib)(i[i.currentMode].element,s),cr(i),st(i))},fu=function(i){var a=(0,y.lG)(i,"TABLE");return a&&a.rows[0].cells[0].isSameNode(i)?a:!1},mu=function(i){var a=(0,y.lG)(i,"TABLE");return a&&a.lastElementChild.lastElementChild.lastElementChild.isSameNode(i)?a:!1},Ms=function(i,a,s){s===void 0&&(s=!0);var u=i.previousElementSibling;return u||(i.parentElement.previousElementSibling?u=i.parentElement.previousElementSibling.lastElementChild:i.parentElement.parentElement.tagName==="TBODY"&&i.parentElement.parentElement.previousElementSibling?u=i.parentElement.parentElement.previousElementSibling.lastElementChild.lastElementChild:u=null),u&&(a.selectNodeContents(u),s||a.collapse(!1),(0,j.Hc)(a)),u},fi=function(i,a,s,u,d){var f=(0,j.im)(u,i[i.currentMode].element,s);if(a.key==="ArrowDown"&&u.textContent.trimRight().substr(f.start).indexOf(` +`)===-1||a.key==="ArrowRight"&&f.start>=u.textContent.trimRight().length){var E=d.nextElementSibling;return!E||E&&(E.tagName==="TABLE"||E.getAttribute("data-type"))?(d.insertAdjacentHTML("afterend",'

    '.concat(c.g.ZWSP,"

    ")),(0,j.ib)(i[i.currentMode].element,s)):(s.selectNodeContents(E),s.collapse(!0),(0,j.Hc)(s)),a.preventDefault(),!0}return!1},Pr=function(i,a,s,u,d){var f=(0,j.im)(u,i[i.currentMode].element,s);if(a.key==="ArrowUp"&&u.textContent.substr(0,f.start).indexOf(` +`)===-1||(a.key==="ArrowLeft"||a.key==="Backspace"&&s.toString()==="")&&f.start===0){var E=d.previousElementSibling;return!E||E&&(E.tagName==="TABLE"||E.getAttribute("data-type"))?(d.insertAdjacentHTML("beforebegin",'

    '.concat(c.g.ZWSP,"

    ")),(0,j.ib)(i[i.currentMode].element,s)):(s.selectNodeContents(E),s.collapse(!1),(0,j.Hc)(s)),a.preventDefault(),!0}return!1},Qi=function(i,a,s,u){u===void 0&&(u=!0);var d=(0,y.lG)(a.startContainer,"LI");if(i[i.currentMode].element.querySelectorAll("wbr").forEach(function(B){B.remove()}),a.insertNode(document.createElement("wbr")),u&&d){for(var f="",E=0;E'.concat(d.parentElement.children[E].innerHTML.trimLeft(),"

    ")}d.parentElement.insertAdjacentHTML("beforebegin",f),d.parentElement.remove()}else if(d)if(s==="check")d.parentElement.querySelectorAll("li").forEach(function(B){B.insertAdjacentHTML("afterbegin",''.concat(B.textContent.indexOf(" ")===0?"":" ")),B.classList.add("vditor-task")});else{d.querySelector("input")&&d.parentElement.querySelectorAll("li").forEach(function(B){B.querySelector("input").remove(),B.classList.remove("vditor-task")});var _=void 0;s==="list"?(_=document.createElement("ul"),_.setAttribute("data-marker","*")):(_=document.createElement("ol"),_.setAttribute("data-marker","1.")),_.setAttribute("data-block","0"),_.setAttribute("data-tight",d.parentElement.getAttribute("data-tight")),_.innerHTML=d.parentElement.innerHTML,d.parentElement.parentNode.replaceChild(_,d.parentElement)}else{var D=(0,y.a1)(a.startContainer,"data-block","0");D||(i[i.currentMode].element.querySelector("wbr").remove(),D=i[i.currentMode].element.querySelector("p"),D.innerHTML=""),s==="check"?(D.insertAdjacentHTML("beforebegin",'
    • '.concat(D.innerHTML,"
    ")),D.remove()):s==="list"?(D.insertAdjacentHTML("beforebegin",'
    • '.concat(D.innerHTML,"
    ")),D.remove()):s==="ordered-list"&&(D.insertAdjacentHTML("beforebegin",'
    1. '.concat(D.innerHTML,"
    ")),D.remove())}},Cs=function(i,a,s){var u=a.previousElementSibling;if(a&&u){var d=[a];Array.from(s.cloneContents().children).forEach(function(D,_){D.nodeType!==3&&a&&D.textContent.trim()!==""&&a.getAttribute("data-node-id")===D.getAttribute("data-node-id")&&(_!==0&&d.push(a),a=a.nextElementSibling)}),i[i.currentMode].element.querySelectorAll("wbr").forEach(function(D){D.remove()}),s.insertNode(document.createElement("wbr"));var f=u.parentElement,E="";d.forEach(function(D){var _=D.getAttribute("data-marker");_.length!==1&&(_="1".concat(_.slice(-1))),E+='
  • ').concat(D.innerHTML,"
  • "),D.remove()}),u.insertAdjacentHTML("beforeend","<".concat(f.tagName,' data-block="0">').concat(E,"")),i.currentMode==="wysiwyg"?f.outerHTML=i.lute.SpinVditorDOM(f.outerHTML):f.outerHTML=i.lute.SpinVditorIRDOM(f.outerHTML),(0,j.ib)(i[i.currentMode].element,s);var L=(0,y.O9)(s.startContainer);L&&L.querySelectorAll(".vditor-".concat(i.currentMode,"__preview[data-render='2']")).forEach(function(D){Qe(D,i),i.currentMode==="wysiwyg"&&D.previousElementSibling.setAttribute("style","display:none")}),st(i),cr(i)}else i[i.currentMode].element.focus()},po=function(i,a,s,u){var d=(0,y.lG)(a.parentElement,"LI");if(d){i[i.currentMode].element.querySelectorAll("wbr").forEach(function(K){K.remove()}),s.insertNode(document.createElement("wbr"));var f=a.parentElement,E=f.cloneNode(),L=[a];Array.from(s.cloneContents().children).forEach(function(K,fe){K.nodeType!==3&&a&&K.textContent.trim()!==""&&a.getAttribute("data-node-id")===K.getAttribute("data-node-id")&&(fe!==0&&L.push(a),a=a.nextElementSibling)});var D=!1,_="";f.querySelectorAll("li").forEach(function(K){D&&(_+=K.outerHTML,!K.nextElementSibling&&!K.previousElementSibling?K.parentElement.remove():K.remove()),K.isSameNode(L[L.length-1])&&(D=!0)}),L.reverse().forEach(function(K){d.insertAdjacentElement("afterend",K)}),_&&(E.innerHTML=_,L[0].insertAdjacentElement("beforeend",E)),i.currentMode==="wysiwyg"?u.outerHTML=i.lute.SpinVditorDOM(u.outerHTML):u.outerHTML=i.lute.SpinVditorIRDOM(u.outerHTML),(0,j.ib)(i[i.currentMode].element,s);var B=(0,y.O9)(s.startContainer);B&&B.querySelectorAll(".vditor-".concat(i.currentMode,"__preview[data-render='2']")).forEach(function(K){Qe(K,i),i.currentMode==="wysiwyg"&&K.previousElementSibling.setAttribute("style","display:none")}),st(i),cr(i)}else i[i.currentMode].element.focus()},ea=function(i,a){for(var s=getSelection().getRangeAt(0).startContainer.parentElement,u=i.rows[0].cells.length,d=i.rows.length,f=0,E=0;E2?!(a.indexOf("-")>-1&&a.trimLeft().indexOf(" ")===-1&&i.trimRight().split(` `).length>1||a.indexOf(" ")===0||a.indexOf(" ")===0):!1},mo=function(i){var a=i.trimRight().split(` -`);return i=a.pop(),i.indexOf(" ")===0||i.indexOf(" ")===0||(i=i.trimLeft(),i===""||a.length===0)?!1:i.replace(/-/g,"")===""||i.replace(/=/g,"")===""},lt=function(i,a){a===void 0&&(a={enableAddUndoStack:!0,enableHint:!1,enableInput:!0}),i.currentMode==="wysiwyg"?Re(i,a):i.currentMode==="ir"?Xn(i,a):i.currentMode==="sv"&&Ge(i,a)},Cs=function(i,a,s,u){var d,f=i.startContainer,E=(0,y.lG)(f,"LI");if(E){if(!(0,m.yl)(u)&&!u.altKey&&u.key==="Enter"&&!u.shiftKey&&s&&E.contains(s)&&s.nextElementSibling)return E&&!E.textContent.endsWith(` +`);return i=a.pop(),i.indexOf(" ")===0||i.indexOf(" ")===0||(i=i.trimLeft(),i===""||a.length===0)?!1:i.replace(/-/g,"")===""||i.replace(/=/g,"")===""},st=function(i,a){a===void 0&&(a={enableAddUndoStack:!0,enableHint:!1,enableInput:!0}),i.currentMode==="wysiwyg"?Oe(i,a):i.currentMode==="ir"?Kn(i,a):i.currentMode==="sv"&&ze(i,a)},Ls=function(i,a,s,u){var d,f=i.startContainer,E=(0,y.lG)(f,"LI");if(E){if(!(0,m.yl)(u)&&!u.altKey&&u.key==="Enter"&&!u.shiftKey&&s&&E.contains(s)&&s.nextElementSibling)return E&&!E.textContent.endsWith(` `)&&E.insertAdjacentText("beforeend",` `),i.insertNode(document.createTextNode(` -`)),i.collapse(!1),lt(a),u.preventDefault(),!0;if(!(0,m.yl)(u)&&!u.shiftKey&&!u.altKey&&u.key==="Backspace"&&!E.previousElementSibling&&i.toString()===""&&(0,q.im)(E,a[a.currentMode].element,i).start===0)return E.nextElementSibling?(E.parentElement.insertAdjacentHTML("beforebegin",'

    '.concat(E.innerHTML,"

    ")),E.remove()):E.parentElement.outerHTML='

    '.concat(E.innerHTML,"

    "),(0,q.ib)(a[a.currentMode].element,i),lt(a),u.preventDefault(),!0;if(!(0,m.yl)(u)&&!u.shiftKey&&!u.altKey&&u.key==="Backspace"&&E.textContent.trim().replace(c.g.ZWSP,"")===""&&i.toString()===""&&((d=E.previousElementSibling)===null||d===void 0?void 0:d.tagName)==="LI")return E.previousElementSibling.insertAdjacentText("beforeend",` +`)),i.collapse(!1),st(a),u.preventDefault(),!0;if(!(0,m.yl)(u)&&!u.shiftKey&&!u.altKey&&u.key==="Backspace"&&!E.previousElementSibling&&i.toString()===""&&(0,j.im)(E,a[a.currentMode].element,i).start===0)return E.nextElementSibling?(E.parentElement.insertAdjacentHTML("beforebegin",'

    '.concat(E.innerHTML,"

    ")),E.remove()):E.parentElement.outerHTML='

    '.concat(E.innerHTML,"

    "),(0,j.ib)(a[a.currentMode].element,i),st(a),u.preventDefault(),!0;if(!(0,m.yl)(u)&&!u.shiftKey&&!u.altKey&&u.key==="Backspace"&&E.textContent.trim().replace(c.g.ZWSP,"")===""&&i.toString()===""&&((d=E.previousElementSibling)===null||d===void 0?void 0:d.tagName)==="LI")return E.previousElementSibling.insertAdjacentText("beforeend",` -`),i.selectNodeContents(E.previousElementSibling),i.collapse(!1),E.remove(),(0,q.ib)(a[a.currentMode].element,i),lt(a),u.preventDefault(),!0;if(!(0,m.yl)(u)&&!u.altKey&&u.key==="Tab"){var L=!1;if((i.startOffset===0&&(f.nodeType===3&&!f.previousSibling||f.nodeType!==3&&f.nodeName==="LI")||E.classList.contains("vditor-task")&&i.startOffset===1&&f.previousSibling.nodeType!==3&&f.previousSibling.tagName==="INPUT")&&(L=!0),L||i.toString()!=="")return u.shiftKey?po(a,E,i,E.parentElement):Ms(a,E,i),u.preventDefault(),!0}}return!1},go=function(i,a,s){if(i.options.tab&&s.key==="Tab")return s.shiftKey||(a.toString()===""?(a.insertNode(document.createTextNode(i.options.tab)),a.collapse(!1)):(a.extractContents(),a.insertNode(document.createTextNode(i.options.tab)),a.collapse(!1))),(0,q.Hc)(a),lt(i),s.preventDefault(),!0},Ls=function(i,a,s,u){if(s){if(!(0,m.yl)(i)&&!i.altKey&&i.key==="Enter"){var d=String.raw(qs||(qs=pu(["",""],["",""])),s.textContent).replace(/\\\|/g,"").trim(),f=d.split("|");if(d.startsWith("|")&&d.endsWith("|")&&f.length>3){var E=f.map(function(){return"---"}).join("|");return E=s.textContent+` +`),i.selectNodeContents(E.previousElementSibling),i.collapse(!1),E.remove(),(0,j.ib)(a[a.currentMode].element,i),st(a),u.preventDefault(),!0;if(!(0,m.yl)(u)&&!u.altKey&&u.key==="Tab"){var L=!1;if((i.startOffset===0&&(f.nodeType===3&&!f.previousSibling||f.nodeType!==3&&f.nodeName==="LI")||E.classList.contains("vditor-task")&&i.startOffset===1&&f.previousSibling.nodeType!==3&&f.previousSibling.tagName==="INPUT")&&(L=!0),L||i.toString()!=="")return u.shiftKey?po(a,E,i,E.parentElement):Cs(a,E,i),u.preventDefault(),!0}}return!1},go=function(i,a,s){if(i.options.tab&&s.key==="Tab")return s.shiftKey||(a.toString()===""?(a.insertNode(document.createTextNode(i.options.tab)),a.collapse(!1)):(a.extractContents(),a.insertNode(document.createTextNode(i.options.tab)),a.collapse(!1))),(0,j.Hc)(a),st(i),s.preventDefault(),!0},_s=function(i,a,s,u){if(s){if(!(0,m.yl)(i)&&!i.altKey&&i.key==="Enter"){var d=String.raw(js||(js=Wo(["",""],["",""])),s.textContent).replace(/\\\|/g,"").trim(),f=d.split("|");if(d.startsWith("|")&&d.endsWith("|")&&f.length>3){var E=f.map(function(){return"---"}).join("|");return E=s.textContent+` `+E.substring(3,E.length-3)+` -|`,s.outerHTML=a.lute.SpinVditorDOM(E),(0,q.ib)(a[a.currentMode].element,u),lt(a),Z(a),i.preventDefault(),!0}if(fo(s.innerHTML)&&s.previousElementSibling){var L="",D=s.innerHTML.trimRight().split(` +|`,s.outerHTML=a.lute.SpinVditorDOM(E),(0,j.ib)(a[a.currentMode].element,u),st(a),X(a),i.preventDefault(),!0}if(fo(s.innerHTML)&&s.previousElementSibling){var L="",D=s.innerHTML.trimRight().split(` `);return D.length>1&&(D.pop(),L='

    '.concat(D.join(` `),"

    ")),s.insertAdjacentHTML("afterend","".concat(L,`

    -

    `)),s.remove(),(0,q.ib)(a[a.currentMode].element,u),lt(a),Z(a),i.preventDefault(),!0}if(mo(s.innerHTML))return a.currentMode==="wysiwyg"?s.outerHTML=a.lute.SpinVditorDOM(s.innerHTML+`

    +

    `)),s.remove(),(0,j.ib)(a[a.currentMode].element,u),st(a),X(a),i.preventDefault(),!0}if(mo(s.innerHTML))return a.currentMode==="wysiwyg"?s.outerHTML=a.lute.SpinVditorDOM(s.innerHTML+`

    `):s.outerHTML=a.lute.SpinVditorIRDOM(s.innerHTML+`

    -

    `),(0,q.ib)(a[a.currentMode].element,u),lt(a),Z(a),i.preventDefault(),!0}if(u.collapsed&&s.previousElementSibling&&i.key==="Backspace"&&!(0,m.yl)(i)&&!i.altKey&&!i.shiftKey&&s.textContent.trimRight().split(` -`).length>1&&(0,q.im)(s,a[a.currentMode].element,u).start===0){var _=(0,y.DX)(s.previousElementSibling);return _.textContent.endsWith(` +

    `),(0,j.ib)(a[a.currentMode].element,u),st(a),X(a),i.preventDefault(),!0}if(u.collapsed&&s.previousElementSibling&&i.key==="Backspace"&&!(0,m.yl)(i)&&!i.altKey&&!i.shiftKey&&s.textContent.trimRight().split(` +`).length>1&&(0,j.im)(s,a[a.currentMode].element,u).start===0){var _=(0,y.DX)(s.previousElementSibling);return _.textContent.endsWith(` `)||(_.textContent=_.textContent+` -`),_.parentElement.insertAdjacentHTML("beforeend","".concat(s.innerHTML)),s.remove(),(0,q.ib)(a[a.currentMode].element,u),!1}return!1}},_s=function(i,a,s){for(var u="",d=0;d ');s.tagName==="TH"?s.parentElement.parentElement.insertAdjacentHTML("afterend","".concat(u,"")):s.parentElement.insertAdjacentHTML("afterend","".concat(u,"")),lt(i)},Ns=function(i,a,s){for(var u="",d=0;d '):u+=' ');if(s.tagName==="TH"){s.parentElement.parentElement.insertAdjacentHTML("beforebegin","".concat(u,"")),a.insertNode(document.createElement("wbr"));var f=s.parentElement.innerHTML.replace(//g,"").replace(/<\/th>/g,"");s.parentElement.parentElement.nextElementSibling.insertAdjacentHTML("afterbegin",f),s.parentElement.parentElement.remove(),(0,q.ib)(i.ir.element,a)}else s.parentElement.insertAdjacentHTML("beforebegin","".concat(u,""));lt(i)},ea=function(i,a,s,u){u===void 0&&(u="afterend");for(var d=0,f=s.previousElementSibling;f;)d++,f=f.previousElementSibling;for(var E=0;E "):a.rows[E].cells[d].insertAdjacentHTML(u," ");lt(i)},Ds=function(i,a,s){if(s.tagName==="TD"){var u=s.parentElement.parentElement;s.parentElement.previousElementSibling?a.selectNodeContents(s.parentElement.previousElementSibling.lastElementChild):a.selectNodeContents(u.previousElementSibling.lastElementChild.lastElementChild),u.childElementCount===1?u.remove():s.parentElement.remove(),a.collapse(!1),(0,q.Hc)(a),lt(i)}},Rs=function(i,a,s,u){for(var d=0,f=u.previousElementSibling;f;)d++,f=f.previousElementSibling;(u.previousElementSibling||u.nextElementSibling)&&(a.selectNodeContents(u.previousElementSibling||u.nextElementSibling),a.collapse(!0));for(var E=0;E");var f=document.createElement("br");return s.insertNode(f),s.setStartAfter(f),lt(i),Z(i),a.preventDefault(),!0}if(a.key==="Tab"){if(a.shiftKey)return As(d,s),a.preventDefault(),!0;var E=d.nextElementSibling;return E||(d.parentElement.nextElementSibling?E=d.parentElement.nextElementSibling.firstElementChild:d.parentElement.parentElement.tagName==="THEAD"&&d.parentElement.parentElement.nextElementSibling?E=d.parentElement.parentElement.nextElementSibling.firstElementChild.firstElementChild:E=null),E&&(s.selectNodeContents(E),(0,q.Hc)(s)),a.preventDefault(),!0}var L=d.parentElement.parentElement.parentElement;if(a.key==="ArrowUp"){if(a.preventDefault(),d.tagName==="TH")return L.previousElementSibling?(s.selectNodeContents(L.previousElementSibling),s.collapse(!1),(0,q.Hc)(s)):hi(i,"beforebegin"),!0;for(var D=0,_=d.parentElement;D<_.cells.length&&!_.cells[D].isSameNode(d);D++);var B=_.previousElementSibling;return B||(B=_.parentElement.previousElementSibling.firstChild),s.selectNodeContents(B.cells[D]),s.collapse(!1),(0,q.Hc)(s),!0}if(a.key==="ArrowDown"){a.preventDefault();var _=d.parentElement;if(!_.nextElementSibling&&d.tagName==="TD")return L.nextElementSibling?(s.selectNodeContents(L.nextElementSibling),s.collapse(!0),(0,q.Hc)(s)):hi(i,"afterend"),!0;for(var D=0;D<_.cells.length&&!_.cells[D].isSameNode(d);D++);var E=_.nextElementSibling;return E||(E=_.parentElement.nextElementSibling.firstChild),s.selectNodeContents(E.cells[D]),s.collapse(!0),(0,q.Hc)(s),!0}if(i.currentMode==="wysiwyg"&&!(0,m.yl)(a)&&a.key==="Enter"&&!a.shiftKey&&a.altKey){var K=i.wysiwyg.popover.querySelector(".vditor-input");return K.focus(),K.select(),a.preventDefault(),!0}if(!(0,m.yl)(a)&&!a.shiftKey&&!a.altKey&&a.key==="Backspace"&&s.startOffset===0&&s.toString()===""){var fe=As(d,s,!1);return!fe&&L&&(L.textContent.trim()===""?(L.outerHTML=`

    -

    `,(0,q.ib)(i[i.currentMode].element,s)):(s.setStartBefore(L),s.collapse(!0)),lt(i)),a.preventDefault(),!0}if(oe("⇧⌘F",a))return Ns(i,s,d),a.preventDefault(),!0;if(oe("⌘=",a))return _s(i,s,d),a.preventDefault(),!0;if(oe("⇧⌘G",a))return ea(i,L,d,"beforebegin"),a.preventDefault(),!0;if(oe("⇧⌘=",a))return ea(i,L,d),a.preventDefault(),!0;if(oe("⌘-",a))return Ds(i,s,d),a.preventDefault(),!0;if(oe("⇧⌘-",a))return Rs(i,s,L,d),a.preventDefault(),!0;if(oe("⇧⌘L",a)){if(i.currentMode==="ir")return Qi(L,"left"),lt(i),a.preventDefault(),!0;var ve=i.wysiwyg.popover.querySelector('[data-type="left"]');if(ve)return ve.click(),a.preventDefault(),!0}if(oe("⇧⌘C",a)){if(i.currentMode==="ir")return Qi(L,"center"),lt(i),a.preventDefault(),!0;var ve=i.wysiwyg.popover.querySelector('[data-type="center"]');if(ve)return ve.click(),a.preventDefault(),!0}if(oe("⇧⌘R",a)){if(i.currentMode==="ir")return Qi(L,"right"),lt(i),a.preventDefault(),!0;var ve=i.wysiwyg.popover.querySelector('[data-type="right"]');if(ve)return ve.click(),a.preventDefault(),!0}}return!1},Os=function(i,a,s,u){if(s.tagName==="PRE"&&oe("⌘A",a))return u.selectNodeContents(s.firstElementChild),a.preventDefault(),!0;if(i.options.tab&&a.key==="Tab"&&!a.shiftKey&&u.toString()==="")return u.insertNode(document.createTextNode(i.options.tab)),u.collapse(!1),lt(i),a.preventDefault(),!0;if(a.key==="Backspace"&&!(0,m.yl)(a)&&!a.shiftKey&&!a.altKey){var d=(0,q.im)(s,i[i.currentMode].element,u);if((d.start===0||d.start===1&&s.innerText===` -`)&&u.toString()==="")return s.parentElement.outerHTML='

    '.concat(s.firstElementChild.innerHTML,"

    "),(0,q.ib)(i[i.currentMode].element,u),lt(i),a.preventDefault(),!0}return!(0,m.yl)(a)&&!a.altKey&&a.key==="Enter"?(s.firstElementChild.textContent.endsWith(` +`),_.parentElement.insertAdjacentHTML("beforeend","".concat(s.innerHTML)),s.remove(),(0,j.ib)(a[a.currentMode].element,u),!1}return!1}},Ns=function(i,a,s){for(var u="",d=0;d ');s.tagName==="TH"?s.parentElement.parentElement.insertAdjacentHTML("afterend","".concat(u,"")):s.parentElement.insertAdjacentHTML("afterend","".concat(u,"")),st(i)},Ds=function(i,a,s){for(var u="",d=0;d '):u+=' ');if(s.tagName==="TH"){s.parentElement.parentElement.insertAdjacentHTML("beforebegin","".concat(u,"")),a.insertNode(document.createElement("wbr"));var f=s.parentElement.innerHTML.replace(//g,"").replace(/<\/th>/g,"");s.parentElement.parentElement.nextElementSibling.insertAdjacentHTML("afterbegin",f),s.parentElement.parentElement.remove(),(0,j.ib)(i.ir.element,a)}else s.parentElement.insertAdjacentHTML("beforebegin","".concat(u,""));st(i)},ta=function(i,a,s,u){u===void 0&&(u="afterend");for(var d=0,f=s.previousElementSibling;f;)d++,f=f.previousElementSibling;for(var E=0;E "):a.rows[E].cells[d].insertAdjacentHTML(u," ");st(i)},Rs=function(i,a,s){if(s.tagName==="TD"){var u=s.parentElement.parentElement;s.parentElement.previousElementSibling?a.selectNodeContents(s.parentElement.previousElementSibling.lastElementChild):a.selectNodeContents(u.previousElementSibling.lastElementChild.lastElementChild),u.childElementCount===1?u.remove():s.parentElement.remove(),a.collapse(!1),(0,j.Hc)(a),st(i)}},Is=function(i,a,s,u){for(var d=0,f=u.previousElementSibling;f;)d++,f=f.previousElementSibling;(u.previousElementSibling||u.nextElementSibling)&&(a.selectNodeContents(u.previousElementSibling||u.nextElementSibling),a.collapse(!0));for(var E=0;E");var f=document.createElement("br");return s.insertNode(f),s.setStartAfter(f),st(i),X(i),a.preventDefault(),!0}if(a.key==="Tab"){if(a.shiftKey)return Ms(d,s),a.preventDefault(),!0;var E=d.nextElementSibling;return E||(d.parentElement.nextElementSibling?E=d.parentElement.nextElementSibling.firstElementChild:d.parentElement.parentElement.tagName==="THEAD"&&d.parentElement.parentElement.nextElementSibling?E=d.parentElement.parentElement.nextElementSibling.firstElementChild.firstElementChild:E=null),E&&(s.selectNodeContents(E),(0,j.Hc)(s)),a.preventDefault(),!0}var L=d.parentElement.parentElement.parentElement;if(a.key==="ArrowUp"){if(a.preventDefault(),d.tagName==="TH")return L.previousElementSibling?(s.selectNodeContents(L.previousElementSibling),s.collapse(!1),(0,j.Hc)(s)):pi(i,"beforebegin"),!0;for(var D=0,_=d.parentElement;D<_.cells.length&&!_.cells[D].isSameNode(d);D++);var B=_.previousElementSibling;return B||(B=_.parentElement.previousElementSibling.firstChild),s.selectNodeContents(B.cells[D]),s.collapse(!1),(0,j.Hc)(s),!0}if(a.key==="ArrowDown"){a.preventDefault();var _=d.parentElement;if(!_.nextElementSibling&&d.tagName==="TD")return L.nextElementSibling?(s.selectNodeContents(L.nextElementSibling),s.collapse(!0),(0,j.Hc)(s)):pi(i,"afterend"),!0;for(var D=0;D<_.cells.length&&!_.cells[D].isSameNode(d);D++);var E=_.nextElementSibling;return E||(E=_.parentElement.nextElementSibling.firstChild),s.selectNodeContents(E.cells[D]),s.collapse(!0),(0,j.Hc)(s),!0}if(i.currentMode==="wysiwyg"&&!(0,m.yl)(a)&&a.key==="Enter"&&!a.shiftKey&&a.altKey){var K=i.wysiwyg.popover.querySelector(".vditor-input");return K.focus(),K.select(),a.preventDefault(),!0}if(!(0,m.yl)(a)&&!a.shiftKey&&!a.altKey&&a.key==="Backspace"&&s.startOffset===0&&s.toString()===""){var fe=Ms(d,s,!1);return!fe&&L&&(L.textContent.trim()===""?(L.outerHTML=`

    +

    `,(0,j.ib)(i[i.currentMode].element,s)):(s.setStartBefore(L),s.collapse(!0)),st(i)),a.preventDefault(),!0}if(oe("⇧⌘F",a))return Ds(i,s,d),a.preventDefault(),!0;if(oe("⌘=",a))return Ns(i,s,d),a.preventDefault(),!0;if(oe("⇧⌘G",a))return ta(i,L,d,"beforebegin"),a.preventDefault(),!0;if(oe("⇧⌘=",a))return ta(i,L,d),a.preventDefault(),!0;if(oe("⌘-",a))return Rs(i,s,d),a.preventDefault(),!0;if(oe("⇧⌘-",a))return Is(i,s,L,d),a.preventDefault(),!0;if(oe("⇧⌘L",a)){if(i.currentMode==="ir")return ea(L,"left"),st(i),a.preventDefault(),!0;var be=i.wysiwyg.popover.querySelector('[data-type="left"]');if(be)return be.click(),a.preventDefault(),!0}if(oe("⇧⌘C",a)){if(i.currentMode==="ir")return ea(L,"center"),st(i),a.preventDefault(),!0;var be=i.wysiwyg.popover.querySelector('[data-type="center"]');if(be)return be.click(),a.preventDefault(),!0}if(oe("⇧⌘R",a)){if(i.currentMode==="ir")return ea(L,"right"),st(i),a.preventDefault(),!0;var be=i.wysiwyg.popover.querySelector('[data-type="right"]');if(be)return be.click(),a.preventDefault(),!0}}return!1},Hs=function(i,a,s,u){if(s.tagName==="PRE"&&oe("⌘A",a))return u.selectNodeContents(s.firstElementChild),a.preventDefault(),!0;if(i.options.tab&&a.key==="Tab"&&!a.shiftKey&&u.toString()==="")return u.insertNode(document.createTextNode(i.options.tab)),u.collapse(!1),st(i),a.preventDefault(),!0;if(a.key==="Backspace"&&!(0,m.yl)(a)&&!a.shiftKey&&!a.altKey){var d=(0,j.im)(s,i[i.currentMode].element,u);if((d.start===0||d.start===1&&s.innerText===` +`)&&u.toString()==="")return s.parentElement.outerHTML='

    '.concat(s.firstElementChild.innerHTML,"

    "),(0,j.ib)(i[i.currentMode].element,u),st(i),a.preventDefault(),!0}return!(0,m.yl)(a)&&!a.altKey&&a.key==="Enter"?(s.firstElementChild.textContent.endsWith(` `)||s.firstElementChild.insertAdjacentText("beforeend",` `),u.extractContents(),u.insertNode(document.createTextNode(` -`)),u.collapse(!1),(0,q.Hc)(u),(0,m.vU)()||(i.currentMode==="wysiwyg"?Zr(i,u):Nt(i,u)),Z(i),a.preventDefault(),!0):!1},Hs=function(i,a,s,u){var d=a.startContainer,f=(0,y.lG)(d,"BLOCKQUOTE");if(f&&a.toString()===""){if(s.key==="Backspace"&&!(0,m.yl)(s)&&!s.shiftKey&&!s.altKey&&(0,q.im)(f,i[i.currentMode].element,a).start===0)return a.insertNode(document.createElement("wbr")),f.outerHTML=f.innerHTML,(0,q.ib)(i[i.currentMode].element,a),lt(i),s.preventDefault(),!0;if(u&&s.key==="Enter"&&!(0,m.yl)(s)&&!s.shiftKey&&!s.altKey&&u.parentElement.tagName==="BLOCKQUOTE"){var E=!1;if(u.innerHTML.replace(c.g.ZWSP,"")===` +`)),u.collapse(!1),(0,j.Hc)(u),(0,m.vU)()||(i.currentMode==="wysiwyg"?Yr(i,u):Nt(i,u)),X(i),a.preventDefault(),!0):!1},Ps=function(i,a,s,u){var d=a.startContainer,f=(0,y.lG)(d,"BLOCKQUOTE");if(f&&a.toString()===""){if(s.key==="Backspace"&&!(0,m.yl)(s)&&!s.shiftKey&&!s.altKey&&(0,j.im)(f,i[i.currentMode].element,a).start===0)return a.insertNode(document.createElement("wbr")),f.outerHTML=f.innerHTML,(0,j.ib)(i[i.currentMode].element,a),st(i),s.preventDefault(),!0;if(u&&s.key==="Enter"&&!(0,m.yl)(s)&&!s.shiftKey&&!s.altKey&&u.parentElement.tagName==="BLOCKQUOTE"){var E=!1;if(u.innerHTML.replace(c.g.ZWSP,"")===` `||u.innerHTML.replace(c.g.ZWSP,"")===""?(E=!0,u.remove()):u.innerHTML.endsWith(` -`)&&(0,q.im)(u,i[i.currentMode].element,a).start===u.textContent.length-1&&(u.innerHTML=u.innerHTML.substr(0,u.innerHTML.length-2),E=!0),E)return f.insertAdjacentHTML("afterend",'

    '.concat(c.g.ZWSP,` -

    `)),(0,q.ib)(i[i.currentMode].element,a),lt(i),s.preventDefault(),!0}var L=(0,y.F9)(d);if(i.currentMode==="wysiwyg"&&L&&oe("⇧⌘;",s))return a.insertNode(document.createElement("wbr")),L.outerHTML='
    '.concat(L.outerHTML,"
    "),(0,q.ib)(i.wysiwyg.element,a),Re(i),s.preventDefault(),!0;if(pi(i,s,a,f,f)||Pr(i,s,a,f,f))return!0}return!1},Ps=function(i,a,s){var u=a.startContainer,d=(0,y.lG)(u,"LI");if(d&&d.classList.contains("vditor-task")){if(oe("⇧⌘J",s)){var f=d.firstElementChild;return f.checked?f.removeAttribute("checked"):f.setAttribute("checked","checked"),lt(i),s.preventDefault(),!0}if(s.key==="Backspace"&&!(0,m.yl)(s)&&!s.shiftKey&&!s.altKey&&a.toString()===""&&a.startOffset===1&&(u.nodeType===3&&u.previousSibling&&u.previousSibling.tagName==="INPUT"||u.nodeType!==3)){var E=d.previousElementSibling;if(d.querySelector("input").remove(),E){var L=(0,y.DX)(E);L.parentElement.insertAdjacentHTML("beforeend",""+d.innerHTML.trim()),d.remove()}else d.parentElement.insertAdjacentHTML("beforebegin",'

    '.concat(d.innerHTML.trim()||` -`,"

    ")),d.nextElementSibling?d.remove():d.parentElement.remove();return(0,q.ib)(i[i.currentMode].element,a),lt(i),s.preventDefault(),!0}if(s.key==="Enter"&&!(0,m.yl)(s)&&!s.shiftKey&&!s.altKey){if(d.textContent.trim()==="")if((0,y.fb)(d.parentElement,"vditor-task")){var D=(0,y.O9)(u);D&&po(i,d,a,D)}else if(d.nextElementSibling){var _="",B="",K=!1;Array.from(d.parentElement.children).forEach(function(ke){d.isSameNode(ke)?K=!0:K?_+=ke.outerHTML:B+=ke.outerHTML});var fe=d.parentElement.tagName,ve=d.parentElement.tagName==="OL"?"":' data-marker="'.concat(d.parentElement.getAttribute("data-marker"),'"'),ue="";B&&(ue=d.parentElement.tagName==="UL"?"":' start="1"',B="<".concat(fe,' data-tight="true"').concat(ve,' data-block="0">').concat(B,"")),d.parentElement.outerHTML="".concat(B,`

    +`)&&(0,j.im)(u,i[i.currentMode].element,a).start===u.textContent.length-1&&(u.innerHTML=u.innerHTML.substr(0,u.innerHTML.length-2),E=!0),E)return f.insertAdjacentHTML("afterend",'

    '.concat(c.g.ZWSP,` +

    `)),(0,j.ib)(i[i.currentMode].element,a),st(i),s.preventDefault(),!0}var L=(0,y.F9)(d);if(i.currentMode==="wysiwyg"&&L&&oe("⇧⌘;",s))return a.insertNode(document.createElement("wbr")),L.outerHTML='
    '.concat(L.outerHTML,"
    "),(0,j.ib)(i.wysiwyg.element,a),Oe(i),s.preventDefault(),!0;if(fi(i,s,a,f,f)||Pr(i,s,a,f,f))return!0}return!1},zs=function(i,a,s){var u=a.startContainer,d=(0,y.lG)(u,"LI");if(d&&d.classList.contains("vditor-task")){if(oe("⇧⌘J",s)){var f=d.firstElementChild;return f.checked?f.removeAttribute("checked"):f.setAttribute("checked","checked"),st(i),s.preventDefault(),!0}if(s.key==="Backspace"&&!(0,m.yl)(s)&&!s.shiftKey&&!s.altKey&&a.toString()===""&&a.startOffset===1&&(u.nodeType===3&&u.previousSibling&&u.previousSibling.tagName==="INPUT"||u.nodeType!==3)){var E=d.previousElementSibling;if(d.querySelector("input").remove(),E){var L=(0,y.DX)(E);L.parentElement.insertAdjacentHTML("beforeend",""+d.innerHTML.trim()),d.remove()}else d.parentElement.insertAdjacentHTML("beforebegin",'

    '.concat(d.innerHTML.trim()||` +`,"

    ")),d.nextElementSibling?d.remove():d.parentElement.remove();return(0,j.ib)(i[i.currentMode].element,a),st(i),s.preventDefault(),!0}if(s.key==="Enter"&&!(0,m.yl)(s)&&!s.shiftKey&&!s.altKey){if(d.textContent.trim()==="")if((0,y.fb)(d.parentElement,"vditor-task")){var D=(0,y.O9)(u);D&&po(i,d,a,D)}else if(d.nextElementSibling){var _="",B="",K=!1;Array.from(d.parentElement.children).forEach(function(ke){d.isSameNode(ke)?K=!0:K?_+=ke.outerHTML:B+=ke.outerHTML});var fe=d.parentElement.tagName,be=d.parentElement.tagName==="OL"?"":' data-marker="'.concat(d.parentElement.getAttribute("data-marker"),'"'),ce="";B&&(ce=d.parentElement.tagName==="UL"?"":' start="1"',B="<".concat(fe,' data-tight="true"').concat(be,' data-block="0">').concat(B,"")),d.parentElement.outerHTML="".concat(B,`

    <`).concat(fe,` - data-tight="true"`).concat(ve,' data-block="0"').concat(ue,">").concat(_,"")}else d.parentElement.insertAdjacentHTML("afterend",`

    -

    `),d.parentElement.querySelectorAll("li").length===1?d.parentElement.remove():d.remove();else u.nodeType!==3&&a.startOffset===0&&u.firstChild.tagName==="INPUT"?a.setStart(u.childNodes[1],1):(a.setEndAfter(d.lastChild),d.insertAdjacentHTML("afterend",'
  • ')),document.querySelector("wbr").after(a.extractContents()));return(0,q.ib)(i[i.currentMode].element,a),lt(i),Z(i),s.preventDefault(),!0}}return!1},zs=function(i,a,s,u){if(a.startContainer.nodeType!==3){var d=a.startContainer.children[a.startOffset];if(d&&d.tagName==="HR")return a.selectNodeContents(d.previousElementSibling),a.collapse(!1),s.preventDefault(),!0}if(u){var f=u.previousElementSibling;if(f&&(0,q.im)(u,i[i.currentMode].element,a).start===0&&((0,m.vU)()&&f.tagName==="HR"||f.tagName==="TABLE")){if(f.tagName==="TABLE"){var E=f.lastElementChild.lastElementChild.lastElementChild;E.innerHTML=E.innerHTML.trimLeft()+""+u.textContent.trim(),u.remove()}else f.remove();return(0,q.ib)(i[i.currentMode].element,a),lt(i),s.preventDefault(),!0}}return!1},Bs=function(i){(0,m.vU)()&&i.startContainer.nodeType!==3&&i.startContainer.tagName==="HR"&&i.setStartBefore(i.startContainer)},Fs=function(i,a,s){var u,d;if(!(0,m.vU)())return!1;if(i.key==="ArrowUp"&&a&&((u=a.previousElementSibling)===null||u===void 0?void 0:u.tagName)==="TABLE"){var f=a.previousElementSibling;return s.selectNodeContents(f.rows[f.rows.length-1].lastElementChild),s.collapse(!1),i.preventDefault(),!0}return i.key==="ArrowDown"&&a&&((d=a.nextElementSibling)===null||d===void 0?void 0:d.tagName)==="TABLE"?(s.selectNodeContents(a.nextElementSibling.rows[0].cells[0]),s.collapse(!0),i.preventDefault(),!0):!1},ta=function(i,a,s){return xs(void 0,void 0,void 0,function(){var u,d,f,E,L,D,_,B,K,fe,ve,ue,ke,de,we,de,Ie;return ks(this,function(Te){switch(Te.label){case 0:return i[i.currentMode].element.getAttribute("contenteditable")!=="true"?[2]:(a.stopPropagation(),a.preventDefault(),"clipboardData"in a?(u=a.clipboardData.getData("text/html"),d=a.clipboardData.getData("text/plain"),f=a.clipboardData.files):(u=a.dataTransfer.getData("text/html"),d=a.dataTransfer.getData("text/plain"),a.dataTransfer.types.includes("Files")&&(f=a.dataTransfer.items)),E={},L=function($e,bt){if(!bt)return["",Lute.WalkContinue];if(i.options.upload.renderLinkDest)return i.options.upload.renderLinkDest(i,$e,bt);var gt=$e.TokensStr();if($e.__internal_object__.Parent.Type===34&>&>.indexOf("file://")===-1&&i.options.upload.linkToImgUrl){var kt=new XMLHttpRequest;kt.open("POST",i.options.upload.linkToImgUrl),i.options.upload.token&&kt.setRequestHeader("X-Upload-Token",i.options.upload.token),i.options.upload.withCredentials&&(kt.withCredentials=!0),$n(i,kt),kt.setRequestHeader("Content-Type","application/json; charset=utf-8"),kt.onreadystatechange=function(){if(kt.readyState===XMLHttpRequest.DONE){if(kt.status===200){var dn=kt.responseText;i.options.upload.linkToImgFormat&&(dn=i.options.upload.linkToImgFormat(kt.responseText));var Wt=JSON.parse(dn);if(Wt.code!==0){i.tip.show(Wt.msg);return}var hn=Wt.data.originalURL;if(i.currentMode==="sv")i.sv.element.querySelectorAll(".vditor-sv__marker--link").forEach(function(zt){zt.textContent===hn&&(zt.textContent=Wt.data.url)});else{var it=i[i.currentMode].element.querySelector('img[src="'.concat(hn,'"]'));it.src=Wt.data.url,i.currentMode==="ir"&&(it.previousElementSibling.previousElementSibling.innerHTML=Wt.data.url)}lt(i)}else i.tip.show(kt.responseText);i.options.upload.linkToImgCallback&&i.options.upload.linkToImgCallback(kt.responseText)}},kt.send(JSON.stringify({url:gt}))}return i.currentMode==="ir"?[''.concat(Lute.EscapeHTMLStr(gt),""),Lute.WalkContinue]:i.currentMode==="wysiwyg"?["",Lute.WalkContinue]:[''.concat(Lute.EscapeHTMLStr(gt),""),Lute.WalkContinue]},(u.replace(/&/g,"&").replace(/<(|\/)(html|body|meta)[^>]*?>/ig,"").trim()==='').concat(d,"")||u.replace(/&/g,"&").replace(/<(|\/)(html|body|meta)[^>]*?>/ig,"").trim()==='').concat(d,""))&&(u=""),D=new DOMParser().parseFromString(u,"text/html"),D.body&&(u=D.body.innerHTML),u=Lute.Sanitize(u),i.wysiwyg.getComments(i),_=i[i.currentMode].element.scrollHeight,B=ct(u,d,i.currentMode),K=i.currentMode==="sv"?(0,y.a1)(a.target,"data-type","code-block"):(0,y.lG)(a.target,"CODE"),K?(i.currentMode==="sv"?document.execCommand("insertHTML",!1,d.replace(/&/g,"&").replace(/0?i.options.upload.url||i.options.upload.handler?[4,_i(i,f)]:[3,7]:[3,9];case 6:return Te.sent(),[3,8];case 7:ue=new FileReader,"clipboardData"in a?(f=a.clipboardData.files,ke=f[0]):a.dataTransfer.types.includes("Files")&&(f=a.dataTransfer.items,ke=f[0].getAsFile()),ke&&ke.type.startsWith("image")&&(ue.readAsDataURL(ke),ue.onload=function(){var $e="";i.currentMode==="wysiwyg"?$e+=''.concat(ke.name,' -`):$e+="![".concat(ke.name,"](").concat(ue.result.toString(),`) -`),document.execCommand("insertHTML",!1,$e)}),Te.label=8;case 8:return[3,10];case 9:d.trim()!==""&&f.length===0&&(de=(0,q.zh)(i),de.toString()!==""&&i.lute.IsValidLinkDest(d)&&(d="[".concat(de.toString(),"](").concat(d,")")),i.currentMode==="ir"?(E.Md2VditorIRDOM={renderLinkDest:L},i.lute.SetJSRenderers({renderers:E}),(0,q.oC)(Lute.Sanitize(i.lute.Md2VditorIRDOM(d)),i)):i.currentMode==="wysiwyg"?(E.Md2VditorDOM={renderLinkDest:L},i.lute.SetJSRenderers({renderers:E}),(0,q.oC)(Lute.Sanitize(i.lute.Md2VditorDOM(d)),i)):(E.Md2VditorSVDOM={renderLinkDest:L},i.lute.SetJSRenderers({renderers:E}),Pe(i,d)),i.outline.render(i)),Te.label=10;case 10:return i.currentMode!=="sv"&&(we=(0,y.F9)((0,q.zh)(i).startContainer),we&&(de=(0,q.zh)(i),i[i.currentMode].element.querySelectorAll("wbr").forEach(function($e){$e.remove()}),de.insertNode(document.createElement("wbr")),i.currentMode==="wysiwyg"?we.outerHTML=i.lute.SpinVditorDOM(we.outerHTML):we.outerHTML=i.lute.SpinVditorIRDOM(we.outerHTML),(0,q.ib)(i[i.currentMode].element,de)),i[i.currentMode].element.querySelectorAll(".vditor-".concat(i.currentMode,"__preview[data-render='2']")).forEach(function($e){tt($e,i)})),i.wysiwyg.triggerRemoveComment(i),lt(i),i[i.currentMode].element.scrollHeight-_>Math.min(i[i.currentMode].element.clientHeight,window.innerHeight)/2&&Z(i),[2]}})})},gu=function(i,a,s){return xs(void 0,void 0,void 0,function(){var u,d,f,E,L,D,_,B,K,ke,fe,ve,ue,ke,we,de;return ks(this,function(Ie){switch(Ie.label){case 0:if(!s)return[2];if(u=/{\\pict[\s\S]+?\\bliptag-?\d+(\\blipupi-?\d+)?({\\\*\\blipuid\s?[\da-fA-F]+)?[\s}]*?/,d=new RegExp("(?:("+u.source+"))([\\da-fA-F\\s]+)\\}","g"),f=s.match(d),E=[],f)for(L=0,D=f;L-1&&E.push({html:D,value:D})}),i.hint.genHTML(E,L,i)}},Xn=function(i,a){a===void 0&&(a={enableAddUndoStack:!0,enableHint:!1,enableInput:!0}),a.enableHint&&js(i),clearTimeout(i.ir.processTimeoutId),i.ir.processTimeoutId=window.setTimeout(function(){if(!i.ir.composingLock){var s=v(i);typeof i.options.input=="function"&&a.enableInput&&i.options.input(s),i.options.counter.enable&&i.counter.render(i,s),i.options.cache.enable&&(0,m.pK)()&&(localStorage.setItem(i.options.cache.id,s),i.options.cache.after&&i.options.cache.after(s)),i.devtools&&i.devtools.renderEchart(i),a.enableAddUndoStack&&i.undo.addToUndoStack(i)}},i.options.undoDelay)},fi=function(i,a){var s=(0,q.zh)(i),u=(0,y.F9)(s.startContainer)||s.startContainer;if(u){var d=u.querySelector(".vditor-ir__marker--heading");d?d.innerHTML=a:(u.insertAdjacentText("afterbegin",a),s.selectNodeContents(u),s.collapse(!1)),Nt(i,s.cloneRange()),qe(i)}},na=function(i,a,s){var u=(0,y.a1)(i.startContainer,"data-type",s);if(u){u.firstElementChild.remove(),u.lastElementChild.remove(),i.insertNode(document.createElement("wbr"));var d=document.createElement("div");d.innerHTML=a.lute.SpinVditorIRDOM(u.outerHTML),u.outerHTML=d.firstElementChild.innerHTML.trim()}},vu=function(i,a,s,u){var d=(0,q.zh)(i),f=a.getAttribute("data-type"),E=d.startContainer;E.nodeType===3&&(E=E.parentElement);var L=!0;if(a.classList.contains("vditor-menu--current"))if(f==="quote"){var D=(0,y.lG)(E,"BLOCKQUOTE");D&&(d.insertNode(document.createElement("wbr")),D.outerHTML=D.innerHTML.trim()===""?'

    '.concat(D.innerHTML,"

    "):D.innerHTML)}else if(f==="link"){var _=(0,y.a1)(d.startContainer,"data-type","a");if(_){var B=(0,y.fb)(d.startContainer,"vditor-ir__link");B?(d.insertNode(document.createElement("wbr")),_.outerHTML=B.innerHTML):_.outerHTML=_.querySelector(".vditor-ir__link").innerHTML+""}}else f==="italic"?na(d,i,"em"):f==="bold"?na(d,i,"strong"):f==="strike"?na(d,i,"s"):f==="inline-code"?na(d,i,"code"):(f==="check"||f==="list"||f==="ordered-list")&&(Ji(i,d,f),L=!1,a.classList.remove("vditor-menu--current"));else{i.ir.element.childNodes.length===0&&(i.ir.element.innerHTML='

    ',(0,q.ib)(i.ir.element,d));var K=(0,y.F9)(d.startContainer);if(f==="line"){if(K){var fe=`

    -

    `;K.innerHTML.trim()===""?K.outerHTML=fe:K.insertAdjacentHTML("afterend",fe)}}else if(f==="quote")K&&(d.insertNode(document.createElement("wbr")),K.outerHTML='
    '.concat(K.outerHTML,"
    "),L=!1,a.classList.add("vditor-menu--current"));else if(f==="link"){var ve=void 0;d.toString()===""?ve="".concat(s,"").concat(u):ve="".concat(s).concat(d.toString()).concat(u.replace(")",")")),document.execCommand("insertHTML",!1,ve),L=!1,a.classList.add("vditor-menu--current")}else if(f==="italic"||f==="bold"||f==="strike"||f==="inline-code"||f==="code"||f==="table"){var ve=void 0;d.toString()===""?ve="".concat(s,"").concat(u):(f==="code"?ve="".concat(s,` -`).concat(d.toString(),"").concat(u):f==="table"?ve="".concat(s).concat(d.toString(),"").concat(u):ve="".concat(s).concat(d.toString()).concat(u,""),d.deleteContents()),(f==="table"||f==="code")&&(ve=` -`+ve+` + data-tight="true"`).concat(be,' data-block="0"').concat(ce,">").concat(_,"")}else d.parentElement.insertAdjacentHTML("afterend",`

    +

    `),d.parentElement.querySelectorAll("li").length===1?d.parentElement.remove():d.remove();else u.nodeType!==3&&a.startOffset===0&&u.firstChild.tagName==="INPUT"?a.setStart(u.childNodes[1],1):(a.setEndAfter(d.lastChild),d.insertAdjacentHTML("afterend",'
  • ')),document.querySelector("wbr").after(a.extractContents()));return(0,j.ib)(i[i.currentMode].element,a),st(i),X(i),s.preventDefault(),!0}}return!1},Bs=function(i,a,s,u){if(a.startContainer.nodeType!==3){var d=a.startContainer.children[a.startOffset];if(d&&d.tagName==="HR")return a.selectNodeContents(d.previousElementSibling),a.collapse(!1),s.preventDefault(),!0}if(u){var f=u.previousElementSibling;if(f&&(0,j.im)(u,i[i.currentMode].element,a).start===0&&((0,m.vU)()&&f.tagName==="HR"||f.tagName==="TABLE")){if(f.tagName==="TABLE"){var E=f.lastElementChild.lastElementChild.lastElementChild;E.innerHTML=E.innerHTML.trimLeft()+""+u.textContent.trim(),u.remove()}else f.remove();return(0,j.ib)(i[i.currentMode].element,a),st(i),s.preventDefault(),!0}}return!1},Fs=function(i){(0,m.vU)()&&i.startContainer.nodeType!==3&&i.startContainer.tagName==="HR"&&i.setStartBefore(i.startContainer)},qs=function(i,a,s){var u,d;if(!(0,m.vU)())return!1;if(i.key==="ArrowUp"&&a&&((u=a.previousElementSibling)===null||u===void 0?void 0:u.tagName)==="TABLE"){var f=a.previousElementSibling;return s.selectNodeContents(f.rows[f.rows.length-1].lastElementChild),s.collapse(!1),i.preventDefault(),!0}return i.key==="ArrowDown"&&a&&((d=a.nextElementSibling)===null||d===void 0?void 0:d.tagName)==="TABLE"?(s.selectNodeContents(a.nextElementSibling.rows[0].cells[0]),s.collapse(!0),i.preventDefault(),!0):!1},na=function(i,a,s){return ks(void 0,void 0,void 0,function(){var u,d,f,E,L,D,_,B,K,fe,be,ce,ke,ue,xe,ue,Pe;return Ss(this,function(Te){switch(Te.label){case 0:return i[i.currentMode].element.getAttribute("contenteditable")!=="true"?[2]:(a.stopPropagation(),a.preventDefault(),"clipboardData"in a?(u=a.clipboardData.getData("text/html"),d=a.clipboardData.getData("text/plain"),f=a.clipboardData.files):(u=a.dataTransfer.getData("text/html"),d=a.dataTransfer.getData("text/plain"),a.dataTransfer.types.includes("Files")&&(f=a.dataTransfer.items)),E={},L=function($e,bt){if(!bt)return["",Lute.WalkContinue];if(i.options.upload.renderLinkDest)return i.options.upload.renderLinkDest(i,$e,bt);var gt=$e.TokensStr();if($e.__internal_object__.Parent.Type===34&>&>.indexOf("file://")===-1&&i.options.upload.linkToImgUrl){var kt=new XMLHttpRequest;kt.open("POST",i.options.upload.linkToImgUrl),i.options.upload.token&&kt.setRequestHeader("X-Upload-Token",i.options.upload.token),i.options.upload.withCredentials&&(kt.withCredentials=!0),bn(i,kt),kt.setRequestHeader("Content-Type","application/json; charset=utf-8"),kt.onreadystatechange=function(){if(kt.readyState===XMLHttpRequest.DONE){if(kt.status===200){var dn=kt.responseText;i.options.upload.linkToImgFormat&&(dn=i.options.upload.linkToImgFormat(kt.responseText));var Kt=JSON.parse(dn);if(Kt.code!==0){i.tip.show(Kt.msg);return}var hn=Kt.data.originalURL;if(i.currentMode==="sv")i.sv.element.querySelectorAll(".vditor-sv__marker--link").forEach(function(zt){zt.textContent===hn&&(zt.textContent=Kt.data.url)});else{var rt=i[i.currentMode].element.querySelector('img[src="'.concat(hn,'"]'));rt.src=Kt.data.url,i.currentMode==="ir"&&(rt.previousElementSibling.previousElementSibling.innerHTML=Kt.data.url)}st(i)}else i.tip.show(kt.responseText);i.options.upload.linkToImgCallback&&i.options.upload.linkToImgCallback(kt.responseText)}},kt.send(JSON.stringify({url:gt}))}return i.currentMode==="ir"?[''.concat(Lute.EscapeHTMLStr(gt),""),Lute.WalkContinue]:i.currentMode==="wysiwyg"?["",Lute.WalkContinue]:[''.concat(Lute.EscapeHTMLStr(gt),""),Lute.WalkContinue]},(u.replace(/&/g,"&").replace(/<(|\/)(html|body|meta)[^>]*?>/ig,"").trim()==='').concat(d,"")||u.replace(/&/g,"&").replace(/<(|\/)(html|body|meta)[^>]*?>/ig,"").trim()==='').concat(d,""))&&(u=""),D=new DOMParser().parseFromString(u,"text/html"),D.body&&(u=D.body.innerHTML),u=Lute.Sanitize(u),i.wysiwyg.getComments(i),_=i[i.currentMode].element.scrollHeight,B=lt(u,d,i.currentMode),K=i.currentMode==="sv"?(0,y.a1)(a.target,"data-type","code-block"):(0,y.lG)(a.target,"CODE"),K?(i.currentMode==="sv"?document.execCommand("insertHTML",!1,d.replace(/&/g,"&").replace(/0?i.options.upload.url||i.options.upload.handler?[4,Zr(i,f)]:[3,7]:[3,9];case 6:return Te.sent(),[3,8];case 7:ce=new FileReader,"clipboardData"in a?(f=a.clipboardData.files,ke=f[0]):a.dataTransfer.types.includes("Files")&&(f=a.dataTransfer.items,ke=f[0].getAsFile()),ke&&ke.type.startsWith("image")&&(ce.readAsDataURL(ke),ce.onload=function(){var $e="";i.currentMode==="wysiwyg"?$e+=''.concat(ke.name,' +`):$e+="![".concat(ke.name,"](").concat(ce.result.toString(),`) +`),document.execCommand("insertHTML",!1,$e)}),Te.label=8;case 8:return[3,10];case 9:d.trim()!==""&&f.length===0&&(ue=(0,j.zh)(i),ue.toString()!==""&&i.lute.IsValidLinkDest(d)&&(d="[".concat(ue.toString(),"](").concat(d,")")),i.currentMode==="ir"?(E.Md2VditorIRDOM={renderLinkDest:L},i.lute.SetJSRenderers({renderers:E}),(0,j.oC)(Lute.Sanitize(i.lute.Md2VditorIRDOM(d)),i)):i.currentMode==="wysiwyg"?(E.Md2VditorDOM={renderLinkDest:L},i.lute.SetJSRenderers({renderers:E}),(0,j.oC)(Lute.Sanitize(i.lute.Md2VditorDOM(d)),i)):(E.Md2VditorSVDOM={renderLinkDest:L},i.lute.SetJSRenderers({renderers:E}),Me(i,d)),i.outline.render(i)),Te.label=10;case 10:return i.currentMode!=="sv"&&(xe=(0,y.F9)((0,j.zh)(i).startContainer),xe&&(ue=(0,j.zh)(i),i[i.currentMode].element.querySelectorAll("wbr").forEach(function($e){$e.remove()}),ue.insertNode(document.createElement("wbr")),i.currentMode==="wysiwyg"?xe.outerHTML=i.lute.SpinVditorDOM(xe.outerHTML):xe.outerHTML=i.lute.SpinVditorIRDOM(xe.outerHTML),(0,j.ib)(i[i.currentMode].element,ue)),i[i.currentMode].element.querySelectorAll(".vditor-".concat(i.currentMode,"__preview[data-render='2']")).forEach(function($e){Qe($e,i)})),i.wysiwyg.triggerRemoveComment(i),st(i),i[i.currentMode].element.scrollHeight-_>Math.min(i[i.currentMode].element.clientHeight,window.innerHeight)/2&&X(i),[2]}})})},gu=function(i,a,s){return ks(void 0,void 0,void 0,function(){var u,d,f,E,L,D,_,B,K,ke,fe,be,ce,ke,xe,ue;return Ss(this,function(Pe){switch(Pe.label){case 0:if(!s)return[2];if(u=/{\\pict[\s\S]+?\\bliptag-?\d+(\\blipupi-?\d+)?({\\\*\\blipuid\s?[\da-fA-F]+)?[\s}]*?/,d=new RegExp("(?:("+u.source+"))([\\da-fA-F\\s]+)\\}","g"),f=s.match(d),E=[],f)for(L=0,D=f;L-1&&E.push({html:D,value:D})}),i.hint.genHTML(E,L,i)}},Kn=function(i,a){a===void 0&&(a={enableAddUndoStack:!0,enableHint:!1,enableInput:!0}),a.enableHint&&$s(i),clearTimeout(i.ir.processTimeoutId),i.ir.processTimeoutId=window.setTimeout(function(){if(!i.ir.composingLock){var s=v(i);typeof i.options.input=="function"&&a.enableInput&&i.options.input(s),i.options.counter.enable&&i.counter.render(i,s),i.options.cache.enable&&(0,m.pK)()&&(localStorage.setItem(i.options.cache.id,s),i.options.cache.after&&i.options.cache.after(s)),i.devtools&&i.devtools.renderEchart(i),a.enableAddUndoStack&&i.undo.addToUndoStack(i)}},i.options.undoDelay)},mi=function(i,a){var s=(0,j.zh)(i),u=(0,y.F9)(s.startContainer)||s.startContainer;if(u){var d=u.querySelector(".vditor-ir__marker--heading");d?d.innerHTML=a:(u.insertAdjacentText("afterbegin",a),s.selectNodeContents(u),s.collapse(!1)),Nt(i,s.cloneRange()),Ue(i)}},ra=function(i,a,s){var u=(0,y.a1)(i.startContainer,"data-type",s);if(u){u.firstElementChild.remove(),u.lastElementChild.remove(),i.insertNode(document.createElement("wbr"));var d=document.createElement("div");d.innerHTML=a.lute.SpinVditorIRDOM(u.outerHTML),u.outerHTML=d.firstElementChild.innerHTML.trim()}},vu=function(i,a,s,u){var d=(0,j.zh)(i),f=a.getAttribute("data-type"),E=d.startContainer;E.nodeType===3&&(E=E.parentElement);var L=!0;if(a.classList.contains("vditor-menu--current"))if(f==="quote"){var D=(0,y.lG)(E,"BLOCKQUOTE");D&&(d.insertNode(document.createElement("wbr")),D.outerHTML=D.innerHTML.trim()===""?'

    '.concat(D.innerHTML,"

    "):D.innerHTML)}else if(f==="link"){var _=(0,y.a1)(d.startContainer,"data-type","a");if(_){var B=(0,y.fb)(d.startContainer,"vditor-ir__link");B?(d.insertNode(document.createElement("wbr")),_.outerHTML=B.innerHTML):_.outerHTML=_.querySelector(".vditor-ir__link").innerHTML+""}}else f==="italic"?ra(d,i,"em"):f==="bold"?ra(d,i,"strong"):f==="strike"?ra(d,i,"s"):f==="inline-code"?ra(d,i,"code"):(f==="check"||f==="list"||f==="ordered-list")&&(Qi(i,d,f),L=!1,a.classList.remove("vditor-menu--current"));else{i.ir.element.childNodes.length===0&&(i.ir.element.innerHTML='

    ',(0,j.ib)(i.ir.element,d));var K=(0,y.F9)(d.startContainer);if(f==="line"){if(K){var fe=`

    +

    `;K.innerHTML.trim()===""?K.outerHTML=fe:K.insertAdjacentHTML("afterend",fe)}}else if(f==="quote")K&&(d.insertNode(document.createElement("wbr")),K.outerHTML='
    '.concat(K.outerHTML,"
    "),L=!1,a.classList.add("vditor-menu--current"));else if(f==="link"){var be=void 0;d.toString()===""?be="".concat(s,"").concat(u):be="".concat(s).concat(d.toString()).concat(u.replace(")",")")),document.execCommand("insertHTML",!1,be),L=!1,a.classList.add("vditor-menu--current")}else if(f==="italic"||f==="bold"||f==="strike"||f==="inline-code"||f==="code"||f==="table"){var be=void 0;d.toString()===""?be="".concat(s,"").concat(u):(f==="code"?be="".concat(s,` +`).concat(d.toString(),"").concat(u):f==="table"?be="".concat(s).concat(d.toString(),"").concat(u):be="".concat(s).concat(d.toString()).concat(u,""),d.deleteContents()),(f==="table"||f==="code")&&(be=` +`+be+` -`);var ue=document.createElement("span");ue.innerHTML=ve,d.insertNode(ue),Nt(i,d),f==="table"&&(d.selectNodeContents(getSelection().getRangeAt(0).startContainer.parentElement),(0,q.Hc)(d))}else(f==="check"||f==="list"||f==="ordered-list")&&(Ji(i,d,f,!1),L=!1,x(i.toolbar.elements,["check","list","ordered-list"]),a.classList.add("vditor-menu--current"))}(0,q.ib)(i.ir.element,d),Xn(i),L&&qe(i)},bu=function(i,a,s,u){function d(f){return f instanceof s?f:new s(function(E){E(f)})}return new(s||(s=Promise))(function(f,E){function L(B){try{_(u.next(B))}catch(K){E(K)}}function D(B){try{_(u.throw(B))}catch(K){E(K)}}function _(B){B.done?f(B.value):d(B.value).then(L,D)}_((u=u.apply(i,a||[])).next())})},yu=function(i,a){var s={label:0,sent:function(){if(f[0]&1)throw f[1];return f[1]},trys:[],ops:[]},u,d,f,E;return E={next:L(0),throw:L(1),return:L(2)},typeof Symbol=="function"&&(E[Symbol.iterator]=function(){return this}),E;function L(_){return function(B){return D([_,B])}}function D(_){if(u)throw new TypeError("Generator is already executing.");for(;E&&(E=0,_[0]&&(s=0)),s;)try{if(u=1,d&&(f=_[0]&2?d.return:_[0]?d.throw||((f=d.return)&&f.call(d),0):d.next)&&!(f=f.call(d,_[1])).done)return f;switch(d=0,f&&(_=[_[0]&2,f.value]),_[0]){case 0:case 1:f=_;break;case 4:return s.label++,{value:_[1],done:!1};case 5:s.label++,d=_[1],_=[0];continue;case 7:_=s.ops.pop(),s.trys.pop();continue;default:if(f=s.trys,!(f=f.length>0&&f[f.length-1])&&(_[0]===6||_[0]===2)){s=0;continue}if(_[0]===3&&(!f||_[1]>f[0]&&_[1]-1&&d.currentMode!=="sv"&&E.insertNode(document.createTextNode(" ")),E.collapse(!1),(0,q.Hc)(E),d.currentMode==="wysiwyg"){var B=(0,y.fb)(E.startContainer,"vditor-wysiwyg__block");B&&B.lastElementChild.classList.contains("vditor-wysiwyg__preview")&&(B.lastElementChild.innerHTML=B.firstElementChild.innerHTML,tt(B.lastElementChild,d))}else if(d.currentMode==="ir"){var B=(0,y.fb)(E.startContainer,"vditor-ir__marker--pre");B&&B.nextElementSibling.classList.contains("vditor-ir__preview")&&(B.nextElementSibling.innerHTML=B.innerHTML,tt(B.nextElementSibling,d))}lt(d)},this.timeId=-1,this.element=document.createElement("div"),this.element.className="vditor-hint",this.recentLanguage="",a.push({key:":"})}return i.prototype.render=function(a){var s=this;if(window.getSelection().focusNode){var u,d=getSelection().getRangeAt(0);u=d.startContainer.textContent.substring(0,d.startOffset)||"";var f=this.getKey(u,a.options.hint.extend);if(typeof f>"u")this.element.style.display="none",clearTimeout(this.timeId);else if(this.splitChar===":"){var E=f===""?a.options.hint.emoji:a.lute.GetEmojis(),L=[];Object.keys(E).forEach(function(D){D.indexOf(f.toLowerCase())===0&&(E[D].indexOf(".")>-1?L.push({html:' :').concat(D,":"),value:":".concat(D,":")}):L.push({html:''.concat(E[D],"").concat(D),value:E[D]}))}),this.genHTML(L,f,a)}else a.options.hint.extend.forEach(function(D){D.key===s.splitChar&&(clearTimeout(s.timeId),s.timeId=window.setTimeout(function(){return bu(s,void 0,void 0,function(){var _;return yu(this,function(B){switch(B.label){case 0:return _=this.genHTML,[4,D.hint(f)];case 1:return _.apply(this,[B.sent(),f,a]),[2]}})})},a.options.hint.delay))})}},i.prototype.genHTML=function(a,s,u){var d=this;if(a.length===0){this.element.style.display="none";return}var f=u[u.currentMode].element,E=(0,q.Ny)(f),L=E.left+(u.options.outline.position==="left"?u.outline.element.offsetWidth:0),D=E.top,_="";a.forEach(function(K,fe){if(!(fe>7)){var ve=K.html;if(s!==""){var ue=ve.lastIndexOf(">")+1,ke=ve.substr(ue),we=ke.toLowerCase().indexOf(s.toLowerCase());we>-1&&(ke=ke.substring(0,we)+""+ke.substring(we,we+s.length)+""+ke.substring(we+s.length),ve=ve.substr(0,ue)+ke)}_+='")}}),this.element.innerHTML=_;var B=parseInt(document.defaultView.getComputedStyle(f,null).getPropertyValue("line-height"),10);this.element.style.top="".concat(D+(B||22),"px"),this.element.style.left="".concat(L,"px"),this.element.style.display="block",this.element.style.right="auto",this.element.querySelectorAll("button").forEach(function(K){K.addEventListener("click",function(fe){d.fillEmoji(K,u),fe.preventDefault()})}),this.element.getBoundingClientRect().bottom>window.innerHeight&&(this.element.style.top="".concat(D-this.element.offsetHeight,"px")),this.element.getBoundingClientRect().right>window.innerWidth&&(this.element.style.left="auto",this.element.style.right="0")},i.prototype.select=function(a,s){if(this.element.querySelectorAll("button").length===0||this.element.style.display==="none")return!1;var u=this.element.querySelector(".vditor-hint--current");if(a.key==="ArrowDown")return a.preventDefault(),a.stopPropagation(),u.removeAttribute("class"),u.nextElementSibling?u.nextElementSibling.className="vditor-hint--current":this.element.children[0].className="vditor-hint--current",!0;if(a.key==="ArrowUp"){if(a.preventDefault(),a.stopPropagation(),u.removeAttribute("class"),u.previousElementSibling)u.previousElementSibling.className="vditor-hint--current";else{var d=this.element.children.length;this.element.children[d-1].className="vditor-hint--current"}return!0}else if(!(0,m.yl)(a)&&!a.shiftKey&&!a.altKey&&a.key==="Enter"&&!a.isComposing)return a.preventDefault(),a.stopPropagation(),this.fillEmoji(u,s),!0;return!1},i.prototype.getKey=function(a,s){var u=this;this.lastIndex=-1,this.splitChar="",s.forEach(function(_){var B=a.lastIndexOf(_.key);u.lastIndex1&&E.trim()===E)if(f.length===2&&f[0]===""&&f[1].length`),this.element=s.firstElementChild,this.bindEvent(a),Ai(a,this.element),ho(a,this.element),Mi(a,this.element),xe(a,this.element),He(a,this.element),Ci(a,this.element),U(a,this.element,this.copy),Q(a,this.element,this.copy)}return i.prototype.copy=function(a,s){var u=getSelection().getRangeAt(0);if(u.toString()!==""){a.stopPropagation(),a.preventDefault();var d=document.createElement("div");d.appendChild(u.cloneContents()),a.clipboardData.setData("text/plain",s.lute.VditorIRDOM2Md(d.innerHTML).trim()),a.clipboardData.setData("text/html","")}},i.prototype.bindEvent=function(a){var s=this;this.element.addEventListener("paste",function(u){ta(a,u,{pasteCode:function(d){document.execCommand("insertHTML",!1,d)}})}),this.element.addEventListener("scroll",function(){A(a,["hint"])}),this.element.addEventListener("compositionstart",function(u){s.composingLock=!0}),this.element.addEventListener("compositionend",function(u){(0,m.vU)()||Nt(a,getSelection().getRangeAt(0).cloneRange()),s.composingLock=!1}),this.element.addEventListener("input",function(u){if(!(u.inputType==="deleteByDrag"||u.inputType==="insertFromDrop")){if(s.preventInput){s.preventInput=!1,Xn(a,{enableAddUndoStack:!0,enableHint:!0,enableInput:!0});return}s.composingLock||u.data==="‘"||u.data==="“"||u.data==="《"||Nt(a,getSelection().getRangeAt(0).cloneRange(),!1,u)}}),this.element.addEventListener("click",function(u){if(u.target.tagName==="INPUT"){u.target.checked?u.target.setAttribute("checked","checked"):u.target.removeAttribute("checked"),s.preventInput=!0,Xn(a);return}var d=(0,q.zh)(a),f=(0,y.fb)(u.target,"vditor-ir__preview");if(f||(f=(0,y.fb)(d.startContainer,"vditor-ir__preview")),f&&(f.previousElementSibling.firstElementChild?d.selectNodeContents(f.previousElementSibling.firstElementChild):d.selectNodeContents(f.previousElementSibling),d.collapse(!0),(0,q.Hc)(d),Z(a)),u.target.tagName==="IMG"){var E=u.target.parentElement.querySelector(".vditor-ir__marker--link");E&&(d.selectNode(E),(0,q.Hc)(d))}var L=(0,y.a1)(u.target,"data-type","a");if(L&&!L.classList.contains("vditor-ir__node--expand")){a.options.link.click?a.options.link.click(L.querySelector(":scope > .vditor-ir__marker--link")):a.options.link.isOpen&&window.open(L.querySelector(":scope > .vditor-ir__marker--link").textContent);return}if(u.target.isEqualNode(s.element)&&s.element.lastElementChild&&d.collapsed){var D=s.element.lastElementChild.getBoundingClientRect();u.y>D.top+D.height&&(s.element.lastElementChild.tagName==="P"&&s.element.lastElementChild.textContent.trim().replace(c.g.ZWSP,"")===""?(d.selectNodeContents(s.element.lastElementChild),d.collapse(!1)):(s.element.insertAdjacentHTML("beforeend",'

    '.concat(c.g.ZWSP,"

    ")),(0,q.ib)(s.element,d)))}d.toString()===""?ee(d,a):setTimeout(function(){ee((0,q.zh)(a),a)}),Rt(u,a),qe(a)}),this.element.addEventListener("keyup",function(u){if(!(u.isComposing||(0,m.yl)(u))){if(u.key==="Enter"&&Z(a),qe(a),(u.key==="Backspace"||u.key==="Delete")&&a.ir.element.innerHTML!==""&&a.ir.element.childNodes.length===1&&a.ir.element.firstElementChild&&a.ir.element.firstElementChild.tagName==="P"&&a.ir.element.firstElementChild.childElementCount===0&&(a.ir.element.textContent===""||a.ir.element.textContent===` -`)){a.ir.element.innerHTML="";return}var d=(0,q.zh)(a);u.key==="Backspace"?((0,m.vU)()&&d.startContainer.textContent===` -`&&d.startOffset===1&&(d.startContainer.textContent="",ee(d,a)),s.element.querySelectorAll(".language-math").forEach(function(E){var L=E.querySelector("br");L&&L.remove()})):u.key.indexOf("Arrow")>-1?((u.key==="ArrowLeft"||u.key==="ArrowRight")&&js(a),ee(d,a)):u.keyCode===229&&u.code===""&&u.key==="Unidentified"&&ee(d,a);var f=(0,y.fb)(d.startContainer,"vditor-ir__preview");if(f){if(u.key==="ArrowUp"||u.key==="ArrowLeft")return f.previousElementSibling.firstElementChild?d.selectNodeContents(f.previousElementSibling.firstElementChild):d.selectNodeContents(f.previousElementSibling),d.collapse(!1),u.preventDefault(),!0;if(f.tagName==="SPAN"&&(u.key==="ArrowDown"||u.key==="ArrowRight"))return f.parentElement.getAttribute("data-type")==="html-entity"?(f.parentElement.insertAdjacentText("afterend",c.g.ZWSP),d.setStart(f.parentElement.nextSibling,1)):d.selectNodeContents(f.parentElement.lastElementChild),d.collapse(!1),u.preventDefault(),!0}}})},i}(),$s=function(i){if(i.currentMode==="sv")return i.lute.Md2HTML(v(i));if(i.currentMode==="wysiwyg")return i.lute.VditorDOM2HTML(i.wysiwyg.element.innerHTML);if(i.currentMode==="ir")return i.lute.VditorIRDOM2HTML(i.ir.element.innerHTML)},ku=o(214),Us=o(436),Su=function(){function i(a){this.element=document.createElement("div"),this.element.className="vditor-outline",this.element.innerHTML='
    '.concat(a,`
    -
    `)}return i.prototype.render=function(a){var s="";return a.preview.element.style.display==="block"?s=(0,Us.k)(a.preview.previewElement,this.element.lastElementChild,a):s=(0,Us.k)(a[a.currentMode].element,this.element.lastElementChild,a),s},i.prototype.toggle=function(a,s,u){var d;s===void 0&&(s=!0),u===void 0&&(u=!0);var f=(d=a.toolbar.elements.outline)===null||d===void 0?void 0:d.firstElementChild;if(s&&window.innerWidth>=c.g.MOBILE_WIDTH?(this.element.style.display="block",this.render(a),f==null||f.classList.add("vditor-menu--current")):(this.element.style.display="none",f==null||f.classList.remove("vditor-menu--current")),u&&getSelection().rangeCount>0){var E=getSelection().getRangeAt(0);a[a.currentMode].element.contains(E.startContainer)&&(0,q.Hc)(E)}ze(a)},i}(),Eu=o(280),Tu=function(){function i(a){var s=this;this.element=document.createElement("div"),this.element.className="vditor-preview",this.previewElement=document.createElement("div"),this.previewElement.className="vditor-reset",a.options.classes.preview&&this.previewElement.classList.add(a.options.classes.preview),this.previewElement.style.maxWidth=a.options.preview.maxWidth+"px",this.previewElement.addEventListener("copy",function(D){if(D.target.tagName!=="TEXTAREA"){var _=document.createElement("div");_.className="vditor-reset",_.appendChild(getSelection().getRangeAt(0).cloneContents()),s.copyToX(a,_,"default"),D.preventDefault()}}),this.previewElement.addEventListener("click",function(D){var _=(0,y.lG)(D.target,"SPAN");if(_&&(0,y.fb)(_,"vditor-toc")){var B=s.previewElement.querySelector("#"+_.getAttribute("data-target-id"));B&&(s.element.scrollTop=B.offsetTop);return}if(D.target.tagName==="A"){a.options.link.click?a.options.link.click(D.target):a.options.link.isOpen&&window.open(D.target.getAttribute("href")),D.preventDefault();return}D.target.tagName==="IMG"&&(a.options.image.preview?a.options.image.preview(D.target):a.options.image.isPreview&&(0,se.E)(D.target,a.options.lang,a.options.theme))}),this.element.appendChild(this.previewElement);var u=a.options.preview.actions;if(u.length!==0){var d=document.createElement("div");d.className="vditor-preview__action";for(var f=[],E=0;E').concat(L.text,""));continue}switch(L){case"desktop":f.push('');break;case"tablet":f.push('');break;case"mobile":f.push('');break;case"mp-wechat":f.push('');break;case"zhihu":f.push('');break}}d.innerHTML=f.join(""),d.addEventListener((0,m.Le)(),function(D){var _=(0,N.S)(D.target,"BUTTON");if(_){var B=_.getAttribute("data-type"),K=u.find(function(fe){return(fe==null?void 0:fe.key)===B});if(K){K.click(B);return}if(B==="mp-wechat"||B==="zhihu"){s.copyToX(a,s.previewElement.cloneNode(!0),B);return}B==="desktop"?s.previewElement.style.width="auto":B==="tablet"?s.previewElement.style.width="780px":s.previewElement.style.width="360px",s.previewElement.scrollWidth>s.previewElement.parentElement.clientWidth&&(s.previewElement.style.width="auto"),s.render(a),d.querySelectorAll("button").forEach(function(fe){fe.classList.remove("vditor-preview__action--current")}),_.classList.add("vditor-preview__action--current")}}),this.element.insertBefore(d,this.previewElement)}}return i.prototype.render=function(a,s){var u=this;if(clearTimeout(this.mdTimeoutId),this.element.style.display==="none"){this.element.getAttribute("data-type")==="renderPerformance"&&a.tip.hide();return}if(s){this.previewElement.innerHTML=s;return}if(v(a).replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")===""){this.previewElement.innerHTML="";return}var d=new Date().getTime(),f=v(a);this.mdTimeoutId=window.setTimeout(function(){if(a.options.preview.url){var E=new XMLHttpRequest;E.open("POST",a.options.preview.url),E.setRequestHeader("Content-Type","application/json;charset=UTF-8"),E.onreadystatechange=function(){if(E.readyState===XMLHttpRequest.DONE)if(E.status===200){var D=JSON.parse(E.responseText);if(D.code!==0){a.tip.show(D.msg);return}a.options.preview.transform&&(D.data=a.options.preview.transform(D.data)),u.previewElement.innerHTML=D.data,u.afterRender(a,d)}else{var _=a.lute.Md2HTML(f);a.options.preview.transform&&(_=a.options.preview.transform(_)),u.previewElement.innerHTML=_,u.afterRender(a,d)}},E.send(JSON.stringify({markdownText:f}))}else{var L=a.lute.Md2HTML(f);a.options.preview.transform&&(L=a.options.preview.transform(L)),u.previewElement.innerHTML=L,u.afterRender(a,d)}},a.options.preview.delay)},i.prototype.afterRender=function(a,s){a.options.preview.parse&&a.options.preview.parse(this.element);var u=new Date().getTime()-s;new Date().getTime()-s>2600?(a.tip.show(window.VditorI18n.performanceTip.replace("${x}",u.toString())),a.preview.element.setAttribute("data-type","renderPerformance")):a.preview.element.getAttribute("data-type")==="renderPerformance"&&(a.tip.hide(),a.preview.element.removeAttribute("data-type"));var d=a.preview.element.querySelector(".vditor-comment--focus");d&&d.classList.remove("vditor-comment--focus"),(0,Y.O)(a.preview.previewElement,a.options.preview.hljs),(0,Me.s)(a.options.preview.hljs,a.preview.previewElement,a.options.cdn),(0,We.i)(a.preview.previewElement,a.options.cdn,a.options.theme),(0,rt.K)(a.preview.previewElement,a.options.cdn),(0,nt.J)(a.preview.previewElement,a.options.cdn,a.options.theme),(0,te.P)(a.preview.previewElement,a.options.cdn),(0,ce.v)(a.preview.previewElement,a.options.cdn),(0,P.p)(a.preview.previewElement,a.options.cdn,a.options.theme),(0,je.P)(a.preview.previewElement,a.options.cdn,a.options.theme),(0,Ne.B)(a.preview.previewElement,a.options.cdn),(0,F.Q)(a.preview.previewElement,a.options.cdn),a.options.preview.render.media.enable&&(0,Eu.Y)(a.preview.previewElement),a.options.customRenders.forEach(function(L){L.render(a.preview.previewElement,a)});var f=a.preview.element,E=a.outline.render(a);E===""&&(E="[ToC]"),f.querySelectorAll('[data-type="toc-block"]').forEach(function(L){L.innerHTML=E,(0,Fe.H)(L,{cdn:a.options.cdn,math:a.options.preview.math})}),(0,Fe.H)(a.preview.previewElement,{cdn:a.options.cdn,math:a.options.preview.math})},i.prototype.copyToX=function(a,s,u){u===void 0&&(u="mp-wechat"),u!=="zhihu"?s.querySelectorAll(".katex-html .base").forEach(function(f){f.style.display="initial"}):s.querySelectorAll(".language-math").forEach(function(f){f.outerHTML=''.concat(f.getAttribute(')}),s.style.backgroundColor="#fff",s.querySelectorAll("code").forEach(function(f){f.style.backgroundImage="none"}),this.element.append(s);var d=s.ownerDocument.createRange();d.selectNode(s),(0,q.Hc)(d),document.execCommand("copy"),s.remove(),a.tip.show(["zhihu","mp-wechat"].includes(u)?"已复制,可到".concat(u==="zhihu"?"知乎":"微信公众号平台","进行粘贴"):"已复制到剪切板")},i}(),Au=function(){function i(a){this.element=document.createElement("div"),this.element.className="vditor-resize vditor-resize--".concat(a.options.resize.position),this.element.innerHTML='
    ',this.bindEvent(a)}return i.prototype.bindEvent=function(a){var s=this;this.element.addEventListener("mousedown",function(u){var d=document,f=u.clientY,E=a.element.offsetHeight,L=63+a.element.querySelector(".vditor-toolbar").clientHeight;d.ondragstart=function(){return!1},window.captureEvents&&window.captureEvents(),s.element.classList.add("vditor-resize--selected"),d.onmousemove=function(D){a.options.resize.position==="top"?a.element.style.height=Math.max(L,E+(f-D.clientY))+"px":a.element.style.height=Math.max(L,E+(D.clientY-f))+"px",a.options.typewriterMode&&(a.sv.element.style.paddingBottom=a.sv.element.parentElement.offsetHeight/2+"px")},d.onmouseup=function(){a.options.resize.after&&a.options.resize.after(a.element.offsetHeight-E),window.captureEvents&&window.captureEvents(),d.onmousemove=null,d.onmouseup=null,d.ondragstart=null,d.onselectstart=null,d.onselect=null,s.element.classList.remove("vditor-resize--selected")}})},i}(),Mu=function(){function i(a){this.composingLock=!1,this.element=document.createElement("pre"),this.element.className="vditor-sv vditor-reset",this.element.setAttribute("placeholder",a.options.placeholder),this.element.setAttribute("contenteditable","true"),this.element.setAttribute("spellcheck","false"),this.bindEvent(a),Ai(a,this.element),Mi(a,this.element),xe(a,this.element),He(a,this.element),Ci(a,this.element),U(a,this.element,this.copy),Q(a,this.element,this.copy)}return i.prototype.copy=function(a,s){a.stopPropagation(),a.preventDefault(),a.clipboardData.setData("text/plain",Or(s[s.currentMode].element))},i.prototype.bindEvent=function(a){var s=this;this.element.addEventListener("paste",function(u){ta(a,u,{pasteCode:function(d){document.execCommand("insertHTML",!1,d)}})}),this.element.addEventListener("scroll",function(){if(a.preview.element.style.display==="block"){var u=s.element.scrollTop,d=s.element.clientHeight,f=s.element.scrollHeight-parseFloat(s.element.style.paddingBottom||"0"),E=a.preview.element;u/d>.5?E.scrollTop=(u+d)*E.scrollHeight/f-d:E.scrollTop=u*E.scrollHeight/f}}),this.element.addEventListener("compositionstart",function(u){s.composingLock=!0}),this.element.addEventListener("compositionend",function(u){(0,m.vU)()||X(a,u),s.composingLock=!1}),this.element.addEventListener("input",function(u){if(!(u.inputType==="deleteByDrag"||u.inputType==="insertFromDrop")&&!(s.composingLock||u.data==="‘"||u.data==="“"||u.data==="《")){if(s.preventInput){s.preventInput=!1,Ge(a,{enableAddUndoStack:!0,enableHint:!0,enableInput:!0});return}X(a,u)}}),this.element.addEventListener("keyup",function(u){if(!(u.isComposing||(0,m.yl)(u))){if((u.key==="Backspace"||u.key==="Delete")&&a.sv.element.innerHTML!==""&&a.sv.element.childNodes.length===1&&a.sv.element.firstElementChild&&a.sv.element.firstElementChild.tagName==="DIV"&&a.sv.element.firstElementChild.childElementCount===2&&(a.sv.element.firstElementChild.textContent===""||a.sv.element.textContent===` -`)){a.sv.element.innerHTML="";return}u.key==="Enter"&&Z(a)}})},i}(),Vs=function(){function i(){this.element=document.createElement("div"),this.element.className="vditor-tip"}return i.prototype.show=function(a,s){var u=this;s===void 0&&(s=6e3),this.element.className="vditor-tip vditor-tip--show",s===0?(this.element.innerHTML='
    '.concat(a,` -
    X
    `),this.element.querySelector(".vditor-tip__close").addEventListener("click",function(){u.hide()})):(this.element.innerHTML='
    '.concat(a,"
    "),setTimeout(function(){u.hide()},s)),this.element.removeAttribute("style"),setTimeout(function(){var d=u.element.getBoundingClientRect();d.top<46&&(u.element.style.position="fixed",u.element.style.top="46px")},150)},i.prototype.hide=function(){this.element.className="vditor-messageElementtip",this.element.innerHTML=""},i}(),bo=function(i,a){if(a.options.preview.mode!==i){switch(a.options.preview.mode=i,i){case"both":a.sv.element.style.display="block",a.preview.element.style.display="block",a.preview.render(a),w(a.toolbar.elements,["both"]);break;case"editor":a.sv.element.style.display="block",a.preview.element.style.display="none",x(a.toolbar.elements,["both"]);break}a.devtools&&a.devtools.renderEchart(a)}},Cu=function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(u[f]=d[f])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}(),Lu=function(i){Cu(a,i);function a(s,u){var d=i.call(this,s,u)||this;return s.options.preview.mode==="both"&&d.element.children[0].classList.add("vditor-menu--current"),d.element.children[0].addEventListener((0,m.Le)(),function(f){var E=d.element.firstElementChild;E.classList.contains(c.g.CLASS_MENU_DISABLED)||(f.preventDefault(),s.currentMode==="sv"&&(s.options.preview.mode==="both"?bo("editor",s):bo("both",s)))}),d}return a}(Mt),_u=function(){function i(){this.element=document.createElement("div"),this.element.className="vditor-toolbar__br"}return i}(),Ws=o(580),Nu=function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(u[f]=d[f])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}(),Du=function(i){Nu(a,i);function a(s,u){var d=i.call(this,s,u)||this,f=d.element.children[0],E=document.createElement("div");E.className="vditor-hint".concat(u.level===2?"":" vditor-panel--arrow");var L="";return c.g.CODE_THEME.forEach(function(D){L+="")}),E.innerHTML='
    ').concat(L,"
    "),E.addEventListener((0,m.Le)(),function(D){D.target.tagName==="BUTTON"&&(A(s,["subToolbar"]),s.options.preview.hljs.style=D.target.textContent,(0,Ws.Y)(D.target.textContent,s.options.cdn),D.preventDefault(),D.stopPropagation())}),d.element.appendChild(E),M(s,E,f,u.level),d}return a}(Mt),Ru=function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(u[f]=d[f])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}(),Iu=function(i){Ru(a,i);function a(s,u){var d=i.call(this,s,u)||this,f=d.element.children[0],E=document.createElement("div");E.className="vditor-hint".concat(u.level===2?"":" vditor-panel--arrow");var L="";return Object.keys(s.options.preview.theme.list).forEach(function(D){L+='")}),E.innerHTML='
    ').concat(L,"
    "),E.addEventListener((0,m.Le)(),function(D){D.target.tagName==="BUTTON"&&(A(s,["subToolbar"]),s.options.preview.theme.current=D.target.getAttribute("data-type"),(0,le.Z)(s.options.preview.theme.current,s.options.preview.theme.path),D.preventDefault(),D.stopPropagation())}),d.element.appendChild(E),M(s,E,f,u.level),d}return a}(Mt),Ou=function(){function i(a){this.element=document.createElement("span"),this.element.className="vditor-counter vditor-tooltipped vditor-tooltipped__nw",this.render(a,"")}return i.prototype.render=function(a,s){var u=s.endsWith(` -`)?s.length-1:s.length;if(a.options.counter.type==="text"&&a[a.currentMode]){var d=a[a.currentMode].element.cloneNode(!0);d.querySelectorAll(".vditor-wysiwyg__preview").forEach(function(f){f.remove()}),u=d.textContent.length}typeof a.options.counter.max=="number"?(u>a.options.counter.max?this.element.className="vditor-counter vditor-counter--error":this.element.className="vditor-counter",this.element.innerHTML="".concat(u,"/").concat(a.options.counter.max)):this.element.innerHTML="".concat(u),this.element.setAttribute("aria-label",a.options.counter.type),a.options.counter.after&&a.options.counter.after(u,{enable:a.options.counter.enable,max:a.options.counter.max,type:a.options.counter.type})},i}(),Hu=function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(u[f]=d[f])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}(),Pu=function(i){Hu(a,i);function a(s,u){var d=i.call(this,s,u)||this;return d.element.children[0].innerHTML=u.icon,d.element.children[0].addEventListener((0,m.Le)(),function(f){f.preventDefault(),!f.currentTarget.classList.contains(c.g.CLASS_MENU_DISABLED)&&u.click(f,s)}),d}return a}(Mt),zu=function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(u[f]=d[f])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}(),Bu=function(i){zu(a,i);function a(s,u){var d=i.call(this,s,u)||this;return d.element.firstElementChild.addEventListener((0,m.Le)(),function(f){var E=d.element.firstElementChild;E.classList.contains(c.g.CLASS_MENU_DISABLED)||(f.preventDefault(),E.classList.contains("vditor-menu--current")?(E.classList.remove("vditor-menu--current"),s.devtools.element.style.display="none",ze(s)):(E.classList.add("vditor-menu--current"),s.devtools.element.style.display="block",ze(s),s.devtools.renderEchart(s)))}),d}return a}(Mt),Fu=function(){function i(){this.element=document.createElement("div"),this.element.className="vditor-toolbar__divider"}return i}(),qu=function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(u[f]=d[f])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}(),ju=function(i){qu(a,i);function a(s,u){var d=i.call(this,s,u)||this,f=document.createElement("div");f.className="vditor-panel vditor-panel--arrow";var E="";return Object.keys(s.options.hint.emoji).forEach(function(L){var D=s.options.hint.emoji[L];D.indexOf(".")>-1?E+='")}}),this.element.innerHTML=_;var B=parseInt(document.defaultView.getComputedStyle(f,null).getPropertyValue("line-height"),10);this.element.style.top="".concat(D+(B||22),"px"),this.element.style.left="".concat(L,"px"),this.element.style.display="block",this.element.style.right="auto",this.element.querySelectorAll("button").forEach(function(K){K.addEventListener("click",function(fe){d.fillEmoji(K,u),fe.preventDefault()})}),this.element.getBoundingClientRect().bottom>window.innerHeight&&(this.element.style.top="".concat(D-this.element.offsetHeight,"px")),this.element.getBoundingClientRect().right>window.innerWidth&&(this.element.style.left="auto",this.element.style.right="0")},i.prototype.select=function(a,s){if(this.element.querySelectorAll("button").length===0||this.element.style.display==="none")return!1;var u=this.element.querySelector(".vditor-hint--current");if(a.key==="ArrowDown")return a.preventDefault(),a.stopPropagation(),u.removeAttribute("class"),u.nextElementSibling?u.nextElementSibling.className="vditor-hint--current":this.element.children[0].className="vditor-hint--current",!0;if(a.key==="ArrowUp"){if(a.preventDefault(),a.stopPropagation(),u.removeAttribute("class"),u.previousElementSibling)u.previousElementSibling.className="vditor-hint--current";else{var d=this.element.children.length;this.element.children[d-1].className="vditor-hint--current"}return!0}else if(!(0,m.yl)(a)&&!a.shiftKey&&!a.altKey&&a.key==="Enter"&&!a.isComposing)return a.preventDefault(),a.stopPropagation(),this.fillEmoji(u,s),!0;return!1},i.prototype.getKey=function(a,s){var u=this;this.lastIndex=-1,this.splitChar="",s.forEach(function(_){var B=a.lastIndexOf(_.key);u.lastIndex1&&E.trim()===E)if(f.length===2&&f[0]===""&&f[1].length`),this.element=s.firstElementChild,this.bindEvent(a),Yi(a,this.element),Ha(a,this.element),Ji(a,this.element),ee(a,this.element),ye(a,this.element),hi(a,this.element),Ai(a,this.element,this.copy),q(a,this.element,this.copy)}return i.prototype.copy=function(a,s){var u=getSelection().getRangeAt(0);if(u.toString()!==""){a.stopPropagation(),a.preventDefault();var d=document.createElement("div");d.appendChild(u.cloneContents()),a.clipboardData.setData("text/plain",s.lute.VditorIRDOM2Md(d.innerHTML).trim()),a.clipboardData.setData("text/html","")}},i.prototype.bindEvent=function(a){var s=this;this.element.addEventListener("paste",function(u){na(a,u,{pasteCode:function(d){document.execCommand("insertHTML",!1,d)}})}),this.element.addEventListener("scroll",function(){A(a,["hint"])}),this.element.addEventListener("compositionstart",function(u){s.composingLock=!0}),this.element.addEventListener("compositionend",function(u){(0,m.vU)()||Nt(a,getSelection().getRangeAt(0).cloneRange()),s.composingLock=!1}),this.element.addEventListener("input",function(u){if(!(u.inputType==="deleteByDrag"||u.inputType==="insertFromDrop")){if(s.preventInput){s.preventInput=!1,Kn(a,{enableAddUndoStack:!0,enableHint:!0,enableInput:!0});return}s.composingLock||u.data==="‘"||u.data==="“"||u.data==="《"||Nt(a,getSelection().getRangeAt(0).cloneRange(),!1,u)}}),this.element.addEventListener("click",function(u){if(u.target.tagName==="INPUT"){u.target.checked?u.target.setAttribute("checked","checked"):u.target.removeAttribute("checked"),s.preventInput=!0,Kn(a);return}var d=(0,j.zh)(a),f=(0,y.fb)(u.target,"vditor-ir__preview");if(f||(f=(0,y.fb)(d.startContainer,"vditor-ir__preview")),f&&(f.previousElementSibling.firstElementChild?d.selectNodeContents(f.previousElementSibling.firstElementChild):d.selectNodeContents(f.previousElementSibling),d.collapse(!0),(0,j.Hc)(d),X(a)),u.target.tagName==="IMG"){var E=u.target.parentElement.querySelector(".vditor-ir__marker--link");E&&(d.selectNode(E),(0,j.Hc)(d))}var L=(0,y.a1)(u.target,"data-type","a");if(L&&!L.classList.contains("vditor-ir__node--expand")){a.options.link.click?a.options.link.click(L.querySelector(":scope > .vditor-ir__marker--link")):a.options.link.isOpen&&window.open(L.querySelector(":scope > .vditor-ir__marker--link").textContent);return}if(u.target.isEqualNode(s.element)&&s.element.lastElementChild&&d.collapsed){var D=s.element.lastElementChild.getBoundingClientRect();u.y>D.top+D.height&&(s.element.lastElementChild.tagName==="P"&&s.element.lastElementChild.textContent.trim().replace(c.g.ZWSP,"")===""?(d.selectNodeContents(s.element.lastElementChild),d.collapse(!1)):(s.element.insertAdjacentHTML("beforeend",'

    '.concat(c.g.ZWSP,"

    ")),(0,j.ib)(s.element,d)))}d.toString()===""?Q(d,a):setTimeout(function(){Q((0,j.zh)(a),a)}),Dt(u,a),Ue(a)}),this.element.addEventListener("keyup",function(u){if(!(u.isComposing||(0,m.yl)(u))){if(u.key==="Enter"&&X(a),Ue(a),(u.key==="Backspace"||u.key==="Delete")&&a.ir.element.innerHTML!==""&&a.ir.element.childNodes.length===1&&a.ir.element.firstElementChild&&a.ir.element.firstElementChild.tagName==="P"&&a.ir.element.firstElementChild.childElementCount===0&&(a.ir.element.textContent===""||a.ir.element.textContent===` +`)){a.ir.element.innerHTML="";return}var d=(0,j.zh)(a);u.key==="Backspace"?((0,m.vU)()&&d.startContainer.textContent===` +`&&d.startOffset===1&&(d.startContainer.textContent="",Q(d,a)),s.element.querySelectorAll(".language-math").forEach(function(E){var L=E.querySelector("br");L&&L.remove()})):u.key.indexOf("Arrow")>-1?((u.key==="ArrowLeft"||u.key==="ArrowRight")&&$s(a),Q(d,a)):u.keyCode===229&&u.code===""&&u.key==="Unidentified"&&Q(d,a);var f=(0,y.fb)(d.startContainer,"vditor-ir__preview");if(f){if(u.key==="ArrowUp"||u.key==="ArrowLeft")return f.previousElementSibling.firstElementChild?d.selectNodeContents(f.previousElementSibling.firstElementChild):d.selectNodeContents(f.previousElementSibling),d.collapse(!1),u.preventDefault(),!0;if(f.tagName==="SPAN"&&(u.key==="ArrowDown"||u.key==="ArrowRight"))return f.parentElement.getAttribute("data-type")==="html-entity"?(f.parentElement.insertAdjacentText("afterend",c.g.ZWSP),d.setStart(f.parentElement.nextSibling,1)):d.selectNodeContents(f.parentElement.lastElementChild),d.collapse(!1),u.preventDefault(),!0}}})},i}(),Us=function(i){if(i.currentMode==="sv")return i.lute.Md2HTML(v(i));if(i.currentMode==="wysiwyg")return i.lute.VditorDOM2HTML(i.wysiwyg.element.innerHTML);if(i.currentMode==="ir")return i.lute.VditorIRDOM2HTML(i.ir.element.innerHTML)},ku=o(214),Vs=o(436),Su=function(){function i(a){this.element=document.createElement("div"),this.element.className="vditor-outline",this.element.innerHTML='
    '.concat(a,`
    +
    `)}return i.prototype.render=function(a){var s="";return a.preview.element.style.display==="block"?s=(0,Vs.k)(a.preview.previewElement,this.element.lastElementChild,a):s=(0,Vs.k)(a[a.currentMode].element,this.element.lastElementChild,a),s},i.prototype.toggle=function(a,s,u){var d;s===void 0&&(s=!0),u===void 0&&(u=!0);var f=(d=a.toolbar.elements.outline)===null||d===void 0?void 0:d.firstElementChild;if(s&&window.innerWidth>=c.g.MOBILE_WIDTH?(this.element.style.display="block",this.render(a),f==null||f.classList.add("vditor-menu--current")):(this.element.style.display="none",f==null||f.classList.remove("vditor-menu--current")),u&&getSelection().rangeCount>0){var E=getSelection().getRangeAt(0);a[a.currentMode].element.contains(E.startContainer)&&(0,j.Hc)(E)}Fe(a)},i}(),Eu=o(280),Tu=function(){function i(a){var s=this;this.element=document.createElement("div"),this.element.className="vditor-preview",this.previewElement=document.createElement("div"),this.previewElement.className="vditor-reset",a.options.classes.preview&&this.previewElement.classList.add(a.options.classes.preview),this.previewElement.style.maxWidth=a.options.preview.maxWidth+"px",this.previewElement.addEventListener("copy",function(D){if(D.target.tagName!=="TEXTAREA"){var _=document.createElement("div");_.className="vditor-reset",_.appendChild(getSelection().getRangeAt(0).cloneContents()),s.copyToX(a,_,"default"),D.preventDefault()}}),this.previewElement.addEventListener("click",function(D){var _=(0,y.lG)(D.target,"SPAN");if(_&&(0,y.fb)(_,"vditor-toc")){var B=s.previewElement.querySelector("#"+_.getAttribute("data-target-id"));B&&(s.element.scrollTop=B.offsetTop);return}if(D.target.tagName==="A"){a.options.link.click?a.options.link.click(D.target):a.options.link.isOpen&&window.open(D.target.getAttribute("href")),D.preventDefault();return}D.target.tagName==="IMG"&&(a.options.image.preview?a.options.image.preview(D.target):a.options.image.isPreview&&(0,se.E)(D.target,a.options.lang,a.options.theme))}),this.element.appendChild(this.previewElement);var u=a.options.preview.actions;if(u.length!==0){var d=document.createElement("div");d.className="vditor-preview__action";for(var f=[],E=0;E').concat(L.text,""));continue}switch(L){case"desktop":f.push('');break;case"tablet":f.push('');break;case"mobile":f.push('');break;case"mp-wechat":f.push('');break;case"zhihu":f.push('');break}}d.innerHTML=f.join(""),d.addEventListener((0,m.Le)(),function(D){var _=(0,N.S)(D.target,"BUTTON");if(_){var B=_.getAttribute("data-type"),K=u.find(function(fe){return(fe==null?void 0:fe.key)===B});if(K){K.click(B);return}if(B==="mp-wechat"||B==="zhihu"){s.copyToX(a,s.previewElement.cloneNode(!0),B);return}B==="desktop"?s.previewElement.style.width="auto":B==="tablet"?s.previewElement.style.width="780px":s.previewElement.style.width="360px",s.previewElement.scrollWidth>s.previewElement.parentElement.clientWidth&&(s.previewElement.style.width="auto"),s.render(a),d.querySelectorAll("button").forEach(function(fe){fe.classList.remove("vditor-preview__action--current")}),_.classList.add("vditor-preview__action--current")}}),this.element.insertBefore(d,this.previewElement)}}return i.prototype.render=function(a,s){var u=this;if(clearTimeout(this.mdTimeoutId),this.element.style.display==="none"){this.element.getAttribute("data-type")==="renderPerformance"&&a.tip.hide();return}if(s){this.previewElement.innerHTML=s;return}if(v(a).replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")===""){this.previewElement.innerHTML="";return}var d=new Date().getTime(),f=v(a);this.mdTimeoutId=window.setTimeout(function(){if(a.options.preview.url){var E=new XMLHttpRequest;E.open("POST",a.options.preview.url),E.setRequestHeader("Content-Type","application/json;charset=UTF-8"),E.onreadystatechange=function(){if(E.readyState===XMLHttpRequest.DONE)if(E.status===200){var D=JSON.parse(E.responseText);if(D.code!==0){a.tip.show(D.msg);return}a.options.preview.transform&&(D.data=a.options.preview.transform(D.data)),u.previewElement.innerHTML=D.data,u.afterRender(a,d)}else{var _=a.lute.Md2HTML(f);a.options.preview.transform&&(_=a.options.preview.transform(_)),u.previewElement.innerHTML=_,u.afterRender(a,d)}},E.send(JSON.stringify({markdownText:f}))}else{var L=a.lute.Md2HTML(f);a.options.preview.transform&&(L=a.options.preview.transform(L)),u.previewElement.innerHTML=L,u.afterRender(a,d)}},a.options.preview.delay)},i.prototype.afterRender=function(a,s){a.options.preview.parse&&a.options.preview.parse(this.element);var u=new Date().getTime()-s;new Date().getTime()-s>2600?(a.tip.show(window.VditorI18n.performanceTip.replace("${x}",u.toString())),a.preview.element.setAttribute("data-type","renderPerformance")):a.preview.element.getAttribute("data-type")==="renderPerformance"&&(a.tip.hide(),a.preview.element.removeAttribute("data-type"));var d=a.preview.element.querySelector(".vditor-comment--focus");d&&d.classList.remove("vditor-comment--focus"),(0,Y.O)(a.preview.previewElement,a.options.preview.hljs),(0,Ce.s)(a.options.preview.hljs,a.preview.previewElement,a.options.cdn),(0,Ge.i)(a.preview.previewElement,a.options.cdn,a.options.theme),(0,nt.K)(a.preview.previewElement,a.options.cdn),(0,tt.J)(a.preview.previewElement,a.options.cdn,a.options.theme),(0,te.P)(a.preview.previewElement,a.options.cdn),(0,de.v)(a.preview.previewElement,a.options.cdn),(0,P.p)(a.preview.previewElement,a.options.cdn,a.options.theme),(0,je.P)(a.preview.previewElement,a.options.cdn,a.options.theme),(0,Ne.B)(a.preview.previewElement,a.options.cdn),(0,F.Q)(a.preview.previewElement,a.options.cdn),a.options.preview.render.media.enable&&(0,Eu.Y)(a.preview.previewElement),a.options.customRenders.forEach(function(L){L.render(a.preview.previewElement,a)});var f=a.preview.element,E=a.outline.render(a);E===""&&(E="[ToC]"),f.querySelectorAll('[data-type="toc-block"]').forEach(function(L){L.innerHTML=E,(0,qe.H)(L,{cdn:a.options.cdn,math:a.options.preview.math})}),(0,qe.H)(a.preview.previewElement,{cdn:a.options.cdn,math:a.options.preview.math})},i.prototype.copyToX=function(a,s,u){u===void 0&&(u="mp-wechat"),u!=="zhihu"?s.querySelectorAll(".katex-html .base").forEach(function(f){f.style.display="initial"}):s.querySelectorAll(".language-math").forEach(function(f){f.outerHTML=''.concat(f.getAttribute(')}),s.style.backgroundColor="#fff",s.querySelectorAll("code").forEach(function(f){f.style.backgroundImage="none"}),this.element.append(s);var d=s.ownerDocument.createRange();d.selectNode(s),(0,j.Hc)(d),document.execCommand("copy"),s.remove(),a.tip.show(["zhihu","mp-wechat"].includes(u)?"已复制,可到".concat(u==="zhihu"?"知乎":"微信公众号平台","进行粘贴"):"已复制到剪切板")},i}(),Au=function(){function i(a){this.element=document.createElement("div"),this.element.className="vditor-resize vditor-resize--".concat(a.options.resize.position),this.element.innerHTML='
    ',this.bindEvent(a)}return i.prototype.bindEvent=function(a){var s=this;this.element.addEventListener("mousedown",function(u){var d=document,f=u.clientY,E=a.element.offsetHeight,L=63+a.element.querySelector(".vditor-toolbar").clientHeight;d.ondragstart=function(){return!1},window.captureEvents&&window.captureEvents(),s.element.classList.add("vditor-resize--selected"),d.onmousemove=function(D){a.options.resize.position==="top"?a.element.style.height=Math.max(L,E+(f-D.clientY))+"px":a.element.style.height=Math.max(L,E+(D.clientY-f))+"px",a.options.typewriterMode&&(a.sv.element.style.paddingBottom=a.sv.element.parentElement.offsetHeight/2+"px")},d.onmouseup=function(){a.options.resize.after&&a.options.resize.after(a.element.offsetHeight-E),window.captureEvents&&window.captureEvents(),d.onmousemove=null,d.onmouseup=null,d.ondragstart=null,d.onselectstart=null,d.onselect=null,s.element.classList.remove("vditor-resize--selected")}})},i}(),Mu=function(){function i(a){this.composingLock=!1,this.element=document.createElement("pre"),this.element.className="vditor-sv vditor-reset",this.element.setAttribute("placeholder",a.options.placeholder),this.element.setAttribute("contenteditable","true"),this.element.setAttribute("spellcheck","false"),this.bindEvent(a),Yi(a,this.element),Ji(a,this.element),ee(a,this.element),ye(a,this.element),hi(a,this.element),Ai(a,this.element,this.copy),q(a,this.element,this.copy)}return i.prototype.copy=function(a,s){a.stopPropagation(),a.preventDefault(),a.clipboardData.setData("text/plain",Or(s[s.currentMode].element))},i.prototype.bindEvent=function(a){var s=this;this.element.addEventListener("paste",function(u){na(a,u,{pasteCode:function(d){document.execCommand("insertHTML",!1,d)}})}),this.element.addEventListener("scroll",function(){if(a.preview.element.style.display==="block"){var u=s.element.scrollTop,d=s.element.clientHeight,f=s.element.scrollHeight-parseFloat(s.element.style.paddingBottom||"0"),E=a.preview.element;u/d>.5?E.scrollTop=(u+d)*E.scrollHeight/f-d:E.scrollTop=u*E.scrollHeight/f}}),this.element.addEventListener("compositionstart",function(u){s.composingLock=!0}),this.element.addEventListener("compositionend",function(u){(0,m.vU)()||Z(a,u),s.composingLock=!1}),this.element.addEventListener("input",function(u){if(!(u.inputType==="deleteByDrag"||u.inputType==="insertFromDrop")&&!(s.composingLock||u.data==="‘"||u.data==="“"||u.data==="《")){if(s.preventInput){s.preventInput=!1,ze(a,{enableAddUndoStack:!0,enableHint:!0,enableInput:!0});return}Z(a,u)}}),this.element.addEventListener("keyup",function(u){if(!(u.isComposing||(0,m.yl)(u))){if((u.key==="Backspace"||u.key==="Delete")&&a.sv.element.innerHTML!==""&&a.sv.element.childNodes.length===1&&a.sv.element.firstElementChild&&a.sv.element.firstElementChild.tagName==="DIV"&&a.sv.element.firstElementChild.childElementCount===2&&(a.sv.element.firstElementChild.textContent===""||a.sv.element.textContent===` +`)){a.sv.element.innerHTML="";return}u.key==="Enter"&&X(a)}})},i}(),Ws=function(){function i(){this.element=document.createElement("div"),this.element.className="vditor-tip"}return i.prototype.show=function(a,s){var u=this;s===void 0&&(s=6e3),this.element.className="vditor-tip vditor-tip--show",s===0?(this.element.innerHTML='
    '.concat(a,` +
    X
    `),this.element.querySelector(".vditor-tip__close").addEventListener("click",function(){u.hide()})):(this.element.innerHTML='
    '.concat(a,"
    "),setTimeout(function(){u.hide()},s)),this.element.removeAttribute("style"),setTimeout(function(){var d=u.element.getBoundingClientRect();d.top<46&&(u.element.style.position="fixed",u.element.style.top="46px")},150)},i.prototype.hide=function(){this.element.className="vditor-messageElementtip",this.element.innerHTML=""},i}(),bo=function(i,a){if(a.options.preview.mode!==i){switch(a.options.preview.mode=i,i){case"both":a.sv.element.style.display="block",a.preview.element.style.display="block",a.preview.render(a),w(a.toolbar.elements,["both"]);break;case"editor":a.sv.element.style.display="block",a.preview.element.style.display="none",x(a.toolbar.elements,["both"]);break}a.devtools&&a.devtools.renderEchart(a)}},Cu=function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(u[f]=d[f])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}(),Lu=function(i){Cu(a,i);function a(s,u){var d=i.call(this,s,u)||this;return s.options.preview.mode==="both"&&d.element.children[0].classList.add("vditor-menu--current"),d.element.children[0].addEventListener((0,m.Le)(),function(f){var E=d.element.firstElementChild;E.classList.contains(c.g.CLASS_MENU_DISABLED)||(f.preventDefault(),s.currentMode==="sv"&&(s.options.preview.mode==="both"?bo("editor",s):bo("both",s)))}),d}return a}(Mt),_u=function(){function i(){this.element=document.createElement("div"),this.element.className="vditor-toolbar__br"}return i}(),Gs=o(580),Nu=function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(u[f]=d[f])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}(),Du=function(i){Nu(a,i);function a(s,u){var d=i.call(this,s,u)||this,f=d.element.children[0],E=document.createElement("div");E.className="vditor-hint".concat(u.level===2?"":" vditor-panel--arrow");var L="";return c.g.CODE_THEME.forEach(function(D){L+="")}),E.innerHTML='
    ').concat(L,"
    "),E.addEventListener((0,m.Le)(),function(D){D.target.tagName==="BUTTON"&&(A(s,["subToolbar"]),s.options.preview.hljs.style=D.target.textContent,(0,Gs.Y)(D.target.textContent,s.options.cdn),D.preventDefault(),D.stopPropagation())}),d.element.appendChild(E),M(s,E,f,u.level),d}return a}(Mt),Ru=function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(u[f]=d[f])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}(),Iu=function(i){Ru(a,i);function a(s,u){var d=i.call(this,s,u)||this,f=d.element.children[0],E=document.createElement("div");E.className="vditor-hint".concat(u.level===2?"":" vditor-panel--arrow");var L="";return Object.keys(s.options.preview.theme.list).forEach(function(D){L+='")}),E.innerHTML='
    ').concat(L,"
    "),E.addEventListener((0,m.Le)(),function(D){D.target.tagName==="BUTTON"&&(A(s,["subToolbar"]),s.options.preview.theme.current=D.target.getAttribute("data-type"),(0,le.Z)(s.options.preview.theme.current,s.options.preview.theme.path),D.preventDefault(),D.stopPropagation())}),d.element.appendChild(E),M(s,E,f,u.level),d}return a}(Mt),Ou=function(){function i(a){this.element=document.createElement("span"),this.element.className="vditor-counter vditor-tooltipped vditor-tooltipped__nw",this.render(a,"")}return i.prototype.render=function(a,s){var u=s.endsWith(` +`)?s.length-1:s.length;if(a.options.counter.type==="text"&&a[a.currentMode]){var d=a[a.currentMode].element.cloneNode(!0);d.querySelectorAll(".vditor-wysiwyg__preview").forEach(function(f){f.remove()}),u=d.textContent.length}typeof a.options.counter.max=="number"?(u>a.options.counter.max?this.element.className="vditor-counter vditor-counter--error":this.element.className="vditor-counter",this.element.innerHTML="".concat(u,"/").concat(a.options.counter.max)):this.element.innerHTML="".concat(u),this.element.setAttribute("aria-label",a.options.counter.type),a.options.counter.after&&a.options.counter.after(u,{enable:a.options.counter.enable,max:a.options.counter.max,type:a.options.counter.type})},i}(),Hu=function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(u[f]=d[f])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}(),Pu=function(i){Hu(a,i);function a(s,u){var d=i.call(this,s,u)||this;return d.element.children[0].innerHTML=u.icon,d.element.children[0].addEventListener((0,m.Le)(),function(f){f.preventDefault(),!f.currentTarget.classList.contains(c.g.CLASS_MENU_DISABLED)&&u.click(f,s)}),d}return a}(Mt),zu=function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(u[f]=d[f])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}(),Bu=function(i){zu(a,i);function a(s,u){var d=i.call(this,s,u)||this;return d.element.firstElementChild.addEventListener((0,m.Le)(),function(f){var E=d.element.firstElementChild;E.classList.contains(c.g.CLASS_MENU_DISABLED)||(f.preventDefault(),E.classList.contains("vditor-menu--current")?(E.classList.remove("vditor-menu--current"),s.devtools.element.style.display="none",Fe(s)):(E.classList.add("vditor-menu--current"),s.devtools.element.style.display="block",Fe(s),s.devtools.renderEchart(s)))}),d}return a}(Mt),Fu=function(){function i(){this.element=document.createElement("div"),this.element.className="vditor-toolbar__divider"}return i}(),qu=function(){var i=function(a,s){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(u,d){u.__proto__=d}||function(u,d){for(var f in d)Object.prototype.hasOwnProperty.call(d,f)&&(u[f]=d[f])},i(a,s)};return function(a,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");i(a,s);function u(){this.constructor=a}a.prototype=s===null?Object.create(s):(u.prototype=s.prototype,new u)}}(),ju=function(i){qu(a,i);function a(s,u){var d=i.call(this,s,u)||this,f=document.createElement("div");f.className="vditor-panel vditor-panel--arrow";var E="";return Object.keys(s.options.hint.emoji).forEach(function(L){var D=s.options.hint.emoji[L];D.indexOf(".")>-1?E+=''):E+='")}),f.innerHTML='
    ').concat(E,`
    `).concat(s.options.hint.emojiTail||"",` -
    `),d.element.appendChild(f),M(s,f,d.element.firstElementChild,u.level),d.bindEvent(s),d}return a.prototype.bindEvent=function(s){var u=this;this.element.lastElementChild.addEventListener((0,m.Le)(),function(d){var f=(0,N.S)(d.target,"BUTTON");if(f){d.preventDefault();var E=f.getAttribute("data-value"),L=(0,q.zh)(s),D=E;if(s.currentMode==="wysiwyg"?D=s.lute.SpinVditorDOM(E):s.currentMode==="ir"&&(D=s.lute.SpinVditorIRDOM(E)),E.indexOf(":")>-1&&s.currentMode!=="sv"){var _=document.createElement("div");_.innerHTML=D,D=_.firstElementChild.firstElementChild.outerHTML+" ",(0,q.oC)(D,s)}else L.extractContents(),L.insertNode(document.createTextNode(E)),(0,y.F9)(L.startContainer)||Pn(s,L);L.collapse(!1),(0,q.Hc)(L),u.element.lastElementChild.style.display="none",lt(s)}}),this.element.lastElementChild.addEventListener("mouseover",function(d){var f=(0,N.S)(d.target,"BUTTON");f&&(u.element.querySelector(".vditor-emojis__tip").innerHTML=f.getAttribute("data-key"))})},a}(Mt),Gs=function(i,a,s){var u=document.createElement("a");"download"in u?(u.download=s,u.style.display="none",u.href=URL.createObjectURL(new Blob([a])),document.body.appendChild(u),u.click(),u.remove()):i.tip.show(window.VditorI18n.downloadTip,0)},$u=function(i){var a=v(i);Gs(i,a,a.substr(0,10)+".md")},Uu=function(i){i.tip.show(window.VditorI18n.generate,3800);var a=document.querySelector("#vditorExportIframe");a.contentDocument.open(),a.contentDocument.write(' +
    `),d.element.appendChild(f),M(s,f,d.element.firstElementChild,u.level),d.bindEvent(s),d}return a.prototype.bindEvent=function(s){var u=this;this.element.lastElementChild.addEventListener((0,m.Le)(),function(d){var f=(0,N.S)(d.target,"BUTTON");if(f){d.preventDefault();var E=f.getAttribute("data-value"),L=(0,j.zh)(s),D=E;if(s.currentMode==="wysiwyg"?D=s.lute.SpinVditorDOM(E):s.currentMode==="ir"&&(D=s.lute.SpinVditorIRDOM(E)),E.indexOf(":")>-1&&s.currentMode!=="sv"){var _=document.createElement("div");_.innerHTML=D,D=_.firstElementChild.firstElementChild.outerHTML+" ",(0,j.oC)(D,s)}else L.extractContents(),L.insertNode(document.createTextNode(E)),(0,y.F9)(L.startContainer)||In(s,L);L.collapse(!1),(0,j.Hc)(L),u.element.lastElementChild.style.display="none",st(s)}}),this.element.lastElementChild.addEventListener("mouseover",function(d){var f=(0,N.S)(d.target,"BUTTON");f&&(u.element.querySelector(".vditor-emojis__tip").innerHTML=f.getAttribute("data-key"))})},a}(Mt),Ks=function(i,a,s){var u=document.createElement("a");"download"in u?(u.download=s,u.style.display="none",u.href=URL.createObjectURL(new Blob([a])),document.body.appendChild(u),u.click(),u.remove()):i.tip.show(window.VditorI18n.downloadTip,0)},$u=function(i){var a=v(i);Ks(i,a,a.substr(0,10)+".md")},Uu=function(i){i.tip.show(window.VditorI18n.generate,3800);var a=document.querySelector("#vditorExportIframe");a.contentDocument.open(),a.contentDocument.write(' - + +
    diff --git a/frontend/src/components/MindMap.vue b/frontend/src/components/MindMap.vue index 0de8429..b946d36 100644 --- a/frontend/src/components/MindMap.vue +++ b/frontend/src/components/MindMap.vue @@ -1,5 +1,5 @@