halo博客文章编辑器拓展

增强halo博客文章编辑页面

// ==UserScript==
// @name         halo博客文章编辑器拓展
// @namespace    http://sxh705.github.io/
// @version      20
// @description  增强halo博客文章编辑页面
// @author       github sxh705
// @include      /^(http|https):\/\/[^/]*\/admin.*$/
// @include      /^.*stackedit.io.*$/
// @icon         https://www.google.com/s2/favicons?sz=64&domain=greasyfork.org
// @grant        GM_addStyle
// @grant        GM_getResourceText
// @grant        unsafeWindow
// @require      https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js
// @require      https://unpkg.com/stackedit-js@1.0.7/docs/lib/stackedit.min.js
// @resource     vcss https://cdn.jsdelivr.net/npm/vditor/dist/index.css
// @run-at       document-idle
// @license      MIT
// ==/UserScript==
(function () {
    //'use strict';
    {
        // vcss
        let vcss = GM_getResourceText("vcss")
        GM_addStyle(vcss)
        let css = `
                    img {
                        max-width: 360px !important;
                    }
                `
        GM_addStyle(css)
        // vjs
        let script = document.createElement('script')
        script.setAttribute('type', 'text/javascript')
        //script.src = "https://cdn.jsdelivr.net/npm/vditor/dist/index.min.js"
        script.text = decodeURIComponent(`
            !function(e%2Ct)%7B%22object%22%3D%3Dtypeof%20exports%26%26%22object%22%3D%3Dtypeof%20module%3Fmodule.exports%3Dt()%3A%22function%22%3D%3Dtypeof%20define%26%26define.amd%3Fdefine(%5B%5D%2Ct)%3A%22object%22%3D%3Dtypeof%20exports%3Fexports.Vditor%3Dt()%3Ae.Vditor%3Dt()%7D(this%2C(function()%7Breturn(()%3D%3E%7Bvar%20e%3D%7B760%3Ae%3D%3E%7Bvar%20t%3Dfunction()%7Bthis.Diff_Timeout%3D1%2Cthis.Diff_EditCost%3D4%2Cthis.Match_Threshold%3D.5%2Cthis.Match_Distance%3D1e3%2Cthis.Patch_DeleteThreshold%3D.5%2Cthis.Patch_Margin%3D4%2Cthis.Match_MaxBits%3D32%7D%2Cn%3D-1%3Bt.Diff%3Dfunction(e%2Ct)%7Breturn%5Be%2Ct%5D%7D%2Ct.prototype.diff_main%3Dfunction(e%2Cn%2Cr%2Ci)%7Bvoid%200%3D%3D%3Di%26%26(i%3Dthis.Diff_Timeout%3C%3D0%3FNumber.MAX_VALUE%3A(new%20Date).getTime()%2B1e3*this.Diff_Timeout)%3Bvar%20o%3Di%3Bif(null%3D%3De%7C%7Cnull%3D%3Dn)throw%20new%20Error(%22Null%20input.%20(diff_main)%22)%3Bif(e%3D%3Dn)return%20e%3F%5Bnew%20t.Diff(0%2Ce)%5D%3A%5B%5D%3Bvoid%200%3D%3D%3Dr%26%26(r%3D!0)%3Bvar%20a%3Dr%2Cl%3Dthis.diff_commonPrefix(e%2Cn)%2Cs%3De.substring(0%2Cl)%3Be%3De.substring(l)%2Cn%3Dn.substring(l)%2Cl%3Dthis.diff_commonSuffix(e%2Cn)%3Bvar%20d%3De.substring(e.length-l)%3Be%3De.substring(0%2Ce.length-l)%2Cn%3Dn.substring(0%2Cn.length-l)%3Bvar%20c%3Dthis.diff_compute_(e%2Cn%2Ca%2Co)%3Breturn%20s%26%26c.unshift(new%20t.Diff(0%2Cs))%2Cd%26%26c.push(new%20t.Diff(0%2Cd))%2Cthis.diff_cleanupMerge(c)%2Cc%7D%2Ct.prototype.diff_compute_%3Dfunction(e%2Cr%2Ci%2Co)%7Bvar%20a%3Bif(!e)return%5Bnew%20t.Diff(1%2Cr)%5D%3Bif(!r)return%5Bnew%20t.Diff(n%2Ce)%5D%3Bvar%20l%3De.length%3Er.length%3Fe%3Ar%2Cs%3De.length%3Er.length%3Fr%3Ae%2Cd%3Dl.indexOf(s)%3Bif(-1!%3Dd)return%20a%3D%5Bnew%20t.Diff(1%2Cl.substring(0%2Cd))%2Cnew%20t.Diff(0%2Cs)%2Cnew%20t.Diff(1%2Cl.substring(d%2Bs.length))%5D%2Ce.length%3Er.length%26%26(a%5B0%5D%5B0%5D%3Da%5B2%5D%5B0%5D%3Dn)%2Ca%3Bif(1%3D%3Ds.length)return%5Bnew%20t.Diff(n%2Ce)%2Cnew%20t.Diff(1%2Cr)%5D%3Bvar%20c%3Dthis.diff_halfMatch_(e%2Cr)%3Bif(c)%7Bvar%20u%3Dc%5B0%5D%2Cp%3Dc%5B1%5D%2Cm%3Dc%5B2%5D%2Cf%3Dc%5B3%5D%2Ch%3Dc%5B4%5D%2Cv%3Dthis.diff_main(u%2Cm%2Ci%2Co)%2Cg%3Dthis.diff_main(p%2Cf%2Ci%2Co)%3Breturn%20v.concat(%5Bnew%20t.Diff(0%2Ch)%5D%2Cg)%7Dreturn%20i%26%26e.length%3E100%26%26r.length%3E100%3Fthis.diff_lineMode_(e%2Cr%2Co)%3Athis.diff_bisect_(e%2Cr%2Co)%7D%2Ct.prototype.diff_lineMode_%3Dfunction(e%2Cr%2Ci)%7Bvar%20o%3Dthis.diff_linesToChars_(e%2Cr)%3Be%3Do.chars1%2Cr%3Do.chars2%3Bvar%20a%3Do.lineArray%2Cl%3Dthis.diff_main(e%2Cr%2C!1%2Ci)%3Bthis.diff_charsToLines_(l%2Ca)%2Cthis.diff_cleanupSemantic(l)%2Cl.push(new%20t.Diff(0%2C%22%22))%3Bfor(var%20s%3D0%2Cd%3D0%2Cc%3D0%2Cu%3D%22%22%2Cp%3D%22%22%3Bs%3Cl.length%3B)%7Bswitch(l%5Bs%5D%5B0%5D)%7Bcase%201%3Ac%2B%2B%2Cp%2B%3Dl%5Bs%5D%5B1%5D%3Bbreak%3Bcase%20n%3Ad%2B%2B%2Cu%2B%3Dl%5Bs%5D%5B1%5D%3Bbreak%3Bcase%200%3Aif(d%3E%3D1%26%26c%3E%3D1)%7Bl.splice(s-d-c%2Cd%2Bc)%2Cs%3Ds-d-c%3Bfor(var%20m%3Dthis.diff_main(u%2Cp%2C!1%2Ci)%2Cf%3Dm.length-1%3Bf%3E%3D0%3Bf--)l.splice(s%2C0%2Cm%5Bf%5D)%3Bs%2B%3Dm.length%7Dc%3D0%2Cd%3D0%2Cu%3D%22%22%2Cp%3D%22%22%7Ds%2B%2B%7Dreturn%20l.pop()%2Cl%7D%2Ct.prototype.diff_bisect_%3Dfunction(e%2Cr%2Ci)%7Bfor(var%20o%3De.length%2Ca%3Dr.length%2Cl%3DMath.ceil((o%2Ba)%2F2)%2Cs%3Dl%2Cd%3D2*l%2Cc%3Dnew%20Array(d)%2Cu%3Dnew%20Array(d)%2Cp%3D0%3Bp%3Cd%3Bp%2B%2B)c%5Bp%5D%3D-1%2Cu%5Bp%5D%3D-1%3Bc%5Bs%2B1%5D%3D0%2Cu%5Bs%2B1%5D%3D0%3Bfor(var%20m%3Do-a%2Cf%3Dm%252!%3D0%2Ch%3D0%2Cv%3D0%2Cg%3D0%2Cy%3D0%2Cb%3D0%3Bb%3Cl%26%26!((new%20Date).getTime()%3Ei)%3Bb%2B%2B)%7Bfor(var%20w%3D-b%2Bh%3Bw%3C%3Db-v%3Bw%2B%3D2)%7Bfor(var%20E%3Ds%2Bw%2Ck%3D(T%3Dw%3D%3D-b%7C%7Cw!%3Db%26%26c%5BE-1%5D%3Cc%5BE%2B1%5D%3Fc%5BE%2B1%5D%3Ac%5BE-1%5D%2B1)-w%3BT%3Co%26%26k%3Ca%26%26e.charAt(T)%3D%3Dr.charAt(k)%3B)T%2B%2B%2Ck%2B%2B%3Bif(c%5BE%5D%3DT%2CT%3Eo)v%2B%3D2%3Belse%20if(k%3Ea)h%2B%3D2%3Belse%20if(f)%7Bif((C%3Ds%2Bm-w)%3E%3D0%26%26C%3Cd%26%26-1!%3Du%5BC%5D)if(T%3E%3D(L%3Do-u%5BC%5D))return%20this.diff_bisectSplit_(e%2Cr%2CT%2Ck%2Ci)%7D%7Dfor(var%20S%3D-b%2Bg%3BS%3C%3Db-y%3BS%2B%3D2)%7Bfor(var%20L%2CC%3Ds%2BS%2CM%3D(L%3DS%3D%3D-b%7C%7CS!%3Db%26%26u%5BC-1%5D%3Cu%5BC%2B1%5D%3Fu%5BC%2B1%5D%3Au%5BC-1%5D%2B1)-S%3BL%3Co%26%26M%3Ca%26%26e.charAt(o-L-1)%3D%3Dr.charAt(a-M-1)%3B)L%2B%2B%2CM%2B%2B%3Bif(u%5BC%5D%3DL%2CL%3Eo)y%2B%3D2%3Belse%20if(M%3Ea)g%2B%3D2%3Belse%20if(!f)%7Bif((E%3Ds%2Bm-S)%3E%3D0%26%26E%3Cd%26%26-1!%3Dc%5BE%5D)%7Bvar%20T%3Bk%3Ds%2B(T%3Dc%5BE%5D)-E%3Bif(T%3E%3D(L%3Do-L))return%20this.diff_bisectSplit_(e%2Cr%2CT%2Ck%2Ci)%7D%7D%7D%7Dreturn%5Bnew%20t.Diff(n%2Ce)%2Cnew%20t.Diff(1%2Cr)%5D%7D%2Ct.prototype.diff_bisectSplit_%3Dfunction(e%2Ct%2Cn%2Cr%2Ci)%7Bvar%20o%3De.substring(0%2Cn)%2Ca%3Dt.substring(0%2Cr)%2Cl%3De.substring(n)%2Cs%3Dt.substring(r)%2Cd%3Dthis.diff_main(o%2Ca%2C!1%2Ci)%2Cc%3Dthis.diff_main(l%2Cs%2C!1%2Ci)%3Breturn%20d.concat(c)%7D%2Ct.prototype.diff_linesToChars_%3Dfunction(e%2Ct)%7Bvar%20n%3D%5B%5D%2Cr%3D%7B%7D%3Bfunction%20i(e)%7Bfor(var%20t%3D%22%22%2Ci%3D0%2Ca%3D-1%2Cl%3Dn.length%3Ba%3Ce.length-1%3B)%7B-1%3D%3D(a%3De.indexOf(%22%5Cn%22%2Ci))%26%26(a%3De.length-1)%3Bvar%20s%3De.substring(i%2Ca%2B1)%3B(r.hasOwnProperty%3Fr.hasOwnProperty(s)%3Avoid%200!%3D%3Dr%5Bs%5D)%3Ft%2B%3DString.fromCharCode(r%5Bs%5D)%3A(l%3D%3Do%26%26(s%3De.substring(i)%2Ca%3De.length)%2Ct%2B%3DString.fromCharCode(l)%2Cr%5Bs%5D%3Dl%2Cn%5Bl%2B%2B%5D%3Ds)%2Ci%3Da%2B1%7Dreturn%20t%7Dn%5B0%5D%3D%22%22%3Bvar%20o%3D4e4%2Ca%3Di(e)%3Breturn%20o%3D65535%2C%7Bchars1%3Aa%2Cchars2%3Ai(t)%2ClineArray%3An%7D%7D%2Ct.prototype.diff_charsToLines_%3Dfunction(e%2Ct)%7Bfor(var%20n%3D0%3Bn%3Ce.length%3Bn%2B%2B)%7Bfor(var%20r%3De%5Bn%5D%5B1%5D%2Ci%3D%5B%5D%2Co%3D0%3Bo%3Cr.length%3Bo%2B%2B)i%5Bo%5D%3Dt%5Br.charCodeAt(o)%5D%3Be%5Bn%5D%5B1%5D%3Di.join(%22%22)%7D%7D%2Ct.prototype.diff_commonPrefix%3Dfunction(e%2Ct)%7Bif(!e%7C%7C!t%7C%7Ce.charAt(0)!%3Dt.charAt(0))return%200%3Bfor(var%20n%3D0%2Cr%3DMath.min(e.length%2Ct.length)%2Ci%3Dr%2Co%3D0%3Bn%3Ci%3B)e.substring(o%2Ci)%3D%3Dt.substring(o%2Ci)%3Fo%3Dn%3Di%3Ar%3Di%2Ci%3DMath.floor((r-n)%2F2%2Bn)%3Breturn%20i%7D%2Ct.prototype.diff_commonSuffix%3Dfunction(e%2Ct)%7Bif(!e%7C%7C!t%7C%7Ce.charAt(e.length-1)!%3Dt.charAt(t.length-1))return%200%3Bfor(var%20n%3D0%2Cr%3DMath.min(e.length%2Ct.length)%2Ci%3Dr%2Co%3D0%3Bn%3Ci%3B)e.substring(e.length-i%2Ce.length-o)%3D%3Dt.substring(t.length-i%2Ct.length-o)%3Fo%3Dn%3Di%3Ar%3Di%2Ci%3DMath.floor((r-n)%2F2%2Bn)%3Breturn%20i%7D%2Ct.prototype.diff_commonOverlap_%3Dfunction(e%2Ct)%7Bvar%20n%3De.length%2Cr%3Dt.length%3Bif(0%3D%3Dn%7C%7C0%3D%3Dr)return%200%3Bn%3Er%3Fe%3De.substring(n-r)%3An%3Cr%26%26(t%3Dt.substring(0%2Cn))%3Bvar%20i%3DMath.min(n%2Cr)%3Bif(e%3D%3Dt)return%20i%3Bfor(var%20o%3D0%2Ca%3D1%3B%3B)%7Bvar%20l%3De.substring(i-a)%2Cs%3Dt.indexOf(l)%3Bif(-1%3D%3Ds)return%20o%3Ba%2B%3Ds%2C0!%3Ds%26%26e.substring(i-a)!%3Dt.substring(0%2Ca)%7C%7C(o%3Da%2Ca%2B%2B)%7D%7D%2Ct.prototype.diff_halfMatch_%3Dfunction(e%2Ct)%7Bif(this.Diff_Timeout%3C%3D0)return%20null%3Bvar%20n%3De.length%3Et.length%3Fe%3At%2Cr%3De.length%3Et.length%3Ft%3Ae%3Bif(n.length%3C4%7C%7C2*r.length%3Cn.length)return%20null%3Bvar%20i%3Dthis%3Bfunction%20o(e%2Ct%2Cn)%7Bfor(var%20r%2Co%2Ca%2Cl%2Cs%3De.substring(n%2Cn%2BMath.floor(e.length%2F4))%2Cd%3D-1%2Cc%3D%22%22%3B-1!%3D(d%3Dt.indexOf(s%2Cd%2B1))%3B)%7Bvar%20u%3Di.diff_commonPrefix(e.substring(n)%2Ct.substring(d))%2Cp%3Di.diff_commonSuffix(e.substring(0%2Cn)%2Ct.substring(0%2Cd))%3Bc.length%3Cp%2Bu%26%26(c%3Dt.substring(d-p%2Cd)%2Bt.substring(d%2Cd%2Bu)%2Cr%3De.substring(0%2Cn-p)%2Co%3De.substring(n%2Bu)%2Ca%3Dt.substring(0%2Cd-p)%2Cl%3Dt.substring(d%2Bu))%7Dreturn%202*c.length%3E%3De.length%3F%5Br%2Co%2Ca%2Cl%2Cc%5D%3Anull%7Dvar%20a%2Cl%2Cs%2Cd%2Cc%2Cu%3Do(n%2Cr%2CMath.ceil(n.length%2F4))%2Cp%3Do(n%2Cr%2CMath.ceil(n.length%2F2))%3Breturn%20u%7C%7Cp%3F(a%3Dp%3Fu%26%26u%5B4%5D.length%3Ep%5B4%5D.length%3Fu%3Ap%3Au%2Ce.length%3Et.length%3F(l%3Da%5B0%5D%2Cs%3Da%5B1%5D%2Cd%3Da%5B2%5D%2Cc%3Da%5B3%5D)%3A(d%3Da%5B0%5D%2Cc%3Da%5B1%5D%2Cl%3Da%5B2%5D%2Cs%3Da%5B3%5D)%2C%5Bl%2Cs%2Cd%2Cc%2Ca%5B4%5D%5D)%3Anull%7D%2Ct.prototype.diff_cleanupSemantic%3Dfunction(e)%7Bfor(var%20r%3D!1%2Ci%3D%5B%5D%2Co%3D0%2Ca%3Dnull%2Cl%3D0%2Cs%3D0%2Cd%3D0%2Cc%3D0%2Cu%3D0%3Bl%3Ce.length%3B)0%3D%3De%5Bl%5D%5B0%5D%3F(i%5Bo%2B%2B%5D%3Dl%2Cs%3Dc%2Cd%3Du%2Cc%3D0%2Cu%3D0%2Ca%3De%5Bl%5D%5B1%5D)%3A(1%3D%3De%5Bl%5D%5B0%5D%3Fc%2B%3De%5Bl%5D%5B1%5D.length%3Au%2B%3De%5Bl%5D%5B1%5D.length%2Ca%26%26a.length%3C%3DMath.max(s%2Cd)%26%26a.length%3C%3DMath.max(c%2Cu)%26%26(e.splice(i%5Bo-1%5D%2C0%2Cnew%20t.Diff(n%2Ca))%2Ce%5Bi%5Bo-1%5D%2B1%5D%5B0%5D%3D1%2Co--%2Cl%3D--o%3E0%3Fi%5Bo-1%5D%3A-1%2Cs%3D0%2Cd%3D0%2Cc%3D0%2Cu%3D0%2Ca%3Dnull%2Cr%3D!0))%2Cl%2B%2B%3Bfor(r%26%26this.diff_cleanupMerge(e)%2Cthis.diff_cleanupSemanticLossless(e)%2Cl%3D1%3Bl%3Ce.length%3B)%7Bif(e%5Bl-1%5D%5B0%5D%3D%3Dn%26%261%3D%3De%5Bl%5D%5B0%5D)%7Bvar%20p%3De%5Bl-1%5D%5B1%5D%2Cm%3De%5Bl%5D%5B1%5D%2Cf%3Dthis.diff_commonOverlap_(p%2Cm)%2Ch%3Dthis.diff_commonOverlap_(m%2Cp)%3Bf%3E%3Dh%3F(f%3E%3Dp.length%2F2%7C%7Cf%3E%3Dm.length%2F2)%26%26(e.splice(l%2C0%2Cnew%20t.Diff(0%2Cm.substring(0%2Cf)))%2Ce%5Bl-1%5D%5B1%5D%3Dp.substring(0%2Cp.length-f)%2Ce%5Bl%2B1%5D%5B1%5D%3Dm.substring(f)%2Cl%2B%2B)%3A(h%3E%3Dp.length%2F2%7C%7Ch%3E%3Dm.length%2F2)%26%26(e.splice(l%2C0%2Cnew%20t.Diff(0%2Cp.substring(0%2Ch)))%2Ce%5Bl-1%5D%5B0%5D%3D1%2Ce%5Bl-1%5D%5B1%5D%3Dm.substring(0%2Cm.length-h)%2Ce%5Bl%2B1%5D%5B0%5D%3Dn%2Ce%5Bl%2B1%5D%5B1%5D%3Dp.substring(h)%2Cl%2B%2B)%2Cl%2B%2B%7Dl%2B%2B%7D%7D%2Ct.prototype.diff_cleanupSemanticLossless%3Dfunction(e)%7Bfunction%20n(e%2Cn)%7Bif(!e%7C%7C!n)return%206%3Bvar%20r%3De.charAt(e.length-1)%2Ci%3Dn.charAt(0)%2Co%3Dr.match(t.nonAlphaNumericRegex_)%2Ca%3Di.match(t.nonAlphaNumericRegex_)%2Cl%3Do%26%26r.match(t.whitespaceRegex_)%2Cs%3Da%26%26i.match(t.whitespaceRegex_)%2Cd%3Dl%26%26r.match(t.linebreakRegex_)%2Cc%3Ds%26%26i.match(t.linebreakRegex_)%2Cu%3Dd%26%26e.match(t.blanklineEndRegex_)%2Cp%3Dc%26%26n.match(t.blanklineStartRegex_)%3Breturn%20u%7C%7Cp%3F5%3Ad%7C%7Cc%3F4%3Ao%26%26!l%26%26s%3F3%3Al%7C%7Cs%3F2%3Ao%7C%7Ca%3F1%3A0%7Dfor(var%20r%3D1%3Br%3Ce.length-1%3B)%7Bif(0%3D%3De%5Br-1%5D%5B0%5D%26%260%3D%3De%5Br%2B1%5D%5B0%5D)%7Bvar%20i%3De%5Br-1%5D%5B1%5D%2Co%3De%5Br%5D%5B1%5D%2Ca%3De%5Br%2B1%5D%5B1%5D%2Cl%3Dthis.diff_commonSuffix(i%2Co)%3Bif(l)%7Bvar%20s%3Do.substring(o.length-l)%3Bi%3Di.substring(0%2Ci.length-l)%2Co%3Ds%2Bo.substring(0%2Co.length-l)%2Ca%3Ds%2Ba%7Dfor(var%20d%3Di%2Cc%3Do%2Cu%3Da%2Cp%3Dn(i%2Co)%2Bn(o%2Ca)%3Bo.charAt(0)%3D%3D%3Da.charAt(0)%3B)%7Bi%2B%3Do.charAt(0)%2Co%3Do.substring(1)%2Ba.charAt(0)%2Ca%3Da.substring(1)%3Bvar%20m%3Dn(i%2Co)%2Bn(o%2Ca)%3Bm%3E%3Dp%26%26(p%3Dm%2Cd%3Di%2Cc%3Do%2Cu%3Da)%7De%5Br-1%5D%5B1%5D!%3Dd%26%26(d%3Fe%5Br-1%5D%5B1%5D%3Dd%3A(e.splice(r-1%2C1)%2Cr--)%2Ce%5Br%5D%5B1%5D%3Dc%2Cu%3Fe%5Br%2B1%5D%5B1%5D%3Du%3A(e.splice(r%2B1%2C1)%2Cr--))%7Dr%2B%2B%7D%7D%2Ct.nonAlphaNumericRegex_%3D%2F%5B%5Ea-zA-Z0-9%5D%2F%2Ct.whitespaceRegex_%3D%2F%5Cs%2F%2Ct.linebreakRegex_%3D%2F%5B%5Cr%5Cn%5D%2F%2Ct.blanklineEndRegex_%3D%2F%5Cn%5Cr%3F%5Cn%24%2F%2Ct.blanklineStartRegex_%3D%2F%5E%5Cr%3F%5Cn%5Cr%3F%5Cn%2F%2Ct.prototype.diff_cleanupEfficiency%3Dfunction(e)%7Bfor(var%20r%3D!1%2Ci%3D%5B%5D%2Co%3D0%2Ca%3Dnull%2Cl%3D0%2Cs%3D!1%2Cd%3D!1%2Cc%3D!1%2Cu%3D!1%3Bl%3Ce.length%3B)0%3D%3De%5Bl%5D%5B0%5D%3F(e%5Bl%5D%5B1%5D.length%3Cthis.Diff_EditCost%26%26(c%7C%7Cu)%3F(i%5Bo%2B%2B%5D%3Dl%2Cs%3Dc%2Cd%3Du%2Ca%3De%5Bl%5D%5B1%5D)%3A(o%3D0%2Ca%3Dnull)%2Cc%3Du%3D!1)%3A(e%5Bl%5D%5B0%5D%3D%3Dn%3Fu%3D!0%3Ac%3D!0%2Ca%26%26(s%26%26d%26%26c%26%26u%7C%7Ca.length%3Cthis.Diff_EditCost%2F2%26%26s%2Bd%2Bc%2Bu%3D%3D3)%26%26(e.splice(i%5Bo-1%5D%2C0%2Cnew%20t.Diff(n%2Ca))%2Ce%5Bi%5Bo-1%5D%2B1%5D%5B0%5D%3D1%2Co--%2Ca%3Dnull%2Cs%26%26d%3F(c%3Du%3D!0%2Co%3D0)%3A(l%3D--o%3E0%3Fi%5Bo-1%5D%3A-1%2Cc%3Du%3D!1)%2Cr%3D!0))%2Cl%2B%2B%3Br%26%26this.diff_cleanupMerge(e)%7D%2Ct.prototype.diff_cleanupMerge%3Dfunction(e)%7Be.push(new%20t.Diff(0%2C%22%22))%3Bfor(var%20r%2Ci%3D0%2Co%3D0%2Ca%3D0%2Cl%3D%22%22%2Cs%3D%22%22%3Bi%3Ce.length%3B)switch(e%5Bi%5D%5B0%5D)%7Bcase%201%3Aa%2B%2B%2Cs%2B%3De%5Bi%5D%5B1%5D%2Ci%2B%2B%3Bbreak%3Bcase%20n%3Ao%2B%2B%2Cl%2B%3De%5Bi%5D%5B1%5D%2Ci%2B%2B%3Bbreak%3Bcase%200%3Ao%2Ba%3E1%3F(0!%3D%3Do%26%260!%3D%3Da%26%26(0!%3D%3D(r%3Dthis.diff_commonPrefix(s%2Cl))%26%26(i-o-a%3E0%26%260%3D%3De%5Bi-o-a-1%5D%5B0%5D%3Fe%5Bi-o-a-1%5D%5B1%5D%2B%3Ds.substring(0%2Cr)%3A(e.splice(0%2C0%2Cnew%20t.Diff(0%2Cs.substring(0%2Cr)))%2Ci%2B%2B)%2Cs%3Ds.substring(r)%2Cl%3Dl.substring(r))%2C0!%3D%3D(r%3Dthis.diff_commonSuffix(s%2Cl))%26%26(e%5Bi%5D%5B1%5D%3Ds.substring(s.length-r)%2Be%5Bi%5D%5B1%5D%2Cs%3Ds.substring(0%2Cs.length-r)%2Cl%3Dl.substring(0%2Cl.length-r)))%2Ci-%3Do%2Ba%2Ce.splice(i%2Co%2Ba)%2Cl.length%26%26(e.splice(i%2C0%2Cnew%20t.Diff(n%2Cl))%2Ci%2B%2B)%2Cs.length%26%26(e.splice(i%2C0%2Cnew%20t.Diff(1%2Cs))%2Ci%2B%2B)%2Ci%2B%2B)%3A0!%3D%3Di%26%260%3D%3De%5Bi-1%5D%5B0%5D%3F(e%5Bi-1%5D%5B1%5D%2B%3De%5Bi%5D%5B1%5D%2Ce.splice(i%2C1))%3Ai%2B%2B%2Ca%3D0%2Co%3D0%2Cl%3D%22%22%2Cs%3D%22%22%7D%22%22%3D%3D%3De%5Be.length-1%5D%5B1%5D%26%26e.pop()%3Bvar%20d%3D!1%3Bfor(i%3D1%3Bi%3Ce.length-1%3B)0%3D%3De%5Bi-1%5D%5B0%5D%26%260%3D%3De%5Bi%2B1%5D%5B0%5D%26%26(e%5Bi%5D%5B1%5D.substring(e%5Bi%5D%5B1%5D.length-e%5Bi-1%5D%5B1%5D.length)%3D%3De%5Bi-1%5D%5B1%5D%3F(e%5Bi%5D%5B1%5D%3De%5Bi-1%5D%5B1%5D%2Be%5Bi%5D%5B1%5D.substring(0%2Ce%5Bi%5D%5B1%5D.length-e%5Bi-1%5D%5B1%5D.length)%2Ce%5Bi%2B1%5D%5B1%5D%3De%5Bi-1%5D%5B1%5D%2Be%5Bi%2B1%5D%5B1%5D%2Ce.splice(i-1%2C1)%2Cd%3D!0)%3Ae%5Bi%5D%5B1%5D.substring(0%2Ce%5Bi%2B1%5D%5B1%5D.length)%3D%3De%5Bi%2B1%5D%5B1%5D%26%26(e%5Bi-1%5D%5B1%5D%2B%3De%5Bi%2B1%5D%5B1%5D%2Ce%5Bi%5D%5B1%5D%3De%5Bi%5D%5B1%5D.substring(e%5Bi%2B1%5D%5B1%5D.length)%2Be%5Bi%2B1%5D%5B1%5D%2Ce.splice(i%2B1%2C1)%2Cd%3D!0))%2Ci%2B%2B%3Bd%26%26this.diff_cleanupMerge(e)%7D%2Ct.prototype.diff_xIndex%3Dfunction(e%2Ct)%7Bvar%20r%2Ci%3D0%2Co%3D0%2Ca%3D0%2Cl%3D0%3Bfor(r%3D0%3Br%3Ce.length%26%26(1!%3D%3De%5Br%5D%5B0%5D%26%26(i%2B%3De%5Br%5D%5B1%5D.length)%2Ce%5Br%5D%5B0%5D!%3D%3Dn%26%26(o%2B%3De%5Br%5D%5B1%5D.length)%2C!(i%3Et))%3Br%2B%2B)a%3Di%2Cl%3Do%3Breturn%20e.length!%3Dr%26%26e%5Br%5D%5B0%5D%3D%3D%3Dn%3Fl%3Al%2B(t-a)%7D%2Ct.prototype.diff_prettyHtml%3Dfunction(e)%7Bfor(var%20t%3D%5B%5D%2Cr%3D%2F%26%2Fg%2Ci%3D%2F%3C%2Fg%2Co%3D%2F%3E%2Fg%2Ca%3D%2F%5Cn%2Fg%2Cl%3D0%3Bl%3Ce.length%3Bl%2B%2B)%7Bvar%20s%3De%5Bl%5D%5B0%5D%2Cd%3De%5Bl%5D%5B1%5D.replace(r%2C%22%26%22).replace(i%2C%22%26lt%3B%22).replace(o%2C%22%26gt%3B%22).replace(a%2C%22%26para%3B%3Cbr%3E%22)%3Bswitch(s)%7Bcase%201%3At%5Bl%5D%3D%27%3Cins%20style%3D%22background%3A%23e6ffe6%3B%22%3E%27%2Bd%2B%22%3C%2Fins%3E%22%3Bbreak%3Bcase%20n%3At%5Bl%5D%3D%27%3Cdel%20style%3D%22background%3A%23ffe6e6%3B%22%3E%27%2Bd%2B%22%3C%2Fdel%3E%22%3Bbreak%3Bcase%200%3At%5Bl%5D%3D%22%3Cspan%3E%22%2Bd%2B%22%3C%2Fspan%3E%22%7D%7Dreturn%20t.join(%22%22)%7D%2Ct.prototype.diff_text1%3Dfunction(e)%7Bfor(var%20t%3D%5B%5D%2Cn%3D0%3Bn%3Ce.length%3Bn%2B%2B)1!%3D%3De%5Bn%5D%5B0%5D%26%26(t%5Bn%5D%3De%5Bn%5D%5B1%5D)%3Breturn%20t.join(%22%22)%7D%2Ct.prototype.diff_text2%3Dfunction(e)%7Bfor(var%20t%3D%5B%5D%2Cr%3D0%3Br%3Ce.length%3Br%2B%2B)e%5Br%5D%5B0%5D!%3D%3Dn%26%26(t%5Br%5D%3De%5Br%5D%5B1%5D)%3Breturn%20t.join(%22%22)%7D%2Ct.prototype.diff_levenshtein%3Dfunction(e)%7Bfor(var%20t%3D0%2Cr%3D0%2Ci%3D0%2Co%3D0%3Bo%3Ce.length%3Bo%2B%2B)%7Bvar%20a%3De%5Bo%5D%5B0%5D%2Cl%3De%5Bo%5D%5B1%5D%3Bswitch(a)%7Bcase%201%3Ar%2B%3Dl.length%3Bbreak%3Bcase%20n%3Ai%2B%3Dl.length%3Bbreak%3Bcase%200%3At%2B%3DMath.max(r%2Ci)%2Cr%3D0%2Ci%3D0%7D%7Dreturn%20t%2B%3DMath.max(r%2Ci)%7D%2Ct.prototype.diff_toDelta%3Dfunction(e)%7Bfor(var%20t%3D%5B%5D%2Cr%3D0%3Br%3Ce.length%3Br%2B%2B)switch(e%5Br%5D%5B0%5D)%7Bcase%201%3At%5Br%5D%3D%22%2B%22%2BencodeURI(e%5Br%5D%5B1%5D)%3Bbreak%3Bcase%20n%3At%5Br%5D%3D%22-%22%2Be%5Br%5D%5B1%5D.length%3Bbreak%3Bcase%200%3At%5Br%5D%3D%22%3D%22%2Be%5Br%5D%5B1%5D.length%7Dreturn%20t.join(%22%5Ct%22).replace(%2F%2520%2Fg%2C%22%20%22)%7D%2Ct.prototype.diff_fromDelta%3Dfunction(e%2Cr)%7Bfor(var%20i%3D%5B%5D%2Co%3D0%2Ca%3D0%2Cl%3Dr.split(%2F%5Ct%2Fg)%2Cs%3D0%3Bs%3Cl.length%3Bs%2B%2B)%7Bvar%20d%3Dl%5Bs%5D.substring(1)%3Bswitch(l%5Bs%5D.charAt(0))%7Bcase%22%2B%22%3Atry%7Bi%5Bo%2B%2B%5D%3Dnew%20t.Diff(1%2CdecodeURI(d))%7Dcatch(e)%7Bthrow%20new%20Error(%22Illegal%20escape%20in%20diff_fromDelta%3A%20%22%2Bd)%7Dbreak%3Bcase%22-%22%3Acase%22%3D%22%3Avar%20c%3DparseInt(d%2C10)%3Bif(isNaN(c)%7C%7Cc%3C0)throw%20new%20Error(%22Invalid%20number%20in%20diff_fromDelta%3A%20%22%2Bd)%3Bvar%20u%3De.substring(a%2Ca%2B%3Dc)%3B%22%3D%22%3D%3Dl%5Bs%5D.charAt(0)%3Fi%5Bo%2B%2B%5D%3Dnew%20t.Diff(0%2Cu)%3Ai%5Bo%2B%2B%5D%3Dnew%20t.Diff(n%2Cu)%3Bbreak%3Bdefault%3Aif(l%5Bs%5D)throw%20new%20Error(%22Invalid%20diff%20operation%20in%20diff_fromDelta%3A%20%22%2Bl%5Bs%5D)%7D%7Dif(a!%3De.length)throw%20new%20Error(%22Delta%20length%20(%22%2Ba%2B%22)%20does%20not%20equal%20source%20text%20length%20(%22%2Be.length%2B%22).%22)%3Breturn%20i%7D%2Ct.prototype.match_main%3Dfunction(e%2Ct%2Cn)%7Bif(null%3D%3De%7C%7Cnull%3D%3Dt%7C%7Cnull%3D%3Dn)throw%20new%20Error(%22Null%20input.%20(match_main)%22)%3Breturn%20n%3DMath.max(0%2CMath.min(n%2Ce.length))%2Ce%3D%3Dt%3F0%3Ae.length%3Fe.substring(n%2Cn%2Bt.length)%3D%3Dt%3Fn%3Athis.match_bitap_(e%2Ct%2Cn)%3A-1%7D%2Ct.prototype.match_bitap_%3Dfunction(e%2Ct%2Cn)%7Bif(t.length%3Ethis.Match_MaxBits)throw%20new%20Error(%22Pattern%20too%20long%20for%20this%20browser.%22)%3Bvar%20r%3Dthis.match_alphabet_(t)%2Ci%3Dthis%3Bfunction%20o(e%2Cr)%7Bvar%20o%3De%2Ft.length%2Ca%3DMath.abs(n-r)%3Breturn%20i.Match_Distance%3Fo%2Ba%2Fi.Match_Distance%3Aa%3F1%3Ao%7Dvar%20a%3Dthis.Match_Threshold%2Cl%3De.indexOf(t%2Cn)%3B-1!%3Dl%26%26(a%3DMath.min(o(0%2Cl)%2Ca)%2C-1!%3D(l%3De.lastIndexOf(t%2Cn%2Bt.length))%26%26(a%3DMath.min(o(0%2Cl)%2Ca)))%3Bvar%20s%2Cd%2Cc%3D1%3C%3Ct.length-1%3Bl%3D-1%3Bfor(var%20u%2Cp%3Dt.length%2Be.length%2Cm%3D0%3Bm%3Ct.length%3Bm%2B%2B)%7Bfor(s%3D0%2Cd%3Dp%3Bs%3Cd%3B)o(m%2Cn%2Bd)%3C%3Da%3Fs%3Dd%3Ap%3Dd%2Cd%3DMath.floor((p-s)%2F2%2Bs)%3Bp%3Dd%3Bvar%20f%3DMath.max(1%2Cn-d%2B1)%2Ch%3DMath.min(n%2Bd%2Ce.length)%2Bt.length%2Cv%3DArray(h%2B2)%3Bv%5Bh%2B1%5D%3D(1%3C%3Cm)-1%3Bfor(var%20g%3Dh%3Bg%3E%3Df%3Bg--)%7Bvar%20y%3Dr%5Be.charAt(g-1)%5D%3Bif(v%5Bg%5D%3D0%3D%3D%3Dm%3F(v%5Bg%2B1%5D%3C%3C1%7C1)%26y%3A(v%5Bg%2B1%5D%3C%3C1%7C1)%26y%7C(u%5Bg%2B1%5D%7Cu%5Bg%5D)%3C%3C1%7C1%7Cu%5Bg%2B1%5D%2Cv%5Bg%5D%26c)%7Bvar%20b%3Do(m%2Cg-1)%3Bif(b%3C%3Da)%7Bif(a%3Db%2C!((l%3Dg-1)%3En))break%3Bf%3DMath.max(1%2C2*n-l)%7D%7D%7Dif(o(m%2B1%2Cn)%3Ea)break%3Bu%3Dv%7Dreturn%20l%7D%2Ct.prototype.match_alphabet_%3Dfunction(e)%7Bfor(var%20t%3D%7B%7D%2Cn%3D0%3Bn%3Ce.length%3Bn%2B%2B)t%5Be.charAt(n)%5D%3D0%3Bfor(n%3D0%3Bn%3Ce.length%3Bn%2B%2B)t%5Be.charAt(n)%5D%7C%3D1%3C%3Ce.length-n-1%3Breturn%20t%7D%2Ct.prototype.patch_addContext_%3Dfunction(e%2Cn)%7Bif(0!%3Dn.length)%7Bif(null%3D%3D%3De.start2)throw%20Error(%22patch%20not%20initialized%22)%3Bfor(var%20r%3Dn.substring(e.start2%2Ce.start2%2Be.length1)%2Ci%3D0%3Bn.indexOf(r)!%3Dn.lastIndexOf(r)%26%26r.length%3Cthis.Match_MaxBits-this.Patch_Margin-this.Patch_Margin%3B)i%2B%3Dthis.Patch_Margin%2Cr%3Dn.substring(e.start2-i%2Ce.start2%2Be.length1%2Bi)%3Bi%2B%3Dthis.Patch_Margin%3Bvar%20o%3Dn.substring(e.start2-i%2Ce.start2)%3Bo%26%26e.diffs.unshift(new%20t.Diff(0%2Co))%3Bvar%20a%3Dn.substring(e.start2%2Be.length1%2Ce.start2%2Be.length1%2Bi)%3Ba%26%26e.diffs.push(new%20t.Diff(0%2Ca))%2Ce.start1-%3Do.length%2Ce.start2-%3Do.length%2Ce.length1%2B%3Do.length%2Ba.length%2Ce.length2%2B%3Do.length%2Ba.length%7D%7D%2Ct.prototype.patch_make%3Dfunction(e%2Cr%2Ci)%7Bvar%20o%2Ca%3Bif(%22string%22%3D%3Dtypeof%20e%26%26%22string%22%3D%3Dtypeof%20r%26%26void%200%3D%3D%3Di)o%3De%2C(a%3Dthis.diff_main(o%2Cr%2C!0)).length%3E2%26%26(this.diff_cleanupSemantic(a)%2Cthis.diff_cleanupEfficiency(a))%3Belse%20if(e%26%26%22object%22%3D%3Dtypeof%20e%26%26void%200%3D%3D%3Dr%26%26void%200%3D%3D%3Di)a%3De%2Co%3Dthis.diff_text1(a)%3Belse%20if(%22string%22%3D%3Dtypeof%20e%26%26r%26%26%22object%22%3D%3Dtypeof%20r%26%26void%200%3D%3D%3Di)o%3De%2Ca%3Dr%3Belse%7Bif(%22string%22!%3Dtypeof%20e%7C%7C%22string%22!%3Dtypeof%20r%7C%7C!i%7C%7C%22object%22!%3Dtypeof%20i)throw%20new%20Error(%22Unknown%20call%20format%20to%20patch_make.%22)%3Bo%3De%2Ca%3Di%7Dif(0%3D%3D%3Da.length)return%5B%5D%3Bfor(var%20l%3D%5B%5D%2Cs%3Dnew%20t.patch_obj%2Cd%3D0%2Cc%3D0%2Cu%3D0%2Cp%3Do%2Cm%3Do%2Cf%3D0%3Bf%3Ca.length%3Bf%2B%2B)%7Bvar%20h%3Da%5Bf%5D%5B0%5D%2Cv%3Da%5Bf%5D%5B1%5D%3Bswitch(d%7C%7C0%3D%3D%3Dh%7C%7C(s.start1%3Dc%2Cs.start2%3Du)%2Ch)%7Bcase%201%3As.diffs%5Bd%2B%2B%5D%3Da%5Bf%5D%2Cs.length2%2B%3Dv.length%2Cm%3Dm.substring(0%2Cu)%2Bv%2Bm.substring(u)%3Bbreak%3Bcase%20n%3As.length1%2B%3Dv.length%2Cs.diffs%5Bd%2B%2B%5D%3Da%5Bf%5D%2Cm%3Dm.substring(0%2Cu)%2Bm.substring(u%2Bv.length)%3Bbreak%3Bcase%200%3Av.length%3C%3D2*this.Patch_Margin%26%26d%26%26a.length!%3Df%2B1%3F(s.diffs%5Bd%2B%2B%5D%3Da%5Bf%5D%2Cs.length1%2B%3Dv.length%2Cs.length2%2B%3Dv.length)%3Av.length%3E%3D2*this.Patch_Margin%26%26d%26%26(this.patch_addContext_(s%2Cp)%2Cl.push(s)%2Cs%3Dnew%20t.patch_obj%2Cd%3D0%2Cp%3Dm%2Cc%3Du)%7D1!%3D%3Dh%26%26(c%2B%3Dv.length)%2Ch!%3D%3Dn%26%26(u%2B%3Dv.length)%7Dreturn%20d%26%26(this.patch_addContext_(s%2Cp)%2Cl.push(s))%2Cl%7D%2Ct.prototype.patch_deepCopy%3Dfunction(e)%7Bfor(var%20n%3D%5B%5D%2Cr%3D0%3Br%3Ce.length%3Br%2B%2B)%7Bvar%20i%3De%5Br%5D%2Co%3Dnew%20t.patch_obj%3Bo.diffs%3D%5B%5D%3Bfor(var%20a%3D0%3Ba%3Ci.diffs.length%3Ba%2B%2B)o.diffs%5Ba%5D%3Dnew%20t.Diff(i.diffs%5Ba%5D%5B0%5D%2Ci.diffs%5Ba%5D%5B1%5D)%3Bo.start1%3Di.start1%2Co.start2%3Di.start2%2Co.length1%3Di.length1%2Co.length2%3Di.length2%2Cn%5Br%5D%3Do%7Dreturn%20n%7D%2Ct.prototype.patch_apply%3Dfunction(e%2Ct)%7Bif(0%3D%3De.length)return%5Bt%2C%5B%5D%5D%3Be%3Dthis.patch_deepCopy(e)%3Bvar%20r%3Dthis.patch_addPadding(e)%3Bt%3Dr%2Bt%2Br%2Cthis.patch_splitMax(e)%3Bfor(var%20i%3D0%2Co%3D%5B%5D%2Ca%3D0%3Ba%3Ce.length%3Ba%2B%2B)%7Bvar%20l%2Cs%2Cd%3De%5Ba%5D.start2%2Bi%2Cc%3Dthis.diff_text1(e%5Ba%5D.diffs)%2Cu%3D-1%3Bif(c.length%3Ethis.Match_MaxBits%3F-1!%3D(l%3Dthis.match_main(t%2Cc.substring(0%2Cthis.Match_MaxBits)%2Cd))%26%26(-1%3D%3D(u%3Dthis.match_main(t%2Cc.substring(c.length-this.Match_MaxBits)%2Cd%2Bc.length-this.Match_MaxBits))%7C%7Cl%3E%3Du)%26%26(l%3D-1)%3Al%3Dthis.match_main(t%2Cc%2Cd)%2C-1%3D%3Dl)o%5Ba%5D%3D!1%2Ci-%3De%5Ba%5D.length2-e%5Ba%5D.length1%3Belse%20if(o%5Ba%5D%3D!0%2Ci%3Dl-d%2Cc%3D%3D(s%3D-1%3D%3Du%3Ft.substring(l%2Cl%2Bc.length)%3At.substring(l%2Cu%2Bthis.Match_MaxBits)))t%3Dt.substring(0%2Cl)%2Bthis.diff_text2(e%5Ba%5D.diffs)%2Bt.substring(l%2Bc.length)%3Belse%7Bvar%20p%3Dthis.diff_main(c%2Cs%2C!1)%3Bif(c.length%3Ethis.Match_MaxBits%26%26this.diff_levenshtein(p)%2Fc.length%3Ethis.Patch_DeleteThreshold)o%5Ba%5D%3D!1%3Belse%7Bthis.diff_cleanupSemanticLossless(p)%3Bfor(var%20m%2Cf%3D0%2Ch%3D0%3Bh%3Ce%5Ba%5D.diffs.length%3Bh%2B%2B)%7Bvar%20v%3De%5Ba%5D.diffs%5Bh%5D%3B0!%3D%3Dv%5B0%5D%26%26(m%3Dthis.diff_xIndex(p%2Cf))%2C1%3D%3D%3Dv%5B0%5D%3Ft%3Dt.substring(0%2Cl%2Bm)%2Bv%5B1%5D%2Bt.substring(l%2Bm)%3Av%5B0%5D%3D%3D%3Dn%26%26(t%3Dt.substring(0%2Cl%2Bm)%2Bt.substring(l%2Bthis.diff_xIndex(p%2Cf%2Bv%5B1%5D.length)))%2Cv%5B0%5D!%3D%3Dn%26%26(f%2B%3Dv%5B1%5D.length)%7D%7D%7D%7Dreturn%5Bt%3Dt.substring(r.length%2Ct.length-r.length)%2Co%5D%7D%2Ct.prototype.patch_addPadding%3Dfunction(e)%7Bfor(var%20n%3Dthis.Patch_Margin%2Cr%3D%22%22%2Ci%3D1%3Bi%3C%3Dn%3Bi%2B%2B)r%2B%3DString.fromCharCode(i)%3Bfor(i%3D0%3Bi%3Ce.length%3Bi%2B%2B)e%5Bi%5D.start1%2B%3Dn%2Ce%5Bi%5D.start2%2B%3Dn%3Bvar%20o%3De%5B0%5D%2Ca%3Do.diffs%3Bif(0%3D%3Da.length%7C%7C0!%3Da%5B0%5D%5B0%5D)a.unshift(new%20t.Diff(0%2Cr))%2Co.start1-%3Dn%2Co.start2-%3Dn%2Co.length1%2B%3Dn%2Co.length2%2B%3Dn%3Belse%20if(n%3Ea%5B0%5D%5B1%5D.length)%7Bvar%20l%3Dn-a%5B0%5D%5B1%5D.length%3Ba%5B0%5D%5B1%5D%3Dr.substring(a%5B0%5D%5B1%5D.length)%2Ba%5B0%5D%5B1%5D%2Co.start1-%3Dl%2Co.start2-%3Dl%2Co.length1%2B%3Dl%2Co.length2%2B%3Dl%7Dif(0%3D%3D(a%3D(o%3De%5Be.length-1%5D).diffs).length%7C%7C0!%3Da%5Ba.length-1%5D%5B0%5D)a.push(new%20t.Diff(0%2Cr))%2Co.length1%2B%3Dn%2Co.length2%2B%3Dn%3Belse%20if(n%3Ea%5Ba.length-1%5D%5B1%5D.length)%7Bl%3Dn-a%5Ba.length-1%5D%5B1%5D.length%3Ba%5Ba.length-1%5D%5B1%5D%2B%3Dr.substring(0%2Cl)%2Co.length1%2B%3Dl%2Co.length2%2B%3Dl%7Dreturn%20r%7D%2Ct.prototype.patch_splitMax%3Dfunction(e)%7Bfor(var%20r%3Dthis.Match_MaxBits%2Ci%3D0%3Bi%3Ce.length%3Bi%2B%2B)if(!(e%5Bi%5D.length1%3C%3Dr))%7Bvar%20o%3De%5Bi%5D%3Be.splice(i--%2C1)%3Bfor(var%20a%3Do.start1%2Cl%3Do.start2%2Cs%3D%22%22%3B0!%3D%3Do.diffs.length%3B)%7Bvar%20d%3Dnew%20t.patch_obj%2Cc%3D!0%3Bfor(d.start1%3Da-s.length%2Cd.start2%3Dl-s.length%2C%22%22!%3D%3Ds%26%26(d.length1%3Dd.length2%3Ds.length%2Cd.diffs.push(new%20t.Diff(0%2Cs)))%3B0!%3D%3Do.diffs.length%26%26d.length1%3Cr-this.Patch_Margin%3B)%7Bvar%20u%3Do.diffs%5B0%5D%5B0%5D%2Cp%3Do.diffs%5B0%5D%5B1%5D%3B1%3D%3D%3Du%3F(d.length2%2B%3Dp.length%2Cl%2B%3Dp.length%2Cd.diffs.push(o.diffs.shift())%2Cc%3D!1)%3Au%3D%3D%3Dn%26%261%3D%3Dd.diffs.length%26%260%3D%3Dd.diffs%5B0%5D%5B0%5D%26%26p.length%3E2*r%3F(d.length1%2B%3Dp.length%2Ca%2B%3Dp.length%2Cc%3D!1%2Cd.diffs.push(new%20t.Diff(u%2Cp))%2Co.diffs.shift())%3A(p%3Dp.substring(0%2Cr-d.length1-this.Patch_Margin)%2Cd.length1%2B%3Dp.length%2Ca%2B%3Dp.length%2C0%3D%3D%3Du%3F(d.length2%2B%3Dp.length%2Cl%2B%3Dp.length)%3Ac%3D!1%2Cd.diffs.push(new%20t.Diff(u%2Cp))%2Cp%3D%3Do.diffs%5B0%5D%5B1%5D%3Fo.diffs.shift()%3Ao.diffs%5B0%5D%5B1%5D%3Do.diffs%5B0%5D%5B1%5D.substring(p.length))%7Ds%3D(s%3Dthis.diff_text2(d.diffs)).substring(s.length-this.Patch_Margin)%3Bvar%20m%3Dthis.diff_text1(o.diffs).substring(0%2Cthis.Patch_Margin)%3B%22%22!%3D%3Dm%26%26(d.length1%2B%3Dm.length%2Cd.length2%2B%3Dm.length%2C0!%3D%3Dd.diffs.length%26%260%3D%3D%3Dd.diffs%5Bd.diffs.length-1%5D%5B0%5D%3Fd.diffs%5Bd.diffs.length-1%5D%5B1%5D%2B%3Dm%3Ad.diffs.push(new%20t.Diff(0%2Cm)))%2Cc%7C%7Ce.splice(%2B%2Bi%2C0%2Cd)%7D%7D%7D%2Ct.prototype.patch_toText%3Dfunction(e)%7Bfor(var%20t%3D%5B%5D%2Cn%3D0%3Bn%3Ce.length%3Bn%2B%2B)t%5Bn%5D%3De%5Bn%5D%3Breturn%20t.join(%22%22)%7D%2Ct.prototype.patch_fromText%3Dfunction(e)%7Bvar%20r%3D%5B%5D%3Bif(!e)return%20r%3Bfor(var%20i%3De.split(%22%5Cn%22)%2Co%3D0%2Ca%3D%2F%5E%40%40%20-(%5Cd%2B)%2C%3F(%5Cd*)%20%5C%2B(%5Cd%2B)%2C%3F(%5Cd*)%20%40%40%24%2F%3Bo%3Ci.length%3B)%7Bvar%20l%3Di%5Bo%5D.match(a)%3Bif(!l)throw%20new%20Error(%22Invalid%20patch%20string%3A%20%22%2Bi%5Bo%5D)%3Bvar%20s%3Dnew%20t.patch_obj%3Bfor(r.push(s)%2Cs.start1%3DparseInt(l%5B1%5D%2C10)%2C%22%22%3D%3D%3Dl%5B2%5D%3F(s.start1--%2Cs.length1%3D1)%3A%220%22%3D%3Dl%5B2%5D%3Fs.length1%3D0%3A(s.start1--%2Cs.length1%3DparseInt(l%5B2%5D%2C10))%2Cs.start2%3DparseInt(l%5B3%5D%2C10)%2C%22%22%3D%3D%3Dl%5B4%5D%3F(s.start2--%2Cs.length2%3D1)%3A%220%22%3D%3Dl%5B4%5D%3Fs.length2%3D0%3A(s.start2--%2Cs.length2%3DparseInt(l%5B4%5D%2C10))%2Co%2B%2B%3Bo%3Ci.length%3B)%7Bvar%20d%3Di%5Bo%5D.charAt(0)%3Btry%7Bvar%20c%3DdecodeURI(i%5Bo%5D.substring(1))%7Dcatch(e)%7Bthrow%20new%20Error(%22Illegal%20escape%20in%20patch_fromText%3A%20%22%2Bc)%7Dif(%22-%22%3D%3Dd)s.diffs.push(new%20t.Diff(n%2Cc))%3Belse%20if(%22%2B%22%3D%3Dd)s.diffs.push(new%20t.Diff(1%2Cc))%3Belse%20if(%22%20%22%3D%3Dd)s.diffs.push(new%20t.Diff(0%2Cc))%3Belse%7Bif(%22%40%22%3D%3Dd)break%3Bif(%22%22!%3D%3Dd)throw%20new%20Error(%27Invalid%20patch%20mode%20%22%27%2Bd%2B%27%22%20in%3A%20%27%2Bc)%7Do%2B%2B%7D%7Dreturn%20r%7D%2C(t.patch_obj%3Dfunction()%7Bthis.diffs%3D%5B%5D%2Cthis.start1%3Dnull%2Cthis.start2%3Dnull%2Cthis.length1%3D0%2Cthis.length2%3D0%7D).prototype.toString%3Dfunction()%7Bfor(var%20e%2Ct%3D%5B%22%40%40%20-%22%2B(0%3D%3D%3Dthis.length1%3Fthis.start1%2B%22%2C0%22%3A1%3D%3Dthis.length1%3Fthis.start1%2B1%3Athis.start1%2B1%2B%22%2C%22%2Bthis.length1)%2B%22%20%2B%22%2B(0%3D%3D%3Dthis.length2%3Fthis.start2%2B%22%2C0%22%3A1%3D%3Dthis.length2%3Fthis.start2%2B1%3Athis.start2%2B1%2B%22%2C%22%2Bthis.length2)%2B%22%20%40%40%5Cn%22%5D%2Cr%3D0%3Br%3Cthis.diffs.length%3Br%2B%2B)%7Bswitch(this.diffs%5Br%5D%5B0%5D)%7Bcase%201%3Ae%3D%22%2B%22%3Bbreak%3Bcase%20n%3Ae%3D%22-%22%3Bbreak%3Bcase%200%3Ae%3D%22%20%22%7Dt%5Br%2B1%5D%3De%2BencodeURI(this.diffs%5Br%5D%5B1%5D)%2B%22%5Cn%22%7Dreturn%20t.join(%22%22).replace(%2F%2520%2Fg%2C%22%20%22)%7D%2Ce.exports%3Dt%2Ce.exports.diff_match_patch%3Dt%2Ce.exports.DIFF_DELETE%3Dn%2Ce.exports.DIFF_INSERT%3D1%2Ce.exports.DIFF_EQUAL%3D0%7D%2C872%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7Bdefault%3A()%3D%3EN%7D)%3Bvar%20r%3Dn(478)%2Ci%3Dn(156)%2Co%3Dn(314)%2Ca%3Dn(730)%2Cl%3Dn(66)%2Cs%3Dn(218)%2Cd%3Dn(702)%2Cc%3Dfunction(e)%7Bvoid%200%3D%3D%3De%26%26(e%3Ddocument)%3Bvar%20t%3Dfunction(e)%7Bvar%20t%3Ddocument.createElement(%22img%22)%3Bt.src%3De.getAttribute(%22data-src%22)%2Ct.addEventListener(%22load%22%2C(function()%7Be.getAttribute(%22style%22)%7C%7Ce.getAttribute(%22class%22)%7C%7Ce.getAttribute(%22width%22)%7C%7Ce.getAttribute(%22height%22)%7C%7Ct.naturalHeight%3Et.naturalWidth%26%26t.naturalWidth%2Ft.naturalHeight%3Cdocument.querySelector(%22.vditor-reset%22).clientWidth%2F(window.innerHeight-40)%26%26t.naturalHeight%3Ewindow.innerHeight-40%26%26(e.style.height%3Dwindow.innerHeight-40%2B%22px%22)%2Ce.src%3Dt.src%7D))%2Ce.removeAttribute(%22data-src%22)%7D%3Bif(!(%22IntersectionObserver%22in%20window))return%20e.querySelectorAll(%22img%22).forEach((function(e)%7Be.getAttribute(%22data-src%22)%26%26t(e)%7D))%2C!1%3Bwindow.vditorImageIntersectionObserver%3F(window.vditorImageIntersectionObserver.disconnect()%2Ce.querySelectorAll(%22img%22).forEach((function(e)%7Bwindow.vditorImageIntersectionObserver.observe(e)%7D)))%3A(window.vditorImageIntersectionObserver%3Dnew%20IntersectionObserver((function(e)%7Be.forEach((function(e)%7B(void%200%3D%3D%3De.isIntersecting%3F0!%3D%3De.intersectionRatio%3Ae.isIntersecting)%26%26e.target.getAttribute(%22data-src%22)%26%26t(e.target)%7D))%7D))%2Ce.querySelectorAll(%22img%22).forEach((function(e)%7Bwindow.vditorImageIntersectionObserver.observe(e)%7D)))%7D%2Cu%3Dn(466)%2Cp%3Dn(554)%2Cm%3Dn(40)%2Cf%3Dn(749)%2Ch%3Dn(818)%2Cv%3Dn(408)%2Cg%3Dn(54)%2Cy%3Dn(227)%2Cb%3Dn(526)%2Cw%3Dn(827)%2CE%3Dn(640)%2Ck%3Dn(895)%2CS%3Dn(393)%2CL%3Dfunction(e%2Ct)%7Bif(void%200%3D%3D%3Dt%26%26(t%3D%22zh_CN%22)%2C%22undefined%22!%3Dtypeof%20speechSynthesis%26%26%22undefined%22!%3Dtypeof%20SpeechSynthesisUtterance)%7Bvar%20n%3D%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-play%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cr%3D%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-pause%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%3Bdocument.getElementById(%22vditorIconScript%22)%7C%7C(n%3D%27%3Csvg%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20d%3D%22M3.436%200l25.128%2016-25.128%2016v-32z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E%27%2Cr%3D%27%3Csvg%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20d%3D%22M20.617%200h9.128v32h-9.128v-32zM2.255%2032v-32h9.128v32h-9.128z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E%27)%3Bvar%20i%3Ddocument.querySelector(%22.vditor-speech%22)%3Bif(!i)%7B(i%3Ddocument.createElement(%22div%22)).className%3D%22vditor-speech%22%2Cdocument.body.insertAdjacentElement(%22beforeend%22%2Ci)%3Bvar%20o%3Dfunction()%7Bvar%20e%2Cn%3Breturn%20speechSynthesis.getVoices().forEach((function(r)%7Br.lang%3D%3D%3Dt.replace(%22_%22%2C%22-%22)%26%26(e%3Dr)%2Cr.default%26%26(n%3Dr)%7D))%2Ce%7C%7C(e%3Dn)%2Ce%7D%3Bvoid%200!%3D%3DspeechSynthesis.onvoiceschanged%26%26(speechSynthesis.onvoiceschanged%3Do)%3Bvar%20a%3Do()%3Bi.onclick%3Dfunction()%7Bif(%22vditor-speech%22%3D%3D%3Di.className)%7Bvar%20e%3Dnew%20SpeechSynthesisUtterance(i.getAttribute(%22data-text%22))%3Be.voice%3Da%2Ce.onend%3Dfunction()%7Bi.className%3D%22vditor-speech%22%2CspeechSynthesis.cancel()%2Ci.innerHTML%3Dn%7D%2CspeechSynthesis.speak(e)%2Ci.className%3D%22vditor-speech%20vditor-speech--current%22%2Ci.innerHTML%3Dr%7Delse%20speechSynthesis.speaking%26%26(speechSynthesis.paused%3F(speechSynthesis.resume()%2Ci.innerHTML%3Dr)%3A(speechSynthesis.pause()%2Ci.innerHTML%3Dn))%3B(0%2CS.Hc)(window.vditorSpeechRange)%7D%2Cdocument.body.addEventListener(%22click%22%2C(function()%7B%22%22%3D%3D%3DgetSelection().toString().trim()%26%26%22block%22%3D%3D%3Di.style.display%26%26(i.className%3D%22vditor-speech%22%2CspeechSynthesis.cancel()%2Ci.style.display%3D%22none%22)%7D))%7De.addEventListener(%22mouseup%22%2C(function(e)%7Bvar%20t%3DgetSelection().toString().trim()%3Bif(speechSynthesis.cancel()%2C%22%22!%3D%3DgetSelection().toString().trim())%7Bwindow.vditorSpeechRange%3DgetSelection().getRangeAt(0).cloneRange()%3Bvar%20r%3DgetSelection().getRangeAt(0).getBoundingClientRect()%3Bi.innerHTML%3Dn%2Ci.style.display%3D%22block%22%2Ci.style.top%3Dr.top%2Br.height%2Bdocument.querySelector(%22html%22).scrollTop-20%2B%22px%22%2Ci.style.left%3De.screenX%2B2%2B%22px%22%2Ci.setAttribute(%22data-text%22%2Ct)%7Delse%22block%22%3D%3D%3Di.style.display%26%26(i.className%3D%22vditor-speech%22%2Ci.style.display%3D%22none%22)%7D))%7D%7D%2CC%3Dfunction(e%2Ct%2Cn%2Cr)%7Breturn%20new(n%7C%7C(n%3DPromise))((function(i%2Co)%7Bfunction%20a(e)%7Btry%7Bs(r.next(e))%7Dcatch(e)%7Bo(e)%7D%7Dfunction%20l(e)%7Btry%7Bs(r.throw(e))%7Dcatch(e)%7Bo(e)%7D%7Dfunction%20s(e)%7Bvar%20t%3Be.done%3Fi(e.value)%3A(t%3De.value%2Ct%20instanceof%20n%3Ft%3Anew%20n((function(e)%7Be(t)%7D))).then(a%2Cl)%7Ds((r%3Dr.apply(e%2Ct%7C%7C%5B%5D)).next())%7D))%7D%2CM%3Dfunction(e%2Ct)%7Bvar%20n%2Cr%2Ci%2Co%2Ca%3D%7Blabel%3A0%2Csent%3Afunction()%7Bif(1%26i%5B0%5D)throw%20i%5B1%5D%3Breturn%20i%5B1%5D%7D%2Ctrys%3A%5B%5D%2Cops%3A%5B%5D%7D%3Breturn%20o%3D%7Bnext%3Al(0)%2Cthrow%3Al(1)%2Creturn%3Al(2)%7D%2C%22function%22%3D%3Dtypeof%20Symbol%26%26(o%5BSymbol.iterator%5D%3Dfunction()%7Breturn%20this%7D)%2Co%3Bfunction%20l(o)%7Breturn%20function(l)%7Breturn%20function(o)%7Bif(n)throw%20new%20TypeError(%22Generator%20is%20already%20executing.%22)%3Bfor(%3Ba%3B)try%7Bif(n%3D1%2Cr%26%26(i%3D2%26o%5B0%5D%3Fr.return%3Ao%5B0%5D%3Fr.throw%7C%7C((i%3Dr.return)%26%26i.call(r)%2C0)%3Ar.next)%26%26!(i%3Di.call(r%2Co%5B1%5D)).done)return%20i%3Bswitch(r%3D0%2Ci%26%26(o%3D%5B2%26o%5B0%5D%2Ci.value%5D)%2Co%5B0%5D)%7Bcase%200%3Acase%201%3Ai%3Do%3Bbreak%3Bcase%204%3Areturn%20a.label%2B%2B%2C%7Bvalue%3Ao%5B1%5D%2Cdone%3A!1%7D%3Bcase%205%3Aa.label%2B%2B%2Cr%3Do%5B1%5D%2Co%3D%5B0%5D%3Bcontinue%3Bcase%207%3Ao%3Da.ops.pop()%2Ca.trys.pop()%3Bcontinue%3Bdefault%3Aif(!(i%3Da.trys%2C(i%3Di.length%3E0%26%26i%5Bi.length-1%5D)%7C%7C6!%3D%3Do%5B0%5D%26%262!%3D%3Do%5B0%5D))%7Ba%3D0%3Bcontinue%7Dif(3%3D%3D%3Do%5B0%5D%26%26(!i%7C%7Co%5B1%5D%3Ei%5B0%5D%26%26o%5B1%5D%3Ci%5B3%5D))%7Ba.label%3Do%5B1%5D%3Bbreak%7Dif(6%3D%3D%3Do%5B0%5D%26%26a.label%3Ci%5B1%5D)%7Ba.label%3Di%5B1%5D%2Ci%3Do%3Bbreak%7Dif(i%26%26a.label%3Ci%5B2%5D)%7Ba.label%3Di%5B2%5D%2Ca.ops.push(o)%3Bbreak%7Di%5B2%5D%26%26a.ops.pop()%2Ca.trys.pop()%3Bcontinue%7Do%3Dt.call(e%2Ca)%7Dcatch(e)%7Bo%3D%5B6%2Ce%5D%2Cr%3D0%7Dfinally%7Bn%3Di%3D0%7Dif(5%26o%5B0%5D)throw%20o%5B1%5D%3Breturn%7Bvalue%3Ao%5B0%5D%3Fo%5B1%5D%3Avoid%200%2Cdone%3A!0%7D%7D(%5Bo%2Cl%5D)%7D%7D%7D%2CT%3Dfunction(e)%7Bvar%20t%3D%7Banchor%3A0%2Ccdn%3Ag.g.CDN%2CcustomEmoji%3A%7B%7D%2CemojiPath%3A(e%26%26e.emojiPath%7C%7Cg.g.CDN)%2B%22%2Fdist%2Fimages%2Femoji%22%2Chljs%3Ag.g.HLJS_OPTIONS%2Cicon%3A%22ant%22%2Clang%3A%22zh_CN%22%2Cmarkdown%3Ag.g.MARKDOWN_OPTIONS%2Cmath%3Ag.g.MATH_OPTIONS%2Cmode%3A%22light%22%2Cspeech%3A%7Benable%3A!1%7D%2Ctheme%3Ag.g.THEME_OPTIONS%7D%3Breturn(0%2CE.T)(t%2Ce)%7D%2CA%3Dfunction(e%2Ct)%7Bvar%20n%3DT(t)%3Breturn(0%2Cb.G)(n.cdn%2B%22%2Fdist%2Fjs%2Flute%2Flute.min.js%22%2C%22vditorLuteScript%22).then((function()%7Bvar%20r%3D(0%2Ck.X)(%7BautoSpace%3An.markdown.autoSpace%2CcodeBlockPreview%3An.markdown.codeBlockPreview%2CemojiSite%3An.emojiPath%2Cemojis%3An.customEmoji%2CfixTermTypo%3An.markdown.fixTermTypo%2Cfootnotes%3An.markdown.footnotes%2CheadingAnchor%3A0!%3D%3Dn.anchor%2CinlineMathDigit%3An.math.inlineDigit%2ClazyLoadImage%3An.lazyLoadImage%2ClinkBase%3An.markdown.linkBase%2ClinkPrefix%3An.markdown.linkPrefix%2ClistStyle%3An.markdown.listStyle%2Cmark%3An.markdown.mark%2CmathBlockPreview%3An.markdown.mathBlockPreview%2CparagraphBeginningSpace%3An.markdown.paragraphBeginningSpace%2Csanitize%3An.markdown.sanitize%2Ctoc%3An.markdown.toc%7D)%3Breturn(null%3D%3Dt%3Fvoid%200%3At.renderers)%26%26r.SetJSRenderers(%7Brenderers%3A%7BMd2HTML%3At.renderers%7D%7D)%2Cr.SetHeadingID(!0)%2Cr.Md2HTML(e)%7D))%7D%2C_%3Dfunction(e%2Ct%2Cn)%7Breturn%20C(void%200%2Cvoid%200%2Cvoid%200%2C(function()%7Bvar%20i%2Ch%2Cg%3Breturn%20M(this%2C(function(E)%7Bswitch(E.label)%7Bcase%200%3Areturn%20i%3DT(n)%2C%5B4%2CA(t%2Ci)%5D%3Bcase%201%3Aif(h%3DE.sent()%2Ci.transform%26%26(h%3Di.transform(h))%2Ce.innerHTML%3Dh%2Ce.classList.add(%22vditor-reset%22)%2Ci.i18n)return%5B3%2C5%5D%3Bif(%5B%22en_US%22%2C%22ja_JP%22%2C%22ko_KR%22%2C%22ru_RU%22%2C%22zh_CN%22%2C%22zh_TW%22%5D.includes(i.lang))return%5B3%2C2%5D%3Bthrow%20new%20Error(%22options.lang%20error%2C%20see%20https%3A%2F%2Fld246.com%2Farticle%2F1549638745630%23options%22)%3Bcase%202%3Areturn%20g%3D%22vditorI18nScript%22%2Bi.lang%2Cdocument.querySelectorAll(%27head%20script%5Bid%5E%3D%22vditorI18nScript%22%5D%27).forEach((function(e)%7Be.id!%3D%3Dg%26%26document.head.removeChild(e)%7D))%2C%5B4%2C(0%2Cb.G)(i.cdn%2B%22%2Fdist%2Fjs%2Fi18n%2F%22%2Bi.lang%2B%22.js%22%2Cg)%5D%3Bcase%203%3AE.sent()%2CE.label%3D4%3Bcase%204%3Areturn%5B3%2C6%5D%3Bcase%205%3Awindow.VditorI18n%3Di.i18n%2CE.label%3D6%3Bcase%206%3Areturn%20i.icon%3F%5B4%2C(0%2Cb.G)(i.cdn%2B%22%2Fdist%2Fjs%2Ficons%2F%22%2Bi.icon%2B%22.js%22%2C%22vditorIconScript%22)%5D%3A%5B3%2C8%5D%3Bcase%207%3AE.sent()%2CE.label%3D8%3Bcase%208%3Areturn(0%2Cy.Z)(i.theme.current%2Ci.theme.path)%2C1%3D%3D%3Di.anchor%26%26e.classList.add(%22vditor-reset--anchor%22)%2C(0%2Ca.O)(e)%2C(0%2Cd.s)(i.hljs%2Ce%2Ci.cdn)%2C(0%2Cu.H)(e%2C%7Bcdn%3Ai.cdn%2Cmath%3Ai.math%7D)%2C(0%2Cm.i)(e%2Ci.cdn%2Ci.mode)%2C(0%2Cl.P)(e%2Ci.cdn)%2C(0%2Cs.v)(e%2Ci.cdn)%2C(0%2Co.p)(e%2Ci.cdn%2Ci.mode)%2C(0%2Cf.P)(e%2Ci.cdn%2Ci.mode)%2C(0%2Cv.B)(e%2Ci.cdn)%2C(0%2Cr.Q)(e%2Ci.cdn)%2C(0%2Cp.Y)(e)%2Ci.speech.enable%26%26L(e)%2C0!%3D%3Di.anchor%26%26(k%3Di.anchor%2Cdocument.querySelectorAll(%22.vditor-anchor%22).forEach((function(e)%7B1%3D%3D%3Dk%26%26e.classList.add(%22vditor-anchor--left%22)%2Ce.onclick%3Dfunction()%7Bvar%20t%3De.getAttribute(%22href%22).substr(1)%2Cn%3Ddocument.getElementById(%22vditorAnchor-%22%2Bt).offsetTop%3Bdocument.querySelector(%22html%22).scrollTop%3Dn%7D%7D))%2Cwindow.onhashchange%3Dfunction()%7Bvar%20e%3Ddocument.getElementById(%22vditorAnchor-%22%2BdecodeURIComponent(window.location.hash.substr(1)))%3Be%26%26(document.querySelector(%22html%22).scrollTop%3De.offsetTop)%7D)%2Ci.after%26%26i.after()%2Ci.lazyLoadImage%26%26c(e)%2Ce.addEventListener(%22click%22%2C(function(t)%7Bvar%20n%3D(0%2Cw.lG)(t.target%2C%22SPAN%22)%3Bif(n%26%26(0%2Cw.fb)(n%2C%22vditor-toc%22))%7Bvar%20r%3De.querySelector(%22%23%22%2Bn.getAttribute(%22data-target-id%22))%3Br%26%26window.scrollTo(window.scrollX%2Cr.offsetTop)%7Delse%3B%7D))%2C%5B2%5D%7Dvar%20k%7D))%7D))%7D%2Cx%3Dn(863)%2CH%3Dn(312)%3Bconst%20N%3Dfunction()%7Bfunction%20e()%7B%7Dreturn%20e.adapterRender%3Di%2Ce.previewImage%3Dx.E%2Ce.codeRender%3Da.O%2Ce.graphvizRender%3Ds.v%2Ce.highlightRender%3Dd.s%2Ce.mathRender%3Du.H%2Ce.mermaidRender%3Dm.i%2Ce.flowchartRender%3Dl.P%2Ce.chartRender%3Do.p%2Ce.abcRender%3Dr.Q%2Ce.mindmapRender%3Df.P%2Ce.plantumlRender%3Dv.B%2Ce.outlineRender%3Dh.k%2Ce.mediaRender%3Dp.Y%2Ce.speechRender%3DL%2Ce.lazyLoadImageRender%3Dc%2Ce.md2html%3DA%2Ce.preview%3D_%2Ce.setCodeTheme%3DH.Y%2Ce.setContentTheme%3Dy.Z%2Ce%7D()%7D%2C54%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7BH%3A()%3D%3Er%2Cg%3A()%3D%3Ei%7D)%3Bvar%20r%3D%223.8.18%22%2Ci%3Dfunction()%7Bfunction%20e()%7B%7Dreturn%20e.ZWSP%3D%22%E2%80%8B%22%2Ce.DROP_EDITOR%3D%22application%2Feditor%22%2Ce.MOBILE_WIDTH%3D520%2Ce.CLASS_MENU_DISABLED%3D%22vditor-menu--disabled%22%2Ce.EDIT_TOOLBARS%3D%5B%22emoji%22%2C%22headings%22%2C%22bold%22%2C%22italic%22%2C%22strike%22%2C%22link%22%2C%22list%22%2C%22ordered-list%22%2C%22outdent%22%2C%22indent%22%2C%22check%22%2C%22line%22%2C%22quote%22%2C%22code%22%2C%22inline-code%22%2C%22insert-after%22%2C%22insert-before%22%2C%22upload%22%2C%22record%22%2C%22table%22%5D%2Ce.CODE_THEME%3D%5B%22abap%22%2C%22algol%22%2C%22algol_nu%22%2C%22arduino%22%2C%22autumn%22%2C%22borland%22%2C%22bw%22%2C%22colorful%22%2C%22dracula%22%2C%22emacs%22%2C%22friendly%22%2C%22fruity%22%2C%22github%22%2C%22igor%22%2C%22lovelace%22%2C%22manni%22%2C%22monokai%22%2C%22monokailight%22%2C%22murphy%22%2C%22native%22%2C%22paraiso-dark%22%2C%22paraiso-light%22%2C%22pastie%22%2C%22perldoc%22%2C%22pygments%22%2C%22rainbow_dash%22%2C%22rrt%22%2C%22solarized-dark%22%2C%22solarized-dark256%22%2C%22solarized-light%22%2C%22swapoff%22%2C%22tango%22%2C%22trac%22%2C%22vim%22%2C%22vs%22%2C%22xcode%22%2C%22ant-design%22%5D%2Ce.CODE_LANGUAGES%3D%5B%22mermaid%22%2C%22echarts%22%2C%22mindmap%22%2C%22plantuml%22%2C%22abc%22%2C%22graphviz%22%2C%22flowchart%22%2C%22apache%22%2C%22js%22%2C%22ts%22%2C%22html%22%2C%22properties%22%2C%22apache%22%2C%22bash%22%2C%22c%22%2C%22csharp%22%2C%22cpp%22%2C%22css%22%2C%22coffeescript%22%2C%22diff%22%2C%22go%22%2C%22xml%22%2C%22http%22%2C%22json%22%2C%22java%22%2C%22javascript%22%2C%22kotlin%22%2C%22less%22%2C%22lua%22%2C%22makefile%22%2C%22markdown%22%2C%22nginx%22%2C%22objectivec%22%2C%22php%22%2C%22php-template%22%2C%22perl%22%2C%22plaintext%22%2C%22python%22%2C%22python-repl%22%2C%22r%22%2C%22ruby%22%2C%22rust%22%2C%22scss%22%2C%22sql%22%2C%22shell%22%2C%22swift%22%2C%22ini%22%2C%22typescript%22%2C%22vbnet%22%2C%22yaml%22%2C%22ada%22%2C%22clojure%22%2C%22dart%22%2C%22erb%22%2C%22fortran%22%2C%22gradle%22%2C%22haskell%22%2C%22julia%22%2C%22julia-repl%22%2C%22lisp%22%2C%22matlab%22%2C%22pgsql%22%2C%22powershell%22%2C%22sql_more%22%2C%22stata%22%2C%22cmake%22%2C%22mathematica%22%2C%22solidity%22%2C%22yul%22%5D%2Ce.CDN%3D%22https%3A%2F%2Funpkg.com%2Fvditor%403.8.18%22%2Ce.MARKDOWN_OPTIONS%3D%7BautoSpace%3A!1%2CcodeBlockPreview%3A!0%2CfixTermTypo%3A!1%2Cfootnotes%3A!0%2ClinkBase%3A%22%22%2ClinkPrefix%3A%22%22%2ClistStyle%3A!1%2Cmark%3A!1%2CmathBlockPreview%3A!0%2CparagraphBeginningSpace%3A!1%2Csanitize%3A!0%2Ctoc%3A!1%7D%2Ce.HLJS_OPTIONS%3D%7Benable%3A!0%2ClineNumber%3A!1%2Cstyle%3A%22github%22%7D%2Ce.MATH_OPTIONS%3D%7Bengine%3A%22KaTeX%22%2CinlineDigit%3A!1%2Cmacros%3A%7B%7D%7D%2Ce.THEME_OPTIONS%3D%7Bcurrent%3A%22light%22%2Clist%3A%7B%22ant-design%22%3A%22Ant%20Design%22%2Cdark%3A%22Dark%22%2Clight%3A%22Light%22%2Cwechat%3A%22WeChat%22%7D%2Cpath%3Ae.CDN%2B%22%2Fdist%2Fcss%2Fcontent-theme%22%7D%2Ce%7D()%7D%2C478%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7BQ%3A()%3D%3Ea%7D)%3Bvar%20r%3Dn(54)%2Ci%3Dn(526)%2Co%3Dn(156)%2Ca%3Dfunction(e%2Ct)%7Bvoid%200%3D%3D%3De%26%26(e%3Ddocument)%2Cvoid%200%3D%3D%3Dt%26%26(t%3Dr.g.CDN)%3Bvar%20n%3Do.abcRenderAdapter.getElements(e)%3Bn.length%3E0%26%26(0%2Ci.G)(t%2B%22%2Fdist%2Fjs%2Fabcjs%2Fabcjs_basic.min.js%22%2C%22vditorAbcjsScript%22).then((function()%7Bn.forEach((function(e)%7Be.parentElement.classList.contains(%22vditor-wysiwyg__pre%22)%7C%7Ce.parentElement.classList.contains(%22vditor-ir__marker--pre%22)%7C%7C%22true%22!%3D%3De.getAttribute(%22data-processed%22)%26%26(ABCJS.renderAbc(e%2Co.abcRenderAdapter.getCode(e).trim())%2Ce.style.overflowX%3D%22auto%22%2Ce.setAttribute(%22data-processed%22%2C%22true%22))%7D))%7D))%7D%7D%2C156%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.r(t)%2Cn.d(t%2C%7BmathRenderAdapter%3A()%3D%3Er%2CmermaidRenderAdapter%3A()%3D%3Ei%2CmindmapRenderAdapter%3A()%3D%3Eo%2CchartRenderAdapter%3A()%3D%3Ea%2CabcRenderAdapter%3A()%3D%3El%2CgraphvizRenderAdapter%3A()%3D%3Es%2CflowchartRenderAdapter%3A()%3D%3Ed%2CplantumlRenderAdapter%3A()%3D%3Ec%7D)%3Bvar%20r%3D%7BgetCode%3Afunction(e)%7Breturn%20e.textContent%7D%2CgetElements%3Afunction(e)%7Breturn%20e.querySelectorAll(%22.language-math%22)%7D%7D%2Ci%3D%7BgetCode%3Afunction(e)%7Breturn%20e.textContent%7D%2CgetElements%3Afunction(e)%7Breturn%20e.querySelectorAll(%22.language-mermaid%22)%7D%7D%2Co%3D%7BgetCode%3Afunction(e)%7Breturn%20e.getAttribute(%22data-code%22)%7D%2CgetElements%3Afunction(e)%7Breturn%20e.querySelectorAll(%22.language-mindmap%22)%7D%7D%2Ca%3D%7BgetCode%3Afunction(e)%7Breturn%20e.innerText%7D%2CgetElements%3Afunction(e)%7Breturn%20e.querySelectorAll(%22.language-echarts%22)%7D%7D%2Cl%3D%7BgetCode%3Afunction(e)%7Breturn%20e.textContent%7D%2CgetElements%3Afunction(e)%7Breturn%20e.querySelectorAll(%22.language-abc%22)%7D%7D%2Cs%3D%7BgetCode%3Afunction(e)%7Breturn%20e.textContent%7D%2CgetElements%3Afunction(e)%7Breturn%20e.querySelectorAll(%22.language-graphviz%22)%7D%7D%2Cd%3D%7BgetCode%3Afunction(e)%7Breturn%20e.textContent%7D%2CgetElements%3Afunction(e)%7Breturn%20e.querySelectorAll(%22.language-flowchart%22)%7D%7D%2Cc%3D%7BgetCode%3Afunction(e)%7Breturn%20e.textContent%7D%2CgetElements%3Afunction(e)%7Breturn%20e.querySelectorAll(%22.language-plantuml%22)%7D%7D%7D%2C314%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7Bp%3A()%3D%3Ea%7D)%3Bvar%20r%3Dn(54)%2Ci%3Dn(526)%2Co%3Dn(156)%2Ca%3Dfunction(e%2Ct%2Cn)%7Bvoid%200%3D%3D%3De%26%26(e%3Ddocument)%2Cvoid%200%3D%3D%3Dt%26%26(t%3Dr.g.CDN)%3Bvar%20a%3Do.chartRenderAdapter.getElements(e)%3Ba.length%3E0%26%26(0%2Ci.G)(t%2B%22%2Fdist%2Fjs%2Fecharts%2Fecharts.min.js%22%2C%22vditorEchartsScript%22).then((function()%7Ba.forEach((function(e)%7Bif(!e.parentElement.classList.contains(%22vditor-wysiwyg__pre%22)%26%26!e.parentElement.classList.contains(%22vditor-ir__marker--pre%22))%7Bvar%20t%3Do.chartRenderAdapter.getCode(e).trim()%3Bif(t)try%7Bif(%22true%22%3D%3D%3De.getAttribute(%22data-processed%22))return%3Bvar%20r%3DJSON.parse(t)%3Becharts.init(e%2C%22dark%22%3D%3D%3Dn%3F%22dark%22%3Avoid%200).setOption(r)%2Ce.setAttribute(%22data-processed%22%2C%22true%22)%7Dcatch(t)%7Be.className%3D%22vditor-reset--error%22%2Ce.innerHTML%3D%22echarts%20render%20error%3A%20%3Cbr%3E%22%2Bt%7D%7D%7D))%7D))%7D%7D%2C730%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7BO%3A()%3D%3Ei%7D)%3Bvar%20r%3Dn(51)%2Ci%3Dfunction(e)%7Be.querySelectorAll(%22pre%20%3E%20code%22).forEach((function(t%2Cn)%7Bvar%20i%2Co%2Ca%3Bif(!t.parentElement.classList.contains(%22vditor-wysiwyg__pre%22)%26%26!t.parentElement.classList.contains(%22vditor-ir__marker--pre%22)%26%26!(t.classList.contains(%22language-mermaid%22)%7C%7Ct.classList.contains(%22language-flowchart%22)%7C%7Ct.classList.contains(%22language-echarts%22)%7C%7Ct.classList.contains(%22language-mindmap%22)%7C%7Ct.classList.contains(%22language-plantuml%22)%7C%7Ct.classList.contains(%22language-abc%22)%7C%7Ct.classList.contains(%22language-graphviz%22)%7C%7Ct.classList.contains(%22language-math%22)%7C%7Ct.style.maxHeight.indexOf(%22px%22)%3E-1%7C%7Ce.classList.contains(%22vditor-preview%22)%26%26n%3E5))%7Bvar%20l%3Dt.innerText%3Bif(t.classList.contains(%22highlight-chroma%22))%7Bvar%20s%3Ddocument.createElement(%22code%22)%3Bs.innerHTML%3Dt.innerHTML%2Cs.querySelectorAll(%22.highlight-ln%22).forEach((function(e)%7Be.remove()%7D))%2Cl%3Ds.innerText%7Dvar%20d%3D%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-copy%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%3Bdocument.getElementById(%22vditorIconScript%22)%7C%7C(d%3D%27%3Csvg%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20d%3D%22M22.545-0h-17.455c-1.6%200-2.909%201.309-2.909%202.909v20.364h2.909v-20.364h17.455v-2.909zM26.909%205.818h-16c-1.6%200-2.909%201.309-2.909%202.909v20.364c0%201.6%201.309%202.909%202.909%202.909h16c1.6%200%202.909-1.309%202.909-2.909v-20.364c0-1.6-1.309-2.909-2.909-2.909zM26.909%2029.091h-16v-20.364h16v20.364z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E%27)%3Bvar%20c%3Ddocument.createElement(%22div%22)%3Bc.className%3D%22vditor-copy%22%2Cc.innerHTML%3D%27%3Cspan%20aria-label%3D%22%27%2B((null%3D%3D%3D(i%3Dwindow.VditorI18n)%7C%7Cvoid%200%3D%3D%3Di%3Fvoid%200%3Ai.copy)%7C%7C%22%E5%A4%8D%E5%88%B6%22)%2B%22%5C%22%5Cnonmouseover%3D%5C%22this.setAttribute(%27aria-label%27%2C%20%27%22%2B((null%3D%3D%3D(o%3Dwindow.VditorI18n)%7C%7Cvoid%200%3D%3D%3Do%3Fvoid%200%3Ao.copy)%7C%7C%22%E5%A4%8D%E5%88%B6%22)%2B%22%27)%5C%22%5Cnclass%3D%5C%22vditor-tooltipped%20vditor-tooltipped__w%5C%22%5Cnonclick%3D%5C%22this.previousElementSibling.select()%3Bdocument.execCommand(%27copy%27)%3Bthis.setAttribute(%27aria-label%27%2C%20%27%22%2B((null%3D%3D%3D(a%3Dwindow.VditorI18n)%7C%7Cvoid%200%3D%3D%3Da%3Fvoid%200%3Aa.copy)%7C%7C%22%E5%B7%B2%E5%A4%8D%E5%88%B6%22)%2B%22%27)%5C%22%3E%22%2Bd%2B%22%3C%2Fspan%3E%22%3Bvar%20u%3Ddocument.createElement(%22textarea%22)%3Bu.value%3D(0%2Cr.X)(l)%2Cc.insertAdjacentElement(%22afterbegin%22%2Cu)%2Ct.before(c)%2Ct.style.maxHeight%3Dwindow.outerHeight-40%2B%22px%22%7D%7D))%7D%7D%2C66%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7BP%3A()%3D%3Ea%7D)%3Bvar%20r%3Dn(54)%2Ci%3Dn(526)%2Co%3Dn(156)%2Ca%3Dfunction(e%2Ct)%7Bvoid%200%3D%3D%3Dt%26%26(t%3Dr.g.CDN)%3Bvar%20n%3Do.flowchartRenderAdapter.getElements(e)%3B0!%3D%3Dn.length%26%26(0%2Ci.G)(t%2B%22%2Fdist%2Fjs%2Fflowchart.js%2Fflowchart.min.js%22%2C%22vditorFlowchartScript%22).then((function()%7Bn.forEach((function(e)%7Bif(%22true%22!%3D%3De.getAttribute(%22data-processed%22))%7Bvar%20t%3Dflowchart.parse(o.flowchartRenderAdapter.getCode(e))%3Be.innerHTML%3D%22%22%2Ct.drawSVG(e)%2Ce.setAttribute(%22data-processed%22%2C%22true%22)%7D%7D))%7D))%7D%7D%2C218%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7Bv%3A()%3D%3Ea%7D)%3Bvar%20r%3Dn(54)%2Ci%3Dn(526)%2Co%3Dn(156)%2Ca%3Dfunction(e%2Ct)%7Bvoid%200%3D%3D%3Dt%26%26(t%3Dr.g.CDN)%3Bvar%20n%3Do.graphvizRenderAdapter.getElements(e)%3B0!%3D%3Dn.length%26%26(0%2Ci.G)(t%2B%22%2Fdist%2Fjs%2Fgraphviz%2Fviz.js%22%2C%22vditorGraphVizScript%22).then((function()%7Bn.forEach((function(e)%7Bvar%20t%3Do.graphvizRenderAdapter.getCode(e)%3Bif(!e.parentElement.classList.contains(%22vditor-wysiwyg__pre%22)%26%26!e.parentElement.classList.contains(%22vditor-ir__marker--pre%22)%26%26%22true%22!%3D%3De.getAttribute(%22data-processed%22)%26%26%22%22!%3D%3Dt.trim())%7Btry%7Bvar%20n%3Dnew%20Blob(%5B%22importScripts(%27%22%2Bdocument.getElementById(%22vditorGraphVizScript%22).src.replace(%22viz.js%22%2C%22full.render.js%22)%2B%22%27)%3B%22%5D%2C%7Btype%3A%22application%2Fjavascript%22%7D)%2Cr%3D(window.URL%7C%7Cwindow.webkitURL).createObjectURL(n)%2Ci%3Dnew%20Worker(r)%3Bnew%20Viz(%7Bworker%3Ai%7D).renderSVGElement(t).then((function(t)%7Be.innerHTML%3Dt.outerHTML%7D)).catch((function(t)%7Be.innerHTML%3D%22graphviz%20render%20error%3A%20%3Cbr%3E%22%2Bt%2Ce.className%3D%22vditor-reset--error%22%7D))%7Dcatch(e)%7Bconsole.error(%22graphviz%20error%22%2Ce)%7De.setAttribute(%22data-processed%22%2C%22true%22)%7D%7D))%7D))%7D%7D%2C702%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7Bs%3A()%3D%3Ea%7D)%3Bvar%20r%3Dn(54)%2Ci%3Dn(526)%2Co%3Dn(578)%2Ca%3Dfunction(e%2Ct%2Cn)%7Bvoid%200%3D%3D%3Dt%26%26(t%3Ddocument)%2Cvoid%200%3D%3D%3Dn%26%26(n%3Dr.g.CDN)%3Bvar%20a%3De.style%3Br.g.CODE_THEME.includes(a)%7C%7C(a%3D%22github%22)%3Bvar%20l%3Ddocument.getElementById(%22vditorHljsStyle%22)%2Cs%3Dn%2B%22%2Fdist%2Fjs%2Fhighlight.js%2Fstyles%2F%22%2Ba%2B%22.css%22%3B(l%26%26l.href!%3D%3Ds%26%26l.remove()%2C(0%2Co.c)(n%2B%22%2Fdist%2Fjs%2Fhighlight.js%2Fstyles%2F%22%2Ba%2B%22.css%22%2C%22vditorHljsStyle%22)%2C!1!%3D%3De.enable)%26%26(0!%3D%3Dt.querySelectorAll(%22pre%20%3E%20code%22).length%26%26(0%2Ci.G)(n%2B%22%2Fdist%2Fjs%2Fhighlight.js%2Fhighlight.pack.js%22%2C%22vditorHljsScript%22).then((function()%7B(0%2Ci.G)(n%2B%22%2Fdist%2Fjs%2Fhighlight.js%2Fsolidity.min.js%22%2C%22vditorHljsSolidityScript%22).then((function()%7B(0%2Ci.G)(n%2B%22%2Fdist%2Fjs%2Fhighlight.js%2Fyul.min.js%22%2C%22vditorHljsYulScript%22).then((function()%7Bt.querySelectorAll(%22pre%20%3E%20code%22).forEach((function(t)%7Bif(!t.parentElement.classList.contains(%22vditor-ir__marker--pre%22)%26%26!t.parentElement.classList.contains(%22vditor-wysiwyg__pre%22)%26%26!(t.classList.contains(%22language-mermaid%22)%7C%7Ct.classList.contains(%22language-flowchart%22)%7C%7Ct.classList.contains(%22language-echarts%22)%7C%7Ct.classList.contains(%22language-mindmap%22)%7C%7Ct.classList.contains(%22language-plantuml%22)%7C%7Ct.classList.contains(%22language-abc%22)%7C%7Ct.classList.contains(%22language-graphviz%22)%7C%7Ct.classList.contains(%22language-math%22))%26%26(hljs.highlightElement(t)%2Ce.lineNumber))%7Bt.classList.add(%22vditor-linenumber%22)%3Bvar%20n%3Dt.querySelector(%22.vditor-linenumber__temp%22)%3Bn%7C%7C((n%3Ddocument.createElement(%22div%22)).className%3D%22vditor-linenumber__temp%22%2Ct.insertAdjacentElement(%22beforeend%22%2Cn))%3Bvar%20r%3DgetComputedStyle(t).whiteSpace%2Ci%3D!1%3B%22pre-wrap%22!%3D%3Dr%26%26%22pre-line%22!%3D%3Dr%7C%7C(i%3D!0)%3Bvar%20o%3D%22%22%2Ca%3Dt.textContent.split(%2F%5Cr%5Cn%7C%5Cr%7C%5Cn%2Fg)%3Ba.pop()%2Ca.map((function(e)%7Bvar%20t%3D%22%22%3Bi%26%26(n.textContent%3De%7C%7C%22%5Cn%22%2Ct%3D%27%20style%3D%22height%3A%27%2Bn.getBoundingClientRect().height%2B%27px%22%27)%2Co%2B%3D%22%3Cspan%22%2Bt%2B%22%3E%3C%2Fspan%3E%22%7D))%2Cn.style.display%3D%22none%22%2Co%3D%27%3Cspan%20class%3D%22vditor-linenumber__rows%22%3E%27%2Bo%2B%22%3C%2Fspan%3E%22%2Ct.insertAdjacentHTML(%22beforeend%22%2Co)%7D%7D))%7D))%7D))%7D)))%7D%7D%2C466%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7BH%3A()%3D%3Es%7D)%3Bvar%20r%3Dn(54)%2Ci%3Dn(526)%2Co%3Dn(578)%2Ca%3Dn(51)%2Cl%3Dn(156)%2Cs%3Dfunction(e%2Ct)%7Bvar%20n%3Dl.mathRenderAdapter.getElements(e)%3Bif(0!%3D%3Dn.length)%7Bvar%20s%3D%7Bcdn%3Ar.g.CDN%2Cmath%3A%7Bengine%3A%22KaTeX%22%2CinlineDigit%3A!1%2Cmacros%3A%7B%7D%7D%7D%3Bif(t%26%26t.math%26%26(t.math%3DObject.assign(%7B%7D%2Cs.math%2Ct.math))%2C%22KaTeX%22%3D%3D%3D(t%3DObject.assign(%7B%7D%2Cs%2Ct)).math.engine)(0%2Co.c)(t.cdn%2B%22%2Fdist%2Fjs%2Fkatex%2Fkatex.min.css%22%2C%22vditorKatexStyle%22)%2C(0%2Ci.G)(t.cdn%2B%22%2Fdist%2Fjs%2Fkatex%2Fkatex.min.js%22%2C%22vditorKatexScript%22).then((function()%7B(0%2Ci.G)(t.cdn%2B%22%2Fdist%2Fjs%2Fkatex%2Fmhchem.min.js%22%2C%22vditorKatexChemScript%22).then((function()%7Bn.forEach((function(e)%7Bif(!e.parentElement.classList.contains(%22vditor-wysiwyg__pre%22)%26%26!e.parentElement.classList.contains(%22vditor-ir__marker--pre%22)%26%26!e.getAttribute(%22data-math%22))%7Bvar%20t%3D(0%2Ca.X)(l.mathRenderAdapter.getCode(e))%3Be.setAttribute(%22data-math%22%2Ct)%3Btry%7Be.innerHTML%3Dkatex.renderToString(t%2C%7BdisplayMode%3A%22DIV%22%3D%3D%3De.tagName%2Coutput%3A%22html%22%7D)%7Dcatch(t)%7Be.innerHTML%3Dt.message%2Ce.className%3D%22language-math%20vditor-reset--error%22%7De.addEventListener(%22copy%22%2C(function(e)%7Be.stopPropagation()%2Ce.preventDefault()%3Bvar%20t%3De.currentTarget.closest(%22.language-math%22)%3Be.clipboardData.setData(%22text%2Fhtml%22%2Ct.innerHTML)%2Ce.clipboardData.setData(%22text%2Fplain%22%2Ct.getAttribute(%22data-math%22))%7D))%7D%7D))%7D))%7D))%3Belse%20if(%22MathJax%22%3D%3D%3Dt.math.engine)%7Bwindow.MathJax%7C%7C(window.MathJax%3D%7Bloader%3A%7Bpaths%3A%7Bmathjax%3At.cdn%2B%22%2Fdist%2Fjs%2Fmathjax%22%7D%7D%2Cstartup%3A%7Btypeset%3A!1%7D%2Ctex%3A%7Bmacros%3At.math.macros%7D%7D)%2C(0%2Ci.J)(t.cdn%2B%22%2Fdist%2Fjs%2Fmathjax%2Ftex-svg-full.js%22%2C%22protyleMathJaxScript%22)%3Bvar%20d%3Dfunction(e%2Ct)%7Bvar%20n%3D(0%2Ca.X)(e.textContent).trim()%2Cr%3Dwindow.MathJax.getMetricsFor(e)%3Br.display%3D%22DIV%22%3D%3D%3De.tagName%2Cwindow.MathJax.tex2svgPromise(n%2Cr).then((function(r)%7Be.innerHTML%3D%22%22%2Ce.setAttribute(%22data-math%22%2Cn)%2Ce.append(r)%2Cwindow.MathJax.startup.document.clear()%2Cwindow.MathJax.startup.document.updateDocument()%3Bvar%20i%3Dr.querySelector(%27%5Bdata-mml-node%3D%22merror%22%5D%27)%3Bi%26%26%22%22!%3D%3Di.textContent.trim()%26%26(e.innerHTML%3Di.textContent.trim()%2Ce.className%3D%22vditor-reset--error%22)%2Ct%26%26t()%7D))%7D%3Bwindow.MathJax.startup.promise.then((function()%7Bfor(var%20e%3D%5B%5D%2Ct%3Dfunction(t)%7Bvar%20r%3Dn%5Bt%5D%3Br.parentElement.classList.contains(%22vditor-wysiwyg__pre%22)%7C%7Cr.parentElement.classList.contains(%22vditor-ir__marker--pre%22)%7C%7Cr.getAttribute(%22data-math%22)%7C%7C!(0%2Ca.X)(r.textContent).trim()%7C%7Ce.push((function(e)%7Bt%3D%3D%3Dn.length-1%3Fd(r)%3Ad(r%2Ce)%7D))%7D%2Cr%3D0%3Br%3Cn.length%3Br%2B%2B)t(r)%3B!function(e)%7Bif(0!%3D%3De.length)%7Bvar%20t%3D0%2Cn%3De%5Be.length-1%5D%2Cr%3Dfunction()%7Bvar%20i%3De%5Bt%2B%2B%5D%3Bi%3D%3D%3Dn%3Fi()%3Ai(r)%7D%3Br()%7D%7D(e)%7D))%7D%7D%7D%7D%2C554%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7BY%3A()%3D%3Er%7D)%3Bvar%20r%3Dfunction(e)%7Be%26%26e.querySelectorAll(%22a%22).forEach((function(e)%7Bvar%20t%3De.getAttribute(%22href%22)%3Bt%26%26(t.match(%2F%5E.%2B.(mp4%7Cm4v%7Cogg%7Cogv%7Cwebm)%24%2F)%3Ffunction(e%2Ct)%7Be.insertAdjacentHTML(%22afterend%22%2C%27%3Cvideo%20controls%3D%22controls%22%20src%3D%22%27%2Bt%2B%27%22%3E%3C%2Fvideo%3E%27)%2Ce.remove()%7D(e%2Ct)%3At.match(%2F%5E.%2B.(mp3%7Cwav%7Cflac)%24%2F)%3Ffunction(e%2Ct)%7Be.insertAdjacentHTML(%22afterend%22%2C%27%3Caudio%20controls%3D%22controls%22%20src%3D%22%27%2Bt%2B%27%22%3E%3C%2Faudio%3E%27)%2Ce.remove()%7D(e%2Ct)%3Afunction(e%2Ct)%7Bvar%20n%3Dt.match(%2F%5C%2F%5C%2F(%3F%3Awww%5C.)%3F(%3F%3Ayoutu%5C.be%5C%2F%7Cyoutube%5C.com%5C%2F(%3F%3Aembed%5C%2F%7Cv%5C%2F%7Cwatch%5C%3Fv%3D%7Cwatch%5C%3F.%2B%26v%3D))(%5B%5Cw%7C-%5D%7B11%7D)(%3F%3A(%3F%3A%5B%5C%3F%26%5Dt%3D)(%5CS%2B))%3F%2F)%2Cr%3Dt.match(%2F%5C%2F%5C%2Fv%5C.youku%5C.com%5C%2Fv_show%5C%2Fid_(%5Cw%2B)%3D*%5C.html%2F)%2Ci%3Dt.match(%2F%5C%2F%5C%2Fv%5C.qq%5C.com%5C%2Fx%5C%2Fcover%5C%2F.*%5C%2F(%5B%5E%5C%2F%5D%2B)%5C.html%5C%3F%3F.*%2F)%2Co%3Dt.match(%2F(%3F%3Awww%5C.%7C%5C%2F%5C%2F)coub%5C.com%5C%2Fview%5C%2F(%5Cw%2B)%2F)%2Ca%3Dt.match(%2F(%3F%3Awww%5C.%7C%5C%2F%5C%2F)facebook%5C.com%5C%2F(%5B%5E%5C%2F%5D%2B)%5C%2Fvideos%5C%2F(%5B0-9%5D%2B)%2F)%2Cl%3Dt.match(%2F.%2Bdailymotion.com%5C%2F(video%7Chub)%5C%2F(%5Cw%2B)%5C%3F%2F)%2Cs%3Dt.match(%2F(%3F%3Awww%5C.%7C%5C%2F%5C%2F)bilibili%5C.com%5C%2Fvideo%5C%2F(%5Cw%2B)%2F)%2Cd%3Dt.match(%2F(%3F%3Awww%5C.%7C%5C%2F%5C%2F)ted%5C.com%5C%2Ftalks%5C%2F(%5Cw%2B)%2F)%3Bn%26%2611%3D%3D%3Dn%5B1%5D.length%3F(e.insertAdjacentHTML(%22afterend%22%2C%27%3Ciframe%20class%3D%22iframe__video%22%20src%3D%22%2F%2Fwww.youtube.com%2Fembed%2F%27%2Bn%5B1%5D%2B(n%5B2%5D%3F%22%3Fstart%3D%22%2Bn%5B2%5D%3A%22%22)%2B%27%22%3E%3C%2Fiframe%3E%27)%2Ce.remove())%3Ar%26%26r%5B1%5D%3F(e.insertAdjacentHTML(%22afterend%22%2C%27%3Ciframe%20class%3D%22iframe__video%22%20src%3D%22%2F%2Fplayer.youku.com%2Fembed%2F%27%2Br%5B1%5D%2B%27%22%3E%3C%2Fiframe%3E%27)%2Ce.remove())%3Ai%26%26i%5B1%5D%3F(e.insertAdjacentHTML(%22afterend%22%2C%27%3Ciframe%20class%3D%22iframe__video%22%20src%3D%22https%3A%2F%2Fv.qq.com%2Ftxp%2Fiframe%2Fplayer.html%3Fvid%3D%27%2Bi%5B1%5D%2B%27%22%3E%3C%2Fiframe%3E%27)%2Ce.remove())%3Ao%26%26o%5B1%5D%3F(e.insertAdjacentHTML(%22afterend%22%2C%27%3Ciframe%20class%3D%22iframe__video%22%5Cn%20src%3D%22%2F%2Fcoub.com%2Fembed%2F%27%2Bo%5B1%5D%2B%27%3Fmuted%3Dfalse%26autostart%3Dfalse%26originalSize%3Dtrue%26startWithHD%3Dtrue%22%3E%3C%2Fiframe%3E%27)%2Ce.remove())%3Aa%26%26a%5B0%5D%3F(e.insertAdjacentHTML(%22afterend%22%2C%27%3Ciframe%20class%3D%22iframe__video%22%5Cn%20src%3D%22https%3A%2F%2Fwww.facebook.com%2Fplugins%2Fvideo.php%3Fhref%3D%27%2BencodeURIComponent(a%5B0%5D)%2B%27%22%3E%3C%2Fiframe%3E%27)%2Ce.remove())%3Al%26%26l%5B2%5D%3F(e.insertAdjacentHTML(%22afterend%22%2C%27%3Ciframe%20class%3D%22iframe__video%22%5Cn%20src%3D%22https%3A%2F%2Fwww.dailymotion.com%2Fembed%2Fvideo%2F%27%2Bl%5B2%5D%2B%27%22%3E%3C%2Fiframe%3E%27)%2Ce.remove())%3As%26%26s%5B1%5D%3F(e.insertAdjacentHTML(%22afterend%22%2C%27%3Ciframe%20class%3D%22iframe__video%22%5Cn%20src%3D%22%2F%2Fplayer.bilibili.com%2Fplayer.html%3Fbvid%3D%27%2Bs%5B1%5D%2B%27%22%3E%3C%2Fiframe%3E%27)%2Ce.remove())%3Ad%26%26d%5B1%5D%26%26(e.insertAdjacentHTML(%22afterend%22%2C%27%3Ciframe%20class%3D%22iframe__video%22%20src%3D%22%2F%2Fembed.ted.com%2Ftalks%2F%27%2Bd%5B1%5D%2B%27%22%3E%3C%2Fiframe%3E%27)%2Ce.remove())%7D(e%2Ct))%7D))%7D%7D%2C40%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7Bi%3A()%3D%3Ea%7D)%3Bvar%20r%3Dn(54)%2Ci%3Dn(526)%2Co%3Dn(156)%2Ca%3Dfunction(e%2Ct%2Cn)%7Bvoid%200%3D%3D%3Dt%26%26(t%3Dr.g.CDN)%3Bvar%20a%3Do.mermaidRenderAdapter.getElements(e)%3B0!%3D%3Da.length%26%26(0%2Ci.G)(t%2B%22%2Fdist%2Fjs%2Fmermaid%2Fmermaid.min.js%22%2C%22vditorMermaidScript%22).then((function()%7Bvar%20e%3D%7BsecurityLevel%3A%22loose%22%2CaltFontFamily%3A%22sans-serif%22%2CfontFamily%3A%22sans-serif%22%2CstartOnLoad%3A!1%2Cflowchart%3A%7BhtmlLabels%3A!0%2CuseMaxWidth%3A!0%7D%2Csequence%3A%7BuseMaxWidth%3A!0%2CdiagramMarginX%3A8%2CdiagramMarginY%3A8%2CboxMargin%3A8%7D%2Cgantt%3A%7BleftPadding%3A75%2CrightPadding%3A20%7D%7D%3B%22dark%22%3D%3D%3Dn%26%26(e.theme%3D%22dark%22)%2Cmermaid.initialize(e)%2Ca.forEach((function(e)%7Bvar%20t%3Do.mermaidRenderAdapter.getCode(e)%3B%22true%22!%3D%3De.getAttribute(%22data-processed%22)%26%26%22%22!%3D%3Dt.trim()%26%26(mermaid.init(void%200%2Ce)%2Ce.setAttribute(%22data-processed%22%2C%22true%22))%7D))%7D))%7D%7D%2C749%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7BP%3A()%3D%3Ea%7D)%3Bvar%20r%3Dn(54)%2Ci%3Dn(526)%2Co%3Dn(156)%2Ca%3Dfunction(e%2Ct%2Cn)%7Bvoid%200%3D%3D%3De%26%26(e%3Ddocument)%2Cvoid%200%3D%3D%3Dt%26%26(t%3Dr.g.CDN)%3Bvar%20a%3Do.mindmapRenderAdapter.getElements(e)%3Ba.length%3E0%26%26(0%2Ci.G)(t%2B%22%2Fdist%2Fjs%2Fecharts%2Fecharts.min.js%22%2C%22vditorEchartsScript%22).then((function()%7Ba.forEach((function(e)%7Bif(!e.parentElement.classList.contains(%22vditor-wysiwyg__pre%22)%26%26!e.parentElement.classList.contains(%22vditor-ir__marker--pre%22))%7Bvar%20t%3Do.mindmapRenderAdapter.getCode(e)%3Bif(t)try%7Bif(%22true%22%3D%3D%3De.getAttribute(%22data-processed%22))return%3Becharts.init(e%2C%22dark%22%3D%3D%3Dn%3F%22dark%22%3Avoid%200).setOption(%7Bseries%3A%5B%7Bdata%3A%5BJSON.parse(decodeURIComponent(t))%5D%2CinitialTreeDepth%3A-1%2CitemStyle%3A%7BborderWidth%3A0%2Ccolor%3A%22%234285f4%22%7D%2Clabel%3A%7BbackgroundColor%3A%22%23f6f8fa%22%2CborderColor%3A%22%23d1d5da%22%2CborderRadius%3A5%2CborderWidth%3A.5%2Ccolor%3A%22%23586069%22%2ClineHeight%3A20%2Coffset%3A%5B-5%2C0%5D%2Cpadding%3A%5B0%2C5%5D%2Cposition%3A%22insideRight%22%7D%2ClineStyle%3A%7Bcolor%3A%22%23d1d5da%22%2Cwidth%3A1%7D%2Croam%3A!0%2Csymbol%3Afunction(e%2Ct)%7Bvar%20n%3Breturn(null%3D%3D%3D(n%3Dnull%3D%3Dt%3Fvoid%200%3At.data)%7C%7Cvoid%200%3D%3D%3Dn%3Fvoid%200%3An.children)%3F%22circle%22%3A%22path%3A%2F%2F%22%7D%2Ctype%3A%22tree%22%7D%5D%2Ctooltip%3A%7Btrigger%3A%22item%22%2CtriggerOn%3A%22mousemove%22%7D%7D)%2Ce.setAttribute(%22data-processed%22%2C%22true%22)%7Dcatch(t)%7Be.className%3D%22vditor-reset--error%22%2Ce.innerHTML%3D%22mindmap%20render%20error%3A%20%3Cbr%3E%22%2Bt%7D%7D%7D))%7D))%7D%7D%2C818%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7Bk%3A()%3D%3Eo%7D)%3Bvar%20r%3Dn(64)%2Ci%3Dn(466)%2Co%3Dfunction(e%2Ct%2Cn)%7Bvar%20o%3D%22%22%2Ca%3D%5B%5D%3Bif(Array.from(e.children).forEach((function(e%2Ct)%7Bif((0%2Cr.W)(e))%7Bif(n)%7Bvar%20i%3De.id.lastIndexOf(%22_%22)%3Be.id%3De.id.substring(0%2C-1%3D%3D%3Di%3Fvoid%200%3Ai)%2B%22_%22%2Bt%7Da.push(e.id)%2Co%2B%3De.outerHTML.replace(%22%3Cwbr%3E%22%2C%22%22)%7D%7D))%2C%22%22%3D%3D%3Do)return%20t.innerHTML%3D%22%22%2C%22%22%3Bvar%20l%3Ddocument.createElement(%22div%22)%3Bif(n)n.lute.SetToC(!0)%2C%22wysiwyg%22!%3D%3Dn.currentMode%7C%7Cn.preview.element.contains(e)%3F%22ir%22!%3D%3Dn.currentMode%7C%7Cn.preview.element.contains(e)%3Fl.innerHTML%3Dn.lute.HTML2VditorDOM(%22%3Cp%3E%5BToC%5D%3C%2Fp%3E%22%2Bo)%3Al.innerHTML%3Dn.lute.SpinVditorIRDOM(%22%3Cp%3E%5BToC%5D%3C%2Fp%3E%22%2Bo)%3Al.innerHTML%3Dn.lute.SpinVditorDOM(%22%3Cp%3E%5BToC%5D%3C%2Fp%3E%22%2Bo)%2Cn.lute.SetToC(n.options.preview.markdown.toc)%3Belse%7Bt.classList.add(%22vditor-outline%22)%3Bvar%20s%3DLute.New()%3Bs.SetToC(!0)%2Cl.innerHTML%3Ds.HTML2VditorDOM(%22%3Cp%3E%5BToC%5D%3C%2Fp%3E%22%2Bo)%7Dvar%20d%3Dl.firstElementChild.querySelectorAll(%22li%20%3E%20span%5Bdata-target-id%5D%22)%3Breturn%20d.forEach((function(e%2Ct)%7Bif(e.nextElementSibling%26%26%22UL%22%3D%3D%3De.nextElementSibling.tagName)%7Bvar%20n%3D%22%3Csvg%20class%3D%27vditor-outline__action%27%3E%3Cuse%20xlink%3Ahref%3D%27%23vditor-icon-down%27%3E%3C%2Fuse%3E%3C%2Fsvg%3E%22%3Bdocument.getElementById(%22vditorIconScript%22)%7C%7C(n%3D%27%3Csvg%20class%3D%22vditor-outline__action%22%20viewBox%3D%220%200%2032%2032%22%3E%3Cpath%20d%3D%22M3.76%206.12l12.24%2012.213%2012.24-12.213%203.76%203.76-16%2016-16-16%203.76-3.76z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E%27)%2Ce.innerHTML%3Dn%2B%22%3Cspan%3E%22%2Be.innerHTML%2B%22%3C%2Fspan%3E%22%7Delse%20e.innerHTML%3D%22%3Csvg%3E%3C%2Fsvg%3E%3Cspan%3E%22%2Be.innerHTML%2B%22%3C%2Fspan%3E%22%3Be.setAttribute(%22data-target-id%22%2Ca%5Bt%5D)%7D))%2Co%3Dl.firstElementChild.innerHTML%2C0%3D%3D%3Dd.length%3F(t.innerHTML%3D%22%22%2Co)%3A(t.innerHTML%3Do%2Cn%26%26(0%2Ci.H)(t%2C%7Bcdn%3An.options.cdn%2Cmath%3An.options.preview.math%7D)%2Ct.firstElementChild.addEventListener(%22click%22%2C(function(r)%7Bfor(var%20i%3Dr.target%3Bi%26%26!i.isEqualNode(t)%3B)%7Bif(i.classList.contains(%22vditor-outline__action%22))%7Bi.classList.contains(%22vditor-outline__action--close%22)%3F(i.classList.remove(%22vditor-outline__action--close%22)%2Ci.parentElement.nextElementSibling.setAttribute(%22style%22%2C%22display%3Ablock%22))%3A(i.classList.add(%22vditor-outline__action--close%22)%2Ci.parentElement.nextElementSibling.setAttribute(%22style%22%2C%22display%3Anone%22))%2Cr.preventDefault()%2Cr.stopPropagation()%3Bbreak%7Dif(i.getAttribute(%22data-target-id%22))%7Br.preventDefault()%2Cr.stopPropagation()%3Bvar%20o%3Ddocument.getElementById(i.getAttribute(%22data-target-id%22))%3Bif(!o)return%3Bif(n)if(%22auto%22%3D%3D%3Dn.options.height)%7Bvar%20a%3Do.offsetTop%2Bn.element.offsetTop%3Bn.options.toolbarConfig.pin%7C%7C(a%2B%3Dn.toolbar.element.offsetHeight)%2Cwindow.scrollTo(window.scrollX%2Ca)%7Delse%20n.element.offsetTop%3Cwindow.scrollY%26%26window.scrollTo(window.scrollX%2Cn.element.offsetTop)%2Cn.preview.element.contains(e)%3Fe.parentElement.scrollTop%3Do.offsetTop%3Ae.scrollTop%3Do.offsetTop%3Belse%20window.scrollTo(window.scrollX%2Co.offsetTop)%3Bbreak%7Di%3Di.parentElement%7D%7D))%2Co)%7D%7D%2C408%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7BB%3A()%3D%3Ea%7D)%3Bvar%20r%3Dn(54)%2Ci%3Dn(526)%2Co%3Dn(156)%2Ca%3Dfunction(e%2Ct)%7Bvoid%200%3D%3D%3De%26%26(e%3Ddocument)%2Cvoid%200%3D%3D%3Dt%26%26(t%3Dr.g.CDN)%3Bvar%20n%3Do.plantumlRenderAdapter.getElements(e)%3B0!%3D%3Dn.length%26%26(0%2Ci.G)(t%2B%22%2Fdist%2Fjs%2Fplantuml%2Fplantuml-encoder.min.js%22%2C%22vditorPlantumlScript%22).then((function()%7Bn.forEach((function(e)%7Bif(!e.parentElement.classList.contains(%22vditor-wysiwyg__pre%22)%26%26!e.parentElement.classList.contains(%22vditor-ir__marker--pre%22))%7Bvar%20t%3Do.plantumlRenderAdapter.getCode(e).trim()%3Bif(t)try%7Be.innerHTML%3D%27%3Cimg%20src%3D%22http%3A%2F%2Fwww.plantuml.com%2Fplantuml%2Fsvg%2F%7E1%27%2BplantumlEncoder.encode(t)%2B%27%22%3E%27%7Dcatch(t)%7Be.className%3D%22vditor-reset--error%22%2Ce.innerHTML%3D%22plantuml%20render%20error%3A%20%3Cbr%3E%22%2Bt%7D%7D%7D))%7D))%7D%7D%2C895%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7BX%3A()%3D%3Er%7D)%3Bvar%20r%3Dfunction(e)%7Bvar%20t%3DLute.New()%3Breturn%20t.PutEmojis(e.emojis)%2Ct.SetEmojiSite(e.emojiSite)%2Ct.SetHeadingAnchor(e.headingAnchor)%2Ct.SetInlineMathAllowDigitAfterOpenMarker(e.inlineMathDigit)%2Ct.SetAutoSpace(e.autoSpace)%2Ct.SetToC(e.toc)%2Ct.SetFootnotes(e.footnotes)%2Ct.SetFixTermTypo(e.fixTermTypo)%2Ct.SetVditorCodeBlockPreview(e.codeBlockPreview)%2Ct.SetVditorMathBlockPreview(e.mathBlockPreview)%2Ct.SetSanitize(e.sanitize)%2Ct.SetChineseParagraphBeginningSpace(e.paragraphBeginningSpace)%2Ct.SetRenderListStyle(e.listStyle)%2Ct.SetLinkBase(e.linkBase)%2Ct.SetLinkPrefix(e.linkPrefix)%2Ct.SetMark(e.mark)%2Ce.lazyLoadImage%26%26t.SetImageLazyLoading(e.lazyLoadImage)%2Ct%7D%7D%2C863%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7BE%3A()%3D%3Er%7D)%3Bvar%20r%3Dfunction(e%2Ct%2Cn)%7Bvoid%200%3D%3D%3Dt%26%26(t%3D%22zh_CN%22)%2Cvoid%200%3D%3D%3Dn%26%26(n%3D%22classic%22)%3Bvar%20r%3De.getBoundingClientRect()%3Bdocument.body.insertAdjacentHTML(%22beforeend%22%2C%27%3Cdiv%20class%3D%22vditor%20vditor-img%27%2B(%22dark%22%3D%3D%3Dn%3F%22%20vditor--dark%22%3A%22%22)%2B%27%22%3E%5Cn%20%20%20%20%3Cdiv%20class%3D%22vditor-img__bar%22%3E%5Cn%20%20%20%20%20%20%3Cspan%20class%3D%22vditor-img__btn%22%20data-deg%3D%220%22%3E%5Cn%20%20%20%20%20%20%20%20%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-redo%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%5Cn%20%20%20%20%20%20%20%20%27%2Bwindow.VditorI18n.spin%2B%22%5Cn%20%20%20%20%20%20%3C%2Fspan%3E%5Cn%20%20%20%20%20%20%3Cspan%20class%3D%5C%22vditor-img__btn%5C%22%20%20onclick%3D%5C%22this.parentElement.parentElement.outerHTML%20%3D%20%27%27%3Bdocument.body.style.overflow%20%3D%20%27%27%5C%22%3E%5Cn%20%20%20%20%20%20%20%20X%20%26nbsp%3B%22%2Bwindow.VditorI18n.close%2B%27%5Cn%20%20%20%20%20%20%3C%2Fspan%3E%5Cn%20%20%20%20%3C%2Fdiv%3E%5Cn%20%20%20%20%3Cdiv%20class%3D%22vditor-img__img%22%20onclick%3D%22this.parentElement.outerHTML%20%3D%20%5C%27%5C%27%3Bdocument.body.style.overflow%20%3D%20%5C%27%5C%27%22%3E%5Cn%20%20%20%20%20%20%3Cimg%20style%3D%22width%3A%20%27%2Be.width%2B%22px%3Bheight%3A%22%2Be.height%2B%22px%3Btransform%3A%20translate3d(%22%2Br.left%2B%22px%2C%20%22%2B(r.top-36)%2B%27px%2C%200)%22%20src%3D%22%27%2Be.getAttribute(%22src%22)%2B%27%22%3E%5Cn%20%20%20%20%3C%2Fdiv%3E%5Cn%3C%2Fdiv%3E%27)%2Cdocument.body.style.overflow%3D%22hidden%22%3Bvar%20i%3Ddocument.querySelector(%22.vditor-img%20img%22)%2Co%3D%22translate3d(%22%2BMath.max(0%2Cwindow.innerWidth-e.naturalWidth)%2F2%2B%22px%2C%20%22%2BMath.max(0%2Cwindow.innerHeight-36-e.naturalHeight)%2F2%2B%22px%2C%200)%22%3BsetTimeout((function()%7Bi.setAttribute(%22style%22%2C%22transition%3A%20transform%20.3s%20ease-in-out%3Btransform%3A%20%22%2Bo)%2CsetTimeout((function()%7Bi.parentElement.scrollTo((i.parentElement.scrollWidth-i.parentElement.clientWidth)%2F2%2C(i.parentElement.scrollHeight-i.parentElement.clientHeight)%2F2)%7D)%2C400)%7D))%3Bvar%20a%3Ddocument.querySelector(%22.vditor-img__btn%22)%3Ba.addEventListener(%22click%22%2C(function()%7Bvar%20t%3DparseInt(a.getAttribute(%22data-deg%22)%2C10)%2B90%3Bt%2F90%252%3D%3D1%26%26e.naturalWidth%3Ei.parentElement.clientHeight%3Fi.style.transform%3D%22translate3d(%22%2BMath.max(0%2Cwindow.innerWidth-e.naturalWidth)%2F2%2B%22px%2C%20%22%2B(e.naturalWidth%2F2-e.naturalHeight%2F2)%2B%22px%2C%200)%20rotateZ(%22%2Bt%2B%22deg)%22%3Ai.style.transform%3Do%2B%22%20rotateZ(%22%2Bt%2B%22deg)%22%2Ca.setAttribute(%22data-deg%22%2Ct.toString())%2CsetTimeout((function()%7Bi.parentElement.scrollTo((i.parentElement.scrollWidth-i.parentElement.clientWidth)%2F2%2C(i.parentElement.scrollHeight-i.parentElement.clientHeight)%2F2)%7D)%2C400)%7D))%7D%7D%2C312%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7BY%3A()%3D%3Eo%7D)%3Bvar%20r%3Dn(54)%2Ci%3Dn(578)%2Co%3Dfunction(e%2Ct)%7Bvoid%200%3D%3D%3Dt%26%26(t%3Dr.g.CDN)%2Cr.g.CODE_THEME.includes(e)%7C%7C(e%3D%22github%22)%3Bvar%20n%3Ddocument.getElementById(%22vditorHljsStyle%22)%2Co%3Dt%2B%22%2Fdist%2Fjs%2Fhighlight.js%2Fstyles%2F%22%2Be%2B%22.css%22%3Bn%3Fn.href!%3D%3Do%26%26(n.remove()%2C(0%2Ci.c)(o%2C%22vditorHljsStyle%22))%3A(0%2Ci.c)(o%2C%22vditorHljsStyle%22)%7D%7D%2C227%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7BZ%3A()%3D%3Ei%7D)%3Bvar%20r%3Dn(578)%2Ci%3Dfunction(e%2Ct)%7Bif(e%26%26t)%7Bvar%20n%3Ddocument.getElementById(%22vditorContentTheme%22)%2Ci%3Dt%2B%22%2F%22%2Be%2B%22.css%22%3Bn%3Fn.getAttribute(%22href%22)!%3D%3Di%26%26(n.remove()%2C(0%2Cr.c)(i%2C%22vditorContentTheme%22))%3A(0%2Cr.c)(i%2C%22vditorContentTheme%22)%7D%7D%7D%2C526%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7BJ%3A()%3D%3Er%2CG%3A()%3D%3Ei%7D)%3Bvar%20r%3Dfunction(e%2Ct)%7Bif(document.getElementById(t))return!1%3Bvar%20n%3Dnew%20XMLHttpRequest%3Bn.open(%22GET%22%2Ce%2C!1)%2Cn.setRequestHeader(%22Accept%22%2C%22text%2Fjavascript%2C%20application%2Fjavascript%2C%20application%2Fecmascript%2C%20application%2Fx-ecmascript%2C%20*%2F*%3B%20q%3D0.01%22)%2Cn.send(%22%22)%3Bvar%20r%3Ddocument.createElement(%22script%22)%3Br.type%3D%22text%2Fjavascript%22%2Cr.text%3Dn.responseText%2Cr.id%3Dt%2Cdocument.head.appendChild(r)%7D%2Ci%3Dfunction(e%2Ct)%7Breturn%20new%20Promise((function(n%2Cr)%7Bif(document.getElementById(t))return%20n()%2C!1%3Bvar%20i%3Ddocument.createElement(%22script%22)%3Bi.src%3De%2Ci.async%3D!0%2Cdocument.head.appendChild(i)%2Ci.onload%3Dfunction()%7Bif(document.getElementById(t))return%20i.remove()%2Cn()%2C!1%3Bi.id%3Dt%2Cn()%7D%7D))%7D%7D%2C578%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7Bc%3A()%3D%3Er%7D)%3Bvar%20r%3Dfunction(e%2Ct)%7Bif(!document.getElementById(t))%7Bvar%20n%3Ddocument.createElement(%22link%22)%3Bn.id%3Dt%2Cn.rel%3D%22stylesheet%22%2Cn.type%3D%22text%2Fcss%22%2Cn.href%3De%2Cdocument.getElementsByTagName(%22head%22)%5B0%5D.appendChild(n)%7D%7D%7D%2C51%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7BX%3A()%3D%3Er%7D)%3Bvar%20r%3Dfunction(e)%7Breturn%20e.replace(%2F%5Cu00a0%2Fg%2C%22%20%22)%7D%7D%2C794%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7BG6%3A()%3D%3Er%2CvU%3A()%3D%3Ei%2CpK%3A()%3D%3Eo%2CLe%3A()%3D%3Ea%2Cyl%3A()%3D%3El%2Cns%3A()%3D%3Es%2Ci7%3A()%3D%3Ed%7D)%3Bvar%20r%3Dfunction()%7Breturn%20navigator.userAgent.indexOf(%22Safari%22)%3E-1%26%26-1%3D%3D%3Dnavigator.userAgent.indexOf(%22Chrome%22)%7D%2Ci%3Dfunction()%7Breturn%20navigator.userAgent.toLowerCase().indexOf(%22firefox%22)%3E-1%7D%2Co%3Dfunction()%7Btry%7Breturn%22undefined%22!%3Dtypeof%20localStorage%7Dcatch(e)%7Breturn!1%7D%7D%2Ca%3Dfunction()%7Breturn%20navigator.userAgent.indexOf(%22iPhone%22)%3E-1%3F%22touchstart%22%3A%22click%22%7D%2Cl%3Dfunction(e)%7Breturn%20navigator.platform.toUpperCase().indexOf(%22MAC%22)%3E%3D0%3F!(!e.metaKey%7C%7Ce.ctrlKey)%3A!(e.metaKey%7C%7C!e.ctrlKey)%7D%2Cs%3Dfunction(e)%7Breturn%2FMac%2F.test(navigator.platform)%7C%7C%22iPhone%22%3D%3D%3Dnavigator.platform%3Fe.indexOf(%22%E2%87%A7%22)%3E-1%26%26i()%26%26(e%3De.replace(%22%3B%22%2C%22%3A%22).replace(%22%3D%22%2C%22%2B%22).replace(%22-%22%2C%22_%22))%3A(e%3D(e%3De.startsWith(%22%E2%8C%98%22)%3Fe.replace(%22%E2%8C%98%22%2C%22%E2%8C%98%2B%22)%3Ae.startsWith(%22%E2%8C%A5%22)%26%26%22%E2%8C%98%22!%3D%3De.substr(1%2C1)%3Fe.replace(%22%E2%8C%A5%22%2C%22%E2%8C%A5%2B%22)%3Ae.replace(%22%E2%87%A7%E2%8C%98%22%2C%22%E2%8C%98%2B%E2%87%A7%2B%22).replace(%22%E2%8C%A5%E2%8C%98%22%2C%22%E2%8C%A5%2B%E2%8C%98%2B%22)).replace(%22%E2%8C%98%22%2C%22Ctrl%22).replace(%22%E2%87%A7%22%2C%22Shift%22).replace(%22%E2%8C%A5%22%2C%22Alt%22)).indexOf(%22Shift%22)%3E-1%26%26(e%3De.replace(%22%3B%22%2C%22%3A%22).replace(%22%3D%22%2C%22%2B%22).replace(%22-%22%2C%22_%22))%2Ce%7D%2Cd%3Dfunction()%7Breturn%2FChrome%2F.test(navigator.userAgent)%26%26%2FGoogle%20Inc%2F.test(navigator.vendor)%7D%7D%2C827%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7BJQ%3A()%3D%3Ei%2CE2%3A()%3D%3Eo%2CO9%3A()%3D%3Ea%2Ca1%3A()%3D%3El%2CF9%3A()%3D%3Es%2ClG%3A()%3D%3Ed%2Cfb%3A()%3D%3Ec%2CDX%3A()%3D%3Eu%7D)%3Bvar%20r%3Dn(64)%2Ci%3Dfunction(e%2Ct)%7Bfor(var%20n%3Dc(e%2Ct)%2Cr%3D!1%2Ci%3D!1%3Bn%26%26!n.classList.contains(%22vditor-reset%22)%26%26!i%3B)(r%3Dc(n.parentElement%2Ct))%3Fn%3Dr%3Ai%3D!0%3Breturn%20n%7C%7C!1%7D%2Co%3Dfunction(e%2Ct)%7Bfor(var%20n%3D(0%2Cr.S)(e%2Ct)%2Ci%3D!1%2Co%3D!1%3Bn%26%26!n.classList.contains(%22vditor-reset%22)%26%26!o%3B)(i%3D(0%2Cr.S)(n.parentElement%2Ct))%3Fn%3Di%3Ao%3D!0%3Breturn%20n%7C%7C!1%7D%2Ca%3Dfunction(e)%7Bvar%20t%3Do(e%2C%22UL%22)%2Cn%3Do(e%2C%22OL%22)%2Cr%3Dt%3Breturn%20n%26%26(!t%7C%7Ct%26%26n.contains(t))%26%26(r%3Dn)%2Cr%7D%2Cl%3Dfunction(e%2Ct%2Cn)%7Bif(!e)return!1%3B3%3D%3D%3De.nodeType%26%26(e%3De.parentElement)%3Bfor(var%20r%3De%2Ci%3D!1%3Br%26%26!i%26%26!r.classList.contains(%22vditor-reset%22)%3B)r.getAttribute(t)%3D%3D%3Dn%3Fi%3D!0%3Ar%3Dr.parentElement%3Breturn%20i%26%26r%7D%2Cs%3Dfunction(e)%7Bif(!e)return!1%3B3%3D%3D%3De.nodeType%26%26(e%3De.parentElement)%3Bvar%20t%3De%2Cn%3D!1%2Cr%3Dl(e%2C%22data-block%22%2C%220%22)%3Bif(r)return%20r%3Bfor(%3Bt%26%26!n%26%26!t.classList.contains(%22vditor-reset%22)%3B)%22H1%22%3D%3D%3Dt.tagName%7C%7C%22H2%22%3D%3D%3Dt.tagName%7C%7C%22H3%22%3D%3D%3Dt.tagName%7C%7C%22H4%22%3D%3D%3Dt.tagName%7C%7C%22H5%22%3D%3D%3Dt.tagName%7C%7C%22H6%22%3D%3D%3Dt.tagName%7C%7C%22P%22%3D%3D%3Dt.tagName%7C%7C%22BLOCKQUOTE%22%3D%3D%3Dt.tagName%7C%7C%22OL%22%3D%3D%3Dt.tagName%7C%7C%22UL%22%3D%3D%3Dt.tagName%3Fn%3D!0%3At%3Dt.parentElement%3Breturn%20n%26%26t%7D%2Cd%3Dfunction(e%2Ct)%7Bif(!e)return!1%3B3%3D%3D%3De.nodeType%26%26(e%3De.parentElement)%3Bfor(var%20n%3De%2Cr%3D!1%3Bn%26%26!r%26%26!n.classList.contains(%22vditor-reset%22)%3B)n.nodeName%3D%3D%3Dt%3Fr%3D!0%3An%3Dn.parentElement%3Breturn%20r%26%26n%7D%2Cc%3Dfunction(e%2Ct)%7Bif(!e)return!1%3B3%3D%3D%3De.nodeType%26%26(e%3De.parentElement)%3Bfor(var%20n%3De%2Cr%3D!1%3Bn%26%26!r%26%26!n.classList.contains(%22vditor-reset%22)%3B)n.classList.contains(t)%3Fr%3D!0%3An%3Dn.parentElement%3Breturn%20r%26%26n%7D%2Cu%3Dfunction(e)%7Bfor(%3Be%26%26e.lastChild%3B)e%3De.lastChild%3Breturn%20e%7D%7D%2C64%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7BS%3A()%3D%3Er%2CW%3A()%3D%3Ei%7D)%3Bvar%20r%3Dfunction(e%2Ct)%7Bif(!e)return!1%3B3%3D%3D%3De.nodeType%26%26(e%3De.parentElement)%3Bfor(var%20n%3De%2Cr%3D!1%3Bn%26%26!r%26%26!n.classList.contains(%22vditor-reset%22)%3B)0%3D%3D%3Dn.nodeName.indexOf(t)%3Fr%3D!0%3An%3Dn.parentElement%3Breturn%20r%26%26n%7D%2Ci%3Dfunction(e)%7Bvar%20t%3Dr(e%2C%22H%22)%3Breturn!(!t%7C%7C2!%3D%3Dt.tagName.length%7C%7C%22HR%22%3D%3D%3Dt.tagName)%26%26t%7D%7D%2C640%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7BT%3A()%3D%3Er%7D)%3Bvar%20r%3Dfunction()%7Bfor(var%20e%3D%5B%5D%2Ct%3D0%3Bt%3Carguments.length%3Bt%2B%2B)e%5Bt%5D%3Darguments%5Bt%5D%3Bfor(var%20n%3D%7B%7D%2Ci%3Dfunction(e)%7Bfor(var%20t%20in%20e)e.hasOwnProperty(t)%26%26(%22%5Bobject%20Object%5D%22%3D%3D%3DObject.prototype.toString.call(e%5Bt%5D)%3Fn%5Bt%5D%3Dr(n%5Bt%5D%2Ce%5Bt%5D)%3An%5Bt%5D%3De%5Bt%5D)%7D%2Co%3D0%3Bo%3Ce.length%3Bo%2B%2B)i(e%5Bo%5D)%3Breturn%20n%7D%7D%2C393%3A(e%2Ct%2Cn)%3D%3E%7B%22use%20strict%22%3Bn.d(t%2C%7Bzh%3A()%3D%3Ea%2CNy%3A()%3D%3El%2CGb%3A()%3D%3Es%2CHc%3A()%3D%3Ed%2Cim%3A()%3D%3Ec%2C%24j%3A()%3D%3Eu%2Cib%3A()%3D%3Ep%2CoC%3A()%3D%3Em%7D)%3Bvar%20r%3Dn(54)%2Ci%3Dn(794)%2Co%3Dn(827)%2Ca%3Dfunction(e)%7Bvar%20t%2Cn%3De%5Be.currentMode%5D.element%3Breturn%20getSelection().rangeCount%3E0%26%26(t%3DgetSelection().getRangeAt(0)%2Cn.isEqualNode(t.startContainer)%7C%7Cn.contains(t.startContainer))%3Ft%3Ae%5Be.currentMode%5D.range%3Fe%5Be.currentMode%5D.range%3A(n.focus()%2C(t%3Dn.ownerDocument.createRange()).setStart(n%2C0)%2Ct.collapse(!0)%2Ct)%7D%2Cl%3Dfunction(e)%7Bvar%20t%3Dwindow.getSelection().getRangeAt(0)%3Bif(!e.contains(t.startContainer)%26%26!(0%2Co.fb)(t.startContainer%2C%22vditor-panel--none%22))return%7Bleft%3A0%2Ctop%3A0%7D%3Bvar%20n%2Cr%3De.parentElement.getBoundingClientRect()%3Bif(0%3D%3D%3Dt.getClientRects().length)if(3%3D%3D%3Dt.startContainer.nodeType)%7Bvar%20i%3Dt.startContainer.parentElement%3Bif(!(i%26%26i.getClientRects().length%3E0))return%7Bleft%3A0%2Ctop%3A0%7D%3Bn%3Di.getClientRects()%5B0%5D%7Delse%7Bvar%20a%3Dt.startContainer.children%3Bif(a%5Bt.startOffset%5D%26%26a%5Bt.startOffset%5D.getClientRects().length%3E0)n%3Da%5Bt.startOffset%5D.getClientRects()%5B0%5D%3Belse%20if(t.startContainer.childNodes.length%3E0)%7Bvar%20l%3Dt.cloneRange()%3Bt.selectNode(t.startContainer.childNodes%5BMath.max(0%2Ct.startOffset-1)%5D)%2Cn%3Dt.getClientRects()%5B0%5D%2Ct.setEnd(l.endContainer%2Cl.endOffset)%2Ct.setStart(l.startContainer%2Cl.startOffset)%7Delse%20n%3Dt.startContainer.getClientRects()%5B0%5D%3Bif(!n)%7Bfor(var%20s%3Dt.startContainer.childNodes%5Bt.startOffset%5D%3B!s.getClientRects%7C%7Cs.getClientRects%26%260%3D%3D%3Ds.getClientRects().length%3B)s%3Ds.parentElement%3Bn%3Ds.getClientRects()%5B0%5D%7D%7Delse%20n%3Dt.getClientRects()%5B0%5D%3Breturn%7Bleft%3An.left-r.left%2Ctop%3An.top-r.top%7D%7D%2Cs%3Dfunction(e%2Ct)%7Bif(!t)%7Bif(0%3D%3D%3DgetSelection().rangeCount)return!1%3Bt%3DgetSelection().getRangeAt(0)%7Dvar%20n%3Dt.commonAncestorContainer%3Breturn%20e.isEqualNode(n)%7C%7Ce.contains(n)%7D%2Cd%3Dfunction(e)%7Bvar%20t%3Dwindow.getSelection()%3Bt.removeAllRanges()%2Ct.addRange(e)%7D%2Cc%3Dfunction(e%2Ct%2Cn)%7Bvar%20r%3D%7Bend%3A0%2Cstart%3A0%7D%3Bif(!n)%7Bif(0%3D%3D%3DgetSelection().rangeCount)return%20r%3Bn%3Dwindow.getSelection().getRangeAt(0)%7Dif(s(t%2Cn))%7Bvar%20i%3Dn.cloneRange()%3Be.childNodes%5B0%5D%26%26e.childNodes%5B0%5D.childNodes%5B0%5D%3Fi.setStart(e.childNodes%5B0%5D.childNodes%5B0%5D%2C0)%3Ai.selectNodeContents(e)%2Ci.setEnd(n.startContainer%2Cn.startOffset)%2Cr.start%3Di.toString().length%2Cr.end%3Dr.start%2Bn.toString().length%7Dreturn%20r%7D%2Cu%3Dfunction(e%2Ct%2Cn)%7Bvar%20r%3D0%2Ci%3D0%2Co%3Dn.childNodes%5Bi%5D%2Ca%3D!1%2Cl%3D!1%3Be%3DMath.max(0%2Ce)%2Ct%3DMath.max(0%2Ct)%3Bvar%20s%3Dn.ownerDocument.createRange()%3Bfor(s.setStart(o%7C%7Cn%2C0)%2Cs.collapse(!0)%3B!l%26%26o%3B)%7Bvar%20c%3Dr%2Bo.textContent.length%3Bif(!a%26%26e%3E%3Dr%26%26e%3C%3Dc%26%26(0%3D%3D%3De%3Fs.setStart(o%2C0)%3A3%3D%3D%3Do.childNodes%5B0%5D.nodeType%3Fs.setStart(o.childNodes%5B0%5D%2Ce-r)%3Ao.nextSibling%3Fs.setStartBefore(o.nextSibling)%3As.setStartAfter(o)%2Ca%3D!0%2Ce%3D%3D%3Dt))%7Bl%3D!0%3Bbreak%7Da%26%26t%3E%3Dr%26%26t%3C%3Dc%26%26(0%3D%3D%3Dt%3Fs.setEnd(o%2C0)%3A3%3D%3D%3Do.childNodes%5B0%5D.nodeType%3Fs.setEnd(o.childNodes%5B0%5D%2Ct-r)%3Ao.nextSibling%3Fs.setEndBefore(o.nextSibling)%3As.setEndAfter(o)%2Cl%3D!0)%2Cr%3Dc%2Co%3Dn.childNodes%5B%2B%2Bi%5D%7Dreturn!l%26%26n.childNodes%5Bi-1%5D%26%26s.setStartBefore(n.childNodes%5Bi-1%5D)%2Cd(s)%2Cs%7D%2Cp%3Dfunction(e%2Ct)%7Bvar%20n%3De.querySelector(%22wbr%22)%3Bif(n)%7Bif(n.previousElementSibling)if(n.previousElementSibling.isSameNode(n.previousSibling))%7Bif(n.previousElementSibling.lastChild)return%20t.setStartBefore(n)%2Ct.collapse(!0)%2Cd(t)%2C!(0%2Ci.i7)()%7C%7C%22EM%22!%3D%3Dn.previousElementSibling.tagName%26%26%22STRONG%22!%3D%3Dn.previousElementSibling.tagName%26%26%22S%22!%3D%3Dn.previousElementSibling.tagName%7C%7C(t.insertNode(document.createTextNode(r.g.ZWSP))%2Ct.collapse(!1))%2Cvoid%20n.remove()%3Bt.setStartAfter(n.previousElementSibling)%7Delse%20t.setStart(n.previousSibling%2Cn.previousSibling.textContent.length)%3Belse%20n.previousSibling%3Ft.setStart(n.previousSibling%2Cn.previousSibling.textContent.length)%3An.nextSibling%3F3%3D%3D%3Dn.nextSibling.nodeType%3Ft.setStart(n.nextSibling%2C0)%3At.setStartBefore(n.nextSibling)%3At.setStart(n.parentElement%2C0)%3Bt.collapse(!0)%2Cn.remove()%2Cd(t)%7D%7D%2Cm%3Dfunction(e%2Ct)%7Bvar%20n%3Ddocument.createElement(%22div%22)%3Bn.innerHTML%3De%3Bvar%20r%3Dn.querySelectorAll(%22p%22)%3B1%3D%3D%3Dr.length%26%26!r%5B0%5D.previousSibling%26%26!r%5B0%5D.nextSibling%26%26t%5Bt.currentMode%5D.element.children.length%3E0%26%26%22P%22%3D%3D%3Dn.firstElementChild.tagName%26%26(e%3Dr%5B0%5D.innerHTML.trim())%3Bvar%20i%3Ddocument.createElement(%22div%22)%3Bi.innerHTML%3De%3Bvar%20l%3Da(t)%3Bif(%22%22!%3D%3Dl.toString()%26%26(t%5Bt.currentMode%5D.preventInput%3D!0%2Cdocument.execCommand(%22delete%22%2C!1%2C%22%22))%2Ci.firstElementChild%26%26%220%22%3D%3D%3Di.firstElementChild.getAttribute(%22data-block%22))%7Bi.lastElementChild.insertAdjacentHTML(%22beforeend%22%2C%22%3Cwbr%3E%22)%3Bvar%20s%3D(0%2Co.F9)(l.startContainer)%3Bs%3Fs.insertAdjacentHTML(%22afterend%22%2Ci.innerHTML)%3At%5Bt.currentMode%5D.element.insertAdjacentHTML(%22beforeend%22%2Ci.innerHTML)%2Cp(t%5Bt.currentMode%5D.element%2Cl)%7Delse%7Bvar%20c%3Ddocument.createElement(%22template%22)%3Bc.innerHTML%3De%2Cl.insertNode(c.content.cloneNode(!0))%2Cl.collapse(!1)%2Cd(l)%7D%7D%7D%7D%2Ct%3D%7B%7D%3Bfunction%20n(r)%7Bvar%20i%3Dt%5Br%5D%3Bif(void%200!%3D%3Di)return%20i.exports%3Bvar%20o%3Dt%5Br%5D%3D%7Bexports%3A%7B%7D%7D%3Breturn%20e%5Br%5D(o%2Co.exports%2Cn)%2Co.exports%7Dn.d%3D(e%2Ct)%3D%3E%7Bfor(var%20r%20in%20t)n.o(t%2Cr)%26%26!n.o(e%2Cr)%26%26Object.defineProperty(e%2Cr%2C%7Benumerable%3A!0%2Cget%3At%5Br%5D%7D)%7D%2Cn.o%3D(e%2Ct)%3D%3EObject.prototype.hasOwnProperty.call(e%2Ct)%2Cn.r%3De%3D%3E%7B%22undefined%22!%3Dtypeof%20Symbol%26%26Symbol.toStringTag%26%26Object.defineProperty(e%2CSymbol.toStringTag%2C%7Bvalue%3A%22Module%22%7D)%2CObject.defineProperty(e%2C%22__esModule%22%2C%7Bvalue%3A!0%7D)%7D%3Bvar%20r%3D%7B%7D%3Breturn(()%3D%3E%7B%22use%20strict%22%3Bn.d(r%2C%7Bdefault%3A()%3D%3EGn%7D)%3Bvar%20e%2Ct%3Dn(872)%2Ci%3Dn(54)%2Co%3Dn(51)%2Ca%3Dfunction(e)%7Breturn%22sv%22%3D%3D%3De.currentMode%3F(0%2Co.X)((e.sv.element.textContent%2B%22%5Cn%22).replace(%2F%5Cn%5Cn%24%2F%2C%22%5Cn%22))%3A%22wysiwyg%22%3D%3D%3De.currentMode%3Fe.lute.VditorDOM2Md(e.wysiwyg.element.innerHTML)%3A%22ir%22%3D%3D%3De.currentMode%3Fe.lute.VditorIRDOM2Md(e.ir.element.innerHTML)%3A%22%22%7D%2Cl%3Dn(526)%2Cs%3Dfunction()%7Bfunction%20e()%7Bthis.element%3Ddocument.createElement(%22div%22)%2Cthis.element.className%3D%22vditor-devtools%22%2Cthis.element.innerHTML%3D%27%3Cdiv%20class%3D%22vditor-reset--error%22%3E%3C%2Fdiv%3E%3Cdiv%20style%3D%22height%3A%20100%25%3B%22%3E%3C%2Fdiv%3E%27%7Dreturn%20e.prototype.renderEchart%3Dfunction(e)%7Bvar%20t%3Dthis%3B%22block%22%3D%3D%3De.devtools.element.style.display%26%26(0%2Cl.G)(e.options.cdn%2B%22%2Fdist%2Fjs%2Fecharts%2Fecharts.min.js%22%2C%22vditorEchartsScript%22).then((function()%7Bt.ASTChart%7C%7C(t.ASTChart%3Decharts.init(e.devtools.element.lastElementChild))%3Btry%7Bt.element.lastElementChild.style.display%3D%22block%22%2Ct.element.firstElementChild.innerHTML%3D%22%22%2Ct.ASTChart.setOption(%7Bseries%3A%5B%7Bdata%3AJSON.parse(e.lute.RenderEChartsJSON(a(e)))%2CinitialTreeDepth%3A-1%2Clabel%3A%7Balign%3A%22left%22%2CbackgroundColor%3A%22rgba(68%2C%2077%2C%2086%2C%20.68)%22%2CborderRadius%3A3%2Ccolor%3A%22%23d1d5da%22%2CfontSize%3A12%2ClineHeight%3A12%2Coffset%3A%5B9%2C12%5D%2Cpadding%3A%5B2%2C4%2C2%2C4%5D%2Cposition%3A%22top%22%2CverticalAlign%3A%22middle%22%7D%2ClineStyle%3A%7Bcolor%3A%22%234285f4%22%2Ctype%3A%22curve%22%2Cwidth%3A1%7D%2Corient%3A%22vertical%22%2Croam%3A!0%2Ctype%3A%22tree%22%7D%5D%2Ctoolbox%3A%7Bbottom%3A25%2Cemphasis%3A%7BiconStyle%3A%7Bcolor%3A%22%234285f4%22%7D%7D%2Cfeature%3A%7Brestore%3A%7Bshow%3A!0%7D%2CsaveAsImage%3A%7Bshow%3A!0%7D%7D%2Cright%3A15%2Cshow%3A!0%7D%7D)%2Ct.ASTChart.resize()%7Dcatch(e)%7Bt.element.lastElementChild.style.display%3D%22none%22%2Ct.element.firstElementChild.innerHTML%3De%7D%7D))%7D%2Ce%7D()%2Cd%3Dn(794)%2Cc%3Dfunction(e%2Ct)%7Bt.forEach((function(t)%7Bif(e%5Bt%5D)%7Bvar%20n%3De%5Bt%5D.children%5B0%5D%3Bn%26%26n.classList.contains(%22vditor-menu--current%22)%26%26n.classList.remove(%22vditor-menu--current%22)%7D%7D))%7D%2Cu%3Dfunction(e%2Ct)%7Bt.forEach((function(t)%7Bif(e%5Bt%5D)%7Bvar%20n%3De%5Bt%5D.children%5B0%5D%3Bn%26%26!n.classList.contains(%22vditor-menu--current%22)%26%26n.classList.add(%22vditor-menu--current%22)%7D%7D))%7D%2Cp%3Dfunction(e%2Ct)%7Bt.forEach((function(t)%7Bif(e%5Bt%5D)%7Bvar%20n%3De%5Bt%5D.children%5B0%5D%3Bn%26%26n.classList.contains(i.g.CLASS_MENU_DISABLED)%26%26n.classList.remove(i.g.CLASS_MENU_DISABLED)%7D%7D))%7D%2Cm%3Dfunction(e%2Ct)%7Bt.forEach((function(t)%7Bif(e%5Bt%5D)%7Bvar%20n%3De%5Bt%5D.children%5B0%5D%3Bn%26%26!n.classList.contains(i.g.CLASS_MENU_DISABLED)%26%26n.classList.add(i.g.CLASS_MENU_DISABLED)%7D%7D))%7D%2Cf%3Dfunction(e%2Ct)%7Bt.forEach((function(t)%7Be%5Bt%5D%26%26e%5Bt%5D%26%26(e%5Bt%5D.style.display%3D%22none%22)%7D))%7D%2Ch%3Dfunction(e%2Ct)%7Bt.forEach((function(t)%7Be%5Bt%5D%26%26e%5Bt%5D%26%26(e%5Bt%5D.style.display%3D%22block%22)%7D))%7D%2Cv%3Dfunction(e%2Ct%2Cn)%7Bt.includes(%22subToolbar%22)%26%26(e.toolbar.element.querySelectorAll(%22.vditor-hint%22).forEach((function(e)%7Bn%26%26e.isEqualNode(n)%7C%7C(e.style.display%3D%22none%22)%7D))%2Ce.toolbar.elements.emoji%26%26(e.toolbar.elements.emoji.lastElementChild.style.display%3D%22none%22))%2Ct.includes(%22hint%22)%26%26(e.hint.element.style.display%3D%22none%22)%2Ce.wysiwyg.popover%26%26t.includes(%22popover%22)%26%26(e.wysiwyg.popover.style.display%3D%22none%22)%7D%2Cg%3Dfunction(e%2Ct%2Cn%2Cr)%7Bn.addEventListener((0%2Cd.Le)()%2C(function(r)%7Br.preventDefault()%2Cr.stopPropagation()%2Cn.classList.contains(i.g.CLASS_MENU_DISABLED)%7C%7C(e.toolbar.element.querySelectorAll(%22.vditor-hint--current%22).forEach((function(e)%7Be.classList.remove(%22vditor-hint--current%22)%7D))%2C%22block%22%3D%3D%3Dt.style.display%3Ft.style.display%3D%22none%22%3A(v(e%2C%5B%22subToolbar%22%2C%22hint%22%2C%22popover%22%5D%2Cn.parentElement.parentElement)%2Cn.classList.contains(%22vditor-tooltipped%22)%7C%7Cn.classList.add(%22vditor-hint--current%22)%2Ct.style.display%3D%22block%22%2Ce.toolbar.element.getBoundingClientRect().right-n.getBoundingClientRect().right%3C250%3Ft.classList.add(%22vditor-panel--left%22)%3At.classList.remove(%22vditor-panel--left%22)))%7D))%7D%2Cy%3Dn(827)%2Cb%3Dn(64)%2Cw%3Dfunction(e%2Ct%2Cn%2Cr)%7Br%26%26console.log(e%2B%22%20-%20%22%2Bn%2B%22%3A%20%22%2Bt)%7D%2CE%3Dn(478)%2Ck%3Dn(314)%2CS%3Dn(730)%2CL%3Dn(66)%2CC%3Dn(218)%2CM%3Dn(702)%2CT%3Dn(466)%2CA%3Dn(40)%2C_%3Dn(749)%2Cx%3Dn(408)%2CH%3Dfunction(e%2Ct)%7Bif(e)if(%22html-block%22!%3D%3De.parentElement.getAttribute(%22data-type%22))%7Bvar%20n%3De.firstElementChild.className.replace(%22language-%22%2C%22%22)%3Bn%26%26(%22abc%22%3D%3D%3Dn%3F(0%2CE.Q)(e%2Ct.options.cdn)%3A%22mermaid%22%3D%3D%3Dn%3F(0%2CA.i)(e%2Ct.options.cdn%2Ct.options.theme)%3A%22flowchart%22%3D%3D%3Dn%3F(0%2CL.P)(e%2Ct.options.cdn)%3A%22echarts%22%3D%3D%3Dn%3F(0%2Ck.p)(e%2Ct.options.cdn%2Ct.options.theme)%3A%22mindmap%22%3D%3D%3Dn%3F(0%2C_.P)(e%2Ct.options.cdn%2Ct.options.theme)%3A%22plantuml%22%3D%3D%3Dn%3F(0%2Cx.B)(e%2Ct.options.cdn)%3A%22graphviz%22%3D%3D%3Dn%3F(0%2CC.v)(e%2Ct.options.cdn)%3A%22math%22%3D%3D%3Dn%3F(0%2CT.H)(e%2C%7Bcdn%3At.options.cdn%2Cmath%3At.options.preview.math%7D)%3A((0%2CM.s)(Object.assign(%7B%7D%2Ct.options.preview.hljs)%2Ce%2Ct.options.cdn)%2C(0%2CS.O)(e))%2Ce.setAttribute(%22data-render%22%2C%221%22))%7Delse%20e.setAttribute(%22data-render%22%2C%221%22)%7D%2CN%3Dn(393)%2CD%3Dfunction(e)%7Bif(%22sv%22!%3D%3De.currentMode)%7Bvar%20t%3De%5Be.currentMode%5D.element%2Cn%3De.outline.render(e)%3B%22%22%3D%3D%3Dn%26%26(n%3D%22%5BToC%5D%22)%2Ct.querySelectorAll(%27%5Bdata-type%3D%22toc-block%22%5D%27).forEach((function(t)%7Bt.innerHTML%3Dn%2C(0%2CT.H)(t%2C%7Bcdn%3Ae.options.cdn%2Cmath%3Ae.options.preview.math%7D)%7D))%7D%7D%2CO%3Dfunction(e%2Ct)%7Bvar%20n%3D(0%2Cy.lG)(e.target%2C%22SPAN%22)%3Bif(n%26%26(0%2Cy.fb)(n%2C%22vditor-toc%22))%7Bvar%20r%3Dt%5Bt.currentMode%5D.element.querySelector(%22%23%22%2Bn.getAttribute(%22data-target-id%22))%3Bif(r)if(%22auto%22%3D%3D%3Dt.options.height)%7Bvar%20i%3Dr.offsetTop%2Bt.element.offsetTop%3Bt.options.toolbarConfig.pin%7C%7C(i%2B%3Dt.toolbar.element.offsetHeight)%2Cwindow.scrollTo(window.scrollX%2Ci)%7Delse%20t.element.offsetTop%3Cwindow.scrollY%26%26window.scrollTo(window.scrollX%2Ct.element.offsetTop)%2Ct%5Bt.currentMode%5D.element.scrollTop%3Dr.offsetTop%7Delse%3B%7D%2CI%3Dfunction(e%2Ct%2Cn%2Cr)%7Bif(e.previousElementSibling%26%26e.previousElementSibling.classList.contains(%22vditor-toc%22))%7Bif(%22Backspace%22%3D%3D%3Dn.key%26%260%3D%3D%3D(0%2CN.im)(e%2Ct%5Bt.currentMode%5D.element%2Cr).start)return%20e.previousElementSibling.remove()%2Clt(t)%2C!0%3Bif(et(t%2Cn%2Cr%2Ce%2Ce.previousElementSibling))return!0%7Dif(e.nextElementSibling%26%26e.nextElementSibling.classList.contains(%22vditor-toc%22))%7Bif(%22Delete%22%3D%3D%3Dn.key%26%26(0%2CN.im)(e%2Ct%5Bt.currentMode%5D.element%2Cr).start%3E%3De.textContent.trimRight().length)return%20e.nextElementSibling.remove()%2Clt(t)%2C!0%3Bif(%24e(t%2Cn%2Cr%2Ce%2Ce.nextElementSibling))return!0%7Dif(%22Backspace%22%3D%3D%3Dn.key%7C%7C%22Delete%22%3D%3D%3Dn.key)%7Bvar%20i%3D(0%2Cy.fb)(r.startContainer%2C%22vditor-toc%22)%3Bif(i)return%20i.remove()%2Clt(t)%2C!0%7D%7D%2Cj%3Dfunction(e%2Ct%2Cn%2Cr)%7Bvoid%200%3D%3D%3Dn%26%26(n%3D!1)%3Bvar%20o%3D(0%2Cy.F9)(t.startContainer)%3Bif(o%26%26!n%26%26%22code-block%22!%3D%3Do.getAttribute(%22data-type%22))%7Bif(ot(o.innerHTML)%26%26o.previousElementSibling%7C%7Cat(o.innerHTML))return%3Bfor(var%20l%3D(0%2CN.im)(o%2Ce.ir.element%2Ct).start%2Cs%3D!0%2Cd%3Dl-1%3Bd%3Eo.textContent.substr(0%2Cl).lastIndexOf(%22%5Cn%22)%3Bd--)if(%22%20%22!%3D%3Do.textContent.charAt(d)%26%26%22%5Ct%22!%3D%3Do.textContent.charAt(d))%7Bs%3D!1%3Bbreak%7D0%3D%3D%3Dl%26%26(s%3D!1)%3Bvar%20c%3D!0%3Bfor(d%3Dl-1%3Bd%3Co.textContent.length%3Bd%2B%2B)if(%22%20%22!%3D%3Do.textContent.charAt(d)%26%26%22%5Cn%22!%3D%3Do.textContent.charAt(d))%7Bc%3D!1%3Bbreak%7Dif(s)return%20void(%22function%22%3D%3Dtypeof%20e.options.input%26%26e.options.input(a(e)))%3Bif(c)if(!(0%2Cy.fb)(t.startContainer%2C%22vditor-ir__marker%22))%7Bvar%20u%3Dt.startContainer.previousSibling%3Breturn%20u%26%263!%3D%3Du.nodeType%26%26u.classList.contains(%22vditor-ir__node--expand%22)%26%26u.classList.remove(%22vditor-ir__node--expand%22)%2Cvoid(%22function%22%3D%3Dtypeof%20e.options.input%26%26e.options.input(a(e)))%7D%7Dif(e.ir.element.querySelectorAll(%22.vditor-ir__node--expand%22).forEach((function(e)%7Be.classList.remove(%22vditor-ir__node--expand%22)%7D))%2Co%7C%7C(o%3De.ir.element)%2C!o.querySelector(%22wbr%22))%7Bvar%20p%3D(0%2Cy.fb)(t.startContainer%2C%22vditor-ir__preview%22)%3Bp%3Fp.previousElementSibling.insertAdjacentHTML(%22beforeend%22%2C%22%3Cwbr%3E%22)%3At.insertNode(document.createElement(%22wbr%22))%7Do.querySelectorAll(%22%5Bstyle%5D%22).forEach((function(e)%7Be.removeAttribute(%22style%22)%7D))%2C%22link-ref-defs-block%22%3D%3D%3Do.getAttribute(%22data-type%22)%26%26(o%3De.ir.element)%3Bvar%20m%2Cf%3Do.isEqualNode(e.ir.element)%2Ch%3D(0%2Cy.a1)(o%2C%22data-type%22%2C%22footnotes-block%22)%2Cv%3D%22%22%3Bif(f)v%3Do.innerHTML%3Belse%7Bvar%20g%3D(0%2Cb.S)(t.startContainer%2C%22BLOCKQUOTE%22)%2CE%3D(0%2Cy.O9)(t.startContainer)%3Bif(E%26%26(o%3DE)%2Cg%26%26(!E%7C%7CE%26%26!g.contains(E))%26%26(o%3Dg)%2Ch%26%26(o%3Dh)%2Cv%3Do.outerHTML%2C%22UL%22%3D%3D%3Do.tagName%7C%7C%22OL%22%3D%3D%3Do.tagName)%7Bvar%20k%3Do.previousElementSibling%2CS%3Do.nextElementSibling%3B!k%7C%7C%22UL%22!%3D%3Dk.tagName%26%26%22OL%22!%3D%3Dk.tagName%7C%7C(v%3Dk.outerHTML%2Bv%2Ck.remove())%2C!S%7C%7C%22UL%22!%3D%3DS.tagName%26%26%22OL%22!%3D%3DS.tagName%7C%7C(v%2B%3DS.outerHTML%2CS.remove())%2Cv%3Dv.replace(%22%3Cdiv%3E%3Cwbr%3E%3Cbr%3E%3C%2Fdiv%3E%22%2C%22%3Cli%3E%3Cp%3E%3Cwbr%3E%3Cbr%3E%3C%2Fp%3E%3C%2Fli%3E%22)%7Delse%20o.previousElementSibling%26%26%22%22!%3D%3Do.previousElementSibling.textContent.replace(i.g.ZWSP%2C%22%22)%26%26r%26%26%22insertParagraph%22%3D%3D%3Dr.inputType%26%26(v%3Do.previousElementSibling.outerHTML%2Bv%2Co.previousElementSibling.remove())%3Bo.innerText.startsWith(%22%60%60%60%22)%7C%7C(e.ir.element.querySelectorAll(%22%5Bdata-type%3D%27link-ref-defs-block%27%5D%22).forEach((function(e)%7Be%26%26!o.isEqualNode(e)%26%26(v%2B%3De.outerHTML%2Ce.remove())%7D))%2Ce.ir.element.querySelectorAll(%22%5Bdata-type%3D%27footnotes-block%27%5D%22).forEach((function(e)%7Be%26%26!o.isEqualNode(e)%26%26(v%2B%3De.outerHTML%2Ce.remove())%7D)))%7Dif(w(%22SpinVditorIRDOM%22%2Cv%2C%22argument%22%2Ce.options.debugger)%2Cv%3De.lute.SpinVditorIRDOM(v)%2Cw(%22SpinVditorIRDOM%22%2Cv%2C%22result%22%2Ce.options.debugger)%2Cf)o.innerHTML%3Dv%3Belse%20if(o.outerHTML%3Dv%2Ch)%7Bvar%20L%3D(0%2Cy.a1)(e.ir.element.querySelector(%22wbr%22)%2C%22data-type%22%2C%22footnotes-def%22)%3Bif(L)%7Bvar%20C%3DL.textContent%2CM%3DC.substring(1%2CC.indexOf(%22%5D%3A%22))%2CT%3De.ir.element.querySelector(%27sup%5Bdata-type%3D%22footnotes-ref%22%5D%5Bdata-footnotes-label%3D%22%27%2BM%2B%27%22%5D%27)%3BT%26%26T.setAttribute(%22aria-label%22%2CC.substr(M.length%2B3).trim().substr(0%2C24))%7D%7Dvar%20A%2C_%3De.ir.element.querySelectorAll(%22%5Bdata-type%3D%27link-ref-defs-block%27%5D%22)%3B_.forEach((function(e%2Ct)%7B0%3D%3D%3Dt%3Fm%3De%3A(m.insertAdjacentHTML(%22beforeend%22%2Ce.innerHTML)%2Ce.remove())%7D))%2C_.length%3E0%26%26e.ir.element.insertAdjacentElement(%22beforeend%22%2C_%5B0%5D)%3Bvar%20x%3De.ir.element.querySelectorAll(%22%5Bdata-type%3D%27footnotes-block%27%5D%22)%3Bx.forEach((function(e%2Ct)%7B0%3D%3D%3Dt%3FA%3De%3A(A.insertAdjacentHTML(%22beforeend%22%2Ce.innerHTML)%2Ce.remove())%7D))%2Cx.length%3E0%26%26e.ir.element.insertAdjacentElement(%22beforeend%22%2Cx%5B0%5D)%2C(0%2CN.ib)(e.ir.element%2Ct)%2Ce.ir.element.querySelectorAll(%22.vditor-ir__preview%5Bdata-render%3D%272%27%5D%22).forEach((function(t)%7BH(t%2Ce)%7D))%2CD(e)%2CCt(e%2C%7BenableAddUndoStack%3A!0%2CenableHint%3A!0%2CenableInput%3A!0%7D)%7D%2CR%3Dfunction(e%2Ct)%7Bif(%22%22%3D%3D%3De)return!1%3Bif(-1%3D%3D%3De.indexOf(%22%E2%87%A7%22)%26%26-1%3D%3D%3De.indexOf(%22%E2%8C%98%22)%26%26-1%3D%3D%3De.indexOf(%22%E2%8C%A5%22))return!((0%2Cd.yl)(t)%7C%7Ct.altKey%7C%7Ct.shiftKey%7C%7Ct.code!%3D%3De)%3Bif(%22%E2%87%A7Tab%22%3D%3D%3De)return!((0%2Cd.yl)(t)%7C%7Ct.altKey%7C%7C!t.shiftKey%7C%7C%22Tab%22!%3D%3Dt.code)%3Bvar%20n%3De.split(%22%22)%3Bif(e.startsWith(%22%E2%8C%A5%22))%7Bvar%20r%3D3%3D%3D%3Dn.length%3Fn%5B2%5D%3An%5B1%5D%3Breturn!((3%3D%3D%3Dn.length%3F!(0%2Cd.yl)(t)%3A(0%2Cd.yl)(t))%7C%7C!t.altKey%7C%7Ct.shiftKey%7C%7Ct.code!%3D%3D(%2F%5E%5B0-9%5D%24%2F.test(r)%3F%22Digit%22%3A%22Key%22)%2Br)%7D%22%E2%8C%98Enter%22%3D%3D%3De%26%26(n%3D%5B%22%E2%8C%98%22%2C%22Enter%22%5D)%3Bvar%20i%3Dn.length%3E2%26%26%22%E2%87%A7%22%3D%3D%3Dn%5B0%5D%2Co%3Di%3Fn%5B2%5D%3An%5B1%5D%3Breturn!i%7C%7C!(0%2Cd.vU)()%26%26%2FMac%2F.test(navigator.platform)%7C%7C(%22-%22%3D%3D%3Do%3Fo%3D%22_%22%3A%22%3D%22%3D%3D%3Do%26%26(o%3D%22%2B%22))%2C!(!(0%2Cd.yl)(t)%7C%7Ct.key.toLowerCase()!%3D%3Do.toLowerCase()%7C%7Ct.altKey%7C%7C!(!i%26%26!t.shiftKey%7C%7Ci%26%26t.shiftKey))%7D%2CP%3Dfunction(e%2Ct)%7Bt.ir.element.querySelectorAll(%22.vditor-ir__node--expand%22).forEach((function(e)%7Be.classList.remove(%22vditor-ir__node--expand%22)%7D))%3Bvar%20n%3D(0%2Cy.JQ)(e.startContainer%2C%22vditor-ir__node%22)%2Cr%3D!e.collapsed%26%26(0%2Cy.JQ)(e.endContainer%2C%22vditor-ir__node%22)%3Bif(e.collapsed%7C%7Cn%26%26n%3D%3D%3Dr)%7Bn%26%26(n.classList.add(%22vditor-ir__node--expand%22)%2Cn.classList.remove(%22vditor-ir__node--hidden%22)%2C(0%2CN.Hc)(e))%3Bvar%20i%3Dfunction(e)%7Bvar%20t%3De.startContainer%3Bif(3%3D%3D%3Dt.nodeType%26%26t.nodeValue.length!%3D%3De.startOffset)return!1%3Bfor(var%20n%3Dt.nextSibling%3Bn%26%26%22%22%3D%3D%3Dn.textContent%3B)n%3Dn.nextSibling%3Bif(!n)%7Bvar%20r%3D(0%2Cy.fb)(t%2C%22vditor-ir__marker%22)%3Bif(r%26%26!r.nextSibling)%7Bvar%20i%3Dt.parentElement.parentElement.nextSibling%3Bif(i%26%263!%3D%3Di.nodeType%26%26i.classList.contains(%22vditor-ir__node%22))return%20i%7Dreturn!1%7Dreturn!(!n%7C%7C3%3D%3D%3Dn.nodeType%7C%7C!n.classList.contains(%22vditor-ir__node%22)%7C%7Cn.getAttribute(%22data-block%22))%26%26n%7D(e)%3Bif(i)return%20i.classList.add(%22vditor-ir__node--expand%22)%2Cvoid%20i.classList.remove(%22vditor-ir__node--hidden%22)%3Bvar%20o%3Dfunction(e)%7Bvar%20t%3De.startContainer%2Cn%3Dt.previousSibling%3Breturn!(3!%3D%3Dt.nodeType%7C%7C0!%3D%3De.startOffset%7C%7C!n%7C%7C3%3D%3D%3Dn.nodeType%7C%7C!n.classList.contains(%22vditor-ir__node%22)%7C%7Cn.getAttribute(%22data-block%22))%26%26n%7D(e)%3Breturn%20o%3F(o.classList.add(%22vditor-ir__node--expand%22)%2Cvoid%20o.classList.remove(%22vditor-ir__node--hidden%22))%3Avoid%200%7D%7D%2Cq%3Dn(863)%2CB%3Dfunction(e%2Ct)%7Bvar%20n%2Cr%3DgetSelection().getRangeAt(0).cloneRange()%2Ci%3Dr.startContainer%3B3!%3D%3Dr.startContainer.nodeType%26%26%22DIV%22%3D%3D%3Dr.startContainer.tagName%26%26(i%3Dr.startContainer.childNodes%5Br.startOffset-1%5D)%3Bvar%20o%3D(0%2Cy.a1)(i%2C%22data-block%22%2C%220%22)%3Bif(o%26%26t%26%26(%22deleteContentBackward%22%3D%3D%3Dt.inputType%7C%7C%22%20%22%3D%3D%3Dt.data))%7Bfor(var%20a%3D(0%2CN.im)(o%2Ce.sv.element%2Cr).start%2Cl%3D!0%2Cs%3Da-1%3Bs%3Eo.textContent.substr(0%2Ca).lastIndexOf(%22%5Cn%22)%3Bs--)if(%22%20%22!%3D%3Do.textContent.charAt(s)%26%26%22%5Ct%22!%3D%3Do.textContent.charAt(s))%7Bl%3D!1%3Bbreak%7Dif(0%3D%3D%3Da%26%26(l%3D!1)%2Cl)return%20void%20De(e)%3Bif(%22deleteContentBackward%22%3D%3D%3Dt.inputType)%7Bvar%20d%3D(0%2Cy.a1)(i%2C%22data-type%22%2C%22code-block-open-marker%22)%7C%7C(0%2Cy.a1)(i%2C%22data-type%22%2C%22code-block-close-marker%22)%3Bif(d)%7Bvar%20c%3Bif(%22code-block-close-marker%22%3D%3D%3Dd.getAttribute(%22data-type%22))if(c%3Dxe(i%2C%22code-block-open-marker%22))return%20c.textContent%3Dd.textContent%2Cvoid%20De(e)%3Bif(%22code-block-open-marker%22%3D%3D%3Dd.getAttribute(%22data-type%22))if(c%3Dxe(i%2C%22code-block-close-marker%22%2C!1))return%20c.textContent%3Dd.textContent%2Cvoid%20De(e)%7Dvar%20u%3D(0%2Cy.a1)(i%2C%22data-type%22%2C%22math-block-open-marker%22)%3Bif(u)%7Bvar%20p%3Du.nextElementSibling.nextElementSibling%3Breturn%20void(p%26%26%22math-block-close-marker%22%3D%3D%3Dp.getAttribute(%22data-type%22)%26%26(p.remove()%2CDe(e)))%7Do.querySelectorAll(%27%5Bdata-type%3D%22code-block-open-marker%22%5D%27).forEach((function(e)%7B1%3D%3D%3De.textContent.length%26%26e.remove()%7D))%2Co.querySelectorAll(%27%5Bdata-type%3D%22code-block-close-marker%22%5D%27).forEach((function(e)%7B1%3D%3D%3De.textContent.length%26%26e.remove()%7D))%3Bvar%20m%3D(0%2Cy.a1)(i%2C%22data-type%22%2C%22heading-marker%22)%3Bif(m%26%26-1%3D%3D%3Dm.textContent.indexOf(%22%23%22))return%20void%20De(e)%7Dif((%22%20%22%3D%3D%3Dt.data%7C%7C%22deleteContentBackward%22%3D%3D%3Dt.inputType)%26%26((0%2Cy.a1)(i%2C%22data-type%22%2C%22padding%22)%7C%7C(0%2Cy.a1)(i%2C%22data-type%22%2C%22li-marker%22)%7C%7C(0%2Cy.a1)(i%2C%22data-type%22%2C%22task-marker%22)%7C%7C(0%2Cy.a1)(i%2C%22data-type%22%2C%22blockquote-marker%22)))return%20void%20De(e)%7Dif(o%26%26%22%24%24%22%3D%3D%3Do.textContent.trimRight())De(e)%3Belse%7Bo%7C%7C(o%3De.sv.element)%2C%22link-ref-defs-block%22%3D%3D%3D(null%3D%3D%3D(n%3Do.firstElementChild)%7C%7Cvoid%200%3D%3D%3Dn%3Fvoid%200%3An.getAttribute(%22data-type%22))%26%26(o%3De.sv.element)%2C(0%2Cy.a1)(i%2C%22data-type%22%2C%22footnotes-link%22)%26%26(o%3De.sv.element)%2C-1%3D%3D%3Do.textContent.indexOf(Lute.Caret)%26%26r.insertNode(document.createTextNode(Lute.Caret))%2Co.querySelectorAll(%22%5Bstyle%5D%22).forEach((function(e)%7Be.removeAttribute(%22style%22)%7D))%2Co.querySelectorAll(%22font%22).forEach((function(e)%7Be.outerHTML%3De.innerHTML%7D))%3Bvar%20f%2Ch%3Do.textContent%2Cv%3Do.isEqualNode(e.sv.element)%3Bv%3Fh%3Do.textContent%3A(o.previousElementSibling%26%26(h%3Do.previousElementSibling.textContent%2Bh%2Co.previousElementSibling.remove())%2Co.previousElementSibling%26%260%3D%3D%3Dh.indexOf(%22---%5Cn%22)%26%26(h%3Do.previousElementSibling.textContent%2Bh%2Co.previousElementSibling.remove())%2Co.innerText.startsWith(%22%60%60%60%22)%7C%7C(e.sv.element.querySelectorAll(%22%5Bdata-type%3D%27link-ref-defs-block%27%5D%22).forEach((function(e%2Ct)%7B0%3D%3D%3Dt%26%26e%26%26!o.isEqualNode(e.parentElement)%26%26(h%2B%3D%22%5Cn%22%2Be.parentElement.textContent%2Ce.parentElement.remove())%7D))%2Ce.sv.element.querySelectorAll(%22%5Bdata-type%3D%27footnotes-link%27%5D%22).forEach((function(e%2Ct)%7B0%3D%3D%3Dt%26%26e%26%26!o.isEqualNode(e.parentElement)%26%26(h%2B%3D%22%5Cn%22%2Be.parentElement.textContent%2Ce.parentElement.remove())%7D))))%2Ch%3DHe(h%2Ce)%2Cv%3Fo.innerHTML%3Dh%3Ao.outerHTML%3Dh%3Bvar%20g%2Cb%3De.sv.element.querySelectorAll(%22%5Bdata-type%3D%27link-ref-defs-block%27%5D%22)%3Bb.forEach((function(e%2Ct)%7B0%3D%3D%3Dt%3Ff%3De.parentElement%3A(f.lastElementChild.remove()%2Cf.insertAdjacentHTML(%22beforeend%22%2C%22%22%2Be.parentElement.innerHTML)%2Ce.parentElement.remove())%7D))%2Cb.length%3E0%26%26e.sv.element.insertAdjacentElement(%22beforeend%22%2Cf)%3Bvar%20w%3De.sv.element.querySelectorAll(%22%5Bdata-type%3D%27footnotes-link%27%5D%22)%3Bw.forEach((function(e%2Ct)%7B0%3D%3D%3Dt%3Fg%3De.parentElement%3A(g.lastElementChild.remove()%2Cg.insertAdjacentHTML(%22beforeend%22%2C%22%22%2Be.parentElement.innerHTML)%2Ce.parentElement.remove())%7D))%2Cw.length%3E0%26%26e.sv.element.insertAdjacentElement(%22beforeend%22%2Cg)%2C(0%2CN.ib)(e.sv.element%2Cr)%2CMe(e)%2CDe(e%2C%7BenableAddUndoStack%3A!0%2CenableHint%3A!0%2CenableInput%3A!0%7D)%7D%7D%2CV%3Dn(227)%2CU%3Dfunction(e)%7B%22dark%22%3D%3D%3De.options.theme%3Fe.element.classList.add(%22vditor--dark%22)%3Ae.element.classList.remove(%22vditor--dark%22)%7D%2CW%3Dfunction(e)%7Bvar%20t%3Dwindow.innerWidth%3C%3Di.g.MOBILE_WIDTH%3F10%3A35%3Bif(%22none%22!%3D%3De.wysiwyg.element.parentElement.style.display)%7Bvar%20n%3D(e.wysiwyg.element.parentElement.clientWidth-e.options.preview.maxWidth)%2F2%3Be.wysiwyg.element.style.padding%3D%2210px%20%22%2BMath.max(t%2Cn)%2B%22px%22%7Dif(%22none%22!%3D%3De.ir.element.parentElement.style.display)%7Bn%3D(e.ir.element.parentElement.clientWidth-e.options.preview.maxWidth)%2F2%3Be.ir.element.style.padding%3D%2210px%20%22%2BMath.max(t%2Cn)%2B%22px%22%7D%22block%22!%3D%3De.preview.element.style.display%3Fe.toolbar.element.style.paddingLeft%3DMath.max(5%2CparseInt(e%5Be.currentMode%5D.element.style.paddingLeft%7C%7C%220%22%2C10)%2B(%22left%22%3D%3D%3De.options.outline.position%3Fe.outline.element.offsetWidth%3A0))%2B%22px%22%3Ae.toolbar.element.style.paddingLeft%3D5%2B(%22left%22%3D%3D%3De.options.outline.position%3Fe.outline.element.offsetWidth%3A0)%2B%22px%22%7D%2Cz%3Dfunction(e)%7Bif(e.options.typewriterMode)%7Bvar%20t%3Dwindow.innerHeight%3B%22number%22%3D%3Dtypeof%20e.options.height%3F(t%3De.options.height%2C%22number%22%3D%3Dtypeof%20e.options.minHeight%26%26(t%3DMath.max(t%2Ce.options.minHeight))%2Ct%3DMath.min(window.innerHeight%2Ct))%3At%3De.element.clientHeight%2Ce.element.classList.contains(%22vditor--fullscreen%22)%26%26(t%3Dwindow.innerHeight)%2Ce%5Be.currentMode%5D.element.style.setProperty(%22--editor-bottom%22%2C(t-e.toolbar.element.offsetHeight)%2F2%2B%22px%22)%7D%7D%3Bfunction%20G()%7Bwindow.removeEventListener(%22resize%22%2Ce)%7Dvar%20K%2CF%2CZ%3Dfunction(t)%7Bz(t)%2CG()%2Cwindow.addEventListener(%22resize%22%2Ce%3Dfunction()%7BW(t)%2Cz(t)%7D)%3Bvar%20n%3D(0%2Cd.pK)()%26%26localStorage.getItem(t.options.cache.id)%3Breturn%20t.options.cache.enable%26%26n%7C%7C(t.options.value%3Fn%3Dt.options.value%3At.originalInnerHTML%3Fn%3Dt.lute.HTML2Md(t.originalInnerHTML)%3At.options.cache.enable%7C%7C(n%3D%22%22))%2Cn%7C%7C%22%22%7D%2CJ%3Dfunction(e)%7BclearTimeout(e%5Be.currentMode%5D.hlToolbarTimeoutId)%2Ce%5Be.currentMode%5D.hlToolbarTimeoutId%3Dwindow.setTimeout((function()%7Bif(%22false%22!%3D%3De%5Be.currentMode%5D.element.getAttribute(%22contenteditable%22)%26%26(0%2CN.Gb)(e%5Be.currentMode%5D.element))%7Bc(e.toolbar.elements%2Ci.g.EDIT_TOOLBARS)%2Cp(e.toolbar.elements%2Ci.g.EDIT_TOOLBARS)%3Bvar%20t%3D(0%2CN.zh)(e)%2Cn%3Dt.startContainer%3B3%3D%3D%3Dt.startContainer.nodeType%26%26(n%3Dt.startContainer.parentElement)%2Cn.classList.contains(%22vditor-reset%22)%26%26(n%3Dn.childNodes%5Bt.startOffset%5D)%2C(%22sv%22%3D%3D%3De.currentMode%3F(0%2Cy.a1)(n%2C%22data-type%22%2C%22heading%22)%3A(0%2Cb.W)(n))%26%26u(e.toolbar.elements%2C%5B%22headings%22%5D)%2C(%22sv%22%3D%3D%3De.currentMode%3F(0%2Cy.a1)(n%2C%22data-type%22%2C%22blockquote%22)%3A(0%2Cy.lG)(n%2C%22BLOCKQUOTE%22))%26%26u(e.toolbar.elements%2C%5B%22quote%22%5D)%2C(0%2Cy.a1)(n%2C%22data-type%22%2C%22strong%22)%26%26u(e.toolbar.elements%2C%5B%22bold%22%5D)%2C(0%2Cy.a1)(n%2C%22data-type%22%2C%22em%22)%26%26u(e.toolbar.elements%2C%5B%22italic%22%5D)%2C(0%2Cy.a1)(n%2C%22data-type%22%2C%22s%22)%26%26u(e.toolbar.elements%2C%5B%22strike%22%5D)%2C(0%2Cy.a1)(n%2C%22data-type%22%2C%22a%22)%26%26u(e.toolbar.elements%2C%5B%22link%22%5D)%3Bvar%20r%3D(0%2Cy.lG)(n%2C%22LI%22)%3Br%3F(r.classList.contains(%22vditor-task%22)%3Fu(e.toolbar.elements%2C%5B%22check%22%5D)%3A%22OL%22%3D%3D%3Dr.parentElement.tagName%3Fu(e.toolbar.elements%2C%5B%22ordered-list%22%5D)%3A%22UL%22%3D%3D%3Dr.parentElement.tagName%26%26u(e.toolbar.elements%2C%5B%22list%22%5D)%2Cp(e.toolbar.elements%2C%5B%22outdent%22%2C%22indent%22%5D))%3Am(e.toolbar.elements%2C%5B%22outdent%22%2C%22indent%22%5D)%2C(0%2Cy.a1)(n%2C%22data-type%22%2C%22code-block%22)%26%26(m(e.toolbar.elements%2C%5B%22headings%22%2C%22bold%22%2C%22italic%22%2C%22strike%22%2C%22line%22%2C%22quote%22%2C%22list%22%2C%22ordered-list%22%2C%22check%22%2C%22code%22%2C%22inline-code%22%2C%22upload%22%2C%22link%22%2C%22table%22%2C%22record%22%5D)%2Cu(e.toolbar.elements%2C%5B%22code%22%5D))%2C(0%2Cy.a1)(n%2C%22data-type%22%2C%22code%22)%26%26(m(e.toolbar.elements%2C%5B%22headings%22%2C%22bold%22%2C%22italic%22%2C%22strike%22%2C%22line%22%2C%22quote%22%2C%22list%22%2C%22ordered-list%22%2C%22check%22%2C%22code%22%2C%22upload%22%2C%22link%22%2C%22table%22%2C%22record%22%5D)%2Cu(e.toolbar.elements%2C%5B%22inline-code%22%5D))%2C(0%2Cy.a1)(n%2C%22data-type%22%2C%22table%22)%26%26m(e.toolbar.elements%2C%5B%22headings%22%2C%22list%22%2C%22ordered-list%22%2C%22check%22%2C%22line%22%2C%22quote%22%2C%22code%22%2C%22table%22%5D)%7D%7D)%2C200)%7D%2CX%3Dfunction(e%2Ct)%7Bvoid%200%3D%3D%3Dt%26%26(t%3D%7BenableAddUndoStack%3A!0%2CenableHint%3A!1%2CenableInput%3A!0%7D)%2Ct.enableHint%26%26e.hint.render(e)%2CclearTimeout(e.wysiwyg.afterRenderTimeoutId)%2Ce.wysiwyg.afterRenderTimeoutId%3Dwindow.setTimeout((function()%7Bif(!e.wysiwyg.composingLock)%7Bvar%20n%3Da(e)%3B%22function%22%3D%3Dtypeof%20e.options.input%26%26t.enableInput%26%26e.options.input(n)%2Ce.options.counter.enable%26%26e.counter.render(e%2Cn)%2Ce.options.cache.enable%26%26(0%2Cd.pK)()%26%26(localStorage.setItem(e.options.cache.id%2Cn)%2Ce.options.cache.after%26%26e.options.cache.after(n))%2Ce.devtools%26%26e.devtools.renderEchart(e)%2Ct.enableAddUndoStack%26%26e.undo.addToUndoStack(e)%7D%7D)%2Ce.options.undoDelay)%7D%2CY%3Dfunction(e)%7Bfor(var%20t%3D%22%22%2Cn%3De.nextSibling%3Bn%3B)3%3D%3D%3Dn.nodeType%3Ft%2B%3Dn.textContent%3At%2B%3Dn.outerHTML%2Cn%3Dn.nextSibling%3Breturn%20t%7D%2CQ%3Dfunction(e)%7Bfor(var%20t%3D%22%22%2Cn%3De.previousSibling%3Bn%3B)t%3D3%3D%3D%3Dn.nodeType%3Fn.textContent%2Bt%3An.outerHTML%2Bt%2Cn%3Dn.previousSibling%3Breturn%20t%7D%2C%24%3Dfunction(e%2Ct)%7BArray.from(e.wysiwyg.element.childNodes).find((function(n)%7Bif(3%3D%3D%3Dn.nodeType)%7Bvar%20r%3Ddocument.createElement(%22p%22)%3Br.setAttribute(%22data-block%22%2C%220%22)%2Cr.textContent%3Dn.textContent%3Bvar%20i%3D3%3D%3D%3Dt.startContainer.nodeType%3Ft.startOffset%3An.textContent.length%3Breturn%20n.parentNode.insertBefore(r%2Cn)%2Cn.remove()%2Ct.setStart(r.firstChild%2CMath.min(r.firstChild.textContent.length%2Ci))%2Ct.collapse(!0)%2C(0%2CN.Hc)(t)%2C!0%7Dif(!n.getAttribute(%22data-block%22))return%22P%22%3D%3D%3Dn.tagName%3Fn.remove()%3A(%22DIV%22%3D%3D%3Dn.tagName%3F(t.insertNode(document.createElement(%22wbr%22))%2Cn.outerHTML%3D%27%3Cp%20data-block%3D%220%22%3E%27%2Bn.innerHTML%2B%22%3C%2Fp%3E%22)%3A%22BR%22%3D%3D%3Dn.tagName%3Fn.outerHTML%3D%27%3Cp%20data-block%3D%220%22%3E%27%2Bn.outerHTML%2B%22%3Cwbr%3E%3C%2Fp%3E%22%3A(t.insertNode(document.createElement(%22wbr%22))%2Cn.outerHTML%3D%27%3Cp%20data-block%3D%220%22%3E%27%2Bn.outerHTML%2B%22%3C%2Fp%3E%22)%2C(0%2CN.ib)(e.wysiwyg.element%2Ct)%2Ct%3DgetSelection().getRangeAt(0))%2C!0%7D))%7D%2Cee%3Dfunction(e%2Ct)%7Bvar%20n%3D(0%2CN.zh)(e)%2Cr%3D(0%2Cy.F9)(n.startContainer)%3Br%7C%7C(r%3Dn.startContainer.childNodes%5Bn.startOffset%5D)%2Cr%7C%7C0!%3D%3De.wysiwyg.element.children.length%7C%7C(r%3De.wysiwyg.element)%2Cr%26%26!r.classList.contains(%22vditor-wysiwyg__block%22)%26%26(n.insertNode(document.createElement(%22wbr%22))%2C%22%3Cwbr%3E%22%3D%3D%3Dr.innerHTML.trim()%26%26(r.innerHTML%3D%22%3Cwbr%3E%3Cbr%3E%22)%2C%22BLOCKQUOTE%22%3D%3D%3Dr.tagName%7C%7Cr.classList.contains(%22vditor-reset%22)%3Fr.innerHTML%3D%22%3C%22%2Bt%2B%27%20data-block%3D%220%22%3E%27%2Br.innerHTML.trim()%2B%22%3C%2F%22%2Bt%2B%22%3E%22%3Ar.outerHTML%3D%22%3C%22%2Bt%2B%27%20data-block%3D%220%22%3E%27%2Br.innerHTML.trim()%2B%22%3C%2F%22%2Bt%2B%22%3E%22%2C(0%2CN.ib)(e.wysiwyg.element%2Cn)%2CD(e))%7D%2Cte%3Dfunction(e)%7Bvar%20t%3DgetSelection().getRangeAt(0)%2Cn%3D(0%2Cy.F9)(t.startContainer)%3Bn%7C%7C(n%3Dt.startContainer.childNodes%5Bt.startOffset%5D)%2Cn%26%26(t.insertNode(document.createElement(%22wbr%22))%2Cn.outerHTML%3D%27%3Cp%20data-block%3D%220%22%3E%27%2Bn.innerHTML%2B%22%3C%2Fp%3E%22%2C(0%2CN.ib)(e.wysiwyg.element%2Ct))%2Ce.wysiwyg.popover.style.display%3D%22none%22%7D%2Cne%3Dfunction(e%2Ct%2Cn)%7Bvoid%200%3D%3D%3Dn%26%26(n%3D!0)%3Bvar%20r%3De.previousElementSibling%2Ci%3Dr.ownerDocument.createRange()%3B%22CODE%22%3D%3D%3Dr.tagName%3F(r.style.display%3D%22inline-block%22%2Cn%3Fi.setStart(r.firstChild%2C1)%3Ai.selectNodeContents(r))%3A(r.style.display%3D%22block%22%2Cr.firstChild.firstChild%7C%7Cr.firstChild.appendChild(document.createTextNode(%22%22))%2Ci.selectNodeContents(r.firstChild))%2Cn%3Fi.collapse(!0)%3Ai.collapse(!1)%2C(0%2CN.Hc)(i)%2Ce.firstElementChild.classList.contains(%22language-mindmap%22)%7C%7CMe(t)%7D%2Cre%3Dfunction(e%2Ct)%7Bif(R(%22%E2%87%A7%E2%8C%98X%22%2Ct))%7Bvar%20n%3De.wysiwyg.popover.querySelector(%27%5Bdata-type%3D%22remove%22%5D%27)%3Bif(n)return%20n.click()%2Ct.preventDefault()%2C!0%7D%7D%2Cie%3Dfunction(e)%7BclearTimeout(e.wysiwyg.hlToolbarTimeoutId)%2Ce.wysiwyg.hlToolbarTimeoutId%3Dwindow.setTimeout((function()%7Bif(%22false%22!%3D%3De.wysiwyg.element.getAttribute(%22contenteditable%22)%26%26(0%2CN.Gb)(e.wysiwyg.element))%7Bc(e.toolbar.elements%2Ci.g.EDIT_TOOLBARS)%2Cp(e.toolbar.elements%2Ci.g.EDIT_TOOLBARS)%3Bvar%20t%3DgetSelection().getRangeAt(0)%2Cn%3Dt.startContainer%3Bn%3D3%3D%3D%3Dt.startContainer.nodeType%3Ft.startContainer.parentElement%3An.childNodes%5Bt.startOffset%3E%3Dn.childNodes.length%3Fn.childNodes.length-1%3At.startOffset%5D%3Bvar%20r%3D(0%2Cy.a1)(n%2C%22data-type%22%2C%22footnotes-block%22)%3Bif(r)return%20e.wysiwyg.popover.innerHTML%3D%22%22%2Cde(r%2Ce)%2Cvoid%20oe(e%2Cr)%3Bvar%20o%3D(0%2Cy.lG)(n%2C%22LI%22)%3Bo%3F(o.classList.contains(%22vditor-task%22)%3Fu(e.toolbar.elements%2C%5B%22check%22%5D)%3A%22OL%22%3D%3D%3Do.parentElement.tagName%3Fu(e.toolbar.elements%2C%5B%22ordered-list%22%5D)%3A%22UL%22%3D%3D%3Do.parentElement.tagName%26%26u(e.toolbar.elements%2C%5B%22list%22%5D)%2Cp(e.toolbar.elements%2C%5B%22outdent%22%2C%22indent%22%5D))%3Am(e.toolbar.elements%2C%5B%22outdent%22%2C%22indent%22%5D)%2C(0%2Cy.lG)(n%2C%22BLOCKQUOTE%22)%26%26u(e.toolbar.elements%2C%5B%22quote%22%5D)%2C((0%2Cy.lG)(n%2C%22B%22)%7C%7C(0%2Cy.lG)(n%2C%22STRONG%22))%26%26u(e.toolbar.elements%2C%5B%22bold%22%5D)%2C((0%2Cy.lG)(n%2C%22I%22)%7C%7C(0%2Cy.lG)(n%2C%22EM%22))%26%26u(e.toolbar.elements%2C%5B%22italic%22%5D)%2C((0%2Cy.lG)(n%2C%22STRIKE%22)%7C%7C(0%2Cy.lG)(n%2C%22S%22))%26%26u(e.toolbar.elements%2C%5B%22strike%22%5D)%2Ce.wysiwyg.element.querySelectorAll(%22.vditor-comment--focus%22).forEach((function(e)%7Be.classList.remove(%22vditor-comment--focus%22)%7D))%3Bvar%20a%3D(0%2Cy.fb)(n%2C%22vditor-comment%22)%3Bif(a)%7Bvar%20l%3Da.getAttribute(%22data-cmtids%22).split(%22%20%22)%3Bif(l.length%3E1%26%26a.nextSibling.isSameNode(a.nextElementSibling))%7Bvar%20s%3Da.nextElementSibling.getAttribute(%22data-cmtids%22).split(%22%20%22)%3Bl.find((function(e)%7Bif(s.includes(e))return%20l%3D%5Be%5D%2C!0%7D))%7De.wysiwyg.element.querySelectorAll(%22.vditor-comment%22).forEach((function(e)%7Be.getAttribute(%22data-cmtids%22).indexOf(l%5B0%5D)%3E-1%26%26e.classList.add(%22vditor-comment--focus%22)%7D))%7Dvar%20f%3D(0%2Cy.lG)(n%2C%22A%22)%3Bf%26%26u(e.toolbar.elements%2C%5B%22link%22%5D)%3Bvar%20h%3D(0%2Cy.lG)(n%2C%22TABLE%22)%2Cv%3D(0%2Cb.W)(n)%3B(0%2Cy.lG)(n%2C%22CODE%22)%3F(0%2Cy.lG)(n%2C%22PRE%22)%3F(m(e.toolbar.elements%2C%5B%22headings%22%2C%22bold%22%2C%22italic%22%2C%22strike%22%2C%22line%22%2C%22quote%22%2C%22list%22%2C%22ordered-list%22%2C%22check%22%2C%22code%22%2C%22inline-code%22%2C%22upload%22%2C%22link%22%2C%22table%22%2C%22record%22%5D)%2Cu(e.toolbar.elements%2C%5B%22code%22%5D))%3A(m(e.toolbar.elements%2C%5B%22headings%22%2C%22bold%22%2C%22italic%22%2C%22strike%22%2C%22line%22%2C%22quote%22%2C%22list%22%2C%22ordered-list%22%2C%22check%22%2C%22code%22%2C%22upload%22%2C%22link%22%2C%22table%22%2C%22record%22%5D)%2Cu(e.toolbar.elements%2C%5B%22inline-code%22%5D))%3Av%3F(m(e.toolbar.elements%2C%5B%22bold%22%5D)%2Cu(e.toolbar.elements%2C%5B%22headings%22%5D))%3Ah%26%26m(e.toolbar.elements%2C%5B%22table%22%5D)%3Bvar%20g%3D(0%2Cy.fb)(n%2C%22vditor-toc%22)%3Bif(g)return%20e.wysiwyg.popover.innerHTML%3D%22%22%2Cde(g%2Ce)%2Cvoid%20oe(e%2Cg)%3Bvar%20w%3D(0%2Cb.S)(n%2C%22BLOCKQUOTE%22)%3Bif(w%26%26(e.wysiwyg.popover.innerHTML%3D%22%22%2Cle(t%2Cw%2Ce)%2Cse(t%2Cw%2Ce)%2Cde(w%2Ce)%2Coe(e%2Cw))%2Co%26%26(e.wysiwyg.popover.innerHTML%3D%22%22%2Cle(t%2Co%2Ce)%2Cse(t%2Co%2Ce)%2Cde(o%2Ce)%2Coe(e%2Co))%2Ch)%7Be.options.lang%2Ce.options%3Be.wysiwyg.popover.innerHTML%3D%22%22%3Bvar%20E%3Dfunction()%7Bvar%20e%3Dh.rows.length%2Ct%3Dh.rows%5B0%5D.cells.length%2Cn%3DparseInt(R.value%2C10)%7C%7Ce%2Cr%3DparseInt(q.value%2C10)%7C%7Ct%3Bif(n!%3D%3De%7C%7Ct!%3D%3Dr)%7Bif(t!%3D%3Dr)for(var%20i%3Dr-t%2Co%3D0%3Bo%3Ch.rows.length%3Bo%2B%2B)if(i%3E0)for(var%20a%3D0%3Ba%3Ci%3Ba%2B%2B)0%3D%3D%3Do%3Fh.rows%5Bo%5D.lastElementChild.insertAdjacentHTML(%22afterend%22%2C%22%3Cth%3E%20%3C%2Fth%3E%22)%3Ah.rows%5Bo%5D.lastElementChild.insertAdjacentHTML(%22afterend%22%2C%22%3Ctd%3E%20%3C%2Ftd%3E%22)%3Belse%20for(var%20l%3Dt-1%3Bl%3E%3Dr%3Bl--)h.rows%5Bo%5D.cells%5Bl%5D.remove()%3Bif(e!%3D%3Dn)%7Bvar%20s%3Dn-e%3Bif(s%3E0)%7Bfor(var%20d%3D%22%3Ctr%3E%22%2Cc%3D0%3Bc%3Cr%3Bc%2B%2B)d%2B%3D%22%3Ctd%3E%20%3C%2Ftd%3E%22%3Bfor(var%20u%3D0%3Bu%3Cs%3Bu%2B%2B)h.querySelector(%22tbody%22)%3Fh.querySelector(%22tbody%22).insertAdjacentHTML(%22beforeend%22%2Cd)%3Ah.querySelector(%22thead%22).insertAdjacentHTML(%22afterend%22%2Cd%2B%22%3C%2Ftr%3E%22)%7Delse%20for(c%3De-1%3Bc%3E%3Dn%3Bc--)h.rows%5Bc%5D.remove()%2C1%3D%3D%3Dh.rows.length%26%26h.querySelector(%22tbody%22).remove()%7D%7D%7D%2Ck%3Dfunction(n)%7Bit(h%2Cn)%2C%22right%22%3D%3D%3Dn%3F(M.classList.remove(%22vditor-icon--current%22)%2CT.classList.remove(%22vditor-icon--current%22)%2CA.classList.add(%22vditor-icon--current%22))%3A%22center%22%3D%3D%3Dn%3F(M.classList.remove(%22vditor-icon--current%22)%2CA.classList.remove(%22vditor-icon--current%22)%2CT.classList.add(%22vditor-icon--current%22))%3A(T.classList.remove(%22vditor-icon--current%22)%2CA.classList.remove(%22vditor-icon--current%22)%2CM.classList.add(%22vditor-icon--current%22))%2C(0%2CN.Hc)(t)%2CX(e)%7D%2CS%3D(0%2Cy.lG)(n%2C%22TD%22)%2CL%3D(0%2Cy.lG)(n%2C%22TH%22)%2CC%3D%22left%22%3BS%3FC%3DS.getAttribute(%22align%22)%7C%7C%22left%22%3AL%26%26(C%3DL.getAttribute(%22align%22)%7C%7C%22center%22)%3Bvar%20M%3Ddocument.createElement(%22button%22)%3BM.setAttribute(%22type%22%2C%22button%22)%2CM.setAttribute(%22aria-label%22%2Cwindow.VditorI18n.alignLeft%2B%22%3C%22%2B(0%2Cd.ns)(%22%E2%87%A7%E2%8C%98L%22)%2B%22%3E%22)%2CM.setAttribute(%22data-type%22%2C%22left%22)%2CM.innerHTML%3D%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-align-left%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2CM.className%3D%22vditor-icon%20vditor-tooltipped%20vditor-tooltipped__n%22%2B(%22left%22%3D%3D%3DC%3F%22%20vditor-icon--current%22%3A%22%22)%2CM.onclick%3Dfunction()%7Bk(%22left%22)%7D%3Bvar%20T%3Ddocument.createElement(%22button%22)%3BT.setAttribute(%22type%22%2C%22button%22)%2CT.setAttribute(%22aria-label%22%2Cwindow.VditorI18n.alignCenter%2B%22%3C%22%2B(0%2Cd.ns)(%22%E2%87%A7%E2%8C%98C%22)%2B%22%3E%22)%2CT.setAttribute(%22data-type%22%2C%22center%22)%2CT.innerHTML%3D%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-align-center%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2CT.className%3D%22vditor-icon%20vditor-tooltipped%20vditor-tooltipped__n%22%2B(%22center%22%3D%3D%3DC%3F%22%20vditor-icon--current%22%3A%22%22)%2CT.onclick%3Dfunction()%7Bk(%22center%22)%7D%3Bvar%20A%3Ddocument.createElement(%22button%22)%3BA.setAttribute(%22type%22%2C%22button%22)%2CA.setAttribute(%22aria-label%22%2Cwindow.VditorI18n.alignRight%2B%22%3C%22%2B(0%2Cd.ns)(%22%E2%87%A7%E2%8C%98R%22)%2B%22%3E%22)%2CA.setAttribute(%22data-type%22%2C%22right%22)%2CA.innerHTML%3D%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-align-right%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2CA.className%3D%22vditor-icon%20vditor-tooltipped%20vditor-tooltipped__n%22%2B(%22right%22%3D%3D%3DC%3F%22%20vditor-icon--current%22%3A%22%22)%2CA.onclick%3Dfunction()%7Bk(%22right%22)%7D%3Bvar%20_%3Ddocument.createElement(%22button%22)%3B_.setAttribute(%22type%22%2C%22button%22)%2C_.setAttribute(%22aria-label%22%2Cwindow.VditorI18n.insertRowBelow%2B%22%3C%22%2B(0%2Cd.ns)(%22%E2%8C%98%3D%22)%2B%22%3E%22)%2C_.setAttribute(%22data-type%22%2C%22insertRow%22)%2C_.innerHTML%3D%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-insert-row%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2C_.className%3D%22vditor-icon%20vditor-tooltipped%20vditor-tooltipped__n%22%2C_.onclick%3Dfunction()%7Bvar%20n%3DgetSelection().getRangeAt(0).startContainer%2Cr%3D(0%2Cy.lG)(n%2C%22TD%22)%7C%7C(0%2Cy.lG)(n%2C%22TH%22)%3Br%26%26ut(e%2Ct%2Cr)%7D%3Bvar%20x%3Ddocument.createElement(%22button%22)%3Bx.setAttribute(%22type%22%2C%22button%22)%2Cx.setAttribute(%22aria-label%22%2Cwindow.VditorI18n.insertRowAbove%2B%22%3C%22%2B(0%2Cd.ns)(%22%E2%87%A7%E2%8C%98F%22)%2B%22%3E%22)%2Cx.setAttribute(%22data-type%22%2C%22insertRow%22)%2Cx.innerHTML%3D%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-insert-rowb%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cx.className%3D%22vditor-icon%20vditor-tooltipped%20vditor-tooltipped__n%22%2Cx.onclick%3Dfunction()%7Bvar%20n%3DgetSelection().getRangeAt(0).startContainer%2Cr%3D(0%2Cy.lG)(n%2C%22TD%22)%7C%7C(0%2Cy.lG)(n%2C%22TH%22)%3Br%26%26pt(e%2Ct%2Cr)%7D%3Bvar%20D%3Ddocument.createElement(%22button%22)%3BD.setAttribute(%22type%22%2C%22button%22)%2CD.setAttribute(%22aria-label%22%2Cwindow.VditorI18n.insertColumnRight%2B%22%3C%22%2B(0%2Cd.ns)(%22%E2%87%A7%E2%8C%98%3D%22)%2B%22%3E%22)%2CD.setAttribute(%22data-type%22%2C%22insertColumn%22)%2CD.innerHTML%3D%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-insert-column%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2CD.className%3D%22vditor-icon%20vditor-tooltipped%20vditor-tooltipped__n%22%2CD.onclick%3Dfunction()%7Bvar%20t%3DgetSelection().getRangeAt(0).startContainer%2Cn%3D(0%2Cy.lG)(t%2C%22TD%22)%7C%7C(0%2Cy.lG)(t%2C%22TH%22)%3Bn%26%26mt(e%2Ch%2Cn)%7D%3Bvar%20O%3Ddocument.createElement(%22button%22)%3BO.setAttribute(%22type%22%2C%22button%22)%2CO.setAttribute(%22aria-label%22%2Cwindow.VditorI18n.insertColumnLeft%2B%22%3C%22%2B(0%2Cd.ns)(%22%E2%87%A7%E2%8C%98G%22)%2B%22%3E%22)%2CO.setAttribute(%22data-type%22%2C%22insertColumn%22)%2CO.innerHTML%3D%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-insert-columnb%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2CO.className%3D%22vditor-icon%20vditor-tooltipped%20vditor-tooltipped__n%22%2CO.onclick%3Dfunction()%7Bvar%20t%3DgetSelection().getRangeAt(0).startContainer%2Cn%3D(0%2Cy.lG)(t%2C%22TD%22)%7C%7C(0%2Cy.lG)(t%2C%22TH%22)%3Bn%26%26mt(e%2Ch%2Cn%2C%22beforebegin%22)%7D%3Bvar%20I%3Ddocument.createElement(%22button%22)%3BI.setAttribute(%22type%22%2C%22button%22)%2CI.setAttribute(%22aria-label%22%2Cwindow.VditorI18n%5B%22delete-row%22%5D%2B%22%3C%22%2B(0%2Cd.ns)(%22%E2%8C%98-%22)%2B%22%3E%22)%2CI.setAttribute(%22data-type%22%2C%22deleteRow%22)%2CI.innerHTML%3D%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-delete-row%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2CI.className%3D%22vditor-icon%20vditor-tooltipped%20vditor-tooltipped__n%22%2CI.onclick%3Dfunction()%7Bvar%20n%3DgetSelection().getRangeAt(0).startContainer%2Cr%3D(0%2Cy.lG)(n%2C%22TD%22)%7C%7C(0%2Cy.lG)(n%2C%22TH%22)%3Br%26%26ft(e%2Ct%2Cr)%7D%3Bvar%20j%3Ddocument.createElement(%22button%22)%3Bj.setAttribute(%22type%22%2C%22button%22)%2Cj.setAttribute(%22aria-label%22%2Cwindow.VditorI18n%5B%22delete-column%22%5D%2B%22%3C%22%2B(0%2Cd.ns)(%22%E2%87%A7%E2%8C%98-%22)%2B%22%3E%22)%2Cj.setAttribute(%22data-type%22%2C%22deleteColumn%22)%2Cj.innerHTML%3D%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-delete-column%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cj.className%3D%22vditor-icon%20vditor-tooltipped%20vditor-tooltipped__n%22%2Cj.onclick%3Dfunction()%7Bvar%20n%3DgetSelection().getRangeAt(0).startContainer%2Cr%3D(0%2Cy.lG)(n%2C%22TD%22)%7C%7C(0%2Cy.lG)(n%2C%22TH%22)%3Br%26%26ht(e%2Ct%2Ch%2Cr)%7D%2C(Z%3Ddocument.createElement(%22span%22)).setAttribute(%22aria-label%22%2Cwindow.VditorI18n.row)%2CZ.className%3D%22vditor-tooltipped%20vditor-tooltipped__n%22%3Bvar%20R%3Ddocument.createElement(%22input%22)%3BZ.appendChild(R)%2CR.type%3D%22number%22%2CR.min%3D%221%22%2CR.className%3D%22vditor-input%22%2CR.style.width%3D%2242px%22%2CR.style.textAlign%3D%22center%22%2CR.setAttribute(%22placeholder%22%2Cwindow.VditorI18n.row)%2CR.value%3Dh.rows.length.toString()%2CR.oninput%3Dfunction()%7BE()%7D%2CR.onkeydown%3Dfunction(t)%7Bif(!t.isComposing)return%22Tab%22%3D%3D%3Dt.key%3F(q.focus()%2Cq.select()%2Cvoid%20t.preventDefault())%3Avoid%20re(e%2Ct)%7D%3Bvar%20P%3Ddocument.createElement(%22span%22)%3BP.setAttribute(%22aria-label%22%2Cwindow.VditorI18n.column)%2CP.className%3D%22vditor-tooltipped%20vditor-tooltipped__n%22%3Bvar%20q%3Ddocument.createElement(%22input%22)%3BP.appendChild(q)%2Cq.type%3D%22number%22%2Cq.min%3D%221%22%2Cq.className%3D%22vditor-input%22%2Cq.style.width%3D%2242px%22%2Cq.style.textAlign%3D%22center%22%2Cq.setAttribute(%22placeholder%22%2Cwindow.VditorI18n.column)%2Cq.value%3Dh.rows%5B0%5D.cells.length.toString()%2Cq.oninput%3Dfunction()%7BE()%7D%2Cq.onkeydown%3Dfunction(t)%7Bif(!t.isComposing)return%22Tab%22%3D%3D%3Dt.key%3F(R.focus()%2CR.select()%2Cvoid%20t.preventDefault())%3Avoid%20re(e%2Ct)%7D%2Cle(t%2Ch%2Ce)%2Cse(t%2Ch%2Ce)%2Cde(h%2Ce)%2Ce.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2CM)%2Ce.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2CT)%2Ce.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2CA)%2Ce.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2Cx)%2Ce.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2C_)%2Ce.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2CO)%2Ce.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2CD)%2Ce.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2CI)%2Ce.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2Cj)%2Ce.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2CZ)%2Ce.wysiwyg.popover.insertAdjacentHTML(%22beforeend%22%2C%22%20x%20%22)%2Ce.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2CP)%2Coe(e%2Ch)%7Dvar%20B%3D(0%2Cy.a1)(n%2C%22data-type%22%2C%22link-ref%22)%3BB%26%26ae(e%2CB)%3Bvar%20V%3D(0%2Cy.a1)(n%2C%22data-type%22%2C%22footnotes-ref%22)%3Bif(V)%7Be.options.lang%2Ce.options%3Be.wysiwyg.popover.innerHTML%3D%22%22%2C(Z%3Ddocument.createElement(%22span%22)).setAttribute(%22aria-label%22%2Cwindow.VditorI18n.footnoteRef%2B%22%3C%22%2B(0%2Cd.ns)(%22%E2%8C%A5Enter%22)%2B%22%3E%22)%2CZ.className%3D%22vditor-tooltipped%20vditor-tooltipped__n%22%3Bvar%20U%3Ddocument.createElement(%22input%22)%3BZ.appendChild(U)%2CU.className%3D%22vditor-input%22%2CU.setAttribute(%22placeholder%22%2Cwindow.VditorI18n.footnoteRef%2B%22%3C%22%2B(0%2Cd.ns)(%22%E2%8C%A5Enter%22)%2B%22%3E%22)%2CU.style.width%3D%22120px%22%2CU.value%3DV.getAttribute(%22data-footnotes-label%22)%2CU.oninput%3Dfunction()%7B%22%22!%3D%3DU.value.trim()%26%26V.setAttribute(%22data-footnotes-label%22%2CU.value)%7D%2CU.onkeydown%3Dfunction(n)%7Bif(!n.isComposing)return(0%2Cd.yl)(n)%7C%7Cn.shiftKey%7C%7C!n.altKey%7C%7C%22Enter%22!%3D%3Dn.key%3Fvoid%20re(e%2Cn)%3A(t.selectNodeContents(V)%2Ct.collapse(!1)%2C(0%2CN.Hc)(t)%2Cvoid%20n.preventDefault())%7D%2Cde(V%2Ce)%2Ce.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2CZ)%2Coe(e%2CV)%7Dvar%20W%3D(0%2Cy.fb)(n%2C%22vditor-wysiwyg__block%22)%2Cz%3D!!W%26%26W.getAttribute(%22data-type%22).indexOf(%22block%22)%3E-1%3Bif(e.wysiwyg.element.querySelectorAll(%22.vditor-wysiwyg__preview%22).forEach((function(e)%7B(!W%7C%7CW%26%26z%26%26!W.contains(e))%26%26(e.previousElementSibling.style.display%3D%22none%22)%7D))%2CW%26%26z)%7Bif(e.wysiwyg.popover.innerHTML%3D%22%22%2Cle(t%2CW%2Ce)%2Cse(t%2CW%2Ce)%2Cde(W%2Ce)%2C%22code-block%22%3D%3D%3DW.getAttribute(%22data-type%22))%7Bvar%20G%3Ddocument.createElement(%22span%22)%3BG.setAttribute(%22aria-label%22%2Cwindow.VditorI18n.language%2B%22%3C%22%2B(0%2Cd.ns)(%22%E2%8C%A5Enter%22)%2B%22%3E%22)%2CG.className%3D%22vditor-tooltipped%20vditor-tooltipped__n%22%3Bvar%20K%3Ddocument.createElement(%22input%22)%3BG.appendChild(K)%3Bvar%20F%3DW.firstElementChild.firstElementChild%3BK.className%3D%22vditor-input%22%2CK.setAttribute(%22placeholder%22%2Cwindow.VditorI18n.language%2B%22%3C%22%2B(0%2Cd.ns)(%22%E2%8C%A5Enter%22)%2B%22%3E%22)%2CK.value%3DF.className.indexOf(%22language-%22)%3E-1%3FF.className.split(%22-%22)%5B1%5D.split(%22%20%22)%5B0%5D%3A%22%22%2CK.oninput%3Dfunction(n)%7B%22%22!%3D%3DK.value.trim()%3FF.className%3D%22language-%22%2BK.value%3A(F.className%3D%22%22%2Ce.hint.recentLanguage%3D%22%22)%2CW.lastElementChild.classList.contains(%22vditor-wysiwyg__preview%22)%26%26(W.lastElementChild.innerHTML%3DW.firstElementChild.innerHTML%2CH(W.lastElementChild%2Ce))%2CX(e)%2C1%3D%3D%3Dn.detail%26%26(t.setStart(F.firstChild%2C0)%2Ct.collapse(!0)%2C(0%2CN.Hc)(t))%7D%2CK.onkeydown%3Dfunction(n)%7Bif(!n.isComposing%26%26!re(e%2Cn))%7Bif(%22Escape%22%3D%3D%3Dn.key%26%26%22block%22%3D%3D%3De.hint.element.style.display)return%20e.hint.element.style.display%3D%22none%22%2Cvoid%20n.preventDefault()%3Be.hint.select(n%2Ce)%2C(0%2Cd.yl)(n)%7C%7Cn.shiftKey%7C%7C%22Enter%22!%3D%3Dn.key%7C%7C(t.setStart(F.firstChild%2C0)%2Ct.collapse(!0)%2C(0%2CN.Hc)(t)%2Cn.preventDefault()%2Cn.stopPropagation())%7D%7D%2CK.onkeyup%3Dfunction(t)%7Bif(!t.isComposing%26%26%22Enter%22!%3D%3Dt.key%26%26%22ArrowUp%22!%3D%3Dt.key%26%26%22Escape%22!%3D%3Dt.key%26%26%22ArrowDown%22!%3D%3Dt.key)%7Bvar%20n%3D%5B%5D%2Cr%3DK.value.substring(0%2CK.selectionStart)%3Bi.g.CODE_LANGUAGES.forEach((function(e)%7Be.indexOf(r.toLowerCase())%3E-1%26%26n.push(%7Bhtml%3Ae%2Cvalue%3Ae%7D)%7D))%2Ce.hint.genHTML(n%2Cr%2Ce)%2Ct.preventDefault()%7D%7D%2Ce.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2CG)%7Doe(e%2CW)%7Delse%20W%3Dvoid%200%3Bif(v)%7Bvar%20Z%3Be.wysiwyg.popover.innerHTML%3D%22%22%2C(Z%3Ddocument.createElement(%22span%22)).setAttribute(%22aria-label%22%2C%22ID%3C%22%2B(0%2Cd.ns)(%22%E2%8C%A5Enter%22)%2B%22%3E%22)%2CZ.className%3D%22vditor-tooltipped%20vditor-tooltipped__n%22%3Bvar%20J%3Ddocument.createElement(%22input%22)%3BZ.appendChild(J)%2CJ.className%3D%22vditor-input%22%2CJ.setAttribute(%22placeholder%22%2C%22ID%3C%22%2B(0%2Cd.ns)(%22%E2%8C%A5Enter%22)%2B%22%3E%22)%2CJ.style.width%3D%22120px%22%2CJ.value%3Dv.getAttribute(%22data-id%22)%7C%7C%22%22%2CJ.oninput%3Dfunction()%7Bv.setAttribute(%22data-id%22%2CJ.value)%7D%2CJ.onkeydown%3Dfunction(n)%7Bif(!n.isComposing)return(0%2Cd.yl)(n)%7C%7Cn.shiftKey%7C%7C!n.altKey%7C%7C%22Enter%22!%3D%3Dn.key%3Fvoid%20re(e%2Cn)%3A(t.selectNodeContents(v)%2Ct.collapse(!1)%2C(0%2CN.Hc)(t)%2Cvoid%20n.preventDefault())%7D%2Cle(t%2Cv%2Ce)%2Cse(t%2Cv%2Ce)%2Cde(v%2Ce)%2Ce.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2CZ)%2Coe(e%2Cv)%7Dif(f%26%26ue(e%2Cf)%2C!(w%7C%7Co%7C%7Ch%7C%7CW%7C%7Cf%7C%7CB%7C%7CV%7C%7Cv%7C%7Cg))%7Bvar%20Y%3D(0%2Cy.a1)(n%2C%22data-block%22%2C%220%22)%3BY%26%26Y.parentElement.isEqualNode(e.wysiwyg.element)%3F(e.wysiwyg.popover.innerHTML%3D%22%22%2Cle(t%2CY%2Ce)%2Cse(t%2CY%2Ce)%2Cde(Y%2Ce)%2Coe(e%2CY))%3Ae.wysiwyg.popover.style.display%3D%22none%22%7De.wysiwyg.element.querySelectorAll(%27span%5Bdata-type%3D%22backslash%22%5D%20%3E%20span%27).forEach((function(e)%7Be.style.display%3D%22none%22%7D))%3Bvar%20Q%3D(0%2Cy.a1)(t.startContainer%2C%22data-type%22%2C%22backslash%22)%3BQ%26%26(Q.querySelector(%22span%22).style.display%3D%22inline%22)%7D%7D)%2C200)%7D%2Coe%3Dfunction(e%2Ct)%7Bvar%20n%3Dt%2Cr%3D(0%2Cy.lG)(t%2C%22TABLE%22)%3Br%26%26(n%3Dr)%2Ce.wysiwyg.popover.style.left%3D%220%22%2Ce.wysiwyg.popover.style.display%3D%22block%22%2Ce.wysiwyg.popover.style.top%3DMath.max(-8%2Cn.offsetTop-21-e.wysiwyg.element.scrollTop)%2B%22px%22%2Ce.wysiwyg.popover.style.left%3DMath.min(n.offsetLeft%2Ce.wysiwyg.element.clientWidth-e.wysiwyg.popover.clientWidth)%2B%22px%22%2Ce.wysiwyg.popover.setAttribute(%22data-top%22%2C(n.offsetTop-21).toString())%7D%2Cae%3Dfunction(e%2Ct)%7Be.wysiwyg.popover.innerHTML%3D%22%22%3Bvar%20n%3Dfunction()%7B%22%22!%3D%3Di.value.trim()%26%26(%22IMG%22%3D%3D%3Dt.tagName%3Ft.setAttribute(%22alt%22%2Ci.value)%3At.textContent%3Di.value)%2C%22%22!%3D%3Da.value.trim()%26%26t.setAttribute(%22data-link-label%22%2Ca.value)%7D%2Cr%3Ddocument.createElement(%22span%22)%3Br.setAttribute(%22aria-label%22%2Cwindow.VditorI18n.textIsNotEmpty)%2Cr.className%3D%22vditor-tooltipped%20vditor-tooltipped__n%22%3Bvar%20i%3Ddocument.createElement(%22input%22)%3Br.appendChild(i)%2Ci.className%3D%22vditor-input%22%2Ci.setAttribute(%22placeholder%22%2Cwindow.VditorI18n.textIsNotEmpty)%2Ci.style.width%3D%22120px%22%2Ci.value%3Dt.getAttribute(%22alt%22)%7C%7Ct.textContent%2Ci.oninput%3Dfunction()%7Bn()%7D%2Ci.onkeydown%3Dfunction(n)%7Bre(e%2Cn)%7C%7Cce(e%2Ct%2Cn%2Ca)%7D%3Bvar%20o%3Ddocument.createElement(%22span%22)%3Bo.setAttribute(%22aria-label%22%2Cwindow.VditorI18n.linkRef)%2Co.className%3D%22vditor-tooltipped%20vditor-tooltipped__n%22%3Bvar%20a%3Ddocument.createElement(%22input%22)%3Bo.appendChild(a)%2Ca.className%3D%22vditor-input%22%2Ca.setAttribute(%22placeholder%22%2Cwindow.VditorI18n.linkRef)%2Ca.value%3Dt.getAttribute(%22data-link-label%22)%2Ca.oninput%3Dfunction()%7Bn()%7D%2Ca.onkeydown%3Dfunction(n)%7Bre(e%2Cn)%7C%7Cce(e%2Ct%2Cn%2Ci)%7D%2Cde(t%2Ce)%2Ce.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2Cr)%2Ce.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2Co)%2Coe(e%2Ct)%7D%2Cle%3Dfunction(e%2Ct%2Cn)%7Bvar%20r%3Dt.previousElementSibling%3Bif(r%26%26(t.parentElement.isEqualNode(n.wysiwyg.element)%7C%7C%22LI%22%3D%3D%3Dt.tagName))%7Bvar%20i%3Ddocument.createElement(%22button%22)%3Bi.setAttribute(%22type%22%2C%22button%22)%2Ci.setAttribute(%22data-type%22%2C%22up%22)%2Ci.setAttribute(%22aria-label%22%2Cwindow.VditorI18n.up%2B%22%3C%22%2B(0%2Cd.ns)(%22%E2%87%A7%E2%8C%98U%22)%2B%22%3E%22)%2Ci.innerHTML%3D%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-up%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Ci.className%3D%22vditor-icon%20vditor-tooltipped%20vditor-tooltipped__n%22%2Ci.onclick%3Dfunction()%7Be.insertNode(document.createElement(%22wbr%22))%2Cr.insertAdjacentElement(%22beforebegin%22%2Ct)%2C(0%2CN.ib)(n.wysiwyg.element%2Ce)%2CX(n)%2Cie(n)%2CMe(n)%7D%2Cn.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2Ci)%7D%7D%2Cse%3Dfunction(e%2Ct%2Cn)%7Bvar%20r%3Dt.nextElementSibling%3Bif(r%26%26(t.parentElement.isEqualNode(n.wysiwyg.element)%7C%7C%22LI%22%3D%3D%3Dt.tagName))%7Bvar%20i%3Ddocument.createElement(%22button%22)%3Bi.setAttribute(%22type%22%2C%22button%22)%2Ci.setAttribute(%22data-type%22%2C%22down%22)%2Ci.setAttribute(%22aria-label%22%2Cwindow.VditorI18n.down%2B%22%3C%22%2B(0%2Cd.ns)(%22%E2%87%A7%E2%8C%98D%22)%2B%22%3E%22)%2Ci.innerHTML%3D%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-down%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Ci.className%3D%22vditor-icon%20vditor-tooltipped%20vditor-tooltipped__n%22%2Ci.onclick%3Dfunction()%7Be.insertNode(document.createElement(%22wbr%22))%2Cr.insertAdjacentElement(%22afterend%22%2Ct)%2C(0%2CN.ib)(n.wysiwyg.element%2Ce)%2CX(n)%2Cie(n)%2CMe(n)%7D%2Cn.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2Ci)%7D%7D%2Cde%3Dfunction(e%2Ct)%7Bvar%20n%3Ddocument.createElement(%22button%22)%3Bn.setAttribute(%22type%22%2C%22button%22)%2Cn.setAttribute(%22data-type%22%2C%22remove%22)%2Cn.setAttribute(%22aria-label%22%2Cwindow.VditorI18n.remove%2B%22%3C%22%2B(0%2Cd.ns)(%22%E2%87%A7%E2%8C%98X%22)%2B%22%3E%22)%2Cn.innerHTML%3D%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-trashcan%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cn.className%3D%22vditor-icon%20vditor-tooltipped%20vditor-tooltipped__n%22%2Cn.onclick%3Dfunction()%7Bvar%20n%3D(0%2CN.zh)(t)%3Bn.setStartAfter(e)%2C(0%2CN.Hc)(n)%2Ce.remove()%2CX(t)%2Cie(t)%2C%5B%22H1%22%2C%22H2%22%2C%22H3%22%2C%22H4%22%2C%22H5%22%2C%22H6%22%5D.includes(e.tagName)%26%26D(t)%7D%2Ct.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2Cn)%7D%2Cce%3Dfunction(e%2Ct%2Cn%2Cr)%7Bif(!n.isComposing)%7Bif(%22Tab%22%3D%3D%3Dn.key)return%20r.focus()%2Cr.select()%2Cvoid%20n.preventDefault()%3Bif(!(0%2Cd.yl)(n)%26%26!n.shiftKey%26%26n.altKey%26%26%22Enter%22%3D%3D%3Dn.key)%7Bvar%20o%3D(0%2CN.zh)(e)%3Bt.insertAdjacentHTML(%22afterend%22%2Ci.g.ZWSP)%2Co.setStartAfter(t.nextSibling)%2Co.collapse(!0)%2C(0%2CN.Hc)(o)%2Cn.preventDefault()%7D%7D%7D%2Cue%3Dfunction(e%2Ct)%7Be.wysiwyg.popover.innerHTML%3D%22%22%3Bvar%20n%3Dfunction()%7B%22%22!%3D%3Di.value.trim()%26%26(t.innerHTML%3Di.value)%2Ct.setAttribute(%22href%22%2Ca.value)%2Ct.setAttribute(%22title%22%2Cs.value)%2CX(e)%7D%3Bt.querySelectorAll(%22%5Bdata-marker%5D%22).forEach((function(e)%7Be.removeAttribute(%22data-marker%22)%7D))%3Bvar%20r%3Ddocument.createElement(%22span%22)%3Br.setAttribute(%22aria-label%22%2Cwindow.VditorI18n.textIsNotEmpty)%2Cr.className%3D%22vditor-tooltipped%20vditor-tooltipped__n%22%3Bvar%20i%3Ddocument.createElement(%22input%22)%3Br.appendChild(i)%2Ci.className%3D%22vditor-input%22%2Ci.setAttribute(%22placeholder%22%2Cwindow.VditorI18n.textIsNotEmpty)%2Ci.style.width%3D%22120px%22%2Ci.value%3Dt.innerHTML%7C%7C%22%22%2Ci.oninput%3Dfunction()%7Bn()%7D%2Ci.onkeydown%3Dfunction(n)%7Bre(e%2Cn)%7C%7Cce(e%2Ct%2Cn%2Ca)%7D%3Bvar%20o%3Ddocument.createElement(%22span%22)%3Bo.setAttribute(%22aria-label%22%2Cwindow.VditorI18n.link)%2Co.className%3D%22vditor-tooltipped%20vditor-tooltipped__n%22%3Bvar%20a%3Ddocument.createElement(%22input%22)%3Bo.appendChild(a)%2Ca.className%3D%22vditor-input%22%2Ca.setAttribute(%22placeholder%22%2Cwindow.VditorI18n.link)%2Ca.value%3Dt.getAttribute(%22href%22)%7C%7C%22%22%2Ca.oninput%3Dfunction()%7Bn()%7D%2Ca.onkeydown%3Dfunction(n)%7Bre(e%2Cn)%7C%7Cce(e%2Ct%2Cn%2Cs)%7D%3Bvar%20l%3Ddocument.createElement(%22span%22)%3Bl.setAttribute(%22aria-label%22%2Cwindow.VditorI18n.tooltipText)%2Cl.className%3D%22vditor-tooltipped%20vditor-tooltipped__n%22%3Bvar%20s%3Ddocument.createElement(%22input%22)%3Bl.appendChild(s)%2Cs.className%3D%22vditor-input%22%2Cs.setAttribute(%22placeholder%22%2Cwindow.VditorI18n.tooltipText)%2Cs.style.width%3D%2260px%22%2Cs.value%3Dt.getAttribute(%22title%22)%7C%7C%22%22%2Cs.oninput%3Dfunction()%7Bn()%7D%2Cs.onkeydown%3Dfunction(n)%7Bre(e%2Cn)%7C%7Cce(e%2Ct%2Cn%2Ci)%7D%2Cde(t%2Ce)%2Ce.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2Cr)%2Ce.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2Co)%2Ce.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2Cl)%2Coe(e%2Ct)%7D%2Cpe%3Dfunction(e)%7B%22wysiwyg%22%3D%3D%3De.currentMode%3Fie(e)%3A%22ir%22%3D%3D%3De.currentMode%26%26J(e)%7D%2Cme%3Dfunction(e%2Ct%2Cn)%7Bvoid%200%3D%3D%3Dn%26%26(n%3D%7BenableAddUndoStack%3A!0%2CenableHint%3A!1%2CenableInput%3A!0%7D)%3Bvar%20r%3De.wysiwyg.element%3Br.innerHTML%3De.lute.Md2VditorDOM(t)%2Cr.querySelectorAll(%22.vditor-wysiwyg__preview%5Bdata-render%3D%272%27%5D%22).forEach((function(t)%7BH(t%2Ce)%2Ct.previousElementSibling.setAttribute(%22style%22%2C%22display%3Anone%22)%7D))%2CX(e%2Cn)%7D%2Cfe%3Dfunction(e%2Ct%2Cn)%7Bfor(var%20r%3De.startContainer.parentElement%2Co%3D!1%2Ca%3D%22%22%2Cl%3D%22%22%2Cs%3Dfunction(e)%7Bvar%20t%3DQ(e.startContainer)%2Cn%3DY(e.startContainer)%2Cr%3De.startContainer.textContent%2Co%3De.startOffset%2Ca%3D%22%22%2Cl%3D%22%22%3Breturn(%22%22!%3D%3Dr.substr(0%2Co)%26%26r.substr(0%2Co)!%3D%3Di.g.ZWSP%7C%7Ct)%26%26(a%3D%22%22%2Bt%2Br.substr(0%2Co))%2C(%22%22!%3D%3Dr.substr(o)%26%26r.substr(o)!%3D%3Di.g.ZWSP%7C%7Cn)%26%26(l%3D%22%22%2Br.substr(o)%2Bn)%2C%7BafterHTML%3Al%2CbeforeHTML%3Aa%7D%7D(e)%2Cd%3Ds.beforeHTML%2Cc%3Ds.afterHTML%3Br%26%26!o%3B)%7Bvar%20u%3Dr.tagName%3Bif(%22STRIKE%22%3D%3D%3Du%26%26(u%3D%22S%22)%2C%22I%22%3D%3D%3Du%26%26(u%3D%22EM%22)%2C%22B%22%3D%3D%3Du%26%26(u%3D%22STRONG%22)%2C%22S%22%3D%3D%3Du%7C%7C%22STRONG%22%3D%3D%3Du%7C%7C%22EM%22%3D%3D%3Du)%7Bvar%20p%3D%22%22%2Cm%3D%22%22%2Cf%3D%22%22%3B%220%22!%3D%3Dr.parentElement.getAttribute(%22data-block%22)%26%26(m%3DQ(r)%2Cf%3DY(r))%2C(d%7C%7Cm)%26%26(d%3Dp%3Dm%2B%22%3C%22%2Bu%2B%22%3E%22%2Bd%2B%22%3C%2F%22%2Bu%2B%22%3E%22)%2C(%22bold%22%3D%3D%3Dn%26%26%22STRONG%22%3D%3D%3Du%7C%7C%22italic%22%3D%3D%3Dn%26%26%22EM%22%3D%3D%3Du%7C%7C%22strikeThrough%22%3D%3D%3Dn%26%26%22S%22%3D%3D%3Du)%26%26(p%2B%3D%22%22%2Ba%2Bi.g.ZWSP%2B%22%3Cwbr%3E%22%2Bl%2Co%3D!0)%2C(c%7C%7Cf)%26%26(p%2B%3Dc%3D%22%3C%22%2Bu%2B%22%3E%22%2Bc%2B%22%3C%2F%22%2Bu%2B%22%3E%22%2Bf)%2C%220%22!%3D%3Dr.parentElement.getAttribute(%22data-block%22)%3F(r%3Dr.parentElement).innerHTML%3Dp%3A(r.outerHTML%3Dp%2Cr%3Dr.parentElement)%2Ca%3D%22%3C%22%2Bu%2B%22%3E%22%2Ba%2Cl%3D%22%3C%2F%22%2Bu%2B%22%3E%22%2Bl%7Delse%20o%3D!0%7D(0%2CN.ib)(t.wysiwyg.element%2Ce)%7D%2Che%3Dfunction(e%2Ct)%7Bvar%20n%2Cr%3Dthis%3Bthis.element%3Ddocument.createElement(%22div%22)%2Ct.className%26%26(n%3Dthis.element.classList).add.apply(n%2Ct.className.split(%22%20%22))%3Bvar%20o%3Dt.hotkey%3F%22%20%3C%22%2B(0%2Cd.ns)(t.hotkey)%2B%22%3E%22%3A%22%22%3B2%3D%3D%3Dt.level%26%26(o%3Dt.hotkey%3F%22%20%26lt%3B%22%2B(0%2Cd.ns)(t.hotkey)%2B%22%26gt%3B%22%3A%22%22)%3Bvar%20a%3Dt.tip%3Ft.tip%2Bo%3A%22%22%2Bwindow.VditorI18n%5Bt.name%5D%2Bo%2Cl%3D%22upload%22%3D%3D%3Dt.name%3F%22div%22%3A%22button%22%3Bif(2%3D%3D%3Dt.level)this.element.innerHTML%3D%22%3C%22%2Bl%2B%27%20data-type%3D%22%27%2Bt.name%2B%27%22%3E%27%2Ba%2B%22%3C%2F%22%2Bl%2B%22%3E%22%3Belse%7Bthis.element.classList.add(%22vditor-toolbar__item%22)%3Bvar%20s%3Ddocument.createElement(l)%3Bs.setAttribute(%22data-type%22%2Ct.name)%2Cs.className%3D%22vditor-tooltipped%20vditor-tooltipped__%22%2Bt.tipPosition%2Cs.setAttribute(%22aria-label%22%2Ca)%2Cs.innerHTML%3Dt.icon%2Cthis.element.appendChild(s)%7Dt.prefix%26%26this.element.children%5B0%5D.addEventListener((0%2Cd.Le)()%2C(function(n)%7Bn.preventDefault()%2Cr.element.firstElementChild.classList.contains(i.g.CLASS_MENU_DISABLED)%7C%7C(%22wysiwyg%22%3D%3D%3De.currentMode%3Ffunction(e%2Ct%2Cn)%7Bif(!(e.wysiwyg.composingLock%26%26n%20instanceof%20CustomEvent))%7Bvar%20r%3D!0%2Co%3D!0%3Be.wysiwyg.element.querySelector(%22wbr%22)%26%26e.wysiwyg.element.querySelector(%22wbr%22).remove()%3Bvar%20a%3D(0%2CN.zh)(e)%2Cl%3Dt.getAttribute(%22data-type%22)%3Bif(t.classList.contains(%22vditor-menu--current%22))if(%22strike%22%3D%3D%3Dl%26%26(l%3D%22strikeThrough%22)%2C%22quote%22%3D%3D%3Dl)%7Bvar%20s%3D(0%2Cy.lG)(a.startContainer%2C%22BLOCKQUOTE%22)%3Bs%7C%7C(s%3Da.startContainer.childNodes%5Ba.startOffset%5D)%2Cs%26%26(r%3D!1%2Ct.classList.remove(%22vditor-menu--current%22)%2Ca.insertNode(document.createElement(%22wbr%22))%2Cs.outerHTML%3D%22%22%3D%3D%3Ds.innerHTML.trim()%3F%27%3Cp%20data-block%3D%220%22%3E%27%2Bs.innerHTML%2B%22%3C%2Fp%3E%22%3As.innerHTML%2C(0%2CN.ib)(e.wysiwyg.element%2Ca))%7Delse%20if(%22inline-code%22%3D%3D%3Dl)%7Bvar%20d%3D(0%2Cy.lG)(a.startContainer%2C%22CODE%22)%3Bd%7C%7C(d%3Da.startContainer.childNodes%5Ba.startOffset%5D)%2Cd%26%26(d.outerHTML%3Dd.innerHTML.replace(i.g.ZWSP%2C%22%22)%2B%22%3Cwbr%3E%22%2C(0%2CN.ib)(e.wysiwyg.element%2Ca))%7Delse%22link%22%3D%3D%3Dl%3Fa.collapsed%3F(a.selectNode(a.startContainer.parentElement)%2Cdocument.execCommand(%22unlink%22%2C!1%2C%22%22))%3Adocument.execCommand(%22unlink%22%2C!1%2C%22%22)%3A%22check%22%3D%3D%3Dl%7C%7C%22list%22%3D%3D%3Dl%7C%7C%22ordered-list%22%3D%3D%3Dl%3F(tt(e%2Ca%2Cl)%2C(0%2CN.ib)(e.wysiwyg.element%2Ca)%2Cr%3D!1%2Ct.classList.remove(%22vditor-menu--current%22))%3A(r%3D!1%2Ct.classList.remove(%22vditor-menu--current%22)%2C%22%22%3D%3D%3Da.toString()%3Ffe(a%2Ce%2Cl)%3Adocument.execCommand(l%2C!1%2C%22%22))%3Belse%7B0%3D%3D%3De.wysiwyg.element.childNodes.length%26%26(e.wysiwyg.element.innerHTML%3D%27%3Cp%20data-block%3D%220%22%3E%3Cwbr%3E%3C%2Fp%3E%27%2C(0%2CN.ib)(e.wysiwyg.element%2Ca))%3Bvar%20u%3D(0%2Cy.F9)(a.startContainer)%3Bif(%22quote%22%3D%3D%3Dl)%7Bif(u%7C%7C(u%3Da.startContainer.childNodes%5Ba.startOffset%5D)%2Cu)%7Br%3D!1%2Ct.classList.add(%22vditor-menu--current%22)%2Ca.insertNode(document.createElement(%22wbr%22))%3Bvar%20p%3D(0%2Cy.lG)(a.startContainer%2C%22LI%22)%3Bp%26%26u.contains(p)%3Fp.innerHTML%3D%27%3Cblockquote%20data-block%3D%220%22%3E%27%2Bp.innerHTML%2B%22%3C%2Fblockquote%3E%22%3Au.outerHTML%3D%27%3Cblockquote%20data-block%3D%220%22%3E%27%2Bu.outerHTML%2B%22%3C%2Fblockquote%3E%22%2C(0%2CN.ib)(e.wysiwyg.element%2Ca)%7D%7Delse%20if(%22check%22%3D%3D%3Dl%7C%7C%22list%22%3D%3D%3Dl%7C%7C%22ordered-list%22%3D%3D%3Dl)tt(e%2Ca%2Cl%2C!1)%2C(0%2CN.ib)(e.wysiwyg.element%2Ca)%2Cr%3D!1%2Cc(e.toolbar.elements%2C%5B%22check%22%2C%22list%22%2C%22ordered-list%22%5D)%2Ct.classList.add(%22vditor-menu--current%22)%3Belse%20if(%22inline-code%22%3D%3D%3Dl)%7Bif(%22%22%3D%3D%3Da.toString())(m%3Ddocument.createElement(%22code%22)).textContent%3Di.g.ZWSP%2Ca.insertNode(m)%2Ca.setStart(m.firstChild%2C1)%2Ca.collapse(!0)%2C(0%2CN.Hc)(a)%3Belse%20if(3%3D%3D%3Da.startContainer.nodeType)%7Bvar%20m%3Ddocument.createElement(%22code%22)%3Ba.surroundContents(m)%2Ca.insertNode(m)%2C(0%2CN.Hc)(a)%7Dt.classList.add(%22vditor-menu--current%22)%7Delse%20if(%22code%22%3D%3D%3Dl)(m%3Ddocument.createElement(%22div%22)).className%3D%22vditor-wysiwyg__block%22%2Cm.setAttribute(%22data-type%22%2C%22code-block%22)%2Cm.setAttribute(%22data-block%22%2C%220%22)%2Cm.setAttribute(%22data-marker%22%2C%22%60%60%60%22)%2C%22%22%3D%3D%3Da.toString()%3Fm.innerHTML%3D%22%3Cpre%3E%3Ccode%3E%3Cwbr%3E%5Cn%3C%2Fcode%3E%3C%2Fpre%3E%22%3A(m.innerHTML%3D%22%3Cpre%3E%3Ccode%3E%22%2Ba.toString()%2B%22%3Cwbr%3E%3C%2Fcode%3E%3C%2Fpre%3E%22%2Ca.deleteContents())%2Ca.insertNode(m)%2Cu%26%26(u.outerHTML%3De.lute.SpinVditorDOM(u.outerHTML))%2C(0%2CN.ib)(e.wysiwyg.element%2Ca)%2Ce.wysiwyg.element.querySelectorAll(%22.vditor-wysiwyg__preview%5Bdata-render%3D%272%27%5D%22).forEach((function(t)%7BH(t%2Ce)%7D))%2Ct.classList.add(%22vditor-menu--disabled%22)%3Belse%20if(%22link%22%3D%3D%3Dl)%7Bif(%22%22%3D%3D%3Da.toString())%7Bvar%20f%3Ddocument.createElement(%22a%22)%3Bf.innerText%3Di.g.ZWSP%2Ca.insertNode(f)%2Ca.setStart(f.firstChild%2C1)%2Ca.collapse(!0)%2Cue(e%2Cf)%3Bvar%20h%3De.wysiwyg.popover.querySelector(%22input%22)%3Bh.value%3D%22%22%2Ch.focus()%2Co%3D!1%7Delse%7B(m%3Ddocument.createElement(%22a%22)).setAttribute(%22href%22%2C%22%22)%2Cm.innerHTML%3Da.toString()%2Ca.surroundContents(m)%2Ca.insertNode(m)%2C(0%2CN.Hc)(a)%2Cue(e%2Cm)%3Bvar%20v%3De.wysiwyg.popover.querySelectorAll(%22input%22)%3Bv%5B0%5D.value%3Dm.innerText%2Cv%5B1%5D.focus()%7Dr%3D!1%2Ct.classList.add(%22vditor-menu--current%22)%7Delse%20if(%22table%22%3D%3D%3Dl)%7Bvar%20g%3D%27%3Ctable%20data-block%3D%220%22%3E%3Cthead%3E%3Ctr%3E%3Cth%3Ecol1%3Cwbr%3E%3C%2Fth%3E%3Cth%3Ecol2%3C%2Fth%3E%3Cth%3Ecol3%3C%2Fth%3E%3C%2Ftr%3E%3C%2Fthead%3E%3Ctbody%3E%3Ctr%3E%3Ctd%3E%20%3C%2Ftd%3E%3Ctd%3E%20%3C%2Ftd%3E%3Ctd%3E%20%3C%2Ftd%3E%3C%2Ftr%3E%3Ctr%3E%3Ctd%3E%20%3C%2Ftd%3E%3Ctd%3E%20%3C%2Ftd%3E%3Ctd%3E%20%3C%2Ftd%3E%3C%2Ftr%3E%3C%2Ftbody%3E%3C%2Ftable%3E%27%3Bif(%22%22%3D%3D%3Da.toString().trim())u%26%26%22%22%3D%3D%3Du.innerHTML.trim().replace(i.g.ZWSP%2C%22%22)%3Fu.outerHTML%3Dg%3Adocument.execCommand(%22insertHTML%22%2C!1%2Cg)%2Ca.selectNode(e.wysiwyg.element.querySelector(%22wbr%22).previousSibling)%2Ce.wysiwyg.element.querySelector(%22wbr%22).remove()%2C(0%2CN.Hc)(a)%3Belse%7Bg%3D%27%3Ctable%20data-block%3D%220%22%3E%3Cthead%3E%3Ctr%3E%27%3Bvar%20b%3Da.toString().split(%22%5Cn%22)%2Cw%3Db%5B0%5D.split(%22%2C%22).length%3Eb%5B0%5D.split(%22%5Ct%22).length%3F%22%2C%22%3A%22%5Ct%22%3Bb.forEach((function(e%2Ct)%7B0%3D%3D%3Dt%3F(e.split(w).forEach((function(e%2Ct)%7Bg%2B%3D0%3D%3D%3Dt%3F%22%3Cth%3E%22%2Be%2B%22%3Cwbr%3E%3C%2Fth%3E%22%3A%22%3Cth%3E%22%2Be%2B%22%3C%2Fth%3E%22%7D))%2Cg%2B%3D%22%3C%2Ftr%3E%3C%2Fthead%3E%22)%3A(g%2B%3D1%3D%3D%3Dt%3F%22%3Ctbody%3E%3Ctr%3E%22%3A%22%3Ctr%3E%22%2Ce.split(w).forEach((function(e)%7Bg%2B%3D%22%3Ctd%3E%22%2Be%2B%22%3C%2Ftd%3E%22%7D))%2Cg%2B%3D%22%3C%2Ftr%3E%22)%7D))%2Cg%2B%3D%22%3C%2Ftbody%3E%3C%2Ftable%3E%22%2Cdocument.execCommand(%22insertHTML%22%2C!1%2Cg)%2C(0%2CN.ib)(e.wysiwyg.element%2Ca)%7Dr%3D!1%2Ct.classList.add(%22vditor-menu--disabled%22)%7Delse%20if(%22line%22%3D%3D%3Dl)%7Bif(u)%7Bvar%20E%3D%27%3Chr%20data-block%3D%220%22%3E%3Cp%20data-block%3D%220%22%3E%3Cwbr%3E%5Cn%3C%2Fp%3E%27%3B%22%22%3D%3D%3Du.innerHTML.trim()%3Fu.outerHTML%3DE%3Au.insertAdjacentHTML(%22afterend%22%2CE)%2C(0%2CN.ib)(e.wysiwyg.element%2Ca)%7D%7Delse%20if(r%3D!1%2Ct.classList.add(%22vditor-menu--current%22)%2C%22strike%22%3D%3D%3Dl%26%26(l%3D%22strikeThrough%22)%2C%22%22!%3D%3Da.toString()%7C%7C%22bold%22!%3D%3Dl%26%26%22italic%22!%3D%3Dl%26%26%22strikeThrough%22!%3D%3Dl)document.execCommand(l%2C!1%2C%22%22)%3Belse%7Bvar%20k%3D%22strong%22%3B%22italic%22%3D%3D%3Dl%3Fk%3D%22em%22%3A%22strikeThrough%22%3D%3D%3Dl%26%26(k%3D%22s%22)%2C(m%3Ddocument.createElement(k)).textContent%3Di.g.ZWSP%2Ca.insertNode(m)%2Cm.previousSibling%26%26m.previousSibling.textContent%3D%3D%3Di.g.ZWSP%26%26(m.previousSibling.textContent%3D%22%22)%2Ca.setStart(m.firstChild%2C1)%2Ca.collapse(!0)%2C(0%2CN.Hc)(a)%7D%7Dr%26%26ie(e)%2Co%26%26X(e)%7D%7D(e%2Cr.element.children%5B0%5D%2Cn)%3A%22ir%22%3D%3D%3De.currentMode%3FAt(e%2Cr.element.children%5B0%5D%2Ct.prefix%7C%7C%22%22%2Ct.suffix%7C%7C%22%22)%3AIe(e%2Cr.element.children%5B0%5D%2Ct.prefix%7C%7C%22%22%2Ct.suffix%7C%7C%22%22))%7D))%7D%2Cve%3D(K%3Dfunction(e%2Ct)%7Breturn%20K%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2CK(e%2Ct)%7D%2Cfunction(e%2Ct)%7Bfunction%20n()%7Bthis.constructor%3De%7DK(e%2Ct)%2Ce.prototype%3Dnull%3D%3D%3Dt%3FObject.create(t)%3A(n.prototype%3Dt.prototype%2Cnew%20n)%7D)%2Cge%3Dfunction(e%2Ct%2Cn)%7Bvar%20r%3Bif(%22string%22!%3Dtypeof%20n%3F(v(e%2C%5B%22subToolbar%22%2C%22hint%22%5D)%2Cn.preventDefault()%2Cr%3Da(e))%3Ar%3Dn%2Ce.currentMode!%3D%3Dt%7C%7C%22string%22%3D%3Dtypeof%20n)%7Bif(e.devtools%26%26e.devtools.renderEchart(e)%2C%22both%22%3D%3D%3De.options.preview.mode%26%26%22sv%22%3D%3D%3Dt%3Fe.preview.element.style.display%3D%22block%22%3Ae.preview.element.style.display%3D%22none%22%2Cp(e.toolbar.elements%2Ci.g.EDIT_TOOLBARS)%2Cc(e.toolbar.elements%2Ci.g.EDIT_TOOLBARS)%2Cm(e.toolbar.elements%2C%5B%22outdent%22%2C%22indent%22%5D)%2C%22ir%22%3D%3D%3Dt)f(e.toolbar.elements%2C%5B%22both%22%5D)%2Ch(e.toolbar.elements%2C%5B%22outdent%22%2C%22indent%22%2C%22outline%22%2C%22insert-before%22%2C%22insert-after%22%5D)%2Ce.sv.element.style.display%3D%22none%22%2Ce.wysiwyg.element.parentElement.style.display%3D%22none%22%2Ce.ir.element.parentElement.style.display%3D%22block%22%2Ce.lute.SetVditorIR(!0)%2Ce.lute.SetVditorWYSIWYG(!1)%2Ce.lute.SetVditorSV(!1)%2Ce.currentMode%3D%22ir%22%2Ce.ir.element.innerHTML%3De.lute.Md2VditorIRDOM(r)%2CCt(e%2C%7BenableAddUndoStack%3A!0%2CenableHint%3A!1%2CenableInput%3A!1%7D)%2CW(e)%2Ce.ir.element.querySelectorAll(%22.vditor-ir__preview%5Bdata-render%3D%272%27%5D%22).forEach((function(t)%7BH(t%2Ce)%7D))%2Ce.ir.element.querySelectorAll(%22.vditor-toc%22).forEach((function(t)%7B(0%2CT.H)(t%2C%7Bcdn%3Ae.options.cdn%2Cmath%3Ae.options.preview.math%7D)%7D))%3Belse%20if(%22wysiwyg%22%3D%3D%3Dt)f(e.toolbar.elements%2C%5B%22both%22%5D)%2Ch(e.toolbar.elements%2C%5B%22outdent%22%2C%22indent%22%2C%22outline%22%2C%22insert-before%22%2C%22insert-after%22%5D)%2Ce.sv.element.style.display%3D%22none%22%2Ce.wysiwyg.element.parentElement.style.display%3D%22block%22%2Ce.ir.element.parentElement.style.display%3D%22none%22%2Ce.lute.SetVditorIR(!1)%2Ce.lute.SetVditorWYSIWYG(!0)%2Ce.lute.SetVditorSV(!1)%2Ce.currentMode%3D%22wysiwyg%22%2CW(e)%2Cme(e%2Cr%2C%7BenableAddUndoStack%3A!0%2CenableHint%3A!1%2CenableInput%3A!1%7D)%2Ce.wysiwyg.element.querySelectorAll(%22.vditor-toc%22).forEach((function(t)%7B(0%2CT.H)(t%2C%7Bcdn%3Ae.options.cdn%2Cmath%3Ae.options.preview.math%7D)%7D))%2Ce.wysiwyg.popover.style.display%3D%22none%22%3Belse%20if(%22sv%22%3D%3D%3Dt)%7Bh(e.toolbar.elements%2C%5B%22both%22%5D)%2Cf(e.toolbar.elements%2C%5B%22outdent%22%2C%22indent%22%2C%22outline%22%2C%22insert-before%22%2C%22insert-after%22%5D)%2Ce.wysiwyg.element.parentElement.style.display%3D%22none%22%2Ce.ir.element.parentElement.style.display%3D%22none%22%2C(%22both%22%3D%3D%3De.options.preview.mode%7C%7C%22editor%22%3D%3D%3De.options.preview.mode)%26%26(e.sv.element.style.display%3D%22block%22)%2Ce.lute.SetVditorIR(!1)%2Ce.lute.SetVditorWYSIWYG(!1)%2Ce.lute.SetVditorSV(!0)%2Ce.currentMode%3D%22sv%22%3Bvar%20o%3DHe(r%2Ce)%3B%22%3Cdiv%20data-block%3D%270%27%3E%3C%2Fdiv%3E%22%3D%3D%3Do%26%26(o%3D%22%22)%2Ce.sv.element.innerHTML%3Do%2CDe(e%2C%7BenableAddUndoStack%3A!0%2CenableHint%3A!1%2CenableInput%3A!1%7D)%2CW(e)%7De.undo.resetIcon(e)%2C%22string%22!%3Dtypeof%20n%26%26(e%5Be.currentMode%5D.element.focus()%2Cpe(e))%2CD(e)%2Cz(e)%2Ce.toolbar.elements%5B%22edit-mode%22%5D%26%26(e.toolbar.elements%5B%22edit-mode%22%5D.querySelectorAll(%22button%22).forEach((function(e)%7Be.classList.remove(%22vditor-menu--current%22)%7D))%2Ce.toolbar.elements%5B%22edit-mode%22%5D.querySelector(%27button%5Bdata-mode%3D%22%27%2Be.currentMode%2B%27%22%5D%27).classList.add(%22vditor-menu--current%22))%2Ce.outline.toggle(e%2C%22sv%22!%3D%3De.currentMode%26%26e.options.outline.enable)%7D%7D%2Cye%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this%2Ct%2Cn)%7C%7Cthis%2Ci%3Ddocument.createElement(%22div%22)%3Breturn%20i.className%3D%22vditor-hint%22%2B(2%3D%3D%3Dn.level%3F%22%22%3A%22%20vditor-panel--arrow%22)%2Ci.innerHTML%3D%27%3Cbutton%20data-mode%3D%22wysiwyg%22%3E%27%2Bwindow.VditorI18n.wysiwyg%2B%22%20%26lt%3B%22%2B(0%2Cd.ns)(%22%E2%8C%A5%E2%8C%987%22)%2B%27%3E%3C%2Fbutton%3E%5Cn%3Cbutton%20data-mode%3D%22ir%22%3E%27%2Bwindow.VditorI18n.instantRendering%2B%22%20%26lt%3B%22%2B(0%2Cd.ns)(%22%E2%8C%A5%E2%8C%988%22)%2B%27%3E%3C%2Fbutton%3E%5Cn%3Cbutton%20data-mode%3D%22sv%22%3E%27%2Bwindow.VditorI18n.splitView%2B%22%20%26lt%3B%22%2B(0%2Cd.ns)(%22%E2%8C%A5%E2%8C%989%22)%2B%22%3E%3C%2Fbutton%3E%22%2Cr.element.appendChild(i)%2Cr._bindEvent(t%2Ci%2Cn)%2Cr%7Dreturn%20ve(t%2Ce)%2Ct.prototype._bindEvent%3Dfunction(e%2Ct%2Cn)%7Bvar%20r%3Dthis.element.children%5B0%5D%3Bg(e%2Ct%2Cr%2Cn.level)%2Ct.children.item(0).addEventListener((0%2Cd.Le)()%2C(function(t)%7Bge(e%2C%22wysiwyg%22%2Ct)%2Ct.preventDefault()%2Ct.stopPropagation()%7D))%2Ct.children.item(1).addEventListener((0%2Cd.Le)()%2C(function(t)%7Bge(e%2C%22ir%22%2Ct)%2Ct.preventDefault()%2Ct.stopPropagation()%7D))%2Ct.children.item(2).addEventListener((0%2Cd.Le)()%2C(function(t)%7Bge(e%2C%22sv%22%2Ct)%2Ct.preventDefault()%2Ct.stopPropagation()%7D))%7D%2Ct%7D(he)%2Cbe%3Dfunction(e%2Ct)%7Breturn(0%2CN.Gb)(e%2Ct)%3FgetSelection().toString()%3A%22%22%7D%2Cwe%3Dfunction(e%2Ct)%7Bt.addEventListener(%22focus%22%2C(function()%7Be.options.focus%26%26e.options.focus(a(e))%2Cv(e%2C%5B%22subToolbar%22%2C%22hint%22%5D)%7D))%7D%2CEe%3Dfunction(e%2Ct)%7Bt.addEventListener(%22dblclick%22%2C(function(t)%7B%22IMG%22%3D%3D%3Dt.target.tagName%26%26(0%2Cq.E)(t.target%2Ce.options.lang%2Ce.options.theme)%7D))%7D%2Cke%3Dfunction(e%2Ct)%7Bt.addEventListener(%22blur%22%2C(function(t)%7Bif(%22ir%22%3D%3D%3De.currentMode)%7Bvar%20n%3De.ir.element.querySelector(%22.vditor-ir__node--expand%22)%3Bn%26%26n.classList.remove(%22vditor-ir__node--expand%22)%7Delse%22wysiwyg%22!%3D%3De.currentMode%7C%7Ce.wysiwyg.selectPopover.contains(t.relatedTarget)%7C%7Ce.wysiwyg.hideComment()%3Be%5Be.currentMode%5D.range%3D(0%2CN.zh)(e)%2Ce.options.blur%26%26e.options.blur(a(e))%7D))%7D%2CSe%3Dfunction(e%2Ct)%7Bt.addEventListener(%22dragstart%22%2C(function(e)%7Be.dataTransfer.setData(i.g.DROP_EDITOR%2Ci.g.DROP_EDITOR)%7D))%2Ct.addEventListener(%22drop%22%2C(function(t)%7Bt.dataTransfer.getData(i.g.DROP_EDITOR)%3Flt(e)%3A(t.dataTransfer.types.includes(%22Files%22)%7C%7Ct.dataTransfer.types.includes(%22text%2Fhtml%22))%26%26St(e%2Ct%2C%7BpasteCode%3Afunction(e)%7Bdocument.execCommand(%22insertHTML%22%2C!1%2Ce)%7D%7D)%7D))%7D%2CLe%3Dfunction(e%2Ct%2Cn)%7Bt.addEventListener(%22copy%22%2C(function(t)%7Breturn%20n(t%2Ce)%7D))%7D%2CCe%3Dfunction(e%2Ct%2Cn)%7Bt.addEventListener(%22cut%22%2C(function(t)%7Bn(t%2Ce)%2Ce.options.comment.enable%26%26%22wysiwyg%22%3D%3D%3De.currentMode%26%26e.wysiwyg.getComments(e)%2Cdocument.execCommand(%22delete%22)%7D))%7D%2CMe%3Dfunction(e)%7Bif(%22wysiwyg%22%3D%3D%3De.currentMode%26%26e.options.comment.enable%26%26e.options.comment.adjustTop(e.wysiwyg.getComments(e%2C!0))%2Ce.options.typewriterMode)%7Bvar%20t%3De%5Be.currentMode%5D.element%2Cn%3D(0%2CN.Ny)(t).top%3B%22auto%22!%3D%3De.options.height%7C%7Ce.element.classList.contains(%22vditor--fullscreen%22)%7C%7Cwindow.scrollTo(window.scrollX%2Cn%2Be.element.offsetTop%2Be.toolbar.element.offsetHeight-window.innerHeight%2F2%2B10)%2C(%22auto%22!%3D%3De.options.height%7C%7Ce.element.classList.contains(%22vditor--fullscreen%22))%26%26(t.scrollTop%3Dn%2Bt.scrollTop-t.clientHeight%2F2%2B10)%7D%7D%2CTe%3Dfunction(e%2Ct)%7Bt.addEventListener(%22keydown%22%2C(function(t)%7Bif(!(e.options.hint.extend.length%3E1%7C%7Ce.toolbar.elements.emoji)%7C%7C!e.hint.select(t%2Ce))%7Bif(e.options.comment.enable%26%26%22wysiwyg%22%3D%3D%3De.currentMode%26%26(%22Backspace%22%3D%3D%3Dt.key%7C%7CR(%22%E2%8C%98X%22%2Ct))%26%26e.wysiwyg.getComments(e)%2C%22sv%22%3D%3D%3De.currentMode)%7Bif(function(e%2Ct)%7Bvar%20n%2Cr%2Ci%2Co%2Ca%3Bif(e.sv.composingLock%3Dt.isComposing%2Ct.isComposing)return!1%3Bif(-1!%3D%3Dt.key.indexOf(%22Arrow%22)%7C%7C%22Meta%22%3D%3D%3Dt.key%7C%7C%22Control%22%3D%3D%3Dt.key%7C%7C%22Alt%22%3D%3D%3Dt.key%7C%7C%22Shift%22%3D%3D%3Dt.key%7C%7C%22CapsLock%22%3D%3D%3Dt.key%7C%7C%22Escape%22%3D%3D%3Dt.key%7C%7C%2F%5EF%5Cd%7B1%2C2%7D%24%2F.test(t.key)%7C%7Ce.undo.recordFirstPosition(e%2Ct)%2C%22Enter%22!%3D%3Dt.key%26%26%22Tab%22!%3D%3Dt.key%26%26%22Backspace%22!%3D%3Dt.key%26%26-1%3D%3D%3Dt.key.indexOf(%22Arrow%22)%26%26!(0%2Cd.yl)(t)%26%26%22Escape%22!%3D%3Dt.key)return!1%3Bvar%20l%3D(0%2CN.zh)(e)%2Cs%3Dl.startContainer%3B3!%3D%3Dl.startContainer.nodeType%26%26%22DIV%22%3D%3D%3Dl.startContainer.tagName%26%26(s%3Dl.startContainer.childNodes%5Bl.startOffset-1%5D)%3Bvar%20c%3D(0%2Cy.a1)(s%2C%22data-type%22%2C%22text%22)%2Cu%3D(0%2Cy.a1)(s%2C%22data-type%22%2C%22blockquote-marker%22)%3Bif(!u%26%260%3D%3D%3Dl.startOffset%26%26c%26%26c.previousElementSibling%26%26%22blockquote-marker%22%3D%3D%3Dc.previousElementSibling.getAttribute(%22data-type%22)%26%26(u%3Dc.previousElementSibling)%2Cu%26%26%22Enter%22%3D%3D%3Dt.key%26%26!(0%2Cd.yl)(t)%26%26!t.altKey%26%26%22%22%3D%3D%3Du.nextElementSibling.textContent.trim()%26%26(0%2CN.im)(u%2Ce.sv.element%2Cl).start%3D%3D%3Du.textContent.length)return%22padding%22%3D%3D%3D(null%3D%3D%3D(n%3Du.previousElementSibling)%7C%7Cvoid%200%3D%3D%3Dn%3Fvoid%200%3An.getAttribute(%22data-type%22))%26%26u.previousElementSibling.setAttribute(%22data-action%22%2C%22enter-remove%22)%2Cu.remove()%2CDe(e)%2Ct.preventDefault()%2C!0%3Bvar%20p%3D(0%2Cy.a1)(s%2C%22data-type%22%2C%22li-marker%22)%2Cm%3D(0%2Cy.a1)(s%2C%22data-type%22%2C%22task-marker%22)%2Cf%3Dp%3Bif(f%7C%7Cm%26%26%22task-marker%22!%3D%3Dm.nextElementSibling.getAttribute(%22data-type%22)%26%26(f%3Dm)%2Cf%7C%7C0!%3D%3Dl.startOffset%7C%7C!c%7C%7C!c.previousElementSibling%7C%7C%22li-marker%22!%3D%3Dc.previousElementSibling.getAttribute(%22data-type%22)%26%26%22task-marker%22!%3D%3Dc.previousElementSibling.getAttribute(%22data-type%22)%7C%7C(f%3Dc.previousElementSibling)%2Cf)%7Bvar%20h%3D(0%2CN.im)(f%2Ce.sv.element%2Cl).start%2Cv%3D%22task-marker%22%3D%3D%3Df.getAttribute(%22data-type%22)%2Cg%3Df%3Bif(v%26%26(g%3Df.previousElementSibling.previousElementSibling.previousElementSibling)%2Ch%3D%3D%3Df.textContent.length)%7Bif(%22Enter%22%3D%3D%3Dt.key%26%26!(0%2Cd.yl)(t)%26%26!t.altKey%26%26!t.shiftKey%26%26%22%22%3D%3D%3Df.nextElementSibling.textContent.trim())return%22padding%22%3D%3D%3D(null%3D%3D%3D(r%3Dg.previousElementSibling)%7C%7Cvoid%200%3D%3D%3Dr%3Fvoid%200%3Ar.getAttribute(%22data-type%22))%3F(g.previousElementSibling.remove()%2CB(e))%3A(v%26%26(g.remove()%2Cf.previousElementSibling.previousElementSibling.remove()%2Cf.previousElementSibling.remove())%2Cf.nextElementSibling.remove()%2Cf.remove()%2CDe(e))%2Ct.preventDefault()%2C!0%3Bif(%22Tab%22%3D%3D%3Dt.key)return%20g.insertAdjacentHTML(%22beforebegin%22%2C%27%3Cspan%20data-type%3D%22padding%22%3E%27%2Bg.textContent.replace(%2F%5CS%2Fg%2C%22%20%22)%2B%22%3C%2Fspan%3E%22)%2C%2F%5E%5Cd%2F.test(g.textContent)%26%26(g.textContent%3Dg.textContent.replace(%2F%5E%5Cd%7B1%2C%7D%2F%2C%221%22)%2Cl.selectNodeContents(f.firstChild)%2Cl.collapse(!1))%2CB(e)%2Ct.preventDefault()%2C!0%7D%7Dif(dt(e%2Cl%2Ct))return!0%3Bvar%20w%3D(0%2Cy.a1)(s%2C%22data-block%22%2C%220%22)%2CE%3D(0%2Cb.S)(s%2C%22SPAN%22)%3Bif(%22Enter%22%3D%3D%3Dt.key%26%26!(0%2Cd.yl)(t)%26%26!t.altKey%26%26!t.shiftKey%26%26w)%7Bvar%20k%3D!1%2CS%3Dw.textContent.match(%2F%5E%5Cn%2B%2F)%3B(0%2CN.im)(w%2Ce.sv.element).start%3C%3D(S%3FS%5B0%5D.length%3A0)%26%26(k%3D!0)%3Bvar%20L%3D%22%5Cn%22%3Bif(E)%7Bif(%22enter-remove%22%3D%3D%3D(null%3D%3D%3D(i%3DE.previousElementSibling)%7C%7Cvoid%200%3D%3D%3Di%3Fvoid%200%3Ai.getAttribute(%22data-action%22)))return%20E.previousElementSibling.remove()%2CDe(e)%2Ct.preventDefault()%2C!0%3BL%2B%3DNe(E)%7Dreturn%20l.insertNode(document.createTextNode(L))%2Cl.collapse(!1)%2Cw%26%26%22%22!%3D%3Dw.textContent.trim()%26%26!k%3FB(e)%3ADe(e)%2Ct.preventDefault()%2C!0%7Dif(%22Backspace%22%3D%3D%3Dt.key%26%26!(0%2Cd.yl)(t)%26%26!t.altKey%26%26!t.shiftKey)%7Bif(E%26%26%22newline%22%3D%3D%3D(null%3D%3D%3D(o%3DE.previousElementSibling)%7C%7Cvoid%200%3D%3D%3Do%3Fvoid%200%3Ao.getAttribute(%22data-type%22))%26%261%3D%3D%3D(0%2CN.im)(E%2Ce.sv.element%2Cl).start%26%26-1%3D%3D%3DE.getAttribute(%22data-type%22).indexOf(%22code-block-%22))return%20l.setStart(E%2C0)%2Cl.extractContents()%2C%22%22!%3D%3DE.textContent.trim()%3FB(e)%3ADe(e)%2Ct.preventDefault()%2C!0%3Bif(w%26%260%3D%3D%3D(0%2CN.im)(w%2Ce.sv.element%2Cl).start%26%26w.previousElementSibling)%7Bl.extractContents()%3Bvar%20C%3Dw.previousElementSibling.lastElementChild%3Breturn%22newline%22%3D%3D%3DC.getAttribute(%22data-type%22)%26%26(C.remove()%2CC%3Dw.previousElementSibling.lastElementChild)%2C%22newline%22!%3D%3DC.getAttribute(%22data-type%22)%26%26(C.insertAdjacentHTML(%22afterend%22%2Cw.innerHTML)%2Cw.remove())%2C%22%22%3D%3D%3Dw.textContent.trim()%7C%7C(null%3D%3D%3D(a%3Dw.previousElementSibling)%7C%7Cvoid%200%3D%3D%3Da%3Fvoid%200%3Aa.querySelector(%27%5Bdata-type%3D%22code-block-open-marker%22%5D%27))%3F(%22newline%22!%3D%3DC.getAttribute(%22data-type%22)%26%26(l.selectNodeContents(C.lastChild)%2Cl.collapse(!1))%2CDe(e))%3AB(e)%2Ct.preventDefault()%2C!0%7D%7Dreturn!1%7D(e%2Ct))return%7Delse%20if(%22wysiwyg%22%3D%3D%3De.currentMode)%7Bif(function(e%2Ct)%7Bif(e.wysiwyg.composingLock%3Dt.isComposing%2Ct.isComposing)return!1%3B-1!%3D%3Dt.key.indexOf(%22Arrow%22)%7C%7C%22Meta%22%3D%3D%3Dt.key%7C%7C%22Control%22%3D%3D%3Dt.key%7C%7C%22Alt%22%3D%3D%3Dt.key%7C%7C%22Shift%22%3D%3D%3Dt.key%7C%7C%22CapsLock%22%3D%3D%3Dt.key%7C%7C%22Escape%22%3D%3D%3Dt.key%7C%7C%2F%5EF%5Cd%7B1%2C2%7D%24%2F.test(t.key)%7C%7Ce.undo.recordFirstPosition(e%2Ct)%3Bvar%20n%3D(0%2CN.zh)(e)%2Cr%3Dn.startContainer%3Bif(!Ke(t%2Ce%2Cr))return!1%3Bif(Fe(n%2Ce%2Ct)%2CEt(n)%2C%22Enter%22!%3D%3Dt.key%26%26%22Tab%22!%3D%3Dt.key%26%26%22Backspace%22!%3D%3Dt.key%26%26-1%3D%3D%3Dt.key.indexOf(%22Arrow%22)%26%26!(0%2Cd.yl)(t)%26%26%22Escape%22!%3D%3Dt.key%26%26%22Delete%22!%3D%3Dt.key)return!1%3Bvar%20o%3D(0%2Cy.F9)(r)%2Ca%3D(0%2Cy.lG)(r%2C%22P%22)%3Bif(ct(t%2Ce%2Ca%2Cn))return!0%3Bif(st(n%2Ce%2Ca%2Ct))return!0%3Bif(vt(e%2Ct%2Cn))return!0%3Bvar%20l%3D(0%2Cy.fb)(r%2C%22vditor-wysiwyg__block%22)%3Bif(l)%7Bif(%22Escape%22%3D%3D%3Dt.key%26%262%3D%3D%3Dl.children.length)return%20e.wysiwyg.popover.style.display%3D%22none%22%2Cl.firstElementChild.style.display%3D%22none%22%2Ce.wysiwyg.element.blur()%2Ct.preventDefault()%2C!0%3Bif(!(0%2Cd.yl)(t)%26%26!t.shiftKey%26%26t.altKey%26%26%22Enter%22%3D%3D%3Dt.key%26%26%22code-block%22%3D%3D%3Dl.getAttribute(%22data-type%22))%7Bvar%20s%3De.wysiwyg.popover.querySelector(%22.vditor-input%22)%3Breturn%20s.focus()%2Cs.select()%2Ct.preventDefault()%2C!0%7Dif(%220%22%3D%3D%3Dl.getAttribute(%22data-block%22))%7Bif(gt(e%2Ct%2Cl.firstElementChild%2Cn))return!0%3Bif(%24e(e%2Ct%2Cn%2Cl.firstElementChild%2Cl))return!0%3Bif(%22yaml-front-matter%22!%3D%3Dl.getAttribute(%22data-type%22)%26%26et(e%2Ct%2Cn%2Cl.firstElementChild%2Cl))return!0%7D%7Dif(yt(e%2Cn%2Ct%2Ca))return!0%3Bvar%20c%3D(0%2Cy.E2)(r%2C%22BLOCKQUOTE%22)%3Bif(c%26%26!t.shiftKey%26%26t.altKey%26%26%22Enter%22%3D%3D%3Dt.key)%7B(0%2Cd.yl)(t)%3Fn.setStartBefore(c)%3An.setStartAfter(c)%2C(0%2CN.Hc)(n)%3Bvar%20u%3Ddocument.createElement(%22p%22)%3Breturn%20u.setAttribute(%22data-block%22%2C%220%22)%2Cu.innerHTML%3D%22%5Cn%22%2Cn.insertNode(u)%2Cn.collapse(!0)%2C(0%2CN.Hc)(n)%2CX(e)%2CMe(e)%2Ct.preventDefault()%2C!0%7Dvar%20p%2Cm%3D(0%2Cb.W)(r)%3Bif(m)%7Bif(%22H6%22%3D%3D%3Dm.tagName%26%26r.textContent.length%3D%3D%3Dn.startOffset%26%26!(0%2Cd.yl)(t)%26%26!t.shiftKey%26%26!t.altKey%26%26%22Enter%22%3D%3D%3Dt.key)%7Bvar%20f%3Ddocument.createElement(%22p%22)%3Breturn%20f.textContent%3D%22%5Cn%22%2Cf.setAttribute(%22data-block%22%2C%220%22)%2Cr.parentElement.insertAdjacentElement(%22afterend%22%2Cf)%2Cn.setStart(f%2C0)%2C(0%2CN.Hc)(n)%2CX(e)%2CMe(e)%2Ct.preventDefault()%2C!0%7Dvar%20h%3Bif(R(%22%E2%8C%98%3D%22%2Ct))return(h%3DparseInt(m.tagName.substr(1)%2C10)-1)%3E0%26%26(ee(e%2C%22h%22%2Bh)%2CX(e))%2Ct.preventDefault()%2C!0%3Bif(R(%22%E2%8C%98-%22%2Ct))return(h%3DparseInt(m.tagName.substr(1)%2C10)%2B1)%3C7%26%26(ee(e%2C%22h%22%2Bh)%2CX(e))%2Ct.preventDefault()%2C!0%3B%22Backspace%22!%3D%3Dt.key%7C%7C(0%2Cd.yl)(t)%7C%7Ct.shiftKey%7C%7Ct.altKey%7C%7C1!%3D%3Dm.textContent.length%7C%7Cte(e)%7Dif(bt(e%2Cn%2Ct))return!0%3Bif(t.altKey%26%26%22Enter%22%3D%3D%3Dt.key%26%26!(0%2Cd.yl)(t)%26%26!t.shiftKey)%7Bvar%20v%3D(0%2Cy.lG)(r%2C%22A%22)%2Cg%3D(0%2Cy.a1)(r%2C%22data-type%22%2C%22link-ref%22)%2Cw%3D(0%2Cy.a1)(r%2C%22data-type%22%2C%22footnotes-ref%22)%3Bif(v%7C%7Cg%7C%7Cw%7C%7Cm%26%262%3D%3D%3Dm.tagName.length)%7Bvar%20E%3De.wysiwyg.popover.querySelector(%22input%22)%3BE.focus()%2CE.select()%7D%7Dif(re(e%2Ct))return!0%3Bif(R(%22%E2%87%A7%E2%8C%98U%22%2Ct)%26%26(p%3De.wysiwyg.popover.querySelector(%27%5Bdata-type%3D%22up%22%5D%27)))return%20p.click()%2Ct.preventDefault()%2C!0%3Bif(R(%22%E2%87%A7%E2%8C%98D%22%2Ct)%26%26(p%3De.wysiwyg.popover.querySelector(%27%5Bdata-type%3D%22down%22%5D%27)))return%20p.click()%2Ct.preventDefault()%2C!0%3Bif(dt(e%2Cn%2Ct))return!0%3Bif(!(0%2Cd.yl)(t)%26%26t.shiftKey%26%26!t.altKey%26%26%22Enter%22%3D%3D%3Dt.key%26%26%22LI%22!%3D%3Dr.parentElement.tagName%26%26%22P%22!%3D%3Dr.parentElement.tagName)return%5B%22STRONG%22%2C%22STRIKE%22%2C%22S%22%2C%22I%22%2C%22EM%22%2C%22B%22%5D.includes(r.parentElement.tagName)%3Fn.insertNode(document.createTextNode(%22%5Cn%22%2Bi.g.ZWSP))%3An.insertNode(document.createTextNode(%22%5Cn%22))%2Cn.collapse(!1)%2C(0%2CN.Hc)(n)%2CX(e)%2CMe(e)%2Ct.preventDefault()%2C!0%3Bif(%22Backspace%22%3D%3D%3Dt.key%26%26!(0%2Cd.yl)(t)%26%26!t.shiftKey%26%26!t.altKey%26%26%22%22%3D%3D%3Dn.toString())%7Bif(wt(e%2Cn%2Ct%2Ca))return!0%3Bif(o)%7Bif(o.previousElementSibling%26%26o.previousElementSibling.classList.contains(%22vditor-wysiwyg__block%22)%26%26%220%22%3D%3D%3Do.previousElementSibling.getAttribute(%22data-block%22)%26%26%22UL%22!%3D%3Do.tagName%26%26%22OL%22!%3D%3Do.tagName)%7Bvar%20k%3D(0%2CN.im)(o%2Ce.wysiwyg.element%2Cn).start%3Bif(0%3D%3D%3Dk%26%260%3D%3D%3Dn.startOffset%7C%7C1%3D%3D%3Dk%26%26o.innerText.startsWith(i.g.ZWSP))return%20ne(o.previousElementSibling.lastElementChild%2Ce%2C!1)%2C%22%22%3D%3D%3Do.innerHTML.trim().replace(i.g.ZWSP%2C%22%22)%26%26(o.remove()%2CX(e))%2Ct.preventDefault()%2C!0%7Dvar%20S%3Dn.startOffset%3Bif(%22%22%3D%3D%3Dn.toString()%26%263%3D%3D%3Dr.nodeType%26%26%22%5Cn%22%3D%3D%3Dr.textContent.charAt(S-2)%26%26r.textContent.charAt(S-1)!%3D%3Di.g.ZWSP%26%26%5B%22STRONG%22%2C%22STRIKE%22%2C%22S%22%2C%22I%22%2C%22EM%22%2C%22B%22%5D.includes(r.parentElement.tagName))return%20r.textContent%3Dr.textContent.substring(0%2CS-1)%2Bi.g.ZWSP%2Cn.setStart(r%2CS)%2Cn.collapse(!0)%2CX(e)%2Ct.preventDefault()%2C!0%3Br.textContent%3D%3D%3Di.g.ZWSP%26%261%3D%3D%3Dn.startOffset%26%26!r.previousSibling%26%26function(e)%7Bfor(var%20t%3De.startContainer.nextSibling%3Bt%26%26%22%22%3D%3D%3Dt.textContent%3B)t%3Dt.nextSibling%3Breturn!(!t%7C%7C3%3D%3D%3Dt.nodeType%7C%7C%22CODE%22!%3D%3Dt.tagName%26%26%22math-inline%22!%3D%3Dt.getAttribute(%22data-type%22)%26%26%22html-entity%22!%3D%3Dt.getAttribute(%22data-type%22)%26%26%22html-inline%22!%3D%3Dt.getAttribute(%22data-type%22))%7D(n)%26%26(r.textContent%3D%22%22)%2Co.querySelectorAll(%22span.vditor-wysiwyg__block%5Bdata-type%3D%27math-inline%27%5D%22).forEach((function(e)%7Be.firstElementChild.style.display%3D%22inline%22%2Ce.lastElementChild.style.display%3D%22none%22%7D))%2Co.querySelectorAll(%22span.vditor-wysiwyg__block%5Bdata-type%3D%27html-entity%27%5D%22).forEach((function(e)%7Be.firstElementChild.style.display%3D%22inline%22%2Ce.lastElementChild.style.display%3D%22none%22%7D))%7D%7Dif((0%2Cd.vU)()%26%261%3D%3D%3Dn.startOffset%26%26r.textContent.indexOf(i.g.ZWSP)%3E-1%26%26r.previousSibling%26%263!%3D%3Dr.previousSibling.nodeType%26%26%22CODE%22%3D%3D%3Dr.previousSibling.tagName%26%26(%22Backspace%22%3D%3D%3Dt.key%7C%7C%22ArrowLeft%22%3D%3D%3Dt.key))return%20n.selectNodeContents(r.previousSibling)%2Cn.collapse(!1)%2Ct.preventDefault()%2C!0%3Bif(kt(t%2Co%2Cn))return%20t.preventDefault()%2C!0%3Bif(Ze(n%2Ct.key)%2C%22ArrowDown%22%3D%3D%3Dt.key)%7Bvar%20L%3Dr.nextSibling%3BL%26%263!%3D%3DL.nodeType%26%26%22math-inline%22%3D%3D%3DL.getAttribute(%22data-type%22)%26%26n.setStartAfter(L)%7Dreturn!(!o%7C%7C!I(o%2Ce%2Ct%2Cn)%7C%7C(t.preventDefault()%2C0))%7D(e%2Ct))return%7Delse%20if(%22ir%22%3D%3D%3De.currentMode%26%26function(e%2Ct)%7Bif(e.ir.composingLock%3Dt.isComposing%2Ct.isComposing)return!1%3B-1!%3D%3Dt.key.indexOf(%22Arrow%22)%7C%7C%22Meta%22%3D%3D%3Dt.key%7C%7C%22Control%22%3D%3D%3Dt.key%7C%7C%22Alt%22%3D%3D%3Dt.key%7C%7C%22Shift%22%3D%3D%3Dt.key%7C%7C%22CapsLock%22%3D%3D%3Dt.key%7C%7C%22Escape%22%3D%3D%3Dt.key%7C%7C%2F%5EF%5Cd%7B1%2C2%7D%24%2F.test(t.key)%7C%7Ce.undo.recordFirstPosition(e%2Ct)%3Bvar%20n%3D(0%2CN.zh)(e)%2Cr%3Dn.startContainer%3Bif(!Ke(t%2Ce%2Cr))return!1%3Bif(Fe(n%2Ce%2Ct)%2CEt(n)%2C%22Enter%22!%3D%3Dt.key%26%26%22Tab%22!%3D%3Dt.key%26%26%22Backspace%22!%3D%3Dt.key%26%26-1%3D%3D%3Dt.key.indexOf(%22Arrow%22)%26%26!(0%2Cd.yl)(t)%26%26%22Escape%22!%3D%3Dt.key%26%26%22Delete%22!%3D%3Dt.key)return!1%3Bvar%20o%3D(0%2Cy.a1)(r%2C%22data-newline%22%2C%221%22)%3Bif(!(0%2Cd.yl)(t)%26%26!t.altKey%26%26!t.shiftKey%26%26%22Enter%22%3D%3D%3Dt.key%26%26o%26%26n.startOffset%3Co.textContent.length)%7Bvar%20a%3Do.previousElementSibling%3Ba%26%26(n.insertNode(document.createTextNode(a.textContent))%2Cn.collapse(!1))%3Bvar%20l%3Do.nextSibling%3Bl%26%26(n.insertNode(document.createTextNode(l.textContent))%2Cn.collapse(!0))%7Dvar%20s%3D(0%2Cy.lG)(r%2C%22P%22)%3Bif(ct(t%2Ce%2Cs%2Cn))return!0%3Bif(st(n%2Ce%2Cs%2Ct))return!0%3Bif(yt(e%2Cn%2Ct%2Cs))return!0%3Bvar%20c%3D(0%2Cy.fb)(r%2C%22vditor-ir__marker--pre%22)%3Bif(c%26%26%22PRE%22%3D%3D%3Dc.tagName)%7Bvar%20u%3Dc.firstChild%3Bif(gt(e%2Ct%2Cc%2Cn))return!0%3Bif((%22math-block%22%3D%3D%3Du.getAttribute(%22data-type%22)%7C%7C%22html-block%22%3D%3D%3Du.getAttribute(%22data-type%22))%26%26et(e%2Ct%2Cn%2Cu%2Cc.parentElement))return!0%3Bif(%24e(e%2Ct%2Cn%2Cu%2Cc.parentElement))return!0%7Dvar%20p%3D(0%2Cy.a1)(r%2C%22data-type%22%2C%22code-block-info%22)%3Bif(p)%7Bif(%22Enter%22%3D%3D%3Dt.key%7C%7C%22Tab%22%3D%3D%3Dt.key)return%20n.selectNodeContents(p.nextElementSibling.firstChild)%2Cn.collapse(!0)%2Ct.preventDefault()%2Cv(e%2C%5B%22hint%22%5D)%2C!0%3Bif(%22Backspace%22%3D%3D%3Dt.key)%7Bvar%20m%3D(0%2CN.im)(p%2Ce.ir.element).start%3B1%3D%3D%3Dm%26%26n.setStart(r%2C0)%2C2%3D%3D%3Dm%26%26(e.hint.recentLanguage%3D%22%22)%7Dif(et(e%2Ct%2Cn%2Cp%2Cp.parentElement))return%20v(e%2C%5B%22hint%22%5D)%2C!0%7Dvar%20f%3D(0%2Cy.lG)(r%2C%22TD%22)%7C%7C(0%2Cy.lG)(r%2C%22TH%22)%3Bif(t.key.indexOf(%22Arrow%22)%3E-1%26%26f)%7Bvar%20h%3DXe(f)%3Bif(h%26%26et(e%2Ct%2Cn%2Cf%2Ch))return!0%3Bvar%20g%3DYe(f)%3Bif(g%26%26%24e(e%2Ct%2Cn%2Cf%2Cg))return!0%7Dif(vt(e%2Ct%2Cn))return!0%3Bif(bt(e%2Cn%2Ct))return!0%3Bif(dt(e%2Cn%2Ct))return!0%3Bvar%20w%3D(0%2Cb.W)(r)%3Bif(w)%7Bvar%20E%3Bif(R(%22%E2%8C%98%3D%22%2Ct))return(E%3Dw.querySelector(%22.vditor-ir__marker--heading%22))%26%26E.textContent.trim().length%3E1%26%26Mt(e%2CE.textContent.substr(1))%2Ct.preventDefault()%2C!0%3Bif(R(%22%E2%8C%98-%22%2Ct))return(E%3Dw.querySelector(%22.vditor-ir__marker--heading%22))%26%26E.textContent.trim().length%3C6%26%26Mt(e%2CE.textContent.trim()%2B%22%23%20%22)%2Ct.preventDefault()%2C!0%7Dvar%20k%3D(0%2Cy.F9)(r)%3Bif(%22Backspace%22%3D%3D%3Dt.key%26%26!(0%2Cd.yl)(t)%26%26!t.shiftKey%26%26!t.altKey%26%26%22%22%3D%3D%3Dn.toString())%7Bif(wt(e%2Cn%2Ct%2Cs))return!0%3Bif(k%26%26k.previousElementSibling%26%26%22UL%22!%3D%3Dk.tagName%26%26%22OL%22!%3D%3Dk.tagName%26%26(%22code-block%22%3D%3D%3Dk.previousElementSibling.getAttribute(%22data-type%22)%7C%7C%22math-block%22%3D%3D%3Dk.previousElementSibling.getAttribute(%22data-type%22)))%7Bvar%20S%3D(0%2CN.im)(k%2Ce.ir.element%2Cn).start%3Bif(0%3D%3D%3DS%7C%7C1%3D%3D%3DS%26%26k.innerText.startsWith(i.g.ZWSP))return%20n.selectNodeContents(k.previousElementSibling.querySelector(%22.vditor-ir__marker--pre%20code%22))%2Cn.collapse(!1)%2CP(n%2Ce)%2C%22%22%3D%3D%3Dk.textContent.trim().replace(i.g.ZWSP%2C%22%22)%26%26(k.remove()%2CCt(e))%2Ct.preventDefault()%2C!0%7Dif(w)%7Bvar%20L%3Dw.firstElementChild.textContent.length%3B(0%2CN.im)(w%2Ce.ir.element).start%3D%3D%3DL%26%26(n.setStart(w.firstElementChild.firstChild%2CL-1)%2Cn.collapse(!0)%2C(0%2CN.Hc)(n))%7D%7Dreturn!((%22ArrowUp%22!%3D%3Dt.key%26%26%22ArrowDown%22!%3D%3Dt.key%7C%7C!k%7C%7C(k.querySelectorAll(%22.vditor-ir__node%22).forEach((function(e)%7Be.contains(r)%7C%7Ce.classList.add(%22vditor-ir__node--hidden%22)%7D))%2C!kt(t%2Ck%2Cn)))%26%26(Ze(n%2Ct.key)%2C!k%7C%7C!I(k%2Ce%2Ct%2Cn)%7C%7C(t.preventDefault()%2C0)))%7D(e%2Ct))return%3Bif(e.options.ctrlEnter%26%26R(%22%E2%8C%98Enter%22%2Ct))return%20e.options.ctrlEnter(a(e))%2Cvoid%20t.preventDefault()%3Bif(R(%22%E2%8C%98Z%22%2Ct)%26%26!e.toolbar.elements.undo)return%20e.undo.undo(e)%2Cvoid%20t.preventDefault()%3Bif(R(%22%E2%8C%98Y%22%2Ct)%26%26!e.toolbar.elements.redo)return%20e.undo.redo(e)%2Cvoid%20t.preventDefault()%3Bif(%22Escape%22%3D%3D%3Dt.key)return%22block%22%3D%3D%3De.hint.element.style.display%3Fe.hint.element.style.display%3D%22none%22%3Ae.options.esc%26%26!t.isComposing%26%26e.options.esc(a(e))%2Cvoid%20t.preventDefault()%3Bif((0%2Cd.yl)(t)%26%26t.altKey%26%26!t.shiftKey%26%26%2F%5EDigit%5B1-6%5D%24%2F.test(t.code))%7Bif(%22wysiwyg%22%3D%3D%3De.currentMode)%7Bvar%20n%3Dt.code.replace(%22Digit%22%2C%22H%22)%3B(0%2Cy.lG)(getSelection().getRangeAt(0).startContainer%2Cn)%3Fte(e)%3Aee(e%2Cn)%2CX(e)%7Delse%22sv%22%3D%3D%3De.currentMode%3FOe(e%2C%22%23%22.repeat(parseInt(t.code.replace(%22Digit%22%2C%22%22)%2C10))%2B%22%20%22)%3A%22ir%22%3D%3D%3De.currentMode%26%26Mt(e%2C%22%23%22.repeat(parseInt(t.code.replace(%22Digit%22%2C%22%22)%2C10))%2B%22%20%22)%3Breturn%20t.preventDefault()%2C!0%7Dif((0%2Cd.yl)(t)%26%26t.altKey%26%26!t.shiftKey%26%26%2F%5EDigit%5B7-9%5D%24%2F.test(t.code))return%22Digit7%22%3D%3D%3Dt.code%3Fge(e%2C%22wysiwyg%22%2Ct)%3A%22Digit8%22%3D%3D%3Dt.code%3Fge(e%2C%22ir%22%2Ct)%3A%22Digit9%22%3D%3D%3Dt.code%26%26ge(e%2C%22sv%22%2Ct)%2C!0%3Be.options.toolbar.find((function(n)%7Breturn!n.hotkey%7C%7Cn.toolbar%3F!!n.toolbar%26%26!!n.toolbar.find((function(n)%7Breturn!!n.hotkey%26%26(R(n.hotkey%2Ct)%3F(e.toolbar.elements%5Bn.name%5D.children%5B0%5D.dispatchEvent(new%20CustomEvent((0%2Cd.Le)()))%2Ct.preventDefault()%2C!0)%3Avoid%200)%7D))%3AR(n.hotkey%2Ct)%3F(e.toolbar.elements%5Bn.name%5D.children%5B0%5D.dispatchEvent(new%20CustomEvent((0%2Cd.Le)()))%2Ct.preventDefault()%2C!0)%3Avoid%200%7D))%7D%7D))%7D%2CAe%3Dfunction(e%2Ct)%7Bt.addEventListener(%22selectstart%22%2C(function(n)%7Bt.onmouseup%3Dfunction()%7BsetTimeout((function()%7Bvar%20t%3Dbe(e%5Be.currentMode%5D.element)%3Bt.trim()%3F(%22wysiwyg%22%3D%3D%3De.currentMode%26%26e.options.comment.enable%26%26((0%2Cy.a1)(n.target%2C%22data-type%22%2C%22footnotes-block%22)%7C%7C(0%2Cy.a1)(n.target%2C%22data-type%22%2C%22link-ref-defs-block%22)%3Fe.wysiwyg.hideComment()%3Ae.wysiwyg.showComment())%2Ce.options.select%26%26e.options.select(t))%3A%22wysiwyg%22%3D%3D%3De.currentMode%26%26e.options.comment.enable%26%26e.wysiwyg.hideComment()%7D))%7D%7D))%7D%2C_e%3Dfunction(e%2Ct)%7Bvar%20n%3D(0%2CN.zh)(e)%3Bn.extractContents()%2Cn.insertNode(document.createTextNode(Lute.Caret))%2Cn.insertNode(document.createTextNode(t))%3Bvar%20r%3D(0%2Cy.a1)(n.startContainer%2C%22data-block%22%2C%220%22)%3Br%7C%7C(r%3De.sv.element)%3Bvar%20i%3De.lute.SpinVditorSVDOM(r.textContent)%3Bi%3Di.indexOf(%27data-type%3D%22footnotes-link%22%27)%3E-1%7C%7Ci.indexOf(%27data-type%3D%22link-ref-defs-block%22%27)%3E-1%3F%22%3Cdiv%20data-block%3D%270%27%3E%22%2Bi%2B%22%3C%2Fdiv%3E%22%3A%22%3Cdiv%20data-block%3D%270%27%3E%22%2Bi.replace(%2F%3Cspan%20data-type%3D%22newline%22%3E%3Cbr%20%5C%2F%3E%3Cspan%20style%3D%22display%3A%20none%22%3E%5Cn%3C%5C%2Fspan%3E%3C%5C%2Fspan%3E%3Cspan%20data-type%3D%22newline%22%3E%3Cbr%20%5C%2F%3E%3Cspan%20style%3D%22display%3A%20none%22%3E%5Cn%3C%5C%2Fspan%3E%3C%5C%2Fspan%3E%3C%2Fg%2C%27%3Cspan%20data-type%3D%22newline%22%3E%3Cbr%20%2F%3E%3Cspan%20style%3D%22display%3A%20none%22%3E%5Cn%3C%2Fspan%3E%3C%2Fspan%3E%3Cspan%20data-type%3D%22newline%22%3E%3Cbr%20%2F%3E%3Cspan%20style%3D%22display%3A%20none%22%3E%5Cn%3C%2Fspan%3E%3C%2Fspan%3E%3C%2Fdiv%3E%3Cdiv%20data-block%3D%220%22%3E%3C%27)%2B%22%3C%2Fdiv%3E%22%2Cr.isEqualNode(e.sv.element)%3Fr.innerHTML%3Di%3Ar.outerHTML%3Di%2C(0%2CN.ib)(e.sv.element%2Cn)%2CMe(e)%7D%2Cxe%3Dfunction(e%2Ct%2Cn)%7Bvoid%200%3D%3D%3Dn%26%26(n%3D!0)%3Bvar%20r%3De%3Bfor(3%3D%3D%3Dr.nodeType%26%26(r%3Dr.parentElement)%3Br%3B)%7Bif(r.getAttribute(%22data-type%22)%3D%3D%3Dt)return%20r%3Br%3Dn%3Fr.previousElementSibling%3Ar.nextElementSibling%7Dreturn!1%7D%2CHe%3Dfunction(e%2Ct)%7Bw(%22SpinVditorSVDOM%22%2Ce%2C%22argument%22%2Ct.options.debugger)%3Bvar%20n%3Dt.lute.SpinVditorSVDOM(e)%3Breturn%20e%3Dn.indexOf(%27data-type%3D%22footnotes-link%22%27)%3E-1%7C%7Cn.indexOf(%27data-type%3D%22link-ref-defs-block%22%27)%3E-1%3F%22%3Cdiv%20data-block%3D%270%27%3E%22%2Bn%2B%22%3C%2Fdiv%3E%22%3A%22%3Cdiv%20data-block%3D%270%27%3E%22%2Bn.replace(%2F%3Cspan%20data-type%3D%22newline%22%3E%3Cbr%20%5C%2F%3E%3Cspan%20style%3D%22display%3A%20none%22%3E%5Cn%3C%5C%2Fspan%3E%3C%5C%2Fspan%3E%3Cspan%20data-type%3D%22newline%22%3E%3Cbr%20%5C%2F%3E%3Cspan%20style%3D%22display%3A%20none%22%3E%5Cn%3C%5C%2Fspan%3E%3C%5C%2Fspan%3E%3C%2Fg%2C%27%3Cspan%20data-type%3D%22newline%22%3E%3Cbr%20%2F%3E%3Cspan%20style%3D%22display%3A%20none%22%3E%5Cn%3C%2Fspan%3E%3C%2Fspan%3E%3Cspan%20data-type%3D%22newline%22%3E%3Cbr%20%2F%3E%3Cspan%20style%3D%22display%3A%20none%22%3E%5Cn%3C%2Fspan%3E%3C%2Fspan%3E%3C%2Fdiv%3E%3Cdiv%20data-block%3D%220%22%3E%3C%27)%2B%22%3C%2Fdiv%3E%22%2Cw(%22SpinVditorSVDOM%22%2Ce%2C%22result%22%2Ct.options.debugger)%2Ce%7D%2CNe%3Dfunction(e)%7Bvar%20t%3De.getAttribute(%22data-type%22)%2Cn%3De.previousElementSibling%2Cr%3Dt%26%26%22text%22!%3D%3Dt%26%26%22table%22!%3D%3Dt%26%26%22heading-marker%22!%3D%3Dt%26%26%22newline%22!%3D%3Dt%26%26%22yaml-front-matter-open-marker%22!%3D%3Dt%26%26%22yaml-front-matter-close-marker%22!%3D%3Dt%26%26%22code-block-info%22!%3D%3Dt%26%26%22code-block-close-marker%22!%3D%3Dt%26%26%22code-block-open-marker%22!%3D%3Dt%3Fe.textContent%3A%22%22%2Ci%3D!1%3Bfor(%22newline%22%3D%3D%3Dt%26%26(i%3D!0)%3Bn%26%26!i%3B)%7Bvar%20o%3Dn.getAttribute(%22data-type%22)%3Bif(%22li-marker%22%3D%3D%3Do%7C%7C%22blockquote-marker%22%3D%3D%3Do%7C%7C%22task-marker%22%3D%3D%3Do%7C%7C%22padding%22%3D%3D%3Do)%7Bvar%20a%3Dn.textContent%3Bif(%22li-marker%22!%3D%3Do%7C%7C%22code-block-open-marker%22!%3D%3Dt%26%26%22code-block-info%22!%3D%3Dt)if(%22code-block-close-marker%22%3D%3D%3Dt%26%26n.nextElementSibling.isSameNode(e))%7Bvar%20l%3Dxe(e%2C%22code-block-open-marker%22)%3Bl%26%26l.previousElementSibling%26%26(n%3Dl.previousElementSibling%2Cr%3Da%2Br)%7Delse%20r%3Da%2Br%3Belse%20r%3Da.replace(%2F%5CS%2Fg%2C%22%20%22)%2Br%7Delse%22newline%22%3D%3D%3Do%26%26(i%3D!0)%3Bn%3Dn.previousElementSibling%7Dreturn%20r%7D%2CDe%3Dfunction(e%2Ct)%7Bvoid%200%3D%3D%3Dt%26%26(t%3D%7BenableAddUndoStack%3A!0%2CenableHint%3A!1%2CenableInput%3A!0%7D)%2Ct.enableHint%26%26e.hint.render(e)%2Ce.preview.render(e)%3Bvar%20n%3Da(e)%3B%22function%22%3D%3Dtypeof%20e.options.input%26%26t.enableInput%26%26e.options.input(n)%2Ce.options.counter.enable%26%26e.counter.render(e%2Cn)%2Ce.options.cache.enable%26%26(0%2Cd.pK)()%26%26(localStorage.setItem(e.options.cache.id%2Cn)%2Ce.options.cache.after%26%26e.options.cache.after(n))%2Ce.devtools%26%26e.devtools.renderEchart(e)%2CclearTimeout(e.sv.processTimeoutId)%2Ce.sv.processTimeoutId%3Dwindow.setTimeout((function()%7Bt.enableAddUndoStack%26%26!e.sv.composingLock%26%26e.undo.addToUndoStack(e)%7D)%2Ce.options.undoDelay)%7D%2COe%3Dfunction(e%2Ct)%7Bvar%20n%3D(0%2CN.zh)(e)%2Cr%3D(0%2Cb.S)(n.startContainer%2C%22SPAN%22)%3Br%26%26%22%22!%3D%3Dr.textContent.trim()%26%26(t%3D%22%5Cn%22%2Bt)%2Cn.collapse(!0)%2Cdocument.execCommand(%22insertHTML%22%2C!1%2Ct)%7D%2CIe%3Dfunction(e%2Ct%2Cn%2Cr)%7Bvar%20i%3D(0%2CN.zh)(e)%2Co%3Dt.getAttribute(%22data-type%22)%3B0%3D%3D%3De.sv.element.childNodes.length%26%26(e.sv.element.innerHTML%3D%27%3Cspan%20data-type%3D%22p%22%20data-block%3D%220%22%3E%3Cspan%20data-type%3D%22text%22%3E%3Cwbr%3E%3C%2Fspan%3E%3C%2Fspan%3E%3Cspan%20data-type%3D%22newline%22%3E%3Cbr%3E%3Cspan%20style%3D%22display%3A%20none%22%3E%5Cn%3C%2Fspan%3E%3C%2Fspan%3E%27%2C(0%2CN.ib)(e.sv.element%2Ci))%3Bvar%20a%3D(0%2Cy.F9)(i.startContainer)%2Cl%3D(0%2Cb.S)(i.startContainer%2C%22SPAN%22)%3Bif(a)%7Bif(%22link%22%3D%3D%3Do)%7Bvar%20s%3Dvoid%200%3Breturn%20s%3D%22%22%3D%3D%3Di.toString()%3F%22%22%2Bn%2BLute.Caret%2Br%3A%22%22%2Bn%2Bi.toString()%2Br.replace(%22)%22%2CLute.Caret%2B%22)%22)%2Cvoid%20document.execCommand(%22insertHTML%22%2C!1%2Cs)%7Dif(%22italic%22%3D%3D%3Do%7C%7C%22bold%22%3D%3D%3Do%7C%7C%22strike%22%3D%3D%3Do%7C%7C%22inline-code%22%3D%3D%3Do%7C%7C%22code%22%3D%3D%3Do%7C%7C%22table%22%3D%3D%3Do%7C%7C%22line%22%3D%3D%3Do)%7Bs%3Dvoid%200%3Breturn%20s%3D%22%22%3D%3D%3Di.toString()%3F%22%22%2Bn%2BLute.Caret%2B(%22code%22%3D%3D%3Do%3F%22%22%3Ar)%3A%22%22%2Bn%2Bi.toString()%2BLute.Caret%2B(%22code%22%3D%3D%3Do%3F%22%22%3Ar)%2C%22table%22%3D%3D%3Do%7C%7C%22code%22%3D%3D%3Do%26%26l%26%26%22%22!%3D%3Dl.textContent%3Fs%3D%22%5Cn%5Cn%22%2Bs%3A%22line%22%3D%3D%3Do%26%26(s%3D%22%5Cn%5Cn%22%2Bn%2B%22%5Cn%22%2BLute.Caret)%2Cvoid%20document.execCommand(%22insertHTML%22%2C!1%2Cs)%7Dif((%22check%22%3D%3D%3Do%7C%7C%22list%22%3D%3D%3Do%7C%7C%22ordered-list%22%3D%3D%3Do%7C%7C%22quote%22%3D%3D%3Do)%26%26l)%7Bvar%20d%3D%22*%20%22%3B%22check%22%3D%3D%3Do%3Fd%3D%22*%20%5B%20%5D%20%22%3A%22ordered-list%22%3D%3D%3Do%3Fd%3D%221.%20%22%3A%22quote%22%3D%3D%3Do%26%26(d%3D%22%3E%20%22)%3Bvar%20c%3Dxe(l%2C%22newline%22)%3Breturn%20c%3Fc.insertAdjacentText(%22afterend%22%2Cd)%3Aa.insertAdjacentText(%22afterbegin%22%2Cd)%2Cvoid%20B(e)%7D(0%2CN.ib)(e.sv.element%2Ci)%2CDe(e)%7D%7D%2Cje%3Dfunction(e)%7Bswitch(e.currentMode)%7Bcase%22ir%22%3Areturn%20e.ir.element%3Bcase%22wysiwyg%22%3Areturn%20e.wysiwyg.element%3Bcase%22sv%22%3Areturn%20e.sv.element%7D%7D%2CRe%3Dfunction(e%2Ct)%7Be.options.upload.setHeaders%26%26(e.options.upload.headers%3De.options.upload.setHeaders())%2Ce.options.upload.headers%26%26Object.keys(e.options.upload.headers).forEach((function(n)%7Bt.setRequestHeader(n%2Ce.options.upload.headers%5Bn%5D)%7D))%7D%2CPe%3Dfunction(e%2Ct%2Cn%2Cr)%7Breturn%20new(n%7C%7C(n%3DPromise))((function(i%2Co)%7Bfunction%20a(e)%7Btry%7Bs(r.next(e))%7Dcatch(e)%7Bo(e)%7D%7Dfunction%20l(e)%7Btry%7Bs(r.throw(e))%7Dcatch(e)%7Bo(e)%7D%7Dfunction%20s(e)%7Bvar%20t%3Be.done%3Fi(e.value)%3A(t%3De.value%2Ct%20instanceof%20n%3Ft%3Anew%20n((function(e)%7Be(t)%7D))).then(a%2Cl)%7Ds((r%3Dr.apply(e%2Ct%7C%7C%5B%5D)).next())%7D))%7D%2Cqe%3Dfunction(e%2Ct)%7Bvar%20n%2Cr%2Ci%2Co%2Ca%3D%7Blabel%3A0%2Csent%3Afunction()%7Bif(1%26i%5B0%5D)throw%20i%5B1%5D%3Breturn%20i%5B1%5D%7D%2Ctrys%3A%5B%5D%2Cops%3A%5B%5D%7D%3Breturn%20o%3D%7Bnext%3Al(0)%2Cthrow%3Al(1)%2Creturn%3Al(2)%7D%2C%22function%22%3D%3Dtypeof%20Symbol%26%26(o%5BSymbol.iterator%5D%3Dfunction()%7Breturn%20this%7D)%2Co%3Bfunction%20l(o)%7Breturn%20function(l)%7Breturn%20function(o)%7Bif(n)throw%20new%20TypeError(%22Generator%20is%20already%20executing.%22)%3Bfor(%3Ba%3B)try%7Bif(n%3D1%2Cr%26%26(i%3D2%26o%5B0%5D%3Fr.return%3Ao%5B0%5D%3Fr.throw%7C%7C((i%3Dr.return)%26%26i.call(r)%2C0)%3Ar.next)%26%26!(i%3Di.call(r%2Co%5B1%5D)).done)return%20i%3Bswitch(r%3D0%2Ci%26%26(o%3D%5B2%26o%5B0%5D%2Ci.value%5D)%2Co%5B0%5D)%7Bcase%200%3Acase%201%3Ai%3Do%3Bbreak%3Bcase%204%3Areturn%20a.label%2B%2B%2C%7Bvalue%3Ao%5B1%5D%2Cdone%3A!1%7D%3Bcase%205%3Aa.label%2B%2B%2Cr%3Do%5B1%5D%2Co%3D%5B0%5D%3Bcontinue%3Bcase%207%3Ao%3Da.ops.pop()%2Ca.trys.pop()%3Bcontinue%3Bdefault%3Aif(!(i%3Da.trys%2C(i%3Di.length%3E0%26%26i%5Bi.length-1%5D)%7C%7C6!%3D%3Do%5B0%5D%26%262!%3D%3Do%5B0%5D))%7Ba%3D0%3Bcontinue%7Dif(3%3D%3D%3Do%5B0%5D%26%26(!i%7C%7Co%5B1%5D%3Ei%5B0%5D%26%26o%5B1%5D%3Ci%5B3%5D))%7Ba.label%3Do%5B1%5D%3Bbreak%7Dif(6%3D%3D%3Do%5B0%5D%26%26a.label%3Ci%5B1%5D)%7Ba.label%3Di%5B1%5D%2Ci%3Do%3Bbreak%7Dif(i%26%26a.label%3Ci%5B2%5D)%7Ba.label%3Di%5B2%5D%2Ca.ops.push(o)%3Bbreak%7Di%5B2%5D%26%26a.ops.pop()%2Ca.trys.pop()%3Bcontinue%7Do%3Dt.call(e%2Ca)%7Dcatch(e)%7Bo%3D%5B6%2Ce%5D%2Cr%3D0%7Dfinally%7Bn%3Di%3D0%7Dif(5%26o%5B0%5D)throw%20o%5B1%5D%3Breturn%7Bvalue%3Ao%5B0%5D%3Fo%5B1%5D%3Avoid%200%2Cdone%3A!0%7D%7D(%5Bo%2Cl%5D)%7D%7D%7D%2CBe%3Dfunction()%7Bthis.isUploading%3D!1%2Cthis.element%3Ddocument.createElement(%22div%22)%2Cthis.element.className%3D%22vditor-upload%22%7D%2CVe%3Dfunction(e%2Ct%2Cn)%7Breturn%20Pe(void%200%2Cvoid%200%2Cvoid%200%2C(function()%7Bvar%20r%2Ci%2Co%2Ca%2Cl%2Cs%2Cd%2Cc%2Cu%2Cp%2Cm%2Cf%2Ch%2Cv%3Breturn%20qe(this%2C(function(g)%7Bswitch(g.label)%7Bcase%200%3Afor(r%3D%5B%5D%2Ci%3D!0%3D%3D%3De.options.upload.multiple%3Ft.length%3A1%2Cf%3D0%3Bf%3Ci%3Bf%2B%2B)(o%3Dt%5Bf%5D)instanceof%20DataTransferItem%26%26(o%3Do.getAsFile())%2Cr.push(o)%3Breturn%20e.options.upload.handler%3F%5B4%2Ce.options.upload.handler(r)%5D%3A%5B3%2C2%5D%3Bcase%201%3Areturn%20a%3Dg.sent()%2Cn%26%26(n.value%3D%22%22)%2C%22string%22%3D%3Dtypeof%20a%3F(e.tip.show(a)%2C%5B2%5D)%3A%5B2%5D%3Bcase%202%3Areturn%20e.options.upload.url%26%26e.upload%3Fe.options.upload.file%3F%5B4%2Ce.options.upload.file(r)%5D%3A%5B3%2C4%5D%3A(n%26%26(n.value%3D%22%22)%2Ce.tip.show(%22please%20config%3A%20options.upload.url%22)%2C%5B2%5D)%3Bcase%203%3Ar%3Dg.sent()%2Cg.label%3D4%3Bcase%204%3Aif(e.options.upload.validate%26%26%22string%22%3D%3Dtypeof(a%3De.options.upload.validate(r)))return%20e.tip.show(a)%2C%5B2%5D%3Bif(l%3Dje(e)%2Ce.upload.range%3D(0%2CN.zh)(e)%2Cs%3Dfunction(e%2Ct)%7Be.tip.hide()%3Bfor(var%20n%3D%5B%5D%2Cr%3D%22%22%2Ci%3D%22%22%2Co%3D(e.options.lang%2Ce.options%2Cfunction(o%2Ca)%7Bvar%20l%3Dt%5Ba%5D%2Cs%3D!0%3Bl.name%7C%7C(r%2B%3D%22%3Cli%3E%22%2Bwindow.VditorI18n.nameEmpty%2B%22%3C%2Fli%3E%22%2Cs%3D!1)%2Cl.size%3Ee.options.upload.max%26%26(r%2B%3D%22%3Cli%3E%22%2Bl.name%2B%22%20%22%2Bwindow.VditorI18n.over%2B%22%20%22%2Be.options.upload.max%2F1024%2F1024%2B%22M%3C%2Fli%3E%22%2Cs%3D!1)%3Bvar%20d%3Dl.name.lastIndexOf(%22.%22)%2Cc%3Dl.name.substr(d)%2Cu%3De.options.upload.filename(l.name.substr(0%2Cd))%2Bc%3Be.options.upload.accept%26%26(e.options.upload.accept.split(%22%2C%22).some((function(e)%7Bvar%20t%3De.trim()%3Bif(0%3D%3D%3Dt.indexOf(%22.%22))%7Bif(c.toLowerCase()%3D%3D%3Dt.toLowerCase())return!0%7Delse%20if(l.type.split(%22%2F%22)%5B0%5D%3D%3D%3Dt.split(%22%2F%22)%5B0%5D)return!0%3Breturn!1%7D))%7C%7C(r%2B%3D%22%3Cli%3E%22%2Bl.name%2B%22%20%22%2Bwindow.VditorI18n.fileTypeError%2B%22%3C%2Fli%3E%22%2Cs%3D!1))%2Cs%26%26(n.push(l)%2Ci%2B%3D%22%3Cli%3E%22%2Bu%2B%22%20%22%2Bwindow.VditorI18n.uploading%2B%22%3C%2Fli%3E%22)%7D)%2Ca%3Dt.length%2Cl%3D0%3Bl%3Ca%3Bl%2B%2B)o(0%2Cl)%3Breturn%20e.tip.show(%22%3Cul%3E%22%2Br%2Bi%2B%22%3C%2Ful%3E%22)%2Cn%7D(e%2Cr)%2C0%3D%3D%3Ds.length)return%20n%26%26(n.value%3D%22%22)%2C%5B2%5D%3Bfor(d%3Dnew%20FormData%2Cc%3De.options.upload.extraData%2Cu%3D0%2Cp%3DObject.keys(c)%3Bu%3Cp.length%3Bu%2B%2B)m%3Dp%5Bu%5D%2Cd.append(m%2Cc%5Bm%5D)%3Bfor(f%3D0%2Ch%3Ds.length%3Bf%3Ch%3Bf%2B%2B)d.append(e.options.upload.fieldName%2Cs%5Bf%5D)%3Breturn(v%3Dnew%20XMLHttpRequest).open(%22POST%22%2Ce.options.upload.url)%2Ce.options.upload.token%26%26v.setRequestHeader(%22X-Upload-Token%22%2Ce.options.upload.token)%2Ce.options.upload.withCredentials%26%26(v.withCredentials%3D!0)%2CRe(e%2Cv)%2Ce.upload.isUploading%3D!0%2Cl.setAttribute(%22contenteditable%22%2C%22false%22)%2Cv.onreadystatechange%3Dfunction()%7Bif(v.readyState%3D%3D%3DXMLHttpRequest.DONE)%7Bif(e.upload.isUploading%3D!1%2Cl.setAttribute(%22contenteditable%22%2C%22true%22)%2Cv.status%3E%3D200%26%26v.status%3C300)if(e.options.upload.success)e.options.upload.success(l%2Cv.responseText)%3Belse%7Bvar%20r%3Dv.responseText%3Be.options.upload.format%26%26(r%3De.options.upload.format(t%2Cv.responseText))%2Cfunction(e%2Ct)%7Bje(t).focus()%3Bvar%20n%3DJSON.parse(e)%2Cr%3D%22%22%3B1%3D%3D%3Dn.code%26%26(r%3D%22%22%2Bn.msg)%2Cn.data.errFiles%26%26n.data.errFiles.length%3E0%26%26(r%3D%22%3Cul%3E%3Cli%3E%22%2Br%2B%22%3C%2Fli%3E%22%2Cn.data.errFiles.forEach((function(e)%7Bvar%20n%3De.lastIndexOf(%22.%22)%2Ci%3Dt.options.upload.filename(e.substr(0%2Cn))%2Be.substr(n)%3Br%2B%3D%22%3Cli%3E%22%2Bi%2B%22%20%22%2Bwindow.VditorI18n.uploadError%2B%22%3C%2Fli%3E%22%7D))%2Cr%2B%3D%22%3C%2Ful%3E%22)%2Cr%3Ft.tip.show(r)%3At.tip.hide()%3Bvar%20i%3D%22%22%3BObject.keys(n.data.succMap).forEach((function(e)%7Bvar%20r%3Dn.data.succMap%5Be%5D%2Co%3De.lastIndexOf(%22.%22)%2Ca%3De.substr(o)%2Cl%3Dt.options.upload.filename(e.substr(0%2Co))%2Ba%3B0%3D%3D%3D(a%3Da.toLowerCase()).indexOf(%22.wav%22)%7C%7C0%3D%3D%3Da.indexOf(%22.mp3%22)%7C%7C0%3D%3D%3Da.indexOf(%22.ogg%22)%3F%22wysiwyg%22%3D%3D%3Dt.currentMode%3Fi%2B%3D%27%3Cdiv%20class%3D%22vditor-wysiwyg__block%22%20data-type%3D%22html-block%22%5Cn%20data-block%3D%220%22%3E%3Cpre%3E%3Ccode%3E%26lt%3Baudio%20controls%3D%22controls%22%20src%3D%22%27%2Br%2B%27%22%26gt%3B%26lt%3B%2Faudio%26gt%3B%3C%2Fcode%3E%3C%2Fpre%3E%3Cpre%20class%3D%22vditor-wysiwyg__preview%22%20data-render%3D%221%22%3E%3Caudio%20controls%3D%22controls%22%20src%3D%22%27%2Br%2B%27%22%3E%3C%2Faudio%3E%3C%2Fpre%3E%3C%2Fdiv%3E%5Cn%27%3A%22ir%22%3D%3D%3Dt.currentMode%3Fi%2B%3D%27%3Caudio%20controls%3D%22controls%22%20src%3D%22%27%2Br%2B%27%22%3E%3C%2Faudio%3E%5Cn%27%3Ai%2B%3D%22%5B%22%2Bl%2B%22%5D(%22%2Br%2B%22)%5Cn%22%3A0%3D%3D%3Da.indexOf(%22.apng%22)%7C%7C0%3D%3D%3Da.indexOf(%22.bmp%22)%7C%7C0%3D%3D%3Da.indexOf(%22.gif%22)%7C%7C0%3D%3D%3Da.indexOf(%22.ico%22)%7C%7C0%3D%3D%3Da.indexOf(%22.cur%22)%7C%7C0%3D%3D%3Da.indexOf(%22.jpg%22)%7C%7C0%3D%3D%3Da.indexOf(%22.jpeg%22)%7C%7C0%3D%3D%3Da.indexOf(%22.jfif%22)%7C%7C0%3D%3D%3Da.indexOf(%22.pjp%22)%7C%7C0%3D%3D%3Da.indexOf(%22.pjpeg%22)%7C%7C0%3D%3D%3Da.indexOf(%22.png%22)%7C%7C0%3D%3D%3Da.indexOf(%22.svg%22)%7C%7C0%3D%3D%3Da.indexOf(%22.webp%22)%3F%22wysiwyg%22%3D%3D%3Dt.currentMode%3Fi%2B%3D%27%3Cimg%20alt%3D%22%27%2Bl%2B%27%22%20src%3D%22%27%2Br%2B%27%22%3E%5Cn%27%3Ai%2B%3D%22!%5B%22%2Bl%2B%22%5D(%22%2Br%2B%22)%5Cn%22%3A%22wysiwyg%22%3D%3D%3Dt.currentMode%3Fi%2B%3D%27%3Ca%20href%3D%22%27%2Br%2B%27%22%3E%27%2Bl%2B%22%3C%2Fa%3E%5Cn%22%3Ai%2B%3D%22%5B%22%2Bl%2B%22%5D(%22%2Br%2B%22)%5Cn%22%7D))%2C(0%2CN.Hc)(t.upload.range)%2Cdocument.execCommand(%22insertHTML%22%2C!1%2Ci)%2Ct.upload.range%3DgetSelection().getRangeAt(0).cloneRange()%7D(r%2Ce)%7Delse%20e.options.upload.error%3Fe.options.upload.error(v.responseText)%3Ae.tip.show(v.responseText)%3Bn%26%26(n.value%3D%22%22)%2Ce.upload.element.style.display%3D%22none%22%7D%7D%2Cv.upload.onprogress%3Dfunction(t)%7Bif(t.lengthComputable)%7Bvar%20n%3Dt.loaded%2Ft.total*100%3Be.upload.element.style.display%3D%22block%22%2Ce.upload.element.style.width%3Dn%2B%22%25%22%7D%7D%2Cv.send(d)%2C%5B2%5D%7D%7D))%7D))%7D%2CUe%3Dfunction(e%2Ct%2Cn)%7Bvar%20r%2Co%3D(0%2Cy.F9)(t.startContainer)%3Bif(o%7C%7C(o%3De.wysiwyg.element)%2Cn%26%26%22formatItalic%22!%3D%3Dn.inputType%26%26%22deleteByDrag%22!%3D%3Dn.inputType%26%26%22insertFromDrop%22!%3D%3Dn.inputType%26%26%22formatBold%22!%3D%3Dn.inputType%26%26%22formatRemove%22!%3D%3Dn.inputType%26%26%22formatStrikeThrough%22!%3D%3Dn.inputType%26%26%22insertUnorderedList%22!%3D%3Dn.inputType%26%26%22insertOrderedList%22!%3D%3Dn.inputType%26%26%22formatOutdent%22!%3D%3Dn.inputType%26%26%22formatIndent%22!%3D%3Dn.inputType%26%26%22%22!%3D%3Dn.inputType%7C%7C!n)%7Bvar%20a%3Dfunction(e)%7Bfor(var%20t%3De.previousSibling%3Bt%3B)%7Bif(3!%3D%3Dt.nodeType%26%26%22A%22%3D%3D%3Dt.tagName%26%26!t.previousSibling%26%26%22%22%3D%3D%3Dt.innerHTML.replace(i.g.ZWSP%2C%22%22)%26%26t.nextSibling)return%20t%3Bt%3Dt.previousSibling%7Dreturn!1%7D(t.startContainer)%3Ba%26%26a.remove()%2Ce.wysiwyg.element.querySelectorAll(%22wbr%22).forEach((function(e)%7Be.remove()%7D))%2Ct.insertNode(document.createElement(%22wbr%22))%2Co.querySelectorAll(%22%5Bstyle%5D%22).forEach((function(e)%7Be.removeAttribute(%22style%22)%7D))%2Co.querySelectorAll(%22.vditor-comment%22).forEach((function(e)%7B%22%22%3D%3D%3De.textContent.trim()%26%26(e.classList.remove(%22vditor-comment%22%2C%22vditor-comment--focus%22)%2Ce.removeAttribute(%22data-cmtids%22))%7D))%2Cnull%3D%3D%3D(r%3Do.previousElementSibling)%7C%7Cvoid%200%3D%3D%3Dr%7C%7Cr.querySelectorAll(%22.vditor-comment%22).forEach((function(e)%7B%22%22%3D%3D%3De.textContent.trim()%26%26(e.classList.remove(%22vditor-comment%22%2C%22vditor-comment--focus%22)%2Ce.removeAttribute(%22data-cmtids%22))%7D))%3Bvar%20l%3D%22%22%3B%22link-ref-defs-block%22%3D%3D%3Do.getAttribute(%22data-type%22)%26%26(o%3De.wysiwyg.element)%3Bvar%20s%2Cd%3Do.isEqualNode(e.wysiwyg.element)%2Cc%3D(0%2Cy.a1)(o%2C%22data-type%22%2C%22footnotes-block%22)%3Bif(d)l%3Do.innerHTML%3Belse%7Bvar%20u%3D(0%2Cy.O9)(t.startContainer)%3Bif(u%26%26!c)%7Bvar%20p%3D(0%2Cb.S)(t.startContainer%2C%22BLOCKQUOTE%22)%3Bo%3Dp%3F(0%2Cy.F9)(t.startContainer)%7C%7Co%3Au%7Dif(c%26%26(o%3Dc)%2Cl%3Do.outerHTML%2C%22UL%22%3D%3D%3Do.tagName%7C%7C%22OL%22%3D%3D%3Do.tagName)%7Bvar%20m%3Do.previousElementSibling%2Cf%3Do.nextElementSibling%3B!m%7C%7C%22UL%22!%3D%3Dm.tagName%26%26%22OL%22!%3D%3Dm.tagName%7C%7C(l%3Dm.outerHTML%2Bl%2Cm.remove())%2C!f%7C%7C%22UL%22!%3D%3Df.tagName%26%26%22OL%22!%3D%3Df.tagName%7C%7C(l%2B%3Df.outerHTML%2Cf.remove())%2Cl%3Dl.replace(%22%3Cdiv%3E%3Cwbr%3E%3Cbr%3E%3C%2Fdiv%3E%22%2C%22%3Cli%3E%3Cp%3E%3Cwbr%3E%3Cbr%3E%3C%2Fp%3E%3C%2Fli%3E%22)%7Do.innerText.startsWith(%22%60%60%60%22)%7C%7C(e.wysiwyg.element.querySelectorAll(%22%5Bdata-type%3D%27link-ref-defs-block%27%5D%22).forEach((function(e)%7Be%26%26!o.isEqualNode(e)%26%26(l%2B%3De.outerHTML%2Ce.remove())%7D))%2Ce.wysiwyg.element.querySelectorAll(%22%5Bdata-type%3D%27footnotes-block%27%5D%22).forEach((function(e)%7Be%26%26!o.isEqualNode(e)%26%26(l%2B%3De.outerHTML%2Ce.remove())%7D)))%7Dif(%27%3Cp%20data-block%3D%220%22%3E%60%60%60%3Cwbr%3E%3C%2Fp%3E%27%3D%3D%3D(l%3Dl.replace(%2F%3C%5C%2F(strong%7Cb)%3E%3Cstrong%20data-marker%3D%22%5CW%7B2%7D%22%3E%2Fg%2C%22%22).replace(%2F%3C%5C%2F(em%7Ci)%3E%3Cem%20data-marker%3D%22%5CW%7B1%7D%22%3E%2Fg%2C%22%22).replace(%2F%3C%5C%2F(s%7Cstrike)%3E%3Cs%20data-marker%3D%22%7E%7B1%2C2%7D%22%3E%2Fg%2C%22%22))%26%26e.hint.recentLanguage%26%26(l%3D%27%3Cp%20data-block%3D%220%22%3E%60%60%60%3Cwbr%3E%3C%2Fp%3E%27.replace(%22%60%60%60%22%2C%22%60%60%60%22%2Be.hint.recentLanguage))%2Cw(%22SpinVditorDOM%22%2Cl%2C%22argument%22%2Ce.options.debugger)%2Cl%3De.lute.SpinVditorDOM(l)%2Cw(%22SpinVditorDOM%22%2Cl%2C%22result%22%2Ce.options.debugger)%2Cd)o.innerHTML%3Dl%3Belse%20if(o.outerHTML%3Dl%2Cc)%7Bvar%20h%3D(0%2Cy.E2)(e.wysiwyg.element.querySelector(%22wbr%22)%2C%22LI%22)%3Bif(h)%7Bvar%20v%3De.wysiwyg.element.querySelector(%27sup%5Bdata-type%3D%22footnotes-ref%22%5D%5Bdata-footnotes-label%3D%22%27%2Bh.getAttribute(%22data-marker%22)%2B%27%22%5D%27)%3Bv%26%26v.setAttribute(%22aria-label%22%2Ch.textContent.trim().substr(0%2C24))%7D%7Dvar%20g%2CE%3De.wysiwyg.element.querySelectorAll(%22%5Bdata-type%3D%27link-ref-defs-block%27%5D%22)%3BE.forEach((function(e%2Ct)%7B0%3D%3D%3Dt%3Fs%3De%3A(s.insertAdjacentHTML(%22beforeend%22%2Ce.innerHTML)%2Ce.remove())%7D))%2CE.length%3E0%26%26e.wysiwyg.element.insertAdjacentElement(%22beforeend%22%2CE%5B0%5D)%3Bvar%20k%3De.wysiwyg.element.querySelectorAll(%22%5Bdata-type%3D%27footnotes-block%27%5D%22)%3Bk.forEach((function(e%2Ct)%7B0%3D%3D%3Dt%3Fg%3De%3A(g.insertAdjacentHTML(%22beforeend%22%2Ce.innerHTML)%2Ce.remove())%7D))%2Ck.length%3E0%26%26e.wysiwyg.element.insertAdjacentElement(%22beforeend%22%2Ck%5B0%5D)%2C(0%2CN.ib)(e.wysiwyg.element%2Ct)%2Ce.wysiwyg.element.querySelectorAll(%22.vditor-wysiwyg__preview%5Bdata-render%3D%272%27%5D%22).forEach((function(t)%7BH(t%2Ce)%7D))%2Cn%26%26(%22deleteContentBackward%22%3D%3D%3Dn.inputType%7C%7C%22deleteContentForward%22%3D%3D%3Dn.inputType)%26%26e.options.comment.enable%26%26(e.wysiwyg.triggerRemoveComment(e)%2Ce.options.comment.adjustTop(e.wysiwyg.getComments(e%2C!0)))%7DD(e)%2CX(e%2C%7BenableAddUndoStack%3A!0%2CenableHint%3A!0%2CenableInput%3A!0%7D)%7D%2CWe%3Dfunction(e%2Ct)%7Breturn%20Object.defineProperty%3FObject.defineProperty(e%2C%22raw%22%2C%7Bvalue%3At%7D)%3Ae.raw%3Dt%2Ce%7D%2Cze%3Dfunction(e%2Ct%2Cn%2Cr)%7Breturn%20new(n%7C%7C(n%3DPromise))((function(i%2Co)%7Bfunction%20a(e)%7Btry%7Bs(r.next(e))%7Dcatch(e)%7Bo(e)%7D%7Dfunction%20l(e)%7Btry%7Bs(r.throw(e))%7Dcatch(e)%7Bo(e)%7D%7Dfunction%20s(e)%7Bvar%20t%3Be.done%3Fi(e.value)%3A(t%3De.value%2Ct%20instanceof%20n%3Ft%3Anew%20n((function(e)%7Be(t)%7D))).then(a%2Cl)%7Ds((r%3Dr.apply(e%2Ct%7C%7C%5B%5D)).next())%7D))%7D%2CGe%3Dfunction(e%2Ct)%7Bvar%20n%2Cr%2Ci%2Co%2Ca%3D%7Blabel%3A0%2Csent%3Afunction()%7Bif(1%26i%5B0%5D)throw%20i%5B1%5D%3Breturn%20i%5B1%5D%7D%2Ctrys%3A%5B%5D%2Cops%3A%5B%5D%7D%3Breturn%20o%3D%7Bnext%3Al(0)%2Cthrow%3Al(1)%2Creturn%3Al(2)%7D%2C%22function%22%3D%3Dtypeof%20Symbol%26%26(o%5BSymbol.iterator%5D%3Dfunction()%7Breturn%20this%7D)%2Co%3Bfunction%20l(o)%7Breturn%20function(l)%7Breturn%20function(o)%7Bif(n)throw%20new%20TypeError(%22Generator%20is%20already%20executing.%22)%3Bfor(%3Ba%3B)try%7Bif(n%3D1%2Cr%26%26(i%3D2%26o%5B0%5D%3Fr.return%3Ao%5B0%5D%3Fr.throw%7C%7C((i%3Dr.return)%26%26i.call(r)%2C0)%3Ar.next)%26%26!(i%3Di.call(r%2Co%5B1%5D)).done)return%20i%3Bswitch(r%3D0%2Ci%26%26(o%3D%5B2%26o%5B0%5D%2Ci.value%5D)%2Co%5B0%5D)%7Bcase%200%3Acase%201%3Ai%3Do%3Bbreak%3Bcase%204%3Areturn%20a.label%2B%2B%2C%7Bvalue%3Ao%5B1%5D%2Cdone%3A!1%7D%3Bcase%205%3Aa.label%2B%2B%2Cr%3Do%5B1%5D%2Co%3D%5B0%5D%3Bcontinue%3Bcase%207%3Ao%3Da.ops.pop()%2Ca.trys.pop()%3Bcontinue%3Bdefault%3Aif(!(i%3Da.trys%2C(i%3Di.length%3E0%26%26i%5Bi.length-1%5D)%7C%7C6!%3D%3Do%5B0%5D%26%262!%3D%3Do%5B0%5D))%7Ba%3D0%3Bcontinue%7Dif(3%3D%3D%3Do%5B0%5D%26%26(!i%7C%7Co%5B1%5D%3Ei%5B0%5D%26%26o%5B1%5D%3Ci%5B3%5D))%7Ba.label%3Do%5B1%5D%3Bbreak%7Dif(6%3D%3D%3Do%5B0%5D%26%26a.label%3Ci%5B1%5D)%7Ba.label%3Di%5B1%5D%2Ci%3Do%3Bbreak%7Dif(i%26%26a.label%3Ci%5B2%5D)%7Ba.label%3Di%5B2%5D%2Ca.ops.push(o)%3Bbreak%7Di%5B2%5D%26%26a.ops.pop()%2Ca.trys.pop()%3Bcontinue%7Do%3Dt.call(e%2Ca)%7Dcatch(e)%7Bo%3D%5B6%2Ce%5D%2Cr%3D0%7Dfinally%7Bn%3Di%3D0%7Dif(5%26o%5B0%5D)throw%20o%5B1%5D%3Breturn%7Bvalue%3Ao%5B0%5D%3Fo%5B1%5D%3Avoid%200%2Cdone%3A!0%7D%7D(%5Bo%2Cl%5D)%7D%7D%7D%2CKe%3Dfunction(e%2Ct%2Cn)%7Bif(229%3D%3D%3De.keyCode%26%26%22%22%3D%3D%3De.code%26%26%22Unidentified%22%3D%3D%3De.key%26%26%22sv%22!%3D%3Dt.currentMode)%7Bvar%20r%3D(0%2Cy.F9)(n)%3Bif(r%26%26%22%22%3D%3D%3Dr.textContent.trim())return%20t%5Bt.currentMode%5D.composingLock%3D!0%2C!1%7Dreturn!0%7D%2CFe%3Dfunction(e%2Ct%2Cn)%7Bif(!(%22Enter%22%3D%3D%3Dn.key%7C%7C%22Tab%22%3D%3D%3Dn.key%7C%7C%22Backspace%22%3D%3D%3Dn.key%7C%7Cn.key.indexOf(%22Arrow%22)%3E-1%7C%7C(0%2Cd.yl)(n)%7C%7C%22Escape%22%3D%3D%3Dn.key%7C%7Cn.shiftKey%7C%7Cn.altKey))%7Bvar%20r%3D(0%2Cy.lG)(e.startContainer%2C%22P%22)%7C%7C(0%2Cy.lG)(e.startContainer%2C%22LI%22)%3Bif(r%26%260%3D%3D%3D(0%2CN.im)(r%2Ct%5Bt.currentMode%5D.element%2Ce).start)%7Bvar%20o%3Ddocument.createTextNode(i.g.ZWSP)%3Be.insertNode(o)%2Ce.setStartAfter(o)%7D%7D%7D%2CZe%3Dfunction(e%2Ct)%7Bif(%22ArrowDown%22%3D%3D%3Dt%7C%7C%22ArrowUp%22%3D%3D%3Dt)%7Bvar%20n%3D(0%2Cy.a1)(e.startContainer%2C%22data-type%22%2C%22math-inline%22)%7C%7C(0%2Cy.a1)(e.startContainer%2C%22data-type%22%2C%22html-entity%22)%7C%7C(0%2Cy.a1)(e.startContainer%2C%22data-type%22%2C%22html-inline%22)%3Bn%26%26(%22ArrowDown%22%3D%3D%3Dt%26%26e.setStartAfter(n.parentElement)%2C%22ArrowUp%22%3D%3D%3Dt%26%26e.setStartBefore(n.parentElement))%7D%7D%2CJe%3Dfunction(e%2Ct)%7Bvar%20n%3D(0%2CN.zh)(e)%2Cr%3D(0%2Cy.F9)(n.startContainer)%3Br%26%26(r.insertAdjacentHTML(t%2C%27%3Cp%20data-block%3D%220%22%3E%27%2Bi.g.ZWSP%2B%22%3Cwbr%3E%5Cn%3C%2Fp%3E%22)%2C(0%2CN.ib)(e%5Be.currentMode%5D.element%2Cn)%2Cpe(e)%2Clt(e))%7D%2CXe%3Dfunction(e)%7Bvar%20t%3D(0%2Cy.lG)(e%2C%22TABLE%22)%3Breturn!(!t%7C%7C!t.rows%5B0%5D.cells%5B0%5D.isSameNode(e))%26%26t%7D%2CYe%3Dfunction(e)%7Bvar%20t%3D(0%2Cy.lG)(e%2C%22TABLE%22)%3Breturn!(!t%7C%7C!t.lastElementChild.lastElementChild.lastElementChild.isSameNode(e))%26%26t%7D%2CQe%3Dfunction(e%2Ct%2Cn)%7Bvoid%200%3D%3D%3Dn%26%26(n%3D!0)%3Bvar%20r%3De.previousElementSibling%3Breturn%20r%7C%7C(r%3De.parentElement.previousElementSibling%3Fe.parentElement.previousElementSibling.lastElementChild%3A%22TBODY%22%3D%3D%3De.parentElement.parentElement.tagName%26%26e.parentElement.parentElement.previousElementSibling%3Fe.parentElement.parentElement.previousElementSibling.lastElementChild.lastElementChild%3Anull)%2Cr%26%26(t.selectNodeContents(r)%2Cn%7C%7Ct.collapse(!1)%2C(0%2CN.Hc)(t))%2Cr%7D%2C%24e%3Dfunction(e%2Ct%2Cn%2Cr%2Co)%7Bvar%20a%3D(0%2CN.im)(r%2Ce%5Be.currentMode%5D.element%2Cn)%3Bif(%22ArrowDown%22%3D%3D%3Dt.key%26%26-1%3D%3D%3Dr.textContent.trimRight().substr(a.start).indexOf(%22%5Cn%22)%7C%7C%22ArrowRight%22%3D%3D%3Dt.key%26%26a.start%3E%3Dr.textContent.trimRight().length)%7Bvar%20l%3Do.nextElementSibling%3Breturn!l%7C%7Cl%26%26(%22TABLE%22%3D%3D%3Dl.tagName%7C%7Cl.getAttribute(%22data-type%22))%3F(o.insertAdjacentHTML(%22afterend%22%2C%27%3Cp%20data-block%3D%220%22%3E%27%2Bi.g.ZWSP%2B%22%3Cwbr%3E%3C%2Fp%3E%22)%2C(0%2CN.ib)(e%5Be.currentMode%5D.element%2Cn))%3A(n.selectNodeContents(l)%2Cn.collapse(!0)%2C(0%2CN.Hc)(n))%2Ct.preventDefault()%2C!0%7Dreturn!1%7D%2Cet%3Dfunction(e%2Ct%2Cn%2Cr%2Co)%7Bvar%20a%3D(0%2CN.im)(r%2Ce%5Be.currentMode%5D.element%2Cn)%3Bif(%22ArrowUp%22%3D%3D%3Dt.key%26%26-1%3D%3D%3Dr.textContent.substr(0%2Ca.start).indexOf(%22%5Cn%22)%7C%7C(%22ArrowLeft%22%3D%3D%3Dt.key%7C%7C%22Backspace%22%3D%3D%3Dt.key%26%26%22%22%3D%3D%3Dn.toString())%26%260%3D%3D%3Da.start)%7Bvar%20l%3Do.previousElementSibling%3Breturn!l%7C%7Cl%26%26(%22TABLE%22%3D%3D%3Dl.tagName%7C%7Cl.getAttribute(%22data-type%22))%3F(o.insertAdjacentHTML(%22beforebegin%22%2C%27%3Cp%20data-block%3D%220%22%3E%27%2Bi.g.ZWSP%2B%22%3Cwbr%3E%3C%2Fp%3E%22)%2C(0%2CN.ib)(e%5Be.currentMode%5D.element%2Cn))%3A(n.selectNodeContents(l)%2Cn.collapse(!1)%2C(0%2CN.Hc)(n))%2Ct.preventDefault()%2C!0%7Dreturn!1%7D%2Ctt%3Dfunction(e%2Ct%2Cn%2Cr)%7Bvoid%200%3D%3D%3Dr%26%26(r%3D!0)%3Bvar%20i%3D(0%2Cy.lG)(t.startContainer%2C%22LI%22)%3Bif(e%5Be.currentMode%5D.element.querySelectorAll(%22wbr%22).forEach((function(e)%7Be.remove()%7D))%2Ct.insertNode(document.createElement(%22wbr%22))%2Cr%26%26i)%7Bfor(var%20o%3D%22%22%2Ca%3D0%3Ba%3Ci.parentElement.childElementCount%3Ba%2B%2B)%7Bvar%20l%3Di.parentElement.children%5Ba%5D.querySelector(%22input%22)%3Bl%26%26l.remove()%2Co%2B%3D%27%3Cp%20data-block%3D%220%22%3E%27%2Bi.parentElement.children%5Ba%5D.innerHTML.trimLeft()%2B%22%3C%2Fp%3E%22%7Di.parentElement.insertAdjacentHTML(%22beforebegin%22%2Co)%2Ci.parentElement.remove()%7Delse%20if(i)if(%22check%22%3D%3D%3Dn)i.parentElement.querySelectorAll(%22li%22).forEach((function(e)%7Be.insertAdjacentHTML(%22afterbegin%22%2C%27%3Cinput%20type%3D%22checkbox%22%20%2F%3E%27%2B(0%3D%3D%3De.textContent.indexOf(%22%20%22)%3F%22%22%3A%22%20%22))%2Ce.classList.add(%22vditor-task%22)%7D))%3Belse%7Bi.querySelector(%22input%22)%26%26i.parentElement.querySelectorAll(%22li%22).forEach((function(e)%7Be.querySelector(%22input%22).remove()%2Ce.classList.remove(%22vditor-task%22)%7D))%3Bvar%20s%3Dvoid%200%3B%22list%22%3D%3D%3Dn%3F(s%3Ddocument.createElement(%22ul%22)).setAttribute(%22data-marker%22%2C%22*%22)%3A(s%3Ddocument.createElement(%22ol%22)).setAttribute(%22data-marker%22%2C%221.%22)%2Cs.setAttribute(%22data-block%22%2C%220%22)%2Cs.setAttribute(%22data-tight%22%2Ci.parentElement.getAttribute(%22data-tight%22))%2Cs.innerHTML%3Di.parentElement.innerHTML%2Ci.parentElement.parentNode.replaceChild(s%2Ci.parentElement)%7Delse%7Bvar%20d%3D(0%2Cy.a1)(t.startContainer%2C%22data-block%22%2C%220%22)%3Bd%7C%7C(e%5Be.currentMode%5D.element.querySelector(%22wbr%22).remove()%2C(d%3De%5Be.currentMode%5D.element.querySelector(%22p%22)).innerHTML%3D%22%3Cwbr%3E%22)%2C%22check%22%3D%3D%3Dn%3F(d.insertAdjacentHTML(%22beforebegin%22%2C%27%3Cul%20data-block%3D%220%22%3E%3Cli%20class%3D%22vditor-task%22%3E%3Cinput%20type%3D%22checkbox%22%20%2F%3E%20%27%2Bd.innerHTML%2B%22%3C%2Fli%3E%3C%2Ful%3E%22)%2Cd.remove())%3A%22list%22%3D%3D%3Dn%3F(d.insertAdjacentHTML(%22beforebegin%22%2C%27%3Cul%20data-block%3D%220%22%3E%3Cli%3E%27%2Bd.innerHTML%2B%22%3C%2Fli%3E%3C%2Ful%3E%22)%2Cd.remove())%3A%22ordered-list%22%3D%3D%3Dn%26%26(d.insertAdjacentHTML(%22beforebegin%22%2C%27%3Col%20data-block%3D%220%22%3E%3Cli%3E%27%2Bd.innerHTML%2B%22%3C%2Fli%3E%3C%2Fol%3E%22)%2Cd.remove())%7D%7D%2Cnt%3Dfunction(e%2Ct%2Cn)%7Bvar%20r%3Dt.previousElementSibling%3Bif(t%26%26r)%7Bvar%20i%3D%5Bt%5D%3BArray.from(n.cloneContents().children).forEach((function(e%2Cn)%7B3!%3D%3De.nodeType%26%26t%26%26%22%22!%3D%3De.textContent.trim()%26%26t.getAttribute(%22data-node-id%22)%3D%3D%3De.getAttribute(%22data-node-id%22)%26%26(0!%3D%3Dn%26%26i.push(t)%2Ct%3Dt.nextElementSibling)%7D))%2Ce%5Be.currentMode%5D.element.querySelectorAll(%22wbr%22).forEach((function(e)%7Be.remove()%7D))%2Cn.insertNode(document.createElement(%22wbr%22))%3Bvar%20o%3Dr.parentElement%2Ca%3D%22%22%3Bi.forEach((function(e)%7Bvar%20t%3De.getAttribute(%22data-marker%22)%3B1!%3D%3Dt.length%26%26(t%3D%221%22%2Bt.slice(-1))%2Ca%2B%3D%27%3Cli%20data-node-id%3D%22%27%2Be.getAttribute(%22data-node-id%22)%2B%27%22%20data-marker%3D%22%27%2Bt%2B%27%22%3E%27%2Be.innerHTML%2B%22%3C%2Fli%3E%22%2Ce.remove()%7D))%2Cr.insertAdjacentHTML(%22beforeend%22%2C%22%3C%22%2Bo.tagName%2B%27%20data-block%3D%220%22%3E%27%2Ba%2B%22%3C%2F%22%2Bo.tagName%2B%22%3E%22)%2C%22wysiwyg%22%3D%3D%3De.currentMode%3Fo.outerHTML%3De.lute.SpinVditorDOM(o.outerHTML)%3Ao.outerHTML%3De.lute.SpinVditorIRDOM(o.outerHTML)%2C(0%2CN.ib)(e%5Be.currentMode%5D.element%2Cn)%3Bvar%20l%3D(0%2Cy.O9)(n.startContainer)%3Bl%26%26l.querySelectorAll(%22.vditor-%22%2Be.currentMode%2B%22__preview%5Bdata-render%3D%272%27%5D%22).forEach((function(t)%7BH(t%2Ce)%2C%22wysiwyg%22%3D%3D%3De.currentMode%26%26t.previousElementSibling.setAttribute(%22style%22%2C%22display%3Anone%22)%7D))%2Clt(e)%2Cpe(e)%7Delse%20e%5Be.currentMode%5D.element.focus()%7D%2Crt%3Dfunction(e%2Ct%2Cn%2Cr)%7Bvar%20i%3D(0%2Cy.lG)(t.parentElement%2C%22LI%22)%3Bif(i)%7Be%5Be.currentMode%5D.element.querySelectorAll(%22wbr%22).forEach((function(e)%7Be.remove()%7D))%2Cn.insertNode(document.createElement(%22wbr%22))%3Bvar%20o%3Dt.parentElement%2Ca%3Do.cloneNode()%2Cl%3D%5Bt%5D%3BArray.from(n.cloneContents().children).forEach((function(e%2Cn)%7B3!%3D%3De.nodeType%26%26t%26%26%22%22!%3D%3De.textContent.trim()%26%26t.getAttribute(%22data-node-id%22)%3D%3D%3De.getAttribute(%22data-node-id%22)%26%26(0!%3D%3Dn%26%26l.push(t)%2Ct%3Dt.nextElementSibling)%7D))%3Bvar%20s%3D!1%2Cd%3D%22%22%3Bo.querySelectorAll(%22li%22).forEach((function(e)%7Bs%26%26(d%2B%3De.outerHTML%2Ce.nextElementSibling%7C%7Ce.previousElementSibling%3Fe.remove()%3Ae.parentElement.remove())%2Ce.isSameNode(l%5Bl.length-1%5D)%26%26(s%3D!0)%7D))%2Cl.reverse().forEach((function(e)%7Bi.insertAdjacentElement(%22afterend%22%2Ce)%7D))%2Cd%26%26(a.innerHTML%3Dd%2Cl%5B0%5D.insertAdjacentElement(%22beforeend%22%2Ca))%2C%22wysiwyg%22%3D%3D%3De.currentMode%3Fr.outerHTML%3De.lute.SpinVditorDOM(r.outerHTML)%3Ar.outerHTML%3De.lute.SpinVditorIRDOM(r.outerHTML)%2C(0%2CN.ib)(e%5Be.currentMode%5D.element%2Cn)%3Bvar%20c%3D(0%2Cy.O9)(n.startContainer)%3Bc%26%26c.querySelectorAll(%22.vditor-%22%2Be.currentMode%2B%22__preview%5Bdata-render%3D%272%27%5D%22).forEach((function(t)%7BH(t%2Ce)%2C%22wysiwyg%22%3D%3D%3De.currentMode%26%26t.previousElementSibling.setAttribute(%22style%22%2C%22display%3Anone%22)%7D))%2Clt(e)%2Cpe(e)%7Delse%20e%5Be.currentMode%5D.element.focus()%7D%2Cit%3Dfunction(e%2Ct)%7Bfor(var%20n%3DgetSelection().getRangeAt(0).startContainer.parentElement%2Cr%3De.rows%5B0%5D.cells.length%2Ci%3De.rows.length%2Co%3D0%2Ca%3D0%3Ba%3Ci%3Ba%2B%2B)for(var%20l%3D0%3Bl%3Cr%3Bl%2B%2B)if(e.rows%5Ba%5D.cells%5Bl%5D.isSameNode(n))%7Bo%3Dl%3Bbreak%7Dfor(var%20s%3D0%3Bs%3Ci%3Bs%2B%2B)e.rows%5Bs%5D.cells%5Bo%5D.setAttribute(%22align%22%2Ct)%7D%2Cot%3Dfunction(e)%7Bvar%20t%3De.trimRight().split(%22%5Cn%22).pop()%3Breturn%22%22!%3D%3Dt%26%26((%22%22%3D%3D%3Dt.replace(%2F%20%7C-%2Fg%2C%22%22)%7C%7C%22%22%3D%3D%3Dt.replace(%2F%20%7C_%2Fg%2C%22%22)%7C%7C%22%22%3D%3D%3Dt.replace(%2F%20%7C%5C*%2Fg%2C%22%22))%26%26(t.replace(%2F%20%2Fg%2C%22%22).length%3E2%26%26(!(t.indexOf(%22-%22)%3E-1%26%26-1%3D%3D%3Dt.trimLeft().indexOf(%22%20%22)%26%26e.trimRight().split(%22%5Cn%22).length%3E1)%26%26(0!%3D%3Dt.indexOf(%22%20%20%20%20%22)%26%260!%3D%3Dt.indexOf(%22%5Ct%22)))))%7D%2Cat%3Dfunction(e)%7Bvar%20t%3De.trimRight().split(%22%5Cn%22)%3Breturn%200!%3D%3D(e%3Dt.pop()).indexOf(%22%20%20%20%20%22)%26%260!%3D%3De.indexOf(%22%5Ct%22)%26%26(%22%22!%3D%3D(e%3De.trimLeft())%26%260!%3D%3Dt.length%26%26(%22%22%3D%3D%3De.replace(%2F-%2Fg%2C%22%22)%7C%7C%22%22%3D%3D%3De.replace(%2F%3D%2Fg%2C%22%22)))%7D%2Clt%3Dfunction(e%2Ct)%7Bvoid%200%3D%3D%3Dt%26%26(t%3D%7BenableAddUndoStack%3A!0%2CenableHint%3A!1%2CenableInput%3A!0%7D)%2C%22wysiwyg%22%3D%3D%3De.currentMode%3FX(e%2Ct)%3A%22ir%22%3D%3D%3De.currentMode%3FCt(e%2Ct)%3A%22sv%22%3D%3D%3De.currentMode%26%26De(e%2Ct)%7D%2Cst%3Dfunction(e%2Ct%2Cn%2Cr)%7Bvar%20o%2Ca%3De.startContainer%2Cl%3D(0%2Cy.lG)(a%2C%22LI%22)%3Bif(l)%7Bif(!(0%2Cd.yl)(r)%26%26!r.altKey%26%26%22Enter%22%3D%3D%3Dr.key%26%26!r.shiftKey%26%26n%26%26l.contains(n)%26%26n.nextElementSibling)return%20l%26%26!l.textContent.endsWith(%22%5Cn%22)%26%26l.insertAdjacentText(%22beforeend%22%2C%22%5Cn%22)%2Ce.insertNode(document.createTextNode(%22%5Cn%5Cn%22))%2Ce.collapse(!1)%2Clt(t)%2Cr.preventDefault()%2C!0%3Bif(!((0%2Cd.yl)(r)%7C%7Cr.shiftKey%7C%7Cr.altKey%7C%7C%22Backspace%22!%3D%3Dr.key%7C%7Cl.previousElementSibling%7C%7C%22%22!%3D%3De.toString()%7C%7C0!%3D%3D(0%2CN.im)(l%2Ct%5Bt.currentMode%5D.element%2Ce).start))return%20l.nextElementSibling%3F(l.parentElement.insertAdjacentHTML(%22beforebegin%22%2C%27%3Cp%20data-block%3D%220%22%3E%3Cwbr%3E%27%2Bl.innerHTML%2B%22%3C%2Fp%3E%22)%2Cl.remove())%3Al.parentElement.outerHTML%3D%27%3Cp%20data-block%3D%220%22%3E%3Cwbr%3E%27%2Bl.innerHTML%2B%22%3C%2Fp%3E%22%2C(0%2CN.ib)(t%5Bt.currentMode%5D.element%2Ce)%2Clt(t)%2Cr.preventDefault()%2C!0%3Bif(!(0%2Cd.yl)(r)%26%26!r.shiftKey%26%26!r.altKey%26%26%22Backspace%22%3D%3D%3Dr.key%26%26%22%22%3D%3D%3Dl.textContent.trim().replace(i.g.ZWSP%2C%22%22)%26%26%22%22%3D%3D%3De.toString()%26%26%22LI%22%3D%3D%3D(null%3D%3D%3D(o%3Dl.previousElementSibling)%7C%7Cvoid%200%3D%3D%3Do%3Fvoid%200%3Ao.tagName))return%20l.previousElementSibling.insertAdjacentText(%22beforeend%22%2C%22%5Cn%5Cn%22)%2Ce.selectNodeContents(l.previousElementSibling)%2Ce.collapse(!1)%2Cl.remove()%2C(0%2CN.ib)(t%5Bt.currentMode%5D.element%2Ce)%2Clt(t)%2Cr.preventDefault()%2C!0%3Bif(!(0%2Cd.yl)(r)%26%26!r.altKey%26%26%22Tab%22%3D%3D%3Dr.key)%7Bvar%20s%3D!1%3Bif((0%3D%3D%3De.startOffset%26%26(3%3D%3D%3Da.nodeType%26%26!a.previousSibling%7C%7C3!%3D%3Da.nodeType%26%26%22LI%22%3D%3D%3Da.nodeName)%7C%7Cl.classList.contains(%22vditor-task%22)%26%261%3D%3D%3De.startOffset%26%263!%3D%3Da.previousSibling.nodeType%26%26%22INPUT%22%3D%3D%3Da.previousSibling.tagName)%26%26(s%3D!0)%2Cs%7C%7C%22%22!%3D%3De.toString())return%20r.shiftKey%3Frt(t%2Cl%2Ce%2Cl.parentElement)%3Ant(t%2Cl%2Ce)%2Cr.preventDefault()%2C!0%7D%7Dreturn!1%7D%2Cdt%3Dfunction(e%2Ct%2Cn)%7Bif(e.options.tab%26%26%22Tab%22%3D%3D%3Dn.key)return%20n.shiftKey%7C%7C(%22%22%3D%3D%3Dt.toString()%3F(t.insertNode(document.createTextNode(e.options.tab))%2Ct.collapse(!1))%3A(t.extractContents()%2Ct.insertNode(document.createTextNode(e.options.tab))%2Ct.collapse(!1)))%2C(0%2CN.Hc)(t)%2Clt(e)%2Cn.preventDefault()%2C!0%7D%2Cct%3Dfunction(e%2Ct%2Cn%2Cr)%7Bif(n)%7Bif(!(0%2Cd.yl)(e)%26%26!e.altKey%26%26%22Enter%22%3D%3D%3De.key)%7Bvar%20i%3DString.raw(F%7C%7C(F%3DWe(%5B%22%22%2C%22%22%5D%2C%5B%22%22%2C%22%22%5D))%2Cn.textContent).replace(%2F%5C%5C%5C%7C%2Fg%2C%22%22).trim()%2Co%3Di.split(%22%7C%22)%3Bif(i.startsWith(%22%7C%22)%26%26i.endsWith(%22%7C%22)%26%26o.length%3E3)%7Bvar%20a%3Do.map((function()%7Breturn%22---%22%7D)).join(%22%7C%22)%3Breturn%20a%3Dn.textContent%2B%22%5Cn%22%2Ba.substring(3%2Ca.length-3)%2B%22%5Cn%7C%3Cwbr%3E%22%2Cn.outerHTML%3Dt.lute.SpinVditorDOM(a)%2C(0%2CN.ib)(t%5Bt.currentMode%5D.element%2Cr)%2Clt(t)%2CMe(t)%2Ce.preventDefault()%2C!0%7Dif(ot(n.innerHTML)%26%26n.previousElementSibling)%7Bvar%20l%3D%22%22%2Cs%3Dn.innerHTML.trimRight().split(%22%5Cn%22)%3Breturn%20s.length%3E1%26%26(s.pop()%2Cl%3D%27%3Cp%20data-block%3D%220%22%3E%27%2Bs.join(%22%5Cn%22)%2B%22%3C%2Fp%3E%22)%2Cn.insertAdjacentHTML(%22afterend%22%2Cl%2B%27%3Chr%20data-block%3D%220%22%3E%3Cp%20data-block%3D%220%22%3E%3Cwbr%3E%5Cn%3C%2Fp%3E%27)%2Cn.remove()%2C(0%2CN.ib)(t%5Bt.currentMode%5D.element%2Cr)%2Clt(t)%2CMe(t)%2Ce.preventDefault()%2C!0%7Dif(at(n.innerHTML))return%22wysiwyg%22%3D%3D%3Dt.currentMode%3Fn.outerHTML%3Dt.lute.SpinVditorDOM(n.innerHTML%2B%27%3Cp%20data-block%3D%220%22%3E%3Cwbr%3E%5Cn%3C%2Fp%3E%27)%3An.outerHTML%3Dt.lute.SpinVditorIRDOM(n.innerHTML%2B%27%3Cp%20data-block%3D%220%22%3E%3Cwbr%3E%5Cn%3C%2Fp%3E%27)%2C(0%2CN.ib)(t%5Bt.currentMode%5D.element%2Cr)%2Clt(t)%2CMe(t)%2Ce.preventDefault()%2C!0%7Dif(r.collapsed%26%26n.previousElementSibling%26%26%22Backspace%22%3D%3D%3De.key%26%26!(0%2Cd.yl)(e)%26%26!e.altKey%26%26!e.shiftKey%26%26n.textContent.trimRight().split(%22%5Cn%22).length%3E1%26%260%3D%3D%3D(0%2CN.im)(n%2Ct%5Bt.currentMode%5D.element%2Cr).start)%7Bvar%20c%3D(0%2Cy.DX)(n.previousElementSibling)%3Breturn%20c.textContent.endsWith(%22%5Cn%22)%7C%7C(c.textContent%3Dc.textContent%2B%22%5Cn%22)%2Cc.parentElement.insertAdjacentHTML(%22beforeend%22%2C%22%3Cwbr%3E%22%2Bn.innerHTML)%2Cn.remove()%2C(0%2CN.ib)(t%5Bt.currentMode%5D.element%2Cr)%2C!1%7Dreturn!1%7D%7D%2Cut%3Dfunction(e%2Ct%2Cn)%7Bfor(var%20r%3D%22%22%2Ci%3D0%3Bi%3Cn.parentElement.childElementCount%3Bi%2B%2B)r%2B%3D%27%3Ctd%20align%3D%22%27%2Bn.parentElement.children%5Bi%5D.getAttribute(%22align%22)%2B%27%22%3E%20%3C%2Ftd%3E%27%3B%22TH%22%3D%3D%3Dn.tagName%3Fn.parentElement.parentElement.insertAdjacentHTML(%22afterend%22%2C%22%3Ctbody%3E%3Ctr%3E%22%2Br%2B%22%3C%2Ftr%3E%3C%2Ftbody%3E%22)%3An.parentElement.insertAdjacentHTML(%22afterend%22%2C%22%3Ctr%3E%22%2Br%2B%22%3C%2Ftr%3E%22)%2Clt(e)%7D%2Cpt%3Dfunction(e%2Ct%2Cn)%7Bfor(var%20r%3D%22%22%2Ci%3D0%3Bi%3Cn.parentElement.childElementCount%3Bi%2B%2B)%22TH%22%3D%3D%3Dn.tagName%3Fr%2B%3D%27%3Cth%20align%3D%22%27%2Bn.parentElement.children%5Bi%5D.getAttribute(%22align%22)%2B%27%22%3E%20%3C%2Fth%3E%27%3Ar%2B%3D%27%3Ctd%20align%3D%22%27%2Bn.parentElement.children%5Bi%5D.getAttribute(%22align%22)%2B%27%22%3E%20%3C%2Ftd%3E%27%3Bif(%22TH%22%3D%3D%3Dn.tagName)%7Bn.parentElement.parentElement.insertAdjacentHTML(%22beforebegin%22%2C%22%3Cthead%3E%3Ctr%3E%22%2Br%2B%22%3C%2Ftr%3E%3C%2Fthead%3E%22)%2Ct.insertNode(document.createElement(%22wbr%22))%3Bvar%20o%3Dn.parentElement.innerHTML.replace(%2F%3Cth%3E%2Fg%2C%22%3Ctd%3E%22).replace(%2F%3C%5C%2Fth%3E%2Fg%2C%22%3C%2Ftd%3E%22)%3Bn.parentElement.parentElement.nextElementSibling.insertAdjacentHTML(%22afterbegin%22%2Co)%2Cn.parentElement.parentElement.remove()%2C(0%2CN.ib)(e.ir.element%2Ct)%7Delse%20n.parentElement.insertAdjacentHTML(%22beforebegin%22%2C%22%3Ctr%3E%22%2Br%2B%22%3C%2Ftr%3E%22)%3Blt(e)%7D%2Cmt%3Dfunction(e%2Ct%2Cn%2Cr)%7Bvoid%200%3D%3D%3Dr%26%26(r%3D%22afterend%22)%3Bfor(var%20i%3D0%2Co%3Dn.previousElementSibling%3Bo%3B)i%2B%2B%2Co%3Do.previousElementSibling%3Bfor(var%20a%3D0%3Ba%3Ct.rows.length%3Ba%2B%2B)0%3D%3D%3Da%3Ft.rows%5Ba%5D.cells%5Bi%5D.insertAdjacentHTML(r%2C%22%3Cth%3E%20%3C%2Fth%3E%22)%3At.rows%5Ba%5D.cells%5Bi%5D.insertAdjacentHTML(r%2C%22%3Ctd%3E%20%3C%2Ftd%3E%22)%3Blt(e)%7D%2Cft%3Dfunction(e%2Ct%2Cn)%7Bif(%22TD%22%3D%3D%3Dn.tagName)%7Bvar%20r%3Dn.parentElement.parentElement%3Bn.parentElement.previousElementSibling%3Ft.selectNodeContents(n.parentElement.previousElementSibling.lastElementChild)%3At.selectNodeContents(r.previousElementSibling.lastElementChild.lastElementChild)%2C1%3D%3D%3Dr.childElementCount%3Fr.remove()%3An.parentElement.remove()%2Ct.collapse(!1)%2C(0%2CN.Hc)(t)%2Clt(e)%7D%7D%2Cht%3Dfunction(e%2Ct%2Cn%2Cr)%7Bfor(var%20i%3D0%2Co%3Dr.previousElementSibling%3Bo%3B)i%2B%2B%2Co%3Do.previousElementSibling%3B(r.previousElementSibling%7C%7Cr.nextElementSibling)%26%26(t.selectNodeContents(r.previousElementSibling%7C%7Cr.nextElementSibling)%2Ct.collapse(!0))%3Bfor(var%20a%3D0%3Ba%3Cn.rows.length%3Ba%2B%2B)%7Bvar%20l%3Dn.rows%5Ba%5D.cells%3Bif(1%3D%3D%3Dl.length)%7Bn.remove()%2Cpe(e)%3Bbreak%7Dl%5Bi%5D.remove()%7D(0%2CN.Hc)(t)%2Clt(e)%7D%2Cvt%3Dfunction(e%2Ct%2Cn)%7Bvar%20r%3Dn.startContainer%2Ci%3D(0%2Cy.lG)(r%2C%22TD%22)%7C%7C(0%2Cy.lG)(r%2C%22TH%22)%3Bif(i)%7Bif(!(0%2Cd.yl)(t)%26%26!t.altKey%26%26%22Enter%22%3D%3D%3Dt.key)%7Bi.lastElementChild%26%26(!i.lastElementChild%7C%7Ci.lastElementChild.isSameNode(i.lastChild)%26%26%22BR%22%3D%3D%3Di.lastElementChild.tagName)%7C%7Ci.insertAdjacentHTML(%22beforeend%22%2C%22%3Cbr%3E%22)%3Bvar%20o%3Ddocument.createElement(%22br%22)%3Breturn%20n.insertNode(o)%2Cn.setStartAfter(o)%2Clt(e)%2CMe(e)%2Ct.preventDefault()%2C!0%7Dif(%22Tab%22%3D%3D%3Dt.key)return%20t.shiftKey%3F(Qe(i%2Cn)%2Ct.preventDefault()%2C!0)%3A((u%3Di.nextElementSibling)%7C%7C(u%3Di.parentElement.nextElementSibling%3Fi.parentElement.nextElementSibling.firstElementChild%3A%22THEAD%22%3D%3D%3Di.parentElement.parentElement.tagName%26%26i.parentElement.parentElement.nextElementSibling%3Fi.parentElement.parentElement.nextElementSibling.firstElementChild.firstElementChild%3Anull)%2Cu%26%26(n.selectNodeContents(u)%2C(0%2CN.Hc)(n))%2Ct.preventDefault()%2C!0)%3Bvar%20a%3Di.parentElement.parentElement.parentElement%3Bif(%22ArrowUp%22%3D%3D%3Dt.key)%7Bif(t.preventDefault()%2C%22TH%22%3D%3D%3Di.tagName)return%20a.previousElementSibling%3F(n.selectNodeContents(a.previousElementSibling)%2Cn.collapse(!1)%2C(0%2CN.Hc)(n))%3AJe(e%2C%22beforebegin%22)%2C!0%3Bfor(var%20l%3D0%2Cs%3Di.parentElement%3Bl%3Cs.cells.length%26%26!s.cells%5Bl%5D.isSameNode(i)%3Bl%2B%2B)%3Bvar%20c%3Ds.previousElementSibling%3Breturn%20c%7C%7C(c%3Ds.parentElement.previousElementSibling.firstChild)%2Cn.selectNodeContents(c.cells%5Bl%5D)%2Cn.collapse(!1)%2C(0%2CN.Hc)(n)%2C!0%7Dif(%22ArrowDown%22%3D%3D%3Dt.key)%7Bvar%20u%3Bif(t.preventDefault()%2C!(s%3Di.parentElement).nextElementSibling%26%26%22TD%22%3D%3D%3Di.tagName)return%20a.nextElementSibling%3F(n.selectNodeContents(a.nextElementSibling)%2Cn.collapse(!0)%2C(0%2CN.Hc)(n))%3AJe(e%2C%22afterend%22)%2C!0%3Bfor(l%3D0%3Bl%3Cs.cells.length%26%26!s.cells%5Bl%5D.isSameNode(i)%3Bl%2B%2B)%3Breturn(u%3Ds.nextElementSibling)%7C%7C(u%3Ds.parentElement.nextElementSibling.firstChild)%2Cn.selectNodeContents(u.cells%5Bl%5D)%2Cn.collapse(!0)%2C(0%2CN.Hc)(n)%2C!0%7Dif(%22wysiwyg%22%3D%3D%3De.currentMode%26%26!(0%2Cd.yl)(t)%26%26%22Enter%22%3D%3D%3Dt.key%26%26!t.shiftKey%26%26t.altKey)%7Bvar%20p%3De.wysiwyg.popover.querySelector(%22.vditor-input%22)%3Breturn%20p.focus()%2Cp.select()%2Ct.preventDefault()%2C!0%7Dif(!(0%2Cd.yl)(t)%26%26!t.shiftKey%26%26!t.altKey%26%26%22Backspace%22%3D%3D%3Dt.key%26%260%3D%3D%3Dn.startOffset%26%26%22%22%3D%3D%3Dn.toString())return!Qe(i%2Cn%2C!1)%26%26a%26%26(%22%22%3D%3D%3Da.textContent.trim()%3F(a.outerHTML%3D%27%3Cp%20data-block%3D%220%22%3E%3Cwbr%3E%5Cn%3C%2Fp%3E%27%2C(0%2CN.ib)(e%5Be.currentMode%5D.element%2Cn))%3A(n.setStartBefore(a)%2Cn.collapse(!0))%2Clt(e))%2Ct.preventDefault()%2C!0%3Bif(R(%22%E2%87%A7%E2%8C%98F%22%2Ct))return%20pt(e%2Cn%2Ci)%2Ct.preventDefault()%2C!0%3Bif(R(%22%E2%8C%98%3D%22%2Ct))return%20ut(e%2Cn%2Ci)%2Ct.preventDefault()%2C!0%3Bif(R(%22%E2%87%A7%E2%8C%98G%22%2Ct))return%20mt(e%2Ca%2Ci%2C%22beforebegin%22)%2Ct.preventDefault()%2C!0%3Bif(R(%22%E2%87%A7%E2%8C%98%3D%22%2Ct))return%20mt(e%2Ca%2Ci)%2Ct.preventDefault()%2C!0%3Bif(R(%22%E2%8C%98-%22%2Ct))return%20ft(e%2Cn%2Ci)%2Ct.preventDefault()%2C!0%3Bif(R(%22%E2%87%A7%E2%8C%98-%22%2Ct))return%20ht(e%2Cn%2Ca%2Ci)%2Ct.preventDefault()%2C!0%3Bif(R(%22%E2%87%A7%E2%8C%98L%22%2Ct))%7Bif(%22ir%22%3D%3D%3De.currentMode)return%20it(a%2C%22left%22)%2Clt(e)%2Ct.preventDefault()%2C!0%3Bif(m%3De.wysiwyg.popover.querySelector(%27%5Bdata-type%3D%22left%22%5D%27))return%20m.click()%2Ct.preventDefault()%2C!0%7Dif(R(%22%E2%87%A7%E2%8C%98C%22%2Ct))%7Bif(%22ir%22%3D%3D%3De.currentMode)return%20it(a%2C%22center%22)%2Clt(e)%2Ct.preventDefault()%2C!0%3Bif(m%3De.wysiwyg.popover.querySelector(%27%5Bdata-type%3D%22center%22%5D%27))return%20m.click()%2Ct.preventDefault()%2C!0%7Dif(R(%22%E2%87%A7%E2%8C%98R%22%2Ct))%7Bif(%22ir%22%3D%3D%3De.currentMode)return%20it(a%2C%22right%22)%2Clt(e)%2Ct.preventDefault()%2C!0%3Bvar%20m%3Bif(m%3De.wysiwyg.popover.querySelector(%27%5Bdata-type%3D%22right%22%5D%27))return%20m.click()%2Ct.preventDefault()%2C!0%7D%7Dreturn!1%7D%2Cgt%3Dfunction(e%2Ct%2Cn%2Cr)%7Bif(%22PRE%22%3D%3D%3Dn.tagName%26%26R(%22%E2%8C%98A%22%2Ct))return%20r.selectNodeContents(n.firstElementChild)%2Ct.preventDefault()%2C!0%3Bif(e.options.tab%26%26%22Tab%22%3D%3D%3Dt.key%26%26!t.shiftKey%26%26%22%22%3D%3D%3Dr.toString())return%20r.insertNode(document.createTextNode(e.options.tab))%2Cr.collapse(!1)%2Clt(e)%2Ct.preventDefault()%2C!0%3Bif(%22Backspace%22%3D%3D%3Dt.key%26%26!(0%2Cd.yl)(t)%26%26!t.shiftKey%26%26!t.altKey)%7Bvar%20i%3D(0%2CN.im)(n%2Ce%5Be.currentMode%5D.element%2Cr)%3Bif((0%3D%3D%3Di.start%7C%7C1%3D%3D%3Di.start%26%26%22%5Cn%22%3D%3D%3Dn.innerText)%26%26%22%22%3D%3D%3Dr.toString())return%20n.parentElement.outerHTML%3D%27%3Cp%20data-block%3D%220%22%3E%3Cwbr%3E%27%2Bn.firstElementChild.innerHTML%2B%22%3C%2Fp%3E%22%2C(0%2CN.ib)(e%5Be.currentMode%5D.element%2Cr)%2Clt(e)%2Ct.preventDefault()%2C!0%7Dreturn!(0%2Cd.yl)(t)%26%26!t.altKey%26%26%22Enter%22%3D%3D%3Dt.key%26%26(n.firstElementChild.textContent.endsWith(%22%5Cn%22)%7C%7Cn.firstElementChild.insertAdjacentText(%22beforeend%22%2C%22%5Cn%22)%2Cr.extractContents()%2Cr.insertNode(document.createTextNode(%22%5Cn%22))%2Cr.collapse(!1)%2C(0%2CN.Hc)(r)%2C(0%2Cd.vU)()%7C%7C(%22wysiwyg%22%3D%3D%3De.currentMode%3FUe(e%2Cr)%3Aj(e%2Cr))%2CMe(e)%2Ct.preventDefault()%2C!0)%7D%2Cyt%3Dfunction(e%2Ct%2Cn%2Cr)%7Bvar%20o%3Dt.startContainer%2Ca%3D(0%2Cy.lG)(o%2C%22BLOCKQUOTE%22)%3Bif(a%26%26%22%22%3D%3D%3Dt.toString())%7Bif(%22Backspace%22%3D%3D%3Dn.key%26%26!(0%2Cd.yl)(n)%26%26!n.shiftKey%26%26!n.altKey%26%260%3D%3D%3D(0%2CN.im)(a%2Ce%5Be.currentMode%5D.element%2Ct).start)return%20t.insertNode(document.createElement(%22wbr%22))%2Ca.outerHTML%3Da.innerHTML%2C(0%2CN.ib)(e%5Be.currentMode%5D.element%2Ct)%2Clt(e)%2Cn.preventDefault()%2C!0%3Bif(r%26%26%22Enter%22%3D%3D%3Dn.key%26%26!(0%2Cd.yl)(n)%26%26!n.shiftKey%26%26!n.altKey%26%26%22BLOCKQUOTE%22%3D%3D%3Dr.parentElement.tagName)%7Bvar%20l%3D!1%3Bif(%22%5Cn%22%3D%3D%3Dr.innerHTML.replace(i.g.ZWSP%2C%22%22)%7C%7C%22%22%3D%3D%3Dr.innerHTML.replace(i.g.ZWSP%2C%22%22)%3F(l%3D!0%2Cr.remove())%3Ar.innerHTML.endsWith(%22%5Cn%5Cn%22)%26%26(0%2CN.im)(r%2Ce%5Be.currentMode%5D.element%2Ct).start%3D%3D%3Dr.textContent.length-1%26%26(r.innerHTML%3Dr.innerHTML.substr(0%2Cr.innerHTML.length-2)%2Cl%3D!0)%2Cl)return%20a.insertAdjacentHTML(%22afterend%22%2C%27%3Cp%20data-block%3D%220%22%3E%27%2Bi.g.ZWSP%2B%22%3Cwbr%3E%5Cn%3C%2Fp%3E%22)%2C(0%2CN.ib)(e%5Be.currentMode%5D.element%2Ct)%2Clt(e)%2Cn.preventDefault()%2C!0%7Dvar%20s%3D(0%2Cy.F9)(o)%3Bif(%22wysiwyg%22%3D%3D%3De.currentMode%26%26s%26%26R(%22%E2%87%A7%E2%8C%98%3B%22%2Cn))return%20t.insertNode(document.createElement(%22wbr%22))%2Cs.outerHTML%3D%27%3Cblockquote%20data-block%3D%220%22%3E%27%2Bs.outerHTML%2B%22%3C%2Fblockquote%3E%22%2C(0%2CN.ib)(e.wysiwyg.element%2Ct)%2CX(e)%2Cn.preventDefault()%2C!0%3Bif(%24e(e%2Cn%2Ct%2Ca%2Ca))return!0%3Bif(et(e%2Cn%2Ct%2Ca%2Ca))return!0%7Dreturn!1%7D%2Cbt%3Dfunction(e%2Ct%2Cn)%7Bvar%20r%3Dt.startContainer%2Ci%3D(0%2Cy.fb)(r%2C%22vditor-task%22)%3Bif(i)%7Bif(R(%22%E2%87%A7%E2%8C%98J%22%2Cn))%7Bvar%20o%3Di.firstElementChild%3Breturn%20o.checked%3Fo.removeAttribute(%22checked%22)%3Ao.setAttribute(%22checked%22%2C%22checked%22)%2Clt(e)%2Cn.preventDefault()%2C!0%7Dif(%22Backspace%22%3D%3D%3Dn.key%26%26!(0%2Cd.yl)(n)%26%26!n.shiftKey%26%26!n.altKey%26%26%22%22%3D%3D%3Dt.toString()%26%261%3D%3D%3Dt.startOffset%26%26(3%3D%3D%3Dr.nodeType%26%26r.previousSibling%26%26%22INPUT%22%3D%3D%3Dr.previousSibling.tagName%7C%7C3!%3D%3Dr.nodeType))%7Bvar%20a%3Di.previousElementSibling%3Bif(i.querySelector(%22input%22).remove()%2Ca)(0%2Cy.DX)(a).parentElement.insertAdjacentHTML(%22beforeend%22%2C%22%3Cwbr%3E%22%2Bi.innerHTML.trim())%2Ci.remove()%3Belse%20i.parentElement.insertAdjacentHTML(%22beforebegin%22%2C%27%3Cp%20data-block%3D%220%22%3E%3Cwbr%3E%27%2B(i.innerHTML.trim()%7C%7C%22%5Cn%22)%2B%22%3C%2Fp%3E%22)%2Ci.nextElementSibling%3Fi.remove()%3Ai.parentElement.remove()%3Breturn(0%2CN.ib)(e%5Be.currentMode%5D.element%2Ct)%2Clt(e)%2Cn.preventDefault()%2C!0%7Dif(%22Enter%22%3D%3D%3Dn.key%26%26!(0%2Cd.yl)(n)%26%26!n.shiftKey%26%26!n.altKey)%7Bif(%22%22%3D%3D%3Di.textContent.trim())if((0%2Cy.fb)(i.parentElement%2C%22vditor-task%22))%7Bvar%20l%3D(0%2Cy.O9)(r)%3Bl%26%26rt(e%2Ci%2Ct%2Cl)%7Delse%20if(i.nextElementSibling)%7Bvar%20s%3D%22%22%2Cc%3D%22%22%2Cu%3D!1%3BArray.from(i.parentElement.children).forEach((function(e)%7Bi.isSameNode(e)%3Fu%3D!0%3Au%3Fs%2B%3De.outerHTML%3Ac%2B%3De.outerHTML%7D))%3Bvar%20p%3Di.parentElement.tagName%2Cm%3D%22OL%22%3D%3D%3Di.parentElement.tagName%3F%22%22%3A%27%20data-marker%3D%22%27%2Bi.parentElement.getAttribute(%22data-marker%22)%2B%27%22%27%2Cf%3D%22%22%3Bc%26%26(f%3D%22UL%22%3D%3D%3Di.parentElement.tagName%3F%22%22%3A%27%20start%3D%221%22%27%2Cc%3D%22%3C%22%2Bp%2B%27%20data-tight%3D%22true%22%27%2Bm%2B%27%20data-block%3D%220%22%3E%27%2Bc%2B%22%3C%2F%22%2Bp%2B%22%3E%22)%2Ci.parentElement.outerHTML%3Dc%2B%27%3Cp%20data-block%3D%220%22%3E%3Cwbr%3E%5Cn%3C%2Fp%3E%3C%27%2Bp%2B%27%5Cn%20data-tight%3D%22true%22%27%2Bm%2B%27%20data-block%3D%220%22%27%2Bf%2B%22%3E%22%2Bs%2B%22%3C%2F%22%2Bp%2B%22%3E%22%7Delse%20i.parentElement.insertAdjacentHTML(%22afterend%22%2C%27%3Cp%20data-block%3D%220%22%3E%3Cwbr%3E%5Cn%3C%2Fp%3E%27)%2C1%3D%3D%3Di.parentElement.querySelectorAll(%22li%22).length%3Fi.parentElement.remove()%3Ai.remove()%3Belse%203!%3D%3Dr.nodeType%26%260%3D%3D%3Dt.startOffset%26%26%22INPUT%22%3D%3D%3Dr.firstChild.tagName%3Ft.setStart(r.childNodes%5B1%5D%2C1)%3A(t.setEndAfter(i.lastChild)%2Ci.insertAdjacentHTML(%22afterend%22%2C%27%3Cli%20class%3D%22vditor-task%22%20data-marker%3D%22%27%2Bi.getAttribute(%22data-marker%22)%2B%27%22%3E%3Cinput%20type%3D%22checkbox%22%3E%20%3Cwbr%3E%3C%2Fli%3E%27)%2Cdocument.querySelector(%22wbr%22).after(t.extractContents()))%3Breturn(0%2CN.ib)(e%5Be.currentMode%5D.element%2Ct)%2Clt(e)%2CMe(e)%2Cn.preventDefault()%2C!0%7D%7Dreturn!1%7D%2Cwt%3Dfunction(e%2Ct%2Cn%2Cr)%7Bif(3!%3D%3Dt.startContainer.nodeType)%7Bvar%20i%3Dt.startContainer.children%5Bt.startOffset%5D%3Bif(i%26%26%22HR%22%3D%3D%3Di.tagName)return%20t.selectNodeContents(i.previousElementSibling)%2Ct.collapse(!1)%2Cn.preventDefault()%2C!0%7Dif(r)%7Bvar%20o%3Dr.previousElementSibling%3Bif(o%26%260%3D%3D%3D(0%2CN.im)(r%2Ce%5Be.currentMode%5D.element%2Ct).start%26%26((0%2Cd.vU)()%26%26%22HR%22%3D%3D%3Do.tagName%7C%7C%22TABLE%22%3D%3D%3Do.tagName))%7Bif(%22TABLE%22%3D%3D%3Do.tagName)%7Bvar%20a%3Do.lastElementChild.lastElementChild.lastElementChild%3Ba.innerHTML%3Da.innerHTML.trimLeft()%2B%22%3Cwbr%3E%22%2Br.textContent.trim()%2Cr.remove()%7Delse%20o.remove()%3Breturn(0%2CN.ib)(e%5Be.currentMode%5D.element%2Ct)%2Clt(e)%2Cn.preventDefault()%2C!0%7D%7Dreturn!1%7D%2CEt%3Dfunction(e)%7B(0%2Cd.vU)()%26%263!%3D%3De.startContainer.nodeType%26%26%22HR%22%3D%3D%3De.startContainer.tagName%26%26e.setStartBefore(e.startContainer)%7D%2Ckt%3Dfunction(e%2Ct%2Cn)%7Bvar%20r%2Ci%3Bif(!(0%2Cd.vU)())return!1%3Bif(%22ArrowUp%22%3D%3D%3De.key%26%26t%26%26%22TABLE%22%3D%3D%3D(null%3D%3D%3D(r%3Dt.previousElementSibling)%7C%7Cvoid%200%3D%3D%3Dr%3Fvoid%200%3Ar.tagName))%7Bvar%20o%3Dt.previousElementSibling%3Breturn%20n.selectNodeContents(o.rows%5Bo.rows.length-1%5D.lastElementChild)%2Cn.collapse(!1)%2Ce.preventDefault()%2C!0%7Dreturn!(%22ArrowDown%22!%3D%3De.key%7C%7C!t%7C%7C%22TABLE%22!%3D%3D(null%3D%3D%3D(i%3Dt.nextElementSibling)%7C%7Cvoid%200%3D%3D%3Di%3Fvoid%200%3Ai.tagName))%26%26(n.selectNodeContents(t.nextElementSibling.rows%5B0%5D.cells%5B0%5D)%2Cn.collapse(!0)%2Ce.preventDefault()%2C!0)%7D%2CSt%3Dfunction(e%2Ct%2Cn)%7Breturn%20ze(void%200%2Cvoid%200%2Cvoid%200%2C(function()%7Bvar%20r%2Co%2Ca%2Cl%2Cs%2Cd%2Cc%2Cu%2Cp%2Cm%2Cf%2Ch%2Cv%2Cg%2Cb%2Cw%3Breturn%20Ge(this%2C(function(E)%7Bswitch(E.label)%7Bcase%200%3Areturn%22true%22!%3D%3De%5Be.currentMode%5D.element.getAttribute(%22contenteditable%22)%3F%5B2%5D%3A(t.stopPropagation()%2Ct.preventDefault()%2C%22clipboardData%22in%20t%3F(r%3Dt.clipboardData.getData(%22text%2Fhtml%22)%2Co%3Dt.clipboardData.getData(%22text%2Fplain%22)%2Ca%3Dt.clipboardData.files)%3A(r%3Dt.dataTransfer.getData(%22text%2Fhtml%22)%2Co%3Dt.dataTransfer.getData(%22text%2Fplain%22)%2Ct.dataTransfer.types.includes(%22Files%22)%26%26(a%3Dt.dataTransfer.items))%2Cl%3D%7B%7D%2Cs%3Dfunction(t%2Cn)%7Bif(!n)return%5B%22%22%2CLute.WalkContinue%5D%3Bvar%20r%3Dt.TokensStr()%3Bif(34%3D%3D%3Dt.__internal_object__.Parent.Type%26%26r%26%26-1%3D%3D%3Dr.indexOf(%22file%3A%2F%2F%22)%26%26e.options.upload.linkToImgUrl)%7Bvar%20i%3Dnew%20XMLHttpRequest%3Bi.open(%22POST%22%2Ce.options.upload.linkToImgUrl)%2Ce.options.upload.token%26%26i.setRequestHeader(%22X-Upload-Token%22%2Ce.options.upload.token)%2Ce.options.upload.withCredentials%26%26(i.withCredentials%3D!0)%2CRe(e%2Ci)%2Ci.setRequestHeader(%22Content-Type%22%2C%22application%2Fjson%3B%20charset%3Dutf-8%22)%2Ci.onreadystatechange%3Dfunction()%7Bif(i.readyState%3D%3D%3DXMLHttpRequest.DONE)%7Bif(200%3D%3D%3Di.status)%7Bvar%20t%3Di.responseText%3Be.options.upload.linkToImgFormat%26%26(t%3De.options.upload.linkToImgFormat(i.responseText))%3Bvar%20n%3DJSON.parse(t)%3Bif(0!%3D%3Dn.code)return%20void%20e.tip.show(n.msg)%3Bvar%20r%3Dn.data.originalURL%3Bif(%22sv%22%3D%3D%3De.currentMode)e.sv.element.querySelectorAll(%22.vditor-sv__marker--link%22).forEach((function(e)%7Be.textContent%3D%3D%3Dr%26%26(e.textContent%3Dn.data.url)%7D))%3Belse%7Bvar%20o%3De%5Be.currentMode%5D.element.querySelector(%27img%5Bsrc%3D%22%27%2Br%2B%27%22%5D%27)%3Bo.src%3Dn.data.url%2C%22ir%22%3D%3D%3De.currentMode%26%26(o.previousElementSibling.previousElementSibling.innerHTML%3Dn.data.url)%7Dlt(e)%7Delse%20e.tip.show(i.responseText)%3Be.options.upload.linkToImgCallback%26%26e.options.upload.linkToImgCallback(i.responseText)%7D%7D%2Ci.send(JSON.stringify(%7Burl%3Ar%7D))%7Dreturn%22ir%22%3D%3D%3De.currentMode%3F%5B%27%3Cspan%20class%3D%22vditor-ir__marker%20vditor-ir__marker--link%22%3E%27%2BLute.EscapeHTMLStr(r)%2B%22%3C%2Fspan%3E%22%2CLute.WalkContinue%5D%3A%22wysiwyg%22%3D%3D%3De.currentMode%3F%5B%22%22%2CLute.WalkContinue%5D%3A%5B%27%3Cspan%20class%3D%22vditor-sv__marker--link%22%3E%27%2BLute.EscapeHTMLStr(r)%2B%22%3C%2Fspan%3E%22%2CLute.WalkContinue%5D%7D%2Cr.replace(%2F%26%2Fg%2C%22%26%22).replace(%2F%3C(%7C%5C%2F)(html%7Cbody%7Cmeta)%5B%5E%3E%5D*%3F%3E%2Fgi%2C%22%22).trim()!%3D%3D%27%3Ca%20href%3D%22%27%2Bo%2B%27%22%3E%27%2Bo%2B%22%3C%2Fa%3E%22%26%26r.replace(%2F%26%2Fg%2C%22%26%22).replace(%2F%3C(%7C%5C%2F)(html%7Cbody%7Cmeta)%5B%5E%3E%5D*%3F%3E%2Fgi%2C%22%22).trim()!%3D%3D%27%5Cx3c!--StartFragment--%5Cx3e%3Ca%20href%3D%22%27%2Bo%2B%27%22%3E%27%2Bo%2B%22%3C%2Fa%3E%5Cx3c!--EndFragment--%5Cx3e%22%7C%7C(r%3D%22%22)%2C(d%3D(new%20DOMParser).parseFromString(r%2C%22text%2Fhtml%22)).body%26%26(r%3Dd.body.innerHTML)%2Cr%3DLute.Sanitize(r)%2Ce.wysiwyg.getComments(e)%2Cc%3De%5Be.currentMode%5D.element.scrollHeight%2Cu%3Dfunction(e%2Ct%2Cn)%7Bvoid%200%3D%3D%3Dn%26%26(n%3D%22sv%22)%3Bvar%20r%3Ddocument.createElement(%22div%22)%3Br.innerHTML%3De%3Bvar%20i%3D!1%3B1%3D%3D%3Dr.childElementCount%26%26r.lastElementChild.style.fontFamily.indexOf(%22monospace%22)%3E-1%26%26(i%3D!0)%3Bvar%20o%3Dr.querySelectorAll(%22pre%22)%3Bif(1%3D%3D%3Dr.childElementCount%26%261%3D%3D%3Do.length%26%26%22vditor-wysiwyg%22!%3D%3Do%5B0%5D.className%26%26%22vditor-sv%22!%3D%3Do%5B0%5D.className%26%26(i%3D!0)%2C0%3D%3D%3De.indexOf(%27%5Cn%3Cp%20class%3D%22p1%22%3E%27)%26%26(i%3D!0)%2C1%3D%3D%3Dr.childElementCount%26%26%22TABLE%22%3D%3D%3Dr.firstElementChild.tagName%26%26r.querySelector(%22.line-number%22)%26%26r.querySelector(%22.line-content%22)%26%26(i%3D!0)%2Ci)%7Bvar%20a%3Dt%7C%7Ce%3Breturn%2F%5Cn%2F.test(a)%7C%7C1%3D%3D%3Do.length%3F%22wysiwyg%22%3D%3D%3Dn%3F%27%3Cdiv%20class%3D%22vditor-wysiwyg__block%22%20data-block%3D%220%22%20data-type%3D%22code-block%22%3E%3Cpre%3E%3Ccode%3E%27%2Ba.replace(%2F%26%2Fg%2C%22%26%22).replace(%2F%3C%2Fg%2C%22%26lt%3B%22)%2B%22%3Cwbr%3E%3C%2Fcode%3E%3C%2Fpre%3E%3C%2Fdiv%3E%22%3A%22%5Cn%60%60%60%5Cn%22%2Ba.replace(%2F%26%2Fg%2C%22%26%22).replace(%2F%3C%2Fg%2C%22%26lt%3B%22)%2B%22%5Cn%60%60%60%22%3A%22wysiwyg%22%3D%3D%3Dn%3F%22%3Ccode%3E%22%2Ba.replace(%2F%26%2Fg%2C%22%26%22).replace(%2F%3C%2Fg%2C%22%26lt%3B%22)%2B%22%3C%2Fcode%3E%3Cwbr%3E%22%3A%22%60%22%2Ba%2B%22%60%22%7Dreturn!1%7D(r%2Co%2Ce.currentMode)%2C(p%3D%22sv%22%3D%3D%3De.currentMode%3F(0%2Cy.a1)(t.target%2C%22data-type%22%2C%22code-block%22)%3A(0%2Cy.lG)(t.target%2C%22CODE%22))%3F(%22sv%22%3D%3D%3De.currentMode%3Fdocument.execCommand(%22insertHTML%22%2C!1%2Co.replace(%2F%26%2Fg%2C%22%26%22).replace(%2F%3C%2Fg%2C%22%26lt%3B%22))%3A(m%3D(0%2CN.im)(t.target%2Ce%5Be.currentMode%5D.element)%2C%22PRE%22!%3D%3Dp.parentElement.tagName%26%26(o%2B%3Di.g.ZWSP)%2Cp.textContent%3Dp.textContent.substring(0%2Cm.start)%2Bo%2Bp.textContent.substring(m.end)%2C(0%2CN.%24j)(m.start%2Bo.length%2Cm.start%2Bo.length%2Cp.parentElement)%2C(null%3D%3D%3D(w%3Dp.parentElement)%7C%7Cvoid%200%3D%3D%3Dw%3Fvoid%200%3Aw.nextElementSibling.classList.contains(%22vditor-%22%2Be.currentMode%2B%22__preview%22))%26%26(p.parentElement.nextElementSibling.innerHTML%3Dp.outerHTML%2CH(p.parentElement.nextElementSibling%2Ce)))%2C%5B3%2C8%5D)%3A%5B3%2C1%5D)%3Bcase%201%3Areturn%20u%3F(n.pasteCode(u)%2C%5B3%2C8%5D)%3A%5B3%2C2%5D%3Bcase%202%3Areturn%22%22%3D%3D%3Dr.trim()%3F%5B3%2C3%5D%3A((f%3Ddocument.createElement(%22div%22)).innerHTML%3Dr%2Cf.querySelectorAll(%22%5Bstyle%5D%22).forEach((function(e)%7Be.removeAttribute(%22style%22)%7D))%2Cf.querySelectorAll(%22.vditor-copy%22).forEach((function(e)%7Be.remove()%7D))%2C%22ir%22%3D%3D%3De.currentMode%3F(l.HTML2VditorIRDOM%3D%7BrenderLinkDest%3As%7D%2Ce.lute.SetJSRenderers(%7Brenderers%3Al%7D)%2C(0%2CN.oC)(e.lute.HTML2VditorIRDOM(f.innerHTML)%2Ce))%3A%22wysiwyg%22%3D%3D%3De.currentMode%3F(l.HTML2VditorDOM%3D%7BrenderLinkDest%3As%7D%2Ce.lute.SetJSRenderers(%7Brenderers%3Al%7D)%2C(0%2CN.oC)(e.lute.HTML2VditorDOM(f.innerHTML)%2Ce))%3A(l.Md2VditorSVDOM%3D%7BrenderLinkDest%3As%7D%2Ce.lute.SetJSRenderers(%7Brenderers%3Al%7D)%2C_e(e%2Ce.lute.HTML2Md(f.innerHTML).trimRight()))%2Ce.outline.render(e)%2C%5B3%2C8%5D)%3Bcase%203%3Areturn%20a.length%3E0%3Fe.options.upload.url%7C%7Ce.options.upload.handler%3F%5B4%2CVe(e%2Ca)%5D%3A%5B3%2C5%5D%3A%5B3%2C7%5D%3Bcase%204%3Areturn%20E.sent()%2C%5B3%2C6%5D%3Bcase%205%3Ah%3Dnew%20FileReader%2C%22clipboardData%22in%20t%3F(a%3Dt.clipboardData.files%2Cv%3Da%5B0%5D)%3At.dataTransfer.types.includes(%22Files%22)%26%26(a%3Dt.dataTransfer.items%2Cv%3Da%5B0%5D.getAsFile())%2Cv%26%26v.type.startsWith(%22image%22)%26%26(h.readAsDataURL(v)%2Ch.onload%3Dfunction()%7Bvar%20t%3D%22%22%3B%22wysiwyg%22%3D%3D%3De.currentMode%3Ft%2B%3D%27%3Cimg%20alt%3D%22%27%2Bv.name%2B%27%22%20src%3D%22%27%2Bh.result.toString()%2B%27%22%3E%5Cn%27%3At%2B%3D%22!%5B%22%2Bv.name%2B%22%5D(%22%2Bh.result.toString()%2B%22)%5Cn%22%2Cdocument.execCommand(%22insertHTML%22%2C!1%2Ct)%7D)%2CE.label%3D6%3Bcase%206%3Areturn%5B3%2C8%5D%3Bcase%207%3A%22%22!%3D%3Do.trim()%26%260%3D%3D%3Da.length%26%26(%22ir%22%3D%3D%3De.currentMode%3F(l.Md2VditorIRDOM%3D%7BrenderLinkDest%3As%7D%2Ce.lute.SetJSRenderers(%7Brenderers%3Al%7D)%2C(0%2CN.oC)(e.lute.Md2VditorIRDOM(o)%2Ce))%3A%22wysiwyg%22%3D%3D%3De.currentMode%3F(l.Md2VditorDOM%3D%7BrenderLinkDest%3As%7D%2Ce.lute.SetJSRenderers(%7Brenderers%3Al%7D)%2C(0%2CN.oC)(e.lute.Md2VditorDOM(o)%2Ce))%3A(l.Md2VditorSVDOM%3D%7BrenderLinkDest%3As%7D%2Ce.lute.SetJSRenderers(%7Brenderers%3Al%7D)%2C_e(e%2Co))%2Ce.outline.render(e))%2CE.label%3D8%3Bcase%208%3Areturn%22sv%22!%3D%3De.currentMode%26%26((g%3D(0%2Cy.F9)((0%2CN.zh)(e).startContainer))%26%26(b%3D(0%2CN.zh)(e)%2Ce%5Be.currentMode%5D.element.querySelectorAll(%22wbr%22).forEach((function(e)%7Be.remove()%7D))%2Cb.insertNode(document.createElement(%22wbr%22))%2C%22wysiwyg%22%3D%3D%3De.currentMode%3Fg.outerHTML%3De.lute.SpinVditorDOM(g.outerHTML)%3Ag.outerHTML%3De.lute.SpinVditorIRDOM(g.outerHTML)%2C(0%2CN.ib)(e%5Be.currentMode%5D.element%2Cb))%2Ce%5Be.currentMode%5D.element.querySelectorAll(%22.vditor-%22%2Be.currentMode%2B%22__preview%5Bdata-render%3D%272%27%5D%22).forEach((function(t)%7BH(t%2Ce)%7D)))%2Ce.wysiwyg.triggerRemoveComment(e)%2Clt(e)%2Ce%5Be.currentMode%5D.element.scrollHeight-c%3EMath.min(e%5Be.currentMode%5D.element.clientHeight%2Cwindow.innerHeight)%2F2%26%26Me(e)%2C%5B2%5D%7D%7D))%7D))%7D%2CLt%3Dfunction(e)%7Be.hint.render(e)%3Bvar%20t%3D(0%2CN.zh)(e).startContainer%2Cn%3D(0%2Cy.a1)(t%2C%22data-type%22%2C%22code-block-info%22)%3Bif(n)if(%22%22%3D%3D%3Dn.textContent.replace(i.g.ZWSP%2C%22%22)%26%26e.hint.recentLanguage)%7Bn.textContent%3Di.g.ZWSP%2Be.hint.recentLanguage%2C(0%2CN.zh)(e).selectNodeContents(n)%7Delse%7Bvar%20r%3D%5B%5D%2Co%3Dn.textContent.substring(0%2C(0%2CN.im)(n%2Ce.ir.element).start).replace(i.g.ZWSP%2C%22%22)%3Bi.g.CODE_LANGUAGES.forEach((function(e)%7Be.indexOf(o.toLowerCase())%3E-1%26%26r.push(%7Bhtml%3Ae%2Cvalue%3Ae%7D)%7D))%2Ce.hint.genHTML(r%2Co%2Ce)%7D%7D%2CCt%3Dfunction(e%2Ct)%7Bvoid%200%3D%3D%3Dt%26%26(t%3D%7BenableAddUndoStack%3A!0%2CenableHint%3A!1%2CenableInput%3A!0%7D)%2Ct.enableHint%26%26Lt(e)%2CclearTimeout(e.ir.processTimeoutId)%2Ce.ir.processTimeoutId%3Dwindow.setTimeout((function()%7Bif(!e.ir.composingLock)%7Bvar%20n%3Da(e)%3B%22function%22%3D%3Dtypeof%20e.options.input%26%26t.enableInput%26%26e.options.input(n)%2Ce.options.counter.enable%26%26e.counter.render(e%2Cn)%2Ce.options.cache.enable%26%26(0%2Cd.pK)()%26%26(localStorage.setItem(e.options.cache.id%2Cn)%2Ce.options.cache.after%26%26e.options.cache.after(n))%2Ce.devtools%26%26e.devtools.renderEchart(e)%2Ct.enableAddUndoStack%26%26e.undo.addToUndoStack(e)%7D%7D)%2Ce.options.undoDelay)%7D%2CMt%3Dfunction(e%2Ct)%7Bvar%20n%3D(0%2CN.zh)(e)%2Cr%3D(0%2Cy.F9)(n.startContainer)%7C%7Cn.startContainer%3Bif(r)%7Bvar%20i%3Dr.querySelector(%22.vditor-ir__marker--heading%22)%3Bi%3Fi.innerHTML%3Dt%3A(r.insertAdjacentText(%22afterbegin%22%2Ct)%2Cn.selectNodeContents(r)%2Cn.collapse(!1))%2Cj(e%2Cn.cloneRange())%2CJ(e)%7D%7D%2CTt%3Dfunction(e%2Ct%2Cn)%7Bvar%20r%3D(0%2Cy.a1)(e.startContainer%2C%22data-type%22%2Cn)%3Bif(r)%7Br.firstElementChild.remove()%2Cr.lastElementChild.remove()%2Ce.insertNode(document.createElement(%22wbr%22))%3Bvar%20i%3Ddocument.createElement(%22div%22)%3Bi.innerHTML%3Dt.lute.SpinVditorIRDOM(r.outerHTML)%2Cr.outerHTML%3Di.firstElementChild.innerHTML.trim()%7D%7D%2CAt%3Dfunction(e%2Ct%2Cn%2Cr)%7Bvar%20i%3D(0%2CN.zh)(e)%2Co%3Dt.getAttribute(%22data-type%22)%2Ca%3Di.startContainer%3B3%3D%3D%3Da.nodeType%26%26(a%3Da.parentElement)%3Bvar%20l%3D!0%3Bif(t.classList.contains(%22vditor-menu--current%22))if(%22quote%22%3D%3D%3Do)%7Bvar%20s%3D(0%2Cy.lG)(a%2C%22BLOCKQUOTE%22)%3Bs%26%26(i.insertNode(document.createElement(%22wbr%22))%2Cs.outerHTML%3D%22%22%3D%3D%3Ds.innerHTML.trim()%3F%27%3Cp%20data-block%3D%220%22%3E%27%2Bs.innerHTML%2B%22%3C%2Fp%3E%22%3As.innerHTML)%7Delse%20if(%22link%22%3D%3D%3Do)%7Bvar%20d%3D(0%2Cy.a1)(i.startContainer%2C%22data-type%22%2C%22a%22)%3Bif(d)%7Bvar%20u%3D(0%2Cy.fb)(i.startContainer%2C%22vditor-ir__link%22)%3Bu%3F(i.insertNode(document.createElement(%22wbr%22))%2Cd.outerHTML%3Du.innerHTML)%3Ad.outerHTML%3Dd.querySelector(%22.vditor-ir__link%22).innerHTML%2B%22%3Cwbr%3E%22%7D%7Delse%22italic%22%3D%3D%3Do%3FTt(i%2Ce%2C%22em%22)%3A%22bold%22%3D%3D%3Do%3FTt(i%2Ce%2C%22strong%22)%3A%22strike%22%3D%3D%3Do%3FTt(i%2Ce%2C%22s%22)%3A%22inline-code%22%3D%3D%3Do%3FTt(i%2Ce%2C%22code%22)%3A%22check%22!%3D%3Do%26%26%22list%22!%3D%3Do%26%26%22ordered-list%22!%3D%3Do%7C%7C(tt(e%2Ci%2Co)%2Cl%3D!1%2Ct.classList.remove(%22vditor-menu--current%22))%3Belse%7B0%3D%3D%3De.ir.element.childNodes.length%26%26(e.ir.element.innerHTML%3D%27%3Cp%20data-block%3D%220%22%3E%3Cwbr%3E%3C%2Fp%3E%27%2C(0%2CN.ib)(e.ir.element%2Ci))%3Bvar%20p%3D(0%2Cy.F9)(i.startContainer)%3Bif(%22line%22%3D%3D%3Do)%7Bif(p)%7Bvar%20m%3D%27%3Chr%20data-block%3D%220%22%3E%3Cp%20data-block%3D%220%22%3E%3Cwbr%3E%5Cn%3C%2Fp%3E%27%3B%22%22%3D%3D%3Dp.innerHTML.trim()%3Fp.outerHTML%3Dm%3Ap.insertAdjacentHTML(%22afterend%22%2Cm)%7D%7Delse%20if(%22quote%22%3D%3D%3Do)p%26%26(i.insertNode(document.createElement(%22wbr%22))%2Cp.outerHTML%3D%27%3Cblockquote%20data-block%3D%220%22%3E%27%2Bp.outerHTML%2B%22%3C%2Fblockquote%3E%22%2Cl%3D!1%2Ct.classList.add(%22vditor-menu--current%22))%3Belse%20if(%22link%22%3D%3D%3Do)%7Bvar%20f%3Dvoid%200%3Bf%3D%22%22%3D%3D%3Di.toString()%3Fn%2B%22%3Cwbr%3E%22%2Br%3A%22%22%2Bn%2Bi.toString()%2Br.replace(%22)%22%2C%22%3Cwbr%3E)%22)%2Cdocument.execCommand(%22insertHTML%22%2C!1%2Cf)%2Cl%3D!1%2Ct.classList.add(%22vditor-menu--current%22)%7Delse%20if(%22italic%22%3D%3D%3Do%7C%7C%22bold%22%3D%3D%3Do%7C%7C%22strike%22%3D%3D%3Do%7C%7C%22inline-code%22%3D%3D%3Do%7C%7C%22code%22%3D%3D%3Do%7C%7C%22table%22%3D%3D%3Do)%7Bf%3Dvoid%200%3B%22%22%3D%3D%3Di.toString()%3Ff%3Dn%2B%22%3Cwbr%3E%22%2Br%3A(f%3D%22code%22%3D%3D%3Do%7C%7C%22table%22%3D%3D%3Do%3F%22%22%2Bn%2Bi.toString()%2B%22%3Cwbr%3E%22%2Br%3A%22%22%2Bn%2Bi.toString()%2Br%2B%22%3Cwbr%3E%22%2Ci.deleteContents())%2C%22table%22!%3D%3Do%26%26%22code%22!%3D%3Do%7C%7C(f%3D%22%5Cn%22%2Bf%2B%22%5Cn%5Cn%22)%3Bvar%20h%3Ddocument.createElement(%22span%22)%3Bh.innerHTML%3Df%2Ci.insertNode(h)%2Cj(e%2Ci)%2C%22table%22%3D%3D%3Do%26%26(i.selectNodeContents(getSelection().getRangeAt(0).startContainer.parentElement)%2C(0%2CN.Hc)(i))%7Delse%22check%22!%3D%3Do%26%26%22list%22!%3D%3Do%26%26%22ordered-list%22!%3D%3Do%7C%7C(tt(e%2Ci%2Co%2C!1)%2Cl%3D!1%2Cc(e.toolbar.elements%2C%5B%22check%22%2C%22list%22%2C%22ordered-list%22%5D)%2Ct.classList.add(%22vditor-menu--current%22))%7D(0%2CN.ib)(e.ir.element%2Ci)%2CCt(e)%2Cl%26%26J(e)%7D%2C_t%3Dfunction(e%2Ct%2Cn%2Cr)%7Breturn%20new(n%7C%7C(n%3DPromise))((function(i%2Co)%7Bfunction%20a(e)%7Btry%7Bs(r.next(e))%7Dcatch(e)%7Bo(e)%7D%7Dfunction%20l(e)%7Btry%7Bs(r.throw(e))%7Dcatch(e)%7Bo(e)%7D%7Dfunction%20s(e)%7Bvar%20t%3Be.done%3Fi(e.value)%3A(t%3De.value%2Ct%20instanceof%20n%3Ft%3Anew%20n((function(e)%7Be(t)%7D))).then(a%2Cl)%7Ds((r%3Dr.apply(e%2Ct%7C%7C%5B%5D)).next())%7D))%7D%2Cxt%3Dfunction(e%2Ct)%7Bvar%20n%2Cr%2Ci%2Co%2Ca%3D%7Blabel%3A0%2Csent%3Afunction()%7Bif(1%26i%5B0%5D)throw%20i%5B1%5D%3Breturn%20i%5B1%5D%7D%2Ctrys%3A%5B%5D%2Cops%3A%5B%5D%7D%3Breturn%20o%3D%7Bnext%3Al(0)%2Cthrow%3Al(1)%2Creturn%3Al(2)%7D%2C%22function%22%3D%3Dtypeof%20Symbol%26%26(o%5BSymbol.iterator%5D%3Dfunction()%7Breturn%20this%7D)%2Co%3Bfunction%20l(o)%7Breturn%20function(l)%7Breturn%20function(o)%7Bif(n)throw%20new%20TypeError(%22Generator%20is%20already%20executing.%22)%3Bfor(%3Ba%3B)try%7Bif(n%3D1%2Cr%26%26(i%3D2%26o%5B0%5D%3Fr.return%3Ao%5B0%5D%3Fr.throw%7C%7C((i%3Dr.return)%26%26i.call(r)%2C0)%3Ar.next)%26%26!(i%3Di.call(r%2Co%5B1%5D)).done)return%20i%3Bswitch(r%3D0%2Ci%26%26(o%3D%5B2%26o%5B0%5D%2Ci.value%5D)%2Co%5B0%5D)%7Bcase%200%3Acase%201%3Ai%3Do%3Bbreak%3Bcase%204%3Areturn%20a.label%2B%2B%2C%7Bvalue%3Ao%5B1%5D%2Cdone%3A!1%7D%3Bcase%205%3Aa.label%2B%2B%2Cr%3Do%5B1%5D%2Co%3D%5B0%5D%3Bcontinue%3Bcase%207%3Ao%3Da.ops.pop()%2Ca.trys.pop()%3Bcontinue%3Bdefault%3Aif(!(i%3Da.trys%2C(i%3Di.length%3E0%26%26i%5Bi.length-1%5D)%7C%7C6!%3D%3Do%5B0%5D%26%262!%3D%3Do%5B0%5D))%7Ba%3D0%3Bcontinue%7Dif(3%3D%3D%3Do%5B0%5D%26%26(!i%7C%7Co%5B1%5D%3Ei%5B0%5D%26%26o%5B1%5D%3Ci%5B3%5D))%7Ba.label%3Do%5B1%5D%3Bbreak%7Dif(6%3D%3D%3Do%5B0%5D%26%26a.label%3Ci%5B1%5D)%7Ba.label%3Di%5B1%5D%2Ci%3Do%3Bbreak%7Dif(i%26%26a.label%3Ci%5B2%5D)%7Ba.label%3Di%5B2%5D%2Ca.ops.push(o)%3Bbreak%7Di%5B2%5D%26%26a.ops.pop()%2Ca.trys.pop()%3Bcontinue%7Do%3Dt.call(e%2Ca)%7Dcatch(e)%7Bo%3D%5B6%2Ce%5D%2Cr%3D0%7Dfinally%7Bn%3Di%3D0%7Dif(5%26o%5B0%5D)throw%20o%5B1%5D%3Breturn%7Bvalue%3Ao%5B0%5D%3Fo%5B1%5D%3Avoid%200%2Cdone%3A!0%7D%7D(%5Bo%2Cl%5D)%7D%7D%7D%2CHt%3Dfunction()%7Bfunction%20e(e)%7Bvar%20t%3Dthis%3Bthis.splitChar%3D%22%22%2Cthis.lastIndex%3D-1%2Cthis.fillEmoji%3Dfunction(e%2Cn)%7Bt.element.style.display%3D%22none%22%3Bvar%20r%3DdecodeURIComponent(e.getAttribute(%22data-value%22))%2Co%3Dwindow.getSelection().getRangeAt(0)%3Bif(%22ir%22%3D%3D%3Dn.currentMode)%7Bvar%20a%3D(0%2Cy.a1)(o.startContainer%2C%22data-type%22%2C%22code-block-info%22)%3Bif(a)return%20a.textContent%3Di.g.ZWSP%2Br.trimRight()%2Co.selectNodeContents(a)%2Co.collapse(!1)%2CCt(n)%2Ca.parentElement.querySelectorAll(%22code%22).forEach((function(e)%7Be.className%3D%22language-%22%2Br.trimRight()%7D))%2CH(a.parentElement.querySelector(%22.vditor-ir__preview%22)%2Cn)%2Cvoid(t.recentLanguage%3Dr.trimRight())%7Dif(%22wysiwyg%22%3D%3D%3Dn.currentMode%26%263!%3D%3Do.startContainer.nodeType)%7Bvar%20l%3Do.startContainer%2Cs%3Dvoid%200%3Bif((s%3Dl.classList.contains(%22vditor-input%22)%3Fl%3Al.firstElementChild)%26%26s.classList.contains(%22vditor-input%22))return%20s.value%3Dr.trimRight()%2Co.selectNodeContents(s)%2Co.collapse(!1)%2Cs.dispatchEvent(new%20CustomEvent(%22input%22%2C%7Bdetail%3A1%7D))%2Cvoid(t.recentLanguage%3Dr.trimRight())%7Dif(o.setStart(o.startContainer%2Ct.lastIndex)%2Co.deleteContents()%2Cn.options.hint.parse%3F%22sv%22%3D%3D%3Dn.currentMode%3F(0%2CN.oC)(n.lute.SpinVditorSVDOM(r)%2Cn)%3A%22wysiwyg%22%3D%3D%3Dn.currentMode%3F(0%2CN.oC)(n.lute.SpinVditorDOM(r)%2Cn)%3A(0%2CN.oC)(n.lute.SpinVditorIRDOM(r)%2Cn)%3A(0%2CN.oC)(r%2Cn)%2C%22%3A%22%3D%3D%3Dt.splitChar%26%26r.indexOf(%22%3A%22)%3E-1%26%26%22sv%22!%3D%3Dn.currentMode%26%26o.insertNode(document.createTextNode(%22%20%22))%2Co.collapse(!1)%2C(0%2CN.Hc)(o)%2C%22wysiwyg%22%3D%3D%3Dn.currentMode)(d%3D(0%2Cy.fb)(o.startContainer%2C%22vditor-wysiwyg__block%22))%26%26d.lastElementChild.classList.contains(%22vditor-wysiwyg__preview%22)%26%26(d.lastElementChild.innerHTML%3Dd.firstElementChild.innerHTML%2CH(d.lastElementChild%2Cn))%3Belse%20if(%22ir%22%3D%3D%3Dn.currentMode)%7Bvar%20d%3B(d%3D(0%2Cy.fb)(o.startContainer%2C%22vditor-ir__marker--pre%22))%26%26d.nextElementSibling.classList.contains(%22vditor-ir__preview%22)%26%26(d.nextElementSibling.innerHTML%3Dd.innerHTML%2CH(d.nextElementSibling%2Cn))%7Dlt(n)%7D%2Cthis.timeId%3D-1%2Cthis.element%3Ddocument.createElement(%22div%22)%2Cthis.element.className%3D%22vditor-hint%22%2Cthis.recentLanguage%3D%22%22%2Ce.push(%7Bkey%3A%22%3A%22%7D)%7Dreturn%20e.prototype.render%3Dfunction(e)%7Bvar%20t%3Dthis%3Bif(window.getSelection().focusNode)%7Bvar%20n%2Cr%3DgetSelection().getRangeAt(0)%3Bn%3Dr.startContainer.textContent.substring(0%2Cr.startOffset)%7C%7C%22%22%3Bvar%20i%3Dthis.getKey(n%2Ce.options.hint.extend)%3Bif(void%200%3D%3D%3Di)this.element.style.display%3D%22none%22%2CclearTimeout(this.timeId)%3Belse%20if(%22%3A%22%3D%3D%3Dthis.splitChar)%7Bvar%20o%3D%22%22%3D%3D%3Di%3Fe.options.hint.emoji%3Ae.lute.GetEmojis()%2Ca%3D%5B%5D%3BObject.keys(o).forEach((function(e)%7B0%3D%3D%3De.indexOf(i.toLowerCase())%26%26(o%5Be%5D.indexOf(%22.%22)%3E-1%3Fa.push(%7Bhtml%3A%27%3Cimg%20src%3D%22%27%2Bo%5Be%5D%2B%27%22%20title%3D%22%3A%27%2Be%2B%27%3A%22%2F%3E%20%3A%27%2Be%2B%22%3A%22%2Cvalue%3A%22%3A%22%2Be%2B%22%3A%22%7D)%3Aa.push(%7Bhtml%3A%27%3Cspan%20class%3D%22vditor-hint__emoji%22%3E%27%2Bo%5Be%5D%2B%22%3C%2Fspan%3E%22%2Be%2Cvalue%3Ao%5Be%5D%7D))%7D))%2Cthis.genHTML(a%2Ci%2Ce)%7Delse%20e.options.hint.extend.forEach((function(n)%7Bn.key%3D%3D%3Dt.splitChar%26%26(clearTimeout(t.timeId)%2Ct.timeId%3Dwindow.setTimeout((function()%7Breturn%20_t(t%2Cvoid%200%2Cvoid%200%2C(function()%7Bvar%20t%3Breturn%20xt(this%2C(function(r)%7Bswitch(r.label)%7Bcase%200%3Areturn%20t%3Dthis.genHTML%2C%5B4%2Cn.hint(i)%5D%3Bcase%201%3Areturn%20t.apply(this%2C%5Br.sent()%2Ci%2Ce%5D)%2C%5B2%5D%7D%7D))%7D))%7D)%2Ce.options.hint.delay))%7D))%7D%7D%2Ce.prototype.genHTML%3Dfunction(e%2Ct%2Cn)%7Bvar%20r%3Dthis%3Bif(0!%3D%3De.length)%7Bvar%20i%3Dn%5Bn.currentMode%5D.element%2Co%3D(0%2CN.Ny)(i)%2Ca%3Do.left%2B(%22left%22%3D%3D%3Dn.options.outline.position%3Fn.outline.element.offsetWidth%3A0)%2Cl%3Do.top%2Cs%3D%22%22%3Be.forEach((function(e%2Cn)%7Bif(!(n%3E7))%7Bvar%20r%3De.html%3Bif(%22%22!%3D%3Dt)%7Bvar%20i%3Dr.lastIndexOf(%22%3E%22)%2B1%2Co%3Dr.substr(i)%2Ca%3Do.toLowerCase().indexOf(t.toLowerCase())%3Ba%3E-1%26%26(o%3Do.substring(0%2Ca)%2B%22%3Cb%3E%22%2Bo.substring(a%2Ca%2Bt.length)%2B%22%3C%2Fb%3E%22%2Bo.substring(a%2Bt.length)%2Cr%3Dr.substr(0%2Ci)%2Bo)%7Ds%2B%3D%27%3Cbutton%20data-value%3D%22%27%2BencodeURIComponent(e.value)%2B%27%20%22%5Cn%27%2B(0%3D%3D%3Dn%3F%22class%3D%27vditor-hint--current%27%22%3A%22%22)%2B%22%3E%20%22%2Br%2B%22%3C%2Fbutton%3E%22%7D%7D))%2Cthis.element.innerHTML%3Ds%3Bvar%20d%3DparseInt(document.defaultView.getComputedStyle(i%2Cnull).getPropertyValue(%22line-height%22)%2C10)%3Bthis.element.style.top%3Dl%2B(d%7C%7C22)%2B%22px%22%2Cthis.element.style.left%3Da%2B%22px%22%2Cthis.element.style.display%3D%22block%22%2Cthis.element.style.right%3D%22auto%22%2Cthis.element.querySelectorAll(%22button%22).forEach((function(e)%7Be.addEventListener(%22click%22%2C(function(t)%7Br.fillEmoji(e%2Cn)%2Ct.preventDefault()%7D))%7D))%2Cthis.element.getBoundingClientRect().bottom%3Ewindow.innerHeight%26%26(this.element.style.top%3Dl-this.element.offsetHeight%2B%22px%22)%2Cthis.element.getBoundingClientRect().right%3Ewindow.innerWidth%26%26(this.element.style.left%3D%22auto%22%2Cthis.element.style.right%3D%220%22)%7Delse%20this.element.style.display%3D%22none%22%7D%2Ce.prototype.select%3Dfunction(e%2Ct)%7Bif(0%3D%3D%3Dthis.element.querySelectorAll(%22button%22).length%7C%7C%22none%22%3D%3D%3Dthis.element.style.display)return!1%3Bvar%20n%3Dthis.element.querySelector(%22.vditor-hint--current%22)%3Bif(%22ArrowDown%22%3D%3D%3De.key)return%20e.preventDefault()%2Ce.stopPropagation()%2Cn.removeAttribute(%22class%22)%2Cn.nextElementSibling%3Fn.nextElementSibling.className%3D%22vditor-hint--current%22%3Athis.element.children%5B0%5D.className%3D%22vditor-hint--current%22%2C!0%3Bif(%22ArrowUp%22%3D%3D%3De.key)%7Bif(e.preventDefault()%2Ce.stopPropagation()%2Cn.removeAttribute(%22class%22)%2Cn.previousElementSibling)n.previousElementSibling.className%3D%22vditor-hint--current%22%3Belse%7Bvar%20r%3Dthis.element.children.length%3Bthis.element.children%5Br-1%5D.className%3D%22vditor-hint--current%22%7Dreturn!0%7Dreturn!((0%2Cd.yl)(e)%7C%7Ce.shiftKey%7C%7Ce.altKey%7C%7C%22Enter%22!%3D%3De.key%7C%7Ce.isComposing)%26%26(e.preventDefault()%2Ce.stopPropagation()%2Cthis.fillEmoji(n%2Ct)%2C!0)%7D%2Ce.prototype.getKey%3Dfunction(e%2Ct)%7Bvar%20n%2Cr%3Dthis%3Bif(this.lastIndex%3D-1%2Cthis.splitChar%3D%22%22%2Ct.forEach((function(t)%7Bvar%20n%3De.lastIndexOf(t.key)%3Br.lastIndex%3Cn%26%26(r.splitChar%3Dt.key%2Cr.lastIndex%3Dn)%7D))%2C-1%3D%3D%3Dthis.lastIndex)return%20n%3Bvar%20i%3De.split(this.splitChar)%2Ca%3Di%5Bi.length-1%5D%3Bif(i.length%3E1%26%26a.trim()%3D%3D%3Da)if(2%3D%3D%3Di.length%26%26%22%22%3D%3D%3Di%5B0%5D%26%26i%5B1%5D.length%3C32)n%3Di%5B1%5D%3Belse%7Bvar%20l%3Di%5Bi.length-2%5D.slice(-1)%3B%22%20%22%3D%3D%3D(0%2Co.X)(l)%26%26a.length%3C32%26%26(n%3Da)%7Dreturn%20n%7D%2Ce%7D()%2CNt%3Dfunction()%7Bfunction%20e(e)%7Bthis.composingLock%3D!1%3Bvar%20t%3Ddocument.createElement(%22div%22)%3Bt.className%3D%22vditor-ir%22%2Ct.innerHTML%3D%27%3Cpre%20class%3D%22vditor-reset%22%20placeholder%3D%22%27%2Be.options.placeholder%2B%27%22%5Cn%20contenteditable%3D%22true%22%20spellcheck%3D%22false%22%3E%3C%2Fpre%3E%27%2Cthis.element%3Dt.firstElementChild%2Cthis.bindEvent(e)%2Cwe(e%2Cthis.element)%2CEe(e%2Cthis.element)%2Cke(e%2Cthis.element)%2CTe(e%2Cthis.element)%2CAe(e%2Cthis.element)%2CSe(e%2Cthis.element)%2CLe(e%2Cthis.element%2Cthis.copy)%2CCe(e%2Cthis.element%2Cthis.copy)%7Dreturn%20e.prototype.copy%3Dfunction(e%2Ct)%7Bvar%20n%3DgetSelection().getRangeAt(0)%3Bif(%22%22!%3D%3Dn.toString())%7Be.stopPropagation()%2Ce.preventDefault()%3Bvar%20r%3Ddocument.createElement(%22div%22)%3Br.appendChild(n.cloneContents())%2Ce.clipboardData.setData(%22text%2Fplain%22%2Ct.lute.VditorIRDOM2Md(r.innerHTML).trim())%2Ce.clipboardData.setData(%22text%2Fhtml%22%2C%22%22)%7D%7D%2Ce.prototype.bindEvent%3Dfunction(e)%7Bvar%20t%3Dthis%3Bthis.element.addEventListener(%22paste%22%2C(function(t)%7BSt(e%2Ct%2C%7BpasteCode%3Afunction(e)%7Bdocument.execCommand(%22insertHTML%22%2C!1%2Ce)%7D%7D)%7D))%2Cthis.element.addEventListener(%22compositionstart%22%2C(function(e)%7Bt.composingLock%3D!0%7D))%2Cthis.element.addEventListener(%22compositionend%22%2C(function(n)%7B(0%2Cd.vU)()%7C%7Cj(e%2CgetSelection().getRangeAt(0).cloneRange())%2Ct.composingLock%3D!1%7D))%2Cthis.element.addEventListener(%22input%22%2C(function(n)%7Bif(%22deleteByDrag%22!%3D%3Dn.inputType%26%26%22insertFromDrop%22!%3D%3Dn.inputType)return%20t.preventInput%3F(t.preventInput%3D!1%2Cvoid%20Ct(e%2C%7BenableAddUndoStack%3A!0%2CenableHint%3A!0%2CenableInput%3A!0%7D))%3Avoid(t.composingLock%7C%7C%22%E2%80%98%22%3D%3D%3Dn.data%7C%7C%22%E2%80%9C%22%3D%3D%3Dn.data%7C%7C%22%E3%80%8A%22%3D%3D%3Dn.data%7C%7Cj(e%2CgetSelection().getRangeAt(0).cloneRange()%2C!1%2Cn))%7D))%2Cthis.element.addEventListener(%22click%22%2C(function(n)%7Bif(%22INPUT%22%3D%3D%3Dn.target.tagName)return%20n.target.checked%3Fn.target.setAttribute(%22checked%22%2C%22checked%22)%3An.target.removeAttribute(%22checked%22)%2Ct.preventInput%3D!0%2Cvoid%20Ct(e)%3Bvar%20r%3D(0%2CN.zh)(e)%2Co%3D(0%2Cy.fb)(n.target%2C%22vditor-ir__preview%22)%3Bif(o%7C%7C(o%3D(0%2Cy.fb)(r.startContainer%2C%22vditor-ir__preview%22))%2Co%26%26(o.previousElementSibling.firstElementChild%3Fr.selectNodeContents(o.previousElementSibling.firstElementChild)%3Ar.selectNodeContents(o.previousElementSibling)%2Cr.collapse(!0)%2C(0%2CN.Hc)(r)%2CMe(e))%2C%22IMG%22%3D%3D%3Dn.target.tagName)%7Bvar%20a%3Dn.target.parentElement.querySelector(%22.vditor-ir__marker--link%22)%3Ba%26%26(r.selectNode(a)%2C(0%2CN.Hc)(r))%7Dvar%20l%3D(0%2Cy.a1)(n.target%2C%22data-type%22%2C%22a%22)%3Bif(!l%7C%7Cl.classList.contains(%22vditor-ir__node--expand%22))%7Bif(n.target.isEqualNode(t.element)%26%26t.element.lastElementChild%26%26r.collapsed)%7Bvar%20s%3Dt.element.lastElementChild.getBoundingClientRect()%3Bn.y%3Es.top%2Bs.height%26%26(%22P%22%3D%3D%3Dt.element.lastElementChild.tagName%26%26%22%22%3D%3D%3Dt.element.lastElementChild.textContent.trim().replace(i.g.ZWSP%2C%22%22)%3F(r.selectNodeContents(t.element.lastElementChild)%2Cr.collapse(!1))%3A(t.element.insertAdjacentHTML(%22beforeend%22%2C%27%3Cp%20data-block%3D%220%22%3E%27%2Bi.g.ZWSP%2B%22%3Cwbr%3E%3C%2Fp%3E%22)%2C(0%2CN.ib)(t.element%2Cr)))%7D%22%22%3D%3D%3Dr.toString()%3FP(r%2Ce)%3AsetTimeout((function()%7BP((0%2CN.zh)(e)%2Ce)%7D))%2CO(n%2Ce)%2CJ(e)%7Delse%20window.open(l.querySelector(%22%3Ascope%20%3E%20.vditor-ir__marker--link%22).textContent)%7D))%2Cthis.element.addEventListener(%22keyup%22%2C(function(n)%7Bif(!n.isComposing%26%26!(0%2Cd.yl)(n))if(%22Enter%22%3D%3D%3Dn.key%26%26Me(e)%2CJ(e)%2C%22Backspace%22!%3D%3Dn.key%26%26%22Delete%22!%3D%3Dn.key%7C%7C%22%22%3D%3D%3De.ir.element.innerHTML%7C%7C1!%3D%3De.ir.element.childNodes.length%7C%7C!e.ir.element.firstElementChild%7C%7C%22P%22!%3D%3De.ir.element.firstElementChild.tagName%7C%7C0!%3D%3De.ir.element.firstElementChild.childElementCount%7C%7C%22%22!%3D%3De.ir.element.textContent%26%26%22%5Cn%22!%3D%3De.ir.element.textContent)%7Bvar%20r%3D(0%2CN.zh)(e)%3B%22Backspace%22%3D%3D%3Dn.key%3F((0%2Cd.vU)()%26%26%22%5Cn%22%3D%3D%3Dr.startContainer.textContent%26%261%3D%3D%3Dr.startOffset%26%26(r.startContainer.textContent%3D%22%22%2CP(r%2Ce))%2Ct.element.querySelectorAll(%22.language-math%22).forEach((function(e)%7Bvar%20t%3De.querySelector(%22br%22)%3Bt%26%26t.remove()%7D)))%3An.key.indexOf(%22Arrow%22)%3E-1%3F(%22ArrowLeft%22!%3D%3Dn.key%26%26%22ArrowRight%22!%3D%3Dn.key%7C%7CLt(e)%2CP(r%2Ce))%3A229%3D%3D%3Dn.keyCode%26%26%22%22%3D%3D%3Dn.code%26%26%22Unidentified%22%3D%3D%3Dn.key%26%26P(r%2Ce)%3Bvar%20o%3D(0%2Cy.fb)(r.startContainer%2C%22vditor-ir__preview%22)%3Bif(o)%7Bif(%22ArrowUp%22%3D%3D%3Dn.key%7C%7C%22ArrowLeft%22%3D%3D%3Dn.key)return%20o.previousElementSibling.firstElementChild%3Fr.selectNodeContents(o.previousElementSibling.firstElementChild)%3Ar.selectNodeContents(o.previousElementSibling)%2Cr.collapse(!1)%2Cn.preventDefault()%2C!0%3Bif(%22SPAN%22%3D%3D%3Do.tagName%26%26(%22ArrowDown%22%3D%3D%3Dn.key%7C%7C%22ArrowRight%22%3D%3D%3Dn.key))return%22html-entity%22%3D%3D%3Do.parentElement.getAttribute(%22data-type%22)%3F(o.parentElement.insertAdjacentText(%22afterend%22%2Ci.g.ZWSP)%2Cr.setStart(o.parentElement.nextSibling%2C1))%3Ar.selectNodeContents(o.parentElement.lastElementChild)%2Cr.collapse(!1)%2Cn.preventDefault()%2C!0%7D%7Delse%20e.ir.element.innerHTML%3D%22%22%7D))%7D%2Ce%7D()%2CDt%3Dfunction(e)%7Breturn%22sv%22%3D%3D%3De.currentMode%3Fe.lute.Md2HTML(a(e))%3A%22wysiwyg%22%3D%3D%3De.currentMode%3Fe.lute.VditorDOM2HTML(e.wysiwyg.element.innerHTML)%3A%22ir%22%3D%3D%3De.currentMode%3Fe.lute.VditorIRDOM2HTML(e.ir.element.innerHTML)%3Avoid%200%7D%2COt%3Dn(895)%2CIt%3Dn(818)%2Cjt%3Dfunction()%7Bfunction%20e(e)%7Bthis.element%3Ddocument.createElement(%22div%22)%2Cthis.element.className%3D%22vditor-outline%22%2Cthis.element.innerHTML%3D%27%3Cdiv%20class%3D%22vditor-outline__title%22%3E%27%2Be%2B%27%3C%2Fdiv%3E%5Cn%3Cdiv%20class%3D%22vditor-outline__content%22%3E%3C%2Fdiv%3E%27%7Dreturn%20e.prototype.render%3Dfunction(e)%7Breturn%22block%22%3D%3D%3De.preview.element.style.display%3F(0%2CIt.k)(e.preview.element.lastElementChild%2Cthis.element.lastElementChild%2Ce)%3A(0%2CIt.k)(e%5Be.currentMode%5D.element%2Cthis.element.lastElementChild%2Ce)%7D%2Ce.prototype.toggle%3Dfunction(e%2Ct)%7Bvar%20n%3Bvoid%200%3D%3D%3Dt%26%26(t%3D!0)%3Bvar%20r%3Dnull%3D%3D%3D(n%3De.toolbar.elements.outline)%7C%7Cvoid%200%3D%3D%3Dn%3Fvoid%200%3An.firstElementChild%3Bif(t%26%26window.innerWidth%3E%3Di.g.MOBILE_WIDTH%3F(this.element.style.display%3D%22block%22%2Cthis.render(e)%2Cnull%3D%3Dr%7C%7Cr.classList.add(%22vditor-menu--current%22))%3A(this.element.style.display%3D%22none%22%2Cnull%3D%3Dr%7C%7Cr.classList.remove(%22vditor-menu--current%22))%2CgetSelection().rangeCount%3E0)%7Bvar%20o%3DgetSelection().getRangeAt(0)%3Be%5Be.currentMode%5D.element.contains(o.startContainer)%3F(0%2CN.Hc)(o)%3Ae%5Be.currentMode%5D.element.focus()%7DW(e)%7D%2Ce%7D()%2CRt%3Dn(554)%2CPt%3Dfunction()%7Bfunction%20e(e)%7Bvar%20t%3Dthis%3Bthis.element%3Ddocument.createElement(%22div%22)%2Cthis.element.className%3D%22vditor-preview%22%3Bvar%20n%3Ddocument.createElement(%22div%22)%3Bn.className%3D%22vditor-reset%22%2Ce.options.classes.preview%26%26n.classList.add(e.options.classes.preview)%2Cn.style.maxWidth%3De.options.preview.maxWidth%2B%22px%22%2Cn.addEventListener(%22copy%22%2C(function(n)%7Bif(%22TEXTAREA%22!%3D%3Dn.target.tagName)%7Bvar%20r%3Ddocument.createElement(%22div%22)%3Br.className%3D%22vditor-reset%22%2Cr.appendChild(getSelection().getRangeAt(0).cloneContents())%2Ct.copyToX(e%2Cr)%2Cn.preventDefault()%7D%7D))%2Cn.addEventListener(%22click%22%2C(function(r)%7Bvar%20i%3D(0%2Cy.lG)(r.target%2C%22SPAN%22)%3Bif(i%26%26(0%2Cy.fb)(i%2C%22vditor-toc%22))%7Bvar%20o%3Dn.querySelector(%22%23%22%2Bi.getAttribute(%22data-target-id%22))%3Bo%26%26(t.element.scrollTop%3Do.offsetTop)%7Delse%22IMG%22%3D%3D%3Dr.target.tagName%26%26(0%2Cq.E)(r.target%2Ce.options.lang%2Ce.options.theme)%7D))%3Bvar%20r%3De.options.preview.actions%2Ci%3Ddocument.createElement(%22div%22)%3Bi.className%3D%22vditor-preview__action%22%3Bfor(var%20o%3D%5B%5D%2Ca%3D0%3Ba%3Cr.length%3Ba%2B%2B)%7Bvar%20l%3Dr%5Ba%5D%3Bif(%22object%22!%3Dtypeof%20l)switch(l)%7Bcase%22desktop%22%3Ao.push(%27%3Cbutton%20type%3D%22button%22%20class%3D%22vditor-preview__action--current%22%20data-type%3D%22desktop%22%3EDesktop%3C%2Fbutton%3E%27)%3Bbreak%3Bcase%22tablet%22%3Ao.push(%27%3Cbutton%20type%3D%22button%22%20data-type%3D%22tablet%22%3ETablet%3C%2Fbutton%3E%27)%3Bbreak%3Bcase%22mobile%22%3Ao.push(%27%3Cbutton%20type%3D%22button%22%20data-type%3D%22mobile%22%3EMobile%2FWechat%3C%2Fbutton%3E%27)%3Bbreak%3Bcase%22mp-wechat%22%3Ao.push(%27%3Cbutton%20type%3D%22button%22%20data-type%3D%22mp-wechat%22%20class%3D%22vditor-tooltipped%20vditor-tooltipped__w%22%20aria-label%3D%22%E5%A4%8D%E5%88%B6%E5%88%B0%E5%85%AC%E4%BC%97%E5%8F%B7%22%3E%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-mp-wechat%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%3C%2Fbutton%3E%27)%3Bbreak%3Bcase%22zhihu%22%3Ao.push(%27%3Cbutton%20type%3D%22button%22%20data-type%3D%22zhihu%22%20class%3D%22vditor-tooltipped%20vditor-tooltipped__w%22%20aria-label%3D%22%E5%A4%8D%E5%88%B6%E5%88%B0%E7%9F%A5%E4%B9%8E%22%3E%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-zhihu%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%3C%2Fbutton%3E%27)%7Delse%20o.push(%27%3Cbutton%20type%3D%22button%22%20data-type%3D%22%27%2Bl.key%2B%27%22%20class%3D%22%27%2Bl.className%2B%27%22%27%2B(l.tooltip%3F%27%20aria-label%3D%22%27%2Bl.tooltip%2B%27%22%27%3A%22%22)%2B%27%22%3E%27%2Bl.text%2B%22%3C%2Fbutton%3E%22)%7Di.innerHTML%3Do.join(%22%22)%2C0%3D%3D%3Dr.length%26%26(i.style.display%3D%22none%22)%2Cthis.element.appendChild(i)%2Cthis.element.appendChild(n)%2Ci.addEventListener((0%2Cd.Le)()%2C(function(o)%7Bvar%20a%3D(0%2Cb.S)(o.target%2C%22BUTTON%22)%3Bif(a)%7Bvar%20l%3Da.getAttribute(%22data-type%22)%2Cs%3Dr.find((function(e)%7Breturn(null%3D%3De%3Fvoid%200%3Ae.key)%3D%3D%3Dl%7D))%3Bs%3Fs.click(l)%3A%22mp-wechat%22!%3D%3Dl%26%26%22zhihu%22!%3D%3Dl%3F(n.style.width%3D%22desktop%22%3D%3D%3Dl%3F%22auto%22%3A%22tablet%22%3D%3D%3Dl%3F%22780px%22%3A%22360px%22%2Cn.scrollWidth%3En.parentElement.clientWidth%26%26(n.style.width%3D%22auto%22)%2Ct.render(e)%2Ci.querySelectorAll(%22button%22).forEach((function(e)%7Be.classList.remove(%22vditor-preview__action--current%22)%7D))%2Ca.classList.add(%22vditor-preview__action--current%22))%3At.copyToX(e%2Ct.element.lastElementChild.cloneNode(!0)%2Cl)%7D%7D))%7Dreturn%20e.prototype.render%3Dfunction(e%2Ct)%7Bvar%20n%3Dthis%3Bif(clearTimeout(this.mdTimeoutId)%2C%22none%22!%3D%3Dthis.element.style.display)if(t)this.element.lastElementChild.innerHTML%3Dt%3Belse%20if(%22%22!%3D%3Da(e).replace(%2F%5E%5B%5Cs%5CuFEFF%5CxA0%5D%2B%7C%5B%5Cs%5CuFEFF%5CxA0%5D%2B%24%2Fg%2C%22%22))%7Bvar%20r%3D(new%20Date).getTime()%2Ci%3Da(e)%3Bthis.mdTimeoutId%3Dwindow.setTimeout((function()%7Bif(e.options.preview.url)%7Bvar%20t%3Dnew%20XMLHttpRequest%3Bt.open(%22POST%22%2Ce.options.preview.url)%2Ct.setRequestHeader(%22Content-Type%22%2C%22application%2Fjson%3Bcharset%3DUTF-8%22)%2Ct.onreadystatechange%3Dfunction()%7Bif(t.readyState%3D%3D%3DXMLHttpRequest.DONE)if(200%3D%3D%3Dt.status)%7Bvar%20o%3DJSON.parse(t.responseText)%3Bif(0!%3D%3Do.code)return%20void%20e.tip.show(o.msg)%3Be.options.preview.transform%26%26(o.data%3De.options.preview.transform(o.data))%2Cn.element.lastElementChild.innerHTML%3Do.data%2Cn.afterRender(e%2Cr)%7Delse%7Bvar%20a%3De.lute.Md2HTML(i)%3Be.options.preview.transform%26%26(a%3De.options.preview.transform(a))%2Cn.element.lastElementChild.innerHTML%3Da%2Cn.afterRender(e%2Cr)%7D%7D%2Ct.send(JSON.stringify(%7BmarkdownText%3Ai%7D))%7Delse%7Bvar%20o%3De.lute.Md2HTML(i)%3Be.options.preview.transform%26%26(o%3De.options.preview.transform(o))%2Cn.element.lastElementChild.innerHTML%3Do%2Cn.afterRender(e%2Cr)%7D%7D)%2Ce.options.preview.delay)%7Delse%20this.element.lastElementChild.innerHTML%3D%22%22%3Belse%22renderPerformance%22%3D%3D%3Dthis.element.getAttribute(%22data-type%22)%26%26e.tip.hide()%7D%2Ce.prototype.afterRender%3Dfunction(e%2Ct)%7Be.options.preview.parse%26%26e.options.preview.parse(this.element)%3Bvar%20n%3D(new%20Date).getTime()-t%3B(new%20Date).getTime()-t%3E2600%3F(e.tip.show(window.VditorI18n.performanceTip.replace(%22%24%7Bx%7D%22%2Cn.toString()))%2Ce.preview.element.setAttribute(%22data-type%22%2C%22renderPerformance%22))%3A%22renderPerformance%22%3D%3D%3De.preview.element.getAttribute(%22data-type%22)%26%26(e.tip.hide()%2Ce.preview.element.removeAttribute(%22data-type%22))%3Bvar%20r%3De.preview.element.querySelector(%22.vditor-comment--focus%22)%3Br%26%26r.classList.remove(%22vditor-comment--focus%22)%2C(0%2CS.O)(e.preview.element.lastElementChild)%2C(0%2CM.s)(e.options.preview.hljs%2Ce.preview.element.lastElementChild%2Ce.options.cdn)%2C(0%2CA.i)(e.preview.element.lastElementChild%2Ce.options.cdn%2Ce.options.theme)%2C(0%2CL.P)(e.preview.element.lastElementChild%2Ce.options.cdn)%2C(0%2CC.v)(e.preview.element.lastElementChild%2Ce.options.cdn)%2C(0%2Ck.p)(e.preview.element.lastElementChild%2Ce.options.cdn%2Ce.options.theme)%2C(0%2C_.P)(e.preview.element.lastElementChild%2Ce.options.cdn%2Ce.options.theme)%2C(0%2Cx.B)(e.preview.element.lastElementChild%2Ce.options.cdn)%2C(0%2CE.Q)(e.preview.element.lastElementChild%2Ce.options.cdn)%2C(0%2CRt.Y)(e.preview.element.lastElementChild)%3Bvar%20i%3De.preview.element%2Co%3De.outline.render(e)%3B%22%22%3D%3D%3Do%26%26(o%3D%22%5BToC%5D%22)%2Ci.querySelectorAll(%27%5Bdata-type%3D%22toc-block%22%5D%27).forEach((function(t)%7Bt.innerHTML%3Do%2C(0%2CT.H)(t%2C%7Bcdn%3Ae.options.cdn%2Cmath%3Ae.options.preview.math%7D)%7D))%2C(0%2CT.H)(e.preview.element.lastElementChild%2C%7Bcdn%3Ae.options.cdn%2Cmath%3Ae.options.preview.math%7D)%7D%2Ce.prototype.copyToX%3Dfunction(e%2Ct%2Cn)%7Bvoid%200%3D%3D%3Dn%26%26(n%3D%22mp-wechat%22)%2C%22zhihu%22!%3D%3Dn%3Ft.querySelectorAll(%22.katex-html%20.base%22).forEach((function(e)%7Be.style.display%3D%22initial%22%7D))%3At.querySelectorAll(%22.language-math%22).forEach((function(e)%7Be.outerHTML%3D%27%3Cimg%20class%3D%22Formula-image%22%20data-eeimg%3D%22true%22%20src%3D%22%2F%2Fwww.zhihu.com%2Fequation%3Ftex%3D%22%20alt%3D%22%27%2Be.getAttribute(%22data-math%22)%2B%27%5C%5C%22%20style%3D%22display%3A%20block%3B%20margin%3A%200%20auto%3B%20max-width%3A%20100%25%3B%22%3E%27%7D))%2Ct.style.backgroundColor%3D%22%23fff%22%2Ct.querySelectorAll(%22code%22).forEach((function(e)%7Be.style.backgroundImage%3D%22none%22%7D))%2Cthis.element.append(t)%3Bvar%20r%3Dt.ownerDocument.createRange()%3Br.selectNode(t)%2C(0%2CN.Hc)(r)%2Cdocument.execCommand(%22copy%22)%2Cthis.element.lastElementChild.remove()%2Ce.tip.show(%22%E5%B7%B2%E5%A4%8D%E5%88%B6%EF%BC%8C%E5%8F%AF%E5%88%B0%22%2B(%22zhihu%22%3D%3D%3Dn%3F%22%E7%9F%A5%E4%B9%8E%22%3A%22%E5%BE%AE%E4%BF%A1%E5%85%AC%E4%BC%97%E5%8F%B7%E5%B9%B3%E5%8F%B0%22)%2B%22%E8%BF%9B%E8%A1%8C%E7%B2%98%E8%B4%B4%22)%7D%2Ce%7D()%2Cqt%3Dfunction()%7Bfunction%20e(e)%7Bthis.element%3Ddocument.createElement(%22div%22)%2Cthis.element.className%3D%22vditor-resize%20vditor-resize--%22%2Be.options.resize.position%2Cthis.element.innerHTML%3D%27%3Cdiv%3E%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-resize%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%3C%2Fdiv%3E%27%2Cthis.bindEvent(e)%7Dreturn%20e.prototype.bindEvent%3Dfunction(e)%7Bvar%20t%3Dthis%3Bthis.element.addEventListener(%22mousedown%22%2C(function(n)%7Bvar%20r%3Ddocument%2Ci%3Dn.clientY%2Co%3De.element.offsetHeight%2Ca%3D63%2Be.element.querySelector(%22.vditor-toolbar%22).clientHeight%3Br.ondragstart%3Dfunction()%7Breturn!1%7D%2Cwindow.captureEvents%26%26window.captureEvents()%2Ct.element.classList.add(%22vditor-resize--selected%22)%2Cr.onmousemove%3Dfunction(t)%7B%22top%22%3D%3D%3De.options.resize.position%3Fe.element.style.height%3DMath.max(a%2Co%2B(i-t.clientY))%2B%22px%22%3Ae.element.style.height%3DMath.max(a%2Co%2B(t.clientY-i))%2B%22px%22%2Ce.options.typewriterMode%26%26(e.sv.element.style.paddingBottom%3De.sv.element.parentElement.offsetHeight%2F2%2B%22px%22)%7D%2Cr.onmouseup%3Dfunction()%7Be.options.resize.after%26%26e.options.resize.after(e.element.offsetHeight-o)%2Cwindow.captureEvents%26%26window.captureEvents()%2Cr.onmousemove%3Dnull%2Cr.onmouseup%3Dnull%2Cr.ondragstart%3Dnull%2Cr.onselectstart%3Dnull%2Cr.onselect%3Dnull%2Ct.element.classList.remove(%22vditor-resize--selected%22)%7D%7D))%7D%2Ce%7D()%2CBt%3Dfunction()%7Bfunction%20e(e)%7Bthis.composingLock%3D!1%2Cthis.element%3Ddocument.createElement(%22pre%22)%2Cthis.element.className%3D%22vditor-sv%20vditor-reset%22%2Cthis.element.setAttribute(%22placeholder%22%2Ce.options.placeholder)%2Cthis.element.setAttribute(%22contenteditable%22%2C%22true%22)%2Cthis.element.setAttribute(%22spellcheck%22%2C%22false%22)%2Cthis.bindEvent(e)%2Cwe(e%2Cthis.element)%2Cke(e%2Cthis.element)%2CTe(e%2Cthis.element)%2CAe(e%2Cthis.element)%2CSe(e%2Cthis.element)%2CLe(e%2Cthis.element%2Cthis.copy)%2CCe(e%2Cthis.element%2Cthis.copy)%7Dreturn%20e.prototype.copy%3Dfunction(e%2Ct)%7Be.stopPropagation()%2Ce.preventDefault()%2Ce.clipboardData.setData(%22text%2Fplain%22%2Cbe(t%5Bt.currentMode%5D.element))%7D%2Ce.prototype.bindEvent%3Dfunction(e)%7Bvar%20t%3Dthis%3Bthis.element.addEventListener(%22paste%22%2C(function(t)%7BSt(e%2Ct%2C%7BpasteCode%3Afunction(e)%7Bdocument.execCommand(%22insertHTML%22%2C!1%2Ce)%7D%7D)%7D))%2Cthis.element.addEventListener(%22scroll%22%2C(function()%7Bif(%22block%22%3D%3D%3De.preview.element.style.display)%7Bvar%20n%3Dt.element.scrollTop%2Cr%3Dt.element.clientHeight%2Ci%3Dt.element.scrollHeight-parseFloat(t.element.style.paddingBottom%7C%7C%220%22)%2Co%3De.preview.element%3Bo.scrollTop%3Dn%2Fr%3E.5%3F(n%2Br)*o.scrollHeight%2Fi-r%3An*o.scrollHeight%2Fi%7D%7D))%2Cthis.element.addEventListener(%22compositionstart%22%2C(function(e)%7Bt.composingLock%3D!0%7D))%2Cthis.element.addEventListener(%22compositionend%22%2C(function(n)%7B(0%2Cd.vU)()%7C%7CB(e%2Cn)%2Ct.composingLock%3D!1%7D))%2Cthis.element.addEventListener(%22input%22%2C(function(n)%7Bif(%22deleteByDrag%22!%3D%3Dn.inputType%26%26%22insertFromDrop%22!%3D%3Dn.inputType%26%26!t.composingLock%26%26%22%E2%80%98%22!%3D%3Dn.data%26%26%22%E2%80%9C%22!%3D%3Dn.data%26%26%22%E3%80%8A%22!%3D%3Dn.data)return%20t.preventInput%3F(t.preventInput%3D!1%2Cvoid%20De(e%2C%7BenableAddUndoStack%3A!0%2CenableHint%3A!0%2CenableInput%3A!0%7D))%3Avoid%20B(e%2Cn)%7D))%2Cthis.element.addEventListener(%22keyup%22%2C(function(t)%7Bt.isComposing%7C%7C(0%2Cd.yl)(t)%7C%7C(%22Backspace%22!%3D%3Dt.key%26%26%22Delete%22!%3D%3Dt.key%7C%7C%22%22%3D%3D%3De.sv.element.innerHTML%7C%7C1!%3D%3De.sv.element.childNodes.length%7C%7C!e.sv.element.firstElementChild%7C%7C%22DIV%22!%3D%3De.sv.element.firstElementChild.tagName%7C%7C2!%3D%3De.sv.element.firstElementChild.childElementCount%7C%7C%22%22!%3D%3De.sv.element.firstElementChild.textContent%26%26%22%5Cn%22!%3D%3De.sv.element.textContent%3F%22Enter%22%3D%3D%3Dt.key%26%26Me(e)%3Ae.sv.element.innerHTML%3D%22%22)%7D))%7D%2Ce%7D()%2CVt%3Dfunction()%7Bfunction%20e()%7Bthis.element%3Ddocument.createElement(%22div%22)%2Cthis.element.className%3D%22vditor-tip%22%7Dreturn%20e.prototype.show%3Dfunction(e%2Ct)%7Bvar%20n%3Dthis%3Bvoid%200%3D%3D%3Dt%26%26(t%3D6e3)%2Cthis.element.className%3D%22vditor-tip%20vditor-tip--show%22%2C0%3D%3D%3Dt%3F(this.element.innerHTML%3D%27%3Cdiv%20class%3D%22vditor-tip__content%22%3E%27%2Be%2B%27%5Cn%3Cdiv%20class%3D%22vditor-tip__close%22%3EX%3C%2Fdiv%3E%3C%2Fdiv%3E%27%2Cthis.element.querySelector(%22.vditor-tip__close%22).addEventListener(%22click%22%2C(function()%7Bn.hide()%7D)))%3A(this.element.innerHTML%3D%27%3Cdiv%20class%3D%22vditor-tip__content%22%3E%27%2Be%2B%22%3C%2Fdiv%3E%22%2CsetTimeout((function()%7Bn.hide()%7D)%2Ct))%2Cthis.element.removeAttribute(%22style%22)%2CsetTimeout((function()%7Bn.element.getBoundingClientRect().top%3C46%26%26(n.element.style.position%3D%22fixed%22%2Cn.element.style.top%3D%2246px%22)%7D)%2C150)%7D%2Ce.prototype.hide%3Dfunction()%7Bthis.element.className%3D%22vditor-messageElementtip%22%2Cthis.element.innerHTML%3D%22%22%7D%2Ce%7D()%2CUt%3Dfunction(e%2Ct)%7Bif(t.options.preview.mode!%3D%3De)%7Bswitch(t.options.preview.mode%3De%2Ce)%7Bcase%22both%22%3At.sv.element.style.display%3D%22block%22%2Ct.preview.element.style.display%3D%22block%22%2Ct.preview.render(t)%2Cu(t.toolbar.elements%2C%5B%22both%22%5D)%3Bbreak%3Bcase%22editor%22%3At.sv.element.style.display%3D%22block%22%2Ct.preview.element.style.display%3D%22none%22%2Cc(t.toolbar.elements%2C%5B%22both%22%5D)%7Dt.devtools%26%26t.devtools.renderEchart(t)%7D%7D%2CWt%3Dfunction()%7Bvar%20e%3Dfunction(t%2Cn)%7Breturn%20e%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2Ce(t%2Cn)%7D%3Breturn%20function(t%2Cn)%7Bfunction%20r()%7Bthis.constructor%3Dt%7De(t%2Cn)%2Ct.prototype%3Dnull%3D%3D%3Dn%3FObject.create(n)%3A(r.prototype%3Dn.prototype%2Cnew%20r)%7D%7D()%2Czt%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this%2Ct%2Cn)%7C%7Cthis%3Breturn%22both%22%3D%3D%3Dt.options.preview.mode%26%26r.element.children%5B0%5D.classList.add(%22vditor-menu--current%22)%2Cr.element.children%5B0%5D.addEventListener((0%2Cd.Le)()%2C(function(e)%7Br.element.firstElementChild.classList.contains(i.g.CLASS_MENU_DISABLED)%7C%7C(e.preventDefault()%2C%22sv%22%3D%3D%3Dt.currentMode%26%26(%22both%22%3D%3D%3Dt.options.preview.mode%3FUt(%22editor%22%2Ct)%3AUt(%22both%22%2Ct)))%7D))%2Cr%7Dreturn%20Wt(t%2Ce)%2Ct%7D(he)%2CGt%3Dfunction()%7Bthis.element%3Ddocument.createElement(%22div%22)%2Cthis.element.className%3D%22vditor-toolbar__br%22%7D%2CKt%3Dn(312)%2CFt%3Dfunction()%7Bvar%20e%3Dfunction(t%2Cn)%7Breturn%20e%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2Ce(t%2Cn)%7D%3Breturn%20function(t%2Cn)%7Bfunction%20r()%7Bthis.constructor%3Dt%7De(t%2Cn)%2Ct.prototype%3Dnull%3D%3D%3Dn%3FObject.create(n)%3A(r.prototype%3Dn.prototype%2Cnew%20r)%7D%7D()%2CZt%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this%2Ct%2Cn)%7C%7Cthis%2Co%3Dr.element.children%5B0%5D%2Ca%3Ddocument.createElement(%22div%22)%3Ba.className%3D%22vditor-hint%22%2B(2%3D%3D%3Dn.level%3F%22%22%3A%22%20vditor-panel--arrow%22)%3Bvar%20l%3D%22%22%3Breturn%20i.g.CODE_THEME.forEach((function(e)%7Bl%2B%3D%22%3Cbutton%3E%22%2Be%2B%22%3C%2Fbutton%3E%22%7D))%2Ca.innerHTML%3D%27%3Cdiv%20style%3D%22overflow%3A%20auto%3Bmax-height%3A%27%2Bwindow.innerHeight%2F2%2B%27px%22%3E%27%2Bl%2B%22%3C%2Fdiv%3E%22%2Ca.addEventListener((0%2Cd.Le)()%2C(function(e)%7B%22BUTTON%22%3D%3D%3De.target.tagName%26%26(v(t%2C%5B%22subToolbar%22%5D)%2Ct.options.preview.hljs.style%3De.target.textContent%2C(0%2CKt.Y)(e.target.textContent%2Ct.options.cdn)%2Ce.preventDefault()%2Ce.stopPropagation())%7D))%2Cr.element.appendChild(a)%2Cg(t%2Ca%2Co%2Cn.level)%2Cr%7Dreturn%20Ft(t%2Ce)%2Ct%7D(he)%2CJt%3Dfunction()%7Bvar%20e%3Dfunction(t%2Cn)%7Breturn%20e%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2Ce(t%2Cn)%7D%3Breturn%20function(t%2Cn)%7Bfunction%20r()%7Bthis.constructor%3Dt%7De(t%2Cn)%2Ct.prototype%3Dnull%3D%3D%3Dn%3FObject.create(n)%3A(r.prototype%3Dn.prototype%2Cnew%20r)%7D%7D()%2CXt%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this%2Ct%2Cn)%7C%7Cthis%2Ci%3Dr.element.children%5B0%5D%2Co%3Ddocument.createElement(%22div%22)%3Bo.className%3D%22vditor-hint%22%2B(2%3D%3D%3Dn.level%3F%22%22%3A%22%20vditor-panel--arrow%22)%3Bvar%20a%3D%22%22%3Breturn%20Object.keys(t.options.preview.theme.list).forEach((function(e)%7Ba%2B%3D%27%3Cbutton%20data-type%3D%22%27%2Be%2B%27%22%3E%27%2Bt.options.preview.theme.list%5Be%5D%2B%22%3C%2Fbutton%3E%22%7D))%2Co.innerHTML%3D%27%3Cdiv%20style%3D%22overflow%3A%20auto%3Bmax-height%3A%27%2Bwindow.innerHeight%2F2%2B%27px%22%3E%27%2Ba%2B%22%3C%2Fdiv%3E%22%2Co.addEventListener((0%2Cd.Le)()%2C(function(e)%7B%22BUTTON%22%3D%3D%3De.target.tagName%26%26(v(t%2C%5B%22subToolbar%22%5D)%2Ct.options.preview.theme.current%3De.target.getAttribute(%22data-type%22)%2C(0%2CV.Z)(t.options.preview.theme.current%2Ct.options.preview.theme.path)%2Ce.preventDefault()%2Ce.stopPropagation())%7D))%2Cr.element.appendChild(o)%2Cg(t%2Co%2Ci%2Cn.level)%2Cr%7Dreturn%20Jt(t%2Ce)%2Ct%7D(he)%2CYt%3Dfunction()%7Bfunction%20e(e)%7Bthis.element%3Ddocument.createElement(%22span%22)%2Cthis.element.className%3D%22vditor-counter%20vditor-tooltipped%20vditor-tooltipped__nw%22%2Cthis.render(e%2C%22%22)%7Dreturn%20e.prototype.render%3Dfunction(e%2Ct)%7Bvar%20n%3Dt.endsWith(%22%5Cn%22)%3Ft.length-1%3At.length%3Bif(%22text%22%3D%3D%3De.options.counter.type%26%26e%5Be.currentMode%5D)%7Bvar%20r%3De%5Be.currentMode%5D.element.cloneNode(!0)%3Br.querySelectorAll(%22.vditor-wysiwyg__preview%22).forEach((function(e)%7Be.remove()%7D))%2Cn%3Dr.textContent.length%7D%22number%22%3D%3Dtypeof%20e.options.counter.max%3F(n%3Ee.options.counter.max%3Fthis.element.className%3D%22vditor-counter%20vditor-counter--error%22%3Athis.element.className%3D%22vditor-counter%22%2Cthis.element.innerHTML%3Dn%2B%22%2F%22%2Be.options.counter.max)%3Athis.element.innerHTML%3D%22%22%2Bn%2Cthis.element.setAttribute(%22aria-label%22%2Ce.options.counter.type)%2Ce.options.counter.after%26%26e.options.counter.after(n%2C%7Benable%3Ae.options.counter.enable%2Cmax%3Ae.options.counter.max%2Ctype%3Ae.options.counter.type%7D)%7D%2Ce%7D()%2CQt%3Dfunction()%7Bvar%20e%3Dfunction(t%2Cn)%7Breturn%20e%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2Ce(t%2Cn)%7D%3Breturn%20function(t%2Cn)%7Bfunction%20r()%7Bthis.constructor%3Dt%7De(t%2Cn)%2Ct.prototype%3Dnull%3D%3D%3Dn%3FObject.create(n)%3A(r.prototype%3Dn.prototype%2Cnew%20r)%7D%7D()%2C%24t%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this%2Ct%2Cn)%7C%7Cthis%3Breturn%20r.element.children%5B0%5D.innerHTML%3Dn.icon%2Cr.element.children%5B0%5D.addEventListener((0%2Cd.Le)()%2C(function(e)%7Be.preventDefault()%2Ce.currentTarget.classList.contains(i.g.CLASS_MENU_DISABLED)%7C%7Cn.click(e%2Ct)%7D))%2Cr%7Dreturn%20Qt(t%2Ce)%2Ct%7D(he)%2Cen%3Dfunction()%7Bvar%20e%3Dfunction(t%2Cn)%7Breturn%20e%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2Ce(t%2Cn)%7D%3Breturn%20function(t%2Cn)%7Bfunction%20r()%7Bthis.constructor%3Dt%7De(t%2Cn)%2Ct.prototype%3Dnull%3D%3D%3Dn%3FObject.create(n)%3A(r.prototype%3Dn.prototype%2Cnew%20r)%7D%7D()%2Ctn%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this%2Ct%2Cn)%7C%7Cthis%3Breturn%20r.element.firstElementChild.addEventListener((0%2Cd.Le)()%2C(function(e)%7Bvar%20n%3Dr.element.firstElementChild%3Bn.classList.contains(i.g.CLASS_MENU_DISABLED)%7C%7C(e.preventDefault()%2Cn.classList.contains(%22vditor-menu--current%22)%3F(n.classList.remove(%22vditor-menu--current%22)%2Ct.devtools.element.style.display%3D%22none%22%2CW(t))%3A(n.classList.add(%22vditor-menu--current%22)%2Ct.devtools.element.style.display%3D%22block%22%2CW(t)%2Ct.devtools.renderEchart(t)))%7D))%2Cr%7Dreturn%20en(t%2Ce)%2Ct%7D(he)%2Cnn%3Dfunction()%7Bthis.element%3Ddocument.createElement(%22div%22)%2Cthis.element.className%3D%22vditor-toolbar__divider%22%7D%2Crn%3Dfunction()%7Bvar%20e%3Dfunction(t%2Cn)%7Breturn%20e%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2Ce(t%2Cn)%7D%3Breturn%20function(t%2Cn)%7Bfunction%20r()%7Bthis.constructor%3Dt%7De(t%2Cn)%2Ct.prototype%3Dnull%3D%3D%3Dn%3FObject.create(n)%3A(r.prototype%3Dn.prototype%2Cnew%20r)%7D%7D()%2Con%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this%2Ct%2Cn)%7C%7Cthis%2Ci%3Ddocument.createElement(%22div%22)%3Bi.className%3D%22vditor-panel%20vditor-panel--arrow%22%3Bvar%20o%3D%22%22%3Breturn%20Object.keys(t.options.hint.emoji).forEach((function(e)%7Bvar%20n%3Dt.options.hint.emoji%5Be%5D%3Bn.indexOf(%22.%22)%3E-1%3Fo%2B%3D%27%3Cbutton%20data-value%3D%22%3A%27%2Be%2B%27%3A%20%22%20data-key%3D%22%3A%27%2Be%2B%27%3A%22%3E%3Cimg%5Cndata-value%3D%22%3A%27%2Be%2B%27%3A%20%22%20data-key%3D%22%3A%27%2Be%2B%27%3A%22%20class%3D%22vditor-emojis__icon%22%20src%3D%22%27%2Bn%2B%27%22%2F%3E%3C%2Fbutton%3E%27%3Ao%2B%3D%27%3Cbutton%20data-value%3D%22%27%2Bn%2B%27%20%22%5Cn%20data-key%3D%22%27%2Be%2B%27%22%3E%3Cspan%20class%3D%22vditor-emojis__icon%22%3E%27%2Bn%2B%22%3C%2Fspan%3E%3C%2Fbutton%3E%22%7D))%2Ci.innerHTML%3D%27%3Cdiv%20class%3D%22vditor-emojis%22%20style%3D%22max-height%3A%20%27%2B(%22auto%22%3D%3D%3Dt.options.height%3F%22auto%22%3At.options.height-80)%2B%27px%22%3E%27%2Bo%2B%27%3C%2Fdiv%3E%3Cdiv%20class%3D%22vditor-emojis__tail%22%3E%5Cn%20%20%20%20%3Cspan%20class%3D%22vditor-emojis__tip%22%3E%3C%2Fspan%3E%3Cspan%3E%27%2B(t.options.hint.emojiTail%7C%7C%22%22)%2B%22%3C%2Fspan%3E%5Cn%3C%2Fdiv%3E%22%2Cr.element.appendChild(i)%2Cg(t%2Ci%2Cr.element.firstElementChild%2Cn.level)%2Cr.bindEvent(t)%2Cr%7Dreturn%20rn(t%2Ce)%2Ct.prototype.bindEvent%3Dfunction(e)%7Bvar%20t%3Dthis%3Bthis.element.lastElementChild.addEventListener((0%2Cd.Le)()%2C(function(n)%7Bvar%20r%3D(0%2Cb.S)(n.target%2C%22BUTTON%22)%3Bif(r)%7Bn.preventDefault()%3Bvar%20i%3Dr.getAttribute(%22data-value%22)%2Co%3D(0%2CN.zh)(e)%2Ca%3Di%3Bif(%22wysiwyg%22%3D%3D%3De.currentMode%3Fa%3De.lute.SpinVditorDOM(i)%3A%22ir%22%3D%3D%3De.currentMode%26%26(a%3De.lute.SpinVditorIRDOM(i))%2Ci.indexOf(%22%3A%22)%3E-1%26%26%22sv%22!%3D%3De.currentMode)%7Bvar%20l%3Ddocument.createElement(%22div%22)%3Bl.innerHTML%3Da%2Ca%3Dl.firstElementChild.firstElementChild.outerHTML%2B%22%20%22%2C(0%2CN.oC)(a%2Ce)%7Delse%20o.extractContents()%2Co.insertNode(document.createTextNode(i))%3Bo.collapse(!1)%2C(0%2CN.Hc)(o)%2Ct.element.lastElementChild.style.display%3D%22none%22%2Clt(e)%7D%7D))%2Cthis.element.lastElementChild.addEventListener(%22mouseover%22%2C(function(e)%7Bvar%20n%3D(0%2Cb.S)(e.target%2C%22BUTTON%22)%3Bn%26%26(t.element.querySelector(%22.vditor-emojis__tip%22).innerHTML%3Dn.getAttribute(%22data-key%22))%7D))%7D%2Ct%7D(he)%2Can%3Dfunction(e%2Ct%2Cn)%7Bvar%20r%3Ddocument.createElement(%22a%22)%3B%22download%22in%20r%3F(r.download%3Dn%2Cr.style.display%3D%22none%22%2Cr.href%3DURL.createObjectURL(new%20Blob(%5Bt%5D))%2Cdocument.body.appendChild(r)%2Cr.click()%2Cr.remove())%3Ae.tip.show(window.VditorI18n.downloadTip%2C0)%7D%2Cln%3Dfunction()%7Bvar%20e%3Dfunction(t%2Cn)%7Breturn%20e%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2Ce(t%2Cn)%7D%3Breturn%20function(t%2Cn)%7Bfunction%20r()%7Bthis.constructor%3Dt%7De(t%2Cn)%2Ct.prototype%3Dnull%3D%3D%3Dn%3FObject.create(n)%3A(r.prototype%3Dn.prototype%2Cnew%20r)%7D%7D()%2Csn%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this%2Ct%2Cn)%7C%7Cthis%2Ci%3Dr.element.children%5B0%5D%2Co%3Ddocument.createElement(%22div%22)%3Breturn%20o.className%3D%22vditor-hint%22%2B(2%3D%3D%3Dn.level%3F%22%22%3A%22%20vditor-panel--arrow%22)%2Co.innerHTML%3D%27%3Cbutton%20data-type%3D%22markdown%22%3EMarkdown%3C%2Fbutton%3E%5Cn%3Cbutton%20data-type%3D%22pdf%22%3EPDF%3C%2Fbutton%3E%5Cn%3Cbutton%20data-type%3D%22html%22%3EHTML%3C%2Fbutton%3E%27%2Co.addEventListener((0%2Cd.Le)()%2C(function(e)%7Bvar%20n%3De.target%3Bif(%22BUTTON%22%3D%3D%3Dn.tagName)%7Bswitch(n.getAttribute(%22data-type%22))%7Bcase%22markdown%22%3A!function(e)%7Bvar%20t%3Da(e)%3Ban(e%2Ct%2Ct.substr(0%2C10)%2B%22.md%22)%7D(t)%3Bbreak%3Bcase%22pdf%22%3A!function(e)%7Be.tip.show(window.VditorI18n.generate%2C3800)%3Bvar%20t%3Ddocument.querySelector(%22iframe%22)%3Bt.contentDocument.open()%2Ct.contentDocument.write(%27%3Clink%20rel%3D%22stylesheet%22%20href%3D%22%27%2Be.options.cdn%2B%27%2Fdist%2Findex.css%22%2F%3E%5Cn%3Cscript%20src%3D%22%27%2Be.options.cdn%2B%27%2Fdist%2Fmethod.min.js%22%3E%3C%5C%2Fscript%3E%5Cn%3Cdiv%20id%3D%22preview%22%20style%3D%22width%3A%20800px%22%3E%3C%2Fdiv%3E%5Cn%3Cscript%3E%5Cnwindow.addEventListener(%22message%22%2C%20(e)%20%3D%3E%20%7B%5Cn%20%20if(!e.data)%20%7B%5Cn%20%20%20%20return%3B%5Cn%20%20%7D%5Cn%20%20Vditor.preview(document.getElementById(%5C%27preview%5C%27)%2C%20e.data%2C%20%7B%5Cn%20%20%20%20markdown%3A%20%7B%5Cn%20%20%20%20%20%20theme%3A%20%22%27%2Be.options.preview.theme%2B%27%22%5Cn%20%20%20%20%7D%2C%5Cn%20%20%20%20hljs%3A%20%7B%5Cn%20%20%20%20%20%20style%3A%20%22%27%2Be.options.preview.hljs.style%2B%27%22%5Cn%20%20%20%20%7D%5Cn%20%20%7D)%3B%5Cn%20%20setTimeout(()%20%3D%3E%20%7B%5Cn%20%20%20%20%20%20%20%20window.print()%3B%5Cn%20%20%20%20%7D%2C%203600)%3B%5Cn%7D%2C%20false)%3B%5Cn%3C%5C%2Fscript%3E%27)%2Ct.contentDocument.close()%2CsetTimeout((function()%7Bt.contentWindow.postMessage(a(e)%2C%22*%22)%7D)%2C200)%7D(t)%3Bbreak%3Bcase%22html%22%3A!function(e)%7Bvar%20t%3DDt(e)%2Cn%3D%27%3Chtml%3E%3Chead%3E%3Clink%20rel%3D%22stylesheet%22%20type%3D%22text%2Fcss%22%20href%3D%22%27%2Be.options.cdn%2B%27%2Fdist%2Findex.css%22%2F%3E%5Cn%3Cscript%20src%3D%22%27%2Be.options.cdn%2B%22%2Fdist%2Fjs%2Fi18n%2F%22%2Be.options.lang%2B%27.js%22%3E%3C%5C%2Fscript%3E%5Cn%3Cscript%20src%3D%22%27%2Be.options.cdn%2B%27%2Fdist%2Fmethod.min.js%22%3E%3C%5C%2Fscript%3E%3C%2Fhead%3E%5Cn%3Cbody%3E%3Cdiv%20class%3D%22vditor-reset%22%20id%3D%22preview%22%3E%27%2Bt%2B%22%3C%2Fdiv%3E%5Cn%3Cscript%3E%5Cn%20%20%20%20const%20previewElement%20%3D%20document.getElementById(%27preview%27)%5Cn%20%20%20%20Vditor.setContentTheme(%27%22%2Be.options.preview.theme.current%2B%22%27%2C%20%27%22%2Be.options.preview.theme.path%2B%22%27)%3B%5Cn%20%20%20%20Vditor.codeRender(previewElement)%3B%5Cn%20%20%20%20Vditor.highlightRender(%22%2BJSON.stringify(e.options.preview.hljs)%2B%22%2C%20previewElement%2C%20%27%22%2Be.options.cdn%2B%22%27)%3B%5Cn%20%20%20%20Vditor.mathRender(previewElement%2C%20%7B%5Cn%20%20%20%20%20%20%20%20cdn%3A%20%27%22%2Be.options.cdn%2B%22%27%2C%5Cn%20%20%20%20%20%20%20%20math%3A%20%22%2BJSON.stringify(e.options.preview.math)%2B%22%2C%5Cn%20%20%20%20%7D)%3B%5Cn%20%20%20%20Vditor.mermaidRender(previewElement%2C%20%27%22%2Be.options.cdn%2B%22%27%2C%20%27%22%2Be.options.theme%2B%22%27)%3B%5Cn%20%20%20%20Vditor.flowchartRender(previewElement%2C%20%27%22%2Be.options.cdn%2B%22%27)%3B%5Cn%20%20%20%20Vditor.graphvizRender(previewElement%2C%20%27%22%2Be.options.cdn%2B%22%27)%3B%5Cn%20%20%20%20Vditor.chartRender(previewElement%2C%20%27%22%2Be.options.cdn%2B%22%27%2C%20%27%22%2Be.options.theme%2B%22%27)%3B%5Cn%20%20%20%20Vditor.mindmapRender(previewElement%2C%20%27%22%2Be.options.cdn%2B%22%27%2C%20%27%22%2Be.options.theme%2B%22%27)%3B%5Cn%20%20%20%20Vditor.abcRender(previewElement%2C%20%27%22%2Be.options.cdn%2B%22%27)%3B%5Cn%20%20%20%20Vditor.mediaRender(previewElement)%3B%5Cn%20%20%20%20Vditor.speechRender(previewElement)%3B%5Cn%3C%5C%2Fscript%3E%5Cn%3Cscript%20src%3D%5C%22%22%2Be.options.cdn%2B%22%2Fdist%2Fjs%2Ficons%2F%22%2Be.options.icon%2B%27.js%22%3E%3C%5C%2Fscript%3E%3C%2Fbody%3E%3C%2Fhtml%3E%27%3Ban(e%2Cn%2Ct.substr(0%2C10)%2B%22.html%22)%7D(t)%7Dv(t%2C%5B%22subToolbar%22%5D)%2Ce.preventDefault()%2Ce.stopPropagation()%7D%7D))%2Cr.element.appendChild(o)%2Cg(t%2Co%2Ci%2Cn.level)%2Cr%7Dreturn%20ln(t%2Ce)%2Ct%7D(he)%2Cdn%3Dfunction()%7Bvar%20e%3Dfunction(t%2Cn)%7Breturn%20e%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2Ce(t%2Cn)%7D%3Breturn%20function(t%2Cn)%7Bfunction%20r()%7Bthis.constructor%3Dt%7De(t%2Cn)%2Ct.prototype%3Dnull%3D%3D%3Dn%3FObject.create(n)%3A(r.prototype%3Dn.prototype%2Cnew%20r)%7D%7D()%2Ccn%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this%2Ct%2Cn)%7C%7Cthis%3Breturn%20r._bindEvent(t%2Cn)%2Cr%7Dreturn%20dn(t%2Ce)%2Ct.prototype._bindEvent%3Dfunction(e%2Ct)%7Bthis.element.children%5B0%5D.addEventListener((0%2Cd.Le)()%2C(function(n)%7Bn.preventDefault()%2Ce.element.className.includes(%22vditor--fullscreen%22)%3F(t.level%7C%7C(this.innerHTML%3Dt.icon)%2Ce.element.style.zIndex%3D%22%22%2Cdocument.body.style.overflow%3D%22%22%2Ce.element.classList.remove(%22vditor--fullscreen%22)%2CObject.keys(e.toolbar.elements).forEach((function(t)%7Bvar%20n%3De.toolbar.elements%5Bt%5D.firstChild%3Bn%26%26(n.className%3Dn.className.replace(%22__s%22%2C%22__n%22))%7D))%2Ce.counter%26%26(e.counter.element.className%3De.counter.element.className.replace(%22__s%22%2C%22__n%22)))%3A(t.level%7C%7C(this.innerHTML%3D%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-contract%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27)%2Ce.element.style.zIndex%3De.options.fullscreen.index.toString()%2Cdocument.body.style.overflow%3D%22hidden%22%2Ce.element.classList.add(%22vditor--fullscreen%22)%2CObject.keys(e.toolbar.elements).forEach((function(t)%7Bvar%20n%3De.toolbar.elements%5Bt%5D.firstChild%3Bn%26%26(n.className%3Dn.className.replace(%22__n%22%2C%22__s%22))%7D))%2Ce.counter%26%26(e.counter.element.className%3De.counter.element.className.replace(%22__n%22%2C%22__s%22)))%2Ce.devtools%26%26e.devtools.renderEchart(e)%2Ct.click%26%26t.click(n%2Ce)%2CW(e)%2Cz(e)%7D))%7D%2Ct%7D(he)%2Cun%3Dfunction()%7Bvar%20e%3Dfunction(t%2Cn)%7Breturn%20e%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2Ce(t%2Cn)%7D%3Breturn%20function(t%2Cn)%7Bfunction%20r()%7Bthis.constructor%3Dt%7De(t%2Cn)%2Ct.prototype%3Dnull%3D%3D%3Dn%3FObject.create(n)%3A(r.prototype%3Dn.prototype%2Cnew%20r)%7D%7D()%2Cpn%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this%2Ct%2Cn)%7C%7Cthis%2Ci%3Ddocument.createElement(%22div%22)%3Breturn%20i.className%3D%22vditor-hint%20vditor-panel--arrow%22%2Ci.innerHTML%3D%27%3Cbutton%20data-tag%3D%22h1%22%20data-value%3D%22%23%20%22%3E%27%2Bwindow.VditorI18n.heading1%2B%22%20%22%2B(0%2Cd.ns)(%22%26lt%3B%E2%8C%A5%E2%8C%981%3E%22)%2B%27%3C%2Fbutton%3E%5Cn%3Cbutton%20data-tag%3D%22h2%22%20data-value%3D%22%23%23%20%22%3E%27%2Bwindow.VditorI18n.heading2%2B%22%20%26lt%3B%22%2B(0%2Cd.ns)(%22%E2%8C%A5%E2%8C%982%22)%2B%27%3E%3C%2Fbutton%3E%5Cn%3Cbutton%20data-tag%3D%22h3%22%20data-value%3D%22%23%23%23%20%22%3E%27%2Bwindow.VditorI18n.heading3%2B%22%20%26lt%3B%22%2B(0%2Cd.ns)(%22%E2%8C%A5%E2%8C%983%22)%2B%27%3E%3C%2Fbutton%3E%5Cn%3Cbutton%20data-tag%3D%22h4%22%20data-value%3D%22%23%23%23%23%20%22%3E%27%2Bwindow.VditorI18n.heading4%2B%22%20%26lt%3B%22%2B(0%2Cd.ns)(%22%E2%8C%A5%E2%8C%984%22)%2B%27%3E%3C%2Fbutton%3E%5Cn%3Cbutton%20data-tag%3D%22h5%22%20data-value%3D%22%23%23%23%23%23%20%22%3E%27%2Bwindow.VditorI18n.heading5%2B%22%20%26lt%3B%22%2B(0%2Cd.ns)(%22%E2%8C%A5%E2%8C%985%22)%2B%27%3E%3C%2Fbutton%3E%5Cn%3Cbutton%20data-tag%3D%22h6%22%20data-value%3D%22%23%23%23%23%23%23%20%22%3E%27%2Bwindow.VditorI18n.heading6%2B%22%20%26lt%3B%22%2B(0%2Cd.ns)(%22%E2%8C%A5%E2%8C%986%22)%2B%22%3E%3C%2Fbutton%3E%22%2Cr.element.appendChild(i)%2Cr._bindEvent(t%2Ci)%2Cr%7Dreturn%20un(t%2Ce)%2Ct.prototype._bindEvent%3Dfunction(e%2Ct)%7Bvar%20n%3Dthis.element.children%5B0%5D%3Bn.addEventListener((0%2Cd.Le)()%2C(function(r)%7Br.preventDefault()%2Cn.classList.contains(i.g.CLASS_MENU_DISABLED)%7C%7C(n.blur()%2Cn.classList.contains(%22vditor-menu--current%22)%3F(%22wysiwyg%22%3D%3D%3De.currentMode%3F(te(e)%2CX(e))%3A%22ir%22%3D%3D%3De.currentMode%26%26Mt(e%2C%22%22)%2Cn.classList.remove(%22vditor-menu--current%22))%3A(v(e%2C%5B%22subToolbar%22%5D)%2Ct.style.display%3D%22block%22))%7D))%3Bfor(var%20r%3D0%3Br%3C6%3Br%2B%2B)t.children.item(r).addEventListener((0%2Cd.Le)()%2C(function(r)%7Br.preventDefault()%2C%22wysiwyg%22%3D%3D%3De.currentMode%3F(ee(e%2Cr.target.getAttribute(%22data-tag%22))%2CX(e)%2Cn.classList.add(%22vditor-menu--current%22))%3A%22ir%22%3D%3D%3De.currentMode%3F(Mt(e%2Cr.target.getAttribute(%22data-value%22))%2Cn.classList.add(%22vditor-menu--current%22))%3AOe(e%2Cr.target.getAttribute(%22data-value%22))%2Ct.style.display%3D%22none%22%7D))%7D%2Ct%7D(he)%2Cmn%3Dfunction()%7Bvar%20e%3Dfunction(t%2Cn)%7Breturn%20e%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2Ce(t%2Cn)%7D%3Breturn%20function(t%2Cn)%7Bfunction%20r()%7Bthis.constructor%3Dt%7De(t%2Cn)%2Ct.prototype%3Dnull%3D%3D%3Dn%3FObject.create(n)%3A(r.prototype%3Dn.prototype%2Cnew%20r)%7D%7D()%2Cfn%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this%2Ct%2Cn)%7C%7Cthis%3Breturn%20r.element.children%5B0%5D.addEventListener((0%2Cd.Le)()%2C(function(e)%7Be.preventDefault()%2Ct.tip.show(%27%3Cdiv%20style%3D%22margin-bottom%3A14px%3Bfont-size%3A%2014px%3Bline-height%3A%2022px%3Bmin-width%3A300px%3Bmax-width%3A%20360px%3Bdisplay%3A%20flex%3B%22%3E%5Cn%3Cdiv%20style%3D%22margin-top%3A%2014px%3Bflex%3A%201%22%3E%5Cn%20%20%20%20%3Cdiv%3EMarkdown%20%E4%BD%BF%E7%94%A8%E6%8C%87%E5%8D%97%3C%2Fdiv%3E%5Cn%20%20%20%20%3Cul%20style%3D%22list-style%3A%20none%22%3E%5Cn%20%20%20%20%20%20%20%20%3Cli%3E%3Ca%20href%3D%22https%3A%2F%2Fld246.com%2Farticle%2F1583308420519%22%20target%3D%22_blank%22%3E%E8%AF%AD%E6%B3%95%E9%80%9F%E6%9F%A5%E6%89%8B%E5%86%8C%3C%2Fa%3E%3C%2Fli%3E%5Cn%20%20%20%20%20%20%20%20%3Cli%3E%3Ca%20href%3D%22https%3A%2F%2Fld246.com%2Farticle%2F1583129520165%22%20target%3D%22_blank%22%3E%E5%9F%BA%E7%A1%80%E8%AF%AD%E6%B3%95%3C%2Fa%3E%3C%2Fli%3E%5Cn%20%20%20%20%20%20%20%20%3Cli%3E%3Ca%20href%3D%22https%3A%2F%2Fld246.com%2Farticle%2F1583305480675%22%20target%3D%22_blank%22%3E%E6%89%A9%E5%B1%95%E8%AF%AD%E6%B3%95%3C%2Fa%3E%3C%2Fli%3E%5Cn%20%20%20%20%20%20%20%20%3Cli%3E%3Ca%20href%3D%22https%3A%2F%2Fld246.com%2Farticle%2F1582778815353%22%20target%3D%22_blank%22%3E%E9%94%AE%E7%9B%98%E5%BF%AB%E6%8D%B7%E9%94%AE%3C%2Fa%3E%3C%2Fli%3E%5Cn%20%20%20%20%3C%2Ful%3E%5Cn%3C%2Fdiv%3E%5Cn%3Cdiv%20style%3D%22margin-top%3A%2014px%3Bflex%3A%201%22%3E%5Cn%20%20%20%20%3Cdiv%3EVditor%20%E6%94%AF%E6%8C%81%3C%2Fdiv%3E%5Cn%20%20%20%20%3Cul%20style%3D%22list-style%3A%20none%22%3E%5Cn%20%20%20%20%20%20%20%20%3Cli%3E%3Ca%20href%3D%22https%3A%2F%2Fgithub.com%2FVanessa219%2Fvditor%2Fissues%22%20target%3D%22_blank%22%3EIssues%3C%2Fa%3E%3C%2Fli%3E%5Cn%20%20%20%20%20%20%20%20%3Cli%3E%3Ca%20href%3D%22https%3A%2F%2Fld246.com%2Ftag%2Fvditor%22%20target%3D%22_blank%22%3E%E5%AE%98%E6%96%B9%E8%AE%A8%E8%AE%BA%E5%8C%BA%3C%2Fa%3E%3C%2Fli%3E%5Cn%20%20%20%20%20%20%20%20%3Cli%3E%3Ca%20href%3D%22https%3A%2F%2Fld246.com%2Farticle%2F1549638745630%22%20target%3D%22_blank%22%3E%E5%BC%80%E5%8F%91%E6%89%8B%E5%86%8C%3C%2Fa%3E%3C%2Fli%3E%5Cn%20%20%20%20%20%20%20%20%3Cli%3E%3Ca%20href%3D%22https%3A%2F%2Fld246.com%2Fguide%2Fmarkdown%22%20target%3D%22_blank%22%3E%E6%BC%94%E7%A4%BA%E5%9C%B0%E5%9D%80%3C%2Fa%3E%3C%2Fli%3E%5Cn%20%20%20%20%3C%2Ful%3E%5Cn%3C%2Fdiv%3E%3C%2Fdiv%3E%27%2C0)%7D))%2Cr%7Dreturn%20mn(t%2Ce)%2Ct%7D(he)%2Chn%3Dfunction()%7Bvar%20e%3Dfunction(t%2Cn)%7Breturn%20e%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2Ce(t%2Cn)%7D%3Breturn%20function(t%2Cn)%7Bfunction%20r()%7Bthis.constructor%3Dt%7De(t%2Cn)%2Ct.prototype%3Dnull%3D%3D%3Dn%3FObject.create(n)%3A(r.prototype%3Dn.prototype%2Cnew%20r)%7D%7D()%2Cvn%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this%2Ct%2Cn)%7C%7Cthis%3Breturn%20r.element.children%5B0%5D.addEventListener((0%2Cd.Le)()%2C(function(e)%7Bif(e.preventDefault()%2C!r.element.firstElementChild.classList.contains(i.g.CLASS_MENU_DISABLED)%26%26%22sv%22!%3D%3Dt.currentMode)%7Bvar%20n%3D(0%2CN.zh)(t)%2Co%3D(0%2Cy.lG)(n.startContainer%2C%22LI%22)%3Bo%26%26nt(t%2Co%2Cn)%7D%7D))%2Cr%7Dreturn%20hn(t%2Ce)%2Ct%7D(he)%2Cgn%3Dfunction()%7Bvar%20e%3Dfunction(t%2Cn)%7Breturn%20e%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2Ce(t%2Cn)%7D%3Breturn%20function(t%2Cn)%7Bfunction%20r()%7Bthis.constructor%3Dt%7De(t%2Cn)%2Ct.prototype%3Dnull%3D%3D%3Dn%3FObject.create(n)%3A(r.prototype%3Dn.prototype%2Cnew%20r)%7D%7D()%2Cyn%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this%2Ct%2Cn)%7C%7Cthis%3Breturn%20r.element.children%5B0%5D.addEventListener((0%2Cd.Le)()%2C(function(e)%7Be.preventDefault()%2Ct.tip.show(%27%3Cdiv%20style%3D%22max-width%3A%20520px%3B%20font-size%3A%2014px%3Bline-height%3A%2022px%3Bmargin-bottom%3A%2014px%3B%22%3E%5Cn%3Cp%20style%3D%22text-align%3A%20center%3Bmargin%3A%2014px%200%22%3E%5Cn%20%20%20%20%3Cem%3E%E4%B8%8B%E4%B8%80%E4%BB%A3%E7%9A%84%20Markdown%20%E7%BC%96%E8%BE%91%E5%99%A8%EF%BC%8C%E4%B8%BA%E6%9C%AA%E6%9D%A5%E8%80%8C%E6%9E%84%E5%BB%BA%3C%2Fem%3E%5Cn%3C%2Fp%3E%5Cn%3Cdiv%20style%3D%22display%3A%20flex%3Bmargin-bottom%3A%2014px%3Bflex-wrap%3A%20wrap%3Balign-items%3A%20center%22%3E%5Cn%20%20%20%20%3Cimg%20src%3D%22https%3A%2F%2Funpkg.com%2Fvditor%2Fdist%2Fimages%2Flogo.png%22%20style%3D%22margin%3A%200%20auto%3Bheight%3A%2068px%22%2F%3E%5Cn%20%20%20%20%3Cdiv%3E%26nbsp%3B%26nbsp%3B%3C%2Fdiv%3E%5Cn%20%20%20%20%3Cdiv%20style%3D%22flex%3A%201%3Bmin-width%3A%20250px%22%3E%5Cn%20%20%20%20%20%20%20%20Vditor%20%E6%98%AF%E4%B8%80%E6%AC%BE%E6%B5%8F%E8%A7%88%E5%99%A8%E7%AB%AF%E7%9A%84%20Markdown%20%E7%BC%96%E8%BE%91%E5%99%A8%EF%BC%8C%E6%94%AF%E6%8C%81%E6%89%80%E8%A7%81%E5%8D%B3%E6%89%80%E5%BE%97%E3%80%81%E5%8D%B3%E6%97%B6%E6%B8%B2%E6%9F%93%EF%BC%88%E7%B1%BB%E4%BC%BC%20Typora%EF%BC%89%E5%92%8C%E5%88%86%E5%B1%8F%E9%A2%84%E8%A7%88%E6%A8%A1%E5%BC%8F%E3%80%82%5Cn%20%20%20%20%20%20%20%20%E5%AE%83%E4%BD%BF%E7%94%A8%20TypeScript%20%E5%AE%9E%E7%8E%B0%EF%BC%8C%E6%94%AF%E6%8C%81%E5%8E%9F%E7%94%9F%20JavaScript%20%E4%BB%A5%E5%8F%8A%20Vue%E3%80%81React%E3%80%81Angular%20%E5%92%8C%20Svelte%20%E7%AD%89%E6%A1%86%E6%9E%B6%E3%80%82%5Cn%20%20%20%20%3C%2Fdiv%3E%5Cn%3C%2Fdiv%3E%5Cn%3Cdiv%20style%3D%22display%3A%20flex%3Bflex-wrap%3A%20wrap%3B%22%3E%5Cn%20%20%20%20%3Cul%20style%3D%22list-style%3A%20none%3Bflex%3A%201%3Bmin-width%3A148px%22%3E%5Cn%20%20%20%20%20%20%20%20%3Cli%3E%5Cn%20%20%20%20%20%20%20%20%E9%A1%B9%E7%9B%AE%E5%9C%B0%E5%9D%80%EF%BC%9A%3Ca%20href%3D%22https%3A%2F%2Fb3log.org%2Fvditor%22%20target%3D%22_blank%22%3Eb3log.org%2Fvditor%3C%2Fa%3E%5Cn%20%20%20%20%20%20%20%20%3C%2Fli%3E%5Cn%20%20%20%20%20%20%20%20%3Cli%3E%5Cn%20%20%20%20%20%20%20%20%E5%BC%80%E6%BA%90%E5%8D%8F%E8%AE%AE%EF%BC%9AMIT%5Cn%20%20%20%20%20%20%20%20%3C%2Fli%3E%5Cn%20%20%20%20%3C%2Ful%3E%5Cn%20%20%20%20%3Cul%20style%3D%22list-style%3A%20none%3Bmargin-right%3A%2018px%22%3E%5Cn%20%20%20%20%20%20%20%20%3Cli%3E%5Cn%20%20%20%20%20%20%20%20%E7%BB%84%E4%BB%B6%E7%89%88%E6%9C%AC%EF%BC%9AVditor%20v%27%2Bi.H%2B%22%20%2F%20Lute%20v%22%2BLute.Version%2B%27%5Cn%20%20%20%20%20%20%20%20%3C%2Fli%3E%5Cn%20%20%20%20%20%20%20%20%3Cli%3E%5Cn%20%20%20%20%20%20%20%20%E8%B5%9E%E5%8A%A9%E6%8D%90%E8%B5%A0%EF%BC%9A%3Ca%20href%3D%22https%3A%2F%2Fld246.com%2Fsponsor%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fld246.com%2Fsponsor%3C%2Fa%3E%5Cn%20%20%20%20%20%20%20%20%3C%2Fli%3E%5Cn%20%20%20%20%3C%2Ful%3E%5Cn%3C%2Fdiv%3E%5Cn%3C%2Fdiv%3E%27%2C0)%7D))%2Cr%7Dreturn%20gn(t%2Ce)%2Ct%7D(he)%2Cbn%3Dfunction()%7Bvar%20e%3Dfunction(t%2Cn)%7Breturn%20e%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2Ce(t%2Cn)%7D%3Breturn%20function(t%2Cn)%7Bfunction%20r()%7Bthis.constructor%3Dt%7De(t%2Cn)%2Ct.prototype%3Dnull%3D%3D%3Dn%3FObject.create(n)%3A(r.prototype%3Dn.prototype%2Cnew%20r)%7D%7D()%2Cwn%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this%2Ct%2Cn)%7C%7Cthis%3Breturn%20r.element.children%5B0%5D.addEventListener((0%2Cd.Le)()%2C(function(e)%7Be.preventDefault()%2Cr.element.firstElementChild.classList.contains(i.g.CLASS_MENU_DISABLED)%7C%7C%22sv%22%3D%3D%3Dt.currentMode%7C%7CJe(t%2C%22afterend%22)%7D))%2Cr%7Dreturn%20bn(t%2Ce)%2Ct%7D(he)%2CEn%3Dfunction()%7Bvar%20e%3Dfunction(t%2Cn)%7Breturn%20e%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2Ce(t%2Cn)%7D%3Breturn%20function(t%2Cn)%7Bfunction%20r()%7Bthis.constructor%3Dt%7De(t%2Cn)%2Ct.prototype%3Dnull%3D%3D%3Dn%3FObject.create(n)%3A(r.prototype%3Dn.prototype%2Cnew%20r)%7D%7D()%2Ckn%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this%2Ct%2Cn)%7C%7Cthis%3Breturn%20r.element.children%5B0%5D.addEventListener((0%2Cd.Le)()%2C(function(e)%7Be.preventDefault()%2Cr.element.firstElementChild.classList.contains(i.g.CLASS_MENU_DISABLED)%7C%7C%22sv%22%3D%3D%3Dt.currentMode%7C%7CJe(t%2C%22beforebegin%22)%7D))%2Cr%7Dreturn%20En(t%2Ce)%2Ct%7D(he)%2CSn%3Dfunction()%7Bvar%20e%3Dfunction(t%2Cn)%7Breturn%20e%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2Ce(t%2Cn)%7D%3Breturn%20function(t%2Cn)%7Bfunction%20r()%7Bthis.constructor%3Dt%7De(t%2Cn)%2Ct.prototype%3Dnull%3D%3D%3Dn%3FObject.create(n)%3A(r.prototype%3Dn.prototype%2Cnew%20r)%7D%7D()%2CLn%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this%2Ct%2Cn)%7C%7Cthis%3Breturn%20r.element.children%5B0%5D.addEventListener((0%2Cd.Le)()%2C(function(e)%7Bif(e.preventDefault()%2C!r.element.firstElementChild.classList.contains(i.g.CLASS_MENU_DISABLED)%26%26%22sv%22!%3D%3Dt.currentMode)%7Bvar%20n%3D(0%2CN.zh)(t)%2Co%3D(0%2Cy.lG)(n.startContainer%2C%22LI%22)%3Bo%26%26rt(t%2Co%2Cn%2Co.parentElement)%7D%7D))%2Cr%7Dreturn%20Sn(t%2Ce)%2Ct%7D(he)%2CCn%3Dfunction()%7Bvar%20e%3Dfunction(t%2Cn)%7Breturn%20e%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2Ce(t%2Cn)%7D%3Breturn%20function(t%2Cn)%7Bfunction%20r()%7Bthis.constructor%3Dt%7De(t%2Cn)%2Ct.prototype%3Dnull%3D%3D%3Dn%3FObject.create(n)%3A(r.prototype%3Dn.prototype%2Cnew%20r)%7D%7D()%2CMn%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this%2Ct%2Cn)%7C%7Cthis%3Breturn%20t.options.outline%26%26r.element.firstElementChild.classList.add(%22vditor-menu--current%22)%2Cr.element.children%5B0%5D.addEventListener((0%2Cd.Le)()%2C(function(e)%7Be.preventDefault()%2Ct.toolbar.elements.outline.firstElementChild.classList.contains(i.g.CLASS_MENU_DISABLED)%7C%7C(t.options.outline.enable%3D!r.element.firstElementChild.classList.contains(%22vditor-menu--current%22)%2Ct.outline.toggle(t%2Ct.options.outline.enable))%7D))%2Cr%7Dreturn%20Cn(t%2Ce)%2Ct%7D(he)%2CTn%3Dfunction()%7Bvar%20e%3Dfunction(t%2Cn)%7Breturn%20e%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2Ce(t%2Cn)%7D%3Breturn%20function(t%2Cn)%7Bfunction%20r()%7Bthis.constructor%3Dt%7De(t%2Cn)%2Ct.prototype%3Dnull%3D%3D%3Dn%3FObject.create(n)%3A(r.prototype%3Dn.prototype%2Cnew%20r)%7D%7D()%2CAn%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this%2Ct%2Cn)%7C%7Cthis%3Breturn%20r._bindEvent(t)%2Cr%7Dreturn%20Tn(t%2Ce)%2Ct.prototype._bindEvent%3Dfunction(e)%7Bvar%20t%3Dthis%3Bthis.element.children%5B0%5D.addEventListener((0%2Cd.Le)()%2C(function(n)%7Bn.preventDefault()%3Bvar%20r%3Dt.element.firstElementChild%3Bif(!r.classList.contains(i.g.CLASS_MENU_DISABLED))%7Bvar%20o%3Di.g.EDIT_TOOLBARS.concat(%5B%22both%22%2C%22edit-mode%22%2C%22devtools%22%5D)%3Br.classList.contains(%22vditor-menu--current%22)%3F(r.classList.remove(%22vditor-menu--current%22)%2C%22sv%22%3D%3D%3De.currentMode%3F(e.sv.element.style.display%3D%22block%22%2C%22both%22%3D%3D%3De.options.preview.mode%3Fe.preview.element.style.display%3D%22block%22%3Ae.preview.element.style.display%3D%22none%22)%3A(e%5Be.currentMode%5D.element.parentElement.style.display%3D%22block%22%2Ce.preview.element.style.display%3D%22none%22)%2Cp(e.toolbar.elements%2Co)%2Ce.outline.render(e))%3A(m(e.toolbar.elements%2Co)%2Ce.preview.element.style.display%3D%22block%22%2C%22sv%22%3D%3D%3De.currentMode%3Fe.sv.element.style.display%3D%22none%22%3Ae%5Be.currentMode%5D.element.parentElement.style.display%3D%22none%22%2Ce.preview.render(e)%2Cr.classList.add(%22vditor-menu--current%22)%2Cv(e%2C%5B%22subToolbar%22%2C%22hint%22%2C%22popover%22%5D)%2CsetTimeout((function()%7Be.outline.render(e)%7D)%2Ce.options.preview.delay%2B10))%2CW(e)%7D%7D))%7D%2Ct%7D(he)%2C_n%3Dfunction()%7Bfunction%20e(e)%7Bvar%20t%3Bif(this.SAMPLE_RATE%3D5e3%2Cthis.isRecording%3D!1%2Cthis.readyFlag%3D!1%2Cthis.leftChannel%3D%5B%5D%2Cthis.rightChannel%3D%5B%5D%2Cthis.recordingLength%3D0%2C%22undefined%22!%3Dtypeof%20AudioContext)t%3Dnew%20AudioContext%3Belse%7Bif(!webkitAudioContext)return%3Bt%3Dnew%20webkitAudioContext%7Dthis.DEFAULT_SAMPLE_RATE%3Dt.sampleRate%3Bvar%20n%3Dt.createGain()%3Bt.createMediaStreamSource(e).connect(n)%2Cthis.recorder%3Dt.createScriptProcessor(2048%2C2%2C1)%2Cthis.recorder.onaudioprocess%3Dnull%2Cn.connect(this.recorder)%2Cthis.recorder.connect(t.destination)%2Cthis.readyFlag%3D!0%7Dreturn%20e.prototype.cloneChannelData%3Dfunction(e%2Ct)%7Bthis.leftChannel.push(new%20Float32Array(e))%2Cthis.rightChannel.push(new%20Float32Array(t))%2Cthis.recordingLength%2B%3D2048%7D%2Ce.prototype.startRecordingNewWavFile%3Dfunction()%7Bthis.readyFlag%26%26(this.isRecording%3D!0%2Cthis.leftChannel.length%3Dthis.rightChannel.length%3D0%2Cthis.recordingLength%3D0)%7D%2Ce.prototype.stopRecording%3Dfunction()%7Bthis.isRecording%3D!1%7D%2Ce.prototype.buildWavFileBlob%3Dfunction()%7Bfor(var%20e%3Dthis.mergeBuffers(this.leftChannel)%2Ct%3Dthis.mergeBuffers(this.rightChannel)%2Cn%3Dnew%20Float32Array(e.length)%2Cr%3D0%3Br%3Ce.length%3B%2B%2Br)n%5Br%5D%3D.5*(e%5Br%5D%2Bt%5Br%5D)%3Bthis.DEFAULT_SAMPLE_RATE%3Ethis.SAMPLE_RATE%26%26(n%3Dthis.downSampleBuffer(n%2Cthis.SAMPLE_RATE))%3Bvar%20i%3D44%2B2*n.length%2Co%3Dnew%20ArrayBuffer(i)%2Ca%3Dnew%20DataView(o)%3Bthis.writeUTFBytes(a%2C0%2C%22RIFF%22)%2Ca.setUint32(4%2Ci%2C!0)%2Cthis.writeUTFBytes(a%2C8%2C%22WAVE%22)%2Cthis.writeUTFBytes(a%2C12%2C%22fmt%20%22)%2Ca.setUint32(16%2C16%2C!0)%2Ca.setUint16(20%2C1%2C!0)%2Ca.setUint16(22%2C1%2C!0)%2Ca.setUint32(24%2Cthis.SAMPLE_RATE%2C!0)%2Ca.setUint32(28%2C2*this.SAMPLE_RATE%2C!0)%2Ca.setUint16(32%2C2%2C!0)%2Ca.setUint16(34%2C16%2C!0)%3Bvar%20l%3D2*n.length%3Bthis.writeUTFBytes(a%2C36%2C%22data%22)%2Ca.setUint32(40%2Cl%2C!0)%3Bfor(var%20s%3Dn.length%2Cd%3D44%2Cc%3D0%3Bc%3Cs%3Bc%2B%2B)a.setInt16(d%2C32767*n%5Bc%5D%2C!0)%2Cd%2B%3D2%3Breturn%20new%20Blob(%5Ba%5D%2C%7Btype%3A%22audio%2Fwav%22%7D)%7D%2Ce.prototype.downSampleBuffer%3Dfunction(e%2Ct)%7Bif(t%3D%3D%3Dthis.DEFAULT_SAMPLE_RATE)return%20e%3Bif(t%3Ethis.DEFAULT_SAMPLE_RATE)return%20e%3Bfor(var%20n%3Dthis.DEFAULT_SAMPLE_RATE%2Ft%2Cr%3DMath.round(e.length%2Fn)%2Ci%3Dnew%20Float32Array(r)%2Co%3D0%2Ca%3D0%3Bo%3Ci.length%3B)%7Bfor(var%20l%3DMath.round((o%2B1)*n)%2Cs%3D0%2Cd%3D0%2Cc%3Da%3Bc%3Cl%26%26c%3Ce.length%3Bc%2B%2B)s%2B%3De%5Bc%5D%2Cd%2B%2B%3Bi%5Bo%5D%3Ds%2Fd%2Co%2B%2B%2Ca%3Dl%7Dreturn%20i%7D%2Ce.prototype.mergeBuffers%3Dfunction(e)%7Bfor(var%20t%3Dnew%20Float32Array(this.recordingLength)%2Cn%3D0%2Cr%3De.length%2Ci%3D0%3Bi%3Cr%3B%2B%2Bi)%7Bvar%20o%3De%5Bi%5D%3Bt.set(o%2Cn)%2Cn%2B%3Do.length%7Dreturn%20t%7D%2Ce.prototype.writeUTFBytes%3Dfunction(e%2Ct%2Cn)%7Bfor(var%20r%3Dn.length%2Ci%3D0%3Bi%3Cr%3Bi%2B%2B)e.setUint8(t%2Bi%2Cn.charCodeAt(i))%7D%2Ce%7D()%2Cxn%3Dfunction()%7Bvar%20e%3Dfunction(t%2Cn)%7Breturn%20e%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2Ce(t%2Cn)%7D%3Breturn%20function(t%2Cn)%7Bfunction%20r()%7Bthis.constructor%3Dt%7De(t%2Cn)%2Ct.prototype%3Dnull%3D%3D%3Dn%3FObject.create(n)%3A(r.prototype%3Dn.prototype%2Cnew%20r)%7D%7D()%2CHn%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this%2Ct%2Cn)%7C%7Cthis%3Breturn%20r._bindEvent(t)%2Cr%7Dreturn%20xn(t%2Ce)%2Ct.prototype._bindEvent%3Dfunction(e)%7Bvar%20t%2Cn%3Dthis%3Bthis.element.children%5B0%5D.addEventListener((0%2Cd.Le)()%2C(function(r)%7Bif(r.preventDefault()%2C!n.element.firstElementChild.classList.contains(i.g.CLASS_MENU_DISABLED))%7Bvar%20o%3De%5Be.currentMode%5D.element%3Bif(t)if(t.isRecording)%7Bt.stopRecording()%2Ce.tip.hide()%3Bvar%20a%3Dnew%20File(%5Bt.buildWavFileBlob()%5D%2C%22record%22%2B(new%20Date).getTime()%2B%22.wav%22%2C%7Btype%3A%22video%2Fwebm%22%7D)%3BVe(e%2C%5Ba%5D)%2Cn.element.children%5B0%5D.classList.remove(%22vditor-menu--current%22)%7Delse%20e.tip.show(window.VditorI18n.recording)%2Co.setAttribute(%22contenteditable%22%2C%22false%22)%2Ct.startRecordingNewWavFile()%2Cn.element.children%5B0%5D.classList.add(%22vditor-menu--current%22)%3Belse%20navigator.mediaDevices.getUserMedia(%7Baudio%3A!0%7D).then((function(r)%7B(t%3Dnew%20_n(r)).recorder.onaudioprocess%3Dfunction(e)%7Bif(t.isRecording)%7Bvar%20n%3De.inputBuffer.getChannelData(0)%2Cr%3De.inputBuffer.getChannelData(1)%3Bt.cloneChannelData(n%2Cr)%7D%7D%2Ct.startRecordingNewWavFile()%2Ce.tip.show(window.VditorI18n.recording)%2Co.setAttribute(%22contenteditable%22%2C%22false%22)%2Cn.element.children%5B0%5D.classList.add(%22vditor-menu--current%22)%7D)).catch((function()%7Be.tip.show(window.VditorI18n%5B%22record-tip%22%5D)%7D))%7D%7D))%7D%2Ct%7D(he)%2CNn%3Dfunction()%7Bvar%20e%3Dfunction(t%2Cn)%7Breturn%20e%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2Ce(t%2Cn)%7D%3Breturn%20function(t%2Cn)%7Bfunction%20r()%7Bthis.constructor%3Dt%7De(t%2Cn)%2Ct.prototype%3Dnull%3D%3D%3Dn%3FObject.create(n)%3A(r.prototype%3Dn.prototype%2Cnew%20r)%7D%7D()%2CDn%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this%2Ct%2Cn)%7C%7Cthis%3Breturn%20m(%7Bredo%3Ar.element%7D%2C%5B%22redo%22%5D)%2Cr.element.children%5B0%5D.addEventListener((0%2Cd.Le)()%2C(function(e)%7Be.preventDefault()%2Cr.element.firstElementChild.classList.contains(i.g.CLASS_MENU_DISABLED)%7C%7Ct.undo.redo(t)%7D))%2Cr%7Dreturn%20Nn(t%2Ce)%2Ct%7D(he)%2COn%3Dfunction()%7Bvar%20e%3Dfunction(t%2Cn)%7Breturn%20e%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2Ce(t%2Cn)%7D%3Breturn%20function(t%2Cn)%7Bfunction%20r()%7Bthis.constructor%3Dt%7De(t%2Cn)%2Ct.prototype%3Dnull%3D%3D%3Dn%3FObject.create(n)%3A(r.prototype%3Dn.prototype%2Cnew%20r)%7D%7D()%2CIn%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this%2Ct%2Cn)%7C%7Cthis%3Breturn%20m(%7Bundo%3Ar.element%7D%2C%5B%22undo%22%5D)%2Cr.element.children%5B0%5D.addEventListener((0%2Cd.Le)()%2C(function(e)%7Be.preventDefault()%2Cr.element.firstElementChild.classList.contains(i.g.CLASS_MENU_DISABLED)%7C%7Ct.undo.undo(t)%7D))%2Cr%7Dreturn%20On(t%2Ce)%2Ct%7D(he)%2Cjn%3Dfunction()%7Bvar%20e%3Dfunction(t%2Cn)%7Breturn%20e%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2Ce(t%2Cn)%7D%3Breturn%20function(t%2Cn)%7Bfunction%20r()%7Bthis.constructor%3Dt%7De(t%2Cn)%2Ct.prototype%3Dnull%3D%3D%3Dn%3FObject.create(n)%3A(r.prototype%3Dn.prototype%2Cnew%20r)%7D%7D()%2CRn%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this%2Ct%2Cn)%7C%7Cthis%2Ci%3D%27%3Cinput%20type%3D%22file%22%27%3Breturn%20t.options.upload.multiple%26%26(i%2B%3D%27%20multiple%3D%22multiple%22%27)%2Ct.options.upload.accept%26%26(i%2B%3D%27%20accept%3D%22%27%2Bt.options.upload.accept%2B%27%22%27)%2Cr.element.children%5B0%5D.innerHTML%3D%22%22%2B(n.icon%7C%7C%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-upload%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27)%2Bi%2B%22%3E%22%2Cr._bindEvent(t)%2Cr%7Dreturn%20jn(t%2Ce)%2Ct.prototype._bindEvent%3Dfunction(e)%7Bvar%20t%3Dthis%3Bthis.element.children%5B0%5D.addEventListener((0%2Cd.Le)()%2C(function(e)%7Bif(t.element.firstElementChild.classList.contains(i.g.CLASS_MENU_DISABLED))return%20e.stopPropagation()%2Cvoid%20e.preventDefault()%7D))%2Cthis.element.querySelector(%22input%22).addEventListener(%22change%22%2C(function(n)%7Bif(t.element.firstElementChild.classList.contains(i.g.CLASS_MENU_DISABLED))return%20n.stopPropagation()%2Cvoid%20n.preventDefault()%3B0!%3D%3Dn.target.files.length%26%26Ve(e%2Cn.target.files%2Cn.target)%7D))%7D%2Ct%7D(he)%2CPn%3Dfunction()%7Bfunction%20e(e)%7Bvar%20t%3Dthis%2Cn%3De.options%3Bthis.elements%3D%7B%7D%2Cthis.element%3Ddocument.createElement(%22div%22)%2Cthis.element.className%3D%22vditor-toolbar%22%2Cn.toolbar.forEach((function(n%2Cr)%7Bvar%20i%3Dt.genItem(e%2Cn%2Cr)%3Bif(t.element.appendChild(i)%2Cn.toolbar)%7Bvar%20o%3Ddocument.createElement(%22div%22)%3Bo.className%3D%22vditor-hint%20vditor-panel--arrow%22%2Co.addEventListener((0%2Cd.Le)()%2C(function(e)%7Bo.style.display%3D%22none%22%7D))%2Cn.toolbar.forEach((function(n%2Ci)%7Bn.level%3D2%2Co.appendChild(t.genItem(e%2Cn%2Cr%2Bi))%7D))%2Ci.appendChild(o)%2Cg(e%2Co%2Ci.children%5B0%5D)%7D%7D))%2Ce.options.toolbarConfig.hide%26%26this.element.classList.add(%22vditor-toolbar--hide%22)%2Ce.options.toolbarConfig.pin%26%26this.element.classList.add(%22vditor-toolbar--pin%22)%2Ce.options.counter.enable%26%26(e.counter%3Dnew%20Yt(e)%2Cthis.element.appendChild(e.counter.element))%7Dreturn%20e.prototype.genItem%3Dfunction(e%2Ct%2Cn)%7Bvar%20r%3Bswitch(t.name)%7Bcase%22bold%22%3Acase%22italic%22%3Acase%22more%22%3Acase%22strike%22%3Acase%22line%22%3Acase%22quote%22%3Acase%22list%22%3Acase%22ordered-list%22%3Acase%22check%22%3Acase%22code%22%3Acase%22inline-code%22%3Acase%22link%22%3Acase%22table%22%3Ar%3Dnew%20he(e%2Ct)%3Bbreak%3Bcase%22emoji%22%3Ar%3Dnew%20on(e%2Ct)%3Bbreak%3Bcase%22headings%22%3Ar%3Dnew%20pn(e%2Ct)%3Bbreak%3Bcase%22%7C%22%3Ar%3Dnew%20nn%3Bbreak%3Bcase%22br%22%3Ar%3Dnew%20Gt%3Bbreak%3Bcase%22undo%22%3Ar%3Dnew%20In(e%2Ct)%3Bbreak%3Bcase%22redo%22%3Ar%3Dnew%20Dn(e%2Ct)%3Bbreak%3Bcase%22help%22%3Ar%3Dnew%20fn(e%2Ct)%3Bbreak%3Bcase%22both%22%3Ar%3Dnew%20zt(e%2Ct)%3Bbreak%3Bcase%22preview%22%3Ar%3Dnew%20An(e%2Ct)%3Bbreak%3Bcase%22fullscreen%22%3Ar%3Dnew%20cn(e%2Ct)%3Bbreak%3Bcase%22upload%22%3Ar%3Dnew%20Rn(e%2Ct)%3Bbreak%3Bcase%22record%22%3Ar%3Dnew%20Hn(e%2Ct)%3Bbreak%3Bcase%22info%22%3Ar%3Dnew%20yn(e%2Ct)%3Bbreak%3Bcase%22edit-mode%22%3Ar%3Dnew%20ye(e%2Ct)%3Bbreak%3Bcase%22devtools%22%3Ar%3Dnew%20tn(e%2Ct)%3Bbreak%3Bcase%22outdent%22%3Ar%3Dnew%20Ln(e%2Ct)%3Bbreak%3Bcase%22indent%22%3Ar%3Dnew%20vn(e%2Ct)%3Bbreak%3Bcase%22outline%22%3Ar%3Dnew%20Mn(e%2Ct)%3Bbreak%3Bcase%22insert-after%22%3Ar%3Dnew%20wn(e%2Ct)%3Bbreak%3Bcase%22insert-before%22%3Ar%3Dnew%20kn(e%2Ct)%3Bbreak%3Bcase%22code-theme%22%3Ar%3Dnew%20Zt(e%2Ct)%3Bbreak%3Bcase%22content-theme%22%3Ar%3Dnew%20Xt(e%2Ct)%3Bbreak%3Bcase%22export%22%3Ar%3Dnew%20sn(e%2Ct)%3Bbreak%3Bdefault%3Ar%3Dnew%20%24t(e%2Ct)%7Dif(r)%7Bvar%20i%3Dt.name%3Breturn%22br%22!%3D%3Di%26%26%22%7C%22!%3D%3Di%7C%7C(i%2B%3Dn)%2Cthis.elements%5Bi%5D%3Dr.element%2Cr.element%7D%7D%2Ce%7D()%2Cqn%3Dn(760)%2CBn%3Dfunction()%7Bfunction%20e()%7Bthis.stackSize%3D50%2Cthis.resetStack()%2Cthis.dmp%3Dnew%20qn%7Dreturn%20e.prototype.clearStack%3Dfunction(e)%7Bthis.resetStack()%2Cthis.resetIcon(e)%7D%2Ce.prototype.resetIcon%3Dfunction(e)%7Be.toolbar%26%26(this%5Be.currentMode%5D.undoStack.length%3E1%3Fp(e.toolbar.elements%2C%5B%22undo%22%5D)%3Am(e.toolbar.elements%2C%5B%22undo%22%5D)%2C0!%3D%3Dthis%5Be.currentMode%5D.redoStack.length%3Fp(e.toolbar.elements%2C%5B%22redo%22%5D)%3Am(e.toolbar.elements%2C%5B%22redo%22%5D))%7D%2Ce.prototype.undo%3Dfunction(e)%7Bif(%22false%22!%3D%3De%5Be.currentMode%5D.element.getAttribute(%22contenteditable%22)%26%26!(this%5Be.currentMode%5D.undoStack.length%3C2))%7Bvar%20t%3Dthis%5Be.currentMode%5D.undoStack.pop()%3Bt%26%26(this%5Be.currentMode%5D.redoStack.push(t)%2Cthis.renderDiff(t%2Ce)%2Cthis%5Be.currentMode%5D.hasUndo%3D!0%2Cv(e%2C%5B%22hint%22%5D))%7D%7D%2Ce.prototype.redo%3Dfunction(e)%7Bif(%22false%22!%3D%3De%5Be.currentMode%5D.element.getAttribute(%22contenteditable%22))%7Bvar%20t%3Dthis%5Be.currentMode%5D.redoStack.pop()%3Bt%26%26(this%5Be.currentMode%5D.undoStack.push(t)%2Cthis.renderDiff(t%2Ce%2C!0))%7D%7D%2Ce.prototype.recordFirstPosition%3Dfunction(e%2Ct)%7Bif(0!%3D%3DgetSelection().rangeCount%26%26!(1!%3D%3Dthis%5Be.currentMode%5D.undoStack.length%7C%7C0%3D%3D%3Dthis%5Be.currentMode%5D.undoStack%5B0%5D.length%7C%7Cthis%5Be.currentMode%5D.redoStack.length%3E0%7C%7C(0%2Cd.vU)()%26%26%22Backspace%22%3D%3D%3Dt.key%7C%7C(0%2Cd.G6)()))%7Bvar%20n%3Dthis.addCaret(e)%3Bn.replace(%22%3Cwbr%3E%22%2C%22%22).replace(%22%20vditor-ir__node--expand%22%2C%22%22)%3D%3D%3Dthis%5Be.currentMode%5D.undoStack%5B0%5D%5B0%5D.diffs%5B0%5D%5B1%5D.replace(%22%3Cwbr%3E%22%2C%22%22)%26%26(this%5Be.currentMode%5D.undoStack%5B0%5D%5B0%5D.diffs%5B0%5D%5B1%5D%3Dn%2Cthis%5Be.currentMode%5D.lastText%3Dn)%7D%7D%2Ce.prototype.addToUndoStack%3Dfunction(e)%7Bvar%20t%3Dthis.addCaret(e%2C!0)%2Cn%3Dthis.dmp.diff_main(t%2Cthis%5Be.currentMode%5D.lastText%2C!0)%2Cr%3Dthis.dmp.patch_make(t%2Cthis%5Be.currentMode%5D.lastText%2Cn)%3B0%3D%3D%3Dr.length%26%26this%5Be.currentMode%5D.undoStack.length%3E0%7C%7C(this%5Be.currentMode%5D.lastText%3Dt%2Cthis%5Be.currentMode%5D.undoStack.push(r)%2Cthis%5Be.currentMode%5D.undoStack.length%3Ethis.stackSize%26%26this%5Be.currentMode%5D.undoStack.shift()%2Cthis%5Be.currentMode%5D.hasUndo%26%26(this%5Be.currentMode%5D.redoStack%3D%5B%5D%2Cthis%5Be.currentMode%5D.hasUndo%3D!1%2Cm(e.toolbar.elements%2C%5B%22redo%22%5D))%2Cthis%5Be.currentMode%5D.undoStack.length%3E1%26%26p(e.toolbar.elements%2C%5B%22undo%22%5D))%7D%2Ce.prototype.renderDiff%3Dfunction(e%2Ct%2Cn)%7Bvar%20r%3Bif(void%200%3D%3D%3Dn%26%26(n%3D!1)%2Cn)%7Bvar%20i%3Dthis.dmp.patch_deepCopy(e).reverse()%3Bi.forEach((function(e)%7Be.diffs.forEach((function(e)%7Be%5B0%5D%3D-e%5B0%5D%7D))%7D))%2Cr%3Dthis.dmp.patch_apply(i%2Cthis%5Bt.currentMode%5D.lastText)%5B0%5D%7Delse%20r%3Dthis.dmp.patch_apply(e%2Cthis%5Bt.currentMode%5D.lastText)%5B0%5D%3Bif(this%5Bt.currentMode%5D.lastText%3Dr%2Ct%5Bt.currentMode%5D.element.innerHTML%3Dr%2C%22sv%22!%3D%3Dt.currentMode%26%26t%5Bt.currentMode%5D.element.querySelectorAll(%22.vditor-%22%2Bt.currentMode%2B%22__preview%5Bdata-render%3D%272%27%5D%22).forEach((function(e)%7BH(e%2Ct)%7D))%2Ct%5Bt.currentMode%5D.element.querySelector(%22wbr%22))(0%2CN.ib)(t%5Bt.currentMode%5D.element%2Ct%5Bt.currentMode%5D.element.ownerDocument.createRange())%2CMe(t)%3Belse%7Bvar%20o%3DgetSelection().getRangeAt(0)%3Bo.setEndBefore(t%5Bt.currentMode%5D.element)%2Co.collapse(!1)%7DD(t)%2Clt(t%2C%7BenableAddUndoStack%3A!1%2CenableHint%3A!1%2CenableInput%3A!0%7D)%2Cpe(t)%2Ct%5Bt.currentMode%5D.element.querySelectorAll(%22.vditor-%22%2Bt.currentMode%2B%22__preview%5Bdata-render%3D%272%27%5D%22).forEach((function(e)%7BH(e%2Ct)%7D))%2Cthis%5Bt.currentMode%5D.undoStack.length%3E1%3Fp(t.toolbar.elements%2C%5B%22undo%22%5D)%3Am(t.toolbar.elements%2C%5B%22undo%22%5D)%2C0!%3D%3Dthis%5Bt.currentMode%5D.redoStack.length%3Fp(t.toolbar.elements%2C%5B%22redo%22%5D)%3Am(t.toolbar.elements%2C%5B%22redo%22%5D)%7D%2Ce.prototype.resetStack%3Dfunction()%7Bthis.ir%3D%7BhasUndo%3A!1%2ClastText%3A%22%22%2CredoStack%3A%5B%5D%2CundoStack%3A%5B%5D%7D%2Cthis.sv%3D%7BhasUndo%3A!1%2ClastText%3A%22%22%2CredoStack%3A%5B%5D%2CundoStack%3A%5B%5D%7D%2Cthis.wysiwyg%3D%7BhasUndo%3A!1%2ClastText%3A%22%22%2CredoStack%3A%5B%5D%2CundoStack%3A%5B%5D%7D%7D%2Ce.prototype.addCaret%3Dfunction(e%2Ct)%7Bvar%20n%3Bif(void%200%3D%3D%3Dt%26%26(t%3D!1)%2C0!%3D%3DgetSelection().rangeCount%26%26!e%5Be.currentMode%5D.element.querySelector(%22wbr%22))%7Bvar%20r%3DgetSelection().getRangeAt(0)%3Bif(e%5Be.currentMode%5D.element.contains(r.startContainer))%7Bn%3Dr.cloneRange()%3Bvar%20i%3Ddocument.createElement(%22span%22)%3Bi.className%3D%22vditor-wbr%22%2Cr.insertNode(i)%7D%7De.ir.element.cloneNode(!0).querySelectorAll(%22.vditor-%22%2Be.currentMode%2B%22__preview%5Bdata-render%3D%271%27%5D%22).forEach((function(e)%7B(e.firstElementChild.classList.contains(%22language-echarts%22)%7C%7Ce.firstElementChild.classList.contains(%22language-plantuml%22)%7C%7Ce.firstElementChild.classList.contains(%22language-mindmap%22))%26%26(e.firstElementChild.removeAttribute(%22_echarts_instance_%22)%2Ce.firstElementChild.removeAttribute(%22data-processed%22)%2Ce.firstElementChild.innerHTML%3De.previousElementSibling.firstElementChild.innerHTML%2Ce.setAttribute(%22data-render%22%2C%222%22))%2Ce.firstElementChild.classList.contains(%22language-math%22)%26%26(e.setAttribute(%22data-render%22%2C%222%22)%2Ce.firstElementChild.textContent%3De.firstElementChild.getAttribute(%22data-math%22)%2Ce.firstElementChild.removeAttribute(%22data-math%22))%7D))%3Bvar%20o%3De%5Be.currentMode%5D.element.innerHTML%3Breturn%20e%5Be.currentMode%5D.element.querySelectorAll(%22.vditor-wbr%22).forEach((function(e)%7Be.remove()%7D))%2Ct%26%26n%26%26(0%2CN.Hc)(n)%2Co.replace(%27%3Cspan%20class%3D%22vditor-wbr%22%3E%3C%2Fspan%3E%27%2C%22%3Cwbr%3E%22)%7D%2Ce%7D()%2CVn%3Dn(640)%2CUn%3Dfunction()%7Bfunction%20e(e)%7Bthis.defaultOptions%3D%7Brtl%3A!1%2Cafter%3Avoid%200%2Ccache%3A%7Benable%3A!0%7D%2Ccdn%3Ai.g.CDN%2Cclasses%3A%7Bpreview%3A%22%22%7D%2Ccomment%3A%7Benable%3A!1%7D%2Ccounter%3A%7Benable%3A!1%2Ctype%3A%22markdown%22%7D%2Cdebugger%3A!1%2Cfullscreen%3A%7Bindex%3A90%7D%2Cheight%3A%22auto%22%2Chint%3A%7Bdelay%3A200%2Cemoji%3A%7B%22%2B1%22%3A%22%EF%BF%BD%EF%BF%BD%22%2C%22-1%22%3A%22%EF%BF%BD%EF%BF%BD%22%2Cconfused%3A%22%EF%BF%BD%EF%BF%BD%22%2Ceyes%3A%22%EF%BF%BD%EF%BF%BD%EF%B8%8F%22%2Cheart%3A%22%E2%9D%A4%EF%B8%8F%22%2Crocket%3A%22%EF%BF%BD%EF%BF%BD%EF%B8%8F%22%2Csmile%3A%22%EF%BF%BD%EF%BF%BD%22%2Ctada%3A%22%EF%BF%BD%EF%BF%BD%EF%B8%8F%22%7D%2CemojiPath%3Ai.g.CDN%2B%22%2Fdist%2Fimages%2Femoji%22%2Cextend%3A%5B%5D%2Cparse%3A!0%7D%2Cicon%3A%22ant%22%2Clang%3A%22zh_CN%22%2Cmode%3A%22ir%22%2Coutline%3A%7Benable%3A!1%2Cposition%3A%22left%22%7D%2Cplaceholder%3A%22%22%2Cpreview%3A%7Bactions%3A%5B%22desktop%22%2C%22tablet%22%2C%22mobile%22%2C%22mp-wechat%22%2C%22zhihu%22%5D%2Cdelay%3A1e3%2Chljs%3Ai.g.HLJS_OPTIONS%2Cmarkdown%3Ai.g.MARKDOWN_OPTIONS%2Cmath%3Ai.g.MATH_OPTIONS%2CmaxWidth%3A800%2Cmode%3A%22both%22%2Ctheme%3Ai.g.THEME_OPTIONS%7D%2Cresize%3A%7Benable%3A!1%2Cposition%3A%22bottom%22%7D%2Ctheme%3A%22classic%22%2Ctoolbar%3A%5B%22emoji%22%2C%22headings%22%2C%22bold%22%2C%22italic%22%2C%22strike%22%2C%22link%22%2C%22%7C%22%2C%22list%22%2C%22ordered-list%22%2C%22check%22%2C%22outdent%22%2C%22indent%22%2C%22%7C%22%2C%22quote%22%2C%22line%22%2C%22code%22%2C%22inline-code%22%2C%22insert-before%22%2C%22insert-after%22%2C%22%7C%22%2C%22upload%22%2C%22record%22%2C%22table%22%2C%22%7C%22%2C%22undo%22%2C%22redo%22%2C%22%7C%22%2C%22fullscreen%22%2C%22edit-mode%22%2C%7Bname%3A%22more%22%2Ctoolbar%3A%5B%22both%22%2C%22code-theme%22%2C%22content-theme%22%2C%22export%22%2C%22outline%22%2C%22preview%22%2C%22devtools%22%2C%22info%22%2C%22help%22%5D%7D%5D%2CtoolbarConfig%3A%7Bhide%3A!1%2Cpin%3A!1%7D%2CtypewriterMode%3A!1%2CundoDelay%3A800%2Cupload%3A%7BextraData%3A%7B%7D%2CfieldName%3A%22file%5B%5D%22%2Cfilename%3Afunction(e)%7Breturn%20e.replace(%2F%5CW%2Fg%2C%22%22)%7D%2ClinkToImgUrl%3A%22%22%2Cmax%3A10485760%2Cmultiple%3A!0%2Curl%3A%22%22%2CwithCredentials%3A!1%7D%2Cvalue%3A%22%22%2Cwidth%3A%22auto%22%7D%2Cthis.options%3De%7Dreturn%20e.prototype.merge%3Dfunction()%7Bvar%20e%2Ct%2Cn%3Bthis.options%26%26(this.options.toolbar%3Fthis.options.toolbar%3Dthis.mergeToolbar(this.options.toolbar)%3Athis.options.toolbar%3Dthis.mergeToolbar(this.defaultOptions.toolbar)%2C(null%3D%3D%3D(t%3Dnull%3D%3D%3D(e%3Dthis.options.preview)%7C%7Cvoid%200%3D%3D%3De%3Fvoid%200%3Ae.theme)%7C%7Cvoid%200%3D%3D%3Dt%3Fvoid%200%3At.list)%26%26(this.defaultOptions.preview.theme.list%3Dthis.options.preview.theme.list)%2C(null%3D%3D%3D(n%3Dthis.options.hint)%7C%7Cvoid%200%3D%3D%3Dn%3Fvoid%200%3An.emoji)%26%26(this.defaultOptions.hint.emoji%3Dthis.options.hint.emoji)%2Cthis.options.comment%26%26(this.defaultOptions.comment%3Dthis.options.comment))%3Bvar%20r%3D(0%2CVn.T)(this.defaultOptions%2Cthis.options)%3Bif(r.cache.enable%26%26!r.cache.id)throw%20new%20Error(%22need%20options.cache.id%2C%20see%20https%3A%2F%2Fld246.com%2Farticle%2F1549638745630%23options%22)%3Breturn%20r%7D%2Ce.prototype.mergeToolbar%3Dfunction(e)%7Bvar%20t%3Dthis%2Cn%3D%5B%7Bicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-export%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22export%22%2CtipPosition%3A%22ne%22%7D%2C%7Bhotkey%3A%22%E2%8C%98E%22%2Cicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-emoji%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22emoji%22%2CtipPosition%3A%22ne%22%7D%2C%7Bhotkey%3A%22%E2%8C%98H%22%2Cicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-headings%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22headings%22%2CtipPosition%3A%22ne%22%7D%2C%7Bhotkey%3A%22%E2%8C%98B%22%2Cicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-bold%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22bold%22%2Cprefix%3A%22**%22%2Csuffix%3A%22**%22%2CtipPosition%3A%22ne%22%7D%2C%7Bhotkey%3A%22%E2%8C%98I%22%2Cicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-italic%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22italic%22%2Cprefix%3A%22*%22%2Csuffix%3A%22*%22%2CtipPosition%3A%22ne%22%7D%2C%7Bhotkey%3A%22%E2%8C%98D%22%2Cicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-strike%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22strike%22%2Cprefix%3A%22%7E%7E%22%2Csuffix%3A%22%7E%7E%22%2CtipPosition%3A%22ne%22%7D%2C%7Bhotkey%3A%22%E2%8C%98K%22%2Cicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-link%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22link%22%2Cprefix%3A%22%5B%22%2Csuffix%3A%22%5D(https%3A%2F%2F)%22%2CtipPosition%3A%22n%22%7D%2C%7Bname%3A%22%7C%22%7D%2C%7Bhotkey%3A%22%E2%8C%98L%22%2Cicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-list%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22list%22%2Cprefix%3A%22*%20%22%2CtipPosition%3A%22n%22%7D%2C%7Bhotkey%3A%22%E2%8C%98O%22%2Cicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-ordered-list%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22ordered-list%22%2Cprefix%3A%221.%20%22%2CtipPosition%3A%22n%22%7D%2C%7Bhotkey%3A%22%E2%8C%98J%22%2Cicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-check%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22check%22%2Cprefix%3A%22*%20%5B%20%5D%20%22%2CtipPosition%3A%22n%22%7D%2C%7Bhotkey%3A%22%E2%87%A7%E2%8C%98I%22%2Cicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-outdent%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22outdent%22%2CtipPosition%3A%22n%22%7D%2C%7Bhotkey%3A%22%E2%87%A7%E2%8C%98O%22%2Cicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-indent%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22indent%22%2CtipPosition%3A%22n%22%7D%2C%7Bname%3A%22%7C%22%7D%2C%7Bhotkey%3A%22%E2%8C%98%3B%22%2Cicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-quote%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22quote%22%2Cprefix%3A%22%3E%20%22%2CtipPosition%3A%22n%22%7D%2C%7Bhotkey%3A%22%E2%87%A7%E2%8C%98H%22%2Cicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-line%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22line%22%2Cprefix%3A%22---%22%2CtipPosition%3A%22n%22%7D%2C%7Bhotkey%3A%22%E2%8C%98U%22%2Cicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-code%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22code%22%2Cprefix%3A%22%60%60%60%22%2Csuffix%3A%22%5Cn%60%60%60%22%2CtipPosition%3A%22n%22%7D%2C%7Bhotkey%3A%22%E2%8C%98G%22%2Cicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-inline-code%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22inline-code%22%2Cprefix%3A%22%60%22%2Csuffix%3A%22%60%22%2CtipPosition%3A%22n%22%7D%2C%7Bhotkey%3A%22%E2%87%A7%E2%8C%98B%22%2Cicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-before%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22insert-before%22%2CtipPosition%3A%22n%22%7D%2C%7Bhotkey%3A%22%E2%87%A7%E2%8C%98E%22%2Cicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-after%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22insert-after%22%2CtipPosition%3A%22n%22%7D%2C%7Bname%3A%22%7C%22%7D%2C%7Bicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-upload%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22upload%22%2CtipPosition%3A%22n%22%7D%2C%7Bicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-record%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22record%22%2CtipPosition%3A%22n%22%7D%2C%7Bhotkey%3A%22%E2%8C%98M%22%2Cicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-table%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22table%22%2Cprefix%3A%22%7C%20col1%22%2Csuffix%3A%22%20%7C%20col2%20%7C%20col3%20%7C%5Cn%7C%20---%20%7C%20---%20%7C%20---%20%7C%5Cn%7C%20%20%7C%20%20%7C%20%20%7C%5Cn%7C%20%20%7C%20%20%7C%20%20%7C%22%2CtipPosition%3A%22n%22%7D%2C%7Bname%3A%22%7C%22%7D%2C%7Bhotkey%3A%22%E2%8C%98Z%22%2Cicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-undo%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22undo%22%2CtipPosition%3A%22nw%22%7D%2C%7Bhotkey%3A%22%E2%8C%98Y%22%2Cicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-redo%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22redo%22%2CtipPosition%3A%22nw%22%7D%2C%7Bname%3A%22%7C%22%7D%2C%7Bicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-more%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22more%22%2CtipPosition%3A%22e%22%7D%2C%7Bhotkey%3A%22%E2%8C%98%27%22%2Cicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-fullscreen%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22fullscreen%22%2CtipPosition%3A%22nw%22%7D%2C%7Bicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-edit%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22edit-mode%22%2CtipPosition%3A%22nw%22%7D%2C%7Bhotkey%3A%22%E2%8C%98P%22%2Cicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-both%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22both%22%2CtipPosition%3A%22nw%22%7D%2C%7Bicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-preview%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22preview%22%2CtipPosition%3A%22nw%22%7D%2C%7Bicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-align-center%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22outline%22%2CtipPosition%3A%22nw%22%7D%2C%7Bicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-theme%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22content-theme%22%2CtipPosition%3A%22nw%22%7D%2C%7Bicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-code-theme%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22code-theme%22%2CtipPosition%3A%22nw%22%7D%2C%7Bicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-bug%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22devtools%22%2CtipPosition%3A%22nw%22%7D%2C%7Bicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-info%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22info%22%2CtipPosition%3A%22nw%22%7D%2C%7Bicon%3A%27%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-help%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%27%2Cname%3A%22help%22%2CtipPosition%3A%22nw%22%7D%2C%7Bname%3A%22br%22%7D%5D%2Cr%3D%5B%5D%3Breturn%20e.forEach((function(e)%7Bvar%20i%3De%3Bn.forEach((function(t)%7B%22string%22%3D%3Dtypeof%20e%26%26t.name%3D%3D%3De%26%26(i%3Dt)%2C%22object%22%3D%3Dtypeof%20e%26%26t.name%3D%3D%3De.name%26%26(i%3DObject.assign(%7B%7D%2Ct%2Ce))%7D))%2Ce.toolbar%26%26(i.toolbar%3Dt.mergeToolbar(e.toolbar))%2Cr.push(i)%7D))%2Cr%7D%2Ce%7D()%2CWn%3Dfunction()%7Bfunction%20e(e)%7Bvar%20t%3Dthis%3Bthis.composingLock%3D!1%2Cthis.commentIds%3D%5B%5D%3Bvar%20n%3Ddocument.createElement(%22div%22)%3Bn.className%3D%22vditor-wysiwyg%22%2Cn.innerHTML%3D%27%3Cpre%20class%3D%22vditor-reset%22%20placeholder%3D%22%27%2Be.options.placeholder%2B%27%22%5Cn%20contenteditable%3D%22true%22%20spellcheck%3D%22false%22%3E%3C%2Fpre%3E%5Cn%3Cdiv%20class%3D%22vditor-panel%20vditor-panel--none%22%3E%3C%2Fdiv%3E%5Cn%3Cdiv%20class%3D%22vditor-panel%20vditor-panel--none%22%3E%5Cn%20%20%20%20%3Cbutton%20type%3D%22button%22%20aria-label%3D%22%27%2Bwindow.VditorI18n.comment%2B%27%22%20class%3D%22vditor-icon%20vditor-tooltipped%20vditor-tooltipped__n%22%3E%5Cn%20%20%20%20%20%20%20%20%3Csvg%3E%3Cuse%20xlink%3Ahref%3D%22%23vditor-icon-comment%22%3E%3C%2Fuse%3E%3C%2Fsvg%3E%5Cn%20%20%20%20%3C%2Fbutton%3E%5Cn%3C%2Fdiv%3E%27%2Cthis.element%3Dn.firstElementChild%2Cthis.popover%3Dn.firstElementChild.nextElementSibling%2Cthis.selectPopover%3Dn.lastElementChild%2Cthis.bindEvent(e)%2Cwe(e%2Cthis.element)%2CEe(e%2Cthis.element)%2Cke(e%2Cthis.element)%2CTe(e%2Cthis.element)%2CAe(e%2Cthis.element)%2CSe(e%2Cthis.element)%2CLe(e%2Cthis.element%2Cthis.copy)%2CCe(e%2Cthis.element%2Cthis.copy)%2Ce.options.comment.enable%26%26(this.selectPopover.querySelector(%22button%22).onclick%3Dfunction()%7Bvar%20n%2Cr%2Co%3DLute.NewNodeID()%2Ca%3DgetSelection().getRangeAt(0)%2Cl%3Da.cloneRange()%2Cs%3Da.extractContents()%2Cd%3D!1%2Cc%3D!1%3Bs.childNodes.forEach((function(e%2Ct)%7Bvar%20i%3D!1%3Bif(3%3D%3D%3De.nodeType%3Fi%3D!0%3Ae.classList.contains(%22vditor-comment%22)%3Fe.classList.contains(%22vditor-comment%22)%26%26e.setAttribute(%22data-cmtids%22%2Ce.getAttribute(%22data-cmtids%22)%2B%22%20%22%2Bo)%3Ai%3D!0%2Ci)if(3!%3D%3De.nodeType%26%26%220%22%3D%3D%3De.getAttribute(%22data-block%22)%26%260%3D%3D%3Dt%26%26l.startOffset%3E0)e.innerHTML%3D%27%3Cspan%20class%3D%22vditor-comment%22%20data-cmtids%3D%22%27%2Bo%2B%27%22%3E%27%2Be.innerHTML%2B%22%3C%2Fspan%3E%22%2Cn%3De%3Belse%20if(3!%3D%3De.nodeType%26%26%220%22%3D%3D%3De.getAttribute(%22data-block%22)%26%26t%3D%3D%3Ds.childNodes.length-1%26%26l.endOffset%3Cl.endContainer.textContent.length)e.innerHTML%3D%27%3Cspan%20class%3D%22vditor-comment%22%20data-cmtids%3D%22%27%2Bo%2B%27%22%3E%27%2Be.innerHTML%2B%22%3C%2Fspan%3E%22%2Cr%3De%3Belse%20if(3!%3D%3De.nodeType%26%26%220%22%3D%3D%3De.getAttribute(%22data-block%22))0%3D%3D%3Dt%3Fd%3D!0%3At%3D%3D%3Ds.childNodes.length-1%26%26(c%3D!0)%2Ce.innerHTML%3D%27%3Cspan%20class%3D%22vditor-comment%22%20data-cmtids%3D%22%27%2Bo%2B%27%22%3E%27%2Be.innerHTML%2B%22%3C%2Fspan%3E%22%3Belse%7Bvar%20a%3Ddocument.createElement(%22span%22)%3Ba.classList.add(%22vditor-comment%22)%2Ca.setAttribute(%22data-cmtids%22%2Co)%2Ce.parentNode.insertBefore(a%2Ce)%2Ca.appendChild(e)%7D%7D))%3Bvar%20u%3D(0%2Cy.F9)(l.startContainer)%3Bu%26%26(n%3F(u.insertAdjacentHTML(%22beforeend%22%2Cn.innerHTML)%2Cn.remove())%3A%22%22%3D%3D%3Du.textContent.trim().replace(i.g.ZWSP%2C%22%22)%26%26d%26%26u.remove())%3Bvar%20p%3D(0%2Cy.F9)(l.endContainer)%3Bp%26%26(r%3F(p.insertAdjacentHTML(%22afterbegin%22%2Cr.innerHTML)%2Cr.remove())%3A%22%22%3D%3D%3Dp.textContent.trim().replace(i.g.ZWSP%2C%22%22)%26%26c%26%26p.remove())%2Ca.insertNode(s)%2Ce.options.comment.add(o%2Ca.toString()%2Ct.getComments(e%2C!0))%2CX(e%2C%7BenableAddUndoStack%3A!0%2CenableHint%3A!1%2CenableInput%3A!1%7D)%2Ct.hideComment()%7D)%7Dreturn%20e.prototype.getComments%3Dfunction(e%2Ct)%7Bvar%20n%3Dthis%3Bif(void%200%3D%3D%3Dt%26%26(t%3D!1)%2C%22wysiwyg%22!%3D%3De.currentMode%7C%7C!e.options.comment.enable)return%5B%5D%3Bthis.commentIds%3D%5B%5D%2Cthis.element.querySelectorAll(%22.vditor-comment%22).forEach((function(e)%7Bn.commentIds%3Dn.commentIds.concat(e.getAttribute(%22data-cmtids%22).split(%22%20%22))%7D))%2Cthis.commentIds%3DArray.from(new%20Set(this.commentIds))%3Bvar%20r%3D%5B%5D%3Breturn%20t%3F(this.commentIds.forEach((function(e)%7Br.push(%7Bid%3Ae%2Ctop%3An.element.querySelector(%27.vditor-comment%5Bdata-cmtids%3D%22%27%2Be%2B%27%22%5D%27).offsetTop%7D)%7D))%2Cr)%3Avoid%200%7D%2Ce.prototype.triggerRemoveComment%3Dfunction(e)%7Bvar%20t%2Cn%2Cr%3Bif(%22wysiwyg%22%3D%3D%3De.currentMode%26%26e.options.comment.enable%26%26e.wysiwyg.commentIds.length%3E0)%7Bvar%20i%3DJSON.parse(JSON.stringify(this.commentIds))%3Bthis.getComments(e)%3Bvar%20o%3D(t%3Di%2Cn%3Dthis.commentIds%2Cr%3Dnew%20Set(n)%2Ct.filter((function(e)%7Breturn!r.has(e)%7D)))%3Bo.length%3E0%26%26e.options.comment.remove(o)%7D%7D%2Ce.prototype.showComment%3Dfunction()%7Bvar%20e%3D(0%2CN.Ny)(this.element)%3Bthis.selectPopover.setAttribute(%22style%22%2C%22left%3A%22%2Be.left%2B%22px%3Bdisplay%3Ablock%3Btop%3A%22%2BMath.max(-8%2Ce.top-21)%2B%22px%22)%7D%2Ce.prototype.hideComment%3Dfunction()%7Bthis.selectPopover.setAttribute(%22style%22%2C%22display%3Anone%22)%7D%2Ce.prototype.unbindListener%3Dfunction()%7Bwindow.removeEventListener(%22scroll%22%2Cthis.scrollListener)%7D%2Ce.prototype.copy%3Dfunction(e%2Ct)%7Bvar%20n%3DgetSelection().getRangeAt(0)%3Bif(%22%22!%3D%3Dn.toString())%7Be.stopPropagation()%2Ce.preventDefault()%3Bvar%20r%3D(0%2Cy.lG)(n.startContainer%2C%22CODE%22)%2Ci%3D(0%2Cy.lG)(n.endContainer%2C%22CODE%22)%3Bif(r%26%26i%26%26i.isSameNode(r))%7Bvar%20o%3D%22%22%3Breturn%20o%3D%22PRE%22%3D%3D%3Dr.parentElement.tagName%3Fn.toString()%3A%22%60%22%2Bn.toString()%2B%22%60%22%2Ce.clipboardData.setData(%22text%2Fplain%22%2Co)%2Cvoid%20e.clipboardData.setData(%22text%2Fhtml%22%2C%22%22)%7Dvar%20a%3D(0%2Cy.lG)(n.startContainer%2C%22A%22)%2Cl%3D(0%2Cy.lG)(n.endContainer%2C%22A%22)%3Bif(a%26%26l%26%26l.isSameNode(a))%7Bvar%20s%3Da.getAttribute(%22title%22)%7C%7C%22%22%3Breturn%20s%26%26(s%3D%27%20%22%27%2Bs%2B%27%22%27)%2Ce.clipboardData.setData(%22text%2Fplain%22%2C%22%5B%22%2Bn.toString()%2B%22%5D(%22%2Ba.getAttribute(%22href%22)%2Bs%2B%22)%22)%2Cvoid%20e.clipboardData.setData(%22text%2Fhtml%22%2C%22%22)%7Dvar%20d%3Ddocument.createElement(%22div%22)%3Bd.appendChild(n.cloneContents())%2Ce.clipboardData.setData(%22text%2Fplain%22%2Ct.lute.VditorDOM2Md(d.innerHTML).trim())%2Ce.clipboardData.setData(%22text%2Fhtml%22%2C%22%22)%7D%7D%2Ce.prototype.bindEvent%3Dfunction(e)%7Bvar%20t%3Dthis%3Bthis.unbindListener()%2Cwindow.addEventListener(%22scroll%22%2Cthis.scrollListener%3Dfunction()%7Bif(v(e%2C%5B%22hint%22%5D)%2C%22block%22%3D%3D%3Dt.popover.style.display%26%26%22block%22%3D%3D%3Dt.selectPopover.style.display)%7Bvar%20n%3DparseInt(t.popover.getAttribute(%22data-top%22)%2C10)%3Bif(%22auto%22%3D%3D%3De.options.height)%7Bif(e.options.toolbarConfig.pin)%7Bvar%20r%3DMath.max(n%2Cwindow.scrollY-e.element.offsetTop-8)%2B%22px%22%3B%22block%22%3D%3D%3Dt.popover.style.display%26%26(t.popover.style.top%3Dr)%2C%22block%22%3D%3D%3Dt.selectPopover.style.display%26%26(t.selectPopover.style.top%3Dr)%7D%7Delse%20if(e.options.toolbarConfig.pin%26%260%3D%3D%3De.toolbar.element.getBoundingClientRect().top)%7Bvar%20i%3DMath.max(window.scrollY-e.element.offsetTop-8%2CMath.min(n-e.wysiwyg.element.scrollTop%2Ct.element.clientHeight-21))%2B%22px%22%3B%22block%22%3D%3D%3Dt.popover.style.display%26%26(t.popover.style.top%3Di)%2C%22block%22%3D%3D%3Dt.selectPopover.style.display%26%26(t.selectPopover.style.top%3Di)%7D%7D%7D)%2Cthis.element.addEventListener(%22scroll%22%2C(function()%7Bif(v(e%2C%5B%22hint%22%5D)%2Ce.options.comment%26%26e.options.comment.enable%26%26e.options.comment.scroll%26%26e.options.comment.scroll(e.wysiwyg.element.scrollTop)%2C%22block%22%3D%3D%3Dt.popover.style.display)%7Bvar%20n%3DparseInt(t.popover.getAttribute(%22data-top%22)%2C10)-e.wysiwyg.element.scrollTop%2Cr%3D-8%3Be.options.toolbarConfig.pin%26%260%3D%3D%3De.toolbar.element.getBoundingClientRect().top%26%26(r%3Dwindow.scrollY-e.element.offsetTop%2Br)%3Bvar%20i%3DMath.max(r%2CMath.min(n%2Ct.element.clientHeight-21))%2B%22px%22%3Bt.popover.style.top%3Di%2Ct.selectPopover.style.top%3Di%7D%7D))%2Cthis.element.addEventListener(%22paste%22%2C(function(t)%7BSt(e%2Ct%2C%7BpasteCode%3Afunction(t)%7Bvar%20n%3D(0%2CN.zh)(e)%2Cr%3Ddocument.createElement(%22template%22)%3Br.innerHTML%3Dt%2Cn.insertNode(r.content.cloneNode(!0))%3Bvar%20i%3D(0%2Cy.a1)(n.startContainer%2C%22data-block%22%2C%220%22)%3Bi%3Fi.outerHTML%3De.lute.SpinVditorDOM(i.outerHTML)%3Ae.wysiwyg.element.innerHTML%3De.lute.SpinVditorDOM(e.wysiwyg.element.innerHTML)%2C(0%2CN.ib)(e.wysiwyg.element%2Cn)%7D%7D)%7D))%2Cthis.element.addEventListener(%22compositionstart%22%2C(function()%7Bt.composingLock%3D!0%7D))%2Cthis.element.addEventListener(%22compositionend%22%2C(function(n)%7Bvar%20r%3D(0%2Cb.W)(getSelection().getRangeAt(0).startContainer)%3Br%26%26%22%22%3D%3D%3Dr.textContent%3FD(e)%3A((0%2Cd.vU)()%7C%7CUe(e%2CgetSelection().getRangeAt(0).cloneRange()%2Cn)%2Ct.composingLock%3D!1)%7D))%2Cthis.element.addEventListener(%22input%22%2C(function(n)%7Bif(%22deleteByDrag%22!%3D%3Dn.inputType%26%26%22insertFromDrop%22!%3D%3Dn.inputType)%7Bif(t.preventInput)return%20t.preventInput%3D!1%2Cvoid%20X(e)%3Bif(t.composingLock%7C%7C%22%E2%80%98%22%3D%3D%3Dn.data%7C%7C%22%E2%80%9C%22%3D%3D%3Dn.data%7C%7C%22%E3%80%8A%22%3D%3D%3Dn.data)X(e)%3Belse%7Bvar%20r%3DgetSelection().getRangeAt(0)%2Ci%3D(0%2Cy.F9)(r.startContainer)%3Bif(i%7C%7C(%24(e%2Cr)%2Ci%3D(0%2Cy.F9)(r.startContainer))%2Ci)%7Bfor(var%20o%3D(0%2CN.im)(i%2Ce.wysiwyg.element%2Cr).start%2Cl%3D!0%2Cs%3Do-1%3Bs%3Ei.textContent.substr(0%2Co).lastIndexOf(%22%5Cn%22)%3Bs--)if(%22%20%22!%3D%3Di.textContent.charAt(s)%26%26%22%5Ct%22!%3D%3Di.textContent.charAt(s))%7Bl%3D!1%3Bbreak%7D0%3D%3D%3Do%26%26(l%3D!1)%3Bvar%20d%3D!0%3Bfor(s%3Do-1%3Bs%3Ci.textContent.length%3Bs%2B%2B)if(%22%20%22!%3D%3Di.textContent.charAt(s)%26%26%22%5Cn%22!%3D%3Di.textContent.charAt(s))%7Bd%3D!1%3Bbreak%7Dvar%20c%3D(0%2Cb.W)(getSelection().getRangeAt(0).startContainer)%3Bc%26%26%22%22%3D%3D%3Dc.textContent%26%26(D(e)%2Cc.remove())%2Cl%26%26%22code-block%22!%3D%3Di.getAttribute(%22data-type%22)%7C%7Cd%7C%7Cat(i.innerHTML)%7C%7Cot(i.innerHTML)%26%26i.previousElementSibling%3F%22function%22%3D%3Dtypeof%20e.options.input%26%26e.options.input(a(e))%3AUe(e%2Cr%2Cn)%7D%7D%7D%7D))%2Cthis.element.addEventListener(%22click%22%2C(function(n)%7Bif(%22INPUT%22%3D%3D%3Dn.target.tagName)%7Bvar%20r%3Dn.target%3Breturn%20r.checked%3Fr.setAttribute(%22checked%22%2C%22checked%22)%3Ar.removeAttribute(%22checked%22)%2Ct.preventInput%3D!0%2Cvoid%20X(e)%7Dif(%22IMG%22!%3D%3Dn.target.tagName%7C%7Cn.target.parentElement.classList.contains(%22vditor-wysiwyg__preview%22))%7B%22A%22%3D%3D%3Dn.target.tagName%26%26window.open(n.target.getAttribute(%22href%22))%3Bvar%20o%3D(0%2CN.zh)(e)%3Bif(n.target.isEqualNode(t.element)%26%26t.element.lastElementChild%26%26o.collapsed)%7Bvar%20a%3Dt.element.lastElementChild.getBoundingClientRect()%3Bn.y%3Ea.top%2Ba.height%26%26(%22P%22%3D%3D%3Dt.element.lastElementChild.tagName%26%26%22%22%3D%3D%3Dt.element.lastElementChild.textContent.trim().replace(i.g.ZWSP%2C%22%22)%3F(o.selectNodeContents(t.element.lastElementChild)%2Co.collapse(!1))%3A(t.element.insertAdjacentHTML(%22beforeend%22%2C%27%3Cp%20data-block%3D%220%22%3E%27%2Bi.g.ZWSP%2B%22%3Cwbr%3E%3C%2Fp%3E%22)%2C(0%2CN.ib)(t.element%2Co)))%7Die(e)%3Bvar%20l%3D(0%2Cy.fb)(n.target%2C%22vditor-wysiwyg__preview%22)%3Bl%7C%7C(l%3D(0%2Cy.fb)((0%2CN.zh)(e).startContainer%2C%22vditor-wysiwyg__preview%22))%2Cl%26%26ne(l%2Ce)%2CO(n%2Ce)%7Delse%22link-ref%22%3D%3D%3Dn.target.getAttribute(%22data-type%22)%3Fae(e%2Cn.target)%3Afunction(e%2Ct)%7Bvar%20n%3De.target%3Bt.wysiwyg.popover.innerHTML%3D%22%22%3Bvar%20r%3Dfunction()%7Bn.setAttribute(%22src%22%2Co.value)%2Cn.setAttribute(%22alt%22%2Cl.value)%2Cn.setAttribute(%22title%22%2Cd.value)%7D%2Ci%3Ddocument.createElement(%22span%22)%3Bi.setAttribute(%22aria-label%22%2Cwindow.VditorI18n.imageURL)%2Ci.className%3D%22vditor-tooltipped%20vditor-tooltipped__n%22%3Bvar%20o%3Ddocument.createElement(%22input%22)%3Bi.appendChild(o)%2Co.className%3D%22vditor-input%22%2Co.setAttribute(%22placeholder%22%2Cwindow.VditorI18n.imageURL)%2Co.value%3Dn.getAttribute(%22src%22)%7C%7C%22%22%2Co.oninput%3Dfunction()%7Br()%7D%2Co.onkeydown%3Dfunction(e)%7Bre(t%2Ce)%7D%3Bvar%20a%3Ddocument.createElement(%22span%22)%3Ba.setAttribute(%22aria-label%22%2Cwindow.VditorI18n.alternateText)%2Ca.className%3D%22vditor-tooltipped%20vditor-tooltipped__n%22%3Bvar%20l%3Ddocument.createElement(%22input%22)%3Ba.appendChild(l)%2Cl.className%3D%22vditor-input%22%2Cl.setAttribute(%22placeholder%22%2Cwindow.VditorI18n.alternateText)%2Cl.style.width%3D%2252px%22%2Cl.value%3Dn.getAttribute(%22alt%22)%7C%7C%22%22%2Cl.oninput%3Dfunction()%7Br()%7D%2Cl.onkeydown%3Dfunction(e)%7Bre(t%2Ce)%7D%3Bvar%20s%3Ddocument.createElement(%22span%22)%3Bs.setAttribute(%22aria-label%22%2Cwindow.VditorI18n.title)%2Cs.className%3D%22vditor-tooltipped%20vditor-tooltipped__n%22%3Bvar%20d%3Ddocument.createElement(%22input%22)%3Bs.appendChild(d)%2Cd.className%3D%22vditor-input%22%2Cd.setAttribute(%22placeholder%22%2Cwindow.VditorI18n.title)%2Cd.value%3Dn.getAttribute(%22title%22)%7C%7C%22%22%2Cd.oninput%3Dfunction()%7Br()%7D%2Cd.onkeydown%3Dfunction(e)%7Bre(t%2Ce)%7D%2Cde(n%2Ct)%2Ct.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2Ci)%2Ct.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2Ca)%2Ct.wysiwyg.popover.insertAdjacentElement(%22beforeend%22%2Cs)%2Coe(t%2Cn)%7D(n%2Ce)%7D))%2Cthis.element.addEventListener(%22keyup%22%2C(function(t)%7Bif(!t.isComposing%26%26!(0%2Cd.yl)(t))%7B%22Enter%22%3D%3D%3Dt.key%26%26Me(e)%2C%22Backspace%22!%3D%3Dt.key%26%26%22Delete%22!%3D%3Dt.key%7C%7C%22%22%3D%3D%3De.wysiwyg.element.innerHTML%7C%7C1!%3D%3De.wysiwyg.element.childNodes.length%7C%7C!e.wysiwyg.element.firstElementChild%7C%7C%22P%22!%3D%3De.wysiwyg.element.firstElementChild.tagName%7C%7C0!%3D%3De.wysiwyg.element.firstElementChild.childElementCount%7C%7C%22%22!%3D%3De.wysiwyg.element.textContent%26%26%22%5Cn%22!%3D%3De.wysiwyg.element.textContent%7C%7C(e.wysiwyg.element.innerHTML%3D%22%22)%3Bvar%20n%3D(0%2CN.zh)(e)%3Bif(%22Backspace%22%3D%3D%3Dt.key%26%26(0%2Cd.vU)()%26%26%22%5Cn%22%3D%3D%3Dn.startContainer.textContent%26%261%3D%3D%3Dn.startOffset%26%26(n.startContainer.textContent%3D%22%22)%2C%24(e%2Cn)%2Cie(e)%2C%22ArrowDown%22%3D%3D%3Dt.key%7C%7C%22ArrowRight%22%3D%3D%3Dt.key%7C%7C%22Backspace%22%3D%3D%3Dt.key%7C%7C%22ArrowLeft%22%3D%3D%3Dt.key%7C%7C%22ArrowUp%22%3D%3D%3Dt.key)%7B%22ArrowLeft%22!%3D%3Dt.key%26%26%22ArrowRight%22!%3D%3Dt.key%7C%7Ce.hint.render(e)%3Bvar%20r%3D(0%2Cy.fb)(n.startContainer%2C%22vditor-wysiwyg__preview%22)%3Bif(!r%26%263!%3D%3Dn.startContainer.nodeType%26%26n.startOffset%3E0)(o%3Dn.startContainer).classList.contains(%22vditor-wysiwyg__block%22)%26%26(r%3Do.lastElementChild)%3Bif(r)if(%22none%22!%3D%3Dr.previousElementSibling.style.display)%7Bvar%20i%3Dr.previousElementSibling%3Bif(%22PRE%22%3D%3D%3Di.tagName%26%26(i%3Di.firstElementChild)%2C%22ArrowDown%22%3D%3D%3Dt.key%7C%7C%22ArrowRight%22%3D%3D%3Dt.key)%7Bvar%20o%2Ca%3Dfunction(e)%7Bfor(var%20t%3De%3Bt%26%26!t.nextSibling%3B)t%3Dt.parentElement%3Breturn%20t.nextSibling%7D(o%3Dr.parentElement)%3Bif(a%26%263!%3D%3Da.nodeType)%7Bvar%20l%3Da.querySelector(%22.vditor-wysiwyg__preview%22)%3Bif(l)return%20void%20ne(l%2Ce)%7Dif(3%3D%3D%3Da.nodeType)%7Bfor(%3B0%3D%3D%3Da.textContent.length%26%26a.nextSibling%3B)a%3Da.nextSibling%3Bn.setStart(a%2C1)%7Delse%20n.setStart(a.firstChild%2C0)%7Delse%20n.selectNodeContents(i)%2Cn.collapse(!1)%7Delse%22ArrowDown%22%3D%3D%3Dt.key%7C%7C%22ArrowRight%22%3D%3D%3Dt.key%3Fne(r%2Ce)%3Ane(r%2Ce%2C!1)%7D%7D%7D))%7D%2Ce%7D()%2Czn%3Dfunction()%7Bvar%20e%3Dfunction(t%2Cn)%7Breturn%20e%3DObject.setPrototypeOf%7C%7C%7B__proto__%3A%5B%5D%7Dinstanceof%20Array%26%26function(e%2Ct)%7Be.__proto__%3Dt%7D%7C%7Cfunction(e%2Ct)%7Bfor(var%20n%20in%20t)t.hasOwnProperty(n)%26%26(e%5Bn%5D%3Dt%5Bn%5D)%7D%2Ce(t%2Cn)%7D%3Breturn%20function(t%2Cn)%7Bfunction%20r()%7Bthis.constructor%3Dt%7De(t%2Cn)%2Ct.prototype%3Dnull%3D%3D%3Dn%3FObject.create(n)%3A(r.prototype%3Dn.prototype%2Cnew%20r)%7D%7D()%3Bconst%20Gn%3Dfunction(e)%7Bfunction%20t(t%2Cn)%7Bvar%20r%3De.call(this)%7C%7Cthis%3Br.version%3Di.H%2C%22string%22%3D%3Dtypeof%20t%26%26(n%3Fn.cache%3Fn.cache.id%7C%7C(n.cache.id%3D%22vditor%22%2Bt)%3An.cache%3D%7Bid%3A%22vditor%22%2Bt%7D%3An%3D%7Bcache%3A%7Bid%3A%22vditor%22%2Bt%7D%7D%2Ct%3Ddocument.getElementById(t))%3Bvar%20o%3Dnew%20Un(n).merge()%3Bif(o.i18n)window.VditorI18n%3Do.i18n%2Cr.init(t%2Co)%3Belse%7Bif(!%5B%22en_US%22%2C%22ja_JP%22%2C%22ko_KR%22%2C%22ru_RU%22%2C%22zh_CN%22%2C%22zh_TW%22%5D.includes(o.lang))throw%20new%20Error(%22options.lang%20error%2C%20see%20https%3A%2F%2Fld246.com%2Farticle%2F1549638745630%23options%22)%3Bvar%20a%3D%22vditorI18nScript%22%2Cs%3Da%2Bo.lang%3Bdocument.querySelectorAll(%27head%20script%5Bid%5E%3D%22vditorI18nScript%22%5D%27).forEach((function(e)%7Be.id!%3D%3Ds%26%26document.head.removeChild(e)%7D))%2C(0%2Cl.G)(o.cdn%2B%22%2Fdist%2Fjs%2Fi18n%2F%22%2Bo.lang%2B%22.js%22%2Cs).then((function()%7Br.init(t%2Co)%7D))%7Dreturn%20r%7Dreturn%20zn(t%2Ce)%2Ct.prototype.setTheme%3Dfunction(e%2Ct%2Cn%2Cr)%7Bthis.vditor.options.theme%3De%2CU(this.vditor)%2Ct%26%26(this.vditor.options.preview.theme.current%3Dt%2C(0%2CV.Z)(t%2Cr%7C%7Cthis.vditor.options.preview.theme.path))%2Cn%26%26(this.vditor.options.preview.hljs.style%3Dn%2C(0%2CKt.Y)(n%2Cthis.vditor.options.cdn))%7D%2Ct.prototype.getValue%3Dfunction()%7Breturn%20a(this.vditor)%7D%2Ct.prototype.getCurrentMode%3Dfunction()%7Breturn%20this.vditor.currentMode%7D%2Ct.prototype.focus%3Dfunction()%7B%22sv%22%3D%3D%3Dthis.vditor.currentMode%3Fthis.vditor.sv.element.focus()%3A%22wysiwyg%22%3D%3D%3Dthis.vditor.currentMode%3Fthis.vditor.wysiwyg.element.focus()%3A%22ir%22%3D%3D%3Dthis.vditor.currentMode%26%26this.vditor.ir.element.focus()%7D%2Ct.prototype.blur%3Dfunction()%7B%22sv%22%3D%3D%3Dthis.vditor.currentMode%3Fthis.vditor.sv.element.blur()%3A%22wysiwyg%22%3D%3D%3Dthis.vditor.currentMode%3Fthis.vditor.wysiwyg.element.blur()%3A%22ir%22%3D%3D%3Dthis.vditor.currentMode%26%26this.vditor.ir.element.blur()%7D%2Ct.prototype.disabled%3Dfunction()%7Bv(this.vditor%2C%5B%22subToolbar%22%2C%22hint%22%2C%22popover%22%5D)%2Cm(this.vditor.toolbar.elements%2Ci.g.EDIT_TOOLBARS.concat(%5B%22undo%22%2C%22redo%22%2C%22fullscreen%22%2C%22edit-mode%22%5D))%2Cthis.vditor%5Bthis.vditor.currentMode%5D.element.setAttribute(%22contenteditable%22%2C%22false%22)%7D%2Ct.prototype.enable%3Dfunction()%7Bp(this.vditor.toolbar.elements%2Ci.g.EDIT_TOOLBARS.concat(%5B%22undo%22%2C%22redo%22%2C%22fullscreen%22%2C%22edit-mode%22%5D))%2Cthis.vditor.undo.resetIcon(this.vditor)%2Cthis.vditor%5Bthis.vditor.currentMode%5D.element.setAttribute(%22contenteditable%22%2C%22true%22)%7D%2Ct.prototype.getSelection%3Dfunction()%7Breturn%22wysiwyg%22%3D%3D%3Dthis.vditor.currentMode%3Fbe(this.vditor.wysiwyg.element)%3A%22sv%22%3D%3D%3Dthis.vditor.currentMode%3Fbe(this.vditor.sv.element)%3A%22ir%22%3D%3D%3Dthis.vditor.currentMode%3Fbe(this.vditor.ir.element)%3Avoid%200%7D%2Ct.prototype.renderPreview%3Dfunction(e)%7Bthis.vditor.preview.render(this.vditor%2Ce)%7D%2Ct.prototype.getCursorPosition%3Dfunction()%7Breturn(0%2CN.Ny)(this.vditor%5Bthis.vditor.currentMode%5D.element)%7D%2Ct.prototype.isUploading%3Dfunction()%7Breturn%20this.vditor.upload.isUploading%7D%2Ct.prototype.clearCache%3Dfunction()%7BlocalStorage.removeItem(this.vditor.options.cache.id)%7D%2Ct.prototype.disabledCache%3Dfunction()%7Bthis.vditor.options.cache.enable%3D!1%7D%2Ct.prototype.enableCache%3Dfunction()%7Bif(!this.vditor.options.cache.id)throw%20new%20Error(%22need%20options.cache.id%2C%20see%20https%3A%2F%2Fld246.com%2Farticle%2F1549638745630%23options%22)%3Bthis.vditor.options.cache.enable%3D!0%7D%2Ct.prototype.html2md%3Dfunction(e)%7Breturn%20this.vditor.lute.HTML2Md(e)%7D%2Ct.prototype.exportJSON%3Dfunction(e)%7Breturn%20this.vditor.lute.RenderJSON(e)%7D%2Ct.prototype.getHTML%3Dfunction()%7Breturn%20Dt(this.vditor)%7D%2Ct.prototype.tip%3Dfunction(e%2Ct)%7Bthis.vditor.tip.show(e%2Ct)%7D%2Ct.prototype.setPreviewMode%3Dfunction(e)%7BUt(e%2Cthis.vditor)%7D%2Ct.prototype.deleteValue%3Dfunction()%7Bwindow.getSelection().isCollapsed%7C%7Cdocument.execCommand(%22delete%22%2C!1)%7D%2Ct.prototype.updateValue%3Dfunction(e)%7Bdocument.execCommand(%22insertHTML%22%2C!1%2Ce)%7D%2Ct.prototype.insertValue%3Dfunction(e%2Ct)%7Bvoid%200%3D%3D%3Dt%26%26(t%3D!0)%3Bvar%20n%3D(0%2CN.zh)(this.vditor)%3Bn.collapse(!0)%3Bvar%20r%3Ddocument.createElement(%22template%22)%3Br.innerHTML%3De%2Cn.insertNode(r.content.cloneNode(!0))%2C%22sv%22%3D%3D%3Dthis.vditor.currentMode%3F(this.vditor.sv.preventInput%3D!0%2Ct%26%26B(this.vditor))%3A%22wysiwyg%22%3D%3D%3Dthis.vditor.currentMode%3F(this.vditor.wysiwyg.preventInput%3D!0%2Ct%26%26Ue(this.vditor%2CgetSelection().getRangeAt(0)))%3A%22ir%22%3D%3D%3Dthis.vditor.currentMode%26%26(this.vditor.ir.preventInput%3D!0%2Ct%26%26j(this.vditor%2CgetSelection().getRangeAt(0)%2C!0))%7D%2Ct.prototype.setValue%3Dfunction(e%2Ct)%7Bvar%20n%3Dthis%3Bvoid%200%3D%3D%3Dt%26%26(t%3D!1)%2C%22sv%22%3D%3D%3Dthis.vditor.currentMode%3F(this.vditor.sv.element.innerHTML%3D%22%3Cdiv%20data-block%3D%270%27%3E%22%2Bthis.vditor.lute.SpinVditorSVDOM(e)%2B%22%3C%2Fdiv%3E%22%2CDe(this.vditor%2C%7BenableAddUndoStack%3A!0%2CenableHint%3A!1%2CenableInput%3A!1%7D))%3A%22wysiwyg%22%3D%3D%3Dthis.vditor.currentMode%3Fme(this.vditor%2Ce%2C%7BenableAddUndoStack%3A!0%2CenableHint%3A!1%2CenableInput%3A!1%7D)%3A(this.vditor.ir.element.innerHTML%3Dthis.vditor.lute.Md2VditorIRDOM(e)%2Cthis.vditor.ir.element.querySelectorAll(%22.vditor-ir__preview%5Bdata-render%3D%272%27%5D%22).forEach((function(e)%7BH(e%2Cn.vditor)%7D))%2CCt(this.vditor%2C%7BenableAddUndoStack%3A!0%2CenableHint%3A!1%2CenableInput%3A!1%7D))%2Cthis.vditor.outline.render(this.vditor)%2Ce%7C%7C(v(this.vditor%2C%5B%22emoji%22%2C%22headings%22%2C%22submenu%22%2C%22hint%22%5D)%2Cthis.vditor.wysiwyg.popover%26%26(this.vditor.wysiwyg.popover.style.display%3D%22none%22)%2Cthis.clearCache())%2Ct%26%26this.clearStack()%7D%2Ct.prototype.clearStack%3Dfunction()%7Bthis.vditor.undo.clearStack(this.vditor)%2Cthis.vditor.undo.addToUndoStack(this.vditor)%7D%2Ct.prototype.destroy%3Dfunction()%7Bthis.vditor.element.innerHTML%3Dthis.vditor.originalInnerHTML%2Cthis.vditor.element.classList.remove(%22vditor%22)%2Cthis.vditor.element.removeAttribute(%22style%22)%3Bvar%20e%3Ddocument.getElementById(%22vditorIconScript%22)%3Be%26%26e.remove()%2Cthis.clearCache()%2CG()%2Cthis.vditor.wysiwyg.unbindListener()%7D%2Ct.prototype.getCommentIds%3Dfunction()%7Breturn%22wysiwyg%22!%3D%3Dthis.vditor.currentMode%3F%5B%5D%3Athis.vditor.wysiwyg.getComments(this.vditor%2C!0)%7D%2Ct.prototype.hlCommentIds%3Dfunction(e)%7Bif(%22wysiwyg%22%3D%3D%3Dthis.vditor.currentMode)%7Bvar%20t%3Dfunction(t)%7Bt.classList.remove(%22vditor-comment--hover%22)%2Ce.forEach((function(e)%7Bt.getAttribute(%22data-cmtids%22).indexOf(e)%3E-1%26%26t.classList.add(%22vditor-comment--hover%22)%7D))%7D%3Bthis.vditor.wysiwyg.element.querySelectorAll(%22.vditor-comment%22).forEach((function(e)%7Bt(e)%7D))%2C%22none%22!%3D%3Dthis.vditor.preview.element.style.display%26%26this.vditor.preview.element.querySelectorAll(%22.vditor-comment%22).forEach((function(e)%7Bt(e)%7D))%7D%7D%2Ct.prototype.unHlCommentIds%3Dfunction(e)%7Bif(%22wysiwyg%22%3D%3D%3Dthis.vditor.currentMode)%7Bvar%20t%3Dfunction(t)%7Be.forEach((function(e)%7Bt.getAttribute(%22data-cmtids%22).indexOf(e)%3E-1%26%26t.classList.remove(%22vditor-comment--hover%22)%7D))%7D%3Bthis.vditor.wysiwyg.element.querySelectorAll(%22.vditor-comment%22).forEach((function(e)%7Bt(e)%7D))%2C%22none%22!%3D%3Dthis.vditor.preview.element.style.display%26%26this.vditor.preview.element.querySelectorAll(%22.vditor-comment%22).forEach((function(e)%7Bt(e)%7D))%7D%7D%2Ct.prototype.removeCommentIds%3Dfunction(e)%7Bvar%20t%3Dthis%3Bif(%22wysiwyg%22%3D%3D%3Dthis.vditor.currentMode)%7Bvar%20n%3Dfunction(e%2Cn)%7Bvar%20r%3De.getAttribute(%22data-cmtids%22).split(%22%20%22)%3Br.find((function(e%2Ct)%7Bif(e%3D%3D%3Dn)return%20r.splice(t%2C1)%2C!0%7D))%2C0%3D%3D%3Dr.length%3F(e.outerHTML%3De.innerHTML%2C(0%2CN.zh)(t.vditor).collapse(!0))%3Ae.setAttribute(%22data-cmtids%22%2Cr.join(%22%20%22))%7D%3Be.forEach((function(e)%7Bt.vditor.wysiwyg.element.querySelectorAll(%22.vditor-comment%22).forEach((function(t)%7Bn(t%2Ce)%7D))%2C%22none%22!%3D%3Dt.vditor.preview.element.style.display%26%26t.vditor.preview.element.querySelectorAll(%22.vditor-comment%22).forEach((function(t)%7Bn(t%2Ce)%7D))%7D))%2CX(this.vditor%2C%7BenableAddUndoStack%3A!0%2CenableHint%3A!1%2CenableInput%3A!1%7D)%7D%7D%2Ct.prototype.init%3Dfunction(e%2Ct)%7Bvar%20n%3Dthis%3Bthis.vditor%3D%7BcurrentMode%3At.mode%2Celement%3Ae%2Chint%3Anew%20Ht(t.hint.extend)%2Clute%3Avoid%200%2Coptions%3At%2CoriginalInnerHTML%3Ae.innerHTML%2Coutline%3Anew%20jt(window.VditorI18n.outline)%2Ctip%3Anew%20Vt%7D%2Cthis.vditor.sv%3Dnew%20Bt(this.vditor)%2Cthis.vditor.undo%3Dnew%20Bn%2Cthis.vditor.wysiwyg%3Dnew%20Wn(this.vditor)%2Cthis.vditor.ir%3Dnew%20Nt(this.vditor)%2Cthis.vditor.toolbar%3Dnew%20Pn(this.vditor)%2Ct.resize.enable%26%26(this.vditor.resize%3Dnew%20qt(this.vditor))%2Cthis.vditor.toolbar.elements.devtools%26%26(this.vditor.devtools%3Dnew%20s)%2C(t.upload.url%7C%7Ct.upload.handler)%26%26(this.vditor.upload%3Dnew%20Be)%2C(0%2Cl.G)(t._lutePath%7C%7Ct.cdn%2B%22%2Fdist%2Fjs%2Flute%2Flute.min.js%22%2C%22vditorLuteScript%22).then((function()%7Bn.vditor.lute%3D(0%2COt.X)(%7BautoSpace%3An.vditor.options.preview.markdown.autoSpace%2CcodeBlockPreview%3An.vditor.options.preview.markdown.codeBlockPreview%2CemojiSite%3An.vditor.options.hint.emojiPath%2Cemojis%3An.vditor.options.hint.emoji%2CfixTermTypo%3An.vditor.options.preview.markdown.fixTermTypo%2Cfootnotes%3An.vditor.options.preview.markdown.footnotes%2CheadingAnchor%3A!1%2CinlineMathDigit%3An.vditor.options.preview.math.inlineDigit%2ClinkBase%3An.vditor.options.preview.markdown.linkBase%2ClinkPrefix%3An.vditor.options.preview.markdown.linkPrefix%2ClistStyle%3An.vditor.options.preview.markdown.listStyle%2Cmark%3An.vditor.options.preview.markdown.mark%2CmathBlockPreview%3An.vditor.options.preview.markdown.mathBlockPreview%2CparagraphBeginningSpace%3An.vditor.options.preview.markdown.paragraphBeginningSpace%2Csanitize%3An.vditor.options.preview.markdown.sanitize%2Ctoc%3An.vditor.options.preview.markdown.toc%7D)%2Cn.vditor.preview%3Dnew%20Pt(n.vditor)%2Cfunction(e)%7Be.element.innerHTML%3D%22%22%2Ce.element.classList.add(%22vditor%22)%2Ce.options.rtl%26%26e.element.setAttribute(%22dir%22%2C%22rtl%22)%2CU(e)%2C(0%2CV.Z)(e.options.preview.theme.current%2Ce.options.preview.theme.path)%2C%22number%22%3D%3Dtypeof%20e.options.height%3Fe.element.style.height%3De.options.height%2B%22px%22%3Ae.element.style.height%3De.options.height%2C%22number%22%3D%3Dtypeof%20e.options.minHeight%26%26(e.element.style.minHeight%3De.options.minHeight%2B%22px%22)%2C%22number%22%3D%3Dtypeof%20e.options.width%3Fe.element.style.width%3De.options.width%2B%22px%22%3Ae.element.style.width%3De.options.width%2Ce.element.appendChild(e.toolbar.element)%3Bvar%20t%3Ddocument.createElement(%22div%22)%3Bif(t.className%3D%22vditor-content%22%2C%22left%22%3D%3D%3De.options.outline.position%26%26t.appendChild(e.outline.element)%2Ct.appendChild(e.wysiwyg.element.parentElement)%2Ct.appendChild(e.sv.element)%2Ct.appendChild(e.ir.element.parentElement)%2Ct.appendChild(e.preview.element)%2Ce.toolbar.elements.devtools%26%26t.appendChild(e.devtools.element)%2C%22right%22%3D%3D%3De.options.outline.position%26%26(e.outline.element.classList.add(%22vditor-outline--right%22)%2Ct.appendChild(e.outline.element))%2Ce.upload%26%26t.appendChild(e.upload.element)%2Ce.options.resize.enable%26%26t.appendChild(e.resize.element)%2Ct.appendChild(e.hint.element)%2Ct.appendChild(e.tip.element)%2Ce.element.appendChild(t)%2Ct.addEventListener(%22click%22%2C(function()%7Bv(e%2C%5B%22subToolbar%22%5D)%7D))%2Ce.toolbar.elements.export%26%26e.element.insertAdjacentHTML(%22beforeend%22%2C%27%3Ciframe%20style%3D%22width%3A%20100%25%3Bheight%3A%200%3Bborder%3A%200%22%3E%3C%2Fiframe%3E%27)%2Cge(e%2Ce.options.mode%2CZ(e))%2Cdocument.execCommand(%22DefaultParagraphSeparator%22%2C!1%2C%22p%22)%2Cnavigator.userAgent.indexOf(%22iPhone%22)%3E-1%26%26void%200!%3D%3Dwindow.visualViewport)%7Bvar%20n%3D!1%2Cr%3Dfunction(t)%7Bn%7C%7C(n%3D!0%2CrequestAnimationFrame((function()%7Bn%3D!1%3Bvar%20t%3De.toolbar.element%3Bt.style.transform%3D%22none%22%2Ct.getBoundingClientRect().top%3C0%26%26(t.style.transform%3D%22translate(0%2C%20%22%2B-t.getBoundingClientRect().top%2B%22px)%22)%7D)))%7D%3Bwindow.visualViewport.addEventListener(%22scroll%22%2Cr)%2Cwindow.visualViewport.addEventListener(%22resize%22%2Cr)%7D%7D(n.vditor)%2Ct.after%26%26t.after()%2Ct.icon%26%26(0%2Cl.J)(t.cdn%2B%22%2Fdist%2Fjs%2Ficons%2F%22%2Bt.icon%2B%22.js%22%2C%22vditorIconScript%22)%7D))%7D%2Ct%7D(t.default)%7D)()%2Cr%3Dr.default%7D)()%7D))%3B
            `)
        $("body").append(script)
    }
    function keyy() {
        var url = window.location.href
        url = url.replace('write', 'edit')
        if (url.indexOf('admin') == -1)
            if (url.indexOf("?") != -1)
                url = url.split("?")[0]
        return url
    }

    let timeDelay = null
    let editUpdate = function (text) {
        if (!text)
            return
        //延时更新的方法
        try {
            clearTimeout(timeDelay)
        } catch (e) {
        }
        timeDelay = setTimeout(() => {
            localStorage.setItem('7051' + keyy(), text)
        }, 1500)
    }

    console.log("K", keyy())

    if (keyy() == 'https://stackedit.io/app#') {
        //处于se编辑器页面
        function Acss() {
            let css = `
                    .cledit-section {
                        background: #ffffff;
                    }
                    .editor__inner {
                        /*margin: -20px;*/
                        background: #f2f2f2;
                    }
                    .editor__inner .cledit-section {
                        font-family: 等线,Arial,'Times New Roman','Microsoft YaHei',SimHei;
                    }
                    img {
                        max-width: 360px !important;
                    }
                `
            GM_addStyle(css)
        }

        setTimeout(Acss(), 1500)
        return
    }

    console.log("halo编辑器脚本启用. ", keyy())
    const stackedit = new Stackedit()

    // Listen to StackEdit events and apply the changes to the textarea.
    stackedit.on('fileChange', (file) => {
        editUpdate(file.content.text)
    })

    let sxhI = null

    function add_direct() {
        if (sxhI != null) {
            try {
                if (Vditor) {
                    // console.log("VED", Vditor)
                    clearInterval(sxhI)
                    sxhI = null
                    setTimeout(add_direct, 500)
                }
            } catch (e) {
                // console.log("Error")
            } finally {
                return
            }
        }
        $('body').append(`
                <div style='
                right: 10px;
                bottom: 10px;
                overflow: hidden;
                z-index: 99999;
                position: fixed;
                padding:5px;
                text-align:center;'>
                <button id="sxhVE" style='background: #1a59b7;color:#ffffff;width: 70px;height: 30px;border-bottom-left-radius: 4px;border-bottom-right-radius: 4px;border-top-left-radius: 4px;border-top-right-radius: 4px;'>
                VE</button>
                <button id="sxhEd" style='background: #1a59b7;color:#ffffff;width: 70px;height: 30px;border-bottom-left-radius: 4px;border-bottom-right-radius: 4px;border-top-left-radius: 4px;border-top-right-radius: 4px;'>
                 SE</button>
                 <br/>
                 <button id="sxhCp" style='background: #1a59b7;color:#ffffff;width: 70px;height: 30px;border-bottom-left-radius: 4px;border-bottom-right-radius: 4px;border-top-left-radius: 4px;border-top-right-radius: 4px;'>
                 取出</button>
                 <button id="sxhCpF" style='background: #1a59b7;color:#ffffff;width: 70px;height: 30px;border-bottom-left-radius: 4px;border-bottom-right-radius: 4px;border-top-left-radius: 4px;border-top-right-radius: 4px;'>
                 存入</button>
                </div>`)
        $('#sxhEd').click(function () {
            // Open the iframe
            stackedit.openFile({
                name: 'Filename', // with an optional filename
                content: {
                    text: localStorage.getItem('7051' + keyy())
                }
            })
        })
        $('#sxhCp').click(function () {
            console.log("正在注入codeMirror")
            let codeM = document.querySelector('.CodeMirror').CodeMirror
            codeM.setValue(localStorage.getItem("7051" + keyy()))
        })
        $('#sxhCpF').click(function () {
            console.log("正在注入codeMirror")
            let codeM = document.querySelector('.CodeMirror').CodeMirror
            localStorage.setItem("7051" + keyy(), codeM.getValue())
        })

        //VE start
        let ved = null
        $("#sxhVE").click(() => {
            $('body').append(`<div id="sxhEditor"></div>`)
            let key = '7051' + keyy()
            ved = new Vditor('sxhEditor', {
                value: localStorage.getItem(key),
                // value: "还没有内容",
                cache: {
                    enable: true,
                    id: key,
                    after: () => {
                    }
                },
                fullscreen: {
                    index: 99999,
                },
                counter: {
                    enable: true
                },
                hint: {
                    parse: true,
                    emoji: {"+1":"👍","-1":"👎","100":"💯","1234":"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱","a":"🅰️","ab":"🆎","abc":"🔤","abcd":"🔡","Accept":"🉑","aerial_tramway":"🚡","afghanistan":"🇦🇫","airplane":"✈️","aland_islands":"🇦🇽","alarm_clock":"⏰","albania":"🇦🇱","alembic":"⚗️","algeria":"🇩🇿","alien":"👽","ambulance":"🚑","american_samoa":"🇦🇸","amphora":"🏺","anchor":"⚓️","andorra":"🇦🇩","angel":"👼","anger":"💢","angola":"🇦🇴","angry":"😠","anguilla":"🇦🇮","anguished":"😧","ant":"🐜","antarctica":"🇦🇶","antigua_barbuda":"🇦🇬","apple":"🍎","aquarius":"♒️","argentina":"🇦🇷","aries":"♈️","armenia":"🇦🇲","arrow_backward":"◀️","arrow_double_down":"⏬","arrow_double_up":"⏫","arrow_down":"⬇️","arrow_down_small":"🔽","arrow_forward":"▶️","arrow_heading_down":"⤵️","arrow_heading_up":"⤴️","arrow_left":"⬅️","arrow_lower_left":"↙️","arrow_lower_right":"↘️","arrow_right":"➡️","arrow_right_hook":"↪️","arrow_up":"⬆️","arrow_up_down":"↕️","arrow_up_small":"🔼","arrow_upper_left":"↖️","arrow_upper_right":"↗️","arrows_clockwise":"🔃","arrows_counterclockwise":"🔄","art":"🎨","articulated_lorry":"🚛","artificial_satellite":"🛰","aruba":"🇦🇼","asterisk":"*️⃣","astonished":"😲","athletic_shoe":"👟","atm":"🏧","atom_symbol":"⚛️","australia":"🇦🇺","austria":"🇦🇹","avocado":"🥑","azerbaijan":"🇦🇿","b":"🅱️","b3log":"${emojiSite}/b3log.png","baby":"👶","baby_bottle":"🍼","baby_chick":"🐤","baby_symbol":"🚼","back":"🔙","bacon":"🥓","badminton":"🏸","baggage_claim":"🛄","baguette_bread":"🥖","bahamas":"🇧🇸","bahrain":"🇧🇭","balance_scale":"⚖️","balloon":"🎈","ballot_box":"🗳","ballot_box_with_check":"☑️","bamboo":"🎍","banana":"🍌","bangbang":"‼️","bangladesh":"🇧🇩","bank":"🏦","bar_chart":"📊","barbados":"🇧🇧","barber":"💈","baseball":"⚾️","basketball":"🏀","basketball_man":"⛹","basketball_woman":"⛹️‍♀️","bat":"🦇","bath":"🛀","bathtub":"🛁","battery":"🔋","beach_umbrella":"🏖","bear":"🐻","bed":"🛏","bee":"🐝","beer":"🍺","beers":"🍻","beetle":"🐞","beginner":"🔰","belarus":"🇧🇾","belgium":"🇧🇪","belize":"🇧🇿","bell":"🔔","bellhop_bell":"🛎","benin":"🇧🇯","bento":"🍱","bermuda":"🇧🇲","bhutan":"🇧🇹","bicyclist":"🚴","bike":"🚲","biking_man":"🚴","biking_woman":"🚴‍♀","bikini":"👙","biohazard":"☣️","bird":"🐦","birthday":"🎂","black_circle":"⚫️","black_flag":"🏴","black_heart":"🖤","black_joker":"🃏","black_large_square":"⬛️","black_medium_small_square":"◾️","black_medium_square":"◼️","black_nib":"✒️","black_small_square":"▪️","black_square_button":"🔲","blonde_man":"👱","blonde_woman":"👱‍♀","blossom":"🌼","blowfish":"🐡","blue_book":"📘","blue_car":"🚙","blue_heart":"💙","blush":"😊","boar":"🐗","boat":"⛵️","bolivia":"🇧🇴","bomb":"💣","book":"📖","bookmark":"🔖","bookmark_tabs":"📑","books":"📚","boom":"💥","boot":"👢","bosnia_herzegovina":"🇧🇦","botswana":"🇧🇼","bouquet":"💐","bow":"🙇","bow_and_arrow":"🏹","bowing_man":"🙇","bowing_woman":"🙇‍♀","bowling":"🎳","boxing_glove":"🥊","boy":"👦","brazil":"🇧🇷","bread":"🍞","bride_with_veil":"👰","bridge_at_night":"🌉","briefcase":"💼","british_indian_ocean_territory":"🇮🇴","british_virgin_islands":"🇻🇬","broken_heart":"💔","brunei":"🇧🇳","bug":"🐛","building_construction":"🏗","bulb":"💡","bulgaria":"🇧🇬","bullettrain_front":"🚅","bullettrain_side":"🚄","burkina_faso":"🇧🇫","burrito":"🌯","burundi":"🇧🇮","bus":"🚌","business_suit_levitating":"🕴","busstop":"🚏","bust_in_silhouette":"👤","busts_in_silhouette":"👥","butterfly":"🦋","cactus":"🌵","cake":"🍰","calendar":"📆","call_me_hand":"🤙","calling":"📲","cambodia":"🇰🇭","camel":"🐫","camera":"📷","camera_flash":"📸","cameroon":"🇨🇲","camping":"🏕","canada":"🇨🇦","canary_islands":"🇮🇨","cancer":"♋️","candle":"🕯","candy":"🍬","canoe":"🛶","cape_verde":"🇨🇻","capital_abcd":"🔠","capricorn":"♑️","car":"🚗","card_file_box":"🗃","card_index":"📇","card_index_dividers":"🗂","caribbean_netherlands":"🇧🇶","carousel_horse":"🎠","carrot":"🥕","cat":"🐱","cat2":"🐈","cayman_islands":"🇰🇾","cd":"💿","central_african_republic":"🇨🇫","chad":"🇹🇩","chainbook":"${emojiSite}/chainbook.png","chains":"⛓","champagne":"🍾","chart":"💹","chart_with_downwards_trend":"📉","chart_with_upwards_trend":"📈","checkered_flag":"🏁","cheese":"🧀","cherries":"🍒","cherry_blossom":"🌸","chestnut":"🌰","chicken":"🐔","children_crossing":"🚸","chile":"🇨🇱","chipmunk":"🐿","chocolate_bar":"🍫","christmas_island":"🇨🇽","christmas_tree":"🎄","church":"⛪️","cinema":"🎦","circus_tent":"🎪","city_sunrise":"🌇","city_sunset":"🌆","cityscape":"🏙","cl":"🆑","clamp":"🗜","clap":"👏","clapper":"🎬","classical_building":"🏛","clinking_glasses":"🥂","clipboard":"📋","clock1":"🕐","clock10":"🕙","clock1030":"🕥","clock11":"🕚","clock1130":"🕦","clock12":"🕛","clock1230":"🕧","clock130":"🕜","clock2":"🕑","clock230":"🕝","clock3":"🕒","clock330":"🕞","clock4":"🕓","clock430":"🕟","clock5":"🕔","clock530":"🕠","clock6":"🕕","clock630":"🕡","clock7":"🕖","clock730":"🕢","clock8":"🕗","clock830":"🕣","clock9":"🕘","clock930":"🕤","closed_book":"📕","closed_lock_with_key":"🔐","closed_umbrella":"🌂","cloud":"☁️","cloud_with_lightning":"🌩","cloud_with_lightning_and_rain":"⛈","cloud_with_rain":"🌧","cloud_with_snow":"🌨","clown_face":"🤡","clubs":"♣️","cn":"🇨🇳","cocktail":"🍸","cocos_islands":"🇨🇨","coffee":"☕️","coffin":"⚰️","cold_sweat":"😰","collision":"💥","colombia":"🇨🇴","comet":"☄","comoros":"🇰🇲","computer":"💻","computer_mouse":"🖱","confetti_ball":"🎊","confounded":"😖","confused":"😕","congo_brazzaville":"🇨🇬","congo_kinshasa":"🇨🇩","congratulations":"㊗️","construction":"🚧","construction_worker":"👷","construction_worker_man":"👷","construction_worker_woman":"👷‍♀","control_knobs":"🎛","convenience_store":"🏪","cook_islands":"🇨🇰","cookie":"🍪","cool":"🆒","cop":"👮","copyright":"©️","corn":"🌽","costa_rica":"🇨🇷","cote_divoire":"🇨🇮","couch_and_lamp":"🛋","couple":"👫","couple_with_heart":"💑","couple_with_heart_man_man":"👨‍❤️‍👨","couple_with_heart_woman_man":"💑","couple_with_heart_woman_woman":"👩‍❤️‍👩","couplekiss_man_man":"👨‍❤️‍💋‍👨","couplekiss_man_woman":"💏","couplekiss_woman_woman":"👩‍❤️‍💋‍👩","cow":"🐮","cow2":"🐄","cowboy_hat_face":"🤠","crab":"🦀","crayon":"🖍","credit_card":"💳","crescent_moon":"🌙","cricket":"🏏","croatia":"🇭🇷","crocodile":"🐊","croissant":"🥐","crossed_fingers":"🤞","crossed_flags":"🎌","crossed_swords":"⚔️","crown":"👑","cry":"😢","crying_cat_face":"😿","crystal_ball":"🔮","cuba":"🇨🇺","cucumber":"🥒","cupid":"💘","curacao":"🇨🇼","curly_loop":"➰","currency_exchange":"💱","curry":"🍛","custard":"🍮","customs":"🛃","cyclone":"🌀","cyprus":"🇨🇾","czech_republic":"🇨🇿","dagger":"🗡","dancer":"💃","dancers":"👯","dancing_men":"👯‍♂","dancing_women":"👯","dango":"🍡","dark_sunglasses":"🕶","dart":"🎯","dash":"💨","date":"📅","de":"🇩🇪","deciduous_tree":"🌳","deer":"🦌","denmark":"🇩🇰","department_store":"🏬","derelict_house":"🏚","desert":"🏜","desert_island":"🏝","desktop_computer":"🖥","detective":"🕵","diamond_shape_with_a_dot_inside":"💠","diamonds":"♦️","disappointed":"😞","disappointed_relieved":"😥","dizzy":"💫","dizzy_face":"😵","djibouti":"🇩🇯","do_not_litter":"🚯","dog":"🐶","dog2":"🐕","doge":"${emojiSite}/doge.png","dollar":"💵","dolls":"🎎","dolphin":"🐬","dominica":"🇩🇲","dominican_republic":"🇩🇴","door":"🚪","doughnut":"🍩","dove":"🕊","dragon":"🐉","dragon_face":"🐲","dress":"👗","dromedary_camel":"🐪","drooling_face":"🤤","droplet":"💧","drum":"🥁","duck":"🦆","dvd":"📀","e-mail":"📧","eagle":"🦅","ear":"👂","ear_of_rice":"🌾","earth_africa":"🌍","earth_americas":"🌎","earth_asia":"🌏","ecuador":"🇪🇨","egg":"🥚","eggplant":"🍆","egypt":"🇪🇬","eight":"8️⃣","eight_pointed_black_star":"✴️","eight_spoked_asterisk":"✳️","el_salvador":"🇸🇻","electric_plug":"🔌","elephant":"🐘","email":"✉️","end":"🔚","envelope":"✉️","envelope_with_arrow":"📩","equatorial_guinea":"🇬🇶","eritrea":"🇪🇷","es":"🇪🇸","estonia":"🇪🇪","ethiopia":"🇪🇹","eu":"🇪🇺","euro":"💶","european_castle":"🏰","european_post_office":"🏤","european_union":"🇪🇺","evergreen_tree":"🌲","exclamation":"❗️","expressionless":"😑","eye":"👁","eye_speech_bubble":"👁‍🗨","eyeglasses":"👓","eyes":"👀","face_with_head_bandage":"🤕","face_with_thermometer":"🤒","facepunch":"👊","factory":"🏭","falkland_islands":"🇫🇰","fallen_leaf":"🍂","family":"👪","family_man_boy":"👨‍👦","family_man_boy_boy":"👨‍👦‍👦","family_man_girl":"👨‍👧","family_man_girl_boy":"👨‍👧‍👦","family_man_girl_girl":"👨‍👧‍👧","family_man_man_boy":"👨‍👨‍👦","family_man_man_boy_boy":"👨‍👨‍👦‍👦","family_man_man_girl":"👨‍👨‍👧","family_man_man_girl_boy":"👨‍👨‍👧‍👦","family_man_man_girl_girl":"👨‍👨‍👧‍👧","family_man_woman_boy":"👪","family_man_woman_boy_boy":"👨‍👩‍👦‍👦","family_man_woman_girl":"👨‍👩‍👧","family_man_woman_girl_boy":"👨‍👩‍👧‍👦","family_man_woman_girl_girl":"👨‍👩‍👧‍👧","family_woman_boy":"👩‍👦","family_woman_boy_boy":"👩‍👦‍👦","family_woman_girl":"👩‍👧","family_woman_girl_boy":"👩‍👧‍👦","family_woman_girl_girl":"👩‍👧‍👧","family_woman_woman_boy":"👩‍👩‍👦","family_woman_woman_boy_boy":"👩‍👩‍👦‍👦","family_woman_woman_girl":"👩‍👩‍👧","family_woman_woman_girl_boy":"👩‍👩‍👧‍👦","family_woman_woman_girl_girl":"👩‍👩‍👧‍👧","faroe_islands":"🇫🇴","fast_forward":"⏩","fax":"📠","fearful":"😨","feet":"🐾","female_detective":"🕵️‍♀️","ferris_wheel":"🎡","ferry":"⛴","field_hockey":"🏑","fiji":"🇫🇯","file_cabinet":"🗄","file_folder":"📁","film_projector":"📽","film_strip":"🎞","finland":"🇫🇮","fire":"🔥","fire_engine":"🚒","fireworks":"🎆","first_quarter_moon":"🌓","first_quarter_moon_with_face":"🌛","fish":"🐟","fish_cake":"🍥","fishing_pole_and_fish":"🎣","fist":"✊","fist_left":"🤛","fist_oncoming":"👊","fist_raised":"✊","fist_right":"🤜","five":"5️⃣","flags":"🎏","flashlight":"🔦","fleur_de_lis":"⚜️","flight_arrival":"🛬","flight_departure":"🛫","flipper":"🐬","floppy_disk":"💾","flower_playing_cards":"🎴","flushed":"😳","fog":"🌫","foggy":"🌁","football":"🏈","footprints":"👣","fork_and_knife":"🍴","fountain":"⛲️","fountain_pen":"🖋","four":"4️⃣","four_leaf_clover":"🍀","fox_face":"🦊","fr":"🇫🇷","framed_picture":"🖼","free":"🆓","french_guiana":"🇬🇫","french_polynesia":"🇵🇫","french_southern_territories":"🇹🇫","fried_egg":"🍳","fried_shrimp":"🍤","fries":"🍟","frog":"🐸","frowning":"😦","frowning_face":"☹️","frowning_man":"🙍‍♂","frowning_woman":"🙍","fu":"🖕","fuelpump":"⛽️","full_moon":"🌕","full_moon_with_face":"🌝","funeral_urn":"⚱️","gabon":"🇬🇦","gambia":"🇬🇲","game_die":"🎲","gb":"🇬🇧","gear":"⚙️","gem":"💎","gemini":"♊️","georgia":"🇬🇪","ghana":"🇬🇭","ghost":"👻","gibraltar":"🇬🇮","gift":"🎁","gift_heart":"💝","girl":"👧","globe_with_meridians":"🌐","goal_net":"🥅","goat":"🐐","golf":"⛳️","golfing_man":"🏌","golfing_woman":"🏌️‍♀️","gorilla":"🦍","grapes":"🍇","greece":"🇬🇷","green_apple":"🍏","green_book":"📗","green_heart":"💚","green_salad":"🥗","greenland":"🇬🇱","grenada":"🇬🇩","grey_exclamation":"❕","grey_question":"❔","grimacing":"😬","grin":"😁","grinning":"😀","guadeloupe":"🇬🇵","guam":"🇬🇺","guardsman":"💂","guardswoman":"💂‍♀","guatemala":"🇬🇹","guernsey":"🇬🇬","guinea":"🇬🇳","guinea_bissau":"🇬🇼","guitar":"🎸","gun":"🔫","guyana":"🇬🇾","hacpai":"${emojiSite}/hacpai.png","haircut":"💇","haircut_man":"💇‍♂","haircut_woman":"💇","haiti":"🇭🇹","hamburger":"🍔","hammer":"🔨","hammer_and_pick":"⚒","hammer_and_wrench":"🛠","hamster":"🐹","hand":"✋","handbag":"👜","handshake":"🤝","hankey":"💩","hash":"#️⃣","hatched_chick":"🐥","hatching_chick":"🐣","headphones":"🎧","hear_no_evil":"🙉","heart":"❤️","heart_decoration":"💟","heart_eyes":"😍","heart_eyes_cat":"😻","heartbeat":"💓","heartpulse":"💗","hearts":"♥️","heavy_check_mark":"✔️","heavy_division_sign":"➗","heavy_dollar_sign":"💲","heavy_exclamation_mark":"❗️","heavy_heart_exclamation":"❣️","heavy_minus_sign":"➖","heavy_multiplication_x":"✖️","heavy_plus_sign":"➕","helicopter":"🚁","herb":"🌿","hibiscus":"🌺","high_brightness":"🔆","high_heel":"👠","hocho":"🔪","hole":"🕳","honduras":"🇭🇳","honey_pot":"🍯","honeybee":"🐝","hong_kong":"🇭🇰","horse":"🐴","horse_racing":"🏇","hospital":"🏥","hot_pepper":"🌶","hotdog":"🌭","hotel":"🏨","hotsprings":"♨️","hourglass":"⌛️","hourglass_flowing_sand":"⏳","house":"🏠","house_with_garden":"🏡","houses":"🏘","huaji":"${emojiSite}/huaji.gif","hugs":"🤗","hungary":"🇭🇺","hushed":"😯","ice_cream":"🍨","ice_hockey":"🏒","ice_skate":"⛸","icecream":"🍦","iceland":"🇮🇸","id":"🆔","ideograph_advantage":"🉐","imp":"👿","inbox_tray":"📥","incoming_envelope":"📨","india":"🇮🇳","indonesia":"🇮🇩","information_desk_person":"💁","information_source":"ℹ️","innocent":"😇","interrobang":"⁉️","iphone":"📱","iran":"🇮🇷","iraq":"🇮🇶","ireland":"🇮🇪","isle_of_man":"🇮🇲","israel":"🇮🇱","it":"🇮🇹","izakaya_lantern":"🏮","jack_o_lantern":"🎃","jamaica":"🇯🇲","japan":"🗾","japanese_castle":"🏯","japanese_goblin":"👺","japanese_ogre":"👹","jeans":"👖","jersey":"🇯🇪","jordan":"🇯🇴","joy":"😂","joy_cat":"😹","joystick":"🕹","jp":"🇯🇵","kaaba":"🕋","kazakhstan":"🇰🇿","kenya":"🇰🇪","key":"🔑","keyboard":"⌨️","keycap_ten":"🔟","kick_scooter":"🛴","kimono":"👘","kiribati":"🇰🇮","kiss":"💋","kissing":"😗","kissing_cat":"😽","kissing_closed_eyes":"😚","kissing_heart":"😘","kissing_smiling_eyes":"😙","kiwi_fruit":"🥝","knife":"🔪","koala":"🐨","koko":"🈁","kosovo":"🇽🇰","kr":"🇰🇷","kuwait":"🇰🇼","kyrgyzstan":"🇰🇬","label":"🏷","lantern":"🏮","laos":"🇱🇦","large_blue_circle":"🔵","large_blue_diamond":"🔷","large_orange_diamond":"🔶","last_quarter_moon":"🌗","last_quarter_moon_with_face":"🌜","latin_cross":"✝️","latke":"${emojiSite}/latke.png","latvia":"🇱🇻","laughing":"😆","leaves":"🍃","lebanon":"🇱🇧","ledger":"📒","left_luggage":"🛅","left_right_arrow":"↔️","leftwards_arrow_with_hook":"↩️","lemon":"🍋","leo":"♌️","leopard":"🐆","lesotho":"🇱🇸","level_slider":"🎚","liandi":"${emojiSite}/liandi.png","liberia":"🇱🇷","libra":"♎️","libya":"🇱🇾","liechtenstein":"🇱🇮","light_rail":"🚈","link":"🔗","lion":"🦁","lips":"👄","lipstick":"💄","lithuania":"🇱🇹","lizard":"🦎","lock":"🔒","lock_with_ink_pen":"🔏","lollipop":"🍭","loop":"➿","loud_sound":"🔊","loudspeaker":"📢","love_hotel":"🏩","love_letter":"💌","low_brightness":"🔅","lute":"${emojiSite}/lute.png","luxembourg":"🇱🇺","lying_face":"🤥","m":"Ⓜ️","macau":"🇲🇴","macedonia":"🇲🇰","madagascar":"🇲🇬","mag":"🔍","mag_right":"🔎","mahjong":"🀄️","mailbox":"📫","mailbox_closed":"📪","mailbox_with_mail":"📬","mailbox_with_no_mail":"📭","malawi":"🇲🇼","malaysia":"🇲🇾","maldives":"🇲🇻","male_detective":"🕵","mali":"🇲🇱","malta":"🇲🇹","man":"👨","man_artist":"👨‍🎨","man_astronaut":"👨‍🚀","man_cartwheeling":"🤸‍♂","man_cook":"👨‍🍳","man_dancing":"🕺","man_facepalming":"🤦‍♂","man_factory_worker":"👨‍🏭","man_farmer":"👨‍🌾","man_firefighter":"👨‍🚒","man_health_worker":"👨‍⚕","man_in_tuxedo":"🤵","man_judge":"👨‍⚖","man_juggling":"🤹‍♂","man_mechanic":"👨‍🔧","man_office_worker":"👨‍💼","man_pilot":"👨‍✈","man_playing_handball":"🤾‍♂","man_playing_water_polo":"🤽‍♂","man_scientist":"👨‍🔬","man_shrugging":"🤷‍♂","man_singer":"👨‍🎤","man_student":"👨‍🎓","man_teacher":"👨‍🏫","man_technologist":"👨‍💻","man_with_gua_pi_mao":"👲","man_with_turban":"👳","mandarin":"🍊","mans_shoe":"👞","mantelpiece_clock":"🕰","maple_leaf":"🍁","marshall_islands":"🇲🇭","martial_arts_uniform":"🥋","martinique":"🇲🇶","mask":"😷","massage":"💆","massage_man":"💆‍♂","massage_woman":"💆","mauritania":"🇲🇷","mauritius":"🇲🇺","mayotte":"🇾🇹","meat_on_bone":"🍖","medal_military":"🎖","medal_sports":"🏅","mega":"📣","melon":"🍈","memo":"📝","men_wrestling":"🤼‍♂","menorah":"🕎","mens":"🚹","metal":"🤘","metro":"🚇","mexico":"🇲🇽","micronesia":"🇫🇲","microphone":"🎤","microscope":"🔬","middle_finger":"🖕","milk_glass":"🥛","milky_way":"🌌","minibus":"🚐","minidisc":"💽","mobile_phone_off":"📴","moldova":"🇲🇩","monaco":"🇲🇨","money_mouth_face":"🤑","money_with_wings":"💸","moneybag":"💰","mongolia":"🇲🇳","monkey":"🐒","monkey_face":"🐵","monorail":"🚝","montenegro":"🇲🇪","montserrat":"🇲🇸","moon":"🌔","morocco":"🇲🇦","mortar_board":"🎓","mosque":"🕌","motor_boat":"🛥","motor_scooter":"🛵","motorcycle":"🏍","motorway":"🛣","mount_fuji":"🗻","mountain":"⛰","mountain_bicyclist":"🚵","mountain_biking_man":"🚵","mountain_biking_woman":"🚵‍♀","mountain_cableway":"🚠","mountain_railway":"🚞","mountain_snow":"🏔","mouse":"🐭","mouse2":"🐁","movie_camera":"🎥","moyai":"🗿","mozambique":"🇲🇿","mrs_claus":"🤶","muscle":"💪","mushroom":"🍄","musical_keyboard":"🎹","musical_note":"🎵","musical_score":"🎼","mute":"🔇","myanmar":"🇲🇲","nail_care":"💅","name_badge":"📛","namibia":"🇳🇦","national_park":"🏞","nauru":"🇳🇷","nauseated_face":"🤢","necktie":"👔","negative_squared_cross_mark":"❎","nepal":"🇳🇵","nerd_face":"🤓","netherlands":"🇳🇱","neutral_face":"😐","new":"🆕","new_caledonia":"🇳🇨","new_moon":"🌑","new_moon_with_face":"🌚","new_zealand":"🇳🇿","newspaper":"📰","newspaper_roll":"🗞","next_track_button":"⏭","ng":"🆖","ng_man":"🙅‍♂","ng_woman":"🙅","nicaragua":"🇳🇮","niger":"🇳🇪","nigeria":"🇳🇬","night_with_stars":"🌃","nine":"9️⃣","niue":"🇳🇺","no_bell":"🔕","no_bicycles":"🚳","no_entry":"⛔️","no_entry_sign":"🚫","no_good":"🙅","no_good_man":"🙅‍♂","no_good_woman":"🙅","no_mobile_phones":"📵","no_mouth":"😶","no_pedestrians":"🚷","no_smoking":"🚭","non-potable_water":"🚱","norfolk_island":"🇳🇫","north_korea":"🇰🇵","northern_mariana_islands":"🇲🇵","norway":"🇳🇴","nose":"👃","notebook":"📓","notebook_with_decorative_cover":"📔","notes":"🎶","nut_and_bolt":"🔩","o":"⭕️","o2":"🅾️","ocean":"🌊","octocat":"${emojiSite}/octocat.png","octopus":"🐙","oden":"🍢","office":"🏢","oil_drum":"🛢","ok":"🆗","ok_hand":"👌","ok_man":"🙆‍♂","ok_woman":"🙆","old_key":"🗝","older_man":"👴","older_woman":"👵","om":"🕉","oman":"🇴🇲","on":"🔛","oncoming_automobile":"🚘","oncoming_bus":"🚍","oncoming_police_car":"🚔","oncoming_taxi":"🚖","one":"1️⃣","open_book":"📖","open_file_folder":"📂","open_hands":"👐","open_mouth":"😮","open_umbrella":"☂️","ophiuchus":"⛎","orange":"🍊","orange_book":"📙","orthodox_cross":"☦️","outbox_tray":"📤","owl":"🦉","ox":"🐂","package":"📦","page_facing_up":"📄","page_with_curl":"📃","pager":"📟","paintbrush":"🖌","pakistan":"🇵🇰","palau":"🇵🇼","palestinian_territories":"🇵🇸","palm_tree":"🌴","panama":"🇵🇦","pancakes":"🥞","panda_face":"🐼","paperclip":"📎","paperclips":"🖇","papua_new_guinea":"🇵🇬","paraguay":"🇵🇾","parasol_on_ground":"⛱","parking":"🅿️","part_alternation_mark":"〽️","partly_sunny":"⛅️","passenger_ship":"🛳","passport_control":"🛂","pause_button":"⏸","paw_prints":"🐾","peace_symbol":"☮️","peach":"🍑","peanuts":"🥜","pear":"🍐","pen":"🖊","pencil":"📝","pencil2":"✏️","penguin":"🐧","pensive":"😔","performing_arts":"🎭","persevere":"😣","person_fencing":"🤺","person_frowning":"🙍","person_with_blond_hair":"👱","person_with_pouting_face":"🙎","peru":"🇵🇪","philippines":"🇵🇭","phone":"☎️","pick":"⛏","pig":"🐷","pig2":"🐖","pig_nose":"🐽","pill":"💊","pineapple":"🍍","ping_pong":"🏓","pipe":"${emojiSite}/pipe.png","pisces":"♓️","pitcairn_islands":"🇵🇳","pizza":"🍕","place_of_worship":"🛐","plate_with_cutlery":"🍽","play_or_pause_button":"⏯","point_down":"👇","point_left":"👈","point_right":"👉","point_up":"☝️","point_up_2":"👆","poland":"🇵🇱","police_car":"🚓","policeman":"👮","policewoman":"👮‍♀","poodle":"🐩","poop":"💩","popcorn":"🍿","portugal":"🇵🇹","post_office":"🏣","postal_horn":"📯","postbox":"📮","potable_water":"🚰","potato":"🥔","pouch":"👝","poultry_leg":"🍗","pound":"💷","pout":"😡","pouting_cat":"😾","pouting_man":"🙎‍♂","pouting_woman":"🙎","pray":"🙏","prayer_beads":"📿","pregnant_woman":"🤰","previous_track_button":"⏮","prince":"🤴","princess":"👸","printer":"🖨","puerto_rico":"🇵🇷","punch":"👊","purple_heart":"💜","purse":"👛","pushpin":"📌","put_litter_in_its_place":"🚮","qatar":"🇶🇦","question":"❓","rabbit":"🐰","rabbit2":"🐇","racehorse":"🐎","racing_car":"🏎","radio":"📻","radio_button":"🔘","radioactive":"☢️","rage":"😡","railway_car":"🚃","railway_track":"🛤","rainbow":"🌈","rainbow_flag":"🏳️‍🌈","raised_back_of_hand":"🤚","raised_hand":"✋","raised_hand_with_fingers_splayed":"🖐","raised_hands":"🙌","raising_hand":"🙋","raising_hand_man":"🙋‍♂","raising_hand_woman":"🙋","ram":"🐏","ramen":"🍜","rat":"🐀","record_button":"⏺","recycle":"♻️","red_car":"🚗","red_circle":"🔴","registered":"®️","relaxed":"☺️","relieved":"😌","reminder_ribbon":"🎗","repeat":"🔁","repeat_one":"🔂","rescue_worker_helmet":"⛑","restroom":"🚻","reunion":"🇷🇪","revolving_hearts":"💞","rewind":"⏪","rhinoceros":"🦏","ribbon":"🎀","rice":"🍚","rice_ball":"🍙","rice_cracker":"🍘","rice_scene":"🎑","right_anger_bubble":"🗯","ring":"💍","robot":"🤖","rocket":"🚀","rofl":"🤣","roll_eyes":"🙄","roller_coaster":"🎢","romania":"🇷🇴","rooster":"🐓","rose":"🌹","rosette":"🏵","rotating_light":"🚨","round_pushpin":"📍","rowboat":"🚣","rowing_man":"🚣","rowing_woman":"🚣‍♀","ru":"🇷🇺","rugby_football":"🏉","runner":"🏃","running":"🏃","running_man":"🏃","running_shirt_with_sash":"🎽","running_woman":"🏃‍♀","rwanda":"🇷🇼","sa":"🈂️","sagittarius":"♐️","sailboat":"⛵️","sake":"🍶","samoa":"🇼🇸","san_marino":"🇸🇲","sandal":"👡","santa":"🎅","sao_tome_principe":"🇸🇹","sassy_man":"💁‍♂","sassy_woman":"💁","satellite":"📡","satisfied":"😆","saudi_arabia":"🇸🇦","saxophone":"🎷","school":"🏫","school_satchel":"🎒","scissors":"✂️","scorpion":"🦂","scorpius":"♏️","scream":"😱","scream_cat":"🙀","scroll":"📜","seat":"💺","secret":"㊙️","see_no_evil":"🙈","seedling":"🌱","selfie":"🤳","senegal":"🇸🇳","serbia":"🇷🇸","seven":"7️⃣","seychelles":"🇸🇨","shallow_pan_of_food":"🥘","shamrock":"☘️","shark":"🦈","shaved_ice":"🍧","sheep":"🐑","shell":"🐚","shield":"🛡","shinto_shrine":"⛩","ship":"🚢","shirt":"👕","shit":"💩","shoe":"👞","shopping":"🛍","shopping_cart":"🛒","shower":"🚿","shrimp":"🦐","sierra_leone":"🇸🇱","signal_strength":"📶","singapore":"🇸🇬","sint_maarten":"🇸🇽","siyuan":"${emojiSite}/siyuan.svg","six":"6️⃣","six_pointed_star":"🔯","ski":"🎿","skier":"⛷","skull":"💀","skull_and_crossbones":"☠️","sleeping":"😴","sleeping_bed":"🛌","sleepy":"😪","slightly_frowning_face":"🙁","slightly_smiling_face":"🙂","slot_machine":"🎰","slovakia":"🇸🇰","slovenia":"🇸🇮","small_airplane":"🛩","small_blue_diamond":"🔹","small_orange_diamond":"🔸","small_red_triangle":"🔺","small_red_triangle_down":"🔻","smile":"😄","smile_cat":"😸","smiley":"😃","smiley_cat":"😺","smiling_imp":"😈","smirk":"😏","smirk_cat":"😼","smoking":"🚬","snail":"🐌","snake":"🐍","sneezing_face":"🤧","snowboarder":"🏂","snowflake":"❄️","snowman":"⛄️","snowman_with_snow":"☃️","sob":"😭","soccer":"⚽️","solo":"${emojiSite}/solo.png","solomon_islands":"🇸🇧","somalia":"🇸🇴","soon":"🔜","sos":"🆘","sound":"🔉","south_africa":"🇿🇦","south_georgia_south_sandwich_islands":"🇬🇸","south_sudan":"🇸🇸","space_invader":"👾","spades":"♠️","spaghetti":"🍝","sparkle":"❇️","sparkler":"🎇","sparkles":"✨","sparkling_heart":"💖","speak_no_evil":"🙊","speaker":"🔈","speaking_head":"🗣","speech_balloon":"💬","speedboat":"🚤","spider":"🕷","spider_web":"🕸","spiral_calendar":"🗓","spiral_notepad":"🗒","spoon":"🥄","squid":"🦑","sri_lanka":"🇱🇰","st_barthelemy":"🇧🇱","st_helena":"🇸🇭","st_kitts_nevis":"🇰🇳","st_lucia":"🇱🇨","st_pierre_miquelon":"🇵🇲","st_vincent_grenadines":"🇻🇨","stadium":"🏟","star":"⭐️","star2":"🌟","star_and_crescent":"☪️","star_of_david":"✡️","stars":"🌠","station":"🚉","statue_of_liberty":"🗽","steam_locomotive":"🚂","stew":"🍲","stop_button":"⏹","stop_sign":"🛑","stopwatch":"⏱","straight_ruler":"📏","strawberry":"🍓","stuck_out_tongue":"😛","stuck_out_tongue_closed_eyes":"😝","stuck_out_tongue_winking_eye":"😜","studio_microphone":"🎙","stuffed_flatbread":"🥙","sudan":"🇸🇩","sun_behind_large_cloud":"🌥","sun_behind_rain_cloud":"🌦","sun_behind_small_cloud":"🌤","sun_with_face":"🌞","sunflower":"🌻","sunglasses":"😎","sunny":"☀️","sunrise":"🌅","sunrise_over_mountains":"🌄","surfer":"🏄","surfing_man":"🏄","surfing_woman":"🏄‍♀","suriname":"🇸🇷","sushi":"🍣","suspension_railway":"🚟","swaziland":"🇸🇿","sweat":"😓","sweat_drops":"💦","sweat_smile":"😅","sweden":"🇸🇪","sweet_potato":"🍠","swimmer":"🏊","swimming_man":"🏊","swimming_woman":"🏊‍♀","switzerland":"🇨🇭","sym":"${emojiSite}/sym.png","symbols":"🔣","synagogue":"🕍","syria":"🇸🇾","syringe":"💉","taco":"🌮","tada":"🎉","taiwan":"🇹🇼","tajikistan":"🇹🇯","tanabata_tree":"🎋","tangerine":"🍊","tanzania":"🇹🇿","taurus":"♉️","taxi":"🚕","tea":"🍵","telephone":"☎️","telephone_receiver":"📞","telescope":"🔭","tennis":"🎾","tent":"⛺️","thailand":"🇹🇭","thermometer":"🌡","thinking":"🤔","thought_balloon":"💭","three":"3️⃣","thumbsdown":"👎","thumbsup":"👍","ticket":"🎫","tickets":"🎟","tiger":"🐯","tiger2":"🐅","timer_clock":"⏲","timor_leste":"🇹🇱","tipping_hand_man":"💁‍♂","tipping_hand_woman":"💁","tired_face":"😫","tm":"™️","togo":"🇹🇬","toilet":"🚽","tokelau":"🇹🇰","tokyo_tower":"🗼","tomato":"🍅","tonga":"🇹🇴","tongue":"👅","top":"🔝","tophat":"🎩","tornado":"🌪","tr":"🇹🇷","trackball":"🖲","tractor":"🚜","traffic_light":"🚥","train":"🚋","train2":"🚆","tram":"🚊","triangular_flag_on_post":"🚩","triangular_ruler":"📐","trident":"🔱","trinidad_tobago":"🇹🇹","triumph":"😤","trolleybus":"🚎","trollface":"${emojiSite}/trollface.png","trophy":"🏆","tropical_drink":"🍹","tropical_fish":"🐠","truck":"🚚","trumpet":"🎺","tshirt":"👕","tulip":"🌷","tumbler_glass":"🥃","tunisia":"🇹🇳","turkey":"🦃","turkmenistan":"🇹🇲","turks_caicos_islands":"🇹🇨","turtle":"🐢","tuvalu":"🇹🇻","tv":"📺","twisted_rightwards_arrows":"🔀","two":"2️⃣","two_hearts":"💕","two_men_holding_hands":"👬","two_women_holding_hands":"👭","u5272":"🈹","u5408":"🈴","u55b6":"🈺","u6307":"🈯️","u6708":"🈷️","u6709":"🈶","u6e80":"🈵","u7121":"🈚️","u7533":"🈸","u7981":"🈲","u7a7a":"🈳","uganda":"🇺🇬","uk":"🇬🇧","ukraine":"🇺🇦","umbrella":"☔️","unamused":"😒","underage":"🔞","unicorn":"🦄","united_arab_emirates":"🇦🇪","unlock":"🔓","up":"🆙","upside_down_face":"🙃","uruguay":"🇺🇾","us":"🇺🇸","us_virgin_islands":"🇻🇮","uzbekistan":"🇺🇿","v":"✌️","vanuatu":"🇻🇺","vatican_city":"🇻🇦","vditor":"${emojiSite}/vditor.png","venezuela":"🇻🇪","vertical_traffic_light":"🚦","vhs":"📼","vibration_mode":"📳","video_camera":"📹","video_game":"🎮","vietnam":"🇻🇳","violin":"🎻","virgo":"♍️","volcano":"🌋","volleyball":"🏐","vs":"🆚","vulcan_salute":"🖖","walking":"🚶","walking_man":"🚶","walking_woman":"🚶‍♀","wallis_futuna":"🇼🇫","waning_crescent_moon":"🌘","waning_gibbous_moon":"🌖","warning":"⚠️","wastebasket":"🗑","watch":"⌚️","water_buffalo":"🐃","watermelon":"🍉","wave":"👋","wavy_dash":"〰️","waxing_crescent_moon":"🌒","waxing_gibbous_moon":"🌔","wc":"🚾","weary":"😩","wedding":"💒","weight_lifting_man":"🏋","weight_lifting_woman":"🏋️‍♀️","western_sahara":"🇪🇭","whale":"🐳","whale2":"🐋","wheel_of_dharma":"☸️","wheelchair":"♿️","white_check_mark":"✅","white_circle":"⚪️","white_flag":"🏳️","white_flower":"💮","white_large_square":"⬜️","white_medium_small_square":"◽️","white_medium_square":"◻️","white_small_square":"▫️","white_square_button":"🔳","wide":"${emojiSite}/wide.png","wilted_flower":"🥀","wind_chime":"🎐","wind_face":"🌬","wine_glass":"🍷","wink":"😉","wolf":"🐺","woman":"👩","woman_artist":"👩‍🎨","woman_astronaut":"👩‍🚀","woman_cartwheeling":"🤸‍♀","woman_cook":"👩‍🍳","woman_facepalming":"🤦‍♀","woman_factory_worker":"👩‍🏭","woman_farmer":"👩‍🌾","woman_firefighter":"👩‍🚒","woman_health_worker":"👩‍⚕","woman_judge":"👩‍⚖","woman_juggling":"🤹‍♀","woman_mechanic":"👩‍🔧","woman_office_worker":"👩‍💼","woman_pilot":"👩‍✈","woman_playing_handball":"🤾‍♀","woman_playing_water_polo":"🤽‍♀","woman_scientist":"👩‍🔬","woman_shrugging":"🤷‍♀","woman_singer":"👩‍🎤","woman_student":"👩‍🎓","woman_teacher":"👩‍🏫","woman_technologist":"👩‍💻","woman_with_turban":"👳‍♀","womans_clothes":"👚","womans_hat":"👒","women_wrestling":"🤼‍♀","womens":"🚺","world_map":"🗺","worried":"😟","wrench":"🔧","writing_hand":"✍️","wulian":"${emojiSite}/wulian.png","x":"❌","yellow_heart":"💛","yemen":"🇾🇪","yen":"💴","yin_yang":"☯️","yum":"😋","zambia":"🇿🇲","zap":"⚡️","zero":"0️⃣","zimbabwe":"🇿🇼","zipper_mouth_face":"🤐","zzz":"💤",}
                    ,
                },
                typewriterMode: true,
                tab: "\t",
                placeholder: "halo文章编辑器拓展 Vditor模式"
            })
            //1秒后附加到按钮
            setTimeout(() => {
                let b = $("#sxhEditor > div.vditor-toolbar > div:nth-child(28) > button")
                b.click()
                b.click(() => {
                    // destroy方法会删除缓存? 逆天...
                    //返回内容
                    // $("#sxhTextArea").val(ved.getValue())
                    $('#sxhEditor').remove()
                    ved = null
                    editUpdate()
                })
            }, 1000)
        })
        //VEEND
    }

    sxhI = setInterval(add_direct, 500)
}
)
    ()