@n8n/chat 0.24.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chat.bundle.es.js +7159 -7160
- package/dist/chat.bundle.umd.js +14 -14
- package/dist/chat.es.js +6681 -6682
- package/dist/chat.umd.js +9 -9
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/chat.bundle.umd.js
CHANGED
|
@@ -2,26 +2,26 @@
|
|
|
2
2
|
* @vue/shared v3.4.21
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
|
-
**/function wt(t,e){const n=new Set(t.split(","));return r=>n.has(r)}const he={},Ht=[],Pe=()=>{},
|
|
5
|
+
**/function wt(t,e){const n=new Set(t.split(","));return r=>n.has(r)}const he={},Ht=[],Pe=()=>{},Qa=()=>!1,On=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Ur=t=>t.startsWith("onUpdate:"),ve=Object.assign,zr=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},el=Object.prototype.hasOwnProperty,ae=(t,e)=>el.call(t,e),J=Array.isArray,Vt=t=>Fn(t)==="[object Map]",mo=t=>Fn(t)==="[object Set]",te=t=>typeof t=="function",me=t=>typeof t=="string",Gt=t=>typeof t=="symbol",de=t=>t!==null&&typeof t=="object",bo=t=>(de(t)||te(t))&&te(t.then)&&te(t.catch),_o=Object.prototype.toString,Fn=t=>_o.call(t),tl=t=>Fn(t).slice(8,-1),vo=t=>Fn(t)==="[object Object]",Hr=t=>me(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,ln=wt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Bn=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},nl=/-(\w)/g,Ke=Bn(t=>t.replace(nl,(e,n)=>n?n.toUpperCase():"")),rl=/\B([A-Z])/g,Et=Bn(t=>t.replace(rl,"-$1").toLowerCase()),Pn=Bn(t=>t.charAt(0).toUpperCase()+t.slice(1)),Vr=Bn(t=>t?`on${Pn(t)}`:""),it=(t,e)=>!Object.is(t,e),$n=(t,e)=>{for(let n=0;n<t.length;n++)t[n](e)},Un=(t,e,n)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,value:n})},Gr=t=>{const e=parseFloat(t);return isNaN(e)?t:e},sl=t=>{const e=me(t)?Number(t):NaN;return isNaN(e)?t:e};let yo;const xo=()=>yo||(yo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function un(t){if(J(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],s=me(r)?al(r):un(r);if(s)for(const o in s)e[o]=s[o]}return e}else if(me(t)||de(t))return t}const ol=/;(?![^(]*\))/g,cl=/:([^]+)/,il=/\/\*[^]*?\*\//g;function al(t){const e={};return t.replace(il,"").split(ol).forEach(n=>{if(n){const r=n.split(cl);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function jt(t){let e="";if(me(t))e=t;else if(J(t))for(let n=0;n<t.length;n++){const r=jt(t[n]);r&&(e+=r+" ")}else if(de(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function jr(t){if(!t)return null;let{class:e,style:n}=t;return e&&!me(e)&&(t.class=jt(e)),n&&(t.style=un(n)),t}const ll=wt("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function wo(t){return!!t||t===""}const fn=t=>me(t)?t:t==null?"":J(t)||de(t)&&(t.toString===_o||!te(t.toString))?JSON.stringify(t,Eo,2):String(t),Eo=(t,e)=>e&&e.__v_isRef?Eo(t,e.value):Vt(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,s],o)=>(n[Kr(r,o)+" =>"]=s,n),{})}:mo(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>Kr(n))}:Gt(e)?Kr(e):de(e)&&!J(e)&&!vo(e)?String(e):e,Kr=(t,e="")=>{var n;return Gt(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};/**
|
|
6
6
|
* @vue/reactivity v3.4.21
|
|
7
7
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
8
|
* @license MIT
|
|
9
|
-
**/let Me;class ll{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Me,!e&&Me&&(this.index=(Me.scopes||(Me.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Me;try{return Me=this,e()}finally{Me=n}}}on(){Me=this}off(){Me=this.parent}stop(e){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!e){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function ul(t,e=Me){e&&e.active&&e.effects.push(t)}function ko(){return Me}function fl(t){Me&&Me.cleanups.push(t)}let kt;class Zr{constructor(e,n,r,s){this.fn=e,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,ul(this,s)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,lt();for(let e=0;e<this._depsLength;e++){const n=this.deps[e];if(n.computed&&(pl(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),ut()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=at,n=kt;try{return at=!0,kt=this,this._runnings++,Ao(this),this.fn()}finally{Co(this),this._runnings--,kt=n,at=e}}stop(){var e;this.active&&(Ao(this),Co(this),(e=this.onStop)==null||e.call(this),this.active=!1)}}function pl(t){return t.value}function Ao(t){t._trackId++,t._depsLength=0}function Co(t){if(t.deps.length>t._depsLength){for(let e=t._depsLength;e<t.deps.length;e++)So(t.deps[e],t);t.deps.length=t._depsLength}}function So(t,e){const n=t.get(e);n!==void 0&&e._trackId!==n&&(t.delete(e),t.size===0&&t.cleanup())}let at=!0,Wr=0;const To=[];function lt(){To.push(at),at=!1}function ut(){const t=To.pop();at=t===void 0?!0:t}function Jr(){Wr++}function Yr(){for(Wr--;!Wr&&Xr.length;)Xr.shift()()}function Do(t,e,n){if(e.get(t)!==t._trackId){e.set(t,t._trackId);const r=t.deps[t._depsLength];r!==e?(r&&So(r,t),t.deps[t._depsLength++]=e):t._depsLength++}}const Xr=[];function Ro(t,e,n){Jr();for(const r of t.keys()){let s;r._dirtyLevel<e&&(s??(s=t.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=e),r._shouldSchedule&&(s??(s=t.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&Xr.push(r.scheduler)))}Yr()}const Lo=(t,e)=>{const n=new Map;return n.cleanup=t,n.computed=e,n},zn=new WeakMap,At=Symbol(""),Qr=Symbol("");function qe(t,e,n){if(at&&kt){let r=zn.get(t);r||zn.set(t,r=new Map);let s=r.get(n);s||r.set(n,s=Lo(()=>r.delete(n))),Do(kt,s)}}function nt(t,e,n,r,s,o){const c=zn.get(t);if(!c)return;let i=[];if(e==="clear")i=[...c.values()];else if(n==="length"&&J(t)){const a=Number(r);c.forEach((l,u)=>{(u==="length"||!Gt(u)&&u>=a)&&i.push(l)})}else switch(n!==void 0&&i.push(c.get(n)),e){case"add":J(t)?Hr(n)&&i.push(c.get("length")):(i.push(c.get(At)),Vt(t)&&i.push(c.get(Qr)));break;case"delete":J(t)||(i.push(c.get(At)),Vt(t)&&i.push(c.get(Qr)));break;case"set":Vt(t)&&i.push(c.get(At));break}Jr();for(const a of i)a&&Ro(a,4);Yr()}function hl(t,e){var n;return(n=zn.get(t))==null?void 0:n.get(e)}const dl=wt("__proto__,__v_isRef,__isVue"),qo=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Gt)),No=gl();function gl(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const r=ie(this);for(let o=0,c=this.length;o<c;o++)qe(r,"get",o+"");const s=r[e](...n);return s===-1||s===!1?r[e](...n.map(ie)):s}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){lt(),Jr();const r=ie(this)[e].apply(this,n);return Yr(),ut(),r}}),t}function ml(t){const e=ie(this);return qe(e,"has",t),e.hasOwnProperty(t)}class Io{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,r){const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Dl:zo:o?Uo:$o).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const c=J(e);if(!s){if(c&&ae(No,n))return Reflect.get(No,n,r);if(n==="hasOwnProperty")return ml}const i=Reflect.get(e,n,r);return(Gt(n)?qo.has(n):dl(n))||(s||qe(e,"get",n),o)?i:xe(i)?c&&Hr(n)?i:i.value:de(i)?s?rs(i):ns(i):i}}class Mo extends Io{constructor(e=!1){super(!1,e)}set(e,n,r,s){let o=e[n];if(!this._isShallow){const a=Zt(o);if(!Wn(r)&&!Zt(r)&&(o=ie(o),r=ie(r)),!J(e)&&xe(o)&&!xe(r))return a?!1:(o.value=r,!0)}const c=J(e)&&Hr(n)?Number(n)<e.length:ae(e,n),i=Reflect.set(e,n,r,s);return e===ie(s)&&(c?it(r,o)&&nt(e,"set",n,r):nt(e,"add",n,r)),i}deleteProperty(e,n){const r=ae(e,n);e[n];const s=Reflect.deleteProperty(e,n);return s&&r&&nt(e,"delete",n,void 0),s}has(e,n){const r=Reflect.has(e,n);return(!Gt(n)||!qo.has(n))&&qe(e,"has",n),r}ownKeys(e){return qe(e,"iterate",J(e)?"length":At),Reflect.ownKeys(e)}}class bl extends Io{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const _l=new Mo,vl=new bl,yl=new Mo(!0),es=t=>t,Hn=t=>Reflect.getPrototypeOf(t);function Vn(t,e,n=!1,r=!1){t=t.__v_raw;const s=ie(t),o=ie(e);n||(it(e,o)&&qe(s,"get",e),qe(s,"get",o));const{has:c}=Hn(s),i=r?es:n?os:pn;if(c.call(s,e))return i(t.get(e));if(c.call(s,o))return i(t.get(o));t!==s&&t.get(e)}function Gn(t,e=!1){const n=this.__v_raw,r=ie(n),s=ie(t);return e||(it(t,s)&&qe(r,"has",t),qe(r,"has",s)),t===s?n.has(t):n.has(t)||n.has(s)}function jn(t,e=!1){return t=t.__v_raw,!e&&qe(ie(t),"iterate",At),Reflect.get(t,"size",t)}function Oo(t){t=ie(t);const e=ie(this);return Hn(e).has.call(e,t)||(e.add(t),nt(e,"add",t,t)),this}function Fo(t,e){e=ie(e);const n=ie(this),{has:r,get:s}=Hn(n);let o=r.call(n,t);o||(t=ie(t),o=r.call(n,t));const c=s.call(n,t);return n.set(t,e),o?it(e,c)&&nt(n,"set",t,e):nt(n,"add",t,e),this}function Bo(t){const e=ie(this),{has:n,get:r}=Hn(e);let s=n.call(e,t);s||(t=ie(t),s=n.call(e,t)),r&&r.call(e,t);const o=e.delete(t);return s&&nt(e,"delete",t,void 0),o}function Po(){const t=ie(this),e=t.size!==0,n=t.clear();return e&&nt(t,"clear",void 0,void 0),n}function Kn(t,e){return function(r,s){const o=this,c=o.__v_raw,i=ie(c),a=e?es:t?os:pn;return!t&&qe(i,"iterate",At),c.forEach((l,u)=>r.call(s,a(l),a(u),o))}}function Zn(t,e,n){return function(...r){const s=this.__v_raw,o=ie(s),c=Vt(o),i=t==="entries"||t===Symbol.iterator&&c,a=t==="keys"&&c,l=s[t](...r),u=n?es:e?os:pn;return!e&&qe(o,"iterate",a?Qr:At),{next(){const{value:f,done:p}=l.next();return p?{value:f,done:p}:{value:i?[u(f[0]),u(f[1])]:u(f),done:p}},[Symbol.iterator](){return this}}}}function ft(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function xl(){const t={get(o){return Vn(this,o)},get size(){return jn(this)},has:Gn,add:Oo,set:Fo,delete:Bo,clear:Po,forEach:Kn(!1,!1)},e={get(o){return Vn(this,o,!1,!0)},get size(){return jn(this)},has:Gn,add:Oo,set:Fo,delete:Bo,clear:Po,forEach:Kn(!1,!0)},n={get(o){return Vn(this,o,!0)},get size(){return jn(this,!0)},has(o){return Gn.call(this,o,!0)},add:ft("add"),set:ft("set"),delete:ft("delete"),clear:ft("clear"),forEach:Kn(!0,!1)},r={get(o){return Vn(this,o,!0,!0)},get size(){return jn(this,!0)},has(o){return Gn.call(this,o,!0)},add:ft("add"),set:ft("set"),delete:ft("delete"),clear:ft("clear"),forEach:Kn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{t[o]=Zn(o,!1,!1),n[o]=Zn(o,!0,!1),e[o]=Zn(o,!1,!0),r[o]=Zn(o,!0,!0)}),[t,n,e,r]}const[wl,El,kl,Al]=xl();function ts(t,e){const n=e?t?Al:kl:t?El:wl;return(r,s,o)=>s==="__v_isReactive"?!t:s==="__v_isReadonly"?t:s==="__v_raw"?r:Reflect.get(ae(n,s)&&s in r?n:r,s,o)}const Cl={get:ts(!1,!1)},Sl={get:ts(!1,!0)},Tl={get:ts(!0,!1)},$o=new WeakMap,Uo=new WeakMap,zo=new WeakMap,Dl=new WeakMap;function Rl(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ll(t){return t.__v_skip||!Object.isExtensible(t)?0:Rl(el(t))}function ns(t){return Zt(t)?t:ss(t,!1,_l,Cl,$o)}function ql(t){return ss(t,!1,yl,Sl,Uo)}function rs(t){return ss(t,!0,vl,Tl,zo)}function ss(t,e,n,r,s){if(!de(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=s.get(t);if(o)return o;const c=Ll(t);if(c===0)return t;const i=new Proxy(t,c===2?r:n);return s.set(t,i),i}function Kt(t){return Zt(t)?Kt(t.__v_raw):!!(t&&t.__v_isReactive)}function Zt(t){return!!(t&&t.__v_isReadonly)}function Wn(t){return!!(t&&t.__v_isShallow)}function Ho(t){return Kt(t)||Zt(t)}function ie(t){const e=t&&t.__v_raw;return e?ie(e):t}function Vo(t){return Object.isExtensible(t)&&Un(t,"__v_skip",!0),t}const pn=t=>de(t)?ns(t):t,os=t=>de(t)?rs(t):t;class Go{constructor(e,n,r,s){this.getter=e,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Zr(()=>e(this._value),()=>Jn(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const e=ie(this);return(!e._cacheable||e.effect.dirty)&&it(e._value,e._value=e.effect.run())&&Jn(e,4),jo(e),e.effect._dirtyLevel>=2&&Jn(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Nl(t,e,n=!1){let r,s;const o=te(t);return o?(r=t,s=Pe):(r=t.get,s=t.set),new Go(r,s,o||!s,n)}function jo(t){var e;at&&kt&&(t=ie(t),Do(kt,(e=t.dep)!=null?e:t.dep=Lo(()=>t.dep=void 0,t instanceof Go?t:void 0)))}function Jn(t,e=4,n){t=ie(t);const r=t.dep;r&&Ro(r,e)}function xe(t){return!!(t&&t.__v_isRef===!0)}function Te(t){return Il(t,!1)}function Il(t,e){return xe(t)?t:new Ml(t,e)}class Ml{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:ie(e),this._value=n?e:pn(e)}get value(){return jo(this),this._value}set value(e){const n=this.__v_isShallow||Wn(e)||Zt(e);e=n?e:ie(e),it(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:pn(e),Jn(this,4))}}function re(t){return xe(t)?t.value:t}const Ol={get:(t,e,n)=>re(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const s=t[e];return xe(s)&&!xe(n)?(s.value=n,!0):Reflect.set(t,e,n,r)}};function Ko(t){return Kt(t)?t:new Proxy(t,Ol)}function Fl(t){const e=J(t)?new Array(t.length):{};for(const n in t)e[n]=Pl(t,n);return e}class Bl{constructor(e,n,r){this._object=e,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return hl(ie(this._object),this._key)}}function Pl(t,e,n){const r=t[e];return xe(r)?r:new Bl(t,e,n)}/**
|
|
9
|
+
**/let Me;class ul{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Me,!e&&Me&&(this.index=(Me.scopes||(Me.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=Me;try{return Me=this,e()}finally{Me=n}}}on(){Me=this}off(){Me=this.parent}stop(e){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!e){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function fl(t,e=Me){e&&e.active&&e.effects.push(t)}function ko(){return Me}function pl(t){Me&&Me.cleanups.push(t)}let kt;class Zr{constructor(e,n,r,s){this.fn=e,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,fl(this,s)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,lt();for(let e=0;e<this._depsLength;e++){const n=this.deps[e];if(n.computed&&(hl(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),ut()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=at,n=kt;try{return at=!0,kt=this,this._runnings++,Ao(this),this.fn()}finally{Co(this),this._runnings--,kt=n,at=e}}stop(){var e;this.active&&(Ao(this),Co(this),(e=this.onStop)==null||e.call(this),this.active=!1)}}function hl(t){return t.value}function Ao(t){t._trackId++,t._depsLength=0}function Co(t){if(t.deps.length>t._depsLength){for(let e=t._depsLength;e<t.deps.length;e++)So(t.deps[e],t);t.deps.length=t._depsLength}}function So(t,e){const n=t.get(e);n!==void 0&&e._trackId!==n&&(t.delete(e),t.size===0&&t.cleanup())}let at=!0,Wr=0;const To=[];function lt(){To.push(at),at=!1}function ut(){const t=To.pop();at=t===void 0?!0:t}function Jr(){Wr++}function Yr(){for(Wr--;!Wr&&Xr.length;)Xr.shift()()}function Do(t,e,n){if(e.get(t)!==t._trackId){e.set(t,t._trackId);const r=t.deps[t._depsLength];r!==e?(r&&So(r,t),t.deps[t._depsLength++]=e):t._depsLength++}}const Xr=[];function Ro(t,e,n){Jr();for(const r of t.keys()){let s;r._dirtyLevel<e&&(s??(s=t.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=e),r._shouldSchedule&&(s??(s=t.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&Xr.push(r.scheduler)))}Yr()}const Lo=(t,e)=>{const n=new Map;return n.cleanup=t,n.computed=e,n},zn=new WeakMap,At=Symbol(""),Qr=Symbol("");function qe(t,e,n){if(at&&kt){let r=zn.get(t);r||zn.set(t,r=new Map);let s=r.get(n);s||r.set(n,s=Lo(()=>r.delete(n))),Do(kt,s)}}function nt(t,e,n,r,s,o){const c=zn.get(t);if(!c)return;let i=[];if(e==="clear")i=[...c.values()];else if(n==="length"&&J(t)){const a=Number(r);c.forEach((l,u)=>{(u==="length"||!Gt(u)&&u>=a)&&i.push(l)})}else switch(n!==void 0&&i.push(c.get(n)),e){case"add":J(t)?Hr(n)&&i.push(c.get("length")):(i.push(c.get(At)),Vt(t)&&i.push(c.get(Qr)));break;case"delete":J(t)||(i.push(c.get(At)),Vt(t)&&i.push(c.get(Qr)));break;case"set":Vt(t)&&i.push(c.get(At));break}Jr();for(const a of i)a&&Ro(a,4);Yr()}function dl(t,e){var n;return(n=zn.get(t))==null?void 0:n.get(e)}const gl=wt("__proto__,__v_isRef,__isVue"),qo=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Gt)),No=ml();function ml(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const r=ie(this);for(let o=0,c=this.length;o<c;o++)qe(r,"get",o+"");const s=r[e](...n);return s===-1||s===!1?r[e](...n.map(ie)):s}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){lt(),Jr();const r=ie(this)[e].apply(this,n);return Yr(),ut(),r}}),t}function bl(t){const e=ie(this);return qe(e,"has",t),e.hasOwnProperty(t)}class Io{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,r){const s=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?Rl:zo:o?Uo:$o).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const c=J(e);if(!s){if(c&&ae(No,n))return Reflect.get(No,n,r);if(n==="hasOwnProperty")return bl}const i=Reflect.get(e,n,r);return(Gt(n)?qo.has(n):gl(n))||(s||qe(e,"get",n),o)?i:xe(i)?c&&Hr(n)?i:i.value:de(i)?s?rs(i):ns(i):i}}class Mo extends Io{constructor(e=!1){super(!1,e)}set(e,n,r,s){let o=e[n];if(!this._isShallow){const a=Zt(o);if(!Wn(r)&&!Zt(r)&&(o=ie(o),r=ie(r)),!J(e)&&xe(o)&&!xe(r))return a?!1:(o.value=r,!0)}const c=J(e)&&Hr(n)?Number(n)<e.length:ae(e,n),i=Reflect.set(e,n,r,s);return e===ie(s)&&(c?it(r,o)&&nt(e,"set",n,r):nt(e,"add",n,r)),i}deleteProperty(e,n){const r=ae(e,n);e[n];const s=Reflect.deleteProperty(e,n);return s&&r&&nt(e,"delete",n,void 0),s}has(e,n){const r=Reflect.has(e,n);return(!Gt(n)||!qo.has(n))&&qe(e,"has",n),r}ownKeys(e){return qe(e,"iterate",J(e)?"length":At),Reflect.ownKeys(e)}}class _l extends Io{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const vl=new Mo,yl=new _l,xl=new Mo(!0),es=t=>t,Hn=t=>Reflect.getPrototypeOf(t);function Vn(t,e,n=!1,r=!1){t=t.__v_raw;const s=ie(t),o=ie(e);n||(it(e,o)&&qe(s,"get",e),qe(s,"get",o));const{has:c}=Hn(s),i=r?es:n?os:pn;if(c.call(s,e))return i(t.get(e));if(c.call(s,o))return i(t.get(o));t!==s&&t.get(e)}function Gn(t,e=!1){const n=this.__v_raw,r=ie(n),s=ie(t);return e||(it(t,s)&&qe(r,"has",t),qe(r,"has",s)),t===s?n.has(t):n.has(t)||n.has(s)}function jn(t,e=!1){return t=t.__v_raw,!e&&qe(ie(t),"iterate",At),Reflect.get(t,"size",t)}function Oo(t){t=ie(t);const e=ie(this);return Hn(e).has.call(e,t)||(e.add(t),nt(e,"add",t,t)),this}function Fo(t,e){e=ie(e);const n=ie(this),{has:r,get:s}=Hn(n);let o=r.call(n,t);o||(t=ie(t),o=r.call(n,t));const c=s.call(n,t);return n.set(t,e),o?it(e,c)&&nt(n,"set",t,e):nt(n,"add",t,e),this}function Bo(t){const e=ie(this),{has:n,get:r}=Hn(e);let s=n.call(e,t);s||(t=ie(t),s=n.call(e,t)),r&&r.call(e,t);const o=e.delete(t);return s&&nt(e,"delete",t,void 0),o}function Po(){const t=ie(this),e=t.size!==0,n=t.clear();return e&&nt(t,"clear",void 0,void 0),n}function Kn(t,e){return function(r,s){const o=this,c=o.__v_raw,i=ie(c),a=e?es:t?os:pn;return!t&&qe(i,"iterate",At),c.forEach((l,u)=>r.call(s,a(l),a(u),o))}}function Zn(t,e,n){return function(...r){const s=this.__v_raw,o=ie(s),c=Vt(o),i=t==="entries"||t===Symbol.iterator&&c,a=t==="keys"&&c,l=s[t](...r),u=n?es:e?os:pn;return!e&&qe(o,"iterate",a?Qr:At),{next(){const{value:f,done:p}=l.next();return p?{value:f,done:p}:{value:i?[u(f[0]),u(f[1])]:u(f),done:p}},[Symbol.iterator](){return this}}}}function ft(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function wl(){const t={get(o){return Vn(this,o)},get size(){return jn(this)},has:Gn,add:Oo,set:Fo,delete:Bo,clear:Po,forEach:Kn(!1,!1)},e={get(o){return Vn(this,o,!1,!0)},get size(){return jn(this)},has:Gn,add:Oo,set:Fo,delete:Bo,clear:Po,forEach:Kn(!1,!0)},n={get(o){return Vn(this,o,!0)},get size(){return jn(this,!0)},has(o){return Gn.call(this,o,!0)},add:ft("add"),set:ft("set"),delete:ft("delete"),clear:ft("clear"),forEach:Kn(!0,!1)},r={get(o){return Vn(this,o,!0,!0)},get size(){return jn(this,!0)},has(o){return Gn.call(this,o,!0)},add:ft("add"),set:ft("set"),delete:ft("delete"),clear:ft("clear"),forEach:Kn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{t[o]=Zn(o,!1,!1),n[o]=Zn(o,!0,!1),e[o]=Zn(o,!1,!0),r[o]=Zn(o,!0,!0)}),[t,n,e,r]}const[El,kl,Al,Cl]=wl();function ts(t,e){const n=e?t?Cl:Al:t?kl:El;return(r,s,o)=>s==="__v_isReactive"?!t:s==="__v_isReadonly"?t:s==="__v_raw"?r:Reflect.get(ae(n,s)&&s in r?n:r,s,o)}const Sl={get:ts(!1,!1)},Tl={get:ts(!1,!0)},Dl={get:ts(!0,!1)},$o=new WeakMap,Uo=new WeakMap,zo=new WeakMap,Rl=new WeakMap;function Ll(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ql(t){return t.__v_skip||!Object.isExtensible(t)?0:Ll(tl(t))}function ns(t){return Zt(t)?t:ss(t,!1,vl,Sl,$o)}function Nl(t){return ss(t,!1,xl,Tl,Uo)}function rs(t){return ss(t,!0,yl,Dl,zo)}function ss(t,e,n,r,s){if(!de(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=s.get(t);if(o)return o;const c=ql(t);if(c===0)return t;const i=new Proxy(t,c===2?r:n);return s.set(t,i),i}function Kt(t){return Zt(t)?Kt(t.__v_raw):!!(t&&t.__v_isReactive)}function Zt(t){return!!(t&&t.__v_isReadonly)}function Wn(t){return!!(t&&t.__v_isShallow)}function Ho(t){return Kt(t)||Zt(t)}function ie(t){const e=t&&t.__v_raw;return e?ie(e):t}function Vo(t){return Object.isExtensible(t)&&Un(t,"__v_skip",!0),t}const pn=t=>de(t)?ns(t):t,os=t=>de(t)?rs(t):t;class Go{constructor(e,n,r,s){this.getter=e,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Zr(()=>e(this._value),()=>Jn(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const e=ie(this);return(!e._cacheable||e.effect.dirty)&&it(e._value,e._value=e.effect.run())&&Jn(e,4),jo(e),e.effect._dirtyLevel>=2&&Jn(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Il(t,e,n=!1){let r,s;const o=te(t);return o?(r=t,s=Pe):(r=t.get,s=t.set),new Go(r,s,o||!s,n)}function jo(t){var e;at&&kt&&(t=ie(t),Do(kt,(e=t.dep)!=null?e:t.dep=Lo(()=>t.dep=void 0,t instanceof Go?t:void 0)))}function Jn(t,e=4,n){t=ie(t);const r=t.dep;r&&Ro(r,e)}function xe(t){return!!(t&&t.__v_isRef===!0)}function Te(t){return Ml(t,!1)}function Ml(t,e){return xe(t)?t:new Ol(t,e)}class Ol{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:ie(e),this._value=n?e:pn(e)}get value(){return jo(this),this._value}set value(e){const n=this.__v_isShallow||Wn(e)||Zt(e);e=n?e:ie(e),it(e,this._rawValue)&&(this._rawValue=e,this._value=n?e:pn(e),Jn(this,4))}}function re(t){return xe(t)?t.value:t}const Fl={get:(t,e,n)=>re(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const s=t[e];return xe(s)&&!xe(n)?(s.value=n,!0):Reflect.set(t,e,n,r)}};function Ko(t){return Kt(t)?t:new Proxy(t,Fl)}function Bl(t){const e=J(t)?new Array(t.length):{};for(const n in t)e[n]=$l(t,n);return e}class Pl{constructor(e,n,r){this._object=e,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const e=this._object[this._key];return e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return dl(ie(this._object),this._key)}}function $l(t,e,n){const r=t[e];return xe(r)?r:new Pl(t,e,n)}/**
|
|
10
10
|
* @vue/runtime-core v3.4.21
|
|
11
11
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
12
|
* @license MIT
|
|
13
|
-
**/const hn=[];function Tb(t,...e){lt();const n=hn.length?hn[hn.length-1].component:null,r=n&&n.appContext.config.warnHandler,s
|
|
13
|
+
**/const hn=[];function Tb(t,...e){lt();const n=hn.length?hn[hn.length-1].component:null,r=n&&n.appContext.config.warnHandler,s=Ul();if(r)rt(r,n,11,[t+e.map(o=>{var c,i;return(i=(c=o.toString)==null?void 0:c.call(o))!=null?i:JSON.stringify(o)}).join(""),n&&n.proxy,s.map(({vnode:o})=>`at <${Uc(n,o.type)}>`).join(`
|
|
14
14
|
`),s]);else{const o=[`[Vue warn]: ${t}`,...e];s.length&&o.push(`
|
|
15
|
-
`,...
|
|
16
|
-
`],...zl(n))}),e}function zl({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",r=t.component?t.component.parent==null:!1,s=` at <${Uc(t.component,t.type,r)}`,o=">"+n;return t.props?[s,...Hl(t.props),o]:[s+o]}function Hl(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(r=>{e.push(...Zo(r,t[r]))}),n.length>3&&e.push(" ..."),e}function Zo(t,e,n){return me(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:xe(e)?(e=Zo(t,ie(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):te(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=ie(e),n?e:[`${t}=`,e])}function rt(t,e,n,r){try{return r?t(...r):t()}catch(s){Yn(s,e,n)}}function $e(t,e,n,r){if(te(t)){const o=rt(t,e,n,r);return o&&bo(o)&&o.catch(c=>{Yn(c,e,n)}),o}const s=[];for(let o=0;o<t.length;o++)s.push($e(t[o],e,n,r));return s}function Yn(t,e,n,r=!0){const s=e?e.vnode:null;if(e){let o=e.parent;const c=e.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const l=o.ec;if(l){for(let u=0;u<l.length;u++)if(l[u](t,c,i)===!1)return}o=o.parent}const a=e.appContext.config.errorHandler;if(a){rt(a,null,10,[t,c,i]);return}}Vl(t,n,s,r)}function Vl(t,e,n,r=!0){console.error(t)}let dn=!1,cs=!1;const Ae=[];let Ze=0;const Wt=[];let pt=null,Ct=0;const Wo=Promise.resolve();let is=null;function Jt(t){const e=is||Wo;return t?e.then(this?t.bind(this):t):e}function Gl(t){let e=Ze+1,n=Ae.length;for(;e<n;){const r=e+n>>>1,s=Ae[r],o=gn(s);o<t||o===t&&s.pre?e=r+1:n=r}return e}function as(t){(!Ae.length||!Ae.includes(t,dn&&t.allowRecurse?Ze+1:Ze))&&(t.id==null?Ae.push(t):Ae.splice(Gl(t.id),0,t),Jo())}function Jo(){!dn&&!cs&&(cs=!0,is=Wo.then(Qo))}function jl(t){const e=Ae.indexOf(t);e>Ze&&Ae.splice(e,1)}function Kl(t){J(t)?Wt.push(...t):(!pt||!pt.includes(t,t.allowRecurse?Ct+1:Ct))&&Wt.push(t),Jo()}function Yo(t,e,n=dn?Ze+1:0){for(;n<Ae.length;n++){const r=Ae[n];if(r&&r.pre){if(t&&r.id!==t.uid)continue;Ae.splice(n,1),n--,r()}}}function Xo(t){if(Wt.length){const e=[...new Set(Wt)].sort((n,r)=>gn(n)-gn(r));if(Wt.length=0,pt){pt.push(...e);return}for(pt=e,Ct=0;Ct<pt.length;Ct++)pt[Ct]();pt=null,Ct=0}}const gn=t=>t.id==null?1/0:t.id,Zl=(t,e)=>{const n=gn(t)-gn(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function Qo(t){cs=!1,dn=!0,Ae.sort(Zl);try{for(Ze=0;Ze<Ae.length;Ze++){const e=Ae[Ze];e&&e.active!==!1&&rt(e,null,14)}}finally{Ze=0,Ae.length=0,Xo(),dn=!1,is=null,(Ae.length||Wt.length)&&Qo()}}function Wl(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||he;let s=n;const o=e.startsWith("update:"),c=o&&e.slice(7);if(c&&c in r){const u=`${c==="modelValue"?"model":c}Modifiers`,{number:f,trim:p}=r[u]||he;p&&(s=n.map(d=>me(d)?d.trim():d)),f&&(s=n.map(Gr))}let i,a=r[i=Vr(e)]||r[i=Vr(Ke(e))];!a&&o&&(a=r[i=Vr(Et(e))]),a&&$e(a,t,6,s);const l=r[i+"Once"];if(l){if(!t.emitted)t.emitted={};else if(t.emitted[i])return;t.emitted[i]=!0,$e(l,t,6,s)}}function ec(t,e,n=!1){const r=e.emitsCache,s=r.get(t);if(s!==void 0)return s;const o=t.emits;let c={},i=!1;if(!te(t)){const a=l=>{const u=ec(l,e,!0);u&&(i=!0,ve(c,u))};!n&&e.mixins.length&&e.mixins.forEach(a),t.extends&&a(t.extends),t.mixins&&t.mixins.forEach(a)}return!o&&!i?(de(t)&&r.set(t,null),null):(J(o)?o.forEach(a=>c[a]=null):ve(c,o),de(t)&&r.set(t,c),c)}function Xn(t,e){return!t||!On(e)?!1:(e=e.slice(2).replace(/Once$/,""),ae(t,e[0].toLowerCase()+e.slice(1))||ae(t,Et(e))||ae(t,e))}let ye=null,tc=null;function Qn(t){const e=ye;return ye=t,tc=t&&t.type.__scopeId||null,e}function st(t,e=ye,n){if(!e||t._n)return t;const r=(...s)=>{r._d&&Lc(-1);const o=Qn(e);let c;try{c=t(...s)}finally{Qn(o),r._d&&Lc(1)}return c};return r._n=!0,r._c=!0,r._d=!0,r}function Db(){}function ls(t){const{type:e,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[c],slots:i,attrs:a,emit:l,render:u,renderCache:f,data:p,setupState:d,ctx:m,inheritAttrs:b}=t;let R,T;const D=Qn(t);try{if(n.shapeFlag&4){const B=s||r,P=B;R=We(u.call(P,B,f,o,d,p,m)),T=a}else{const B=e;R=We(B.length>1?B(o,{attrs:a,slots:i,emit:l}):B(o,null)),T=e.props?a:Jl(a)}}catch(B){yn.length=0,Yn(B,t,1),R=ge(He)}let N=R;if(T&&b!==!1){const B=Object.keys(T),{shapeFlag:P}=N;B.length&&P&7&&(c&&B.some(Ur)&&(T=Yl(T,c)),N=gt(N,T))}return n.dirs&&(N=gt(N),N.dirs=N.dirs?N.dirs.concat(n.dirs):n.dirs),n.transition&&(N.transition=n.transition),R=N,Qn(D),R}const Jl=t=>{let e;for(const n in t)(n==="class"||n==="style"||On(n))&&((e||(e={}))[n]=t[n]);return e},Yl=(t,e)=>{const n={};for(const r in t)(!Ur(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function Xl(t,e,n){const{props:r,children:s,component:o}=t,{props:c,children:i,patchFlag:a}=e,l=o.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?nc(r,c,l):!!c;if(a&8){const u=e.dynamicProps;for(let f=0;f<u.length;f++){const p=u[f];if(c[p]!==r[p]&&!Xn(l,p))return!0}}}else return(s||i)&&(!i||!i.$stable)?!0:r===c?!1:r?c?nc(r,c,l):!0:!!c;return!1}function nc(t,e,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(e[o]!==t[o]&&!Xn(n,o))return!0}return!1}function Ql({vnode:t,parent:e},n){for(;e;){const r=e.subTree;if(r.suspense&&r.suspense.activeBranch===t&&(r.el=t.el),r===t)(t=e.vnode).el=n,e=e.parent;else break}}const eu="components",rc=Symbol.for("v-ndc");function tu(t){return me(t)?nu(eu,t,!1)||t:t||rc}function nu(t,e,n=!0,r=!1){const s=ye||we;if(s){const o=s.type;{const i=$c(o,!1);if(i&&(i===e||i===Ke(e)||i===Pn(Ke(e))))return o}const c=sc(s[t]||o[t],e)||sc(s.appContext[t],e);return!c&&r?o:c}}function sc(t,e){return t&&(t[e]||t[Ke(e)]||t[Pn(Ke(e))])}const ru=t=>t.__isSuspense;function su(t,e){e&&e.pendingBranch?J(t)?e.effects.push(...t):e.effects.push(t):Kl(t)}const ou=Symbol.for("v-scx"),cu=()=>Yt(ou),er={};function tr(t,e,n){return oc(t,e,n)}function oc(t,e,{immediate:n,deep:r,flush:s,once:o,onTrack:c,onTrigger:i}=he){if(e&&o){const y=e;e=(...W)=>{y(...W),P()}}const a=we,l=y=>r===!0?y:St(y,r===!1?1:void 0);let u,f=!1,p=!1;if(xe(t)?(u=()=>t.value,f=Wn(t)):Kt(t)?(u=()=>l(t),f=!0):J(t)?(p=!0,f=t.some(y=>Kt(y)||Wn(y)),u=()=>t.map(y=>{if(xe(y))return y.value;if(Kt(y))return l(y);if(te(y))return rt(y,a,2)})):te(t)?e?u=()=>rt(t,a,2):u=()=>(d&&d(),$e(t,a,3,[m])):u=Pe,e&&r){const y=u;u=()=>St(y())}let d,m=y=>{d=N.onStop=()=>{rt(y,a,4),d=N.onStop=void 0}},b;if(pr)if(m=Pe,e?n&&$e(e,a,3,[u(),p?[]:void 0,m]):u(),s==="sync"){const y=cu();b=y.__watcherHandles||(y.__watcherHandles=[])}else return Pe;let R=p?new Array(t.length).fill(er):er;const T=()=>{if(!(!N.active||!N.dirty))if(e){const y=N.run();(r||f||(p?y.some((W,$)=>it(W,R[$])):it(y,R)))&&(d&&d(),$e(e,a,3,[y,R===er?void 0:p&&R[0]===er?[]:R,m]),R=y)}else N.run()};T.allowRecurse=!!e;let D;s==="sync"?D=T:s==="post"?D=()=>Ne(T,a&&a.suspense):(T.pre=!0,a&&(T.id=a.uid),D=()=>as(T));const N=new Zr(u,Pe,D),B=ko(),P=()=>{N.stop(),B&&zr(B.effects,N)};return e?n?T():R=N.run():s==="post"?Ne(N.run.bind(N),a&&a.suspense):N.run(),b&&b.push(P),P}function iu(t,e,n){const r=this.proxy,s=me(t)?t.includes(".")?cc(r,t):()=>r[t]:t.bind(r,r);let o;te(e)?o=e:(o=e.handler,n=e);const c=wn(this),i=oc(s,o.bind(r),n);return c(),i}function cc(t,e){const n=e.split(".");return()=>{let r=t;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function St(t,e,n=0,r){if(!de(t)||t.__v_skip)return t;if(e&&e>0){if(n>=e)return t;n++}if(r=r||new Set,r.has(t))return t;if(r.add(t),xe(t))St(t.value,e,n,r);else if(J(t))for(let s=0;s<t.length;s++)St(t[s],e,n,r);else if(mo(t)||Vt(t))t.forEach(s=>{St(s,e,n,r)});else if(vo(t))for(const s in t)St(t[s],e,n,r);return t}function ic(t,e){if(ye===null)return t;const n=hr(ye)||ye.proxy,r=t.dirs||(t.dirs=[]);for(let s=0;s<e.length;s++){let[o,c,i,a=he]=e[s];o&&(te(o)&&(o={mounted:o,updated:o}),o.deep&&St(c),r.push({dir:o,instance:n,value:c,oldValue:void 0,arg:i,modifiers:a}))}return t}function Tt(t,e,n,r){const s=t.dirs,o=e&&e.dirs;for(let c=0;c<s.length;c++){const i=s[c];o&&(i.oldValue=o[c].value);let a=i.dir[r];a&&(lt(),$e(a,n,8,[t.el,i,t,e]),ut())}}const ht=Symbol("_leaveCb"),nr=Symbol("_enterCb");function au(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return dt(()=>{t.isMounted=!0}),hs(()=>{t.isUnmounting=!0}),t}const Ue=[Function,Array],ac={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ue,onEnter:Ue,onAfterEnter:Ue,onEnterCancelled:Ue,onBeforeLeave:Ue,onLeave:Ue,onAfterLeave:Ue,onLeaveCancelled:Ue,onBeforeAppear:Ue,onAppear:Ue,onAfterAppear:Ue,onAppearCancelled:Ue},lu={name:"BaseTransition",props:ac,setup(t,{slots:e}){const n=Vu(),r=au();return()=>{const s=e.default&&fc(e.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const p of s)if(p.type!==He){o=p;break}}const c=ie(t),{mode:i}=c;if(r.isLeaving)return fs(o);const a=uc(o);if(!a)return fs(o);const l=us(a,c,r,n);ps(a,l);const u=n.subTree,f=u&&uc(u);if(f&&f.type!==He&&!Lt(a,f)){const p=us(f,c,r,n);if(ps(f,p),i==="out-in")return r.isLeaving=!0,p.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},fs(o);i==="in-out"&&a.type!==He&&(p.delayLeave=(d,m,b)=>{const R=lc(r,f);R[String(f.key)]=f,d[ht]=()=>{m(),d[ht]=void 0,delete l.delayedLeave},l.delayedLeave=b})}return o}}};function lc(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function us(t,e,n,r){const{appear:s,mode:o,persisted:c=!1,onBeforeEnter:i,onEnter:a,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:f,onLeave:p,onAfterLeave:d,onLeaveCancelled:m,onBeforeAppear:b,onAppear:R,onAfterAppear:T,onAppearCancelled:D}=e,N=String(t.key),B=lc(n,t),P=($,Q)=>{$&&$e($,r,9,Q)},y=($,Q)=>{const z=Q[1];P($,Q),J($)?$.every(ce=>ce.length<=1)&&z():$.length<=1&&z()},W={mode:o,persisted:c,beforeEnter($){let Q=i;if(!n.isMounted)if(s)Q=b||i;else return;$[ht]&&$[ht](!0);const z=B[N];z&&Lt(t,z)&&z.el[ht]&&z.el[ht](),P(Q,[$])},enter($){let Q=a,z=l,ce=u;if(!n.isMounted)if(s)Q=R||a,z=T||l,ce=D||u;else return;let L=!1;const ee=$[nr]=A=>{L||(L=!0,A?P(ce,[$]):P(z,[$]),W.delayedLeave&&W.delayedLeave(),$[nr]=void 0)};Q?y(Q,[$,ee]):ee()},leave($,Q){const z=String(t.key);if($[nr]&&$[nr](!0),n.isUnmounting)return Q();P(f,[$]);let ce=!1;const L=$[ht]=ee=>{ce||(ce=!0,Q(),ee?P(m,[$]):P(d,[$]),$[ht]=void 0,B[z]===t&&delete B[z])};B[z]=t,p?y(p,[$,L]):L()},clone($){return us($,e,n,r)}};return W}function fs(t){if(rr(t))return t=gt(t),t.children=null,t}function uc(t){return rr(t)?t.children?t.children[0]:void 0:t}function ps(t,e){t.shapeFlag&6&&t.component?ps(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function fc(t,e=!1,n){let r=[],s=0;for(let o=0;o<t.length;o++){let c=t[o];const i=n==null?c.key:String(n)+String(c.key!=null?c.key:o);c.type===Ce?(c.patchFlag&128&&s++,r=r.concat(fc(c.children,e,i))):(e||c.type!==He)&&r.push(i!=null?gt(c,{key:i}):c)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function ze(t,e){return te(t)?ve({name:t.name},e,{setup:t}):t}const mn=t=>!!t.type.__asyncLoader,rr=t=>t.type.__isKeepAlive;function uu(t,e){pc(t,"a",e)}function fu(t,e){pc(t,"da",e)}function pc(t,e,n=we){const r=t.__wdc||(t.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return t()});if(sr(e,r,n),n){let s=n.parent;for(;s&&s.parent;)rr(s.parent.vnode)&&pu(r,e,n,s),s=s.parent}}function pu(t,e,n,r){const s=sr(e,t,r,!0);ds(()=>{zr(r[e],s)},n)}function sr(t,e,n=we,r=!1){if(n){const s=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...c)=>{if(n.isUnmounted)return;lt();const i=wn(n),a=$e(e,n,t,c);return i(),ut(),a});return r?s.unshift(o):s.push(o),o}}const ot=t=>(e,n=we)=>(!pr||t==="sp")&&sr(t,(...r)=>e(...r),n),hu=ot("bm"),dt=ot("m"),du=ot("bu"),gu=ot("u"),hs=ot("bum"),ds=ot("um"),mu=ot("sp"),bu=ot("rtg"),_u=ot("rtc");function vu(t,e=we){sr("ec",t,e)}function or(t,e,n,r){let s;const o=n;if(J(t)||me(t)){s=new Array(t.length);for(let c=0,i=t.length;c<i;c++)s[c]=e(t[c],c,void 0,o)}else if(typeof t=="number"){s=new Array(t);for(let c=0;c<t;c++)s[c]=e(c+1,c,void 0,o)}else if(de(t))if(t[Symbol.iterator])s=Array.from(t,(c,i)=>e(c,i,void 0,o));else{const c=Object.keys(t);s=new Array(c.length);for(let i=0,a=c.length;i<a;i++){const l=c[i];s[i]=e(t[l],l,i,o)}}else s=[];return s}function Dt(t,e,n={},r,s){if(ye.isCE||ye.parent&&mn(ye.parent)&&ye.parent.isCE)return e!=="default"&&(n.name=e),ge("slot",n,r&&r());let o=t[e];o&&o._c&&(o._d=!1),K();const c=o&&hc(o(n)),i=be(Ce,{key:n.key||c&&c.key||`_${e}`},c||(r?r():[]),c&&t._===1?64:-2);return i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),o&&o._c&&(o._d=!0),i}function hc(t){return t.some(e=>ar(e)?!(e.type===He||e.type===Ce&&!hc(e.children)):!0)?t:null}const gs=t=>t?Oc(t)?hr(t)||t.proxy:gs(t.parent):null,bn=ve(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>gs(t.parent),$root:t=>gs(t.root),$emit:t=>t.emit,$options:t=>_s(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,as(t.update)}),$nextTick:t=>t.n||(t.n=Jt.bind(t.proxy)),$watch:t=>iu.bind(t)}),ms=(t,e)=>t!==he&&!t.__isScriptSetup&&ae(t,e),yu={get({_:t},e){const{ctx:n,setupState:r,data:s,props:o,accessCache:c,type:i,appContext:a}=t;let l;if(e[0]!=="$"){const d=c[e];if(d!==void 0)switch(d){case 1:return r[e];case 2:return s[e];case 4:return n[e];case 3:return o[e]}else{if(ms(r,e))return c[e]=1,r[e];if(s!==he&&ae(s,e))return c[e]=2,s[e];if((l=t.propsOptions[0])&&ae(l,e))return c[e]=3,o[e];if(n!==he&&ae(n,e))return c[e]=4,n[e];bs&&(c[e]=0)}}const u=bn[e];let f,p;if(u)return e==="$attrs"&&qe(t,"get",e),u(t);if((f=i.__cssModules)&&(f=f[e]))return f;if(n!==he&&ae(n,e))return c[e]=4,n[e];if(p=a.config.globalProperties,ae(p,e))return p[e]},set({_:t},e,n){const{data:r,setupState:s,ctx:o}=t;return ms(s,e)?(s[e]=n,!0):r!==he&&ae(r,e)?(r[e]=n,!0):ae(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(o[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:s,propsOptions:o}},c){let i;return!!n[c]||t!==he&&ae(t,c)||ms(e,c)||(i=o[0])&&ae(i,c)||ae(r,c)||ae(bn,c)||ae(s.config.globalProperties,c)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:ae(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function dc(t){return J(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let bs=!0;function xu(t){const e=_s(t),n=t.proxy,r=t.ctx;bs=!1,e.beforeCreate&&gc(e.beforeCreate,t,"bc");const{data:s,computed:o,methods:c,watch:i,provide:a,inject:l,created:u,beforeMount:f,mounted:p,beforeUpdate:d,updated:m,activated:b,deactivated:R,beforeDestroy:T,beforeUnmount:D,destroyed:N,unmounted:B,render:P,renderTracked:y,renderTriggered:W,errorCaptured:$,serverPrefetch:Q,expose:z,inheritAttrs:ce,components:L,directives:ee,filters:A}=e;if(l&&wu(l,r,null),c)for(const v in c){const C=c[v];te(C)&&(r[v]=C.bind(n))}if(s){const v=s.call(n,n);de(v)&&(t.data=ns(v))}if(bs=!0,o)for(const v in o){const C=o[v],j=te(C)?C.bind(n,n):te(C.get)?C.get.bind(n,n):Pe,ne=!te(C)&&te(C.set)?C.set.bind(n):Pe,se=Re({get:j,set:ne});Object.defineProperty(r,v,{enumerable:!0,configurable:!0,get:()=>se.value,set:ue=>se.value=ue})}if(i)for(const v in i)mc(i[v],r,n,v);if(a){const v=te(a)?a.call(n):a;Reflect.ownKeys(v).forEach(C=>{Tu(C,v[C])})}u&&gc(u,t,"c");function F(v,C){J(C)?C.forEach(j=>v(j.bind(n))):C&&v(C.bind(n))}if(F(hu,f),F(dt,p),F(du,d),F(gu,m),F(uu,b),F(fu,R),F(vu,$),F(_u,y),F(bu,W),F(hs,D),F(ds,B),F(mu,Q),J(z))if(z.length){const v=t.exposed||(t.exposed={});z.forEach(C=>{Object.defineProperty(v,C,{get:()=>n[C],set:j=>n[C]=j})})}else t.exposed||(t.exposed={});P&&t.render===Pe&&(t.render=P),ce!=null&&(t.inheritAttrs=ce),L&&(t.components=L),ee&&(t.directives=ee)}function wu(t,e,n=Pe){J(t)&&(t=vs(t));for(const r in t){const s=t[r];let o;de(s)?"default"in s?o=Yt(s.from||r,s.default,!0):o=Yt(s.from||r):o=Yt(s),xe(o)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:c=>o.value=c}):e[r]=o}}function gc(t,e,n){$e(J(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function mc(t,e,n,r){const s=r.includes(".")?cc(n,r):()=>n[r];if(me(t)){const o=e[t];te(o)&&tr(s,o)}else if(te(t))tr(s,t.bind(n));else if(de(t))if(J(t))t.forEach(o=>mc(o,e,n,r));else{const o=te(t.handler)?t.handler.bind(n):e[t.handler];te(o)&&tr(s,o,t)}}function _s(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:s,optionsCache:o,config:{optionMergeStrategies:c}}=t.appContext,i=o.get(e);let a;return i?a=i:!s.length&&!n&&!r?a=e:(a={},s.length&&s.forEach(l=>cr(a,l,c,!0)),cr(a,e,c)),de(e)&&o.set(e,a),a}function cr(t,e,n,r=!1){const{mixins:s,extends:o}=e;o&&cr(t,o,n,!0),s&&s.forEach(c=>cr(t,c,n,!0));for(const c in e)if(!(r&&c==="expose")){const i=Eu[c]||n&&n[c];t[c]=i?i(t[c],e[c]):e[c]}return t}const Eu={data:bc,props:_c,emits:_c,methods:_n,computed:_n,beforeCreate:De,created:De,beforeMount:De,mounted:De,beforeUpdate:De,updated:De,beforeDestroy:De,beforeUnmount:De,destroyed:De,unmounted:De,activated:De,deactivated:De,errorCaptured:De,serverPrefetch:De,components:_n,directives:_n,watch:Au,provide:bc,inject:ku};function bc(t,e){return e?t?function(){return ve(te(t)?t.call(this,this):t,te(e)?e.call(this,this):e)}:e:t}function ku(t,e){return _n(vs(t),vs(e))}function vs(t){if(J(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function De(t,e){return t?[...new Set([].concat(t,e))]:e}function _n(t,e){return t?ve(Object.create(null),t,e):e}function _c(t,e){return t?J(t)&&J(e)?[...new Set([...t,...e])]:ve(Object.create(null),dc(t),dc(e??{})):e}function Au(t,e){if(!t)return e;if(!e)return t;const n=ve(Object.create(null),t);for(const r in e)n[r]=De(t[r],e[r]);return n}function vc(){return{app:null,config:{isNativeTag:Xa,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 Cu=0;function Su(t,e){return function(r,s=null){te(r)||(r=ve({},r)),s!=null&&!de(s)&&(s=null);const o=vc(),c=new WeakSet;let i=!1;const a=o.app={_uid:Cu++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Xu,get config(){return o.config},set config(l){},use(l,...u){return c.has(l)||(l&&te(l.install)?(c.add(l),l.install(a,...u)):te(l)&&(c.add(l),l(a,...u))),a},mixin(l){return o.mixins.includes(l)||o.mixins.push(l),a},component(l,u){return u?(o.components[l]=u,a):o.components[l]},directive(l,u){return u?(o.directives[l]=u,a):o.directives[l]},mount(l,u,f){if(!i){const p=ge(r,s);return p.appContext=o,f===!0?f="svg":f===!1&&(f=void 0),u&&e?e(p,l):t(p,l,f),i=!0,a._container=l,l.__vue_app__=a,hr(p.component)||p.component.proxy}},unmount(){i&&(t(null,a._container),delete a._container.__vue_app__)},provide(l,u){return o.provides[l]=u,a},runWithContext(l){const u=vn;vn=a;try{return l()}finally{vn=u}}};return a}}let vn=null;function Tu(t,e){if(we){let n=we.provides;const r=we.parent&&we.parent.provides;r===n&&(n=we.provides=Object.create(r)),n[t]=e}}function Yt(t,e,n=!1){const r=we||ye;if(r||vn){const s=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:vn._context.provides;if(s&&t in s)return s[t];if(arguments.length>1)return n&&te(e)?e.call(r&&r.proxy):e}}function Du(t,e,n,r=!1){const s={},o={};Un(o,lr,1),t.propsDefaults=Object.create(null),yc(t,e,s,o);for(const c in t.propsOptions[0])c in s||(s[c]=void 0);n?t.props=r?s:ql(s):t.type.props?t.props=s:t.props=o,t.attrs=o}function Ru(t,e,n,r){const{props:s,attrs:o,vnode:{patchFlag:c}}=t,i=ie(s),[a]=t.propsOptions;let l=!1;if((r||c>0)&&!(c&16)){if(c&8){const u=t.vnode.dynamicProps;for(let f=0;f<u.length;f++){let p=u[f];if(Xn(t.emitsOptions,p))continue;const d=e[p];if(a)if(ae(o,p))d!==o[p]&&(o[p]=d,l=!0);else{const m=Ke(p);s[m]=ys(a,i,m,d,t,!1)}else d!==o[p]&&(o[p]=d,l=!0)}}}else{yc(t,e,s,o)&&(l=!0);let u;for(const f in i)(!e||!ae(e,f)&&((u=Et(f))===f||!ae(e,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(s[f]=ys(a,i,f,void 0,t,!0)):delete s[f]);if(o!==i)for(const f in o)(!e||!ae(e,f))&&(delete o[f],l=!0)}l&&nt(t,"set","$attrs")}function yc(t,e,n,r){const[s,o]=t.propsOptions;let c=!1,i;if(e)for(let a in e){if(ln(a))continue;const l=e[a];let u;s&&ae(s,u=Ke(a))?!o||!o.includes(u)?n[u]=l:(i||(i={}))[u]=l:Xn(t.emitsOptions,a)||(!(a in r)||l!==r[a])&&(r[a]=l,c=!0)}if(o){const a=ie(n),l=i||he;for(let u=0;u<o.length;u++){const f=o[u];n[f]=ys(s,a,f,l[f],t,!ae(l,f))}}return c}function ys(t,e,n,r,s,o){const c=t[n];if(c!=null){const i=ae(c,"default");if(i&&r===void 0){const a=c.default;if(c.type!==Function&&!c.skipFactory&&te(a)){const{propsDefaults:l}=s;if(n in l)r=l[n];else{const u=wn(s);r=l[n]=a.call(null,e),u()}}else r=a}c[0]&&(o&&!i?r=!1:c[1]&&(r===""||r===Et(n))&&(r=!0))}return r}function xc(t,e,n=!1){const r=e.propsCache,s=r.get(t);if(s)return s;const o=t.props,c={},i=[];let a=!1;if(!te(t)){const u=f=>{a=!0;const[p,d]=xc(f,e,!0);ve(c,p),d&&i.push(...d)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!o&&!a)return de(t)&&r.set(t,Ht),Ht;if(J(o))for(let u=0;u<o.length;u++){const f=Ke(o[u]);wc(f)&&(c[f]=he)}else if(o)for(const u in o){const f=Ke(u);if(wc(f)){const p=o[u],d=c[f]=J(p)||te(p)?{type:p}:ve({},p);if(d){const m=Ac(Boolean,d.type),b=Ac(String,d.type);d[0]=m>-1,d[1]=b<0||m<b,(m>-1||ae(d,"default"))&&i.push(f)}}}const l=[c,i];return de(t)&&r.set(t,l),l}function wc(t){return t[0]!=="$"&&!ln(t)}function Ec(t){return t===null?"null":typeof t=="function"?t.name||"":typeof t=="object"&&t.constructor&&t.constructor.name||""}function kc(t,e){return Ec(t)===Ec(e)}function Ac(t,e){return J(e)?e.findIndex(n=>kc(n,t)):te(e)&&kc(e,t)?0:-1}const Cc=t=>t[0]==="_"||t==="$stable",xs=t=>J(t)?t.map(We):[We(t)],Lu=(t,e,n)=>{if(e._n)return e;const r=st((...s)=>xs(e(...s)),n);return r._c=!1,r},Sc=(t,e,n)=>{const r=t._ctx;for(const s in t){if(Cc(s))continue;const o=t[s];if(te(o))e[s]=Lu(s,o,r);else if(o!=null){const c=xs(o);e[s]=()=>c}}},Tc=(t,e)=>{const n=xs(e);t.slots.default=()=>n},qu=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=ie(e),Un(e,"_",n)):Sc(e,t.slots={})}else t.slots={},e&&Tc(t,e);Un(t.slots,lr,1)},Nu=(t,e,n)=>{const{vnode:r,slots:s}=t;let o=!0,c=he;if(r.shapeFlag&32){const i=e._;i?n&&i===1?o=!1:(ve(s,e),!n&&i===1&&delete s._):(o=!e.$stable,Sc(e,s)),c=e}else e&&(Tc(t,e),c={default:1});if(o)for(const i in s)!Cc(i)&&c[i]==null&&delete s[i]};function ws(t,e,n,r,s=!1){if(J(t)){t.forEach((p,d)=>ws(p,e&&(J(e)?e[d]:e),n,r,s));return}if(mn(r)&&!s)return;const o=r.shapeFlag&4?hr(r.component)||r.component.proxy:r.el,c=s?null:o,{i,r:a}=t,l=e&&e.r,u=i.refs===he?i.refs={}:i.refs,f=i.setupState;if(l!=null&&l!==a&&(me(l)?(u[l]=null,ae(f,l)&&(f[l]=null)):xe(l)&&(l.value=null)),te(a))rt(a,i,12,[c,u]);else{const p=me(a),d=xe(a);if(p||d){const m=()=>{if(t.f){const b=p?ae(f,a)?f[a]:u[a]:a.value;s?J(b)&&zr(b,o):J(b)?b.includes(o)||b.push(o):p?(u[a]=[o],ae(f,a)&&(f[a]=u[a])):(a.value=[o],t.k&&(u[t.k]=a.value))}else p?(u[a]=c,ae(f,a)&&(f[a]=c)):d&&(a.value=c,t.k&&(u[t.k]=c))};c?(m.id=-1,Ne(m,n)):m()}}}const Ne=su;function Iu(t){return Mu(t)}function Mu(t,e){const n=xo();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:c,createText:i,createComment:a,setText:l,setElementText:u,parentNode:f,nextSibling:p,setScopeId:d=Pe,insertStaticContent:m}=t,b=(h,g,_,E=null,S=null,M=null,w=void 0,I=null,q=!!g.dynamicChildren)=>{if(h===g)return;h&&!Lt(h,g)&&(E=Pt(h),ue(h,S,M,!0),h=null),g.patchFlag===-2&&(q=!1,g.dynamicChildren=null);const{type:x,ref:U,shapeFlag:V}=g;switch(x){case ir:R(h,g,_,E);break;case He:T(h,g,_,E);break;case ks:h==null&&D(g,_,E,w);break;case Ce:L(h,g,_,E,S,M,w,I,q);break;default:V&1?P(h,g,_,E,S,M,w,I,q):V&6?ee(h,g,_,E,S,M,w,I,q):(V&64||V&128)&&x.process(h,g,_,E,S,M,w,I,q,$t)}U!=null&&S&&ws(U,h&&h.ref,M,g||h,!g)},R=(h,g,_,E)=>{if(h==null)r(g.el=i(g.children),_,E);else{const S=g.el=h.el;g.children!==h.children&&l(S,g.children)}},T=(h,g,_,E)=>{h==null?r(g.el=a(g.children||""),_,E):g.el=h.el},D=(h,g,_,E)=>{[h.el,h.anchor]=m(h.children,g,_,E,h.el,h.anchor)},N=({el:h,anchor:g},_,E)=>{let S;for(;h&&h!==g;)S=p(h),r(h,_,E),h=S;r(g,_,E)},B=({el:h,anchor:g})=>{let _;for(;h&&h!==g;)_=p(h),s(h),h=_;s(g)},P=(h,g,_,E,S,M,w,I,q)=>{g.type==="svg"?w="svg":g.type==="math"&&(w="mathml"),h==null?y(g,_,E,S,M,w,I,q):Q(h,g,S,M,w,I,q)},y=(h,g,_,E,S,M,w,I)=>{let q,x;const{props:U,shapeFlag:V,transition:G,dirs:Y}=h;if(q=h.el=c(h.type,M,U&&U.is,U),V&8?u(q,h.children):V&16&&$(h.children,q,null,E,S,Es(h,M),w,I),Y&&Tt(h,null,E,"created"),W(q,h,h.scopeId,w,E),U){for(const O in U)O!=="value"&&!ln(O)&&o(q,O,null,U[O],M,h.children,E,S,_e);"value"in U&&o(q,"value",null,U.value,M),(x=U.onVnodeBeforeMount)&&Je(x,E,h)}Y&&Tt(h,null,E,"beforeMount");const k=Ou(S,G);k&&G.beforeEnter(q),r(q,g,_),((x=U&&U.onVnodeMounted)||k||Y)&&Ne(()=>{x&&Je(x,E,h),k&&G.enter(q),Y&&Tt(h,null,E,"mounted")},S)},W=(h,g,_,E,S)=>{if(_&&d(h,_),E)for(let M=0;M<E.length;M++)d(h,E[M]);if(S){let M=S.subTree;if(g===M){const w=S.vnode;W(h,w,w.scopeId,w.slotScopeIds,S.parent)}}},$=(h,g,_,E,S,M,w,I,q=0)=>{for(let x=q;x<h.length;x++){const U=h[x]=I?mt(h[x]):We(h[x]);b(null,U,g,_,E,S,M,w,I)}},Q=(h,g,_,E,S,M,w)=>{const I=g.el=h.el;let{patchFlag:q,dynamicChildren:x,dirs:U}=g;q|=h.patchFlag&16;const V=h.props||he,G=g.props||he;let Y;if(_&&Rt(_,!1),(Y=G.onVnodeBeforeUpdate)&&Je(Y,_,g,h),U&&Tt(g,h,_,"beforeUpdate"),_&&Rt(_,!0),x?z(h.dynamicChildren,x,I,_,E,Es(g,S),M):w||C(h,g,I,null,_,E,Es(g,S),M,!1),q>0){if(q&16)ce(I,g,V,G,_,E,S);else if(q&2&&V.class!==G.class&&o(I,"class",null,G.class,S),q&4&&o(I,"style",V.style,G.style,S),q&8){const k=g.dynamicProps;for(let O=0;O<k.length;O++){const H=k[O],X=V[H],fe=G[H];(fe!==X||H==="value")&&o(I,H,X,fe,S,h.children,_,E,_e)}}q&1&&h.children!==g.children&&u(I,g.children)}else!w&&x==null&&ce(I,g,V,G,_,E,S);((Y=G.onVnodeUpdated)||U)&&Ne(()=>{Y&&Je(Y,_,g,h),U&&Tt(g,h,_,"updated")},E)},z=(h,g,_,E,S,M,w)=>{for(let I=0;I<g.length;I++){const q=h[I],x=g[I],U=q.el&&(q.type===Ce||!Lt(q,x)||q.shapeFlag&70)?f(q.el):_;b(q,x,U,null,E,S,M,w,!0)}},ce=(h,g,_,E,S,M,w)=>{if(_!==E){if(_!==he)for(const I in _)!ln(I)&&!(I in E)&&o(h,I,_[I],null,w,g.children,S,M,_e);for(const I in E){if(ln(I))continue;const q=E[I],x=_[I];q!==x&&I!=="value"&&o(h,I,x,q,w,g.children,S,M,_e)}"value"in E&&o(h,"value",_.value,E.value,w)}},L=(h,g,_,E,S,M,w,I,q)=>{const x=g.el=h?h.el:i(""),U=g.anchor=h?h.anchor:i("");let{patchFlag:V,dynamicChildren:G,slotScopeIds:Y}=g;Y&&(I=I?I.concat(Y):Y),h==null?(r(x,_,E),r(U,_,E),$(g.children||[],_,U,S,M,w,I,q)):V>0&&V&64&&G&&h.dynamicChildren?(z(h.dynamicChildren,G,_,S,M,w,I),(g.key!=null||S&&g===S.subTree)&&Dc(h,g,!0)):C(h,g,_,U,S,M,w,I,q)},ee=(h,g,_,E,S,M,w,I,q)=>{g.slotScopeIds=I,h==null?g.shapeFlag&512?S.ctx.activate(g,_,E,w,q):A(g,_,E,S,M,w,q):Z(h,g,q)},A=(h,g,_,E,S,M,w)=>{const I=h.component=Hu(h,E,S);if(rr(h)&&(I.ctx.renderer=$t),Gu(I),I.asyncDep){if(S&&S.registerDep(I,F),!h.el){const q=I.subTree=ge(He);T(null,q,g,_)}}else F(I,h,g,_,S,M,w)},Z=(h,g,_)=>{const E=g.component=h.component;if(Xl(h,g,_))if(E.asyncDep&&!E.asyncResolved){v(E,g,_);return}else E.next=g,jl(E.update),E.effect.dirty=!0,E.update();else g.el=h.el,E.vnode=g},F=(h,g,_,E,S,M,w)=>{const I=()=>{if(h.isMounted){let{next:U,bu:V,u:G,parent:Y,vnode:k}=h;{const Se=Rc(h);if(Se){U&&(U.el=k.el,v(h,U,w)),Se.asyncDep.then(()=>{h.isUnmounted||I()});return}}let O=U,H;Rt(h,!1),U?(U.el=k.el,v(h,U,w)):U=k,V&&$n(V),(H=U.props&&U.props.onVnodeBeforeUpdate)&&Je(H,Y,U,k),Rt(h,!0);const X=ls(h),fe=h.subTree;h.subTree=X,b(fe,X,f(fe.el),Pt(fe),h,S,M),U.el=X.el,O===null&&Ql(h,X.el),G&&Ne(G,S),(H=U.props&&U.props.onVnodeUpdated)&&Ne(()=>Je(H,Y,U,k),S)}else{let U;const{el:V,props:G}=g,{bm:Y,m:k,parent:O}=h,H=mn(g);if(Rt(h,!1),Y&&$n(Y),!H&&(U=G&&G.onVnodeBeforeMount)&&Je(U,O,g),Rt(h,!0),V&&Pr){const X=()=>{h.subTree=ls(h),Pr(V,h.subTree,h,S,null)};H?g.type.__asyncLoader().then(()=>!h.isUnmounted&&X()):X()}else{const X=h.subTree=ls(h);b(null,X,_,E,h,S,M),g.el=X.el}if(k&&Ne(k,S),!H&&(U=G&&G.onVnodeMounted)){const X=g;Ne(()=>Je(U,O,X),S)}(g.shapeFlag&256||O&&mn(O.vnode)&&O.vnode.shapeFlag&256)&&h.a&&Ne(h.a,S),h.isMounted=!0,g=_=E=null}},q=h.effect=new Zr(I,Pe,()=>as(x),h.scope),x=h.update=()=>{q.dirty&&q.run()};x.id=h.uid,Rt(h,!0),x()},v=(h,g,_)=>{g.component=h;const E=h.vnode.props;h.vnode=g,h.next=null,Ru(h,g.props,E,_),Nu(h,g.children,_),lt(),Yo(h),ut()},C=(h,g,_,E,S,M,w,I,q=!1)=>{const x=h&&h.children,U=h?h.shapeFlag:0,V=g.children,{patchFlag:G,shapeFlag:Y}=g;if(G>0){if(G&128){ne(x,V,_,E,S,M,w,I,q);return}else if(G&256){j(x,V,_,E,S,M,w,I,q);return}}Y&8?(U&16&&_e(x,S,M),V!==x&&u(_,V)):U&16?Y&16?ne(x,V,_,E,S,M,w,I,q):_e(x,S,M,!0):(U&8&&u(_,""),Y&16&&$(V,_,E,S,M,w,I,q))},j=(h,g,_,E,S,M,w,I,q)=>{h=h||Ht,g=g||Ht;const x=h.length,U=g.length,V=Math.min(x,U);let G;for(G=0;G<V;G++){const Y=g[G]=q?mt(g[G]):We(g[G]);b(h[G],Y,_,null,S,M,w,I,q)}x>U?_e(h,S,M,!0,!1,V):$(g,_,E,S,M,w,I,q,V)},ne=(h,g,_,E,S,M,w,I,q)=>{let x=0;const U=g.length;let V=h.length-1,G=U-1;for(;x<=V&&x<=G;){const Y=h[x],k=g[x]=q?mt(g[x]):We(g[x]);if(Lt(Y,k))b(Y,k,_,null,S,M,w,I,q);else break;x++}for(;x<=V&&x<=G;){const Y=h[V],k=g[G]=q?mt(g[G]):We(g[G]);if(Lt(Y,k))b(Y,k,_,null,S,M,w,I,q);else break;V--,G--}if(x>V){if(x<=G){const Y=G+1,k=Y<U?g[Y].el:E;for(;x<=G;)b(null,g[x]=q?mt(g[x]):We(g[x]),_,k,S,M,w,I,q),x++}}else if(x>G)for(;x<=V;)ue(h[x],S,M,!0),x++;else{const Y=x,k=x,O=new Map;for(x=k;x<=G;x++){const Be=g[x]=q?mt(g[x]):We(g[x]);Be.key!=null&&O.set(Be.key,x)}let H,X=0;const fe=G-k+1;let Se=!1,$r=0;const Ut=new Array(fe);for(x=0;x<fe;x++)Ut[x]=0;for(x=Y;x<=V;x++){const Be=h[x];if(X>=fe){ue(Be,S,M,!0);continue}let tt;if(Be.key!=null)tt=O.get(Be.key);else for(H=k;H<=G;H++)if(Ut[H-k]===0&&Lt(Be,g[H])){tt=H;break}tt===void 0?ue(Be,S,M,!0):(Ut[tt-k]=x+1,tt>=$r?$r=tt:Se=!0,b(Be,g[tt],_,null,S,M,w,I,q),X++)}const Ja=Se?Fu(Ut):Ht;for(H=Ja.length-1,x=fe-1;x>=0;x--){const Be=k+x,tt=g[Be],Ya=Be+1<U?g[Be+1].el:E;Ut[x]===0?b(null,tt,_,Ya,S,M,w,I,q):Se&&(H<0||x!==Ja[H]?se(tt,_,Ya,2):H--)}}},se=(h,g,_,E,S=null)=>{const{el:M,type:w,transition:I,children:q,shapeFlag:x}=h;if(x&6){se(h.component.subTree,g,_,E);return}if(x&128){h.suspense.move(g,_,E);return}if(x&64){w.move(h,g,_,$t);return}if(w===Ce){r(M,g,_);for(let V=0;V<q.length;V++)se(q[V],g,_,E);r(h.anchor,g,_);return}if(w===ks){N(h,g,_);return}if(E!==2&&x&1&&I)if(E===0)I.beforeEnter(M),r(M,g,_),Ne(()=>I.enter(M),S);else{const{leave:V,delayLeave:G,afterLeave:Y}=I,k=()=>r(M,g,_),O=()=>{V(M,()=>{k(),Y&&Y()})};G?G(M,k,O):O()}else r(M,g,_)},ue=(h,g,_,E=!1,S=!1)=>{const{type:M,props:w,ref:I,children:q,dynamicChildren:x,shapeFlag:U,patchFlag:V,dirs:G}=h;if(I!=null&&ws(I,null,_,h,!0),U&256){g.ctx.deactivate(h);return}const Y=U&1&&G,k=!mn(h);let O;if(k&&(O=w&&w.onVnodeBeforeUnmount)&&Je(O,g,h),U&6)Le(h.component,_,E);else{if(U&128){h.suspense.unmount(_,E);return}Y&&Tt(h,null,g,"beforeUnmount"),U&64?h.type.remove(h,g,_,S,$t,E):x&&(M!==Ce||V>0&&V&64)?_e(x,g,_,!1,!0):(M===Ce&&V&384||!S&&U&16)&&_e(q,g,_),E&&ke(h)}(k&&(O=w&&w.onVnodeUnmounted)||Y)&&Ne(()=>{O&&Je(O,g,h),Y&&Tt(h,null,g,"unmounted")},_)},ke=h=>{const{type:g,el:_,anchor:E,transition:S}=h;if(g===Ce){cn(_,E);return}if(g===ks){B(h);return}const M=()=>{s(_),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(h.shapeFlag&1&&S&&!S.persisted){const{leave:w,delayLeave:I}=S,q=()=>w(_,M);I?I(h.el,M,q):q()}else M()},cn=(h,g)=>{let _;for(;h!==g;)_=p(h),s(h),h=_;s(g)},Le=(h,g,_)=>{const{bum:E,scope:S,update:M,subTree:w,um:I}=h;E&&$n(E),S.stop(),M&&(M.active=!1,ue(w,h,g,_)),I&&Ne(I,g),Ne(()=>{h.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},_e=(h,g,_,E=!1,S=!1,M=0)=>{for(let w=M;w<h.length;w++)ue(h[w],g,_,E,S)},Pt=h=>h.shapeFlag&6?Pt(h.component.subTree):h.shapeFlag&128?h.suspense.next():p(h.anchor||h.el);let an=!1;const Mn=(h,g,_)=>{h==null?g._vnode&&ue(g._vnode,null,null,!0):b(g._vnode||null,h,g,null,null,null,_),an||(an=!0,Yo(),Xo(),an=!1),g._vnode=h},$t={p:b,um:ue,m:se,r:ke,mt:A,mc:$,pc:C,pbc:z,n:Pt,o:t};let Br,Pr;return{render:Mn,hydrate:Br,createApp:Su(Mn,Br)}}function Es({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function Rt({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Ou(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Dc(t,e,n=!1){const r=t.children,s=e.children;if(J(r)&&J(s))for(let o=0;o<r.length;o++){const c=r[o];let i=s[o];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=s[o]=mt(s[o]),i.el=c.el),n||Dc(c,i)),i.type===ir&&(i.el=c.el)}}function Fu(t){const e=t.slice(),n=[0];let r,s,o,c,i;const a=t.length;for(r=0;r<a;r++){const l=t[r];if(l!==0){if(s=n[n.length-1],t[s]<l){e[r]=s,n.push(r);continue}for(o=0,c=n.length-1;o<c;)i=o+c>>1,t[n[i]]<l?o=i+1:c=i;l<t[n[o]]&&(o>0&&(e[r]=n[o-1]),n[o]=r)}}for(o=n.length,c=n[o-1];o-- >0;)n[o]=c,c=e[c];return n}function Rc(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Rc(e)}const Bu=t=>t.__isTeleport,Ce=Symbol.for("v-fgt"),ir=Symbol.for("v-txt"),He=Symbol.for("v-cmt"),ks=Symbol.for("v-stc"),yn=[];let Ge=null;function K(t=!1){yn.push(Ge=t?null:[])}function Pu(){yn.pop(),Ge=yn[yn.length-1]||null}let xn=1;function Lc(t){xn+=t}function qc(t){return t.dynamicChildren=xn>0?Ge||Ht:null,Pu(),xn>0&&Ge&&Ge.push(t),t}function oe(t,e,n,r,s,o){return qc(pe(t,e,n,r,s,o,!0))}function be(t,e,n,r,s){return qc(ge(t,e,n,r,s,!0))}function ar(t){return t?t.__v_isVNode===!0:!1}function Lt(t,e){return t.type===e.type&&t.key===e.key}const lr="__vInternal",Nc=({key:t})=>t??null,ur=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?me(t)||xe(t)||te(t)?{i:ye,r:t,k:e,f:!!n}:t:null);function pe(t,e=null,n=null,r=0,s=null,o=t===Ce?0:1,c=!1,i=!1){const a={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Nc(e),ref:e&&ur(e),scopeId:tc,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:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ye};return i?(Ss(a,n),o&128&&t.normalize(a)):n&&(a.shapeFlag|=me(n)?8:16),xn>0&&!c&&Ge&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&Ge.push(a),a}const ge=$u;function $u(t,e=null,n=null,r=0,s=null,o=!1){if((!t||t===rc)&&(t=He),ar(t)){const i=gt(t,e,!0);return n&&Ss(i,n),xn>0&&!o&&Ge&&(i.shapeFlag&6?Ge[Ge.indexOf(t)]=i:Ge.push(i)),i.patchFlag|=-2,i}if(Yu(t)&&(t=t.__vccOpts),e){e=As(e);let{class:i,style:a}=e;i&&!me(i)&&(e.class=jt(i)),de(a)&&(Ho(a)&&!J(a)&&(a=ve({},a)),e.style=un(a))}const c=me(t)?1:ru(t)?128:Bu(t)?64:de(t)?4:te(t)?2:0;return pe(t,e,n,r,s,c,o,!0)}function As(t){return t?Ho(t)||lr in t?ve({},t):t:null}function gt(t,e,n=!1){const{props:r,ref:s,patchFlag:o,children:c}=t,i=e?Ic(r||{},e):r;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:i,key:i&&Nc(i),ref:e&&e.ref?n&&s?J(s)?s.concat(ur(e)):[s,ur(e)]:ur(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:c,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ce?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&>(t.ssContent),ssFallback:t.ssFallback&>(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function Cs(t=" ",e=0){return ge(ir,null,t,e)}function Oe(t="",e=!1){return e?(K(),be(He,null,t)):ge(He,null,t)}function We(t){return t==null||typeof t=="boolean"?ge(He):J(t)?ge(Ce,null,t.slice()):typeof t=="object"?mt(t):ge(ir,null,String(t))}function mt(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:gt(t)}function Ss(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(J(e))n=16;else if(typeof e=="object")if(r&65){const s=e.default;s&&(s._c&&(s._d=!1),Ss(t,s()),s._c&&(s._d=!0));return}else{n=32;const s=e._;!s&&!(lr in e)?e._ctx=ye:s===3&&ye&&(ye.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else te(e)?(e={default:e,_ctx:ye},n=32):(e=String(e),r&64?(n=16,e=[Cs(e)]):n=8);t.children=e,t.shapeFlag|=n}function Ic(...t){const e={};for(let n=0;n<t.length;n++){const r=t[n];for(const s in r)if(s==="class")e.class!==r.class&&(e.class=jt([e.class,r.class]));else if(s==="style")e.style=un([e.style,r.style]);else if(On(s)){const o=e[s],c=r[s];c&&o!==c&&!(J(o)&&o.includes(c))&&(e[s]=o?[].concat(o,c):c)}else s!==""&&(e[s]=r[s])}return e}function Je(t,e,n,r=null){$e(t,e,7,[n,r])}const Uu=vc();let zu=0;function Hu(t,e,n){const r=t.type,s=(e?e.appContext:t.appContext)||Uu,o={uid:zu++,vnode:t,type:r,parent:e,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new ll(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:xc(r,s),emitsOptions:ec(r,s),emit:null,emitted:null,propsDefaults:he,inheritAttrs:r.inheritAttrs,ctx:he,data:he,props:he,attrs:he,slots:he,refs:he,setupState:he,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=e?e.root:o,o.emit=Wl.bind(null,o),t.ce&&t.ce(o),o}let we=null;const Vu=()=>we||ye;let fr,Ts;{const t=xo(),e=(n,r)=>{let s;return(s=t[n])||(s=t[n]=[]),s.push(r),o=>{s.length>1?s.forEach(c=>c(o)):s[0](o)}};fr=e("__VUE_INSTANCE_SETTERS__",n=>we=n),Ts=e("__VUE_SSR_SETTERS__",n=>pr=n)}const wn=t=>{const e=we;return fr(t),t.scope.on(),()=>{t.scope.off(),fr(e)}},Mc=()=>{we&&we.scope.off(),fr(null)};function Oc(t){return t.vnode.shapeFlag&4}let pr=!1;function Gu(t,e=!1){e&&Ts(e);const{props:n,children:r}=t.vnode,s=Oc(t);Du(t,n,s,e),qu(t,r);const o=s?ju(t,e):void 0;return e&&Ts(!1),o}function ju(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=Vo(new Proxy(t.ctx,yu));const{setup:r}=n;if(r){const s=t.setupContext=r.length>1?Zu(t):null,o=wn(t);lt();const c=rt(r,t,0,[t.props,s]);if(ut(),o(),bo(c)){if(c.then(Mc,Mc),e)return c.then(i=>{Fc(t,i,e)}).catch(i=>{Yn(i,t,0)});t.asyncDep=c}else Fc(t,c,e)}else Pc(t,e)}function Fc(t,e,n){te(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:de(e)&&(t.setupState=Ko(e)),Pc(t,n)}let Bc;function Pc(t,e,n){const r=t.type;if(!t.render){if(!e&&Bc&&!r.render){const s=r.template||_s(t).template;if(s){const{isCustomElement:o,compilerOptions:c}=t.appContext.config,{delimiters:i,compilerOptions:a}=r,l=ve(ve({isCustomElement:o,delimiters:i},c),a);r.render=Bc(s,l)}}t.render=r.render||Pe}{const s=wn(t);lt();try{xu(t)}finally{ut(),s()}}}function Ku(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,n){return qe(t,"get","$attrs"),e[n]}}))}function Zu(t){const e=n=>{t.exposed=n||{}};return{get attrs(){return Ku(t)},slots:t.slots,emit:t.emit,expose:e}}function hr(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Ko(Vo(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in bn)return bn[n](t)},has(e,n){return n in e||n in bn}}))}const Wu=/(?:^|[-_])(\w)/g,Ju=t=>t.replace(Wu,e=>e.toUpperCase()).replace(/[-_]/g,"");function $c(t,e=!0){return te(t)?t.displayName||t.name:t.name||e&&t.__name}function Uc(t,e,n=!1){let r=$c(e);if(!r&&e.__file){const s=e.__file.match(/([^/\\]+)\.\w+$/);s&&(r=s[1])}if(!r&&t&&t.parent){const s=o=>{for(const c in o)if(o[c]===e)return c};r=s(t.components||t.parent.type.components)||s(t.appContext.components)}return r?Ju(r):n?"App":"Anonymous"}function Yu(t){return te(t)&&"__vccOpts"in t}const Re=(t,e)=>Nl(t,e,pr);function zc(t,e,n){const r=arguments.length;return r===2?de(e)&&!J(e)?ar(e)?ge(t,null,[e]):ge(t,e):ge(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ar(n)&&(n=[n]),ge(t,e,n))}const Xu="3.4.21";/**
|
|
15
|
+
`,...zl(s)),console.warn(...o)}ut()}function Ul(){let t=hn[hn.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const r=t.component&&t.component.parent;t=r&&r.vnode}return e}function zl(t){const e=[];return t.forEach((n,r)=>{e.push(...r===0?[]:[`
|
|
16
|
+
`],...Hl(n))}),e}function Hl({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",r=t.component?t.component.parent==null:!1,s=` at <${Uc(t.component,t.type,r)}`,o=">"+n;return t.props?[s,...Vl(t.props),o]:[s+o]}function Vl(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(r=>{e.push(...Zo(r,t[r]))}),n.length>3&&e.push(" ..."),e}function Zo(t,e,n){return me(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:xe(e)?(e=Zo(t,ie(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):te(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=ie(e),n?e:[`${t}=`,e])}function rt(t,e,n,r){try{return r?t(...r):t()}catch(s){Yn(s,e,n)}}function $e(t,e,n,r){if(te(t)){const o=rt(t,e,n,r);return o&&bo(o)&&o.catch(c=>{Yn(c,e,n)}),o}const s=[];for(let o=0;o<t.length;o++)s.push($e(t[o],e,n,r));return s}function Yn(t,e,n,r=!0){const s=e?e.vnode:null;if(e){let o=e.parent;const c=e.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const l=o.ec;if(l){for(let u=0;u<l.length;u++)if(l[u](t,c,i)===!1)return}o=o.parent}const a=e.appContext.config.errorHandler;if(a){rt(a,null,10,[t,c,i]);return}}Gl(t,n,s,r)}function Gl(t,e,n,r=!0){console.error(t)}let dn=!1,cs=!1;const Ae=[];let Ze=0;const Wt=[];let pt=null,Ct=0;const Wo=Promise.resolve();let is=null;function Jt(t){const e=is||Wo;return t?e.then(this?t.bind(this):t):e}function jl(t){let e=Ze+1,n=Ae.length;for(;e<n;){const r=e+n>>>1,s=Ae[r],o=gn(s);o<t||o===t&&s.pre?e=r+1:n=r}return e}function as(t){(!Ae.length||!Ae.includes(t,dn&&t.allowRecurse?Ze+1:Ze))&&(t.id==null?Ae.push(t):Ae.splice(jl(t.id),0,t),Jo())}function Jo(){!dn&&!cs&&(cs=!0,is=Wo.then(Qo))}function Kl(t){const e=Ae.indexOf(t);e>Ze&&Ae.splice(e,1)}function Zl(t){J(t)?Wt.push(...t):(!pt||!pt.includes(t,t.allowRecurse?Ct+1:Ct))&&Wt.push(t),Jo()}function Yo(t,e,n=dn?Ze+1:0){for(;n<Ae.length;n++){const r=Ae[n];if(r&&r.pre){if(t&&r.id!==t.uid)continue;Ae.splice(n,1),n--,r()}}}function Xo(t){if(Wt.length){const e=[...new Set(Wt)].sort((n,r)=>gn(n)-gn(r));if(Wt.length=0,pt){pt.push(...e);return}for(pt=e,Ct=0;Ct<pt.length;Ct++)pt[Ct]();pt=null,Ct=0}}const gn=t=>t.id==null?1/0:t.id,Wl=(t,e)=>{const n=gn(t)-gn(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function Qo(t){cs=!1,dn=!0,Ae.sort(Wl);try{for(Ze=0;Ze<Ae.length;Ze++){const e=Ae[Ze];e&&e.active!==!1&&rt(e,null,14)}}finally{Ze=0,Ae.length=0,Xo(),dn=!1,is=null,(Ae.length||Wt.length)&&Qo()}}function Jl(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||he;let s=n;const o=e.startsWith("update:"),c=o&&e.slice(7);if(c&&c in r){const u=`${c==="modelValue"?"model":c}Modifiers`,{number:f,trim:p}=r[u]||he;p&&(s=n.map(d=>me(d)?d.trim():d)),f&&(s=n.map(Gr))}let i,a=r[i=Vr(e)]||r[i=Vr(Ke(e))];!a&&o&&(a=r[i=Vr(Et(e))]),a&&$e(a,t,6,s);const l=r[i+"Once"];if(l){if(!t.emitted)t.emitted={};else if(t.emitted[i])return;t.emitted[i]=!0,$e(l,t,6,s)}}function ec(t,e,n=!1){const r=e.emitsCache,s=r.get(t);if(s!==void 0)return s;const o=t.emits;let c={},i=!1;if(!te(t)){const a=l=>{const u=ec(l,e,!0);u&&(i=!0,ve(c,u))};!n&&e.mixins.length&&e.mixins.forEach(a),t.extends&&a(t.extends),t.mixins&&t.mixins.forEach(a)}return!o&&!i?(de(t)&&r.set(t,null),null):(J(o)?o.forEach(a=>c[a]=null):ve(c,o),de(t)&&r.set(t,c),c)}function Xn(t,e){return!t||!On(e)?!1:(e=e.slice(2).replace(/Once$/,""),ae(t,e[0].toLowerCase()+e.slice(1))||ae(t,Et(e))||ae(t,e))}let ye=null,tc=null;function Qn(t){const e=ye;return ye=t,tc=t&&t.type.__scopeId||null,e}function st(t,e=ye,n){if(!e||t._n)return t;const r=(...s)=>{r._d&&Lc(-1);const o=Qn(e);let c;try{c=t(...s)}finally{Qn(o),r._d&&Lc(1)}return c};return r._n=!0,r._c=!0,r._d=!0,r}function Db(){}function ls(t){const{type:e,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[c],slots:i,attrs:a,emit:l,render:u,renderCache:f,data:p,setupState:d,ctx:m,inheritAttrs:b}=t;let R,T;const D=Qn(t);try{if(n.shapeFlag&4){const B=s||r,P=B;R=We(u.call(P,B,f,o,d,p,m)),T=a}else{const B=e;R=We(B.length>1?B(o,{attrs:a,slots:i,emit:l}):B(o,null)),T=e.props?a:Yl(a)}}catch(B){yn.length=0,Yn(B,t,1),R=ge(He)}let N=R;if(T&&b!==!1){const B=Object.keys(T),{shapeFlag:P}=N;B.length&&P&7&&(c&&B.some(Ur)&&(T=Xl(T,c)),N=gt(N,T))}return n.dirs&&(N=gt(N),N.dirs=N.dirs?N.dirs.concat(n.dirs):n.dirs),n.transition&&(N.transition=n.transition),R=N,Qn(D),R}const Yl=t=>{let e;for(const n in t)(n==="class"||n==="style"||On(n))&&((e||(e={}))[n]=t[n]);return e},Xl=(t,e)=>{const n={};for(const r in t)(!Ur(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function Ql(t,e,n){const{props:r,children:s,component:o}=t,{props:c,children:i,patchFlag:a}=e,l=o.emitsOptions;if(e.dirs||e.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?nc(r,c,l):!!c;if(a&8){const u=e.dynamicProps;for(let f=0;f<u.length;f++){const p=u[f];if(c[p]!==r[p]&&!Xn(l,p))return!0}}}else return(s||i)&&(!i||!i.$stable)?!0:r===c?!1:r?c?nc(r,c,l):!0:!!c;return!1}function nc(t,e,n){const r=Object.keys(e);if(r.length!==Object.keys(t).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(e[o]!==t[o]&&!Xn(n,o))return!0}return!1}function eu({vnode:t,parent:e},n){for(;e;){const r=e.subTree;if(r.suspense&&r.suspense.activeBranch===t&&(r.el=t.el),r===t)(t=e.vnode).el=n,e=e.parent;else break}}const tu="components",rc=Symbol.for("v-ndc");function nu(t){return me(t)?ru(tu,t,!1)||t:t||rc}function ru(t,e,n=!0,r=!1){const s=ye||we;if(s){const o=s.type;{const i=$c(o,!1);if(i&&(i===e||i===Ke(e)||i===Pn(Ke(e))))return o}const c=sc(s[t]||o[t],e)||sc(s.appContext[t],e);return!c&&r?o:c}}function sc(t,e){return t&&(t[e]||t[Ke(e)]||t[Pn(Ke(e))])}const su=t=>t.__isSuspense;function ou(t,e){e&&e.pendingBranch?J(t)?e.effects.push(...t):e.effects.push(t):Zl(t)}const cu=Symbol.for("v-scx"),iu=()=>Yt(cu),er={};function tr(t,e,n){return oc(t,e,n)}function oc(t,e,{immediate:n,deep:r,flush:s,once:o,onTrack:c,onTrigger:i}=he){if(e&&o){const y=e;e=(...W)=>{y(...W),P()}}const a=we,l=y=>r===!0?y:St(y,r===!1?1:void 0);let u,f=!1,p=!1;if(xe(t)?(u=()=>t.value,f=Wn(t)):Kt(t)?(u=()=>l(t),f=!0):J(t)?(p=!0,f=t.some(y=>Kt(y)||Wn(y)),u=()=>t.map(y=>{if(xe(y))return y.value;if(Kt(y))return l(y);if(te(y))return rt(y,a,2)})):te(t)?e?u=()=>rt(t,a,2):u=()=>(d&&d(),$e(t,a,3,[m])):u=Pe,e&&r){const y=u;u=()=>St(y())}let d,m=y=>{d=N.onStop=()=>{rt(y,a,4),d=N.onStop=void 0}},b;if(pr)if(m=Pe,e?n&&$e(e,a,3,[u(),p?[]:void 0,m]):u(),s==="sync"){const y=iu();b=y.__watcherHandles||(y.__watcherHandles=[])}else return Pe;let R=p?new Array(t.length).fill(er):er;const T=()=>{if(!(!N.active||!N.dirty))if(e){const y=N.run();(r||f||(p?y.some((W,$)=>it(W,R[$])):it(y,R)))&&(d&&d(),$e(e,a,3,[y,R===er?void 0:p&&R[0]===er?[]:R,m]),R=y)}else N.run()};T.allowRecurse=!!e;let D;s==="sync"?D=T:s==="post"?D=()=>Ne(T,a&&a.suspense):(T.pre=!0,a&&(T.id=a.uid),D=()=>as(T));const N=new Zr(u,Pe,D),B=ko(),P=()=>{N.stop(),B&&zr(B.effects,N)};return e?n?T():R=N.run():s==="post"?Ne(N.run.bind(N),a&&a.suspense):N.run(),b&&b.push(P),P}function au(t,e,n){const r=this.proxy,s=me(t)?t.includes(".")?cc(r,t):()=>r[t]:t.bind(r,r);let o;te(e)?o=e:(o=e.handler,n=e);const c=wn(this),i=oc(s,o.bind(r),n);return c(),i}function cc(t,e){const n=e.split(".");return()=>{let r=t;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function St(t,e,n=0,r){if(!de(t)||t.__v_skip)return t;if(e&&e>0){if(n>=e)return t;n++}if(r=r||new Set,r.has(t))return t;if(r.add(t),xe(t))St(t.value,e,n,r);else if(J(t))for(let s=0;s<t.length;s++)St(t[s],e,n,r);else if(mo(t)||Vt(t))t.forEach(s=>{St(s,e,n,r)});else if(vo(t))for(const s in t)St(t[s],e,n,r);return t}function ic(t,e){if(ye===null)return t;const n=hr(ye)||ye.proxy,r=t.dirs||(t.dirs=[]);for(let s=0;s<e.length;s++){let[o,c,i,a=he]=e[s];o&&(te(o)&&(o={mounted:o,updated:o}),o.deep&&St(c),r.push({dir:o,instance:n,value:c,oldValue:void 0,arg:i,modifiers:a}))}return t}function Tt(t,e,n,r){const s=t.dirs,o=e&&e.dirs;for(let c=0;c<s.length;c++){const i=s[c];o&&(i.oldValue=o[c].value);let a=i.dir[r];a&&(lt(),$e(a,n,8,[t.el,i,t,e]),ut())}}const ht=Symbol("_leaveCb"),nr=Symbol("_enterCb");function lu(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return dt(()=>{t.isMounted=!0}),hs(()=>{t.isUnmounting=!0}),t}const Ue=[Function,Array],ac={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ue,onEnter:Ue,onAfterEnter:Ue,onEnterCancelled:Ue,onBeforeLeave:Ue,onLeave:Ue,onAfterLeave:Ue,onLeaveCancelled:Ue,onBeforeAppear:Ue,onAppear:Ue,onAfterAppear:Ue,onAppearCancelled:Ue},uu={name:"BaseTransition",props:ac,setup(t,{slots:e}){const n=Gu(),r=lu();return()=>{const s=e.default&&fc(e.default(),!0);if(!s||!s.length)return;let o=s[0];if(s.length>1){for(const p of s)if(p.type!==He){o=p;break}}const c=ie(t),{mode:i}=c;if(r.isLeaving)return fs(o);const a=uc(o);if(!a)return fs(o);const l=us(a,c,r,n);ps(a,l);const u=n.subTree,f=u&&uc(u);if(f&&f.type!==He&&!Lt(a,f)){const p=us(f,c,r,n);if(ps(f,p),i==="out-in")return r.isLeaving=!0,p.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},fs(o);i==="in-out"&&a.type!==He&&(p.delayLeave=(d,m,b)=>{const R=lc(r,f);R[String(f.key)]=f,d[ht]=()=>{m(),d[ht]=void 0,delete l.delayedLeave},l.delayedLeave=b})}return o}}};function lc(t,e){const{leavingVNodes:n}=t;let r=n.get(e.type);return r||(r=Object.create(null),n.set(e.type,r)),r}function us(t,e,n,r){const{appear:s,mode:o,persisted:c=!1,onBeforeEnter:i,onEnter:a,onAfterEnter:l,onEnterCancelled:u,onBeforeLeave:f,onLeave:p,onAfterLeave:d,onLeaveCancelled:m,onBeforeAppear:b,onAppear:R,onAfterAppear:T,onAppearCancelled:D}=e,N=String(t.key),B=lc(n,t),P=($,Q)=>{$&&$e($,r,9,Q)},y=($,Q)=>{const z=Q[1];P($,Q),J($)?$.every(ce=>ce.length<=1)&&z():$.length<=1&&z()},W={mode:o,persisted:c,beforeEnter($){let Q=i;if(!n.isMounted)if(s)Q=b||i;else return;$[ht]&&$[ht](!0);const z=B[N];z&&Lt(t,z)&&z.el[ht]&&z.el[ht](),P(Q,[$])},enter($){let Q=a,z=l,ce=u;if(!n.isMounted)if(s)Q=R||a,z=T||l,ce=D||u;else return;let L=!1;const ee=$[nr]=A=>{L||(L=!0,A?P(ce,[$]):P(z,[$]),W.delayedLeave&&W.delayedLeave(),$[nr]=void 0)};Q?y(Q,[$,ee]):ee()},leave($,Q){const z=String(t.key);if($[nr]&&$[nr](!0),n.isUnmounting)return Q();P(f,[$]);let ce=!1;const L=$[ht]=ee=>{ce||(ce=!0,Q(),ee?P(m,[$]):P(d,[$]),$[ht]=void 0,B[z]===t&&delete B[z])};B[z]=t,p?y(p,[$,L]):L()},clone($){return us($,e,n,r)}};return W}function fs(t){if(rr(t))return t=gt(t),t.children=null,t}function uc(t){return rr(t)?t.children?t.children[0]:void 0:t}function ps(t,e){t.shapeFlag&6&&t.component?ps(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function fc(t,e=!1,n){let r=[],s=0;for(let o=0;o<t.length;o++){let c=t[o];const i=n==null?c.key:String(n)+String(c.key!=null?c.key:o);c.type===Ce?(c.patchFlag&128&&s++,r=r.concat(fc(c.children,e,i))):(e||c.type!==He)&&r.push(i!=null?gt(c,{key:i}):c)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function ze(t,e){return te(t)?ve({name:t.name},e,{setup:t}):t}const mn=t=>!!t.type.__asyncLoader,rr=t=>t.type.__isKeepAlive;function fu(t,e){pc(t,"a",e)}function pu(t,e){pc(t,"da",e)}function pc(t,e,n=we){const r=t.__wdc||(t.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return t()});if(sr(e,r,n),n){let s=n.parent;for(;s&&s.parent;)rr(s.parent.vnode)&&hu(r,e,n,s),s=s.parent}}function hu(t,e,n,r){const s=sr(e,t,r,!0);ds(()=>{zr(r[e],s)},n)}function sr(t,e,n=we,r=!1){if(n){const s=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...c)=>{if(n.isUnmounted)return;lt();const i=wn(n),a=$e(e,n,t,c);return i(),ut(),a});return r?s.unshift(o):s.push(o),o}}const ot=t=>(e,n=we)=>(!pr||t==="sp")&&sr(t,(...r)=>e(...r),n),du=ot("bm"),dt=ot("m"),gu=ot("bu"),mu=ot("u"),hs=ot("bum"),ds=ot("um"),bu=ot("sp"),_u=ot("rtg"),vu=ot("rtc");function yu(t,e=we){sr("ec",t,e)}function or(t,e,n,r){let s;const o=n;if(J(t)||me(t)){s=new Array(t.length);for(let c=0,i=t.length;c<i;c++)s[c]=e(t[c],c,void 0,o)}else if(typeof t=="number"){s=new Array(t);for(let c=0;c<t;c++)s[c]=e(c+1,c,void 0,o)}else if(de(t))if(t[Symbol.iterator])s=Array.from(t,(c,i)=>e(c,i,void 0,o));else{const c=Object.keys(t);s=new Array(c.length);for(let i=0,a=c.length;i<a;i++){const l=c[i];s[i]=e(t[l],l,i,o)}}else s=[];return s}function Dt(t,e,n={},r,s){if(ye.isCE||ye.parent&&mn(ye.parent)&&ye.parent.isCE)return e!=="default"&&(n.name=e),ge("slot",n,r&&r());let o=t[e];o&&o._c&&(o._d=!1),K();const c=o&&hc(o(n)),i=be(Ce,{key:n.key||c&&c.key||`_${e}`},c||(r?r():[]),c&&t._===1?64:-2);return i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),o&&o._c&&(o._d=!0),i}function hc(t){return t.some(e=>ar(e)?!(e.type===He||e.type===Ce&&!hc(e.children)):!0)?t:null}const gs=t=>t?Oc(t)?hr(t)||t.proxy:gs(t.parent):null,bn=ve(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>gs(t.parent),$root:t=>gs(t.root),$emit:t=>t.emit,$options:t=>_s(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,as(t.update)}),$nextTick:t=>t.n||(t.n=Jt.bind(t.proxy)),$watch:t=>au.bind(t)}),ms=(t,e)=>t!==he&&!t.__isScriptSetup&&ae(t,e),xu={get({_:t},e){const{ctx:n,setupState:r,data:s,props:o,accessCache:c,type:i,appContext:a}=t;let l;if(e[0]!=="$"){const d=c[e];if(d!==void 0)switch(d){case 1:return r[e];case 2:return s[e];case 4:return n[e];case 3:return o[e]}else{if(ms(r,e))return c[e]=1,r[e];if(s!==he&&ae(s,e))return c[e]=2,s[e];if((l=t.propsOptions[0])&&ae(l,e))return c[e]=3,o[e];if(n!==he&&ae(n,e))return c[e]=4,n[e];bs&&(c[e]=0)}}const u=bn[e];let f,p;if(u)return e==="$attrs"&&qe(t,"get",e),u(t);if((f=i.__cssModules)&&(f=f[e]))return f;if(n!==he&&ae(n,e))return c[e]=4,n[e];if(p=a.config.globalProperties,ae(p,e))return p[e]},set({_:t},e,n){const{data:r,setupState:s,ctx:o}=t;return ms(s,e)?(s[e]=n,!0):r!==he&&ae(r,e)?(r[e]=n,!0):ae(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(o[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:r,appContext:s,propsOptions:o}},c){let i;return!!n[c]||t!==he&&ae(t,c)||ms(e,c)||(i=o[0])&&ae(i,c)||ae(r,c)||ae(bn,c)||ae(s.config.globalProperties,c)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:ae(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function dc(t){return J(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let bs=!0;function wu(t){const e=_s(t),n=t.proxy,r=t.ctx;bs=!1,e.beforeCreate&&gc(e.beforeCreate,t,"bc");const{data:s,computed:o,methods:c,watch:i,provide:a,inject:l,created:u,beforeMount:f,mounted:p,beforeUpdate:d,updated:m,activated:b,deactivated:R,beforeDestroy:T,beforeUnmount:D,destroyed:N,unmounted:B,render:P,renderTracked:y,renderTriggered:W,errorCaptured:$,serverPrefetch:Q,expose:z,inheritAttrs:ce,components:L,directives:ee,filters:A}=e;if(l&&Eu(l,r,null),c)for(const v in c){const C=c[v];te(C)&&(r[v]=C.bind(n))}if(s){const v=s.call(n,n);de(v)&&(t.data=ns(v))}if(bs=!0,o)for(const v in o){const C=o[v],j=te(C)?C.bind(n,n):te(C.get)?C.get.bind(n,n):Pe,ne=!te(C)&&te(C.set)?C.set.bind(n):Pe,se=Re({get:j,set:ne});Object.defineProperty(r,v,{enumerable:!0,configurable:!0,get:()=>se.value,set:ue=>se.value=ue})}if(i)for(const v in i)mc(i[v],r,n,v);if(a){const v=te(a)?a.call(n):a;Reflect.ownKeys(v).forEach(C=>{Du(C,v[C])})}u&&gc(u,t,"c");function F(v,C){J(C)?C.forEach(j=>v(j.bind(n))):C&&v(C.bind(n))}if(F(du,f),F(dt,p),F(gu,d),F(mu,m),F(fu,b),F(pu,R),F(yu,$),F(vu,y),F(_u,W),F(hs,D),F(ds,B),F(bu,Q),J(z))if(z.length){const v=t.exposed||(t.exposed={});z.forEach(C=>{Object.defineProperty(v,C,{get:()=>n[C],set:j=>n[C]=j})})}else t.exposed||(t.exposed={});P&&t.render===Pe&&(t.render=P),ce!=null&&(t.inheritAttrs=ce),L&&(t.components=L),ee&&(t.directives=ee)}function Eu(t,e,n=Pe){J(t)&&(t=vs(t));for(const r in t){const s=t[r];let o;de(s)?"default"in s?o=Yt(s.from||r,s.default,!0):o=Yt(s.from||r):o=Yt(s),xe(o)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:c=>o.value=c}):e[r]=o}}function gc(t,e,n){$e(J(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function mc(t,e,n,r){const s=r.includes(".")?cc(n,r):()=>n[r];if(me(t)){const o=e[t];te(o)&&tr(s,o)}else if(te(t))tr(s,t.bind(n));else if(de(t))if(J(t))t.forEach(o=>mc(o,e,n,r));else{const o=te(t.handler)?t.handler.bind(n):e[t.handler];te(o)&&tr(s,o,t)}}function _s(t){const e=t.type,{mixins:n,extends:r}=e,{mixins:s,optionsCache:o,config:{optionMergeStrategies:c}}=t.appContext,i=o.get(e);let a;return i?a=i:!s.length&&!n&&!r?a=e:(a={},s.length&&s.forEach(l=>cr(a,l,c,!0)),cr(a,e,c)),de(e)&&o.set(e,a),a}function cr(t,e,n,r=!1){const{mixins:s,extends:o}=e;o&&cr(t,o,n,!0),s&&s.forEach(c=>cr(t,c,n,!0));for(const c in e)if(!(r&&c==="expose")){const i=ku[c]||n&&n[c];t[c]=i?i(t[c],e[c]):e[c]}return t}const ku={data:bc,props:_c,emits:_c,methods:_n,computed:_n,beforeCreate:De,created:De,beforeMount:De,mounted:De,beforeUpdate:De,updated:De,beforeDestroy:De,beforeUnmount:De,destroyed:De,unmounted:De,activated:De,deactivated:De,errorCaptured:De,serverPrefetch:De,components:_n,directives:_n,watch:Cu,provide:bc,inject:Au};function bc(t,e){return e?t?function(){return ve(te(t)?t.call(this,this):t,te(e)?e.call(this,this):e)}:e:t}function Au(t,e){return _n(vs(t),vs(e))}function vs(t){if(J(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function De(t,e){return t?[...new Set([].concat(t,e))]:e}function _n(t,e){return t?ve(Object.create(null),t,e):e}function _c(t,e){return t?J(t)&&J(e)?[...new Set([...t,...e])]:ve(Object.create(null),dc(t),dc(e??{})):e}function Cu(t,e){if(!t)return e;if(!e)return t;const n=ve(Object.create(null),t);for(const r in e)n[r]=De(t[r],e[r]);return n}function vc(){return{app:null,config:{isNativeTag:Qa,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 Su=0;function Tu(t,e){return function(r,s=null){te(r)||(r=ve({},r)),s!=null&&!de(s)&&(s=null);const o=vc(),c=new WeakSet;let i=!1;const a=o.app={_uid:Su++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Qu,get config(){return o.config},set config(l){},use(l,...u){return c.has(l)||(l&&te(l.install)?(c.add(l),l.install(a,...u)):te(l)&&(c.add(l),l(a,...u))),a},mixin(l){return o.mixins.includes(l)||o.mixins.push(l),a},component(l,u){return u?(o.components[l]=u,a):o.components[l]},directive(l,u){return u?(o.directives[l]=u,a):o.directives[l]},mount(l,u,f){if(!i){const p=ge(r,s);return p.appContext=o,f===!0?f="svg":f===!1&&(f=void 0),u&&e?e(p,l):t(p,l,f),i=!0,a._container=l,l.__vue_app__=a,hr(p.component)||p.component.proxy}},unmount(){i&&(t(null,a._container),delete a._container.__vue_app__)},provide(l,u){return o.provides[l]=u,a},runWithContext(l){const u=vn;vn=a;try{return l()}finally{vn=u}}};return a}}let vn=null;function Du(t,e){if(we){let n=we.provides;const r=we.parent&&we.parent.provides;r===n&&(n=we.provides=Object.create(r)),n[t]=e}}function Yt(t,e,n=!1){const r=we||ye;if(r||vn){const s=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:vn._context.provides;if(s&&t in s)return s[t];if(arguments.length>1)return n&&te(e)?e.call(r&&r.proxy):e}}function Ru(t,e,n,r=!1){const s={},o={};Un(o,lr,1),t.propsDefaults=Object.create(null),yc(t,e,s,o);for(const c in t.propsOptions[0])c in s||(s[c]=void 0);n?t.props=r?s:Nl(s):t.type.props?t.props=s:t.props=o,t.attrs=o}function Lu(t,e,n,r){const{props:s,attrs:o,vnode:{patchFlag:c}}=t,i=ie(s),[a]=t.propsOptions;let l=!1;if((r||c>0)&&!(c&16)){if(c&8){const u=t.vnode.dynamicProps;for(let f=0;f<u.length;f++){let p=u[f];if(Xn(t.emitsOptions,p))continue;const d=e[p];if(a)if(ae(o,p))d!==o[p]&&(o[p]=d,l=!0);else{const m=Ke(p);s[m]=ys(a,i,m,d,t,!1)}else d!==o[p]&&(o[p]=d,l=!0)}}}else{yc(t,e,s,o)&&(l=!0);let u;for(const f in i)(!e||!ae(e,f)&&((u=Et(f))===f||!ae(e,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(s[f]=ys(a,i,f,void 0,t,!0)):delete s[f]);if(o!==i)for(const f in o)(!e||!ae(e,f))&&(delete o[f],l=!0)}l&&nt(t,"set","$attrs")}function yc(t,e,n,r){const[s,o]=t.propsOptions;let c=!1,i;if(e)for(let a in e){if(ln(a))continue;const l=e[a];let u;s&&ae(s,u=Ke(a))?!o||!o.includes(u)?n[u]=l:(i||(i={}))[u]=l:Xn(t.emitsOptions,a)||(!(a in r)||l!==r[a])&&(r[a]=l,c=!0)}if(o){const a=ie(n),l=i||he;for(let u=0;u<o.length;u++){const f=o[u];n[f]=ys(s,a,f,l[f],t,!ae(l,f))}}return c}function ys(t,e,n,r,s,o){const c=t[n];if(c!=null){const i=ae(c,"default");if(i&&r===void 0){const a=c.default;if(c.type!==Function&&!c.skipFactory&&te(a)){const{propsDefaults:l}=s;if(n in l)r=l[n];else{const u=wn(s);r=l[n]=a.call(null,e),u()}}else r=a}c[0]&&(o&&!i?r=!1:c[1]&&(r===""||r===Et(n))&&(r=!0))}return r}function xc(t,e,n=!1){const r=e.propsCache,s=r.get(t);if(s)return s;const o=t.props,c={},i=[];let a=!1;if(!te(t)){const u=f=>{a=!0;const[p,d]=xc(f,e,!0);ve(c,p),d&&i.push(...d)};!n&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}if(!o&&!a)return de(t)&&r.set(t,Ht),Ht;if(J(o))for(let u=0;u<o.length;u++){const f=Ke(o[u]);wc(f)&&(c[f]=he)}else if(o)for(const u in o){const f=Ke(u);if(wc(f)){const p=o[u],d=c[f]=J(p)||te(p)?{type:p}:ve({},p);if(d){const m=Ac(Boolean,d.type),b=Ac(String,d.type);d[0]=m>-1,d[1]=b<0||m<b,(m>-1||ae(d,"default"))&&i.push(f)}}}const l=[c,i];return de(t)&&r.set(t,l),l}function wc(t){return t[0]!=="$"&&!ln(t)}function Ec(t){return t===null?"null":typeof t=="function"?t.name||"":typeof t=="object"&&t.constructor&&t.constructor.name||""}function kc(t,e){return Ec(t)===Ec(e)}function Ac(t,e){return J(e)?e.findIndex(n=>kc(n,t)):te(e)&&kc(e,t)?0:-1}const Cc=t=>t[0]==="_"||t==="$stable",xs=t=>J(t)?t.map(We):[We(t)],qu=(t,e,n)=>{if(e._n)return e;const r=st((...s)=>xs(e(...s)),n);return r._c=!1,r},Sc=(t,e,n)=>{const r=t._ctx;for(const s in t){if(Cc(s))continue;const o=t[s];if(te(o))e[s]=qu(s,o,r);else if(o!=null){const c=xs(o);e[s]=()=>c}}},Tc=(t,e)=>{const n=xs(e);t.slots.default=()=>n},Nu=(t,e)=>{if(t.vnode.shapeFlag&32){const n=e._;n?(t.slots=ie(e),Un(e,"_",n)):Sc(e,t.slots={})}else t.slots={},e&&Tc(t,e);Un(t.slots,lr,1)},Iu=(t,e,n)=>{const{vnode:r,slots:s}=t;let o=!0,c=he;if(r.shapeFlag&32){const i=e._;i?n&&i===1?o=!1:(ve(s,e),!n&&i===1&&delete s._):(o=!e.$stable,Sc(e,s)),c=e}else e&&(Tc(t,e),c={default:1});if(o)for(const i in s)!Cc(i)&&c[i]==null&&delete s[i]};function ws(t,e,n,r,s=!1){if(J(t)){t.forEach((p,d)=>ws(p,e&&(J(e)?e[d]:e),n,r,s));return}if(mn(r)&&!s)return;const o=r.shapeFlag&4?hr(r.component)||r.component.proxy:r.el,c=s?null:o,{i,r:a}=t,l=e&&e.r,u=i.refs===he?i.refs={}:i.refs,f=i.setupState;if(l!=null&&l!==a&&(me(l)?(u[l]=null,ae(f,l)&&(f[l]=null)):xe(l)&&(l.value=null)),te(a))rt(a,i,12,[c,u]);else{const p=me(a),d=xe(a);if(p||d){const m=()=>{if(t.f){const b=p?ae(f,a)?f[a]:u[a]:a.value;s?J(b)&&zr(b,o):J(b)?b.includes(o)||b.push(o):p?(u[a]=[o],ae(f,a)&&(f[a]=u[a])):(a.value=[o],t.k&&(u[t.k]=a.value))}else p?(u[a]=c,ae(f,a)&&(f[a]=c)):d&&(a.value=c,t.k&&(u[t.k]=c))};c?(m.id=-1,Ne(m,n)):m()}}}const Ne=ou;function Mu(t){return Ou(t)}function Ou(t,e){const n=xo();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:c,createText:i,createComment:a,setText:l,setElementText:u,parentNode:f,nextSibling:p,setScopeId:d=Pe,insertStaticContent:m}=t,b=(h,g,_,E=null,S=null,M=null,w=void 0,I=null,q=!!g.dynamicChildren)=>{if(h===g)return;h&&!Lt(h,g)&&(E=Pt(h),ue(h,S,M,!0),h=null),g.patchFlag===-2&&(q=!1,g.dynamicChildren=null);const{type:x,ref:U,shapeFlag:V}=g;switch(x){case ir:R(h,g,_,E);break;case He:T(h,g,_,E);break;case ks:h==null&&D(g,_,E,w);break;case Ce:L(h,g,_,E,S,M,w,I,q);break;default:V&1?P(h,g,_,E,S,M,w,I,q):V&6?ee(h,g,_,E,S,M,w,I,q):(V&64||V&128)&&x.process(h,g,_,E,S,M,w,I,q,$t)}U!=null&&S&&ws(U,h&&h.ref,M,g||h,!g)},R=(h,g,_,E)=>{if(h==null)r(g.el=i(g.children),_,E);else{const S=g.el=h.el;g.children!==h.children&&l(S,g.children)}},T=(h,g,_,E)=>{h==null?r(g.el=a(g.children||""),_,E):g.el=h.el},D=(h,g,_,E)=>{[h.el,h.anchor]=m(h.children,g,_,E,h.el,h.anchor)},N=({el:h,anchor:g},_,E)=>{let S;for(;h&&h!==g;)S=p(h),r(h,_,E),h=S;r(g,_,E)},B=({el:h,anchor:g})=>{let _;for(;h&&h!==g;)_=p(h),s(h),h=_;s(g)},P=(h,g,_,E,S,M,w,I,q)=>{g.type==="svg"?w="svg":g.type==="math"&&(w="mathml"),h==null?y(g,_,E,S,M,w,I,q):Q(h,g,S,M,w,I,q)},y=(h,g,_,E,S,M,w,I)=>{let q,x;const{props:U,shapeFlag:V,transition:G,dirs:Y}=h;if(q=h.el=c(h.type,M,U&&U.is,U),V&8?u(q,h.children):V&16&&$(h.children,q,null,E,S,Es(h,M),w,I),Y&&Tt(h,null,E,"created"),W(q,h,h.scopeId,w,E),U){for(const O in U)O!=="value"&&!ln(O)&&o(q,O,null,U[O],M,h.children,E,S,_e);"value"in U&&o(q,"value",null,U.value,M),(x=U.onVnodeBeforeMount)&&Je(x,E,h)}Y&&Tt(h,null,E,"beforeMount");const k=Fu(S,G);k&&G.beforeEnter(q),r(q,g,_),((x=U&&U.onVnodeMounted)||k||Y)&&Ne(()=>{x&&Je(x,E,h),k&&G.enter(q),Y&&Tt(h,null,E,"mounted")},S)},W=(h,g,_,E,S)=>{if(_&&d(h,_),E)for(let M=0;M<E.length;M++)d(h,E[M]);if(S){let M=S.subTree;if(g===M){const w=S.vnode;W(h,w,w.scopeId,w.slotScopeIds,S.parent)}}},$=(h,g,_,E,S,M,w,I,q=0)=>{for(let x=q;x<h.length;x++){const U=h[x]=I?mt(h[x]):We(h[x]);b(null,U,g,_,E,S,M,w,I)}},Q=(h,g,_,E,S,M,w)=>{const I=g.el=h.el;let{patchFlag:q,dynamicChildren:x,dirs:U}=g;q|=h.patchFlag&16;const V=h.props||he,G=g.props||he;let Y;if(_&&Rt(_,!1),(Y=G.onVnodeBeforeUpdate)&&Je(Y,_,g,h),U&&Tt(g,h,_,"beforeUpdate"),_&&Rt(_,!0),x?z(h.dynamicChildren,x,I,_,E,Es(g,S),M):w||C(h,g,I,null,_,E,Es(g,S),M,!1),q>0){if(q&16)ce(I,g,V,G,_,E,S);else if(q&2&&V.class!==G.class&&o(I,"class",null,G.class,S),q&4&&o(I,"style",V.style,G.style,S),q&8){const k=g.dynamicProps;for(let O=0;O<k.length;O++){const H=k[O],X=V[H],fe=G[H];(fe!==X||H==="value")&&o(I,H,X,fe,S,h.children,_,E,_e)}}q&1&&h.children!==g.children&&u(I,g.children)}else!w&&x==null&&ce(I,g,V,G,_,E,S);((Y=G.onVnodeUpdated)||U)&&Ne(()=>{Y&&Je(Y,_,g,h),U&&Tt(g,h,_,"updated")},E)},z=(h,g,_,E,S,M,w)=>{for(let I=0;I<g.length;I++){const q=h[I],x=g[I],U=q.el&&(q.type===Ce||!Lt(q,x)||q.shapeFlag&70)?f(q.el):_;b(q,x,U,null,E,S,M,w,!0)}},ce=(h,g,_,E,S,M,w)=>{if(_!==E){if(_!==he)for(const I in _)!ln(I)&&!(I in E)&&o(h,I,_[I],null,w,g.children,S,M,_e);for(const I in E){if(ln(I))continue;const q=E[I],x=_[I];q!==x&&I!=="value"&&o(h,I,x,q,w,g.children,S,M,_e)}"value"in E&&o(h,"value",_.value,E.value,w)}},L=(h,g,_,E,S,M,w,I,q)=>{const x=g.el=h?h.el:i(""),U=g.anchor=h?h.anchor:i("");let{patchFlag:V,dynamicChildren:G,slotScopeIds:Y}=g;Y&&(I=I?I.concat(Y):Y),h==null?(r(x,_,E),r(U,_,E),$(g.children||[],_,U,S,M,w,I,q)):V>0&&V&64&&G&&h.dynamicChildren?(z(h.dynamicChildren,G,_,S,M,w,I),(g.key!=null||S&&g===S.subTree)&&Dc(h,g,!0)):C(h,g,_,U,S,M,w,I,q)},ee=(h,g,_,E,S,M,w,I,q)=>{g.slotScopeIds=I,h==null?g.shapeFlag&512?S.ctx.activate(g,_,E,w,q):A(g,_,E,S,M,w,q):Z(h,g,q)},A=(h,g,_,E,S,M,w)=>{const I=h.component=Vu(h,E,S);if(rr(h)&&(I.ctx.renderer=$t),ju(I),I.asyncDep){if(S&&S.registerDep(I,F),!h.el){const q=I.subTree=ge(He);T(null,q,g,_)}}else F(I,h,g,_,S,M,w)},Z=(h,g,_)=>{const E=g.component=h.component;if(Ql(h,g,_))if(E.asyncDep&&!E.asyncResolved){v(E,g,_);return}else E.next=g,Kl(E.update),E.effect.dirty=!0,E.update();else g.el=h.el,E.vnode=g},F=(h,g,_,E,S,M,w)=>{const I=()=>{if(h.isMounted){let{next:U,bu:V,u:G,parent:Y,vnode:k}=h;{const Se=Rc(h);if(Se){U&&(U.el=k.el,v(h,U,w)),Se.asyncDep.then(()=>{h.isUnmounted||I()});return}}let O=U,H;Rt(h,!1),U?(U.el=k.el,v(h,U,w)):U=k,V&&$n(V),(H=U.props&&U.props.onVnodeBeforeUpdate)&&Je(H,Y,U,k),Rt(h,!0);const X=ls(h),fe=h.subTree;h.subTree=X,b(fe,X,f(fe.el),Pt(fe),h,S,M),U.el=X.el,O===null&&eu(h,X.el),G&&Ne(G,S),(H=U.props&&U.props.onVnodeUpdated)&&Ne(()=>Je(H,Y,U,k),S)}else{let U;const{el:V,props:G}=g,{bm:Y,m:k,parent:O}=h,H=mn(g);if(Rt(h,!1),Y&&$n(Y),!H&&(U=G&&G.onVnodeBeforeMount)&&Je(U,O,g),Rt(h,!0),V&&Pr){const X=()=>{h.subTree=ls(h),Pr(V,h.subTree,h,S,null)};H?g.type.__asyncLoader().then(()=>!h.isUnmounted&&X()):X()}else{const X=h.subTree=ls(h);b(null,X,_,E,h,S,M),g.el=X.el}if(k&&Ne(k,S),!H&&(U=G&&G.onVnodeMounted)){const X=g;Ne(()=>Je(U,O,X),S)}(g.shapeFlag&256||O&&mn(O.vnode)&&O.vnode.shapeFlag&256)&&h.a&&Ne(h.a,S),h.isMounted=!0,g=_=E=null}},q=h.effect=new Zr(I,Pe,()=>as(x),h.scope),x=h.update=()=>{q.dirty&&q.run()};x.id=h.uid,Rt(h,!0),x()},v=(h,g,_)=>{g.component=h;const E=h.vnode.props;h.vnode=g,h.next=null,Lu(h,g.props,E,_),Iu(h,g.children,_),lt(),Yo(h),ut()},C=(h,g,_,E,S,M,w,I,q=!1)=>{const x=h&&h.children,U=h?h.shapeFlag:0,V=g.children,{patchFlag:G,shapeFlag:Y}=g;if(G>0){if(G&128){ne(x,V,_,E,S,M,w,I,q);return}else if(G&256){j(x,V,_,E,S,M,w,I,q);return}}Y&8?(U&16&&_e(x,S,M),V!==x&&u(_,V)):U&16?Y&16?ne(x,V,_,E,S,M,w,I,q):_e(x,S,M,!0):(U&8&&u(_,""),Y&16&&$(V,_,E,S,M,w,I,q))},j=(h,g,_,E,S,M,w,I,q)=>{h=h||Ht,g=g||Ht;const x=h.length,U=g.length,V=Math.min(x,U);let G;for(G=0;G<V;G++){const Y=g[G]=q?mt(g[G]):We(g[G]);b(h[G],Y,_,null,S,M,w,I,q)}x>U?_e(h,S,M,!0,!1,V):$(g,_,E,S,M,w,I,q,V)},ne=(h,g,_,E,S,M,w,I,q)=>{let x=0;const U=g.length;let V=h.length-1,G=U-1;for(;x<=V&&x<=G;){const Y=h[x],k=g[x]=q?mt(g[x]):We(g[x]);if(Lt(Y,k))b(Y,k,_,null,S,M,w,I,q);else break;x++}for(;x<=V&&x<=G;){const Y=h[V],k=g[G]=q?mt(g[G]):We(g[G]);if(Lt(Y,k))b(Y,k,_,null,S,M,w,I,q);else break;V--,G--}if(x>V){if(x<=G){const Y=G+1,k=Y<U?g[Y].el:E;for(;x<=G;)b(null,g[x]=q?mt(g[x]):We(g[x]),_,k,S,M,w,I,q),x++}}else if(x>G)for(;x<=V;)ue(h[x],S,M,!0),x++;else{const Y=x,k=x,O=new Map;for(x=k;x<=G;x++){const Be=g[x]=q?mt(g[x]):We(g[x]);Be.key!=null&&O.set(Be.key,x)}let H,X=0;const fe=G-k+1;let Se=!1,$r=0;const Ut=new Array(fe);for(x=0;x<fe;x++)Ut[x]=0;for(x=Y;x<=V;x++){const Be=h[x];if(X>=fe){ue(Be,S,M,!0);continue}let tt;if(Be.key!=null)tt=O.get(Be.key);else for(H=k;H<=G;H++)if(Ut[H-k]===0&&Lt(Be,g[H])){tt=H;break}tt===void 0?ue(Be,S,M,!0):(Ut[tt-k]=x+1,tt>=$r?$r=tt:Se=!0,b(Be,g[tt],_,null,S,M,w,I,q),X++)}const Ya=Se?Bu(Ut):Ht;for(H=Ya.length-1,x=fe-1;x>=0;x--){const Be=k+x,tt=g[Be],Xa=Be+1<U?g[Be+1].el:E;Ut[x]===0?b(null,tt,_,Xa,S,M,w,I,q):Se&&(H<0||x!==Ya[H]?se(tt,_,Xa,2):H--)}}},se=(h,g,_,E,S=null)=>{const{el:M,type:w,transition:I,children:q,shapeFlag:x}=h;if(x&6){se(h.component.subTree,g,_,E);return}if(x&128){h.suspense.move(g,_,E);return}if(x&64){w.move(h,g,_,$t);return}if(w===Ce){r(M,g,_);for(let V=0;V<q.length;V++)se(q[V],g,_,E);r(h.anchor,g,_);return}if(w===ks){N(h,g,_);return}if(E!==2&&x&1&&I)if(E===0)I.beforeEnter(M),r(M,g,_),Ne(()=>I.enter(M),S);else{const{leave:V,delayLeave:G,afterLeave:Y}=I,k=()=>r(M,g,_),O=()=>{V(M,()=>{k(),Y&&Y()})};G?G(M,k,O):O()}else r(M,g,_)},ue=(h,g,_,E=!1,S=!1)=>{const{type:M,props:w,ref:I,children:q,dynamicChildren:x,shapeFlag:U,patchFlag:V,dirs:G}=h;if(I!=null&&ws(I,null,_,h,!0),U&256){g.ctx.deactivate(h);return}const Y=U&1&&G,k=!mn(h);let O;if(k&&(O=w&&w.onVnodeBeforeUnmount)&&Je(O,g,h),U&6)Le(h.component,_,E);else{if(U&128){h.suspense.unmount(_,E);return}Y&&Tt(h,null,g,"beforeUnmount"),U&64?h.type.remove(h,g,_,S,$t,E):x&&(M!==Ce||V>0&&V&64)?_e(x,g,_,!1,!0):(M===Ce&&V&384||!S&&U&16)&&_e(q,g,_),E&&ke(h)}(k&&(O=w&&w.onVnodeUnmounted)||Y)&&Ne(()=>{O&&Je(O,g,h),Y&&Tt(h,null,g,"unmounted")},_)},ke=h=>{const{type:g,el:_,anchor:E,transition:S}=h;if(g===Ce){cn(_,E);return}if(g===ks){B(h);return}const M=()=>{s(_),S&&!S.persisted&&S.afterLeave&&S.afterLeave()};if(h.shapeFlag&1&&S&&!S.persisted){const{leave:w,delayLeave:I}=S,q=()=>w(_,M);I?I(h.el,M,q):q()}else M()},cn=(h,g)=>{let _;for(;h!==g;)_=p(h),s(h),h=_;s(g)},Le=(h,g,_)=>{const{bum:E,scope:S,update:M,subTree:w,um:I}=h;E&&$n(E),S.stop(),M&&(M.active=!1,ue(w,h,g,_)),I&&Ne(I,g),Ne(()=>{h.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},_e=(h,g,_,E=!1,S=!1,M=0)=>{for(let w=M;w<h.length;w++)ue(h[w],g,_,E,S)},Pt=h=>h.shapeFlag&6?Pt(h.component.subTree):h.shapeFlag&128?h.suspense.next():p(h.anchor||h.el);let an=!1;const Mn=(h,g,_)=>{h==null?g._vnode&&ue(g._vnode,null,null,!0):b(g._vnode||null,h,g,null,null,null,_),an||(an=!0,Yo(),Xo(),an=!1),g._vnode=h},$t={p:b,um:ue,m:se,r:ke,mt:A,mc:$,pc:C,pbc:z,n:Pt,o:t};let Br,Pr;return{render:Mn,hydrate:Br,createApp:Tu(Mn,Br)}}function Es({type:t,props:e},n){return n==="svg"&&t==="foreignObject"||n==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:n}function Rt({effect:t,update:e},n){t.allowRecurse=e.allowRecurse=n}function Fu(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Dc(t,e,n=!1){const r=t.children,s=e.children;if(J(r)&&J(s))for(let o=0;o<r.length;o++){const c=r[o];let i=s[o];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=s[o]=mt(s[o]),i.el=c.el),n||Dc(c,i)),i.type===ir&&(i.el=c.el)}}function Bu(t){const e=t.slice(),n=[0];let r,s,o,c,i;const a=t.length;for(r=0;r<a;r++){const l=t[r];if(l!==0){if(s=n[n.length-1],t[s]<l){e[r]=s,n.push(r);continue}for(o=0,c=n.length-1;o<c;)i=o+c>>1,t[n[i]]<l?o=i+1:c=i;l<t[n[o]]&&(o>0&&(e[r]=n[o-1]),n[o]=r)}}for(o=n.length,c=n[o-1];o-- >0;)n[o]=c,c=e[c];return n}function Rc(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Rc(e)}const Pu=t=>t.__isTeleport,Ce=Symbol.for("v-fgt"),ir=Symbol.for("v-txt"),He=Symbol.for("v-cmt"),ks=Symbol.for("v-stc"),yn=[];let Ge=null;function K(t=!1){yn.push(Ge=t?null:[])}function $u(){yn.pop(),Ge=yn[yn.length-1]||null}let xn=1;function Lc(t){xn+=t}function qc(t){return t.dynamicChildren=xn>0?Ge||Ht:null,$u(),xn>0&&Ge&&Ge.push(t),t}function oe(t,e,n,r,s,o){return qc(pe(t,e,n,r,s,o,!0))}function be(t,e,n,r,s){return qc(ge(t,e,n,r,s,!0))}function ar(t){return t?t.__v_isVNode===!0:!1}function Lt(t,e){return t.type===e.type&&t.key===e.key}const lr="__vInternal",Nc=({key:t})=>t??null,ur=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?me(t)||xe(t)||te(t)?{i:ye,r:t,k:e,f:!!n}:t:null);function pe(t,e=null,n=null,r=0,s=null,o=t===Ce?0:1,c=!1,i=!1){const a={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Nc(e),ref:e&&ur(e),scopeId:tc,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:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ye};return i?(Ss(a,n),o&128&&t.normalize(a)):n&&(a.shapeFlag|=me(n)?8:16),xn>0&&!c&&Ge&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&Ge.push(a),a}const ge=Uu;function Uu(t,e=null,n=null,r=0,s=null,o=!1){if((!t||t===rc)&&(t=He),ar(t)){const i=gt(t,e,!0);return n&&Ss(i,n),xn>0&&!o&&Ge&&(i.shapeFlag&6?Ge[Ge.indexOf(t)]=i:Ge.push(i)),i.patchFlag|=-2,i}if(Xu(t)&&(t=t.__vccOpts),e){e=As(e);let{class:i,style:a}=e;i&&!me(i)&&(e.class=jt(i)),de(a)&&(Ho(a)&&!J(a)&&(a=ve({},a)),e.style=un(a))}const c=me(t)?1:su(t)?128:Pu(t)?64:de(t)?4:te(t)?2:0;return pe(t,e,n,r,s,c,o,!0)}function As(t){return t?Ho(t)||lr in t?ve({},t):t:null}function gt(t,e,n=!1){const{props:r,ref:s,patchFlag:o,children:c}=t,i=e?Ic(r||{},e):r;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:i,key:i&&Nc(i),ref:e&&e.ref?n&&s?J(s)?s.concat(ur(e)):[s,ur(e)]:ur(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:c,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ce?o===-1?16:o|16:o,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&>(t.ssContent),ssFallback:t.ssFallback&>(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function Cs(t=" ",e=0){return ge(ir,null,t,e)}function Oe(t="",e=!1){return e?(K(),be(He,null,t)):ge(He,null,t)}function We(t){return t==null||typeof t=="boolean"?ge(He):J(t)?ge(Ce,null,t.slice()):typeof t=="object"?mt(t):ge(ir,null,String(t))}function mt(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:gt(t)}function Ss(t,e){let n=0;const{shapeFlag:r}=t;if(e==null)e=null;else if(J(e))n=16;else if(typeof e=="object")if(r&65){const s=e.default;s&&(s._c&&(s._d=!1),Ss(t,s()),s._c&&(s._d=!0));return}else{n=32;const s=e._;!s&&!(lr in e)?e._ctx=ye:s===3&&ye&&(ye.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else te(e)?(e={default:e,_ctx:ye},n=32):(e=String(e),r&64?(n=16,e=[Cs(e)]):n=8);t.children=e,t.shapeFlag|=n}function Ic(...t){const e={};for(let n=0;n<t.length;n++){const r=t[n];for(const s in r)if(s==="class")e.class!==r.class&&(e.class=jt([e.class,r.class]));else if(s==="style")e.style=un([e.style,r.style]);else if(On(s)){const o=e[s],c=r[s];c&&o!==c&&!(J(o)&&o.includes(c))&&(e[s]=o?[].concat(o,c):c)}else s!==""&&(e[s]=r[s])}return e}function Je(t,e,n,r=null){$e(t,e,7,[n,r])}const zu=vc();let Hu=0;function Vu(t,e,n){const r=t.type,s=(e?e.appContext:t.appContext)||zu,o={uid:Hu++,vnode:t,type:r,parent:e,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new ul(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:xc(r,s),emitsOptions:ec(r,s),emit:null,emitted:null,propsDefaults:he,inheritAttrs:r.inheritAttrs,ctx:he,data:he,props:he,attrs:he,slots:he,refs:he,setupState:he,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=e?e.root:o,o.emit=Jl.bind(null,o),t.ce&&t.ce(o),o}let we=null;const Gu=()=>we||ye;let fr,Ts;{const t=xo(),e=(n,r)=>{let s;return(s=t[n])||(s=t[n]=[]),s.push(r),o=>{s.length>1?s.forEach(c=>c(o)):s[0](o)}};fr=e("__VUE_INSTANCE_SETTERS__",n=>we=n),Ts=e("__VUE_SSR_SETTERS__",n=>pr=n)}const wn=t=>{const e=we;return fr(t),t.scope.on(),()=>{t.scope.off(),fr(e)}},Mc=()=>{we&&we.scope.off(),fr(null)};function Oc(t){return t.vnode.shapeFlag&4}let pr=!1;function ju(t,e=!1){e&&Ts(e);const{props:n,children:r}=t.vnode,s=Oc(t);Ru(t,n,s,e),Nu(t,r);const o=s?Ku(t,e):void 0;return e&&Ts(!1),o}function Ku(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=Vo(new Proxy(t.ctx,xu));const{setup:r}=n;if(r){const s=t.setupContext=r.length>1?Wu(t):null,o=wn(t);lt();const c=rt(r,t,0,[t.props,s]);if(ut(),o(),bo(c)){if(c.then(Mc,Mc),e)return c.then(i=>{Fc(t,i,e)}).catch(i=>{Yn(i,t,0)});t.asyncDep=c}else Fc(t,c,e)}else Pc(t,e)}function Fc(t,e,n){te(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:de(e)&&(t.setupState=Ko(e)),Pc(t,n)}let Bc;function Pc(t,e,n){const r=t.type;if(!t.render){if(!e&&Bc&&!r.render){const s=r.template||_s(t).template;if(s){const{isCustomElement:o,compilerOptions:c}=t.appContext.config,{delimiters:i,compilerOptions:a}=r,l=ve(ve({isCustomElement:o,delimiters:i},c),a);r.render=Bc(s,l)}}t.render=r.render||Pe}{const s=wn(t);lt();try{wu(t)}finally{ut(),s()}}}function Zu(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(e,n){return qe(t,"get","$attrs"),e[n]}}))}function Wu(t){const e=n=>{t.exposed=n||{}};return{get attrs(){return Zu(t)},slots:t.slots,emit:t.emit,expose:e}}function hr(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(Ko(Vo(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in bn)return bn[n](t)},has(e,n){return n in e||n in bn}}))}const Ju=/(?:^|[-_])(\w)/g,Yu=t=>t.replace(Ju,e=>e.toUpperCase()).replace(/[-_]/g,"");function $c(t,e=!0){return te(t)?t.displayName||t.name:t.name||e&&t.__name}function Uc(t,e,n=!1){let r=$c(e);if(!r&&e.__file){const s=e.__file.match(/([^/\\]+)\.\w+$/);s&&(r=s[1])}if(!r&&t&&t.parent){const s=o=>{for(const c in o)if(o[c]===e)return c};r=s(t.components||t.parent.type.components)||s(t.appContext.components)}return r?Yu(r):n?"App":"Anonymous"}function Xu(t){return te(t)&&"__vccOpts"in t}const Re=(t,e)=>Il(t,e,pr);function zc(t,e,n){const r=arguments.length;return r===2?de(e)&&!J(e)?ar(e)?ge(t,null,[e]):ge(t,e):ge(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ar(n)&&(n=[n]),ge(t,e,n))}const Qu="3.4.21";/**
|
|
17
17
|
* @vue/runtime-dom v3.4.21
|
|
18
18
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
19
19
|
* @license MIT
|
|
20
|
-
**/const Qu="http://www.w3.org/2000/svg",ef="http://www.w3.org/1998/Math/MathML",bt=typeof document<"u"?document:null,Hc=bt&&bt.createElement("template"),tf={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const s=e==="svg"?bt.createElementNS(Qu,t):e==="mathml"?bt.createElementNS(ef,t):bt.createElement(t,n?{is:n}:void 0);return t==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:t=>bt.createTextNode(t),createComment:t=>bt.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>bt.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,s,o){const c=n?n.previousSibling:e.lastChild;if(s&&(s===o||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Hc.innerHTML=r==="svg"?`<svg>${t}</svg>`:r==="mathml"?`<math>${t}</math>`:t;const i=Hc.content;if(r==="svg"||r==="mathml"){const a=i.firstChild;for(;a.firstChild;)i.appendChild(a.firstChild);i.removeChild(a)}e.insertBefore(i,n)}return[c?c.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},_t="transition",En="animation",kn=Symbol("_vtc"),dr=(t,{slots:e})=>zc(lu,nf(t),e);dr.displayName="Transition";const Vc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};dr.props=ve({},ac,Vc);const qt=(t,e=[])=>{J(t)?t.forEach(n=>n(...e)):t&&t(...e)},Gc=t=>t?J(t)?t.some(e=>e.length>1):t.length>1:!1;function nf(t){const e={};for(const L in t)L in Vc||(e[L]=t[L]);if(t.css===!1)return e;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:c=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:a=o,appearActiveClass:l=c,appearToClass:u=i,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=t,m=rf(s),b=m&&m[0],R=m&&m[1],{onBeforeEnter:T,onEnter:D,onEnterCancelled:N,onLeave:B,onLeaveCancelled:P,onBeforeAppear:y=T,onAppear:W=D,onAppearCancelled:$=N}=e,Q=(L,ee,A)=>{Nt(L,ee?u:i),Nt(L,ee?l:c),A&&A()},z=(L,ee)=>{L._isLeaving=!1,Nt(L,f),Nt(L,d),Nt(L,p),ee&&ee()},ce=L=>(ee,A)=>{const Z=L?W:D,F=()=>Q(ee,L,A);qt(Z,[ee,F]),jc(()=>{Nt(ee,L?a:o),vt(ee,L?u:i),Gc(Z)||Kc(ee,r,b,F)})};return ve(e,{onBeforeEnter(L){qt(T,[L]),vt(L,o),vt(L,c)},onBeforeAppear(L){qt(y,[L]),vt(L,a),vt(L,l)},onEnter:ce(!1),onAppear:ce(!0),onLeave(L,ee){L._isLeaving=!0;const A=()=>z(L,ee);vt(L,f),cf(),vt(L,p),jc(()=>{L._isLeaving&&(Nt(L,f),vt(L,d),Gc(B)||Kc(L,r,R,A))}),qt(B,[L,A])},onEnterCancelled(L){Q(L,!1),qt(N,[L])},onAppearCancelled(L){Q(L,!0),qt($,[L])},onLeaveCancelled(L){z(L),qt(P,[L])}})}function rf(t){if(t==null)return null;if(de(t))return[Ds(t.enter),Ds(t.leave)];{const e=Ds(t);return[e,e]}}function Ds(t){return rl(t)}function vt(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[kn]||(t[kn]=new Set)).add(e)}function Nt(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.remove(r));const n=t[kn];n&&(n.delete(e),n.size||(t[kn]=void 0))}function jc(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let sf=0;function Kc(t,e,n,r){const s=t._endId=++sf,o=()=>{s===t._endId&&r()};if(n)return setTimeout(o,n);const{type:c,timeout:i,propCount:a}=of(t,e);if(!c)return r();const l=c+"end";let u=0;const f=()=>{t.removeEventListener(l,p),o()},p=d=>{d.target===t&&++u>=a&&f()};setTimeout(()=>{u<a&&f()},i+1),t.addEventListener(l,p)}function of(t,e){const n=window.getComputedStyle(t),r=m=>(n[m]||"").split(", "),s=r(`${_t}Delay`),o=r(`${_t}Duration`),c=Zc(s,o),i=r(`${En}Delay`),a=r(`${En}Duration`),l=Zc(i,a);let u=null,f=0,p=0;e===_t?c>0&&(u=_t,f=c,p=o.length):e===En?l>0&&(u=En,f=l,p=a.length):(f=Math.max(c,l),u=f>0?c>l?_t:En:null,p=u?u===_t?o.length:a.length:0);const d=u===_t&&/\b(transform|all)(,|$)/.test(r(`${_t}Property`).toString());return{type:u,timeout:f,propCount:p,hasTransform:d}}function Zc(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,r)=>Wc(n)+Wc(t[r])))}function Wc(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function cf(){return document.body.offsetHeight}function af(t,e,n){const r=t[kn];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const gr=Symbol("_vod"),Jc=Symbol("_vsh"),lf={beforeMount(t,{value:e},{transition:n}){t[gr]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):An(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:r}){!e!=!n&&(r?e?(r.beforeEnter(t),An(t,!0),r.enter(t)):r.leave(t,()=>{An(t,!1)}):An(t,e))},beforeUnmount(t,{value:e}){An(t,e)}};function An(t,e){t.style.display=e?t[gr]:"none",t[Jc]=!e}const uf=Symbol(""),ff=/(^|;)\s*display\s*:/;function pf(t,e,n){const r=t.style,s=me(n);let o=!1;if(n&&!s){if(e)if(me(e))for(const c of e.split(";")){const i=c.slice(0,c.indexOf(":")).trim();n[i]==null&&mr(r,i,"")}else for(const c in e)n[c]==null&&mr(r,c,"");for(const c in n)c==="display"&&(o=!0),mr(r,c,n[c])}else if(s){if(e!==n){const c=r[uf];c&&(n+=";"+c),r.cssText=n,o=ff.test(n)}}else e&&t.removeAttribute("style");gr in t&&(t[gr]=o?r.display:"",t[Jc]&&(r.display="none"))}const Yc=/\s*!important$/;function mr(t,e,n){if(J(n))n.forEach(r=>mr(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=hf(t,e);Yc.test(n)?t.setProperty(Et(r),n.replace(Yc,""),"important"):t[r]=n}}const Xc=["Webkit","Moz","ms"],Rs={};function hf(t,e){const n=Rs[e];if(n)return n;let r=Ke(e);if(r!=="filter"&&r in t)return Rs[e]=r;r=Pn(r);for(let s=0;s<Xc.length;s++){const o=Xc[s]+r;if(o in t)return Rs[e]=o}return e}const Qc="http://www.w3.org/1999/xlink";function df(t,e,n,r,s){if(r&&e.startsWith("xlink:"))n==null?t.removeAttributeNS(Qc,e.slice(6,e.length)):t.setAttributeNS(Qc,e,n);else{const o=al(e);n==null||o&&!wo(n)?t.removeAttribute(e):t.setAttribute(e,o?"":n)}}function gf(t,e,n,r,s,o,c){if(e==="innerHTML"||e==="textContent"){r&&c(r,s,o),t[e]=n??"";return}const i=t.tagName;if(e==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?t.getAttribute("value")||"":t.value,u=n??"";(l!==u||!("_value"in t))&&(t.value=u),n==null&&t.removeAttribute(e),t._value=n;return}let a=!1;if(n===""||n==null){const l=typeof t[e];l==="boolean"?n=wo(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{t[e]=n}catch{}a&&t.removeAttribute(e)}function Xt(t,e,n,r){t.addEventListener(e,n,r)}function mf(t,e,n,r){t.removeEventListener(e,n,r)}const ei=Symbol("_vei");function bf(t,e,n,r,s=null){const o=t[ei]||(t[ei]={}),c=o[e];if(r&&c)c.value=r;else{const[i,a]=_f(e);if(r){const l=o[e]=xf(r,s);Xt(t,i,l,a)}else c&&(mf(t,i,c,a),o[e]=void 0)}}const ti=/(?:Once|Passive|Capture)$/;function _f(t){let e;if(ti.test(t)){e={};let r;for(;r=t.match(ti);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Et(t.slice(2)),e]}let Ls=0;const vf=Promise.resolve(),yf=()=>Ls||(vf.then(()=>Ls=0),Ls=Date.now());function xf(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;$e(wf(r,n.value),e,5,[r])};return n.value=t,n.attached=yf(),n}function wf(t,e){if(J(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>s=>!s._stopped&&r&&r(s))}else return e}const ni=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Ef=(t,e,n,r,s,o,c,i,a)=>{const l=s==="svg";e==="class"?af(t,r,l):e==="style"?pf(t,n,r):On(e)?Ur(e)||bf(t,e,n,r,c):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):kf(t,e,r,l))?gf(t,e,r,o,c,i,a):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),df(t,e,r,l))};function kf(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&ni(e)&&te(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const s=t.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return ni(e)&&me(n)?!1:e in t}const ri=t=>{const e=t.props["onUpdate:modelValue"]||!1;return J(e)?n=>$n(e,n):e};function Af(t){t.target.composing=!0}function si(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const qs=Symbol("_assign"),Cf={created(t,{modifiers:{lazy:e,trim:n,number:r}},s){t[qs]=ri(s);const o=r||s.props&&s.props.type==="number";Xt(t,e?"change":"input",c=>{if(c.target.composing)return;let i=t.value;n&&(i=i.trim()),o&&(i=Gr(i)),t[qs](i)}),n&&Xt(t,"change",()=>{t.value=t.value.trim()}),e||(Xt(t,"compositionstart",Af),Xt(t,"compositionend",si),Xt(t,"change",si))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:r,number:s}},o){if(t[qs]=ri(o),t.composing)return;const c=s||t.type==="number"?Gr(t.value):t.value,i=e??"";c!==i&&(document.activeElement===t&&t.type!=="range"&&(n||r&&t.value.trim()===i)||(t.value=i))}},Sf=["ctrl","shift","alt","meta"],Tf={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>Sf.some(n=>t[`${n}Key`]&&!e.includes(n))},Df=(t,e)=>{const n=t._withMods||(t._withMods={}),r=e.join(".");return n[r]||(n[r]=(s,...o)=>{for(let c=0;c<e.length;c++){const i=Tf[e[c]];if(i&&i(s,e))return}return t(s,...o)})},Rf={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Lf=(t,e)=>{const n=t._withKeys||(t._withKeys={}),r=e.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=Et(s.key);if(e.some(c=>c===o||Rf[c]===o))return t(s)})},qf=ve({patchProp:Ef},tf);let oi;function Nf(){return oi||(oi=Iu(qf))}const If=(...t)=>{const e=Nf().createApp(...t),{mount:n}=e;return e.mount=r=>{const s=Of(r);if(!s)return;const o=e._component;!te(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const c=n(s,!1,Mf(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),c},e};function Mf(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Of(t){return me(t)?document.querySelector(t):t}function Ns(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Ff(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var s=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return t[r]}})}),n}function ci(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{const n=t[e],r=typeof n;(r==="object"||r==="function")&&!Object.isFrozen(n)&&ci(n)}),t}class ii{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function ai(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function yt(t,...e){const n=Object.create(null);for(const r in t)n[r]=t[r];return e.forEach(function(r){for(const s in r)n[s]=r[s]}),n}const Bf="</span>",li=t=>!!t.scope,Pf=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){const n=t.split(".");return[`${e}${n.shift()}`,...n.map((r,s)=>`${r}${"_".repeat(s+1)}`)].join(" ")}return`${e}${t}`};class $f{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=ai(e)}openNode(e){if(!li(e))return;const n=Pf(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){li(e)&&(this.buffer+=Bf)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const ui=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class Is{constructor(){this.rootNode=ui(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const n=ui({scope:e});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){return typeof n=="string"?e.addText(n):n.children&&(e.openNode(n),n.children.forEach(r=>this._walk(e,r)),e.closeNode(n)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(n=>typeof n=="string")?e.children=[e.children.join("")]:e.children.forEach(n=>{Is._collapse(n)}))}}class Uf extends Is{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,n){const r=e.root;n&&(r.scope=`language:${n}`),this.add(r)}toHTML(){return new $f(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Cn(t){return t?typeof t=="string"?t:t.source:null}function fi(t){return It("(?=",t,")")}function zf(t){return It("(?:",t,")*")}function Hf(t){return It("(?:",t,")?")}function It(...t){return t.map(n=>Cn(n)).join("")}function Vf(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function Ms(...t){return"("+(Vf(t).capture?"":"?:")+t.map(r=>Cn(r)).join("|")+")"}function pi(t){return new RegExp(t.toString()+"|").exec("").length-1}function Gf(t,e){const n=t&&t.exec(e);return n&&n.index===0}const jf=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Os(t,{joinWith:e}){let n=0;return t.map(r=>{n+=1;const s=n;let o=Cn(r),c="";for(;o.length>0;){const i=jf.exec(o);if(!i){c+=o;break}c+=o.substring(0,i.index),o=o.substring(i.index+i[0].length),i[0][0]==="\\"&&i[1]?c+="\\"+String(Number(i[1])+s):(c+=i[0],i[0]==="("&&n++)}return c}).map(r=>`(${r})`).join(e)}const Kf=/\b\B/,hi="[a-zA-Z]\\w*",Fs="[a-zA-Z_]\\w*",di="\\b\\d+(\\.\\d+)?",gi="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",mi="\\b(0b[01]+)",Zf="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Wf=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=It(e,/.*\b/,t.binary,/\b.*/)),yt({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},t)},Sn={begin:"\\\\[\\s\\S]",relevance:0},Jf={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Sn]},Yf={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Sn]},Xf={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},br=function(t,e,n={}){const r=yt({scope:"comment",begin:t,end:e,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const s=Ms("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:It(/[ ]+/,"(",s,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},Qf=br("//","$"),ep=br("/\\*","\\*/"),tp=br("#","$"),np={scope:"number",begin:di,relevance:0},rp={scope:"number",begin:gi,relevance:0},sp={scope:"number",begin:mi,relevance:0},op={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Sn,{begin:/\[/,end:/\]/,relevance:0,contains:[Sn]}]},cp={scope:"title",begin:hi,relevance:0},ip={scope:"title",begin:Fs,relevance:0},ap={begin:"\\.\\s*"+Fs,relevance:0};var _r=Object.freeze({__proto__:null,APOS_STRING_MODE:Jf,BACKSLASH_ESCAPE:Sn,BINARY_NUMBER_MODE:sp,BINARY_NUMBER_RE:mi,COMMENT:br,C_BLOCK_COMMENT_MODE:ep,C_LINE_COMMENT_MODE:Qf,C_NUMBER_MODE:rp,C_NUMBER_RE:gi,END_SAME_AS_BEGIN:function(t){return Object.assign(t,{"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})},HASH_COMMENT_MODE:tp,IDENT_RE:hi,MATCH_NOTHING_RE:Kf,METHOD_GUARD:ap,NUMBER_MODE:np,NUMBER_RE:di,PHRASAL_WORDS_MODE:Xf,QUOTE_STRING_MODE:Yf,REGEXP_MODE:op,RE_STARTERS_RE:Zf,SHEBANG:Wf,TITLE_MODE:cp,UNDERSCORE_IDENT_RE:Fs,UNDERSCORE_TITLE_MODE:ip});function lp(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function up(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function fp(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=lp,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function pp(t,e){Array.isArray(t.illegal)&&(t.illegal=Ms(...t.illegal))}function hp(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function dp(t,e){t.relevance===void 0&&(t.relevance=1)}const gp=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},t);Object.keys(t).forEach(r=>{delete t[r]}),t.keywords=n.keywords,t.begin=It(n.beforeMatch,fi(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},mp=["of","and","for","in","not","or","if","then","parent","list","value"],bp="keyword";function bi(t,e,n=bp){const r=Object.create(null);return typeof t=="string"?s(n,t.split(" ")):Array.isArray(t)?s(n,t):Object.keys(t).forEach(function(o){Object.assign(r,bi(t[o],e,o))}),r;function s(o,c){e&&(c=c.map(i=>i.toLowerCase())),c.forEach(function(i){const a=i.split("|");r[a[0]]=[o,_p(a[0],a[1])]})}}function _p(t,e){return e?Number(e):vp(t)?0:1}function vp(t){return mp.includes(t.toLowerCase())}const _i={},Mt=t=>{console.error(t)},vi=(t,...e)=>{console.log(`WARN: ${t}`,...e)},Qt=(t,e)=>{_i[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),_i[`${t}/${e}`]=!0)},vr=new Error;function yi(t,e,{key:n}){let r=0;const s=t[n],o={},c={};for(let i=1;i<=e.length;i++)c[i+r]=s[i],o[i+r]=!0,r+=pi(e[i-1]);t[n]=c,t[n]._emit=o,t[n]._multi=!0}function yp(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Mt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),vr;if(typeof t.beginScope!="object"||t.beginScope===null)throw Mt("beginScope must be object"),vr;yi(t,t.begin,{key:"beginScope"}),t.begin=Os(t.begin,{joinWith:""})}}function xp(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Mt("skip, excludeEnd, returnEnd not compatible with endScope: {}"),vr;if(typeof t.endScope!="object"||t.endScope===null)throw Mt("endScope must be object"),vr;yi(t,t.end,{key:"endScope"}),t.end=Os(t.end,{joinWith:""})}}function wp(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function Ep(t){wp(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),yp(t),xp(t)}function kp(t){function e(c,i){return new RegExp(Cn(c),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(i?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(i,a){a.position=this.position++,this.matchIndexes[this.matchAt]=a,this.regexes.push([a,i]),this.matchAt+=pi(i)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const i=this.regexes.map(a=>a[1]);this.matcherRe=e(Os(i,{joinWith:"|"}),!0),this.lastIndex=0}exec(i){this.matcherRe.lastIndex=this.lastIndex;const a=this.matcherRe.exec(i);if(!a)return null;const l=a.findIndex((f,p)=>p>0&&f!==void 0),u=this.matchIndexes[l];return a.splice(0,l),Object.assign(a,u)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(i){if(this.multiRegexes[i])return this.multiRegexes[i];const a=new n;return this.rules.slice(i).forEach(([l,u])=>a.addRule(l,u)),a.compile(),this.multiRegexes[i]=a,a}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(i,a){this.rules.push([i,a]),a.type==="begin"&&this.count++}exec(i){const a=this.getMatcher(this.regexIndex);a.lastIndex=this.lastIndex;let l=a.exec(i);if(this.resumingScanAtSamePosition()&&!(l&&l.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,l=u.exec(i)}return l&&(this.regexIndex+=l.position+1,this.regexIndex===this.count&&this.considerAll()),l}}function s(c){const i=new r;return c.contains.forEach(a=>i.addRule(a.begin,{rule:a,type:"begin"})),c.terminatorEnd&&i.addRule(c.terminatorEnd,{type:"end"}),c.illegal&&i.addRule(c.illegal,{type:"illegal"}),i}function o(c,i){const a=c;if(c.isCompiled)return a;[up,hp,Ep,gp].forEach(u=>u(c,i)),t.compilerExtensions.forEach(u=>u(c,i)),c.__beforeBegin=null,[fp,pp,dp].forEach(u=>u(c,i)),c.isCompiled=!0;let l=null;return typeof c.keywords=="object"&&c.keywords.$pattern&&(c.keywords=Object.assign({},c.keywords),l=c.keywords.$pattern,delete c.keywords.$pattern),l=l||/\w+/,c.keywords&&(c.keywords=bi(c.keywords,t.case_insensitive)),a.keywordPatternRe=e(l,!0),i&&(c.begin||(c.begin=/\B|\b/),a.beginRe=e(a.begin),!c.end&&!c.endsWithParent&&(c.end=/\B|\b/),c.end&&(a.endRe=e(a.end)),a.terminatorEnd=Cn(a.end)||"",c.endsWithParent&&i.terminatorEnd&&(a.terminatorEnd+=(c.end?"|":"")+i.terminatorEnd)),c.illegal&&(a.illegalRe=e(c.illegal)),c.contains||(c.contains=[]),c.contains=[].concat(...c.contains.map(function(u){return Ap(u==="self"?c:u)})),c.contains.forEach(function(u){o(u,a)}),c.starts&&o(c.starts,i),a.matcher=s(a),a}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=yt(t.classNameAliases||{}),o(t)}function xi(t){return t?t.endsWithParent||xi(t.starts):!1}function Ap(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return yt(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:xi(t)?yt(t,{starts:t.starts?yt(t.starts):null}):Object.isFrozen(t)?yt(t):t}var Cp="11.9.0";class Sp extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const Bs=ai,wi=yt,Ei=Symbol("nomatch"),Tp=7,ki=function(t){const e=Object.create(null),n=Object.create(null),r=[];let s=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let i={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Uf};function a(v){return i.noHighlightRe.test(v)}function l(v){let C=v.className+" ";C+=v.parentNode?v.parentNode.className:"";const j=i.languageDetectRe.exec(C);if(j){const ne=Q(j[1]);return ne||(vi(o.replace("{}",j[1])),vi("Falling back to no-highlight mode for this block.",v)),ne?j[1]:"no-highlight"}return C.split(/\s+/).find(ne=>a(ne)||Q(ne))}function u(v,C,j){let ne="",se="";typeof C=="object"?(ne=v,j=C.ignoreIllegals,se=C.language):(Qt("10.7.0","highlight(lang, code, ...args) has been deprecated."),Qt("10.7.0",`Please use highlight(code, options) instead.
|
|
21
|
-
https://github.com/highlightjs/highlight.js/issues/2277`),se=v,ne=C),j===void 0&&(j=!0);const ue={code:ne,language:se};Z("before:highlight",ue);const ke=ue.result?ue.result:f(ue.language,ue.code,j);return ke.code=ue.code,Z("after:highlight",ke),ke}function f(v,C,j,ne){const se=Object.create(null);function ue(k,O){return k.keywords[O]}function ke(){if(!w.keywords){q.addText(x);return}let k=0;w.keywordPatternRe.lastIndex=0;let O=w.keywordPatternRe.exec(x),H="";for(;O;){H+=x.substring(k,O.index);const X=E.case_insensitive?O[0].toLowerCase():O[0],fe=ue(w,X);if(fe){const[Se,$r]=fe;if(q.addText(H),H="",se[X]=(se[X]||0)+1,se[X]<=Tp&&(U+=$r),Se.startsWith("_"))H+=O[0];else{const Ut=E.classNameAliases[Se]||Se;_e(O[0],Ut)}}else H+=O[0];k=w.keywordPatternRe.lastIndex,O=w.keywordPatternRe.exec(x)}H+=x.substring(k),q.addText(H)}function cn(){if(x==="")return;let k=null;if(typeof w.subLanguage=="string"){if(!e[w.subLanguage]){q.addText(x);return}k=f(w.subLanguage,x,!0,I[w.subLanguage]),I[w.subLanguage]=k._top}else k=d(x,w.subLanguage.length?w.subLanguage:null);w.relevance>0&&(U+=k.relevance),q.__addSublanguage(k._emitter,k.language)}function Le(){w.subLanguage!=null?cn():ke(),x=""}function _e(k,O){k!==""&&(q.startScope(O),q.addText(k),q.endScope())}function Pt(k,O){let H=1;const X=O.length-1;for(;H<=X;){if(!k._emit[H]){H++;continue}const fe=E.classNameAliases[k[H]]||k[H],Se=O[H];fe?_e(Se,fe):(x=Se,ke(),x=""),H++}}function an(k,O){return k.scope&&typeof k.scope=="string"&&q.openNode(E.classNameAliases[k.scope]||k.scope),k.beginScope&&(k.beginScope._wrap?(_e(x,E.classNameAliases[k.beginScope._wrap]||k.beginScope._wrap),x=""):k.beginScope._multi&&(Pt(k.beginScope,O),x="")),w=Object.create(k,{parent:{value:w}}),w}function Mn(k,O,H){let X=Gf(k.endRe,H);if(X){if(k["on:end"]){const fe=new ii(k);k["on:end"](O,fe),fe.isMatchIgnored&&(X=!1)}if(X){for(;k.endsParent&&k.parent;)k=k.parent;return k}}if(k.endsWithParent)return Mn(k.parent,O,H)}function $t(k){return w.matcher.regexIndex===0?(x+=k[0],1):(Y=!0,0)}function Br(k){const O=k[0],H=k.rule,X=new ii(H),fe=[H.__beforeBegin,H["on:begin"]];for(const Se of fe)if(Se&&(Se(k,X),X.isMatchIgnored))return $t(O);return H.skip?x+=O:(H.excludeBegin&&(x+=O),Le(),!H.returnBegin&&!H.excludeBegin&&(x=O)),an(H,k),H.returnBegin?0:O.length}function Pr(k){const O=k[0],H=C.substring(k.index),X=Mn(w,k,H);if(!X)return Ei;const fe=w;w.endScope&&w.endScope._wrap?(Le(),_e(O,w.endScope._wrap)):w.endScope&&w.endScope._multi?(Le(),Pt(w.endScope,k)):fe.skip?x+=O:(fe.returnEnd||fe.excludeEnd||(x+=O),Le(),fe.excludeEnd&&(x=O));do w.scope&&q.closeNode(),!w.skip&&!w.subLanguage&&(U+=w.relevance),w=w.parent;while(w!==X.parent);return X.starts&&an(X.starts,k),fe.returnEnd?0:O.length}function h(){const k=[];for(let O=w;O!==E;O=O.parent)O.scope&&k.unshift(O.scope);k.forEach(O=>q.openNode(O))}let g={};function _(k,O){const H=O&&O[0];if(x+=k,H==null)return Le(),0;if(g.type==="begin"&&O.type==="end"&&g.index===O.index&&H===""){if(x+=C.slice(O.index,O.index+1),!s){const X=new Error(`0 width match regex (${v})`);throw X.languageName=v,X.badRule=g.rule,X}return 1}if(g=O,O.type==="begin")return Br(O);if(O.type==="illegal"&&!j){const X=new Error('Illegal lexeme "'+H+'" for mode "'+(w.scope||"<unnamed>")+'"');throw X.mode=w,X}else if(O.type==="end"){const X=Pr(O);if(X!==Ei)return X}if(O.type==="illegal"&&H==="")return 1;if(G>1e5&&G>O.index*3)throw new Error("potential infinite loop, way more iterations than matches");return x+=H,H.length}const E=Q(v);if(!E)throw Mt(o.replace("{}",v)),new Error('Unknown language: "'+v+'"');const S=kp(E);let M="",w=ne||S;const I={},q=new i.__emitter(i);h();let x="",U=0,V=0,G=0,Y=!1;try{if(E.__emitTokens)E.__emitTokens(C,q);else{for(w.matcher.considerAll();;){G++,Y?Y=!1:w.matcher.considerAll(),w.matcher.lastIndex=V;const k=w.matcher.exec(C);if(!k)break;const O=C.substring(V,k.index),H=_(O,k);V=k.index+H}_(C.substring(V))}return q.finalize(),M=q.toHTML(),{language:v,value:M,relevance:U,illegal:!1,_emitter:q,_top:w}}catch(k){if(k.message&&k.message.includes("Illegal"))return{language:v,value:Bs(C),illegal:!0,relevance:0,_illegalBy:{message:k.message,index:V,context:C.slice(V-100,V+100),mode:k.mode,resultSoFar:M},_emitter:q};if(s)return{language:v,value:Bs(C),illegal:!1,relevance:0,errorRaised:k,_emitter:q,_top:w};throw k}}function p(v){const C={value:Bs(v),illegal:!1,relevance:0,_top:c,_emitter:new i.__emitter(i)};return C._emitter.addText(v),C}function d(v,C){C=C||i.languages||Object.keys(e);const j=p(v),ne=C.filter(Q).filter(ce).map(Le=>f(Le,v,!1));ne.unshift(j);const se=ne.sort((Le,_e)=>{if(Le.relevance!==_e.relevance)return _e.relevance-Le.relevance;if(Le.language&&_e.language){if(Q(Le.language).supersetOf===_e.language)return 1;if(Q(_e.language).supersetOf===Le.language)return-1}return 0}),[ue,ke]=se,cn=ue;return cn.secondBest=ke,cn}function m(v,C,j){const ne=C&&n[C]||j;v.classList.add("hljs"),v.classList.add(`language-${ne}`)}function b(v){let C=null;const j=l(v);if(a(j))return;if(Z("before:highlightElement",{el:v,language:j}),v.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",v);return}if(v.children.length>0&&(i.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(v)),i.throwUnescapedHTML))throw new Sp("One of your code blocks includes unescaped HTML.",v.innerHTML);C=v;const ne=C.textContent,se=j?u(ne,{language:j,ignoreIllegals:!0}):d(ne);v.innerHTML=se.value,v.dataset.highlighted="yes",m(v,j,se.language),v.result={language:se.language,re:se.relevance,relevance:se.relevance},se.secondBest&&(v.secondBest={language:se.secondBest.language,relevance:se.secondBest.relevance}),Z("after:highlightElement",{el:v,result:se,text:ne})}function R(v){i=wi(i,v)}const T=()=>{B(),Qt("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function D(){B(),Qt("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let N=!1;function B(){if(document.readyState==="loading"){N=!0;return}document.querySelectorAll(i.cssSelector).forEach(b)}function P(){N&&B()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",P,!1);function y(v,C){let j=null;try{j=C(t)}catch(ne){if(Mt("Language definition for '{}' could not be registered.".replace("{}",v)),s)Mt(ne);else throw ne;j=c}j.name||(j.name=v),e[v]=j,j.rawDefinition=C.bind(null,t),j.aliases&&z(j.aliases,{languageName:v})}function W(v){delete e[v];for(const C of Object.keys(n))n[C]===v&&delete n[C]}function $(){return Object.keys(e)}function Q(v){return v=(v||"").toLowerCase(),e[v]||e[n[v]]}function z(v,{languageName:C}){typeof v=="string"&&(v=[v]),v.forEach(j=>{n[j.toLowerCase()]=C})}function ce(v){const C=Q(v);return C&&!C.disableAutodetect}function L(v){v["before:highlightBlock"]&&!v["before:highlightElement"]&&(v["before:highlightElement"]=C=>{v["before:highlightBlock"](Object.assign({block:C.el},C))}),v["after:highlightBlock"]&&!v["after:highlightElement"]&&(v["after:highlightElement"]=C=>{v["after:highlightBlock"](Object.assign({block:C.el},C))})}function ee(v){L(v),r.push(v)}function A(v){const C=r.indexOf(v);C!==-1&&r.splice(C,1)}function Z(v,C){const j=v;r.forEach(function(ne){ne[j]&&ne[j](C)})}function F(v){return Qt("10.7.0","highlightBlock will be removed entirely in v12.0"),Qt("10.7.0","Please use highlightElement now."),b(v)}Object.assign(t,{highlight:u,highlightAuto:d,highlightAll:B,highlightElement:b,highlightBlock:F,configure:R,initHighlighting:T,initHighlightingOnLoad:D,registerLanguage:y,unregisterLanguage:W,listLanguages:$,getLanguage:Q,registerAliases:z,autoDetection:ce,inherit:wi,addPlugin:ee,removePlugin:A}),t.debugMode=function(){s=!1},t.safeMode=function(){s=!0},t.versionString=Cp,t.regex={concat:It,lookahead:fi,either:Ms,optional:Hf,anyNumberOfTimes:zf};for(const v in _r)typeof _r[v]=="object"&&ci(_r[v]);return Object.assign(t,_r),t},en=ki({});en.newInstance=()=>ki({});var Dp=en;en.HighlightJS=en,en.default=en;const ct=Ns(Dp);function Ai(t){const e=t.regex,n=e.concat(/[\p{L}_]/u,e.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,s={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},c=t.inherit(o,{begin:/\(/,end:/\)/}),i=t.inherit(t.APOS_STRING_MODE,{className:"string"}),a=t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[s]},{begin:/'/,end:/'/,contains:[s]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[o,a,i,c,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[o,c,a,i]}]}]},t.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},s,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[a]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:e.concat(/</,e.lookahead(e.concat(n,e.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:l}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}const Ci="[A-Za-z$_][0-9A-Za-z$_]*",Rp=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Lp=["true","false","null","undefined","NaN","Infinity"],Si=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Ti=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Di=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],qp=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Np=[].concat(Di,Si,Ti);function Ri(t){const e=t.regex,n=(C,{after:j})=>{const ne="</"+C[0].slice(1);return C.input.indexOf(ne,j)!==-1},r=Ci,s={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(C,j)=>{const ne=C[0].length+C.index,se=C.input[ne];if(se==="<"||se===","){j.ignoreMatch();return}se===">"&&(n(C,{after:ne})||j.ignoreMatch());let ue;const ke=C.input.substring(ne);if(ue=ke.match(/^\s*=/)){j.ignoreMatch();return}if((ue=ke.match(/^\s+extends\s+/))&&ue.index===0){j.ignoreMatch();return}}},i={$pattern:Ci,keyword:Rp,literal:Lp,built_in:Np,"variable.language":qp},a="[0-9](_?[0-9])*",l=`\\.(${a})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${a})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},d={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},m={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"css"}},b={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},R={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,p]},D={className:"comment",variants:[t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},N=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,m,b,R,{match:/\$\d+/},f];p.contains=N.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(N)});const B=[].concat(D,p.contains),P=B.concat([{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(B)}]),y={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:P},W={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,e.concat(r,"(",e.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},$={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Si,...Ti]}},Q={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},z={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[y],illegal:/%/},ce={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function L(C){return e.concat("(?!",C.join("|"),")")}const ee={match:e.concat(/\b/,L([...Di,"super","import"]),r,e.lookahead(/\(/)),className:"title.function",relevance:0},A={begin:e.concat(/\./,e.lookahead(e.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Z={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},y]},F="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",v={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(F)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[y]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:P,CLASS_REFERENCE:$},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),Q,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,m,b,R,D,{match:/\$\d+/},f,$,{className:"attr",begin:r+e.lookahead(":"),relevance:0},v,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[D,t.REGEXP_MODE,{className:"function",begin:F,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:P}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:o},{begin:c.begin,"on:begin":c.isTrulyOpeningTag,end:c.end}],subLanguage:"xml",contains:[{begin:c.begin,end:c.end,skip:!0,contains:["self"]}]}]},z,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[y,t.inherit(t.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},A,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[y]},ee,ce,W,Z,{match:/\$[(.]/}]}}const yr=(t,e)=>{const n=t.__vccOpts||t;for(const[r,s]of e)n[r]=s;return n},Ip={},Mp={class:"chat-button"};function Op(t,e){return K(),oe("button",Mp,[Dt(t.$slots,"default")])}const Fp=yr(Ip,[["render",Op]]),Bp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Pp=[pe("path",{fill:"currentColor",d:"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z"},null,-1)];function $p(t,e){return K(),oe("svg",Bp,[...Pp])}const Up={name:"mdi-close",render:$p};function zp(){const t=new Map;function e(s,o){const c=t.get(s);c&&c.splice(c.indexOf(o)>>>0,1)}function n(s,o){let c=t.get(s);return c?c.push(o):c=[o],t.set(s,c),()=>e(s,o)}function r(s,o){const c=t.get(s);c&&c.slice().forEach(async i=>{await i(o)})}return{on:n,off:e,emit:r}}function Hp(t){if(!document.querySelector(t)){const n=document.createElement("div");t.startsWith("#")&&(n.id=t.replace("#","")),t.startsWith(".")&&n.classList.add(t.replace(".","")),document.body.appendChild(n)}}const Ie=zp(),Vp={class:"chat-layout"},Gp={key:0,class:"chat-header"},jp={key:2,class:"chat-footer"},Kp=ze({__name:"Layout",setup(t){const e=Te(null);function n(){const r=e.value;r&&(r.scrollTop=r.scrollHeight)}return dt(()=>{Ie.on("scrollToBottom",n),window.addEventListener("resize",n)}),hs(()=>{Ie.off("scrollToBottom",n),window.removeEventListener("resize",n)}),(r,s)=>(K(),oe("main",Vp,[r.$slots.header?(K(),oe("div",Gp,[Dt(r.$slots,"header")])):Oe("",!0),r.$slots.default?(K(),oe("div",{key:1,ref_key:"chatBodyRef",ref:e,class:"chat-body"},[Dt(r.$slots,"default")],512)):Oe("",!0),r.$slots.footer?(K(),oe("div",jp,[Dt(r.$slots,"footer")])):Oe("",!0)]))}}),Tn={webhookUrl:"http://localhost:5678",webhookConfig:{method:"POST",headers:{}},target:"#n8n-chat",mode:"window",loadPreviousSession:!0,chatInputKey:"chatInput",chatSessionKey:"sessionId",defaultLanguage:"en",showWelcomeScreen:!1,initialMessages:["Hi there! 👋","My name is Nathan. How can I assist you today?"],i18n:{en:{title:"Hi there! 👋",subtitle:"Start a chat. We're here to help you 24/7.",footer:"",getStarted:"New Conversation",inputPlaceholder:"Type your question..",closeButtonTooltip:"Close chat"}},theme:{}},Zp="#n8n-chat",Li="n8n-chat/sessionId",qi="Chat",Ni="ChatOptions";function Ps(){return Yt(qi)}function Dn(){return{options:Yt(Ni)}}function xr(){const{options:t}=Dn(),e=(t==null?void 0:t.defaultLanguage)??"en";function n(s){var c,i;const o=(i=(c=t==null?void 0:t.i18n)==null?void 0:c[e])==null?void 0:i[s];return xe(o)?o.value:o??s}function r(s){var o,c;return!!((c=(o=t==null?void 0:t.i18n)==null?void 0:o[e])!=null&&c[s])}return{t:n,te:r}}const Wp={class:"chat-get-started"},Jp=ze({__name:"GetStarted",setup(t){const{t:e}=xr();return(n,r)=>(K(),oe("div",Wp,[ge(Fp,{onClick:r[0]||(r[0]=s=>n.$emit("click:button"))},{default:st(()=>[Cs(fn(re(e)("getStarted")),1)]),_:1})]))}}),Yp={},Xp={class:"chat-powered-by"},Qp=pe("a",{href:"https://n8n.io?utm_source=n8n-external&utm_medium=widget-powered-by"},"n8n",-1);function eh(t,e){return K(),oe("div",Xp,[Cs(" Powered by "),Qp])}const th=yr(Yp,[["render",eh]]),nh={class:"chat-get-started-footer"},rh={key:0},sh=ze({__name:"GetStartedFooter",setup(t){const{t:e,te:n}=xr();return(r,s)=>(K(),oe("div",nh,[re(n)("footer")?(K(),oe("div",rh,fn(re(e)("footer")),1)):Oe("",!0),ge(th)]))}});var le={},Ii={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
22
|
-
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},$s=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,tn={},Mi={};function oh(t){var e,n,r=Mi[t];if(r)return r;for(r=Mi[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e<t.length;e++)r[t.charCodeAt(e)]=t[e];return r}function wr(t,e,n){var r,s,o,c,i,a="";for(typeof e!="string"&&(n=e,e=wr.defaultChars),typeof n>"u"&&(n=!0),i=oh(e),r=0,s=t.length;r<s;r++){if(o=t.charCodeAt(r),n&&o===37&&r+2<s&&/^[0-9a-f]{2}$/i.test(t.slice(r+1,r+3))){a+=t.slice(r,r+3),r+=2;continue}if(o<128){a+=i[o];continue}if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&r+1<s&&(c=t.charCodeAt(r+1),c>=56320&&c<=57343)){a+=encodeURIComponent(t[r]+t[r+1]),r++;continue}a+="%EF%BF%BD";continue}a+=encodeURIComponent(t[r])}return a}wr.defaultChars=";/?:@&=+$,-_.!~*'()#",wr.componentChars="-_.!~*'()";var ch=wr,Oi={};function ih(t){var e,n,r=Oi[t];if(r)return r;for(r=Oi[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),r.push(n);for(e=0;e<t.length;e++)n=t.charCodeAt(e),r[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return r}function Er(t,e){var n;return typeof e!="string"&&(e=Er.defaultChars),n=ih(e),t.replace(/(%[a-f0-9]{2})+/gi,function(r){var s,o,c,i,a,l,u,f="";for(s=0,o=r.length;s<o;s+=3){if(c=parseInt(r.slice(s+1,s+3),16),c<128){f+=n[c];continue}if((c&224)===192&&s+3<o&&(i=parseInt(r.slice(s+4,s+6),16),(i&192)===128)){u=c<<6&1984|i&63,u<128?f+="��":f+=String.fromCharCode(u),s+=3;continue}if((c&240)===224&&s+6<o&&(i=parseInt(r.slice(s+4,s+6),16),a=parseInt(r.slice(s+7,s+9),16),(i&192)===128&&(a&192)===128)){u=c<<12&61440|i<<6&4032|a&63,u<2048||u>=55296&&u<=57343?f+="���":f+=String.fromCharCode(u),s+=6;continue}if((c&248)===240&&s+9<o&&(i=parseInt(r.slice(s+4,s+6),16),a=parseInt(r.slice(s+7,s+9),16),l=parseInt(r.slice(s+10,s+12),16),(i&192)===128&&(a&192)===128&&(l&192)===128)){u=c<<18&1835008|i<<12&258048|a<<6&4032|l&63,u<65536||u>1114111?f+="����":(u-=65536,f+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),s+=9;continue}f+="�"}return f})}Er.defaultChars=";/?:@&=+$,#",Er.componentChars="";var ah=Er,lh=function(e){var n="";return n+=e.protocol||"",n+=e.slashes?"//":"",n+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?n+="["+e.hostname+"]":n+=e.hostname||"",n+=e.port?":"+e.port:"",n+=e.pathname||"",n+=e.search||"",n+=e.hash||"",n};function kr(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var uh=/^([a-z0-9.+-]+:)/i,fh=/:[0-9]*$/,ph=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,hh=["<",">",'"',"`"," ","\r",`
|
|
23
|
-
`," "],
|
|
24
|
-
`},Ye.fence=function(t,e,n,r,s){var o=t[e],c=o.info?
|
|
20
|
+
**/const ef="http://www.w3.org/2000/svg",tf="http://www.w3.org/1998/Math/MathML",bt=typeof document<"u"?document:null,Hc=bt&&bt.createElement("template"),nf={insert:(t,e,n)=>{e.insertBefore(t,n||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,n,r)=>{const s=e==="svg"?bt.createElementNS(ef,t):e==="mathml"?bt.createElementNS(tf,t):bt.createElement(t,n?{is:n}:void 0);return t==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:t=>bt.createTextNode(t),createComment:t=>bt.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>bt.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,n,r,s,o){const c=n?n.previousSibling:e.lastChild;if(s&&(s===o||s.nextSibling))for(;e.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Hc.innerHTML=r==="svg"?`<svg>${t}</svg>`:r==="mathml"?`<math>${t}</math>`:t;const i=Hc.content;if(r==="svg"||r==="mathml"){const a=i.firstChild;for(;a.firstChild;)i.appendChild(a.firstChild);i.removeChild(a)}e.insertBefore(i,n)}return[c?c.nextSibling:e.firstChild,n?n.previousSibling:e.lastChild]}},_t="transition",En="animation",kn=Symbol("_vtc"),dr=(t,{slots:e})=>zc(uu,rf(t),e);dr.displayName="Transition";const Vc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};dr.props=ve({},ac,Vc);const qt=(t,e=[])=>{J(t)?t.forEach(n=>n(...e)):t&&t(...e)},Gc=t=>t?J(t)?t.some(e=>e.length>1):t.length>1:!1;function rf(t){const e={};for(const L in t)L in Vc||(e[L]=t[L]);if(t.css===!1)return e;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:c=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:a=o,appearActiveClass:l=c,appearToClass:u=i,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:d=`${n}-leave-to`}=t,m=sf(s),b=m&&m[0],R=m&&m[1],{onBeforeEnter:T,onEnter:D,onEnterCancelled:N,onLeave:B,onLeaveCancelled:P,onBeforeAppear:y=T,onAppear:W=D,onAppearCancelled:$=N}=e,Q=(L,ee,A)=>{Nt(L,ee?u:i),Nt(L,ee?l:c),A&&A()},z=(L,ee)=>{L._isLeaving=!1,Nt(L,f),Nt(L,d),Nt(L,p),ee&&ee()},ce=L=>(ee,A)=>{const Z=L?W:D,F=()=>Q(ee,L,A);qt(Z,[ee,F]),jc(()=>{Nt(ee,L?a:o),vt(ee,L?u:i),Gc(Z)||Kc(ee,r,b,F)})};return ve(e,{onBeforeEnter(L){qt(T,[L]),vt(L,o),vt(L,c)},onBeforeAppear(L){qt(y,[L]),vt(L,a),vt(L,l)},onEnter:ce(!1),onAppear:ce(!0),onLeave(L,ee){L._isLeaving=!0;const A=()=>z(L,ee);vt(L,f),af(),vt(L,p),jc(()=>{L._isLeaving&&(Nt(L,f),vt(L,d),Gc(B)||Kc(L,r,R,A))}),qt(B,[L,A])},onEnterCancelled(L){Q(L,!1),qt(N,[L])},onAppearCancelled(L){Q(L,!0),qt($,[L])},onLeaveCancelled(L){z(L),qt(P,[L])}})}function sf(t){if(t==null)return null;if(de(t))return[Ds(t.enter),Ds(t.leave)];{const e=Ds(t);return[e,e]}}function Ds(t){return sl(t)}function vt(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[kn]||(t[kn]=new Set)).add(e)}function Nt(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.remove(r));const n=t[kn];n&&(n.delete(e),n.size||(t[kn]=void 0))}function jc(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let of=0;function Kc(t,e,n,r){const s=t._endId=++of,o=()=>{s===t._endId&&r()};if(n)return setTimeout(o,n);const{type:c,timeout:i,propCount:a}=cf(t,e);if(!c)return r();const l=c+"end";let u=0;const f=()=>{t.removeEventListener(l,p),o()},p=d=>{d.target===t&&++u>=a&&f()};setTimeout(()=>{u<a&&f()},i+1),t.addEventListener(l,p)}function cf(t,e){const n=window.getComputedStyle(t),r=m=>(n[m]||"").split(", "),s=r(`${_t}Delay`),o=r(`${_t}Duration`),c=Zc(s,o),i=r(`${En}Delay`),a=r(`${En}Duration`),l=Zc(i,a);let u=null,f=0,p=0;e===_t?c>0&&(u=_t,f=c,p=o.length):e===En?l>0&&(u=En,f=l,p=a.length):(f=Math.max(c,l),u=f>0?c>l?_t:En:null,p=u?u===_t?o.length:a.length:0);const d=u===_t&&/\b(transform|all)(,|$)/.test(r(`${_t}Property`).toString());return{type:u,timeout:f,propCount:p,hasTransform:d}}function Zc(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,r)=>Wc(n)+Wc(t[r])))}function Wc(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function af(){return document.body.offsetHeight}function lf(t,e,n){const r=t[kn];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const gr=Symbol("_vod"),Jc=Symbol("_vsh"),uf={beforeMount(t,{value:e},{transition:n}){t[gr]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):An(t,e)},mounted(t,{value:e},{transition:n}){n&&e&&n.enter(t)},updated(t,{value:e,oldValue:n},{transition:r}){!e!=!n&&(r?e?(r.beforeEnter(t),An(t,!0),r.enter(t)):r.leave(t,()=>{An(t,!1)}):An(t,e))},beforeUnmount(t,{value:e}){An(t,e)}};function An(t,e){t.style.display=e?t[gr]:"none",t[Jc]=!e}const ff=Symbol(""),pf=/(^|;)\s*display\s*:/;function hf(t,e,n){const r=t.style,s=me(n);let o=!1;if(n&&!s){if(e)if(me(e))for(const c of e.split(";")){const i=c.slice(0,c.indexOf(":")).trim();n[i]==null&&mr(r,i,"")}else for(const c in e)n[c]==null&&mr(r,c,"");for(const c in n)c==="display"&&(o=!0),mr(r,c,n[c])}else if(s){if(e!==n){const c=r[ff];c&&(n+=";"+c),r.cssText=n,o=pf.test(n)}}else e&&t.removeAttribute("style");gr in t&&(t[gr]=o?r.display:"",t[Jc]&&(r.display="none"))}const Yc=/\s*!important$/;function mr(t,e,n){if(J(n))n.forEach(r=>mr(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=df(t,e);Yc.test(n)?t.setProperty(Et(r),n.replace(Yc,""),"important"):t[r]=n}}const Xc=["Webkit","Moz","ms"],Rs={};function df(t,e){const n=Rs[e];if(n)return n;let r=Ke(e);if(r!=="filter"&&r in t)return Rs[e]=r;r=Pn(r);for(let s=0;s<Xc.length;s++){const o=Xc[s]+r;if(o in t)return Rs[e]=o}return e}const Qc="http://www.w3.org/1999/xlink";function gf(t,e,n,r,s){if(r&&e.startsWith("xlink:"))n==null?t.removeAttributeNS(Qc,e.slice(6,e.length)):t.setAttributeNS(Qc,e,n);else{const o=ll(e);n==null||o&&!wo(n)?t.removeAttribute(e):t.setAttribute(e,o?"":n)}}function mf(t,e,n,r,s,o,c){if(e==="innerHTML"||e==="textContent"){r&&c(r,s,o),t[e]=n??"";return}const i=t.tagName;if(e==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?t.getAttribute("value")||"":t.value,u=n??"";(l!==u||!("_value"in t))&&(t.value=u),n==null&&t.removeAttribute(e),t._value=n;return}let a=!1;if(n===""||n==null){const l=typeof t[e];l==="boolean"?n=wo(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{t[e]=n}catch{}a&&t.removeAttribute(e)}function Xt(t,e,n,r){t.addEventListener(e,n,r)}function bf(t,e,n,r){t.removeEventListener(e,n,r)}const ei=Symbol("_vei");function _f(t,e,n,r,s=null){const o=t[ei]||(t[ei]={}),c=o[e];if(r&&c)c.value=r;else{const[i,a]=vf(e);if(r){const l=o[e]=wf(r,s);Xt(t,i,l,a)}else c&&(bf(t,i,c,a),o[e]=void 0)}}const ti=/(?:Once|Passive|Capture)$/;function vf(t){let e;if(ti.test(t)){e={};let r;for(;r=t.match(ti);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):Et(t.slice(2)),e]}let Ls=0;const yf=Promise.resolve(),xf=()=>Ls||(yf.then(()=>Ls=0),Ls=Date.now());function wf(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;$e(Ef(r,n.value),e,5,[r])};return n.value=t,n.attached=xf(),n}function Ef(t,e){if(J(e)){const n=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{n.call(t),t._stopped=!0},e.map(r=>s=>!s._stopped&&r&&r(s))}else return e}const ni=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,kf=(t,e,n,r,s,o,c,i,a)=>{const l=s==="svg";e==="class"?lf(t,r,l):e==="style"?hf(t,n,r):On(e)?Ur(e)||_f(t,e,n,r,c):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Af(t,e,r,l))?mf(t,e,r,o,c,i,a):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),gf(t,e,r,l))};function Af(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&ni(e)&&te(n));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const s=t.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return ni(e)&&me(n)?!1:e in t}const ri=t=>{const e=t.props["onUpdate:modelValue"]||!1;return J(e)?n=>$n(e,n):e};function Cf(t){t.target.composing=!0}function si(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const qs=Symbol("_assign"),Sf={created(t,{modifiers:{lazy:e,trim:n,number:r}},s){t[qs]=ri(s);const o=r||s.props&&s.props.type==="number";Xt(t,e?"change":"input",c=>{if(c.target.composing)return;let i=t.value;n&&(i=i.trim()),o&&(i=Gr(i)),t[qs](i)}),n&&Xt(t,"change",()=>{t.value=t.value.trim()}),e||(Xt(t,"compositionstart",Cf),Xt(t,"compositionend",si),Xt(t,"change",si))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,modifiers:{lazy:n,trim:r,number:s}},o){if(t[qs]=ri(o),t.composing)return;const c=s||t.type==="number"?Gr(t.value):t.value,i=e??"";c!==i&&(document.activeElement===t&&t.type!=="range"&&(n||r&&t.value.trim()===i)||(t.value=i))}},Tf=["ctrl","shift","alt","meta"],Df={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,e)=>Tf.some(n=>t[`${n}Key`]&&!e.includes(n))},Rf=(t,e)=>{const n=t._withMods||(t._withMods={}),r=e.join(".");return n[r]||(n[r]=(s,...o)=>{for(let c=0;c<e.length;c++){const i=Df[e[c]];if(i&&i(s,e))return}return t(s,...o)})},Lf={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},qf=(t,e)=>{const n=t._withKeys||(t._withKeys={}),r=e.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=Et(s.key);if(e.some(c=>c===o||Lf[c]===o))return t(s)})},Nf=ve({patchProp:kf},nf);let oi;function If(){return oi||(oi=Mu(Nf))}const Mf=(...t)=>{const e=If().createApp(...t),{mount:n}=e;return e.mount=r=>{const s=Ff(r);if(!s)return;const o=e._component;!te(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const c=n(s,!1,Of(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),c},e};function Of(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Ff(t){return me(t)?document.querySelector(t):t}const Cn={webhookUrl:"http://localhost:5678",webhookConfig:{method:"POST",headers:{}},target:"#n8n-chat",mode:"window",loadPreviousSession:!0,chatInputKey:"chatInput",chatSessionKey:"sessionId",defaultLanguage:"en",showWelcomeScreen:!1,initialMessages:["Hi there! 👋","My name is Nathan. How can I assist you today?"],i18n:{en:{title:"Hi there! 👋",subtitle:"Start a chat. We're here to help you 24/7.",footer:"",getStarted:"New Conversation",inputPlaceholder:"Type your question..",closeButtonTooltip:"Close chat"}},theme:{}},Bf="#n8n-chat",ci="n8n-chat/sessionId",ii="Chat",ai="ChatOptions";for(var Ee=[],Ns=0;Ns<256;++Ns)Ee.push((Ns+256).toString(16).slice(1));function Pf(t,e=0){return(Ee[t[e+0]]+Ee[t[e+1]]+Ee[t[e+2]]+Ee[t[e+3]]+"-"+Ee[t[e+4]]+Ee[t[e+5]]+"-"+Ee[t[e+6]]+Ee[t[e+7]]+"-"+Ee[t[e+8]]+Ee[t[e+9]]+"-"+Ee[t[e+10]]+Ee[t[e+11]]+Ee[t[e+12]]+Ee[t[e+13]]+Ee[t[e+14]]+Ee[t[e+15]]).toLowerCase()}var br,$f=new Uint8Array(16);function Uf(){if(!br&&(br=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!br))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return br($f)}var zf=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const li={randomUUID:zf};function Sn(t,e,n){if(li.randomUUID&&!e&&!t)return li.randomUUID();t=t||{};var r=t.random||(t.rng||Uf)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,Pf(r)}async function Hf(){return""}async function Is(...t){var o,c;const e=await Hf(),n=(o=t[1])==null?void 0:o.body,r={...e?{authorization:`Bearer ${e}`}:{},...(c=t[1])==null?void 0:c.headers};return n instanceof FormData?delete r["Content-Type"]:r["Content-Type"]="application/json",await(await fetch(t[0],{...t[1],mode:"cors",cache:"no-cache",headers:r})).json()}async function ui(t,e={},n={}){let r=t;return Object.keys(e).length>0&&(r=`${r}?${new URLSearchParams(e).toString()}`),await Is(r,{...n,method:"GET"})}async function fi(t,e={},n={}){return await Is(t,{...n,method:"POST",body:JSON.stringify(e)})}async function Vf(t,e={},n=[],r={}){const s=new FormData;for(const o in e)s.append(o,e[o]);for(const o of n)s.append("files",o);return await Is(t,{...r,method:"POST",body:s})}async function Gf(t,e){var r,s;return await(((r=e.webhookConfig)==null?void 0:r.method)==="POST"?fi:ui)(`${e.webhookUrl}`,{action:"loadPreviousSession",[e.chatSessionKey]:t,...e.metadata?{metadata:e.metadata}:{}},{headers:(s=e.webhookConfig)==null?void 0:s.headers})}async function jf(t,e,n,r){var o,c,i;return e.length>0?await Vf(`${r.webhookUrl}`,{action:"sendMessage",[r.chatSessionKey]:n,[r.chatInputKey]:t,...r.metadata?{metadata:r.metadata}:{}},e,{headers:(o=r.webhookConfig)==null?void 0:o.headers}):await(((c=r.webhookConfig)==null?void 0:c.method)==="POST"?fi:ui)(`${r.webhookUrl}`,{action:"sendMessage",[r.chatSessionKey]:n,[r.chatInputKey]:t,...r.metadata?{metadata:r.metadata}:{}},{headers:(i=r.webhookConfig)==null?void 0:i.headers})}function Kf(){const t=new Map;function e(s,o){const c=t.get(s);c&&c.splice(c.indexOf(o)>>>0,1)}function n(s,o){let c=t.get(s);return c?c.push(o):c=[o],t.set(s,c),()=>e(s,o)}function r(s,o){const c=t.get(s);c&&c.slice().forEach(async i=>{await i(o)})}return{on:n,off:e,emit:r}}function Zf(t){if(!document.querySelector(t)){const n=document.createElement("div");t.startsWith("#")&&(n.id=t.replace("#","")),t.startsWith(".")&&n.classList.add(t.replace(".","")),document.body.appendChild(n)}}const Ie=Kf(),Wf={install(t,e){t.provide(ai,e);const n=Te([]),r=Te(null),s=Te(!1),o=Re(()=>(e.initialMessages??[]).map(u=>({id:Sn(),text:u,sender:"bot",createdAt:new Date().toISOString()})));async function c(u,f=[]){const p={id:Sn(),text:u,sender:"user",files:f,createdAt:new Date().toISOString()};n.value.push(p),s.value=!0,Jt(()=>{Ie.emit("scrollToBottom")});const d=await jf(u,f,r.value,e);let m=d.output??d.text??"";if(m===""&&Object.keys(d).length>0)try{m=JSON.stringify(d,null,2)}catch{}const b={id:Sn(),text:m,sender:"bot",createdAt:new Date().toISOString()};n.value.push(b),s.value=!1,Jt(()=>{Ie.emit("scrollToBottom")})}async function i(){if(!e.loadPreviousSession)return;const u=localStorage.getItem(ci)??Sn(),f=await Gf(u,e),p=new Date().toISOString();return n.value=((f==null?void 0:f.data)||[]).map((d,m)=>({id:`${m}`,text:d.kwargs.content,sender:d.id.includes("HumanMessage")?"user":"bot",createdAt:p})),n.value.length&&(r.value=u),u}async function a(){r.value=Sn(),localStorage.setItem(ci,r.value)}const l={initialMessages:o,messages:n,currentSessionId:r,waitingForResponse:s,loadPreviousSession:i,startNewSession:a,sendMessage:c};t.provide(ii,l),t.config.globalProperties.$chat=l}};function Ms(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Jf(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var n=function r(){return this instanceof r?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(r){var s=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return t[r]}})}),n}function pi(t){return t instanceof Map?t.clear=t.delete=t.set=function(){throw new Error("map is read-only")}:t instanceof Set&&(t.add=t.clear=t.delete=function(){throw new Error("set is read-only")}),Object.freeze(t),Object.getOwnPropertyNames(t).forEach(e=>{const n=t[e],r=typeof n;(r==="object"||r==="function")&&!Object.isFrozen(n)&&pi(n)}),t}class hi{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function di(t){return t.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}function yt(t,...e){const n=Object.create(null);for(const r in t)n[r]=t[r];return e.forEach(function(r){for(const s in r)n[s]=r[s]}),n}const Yf="</span>",gi=t=>!!t.scope,Xf=(t,{prefix:e})=>{if(t.startsWith("language:"))return t.replace("language:","language-");if(t.includes(".")){const n=t.split(".");return[`${e}${n.shift()}`,...n.map((r,s)=>`${r}${"_".repeat(s+1)}`)].join(" ")}return`${e}${t}`};class Qf{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=di(e)}openNode(e){if(!gi(e))return;const n=Xf(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){gi(e)&&(this.buffer+=Yf)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const mi=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class Os{constructor(){this.rootNode=mi(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const n=mi({scope:e});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){return typeof n=="string"?e.addText(n):n.children&&(e.openNode(n),n.children.forEach(r=>this._walk(e,r)),e.closeNode(n)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(n=>typeof n=="string")?e.children=[e.children.join("")]:e.children.forEach(n=>{Os._collapse(n)}))}}class ep extends Os{constructor(e){super(),this.options=e}addText(e){e!==""&&this.add(e)}startScope(e){this.openNode(e)}endScope(){this.closeNode()}__addSublanguage(e,n){const r=e.root;n&&(r.scope=`language:${n}`),this.add(r)}toHTML(){return new Qf(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Tn(t){return t?typeof t=="string"?t:t.source:null}function bi(t){return It("(?=",t,")")}function tp(t){return It("(?:",t,")*")}function np(t){return It("(?:",t,")?")}function It(...t){return t.map(n=>Tn(n)).join("")}function rp(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function Fs(...t){return"("+(rp(t).capture?"":"?:")+t.map(r=>Tn(r)).join("|")+")"}function _i(t){return new RegExp(t.toString()+"|").exec("").length-1}function sp(t,e){const n=t&&t.exec(e);return n&&n.index===0}const op=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Bs(t,{joinWith:e}){let n=0;return t.map(r=>{n+=1;const s=n;let o=Tn(r),c="";for(;o.length>0;){const i=op.exec(o);if(!i){c+=o;break}c+=o.substring(0,i.index),o=o.substring(i.index+i[0].length),i[0][0]==="\\"&&i[1]?c+="\\"+String(Number(i[1])+s):(c+=i[0],i[0]==="("&&n++)}return c}).map(r=>`(${r})`).join(e)}const cp=/\b\B/,vi="[a-zA-Z]\\w*",Ps="[a-zA-Z_]\\w*",yi="\\b\\d+(\\.\\d+)?",xi="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",wi="\\b(0b[01]+)",ip="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",ap=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=It(e,/.*\b/,t.binary,/\b.*/)),yt({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},t)},Dn={begin:"\\\\[\\s\\S]",relevance:0},lp={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Dn]},up={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Dn]},fp={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},_r=function(t,e,n={}){const r=yt({scope:"comment",begin:t,end:e,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const s=Fs("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:It(/[ ]+/,"(",s,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},pp=_r("//","$"),hp=_r("/\\*","\\*/"),dp=_r("#","$"),gp={scope:"number",begin:yi,relevance:0},mp={scope:"number",begin:xi,relevance:0},bp={scope:"number",begin:wi,relevance:0},_p={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Dn,{begin:/\[/,end:/\]/,relevance:0,contains:[Dn]}]},vp={scope:"title",begin:vi,relevance:0},yp={scope:"title",begin:Ps,relevance:0},xp={begin:"\\.\\s*"+Ps,relevance:0};var vr=Object.freeze({__proto__:null,APOS_STRING_MODE:lp,BACKSLASH_ESCAPE:Dn,BINARY_NUMBER_MODE:bp,BINARY_NUMBER_RE:wi,COMMENT:_r,C_BLOCK_COMMENT_MODE:hp,C_LINE_COMMENT_MODE:pp,C_NUMBER_MODE:mp,C_NUMBER_RE:xi,END_SAME_AS_BEGIN:function(t){return Object.assign(t,{"on:begin":(e,n)=>{n.data._beginMatch=e[1]},"on:end":(e,n)=>{n.data._beginMatch!==e[1]&&n.ignoreMatch()}})},HASH_COMMENT_MODE:dp,IDENT_RE:vi,MATCH_NOTHING_RE:cp,METHOD_GUARD:xp,NUMBER_MODE:gp,NUMBER_RE:yi,PHRASAL_WORDS_MODE:fp,QUOTE_STRING_MODE:up,REGEXP_MODE:_p,RE_STARTERS_RE:ip,SHEBANG:ap,TITLE_MODE:vp,UNDERSCORE_IDENT_RE:Ps,UNDERSCORE_TITLE_MODE:yp});function wp(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function Ep(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function kp(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=wp,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function Ap(t,e){Array.isArray(t.illegal)&&(t.illegal=Fs(...t.illegal))}function Cp(t,e){if(t.match){if(t.begin||t.end)throw new Error("begin & end are not supported with match");t.begin=t.match,delete t.match}}function Sp(t,e){t.relevance===void 0&&(t.relevance=1)}const Tp=(t,e)=>{if(!t.beforeMatch)return;if(t.starts)throw new Error("beforeMatch cannot be used with starts");const n=Object.assign({},t);Object.keys(t).forEach(r=>{delete t[r]}),t.keywords=n.keywords,t.begin=It(n.beforeMatch,bi(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},Dp=["of","and","for","in","not","or","if","then","parent","list","value"],Rp="keyword";function Ei(t,e,n=Rp){const r=Object.create(null);return typeof t=="string"?s(n,t.split(" ")):Array.isArray(t)?s(n,t):Object.keys(t).forEach(function(o){Object.assign(r,Ei(t[o],e,o))}),r;function s(o,c){e&&(c=c.map(i=>i.toLowerCase())),c.forEach(function(i){const a=i.split("|");r[a[0]]=[o,Lp(a[0],a[1])]})}}function Lp(t,e){return e?Number(e):qp(t)?0:1}function qp(t){return Dp.includes(t.toLowerCase())}const ki={},Mt=t=>{console.error(t)},Ai=(t,...e)=>{console.log(`WARN: ${t}`,...e)},Qt=(t,e)=>{ki[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),ki[`${t}/${e}`]=!0)},yr=new Error;function Ci(t,e,{key:n}){let r=0;const s=t[n],o={},c={};for(let i=1;i<=e.length;i++)c[i+r]=s[i],o[i+r]=!0,r+=_i(e[i-1]);t[n]=c,t[n]._emit=o,t[n]._multi=!0}function Np(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw Mt("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),yr;if(typeof t.beginScope!="object"||t.beginScope===null)throw Mt("beginScope must be object"),yr;Ci(t,t.begin,{key:"beginScope"}),t.begin=Bs(t.begin,{joinWith:""})}}function Ip(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw Mt("skip, excludeEnd, returnEnd not compatible with endScope: {}"),yr;if(typeof t.endScope!="object"||t.endScope===null)throw Mt("endScope must be object"),yr;Ci(t,t.end,{key:"endScope"}),t.end=Bs(t.end,{joinWith:""})}}function Mp(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function Op(t){Mp(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),Np(t),Ip(t)}function Fp(t){function e(c,i){return new RegExp(Tn(c),"m"+(t.case_insensitive?"i":"")+(t.unicodeRegex?"u":"")+(i?"g":""))}class n{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(i,a){a.position=this.position++,this.matchIndexes[this.matchAt]=a,this.regexes.push([a,i]),this.matchAt+=_i(i)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const i=this.regexes.map(a=>a[1]);this.matcherRe=e(Bs(i,{joinWith:"|"}),!0),this.lastIndex=0}exec(i){this.matcherRe.lastIndex=this.lastIndex;const a=this.matcherRe.exec(i);if(!a)return null;const l=a.findIndex((f,p)=>p>0&&f!==void 0),u=this.matchIndexes[l];return a.splice(0,l),Object.assign(a,u)}}class r{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(i){if(this.multiRegexes[i])return this.multiRegexes[i];const a=new n;return this.rules.slice(i).forEach(([l,u])=>a.addRule(l,u)),a.compile(),this.multiRegexes[i]=a,a}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(i,a){this.rules.push([i,a]),a.type==="begin"&&this.count++}exec(i){const a=this.getMatcher(this.regexIndex);a.lastIndex=this.lastIndex;let l=a.exec(i);if(this.resumingScanAtSamePosition()&&!(l&&l.index===this.lastIndex)){const u=this.getMatcher(0);u.lastIndex=this.lastIndex+1,l=u.exec(i)}return l&&(this.regexIndex+=l.position+1,this.regexIndex===this.count&&this.considerAll()),l}}function s(c){const i=new r;return c.contains.forEach(a=>i.addRule(a.begin,{rule:a,type:"begin"})),c.terminatorEnd&&i.addRule(c.terminatorEnd,{type:"end"}),c.illegal&&i.addRule(c.illegal,{type:"illegal"}),i}function o(c,i){const a=c;if(c.isCompiled)return a;[Ep,Cp,Op,Tp].forEach(u=>u(c,i)),t.compilerExtensions.forEach(u=>u(c,i)),c.__beforeBegin=null,[kp,Ap,Sp].forEach(u=>u(c,i)),c.isCompiled=!0;let l=null;return typeof c.keywords=="object"&&c.keywords.$pattern&&(c.keywords=Object.assign({},c.keywords),l=c.keywords.$pattern,delete c.keywords.$pattern),l=l||/\w+/,c.keywords&&(c.keywords=Ei(c.keywords,t.case_insensitive)),a.keywordPatternRe=e(l,!0),i&&(c.begin||(c.begin=/\B|\b/),a.beginRe=e(a.begin),!c.end&&!c.endsWithParent&&(c.end=/\B|\b/),c.end&&(a.endRe=e(a.end)),a.terminatorEnd=Tn(a.end)||"",c.endsWithParent&&i.terminatorEnd&&(a.terminatorEnd+=(c.end?"|":"")+i.terminatorEnd)),c.illegal&&(a.illegalRe=e(c.illegal)),c.contains||(c.contains=[]),c.contains=[].concat(...c.contains.map(function(u){return Bp(u==="self"?c:u)})),c.contains.forEach(function(u){o(u,a)}),c.starts&&o(c.starts,i),a.matcher=s(a),a}if(t.compilerExtensions||(t.compilerExtensions=[]),t.contains&&t.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return t.classNameAliases=yt(t.classNameAliases||{}),o(t)}function Si(t){return t?t.endsWithParent||Si(t.starts):!1}function Bp(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return yt(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:Si(t)?yt(t,{starts:t.starts?yt(t.starts):null}):Object.isFrozen(t)?yt(t):t}var Pp="11.9.0";class $p extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const $s=di,Ti=yt,Di=Symbol("nomatch"),Up=7,Ri=function(t){const e=Object.create(null),n=Object.create(null),r=[];let s=!0;const o="Could not find the language '{}', did you forget to load/include a language module?",c={disableAutodetect:!0,name:"Plain text",contains:[]};let i={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:ep};function a(v){return i.noHighlightRe.test(v)}function l(v){let C=v.className+" ";C+=v.parentNode?v.parentNode.className:"";const j=i.languageDetectRe.exec(C);if(j){const ne=Q(j[1]);return ne||(Ai(o.replace("{}",j[1])),Ai("Falling back to no-highlight mode for this block.",v)),ne?j[1]:"no-highlight"}return C.split(/\s+/).find(ne=>a(ne)||Q(ne))}function u(v,C,j){let ne="",se="";typeof C=="object"?(ne=v,j=C.ignoreIllegals,se=C.language):(Qt("10.7.0","highlight(lang, code, ...args) has been deprecated."),Qt("10.7.0",`Please use highlight(code, options) instead.
|
|
21
|
+
https://github.com/highlightjs/highlight.js/issues/2277`),se=v,ne=C),j===void 0&&(j=!0);const ue={code:ne,language:se};Z("before:highlight",ue);const ke=ue.result?ue.result:f(ue.language,ue.code,j);return ke.code=ue.code,Z("after:highlight",ke),ke}function f(v,C,j,ne){const se=Object.create(null);function ue(k,O){return k.keywords[O]}function ke(){if(!w.keywords){q.addText(x);return}let k=0;w.keywordPatternRe.lastIndex=0;let O=w.keywordPatternRe.exec(x),H="";for(;O;){H+=x.substring(k,O.index);const X=E.case_insensitive?O[0].toLowerCase():O[0],fe=ue(w,X);if(fe){const[Se,$r]=fe;if(q.addText(H),H="",se[X]=(se[X]||0)+1,se[X]<=Up&&(U+=$r),Se.startsWith("_"))H+=O[0];else{const Ut=E.classNameAliases[Se]||Se;_e(O[0],Ut)}}else H+=O[0];k=w.keywordPatternRe.lastIndex,O=w.keywordPatternRe.exec(x)}H+=x.substring(k),q.addText(H)}function cn(){if(x==="")return;let k=null;if(typeof w.subLanguage=="string"){if(!e[w.subLanguage]){q.addText(x);return}k=f(w.subLanguage,x,!0,I[w.subLanguage]),I[w.subLanguage]=k._top}else k=d(x,w.subLanguage.length?w.subLanguage:null);w.relevance>0&&(U+=k.relevance),q.__addSublanguage(k._emitter,k.language)}function Le(){w.subLanguage!=null?cn():ke(),x=""}function _e(k,O){k!==""&&(q.startScope(O),q.addText(k),q.endScope())}function Pt(k,O){let H=1;const X=O.length-1;for(;H<=X;){if(!k._emit[H]){H++;continue}const fe=E.classNameAliases[k[H]]||k[H],Se=O[H];fe?_e(Se,fe):(x=Se,ke(),x=""),H++}}function an(k,O){return k.scope&&typeof k.scope=="string"&&q.openNode(E.classNameAliases[k.scope]||k.scope),k.beginScope&&(k.beginScope._wrap?(_e(x,E.classNameAliases[k.beginScope._wrap]||k.beginScope._wrap),x=""):k.beginScope._multi&&(Pt(k.beginScope,O),x="")),w=Object.create(k,{parent:{value:w}}),w}function Mn(k,O,H){let X=sp(k.endRe,H);if(X){if(k["on:end"]){const fe=new hi(k);k["on:end"](O,fe),fe.isMatchIgnored&&(X=!1)}if(X){for(;k.endsParent&&k.parent;)k=k.parent;return k}}if(k.endsWithParent)return Mn(k.parent,O,H)}function $t(k){return w.matcher.regexIndex===0?(x+=k[0],1):(Y=!0,0)}function Br(k){const O=k[0],H=k.rule,X=new hi(H),fe=[H.__beforeBegin,H["on:begin"]];for(const Se of fe)if(Se&&(Se(k,X),X.isMatchIgnored))return $t(O);return H.skip?x+=O:(H.excludeBegin&&(x+=O),Le(),!H.returnBegin&&!H.excludeBegin&&(x=O)),an(H,k),H.returnBegin?0:O.length}function Pr(k){const O=k[0],H=C.substring(k.index),X=Mn(w,k,H);if(!X)return Di;const fe=w;w.endScope&&w.endScope._wrap?(Le(),_e(O,w.endScope._wrap)):w.endScope&&w.endScope._multi?(Le(),Pt(w.endScope,k)):fe.skip?x+=O:(fe.returnEnd||fe.excludeEnd||(x+=O),Le(),fe.excludeEnd&&(x=O));do w.scope&&q.closeNode(),!w.skip&&!w.subLanguage&&(U+=w.relevance),w=w.parent;while(w!==X.parent);return X.starts&&an(X.starts,k),fe.returnEnd?0:O.length}function h(){const k=[];for(let O=w;O!==E;O=O.parent)O.scope&&k.unshift(O.scope);k.forEach(O=>q.openNode(O))}let g={};function _(k,O){const H=O&&O[0];if(x+=k,H==null)return Le(),0;if(g.type==="begin"&&O.type==="end"&&g.index===O.index&&H===""){if(x+=C.slice(O.index,O.index+1),!s){const X=new Error(`0 width match regex (${v})`);throw X.languageName=v,X.badRule=g.rule,X}return 1}if(g=O,O.type==="begin")return Br(O);if(O.type==="illegal"&&!j){const X=new Error('Illegal lexeme "'+H+'" for mode "'+(w.scope||"<unnamed>")+'"');throw X.mode=w,X}else if(O.type==="end"){const X=Pr(O);if(X!==Di)return X}if(O.type==="illegal"&&H==="")return 1;if(G>1e5&&G>O.index*3)throw new Error("potential infinite loop, way more iterations than matches");return x+=H,H.length}const E=Q(v);if(!E)throw Mt(o.replace("{}",v)),new Error('Unknown language: "'+v+'"');const S=Fp(E);let M="",w=ne||S;const I={},q=new i.__emitter(i);h();let x="",U=0,V=0,G=0,Y=!1;try{if(E.__emitTokens)E.__emitTokens(C,q);else{for(w.matcher.considerAll();;){G++,Y?Y=!1:w.matcher.considerAll(),w.matcher.lastIndex=V;const k=w.matcher.exec(C);if(!k)break;const O=C.substring(V,k.index),H=_(O,k);V=k.index+H}_(C.substring(V))}return q.finalize(),M=q.toHTML(),{language:v,value:M,relevance:U,illegal:!1,_emitter:q,_top:w}}catch(k){if(k.message&&k.message.includes("Illegal"))return{language:v,value:$s(C),illegal:!0,relevance:0,_illegalBy:{message:k.message,index:V,context:C.slice(V-100,V+100),mode:k.mode,resultSoFar:M},_emitter:q};if(s)return{language:v,value:$s(C),illegal:!1,relevance:0,errorRaised:k,_emitter:q,_top:w};throw k}}function p(v){const C={value:$s(v),illegal:!1,relevance:0,_top:c,_emitter:new i.__emitter(i)};return C._emitter.addText(v),C}function d(v,C){C=C||i.languages||Object.keys(e);const j=p(v),ne=C.filter(Q).filter(ce).map(Le=>f(Le,v,!1));ne.unshift(j);const se=ne.sort((Le,_e)=>{if(Le.relevance!==_e.relevance)return _e.relevance-Le.relevance;if(Le.language&&_e.language){if(Q(Le.language).supersetOf===_e.language)return 1;if(Q(_e.language).supersetOf===Le.language)return-1}return 0}),[ue,ke]=se,cn=ue;return cn.secondBest=ke,cn}function m(v,C,j){const ne=C&&n[C]||j;v.classList.add("hljs"),v.classList.add(`language-${ne}`)}function b(v){let C=null;const j=l(v);if(a(j))return;if(Z("before:highlightElement",{el:v,language:j}),v.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",v);return}if(v.children.length>0&&(i.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(v)),i.throwUnescapedHTML))throw new $p("One of your code blocks includes unescaped HTML.",v.innerHTML);C=v;const ne=C.textContent,se=j?u(ne,{language:j,ignoreIllegals:!0}):d(ne);v.innerHTML=se.value,v.dataset.highlighted="yes",m(v,j,se.language),v.result={language:se.language,re:se.relevance,relevance:se.relevance},se.secondBest&&(v.secondBest={language:se.secondBest.language,relevance:se.secondBest.relevance}),Z("after:highlightElement",{el:v,result:se,text:ne})}function R(v){i=Ti(i,v)}const T=()=>{B(),Qt("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function D(){B(),Qt("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let N=!1;function B(){if(document.readyState==="loading"){N=!0;return}document.querySelectorAll(i.cssSelector).forEach(b)}function P(){N&&B()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",P,!1);function y(v,C){let j=null;try{j=C(t)}catch(ne){if(Mt("Language definition for '{}' could not be registered.".replace("{}",v)),s)Mt(ne);else throw ne;j=c}j.name||(j.name=v),e[v]=j,j.rawDefinition=C.bind(null,t),j.aliases&&z(j.aliases,{languageName:v})}function W(v){delete e[v];for(const C of Object.keys(n))n[C]===v&&delete n[C]}function $(){return Object.keys(e)}function Q(v){return v=(v||"").toLowerCase(),e[v]||e[n[v]]}function z(v,{languageName:C}){typeof v=="string"&&(v=[v]),v.forEach(j=>{n[j.toLowerCase()]=C})}function ce(v){const C=Q(v);return C&&!C.disableAutodetect}function L(v){v["before:highlightBlock"]&&!v["before:highlightElement"]&&(v["before:highlightElement"]=C=>{v["before:highlightBlock"](Object.assign({block:C.el},C))}),v["after:highlightBlock"]&&!v["after:highlightElement"]&&(v["after:highlightElement"]=C=>{v["after:highlightBlock"](Object.assign({block:C.el},C))})}function ee(v){L(v),r.push(v)}function A(v){const C=r.indexOf(v);C!==-1&&r.splice(C,1)}function Z(v,C){const j=v;r.forEach(function(ne){ne[j]&&ne[j](C)})}function F(v){return Qt("10.7.0","highlightBlock will be removed entirely in v12.0"),Qt("10.7.0","Please use highlightElement now."),b(v)}Object.assign(t,{highlight:u,highlightAuto:d,highlightAll:B,highlightElement:b,highlightBlock:F,configure:R,initHighlighting:T,initHighlightingOnLoad:D,registerLanguage:y,unregisterLanguage:W,listLanguages:$,getLanguage:Q,registerAliases:z,autoDetection:ce,inherit:Ti,addPlugin:ee,removePlugin:A}),t.debugMode=function(){s=!1},t.safeMode=function(){s=!0},t.versionString=Pp,t.regex={concat:It,lookahead:bi,either:Fs,optional:np,anyNumberOfTimes:tp};for(const v in vr)typeof vr[v]=="object"&&pi(vr[v]);return Object.assign(t,vr),t},en=Ri({});en.newInstance=()=>Ri({});var zp=en;en.HighlightJS=en,en.default=en;const ct=Ms(zp),Li="[A-Za-z$_][0-9A-Za-z$_]*",Hp=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Vp=["true","false","null","undefined","NaN","Infinity"],qi=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Ni=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Ii=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Gp=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],jp=[].concat(Ii,qi,Ni);function Mi(t){const e=t.regex,n=(C,{after:j})=>{const ne="</"+C[0].slice(1);return C.input.indexOf(ne,j)!==-1},r=Li,s={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(C,j)=>{const ne=C[0].length+C.index,se=C.input[ne];if(se==="<"||se===","){j.ignoreMatch();return}se===">"&&(n(C,{after:ne})||j.ignoreMatch());let ue;const ke=C.input.substring(ne);if(ue=ke.match(/^\s*=/)){j.ignoreMatch();return}if((ue=ke.match(/^\s+extends\s+/))&&ue.index===0){j.ignoreMatch();return}}},i={$pattern:Li,keyword:Hp,literal:Vp,built_in:jp,"variable.language":Gp},a="[0-9](_?[0-9])*",l=`\\.(${a})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${a})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},d={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},m={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"css"}},b={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},R={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,p]},D={className:"comment",variants:[t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},N=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,m,b,R,{match:/\$\d+/},f];p.contains=N.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(N)});const B=[].concat(D,p.contains),P=B.concat([{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(B)}]),y={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:P},W={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,e.concat(r,"(",e.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},$={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...qi,...Ni]}},Q={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},z={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[y],illegal:/%/},ce={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function L(C){return e.concat("(?!",C.join("|"),")")}const ee={match:e.concat(/\b/,L([...Ii,"super","import"]),r,e.lookahead(/\(/)),className:"title.function",relevance:0},A={begin:e.concat(/\./,e.lookahead(e.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Z={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},y]},F="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",v={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(F)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[y]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:P,CLASS_REFERENCE:$},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),Q,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,m,b,R,D,{match:/\$\d+/},f,$,{className:"attr",begin:r+e.lookahead(":"),relevance:0},v,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[D,t.REGEXP_MODE,{className:"function",begin:F,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:P}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:o},{begin:c.begin,"on:begin":c.isTrulyOpeningTag,end:c.end}],subLanguage:"xml",contains:[{begin:c.begin,end:c.end,skip:!0,contains:["self"]}]}]},z,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[y,t.inherit(t.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},A,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[y]},ee,ce,W,Z,{match:/\$[(.]/}]}}function Oi(t){const e=t.regex,n=e.concat(/[\p{L}_]/u,e.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r=/[\p{L}0-9._:-]+/u,s={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},c=t.inherit(o,{begin:/\(/,end:/\)/}),i=t.inherit(t.APOS_STRING_MODE,{className:"string"}),a=t.inherit(t.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:"attr",begin:r,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[s]},{begin:/'/,end:/'/,contains:[s]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,relevance:10,contains:[o,a,i,c,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[o,c,a,i]}]}]},t.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,relevance:10},s,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[a]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/<style(?=\s|>)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/<script(?=\s|>)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:e.concat(/</,e.lookahead(e.concat(n,e.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:l}]},{className:"tag",begin:e.concat(/<\//,e.lookahead(e.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}const xr=(t,e)=>{const n=t.__vccOpts||t;for(const[r,s]of e)n[r]=s;return n},Kp={},Zp={class:"chat-button"};function Wp(t,e){return K(),oe("button",Zp,[Dt(t.$slots,"default")])}const Jp=xr(Kp,[["render",Wp]]),Yp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Xp=[pe("path",{fill:"currentColor",d:"M19 6.41L17.59 5L12 10.59L6.41 5L5 6.41L10.59 12L5 17.59L6.41 19L12 13.41L17.59 19L19 17.59L13.41 12z"},null,-1)];function Qp(t,e){return K(),oe("svg",Yp,[...Xp])}const eh={name:"mdi-close",render:Qp};function Us(){return Yt(ii)}function Rn(){return{options:Yt(ai)}}function wr(){const{options:t}=Rn(),e=(t==null?void 0:t.defaultLanguage)??"en";function n(s){var c,i;const o=(i=(c=t==null?void 0:t.i18n)==null?void 0:c[e])==null?void 0:i[s];return xe(o)?o.value:o??s}function r(s){var o,c;return!!((c=(o=t==null?void 0:t.i18n)==null?void 0:o[e])!=null&&c[s])}return{t:n,te:r}}const th={class:"chat-get-started"},nh=ze({__name:"GetStarted",setup(t){const{t:e}=wr();return(n,r)=>(K(),oe("div",th,[ge(Jp,{onClick:r[0]||(r[0]=s=>n.$emit("click:button"))},{default:st(()=>[Cs(fn(re(e)("getStarted")),1)]),_:1})]))}}),rh={},sh={class:"chat-powered-by"},oh=pe("a",{href:"https://n8n.io?utm_source=n8n-external&utm_medium=widget-powered-by"},"n8n",-1);function ch(t,e){return K(),oe("div",sh,[Cs(" Powered by "),oh])}const ih=xr(rh,[["render",ch]]),ah={class:"chat-get-started-footer"},lh={key:0},uh=ze({__name:"GetStartedFooter",setup(t){const{t:e,te:n}=wr();return(r,s)=>(K(),oe("div",ah,[re(n)("footer")?(K(),oe("div",lh,fn(re(e)("footer")),1)):Oe("",!0),ge(ih)]))}});function fh(t){return ko()?(pl(t),!0):!1}function ph(){const t=new Set,e=s=>{t.delete(s)};return{on:s=>{t.add(s);const o=()=>e(s);return fh(o),{off:o}},off:e,trigger:(...s)=>Promise.all(Array.from(t).map(o=>o(...s)))}}const hh=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const dh=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),gh=hh?window.document:void 0,mh={multiple:!0,accept:"*",reset:!1,directory:!1};function bh(t={}){const{document:e=gh}=t,n=Te(null),{on:r,trigger:s}=ph();let o;e&&(o=e.createElement("input"),o.type="file",o.onchange=a=>{const l=a.target;n.value=l.files,s(n.value)});const c=()=>{n.value=null,o&&o.value&&(o.value="",s(null))},i=a=>{if(!o)return;const l={...mh,...t,...a};o.multiple=l.multiple,o.accept=l.accept,o.webkitdirectory=l.directory,dh(l,"capture")&&(o.capture=l.capture),l.reset&&c(),o.click()};return{files:rs(n),open:i,reset:c,onChange:r}}const _h={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},vh=[pe("path",{fill:"currentColor",d:"M14 2H6c-1.11 0-2 .89-2 2v16c0 1.11.89 2 2 2h7.81c-.53-.91-.81-1.95-.81-3c0-3.31 2.69-6 6-6c.34 0 .67.03 1 .08V8zm-1 7V3.5L18.5 9zm10 11h-3v3h-2v-3h-3v-2h3v-3h2v3h3z"},null,-1)];function yh(t,e){return K(),oe("svg",_h,[...vh])}const xh={name:"mdi-filePlus",render:yh},wh={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Eh=[pe("path",{fill:"currentColor",d:"m2 21l21-9L2 3v7l15 2l-15 2z"},null,-1)];function kh(t,e){return K(),oe("svg",wh,[...Eh])}const Ah={name:"mdi-send",render:kh},Ch={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Sh=[pe("path",{fill:"currentColor",d:"M20 6.91L17.09 4L12 9.09L6.91 4L4 6.91L9.09 12L4 17.09L6.91 20L12 14.91L17.09 20L20 17.09L14.91 12z"},null,-1)];function Th(t,e){return K(),oe("svg",Ch,[...Sh])}const Dh={name:"mdi-closeThick",render:Th},Rh={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Lh=[pe("path",{fill:"currentColor",d:"M13 9h5.5L13 3.5zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m0 18h12v-8l-4 4l-2-2zM8 9a2 2 0 0 0-2 2a2 2 0 0 0 2 2a2 2 0 0 0 2-2a2 2 0 0 0-2-2"},null,-1)];function qh(t,e){return K(),oe("svg",Rh,[...Lh])}const Nh={name:"mdi-fileImage",render:qh},Ih={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Mh=[pe("path",{fill:"currentColor",d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm-1 11h-2v5a2 2 0 0 1-2 2a2 2 0 0 1-2-2a2 2 0 0 1 2-2c.4 0 .7.1 1 .3V11h3zm0-4V3.5L18.5 9z"},null,-1)];function Oh(t,e){return K(),oe("svg",Ih,[...Mh])}const Fh={name:"mdi-fileMusic",render:Oh},Bh={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Ph=[pe("path",{fill:"currentColor",d:"M13 9h5.5L13 3.5zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m9 16v-2H6v2zm3-4v-2H6v2z"},null,-1)];function $h(t,e){return K(),oe("svg",Bh,[...Ph])}const Fi={name:"mdi-fileText",render:$h},Uh={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},zh=[pe("path",{fill:"currentColor",d:"M13 9h5.5L13 3.5zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m11 17v-6l-3 2.2V13H7v6h7v-2.2z"},null,-1)];function Hh(t,e){return K(),oe("svg",Uh,[...zh])}const Vh={name:"mdi-fileVideo",render:Hh},Gh={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},jh=[pe("path",{fill:"currentColor",d:"M14 3v2h3.59l-9.83 9.83l1.41 1.41L19 6.41V10h2V3m-2 16H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7h-2z"},null,-1)];function Kh(t,e){return K(),oe("svg",Gh,[...jh])}const Zh={name:"mdi-openInNew",render:Kh},Wh={class:"chat-file-name"},Bi=xr(ze({__name:"ChatFile",props:{file:{},isRemovable:{type:Boolean},isPreviewable:{type:Boolean}},emits:["remove"],setup(t,{emit:e}){const n=t,r=e,s={document:Fi,audio:Fh,image:Nh,video:Vh},o=Re(()=>{var a;const i=(a=n.file)==null?void 0:a.type.split("/")[0];return s[i]||Fi});function c(){n.isRemovable&&r("remove",n.file),n.isPreviewable&&window.open(URL.createObjectURL(n.file))}return(i,a)=>(K(),oe("div",{class:"chat-file",onClick:c},[ge(re(o)),pe("p",Wh,fn(i.file.name),1),i.isRemovable?(K(),be(re(Dh),{key:0,class:"chat-file-delete"})):Oe("",!0),i.isPreviewable?(K(),be(re(Zh),{key:1,class:"chat-file-preview"})):Oe("",!0)]))}}),[["__scopeId","data-v-c15a8ecf"]]),Jh={class:"chat-inputs"},Yh=["disabled","placeholder"],Xh={class:"chat-inputs-controls"},Qh=["disabled"],ed=["disabled"],td={key:0,class:"chat-files"},nd=xr(ze({__name:"Input",emits:["arrowKeyDown"],setup(t,{emit:e}){const n=e,{options:r}=Rn(),s=Us(),{waitingForResponse:o}=s,{t:c}=wr(),i=Te(null),a=Te(null),l=Te(""),u=Te(!1),f=Re(()=>{var L;return l.value===""||o.value||((L=r.disabled)==null?void 0:L.value)===!0}),p=Re(()=>{var L;return((L=r.disabled)==null?void 0:L.value)===!0}),d=Re(()=>{var L;return m.value&&o.value&&!((L=r.disabled)!=null&&L.value)}),m=Re(()=>re(r.allowFileUploads)===!0),b=Re(()=>re(r.allowedFilesMimeTypes)),R=Re(()=>({"--controls-count":m.value?2:1})),{open:T,reset:D,onChange:N}=bh({multiple:!0,reset:!1});N(L=>{if(!L)return;const ee=new DataTransfer;if(i.value)for(let A=0;A<i.value.length;A++)ee.items.add(i.value[A]);for(let A=0;A<L.length;A++)ee.items.add(L[A]);i.value=ee.files}),dt(()=>{Ie.on("focusInput",P),Ie.on("blurInput",B),Ie.on("setInputValue",y)}),ds(()=>{Ie.off("focusInput",P),Ie.off("blurInput",B),Ie.off("setInputValue",y)});function B(){a.value&&a.value.blur()}function P(){a.value&&a.value.focus()}function y(L){l.value=L,P()}async function W(L){if(L.preventDefault(),f.value)return;const ee=l.value;l.value="",u.value=!0,await s.sendMessage(ee,Array.from(i.value??[])),u.value=!1,D(),i.value=null}async function $(L){L.shiftKey||await W(L)}function Q(L){if(!i.value)return;const ee=new DataTransfer;for(let A=0;A<i.value.length;A++){const Z=i.value[A];L.name!==Z.name&&ee.items.add(Z)}D(),i.value=ee.files}function z(L){(L.key==="ArrowUp"||L.key==="ArrowDown")&&(L.preventDefault(),n("arrowKeyDown",{key:L.key,currentInputValue:l.value}))}function ce(){d.value||T({accept:re(b)})}return(L,ee)=>{var A;return K(),oe("div",{class:"chat-input",style:un(R.value),onKeydown:Rf(z,["stop"])},[pe("div",Jh,[ic(pe("textarea",{ref_key:"chatTextArea",ref:a,"onUpdate:modelValue":ee[0]||(ee[0]=Z=>l.value=Z),disabled:p.value,placeholder:re(c)("inputPlaceholder"),onKeydown:qf($,["enter"])},null,40,Yh),[[Sf,l.value]]),pe("div",Xh,[m.value?(K(),oe("button",{key:0,disabled:d.value,class:"chat-input-send-button",onClick:ce},[ge(re(xh),{height:"24",width:"24"})],8,Qh)):Oe("",!0),pe("button",{disabled:f.value,class:"chat-input-send-button",onClick:W},[ge(re(Ah),{height:"24",width:"24"})],8,ed)])]),(A=i.value)!=null&&A.length&&!u.value?(K(),oe("div",td,[(K(!0),oe(Ce,null,or(i.value,Z=>(K(),be(Bi,{key:Z.name,file:Z,"is-removable":!0,onRemove:Q},null,8,["file"]))),128))])):Oe("",!0)],36)}}}),[["__scopeId","data-v-2a7fb1c3"]]),rd={class:"chat-layout"},sd={key:0,class:"chat-header"},od={key:2,class:"chat-footer"},cd=ze({__name:"Layout",setup(t){const e=Te(null);function n(){const r=e.value;r&&(r.scrollTop=r.scrollHeight)}return dt(()=>{Ie.on("scrollToBottom",n),window.addEventListener("resize",n)}),hs(()=>{Ie.off("scrollToBottom",n),window.removeEventListener("resize",n)}),(r,s)=>(K(),oe("main",rd,[r.$slots.header?(K(),oe("div",sd,[Dt(r.$slots,"header")])):Oe("",!0),r.$slots.default?(K(),oe("div",{key:1,ref_key:"chatBodyRef",ref:e,class:"chat-body"},[Dt(r.$slots,"default")],512)):Oe("",!0),r.$slots.footer?(K(),oe("div",od,[Dt(r.$slots,"footer")])):Oe("",!0)]))}});function id(t){const e=t.regex,n={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:e.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const s={className:"subst",begin:/\$\(/,end:/\)/,contains:[t.BACKSLASH_ESCAPE]},o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},c={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,n,s]};s.contains.push(c);const i={match:/\\"/},a={className:"string",begin:/'/,end:/'/},l={match:/\\'/},u={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},t.NUMBER_MODE,n]},f=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],p=t.SHEBANG({binary:`(${f.join("|")})`,relevance:10}),d={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[t.inherit(t.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],b=["true","false"],R={match:/(\/[a-z._-]+)+/},T=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],D=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],N=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],B=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:b,built_in:[...T,...D,"set","shopt",...N,...B]},contains:[p,t.SHEBANG(),d,u,t.HASH_COMMENT_MODE,o,R,c,i,a,l,n]}}function ad(t){const e=t.regex,n=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],i={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},a={className:"meta",begin:/^(>>>|\.\.\.) /},l={className:"subst",begin:/\{/,end:/\}/,keywords:i,illegal:/#/},u={begin:/\{\{/,relevance:0},f={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,a,u,l]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,a,u,l]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[t.BACKSLASH_ESCAPE,u,l]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,u,l]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},p="[0-9](_?[0-9])*",d=`(\\b(${p}))?\\.(${p})|\\b(${p})\\.`,m=`\\b|${r.join("|")}`,b={className:"number",relevance:0,variants:[{begin:`(\\b(${p})|(${d}))[eE][+-]?(${p})[jJ]?(?=${m})`},{begin:`(${d})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${m})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${m})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${m})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${m})`},{begin:`\\b(${p})[jJ](?=${m})`}]},R={className:"comment",begin:e.lookahead(/# type:/),end:/$/,keywords:i,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},T={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:["self",a,b,f,t.HASH_COMMENT_MODE]}]};return l.contains=[f,b,a],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:i,illegal:/(<\/|\?)|=>/,contains:[a,b,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},f,R,t.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[T]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[b,T,f]}]}}const Er="[A-Za-z$_][0-9A-Za-z$_]*",Pi=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],$i=["true","false","null","undefined","NaN","Infinity"],Ui=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],zi=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Hi=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Vi=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Gi=[].concat(Hi,Ui,zi);function ld(t){const e=t.regex,n=(C,{after:j})=>{const ne="</"+C[0].slice(1);return C.input.indexOf(ne,j)!==-1},r=Er,s={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(C,j)=>{const ne=C[0].length+C.index,se=C.input[ne];if(se==="<"||se===","){j.ignoreMatch();return}se===">"&&(n(C,{after:ne})||j.ignoreMatch());let ue;const ke=C.input.substring(ne);if(ue=ke.match(/^\s*=/)){j.ignoreMatch();return}if((ue=ke.match(/^\s+extends\s+/))&&ue.index===0){j.ignoreMatch();return}}},i={$pattern:Er,keyword:Pi,literal:$i,built_in:Gi,"variable.language":Vi},a="[0-9](_?[0-9])*",l=`\\.(${a})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${a})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},d={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},m={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"css"}},b={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},R={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,p]},D={className:"comment",variants:[t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},N=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,m,b,R,{match:/\$\d+/},f];p.contains=N.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(N)});const B=[].concat(D,p.contains),P=B.concat([{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(B)}]),y={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:P},W={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,e.concat(r,"(",e.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},$={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Ui,...zi]}},Q={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},z={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[y],illegal:/%/},ce={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function L(C){return e.concat("(?!",C.join("|"),")")}const ee={match:e.concat(/\b/,L([...Hi,"super","import"]),r,e.lookahead(/\(/)),className:"title.function",relevance:0},A={begin:e.concat(/\./,e.lookahead(e.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Z={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},y]},F="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",v={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(F)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[y]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:P,CLASS_REFERENCE:$},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),Q,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,m,b,R,D,{match:/\$\d+/},f,$,{className:"attr",begin:r+e.lookahead(":"),relevance:0},v,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[D,t.REGEXP_MODE,{className:"function",begin:F,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:P}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:o},{begin:c.begin,"on:begin":c.isTrulyOpeningTag,end:c.end}],subLanguage:"xml",contains:[{begin:c.begin,end:c.end,skip:!0,contains:["self"]}]}]},z,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[y,t.inherit(t.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},A,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[y]},ee,ce,W,Z,{match:/\$[(.]/}]}}function ud(t){const e=ld(t),n=Er,r=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],s={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[e.exports.CLASS_REFERENCE]},o={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:r},contains:[e.exports.CLASS_REFERENCE]},c={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},i=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],a={$pattern:Er,keyword:Pi.concat(i),literal:$i,built_in:Gi.concat(r),"variable.language":Vi},l={className:"meta",begin:"@"+n},u=(p,d,m)=>{const b=p.contains.findIndex(R=>R.label===d);if(b===-1)throw new Error("can not find mode to replace");p.contains.splice(b,1,m)};Object.assign(e.keywords,a),e.exports.PARAMS_CONTAINS.push(l),e.contains=e.contains.concat([l,s,o]),u(e,"shebang",t.SHEBANG()),u(e,"use_strict",c);const f=e.contains.find(p=>p.label==="func.def");return f.relevance=0,Object.assign(e,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),e}function fd(t,e){var n,r,s=t.attrs[t.attrIndex("href")][1];for(n=0;n<e.length;++n){if(r=e[n],typeof r.matcher=="function"){if(r.matcher(s,r))return r;continue}return r}}function pd(t,e,n){Object.keys(n).forEach(function(r){var s,o=n[r];r==="className"&&(r="class"),s=e[t].attrIndex(r),s<0?e[t].attrPush([r,o]):e[t].attrs[s][1]=o})}function ji(t,e){e?e=Array.isArray(e)?e:[e]:e=[],Object.freeze(e);var n=t.renderer.rules.link_open||this.defaultRender;t.renderer.rules.link_open=function(r,s,o,c,i){var a=fd(r[s],e),l=a&&a.attrs;return l&&pd(s,r,l),n(r,s,o,c,i)}}ji.defaultRender=function(t,e,n,r,s){return s.renderToken(t,e,n)};var hd=ji;const dd=Ms(hd);var le={},Ki={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
22
|
+
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""},zs=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,tn={},Zi={};function gd(t){var e,n,r=Zi[t];if(r)return r;for(r=Zi[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+e.toString(16).toUpperCase()).slice(-2));for(e=0;e<t.length;e++)r[t.charCodeAt(e)]=t[e];return r}function kr(t,e,n){var r,s,o,c,i,a="";for(typeof e!="string"&&(n=e,e=kr.defaultChars),typeof n>"u"&&(n=!0),i=gd(e),r=0,s=t.length;r<s;r++){if(o=t.charCodeAt(r),n&&o===37&&r+2<s&&/^[0-9a-f]{2}$/i.test(t.slice(r+1,r+3))){a+=t.slice(r,r+3),r+=2;continue}if(o<128){a+=i[o];continue}if(o>=55296&&o<=57343){if(o>=55296&&o<=56319&&r+1<s&&(c=t.charCodeAt(r+1),c>=56320&&c<=57343)){a+=encodeURIComponent(t[r]+t[r+1]),r++;continue}a+="%EF%BF%BD";continue}a+=encodeURIComponent(t[r])}return a}kr.defaultChars=";/?:@&=+$,-_.!~*'()#",kr.componentChars="-_.!~*'()";var md=kr,Wi={};function bd(t){var e,n,r=Wi[t];if(r)return r;for(r=Wi[t]=[],e=0;e<128;e++)n=String.fromCharCode(e),r.push(n);for(e=0;e<t.length;e++)n=t.charCodeAt(e),r[n]="%"+("0"+n.toString(16).toUpperCase()).slice(-2);return r}function Ar(t,e){var n;return typeof e!="string"&&(e=Ar.defaultChars),n=bd(e),t.replace(/(%[a-f0-9]{2})+/gi,function(r){var s,o,c,i,a,l,u,f="";for(s=0,o=r.length;s<o;s+=3){if(c=parseInt(r.slice(s+1,s+3),16),c<128){f+=n[c];continue}if((c&224)===192&&s+3<o&&(i=parseInt(r.slice(s+4,s+6),16),(i&192)===128)){u=c<<6&1984|i&63,u<128?f+="��":f+=String.fromCharCode(u),s+=3;continue}if((c&240)===224&&s+6<o&&(i=parseInt(r.slice(s+4,s+6),16),a=parseInt(r.slice(s+7,s+9),16),(i&192)===128&&(a&192)===128)){u=c<<12&61440|i<<6&4032|a&63,u<2048||u>=55296&&u<=57343?f+="���":f+=String.fromCharCode(u),s+=6;continue}if((c&248)===240&&s+9<o&&(i=parseInt(r.slice(s+4,s+6),16),a=parseInt(r.slice(s+7,s+9),16),l=parseInt(r.slice(s+10,s+12),16),(i&192)===128&&(a&192)===128&&(l&192)===128)){u=c<<18&1835008|i<<12&258048|a<<6&4032|l&63,u<65536||u>1114111?f+="����":(u-=65536,f+=String.fromCharCode(55296+(u>>10),56320+(u&1023))),s+=9;continue}f+="�"}return f})}Ar.defaultChars=";/?:@&=+$,#",Ar.componentChars="";var _d=Ar,vd=function(e){var n="";return n+=e.protocol||"",n+=e.slashes?"//":"",n+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?n+="["+e.hostname+"]":n+=e.hostname||"",n+=e.port?":"+e.port:"",n+=e.pathname||"",n+=e.search||"",n+=e.hash||"",n};function Cr(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var yd=/^([a-z0-9.+-]+:)/i,xd=/:[0-9]*$/,wd=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Ed=["<",">",'"',"`"," ","\r",`
|
|
23
|
+
`," "],kd=["{","}","|","\\","^","`"].concat(Ed),Ad=["'"].concat(kd),Ji=["%","/","?",";","#"].concat(Ad),Yi=["/","?","#"],Cd=255,Xi=/^[+a-z0-9A-Z_-]{0,63}$/,Sd=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Qi={javascript:!0,"javascript:":!0},ea={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Td(t,e){if(t&&t instanceof Cr)return t;var n=new Cr;return n.parse(t,e),n}Cr.prototype.parse=function(t,e){var n,r,s,o,c,i=t;if(i=i.trim(),!e&&t.split("#").length===1){var a=wd.exec(i);if(a)return this.pathname=a[1],a[2]&&(this.search=a[2]),this}var l=yd.exec(i);if(l&&(l=l[0],s=l.toLowerCase(),this.protocol=l,i=i.substr(l.length)),(e||l||i.match(/^\/\/[^@\/]+@[^@\/]+/))&&(c=i.substr(0,2)==="//",c&&!(l&&Qi[l])&&(i=i.substr(2),this.slashes=!0)),!Qi[l]&&(c||l&&!ea[l])){var u=-1;for(n=0;n<Yi.length;n++)o=i.indexOf(Yi[n]),o!==-1&&(u===-1||o<u)&&(u=o);var f,p;for(u===-1?p=i.lastIndexOf("@"):p=i.lastIndexOf("@",u),p!==-1&&(f=i.slice(0,p),i=i.slice(p+1),this.auth=f),u=-1,n=0;n<Ji.length;n++)o=i.indexOf(Ji[n]),o!==-1&&(u===-1||o<u)&&(u=o);u===-1&&(u=i.length),i[u-1]===":"&&u--;var d=i.slice(0,u);i=i.slice(u),this.parseHost(d),this.hostname=this.hostname||"";var m=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!m){var b=this.hostname.split(/\./);for(n=0,r=b.length;n<r;n++){var R=b[n];if(R&&!R.match(Xi)){for(var T="",D=0,N=R.length;D<N;D++)R.charCodeAt(D)>127?T+="x":T+=R[D];if(!T.match(Xi)){var B=b.slice(0,n),P=b.slice(n+1),y=R.match(Sd);y&&(B.push(y[1]),P.unshift(y[2])),P.length&&(i=P.join(".")+i),this.hostname=B.join(".");break}}}}this.hostname.length>Cd&&(this.hostname=""),m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var W=i.indexOf("#");W!==-1&&(this.hash=i.substr(W),i=i.slice(0,W));var $=i.indexOf("?");return $!==-1&&(this.search=i.substr($),i=i.slice(0,$)),i&&(this.pathname=i),ea[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},Cr.prototype.parseHost=function(t){var e=xd.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};var Dd=Td;tn.encode=md,tn.decode=_d,tn.format=vd,tn.parse=Dd;var Ot={},Hs,ta;function na(){return ta||(ta=1,Hs=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Hs}var Vs,ra;function sa(){return ra||(ra=1,Vs=/[\0-\x1F\x7F-\x9F]/),Vs}var Gs,oa;function Rd(){return oa||(oa=1,Gs=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),Gs}var js,ca;function ia(){return ca||(ca=1,js=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),js}var aa;function Ld(){return aa||(aa=1,Ot.Any=na(),Ot.Cc=sa(),Ot.Cf=Rd(),Ot.P=zs,Ot.Z=ia()),Ot}(function(t){function e(A){return Object.prototype.toString.call(A)}function n(A){return e(A)==="[object String]"}var r=Object.prototype.hasOwnProperty;function s(A,Z){return r.call(A,Z)}function o(A){var Z=Array.prototype.slice.call(arguments,1);return Z.forEach(function(F){if(F){if(typeof F!="object")throw new TypeError(F+"must be object");Object.keys(F).forEach(function(v){A[v]=F[v]})}}),A}function c(A,Z,F){return[].concat(A.slice(0,Z),F,A.slice(Z+1))}function i(A){return!(A>=55296&&A<=57343||A>=64976&&A<=65007||(A&65535)===65535||(A&65535)===65534||A>=0&&A<=8||A===11||A>=14&&A<=31||A>=127&&A<=159||A>1114111)}function a(A){if(A>65535){A-=65536;var Z=55296+(A>>10),F=56320+(A&1023);return String.fromCharCode(Z,F)}return String.fromCharCode(A)}var l=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,u=/&([a-z#][a-z0-9]{1,31});/gi,f=new RegExp(l.source+"|"+u.source,"gi"),p=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,d=Ki;function m(A,Z){var F;return s(d,Z)?d[Z]:Z.charCodeAt(0)===35&&p.test(Z)&&(F=Z[1].toLowerCase()==="x"?parseInt(Z.slice(2),16):parseInt(Z.slice(1),10),i(F))?a(F):A}function b(A){return A.indexOf("\\")<0?A:A.replace(l,"$1")}function R(A){return A.indexOf("\\")<0&&A.indexOf("&")<0?A:A.replace(f,function(Z,F,v){return F||m(Z,v)})}var T=/[&<>"]/,D=/[&<>"]/g,N={"&":"&","<":"<",">":">",'"':"""};function B(A){return N[A]}function P(A){return T.test(A)?A.replace(D,B):A}var y=/[.?*+^$[\]\\(){}|-]/g;function W(A){return A.replace(y,"\\$&")}function $(A){switch(A){case 9:case 32:return!0}return!1}function Q(A){if(A>=8192&&A<=8202)return!0;switch(A){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var z=zs;function ce(A){return z.test(A)}function L(A){switch(A){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function ee(A){return A=A.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(A=A.replace(/ẞ/g,"ß")),A.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=tn,t.lib.ucmicro=Ld(),t.assign=o,t.isString=n,t.has=s,t.unescapeMd=b,t.unescapeAll=R,t.isValidEntityCode=i,t.fromCodePoint=a,t.escapeHtml=P,t.arrayReplaceAt=c,t.isSpace=$,t.isWhiteSpace=Q,t.isMdAsciiPunct=L,t.isPunctChar=ce,t.escapeRE=W,t.normalizeReference=ee})(le);var Sr={},qd=function(e,n,r){var s,o,c,i,a=-1,l=e.posMax,u=e.pos;for(e.pos=n+1,s=1;e.pos<l;){if(c=e.src.charCodeAt(e.pos),c===93&&(s--,s===0)){o=!0;break}if(i=e.pos,e.md.inline.skipToken(e),c===91){if(i===e.pos-1)s++;else if(r)return e.pos=u,-1}}return o&&(a=e.pos),e.pos=u,a},la=le.unescapeAll,Nd=function(e,n,r){var s,o,c=n,i={ok:!1,pos:0,lines:0,str:""};if(e.charCodeAt(c)===60){for(c++;c<r;){if(s=e.charCodeAt(c),s===10||s===60)return i;if(s===62)return i.pos=c+1,i.str=la(e.slice(n+1,c)),i.ok=!0,i;if(s===92&&c+1<r){c+=2;continue}c++}return i}for(o=0;c<r&&(s=e.charCodeAt(c),!(s===32||s<32||s===127));){if(s===92&&c+1<r){if(e.charCodeAt(c+1)===32)break;c+=2;continue}if(s===40&&(o++,o>32))return i;if(s===41){if(o===0)break;o--}c++}return n===c||o!==0||(i.str=la(e.slice(n,c)),i.pos=c,i.ok=!0),i},Id=le.unescapeAll,Md=function(e,n,r){var s,o,c=0,i=n,a={ok:!1,pos:0,lines:0,str:""};if(i>=r||(o=e.charCodeAt(i),o!==34&&o!==39&&o!==40))return a;for(i++,o===40&&(o=41);i<r;){if(s=e.charCodeAt(i),s===o)return a.pos=i+1,a.lines=c,a.str=Id(e.slice(n+1,i)),a.ok=!0,a;if(s===40&&o===41)return a;s===10?c++:s===92&&i+1<r&&(i++,e.charCodeAt(i)===10&&c++),i++}return a};Sr.parseLinkLabel=qd,Sr.parseLinkDestination=Nd,Sr.parseLinkTitle=Md;var Od=le.assign,Fd=le.unescapeAll,Ft=le.escapeHtml,Ye={};Ye.code_inline=function(t,e,n,r,s){var o=t[e];return"<code"+s.renderAttrs(o)+">"+Ft(o.content)+"</code>"},Ye.code_block=function(t,e,n,r,s){var o=t[e];return"<pre"+s.renderAttrs(o)+"><code>"+Ft(t[e].content)+`</code></pre>
|
|
24
|
+
`},Ye.fence=function(t,e,n,r,s){var o=t[e],c=o.info?Fd(o.info).trim():"",i="",a="",l,u,f,p,d;return c&&(f=c.split(/(\s+)/g),i=f[0],a=f.slice(2).join("")),n.highlight?l=n.highlight(o.content,i,a)||Ft(o.content):l=Ft(o.content),l.indexOf("<pre")===0?l+`
|
|
25
25
|
`:c?(u=o.attrIndex("class"),p=o.attrs?o.attrs.slice():[],u<0?p.push(["class",n.langPrefix+i]):(p[u]=p[u].slice(),p[u][1]+=" "+n.langPrefix+i),d={attrs:p},"<pre><code"+s.renderAttrs(d)+">"+l+`</code></pre>
|
|
26
26
|
`):"<pre><code"+s.renderAttrs(o)+">"+l+`</code></pre>
|
|
27
27
|
`},Ye.image=function(t,e,n,r,s){var o=t[e];return o.attrs[o.attrIndex("alt")][1]=s.renderInlineAsText(o.children,n,r),s.renderToken(t,e,n)},Ye.hardbreak=function(t,e,n){return n.xhtmlOut?`<br />
|
|
@@ -29,9 +29,9 @@ https://github.com/highlightjs/highlight.js/issues/2277`),se=v,ne=C),j===void 0&
|
|
|
29
29
|
`},Ye.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`<br />
|
|
30
30
|
`:`<br>
|
|
31
31
|
`:`
|
|
32
|
-
`},Ye.text=function(t,e){return Ft(t[e].content)},Ye.html_block=function(t,e){return t[e].content},Ye.html_inline=function(t,e){return t[e].content};function nn(){this.rules=
|
|
32
|
+
`},Ye.text=function(t,e){return Ft(t[e].content)},Ye.html_block=function(t,e){return t[e].content},Ye.html_inline=function(t,e){return t[e].content};function nn(){this.rules=Od({},Ye)}nn.prototype.renderAttrs=function(e){var n,r,s;if(!e.attrs)return"";for(s="",n=0,r=e.attrs.length;n<r;n++)s+=" "+Ft(e.attrs[n][0])+'="'+Ft(e.attrs[n][1])+'"';return s},nn.prototype.renderToken=function(e,n,r){var s,o="",c=!1,i=e[n];return i.hidden?"":(i.block&&i.nesting!==-1&&n&&e[n-1].hidden&&(o+=`
|
|
33
33
|
`),o+=(i.nesting===-1?"</":"<")+i.tag,o+=this.renderAttrs(i),i.nesting===0&&r.xhtmlOut&&(o+=" /"),i.block&&(c=!0,i.nesting===1&&n+1<e.length&&(s=e[n+1],(s.type==="inline"||s.hidden||s.nesting===-1&&s.tag===i.tag)&&(c=!1))),o+=c?`>
|
|
34
34
|
`:">",o)},nn.prototype.renderInline=function(t,e,n){for(var r,s="",o=this.rules,c=0,i=t.length;c<i;c++)r=t[c].type,typeof o[r]<"u"?s+=o[r](t,c,e,n,this):s+=this.renderToken(t,c,e);return s},nn.prototype.renderInlineAsText=function(t,e,n){for(var r="",s=0,o=t.length;s<o;s++)t[s].type==="text"?r+=t[s].content:t[s].type==="image"?r+=this.renderInlineAsText(t[s].children,e,n):t[s].type==="softbreak"&&(r+=`
|
|
35
|
-
`);return r},nn.prototype.render=function(t,e,n){var r,s,o,c="",i=this.rules;for(r=0,s=t.length;r<s;r++)o=t[r].type,o==="inline"?c+=this.renderInline(t[r].children,e,n):typeof i[o]<"u"?c+=i[o](t,r,e,n,this):c+=this.renderToken(t,r,e,n);return c};var
|
|
36
|
-
`),n=n.replace(
|
|
37
|
-
`,c.map=[n,e.line],!0},td=function(e,n,r,s){var o,c,i,a,l,u,f,p=!1,d=e.bMarks[n]+e.tShift[n],m=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||d+3>m||(o=e.src.charCodeAt(d),o!==126&&o!==96)||(l=d,d=e.skipChars(d,o),c=d-l,c<3)||(f=e.src.slice(l,d),i=e.src.slice(d,m),o===96&&i.indexOf(String.fromCharCode(o))>=0))return!1;if(s)return!0;for(a=n;a++,!(a>=r||(d=l=e.bMarks[a]+e.tShift[a],m=e.eMarks[a],d<m&&e.sCount[a]<e.blkIndent));)if(e.src.charCodeAt(d)===o&&!(e.sCount[a]-e.blkIndent>=4)&&(d=e.skipChars(d,o),!(d-l<c)&&(d=e.skipSpaces(d),!(d<m)))){p=!0;break}return c=e.sCount[n],e.line=a+(p?1:0),u=e.push("fence","code",0),u.info=i,u.content=e.getLines(n+1,a,c,!0),u.markup=f,u.map=[n,e.line],!0},nd=le.isSpace,rd=function(e,n,r,s){var o,c,i,a,l,u,f,p,d,m,b,R,T,D,N,B,P,y,W,$,Q=e.lineMax,z=e.bMarks[n]+e.tShift[n],ce=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(z)!==62)return!1;if(s)return!0;for(m=[],b=[],D=[],N=[],y=e.md.block.ruler.getRules("blockquote"),T=e.parentType,e.parentType="blockquote",p=n;p<r&&($=e.sCount[p]<e.blkIndent,z=e.bMarks[p]+e.tShift[p],ce=e.eMarks[p],!(z>=ce));p++){if(e.src.charCodeAt(z++)===62&&!$){for(a=e.sCount[p]+1,e.src.charCodeAt(z)===32?(z++,a++,o=!1,B=!0):e.src.charCodeAt(z)===9?(B=!0,(e.bsCount[p]+a)%4===3?(z++,a++,o=!1):o=!0):B=!1,d=a,m.push(e.bMarks[p]),e.bMarks[p]=z;z<ce&&(c=e.src.charCodeAt(z),nd(c));){c===9?d+=4-(d+e.bsCount[p]+(o?1:0))%4:d++;z++}u=z>=ce,b.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(B?1:0),D.push(e.sCount[p]),e.sCount[p]=d-a,N.push(e.tShift[p]),e.tShift[p]=z-e.bMarks[p];continue}if(u)break;for(P=!1,i=0,l=y.length;i<l;i++)if(y[i](e,p,r,!0)){P=!0;break}if(P){e.lineMax=p,e.blkIndent!==0&&(m.push(e.bMarks[p]),b.push(e.bsCount[p]),N.push(e.tShift[p]),D.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}m.push(e.bMarks[p]),b.push(e.bsCount[p]),N.push(e.tShift[p]),D.push(e.sCount[p]),e.sCount[p]=-1}for(R=e.blkIndent,e.blkIndent=0,W=e.push("blockquote_open","blockquote",1),W.markup=">",W.map=f=[n,0],e.md.block.tokenize(e,n,p),W=e.push("blockquote_close","blockquote",-1),W.markup=">",e.lineMax=Q,e.parentType=T,f[1]=e.line,i=0;i<N.length;i++)e.bMarks[i+n]=m[i],e.tShift[i+n]=N[i],e.sCount[i+n]=D[i],e.bsCount[i+n]=b[i];return e.blkIndent=R,!0},sd=le.isSpace,od=function(e,n,r,s){var o,c,i,a,l=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||(o=e.src.charCodeAt(l++),o!==42&&o!==45&&o!==95))return!1;for(c=1;l<u;){if(i=e.src.charCodeAt(l++),i!==o&&!sd(i))return!1;i===o&&c++}return c<3?!1:(s||(e.line=n+1,a=e.push("hr","hr",0),a.map=[n,e.line],a.markup=Array(c+1).join(String.fromCharCode(o))),!0)},oa=le.isSpace;function ca(t,e){var n,r,s,o;return r=t.bMarks[e]+t.tShift[e],s=t.eMarks[e],n=t.src.charCodeAt(r++),n!==42&&n!==45&&n!==43||r<s&&(o=t.src.charCodeAt(r),!oa(o))?-1:r}function ia(t,e){var n,r=t.bMarks[e]+t.tShift[e],s=r,o=t.eMarks[e];if(s+1>=o||(n=t.src.charCodeAt(s++),n<48||n>57))return-1;for(;;){if(s>=o)return-1;if(n=t.src.charCodeAt(s++),n>=48&&n<=57){if(s-r>=10)return-1;continue}if(n===41||n===46)break;return-1}return s<o&&(n=t.src.charCodeAt(s),!oa(n))?-1:s}function cd(t,e){var n,r,s=t.level+2;for(n=e+2,r=t.tokens.length-2;n<r;n++)t.tokens[n].level===s&&t.tokens[n].type==="paragraph_open"&&(t.tokens[n+2].hidden=!0,t.tokens[n].hidden=!0,n+=2)}var id=function(e,n,r,s){var o,c,i,a,l,u,f,p,d,m,b,R,T,D,N,B,P,y,W,$,Q,z,ce,L,ee,A,Z,F=n,v=!1,C=!0;if(e.sCount[F]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[F]-e.listIndent>=4&&e.sCount[F]<e.blkIndent)return!1;if(s&&e.parentType==="paragraph"&&e.sCount[F]>=e.blkIndent&&(v=!0),(z=ia(e,F))>=0){if(f=!0,L=e.bMarks[F]+e.tShift[F],T=Number(e.src.slice(L,z-1)),v&&T!==1)return!1}else if((z=ca(e,F))>=0)f=!1;else return!1;if(v&&e.skipSpaces(z)>=e.eMarks[F])return!1;if(s)return!0;for(R=e.src.charCodeAt(z-1),b=e.tokens.length,f?(Z=e.push("ordered_list_open","ol",1),T!==1&&(Z.attrs=[["start",T]])):Z=e.push("bullet_list_open","ul",1),Z.map=m=[F,0],Z.markup=String.fromCharCode(R),ce=!1,A=e.md.block.ruler.getRules("list"),P=e.parentType,e.parentType="list";F<r;){for(Q=z,D=e.eMarks[F],u=N=e.sCount[F]+z-(e.bMarks[F]+e.tShift[F]);Q<D;){if(o=e.src.charCodeAt(Q),o===9)N+=4-(N+e.bsCount[F])%4;else if(o===32)N++;else break;Q++}if(c=Q,c>=D?l=1:l=N-u,l>4&&(l=1),a=u+l,Z=e.push("list_item_open","li",1),Z.markup=String.fromCharCode(R),Z.map=p=[F,0],f&&(Z.info=e.src.slice(L,z-1)),$=e.tight,W=e.tShift[F],y=e.sCount[F],B=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=a,e.tight=!0,e.tShift[F]=c-e.bMarks[F],e.sCount[F]=N,c>=D&&e.isEmpty(F+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,F,r,!0),(!e.tight||ce)&&(C=!1),ce=e.line-F>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=B,e.tShift[F]=W,e.sCount[F]=y,e.tight=$,Z=e.push("list_item_close","li",-1),Z.markup=String.fromCharCode(R),F=e.line,p[1]=F,F>=r||e.sCount[F]<e.blkIndent||e.sCount[F]-e.blkIndent>=4)break;for(ee=!1,i=0,d=A.length;i<d;i++)if(A[i](e,F,r,!0)){ee=!0;break}if(ee)break;if(f){if(z=ia(e,F),z<0)break;L=e.bMarks[F]+e.tShift[F]}else if(z=ca(e,F),z<0)break;if(R!==e.src.charCodeAt(z-1))break}return f?Z=e.push("ordered_list_close","ol",-1):Z=e.push("bullet_list_close","ul",-1),Z.markup=String.fromCharCode(R),m[1]=F,e.line=F,e.parentType=P,C&&cd(e,b),!0},ad=le.normalizeReference,Sr=le.isSpace,ld=function(e,n,r,s){var o,c,i,a,l,u,f,p,d,m,b,R,T,D,N,B,P=0,y=e.bMarks[n]+e.tShift[n],W=e.eMarks[n],$=n+1;if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(y)!==91)return!1;for(;++y<W;)if(e.src.charCodeAt(y)===93&&e.src.charCodeAt(y-1)!==92){if(y+1===W||e.src.charCodeAt(y+1)!==58)return!1;break}for(a=e.lineMax,N=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";$<a&&!e.isEmpty($);$++)if(!(e.sCount[$]-e.blkIndent>3)&&!(e.sCount[$]<0)){for(D=!1,u=0,f=N.length;u<f;u++)if(N[u](e,$,a,!0)){D=!0;break}if(D)break}for(T=e.getLines(n,$,e.blkIndent,!1).trim(),W=T.length,y=1;y<W;y++){if(o=T.charCodeAt(y),o===91)return!1;if(o===93){d=y;break}else o===10?P++:o===92&&(y++,y<W&&T.charCodeAt(y)===10&&P++)}if(d<0||T.charCodeAt(d+1)!==58)return!1;for(y=d+2;y<W;y++)if(o=T.charCodeAt(y),o===10)P++;else if(!Sr(o))break;if(b=e.md.helpers.parseLinkDestination(T,y,W),!b.ok||(l=e.md.normalizeLink(b.str),!e.md.validateLink(l)))return!1;for(y=b.pos,P+=b.lines,c=y,i=P,R=y;y<W;y++)if(o=T.charCodeAt(y),o===10)P++;else if(!Sr(o))break;for(b=e.md.helpers.parseLinkTitle(T,y,W),y<W&&R!==y&&b.ok?(B=b.str,y=b.pos,P+=b.lines):(B="",y=c,P=i);y<W&&(o=T.charCodeAt(y),!!Sr(o));)y++;if(y<W&&T.charCodeAt(y)!==10&&B)for(B="",y=c,P=i;y<W&&(o=T.charCodeAt(y),!!Sr(o));)y++;return y<W&&T.charCodeAt(y)!==10||(p=ad(T.slice(1,d)),!p)?!1:(s||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[p]>"u"&&(e.env.references[p]={title:B,href:l}),e.parentType=m,e.line=n+P+1),!0)},ud=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Tr={},fd="[a-zA-Z_:][a-zA-Z0-9:._-]*",pd="[^\"'=<>`\\x00-\\x20]+",hd="'[^']*'",dd='"[^"]*"',gd="(?:"+pd+"|"+hd+"|"+dd+")",md="(?:\\s+"+fd+"(?:\\s*=\\s*"+gd+")?)",aa="<[A-Za-z][A-Za-z0-9\\-]*"+md+"*\\s*\\/?>",la="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",bd="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",_d="<[?][\\s\\S]*?[?]>",vd="<![A-Z]+\\s+[^>]*>",yd="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",xd=new RegExp("^(?:"+aa+"|"+la+"|"+bd+"|"+_d+"|"+vd+"|"+yd+")"),wd=new RegExp("^(?:"+aa+"|"+la+")");Tr.HTML_TAG_RE=xd,Tr.HTML_OPEN_CLOSE_TAG_RE=wd;var Ed=ud,kd=Tr.HTML_OPEN_CLOSE_TAG_RE,sn=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Ed.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(kd.source+"\\s*$"),/^$/,!1]],Ad=function(e,n,r,s){var o,c,i,a,l=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(l)!==60)return!1;for(a=e.src.slice(l,u),o=0;o<sn.length&&!sn[o][0].test(a);o++);if(o===sn.length)return!1;if(s)return sn[o][2];if(c=n+1,!sn[o][1].test(a)){for(;c<r&&!(e.sCount[c]<e.blkIndent);c++)if(l=e.bMarks[c]+e.tShift[c],u=e.eMarks[c],a=e.src.slice(l,u),sn[o][1].test(a)){a.length!==0&&c++;break}}return e.line=c,i=e.push("html_block","",0),i.map=[n,c],i.content=e.getLines(n,c,e.blkIndent,!0),!0},ua=le.isSpace,Cd=function(e,n,r,s){var o,c,i,a,l=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||(o=e.src.charCodeAt(l),o!==35||l>=u))return!1;for(c=1,o=e.src.charCodeAt(++l);o===35&&l<u&&c<=6;)c++,o=e.src.charCodeAt(++l);return c>6||l<u&&!ua(o)?!1:(s||(u=e.skipSpacesBack(u,l),i=e.skipCharsBack(u,35,l),i>l&&ua(e.src.charCodeAt(i-1))&&(u=i),e.line=n+1,a=e.push("heading_open","h"+String(c),1),a.markup="########".slice(0,c),a.map=[n,e.line],a=e.push("inline","",0),a.content=e.src.slice(l,u).trim(),a.map=[n,e.line],a.children=[],a=e.push("heading_close","h"+String(c),-1),a.markup="########".slice(0,c)),!0)},Sd=function(e,n,r){var s,o,c,i,a,l,u,f,p,d=n+1,m,b=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(m=e.parentType,e.parentType="paragraph";d<r&&!e.isEmpty(d);d++)if(!(e.sCount[d]-e.blkIndent>3)){if(e.sCount[d]>=e.blkIndent&&(l=e.bMarks[d]+e.tShift[d],u=e.eMarks[d],l<u&&(p=e.src.charCodeAt(l),(p===45||p===61)&&(l=e.skipChars(l,p),l=e.skipSpaces(l),l>=u)))){f=p===61?1:2;break}if(!(e.sCount[d]<0)){for(o=!1,c=0,i=b.length;c<i;c++)if(b[c](e,d,r,!0)){o=!0;break}if(o)break}}return f?(s=e.getLines(n,d,e.blkIndent,!1).trim(),e.line=d+1,a=e.push("heading_open","h"+String(f),1),a.markup=String.fromCharCode(p),a.map=[n,e.line],a=e.push("inline","",0),a.content=s,a.map=[n,e.line-1],a.children=[],a=e.push("heading_close","h"+String(f),-1),a.markup=String.fromCharCode(p),e.parentType=m,!0):!1},Td=function(e,n,r){var s,o,c,i,a,l,u=n+1,f=e.md.block.ruler.getRules("paragraph");for(l=e.parentType,e.parentType="paragraph";u<r&&!e.isEmpty(u);u++)if(!(e.sCount[u]-e.blkIndent>3)&&!(e.sCount[u]<0)){for(o=!1,c=0,i=f.length;c<i;c++)if(f[c](e,u,r,!0)){o=!0;break}if(o)break}return s=e.getLines(n,u,e.blkIndent,!1).trim(),e.line=u,a=e.push("paragraph_open","p",1),a.map=[n,e.line],a=e.push("inline","",0),a.content=s,a.map=[n,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=l,!0},fa=js,Dr=le.isSpace;function Xe(t,e,n,r){var s,o,c,i,a,l,u,f;for(this.src=t,this.md=e,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",o=this.src,f=!1,c=i=l=u=0,a=o.length;i<a;i++){if(s=o.charCodeAt(i),!f)if(Dr(s)){l++,s===9?u+=4-u%4:u++;continue}else f=!0;(s===10||i===a-1)&&(s!==10&&i++,this.bMarks.push(c),this.eMarks.push(i),this.tShift.push(l),this.sCount.push(u),this.bsCount.push(0),f=!1,l=0,u=0,c=i+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Xe.prototype.push=function(t,e,n){var r=new fa(t,e,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r},Xe.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},Xe.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;e<n&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},Xe.prototype.skipSpaces=function(e){for(var n,r=this.src.length;e<r&&(n=this.src.charCodeAt(e),!!Dr(n));e++);return e},Xe.prototype.skipSpacesBack=function(e,n){if(e<=n)return e;for(;e>n;)if(!Dr(this.src.charCodeAt(--e)))return e+1;return e},Xe.prototype.skipChars=function(e,n){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===n;e++);return e},Xe.prototype.skipCharsBack=function(e,n,r){if(e<=r)return e;for(;e>r;)if(n!==this.src.charCodeAt(--e))return e+1;return e},Xe.prototype.getLines=function(e,n,r,s){var o,c,i,a,l,u,f,p=e;if(e>=n)return"";for(u=new Array(n-e),o=0;p<n;p++,o++){for(c=0,f=a=this.bMarks[p],p+1<n||s?l=this.eMarks[p]+1:l=this.eMarks[p];a<l&&c<r;){if(i=this.src.charCodeAt(a),Dr(i))i===9?c+=4-(c+this.bsCount[p])%4:c++;else if(a-f<this.tShift[p])c++;else break;a++}c>r?u[o]=new Array(c-r+1).join(" ")+this.src.slice(a,l):u[o]=this.src.slice(a,l)}return u.join("")},Xe.prototype.Token=fa;var Dd=Xe,Rd=Gs,Rr=[["table",Qh,["paragraph","reference"]],["code",ed],["fence",td,["paragraph","reference","blockquote","list"]],["blockquote",rd,["paragraph","reference","blockquote","list"]],["hr",od,["paragraph","reference","blockquote","list"]],["list",id,["paragraph","reference","blockquote"]],["reference",ld],["html_block",Ad,["paragraph","reference","blockquote"]],["heading",Cd,["paragraph","reference","blockquote"]],["lheading",Sd],["paragraph",Td]];function Lr(){this.ruler=new Rd;for(var t=0;t<Rr.length;t++)this.ruler.push(Rr[t][0],Rr[t][1],{alt:(Rr[t][2]||[]).slice()})}Lr.prototype.tokenize=function(t,e,n){for(var r,s,o,c=this.ruler.getRules(""),i=c.length,a=e,l=!1,u=t.md.options.maxNesting;a<n&&(t.line=a=t.skipEmptyLines(a),!(a>=n||t.sCount[a]<t.blkIndent));){if(t.level>=u){t.line=n;break}for(o=t.line,s=0;s<i;s++)if(r=c[s](t,a,n,!1),r){if(o>=t.line)throw new Error("block rule didn't increment state.line");break}if(!r)throw new Error("none of the block rules matched");t.tight=!l,t.isEmpty(t.line-1)&&(l=!0),a=t.line,a<n&&t.isEmpty(a)&&(l=!0,a++,t.line=a)}},Lr.prototype.parse=function(t,e,n,r){var s;t&&(s=new this.State(t,e,n,r),this.tokenize(s,s.line,s.lineMax))},Lr.prototype.State=Dd;var Ld=Lr;function qd(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}for(var Nd=function(e,n){for(var r=e.pos;r<e.posMax&&!qd(e.src.charCodeAt(r));)r++;return r===e.pos?!1:(n||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)},Id=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,Md=function(e,n){var r,s,o,c,i,a,l,u;return!e.md.options.linkify||e.linkLevel>0||(r=e.pos,s=e.posMax,r+3>s)||e.src.charCodeAt(r)!==58||e.src.charCodeAt(r+1)!==47||e.src.charCodeAt(r+2)!==47||(o=e.pending.match(Id),!o)||(c=o[1],i=e.md.linkify.matchAtStart(e.src.slice(r-c.length)),!i)||(a=i.url,a.length<=c.length)||(a=a.replace(/\*+$/,""),l=e.md.normalizeLink(a),!e.md.validateLink(l))?!1:(n||(e.pending=e.pending.slice(0,-c.length),u=e.push("link_open","a",1),u.attrs=[["href",l]],u.markup="linkify",u.info="auto",u=e.push("text","",0),u.content=e.md.normalizeLinkText(a),u=e.push("link_close","a",-1),u.markup="linkify",u.info="auto"),e.pos+=a.length-c.length,!0)},Od=le.isSpace,Fd=function(e,n){var r,s,o,c=e.pos;if(e.src.charCodeAt(c)!==10)return!1;if(r=e.pending.length-1,s=e.posMax,!n)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){for(o=r-1;o>=1&&e.pending.charCodeAt(o-1)===32;)o--;e.pending=e.pending.slice(0,o),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(c++;c<s&&Od(e.src.charCodeAt(c));)c++;return e.pos=c,!0},Bd=le.isSpace,Ys=[],pa=0;pa<256;pa++)Ys.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){Ys[t.charCodeAt(0)]=1});var Pd=function(e,n){var r,s,o,c,i,a=e.pos,l=e.posMax;if(e.src.charCodeAt(a)!==92||(a++,a>=l))return!1;if(r=e.src.charCodeAt(a),r===10){for(n||e.push("hardbreak","br",0),a++;a<l&&(r=e.src.charCodeAt(a),!!Bd(r));)a++;return e.pos=a,!0}return c=e.src[a],r>=55296&&r<=56319&&a+1<l&&(s=e.src.charCodeAt(a+1),s>=56320&&s<=57343&&(c+=e.src[a+1],a++)),o="\\"+c,n||(i=e.push("text_special","",0),r<256&&Ys[r]!==0?i.content=c:i.content=o,i.markup=o,i.info="escape"),e.pos=a+1,!0},$d=function(e,n){var r,s,o,c,i,a,l,u,f=e.pos,p=e.src.charCodeAt(f);if(p!==96)return!1;for(r=f,f++,s=e.posMax;f<s&&e.src.charCodeAt(f)===96;)f++;if(o=e.src.slice(r,f),l=o.length,e.backticksScanned&&(e.backticks[l]||0)<=r)return n||(e.pending+=o),e.pos+=l,!0;for(a=f;(i=e.src.indexOf("`",a))!==-1;){for(a=i+1;a<s&&e.src.charCodeAt(a)===96;)a++;if(u=a-i,u===l)return n||(c=e.push("code_inline","code",0),c.markup=o,c.content=e.src.slice(f,i).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=a,!0;e.backticks[u]=i}return e.backticksScanned=!0,n||(e.pending+=o),e.pos+=l,!0},qr={};qr.tokenize=function(e,n){var r,s,o,c,i,a=e.pos,l=e.src.charCodeAt(a);if(n||l!==126||(s=e.scanDelims(e.pos,!0),c=s.length,i=String.fromCharCode(l),c<2))return!1;for(c%2&&(o=e.push("text","",0),o.content=i,c--),r=0;r<c;r+=2)o=e.push("text","",0),o.content=i+i,e.delimiters.push({marker:l,length:0,token:e.tokens.length-1,end:-1,open:s.can_open,close:s.can_close});return e.pos+=s.length,!0};function ha(t,e){var n,r,s,o,c,i=[],a=e.length;for(n=0;n<a;n++)s=e[n],s.marker===126&&s.end!==-1&&(o=e[s.end],c=t.tokens[s.token],c.type="s_open",c.tag="s",c.nesting=1,c.markup="~~",c.content="",c=t.tokens[o.token],c.type="s_close",c.tag="s",c.nesting=-1,c.markup="~~",c.content="",t.tokens[o.token-1].type==="text"&&t.tokens[o.token-1].content==="~"&&i.push(o.token-1));for(;i.length;){for(n=i.pop(),r=n+1;r<t.tokens.length&&t.tokens[r].type==="s_close";)r++;r--,n!==r&&(c=t.tokens[r],t.tokens[r]=t.tokens[n],t.tokens[n]=c)}}qr.postProcess=function(e){var n,r=e.tokens_meta,s=e.tokens_meta.length;for(ha(e,e.delimiters),n=0;n<s;n++)r[n]&&r[n].delimiters&&ha(e,r[n].delimiters)};var Nr={};Nr.tokenize=function(e,n){var r,s,o,c=e.pos,i=e.src.charCodeAt(c);if(n||i!==95&&i!==42)return!1;for(s=e.scanDelims(e.pos,i===42),r=0;r<s.length;r++)o=e.push("text","",0),o.content=String.fromCharCode(i),e.delimiters.push({marker:i,length:s.length,token:e.tokens.length-1,end:-1,open:s.can_open,close:s.can_close});return e.pos+=s.length,!0};function da(t,e){var n,r,s,o,c,i,a=e.length;for(n=a-1;n>=0;n--)r=e[n],!(r.marker!==95&&r.marker!==42)&&r.end!==-1&&(s=e[r.end],i=n>0&&e[n-1].end===r.end+1&&e[n-1].marker===r.marker&&e[n-1].token===r.token-1&&e[r.end+1].token===s.token+1,c=String.fromCharCode(r.marker),o=t.tokens[r.token],o.type=i?"strong_open":"em_open",o.tag=i?"strong":"em",o.nesting=1,o.markup=i?c+c:c,o.content="",o=t.tokens[s.token],o.type=i?"strong_close":"em_close",o.tag=i?"strong":"em",o.nesting=-1,o.markup=i?c+c:c,o.content="",i&&(t.tokens[e[n-1].token].content="",t.tokens[e[r.end+1].token].content="",n--))}Nr.postProcess=function(e){var n,r=e.tokens_meta,s=e.tokens_meta.length;for(da(e,e.delimiters),n=0;n<s;n++)r[n]&&r[n].delimiters&&da(e,r[n].delimiters)};var Ud=le.normalizeReference,Xs=le.isSpace,zd=function(e,n){var r,s,o,c,i,a,l,u,f,p="",d="",m=e.pos,b=e.posMax,R=e.pos,T=!0;if(e.src.charCodeAt(e.pos)!==91||(i=e.pos+1,c=e.md.helpers.parseLinkLabel(e,e.pos,!0),c<0))return!1;if(a=c+1,a<b&&e.src.charCodeAt(a)===40){for(T=!1,a++;a<b&&(s=e.src.charCodeAt(a),!(!Xs(s)&&s!==10));a++);if(a>=b)return!1;if(R=a,l=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),l.ok){for(p=e.md.normalizeLink(l.str),e.md.validateLink(p)?a=l.pos:p="",R=a;a<b&&(s=e.src.charCodeAt(a),!(!Xs(s)&&s!==10));a++);if(l=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<b&&R!==a&&l.ok)for(d=l.str,a=l.pos;a<b&&(s=e.src.charCodeAt(a),!(!Xs(s)&&s!==10));a++);}(a>=b||e.src.charCodeAt(a)!==41)&&(T=!0),a++}if(T){if(typeof e.env.references>"u")return!1;if(a<b&&e.src.charCodeAt(a)===91?(R=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?o=e.src.slice(R,a++):a=c+1):a=c+1,o||(o=e.src.slice(i,c)),u=e.env.references[Ud(o)],!u)return e.pos=m,!1;p=u.href,d=u.title}return n||(e.pos=i,e.posMax=c,f=e.push("link_open","a",1),f.attrs=r=[["href",p]],d&&r.push(["title",d]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,f=e.push("link_close","a",-1)),e.pos=a,e.posMax=b,!0},Hd=le.normalizeReference,Qs=le.isSpace,Vd=function(e,n){var r,s,o,c,i,a,l,u,f,p,d,m,b,R="",T=e.pos,D=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(a=e.pos+2,i=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),i<0))return!1;if(l=i+1,l<D&&e.src.charCodeAt(l)===40){for(l++;l<D&&(s=e.src.charCodeAt(l),!(!Qs(s)&&s!==10));l++);if(l>=D)return!1;for(b=l,f=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),f.ok&&(R=e.md.normalizeLink(f.str),e.md.validateLink(R)?l=f.pos:R=""),b=l;l<D&&(s=e.src.charCodeAt(l),!(!Qs(s)&&s!==10));l++);if(f=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<D&&b!==l&&f.ok)for(p=f.str,l=f.pos;l<D&&(s=e.src.charCodeAt(l),!(!Qs(s)&&s!==10));l++);else p="";if(l>=D||e.src.charCodeAt(l)!==41)return e.pos=T,!1;l++}else{if(typeof e.env.references>"u")return!1;if(l<D&&e.src.charCodeAt(l)===91?(b=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?c=e.src.slice(b,l++):l=i+1):l=i+1,c||(c=e.src.slice(a,i)),u=e.env.references[Hd(c)],!u)return e.pos=T,!1;R=u.href,p=u.title}return n||(o=e.src.slice(a,i),e.md.inline.parse(o,e.md,e.env,m=[]),d=e.push("image","img",0),d.attrs=r=[["src",R],["alt",""]],d.children=m,d.content=o,p&&r.push(["title",p])),e.pos=l,e.posMax=D,!0},Gd=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,jd=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,Kd=function(e,n){var r,s,o,c,i,a,l=e.pos;if(e.src.charCodeAt(l)!==60)return!1;for(i=e.pos,a=e.posMax;;){if(++l>=a||(c=e.src.charCodeAt(l),c===60))return!1;if(c===62)break}return r=e.src.slice(i+1,l),jd.test(r)?(s=e.md.normalizeLink(r),e.md.validateLink(s)?(n||(o=e.push("link_open","a",1),o.attrs=[["href",s]],o.markup="autolink",o.info="auto",o=e.push("text","",0),o.content=e.md.normalizeLinkText(r),o=e.push("link_close","a",-1),o.markup="autolink",o.info="auto"),e.pos+=r.length+2,!0):!1):Gd.test(r)?(s=e.md.normalizeLink("mailto:"+r),e.md.validateLink(s)?(n||(o=e.push("link_open","a",1),o.attrs=[["href",s]],o.markup="autolink",o.info="auto",o=e.push("text","",0),o.content=e.md.normalizeLinkText(r),o=e.push("link_close","a",-1),o.markup="autolink",o.info="auto"),e.pos+=r.length+2,!0):!1):!1},Zd=Tr.HTML_TAG_RE;function Wd(t){return/^<a[>\s]/i.test(t)}function Jd(t){return/^<\/a\s*>/i.test(t)}function Yd(t){var e=t|32;return e>=97&&e<=122}var Xd=function(e,n){var r,s,o,c,i=e.pos;return!e.md.options.html||(o=e.posMax,e.src.charCodeAt(i)!==60||i+2>=o)||(r=e.src.charCodeAt(i+1),r!==33&&r!==63&&r!==47&&!Yd(r))||(s=e.src.slice(i).match(Zd),!s)?!1:(n||(c=e.push("html_inline","",0),c.content=s[0],Wd(c.content)&&e.linkLevel++,Jd(c.content)&&e.linkLevel--),e.pos+=s[0].length,!0)},ga=Ii,Qd=le.has,eg=le.isValidEntityCode,ma=le.fromCodePoint,tg=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,ng=/^&([a-z][a-z0-9]{1,31});/i,rg=function(e,n){var r,s,o,c,i=e.pos,a=e.posMax;if(e.src.charCodeAt(i)!==38||i+1>=a)return!1;if(r=e.src.charCodeAt(i+1),r===35){if(o=e.src.slice(i).match(tg),o)return n||(s=o[1][0].toLowerCase()==="x"?parseInt(o[1].slice(1),16):parseInt(o[1],10),c=e.push("text_special","",0),c.content=eg(s)?ma(s):ma(65533),c.markup=o[0],c.info="entity"),e.pos+=o[0].length,!0}else if(o=e.src.slice(i).match(ng),o&&Qd(ga,o[1]))return n||(c=e.push("text_special","",0),c.content=ga[o[1]],c.markup=o[0],c.info="entity"),e.pos+=o[0].length,!0;return!1};function ba(t){var e,n,r,s,o,c,i,a,l={},u=t.length;if(u){var f=0,p=-2,d=[];for(e=0;e<u;e++)if(r=t[e],d.push(0),(t[f].marker!==r.marker||p!==r.token-1)&&(f=e),p=r.token,r.length=r.length||0,!!r.close){for(l.hasOwnProperty(r.marker)||(l[r.marker]=[-1,-1,-1,-1,-1,-1]),o=l[r.marker][(r.open?3:0)+r.length%3],n=f-d[f]-1,c=n;n>o;n-=d[n]+1)if(s=t[n],s.marker===r.marker&&s.open&&s.end<0&&(i=!1,(s.close||r.open)&&(s.length+r.length)%3===0&&(s.length%3!==0||r.length%3!==0)&&(i=!0),!i)){a=n>0&&!t[n-1].open?d[n-1]+1:0,d[e]=e-n+a,d[n]=a,r.open=!1,s.end=e,s.close=!1,c=-1,p=-2;break}c!==-1&&(l[r.marker][(r.open?3:0)+(r.length||0)%3]=c)}}}var sg=function(e){var n,r=e.tokens_meta,s=e.tokens_meta.length;for(ba(e.delimiters),n=0;n<s;n++)r[n]&&r[n].delimiters&&ba(r[n].delimiters)},og=function(e){var n,r,s=0,o=e.tokens,c=e.tokens.length;for(n=r=0;n<c;n++)o[n].nesting<0&&s--,o[n].level=s,o[n].nesting>0&&s++,o[n].type==="text"&&n+1<c&&o[n+1].type==="text"?o[n+1].content=o[n].content+o[n+1].content:(n!==r&&(o[r]=o[n]),r++);n!==r&&(o.length=r)},eo=js,_a=le.isWhiteSpace,va=le.isPunctChar,ya=le.isMdAsciiPunct;function Rn(t,e,n,r){this.src=t,this.env=n,this.md=e,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}Rn.prototype.pushPending=function(){var t=new eo("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},Rn.prototype.push=function(t,e,n){this.pending&&this.pushPending();var r=new eo(t,e,n),s=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],s={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(s),r},Rn.prototype.scanDelims=function(t,e){var n=t,r,s,o,c,i,a,l,u,f,p=!0,d=!0,m=this.posMax,b=this.src.charCodeAt(t);for(r=t>0?this.src.charCodeAt(t-1):32;n<m&&this.src.charCodeAt(n)===b;)n++;return o=n-t,s=n<m?this.src.charCodeAt(n):32,l=ya(r)||va(String.fromCharCode(r)),f=ya(s)||va(String.fromCharCode(s)),a=_a(r),u=_a(s),u?p=!1:f&&(a||l||(p=!1)),a?d=!1:l&&(u||f||(d=!1)),e?(c=p,i=d):(c=p&&(!d||l),i=d&&(!p||f)),{can_open:c,can_close:i,length:o}},Rn.prototype.Token=eo;var cg=Rn,xa=Gs,to=[["text",Nd],["linkify",Md],["newline",Fd],["escape",Pd],["backticks",$d],["strikethrough",qr.tokenize],["emphasis",Nr.tokenize],["link",zd],["image",Vd],["autolink",Kd],["html_inline",Xd],["entity",rg]],no=[["balance_pairs",sg],["strikethrough",qr.postProcess],["emphasis",Nr.postProcess],["fragments_join",og]];function Ln(){var t;for(this.ruler=new xa,t=0;t<to.length;t++)this.ruler.push(to[t][0],to[t][1]);for(this.ruler2=new xa,t=0;t<no.length;t++)this.ruler2.push(no[t][0],no[t][1])}Ln.prototype.skipToken=function(t){var e,n,r=t.pos,s=this.ruler.getRules(""),o=s.length,c=t.md.options.maxNesting,i=t.cache;if(typeof i[r]<"u"){t.pos=i[r];return}if(t.level<c){for(n=0;n<o;n++)if(t.level++,e=s[n](t,!0),t.level--,e){if(r>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;e||t.pos++,i[r]=t.pos},Ln.prototype.tokenize=function(t){for(var e,n,r,s=this.ruler.getRules(""),o=s.length,c=t.posMax,i=t.md.options.maxNesting;t.pos<c;){if(r=t.pos,t.level<i){for(n=0;n<o;n++)if(e=s[n](t,!1),e){if(r>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(e){if(t.pos>=c)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},Ln.prototype.parse=function(t,e,n,r){var s,o,c,i=new this.State(t,e,n,r);for(this.tokenize(i),o=this.ruler2.getRules(""),c=o.length,s=0;s<c;s++)o[s](i)},Ln.prototype.State=cg;var ig=Ln,ro,wa;function ag(){return wa||(wa=1,ro=function(t){var e={};t=t||{},e.src_Any=Hi().source,e.src_Cc=Gi().source,e.src_Z=Zi().source,e.src_P=$s.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");var n="[><|]";return e.src_pseudo_letter="(?:(?!"+n+"|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+n+"|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}),ro}function so(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(n){n&&Object.keys(n).forEach(function(r){t[r]=n[r]})}),t}function Ir(t){return Object.prototype.toString.call(t)}function lg(t){return Ir(t)==="[object String]"}function ug(t){return Ir(t)==="[object Object]"}function fg(t){return Ir(t)==="[object RegExp]"}function Ea(t){return Ir(t)==="[object Function]"}function pg(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var ka={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function hg(t){return Object.keys(t||{}).reduce(function(e,n){return e||ka.hasOwnProperty(n)},!1)}var dg={"http:":{validate:function(t,e,n){var r=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var r=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var r=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},gg="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",mg="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function bg(t){t.__index__=-1,t.__text_cache__=""}function _g(t){return function(e,n){var r=e.slice(n);return t.test(r)?r.match(t)[0].length:0}}function Aa(){return function(t,e){e.normalize(t)}}function Mr(t){var e=t.re=ag()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(gg),n.push(e.src_xn),e.src_tlds=n.join("|");function r(i){return i.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(r(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(r(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(r(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(r(e.tpl_host_fuzzy_test),"i");var s=[];t.__compiled__={};function o(i,a){throw new Error('(LinkifyIt) Invalid schema "'+i+'": '+a)}Object.keys(t.__schemas__).forEach(function(i){var a=t.__schemas__[i];if(a!==null){var l={validate:null,link:null};if(t.__compiled__[i]=l,ug(a)){fg(a.validate)?l.validate=_g(a.validate):Ea(a.validate)?l.validate=a.validate:o(i,a),Ea(a.normalize)?l.normalize=a.normalize:a.normalize?o(i,a):l.normalize=Aa();return}if(lg(a)){s.push(i);return}o(i,a)}}),s.forEach(function(i){t.__compiled__[t.__schemas__[i]]&&(t.__compiled__[i].validate=t.__compiled__[t.__schemas__[i]].validate,t.__compiled__[i].normalize=t.__compiled__[t.__schemas__[i]].normalize)}),t.__compiled__[""]={validate:null,normalize:Aa()};var c=Object.keys(t.__compiled__).filter(function(i){return i.length>0&&t.__compiled__[i]}).map(pg).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+c+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+c+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),bg(t)}function vg(t,e){var n=t.__index__,r=t.__last_index__,s=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=s,this.text=s,this.url=s}function oo(t,e){var n=new vg(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function Fe(t,e){if(!(this instanceof Fe))return new Fe(t,e);e||hg(t)&&(e=t,t={}),this.__opts__=so({},ka,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=so({},dg,t),this.__compiled__={},this.__tlds__=mg,this.__tlds_replaced__=!1,this.re={},Mr(this)}Fe.prototype.add=function(e,n){return this.__schemas__[e]=n,Mr(this),this},Fe.prototype.set=function(e){return this.__opts__=so(this.__opts__,e),this},Fe.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var n,r,s,o,c,i,a,l,u;if(this.re.schema_test.test(e)){for(a=this.re.schema_search,a.lastIndex=0;(n=a.exec(e))!==null;)if(o=this.testSchemaAt(e,n[2],a.lastIndex),o){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(c=r.index+r[1].length,(this.__index__<0||c<this.__index__)&&(this.__schema__="",this.__index__=c,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(u=e.indexOf("@"),u>=0&&(s=e.match(this.re.email_fuzzy))!==null&&(c=s.index+s[1].length,i=s.index+s[0].length,(this.__index__<0||c<this.__index__||c===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=c,this.__last_index__=i))),this.__index__>=0},Fe.prototype.pretest=function(e){return this.re.pretest.test(e)},Fe.prototype.testSchemaAt=function(e,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,r,this):0},Fe.prototype.match=function(e){var n=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(oo(this,n)),n=this.__last_index__);for(var s=n?e.slice(n):e;this.test(s);)r.push(oo(this,n)),s=s.slice(this.__last_index__),n+=this.__last_index__;return r.length?r:null},Fe.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var n=this.re.schema_at_start.exec(e);if(!n)return null;var r=this.testSchemaAt(e,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,oo(this,0)):null},Fe.prototype.tlds=function(e,n){return e=Array.isArray(e)?e:[e],n?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(r,s,o){return r!==o[s-1]}).reverse(),Mr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Mr(this),this)},Fe.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)},Fe.prototype.onCompile=function(){};var yg=Fe;const on=2147483647,Qe=36,co=1,qn=26,xg=38,wg=700,Ca=72,Sa=128,Ta="-",Eg=/^xn--/,kg=/[^\0-\x7F]/,Ag=/[\x2E\u3002\uFF0E\uFF61]/g,Cg={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},io=Qe-co,et=Math.floor,ao=String.fromCharCode;function xt(t){throw new RangeError(Cg[t])}function Sg(t,e){const n=[];let r=t.length;for(;r--;)n[r]=e(t[r]);return n}function Da(t,e){const n=t.split("@");let r="";n.length>1&&(r=n[0]+"@",t=n[1]),t=t.replace(Ag,".");const s=t.split("."),o=Sg(s,e).join(".");return r+o}function lo(t){const e=[];let n=0;const r=t.length;for(;n<r;){const s=t.charCodeAt(n++);if(s>=55296&&s<=56319&&n<r){const o=t.charCodeAt(n++);(o&64512)==56320?e.push(((s&1023)<<10)+(o&1023)+65536):(e.push(s),n--)}else e.push(s)}return e}const Ra=t=>String.fromCodePoint(...t),Tg=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:Qe},La=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},qa=function(t,e,n){let r=0;for(t=n?et(t/wg):t>>1,t+=et(t/e);t>io*qn>>1;r+=Qe)t=et(t/io);return et(r+(io+1)*t/(t+xg))},uo=function(t){const e=[],n=t.length;let r=0,s=Sa,o=Ca,c=t.lastIndexOf(Ta);c<0&&(c=0);for(let i=0;i<c;++i)t.charCodeAt(i)>=128&&xt("not-basic"),e.push(t.charCodeAt(i));for(let i=c>0?c+1:0;i<n;){const a=r;for(let u=1,f=Qe;;f+=Qe){i>=n&&xt("invalid-input");const p=Tg(t.charCodeAt(i++));p>=Qe&&xt("invalid-input"),p>et((on-r)/u)&&xt("overflow"),r+=p*u;const d=f<=o?co:f>=o+qn?qn:f-o;if(p<d)break;const m=Qe-d;u>et(on/m)&&xt("overflow"),u*=m}const l=e.length+1;o=qa(r-a,l,a==0),et(r/l)>on-s&&xt("overflow"),s+=et(r/l),r%=l,e.splice(r++,0,s)}return String.fromCodePoint(...e)},fo=function(t){const e=[];t=lo(t);const n=t.length;let r=Sa,s=0,o=Ca;for(const a of t)a<128&&e.push(ao(a));const c=e.length;let i=c;for(c&&e.push(Ta);i<n;){let a=on;for(const u of t)u>=r&&u<a&&(a=u);const l=i+1;a-r>et((on-s)/l)&&xt("overflow"),s+=(a-r)*l,r=a;for(const u of t)if(u<r&&++s>on&&xt("overflow"),u===r){let f=s;for(let p=Qe;;p+=Qe){const d=p<=o?co:p>=o+qn?qn:p-o;if(f<d)break;const m=f-d,b=Qe-d;e.push(ao(La(d+m%b,0))),f=et(m/b)}e.push(ao(La(f,0))),o=qa(s,l,i===c),s=0,++i}++s,++r}return e.join("")},Na=function(t){return Da(t,function(e){return Eg.test(e)?uo(e.slice(4).toLowerCase()):e})},Ia=function(t){return Da(t,function(e){return kg.test(e)?"xn--"+fo(e):e})},Dg=Ff(Object.freeze(Object.defineProperty({__proto__:null,decode:uo,default:{version:"2.3.1",ucs2:{decode:lo,encode:Ra},decode:uo,encode:fo,toASCII:Ia,toUnicode:Na},encode:fo,toASCII:Ia,toUnicode:Na,ucs2decode:lo,ucs2encode:Ra},Symbol.toStringTag,{value:"Module"})));var Rg={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},Lg={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},qg={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},Nn=le,Ng=Ar,Ig=Th,Mg=Xh,Og=Ld,Fg=ig,Bg=yg,Bt=tn,Ma=Dg,Pg={default:Rg,zero:Lg,commonmark:qg},$g=/^(vbscript|javascript|file|data):/,Ug=/^data:image\/(gif|png|jpeg|webp);/;function zg(t){var e=t.trim().toLowerCase();return $g.test(e)?!!Ug.test(e):!0}var Oa=["http:","https:","mailto:"];function Hg(t){var e=Bt.parse(t,!0);if(e.hostname&&(!e.protocol||Oa.indexOf(e.protocol)>=0))try{e.hostname=Ma.toASCII(e.hostname)}catch{}return Bt.encode(Bt.format(e))}function Vg(t){var e=Bt.parse(t,!0);if(e.hostname&&(!e.protocol||Oa.indexOf(e.protocol)>=0))try{e.hostname=Ma.toUnicode(e.hostname)}catch{}return Bt.decode(Bt.format(e),Bt.decode.defaultChars+"%")}function Ve(t,e){if(!(this instanceof Ve))return new Ve(t,e);e||Nn.isString(t)||(e=t||{},t="default"),this.inline=new Fg,this.block=new Og,this.core=new Mg,this.renderer=new Ig,this.linkify=new Bg,this.validateLink=zg,this.normalizeLink=Hg,this.normalizeLinkText=Vg,this.utils=Nn,this.helpers=Nn.assign({},Ng),this.options={},this.configure(t),e&&this.set(e)}Ve.prototype.set=function(t){return Nn.assign(this.options,t),this},Ve.prototype.configure=function(t){var e=this,n;if(Nn.isString(t)&&(n=t,t=Pg[n],!t))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(r){t.components[r].rules&&e[r].ruler.enableOnly(t.components[r].rules),t.components[r].rules2&&e[r].ruler2.enableOnly(t.components[r].rules2)}),this},Ve.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(s){n=n.concat(this[s].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var r=t.filter(function(s){return n.indexOf(s)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},Ve.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(s){n=n.concat(this[s].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var r=t.filter(function(s){return n.indexOf(s)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},Ve.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},Ve.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens},Ve.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},Ve.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens},Ve.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var Gg=Ve,jg=Gg;const Kg=Ns(jg),Zg=ze({name:"VueMarkdown",props:{source:{type:String,required:!0},options:{type:Object,required:!1},plugins:{type:Array,required:!1}},setup(t){const e=Te(new Kg(t.options??{}));for(const r of t.plugins??[])e.value.use(r);const n=Re(()=>e.value.render(t.source));return()=>zc("div",{innerHTML:n.value})}}),Or="[A-Za-z$_][0-9A-Za-z$_]*",Fa=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Ba=["true","false","null","undefined","NaN","Infinity"],Pa=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],$a=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Ua=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],za=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Ha=[].concat(Ua,Pa,$a);function Wg(t){const e=t.regex,n=(C,{after:j})=>{const ne="</"+C[0].slice(1);return C.input.indexOf(ne,j)!==-1},r=Or,s={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(C,j)=>{const ne=C[0].length+C.index,se=C.input[ne];if(se==="<"||se===","){j.ignoreMatch();return}se===">"&&(n(C,{after:ne})||j.ignoreMatch());let ue;const ke=C.input.substring(ne);if(ue=ke.match(/^\s*=/)){j.ignoreMatch();return}if((ue=ke.match(/^\s+extends\s+/))&&ue.index===0){j.ignoreMatch();return}}},i={$pattern:Or,keyword:Fa,literal:Ba,built_in:Ha,"variable.language":za},a="[0-9](_?[0-9])*",l=`\\.(${a})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${a})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords:i,contains:[]},d={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},m={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"css"}},b={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},R={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,p]},D={className:"comment",variants:[t.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:r+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),t.C_BLOCK_COMMENT_MODE,t.C_LINE_COMMENT_MODE]},N=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,m,b,R,{match:/\$\d+/},f];p.contains=N.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(N)});const B=[].concat(D,p.contains),P=B.concat([{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(B)}]),y={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:P},W={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,e.concat(r,"(",e.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},$={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...Pa,...$a]}},Q={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},z={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[y],illegal:/%/},ce={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function L(C){return e.concat("(?!",C.join("|"),")")}const ee={match:e.concat(/\b/,L([...Ua,"super","import"]),r,e.lookahead(/\(/)),className:"title.function",relevance:0},A={begin:e.concat(/\./,e.lookahead(e.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Z={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},y]},F="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",v={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(F)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[y]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:P,CLASS_REFERENCE:$},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),Q,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,m,b,R,D,{match:/\$\d+/},f,$,{className:"attr",begin:r+e.lookahead(":"),relevance:0},v,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[D,t.REGEXP_MODE,{className:"function",begin:F,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:t.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:P}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:o},{begin:c.begin,"on:begin":c.isTrulyOpeningTag,end:c.end}],subLanguage:"xml",contains:[{begin:c.begin,end:c.end,skip:!0,contains:["self"]}]}]},z,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[y,t.inherit(t.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},A,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[y]},ee,ce,W,Z,{match:/\$[(.]/}]}}function Jg(t){const e=Wg(t),n=Or,r=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],s={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[e.exports.CLASS_REFERENCE]},o={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:r},contains:[e.exports.CLASS_REFERENCE]},c={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},i=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],a={$pattern:Or,keyword:Fa.concat(i),literal:Ba,built_in:Ha.concat(r),"variable.language":za},l={className:"meta",begin:"@"+n},u=(p,d,m)=>{const b=p.contains.findIndex(R=>R.label===d);if(b===-1)throw new Error("can not find mode to replace");p.contains.splice(b,1,m)};Object.assign(e.keywords,a),e.exports.PARAMS_CONTAINS.push(l),e.contains=e.contains.concat([l,s,o]),u(e,"shebang",t.SHEBANG()),u(e,"use_strict",c);const f=e.contains.find(p=>p.label==="func.def");return f.relevance=0,Object.assign(e,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),e}function Yg(t){const e=t.regex,n=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],i={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},a={className:"meta",begin:/^(>>>|\.\.\.) /},l={className:"subst",begin:/\{/,end:/\}/,keywords:i,illegal:/#/},u={begin:/\{\{/,relevance:0},f={className:"string",contains:[t.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[t.BACKSLASH_ESCAPE,a,u,l]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[t.BACKSLASH_ESCAPE,a,u,l]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[t.BACKSLASH_ESCAPE,u,l]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,u,l]},t.APOS_STRING_MODE,t.QUOTE_STRING_MODE]},p="[0-9](_?[0-9])*",d=`(\\b(${p}))?\\.(${p})|\\b(${p})\\.`,m=`\\b|${r.join("|")}`,b={className:"number",relevance:0,variants:[{begin:`(\\b(${p})|(${d}))[eE][+-]?(${p})[jJ]?(?=${m})`},{begin:`(${d})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${m})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${m})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${m})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${m})`},{begin:`\\b(${p})[jJ](?=${m})`}]},R={className:"comment",begin:e.lookahead(/# type:/),end:/$/,keywords:i,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},T={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:["self",a,b,f,t.HASH_COMMENT_MODE]}]};return l.contains=[f,b,a],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:i,illegal:/(<\/|\?)|=>/,contains:[a,b,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},f,R,t.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[T]},{variants:[{match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[b,T,f]}]}}function Xg(t){const e=t.regex,n={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:e.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const s={className:"subst",begin:/\$\(/,end:/\)/,contains:[t.BACKSLASH_ESCAPE]},o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[t.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},c={className:"string",begin:/"/,end:/"/,contains:[t.BACKSLASH_ESCAPE,n,s]};s.contains.push(c);const i={match:/\\"/},a={className:"string",begin:/'/,end:/'/},l={match:/\\'/},u={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},t.NUMBER_MODE,n]},f=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],p=t.SHEBANG({binary:`(${f.join("|")})`,relevance:10}),d={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[t.inherit(t.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],b=["true","false"],R={match:/(\/[a-z._-]+)+/},T=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],D=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],N=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],B=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:m,literal:b,built_in:[...T,...D,"set","shopt",...N,...B]},contains:[p,t.SHEBANG(),d,u,t.HASH_COMMENT_MODE,o,R,c,i,a,l,n]}}function Qg(t,e){var n,r,s=t.attrs[t.attrIndex("href")][1];for(n=0;n<e.length;++n){if(r=e[n],typeof r.matcher=="function"){if(r.matcher(s,r))return r;continue}return r}}function em(t,e,n){Object.keys(n).forEach(function(r){var s,o=n[r];r==="className"&&(r="class"),s=e[t].attrIndex(r),s<0?e[t].attrPush([r,o]):e[t].attrs[s][1]=o})}function Va(t,e){e?e=Array.isArray(e)?e:[e]:e=[],Object.freeze(e);var n=t.renderer.rules.link_open||this.defaultRender;t.renderer.rules.link_open=function(r,s,o,c,i){var a=Qg(r[s],e),l=a&&a.attrs;return l&&em(s,r,l),n(r,s,o,c,i)}}Va.defaultRender=function(t,e,n,r,s){return s.renderToken(t,e,n)};var tm=Va;const nm=Ns(tm),rm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},sm=[pe("path",{fill:"currentColor",d:"M13 9h5.5L13 3.5zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m9 16v-2H6v2zm3-4v-2H6v2z"},null,-1)];function om(t,e){return K(),oe("svg",rm,[...sm])}const Ga={name:"mdi-fileText",render:om},cm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},im=[pe("path",{fill:"currentColor",d:"M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8zm-1 11h-2v5a2 2 0 0 1-2 2a2 2 0 0 1-2-2a2 2 0 0 1 2-2c.4 0 .7.1 1 .3V11h3zm0-4V3.5L18.5 9z"},null,-1)];function am(t,e){return K(),oe("svg",cm,[...im])}const lm={name:"mdi-fileMusic",render:am},um={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},fm=[pe("path",{fill:"currentColor",d:"M13 9h5.5L13 3.5zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m0 18h12v-8l-4 4l-2-2zM8 9a2 2 0 0 0-2 2a2 2 0 0 0 2 2a2 2 0 0 0 2-2a2 2 0 0 0-2-2"},null,-1)];function pm(t,e){return K(),oe("svg",um,[...fm])}const hm={name:"mdi-fileImage",render:pm},dm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},gm=[pe("path",{fill:"currentColor",d:"M13 9h5.5L13 3.5zM6 2h8l6 6v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V4c0-1.11.89-2 2-2m11 17v-6l-3 2.2V13H7v6h7v-2.2z"},null,-1)];function mm(t,e){return K(),oe("svg",dm,[...gm])}const bm={name:"mdi-fileVideo",render:mm},_m={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},vm=[pe("path",{fill:"currentColor",d:"M20 6.91L17.09 4L12 9.09L6.91 4L4 6.91L9.09 12L4 17.09L6.91 20L12 14.91L17.09 20L20 17.09L14.91 12z"},null,-1)];function ym(t,e){return K(),oe("svg",_m,[...vm])}const xm={name:"mdi-closeThick",render:ym},wm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Em=[pe("path",{fill:"currentColor",d:"M14 3v2h3.59l-9.83 9.83l1.41 1.41L19 6.41V10h2V3m-2 16H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7h-2z"},null,-1)];function km(t,e){return K(),oe("svg",wm,[...Em])}const Am={name:"mdi-openInNew",render:km},Cm={class:"chat-file-name"},ja=yr(ze({__name:"ChatFile",props:{file:{},isRemovable:{type:Boolean},isPreviewable:{type:Boolean}},emits:["remove"],setup(t,{emit:e}){const n=t,r=e,s={document:Ga,audio:lm,image:hm,video:bm},o=Re(()=>{var a;const i=(a=n.file)==null?void 0:a.type.split("/")[0];return s[i]||Ga});function c(){n.isRemovable&&r("remove",n.file),n.isPreviewable&&window.open(URL.createObjectURL(n.file))}return(i,a)=>(K(),oe("div",{class:"chat-file",onClick:c},[ge(re(o)),pe("p",Cm,fn(i.file.name),1),i.isRemovable?(K(),be(re(xm),{key:0,class:"chat-file-delete"})):Oe("",!0),i.isPreviewable?(K(),be(re(Am),{key:1,class:"chat-file-preview"})):Oe("",!0)]))}}),[["__scopeId","data-v-4da5a5e1"]]),Sm={key:0,class:"chat-message-actions"},Tm={key:2,class:"chat-message-files"},po=ze({__name:"Message",props:{message:{}},setup(t,{expose:e}){const n=t;ct.registerLanguage("javascript",Ri),ct.registerLanguage("typescript",Jg),ct.registerLanguage("python",Yg),ct.registerLanguage("xml",Ai),ct.registerLanguage("bash",Xg);const{message:r}=Fl(n),{options:s}=Dn(),o=Te(null),c=Te({}),i=Re(()=>r.value.text||"<Empty response>"),a=Re(()=>({"chat-message-from-user":r.value.sender==="user","chat-message-from-bot":r.value.sender==="bot","chat-message-transparent":r.value.transparent===!0})),l=m=>{m.use(nm,{attrs:{target:"_blank",rel:"noopener"}})},u=()=>{var m;(m=o.value)!=null&&m.scrollIntoView&&o.value.scrollIntoView({block:"center"})},f={highlight(m,b){if(b&&ct.getLanguage(b))try{return ct.highlight(m,{language:b}).value}catch{}return""}},p={...(s==null?void 0:s.messageComponents)??{}};e({scrollToView:u});const d=async m=>await new Promise((b,R)=>{const T=new FileReader;T.onload=()=>b(T.result),T.onerror=R,T.readAsDataURL(m)});return dt(async()=>{if(r.value.files)for(const m of r.value.files)try{const b=await d(m);c.value[m.name]=b}catch(b){console.error("Error reading file:",b)}}),(m,b)=>(K(),oe("div",{ref_key:"messageContainer",ref:o,class:jt(["chat-message",a.value])},[m.$slots.beforeMessage?(K(),oe("div",Sm,[Dt(m.$slots,"beforeMessage",jr(As({message:re(r)})))])):Oe("",!0),Dt(m.$slots,"default",{},()=>[re(r).type==="component"&&p[re(r).key]?(K(),be(tu(p[re(r).key]),jr(Ic({key:0},re(r).arguments)),null,16)):(K(),be(re(Zg),{key:1,class:"chat-message-markdown",source:i.value,options:f,plugins:[l]},null,8,["source","plugins"])),(re(r).files??[]).length>0?(K(),oe("div",Tm,[(K(!0),oe(Ce,null,or(re(r).files??[],R=>(K(),oe("div",{key:R.name,class:"chat-message-file"},[ge(ja,{file:R,"is-removable":!1,"is-previewable":!0},null,8,["file"])]))),128))])):Oe("",!0)])],2))}}),Dm=pe("div",{class:"chat-message-typing-body"},[pe("span",{class:"chat-message-typing-circle"}),pe("span",{class:"chat-message-typing-circle"}),pe("span",{class:"chat-message-typing-circle"})],-1),Rm=ze({__name:"MessageTyping",props:{animation:{default:"bouncing"}},setup(t){const e=t,n={id:"typing",text:"",sender:"bot",createdAt:""},r=Te(),s=Re(()=>({"chat-message-typing":!0,[`chat-message-typing-animation-${e.animation}`]:!0}));return dt(()=>{var o;(o=r.value)==null||o.scrollToView()}),(o,c)=>(K(),be(re(po),{ref_key:"messageContainer",ref:r,class:jt(s.value),message:n},{default:st(()=>[Dm]),_:1},8,["class"]))}}),Lm={class:"chat-messages-list"},qm=ze({__name:"MessagesList",props:{messages:{}},setup(t){const e=Ps(),n=Te([]),{initialMessages:r,waitingForResponse:s}=e;return tr(()=>n.value.length,()=>{const o=n.value[n.value.length-1];o&&o.scrollToView()}),(o,c)=>(K(),oe("div",Lm,[(K(!0),oe(Ce,null,or(re(r),i=>(K(),be(po,{key:i.id,message:i},null,8,["message"]))),128)),(K(!0),oe(Ce,null,or(o.messages,i=>(K(),be(po,{key:i.id,ref_for:!0,ref_key:"messageComponents",ref:n,message:i},{beforeMessage:st(({message:a})=>[Dt(o.$slots,"beforeMessage",jr(As({message:a})))]),_:2},1032,["message"]))),128)),re(s)?(K(),be(Rm,{key:0})):Oe("",!0)]))}}),Nm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Im=[pe("path",{fill:"currentColor",d:"m2 21l21-9L2 3v7l15 2l-15 2z"},null,-1)];function Mm(t,e){return K(),oe("svg",Nm,[...Im])}const Om={name:"mdi-send",render:Mm},Fm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},Bm=[pe("path",{fill:"currentColor",d:"M14 2H6c-1.11 0-2 .89-2 2v16c0 1.11.89 2 2 2h7.81c-.53-.91-.81-1.95-.81-3c0-3.31 2.69-6 6-6c.34 0 .67.03 1 .08V8zm-1 7V3.5L18.5 9zm10 11h-3v3h-2v-3h-3v-2h3v-3h2v3h3z"},null,-1)];function Pm(t,e){return K(),oe("svg",Fm,[...Bm])}const $m={name:"mdi-filePlus",render:Pm};function Um(t){return ko()?(fl(t),!0):!1}function zm(){const t=new Set,e=s=>{t.delete(s)};return{on:s=>{t.add(s);const o=()=>e(s);return Um(o),{off:o}},off:e,trigger:(...s)=>Promise.all(Array.from(t).map(o=>o(...s)))}}const Hm=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Vm=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),Gm=Hm?window.document:void 0,jm={multiple:!0,accept:"*",reset:!1,directory:!1};function Km(t={}){const{document:e=Gm}=t,n=Te(null),{on:r,trigger:s}=zm();let o;e&&(o=e.createElement("input"),o.type="file",o.onchange=a=>{const l=a.target;n.value=l.files,s(n.value)});const c=()=>{n.value=null,o&&o.value&&(o.value="",s(null))},i=a=>{if(!o)return;const l={...jm,...t,...a};o.multiple=l.multiple,o.accept=l.accept,o.webkitdirectory=l.directory,Vm(l,"capture")&&(o.capture=l.capture),l.reset&&c(),o.click()};return{files:rs(n),open:i,reset:c,onChange:r}}const Zm={class:"chat-inputs"},Wm=["disabled","placeholder"],Jm={class:"chat-inputs-controls"},Ym=["disabled"],Xm=["disabled"],Qm={key:0,class:"chat-files"},eb=yr(ze({__name:"Input",emits:["arrowKeyDown"],setup(t,{emit:e}){const n=e,{options:r}=Dn(),s=Ps(),{waitingForResponse:o}=s,{t:c}=xr(),i=Te(null),a=Te(null),l=Te(""),u=Te(!1),f=Re(()=>{var L;return l.value===""||o.value||((L=r.disabled)==null?void 0:L.value)===!0}),p=Re(()=>{var L;return((L=r.disabled)==null?void 0:L.value)===!0}),d=Re(()=>{var L;return m.value&&o.value&&!((L=r.disabled)!=null&&L.value)}),m=Re(()=>re(r.allowFileUploads)===!0),b=Re(()=>re(r.allowedFilesMimeTypes)),R=Re(()=>({"--controls-count":m.value?2:1})),{open:T,reset:D,onChange:N}=Km({multiple:!0,reset:!1});N(L=>{if(!L)return;const ee=new DataTransfer;if(i.value)for(let A=0;A<i.value.length;A++)ee.items.add(i.value[A]);for(let A=0;A<L.length;A++)ee.items.add(L[A]);i.value=ee.files}),dt(()=>{Ie.on("focusInput",P),Ie.on("blurInput",B),Ie.on("setInputValue",y)}),ds(()=>{Ie.off("focusInput",P),Ie.off("blurInput",B),Ie.off("setInputValue",y)});function B(){a.value&&a.value.blur()}function P(){a.value&&a.value.focus()}function y(L){l.value=L,P()}async function W(L){if(L.preventDefault(),f.value)return;const ee=l.value;l.value="",u.value=!0,await s.sendMessage(ee,Array.from(i.value??[])),u.value=!1,D(),i.value=null}async function $(L){L.shiftKey||await W(L)}function Q(L){if(!i.value)return;const ee=new DataTransfer;for(let A=0;A<i.value.length;A++){const Z=i.value[A];L.name!==Z.name&&ee.items.add(Z)}D(),i.value=ee.files}function z(L){(L.key==="ArrowUp"||L.key==="ArrowDown")&&(L.preventDefault(),n("arrowKeyDown",{key:L.key,currentInputValue:l.value}))}function ce(){d.value||T({accept:re(b)})}return(L,ee)=>{var A;return K(),oe("div",{class:"chat-input",style:un(R.value),onKeydown:Df(z,["stop"])},[pe("div",Zm,[ic(pe("textarea",{ref_key:"chatTextArea",ref:a,"onUpdate:modelValue":ee[0]||(ee[0]=Z=>l.value=Z),disabled:p.value,placeholder:re(c)("inputPlaceholder"),onKeydown:Lf($,["enter"])},null,40,Wm),[[Cf,l.value]]),pe("div",Jm,[m.value?(K(),oe("button",{key:0,disabled:d.value,class:"chat-input-send-button",onClick:ce},[ge(re($m),{height:"24",width:"24"})],8,Ym)):Oe("",!0),pe("button",{disabled:f.value,class:"chat-input-send-button",onClick:W},[ge(re(Om),{height:"24",width:"24"})],8,Xm)])]),(A=i.value)!=null&&A.length&&!u.value?(K(),oe("div",Qm,[(K(!0),oe(Ce,null,or(i.value,Z=>(K(),be(ja,{key:Z.name,file:Z,"is-removable":!0,onRemove:Q},null,8,["file"]))),128))])):Oe("",!0)],36)}}}),[["__scopeId","data-v-abe260b1"]]),tb={class:"chat-heading"},nb=["title"],rb={key:0},Ka=ze({__name:"Chat",setup(t){const{t:e}=xr(),n=Ps(),{messages:r,currentSessionId:s}=n,{options:o}=Dn(),c=Re(()=>o.mode==="window"&&o.showWindowCloseButton);async function i(){n.startNewSession&&(n.startNewSession(),Jt(()=>{Ie.emit("scrollToBottom")}))}async function a(){n.loadPreviousSession&&(await n.loadPreviousSession(),Jt(()=>{Ie.emit("scrollToBottom")}))}function l(){Ie.emit("close")}return dt(async()=>{await a(),!o.showWelcomeScreen&&!s.value&&await i()}),(u,f)=>(K(),be(Kp,{class:"chat-wrapper"},{header:st(()=>[pe("div",tb,[pe("h1",null,fn(re(e)("title")),1),c.value?(K(),oe("button",{key:0,class:"chat-close-button",title:re(e)("closeButtonTooltip"),onClick:l},[ge(re(Up),{height:"18",width:"18"})],8,nb)):Oe("",!0)]),re(e)("subtitle")?(K(),oe("p",rb,fn(re(e)("subtitle")),1)):Oe("",!0)]),footer:st(()=>[re(s)?(K(),be(eb,{key:0})):(K(),be(sh,{key:1}))]),default:st(()=>[!re(s)&&re(o).showWelcomeScreen?(K(),be(Jp,{key:0,"onClick:button":i})):(K(),be(qm,{key:1,messages:re(r)},null,8,["messages"]))]),_:1}))}}),sb={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},ob=[pe("path",{fill:"currentColor",d:"M12 3c5.5 0 10 3.58 10 8s-4.5 8-10 8c-1.24 0-2.43-.18-3.53-.5C5.55 21 2 21 2 21c2.33-2.33 2.7-3.9 2.75-4.5C3.05 15.07 2 13.13 2 11c0-4.42 4.5-8 10-8"},null,-1)];function cb(t,e){return K(),oe("svg",sb,[...ob])}const ib={name:"mdi-chat",render:cb},ab={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},lb=[pe("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z"},null,-1)];function ub(t,e){return K(),oe("svg",ab,[...lb])}const fb={name:"mdi-chevron-down",render:ub},pb={class:"chat-window-wrapper"},hb={class:"chat-window"},db=ze({__name:"ChatWindow",setup(t){const e=Te(!1);function n(){e.value=!e.value,e.value&&Jt(()=>{Ie.emit("scrollToBottom")})}return(r,s)=>(K(),oe("div",pb,[ge(dr,{name:"chat-window-transition"},{default:st(()=>[ic(pe("div",hb,[ge(Ka)],512),[[lf,e.value]])]),_:1}),pe("div",{class:"chat-window-toggle",onClick:n},[ge(dr,{name:"chat-window-toggle-transition",mode:"out-in"},{default:st(()=>[e.value?(K(),be(re(fb),{key:1,height:"32",width:"32"})):(K(),be(re(ib),{key:0,height:"32",width:"32"}))]),_:1})])]))}}),gb=ze({__name:"App",props:{},setup(t){const{options:e}=Dn(),n=Re(()=>e.mode==="fullscreen");return dt(()=>{ct.registerLanguage("xml",Ai),ct.registerLanguage("javascript",Ri)}),(r,s)=>n.value?(K(),be(re(Ka),{key:0,class:"n8n-chat"})):(K(),be(re(db),{key:1,class:"n8n-chat"}))}});var Fr,mb=new Uint8Array(16);function bb(){if(!Fr&&(Fr=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!Fr))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Fr(mb)}const _b=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function vb(t){return typeof t=="string"&&_b.test(t)}for(var Ee=[],ho=0;ho<256;++ho)Ee.push((ho+256).toString(16).substr(1));function yb(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,n=(Ee[t[e+0]]+Ee[t[e+1]]+Ee[t[e+2]]+Ee[t[e+3]]+"-"+Ee[t[e+4]]+Ee[t[e+5]]+"-"+Ee[t[e+6]]+Ee[t[e+7]]+"-"+Ee[t[e+8]]+Ee[t[e+9]]+"-"+Ee[t[e+10]]+Ee[t[e+11]]+Ee[t[e+12]]+Ee[t[e+13]]+Ee[t[e+14]]+Ee[t[e+15]]).toLowerCase();if(!vb(n))throw TypeError("Stringified UUID is invalid");return n}function In(t,e,n){t=t||{};var r=t.random||(t.rng||bb)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,yb(r)}async function xb(){return""}async function go(...t){var o,c;const e=await xb(),n=(o=t[1])==null?void 0:o.body,r={...e?{authorization:`Bearer ${e}`}:{},...(c=t[1])==null?void 0:c.headers};return n instanceof FormData?delete r["Content-Type"]:r["Content-Type"]="application/json",await(await fetch(t[0],{...t[1],mode:"cors",cache:"no-cache",headers:r})).json()}async function Za(t,e={},n={}){let r=t;return Object.keys(e).length>0&&(r=`${r}?${new URLSearchParams(e).toString()}`),await go(r,{...n,method:"GET"})}async function Wa(t,e={},n={}){return await go(t,{...n,method:"POST",body:JSON.stringify(e)})}async function wb(t,e={},n=[],r={}){const s=new FormData;for(const o in e)s.append(o,e[o]);for(const o of n)s.append("files",o);return await go(t,{...r,method:"POST",body:s})}async function Eb(t,e){var r,s;return await(((r=e.webhookConfig)==null?void 0:r.method)==="POST"?Wa:Za)(`${e.webhookUrl}`,{action:"loadPreviousSession",[e.chatSessionKey]:t,...e.metadata?{metadata:e.metadata}:{}},{headers:(s=e.webhookConfig)==null?void 0:s.headers})}async function kb(t,e,n,r){var o,c,i;return e.length>0?await wb(`${r.webhookUrl}`,{action:"sendMessage",[r.chatSessionKey]:n,[r.chatInputKey]:t,...r.metadata?{metadata:r.metadata}:{}},e,{headers:(o=r.webhookConfig)==null?void 0:o.headers}):await(((c=r.webhookConfig)==null?void 0:c.method)==="POST"?Wa:Za)(`${r.webhookUrl}`,{action:"sendMessage",[r.chatSessionKey]:n,[r.chatInputKey]:t,...r.metadata?{metadata:r.metadata}:{}},{headers:(i=r.webhookConfig)==null?void 0:i.headers})}const Ab={install(t,e){t.provide(Ni,e);const n=Te([]),r=Te(null),s=Te(!1),o=Re(()=>(e.initialMessages??[]).map(u=>({id:In(),text:u,sender:"bot",createdAt:new Date().toISOString()})));async function c(u,f=[]){const p={id:In(),text:u,sender:"user",files:f,createdAt:new Date().toISOString()};n.value.push(p),s.value=!0,Jt(()=>{Ie.emit("scrollToBottom")});const d=await kb(u,f,r.value,e);let m=d.output??d.text??"";if(m===""&&Object.keys(d).length>0)try{m=JSON.stringify(d,null,2)}catch{}const b={id:In(),text:m,sender:"bot",createdAt:new Date().toISOString()};n.value.push(b),s.value=!1,Jt(()=>{Ie.emit("scrollToBottom")})}async function i(){if(!e.loadPreviousSession)return;const u=localStorage.getItem(Li)??In(),f=await Eb(u,e),p=new Date().toISOString();return n.value=((f==null?void 0:f.data)||[]).map((d,m)=>({id:`${m}`,text:d.kwargs.content,sender:d.id.includes("HumanMessage")?"user":"bot",createdAt:p})),n.value.length&&(r.value=u),u}async function a(){r.value=In(),localStorage.setItem(Li,r.value)}const l={initialMessages:o,messages:n,currentSessionId:r,waitingForResponse:s,loadPreviousSession:i,startNewSession:a,sendMessage:c};t.provide(qi,l),t.config.globalProperties.$chat=l}};function Cb(t){var s,o;const e={...Tn,...t,webhookConfig:{...Tn.webhookConfig,...t==null?void 0:t.webhookConfig},i18n:{...Tn.i18n,...t==null?void 0:t.i18n,en:{...(s=Tn.i18n)==null?void 0:s.en,...(o=t==null?void 0:t.i18n)==null?void 0:o.en}},theme:{...Tn.theme,...t==null?void 0:t.theme}},n=e.target??Zp;typeof n=="string"&&Hp(n);const r=If(gb);return r.use(Ab,e),r.mount(n),r}zt.createChat=Cb,Object.defineProperty(zt,Symbol.toStringTag,{value:"Module"})});
|
|
35
|
+
`);return r},nn.prototype.render=function(t,e,n){var r,s,o,c="",i=this.rules;for(r=0,s=t.length;r<s;r++)o=t[r].type,o==="inline"?c+=this.renderInline(t[r].children,e,n):typeof i[o]<"u"?c+=i[o](t,r,e,n,this):c+=this.renderToken(t,r,e,n);return c};var Bd=nn;function je(){this.__rules__=[],this.__cache__=null}je.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1},je.prototype.__compile__=function(){var t=this,e=[""];t.__rules__.forEach(function(n){n.enabled&&n.alt.forEach(function(r){e.indexOf(r)<0&&e.push(r)})}),t.__cache__={},e.forEach(function(n){t.__cache__[n]=[],t.__rules__.forEach(function(r){r.enabled&&(n&&r.alt.indexOf(n)<0||t.__cache__[n].push(r.fn))})})},je.prototype.at=function(t,e,n){var r=this.__find__(t),s=n||{};if(r===-1)throw new Error("Parser rule not found: "+t);this.__rules__[r].fn=e,this.__rules__[r].alt=s.alt||[],this.__cache__=null},je.prototype.before=function(t,e,n,r){var s=this.__find__(t),o=r||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(s,0,{name:e,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},je.prototype.after=function(t,e,n,r){var s=this.__find__(t),o=r||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(s+1,0,{name:e,enabled:!0,fn:n,alt:o.alt||[]}),this.__cache__=null},je.prototype.push=function(t,e,n){var r=n||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:r.alt||[]}),this.__cache__=null},je.prototype.enable=function(t,e){Array.isArray(t)||(t=[t]);var n=[];return t.forEach(function(r){var s=this.__find__(r);if(s<0){if(e)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[s].enabled=!0,n.push(r)},this),this.__cache__=null,n},je.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(t,e)},je.prototype.disable=function(t,e){Array.isArray(t)||(t=[t]);var n=[];return t.forEach(function(r){var s=this.__find__(r);if(s<0){if(e)return;throw new Error("Rules manager: invalid rule name "+r)}this.__rules__[s].enabled=!1,n.push(r)},this),this.__cache__=null,n},je.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};var Ks=je,Pd=/\r\n?|\n/g,$d=/\0/g,Ud=function(e){var n;n=e.src.replace(Pd,`
|
|
36
|
+
`),n=n.replace($d,"�"),e.src=n},zd=function(e){var n;e.inlineMode?(n=new e.Token("inline","",0),n.content=e.src,n.map=[0,1],n.children=[],e.tokens.push(n)):e.md.block.parse(e.src,e.md,e.env,e.tokens)},Hd=function(e){var n=e.tokens,r,s,o;for(s=0,o=n.length;s<o;s++)r=n[s],r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)},Vd=le.arrayReplaceAt;function Gd(t){return/^<a[>\s]/i.test(t)}function jd(t){return/^<\/a\s*>/i.test(t)}var Kd=function(e){var n,r,s,o,c,i,a,l,u,f,p,d,m,b,R,T,D=e.tokens,N;if(e.md.options.linkify){for(r=0,s=D.length;r<s;r++)if(!(D[r].type!=="inline"||!e.md.linkify.pretest(D[r].content)))for(o=D[r].children,m=0,n=o.length-1;n>=0;n--){if(i=o[n],i.type==="link_close"){for(n--;o[n].level!==i.level&&o[n].type!=="link_open";)n--;continue}if(i.type==="html_inline"&&(Gd(i.content)&&m>0&&m--,jd(i.content)&&m++),!(m>0)&&i.type==="text"&&e.md.linkify.test(i.content)){for(u=i.content,N=e.md.linkify.match(u),a=[],d=i.level,p=0,N.length>0&&N[0].index===0&&n>0&&o[n-1].type==="text_special"&&(N=N.slice(1)),l=0;l<N.length;l++)b=N[l].url,R=e.md.normalizeLink(b),e.md.validateLink(R)&&(T=N[l].text,N[l].schema?N[l].schema==="mailto:"&&!/^mailto:/i.test(T)?T=e.md.normalizeLinkText("mailto:"+T).replace(/^mailto:/,""):T=e.md.normalizeLinkText(T):T=e.md.normalizeLinkText("http://"+T).replace(/^http:\/\//,""),f=N[l].index,f>p&&(c=new e.Token("text","",0),c.content=u.slice(p,f),c.level=d,a.push(c)),c=new e.Token("link_open","a",1),c.attrs=[["href",R]],c.level=d++,c.markup="linkify",c.info="auto",a.push(c),c=new e.Token("text","",0),c.content=T,c.level=d,a.push(c),c=new e.Token("link_close","a",-1),c.level=--d,c.markup="linkify",c.info="auto",a.push(c),p=N[l].lastIndex);p<u.length&&(c=new e.Token("text","",0),c.content=u.slice(p),c.level=d,a.push(c)),D[r].children=o=Vd(o,n,a)}}}},ua=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Zd=/\((c|tm|r)\)/i,Wd=/\((c|tm|r)\)/ig,Jd={c:"©",r:"®",tm:"™"};function Yd(t,e){return Jd[e.toLowerCase()]}function Xd(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!r&&(n.content=n.content.replace(Wd,Yd)),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}function Qd(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!r&&ua.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}var eg=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(Zd.test(e.tokens[n].content)&&Xd(e.tokens[n].children),ua.test(e.tokens[n].content)&&Qd(e.tokens[n].children))},fa=le.isWhiteSpace,pa=le.isPunctChar,ha=le.isMdAsciiPunct,tg=/['"]/,da=/['"]/g,ga="’";function Tr(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function ng(t,e){var n,r,s,o,c,i,a,l,u,f,p,d,m,b,R,T,D,N,B,P,y;for(B=[],n=0;n<t.length;n++){for(r=t[n],a=t[n].level,D=B.length-1;D>=0&&!(B[D].level<=a);D--);if(B.length=D+1,r.type==="text"){s=r.content,c=0,i=s.length;e:for(;c<i&&(da.lastIndex=c,o=da.exec(s),!!o);){if(R=T=!0,c=o.index+1,N=o[0]==="'",u=32,o.index-1>=0)u=s.charCodeAt(o.index-1);else for(D=n-1;D>=0&&!(t[D].type==="softbreak"||t[D].type==="hardbreak");D--)if(t[D].content){u=t[D].content.charCodeAt(t[D].content.length-1);break}if(f=32,c<i)f=s.charCodeAt(c);else for(D=n+1;D<t.length&&!(t[D].type==="softbreak"||t[D].type==="hardbreak");D++)if(t[D].content){f=t[D].content.charCodeAt(0);break}if(p=ha(u)||pa(String.fromCharCode(u)),d=ha(f)||pa(String.fromCharCode(f)),m=fa(u),b=fa(f),b?R=!1:d&&(m||p||(R=!1)),m?T=!1:p&&(b||d||(T=!1)),f===34&&o[0]==='"'&&u>=48&&u<=57&&(T=R=!1),R&&T&&(R=p,T=d),!R&&!T){N&&(r.content=Tr(r.content,o.index,ga));continue}if(T){for(D=B.length-1;D>=0&&(l=B[D],!(B[D].level<a));D--)if(l.single===N&&B[D].level===a){l=B[D],N?(P=e.md.options.quotes[2],y=e.md.options.quotes[3]):(P=e.md.options.quotes[0],y=e.md.options.quotes[1]),r.content=Tr(r.content,o.index,y),t[l.token].content=Tr(t[l.token].content,l.pos,P),c+=y.length-1,l.token===n&&(c+=P.length-1),s=r.content,i=s.length,B.length=D;continue e}}R?B.push({token:n,pos:o.index,single:N,level:a}):T&&N&&(r.content=Tr(r.content,o.index,ga))}}}}var rg=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type!=="inline"||!tg.test(e.tokens[n].content)||ng(e.tokens[n].children,e)},sg=function(e){var n,r,s,o,c,i,a=e.tokens;for(n=0,r=a.length;n<r;n++)if(a[n].type==="inline"){for(s=a[n].children,c=s.length,o=0;o<c;o++)s[o].type==="text_special"&&(s[o].type="text");for(o=i=0;o<c;o++)s[o].type==="text"&&o+1<c&&s[o+1].type==="text"?s[o+1].content=s[o].content+s[o+1].content:(o!==i&&(s[i]=s[o]),i++);o!==i&&(s.length=i)}};function rn(t,e,n){this.type=t,this.tag=e,this.attrs=null,this.map=null,this.nesting=n,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}rn.prototype.attrIndex=function(e){var n,r,s;if(!this.attrs)return-1;for(n=this.attrs,r=0,s=n.length;r<s;r++)if(n[r][0]===e)return r;return-1},rn.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},rn.prototype.attrSet=function(e,n){var r=this.attrIndex(e),s=[e,n];r<0?this.attrPush(s):this.attrs[r]=s},rn.prototype.attrGet=function(e){var n=this.attrIndex(e),r=null;return n>=0&&(r=this.attrs[n][1]),r},rn.prototype.attrJoin=function(e,n){var r=this.attrIndex(e);r<0?this.attrPush([e,n]):this.attrs[r][1]=this.attrs[r][1]+" "+n};var Zs=rn,og=Zs;function ma(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}ma.prototype.Token=og;var cg=ma,ig=Ks,Ws=[["normalize",Ud],["block",zd],["inline",Hd],["linkify",Kd],["replacements",eg],["smartquotes",rg],["text_join",sg]];function Js(){this.ruler=new ig;for(var t=0;t<Ws.length;t++)this.ruler.push(Ws[t][0],Ws[t][1])}Js.prototype.process=function(t){var e,n,r;for(r=this.ruler.getRules(""),e=0,n=r.length;e<n;e++)r[e](t)},Js.prototype.State=cg;var ag=Js,Ys=le.isSpace;function Xs(t,e){var n=t.bMarks[e]+t.tShift[e],r=t.eMarks[e];return t.src.slice(n,r)}function ba(t){var e=[],n=0,r=t.length,s,o=!1,c=0,i="";for(s=t.charCodeAt(n);n<r;)s===124&&(o?(i+=t.substring(c,n-1),c=n):(e.push(i+t.substring(c,n)),i="",c=n+1)),o=s===92,n++,s=t.charCodeAt(n);return e.push(i+t.substring(c)),e}var lg=function(e,n,r,s){var o,c,i,a,l,u,f,p,d,m,b,R,T,D,N,B,P,y;if(n+2>r||(u=n+1,e.sCount[u]<e.blkIndent)||e.sCount[u]-e.blkIndent>=4||(i=e.bMarks[u]+e.tShift[u],i>=e.eMarks[u])||(P=e.src.charCodeAt(i++),P!==124&&P!==45&&P!==58)||i>=e.eMarks[u]||(y=e.src.charCodeAt(i++),y!==124&&y!==45&&y!==58&&!Ys(y))||P===45&&Ys(y))return!1;for(;i<e.eMarks[u];){if(o=e.src.charCodeAt(i),o!==124&&o!==45&&o!==58&&!Ys(o))return!1;i++}for(c=Xs(e,n+1),f=c.split("|"),m=[],a=0;a<f.length;a++){if(b=f[a].trim(),!b){if(a===0||a===f.length-1)continue;return!1}if(!/^:?-+:?$/.test(b))return!1;b.charCodeAt(b.length-1)===58?m.push(b.charCodeAt(0)===58?"center":"right"):b.charCodeAt(0)===58?m.push("left"):m.push("")}if(c=Xs(e,n).trim(),c.indexOf("|")===-1||e.sCount[n]-e.blkIndent>=4||(f=ba(c),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),p=f.length,p===0||p!==m.length))return!1;if(s)return!0;for(D=e.parentType,e.parentType="table",B=e.md.block.ruler.getRules("blockquote"),d=e.push("table_open","table",1),d.map=R=[n,0],d=e.push("thead_open","thead",1),d.map=[n,n+1],d=e.push("tr_open","tr",1),d.map=[n,n+1],a=0;a<f.length;a++)d=e.push("th_open","th",1),m[a]&&(d.attrs=[["style","text-align:"+m[a]]]),d=e.push("inline","",0),d.content=f[a].trim(),d.children=[],d=e.push("th_close","th",-1);for(d=e.push("tr_close","tr",-1),d=e.push("thead_close","thead",-1),u=n+2;u<r&&!(e.sCount[u]<e.blkIndent);u++){for(N=!1,a=0,l=B.length;a<l;a++)if(B[a](e,u,r,!0)){N=!0;break}if(N||(c=Xs(e,u).trim(),!c)||e.sCount[u]-e.blkIndent>=4)break;for(f=ba(c),f.length&&f[0]===""&&f.shift(),f.length&&f[f.length-1]===""&&f.pop(),u===n+2&&(d=e.push("tbody_open","tbody",1),d.map=T=[n+2,0]),d=e.push("tr_open","tr",1),d.map=[u,u+1],a=0;a<p;a++)d=e.push("td_open","td",1),m[a]&&(d.attrs=[["style","text-align:"+m[a]]]),d=e.push("inline","",0),d.content=f[a]?f[a].trim():"",d.children=[],d=e.push("td_close","td",-1);d=e.push("tr_close","tr",-1)}return T&&(d=e.push("tbody_close","tbody",-1),T[1]=u),d=e.push("table_close","table",-1),R[1]=u,e.parentType=D,e.line=u,!0},ug=function(e,n,r){var s,o,c;if(e.sCount[n]-e.blkIndent<4)return!1;for(o=s=n+1;s<r;){if(e.isEmpty(s)){s++;continue}if(e.sCount[s]-e.blkIndent>=4){s++,o=s;continue}break}return e.line=o,c=e.push("code_block","code",0),c.content=e.getLines(n,o,4+e.blkIndent,!1)+`
|
|
37
|
+
`,c.map=[n,e.line],!0},fg=function(e,n,r,s){var o,c,i,a,l,u,f,p=!1,d=e.bMarks[n]+e.tShift[n],m=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||d+3>m||(o=e.src.charCodeAt(d),o!==126&&o!==96)||(l=d,d=e.skipChars(d,o),c=d-l,c<3)||(f=e.src.slice(l,d),i=e.src.slice(d,m),o===96&&i.indexOf(String.fromCharCode(o))>=0))return!1;if(s)return!0;for(a=n;a++,!(a>=r||(d=l=e.bMarks[a]+e.tShift[a],m=e.eMarks[a],d<m&&e.sCount[a]<e.blkIndent));)if(e.src.charCodeAt(d)===o&&!(e.sCount[a]-e.blkIndent>=4)&&(d=e.skipChars(d,o),!(d-l<c)&&(d=e.skipSpaces(d),!(d<m)))){p=!0;break}return c=e.sCount[n],e.line=a+(p?1:0),u=e.push("fence","code",0),u.info=i,u.content=e.getLines(n+1,a,c,!0),u.markup=f,u.map=[n,e.line],!0},pg=le.isSpace,hg=function(e,n,r,s){var o,c,i,a,l,u,f,p,d,m,b,R,T,D,N,B,P,y,W,$,Q=e.lineMax,z=e.bMarks[n]+e.tShift[n],ce=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(z)!==62)return!1;if(s)return!0;for(m=[],b=[],D=[],N=[],y=e.md.block.ruler.getRules("blockquote"),T=e.parentType,e.parentType="blockquote",p=n;p<r&&($=e.sCount[p]<e.blkIndent,z=e.bMarks[p]+e.tShift[p],ce=e.eMarks[p],!(z>=ce));p++){if(e.src.charCodeAt(z++)===62&&!$){for(a=e.sCount[p]+1,e.src.charCodeAt(z)===32?(z++,a++,o=!1,B=!0):e.src.charCodeAt(z)===9?(B=!0,(e.bsCount[p]+a)%4===3?(z++,a++,o=!1):o=!0):B=!1,d=a,m.push(e.bMarks[p]),e.bMarks[p]=z;z<ce&&(c=e.src.charCodeAt(z),pg(c));){c===9?d+=4-(d+e.bsCount[p]+(o?1:0))%4:d++;z++}u=z>=ce,b.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(B?1:0),D.push(e.sCount[p]),e.sCount[p]=d-a,N.push(e.tShift[p]),e.tShift[p]=z-e.bMarks[p];continue}if(u)break;for(P=!1,i=0,l=y.length;i<l;i++)if(y[i](e,p,r,!0)){P=!0;break}if(P){e.lineMax=p,e.blkIndent!==0&&(m.push(e.bMarks[p]),b.push(e.bsCount[p]),N.push(e.tShift[p]),D.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}m.push(e.bMarks[p]),b.push(e.bsCount[p]),N.push(e.tShift[p]),D.push(e.sCount[p]),e.sCount[p]=-1}for(R=e.blkIndent,e.blkIndent=0,W=e.push("blockquote_open","blockquote",1),W.markup=">",W.map=f=[n,0],e.md.block.tokenize(e,n,p),W=e.push("blockquote_close","blockquote",-1),W.markup=">",e.lineMax=Q,e.parentType=T,f[1]=e.line,i=0;i<N.length;i++)e.bMarks[i+n]=m[i],e.tShift[i+n]=N[i],e.sCount[i+n]=D[i],e.bsCount[i+n]=b[i];return e.blkIndent=R,!0},dg=le.isSpace,gg=function(e,n,r,s){var o,c,i,a,l=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||(o=e.src.charCodeAt(l++),o!==42&&o!==45&&o!==95))return!1;for(c=1;l<u;){if(i=e.src.charCodeAt(l++),i!==o&&!dg(i))return!1;i===o&&c++}return c<3?!1:(s||(e.line=n+1,a=e.push("hr","hr",0),a.map=[n,e.line],a.markup=Array(c+1).join(String.fromCharCode(o))),!0)},_a=le.isSpace;function va(t,e){var n,r,s,o;return r=t.bMarks[e]+t.tShift[e],s=t.eMarks[e],n=t.src.charCodeAt(r++),n!==42&&n!==45&&n!==43||r<s&&(o=t.src.charCodeAt(r),!_a(o))?-1:r}function ya(t,e){var n,r=t.bMarks[e]+t.tShift[e],s=r,o=t.eMarks[e];if(s+1>=o||(n=t.src.charCodeAt(s++),n<48||n>57))return-1;for(;;){if(s>=o)return-1;if(n=t.src.charCodeAt(s++),n>=48&&n<=57){if(s-r>=10)return-1;continue}if(n===41||n===46)break;return-1}return s<o&&(n=t.src.charCodeAt(s),!_a(n))?-1:s}function mg(t,e){var n,r,s=t.level+2;for(n=e+2,r=t.tokens.length-2;n<r;n++)t.tokens[n].level===s&&t.tokens[n].type==="paragraph_open"&&(t.tokens[n+2].hidden=!0,t.tokens[n].hidden=!0,n+=2)}var bg=function(e,n,r,s){var o,c,i,a,l,u,f,p,d,m,b,R,T,D,N,B,P,y,W,$,Q,z,ce,L,ee,A,Z,F=n,v=!1,C=!0;if(e.sCount[F]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[F]-e.listIndent>=4&&e.sCount[F]<e.blkIndent)return!1;if(s&&e.parentType==="paragraph"&&e.sCount[F]>=e.blkIndent&&(v=!0),(z=ya(e,F))>=0){if(f=!0,L=e.bMarks[F]+e.tShift[F],T=Number(e.src.slice(L,z-1)),v&&T!==1)return!1}else if((z=va(e,F))>=0)f=!1;else return!1;if(v&&e.skipSpaces(z)>=e.eMarks[F])return!1;if(s)return!0;for(R=e.src.charCodeAt(z-1),b=e.tokens.length,f?(Z=e.push("ordered_list_open","ol",1),T!==1&&(Z.attrs=[["start",T]])):Z=e.push("bullet_list_open","ul",1),Z.map=m=[F,0],Z.markup=String.fromCharCode(R),ce=!1,A=e.md.block.ruler.getRules("list"),P=e.parentType,e.parentType="list";F<r;){for(Q=z,D=e.eMarks[F],u=N=e.sCount[F]+z-(e.bMarks[F]+e.tShift[F]);Q<D;){if(o=e.src.charCodeAt(Q),o===9)N+=4-(N+e.bsCount[F])%4;else if(o===32)N++;else break;Q++}if(c=Q,c>=D?l=1:l=N-u,l>4&&(l=1),a=u+l,Z=e.push("list_item_open","li",1),Z.markup=String.fromCharCode(R),Z.map=p=[F,0],f&&(Z.info=e.src.slice(L,z-1)),$=e.tight,W=e.tShift[F],y=e.sCount[F],B=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=a,e.tight=!0,e.tShift[F]=c-e.bMarks[F],e.sCount[F]=N,c>=D&&e.isEmpty(F+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,F,r,!0),(!e.tight||ce)&&(C=!1),ce=e.line-F>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=B,e.tShift[F]=W,e.sCount[F]=y,e.tight=$,Z=e.push("list_item_close","li",-1),Z.markup=String.fromCharCode(R),F=e.line,p[1]=F,F>=r||e.sCount[F]<e.blkIndent||e.sCount[F]-e.blkIndent>=4)break;for(ee=!1,i=0,d=A.length;i<d;i++)if(A[i](e,F,r,!0)){ee=!0;break}if(ee)break;if(f){if(z=ya(e,F),z<0)break;L=e.bMarks[F]+e.tShift[F]}else if(z=va(e,F),z<0)break;if(R!==e.src.charCodeAt(z-1))break}return f?Z=e.push("ordered_list_close","ol",-1):Z=e.push("bullet_list_close","ul",-1),Z.markup=String.fromCharCode(R),m[1]=F,e.line=F,e.parentType=P,C&&mg(e,b),!0},_g=le.normalizeReference,Dr=le.isSpace,vg=function(e,n,r,s){var o,c,i,a,l,u,f,p,d,m,b,R,T,D,N,B,P=0,y=e.bMarks[n]+e.tShift[n],W=e.eMarks[n],$=n+1;if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(y)!==91)return!1;for(;++y<W;)if(e.src.charCodeAt(y)===93&&e.src.charCodeAt(y-1)!==92){if(y+1===W||e.src.charCodeAt(y+1)!==58)return!1;break}for(a=e.lineMax,N=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";$<a&&!e.isEmpty($);$++)if(!(e.sCount[$]-e.blkIndent>3)&&!(e.sCount[$]<0)){for(D=!1,u=0,f=N.length;u<f;u++)if(N[u](e,$,a,!0)){D=!0;break}if(D)break}for(T=e.getLines(n,$,e.blkIndent,!1).trim(),W=T.length,y=1;y<W;y++){if(o=T.charCodeAt(y),o===91)return!1;if(o===93){d=y;break}else o===10?P++:o===92&&(y++,y<W&&T.charCodeAt(y)===10&&P++)}if(d<0||T.charCodeAt(d+1)!==58)return!1;for(y=d+2;y<W;y++)if(o=T.charCodeAt(y),o===10)P++;else if(!Dr(o))break;if(b=e.md.helpers.parseLinkDestination(T,y,W),!b.ok||(l=e.md.normalizeLink(b.str),!e.md.validateLink(l)))return!1;for(y=b.pos,P+=b.lines,c=y,i=P,R=y;y<W;y++)if(o=T.charCodeAt(y),o===10)P++;else if(!Dr(o))break;for(b=e.md.helpers.parseLinkTitle(T,y,W),y<W&&R!==y&&b.ok?(B=b.str,y=b.pos,P+=b.lines):(B="",y=c,P=i);y<W&&(o=T.charCodeAt(y),!!Dr(o));)y++;if(y<W&&T.charCodeAt(y)!==10&&B)for(B="",y=c,P=i;y<W&&(o=T.charCodeAt(y),!!Dr(o));)y++;return y<W&&T.charCodeAt(y)!==10||(p=_g(T.slice(1,d)),!p)?!1:(s||(typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[p]>"u"&&(e.env.references[p]={title:B,href:l}),e.parentType=m,e.line=n+P+1),!0)},yg=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Rr={},xg="[a-zA-Z_:][a-zA-Z0-9:._-]*",wg="[^\"'=<>`\\x00-\\x20]+",Eg="'[^']*'",kg='"[^"]*"',Ag="(?:"+wg+"|"+Eg+"|"+kg+")",Cg="(?:\\s+"+xg+"(?:\\s*=\\s*"+Ag+")?)",xa="<[A-Za-z][A-Za-z0-9\\-]*"+Cg+"*\\s*\\/?>",wa="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Sg="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",Tg="<[?][\\s\\S]*?[?]>",Dg="<![A-Z]+\\s+[^>]*>",Rg="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",Lg=new RegExp("^(?:"+xa+"|"+wa+"|"+Sg+"|"+Tg+"|"+Dg+"|"+Rg+")"),qg=new RegExp("^(?:"+xa+"|"+wa+")");Rr.HTML_TAG_RE=Lg,Rr.HTML_OPEN_CLOSE_TAG_RE=qg;var Ng=yg,Ig=Rr.HTML_OPEN_CLOSE_TAG_RE,sn=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Ng.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Ig.source+"\\s*$"),/^$/,!1]],Mg=function(e,n,r,s){var o,c,i,a,l=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(l)!==60)return!1;for(a=e.src.slice(l,u),o=0;o<sn.length&&!sn[o][0].test(a);o++);if(o===sn.length)return!1;if(s)return sn[o][2];if(c=n+1,!sn[o][1].test(a)){for(;c<r&&!(e.sCount[c]<e.blkIndent);c++)if(l=e.bMarks[c]+e.tShift[c],u=e.eMarks[c],a=e.src.slice(l,u),sn[o][1].test(a)){a.length!==0&&c++;break}}return e.line=c,i=e.push("html_block","",0),i.map=[n,c],i.content=e.getLines(n,c,e.blkIndent,!0),!0},Ea=le.isSpace,Og=function(e,n,r,s){var o,c,i,a,l=e.bMarks[n]+e.tShift[n],u=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||(o=e.src.charCodeAt(l),o!==35||l>=u))return!1;for(c=1,o=e.src.charCodeAt(++l);o===35&&l<u&&c<=6;)c++,o=e.src.charCodeAt(++l);return c>6||l<u&&!Ea(o)?!1:(s||(u=e.skipSpacesBack(u,l),i=e.skipCharsBack(u,35,l),i>l&&Ea(e.src.charCodeAt(i-1))&&(u=i),e.line=n+1,a=e.push("heading_open","h"+String(c),1),a.markup="########".slice(0,c),a.map=[n,e.line],a=e.push("inline","",0),a.content=e.src.slice(l,u).trim(),a.map=[n,e.line],a.children=[],a=e.push("heading_close","h"+String(c),-1),a.markup="########".slice(0,c)),!0)},Fg=function(e,n,r){var s,o,c,i,a,l,u,f,p,d=n+1,m,b=e.md.block.ruler.getRules("paragraph");if(e.sCount[n]-e.blkIndent>=4)return!1;for(m=e.parentType,e.parentType="paragraph";d<r&&!e.isEmpty(d);d++)if(!(e.sCount[d]-e.blkIndent>3)){if(e.sCount[d]>=e.blkIndent&&(l=e.bMarks[d]+e.tShift[d],u=e.eMarks[d],l<u&&(p=e.src.charCodeAt(l),(p===45||p===61)&&(l=e.skipChars(l,p),l=e.skipSpaces(l),l>=u)))){f=p===61?1:2;break}if(!(e.sCount[d]<0)){for(o=!1,c=0,i=b.length;c<i;c++)if(b[c](e,d,r,!0)){o=!0;break}if(o)break}}return f?(s=e.getLines(n,d,e.blkIndent,!1).trim(),e.line=d+1,a=e.push("heading_open","h"+String(f),1),a.markup=String.fromCharCode(p),a.map=[n,e.line],a=e.push("inline","",0),a.content=s,a.map=[n,e.line-1],a.children=[],a=e.push("heading_close","h"+String(f),-1),a.markup=String.fromCharCode(p),e.parentType=m,!0):!1},Bg=function(e,n,r){var s,o,c,i,a,l,u=n+1,f=e.md.block.ruler.getRules("paragraph");for(l=e.parentType,e.parentType="paragraph";u<r&&!e.isEmpty(u);u++)if(!(e.sCount[u]-e.blkIndent>3)&&!(e.sCount[u]<0)){for(o=!1,c=0,i=f.length;c<i;c++)if(f[c](e,u,r,!0)){o=!0;break}if(o)break}return s=e.getLines(n,u,e.blkIndent,!1).trim(),e.line=u,a=e.push("paragraph_open","p",1),a.map=[n,e.line],a=e.push("inline","",0),a.content=s,a.map=[n,e.line],a.children=[],a=e.push("paragraph_close","p",-1),e.parentType=l,!0},ka=Zs,Lr=le.isSpace;function Xe(t,e,n,r){var s,o,c,i,a,l,u,f;for(this.src=t,this.md=e,this.env=n,this.tokens=r,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",o=this.src,f=!1,c=i=l=u=0,a=o.length;i<a;i++){if(s=o.charCodeAt(i),!f)if(Lr(s)){l++,s===9?u+=4-u%4:u++;continue}else f=!0;(s===10||i===a-1)&&(s!==10&&i++,this.bMarks.push(c),this.eMarks.push(i),this.tShift.push(l),this.sCount.push(u),this.bsCount.push(0),f=!1,l=0,u=0,c=i+1)}this.bMarks.push(o.length),this.eMarks.push(o.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}Xe.prototype.push=function(t,e,n){var r=new ka(t,e,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r},Xe.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},Xe.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;e<n&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},Xe.prototype.skipSpaces=function(e){for(var n,r=this.src.length;e<r&&(n=this.src.charCodeAt(e),!!Lr(n));e++);return e},Xe.prototype.skipSpacesBack=function(e,n){if(e<=n)return e;for(;e>n;)if(!Lr(this.src.charCodeAt(--e)))return e+1;return e},Xe.prototype.skipChars=function(e,n){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===n;e++);return e},Xe.prototype.skipCharsBack=function(e,n,r){if(e<=r)return e;for(;e>r;)if(n!==this.src.charCodeAt(--e))return e+1;return e},Xe.prototype.getLines=function(e,n,r,s){var o,c,i,a,l,u,f,p=e;if(e>=n)return"";for(u=new Array(n-e),o=0;p<n;p++,o++){for(c=0,f=a=this.bMarks[p],p+1<n||s?l=this.eMarks[p]+1:l=this.eMarks[p];a<l&&c<r;){if(i=this.src.charCodeAt(a),Lr(i))i===9?c+=4-(c+this.bsCount[p])%4:c++;else if(a-f<this.tShift[p])c++;else break;a++}c>r?u[o]=new Array(c-r+1).join(" ")+this.src.slice(a,l):u[o]=this.src.slice(a,l)}return u.join("")},Xe.prototype.Token=ka;var Pg=Xe,$g=Ks,qr=[["table",lg,["paragraph","reference"]],["code",ug],["fence",fg,["paragraph","reference","blockquote","list"]],["blockquote",hg,["paragraph","reference","blockquote","list"]],["hr",gg,["paragraph","reference","blockquote","list"]],["list",bg,["paragraph","reference","blockquote"]],["reference",vg],["html_block",Mg,["paragraph","reference","blockquote"]],["heading",Og,["paragraph","reference","blockquote"]],["lheading",Fg],["paragraph",Bg]];function Nr(){this.ruler=new $g;for(var t=0;t<qr.length;t++)this.ruler.push(qr[t][0],qr[t][1],{alt:(qr[t][2]||[]).slice()})}Nr.prototype.tokenize=function(t,e,n){for(var r,s,o,c=this.ruler.getRules(""),i=c.length,a=e,l=!1,u=t.md.options.maxNesting;a<n&&(t.line=a=t.skipEmptyLines(a),!(a>=n||t.sCount[a]<t.blkIndent));){if(t.level>=u){t.line=n;break}for(o=t.line,s=0;s<i;s++)if(r=c[s](t,a,n,!1),r){if(o>=t.line)throw new Error("block rule didn't increment state.line");break}if(!r)throw new Error("none of the block rules matched");t.tight=!l,t.isEmpty(t.line-1)&&(l=!0),a=t.line,a<n&&t.isEmpty(a)&&(l=!0,a++,t.line=a)}},Nr.prototype.parse=function(t,e,n,r){var s;t&&(s=new this.State(t,e,n,r),this.tokenize(s,s.line,s.lineMax))},Nr.prototype.State=Pg;var Ug=Nr;function zg(t){switch(t){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}for(var Hg=function(e,n){for(var r=e.pos;r<e.posMax&&!zg(e.src.charCodeAt(r));)r++;return r===e.pos?!1:(n||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)},Vg=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,Gg=function(e,n){var r,s,o,c,i,a,l,u;return!e.md.options.linkify||e.linkLevel>0||(r=e.pos,s=e.posMax,r+3>s)||e.src.charCodeAt(r)!==58||e.src.charCodeAt(r+1)!==47||e.src.charCodeAt(r+2)!==47||(o=e.pending.match(Vg),!o)||(c=o[1],i=e.md.linkify.matchAtStart(e.src.slice(r-c.length)),!i)||(a=i.url,a.length<=c.length)||(a=a.replace(/\*+$/,""),l=e.md.normalizeLink(a),!e.md.validateLink(l))?!1:(n||(e.pending=e.pending.slice(0,-c.length),u=e.push("link_open","a",1),u.attrs=[["href",l]],u.markup="linkify",u.info="auto",u=e.push("text","",0),u.content=e.md.normalizeLinkText(a),u=e.push("link_close","a",-1),u.markup="linkify",u.info="auto"),e.pos+=a.length-c.length,!0)},jg=le.isSpace,Kg=function(e,n){var r,s,o,c=e.pos;if(e.src.charCodeAt(c)!==10)return!1;if(r=e.pending.length-1,s=e.posMax,!n)if(r>=0&&e.pending.charCodeAt(r)===32)if(r>=1&&e.pending.charCodeAt(r-1)===32){for(o=r-1;o>=1&&e.pending.charCodeAt(o-1)===32;)o--;e.pending=e.pending.slice(0,o),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(c++;c<s&&jg(e.src.charCodeAt(c));)c++;return e.pos=c,!0},Zg=le.isSpace,Qs=[],Aa=0;Aa<256;Aa++)Qs.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){Qs[t.charCodeAt(0)]=1});var Wg=function(e,n){var r,s,o,c,i,a=e.pos,l=e.posMax;if(e.src.charCodeAt(a)!==92||(a++,a>=l))return!1;if(r=e.src.charCodeAt(a),r===10){for(n||e.push("hardbreak","br",0),a++;a<l&&(r=e.src.charCodeAt(a),!!Zg(r));)a++;return e.pos=a,!0}return c=e.src[a],r>=55296&&r<=56319&&a+1<l&&(s=e.src.charCodeAt(a+1),s>=56320&&s<=57343&&(c+=e.src[a+1],a++)),o="\\"+c,n||(i=e.push("text_special","",0),r<256&&Qs[r]!==0?i.content=c:i.content=o,i.markup=o,i.info="escape"),e.pos=a+1,!0},Jg=function(e,n){var r,s,o,c,i,a,l,u,f=e.pos,p=e.src.charCodeAt(f);if(p!==96)return!1;for(r=f,f++,s=e.posMax;f<s&&e.src.charCodeAt(f)===96;)f++;if(o=e.src.slice(r,f),l=o.length,e.backticksScanned&&(e.backticks[l]||0)<=r)return n||(e.pending+=o),e.pos+=l,!0;for(a=f;(i=e.src.indexOf("`",a))!==-1;){for(a=i+1;a<s&&e.src.charCodeAt(a)===96;)a++;if(u=a-i,u===l)return n||(c=e.push("code_inline","code",0),c.markup=o,c.content=e.src.slice(f,i).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),e.pos=a,!0;e.backticks[u]=i}return e.backticksScanned=!0,n||(e.pending+=o),e.pos+=l,!0},Ir={};Ir.tokenize=function(e,n){var r,s,o,c,i,a=e.pos,l=e.src.charCodeAt(a);if(n||l!==126||(s=e.scanDelims(e.pos,!0),c=s.length,i=String.fromCharCode(l),c<2))return!1;for(c%2&&(o=e.push("text","",0),o.content=i,c--),r=0;r<c;r+=2)o=e.push("text","",0),o.content=i+i,e.delimiters.push({marker:l,length:0,token:e.tokens.length-1,end:-1,open:s.can_open,close:s.can_close});return e.pos+=s.length,!0};function Ca(t,e){var n,r,s,o,c,i=[],a=e.length;for(n=0;n<a;n++)s=e[n],s.marker===126&&s.end!==-1&&(o=e[s.end],c=t.tokens[s.token],c.type="s_open",c.tag="s",c.nesting=1,c.markup="~~",c.content="",c=t.tokens[o.token],c.type="s_close",c.tag="s",c.nesting=-1,c.markup="~~",c.content="",t.tokens[o.token-1].type==="text"&&t.tokens[o.token-1].content==="~"&&i.push(o.token-1));for(;i.length;){for(n=i.pop(),r=n+1;r<t.tokens.length&&t.tokens[r].type==="s_close";)r++;r--,n!==r&&(c=t.tokens[r],t.tokens[r]=t.tokens[n],t.tokens[n]=c)}}Ir.postProcess=function(e){var n,r=e.tokens_meta,s=e.tokens_meta.length;for(Ca(e,e.delimiters),n=0;n<s;n++)r[n]&&r[n].delimiters&&Ca(e,r[n].delimiters)};var Mr={};Mr.tokenize=function(e,n){var r,s,o,c=e.pos,i=e.src.charCodeAt(c);if(n||i!==95&&i!==42)return!1;for(s=e.scanDelims(e.pos,i===42),r=0;r<s.length;r++)o=e.push("text","",0),o.content=String.fromCharCode(i),e.delimiters.push({marker:i,length:s.length,token:e.tokens.length-1,end:-1,open:s.can_open,close:s.can_close});return e.pos+=s.length,!0};function Sa(t,e){var n,r,s,o,c,i,a=e.length;for(n=a-1;n>=0;n--)r=e[n],!(r.marker!==95&&r.marker!==42)&&r.end!==-1&&(s=e[r.end],i=n>0&&e[n-1].end===r.end+1&&e[n-1].marker===r.marker&&e[n-1].token===r.token-1&&e[r.end+1].token===s.token+1,c=String.fromCharCode(r.marker),o=t.tokens[r.token],o.type=i?"strong_open":"em_open",o.tag=i?"strong":"em",o.nesting=1,o.markup=i?c+c:c,o.content="",o=t.tokens[s.token],o.type=i?"strong_close":"em_close",o.tag=i?"strong":"em",o.nesting=-1,o.markup=i?c+c:c,o.content="",i&&(t.tokens[e[n-1].token].content="",t.tokens[e[r.end+1].token].content="",n--))}Mr.postProcess=function(e){var n,r=e.tokens_meta,s=e.tokens_meta.length;for(Sa(e,e.delimiters),n=0;n<s;n++)r[n]&&r[n].delimiters&&Sa(e,r[n].delimiters)};var Yg=le.normalizeReference,eo=le.isSpace,Xg=function(e,n){var r,s,o,c,i,a,l,u,f,p="",d="",m=e.pos,b=e.posMax,R=e.pos,T=!0;if(e.src.charCodeAt(e.pos)!==91||(i=e.pos+1,c=e.md.helpers.parseLinkLabel(e,e.pos,!0),c<0))return!1;if(a=c+1,a<b&&e.src.charCodeAt(a)===40){for(T=!1,a++;a<b&&(s=e.src.charCodeAt(a),!(!eo(s)&&s!==10));a++);if(a>=b)return!1;if(R=a,l=e.md.helpers.parseLinkDestination(e.src,a,e.posMax),l.ok){for(p=e.md.normalizeLink(l.str),e.md.validateLink(p)?a=l.pos:p="",R=a;a<b&&(s=e.src.charCodeAt(a),!(!eo(s)&&s!==10));a++);if(l=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<b&&R!==a&&l.ok)for(d=l.str,a=l.pos;a<b&&(s=e.src.charCodeAt(a),!(!eo(s)&&s!==10));a++);}(a>=b||e.src.charCodeAt(a)!==41)&&(T=!0),a++}if(T){if(typeof e.env.references>"u")return!1;if(a<b&&e.src.charCodeAt(a)===91?(R=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?o=e.src.slice(R,a++):a=c+1):a=c+1,o||(o=e.src.slice(i,c)),u=e.env.references[Yg(o)],!u)return e.pos=m,!1;p=u.href,d=u.title}return n||(e.pos=i,e.posMax=c,f=e.push("link_open","a",1),f.attrs=r=[["href",p]],d&&r.push(["title",d]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,f=e.push("link_close","a",-1)),e.pos=a,e.posMax=b,!0},Qg=le.normalizeReference,to=le.isSpace,em=function(e,n){var r,s,o,c,i,a,l,u,f,p,d,m,b,R="",T=e.pos,D=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91||(a=e.pos+2,i=e.md.helpers.parseLinkLabel(e,e.pos+1,!1),i<0))return!1;if(l=i+1,l<D&&e.src.charCodeAt(l)===40){for(l++;l<D&&(s=e.src.charCodeAt(l),!(!to(s)&&s!==10));l++);if(l>=D)return!1;for(b=l,f=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),f.ok&&(R=e.md.normalizeLink(f.str),e.md.validateLink(R)?l=f.pos:R=""),b=l;l<D&&(s=e.src.charCodeAt(l),!(!to(s)&&s!==10));l++);if(f=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<D&&b!==l&&f.ok)for(p=f.str,l=f.pos;l<D&&(s=e.src.charCodeAt(l),!(!to(s)&&s!==10));l++);else p="";if(l>=D||e.src.charCodeAt(l)!==41)return e.pos=T,!1;l++}else{if(typeof e.env.references>"u")return!1;if(l<D&&e.src.charCodeAt(l)===91?(b=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?c=e.src.slice(b,l++):l=i+1):l=i+1,c||(c=e.src.slice(a,i)),u=e.env.references[Qg(c)],!u)return e.pos=T,!1;R=u.href,p=u.title}return n||(o=e.src.slice(a,i),e.md.inline.parse(o,e.md,e.env,m=[]),d=e.push("image","img",0),d.attrs=r=[["src",R],["alt",""]],d.children=m,d.content=o,p&&r.push(["title",p])),e.pos=l,e.posMax=D,!0},tm=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,nm=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,rm=function(e,n){var r,s,o,c,i,a,l=e.pos;if(e.src.charCodeAt(l)!==60)return!1;for(i=e.pos,a=e.posMax;;){if(++l>=a||(c=e.src.charCodeAt(l),c===60))return!1;if(c===62)break}return r=e.src.slice(i+1,l),nm.test(r)?(s=e.md.normalizeLink(r),e.md.validateLink(s)?(n||(o=e.push("link_open","a",1),o.attrs=[["href",s]],o.markup="autolink",o.info="auto",o=e.push("text","",0),o.content=e.md.normalizeLinkText(r),o=e.push("link_close","a",-1),o.markup="autolink",o.info="auto"),e.pos+=r.length+2,!0):!1):tm.test(r)?(s=e.md.normalizeLink("mailto:"+r),e.md.validateLink(s)?(n||(o=e.push("link_open","a",1),o.attrs=[["href",s]],o.markup="autolink",o.info="auto",o=e.push("text","",0),o.content=e.md.normalizeLinkText(r),o=e.push("link_close","a",-1),o.markup="autolink",o.info="auto"),e.pos+=r.length+2,!0):!1):!1},sm=Rr.HTML_TAG_RE;function om(t){return/^<a[>\s]/i.test(t)}function cm(t){return/^<\/a\s*>/i.test(t)}function im(t){var e=t|32;return e>=97&&e<=122}var am=function(e,n){var r,s,o,c,i=e.pos;return!e.md.options.html||(o=e.posMax,e.src.charCodeAt(i)!==60||i+2>=o)||(r=e.src.charCodeAt(i+1),r!==33&&r!==63&&r!==47&&!im(r))||(s=e.src.slice(i).match(sm),!s)?!1:(n||(c=e.push("html_inline","",0),c.content=s[0],om(c.content)&&e.linkLevel++,cm(c.content)&&e.linkLevel--),e.pos+=s[0].length,!0)},Ta=Ki,lm=le.has,um=le.isValidEntityCode,Da=le.fromCodePoint,fm=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,pm=/^&([a-z][a-z0-9]{1,31});/i,hm=function(e,n){var r,s,o,c,i=e.pos,a=e.posMax;if(e.src.charCodeAt(i)!==38||i+1>=a)return!1;if(r=e.src.charCodeAt(i+1),r===35){if(o=e.src.slice(i).match(fm),o)return n||(s=o[1][0].toLowerCase()==="x"?parseInt(o[1].slice(1),16):parseInt(o[1],10),c=e.push("text_special","",0),c.content=um(s)?Da(s):Da(65533),c.markup=o[0],c.info="entity"),e.pos+=o[0].length,!0}else if(o=e.src.slice(i).match(pm),o&&lm(Ta,o[1]))return n||(c=e.push("text_special","",0),c.content=Ta[o[1]],c.markup=o[0],c.info="entity"),e.pos+=o[0].length,!0;return!1};function Ra(t){var e,n,r,s,o,c,i,a,l={},u=t.length;if(u){var f=0,p=-2,d=[];for(e=0;e<u;e++)if(r=t[e],d.push(0),(t[f].marker!==r.marker||p!==r.token-1)&&(f=e),p=r.token,r.length=r.length||0,!!r.close){for(l.hasOwnProperty(r.marker)||(l[r.marker]=[-1,-1,-1,-1,-1,-1]),o=l[r.marker][(r.open?3:0)+r.length%3],n=f-d[f]-1,c=n;n>o;n-=d[n]+1)if(s=t[n],s.marker===r.marker&&s.open&&s.end<0&&(i=!1,(s.close||r.open)&&(s.length+r.length)%3===0&&(s.length%3!==0||r.length%3!==0)&&(i=!0),!i)){a=n>0&&!t[n-1].open?d[n-1]+1:0,d[e]=e-n+a,d[n]=a,r.open=!1,s.end=e,s.close=!1,c=-1,p=-2;break}c!==-1&&(l[r.marker][(r.open?3:0)+(r.length||0)%3]=c)}}}var dm=function(e){var n,r=e.tokens_meta,s=e.tokens_meta.length;for(Ra(e.delimiters),n=0;n<s;n++)r[n]&&r[n].delimiters&&Ra(r[n].delimiters)},gm=function(e){var n,r,s=0,o=e.tokens,c=e.tokens.length;for(n=r=0;n<c;n++)o[n].nesting<0&&s--,o[n].level=s,o[n].nesting>0&&s++,o[n].type==="text"&&n+1<c&&o[n+1].type==="text"?o[n+1].content=o[n].content+o[n+1].content:(n!==r&&(o[r]=o[n]),r++);n!==r&&(o.length=r)},no=Zs,La=le.isWhiteSpace,qa=le.isPunctChar,Na=le.isMdAsciiPunct;function Ln(t,e,n,r){this.src=t,this.env=n,this.md=e,this.tokens=r,this.tokens_meta=Array(r.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}Ln.prototype.pushPending=function(){var t=new no("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},Ln.prototype.push=function(t,e,n){this.pending&&this.pushPending();var r=new no(t,e,n),s=null;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),r.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],s={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(r),this.tokens_meta.push(s),r},Ln.prototype.scanDelims=function(t,e){var n=t,r,s,o,c,i,a,l,u,f,p=!0,d=!0,m=this.posMax,b=this.src.charCodeAt(t);for(r=t>0?this.src.charCodeAt(t-1):32;n<m&&this.src.charCodeAt(n)===b;)n++;return o=n-t,s=n<m?this.src.charCodeAt(n):32,l=Na(r)||qa(String.fromCharCode(r)),f=Na(s)||qa(String.fromCharCode(s)),a=La(r),u=La(s),u?p=!1:f&&(a||l||(p=!1)),a?d=!1:l&&(u||f||(d=!1)),e?(c=p,i=d):(c=p&&(!d||l),i=d&&(!p||f)),{can_open:c,can_close:i,length:o}},Ln.prototype.Token=no;var mm=Ln,Ia=Ks,ro=[["text",Hg],["linkify",Gg],["newline",Kg],["escape",Wg],["backticks",Jg],["strikethrough",Ir.tokenize],["emphasis",Mr.tokenize],["link",Xg],["image",em],["autolink",rm],["html_inline",am],["entity",hm]],so=[["balance_pairs",dm],["strikethrough",Ir.postProcess],["emphasis",Mr.postProcess],["fragments_join",gm]];function qn(){var t;for(this.ruler=new Ia,t=0;t<ro.length;t++)this.ruler.push(ro[t][0],ro[t][1]);for(this.ruler2=new Ia,t=0;t<so.length;t++)this.ruler2.push(so[t][0],so[t][1])}qn.prototype.skipToken=function(t){var e,n,r=t.pos,s=this.ruler.getRules(""),o=s.length,c=t.md.options.maxNesting,i=t.cache;if(typeof i[r]<"u"){t.pos=i[r];return}if(t.level<c){for(n=0;n<o;n++)if(t.level++,e=s[n](t,!0),t.level--,e){if(r>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;e||t.pos++,i[r]=t.pos},qn.prototype.tokenize=function(t){for(var e,n,r,s=this.ruler.getRules(""),o=s.length,c=t.posMax,i=t.md.options.maxNesting;t.pos<c;){if(r=t.pos,t.level<i){for(n=0;n<o;n++)if(e=s[n](t,!1),e){if(r>=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(e){if(t.pos>=c)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()},qn.prototype.parse=function(t,e,n,r){var s,o,c,i=new this.State(t,e,n,r);for(this.tokenize(i),o=this.ruler2.getRules(""),c=o.length,s=0;s<c;s++)o[s](i)},qn.prototype.State=mm;var bm=qn,oo,Ma;function _m(){return Ma||(Ma=1,oo=function(t){var e={};t=t||{},e.src_Any=na().source,e.src_Cc=sa().source,e.src_Z=ia().source,e.src_P=zs.source,e.src_ZPCc=[e.src_Z,e.src_P,e.src_Cc].join("|"),e.src_ZCc=[e.src_Z,e.src_Cc].join("|");var n="[><|]";return e.src_pseudo_letter="(?:(?!"+n+"|"+e.src_ZPCc+")"+e.src_Any+")",e.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",e.src_auth="(?:(?:(?!"+e.src_ZCc+"|[@/\\[\\]()]).)+@)?",e.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",e.src_host_terminator="(?=$|"+n+"|"+e.src_ZPCc+")(?!"+(t["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+e.src_ZPCc+"))",e.src_path="(?:[/?#](?:(?!"+e.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+e.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+e.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+e.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+e.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+e.src_ZCc+"|[']).)+\\'|\\'(?="+e.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+e.src_ZCc+"|[.]|$)|"+(t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+e.src_ZCc+"|$)|;(?!"+e.src_ZCc+"|$)|\\!+(?!"+e.src_ZCc+"|[!]|$)|\\?(?!"+e.src_ZCc+"|[?]|$))+|\\/)?",e.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',e.src_xn="xn--[a-z0-9\\-]{1,59}",e.src_domain_root="(?:"+e.src_xn+"|"+e.src_pseudo_letter+"{1,63})",e.src_domain="(?:"+e.src_xn+"|(?:"+e.src_pseudo_letter+")|(?:"+e.src_pseudo_letter+"(?:-|"+e.src_pseudo_letter+"){0,61}"+e.src_pseudo_letter+"))",e.src_host="(?:(?:(?:(?:"+e.src_domain+")\\.)*"+e.src_domain+"))",e.tpl_host_fuzzy="(?:"+e.src_ip4+"|(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%)))",e.tpl_host_no_ip_fuzzy="(?:(?:(?:"+e.src_domain+")\\.)+(?:%TLDS%))",e.src_host_strict=e.src_host+e.src_host_terminator,e.tpl_host_fuzzy_strict=e.tpl_host_fuzzy+e.src_host_terminator,e.src_host_port_strict=e.src_host+e.src_port+e.src_host_terminator,e.tpl_host_port_fuzzy_strict=e.tpl_host_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_port_no_ip_fuzzy_strict=e.tpl_host_no_ip_fuzzy+e.src_port+e.src_host_terminator,e.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+e.src_ZPCc+"|>|$))",e.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}),oo}function co(t){var e=Array.prototype.slice.call(arguments,1);return e.forEach(function(n){n&&Object.keys(n).forEach(function(r){t[r]=n[r]})}),t}function Or(t){return Object.prototype.toString.call(t)}function vm(t){return Or(t)==="[object String]"}function ym(t){return Or(t)==="[object Object]"}function xm(t){return Or(t)==="[object RegExp]"}function Oa(t){return Or(t)==="[object Function]"}function wm(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var Fa={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Em(t){return Object.keys(t||{}).reduce(function(e,n){return e||Fa.hasOwnProperty(n)},!1)}var km={"http:":{validate:function(t,e,n){var r=t.slice(e);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,n){var r=t.slice(e);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,n){var r=t.slice(e);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},Am="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",Cm="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Sm(t){t.__index__=-1,t.__text_cache__=""}function Tm(t){return function(e,n){var r=e.slice(n);return t.test(r)?r.match(t)[0].length:0}}function Ba(){return function(t,e){e.normalize(t)}}function Fr(t){var e=t.re=_m()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(Am),n.push(e.src_xn),e.src_tlds=n.join("|");function r(i){return i.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(r(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(r(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(r(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(r(e.tpl_host_fuzzy_test),"i");var s=[];t.__compiled__={};function o(i,a){throw new Error('(LinkifyIt) Invalid schema "'+i+'": '+a)}Object.keys(t.__schemas__).forEach(function(i){var a=t.__schemas__[i];if(a!==null){var l={validate:null,link:null};if(t.__compiled__[i]=l,ym(a)){xm(a.validate)?l.validate=Tm(a.validate):Oa(a.validate)?l.validate=a.validate:o(i,a),Oa(a.normalize)?l.normalize=a.normalize:a.normalize?o(i,a):l.normalize=Ba();return}if(vm(a)){s.push(i);return}o(i,a)}}),s.forEach(function(i){t.__compiled__[t.__schemas__[i]]&&(t.__compiled__[i].validate=t.__compiled__[t.__schemas__[i]].validate,t.__compiled__[i].normalize=t.__compiled__[t.__schemas__[i]].normalize)}),t.__compiled__[""]={validate:null,normalize:Ba()};var c=Object.keys(t.__compiled__).filter(function(i){return i.length>0&&t.__compiled__[i]}).map(wm).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+c+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+c+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),Sm(t)}function Dm(t,e){var n=t.__index__,r=t.__last_index__,s=t.__text_cache__.slice(n,r);this.schema=t.__schema__.toLowerCase(),this.index=n+e,this.lastIndex=r+e,this.raw=s,this.text=s,this.url=s}function io(t,e){var n=new Dm(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function Fe(t,e){if(!(this instanceof Fe))return new Fe(t,e);e||Em(t)&&(e=t,t={}),this.__opts__=co({},Fa,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=co({},km,t),this.__compiled__={},this.__tlds__=Cm,this.__tlds_replaced__=!1,this.re={},Fr(this)}Fe.prototype.add=function(e,n){return this.__schemas__[e]=n,Fr(this),this},Fe.prototype.set=function(e){return this.__opts__=co(this.__opts__,e),this},Fe.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var n,r,s,o,c,i,a,l,u;if(this.re.schema_test.test(e)){for(a=this.re.schema_search,a.lastIndex=0;(n=a.exec(e))!==null;)if(o=this.testSchemaAt(e,n[2],a.lastIndex),o){this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+o;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l<this.__index__)&&(r=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(c=r.index+r[1].length,(this.__index__<0||c<this.__index__)&&(this.__schema__="",this.__index__=c,this.__last_index__=r.index+r[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(u=e.indexOf("@"),u>=0&&(s=e.match(this.re.email_fuzzy))!==null&&(c=s.index+s[1].length,i=s.index+s[0].length,(this.__index__<0||c<this.__index__||c===this.__index__&&i>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=c,this.__last_index__=i))),this.__index__>=0},Fe.prototype.pretest=function(e){return this.re.pretest.test(e)},Fe.prototype.testSchemaAt=function(e,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,r,this):0},Fe.prototype.match=function(e){var n=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(io(this,n)),n=this.__last_index__);for(var s=n?e.slice(n):e;this.test(s);)r.push(io(this,n)),s=s.slice(this.__last_index__),n+=this.__last_index__;return r.length?r:null},Fe.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;var n=this.re.schema_at_start.exec(e);if(!n)return null;var r=this.testSchemaAt(e,n[2],n[0].length);return r?(this.__schema__=n[2],this.__index__=n.index+n[1].length,this.__last_index__=n.index+n[0].length+r,io(this,0)):null},Fe.prototype.tlds=function(e,n){return e=Array.isArray(e)?e:[e],n?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(r,s,o){return r!==o[s-1]}).reverse(),Fr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Fr(this),this)},Fe.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)},Fe.prototype.onCompile=function(){};var Rm=Fe;const on=2147483647,Qe=36,ao=1,Nn=26,Lm=38,qm=700,Pa=72,$a=128,Ua="-",Nm=/^xn--/,Im=/[^\0-\x7F]/,Mm=/[\x2E\u3002\uFF0E\uFF61]/g,Om={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},lo=Qe-ao,et=Math.floor,uo=String.fromCharCode;function xt(t){throw new RangeError(Om[t])}function Fm(t,e){const n=[];let r=t.length;for(;r--;)n[r]=e(t[r]);return n}function za(t,e){const n=t.split("@");let r="";n.length>1&&(r=n[0]+"@",t=n[1]),t=t.replace(Mm,".");const s=t.split("."),o=Fm(s,e).join(".");return r+o}function fo(t){const e=[];let n=0;const r=t.length;for(;n<r;){const s=t.charCodeAt(n++);if(s>=55296&&s<=56319&&n<r){const o=t.charCodeAt(n++);(o&64512)==56320?e.push(((s&1023)<<10)+(o&1023)+65536):(e.push(s),n--)}else e.push(s)}return e}const Ha=t=>String.fromCodePoint(...t),Bm=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:Qe},Va=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},Ga=function(t,e,n){let r=0;for(t=n?et(t/qm):t>>1,t+=et(t/e);t>lo*Nn>>1;r+=Qe)t=et(t/lo);return et(r+(lo+1)*t/(t+Lm))},po=function(t){const e=[],n=t.length;let r=0,s=$a,o=Pa,c=t.lastIndexOf(Ua);c<0&&(c=0);for(let i=0;i<c;++i)t.charCodeAt(i)>=128&&xt("not-basic"),e.push(t.charCodeAt(i));for(let i=c>0?c+1:0;i<n;){const a=r;for(let u=1,f=Qe;;f+=Qe){i>=n&&xt("invalid-input");const p=Bm(t.charCodeAt(i++));p>=Qe&&xt("invalid-input"),p>et((on-r)/u)&&xt("overflow"),r+=p*u;const d=f<=o?ao:f>=o+Nn?Nn:f-o;if(p<d)break;const m=Qe-d;u>et(on/m)&&xt("overflow"),u*=m}const l=e.length+1;o=Ga(r-a,l,a==0),et(r/l)>on-s&&xt("overflow"),s+=et(r/l),r%=l,e.splice(r++,0,s)}return String.fromCodePoint(...e)},ho=function(t){const e=[];t=fo(t);const n=t.length;let r=$a,s=0,o=Pa;for(const a of t)a<128&&e.push(uo(a));const c=e.length;let i=c;for(c&&e.push(Ua);i<n;){let a=on;for(const u of t)u>=r&&u<a&&(a=u);const l=i+1;a-r>et((on-s)/l)&&xt("overflow"),s+=(a-r)*l,r=a;for(const u of t)if(u<r&&++s>on&&xt("overflow"),u===r){let f=s;for(let p=Qe;;p+=Qe){const d=p<=o?ao:p>=o+Nn?Nn:p-o;if(f<d)break;const m=f-d,b=Qe-d;e.push(uo(Va(d+m%b,0))),f=et(m/b)}e.push(uo(Va(f,0))),o=Ga(s,l,i===c),s=0,++i}++s,++r}return e.join("")},ja=function(t){return za(t,function(e){return Nm.test(e)?po(e.slice(4).toLowerCase()):e})},Ka=function(t){return za(t,function(e){return Im.test(e)?"xn--"+ho(e):e})},Pm=Jf(Object.freeze(Object.defineProperty({__proto__:null,decode:po,default:{version:"2.3.1",ucs2:{decode:fo,encode:Ha},decode:po,encode:ho,toASCII:Ka,toUnicode:ja},encode:ho,toASCII:Ka,toUnicode:ja,ucs2decode:fo,ucs2encode:Ha},Symbol.toStringTag,{value:"Module"})));var $m={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},Um={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},zm={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}},In=le,Hm=Sr,Vm=Bd,Gm=ag,jm=Ug,Km=bm,Zm=Rm,Bt=tn,Za=Pm,Wm={default:$m,zero:Um,commonmark:zm},Jm=/^(vbscript|javascript|file|data):/,Ym=/^data:image\/(gif|png|jpeg|webp);/;function Xm(t){var e=t.trim().toLowerCase();return Jm.test(e)?!!Ym.test(e):!0}var Wa=["http:","https:","mailto:"];function Qm(t){var e=Bt.parse(t,!0);if(e.hostname&&(!e.protocol||Wa.indexOf(e.protocol)>=0))try{e.hostname=Za.toASCII(e.hostname)}catch{}return Bt.encode(Bt.format(e))}function eb(t){var e=Bt.parse(t,!0);if(e.hostname&&(!e.protocol||Wa.indexOf(e.protocol)>=0))try{e.hostname=Za.toUnicode(e.hostname)}catch{}return Bt.decode(Bt.format(e),Bt.decode.defaultChars+"%")}function Ve(t,e){if(!(this instanceof Ve))return new Ve(t,e);e||In.isString(t)||(e=t||{},t="default"),this.inline=new Km,this.block=new jm,this.core=new Gm,this.renderer=new Vm,this.linkify=new Zm,this.validateLink=Xm,this.normalizeLink=Qm,this.normalizeLinkText=eb,this.utils=In,this.helpers=In.assign({},Hm),this.options={},this.configure(t),e&&this.set(e)}Ve.prototype.set=function(t){return In.assign(this.options,t),this},Ve.prototype.configure=function(t){var e=this,n;if(In.isString(t)&&(n=t,t=Wm[n],!t))throw new Error('Wrong `markdown-it` preset "'+n+'", check name');if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(r){t.components[r].rules&&e[r].ruler.enableOnly(t.components[r].rules),t.components[r].rules2&&e[r].ruler2.enableOnly(t.components[r].rules2)}),this},Ve.prototype.enable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(s){n=n.concat(this[s].ruler.enable(t,!0))},this),n=n.concat(this.inline.ruler2.enable(t,!0));var r=t.filter(function(s){return n.indexOf(s)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},Ve.prototype.disable=function(t,e){var n=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(s){n=n.concat(this[s].ruler.disable(t,!0))},this),n=n.concat(this.inline.ruler2.disable(t,!0));var r=t.filter(function(s){return n.indexOf(s)<0});if(r.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},Ve.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},Ve.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");var n=new this.core.State(t,this,e);return this.core.process(n),n.tokens},Ve.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},Ve.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens},Ve.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var tb=Ve,nb=tb;const rb=Ms(nb),sb=ze({name:"VueMarkdown",props:{source:{type:String,required:!0},options:{type:Object,required:!1},plugins:{type:Array,required:!1}},setup(t){const e=Te(new rb(t.options??{}));for(const r of t.plugins??[])e.value.use(r);const n=Re(()=>e.value.render(t.source));return()=>zc("div",{innerHTML:n.value})}}),ob={key:0,class:"chat-message-actions"},cb={key:2,class:"chat-message-files"},go=ze({__name:"Message",props:{message:{}},setup(t,{expose:e}){const n=t;ct.registerLanguage("javascript",Mi),ct.registerLanguage("typescript",ud),ct.registerLanguage("python",ad),ct.registerLanguage("xml",Oi),ct.registerLanguage("bash",id);const{message:r}=Bl(n),{options:s}=Rn(),o=Te(null),c=Te({}),i=Re(()=>r.value.text||"<Empty response>"),a=Re(()=>({"chat-message-from-user":r.value.sender==="user","chat-message-from-bot":r.value.sender==="bot","chat-message-transparent":r.value.transparent===!0})),l=m=>{m.use(dd,{attrs:{target:"_blank",rel:"noopener"}})},u=()=>{var m;(m=o.value)!=null&&m.scrollIntoView&&o.value.scrollIntoView({block:"center"})},f={highlight(m,b){if(b&&ct.getLanguage(b))try{return ct.highlight(m,{language:b}).value}catch{}return""}},p={...(s==null?void 0:s.messageComponents)??{}};e({scrollToView:u});const d=async m=>await new Promise((b,R)=>{const T=new FileReader;T.onload=()=>b(T.result),T.onerror=R,T.readAsDataURL(m)});return dt(async()=>{if(r.value.files)for(const m of r.value.files)try{const b=await d(m);c.value[m.name]=b}catch(b){console.error("Error reading file:",b)}}),(m,b)=>(K(),oe("div",{ref_key:"messageContainer",ref:o,class:jt(["chat-message",a.value])},[m.$slots.beforeMessage?(K(),oe("div",ob,[Dt(m.$slots,"beforeMessage",jr(As({message:re(r)})))])):Oe("",!0),Dt(m.$slots,"default",{},()=>[re(r).type==="component"&&p[re(r).key]?(K(),be(nu(p[re(r).key]),jr(Ic({key:0},re(r).arguments)),null,16)):(K(),be(re(sb),{key:1,class:"chat-message-markdown",source:i.value,options:f,plugins:[l]},null,8,["source","plugins"])),(re(r).files??[]).length>0?(K(),oe("div",cb,[(K(!0),oe(Ce,null,or(re(r).files??[],R=>(K(),oe("div",{key:R.name,class:"chat-message-file"},[ge(Bi,{file:R,"is-removable":!1,"is-previewable":!0},null,8,["file"])]))),128))])):Oe("",!0)])],2))}}),ib=pe("div",{class:"chat-message-typing-body"},[pe("span",{class:"chat-message-typing-circle"}),pe("span",{class:"chat-message-typing-circle"}),pe("span",{class:"chat-message-typing-circle"})],-1),ab=ze({__name:"MessageTyping",props:{animation:{default:"bouncing"}},setup(t){const e=t,n={id:"typing",text:"",sender:"bot",createdAt:""},r=Te(),s=Re(()=>({"chat-message-typing":!0,[`chat-message-typing-animation-${e.animation}`]:!0}));return dt(()=>{var o;(o=r.value)==null||o.scrollToView()}),(o,c)=>(K(),be(re(go),{ref_key:"messageContainer",ref:r,class:jt(s.value),message:n},{default:st(()=>[ib]),_:1},8,["class"]))}}),lb={class:"chat-messages-list"},ub=ze({__name:"MessagesList",props:{messages:{}},setup(t){const e=Us(),n=Te([]),{initialMessages:r,waitingForResponse:s}=e;return tr(()=>n.value.length,()=>{const o=n.value[n.value.length-1];o&&o.scrollToView()}),(o,c)=>(K(),oe("div",lb,[(K(!0),oe(Ce,null,or(re(r),i=>(K(),be(go,{key:i.id,message:i},null,8,["message"]))),128)),(K(!0),oe(Ce,null,or(o.messages,i=>(K(),be(go,{key:i.id,ref_for:!0,ref_key:"messageComponents",ref:n,message:i},{beforeMessage:st(({message:a})=>[Dt(o.$slots,"beforeMessage",jr(As({message:a})))]),_:2},1032,["message"]))),128)),re(s)?(K(),be(ab,{key:0})):Oe("",!0)]))}}),fb={class:"chat-heading"},pb=["title"],hb={key:0},Ja=ze({__name:"Chat",setup(t){const{t:e}=wr(),n=Us(),{messages:r,currentSessionId:s}=n,{options:o}=Rn(),c=Re(()=>o.mode==="window"&&o.showWindowCloseButton);async function i(){n.startNewSession&&(n.startNewSession(),Jt(()=>{Ie.emit("scrollToBottom")}))}async function a(){n.loadPreviousSession&&(await n.loadPreviousSession(),Jt(()=>{Ie.emit("scrollToBottom")}))}function l(){Ie.emit("close")}return dt(async()=>{await a(),!o.showWelcomeScreen&&!s.value&&await i()}),(u,f)=>(K(),be(cd,{class:"chat-wrapper"},{header:st(()=>[pe("div",fb,[pe("h1",null,fn(re(e)("title")),1),c.value?(K(),oe("button",{key:0,class:"chat-close-button",title:re(e)("closeButtonTooltip"),onClick:l},[ge(re(eh),{height:"18",width:"18"})],8,pb)):Oe("",!0)]),re(e)("subtitle")?(K(),oe("p",hb,fn(re(e)("subtitle")),1)):Oe("",!0)]),footer:st(()=>[re(s)?(K(),be(nd,{key:0})):(K(),be(uh,{key:1}))]),default:st(()=>[!re(s)&&re(o).showWelcomeScreen?(K(),be(nh,{key:0,"onClick:button":i})):(K(),be(ub,{key:1,messages:re(r)},null,8,["messages"]))]),_:1}))}}),db={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},gb=[pe("path",{fill:"currentColor",d:"M12 3c5.5 0 10 3.58 10 8s-4.5 8-10 8c-1.24 0-2.43-.18-3.53-.5C5.55 21 2 21 2 21c2.33-2.33 2.7-3.9 2.75-4.5C3.05 15.07 2 13.13 2 11c0-4.42 4.5-8 10-8"},null,-1)];function mb(t,e){return K(),oe("svg",db,[...gb])}const bb={name:"mdi-chat",render:mb},_b={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"},vb=[pe("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z"},null,-1)];function yb(t,e){return K(),oe("svg",_b,[...vb])}const xb={name:"mdi-chevron-down",render:yb},wb={class:"chat-window-wrapper"},Eb={class:"chat-window"},kb=ze({__name:"ChatWindow",setup(t){const e=Te(!1);function n(){e.value=!e.value,e.value&&Jt(()=>{Ie.emit("scrollToBottom")})}return(r,s)=>(K(),oe("div",wb,[ge(dr,{name:"chat-window-transition"},{default:st(()=>[ic(pe("div",Eb,[ge(Ja)],512),[[uf,e.value]])]),_:1}),pe("div",{class:"chat-window-toggle",onClick:n},[ge(dr,{name:"chat-window-toggle-transition",mode:"out-in"},{default:st(()=>[e.value?(K(),be(re(xb),{key:1,height:"32",width:"32"})):(K(),be(re(bb),{key:0,height:"32",width:"32"}))]),_:1})])]))}}),Ab=ze({__name:"App",props:{},setup(t){const{options:e}=Rn(),n=Re(()=>e.mode==="fullscreen");return dt(()=>{ct.registerLanguage("xml",Oi),ct.registerLanguage("javascript",Mi)}),(r,s)=>n.value?(K(),be(re(Ja),{key:0,class:"n8n-chat"})):(K(),be(re(kb),{key:1,class:"n8n-chat"}))}});function Cb(t){var s,o;const e={...Cn,...t,webhookConfig:{...Cn.webhookConfig,...t==null?void 0:t.webhookConfig},i18n:{...Cn.i18n,...t==null?void 0:t.i18n,en:{...(s=Cn.i18n)==null?void 0:s.en,...(o=t==null?void 0:t.i18n)==null?void 0:o.en}},theme:{...Cn.theme,...t==null?void 0:t.theme}},n=e.target??Bf;typeof n=="string"&&Zf(n);const r=Mf(Ab);return r.use(Wf,e),r.mount(n),r}zt.createChat=Cb,Object.defineProperty(zt,Symbol.toStringTag,{value:"Module"})});
|