@n8n/chat 0.28.0 → 0.30.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.
@@ -1,37 +1,37 @@
1
- (function(zt,wt){typeof exports=="object"&&typeof module<"u"?wt(exports):typeof define=="function"&&define.amd?define(["exports"],wt):(zt=typeof globalThis<"u"?globalThis:zt||self,wt(zt.N8nChat={}))})(this,function(zt){"use strict";/**
2
- * @vue/shared v3.4.21
1
+ (function(Kt,Dt){typeof exports=="object"&&typeof module<"u"?Dt(exports):typeof define=="function"&&define.amd?define(["exports"],Dt):(Kt=typeof globalThis<"u"?globalThis:Kt||self,Dt(Kt.N8nChat={}))})(this,function(Kt){"use strict";/**
2
+ * @vue/shared v3.5.11
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=()=>{},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
- * @vue/reactivity v3.4.21
5
+ **//*! #__NO_SIDE_EFFECTS__ */function Dt(t){const e=Object.create(null);for(const n of t.split(","))e[n]=1;return n=>n in e}const pe={},Zt=[],Xe=()=>{},El=()=>!1,Kn=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Jr=t=>t.startsWith("onUpdate:"),ye=Object.assign,Yr=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},kl=Object.prototype.hasOwnProperty,ue=(t,e)=>kl.call(t,e),J=Array.isArray,Wt=t=>Zn(t)==="[object Map]",Ao=t=>Zn(t)==="[object Set]",Q=t=>typeof t=="function",me=t=>typeof t=="string",mt=t=>typeof t=="symbol",ge=t=>t!==null&&typeof t=="object",Co=t=>(ge(t)||Q(t))&&Q(t.then)&&Q(t.catch),So=Object.prototype.toString,Zn=t=>So.call(t),Al=t=>Zn(t).slice(8,-1),To=t=>Zn(t)==="[object Object]",Xr=t=>me(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,_n=Dt(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Wn=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},Cl=/-(\w)/g,Ve=Wn(t=>t.replace(Cl,(e,n)=>n?n.toUpperCase():"")),Sl=/\B([A-Z])/g,bt=Wn(t=>t.replace(Sl,"-$1").toLowerCase()),Jn=Wn(t=>t.charAt(0).toUpperCase()+t.slice(1)),Qr=Wn(t=>t?`on${Jn(t)}`:""),_t=(t,e)=>!Object.is(t,e),Yn=(t,...e)=>{for(let n=0;n<t.length;n++)t[n](...e)},Do=(t,e,n,r=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:r,value:n})},es=t=>{const e=parseFloat(t);return isNaN(e)?t:e},Tl=t=>{const e=me(t)?Number(t):NaN;return isNaN(e)?t:e};let Ro;const qo=()=>Ro||(Ro=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function vn(t){if(J(t)){const e={};for(let n=0;n<t.length;n++){const r=t[n],s=me(r)?Ll(r):vn(r);if(s)for(const o in s)e[o]=s[o]}return e}else if(me(t)||ge(t))return t}const Dl=/;(?![^(]*\))/g,Rl=/:([^]+)/,ql=/\/\*[^]*?\*\//g;function Ll(t){const e={};return t.replace(ql,"").split(Dl).forEach(n=>{if(n){const r=n.split(Rl);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(ge(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}function Lo(t){if(!t)return null;let{class:e,style:n}=t;return e&&!me(e)&&(t.class=Jt(e)),n&&(t.style=vn(n)),t}const Nl=Dt("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function No(t){return!!t||t===""}const Io=t=>!!(t&&t.__v_isRef===!0),Yt=t=>me(t)?t:t==null?"":J(t)||ge(t)&&(t.toString===So||!Q(t.toString))?Io(t)?Yt(t.value):JSON.stringify(t,Mo,2):String(t),Mo=(t,e)=>Io(e)?Mo(t,e.value):Wt(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((n,[r,s],o)=>(n[ts(r,o)+" =>"]=s,n),{})}:Ao(e)?{[`Set(${e.size})`]:[...e.values()].map(n=>ts(n))}:mt(e)?ts(e):ge(e)&&!J(e)&&!To(e)?String(e):e,ts=(t,e="")=>{var n;return mt(t)?`Symbol(${(n=t.description)!=null?n:e})`:t};/**
6
+ * @vue/reactivity v3.5.11
7
7
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
8
  * @license MIT
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
- * @vue/runtime-core v3.4.21
9
+ **/let Re;class Il{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Re,!e&&Re&&(this.index=(Re.scopes||(Re.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].pause();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,n;if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].resume();for(e=0,n=this.effects.length;e<n;e++)this.effects[e].resume()}}run(e){if(this._active){const n=Re;try{return Re=this,e()}finally{Re=n}}}on(){Re=this}off(){Re=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 Oo(){return Re}function Ml(t,e=!1){Re&&Re.cleanups.push(t)}let de;const ns=new WeakSet;class Fo{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Re&&Re.active&&Re.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ns.has(this)&&(ns.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Po(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Vo(this),$o(this);const e=de,n=We;de=this,We=!0;try{return this.fn()}finally{Uo(this),de=e,We=n,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)cs(e);this.deps=this.depsTail=void 0,Vo(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ns.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){os(this)&&this.run()}get dirty(){return os(this)}}let Bo=0,yn,xn;function Po(t,e=!1){if(t.flags|=8,e){t.next=xn,xn=t;return}t.next=yn,yn=t}function rs(){Bo++}function ss(){if(--Bo>0)return;if(xn){let e=xn;for(xn=void 0;e;){const n=e.next;e.next=void 0,e.flags&=-9,e=n}}let t;for(;yn;){let e=yn;for(yn=void 0;e;){const n=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(r){t||(t=r)}e=n}}if(t)throw t}function $o(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Uo(t){let e,n=t.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),cs(r),Ol(r)):e=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}t.deps=e,t.depsTail=n}function os(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(zo(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function zo(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===wn))return;t.globalVersion=wn;const e=t.dep;if(t.flags|=2,e.version>0&&!t.isSSR&&t.deps&&!os(t)){t.flags&=-3;return}const n=de,r=We;de=t,We=!0;try{$o(t);const s=t.fn(t._value);(e.version===0||_t(s,t._value))&&(t._value=s,e.version++)}catch(s){throw e.version++,s}finally{de=n,We=r,Uo(t),t.flags&=-3}}function cs(t,e=!1){const{dep:n,prevSub:r,nextSub:s}=t;if(r&&(r.nextSub=s,t.prevSub=void 0),s&&(s.prevSub=r,t.nextSub=void 0),n.subs===t&&(n.subs=r),!n.subs&&n.computed){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)cs(o,!0)}!e&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ol(t){const{prevDep:e,nextDep:n}=t;e&&(e.nextDep=n,t.prevDep=void 0),n&&(n.prevDep=e,t.nextDep=void 0)}let We=!0;const Ho=[];function it(){Ho.push(We),We=!1}function at(){const t=Ho.pop();We=t===void 0?!0:t}function Vo(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const n=de;de=void 0;try{e()}finally{de=n}}}let wn=0;class Fl{constructor(e,n){this.sub=e,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class is{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!de||!We||de===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==de)n=this.activeLink=new Fl(de,this),de.deps?(n.prevDep=de.depsTail,de.depsTail.nextDep=n,de.depsTail=n):de.deps=de.depsTail=n,Go(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=de.depsTail,n.nextDep=void 0,de.depsTail.nextDep=n,de.depsTail=n,de.deps===n&&(de.deps=r)}return n}trigger(e){this.version++,wn++,this.notify(e)}notify(e){rs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ss()}}}function Go(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let r=e.deps;r;r=r.nextDep)Go(r)}const n=t.dep.subs;n!==t&&(t.prevSub=n,n&&(n.nextSub=t)),t.dep.subs=t}}const Xn=new WeakMap,Rt=Symbol(""),as=Symbol(""),En=Symbol("");function Se(t,e,n){if(We&&de){let r=Xn.get(t);r||Xn.set(t,r=new Map);let s=r.get(n);s||(r.set(n,s=new is),s.map=r,s.key=n),s.track()}}function lt(t,e,n,r,s,o){const c=Xn.get(t);if(!c){wn++;return}const i=a=>{a&&a.trigger()};if(rs(),e==="clear")c.forEach(i);else{const a=J(t),l=a&&Xr(n);if(a&&n==="length"){const u=Number(r);c.forEach((f,p)=>{(p==="length"||p===En||!mt(p)&&p>=u)&&i(f)})}else switch(n!==void 0&&i(c.get(n)),l&&i(c.get(En)),e){case"add":a?l&&i(c.get("length")):(i(c.get(Rt)),Wt(t)&&i(c.get(as)));break;case"delete":a||(i(c.get(Rt)),Wt(t)&&i(c.get(as)));break;case"set":Wt(t)&&i(c.get(Rt));break}}ss()}function Bl(t,e){const n=Xn.get(t);return n&&n.get(e)}function Xt(t){const e=ie(t);return e===t?e:(Se(e,"iterate",En),Ge(t)?e:e.map(Te))}function Qn(t){return Se(t=ie(t),"iterate",En),t}const Pl={__proto__:null,[Symbol.iterator](){return ls(this,Symbol.iterator,Te)},concat(...t){return Xt(this).concat(...t.map(e=>J(e)?Xt(e):e))},entries(){return ls(this,"entries",t=>(t[1]=Te(t[1]),t))},every(t,e){return ut(this,"every",t,e,void 0,arguments)},filter(t,e){return ut(this,"filter",t,e,n=>n.map(Te),arguments)},find(t,e){return ut(this,"find",t,e,Te,arguments)},findIndex(t,e){return ut(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return ut(this,"findLast",t,e,Te,arguments)},findLastIndex(t,e){return ut(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return ut(this,"forEach",t,e,void 0,arguments)},includes(...t){return us(this,"includes",t)},indexOf(...t){return us(this,"indexOf",t)},join(t){return Xt(this).join(t)},lastIndexOf(...t){return us(this,"lastIndexOf",t)},map(t,e){return ut(this,"map",t,e,void 0,arguments)},pop(){return kn(this,"pop")},push(...t){return kn(this,"push",t)},reduce(t,...e){return jo(this,"reduce",t,e)},reduceRight(t,...e){return jo(this,"reduceRight",t,e)},shift(){return kn(this,"shift")},some(t,e){return ut(this,"some",t,e,void 0,arguments)},splice(...t){return kn(this,"splice",t)},toReversed(){return Xt(this).toReversed()},toSorted(t){return Xt(this).toSorted(t)},toSpliced(...t){return Xt(this).toSpliced(...t)},unshift(...t){return kn(this,"unshift",t)},values(){return ls(this,"values",Te)}};function ls(t,e,n){const r=Qn(t),s=r[e]();return r!==t&&!Ge(t)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.value&&(o.value=n(o.value)),o}),s}const $l=Array.prototype;function ut(t,e,n,r,s,o){const c=Qn(t),i=c!==t&&!Ge(t),a=c[e];if(a!==$l[e]){const f=a.apply(t,o);return i?Te(f):f}let l=n;c!==t&&(i?l=function(f,p){return n.call(this,Te(f),p,t)}:n.length>2&&(l=function(f,p){return n.call(this,f,p,t)}));const u=a.call(c,l,r);return i&&s?s(u):u}function jo(t,e,n,r){const s=Qn(t);let o=n;return s!==t&&(Ge(t)?n.length>3&&(o=function(c,i,a){return n.call(this,c,i,a,t)}):o=function(c,i,a){return n.call(this,c,Te(i),a,t)}),s[e](o,...r)}function us(t,e,n){const r=ie(t);Se(r,"iterate",En);const s=r[e](...n);return(s===-1||s===!1)&&ds(n[0])?(n[0]=ie(n[0]),r[e](...n)):s}function kn(t,e,n=[]){it(),rs();const r=ie(t)[e].apply(t,n);return ss(),at(),r}const Ul=Dt("__proto__,__v_isRef,__isVue"),Ko=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(mt));function zl(t){mt(t)||(t=String(t));const e=ie(this);return Se(e,"has",t),e.hasOwnProperty(t)}class Zo{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?sc:rc:o?nc:tc).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(r)?e:void 0;const c=J(e);if(!s){let a;if(c&&(a=Pl[n]))return a;if(n==="hasOwnProperty")return zl}const i=Reflect.get(e,n,xe(e)?e:r);return(mt(n)?Ko.has(n):Ul(n))||(s||Se(e,"get",n),o)?i:xe(i)?c&&Xr(n)?i:i.value:ge(i)?s?hs(i):ps(i):i}}class Wo extends Zo{constructor(e=!1){super(!1,e)}set(e,n,r,s){let o=e[n];if(!this._isShallow){const a=qt(o);if(!Ge(r)&&!qt(r)&&(o=ie(o),r=ie(r)),!J(e)&&xe(o)&&!xe(r))return a?!1:(o.value=r,!0)}const c=J(e)&&Xr(n)?Number(n)<e.length:ue(e,n),i=Reflect.set(e,n,r,xe(e)?e:s);return e===ie(s)&&(c?_t(r,o)&&lt(e,"set",n,r):lt(e,"add",n,r)),i}deleteProperty(e,n){const r=ue(e,n);e[n];const s=Reflect.deleteProperty(e,n);return s&&r&&lt(e,"delete",n,void 0),s}has(e,n){const r=Reflect.has(e,n);return(!mt(n)||!Ko.has(n))&&Se(e,"has",n),r}ownKeys(e){return Se(e,"iterate",J(e)?"length":Rt),Reflect.ownKeys(e)}}class Jo extends Zo{constructor(e=!1){super(!0,e)}set(e,n){return!0}deleteProperty(e,n){return!0}}const Hl=new Wo,Vl=new Jo,Gl=new Wo(!0),jl=new Jo(!0),fs=t=>t,er=t=>Reflect.getPrototypeOf(t);function tr(t,e,n=!1,r=!1){t=t.__v_raw;const s=ie(t),o=ie(e);n||(_t(e,o)&&Se(s,"get",e),Se(s,"get",o));const{has:c}=er(s),i=r?fs:n?gs:Te;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 nr(t,e=!1){const n=this.__v_raw,r=ie(n),s=ie(t);return e||(_t(t,s)&&Se(r,"has",t),Se(r,"has",s)),t===s?n.has(t):n.has(t)||n.has(s)}function rr(t,e=!1){return t=t.__v_raw,!e&&Se(ie(t),"iterate",Rt),Reflect.get(t,"size",t)}function Yo(t,e=!1){!e&&!Ge(t)&&!qt(t)&&(t=ie(t));const n=ie(this);return er(n).has.call(n,t)||(n.add(t),lt(n,"add",t,t)),this}function Xo(t,e,n=!1){!n&&!Ge(e)&&!qt(e)&&(e=ie(e));const r=ie(this),{has:s,get:o}=er(r);let c=s.call(r,t);c||(t=ie(t),c=s.call(r,t));const i=o.call(r,t);return r.set(t,e),c?_t(e,i)&&lt(r,"set",t,e):lt(r,"add",t,e),this}function Qo(t){const e=ie(this),{has:n,get:r}=er(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&&lt(e,"delete",t,void 0),o}function ec(){const t=ie(this),e=t.size!==0,n=t.clear();return e&&lt(t,"clear",void 0,void 0),n}function sr(t,e){return function(r,s){const o=this,c=o.__v_raw,i=ie(c),a=e?fs:t?gs:Te;return!t&&Se(i,"iterate",Rt),c.forEach((l,u)=>r.call(s,a(l),a(u),o))}}function or(t,e,n){return function(...r){const s=this.__v_raw,o=ie(s),c=Wt(o),i=t==="entries"||t===Symbol.iterator&&c,a=t==="keys"&&c,l=s[t](...r),u=n?fs:e?gs:Te;return!e&&Se(o,"iterate",a?as:Rt),{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 vt(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Kl(){const t={get(o){return tr(this,o)},get size(){return rr(this)},has:nr,add:Yo,set:Xo,delete:Qo,clear:ec,forEach:sr(!1,!1)},e={get(o){return tr(this,o,!1,!0)},get size(){return rr(this)},has:nr,add(o){return Yo.call(this,o,!0)},set(o,c){return Xo.call(this,o,c,!0)},delete:Qo,clear:ec,forEach:sr(!1,!0)},n={get(o){return tr(this,o,!0)},get size(){return rr(this,!0)},has(o){return nr.call(this,o,!0)},add:vt("add"),set:vt("set"),delete:vt("delete"),clear:vt("clear"),forEach:sr(!0,!1)},r={get(o){return tr(this,o,!0,!0)},get size(){return rr(this,!0)},has(o){return nr.call(this,o,!0)},add:vt("add"),set:vt("set"),delete:vt("delete"),clear:vt("clear"),forEach:sr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{t[o]=or(o,!1,!1),n[o]=or(o,!0,!1),e[o]=or(o,!1,!0),r[o]=or(o,!0,!0)}),[t,n,e,r]}const[Zl,Wl,Jl,Yl]=Kl();function cr(t,e){const n=e?t?Yl:Jl:t?Wl:Zl;return(r,s,o)=>s==="__v_isReactive"?!t:s==="__v_isReadonly"?t:s==="__v_raw"?r:Reflect.get(ue(n,s)&&s in r?n:r,s,o)}const Xl={get:cr(!1,!1)},Ql={get:cr(!1,!0)},eu={get:cr(!0,!1)},tu={get:cr(!0,!0)},tc=new WeakMap,nc=new WeakMap,rc=new WeakMap,sc=new WeakMap;function nu(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ru(t){return t.__v_skip||!Object.isExtensible(t)?0:nu(Al(t))}function ps(t){return qt(t)?t:ir(t,!1,Hl,Xl,tc)}function su(t){return ir(t,!1,Gl,Ql,nc)}function hs(t){return ir(t,!0,Vl,eu,rc)}function Hb(t){return ir(t,!0,jl,tu,sc)}function ir(t,e,n,r,s){if(!ge(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const o=s.get(t);if(o)return o;const c=ru(t);if(c===0)return t;const i=new Proxy(t,c===2?r:n);return s.set(t,i),i}function Qt(t){return qt(t)?Qt(t.__v_raw):!!(t&&t.__v_isReactive)}function qt(t){return!!(t&&t.__v_isReadonly)}function Ge(t){return!!(t&&t.__v_isShallow)}function ds(t){return t?!!t.__v_raw:!1}function ie(t){const e=t&&t.__v_raw;return e?ie(e):t}function ou(t){return!ue(t,"__v_skip")&&Object.isExtensible(t)&&Do(t,"__v_skip",!0),t}const Te=t=>ge(t)?ps(t):t,gs=t=>ge(t)?hs(t):t;function xe(t){return t?t.__v_isRef===!0:!1}function qe(t){return cu(t,!1)}function cu(t,e){return xe(t)?t:new iu(t,e)}class iu{constructor(e,n){this.dep=new is,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?e:ie(e),this._value=n?e:Te(e),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(e){const n=this._rawValue,r=this.__v_isShallow||Ge(e)||qt(e);e=r?e:ie(e),_t(e,n)&&(this._rawValue=e,this._value=r?e:Te(e),this.dep.trigger())}}function se(t){return xe(t)?t.value:t}const au={get:(t,e,n)=>e==="__v_raw"?t:se(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 oc(t){return Qt(t)?t:new Proxy(t,au)}function lu(t){const e=J(t)?new Array(t.length):{};for(const n in t)e[n]=fu(t,n);return e}class uu{constructor(e,n,r){this._object=e,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return Bl(ie(this._object),this._key)}}function fu(t,e,n){const r=t[e];return xe(r)?r:new uu(t,e,n)}class pu{constructor(e,n,r){this.fn=e,this.setter=n,this._value=void 0,this.dep=new is(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=wn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&de!==this)return Po(this,!0),!0}get value(){const e=this.dep.track();return zo(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function hu(t,e,n=!1){let r,s;return Q(t)?r=t:(r=t.get,s=t.set),new pu(r,s,n)}const ar={},lr=new WeakMap;let Lt;function du(t,e=!1,n=Lt){if(n){let r=lr.get(n);r||lr.set(n,r=[]),r.push(t)}}function gu(t,e,n=pe){const{immediate:r,deep:s,once:o,scheduler:c,augmentJob:i,call:a}=n,l=R=>s?R:Ge(R)||s===!1||s===0?ft(R,1):ft(R);let u,f,p,d,m=!1,b=!1;if(xe(t)?(f=()=>t.value,m=Ge(t)):Qt(t)?(f=()=>l(t),m=!0):J(t)?(b=!0,m=t.some(R=>Qt(R)||Ge(R)),f=()=>t.map(R=>{if(xe(R))return R.value;if(Qt(R))return l(R);if(Q(R))return a?a(R,2):R()})):Q(t)?e?f=a?()=>a(t,2):t:f=()=>{if(p){it();try{p()}finally{at()}}const R=Lt;Lt=u;try{return a?a(t,3,[d]):t(d)}finally{Lt=R}}:f=Xe,e&&s){const R=f,$=s===!0?1/0:s;f=()=>ft(R(),$)}const I=Oo(),k=()=>{u.stop(),I&&Yr(I.effects,u)};if(o&&e){const R=e;e=(...$)=>{R(...$),k()}}let w=b?new Array(t.length).fill(ar):ar;const M=R=>{if(!(!(u.flags&1)||!u.dirty&&!R))if(e){const $=u.run();if(s||m||(b?$.some((T,Z)=>_t(T,w[Z])):_t($,w))){p&&p();const T=Lt;Lt=u;try{const Z=[$,w===ar?void 0:b&&w[0]===ar?[]:w,d];a?a(e,3,Z):e(...Z),w=$}finally{Lt=T}}}else u.run()};return i&&i(M),u=new Fo(f),u.scheduler=c?()=>c(M,!1):M,d=R=>du(R,!1,u),p=u.onStop=()=>{const R=lr.get(u);if(R){if(a)a(R,4);else for(const $ of R)$();lr.delete(u)}},e?r?M(!0):w=u.run():c?c(M.bind(null,!0),!0):u.run(),k.pause=u.pause.bind(u),k.resume=u.resume.bind(u),k.stop=k,k}function ft(t,e=1/0,n){if(e<=0||!ge(t)||t.__v_skip||(n=n||new Set,n.has(t)))return t;if(n.add(t),e--,xe(t))ft(t.value,e,n);else if(J(t))for(let r=0;r<t.length;r++)ft(t[r],e,n);else if(Ao(t)||Wt(t))t.forEach(r=>{ft(r,e,n)});else if(To(t)){for(const r in t)ft(t[r],e,n);for(const r of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,r)&&ft(t[r],e,n)}return t}/**
10
+ * @vue/runtime-core v3.5.11
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=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(`
13
+ **/const An=[];let ms=!1;function Vb(t,...e){if(ms)return;ms=!0,it();const n=An.length?An[An.length-1].component:null,r=n&&n.appContext.config.warnHandler,s=mu();if(r)en(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 <${ci(n,o.type)}>`).join(`
14
14
  `),s]);else{const o=[`[Vue warn]: ${t}`,...e];s.length&&o.push(`
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&&gt(t.ssContent),ssFallback:t.ssFallback&&gt(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
- * @vue/runtime-dom v3.4.21
15
+ `,...bu(s)),console.warn(...o)}at(),ms=!1}function mu(){let t=An[An.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 bu(t){const e=[];return t.forEach((n,r)=>{e.push(...r===0?[]:[`
16
+ `],..._u(n))}),e}function _u({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",r=t.component?t.component.parent==null:!1,s=` at <${ci(t.component,t.type,r)}`,o=">"+n;return t.props?[s,...vu(t.props),o]:[s+o]}function vu(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(r=>{e.push(...cc(r,t[r]))}),n.length>3&&e.push(" ..."),e}function cc(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=cc(t,ie(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):Q(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=ie(e),n?e:[`${t}=`,e])}function en(t,e,n,r){try{return r?t(...r):t()}catch(s){ur(s,e,n)}}function Je(t,e,n,r){if(Q(t)){const s=en(t,e,n,r);return s&&Co(s)&&s.catch(o=>{ur(o,e,n)}),s}if(J(t)){const s=[];for(let o=0;o<t.length;o++)s.push(Je(t[o],e,n,r));return s}}function ur(t,e,n,r=!0){const s=e?e.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:c}=e&&e.appContext.config||pe;if(e){let i=e.parent;const a=e.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;i;){const u=i.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](t,a,l)===!1)return}i=i.parent}if(o){it(),en(o,null,10,[t,a,l]),at();return}}yu(t,n,s,r,c)}function yu(t,e,n,r=!0,s=!1){if(s)throw t;console.error(t)}const Le=[];let Qe=-1;const tn=[];let yt=null,nn=0;const ic=Promise.resolve();let fr=null;function rn(t){const e=fr||ic;return t?e.then(this?t.bind(this):t):e}function xu(t){let e=Qe+1,n=Le.length;for(;e<n;){const r=e+n>>>1,s=Le[r],o=Cn(s);o<t||o===t&&s.flags&2?e=r+1:n=r}return e}function bs(t){if(!(t.flags&1)){const e=Cn(t),n=Le[Le.length-1];!n||!(t.flags&2)&&e>=Cn(n)?Le.push(t):Le.splice(xu(e),0,t),t.flags|=1,ac()}}function ac(){fr||(fr=ic.then(fc))}function wu(t){J(t)?tn.push(...t):yt&&t.id===-1?yt.splice(nn+1,0,t):t.flags&1||(tn.push(t),t.flags|=1),ac()}function lc(t,e,n=Qe+1){for(;n<Le.length;n++){const r=Le[n];if(r&&r.flags&2){if(t&&r.id!==t.uid)continue;Le.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function uc(t){if(tn.length){const e=[...new Set(tn)].sort((n,r)=>Cn(n)-Cn(r));if(tn.length=0,yt){yt.push(...e);return}for(yt=e,nn=0;nn<yt.length;nn++){const n=yt[nn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}yt=null,nn=0}}const Cn=t=>t.id==null?t.flags&2?-1:1/0:t.id;function fc(t){try{for(Qe=0;Qe<Le.length;Qe++){const e=Le[Qe];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),en(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;Qe<Le.length;Qe++){const e=Le[Qe];e&&(e.flags&=-2)}Qe=-1,Le.length=0,uc(),fr=null,(Le.length||tn.length)&&fc()}}let we=null,pc=null;function pr(t){const e=we;return we=t,pc=t&&t.type.__scopeId||null,e}function pt(t,e=we,n){if(!e||t._n)return t;const r=(...s)=>{r._d&&Jc(-1);const o=pr(e);let c;try{c=t(...s)}finally{pr(o),r._d&&Jc(1)}return c};return r._n=!0,r._c=!0,r._d=!0,r}function hc(t,e){if(we===null)return t;const n=kr(we),r=t.dirs||(t.dirs=[]);for(let s=0;s<e.length;s++){let[o,c,i,a=pe]=e[s];o&&(Q(o)&&(o={mounted:o,updated:o}),o.deep&&ft(c),r.push({dir:o,instance:n,value:c,oldValue:void 0,arg:i,modifiers:a}))}return t}function Nt(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&&(it(),Je(a,n,8,[t.el,i,t,e]),at())}}const Eu=Symbol("_vte"),dc=t=>t.__isTeleport,xt=Symbol("_leaveCb"),hr=Symbol("_enterCb");function ku(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return wt(()=>{t.isMounted=!0}),xs(()=>{t.isUnmounting=!0}),t}const je=[Function,Array],gc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:je,onEnter:je,onAfterEnter:je,onEnterCancelled:je,onBeforeLeave:je,onLeave:je,onAfterLeave:je,onLeaveCancelled:je,onBeforeAppear:je,onAppear:je,onAfterAppear:je,onAppearCancelled:je},mc=t=>{const e=t.subTree;return e.component?mc(e.component):e},Au={name:"BaseTransition",props:gc,setup(t,{slots:e}){const n=xf(),r=ku();return()=>{const s=e.default&&yc(e.default(),!0);if(!s||!s.length)return;const o=bc(s),c=ie(t),{mode:i}=c;if(r.isLeaving)return vs(o);const a=vc(o);if(!a)return vs(o);let l=_s(a,c,r,n,p=>l=p);a.type!==Ie&&Sn(a,l);const u=n.subTree,f=u&&vc(u);if(f&&f.type!==Ie&&!Ot(a,f)&&mc(n).type!==Ie){const p=_s(f,c,r,n);if(Sn(f,p),i==="out-in"&&a.type!==Ie)return r.isLeaving=!0,p.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete p.afterLeave},vs(o);i==="in-out"&&a.type!==Ie&&(p.delayLeave=(d,m,b)=>{const I=_c(r,f);I[String(f.key)]=f,d[xt]=()=>{m(),d[xt]=void 0,delete l.delayedLeave},l.delayedLeave=b})}return o}}};function bc(t){let e=t[0];if(t.length>1){for(const n of t)if(n.type!==Ie){e=n;break}}return e}const Cu=Au;function _c(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 _s(t,e,n,r,s){const{appear:o,mode:c,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:p,onLeave:d,onAfterLeave:m,onLeaveCancelled:b,onBeforeAppear:I,onAppear:k,onAfterAppear:w,onAppearCancelled:M}=e,R=String(t.key),$=_c(n,t),T=(H,z)=>{H&&Je(H,r,9,z)},Z=(H,z)=>{const te=z[1];T(H,z),J(H)?H.every(q=>q.length<=1)&&te():H.length<=1&&te()},ee={mode:c,persisted:i,beforeEnter(H){let z=a;if(!n.isMounted)if(o)z=I||a;else return;H[xt]&&H[xt](!0);const te=$[R];te&&Ot(t,te)&&te.el[xt]&&te.el[xt](),T(z,[H])},enter(H){let z=l,te=u,q=f;if(!n.isMounted)if(o)z=k||l,te=w||u,q=M||f;else return;let X=!1;const E=H[hr]=G=>{X||(X=!0,G?T(q,[H]):T(te,[H]),ee.delayedLeave&&ee.delayedLeave(),H[hr]=void 0)};z?Z(z,[H,E]):E()},leave(H,z){const te=String(t.key);if(H[hr]&&H[hr](!0),n.isUnmounting)return z();T(p,[H]);let q=!1;const X=H[xt]=E=>{q||(q=!0,z(),E?T(b,[H]):T(m,[H]),H[xt]=void 0,$[te]===t&&delete $[te])};$[te]=t,d?Z(d,[H,X]):X()},clone(H){const z=_s(H,e,n,r,s);return s&&s(z),z}};return ee}function vs(t){if(dr(t))return t=Et(t),t.children=null,t}function vc(t){if(!dr(t))return dc(t.type)&&t.children?bc(t.children):t;const{shapeFlag:e,children:n}=t;if(n){if(e&16)return n[0];if(e&32&&Q(n.default))return n.default()}}function Sn(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Sn(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 yc(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===Ee?(c.patchFlag&128&&s++,r=r.concat(yc(c.children,e,i))):(e||c.type!==Ie)&&r.push(i!=null?Et(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 Ke(t,e){return Q(t)?ye({name:t.name},e,{setup:t}):t}function xc(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function ys(t,e,n,r,s=!1){if(J(t)){t.forEach((m,b)=>ys(m,e&&(J(e)?e[b]:e),n,r,s));return}if(sn(r)&&!s)return;const o=r.shapeFlag&4?kr(r.component):r.el,c=s?null:o,{i,r:a}=t,l=e&&e.r,u=i.refs===pe?i.refs={}:i.refs,f=i.setupState,p=ie(f),d=f===pe?()=>!1:m=>ue(p,m);if(l!=null&&l!==a&&(me(l)?(u[l]=null,d(l)&&(f[l]=null)):xe(l)&&(l.value=null)),Q(a))en(a,i,12,[c,u]);else{const m=me(a),b=xe(a);if(m||b){const I=()=>{if(t.f){const k=m?d(a)?f[a]:u[a]:a.value;s?J(k)&&Yr(k,o):J(k)?k.includes(o)||k.push(o):m?(u[a]=[o],d(a)&&(f[a]=u[a])):(a.value=[o],t.k&&(u[t.k]=a.value))}else m?(u[a]=c,d(a)&&(f[a]=c)):b&&(a.value=c,t.k&&(u[t.k]=c))};c?(I.id=-1,Pe(I,n)):I()}}}const sn=t=>!!t.type.__asyncLoader,dr=t=>t.type.__isKeepAlive;function Su(t,e){wc(t,"a",e)}function Tu(t,e){wc(t,"da",e)}function wc(t,e,n=ke){const r=t.__wdc||(t.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return t()});if(gr(e,r,n),n){let s=n.parent;for(;s&&s.parent;)dr(s.parent.vnode)&&Du(r,e,n,s),s=s.parent}}function Du(t,e,n,r){const s=gr(e,t,r,!0);ws(()=>{Yr(r[e],s)},n)}function gr(t,e,n=ke,r=!1){if(n){const s=n[t]||(n[t]=[]),o=e.__weh||(e.__weh=(...c)=>{it();const i=Nn(n),a=Je(e,n,t,c);return i(),at(),a});return r?s.unshift(o):s.push(o),o}}const ht=t=>(e,n=ke)=>{(!Er||t==="sp")&&gr(t,(...r)=>e(...r),n)},Ru=ht("bm"),wt=ht("m"),qu=ht("bu"),Lu=ht("u"),xs=ht("bum"),ws=ht("um"),Nu=ht("sp"),Iu=ht("rtg"),Mu=ht("rtc");function Ou(t,e=ke){gr("ec",t,e)}const Fu="components",Ec=Symbol.for("v-ndc");function Bu(t){return me(t)?Pu(Fu,t,!1)||t:t||Ec}function Pu(t,e,n=!0,r=!1){const s=we||ke;if(s){const o=s.type;{const i=oi(o,!1);if(i&&(i===e||i===Ve(e)||i===Jn(Ve(e))))return o}const c=kc(s[t]||o[t],e)||kc(s.appContext[t],e);return!c&&r?o:c}}function kc(t,e){return t&&(t[e]||t[Ve(e)]||t[Jn(Ve(e))])}function mr(t,e,n,r){let s;const o=n,c=J(t);if(c||me(t)){const i=c&&Qt(t);let a=!1;i&&(a=!Ge(t),t=Qn(t)),s=new Array(t.length);for(let l=0,u=t.length;l<u;l++)s[l]=e(a?Te(t[l]):t[l],l,void 0,o)}else if(typeof t=="number"){s=new Array(t);for(let i=0;i<t;i++)s[i]=e(i+1,i,void 0,o)}else if(ge(t))if(t[Symbol.iterator])s=Array.from(t,(i,a)=>e(i,a,void 0,o));else{const i=Object.keys(t);s=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const u=i[a];s[a]=e(t[u],u,a,o)}}else s=[];return s}function It(t,e,n={},r,s){if(we.ce||we.parent&&sn(we.parent)&&we.parent.ce)return e!=="default"&&(n.name=e),j(),_e(Ee,null,[be("slot",n,r&&r())],64);let o=t[e];o&&o._c&&(o._d=!1),j();const c=o&&Ac(o(n)),i=_e(Ee,{key:(n.key||c&&c.key||`_${e}`)+(!c&&r?"_fb":"")},c||(r?r():[]),c&&t._===1?64:-2);return i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),o&&o._c&&(o._d=!0),i}function Ac(t){return t.some(e=>Ln(e)?!(e.type===Ie||e.type===Ee&&!Ac(e.children)):!0)?t:null}const Es=t=>t?ti(t)?kr(t):Es(t.parent):null,Tn=ye(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=>Es(t.parent),$root:t=>Es(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>Cs(t),$forceUpdate:t=>t.f||(t.f=()=>{bs(t.update)}),$nextTick:t=>t.n||(t.n=rn.bind(t.proxy)),$watch:t=>af.bind(t)}),ks=(t,e)=>t!==pe&&!t.__isScriptSetup&&ue(t,e),$u={get({_:t},e){if(e==="__v_skip")return!0;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(ks(r,e))return c[e]=1,r[e];if(s!==pe&&ue(s,e))return c[e]=2,s[e];if((l=t.propsOptions[0])&&ue(l,e))return c[e]=3,o[e];if(n!==pe&&ue(n,e))return c[e]=4,n[e];As&&(c[e]=0)}}const u=Tn[e];let f,p;if(u)return e==="$attrs"&&Se(t.attrs,"get",""),u(t);if((f=i.__cssModules)&&(f=f[e]))return f;if(n!==pe&&ue(n,e))return c[e]=4,n[e];if(p=a.config.globalProperties,ue(p,e))return p[e]},set({_:t},e,n){const{data:r,setupState:s,ctx:o}=t;return ks(s,e)?(s[e]=n,!0):r!==pe&&ue(r,e)?(r[e]=n,!0):ue(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!==pe&&ue(t,c)||ks(e,c)||(i=o[0])&&ue(i,c)||ue(r,c)||ue(Tn,c)||ue(s.config.globalProperties,c)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:ue(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};function Cc(t){return J(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let As=!0;function Uu(t){const e=Cs(t),n=t.proxy,r=t.ctx;As=!1,e.beforeCreate&&Sc(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:I,beforeDestroy:k,beforeUnmount:w,destroyed:M,unmounted:R,render:$,renderTracked:T,renderTriggered:Z,errorCaptured:ee,serverPrefetch:H,expose:z,inheritAttrs:te,components:q,directives:X,filters:E}=e;if(l&&zu(l,r,null),c)for(const v in c){const C=c[v];Q(C)&&(r[v]=C.bind(n))}if(s){const v=s.call(n,n);ge(v)&&(t.data=ps(v))}if(As=!0,o)for(const v in o){const C=o[v],K=Q(C)?C.bind(n,n):Q(C.get)?C.get.bind(n,n):Xe,ne=!Q(C)&&Q(C.set)?C.set.bind(n):Xe,oe=Me({get:K,set:ne});Object.defineProperty(r,v,{enumerable:!0,configurable:!0,get:()=>oe.value,set:fe=>oe.value=fe})}if(i)for(const v in i)Tc(i[v],r,n,v);if(a){const v=Q(a)?a.call(n):a;Reflect.ownKeys(v).forEach(C=>{Zu(C,v[C])})}u&&Sc(u,t,"c");function F(v,C){J(C)?C.forEach(K=>v(K.bind(n))):C&&v(C.bind(n))}if(F(Ru,f),F(wt,p),F(qu,d),F(Lu,m),F(Su,b),F(Tu,I),F(Ou,ee),F(Mu,T),F(Iu,Z),F(xs,w),F(ws,R),F(Nu,H),J(z))if(z.length){const v=t.exposed||(t.exposed={});z.forEach(C=>{Object.defineProperty(v,C,{get:()=>n[C],set:K=>n[C]=K})})}else t.exposed||(t.exposed={});$&&t.render===Xe&&(t.render=$),te!=null&&(t.inheritAttrs=te),q&&(t.components=q),X&&(t.directives=X),H&&xc(t)}function zu(t,e,n=Xe){J(t)&&(t=Ss(t));for(const r in t){const s=t[r];let o;ge(s)?"default"in s?o=cn(s.from||r,s.default,!0):o=cn(s.from||r):o=cn(s),xe(o)?Object.defineProperty(e,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:c=>o.value=c}):e[r]=o}}function Sc(t,e,n){Je(J(t)?t.map(r=>r.bind(e.proxy)):t.bind(e.proxy),e,n)}function Tc(t,e,n,r){let s=r.includes(".")?jc(n,r):()=>n[r];if(me(t)){const o=e[t];Q(o)&&_r(s,o)}else if(Q(t))_r(s,t.bind(n));else if(ge(t))if(J(t))t.forEach(o=>Tc(o,e,n,r));else{const o=Q(t.handler)?t.handler.bind(n):e[t.handler];Q(o)&&_r(s,o,t)}}function Cs(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=>br(a,l,c,!0)),br(a,e,c)),ge(e)&&o.set(e,a),a}function br(t,e,n,r=!1){const{mixins:s,extends:o}=e;o&&br(t,o,n,!0),s&&s.forEach(c=>br(t,c,n,!0));for(const c in e)if(!(r&&c==="expose")){const i=Hu[c]||n&&n[c];t[c]=i?i(t[c],e[c]):e[c]}return t}const Hu={data:Dc,props:Rc,emits:Rc,methods:Dn,computed:Dn,beforeCreate:Ne,created:Ne,beforeMount:Ne,mounted:Ne,beforeUpdate:Ne,updated:Ne,beforeDestroy:Ne,beforeUnmount:Ne,destroyed:Ne,unmounted:Ne,activated:Ne,deactivated:Ne,errorCaptured:Ne,serverPrefetch:Ne,components:Dn,directives:Dn,watch:Gu,provide:Dc,inject:Vu};function Dc(t,e){return e?t?function(){return ye(Q(t)?t.call(this,this):t,Q(e)?e.call(this,this):e)}:e:t}function Vu(t,e){return Dn(Ss(t),Ss(e))}function Ss(t){if(J(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Ne(t,e){return t?[...new Set([].concat(t,e))]:e}function Dn(t,e){return t?ye(Object.create(null),t,e):e}function Rc(t,e){return t?J(t)&&J(e)?[...new Set([...t,...e])]:ye(Object.create(null),Cc(t),Cc(e??{})):e}function Gu(t,e){if(!t)return e;if(!e)return t;const n=ye(Object.create(null),t);for(const r in e)n[r]=Ne(t[r],e[r]);return n}function qc(){return{app:null,config:{isNativeTag:El,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 ju=0;function Ku(t,e){return function(r,s=null){Q(r)||(r=ye({},r)),s!=null&&!ge(s)&&(s=null);const o=qc(),c=new WeakSet,i=[];let a=!1;const l=o.app={_uid:ju++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Df,get config(){return o.config},set config(u){},use(u,...f){return c.has(u)||(u&&Q(u.install)?(c.add(u),u.install(l,...f)):Q(u)&&(c.add(u),u(l,...f))),l},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),l},component(u,f){return f?(o.components[u]=f,l):o.components[u]},directive(u,f){return f?(o.directives[u]=f,l):o.directives[u]},mount(u,f,p){if(!a){const d=l._ceVNode||be(r,s);return d.appContext=o,p===!0?p="svg":p===!1&&(p=void 0),f&&e?e(d,u):t(d,u,p),a=!0,l._container=u,u.__vue_app__=l,kr(d.component)}},onUnmount(u){i.push(u)},unmount(){a&&(Je(i,l._instance,16),t(null,l._container),delete l._container.__vue_app__)},provide(u,f){return o.provides[u]=f,l},runWithContext(u){const f=on;on=l;try{return u()}finally{on=f}}};return l}}let on=null;function Zu(t,e){if(ke){let n=ke.provides;const r=ke.parent&&ke.parent.provides;r===n&&(n=ke.provides=Object.create(r)),n[t]=e}}function cn(t,e,n=!1){const r=ke||we;if(r||on){const s=on?on._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&t in s)return s[t];if(arguments.length>1)return n&&Q(e)?e.call(r&&r.proxy):e}}const Lc={},Nc=()=>Object.create(Lc),Ic=t=>Object.getPrototypeOf(t)===Lc;function Wu(t,e,n,r=!1){const s={},o=Nc();t.propsDefaults=Object.create(null),Mc(t,e,s,o);for(const c in t.propsOptions[0])c in s||(s[c]=void 0);n?t.props=r?s:su(s):t.type.props?t.props=s:t.props=o,t.attrs=o}function Ju(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(vr(t.emitsOptions,p))continue;const d=e[p];if(a)if(ue(o,p))d!==o[p]&&(o[p]=d,l=!0);else{const m=Ve(p);s[m]=Ts(a,i,m,d,t,!1)}else d!==o[p]&&(o[p]=d,l=!0)}}}else{Mc(t,e,s,o)&&(l=!0);let u;for(const f in i)(!e||!ue(e,f)&&((u=bt(f))===f||!ue(e,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(s[f]=Ts(a,i,f,void 0,t,!0)):delete s[f]);if(o!==i)for(const f in o)(!e||!ue(e,f))&&(delete o[f],l=!0)}l&&lt(t.attrs,"set","")}function Mc(t,e,n,r){const[s,o]=t.propsOptions;let c=!1,i;if(e)for(let a in e){if(_n(a))continue;const l=e[a];let u;s&&ue(s,u=Ve(a))?!o||!o.includes(u)?n[u]=l:(i||(i={}))[u]=l:vr(t.emitsOptions,a)||(!(a in r)||l!==r[a])&&(r[a]=l,c=!0)}if(o){const a=ie(n),l=i||pe;for(let u=0;u<o.length;u++){const f=o[u];n[f]=Ts(s,a,f,l[f],t,!ue(l,f))}}return c}function Ts(t,e,n,r,s,o){const c=t[n];if(c!=null){const i=ue(c,"default");if(i&&r===void 0){const a=c.default;if(c.type!==Function&&!c.skipFactory&&Q(a)){const{propsDefaults:l}=s;if(n in l)r=l[n];else{const u=Nn(s);r=l[n]=a.call(null,e),u()}}else r=a;s.ce&&s.ce._setProp(n,r)}c[0]&&(o&&!i?r=!1:c[1]&&(r===""||r===bt(n))&&(r=!0))}return r}const Yu=new WeakMap;function Oc(t,e,n=!1){const r=n?Yu:e.propsCache,s=r.get(t);if(s)return s;const o=t.props,c={},i=[];let a=!1;if(!Q(t)){const u=f=>{a=!0;const[p,d]=Oc(f,e,!0);ye(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 ge(t)&&r.set(t,Zt),Zt;if(J(o))for(let u=0;u<o.length;u++){const f=Ve(o[u]);Fc(f)&&(c[f]=pe)}else if(o)for(const u in o){const f=Ve(u);if(Fc(f)){const p=o[u],d=c[f]=J(p)||Q(p)?{type:p}:ye({},p),m=d.type;let b=!1,I=!0;if(J(m))for(let k=0;k<m.length;++k){const w=m[k],M=Q(w)&&w.name;if(M==="Boolean"){b=!0;break}else M==="String"&&(I=!1)}else b=Q(m)&&m.name==="Boolean";d[0]=b,d[1]=I,(b||ue(d,"default"))&&i.push(f)}}const l=[c,i];return ge(t)&&r.set(t,l),l}function Fc(t){return t[0]!=="$"&&!_n(t)}const Bc=t=>t[0]==="_"||t==="$stable",Ds=t=>J(t)?t.map(et):[et(t)],Xu=(t,e,n)=>{if(e._n)return e;const r=pt((...s)=>Ds(e(...s)),n);return r._c=!1,r},Pc=(t,e,n)=>{const r=t._ctx;for(const s in t){if(Bc(s))continue;const o=t[s];if(Q(o))e[s]=Xu(s,o,r);else if(o!=null){const c=Ds(o);e[s]=()=>c}}},$c=(t,e)=>{const n=Ds(e);t.slots.default=()=>n},Uc=(t,e,n)=>{for(const r in e)(n||r!=="_")&&(t[r]=e[r])},Qu=(t,e,n)=>{const r=t.slots=Nc();if(t.vnode.shapeFlag&32){const s=e._;s?(Uc(r,e,n),n&&Do(r,"_",s,!0)):Pc(e,r)}else e&&$c(t,e)},ef=(t,e,n)=>{const{vnode:r,slots:s}=t;let o=!0,c=pe;if(r.shapeFlag&32){const i=e._;i?n&&i===1?o=!1:Uc(s,e,n):(o=!e.$stable,Pc(e,s)),c=e}else e&&($c(t,e),c={default:1});if(o)for(const i in s)!Bc(i)&&c[i]==null&&delete s[i]},Pe=gf;function tf(t){return nf(t)}function nf(t,e){const n=qo();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=Xe,insertStaticContent:m}=t,b=(h,g,_,S=null,D=null,L=null,x=void 0,B=null,N=!!g.dynamicChildren)=>{if(h===g)return;h&&!Ot(h,g)&&(S=Vt(h),fe(h,D,L,!0),h=null),g.patchFlag===-2&&(N=!1,g.dynamicChildren=null);const{type:y,ref:W,shapeFlag:P}=g;switch(y){case yr:I(h,g,_,S);break;case Ie:k(h,g,_,S);break;case Ls:h==null&&w(g,_,S,x);break;case Ee:q(h,g,_,S,D,L,x,B,N);break;default:P&1?$(h,g,_,S,D,L,x,B,N):P&6?X(h,g,_,S,D,L,x,B,N):(P&64||P&128)&&y.process(h,g,_,S,D,L,x,B,N,Gt)}W!=null&&D&&ys(W,h&&h.ref,L,g||h,!g)},I=(h,g,_,S)=>{if(h==null)r(g.el=i(g.children),_,S);else{const D=g.el=h.el;g.children!==h.children&&l(D,g.children)}},k=(h,g,_,S)=>{h==null?r(g.el=a(g.children||""),_,S):g.el=h.el},w=(h,g,_,S)=>{[h.el,h.anchor]=m(h.children,g,_,S,h.el,h.anchor)},M=({el:h,anchor:g},_,S)=>{let D;for(;h&&h!==g;)D=p(h),r(h,_,S),h=D;r(g,_,S)},R=({el:h,anchor:g})=>{let _;for(;h&&h!==g;)_=p(h),s(h),h=_;s(g)},$=(h,g,_,S,D,L,x,B,N)=>{g.type==="svg"?x="svg":g.type==="math"&&(x="mathml"),h==null?T(g,_,S,D,L,x,B,N):H(h,g,D,L,x,B,N)},T=(h,g,_,S,D,L,x,B)=>{let N,y;const{props:W,shapeFlag:P,transition:V,dirs:Y}=h;if(N=h.el=c(h.type,L,W&&W.is,W),P&8?u(N,h.children):P&16&&ee(h.children,N,null,S,D,Rs(h,L),x,B),Y&&Nt(h,null,S,"created"),Z(N,h,h.scopeId,x,S),W){for(const O in W)O!=="value"&&!_n(O)&&o(N,O,null,W[O],L,S);"value"in W&&o(N,"value",null,W.value,L),(y=W.onVnodeBeforeMount)&&tt(y,S,h)}Y&&Nt(h,null,S,"beforeMount");const A=rf(D,V);A&&V.beforeEnter(N),r(N,g,_),((y=W&&W.onVnodeMounted)||A||Y)&&Pe(()=>{y&&tt(y,S,h),A&&V.enter(N),Y&&Nt(h,null,S,"mounted")},D)},Z=(h,g,_,S,D)=>{if(_&&d(h,_),S)for(let L=0;L<S.length;L++)d(h,S[L]);if(D){let L=D.subTree;if(g===L||Wc(L.type)&&(L.ssContent===g||L.ssFallback===g)){const x=D.vnode;Z(h,x,x.scopeId,x.slotScopeIds,D.parent)}}},ee=(h,g,_,S,D,L,x,B,N=0)=>{for(let y=N;y<h.length;y++){const W=h[y]=B?kt(h[y]):et(h[y]);b(null,W,g,_,S,D,L,x,B)}},H=(h,g,_,S,D,L,x)=>{const B=g.el=h.el;let{patchFlag:N,dynamicChildren:y,dirs:W}=g;N|=h.patchFlag&16;const P=h.props||pe,V=g.props||pe;let Y;if(_&&Mt(_,!1),(Y=V.onVnodeBeforeUpdate)&&tt(Y,_,g,h),W&&Nt(g,h,_,"beforeUpdate"),_&&Mt(_,!0),(P.innerHTML&&V.innerHTML==null||P.textContent&&V.textContent==null)&&u(B,""),y?z(h.dynamicChildren,y,B,_,S,Rs(g,D),L):x||C(h,g,B,null,_,S,Rs(g,D),L,!1),N>0){if(N&16)te(B,P,V,_,D);else if(N&2&&P.class!==V.class&&o(B,"class",null,V.class,D),N&4&&o(B,"style",P.style,V.style,D),N&8){const A=g.dynamicProps;for(let O=0;O<A.length;O++){const U=A[O],re=P[U],ae=V[U];(ae!==re||U==="value")&&o(B,U,re,ae,D,_)}}N&1&&h.children!==g.children&&u(B,g.children)}else!x&&y==null&&te(B,P,V,_,D);((Y=V.onVnodeUpdated)||W)&&Pe(()=>{Y&&tt(Y,_,g,h),W&&Nt(g,h,_,"updated")},S)},z=(h,g,_,S,D,L,x)=>{for(let B=0;B<g.length;B++){const N=h[B],y=g[B],W=N.el&&(N.type===Ee||!Ot(N,y)||N.shapeFlag&70)?f(N.el):_;b(N,y,W,null,S,D,L,x,!0)}},te=(h,g,_,S,D)=>{if(g!==_){if(g!==pe)for(const L in g)!_n(L)&&!(L in _)&&o(h,L,g[L],null,D,S);for(const L in _){if(_n(L))continue;const x=_[L],B=g[L];x!==B&&L!=="value"&&o(h,L,B,x,D,S)}"value"in _&&o(h,"value",g.value,_.value,D)}},q=(h,g,_,S,D,L,x,B,N)=>{const y=g.el=h?h.el:i(""),W=g.anchor=h?h.anchor:i("");let{patchFlag:P,dynamicChildren:V,slotScopeIds:Y}=g;Y&&(B=B?B.concat(Y):Y),h==null?(r(y,_,S),r(W,_,S),ee(g.children||[],_,W,D,L,x,B,N)):P>0&&P&64&&V&&h.dynamicChildren?(z(h.dynamicChildren,V,_,D,L,x,B),(g.key!=null||D&&g===D.subTree)&&zc(h,g,!0)):C(h,g,_,W,D,L,x,B,N)},X=(h,g,_,S,D,L,x,B,N)=>{g.slotScopeIds=B,h==null?g.shapeFlag&512?D.ctx.activate(g,_,S,x,N):E(g,_,S,D,L,x,N):G(h,g,N)},E=(h,g,_,S,D,L,x)=>{const B=h.component=yf(h,S,D);if(dr(h)&&(B.ctx.renderer=Gt),wf(B,!1,x),B.asyncDep){if(D&&D.registerDep(B,F,x),!h.el){const N=B.subTree=be(Ie);k(null,N,g,_)}}else F(B,h,g,_,D,L,x)},G=(h,g,_)=>{const S=g.component=h.component;if(hf(h,g,_))if(S.asyncDep&&!S.asyncResolved){v(S,g,_);return}else S.next=g,S.update();else g.el=h.el,S.vnode=g},F=(h,g,_,S,D,L,x)=>{const B=()=>{if(h.isMounted){let{next:P,bu:V,u:Y,parent:A,vnode:O}=h;{const Fe=Hc(h);if(Fe){P&&(P.el=O.el,v(h,P,x)),Fe.asyncDep.then(()=>{h.isUnmounted||B()});return}}let U=P,re;Mt(h,!1),P?(P.el=O.el,v(h,P,x)):P=O,V&&Yn(V),(re=P.props&&P.props.onVnodeBeforeUpdate)&&tt(re,A,P,O),Mt(h,!0);const ae=qs(h),ve=h.subTree;h.subTree=ae,b(ve,ae,f(ve.el),Vt(ve),h,D,L),P.el=ae.el,U===null&&df(h,ae.el),Y&&Pe(Y,D),(re=P.props&&P.props.onVnodeUpdated)&&Pe(()=>tt(re,A,P,O),D)}else{let P;const{el:V,props:Y}=g,{bm:A,m:O,parent:U,root:re,type:ae}=h,ve=sn(g);if(Mt(h,!1),A&&Yn(A),!ve&&(P=Y&&Y.onVnodeBeforeMount)&&tt(P,U,g),Mt(h,!0),V&&Wr){const Fe=()=>{h.subTree=qs(h),Wr(V,h.subTree,h,D,null)};ve&&ae.__asyncHydrate?ae.__asyncHydrate(V,h,Fe):Fe()}else{re.ce&&re.ce._injectChildStyle(ae);const Fe=h.subTree=qs(h);b(null,Fe,_,S,h,D,L),g.el=Fe.el}if(O&&Pe(O,D),!ve&&(P=Y&&Y.onVnodeMounted)){const Fe=g;Pe(()=>tt(P,U,Fe),D)}(g.shapeFlag&256||U&&sn(U.vnode)&&U.vnode.shapeFlag&256)&&h.a&&Pe(h.a,D),h.isMounted=!0,g=_=S=null}};h.scope.on();const N=h.effect=new Fo(B);h.scope.off();const y=h.update=N.run.bind(N),W=h.job=N.runIfDirty.bind(N);W.i=h,W.id=h.uid,N.scheduler=()=>bs(W),Mt(h,!0),y()},v=(h,g,_)=>{g.component=h;const S=h.vnode.props;h.vnode=g,h.next=null,Ju(h,g.props,S,_),ef(h,g.children,_),it(),lc(h),at()},C=(h,g,_,S,D,L,x,B,N=!1)=>{const y=h&&h.children,W=h?h.shapeFlag:0,P=g.children,{patchFlag:V,shapeFlag:Y}=g;if(V>0){if(V&128){ne(y,P,_,S,D,L,x,B,N);return}else if(V&256){K(y,P,_,S,D,L,x,B,N);return}}Y&8?(W&16&&De(y,D,L),P!==y&&u(_,P)):W&16?Y&16?ne(y,P,_,S,D,L,x,B,N):De(y,D,L,!0):(W&8&&u(_,""),Y&16&&ee(P,_,S,D,L,x,B,N))},K=(h,g,_,S,D,L,x,B,N)=>{h=h||Zt,g=g||Zt;const y=h.length,W=g.length,P=Math.min(y,W);let V;for(V=0;V<P;V++){const Y=g[V]=N?kt(g[V]):et(g[V]);b(h[V],Y,_,null,D,L,x,B,N)}y>W?De(h,D,L,!0,!1,P):ee(g,_,S,D,L,x,B,N,P)},ne=(h,g,_,S,D,L,x,B,N)=>{let y=0;const W=g.length;let P=h.length-1,V=W-1;for(;y<=P&&y<=V;){const Y=h[y],A=g[y]=N?kt(g[y]):et(g[y]);if(Ot(Y,A))b(Y,A,_,null,D,L,x,B,N);else break;y++}for(;y<=P&&y<=V;){const Y=h[P],A=g[V]=N?kt(g[V]):et(g[V]);if(Ot(Y,A))b(Y,A,_,null,D,L,x,B,N);else break;P--,V--}if(y>P){if(y<=V){const Y=V+1,A=Y<W?g[Y].el:S;for(;y<=V;)b(null,g[y]=N?kt(g[y]):et(g[y]),_,A,D,L,x,B,N),y++}}else if(y>V)for(;y<=P;)fe(h[y],D,L,!0),y++;else{const Y=y,A=y,O=new Map;for(y=A;y<=V;y++){const He=g[y]=N?kt(g[y]):et(g[y]);He.key!=null&&O.set(He.key,y)}let U,re=0;const ae=V-A+1;let ve=!1,Fe=0;const jt=new Array(ae);for(y=0;y<ae;y++)jt[y]=0;for(y=Y;y<=P;y++){const He=h[y];if(re>=ae){fe(He,D,L,!0);continue}let ct;if(He.key!=null)ct=O.get(He.key);else for(U=A;U<=V;U++)if(jt[U-A]===0&&Ot(He,g[U])){ct=U;break}ct===void 0?fe(He,D,L,!0):(jt[ct-A]=y+1,ct>=Fe?Fe=ct:ve=!0,b(He,g[ct],_,null,D,L,x,B,N),re++)}const xl=ve?sf(jt):Zt;for(U=xl.length-1,y=ae-1;y>=0;y--){const He=A+y,ct=g[He],wl=He+1<W?g[He+1].el:S;jt[y]===0?b(null,ct,_,wl,D,L,x,B,N):ve&&(U<0||y!==xl[U]?oe(ct,_,wl,2):U--)}}},oe=(h,g,_,S,D=null)=>{const{el:L,type:x,transition:B,children:N,shapeFlag:y}=h;if(y&6){oe(h.component.subTree,g,_,S);return}if(y&128){h.suspense.move(g,_,S);return}if(y&64){x.move(h,g,_,Gt);return}if(x===Ee){r(L,g,_);for(let P=0;P<N.length;P++)oe(N[P],g,_,S);r(h.anchor,g,_);return}if(x===Ls){M(h,g,_);return}if(S!==2&&y&1&&B)if(S===0)B.beforeEnter(L),r(L,g,_),Pe(()=>B.enter(L),D);else{const{leave:P,delayLeave:V,afterLeave:Y}=B,A=()=>r(L,g,_),O=()=>{P(L,()=>{A(),Y&&Y()})};V?V(L,A,O):O()}else r(L,g,_)},fe=(h,g,_,S=!1,D=!1)=>{const{type:L,props:x,ref:B,children:N,dynamicChildren:y,shapeFlag:W,patchFlag:P,dirs:V,cacheIndex:Y}=h;if(P===-2&&(D=!1),B!=null&&ys(B,null,_,h,!0),Y!=null&&(g.renderCache[Y]=void 0),W&256){g.ctx.deactivate(h);return}const A=W&1&&V,O=!sn(h);let U;if(O&&(U=x&&x.onVnodeBeforeUnmount)&&tt(U,g,h),W&6)Oe(h.component,_,S);else{if(W&128){h.suspense.unmount(_,S);return}A&&Nt(h,null,g,"beforeUnmount"),W&64?h.type.remove(h,g,_,Gt,S):y&&!y.hasOnce&&(L!==Ee||P>0&&P&64)?De(y,g,_,!1,!0):(L===Ee&&P&384||!D&&W&16)&&De(N,g,_),S&&Ce(h)}(O&&(U=x&&x.onVnodeUnmounted)||A)&&Pe(()=>{U&&tt(U,g,h),A&&Nt(h,null,g,"unmounted")},_)},Ce=h=>{const{type:g,el:_,anchor:S,transition:D}=h;if(g===Ee){mn(_,S);return}if(g===Ls){R(h);return}const L=()=>{s(_),D&&!D.persisted&&D.afterLeave&&D.afterLeave()};if(h.shapeFlag&1&&D&&!D.persisted){const{leave:x,delayLeave:B}=D,N=()=>x(_,L);B?B(h.el,L,N):N()}else L()},mn=(h,g)=>{let _;for(;h!==g;)_=p(h),s(h),h=_;s(g)},Oe=(h,g,_)=>{const{bum:S,scope:D,job:L,subTree:x,um:B,m:N,a:y}=h;Vc(N),Vc(y),S&&Yn(S),D.stop(),L&&(L.flags|=8,fe(x,h,g,_)),B&&Pe(B,g),Pe(()=>{h.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&h.asyncDep&&!h.asyncResolved&&h.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},De=(h,g,_,S=!1,D=!1,L=0)=>{for(let x=L;x<h.length;x++)fe(h[x],g,_,S,D)},Vt=h=>{if(h.shapeFlag&6)return Vt(h.component.subTree);if(h.shapeFlag&128)return h.suspense.next();const g=p(h.anchor||h.el),_=g&&g[Eu];return _?p(_):g};let bn=!1;const jn=(h,g,_)=>{h==null?g._vnode&&fe(g._vnode,null,null,!0):b(g._vnode||null,h,g,null,null,null,_),g._vnode=h,bn||(bn=!0,lc(),uc(),bn=!1)},Gt={p:b,um:fe,m:oe,r:Ce,mt:E,mc:ee,pc:C,pbc:z,n:Vt,o:t};let Zr,Wr;return{render:jn,hydrate:Zr,createApp:Ku(jn,Zr)}}function Rs({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 Mt({effect:t,job:e},n){n?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function rf(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function zc(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]=kt(s[o]),i.el=c.el),!n&&i.patchFlag!==-2&&zc(c,i)),i.type===yr&&(i.el=c.el)}}function sf(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 Hc(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Hc(e)}function Vc(t){if(t)for(let e=0;e<t.length;e++)t[e].flags|=8}const of=Symbol.for("v-scx"),cf=()=>cn(of);function _r(t,e,n){return Gc(t,e,n)}function Gc(t,e,n=pe){const{immediate:r,deep:s,flush:o,once:c}=n,i=ye({},n);let a;if(Er)if(o==="sync"){const p=cf();a=p.__watcherHandles||(p.__watcherHandles=[])}else if(!e||r)i.once=!0;else{const p=()=>{};return p.stop=Xe,p.resume=Xe,p.pause=Xe,p}const l=ke;i.call=(p,d,m)=>Je(p,l,d,m);let u=!1;o==="post"?i.scheduler=p=>{Pe(p,l&&l.suspense)}:o!=="sync"&&(u=!0,i.scheduler=(p,d)=>{d?p():bs(p)}),i.augmentJob=p=>{e&&(p.flags|=4),u&&(p.flags|=2,l&&(p.id=l.uid,p.i=l))};const f=gu(t,e,i);return a&&a.push(f),f}function af(t,e,n){const r=this.proxy,s=me(t)?t.includes(".")?jc(r,t):()=>r[t]:t.bind(r,r);let o;Q(e)?o=e:(o=e.handler,n=e);const c=Nn(this),i=Gc(s,o.bind(r),n);return c(),i}function jc(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}}const lf=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Ve(e)}Modifiers`]||t[`${bt(e)}Modifiers`];function uf(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||pe;let s=n;const o=e.startsWith("update:"),c=o&&lf(r,e.slice(7));c&&(c.trim&&(s=n.map(u=>me(u)?u.trim():u)),c.number&&(s=n.map(es)));let i,a=r[i=Qr(e)]||r[i=Qr(Ve(e))];!a&&o&&(a=r[i=Qr(bt(e))]),a&&Je(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,Je(l,t,6,s)}}function Kc(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(!Q(t)){const a=l=>{const u=Kc(l,e,!0);u&&(i=!0,ye(c,u))};!n&&e.mixins.length&&e.mixins.forEach(a),t.extends&&a(t.extends),t.mixins&&t.mixins.forEach(a)}return!o&&!i?(ge(t)&&r.set(t,null),null):(J(o)?o.forEach(a=>c[a]=null):ye(c,o),ge(t)&&r.set(t,c),c)}function vr(t,e){return!t||!Kn(e)?!1:(e=e.slice(2).replace(/Once$/,""),ue(t,e[0].toLowerCase()+e.slice(1))||ue(t,bt(e))||ue(t,e))}function Gb(){}function qs(t){const{type:e,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:c,attrs:i,emit:a,render:l,renderCache:u,props:f,data:p,setupState:d,ctx:m,inheritAttrs:b}=t,I=pr(t);let k,w;try{if(n.shapeFlag&4){const R=s||r,$=R;k=et(l.call($,R,u,f,d,p,m)),w=i}else{const R=e;k=et(R.length>1?R(f,{attrs:i,slots:c,emit:a}):R(f,null)),w=e.props?i:ff(i)}}catch(R){Rn.length=0,ur(R,t,1),k=be(Ie)}let M=k;if(w&&b!==!1){const R=Object.keys(w),{shapeFlag:$}=M;R.length&&$&7&&(o&&R.some(Jr)&&(w=pf(w,o)),M=Et(M,w,!1,!0))}return n.dirs&&(M=Et(M,null,!1,!0),M.dirs=M.dirs?M.dirs.concat(n.dirs):n.dirs),n.transition&&Sn(M,n.transition),k=M,pr(I),k}const ff=t=>{let e;for(const n in t)(n==="class"||n==="style"||Kn(n))&&((e||(e={}))[n]=t[n]);return e},pf=(t,e)=>{const n={};for(const r in t)(!Jr(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function hf(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?Zc(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]&&!vr(l,p))return!0}}}else return(s||i)&&(!i||!i.$stable)?!0:r===c?!1:r?c?Zc(r,c,l):!0:!!c;return!1}function Zc(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]&&!vr(n,o))return!0}return!1}function df({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 Wc=t=>t.__isSuspense;function gf(t,e){e&&e.pendingBranch?J(t)?e.effects.push(...t):e.effects.push(t):wu(t)}const Ee=Symbol.for("v-fgt"),yr=Symbol.for("v-txt"),Ie=Symbol.for("v-cmt"),Ls=Symbol.for("v-stc"),Rn=[];let $e=null;function j(t=!1){Rn.push($e=t?null:[])}function mf(){Rn.pop(),$e=Rn[Rn.length-1]||null}let qn=1;function Jc(t){qn+=t,t<0&&$e&&($e.hasOnce=!0)}function Yc(t){return t.dynamicChildren=qn>0?$e||Zt:null,mf(),qn>0&&$e&&$e.push(t),t}function ce(t,e,n,r,s,o){return Yc(he(t,e,n,r,s,o,!0))}function _e(t,e,n,r,s){return Yc(be(t,e,n,r,s,!0))}function Ln(t){return t?t.__v_isVNode===!0:!1}function Ot(t,e){return t.type===e.type&&t.key===e.key}const Xc=({key:t})=>t??null,xr=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?me(t)||xe(t)||Q(t)?{i:we,r:t,k:e,f:!!n}:t:null);function he(t,e=null,n=null,r=0,s=null,o=t===Ee?0:1,c=!1,i=!1){const a={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Xc(e),ref:e&&xr(e),scopeId:pc,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:we};return i?(Is(a,n),o&128&&t.normalize(a)):n&&(a.shapeFlag|=me(n)?8:16),qn>0&&!c&&$e&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&$e.push(a),a}const be=bf;function bf(t,e=null,n=null,r=0,s=null,o=!1){if((!t||t===Ec)&&(t=Ie),Ln(t)){const i=Et(t,e,!0);return n&&Is(i,n),qn>0&&!o&&$e&&(i.shapeFlag&6?$e[$e.indexOf(t)]=i:$e.push(i)),i.patchFlag=-2,i}if(Tf(t)&&(t=t.__vccOpts),e){e=Qc(e);let{class:i,style:a}=e;i&&!me(i)&&(e.class=Jt(i)),ge(a)&&(ds(a)&&!J(a)&&(a=ye({},a)),e.style=vn(a))}const c=me(t)?1:Wc(t)?128:dc(t)?64:ge(t)?4:Q(t)?2:0;return he(t,e,n,r,s,c,o,!0)}function Qc(t){return t?ds(t)||Ic(t)?ye({},t):t:null}function Et(t,e,n=!1,r=!1){const{props:s,ref:o,patchFlag:c,children:i,transition:a}=t,l=e?Ms(s||{},e):s,u={__v_isVNode:!0,__v_skip:!0,type:t.type,props:l,key:l&&Xc(l),ref:e&&e.ref?n&&o?J(o)?o.concat(xr(e)):[o,xr(e)]:xr(e):o,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:i,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==Ee?c===-1?16:c|16:c,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:a,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Et(t.ssContent),ssFallback:t.ssFallback&&Et(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return a&&r&&Sn(u,a.clone(u)),u}function Ns(t=" ",e=0){return be(yr,null,t,e)}function Ue(t="",e=!1){return e?(j(),_e(Ie,null,t)):be(Ie,null,t)}function et(t){return t==null||typeof t=="boolean"?be(Ie):J(t)?be(Ee,null,t.slice()):Ln(t)?kt(t):be(yr,null,String(t))}function kt(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Et(t)}function Is(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),Is(t,s()),s._c&&(s._d=!0));return}else{n=32;const s=e._;!s&&!Ic(e)?e._ctx=we:s===3&&we&&(we.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Q(e)?(e={default:e,_ctx:we},n=32):(e=String(e),r&64?(n=16,e=[Ns(e)]):n=8);t.children=e,t.shapeFlag|=n}function Ms(...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=vn([e.style,r.style]);else if(Kn(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 tt(t,e,n,r=null){Je(t,e,7,[n,r])}const _f=qc();let vf=0;function yf(t,e,n){const r=t.type,s=(e?e.appContext:t.appContext)||_f,o={uid:vf++,vnode:t,type:r,parent:e,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Il(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:e?e.provides:Object.create(s.provides),ids:e?e.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Oc(r,s),emitsOptions:Kc(r,s),emit:null,emitted:null,propsDefaults:pe,inheritAttrs:r.inheritAttrs,ctx:pe,data:pe,props:pe,attrs:pe,slots:pe,refs:pe,setupState:pe,setupContext: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=uf.bind(null,o),t.ce&&t.ce(o),o}let ke=null;const xf=()=>ke||we;let wr,Os;{const t=qo(),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)}};wr=e("__VUE_INSTANCE_SETTERS__",n=>ke=n),Os=e("__VUE_SSR_SETTERS__",n=>Er=n)}const Nn=t=>{const e=ke;return wr(t),t.scope.on(),()=>{t.scope.off(),wr(e)}},ei=()=>{ke&&ke.scope.off(),wr(null)};function ti(t){return t.vnode.shapeFlag&4}let Er=!1;function wf(t,e=!1,n=!1){e&&Os(e);const{props:r,children:s}=t.vnode,o=ti(t);Wu(t,r,o,e),Qu(t,s,n);const c=o?Ef(t,e):void 0;return e&&Os(!1),c}function Ef(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,$u);const{setup:r}=n;if(r){const s=t.setupContext=r.length>1?Af(t):null,o=Nn(t);it();const c=en(r,t,0,[t.props,s]);if(at(),o(),Co(c)){if(sn(t)||xc(t),c.then(ei,ei),e)return c.then(i=>{ni(t,i,e)}).catch(i=>{ur(i,t,0)});t.asyncDep=c}else ni(t,c,e)}else si(t,e)}function ni(t,e,n){Q(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:ge(e)&&(t.setupState=oc(e)),si(t,n)}let ri;function si(t,e,n){const r=t.type;if(!t.render){if(!e&&ri&&!r.render){const s=r.template||Cs(t).template;if(s){const{isCustomElement:o,compilerOptions:c}=t.appContext.config,{delimiters:i,compilerOptions:a}=r,l=ye(ye({isCustomElement:o,delimiters:i},c),a);r.render=ri(s,l)}}t.render=r.render||Xe}{const s=Nn(t);it();try{Uu(t)}finally{at(),s()}}}const kf={get(t,e){return Se(t,"get",""),t[e]}};function Af(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,kf),slots:t.slots,emit:t.emit,expose:e}}function kr(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(oc(ou(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in Tn)return Tn[n](t)},has(e,n){return n in e||n in Tn}})):t.proxy}const Cf=/(?:^|[-_])(\w)/g,Sf=t=>t.replace(Cf,e=>e.toUpperCase()).replace(/[-_]/g,"");function oi(t,e=!0){return Q(t)?t.displayName||t.name:t.name||e&&t.__name}function ci(t,e,n=!1){let r=oi(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?Sf(r):n?"App":"Anonymous"}function Tf(t){return Q(t)&&"__vccOpts"in t}const Me=(t,e)=>hu(t,e,Er);function ii(t,e,n){const r=arguments.length;return r===2?ge(e)&&!J(e)?Ln(e)?be(t,null,[e]):be(t,e):be(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Ln(n)&&(n=[n]),be(t,e,n))}const Df="3.5.11";/**
17
+ * @vue/runtime-dom v3.5.11
18
18
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
19
19
  * @license MIT
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,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}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={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};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+`
20
+ **/let Fs;const ai=typeof window<"u"&&window.trustedTypes;if(ai)try{Fs=ai.createPolicy("vue",{createHTML:t=>t})}catch{}const li=Fs?t=>Fs.createHTML(t):t=>t,Rf="http://www.w3.org/2000/svg",qf="http://www.w3.org/1998/Math/MathML",dt=typeof document<"u"?document:null,ui=dt&&dt.createElement("template"),Lf={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"?dt.createElementNS(Rf,t):e==="mathml"?dt.createElementNS(qf,t):n?dt.createElement(t,{is:n}):dt.createElement(t);return t==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:t=>dt.createTextNode(t),createComment:t=>dt.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>dt.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{ui.innerHTML=li(r==="svg"?`<svg>${t}</svg>`:r==="mathml"?`<math>${t}</math>`:t);const i=ui.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]}},At="transition",In="animation",Mn=Symbol("_vtc"),fi={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},Nf=ye({},gc,fi),pi=(t=>(t.displayName="Transition",t.props=Nf,t))((t,{slots:e})=>ii(Cu,If(t),e)),Ft=(t,e=[])=>{J(t)?t.forEach(n=>n(...e)):t&&t(...e)},hi=t=>t?J(t)?t.some(e=>e.length>1):t.length>1:!1;function If(t){const e={};for(const q in t)q in fi||(e[q]=t[q]);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=Mf(s),b=m&&m[0],I=m&&m[1],{onBeforeEnter:k,onEnter:w,onEnterCancelled:M,onLeave:R,onLeaveCancelled:$,onBeforeAppear:T=k,onAppear:Z=w,onAppearCancelled:ee=M}=e,H=(q,X,E)=>{Bt(q,X?u:i),Bt(q,X?l:c),E&&E()},z=(q,X)=>{q._isLeaving=!1,Bt(q,f),Bt(q,d),Bt(q,p),X&&X()},te=q=>(X,E)=>{const G=q?Z:w,F=()=>H(X,q,E);Ft(G,[X,F]),di(()=>{Bt(X,q?a:o),Ct(X,q?u:i),hi(G)||gi(X,r,b,F)})};return ye(e,{onBeforeEnter(q){Ft(k,[q]),Ct(q,o),Ct(q,c)},onBeforeAppear(q){Ft(T,[q]),Ct(q,a),Ct(q,l)},onEnter:te(!1),onAppear:te(!0),onLeave(q,X){q._isLeaving=!0;const E=()=>z(q,X);Ct(q,f),Ct(q,p),Bf(),di(()=>{q._isLeaving&&(Bt(q,f),Ct(q,d),hi(R)||gi(q,r,I,E))}),Ft(R,[q,E])},onEnterCancelled(q){H(q,!1),Ft(M,[q])},onAppearCancelled(q){H(q,!0),Ft(ee,[q])},onLeaveCancelled(q){z(q),Ft($,[q])}})}function Mf(t){if(t==null)return null;if(ge(t))return[Bs(t.enter),Bs(t.leave)];{const e=Bs(t);return[e,e]}}function Bs(t){return Tl(t)}function Ct(t,e){e.split(/\s+/).forEach(n=>n&&t.classList.add(n)),(t[Mn]||(t[Mn]=new Set)).add(e)}function Bt(t,e){e.split(/\s+/).forEach(r=>r&&t.classList.remove(r));const n=t[Mn];n&&(n.delete(e),n.size||(t[Mn]=void 0))}function di(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let Of=0;function gi(t,e,n,r){const s=t._endId=++Of,o=()=>{s===t._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:c,timeout:i,propCount:a}=Ff(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 Ff(t,e){const n=window.getComputedStyle(t),r=m=>(n[m]||"").split(", "),s=r(`${At}Delay`),o=r(`${At}Duration`),c=mi(s,o),i=r(`${In}Delay`),a=r(`${In}Duration`),l=mi(i,a);let u=null,f=0,p=0;e===At?c>0&&(u=At,f=c,p=o.length):e===In?l>0&&(u=In,f=l,p=a.length):(f=Math.max(c,l),u=f>0?c>l?At:In:null,p=u?u===At?o.length:a.length:0);const d=u===At&&/\b(transform|all)(,|$)/.test(r(`${At}Property`).toString());return{type:u,timeout:f,propCount:p,hasTransform:d}}function mi(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max(...e.map((n,r)=>bi(n)+bi(t[r])))}function bi(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Bf(){return document.body.offsetHeight}function Pf(t,e,n){const r=t[Mn];r&&(e=(e?[e,...r]:[...r]).join(" ")),e==null?t.removeAttribute("class"):n?t.setAttribute("class",e):t.className=e}const Ar=Symbol("_vod"),_i=Symbol("_vsh"),$f={beforeMount(t,{value:e},{transition:n}){t[Ar]=t.style.display==="none"?"":t.style.display,n&&e?n.beforeEnter(t):On(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),On(t,!0),r.enter(t)):r.leave(t,()=>{On(t,!1)}):On(t,e))},beforeUnmount(t,{value:e}){On(t,e)}};function On(t,e){t.style.display=e?t[Ar]:"none",t[_i]=!e}const Uf=Symbol(""),zf=/(^|;)\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&&Cr(r,i,"")}else for(const c in e)n[c]==null&&Cr(r,c,"");for(const c in n)c==="display"&&(o=!0),Cr(r,c,n[c])}else if(s){if(e!==n){const c=r[Uf];c&&(n+=";"+c),r.cssText=n,o=zf.test(n)}}else e&&t.removeAttribute("style");Ar in t&&(t[Ar]=o?r.display:"",t[_i]&&(r.display="none"))}const vi=/\s*!important$/;function Cr(t,e,n){if(J(n))n.forEach(r=>Cr(t,e,r));else if(n==null&&(n=""),e.startsWith("--"))t.setProperty(e,n);else{const r=Vf(t,e);vi.test(n)?t.setProperty(bt(r),n.replace(vi,""),"important"):t[r]=n}}const yi=["Webkit","Moz","ms"],Ps={};function Vf(t,e){const n=Ps[e];if(n)return n;let r=Ve(e);if(r!=="filter"&&r in t)return Ps[e]=r;r=Jn(r);for(let s=0;s<yi.length;s++){const o=yi[s]+r;if(o in t)return Ps[e]=o}return e}const xi="http://www.w3.org/1999/xlink";function wi(t,e,n,r,s,o=Nl(e)){r&&e.startsWith("xlink:")?n==null?t.removeAttributeNS(xi,e.slice(6,e.length)):t.setAttributeNS(xi,e,n):n==null||o&&!No(n)?t.removeAttribute(e):t.setAttribute(e,o?"":mt(n)?String(n):n)}function Ei(t,e,n,r){if(e==="innerHTML"||e==="textContent"){n!=null&&(t[e]=e==="innerHTML"?li(n):n);return}const s=t.tagName;if(e==="value"&&s!=="PROGRESS"&&!s.includes("-")){const c=s==="OPTION"?t.getAttribute("value")||"":t.value,i=n==null?t.type==="checkbox"?"on":"":String(n);(c!==i||!("_value"in t))&&(t.value=i),n==null&&t.removeAttribute(e),t._value=n;return}let o=!1;if(n===""||n==null){const c=typeof t[e];c==="boolean"?n=No(n):n==null&&c==="string"?(n="",o=!0):c==="number"&&(n=0,o=!0)}try{t[e]=n}catch{}o&&t.removeAttribute(e)}function an(t,e,n,r){t.addEventListener(e,n,r)}function Gf(t,e,n,r){t.removeEventListener(e,n,r)}const ki=Symbol("_vei");function jf(t,e,n,r,s=null){const o=t[ki]||(t[ki]={}),c=o[e];if(r&&c)c.value=r;else{const[i,a]=Kf(e);if(r){const l=o[e]=Jf(r,s);an(t,i,l,a)}else c&&(Gf(t,i,c,a),o[e]=void 0)}}const Ai=/(?:Once|Passive|Capture)$/;function Kf(t){let e;if(Ai.test(t)){e={};let r;for(;r=t.match(Ai);)t=t.slice(0,t.length-r[0].length),e[r[0].toLowerCase()]=!0}return[t[2]===":"?t.slice(3):bt(t.slice(2)),e]}let $s=0;const Zf=Promise.resolve(),Wf=()=>$s||(Zf.then(()=>$s=0),$s=Date.now());function Jf(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Je(Yf(r,n.value),e,5,[r])};return n.value=t,n.attached=Wf(),n}function Yf(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 Ci=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,Xf=(t,e,n,r,s,o)=>{const c=s==="svg";e==="class"?Pf(t,r,c):e==="style"?Hf(t,n,r):Kn(e)?Jr(e)||jf(t,e,n,r,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Qf(t,e,r,c))?(Ei(t,e,r),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&wi(t,e,r,c,o,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!me(r))?Ei(t,Ve(e),r):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),wi(t,e,r,c))};function Qf(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&Ci(e)&&Q(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 Ci(e)&&me(n)?!1:e in t}const Si=t=>{const e=t.props["onUpdate:modelValue"]||!1;return J(e)?n=>Yn(e,n):e};function ep(t){t.target.composing=!0}function Ti(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const Us=Symbol("_assign"),tp={created(t,{modifiers:{lazy:e,trim:n,number:r}},s){t[Us]=Si(s);const o=r||s.props&&s.props.type==="number";an(t,e?"change":"input",c=>{if(c.target.composing)return;let i=t.value;n&&(i=i.trim()),o&&(i=es(i)),t[Us](i)}),n&&an(t,"change",()=>{t.value=t.value.trim()}),e||(an(t,"compositionstart",ep),an(t,"compositionend",Ti),an(t,"change",Ti))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},c){if(t[Us]=Si(c),t.composing)return;const i=(o||t.type==="number")&&!/^0\d/.test(t.value)?es(t.value):t.value,a=e??"";i!==a&&(document.activeElement===t&&t.type!=="range"&&(r&&e===n||s&&t.value.trim()===a)||(t.value=a))}},np=["ctrl","shift","alt","meta"],rp={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)=>np.some(n=>t[`${n}Key`]&&!e.includes(n))},sp=(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=rp[e[c]];if(i&&i(s,e))return}return t(s,...o)})},op={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},cp=(t,e)=>{const n=t._withKeys||(t._withKeys={}),r=e.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=bt(s.key);if(e.some(c=>c===o||op[c]===o))return t(s)})},ip=ye({patchProp:Xf},Lf);let Di;function ap(){return Di||(Di=tf(ip))}const lp=(...t)=>{const e=ap().createApp(...t),{mount:n}=e;return e.mount=r=>{const s=fp(r);if(!s)return;const o=e._component;!Q(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const c=n(s,!1,up(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),c},e};function up(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function fp(t){return me(t)?document.querySelector(t):t}const Fn={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:{}},pp="#n8n-chat",Ri="n8n-chat/sessionId",qi="Chat",Li="ChatOptions";for(var Ae=[],zs=0;zs<256;++zs)Ae.push((zs+256).toString(16).slice(1));function hp(t,e=0){return(Ae[t[e+0]]+Ae[t[e+1]]+Ae[t[e+2]]+Ae[t[e+3]]+"-"+Ae[t[e+4]]+Ae[t[e+5]]+"-"+Ae[t[e+6]]+Ae[t[e+7]]+"-"+Ae[t[e+8]]+Ae[t[e+9]]+"-"+Ae[t[e+10]]+Ae[t[e+11]]+Ae[t[e+12]]+Ae[t[e+13]]+Ae[t[e+14]]+Ae[t[e+15]]).toLowerCase()}var Sr,dp=new Uint8Array(16);function gp(){if(!Sr&&(Sr=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Sr))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Sr(dp)}var mp=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const Ni={randomUUID:mp};function Bn(t,e,n){if(Ni.randomUUID&&!e&&!t)return Ni.randomUUID();t=t||{};var r=t.random||(t.rng||gp)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,hp(r)}async function bp(){return""}async function Hs(...t){var o,c;const e=await bp(),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 Ii(t,e={},n={}){let r=t;return Object.keys(e).length>0&&(r=`${r}?${new URLSearchParams(e).toString()}`),await Hs(r,{...n,method:"GET"})}async function Mi(t,e={},n={}){return await Hs(t,{...n,method:"POST",body:JSON.stringify(e)})}async function _p(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 Hs(t,{...r,method:"POST",body:s})}async function vp(t,e){var r,s;return await(((r=e.webhookConfig)==null?void 0:r.method)==="POST"?Mi:Ii)(`${e.webhookUrl}`,{action:"loadPreviousSession",[e.chatSessionKey]:t,...e.metadata?{metadata:e.metadata}:{}},{headers:(s=e.webhookConfig)==null?void 0:s.headers})}async function yp(t,e,n,r){var o,c,i;return e.length>0?await _p(`${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"?Mi:Ii)(`${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 xp(){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 wp(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 Be=xp(),Ep={install(t,e){t.provide(Li,e);const n=qe([]),r=qe(null),s=qe(!1),o=Me(()=>(e.initialMessages??[]).map(u=>({id:Bn(),text:u,sender:"bot",createdAt:new Date().toISOString()})));async function c(u,f=[]){const p={id:Bn(),text:u,sender:"user",files:f,createdAt:new Date().toISOString()};n.value.push(p),s.value=!0,rn(()=>{Be.emit("scrollToBottom")});const d=await yp(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:Bn(),text:m,sender:"bot",createdAt:new Date().toISOString()};n.value.push(b),s.value=!1,rn(()=>{Be.emit("scrollToBottom")})}async function i(){if(!e.loadPreviousSession)return;const u=localStorage.getItem(Ri)??Bn(),f=await vp(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=Bn(),localStorage.setItem(Ri,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 Vs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function kp(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 Oi(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)&&Oi(n)}),t}class Fi{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Bi(t){return t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function St(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 Ap="</span>",Pi=t=>!!t.scope,Cp=(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 Sp{constructor(e,n){this.buffer="",this.classPrefix=n.classPrefix,e.walk(this)}addText(e){this.buffer+=Bi(e)}openNode(e){if(!Pi(e))return;const n=Cp(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){Pi(e)&&(this.buffer+=Ap)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const $i=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class Gs{constructor(){this.rootNode=$i(),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=$i({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=>{Gs._collapse(n)}))}}class Tp extends Gs{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 Sp(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Pn(t){return t?typeof t=="string"?t:t.source:null}function Ui(t){return Pt("(?=",t,")")}function Dp(t){return Pt("(?:",t,")*")}function Rp(t){return Pt("(?:",t,")?")}function Pt(...t){return t.map(n=>Pn(n)).join("")}function qp(t){const e=t[t.length-1];return typeof e=="object"&&e.constructor===Object?(t.splice(t.length-1,1),e):{}}function js(...t){return"("+(qp(t).capture?"":"?:")+t.map(r=>Pn(r)).join("|")+")"}function zi(t){return new RegExp(t.toString()+"|").exec("").length-1}function Lp(t,e){const n=t&&t.exec(e);return n&&n.index===0}const Np=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Ks(t,{joinWith:e}){let n=0;return t.map(r=>{n+=1;const s=n;let o=Pn(r),c="";for(;o.length>0;){const i=Np.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 Ip=/\b\B/,Hi="[a-zA-Z]\\w*",Zs="[a-zA-Z_]\\w*",Vi="\\b\\d+(\\.\\d+)?",Gi="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",ji="\\b(0b[01]+)",Mp="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Op=(t={})=>{const e=/^#![ ]*\//;return t.binary&&(t.begin=Pt(e,/.*\b/,t.binary,/\b.*/)),St({scope:"meta",begin:e,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},t)},$n={begin:"\\\\[\\s\\S]",relevance:0},Fp={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[$n]},Bp={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[$n]},Pp={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/},Tr=function(t,e,n={}){const r=St({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=js("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:Pt(/[ ]+/,"(",s,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),r},$p=Tr("//","$"),Up=Tr("/\\*","\\*/"),zp=Tr("#","$"),Hp={scope:"number",begin:Vi,relevance:0},Vp={scope:"number",begin:Gi,relevance:0},Gp={scope:"number",begin:ji,relevance:0},jp={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[$n,{begin:/\[/,end:/\]/,relevance:0,contains:[$n]}]},Kp={scope:"title",begin:Hi,relevance:0},Zp={scope:"title",begin:Zs,relevance:0},Wp={begin:"\\.\\s*"+Zs,relevance:0};var Dr=Object.freeze({__proto__:null,APOS_STRING_MODE:Fp,BACKSLASH_ESCAPE:$n,BINARY_NUMBER_MODE:Gp,BINARY_NUMBER_RE:ji,COMMENT:Tr,C_BLOCK_COMMENT_MODE:Up,C_LINE_COMMENT_MODE:$p,C_NUMBER_MODE:Vp,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:zp,IDENT_RE:Hi,MATCH_NOTHING_RE:Ip,METHOD_GUARD:Wp,NUMBER_MODE:Hp,NUMBER_RE:Vi,PHRASAL_WORDS_MODE:Pp,QUOTE_STRING_MODE:Bp,REGEXP_MODE:jp,RE_STARTERS_RE:Mp,SHEBANG:Op,TITLE_MODE:Kp,UNDERSCORE_IDENT_RE:Zs,UNDERSCORE_TITLE_MODE:Zp});function Jp(t,e){t.input[t.index-1]==="."&&e.ignoreMatch()}function Yp(t,e){t.className!==void 0&&(t.scope=t.className,delete t.className)}function Xp(t,e){e&&t.beginKeywords&&(t.begin="\\b("+t.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",t.__beforeBegin=Jp,t.keywords=t.keywords||t.beginKeywords,delete t.beginKeywords,t.relevance===void 0&&(t.relevance=0))}function Qp(t,e){Array.isArray(t.illegal)&&(t.illegal=js(...t.illegal))}function eh(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 th(t,e){t.relevance===void 0&&(t.relevance=1)}const nh=(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=Pt(n.beforeMatch,Ui(n.begin)),t.starts={relevance:0,contains:[Object.assign(n,{endsParent:!0})]},t.relevance=0,delete n.beforeMatch},rh=["of","and","for","in","not","or","if","then","parent","list","value"],sh="keyword";function Ki(t,e,n=sh){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,Ki(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,oh(a[0],a[1])]})}}function oh(t,e){return e?Number(e):ch(t)?0:1}function ch(t){return rh.includes(t.toLowerCase())}const Zi={},$t=t=>{console.error(t)},Wi=(t,...e)=>{console.log(`WARN: ${t}`,...e)},ln=(t,e)=>{Zi[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),Zi[`${t}/${e}`]=!0)},Rr=new Error;function Ji(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+=zi(e[i-1]);t[n]=c,t[n]._emit=o,t[n]._multi=!0}function ih(t){if(Array.isArray(t.begin)){if(t.skip||t.excludeBegin||t.returnBegin)throw $t("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),Rr;if(typeof t.beginScope!="object"||t.beginScope===null)throw $t("beginScope must be object"),Rr;Ji(t,t.begin,{key:"beginScope"}),t.begin=Ks(t.begin,{joinWith:""})}}function ah(t){if(Array.isArray(t.end)){if(t.skip||t.excludeEnd||t.returnEnd)throw $t("skip, excludeEnd, returnEnd not compatible with endScope: {}"),Rr;if(typeof t.endScope!="object"||t.endScope===null)throw $t("endScope must be object"),Rr;Ji(t,t.end,{key:"endScope"}),t.end=Ks(t.end,{joinWith:""})}}function lh(t){t.scope&&typeof t.scope=="object"&&t.scope!==null&&(t.beginScope=t.scope,delete t.scope)}function uh(t){lh(t),typeof t.beginScope=="string"&&(t.beginScope={_wrap:t.beginScope}),typeof t.endScope=="string"&&(t.endScope={_wrap:t.endScope}),ih(t),ah(t)}function fh(t){function e(c,i){return new RegExp(Pn(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+=zi(i)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const i=this.regexes.map(a=>a[1]);this.matcherRe=e(Ks(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;[Yp,eh,uh,nh].forEach(u=>u(c,i)),t.compilerExtensions.forEach(u=>u(c,i)),c.__beforeBegin=null,[Xp,Qp,th].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=Ki(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=Pn(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 ph(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=St(t.classNameAliases||{}),o(t)}function Yi(t){return t?t.endsWithParent||Yi(t.starts):!1}function ph(t){return t.variants&&!t.cachedVariants&&(t.cachedVariants=t.variants.map(function(e){return St(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:Yi(t)?St(t,{starts:t.starts?St(t.starts):null}):Object.isFrozen(t)?St(t):t}var hh="11.9.0";class dh extends Error{constructor(e,n){super(e),this.name="HTMLInjectionError",this.html=n}}const Ws=Bi,Xi=St,Qi=Symbol("nomatch"),gh=7,ea=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:Tp};function a(v){return i.noHighlightRe.test(v)}function l(v){let C=v.className+" ";C+=v.parentNode?v.parentNode.className:"";const K=i.languageDetectRe.exec(C);if(K){const ne=H(K[1]);return ne||(Wi(o.replace("{}",K[1])),Wi("Falling back to no-highlight mode for this block.",v)),ne?K[1]:"no-highlight"}return C.split(/\s+/).find(ne=>a(ne)||H(ne))}function u(v,C,K){let ne="",oe="";typeof C=="object"?(ne=v,K=C.ignoreIllegals,oe=C.language):(ln("10.7.0","highlight(lang, code, ...args) has been deprecated."),ln("10.7.0",`Please use highlight(code, options) instead.
21
+ https://github.com/highlightjs/highlight.js/issues/2277`),oe=v,ne=C),K===void 0&&(K=!0);const fe={code:ne,language:oe};G("before:highlight",fe);const Ce=fe.result?fe.result:f(fe.language,fe.code,K);return Ce.code=fe.code,G("after:highlight",Ce),Ce}function f(v,C,K,ne){const oe=Object.create(null);function fe(A,O){return A.keywords[O]}function Ce(){if(!x.keywords){N.addText(y);return}let A=0;x.keywordPatternRe.lastIndex=0;let O=x.keywordPatternRe.exec(y),U="";for(;O;){U+=y.substring(A,O.index);const re=S.case_insensitive?O[0].toLowerCase():O[0],ae=fe(x,re);if(ae){const[ve,Fe]=ae;if(N.addText(U),U="",oe[re]=(oe[re]||0)+1,oe[re]<=gh&&(W+=Fe),ve.startsWith("_"))U+=O[0];else{const jt=S.classNameAliases[ve]||ve;De(O[0],jt)}}else U+=O[0];A=x.keywordPatternRe.lastIndex,O=x.keywordPatternRe.exec(y)}U+=y.substring(A),N.addText(U)}function mn(){if(y==="")return;let A=null;if(typeof x.subLanguage=="string"){if(!e[x.subLanguage]){N.addText(y);return}A=f(x.subLanguage,y,!0,B[x.subLanguage]),B[x.subLanguage]=A._top}else A=d(y,x.subLanguage.length?x.subLanguage:null);x.relevance>0&&(W+=A.relevance),N.__addSublanguage(A._emitter,A.language)}function Oe(){x.subLanguage!=null?mn():Ce(),y=""}function De(A,O){A!==""&&(N.startScope(O),N.addText(A),N.endScope())}function Vt(A,O){let U=1;const re=O.length-1;for(;U<=re;){if(!A._emit[U]){U++;continue}const ae=S.classNameAliases[A[U]]||A[U],ve=O[U];ae?De(ve,ae):(y=ve,Ce(),y=""),U++}}function bn(A,O){return A.scope&&typeof A.scope=="string"&&N.openNode(S.classNameAliases[A.scope]||A.scope),A.beginScope&&(A.beginScope._wrap?(De(y,S.classNameAliases[A.beginScope._wrap]||A.beginScope._wrap),y=""):A.beginScope._multi&&(Vt(A.beginScope,O),y="")),x=Object.create(A,{parent:{value:x}}),x}function jn(A,O,U){let re=Lp(A.endRe,U);if(re){if(A["on:end"]){const ae=new Fi(A);A["on:end"](O,ae),ae.isMatchIgnored&&(re=!1)}if(re){for(;A.endsParent&&A.parent;)A=A.parent;return A}}if(A.endsWithParent)return jn(A.parent,O,U)}function Gt(A){return x.matcher.regexIndex===0?(y+=A[0],1):(Y=!0,0)}function Zr(A){const O=A[0],U=A.rule,re=new Fi(U),ae=[U.__beforeBegin,U["on:begin"]];for(const ve of ae)if(ve&&(ve(A,re),re.isMatchIgnored))return Gt(O);return U.skip?y+=O:(U.excludeBegin&&(y+=O),Oe(),!U.returnBegin&&!U.excludeBegin&&(y=O)),bn(U,A),U.returnBegin?0:O.length}function Wr(A){const O=A[0],U=C.substring(A.index),re=jn(x,A,U);if(!re)return Qi;const ae=x;x.endScope&&x.endScope._wrap?(Oe(),De(O,x.endScope._wrap)):x.endScope&&x.endScope._multi?(Oe(),Vt(x.endScope,A)):ae.skip?y+=O:(ae.returnEnd||ae.excludeEnd||(y+=O),Oe(),ae.excludeEnd&&(y=O));do x.scope&&N.closeNode(),!x.skip&&!x.subLanguage&&(W+=x.relevance),x=x.parent;while(x!==re.parent);return re.starts&&bn(re.starts,A),ae.returnEnd?0:O.length}function h(){const A=[];for(let O=x;O!==S;O=O.parent)O.scope&&A.unshift(O.scope);A.forEach(O=>N.openNode(O))}let g={};function _(A,O){const U=O&&O[0];if(y+=A,U==null)return Oe(),0;if(g.type==="begin"&&O.type==="end"&&g.index===O.index&&U===""){if(y+=C.slice(O.index,O.index+1),!s){const re=new Error(`0 width match regex (${v})`);throw re.languageName=v,re.badRule=g.rule,re}return 1}if(g=O,O.type==="begin")return Zr(O);if(O.type==="illegal"&&!K){const re=new Error('Illegal lexeme "'+U+'" for mode "'+(x.scope||"<unnamed>")+'"');throw re.mode=x,re}else if(O.type==="end"){const re=Wr(O);if(re!==Qi)return re}if(O.type==="illegal"&&U==="")return 1;if(V>1e5&&V>O.index*3)throw new Error("potential infinite loop, way more iterations than matches");return y+=U,U.length}const S=H(v);if(!S)throw $t(o.replace("{}",v)),new Error('Unknown language: "'+v+'"');const D=fh(S);let L="",x=ne||D;const B={},N=new i.__emitter(i);h();let y="",W=0,P=0,V=0,Y=!1;try{if(S.__emitTokens)S.__emitTokens(C,N);else{for(x.matcher.considerAll();;){V++,Y?Y=!1:x.matcher.considerAll(),x.matcher.lastIndex=P;const A=x.matcher.exec(C);if(!A)break;const O=C.substring(P,A.index),U=_(O,A);P=A.index+U}_(C.substring(P))}return N.finalize(),L=N.toHTML(),{language:v,value:L,relevance:W,illegal:!1,_emitter:N,_top:x}}catch(A){if(A.message&&A.message.includes("Illegal"))return{language:v,value:Ws(C),illegal:!0,relevance:0,_illegalBy:{message:A.message,index:P,context:C.slice(P-100,P+100),mode:A.mode,resultSoFar:L},_emitter:N};if(s)return{language:v,value:Ws(C),illegal:!1,relevance:0,errorRaised:A,_emitter:N,_top:x};throw A}}function p(v){const C={value:Ws(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 K=p(v),ne=C.filter(H).filter(te).map(Oe=>f(Oe,v,!1));ne.unshift(K);const oe=ne.sort((Oe,De)=>{if(Oe.relevance!==De.relevance)return De.relevance-Oe.relevance;if(Oe.language&&De.language){if(H(Oe.language).supersetOf===De.language)return 1;if(H(De.language).supersetOf===Oe.language)return-1}return 0}),[fe,Ce]=oe,mn=fe;return mn.secondBest=Ce,mn}function m(v,C,K){const ne=C&&n[C]||K;v.classList.add("hljs"),v.classList.add(`language-${ne}`)}function b(v){let C=null;const K=l(v);if(a(K))return;if(G("before:highlightElement",{el:v,language:K}),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 dh("One of your code blocks includes unescaped HTML.",v.innerHTML);C=v;const ne=C.textContent,oe=K?u(ne,{language:K,ignoreIllegals:!0}):d(ne);v.innerHTML=oe.value,v.dataset.highlighted="yes",m(v,K,oe.language),v.result={language:oe.language,re:oe.relevance,relevance:oe.relevance},oe.secondBest&&(v.secondBest={language:oe.secondBest.language,relevance:oe.secondBest.relevance}),G("after:highlightElement",{el:v,result:oe,text:ne})}function I(v){i=Xi(i,v)}const k=()=>{R(),ln("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function w(){R(),ln("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let M=!1;function R(){if(document.readyState==="loading"){M=!0;return}document.querySelectorAll(i.cssSelector).forEach(b)}function $(){M&&R()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",$,!1);function T(v,C){let K=null;try{K=C(t)}catch(ne){if($t("Language definition for '{}' could not be registered.".replace("{}",v)),s)$t(ne);else throw ne;K=c}K.name||(K.name=v),e[v]=K,K.rawDefinition=C.bind(null,t),K.aliases&&z(K.aliases,{languageName:v})}function Z(v){delete e[v];for(const C of Object.keys(n))n[C]===v&&delete n[C]}function ee(){return Object.keys(e)}function H(v){return v=(v||"").toLowerCase(),e[v]||e[n[v]]}function z(v,{languageName:C}){typeof v=="string"&&(v=[v]),v.forEach(K=>{n[K.toLowerCase()]=C})}function te(v){const C=H(v);return C&&!C.disableAutodetect}function q(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 X(v){q(v),r.push(v)}function E(v){const C=r.indexOf(v);C!==-1&&r.splice(C,1)}function G(v,C){const K=v;r.forEach(function(ne){ne[K]&&ne[K](C)})}function F(v){return ln("10.7.0","highlightBlock will be removed entirely in v12.0"),ln("10.7.0","Please use highlightElement now."),b(v)}Object.assign(t,{highlight:u,highlightAuto:d,highlightAll:R,highlightElement:b,highlightBlock:F,configure:I,initHighlighting:k,initHighlightingOnLoad:w,registerLanguage:T,unregisterLanguage:Z,listLanguages:ee,getLanguage:H,registerAliases:z,autoDetection:te,inherit:Xi,addPlugin:X,removePlugin:E}),t.debugMode=function(){s=!1},t.safeMode=function(){s=!0},t.versionString=hh,t.regex={concat:Pt,lookahead:Ui,either:js,optional:Rp,anyNumberOfTimes:Dp};for(const v in Dr)typeof Dr[v]=="object"&&Oi(Dr[v]);return Object.assign(t,Dr),t},un=ea({});un.newInstance=()=>ea({});var mh=un;un.HighlightJS=un,un.default=un;const gt=Vs(mh),ta="[A-Za-z$_][0-9A-Za-z$_]*",bh=["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"],_h=["true","false","null","undefined","NaN","Infinity"],na=["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"],ra=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],sa=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],vh=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],yh=[].concat(sa,na,ra);function oa(t){const e=t.regex,n=(C,{after:K})=>{const ne="</"+C[0].slice(1);return C.input.indexOf(ne,K)!==-1},r=ta,s={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(C,K)=>{const ne=C[0].length+C.index,oe=C.input[ne];if(oe==="<"||oe===","){K.ignoreMatch();return}oe===">"&&(n(C,{after:ne})||K.ignoreMatch());let fe;const Ce=C.input.substring(ne);if(fe=Ce.match(/^\s*=/)){K.ignoreMatch();return}if((fe=Ce.match(/^\s+extends\s+/))&&fe.index===0){K.ignoreMatch();return}}},i={$pattern:ta,keyword:bh,literal:_h,built_in:yh,"variable.language":vh},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"}},I={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,p]},w={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]},M=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,m,b,I,{match:/\$\d+/},f];p.contains=M.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(M)});const R=[].concat(w,p.contains),$=R.concat([{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(R)}]),T={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:$},Z={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"}}]},ee={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:{_:[...na,...ra]}},H={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:[T],illegal:/%/},te={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function q(C){return e.concat("(?!",C.join("|"),")")}const X={match:e.concat(/\b/,q([...sa,"super","import"]),r,e.lookahead(/\(/)),className:"title.function",relevance:0},E={begin:e.concat(/\./,e.lookahead(e.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},G={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},T]},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:[T]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:$,CLASS_REFERENCE:ee},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),H,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,m,b,I,w,{match:/\$\d+/},f,ee,{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:[w,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:$}]}]},{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:[T,t.inherit(t.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},E,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[T]},X,te,Z,G,{match:/\$[(.]/}]}}function ca(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 qr=(t,e)=>{const n=t.__vccOpts||t;for(const[r,s]of e)n[r]=s;return n},xh={},wh={class:"chat-button"};function Eh(t,e){return j(),ce("button",wh,[It(t.$slots,"default")])}const kh=qr(xh,[["render",Eh]]),Ah={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Ch(t,e){return j(),ce("svg",Ah,e[0]||(e[0]=[he("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)]))}const Sh={name:"mdi-close",render:Ch};function Js(){return cn(qi)}function Un(){return{options:cn(Li)}}function Lr(){const{options:t}=Un(),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"},Dh=Ke({__name:"GetStarted",setup(t){const{t:e}=Lr();return(n,r)=>(j(),ce("div",Th,[be(kh,{onClick:r[0]||(r[0]=s=>n.$emit("click:button"))},{default:pt(()=>[Ns(Yt(se(e)("getStarted")),1)]),_:1})]))}}),Rh={},qh={class:"chat-powered-by"};function Lh(t,e){return j(),ce("div",qh,e[0]||(e[0]=[Ns(" Powered by "),he("a",{href:"https://n8n.io?utm_source=n8n-external&utm_medium=widget-powered-by"},"n8n",-1)]))}const Nh=qr(Rh,[["render",Lh]]),Ih={class:"chat-get-started-footer"},Mh={key:0},Oh=Ke({__name:"GetStartedFooter",setup(t){const{t:e,te:n}=Lr();return(r,s)=>(j(),ce("div",Ih,[se(n)("footer")?(j(),ce("div",Mh,Yt(se(e)("footer")),1)):Ue("",!0),be(Nh)]))}});function Fh(t){return Oo()?(Ml(t),!0):!1}function Bh(){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 Ph=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const $h=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),Uh=Ph?window.document:void 0,zh={multiple:!0,accept:"*",reset:!1,directory:!1};function Hh(t={}){const{document:e=Uh}=t,n=qe(null),{on:r,trigger:s}=Bh();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={...zh,...t,...a};o.multiple=l.multiple,o.accept=l.accept,o.webkitdirectory=l.directory,$h(l,"capture")&&(o.capture=l.capture),l.reset&&c(),o.click()};return{files:hs(n),open:i,reset:c,onChange:r}}const Vh={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Gh(t,e){return j(),ce("svg",Vh,e[0]||(e[0]=[he("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)]))}const jh={name:"mdi-filePlus",render:Gh},Kh={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Zh(t,e){return j(),ce("svg",Kh,e[0]||(e[0]=[he("path",{fill:"currentColor",d:"m2 21l21-9L2 3v7l15 2l-15 2z"},null,-1)]))}const Wh={name:"mdi-send",render:Zh},Jh={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Yh(t,e){return j(),ce("svg",Jh,e[0]||(e[0]=[he("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)]))}const Xh={name:"mdi-closeThick",render:Yh},Qh={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function ed(t,e){return j(),ce("svg",Qh,e[0]||(e[0]=[he("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)]))}const td={name:"mdi-fileImage",render:ed},nd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function rd(t,e){return j(),ce("svg",nd,e[0]||(e[0]=[he("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)]))}const sd={name:"mdi-fileMusic",render:rd},od={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function cd(t,e){return j(),ce("svg",od,e[0]||(e[0]=[he("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)]))}const ia={name:"mdi-fileText",render:cd},id={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function ad(t,e){return j(),ce("svg",id,e[0]||(e[0]=[he("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)]))}const ld={name:"mdi-fileVideo",render:ad},ud={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function fd(t,e){return j(),ce("svg",ud,e[0]||(e[0]=[he("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)]))}const pd={name:"mdi-openInNew",render:fd},hd={class:"chat-file-name"},aa=qr(Ke({__name:"ChatFile",props:{file:{},isRemovable:{type:Boolean},isPreviewable:{type:Boolean}},emits:["remove"],setup(t,{emit:e}){const n=t,r=e,s={document:ia,audio:sd,image:td,video:ld},o=Me(()=>{var a;const i=(a=n.file)==null?void 0:a.type.split("/")[0];return s[i]||ia});function c(){n.isRemovable&&r("remove",n.file),n.isPreviewable&&window.open(URL.createObjectURL(n.file))}return(i,a)=>(j(),ce("div",{class:"chat-file",onClick:c},[be(se(o)),he("p",hd,Yt(i.file.name),1),i.isRemovable?(j(),_e(se(Xh),{key:0,class:"chat-file-delete"})):Ue("",!0),i.isPreviewable?(j(),_e(se(pd),{key:1,class:"chat-file-preview"})):Ue("",!0)]))}}),[["__scopeId","data-v-c15a8ecf"]]),dd={class:"chat-inputs"},gd=["disabled","placeholder"],md={class:"chat-inputs-controls"},bd=["disabled"],_d=["disabled"],vd={key:0,class:"chat-files"},yd=qr(Ke({__name:"Input",emits:["arrowKeyDown"],setup(t,{emit:e}){const n=e,{options:r}=Un(),s=Js(),{waitingForResponse:o}=s,{t:c}=Lr(),i=qe(null),a=qe(null),l=qe(""),u=qe(!1),f=Me(()=>{var q;return l.value===""||o.value||((q=r.disabled)==null?void 0:q.value)===!0}),p=Me(()=>{var q;return((q=r.disabled)==null?void 0:q.value)===!0}),d=Me(()=>{var q;return m.value&&o.value&&!((q=r.disabled)!=null&&q.value)}),m=Me(()=>se(r.allowFileUploads)===!0),b=Me(()=>se(r.allowedFilesMimeTypes)),I=Me(()=>({"--controls-count":m.value?2:1})),{open:k,reset:w,onChange:M}=Hh({multiple:!0,reset:!1});M(q=>{if(!q)return;const X=new DataTransfer;if(i.value)for(let E=0;E<i.value.length;E++)X.items.add(i.value[E]);for(let E=0;E<q.length;E++)X.items.add(q[E]);i.value=X.files}),wt(()=>{Be.on("focusInput",$),Be.on("blurInput",R),Be.on("setInputValue",T)}),ws(()=>{Be.off("focusInput",$),Be.off("blurInput",R),Be.off("setInputValue",T)});function R(){a.value&&a.value.blur()}function $(){a.value&&a.value.focus()}function T(q){l.value=q,$()}async function Z(q){if(q.preventDefault(),f.value)return;const X=l.value;l.value="",u.value=!0,await s.sendMessage(X,Array.from(i.value??[])),u.value=!1,w(),i.value=null}async function ee(q){q.shiftKey||await Z(q)}function H(q){if(!i.value)return;const X=new DataTransfer;for(let E=0;E<i.value.length;E++){const G=i.value[E];q.name!==G.name&&X.items.add(G)}w(),i.value=X.files}function z(q){(q.key==="ArrowUp"||q.key==="ArrowDown")&&(q.preventDefault(),n("arrowKeyDown",{key:q.key,currentInputValue:l.value}))}function te(){d.value||k({accept:se(b)})}return(q,X)=>{var E;return j(),ce("div",{class:"chat-input",style:vn(I.value),onKeydown:sp(z,["stop"])},[he("div",dd,[hc(he("textarea",{ref_key:"chatTextArea",ref:a,"onUpdate:modelValue":X[0]||(X[0]=G=>l.value=G),disabled:p.value,placeholder:se(c)("inputPlaceholder"),onKeydown:cp(ee,["enter"])},null,40,gd),[[tp,l.value]]),he("div",md,[m.value?(j(),ce("button",{key:0,disabled:d.value,class:"chat-input-send-button",onClick:te},[be(se(jh),{height:"24",width:"24"})],8,bd)):Ue("",!0),he("button",{disabled:f.value,class:"chat-input-send-button",onClick:Z},[be(se(Wh),{height:"24",width:"24"})],8,_d)])]),(E=i.value)!=null&&E.length&&!u.value?(j(),ce("div",vd,[(j(!0),ce(Ee,null,mr(i.value,G=>(j(),_e(aa,{key:G.name,file:G,"is-removable":!0,onRemove:H},null,8,["file"]))),128))])):Ue("",!0)],36)}}}),[["__scopeId","data-v-2a7fb1c3"]]),xd={class:"chat-layout"},wd={key:0,class:"chat-header"},Ed={key:2,class:"chat-footer"},kd=Ke({__name:"Layout",setup(t){const e=qe(null);function n(){const r=e.value;r&&(r.scrollTop=r.scrollHeight)}return wt(()=>{Be.on("scrollToBottom",n),window.addEventListener("resize",n)}),xs(()=>{Be.off("scrollToBottom",n),window.removeEventListener("resize",n)}),(r,s)=>(j(),ce("main",xd,[r.$slots.header?(j(),ce("div",wd,[It(r.$slots,"header")])):Ue("",!0),r.$slots.default?(j(),ce("div",{key:1,ref_key:"chatBodyRef",ref:e,class:"chat-body"},[It(r.$slots,"default")],512)):Ue("",!0),r.$slots.footer?(j(),ce("div",Ed,[It(r.$slots,"footer")])):Ue("",!0)]))}});function Ad(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"],I={match:/(\/[a-z._-]+)+/},k=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],w=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],M=["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"],R=["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:[...k,...w,"set","shopt",...M,...R]},contains:[p,t.SHEBANG(),d,u,t.HASH_COMMENT_MODE,o,I,c,i,a,l,n]}}function Cd(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})`}]},I={className:"comment",begin:e.lookahead(/# type:/),end:/$/,keywords:i,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},k={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,I,t.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[k]},{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,k,f]}]}}const Nr="[A-Za-z$_][0-9A-Za-z$_]*",la=["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"],ua=["true","false","null","undefined","NaN","Infinity"],fa=["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"],pa=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],ha=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],da=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],ga=[].concat(ha,fa,pa);function Sd(t){const e=t.regex,n=(C,{after:K})=>{const ne="</"+C[0].slice(1);return C.input.indexOf(ne,K)!==-1},r=Nr,s={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(C,K)=>{const ne=C[0].length+C.index,oe=C.input[ne];if(oe==="<"||oe===","){K.ignoreMatch();return}oe===">"&&(n(C,{after:ne})||K.ignoreMatch());let fe;const Ce=C.input.substring(ne);if(fe=Ce.match(/^\s*=/)){K.ignoreMatch();return}if((fe=Ce.match(/^\s+extends\s+/))&&fe.index===0){K.ignoreMatch();return}}},i={$pattern:Nr,keyword:la,literal:ua,built_in:ga,"variable.language":da},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"}},I={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,p]},w={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]},M=[t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,m,b,I,{match:/\$\d+/},f];p.contains=M.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(M)});const R=[].concat(w,p.contains),$=R.concat([{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(R)}]),T={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:i,contains:$},Z={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"}}]},ee={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:{_:[...fa,...pa]}},H={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:[T],illegal:/%/},te={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function q(C){return e.concat("(?!",C.join("|"),")")}const X={match:e.concat(/\b/,q([...ha,"super","import"]),r,e.lookahead(/\(/)),className:"title.function",relevance:0},E={begin:e.concat(/\./,e.lookahead(e.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},G={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},T]},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:[T]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:$,CLASS_REFERENCE:ee},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),H,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,m,b,I,w,{match:/\$\d+/},f,ee,{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:[w,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:$}]}]},{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:[T,t.inherit(t.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},E,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[T]},X,te,Z,G,{match:/\$[(.]/}]}}function Td(t){const e=Sd(t),n=Nr,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:Nr,keyword:la.concat(i),literal:ua,built_in:ga.concat(r),"variable.language":da},l={className:"meta",begin:"@"+n},u=(p,d,m)=>{const b=p.contains.findIndex(I=>I.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 Dd(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 Rd(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 ma(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=Dd(r[s],e),l=a&&a.attrs;return l&&Rd(s,r,l),n(r,s,o,c,i)}}ma.defaultRender=function(t,e,n,r,s){return s.renderToken(t,e,n)};var qd=ma;const Ld=Vs(qd);var le={},ba={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:"‌"},Ys=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/,fn={},_a={};function Nd(t){var e,n,r=_a[t];if(r)return r;for(r=_a[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 Ir(t,e,n){var r,s,o,c,i,a="";for(typeof e!="string"&&(n=e,e=Ir.defaultChars),typeof n>"u"&&(n=!0),i=Nd(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}Ir.defaultChars=";/?:@&=+$,-_.!~*'()#",Ir.componentChars="-_.!~*'()";var Id=Ir,va={};function Md(t){var e,n,r=va[t];if(r)return r;for(r=va[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 Mr(t,e){var n;return typeof e!="string"&&(e=Mr.defaultChars),n=Md(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})}Mr.defaultChars=";/?:@&=+$,#",Mr.componentChars="";var Od=Mr,Fd=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 Or(){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 Bd=/^([a-z0-9.+-]+:)/i,Pd=/:[0-9]*$/,$d=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Ud=["<",">",'"',"`"," ","\r",`
23
+ `," "],zd=["{","}","|","\\","^","`"].concat(Ud),Hd=["'"].concat(zd),ya=["%","/","?",";","#"].concat(Hd),xa=["/","?","#"],Vd=255,wa=/^[+a-z0-9A-Z_-]{0,63}$/,Gd=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,Ea={javascript:!0,"javascript:":!0},ka={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function jd(t,e){if(t&&t instanceof Or)return t;var n=new Or;return n.parse(t,e),n}Or.prototype.parse=function(t,e){var n,r,s,o,c,i=t;if(i=i.trim(),!e&&t.split("#").length===1){var a=$d.exec(i);if(a)return this.pathname=a[1],a[2]&&(this.search=a[2]),this}var l=Bd.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&&Ea[l])&&(i=i.substr(2),this.slashes=!0)),!Ea[l]&&(c||l&&!ka[l])){var u=-1;for(n=0;n<xa.length;n++)o=i.indexOf(xa[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<ya.length;n++)o=i.indexOf(ya[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 I=b[n];if(I&&!I.match(wa)){for(var k="",w=0,M=I.length;w<M;w++)I.charCodeAt(w)>127?k+="x":k+=I[w];if(!k.match(wa)){var R=b.slice(0,n),$=b.slice(n+1),T=I.match(Gd);T&&(R.push(T[1]),$.unshift(T[2])),$.length&&(i=$.join(".")+i),this.hostname=R.join(".");break}}}}this.hostname.length>Vd&&(this.hostname=""),m&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var Z=i.indexOf("#");Z!==-1&&(this.hash=i.substr(Z),i=i.slice(0,Z));var ee=i.indexOf("?");return ee!==-1&&(this.search=i.substr(ee),i=i.slice(0,ee)),i&&(this.pathname=i),ka[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},Or.prototype.parseHost=function(t){var e=Pd.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 Kd=jd;fn.encode=Id,fn.decode=Od,fn.format=Fd,fn.parse=Kd;var Ut={},Xs,Aa;function Ca(){return Aa||(Aa=1,Xs=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Xs}var Qs,Sa;function Ta(){return Sa||(Sa=1,Qs=/[\0-\x1F\x7F-\x9F]/),Qs}var eo,Da;function Zd(){return Da||(Da=1,eo=/[\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]/),eo}var to,Ra;function qa(){return Ra||(Ra=1,to=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),to}var La;function Wd(){return La||(La=1,Ut.Any=Ca(),Ut.Cc=Ta(),Ut.Cf=Zd(),Ut.P=Ys,Ut.Z=qa()),Ut}(function(t){function e(E){return Object.prototype.toString.call(E)}function n(E){return e(E)==="[object String]"}var r=Object.prototype.hasOwnProperty;function s(E,G){return r.call(E,G)}function o(E){var G=Array.prototype.slice.call(arguments,1);return G.forEach(function(F){if(F){if(typeof F!="object")throw new TypeError(F+"must be object");Object.keys(F).forEach(function(v){E[v]=F[v]})}}),E}function c(E,G,F){return[].concat(E.slice(0,G),F,E.slice(G+1))}function i(E){return!(E>=55296&&E<=57343||E>=64976&&E<=65007||(E&65535)===65535||(E&65535)===65534||E>=0&&E<=8||E===11||E>=14&&E<=31||E>=127&&E<=159||E>1114111)}function a(E){if(E>65535){E-=65536;var G=55296+(E>>10),F=56320+(E&1023);return String.fromCharCode(G,F)}return String.fromCharCode(E)}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=ba;function m(E,G){var F;return s(d,G)?d[G]:G.charCodeAt(0)===35&&p.test(G)&&(F=G[1].toLowerCase()==="x"?parseInt(G.slice(2),16):parseInt(G.slice(1),10),i(F))?a(F):E}function b(E){return E.indexOf("\\")<0?E:E.replace(l,"$1")}function I(E){return E.indexOf("\\")<0&&E.indexOf("&")<0?E:E.replace(f,function(G,F,v){return F||m(G,v)})}var k=/[&<>"]/,w=/[&<>"]/g,M={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function R(E){return M[E]}function $(E){return k.test(E)?E.replace(w,R):E}var T=/[.?*+^$[\]\\(){}|-]/g;function Z(E){return E.replace(T,"\\$&")}function ee(E){switch(E){case 9:case 32:return!0}return!1}function H(E){if(E>=8192&&E<=8202)return!0;switch(E){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=Ys;function te(E){return z.test(E)}function q(E){switch(E){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 X(E){return E=E.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(E=E.replace(/ẞ/g,"ß")),E.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=fn,t.lib.ucmicro=Wd(),t.assign=o,t.isString=n,t.has=s,t.unescapeMd=b,t.unescapeAll=I,t.isValidEntityCode=i,t.fromCodePoint=a,t.escapeHtml=$,t.arrayReplaceAt=c,t.isSpace=ee,t.isWhiteSpace=H,t.isMdAsciiPunct=q,t.isPunctChar=te,t.escapeRE=Z,t.normalizeReference=X})(le);var Fr={},Jd=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},Na=le.unescapeAll,Yd=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=Na(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=Na(e.slice(n,c)),i.pos=c,i.ok=!0),i},Xd=le.unescapeAll,Qd=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=Xd(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};Fr.parseLinkLabel=Jd,Fr.parseLinkDestination=Yd,Fr.parseLinkTitle=Qd;var eg=le.assign,tg=le.unescapeAll,zt=le.escapeHtml,nt={};nt.code_inline=function(t,e,n,r,s){var o=t[e];return"<code"+s.renderAttrs(o)+">"+zt(o.content)+"</code>"},nt.code_block=function(t,e,n,r,s){var o=t[e];return"<pre"+s.renderAttrs(o)+"><code>"+zt(t[e].content)+`</code></pre>
24
+ `},nt.fence=function(t,e,n,r,s){var o=t[e],c=o.info?tg(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)||zt(o.content):l=zt(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
- `},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 />
27
+ `},nt.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)},nt.hardbreak=function(t,e,n){return n.xhtmlOut?`<br />
28
28
  `:`<br>
29
- `},Ye.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`<br />
29
+ `},nt.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=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+=`
32
+ `},nt.text=function(t,e){return zt(t[e].content)},nt.html_block=function(t,e){return t[e].content},nt.html_inline=function(t,e){return t[e].content};function pn(){this.rules=eg({},nt)}pn.prototype.renderAttrs=function(e){var n,r,s;if(!e.attrs)return"";for(s="",n=0,r=e.attrs.length;n<r;n++)s+=" "+zt(e.attrs[n][0])+'="'+zt(e.attrs[n][1])+'"';return s},pn.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
- `:">",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 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||"&lt;Empty response&gt;"),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"})});
34
+ `:">",o)},pn.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},pn.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},pn.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 ng=pn;function Ye(){this.__rules__=[],this.__cache__=null}Ye.prototype.__find__=function(t){for(var e=0;e<this.__rules__.length;e++)if(this.__rules__[e].name===t)return e;return-1},Ye.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))})})},Ye.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},Ye.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},Ye.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},Ye.prototype.push=function(t,e,n){var r=n||{};this.__rules__.push({name:t,enabled:!0,fn:e,alt:r.alt||[]}),this.__cache__=null},Ye.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},Ye.prototype.enableOnly=function(t,e){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(n){n.enabled=!1}),this.enable(t,e)},Ye.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},Ye.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]};var no=Ye,rg=/\r\n?|\n/g,sg=/\0/g,og=function(e){var n;n=e.src.replace(rg,`
36
+ `),n=n.replace(sg,"�"),e.src=n},cg=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)},ig=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)},ag=le.arrayReplaceAt;function lg(t){return/^<a[>\s]/i.test(t)}function ug(t){return/^<\/a\s*>/i.test(t)}var fg=function(e){var n,r,s,o,c,i,a,l,u,f,p,d,m,b,I,k,w=e.tokens,M;if(e.md.options.linkify){for(r=0,s=w.length;r<s;r++)if(!(w[r].type!=="inline"||!e.md.linkify.pretest(w[r].content)))for(o=w[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"&&(lg(i.content)&&m>0&&m--,ug(i.content)&&m++),!(m>0)&&i.type==="text"&&e.md.linkify.test(i.content)){for(u=i.content,M=e.md.linkify.match(u),a=[],d=i.level,p=0,M.length>0&&M[0].index===0&&n>0&&o[n-1].type==="text_special"&&(M=M.slice(1)),l=0;l<M.length;l++)b=M[l].url,I=e.md.normalizeLink(b),e.md.validateLink(I)&&(k=M[l].text,M[l].schema?M[l].schema==="mailto:"&&!/^mailto:/i.test(k)?k=e.md.normalizeLinkText("mailto:"+k).replace(/^mailto:/,""):k=e.md.normalizeLinkText(k):k=e.md.normalizeLinkText("http://"+k).replace(/^http:\/\//,""),f=M[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",I]],c.level=d++,c.markup="linkify",c.info="auto",a.push(c),c=new e.Token("text","",0),c.content=k,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=M[l].lastIndex);p<u.length&&(c=new e.Token("text","",0),c.content=u.slice(p),c.level=d,a.push(c)),w[r].children=o=ag(o,n,a)}}}},Ia=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,pg=/\((c|tm|r)\)/i,hg=/\((c|tm|r)\)/ig,dg={c:"©",r:"®",tm:"™"};function gg(t,e){return dg[e.toLowerCase()]}function mg(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(hg,gg)),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}function bg(t){var e,n,r=0;for(e=t.length-1;e>=0;e--)n=t[e],n.type==="text"&&!r&&Ia.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 _g=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(pg.test(e.tokens[n].content)&&mg(e.tokens[n].children),Ia.test(e.tokens[n].content)&&bg(e.tokens[n].children))},Ma=le.isWhiteSpace,Oa=le.isPunctChar,Fa=le.isMdAsciiPunct,vg=/['"]/,Ba=/['"]/g,Pa="’";function Br(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function yg(t,e){var n,r,s,o,c,i,a,l,u,f,p,d,m,b,I,k,w,M,R,$,T;for(R=[],n=0;n<t.length;n++){for(r=t[n],a=t[n].level,w=R.length-1;w>=0&&!(R[w].level<=a);w--);if(R.length=w+1,r.type==="text"){s=r.content,c=0,i=s.length;e:for(;c<i&&(Ba.lastIndex=c,o=Ba.exec(s),!!o);){if(I=k=!0,c=o.index+1,M=o[0]==="'",u=32,o.index-1>=0)u=s.charCodeAt(o.index-1);else for(w=n-1;w>=0&&!(t[w].type==="softbreak"||t[w].type==="hardbreak");w--)if(t[w].content){u=t[w].content.charCodeAt(t[w].content.length-1);break}if(f=32,c<i)f=s.charCodeAt(c);else for(w=n+1;w<t.length&&!(t[w].type==="softbreak"||t[w].type==="hardbreak");w++)if(t[w].content){f=t[w].content.charCodeAt(0);break}if(p=Fa(u)||Oa(String.fromCharCode(u)),d=Fa(f)||Oa(String.fromCharCode(f)),m=Ma(u),b=Ma(f),b?I=!1:d&&(m||p||(I=!1)),m?k=!1:p&&(b||d||(k=!1)),f===34&&o[0]==='"'&&u>=48&&u<=57&&(k=I=!1),I&&k&&(I=p,k=d),!I&&!k){M&&(r.content=Br(r.content,o.index,Pa));continue}if(k){for(w=R.length-1;w>=0&&(l=R[w],!(R[w].level<a));w--)if(l.single===M&&R[w].level===a){l=R[w],M?($=e.md.options.quotes[2],T=e.md.options.quotes[3]):($=e.md.options.quotes[0],T=e.md.options.quotes[1]),r.content=Br(r.content,o.index,T),t[l.token].content=Br(t[l.token].content,l.pos,$),c+=T.length-1,l.token===n&&(c+=$.length-1),s=r.content,i=s.length,R.length=w;continue e}}I?R.push({token:n,pos:o.index,single:M,level:a}):k&&M&&(r.content=Br(r.content,o.index,Pa))}}}}var xg=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type!=="inline"||!vg.test(e.tokens[n].content)||yg(e.tokens[n].children,e)},wg=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 hn(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}hn.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},hn.prototype.attrPush=function(e){this.attrs?this.attrs.push(e):this.attrs=[e]},hn.prototype.attrSet=function(e,n){var r=this.attrIndex(e),s=[e,n];r<0?this.attrPush(s):this.attrs[r]=s},hn.prototype.attrGet=function(e){var n=this.attrIndex(e),r=null;return n>=0&&(r=this.attrs[n][1]),r},hn.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 ro=hn,Eg=ro;function $a(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}$a.prototype.Token=Eg;var kg=$a,Ag=no,so=[["normalize",og],["block",cg],["inline",ig],["linkify",fg],["replacements",_g],["smartquotes",xg],["text_join",wg]];function oo(){this.ruler=new Ag;for(var t=0;t<so.length;t++)this.ruler.push(so[t][0],so[t][1])}oo.prototype.process=function(t){var e,n,r;for(r=this.ruler.getRules(""),e=0,n=r.length;e<n;e++)r[e](t)},oo.prototype.State=kg;var Cg=oo,co=le.isSpace;function io(t,e){var n=t.bMarks[e]+t.tShift[e],r=t.eMarks[e];return t.src.slice(n,r)}function Ua(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 Sg=function(e,n,r,s){var o,c,i,a,l,u,f,p,d,m,b,I,k,w,M,R,$,T;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])||($=e.src.charCodeAt(i++),$!==124&&$!==45&&$!==58)||i>=e.eMarks[u]||(T=e.src.charCodeAt(i++),T!==124&&T!==45&&T!==58&&!co(T))||$===45&&co(T))return!1;for(;i<e.eMarks[u];){if(o=e.src.charCodeAt(i),o!==124&&o!==45&&o!==58&&!co(o))return!1;i++}for(c=io(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=io(e,n).trim(),c.indexOf("|")===-1||e.sCount[n]-e.blkIndent>=4||(f=Ua(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(w=e.parentType,e.parentType="table",R=e.md.block.ruler.getRules("blockquote"),d=e.push("table_open","table",1),d.map=I=[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(M=!1,a=0,l=R.length;a<l;a++)if(R[a](e,u,r,!0)){M=!0;break}if(M||(c=io(e,u).trim(),!c)||e.sCount[u]-e.blkIndent>=4)break;for(f=Ua(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=k=[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 k&&(d=e.push("tbody_close","tbody",-1),k[1]=u),d=e.push("table_close","table",-1),I[1]=u,e.parentType=w,e.line=u,!0},Tg=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},Dg=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},Rg=le.isSpace,qg=function(e,n,r,s){var o,c,i,a,l,u,f,p,d,m,b,I,k,w,M,R,$,T,Z,ee,H=e.lineMax,z=e.bMarks[n]+e.tShift[n],te=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(z)!==62)return!1;if(s)return!0;for(m=[],b=[],w=[],M=[],T=e.md.block.ruler.getRules("blockquote"),k=e.parentType,e.parentType="blockquote",p=n;p<r&&(ee=e.sCount[p]<e.blkIndent,z=e.bMarks[p]+e.tShift[p],te=e.eMarks[p],!(z>=te));p++){if(e.src.charCodeAt(z++)===62&&!ee){for(a=e.sCount[p]+1,e.src.charCodeAt(z)===32?(z++,a++,o=!1,R=!0):e.src.charCodeAt(z)===9?(R=!0,(e.bsCount[p]+a)%4===3?(z++,a++,o=!1):o=!0):R=!1,d=a,m.push(e.bMarks[p]),e.bMarks[p]=z;z<te&&(c=e.src.charCodeAt(z),Rg(c));){c===9?d+=4-(d+e.bsCount[p]+(o?1:0))%4:d++;z++}u=z>=te,b.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(R?1:0),w.push(e.sCount[p]),e.sCount[p]=d-a,M.push(e.tShift[p]),e.tShift[p]=z-e.bMarks[p];continue}if(u)break;for($=!1,i=0,l=T.length;i<l;i++)if(T[i](e,p,r,!0)){$=!0;break}if($){e.lineMax=p,e.blkIndent!==0&&(m.push(e.bMarks[p]),b.push(e.bsCount[p]),M.push(e.tShift[p]),w.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}m.push(e.bMarks[p]),b.push(e.bsCount[p]),M.push(e.tShift[p]),w.push(e.sCount[p]),e.sCount[p]=-1}for(I=e.blkIndent,e.blkIndent=0,Z=e.push("blockquote_open","blockquote",1),Z.markup=">",Z.map=f=[n,0],e.md.block.tokenize(e,n,p),Z=e.push("blockquote_close","blockquote",-1),Z.markup=">",e.lineMax=H,e.parentType=k,f[1]=e.line,i=0;i<M.length;i++)e.bMarks[i+n]=m[i],e.tShift[i+n]=M[i],e.sCount[i+n]=w[i],e.bsCount[i+n]=b[i];return e.blkIndent=I,!0},Lg=le.isSpace,Ng=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&&!Lg(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)},za=le.isSpace;function Ha(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),!za(o))?-1:r}function Va(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),!za(n))?-1:s}function Ig(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 Mg=function(e,n,r,s){var o,c,i,a,l,u,f,p,d,m,b,I,k,w,M,R,$,T,Z,ee,H,z,te,q,X,E,G,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=Va(e,F))>=0){if(f=!0,q=e.bMarks[F]+e.tShift[F],k=Number(e.src.slice(q,z-1)),v&&k!==1)return!1}else if((z=Ha(e,F))>=0)f=!1;else return!1;if(v&&e.skipSpaces(z)>=e.eMarks[F])return!1;if(s)return!0;for(I=e.src.charCodeAt(z-1),b=e.tokens.length,f?(G=e.push("ordered_list_open","ol",1),k!==1&&(G.attrs=[["start",k]])):G=e.push("bullet_list_open","ul",1),G.map=m=[F,0],G.markup=String.fromCharCode(I),te=!1,E=e.md.block.ruler.getRules("list"),$=e.parentType,e.parentType="list";F<r;){for(H=z,w=e.eMarks[F],u=M=e.sCount[F]+z-(e.bMarks[F]+e.tShift[F]);H<w;){if(o=e.src.charCodeAt(H),o===9)M+=4-(M+e.bsCount[F])%4;else if(o===32)M++;else break;H++}if(c=H,c>=w?l=1:l=M-u,l>4&&(l=1),a=u+l,G=e.push("list_item_open","li",1),G.markup=String.fromCharCode(I),G.map=p=[F,0],f&&(G.info=e.src.slice(q,z-1)),ee=e.tight,Z=e.tShift[F],T=e.sCount[F],R=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=a,e.tight=!0,e.tShift[F]=c-e.bMarks[F],e.sCount[F]=M,c>=w&&e.isEmpty(F+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,F,r,!0),(!e.tight||te)&&(C=!1),te=e.line-F>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=R,e.tShift[F]=Z,e.sCount[F]=T,e.tight=ee,G=e.push("list_item_close","li",-1),G.markup=String.fromCharCode(I),F=e.line,p[1]=F,F>=r||e.sCount[F]<e.blkIndent||e.sCount[F]-e.blkIndent>=4)break;for(X=!1,i=0,d=E.length;i<d;i++)if(E[i](e,F,r,!0)){X=!0;break}if(X)break;if(f){if(z=Va(e,F),z<0)break;q=e.bMarks[F]+e.tShift[F]}else if(z=Ha(e,F),z<0)break;if(I!==e.src.charCodeAt(z-1))break}return f?G=e.push("ordered_list_close","ol",-1):G=e.push("bullet_list_close","ul",-1),G.markup=String.fromCharCode(I),m[1]=F,e.line=F,e.parentType=$,C&&Ig(e,b),!0},Og=le.normalizeReference,Pr=le.isSpace,Fg=function(e,n,r,s){var o,c,i,a,l,u,f,p,d,m,b,I,k,w,M,R,$=0,T=e.bMarks[n]+e.tShift[n],Z=e.eMarks[n],ee=n+1;if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(T)!==91)return!1;for(;++T<Z;)if(e.src.charCodeAt(T)===93&&e.src.charCodeAt(T-1)!==92){if(T+1===Z||e.src.charCodeAt(T+1)!==58)return!1;break}for(a=e.lineMax,M=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";ee<a&&!e.isEmpty(ee);ee++)if(!(e.sCount[ee]-e.blkIndent>3)&&!(e.sCount[ee]<0)){for(w=!1,u=0,f=M.length;u<f;u++)if(M[u](e,ee,a,!0)){w=!0;break}if(w)break}for(k=e.getLines(n,ee,e.blkIndent,!1).trim(),Z=k.length,T=1;T<Z;T++){if(o=k.charCodeAt(T),o===91)return!1;if(o===93){d=T;break}else o===10?$++:o===92&&(T++,T<Z&&k.charCodeAt(T)===10&&$++)}if(d<0||k.charCodeAt(d+1)!==58)return!1;for(T=d+2;T<Z;T++)if(o=k.charCodeAt(T),o===10)$++;else if(!Pr(o))break;if(b=e.md.helpers.parseLinkDestination(k,T,Z),!b.ok||(l=e.md.normalizeLink(b.str),!e.md.validateLink(l)))return!1;for(T=b.pos,$+=b.lines,c=T,i=$,I=T;T<Z;T++)if(o=k.charCodeAt(T),o===10)$++;else if(!Pr(o))break;for(b=e.md.helpers.parseLinkTitle(k,T,Z),T<Z&&I!==T&&b.ok?(R=b.str,T=b.pos,$+=b.lines):(R="",T=c,$=i);T<Z&&(o=k.charCodeAt(T),!!Pr(o));)T++;if(T<Z&&k.charCodeAt(T)!==10&&R)for(R="",T=c,$=i;T<Z&&(o=k.charCodeAt(T),!!Pr(o));)T++;return T<Z&&k.charCodeAt(T)!==10||(p=Og(k.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:R,href:l}),e.parentType=m,e.line=n+$+1),!0)},Bg=["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"],$r={},Pg="[a-zA-Z_:][a-zA-Z0-9:._-]*",$g="[^\"'=<>`\\x00-\\x20]+",Ug="'[^']*'",zg='"[^"]*"',Hg="(?:"+$g+"|"+Ug+"|"+zg+")",Vg="(?:\\s+"+Pg+"(?:\\s*=\\s*"+Hg+")?)",Ga="<[A-Za-z][A-Za-z0-9\\-]*"+Vg+"*\\s*\\/?>",ja="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Gg="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",jg="<[?][\\s\\S]*?[?]>",Kg="<![A-Z]+\\s+[^>]*>",Zg="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",Wg=new RegExp("^(?:"+Ga+"|"+ja+"|"+Gg+"|"+jg+"|"+Kg+"|"+Zg+")"),Jg=new RegExp("^(?:"+Ga+"|"+ja+")");$r.HTML_TAG_RE=Wg,$r.HTML_OPEN_CLOSE_TAG_RE=Jg;var Yg=Bg,Xg=$r.HTML_OPEN_CLOSE_TAG_RE,dn=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+Yg.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Xg.source+"\\s*$"),/^$/,!1]],Qg=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<dn.length&&!dn[o][0].test(a);o++);if(o===dn.length)return!1;if(s)return dn[o][2];if(c=n+1,!dn[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),dn[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},Ka=le.isSpace,em=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&&!Ka(o)?!1:(s||(u=e.skipSpacesBack(u,l),i=e.skipCharsBack(u,35,l),i>l&&Ka(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)},tm=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},nm=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},Za=ro,Ur=le.isSpace;function rt(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(Ur(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}rt.prototype.push=function(t,e,n){var r=new Za(t,e,n);return r.block=!0,n<0&&this.level--,r.level=this.level,n>0&&this.level++,this.tokens.push(r),r},rt.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},rt.prototype.skipEmptyLines=function(e){for(var n=this.lineMax;e<n&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e},rt.prototype.skipSpaces=function(e){for(var n,r=this.src.length;e<r&&(n=this.src.charCodeAt(e),!!Ur(n));e++);return e},rt.prototype.skipSpacesBack=function(e,n){if(e<=n)return e;for(;e>n;)if(!Ur(this.src.charCodeAt(--e)))return e+1;return e},rt.prototype.skipChars=function(e,n){for(var r=this.src.length;e<r&&this.src.charCodeAt(e)===n;e++);return e},rt.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},rt.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),Ur(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("")},rt.prototype.Token=Za;var rm=rt,sm=no,zr=[["table",Sg,["paragraph","reference"]],["code",Tg],["fence",Dg,["paragraph","reference","blockquote","list"]],["blockquote",qg,["paragraph","reference","blockquote","list"]],["hr",Ng,["paragraph","reference","blockquote","list"]],["list",Mg,["paragraph","reference","blockquote"]],["reference",Fg],["html_block",Qg,["paragraph","reference","blockquote"]],["heading",em,["paragraph","reference","blockquote"]],["lheading",tm],["paragraph",nm]];function Hr(){this.ruler=new sm;for(var t=0;t<zr.length;t++)this.ruler.push(zr[t][0],zr[t][1],{alt:(zr[t][2]||[]).slice()})}Hr.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)}},Hr.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))},Hr.prototype.State=rm;var om=Hr;function cm(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 im=function(e,n){for(var r=e.pos;r<e.posMax&&!cm(e.src.charCodeAt(r));)r++;return r===e.pos?!1:(n||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)},am=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,lm=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(am),!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)},um=le.isSpace,fm=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&&um(e.src.charCodeAt(c));)c++;return e.pos=c,!0},pm=le.isSpace,ao=[],Wa=0;Wa<256;Wa++)ao.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){ao[t.charCodeAt(0)]=1});var hm=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),!!pm(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&&ao[r]!==0?i.content=c:i.content=o,i.markup=o,i.info="escape"),e.pos=a+1,!0},dm=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},Vr={};Vr.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 Ja(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)}}Vr.postProcess=function(e){var n,r=e.tokens_meta,s=e.tokens_meta.length;for(Ja(e,e.delimiters),n=0;n<s;n++)r[n]&&r[n].delimiters&&Ja(e,r[n].delimiters)};var Gr={};Gr.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 Ya(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--))}Gr.postProcess=function(e){var n,r=e.tokens_meta,s=e.tokens_meta.length;for(Ya(e,e.delimiters),n=0;n<s;n++)r[n]&&r[n].delimiters&&Ya(e,r[n].delimiters)};var gm=le.normalizeReference,lo=le.isSpace,mm=function(e,n){var r,s,o,c,i,a,l,u,f,p="",d="",m=e.pos,b=e.posMax,I=e.pos,k=!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(k=!1,a++;a<b&&(s=e.src.charCodeAt(a),!(!lo(s)&&s!==10));a++);if(a>=b)return!1;if(I=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="",I=a;a<b&&(s=e.src.charCodeAt(a),!(!lo(s)&&s!==10));a++);if(l=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<b&&I!==a&&l.ok)for(d=l.str,a=l.pos;a<b&&(s=e.src.charCodeAt(a),!(!lo(s)&&s!==10));a++);}(a>=b||e.src.charCodeAt(a)!==41)&&(k=!0),a++}if(k){if(typeof e.env.references>"u")return!1;if(a<b&&e.src.charCodeAt(a)===91?(I=a+1,a=e.md.helpers.parseLinkLabel(e,a),a>=0?o=e.src.slice(I,a++):a=c+1):a=c+1,o||(o=e.src.slice(i,c)),u=e.env.references[gm(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},bm=le.normalizeReference,uo=le.isSpace,_m=function(e,n){var r,s,o,c,i,a,l,u,f,p,d,m,b,I="",k=e.pos,w=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<w&&e.src.charCodeAt(l)===40){for(l++;l<w&&(s=e.src.charCodeAt(l),!(!uo(s)&&s!==10));l++);if(l>=w)return!1;for(b=l,f=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),f.ok&&(I=e.md.normalizeLink(f.str),e.md.validateLink(I)?l=f.pos:I=""),b=l;l<w&&(s=e.src.charCodeAt(l),!(!uo(s)&&s!==10));l++);if(f=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<w&&b!==l&&f.ok)for(p=f.str,l=f.pos;l<w&&(s=e.src.charCodeAt(l),!(!uo(s)&&s!==10));l++);else p="";if(l>=w||e.src.charCodeAt(l)!==41)return e.pos=k,!1;l++}else{if(typeof e.env.references>"u")return!1;if(l<w&&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[bm(c)],!u)return e.pos=k,!1;I=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",I],["alt",""]],d.children=m,d.content=o,p&&r.push(["title",p])),e.pos=l,e.posMax=w,!0},vm=/^([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])?)*)$/,ym=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,xm=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),ym.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):vm.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},wm=$r.HTML_TAG_RE;function Em(t){return/^<a[>\s]/i.test(t)}function km(t){return/^<\/a\s*>/i.test(t)}function Am(t){var e=t|32;return e>=97&&e<=122}var Cm=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&&!Am(r))||(s=e.src.slice(i).match(wm),!s)?!1:(n||(c=e.push("html_inline","",0),c.content=s[0],Em(c.content)&&e.linkLevel++,km(c.content)&&e.linkLevel--),e.pos+=s[0].length,!0)},Xa=ba,Sm=le.has,Tm=le.isValidEntityCode,Qa=le.fromCodePoint,Dm=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Rm=/^&([a-z][a-z0-9]{1,31});/i,qm=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(Dm),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=Tm(s)?Qa(s):Qa(65533),c.markup=o[0],c.info="entity"),e.pos+=o[0].length,!0}else if(o=e.src.slice(i).match(Rm),o&&Sm(Xa,o[1]))return n||(c=e.push("text_special","",0),c.content=Xa[o[1]],c.markup=o[0],c.info="entity"),e.pos+=o[0].length,!0;return!1};function el(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 Lm=function(e){var n,r=e.tokens_meta,s=e.tokens_meta.length;for(el(e.delimiters),n=0;n<s;n++)r[n]&&r[n].delimiters&&el(r[n].delimiters)},Nm=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)},fo=ro,tl=le.isWhiteSpace,nl=le.isPunctChar,rl=le.isMdAsciiPunct;function zn(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}zn.prototype.pushPending=function(){var t=new fo("text","",0);return t.content=this.pending,t.level=this.pendingLevel,this.tokens.push(t),this.pending="",t},zn.prototype.push=function(t,e,n){this.pending&&this.pushPending();var r=new fo(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},zn.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=rl(r)||nl(String.fromCharCode(r)),f=rl(s)||nl(String.fromCharCode(s)),a=tl(r),u=tl(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}},zn.prototype.Token=fo;var Im=zn,sl=no,po=[["text",im],["linkify",lm],["newline",fm],["escape",hm],["backticks",dm],["strikethrough",Vr.tokenize],["emphasis",Gr.tokenize],["link",mm],["image",_m],["autolink",xm],["html_inline",Cm],["entity",qm]],ho=[["balance_pairs",Lm],["strikethrough",Vr.postProcess],["emphasis",Gr.postProcess],["fragments_join",Nm]];function Hn(){var t;for(this.ruler=new sl,t=0;t<po.length;t++)this.ruler.push(po[t][0],po[t][1]);for(this.ruler2=new sl,t=0;t<ho.length;t++)this.ruler2.push(ho[t][0],ho[t][1])}Hn.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},Hn.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()},Hn.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)},Hn.prototype.State=Im;var Mm=Hn,go,ol;function Om(){return ol||(ol=1,go=function(t){var e={};t=t||{},e.src_Any=Ca().source,e.src_Cc=Ta().source,e.src_Z=qa().source,e.src_P=Ys.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}),go}function mo(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 jr(t){return Object.prototype.toString.call(t)}function Fm(t){return jr(t)==="[object String]"}function Bm(t){return jr(t)==="[object Object]"}function Pm(t){return jr(t)==="[object RegExp]"}function cl(t){return jr(t)==="[object Function]"}function $m(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var il={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Um(t){return Object.keys(t||{}).reduce(function(e,n){return e||il.hasOwnProperty(n)},!1)}var zm={"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}}},Hm="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]",Vm="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Gm(t){t.__index__=-1,t.__text_cache__=""}function jm(t){return function(e,n){var r=e.slice(n);return t.test(r)?r.match(t)[0].length:0}}function al(){return function(t,e){e.normalize(t)}}function Kr(t){var e=t.re=Om()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(Hm),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,Bm(a)){Pm(a.validate)?l.validate=jm(a.validate):cl(a.validate)?l.validate=a.validate:o(i,a),cl(a.normalize)?l.normalize=a.normalize:a.normalize?o(i,a):l.normalize=al();return}if(Fm(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:al()};var c=Object.keys(t.__compiled__).filter(function(i){return i.length>0&&t.__compiled__[i]}).map($m).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"),Gm(t)}function Km(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 bo(t,e){var n=new Km(t,e);return t.__compiled__[n.schema].normalize(n,t),n}function ze(t,e){if(!(this instanceof ze))return new ze(t,e);e||Um(t)&&(e=t,t={}),this.__opts__=mo({},il,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=mo({},zm,t),this.__compiled__={},this.__tlds__=Vm,this.__tlds_replaced__=!1,this.re={},Kr(this)}ze.prototype.add=function(e,n){return this.__schemas__[e]=n,Kr(this),this},ze.prototype.set=function(e){return this.__opts__=mo(this.__opts__,e),this},ze.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},ze.prototype.pretest=function(e){return this.re.pretest.test(e)},ze.prototype.testSchemaAt=function(e,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,r,this):0},ze.prototype.match=function(e){var n=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(bo(this,n)),n=this.__last_index__);for(var s=n?e.slice(n):e;this.test(s);)r.push(bo(this,n)),s=s.slice(this.__last_index__),n+=this.__last_index__;return r.length?r:null},ze.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,bo(this,0)):null},ze.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(),Kr(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Kr(this),this)},ze.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)},ze.prototype.onCompile=function(){};var Zm=ze;const gn=2147483647,st=36,_o=1,Vn=26,Wm=38,Jm=700,ll=72,ul=128,fl="-",Ym=/^xn--/,Xm=/[^\0-\x7F]/,Qm=/[\x2E\u3002\uFF0E\uFF61]/g,eb={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},vo=st-_o,ot=Math.floor,yo=String.fromCharCode;function Tt(t){throw new RangeError(eb[t])}function tb(t,e){const n=[];let r=t.length;for(;r--;)n[r]=e(t[r]);return n}function pl(t,e){const n=t.split("@");let r="";n.length>1&&(r=n[0]+"@",t=n[1]),t=t.replace(Qm,".");const s=t.split("."),o=tb(s,e).join(".");return r+o}function xo(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 hl=t=>String.fromCodePoint(...t),nb=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:st},dl=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},gl=function(t,e,n){let r=0;for(t=n?ot(t/Jm):t>>1,t+=ot(t/e);t>vo*Vn>>1;r+=st)t=ot(t/vo);return ot(r+(vo+1)*t/(t+Wm))},wo=function(t){const e=[],n=t.length;let r=0,s=ul,o=ll,c=t.lastIndexOf(fl);c<0&&(c=0);for(let i=0;i<c;++i)t.charCodeAt(i)>=128&&Tt("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=st;;f+=st){i>=n&&Tt("invalid-input");const p=nb(t.charCodeAt(i++));p>=st&&Tt("invalid-input"),p>ot((gn-r)/u)&&Tt("overflow"),r+=p*u;const d=f<=o?_o:f>=o+Vn?Vn:f-o;if(p<d)break;const m=st-d;u>ot(gn/m)&&Tt("overflow"),u*=m}const l=e.length+1;o=gl(r-a,l,a==0),ot(r/l)>gn-s&&Tt("overflow"),s+=ot(r/l),r%=l,e.splice(r++,0,s)}return String.fromCodePoint(...e)},Eo=function(t){const e=[];t=xo(t);const n=t.length;let r=ul,s=0,o=ll;for(const a of t)a<128&&e.push(yo(a));const c=e.length;let i=c;for(c&&e.push(fl);i<n;){let a=gn;for(const u of t)u>=r&&u<a&&(a=u);const l=i+1;a-r>ot((gn-s)/l)&&Tt("overflow"),s+=(a-r)*l,r=a;for(const u of t)if(u<r&&++s>gn&&Tt("overflow"),u===r){let f=s;for(let p=st;;p+=st){const d=p<=o?_o:p>=o+Vn?Vn:p-o;if(f<d)break;const m=f-d,b=st-d;e.push(yo(dl(d+m%b,0))),f=ot(m/b)}e.push(yo(dl(f,0))),o=gl(s,l,i===c),s=0,++i}++s,++r}return e.join("")},ml=function(t){return pl(t,function(e){return Ym.test(e)?wo(e.slice(4).toLowerCase()):e})},bl=function(t){return pl(t,function(e){return Xm.test(e)?"xn--"+Eo(e):e})},rb=kp(Object.freeze(Object.defineProperty({__proto__:null,decode:wo,default:{version:"2.3.1",ucs2:{decode:xo,encode:hl},decode:wo,encode:Eo,toASCII:bl,toUnicode:ml},encode:Eo,toASCII:bl,toUnicode:ml,ucs2decode:xo,ucs2encode:hl},Symbol.toStringTag,{value:"Module"})));var sb={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},ob={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"]}}},cb={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"]}}},Gn=le,ib=Fr,ab=ng,lb=Cg,ub=om,fb=Mm,pb=Zm,Ht=fn,_l=rb,hb={default:sb,zero:ob,commonmark:cb},db=/^(vbscript|javascript|file|data):/,gb=/^data:image\/(gif|png|jpeg|webp);/;function mb(t){var e=t.trim().toLowerCase();return db.test(e)?!!gb.test(e):!0}var vl=["http:","https:","mailto:"];function bb(t){var e=Ht.parse(t,!0);if(e.hostname&&(!e.protocol||vl.indexOf(e.protocol)>=0))try{e.hostname=_l.toASCII(e.hostname)}catch{}return Ht.encode(Ht.format(e))}function _b(t){var e=Ht.parse(t,!0);if(e.hostname&&(!e.protocol||vl.indexOf(e.protocol)>=0))try{e.hostname=_l.toUnicode(e.hostname)}catch{}return Ht.decode(Ht.format(e),Ht.decode.defaultChars+"%")}function Ze(t,e){if(!(this instanceof Ze))return new Ze(t,e);e||Gn.isString(t)||(e=t||{},t="default"),this.inline=new fb,this.block=new ub,this.core=new lb,this.renderer=new ab,this.linkify=new pb,this.validateLink=mb,this.normalizeLink=bb,this.normalizeLinkText=_b,this.utils=Gn,this.helpers=Gn.assign({},ib),this.options={},this.configure(t),e&&this.set(e)}Ze.prototype.set=function(t){return Gn.assign(this.options,t),this},Ze.prototype.configure=function(t){var e=this,n;if(Gn.isString(t)&&(n=t,t=hb[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},Ze.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},Ze.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},Ze.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},Ze.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},Ze.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)},Ze.prototype.parseInline=function(t,e){var n=new this.core.State(t,this,e);return n.inlineMode=!0,this.core.process(n),n.tokens},Ze.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};var vb=Ze,yb=vb;const xb=Vs(yb),wb=Ke({name:"VueMarkdown",props:{source:{type:String,required:!0},options:{type:Object,required:!1},plugins:{type:Array,required:!1}},setup(t){const e=qe(new xb(t.options??{}));for(const r of t.plugins??[])e.value.use(r);const n=Me(()=>e.value.render(t.source));return()=>ii("div",{innerHTML:n.value})}}),Eb={key:0,class:"chat-message-actions"},kb={key:2,class:"chat-message-files"},ko=Ke({__name:"Message",props:{message:{}},setup(t,{expose:e}){const n=t;gt.registerLanguage("javascript",oa),gt.registerLanguage("typescript",Td),gt.registerLanguage("python",Cd),gt.registerLanguage("xml",ca),gt.registerLanguage("bash",Ad);const{message:r}=lu(n),{options:s}=Un(),o=qe(null),c=qe({}),i=Me(()=>r.value.text||"&lt;Empty response&gt;"),a=Me(()=>({"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(Ld,{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&&gt.getLanguage(b))try{return gt.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,I)=>{const k=new FileReader;k.onload=()=>b(k.result),k.onerror=I,k.readAsDataURL(m)});return wt(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)=>(j(),ce("div",{ref_key:"messageContainer",ref:o,class:Jt(["chat-message",a.value])},[m.$slots.beforeMessage?(j(),ce("div",Eb,[It(m.$slots,"beforeMessage",Lo(Qc({message:se(r)})))])):Ue("",!0),It(m.$slots,"default",{},()=>[se(r).type==="component"&&p[se(r).key]?(j(),_e(Bu(p[se(r).key]),Lo(Ms({key:0},se(r).arguments)),null,16)):(j(),_e(se(wb),{key:1,class:"chat-message-markdown",source:i.value,options:f,plugins:[l]},null,8,["source","plugins"])),(se(r).files??[]).length>0?(j(),ce("div",kb,[(j(!0),ce(Ee,null,mr(se(r).files??[],I=>(j(),ce("div",{key:I.name,class:"chat-message-file"},[be(aa,{file:I,"is-removable":!1,"is-previewable":!0},null,8,["file"])]))),128))])):Ue("",!0)])],2))}}),Ab=Ke({__name:"MessageTyping",props:{animation:{default:"bouncing"}},setup(t){const e=t,n={id:"typing",text:"",sender:"bot",createdAt:""},r=qe(),s=Me(()=>({"chat-message-typing":!0,[`chat-message-typing-animation-${e.animation}`]:!0}));return wt(()=>{var o;(o=r.value)==null||o.scrollToView()}),(o,c)=>(j(),_e(se(ko),{ref_key:"messageContainer",ref:r,class:Jt(s.value),message:n},{default:pt(()=>c[0]||(c[0]=[he("div",{class:"chat-message-typing-body"},[he("span",{class:"chat-message-typing-circle"}),he("span",{class:"chat-message-typing-circle"}),he("span",{class:"chat-message-typing-circle"})],-1)])),_:1},8,["class"]))}}),Cb={class:"chat-messages-list"},Sb=Ke({__name:"MessagesList",props:{messages:{}},setup(t){const e=Js(),n=qe([]),{initialMessages:r,waitingForResponse:s}=e;return _r(()=>n.value.length,()=>{const o=n.value[n.value.length-1];o&&o.scrollToView()}),(o,c)=>(j(),ce("div",Cb,[(j(!0),ce(Ee,null,mr(se(r),i=>(j(),_e(ko,{key:i.id,message:i},null,8,["message"]))),128)),(j(!0),ce(Ee,null,mr(o.messages,i=>(j(),_e(ko,{key:i.id,ref_for:!0,ref_key:"messageComponents",ref:n,message:i},{beforeMessage:pt(({message:a})=>[It(o.$slots,"beforeMessage",Ms({ref_for:!0},{message:a}))]),_:2},1032,["message"]))),128)),se(s)?(j(),_e(Ab,{key:0})):Ue("",!0)]))}}),Tb={class:"chat-heading"},Db=["title"],Rb={key:0},yl=Ke({__name:"Chat",setup(t){const{t:e}=Lr(),n=Js(),{messages:r,currentSessionId:s}=n,{options:o}=Un(),c=Me(()=>o.mode==="window"&&o.showWindowCloseButton);async function i(){n.startNewSession&&(n.startNewSession(),rn(()=>{Be.emit("scrollToBottom")}))}async function a(){n.loadPreviousSession&&(await n.loadPreviousSession(),rn(()=>{Be.emit("scrollToBottom")}))}function l(){Be.emit("close")}return wt(async()=>{await a(),!o.showWelcomeScreen&&!s.value&&await i()}),(u,f)=>(j(),_e(kd,{class:"chat-wrapper"},{header:pt(()=>[he("div",Tb,[he("h1",null,Yt(se(e)("title")),1),c.value?(j(),ce("button",{key:0,class:"chat-close-button",title:se(e)("closeButtonTooltip"),onClick:l},[be(se(Sh),{height:"18",width:"18"})],8,Db)):Ue("",!0)]),se(e)("subtitle")?(j(),ce("p",Rb,Yt(se(e)("subtitle")),1)):Ue("",!0)]),footer:pt(()=>[se(s)?(j(),_e(yd,{key:0})):(j(),_e(Oh,{key:1}))]),default:pt(()=>[!se(s)&&se(o).showWelcomeScreen?(j(),_e(Dh,{key:0,"onClick:button":i})):(j(),_e(Sb,{key:1,messages:se(r)},null,8,["messages"]))]),_:1}))}}),qb={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Lb(t,e){return j(),ce("svg",qb,e[0]||(e[0]=[he("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)]))}const Nb={name:"mdi-chat",render:Lb},Ib={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Mb(t,e){return j(),ce("svg",Ib,e[0]||(e[0]=[he("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z"},null,-1)]))}const Ob={name:"mdi-chevron-down",render:Mb},Fb={class:"chat-window-wrapper"},Bb={class:"chat-window"},Pb=Ke({__name:"ChatWindow",setup(t){const e=qe(!1);function n(){e.value=!e.value,e.value&&rn(()=>{Be.emit("scrollToBottom")})}return(r,s)=>(j(),ce("div",Fb,[be(pi,{name:"chat-window-transition"},{default:pt(()=>[hc(he("div",Bb,[be(yl)],512),[[$f,e.value]])]),_:1}),he("div",{class:"chat-window-toggle",onClick:n},[be(pi,{name:"chat-window-toggle-transition",mode:"out-in"},{default:pt(()=>[e.value?(j(),_e(se(Ob),{key:1,height:"32",width:"32"})):(j(),_e(se(Nb),{key:0,height:"32",width:"32"}))]),_:1})])]))}}),$b=Ke({__name:"App",props:{},setup(t){const{options:e}=Un(),n=Me(()=>e.mode==="fullscreen");return wt(()=>{gt.registerLanguage("xml",ca),gt.registerLanguage("javascript",oa)}),(r,s)=>n.value?(j(),_e(se(yl),{key:0,class:"n8n-chat"})):(j(),_e(se(Pb),{key:1,class:"n8n-chat"}))}});function Ub(t){var s,o;const e={...Fn,...t,webhookConfig:{...Fn.webhookConfig,...t==null?void 0:t.webhookConfig},i18n:{...Fn.i18n,...t==null?void 0:t.i18n,en:{...(s=Fn.i18n)==null?void 0:s.en,...(o=t==null?void 0:t.i18n)==null?void 0:o.en}},theme:{...Fn.theme,...t==null?void 0:t.theme}},n=e.target??pp;typeof n=="string"&&wp(n);const r=lp($b);return r.use(Ep,e),r.mount(n),r}Kt.createChat=Ub,Object.defineProperty(Kt,Symbol.toStringTag,{value:"Module"})});