From e24d98a04b916491fb9b3ccbb6a7ebc1f13fb5af Mon Sep 17 00:00:00 2001 From: pedrocx486 Date: Sun, 12 Feb 2023 04:12:32 -0300 Subject: [PATCH] Update editor --- editor/assets/index-0cc81252.css | 1 + editor/assets/index-80021042.css | 1 - editor/assets/index-ae82a772.js | 139 ------------------------------ editor/assets/index-f1f7303f.js | 141 +++++++++++++++++++++++++++++++ editor/index.html | 4 +- 5 files changed, 144 insertions(+), 142 deletions(-) create mode 100644 editor/assets/index-0cc81252.css delete mode 100644 editor/assets/index-80021042.css delete mode 100644 editor/assets/index-ae82a772.js create mode 100644 editor/assets/index-f1f7303f.js diff --git a/editor/assets/index-0cc81252.css b/editor/assets/index-0cc81252.css new file mode 100644 index 0000000..7c63ef4 --- /dev/null +++ b/editor/assets/index-0cc81252.css @@ -0,0 +1 @@ +#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2c3e50}button{cursor:pointer;transition:all .3s ease-in-out;text-decoration:none;padding:.6rem;border:none;box-shadow:#000a 4px 4px}.btn-primary{background-color:#6100a2;color:#fff;font-size:.8rem;margin-top:.5rem}.btn-primary[disabled]{background-color:#909090;color:#4b4b4b;font-size:.8rem}.btn-primary:hover{box-shadow:0 0 7px #6100a2}.btn-secondary{background-color:#00f1dd;color:#4e4e4e;font-size:.8rem}.btn-secondary:hover{box-shadow:0 0 7px #00f1dd}.btn-tertiary{background-color:#f10800;color:#e9e9e9;font-size:.8rem}.btn-tertiary:hover{box-shadow:0 0 7px #f10800}.close-btn{text-align:end;margin-bottom:.5rem}.btn-wide{min-width:-webkit-fill-available;margin-top:.5rem}#dialog{max-width:90vw}.dialog-header{display:flex;justify-content:space-between}.dialog-header>* h4{padding:0;margin:0;margin-top:.5rem}.wrapper{display:flex;grid-gap:1rem;flex-direction:row;justify-content:center;width:100%;height:85vh;position:relative;margin-bottom:-1.3rem}.editor-area{text-align:left;flex:1}.title-area{display:flex}.title{flex:1}.editor{resize:none;width:-webkit-fill-available;height:90%}.preview{max-width:50vw;flex:1;border:1px solid #969696;max-height:96.8%;overflow-y:auto}.preview-title{margin-top:0;border-bottom:solid 1px}.preview>*{max-width:50vw;line-break:normal}.preview>* p{padding:.2rem}.footer-buttons{text-align:center;padding-bottom:3rem}#file-input{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}#file-input+label{display:inline-block;cursor:pointer;transition:all .3s ease-in-out;text-decoration:none;padding:.55rem;border:none;box-shadow:#000a 4px 4px;color:#fff;background-color:#6100a2;position:absolute;font-size:.8rem;margin-top:.5rem;width:20.7rem;text-align:center;margin-left:-11.2rem;margin-bottom:1rem}#file-input:focus+label,#file-input+label:hover{box-shadow:0 0 7px #6100a2;color:#fff}label{margin-bottom:0!important}@media only screen and (hover: none){.wrapper{flex-direction:column;margin-bottom:unset!important}.preview{max-width:100vw;margin-top:1rem}} diff --git a/editor/assets/index-80021042.css b/editor/assets/index-80021042.css deleted file mode 100644 index 6fe0aae..0000000 --- a/editor/assets/index-80021042.css +++ /dev/null @@ -1 +0,0 @@ -#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;color:#2c3e50}button{cursor:pointer;transition:all .3s ease-in-out;text-decoration:none;padding:.6rem;border:none;box-shadow:#000a 4px 4px}.btn-primary{background-color:#6100a2;color:#fff;font-size:.8rem}.btn-primary:hover{box-shadow:0 0 7px #6100a2}.wrapper{display:flex;grid-gap:1rem;flex-direction:row;justify-content:center;width:100%;height:85vh;position:relative;margin-bottom:-1.3rem}.editor-area{text-align:left;flex:1}.title-area{display:flex}.title{flex:1}.editor{resize:none;width:-webkit-fill-available;height:90%}.preview{max-width:50vw;flex:1;border:1px solid #969696;max-height:96.8%;overflow-y:auto}.preview-title{margin-top:0;border-bottom:solid 1px}.preview>*{max-width:50vw;line-break:normal}.preview>* p{padding:.2rem}.footer-buttons{text-align:center}#file-input{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}#file-input+label{display:inline-block;cursor:pointer;transition:all .3s ease-in-out;text-decoration:none;padding:.55rem;border:none;box-shadow:#000a 4px 4px;color:#fff;background-color:#6100a2;position:absolute;font-size:.8rem;margin-top:.3rem;width:20.7rem;text-align:center;margin-left:-11.2rem}#file-input:focus+label,#file-input+label:hover{box-shadow:0 0 7px #6100a2;color:#fff}label{margin-bottom:0!important}@media only screen and (hover: none){.wrapper{flex-direction:column;margin-bottom:unset!important}.preview{max-width:100vw;margin-top:1rem}} diff --git a/editor/assets/index-ae82a772.js b/editor/assets/index-ae82a772.js deleted file mode 100644 index 2c44466..0000000 --- a/editor/assets/index-ae82a772.js +++ /dev/null @@ -1,139 +0,0 @@ -var Qd=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports);var pc=Qd((ln,Yd)=>{(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))t(d);new MutationObserver(d=>{for(const s of d)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&t(a)}).observe(document,{childList:!0,subtree:!0});function n(d){const s={};return d.integrity&&(s.integrity=d.integrity),d.referrerpolicy&&(s.referrerPolicy=d.referrerpolicy),d.crossorigin==="use-credentials"?s.credentials="include":d.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function t(d){if(d.ep)return;d.ep=!0;const s=n(d);fetch(d.href,s)}})();function hn(e,r){const n=Object.create(null),t=e.split(",");for(let d=0;d!!n[d.toLowerCase()]:d=>!!n[d]}function pn(e){if(J(e)){const r={};for(let n=0;n{if(n){const t=n.split(es);t.length>1&&(r[t[0].trim()]=t[1].trim())}}),r}function mn(e){let r="";if(ge(e))r=e;else if(J(e))for(let n=0;nyt(n,r))}const Xr=e=>ge(e)?e:e==null?"":J(e)||ae(e)&&(e.toString===Iu||!X(e.toString))?JSON.stringify(e,zu,2):String(e),zu=(e,r)=>r&&r.__v_isRef?zu(e,r.value):br(r)?{[`Map(${r.size})`]:[...r.entries()].reduce((n,[t,d])=>(n[`${t} =>`]=d,n),{})}:kt(r)?{[`Set(${r.size})`]:[...r.values()]}:ae(r)&&!J(r)&&!Bu(r)?String(r):r,oe={},gr=[],ze=()=>{},ss=()=>!1,is=/^on[^a-z]/,vt=e=>is.test(e),_n=e=>e.startsWith("onUpdate:"),Ee=Object.assign,gn=(e,r)=>{const n=e.indexOf(r);n>-1&&e.splice(n,1)},os=Object.prototype.hasOwnProperty,re=(e,r)=>os.call(e,r),J=Array.isArray,br=e=>Wr(e)==="[object Map]",kt=e=>Wr(e)==="[object Set]",$n=e=>Wr(e)==="[object Date]",X=e=>typeof e=="function",ge=e=>typeof e=="string",Br=e=>typeof e=="symbol",ae=e=>e!==null&&typeof e=="object",Nu=e=>ae(e)&&X(e.then)&&X(e.catch),Iu=Object.prototype.toString,Wr=e=>Iu.call(e),as=e=>Wr(e).slice(8,-1),Bu=e=>Wr(e)==="[object Object]",bn=e=>ge(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,nt=hn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Et=e=>{const r=Object.create(null);return n=>r[n]||(r[n]=e(n))},cs=/-(\w)/g,vr=Et(e=>e.replace(cs,(r,n)=>n?n.toUpperCase():"")),fs=/\B([A-Z])/g,Sr=Et(e=>e.replace(fs,"-$1").toLowerCase()),Fu=Et(e=>e.charAt(0).toUpperCase()+e.slice(1)),zt=Et(e=>e?`on${Fu(e)}`:""),Fr=(e,r)=>!Object.is(e,r),ut=(e,r)=>{for(let n=0;n{Object.defineProperty(e,r,{configurable:!0,enumerable:!1,value:n})},Wt=e=>{const r=parseFloat(e);return isNaN(r)?e:r};let qn;const ls=()=>qn||(qn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Oe;class hs{constructor(r=!1){this.detached=r,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Oe,!r&&Oe&&(this.index=(Oe.scopes||(Oe.scopes=[])).push(this)-1)}get active(){return this._active}run(r){if(this._active){const n=Oe;try{return Oe=this,r()}finally{Oe=n}}}on(){Oe=this}off(){Oe=this.parent}stop(r){if(this._active){let n,t;for(n=0,t=this.effects.length;n{const r=new Set(e);return r.w=0,r.n=0,r},Hu=e=>(e.w&xe)>0,Du=e=>(e.n&xe)>0,_s=({deps:e})=>{if(e.length)for(let r=0;r{const{deps:r}=e;if(r.length){let n=0;for(let t=0;t{(v==="length"||v>=h)&&c.push(g)})}else switch(n!==void 0&&c.push(a.get(n)),r){case"add":J(e)?bn(n)&&c.push(a.get("length")):(c.push(a.get(fr)),br(e)&&c.push(a.get(Zt)));break;case"delete":J(e)||(c.push(a.get(fr)),br(e)&&c.push(a.get(Zt)));break;case"set":br(e)&&c.push(a.get(fr));break}if(c.length===1)c[0]&&Xt(c[0]);else{const h=[];for(const g of c)g&&h.push(...g);Xt(wn(h))}}function Xt(e,r){const n=J(e)?e:[...e];for(const t of n)t.computed&&Kn(t);for(const t of n)t.computed||Kn(t)}function Kn(e,r){(e!==Me||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const bs=hn("__proto__,__v_isRef,__isVue"),qu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Br)),ws=vn(),ys=vn(!1,!0),vs=vn(!0),Wn=ks();function ks(){const e={};return["includes","indexOf","lastIndexOf"].forEach(r=>{e[r]=function(...n){const t=ne(this);for(let s=0,a=this.length;s{e[r]=function(...n){Ar();const t=ne(this)[r].apply(this,n);return Tr(),t}}),e}function Es(e){const r=ne(this);return Se(r,"has",e),r.hasOwnProperty(e)}function vn(e=!1,r=!1){return function(t,d,s){if(d==="__v_isReactive")return!e;if(d==="__v_isReadonly")return e;if(d==="__v_isShallow")return r;if(d==="__v_raw"&&s===(e?r?Hs:Gu:r?Ju:Wu).get(t))return t;const a=J(t);if(!e){if(a&&re(Wn,d))return Reflect.get(Wn,d,s);if(d==="hasOwnProperty")return Es}const c=Reflect.get(t,d,s);return(Br(d)?qu.has(d):bs(d))||(e||Se(t,"get",d),r)?c:ve(c)?a&&bn(d)?c:c.value:ae(c)?e?Zu(c):Pn(c):c}}const Ps=Vu(),Cs=Vu(!0);function Vu(e=!1){return function(n,t,d,s){let a=n[t];if(kr(a)&&ve(a)&&!ve(d))return!1;if(!e&&(!pt(d)&&!kr(d)&&(a=ne(a),d=ne(d)),!J(n)&&ve(a)&&!ve(d)))return a.value=d,!0;const c=J(n)&&bn(t)?Number(t)e,Pt=e=>Reflect.getPrototypeOf(e);function Yr(e,r,n=!1,t=!1){e=e.__v_raw;const d=ne(e),s=ne(r);n||(r!==s&&Se(d,"get",r),Se(d,"get",s));const{has:a}=Pt(d),c=t?kn:n?Sn:Hr;if(a.call(d,r))return c(e.get(r));if(a.call(d,s))return c(e.get(s));e!==d&&e.get(r)}function Qr(e,r=!1){const n=this.__v_raw,t=ne(n),d=ne(e);return r||(e!==d&&Se(t,"has",e),Se(t,"has",d)),e===d?n.has(e):n.has(e)||n.has(d)}function xr(e,r=!1){return e=e.__v_raw,!r&&Se(ne(e),"iterate",fr),Reflect.get(e,"size",e)}function Jn(e){e=ne(e);const r=ne(this);return Pt(r).has.call(r,e)||(r.add(e),Ke(r,"add",e,e)),this}function Gn(e,r){r=ne(r);const n=ne(this),{has:t,get:d}=Pt(n);let s=t.call(n,e);s||(e=ne(e),s=t.call(n,e));const a=d.call(n,e);return n.set(e,r),s?Fr(r,a)&&Ke(n,"set",e,r):Ke(n,"add",e,r),this}function Zn(e){const r=ne(this),{has:n,get:t}=Pt(r);let d=n.call(r,e);d||(e=ne(e),d=n.call(r,e)),t&&t.call(r,e);const s=r.delete(e);return d&&Ke(r,"delete",e,void 0),s}function Xn(){const e=ne(this),r=e.size!==0,n=e.clear();return r&&Ke(e,"clear",void 0,void 0),n}function et(e,r){return function(t,d){const s=this,a=s.__v_raw,c=ne(a),h=r?kn:e?Sn:Hr;return!e&&Se(c,"iterate",fr),a.forEach((g,v)=>t.call(d,h(g),h(v),s))}}function rt(e,r,n){return function(...t){const d=this.__v_raw,s=ne(d),a=br(s),c=e==="entries"||e===Symbol.iterator&&a,h=e==="keys"&&a,g=d[e](...t),v=n?kn:r?Sn:Hr;return!r&&Se(s,"iterate",h?Zt:fr),{next(){const{value:C,done:F}=g.next();return F?{value:C,done:F}:{value:c?[v(C[0]),v(C[1])]:v(C),done:F}},[Symbol.iterator](){return this}}}}function Ge(e){return function(...r){return e==="delete"?!1:this}}function Ms(){const e={get(s){return Yr(this,s)},get size(){return xr(this)},has:Qr,add:Jn,set:Gn,delete:Zn,clear:Xn,forEach:et(!1,!1)},r={get(s){return Yr(this,s,!1,!0)},get size(){return xr(this)},has:Qr,add:Jn,set:Gn,delete:Zn,clear:Xn,forEach:et(!1,!0)},n={get(s){return Yr(this,s,!0)},get size(){return xr(this,!0)},has(s){return Qr.call(this,s,!0)},add:Ge("add"),set:Ge("set"),delete:Ge("delete"),clear:Ge("clear"),forEach:et(!0,!1)},t={get(s){return Yr(this,s,!0,!0)},get size(){return xr(this,!0)},has(s){return Qr.call(this,s,!0)},add:Ge("add"),set:Ge("set"),delete:Ge("delete"),clear:Ge("clear"),forEach:et(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=rt(s,!1,!1),n[s]=rt(s,!0,!1),r[s]=rt(s,!1,!0),t[s]=rt(s,!0,!0)}),[e,n,r,t]}const[Rs,Ls,zs,Ns]=Ms();function En(e,r){const n=r?e?Ns:zs:e?Ls:Rs;return(t,d,s)=>d==="__v_isReactive"?!e:d==="__v_isReadonly"?e:d==="__v_raw"?t:Reflect.get(re(n,d)&&d in t?n:t,d,s)}const Is={get:En(!1,!1)},Bs={get:En(!1,!0)},Fs={get:En(!0,!1)},Wu=new WeakMap,Ju=new WeakMap,Gu=new WeakMap,Hs=new WeakMap;function Ds(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Us(e){return e.__v_skip||!Object.isExtensible(e)?0:Ds(as(e))}function Pn(e){return kr(e)?e:Cn(e,!1,Ku,Is,Wu)}function $s(e){return Cn(e,!1,Os,Bs,Ju)}function Zu(e){return Cn(e,!0,js,Fs,Gu)}function Cn(e,r,n,t,d){if(!ae(e)||e.__v_raw&&!(r&&e.__v_isReactive))return e;const s=d.get(e);if(s)return s;const a=Us(e);if(a===0)return e;const c=new Proxy(e,a===2?t:n);return d.set(e,c),c}function wr(e){return kr(e)?wr(e.__v_raw):!!(e&&e.__v_isReactive)}function kr(e){return!!(e&&e.__v_isReadonly)}function pt(e){return!!(e&&e.__v_isShallow)}function Xu(e){return wr(e)||kr(e)}function ne(e){const r=e&&e.__v_raw;return r?ne(r):e}function Yu(e){return ht(e,"__v_skip",!0),e}const Hr=e=>ae(e)?Pn(e):e,Sn=e=>ae(e)?Zu(e):e;function Qu(e){Ye&&Me&&(e=ne(e),$u(e.dep||(e.dep=wn())))}function xu(e,r){e=ne(e);const n=e.dep;n&&Xt(n)}function ve(e){return!!(e&&e.__v_isRef===!0)}function tr(e){return qs(e,!1)}function qs(e,r){return ve(e)?e:new Vs(e,r)}class Vs{constructor(r,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?r:ne(r),this._value=n?r:Hr(r)}get value(){return Qu(this),this._value}set value(r){const n=this.__v_isShallow||pt(r)||kr(r);r=n?r:ne(r),Fr(r,this._rawValue)&&(this._rawValue=r,this._value=n?r:Hr(r),xu(this))}}function zr(e){return ve(e)?e.value:e}const Ks={get:(e,r,n)=>zr(Reflect.get(e,r,n)),set:(e,r,n,t)=>{const d=e[r];return ve(d)&&!ve(n)?(d.value=n,!0):Reflect.set(e,r,n,t)}};function ed(e){return wr(e)?e:new Proxy(e,Ks)}var rd;class Ws{constructor(r,n,t,d){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[rd]=!1,this._dirty=!0,this.effect=new yn(r,()=>{this._dirty||(this._dirty=!0,xu(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!d,this.__v_isReadonly=t}get value(){const r=ne(this);return Qu(r),(r._dirty||!r._cacheable)&&(r._dirty=!1,r._value=r.effect.run()),r._value}set value(r){this._setter(r)}}rd="__v_isReadonly";function Js(e,r,n=!1){let t,d;const s=X(e);return s?(t=e,d=ze):(t=e.get,d=e.set),new Ws(t,d,s||!d,n)}function Qe(e,r,n,t){let d;try{d=t?e(...t):e()}catch(s){Ct(s,r,n)}return d}function Ne(e,r,n,t){if(X(e)){const s=Qe(e,r,n,t);return s&&Nu(s)&&s.catch(a=>{Ct(a,r,n)}),s}const d=[];for(let s=0;s>>1;Ur(ye[t])Ue&&ye.splice(r,1)}function Qs(e){J(e)?yr.push(...e):(!qe||!qe.includes(e,e.allowRecurse?ir+1:ir))&&yr.push(e),nd()}function Yn(e,r=Dr?Ue+1:0){for(;rUr(n)-Ur(t)),ir=0;ire.id==null?1/0:e.id,xs=(e,r)=>{const n=Ur(e)-Ur(r);if(n===0){if(e.pre&&!r.pre)return-1;if(r.pre&&!e.pre)return 1}return n};function dd(e){Yt=!1,Dr=!0,ye.sort(xs);const r=ze;try{for(Ue=0;Uege(U)?U.trim():U)),C&&(d=n.map(Wt))}let c,h=t[c=zt(r)]||t[c=zt(vr(r))];!h&&s&&(h=t[c=zt(Sr(r))]),h&&Ne(h,e,6,d);const g=t[c+"Once"];if(g){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Ne(g,e,6,d)}}function sd(e,r,n=!1){const t=r.emitsCache,d=t.get(e);if(d!==void 0)return d;const s=e.emits;let a={},c=!1;if(!X(e)){const h=g=>{const v=sd(g,r,!0);v&&(c=!0,Ee(a,v))};!n&&r.mixins.length&&r.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}return!s&&!c?(ae(e)&&t.set(e,null),null):(J(s)?s.forEach(h=>a[h]=null):Ee(a,s),ae(e)&&t.set(e,a),a)}function St(e,r){return!e||!vt(r)?!1:(r=r.slice(2).replace(/Once$/,""),re(e,r[0].toLowerCase()+r.slice(1))||re(e,Sr(r))||re(e,r))}let Re=null,id=null;function mt(e){const r=Re;return Re=e,id=e&&e.type.__scopeId||null,r}function ri(e,r=Re,n){if(!r||e._n)return e;const t=(...d)=>{t._d&&du(-1);const s=mt(r);let a;try{a=e(...d)}finally{mt(s),t._d&&du(1)}return a};return t._n=!0,t._c=!0,t._d=!0,t}function Nt(e){const{type:r,vnode:n,proxy:t,withProxy:d,props:s,propsOptions:[a],slots:c,attrs:h,emit:g,render:v,renderCache:C,data:F,setupState:U,ctx:B,inheritAttrs:L}=e;let ee,Y;const _e=mt(e);try{if(n.shapeFlag&4){const u=d||t;ee=De(v.call(u,u,C,s,U,F,B)),Y=h}else{const u=r;ee=De(u.length>1?u(s,{attrs:h,slots:c,emit:g}):u(s,null)),Y=r.props?h:ti(h)}}catch(u){Ir.length=0,Ct(u,e,1),ee=Ce(pr)}let Z=ee;if(Y&&L!==!1){const u=Object.keys(Y),{shapeFlag:o}=Z;u.length&&o&7&&(a&&u.some(_n)&&(Y=ni(Y,a)),Z=Er(Z,Y))}return n.dirs&&(Z=Er(Z),Z.dirs=Z.dirs?Z.dirs.concat(n.dirs):n.dirs),n.transition&&(Z.transition=n.transition),ee=Z,mt(_e),ee}const ti=e=>{let r;for(const n in e)(n==="class"||n==="style"||vt(n))&&((r||(r={}))[n]=e[n]);return r},ni=(e,r)=>{const n={};for(const t in e)(!_n(t)||!(t.slice(9)in r))&&(n[t]=e[t]);return n};function ui(e,r,n){const{props:t,children:d,component:s}=e,{props:a,children:c,patchFlag:h}=r,g=s.emitsOptions;if(r.dirs||r.transition)return!0;if(n&&h>=0){if(h&1024)return!0;if(h&16)return t?Qn(t,a,g):!!a;if(h&8){const v=r.dynamicProps;for(let C=0;Ce.__isSuspense;function ii(e,r){r&&r.pendingBranch?J(e)?r.effects.push(...e):r.effects.push(e):Qs(e)}function oi(e,r){if(pe){let n=pe.provides;const t=pe.parent&&pe.parent.provides;t===n&&(n=pe.provides=Object.create(t)),n[e]=r}}function dt(e,r,n=!1){const t=pe||Re;if(t){const d=t.parent==null?t.vnode.appContext&&t.vnode.appContext.provides:t.parent.provides;if(d&&e in d)return d[e];if(arguments.length>1)return n&&X(r)?r.call(t.proxy):r}}const tt={};function It(e,r,n){return od(e,r,n)}function od(e,r,{immediate:n,deep:t,flush:d,onTrack:s,onTrigger:a}=oe){const c=ms()===(pe==null?void 0:pe.scope)?pe:null;let h,g=!1,v=!1;if(ve(e)?(h=()=>e.value,g=pt(e)):wr(e)?(h=()=>e,t=!0):J(e)?(v=!0,g=e.some(Z=>wr(Z)||pt(Z)),h=()=>e.map(Z=>{if(ve(Z))return Z.value;if(wr(Z))return cr(Z);if(X(Z))return Qe(Z,c,2)})):X(e)?r?h=()=>Qe(e,c,2):h=()=>{if(!(c&&c.isUnmounted))return C&&C(),Ne(e,c,3,[F])}:h=ze,r&&t){const Z=h;h=()=>cr(Z())}let C,F=Z=>{C=Y.onStop=()=>{Qe(Z,c,4)}},U;if(qr)if(F=ze,r?n&&Ne(r,c,3,[h(),v?[]:void 0,F]):h(),d==="sync"){const Z=eo();U=Z.__watcherHandles||(Z.__watcherHandles=[])}else return ze;let B=v?new Array(e.length).fill(tt):tt;const L=()=>{if(Y.active)if(r){const Z=Y.run();(t||g||(v?Z.some((u,o)=>Fr(u,B[o])):Fr(Z,B)))&&(C&&C(),Ne(r,c,3,[Z,B===tt?void 0:v&&B[0]===tt?[]:B,F]),B=Z)}else Y.run()};L.allowRecurse=!!r;let ee;d==="sync"?ee=L:d==="post"?ee=()=>Pe(L,c&&c.suspense):(L.pre=!0,c&&(L.id=c.uid),ee=()=>Tn(L));const Y=new yn(h,ee);r?n?L():B=Y.run():d==="post"?Pe(Y.run.bind(Y),c&&c.suspense):Y.run();const _e=()=>{Y.stop(),c&&c.scope&&gn(c.scope.effects,Y)};return U&&U.push(_e),_e}function ai(e,r,n){const t=this.proxy,d=ge(e)?e.includes(".")?ad(t,e):()=>t[e]:e.bind(t,t);let s;X(r)?s=r:(s=r.handler,n=r);const a=pe;Pr(this);const c=od(d,s.bind(t),n);return a?Pr(a):lr(),c}function ad(e,r){const n=r.split(".");return()=>{let t=e;for(let d=0;d{cr(n,r)});else if(Bu(e))for(const n in e)cr(e[n],r);return e}function cd(e){return X(e)?{setup:e,name:e.name}:e}const st=e=>!!e.type.__asyncLoader,fd=e=>e.type.__isKeepAlive;function ci(e,r){ld(e,"a",r)}function fi(e,r){ld(e,"da",r)}function ld(e,r,n=pe){const t=e.__wdc||(e.__wdc=()=>{let d=n;for(;d;){if(d.isDeactivated)return;d=d.parent}return e()});if(At(r,t,n),n){let d=n.parent;for(;d&&d.parent;)fd(d.parent.vnode)&&li(t,r,n,d),d=d.parent}}function li(e,r,n,t){const d=At(r,e,t,!0);pd(()=>{gn(t[r],d)},n)}function At(e,r,n=pe,t=!1){if(n){const d=n[e]||(n[e]=[]),s=r.__weh||(r.__weh=(...a)=>{if(n.isUnmounted)return;Ar(),Pr(n);const c=Ne(r,n,e,a);return lr(),Tr(),c});return t?d.unshift(s):d.push(s),s}}const We=e=>(r,n=pe)=>(!qr||e==="sp")&&At(e,(...t)=>r(...t),n),hi=We("bm"),hd=We("m"),pi=We("bu"),mi=We("u"),_i=We("bum"),pd=We("um"),gi=We("sp"),bi=We("rtg"),wi=We("rtc");function yi(e,r=pe){At("ec",e,r)}function Bt(e,r){const n=Re;if(n===null)return e;const t=jt(n)||n.proxy,d=e.dirs||(e.dirs=[]);for(let s=0;se?Cd(e)?jt(e)||e.proxy:Qt(e.parent):null,Nr=Ee(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Qt(e.parent),$root:e=>Qt(e.root),$emit:e=>e.emit,$options:e=>jn(e),$forceUpdate:e=>e.f||(e.f=()=>Tn(e.update)),$nextTick:e=>e.n||(e.n=Zs.bind(e.proxy)),$watch:e=>ai.bind(e)}),Ft=(e,r)=>e!==oe&&!e.__isScriptSetup&&re(e,r),ki={get({_:e},r){const{ctx:n,setupState:t,data:d,props:s,accessCache:a,type:c,appContext:h}=e;let g;if(r[0]!=="$"){const U=a[r];if(U!==void 0)switch(U){case 1:return t[r];case 2:return d[r];case 4:return n[r];case 3:return s[r]}else{if(Ft(t,r))return a[r]=1,t[r];if(d!==oe&&re(d,r))return a[r]=2,d[r];if((g=e.propsOptions[0])&&re(g,r))return a[r]=3,s[r];if(n!==oe&&re(n,r))return a[r]=4,n[r];xt&&(a[r]=0)}}const v=Nr[r];let C,F;if(v)return r==="$attrs"&&Se(e,"get",r),v(e);if((C=c.__cssModules)&&(C=C[r]))return C;if(n!==oe&&re(n,r))return a[r]=4,n[r];if(F=h.config.globalProperties,re(F,r))return F[r]},set({_:e},r,n){const{data:t,setupState:d,ctx:s}=e;return Ft(d,r)?(d[r]=n,!0):t!==oe&&re(t,r)?(t[r]=n,!0):re(e.props,r)||r[0]==="$"&&r.slice(1)in e?!1:(s[r]=n,!0)},has({_:{data:e,setupState:r,accessCache:n,ctx:t,appContext:d,propsOptions:s}},a){let c;return!!n[a]||e!==oe&&re(e,a)||Ft(r,a)||(c=s[0])&&re(c,a)||re(t,a)||re(Nr,a)||re(d.config.globalProperties,a)},defineProperty(e,r,n){return n.get!=null?e._.accessCache[r]=0:re(n,"value")&&this.set(e,r,n.value,null),Reflect.defineProperty(e,r,n)}};let xt=!0;function Ei(e){const r=jn(e),n=e.proxy,t=e.ctx;xt=!1,r.beforeCreate&&xn(r.beforeCreate,e,"bc");const{data:d,computed:s,methods:a,watch:c,provide:h,inject:g,created:v,beforeMount:C,mounted:F,beforeUpdate:U,updated:B,activated:L,deactivated:ee,beforeDestroy:Y,beforeUnmount:_e,destroyed:Z,unmounted:u,render:o,renderTracked:i,renderTriggered:f,errorCaptured:_,serverPrefetch:w,expose:p,inheritAttrs:y,components:N,directives:j,filters:T}=r;if(g&&Pi(g,t,null,e.appContext.config.unwrapInjectedRef),a)for(const E in a){const R=a[E];X(R)&&(t[E]=R.bind(n))}if(d){const E=d.call(n,n);ae(E)&&(e.data=Pn(E))}if(xt=!0,s)for(const E in s){const R=s[E],$=X(R)?R.bind(n,n):X(R.get)?R.get.bind(n,n):ze,Q=!X(R)&&X(R.set)?R.set.bind(n):ze,q=hr({get:$,set:Q});Object.defineProperty(t,E,{enumerable:!0,configurable:!0,get:()=>q.value,set:de=>q.value=de})}if(c)for(const E in c)md(c[E],t,n,E);if(h){const E=X(h)?h.call(n):h;Reflect.ownKeys(E).forEach(R=>{oi(R,E[R])})}v&&xn(v,e,"c");function l(E,R){J(R)?R.forEach($=>E($.bind(n))):R&&E(R.bind(n))}if(l(hi,C),l(hd,F),l(pi,U),l(mi,B),l(ci,L),l(fi,ee),l(yi,_),l(wi,i),l(bi,f),l(_i,_e),l(pd,u),l(gi,w),J(p))if(p.length){const E=e.exposed||(e.exposed={});p.forEach(R=>{Object.defineProperty(E,R,{get:()=>n[R],set:$=>n[R]=$})})}else e.exposed||(e.exposed={});o&&e.render===ze&&(e.render=o),y!=null&&(e.inheritAttrs=y),N&&(e.components=N),j&&(e.directives=j)}function Pi(e,r,n=ze,t=!1){J(e)&&(e=en(e));for(const d in e){const s=e[d];let a;ae(s)?"default"in s?a=dt(s.from||d,s.default,!0):a=dt(s.from||d):a=dt(s),ve(a)&&t?Object.defineProperty(r,d,{enumerable:!0,configurable:!0,get:()=>a.value,set:c=>a.value=c}):r[d]=a}}function xn(e,r,n){Ne(J(e)?e.map(t=>t.bind(r.proxy)):e.bind(r.proxy),r,n)}function md(e,r,n,t){const d=t.includes(".")?ad(n,t):()=>n[t];if(ge(e)){const s=r[e];X(s)&&It(d,s)}else if(X(e))It(d,e.bind(n));else if(ae(e))if(J(e))e.forEach(s=>md(s,r,n,t));else{const s=X(e.handler)?e.handler.bind(n):r[e.handler];X(s)&&It(d,s,e)}}function jn(e){const r=e.type,{mixins:n,extends:t}=r,{mixins:d,optionsCache:s,config:{optionMergeStrategies:a}}=e.appContext,c=s.get(r);let h;return c?h=c:!d.length&&!n&&!t?h=r:(h={},d.length&&d.forEach(g=>_t(h,g,a,!0)),_t(h,r,a)),ae(r)&&s.set(r,h),h}function _t(e,r,n,t=!1){const{mixins:d,extends:s}=r;s&&_t(e,s,n,!0),d&&d.forEach(a=>_t(e,a,n,!0));for(const a in r)if(!(t&&a==="expose")){const c=Ci[a]||n&&n[a];e[a]=c?c(e[a],r[a]):r[a]}return e}const Ci={data:eu,props:dr,emits:dr,methods:dr,computed:dr,beforeCreate:ke,created:ke,beforeMount:ke,mounted:ke,beforeUpdate:ke,updated:ke,beforeDestroy:ke,beforeUnmount:ke,destroyed:ke,unmounted:ke,activated:ke,deactivated:ke,errorCaptured:ke,serverPrefetch:ke,components:dr,directives:dr,watch:Ai,provide:eu,inject:Si};function eu(e,r){return r?e?function(){return Ee(X(e)?e.call(this,this):e,X(r)?r.call(this,this):r)}:r:e}function Si(e,r){return dr(en(e),en(r))}function en(e){if(J(e)){const r={};for(let n=0;n0)&&!(a&16)){if(a&8){const v=e.vnode.dynamicProps;for(let C=0;C{h=!0;const[F,U]=gd(C,r,!0);Ee(a,F),U&&c.push(...U)};!n&&r.mixins.length&&r.mixins.forEach(v),e.extends&&v(e.extends),e.mixins&&e.mixins.forEach(v)}if(!s&&!h)return ae(e)&&t.set(e,gr),gr;if(J(s))for(let v=0;v-1,U[1]=L<0||B-1||re(U,"default"))&&c.push(C)}}}const g=[a,c];return ae(e)&&t.set(e,g),g}function ru(e){return e[0]!=="$"}function tu(e){const r=e&&e.toString().match(/^\s*(function|class) (\w+)/);return r?r[2]:e===null?"null":""}function nu(e,r){return tu(e)===tu(r)}function uu(e,r){return J(r)?r.findIndex(n=>nu(n,e)):X(r)&&nu(r,e)?0:-1}const bd=e=>e[0]==="_"||e==="$stable",On=e=>J(e)?e.map(De):[De(e)],Oi=(e,r,n)=>{if(r._n)return r;const t=ri((...d)=>On(r(...d)),n);return t._c=!1,t},wd=(e,r,n)=>{const t=e._ctx;for(const d in e){if(bd(d))continue;const s=e[d];if(X(s))r[d]=Oi(d,s,t);else if(s!=null){const a=On(s);r[d]=()=>a}}},yd=(e,r)=>{const n=On(r);e.slots.default=()=>n},Mi=(e,r)=>{if(e.vnode.shapeFlag&32){const n=r._;n?(e.slots=ne(r),ht(r,"_",n)):wd(r,e.slots={})}else e.slots={},r&&yd(e,r);ht(e.slots,Tt,1)},Ri=(e,r,n)=>{const{vnode:t,slots:d}=e;let s=!0,a=oe;if(t.shapeFlag&32){const c=r._;c?n&&c===1?s=!1:(Ee(d,r),!n&&c===1&&delete d._):(s=!r.$stable,wd(r,d)),a=r}else r&&(yd(e,r),a={default:1});if(s)for(const c in d)!bd(c)&&!(c in a)&&delete d[c]};function vd(){return{app:null,config:{isNativeTag:ss,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Li=0;function zi(e,r){return function(t,d=null){X(t)||(t=Object.assign({},t)),d!=null&&!ae(d)&&(d=null);const s=vd(),a=new Set;let c=!1;const h=s.app={_uid:Li++,_component:t,_props:d,_container:null,_context:s,_instance:null,version:ro,get config(){return s.config},set config(g){},use(g,...v){return a.has(g)||(g&&X(g.install)?(a.add(g),g.install(h,...v)):X(g)&&(a.add(g),g(h,...v))),h},mixin(g){return s.mixins.includes(g)||s.mixins.push(g),h},component(g,v){return v?(s.components[g]=v,h):s.components[g]},directive(g,v){return v?(s.directives[g]=v,h):s.directives[g]},mount(g,v,C){if(!c){const F=Ce(t,d);return F.appContext=s,v&&r?r(F,g):e(F,g,C),c=!0,h._container=g,g.__vue_app__=h,jt(F.component)||F.component.proxy}},unmount(){c&&(e(null,h._container),delete h._container.__vue_app__)},provide(g,v){return s.provides[g]=v,h}};return h}}function tn(e,r,n,t,d=!1){if(J(e)){e.forEach((F,U)=>tn(F,r&&(J(r)?r[U]:r),n,t,d));return}if(st(t)&&!d)return;const s=t.shapeFlag&4?jt(t.component)||t.component.proxy:t.el,a=d?null:s,{i:c,r:h}=e,g=r&&r.r,v=c.refs===oe?c.refs={}:c.refs,C=c.setupState;if(g!=null&&g!==h&&(ge(g)?(v[g]=null,re(C,g)&&(C[g]=null)):ve(g)&&(g.value=null)),X(h))Qe(h,c,12,[a,v]);else{const F=ge(h),U=ve(h);if(F||U){const B=()=>{if(e.f){const L=F?re(C,h)?C[h]:v[h]:h.value;d?J(L)&&gn(L,s):J(L)?L.includes(s)||L.push(s):F?(v[h]=[s],re(C,h)&&(C[h]=v[h])):(h.value=[s],e.k&&(v[e.k]=h.value))}else F?(v[h]=a,re(C,h)&&(C[h]=a)):U&&(h.value=a,e.k&&(v[e.k]=a))};a?(B.id=-1,Pe(B,n)):B()}}}const Pe=ii;function Ni(e){return Ii(e)}function Ii(e,r){const n=ls();n.__VUE__=!0;const{insert:t,remove:d,patchProp:s,createElement:a,createText:c,createComment:h,setText:g,setElementText:v,parentNode:C,nextSibling:F,setScopeId:U=ze,insertStaticContent:B}=e,L=(m,b,k,A=null,S=null,I=null,D=!1,z=null,H=!!b.dynamicChildren)=>{if(m===b)return;m&&!Mr(m,b)&&(A=he(m),de(m,S,I,!0),m=null),b.patchFlag===-2&&(H=!1,b.dynamicChildren=null);const{type:O,ref:K,shapeFlag:V}=b;switch(O){case Jr:ee(m,b,k,A);break;case pr:Y(m,b,k,A);break;case Ht:m==null&&_e(b,k,A,D);break;case He:N(m,b,k,A,S,I,D,z,H);break;default:V&1?o(m,b,k,A,S,I,D,z,H):V&6?j(m,b,k,A,S,I,D,z,H):(V&64||V&128)&&O.process(m,b,k,A,S,I,D,z,H,Ie)}K!=null&&S&&tn(K,m&&m.ref,I,b||m,!b)},ee=(m,b,k,A)=>{if(m==null)t(b.el=c(b.children),k,A);else{const S=b.el=m.el;b.children!==m.children&&g(S,b.children)}},Y=(m,b,k,A)=>{m==null?t(b.el=h(b.children||""),k,A):b.el=m.el},_e=(m,b,k,A)=>{[m.el,m.anchor]=B(m.children,b,k,A,m.el,m.anchor)},Z=({el:m,anchor:b},k,A)=>{let S;for(;m&&m!==b;)S=F(m),t(m,k,A),m=S;t(b,k,A)},u=({el:m,anchor:b})=>{let k;for(;m&&m!==b;)k=F(m),d(m),m=k;d(b)},o=(m,b,k,A,S,I,D,z,H)=>{D=D||b.type==="svg",m==null?i(b,k,A,S,I,D,z,H):w(m,b,S,I,D,z,H)},i=(m,b,k,A,S,I,D,z)=>{let H,O;const{type:K,props:V,shapeFlag:W,transition:G,dirs:x}=m;if(H=m.el=a(m.type,I,V&&V.is,V),W&8?v(H,m.children):W&16&&_(m.children,H,null,A,S,I&&K!=="foreignObject",D,z),x&&nr(m,null,A,"created"),f(H,m,m.scopeId,D,A),V){for(const ue in V)ue!=="value"&&!nt(ue)&&s(H,ue,null,V[ue],I,m.children,A,S,ie);"value"in V&&s(H,"value",null,V.value),(O=V.onVnodeBeforeMount)&&Fe(O,A,m)}x&&nr(m,null,A,"beforeMount");const se=(!S||S&&!S.pendingBranch)&&G&&!G.persisted;se&&G.beforeEnter(H),t(H,b,k),((O=V&&V.onVnodeMounted)||se||x)&&Pe(()=>{O&&Fe(O,A,m),se&&G.enter(H),x&&nr(m,null,A,"mounted")},S)},f=(m,b,k,A,S)=>{if(k&&U(m,k),A)for(let I=0;I{for(let O=H;O{const z=b.el=m.el;let{patchFlag:H,dynamicChildren:O,dirs:K}=b;H|=m.patchFlag&16;const V=m.props||oe,W=b.props||oe;let G;k&&ur(k,!1),(G=W.onVnodeBeforeUpdate)&&Fe(G,k,b,m),K&&nr(b,m,k,"beforeUpdate"),k&&ur(k,!0);const x=S&&b.type!=="foreignObject";if(O?p(m.dynamicChildren,O,z,k,A,x,I):D||R(m,b,z,null,k,A,x,I,!1),H>0){if(H&16)y(z,b,V,W,k,A,S);else if(H&2&&V.class!==W.class&&s(z,"class",null,W.class,S),H&4&&s(z,"style",V.style,W.style,S),H&8){const se=b.dynamicProps;for(let ue=0;ue{G&&Fe(G,k,b,m),K&&nr(b,m,k,"updated")},A)},p=(m,b,k,A,S,I,D)=>{for(let z=0;z{if(k!==A){if(k!==oe)for(const z in k)!nt(z)&&!(z in A)&&s(m,z,k[z],null,D,b.children,S,I,ie);for(const z in A){if(nt(z))continue;const H=A[z],O=k[z];H!==O&&z!=="value"&&s(m,z,O,H,D,b.children,S,I,ie)}"value"in A&&s(m,"value",k.value,A.value)}},N=(m,b,k,A,S,I,D,z,H)=>{const O=b.el=m?m.el:c(""),K=b.anchor=m?m.anchor:c("");let{patchFlag:V,dynamicChildren:W,slotScopeIds:G}=b;G&&(z=z?z.concat(G):G),m==null?(t(O,k,A),t(K,k,A),_(b.children,k,K,S,I,D,z,H)):V>0&&V&64&&W&&m.dynamicChildren?(p(m.dynamicChildren,W,k,S,I,D,z),(b.key!=null||S&&b===S.subTree)&&kd(m,b,!0)):R(m,b,k,K,S,I,D,z,H)},j=(m,b,k,A,S,I,D,z,H)=>{b.slotScopeIds=z,m==null?b.shapeFlag&512?S.ctx.activate(b,k,A,D,H):T(b,k,A,S,I,D,H):M(m,b,H)},T=(m,b,k,A,S,I,D)=>{const z=m.component=Ji(m,A,S);if(fd(m)&&(z.ctx.renderer=Ie),Gi(z),z.asyncDep){if(S&&S.registerDep(z,l),!m.el){const H=z.subTree=Ce(pr);Y(null,H,b,k)}return}l(z,m,b,k,S,I,D)},M=(m,b,k)=>{const A=b.component=m.component;if(ui(m,b,k))if(A.asyncDep&&!A.asyncResolved){E(A,b,k);return}else A.next=b,Ys(A.update),A.update();else b.el=m.el,A.vnode=b},l=(m,b,k,A,S,I,D)=>{const z=()=>{if(m.isMounted){let{next:K,bu:V,u:W,parent:G,vnode:x}=m,se=K,ue;ur(m,!1),K?(K.el=x.el,E(m,K,D)):K=x,V&&ut(V),(ue=K.props&&K.props.onVnodeBeforeUpdate)&&Fe(ue,G,K,x),ur(m,!0);const fe=Nt(m),je=m.subTree;m.subTree=fe,L(je,fe,C(je.el),he(je),m,S,I),K.el=fe.el,se===null&&di(m,fe.el),W&&Pe(W,S),(ue=K.props&&K.props.onVnodeUpdated)&&Pe(()=>Fe(ue,G,K,x),S)}else{let K;const{el:V,props:W}=b,{bm:G,m:x,parent:se}=m,ue=st(b);if(ur(m,!1),G&&ut(G),!ue&&(K=W&&W.onVnodeBeforeMount)&&Fe(K,se,b),ur(m,!0),V&&mr){const fe=()=>{m.subTree=Nt(m),mr(V,m.subTree,m,S,null)};ue?b.type.__asyncLoader().then(()=>!m.isUnmounted&&fe()):fe()}else{const fe=m.subTree=Nt(m);L(null,fe,k,A,m,S,I),b.el=fe.el}if(x&&Pe(x,S),!ue&&(K=W&&W.onVnodeMounted)){const fe=b;Pe(()=>Fe(K,se,fe),S)}(b.shapeFlag&256||se&&st(se.vnode)&&se.vnode.shapeFlag&256)&&m.a&&Pe(m.a,S),m.isMounted=!0,b=k=A=null}},H=m.effect=new yn(z,()=>Tn(O),m.scope),O=m.update=()=>H.run();O.id=m.uid,ur(m,!0),O()},E=(m,b,k)=>{b.component=m;const A=m.vnode.props;m.vnode=b,m.next=null,ji(m,b.props,A,k),Ri(m,b.children,k),Ar(),Yn(),Tr()},R=(m,b,k,A,S,I,D,z,H=!1)=>{const O=m&&m.children,K=m?m.shapeFlag:0,V=b.children,{patchFlag:W,shapeFlag:G}=b;if(W>0){if(W&128){Q(O,V,k,A,S,I,D,z,H);return}else if(W&256){$(O,V,k,A,S,I,D,z,H);return}}G&8?(K&16&&ie(O,S,I),V!==O&&v(k,V)):K&16?G&16?Q(O,V,k,A,S,I,D,z,H):ie(O,S,I,!0):(K&8&&v(k,""),G&16&&_(V,k,A,S,I,D,z,H))},$=(m,b,k,A,S,I,D,z,H)=>{m=m||gr,b=b||gr;const O=m.length,K=b.length,V=Math.min(O,K);let W;for(W=0;WK?ie(m,S,I,!0,!1,V):_(b,k,A,S,I,D,z,H,V)},Q=(m,b,k,A,S,I,D,z,H)=>{let O=0;const K=b.length;let V=m.length-1,W=K-1;for(;O<=V&&O<=W;){const G=m[O],x=b[O]=H?Xe(b[O]):De(b[O]);if(Mr(G,x))L(G,x,k,null,S,I,D,z,H);else break;O++}for(;O<=V&&O<=W;){const G=m[V],x=b[W]=H?Xe(b[W]):De(b[W]);if(Mr(G,x))L(G,x,k,null,S,I,D,z,H);else break;V--,W--}if(O>V){if(O<=W){const G=W+1,x=GW)for(;O<=V;)de(m[O],S,I,!0),O++;else{const G=O,x=O,se=new Map;for(O=x;O<=W;O++){const Te=b[O]=H?Xe(b[O]):De(b[O]);Te.key!=null&&se.set(Te.key,O)}let ue,fe=0;const je=W-x+1;let _r=!1,Hn=0;const Or=new Array(je);for(O=0;O=je){de(Te,S,I,!0);continue}let Be;if(Te.key!=null)Be=se.get(Te.key);else for(ue=x;ue<=W;ue++)if(Or[ue-x]===0&&Mr(Te,b[ue])){Be=ue;break}Be===void 0?de(Te,S,I,!0):(Or[Be-x]=O+1,Be>=Hn?Hn=Be:_r=!0,L(Te,b[Be],k,null,S,I,D,z,H),fe++)}const Dn=_r?Bi(Or):gr;for(ue=Dn.length-1,O=je-1;O>=0;O--){const Te=x+O,Be=b[Te],Un=Te+1{const{el:I,type:D,transition:z,children:H,shapeFlag:O}=m;if(O&6){q(m.component.subTree,b,k,A);return}if(O&128){m.suspense.move(b,k,A);return}if(O&64){D.move(m,b,k,Ie);return}if(D===He){t(I,b,k);for(let V=0;Vz.enter(I),S);else{const{leave:V,delayLeave:W,afterLeave:G}=z,x=()=>t(I,b,k),se=()=>{V(I,()=>{x(),G&&G()})};W?W(I,x,se):se()}else t(I,b,k)},de=(m,b,k,A=!1,S=!1)=>{const{type:I,props:D,ref:z,children:H,dynamicChildren:O,shapeFlag:K,patchFlag:V,dirs:W}=m;if(z!=null&&tn(z,null,k,m,!0),K&256){b.ctx.deactivate(m);return}const G=K&1&&W,x=!st(m);let se;if(x&&(se=D&&D.onVnodeBeforeUnmount)&&Fe(se,b,m),K&6)le(m.component,k,A);else{if(K&128){m.suspense.unmount(k,A);return}G&&nr(m,null,b,"beforeUnmount"),K&64?m.type.remove(m,b,k,S,Ie,A):O&&(I!==He||V>0&&V&64)?ie(O,b,k,!1,!0):(I===He&&V&384||!S&&K&16)&&ie(H,b,k),A&&be(m)}(x&&(se=D&&D.onVnodeUnmounted)||G)&&Pe(()=>{se&&Fe(se,b,m),G&&nr(m,null,b,"unmounted")},k)},be=m=>{const{type:b,el:k,anchor:A,transition:S}=m;if(b===He){Ae(k,A);return}if(b===Ht){u(m);return}const I=()=>{d(k),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(m.shapeFlag&1&&S&&!S.persisted){const{leave:D,delayLeave:z}=S,H=()=>D(k,I);z?z(m.el,I,H):H()}else I()},Ae=(m,b)=>{let k;for(;m!==b;)k=F(m),d(m),m=k;d(b)},le=(m,b,k)=>{const{bum:A,scope:S,update:I,subTree:D,um:z}=m;A&&ut(A),S.stop(),I&&(I.active=!1,de(D,m,b,k)),z&&Pe(z,b),Pe(()=>{m.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&m.asyncDep&&!m.asyncResolved&&m.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},ie=(m,b,k,A=!1,S=!1,I=0)=>{for(let D=I;Dm.shapeFlag&6?he(m.component.subTree):m.shapeFlag&128?m.suspense.next():F(m.anchor||m.el),we=(m,b,k)=>{m==null?b._vnode&&de(b._vnode,null,null,!0):L(b._vnode||null,m,b,null,null,null,k),Yn(),ud(),b._vnode=m},Ie={p:L,um:de,m:q,r:be,mt:T,mc:_,pc:R,pbc:p,n:he,o:e};let rr,mr;return r&&([rr,mr]=r(Ie)),{render:we,hydrate:rr,createApp:zi(we,rr)}}function ur({effect:e,update:r},n){e.allowRecurse=r.allowRecurse=n}function kd(e,r,n=!1){const t=e.children,d=r.children;if(J(t)&&J(d))for(let s=0;s>1,e[n[c]]0&&(r[t]=n[s-1]),n[s]=t)}}for(s=n.length,a=n[s-1];s-- >0;)n[s]=a,a=r[a];return n}const Fi=e=>e.__isTeleport,He=Symbol(void 0),Jr=Symbol(void 0),pr=Symbol(void 0),Ht=Symbol(void 0),Ir=[];let Le=null;function nn(e=!1){Ir.push(Le=e?null:[])}function Hi(){Ir.pop(),Le=Ir[Ir.length-1]||null}let $r=1;function du(e){$r+=e}function Ed(e){return e.dynamicChildren=$r>0?Le||gr:null,Hi(),$r>0&&Le&&Le.push(e),e}function su(e,r,n,t,d,s){return Ed(ce(e,r,n,t,d,s,!0))}function Di(e,r,n,t,d){return Ed(Ce(e,r,n,t,d,!0))}function un(e){return e?e.__v_isVNode===!0:!1}function Mr(e,r){return e.type===r.type&&e.key===r.key}const Tt="__vInternal",Pd=({key:e})=>e??null,it=({ref:e,ref_key:r,ref_for:n})=>e!=null?ge(e)||ve(e)||X(e)?{i:Re,r:e,k:r,f:!!n}:e:null;function ce(e,r=null,n=null,t=0,d=null,s=e===He?0:1,a=!1,c=!1){const h={__v_isVNode:!0,__v_skip:!0,type:e,props:r,key:r&&Pd(r),ref:r&&it(r),scopeId:id,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:t,dynamicProps:d,dynamicChildren:null,appContext:null,ctx:Re};return c?(Mn(h,n),s&128&&e.normalize(h)):n&&(h.shapeFlag|=ge(n)?8:16),$r>0&&!a&&Le&&(h.patchFlag>0||s&6)&&h.patchFlag!==32&&Le.push(h),h}const Ce=Ui;function Ui(e,r=null,n=null,t=0,d=null,s=!1){if((!e||e===vi)&&(e=pr),un(e)){const c=Er(e,r,!0);return n&&Mn(c,n),$r>0&&!s&&Le&&(c.shapeFlag&6?Le[Le.indexOf(e)]=c:Le.push(c)),c.patchFlag|=-2,c}if(Qi(e)&&(e=e.__vccOpts),r){r=$i(r);let{class:c,style:h}=r;c&&!ge(c)&&(r.class=mn(c)),ae(h)&&(Xu(h)&&!J(h)&&(h=Ee({},h)),r.style=pn(h))}const a=ge(e)?1:si(e)?128:Fi(e)?64:ae(e)?4:X(e)?2:0;return ce(e,r,n,t,d,a,s,!0)}function $i(e){return e?Xu(e)||Tt in e?Ee({},e):e:null}function Er(e,r,n=!1){const{props:t,ref:d,patchFlag:s,children:a}=e,c=r?Vi(t||{},r):t;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Pd(c),ref:r&&r.ref?n&&d?J(d)?d.concat(it(r)):[d,it(r)]:it(r):d,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:r&&e.type!==He?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Er(e.ssContent),ssFallback:e.ssFallback&&Er(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function sr(e=" ",r=0){return Ce(Jr,null,e,r)}function qi(e="",r=!1){return r?(nn(),Di(pr,null,e)):Ce(pr,null,e)}function De(e){return e==null||typeof e=="boolean"?Ce(pr):J(e)?Ce(He,null,e.slice()):typeof e=="object"?Xe(e):Ce(Jr,null,String(e))}function Xe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Er(e)}function Mn(e,r){let n=0;const{shapeFlag:t}=e;if(r==null)r=null;else if(J(r))n=16;else if(typeof r=="object")if(t&65){const d=r.default;d&&(d._c&&(d._d=!1),Mn(e,d()),d._c&&(d._d=!0));return}else{n=32;const d=r._;!d&&!(Tt in r)?r._ctx=Re:d===3&&Re&&(Re.slots._===1?r._=1:(r._=2,e.patchFlag|=1024))}else X(r)?(r={default:r,_ctx:Re},n=32):(r=String(r),t&64?(n=16,r=[sr(r)]):n=8);e.children=r,e.shapeFlag|=n}function Vi(...e){const r={};for(let n=0;n{pe=e,e.scope.on()},lr=()=>{pe&&pe.scope.off(),pe=null};function Cd(e){return e.vnode.shapeFlag&4}let qr=!1;function Gi(e,r=!1){qr=r;const{props:n,children:t}=e.vnode,d=Cd(e);Ti(e,n,d,r),Mi(e,t);const s=d?Zi(e,r):void 0;return qr=!1,s}function Zi(e,r){const n=e.type;e.accessCache=Object.create(null),e.proxy=Yu(new Proxy(e.ctx,ki));const{setup:t}=n;if(t){const d=e.setupContext=t.length>1?Yi(e):null;Pr(e),Ar();const s=Qe(t,e,0,[e.props,d]);if(Tr(),lr(),Nu(s)){if(s.then(lr,lr),r)return s.then(a=>{iu(e,a,r)}).catch(a=>{Ct(a,e,0)});e.asyncDep=s}else iu(e,s,r)}else Sd(e,r)}function iu(e,r,n){X(r)?e.type.__ssrInlineRender?e.ssrRender=r:e.render=r:ae(r)&&(e.setupState=ed(r)),Sd(e,n)}let ou;function Sd(e,r,n){const t=e.type;if(!e.render){if(!r&&ou&&!t.render){const d=t.template||jn(e).template;if(d){const{isCustomElement:s,compilerOptions:a}=e.appContext.config,{delimiters:c,compilerOptions:h}=t,g=Ee(Ee({isCustomElement:s,delimiters:c},a),h);t.render=ou(d,g)}}e.render=t.render||ze}Pr(e),Ar(),Ei(e),Tr(),lr()}function Xi(e){return new Proxy(e.attrs,{get(r,n){return Se(e,"get","$attrs"),r[n]}})}function Yi(e){const r=t=>{e.exposed=t||{}};let n;return{get attrs(){return n||(n=Xi(e))},slots:e.slots,emit:e.emit,expose:r}}function jt(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ed(Yu(e.exposed)),{get(r,n){if(n in r)return r[n];if(n in Nr)return Nr[n](e)},has(r,n){return n in r||n in Nr}}))}function Qi(e){return X(e)&&"__vccOpts"in e}const hr=(e,r)=>Js(e,r,qr);function au(e,r,n){const t=arguments.length;return t===2?ae(r)&&!J(r)?un(r)?Ce(e,null,[r]):Ce(e,r):Ce(e,null,r):(t>3?n=Array.prototype.slice.call(arguments,2):t===3&&un(n)&&(n=[n]),Ce(e,r,n))}const xi=Symbol(""),eo=()=>dt(xi),ro="3.2.47",to="http://www.w3.org/2000/svg",or=typeof document<"u"?document:null,cu=or&&or.createElement("template"),no={insert:(e,r,n)=>{r.insertBefore(e,n||null)},remove:e=>{const r=e.parentNode;r&&r.removeChild(e)},createElement:(e,r,n,t)=>{const d=r?or.createElementNS(to,e):or.createElement(e,n?{is:n}:void 0);return e==="select"&&t&&t.multiple!=null&&d.setAttribute("multiple",t.multiple),d},createText:e=>or.createTextNode(e),createComment:e=>or.createComment(e),setText:(e,r)=>{e.nodeValue=r},setElementText:(e,r)=>{e.textContent=r},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>or.querySelector(e),setScopeId(e,r){e.setAttribute(r,"")},insertStaticContent(e,r,n,t,d,s){const a=n?n.previousSibling:r.lastChild;if(d&&(d===s||d.nextSibling))for(;r.insertBefore(d.cloneNode(!0),n),!(d===s||!(d=d.nextSibling)););else{cu.innerHTML=t?`${e}`:e;const c=cu.content;if(t){const h=c.firstChild;for(;h.firstChild;)c.appendChild(h.firstChild);c.removeChild(h)}r.insertBefore(c,n)}return[a?a.nextSibling:r.firstChild,n?n.previousSibling:r.lastChild]}};function uo(e,r,n){const t=e._vtc;t&&(r=(r?[r,...t]:[...t]).join(" ")),r==null?e.removeAttribute("class"):n?e.setAttribute("class",r):e.className=r}function so(e,r,n){const t=e.style,d=ge(n);if(n&&!d){if(r&&!ge(r))for(const s in r)n[s]==null&&dn(t,s,"");for(const s in n)dn(t,s,n[s])}else{const s=t.display;d?r!==n&&(t.cssText=n):r&&e.removeAttribute("style"),"_vod"in e&&(t.display=s)}}const fu=/\s*!important$/;function dn(e,r,n){if(J(n))n.forEach(t=>dn(e,r,t));else if(n==null&&(n=""),r.startsWith("--"))e.setProperty(r,n);else{const t=io(e,r);fu.test(n)?e.setProperty(Sr(t),n.replace(fu,""),"important"):e[t]=n}}const lu=["Webkit","Moz","ms"],Dt={};function io(e,r){const n=Dt[r];if(n)return n;let t=vr(r);if(t!=="filter"&&t in e)return Dt[r]=t;t=Fu(t);for(let d=0;dUt||(ho.then(()=>Ut=0),Ut=Date.now());function mo(e,r){const n=t=>{if(!t._vts)t._vts=Date.now();else if(t._vts<=n.attached)return;Ne(_o(t,n.value),r,5,[t])};return n.value=e,n.attached=po(),n}function _o(e,r){if(J(r)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},r.map(t=>d=>!d._stopped&&t&&t(d))}else return r}const mu=/^on[a-z]/,go=(e,r,n,t,d=!1,s,a,c,h)=>{r==="class"?uo(e,t,d):r==="style"?so(e,n,t):vt(r)?_n(r)||fo(e,r,n,t,a):(r[0]==="."?(r=r.slice(1),!0):r[0]==="^"?(r=r.slice(1),!1):bo(e,r,t,d))?ao(e,r,t,s,a,c,h):(r==="true-value"?e._trueValue=t:r==="false-value"&&(e._falseValue=t),oo(e,r,t,d))};function bo(e,r,n,t){return t?!!(r==="innerHTML"||r==="textContent"||r in e&&mu.test(r)&&X(n)):r==="spellcheck"||r==="draggable"||r==="translate"||r==="form"||r==="list"&&e.tagName==="INPUT"||r==="type"&&e.tagName==="TEXTAREA"||mu.test(r)&&ge(n)?!1:r in e}const gt=e=>{const r=e.props["onUpdate:modelValue"]||!1;return J(r)?n=>ut(r,n):r};function wo(e){e.target.composing=!0}function _u(e){const r=e.target;r.composing&&(r.composing=!1,r.dispatchEvent(new Event("input")))}const gu={created(e,{modifiers:{lazy:r,trim:n,number:t}},d){e._assign=gt(d);const s=t||d.props&&d.props.type==="number";ar(e,r?"change":"input",a=>{if(a.target.composing)return;let c=e.value;n&&(c=c.trim()),s&&(c=Wt(c)),e._assign(c)}),n&&ar(e,"change",()=>{e.value=e.value.trim()}),r||(ar(e,"compositionstart",wo),ar(e,"compositionend",_u),ar(e,"change",_u))},mounted(e,{value:r}){e.value=r??""},beforeUpdate(e,{value:r,modifiers:{lazy:n,trim:t,number:d}},s){if(e._assign=gt(s),e.composing||document.activeElement===e&&e.type!=="range"&&(n||t&&e.value.trim()===r||(d||e.type==="number")&&Wt(e.value)===r))return;const a=r??"";e.value!==a&&(e.value=a)}},yo={deep:!0,created(e,r,n){e._assign=gt(n),ar(e,"change",()=>{const t=e._modelValue,d=vo(e),s=e.checked,a=e._assign;if(J(t)){const c=Lu(t,d),h=c!==-1;if(s&&!h)a(t.concat(d));else if(!s&&h){const g=[...t];g.splice(c,1),a(g)}}else if(kt(t)){const c=new Set(t);s?c.add(d):c.delete(d),a(c)}else a(Ad(e,s))})},mounted:bu,beforeUpdate(e,r,n){e._assign=gt(n),bu(e,r,n)}};function bu(e,{value:r,oldValue:n},t){e._modelValue=r,J(r)?e.checked=Lu(r,t.props.value)>-1:kt(r)?e.checked=r.has(t.props.value):r!==n&&(e.checked=yt(r,Ad(e,!0)))}function vo(e){return"_value"in e?e._value:e.value}function Ad(e,r){const n=r?"_trueValue":"_falseValue";return n in e?e[n]:r}const ko=Ee({patchProp:go},no);let wu;function Eo(){return wu||(wu=Ni(ko))}const Po=(...e)=>{const r=Eo().createApp(...e),{mount:n}=r;return r.mount=t=>{const d=Co(t);if(!d)return;const s=r._component;!X(s)&&!s.render&&!s.template&&(s.template=d.innerHTML),d.innerHTML="";const a=n(d,!1,d instanceof SVGElement);return d instanceof Element&&(d.removeAttribute("v-cloak"),d.setAttribute("data-v-app","")),a},r};function Co(e){return ge(e)?document.querySelector(e):e}var So=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},sn={},Ao={get exports(){return sn},set exports(e){sn=e}};(function(e){(function(){function r(u){var o={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:`Remove only spaces, ' and " from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids`,type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,describe:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,describe:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,describe:"Parses simple line breaks as
(GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,describe:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,describe:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",describe:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,describe:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,describe:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,describe:"Support for HTML Tag escaping. ex:
foo
",type:"boolean"},emoji:{defaultValue:!1,describe:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,describe:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``",type:"boolean"},ellipsis:{defaultValue:!0,describe:"Replaces three dots with the ellipsis unicode character",type:"boolean"},completeHTMLDocument:{defaultValue:!1,describe:"Outputs a complete html document, including ``, `` and `` tags",type:"boolean"},metadata:{defaultValue:!1,describe:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,describe:"Split adjacent blockquote blocks",type:"boolean"}};if(u===!1)return JSON.parse(JSON.stringify(o));var i={};for(var f in o)o.hasOwnProperty(f)&&(i[f]=o[f].defaultValue);return i}function n(){var u=r(!0),o={};for(var i in u)u.hasOwnProperty(i)&&(o[i]=!0);return o}var t={},d={},s={},a=r(!0),c="vanilla",h={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:r(!0),allOn:n()};t.helper={},t.extensions={},t.setOption=function(u,o){return a[u]=o,this},t.getOption=function(u){return a[u]},t.getOptions=function(){return a},t.resetOptions=function(){a=r(!0)},t.setFlavor=function(u){if(!h.hasOwnProperty(u))throw Error(u+" flavor was not found");t.resetOptions();var o=h[u];c=u;for(var i in o)o.hasOwnProperty(i)&&(a[i]=o[i])},t.getFlavor=function(){return c},t.getFlavorOptions=function(u){if(h.hasOwnProperty(u))return h[u]},t.getDefaultOptions=function(u){return r(u)},t.subParser=function(u,o){if(t.helper.isString(u))if(typeof o<"u")d[u]=o;else{if(d.hasOwnProperty(u))return d[u];throw Error("SubParser named "+u+" not registered!")}},t.extension=function(u,o){if(!t.helper.isString(u))throw Error("Extension 'name' must be a string");if(u=t.helper.stdExtName(u),t.helper.isUndefined(o)){if(!s.hasOwnProperty(u))throw Error("Extension named "+u+" is not registered!");return s[u]}else{typeof o=="function"&&(o=o()),t.helper.isArray(o)||(o=[o]);var i=g(o,u);if(i.valid)s[u]=o;else throw Error(i.error)}},t.getAllExtensions=function(){return s},t.removeExtension=function(u){delete s[u]},t.resetExtensions=function(){s={}};function g(u,o){var i=o?"Error in "+o+" extension->":"Error in unnamed extension",f={valid:!0,error:""};t.helper.isArray(u)||(u=[u]);for(var _=0;_"u"},t.helper.forEach=function(u,o){if(t.helper.isUndefined(u))throw new Error("obj param is required");if(t.helper.isUndefined(o))throw new Error("callback param is required");if(!t.helper.isFunction(o))throw new Error("callback param must be a function/closure");if(typeof u.forEach=="function")u.forEach(o);else if(t.helper.isArray(u))for(var i=0;i").replace(/&/g,"&")};var C=function(u,o,i,f){var _=f||"",w=_.indexOf("g")>-1,p=new RegExp(o+"|"+i,"g"+_.replace(/g/g,"")),y=new RegExp(o,_.replace(/g/g,"")),N=[],j,T,M,l,E;do for(j=0;M=p.exec(u);)if(y.test(M[0]))j++||(T=p.lastIndex,l=T-M[0].length);else if(j&&!--j){E=M.index+M[0].length;var R={left:{start:l,end:T},match:{start:T,end:M.index},right:{start:M.index,end:E},wholeMatch:{start:l,end:E}};if(N.push(R),!w)return N}while(j&&(p.lastIndex=T));return N};t.helper.matchRecursiveRegExp=function(u,o,i,f){for(var _=C(u,o,i,f),w=[],p=0;p<_.length;++p)w.push([u.slice(_[p].wholeMatch.start,_[p].wholeMatch.end),u.slice(_[p].match.start,_[p].match.end),u.slice(_[p].left.start,_[p].left.end),u.slice(_[p].right.start,_[p].right.end)]);return w},t.helper.replaceRecursiveRegExp=function(u,o,i,f,_){if(!t.helper.isFunction(o)){var w=o;o=function(){return w}}var p=C(u,i,f,_),y=u,N=p.length;if(N>0){var j=[];p[0].wholeMatch.start!==0&&j.push(u.slice(0,p[0].wholeMatch.start));for(var T=0;T=0?f+(i||0):f},t.helper.splitAtIndex=function(u,o){if(!t.helper.isString(u))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[u.substring(0,o),u.substring(o)]},t.helper.encodeEmailAddress=function(u){var o=[function(i){return"&#"+i.charCodeAt(0)+";"},function(i){return"&#x"+i.charCodeAt(0).toString(16)+";"},function(i){return i}];return u=u.replace(/./g,function(i){if(i==="@")i=o[Math.floor(Math.random()*2)](i);else{var f=Math.random();i=f>.9?o[2](i):f>.45?o[1](i):o[0](i)}return i}),u},t.helper.padEnd=function(o,i,f){return i=i>>0,f=String(f||" "),o.length>i?String(o):(i=i-o.length,i>f.length&&(f+=f.repeat(i/f.length)),String(o)+f.slice(0,i))},typeof console>"u"&&(console={warn:function(u){alert(u)},log:function(u){alert(u)},error:function(u){throw u}}),t.helper.regexes={asteriskDashAndColon:/([*_:~])/g},t.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",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:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",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:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇‍♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",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:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_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:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯‍♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",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:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",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_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:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍‍♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",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_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",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:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵‍♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅‍♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆‍♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",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:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",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:"🦑",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:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁‍♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶‍♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️‍♀️",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:"🔳",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:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:':octocat:',showdown:`S`},t.Converter=function(u){var o={},i=[],f=[],_={},w=c,p={parsed:{},raw:"",format:""};y();function y(){u=u||{};for(var l in a)a.hasOwnProperty(l)&&(o[l]=a[l]);if(typeof u=="object")for(var E in u)u.hasOwnProperty(E)&&(o[E]=u[E]);else throw Error("Converter expects the passed parameter to be an object, but "+typeof u+" was passed instead.");o.extensions&&t.helper.forEach(o.extensions,N)}function N(l,E){if(E=E||null,t.helper.isString(l))if(l=t.helper.stdExtName(l),E=l,t.extensions[l]){console.warn("DEPRECATION WARNING: "+l+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),j(t.extensions[l],l);return}else if(!t.helper.isUndefined(s[l]))l=s[l];else throw Error('Extension "'+l+'" could not be loaded. It was either not found or is not a valid extension.');typeof l=="function"&&(l=l()),t.helper.isArray(l)||(l=[l]);var R=g(l,E);if(!R.valid)throw Error(R.error);for(var $=0;$[ \t]+¨NBSP;<"),!E)if(window&&window.document)E=window.document;else throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");var R=E.createElement("div");R.innerHTML=l;var $={preList:Ae(R)};be(R);for(var Q=R.childNodes,q="",de=0;de'}else he.push(ie[we].innerHTML),ie[we].innerHTML="",ie[we].setAttribute("prenum",we.toString());return he}return q},this.setOption=function(l,E){o[l]=E},this.getOption=function(l){return o[l]},this.getOptions=function(){return o},this.addExtension=function(l,E){E=E||null,N(l,E)},this.useExtension=function(l){N(l)},this.setFlavor=function(l){if(!h.hasOwnProperty(l))throw Error(l+" flavor was not found");var E=h[l];w=l;for(var R in E)E.hasOwnProperty(R)&&(o[R]=E[R])},this.getFlavor=function(){return w},this.removeExtension=function(l){t.helper.isArray(l)||(l=[l]);for(var E=0;E? ?(['"].*['"])?\)$/m)>-1)y="";else if(!y)if(p||(p=w.toLowerCase().replace(/ ?\n/g," ")),y="#"+p,!t.helper.isUndefined(i.gUrls[p]))y=i.gUrls[p],t.helper.isUndefined(i.gTitles[p])||(T=i.gTitles[p]);else return _;y=y.replace(t.helper.regexes.asteriskDashAndColon,t.helper.escapeCharactersCallback);var M='",M};return u=u.replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,f),u=u.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,f),u=u.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]??(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,f),u=u.replace(/\[([^\[\]]+)]()()()()()/g,f),o.ghMentions&&(u=u.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gmi,function(_,w,p,y,N){if(p==="\\")return w+y;if(!t.helper.isString(o.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var j=o.ghMentionsLink.replace(/\{u}/g,N),T="";return o.openLinksInNewWindow&&(T=' rel="noopener noreferrer" target="¨E95Eblank"'),w+'"+y+""})),u=i.converter._dispatch("anchors.after",u,o,i),u});var F=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,U=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,B=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,L=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gmi,ee=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,Y=function(u){return function(o,i,f,_,w,p,y){f=f.replace(t.helper.regexes.asteriskDashAndColon,t.helper.escapeCharactersCallback);var N=f,j="",T="",M=i||"",l=y||"";return/^www\./i.test(f)&&(f=f.replace(/^www\./i,"http://www.")),u.excludeTrailingPunctuationFromURLs&&p&&(j=p),u.openLinksInNewWindow&&(T=' rel="noopener noreferrer" target="¨E95Eblank"'),M+'"+N+""+j+l}},_e=function(u,o){return function(i,f,_){var w="mailto:";return f=f||"",_=t.subParser("unescapeSpecialChars")(_,u,o),u.encodeEmails?(w=t.helper.encodeEmailAddress(w+_),_=t.helper.encodeEmailAddress(_)):w=w+_,f+''+_+""}};t.subParser("autoLinks",function(u,o,i){return u=i.converter._dispatch("autoLinks.before",u,o,i),u=u.replace(B,Y(o)),u=u.replace(ee,_e(o,i)),u=i.converter._dispatch("autoLinks.after",u,o,i),u}),t.subParser("simplifiedAutoLinks",function(u,o,i){return o.simplifiedAutoLink&&(u=i.converter._dispatch("simplifiedAutoLinks.before",u,o,i),o.excludeTrailingPunctuationFromURLs?u=u.replace(U,Y(o)):u=u.replace(F,Y(o)),u=u.replace(L,_e(o,i)),u=i.converter._dispatch("simplifiedAutoLinks.after",u,o,i)),u}),t.subParser("blockGamut",function(u,o,i){return u=i.converter._dispatch("blockGamut.before",u,o,i),u=t.subParser("blockQuotes")(u,o,i),u=t.subParser("headers")(u,o,i),u=t.subParser("horizontalRule")(u,o,i),u=t.subParser("lists")(u,o,i),u=t.subParser("codeBlocks")(u,o,i),u=t.subParser("tables")(u,o,i),u=t.subParser("hashHTMLBlocks")(u,o,i),u=t.subParser("paragraphs")(u,o,i),u=i.converter._dispatch("blockGamut.after",u,o,i),u}),t.subParser("blockQuotes",function(u,o,i){u=i.converter._dispatch("blockQuotes.before",u,o,i),u=u+` - -`;var f=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return o.splitAdjacentBlockquotes&&(f=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),u=u.replace(f,function(_){return _=_.replace(/^[ \t]*>[ \t]?/gm,""),_=_.replace(/¨0/g,""),_=_.replace(/^[ \t]+$/gm,""),_=t.subParser("githubCodeBlocks")(_,o,i),_=t.subParser("blockGamut")(_,o,i),_=_.replace(/(^|\n)/g,"$1 "),_=_.replace(/(\s*
[^\r]+?<\/pre>)/gm,function(w,p){var y=p;return y=y.replace(/^  /mg,"¨0"),y=y.replace(/¨0/g,""),y}),t.subParser("hashBlock")(`
-`+_+` -
`,o,i)}),u=i.converter._dispatch("blockQuotes.after",u,o,i),u}),t.subParser("codeBlocks",function(u,o,i){u=i.converter._dispatch("codeBlocks.before",u,o,i),u+="¨0";var f=/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g;return u=u.replace(f,function(_,w,p){var y=w,N=p,j=` -`;return y=t.subParser("outdent")(y,o,i),y=t.subParser("encodeCode")(y,o,i),y=t.subParser("detab")(y,o,i),y=y.replace(/^\n+/g,""),y=y.replace(/\n+$/g,""),o.omitExtraWLInCodeBlocks&&(j=""),y="
"+y+j+"
",t.subParser("hashBlock")(y,o,i)+N}),u=u.replace(/¨0/,""),u=i.converter._dispatch("codeBlocks.after",u,o,i),u}),t.subParser("codeSpans",function(u,o,i){return u=i.converter._dispatch("codeSpans.before",u,o,i),typeof u>"u"&&(u=""),u=u.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(f,_,w,p){var y=p;return y=y.replace(/^([ \t]*)/g,""),y=y.replace(/[ \t]*$/g,""),y=t.subParser("encodeCode")(y,o,i),y=_+""+y+"",y=t.subParser("hashHTMLSpans")(y,o,i),y}),u=i.converter._dispatch("codeSpans.after",u,o,i),u}),t.subParser("completeHTMLDocument",function(u,o,i){if(!o.completeHTMLDocument)return u;u=i.converter._dispatch("completeHTMLDocument.before",u,o,i);var f="html",_=` -`,w="",p=` -`,y="",N="";typeof i.metadata.parsed.doctype<"u"&&(_=" -`,f=i.metadata.parsed.doctype.toString().toLowerCase(),(f==="html"||f==="html5")&&(p=''));for(var j in i.metadata.parsed)if(i.metadata.parsed.hasOwnProperty(j))switch(j.toLowerCase()){case"doctype":break;case"title":w=""+i.metadata.parsed.title+` -`;break;case"charset":f==="html"||f==="html5"?p=' -`:p=' -`;break;case"language":case"lang":y=' lang="'+i.metadata.parsed[j]+'"',N+=' -`;break;default:N+=' -`}return u=_+" - -`+w+p+N+` - -`+u.trim()+` - -`,u=i.converter._dispatch("completeHTMLDocument.after",u,o,i),u}),t.subParser("detab",function(u,o,i){return u=i.converter._dispatch("detab.before",u,o,i),u=u.replace(/\t(?=\t)/g," "),u=u.replace(/\t/g,"¨A¨B"),u=u.replace(/¨B(.+?)¨A/g,function(f,_){for(var w=_,p=4-w.length%4,y=0;y/g,">"),u=i.converter._dispatch("encodeAmpsAndAngles.after",u,o,i),u}),t.subParser("encodeBackslashEscapes",function(u,o,i){return u=i.converter._dispatch("encodeBackslashEscapes.before",u,o,i),u=u.replace(/\\(\\)/g,t.helper.escapeCharactersCallback),u=u.replace(/\\([`*_{}\[\]()>#+.!~=|:-])/g,t.helper.escapeCharactersCallback),u=i.converter._dispatch("encodeBackslashEscapes.after",u,o,i),u}),t.subParser("encodeCode",function(u,o,i){return u=i.converter._dispatch("encodeCode.before",u,o,i),u=u.replace(/&/g,"&").replace(//g,">").replace(/([*_{}\[\]\\=~-])/g,t.helper.escapeCharactersCallback),u=i.converter._dispatch("encodeCode.after",u,o,i),u}),t.subParser("escapeSpecialCharsWithinTagAttributes",function(u,o,i){u=i.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",u,o,i);var f=/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,_=/-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;return u=u.replace(f,function(w){return w.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,t.helper.escapeCharactersCallback)}),u=u.replace(_,function(w){return w.replace(/([\\`*_~=|])/g,t.helper.escapeCharactersCallback)}),u=i.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",u,o,i),u}),t.subParser("githubCodeBlocks",function(u,o,i){return o.ghCodeBlocks?(u=i.converter._dispatch("githubCodeBlocks.before",u,o,i),u+="¨0",u=u.replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(f,_,w,p){var y=o.omitExtraWLInCodeBlocks?"":` -`;return p=t.subParser("encodeCode")(p,o,i),p=t.subParser("detab")(p,o,i),p=p.replace(/^\n+/g,""),p=p.replace(/\n+$/g,""),p="
"+p+y+"
",p=t.subParser("hashBlock")(p,o,i),` - -¨G`+(i.ghCodeBlocks.push({text:f,codeblock:p})-1)+`G - -`}),u=u.replace(/¨0/,""),i.converter._dispatch("githubCodeBlocks.after",u,o,i)):u}),t.subParser("hashBlock",function(u,o,i){return u=i.converter._dispatch("hashBlock.before",u,o,i),u=u.replace(/(^\n+|\n+$)/g,""),u=` - -¨K`+(i.gHtmlBlocks.push(u)-1)+`K - -`,u=i.converter._dispatch("hashBlock.after",u,o,i),u}),t.subParser("hashCodeTags",function(u,o,i){u=i.converter._dispatch("hashCodeTags.before",u,o,i);var f=function(_,w,p,y){var N=p+t.subParser("encodeCode")(w,o,i)+y;return"¨C"+(i.gHtmlSpans.push(N)-1)+"C"};return u=t.helper.replaceRecursiveRegExp(u,f,"]*>","","gim"),u=i.converter._dispatch("hashCodeTags.after",u,o,i),u}),t.subParser("hashElement",function(u,o,i){return function(f,_){var w=_;return w=w.replace(/\n\n/g,` -`),w=w.replace(/^\n/,""),w=w.replace(/\n+$/g,""),w=` - -¨K`+(i.gHtmlBlocks.push(w)-1)+`K - -`,w}}),t.subParser("hashHTMLBlocks",function(u,o,i){u=i.converter._dispatch("hashHTMLBlocks.before",u,o,i);var f=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],_=function(l,E,R,$){var Q=l;return R.search(/\bmarkdown\b/)!==-1&&(Q=R+i.converter.makeHtml(E)+$),` - -¨K`+(i.gHtmlBlocks.push(Q)-1)+`K - -`};o.backslashEscapesHTMLTags&&(u=u.replace(/\\<(\/?[^>]+?)>/g,function(l,E){return"<"+E+">"}));for(var w=0;w]*>)","im"),N="<"+f[w]+"\\b[^>]*>",j="";(p=t.helper.regexIndexOf(u,y))!==-1;){var T=t.helper.splitAtIndex(u,p),M=t.helper.replaceRecursiveRegExp(T[1],_,N,j,"im");if(M===T[1])break;u=T[0].concat(M)}return u=u.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,t.subParser("hashElement")(u,o,i)),u=t.helper.replaceRecursiveRegExp(u,function(l){return` - -¨K`+(i.gHtmlBlocks.push(l)-1)+`K - -`},"^ {0,3}","gm"),u=u.replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,t.subParser("hashElement")(u,o,i)),u=i.converter._dispatch("hashHTMLBlocks.after",u,o,i),u}),t.subParser("hashHTMLSpans",function(u,o,i){u=i.converter._dispatch("hashHTMLSpans.before",u,o,i);function f(_){return"¨C"+(i.gHtmlSpans.push(_)-1)+"C"}return u=u.replace(/<[^>]+?\/>/gi,function(_){return f(_)}),u=u.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(_){return f(_)}),u=u.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(_){return f(_)}),u=u.replace(/<[^>]+?>/gi,function(_){return f(_)}),u=i.converter._dispatch("hashHTMLSpans.after",u,o,i),u}),t.subParser("unhashHTMLSpans",function(u,o,i){u=i.converter._dispatch("unhashHTMLSpans.before",u,o,i);for(var f=0;f]*>\\s*]*>","^ {0,3}\\s*
","gim"),u=i.converter._dispatch("hashPreCodeTags.after",u,o,i),u}),t.subParser("headers",function(u,o,i){u=i.converter._dispatch("headers.before",u,o,i);var f=isNaN(parseInt(o.headerLevelStart))?1:parseInt(o.headerLevelStart),_=o.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,w=o.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;u=u.replace(_,function(N,j){var T=t.subParser("spanGamut")(j,o,i),M=o.noHeaderId?"":' id="'+y(j)+'"',l=f,E=""+T+"";return t.subParser("hashBlock")(E,o,i)}),u=u.replace(w,function(N,j){var T=t.subParser("spanGamut")(j,o,i),M=o.noHeaderId?"":' id="'+y(j)+'"',l=f+1,E=""+T+"";return t.subParser("hashBlock")(E,o,i)});var p=o.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;u=u.replace(p,function(N,j,T){var M=T;o.customizedHeaderId&&(M=T.replace(/\s?\{([^{]+?)}\s*$/,""));var l=t.subParser("spanGamut")(M,o,i),E=o.noHeaderId?"":' id="'+y(T)+'"',R=f-1+j.length,$=""+l+"";return t.subParser("hashBlock")($,o,i)});function y(N){var j,T;if(o.customizedHeaderId){var M=N.match(/\{([^{]+?)}\s*$/);M&&M[1]&&(N=M[1])}return j=N,t.helper.isString(o.prefixHeaderId)?T=o.prefixHeaderId:o.prefixHeaderId===!0?T="section-":T="",o.rawPrefixHeaderId||(j=T+j),o.ghCompatibleHeaderId?j=j.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():o.rawHeaderId?j=j.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():j=j.replace(/[^\w]/g,"").toLowerCase(),o.rawPrefixHeaderId&&(j=T+j),i.hashLinkCounts[j]?j=j+"-"+i.hashLinkCounts[j]++:i.hashLinkCounts[j]=1,j}return u=i.converter._dispatch("headers.after",u,o,i),u}),t.subParser("horizontalRule",function(u,o,i){u=i.converter._dispatch("horizontalRule.before",u,o,i);var f=t.subParser("hashBlock")("
",o,i);return u=u.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,f),u=u.replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,f),u=u.replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,f),u=i.converter._dispatch("horizontalRule.after",u,o,i),u}),t.subParser("images",function(u,o,i){u=i.converter._dispatch("images.before",u,o,i);var f=/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,_=/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,w=/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,p=/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,y=/!\[([^\[\]]+)]()()()()()/g;function N(T,M,l,E,R,$,Q,q){return E=E.replace(/\s/g,""),j(T,M,l,E,R,$,Q,q)}function j(T,M,l,E,R,$,Q,q){var de=i.gUrls,be=i.gTitles,Ae=i.gDimensions;if(l=l.toLowerCase(),q||(q=""),T.search(/\(? ?(['"].*['"])?\)$/m)>-1)E="";else if(E===""||E===null)if((l===""||l===null)&&(l=M.toLowerCase().replace(/ ?\n/g," ")),E="#"+l,!t.helper.isUndefined(de[l]))E=de[l],t.helper.isUndefined(be[l])||(q=be[l]),t.helper.isUndefined(Ae[l])||(R=Ae[l].width,$=Ae[l].height);else return T;M=M.replace(/"/g,""").replace(t.helper.regexes.asteriskDashAndColon,t.helper.escapeCharactersCallback),E=E.replace(t.helper.regexes.asteriskDashAndColon,t.helper.escapeCharactersCallback);var le=''+M+'","
")}),u=u.replace(/\b__(\S[\s\S]*?)__\b/g,function(_,w){return f(w,"","")}),u=u.replace(/\b_(\S[\s\S]*?)_\b/g,function(_,w){return f(w,"","")})):(u=u.replace(/___(\S[\s\S]*?)___/g,function(_,w){return/\S$/.test(w)?f(w,"",""):_}),u=u.replace(/__(\S[\s\S]*?)__/g,function(_,w){return/\S$/.test(w)?f(w,"",""):_}),u=u.replace(/_([^\s_][\s\S]*?)_/g,function(_,w){return/\S$/.test(w)?f(w,"",""):_})),o.literalMidWordAsterisks?(u=u.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(_,w,p){return f(p,w+"","")}),u=u.replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(_,w,p){return f(p,w+"","")}),u=u.replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(_,w,p){return f(p,w+"","")})):(u=u.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(_,w){return/\S$/.test(w)?f(w,"",""):_}),u=u.replace(/\*\*(\S[\s\S]*?)\*\*/g,function(_,w){return/\S$/.test(w)?f(w,"",""):_}),u=u.replace(/\*([^\s*][\s\S]*?)\*/g,function(_,w){return/\S$/.test(w)?f(w,"",""):_})),u=i.converter._dispatch("italicsAndBold.after",u,o,i),u}),t.subParser("lists",function(u,o,i){function f(p,y){i.gListLevel++,p=p.replace(/\n{2,}$/,` -`),p+="¨0";var N=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,j=/\n[ \t]*\n(?!¨0)/.test(p);return o.disableForced4SpacesIndentedSublists&&(N=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),p=p.replace(N,function(T,M,l,E,R,$,Q){Q=Q&&Q.trim()!=="";var q=t.subParser("outdent")(R,o,i),de="";return $&&o.tasklists&&(de=' class="task-list-item" style="list-style-type: none;"',q=q.replace(/^[ \t]*\[(x|X| )?]/m,function(){var be='-1?(q=t.subParser("githubCodeBlocks")(q,o,i),q=t.subParser("blockGamut")(q,o,i)):(q=t.subParser("lists")(q,o,i),q=q.replace(/\n$/,""),q=t.subParser("hashHTMLBlocks")(q,o,i),q=q.replace(/\n\n+/g,` - -`),j?q=t.subParser("paragraphs")(q,o,i):q=t.subParser("spanGamut")(q,o,i)),q=q.replace("¨A",""),q=""+q+` -`,q}),p=p.replace(/¨0/g,""),i.gListLevel--,y&&(p=p.replace(/\s+$/,"")),p}function _(p,y){if(y==="ol"){var N=p.match(/^ *(\d+)\./);if(N&&N[1]!=="1")return' start="'+N[1]+'"'}return""}function w(p,y,N){var j=o.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,T=o.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,M=y==="ul"?j:T,l="";if(p.search(M)!==-1)(function R($){var Q=$.search(M),q=_(p,y);Q!==-1?(l+=` - -<`+y+q+`> -`+f($.slice(0,Q),!!N)+" -`,y=y==="ul"?"ol":"ul",M=y==="ul"?j:T,R($.slice(Q))):l+=` - -<`+y+q+`> -`+f($,!!N)+" -`})(p);else{var E=_(p,y);l=` - -<`+y+E+`> -`+f(p,!!N)+" -`}return l}return u=i.converter._dispatch("lists.before",u,o,i),u+="¨0",i.gListLevel?u=u.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(p,y,N){var j=N.search(/[*+-]/g)>-1?"ul":"ol";return w(y,j,!0)}):u=u.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(p,y,N,j){var T=j.search(/[*+-]/g)>-1?"ul":"ol";return w(N,T,!1)}),u=u.replace(/¨0/,""),u=i.converter._dispatch("lists.after",u,o,i),u}),t.subParser("metadata",function(u,o,i){if(!o.metadata)return u;u=i.converter._dispatch("metadata.before",u,o,i);function f(_){i.metadata.raw=_,_=_.replace(/&/g,"&").replace(/"/g,"""),_=_.replace(/\n {4}/g," "),_.replace(/^([\S ]+): +([\s\S]+?)$/gm,function(w,p,y){return i.metadata.parsed[p]=y,""})}return u=u.replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,function(_,w,p){return f(p),"¨M"}),u=u.replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(_,w,p){return w&&(i.metadata.format=w),f(p),"¨M"}),u=u.replace(/¨M/g,""),u=i.converter._dispatch("metadata.after",u,o,i),u}),t.subParser("outdent",function(u,o,i){return u=i.converter._dispatch("outdent.before",u,o,i),u=u.replace(/^(\t|[ ]{1,4})/gm,"¨0"),u=u.replace(/¨0/g,""),u=i.converter._dispatch("outdent.after",u,o,i),u}),t.subParser("paragraphs",function(u,o,i){u=i.converter._dispatch("paragraphs.before",u,o,i),u=u.replace(/^\n+/g,""),u=u.replace(/\n+$/g,"");for(var f=u.split(/\n{2,}/g),_=[],w=f.length,p=0;p=0?_.push(y):y.search(/\S/)>=0&&(y=t.subParser("spanGamut")(y,o,i),y=y.replace(/^([ \t]*)/g,"

"),y+="

",_.push(y))}for(w=_.length,p=0;p]*>\s*]*>/.test(j)&&(T=!0)}_[p]=j}return u=_.join(` -`),u=u.replace(/^\n+/g,""),u=u.replace(/\n+$/g,""),i.converter._dispatch("paragraphs.after",u,o,i)}),t.subParser("runExtension",function(u,o,i,f){if(u.filter)o=u.filter(o,f.converter,i);else if(u.regex){var _=u.regex;_ instanceof RegExp||(_=new RegExp(_,"g")),o=o.replace(_,u.replace)}return o}),t.subParser("spanGamut",function(u,o,i){return u=i.converter._dispatch("spanGamut.before",u,o,i),u=t.subParser("codeSpans")(u,o,i),u=t.subParser("escapeSpecialCharsWithinTagAttributes")(u,o,i),u=t.subParser("encodeBackslashEscapes")(u,o,i),u=t.subParser("images")(u,o,i),u=t.subParser("anchors")(u,o,i),u=t.subParser("autoLinks")(u,o,i),u=t.subParser("simplifiedAutoLinks")(u,o,i),u=t.subParser("emoji")(u,o,i),u=t.subParser("underline")(u,o,i),u=t.subParser("italicsAndBold")(u,o,i),u=t.subParser("strikethrough")(u,o,i),u=t.subParser("ellipsis")(u,o,i),u=t.subParser("hashHTMLSpans")(u,o,i),u=t.subParser("encodeAmpsAndAngles")(u,o,i),o.simpleLineBreaks?/\n\n¨K/.test(u)||(u=u.replace(/\n+/g,`
-`)):u=u.replace(/ +\n/g,`
-`),u=i.converter._dispatch("spanGamut.after",u,o,i),u}),t.subParser("strikethrough",function(u,o,i){function f(_){return o.simplifiedAutoLink&&(_=t.subParser("simplifiedAutoLinks")(_,o,i)),""+_+""}return o.strikethrough&&(u=i.converter._dispatch("strikethrough.before",u,o,i),u=u.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(_,w){return f(w)}),u=i.converter._dispatch("strikethrough.after",u,o,i)),u}),t.subParser("stripLinkDefinitions",function(u,o,i){var f=/^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,_=/^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm;u+="¨0";var w=function(p,y,N,j,T,M,l){return y=y.toLowerCase(),u.toLowerCase().split(y).length-1<2?p:(N.match(/^data:.+?\/.+?;base64,/)?i.gUrls[y]=N.replace(/\s/g,""):i.gUrls[y]=t.subParser("encodeAmpsAndAngles")(N,o,i),M?M+l:(l&&(i.gTitles[y]=l.replace(/"|'/g,""")),o.parseImgDimensions&&j&&T&&(i.gDimensions[y]={width:j,height:T}),""))};return u=u.replace(_,w),u=u.replace(f,w),u=u.replace(/¨0/,""),u}),t.subParser("tables",function(u,o,i){if(!o.tables)return u;var f=/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,_=/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm;function w(T){return/^:[ \t]*--*$/.test(T)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(T)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(T)?' style="text-align:center;"':""}function p(T,M){var l="";return T=T.trim(),(o.tablesHeaderId||o.tableHeaderId)&&(l=' id="'+T.replace(/ /g,"_").toLowerCase()+'"'),T=t.subParser("spanGamut")(T,o,i),""+T+` -`}function y(T,M){var l=t.subParser("spanGamut")(T,o,i);return""+l+` -`}function N(T,M){for(var l=` - - -`,E=T.length,R=0;R - - -`,R=0;R -`;for(var $=0;$ -`}return l+=` -
-`,l}function j(T){var M,l=T.split(` -`);for(M=0;M"+_+""}),u=u.replace(/\b__(\S[\s\S]*?)__\b/g,function(f,_){return""+_+""})):(u=u.replace(/___(\S[\s\S]*?)___/g,function(f,_){return/\S$/.test(_)?""+_+"":f}),u=u.replace(/__(\S[\s\S]*?)__/g,function(f,_){return/\S$/.test(_)?""+_+"":f})),u=u.replace(/(_)/g,t.helper.escapeCharactersCallback),u=i.converter._dispatch("underline.after",u,o,i)),u}),t.subParser("unescapeSpecialChars",function(u,o,i){return u=i.converter._dispatch("unescapeSpecialChars.before",u,o,i),u=u.replace(/¨E(\d+)E/g,function(f,_){var w=parseInt(_);return String.fromCharCode(w)}),u=i.converter._dispatch("unescapeSpecialChars.after",u,o,i),u}),t.subParser("makeMarkdown.blockquote",function(u,o){var i="";if(u.hasChildNodes())for(var f=u.childNodes,_=f.length,w=0;w<_;++w){var p=t.subParser("makeMarkdown.node")(f[w],o);p!==""&&(i+=p)}return i=i.trim(),i="> "+i.split(` -`).join(` -> `),i}),t.subParser("makeMarkdown.codeBlock",function(u,o){var i=u.getAttribute("language"),f=u.getAttribute("precodenum");return"```"+i+` -`+o.preList[f]+"\n```"}),t.subParser("makeMarkdown.codeSpan",function(u){return"`"+u.innerHTML+"`"}),t.subParser("makeMarkdown.emphasis",function(u,o){var i="";if(u.hasChildNodes()){i+="*";for(var f=u.childNodes,_=f.length,w=0;w<_;++w)i+=t.subParser("makeMarkdown.node")(f[w],o);i+="*"}return i}),t.subParser("makeMarkdown.header",function(u,o,i){var f=new Array(i+1).join("#"),_="";if(u.hasChildNodes()){_=f+" ";for(var w=u.childNodes,p=w.length,y=0;y",u.hasAttribute("width")&&u.hasAttribute("height")&&(o+=" ="+u.getAttribute("width")+"x"+u.getAttribute("height")),u.hasAttribute("title")&&(o+=' "'+u.getAttribute("title")+'"'),o+=")"),o}),t.subParser("makeMarkdown.links",function(u,o){var i="";if(u.hasChildNodes()&&u.hasAttribute("href")){var f=u.childNodes,_=f.length;i="[";for(var w=0;w<_;++w)i+=t.subParser("makeMarkdown.node")(f[w],o);i+="](",i+="<"+u.getAttribute("href")+">",u.hasAttribute("title")&&(i+=' "'+u.getAttribute("title")+'"'),i+=")"}return i}),t.subParser("makeMarkdown.list",function(u,o,i){var f="";if(!u.hasChildNodes())return"";for(var _=u.childNodes,w=_.length,p=u.getAttribute("start")||1,y=0;y"u"||_[y].tagName.toLowerCase()!=="li")){var N="";i==="ol"?N=p.toString()+". ":N="- ",f+=N+t.subParser("makeMarkdown.listItem")(_[y],o),++p}return f+=` - -`,f.trim()}),t.subParser("makeMarkdown.listItem",function(u,o){for(var i="",f=u.childNodes,_=f.length,w=0;w<_;++w)i+=t.subParser("makeMarkdown.node")(f[w],o);return/\n$/.test(i)?i=i.split(` -`).join(` - `).replace(/^ {4}$/gm,"").replace(/\n\n+/g,` - -`):i+=` -`,i}),t.subParser("makeMarkdown.node",function(u,o,i){i=i||!1;var f="";if(u.nodeType===3)return t.subParser("makeMarkdown.txt")(u,o);if(u.nodeType===8)return" - -`;if(u.nodeType!==1)return"";var _=u.tagName.toLowerCase();switch(_){case"h1":i||(f=t.subParser("makeMarkdown.header")(u,o,1)+` - -`);break;case"h2":i||(f=t.subParser("makeMarkdown.header")(u,o,2)+` - -`);break;case"h3":i||(f=t.subParser("makeMarkdown.header")(u,o,3)+` - -`);break;case"h4":i||(f=t.subParser("makeMarkdown.header")(u,o,4)+` - -`);break;case"h5":i||(f=t.subParser("makeMarkdown.header")(u,o,5)+` - -`);break;case"h6":i||(f=t.subParser("makeMarkdown.header")(u,o,6)+` - -`);break;case"p":i||(f=t.subParser("makeMarkdown.paragraph")(u,o)+` - -`);break;case"blockquote":i||(f=t.subParser("makeMarkdown.blockquote")(u,o)+` - -`);break;case"hr":i||(f=t.subParser("makeMarkdown.hr")(u,o)+` - -`);break;case"ol":i||(f=t.subParser("makeMarkdown.list")(u,o,"ol")+` - -`);break;case"ul":i||(f=t.subParser("makeMarkdown.list")(u,o,"ul")+` - -`);break;case"precode":i||(f=t.subParser("makeMarkdown.codeBlock")(u,o)+` - -`);break;case"pre":i||(f=t.subParser("makeMarkdown.pre")(u,o)+` - -`);break;case"table":i||(f=t.subParser("makeMarkdown.table")(u,o)+` - -`);break;case"code":f=t.subParser("makeMarkdown.codeSpan")(u,o);break;case"em":case"i":f=t.subParser("makeMarkdown.emphasis")(u,o);break;case"strong":case"b":f=t.subParser("makeMarkdown.strong")(u,o);break;case"del":f=t.subParser("makeMarkdown.strikethrough")(u,o);break;case"a":f=t.subParser("makeMarkdown.links")(u,o);break;case"img":f=t.subParser("makeMarkdown.image")(u,o);break;default:f=u.outerHTML+` - -`}return f}),t.subParser("makeMarkdown.paragraph",function(u,o){var i="";if(u.hasChildNodes())for(var f=u.childNodes,_=f.length,w=0;w<_;++w)i+=t.subParser("makeMarkdown.node")(f[w],o);return i=i.trim(),i}),t.subParser("makeMarkdown.pre",function(u,o){var i=u.getAttribute("prenum");return"
"+o.preList[i]+"
"}),t.subParser("makeMarkdown.strikethrough",function(u,o){var i="";if(u.hasChildNodes()){i+="~~";for(var f=u.childNodes,_=f.length,w=0;w<_;++w)i+=t.subParser("makeMarkdown.node")(f[w],o);i+="~~"}return i}),t.subParser("makeMarkdown.strong",function(u,o){var i="";if(u.hasChildNodes()){i+="**";for(var f=u.childNodes,_=f.length,w=0;w<_;++w)i+=t.subParser("makeMarkdown.node")(f[w],o);i+="**"}return i}),t.subParser("makeMarkdown.table",function(u,o){var i="",f=[[],[]],_=u.querySelectorAll("thead>tr>th"),w=u.querySelectorAll("tbody>tr"),p,y;for(p=0;p<_.length;++p){var N=t.subParser("makeMarkdown.tableCell")(_[p],o),j="---";if(_[p].hasAttribute("style")){var T=_[p].getAttribute("style").toLowerCase().replace(/\s/g,"");switch(T){case"text-align:left;":j=":---";break;case"text-align:right;":j="---:";break;case"text-align:center;":j=":---:";break}}f[0][p]=N.trim(),f[1][p]=j}for(p=0;pR&&(R=$)}for(p=0;p/g,"\\$1>"),o=o.replace(/^#/gm,"\\#"),o=o.replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3"),o=o.replace(/^( {0,3}\d+)\./gm,"$1\\."),o=o.replace(/^( {0,3})([+-])/gm,"$1\\$2"),o=o.replace(/]([\s]*)\(/g,"\\]$1\\("),o=o.replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:"),o});var Z=this;e.exports?e.exports=t:Z.showdown=t}).call(So)})(Ao);const To=sn;/*! - * vue-showdown - Use showdown as a vue component - * - * @version v4.0.0 - * @link https://vue-showdown.js.org - * @license MIT - * @copyright 2018-2022 meteorlxy - */const Td=cd({name:"VueShowdown",props:{markdown:{type:String,required:!1,default:null},tag:{type:String,required:!1,default:"div"},flavor:{type:String,required:!1,default:null},options:{type:Object,required:!1,default:()=>({})},extensions:{type:Array,required:!1,default:null},vueTemplate:{type:Boolean,required:!1,default:!1},vueTemplateData:{type:Object,required:!1,default:()=>({})}},setup(e,{slots:r}){const n=hr(()=>{const s=new To.Converter({extensions:e.extensions||void 0});return e.flavor!==null&&s.setFlavor(e.flavor),Object.entries(e.options).forEach(([a,c])=>{s.setOption(a,c)}),s}),t=hr(()=>{var a;if(e.markdown!==null)return e.markdown;const s=(a=r.default)==null?void 0:a.call(r)[0];return(s==null?void 0:s.type)===Jr?s.children:""}),d=hr(()=>n.value.makeHtml(t.value));return()=>e.vueTemplate?au({setup:()=>e.vueTemplateData,template:`<${e.tag}>${d.value}`}):au(e.tag,{innerHTML:d.value})}});function jd(e,r){return function(){return e.apply(r,arguments)}}const{toString:Od}=Object.prototype,{getPrototypeOf:Rn}=Object,Ln=(e=>r=>{const n=Od.call(r);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Je=e=>(e=e.toLowerCase(),r=>Ln(r)===e),Ot=e=>r=>typeof r===e,{isArray:jr}=Array,Vr=Ot("undefined");function jo(e){return e!==null&&!Vr(e)&&e.constructor!==null&&!Vr(e.constructor)&&er(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Md=Je("ArrayBuffer");function Oo(e){let r;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?r=ArrayBuffer.isView(e):r=e&&e.buffer&&Md(e.buffer),r}const Mo=Ot("string"),er=Ot("function"),Rd=Ot("number"),zn=e=>e!==null&&typeof e=="object",Ro=e=>e===!0||e===!1,ot=e=>{if(Ln(e)!=="object")return!1;const r=Rn(e);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Lo=Je("Date"),zo=Je("File"),No=Je("Blob"),Io=Je("FileList"),Bo=e=>zn(e)&&er(e.pipe),Fo=e=>{const r="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Od.call(e)===r||er(e.toString)&&e.toString()===r)},Ho=Je("URLSearchParams"),Do=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Gr(e,r,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let t,d;if(typeof e!="object"&&(e=[e]),jr(e))for(t=0,d=e.length;t0;)if(d=n[t],r===d.toLowerCase())return d;return null}const zd=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Nd=e=>!Vr(e)&&e!==zd;function on(){const{caseless:e}=Nd(this)&&this||{},r={},n=(t,d)=>{const s=e&&Ld(r,d)||d;ot(r[s])&&ot(t)?r[s]=on(r[s],t):ot(t)?r[s]=on({},t):jr(t)?r[s]=t.slice():r[s]=t};for(let t=0,d=arguments.length;t(Gr(r,(d,s)=>{n&&er(d)?e[s]=jd(d,n):e[s]=d},{allOwnKeys:t}),e),$o=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),qo=(e,r,n,t)=>{e.prototype=Object.create(r.prototype,t),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:r.prototype}),n&&Object.assign(e.prototype,n)},Vo=(e,r,n,t)=>{let d,s,a;const c={};if(r=r||{},e==null)return r;do{for(d=Object.getOwnPropertyNames(e),s=d.length;s-- >0;)a=d[s],(!t||t(a,e,r))&&!c[a]&&(r[a]=e[a],c[a]=!0);e=n!==!1&&Rn(e)}while(e&&(!n||n(e,r))&&e!==Object.prototype);return r},Ko=(e,r,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=r.length;const t=e.indexOf(r,n);return t!==-1&&t===n},Wo=e=>{if(!e)return null;if(jr(e))return e;let r=e.length;if(!Rd(r))return null;const n=new Array(r);for(;r-- >0;)n[r]=e[r];return n},Jo=(e=>r=>e&&r instanceof e)(typeof Uint8Array<"u"&&Rn(Uint8Array)),Go=(e,r)=>{const t=(e&&e[Symbol.iterator]).call(e);let d;for(;(d=t.next())&&!d.done;){const s=d.value;r.call(e,s[0],s[1])}},Zo=(e,r)=>{let n;const t=[];for(;(n=e.exec(r))!==null;)t.push(n);return t},Xo=Je("HTMLFormElement"),Yo=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,t,d){return t.toUpperCase()+d}),yu=(({hasOwnProperty:e})=>(r,n)=>e.call(r,n))(Object.prototype),Qo=Je("RegExp"),Id=(e,r)=>{const n=Object.getOwnPropertyDescriptors(e),t={};Gr(n,(d,s)=>{r(d,s,e)!==!1&&(t[s]=d)}),Object.defineProperties(e,t)},xo=e=>{Id(e,(r,n)=>{if(er(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const t=e[n];if(er(t)){if(r.enumerable=!1,"writable"in r){r.writable=!1;return}r.set||(r.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},ea=(e,r)=>{const n={},t=d=>{d.forEach(s=>{n[s]=!0})};return jr(e)?t(e):t(String(e).split(r)),n},ra=()=>{},ta=(e,r)=>(e=+e,Number.isFinite(e)?e:r),$t="abcdefghijklmnopqrstuvwxyz",vu="0123456789",Bd={DIGIT:vu,ALPHA:$t,ALPHA_DIGIT:$t+$t.toUpperCase()+vu},na=(e=16,r=Bd.ALPHA_DIGIT)=>{let n="";const{length:t}=r;for(;e--;)n+=r[Math.random()*t|0];return n};function ua(e){return!!(e&&er(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const da=e=>{const r=new Array(10),n=(t,d)=>{if(zn(t)){if(r.indexOf(t)>=0)return;if(!("toJSON"in t)){r[d]=t;const s=jr(t)?[]:{};return Gr(t,(a,c)=>{const h=n(a,d+1);!Vr(h)&&(s[c]=h)}),r[d]=void 0,s}}return t};return n(e,0)},P={isArray:jr,isArrayBuffer:Md,isBuffer:jo,isFormData:Fo,isArrayBufferView:Oo,isString:Mo,isNumber:Rd,isBoolean:Ro,isObject:zn,isPlainObject:ot,isUndefined:Vr,isDate:Lo,isFile:zo,isBlob:No,isRegExp:Qo,isFunction:er,isStream:Bo,isURLSearchParams:Ho,isTypedArray:Jo,isFileList:Io,forEach:Gr,merge:on,extend:Uo,trim:Do,stripBOM:$o,inherits:qo,toFlatObject:Vo,kindOf:Ln,kindOfTest:Je,endsWith:Ko,toArray:Wo,forEachEntry:Go,matchAll:Zo,isHTMLForm:Xo,hasOwnProperty:yu,hasOwnProp:yu,reduceDescriptors:Id,freezeMethods:xo,toObjectSet:ea,toCamelCase:Yo,noop:ra,toFiniteNumber:ta,findKey:Ld,global:zd,isContextDefined:Nd,ALPHABET:Bd,generateString:na,isSpecCompliantForm:ua,toJSONObject:da};function te(e,r,n,t,d){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",r&&(this.code=r),n&&(this.config=n),t&&(this.request=t),d&&(this.response=d)}P.inherits(te,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:P.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Fd=te.prototype,Hd={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Hd[e]={value:e}});Object.defineProperties(te,Hd);Object.defineProperty(Fd,"isAxiosError",{value:!0});te.from=(e,r,n,t,d,s)=>{const a=Object.create(Fd);return P.toFlatObject(e,a,function(h){return h!==Error.prototype},c=>c!=="isAxiosError"),te.call(a,e.message,r,n,t,d),a.cause=e,a.name=e.name,s&&Object.assign(a,s),a};const sa=null;function an(e){return P.isPlainObject(e)||P.isArray(e)}function Dd(e){return P.endsWith(e,"[]")?e.slice(0,-2):e}function ku(e,r,n){return e?e.concat(r).map(function(d,s){return d=Dd(d),!n&&s?"["+d+"]":d}).join(n?".":""):r}function ia(e){return P.isArray(e)&&!e.some(an)}const oa=P.toFlatObject(P,{},null,function(r){return/^is[A-Z]/.test(r)});function Mt(e,r,n){if(!P.isObject(e))throw new TypeError("target must be an object");r=r||new FormData,n=P.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(L,ee){return!P.isUndefined(ee[L])});const t=n.metaTokens,d=n.visitor||v,s=n.dots,a=n.indexes,h=(n.Blob||typeof Blob<"u"&&Blob)&&P.isSpecCompliantForm(r);if(!P.isFunction(d))throw new TypeError("visitor must be a function");function g(B){if(B===null)return"";if(P.isDate(B))return B.toISOString();if(!h&&P.isBlob(B))throw new te("Blob is not supported. Use a Buffer instead.");return P.isArrayBuffer(B)||P.isTypedArray(B)?h&&typeof Blob=="function"?new Blob([B]):Buffer.from(B):B}function v(B,L,ee){let Y=B;if(B&&!ee&&typeof B=="object"){if(P.endsWith(L,"{}"))L=t?L:L.slice(0,-2),B=JSON.stringify(B);else if(P.isArray(B)&&ia(B)||(P.isFileList(B)||P.endsWith(L,"[]"))&&(Y=P.toArray(B)))return L=Dd(L),Y.forEach(function(Z,u){!(P.isUndefined(Z)||Z===null)&&r.append(a===!0?ku([L],u,s):a===null?L:L+"[]",g(Z))}),!1}return an(B)?!0:(r.append(ku(ee,L,s),g(B)),!1)}const C=[],F=Object.assign(oa,{defaultVisitor:v,convertValue:g,isVisitable:an});function U(B,L){if(!P.isUndefined(B)){if(C.indexOf(B)!==-1)throw Error("Circular reference detected in "+L.join("."));C.push(B),P.forEach(B,function(Y,_e){(!(P.isUndefined(Y)||Y===null)&&d.call(r,Y,P.isString(_e)?_e.trim():_e,L,F))===!0&&U(Y,L?L.concat(_e):[_e])}),C.pop()}}if(!P.isObject(e))throw new TypeError("data must be an object");return U(e),r}function Eu(e){const r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(t){return r[t]})}function Nn(e,r){this._pairs=[],e&&Mt(e,this,r)}const Ud=Nn.prototype;Ud.append=function(r,n){this._pairs.push([r,n])};Ud.toString=function(r){const n=r?function(t){return r.call(this,t,Eu)}:Eu;return this._pairs.map(function(d){return n(d[0])+"="+n(d[1])},"").join("&")};function aa(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function $d(e,r,n){if(!r)return e;const t=n&&n.encode||aa,d=n&&n.serialize;let s;if(d?s=d(r,n):s=P.isURLSearchParams(r)?r.toString():new Nn(r,n).toString(t),s){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class ca{constructor(){this.handlers=[]}use(r,n,t){return this.handlers.push({fulfilled:r,rejected:n,synchronous:t?t.synchronous:!1,runWhen:t?t.runWhen:null}),this.handlers.length-1}eject(r){this.handlers[r]&&(this.handlers[r]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(r){P.forEach(this.handlers,function(t){t!==null&&r(t)})}}const Pu=ca,qd={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},fa=typeof URLSearchParams<"u"?URLSearchParams:Nn,la=FormData,ha=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),pa=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),$e={isBrowser:!0,classes:{URLSearchParams:fa,FormData:la,Blob},isStandardBrowserEnv:ha,isStandardBrowserWebWorkerEnv:pa,protocols:["http","https","file","blob","url","data"]};function ma(e,r){return Mt(e,new $e.classes.URLSearchParams,Object.assign({visitor:function(n,t,d,s){return $e.isNode&&P.isBuffer(n)?(this.append(t,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},r))}function _a(e){return P.matchAll(/\w+|\[(\w*)]/g,e).map(r=>r[0]==="[]"?"":r[1]||r[0])}function ga(e){const r={},n=Object.keys(e);let t;const d=n.length;let s;for(t=0;t=n.length;return a=!a&&P.isArray(d)?d.length:a,h?(P.hasOwnProp(d,a)?d[a]=[d[a],t]:d[a]=t,!c):((!d[a]||!P.isObject(d[a]))&&(d[a]=[]),r(n,t,d[a],s)&&P.isArray(d[a])&&(d[a]=ga(d[a])),!c)}if(P.isFormData(e)&&P.isFunction(e.entries)){const n={};return P.forEachEntry(e,(t,d)=>{r(_a(t),d,n,0)}),n}return null}const ba={"Content-Type":void 0};function wa(e,r,n){if(P.isString(e))try{return(r||JSON.parse)(e),P.trim(e)}catch(t){if(t.name!=="SyntaxError")throw t}return(n||JSON.stringify)(e)}const Rt={transitional:qd,adapter:["xhr","http"],transformRequest:[function(r,n){const t=n.getContentType()||"",d=t.indexOf("application/json")>-1,s=P.isObject(r);if(s&&P.isHTMLForm(r)&&(r=new FormData(r)),P.isFormData(r))return d&&d?JSON.stringify(Vd(r)):r;if(P.isArrayBuffer(r)||P.isBuffer(r)||P.isStream(r)||P.isFile(r)||P.isBlob(r))return r;if(P.isArrayBufferView(r))return r.buffer;if(P.isURLSearchParams(r))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),r.toString();let c;if(s){if(t.indexOf("application/x-www-form-urlencoded")>-1)return ma(r,this.formSerializer).toString();if((c=P.isFileList(r))||t.indexOf("multipart/form-data")>-1){const h=this.env&&this.env.FormData;return Mt(c?{"files[]":r}:r,h&&new h,this.formSerializer)}}return s||d?(n.setContentType("application/json",!1),wa(r)):r}],transformResponse:[function(r){const n=this.transitional||Rt.transitional,t=n&&n.forcedJSONParsing,d=this.responseType==="json";if(r&&P.isString(r)&&(t&&!this.responseType||d)){const a=!(n&&n.silentJSONParsing)&&d;try{return JSON.parse(r)}catch(c){if(a)throw c.name==="SyntaxError"?te.from(c,te.ERR_BAD_RESPONSE,this,null,this.response):c}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:$e.classes.FormData,Blob:$e.classes.Blob},validateStatus:function(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};P.forEach(["delete","get","head"],function(r){Rt.headers[r]={}});P.forEach(["post","put","patch"],function(r){Rt.headers[r]=P.merge(ba)});const In=Rt,ya=P.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),va=e=>{const r={};let n,t,d;return e&&e.split(` -`).forEach(function(a){d=a.indexOf(":"),n=a.substring(0,d).trim().toLowerCase(),t=a.substring(d+1).trim(),!(!n||r[n]&&ya[n])&&(n==="set-cookie"?r[n]?r[n].push(t):r[n]=[t]:r[n]=r[n]?r[n]+", "+t:t)}),r},Cu=Symbol("internals");function Rr(e){return e&&String(e).trim().toLowerCase()}function at(e){return e===!1||e==null?e:P.isArray(e)?e.map(at):String(e)}function ka(e){const r=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let t;for(;t=n.exec(e);)r[t[1]]=t[2];return r}function Ea(e){return/^[-_a-zA-Z]+$/.test(e.trim())}function qt(e,r,n,t){if(P.isFunction(t))return t.call(this,r,n);if(P.isString(r)){if(P.isString(t))return r.indexOf(t)!==-1;if(P.isRegExp(t))return t.test(r)}}function Pa(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(r,n,t)=>n.toUpperCase()+t)}function Ca(e,r){const n=P.toCamelCase(" "+r);["get","set","has"].forEach(t=>{Object.defineProperty(e,t+n,{value:function(d,s,a){return this[t].call(this,r,d,s,a)},configurable:!0})})}class Lt{constructor(r){r&&this.set(r)}set(r,n,t){const d=this;function s(c,h,g){const v=Rr(h);if(!v)throw new Error("header name must be a non-empty string");const C=P.findKey(d,v);(!C||d[C]===void 0||g===!0||g===void 0&&d[C]!==!1)&&(d[C||h]=at(c))}const a=(c,h)=>P.forEach(c,(g,v)=>s(g,v,h));return P.isPlainObject(r)||r instanceof this.constructor?a(r,n):P.isString(r)&&(r=r.trim())&&!Ea(r)?a(va(r),n):r!=null&&s(n,r,t),this}get(r,n){if(r=Rr(r),r){const t=P.findKey(this,r);if(t){const d=this[t];if(!n)return d;if(n===!0)return ka(d);if(P.isFunction(n))return n.call(this,d,t);if(P.isRegExp(n))return n.exec(d);throw new TypeError("parser must be boolean|regexp|function")}}}has(r,n){if(r=Rr(r),r){const t=P.findKey(this,r);return!!(t&&this[t]!==void 0&&(!n||qt(this,this[t],t,n)))}return!1}delete(r,n){const t=this;let d=!1;function s(a){if(a=Rr(a),a){const c=P.findKey(t,a);c&&(!n||qt(t,t[c],c,n))&&(delete t[c],d=!0)}}return P.isArray(r)?r.forEach(s):s(r),d}clear(r){const n=Object.keys(this);let t=n.length,d=!1;for(;t--;){const s=n[t];(!r||qt(this,this[s],s,r))&&(delete this[s],d=!0)}return d}normalize(r){const n=this,t={};return P.forEach(this,(d,s)=>{const a=P.findKey(t,s);if(a){n[a]=at(d),delete n[s];return}const c=r?Pa(s):String(s).trim();c!==s&&delete n[s],n[c]=at(d),t[c]=!0}),this}concat(...r){return this.constructor.concat(this,...r)}toJSON(r){const n=Object.create(null);return P.forEach(this,(t,d)=>{t!=null&&t!==!1&&(n[d]=r&&P.isArray(t)?t.join(", "):t)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([r,n])=>r+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(r){return r instanceof this?r:new this(r)}static concat(r,...n){const t=new this(r);return n.forEach(d=>t.set(d)),t}static accessor(r){const t=(this[Cu]=this[Cu]={accessors:{}}).accessors,d=this.prototype;function s(a){const c=Rr(a);t[c]||(Ca(d,a),t[c]=!0)}return P.isArray(r)?r.forEach(s):s(r),this}}Lt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);P.freezeMethods(Lt.prototype);P.freezeMethods(Lt);const Ve=Lt;function Vt(e,r){const n=this||In,t=r||n,d=Ve.from(t.headers);let s=t.data;return P.forEach(e,function(c){s=c.call(n,s,d.normalize(),r?r.status:void 0)}),d.normalize(),s}function Kd(e){return!!(e&&e.__CANCEL__)}function Zr(e,r,n){te.call(this,e??"canceled",te.ERR_CANCELED,r,n),this.name="CanceledError"}P.inherits(Zr,te,{__CANCEL__:!0});function Sa(e,r,n){const t=n.config.validateStatus;!n.status||!t||t(n.status)?e(n):r(new te("Request failed with status code "+n.status,[te.ERR_BAD_REQUEST,te.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Aa=$e.isStandardBrowserEnv?function(){return{write:function(n,t,d,s,a,c){const h=[];h.push(n+"="+encodeURIComponent(t)),P.isNumber(d)&&h.push("expires="+new Date(d).toGMTString()),P.isString(s)&&h.push("path="+s),P.isString(a)&&h.push("domain="+a),c===!0&&h.push("secure"),document.cookie=h.join("; ")},read:function(n){const t=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Ta(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ja(e,r){return r?e.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):e}function Wd(e,r){return e&&!Ta(r)?ja(e,r):r}const Oa=$e.isStandardBrowserEnv?function(){const r=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let t;function d(s){let a=s;return r&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return t=d(window.location.href),function(a){const c=P.isString(a)?d(a):a;return c.protocol===t.protocol&&c.host===t.host}}():function(){return function(){return!0}}();function Ma(e){const r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return r&&r[1]||""}function Ra(e,r){e=e||10;const n=new Array(e),t=new Array(e);let d=0,s=0,a;return r=r!==void 0?r:1e3,function(h){const g=Date.now(),v=t[s];a||(a=g),n[d]=h,t[d]=g;let C=s,F=0;for(;C!==d;)F+=n[C++],C=C%e;if(d=(d+1)%e,d===s&&(s=(s+1)%e),g-a{const s=d.loaded,a=d.lengthComputable?d.total:void 0,c=s-n,h=t(c),g=s<=a;n=s;const v={loaded:s,total:a,progress:a?s/a:void 0,bytes:c,rate:h||void 0,estimated:h&&a&&g?(a-s)/h:void 0,event:d};v[r?"download":"upload"]=!0,e(v)}}const La=typeof XMLHttpRequest<"u",za=La&&function(e){return new Promise(function(n,t){let d=e.data;const s=Ve.from(e.headers).normalize(),a=e.responseType;let c;function h(){e.cancelToken&&e.cancelToken.unsubscribe(c),e.signal&&e.signal.removeEventListener("abort",c)}P.isFormData(d)&&($e.isStandardBrowserEnv||$e.isStandardBrowserWebWorkerEnv)&&s.setContentType(!1);let g=new XMLHttpRequest;if(e.auth){const U=e.auth.username||"",B=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(U+":"+B))}const v=Wd(e.baseURL,e.url);g.open(e.method.toUpperCase(),$d(v,e.params,e.paramsSerializer),!0),g.timeout=e.timeout;function C(){if(!g)return;const U=Ve.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),L={data:!a||a==="text"||a==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:U,config:e,request:g};Sa(function(Y){n(Y),h()},function(Y){t(Y),h()},L),g=null}if("onloadend"in g?g.onloadend=C:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(C)},g.onabort=function(){g&&(t(new te("Request aborted",te.ECONNABORTED,e,g)),g=null)},g.onerror=function(){t(new te("Network Error",te.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let B=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const L=e.transitional||qd;e.timeoutErrorMessage&&(B=e.timeoutErrorMessage),t(new te(B,L.clarifyTimeoutError?te.ETIMEDOUT:te.ECONNABORTED,e,g)),g=null},$e.isStandardBrowserEnv){const U=(e.withCredentials||Oa(v))&&e.xsrfCookieName&&Aa.read(e.xsrfCookieName);U&&s.set(e.xsrfHeaderName,U)}d===void 0&&s.setContentType(null),"setRequestHeader"in g&&P.forEach(s.toJSON(),function(B,L){g.setRequestHeader(L,B)}),P.isUndefined(e.withCredentials)||(g.withCredentials=!!e.withCredentials),a&&a!=="json"&&(g.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&g.addEventListener("progress",Su(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&g.upload&&g.upload.addEventListener("progress",Su(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=U=>{g&&(t(!U||U.type?new Zr(null,e,g):U),g.abort(),g=null)},e.cancelToken&&e.cancelToken.subscribe(c),e.signal&&(e.signal.aborted?c():e.signal.addEventListener("abort",c)));const F=Ma(v);if(F&&$e.protocols.indexOf(F)===-1){t(new te("Unsupported protocol "+F+":",te.ERR_BAD_REQUEST,e));return}g.send(d||null)})},ct={http:sa,xhr:za};P.forEach(ct,(e,r)=>{if(e){try{Object.defineProperty(e,"name",{value:r})}catch{}Object.defineProperty(e,"adapterName",{value:r})}});const Na={getAdapter:e=>{e=P.isArray(e)?e:[e];const{length:r}=e;let n,t;for(let d=0;de instanceof Ve?e.toJSON():e;function Cr(e,r){r=r||{};const n={};function t(g,v,C){return P.isPlainObject(g)&&P.isPlainObject(v)?P.merge.call({caseless:C},g,v):P.isPlainObject(v)?P.merge({},v):P.isArray(v)?v.slice():v}function d(g,v,C){if(P.isUndefined(v)){if(!P.isUndefined(g))return t(void 0,g,C)}else return t(g,v,C)}function s(g,v){if(!P.isUndefined(v))return t(void 0,v)}function a(g,v){if(P.isUndefined(v)){if(!P.isUndefined(g))return t(void 0,g)}else return t(void 0,v)}function c(g,v,C){if(C in r)return t(g,v);if(C in e)return t(void 0,g)}const h={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:c,headers:(g,v)=>d(Tu(g),Tu(v),!0)};return P.forEach(Object.keys(e).concat(Object.keys(r)),function(v){const C=h[v]||d,F=C(e[v],r[v],v);P.isUndefined(F)&&C!==c||(n[v]=F)}),n}const Jd="1.3.2",Bn={};["object","boolean","number","function","string","symbol"].forEach((e,r)=>{Bn[e]=function(t){return typeof t===e||"a"+(r<1?"n ":" ")+e}});const ju={};Bn.transitional=function(r,n,t){function d(s,a){return"[Axios v"+Jd+"] Transitional option '"+s+"'"+a+(t?". "+t:"")}return(s,a,c)=>{if(r===!1)throw new te(d(a," has been removed"+(n?" in "+n:"")),te.ERR_DEPRECATED);return n&&!ju[a]&&(ju[a]=!0,console.warn(d(a," has been deprecated since v"+n+" and will be removed in the near future"))),r?r(s,a,c):!0}};function Ia(e,r,n){if(typeof e!="object")throw new te("options must be an object",te.ERR_BAD_OPTION_VALUE);const t=Object.keys(e);let d=t.length;for(;d-- >0;){const s=t[d],a=r[s];if(a){const c=e[s],h=c===void 0||a(c,s,e);if(h!==!0)throw new te("option "+s+" must be "+h,te.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new te("Unknown option "+s,te.ERR_BAD_OPTION)}}const cn={assertOptions:Ia,validators:Bn},Ze=cn.validators;class bt{constructor(r){this.defaults=r,this.interceptors={request:new Pu,response:new Pu}}request(r,n){typeof r=="string"?(n=n||{},n.url=r):n=r||{},n=Cr(this.defaults,n);const{transitional:t,paramsSerializer:d,headers:s}=n;t!==void 0&&cn.assertOptions(t,{silentJSONParsing:Ze.transitional(Ze.boolean),forcedJSONParsing:Ze.transitional(Ze.boolean),clarifyTimeoutError:Ze.transitional(Ze.boolean)},!1),d!==void 0&&cn.assertOptions(d,{encode:Ze.function,serialize:Ze.function},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a;a=s&&P.merge(s.common,s[n.method]),a&&P.forEach(["delete","get","head","post","put","patch","common"],B=>{delete s[B]}),n.headers=Ve.concat(a,s);const c=[];let h=!0;this.interceptors.request.forEach(function(L){typeof L.runWhen=="function"&&L.runWhen(n)===!1||(h=h&&L.synchronous,c.unshift(L.fulfilled,L.rejected))});const g=[];this.interceptors.response.forEach(function(L){g.push(L.fulfilled,L.rejected)});let v,C=0,F;if(!h){const B=[Au.bind(this),void 0];for(B.unshift.apply(B,c),B.push.apply(B,g),F=B.length,v=Promise.resolve(n);C{if(!t._listeners)return;let s=t._listeners.length;for(;s-- >0;)t._listeners[s](d);t._listeners=null}),this.promise.then=d=>{let s;const a=new Promise(c=>{t.subscribe(c),s=c}).then(d);return a.cancel=function(){t.unsubscribe(s)},a},r(function(s,a,c){t.reason||(t.reason=new Zr(s,a,c),n(t.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(r){if(this.reason){r(this.reason);return}this._listeners?this._listeners.push(r):this._listeners=[r]}unsubscribe(r){if(!this._listeners)return;const n=this._listeners.indexOf(r);n!==-1&&this._listeners.splice(n,1)}static source(){let r;return{token:new Fn(function(d){r=d}),cancel:r}}}const Ba=Fn;function Fa(e){return function(n){return e.apply(null,n)}}function Ha(e){return P.isObject(e)&&e.isAxiosError===!0}const fn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(fn).forEach(([e,r])=>{fn[r]=e});const Da=fn;function Gd(e){const r=new ft(e),n=jd(ft.prototype.request,r);return P.extend(n,ft.prototype,r,{allOwnKeys:!0}),P.extend(n,r,null,{allOwnKeys:!0}),n.create=function(d){return Gd(Cr(e,d))},n}const me=Gd(In);me.Axios=ft;me.CanceledError=Zr;me.CancelToken=Ba;me.isCancel=Kd;me.VERSION=Jd;me.toFormData=Mt;me.AxiosError=te;me.Cancel=me.CanceledError;me.all=function(r){return Promise.all(r)};me.spread=Fa;me.isAxiosError=Ha;me.mergeConfig=Cr;me.AxiosHeaders=Ve;me.formToJSON=e=>Vd(P.isHTMLForm(e)?new FormData(e):e);me.HttpStatusCode=Da;me.default=me;const Zd=me;function wt(e){return wt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},wt(e)}function lt(e,r){if(!e.vueAxiosInstalled){var n=Xd(r)?qa(r):r;if(Va(n)){var t=Ka(e);if(t){var d=t<3?Ua:$a;Object.keys(n).forEach(function(s){d(e,s,n[s])}),e.vueAxiosInstalled=!0}else console.error("[vue-axios] unknown Vue version")}else console.error("[vue-axios] configuration is invalid, expected options are either or { : }")}}function Ua(e,r,n){Object.defineProperty(e.prototype,r,{get:function(){return n}}),e[r]=n}function $a(e,r,n){e.config.globalProperties[r]=n,e[r]=n}function Xd(e){return e&&typeof e.get=="function"&&typeof e.post=="function"}function qa(e){return{axios:e,$http:e}}function Va(e){return wt(e)==="object"&&Object.keys(e).every(function(r){return Xd(e[r])})}function Ka(e){return e&&e.version&&Number(e.version.split(".")[0])}(typeof ln>"u"?"undefined":wt(ln))=="object"?Yd.exports=lt:typeof define=="function"&&define.amd?define([],function(){return lt}):window.Vue&&window.axios&&window.Vue.use&&Vue.use(lt,window.axios);const Wa=e=>{if(!e)return"None yet.";for(e=e.replace(/[^a-zA-Z0-9_]+/gi,"-").toLowerCase();e.endsWith("-");)e=e.slice(0,-1);return e.length>50&&(e=e.substring(0,50),e.includes("-")&&(e=e.substring(0,Math.min(e.length,e.lastIndexOf("-"))))),e+".json"},Ja=(e,r,n)=>{const t=new Blob([JSON.stringify(e,null,2)],{type:"text/plain;charset=utf-8;"}),d=document.createElement("a");d.setAttribute("download",n?"archive.json":r),d.setAttribute("href",window.URL.createObjectURL(t)),d.click()},Ga=e=>new Promise((r,n)=>{const t=new FileReader;e||n("No file!"),t.onload=d=>{const s=d.target.result,a={postTitle:"",timestamp:"",editedTimestamp:"",postContent:"",filename:"",draft:!1};try{Object.keys(JSON.parse(s.toString())).toString()===Object.keys(a).toString()?r(JSON.parse(s.toString())):(alert("Invalid file! Are you sure it's an Dumblog compatible JSON?"),n("Invalid file!"))}catch(c){alert("Error loading file! Check the console for more info."),console.log(c),n("Error loading file!")}},t.onerror=n,t.readAsText(e)}),Ou=()=>Math.round(new Date().getTime()/1e3).toString(),Mu=e=>e?new Date(Number(e)*1e3).toUTCString():"",Za=(e,r,n,t,d,s,a)=>({postTitle:e,timestamp:d?"":r,editedTimestamp:d?"":s?a:"",postContent:n,filename:t,draft:d}),Xa=Zd.create({headers:{"Cache-Control":"no-cache",Pragma:"no-cache",Expires:"0"}});Xa.interceptors.response.use(async e=>e,async e=>(console.error(`${e.request.status} (${e.request.statusText})`),Promise.reject(e)));const Ya={class:"wrapper"},Qa={class:"editor-area"},xa={class:"title-area"},ec=ce("label",{for:"draft"},"Draft",-1),rc=ce("br",null,null,-1),tc={class:"preview"},nc=ce("p",{class:"preview-title"},"  Preview: ",-1),uc={class:"footer"},dc=ce("br",null,null,-1),sc=ce("br",null,null,-1),ic={key:0},oc=ce("br",null,null,-1),ac=ce("br",null,null,-1),cc={class:"footer-buttons"},fc=ce("br",null,null,-1),lc=ce("label",{for:"file-input"},"Load Post (from File)",-1),hc=cd({__name:"App",setup(e){const r=tr(""),n=tr(""),t=tr(""),d=tr(""),s=tr(!1),a=tr(!1);let c;tr();const h=()=>{alert("Not implemented, yet.")},g=B=>{Ga(B.target.files[0]).then(L=>{r.value=L.postTitle,n.value=L.postContent,t.value=L.timestamp,s.value=L.draft,a.value=!0,clearInterval(c),c=setInterval(()=>{d.value=Ou()},33)})},v=()=>{r.value||(r.value="No title."),n.value||(n.value="No content."),Ja(Za(r.value,t.value,n.value,C.value,s.value,a.value,d.value),C.value)};hd(()=>{c=setInterval(()=>{t.value=Ou()},33)});const C=hr(()=>Wa(r.value)),F=hr(()=>Mu(t.value)),U=hr(()=>Mu(d.value));return(B,L)=>(nn(),su(He,null,[ce("div",Ya,[ce("div",Qa,[ce("div",xa,[Bt(ce("input",{class:"title",type:"text",placeholder:"Post title...","onUpdate:modelValue":L[0]||(L[0]=ee=>r.value=ee)},null,512),[[gu,r.value]]),Bt(ce("input",{type:"checkbox",id:"draft","onUpdate:modelValue":L[1]||(L[1]=ee=>s.value=ee)},null,512),[[yo,s.value]]),ec]),rc,Bt(ce("textarea",{class:"editor","onUpdate:modelValue":L[2]||(L[2]=ee=>n.value=ee),placeholder:"Post content..."},null,512),[[gu,n.value]])]),ce("div",tc,[nc,Ce(zr(Td),{markdown:n.value,flavor:"github",options:{emoji:!0},tag:"span"},null,8,["markdown"])])]),ce("div",uc,[sr(" Filename: "+Xr(zr(C))+" ",1),dc,sr(" Created on: "+Xr(zr(F))+" ",1),sc,a.value?(nn(),su("span",ic,[sr("Edited on: "+Xr(zr(U))+" ",1),oc])):qi("",!0),sr(" Is it a draft? "+Xr(s.value?"Yes":"No")+". ",1),ac,ce("div",cc,[ce("button",{class:"btn-primary",onClick:v},"Save (ngx-retroblog format)"),sr("   "),ce("button",{class:"btn-primary",onClick:h},"Load Post (from Archive)"),sr("   "),fc,ce("input",{type:"file",accept:".json",id:"file-input",onChange:L[3]||(L[3]=ee=>g(ee))},null,32),lc])])],64))}}),Kr=Po(hc);Kr.use(lt,Zd);Kr.provide("axios",Kr.config.globalProperties.axios);Kr.component("VueShowdown",Td);Kr.mount("#app")});export default pc(); diff --git a/editor/assets/index-f1f7303f.js b/editor/assets/index-f1f7303f.js new file mode 100644 index 0000000..3256039 --- /dev/null +++ b/editor/assets/index-f1f7303f.js @@ -0,0 +1,141 @@ +var ts=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var Rc=ts((_n,es)=>{(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const d of document.querySelectorAll('link[rel="modulepreload"]'))r(d);new MutationObserver(d=>{for(const s of d)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(d){const s={};return d.integrity&&(s.integrity=d.integrity),d.referrerpolicy&&(s.referrerPolicy=d.referrerpolicy),d.crossorigin==="use-credentials"?s.credentials="include":d.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(d){if(d.ep)return;d.ep=!0;const s=n(d);fetch(d.href,s)}})();function gn(e,t){const n=Object.create(null),r=e.split(",");for(let d=0;d!!n[d.toLowerCase()]:d=>!!n[d]}function bn(e){if(J(e)){const t={};for(let n=0;n{if(n){const r=n.split(ns);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function wn(e){let t="";if(_e(e))t=e;else if(J(e))for(let n=0;nCr(n,t))}const Lt=e=>_e(e)?e:e==null?"":J(e)||oe(e)&&(e.toString===Hu||!Y(e.toString))?JSON.stringify(e,Bu,2):String(e),Bu=(e,t)=>t&&t.__v_isRef?Bu(e,t.value):yt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,d])=>(n[`${r} =>`]=d,n),{})}:Ar(t)?{[`Set(${t.size})`]:[...t.values()]}:oe(t)&&!J(t)&&!$u(t)?String(t):t,ce={},wt=[],Ie=()=>{},as=()=>!1,cs=/^on[^a-z]/,Sr=e=>cs.test(e),yn=e=>e.startsWith("onUpdate:"),Ee=Object.assign,vn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ls=Object.prototype.hasOwnProperty,te=(e,t)=>ls.call(e,t),J=Array.isArray,yt=e=>Zt(e)==="[object Map]",Ar=e=>Zt(e)==="[object Set]",Jn=e=>Zt(e)==="[object Date]",Y=e=>typeof e=="function",_e=e=>typeof e=="string",$t=e=>typeof e=="symbol",oe=e=>e!==null&&typeof e=="object",Fu=e=>oe(e)&&Y(e.then)&&Y(e.catch),Hu=Object.prototype.toString,Zt=e=>Hu.call(e),fs=e=>Zt(e).slice(8,-1),$u=e=>Zt(e)==="[object Object]",kn=e=>_e(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,or=gn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},hs=/-(\w)/g,Et=Tr(e=>e.replace(hs,(t,n)=>n?n.toUpperCase():"")),ps=/\B([A-Z])/g,Tt=Tr(e=>e.replace(ps,"-$1").toLowerCase()),Du=Tr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Hr=Tr(e=>e?`on${Du(e)}`:""),Dt=(e,t)=>!Object.is(e,t),ar=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Yr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Gn;const ms=()=>Gn||(Gn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Me;class _s{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Me,!t&&Me&&(this.index=(Me.scopes||(Me.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Me;try{return Me=this,t()}finally{Me=n}}}on(){Me=this}off(){Me=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Uu=e=>(e.w&nt)>0,qu=e=>(e.n&nt)>0,ws=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(v==="length"||v>=h)&&c.push(g)})}else switch(n!==void 0&&c.push(a.get(n)),t){case"add":J(e)?kn(n)&&c.push(a.get("length")):(c.push(a.get(ht)),yt(e)&&c.push(a.get(en)));break;case"delete":J(e)||(c.push(a.get(ht)),yt(e)&&c.push(a.get(en)));break;case"set":yt(e)&&c.push(a.get(ht));break}if(c.length===1)c[0]&&tn(c[0]);else{const h=[];for(const g of c)g&&h.push(...g);tn(En(h))}}function tn(e,t){const n=J(e)?e:[...e];for(const r of n)r.computed&&Xn(r);for(const r of n)r.computed||Xn(r)}function Xn(e,t){(e!==Le||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const vs=gn("__proto__,__v_isRef,__isVue"),Ku=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($t)),ks=Cn(),Es=Cn(!1,!0),Ps=Cn(!0),Yn=Cs();function Cs(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ne(this);for(let s=0,a=this.length;s{e[t]=function(...n){jt();const r=ne(this)[t].apply(this,n);return Ot(),r}}),e}function Ss(e){const t=ne(this);return Se(t,"has",e),t.hasOwnProperty(e)}function Cn(e=!1,t=!1){return function(r,d,s){if(d==="__v_isReactive")return!e;if(d==="__v_isReadonly")return e;if(d==="__v_isShallow")return t;if(d==="__v_raw"&&s===(e?t?Us:Yu:t?Xu:Zu).get(r))return r;const a=J(r);if(!e){if(a&&te(Yn,d))return Reflect.get(Yn,d,s);if(d==="hasOwnProperty")return Ss}const c=Reflect.get(r,d,s);return($t(d)?Ku.has(d):vs(d))||(e||Se(r,"get",d),t)?c:ve(c)?a&&kn(d)?c:c.value:oe(c)?e?Qu(c):Tn(c):c}}const As=Ju(),Ts=Ju(!0);function Ju(e=!1){return function(n,r,d,s){let a=n[r];if(Pt(a)&&ve(a)&&!ve(d))return!1;if(!e&&(!wr(d)&&!Pt(d)&&(a=ne(a),d=ne(d)),!J(n)&&ve(a)&&!ve(d)))return a.value=d,!0;const c=J(n)&&kn(r)?Number(r)e,jr=e=>Reflect.getPrototypeOf(e);function xt(e,t,n=!1,r=!1){e=e.__v_raw;const d=ne(e),s=ne(t);n||(t!==s&&Se(d,"get",t),Se(d,"get",s));const{has:a}=jr(d),c=r?Sn:n?On:Ut;if(a.call(d,t))return c(e.get(t));if(a.call(d,s))return c(e.get(s));e!==d&&e.get(t)}function er(e,t=!1){const n=this.__v_raw,r=ne(n),d=ne(e);return t||(e!==d&&Se(r,"has",e),Se(r,"has",d)),e===d?n.has(e):n.has(e)||n.has(d)}function tr(e,t=!1){return e=e.__v_raw,!t&&Se(ne(e),"iterate",ht),Reflect.get(e,"size",e)}function Qn(e){e=ne(e);const t=ne(this);return jr(t).has.call(t,e)||(t.add(e),Ge(t,"add",e,e)),this}function xn(e,t){t=ne(t);const n=ne(this),{has:r,get:d}=jr(n);let s=r.call(n,e);s||(e=ne(e),s=r.call(n,e));const a=d.call(n,e);return n.set(e,t),s?Dt(t,a)&&Ge(n,"set",e,t):Ge(n,"add",e,t),this}function eu(e){const t=ne(this),{has:n,get:r}=jr(t);let d=n.call(t,e);d||(e=ne(e),d=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return d&&Ge(t,"delete",e,void 0),s}function tu(){const e=ne(this),t=e.size!==0,n=e.clear();return t&&Ge(e,"clear",void 0,void 0),n}function rr(e,t){return function(r,d){const s=this,a=s.__v_raw,c=ne(a),h=t?Sn:e?On:Ut;return!e&&Se(c,"iterate",ht),a.forEach((g,v)=>r.call(d,h(g),h(v),s))}}function nr(e,t,n){return function(...r){const d=this.__v_raw,s=ne(d),a=yt(s),c=e==="entries"||e===Symbol.iterator&&a,h=e==="keys"&&a,g=d[e](...r),v=n?Sn:t?On:Ut;return!t&&Se(s,"iterate",h?en:ht),{next(){const{value:C,done:I}=g.next();return I?{value:C,done:I}:{value:c?[v(C[0]),v(C[1])]:v(C),done:I}},[Symbol.iterator](){return this}}}}function Ye(e){return function(...t){return e==="delete"?!1:this}}function zs(){const e={get(s){return xt(this,s)},get size(){return tr(this)},has:er,add:Qn,set:xn,delete:eu,clear:tu,forEach:rr(!1,!1)},t={get(s){return xt(this,s,!1,!0)},get size(){return tr(this)},has:er,add:Qn,set:xn,delete:eu,clear:tu,forEach:rr(!1,!0)},n={get(s){return xt(this,s,!0)},get size(){return tr(this,!0)},has(s){return er.call(this,s,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:rr(!0,!1)},r={get(s){return xt(this,s,!0,!0)},get size(){return tr(this,!0)},has(s){return er.call(this,s,!0)},add:Ye("add"),set:Ye("set"),delete:Ye("delete"),clear:Ye("clear"),forEach:rr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=nr(s,!1,!1),n[s]=nr(s,!0,!1),t[s]=nr(s,!1,!0),r[s]=nr(s,!0,!0)}),[e,n,t,r]}const[Ns,Is,Bs,Fs]=zs();function An(e,t){const n=t?e?Fs:Bs:e?Is:Ns;return(r,d,s)=>d==="__v_isReactive"?!e:d==="__v_isReadonly"?e:d==="__v_raw"?r:Reflect.get(te(n,d)&&d in r?n:r,d,s)}const Hs={get:An(!1,!1)},$s={get:An(!1,!0)},Ds={get:An(!0,!1)},Zu=new WeakMap,Xu=new WeakMap,Yu=new WeakMap,Us=new WeakMap;function qs(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Vs(e){return e.__v_skip||!Object.isExtensible(e)?0:qs(fs(e))}function Tn(e){return Pt(e)?e:jn(e,!1,Gu,Hs,Zu)}function Ws(e){return jn(e,!1,Ls,$s,Xu)}function Qu(e){return jn(e,!0,Rs,Ds,Yu)}function jn(e,t,n,r,d){if(!oe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=d.get(e);if(s)return s;const a=Vs(e);if(a===0)return e;const c=new Proxy(e,a===2?r:n);return d.set(e,c),c}function vt(e){return Pt(e)?vt(e.__v_raw):!!(e&&e.__v_isReactive)}function Pt(e){return!!(e&&e.__v_isReadonly)}function wr(e){return!!(e&&e.__v_isShallow)}function xu(e){return vt(e)||Pt(e)}function ne(e){const t=e&&e.__v_raw;return t?ne(t):e}function ed(e){return br(e,"__v_skip",!0),e}const Ut=e=>oe(e)?Tn(e):e,On=e=>oe(e)?Qu(e):e;function td(e){tt&&Le&&(e=ne(e),Wu(e.dep||(e.dep=En())))}function rd(e,t){e=ne(e);const n=e.dep;n&&tn(n)}function ve(e){return!!(e&&e.__v_isRef===!0)}function Ve(e){return Ks(e,!1)}function Ks(e,t){return ve(e)?e:new Js(e,t)}class Js{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ne(t),this._value=n?t:Ut(t)}get value(){return td(this),this._value}set value(t){const n=this.__v_isShallow||wr(t)||Pt(t);t=n?t:ne(t),Dt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ut(t),rd(this))}}function Bt(e){return ve(e)?e.value:e}const Gs={get:(e,t,n)=>Bt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const d=e[t];return ve(d)&&!ve(n)?(d.value=n,!0):Reflect.set(e,t,n,r)}};function nd(e){return vt(e)?e:new Proxy(e,Gs)}var ud;class Zs{constructor(t,n,r,d){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[ud]=!1,this._dirty=!0,this.effect=new Pn(t,()=>{this._dirty||(this._dirty=!0,rd(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!d,this.__v_isReadonly=r}get value(){const t=ne(this);return td(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}ud="__v_isReadonly";function Xs(e,t,n=!1){let r,d;const s=Y(e);return s?(r=e,d=Ie):(r=e.get,d=e.set),new Zs(r,d,s||!d,n)}function rt(e,t,n,r){let d;try{d=r?e(...r):e()}catch(s){Or(s,t,n)}return d}function Be(e,t,n,r){if(Y(e)){const s=rt(e,t,n,r);return s&&Fu(s)&&s.catch(a=>{Or(a,t,n)}),s}const d=[];for(let s=0;s>>1;Vt(ye[r])Ue&&ye.splice(t,1)}function ti(e){J(e)?kt.push(...e):(!Ke||!Ke.includes(e,e.allowRecurse?at+1:at))&&kt.push(e),sd()}function ru(e,t=qt?Ue+1:0){for(;tVt(n)-Vt(r)),at=0;ate.id==null?1/0:e.id,ri=(e,t)=>{const n=Vt(e)-Vt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function od(e){rn=!1,qt=!0,ye.sort(ri);const t=Ie;try{for(Ue=0;Ue_e(D)?D.trim():D)),C&&(d=n.map(Yr))}let c,h=r[c=Hr(t)]||r[c=Hr(Et(t))];!h&&s&&(h=r[c=Hr(Tt(t))]),h&&Be(h,e,6,d);const g=r[c+"Once"];if(g){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Be(g,e,6,d)}}function ad(e,t,n=!1){const r=t.emitsCache,d=r.get(e);if(d!==void 0)return d;const s=e.emits;let a={},c=!1;if(!Y(e)){const h=g=>{const v=ad(g,t,!0);v&&(c=!0,Ee(a,v))};!n&&t.mixins.length&&t.mixins.forEach(h),e.extends&&h(e.extends),e.mixins&&e.mixins.forEach(h)}return!s&&!c?(oe(e)&&r.set(e,null),null):(J(s)?s.forEach(h=>a[h]=null):Ee(a,s),oe(e)&&r.set(e,a),a)}function Mr(e,t){return!e||!Sr(t)?!1:(t=t.slice(2).replace(/Once$/,""),te(e,t[0].toLowerCase()+t.slice(1))||te(e,Tt(t))||te(e,t))}let ze=null,cd=null;function yr(e){const t=ze;return ze=e,cd=e&&e.type.__scopeId||null,t}function ui(e,t=ze,n){if(!t||e._n)return e;const r=(...d)=>{r._d&&cu(-1);const s=yr(t);let a;try{a=e(...d)}finally{yr(s),r._d&&cu(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function $r(e){const{type:t,vnode:n,proxy:r,withProxy:d,props:s,propsOptions:[a],slots:c,attrs:h,emit:g,render:v,renderCache:C,data:I,setupState:D,ctx:B,inheritAttrs:H}=e;let ue,X;const le=yr(e);try{if(n.shapeFlag&4){const u=d||r;ue=De(v.call(u,u,C,s,D,I,B)),X=h}else{const u=t;ue=De(u.length>1?u(s,{attrs:h,slots:c,emit:g}):u(s,null)),X=t.props?h:di(h)}}catch(u){Ht.length=0,Or(u,e,1),ue=Ce(_t)}let G=ue;if(X&&H!==!1){const u=Object.keys(X),{shapeFlag:o}=G;u.length&&o&7&&(a&&u.some(yn)&&(X=si(X,a)),G=Ct(G,X))}return n.dirs&&(G=Ct(G),G.dirs=G.dirs?G.dirs.concat(n.dirs):n.dirs),n.transition&&(G.transition=n.transition),ue=G,yr(le),ue}const di=e=>{let t;for(const n in e)(n==="class"||n==="style"||Sr(n))&&((t||(t={}))[n]=e[n]);return t},si=(e,t)=>{const n={};for(const r in e)(!yn(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ii(e,t,n){const{props:r,children:d,component:s}=e,{props:a,children:c,patchFlag:h}=t,g=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&h>=0){if(h&1024)return!0;if(h&16)return r?nu(r,a,g):!!a;if(h&8){const v=t.dynamicProps;for(let C=0;Ce.__isSuspense;function ci(e,t){t&&t.pendingBranch?J(e)?t.effects.push(...e):t.effects.push(e):ti(e)}function li(e,t){if(me){let n=me.provides;const r=me.parent&&me.parent.provides;r===n&&(n=me.provides=Object.create(r)),n[e]=t}}function cr(e,t,n=!1){const r=me||ze;if(r){const d=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(d&&e in d)return d[e];if(arguments.length>1)return n&&Y(t)?t.call(r.proxy):t}}const ur={};function Dr(e,t,n){return ld(e,t,n)}function ld(e,t,{immediate:n,deep:r,flush:d,onTrack:s,onTrigger:a}=ce){const c=bs()===(me==null?void 0:me.scope)?me:null;let h,g=!1,v=!1;if(ve(e)?(h=()=>e.value,g=wr(e)):vt(e)?(h=()=>e,r=!0):J(e)?(v=!0,g=e.some(G=>vt(G)||wr(G)),h=()=>e.map(G=>{if(ve(G))return G.value;if(vt(G))return ft(G);if(Y(G))return rt(G,c,2)})):Y(e)?t?h=()=>rt(e,c,2):h=()=>{if(!(c&&c.isUnmounted))return C&&C(),Be(e,c,3,[I])}:h=Ie,t&&r){const G=h;h=()=>ft(G())}let C,I=G=>{C=X.onStop=()=>{rt(G,c,4)}},D;if(Kt)if(I=Ie,t?n&&Be(t,c,3,[h(),v?[]:void 0,I]):h(),d==="sync"){const G=no();D=G.__watcherHandles||(G.__watcherHandles=[])}else return Ie;let B=v?new Array(e.length).fill(ur):ur;const H=()=>{if(X.active)if(t){const G=X.run();(r||g||(v?G.some((u,o)=>Dt(u,B[o])):Dt(G,B)))&&(C&&C(),Be(t,c,3,[G,B===ur?void 0:v&&B[0]===ur?[]:B,I]),B=G)}else X.run()};H.allowRecurse=!!t;let ue;d==="sync"?ue=H:d==="post"?ue=()=>Pe(H,c&&c.suspense):(H.pre=!0,c&&(H.id=c.uid),ue=()=>Rn(H));const X=new Pn(h,ue);t?n?H():B=X.run():d==="post"?Pe(X.run.bind(X),c&&c.suspense):X.run();const le=()=>{X.stop(),c&&c.scope&&vn(c.scope.effects,X)};return D&&D.push(le),le}function fi(e,t,n){const r=this.proxy,d=_e(e)?e.includes(".")?fd(r,e):()=>r[e]:e.bind(r,r);let s;Y(t)?s=t:(s=t.handler,n=t);const a=me;St(this);const c=ld(d,s.bind(r),n);return a?St(a):pt(),c}function fd(e,t){const n=t.split(".");return()=>{let r=e;for(let d=0;d{ft(n,t)});else if($u(e))for(const n in e)ft(e[n],t);return e}function hd(e){return Y(e)?{setup:e,name:e.name}:e}const lr=e=>!!e.type.__asyncLoader,pd=e=>e.type.__isKeepAlive;function hi(e,t){md(e,"a",t)}function pi(e,t){md(e,"da",t)}function md(e,t,n=me){const r=e.__wdc||(e.__wdc=()=>{let d=n;for(;d;){if(d.isDeactivated)return;d=d.parent}return e()});if(Rr(t,r,n),n){let d=n.parent;for(;d&&d.parent;)pd(d.parent.vnode)&&mi(r,t,n,d),d=d.parent}}function mi(e,t,n,r){const d=Rr(t,e,r,!0);gd(()=>{vn(r[t],d)},n)}function Rr(e,t,n=me,r=!1){if(n){const d=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;jt(),St(n);const c=Be(t,n,e,a);return pt(),Ot(),c});return r?d.unshift(s):d.push(s),s}}const Ze=e=>(t,n=me)=>(!Kt||e==="sp")&&Rr(e,(...r)=>t(...r),n),_i=Ze("bm"),_d=Ze("m"),gi=Ze("bu"),bi=Ze("u"),wi=Ze("bum"),gd=Ze("um"),yi=Ze("sp"),vi=Ze("rtg"),ki=Ze("rtc");function Ei(e,t=me){Rr("ec",e,t)}function dr(e,t){const n=ze;if(n===null)return e;const r=zr(n)||n.proxy,d=e.dirs||(e.dirs=[]);for(let s=0;st(a,c,void 0,s&&s[c]));else{const a=Object.keys(e);d=new Array(a.length);for(let c=0,h=a.length;ce?Td(e)?zr(e)||e.proxy:nn(e.parent):null,Ft=Ee(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>nn(e.parent),$root:e=>nn(e.root),$emit:e=>e.emit,$options:e=>Ln(e),$forceUpdate:e=>e.f||(e.f=()=>Rn(e.update)),$nextTick:e=>e.n||(e.n=Qs.bind(e.proxy)),$watch:e=>fi.bind(e)}),Ur=(e,t)=>e!==ce&&!e.__isScriptSetup&&te(e,t),Si={get({_:e},t){const{ctx:n,setupState:r,data:d,props:s,accessCache:a,type:c,appContext:h}=e;let g;if(t[0]!=="$"){const D=a[t];if(D!==void 0)switch(D){case 1:return r[t];case 2:return d[t];case 4:return n[t];case 3:return s[t]}else{if(Ur(r,t))return a[t]=1,r[t];if(d!==ce&&te(d,t))return a[t]=2,d[t];if((g=e.propsOptions[0])&&te(g,t))return a[t]=3,s[t];if(n!==ce&&te(n,t))return a[t]=4,n[t];un&&(a[t]=0)}}const v=Ft[t];let C,I;if(v)return t==="$attrs"&&Se(e,"get",t),v(e);if((C=c.__cssModules)&&(C=C[t]))return C;if(n!==ce&&te(n,t))return a[t]=4,n[t];if(I=h.config.globalProperties,te(I,t))return I[t]},set({_:e},t,n){const{data:r,setupState:d,ctx:s}=e;return Ur(d,t)?(d[t]=n,!0):r!==ce&&te(r,t)?(r[t]=n,!0):te(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:d,propsOptions:s}},a){let c;return!!n[a]||e!==ce&&te(e,a)||Ur(t,a)||(c=s[0])&&te(c,a)||te(r,a)||te(Ft,a)||te(d.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:te(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let un=!0;function Ai(e){const t=Ln(e),n=e.proxy,r=e.ctx;un=!1,t.beforeCreate&&uu(t.beforeCreate,e,"bc");const{data:d,computed:s,methods:a,watch:c,provide:h,inject:g,created:v,beforeMount:C,mounted:I,beforeUpdate:D,updated:B,activated:H,deactivated:ue,beforeDestroy:X,beforeUnmount:le,destroyed:G,unmounted:u,render:o,renderTracked:i,renderTriggered:l,errorCaptured:_,serverPrefetch:w,expose:p,inheritAttrs:y,components:z,directives:j,filters:T}=t;if(g&&Ti(g,r,null,e.appContext.config.unwrapInjectedRef),a)for(const E in a){const R=a[E];Y(R)&&(r[E]=R.bind(n))}if(d){const E=d.call(n,n);oe(E)&&(e.data=Tn(E))}if(un=!0,s)for(const E in s){const R=s[E],U=Y(R)?R.bind(n,n):Y(R.get)?R.get.bind(n,n):Ie,Q=!Y(R)&&Y(R.set)?R.set.bind(n):Ie,q=mt({get:U,set:Q});Object.defineProperty(r,E,{enumerable:!0,configurable:!0,get:()=>q.value,set:se=>q.value=se})}if(c)for(const E in c)bd(c[E],r,n,E);if(h){const E=Y(h)?h.call(n):h;Reflect.ownKeys(E).forEach(R=>{li(R,E[R])})}v&&uu(v,e,"c");function f(E,R){J(R)?R.forEach(U=>E(U.bind(n))):R&&E(R.bind(n))}if(f(_i,C),f(_d,I),f(gi,D),f(bi,B),f(hi,H),f(pi,ue),f(Ei,_),f(ki,i),f(vi,l),f(wi,le),f(gd,u),f(yi,w),J(p))if(p.length){const E=e.exposed||(e.exposed={});p.forEach(R=>{Object.defineProperty(E,R,{get:()=>n[R],set:U=>n[R]=U})})}else e.exposed||(e.exposed={});o&&e.render===Ie&&(e.render=o),y!=null&&(e.inheritAttrs=y),z&&(e.components=z),j&&(e.directives=j)}function Ti(e,t,n=Ie,r=!1){J(e)&&(e=dn(e));for(const d in e){const s=e[d];let a;oe(s)?"default"in s?a=cr(s.from||d,s.default,!0):a=cr(s.from||d):a=cr(s),ve(a)&&r?Object.defineProperty(t,d,{enumerable:!0,configurable:!0,get:()=>a.value,set:c=>a.value=c}):t[d]=a}}function uu(e,t,n){Be(J(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function bd(e,t,n,r){const d=r.includes(".")?fd(n,r):()=>n[r];if(_e(e)){const s=t[e];Y(s)&&Dr(d,s)}else if(Y(e))Dr(d,e.bind(n));else if(oe(e))if(J(e))e.forEach(s=>bd(s,t,n,r));else{const s=Y(e.handler)?e.handler.bind(n):t[e.handler];Y(s)&&Dr(d,s,e)}}function Ln(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:d,optionsCache:s,config:{optionMergeStrategies:a}}=e.appContext,c=s.get(t);let h;return c?h=c:!d.length&&!n&&!r?h=t:(h={},d.length&&d.forEach(g=>vr(h,g,a,!0)),vr(h,t,a)),oe(t)&&s.set(t,h),h}function vr(e,t,n,r=!1){const{mixins:d,extends:s}=t;s&&vr(e,s,n,!0),d&&d.forEach(a=>vr(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const c=ji[a]||n&&n[a];e[a]=c?c(e[a],t[a]):t[a]}return e}const ji={data:du,props:ot,emits:ot,methods:ot,computed:ot,beforeCreate:ke,created:ke,beforeMount:ke,mounted:ke,beforeUpdate:ke,updated:ke,beforeDestroy:ke,beforeUnmount:ke,destroyed:ke,unmounted:ke,activated:ke,deactivated:ke,errorCaptured:ke,serverPrefetch:ke,components:ot,directives:ot,watch:Mi,provide:du,inject:Oi};function du(e,t){return t?e?function(){return Ee(Y(e)?e.call(this,this):e,Y(t)?t.call(this,this):t)}:t:e}function Oi(e,t){return ot(dn(e),dn(t))}function dn(e){if(J(e)){const t={};for(let n=0;n0)&&!(a&16)){if(a&8){const v=e.vnode.dynamicProps;for(let C=0;C{h=!0;const[I,D]=yd(C,t,!0);Ee(a,I),D&&c.push(...D)};!n&&t.mixins.length&&t.mixins.forEach(v),e.extends&&v(e.extends),e.mixins&&e.mixins.forEach(v)}if(!s&&!h)return oe(e)&&r.set(e,wt),wt;if(J(s))for(let v=0;v-1,D[1]=H<0||B-1||te(D,"default"))&&c.push(C)}}}const g=[a,c];return oe(e)&&r.set(e,g),g}function su(e){return e[0]!=="$"}function iu(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function ou(e,t){return iu(e)===iu(t)}function au(e,t){return J(t)?t.findIndex(n=>ou(n,e)):Y(t)&&ou(t,e)?0:-1}const vd=e=>e[0]==="_"||e==="$stable",zn=e=>J(e)?e.map(De):[De(e)],zi=(e,t,n)=>{if(t._n)return t;const r=ui((...d)=>zn(t(...d)),n);return r._c=!1,r},kd=(e,t,n)=>{const r=e._ctx;for(const d in e){if(vd(d))continue;const s=e[d];if(Y(s))t[d]=zi(d,s,r);else if(s!=null){const a=zn(s);t[d]=()=>a}}},Ed=(e,t)=>{const n=zn(t);e.slots.default=()=>n},Ni=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ne(t),br(t,"_",n)):kd(t,e.slots={})}else e.slots={},t&&Ed(e,t);br(e.slots,Lr,1)},Ii=(e,t,n)=>{const{vnode:r,slots:d}=e;let s=!0,a=ce;if(r.shapeFlag&32){const c=t._;c?n&&c===1?s=!1:(Ee(d,t),!n&&c===1&&delete d._):(s=!t.$stable,kd(t,d)),a=t}else t&&(Ed(e,t),a={default:1});if(s)for(const c in d)!vd(c)&&!(c in a)&&delete d[c]};function Pd(){return{app:null,config:{isNativeTag:as,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Bi=0;function Fi(e,t){return function(r,d=null){Y(r)||(r=Object.assign({},r)),d!=null&&!oe(d)&&(d=null);const s=Pd(),a=new Set;let c=!1;const h=s.app={_uid:Bi++,_component:r,_props:d,_container:null,_context:s,_instance:null,version:uo,get config(){return s.config},set config(g){},use(g,...v){return a.has(g)||(g&&Y(g.install)?(a.add(g),g.install(h,...v)):Y(g)&&(a.add(g),g(h,...v))),h},mixin(g){return s.mixins.includes(g)||s.mixins.push(g),h},component(g,v){return v?(s.components[g]=v,h):s.components[g]},directive(g,v){return v?(s.directives[g]=v,h):s.directives[g]},mount(g,v,C){if(!c){const I=Ce(r,d);return I.appContext=s,v&&t?t(I,g):e(I,g,C),c=!0,h._container=g,g.__vue_app__=h,zr(I.component)||I.component.proxy}},unmount(){c&&(e(null,h._container),delete h._container.__vue_app__)},provide(g,v){return s.provides[g]=v,h}};return h}}function on(e,t,n,r,d=!1){if(J(e)){e.forEach((I,D)=>on(I,t&&(J(t)?t[D]:t),n,r,d));return}if(lr(r)&&!d)return;const s=r.shapeFlag&4?zr(r.component)||r.component.proxy:r.el,a=d?null:s,{i:c,r:h}=e,g=t&&t.r,v=c.refs===ce?c.refs={}:c.refs,C=c.setupState;if(g!=null&&g!==h&&(_e(g)?(v[g]=null,te(C,g)&&(C[g]=null)):ve(g)&&(g.value=null)),Y(h))rt(h,c,12,[a,v]);else{const I=_e(h),D=ve(h);if(I||D){const B=()=>{if(e.f){const H=I?te(C,h)?C[h]:v[h]:h.value;d?J(H)&&vn(H,s):J(H)?H.includes(s)||H.push(s):I?(v[h]=[s],te(C,h)&&(C[h]=v[h])):(h.value=[s],e.k&&(v[e.k]=h.value))}else I?(v[h]=a,te(C,h)&&(C[h]=a)):D&&(h.value=a,e.k&&(v[e.k]=a))};a?(B.id=-1,Pe(B,n)):B()}}}const Pe=ci;function Hi(e){return $i(e)}function $i(e,t){const n=ms();n.__VUE__=!0;const{insert:r,remove:d,patchProp:s,createElement:a,createText:c,createComment:h,setText:g,setElementText:v,parentNode:C,nextSibling:I,setScopeId:D=Ie,insertStaticContent:B}=e,H=(m,b,k,A=null,S=null,N=null,$=!1,L=null,F=!!b.dynamicChildren)=>{if(m===b)return;m&&!zt(m,b)&&(A=pe(m),se(m,S,N,!0),m=null),b.patchFlag===-2&&(F=!1,b.dynamicChildren=null);const{type:O,ref:W,shapeFlag:V}=b;switch(O){case Xt:ue(m,b,k,A);break;case _t:X(m,b,k,A);break;case qr:m==null&&le(b,k,A,$);break;case Re:z(m,b,k,A,S,N,$,L,F);break;default:V&1?o(m,b,k,A,S,N,$,L,F):V&6?j(m,b,k,A,S,N,$,L,F):(V&64||V&128)&&O.process(m,b,k,A,S,N,$,L,F,Fe)}W!=null&&S&&on(W,m&&m.ref,N,b||m,!b)},ue=(m,b,k,A)=>{if(m==null)r(b.el=c(b.children),k,A);else{const S=b.el=m.el;b.children!==m.children&&g(S,b.children)}},X=(m,b,k,A)=>{m==null?r(b.el=h(b.children||""),k,A):b.el=m.el},le=(m,b,k,A)=>{[m.el,m.anchor]=B(m.children,b,k,A,m.el,m.anchor)},G=({el:m,anchor:b},k,A)=>{let S;for(;m&&m!==b;)S=I(m),r(m,k,A),m=S;r(b,k,A)},u=({el:m,anchor:b})=>{let k;for(;m&&m!==b;)k=I(m),d(m),m=k;d(b)},o=(m,b,k,A,S,N,$,L,F)=>{$=$||b.type==="svg",m==null?i(b,k,A,S,N,$,L,F):w(m,b,S,N,$,L,F)},i=(m,b,k,A,S,N,$,L)=>{let F,O;const{type:W,props:V,shapeFlag:K,transition:Z,dirs:x}=m;if(F=m.el=a(m.type,N,V&&V.is,V),K&8?v(F,m.children):K&16&&_(m.children,F,null,A,S,N&&W!=="foreignObject",$,L),x&&st(m,null,A,"created"),l(F,m,m.scopeId,$,A),V){for(const de in V)de!=="value"&&!or(de)&&s(F,de,null,V[de],N,m.children,A,S,ae);"value"in V&&s(F,"value",null,V.value),(O=V.onVnodeBeforeMount)&&$e(O,A,m)}x&&st(m,null,A,"beforeMount");const ie=(!S||S&&!S.pendingBranch)&&Z&&!Z.persisted;ie&&Z.beforeEnter(F),r(F,b,k),((O=V&&V.onVnodeMounted)||ie||x)&&Pe(()=>{O&&$e(O,A,m),ie&&Z.enter(F),x&&st(m,null,A,"mounted")},S)},l=(m,b,k,A,S)=>{if(k&&D(m,k),A)for(let N=0;N{for(let O=F;O{const L=b.el=m.el;let{patchFlag:F,dynamicChildren:O,dirs:W}=b;F|=m.patchFlag&16;const V=m.props||ce,K=b.props||ce;let Z;k&&it(k,!1),(Z=K.onVnodeBeforeUpdate)&&$e(Z,k,b,m),W&&st(b,m,k,"beforeUpdate"),k&&it(k,!0);const x=S&&b.type!=="foreignObject";if(O?p(m.dynamicChildren,O,L,k,A,x,N):$||R(m,b,L,null,k,A,x,N,!1),F>0){if(F&16)y(L,b,V,K,k,A,S);else if(F&2&&V.class!==K.class&&s(L,"class",null,K.class,S),F&4&&s(L,"style",V.style,K.style,S),F&8){const ie=b.dynamicProps;for(let de=0;de{Z&&$e(Z,k,b,m),W&&st(b,m,k,"updated")},A)},p=(m,b,k,A,S,N,$)=>{for(let L=0;L{if(k!==A){if(k!==ce)for(const L in k)!or(L)&&!(L in A)&&s(m,L,k[L],null,$,b.children,S,N,ae);for(const L in A){if(or(L))continue;const F=A[L],O=k[L];F!==O&&L!=="value"&&s(m,L,O,F,$,b.children,S,N,ae)}"value"in A&&s(m,"value",k.value,A.value)}},z=(m,b,k,A,S,N,$,L,F)=>{const O=b.el=m?m.el:c(""),W=b.anchor=m?m.anchor:c("");let{patchFlag:V,dynamicChildren:K,slotScopeIds:Z}=b;Z&&(L=L?L.concat(Z):Z),m==null?(r(O,k,A),r(W,k,A),_(b.children,k,W,S,N,$,L,F)):V>0&&V&64&&K&&m.dynamicChildren?(p(m.dynamicChildren,K,k,S,N,$,L),(b.key!=null||S&&b===S.subTree)&&Cd(m,b,!0)):R(m,b,k,W,S,N,$,L,F)},j=(m,b,k,A,S,N,$,L,F)=>{b.slotScopeIds=L,m==null?b.shapeFlag&512?S.ctx.activate(b,k,A,$,F):T(b,k,A,S,N,$,F):M(m,b,F)},T=(m,b,k,A,S,N,$)=>{const L=m.component=Xi(m,A,S);if(pd(m)&&(L.ctx.renderer=Fe),Yi(L),L.asyncDep){if(S&&S.registerDep(L,f),!m.el){const F=L.subTree=Ce(_t);X(null,F,b,k)}return}f(L,m,b,k,S,N,$)},M=(m,b,k)=>{const A=b.component=m.component;if(ii(m,b,k))if(A.asyncDep&&!A.asyncResolved){E(A,b,k);return}else A.next=b,ei(A.update),A.update();else b.el=m.el,A.vnode=b},f=(m,b,k,A,S,N,$)=>{const L=()=>{if(m.isMounted){let{next:W,bu:V,u:K,parent:Z,vnode:x}=m,ie=W,de;it(m,!1),W?(W.el=x.el,E(m,W,$)):W=x,V&&ar(V),(de=W.props&&W.props.onVnodeBeforeUpdate)&&$e(de,Z,W,x),it(m,!0);const fe=$r(m),Oe=m.subTree;m.subTree=fe,H(Oe,fe,C(Oe.el),pe(Oe),m,S,N),W.el=fe.el,ie===null&&oi(m,fe.el),K&&Pe(K,S),(de=W.props&&W.props.onVnodeUpdated)&&Pe(()=>$e(de,Z,W,x),S)}else{let W;const{el:V,props:K}=b,{bm:Z,m:x,parent:ie}=m,de=lr(b);if(it(m,!1),Z&&ar(Z),!de&&(W=K&&K.onVnodeBeforeMount)&&$e(W,ie,b),it(m,!0),V&>){const fe=()=>{m.subTree=$r(m),gt(V,m.subTree,m,S,null)};de?b.type.__asyncLoader().then(()=>!m.isUnmounted&&fe()):fe()}else{const fe=m.subTree=$r(m);H(null,fe,k,A,m,S,N),b.el=fe.el}if(x&&Pe(x,S),!de&&(W=K&&K.onVnodeMounted)){const fe=b;Pe(()=>$e(W,ie,fe),S)}(b.shapeFlag&256||ie&&lr(ie.vnode)&&ie.vnode.shapeFlag&256)&&m.a&&Pe(m.a,S),m.isMounted=!0,b=k=A=null}},F=m.effect=new Pn(L,()=>Rn(O),m.scope),O=m.update=()=>F.run();O.id=m.uid,it(m,!0),O()},E=(m,b,k)=>{b.component=m;const A=m.vnode.props;m.vnode=b,m.next=null,Li(m,b.props,A,k),Ii(m,b.children,k),jt(),ru(),Ot()},R=(m,b,k,A,S,N,$,L,F=!1)=>{const O=m&&m.children,W=m?m.shapeFlag:0,V=b.children,{patchFlag:K,shapeFlag:Z}=b;if(K>0){if(K&128){Q(O,V,k,A,S,N,$,L,F);return}else if(K&256){U(O,V,k,A,S,N,$,L,F);return}}Z&8?(W&16&&ae(O,S,N),V!==O&&v(k,V)):W&16?Z&16?Q(O,V,k,A,S,N,$,L,F):ae(O,S,N,!0):(W&8&&v(k,""),Z&16&&_(V,k,A,S,N,$,L,F))},U=(m,b,k,A,S,N,$,L,F)=>{m=m||wt,b=b||wt;const O=m.length,W=b.length,V=Math.min(O,W);let K;for(K=0;KW?ae(m,S,N,!0,!1,V):_(b,k,A,S,N,$,L,F,V)},Q=(m,b,k,A,S,N,$,L,F)=>{let O=0;const W=b.length;let V=m.length-1,K=W-1;for(;O<=V&&O<=K;){const Z=m[O],x=b[O]=F?et(b[O]):De(b[O]);if(zt(Z,x))H(Z,x,k,null,S,N,$,L,F);else break;O++}for(;O<=V&&O<=K;){const Z=m[V],x=b[K]=F?et(b[K]):De(b[K]);if(zt(Z,x))H(Z,x,k,null,S,N,$,L,F);else break;V--,K--}if(O>V){if(O<=K){const Z=K+1,x=ZK)for(;O<=V;)se(m[O],S,N,!0),O++;else{const Z=O,x=O,ie=new Map;for(O=x;O<=K;O++){const Te=b[O]=F?et(b[O]):De(b[O]);Te.key!=null&&ie.set(Te.key,O)}let de,fe=0;const Oe=K-x+1;let bt=!1,Vn=0;const Rt=new Array(Oe);for(O=0;O=Oe){se(Te,S,N,!0);continue}let He;if(Te.key!=null)He=ie.get(Te.key);else for(de=x;de<=K;de++)if(Rt[de-x]===0&&zt(Te,b[de])){He=de;break}He===void 0?se(Te,S,N,!0):(Rt[He-x]=O+1,He>=Vn?Vn=He:bt=!0,H(Te,b[He],k,null,S,N,$,L,F),fe++)}const Wn=bt?Di(Rt):wt;for(de=Wn.length-1,O=Oe-1;O>=0;O--){const Te=x+O,He=b[Te],Kn=Te+1{const{el:N,type:$,transition:L,children:F,shapeFlag:O}=m;if(O&6){q(m.component.subTree,b,k,A);return}if(O&128){m.suspense.move(b,k,A);return}if(O&64){$.move(m,b,k,Fe);return}if($===Re){r(N,b,k);for(let V=0;VL.enter(N),S);else{const{leave:V,delayLeave:K,afterLeave:Z}=L,x=()=>r(N,b,k),ie=()=>{V(N,()=>{x(),Z&&Z()})};K?K(N,x,ie):ie()}else r(N,b,k)},se=(m,b,k,A=!1,S=!1)=>{const{type:N,props:$,ref:L,children:F,dynamicChildren:O,shapeFlag:W,patchFlag:V,dirs:K}=m;if(L!=null&&on(L,null,k,m,!0),W&256){b.ctx.deactivate(m);return}const Z=W&1&&K,x=!lr(m);let ie;if(x&&(ie=$&&$.onVnodeBeforeUnmount)&&$e(ie,b,m),W&6)he(m.component,k,A);else{if(W&128){m.suspense.unmount(k,A);return}Z&&st(m,null,b,"beforeUnmount"),W&64?m.type.remove(m,b,k,S,Fe,A):O&&(N!==Re||V>0&&V&64)?ae(O,b,k,!1,!0):(N===Re&&V&384||!S&&W&16)&&ae(F,b,k),A&&be(m)}(x&&(ie=$&&$.onVnodeUnmounted)||Z)&&Pe(()=>{ie&&$e(ie,b,m),Z&&st(m,null,b,"unmounted")},k)},be=m=>{const{type:b,el:k,anchor:A,transition:S}=m;if(b===Re){Ae(k,A);return}if(b===qr){u(m);return}const N=()=>{d(k),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(m.shapeFlag&1&&S&&!S.persisted){const{leave:$,delayLeave:L}=S,F=()=>$(k,N);L?L(m.el,N,F):F()}else N()},Ae=(m,b)=>{let k;for(;m!==b;)k=I(m),d(m),m=k;d(b)},he=(m,b,k)=>{const{bum:A,scope:S,update:N,subTree:$,um:L}=m;A&&ar(A),S.stop(),N&&(N.active=!1,se($,m,b,k)),L&&Pe(L,b),Pe(()=>{m.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&m.asyncDep&&!m.asyncResolved&&m.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},ae=(m,b,k,A=!1,S=!1,N=0)=>{for(let $=N;$m.shapeFlag&6?pe(m.component.subTree):m.shapeFlag&128?m.suspense.next():I(m.anchor||m.el),we=(m,b,k)=>{m==null?b._vnode&&se(b._vnode,null,null,!0):H(b._vnode||null,m,b,null,null,null,k),ru(),id(),b._vnode=m},Fe={p:H,um:se,m:q,r:be,mt:T,mc:_,pc:R,pbc:p,n:pe,o:e};let dt,gt;return t&&([dt,gt]=t(Fe)),{render:we,hydrate:dt,createApp:Fi(we,dt)}}function it({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Cd(e,t,n=!1){const r=e.children,d=t.children;if(J(r)&&J(d))for(let s=0;s>1,e[n[c]]0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,a=n[s-1];s-- >0;)n[s]=a,a=t[a];return n}const Ui=e=>e.__isTeleport,Re=Symbol(void 0),Xt=Symbol(void 0),_t=Symbol(void 0),qr=Symbol(void 0),Ht=[];let Ne=null;function We(e=!1){Ht.push(Ne=e?null:[])}function qi(){Ht.pop(),Ne=Ht[Ht.length-1]||null}let Wt=1;function cu(e){Wt+=e}function Sd(e){return e.dynamicChildren=Wt>0?Ne||wt:null,qi(),Wt>0&&Ne&&Ne.push(e),e}function Qe(e,t,n,r,d,s){return Sd(ee(e,t,n,r,d,s,!0))}function Vi(e,t,n,r,d){return Sd(Ce(e,t,n,r,d,!0))}function an(e){return e?e.__v_isVNode===!0:!1}function zt(e,t){return e.type===t.type&&e.key===t.key}const Lr="__vInternal",Ad=({key:e})=>e??null,fr=({ref:e,ref_key:t,ref_for:n})=>e!=null?_e(e)||ve(e)||Y(e)?{i:ze,r:e,k:t,f:!!n}:e:null;function ee(e,t=null,n=null,r=0,d=null,s=e===Re?0:1,a=!1,c=!1){const h={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ad(t),ref:t&&fr(t),scopeId:cd,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:d,dynamicChildren:null,appContext:null,ctx:ze};return c?(Nn(h,n),s&128&&e.normalize(h)):n&&(h.shapeFlag|=_e(n)?8:16),Wt>0&&!a&&Ne&&(h.patchFlag>0||s&6)&&h.patchFlag!==32&&Ne.push(h),h}const Ce=Wi;function Wi(e,t=null,n=null,r=0,d=null,s=!1){if((!e||e===Pi)&&(e=_t),an(e)){const c=Ct(e,t,!0);return n&&Nn(c,n),Wt>0&&!s&&Ne&&(c.shapeFlag&6?Ne[Ne.indexOf(e)]=c:Ne.push(c)),c.patchFlag|=-2,c}if(to(e)&&(e=e.__vccOpts),t){t=Ki(t);let{class:c,style:h}=t;c&&!_e(c)&&(t.class=wn(c)),oe(h)&&(xu(h)&&!J(h)&&(h=Ee({},h)),t.style=bn(h))}const a=_e(e)?1:ai(e)?128:Ui(e)?64:oe(e)?4:Y(e)?2:0;return ee(e,t,n,r,d,a,s,!0)}function Ki(e){return e?xu(e)||Lr in e?Ee({},e):e:null}function Ct(e,t,n=!1){const{props:r,ref:d,patchFlag:s,children:a}=e,c=t?Ji(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Ad(c),ref:t&&t.ref?n&&d?J(d)?d.concat(fr(t)):[d,fr(t)]:fr(t):d,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Re?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Ct(e.ssContent),ssFallback:e.ssFallback&&Ct(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function je(e=" ",t=0){return Ce(Xt,null,e,t)}function sr(e="",t=!1){return t?(We(),Vi(_t,null,e)):Ce(_t,null,e)}function De(e){return e==null||typeof e=="boolean"?Ce(_t):J(e)?Ce(Re,null,e.slice()):typeof e=="object"?et(e):Ce(Xt,null,String(e))}function et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Ct(e)}function Nn(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(J(t))n=16;else if(typeof t=="object")if(r&65){const d=t.default;d&&(d._c&&(d._d=!1),Nn(e,d()),d._c&&(d._d=!0));return}else{n=32;const d=t._;!d&&!(Lr in t)?t._ctx=ze:d===3&&ze&&(ze.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Y(t)?(t={default:t,_ctx:ze},n=32):(t=String(t),r&64?(n=16,t=[je(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ji(...e){const t={};for(let n=0;n{me=e,e.scope.on()},pt=()=>{me&&me.scope.off(),me=null};function Td(e){return e.vnode.shapeFlag&4}let Kt=!1;function Yi(e,t=!1){Kt=t;const{props:n,children:r}=e.vnode,d=Td(e);Ri(e,n,d,t),Ni(e,r);const s=d?Qi(e,t):void 0;return Kt=!1,s}function Qi(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=ed(new Proxy(e.ctx,Si));const{setup:r}=n;if(r){const d=e.setupContext=r.length>1?eo(e):null;St(e),jt();const s=rt(r,e,0,[e.props,d]);if(Ot(),pt(),Fu(s)){if(s.then(pt,pt),t)return s.then(a=>{lu(e,a,t)}).catch(a=>{Or(a,e,0)});e.asyncDep=s}else lu(e,s,t)}else jd(e,t)}function lu(e,t,n){Y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:oe(t)&&(e.setupState=nd(t)),jd(e,n)}let fu;function jd(e,t,n){const r=e.type;if(!e.render){if(!t&&fu&&!r.render){const d=r.template||Ln(e).template;if(d){const{isCustomElement:s,compilerOptions:a}=e.appContext.config,{delimiters:c,compilerOptions:h}=r,g=Ee(Ee({isCustomElement:s,delimiters:c},a),h);r.render=fu(d,g)}}e.render=r.render||Ie}St(e),jt(),Ai(e),Ot(),pt()}function xi(e){return new Proxy(e.attrs,{get(t,n){return Se(e,"get","$attrs"),t[n]}})}function eo(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=xi(e))},slots:e.slots,emit:e.emit,expose:t}}function zr(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(nd(ed(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ft)return Ft[n](e)},has(t,n){return n in t||n in Ft}}))}function to(e){return Y(e)&&"__vccOpts"in e}const mt=(e,t)=>Xs(e,t,Kt);function hu(e,t,n){const r=arguments.length;return r===2?oe(t)&&!J(t)?an(t)?Ce(e,null,[t]):Ce(e,t):Ce(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&an(n)&&(n=[n]),Ce(e,t,n))}const ro=Symbol(""),no=()=>cr(ro),uo="3.2.47",so="http://www.w3.org/2000/svg",ct=typeof document<"u"?document:null,pu=ct&&ct.createElement("template"),io={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const d=t?ct.createElementNS(so,e):ct.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&d.setAttribute("multiple",r.multiple),d},createText:e=>ct.createTextNode(e),createComment:e=>ct.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ct.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,d,s){const a=n?n.previousSibling:t.lastChild;if(d&&(d===s||d.nextSibling))for(;t.insertBefore(d.cloneNode(!0),n),!(d===s||!(d=d.nextSibling)););else{pu.innerHTML=r?`${e}`:e;const c=pu.content;if(r){const h=c.firstChild;for(;h.firstChild;)c.appendChild(h.firstChild);c.removeChild(h)}t.insertBefore(c,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function oo(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function ao(e,t,n){const r=e.style,d=_e(n);if(n&&!d){if(t&&!_e(t))for(const s in t)n[s]==null&&cn(r,s,"");for(const s in n)cn(r,s,n[s])}else{const s=r.display;d?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=s)}}const mu=/\s*!important$/;function cn(e,t,n){if(J(n))n.forEach(r=>cn(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=co(e,t);mu.test(n)?e.setProperty(Tt(r),n.replace(mu,""),"important"):e[r]=n}}const _u=["Webkit","Moz","ms"],Vr={};function co(e,t){const n=Vr[t];if(n)return n;let r=Et(t);if(r!=="filter"&&r in e)return Vr[t]=r;r=Du(r);for(let d=0;d<_u.length;d++){const s=_u[d]+r;if(s in e)return Vr[t]=s}return t}const gu="http://www.w3.org/1999/xlink";function lo(e,t,n,r,d){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(gu,t.slice(6,t.length)):e.setAttributeNS(gu,t,n);else{const s=is(t);n==null||s&&!Nu(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function fo(e,t,n,r,d,s,a){if(t==="innerHTML"||t==="textContent"){r&&a(r,d,s),e[t]=n??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const h=n??"";(e.value!==h||e.tagName==="OPTION")&&(e.value=h),n==null&&e.removeAttribute(t);return}let c=!1;if(n===""||n==null){const h=typeof e[t];h==="boolean"?n=Nu(n):n==null&&h==="string"?(n="",c=!0):h==="number"&&(n=0,c=!0)}try{e[t]=n}catch{}c&&e.removeAttribute(t)}function lt(e,t,n,r){e.addEventListener(t,n,r)}function ho(e,t,n,r){e.removeEventListener(t,n,r)}function po(e,t,n,r,d=null){const s=e._vei||(e._vei={}),a=s[t];if(r&&a)a.value=r;else{const[c,h]=mo(t);if(r){const g=s[t]=bo(r,d);lt(e,c,g,h)}else a&&(ho(e,c,a,h),s[t]=void 0)}}const bu=/(?:Once|Passive|Capture)$/;function mo(e){let t;if(bu.test(e)){t={};let r;for(;r=e.match(bu);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Tt(e.slice(2)),t]}let Wr=0;const _o=Promise.resolve(),go=()=>Wr||(_o.then(()=>Wr=0),Wr=Date.now());function bo(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Be(wo(r,n.value),t,5,[r])};return n.value=e,n.attached=go(),n}function wo(e,t){if(J(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>d=>!d._stopped&&r&&r(d))}else return t}const wu=/^on[a-z]/,yo=(e,t,n,r,d=!1,s,a,c,h)=>{t==="class"?oo(e,r,d):t==="style"?ao(e,n,r):Sr(t)?yn(t)||po(e,t,n,r,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):vo(e,t,r,d))?fo(e,t,r,s,a,c,h):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),lo(e,t,r,d))};function vo(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&wu.test(t)&&Y(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||wu.test(t)&&_e(n)?!1:t in e}const kr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return J(t)?n=>ar(t,n):t};function ko(e){e.target.composing=!0}function yu(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Kr={created(e,{modifiers:{lazy:t,trim:n,number:r}},d){e._assign=kr(d);const s=r||d.props&&d.props.type==="number";lt(e,t?"change":"input",a=>{if(a.target.composing)return;let c=e.value;n&&(c=c.trim()),s&&(c=Yr(c)),e._assign(c)}),n&<(e,"change",()=>{e.value=e.value.trim()}),t||(lt(e,"compositionstart",ko),lt(e,"compositionend",yu),lt(e,"change",yu))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:d}},s){if(e._assign=kr(s),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(d||e.type==="number")&&Yr(e.value)===t))return;const a=t??"";e.value!==a&&(e.value=a)}},Eo={deep:!0,created(e,t,n){e._assign=kr(n),lt(e,"change",()=>{const r=e._modelValue,d=Po(e),s=e.checked,a=e._assign;if(J(r)){const c=Iu(r,d),h=c!==-1;if(s&&!h)a(r.concat(d));else if(!s&&h){const g=[...r];g.splice(c,1),a(g)}}else if(Ar(r)){const c=new Set(r);s?c.add(d):c.delete(d),a(c)}else a(Od(e,s))})},mounted:vu,beforeUpdate(e,t,n){e._assign=kr(n),vu(e,t,n)}};function vu(e,{value:t,oldValue:n},r){e._modelValue=t,J(t)?e.checked=Iu(t,r.props.value)>-1:Ar(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Cr(t,Od(e,!0)))}function Po(e){return"_value"in e?e._value:e.value}function Od(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Co=Ee({patchProp:yo},io);let ku;function So(){return ku||(ku=Hi(Co))}const Ao=(...e)=>{const t=So().createApp(...e),{mount:n}=t;return t.mount=r=>{const d=To(r);if(!d)return;const s=t._component;!Y(s)&&!s.render&&!s.template&&(s.template=d.innerHTML),d.innerHTML="";const a=n(d,!1,d instanceof SVGElement);return d instanceof Element&&(d.removeAttribute("v-cloak"),d.setAttribute("data-v-app","")),a},t};function To(e){return _e(e)?document.querySelector(e):e}var jo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},ln={},Oo={get exports(){return ln},set exports(e){ln=e}};(function(e){(function(){function t(u){var o={omitExtraWLInCodeBlocks:{defaultValue:!1,describe:"Omit the default extra whiteline added to code blocks",type:"boolean"},noHeaderId:{defaultValue:!1,describe:"Turn on/off generated header id",type:"boolean"},prefixHeaderId:{defaultValue:!1,describe:"Add a prefix to the generated header ids. Passing a string will prefix that string to the header id. Setting to true will add a generic 'section-' prefix",type:"string"},rawPrefixHeaderId:{defaultValue:!1,describe:'Setting this option to true will prevent showdown from modifying the prefix. This might result in malformed IDs (if, for instance, the " char is used in the prefix)',type:"boolean"},ghCompatibleHeaderId:{defaultValue:!1,describe:"Generate header ids compatible with github style (spaces are replaced with dashes, a bunch of non alphanumeric chars are removed)",type:"boolean"},rawHeaderId:{defaultValue:!1,describe:`Remove only spaces, ' and " from generated header ids (including prefixes), replacing them with dashes (-). WARNING: This might result in malformed ids`,type:"boolean"},headerLevelStart:{defaultValue:!1,describe:"The header blocks level start",type:"integer"},parseImgDimensions:{defaultValue:!1,describe:"Turn on/off image dimension parsing",type:"boolean"},simplifiedAutoLink:{defaultValue:!1,describe:"Turn on/off GFM autolink style",type:"boolean"},excludeTrailingPunctuationFromURLs:{defaultValue:!1,describe:"Excludes trailing punctuation from links generated with autoLinking",type:"boolean"},literalMidWordUnderscores:{defaultValue:!1,describe:"Parse midword underscores as literal underscores",type:"boolean"},literalMidWordAsterisks:{defaultValue:!1,describe:"Parse midword asterisks as literal asterisks",type:"boolean"},strikethrough:{defaultValue:!1,describe:"Turn on/off strikethrough support",type:"boolean"},tables:{defaultValue:!1,describe:"Turn on/off tables support",type:"boolean"},tablesHeaderId:{defaultValue:!1,describe:"Add an id to table headers",type:"boolean"},ghCodeBlocks:{defaultValue:!0,describe:"Turn on/off GFM fenced code blocks support",type:"boolean"},tasklists:{defaultValue:!1,describe:"Turn on/off GFM tasklist support",type:"boolean"},smoothLivePreview:{defaultValue:!1,describe:"Prevents weird effects in live previews due to incomplete input",type:"boolean"},smartIndentationFix:{defaultValue:!1,describe:"Tries to smartly fix indentation in es6 strings",type:"boolean"},disableForced4SpacesIndentedSublists:{defaultValue:!1,describe:"Disables the requirement of indenting nested sublists by 4 spaces",type:"boolean"},simpleLineBreaks:{defaultValue:!1,describe:"Parses simple line breaks as
(GFM Style)",type:"boolean"},requireSpaceBeforeHeadingText:{defaultValue:!1,describe:"Makes adding a space between `#` and the header text mandatory (GFM Style)",type:"boolean"},ghMentions:{defaultValue:!1,describe:"Enables github @mentions",type:"boolean"},ghMentionsLink:{defaultValue:"https://github.com/{u}",describe:"Changes the link generated by @mentions. Only applies if ghMentions option is enabled.",type:"string"},encodeEmails:{defaultValue:!0,describe:"Encode e-mail addresses through the use of Character Entities, transforming ASCII e-mail addresses into its equivalent decimal entities",type:"boolean"},openLinksInNewWindow:{defaultValue:!1,describe:"Open all links in new windows",type:"boolean"},backslashEscapesHTMLTags:{defaultValue:!1,describe:"Support for HTML Tag escaping. ex:
foo
",type:"boolean"},emoji:{defaultValue:!1,describe:"Enable emoji support. Ex: `this is a :smile: emoji`",type:"boolean"},underline:{defaultValue:!1,describe:"Enable support for underline. Syntax is double or triple underscores: `__underline word__`. With this option enabled, underscores no longer parses into `` and ``",type:"boolean"},ellipsis:{defaultValue:!0,describe:"Replaces three dots with the ellipsis unicode character",type:"boolean"},completeHTMLDocument:{defaultValue:!1,describe:"Outputs a complete html document, including ``, `` and `` tags",type:"boolean"},metadata:{defaultValue:!1,describe:"Enable support for document metadata (defined at the top of the document between `«««` and `»»»` or between `---` and `---`).",type:"boolean"},splitAdjacentBlockquotes:{defaultValue:!1,describe:"Split adjacent blockquote blocks",type:"boolean"}};if(u===!1)return JSON.parse(JSON.stringify(o));var i={};for(var l in o)o.hasOwnProperty(l)&&(i[l]=o[l].defaultValue);return i}function n(){var u=t(!0),o={};for(var i in u)u.hasOwnProperty(i)&&(o[i]=!0);return o}var r={},d={},s={},a=t(!0),c="vanilla",h={github:{omitExtraWLInCodeBlocks:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,disableForced4SpacesIndentedSublists:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghCompatibleHeaderId:!0,ghMentions:!0,backslashEscapesHTMLTags:!0,emoji:!0,splitAdjacentBlockquotes:!0},original:{noHeaderId:!0,ghCodeBlocks:!1},ghost:{omitExtraWLInCodeBlocks:!0,parseImgDimensions:!0,simplifiedAutoLink:!0,excludeTrailingPunctuationFromURLs:!0,literalMidWordUnderscores:!0,strikethrough:!0,tables:!0,tablesHeaderId:!0,ghCodeBlocks:!0,tasklists:!0,smoothLivePreview:!0,simpleLineBreaks:!0,requireSpaceBeforeHeadingText:!0,ghMentions:!1,encodeEmails:!0},vanilla:t(!0),allOn:n()};r.helper={},r.extensions={},r.setOption=function(u,o){return a[u]=o,this},r.getOption=function(u){return a[u]},r.getOptions=function(){return a},r.resetOptions=function(){a=t(!0)},r.setFlavor=function(u){if(!h.hasOwnProperty(u))throw Error(u+" flavor was not found");r.resetOptions();var o=h[u];c=u;for(var i in o)o.hasOwnProperty(i)&&(a[i]=o[i])},r.getFlavor=function(){return c},r.getFlavorOptions=function(u){if(h.hasOwnProperty(u))return h[u]},r.getDefaultOptions=function(u){return t(u)},r.subParser=function(u,o){if(r.helper.isString(u))if(typeof o<"u")d[u]=o;else{if(d.hasOwnProperty(u))return d[u];throw Error("SubParser named "+u+" not registered!")}},r.extension=function(u,o){if(!r.helper.isString(u))throw Error("Extension 'name' must be a string");if(u=r.helper.stdExtName(u),r.helper.isUndefined(o)){if(!s.hasOwnProperty(u))throw Error("Extension named "+u+" is not registered!");return s[u]}else{typeof o=="function"&&(o=o()),r.helper.isArray(o)||(o=[o]);var i=g(o,u);if(i.valid)s[u]=o;else throw Error(i.error)}},r.getAllExtensions=function(){return s},r.removeExtension=function(u){delete s[u]},r.resetExtensions=function(){s={}};function g(u,o){var i=o?"Error in "+o+" extension->":"Error in unnamed extension",l={valid:!0,error:""};r.helper.isArray(u)||(u=[u]);for(var _=0;_"u"},r.helper.forEach=function(u,o){if(r.helper.isUndefined(u))throw new Error("obj param is required");if(r.helper.isUndefined(o))throw new Error("callback param is required");if(!r.helper.isFunction(o))throw new Error("callback param must be a function/closure");if(typeof u.forEach=="function")u.forEach(o);else if(r.helper.isArray(u))for(var i=0;i").replace(/&/g,"&")};var C=function(u,o,i,l){var _=l||"",w=_.indexOf("g")>-1,p=new RegExp(o+"|"+i,"g"+_.replace(/g/g,"")),y=new RegExp(o,_.replace(/g/g,"")),z=[],j,T,M,f,E;do for(j=0;M=p.exec(u);)if(y.test(M[0]))j++||(T=p.lastIndex,f=T-M[0].length);else if(j&&!--j){E=M.index+M[0].length;var R={left:{start:f,end:T},match:{start:T,end:M.index},right:{start:M.index,end:E},wholeMatch:{start:f,end:E}};if(z.push(R),!w)return z}while(j&&(p.lastIndex=T));return z};r.helper.matchRecursiveRegExp=function(u,o,i,l){for(var _=C(u,o,i,l),w=[],p=0;p<_.length;++p)w.push([u.slice(_[p].wholeMatch.start,_[p].wholeMatch.end),u.slice(_[p].match.start,_[p].match.end),u.slice(_[p].left.start,_[p].left.end),u.slice(_[p].right.start,_[p].right.end)]);return w},r.helper.replaceRecursiveRegExp=function(u,o,i,l,_){if(!r.helper.isFunction(o)){var w=o;o=function(){return w}}var p=C(u,i,l,_),y=u,z=p.length;if(z>0){var j=[];p[0].wholeMatch.start!==0&&j.push(u.slice(0,p[0].wholeMatch.start));for(var T=0;T=0?l+(i||0):l},r.helper.splitAtIndex=function(u,o){if(!r.helper.isString(u))throw"InvalidArgumentError: first parameter of showdown.helper.regexIndexOf function must be a string";return[u.substring(0,o),u.substring(o)]},r.helper.encodeEmailAddress=function(u){var o=[function(i){return"&#"+i.charCodeAt(0)+";"},function(i){return"&#x"+i.charCodeAt(0).toString(16)+";"},function(i){return i}];return u=u.replace(/./g,function(i){if(i==="@")i=o[Math.floor(Math.random()*2)](i);else{var l=Math.random();i=l>.9?o[2](i):l>.45?o[1](i):o[0](i)}return i}),u},r.helper.padEnd=function(o,i,l){return i=i>>0,l=String(l||" "),o.length>i?String(o):(i=i-o.length,i>l.length&&(l+=l.repeat(i/l.length)),String(o)+l.slice(0,i))},typeof console>"u"&&(console={warn:function(u){alert(u)},log:function(u){alert(u)},error:function(u){throw u}}),r.helper.regexes={asteriskDashAndColon:/([*_:~])/g},r.helper.emojis={"+1":"👍","-1":"👎",100:"💯",1234:"🔢","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉","8ball":"🎱",a:"🅰️",ab:"🆎",abc:"🔤",abcd:"🔡",accept:"🉑",aerial_tramway:"🚡",airplane:"✈️",alarm_clock:"⏰",alembic:"⚗️",alien:"👽",ambulance:"🚑",amphora:"🏺",anchor:"⚓️",angel:"👼",anger:"💢",angry:"😠",anguished:"😧",ant:"🐜",apple:"🍎",aquarius:"♒️",aries:"♈️",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:"🛰",astonished:"😲",athletic_shoe:"👟",atm:"🏧",atom_symbol:"⚛️",avocado:"🥑",b:"🅱️",baby:"👶",baby_bottle:"🍼",baby_chick:"🐤",baby_symbol:"🚼",back:"🔙",bacon:"🥓",badminton:"🏸",baggage_claim:"🛄",baguette_bread:"🥖",balance_scale:"⚖️",balloon:"🎈",ballot_box:"🗳",ballot_box_with_check:"☑️",bamboo:"🎍",banana:"🍌",bangbang:"‼️",bank:"🏦",bar_chart:"📊",barber:"💈",baseball:"⚾️",basketball:"🏀",basketball_man:"⛹️",basketball_woman:"⛹️‍♀️",bat:"🦇",bath:"🛀",bathtub:"🛁",battery:"🔋",beach_umbrella:"🏖",bear:"🐻",bed:"🛏",bee:"🐝",beer:"🍺",beers:"🍻",beetle:"🐞",beginner:"🔰",bell:"🔔",bellhop_bell:"🛎",bento:"🍱",biking_man:"🚴",bike:"🚲",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:"⛵️",bomb:"💣",book:"📖",bookmark:"🔖",bookmark_tabs:"📑",books:"📚",boom:"💥",boot:"👢",bouquet:"💐",bowing_man:"🙇",bow_and_arrow:"🏹",bowing_woman:"🙇‍♀️",bowling:"🎳",boxing_glove:"🥊",boy:"👦",bread:"🍞",bride_with_veil:"👰",bridge_at_night:"🌉",briefcase:"💼",broken_heart:"💔",bug:"🐛",building_construction:"🏗",bulb:"💡",bullettrain_front:"🚅",bullettrain_side:"🚄",burrito:"🌯",bus:"🚌",business_suit_levitating:"🕴",busstop:"🚏",bust_in_silhouette:"👤",busts_in_silhouette:"👥",butterfly:"🦋",cactus:"🌵",cake:"🍰",calendar:"📆",call_me_hand:"🤙",calling:"📲",camel:"🐫",camera:"📷",camera_flash:"📸",camping:"🏕",cancer:"♋️",candle:"🕯",candy:"🍬",canoe:"🛶",capital_abcd:"🔠",capricorn:"♑️",car:"🚗",card_file_box:"🗃",card_index:"📇",card_index_dividers:"🗂",carousel_horse:"🎠",carrot:"🥕",cat:"🐱",cat2:"🐈",cd:"💿",chains:"⛓",champagne:"🍾",chart:"💹",chart_with_downwards_trend:"📉",chart_with_upwards_trend:"📈",checkered_flag:"🏁",cheese:"🧀",cherries:"🍒",cherry_blossom:"🌸",chestnut:"🌰",chicken:"🐔",children_crossing:"🚸",chipmunk:"🐿",chocolate_bar:"🍫",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:"♣️",cocktail:"🍸",coffee:"☕️",coffin:"⚰️",cold_sweat:"😰",comet:"☄️",computer:"💻",computer_mouse:"🖱",confetti_ball:"🎊",confounded:"😖",confused:"😕",congratulations:"㊗️",construction:"🚧",construction_worker_man:"👷",construction_worker_woman:"👷‍♀️",control_knobs:"🎛",convenience_store:"🏪",cookie:"🍪",cool:"🆒",policeman:"👮",copyright:"©️",corn:"🌽",couch_and_lamp:"🛋",couple:"👫",couple_with_heart_woman_man:"💑",couple_with_heart_man_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:"🏏",crocodile:"🐊",croissant:"🥐",crossed_fingers:"🤞",crossed_flags:"🎌",crossed_swords:"⚔️",crown:"👑",cry:"😢",crying_cat_face:"😿",crystal_ball:"🔮",cucumber:"🥒",cupid:"💘",curly_loop:"➰",currency_exchange:"💱",curry:"🍛",custard:"🍮",customs:"🛃",cyclone:"🌀",dagger:"🗡",dancer:"💃",dancing_women:"👯",dancing_men:"👯‍♂️",dango:"🍡",dark_sunglasses:"🕶",dart:"🎯",dash:"💨",date:"📅",deciduous_tree:"🌳",deer:"🦌",department_store:"🏬",derelict_house:"🏚",desert:"🏜",desert_island:"🏝",desktop_computer:"🖥",male_detective:"🕵️",diamond_shape_with_a_dot_inside:"💠",diamonds:"♦️",disappointed:"😞",disappointed_relieved:"😥",dizzy:"💫",dizzy_face:"😵",do_not_litter:"🚯",dog:"🐶",dog2:"🐕",dollar:"💵",dolls:"🎎",dolphin:"🐬",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:"🌏",egg:"🥚",eggplant:"🍆",eight_pointed_black_star:"✴️",eight_spoked_asterisk:"✳️",electric_plug:"🔌",elephant:"🐘",email:"✉️",end:"🔚",envelope_with_arrow:"📩",euro:"💶",european_castle:"🏰",european_post_office:"🏤",evergreen_tree:"🌲",exclamation:"❗️",expressionless:"😑",eye:"👁",eye_speech_bubble:"👁‍🗨",eyeglasses:"👓",eyes:"👀",face_with_head_bandage:"🤕",face_with_thermometer:"🤒",fist_oncoming:"👊",factory:"🏭",fallen_leaf:"🍂",family_man_woman_boy:"👪",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_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:"👩‍👩‍👧‍👧",fast_forward:"⏩",fax:"📠",fearful:"😨",feet:"🐾",female_detective:"🕵️‍♀️",ferris_wheel:"🎡",ferry:"⛴",field_hockey:"🏑",file_cabinet:"🗄",file_folder:"📁",film_projector:"📽",film_strip:"🎞",fire:"🔥",fire_engine:"🚒",fireworks:"🎆",first_quarter_moon:"🌓",first_quarter_moon_with_face:"🌛",fish:"🐟",fish_cake:"🍥",fishing_pole_and_fish:"🎣",fist_raised:"✊",fist_left:"🤛",fist_right:"🤜",flags:"🎏",flashlight:"🔦",fleur_de_lis:"⚜️",flight_arrival:"🛬",flight_departure:"🛫",floppy_disk:"💾",flower_playing_cards:"🎴",flushed:"😳",fog:"🌫",foggy:"🌁",football:"🏈",footprints:"👣",fork_and_knife:"🍴",fountain:"⛲️",fountain_pen:"🖋",four_leaf_clover:"🍀",fox_face:"🦊",framed_picture:"🖼",free:"🆓",fried_egg:"🍳",fried_shrimp:"🍤",fries:"🍟",frog:"🐸",frowning:"😦",frowning_face:"☹️",frowning_man:"🙍‍♂️",frowning_woman:"🙍",middle_finger:"🖕",fuelpump:"⛽️",full_moon:"🌕",full_moon_with_face:"🌝",funeral_urn:"⚱️",game_die:"🎲",gear:"⚙️",gem:"💎",gemini:"♊️",ghost:"👻",gift:"🎁",gift_heart:"💝",girl:"👧",globe_with_meridians:"🌐",goal_net:"🥅",goat:"🐐",golf:"⛳️",golfing_man:"🏌️",golfing_woman:"🏌️‍♀️",gorilla:"🦍",grapes:"🍇",green_apple:"🍏",green_book:"📗",green_heart:"💚",green_salad:"🥗",grey_exclamation:"❕",grey_question:"❔",grimacing:"😬",grin:"😁",grinning:"😀",guardsman:"💂",guardswoman:"💂‍♀️",guitar:"🎸",gun:"🔫",haircut_woman:"💇",haircut_man:"💇‍♂️",hamburger:"🍔",hammer:"🔨",hammer_and_pick:"⚒",hammer_and_wrench:"🛠",hamster:"🐹",hand:"✋",handbag:"👜",handshake:"🤝",hankey:"💩",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_heart_exclamation:"❣️",heavy_minus_sign:"➖",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",helicopter:"🚁",herb:"🌿",hibiscus:"🌺",high_brightness:"🔆",high_heel:"👠",hocho:"🔪",hole:"🕳",honey_pot:"🍯",horse:"🐴",horse_racing:"🏇",hospital:"🏥",hot_pepper:"🌶",hotdog:"🌭",hotel:"🏨",hotsprings:"♨️",hourglass:"⌛️",hourglass_flowing_sand:"⏳",house:"🏠",house_with_garden:"🏡",houses:"🏘",hugs:"🤗",hushed:"😯",ice_cream:"🍨",ice_hockey:"🏒",ice_skate:"⛸",icecream:"🍦",id:"🆔",ideograph_advantage:"🉐",imp:"👿",inbox_tray:"📥",incoming_envelope:"📨",tipping_hand_woman:"💁",information_source:"ℹ️",innocent:"😇",interrobang:"⁉️",iphone:"📱",izakaya_lantern:"🏮",jack_o_lantern:"🎃",japan:"🗾",japanese_castle:"🏯",japanese_goblin:"👺",japanese_ogre:"👹",jeans:"👖",joy:"😂",joy_cat:"😹",joystick:"🕹",kaaba:"🕋",key:"🔑",keyboard:"⌨️",keycap_ten:"🔟",kick_scooter:"🛴",kimono:"👘",kiss:"💋",kissing:"😗",kissing_cat:"😽",kissing_closed_eyes:"😚",kissing_heart:"😘",kissing_smiling_eyes:"😙",kiwi_fruit:"🥝",koala:"🐨",koko:"🈁",label:"🏷",large_blue_circle:"🔵",large_blue_diamond:"🔷",large_orange_diamond:"🔶",last_quarter_moon:"🌗",last_quarter_moon_with_face:"🌜",latin_cross:"✝️",laughing:"😆",leaves:"🍃",ledger:"📒",left_luggage:"🛅",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",lemon:"🍋",leo:"♌️",leopard:"🐆",level_slider:"🎚",libra:"♎️",light_rail:"🚈",link:"🔗",lion:"🦁",lips:"👄",lipstick:"💄",lizard:"🦎",lock:"🔒",lock_with_ink_pen:"🔏",lollipop:"🍭",loop:"➿",loud_sound:"🔊",loudspeaker:"📢",love_hotel:"🏩",love_letter:"💌",low_brightness:"🔅",lying_face:"🤥",m:"Ⓜ️",mag:"🔍",mag_right:"🔎",mahjong:"🀄️",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",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:"👳",tangerine:"🍊",mans_shoe:"👞",mantelpiece_clock:"🕰",maple_leaf:"🍁",martial_arts_uniform:"🥋",mask:"😷",massage_woman:"💆",massage_man:"💆‍♂️",meat_on_bone:"🍖",medal_military:"🎖",medal_sports:"🏅",mega:"📣",melon:"🍈",memo:"📝",men_wrestling:"🤼‍♂️",menorah:"🕎",mens:"🚹",metal:"🤘",metro:"🚇",microphone:"🎤",microscope:"🔬",milk_glass:"🥛",milky_way:"🌌",minibus:"🚐",minidisc:"💽",mobile_phone_off:"📴",money_mouth_face:"🤑",money_with_wings:"💸",moneybag:"💰",monkey:"🐒",monkey_face:"🐵",monorail:"🚝",moon:"🌔",mortar_board:"🎓",mosque:"🕌",motor_boat:"🛥",motor_scooter:"🛵",motorcycle:"🏍",motorway:"🛣",mount_fuji:"🗻",mountain:"⛰",mountain_biking_man:"🚵",mountain_biking_woman:"🚵‍♀️",mountain_cableway:"🚠",mountain_railway:"🚞",mountain_snow:"🏔",mouse:"🐭",mouse2:"🐁",movie_camera:"🎥",moyai:"🗿",mrs_claus:"🤶",muscle:"💪",mushroom:"🍄",musical_keyboard:"🎹",musical_note:"🎵",musical_score:"🎼",mute:"🔇",nail_care:"💅",name_badge:"📛",national_park:"🏞",nauseated_face:"🤢",necktie:"👔",negative_squared_cross_mark:"❎",nerd_face:"🤓",neutral_face:"😐",new:"🆕",new_moon:"🌑",new_moon_with_face:"🌚",newspaper:"📰",newspaper_roll:"🗞",next_track_button:"⏭",ng:"🆖",no_good_man:"🙅‍♂️",no_good_woman:"🙅",night_with_stars:"🌃",no_bell:"🔕",no_bicycles:"🚳",no_entry:"⛔️",no_entry_sign:"🚫",no_mobile_phones:"📵",no_mouth:"😶",no_pedestrians:"🚷",no_smoking:"🚭","non-potable_water":"🚱",nose:"👃",notebook:"📓",notebook_with_decorative_cover:"📔",notes:"🎶",nut_and_bolt:"🔩",o:"⭕️",o2:"🅾️",ocean:"🌊",octopus:"🐙",oden:"🍢",office:"🏢",oil_drum:"🛢",ok:"🆗",ok_hand:"👌",ok_man:"🙆‍♂️",ok_woman:"🙆",old_key:"🗝",older_man:"👴",older_woman:"👵",om:"🕉",on:"🔛",oncoming_automobile:"🚘",oncoming_bus:"🚍",oncoming_police_car:"🚔",oncoming_taxi:"🚖",open_file_folder:"📂",open_hands:"👐",open_mouth:"😮",open_umbrella:"☂️",ophiuchus:"⛎",orange_book:"📙",orthodox_cross:"☦️",outbox_tray:"📤",owl:"🦉",ox:"🐂",package:"📦",page_facing_up:"📄",page_with_curl:"📃",pager:"📟",paintbrush:"🖌",palm_tree:"🌴",pancakes:"🥞",panda_face:"🐼",paperclip:"📎",paperclips:"🖇",parasol_on_ground:"⛱",parking:"🅿️",part_alternation_mark:"〽️",partly_sunny:"⛅️",passenger_ship:"🛳",passport_control:"🛂",pause_button:"⏸",peace_symbol:"☮️",peach:"🍑",peanuts:"🥜",pear:"🍐",pen:"🖊",pencil2:"✏️",penguin:"🐧",pensive:"😔",performing_arts:"🎭",persevere:"😣",person_fencing:"🤺",pouting_woman:"🙎",phone:"☎️",pick:"⛏",pig:"🐷",pig2:"🐖",pig_nose:"🐽",pill:"💊",pineapple:"🍍",ping_pong:"🏓",pisces:"♓️",pizza:"🍕",place_of_worship:"🛐",plate_with_cutlery:"🍽",play_or_pause_button:"⏯",point_down:"👇",point_left:"👈",point_right:"👉",point_up:"☝️",point_up_2:"👆",police_car:"🚓",policewoman:"👮‍♀️",poodle:"🐩",popcorn:"🍿",post_office:"🏣",postal_horn:"📯",postbox:"📮",potable_water:"🚰",potato:"🥔",pouch:"👝",poultry_leg:"🍗",pound:"💷",rage:"😡",pouting_cat:"😾",pouting_man:"🙎‍♂️",pray:"🙏",prayer_beads:"📿",pregnant_woman:"🤰",previous_track_button:"⏮",prince:"🤴",princess:"👸",printer:"🖨",purple_heart:"💜",purse:"👛",pushpin:"📌",put_litter_in_its_place:"🚮",question:"❓",rabbit:"🐰",rabbit2:"🐇",racehorse:"🐎",racing_car:"🏎",radio:"📻",radio_button:"🔘",radioactive:"☢️",railway_car:"🚃",railway_track:"🛤",rainbow:"🌈",rainbow_flag:"🏳️‍🌈",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐",raised_hands:"🙌",raising_hand_woman:"🙋",raising_hand_man:"🙋‍♂️",ram:"🐏",ramen:"🍜",rat:"🐀",record_button:"⏺",recycle:"♻️",red_circle:"🔴",registered:"®️",relaxed:"☺️",relieved:"😌",reminder_ribbon:"🎗",repeat:"🔁",repeat_one:"🔂",rescue_worker_helmet:"⛑",restroom:"🚻",revolving_hearts:"💞",rewind:"⏪",rhinoceros:"🦏",ribbon:"🎀",rice:"🍚",rice_ball:"🍙",rice_cracker:"🍘",rice_scene:"🎑",right_anger_bubble:"🗯",ring:"💍",robot:"🤖",rocket:"🚀",rofl:"🤣",roll_eyes:"🙄",roller_coaster:"🎢",rooster:"🐓",rose:"🌹",rosette:"🏵",rotating_light:"🚨",round_pushpin:"📍",rowing_man:"🚣",rowing_woman:"🚣‍♀️",rugby_football:"🏉",running_man:"🏃",running_shirt_with_sash:"🎽",running_woman:"🏃‍♀️",sa:"🈂️",sagittarius:"♐️",sake:"🍶",sandal:"👡",santa:"🎅",satellite:"📡",saxophone:"🎷",school:"🏫",school_satchel:"🎒",scissors:"✂️",scorpion:"🦂",scorpius:"♏️",scream:"😱",scream_cat:"🙀",scroll:"📜",seat:"💺",secret:"㊙️",see_no_evil:"🙈",seedling:"🌱",selfie:"🤳",shallow_pan_of_food:"🥘",shamrock:"☘️",shark:"🦈",shaved_ice:"🍧",sheep:"🐑",shell:"🐚",shield:"🛡",shinto_shrine:"⛩",ship:"🚢",shirt:"👕",shopping:"🛍",shopping_cart:"🛒",shower:"🚿",shrimp:"🦐",signal_strength:"📶",six_pointed_star:"🔯",ski:"🎿",skier:"⛷",skull:"💀",skull_and_crossbones:"☠️",sleeping:"😴",sleeping_bed:"🛌",sleepy:"😪",slightly_frowning_face:"🙁",slightly_smiling_face:"🙂",slot_machine:"🎰",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:"⚽️",soon:"🔜",sos:"🆘",sound:"🔉",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:"🦑",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:"🥙",sun_behind_large_cloud:"🌥",sun_behind_rain_cloud:"🌦",sun_behind_small_cloud:"🌤",sun_with_face:"🌞",sunflower:"🌻",sunglasses:"😎",sunny:"☀️",sunrise:"🌅",sunrise_over_mountains:"🌄",surfing_man:"🏄",surfing_woman:"🏄‍♀️",sushi:"🍣",suspension_railway:"🚟",sweat:"😓",sweat_drops:"💦",sweat_smile:"😅",sweet_potato:"🍠",swimming_man:"🏊",swimming_woman:"🏊‍♀️",symbols:"🔣",synagogue:"🕍",syringe:"💉",taco:"🌮",tada:"🎉",tanabata_tree:"🎋",taurus:"♉️",taxi:"🚕",tea:"🍵",telephone_receiver:"📞",telescope:"🔭",tennis:"🎾",tent:"⛺️",thermometer:"🌡",thinking:"🤔",thought_balloon:"💭",ticket:"🎫",tickets:"🎟",tiger:"🐯",tiger2:"🐅",timer_clock:"⏲",tipping_hand_man:"💁‍♂️",tired_face:"😫",tm:"™️",toilet:"🚽",tokyo_tower:"🗼",tomato:"🍅",tongue:"👅",top:"🔝",tophat:"🎩",tornado:"🌪",trackball:"🖲",tractor:"🚜",traffic_light:"🚥",train:"🚋",train2:"🚆",tram:"🚊",triangular_flag_on_post:"🚩",triangular_ruler:"📐",trident:"🔱",triumph:"😤",trolleybus:"🚎",trophy:"🏆",tropical_drink:"🍹",tropical_fish:"🐠",truck:"🚚",trumpet:"🎺",tulip:"🌷",tumbler_glass:"🥃",turkey:"🦃",turtle:"🐢",tv:"📺",twisted_rightwards_arrows:"🔀",two_hearts:"💕",two_men_holding_hands:"👬",two_women_holding_hands:"👭",u5272:"🈹",u5408:"🈴",u55b6:"🈺",u6307:"🈯️",u6708:"🈷️",u6709:"🈶",u6e80:"🈵",u7121:"🈚️",u7533:"🈸",u7981:"🈲",u7a7a:"🈳",umbrella:"☔️",unamused:"😒",underage:"🔞",unicorn:"🦄",unlock:"🔓",up:"🆙",upside_down_face:"🙃",v:"✌️",vertical_traffic_light:"🚦",vhs:"📼",vibration_mode:"📳",video_camera:"📹",video_game:"🎮",violin:"🎻",virgo:"♍️",volcano:"🌋",volleyball:"🏐",vs:"🆚",vulcan_salute:"🖖",walking_man:"🚶",walking_woman:"🚶‍♀️",waning_crescent_moon:"🌘",waning_gibbous_moon:"🌖",warning:"⚠️",wastebasket:"🗑",watch:"⌚️",water_buffalo:"🐃",watermelon:"🍉",wave:"👋",wavy_dash:"〰️",waxing_crescent_moon:"🌒",wc:"🚾",weary:"😩",wedding:"💒",weight_lifting_man:"🏋️",weight_lifting_woman:"🏋️‍♀️",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:"🔳",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:"✍️",x:"❌",yellow_heart:"💛",yen:"💴",yin_yang:"☯️",yum:"😋",zap:"⚡️",zipper_mouth_face:"🤐",zzz:"💤",octocat:':octocat:',showdown:`S`},r.Converter=function(u){var o={},i=[],l=[],_={},w=c,p={parsed:{},raw:"",format:""};y();function y(){u=u||{};for(var f in a)a.hasOwnProperty(f)&&(o[f]=a[f]);if(typeof u=="object")for(var E in u)u.hasOwnProperty(E)&&(o[E]=u[E]);else throw Error("Converter expects the passed parameter to be an object, but "+typeof u+" was passed instead.");o.extensions&&r.helper.forEach(o.extensions,z)}function z(f,E){if(E=E||null,r.helper.isString(f))if(f=r.helper.stdExtName(f),E=f,r.extensions[f]){console.warn("DEPRECATION WARNING: "+f+" is an old extension that uses a deprecated loading method.Please inform the developer that the extension should be updated!"),j(r.extensions[f],f);return}else if(!r.helper.isUndefined(s[f]))f=s[f];else throw Error('Extension "'+f+'" could not be loaded. It was either not found or is not a valid extension.');typeof f=="function"&&(f=f()),r.helper.isArray(f)||(f=[f]);var R=g(f,E);if(!R.valid)throw Error(R.error);for(var U=0;U[ \t]+¨NBSP;<"),!E)if(window&&window.document)E=window.document;else throw new Error("HTMLParser is undefined. If in a webworker or nodejs environment, you need to provide a WHATWG DOM and HTML such as JSDOM");var R=E.createElement("div");R.innerHTML=f;var U={preList:Ae(R)};be(R);for(var Q=R.childNodes,q="",se=0;se'}else pe.push(ae[we].innerHTML),ae[we].innerHTML="",ae[we].setAttribute("prenum",we.toString());return pe}return q},this.setOption=function(f,E){o[f]=E},this.getOption=function(f){return o[f]},this.getOptions=function(){return o},this.addExtension=function(f,E){E=E||null,z(f,E)},this.useExtension=function(f){z(f)},this.setFlavor=function(f){if(!h.hasOwnProperty(f))throw Error(f+" flavor was not found");var E=h[f];w=f;for(var R in E)E.hasOwnProperty(R)&&(o[R]=E[R])},this.getFlavor=function(){return w},this.removeExtension=function(f){r.helper.isArray(f)||(f=[f]);for(var E=0;E? ?(['"].*['"])?\)$/m)>-1)y="";else if(!y)if(p||(p=w.toLowerCase().replace(/ ?\n/g," ")),y="#"+p,!r.helper.isUndefined(i.gUrls[p]))y=i.gUrls[p],r.helper.isUndefined(i.gTitles[p])||(T=i.gTitles[p]);else return _;y=y.replace(r.helper.regexes.asteriskDashAndColon,r.helper.escapeCharactersCallback);var M='",M};return u=u.replace(/\[((?:\[[^\]]*]|[^\[\]])*)] ?(?:\n *)?\[(.*?)]()()()()/g,l),u=u.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]?<([^>]*)>(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,l),u=u.replace(/\[((?:\[[^\]]*]|[^\[\]])*)]()[ \t]*\([ \t]??(?:[ \t]*((["'])([^"]*?)\5))?[ \t]?\)/g,l),u=u.replace(/\[([^\[\]]+)]()()()()()/g,l),o.ghMentions&&(u=u.replace(/(^|\s)(\\)?(@([a-z\d]+(?:[a-z\d.-]+?[a-z\d]+)*))/gmi,function(_,w,p,y,z){if(p==="\\")return w+y;if(!r.helper.isString(o.ghMentionsLink))throw new Error("ghMentionsLink option must be a string");var j=o.ghMentionsLink.replace(/\{u}/g,z),T="";return o.openLinksInNewWindow&&(T=' rel="noopener noreferrer" target="¨E95Eblank"'),w+'"+y+""})),u=i.converter._dispatch("anchors.after",u,o,i),u});var I=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+?\.[^'">\s]+?)()(\1)?(?=\s|$)(?!["<>])/gi,D=/([*~_]+|\b)(((https?|ftp|dict):\/\/|www\.)[^'">\s]+\.[^'">\s]+?)([.!?,()\[\]])?(\1)?(?=\s|$)(?!["<>])/gi,B=/()<(((https?|ftp|dict):\/\/|www\.)[^'">\s]+)()>()/gi,H=/(^|\s)(?:mailto:)?([A-Za-z0-9!#$%&'*+-/=?^_`{|}~.]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)(?=$|\s)/gmi,ue=/<()(?:mailto:)?([-.\w]+@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,X=function(u){return function(o,i,l,_,w,p,y){l=l.replace(r.helper.regexes.asteriskDashAndColon,r.helper.escapeCharactersCallback);var z=l,j="",T="",M=i||"",f=y||"";return/^www\./i.test(l)&&(l=l.replace(/^www\./i,"http://www.")),u.excludeTrailingPunctuationFromURLs&&p&&(j=p),u.openLinksInNewWindow&&(T=' rel="noopener noreferrer" target="¨E95Eblank"'),M+'"+z+""+j+f}},le=function(u,o){return function(i,l,_){var w="mailto:";return l=l||"",_=r.subParser("unescapeSpecialChars")(_,u,o),u.encodeEmails?(w=r.helper.encodeEmailAddress(w+_),_=r.helper.encodeEmailAddress(_)):w=w+_,l+''+_+""}};r.subParser("autoLinks",function(u,o,i){return u=i.converter._dispatch("autoLinks.before",u,o,i),u=u.replace(B,X(o)),u=u.replace(ue,le(o,i)),u=i.converter._dispatch("autoLinks.after",u,o,i),u}),r.subParser("simplifiedAutoLinks",function(u,o,i){return o.simplifiedAutoLink&&(u=i.converter._dispatch("simplifiedAutoLinks.before",u,o,i),o.excludeTrailingPunctuationFromURLs?u=u.replace(D,X(o)):u=u.replace(I,X(o)),u=u.replace(H,le(o,i)),u=i.converter._dispatch("simplifiedAutoLinks.after",u,o,i)),u}),r.subParser("blockGamut",function(u,o,i){return u=i.converter._dispatch("blockGamut.before",u,o,i),u=r.subParser("blockQuotes")(u,o,i),u=r.subParser("headers")(u,o,i),u=r.subParser("horizontalRule")(u,o,i),u=r.subParser("lists")(u,o,i),u=r.subParser("codeBlocks")(u,o,i),u=r.subParser("tables")(u,o,i),u=r.subParser("hashHTMLBlocks")(u,o,i),u=r.subParser("paragraphs")(u,o,i),u=i.converter._dispatch("blockGamut.after",u,o,i),u}),r.subParser("blockQuotes",function(u,o,i){u=i.converter._dispatch("blockQuotes.before",u,o,i),u=u+` + +`;var l=/(^ {0,3}>[ \t]?.+\n(.+\n)*\n*)+/gm;return o.splitAdjacentBlockquotes&&(l=/^ {0,3}>[\s\S]*?(?:\n\n)/gm),u=u.replace(l,function(_){return _=_.replace(/^[ \t]*>[ \t]?/gm,""),_=_.replace(/¨0/g,""),_=_.replace(/^[ \t]+$/gm,""),_=r.subParser("githubCodeBlocks")(_,o,i),_=r.subParser("blockGamut")(_,o,i),_=_.replace(/(^|\n)/g,"$1 "),_=_.replace(/(\s*
[^\r]+?<\/pre>)/gm,function(w,p){var y=p;return y=y.replace(/^  /mg,"¨0"),y=y.replace(/¨0/g,""),y}),r.subParser("hashBlock")(`
+`+_+` +
`,o,i)}),u=i.converter._dispatch("blockQuotes.after",u,o,i),u}),r.subParser("codeBlocks",function(u,o,i){u=i.converter._dispatch("codeBlocks.before",u,o,i),u+="¨0";var l=/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=¨0))/g;return u=u.replace(l,function(_,w,p){var y=w,z=p,j=` +`;return y=r.subParser("outdent")(y,o,i),y=r.subParser("encodeCode")(y,o,i),y=r.subParser("detab")(y,o,i),y=y.replace(/^\n+/g,""),y=y.replace(/\n+$/g,""),o.omitExtraWLInCodeBlocks&&(j=""),y="
"+y+j+"
",r.subParser("hashBlock")(y,o,i)+z}),u=u.replace(/¨0/,""),u=i.converter._dispatch("codeBlocks.after",u,o,i),u}),r.subParser("codeSpans",function(u,o,i){return u=i.converter._dispatch("codeSpans.before",u,o,i),typeof u>"u"&&(u=""),u=u.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(l,_,w,p){var y=p;return y=y.replace(/^([ \t]*)/g,""),y=y.replace(/[ \t]*$/g,""),y=r.subParser("encodeCode")(y,o,i),y=_+""+y+"",y=r.subParser("hashHTMLSpans")(y,o,i),y}),u=i.converter._dispatch("codeSpans.after",u,o,i),u}),r.subParser("completeHTMLDocument",function(u,o,i){if(!o.completeHTMLDocument)return u;u=i.converter._dispatch("completeHTMLDocument.before",u,o,i);var l="html",_=` +`,w="",p=` +`,y="",z="";typeof i.metadata.parsed.doctype<"u"&&(_=" +`,l=i.metadata.parsed.doctype.toString().toLowerCase(),(l==="html"||l==="html5")&&(p=''));for(var j in i.metadata.parsed)if(i.metadata.parsed.hasOwnProperty(j))switch(j.toLowerCase()){case"doctype":break;case"title":w=""+i.metadata.parsed.title+` +`;break;case"charset":l==="html"||l==="html5"?p=' +`:p=' +`;break;case"language":case"lang":y=' lang="'+i.metadata.parsed[j]+'"',z+=' +`;break;default:z+=' +`}return u=_+" + +`+w+p+z+` + +`+u.trim()+` + +`,u=i.converter._dispatch("completeHTMLDocument.after",u,o,i),u}),r.subParser("detab",function(u,o,i){return u=i.converter._dispatch("detab.before",u,o,i),u=u.replace(/\t(?=\t)/g," "),u=u.replace(/\t/g,"¨A¨B"),u=u.replace(/¨B(.+?)¨A/g,function(l,_){for(var w=_,p=4-w.length%4,y=0;y/g,">"),u=i.converter._dispatch("encodeAmpsAndAngles.after",u,o,i),u}),r.subParser("encodeBackslashEscapes",function(u,o,i){return u=i.converter._dispatch("encodeBackslashEscapes.before",u,o,i),u=u.replace(/\\(\\)/g,r.helper.escapeCharactersCallback),u=u.replace(/\\([`*_{}\[\]()>#+.!~=|:-])/g,r.helper.escapeCharactersCallback),u=i.converter._dispatch("encodeBackslashEscapes.after",u,o,i),u}),r.subParser("encodeCode",function(u,o,i){return u=i.converter._dispatch("encodeCode.before",u,o,i),u=u.replace(/&/g,"&").replace(//g,">").replace(/([*_{}\[\]\\=~-])/g,r.helper.escapeCharactersCallback),u=i.converter._dispatch("encodeCode.after",u,o,i),u}),r.subParser("escapeSpecialCharsWithinTagAttributes",function(u,o,i){u=i.converter._dispatch("escapeSpecialCharsWithinTagAttributes.before",u,o,i);var l=/<\/?[a-z\d_:-]+(?:[\s]+[\s\S]+?)?>/gi,_=/-]|-[^>])(?:[^-]|-[^-])*)--)>/gi;return u=u.replace(l,function(w){return w.replace(/(.)<\/?code>(?=.)/g,"$1`").replace(/([\\`*_~=|])/g,r.helper.escapeCharactersCallback)}),u=u.replace(_,function(w){return w.replace(/([\\`*_~=|])/g,r.helper.escapeCharactersCallback)}),u=i.converter._dispatch("escapeSpecialCharsWithinTagAttributes.after",u,o,i),u}),r.subParser("githubCodeBlocks",function(u,o,i){return o.ghCodeBlocks?(u=i.converter._dispatch("githubCodeBlocks.before",u,o,i),u+="¨0",u=u.replace(/(?:^|\n)(?: {0,3})(```+|~~~+)(?: *)([^\s`~]*)\n([\s\S]*?)\n(?: {0,3})\1/g,function(l,_,w,p){var y=o.omitExtraWLInCodeBlocks?"":` +`;return p=r.subParser("encodeCode")(p,o,i),p=r.subParser("detab")(p,o,i),p=p.replace(/^\n+/g,""),p=p.replace(/\n+$/g,""),p="
"+p+y+"
",p=r.subParser("hashBlock")(p,o,i),` + +¨G`+(i.ghCodeBlocks.push({text:l,codeblock:p})-1)+`G + +`}),u=u.replace(/¨0/,""),i.converter._dispatch("githubCodeBlocks.after",u,o,i)):u}),r.subParser("hashBlock",function(u,o,i){return u=i.converter._dispatch("hashBlock.before",u,o,i),u=u.replace(/(^\n+|\n+$)/g,""),u=` + +¨K`+(i.gHtmlBlocks.push(u)-1)+`K + +`,u=i.converter._dispatch("hashBlock.after",u,o,i),u}),r.subParser("hashCodeTags",function(u,o,i){u=i.converter._dispatch("hashCodeTags.before",u,o,i);var l=function(_,w,p,y){var z=p+r.subParser("encodeCode")(w,o,i)+y;return"¨C"+(i.gHtmlSpans.push(z)-1)+"C"};return u=r.helper.replaceRecursiveRegExp(u,l,"]*>","","gim"),u=i.converter._dispatch("hashCodeTags.after",u,o,i),u}),r.subParser("hashElement",function(u,o,i){return function(l,_){var w=_;return w=w.replace(/\n\n/g,` +`),w=w.replace(/^\n/,""),w=w.replace(/\n+$/g,""),w=` + +¨K`+(i.gHtmlBlocks.push(w)-1)+`K + +`,w}}),r.subParser("hashHTMLBlocks",function(u,o,i){u=i.converter._dispatch("hashHTMLBlocks.before",u,o,i);var l=["pre","div","h1","h2","h3","h4","h5","h6","blockquote","table","dl","ol","ul","script","noscript","form","fieldset","iframe","math","style","section","header","footer","nav","article","aside","address","audio","canvas","figure","hgroup","output","video","p"],_=function(f,E,R,U){var Q=f;return R.search(/\bmarkdown\b/)!==-1&&(Q=R+i.converter.makeHtml(E)+U),` + +¨K`+(i.gHtmlBlocks.push(Q)-1)+`K + +`};o.backslashEscapesHTMLTags&&(u=u.replace(/\\<(\/?[^>]+?)>/g,function(f,E){return"<"+E+">"}));for(var w=0;w]*>)","im"),z="<"+l[w]+"\\b[^>]*>",j="";(p=r.helper.regexIndexOf(u,y))!==-1;){var T=r.helper.splitAtIndex(u,p),M=r.helper.replaceRecursiveRegExp(T[1],_,z,j,"im");if(M===T[1])break;u=T[0].concat(M)}return u=u.replace(/(\n {0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,r.subParser("hashElement")(u,o,i)),u=r.helper.replaceRecursiveRegExp(u,function(f){return` + +¨K`+(i.gHtmlBlocks.push(f)-1)+`K + +`},"^ {0,3}","gm"),u=u.replace(/(?:\n\n)( {0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,r.subParser("hashElement")(u,o,i)),u=i.converter._dispatch("hashHTMLBlocks.after",u,o,i),u}),r.subParser("hashHTMLSpans",function(u,o,i){u=i.converter._dispatch("hashHTMLSpans.before",u,o,i);function l(_){return"¨C"+(i.gHtmlSpans.push(_)-1)+"C"}return u=u.replace(/<[^>]+?\/>/gi,function(_){return l(_)}),u=u.replace(/<([^>]+?)>[\s\S]*?<\/\1>/g,function(_){return l(_)}),u=u.replace(/<([^>]+?)\s[^>]+?>[\s\S]*?<\/\1>/g,function(_){return l(_)}),u=u.replace(/<[^>]+?>/gi,function(_){return l(_)}),u=i.converter._dispatch("hashHTMLSpans.after",u,o,i),u}),r.subParser("unhashHTMLSpans",function(u,o,i){u=i.converter._dispatch("unhashHTMLSpans.before",u,o,i);for(var l=0;l]*>\\s*]*>","^ {0,3}\\s*
","gim"),u=i.converter._dispatch("hashPreCodeTags.after",u,o,i),u}),r.subParser("headers",function(u,o,i){u=i.converter._dispatch("headers.before",u,o,i);var l=isNaN(parseInt(o.headerLevelStart))?1:parseInt(o.headerLevelStart),_=o.smoothLivePreview?/^(.+)[ \t]*\n={2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n=+[ \t]*\n+/gm,w=o.smoothLivePreview?/^(.+)[ \t]*\n-{2,}[ \t]*\n+/gm:/^(.+)[ \t]*\n-+[ \t]*\n+/gm;u=u.replace(_,function(z,j){var T=r.subParser("spanGamut")(j,o,i),M=o.noHeaderId?"":' id="'+y(j)+'"',f=l,E=""+T+"";return r.subParser("hashBlock")(E,o,i)}),u=u.replace(w,function(z,j){var T=r.subParser("spanGamut")(j,o,i),M=o.noHeaderId?"":' id="'+y(j)+'"',f=l+1,E=""+T+"";return r.subParser("hashBlock")(E,o,i)});var p=o.requireSpaceBeforeHeadingText?/^(#{1,6})[ \t]+(.+?)[ \t]*#*\n+/gm:/^(#{1,6})[ \t]*(.+?)[ \t]*#*\n+/gm;u=u.replace(p,function(z,j,T){var M=T;o.customizedHeaderId&&(M=T.replace(/\s?\{([^{]+?)}\s*$/,""));var f=r.subParser("spanGamut")(M,o,i),E=o.noHeaderId?"":' id="'+y(T)+'"',R=l-1+j.length,U=""+f+"";return r.subParser("hashBlock")(U,o,i)});function y(z){var j,T;if(o.customizedHeaderId){var M=z.match(/\{([^{]+?)}\s*$/);M&&M[1]&&(z=M[1])}return j=z,r.helper.isString(o.prefixHeaderId)?T=o.prefixHeaderId:o.prefixHeaderId===!0?T="section-":T="",o.rawPrefixHeaderId||(j=T+j),o.ghCompatibleHeaderId?j=j.replace(/ /g,"-").replace(/&/g,"").replace(/¨T/g,"").replace(/¨D/g,"").replace(/[&+$,\/:;=?@"#{}|^¨~\[\]`\\*)(%.!'<>]/g,"").toLowerCase():o.rawHeaderId?j=j.replace(/ /g,"-").replace(/&/g,"&").replace(/¨T/g,"¨").replace(/¨D/g,"$").replace(/["']/g,"-").toLowerCase():j=j.replace(/[^\w]/g,"").toLowerCase(),o.rawPrefixHeaderId&&(j=T+j),i.hashLinkCounts[j]?j=j+"-"+i.hashLinkCounts[j]++:i.hashLinkCounts[j]=1,j}return u=i.converter._dispatch("headers.after",u,o,i),u}),r.subParser("horizontalRule",function(u,o,i){u=i.converter._dispatch("horizontalRule.before",u,o,i);var l=r.subParser("hashBlock")("
",o,i);return u=u.replace(/^ {0,2}( ?-){3,}[ \t]*$/gm,l),u=u.replace(/^ {0,2}( ?\*){3,}[ \t]*$/gm,l),u=u.replace(/^ {0,2}( ?_){3,}[ \t]*$/gm,l),u=i.converter._dispatch("horizontalRule.after",u,o,i),u}),r.subParser("images",function(u,o,i){u=i.converter._dispatch("images.before",u,o,i);var l=/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,_=/!\[([^\]]*?)][ \t]*()\([ \t]?<([^>]*)>(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(?:(["'])([^"]*?)\6))?[ \t]?\)/g,w=/!\[([^\]]*?)][ \t]*()\([ \t]??(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*(?:(["'])([^"]*?)\6)?[ \t]?\)/g,p=/!\[([^\]]*?)] ?(?:\n *)?\[([\s\S]*?)]()()()()()/g,y=/!\[([^\[\]]+)]()()()()()/g;function z(T,M,f,E,R,U,Q,q){return E=E.replace(/\s/g,""),j(T,M,f,E,R,U,Q,q)}function j(T,M,f,E,R,U,Q,q){var se=i.gUrls,be=i.gTitles,Ae=i.gDimensions;if(f=f.toLowerCase(),q||(q=""),T.search(/\(? ?(['"].*['"])?\)$/m)>-1)E="";else if(E===""||E===null)if((f===""||f===null)&&(f=M.toLowerCase().replace(/ ?\n/g," ")),E="#"+f,!r.helper.isUndefined(se[f]))E=se[f],r.helper.isUndefined(be[f])||(q=be[f]),r.helper.isUndefined(Ae[f])||(R=Ae[f].width,U=Ae[f].height);else return T;M=M.replace(/"/g,""").replace(r.helper.regexes.asteriskDashAndColon,r.helper.escapeCharactersCallback),E=E.replace(r.helper.regexes.asteriskDashAndColon,r.helper.escapeCharactersCallback);var he=''+M+'","
")}),u=u.replace(/\b__(\S[\s\S]*?)__\b/g,function(_,w){return l(w,"","")}),u=u.replace(/\b_(\S[\s\S]*?)_\b/g,function(_,w){return l(w,"","")})):(u=u.replace(/___(\S[\s\S]*?)___/g,function(_,w){return/\S$/.test(w)?l(w,"",""):_}),u=u.replace(/__(\S[\s\S]*?)__/g,function(_,w){return/\S$/.test(w)?l(w,"",""):_}),u=u.replace(/_([^\s_][\s\S]*?)_/g,function(_,w){return/\S$/.test(w)?l(w,"",""):_})),o.literalMidWordAsterisks?(u=u.replace(/([^*]|^)\B\*\*\*(\S[\s\S]*?)\*\*\*\B(?!\*)/g,function(_,w,p){return l(p,w+"","")}),u=u.replace(/([^*]|^)\B\*\*(\S[\s\S]*?)\*\*\B(?!\*)/g,function(_,w,p){return l(p,w+"","")}),u=u.replace(/([^*]|^)\B\*(\S[\s\S]*?)\*\B(?!\*)/g,function(_,w,p){return l(p,w+"","")})):(u=u.replace(/\*\*\*(\S[\s\S]*?)\*\*\*/g,function(_,w){return/\S$/.test(w)?l(w,"",""):_}),u=u.replace(/\*\*(\S[\s\S]*?)\*\*/g,function(_,w){return/\S$/.test(w)?l(w,"",""):_}),u=u.replace(/\*([^\s*][\s\S]*?)\*/g,function(_,w){return/\S$/.test(w)?l(w,"",""):_})),u=i.converter._dispatch("italicsAndBold.after",u,o,i),u}),r.subParser("lists",function(u,o,i){function l(p,y){i.gListLevel++,p=p.replace(/\n{2,}$/,` +`),p+="¨0";var z=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0| {0,3}([*+-]|\d+[.])[ \t]+))/gm,j=/\n[ \t]*\n(?!¨0)/.test(p);return o.disableForced4SpacesIndentedSublists&&(z=/(\n)?(^ {0,3})([*+-]|\d+[.])[ \t]+((\[(x|X| )?])?[ \t]*[^\r]+?(\n{1,2}))(?=\n*(¨0|\2([*+-]|\d+[.])[ \t]+))/gm),p=p.replace(z,function(T,M,f,E,R,U,Q){Q=Q&&Q.trim()!=="";var q=r.subParser("outdent")(R,o,i),se="";return U&&o.tasklists&&(se=' class="task-list-item" style="list-style-type: none;"',q=q.replace(/^[ \t]*\[(x|X| )?]/m,function(){var be='-1?(q=r.subParser("githubCodeBlocks")(q,o,i),q=r.subParser("blockGamut")(q,o,i)):(q=r.subParser("lists")(q,o,i),q=q.replace(/\n$/,""),q=r.subParser("hashHTMLBlocks")(q,o,i),q=q.replace(/\n\n+/g,` + +`),j?q=r.subParser("paragraphs")(q,o,i):q=r.subParser("spanGamut")(q,o,i)),q=q.replace("¨A",""),q=""+q+` +`,q}),p=p.replace(/¨0/g,""),i.gListLevel--,y&&(p=p.replace(/\s+$/,"")),p}function _(p,y){if(y==="ol"){var z=p.match(/^ *(\d+)\./);if(z&&z[1]!=="1")return' start="'+z[1]+'"'}return""}function w(p,y,z){var j=o.disableForced4SpacesIndentedSublists?/^ ?\d+\.[ \t]/gm:/^ {0,3}\d+\.[ \t]/gm,T=o.disableForced4SpacesIndentedSublists?/^ ?[*+-][ \t]/gm:/^ {0,3}[*+-][ \t]/gm,M=y==="ul"?j:T,f="";if(p.search(M)!==-1)(function R(U){var Q=U.search(M),q=_(p,y);Q!==-1?(f+=` + +<`+y+q+`> +`+l(U.slice(0,Q),!!z)+" +`,y=y==="ul"?"ol":"ul",M=y==="ul"?j:T,R(U.slice(Q))):f+=` + +<`+y+q+`> +`+l(U,!!z)+" +`})(p);else{var E=_(p,y);f=` + +<`+y+E+`> +`+l(p,!!z)+" +`}return f}return u=i.converter._dispatch("lists.before",u,o,i),u+="¨0",i.gListLevel?u=u.replace(/^(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(p,y,z){var j=z.search(/[*+-]/g)>-1?"ul":"ol";return w(y,j,!0)}):u=u.replace(/(\n\n|^\n?)(( {0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(¨0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm,function(p,y,z,j){var T=j.search(/[*+-]/g)>-1?"ul":"ol";return w(z,T,!1)}),u=u.replace(/¨0/,""),u=i.converter._dispatch("lists.after",u,o,i),u}),r.subParser("metadata",function(u,o,i){if(!o.metadata)return u;u=i.converter._dispatch("metadata.before",u,o,i);function l(_){i.metadata.raw=_,_=_.replace(/&/g,"&").replace(/"/g,"""),_=_.replace(/\n {4}/g," "),_.replace(/^([\S ]+): +([\s\S]+?)$/gm,function(w,p,y){return i.metadata.parsed[p]=y,""})}return u=u.replace(/^\s*«««+(\S*?)\n([\s\S]+?)\n»»»+\n/,function(_,w,p){return l(p),"¨M"}),u=u.replace(/^\s*---+(\S*?)\n([\s\S]+?)\n---+\n/,function(_,w,p){return w&&(i.metadata.format=w),l(p),"¨M"}),u=u.replace(/¨M/g,""),u=i.converter._dispatch("metadata.after",u,o,i),u}),r.subParser("outdent",function(u,o,i){return u=i.converter._dispatch("outdent.before",u,o,i),u=u.replace(/^(\t|[ ]{1,4})/gm,"¨0"),u=u.replace(/¨0/g,""),u=i.converter._dispatch("outdent.after",u,o,i),u}),r.subParser("paragraphs",function(u,o,i){u=i.converter._dispatch("paragraphs.before",u,o,i),u=u.replace(/^\n+/g,""),u=u.replace(/\n+$/g,"");for(var l=u.split(/\n{2,}/g),_=[],w=l.length,p=0;p=0?_.push(y):y.search(/\S/)>=0&&(y=r.subParser("spanGamut")(y,o,i),y=y.replace(/^([ \t]*)/g,"

"),y+="

",_.push(y))}for(w=_.length,p=0;p]*>\s*]*>/.test(j)&&(T=!0)}_[p]=j}return u=_.join(` +`),u=u.replace(/^\n+/g,""),u=u.replace(/\n+$/g,""),i.converter._dispatch("paragraphs.after",u,o,i)}),r.subParser("runExtension",function(u,o,i,l){if(u.filter)o=u.filter(o,l.converter,i);else if(u.regex){var _=u.regex;_ instanceof RegExp||(_=new RegExp(_,"g")),o=o.replace(_,u.replace)}return o}),r.subParser("spanGamut",function(u,o,i){return u=i.converter._dispatch("spanGamut.before",u,o,i),u=r.subParser("codeSpans")(u,o,i),u=r.subParser("escapeSpecialCharsWithinTagAttributes")(u,o,i),u=r.subParser("encodeBackslashEscapes")(u,o,i),u=r.subParser("images")(u,o,i),u=r.subParser("anchors")(u,o,i),u=r.subParser("autoLinks")(u,o,i),u=r.subParser("simplifiedAutoLinks")(u,o,i),u=r.subParser("emoji")(u,o,i),u=r.subParser("underline")(u,o,i),u=r.subParser("italicsAndBold")(u,o,i),u=r.subParser("strikethrough")(u,o,i),u=r.subParser("ellipsis")(u,o,i),u=r.subParser("hashHTMLSpans")(u,o,i),u=r.subParser("encodeAmpsAndAngles")(u,o,i),o.simpleLineBreaks?/\n\n¨K/.test(u)||(u=u.replace(/\n+/g,`
+`)):u=u.replace(/ +\n/g,`
+`),u=i.converter._dispatch("spanGamut.after",u,o,i),u}),r.subParser("strikethrough",function(u,o,i){function l(_){return o.simplifiedAutoLink&&(_=r.subParser("simplifiedAutoLinks")(_,o,i)),""+_+""}return o.strikethrough&&(u=i.converter._dispatch("strikethrough.before",u,o,i),u=u.replace(/(?:~){2}([\s\S]+?)(?:~){2}/g,function(_,w){return l(w)}),u=i.converter._dispatch("strikethrough.after",u,o,i)),u}),r.subParser("stripLinkDefinitions",function(u,o,i){var l=/^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*\s]+)>?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n+|(?=¨0))/gm,_=/^ {0,3}\[([^\]]+)]:[ \t]*\n?[ \t]*?(?: =([*\d]+[A-Za-z%]{0,4})x([*\d]+[A-Za-z%]{0,4}))?[ \t]*\n?[ \t]*(?:(\n*)["|'(](.+?)["|')][ \t]*)?(?:\n\n|(?=¨0)|(?=\n\[))/gm;u+="¨0";var w=function(p,y,z,j,T,M,f){return y=y.toLowerCase(),u.toLowerCase().split(y).length-1<2?p:(z.match(/^data:.+?\/.+?;base64,/)?i.gUrls[y]=z.replace(/\s/g,""):i.gUrls[y]=r.subParser("encodeAmpsAndAngles")(z,o,i),M?M+f:(f&&(i.gTitles[y]=f.replace(/"|'/g,""")),o.parseImgDimensions&&j&&T&&(i.gDimensions[y]={width:j,height:T}),""))};return u=u.replace(_,w),u=u.replace(l,w),u=u.replace(/¨0/,""),u}),r.subParser("tables",function(u,o,i){if(!o.tables)return u;var l=/^ {0,3}\|?.+\|.+\n {0,3}\|?[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*:?[ \t]*(?:[-=]){2,}[\s\S]+?(?:\n\n|¨0)/gm,_=/^ {0,3}\|.+\|[ \t]*\n {0,3}\|[ \t]*:?[ \t]*(?:[-=]){2,}[ \t]*:?[ \t]*\|[ \t]*\n( {0,3}\|.+\|[ \t]*\n)*(?:\n|¨0)/gm;function w(T){return/^:[ \t]*--*$/.test(T)?' style="text-align:left;"':/^--*[ \t]*:[ \t]*$/.test(T)?' style="text-align:right;"':/^:[ \t]*--*[ \t]*:$/.test(T)?' style="text-align:center;"':""}function p(T,M){var f="";return T=T.trim(),(o.tablesHeaderId||o.tableHeaderId)&&(f=' id="'+T.replace(/ /g,"_").toLowerCase()+'"'),T=r.subParser("spanGamut")(T,o,i),""+T+` +`}function y(T,M){var f=r.subParser("spanGamut")(T,o,i);return""+f+` +`}function z(T,M){for(var f=` + + +`,E=T.length,R=0;R + + +`,R=0;R +`;for(var U=0;U +`}return f+=` +
+`,f}function j(T){var M,f=T.split(` +`);for(M=0;M"+_+""}),u=u.replace(/\b__(\S[\s\S]*?)__\b/g,function(l,_){return""+_+""})):(u=u.replace(/___(\S[\s\S]*?)___/g,function(l,_){return/\S$/.test(_)?""+_+"":l}),u=u.replace(/__(\S[\s\S]*?)__/g,function(l,_){return/\S$/.test(_)?""+_+"":l})),u=u.replace(/(_)/g,r.helper.escapeCharactersCallback),u=i.converter._dispatch("underline.after",u,o,i)),u}),r.subParser("unescapeSpecialChars",function(u,o,i){return u=i.converter._dispatch("unescapeSpecialChars.before",u,o,i),u=u.replace(/¨E(\d+)E/g,function(l,_){var w=parseInt(_);return String.fromCharCode(w)}),u=i.converter._dispatch("unescapeSpecialChars.after",u,o,i),u}),r.subParser("makeMarkdown.blockquote",function(u,o){var i="";if(u.hasChildNodes())for(var l=u.childNodes,_=l.length,w=0;w<_;++w){var p=r.subParser("makeMarkdown.node")(l[w],o);p!==""&&(i+=p)}return i=i.trim(),i="> "+i.split(` +`).join(` +> `),i}),r.subParser("makeMarkdown.codeBlock",function(u,o){var i=u.getAttribute("language"),l=u.getAttribute("precodenum");return"```"+i+` +`+o.preList[l]+"\n```"}),r.subParser("makeMarkdown.codeSpan",function(u){return"`"+u.innerHTML+"`"}),r.subParser("makeMarkdown.emphasis",function(u,o){var i="";if(u.hasChildNodes()){i+="*";for(var l=u.childNodes,_=l.length,w=0;w<_;++w)i+=r.subParser("makeMarkdown.node")(l[w],o);i+="*"}return i}),r.subParser("makeMarkdown.header",function(u,o,i){var l=new Array(i+1).join("#"),_="";if(u.hasChildNodes()){_=l+" ";for(var w=u.childNodes,p=w.length,y=0;y",u.hasAttribute("width")&&u.hasAttribute("height")&&(o+=" ="+u.getAttribute("width")+"x"+u.getAttribute("height")),u.hasAttribute("title")&&(o+=' "'+u.getAttribute("title")+'"'),o+=")"),o}),r.subParser("makeMarkdown.links",function(u,o){var i="";if(u.hasChildNodes()&&u.hasAttribute("href")){var l=u.childNodes,_=l.length;i="[";for(var w=0;w<_;++w)i+=r.subParser("makeMarkdown.node")(l[w],o);i+="](",i+="<"+u.getAttribute("href")+">",u.hasAttribute("title")&&(i+=' "'+u.getAttribute("title")+'"'),i+=")"}return i}),r.subParser("makeMarkdown.list",function(u,o,i){var l="";if(!u.hasChildNodes())return"";for(var _=u.childNodes,w=_.length,p=u.getAttribute("start")||1,y=0;y"u"||_[y].tagName.toLowerCase()!=="li")){var z="";i==="ol"?z=p.toString()+". ":z="- ",l+=z+r.subParser("makeMarkdown.listItem")(_[y],o),++p}return l+=` + +`,l.trim()}),r.subParser("makeMarkdown.listItem",function(u,o){for(var i="",l=u.childNodes,_=l.length,w=0;w<_;++w)i+=r.subParser("makeMarkdown.node")(l[w],o);return/\n$/.test(i)?i=i.split(` +`).join(` + `).replace(/^ {4}$/gm,"").replace(/\n\n+/g,` + +`):i+=` +`,i}),r.subParser("makeMarkdown.node",function(u,o,i){i=i||!1;var l="";if(u.nodeType===3)return r.subParser("makeMarkdown.txt")(u,o);if(u.nodeType===8)return" + +`;if(u.nodeType!==1)return"";var _=u.tagName.toLowerCase();switch(_){case"h1":i||(l=r.subParser("makeMarkdown.header")(u,o,1)+` + +`);break;case"h2":i||(l=r.subParser("makeMarkdown.header")(u,o,2)+` + +`);break;case"h3":i||(l=r.subParser("makeMarkdown.header")(u,o,3)+` + +`);break;case"h4":i||(l=r.subParser("makeMarkdown.header")(u,o,4)+` + +`);break;case"h5":i||(l=r.subParser("makeMarkdown.header")(u,o,5)+` + +`);break;case"h6":i||(l=r.subParser("makeMarkdown.header")(u,o,6)+` + +`);break;case"p":i||(l=r.subParser("makeMarkdown.paragraph")(u,o)+` + +`);break;case"blockquote":i||(l=r.subParser("makeMarkdown.blockquote")(u,o)+` + +`);break;case"hr":i||(l=r.subParser("makeMarkdown.hr")(u,o)+` + +`);break;case"ol":i||(l=r.subParser("makeMarkdown.list")(u,o,"ol")+` + +`);break;case"ul":i||(l=r.subParser("makeMarkdown.list")(u,o,"ul")+` + +`);break;case"precode":i||(l=r.subParser("makeMarkdown.codeBlock")(u,o)+` + +`);break;case"pre":i||(l=r.subParser("makeMarkdown.pre")(u,o)+` + +`);break;case"table":i||(l=r.subParser("makeMarkdown.table")(u,o)+` + +`);break;case"code":l=r.subParser("makeMarkdown.codeSpan")(u,o);break;case"em":case"i":l=r.subParser("makeMarkdown.emphasis")(u,o);break;case"strong":case"b":l=r.subParser("makeMarkdown.strong")(u,o);break;case"del":l=r.subParser("makeMarkdown.strikethrough")(u,o);break;case"a":l=r.subParser("makeMarkdown.links")(u,o);break;case"img":l=r.subParser("makeMarkdown.image")(u,o);break;default:l=u.outerHTML+` + +`}return l}),r.subParser("makeMarkdown.paragraph",function(u,o){var i="";if(u.hasChildNodes())for(var l=u.childNodes,_=l.length,w=0;w<_;++w)i+=r.subParser("makeMarkdown.node")(l[w],o);return i=i.trim(),i}),r.subParser("makeMarkdown.pre",function(u,o){var i=u.getAttribute("prenum");return"
"+o.preList[i]+"
"}),r.subParser("makeMarkdown.strikethrough",function(u,o){var i="";if(u.hasChildNodes()){i+="~~";for(var l=u.childNodes,_=l.length,w=0;w<_;++w)i+=r.subParser("makeMarkdown.node")(l[w],o);i+="~~"}return i}),r.subParser("makeMarkdown.strong",function(u,o){var i="";if(u.hasChildNodes()){i+="**";for(var l=u.childNodes,_=l.length,w=0;w<_;++w)i+=r.subParser("makeMarkdown.node")(l[w],o);i+="**"}return i}),r.subParser("makeMarkdown.table",function(u,o){var i="",l=[[],[]],_=u.querySelectorAll("thead>tr>th"),w=u.querySelectorAll("tbody>tr"),p,y;for(p=0;p<_.length;++p){var z=r.subParser("makeMarkdown.tableCell")(_[p],o),j="---";if(_[p].hasAttribute("style")){var T=_[p].getAttribute("style").toLowerCase().replace(/\s/g,"");switch(T){case"text-align:left;":j=":---";break;case"text-align:right;":j="---:";break;case"text-align:center;":j=":---:";break}}l[0][p]=z.trim(),l[1][p]=j}for(p=0;pR&&(R=U)}for(p=0;p/g,"\\$1>"),o=o.replace(/^#/gm,"\\#"),o=o.replace(/^(\s*)([-=]{3,})(\s*)$/,"$1\\$2$3"),o=o.replace(/^( {0,3}\d+)\./gm,"$1\\."),o=o.replace(/^( {0,3})([+-])/gm,"$1\\$2"),o=o.replace(/]([\s]*)\(/g,"\\]$1\\("),o=o.replace(/^ {0,3}\[([\S \t]*?)]:/gm,"\\[$1]:"),o});var G=this;e.exports?e.exports=r:G.showdown=r}).call(jo)})(Oo);const Mo=ln;/*! + * vue-showdown - Use showdown as a vue component + * + * @version v4.0.0 + * @link https://vue-showdown.js.org + * @license MIT + * @copyright 2018-2022 meteorlxy + */const Md=hd({name:"VueShowdown",props:{markdown:{type:String,required:!1,default:null},tag:{type:String,required:!1,default:"div"},flavor:{type:String,required:!1,default:null},options:{type:Object,required:!1,default:()=>({})},extensions:{type:Array,required:!1,default:null},vueTemplate:{type:Boolean,required:!1,default:!1},vueTemplateData:{type:Object,required:!1,default:()=>({})}},setup(e,{slots:t}){const n=mt(()=>{const s=new Mo.Converter({extensions:e.extensions||void 0});return e.flavor!==null&&s.setFlavor(e.flavor),Object.entries(e.options).forEach(([a,c])=>{s.setOption(a,c)}),s}),r=mt(()=>{var a;if(e.markdown!==null)return e.markdown;const s=(a=t.default)==null?void 0:a.call(t)[0];return(s==null?void 0:s.type)===Xt?s.children:""}),d=mt(()=>n.value.makeHtml(r.value));return()=>e.vueTemplate?hu({setup:()=>e.vueTemplateData,template:`<${e.tag}>${d.value}`}):hu(e.tag,{innerHTML:d.value})}});function Rd(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ld}=Object.prototype,{getPrototypeOf:In}=Object,Bn=(e=>t=>{const n=Ld.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Xe=e=>(e=e.toLowerCase(),t=>Bn(t)===e),Nr=e=>t=>typeof t===e,{isArray:Mt}=Array,Jt=Nr("undefined");function Ro(e){return e!==null&&!Jt(e)&&e.constructor!==null&&!Jt(e.constructor)&&ut(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const zd=Xe("ArrayBuffer");function Lo(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&zd(e.buffer),t}const zo=Nr("string"),ut=Nr("function"),Nd=Nr("number"),Fn=e=>e!==null&&typeof e=="object",No=e=>e===!0||e===!1,hr=e=>{if(Bn(e)!=="object")return!1;const t=In(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Io=Xe("Date"),Bo=Xe("File"),Fo=Xe("Blob"),Ho=Xe("FileList"),$o=e=>Fn(e)&&ut(e.pipe),Do=e=>{const t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Ld.call(e)===t||ut(e.toString)&&e.toString()===t)},Uo=Xe("URLSearchParams"),qo=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Yt(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,d;if(typeof e!="object"&&(e=[e]),Mt(e))for(r=0,d=e.length;r0;)if(d=n[r],t===d.toLowerCase())return d;return null}const Bd=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Fd=e=>!Jt(e)&&e!==Bd;function fn(){const{caseless:e}=Fd(this)&&this||{},t={},n=(r,d)=>{const s=e&&Id(t,d)||d;hr(t[s])&&hr(r)?t[s]=fn(t[s],r):hr(r)?t[s]=fn({},r):Mt(r)?t[s]=r.slice():t[s]=r};for(let r=0,d=arguments.length;r(Yt(t,(d,s)=>{n&&ut(d)?e[s]=Rd(d,n):e[s]=d},{allOwnKeys:r}),e),Wo=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Ko=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Jo=(e,t,n,r)=>{let d,s,a;const c={};if(t=t||{},e==null)return t;do{for(d=Object.getOwnPropertyNames(e),s=d.length;s-- >0;)a=d[s],(!r||r(a,e,t))&&!c[a]&&(t[a]=e[a],c[a]=!0);e=n!==!1&&In(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Go=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},Zo=e=>{if(!e)return null;if(Mt(e))return e;let t=e.length;if(!Nd(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Xo=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&In(Uint8Array)),Yo=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let d;for(;(d=r.next())&&!d.done;){const s=d.value;t.call(e,s[0],s[1])}},Qo=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},xo=Xe("HTMLFormElement"),ea=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,d){return r.toUpperCase()+d}),Eu=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),ta=Xe("RegExp"),Hd=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Yt(n,(d,s)=>{t(d,s,e)!==!1&&(r[s]=d)}),Object.defineProperties(e,r)},ra=e=>{Hd(e,(t,n)=>{if(ut(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(ut(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},na=(e,t)=>{const n={},r=d=>{d.forEach(s=>{n[s]=!0})};return Mt(e)?r(e):r(String(e).split(t)),n},ua=()=>{},da=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Jr="abcdefghijklmnopqrstuvwxyz",Pu="0123456789",$d={DIGIT:Pu,ALPHA:Jr,ALPHA_DIGIT:Jr+Jr.toUpperCase()+Pu},sa=(e=16,t=$d.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function ia(e){return!!(e&&ut(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const oa=e=>{const t=new Array(10),n=(r,d)=>{if(Fn(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[d]=r;const s=Mt(r)?[]:{};return Yt(r,(a,c)=>{const h=n(a,d+1);!Jt(h)&&(s[c]=h)}),t[d]=void 0,s}}return r};return n(e,0)},P={isArray:Mt,isArrayBuffer:zd,isBuffer:Ro,isFormData:Do,isArrayBufferView:Lo,isString:zo,isNumber:Nd,isBoolean:No,isObject:Fn,isPlainObject:hr,isUndefined:Jt,isDate:Io,isFile:Bo,isBlob:Fo,isRegExp:ta,isFunction:ut,isStream:$o,isURLSearchParams:Uo,isTypedArray:Xo,isFileList:Ho,forEach:Yt,merge:fn,extend:Vo,trim:qo,stripBOM:Wo,inherits:Ko,toFlatObject:Jo,kindOf:Bn,kindOfTest:Xe,endsWith:Go,toArray:Zo,forEachEntry:Yo,matchAll:Qo,isHTMLForm:xo,hasOwnProperty:Eu,hasOwnProp:Eu,reduceDescriptors:Hd,freezeMethods:ra,toObjectSet:na,toCamelCase:ea,noop:ua,toFiniteNumber:da,findKey:Id,global:Bd,isContextDefined:Fd,ALPHABET:$d,generateString:sa,isSpecCompliantForm:ia,toJSONObject:oa};function re(e,t,n,r,d){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),d&&(this.response=d)}P.inherits(re,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:P.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Dd=re.prototype,Ud={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ud[e]={value:e}});Object.defineProperties(re,Ud);Object.defineProperty(Dd,"isAxiosError",{value:!0});re.from=(e,t,n,r,d,s)=>{const a=Object.create(Dd);return P.toFlatObject(e,a,function(h){return h!==Error.prototype},c=>c!=="isAxiosError"),re.call(a,e.message,t,n,r,d),a.cause=e,a.name=e.name,s&&Object.assign(a,s),a};const aa=null;function hn(e){return P.isPlainObject(e)||P.isArray(e)}function qd(e){return P.endsWith(e,"[]")?e.slice(0,-2):e}function Cu(e,t,n){return e?e.concat(t).map(function(d,s){return d=qd(d),!n&&s?"["+d+"]":d}).join(n?".":""):t}function ca(e){return P.isArray(e)&&!e.some(hn)}const la=P.toFlatObject(P,{},null,function(t){return/^is[A-Z]/.test(t)});function Ir(e,t,n){if(!P.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=P.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(H,ue){return!P.isUndefined(ue[H])});const r=n.metaTokens,d=n.visitor||v,s=n.dots,a=n.indexes,h=(n.Blob||typeof Blob<"u"&&Blob)&&P.isSpecCompliantForm(t);if(!P.isFunction(d))throw new TypeError("visitor must be a function");function g(B){if(B===null)return"";if(P.isDate(B))return B.toISOString();if(!h&&P.isBlob(B))throw new re("Blob is not supported. Use a Buffer instead.");return P.isArrayBuffer(B)||P.isTypedArray(B)?h&&typeof Blob=="function"?new Blob([B]):Buffer.from(B):B}function v(B,H,ue){let X=B;if(B&&!ue&&typeof B=="object"){if(P.endsWith(H,"{}"))H=r?H:H.slice(0,-2),B=JSON.stringify(B);else if(P.isArray(B)&&ca(B)||(P.isFileList(B)||P.endsWith(H,"[]"))&&(X=P.toArray(B)))return H=qd(H),X.forEach(function(G,u){!(P.isUndefined(G)||G===null)&&t.append(a===!0?Cu([H],u,s):a===null?H:H+"[]",g(G))}),!1}return hn(B)?!0:(t.append(Cu(ue,H,s),g(B)),!1)}const C=[],I=Object.assign(la,{defaultVisitor:v,convertValue:g,isVisitable:hn});function D(B,H){if(!P.isUndefined(B)){if(C.indexOf(B)!==-1)throw Error("Circular reference detected in "+H.join("."));C.push(B),P.forEach(B,function(X,le){(!(P.isUndefined(X)||X===null)&&d.call(t,X,P.isString(le)?le.trim():le,H,I))===!0&&D(X,H?H.concat(le):[le])}),C.pop()}}if(!P.isObject(e))throw new TypeError("data must be an object");return D(e),t}function Su(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Hn(e,t){this._pairs=[],e&&Ir(e,this,t)}const Vd=Hn.prototype;Vd.append=function(t,n){this._pairs.push([t,n])};Vd.toString=function(t){const n=t?function(r){return t.call(this,r,Su)}:Su;return this._pairs.map(function(d){return n(d[0])+"="+n(d[1])},"").join("&")};function fa(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Wd(e,t,n){if(!t)return e;const r=n&&n.encode||fa,d=n&&n.serialize;let s;if(d?s=d(t,n):s=P.isURLSearchParams(t)?t.toString():new Hn(t,n).toString(r),s){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class ha{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){P.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Au=ha,Kd={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},pa=typeof URLSearchParams<"u"?URLSearchParams:Hn,ma=FormData,_a=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),ga=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),qe={isBrowser:!0,classes:{URLSearchParams:pa,FormData:ma,Blob},isStandardBrowserEnv:_a,isStandardBrowserWebWorkerEnv:ga,protocols:["http","https","file","blob","url","data"]};function ba(e,t){return Ir(e,new qe.classes.URLSearchParams,Object.assign({visitor:function(n,r,d,s){return qe.isNode&&P.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function wa(e){return P.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function ya(e){const t={},n=Object.keys(e);let r;const d=n.length;let s;for(r=0;r=n.length;return a=!a&&P.isArray(d)?d.length:a,h?(P.hasOwnProp(d,a)?d[a]=[d[a],r]:d[a]=r,!c):((!d[a]||!P.isObject(d[a]))&&(d[a]=[]),t(n,r,d[a],s)&&P.isArray(d[a])&&(d[a]=ya(d[a])),!c)}if(P.isFormData(e)&&P.isFunction(e.entries)){const n={};return P.forEachEntry(e,(r,d)=>{t(wa(r),d,n,0)}),n}return null}const va={"Content-Type":void 0};function ka(e,t,n){if(P.isString(e))try{return(t||JSON.parse)(e),P.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Br={transitional:Kd,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",d=r.indexOf("application/json")>-1,s=P.isObject(t);if(s&&P.isHTMLForm(t)&&(t=new FormData(t)),P.isFormData(t))return d&&d?JSON.stringify(Jd(t)):t;if(P.isArrayBuffer(t)||P.isBuffer(t)||P.isStream(t)||P.isFile(t)||P.isBlob(t))return t;if(P.isArrayBufferView(t))return t.buffer;if(P.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let c;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return ba(t,this.formSerializer).toString();if((c=P.isFileList(t))||r.indexOf("multipart/form-data")>-1){const h=this.env&&this.env.FormData;return Ir(c?{"files[]":t}:t,h&&new h,this.formSerializer)}}return s||d?(n.setContentType("application/json",!1),ka(t)):t}],transformResponse:[function(t){const n=this.transitional||Br.transitional,r=n&&n.forcedJSONParsing,d=this.responseType==="json";if(t&&P.isString(t)&&(r&&!this.responseType||d)){const a=!(n&&n.silentJSONParsing)&&d;try{return JSON.parse(t)}catch(c){if(a)throw c.name==="SyntaxError"?re.from(c,re.ERR_BAD_RESPONSE,this,null,this.response):c}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:qe.classes.FormData,Blob:qe.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};P.forEach(["delete","get","head"],function(t){Br.headers[t]={}});P.forEach(["post","put","patch"],function(t){Br.headers[t]=P.merge(va)});const $n=Br,Ea=P.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Pa=e=>{const t={};let n,r,d;return e&&e.split(` +`).forEach(function(a){d=a.indexOf(":"),n=a.substring(0,d).trim().toLowerCase(),r=a.substring(d+1).trim(),!(!n||t[n]&&Ea[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Tu=Symbol("internals");function Nt(e){return e&&String(e).trim().toLowerCase()}function pr(e){return e===!1||e==null?e:P.isArray(e)?e.map(pr):String(e)}function Ca(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}function Sa(e){return/^[-_a-zA-Z]+$/.test(e.trim())}function Gr(e,t,n,r){if(P.isFunction(r))return r.call(this,t,n);if(P.isString(t)){if(P.isString(r))return t.indexOf(r)!==-1;if(P.isRegExp(r))return r.test(t)}}function Aa(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Ta(e,t){const n=P.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(d,s,a){return this[r].call(this,t,d,s,a)},configurable:!0})})}class Fr{constructor(t){t&&this.set(t)}set(t,n,r){const d=this;function s(c,h,g){const v=Nt(h);if(!v)throw new Error("header name must be a non-empty string");const C=P.findKey(d,v);(!C||d[C]===void 0||g===!0||g===void 0&&d[C]!==!1)&&(d[C||h]=pr(c))}const a=(c,h)=>P.forEach(c,(g,v)=>s(g,v,h));return P.isPlainObject(t)||t instanceof this.constructor?a(t,n):P.isString(t)&&(t=t.trim())&&!Sa(t)?a(Pa(t),n):t!=null&&s(n,t,r),this}get(t,n){if(t=Nt(t),t){const r=P.findKey(this,t);if(r){const d=this[r];if(!n)return d;if(n===!0)return Ca(d);if(P.isFunction(n))return n.call(this,d,r);if(P.isRegExp(n))return n.exec(d);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Nt(t),t){const r=P.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Gr(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let d=!1;function s(a){if(a=Nt(a),a){const c=P.findKey(r,a);c&&(!n||Gr(r,r[c],c,n))&&(delete r[c],d=!0)}}return P.isArray(t)?t.forEach(s):s(t),d}clear(t){const n=Object.keys(this);let r=n.length,d=!1;for(;r--;){const s=n[r];(!t||Gr(this,this[s],s,t))&&(delete this[s],d=!0)}return d}normalize(t){const n=this,r={};return P.forEach(this,(d,s)=>{const a=P.findKey(r,s);if(a){n[a]=pr(d),delete n[s];return}const c=t?Aa(s):String(s).trim();c!==s&&delete n[s],n[c]=pr(d),r[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return P.forEach(this,(r,d)=>{r!=null&&r!==!1&&(n[d]=t&&P.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(d=>r.set(d)),r}static accessor(t){const r=(this[Tu]=this[Tu]={accessors:{}}).accessors,d=this.prototype;function s(a){const c=Nt(a);r[c]||(Ta(d,a),r[c]=!0)}return P.isArray(t)?t.forEach(s):s(t),this}}Fr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);P.freezeMethods(Fr.prototype);P.freezeMethods(Fr);const Je=Fr;function Zr(e,t){const n=this||$n,r=t||n,d=Je.from(r.headers);let s=r.data;return P.forEach(e,function(c){s=c.call(n,s,d.normalize(),t?t.status:void 0)}),d.normalize(),s}function Gd(e){return!!(e&&e.__CANCEL__)}function Qt(e,t,n){re.call(this,e??"canceled",re.ERR_CANCELED,t,n),this.name="CanceledError"}P.inherits(Qt,re,{__CANCEL__:!0});function ja(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new re("Request failed with status code "+n.status,[re.ERR_BAD_REQUEST,re.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Oa=qe.isStandardBrowserEnv?function(){return{write:function(n,r,d,s,a,c){const h=[];h.push(n+"="+encodeURIComponent(r)),P.isNumber(d)&&h.push("expires="+new Date(d).toGMTString()),P.isString(s)&&h.push("path="+s),P.isString(a)&&h.push("domain="+a),c===!0&&h.push("secure"),document.cookie=h.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Ma(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ra(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Zd(e,t){return e&&!Ma(t)?Ra(e,t):t}const La=qe.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function d(s){let a=s;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=d(window.location.href),function(a){const c=P.isString(a)?d(a):a;return c.protocol===r.protocol&&c.host===r.host}}():function(){return function(){return!0}}();function za(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Na(e,t){e=e||10;const n=new Array(e),r=new Array(e);let d=0,s=0,a;return t=t!==void 0?t:1e3,function(h){const g=Date.now(),v=r[s];a||(a=g),n[d]=h,r[d]=g;let C=s,I=0;for(;C!==d;)I+=n[C++],C=C%e;if(d=(d+1)%e,d===s&&(s=(s+1)%e),g-a{const s=d.loaded,a=d.lengthComputable?d.total:void 0,c=s-n,h=r(c),g=s<=a;n=s;const v={loaded:s,total:a,progress:a?s/a:void 0,bytes:c,rate:h||void 0,estimated:h&&a&&g?(a-s)/h:void 0,event:d};v[t?"download":"upload"]=!0,e(v)}}const Ia=typeof XMLHttpRequest<"u",Ba=Ia&&function(e){return new Promise(function(n,r){let d=e.data;const s=Je.from(e.headers).normalize(),a=e.responseType;let c;function h(){e.cancelToken&&e.cancelToken.unsubscribe(c),e.signal&&e.signal.removeEventListener("abort",c)}P.isFormData(d)&&(qe.isStandardBrowserEnv||qe.isStandardBrowserWebWorkerEnv)&&s.setContentType(!1);let g=new XMLHttpRequest;if(e.auth){const D=e.auth.username||"",B=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(D+":"+B))}const v=Zd(e.baseURL,e.url);g.open(e.method.toUpperCase(),Wd(v,e.params,e.paramsSerializer),!0),g.timeout=e.timeout;function C(){if(!g)return;const D=Je.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),H={data:!a||a==="text"||a==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:D,config:e,request:g};ja(function(X){n(X),h()},function(X){r(X),h()},H),g=null}if("onloadend"in g?g.onloadend=C:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(C)},g.onabort=function(){g&&(r(new re("Request aborted",re.ECONNABORTED,e,g)),g=null)},g.onerror=function(){r(new re("Network Error",re.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let B=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const H=e.transitional||Kd;e.timeoutErrorMessage&&(B=e.timeoutErrorMessage),r(new re(B,H.clarifyTimeoutError?re.ETIMEDOUT:re.ECONNABORTED,e,g)),g=null},qe.isStandardBrowserEnv){const D=(e.withCredentials||La(v))&&e.xsrfCookieName&&Oa.read(e.xsrfCookieName);D&&s.set(e.xsrfHeaderName,D)}d===void 0&&s.setContentType(null),"setRequestHeader"in g&&P.forEach(s.toJSON(),function(B,H){g.setRequestHeader(H,B)}),P.isUndefined(e.withCredentials)||(g.withCredentials=!!e.withCredentials),a&&a!=="json"&&(g.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&g.addEventListener("progress",ju(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&g.upload&&g.upload.addEventListener("progress",ju(e.onUploadProgress)),(e.cancelToken||e.signal)&&(c=D=>{g&&(r(!D||D.type?new Qt(null,e,g):D),g.abort(),g=null)},e.cancelToken&&e.cancelToken.subscribe(c),e.signal&&(e.signal.aborted?c():e.signal.addEventListener("abort",c)));const I=za(v);if(I&&qe.protocols.indexOf(I)===-1){r(new re("Unsupported protocol "+I+":",re.ERR_BAD_REQUEST,e));return}g.send(d||null)})},mr={http:aa,xhr:Ba};P.forEach(mr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Fa={getAdapter:e=>{e=P.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let d=0;de instanceof Je?e.toJSON():e;function At(e,t){t=t||{};const n={};function r(g,v,C){return P.isPlainObject(g)&&P.isPlainObject(v)?P.merge.call({caseless:C},g,v):P.isPlainObject(v)?P.merge({},v):P.isArray(v)?v.slice():v}function d(g,v,C){if(P.isUndefined(v)){if(!P.isUndefined(g))return r(void 0,g,C)}else return r(g,v,C)}function s(g,v){if(!P.isUndefined(v))return r(void 0,v)}function a(g,v){if(P.isUndefined(v)){if(!P.isUndefined(g))return r(void 0,g)}else return r(void 0,v)}function c(g,v,C){if(C in t)return r(g,v);if(C in e)return r(void 0,g)}const h={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:c,headers:(g,v)=>d(Mu(g),Mu(v),!0)};return P.forEach(Object.keys(e).concat(Object.keys(t)),function(v){const C=h[v]||d,I=C(e[v],t[v],v);P.isUndefined(I)&&C!==c||(n[v]=I)}),n}const Xd="1.3.2",Dn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Dn[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Ru={};Dn.transitional=function(t,n,r){function d(s,a){return"[Axios v"+Xd+"] Transitional option '"+s+"'"+a+(r?". "+r:"")}return(s,a,c)=>{if(t===!1)throw new re(d(a," has been removed"+(n?" in "+n:"")),re.ERR_DEPRECATED);return n&&!Ru[a]&&(Ru[a]=!0,console.warn(d(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,a,c):!0}};function Ha(e,t,n){if(typeof e!="object")throw new re("options must be an object",re.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let d=r.length;for(;d-- >0;){const s=r[d],a=t[s];if(a){const c=e[s],h=c===void 0||a(c,s,e);if(h!==!0)throw new re("option "+s+" must be "+h,re.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new re("Unknown option "+s,re.ERR_BAD_OPTION)}}const pn={assertOptions:Ha,validators:Dn},xe=pn.validators;class Er{constructor(t){this.defaults=t,this.interceptors={request:new Au,response:new Au}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=At(this.defaults,n);const{transitional:r,paramsSerializer:d,headers:s}=n;r!==void 0&&pn.assertOptions(r,{silentJSONParsing:xe.transitional(xe.boolean),forcedJSONParsing:xe.transitional(xe.boolean),clarifyTimeoutError:xe.transitional(xe.boolean)},!1),d!==void 0&&pn.assertOptions(d,{encode:xe.function,serialize:xe.function},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a;a=s&&P.merge(s.common,s[n.method]),a&&P.forEach(["delete","get","head","post","put","patch","common"],B=>{delete s[B]}),n.headers=Je.concat(a,s);const c=[];let h=!0;this.interceptors.request.forEach(function(H){typeof H.runWhen=="function"&&H.runWhen(n)===!1||(h=h&&H.synchronous,c.unshift(H.fulfilled,H.rejected))});const g=[];this.interceptors.response.forEach(function(H){g.push(H.fulfilled,H.rejected)});let v,C=0,I;if(!h){const B=[Ou.bind(this),void 0];for(B.unshift.apply(B,c),B.push.apply(B,g),I=B.length,v=Promise.resolve(n);C{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](d);r._listeners=null}),this.promise.then=d=>{let s;const a=new Promise(c=>{r.subscribe(c),s=c}).then(d);return a.cancel=function(){r.unsubscribe(s)},a},t(function(s,a,c){r.reason||(r.reason=new Qt(s,a,c),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Un(function(d){t=d}),cancel:t}}}const $a=Un;function Da(e){return function(n){return e.apply(null,n)}}function Ua(e){return P.isObject(e)&&e.isAxiosError===!0}const mn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(mn).forEach(([e,t])=>{mn[t]=e});const qa=mn;function Yd(e){const t=new _r(e),n=Rd(_r.prototype.request,t);return P.extend(n,_r.prototype,t,{allOwnKeys:!0}),P.extend(n,t,null,{allOwnKeys:!0}),n.create=function(d){return Yd(At(e,d))},n}const ge=Yd($n);ge.Axios=_r;ge.CanceledError=Qt;ge.CancelToken=$a;ge.isCancel=Gd;ge.VERSION=Xd;ge.toFormData=Ir;ge.AxiosError=re;ge.Cancel=ge.CanceledError;ge.all=function(t){return Promise.all(t)};ge.spread=Da;ge.isAxiosError=Ua;ge.mergeConfig=At;ge.AxiosHeaders=Je;ge.formToJSON=e=>Jd(P.isHTMLForm(e)?new FormData(e):e);ge.HttpStatusCode=qa;ge.default=ge;const Qd=ge;function Pr(e){return Pr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pr(e)}function gr(e,t){if(!e.vueAxiosInstalled){var n=xd(t)?Ka(t):t;if(Ja(n)){var r=Ga(e);if(r){var d=r<3?Va:Wa;Object.keys(n).forEach(function(s){d(e,s,n[s])}),e.vueAxiosInstalled=!0}else console.error("[vue-axios] unknown Vue version")}else console.error("[vue-axios] configuration is invalid, expected options are either or { : }")}}function Va(e,t,n){Object.defineProperty(e.prototype,t,{get:function(){return n}}),e[t]=n}function Wa(e,t,n){e.config.globalProperties[t]=n,e[t]=n}function xd(e){return e&&typeof e.get=="function"&&typeof e.post=="function"}function Ka(e){return{axios:e,$http:e}}function Ja(e){return Pr(e)==="object"&&Object.keys(e).every(function(t){return xd(e[t])})}function Ga(e){return e&&e.version&&Number(e.version.split(".")[0])}(typeof _n>"u"?"undefined":Pr(_n))=="object"?es.exports=gr:typeof define=="function"&&define.amd?define([],function(){return gr}):window.Vue&&window.axios&&window.Vue.use&&Vue.use(gr,window.axios);const Za=e=>{if(!e)return"None yet.";for(e=e.replace(/[^a-zA-Z0-9_]+/gi,"-").toLowerCase();e.endsWith("-");)e=e.slice(0,-1);return e.length>50&&(e=e.substring(0,50),e.includes("-")&&(e=e.substring(0,Math.min(e.length,e.lastIndexOf("-"))))),e},Lu=(e,t)=>{const n=new Blob([JSON.stringify(e,null,2)],{type:"text/plain;charset=utf-8;"}),r=document.createElement("a");r.setAttribute("download",`${t}.json`),r.setAttribute("href",window.URL.createObjectURL(n)),r.click()},Xa=e=>new Promise((t,n)=>{const r=new FileReader;e||n("No file!"),r.onload=d=>{const s=d.target.result,a={postTitle:"",timestamp:"",editedTimestamp:"",postContent:"",filename:"",draft:!1};try{Object.keys(JSON.parse(s.toString())).toString()===Object.keys(a).toString()?t(JSON.parse(s.toString())):(alert("Invalid file! Are you sure it's an Dumblog compatible JSON?"),n("Invalid file!"))}catch(c){alert("Error loading file! Check the console for more info."),console.log(c),n("Error loading file!")}},r.onerror=n,r.readAsText(e)}),ir=()=>Math.round(new Date().getTime()/1e3).toString(),zu=e=>e?new Date(Number(e)*1e3).toUTCString():"",Ya=(e,t,n,r,d,s,a)=>({postTitle:e,timestamp:d?"":t,editedTimestamp:d?"":s?a:"",postContent:n,filename:r,draft:d}),qn=Qd.create({headers:{"Cache-Control":"no-cache",Pragma:"no-cache",Expires:"0"}});qn.interceptors.response.use(async e=>e,async e=>(console.error(`${e.request.status} (${e.request.statusText})`),Promise.reject(e)));async function Qa(e){return await qn.get(`https://${e}/assets/posts/archive.json`).then(t=>t.data).catch(t=>{alert(`Failed to load Archive! We've got a ${t.message}! +Are you connected to the internet or is the location correct?`)})}async function xa(e,t){return await qn.get(`https://${e}/assets/posts/${t}.json`).then(n=>n.data).catch(n=>{alert(`Failed to load Post! We've got a ${n.message}! +Are you connected to the internet?`)})}const ec={class:"wrapper"},tc={id:"dialog"},rc={class:"dialog-header"},nc={key:0},uc=ee("h4",null,"Load Archive...",-1),dc=[uc],sc={key:1},ic=ee("h4",null,"Load post from Archive...",-1),oc=[ic],ac={class:"close-btn"},cc={key:0},lc=ee("br",null,null,-1),fc=["disabled"],hc=["onClick"],pc={class:"editor-area"},mc={class:"title-area"},_c=ee("label",{for:"draft"},"Draft",-1),gc=ee("br",null,null,-1),bc={class:"preview"},wc=ee("p",{class:"preview-title"},"  Preview: ",-1),yc={class:"footer"},vc={key:0},kc=ee("br",null,null,-1),Ec=ee("br",null,null,-1),Pc={key:1},Cc=ee("br",null,null,-1),Sc=ee("br",null,null,-1),Ac={class:"footer-buttons"},Tc=["disabled"],jc=ee("br",null,null,-1),Oc=ee("label",{for:"file-input"},"Load Post (from File)",-1),Mc=hd({__name:"App",setup(e){let t;const n=Ve(""),r=Ve(),d=Ve(""),s=Ve(""),a=Ve(""),c=Ve(""),h=Ve(!1),g=Ve(!1),v=Ve(!1),C=(o=!1)=>{v.value=o,document.getElementById("dialog").showModal()},I=()=>{document.getElementById("dialog").close()},D=()=>{r.value=void 0,d.value="",s.value="",a.value="",c.value="",h.value=!1,g.value=!1,c.value="",clearInterval(t),t=setInterval(()=>{a.value=ir()},33)},B=o=>{Qa(o).then(i=>{r.value=i,v.value&&(v.value=!1,I())})},H=o=>{r.value=void 0,Xa(o.target.files[0]).then(i=>{d.value=i.postTitle,s.value=i.postContent,a.value=i.timestamp,h.value=i.draft,g.value=!0,clearInterval(t),t=setInterval(()=>{c.value=ir()},33)})},ue=(o,i)=>{xa(o,i).then(l=>{d.value=l.postTitle,s.value=l.postContent,a.value=l.timestamp,h.value=l.draft,g.value=!0,clearInterval(t),t=setInterval(()=>{c.value=ir()},33),I()})},X=o=>{var i,l;d.value||(d.value="No title."),s.value||(s.value="No content."),Lu(Ya(d.value,a.value,s.value,le.value,h.value,g.value,c.value),le.value),o&&(!((i=r.value)!=null&&i.filter(_=>_.filename===le.value))&&!h&&((l=r.value)==null||l.push({postTitle:d.value,timestamp:a.value,filename:le.value})),Lu(r.value,"archive"))};_d(()=>{t=setInterval(()=>{a.value=ir()},33)});const le=mt(()=>Za(d.value)),G=mt(()=>zu(a.value)),u=mt(()=>zu(c.value));return(o,i)=>(We(),Qe(Re,null,[ee("div",ec,[ee("dialog",tc,[ee("div",rc,[v.value?(We(),Qe("div",nc,dc)):(We(),Qe("div",sc,oc)),ee("div",ac,[ee("button",{class:"btn-primary",onClick:i[0]||(i[0]=l=>I())}," X ")])]),r.value?sr("",!0):(We(),Qe("div",cc,[je(" Blog Location: https:// "),dr(ee("input",{type:"text","onUpdate:modelValue":i[1]||(i[1]=l=>n.value=l),placeholder:"pedrocx486.club/blog"},null,512),[[Kr,n.value]]),je(" /assets/posts/archive.json "),lc,ee("button",{class:"btn-primary btn-wide",disabled:!n.value,onClick:i[2]||(i[2]=l=>B(n.value))}," Load Archive ",8,fc)])),v.value?sr("",!0):(We(!0),Qe(Re,{key:1},Ci(r.value,l=>(We(),Qe("div",null,[ee("button",{class:"btn-secondary btn-wide",onClick:_=>ue(n.value,l.filename)},Lt(l.postTitle),9,hc)]))),256))]),ee("div",pc,[ee("div",mc,[dr(ee("input",{class:"title",type:"text",placeholder:"Post title...","onUpdate:modelValue":i[3]||(i[3]=l=>d.value=l)},null,512),[[Kr,d.value]]),dr(ee("input",{type:"checkbox",id:"draft","onUpdate:modelValue":i[4]||(i[4]=l=>h.value=l)},null,512),[[Eo,h.value]]),_c]),gc,dr(ee("textarea",{class:"editor","onUpdate:modelValue":i[5]||(i[5]=l=>s.value=l),placeholder:"Post content..."},null,512),[[Kr,s.value]])]),ee("div",bc,[wc,Ce(Bt(Md),{markdown:s.value,flavor:"github",options:{emoji:!0},tag:"span"},null,8,["markdown"])])]),ee("div",yc,[je(" Filename: "+Lt(Bt(le)),1),d.value?(We(),Qe("span",vc,".json")):sr("",!0),je(),kc,je(" Created on: "+Lt(Bt(G))+" ",1),Ec,g.value?(We(),Qe("span",Pc,[je("Edited on: "+Lt(Bt(u))+" ",1),Cc])):sr("",!0),je(" Is it a draft? "+Lt(h.value?"Yes":"No")+". ",1),Sc,ee("div",Ac,[ee("button",{class:"btn-tertiary",onClick:i[6]||(i[6]=l=>D())},"Reset Editor"),je("   "),ee("button",{class:"btn-primary",onClick:i[7]||(i[7]=l=>C(!0))},"Load Archive"),je("   "),ee("button",{class:"btn-primary",onClick:i[8]||(i[8]=l=>C())},"Load Post (from Archive)"),je("   "),ee("button",{class:"btn-primary",onClick:i[9]||(i[9]=l=>X())},"Save Post"),je("   "),ee("button",{class:"btn-primary",onClick:i[10]||(i[10]=l=>X(!0)),disabled:!r.value||h.value},"Save Post & Archive",8,Tc),je("   "),jc,ee("input",{type:"file",accept:".json",id:"file-input",onChange:i[11]||(i[11]=l=>H(l))},null,32),Oc])])],64))}}),Gt=Ao(Mc);Gt.use(gr,Qd);Gt.provide("axios",Gt.config.globalProperties.axios);Gt.component("VueShowdown",Md);Gt.mount("#app")});export default Rc(); diff --git a/editor/index.html b/editor/index.html index 6a1b048..8a7b9d5 100644 --- a/editor/index.html +++ b/editor/index.html @@ -5,8 +5,8 @@ ngx-retroblog editor - - + +