@n8n/chat 0.30.0 → 0.31.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.
@@ -2,25 +2,25 @@
2
2
  * @vue/shared v3.5.11
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
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};/**
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=()=>{},kl=()=>!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)},Al=Object.prototype.hasOwnProperty,ue=(t,e)=>Al.call(t,e),J=Array.isArray,Wt=t=>Zn(t)==="[object Map]",Ao=t=>Zn(t)==="[object Set]",X=t=>typeof t=="function",be=t=>typeof t=="string",mt=t=>typeof t=="symbol",ge=t=>t!==null&&typeof t=="object",Co=t=>(ge(t)||X(t))&&X(t.then)&&X(t.catch),So=Object.prototype.toString,Zn=t=>So.call(t),Cl=t=>Zn(t).slice(8,-1),To=t=>Zn(t)==="[object Object]",Xr=t=>be(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))},Sl=/-(\w)/g,He=Wn(t=>t.replace(Sl,(e,n)=>n?n.toUpperCase():"")),Tl=/\B([A-Z])/g,bt=Wn(t=>t.replace(Tl,"-$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},Dl=t=>{const e=be(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=be(r)?Nl(r):vn(r);if(s)for(const o in s)e[o]=s[o]}return e}else if(be(t)||ge(t))return t}const Rl=/;(?![^(]*\))/g,ql=/:([^]+)/,Ll=/\/\*[^]*?\*\//g;function Nl(t){const e={};return t.replace(Ll,"").split(Rl).forEach(n=>{if(n){const r=n.split(ql);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e}function Jt(t){let e="";if(be(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&&!be(e)&&(t.class=Jt(e)),n&&(t.style=vn(n)),t}const Il=Dt("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function No(t){return!!t||t===""}const Io=t=>!!(t&&t.__v_isRef===!0),Yt=t=>be(t)?t:t==null?"":J(t)||ge(t)&&(t.toString===So||!X(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
6
  * @vue/reactivity v3.5.11
7
7
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
8
  * @license MIT
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}/**
9
+ **/let qe;class Ml{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=qe,!e&&qe&&(this.index=(qe.scopes||(qe.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=qe;try{return qe=this,e()}finally{qe=n}}}on(){qe=this}off(){qe=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 qe}function Ol(t,e=!1){qe&&qe.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,qe&&qe.active&&qe.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),Fl(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 Fl(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 Bl{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 Bl(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 Pl(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),Ve(t)?e:e.map(Te))}function Qn(t){return Se(t=ie(t),"iterate",En),t}const $l={__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&&!Ve(t)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.value&&(o.value=n(o.value)),o}),s}const Ul=Array.prototype;function ut(t,e,n,r,s,o){const c=Qn(t),i=c!==t&&!Ve(t),a=c[e];if(a!==Ul[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&&(Ve(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 zl=Dt("__proto__,__v_isRef,__isVue"),Ko=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(mt));function Hl(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=$l[n]))return a;if(n==="hasOwnProperty")return Hl}const i=Reflect.get(e,n,xe(e)?e:r);return(mt(n)?Ko.has(n):zl(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(!Ve(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 Vl=new Wo,Gl=new Jo,jl=new Wo(!0),Kl=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&&!Ve(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&&!Ve(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 Zl(){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[Wl,Jl,Yl,Xl]=Zl();function cr(t,e){const n=e?t?Xl:Yl:t?Jl:Wl;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 Ql={get:cr(!1,!1)},eu={get:cr(!1,!0)},tu={get:cr(!0,!1)},nu={get:cr(!0,!0)},tc=new WeakMap,nc=new WeakMap,rc=new WeakMap,sc=new WeakMap;function ru(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function su(t){return t.__v_skip||!Object.isExtensible(t)?0:ru(Cl(t))}function ps(t){return qt(t)?t:ir(t,!1,Vl,Ql,tc)}function ou(t){return ir(t,!1,jl,eu,nc)}function hs(t){return ir(t,!0,Gl,tu,rc)}function Hb(t){return ir(t,!0,Kl,nu,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=su(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 Ve(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 cu(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 De(t){return iu(t,!1)}function iu(t,e){return xe(t)?t:new au(t,e)}class au{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||Ve(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 lu={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,lu)}function uu(t){const e=J(t)?new Array(t.length):{};for(const n in t)e[n]=pu(t,n);return e}class fu{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 Pl(ie(this._object),this._key)}}function pu(t,e,n){const r=t[e];return xe(r)?r:new fu(t,e,n)}class hu{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 du(t,e,n=!1){let r,s;return X(t)?r=t:(r=t.get,s=t.set),new hu(r,s,n)}const ar={},lr=new WeakMap;let Lt;function gu(t,e=!1,n=Lt){if(n){let r=lr.get(n);r||lr.set(n,r=[]),r.push(t)}}function mu(t,e,n=pe){const{immediate:r,deep:s,once:o,scheduler:c,augmentJob:i,call:a}=n,l=D=>s?D:Ve(D)||s===!1||s===0?ft(D,1):ft(D);let u,f,p,d,m=!1,_=!1;if(xe(t)?(f=()=>t.value,m=Ve(t)):Qt(t)?(f=()=>l(t),m=!0):J(t)?(_=!0,m=t.some(D=>Qt(D)||Ve(D)),f=()=>t.map(D=>{if(xe(D))return D.value;if(Qt(D))return l(D);if(X(D))return a?a(D,2):D()})):X(t)?e?f=a?()=>a(t,2):t:f=()=>{if(p){it();try{p()}finally{at()}}const D=Lt;Lt=u;try{return a?a(t,3,[d]):t(d)}finally{Lt=D}}:f=Xe,e&&s){const D=f,$=s===!0?1/0:s;f=()=>ft(D(),$)}const I=Oo(),k=()=>{u.stop(),I&&Yr(I.effects,u)};if(o&&e){const D=e;e=(...$)=>{D(...$),k()}}let E=_?new Array(t.length).fill(ar):ar;const M=D=>{if(!(!(u.flags&1)||!u.dirty&&!D))if(e){const $=u.run();if(s||m||(_?$.some((S,Z)=>_t(S,E[Z])):_t($,E))){p&&p();const S=Lt;Lt=u;try{const Z=[$,E===ar?void 0:_&&E[0]===ar?[]:E,d];a?a(e,3,Z):e(...Z),E=$}finally{Lt=S}}}else u.run()};return i&&i(M),u=new Fo(f),u.scheduler=c?()=>c(M,!1):M,d=D=>gu(D,!1,u),p=u.onStop=()=>{const D=lr.get(u);if(D){if(a)a(D,4);else for(const $ of D)$();lr.delete(u)}},e?r?M(!0):E=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
10
  * @vue/runtime-core v3.5.11
11
11
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
12
  * @license MIT
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(`
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=bu();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
- `,...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";/**
15
+ `,..._u(s)),console.warn(...o)}at(),ms=!1}function bu(){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 _u(t){const e=[];return t.forEach((n,r)=>{e.push(...r===0?[]:[`
16
+ `],...vu(n))}),e}function vu({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,...yu(t.props),o]:[s+o]}function yu(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 be(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,">"]):X(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(X(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}}xu(t,n,s,r,c)}function xu(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 wu(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(wu(e),0,t),t.flags|=1,ac()}}function ac(){fr||(fr=ic.then(fc))}function Eu(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&&(X(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 ku=Symbol("_vte"),dc=t=>t.__isTeleport,xt=Symbol("_leaveCb"),hr=Symbol("_enterCb");function Au(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return wt(()=>{t.isMounted=!0}),xs(()=>{t.isUnmounting=!0}),t}const Ge=[Function,Array],gc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ge,onEnter:Ge,onAfterEnter:Ge,onEnterCancelled:Ge,onBeforeLeave:Ge,onLeave:Ge,onAfterLeave:Ge,onLeaveCancelled:Ge,onBeforeAppear:Ge,onAppear:Ge,onAfterAppear:Ge,onAppearCancelled:Ge},mc=t=>{const e=t.subTree;return e.component?mc(e.component):e},Cu={name:"BaseTransition",props:gc,setup(t,{slots:e}){const n=wf(),r=Au();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,_)=>{const I=_c(r,f);I[String(f.key)]=f,d[xt]=()=>{m(),d[xt]=void 0,delete l.delayedLeave},l.delayedLeave=_})}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 Su=Cu;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:_,onBeforeAppear:I,onAppear:k,onAfterAppear:E,onAppearCancelled:M}=e,D=String(t.key),$=_c(n,t),S=(V,H)=>{V&&Je(V,r,9,H)},Z=(V,H)=>{const ee=H[1];S(V,H),J(V)?V.every(U=>U.length<=1)&&ee():V.length<=1&&ee()},Q={mode:c,persisted:i,beforeEnter(V){let H=a;if(!n.isMounted)if(o)H=I||a;else return;V[xt]&&V[xt](!0);const ee=$[D];ee&&Ot(t,ee)&&ee.el[xt]&&ee.el[xt](),S(H,[V])},enter(V){let H=l,ee=u,U=f;if(!n.isMounted)if(o)H=k||l,ee=E||u,U=M||f;else return;let re=!1;const q=V[hr]=F=>{re||(re=!0,F?S(U,[V]):S(ee,[V]),Q.delayedLeave&&Q.delayedLeave(),V[hr]=void 0)};H?Z(H,[V,q]):q()},leave(V,H){const ee=String(t.key);if(V[hr]&&V[hr](!0),n.isUnmounting)return H();S(p,[V]);let U=!1;const re=V[xt]=q=>{U||(U=!0,H(),q?S(_,[V]):S(m,[V]),V[xt]=void 0,$[ee]===t&&delete $[ee])};$[ee]=t,d?Z(d,[V,re]):re()},clone(V){const H=_s(V,e,n,r,s);return s&&s(H),H}};return Q}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&&X(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 je(t,e){return X(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,_)=>ys(m,e&&(J(e)?e[_]: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&&(be(l)?(u[l]=null,d(l)&&(f[l]=null)):xe(l)&&(l.value=null)),X(a))en(a,i,12,[c,u]);else{const m=be(a),_=xe(a);if(m||_){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)):_&&(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 Tu(t,e){wc(t,"a",e)}function Du(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)&&Ru(r,e,n,s),s=s.parent}}function Ru(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)},qu=ht("bm"),wt=ht("m"),Lu=ht("bu"),Nu=ht("u"),xs=ht("bum"),ws=ht("um"),Iu=ht("sp"),Mu=ht("rtg"),Ou=ht("rtc");function Fu(t,e=ke){gr("ec",t,e)}const Bu="components",Ec=Symbol.for("v-ndc");function Pu(t){return be(t)?$u(Bu,t,!1)||t:t||Ec}function $u(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===He(e)||i===Jn(He(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[He(e)]||t[Jn(He(e))])}function mr(t,e,n,r){let s;const o=n,c=J(t);if(c||be(t)){const i=c&&Qt(t);let a=!1;i&&(a=!Ve(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(),ve(Ee,null,[me("slot",n,r&&r())],64);let o=t[e];o&&o._c&&(o._d=!1),j();const c=o&&Ac(o(n)),i=ve(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=>lf.bind(t)}),ks=(t,e)=>t!==pe&&!t.__isScriptSetup&&ue(t,e),Uu={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 zu(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:_,deactivated:I,beforeDestroy:k,beforeUnmount:E,destroyed:M,unmounted:D,render:$,renderTracked:S,renderTriggered:Z,errorCaptured:Q,serverPrefetch:V,expose:H,inheritAttrs:ee,components:U,directives:re,filters:q}=e;if(l&&Hu(l,r,null),c)for(const b in c){const w=c[b];X(w)&&(r[b]=w.bind(n))}if(s){const b=s.call(n,n);ge(b)&&(t.data=ps(b))}if(As=!0,o)for(const b in o){const w=o[b],K=X(w)?w.bind(n,n):X(w.get)?w.get.bind(n,n):Xe,te=!X(w)&&X(w.set)?w.set.bind(n):Xe,ce=Me({get:K,set:te});Object.defineProperty(r,b,{enumerable:!0,configurable:!0,get:()=>ce.value,set:fe=>ce.value=fe})}if(i)for(const b in i)Tc(i[b],r,n,b);if(a){const b=X(a)?a.call(n):a;Reflect.ownKeys(b).forEach(w=>{Wu(w,b[w])})}u&&Sc(u,t,"c");function R(b,w){J(w)?w.forEach(K=>b(K.bind(n))):w&&b(w.bind(n))}if(R(qu,f),R(wt,p),R(Lu,d),R(Nu,m),R(Tu,_),R(Du,I),R(Fu,Q),R(Ou,S),R(Mu,Z),R(xs,E),R(ws,D),R(Iu,V),J(H))if(H.length){const b=t.exposed||(t.exposed={});H.forEach(w=>{Object.defineProperty(b,w,{get:()=>n[w],set:K=>n[w]=K})})}else t.exposed||(t.exposed={});$&&t.render===Xe&&(t.render=$),ee!=null&&(t.inheritAttrs=ee),U&&(t.components=U),re&&(t.directives=re),V&&xc(t)}function Hu(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(be(t)){const o=e[t];X(o)&&_r(s,o)}else if(X(t))_r(s,t.bind(n));else if(ge(t))if(J(t))t.forEach(o=>Tc(o,e,n,r));else{const o=X(t.handler)?t.handler.bind(n):e[t.handler];X(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=Vu[c]||n&&n[c];t[c]=i?i(t[c],e[c]):e[c]}return t}const Vu={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:ju,provide:Dc,inject:Gu};function Dc(t,e){return e?t?function(){return ye(X(t)?t.call(this,this):t,X(e)?e.call(this,this):e)}:e:t}function Gu(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 ju(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:kl,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 Ku=0;function Zu(t,e){return function(r,s=null){X(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:Ku++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Rf,get config(){return o.config},set config(u){},use(u,...f){return c.has(u)||(u&&X(u.install)?(c.add(u),u.install(l,...f)):X(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||me(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 Wu(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&&X(e)?e.call(r&&r.proxy):e}}const Lc={},Nc=()=>Object.create(Lc),Ic=t=>Object.getPrototypeOf(t)===Lc;function Ju(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:ou(s):t.type.props?t.props=s:t.props=o,t.attrs=o}function Yu(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=He(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=He(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&&X(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 Xu=new WeakMap;function Oc(t,e,n=!1){const r=n?Xu:e.propsCache,s=r.get(t);if(s)return s;const o=t.props,c={},i=[];let a=!1;if(!X(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=He(o[u]);Fc(f)&&(c[f]=pe)}else if(o)for(const u in o){const f=He(u);if(Fc(f)){const p=o[u],d=c[f]=J(p)||X(p)?{type:p}:ye({},p),m=d.type;let _=!1,I=!0;if(J(m))for(let k=0;k<m.length;++k){const E=m[k],M=X(E)&&E.name;if(M==="Boolean"){_=!0;break}else M==="String"&&(I=!1)}else _=X(m)&&m.name==="Boolean";d[0]=_,d[1]=I,(_||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)],Qu=(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(X(o))e[s]=Qu(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])},ef=(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)},tf=(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=mf;function nf(t){return rf(t)}function rf(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,_=(h,g,v,C=null,T=null,L=null,x=void 0,B=null,N=!!g.dynamicChildren)=>{if(h===g)return;h&&!Ot(h,g)&&(C=Vt(h),fe(h,T,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,v,C);break;case Ie:k(h,g,v,C);break;case Ls:h==null&&E(g,v,C,x);break;case Ee:U(h,g,v,C,T,L,x,B,N);break;default:P&1?$(h,g,v,C,T,L,x,B,N):P&6?re(h,g,v,C,T,L,x,B,N):(P&64||P&128)&&y.process(h,g,v,C,T,L,x,B,N,Gt)}W!=null&&T&&ys(W,h&&h.ref,L,g||h,!g)},I=(h,g,v,C)=>{if(h==null)r(g.el=i(g.children),v,C);else{const T=g.el=h.el;g.children!==h.children&&l(T,g.children)}},k=(h,g,v,C)=>{h==null?r(g.el=a(g.children||""),v,C):g.el=h.el},E=(h,g,v,C)=>{[h.el,h.anchor]=m(h.children,g,v,C,h.el,h.anchor)},M=({el:h,anchor:g},v,C)=>{let T;for(;h&&h!==g;)T=p(h),r(h,v,C),h=T;r(g,v,C)},D=({el:h,anchor:g})=>{let v;for(;h&&h!==g;)v=p(h),s(h),h=v;s(g)},$=(h,g,v,C,T,L,x,B,N)=>{g.type==="svg"?x="svg":g.type==="math"&&(x="mathml"),h==null?S(g,v,C,T,L,x,B,N):V(h,g,T,L,x,B,N)},S=(h,g,v,C,T,L,x,B)=>{let N,y;const{props:W,shapeFlag:P,transition:G,dirs:Y}=h;if(N=h.el=c(h.type,L,W&&W.is,W),P&8?u(N,h.children):P&16&&Q(h.children,N,null,C,T,Rs(h,L),x,B),Y&&Nt(h,null,C,"created"),Z(N,h,h.scopeId,x,C),W){for(const O in W)O!=="value"&&!_n(O)&&o(N,O,null,W[O],L,C);"value"in W&&o(N,"value",null,W.value,L),(y=W.onVnodeBeforeMount)&&tt(y,C,h)}Y&&Nt(h,null,C,"beforeMount");const A=sf(T,G);A&&G.beforeEnter(N),r(N,g,v),((y=W&&W.onVnodeMounted)||A||Y)&&Pe(()=>{y&&tt(y,C,h),A&&G.enter(N),Y&&Nt(h,null,C,"mounted")},T)},Z=(h,g,v,C,T)=>{if(v&&d(h,v),C)for(let L=0;L<C.length;L++)d(h,C[L]);if(T){let L=T.subTree;if(g===L||Wc(L.type)&&(L.ssContent===g||L.ssFallback===g)){const x=T.vnode;Z(h,x,x.scopeId,x.slotScopeIds,T.parent)}}},Q=(h,g,v,C,T,L,x,B,N=0)=>{for(let y=N;y<h.length;y++){const W=h[y]=B?kt(h[y]):et(h[y]);_(null,W,g,v,C,T,L,x,B)}},V=(h,g,v,C,T,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,G=g.props||pe;let Y;if(v&&Mt(v,!1),(Y=G.onVnodeBeforeUpdate)&&tt(Y,v,g,h),W&&Nt(g,h,v,"beforeUpdate"),v&&Mt(v,!0),(P.innerHTML&&G.innerHTML==null||P.textContent&&G.textContent==null)&&u(B,""),y?H(h.dynamicChildren,y,B,v,C,Rs(g,T),L):x||w(h,g,B,null,v,C,Rs(g,T),L,!1),N>0){if(N&16)ee(B,P,G,v,T);else if(N&2&&P.class!==G.class&&o(B,"class",null,G.class,T),N&4&&o(B,"style",P.style,G.style,T),N&8){const A=g.dynamicProps;for(let O=0;O<A.length;O++){const z=A[O],ne=P[z],ae=G[z];(ae!==ne||z==="value")&&o(B,z,ne,ae,T,v)}}N&1&&h.children!==g.children&&u(B,g.children)}else!x&&y==null&&ee(B,P,G,v,T);((Y=G.onVnodeUpdated)||W)&&Pe(()=>{Y&&tt(Y,v,g,h),W&&Nt(g,h,v,"updated")},C)},H=(h,g,v,C,T,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):v;_(N,y,W,null,C,T,L,x,!0)}},ee=(h,g,v,C,T)=>{if(g!==v){if(g!==pe)for(const L in g)!_n(L)&&!(L in v)&&o(h,L,g[L],null,T,C);for(const L in v){if(_n(L))continue;const x=v[L],B=g[L];x!==B&&L!=="value"&&o(h,L,B,x,T,C)}"value"in v&&o(h,"value",g.value,v.value,T)}},U=(h,g,v,C,T,L,x,B,N)=>{const y=g.el=h?h.el:i(""),W=g.anchor=h?h.anchor:i("");let{patchFlag:P,dynamicChildren:G,slotScopeIds:Y}=g;Y&&(B=B?B.concat(Y):Y),h==null?(r(y,v,C),r(W,v,C),Q(g.children||[],v,W,T,L,x,B,N)):P>0&&P&64&&G&&h.dynamicChildren?(H(h.dynamicChildren,G,v,T,L,x,B),(g.key!=null||T&&g===T.subTree)&&zc(h,g,!0)):w(h,g,v,W,T,L,x,B,N)},re=(h,g,v,C,T,L,x,B,N)=>{g.slotScopeIds=B,h==null?g.shapeFlag&512?T.ctx.activate(g,v,C,x,N):q(g,v,C,T,L,x,N):F(h,g,N)},q=(h,g,v,C,T,L,x)=>{const B=h.component=xf(h,C,T);if(dr(h)&&(B.ctx.renderer=Gt),Ef(B,!1,x),B.asyncDep){if(T&&T.registerDep(B,R,x),!h.el){const N=B.subTree=me(Ie);k(null,N,g,v)}}else R(B,h,g,v,T,L,x)},F=(h,g,v)=>{const C=g.component=h.component;if(df(h,g,v))if(C.asyncDep&&!C.asyncResolved){b(C,g,v);return}else C.next=g,C.update();else g.el=h.el,C.vnode=g},R=(h,g,v,C,T,L,x)=>{const B=()=>{if(h.isMounted){let{next:P,bu:G,u:Y,parent:A,vnode:O}=h;{const Fe=Hc(h);if(Fe){P&&(P.el=O.el,b(h,P,x)),Fe.asyncDep.then(()=>{h.isUnmounted||B()});return}}let z=P,ne;Mt(h,!1),P?(P.el=O.el,b(h,P,x)):P=O,G&&Yn(G),(ne=P.props&&P.props.onVnodeBeforeUpdate)&&tt(ne,A,P,O),Mt(h,!0);const ae=qs(h),_e=h.subTree;h.subTree=ae,_(_e,ae,f(_e.el),Vt(_e),h,T,L),P.el=ae.el,z===null&&gf(h,ae.el),Y&&Pe(Y,T),(ne=P.props&&P.props.onVnodeUpdated)&&Pe(()=>tt(ne,A,P,O),T)}else{let P;const{el:G,props:Y}=g,{bm:A,m:O,parent:z,root:ne,type:ae}=h,_e=sn(g);if(Mt(h,!1),A&&Yn(A),!_e&&(P=Y&&Y.onVnodeBeforeMount)&&tt(P,z,g),Mt(h,!0),G&&Wr){const Fe=()=>{h.subTree=qs(h),Wr(G,h.subTree,h,T,null)};_e&&ae.__asyncHydrate?ae.__asyncHydrate(G,h,Fe):Fe()}else{ne.ce&&ne.ce._injectChildStyle(ae);const Fe=h.subTree=qs(h);_(null,Fe,v,C,h,T,L),g.el=Fe.el}if(O&&Pe(O,T),!_e&&(P=Y&&Y.onVnodeMounted)){const Fe=g;Pe(()=>tt(P,z,Fe),T)}(g.shapeFlag&256||z&&sn(z.vnode)&&z.vnode.shapeFlag&256)&&h.a&&Pe(h.a,T),h.isMounted=!0,g=v=C=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()},b=(h,g,v)=>{g.component=h;const C=h.vnode.props;h.vnode=g,h.next=null,Yu(h,g.props,C,v),tf(h,g.children,v),it(),lc(h),at()},w=(h,g,v,C,T,L,x,B,N=!1)=>{const y=h&&h.children,W=h?h.shapeFlag:0,P=g.children,{patchFlag:G,shapeFlag:Y}=g;if(G>0){if(G&128){te(y,P,v,C,T,L,x,B,N);return}else if(G&256){K(y,P,v,C,T,L,x,B,N);return}}Y&8?(W&16&&Re(y,T,L),P!==y&&u(v,P)):W&16?Y&16?te(y,P,v,C,T,L,x,B,N):Re(y,T,L,!0):(W&8&&u(v,""),Y&16&&Q(P,v,C,T,L,x,B,N))},K=(h,g,v,C,T,L,x,B,N)=>{h=h||Zt,g=g||Zt;const y=h.length,W=g.length,P=Math.min(y,W);let G;for(G=0;G<P;G++){const Y=g[G]=N?kt(g[G]):et(g[G]);_(h[G],Y,v,null,T,L,x,B,N)}y>W?Re(h,T,L,!0,!1,P):Q(g,v,C,T,L,x,B,N,P)},te=(h,g,v,C,T,L,x,B,N)=>{let y=0;const W=g.length;let P=h.length-1,G=W-1;for(;y<=P&&y<=G;){const Y=h[y],A=g[y]=N?kt(g[y]):et(g[y]);if(Ot(Y,A))_(Y,A,v,null,T,L,x,B,N);else break;y++}for(;y<=P&&y<=G;){const Y=h[P],A=g[G]=N?kt(g[G]):et(g[G]);if(Ot(Y,A))_(Y,A,v,null,T,L,x,B,N);else break;P--,G--}if(y>P){if(y<=G){const Y=G+1,A=Y<W?g[Y].el:C;for(;y<=G;)_(null,g[y]=N?kt(g[y]):et(g[y]),v,A,T,L,x,B,N),y++}}else if(y>G)for(;y<=P;)fe(h[y],T,L,!0),y++;else{const Y=y,A=y,O=new Map;for(y=A;y<=G;y++){const ze=g[y]=N?kt(g[y]):et(g[y]);ze.key!=null&&O.set(ze.key,y)}let z,ne=0;const ae=G-A+1;let _e=!1,Fe=0;const jt=new Array(ae);for(y=0;y<ae;y++)jt[y]=0;for(y=Y;y<=P;y++){const ze=h[y];if(ne>=ae){fe(ze,T,L,!0);continue}let ct;if(ze.key!=null)ct=O.get(ze.key);else for(z=A;z<=G;z++)if(jt[z-A]===0&&Ot(ze,g[z])){ct=z;break}ct===void 0?fe(ze,T,L,!0):(jt[ct-A]=y+1,ct>=Fe?Fe=ct:_e=!0,_(ze,g[ct],v,null,T,L,x,B,N),ne++)}const wl=_e?of(jt):Zt;for(z=wl.length-1,y=ae-1;y>=0;y--){const ze=A+y,ct=g[ze],El=ze+1<W?g[ze+1].el:C;jt[y]===0?_(null,ct,v,El,T,L,x,B,N):_e&&(z<0||y!==wl[z]?ce(ct,v,El,2):z--)}}},ce=(h,g,v,C,T=null)=>{const{el:L,type:x,transition:B,children:N,shapeFlag:y}=h;if(y&6){ce(h.component.subTree,g,v,C);return}if(y&128){h.suspense.move(g,v,C);return}if(y&64){x.move(h,g,v,Gt);return}if(x===Ee){r(L,g,v);for(let P=0;P<N.length;P++)ce(N[P],g,v,C);r(h.anchor,g,v);return}if(x===Ls){M(h,g,v);return}if(C!==2&&y&1&&B)if(C===0)B.beforeEnter(L),r(L,g,v),Pe(()=>B.enter(L),T);else{const{leave:P,delayLeave:G,afterLeave:Y}=B,A=()=>r(L,g,v),O=()=>{P(L,()=>{A(),Y&&Y()})};G?G(L,A,O):O()}else r(L,g,v)},fe=(h,g,v,C=!1,T=!1)=>{const{type:L,props:x,ref:B,children:N,dynamicChildren:y,shapeFlag:W,patchFlag:P,dirs:G,cacheIndex:Y}=h;if(P===-2&&(T=!1),B!=null&&ys(B,null,v,h,!0),Y!=null&&(g.renderCache[Y]=void 0),W&256){g.ctx.deactivate(h);return}const A=W&1&&G,O=!sn(h);let z;if(O&&(z=x&&x.onVnodeBeforeUnmount)&&tt(z,g,h),W&6)Oe(h.component,v,C);else{if(W&128){h.suspense.unmount(v,C);return}A&&Nt(h,null,g,"beforeUnmount"),W&64?h.type.remove(h,g,v,Gt,C):y&&!y.hasOnce&&(L!==Ee||P>0&&P&64)?Re(y,g,v,!1,!0):(L===Ee&&P&384||!T&&W&16)&&Re(N,g,v),C&&Ce(h)}(O&&(z=x&&x.onVnodeUnmounted)||A)&&Pe(()=>{z&&tt(z,g,h),A&&Nt(h,null,g,"unmounted")},v)},Ce=h=>{const{type:g,el:v,anchor:C,transition:T}=h;if(g===Ee){mn(v,C);return}if(g===Ls){D(h);return}const L=()=>{s(v),T&&!T.persisted&&T.afterLeave&&T.afterLeave()};if(h.shapeFlag&1&&T&&!T.persisted){const{leave:x,delayLeave:B}=T,N=()=>x(v,L);B?B(h.el,L,N):N()}else L()},mn=(h,g)=>{let v;for(;h!==g;)v=p(h),s(h),h=v;s(g)},Oe=(h,g,v)=>{const{bum:C,scope:T,job:L,subTree:x,um:B,m:N,a:y}=h;Vc(N),Vc(y),C&&Yn(C),T.stop(),L&&(L.flags|=8,fe(x,h,g,v)),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())},Re=(h,g,v,C=!1,T=!1,L=0)=>{for(let x=L;x<h.length;x++)fe(h[x],g,v,C,T)},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),v=g&&g[ku];return v?p(v):g};let bn=!1;const jn=(h,g,v)=>{h==null?g._vnode&&fe(g._vnode,null,null,!0):_(g._vnode||null,h,g,null,null,null,v),g._vnode=h,bn||(bn=!0,lc(),uc(),bn=!1)},Gt={p:_,um:fe,m:ce,r:Ce,mt:q,mc:Q,pc:w,pbc:H,n:Vt,o:t};let Zr,Wr;return{render:jn,hydrate:Zr,createApp:Zu(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 sf(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 of(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 cf=Symbol.for("v-scx"),af=()=>cn(cf);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=af();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=mu(t,e,i);return a&&a.push(f),f}function lf(t,e,n){const r=this.proxy,s=be(t)?t.includes(".")?jc(r,t):()=>r[t]:t.bind(r,r);let o;X(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 uf=(t,e)=>e==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${He(e)}Modifiers`]||t[`${bt(e)}Modifiers`];function ff(t,e,...n){if(t.isUnmounted)return;const r=t.vnode.props||pe;let s=n;const o=e.startsWith("update:"),c=o&&uf(r,e.slice(7));c&&(c.trim&&(s=n.map(u=>be(u)?u.trim():u)),c.number&&(s=n.map(es)));let i,a=r[i=Qr(e)]||r[i=Qr(He(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(!X(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:_}=t,I=pr(t);let k,E;try{if(n.shapeFlag&4){const D=s||r,$=D;k=et(l.call($,D,u,f,d,p,m)),E=i}else{const D=e;k=et(D.length>1?D(f,{attrs:i,slots:c,emit:a}):D(f,null)),E=e.props?i:pf(i)}}catch(D){Rn.length=0,ur(D,t,1),k=me(Ie)}let M=k;if(E&&_!==!1){const D=Object.keys(E),{shapeFlag:$}=M;D.length&&$&7&&(o&&D.some(Jr)&&(E=hf(E,o)),M=Et(M,E,!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 pf=t=>{let e;for(const n in t)(n==="class"||n==="style"||Kn(n))&&((e||(e={}))[n]=t[n]);return e},hf=(t,e)=>{const n={};for(const r in t)(!Jr(r)||!(r.slice(9)in e))&&(n[r]=t[r]);return n};function df(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 gf({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 mf(t,e){e&&e.pendingBranch?J(t)?e.effects.push(...t):e.effects.push(t):Eu(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 bf(){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,bf(),qn>0&&$e&&$e.push(t),t}function oe(t,e,n,r,s,o){return Yc(he(t,e,n,r,s,o,!0))}function ve(t,e,n,r,s){return Yc(me(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?be(t)||xe(t)||X(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|=be(n)?8:16),qn>0&&!c&&$e&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&$e.push(a),a}const me=_f;function _f(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(Df(t)&&(t=t.__vccOpts),e){e=Qc(e);let{class:i,style:a}=e;i&&!be(i)&&(e.class=Jt(i)),ge(a)&&(ds(a)&&!J(a)&&(a=ye({},a)),e.style=vn(a))}const c=be(t)?1:Wc(t)?128:dc(t)?64:ge(t)?4:X(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 me(yr,null,t,e)}function Ke(t="",e=!1){return e?(j(),ve(Ie,null,t)):me(Ie,null,t)}function et(t){return t==null||typeof t=="boolean"?me(Ie):J(t)?me(Ee,null,t.slice()):Ln(t)?kt(t):me(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 X(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 vf=qc();let yf=0;function xf(t,e,n){const r=t.type,s=(e?e.appContext:t.appContext)||vf,o={uid:yf++,vnode:t,type:r,parent:e,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ml(!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=ff.bind(null,o),t.ce&&t.ce(o),o}let ke=null;const wf=()=>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 Ef(t,e=!1,n=!1){e&&Os(e);const{props:r,children:s}=t.vnode,o=ti(t);Ju(t,r,o,e),ef(t,s,n);const c=o?kf(t,e):void 0;return e&&Os(!1),c}function kf(t,e){const n=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Uu);const{setup:r}=n;if(r){const s=t.setupContext=r.length>1?Cf(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){X(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{zu(t)}finally{at(),s()}}}const Af={get(t,e){return Se(t,"get",""),t[e]}};function Cf(t){const e=n=>{t.exposed=n||{}};return{attrs:new Proxy(t.attrs,Af),slots:t.slots,emit:t.emit,expose:e}}function kr(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(oc(cu(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 Sf=/(?:^|[-_])(\w)/g,Tf=t=>t.replace(Sf,e=>e.toUpperCase()).replace(/[-_]/g,"");function oi(t,e=!0){return X(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?Tf(r):n?"App":"Anonymous"}function Df(t){return X(t)&&"__vccOpts"in t}const Me=(t,e)=>du(t,e,Er);function ii(t,e,n){const r=arguments.length;return r===2?ge(e)&&!J(e)?Ln(e)?me(t,null,[e]):me(t,e):me(t,null,e):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Ln(n)&&(n=[n]),me(t,e,n))}const Rf="3.5.11";/**
17
17
  * @vue/runtime-dom v3.5.11
18
18
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
19
19
  * @license MIT
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>
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,qf="http://www.w3.org/2000/svg",Lf="http://www.w3.org/1998/Math/MathML",dt=typeof document<"u"?document:null,ui=dt&&dt.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"?dt.createElementNS(qf,t):e==="mathml"?dt.createElementNS(Lf,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},If=ye({},gc,fi),pi=(t=>(t.displayName="Transition",t.props=If,t))((t,{slots:e})=>ii(Su,Mf(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 Mf(t){const e={};for(const U in t)U in fi||(e[U]=t[U]);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=Of(s),_=m&&m[0],I=m&&m[1],{onBeforeEnter:k,onEnter:E,onEnterCancelled:M,onLeave:D,onLeaveCancelled:$,onBeforeAppear:S=k,onAppear:Z=E,onAppearCancelled:Q=M}=e,V=(U,re,q)=>{Bt(U,re?u:i),Bt(U,re?l:c),q&&q()},H=(U,re)=>{U._isLeaving=!1,Bt(U,f),Bt(U,d),Bt(U,p),re&&re()},ee=U=>(re,q)=>{const F=U?Z:E,R=()=>V(re,U,q);Ft(F,[re,R]),di(()=>{Bt(re,U?a:o),Ct(re,U?u:i),hi(F)||gi(re,r,_,R)})};return ye(e,{onBeforeEnter(U){Ft(k,[U]),Ct(U,o),Ct(U,c)},onBeforeAppear(U){Ft(S,[U]),Ct(U,a),Ct(U,l)},onEnter:ee(!1),onAppear:ee(!0),onLeave(U,re){U._isLeaving=!0;const q=()=>H(U,re);Ct(U,f),Ct(U,p),Pf(),di(()=>{U._isLeaving&&(Bt(U,f),Ct(U,d),hi(D)||gi(U,r,I,q))}),Ft(D,[U,q])},onEnterCancelled(U){V(U,!1),Ft(M,[U])},onAppearCancelled(U){V(U,!0),Ft(Q,[U])},onLeaveCancelled(U){H(U),Ft($,[U])}})}function Of(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 Dl(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 Ff=0;function gi(t,e,n,r){const s=t._endId=++Ff,o=()=>{s===t._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:c,timeout:i,propCount:a}=Bf(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 Bf(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 Pf(){return document.body.offsetHeight}function $f(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"),Uf={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 zf=Symbol(""),Hf=/(^|;)\s*display\s*:/;function Vf(t,e,n){const r=t.style,s=be(n);let o=!1;if(n&&!s){if(e)if(be(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[zf];c&&(n+=";"+c),r.cssText=n,o=Hf.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=Gf(t,e);vi.test(n)?t.setProperty(bt(r),n.replace(vi,""),"important"):t[r]=n}}const yi=["Webkit","Moz","ms"],Ps={};function Gf(t,e){const n=Ps[e];if(n)return n;let r=He(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=Il(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 jf(t,e,n,r){t.removeEventListener(e,n,r)}const ki=Symbol("_vei");function Kf(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]=Zf(e);if(r){const l=o[e]=Yf(r,s);an(t,i,l,a)}else c&&(jf(t,i,c,a),o[e]=void 0)}}const Ai=/(?:Once|Passive|Capture)$/;function Zf(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 Wf=Promise.resolve(),Jf=()=>$s||(Wf.then(()=>$s=0),$s=Date.now());function Yf(t,e){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Je(Xf(r,n.value),e,5,[r])};return n.value=t,n.attached=Jf(),n}function Xf(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,Qf=(t,e,n,r,s,o)=>{const c=s==="svg";e==="class"?$f(t,r,c):e==="style"?Vf(t,n,r):Kn(e)?Jr(e)||Kf(t,e,n,r,o):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):ep(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)||!be(r))?Ei(t,He(e),r):(e==="true-value"?t._trueValue=r:e==="false-value"&&(t._falseValue=r),wi(t,e,r,c))};function ep(t,e,n,r){if(r)return!!(e==="innerHTML"||e==="textContent"||e in t&&Ci(e)&&X(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)&&be(n)?!1:e in t}const Si=t=>{const e=t.props["onUpdate:modelValue"]||!1;return J(e)?n=>Yn(e,n):e};function tp(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"),np={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",tp),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))}},rp=["ctrl","shift","alt","meta"],sp={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)=>rp.some(n=>t[`${n}Key`]&&!e.includes(n))},Di=(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=sp[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:Qf},Nf);let Ri;function ap(){return Ri||(Ri=nf(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;!X(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 be(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",qi="n8n-chat/sessionId",Li="Chat",Ni="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 Ii={randomUUID:mp};function Bn(t,e,n){if(Ii.randomUUID&&!e&&!t)return Ii.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 Mi(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 Oi(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"?Oi:Mi)(`${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"?Oi:Mi)(`${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(Ni,e);const n=De([]),r=De(null),s=De(!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 _={id:Bn(),text:m,sender:"bot",createdAt:new Date().toISOString()};n.value.push(_),s.value=!1,rn(()=>{Be.emit("scrollToBottom")})}async function i(){if(!e.loadPreviousSession)return;const u=localStorage.getItem(qi)??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(qi,r.value)}const l={initialMessages:o,messages:n,currentSessionId:r,waitingForResponse:s,loadPreviousSession:i,startNewSession:a,sendMessage:c};t.provide(Li,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 Fi(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)&&Fi(n)}),t}class Bi{constructor(e){e.data===void 0&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Pi(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>",$i=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+=Pi(e)}openNode(e){if(!$i(e))return;const n=Cp(e.scope,{prefix:this.classPrefix});this.span(n)}closeNode(e){$i(e)&&(this.buffer+=Ap)}value(){return this.buffer}span(e){this.buffer+=`<span class="${e}">`}}const Ui=(t={})=>{const e={children:[]};return Object.assign(e,t),e};class Gs{constructor(){this.rootNode=Ui(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(e){this.top.children.push(e)}openNode(e){const n=Ui({scope:e});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(e){return this.constructor._walk(e,this.rootNode)}static _walk(e,n){return typeof n=="string"?e.addText(n):n.children&&(e.openNode(n),n.children.forEach(r=>this._walk(e,r)),e.closeNode(n)),e}static _collapse(e){typeof e!="string"&&e.children&&(e.children.every(n=>typeof n=="string")?e.children=[e.children.join("")]:e.children.forEach(n=>{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 zi(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 Hi(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/,Vi="[a-zA-Z]\\w*",Zs="[a-zA-Z_]\\w*",Gi="\\b\\d+(\\.\\d+)?",ji="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",Ki="\\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:Gi,relevance:0},Vp={scope:"number",begin:ji,relevance:0},Gp={scope:"number",begin:Ki,relevance:0},jp={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[$n,{begin:/\[/,end:/\]/,relevance:0,contains:[$n]}]},Kp={scope:"title",begin:Vi,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:Ki,COMMENT:Tr,C_BLOCK_COMMENT_MODE:Up,C_LINE_COMMENT_MODE:$p,C_NUMBER_MODE:Vp,C_NUMBER_RE:ji,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:Vi,MATCH_NOTHING_RE:Ip,METHOD_GUARD:Wp,NUMBER_MODE:Hp,NUMBER_RE:Gi,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,zi(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 Zi(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,Zi(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 Wi={},$t=t=>{console.error(t)},Ji=(t,...e)=>{console.log(`WARN: ${t}`,...e)},ln=(t,e)=>{Wi[`${t}/${e}`]||(console.log(`Deprecated as of ${t}. ${e}`),Wi[`${t}/${e}`]=!0)},Rr=new Error;function Yi(t,e,{key:n}){let r=0;const s=t[n],o={},c={};for(let i=1;i<=e.length;i++)c[i+r]=s[i],o[i+r]=!0,r+=Hi(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;Yi(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;Yi(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+=Hi(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=Zi(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 Xi(t){return t?t.endsWithParent||Xi(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:Xi(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=Pi,Qi=St,ea=Symbol("nomatch"),gh=7,ta=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(b){return i.noHighlightRe.test(b)}function l(b){let w=b.className+" ";w+=b.parentNode?b.parentNode.className:"";const K=i.languageDetectRe.exec(w);if(K){const te=V(K[1]);return te||(Ji(o.replace("{}",K[1])),Ji("Falling back to no-highlight mode for this block.",b)),te?K[1]:"no-highlight"}return w.split(/\s+/).find(te=>a(te)||V(te))}function u(b,w,K){let te="",ce="";typeof w=="object"?(te=b,K=w.ignoreIllegals,ce=w.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`),ce=b,te=w),K===void 0&&(K=!0);const fe={code:te,language:ce};F("before:highlight",fe);const Ce=fe.result?fe.result:f(fe.language,fe.code,K);return Ce.code=fe.code,F("after:highlight",Ce),Ce}function f(b,w,K,te){const ce=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),z="";for(;O;){z+=y.substring(A,O.index);const ne=C.case_insensitive?O[0].toLowerCase():O[0],ae=fe(x,ne);if(ae){const[_e,Fe]=ae;if(N.addText(z),z="",ce[ne]=(ce[ne]||0)+1,ce[ne]<=gh&&(W+=Fe),_e.startsWith("_"))z+=O[0];else{const jt=C.classNameAliases[_e]||_e;Re(O[0],jt)}}else z+=O[0];A=x.keywordPatternRe.lastIndex,O=x.keywordPatternRe.exec(y)}z+=y.substring(A),N.addText(z)}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 Re(A,O){A!==""&&(N.startScope(O),N.addText(A),N.endScope())}function Vt(A,O){let z=1;const ne=O.length-1;for(;z<=ne;){if(!A._emit[z]){z++;continue}const ae=C.classNameAliases[A[z]]||A[z],_e=O[z];ae?Re(_e,ae):(y=_e,Ce(),y=""),z++}}function bn(A,O){return A.scope&&typeof A.scope=="string"&&N.openNode(C.classNameAliases[A.scope]||A.scope),A.beginScope&&(A.beginScope._wrap?(Re(y,C.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,z){let ne=Lp(A.endRe,z);if(ne){if(A["on:end"]){const ae=new Bi(A);A["on:end"](O,ae),ae.isMatchIgnored&&(ne=!1)}if(ne){for(;A.endsParent&&A.parent;)A=A.parent;return A}}if(A.endsWithParent)return jn(A.parent,O,z)}function Gt(A){return x.matcher.regexIndex===0?(y+=A[0],1):(Y=!0,0)}function Zr(A){const O=A[0],z=A.rule,ne=new Bi(z),ae=[z.__beforeBegin,z["on:begin"]];for(const _e of ae)if(_e&&(_e(A,ne),ne.isMatchIgnored))return Gt(O);return z.skip?y+=O:(z.excludeBegin&&(y+=O),Oe(),!z.returnBegin&&!z.excludeBegin&&(y=O)),bn(z,A),z.returnBegin?0:O.length}function Wr(A){const O=A[0],z=w.substring(A.index),ne=jn(x,A,z);if(!ne)return ea;const ae=x;x.endScope&&x.endScope._wrap?(Oe(),Re(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!==ne.parent);return ne.starts&&bn(ne.starts,A),ae.returnEnd?0:O.length}function h(){const A=[];for(let O=x;O!==C;O=O.parent)O.scope&&A.unshift(O.scope);A.forEach(O=>N.openNode(O))}let g={};function v(A,O){const z=O&&O[0];if(y+=A,z==null)return Oe(),0;if(g.type==="begin"&&O.type==="end"&&g.index===O.index&&z===""){if(y+=w.slice(O.index,O.index+1),!s){const ne=new Error(`0 width match regex (${b})`);throw ne.languageName=b,ne.badRule=g.rule,ne}return 1}if(g=O,O.type==="begin")return Zr(O);if(O.type==="illegal"&&!K){const ne=new Error('Illegal lexeme "'+z+'" for mode "'+(x.scope||"<unnamed>")+'"');throw ne.mode=x,ne}else if(O.type==="end"){const ne=Wr(O);if(ne!==ea)return ne}if(O.type==="illegal"&&z==="")return 1;if(G>1e5&&G>O.index*3)throw new Error("potential infinite loop, way more iterations than matches");return y+=z,z.length}const C=V(b);if(!C)throw $t(o.replace("{}",b)),new Error('Unknown language: "'+b+'"');const T=fh(C);let L="",x=te||T;const B={},N=new i.__emitter(i);h();let y="",W=0,P=0,G=0,Y=!1;try{if(C.__emitTokens)C.__emitTokens(w,N);else{for(x.matcher.considerAll();;){G++,Y?Y=!1:x.matcher.considerAll(),x.matcher.lastIndex=P;const A=x.matcher.exec(w);if(!A)break;const O=w.substring(P,A.index),z=v(O,A);P=A.index+z}v(w.substring(P))}return N.finalize(),L=N.toHTML(),{language:b,value:L,relevance:W,illegal:!1,_emitter:N,_top:x}}catch(A){if(A.message&&A.message.includes("Illegal"))return{language:b,value:Ws(w),illegal:!0,relevance:0,_illegalBy:{message:A.message,index:P,context:w.slice(P-100,P+100),mode:A.mode,resultSoFar:L},_emitter:N};if(s)return{language:b,value:Ws(w),illegal:!1,relevance:0,errorRaised:A,_emitter:N,_top:x};throw A}}function p(b){const w={value:Ws(b),illegal:!1,relevance:0,_top:c,_emitter:new i.__emitter(i)};return w._emitter.addText(b),w}function d(b,w){w=w||i.languages||Object.keys(e);const K=p(b),te=w.filter(V).filter(ee).map(Oe=>f(Oe,b,!1));te.unshift(K);const ce=te.sort((Oe,Re)=>{if(Oe.relevance!==Re.relevance)return Re.relevance-Oe.relevance;if(Oe.language&&Re.language){if(V(Oe.language).supersetOf===Re.language)return 1;if(V(Re.language).supersetOf===Oe.language)return-1}return 0}),[fe,Ce]=ce,mn=fe;return mn.secondBest=Ce,mn}function m(b,w,K){const te=w&&n[w]||K;b.classList.add("hljs"),b.classList.add(`language-${te}`)}function _(b){let w=null;const K=l(b);if(a(K))return;if(F("before:highlightElement",{el:b,language:K}),b.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",b);return}if(b.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(b)),i.throwUnescapedHTML))throw new dh("One of your code blocks includes unescaped HTML.",b.innerHTML);w=b;const te=w.textContent,ce=K?u(te,{language:K,ignoreIllegals:!0}):d(te);b.innerHTML=ce.value,b.dataset.highlighted="yes",m(b,K,ce.language),b.result={language:ce.language,re:ce.relevance,relevance:ce.relevance},ce.secondBest&&(b.secondBest={language:ce.secondBest.language,relevance:ce.secondBest.relevance}),F("after:highlightElement",{el:b,result:ce,text:te})}function I(b){i=Qi(i,b)}const k=()=>{D(),ln("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function E(){D(),ln("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let M=!1;function D(){if(document.readyState==="loading"){M=!0;return}document.querySelectorAll(i.cssSelector).forEach(_)}function $(){M&&D()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",$,!1);function S(b,w){let K=null;try{K=w(t)}catch(te){if($t("Language definition for '{}' could not be registered.".replace("{}",b)),s)$t(te);else throw te;K=c}K.name||(K.name=b),e[b]=K,K.rawDefinition=w.bind(null,t),K.aliases&&H(K.aliases,{languageName:b})}function Z(b){delete e[b];for(const w of Object.keys(n))n[w]===b&&delete n[w]}function Q(){return Object.keys(e)}function V(b){return b=(b||"").toLowerCase(),e[b]||e[n[b]]}function H(b,{languageName:w}){typeof b=="string"&&(b=[b]),b.forEach(K=>{n[K.toLowerCase()]=w})}function ee(b){const w=V(b);return w&&!w.disableAutodetect}function U(b){b["before:highlightBlock"]&&!b["before:highlightElement"]&&(b["before:highlightElement"]=w=>{b["before:highlightBlock"](Object.assign({block:w.el},w))}),b["after:highlightBlock"]&&!b["after:highlightElement"]&&(b["after:highlightElement"]=w=>{b["after:highlightBlock"](Object.assign({block:w.el},w))})}function re(b){U(b),r.push(b)}function q(b){const w=r.indexOf(b);w!==-1&&r.splice(w,1)}function F(b,w){const K=b;r.forEach(function(te){te[K]&&te[K](w)})}function R(b){return ln("10.7.0","highlightBlock will be removed entirely in v12.0"),ln("10.7.0","Please use highlightElement now."),_(b)}Object.assign(t,{highlight:u,highlightAuto:d,highlightAll:D,highlightElement:_,highlightBlock:R,configure:I,initHighlighting:k,initHighlightingOnLoad:E,registerLanguage:S,unregisterLanguage:Z,listLanguages:Q,getLanguage:V,registerAliases:H,autoDetection:ee,inherit:Qi,addPlugin:re,removePlugin:q}),t.debugMode=function(){s=!1},t.safeMode=function(){s=!0},t.versionString=hh,t.regex={concat:Pt,lookahead:zi,either:js,optional:Rp,anyNumberOfTimes:Dp};for(const b in Dr)typeof Dr[b]=="object"&&Fi(Dr[b]);return Object.assign(t,Dr),t},un=ta({});un.newInstance=()=>ta({});var mh=un;un.HighlightJS=un,un.default=un;const gt=Vs(mh),na="[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"],ra=["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"],sa=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],oa=["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(oa,ra,sa);function ca(t){const e=t.regex,n=(w,{after:K})=>{const te="</"+w[0].slice(1);return w.input.indexOf(te,K)!==-1},r=na,s={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,c={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(w,K)=>{const te=w[0].length+w.index,ce=w.input[te];if(ce==="<"||ce===","){K.ignoreMatch();return}ce===">"&&(n(w,{after:te})||K.ignoreMatch());let fe;const Ce=w.input.substring(te);if(fe=Ce.match(/^\s*=/)){K.ignoreMatch();return}if((fe=Ce.match(/^\s+extends\s+/))&&fe.index===0){K.ignoreMatch();return}}},i={$pattern:na,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"}},_={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},I={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,p]},E={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,_,I,{match:/\$\d+/},f];p.contains=M.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(M)});const D=[].concat(E,p.contains),$=D.concat([{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(D)}]),S={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"}}]},Q={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:{_:[...ra,...sa]}},V={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},H={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[S],illegal:/%/},ee={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function U(w){return e.concat("(?!",w.join("|"),")")}const re={match:e.concat(/\b/,U([...oa,"super","import"]),r,e.lookahead(/\(/)),className:"title.function",relevance:0},q={begin:e.concat(/\./,e.lookahead(e.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},F={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},S]},R="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",b={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(R)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[S]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:$,CLASS_REFERENCE:Q},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),V,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,m,_,I,E,{match:/\$\d+/},f,Q,{className:"attr",begin:r+e.lookahead(":"),relevance:0},b,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[E,t.REGEXP_MODE,{className:"function",begin:R,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"]}]}]},H,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[S,t.inherit(t.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},q,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[S]},re,ee,Z,F,{match:/\$[(.]/}]}}function ia(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(),oe("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(),oe("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(Li)}function Un(){return{options:cn(Ni)}}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=je({__name:"GetStarted",setup(t){const{t:e}=Lr();return(n,r)=>(j(),oe("div",Th,[me(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(),oe("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=je({__name:"GetStartedFooter",setup(t){const{t:e,te:n}=Lr();return(r,s)=>(j(),oe("div",Ih,[se(n)("footer")?(j(),oe("div",Mh,Yt(se(e)("footer")),1)):Ke("",!0),me(Nh)]))}});function Fh(t){return Oo()?(Ol(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=De(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(),oe("svg",Vh,e[0]||(e[0]=[he("path",{fill:"currentColor",d:"M16.5 6v11.5a4 4 0 0 1-4 4a4 4 0 0 1-4-4V5A2.5 2.5 0 0 1 11 2.5A2.5 2.5 0 0 1 13.5 5v10.5a1 1 0 0 1-1 1a1 1 0 0 1-1-1V6H10v9.5a2.5 2.5 0 0 0 2.5 2.5a2.5 2.5 0 0 0 2.5-2.5V5a4 4 0 0 0-4-4a4 4 0 0 0-4 4v12.5a5.5 5.5 0 0 0 5.5 5.5a5.5 5.5 0 0 0 5.5-5.5V6z"},null,-1)]))}const jh={name:"mdi-paperclip",render:Gh},Kh={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Zh(t,e){return j(),oe("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(),oe("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(),oe("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(),oe("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(),oe("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 aa={name:"mdi-fileText",render:cd},id={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function ad(t,e){return j(),oe("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(),oe("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"},la=qr(je({__name:"ChatFile",props:{file:{},isRemovable:{type:Boolean},isPreviewable:{type:Boolean}},emits:["remove"],setup(t,{emit:e}){const n=t,r=e,s={document:aa,audio:sd,image:td,video:ld},o=Me(()=>{var l;const a=(l=n.file)==null?void 0:l.type.split("/")[0];return s[a]||aa});function c(){n.isPreviewable&&window.open(URL.createObjectURL(n.file))}function i(){r("remove",n.file)}return(a,l)=>(j(),oe("div",{class:"chat-file",onClick:c},[me(se(o)),he("p",hd,Yt(a.file.name),1),a.isRemovable?(j(),oe("span",{key:0,class:"chat-file-delete",onClick:Di(i,["stop"])},[me(se(Xh))])):a.isPreviewable?(j(),ve(se(pd),{key:1,class:"chat-file-preview"})):Ke("",!0)]))}}),[["__scopeId","data-v-e0d57af7"]]),dd={class:"chat-inputs"},gd=["disabled","placeholder"],md={class:"chat-inputs-controls"},bd=["disabled"],_d=["disabled"],vd={key:0,class:"chat-files"},yd=qr(je({__name:"Input",props:{placeholder:{default:"inputPlaceholder"}},emits:["arrowKeyDown"],setup(t,{emit:e}){const n=t,{t:r}=Lr(),s=e,{options:o}=Un(),c=Js(),{waitingForResponse:i}=c,a=De(null),l=De(null),u=De(""),f=De(!1),p=De(null),d=Me(()=>{var F;return u.value===""||i.value||((F=o.disabled)==null?void 0:F.value)===!0}),m=Me(()=>{var F;return((F=o.disabled)==null?void 0:F.value)===!0}),_=Me(()=>{var F;return I.value&&i.value&&!((F=o.disabled)!=null&&F.value)}),I=Me(()=>se(o.allowFileUploads)===!0),k=Me(()=>se(o.allowedFilesMimeTypes)),E=Me(()=>({"--controls-count":I.value?2:1})),{open:M,reset:D,onChange:$}=Hh({multiple:!0,reset:!1});$(F=>{if(!F)return;const R=new DataTransfer;if(a.value)for(let b=0;b<a.value.length;b++)R.items.add(a.value[b]);for(let b=0;b<F.length;b++)R.items.add(F[b]);a.value=R.files}),wt(()=>{Be.on("focusInput",Z),Be.on("blurInput",S),Be.on("setInputValue",Q),l.value&&(p.value=new ResizeObserver(F=>{for(const R of F)R.target===l.value&&q({target:l.value})}),p.value.observe(l.value))}),ws(()=>{Be.off("focusInput",Z),Be.off("blurInput",S),Be.off("setInputValue",Q),p.value&&(p.value.disconnect(),p.value=null)});function S(){l.value&&l.value.blur()}function Z(){l.value&&l.value.focus()}function Q(F){u.value=F,Z()}async function V(F){if(F.preventDefault(),d.value)return;const R=u.value;u.value="",f.value=!0,await c.sendMessage(R,Array.from(a.value??[])),f.value=!1,D(),a.value=null}async function H(F){F.shiftKey||(await V(F),q({target:l.value}))}function ee(F){if(!a.value)return;const R=new DataTransfer;for(let b=0;b<a.value.length;b++){const w=a.value[b];F.name!==w.name&&R.items.add(w)}D(),a.value=R.files}function U(F){(F.key==="ArrowUp"||F.key==="ArrowDown")&&(F.preventDefault(),s("arrowKeyDown",{key:F.key,currentInputValue:u.value}))}function re(){_.value||M({accept:se(k)})}function q(F){const R=F.target;R.style.height="var(--chat--textarea--height)";const b=Math.min(R.scrollHeight,480);R.style.height=`${b}px`}return(F,R)=>{var b;return j(),oe("div",{class:"chat-input",style:vn(E.value),onKeydown:Di(U,["stop"])},[he("div",dd,[hc(he("textarea",{ref_key:"chatTextArea",ref:l,"data-test-id":"chat-input","onUpdate:modelValue":R[0]||(R[0]=w=>u.value=w),disabled:m.value,placeholder:se(r)(n.placeholder),onKeydown:cp(H,["enter"]),onInput:q,onMousedown:q,onFocus:q},null,40,gd),[[np,u.value]]),he("div",md,[I.value?(j(),oe("button",{key:0,disabled:_.value,class:"chat-input-file-button","data-test-id":"chat-attach-file-button",onClick:re},[me(se(jh),{height:"24",width:"24"})],8,bd)):Ke("",!0),he("button",{disabled:d.value,class:"chat-input-send-button",onClick:V},[me(se(Wh),{height:"24",width:"24"})],8,_d)])]),(b=a.value)!=null&&b.length&&!f.value?(j(),oe("div",vd,[(j(!0),oe(Ee,null,mr(a.value,w=>(j(),ve(la,{key:w.name,file:w,"is-removable":!0,"is-previewable":!0,onRemove:ee},null,8,["file"]))),128))])):Ke("",!0)],36)}}}),[["__scopeId","data-v-25821855"]]),xd={class:"chat-layout"},wd={key:0,class:"chat-header"},Ed={key:2,class:"chat-footer"},kd=je({__name:"Layout",setup(t){const e=De(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(),oe("main",xd,[r.$slots.header?(j(),oe("div",wd,[It(r.$slots,"header")])):Ke("",!0),r.$slots.default?(j(),oe("div",{key:1,ref_key:"chatBodyRef",ref:e,class:"chat-body"},[It(r.$slots,"default")],512)):Ke("",!0),r.$slots.footer?(j(),oe("div",Ed,[It(r.$slots,"footer")])):Ke("",!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"],_=["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"],E=["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"],D=["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:_,built_in:[...k,...E,"set","shopt",...M,...D]},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("|")}`,_={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,_,f,t.HASH_COMMENT_MODE]}]};return l.contains=[f,_,a],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:i,illegal:/(<\/|\?)|=>/,contains:[a,_,{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:[_,k,f]}]}}const Nr="[A-Za-z$_][0-9A-Za-z$_]*",ua=["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"],fa=["true","false","null","undefined","NaN","Infinity"],pa=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],ha=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],da=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],ga=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],ma=[].concat(da,pa,ha);function Sd(t){const e=t.regex,n=(w,{after:K})=>{const te="</"+w[0].slice(1);return w.input.indexOf(te,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:(w,K)=>{const te=w[0].length+w.index,ce=w.input[te];if(ce==="<"||ce===","){K.ignoreMatch();return}ce===">"&&(n(w,{after:te})||K.ignoreMatch());let fe;const Ce=w.input.substring(te);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:ua,literal:fa,built_in:ma,"variable.language":ga},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"}},_={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[t.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},I={className:"string",begin:"`",end:"`",contains:[t.BACKSLASH_ESCAPE,p]},E={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,_,I,{match:/\$\d+/},f];p.contains=M.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(M)});const D=[].concat(E,p.contains),$=D.concat([{begin:/\(/,end:/\)/,keywords:i,contains:["self"].concat(D)}]),S={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"}}]},Q={relevance:0,match:e.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...pa,...ha]}},V={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},H={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[S],illegal:/%/},ee={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function U(w){return e.concat("(?!",w.join("|"),")")}const re={match:e.concat(/\b/,U([...da,"super","import"]),r,e.lookahead(/\(/)),className:"title.function",relevance:0},q={begin:e.concat(/\./,e.lookahead(e.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},F={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},S]},R="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+t.UNDERSCORE_IDENT_RE+")\\s*=>",b={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,e.lookahead(R)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[S]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{PARAMS_CONTAINS:$,CLASS_REFERENCE:Q},illegal:/#(?![$_A-z])/,contains:[t.SHEBANG({label:"shebang",binary:"node",relevance:5}),V,t.APOS_STRING_MODE,t.QUOTE_STRING_MODE,d,m,_,I,E,{match:/\$\d+/},f,Q,{className:"attr",begin:r+e.lookahead(":"),relevance:0},b,{begin:"("+t.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[E,t.REGEXP_MODE,{className:"function",begin:R,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"]}]}]},H,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+t.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[S,t.inherit(t.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},q,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[S]},re,ee,Z,F,{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:ua.concat(i),literal:fa,built_in:ma.concat(r),"variable.language":ga},l={className:"meta",begin:"@"+n},u=(p,d,m)=>{const _=p.contains.findIndex(I=>I.label===d);if(_===-1)throw new Error("can not find mode to replace");p.contains.splice(_,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 ba(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)}}ba.defaultRender=function(t,e,n,r,s){return s.renderToken(t,e,n)};var qd=ba;const Ld=Vs(qd);var le={},_a={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={},va={};function Nd(t){var e,n,r=va[t];if(r)return r;for(r=va[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,ya={};function Md(t){var e,n,r=ya[t];if(r)return r;for(r=ya[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),xa=["%","/","?",";","#"].concat(Hd),wa=["/","?","#"],Vd=255,Ea=/^[+a-z0-9A-Z_-]{0,63}$/,Gd=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ka={javascript:!0,"javascript:":!0},Aa={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&&ka[l])&&(i=i.substr(2),this.slashes=!0)),!ka[l]&&(c||l&&!Aa[l])){var u=-1;for(n=0;n<wa.length;n++)o=i.indexOf(wa[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<xa.length;n++)o=i.indexOf(xa[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 _=this.hostname.split(/\./);for(n=0,r=_.length;n<r;n++){var I=_[n];if(I&&!I.match(Ea)){for(var k="",E=0,M=I.length;E<M;E++)I.charCodeAt(E)>127?k+="x":k+=I[E];if(!k.match(Ea)){var D=_.slice(0,n),$=_.slice(n+1),S=I.match(Gd);S&&(D.push(S[1]),$.unshift(S[2])),$.length&&(i=$.join(".")+i),this.hostname=D.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 Q=i.indexOf("?");return Q!==-1&&(this.search=i.substr(Q),i=i.slice(0,Q)),i&&(this.pathname=i),Aa[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,Ca;function Sa(){return Ca||(Ca=1,Xs=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Xs}var Qs,Ta;function Da(){return Ta||(Ta=1,Qs=/[\0-\x1F\x7F-\x9F]/),Qs}var eo,Ra;function Zd(){return Ra||(Ra=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,qa;function La(){return qa||(qa=1,to=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),to}var Na;function Wd(){return Na||(Na=1,Ut.Any=Sa(),Ut.Cc=Da(),Ut.Cf=Zd(),Ut.P=Ys,Ut.Z=La()),Ut}(function(t){function e(q){return Object.prototype.toString.call(q)}function n(q){return e(q)==="[object String]"}var r=Object.prototype.hasOwnProperty;function s(q,F){return r.call(q,F)}function o(q){var F=Array.prototype.slice.call(arguments,1);return F.forEach(function(R){if(R){if(typeof R!="object")throw new TypeError(R+"must be object");Object.keys(R).forEach(function(b){q[b]=R[b]})}}),q}function c(q,F,R){return[].concat(q.slice(0,F),R,q.slice(F+1))}function i(q){return!(q>=55296&&q<=57343||q>=64976&&q<=65007||(q&65535)===65535||(q&65535)===65534||q>=0&&q<=8||q===11||q>=14&&q<=31||q>=127&&q<=159||q>1114111)}function a(q){if(q>65535){q-=65536;var F=55296+(q>>10),R=56320+(q&1023);return String.fromCharCode(F,R)}return String.fromCharCode(q)}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=_a;function m(q,F){var R;return s(d,F)?d[F]:F.charCodeAt(0)===35&&p.test(F)&&(R=F[1].toLowerCase()==="x"?parseInt(F.slice(2),16):parseInt(F.slice(1),10),i(R))?a(R):q}function _(q){return q.indexOf("\\")<0?q:q.replace(l,"$1")}function I(q){return q.indexOf("\\")<0&&q.indexOf("&")<0?q:q.replace(f,function(F,R,b){return R||m(F,b)})}var k=/[&<>"]/,E=/[&<>"]/g,M={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function D(q){return M[q]}function $(q){return k.test(q)?q.replace(E,D):q}var S=/[.?*+^$[\]\\(){}|-]/g;function Z(q){return q.replace(S,"\\$&")}function Q(q){switch(q){case 9:case 32:return!0}return!1}function V(q){if(q>=8192&&q<=8202)return!0;switch(q){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 H=Ys;function ee(q){return H.test(q)}function U(q){switch(q){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 re(q){return q=q.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(q=q.replace(/ẞ/g,"ß")),q.toLowerCase().toUpperCase()}t.lib={},t.lib.mdurl=fn,t.lib.ucmicro=Wd(),t.assign=o,t.isString=n,t.has=s,t.unescapeMd=_,t.unescapeAll=I,t.isValidEntityCode=i,t.fromCodePoint=a,t.escapeHtml=$,t.arrayReplaceAt=c,t.isSpace=Q,t.isWhiteSpace=V,t.isMdAsciiPunct=U,t.isPunctChar=ee,t.escapeRE=Z,t.normalizeReference=re})(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},Ia=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=Ia(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=Ia(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
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>
@@ -33,5 +33,5 @@ https://github.com/highlightjs/highlight.js/issues/2277`),oe=v,ne=C),K===void 0&
33
33
  `),o+=(i.nesting===-1?"</":"<")+i.tag,o+=this.renderAttrs(i),i.nesting===0&&r.xhtmlOut&&(o+=" /"),i.block&&(c=!0,i.nesting===1&&n+1<e.length&&(s=e[n+1],(s.type==="inline"||s.hidden||s.nesting===-1&&s.tag===i.tag)&&(c=!1))),o+=c?`>
34
34
  `:">",o)},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
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"})});
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,_,I,k,E=e.tokens,M;if(e.md.options.linkify){for(r=0,s=E.length;r<s;r++)if(!(E[r].type!=="inline"||!e.md.linkify.pretest(E[r].content)))for(o=E[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++)_=M[l].url,I=e.md.normalizeLink(_),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)),E[r].children=o=ag(o,n,a)}}}},Ma=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,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&&Ma.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),Ma.test(e.tokens[n].content)&&bg(e.tokens[n].children))},Oa=le.isWhiteSpace,Fa=le.isPunctChar,Ba=le.isMdAsciiPunct,vg=/['"]/,Pa=/['"]/g,$a="’";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,_,I,k,E,M,D,$,S;for(D=[],n=0;n<t.length;n++){for(r=t[n],a=t[n].level,E=D.length-1;E>=0&&!(D[E].level<=a);E--);if(D.length=E+1,r.type==="text"){s=r.content,c=0,i=s.length;e:for(;c<i&&(Pa.lastIndex=c,o=Pa.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(E=n-1;E>=0&&!(t[E].type==="softbreak"||t[E].type==="hardbreak");E--)if(t[E].content){u=t[E].content.charCodeAt(t[E].content.length-1);break}if(f=32,c<i)f=s.charCodeAt(c);else for(E=n+1;E<t.length&&!(t[E].type==="softbreak"||t[E].type==="hardbreak");E++)if(t[E].content){f=t[E].content.charCodeAt(0);break}if(p=Ba(u)||Fa(String.fromCharCode(u)),d=Ba(f)||Fa(String.fromCharCode(f)),m=Oa(u),_=Oa(f),_?I=!1:d&&(m||p||(I=!1)),m?k=!1:p&&(_||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,$a));continue}if(k){for(E=D.length-1;E>=0&&(l=D[E],!(D[E].level<a));E--)if(l.single===M&&D[E].level===a){l=D[E],M?($=e.md.options.quotes[2],S=e.md.options.quotes[3]):($=e.md.options.quotes[0],S=e.md.options.quotes[1]),r.content=Br(r.content,o.index,S),t[l.token].content=Br(t[l.token].content,l.pos,$),c+=S.length-1,l.token===n&&(c+=$.length-1),s=r.content,i=s.length,D.length=E;continue e}}I?D.push({token:n,pos:o.index,single:M,level:a}):k&&M&&(r.content=Br(r.content,o.index,$a))}}}}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 Ua(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}Ua.prototype.Token=Eg;var kg=Ua,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 za(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,_,I,k,E,M,D,$,S;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]||(S=e.src.charCodeAt(i++),S!==124&&S!==45&&S!==58&&!co(S))||$===45&&co(S))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(_=f[a].trim(),!_){if(a===0||a===f.length-1)continue;return!1}if(!/^:?-+:?$/.test(_))return!1;_.charCodeAt(_.length-1)===58?m.push(_.charCodeAt(0)===58?"center":"right"):_.charCodeAt(0)===58?m.push("left"):m.push("")}if(c=io(e,n).trim(),c.indexOf("|")===-1||e.sCount[n]-e.blkIndent>=4||(f=za(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(E=e.parentType,e.parentType="table",D=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=D.length;a<l;a++)if(D[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=za(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=E,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,_,I,k,E,M,D,$,S,Z,Q,V=e.lineMax,H=e.bMarks[n]+e.tShift[n],ee=e.eMarks[n];if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(H)!==62)return!1;if(s)return!0;for(m=[],_=[],E=[],M=[],S=e.md.block.ruler.getRules("blockquote"),k=e.parentType,e.parentType="blockquote",p=n;p<r&&(Q=e.sCount[p]<e.blkIndent,H=e.bMarks[p]+e.tShift[p],ee=e.eMarks[p],!(H>=ee));p++){if(e.src.charCodeAt(H++)===62&&!Q){for(a=e.sCount[p]+1,e.src.charCodeAt(H)===32?(H++,a++,o=!1,D=!0):e.src.charCodeAt(H)===9?(D=!0,(e.bsCount[p]+a)%4===3?(H++,a++,o=!1):o=!0):D=!1,d=a,m.push(e.bMarks[p]),e.bMarks[p]=H;H<ee&&(c=e.src.charCodeAt(H),Rg(c));){c===9?d+=4-(d+e.bsCount[p]+(o?1:0))%4:d++;H++}u=H>=ee,_.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(D?1:0),E.push(e.sCount[p]),e.sCount[p]=d-a,M.push(e.tShift[p]),e.tShift[p]=H-e.bMarks[p];continue}if(u)break;for($=!1,i=0,l=S.length;i<l;i++)if(S[i](e,p,r,!0)){$=!0;break}if($){e.lineMax=p,e.blkIndent!==0&&(m.push(e.bMarks[p]),_.push(e.bsCount[p]),M.push(e.tShift[p]),E.push(e.sCount[p]),e.sCount[p]-=e.blkIndent);break}m.push(e.bMarks[p]),_.push(e.bsCount[p]),M.push(e.tShift[p]),E.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=V,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]=E[i],e.bsCount[i+n]=_[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)},Ha=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),!Ha(o))?-1:r}function Ga(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),!Ha(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,_,I,k,E,M,D,$,S,Z,Q,V,H,ee,U,re,q,F,R=n,b=!1,w=!0;if(e.sCount[R]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[R]-e.listIndent>=4&&e.sCount[R]<e.blkIndent)return!1;if(s&&e.parentType==="paragraph"&&e.sCount[R]>=e.blkIndent&&(b=!0),(H=Ga(e,R))>=0){if(f=!0,U=e.bMarks[R]+e.tShift[R],k=Number(e.src.slice(U,H-1)),b&&k!==1)return!1}else if((H=Va(e,R))>=0)f=!1;else return!1;if(b&&e.skipSpaces(H)>=e.eMarks[R])return!1;if(s)return!0;for(I=e.src.charCodeAt(H-1),_=e.tokens.length,f?(F=e.push("ordered_list_open","ol",1),k!==1&&(F.attrs=[["start",k]])):F=e.push("bullet_list_open","ul",1),F.map=m=[R,0],F.markup=String.fromCharCode(I),ee=!1,q=e.md.block.ruler.getRules("list"),$=e.parentType,e.parentType="list";R<r;){for(V=H,E=e.eMarks[R],u=M=e.sCount[R]+H-(e.bMarks[R]+e.tShift[R]);V<E;){if(o=e.src.charCodeAt(V),o===9)M+=4-(M+e.bsCount[R])%4;else if(o===32)M++;else break;V++}if(c=V,c>=E?l=1:l=M-u,l>4&&(l=1),a=u+l,F=e.push("list_item_open","li",1),F.markup=String.fromCharCode(I),F.map=p=[R,0],f&&(F.info=e.src.slice(U,H-1)),Q=e.tight,Z=e.tShift[R],S=e.sCount[R],D=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=a,e.tight=!0,e.tShift[R]=c-e.bMarks[R],e.sCount[R]=M,c>=E&&e.isEmpty(R+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,R,r,!0),(!e.tight||ee)&&(w=!1),ee=e.line-R>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=D,e.tShift[R]=Z,e.sCount[R]=S,e.tight=Q,F=e.push("list_item_close","li",-1),F.markup=String.fromCharCode(I),R=e.line,p[1]=R,R>=r||e.sCount[R]<e.blkIndent||e.sCount[R]-e.blkIndent>=4)break;for(re=!1,i=0,d=q.length;i<d;i++)if(q[i](e,R,r,!0)){re=!0;break}if(re)break;if(f){if(H=Ga(e,R),H<0)break;U=e.bMarks[R]+e.tShift[R]}else if(H=Va(e,R),H<0)break;if(I!==e.src.charCodeAt(H-1))break}return f?F=e.push("ordered_list_close","ol",-1):F=e.push("bullet_list_close","ul",-1),F.markup=String.fromCharCode(I),m[1]=R,e.line=R,e.parentType=$,w&&Ig(e,_),!0},Og=le.normalizeReference,Pr=le.isSpace,Fg=function(e,n,r,s){var o,c,i,a,l,u,f,p,d,m,_,I,k,E,M,D,$=0,S=e.bMarks[n]+e.tShift[n],Z=e.eMarks[n],Q=n+1;if(e.sCount[n]-e.blkIndent>=4||e.src.charCodeAt(S)!==91)return!1;for(;++S<Z;)if(e.src.charCodeAt(S)===93&&e.src.charCodeAt(S-1)!==92){if(S+1===Z||e.src.charCodeAt(S+1)!==58)return!1;break}for(a=e.lineMax,M=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";Q<a&&!e.isEmpty(Q);Q++)if(!(e.sCount[Q]-e.blkIndent>3)&&!(e.sCount[Q]<0)){for(E=!1,u=0,f=M.length;u<f;u++)if(M[u](e,Q,a,!0)){E=!0;break}if(E)break}for(k=e.getLines(n,Q,e.blkIndent,!1).trim(),Z=k.length,S=1;S<Z;S++){if(o=k.charCodeAt(S),o===91)return!1;if(o===93){d=S;break}else o===10?$++:o===92&&(S++,S<Z&&k.charCodeAt(S)===10&&$++)}if(d<0||k.charCodeAt(d+1)!==58)return!1;for(S=d+2;S<Z;S++)if(o=k.charCodeAt(S),o===10)$++;else if(!Pr(o))break;if(_=e.md.helpers.parseLinkDestination(k,S,Z),!_.ok||(l=e.md.normalizeLink(_.str),!e.md.validateLink(l)))return!1;for(S=_.pos,$+=_.lines,c=S,i=$,I=S;S<Z;S++)if(o=k.charCodeAt(S),o===10)$++;else if(!Pr(o))break;for(_=e.md.helpers.parseLinkTitle(k,S,Z),S<Z&&I!==S&&_.ok?(D=_.str,S=_.pos,$+=_.lines):(D="",S=c,$=i);S<Z&&(o=k.charCodeAt(S),!!Pr(o));)S++;if(S<Z&&k.charCodeAt(S)!==10&&D)for(D="",S=c,$=i;S<Z&&(o=k.charCodeAt(S),!!Pr(o));)S++;return S<Z&&k.charCodeAt(S)!==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:D,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+")?)",ja="<[A-Za-z][A-Za-z0-9\\-]*"+Vg+"*\\s*\\/?>",Ka="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Gg="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",jg="<[?][\\s\\S]*?[?]>",Kg="<![A-Z]+\\s+[^>]*>",Zg="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",Wg=new RegExp("^(?:"+ja+"|"+Ka+"|"+Gg+"|"+jg+"|"+Kg+"|"+Zg+")"),Jg=new RegExp("^(?:"+ja+"|"+Ka+")");$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},Za=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&&!Za(o)?!1:(s||(u=e.skipSpacesBack(u,l),i=e.skipCharsBack(u,35,l),i>l&&Za(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,_=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=_.length;c<i;c++)if(_[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},Wa=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 Wa(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=Wa;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=[],Ja=0;Ja<256;Ja++)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 Ya(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(Ya(e,e.delimiters),n=0;n<s;n++)r[n]&&r[n].delimiters&&Ya(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 Xa(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(Xa(e,e.delimiters),n=0;n<s;n++)r[n]&&r[n].delimiters&&Xa(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,_=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<_&&e.src.charCodeAt(a)===40){for(k=!1,a++;a<_&&(s=e.src.charCodeAt(a),!(!lo(s)&&s!==10));a++);if(a>=_)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<_&&(s=e.src.charCodeAt(a),!(!lo(s)&&s!==10));a++);if(l=e.md.helpers.parseLinkTitle(e.src,a,e.posMax),a<_&&I!==a&&l.ok)for(d=l.str,a=l.pos;a<_&&(s=e.src.charCodeAt(a),!(!lo(s)&&s!==10));a++);}(a>=_||e.src.charCodeAt(a)!==41)&&(k=!0),a++}if(k){if(typeof e.env.references>"u")return!1;if(a<_&&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=_,!0},bm=le.normalizeReference,uo=le.isSpace,_m=function(e,n){var r,s,o,c,i,a,l,u,f,p,d,m,_,I="",k=e.pos,E=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<E&&e.src.charCodeAt(l)===40){for(l++;l<E&&(s=e.src.charCodeAt(l),!(!uo(s)&&s!==10));l++);if(l>=E)return!1;for(_=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=""),_=l;l<E&&(s=e.src.charCodeAt(l),!(!uo(s)&&s!==10));l++);if(f=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<E&&_!==l&&f.ok)for(p=f.str,l=f.pos;l<E&&(s=e.src.charCodeAt(l),!(!uo(s)&&s!==10));l++);else p="";if(l>=E||e.src.charCodeAt(l)!==41)return e.pos=k,!1;l++}else{if(typeof e.env.references>"u")return!1;if(l<E&&e.src.charCodeAt(l)===91?(_=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?c=e.src.slice(_,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=E,!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)},Qa=_a,Sm=le.has,Tm=le.isValidEntityCode,el=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)?el(s):el(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(Qa,o[1]))return n||(c=e.push("text_special","",0),c.content=Qa[o[1]],c.markup=o[0],c.info="entity"),e.pos+=o[0].length,!0;return!1};function tl(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(tl(e.delimiters),n=0;n<s;n++)r[n]&&r[n].delimiters&&tl(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,nl=le.isWhiteSpace,rl=le.isPunctChar,sl=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,_=this.src.charCodeAt(t);for(r=t>0?this.src.charCodeAt(t-1):32;n<m&&this.src.charCodeAt(n)===_;)n++;return o=n-t,s=n<m?this.src.charCodeAt(n):32,l=sl(r)||rl(String.fromCharCode(r)),f=sl(s)||rl(String.fromCharCode(s)),a=nl(r),u=nl(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,ol=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 ol,t=0;t<po.length;t++)this.ruler.push(po[t][0],po[t][1]);for(this.ruler2=new ol,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,cl;function Om(){return cl||(cl=1,go=function(t){var e={};t=t||{},e.src_Any=Sa().source,e.src_Cc=Da().source,e.src_Z=La().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 il(t){return jr(t)==="[object Function]"}function $m(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var al={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function Um(t){return Object.keys(t||{}).reduce(function(e,n){return e||al.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 ll(){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):il(a.validate)?l.validate=a.validate:o(i,a),il(a.normalize)?l.normalize=a.normalize:a.normalize?o(i,a):l.normalize=ll();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:ll()};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 Ue(t,e){if(!(this instanceof Ue))return new Ue(t,e);e||Um(t)&&(e=t,t={}),this.__opts__=mo({},al,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)}Ue.prototype.add=function(e,n){return this.__schemas__[e]=n,Kr(this),this},Ue.prototype.set=function(e){return this.__opts__=mo(this.__opts__,e),this},Ue.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},Ue.prototype.pretest=function(e){return this.re.pretest.test(e)},Ue.prototype.testSchemaAt=function(e,n,r){return this.__compiled__[n.toLowerCase()]?this.__compiled__[n.toLowerCase()].validate(e,r,this):0},Ue.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},Ue.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},Ue.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)},Ue.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)},Ue.prototype.onCompile=function(){};var Zm=Ue;const gn=2147483647,st=36,_o=1,Vn=26,Wm=38,Jm=700,ul=72,fl=128,pl="-",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 hl(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 dl=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},gl=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},ml=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=fl,o=ul,c=t.lastIndexOf(pl);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=ml(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=fl,s=0,o=ul;for(const a of t)a<128&&e.push(yo(a));const c=e.length;let i=c;for(c&&e.push(pl);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,_=st-d;e.push(yo(gl(d+m%_,0))),f=ot(m/_)}e.push(yo(gl(f,0))),o=ml(s,l,i===c),s=0,++i}++s,++r}return e.join("")},bl=function(t){return hl(t,function(e){return Ym.test(e)?wo(e.slice(4).toLowerCase()):e})},_l=function(t){return hl(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:dl},decode:wo,encode:Eo,toASCII:_l,toUnicode:bl},encode:Eo,toASCII:_l,toUnicode:bl,ucs2decode:xo,ucs2encode:dl},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,vl=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 yl=["http:","https:","mailto:"];function bb(t){var e=Ht.parse(t,!0);if(e.hostname&&(!e.protocol||yl.indexOf(e.protocol)>=0))try{e.hostname=vl.toASCII(e.hostname)}catch{}return Ht.encode(Ht.format(e))}function _b(t){var e=Ht.parse(t,!0);if(e.hostname&&(!e.protocol||yl.indexOf(e.protocol)>=0))try{e.hostname=vl.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=je({name:"VueMarkdown",props:{source:{type:String,required:!0},options:{type:Object,required:!1},plugins:{type:Array,required:!1}},setup(t){const e=De(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=je({__name:"Message",props:{message:{}},setup(t,{expose:e}){const n=t;gt.registerLanguage("javascript",ca),gt.registerLanguage("typescript",Td),gt.registerLanguage("python",Cd),gt.registerLanguage("xml",ia),gt.registerLanguage("bash",Ad);const{message:r}=uu(n),{options:s}=Un(),o=De(null),c=De({}),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:"start"})},f={highlight(m,_){if(_&&gt.getLanguage(_))try{return gt.highlight(m,{language:_}).value}catch{}return""}},p={...(s==null?void 0:s.messageComponents)??{}};e({scrollToView:u});const d=async m=>await new Promise((_,I)=>{const k=new FileReader;k.onload=()=>_(k.result),k.onerror=I,k.readAsDataURL(m)});return wt(async()=>{if(r.value.files)for(const m of r.value.files)try{const _=await d(m);c.value[m.name]=_}catch(_){console.error("Error reading file:",_)}}),(m,_)=>(j(),oe("div",{ref_key:"messageContainer",ref:o,class:Jt(["chat-message",a.value])},[m.$slots.beforeMessage?(j(),oe("div",Eb,[It(m.$slots,"beforeMessage",Lo(Qc({message:se(r)})))])):Ke("",!0),It(m.$slots,"default",{},()=>[se(r).type==="component"&&p[se(r).key]?(j(),ve(Pu(p[se(r).key]),Lo(Ms({key:0},se(r).arguments)),null,16)):(j(),ve(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(),oe("div",kb,[(j(!0),oe(Ee,null,mr(se(r).files??[],I=>(j(),oe("div",{key:I.name,class:"chat-message-file"},[me(la,{file:I,"is-removable":!1,"is-previewable":!0},null,8,["file"])]))),128))])):Ke("",!0)])],2))}}),Ab=je({__name:"MessageTyping",props:{animation:{default:"bouncing"}},setup(t){const e=t,n={id:"typing",text:"",sender:"bot",createdAt:""},r=De(),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(),ve(se(ko),{ref_key:"messageContainer",ref:r,class:Jt(s.value),message:n,"data-test-id":"chat-message-typing"},{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=je({__name:"MessagesList",props:{messages:{}},setup(t){const e=Js(),n=De([]),{initialMessages:r,waitingForResponse:s}=e;return _r(()=>n.value.length,()=>{const o=n.value[n.value.length-1];o&&o.scrollToView()}),(o,c)=>(j(),oe("div",Cb,[(j(!0),oe(Ee,null,mr(se(r),i=>(j(),ve(ko,{key:i.id,message:i},null,8,["message"]))),128)),(j(!0),oe(Ee,null,mr(o.messages,i=>(j(),ve(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(),ve(Ab,{key:0})):Ke("",!0)]))}}),Tb={class:"chat-heading"},Db=["title"],Rb={key:0},xl=je({__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(),ve(kd,{class:"chat-wrapper"},{header:pt(()=>[he("div",Tb,[he("h1",null,Yt(se(e)("title")),1),c.value?(j(),oe("button",{key:0,class:"chat-close-button",title:se(e)("closeButtonTooltip"),onClick:l},[me(se(Sh),{height:"18",width:"18"})],8,Db)):Ke("",!0)]),se(e)("subtitle")?(j(),oe("p",Rb,Yt(se(e)("subtitle")),1)):Ke("",!0)]),footer:pt(()=>[se(s)?(j(),ve(yd,{key:0})):(j(),ve(Oh,{key:1}))]),default:pt(()=>[!se(s)&&se(o).showWelcomeScreen?(j(),ve(Dh,{key:0,"onClick:button":i})):(j(),ve(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(),oe("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(),oe("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=je({__name:"ChatWindow",setup(t){const e=De(!1);function n(){e.value=!e.value,e.value&&rn(()=>{Be.emit("scrollToBottom")})}return(r,s)=>(j(),oe("div",Fb,[me(pi,{name:"chat-window-transition"},{default:pt(()=>[hc(he("div",Bb,[me(xl)],512),[[Uf,e.value]])]),_:1}),he("div",{class:"chat-window-toggle",onClick:n},[me(pi,{name:"chat-window-toggle-transition",mode:"out-in"},{default:pt(()=>[e.value?(j(),ve(se(Ob),{key:1,height:"32",width:"32"})):(j(),ve(se(Nb),{key:0,height:"32",width:"32"}))]),_:1})])]))}}),$b=je({__name:"App",props:{},setup(t){const{options:e}=Un(),n=Me(()=>e.mode==="fullscreen");return wt(()=>{gt.registerLanguage("xml",ia),gt.registerLanguage("javascript",ca)}),(r,s)=>n.value?(j(),ve(se(xl),{key:0,class:"n8n-chat"})):(j(),ve(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"})});