@n8n/chat 0.32.0 → 0.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,37 +1,37 @@
1
- (function(Kt,Rt){typeof exports=="object"&&typeof module<"u"?Rt(exports):typeof define=="function"&&define.amd?define(["exports"],Rt):(Kt=typeof globalThis<"u"?globalThis:Kt||self,Rt(Kt.N8nChat={}))})(this,function(Kt){"use strict";/**
2
- * @vue/shared v3.5.11
1
+ (function(pn,en){typeof exports=="object"&&typeof module<"u"?en(exports):typeof define=="function"&&define.amd?define(["exports"],en):(pn=typeof globalThis<"u"?globalThis:pn||self,en(pn.N8nChat={}))})(this,function(pn){"use strict";/**
2
+ * @vue/shared v3.5.13
3
3
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
4
  * @license MIT
5
- **//*! #__NO_SIDE_EFFECTS__ */function Rt(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=Rt(",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,Ve=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=Rt("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
- * @vue/reactivity v3.5.11
5
+ **//*! #__NO_SIDE_EFFECTS__ */function en(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ke={},dn=[],yt=()=>{},Mu=()=>!1,ir=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Xr=e=>e.startsWith("onUpdate:"),Me=Object.assign,Qr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ou=Object.prototype.hasOwnProperty,ve=(e,t)=>Ou.call(e,t),ie=Array.isArray,gn=e=>cr(e)==="[object Map]",Ei=e=>cr(e)==="[object Set]",ae=e=>typeof e=="function",Le=e=>typeof e=="string",Dt=e=>typeof e=="symbol",De=e=>e!==null&&typeof e=="object",ki=e=>(De(e)||ae(e))&&ae(e.then)&&ae(e.catch),wi=Object.prototype.toString,cr=e=>wi.call(e),Fu=e=>cr(e).slice(8,-1),Ai=e=>cr(e)==="[object Object]",es=e=>Le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Nn=en(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ar=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Pu=/-(\w)/g,ht=ar(e=>e.replace(Pu,(t,n)=>n?n.toUpperCase():"")),Bu=/\B([A-Z])/g,Ut=ar(e=>e.replace(Bu,"-$1").toLowerCase()),lr=ar(e=>e.charAt(0).toUpperCase()+e.slice(1)),ts=ar(e=>e?`on${lr(e)}`:""),zt=(e,t)=>!Object.is(e,t),ur=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Ci=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ns=e=>{const t=parseFloat(e);return isNaN(t)?e:t},$u=e=>{const t=Le(e)?Number(e):NaN;return isNaN(t)?e:t};let Si;const fr=()=>Si||(Si=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function In(e){if(ie(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Le(r)?Vu(r):In(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Le(e)||De(e))return e}const Uu=/;(?![^(]*\))/g,zu=/:([^]+)/,Hu=/\/\*[^]*?\*\//g;function Vu(e){const t={};return e.replace(Hu,"").split(Uu).forEach(n=>{if(n){const r=n.split(zu);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function mn(e){let t="";if(Le(e))t=e;else if(ie(e))for(let n=0;n<e.length;n++){const r=mn(e[n]);r&&(t+=r+" ")}else if(De(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ti(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Le(t)&&(e.class=mn(t)),n&&(e.style=In(n)),e}const ju=en("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Di(e){return!!e||e===""}const Ri=e=>!!(e&&e.__v_isRef===!0),_n=e=>Le(e)?e:e==null?"":ie(e)||De(e)&&(e.toString===wi||!ae(e.toString))?Ri(e)?_n(e.value):JSON.stringify(e,qi,2):String(e),qi=(e,t)=>Ri(t)?qi(e,t.value):gn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[rs(r,o)+" =>"]=s,n),{})}:Ei(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>rs(n))}:Dt(t)?rs(t):De(t)&&!ie(t)&&!Ai(t)?String(t):t,rs=(e,t="")=>{var n;return Dt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
6
+ * @vue/reactivity v3.5.13
7
7
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
8
  * @license MIT
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,qt=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(qt)),Wt(t)&&i(c.get(as)));break;case"delete":a||(i(c.get(qt)),Wt(t)&&i(c.get(as)));break;case"set":Wt(t)&&i(c.get(qt));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),Ge(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&&!Ge(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&&!Ge(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&&(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 zl=Rt("__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=Lt(o);if(!Ge(r)&&!Lt(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":qt),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",qt),Reflect.get(t,"size",t)}function Yo(t,e=!1){!e&&!Ge(t)&&!Lt(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)&&!Lt(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",qt),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:qt),{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 Lt(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 Vb(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 Lt(t)?Qt(t.__v_raw):!!(t&&t.__v_isReactive)}function Lt(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 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||Ge(e)||Lt(e);e=r?e:ie(e),_t(e,n)&&(this._rawValue=e,this._value=r?e:Te(e),this.dep.trigger())}}function re(t){return xe(t)?t.value:t}const lu={get:(t,e,n)=>e==="__v_raw"?t:re(Reflect.get(t,e,n)),set:(t,e,n,r)=>{const s=t[e];return xe(s)&&!xe(n)?(s.value=n,!0):Reflect.set(t,e,n,r)}};function 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 Nt;function gu(t,e=!1,n=Nt){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:Ge(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=Ge(t)):Qt(t)?(f=()=>l(t),m=!0):J(t)?(_=!0,m=t.some(D=>Qt(D)||Ge(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=Nt;Nt=u;try{return a?a(t,3,[d]):t(d)}finally{Nt=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=Nt;Nt=u;try{const Z=[$,E===ar?void 0:_&&E[0]===ar?[]:E,d];a?a(e,3,Z):e(...Z),E=$}finally{Nt=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
- * @vue/runtime-core v3.5.11
9
+ **/let Ye;class Gu{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Ye,!t&&Ye&&(this.index=(Ye.scopes||(Ye.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Ye;try{return Ye=this,t()}finally{Ye=n}}}on(){Ye=this}off(){Ye=this.parent}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0}}}function Li(){return Ye}function Ku(e,t=!1){Ye&&Ye.cleanups.push(e)}let Se;const ss=new WeakSet;class Ni{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Ye&&Ye.active&&Ye.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ss.has(this)&&(ss.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Mi(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,$i(this),Oi(this);const t=Se,n=_t;Se=this,_t=!0;try{return this.fn()}finally{Fi(this),Se=t,_t=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)as(t);this.deps=this.depsTail=void 0,$i(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ss.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){cs(this)&&this.run()}get dirty(){return cs(this)}}let Ii=0,Mn,On;function Mi(e,t=!1){if(e.flags|=8,t){e.next=On,On=e;return}e.next=Mn,Mn=e}function os(){Ii++}function is(){if(--Ii>0)return;if(On){let t=On;for(On=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Mn;){let t=Mn;for(Mn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Oi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Fi(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),as(r),Zu(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function cs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Pi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Pi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Fn))return;e.globalVersion=Fn;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!cs(e)){e.flags&=-3;return}const n=Se,r=_t;Se=e,_t=!0;try{Oi(e);const s=e.fn(e._value);(t.version===0||zt(s,e._value))&&(e._value=s,t.version++)}catch(s){throw t.version++,s}finally{Se=n,_t=r,Fi(e),e.flags&=-3}}function as(e,t=!1){const{dep:n,prevSub:r,nextSub:s}=e;if(r&&(r.nextSub=s,e.prevSub=void 0),s&&(s.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)as(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Zu(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let _t=!0;const Bi=[];function Rt(){Bi.push(_t),_t=!1}function qt(){const e=Bi.pop();_t=e===void 0?!0:e}function $i(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Se;Se=void 0;try{t()}finally{Se=n}}}let Fn=0;class Wu{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class ls{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!Se||!_t||Se===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Se)n=this.activeLink=new Wu(Se,this),Se.deps?(n.prevDep=Se.depsTail,Se.depsTail.nextDep=n,Se.depsTail=n):Se.deps=Se.depsTail=n,Ui(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=Se.depsTail,n.nextDep=void 0,Se.depsTail.nextDep=n,Se.depsTail=n,Se.deps===n&&(Se.deps=r)}return n}trigger(t){this.version++,Fn++,this.notify(t)}notify(t){os();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{is()}}}function Ui(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Ui(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const hr=new WeakMap,tn=Symbol(""),us=Symbol(""),Pn=Symbol("");function Ke(e,t,n){if(_t&&Se){let r=hr.get(e);r||hr.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new ls),s.map=r,s.key=n),s.track()}}function Lt(e,t,n,r,s,o){const i=hr.get(e);if(!i){Fn++;return}const c=a=>{a&&a.trigger()};if(os(),t==="clear")i.forEach(c);else{const a=ie(e),l=a&&es(n);if(a&&n==="length"){const u=Number(r);i.forEach((f,p)=>{(p==="length"||p===Pn||!Dt(p)&&p>=u)&&c(f)})}else switch((n!==void 0||i.has(void 0))&&c(i.get(n)),l&&c(i.get(Pn)),t){case"add":a?l&&c(i.get("length")):(c(i.get(tn)),gn(e)&&c(i.get(us)));break;case"delete":a||(c(i.get(tn)),gn(e)&&c(i.get(us)));break;case"set":gn(e)&&c(i.get(tn));break}}is()}function Ju(e,t){const n=hr.get(e);return n&&n.get(t)}function bn(e){const t=_e(e);return t===e?t:(Ke(t,"iterate",Pn),pt(e)?t:t.map(Ze))}function pr(e){return Ke(e=_e(e),"iterate",Pn),e}const Yu={__proto__:null,[Symbol.iterator](){return fs(this,Symbol.iterator,Ze)},concat(...e){return bn(this).concat(...e.map(t=>ie(t)?bn(t):t))},entries(){return fs(this,"entries",e=>(e[1]=Ze(e[1]),e))},every(e,t){return Nt(this,"every",e,t,void 0,arguments)},filter(e,t){return Nt(this,"filter",e,t,n=>n.map(Ze),arguments)},find(e,t){return Nt(this,"find",e,t,Ze,arguments)},findIndex(e,t){return Nt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Nt(this,"findLast",e,t,Ze,arguments)},findLastIndex(e,t){return Nt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Nt(this,"forEach",e,t,void 0,arguments)},includes(...e){return hs(this,"includes",e)},indexOf(...e){return hs(this,"indexOf",e)},join(e){return bn(this).join(e)},lastIndexOf(...e){return hs(this,"lastIndexOf",e)},map(e,t){return Nt(this,"map",e,t,void 0,arguments)},pop(){return Bn(this,"pop")},push(...e){return Bn(this,"push",e)},reduce(e,...t){return zi(this,"reduce",e,t)},reduceRight(e,...t){return zi(this,"reduceRight",e,t)},shift(){return Bn(this,"shift")},some(e,t){return Nt(this,"some",e,t,void 0,arguments)},splice(...e){return Bn(this,"splice",e)},toReversed(){return bn(this).toReversed()},toSorted(e){return bn(this).toSorted(e)},toSpliced(...e){return bn(this).toSpliced(...e)},unshift(...e){return Bn(this,"unshift",e)},values(){return fs(this,"values",Ze)}};function fs(e,t,n){const r=pr(e),s=r[t]();return r!==e&&!pt(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.value&&(o.value=n(o.value)),o}),s}const Xu=Array.prototype;function Nt(e,t,n,r,s,o){const i=pr(e),c=i!==e&&!pt(e),a=i[t];if(a!==Xu[t]){const f=a.apply(e,o);return c?Ze(f):f}let l=n;i!==e&&(c?l=function(f,p){return n.call(this,Ze(f),p,e)}:n.length>2&&(l=function(f,p){return n.call(this,f,p,e)}));const u=a.call(i,l,r);return c&&s?s(u):u}function zi(e,t,n,r){const s=pr(e);let o=n;return s!==e&&(pt(e)?n.length>3&&(o=function(i,c,a){return n.call(this,i,c,a,e)}):o=function(i,c,a){return n.call(this,i,Ze(c),a,e)}),s[t](o,...r)}function hs(e,t,n){const r=_e(e);Ke(r,"iterate",Pn);const s=r[t](...n);return(s===-1||s===!1)&&ms(n[0])?(n[0]=_e(n[0]),r[t](...n)):s}function Bn(e,t,n=[]){Rt(),os();const r=_e(e)[t].apply(e,n);return is(),qt(),r}const Qu=en("__proto__,__v_isRef,__isVue"),Hi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Dt));function ef(e){Dt(e)||(e=String(e));const t=_e(this);return Ke(t,"has",e),t.hasOwnProperty(e)}class Vi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;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?Ji:Wi:o?Zi:Ki).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ie(t);if(!s){let a;if(i&&(a=Yu[n]))return a;if(n==="hasOwnProperty")return ef}const c=Reflect.get(t,n,Pe(t)?t:r);return(Dt(n)?Hi.has(n):Qu(n))||(s||Ke(t,"get",n),o)?c:Pe(c)?i&&es(n)?c:c.value:De(c)?s?gs(c):ds(c):c}}class ji extends Vi{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const a=nn(o);if(!pt(r)&&!nn(r)&&(o=_e(o),r=_e(r)),!ie(t)&&Pe(o)&&!Pe(r))return a?!1:(o.value=r,!0)}const i=ie(t)&&es(n)?Number(n)<t.length:ve(t,n),c=Reflect.set(t,n,r,Pe(t)?t:s);return t===_e(s)&&(i?zt(r,o)&&Lt(t,"set",n,r):Lt(t,"add",n,r)),c}deleteProperty(t,n){const r=ve(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&Lt(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Dt(n)||!Hi.has(n))&&Ke(t,"has",n),r}ownKeys(t){return Ke(t,"iterate",ie(t)?"length":tn),Reflect.ownKeys(t)}}class Gi extends Vi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const tf=new ji,nf=new Gi,rf=new ji(!0),sf=new Gi(!0),ps=e=>e,dr=e=>Reflect.getPrototypeOf(e);function of(e,t,n){return function(...r){const s=this.__v_raw,o=_e(s),i=gn(o),c=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,l=s[e](...r),u=n?ps:t?_s:Ze;return!t&&Ke(o,"iterate",a?us:tn),{next(){const{value:f,done:p}=l.next();return p?{value:f,done:p}:{value:c?[u(f[0]),u(f[1])]:u(f),done:p}},[Symbol.iterator](){return this}}}}function gr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function cf(e,t){const n={get(s){const o=this.__v_raw,i=_e(o),c=_e(s);e||(zt(s,c)&&Ke(i,"get",s),Ke(i,"get",c));const{has:a}=dr(i),l=t?ps:e?_s:Ze;if(a.call(i,s))return l(o.get(s));if(a.call(i,c))return l(o.get(c));o!==i&&o.get(s)},get size(){const s=this.__v_raw;return!e&&Ke(_e(s),"iterate",tn),Reflect.get(s,"size",s)},has(s){const o=this.__v_raw,i=_e(o),c=_e(s);return e||(zt(s,c)&&Ke(i,"has",s),Ke(i,"has",c)),s===c?o.has(s):o.has(s)||o.has(c)},forEach(s,o){const i=this,c=i.__v_raw,a=_e(c),l=t?ps:e?_s:Ze;return!e&&Ke(a,"iterate",tn),c.forEach((u,f)=>s.call(o,l(u),l(f),i))}};return Me(n,e?{add:gr("add"),set:gr("set"),delete:gr("delete"),clear:gr("clear")}:{add(s){!t&&!pt(s)&&!nn(s)&&(s=_e(s));const o=_e(this);return dr(o).has.call(o,s)||(o.add(s),Lt(o,"add",s,s)),this},set(s,o){!t&&!pt(o)&&!nn(o)&&(o=_e(o));const i=_e(this),{has:c,get:a}=dr(i);let l=c.call(i,s);l||(s=_e(s),l=c.call(i,s));const u=a.call(i,s);return i.set(s,o),l?zt(o,u)&&Lt(i,"set",s,o):Lt(i,"add",s,o),this},delete(s){const o=_e(this),{has:i,get:c}=dr(o);let a=i.call(o,s);a||(s=_e(s),a=i.call(o,s)),c&&c.call(o,s);const l=o.delete(s);return a&&Lt(o,"delete",s,void 0),l},clear(){const s=_e(this),o=s.size!==0,i=s.clear();return o&&Lt(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=of(s,e,t)}),n}function mr(e,t){const n=cf(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ve(n,s)&&s in r?n:r,s,o)}const af={get:mr(!1,!1)},lf={get:mr(!1,!0)},uf={get:mr(!0,!1)},ff={get:mr(!0,!0)},Ki=new WeakMap,Zi=new WeakMap,Wi=new WeakMap,Ji=new WeakMap;function hf(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function pf(e){return e.__v_skip||!Object.isExtensible(e)?0:hf(Fu(e))}function ds(e){return nn(e)?e:_r(e,!1,tf,af,Ki)}function df(e){return _r(e,!1,rf,lf,Zi)}function gs(e){return _r(e,!0,nf,uf,Wi)}function Jm(e){return _r(e,!0,sf,ff,Ji)}function _r(e,t,n,r,s){if(!De(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=pf(e);if(i===0)return e;const c=new Proxy(e,i===2?r:n);return s.set(e,c),c}function vn(e){return nn(e)?vn(e.__v_raw):!!(e&&e.__v_isReactive)}function nn(e){return!!(e&&e.__v_isReadonly)}function pt(e){return!!(e&&e.__v_isShallow)}function ms(e){return e?!!e.__v_raw:!1}function _e(e){const t=e&&e.__v_raw;return t?_e(t):e}function gf(e){return!ve(e,"__v_skip")&&Object.isExtensible(e)&&Ci(e,"__v_skip",!0),e}const Ze=e=>De(e)?ds(e):e,_s=e=>De(e)?gs(e):e;function Pe(e){return e?e.__v_isRef===!0:!1}function We(e){return mf(e,!1)}function mf(e,t){return Pe(e)?e:new _f(e,t)}class _f{constructor(t,n){this.dep=new ls,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:_e(t),this._value=n?t:Ze(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||pt(t)||nn(t);t=r?t:_e(t),zt(t,n)&&(this._rawValue=t,this._value=r?t:Ze(t),this.dep.trigger())}}function he(e){return Pe(e)?e.value:e}const bf={get:(e,t,n)=>t==="__v_raw"?e:he(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Pe(s)&&!Pe(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Yi(e){return vn(e)?e:new Proxy(e,bf)}function vf(e){const t=ie(e)?new Array(e.length):{};for(const n in e)t[n]=xf(e,n);return t}class yf{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Ju(_e(this._object),this._key)}}function xf(e,t,n){const r=e[t];return Pe(r)?r:new yf(e,t,n)}class Ef{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ls(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Fn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Se!==this)return Mi(this,!0),!0}get value(){const t=this.dep.track();return Pi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function kf(e,t,n=!1){let r,s;return ae(e)?r=e:(r=e.get,s=e.set),new Ef(r,s,n)}const br={},vr=new WeakMap;let rn;function wf(e,t=!1,n=rn){if(n){let r=vr.get(n);r||vr.set(n,r=[]),r.push(e)}}function Af(e,t,n=ke){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:c,call:a}=n,l=g=>s?g:pt(g)||s===!1||s===0?It(g,1):It(g);let u,f,p,h,m=!1,x=!1;if(Pe(e)?(f=()=>e.value,m=pt(e)):vn(e)?(f=()=>l(e),m=!0):ie(e)?(x=!0,m=e.some(g=>vn(g)||pt(g)),f=()=>e.map(g=>{if(Pe(g))return g.value;if(vn(g))return l(g);if(ae(g))return a?a(g,2):g()})):ae(e)?t?f=a?()=>a(e,2):e:f=()=>{if(p){Rt();try{p()}finally{qt()}}const g=rn;rn=u;try{return a?a(e,3,[h]):e(h)}finally{rn=g}}:f=yt,t&&s){const g=f,k=s===!0?1/0:s;f=()=>It(g(),k)}const A=Li(),v=()=>{u.stop(),A&&A.active&&Qr(A.effects,u)};if(o&&t){const g=t;t=(...k)=>{g(...k),v()}}let E=x?new Array(e.length).fill(br):br;const b=g=>{if(!(!(u.flags&1)||!u.dirty&&!g))if(t){const k=u.run();if(s||m||(x?k.some((w,B)=>zt(w,E[B])):zt(k,E))){p&&p();const w=rn;rn=u;try{const B=[k,E===br?void 0:x&&E[0]===br?[]:E,h];a?a(t,3,B):t(...B),E=k}finally{rn=w}}}else u.run()};return c&&c(b),u=new Ni(f),u.scheduler=i?()=>i(b,!1):b,h=g=>wf(g,!1,u),p=u.onStop=()=>{const g=vr.get(u);if(g){if(a)a(g,4);else for(const k of g)k();vr.delete(u)}},t?r?b(!0):E=u.run():i?i(b.bind(null,!0),!0):u.run(),v.pause=u.pause.bind(u),v.resume=u.resume.bind(u),v.stop=v,v}function It(e,t=1/0,n){if(t<=0||!De(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Pe(e))It(e.value,t,n);else if(ie(e))for(let r=0;r<e.length;r++)It(e[r],t,n);else if(Ei(e)||gn(e))e.forEach(r=>{It(r,t,n)});else if(Ai(e)){for(const r in e)It(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&It(e[r],t,n)}return e}/**
10
+ * @vue/runtime-core v3.5.13
11
11
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
12
  * @license MIT
13
- **/const An=[];let ms=!1;function Gb(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
- `),s]);else{const o=[`[Vue warn]: ${t}`,...e];s.length&&o.push(`
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 It(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 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},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 oe=!1;const q=V[hr]=O=>{oe||(oe=!0,O?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 oe=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,oe]):oe()},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=kt(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?kt(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 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===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||be(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 Et(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!s&&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:oe,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),oe&&(t.directives=oe),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=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&&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=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)||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?oe(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&&It(h,null,C,"created"),Z(N,h,h.scopeId,x,C),W){for(const F in W)F!=="value"&&!_n(F)&&o(N,F,null,W[F],L,C);"value"in W&&o(N,"value",null,W.value,L),(y=W.onVnodeBeforeMount)&&tt(y,C,h)}Y&&It(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&&It(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?At(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&&It(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 F=0;F<A.length;F++){const z=A[F],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&&It(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)},oe=(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):O(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)},O=(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:F}=h;{const Fe=Hc(h);if(Fe){P&&(P.el=F.el,b(h,P,x)),Fe.asyncDep.then(()=>{h.isUnmounted||B()});return}}let z=P,ne;Mt(h,!1),P?(P.el=F.el,b(h,P,x)):P=F,G&&Yn(G),(ne=P.props&&P.props.onVnodeBeforeUpdate)&&tt(ne,A,P,F),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,F),T)}else{let P;const{el:G,props:Y}=g,{bm:A,m:F,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(F&&Pe(F,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?At(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?At(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?At(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?At(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,F=new Map;for(y=A;y<=G;y++){const He=g[y]=N?At(g[y]):et(g[y]);He.key!=null&&F.set(He.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 He=h[y];if(ne>=ae){fe(He,T,L,!0);continue}let ct;if(He.key!=null)ct=F.get(He.key);else for(z=A;z<=G;z++)if(jt[z-A]===0&&Ot(He,g[z])){ct=z;break}ct===void 0?fe(He,T,L,!0):(jt[ct-A]=y+1,ct>=Fe?Fe=ct:_e=!0,_(He,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 He=A+y,ct=g[He],El=He+1<W?g[He+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),F=()=>{P(L,()=>{A(),Y&&Y()})};G?G(L,A,F):F()}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,F=!sn(h);let z;if(F&&(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&&It(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)}(F&&(z=x&&x.onVnodeUnmounted)||A)&&Pe(()=>{z&&tt(z,g,h),A&&It(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]=At(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[`${Ve(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(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(!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 jb(){}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=kt(M,E,!1,!0))}return n.dirs&&(M=kt(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 se(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=kt(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 kt(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&&kt(t.ssContent),ssFallback:t.ssFallback&&kt(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 Ue(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)?At(t):me(yr,null,String(t))}function At(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:kt(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
- * @vue/runtime-dom v3.5.11
13
+ **/const $n=[];let bs=!1;function Ym(e,...t){if(bs)return;bs=!0,Rt();const n=$n.length?$n[$n.length-1].component:null,r=n&&n.appContext.config.warnHandler,s=Cf();if(r)yn(r,n,11,[e+t.map(o=>{var i,c;return(c=(i=o.toString)==null?void 0:i.call(o))!=null?c:JSON.stringify(o)}).join(""),n&&n.proxy,s.map(({vnode:o})=>`at <${Xc(n,o.type)}>`).join(`
14
+ `),s]);else{const o=[`[Vue warn]: ${e}`,...t];s.length&&o.push(`
15
+ `,...Sf(s)),console.warn(...o)}qt(),bs=!1}function Cf(){let e=$n[$n.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function Sf(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
16
+ `],...Tf(n))}),t}function Tf({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,s=` at <${Xc(e.component,e.type,r)}`,o=">"+n;return e.props?[s,...Df(e.props),o]:[s+o]}function Df(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...Xi(r,e[r]))}),n.length>3&&t.push(" ..."),t}function Xi(e,t,n){return Le(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:Pe(t)?(t=Xi(e,_e(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):ae(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=_e(t),n?t:[`${e}=`,t])}function yn(e,t,n,r){try{return r?e(...r):e()}catch(s){yr(s,t,n)}}function bt(e,t,n,r){if(ae(e)){const s=yn(e,t,n,r);return s&&ki(s)&&s.catch(o=>{yr(o,t,n)}),s}if(ie(e)){const s=[];for(let o=0;o<e.length;o++)s.push(bt(e[o],t,n,r));return s}}function yr(e,t,n,r=!0){const s=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ke;if(t){let c=t.parent;const a=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;c;){const u=c.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,a,l)===!1)return}c=c.parent}if(o){Rt(),yn(o,null,10,[e,a,l]),qt();return}}Rf(e,n,s,r,i)}function Rf(e,t,n,r=!0,s=!1){if(s)throw e;console.error(e)}const Xe=[];let xt=-1;const xn=[];let Ht=null,En=0;const Qi=Promise.resolve();let xr=null;function kn(e){const t=xr||Qi;return e?t.then(this?e.bind(this):e):t}function qf(e){let t=xt+1,n=Xe.length;for(;t<n;){const r=t+n>>>1,s=Xe[r],o=Un(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function vs(e){if(!(e.flags&1)){const t=Un(e),n=Xe[Xe.length-1];!n||!(e.flags&2)&&t>=Un(n)?Xe.push(e):Xe.splice(qf(t),0,e),e.flags|=1,ec()}}function ec(){xr||(xr=Qi.then(rc))}function Lf(e){ie(e)?xn.push(...e):Ht&&e.id===-1?Ht.splice(En+1,0,e):e.flags&1||(xn.push(e),e.flags|=1),ec()}function tc(e,t,n=xt+1){for(;n<Xe.length;n++){const r=Xe[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Xe.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function nc(e){if(xn.length){const t=[...new Set(xn)].sort((n,r)=>Un(n)-Un(r));if(xn.length=0,Ht){Ht.push(...t);return}for(Ht=t,En=0;En<Ht.length;En++){const n=Ht[En];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Ht=null,En=0}}const Un=e=>e.id==null?e.flags&2?-1:1/0:e.id;function rc(e){try{for(xt=0;xt<Xe.length;xt++){const t=Xe[xt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),yn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;xt<Xe.length;xt++){const t=Xe[xt];t&&(t.flags&=-2)}xt=-1,Xe.length=0,nc(),xr=null,(Xe.length||xn.length)&&rc()}}let $e=null,sc=null;function Er(e){const t=$e;return $e=e,sc=e&&e.type.__scopeId||null,t}function Mt(e,t=$e,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&zc(-1);const o=Er(t);let i;try{i=e(...s)}finally{Er(o),r._d&&zc(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function oc(e,t){if($e===null)return e;const n=Ir($e),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,c,a=ke]=t[s];o&&(ae(o)&&(o={mounted:o,updated:o}),o.deep&&It(i),r.push({dir:o,instance:n,value:i,oldValue:void 0,arg:c,modifiers:a}))}return e}function sn(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const c=s[i];o&&(c.oldValue=o[i].value);let a=c.dir[r];a&&(Rt(),bt(a,n,8,[e.el,c,e,t]),qt())}}const Nf=Symbol("_vte"),ic=e=>e.__isTeleport,Vt=Symbol("_leaveCb"),kr=Symbol("_enterCb");function If(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return jt(()=>{e.isMounted=!0}),Es(()=>{e.isUnmounting=!0}),e}const dt=[Function,Array],cc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:dt,onEnter:dt,onAfterEnter:dt,onEnterCancelled:dt,onBeforeLeave:dt,onLeave:dt,onAfterLeave:dt,onLeaveCancelled:dt,onBeforeAppear:dt,onAppear:dt,onAfterAppear:dt,onAppearCancelled:dt},ac=e=>{const t=e.subTree;return t.component?ac(t.component):t},Mf={name:"BaseTransition",props:cc,setup(e,{slots:t}){const n=Rh(),r=If();return()=>{const s=t.default&&hc(t.default(),!0);if(!s||!s.length)return;const o=lc(s),i=_e(e),{mode:c}=i;if(r.isLeaving)return xs(o);const a=fc(o);if(!a)return xs(o);let l=ys(a,i,r,n,f=>l=f);a.type!==et&&zn(a,l);let u=n.subTree&&fc(n.subTree);if(u&&u.type!==et&&!cn(a,u)&&ac(n).type!==et){let f=ys(u,i,r,n);if(zn(u,f),c==="out-in"&&a.type!==et)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},xs(o);c==="in-out"&&a.type!==et?f.delayLeave=(p,h,m)=>{const x=uc(r,u);x[String(u.key)]=u,p[Vt]=()=>{h(),p[Vt]=void 0,delete l.delayedLeave,u=void 0},l.delayedLeave=()=>{m(),delete l.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return o}}};function lc(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==et){t=n;break}}return t}const Of=Mf;function uc(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function ys(e,t,n,r,s){const{appear:o,mode:i,persisted:c=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:p,onLeave:h,onAfterLeave:m,onLeaveCancelled:x,onBeforeAppear:A,onAppear:v,onAfterAppear:E,onAppearCancelled:b}=t,g=String(e.key),k=uc(n,e),w=(D,q)=>{D&&bt(D,r,9,q)},B=(D,q)=>{const F=q[1];w(D,q),ie(D)?D.every(N=>N.length<=1)&&F():D.length<=1&&F()},T={mode:i,persisted:c,beforeEnter(D){let q=a;if(!n.isMounted)if(o)q=A||a;else return;D[Vt]&&D[Vt](!0);const F=k[g];F&&cn(e,F)&&F.el[Vt]&&F.el[Vt](),w(q,[D])},enter(D){let q=l,F=u,N=f;if(!n.isMounted)if(o)q=v||l,F=E||u,N=b||f;else return;let oe=!1;const S=D[kr]=z=>{oe||(oe=!0,z?w(N,[D]):w(F,[D]),T.delayedLeave&&T.delayedLeave(),D[kr]=void 0)};q?B(q,[D,S]):S()},leave(D,q){const F=String(e.key);if(D[kr]&&D[kr](!0),n.isUnmounting)return q();w(p,[D]);let N=!1;const oe=D[Vt]=S=>{N||(N=!0,q(),S?w(x,[D]):w(m,[D]),D[Vt]=void 0,k[F]===e&&delete k[F])};k[F]=e,h?B(h,[D,oe]):oe()},clone(D){const q=ys(D,t,n,r,s);return s&&s(q),q}};return T}function xs(e){if(Ar(e))return e=Kt(e),e.children=null,e}function fc(e){if(!Ar(e))return ic(e.type)&&e.children?lc(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ae(n.default))return n.default()}}function zn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,zn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function hc(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const c=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===He?(i.patchFlag&128&&s++,r=r.concat(hc(i.children,t,c))):(t||i.type!==et)&&r.push(c!=null?Kt(i,{key:c}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function gt(e,t){return ae(e)?Me({name:e.name},t,{setup:e}):e}function pc(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function wr(e,t,n,r,s=!1){if(ie(e)){e.forEach((m,x)=>wr(m,t&&(ie(t)?t[x]:t),n,r,s));return}if(wn(r)&&!s){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&wr(e,t,n,r.component.subTree);return}const o=r.shapeFlag&4?Ir(r.component):r.el,i=s?null:o,{i:c,r:a}=e,l=t&&t.r,u=c.refs===ke?c.refs={}:c.refs,f=c.setupState,p=_e(f),h=f===ke?()=>!1:m=>ve(p,m);if(l!=null&&l!==a&&(Le(l)?(u[l]=null,h(l)&&(f[l]=null)):Pe(l)&&(l.value=null)),ae(a))yn(a,c,12,[i,u]);else{const m=Le(a),x=Pe(a);if(m||x){const A=()=>{if(e.f){const v=m?h(a)?f[a]:u[a]:a.value;s?ie(v)&&Qr(v,o):ie(v)?v.includes(o)||v.push(o):m?(u[a]=[o],h(a)&&(f[a]=u[a])):(a.value=[o],e.k&&(u[e.k]=a.value))}else m?(u[a]=i,h(a)&&(f[a]=i)):x&&(a.value=i,e.k&&(u[e.k]=i))};i?(A.id=-1,ct(A,n)):A()}}}fr().requestIdleCallback,fr().cancelIdleCallback;const wn=e=>!!e.type.__asyncLoader,Ar=e=>e.type.__isKeepAlive;function Ff(e,t){dc(e,"a",t)}function Pf(e,t){dc(e,"da",t)}function dc(e,t,n=Ve){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Cr(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Ar(s.parent.vnode)&&Bf(r,t,n,s),s=s.parent}}function Bf(e,t,n,r){const s=Cr(t,e,r,!0);ks(()=>{Qr(r[t],s)},n)}function Cr(e,t,n=Ve,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Rt();const c=Zn(n),a=bt(t,n,e,i);return c(),qt(),a});return r?s.unshift(o):s.push(o),o}}const Ot=e=>(t,n=Ve)=>{(!Wn||e==="sp")&&Cr(e,(...r)=>t(...r),n)},$f=Ot("bm"),jt=Ot("m"),Uf=Ot("bu"),zf=Ot("u"),Es=Ot("bum"),ks=Ot("um"),Hf=Ot("sp"),Vf=Ot("rtg"),jf=Ot("rtc");function Gf(e,t=Ve){Cr("ec",e,t)}const Kf="components",gc=Symbol.for("v-ndc");function Zf(e){return Le(e)?Wf(Kf,e,!1)||e:e||gc}function Wf(e,t,n=!0,r=!1){const s=$e||Ve;if(s){const o=s.type;{const c=Yc(o,!1);if(c&&(c===t||c===ht(t)||c===lr(ht(t))))return o}const i=mc(s[e]||o[e],t)||mc(s.appContext[e],t);return!i&&r?o:i}}function mc(e,t){return e&&(e[t]||e[ht(t)]||e[lr(ht(t))])}function Sr(e,t,n,r){let s;const o=n,i=ie(e);if(i||Le(e)){const c=i&&vn(e);let a=!1;c&&(a=!pt(e),e=pr(e)),s=new Array(e.length);for(let l=0,u=e.length;l<u;l++)s[l]=t(a?Ze(e[l]):e[l],l,void 0,o)}else if(typeof e=="number"){s=new Array(e);for(let c=0;c<e;c++)s[c]=t(c+1,c,void 0,o)}else if(De(e))if(e[Symbol.iterator])s=Array.from(e,(c,a)=>t(c,a,void 0,o));else{const c=Object.keys(e);s=new Array(c.length);for(let a=0,l=c.length;a<l;a++){const u=c[a];s[a]=t(e[u],u,a,o)}}else s=[];return s}function Gt(e,t,n={},r,s){if($e.ce||$e.parent&&wn($e.parent)&&$e.parent.ce)return t!=="default"&&(n.name=t),Q(),Oe(He,null,[Re("slot",n,r&&r())],64);let o=e[t];o&&o._c&&(o._d=!1),Q();const i=o&&_c(o(n)),c=n.key||i&&i.key,a=Oe(He,{key:(c&&!Dt(c)?c:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!s&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function _c(e){return e.some(t=>Kn(t)?!(t.type===et||t.type===He&&!_c(t.children)):!0)?e:null}const ws=e=>e?Kc(e)?Ir(e):ws(e.parent):null,Hn=Me(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ws(e.parent),$root:e=>ws(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ss(e),$forceUpdate:e=>e.f||(e.f=()=>{vs(e.update)}),$nextTick:e=>e.n||(e.n=kn.bind(e.proxy)),$watch:e=>_h.bind(e)}),As=(e,t)=>e!==ke&&!e.__isScriptSetup&&ve(e,t),Jf={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:c,appContext:a}=e;let l;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(As(r,t))return i[t]=1,r[t];if(s!==ke&&ve(s,t))return i[t]=2,s[t];if((l=e.propsOptions[0])&&ve(l,t))return i[t]=3,o[t];if(n!==ke&&ve(n,t))return i[t]=4,n[t];Cs&&(i[t]=0)}}const u=Hn[t];let f,p;if(u)return t==="$attrs"&&Ke(e.attrs,"get",""),u(e);if((f=c.__cssModules)&&(f=f[t]))return f;if(n!==ke&&ve(n,t))return i[t]=4,n[t];if(p=a.config.globalProperties,ve(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return As(s,t)?(s[t]=n,!0):r!==ke&&ve(r,t)?(r[t]=n,!0):ve(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let c;return!!n[i]||e!==ke&&ve(e,i)||As(t,i)||(c=o[0])&&ve(c,i)||ve(r,i)||ve(Hn,i)||ve(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ve(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function bc(e){return ie(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Cs=!0;function Yf(e){const t=Ss(e),n=e.proxy,r=e.ctx;Cs=!1,t.beforeCreate&&vc(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:c,provide:a,inject:l,created:u,beforeMount:f,mounted:p,beforeUpdate:h,updated:m,activated:x,deactivated:A,beforeDestroy:v,beforeUnmount:E,destroyed:b,unmounted:g,render:k,renderTracked:w,renderTriggered:B,errorCaptured:T,serverPrefetch:D,expose:q,inheritAttrs:F,components:N,directives:oe,filters:S}=t;if(l&&Xf(l,r,null),i)for(const Y in i){const Z=i[Y];ae(Z)&&(r[Y]=Z.bind(n))}if(s){const Y=s.call(n,n);De(Y)&&(e.data=ds(Y))}if(Cs=!0,o)for(const Y in o){const Z=o[Y],fe=ae(Z)?Z.bind(n,n):ae(Z.get)?Z.get.bind(n,n):yt,J=!ae(Z)&&ae(Z.set)?Z.set.bind(n):yt,Ae=tt({get:fe,set:J});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>Ae.value,set:Ce=>Ae.value=Ce})}if(c)for(const Y in c)yc(c[Y],r,n,Y);if(a){const Y=ae(a)?a.call(n):a;Reflect.ownKeys(Y).forEach(Z=>{sh(Z,Y[Z])})}u&&vc(u,e,"c");function K(Y,Z){ie(Z)?Z.forEach(fe=>Y(fe.bind(n))):Z&&Y(Z.bind(n))}if(K($f,f),K(jt,p),K(Uf,h),K(zf,m),K(Ff,x),K(Pf,A),K(Gf,T),K(jf,w),K(Vf,B),K(Es,E),K(ks,g),K(Hf,D),ie(q))if(q.length){const Y=e.exposed||(e.exposed={});q.forEach(Z=>{Object.defineProperty(Y,Z,{get:()=>n[Z],set:fe=>n[Z]=fe})})}else e.exposed||(e.exposed={});k&&e.render===yt&&(e.render=k),F!=null&&(e.inheritAttrs=F),N&&(e.components=N),oe&&(e.directives=oe),D&&pc(e)}function Xf(e,t,n=yt){ie(e)&&(e=Ts(e));for(const r in e){const s=e[r];let o;De(s)?"default"in s?o=Cn(s.from||r,s.default,!0):o=Cn(s.from||r):o=Cn(s),Pe(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function vc(e,t,n){bt(ie(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function yc(e,t,n,r){let s=r.includes(".")?Pc(n,r):()=>n[r];if(Le(e)){const o=t[e];ae(o)&&Dr(s,o)}else if(ae(e))Dr(s,e.bind(n));else if(De(e))if(ie(e))e.forEach(o=>yc(o,t,n,r));else{const o=ae(e.handler)?e.handler.bind(n):t[e.handler];ae(o)&&Dr(s,o,e)}}function Ss(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,c=o.get(t);let a;return c?a=c:!s.length&&!n&&!r?a=t:(a={},s.length&&s.forEach(l=>Tr(a,l,i,!0)),Tr(a,t,i)),De(t)&&o.set(t,a),a}function Tr(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Tr(e,o,n,!0),s&&s.forEach(i=>Tr(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const c=Qf[i]||n&&n[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const Qf={data:xc,props:Ec,emits:Ec,methods:Vn,computed:Vn,beforeCreate:Qe,created:Qe,beforeMount:Qe,mounted:Qe,beforeUpdate:Qe,updated:Qe,beforeDestroy:Qe,beforeUnmount:Qe,destroyed:Qe,unmounted:Qe,activated:Qe,deactivated:Qe,errorCaptured:Qe,serverPrefetch:Qe,components:Vn,directives:Vn,watch:th,provide:xc,inject:eh};function xc(e,t){return t?e?function(){return Me(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function eh(e,t){return Vn(Ts(e),Ts(t))}function Ts(e){if(ie(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Qe(e,t){return e?[...new Set([].concat(e,t))]:t}function Vn(e,t){return e?Me(Object.create(null),e,t):t}function Ec(e,t){return e?ie(e)&&ie(t)?[...new Set([...e,...t])]:Me(Object.create(null),bc(e),bc(t??{})):t}function th(e,t){if(!e)return t;if(!t)return e;const n=Me(Object.create(null),e);for(const r in t)n[r]=Qe(e[r],t[r]);return n}function kc(){return{app:null,config:{isNativeTag:Mu,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 nh=0;function rh(e,t){return function(r,s=null){ae(r)||(r=Me({},r)),s!=null&&!De(s)&&(s=null);const o=kc(),i=new WeakSet,c=[];let a=!1;const l=o.app={_uid:nh++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Ph,get config(){return o.config},set config(u){},use(u,...f){return i.has(u)||(u&&ae(u.install)?(i.add(u),u.install(l,...f)):ae(u)&&(i.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 h=l._ceVNode||Re(r,s);return h.appContext=o,p===!0?p="svg":p===!1&&(p=void 0),f&&t?t(h,u):e(h,u,p),a=!0,l._container=u,u.__vue_app__=l,Ir(h.component)}},onUnmount(u){c.push(u)},unmount(){a&&(bt(c,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(u,f){return o.provides[u]=f,l},runWithContext(u){const f=An;An=l;try{return u()}finally{An=f}}};return l}}let An=null;function sh(e,t){if(Ve){let n=Ve.provides;const r=Ve.parent&&Ve.parent.provides;r===n&&(n=Ve.provides=Object.create(r)),n[e]=t}}function Cn(e,t,n=!1){const r=Ve||$e;if(r||An){const s=An?An._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(s&&e in s)return s[e];if(arguments.length>1)return n&&ae(t)?t.call(r&&r.proxy):t}}const wc={},Ac=()=>Object.create(wc),Cc=e=>Object.getPrototypeOf(e)===wc;function oh(e,t,n,r=!1){const s={},o=Ac();e.propsDefaults=Object.create(null),Sc(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:df(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function ih(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,c=_e(s),[a]=e.propsOptions;let l=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let p=u[f];if(Rr(e.emitsOptions,p))continue;const h=t[p];if(a)if(ve(o,p))h!==o[p]&&(o[p]=h,l=!0);else{const m=ht(p);s[m]=Ds(a,c,m,h,e,!1)}else h!==o[p]&&(o[p]=h,l=!0)}}}else{Sc(e,t,s,o)&&(l=!0);let u;for(const f in c)(!t||!ve(t,f)&&((u=Ut(f))===f||!ve(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(s[f]=Ds(a,c,f,void 0,e,!0)):delete s[f]);if(o!==c)for(const f in o)(!t||!ve(t,f))&&(delete o[f],l=!0)}l&&Lt(e.attrs,"set","")}function Sc(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,c;if(t)for(let a in t){if(Nn(a))continue;const l=t[a];let u;s&&ve(s,u=ht(a))?!o||!o.includes(u)?n[u]=l:(c||(c={}))[u]=l:Rr(e.emitsOptions,a)||(!(a in r)||l!==r[a])&&(r[a]=l,i=!0)}if(o){const a=_e(n),l=c||ke;for(let u=0;u<o.length;u++){const f=o[u];n[f]=Ds(s,a,f,l[f],e,!ve(l,f))}}return i}function Ds(e,t,n,r,s,o){const i=e[n];if(i!=null){const c=ve(i,"default");if(c&&r===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&ae(a)){const{propsDefaults:l}=s;if(n in l)r=l[n];else{const u=Zn(s);r=l[n]=a.call(null,t),u()}}else r=a;s.ce&&s.ce._setProp(n,r)}i[0]&&(o&&!c?r=!1:i[1]&&(r===""||r===Ut(n))&&(r=!0))}return r}const ch=new WeakMap;function Tc(e,t,n=!1){const r=n?ch:t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},c=[];let a=!1;if(!ae(e)){const u=f=>{a=!0;const[p,h]=Tc(f,t,!0);Me(i,p),h&&c.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!a)return De(e)&&r.set(e,dn),dn;if(ie(o))for(let u=0;u<o.length;u++){const f=ht(o[u]);Dc(f)&&(i[f]=ke)}else if(o)for(const u in o){const f=ht(u);if(Dc(f)){const p=o[u],h=i[f]=ie(p)||ae(p)?{type:p}:Me({},p),m=h.type;let x=!1,A=!0;if(ie(m))for(let v=0;v<m.length;++v){const E=m[v],b=ae(E)&&E.name;if(b==="Boolean"){x=!0;break}else b==="String"&&(A=!1)}else x=ae(m)&&m.name==="Boolean";h[0]=x,h[1]=A,(x||ve(h,"default"))&&c.push(f)}}const l=[i,c];return De(e)&&r.set(e,l),l}function Dc(e){return e[0]!=="$"&&!Nn(e)}const Rc=e=>e[0]==="_"||e==="$stable",Rs=e=>ie(e)?e.map(Et):[Et(e)],ah=(e,t,n)=>{if(t._n)return t;const r=Mt((...s)=>Rs(t(...s)),n);return r._c=!1,r},qc=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Rc(s))continue;const o=e[s];if(ae(o))t[s]=ah(s,o,r);else if(o!=null){const i=Rs(o);t[s]=()=>i}}},Lc=(e,t)=>{const n=Rs(t);e.slots.default=()=>n},Nc=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},lh=(e,t,n)=>{const r=e.slots=Ac();if(e.vnode.shapeFlag&32){const s=t._;s?(Nc(r,t,n),n&&Ci(r,"_",s,!0)):qc(t,r)}else t&&Lc(e,t)},uh=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=ke;if(r.shapeFlag&32){const c=t._;c?n&&c===1?o=!1:Nc(s,t,n):(o=!t.$stable,qc(t,s)),i=t}else t&&(Lc(e,t),i={default:1});if(o)for(const c in s)!Rc(c)&&i[c]==null&&delete s[c]},ct=wh;function fh(e){return hh(e)}function hh(e,t){const n=fr();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:c,createComment:a,setText:l,setElementText:u,parentNode:f,nextSibling:p,setScopeId:h=yt,insertStaticContent:m}=e,x=(d,y,C,M=null,L=null,I=null,j=void 0,U=null,$=!!y.dynamicChildren)=>{if(d===y)return;d&&!cn(d,y)&&(M=Rn(d),Ce(d,L,I,!0),d=null),y.patchFlag===-2&&($=!1,y.dynamicChildren=null);const{type:O,ref:re,shapeFlag:H}=y;switch(O){case qr:A(d,y,C,M);break;case et:v(d,y,C,M);break;case Ns:d==null&&E(y,C,M,j);break;case He:N(d,y,C,M,L,I,j,U,$);break;default:H&1?k(d,y,C,M,L,I,j,U,$):H&6?oe(d,y,C,M,L,I,j,U,$):(H&64||H&128)&&O.process(d,y,C,M,L,I,j,U,$,Ct)}re!=null&&L&&wr(re,d&&d.ref,I,y||d,!y)},A=(d,y,C,M)=>{if(d==null)r(y.el=c(y.children),C,M);else{const L=y.el=d.el;y.children!==d.children&&l(L,y.children)}},v=(d,y,C,M)=>{d==null?r(y.el=a(y.children||""),C,M):y.el=d.el},E=(d,y,C,M)=>{[d.el,d.anchor]=m(d.children,y,C,M,d.el,d.anchor)},b=({el:d,anchor:y},C,M)=>{let L;for(;d&&d!==y;)L=p(d),r(d,C,M),d=L;r(y,C,M)},g=({el:d,anchor:y})=>{let C;for(;d&&d!==y;)C=p(d),s(d),d=C;s(y)},k=(d,y,C,M,L,I,j,U,$)=>{y.type==="svg"?j="svg":y.type==="math"&&(j="mathml"),d==null?w(y,C,M,L,I,j,U,$):D(d,y,L,I,j,U,$)},w=(d,y,C,M,L,I,j,U)=>{let $,O;const{props:re,shapeFlag:H,transition:ee,dirs:se}=d;if($=d.el=i(d.type,I,re&&re.is,re),H&8?u($,d.children):H&16&&T(d.children,$,null,M,L,qs(d,I),j,U),se&&sn(d,null,M,"created"),B($,d,d.scopeId,j,M),re){for(const xe in re)xe!=="value"&&!Nn(xe)&&o($,xe,null,re[xe],I,M);"value"in re&&o($,"value",null,re.value,I),(O=re.onVnodeBeforeMount)&&kt(O,M,d)}se&&sn(d,null,M,"beforeMount");const pe=ph(L,ee);pe&&ee.beforeEnter($),r($,y,C),((O=re&&re.onVnodeMounted)||pe||se)&&ct(()=>{O&&kt(O,M,d),pe&&ee.enter($),se&&sn(d,null,M,"mounted")},L)},B=(d,y,C,M,L)=>{if(C&&h(d,C),M)for(let I=0;I<M.length;I++)h(d,M[I]);if(L){let I=L.subTree;if(y===I||Uc(I.type)&&(I.ssContent===y||I.ssFallback===y)){const j=L.vnode;B(d,j,j.scopeId,j.slotScopeIds,L.parent)}}},T=(d,y,C,M,L,I,j,U,$=0)=>{for(let O=$;O<d.length;O++){const re=d[O]=U?Zt(d[O]):Et(d[O]);x(null,re,y,C,M,L,I,j,U)}},D=(d,y,C,M,L,I,j)=>{const U=y.el=d.el;let{patchFlag:$,dynamicChildren:O,dirs:re}=y;$|=d.patchFlag&16;const H=d.props||ke,ee=y.props||ke;let se;if(C&&on(C,!1),(se=ee.onVnodeBeforeUpdate)&&kt(se,C,y,d),re&&sn(y,d,C,"beforeUpdate"),C&&on(C,!0),(H.innerHTML&&ee.innerHTML==null||H.textContent&&ee.textContent==null)&&u(U,""),O?q(d.dynamicChildren,O,U,C,M,qs(y,L),I):j||Z(d,y,U,null,C,M,qs(y,L),I,!1),$>0){if($&16)F(U,H,ee,C,L);else if($&2&&H.class!==ee.class&&o(U,"class",null,ee.class,L),$&4&&o(U,"style",H.style,ee.style,L),$&8){const pe=y.dynamicProps;for(let xe=0;xe<pe.length;xe++){const be=pe[xe],nt=H[be],Ue=ee[be];(Ue!==nt||be==="value")&&o(U,be,nt,Ue,L,C)}}$&1&&d.children!==y.children&&u(U,y.children)}else!j&&O==null&&F(U,H,ee,C,L);((se=ee.onVnodeUpdated)||re)&&ct(()=>{se&&kt(se,C,y,d),re&&sn(y,d,C,"updated")},M)},q=(d,y,C,M,L,I,j)=>{for(let U=0;U<y.length;U++){const $=d[U],O=y[U],re=$.el&&($.type===He||!cn($,O)||$.shapeFlag&70)?f($.el):C;x($,O,re,null,M,L,I,j,!0)}},F=(d,y,C,M,L)=>{if(y!==C){if(y!==ke)for(const I in y)!Nn(I)&&!(I in C)&&o(d,I,y[I],null,L,M);for(const I in C){if(Nn(I))continue;const j=C[I],U=y[I];j!==U&&I!=="value"&&o(d,I,U,j,L,M)}"value"in C&&o(d,"value",y.value,C.value,L)}},N=(d,y,C,M,L,I,j,U,$)=>{const O=y.el=d?d.el:c(""),re=y.anchor=d?d.anchor:c("");let{patchFlag:H,dynamicChildren:ee,slotScopeIds:se}=y;se&&(U=U?U.concat(se):se),d==null?(r(O,C,M),r(re,C,M),T(y.children||[],C,re,L,I,j,U,$)):H>0&&H&64&&ee&&d.dynamicChildren?(q(d.dynamicChildren,ee,C,L,I,j,U),(y.key!=null||L&&y===L.subTree)&&Ic(d,y,!0)):Z(d,y,C,re,L,I,j,U,$)},oe=(d,y,C,M,L,I,j,U,$)=>{y.slotScopeIds=U,d==null?y.shapeFlag&512?L.ctx.activate(y,C,M,j,$):S(y,C,M,L,I,j,$):z(d,y,$)},S=(d,y,C,M,L,I,j)=>{const U=d.component=Dh(d,M,L);if(Ar(d)&&(U.ctx.renderer=Ct),qh(U,!1,j),U.asyncDep){if(L&&L.registerDep(U,K,j),!d.el){const $=U.subTree=Re(et);v(null,$,y,C)}}else K(U,d,y,C,L,I,j)},z=(d,y,C)=>{const M=y.component=d.component;if(Eh(d,y,C))if(M.asyncDep&&!M.asyncResolved){Y(M,y,C);return}else M.next=y,M.update();else y.el=d.el,M.vnode=y},K=(d,y,C,M,L,I,j)=>{const U=()=>{if(d.isMounted){let{next:H,bu:ee,u:se,parent:pe,vnode:xe}=d;{const rt=Mc(d);if(rt){H&&(H.el=xe.el,Y(d,H,j)),rt.asyncDep.then(()=>{d.isUnmounted||U()});return}}let be=H,nt;on(d,!1),H?(H.el=xe.el,Y(d,H,j)):H=xe,ee&&ur(ee),(nt=H.props&&H.props.onVnodeBeforeUpdate)&&kt(nt,pe,H,xe),on(d,!0);const Ue=Ls(d),ut=d.subTree;d.subTree=Ue,x(ut,Ue,f(ut.el),Rn(ut),d,L,I),H.el=Ue.el,be===null&&kh(d,Ue.el),se&&ct(se,L),(nt=H.props&&H.props.onVnodeUpdated)&&ct(()=>kt(nt,pe,H,xe),L)}else{let H;const{el:ee,props:se}=y,{bm:pe,m:xe,parent:be,root:nt,type:Ue}=d,ut=wn(y);if(on(d,!1),pe&&ur(pe),!ut&&(H=se&&se.onVnodeBeforeMount)&&kt(H,be,y),on(d,!0),ee&&jr){const rt=()=>{d.subTree=Ls(d),jr(ee,d.subTree,d,L,null)};ut&&Ue.__asyncHydrate?Ue.__asyncHydrate(ee,d,rt):rt()}else{nt.ce&&nt.ce._injectChildStyle(Ue);const rt=d.subTree=Ls(d);x(null,rt,C,M,d,L,I),y.el=rt.el}if(xe&&ct(xe,L),!ut&&(H=se&&se.onVnodeMounted)){const rt=y;ct(()=>kt(H,be,rt),L)}(y.shapeFlag&256||be&&wn(be.vnode)&&be.vnode.shapeFlag&256)&&d.a&&ct(d.a,L),d.isMounted=!0,y=C=M=null}};d.scope.on();const $=d.effect=new Ni(U);d.scope.off();const O=d.update=$.run.bind($),re=d.job=$.runIfDirty.bind($);re.i=d,re.id=d.uid,$.scheduler=()=>vs(re),on(d,!0),O()},Y=(d,y,C)=>{y.component=d;const M=d.vnode.props;d.vnode=y,d.next=null,ih(d,y.props,M,C),uh(d,y.children,C),Rt(),tc(d),qt()},Z=(d,y,C,M,L,I,j,U,$=!1)=>{const O=d&&d.children,re=d?d.shapeFlag:0,H=y.children,{patchFlag:ee,shapeFlag:se}=y;if(ee>0){if(ee&128){J(O,H,C,M,L,I,j,U,$);return}else if(ee&256){fe(O,H,C,M,L,I,j,U,$);return}}se&8?(re&16&&fn(O,L,I),H!==O&&u(C,H)):re&16?se&16?J(O,H,C,M,L,I,j,U,$):fn(O,L,I,!0):(re&8&&u(C,""),se&16&&T(H,C,M,L,I,j,U,$))},fe=(d,y,C,M,L,I,j,U,$)=>{d=d||dn,y=y||dn;const O=d.length,re=y.length,H=Math.min(O,re);let ee;for(ee=0;ee<H;ee++){const se=y[ee]=$?Zt(y[ee]):Et(y[ee]);x(d[ee],se,C,null,L,I,j,U,$)}O>re?fn(d,L,I,!0,!1,H):T(y,C,M,L,I,j,U,$,H)},J=(d,y,C,M,L,I,j,U,$)=>{let O=0;const re=y.length;let H=d.length-1,ee=re-1;for(;O<=H&&O<=ee;){const se=d[O],pe=y[O]=$?Zt(y[O]):Et(y[O]);if(cn(se,pe))x(se,pe,C,null,L,I,j,U,$);else break;O++}for(;O<=H&&O<=ee;){const se=d[H],pe=y[ee]=$?Zt(y[ee]):Et(y[ee]);if(cn(se,pe))x(se,pe,C,null,L,I,j,U,$);else break;H--,ee--}if(O>H){if(O<=ee){const se=ee+1,pe=se<re?y[se].el:M;for(;O<=ee;)x(null,y[O]=$?Zt(y[O]):Et(y[O]),C,pe,L,I,j,U,$),O++}}else if(O>ee)for(;O<=H;)Ce(d[O],L,I,!0),O++;else{const se=O,pe=O,xe=new Map;for(O=pe;O<=ee;O++){const st=y[O]=$?Zt(y[O]):Et(y[O]);st.key!=null&&xe.set(st.key,O)}let be,nt=0;const Ue=ee-pe+1;let ut=!1,rt=0;const Yt=new Array(Ue);for(O=0;O<Ue;O++)Yt[O]=0;for(O=se;O<=H;O++){const st=d[O];if(nt>=Ue){Ce(st,L,I,!0);continue}let mt;if(st.key!=null)mt=xe.get(st.key);else for(be=pe;be<=ee;be++)if(Yt[be-pe]===0&&cn(st,y[be])){mt=be;break}mt===void 0?Ce(st,L,I,!0):(Yt[mt-pe]=O+1,mt>=rt?rt=mt:ut=!0,x(st,y[mt],C,null,L,I,j,U,$),nt++)}const Gr=ut?dh(Yt):dn;for(be=Gr.length-1,O=Ue-1;O>=0;O--){const st=pe+O,mt=y[st],qn=st+1<re?y[st+1].el:M;Yt[O]===0?x(null,mt,C,qn,L,I,j,U,$):ut&&(be<0||O!==Gr[be]?Ae(mt,C,qn,2):be--)}}},Ae=(d,y,C,M,L=null)=>{const{el:I,type:j,transition:U,children:$,shapeFlag:O}=d;if(O&6){Ae(d.component.subTree,y,C,M);return}if(O&128){d.suspense.move(y,C,M);return}if(O&64){j.move(d,y,C,Ct);return}if(j===He){r(I,y,C);for(let H=0;H<$.length;H++)Ae($[H],y,C,M);r(d.anchor,y,C);return}if(j===Ns){b(d,y,C);return}if(M!==2&&O&1&&U)if(M===0)U.beforeEnter(I),r(I,y,C),ct(()=>U.enter(I),L);else{const{leave:H,delayLeave:ee,afterLeave:se}=U,pe=()=>r(I,y,C),xe=()=>{H(I,()=>{pe(),se&&se()})};ee?ee(I,pe,xe):xe()}else r(I,y,C)},Ce=(d,y,C,M=!1,L=!1)=>{const{type:I,props:j,ref:U,children:$,dynamicChildren:O,shapeFlag:re,patchFlag:H,dirs:ee,cacheIndex:se}=d;if(H===-2&&(L=!1),U!=null&&wr(U,null,C,d,!0),se!=null&&(y.renderCache[se]=void 0),re&256){y.ctx.deactivate(d);return}const pe=re&1&&ee,xe=!wn(d);let be;if(xe&&(be=j&&j.onVnodeBeforeUnmount)&&kt(be,y,d),re&6)di(d.component,C,M);else{if(re&128){d.suspense.unmount(C,M);return}pe&&sn(d,null,y,"beforeUnmount"),re&64?d.type.remove(d,y,C,Ct,M):O&&!O.hasOnce&&(I!==He||H>0&&H&64)?fn(O,y,C,!1,!0):(I===He&&H&384||!L&&re&16)&&fn($,y,C),M&&it(d)}(xe&&(be=j&&j.onVnodeUnmounted)||pe)&&ct(()=>{be&&kt(be,y,d),pe&&sn(d,null,y,"unmounted")},C)},it=d=>{const{type:y,el:C,anchor:M,transition:L}=d;if(y===He){pi(C,M);return}if(y===Ns){g(d);return}const I=()=>{s(C),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(d.shapeFlag&1&&L&&!L.persisted){const{leave:j,delayLeave:U}=L,$=()=>j(C,I);U?U(d.el,I,$):$()}else I()},pi=(d,y)=>{let C;for(;d!==y;)C=p(d),s(d),d=C;s(y)},di=(d,y,C)=>{const{bum:M,scope:L,job:I,subTree:j,um:U,m:$,a:O}=d;Oc($),Oc(O),M&&ur(M),L.stop(),I&&(I.flags|=8,Ce(j,d,y,C)),U&&ct(U,y),ct(()=>{d.isUnmounted=!0},y),y&&y.pendingBranch&&!y.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===y.pendingId&&(y.deps--,y.deps===0&&y.resolve())},fn=(d,y,C,M=!1,L=!1,I=0)=>{for(let j=I;j<d.length;j++)Ce(d[j],y,C,M,L)},Rn=d=>{if(d.shapeFlag&6)return Rn(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const y=p(d.anchor||d.el),C=y&&y[Nf];return C?p(C):y};let sr=!1;const gi=(d,y,C)=>{d==null?y._vnode&&Ce(y._vnode,null,null,!0):x(y._vnode||null,d,y,null,null,null,C),y._vnode=d,sr||(sr=!0,tc(),nc(),sr=!1)},Ct={p:x,um:Ce,m:Ae,r:it,mt:S,mc:T,pc:Z,pbc:q,n:Rn,o:e};let Vr,jr;return{render:gi,hydrate:Vr,createApp:rh(gi,Vr)}}function qs({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function on({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ph(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ic(e,t,n=!1){const r=e.children,s=t.children;if(ie(r)&&ie(s))for(let o=0;o<r.length;o++){const i=r[o];let c=s[o];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=s[o]=Zt(s[o]),c.el=i.el),!n&&c.patchFlag!==-2&&Ic(i,c)),c.type===qr&&(c.el=i.el)}}function dh(e){const t=e.slice(),n=[0];let r,s,o,i,c;const a=e.length;for(r=0;r<a;r++){const l=e[r];if(l!==0){if(s=n[n.length-1],e[s]<l){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)c=o+i>>1,e[n[c]]<l?o=c+1:i=c;l<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Mc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Mc(t)}function Oc(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const gh=Symbol.for("v-scx"),mh=()=>Cn(gh);function Dr(e,t,n){return Fc(e,t,n)}function Fc(e,t,n=ke){const{immediate:r,deep:s,flush:o,once:i}=n,c=Me({},n),a=t&&r||!t&&o!=="post";let l;if(Wn){if(o==="sync"){const h=mh();l=h.__watcherHandles||(h.__watcherHandles=[])}else if(!a){const h=()=>{};return h.stop=yt,h.resume=yt,h.pause=yt,h}}const u=Ve;c.call=(h,m,x)=>bt(h,u,m,x);let f=!1;o==="post"?c.scheduler=h=>{ct(h,u&&u.suspense)}:o!=="sync"&&(f=!0,c.scheduler=(h,m)=>{m?h():vs(h)}),c.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const p=Af(e,t,c);return Wn&&(l?l.push(p):a&&p()),p}function _h(e,t,n){const r=this.proxy,s=Le(e)?e.includes(".")?Pc(r,e):()=>r[e]:e.bind(r,r);let o;ae(t)?o=t:(o=t.handler,n=t);const i=Zn(this),c=Fc(s,o.bind(r),n);return i(),c}function Pc(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}const bh=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ht(t)}Modifiers`]||e[`${Ut(t)}Modifiers`];function vh(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ke;let s=n;const o=t.startsWith("update:"),i=o&&bh(r,t.slice(7));i&&(i.trim&&(s=n.map(u=>Le(u)?u.trim():u)),i.number&&(s=n.map(ns)));let c,a=r[c=ts(t)]||r[c=ts(ht(t))];!a&&o&&(a=r[c=ts(Ut(t))]),a&&bt(a,e,6,s);const l=r[c+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,bt(l,e,6,s)}}function Bc(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},c=!1;if(!ae(e)){const a=l=>{const u=Bc(l,t,!0);u&&(c=!0,Me(i,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!c?(De(e)&&r.set(e,null),null):(ie(o)?o.forEach(a=>i[a]=null):Me(i,o),De(e)&&r.set(e,i),i)}function Rr(e,t){return!e||!ir(t)?!1:(t=t.slice(2).replace(/Once$/,""),ve(e,t[0].toLowerCase()+t.slice(1))||ve(e,Ut(t))||ve(e,t))}function Xm(){}function Ls(e){const{type:t,vnode:n,proxy:r,withProxy:s,propsOptions:[o],slots:i,attrs:c,emit:a,render:l,renderCache:u,props:f,data:p,setupState:h,ctx:m,inheritAttrs:x}=e,A=Er(e);let v,E;try{if(n.shapeFlag&4){const g=s||r,k=g;v=Et(l.call(k,g,u,f,h,p,m)),E=c}else{const g=t;v=Et(g.length>1?g(f,{attrs:c,slots:i,emit:a}):g(f,null)),E=t.props?c:yh(c)}}catch(g){jn.length=0,yr(g,e,1),v=Re(et)}let b=v;if(E&&x!==!1){const g=Object.keys(E),{shapeFlag:k}=b;g.length&&k&7&&(o&&g.some(Xr)&&(E=xh(E,o)),b=Kt(b,E,!1,!0))}return n.dirs&&(b=Kt(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&zn(b,n.transition),v=b,Er(A),v}const yh=e=>{let t;for(const n in e)(n==="class"||n==="style"||ir(n))&&((t||(t={}))[n]=e[n]);return t},xh=(e,t)=>{const n={};for(const r in e)(!Xr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Eh(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:c,patchFlag:a}=t,l=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?$c(r,i,l):!!i;if(a&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const p=u[f];if(i[p]!==r[p]&&!Rr(l,p))return!0}}}else return(s||c)&&(!c||!c.$stable)?!0:r===i?!1:r?i?$c(r,i,l):!0:!!i;return!1}function $c(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!Rr(n,o))return!0}return!1}function kh({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Uc=e=>e.__isSuspense;function wh(e,t){t&&t.pendingBranch?ie(e)?t.effects.push(...e):t.effects.push(e):Lf(e)}const He=Symbol.for("v-fgt"),qr=Symbol.for("v-txt"),et=Symbol.for("v-cmt"),Ns=Symbol.for("v-stc"),jn=[];let at=null;function Q(e=!1){jn.push(at=e?null:[])}function Ah(){jn.pop(),at=jn[jn.length-1]||null}let Gn=1;function zc(e,t=!1){Gn+=e,e<0&&at&&t&&(at.hasOnce=!0)}function Hc(e){return e.dynamicChildren=Gn>0?at||dn:null,Ah(),Gn>0&&at&&at.push(e),e}function ge(e,t,n,r,s,o){return Hc(we(e,t,n,r,s,o,!0))}function Oe(e,t,n,r,s){return Hc(Re(e,t,n,r,s,!0))}function Kn(e){return e?e.__v_isVNode===!0:!1}function cn(e,t){return e.type===t.type&&e.key===t.key}const Vc=({key:e})=>e??null,Lr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Le(e)||Pe(e)||ae(e)?{i:$e,r:e,k:t,f:!!n}:e:null);function we(e,t=null,n=null,r=0,s=null,o=e===He?0:1,i=!1,c=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Vc(t),ref:t&&Lr(t),scopeId:sc,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:$e};return c?(Ms(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=Le(n)?8:16),Gn>0&&!i&&at&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&at.push(a),a}const Re=Ch;function Ch(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===gc)&&(e=et),Kn(e)){const c=Kt(e,t,!0);return n&&Ms(c,n),Gn>0&&!o&&at&&(c.shapeFlag&6?at[at.indexOf(e)]=c:at.push(c)),c.patchFlag=-2,c}if(Fh(e)&&(e=e.__vccOpts),t){t=jc(t);let{class:c,style:a}=t;c&&!Le(c)&&(t.class=mn(c)),De(a)&&(ms(a)&&!ie(a)&&(a=Me({},a)),t.style=In(a))}const i=Le(e)?1:Uc(e)?128:ic(e)?64:De(e)?4:ae(e)?2:0;return we(e,t,n,r,s,i,o,!0)}function jc(e){return e?ms(e)||Cc(e)?Me({},e):e:null}function Kt(e,t,n=!1,r=!1){const{props:s,ref:o,patchFlag:i,children:c,transition:a}=e,l=t?Os(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Vc(l),ref:t&&t.ref?n&&o?ie(o)?o.concat(Lr(t)):[o,Lr(t)]:Lr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==He?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Kt(e.ssContent),ssFallback:e.ssFallback&&Kt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&zn(u,a.clone(u)),u}function Is(e=" ",t=0){return Re(qr,null,e,t)}function lt(e="",t=!1){return t?(Q(),Oe(et,null,e)):Re(et,null,e)}function Et(e){return e==null||typeof e=="boolean"?Re(et):ie(e)?Re(He,null,e.slice()):Kn(e)?Zt(e):Re(qr,null,String(e))}function Zt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Kt(e)}function Ms(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ie(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Ms(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Cc(t)?t._ctx=$e:s===3&&$e&&($e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ae(t)?(t={default:t,_ctx:$e},n=32):(t=String(t),r&64?(n=16,t=[Is(t)]):n=8);e.children=t,e.shapeFlag|=n}function Os(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=mn([t.class,r.class]));else if(s==="style")t.style=In([t.style,r.style]);else if(ir(s)){const o=t[s],i=r[s];i&&o!==i&&!(ie(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function kt(e,t,n,r=null){bt(e,t,7,[n,r])}const Sh=kc();let Th=0;function Dh(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Sh,o={uid:Th++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Gu(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Tc(r,s),emitsOptions:Bc(r,s),emit:null,emitted:null,propsDefaults:ke,inheritAttrs:r.inheritAttrs,ctx:ke,data:ke,props:ke,attrs:ke,slots:ke,refs:ke,setupState:ke,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=t?t.root:o,o.emit=vh.bind(null,o),e.ce&&e.ce(o),o}let Ve=null;const Rh=()=>Ve||$e;let Nr,Fs;{const e=fr(),t=(n,r)=>{let s;return(s=e[n])||(s=e[n]=[]),s.push(r),o=>{s.length>1?s.forEach(i=>i(o)):s[0](o)}};Nr=t("__VUE_INSTANCE_SETTERS__",n=>Ve=n),Fs=t("__VUE_SSR_SETTERS__",n=>Wn=n)}const Zn=e=>{const t=Ve;return Nr(e),e.scope.on(),()=>{e.scope.off(),Nr(t)}},Gc=()=>{Ve&&Ve.scope.off(),Nr(null)};function Kc(e){return e.vnode.shapeFlag&4}let Wn=!1;function qh(e,t=!1,n=!1){t&&Fs(t);const{props:r,children:s}=e.vnode,o=Kc(e);oh(e,r,o,t),lh(e,s,n);const i=o?Lh(e,t):void 0;return t&&Fs(!1),i}function Lh(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Jf);const{setup:r}=n;if(r){Rt();const s=e.setupContext=r.length>1?Ih(e):null,o=Zn(e),i=yn(r,e,0,[e.props,s]),c=ki(i);if(qt(),o(),(c||e.sp)&&!wn(e)&&pc(e),c){if(i.then(Gc,Gc),t)return i.then(a=>{Zc(e,a,t)}).catch(a=>{yr(a,e,0)});e.asyncDep=i}else Zc(e,i,t)}else Jc(e,t)}function Zc(e,t,n){ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:De(t)&&(e.setupState=Yi(t)),Jc(e,n)}let Wc;function Jc(e,t,n){const r=e.type;if(!e.render){if(!t&&Wc&&!r.render){const s=r.template||Ss(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:c,compilerOptions:a}=r,l=Me(Me({isCustomElement:o,delimiters:c},i),a);r.render=Wc(s,l)}}e.render=r.render||yt}{const s=Zn(e);Rt();try{Yf(e)}finally{qt(),s()}}}const Nh={get(e,t){return Ke(e,"get",""),e[t]}};function Ih(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Nh),slots:e.slots,emit:e.emit,expose:t}}function Ir(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Yi(gf(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Hn)return Hn[n](e)},has(t,n){return n in t||n in Hn}})):e.proxy}const Mh=/(?:^|[-_])(\w)/g,Oh=e=>e.replace(Mh,t=>t.toUpperCase()).replace(/[-_]/g,"");function Yc(e,t=!0){return ae(e)?e.displayName||e.name:e.name||t&&e.__name}function Xc(e,t,n=!1){let r=Yc(t);if(!r&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(r=s[1])}if(!r&&e&&e.parent){const s=o=>{for(const i in o)if(o[i]===t)return i};r=s(e.components||e.parent.type.components)||s(e.appContext.components)}return r?Oh(r):n?"App":"Anonymous"}function Fh(e){return ae(e)&&"__vccOpts"in e}const tt=(e,t)=>kf(e,t,Wn);function Qc(e,t,n){const r=arguments.length;return r===2?De(t)&&!ie(t)?Kn(t)?Re(e,null,[t]):Re(e,t):Re(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Kn(n)&&(n=[n]),Re(e,t,n))}const Ph="3.5.13";/**
17
+ * @vue/runtime-dom v3.5.13
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,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]}},Ct="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,oe,q)=>{Bt(U,oe?u:i),Bt(U,oe?l:c),q&&q()},H=(U,oe)=>{U._isLeaving=!1,Bt(U,f),Bt(U,d),Bt(U,p),oe&&oe()},ee=U=>(oe,q)=>{const O=U?Z:E,R=()=>V(oe,U,q);Ft(O,[oe,R]),di(()=>{Bt(oe,U?a:o),St(oe,U?u:i),hi(O)||gi(oe,r,_,R)})};return ye(e,{onBeforeEnter(U){Ft(k,[U]),St(U,o),St(U,c)},onBeforeAppear(U){Ft(S,[U]),St(U,a),St(U,l)},onEnter:ee(!1),onAppear:ee(!0),onLeave(U,oe){U._isLeaving=!0;const q=()=>H(U,oe);St(U,f),St(U,p),Pf(),di(()=>{U._isLeaving&&(Bt(U,f),St(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 St(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(`${Ct}Delay`),o=r(`${Ct}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===Ct?c>0&&(u=Ct,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?Ct:In:null,p=u?u===Ct?o.length:a.length:0);const d=u===Ct&&/\b(transform|all)(,|$)/.test(r(`${Ct}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=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=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,Ve(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 Tt(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.*/)),Tt({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=Tt({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=Tt(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 Tt(t,{variants:null},e)})),t.cachedVariants?t.cachedVariants:Xi(t)?Tt(t,{starts:t.starts?Tt(t.starts):null}):Object.isFrozen(t)?Tt(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=Tt,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};O("before:highlight",fe);const Ce=fe.result?fe.result:f(fe.language,fe.code,K);return Ce.code=fe.code,O("after:highlight",Ce),Ce}function f(b,w,K,te){const ce=Object.create(null);function fe(A,F){return A.keywords[F]}function Ce(){if(!x.keywords){N.addText(y);return}let A=0;x.keywordPatternRe.lastIndex=0;let F=x.keywordPatternRe.exec(y),z="";for(;F;){z+=y.substring(A,F.index);const ne=C.case_insensitive?F[0].toLowerCase():F[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+=F[0];else{const jt=C.classNameAliases[_e]||_e;Re(F[0],jt)}}else z+=F[0];A=x.keywordPatternRe.lastIndex,F=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,F){A!==""&&(N.startScope(F),N.addText(A),N.endScope())}function Vt(A,F){let z=1;const ne=F.length-1;for(;z<=ne;){if(!A._emit[z]){z++;continue}const ae=C.classNameAliases[A[z]]||A[z],_e=F[z];ae?Re(_e,ae):(y=_e,Ce(),y=""),z++}}function bn(A,F){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,F),y="")),x=Object.create(A,{parent:{value:x}}),x}function jn(A,F,z){let ne=Lp(A.endRe,z);if(ne){if(A["on:end"]){const ae=new Bi(A);A["on:end"](F,ae),ae.isMatchIgnored&&(ne=!1)}if(ne){for(;A.endsParent&&A.parent;)A=A.parent;return A}}if(A.endsWithParent)return jn(A.parent,F,z)}function Gt(A){return x.matcher.regexIndex===0?(y+=A[0],1):(Y=!0,0)}function Zr(A){const F=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(F);return z.skip?y+=F:(z.excludeBegin&&(y+=F),Oe(),!z.returnBegin&&!z.excludeBegin&&(y=F)),bn(z,A),z.returnBegin?0:F.length}function Wr(A){const F=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(F,x.endScope._wrap)):x.endScope&&x.endScope._multi?(Oe(),Vt(x.endScope,A)):ae.skip?y+=F:(ae.returnEnd||ae.excludeEnd||(y+=F),Oe(),ae.excludeEnd&&(y=F));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:F.length}function h(){const A=[];for(let F=x;F!==C;F=F.parent)F.scope&&A.unshift(F.scope);A.forEach(F=>N.openNode(F))}let g={};function v(A,F){const z=F&&F[0];if(y+=A,z==null)return Oe(),0;if(g.type==="begin"&&F.type==="end"&&g.index===F.index&&z===""){if(y+=w.slice(F.index,F.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=F,F.type==="begin")return Zr(F);if(F.type==="illegal"&&!K){const ne=new Error('Illegal lexeme "'+z+'" for mode "'+(x.scope||"<unnamed>")+'"');throw ne.mode=x,ne}else if(F.type==="end"){const ne=Wr(F);if(ne!==ea)return ne}if(F.type==="illegal"&&z==="")return 1;if(G>1e5&&G>F.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 F=w.substring(P,A.index),z=v(F,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(O("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}),O("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 oe(b){U(b),r.push(b)}function q(b){const w=r.indexOf(b);w!==-1&&r.splice(w,1)}function O(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:oe,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 oe={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},O={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]},oe,ee,Z,O,{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(),se("button",wh,[Et(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(),se("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=Ke({__name:"GetStarted",setup(t){const{t:e}=Lr();return(n,r)=>(j(),se("div",Th,[me(kh,{onClick:r[0]||(r[0]=s=>n.$emit("click:button"))},{default:pt(()=>[Ns(Yt(re(e)("getStarted")),1)]),_:1})]))}}),Rh={},qh={class:"chat-powered-by"};function Lh(t,e){return j(),se("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(),se("div",Ih,[re(n)("footer")?(j(),se("div",Mh,Yt(re(e)("footer")),1)):Ue("",!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(),se("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(),se("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(),se("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(),se("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(),se("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(),se("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(),se("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(),se("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(Ke({__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(),se("div",{class:"chat-file",onClick:c},[me(re(o)),he("p",hd,Yt(a.file.name),1),a.isRemovable?(j(),se("span",{key:0,class:"chat-file-delete",onClick:Di(i,["stop"])},[me(re(Xh))])):a.isPreviewable?(j(),ve(re(pd),{key:1,class:"chat-file-preview"})):Ue("",!0)]))}}),[["__scopeId","data-v-e0d57af7"]]),dd={class:"chat-inputs"},gd={key:0,class:"chat-input-left-panel"},md=["disabled","placeholder"],bd={class:"chat-inputs-controls"},_d=["disabled"],vd=["disabled"],yd={key:0,class:"chat-files"},xd=qr(Ke({__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 O;return u.value===""||re(i)||((O=o.disabled)==null?void 0:O.value)===!0}),m=Me(()=>{var O;return((O=o.disabled)==null?void 0:O.value)===!0}),_=Me(()=>{var O;return I.value&&re(i)&&!((O=o.disabled)!=null&&O.value)}),I=Me(()=>re(o.allowFileUploads)===!0),k=Me(()=>re(o.allowedFilesMimeTypes)),E=Me(()=>({"--controls-count":I.value?2:1})),{open:M,reset:D,onChange:$}=Hh({multiple:!0,reset:!1});$(O=>{if(!O)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<O.length;b++)R.items.add(O[b]);a.value=R.files}),wt(()=>{Be.on("focusInput",Z),Be.on("blurInput",S),Be.on("setInputValue",Q),l.value&&(p.value=new ResizeObserver(O=>{for(const R of O)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(O){u.value=O,Z()}async function V(O){if(O.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(O){O.shiftKey||(await V(O),q({target:l.value}))}function ee(O){if(!a.value)return;const R=new DataTransfer;for(let b=0;b<a.value.length;b++){const w=a.value[b];O.name!==w.name&&R.items.add(w)}D(),a.value=R.files}function U(O){(O.key==="ArrowUp"||O.key==="ArrowDown")&&(O.preventDefault(),s("arrowKeyDown",{key:O.key,currentInputValue:u.value}))}function oe(){_.value||M({accept:re(k)})}function q(O){const R=O.target;R.style.height="var(--chat--textarea--height)";const b=Math.min(R.scrollHeight,480);R.style.height=`${b}px`}return(O,R)=>{var b;return j(),se("div",{class:"chat-input",style:vn(E.value),onKeydown:Di(U,["stop"])},[he("div",dd,[O.$slots.leftPanel?(j(),se("div",gd,[Et(O.$slots,"leftPanel",{},void 0,!0)])):Ue("",!0),hc(he("textarea",{ref_key:"chatTextArea",ref:l,"onUpdate:modelValue":R[0]||(R[0]=w=>u.value=w),"data-test-id":"chat-input",disabled:m.value,placeholder:re(r)(n.placeholder),onKeydown:cp(H,["enter"]),onInput:q,onMousedown:q,onFocus:q},null,40,md),[[np,u.value]]),he("div",bd,[I.value?(j(),se("button",{key:0,disabled:_.value,class:"chat-input-file-button","data-test-id":"chat-attach-file-button",onClick:oe},[me(re(jh),{height:"24",width:"24"})],8,_d)):Ue("",!0),he("button",{disabled:d.value,class:"chat-input-send-button",onClick:V},[me(re(Wh),{height:"24",width:"24"})],8,vd)])]),(b=a.value)!=null&&b.length&&!f.value?(j(),se("div",yd,[(j(!0),se(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))])):Ue("",!0)],36)}}}),[["__scopeId","data-v-c36dbaac"]]),wd={class:"chat-layout"},Ed={key:0,class:"chat-header"},kd={key:2,class:"chat-footer"},Ad=Ke({__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(),se("main",wd,[r.$slots.header?(j(),se("div",Ed,[Et(r.$slots,"header")])):Ue("",!0),r.$slots.default?(j(),se("div",{key:1,ref_key:"chatBodyRef",ref:e,class:"chat-body"},[Et(r.$slots,"default")],512)):Ue("",!0),r.$slots.footer?(j(),se("div",kd,[Et(r.$slots,"footer")])):Ue("",!0)]))}});function Cd(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 Sd(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 Td(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 oe={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},O={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]},oe,ee,Z,O,{match:/\$[(.]/}]}}function Dd(t){const e=Td(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 Rd(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 qd(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=Rd(r[s],e),l=a&&a.attrs;return l&&qd(s,r,l),n(r,s,o,c,i)}}ba.defaultRender=function(t,e,n,r,s){return s.renderToken(t,e,n)};var Ld=ba;const Nd=Vs(Ld);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 Id(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=Id(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 Md=Ir,ya={};function Od(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=Od(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 Fd=Mr,Bd=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 Pd=/^([a-z0-9.+-]+:)/i,$d=/:[0-9]*$/,Ud=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,zd=["<",">",'"',"`"," ","\r",`
23
- `," "],Hd=["{","}","|","\\","^","`"].concat(zd),Vd=["'"].concat(Hd),xa=["%","/","?",";","#"].concat(Vd),wa=["/","?","#"],Gd=255,Ea=/^[+a-z0-9A-Z_-]{0,63}$/,jd=/^([+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 Kd(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=Ud.exec(i);if(a)return this.pathname=a[1],a[2]&&(this.search=a[2]),this}var l=Pd.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(jd);S&&(D.push(S[1]),$.unshift(S[2])),$.length&&(i=$.join(".")+i),this.hostname=D.join(".");break}}}}this.hostname.length>Gd&&(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=$d.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 Zd=Kd;fn.encode=Md,fn.decode=Fd,fn.format=Bd,fn.parse=Zd;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 Wd(){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 Jd(){return Na||(Na=1,Ut.Any=Sa(),Ut.Cc=Da(),Ut.Cf=Wd(),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,O){return r.call(q,O)}function o(q){var O=Array.prototype.slice.call(arguments,1);return O.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,O,R){return[].concat(q.slice(0,O),R,q.slice(O+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 O=55296+(q>>10),R=56320+(q&1023);return String.fromCharCode(O,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,O){var R;return s(d,O)?d[O]:O.charCodeAt(0)===35&&p.test(O)&&(R=O[1].toLowerCase()==="x"?parseInt(O.slice(2),16):parseInt(O.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(O,R,b){return R||m(O,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 oe(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=Jd(),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=oe})(le);var Fr={},Yd=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,Xd=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},Qd=le.unescapeAll,eg=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=Qd(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=Yd,Fr.parseLinkDestination=Xd,Fr.parseLinkTitle=eg;var tg=le.assign,ng=le.unescapeAll,zt=le.escapeHtml,nt={};nt.code_inline=function(t,e,n,r,s){var o=t[e];return"<code"+s.renderAttrs(o)+">"+zt(o.content)+"</code>"},nt.code_block=function(t,e,n,r,s){var o=t[e];return"<pre"+s.renderAttrs(o)+"><code>"+zt(t[e].content)+`</code></pre>
24
- `},nt.fence=function(t,e,n,r,s){var o=t[e],c=o.info?ng(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
- `: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
- `):"<pre><code"+s.renderAttrs(o)+">"+l+`</code></pre>
27
- `},nt.image=function(t,e,n,r,s){var o=t[e];return o.attrs[o.attrIndex("alt")][1]=s.renderInlineAsText(o.children,n,r),s.renderToken(t,e,n)},nt.hardbreak=function(t,e,n){return n.xhtmlOut?`<br />
20
+ **/let Ps;const ea=typeof window<"u"&&window.trustedTypes;if(ea)try{Ps=ea.createPolicy("vue",{createHTML:e=>e})}catch{}const ta=Ps?e=>Ps.createHTML(e):e=>e,Bh="http://www.w3.org/2000/svg",$h="http://www.w3.org/1998/Math/MathML",Ft=typeof document<"u"?document:null,na=Ft&&Ft.createElement("template"),Uh={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t==="svg"?Ft.createElementNS(Bh,e):t==="mathml"?Ft.createElementNS($h,e):n?Ft.createElement(e,{is:n}):Ft.createElement(e);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>Ft.createTextNode(e),createComment:e=>Ft.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ft.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{na.innerHTML=ta(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const c=na.content;if(r==="svg"||r==="mathml"){const a=c.firstChild;for(;a.firstChild;)c.appendChild(a.firstChild);c.removeChild(a)}t.insertBefore(c,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Wt="transition",Jn="animation",Yn=Symbol("_vtc"),ra={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},zh=Me({},cc,ra),sa=(e=>(e.displayName="Transition",e.props=zh,e))((e,{slots:t})=>Qc(Of,Hh(e),t)),an=(e,t=[])=>{ie(e)?e.forEach(n=>n(...t)):e&&e(...t)},oa=e=>e?ie(e)?e.some(t=>t.length>1):e.length>1:!1;function Hh(e){const t={};for(const N in e)N in ra||(t[N]=e[N]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:c=`${n}-enter-to`,appearFromClass:a=o,appearActiveClass:l=i,appearToClass:u=c,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=Vh(s),x=m&&m[0],A=m&&m[1],{onBeforeEnter:v,onEnter:E,onEnterCancelled:b,onLeave:g,onLeaveCancelled:k,onBeforeAppear:w=v,onAppear:B=E,onAppearCancelled:T=b}=t,D=(N,oe,S,z)=>{N._enterCancelled=z,ln(N,oe?u:c),ln(N,oe?l:i),S&&S()},q=(N,oe)=>{N._isLeaving=!1,ln(N,f),ln(N,h),ln(N,p),oe&&oe()},F=N=>(oe,S)=>{const z=N?B:E,K=()=>D(oe,N,S);an(z,[oe,K]),ia(()=>{ln(oe,N?a:o),Pt(oe,N?u:c),oa(z)||ca(oe,r,x,K)})};return Me(t,{onBeforeEnter(N){an(v,[N]),Pt(N,o),Pt(N,i)},onBeforeAppear(N){an(w,[N]),Pt(N,a),Pt(N,l)},onEnter:F(!1),onAppear:F(!0),onLeave(N,oe){N._isLeaving=!0;const S=()=>q(N,oe);Pt(N,f),N._enterCancelled?(Pt(N,p),ua()):(ua(),Pt(N,p)),ia(()=>{N._isLeaving&&(ln(N,f),Pt(N,h),oa(g)||ca(N,r,A,S))}),an(g,[N,S])},onEnterCancelled(N){D(N,!1,void 0,!0),an(b,[N])},onAppearCancelled(N){D(N,!0,void 0,!0),an(T,[N])},onLeaveCancelled(N){q(N),an(k,[N])}})}function Vh(e){if(e==null)return null;if(De(e))return[Bs(e.enter),Bs(e.leave)];{const t=Bs(e);return[t,t]}}function Bs(e){return $u(e)}function Pt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Yn]||(e[Yn]=new Set)).add(t)}function ln(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Yn];n&&(n.delete(t),n.size||(e[Yn]=void 0))}function ia(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let jh=0;function ca(e,t,n,r){const s=e._endId=++jh,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:c,propCount:a}=Gh(e,t);if(!i)return r();const l=i+"end";let u=0;const f=()=>{e.removeEventListener(l,p),o()},p=h=>{h.target===e&&++u>=a&&f()};setTimeout(()=>{u<a&&f()},c+1),e.addEventListener(l,p)}function Gh(e,t){const n=window.getComputedStyle(e),r=m=>(n[m]||"").split(", "),s=r(`${Wt}Delay`),o=r(`${Wt}Duration`),i=aa(s,o),c=r(`${Jn}Delay`),a=r(`${Jn}Duration`),l=aa(c,a);let u=null,f=0,p=0;t===Wt?i>0&&(u=Wt,f=i,p=o.length):t===Jn?l>0&&(u=Jn,f=l,p=a.length):(f=Math.max(i,l),u=f>0?i>l?Wt:Jn:null,p=u?u===Wt?o.length:a.length:0);const h=u===Wt&&/\b(transform|all)(,|$)/.test(r(`${Wt}Property`).toString());return{type:u,timeout:f,propCount:p,hasTransform:h}}function aa(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>la(n)+la(e[r])))}function la(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ua(){return document.body.offsetHeight}function Kh(e,t,n){const r=e[Yn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Mr=Symbol("_vod"),fa=Symbol("_vsh"),Zh={beforeMount(e,{value:t},{transition:n}){e[Mr]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Xn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Xn(e,!0),r.enter(e)):r.leave(e,()=>{Xn(e,!1)}):Xn(e,t))},beforeUnmount(e,{value:t}){Xn(e,t)}};function Xn(e,t){e.style.display=t?e[Mr]:"none",e[fa]=!t}const Wh=Symbol(""),Jh=/(^|;)\s*display\s*:/;function Yh(e,t,n){const r=e.style,s=Le(n);let o=!1;if(n&&!s){if(t)if(Le(t))for(const i of t.split(";")){const c=i.slice(0,i.indexOf(":")).trim();n[c]==null&&Or(r,c,"")}else for(const i in t)n[i]==null&&Or(r,i,"");for(const i in n)i==="display"&&(o=!0),Or(r,i,n[i])}else if(s){if(t!==n){const i=r[Wh];i&&(n+=";"+i),r.cssText=n,o=Jh.test(n)}}else t&&e.removeAttribute("style");Mr in e&&(e[Mr]=o?r.display:"",e[fa]&&(r.display="none"))}const ha=/\s*!important$/;function Or(e,t,n){if(ie(n))n.forEach(r=>Or(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Xh(e,t);ha.test(n)?e.setProperty(Ut(r),n.replace(ha,""),"important"):e[r]=n}}const pa=["Webkit","Moz","ms"],$s={};function Xh(e,t){const n=$s[t];if(n)return n;let r=ht(t);if(r!=="filter"&&r in e)return $s[t]=r;r=lr(r);for(let s=0;s<pa.length;s++){const o=pa[s]+r;if(o in e)return $s[t]=o}return t}const da="http://www.w3.org/1999/xlink";function ga(e,t,n,r,s,o=ju(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(da,t.slice(6,t.length)):e.setAttributeNS(da,t,n):n==null||o&&!Di(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Dt(n)?String(n):n)}function ma(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?ta(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const c=o==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(c!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Di(n):n==null&&c==="string"?(n="",i=!0):c==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(s||t)}function Sn(e,t,n,r){e.addEventListener(t,n,r)}function Qh(e,t,n,r){e.removeEventListener(t,n,r)}const _a=Symbol("_vei");function ep(e,t,n,r,s=null){const o=e[_a]||(e[_a]={}),i=o[t];if(r&&i)i.value=r;else{const[c,a]=tp(t);if(r){const l=o[t]=sp(r,s);Sn(e,c,l,a)}else i&&(Qh(e,c,i,a),o[t]=void 0)}}const ba=/(?:Once|Passive|Capture)$/;function tp(e){let t;if(ba.test(e)){t={};let r;for(;r=e.match(ba);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Ut(e.slice(2)),t]}let Us=0;const np=Promise.resolve(),rp=()=>Us||(np.then(()=>Us=0),Us=Date.now());function sp(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;bt(op(r,n.value),t,5,[r])};return n.value=e,n.attached=rp(),n}function op(e,t){if(ie(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const va=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ip=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?Kh(e,r,i):t==="style"?Yh(e,n,r):ir(t)?Xr(t)||ep(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):cp(e,t,r,i))?(ma(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ga(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Le(r))?ma(e,ht(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ga(e,t,r,i))};function cp(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&va(t)&&ae(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return va(t)&&Le(n)?!1:t in e}const ya=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ie(t)?n=>ur(t,n):t};function ap(e){e.target.composing=!0}function xa(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const zs=Symbol("_assign"),lp={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[zs]=ya(s);const o=r||s.props&&s.props.type==="number";Sn(e,t?"change":"input",i=>{if(i.target.composing)return;let c=e.value;n&&(c=c.trim()),o&&(c=ns(c)),e[zs](c)}),n&&Sn(e,"change",()=>{e.value=e.value.trim()}),t||(Sn(e,"compositionstart",ap),Sn(e,"compositionend",xa),Sn(e,"change",xa))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[zs]=ya(i),e.composing)return;const c=(o||e.type==="number")&&!/^0\d/.test(e.value)?ns(e.value):e.value,a=t??"";c!==a&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||s&&e.value.trim()===a)||(e.value=a))}},up=["ctrl","shift","alt","meta"],fp={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>up.some(n=>e[`${n}Key`]&&!t.includes(n))},Ea=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let i=0;i<t.length;i++){const c=fp[t[i]];if(c&&c(s,t))return}return e(s,...o)})},hp={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},pp=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=Ut(s.key);if(t.some(i=>i===o||hp[i]===o))return e(s)})},dp=Me({patchProp:ip},Uh);let ka;function gp(){return ka||(ka=fh(dp))}const mp=(...e)=>{const t=gp().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=bp(r);if(!s)return;const o=t._component;!ae(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.nodeType===1&&(s.textContent="");const i=n(s,!1,_p(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t};function _p(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function bp(e){return Le(e)?document.querySelector(e):e}const Qn={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:{}},vp="#n8n-chat",wa="n8n-chat/sessionId",Aa="Chat",Ca="ChatOptions";for(var je=[],Hs=0;Hs<256;++Hs)je.push((Hs+256).toString(16).slice(1));function yp(e,t=0){return(je[e[t+0]]+je[e[t+1]]+je[e[t+2]]+je[e[t+3]]+"-"+je[e[t+4]]+je[e[t+5]]+"-"+je[e[t+6]]+je[e[t+7]]+"-"+je[e[t+8]]+je[e[t+9]]+"-"+je[e[t+10]]+je[e[t+11]]+je[e[t+12]]+je[e[t+13]]+je[e[t+14]]+je[e[t+15]]).toLowerCase()}var Fr,xp=new Uint8Array(16);function Ep(){if(!Fr&&(Fr=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Fr))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Fr(xp)}var kp=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const Sa={randomUUID:kp};function er(e,t,n){if(Sa.randomUUID&&!t&&!e)return Sa.randomUUID();e=e||{};var r=e.random||(e.rng||Ep)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,yp(r)}async function wp(){return""}async function Vs(...e){var o,i;const t=await wp(),n=(o=e[1])==null?void 0:o.body,r={...t?{authorization:`Bearer ${t}`}:{},...(i=e[1])==null?void 0:i.headers};return n instanceof FormData?delete r["Content-Type"]:r["Content-Type"]="application/json",await(await fetch(e[0],{...e[1],mode:"cors",cache:"no-cache",headers:r})).json()}async function Ta(e,t={},n={}){let r=e;return Object.keys(t).length>0&&(r=`${r}?${new URLSearchParams(t).toString()}`),await Vs(r,{...n,method:"GET"})}async function Da(e,t={},n={}){return await Vs(e,{...n,method:"POST",body:JSON.stringify(t)})}async function Ap(e,t={},n=[],r={}){const s=new FormData;for(const o in t)s.append(o,t[o]);for(const o of n)s.append("files",o);return await Vs(e,{...r,method:"POST",body:s})}async function Cp(e,t){var r,s;return await(((r=t.webhookConfig)==null?void 0:r.method)==="POST"?Da:Ta)(`${t.webhookUrl}`,{action:"loadPreviousSession",[t.chatSessionKey]:e,...t.metadata?{metadata:t.metadata}:{}},{headers:(s=t.webhookConfig)==null?void 0:s.headers})}async function Sp(e,t,n,r){var o,i,c;return t.length>0?await Ap(`${r.webhookUrl}`,{action:"sendMessage",[r.chatSessionKey]:n,[r.chatInputKey]:e,...r.metadata?{metadata:r.metadata}:{}},t,{headers:(o=r.webhookConfig)==null?void 0:o.headers}):await(((i=r.webhookConfig)==null?void 0:i.method)==="POST"?Da:Ta)(`${r.webhookUrl}`,{action:"sendMessage",[r.chatSessionKey]:n,[r.chatInputKey]:e,...r.metadata?{metadata:r.metadata}:{}},{headers:(c=r.webhookConfig)==null?void 0:c.headers})}function Tp(){const e=new Map;function t(s,o){const i=e.get(s);i&&i.splice(i.indexOf(o)>>>0,1)}function n(s,o){let i=e.get(s);return i?i.push(o):i=[o],e.set(s,i),()=>t(s,o)}function r(s,o){const i=e.get(s);i&&i.slice().forEach(async c=>{await c(o)})}return{on:n,off:t,emit:r}}function Dp(e){if(!document.querySelector(e)){const n=document.createElement("div");e.startsWith("#")&&(n.id=e.replace("#","")),e.startsWith(".")&&n.classList.add(e.replace(".","")),document.body.appendChild(n)}}const ot=Tp(),Rp={install(e,t){e.provide(Ca,t);const n=We([]),r=We(null),s=We(!1),o=tt(()=>(t.initialMessages??[]).map(u=>({id:er(),text:u,sender:"bot",createdAt:new Date().toISOString()})));async function i(u,f=[]){const p={id:er(),text:u,sender:"user",files:f,createdAt:new Date().toISOString()};n.value.push(p),s.value=!0,kn(()=>{ot.emit("scrollToBottom")});const h=await Sp(u,f,r.value,t);let m=h.output??h.text??"";if(m===""&&Object.keys(h).length>0)try{m=JSON.stringify(h,null,2)}catch{}const x={id:er(),text:m,sender:"bot",createdAt:new Date().toISOString()};n.value.push(x),s.value=!1,kn(()=>{ot.emit("scrollToBottom")})}async function c(){if(!t.loadPreviousSession)return;const u=localStorage.getItem(wa)??er(),f=await Cp(u,t),p=new Date().toISOString();return n.value=((f==null?void 0:f.data)||[]).map((h,m)=>({id:`${m}`,text:h.kwargs.content,sender:h.id.includes("HumanMessage")?"user":"bot",createdAt:p})),n.value.length&&(r.value=u),u}async function a(){r.value=er(),localStorage.setItem(wa,r.value)}const l={initialMessages:o,messages:n,currentSessionId:r,waitingForResponse:s,loadPreviousSession:c,startNewSession:a,sendMessage:i};e.provide(Aa,l),e.config.globalProperties.$chat=l}};function js(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function qp(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var Gs,Ra;function Lp(){if(Ra)return Gs;Ra=1;function e(_){return _ instanceof Map?_.clear=_.delete=_.set=function(){throw new Error("map is read-only")}:_ instanceof Set&&(_.add=_.clear=_.delete=function(){throw new Error("set is read-only")}),Object.freeze(_),Object.getOwnPropertyNames(_).forEach(R=>{const V=_[R],le=typeof V;(le==="object"||le==="function")&&!Object.isFrozen(V)&&e(V)}),_}class t{constructor(R){R.data===void 0&&(R.data={}),this.data=R.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(_){return _.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function r(_,...R){const V=Object.create(null);for(const le in _)V[le]=_[le];return R.forEach(function(le){for(const Ne in le)V[Ne]=le[Ne]}),V}const s="</span>",o=_=>!!_.scope,i=(_,{prefix:R})=>{if(_.startsWith("language:"))return _.replace("language:","language-");if(_.includes(".")){const V=_.split(".");return[`${R}${V.shift()}`,...V.map((le,Ne)=>`${le}${"_".repeat(Ne+1)}`)].join(" ")}return`${R}${_}`};class c{constructor(R,V){this.buffer="",this.classPrefix=V.classPrefix,R.walk(this)}addText(R){this.buffer+=n(R)}openNode(R){if(!o(R))return;const V=i(R.scope,{prefix:this.classPrefix});this.span(V)}closeNode(R){o(R)&&(this.buffer+=s)}value(){return this.buffer}span(R){this.buffer+=`<span class="${R}">`}}const a=(_={})=>{const R={children:[]};return Object.assign(R,_),R};class l{constructor(){this.rootNode=a(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(R){this.top.children.push(R)}openNode(R){const V=a({scope:R});this.add(V),this.stack.push(V)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(R){return this.constructor._walk(R,this.rootNode)}static _walk(R,V){return typeof V=="string"?R.addText(V):V.children&&(R.openNode(V),V.children.forEach(le=>this._walk(R,le)),R.closeNode(V)),R}static _collapse(R){typeof R!="string"&&R.children&&(R.children.every(V=>typeof V=="string")?R.children=[R.children.join("")]:R.children.forEach(V=>{l._collapse(V)}))}}class u extends l{constructor(R){super(),this.options=R}addText(R){R!==""&&this.add(R)}startScope(R){this.openNode(R)}endScope(){this.closeNode()}__addSublanguage(R,V){const le=R.root;V&&(le.scope=`language:${V}`),this.add(le)}toHTML(){return new c(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function f(_){return _?typeof _=="string"?_:_.source:null}function p(_){return x("(?=",_,")")}function h(_){return x("(?:",_,")*")}function m(_){return x("(?:",_,")?")}function x(..._){return _.map(V=>f(V)).join("")}function A(_){const R=_[_.length-1];return typeof R=="object"&&R.constructor===Object?(_.splice(_.length-1,1),R):{}}function v(..._){return"("+(A(_).capture?"":"?:")+_.map(le=>f(le)).join("|")+")"}function E(_){return new RegExp(_.toString()+"|").exec("").length-1}function b(_,R){const V=_&&_.exec(R);return V&&V.index===0}const g=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function k(_,{joinWith:R}){let V=0;return _.map(le=>{V+=1;const Ne=V;let Ie=f(le),X="";for(;Ie.length>0;){const W=g.exec(Ie);if(!W){X+=Ie;break}X+=Ie.substring(0,W.index),Ie=Ie.substring(W.index+W[0].length),W[0][0]==="\\"&&W[1]?X+="\\"+String(Number(W[1])+Ne):(X+=W[0],W[0]==="("&&V++)}return X}).map(le=>`(${le})`).join(R)}const w=/\b\B/,B="[a-zA-Z]\\w*",T="[a-zA-Z_]\\w*",D="\\b\\d+(\\.\\d+)?",q="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",F="\\b(0b[01]+)",N="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",oe=(_={})=>{const R=/^#![ ]*\//;return _.binary&&(_.begin=x(R,/.*\b/,_.binary,/\b.*/)),r({scope:"meta",begin:R,end:/$/,relevance:0,"on:begin":(V,le)=>{V.index!==0&&le.ignoreMatch()}},_)},S={begin:"\\\\[\\s\\S]",relevance:0},z={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[S]},K={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[S]},Y={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/},Z=function(_,R,V={}){const le=r({scope:"comment",begin:_,end:R,contains:[]},V);le.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 Ne=v("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 le.contains.push({begin:x(/[ ]+/,"(",Ne,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),le},fe=Z("//","$"),J=Z("/\\*","\\*/"),Ae=Z("#","$"),Ce={scope:"number",begin:D,relevance:0},it={scope:"number",begin:q,relevance:0},pi={scope:"number",begin:F,relevance:0},di={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[S,{begin:/\[/,end:/\]/,relevance:0,contains:[S]}]},fn={scope:"title",begin:B,relevance:0},Rn={scope:"title",begin:T,relevance:0},sr={begin:"\\.\\s*"+T,relevance:0};var Ct=Object.freeze({__proto__:null,APOS_STRING_MODE:z,BACKSLASH_ESCAPE:S,BINARY_NUMBER_MODE:pi,BINARY_NUMBER_RE:F,COMMENT:Z,C_BLOCK_COMMENT_MODE:J,C_LINE_COMMENT_MODE:fe,C_NUMBER_MODE:it,C_NUMBER_RE:q,END_SAME_AS_BEGIN:function(_){return Object.assign(_,{"on:begin":(R,V)=>{V.data._beginMatch=R[1]},"on:end":(R,V)=>{V.data._beginMatch!==R[1]&&V.ignoreMatch()}})},HASH_COMMENT_MODE:Ae,IDENT_RE:B,MATCH_NOTHING_RE:w,METHOD_GUARD:sr,NUMBER_MODE:Ce,NUMBER_RE:D,PHRASAL_WORDS_MODE:Y,QUOTE_STRING_MODE:K,REGEXP_MODE:di,RE_STARTERS_RE:N,SHEBANG:oe,TITLE_MODE:fn,UNDERSCORE_IDENT_RE:T,UNDERSCORE_TITLE_MODE:Rn});function Vr(_,R){_.input[_.index-1]==="."&&R.ignoreMatch()}function jr(_,R){_.className!==void 0&&(_.scope=_.className,delete _.className)}function d(_,R){R&&_.beginKeywords&&(_.begin="\\b("+_.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",_.__beforeBegin=Vr,_.keywords=_.keywords||_.beginKeywords,delete _.beginKeywords,_.relevance===void 0&&(_.relevance=0))}function y(_,R){Array.isArray(_.illegal)&&(_.illegal=v(..._.illegal))}function C(_,R){if(_.match){if(_.begin||_.end)throw new Error("begin & end are not supported with match");_.begin=_.match,delete _.match}}function M(_,R){_.relevance===void 0&&(_.relevance=1)}const L=(_,R)=>{if(!_.beforeMatch)return;if(_.starts)throw new Error("beforeMatch cannot be used with starts");const V=Object.assign({},_);Object.keys(_).forEach(le=>{delete _[le]}),_.keywords=V.keywords,_.begin=x(V.beforeMatch,p(V.begin)),_.starts={relevance:0,contains:[Object.assign(V,{endsParent:!0})]},_.relevance=0,delete V.beforeMatch},I=["of","and","for","in","not","or","if","then","parent","list","value"],j="keyword";function U(_,R,V=j){const le=Object.create(null);return typeof _=="string"?Ne(V,_.split(" ")):Array.isArray(_)?Ne(V,_):Object.keys(_).forEach(function(Ie){Object.assign(le,U(_[Ie],R,Ie))}),le;function Ne(Ie,X){R&&(X=X.map(W=>W.toLowerCase())),X.forEach(function(W){const ce=W.split("|");le[ce[0]]=[Ie,$(ce[0],ce[1])]})}}function $(_,R){return R?Number(R):O(_)?0:1}function O(_){return I.includes(_.toLowerCase())}const re={},H=_=>{console.error(_)},ee=(_,...R)=>{console.log(`WARN: ${_}`,...R)},se=(_,R)=>{re[`${_}/${R}`]||(console.log(`Deprecated as of ${_}. ${R}`),re[`${_}/${R}`]=!0)},pe=new Error;function xe(_,R,{key:V}){let le=0;const Ne=_[V],Ie={},X={};for(let W=1;W<=R.length;W++)X[W+le]=Ne[W],Ie[W+le]=!0,le+=E(R[W-1]);_[V]=X,_[V]._emit=Ie,_[V]._multi=!0}function be(_){if(Array.isArray(_.begin)){if(_.skip||_.excludeBegin||_.returnBegin)throw H("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),pe;if(typeof _.beginScope!="object"||_.beginScope===null)throw H("beginScope must be object"),pe;xe(_,_.begin,{key:"beginScope"}),_.begin=k(_.begin,{joinWith:""})}}function nt(_){if(Array.isArray(_.end)){if(_.skip||_.excludeEnd||_.returnEnd)throw H("skip, excludeEnd, returnEnd not compatible with endScope: {}"),pe;if(typeof _.endScope!="object"||_.endScope===null)throw H("endScope must be object"),pe;xe(_,_.end,{key:"endScope"}),_.end=k(_.end,{joinWith:""})}}function Ue(_){_.scope&&typeof _.scope=="object"&&_.scope!==null&&(_.beginScope=_.scope,delete _.scope)}function ut(_){Ue(_),typeof _.beginScope=="string"&&(_.beginScope={_wrap:_.beginScope}),typeof _.endScope=="string"&&(_.endScope={_wrap:_.endScope}),be(_),nt(_)}function rt(_){function R(X,W){return new RegExp(f(X),"m"+(_.case_insensitive?"i":"")+(_.unicodeRegex?"u":"")+(W?"g":""))}class V{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(W,ce){ce.position=this.position++,this.matchIndexes[this.matchAt]=ce,this.regexes.push([ce,W]),this.matchAt+=E(W)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const W=this.regexes.map(ce=>ce[1]);this.matcherRe=R(k(W,{joinWith:"|"}),!0),this.lastIndex=0}exec(W){this.matcherRe.lastIndex=this.lastIndex;const ce=this.matcherRe.exec(W);if(!ce)return null;const ze=ce.findIndex((or,mi)=>mi>0&&or!==void 0),Fe=this.matchIndexes[ze];return ce.splice(0,ze),Object.assign(ce,Fe)}}class le{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(W){if(this.multiRegexes[W])return this.multiRegexes[W];const ce=new V;return this.rules.slice(W).forEach(([ze,Fe])=>ce.addRule(ze,Fe)),ce.compile(),this.multiRegexes[W]=ce,ce}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(W,ce){this.rules.push([W,ce]),ce.type==="begin"&&this.count++}exec(W){const ce=this.getMatcher(this.regexIndex);ce.lastIndex=this.lastIndex;let ze=ce.exec(W);if(this.resumingScanAtSamePosition()&&!(ze&&ze.index===this.lastIndex)){const Fe=this.getMatcher(0);Fe.lastIndex=this.lastIndex+1,ze=Fe.exec(W)}return ze&&(this.regexIndex+=ze.position+1,this.regexIndex===this.count&&this.considerAll()),ze}}function Ne(X){const W=new le;return X.contains.forEach(ce=>W.addRule(ce.begin,{rule:ce,type:"begin"})),X.terminatorEnd&&W.addRule(X.terminatorEnd,{type:"end"}),X.illegal&&W.addRule(X.illegal,{type:"illegal"}),W}function Ie(X,W){const ce=X;if(X.isCompiled)return ce;[jr,C,ut,L].forEach(Fe=>Fe(X,W)),_.compilerExtensions.forEach(Fe=>Fe(X,W)),X.__beforeBegin=null,[d,y,M].forEach(Fe=>Fe(X,W)),X.isCompiled=!0;let ze=null;return typeof X.keywords=="object"&&X.keywords.$pattern&&(X.keywords=Object.assign({},X.keywords),ze=X.keywords.$pattern,delete X.keywords.$pattern),ze=ze||/\w+/,X.keywords&&(X.keywords=U(X.keywords,_.case_insensitive)),ce.keywordPatternRe=R(ze,!0),W&&(X.begin||(X.begin=/\B|\b/),ce.beginRe=R(ce.begin),!X.end&&!X.endsWithParent&&(X.end=/\B|\b/),X.end&&(ce.endRe=R(ce.end)),ce.terminatorEnd=f(ce.end)||"",X.endsWithParent&&W.terminatorEnd&&(ce.terminatorEnd+=(X.end?"|":"")+W.terminatorEnd)),X.illegal&&(ce.illegalRe=R(X.illegal)),X.contains||(X.contains=[]),X.contains=[].concat(...X.contains.map(function(Fe){return Gr(Fe==="self"?X:Fe)})),X.contains.forEach(function(Fe){Ie(Fe,ce)}),X.starts&&Ie(X.starts,W),ce.matcher=Ne(ce),ce}if(_.compilerExtensions||(_.compilerExtensions=[]),_.contains&&_.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return _.classNameAliases=r(_.classNameAliases||{}),Ie(_)}function Yt(_){return _?_.endsWithParent||Yt(_.starts):!1}function Gr(_){return _.variants&&!_.cachedVariants&&(_.cachedVariants=_.variants.map(function(R){return r(_,{variants:null},R)})),_.cachedVariants?_.cachedVariants:Yt(_)?r(_,{starts:_.starts?r(_.starts):null}):Object.isFrozen(_)?r(_):_}var st="11.9.0";class mt extends Error{constructor(R,V){super(R),this.name="HTMLInjectionError",this.html=V}}const qn=n,wu=r,Au=Symbol("nomatch"),Dm=7,Cu=function(_){const R=Object.create(null),V=Object.create(null),le=[];let Ne=!0;const Ie="Could not find the language '{}', did you forget to load/include a language module?",X={disableAutodetect:!0,name:"Plain text",contains:[]};let W={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:u};function ce(P){return W.noHighlightRe.test(P)}function ze(P){let ne=P.className+" ";ne+=P.parentNode?P.parentNode.className:"";const me=W.languageDetectRe.exec(ne);if(me){const Te=Xt(me[1]);return Te||(ee(Ie.replace("{}",me[1])),ee("Falling back to no-highlight mode for this block.",P)),Te?me[1]:"no-highlight"}return ne.split(/\s+/).find(Te=>ce(Te)||Xt(Te))}function Fe(P,ne,me){let Te="",Be="";typeof ne=="object"?(Te=P,me=ne.ignoreIllegals,Be=ne.language):(se("10.7.0","highlight(lang, code, ...args) has been deprecated."),se("10.7.0",`Please use highlight(code, options) instead.
21
+ https://github.com/highlightjs/highlight.js/issues/2277`),Be=P,Te=ne),me===void 0&&(me=!0);const vt={code:Te,language:Be};Zr("before:highlight",vt);const Qt=vt.result?vt.result:or(vt.language,vt.code,me);return Qt.code=vt.code,Zr("after:highlight",Qt),Qt}function or(P,ne,me,Te){const Be=Object.create(null);function vt(G,te){return G.keywords[te]}function Qt(){if(!ue.keywords){Ge.addText(qe);return}let G=0;ue.keywordPatternRe.lastIndex=0;let te=ue.keywordPatternRe.exec(qe),de="";for(;te;){de+=qe.substring(G,te.index);const Ee=Tt.case_insensitive?te[0].toLowerCase():te[0],Je=vt(ue,Ee);if(Je){const[$t,Km]=Je;if(Ge.addText(de),de="",Be[Ee]=(Be[Ee]||0)+1,Be[Ee]<=Dm&&(Yr+=Km),$t.startsWith("_"))de+=te[0];else{const Zm=Tt.classNameAliases[$t]||$t;St(te[0],Zm)}}else de+=te[0];G=ue.keywordPatternRe.lastIndex,te=ue.keywordPatternRe.exec(qe)}de+=qe.substring(G),Ge.addText(de)}function Wr(){if(qe==="")return;let G=null;if(typeof ue.subLanguage=="string"){if(!R[ue.subLanguage]){Ge.addText(qe);return}G=or(ue.subLanguage,qe,!0,Iu[ue.subLanguage]),Iu[ue.subLanguage]=G._top}else G=_i(qe,ue.subLanguage.length?ue.subLanguage:null);ue.relevance>0&&(Yr+=G.relevance),Ge.__addSublanguage(G._emitter,G.language)}function ft(){ue.subLanguage!=null?Wr():Qt(),qe=""}function St(G,te){G!==""&&(Ge.startScope(te),Ge.addText(G),Ge.endScope())}function Ru(G,te){let de=1;const Ee=te.length-1;for(;de<=Ee;){if(!G._emit[de]){de++;continue}const Je=Tt.classNameAliases[G[de]]||G[de],$t=te[de];Je?St($t,Je):(qe=$t,Qt(),qe=""),de++}}function qu(G,te){return G.scope&&typeof G.scope=="string"&&Ge.openNode(Tt.classNameAliases[G.scope]||G.scope),G.beginScope&&(G.beginScope._wrap?(St(qe,Tt.classNameAliases[G.beginScope._wrap]||G.beginScope._wrap),qe=""):G.beginScope._multi&&(Ru(G.beginScope,te),qe="")),ue=Object.create(G,{parent:{value:ue}}),ue}function Lu(G,te,de){let Ee=b(G.endRe,de);if(Ee){if(G["on:end"]){const Je=new t(G);G["on:end"](te,Je),Je.isMatchIgnored&&(Ee=!1)}if(Ee){for(;G.endsParent&&G.parent;)G=G.parent;return G}}if(G.endsWithParent)return Lu(G.parent,te,de)}function zm(G){return ue.matcher.regexIndex===0?(qe+=G[0],1):(xi=!0,0)}function Hm(G){const te=G[0],de=G.rule,Ee=new t(de),Je=[de.__beforeBegin,de["on:begin"]];for(const $t of Je)if($t&&($t(G,Ee),Ee.isMatchIgnored))return zm(te);return de.skip?qe+=te:(de.excludeBegin&&(qe+=te),ft(),!de.returnBegin&&!de.excludeBegin&&(qe=te)),qu(de,G),de.returnBegin?0:te.length}function Vm(G){const te=G[0],de=ne.substring(G.index),Ee=Lu(ue,G,de);if(!Ee)return Au;const Je=ue;ue.endScope&&ue.endScope._wrap?(ft(),St(te,ue.endScope._wrap)):ue.endScope&&ue.endScope._multi?(ft(),Ru(ue.endScope,G)):Je.skip?qe+=te:(Je.returnEnd||Je.excludeEnd||(qe+=te),ft(),Je.excludeEnd&&(qe=te));do ue.scope&&Ge.closeNode(),!ue.skip&&!ue.subLanguage&&(Yr+=ue.relevance),ue=ue.parent;while(ue!==Ee.parent);return Ee.starts&&qu(Ee.starts,G),Je.returnEnd?0:te.length}function jm(){const G=[];for(let te=ue;te!==Tt;te=te.parent)te.scope&&G.unshift(te.scope);G.forEach(te=>Ge.openNode(te))}let Jr={};function Nu(G,te){const de=te&&te[0];if(qe+=G,de==null)return ft(),0;if(Jr.type==="begin"&&te.type==="end"&&Jr.index===te.index&&de===""){if(qe+=ne.slice(te.index,te.index+1),!Ne){const Ee=new Error(`0 width match regex (${P})`);throw Ee.languageName=P,Ee.badRule=Jr.rule,Ee}return 1}if(Jr=te,te.type==="begin")return Hm(te);if(te.type==="illegal"&&!me){const Ee=new Error('Illegal lexeme "'+de+'" for mode "'+(ue.scope||"<unnamed>")+'"');throw Ee.mode=ue,Ee}else if(te.type==="end"){const Ee=Vm(te);if(Ee!==Au)return Ee}if(te.type==="illegal"&&de==="")return 1;if(yi>1e5&&yi>te.index*3)throw new Error("potential infinite loop, way more iterations than matches");return qe+=de,de.length}const Tt=Xt(P);if(!Tt)throw H(Ie.replace("{}",P)),new Error('Unknown language: "'+P+'"');const Gm=rt(Tt);let vi="",ue=Te||Gm;const Iu={},Ge=new W.__emitter(W);jm();let qe="",Yr=0,hn=0,yi=0,xi=!1;try{if(Tt.__emitTokens)Tt.__emitTokens(ne,Ge);else{for(ue.matcher.considerAll();;){yi++,xi?xi=!1:ue.matcher.considerAll(),ue.matcher.lastIndex=hn;const G=ue.matcher.exec(ne);if(!G)break;const te=ne.substring(hn,G.index),de=Nu(te,G);hn=G.index+de}Nu(ne.substring(hn))}return Ge.finalize(),vi=Ge.toHTML(),{language:P,value:vi,relevance:Yr,illegal:!1,_emitter:Ge,_top:ue}}catch(G){if(G.message&&G.message.includes("Illegal"))return{language:P,value:qn(ne),illegal:!0,relevance:0,_illegalBy:{message:G.message,index:hn,context:ne.slice(hn-100,hn+100),mode:G.mode,resultSoFar:vi},_emitter:Ge};if(Ne)return{language:P,value:qn(ne),illegal:!1,relevance:0,errorRaised:G,_emitter:Ge,_top:ue};throw G}}function mi(P){const ne={value:qn(P),illegal:!1,relevance:0,_top:X,_emitter:new W.__emitter(W)};return ne._emitter.addText(P),ne}function _i(P,ne){ne=ne||W.languages||Object.keys(R);const me=mi(P),Te=ne.filter(Xt).filter(Du).map(ft=>or(ft,P,!1));Te.unshift(me);const Be=Te.sort((ft,St)=>{if(ft.relevance!==St.relevance)return St.relevance-ft.relevance;if(ft.language&&St.language){if(Xt(ft.language).supersetOf===St.language)return 1;if(Xt(St.language).supersetOf===ft.language)return-1}return 0}),[vt,Qt]=Be,Wr=vt;return Wr.secondBest=Qt,Wr}function Rm(P,ne,me){const Te=ne&&V[ne]||me;P.classList.add("hljs"),P.classList.add(`language-${Te}`)}function bi(P){let ne=null;const me=ze(P);if(ce(me))return;if(Zr("before:highlightElement",{el:P,language:me}),P.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",P);return}if(P.children.length>0&&(W.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(P)),W.throwUnescapedHTML))throw new mt("One of your code blocks includes unescaped HTML.",P.innerHTML);ne=P;const Te=ne.textContent,Be=me?Fe(Te,{language:me,ignoreIllegals:!0}):_i(Te);P.innerHTML=Be.value,P.dataset.highlighted="yes",Rm(P,me,Be.language),P.result={language:Be.language,re:Be.relevance,relevance:Be.relevance},Be.secondBest&&(P.secondBest={language:Be.secondBest.language,relevance:Be.secondBest.relevance}),Zr("after:highlightElement",{el:P,result:Be,text:Te})}function qm(P){W=wu(W,P)}const Lm=()=>{Kr(),se("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function Nm(){Kr(),se("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Su=!1;function Kr(){if(document.readyState==="loading"){Su=!0;return}document.querySelectorAll(W.cssSelector).forEach(bi)}function Im(){Su&&Kr()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",Im,!1);function Mm(P,ne){let me=null;try{me=ne(_)}catch(Te){if(H("Language definition for '{}' could not be registered.".replace("{}",P)),Ne)H(Te);else throw Te;me=X}me.name||(me.name=P),R[P]=me,me.rawDefinition=ne.bind(null,_),me.aliases&&Tu(me.aliases,{languageName:P})}function Om(P){delete R[P];for(const ne of Object.keys(V))V[ne]===P&&delete V[ne]}function Fm(){return Object.keys(R)}function Xt(P){return P=(P||"").toLowerCase(),R[P]||R[V[P]]}function Tu(P,{languageName:ne}){typeof P=="string"&&(P=[P]),P.forEach(me=>{V[me.toLowerCase()]=ne})}function Du(P){const ne=Xt(P);return ne&&!ne.disableAutodetect}function Pm(P){P["before:highlightBlock"]&&!P["before:highlightElement"]&&(P["before:highlightElement"]=ne=>{P["before:highlightBlock"](Object.assign({block:ne.el},ne))}),P["after:highlightBlock"]&&!P["after:highlightElement"]&&(P["after:highlightElement"]=ne=>{P["after:highlightBlock"](Object.assign({block:ne.el},ne))})}function Bm(P){Pm(P),le.push(P)}function $m(P){const ne=le.indexOf(P);ne!==-1&&le.splice(ne,1)}function Zr(P,ne){const me=P;le.forEach(function(Te){Te[me]&&Te[me](ne)})}function Um(P){return se("10.7.0","highlightBlock will be removed entirely in v12.0"),se("10.7.0","Please use highlightElement now."),bi(P)}Object.assign(_,{highlight:Fe,highlightAuto:_i,highlightAll:Kr,highlightElement:bi,highlightBlock:Um,configure:qm,initHighlighting:Lm,initHighlightingOnLoad:Nm,registerLanguage:Mm,unregisterLanguage:Om,listLanguages:Fm,getLanguage:Xt,registerAliases:Tu,autoDetection:Du,inherit:wu,addPlugin:Bm,removePlugin:$m}),_.debugMode=function(){Ne=!1},_.safeMode=function(){Ne=!0},_.versionString=st,_.regex={concat:x,lookahead:p,either:v,optional:m,anyNumberOfTimes:h};for(const P in Ct)typeof Ct[P]=="object"&&e(Ct[P]);return Object.assign(_,Ct),_},Ln=Cu({});return Ln.newInstance=()=>Cu({}),Gs=Ln,Ln.HighlightJS=Ln,Ln.default=Ln,Gs}var Np=Lp();const Bt=js(Np),qa="[A-Za-z$_][0-9A-Za-z$_]*",Ip=["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"],Mp=["true","false","null","undefined","NaN","Infinity"],La=["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"],Na=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Ia=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Op=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Fp=[].concat(Ia,La,Na);function Ma(e){const t=e.regex,n=(Z,{after:fe})=>{const J="</"+Z[0].slice(1);return Z.input.indexOf(J,fe)!==-1},r=qa,s={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,i={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Z,fe)=>{const J=Z[0].length+Z.index,Ae=Z.input[J];if(Ae==="<"||Ae===","){fe.ignoreMatch();return}Ae===">"&&(n(Z,{after:J})||fe.ignoreMatch());let Ce;const it=Z.input.substring(J);if(Ce=it.match(/^\s*=/)){fe.ignoreMatch();return}if((Ce=it.match(/^\s+extends\s+/))&&Ce.index===0){fe.ignoreMatch();return}}},c={$pattern:qa,keyword:Ip,literal:Mp,built_in:Fp,"variable.language":Op},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:c,contains:[]},h={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},m={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"css"}},x={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},A={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,p]},E={className:"comment",variants:[e.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}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},b=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,m,x,A,{match:/\$\d+/},f];p.contains=b.concat({begin:/\{/,end:/\}/,keywords:c,contains:["self"].concat(b)});const g=[].concat(E,p.contains),k=g.concat([{begin:/\(/,end:/\)/,keywords:c,contains:["self"].concat(g)}]),w={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:k},B={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},T={relevance:0,match:t.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:{_:[...La,...Na]}},D={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},q={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[w],illegal:/%/},F={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function N(Z){return t.concat("(?!",Z.join("|"),")")}const oe={match:t.concat(/\b/,N([...Ia,"super","import"]),r,t.lookahead(/\(/)),className:"title.function",relevance:0},S={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},z={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},w]},K="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",Y={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(K)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[w]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:c,exports:{PARAMS_CONTAINS:k,CLASS_REFERENCE:T},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),D,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,m,x,A,E,{match:/\$\d+/},f,T,{className:"attr",begin:r+t.lookahead(":"),relevance:0},Y,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[E,e.REGEXP_MODE,{className:"function",begin:K,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:k}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:o},{begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},q,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[w,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},S,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[w]},oe,F,B,z,{match:/\$[(.]/}]}}function Oa(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.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/}]},i=e.inherit(o,{begin:/\(/,end:/\)/}),c=e.inherit(e.APOS_STRING_MODE,{className:"string"}),a=e.inherit(e.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,c,i,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin:/<![a-z]/,end:/>/,contains:[o,i,a,c]}]}]},e.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:t.concat(/</,t.lookahead(t.concat(n,t.either(/\/>/,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:l}]},{className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}const Pr=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},Pp={},Bp={class:"chat-button"};function $p(e,t){return Q(),ge("button",Bp,[Gt(e.$slots,"default")])}const Up=Pr(Pp,[["render",$p]]),zp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Hp(e,t){return Q(),ge("svg",zp,t[0]||(t[0]=[we("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 Vp={name:"mdi-close",render:Hp};function Ks(){return Cn(Aa)}function tr(){return{options:Cn(Ca)}}function Br(){const{options:e}=tr(),t=(e==null?void 0:e.defaultLanguage)??"en";function n(s){var i,c;const o=(c=(i=e==null?void 0:e.i18n)==null?void 0:i[t])==null?void 0:c[s];return Pe(o)?o.value:o??s}function r(s){var o,i;return!!((i=(o=e==null?void 0:e.i18n)==null?void 0:o[t])!=null&&i[s])}return{t:n,te:r}}const jp={class:"chat-get-started"},Gp=gt({__name:"GetStarted",setup(e){const{t}=Br();return(n,r)=>(Q(),ge("div",jp,[Re(Up,{onClick:r[0]||(r[0]=s=>n.$emit("click:button"))},{default:Mt(()=>[Is(_n(he(t)("getStarted")),1)]),_:1})]))}}),Kp={},Zp={class:"chat-powered-by"};function Wp(e,t){return Q(),ge("div",Zp,t[0]||(t[0]=[Is(" Powered by "),we("a",{href:"https://n8n.io?utm_source=n8n-external&utm_medium=widget-powered-by"},"n8n",-1)]))}const Jp=Pr(Kp,[["render",Wp]]),Yp={class:"chat-get-started-footer"},Xp={key:0},Qp=gt({__name:"GetStartedFooter",setup(e){const{t,te:n}=Br();return(r,s)=>(Q(),ge("div",Yp,[he(n)("footer")?(Q(),ge("div",Xp,_n(he(t)("footer")),1)):lt("",!0),Re(Jp)]))}});function ed(e){return Li()?(Ku(e),!0):!1}function td(){const e=new Set,t=s=>{e.delete(s)};return{on:s=>{e.add(s);const o=()=>t(s);return ed(o),{off:o}},off:t,trigger:(...s)=>Promise.all(Array.from(e).map(o=>o(...s)))}}const nd=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const rd=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),sd=nd?window.document:void 0,od={multiple:!0,accept:"*",reset:!1,directory:!1};function id(e={}){const{document:t=sd}=e,n=We(null),{on:r,trigger:s}=td();let o;t&&(o=t.createElement("input"),o.type="file",o.onchange=a=>{const l=a.target;n.value=l.files,s(n.value)});const i=()=>{n.value=null,o&&o.value&&(o.value="",s(null))},c=a=>{if(!o)return;const l={...od,...e,...a};o.multiple=l.multiple,o.accept=l.accept,o.webkitdirectory=l.directory,rd(l,"capture")&&(o.capture=l.capture),l.reset&&i(),o.click()};return{files:gs(n),open:c,reset:i,onChange:r}}const cd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function ad(e,t){return Q(),ge("svg",cd,t[0]||(t[0]=[we("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 ld={name:"mdi-paperclip",render:ad},ud={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function fd(e,t){return Q(),ge("svg",ud,t[0]||(t[0]=[we("path",{fill:"currentColor",d:"m2 21l21-9L2 3v7l15 2l-15 2z"},null,-1)]))}const hd={name:"mdi-send",render:fd},pd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function dd(e,t){return Q(),ge("svg",pd,t[0]||(t[0]=[we("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 gd={name:"mdi-closeThick",render:dd},md={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function _d(e,t){return Q(),ge("svg",md,t[0]||(t[0]=[we("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 bd={name:"mdi-fileImage",render:_d},vd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function yd(e,t){return Q(),ge("svg",vd,t[0]||(t[0]=[we("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 xd={name:"mdi-fileMusic",render:yd},Ed={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function kd(e,t){return Q(),ge("svg",Ed,t[0]||(t[0]=[we("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 Fa={name:"mdi-fileText",render:kd},wd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Ad(e,t){return Q(),ge("svg",wd,t[0]||(t[0]=[we("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 Cd={name:"mdi-fileVideo",render:Ad},Sd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Td(e,t){return Q(),ge("svg",Sd,t[0]||(t[0]=[we("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 Dd={name:"mdi-openInNew",render:Td},Rd={class:"chat-file-name"},Pa=Pr(gt({__name:"ChatFile",props:{file:{},isRemovable:{type:Boolean},isPreviewable:{type:Boolean}},emits:["remove"],setup(e,{emit:t}){const n=e,r=t,s={document:Fa,audio:xd,image:bd,video:Cd},o=tt(()=>{var l;const a=(l=n.file)==null?void 0:l.type.split("/")[0];return s[a]||Fa});function i(){n.isPreviewable&&window.open(URL.createObjectURL(n.file))}function c(){r("remove",n.file)}return(a,l)=>(Q(),ge("div",{class:"chat-file",onClick:i},[Re(he(o)),we("p",Rd,_n(a.file.name),1),a.isRemovable?(Q(),ge("span",{key:0,class:"chat-file-delete",onClick:Ea(c,["stop"])},[Re(he(gd))])):a.isPreviewable?(Q(),Oe(he(Dd),{key:1,class:"chat-file-preview"})):lt("",!0)]))}}),[["__scopeId","data-v-e0d57af7"]]),qd={class:"chat-inputs"},Ld={key:0,class:"chat-input-left-panel"},Nd=["disabled","placeholder"],Id={class:"chat-inputs-controls"},Md=["disabled"],Od=["disabled"],Fd={key:0,class:"chat-files"},Pd=Pr(gt({__name:"Input",props:{placeholder:{default:"inputPlaceholder"}},emits:["arrowKeyDown"],setup(e,{emit:t}){const n=e,{t:r}=Br(),s=t,{options:o}=tr(),i=Ks(),{waitingForResponse:c}=i,a=We(null),l=We(null),u=We(""),f=We(!1),p=We(null),h=tt(()=>{var z;return u.value===""||he(c)||((z=o.disabled)==null?void 0:z.value)===!0}),m=tt(()=>{var z;return((z=o.disabled)==null?void 0:z.value)===!0}),x=tt(()=>{var z;return A.value&&he(c)&&!((z=o.disabled)!=null&&z.value)}),A=tt(()=>he(o.allowFileUploads)===!0),v=tt(()=>he(o.allowedFilesMimeTypes)),E=tt(()=>({"--controls-count":A.value?2:1})),{open:b,reset:g,onChange:k}=id({multiple:!0,reset:!1});k(z=>{if(!z)return;const K=new DataTransfer;if(a.value)for(let Y=0;Y<a.value.length;Y++)K.items.add(a.value[Y]);for(let Y=0;Y<z.length;Y++)K.items.add(z[Y]);a.value=K.files}),jt(()=>{ot.on("focusInput",B),ot.on("blurInput",w),ot.on("setInputValue",T),l.value&&(p.value=new ResizeObserver(z=>{for(const K of z)K.target===l.value&&S({target:l.value})}),p.value.observe(l.value))}),ks(()=>{ot.off("focusInput",B),ot.off("blurInput",w),ot.off("setInputValue",T),p.value&&(p.value.disconnect(),p.value=null)});function w(){l.value&&l.value.blur()}function B(){l.value&&l.value.focus()}function T(z){u.value=z,B()}async function D(z){if(z.preventDefault(),h.value)return;const K=u.value;u.value="",f.value=!0,await i.sendMessage(K,Array.from(a.value??[])),f.value=!1,g(),a.value=null}async function q(z){z.shiftKey||(await D(z),S({target:l.value}))}function F(z){if(!a.value)return;const K=new DataTransfer;for(let Y=0;Y<a.value.length;Y++){const Z=a.value[Y];z.name!==Z.name&&K.items.add(Z)}g(),a.value=K.files}function N(z){(z.key==="ArrowUp"||z.key==="ArrowDown")&&(z.preventDefault(),s("arrowKeyDown",{key:z.key,currentInputValue:u.value}))}function oe(){x.value||b({accept:he(v)})}function S(z){const K=z.target;K.style.height="var(--chat--textarea--height)";const Y=Math.min(K.scrollHeight,480);K.style.height=`${Y}px`}return(z,K)=>{var Y;return Q(),ge("div",{class:"chat-input",style:In(E.value),onKeydown:Ea(N,["stop"])},[we("div",qd,[z.$slots.leftPanel?(Q(),ge("div",Ld,[Gt(z.$slots,"leftPanel",{},void 0,!0)])):lt("",!0),oc(we("textarea",{ref_key:"chatTextArea",ref:l,"onUpdate:modelValue":K[0]||(K[0]=Z=>u.value=Z),"data-test-id":"chat-input",disabled:m.value,placeholder:he(r)(n.placeholder),onKeydown:pp(q,["enter"]),onInput:S,onMousedown:S,onFocus:S},null,40,Nd),[[lp,u.value]]),we("div",Id,[A.value?(Q(),ge("button",{key:0,disabled:x.value,class:"chat-input-file-button","data-test-id":"chat-attach-file-button",onClick:oe},[Re(he(ld),{height:"24",width:"24"})],8,Md)):lt("",!0),we("button",{disabled:h.value,class:"chat-input-send-button",onClick:D},[Re(he(hd),{height:"24",width:"24"})],8,Od)])]),(Y=a.value)!=null&&Y.length&&!f.value?(Q(),ge("div",Fd,[(Q(!0),ge(He,null,Sr(a.value,Z=>(Q(),Oe(Pa,{key:Z.name,file:Z,"is-removable":!0,"is-previewable":!0,onRemove:F},null,8,["file"]))),128))])):lt("",!0)],36)}}}),[["__scopeId","data-v-c36dbaac"]]),Bd={class:"chat-layout"},$d={key:0,class:"chat-header"},Ud={key:2,class:"chat-footer"},zd=gt({__name:"Layout",setup(e){const t=We(null);function n(){const r=t.value;r&&(r.scrollTop=r.scrollHeight)}return jt(()=>{ot.on("scrollToBottom",n),window.addEventListener("resize",n)}),Es(()=>{ot.off("scrollToBottom",n),window.removeEventListener("resize",n)}),(r,s)=>(Q(),ge("main",Bd,[r.$slots.header?(Q(),ge("div",$d,[Gt(r.$slots,"header")])):lt("",!0),r.$slots.default?(Q(),ge("div",{key:1,ref_key:"chatBodyRef",ref:t,class:"chat-body"},[Gt(r.$slots,"default")],512)):lt("",!0),r.$slots.footer?(Q(),ge("div",Ud,[Gt(r.$slots,"footer")])):lt("",!0)]))}});function Hd(e){const t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:"variable",variants:[{begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const s={className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},o={begin:/<<-?\s*(?=\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},i={className:"string",begin:/"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,n,s]};s.contains.push(i);const c={match:/\\"/},a={className:"string",begin:/'/,end:/'/},l={match:/\\'/},u={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]},f=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],p=e.SHEBANG({binary:`(${f.join("|")})`,relevance:10}),h={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},m=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],x=["true","false"],A={match:/(\/[a-z._-]+)+/},v=["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"],b=["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"],g=["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:x,built_in:[...v,...E,"set","shopt",...b,...g]},contains:[p,e.SHEBANG(),h,u,e.HASH_COMMENT_MODE,o,A,i,c,a,l,n]}}function Vd(e){const t=e.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"],c={$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:c,illegal:/#/},u={begin:/\{\{/,relevance:0},f={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,a,u,l]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.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:[e.BACKSLASH_ESCAPE,u,l]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,u,l]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},p="[0-9](_?[0-9])*",h=`(\\b(${p}))?\\.(${p})|\\b(${p})\\.`,m=`\\b|${r.join("|")}`,x={className:"number",relevance:0,variants:[{begin:`(\\b(${p})|(${h}))[eE][+-]?(${p})[jJ]?(?=${m})`},{begin:`(${h})[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})`}]},A={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:c,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},v={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:["self",a,x,f,e.HASH_COMMENT_MODE]}]};return l.contains=[f,x,a],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:c,illegal:/(<\/|\?)|=>/,contains:[a,x,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},f,A,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[v]},{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:[x,v,f]}]}}const $r="[A-Za-z$_][0-9A-Za-z$_]*",Ba=["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"],$a=["true","false","null","undefined","NaN","Infinity"],Ua=["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"],za=["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"],Va=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],ja=[].concat(Ha,Ua,za);function jd(e){const t=e.regex,n=(Z,{after:fe})=>{const J="</"+Z[0].slice(1);return Z.input.indexOf(J,fe)!==-1},r=$r,s={begin:"<>",end:"</>"},o=/<[A-Za-z0-9\\._:-]+\s*\/>/,i={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Z,fe)=>{const J=Z[0].length+Z.index,Ae=Z.input[J];if(Ae==="<"||Ae===","){fe.ignoreMatch();return}Ae===">"&&(n(Z,{after:J})||fe.ignoreMatch());let Ce;const it=Z.input.substring(J);if(Ce=it.match(/^\s*=/)){fe.ignoreMatch();return}if((Ce=it.match(/^\s+extends\s+/))&&Ce.index===0){fe.ignoreMatch();return}}},c={$pattern:$r,keyword:Ba,literal:$a,built_in:ja,"variable.language":Va},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:c,contains:[]},h={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"xml"}},m={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"css"}},x={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,p],subLanguage:"graphql"}},A={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,p]},E={className:"comment",variants:[e.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}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},b=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,m,x,A,{match:/\$\d+/},f];p.contains=b.concat({begin:/\{/,end:/\}/,keywords:c,contains:["self"].concat(b)});const g=[].concat(E,p.contains),k=g.concat([{begin:/\(/,end:/\)/,keywords:c,contains:["self"].concat(g)}]),w={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:k},B={variants:[{match:[/class/,/\s+/,r,/\s+/,/extends/,/\s+/,t.concat(r,"(",t.concat(/\./,r),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,r],scope:{1:"keyword",3:"title.class"}}]},T={relevance:0,match:t.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:{_:[...Ua,...za]}},D={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},q={variants:[{match:[/function/,/\s+/,r,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[w],illegal:/%/},F={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function N(Z){return t.concat("(?!",Z.join("|"),")")}const oe={match:t.concat(/\b/,N([...Ha,"super","import"]),r,t.lookahead(/\(/)),className:"title.function",relevance:0},S={begin:t.concat(/\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},z={match:[/get|set/,/\s+/,r,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},w]},K="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",Y={match:[/const|var|let/,/\s+/,r,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(K)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[w]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:c,exports:{PARAMS_CONTAINS:k,CLASS_REFERENCE:T},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),D,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,h,m,x,A,E,{match:/\$\d+/},f,T,{className:"attr",begin:r+t.lookahead(":"),relevance:0},Y,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[E,e.REGEXP_MODE,{className:"function",begin:K,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:k}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:s.begin,end:s.end},{match:o},{begin:i.begin,"on:begin":i.isTrulyOpeningTag,end:i.end}],subLanguage:"xml",contains:[{begin:i.begin,end:i.end,skip:!0,contains:["self"]}]}]},q,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[w,e.inherit(e.TITLE_MODE,{begin:r,className:"title.function"})]},{match:/\.\.\./,relevance:0},S,{match:"\\$"+r,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[w]},oe,F,B,z,{match:/\$[(.]/}]}}function Gd(e){const t=jd(e),n=$r,r=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],s={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[t.exports.CLASS_REFERENCE]},o={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:r},contains:[t.exports.CLASS_REFERENCE]},i={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},c=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],a={$pattern:$r,keyword:Ba.concat(c),literal:$a,built_in:ja.concat(r),"variable.language":Va},l={className:"meta",begin:"@"+n},u=(p,h,m)=>{const x=p.contains.findIndex(A=>A.label===h);if(x===-1)throw new Error("can not find mode to replace");p.contains.splice(x,1,m)};Object.assign(t.keywords,a),t.exports.PARAMS_CONTAINS.push(l),t.contains=t.contains.concat([l,s,o]),u(t,"shebang",e.SHEBANG()),u(t,"use_strict",i);const f=t.contains.find(p=>p.label==="func.def");return f.relevance=0,Object.assign(t,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),t}var Zs,Ga;function Kd(){if(Ga)return Zs;Ga=1;function e(r,s){var o,i,c=r.attrs[r.attrIndex("href")][1];for(o=0;o<s.length;++o){if(i=s[o],typeof i.matcher=="function"){if(i.matcher(c,i))return i;continue}return i}}function t(r,s,o){Object.keys(o).forEach(function(i){var c,a=o[i];i==="className"&&(i="class"),c=s[r].attrIndex(i),c<0?s[r].attrPush([i,a]):s[r].attrs[c][1]=a})}function n(r,s){s?s=Array.isArray(s)?s:[s]:s=[],Object.freeze(s);var o=r.renderer.rules.link_open||this.defaultRender;r.renderer.rules.link_open=function(i,c,a,l,u){var f=e(i[c],s),p=f&&f.attrs;return p&&t(c,i,p),o(i,c,a,l,u)}}return n.defaultRender=function(r,s,o,i,c){return c.renderToken(r,s,o)},Zs=n,Zs}var Zd=Kd();const Wd=js(Zd);var Ws={};const Jd={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:"‌"};var Js,Ka;function Za(){return Ka||(Ka=1,Js=Jd),Js}var Ys,Wa;function Xs(){return Wa||(Wa=1,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]/),Ys}var Tn={},Qs,Ja;function Yd(){if(Ja)return Qs;Ja=1;var e={};function t(r){var s,o,i=e[r];if(i)return i;for(i=e[r]=[],s=0;s<128;s++)o=String.fromCharCode(s),/^[0-9a-z]$/i.test(o)?i.push(o):i.push("%"+("0"+s.toString(16).toUpperCase()).slice(-2));for(s=0;s<r.length;s++)i[r.charCodeAt(s)]=r[s];return i}function n(r,s,o){var i,c,a,l,u,f="";for(typeof s!="string"&&(o=s,s=n.defaultChars),typeof o>"u"&&(o=!0),u=t(s),i=0,c=r.length;i<c;i++){if(a=r.charCodeAt(i),o&&a===37&&i+2<c&&/^[0-9a-f]{2}$/i.test(r.slice(i+1,i+3))){f+=r.slice(i,i+3),i+=2;continue}if(a<128){f+=u[a];continue}if(a>=55296&&a<=57343){if(a>=55296&&a<=56319&&i+1<c&&(l=r.charCodeAt(i+1),l>=56320&&l<=57343)){f+=encodeURIComponent(r[i]+r[i+1]),i++;continue}f+="%EF%BF%BD";continue}f+=encodeURIComponent(r[i])}return f}return n.defaultChars=";/?:@&=+$,-_.!~*'()#",n.componentChars="-_.!~*'()",Qs=n,Qs}var eo,Ya;function Xd(){if(Ya)return eo;Ya=1;var e={};function t(r){var s,o,i=e[r];if(i)return i;for(i=e[r]=[],s=0;s<128;s++)o=String.fromCharCode(s),i.push(o);for(s=0;s<r.length;s++)o=r.charCodeAt(s),i[o]="%"+("0"+o.toString(16).toUpperCase()).slice(-2);return i}function n(r,s){var o;return typeof s!="string"&&(s=n.defaultChars),o=t(s),r.replace(/(%[a-f0-9]{2})+/gi,function(i){var c,a,l,u,f,p,h,m="";for(c=0,a=i.length;c<a;c+=3){if(l=parseInt(i.slice(c+1,c+3),16),l<128){m+=o[l];continue}if((l&224)===192&&c+3<a&&(u=parseInt(i.slice(c+4,c+6),16),(u&192)===128)){h=l<<6&1984|u&63,h<128?m+="��":m+=String.fromCharCode(h),c+=3;continue}if((l&240)===224&&c+6<a&&(u=parseInt(i.slice(c+4,c+6),16),f=parseInt(i.slice(c+7,c+9),16),(u&192)===128&&(f&192)===128)){h=l<<12&61440|u<<6&4032|f&63,h<2048||h>=55296&&h<=57343?m+="���":m+=String.fromCharCode(h),c+=6;continue}if((l&248)===240&&c+9<a&&(u=parseInt(i.slice(c+4,c+6),16),f=parseInt(i.slice(c+7,c+9),16),p=parseInt(i.slice(c+10,c+12),16),(u&192)===128&&(f&192)===128&&(p&192)===128)){h=l<<18&1835008|u<<12&258048|f<<6&4032|p&63,h<65536||h>1114111?m+="����":(h-=65536,m+=String.fromCharCode(55296+(h>>10),56320+(h&1023))),c+=9;continue}m+="�"}return m})}return n.defaultChars=";/?:@&=+$,#",n.componentChars="",eo=n,eo}var to,Xa;function Qd(){return Xa||(Xa=1,to=function(t){var n="";return n+=t.protocol||"",n+=t.slashes?"//":"",n+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?n+="["+t.hostname+"]":n+=t.hostname||"",n+=t.port?":"+t.port:"",n+=t.pathname||"",n+=t.search||"",n+=t.hash||"",n}),to}var no,Qa;function eg(){if(Qa)return no;Qa=1;function e(){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 t=/^([a-z0-9.+-]+:)/i,n=/:[0-9]*$/,r=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,s=["<",">",'"',"`"," ","\r",`
23
+ `," "],o=["{","}","|","\\","^","`"].concat(s),i=["'"].concat(o),c=["%","/","?",";","#"].concat(i),a=["/","?","#"],l=255,u=/^[+a-z0-9A-Z_-]{0,63}$/,f=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function m(x,A){if(x&&x instanceof e)return x;var v=new e;return v.parse(x,A),v}return e.prototype.parse=function(x,A){var v,E,b,g,k,w=x;if(w=w.trim(),!A&&x.split("#").length===1){var B=r.exec(w);if(B)return this.pathname=B[1],B[2]&&(this.search=B[2]),this}var T=t.exec(w);if(T&&(T=T[0],b=T.toLowerCase(),this.protocol=T,w=w.substr(T.length)),(A||T||w.match(/^\/\/[^@\/]+@[^@\/]+/))&&(k=w.substr(0,2)==="//",k&&!(T&&p[T])&&(w=w.substr(2),this.slashes=!0)),!p[T]&&(k||T&&!h[T])){var D=-1;for(v=0;v<a.length;v++)g=w.indexOf(a[v]),g!==-1&&(D===-1||g<D)&&(D=g);var q,F;for(D===-1?F=w.lastIndexOf("@"):F=w.lastIndexOf("@",D),F!==-1&&(q=w.slice(0,F),w=w.slice(F+1),this.auth=q),D=-1,v=0;v<c.length;v++)g=w.indexOf(c[v]),g!==-1&&(D===-1||g<D)&&(D=g);D===-1&&(D=w.length),w[D-1]===":"&&D--;var N=w.slice(0,D);w=w.slice(D),this.parseHost(N),this.hostname=this.hostname||"";var oe=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!oe){var S=this.hostname.split(/\./);for(v=0,E=S.length;v<E;v++){var z=S[v];if(z&&!z.match(u)){for(var K="",Y=0,Z=z.length;Y<Z;Y++)z.charCodeAt(Y)>127?K+="x":K+=z[Y];if(!K.match(u)){var fe=S.slice(0,v),J=S.slice(v+1),Ae=z.match(f);Ae&&(fe.push(Ae[1]),J.unshift(Ae[2])),J.length&&(w=J.join(".")+w),this.hostname=fe.join(".");break}}}}this.hostname.length>l&&(this.hostname=""),oe&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var Ce=w.indexOf("#");Ce!==-1&&(this.hash=w.substr(Ce),w=w.slice(0,Ce));var it=w.indexOf("?");return it!==-1&&(this.search=w.substr(it),w=w.slice(0,it)),w&&(this.pathname=w),h[b]&&this.hostname&&!this.pathname&&(this.pathname=""),this},e.prototype.parseHost=function(x){var A=n.exec(x);A&&(A=A[0],A!==":"&&(this.port=A.substr(1)),x=x.substr(0,x.length-A.length)),x&&(this.hostname=x)},no=m,no}var el;function tl(){return el||(el=1,Tn.encode=Yd(),Tn.decode=Xd(),Tn.format=Qd(),Tn.parse=eg()),Tn}var un={},ro,nl;function rl(){return nl||(nl=1,ro=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),ro}var so,sl;function ol(){return sl||(sl=1,so=/[\0-\x1F\x7F-\x9F]/),so}var oo,il;function tg(){return il||(il=1,oo=/[\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]/),oo}var io,cl;function al(){return cl||(cl=1,io=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),io}var ll;function ng(){return ll||(ll=1,un.Any=rl(),un.Cc=ol(),un.Cf=tg(),un.P=Xs(),un.Z=al()),un}var ul;function ye(){return ul||(ul=1,function(e){function t(S){return Object.prototype.toString.call(S)}function n(S){return t(S)==="[object String]"}var r=Object.prototype.hasOwnProperty;function s(S,z){return r.call(S,z)}function o(S){var z=Array.prototype.slice.call(arguments,1);return z.forEach(function(K){if(K){if(typeof K!="object")throw new TypeError(K+"must be object");Object.keys(K).forEach(function(Y){S[Y]=K[Y]})}}),S}function i(S,z,K){return[].concat(S.slice(0,z),K,S.slice(z+1))}function c(S){return!(S>=55296&&S<=57343||S>=64976&&S<=65007||(S&65535)===65535||(S&65535)===65534||S>=0&&S<=8||S===11||S>=14&&S<=31||S>=127&&S<=159||S>1114111)}function a(S){if(S>65535){S-=65536;var z=55296+(S>>10),K=56320+(S&1023);return String.fromCharCode(z,K)}return String.fromCharCode(S)}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,h=Za();function m(S,z){var K;return s(h,z)?h[z]:z.charCodeAt(0)===35&&p.test(z)&&(K=z[1].toLowerCase()==="x"?parseInt(z.slice(2),16):parseInt(z.slice(1),10),c(K))?a(K):S}function x(S){return S.indexOf("\\")<0?S:S.replace(l,"$1")}function A(S){return S.indexOf("\\")<0&&S.indexOf("&")<0?S:S.replace(f,function(z,K,Y){return K||m(z,Y)})}var v=/[&<>"]/,E=/[&<>"]/g,b={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function g(S){return b[S]}function k(S){return v.test(S)?S.replace(E,g):S}var w=/[.?*+^$[\]\\(){}|-]/g;function B(S){return S.replace(w,"\\$&")}function T(S){switch(S){case 9:case 32:return!0}return!1}function D(S){if(S>=8192&&S<=8202)return!0;switch(S){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 q=Xs();function F(S){return q.test(S)}function N(S){switch(S){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 oe(S){return S=S.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(S=S.replace(/ẞ/g,"ß")),S.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=tl(),e.lib.ucmicro=ng(),e.assign=o,e.isString=n,e.has=s,e.unescapeMd=x,e.unescapeAll=A,e.isValidEntityCode=c,e.fromCodePoint=a,e.escapeHtml=k,e.arrayReplaceAt=i,e.isSpace=T,e.isWhiteSpace=D,e.isMdAsciiPunct=N,e.isPunctChar=F,e.escapeRE=B,e.normalizeReference=oe}(Ws)),Ws}var nr={},co,fl;function rg(){return fl||(fl=1,co=function(t,n,r){var s,o,i,c,a=-1,l=t.posMax,u=t.pos;for(t.pos=n+1,s=1;t.pos<l;){if(i=t.src.charCodeAt(t.pos),i===93&&(s--,s===0)){o=!0;break}if(c=t.pos,t.md.inline.skipToken(t),i===91){if(c===t.pos-1)s++;else if(r)return t.pos=u,-1}}return o&&(a=t.pos),t.pos=u,a}),co}var ao,hl;function sg(){if(hl)return ao;hl=1;var e=ye().unescapeAll;return ao=function(n,r,s){var o,i,c=r,a={ok:!1,pos:0,lines:0,str:""};if(n.charCodeAt(c)===60){for(c++;c<s;){if(o=n.charCodeAt(c),o===10||o===60)return a;if(o===62)return a.pos=c+1,a.str=e(n.slice(r+1,c)),a.ok=!0,a;if(o===92&&c+1<s){c+=2;continue}c++}return a}for(i=0;c<s&&(o=n.charCodeAt(c),!(o===32||o<32||o===127));){if(o===92&&c+1<s){if(n.charCodeAt(c+1)===32)break;c+=2;continue}if(o===40&&(i++,i>32))return a;if(o===41){if(i===0)break;i--}c++}return r===c||i!==0||(a.str=e(n.slice(r,c)),a.pos=c,a.ok=!0),a},ao}var lo,pl;function og(){if(pl)return lo;pl=1;var e=ye().unescapeAll;return lo=function(n,r,s){var o,i,c=0,a=r,l={ok:!1,pos:0,lines:0,str:""};if(a>=s||(i=n.charCodeAt(a),i!==34&&i!==39&&i!==40))return l;for(a++,i===40&&(i=41);a<s;){if(o=n.charCodeAt(a),o===i)return l.pos=a+1,l.lines=c,l.str=e(n.slice(r+1,a)),l.ok=!0,l;if(o===40&&i===41)return l;o===10?c++:o===92&&a+1<s&&(a++,n.charCodeAt(a)===10&&c++),a++}return l},lo}var dl;function ig(){return dl||(dl=1,nr.parseLinkLabel=rg(),nr.parseLinkDestination=sg(),nr.parseLinkTitle=og()),nr}var uo,gl;function cg(){if(gl)return uo;gl=1;var e=ye().assign,t=ye().unescapeAll,n=ye().escapeHtml,r={};r.code_inline=function(o,i,c,a,l){var u=o[i];return"<code"+l.renderAttrs(u)+">"+n(u.content)+"</code>"},r.code_block=function(o,i,c,a,l){var u=o[i];return"<pre"+l.renderAttrs(u)+"><code>"+n(o[i].content)+`</code></pre>
24
+ `},r.fence=function(o,i,c,a,l){var u=o[i],f=u.info?t(u.info).trim():"",p="",h="",m,x,A,v,E;return f&&(A=f.split(/(\s+)/g),p=A[0],h=A.slice(2).join("")),c.highlight?m=c.highlight(u.content,p,h)||n(u.content):m=n(u.content),m.indexOf("<pre")===0?m+`
25
+ `:f?(x=u.attrIndex("class"),v=u.attrs?u.attrs.slice():[],x<0?v.push(["class",c.langPrefix+p]):(v[x]=v[x].slice(),v[x][1]+=" "+c.langPrefix+p),E={attrs:v},"<pre><code"+l.renderAttrs(E)+">"+m+`</code></pre>
26
+ `):"<pre><code"+l.renderAttrs(u)+">"+m+`</code></pre>
27
+ `},r.image=function(o,i,c,a,l){var u=o[i];return u.attrs[u.attrIndex("alt")][1]=l.renderInlineAsText(u.children,c,a),l.renderToken(o,i,c)},r.hardbreak=function(o,i,c){return c.xhtmlOut?`<br />
28
28
  `:`<br>
29
- `},nt.softbreak=function(t,e,n){return n.breaks?n.xhtmlOut?`<br />
29
+ `},r.softbreak=function(o,i,c){return c.breaks?c.xhtmlOut?`<br />
30
30
  `:`<br>
31
31
  `:`
32
- `},nt.text=function(t,e){return zt(t[e].content)},nt.html_block=function(t,e){return t[e].content},nt.html_inline=function(t,e){return t[e].content};function pn(){this.rules=tg({},nt)}pn.prototype.renderAttrs=function(e){var n,r,s;if(!e.attrs)return"";for(s="",n=0,r=e.attrs.length;n<r;n++)s+=" "+zt(e.attrs[n][0])+'="'+zt(e.attrs[n][1])+'"';return s},pn.prototype.renderToken=function(e,n,r){var s,o="",c=!1,i=e[n];return i.hidden?"":(i.block&&i.nesting!==-1&&n&&e[n-1].hidden&&(o+=`
33
- `),o+=(i.nesting===-1?"</":"<")+i.tag,o+=this.renderAttrs(i),i.nesting===0&&r.xhtmlOut&&(o+=" /"),i.block&&(c=!0,i.nesting===1&&n+1<e.length&&(s=e[n+1],(s.type==="inline"||s.hidden||s.nesting===-1&&s.tag===i.tag)&&(c=!1))),o+=c?`>
34
- `:">",o)},pn.prototype.renderInline=function(t,e,n){for(var r,s="",o=this.rules,c=0,i=t.length;c<i;c++)r=t[c].type,typeof o[r]<"u"?s+=o[r](t,c,e,n,this):s+=this.renderToken(t,c,e);return s},pn.prototype.renderInlineAsText=function(t,e,n){for(var r="",s=0,o=t.length;s<o;s++)t[s].type==="text"?r+=t[s].content:t[s].type==="image"?r+=this.renderInlineAsText(t[s].children,e,n):t[s].type==="softbreak"&&(r+=`
35
- `);return r},pn.prototype.render=function(t,e,n){var r,s,o,c="",i=this.rules;for(r=0,s=t.length;r<s;r++)o=t[r].type,o==="inline"?c+=this.renderInline(t[r].children,e,n):typeof i[o]<"u"?c+=i[o](t,r,e,n,this):c+=this.renderToken(t,r,e,n);return c};var rg=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,sg=/\r\n?|\n/g,og=/\0/g,cg=function(e){var n;n=e.src.replace(sg,`
36
- `),n=n.replace(og,"�"),e.src=n},ig=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)},ag=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)},lg=le.arrayReplaceAt;function ug(t){return/^<a[>\s]/i.test(t)}function fg(t){return/^<\/a\s*>/i.test(t)}var pg=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"&&(ug(i.content)&&m>0&&m--,fg(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=lg(o,n,a)}}}},Ma=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,hg=/\((c|tm|r)\)/i,dg=/\((c|tm|r)\)/ig,gg={c:"©",r:"®",tm:"™"};function mg(t,e){return gg[e.toLowerCase()]}function bg(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(dg,mg)),n.type==="link_open"&&n.info==="auto"&&r--,n.type==="link_close"&&n.info==="auto"&&r++}function _g(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 vg=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type==="inline"&&(hg.test(e.tokens[n].content)&&bg(e.tokens[n].children),Ma.test(e.tokens[n].content)&&_g(e.tokens[n].children))},Oa=le.isWhiteSpace,Fa=le.isPunctChar,Ba=le.isMdAsciiPunct,yg=/['"]/,Pa=/['"]/g,$a="’";function Br(t,e,n){return t.slice(0,e)+n+t.slice(e+1)}function xg(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 wg=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)e.tokens[n].type!=="inline"||!yg.test(e.tokens[n].content)||xg(e.tokens[n].children,e)},Eg=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,kg=ro;function Ua(t,e,n){this.src=t,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=e}Ua.prototype.Token=kg;var Ag=Ua,Cg=no,so=[["normalize",cg],["block",ig],["inline",ag],["linkify",pg],["replacements",vg],["smartquotes",wg],["text_join",Eg]];function oo(){this.ruler=new Cg;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=Ag;var Sg=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 Tg=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},Dg=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},Rg=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},qg=le.isSpace,Lg=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),qg(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},Ng=le.isSpace,Ig=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&&!Ng(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 Mg(t,e){var n,r,s=t.level+2;for(n=e+2,r=t.tokens.length-2;n<r;n++)t.tokens[n].level===s&&t.tokens[n].type==="paragraph_open"&&(t.tokens[n+2].hidden=!0,t.tokens[n].hidden=!0,n+=2)}var Og=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,oe,q,O,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?(O=e.push("ordered_list_open","ol",1),k!==1&&(O.attrs=[["start",k]])):O=e.push("bullet_list_open","ul",1),O.map=m=[R,0],O.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,O=e.push("list_item_open","li",1),O.markup=String.fromCharCode(I),O.map=p=[R,0],f&&(O.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,O=e.push("list_item_close","li",-1),O.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(oe=!1,i=0,d=q.length;i<d;i++)if(q[i](e,R,r,!0)){oe=!0;break}if(oe)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?O=e.push("ordered_list_close","ol",-1):O=e.push("bullet_list_close","ul",-1),O.markup=String.fromCharCode(I),m[1]=R,e.line=R,e.parentType=$,w&&Mg(e,_),!0},Fg=le.normalizeReference,Pr=le.isSpace,Bg=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=Fg(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)},Pg=["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={},$g="[a-zA-Z_:][a-zA-Z0-9:._-]*",Ug="[^\"'=<>`\\x00-\\x20]+",zg="'[^']*'",Hg='"[^"]*"',Vg="(?:"+Ug+"|"+zg+"|"+Hg+")",Gg="(?:\\s+"+$g+"(?:\\s*=\\s*"+Vg+")?)",ja="<[A-Za-z][A-Za-z0-9\\-]*"+Gg+"*\\s*\\/?>",Ka="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",jg="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",Kg="<[?][\\s\\S]*?[?]>",Zg="<![A-Z]+\\s+[^>]*>",Wg="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",Jg=new RegExp("^(?:"+ja+"|"+Ka+"|"+jg+"|"+Kg+"|"+Zg+"|"+Wg+")"),Yg=new RegExp("^(?:"+ja+"|"+Ka+")");$r.HTML_TAG_RE=Jg,$r.HTML_OPEN_CLOSE_TAG_RE=Yg;var Xg=Pg,Qg=$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("^</?("+Xg.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(Qg.source+"\\s*$"),/^$/,!1]],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||!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,tm=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)},nm=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},rm=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 sm=rt,om=no,zr=[["table",Tg,["paragraph","reference"]],["code",Dg],["fence",Rg,["paragraph","reference","blockquote","list"]],["blockquote",Lg,["paragraph","reference","blockquote","list"]],["hr",Ig,["paragraph","reference","blockquote","list"]],["list",Og,["paragraph","reference","blockquote"]],["reference",Bg],["html_block",em,["paragraph","reference","blockquote"]],["heading",tm,["paragraph","reference","blockquote"]],["lheading",nm],["paragraph",rm]];function Hr(){this.ruler=new om;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=sm;var cm=Hr;function im(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 am=function(e,n){for(var r=e.pos;r<e.posMax&&!im(e.src.charCodeAt(r));)r++;return r===e.pos?!1:(n||(e.pending+=e.src.slice(e.pos,r)),e.pos=r,!0)},lm=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i,um=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(lm),!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)},fm=le.isSpace,pm=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&&fm(e.src.charCodeAt(c));)c++;return e.pos=c,!0},hm=le.isSpace,ao=[],Ja=0;Ja<256;Ja++)ao.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(t){ao[t.charCodeAt(0)]=1});var dm=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),!!hm(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},gm=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 mm=le.normalizeReference,lo=le.isSpace,bm=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[mm(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},_m=le.normalizeReference,uo=le.isSpace,vm=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[_m(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},ym=/^([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])?)*)$/,xm=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,wm=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),xm.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):ym.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},Em=$r.HTML_TAG_RE;function km(t){return/^<a[>\s]/i.test(t)}function Am(t){return/^<\/a\s*>/i.test(t)}function Cm(t){var e=t|32;return e>=97&&e<=122}var Sm=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&&!Cm(r))||(s=e.src.slice(i).match(Em),!s)?!1:(n||(c=e.push("html_inline","",0),c.content=s[0],km(c.content)&&e.linkLevel++,Am(c.content)&&e.linkLevel--),e.pos+=s[0].length,!0)},Qa=_a,Tm=le.has,Dm=le.isValidEntityCode,el=le.fromCodePoint,Rm=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,qm=/^&([a-z][a-z0-9]{1,31});/i,Lm=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(Rm),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=Dm(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(qm),o&&Tm(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 Nm=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)},Im=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 Mm=zn,ol=no,po=[["text",am],["linkify",um],["newline",pm],["escape",dm],["backticks",gm],["strikethrough",Vr.tokenize],["emphasis",Gr.tokenize],["link",bm],["image",vm],["autolink",wm],["html_inline",Sm],["entity",Lm]],ho=[["balance_pairs",Nm],["strikethrough",Vr.postProcess],["emphasis",Gr.postProcess],["fragments_join",Im]];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=Mm;var Om=Hn,go,cl;function Fm(){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 Bm(t){return jr(t)==="[object String]"}function Pm(t){return jr(t)==="[object Object]"}function $m(t){return jr(t)==="[object RegExp]"}function il(t){return jr(t)==="[object Function]"}function Um(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var al={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function zm(t){return Object.keys(t||{}).reduce(function(e,n){return e||al.hasOwnProperty(n)},!1)}var Hm={"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}}},Vm="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]",Gm="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function jm(t){t.__index__=-1,t.__text_cache__=""}function Km(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=Fm()(t.__opts__),n=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||n.push(Vm),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,Pm(a)){$m(a.validate)?l.validate=Km(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(Bm(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(Um).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"),jm(t)}function Zm(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 Zm(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||zm(t)&&(e=t,t={}),this.__opts__=mo({},al,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=mo({},Hm,t),this.__compiled__={},this.__tlds__=Gm,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 Wm=ze;const gn=2147483647,st=36,_o=1,Vn=26,Jm=38,Ym=700,ul=72,fl=128,pl="-",Xm=/^xn--/,Qm=/[^\0-\x7F]/,eb=/[\x2E\u3002\uFF0E\uFF61]/g,tb={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 Dt(t){throw new RangeError(tb[t])}function nb(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(eb,".");const s=t.split("."),o=nb(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),rb=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/Ym):t>>1,t+=ot(t/e);t>vo*Vn>>1;r+=st)t=ot(t/vo);return ot(r+(vo+1)*t/(t+Jm))},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&&Dt("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&&Dt("invalid-input");const p=rb(t.charCodeAt(i++));p>=st&&Dt("invalid-input"),p>ot((gn-r)/u)&&Dt("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)&&Dt("overflow"),u*=m}const l=e.length+1;o=ml(r-a,l,a==0),ot(r/l)>gn-s&&Dt("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)&&Dt("overflow"),s+=(a-r)*l,r=a;for(const u of t)if(u<r&&++s>gn&&Dt("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 Xm.test(e)?wo(e.slice(4).toLowerCase()):e})},_l=function(t){return hl(t,function(e){return Qm.test(e)?"xn--"+Eo(e):e})},sb=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 ob={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},cb={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"]}}},ib={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,ab=Fr,lb=rg,ub=Sg,fb=cm,pb=Om,hb=Wm,Ht=fn,vl=sb,db={default:ob,zero:cb,commonmark:ib},gb=/^(vbscript|javascript|file|data):/,mb=/^data:image\/(gif|png|jpeg|webp);/;function bb(t){var e=t.trim().toLowerCase();return gb.test(e)?!!mb.test(e):!0}var yl=["http:","https:","mailto:"];function _b(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 vb(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 pb,this.block=new fb,this.core=new ub,this.renderer=new lb,this.linkify=new hb,this.validateLink=bb,this.normalizeLink=_b,this.normalizeLinkText=vb,this.utils=Gn,this.helpers=Gn.assign({},ab),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=db[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 yb=Ze,xb=yb;const wb=Vs(xb),Eb=Ke({name:"VueMarkdown",props:{source:{type:String,required:!0},options:{type:Object,required:!1},plugins:{type:Array,required:!1}},setup(t){const e=De(new wb(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})}}),kb={key:0,class:"chat-message-actions"},Ab={key:2,class:"chat-message-files"},ko=Ke({__name:"Message",props:{message:{}},setup(t,{expose:e}){const n=t;gt.registerLanguage("javascript",ca),gt.registerLanguage("typescript",Dd),gt.registerLanguage("python",Sd),gt.registerLanguage("xml",ia),gt.registerLanguage("bash",Cd);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(Nd,{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(),se("div",{ref_key:"messageContainer",ref:o,class:Jt(["chat-message",a.value])},[m.$slots.beforeMessage?(j(),se("div",kb,[Et(m.$slots,"beforeMessage",Lo(Qc({message:re(r)})))])):Ue("",!0),Et(m.$slots,"default",{},()=>[re(r).type==="component"&&p[re(r).key]?(j(),ve(Pu(p[re(r).key]),Lo(Ms({key:0},re(r).arguments)),null,16)):(j(),ve(re(Eb),{key:1,class:"chat-message-markdown",source:i.value,options:f,plugins:[l]},null,8,["source","plugins"])),(re(r).files??[]).length>0?(j(),se("div",Ab,[(j(!0),se(Ee,null,mr(re(r).files??[],I=>(j(),se("div",{key:I.name,class:"chat-message-file"},[me(la,{file:I,"is-removable":!1,"is-previewable":!0},null,8,["file"])]))),128))])):Ue("",!0)])],2))}}),Cb=Ke({__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(re(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"]))}}),Sb={class:"chat-messages-list"},Tb=Ke({__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(),se("div",Sb,[(j(!0),se(Ee,null,mr(re(r),i=>(j(),ve(ko,{key:i.id,message:i},null,8,["message"]))),128)),(j(!0),se(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})=>[Et(o.$slots,"beforeMessage",Ms({ref_for:!0},{message:a}))]),_:2},1032,["message"]))),128)),re(s)?(j(),ve(Cb,{key:0})):Ue("",!0)]))}}),Db={class:"chat-heading"},Rb=["title"],qb={key:0},xl=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(),ve(Ad,{class:"chat-wrapper"},{header:pt(()=>[he("div",Db,[he("h1",null,Yt(re(e)("title")),1),c.value?(j(),se("button",{key:0,class:"chat-close-button",title:re(e)("closeButtonTooltip"),onClick:l},[me(re(Sh),{height:"18",width:"18"})],8,Rb)):Ue("",!0)]),re(e)("subtitle")?(j(),se("p",qb,Yt(re(e)("subtitle")),1)):Ue("",!0)]),footer:pt(()=>[re(s)?(j(),ve(xd,{key:0})):(j(),ve(Oh,{key:1}))]),default:pt(()=>[!re(s)&&re(o).showWelcomeScreen?(j(),ve(Dh,{key:0,"onClick:button":i})):(j(),ve(Tb,{key:1,messages:re(r)},null,8,["messages"]))]),_:1}))}}),Lb={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Nb(t,e){return j(),se("svg",Lb,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 Ib={name:"mdi-chat",render:Nb},Mb={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Ob(t,e){return j(),se("svg",Mb,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 Fb={name:"mdi-chevron-down",render:Ob},Bb={class:"chat-window-wrapper"},Pb={class:"chat-window"},$b=Ke({__name:"ChatWindow",setup(t){const e=De(!1);function n(){e.value=!e.value,e.value&&rn(()=>{Be.emit("scrollToBottom")})}return(r,s)=>(j(),se("div",Bb,[me(pi,{name:"chat-window-transition"},{default:pt(()=>[hc(he("div",Pb,[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(re(Fb),{key:1,height:"32",width:"32"})):(j(),ve(re(Ib),{key:0,height:"32",width:"32"}))]),_:1})])]))}}),Ub=Ke({__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(re(xl),{key:0,class:"n8n-chat"})):(j(),ve(re($b),{key:1,class:"n8n-chat"}))}});function zb(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(Ub);return r.use(Ep,e),r.mount(n),r}Kt.createChat=zb,Object.defineProperty(Kt,Symbol.toStringTag,{value:"Module"})});
32
+ `},r.text=function(o,i){return n(o[i].content)},r.html_block=function(o,i){return o[i].content},r.html_inline=function(o,i){return o[i].content};function s(){this.rules=e({},r)}return s.prototype.renderAttrs=function(i){var c,a,l;if(!i.attrs)return"";for(l="",c=0,a=i.attrs.length;c<a;c++)l+=" "+n(i.attrs[c][0])+'="'+n(i.attrs[c][1])+'"';return l},s.prototype.renderToken=function(i,c,a){var l,u="",f=!1,p=i[c];return p.hidden?"":(p.block&&p.nesting!==-1&&c&&i[c-1].hidden&&(u+=`
33
+ `),u+=(p.nesting===-1?"</":"<")+p.tag,u+=this.renderAttrs(p),p.nesting===0&&a.xhtmlOut&&(u+=" /"),p.block&&(f=!0,p.nesting===1&&c+1<i.length&&(l=i[c+1],(l.type==="inline"||l.hidden||l.nesting===-1&&l.tag===p.tag)&&(f=!1))),u+=f?`>
34
+ `:">",u)},s.prototype.renderInline=function(o,i,c){for(var a,l="",u=this.rules,f=0,p=o.length;f<p;f++)a=o[f].type,typeof u[a]<"u"?l+=u[a](o,f,i,c,this):l+=this.renderToken(o,f,i);return l},s.prototype.renderInlineAsText=function(o,i,c){for(var a="",l=0,u=o.length;l<u;l++)o[l].type==="text"?a+=o[l].content:o[l].type==="image"?a+=this.renderInlineAsText(o[l].children,i,c):o[l].type==="softbreak"&&(a+=`
35
+ `);return a},s.prototype.render=function(o,i,c){var a,l,u,f="",p=this.rules;for(a=0,l=o.length;a<l;a++)u=o[a].type,u==="inline"?f+=this.renderInline(o[a].children,i,c):typeof p[u]<"u"?f+=p[u](o,a,i,c,this):f+=this.renderToken(o,a,i,c);return f},uo=s,uo}var fo,ml;function ho(){if(ml)return fo;ml=1;function e(){this.__rules__=[],this.__cache__=null}return e.prototype.__find__=function(t){for(var n=0;n<this.__rules__.length;n++)if(this.__rules__[n].name===t)return n;return-1},e.prototype.__compile__=function(){var t=this,n=[""];t.__rules__.forEach(function(r){r.enabled&&r.alt.forEach(function(s){n.indexOf(s)<0&&n.push(s)})}),t.__cache__={},n.forEach(function(r){t.__cache__[r]=[],t.__rules__.forEach(function(s){s.enabled&&(r&&s.alt.indexOf(r)<0||t.__cache__[r].push(s.fn))})})},e.prototype.at=function(t,n,r){var s=this.__find__(t),o=r||{};if(s===-1)throw new Error("Parser rule not found: "+t);this.__rules__[s].fn=n,this.__rules__[s].alt=o.alt||[],this.__cache__=null},e.prototype.before=function(t,n,r,s){var o=this.__find__(t),i=s||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o,0,{name:n,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null},e.prototype.after=function(t,n,r,s){var o=this.__find__(t),i=s||{};if(o===-1)throw new Error("Parser rule not found: "+t);this.__rules__.splice(o+1,0,{name:n,enabled:!0,fn:r,alt:i.alt||[]}),this.__cache__=null},e.prototype.push=function(t,n,r){var s=r||{};this.__rules__.push({name:t,enabled:!0,fn:n,alt:s.alt||[]}),this.__cache__=null},e.prototype.enable=function(t,n){Array.isArray(t)||(t=[t]);var r=[];return t.forEach(function(s){var o=this.__find__(s);if(o<0){if(n)return;throw new Error("Rules manager: invalid rule name "+s)}this.__rules__[o].enabled=!0,r.push(s)},this),this.__cache__=null,r},e.prototype.enableOnly=function(t,n){Array.isArray(t)||(t=[t]),this.__rules__.forEach(function(r){r.enabled=!1}),this.enable(t,n)},e.prototype.disable=function(t,n){Array.isArray(t)||(t=[t]);var r=[];return t.forEach(function(s){var o=this.__find__(s);if(o<0){if(n)return;throw new Error("Rules manager: invalid rule name "+s)}this.__rules__[o].enabled=!1,r.push(s)},this),this.__cache__=null,r},e.prototype.getRules=function(t){return this.__cache__===null&&this.__compile__(),this.__cache__[t]||[]},fo=e,fo}var po,_l;function ag(){if(_l)return po;_l=1;var e=/\r\n?|\n/g,t=/\0/g;return po=function(r){var s;s=r.src.replace(e,`
36
+ `),s=s.replace(t,"�"),r.src=s},po}var go,bl;function lg(){return bl||(bl=1,go=function(t){var n;t.inlineMode?(n=new t.Token("inline","",0),n.content=t.src,n.map=[0,1],n.children=[],t.tokens.push(n)):t.md.block.parse(t.src,t.md,t.env,t.tokens)}),go}var mo,vl;function ug(){return vl||(vl=1,mo=function(t){var n=t.tokens,r,s,o;for(s=0,o=n.length;s<o;s++)r=n[s],r.type==="inline"&&t.md.inline.parse(r.content,t.md,t.env,r.children)}),mo}var _o,yl;function fg(){if(yl)return _o;yl=1;var e=ye().arrayReplaceAt;function t(r){return/^<a[>\s]/i.test(r)}function n(r){return/^<\/a\s*>/i.test(r)}return _o=function(s){var o,i,c,a,l,u,f,p,h,m,x,A,v,E,b,g,k=s.tokens,w;if(s.md.options.linkify){for(i=0,c=k.length;i<c;i++)if(!(k[i].type!=="inline"||!s.md.linkify.pretest(k[i].content)))for(a=k[i].children,v=0,o=a.length-1;o>=0;o--){if(u=a[o],u.type==="link_close"){for(o--;a[o].level!==u.level&&a[o].type!=="link_open";)o--;continue}if(u.type==="html_inline"&&(t(u.content)&&v>0&&v--,n(u.content)&&v++),!(v>0)&&u.type==="text"&&s.md.linkify.test(u.content)){for(h=u.content,w=s.md.linkify.match(h),f=[],A=u.level,x=0,w.length>0&&w[0].index===0&&o>0&&a[o-1].type==="text_special"&&(w=w.slice(1)),p=0;p<w.length;p++)E=w[p].url,b=s.md.normalizeLink(E),s.md.validateLink(b)&&(g=w[p].text,w[p].schema?w[p].schema==="mailto:"&&!/^mailto:/i.test(g)?g=s.md.normalizeLinkText("mailto:"+g).replace(/^mailto:/,""):g=s.md.normalizeLinkText(g):g=s.md.normalizeLinkText("http://"+g).replace(/^http:\/\//,""),m=w[p].index,m>x&&(l=new s.Token("text","",0),l.content=h.slice(x,m),l.level=A,f.push(l)),l=new s.Token("link_open","a",1),l.attrs=[["href",b]],l.level=A++,l.markup="linkify",l.info="auto",f.push(l),l=new s.Token("text","",0),l.content=g,l.level=A,f.push(l),l=new s.Token("link_close","a",-1),l.level=--A,l.markup="linkify",l.info="auto",f.push(l),x=w[p].lastIndex);x<h.length&&(l=new s.Token("text","",0),l.content=h.slice(x),l.level=A,f.push(l)),k[i].children=a=e(a,o,f)}}}},_o}var bo,xl;function hg(){if(xl)return bo;xl=1;var e=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,t=/\((c|tm|r)\)/i,n=/\((c|tm|r)\)/ig,r={c:"©",r:"®",tm:"™"};function s(c,a){return r[a.toLowerCase()]}function o(c){var a,l,u=0;for(a=c.length-1;a>=0;a--)l=c[a],l.type==="text"&&!u&&(l.content=l.content.replace(n,s)),l.type==="link_open"&&l.info==="auto"&&u--,l.type==="link_close"&&l.info==="auto"&&u++}function i(c){var a,l,u=0;for(a=c.length-1;a>=0;a--)l=c[a],l.type==="text"&&!u&&e.test(l.content)&&(l.content=l.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–")),l.type==="link_open"&&l.info==="auto"&&u--,l.type==="link_close"&&l.info==="auto"&&u++}return bo=function(a){var l;if(a.md.options.typographer)for(l=a.tokens.length-1;l>=0;l--)a.tokens[l].type==="inline"&&(t.test(a.tokens[l].content)&&o(a.tokens[l].children),e.test(a.tokens[l].content)&&i(a.tokens[l].children))},bo}var vo,El;function pg(){if(El)return vo;El=1;var e=ye().isWhiteSpace,t=ye().isPunctChar,n=ye().isMdAsciiPunct,r=/['"]/,s=/['"]/g,o="’";function i(a,l,u){return a.slice(0,l)+u+a.slice(l+1)}function c(a,l){var u,f,p,h,m,x,A,v,E,b,g,k,w,B,T,D,q,F,N,oe,S;for(N=[],u=0;u<a.length;u++){for(f=a[u],A=a[u].level,q=N.length-1;q>=0&&!(N[q].level<=A);q--);if(N.length=q+1,f.type==="text"){p=f.content,m=0,x=p.length;e:for(;m<x&&(s.lastIndex=m,h=s.exec(p),!!h);){if(T=D=!0,m=h.index+1,F=h[0]==="'",E=32,h.index-1>=0)E=p.charCodeAt(h.index-1);else for(q=u-1;q>=0&&!(a[q].type==="softbreak"||a[q].type==="hardbreak");q--)if(a[q].content){E=a[q].content.charCodeAt(a[q].content.length-1);break}if(b=32,m<x)b=p.charCodeAt(m);else for(q=u+1;q<a.length&&!(a[q].type==="softbreak"||a[q].type==="hardbreak");q++)if(a[q].content){b=a[q].content.charCodeAt(0);break}if(g=n(E)||t(String.fromCharCode(E)),k=n(b)||t(String.fromCharCode(b)),w=e(E),B=e(b),B?T=!1:k&&(w||g||(T=!1)),w?D=!1:g&&(B||k||(D=!1)),b===34&&h[0]==='"'&&E>=48&&E<=57&&(D=T=!1),T&&D&&(T=g,D=k),!T&&!D){F&&(f.content=i(f.content,h.index,o));continue}if(D){for(q=N.length-1;q>=0&&(v=N[q],!(N[q].level<A));q--)if(v.single===F&&N[q].level===A){v=N[q],F?(oe=l.md.options.quotes[2],S=l.md.options.quotes[3]):(oe=l.md.options.quotes[0],S=l.md.options.quotes[1]),f.content=i(f.content,h.index,S),a[v.token].content=i(a[v.token].content,v.pos,oe),m+=S.length-1,v.token===u&&(m+=oe.length-1),p=f.content,x=p.length,N.length=q;continue e}}T?N.push({token:u,pos:h.index,single:F,level:A}):D&&F&&(f.content=i(f.content,h.index,o))}}}}return vo=function(l){var u;if(l.md.options.typographer)for(u=l.tokens.length-1;u>=0;u--)l.tokens[u].type!=="inline"||!r.test(l.tokens[u].content)||c(l.tokens[u].children,l)},vo}var yo,kl;function dg(){return kl||(kl=1,yo=function(t){var n,r,s,o,i,c,a=t.tokens;for(n=0,r=a.length;n<r;n++)if(a[n].type==="inline"){for(s=a[n].children,i=s.length,o=0;o<i;o++)s[o].type==="text_special"&&(s[o].type="text");for(o=c=0;o<i;o++)s[o].type==="text"&&o+1<i&&s[o+1].type==="text"?s[o+1].content=s[o].content+s[o+1].content:(o!==c&&(s[c]=s[o]),c++);o!==c&&(s.length=c)}}),yo}var xo,wl;function Eo(){if(wl)return xo;wl=1;function e(t,n,r){this.type=t,this.tag=n,this.attrs=null,this.map=null,this.nesting=r,this.level=0,this.children=null,this.content="",this.markup="",this.info="",this.meta=null,this.block=!1,this.hidden=!1}return e.prototype.attrIndex=function(n){var r,s,o;if(!this.attrs)return-1;for(r=this.attrs,s=0,o=r.length;s<o;s++)if(r[s][0]===n)return s;return-1},e.prototype.attrPush=function(n){this.attrs?this.attrs.push(n):this.attrs=[n]},e.prototype.attrSet=function(n,r){var s=this.attrIndex(n),o=[n,r];s<0?this.attrPush(o):this.attrs[s]=o},e.prototype.attrGet=function(n){var r=this.attrIndex(n),s=null;return r>=0&&(s=this.attrs[r][1]),s},e.prototype.attrJoin=function(n,r){var s=this.attrIndex(n);s<0?this.attrPush([n,r]):this.attrs[s][1]=this.attrs[s][1]+" "+r},xo=e,xo}var ko,Al;function gg(){if(Al)return ko;Al=1;var e=Eo();function t(n,r,s){this.src=n,this.env=s,this.tokens=[],this.inlineMode=!1,this.md=r}return t.prototype.Token=e,ko=t,ko}var wo,Cl;function mg(){if(Cl)return wo;Cl=1;var e=ho(),t=[["normalize",ag()],["block",lg()],["inline",ug()],["linkify",fg()],["replacements",hg()],["smartquotes",pg()],["text_join",dg()]];function n(){this.ruler=new e;for(var r=0;r<t.length;r++)this.ruler.push(t[r][0],t[r][1])}return n.prototype.process=function(r){var s,o,i;for(i=this.ruler.getRules(""),s=0,o=i.length;s<o;s++)i[s](r)},n.prototype.State=gg(),wo=n,wo}var Ao,Sl;function _g(){if(Sl)return Ao;Sl=1;var e=ye().isSpace;function t(r,s){var o=r.bMarks[s]+r.tShift[s],i=r.eMarks[s];return r.src.slice(o,i)}function n(r){var s=[],o=0,i=r.length,c,a=!1,l=0,u="";for(c=r.charCodeAt(o);o<i;)c===124&&(a?(u+=r.substring(l,o-1),l=o):(s.push(u+r.substring(l,o)),u="",l=o+1)),a=c===92,o++,c=r.charCodeAt(o);return s.push(u+r.substring(l)),s}return Ao=function(s,o,i,c){var a,l,u,f,p,h,m,x,A,v,E,b,g,k,w,B,T,D;if(o+2>i||(h=o+1,s.sCount[h]<s.blkIndent)||s.sCount[h]-s.blkIndent>=4||(u=s.bMarks[h]+s.tShift[h],u>=s.eMarks[h])||(T=s.src.charCodeAt(u++),T!==124&&T!==45&&T!==58)||u>=s.eMarks[h]||(D=s.src.charCodeAt(u++),D!==124&&D!==45&&D!==58&&!e(D))||T===45&&e(D))return!1;for(;u<s.eMarks[h];){if(a=s.src.charCodeAt(u),a!==124&&a!==45&&a!==58&&!e(a))return!1;u++}for(l=t(s,o+1),m=l.split("|"),v=[],f=0;f<m.length;f++){if(E=m[f].trim(),!E){if(f===0||f===m.length-1)continue;return!1}if(!/^:?-+:?$/.test(E))return!1;E.charCodeAt(E.length-1)===58?v.push(E.charCodeAt(0)===58?"center":"right"):E.charCodeAt(0)===58?v.push("left"):v.push("")}if(l=t(s,o).trim(),l.indexOf("|")===-1||s.sCount[o]-s.blkIndent>=4||(m=n(l),m.length&&m[0]===""&&m.shift(),m.length&&m[m.length-1]===""&&m.pop(),x=m.length,x===0||x!==v.length))return!1;if(c)return!0;for(k=s.parentType,s.parentType="table",B=s.md.block.ruler.getRules("blockquote"),A=s.push("table_open","table",1),A.map=b=[o,0],A=s.push("thead_open","thead",1),A.map=[o,o+1],A=s.push("tr_open","tr",1),A.map=[o,o+1],f=0;f<m.length;f++)A=s.push("th_open","th",1),v[f]&&(A.attrs=[["style","text-align:"+v[f]]]),A=s.push("inline","",0),A.content=m[f].trim(),A.children=[],A=s.push("th_close","th",-1);for(A=s.push("tr_close","tr",-1),A=s.push("thead_close","thead",-1),h=o+2;h<i&&!(s.sCount[h]<s.blkIndent);h++){for(w=!1,f=0,p=B.length;f<p;f++)if(B[f](s,h,i,!0)){w=!0;break}if(w||(l=t(s,h).trim(),!l)||s.sCount[h]-s.blkIndent>=4)break;for(m=n(l),m.length&&m[0]===""&&m.shift(),m.length&&m[m.length-1]===""&&m.pop(),h===o+2&&(A=s.push("tbody_open","tbody",1),A.map=g=[o+2,0]),A=s.push("tr_open","tr",1),A.map=[h,h+1],f=0;f<x;f++)A=s.push("td_open","td",1),v[f]&&(A.attrs=[["style","text-align:"+v[f]]]),A=s.push("inline","",0),A.content=m[f]?m[f].trim():"",A.children=[],A=s.push("td_close","td",-1);A=s.push("tr_close","tr",-1)}return g&&(A=s.push("tbody_close","tbody",-1),g[1]=h),A=s.push("table_close","table",-1),b[1]=h,s.parentType=k,s.line=h,!0},Ao}var Co,Tl;function bg(){return Tl||(Tl=1,Co=function(t,n,r){var s,o,i;if(t.sCount[n]-t.blkIndent<4)return!1;for(o=s=n+1;s<r;){if(t.isEmpty(s)){s++;continue}if(t.sCount[s]-t.blkIndent>=4){s++,o=s;continue}break}return t.line=o,i=t.push("code_block","code",0),i.content=t.getLines(n,o,4+t.blkIndent,!1)+`
37
+ `,i.map=[n,t.line],!0}),Co}var So,Dl;function vg(){return Dl||(Dl=1,So=function(t,n,r,s){var o,i,c,a,l,u,f,p=!1,h=t.bMarks[n]+t.tShift[n],m=t.eMarks[n];if(t.sCount[n]-t.blkIndent>=4||h+3>m||(o=t.src.charCodeAt(h),o!==126&&o!==96)||(l=h,h=t.skipChars(h,o),i=h-l,i<3)||(f=t.src.slice(l,h),c=t.src.slice(h,m),o===96&&c.indexOf(String.fromCharCode(o))>=0))return!1;if(s)return!0;for(a=n;a++,!(a>=r||(h=l=t.bMarks[a]+t.tShift[a],m=t.eMarks[a],h<m&&t.sCount[a]<t.blkIndent));)if(t.src.charCodeAt(h)===o&&!(t.sCount[a]-t.blkIndent>=4)&&(h=t.skipChars(h,o),!(h-l<i)&&(h=t.skipSpaces(h),!(h<m)))){p=!0;break}return i=t.sCount[n],t.line=a+(p?1:0),u=t.push("fence","code",0),u.info=c,u.content=t.getLines(n+1,a,i,!0),u.markup=f,u.map=[n,t.line],!0}),So}var To,Rl;function yg(){if(Rl)return To;Rl=1;var e=ye().isSpace;return To=function(n,r,s,o){var i,c,a,l,u,f,p,h,m,x,A,v,E,b,g,k,w,B,T,D,q=n.lineMax,F=n.bMarks[r]+n.tShift[r],N=n.eMarks[r];if(n.sCount[r]-n.blkIndent>=4||n.src.charCodeAt(F)!==62)return!1;if(o)return!0;for(x=[],A=[],b=[],g=[],B=n.md.block.ruler.getRules("blockquote"),E=n.parentType,n.parentType="blockquote",h=r;h<s&&(D=n.sCount[h]<n.blkIndent,F=n.bMarks[h]+n.tShift[h],N=n.eMarks[h],!(F>=N));h++){if(n.src.charCodeAt(F++)===62&&!D){for(l=n.sCount[h]+1,n.src.charCodeAt(F)===32?(F++,l++,i=!1,k=!0):n.src.charCodeAt(F)===9?(k=!0,(n.bsCount[h]+l)%4===3?(F++,l++,i=!1):i=!0):k=!1,m=l,x.push(n.bMarks[h]),n.bMarks[h]=F;F<N&&(c=n.src.charCodeAt(F),e(c));){c===9?m+=4-(m+n.bsCount[h]+(i?1:0))%4:m++;F++}f=F>=N,A.push(n.bsCount[h]),n.bsCount[h]=n.sCount[h]+1+(k?1:0),b.push(n.sCount[h]),n.sCount[h]=m-l,g.push(n.tShift[h]),n.tShift[h]=F-n.bMarks[h];continue}if(f)break;for(w=!1,a=0,u=B.length;a<u;a++)if(B[a](n,h,s,!0)){w=!0;break}if(w){n.lineMax=h,n.blkIndent!==0&&(x.push(n.bMarks[h]),A.push(n.bsCount[h]),g.push(n.tShift[h]),b.push(n.sCount[h]),n.sCount[h]-=n.blkIndent);break}x.push(n.bMarks[h]),A.push(n.bsCount[h]),g.push(n.tShift[h]),b.push(n.sCount[h]),n.sCount[h]=-1}for(v=n.blkIndent,n.blkIndent=0,T=n.push("blockquote_open","blockquote",1),T.markup=">",T.map=p=[r,0],n.md.block.tokenize(n,r,h),T=n.push("blockquote_close","blockquote",-1),T.markup=">",n.lineMax=q,n.parentType=E,p[1]=n.line,a=0;a<g.length;a++)n.bMarks[a+r]=x[a],n.tShift[a+r]=g[a],n.sCount[a+r]=b[a],n.bsCount[a+r]=A[a];return n.blkIndent=v,!0},To}var Do,ql;function xg(){if(ql)return Do;ql=1;var e=ye().isSpace;return Do=function(n,r,s,o){var i,c,a,l,u=n.bMarks[r]+n.tShift[r],f=n.eMarks[r];if(n.sCount[r]-n.blkIndent>=4||(i=n.src.charCodeAt(u++),i!==42&&i!==45&&i!==95))return!1;for(c=1;u<f;){if(a=n.src.charCodeAt(u++),a!==i&&!e(a))return!1;a===i&&c++}return c<3?!1:(o||(n.line=r+1,l=n.push("hr","hr",0),l.map=[r,n.line],l.markup=Array(c+1).join(String.fromCharCode(i))),!0)},Do}var Ro,Ll;function Eg(){if(Ll)return Ro;Ll=1;var e=ye().isSpace;function t(s,o){var i,c,a,l;return c=s.bMarks[o]+s.tShift[o],a=s.eMarks[o],i=s.src.charCodeAt(c++),i!==42&&i!==45&&i!==43||c<a&&(l=s.src.charCodeAt(c),!e(l))?-1:c}function n(s,o){var i,c=s.bMarks[o]+s.tShift[o],a=c,l=s.eMarks[o];if(a+1>=l||(i=s.src.charCodeAt(a++),i<48||i>57))return-1;for(;;){if(a>=l)return-1;if(i=s.src.charCodeAt(a++),i>=48&&i<=57){if(a-c>=10)return-1;continue}if(i===41||i===46)break;return-1}return a<l&&(i=s.src.charCodeAt(a),!e(i))?-1:a}function r(s,o){var i,c,a=s.level+2;for(i=o+2,c=s.tokens.length-2;i<c;i++)s.tokens[i].level===a&&s.tokens[i].type==="paragraph_open"&&(s.tokens[i+2].hidden=!0,s.tokens[i].hidden=!0,i+=2)}return Ro=function(o,i,c,a){var l,u,f,p,h,m,x,A,v,E,b,g,k,w,B,T,D,q,F,N,oe,S,z,K,Y,Z,fe,J=i,Ae=!1,Ce=!0;if(o.sCount[J]-o.blkIndent>=4||o.listIndent>=0&&o.sCount[J]-o.listIndent>=4&&o.sCount[J]<o.blkIndent)return!1;if(a&&o.parentType==="paragraph"&&o.sCount[J]>=o.blkIndent&&(Ae=!0),(S=n(o,J))>=0){if(x=!0,K=o.bMarks[J]+o.tShift[J],k=Number(o.src.slice(K,S-1)),Ae&&k!==1)return!1}else if((S=t(o,J))>=0)x=!1;else return!1;if(Ae&&o.skipSpaces(S)>=o.eMarks[J])return!1;if(a)return!0;for(g=o.src.charCodeAt(S-1),b=o.tokens.length,x?(fe=o.push("ordered_list_open","ol",1),k!==1&&(fe.attrs=[["start",k]])):fe=o.push("bullet_list_open","ul",1),fe.map=E=[J,0],fe.markup=String.fromCharCode(g),z=!1,Z=o.md.block.ruler.getRules("list"),D=o.parentType,o.parentType="list";J<c;){for(oe=S,w=o.eMarks[J],m=B=o.sCount[J]+S-(o.bMarks[J]+o.tShift[J]);oe<w;){if(l=o.src.charCodeAt(oe),l===9)B+=4-(B+o.bsCount[J])%4;else if(l===32)B++;else break;oe++}if(u=oe,u>=w?h=1:h=B-m,h>4&&(h=1),p=m+h,fe=o.push("list_item_open","li",1),fe.markup=String.fromCharCode(g),fe.map=A=[J,0],x&&(fe.info=o.src.slice(K,S-1)),N=o.tight,F=o.tShift[J],q=o.sCount[J],T=o.listIndent,o.listIndent=o.blkIndent,o.blkIndent=p,o.tight=!0,o.tShift[J]=u-o.bMarks[J],o.sCount[J]=B,u>=w&&o.isEmpty(J+1)?o.line=Math.min(o.line+2,c):o.md.block.tokenize(o,J,c,!0),(!o.tight||z)&&(Ce=!1),z=o.line-J>1&&o.isEmpty(o.line-1),o.blkIndent=o.listIndent,o.listIndent=T,o.tShift[J]=F,o.sCount[J]=q,o.tight=N,fe=o.push("list_item_close","li",-1),fe.markup=String.fromCharCode(g),J=o.line,A[1]=J,J>=c||o.sCount[J]<o.blkIndent||o.sCount[J]-o.blkIndent>=4)break;for(Y=!1,f=0,v=Z.length;f<v;f++)if(Z[f](o,J,c,!0)){Y=!0;break}if(Y)break;if(x){if(S=n(o,J),S<0)break;K=o.bMarks[J]+o.tShift[J]}else if(S=t(o,J),S<0)break;if(g!==o.src.charCodeAt(S-1))break}return x?fe=o.push("ordered_list_close","ol",-1):fe=o.push("bullet_list_close","ul",-1),fe.markup=String.fromCharCode(g),E[1]=J,o.line=J,o.parentType=D,Ce&&r(o,b),!0},Ro}var qo,Nl;function kg(){if(Nl)return qo;Nl=1;var e=ye().normalizeReference,t=ye().isSpace;return qo=function(r,s,o,i){var c,a,l,u,f,p,h,m,x,A,v,E,b,g,k,w,B=0,T=r.bMarks[s]+r.tShift[s],D=r.eMarks[s],q=s+1;if(r.sCount[s]-r.blkIndent>=4||r.src.charCodeAt(T)!==91)return!1;for(;++T<D;)if(r.src.charCodeAt(T)===93&&r.src.charCodeAt(T-1)!==92){if(T+1===D||r.src.charCodeAt(T+1)!==58)return!1;break}for(u=r.lineMax,k=r.md.block.ruler.getRules("reference"),A=r.parentType,r.parentType="reference";q<u&&!r.isEmpty(q);q++)if(!(r.sCount[q]-r.blkIndent>3)&&!(r.sCount[q]<0)){for(g=!1,p=0,h=k.length;p<h;p++)if(k[p](r,q,u,!0)){g=!0;break}if(g)break}for(b=r.getLines(s,q,r.blkIndent,!1).trim(),D=b.length,T=1;T<D;T++){if(c=b.charCodeAt(T),c===91)return!1;if(c===93){x=T;break}else c===10?B++:c===92&&(T++,T<D&&b.charCodeAt(T)===10&&B++)}if(x<0||b.charCodeAt(x+1)!==58)return!1;for(T=x+2;T<D;T++)if(c=b.charCodeAt(T),c===10)B++;else if(!t(c))break;if(v=r.md.helpers.parseLinkDestination(b,T,D),!v.ok||(f=r.md.normalizeLink(v.str),!r.md.validateLink(f)))return!1;for(T=v.pos,B+=v.lines,a=T,l=B,E=T;T<D;T++)if(c=b.charCodeAt(T),c===10)B++;else if(!t(c))break;for(v=r.md.helpers.parseLinkTitle(b,T,D),T<D&&E!==T&&v.ok?(w=v.str,T=v.pos,B+=v.lines):(w="",T=a,B=l);T<D&&(c=b.charCodeAt(T),!!t(c));)T++;if(T<D&&b.charCodeAt(T)!==10&&w)for(w="",T=a,B=l;T<D&&(c=b.charCodeAt(T),!!t(c));)T++;return T<D&&b.charCodeAt(T)!==10||(m=e(b.slice(1,x)),!m)?!1:(i||(typeof r.env.references>"u"&&(r.env.references={}),typeof r.env.references[m]>"u"&&(r.env.references[m]={title:w,href:f}),r.parentType=A,r.line=s+B+1),!0)},qo}var Lo,Il;function wg(){return Il||(Il=1,Lo=["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"]),Lo}var Ur={},Ml;function Ol(){if(Ml)return Ur;Ml=1;var e="[a-zA-Z_:][a-zA-Z0-9:._-]*",t="[^\"'=<>`\\x00-\\x20]+",n="'[^']*'",r='"[^"]*"',s="(?:"+t+"|"+n+"|"+r+")",o="(?:\\s+"+e+"(?:\\s*=\\s*"+s+")?)",i="<[A-Za-z][A-Za-z0-9\\-]*"+o+"*\\s*\\/?>",c="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",a="<!---->|<!--(?:-?[^>-])(?:-?[^-])*-->",l="<[?][\\s\\S]*?[?]>",u="<![A-Z]+\\s+[^>]*>",f="<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",p=new RegExp("^(?:"+i+"|"+c+"|"+a+"|"+l+"|"+u+"|"+f+")"),h=new RegExp("^(?:"+i+"|"+c+")");return Ur.HTML_TAG_RE=p,Ur.HTML_OPEN_CLOSE_TAG_RE=h,Ur}var No,Fl;function Ag(){if(Fl)return No;Fl=1;var e=wg(),t=Ol().HTML_OPEN_CLOSE_TAG_RE,n=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp("^</?("+e.join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(t.source+"\\s*$"),/^$/,!1]];return No=function(s,o,i,c){var a,l,u,f,p=s.bMarks[o]+s.tShift[o],h=s.eMarks[o];if(s.sCount[o]-s.blkIndent>=4||!s.md.options.html||s.src.charCodeAt(p)!==60)return!1;for(f=s.src.slice(p,h),a=0;a<n.length&&!n[a][0].test(f);a++);if(a===n.length)return!1;if(c)return n[a][2];if(l=o+1,!n[a][1].test(f)){for(;l<i&&!(s.sCount[l]<s.blkIndent);l++)if(p=s.bMarks[l]+s.tShift[l],h=s.eMarks[l],f=s.src.slice(p,h),n[a][1].test(f)){f.length!==0&&l++;break}}return s.line=l,u=s.push("html_block","",0),u.map=[o,l],u.content=s.getLines(o,l,s.blkIndent,!0),!0},No}var Io,Pl;function Cg(){if(Pl)return Io;Pl=1;var e=ye().isSpace;return Io=function(n,r,s,o){var i,c,a,l,u=n.bMarks[r]+n.tShift[r],f=n.eMarks[r];if(n.sCount[r]-n.blkIndent>=4||(i=n.src.charCodeAt(u),i!==35||u>=f))return!1;for(c=1,i=n.src.charCodeAt(++u);i===35&&u<f&&c<=6;)c++,i=n.src.charCodeAt(++u);return c>6||u<f&&!e(i)?!1:(o||(f=n.skipSpacesBack(f,u),a=n.skipCharsBack(f,35,u),a>u&&e(n.src.charCodeAt(a-1))&&(f=a),n.line=r+1,l=n.push("heading_open","h"+String(c),1),l.markup="########".slice(0,c),l.map=[r,n.line],l=n.push("inline","",0),l.content=n.src.slice(u,f).trim(),l.map=[r,n.line],l.children=[],l=n.push("heading_close","h"+String(c),-1),l.markup="########".slice(0,c)),!0)},Io}var Mo,Bl;function Sg(){return Bl||(Bl=1,Mo=function(t,n,r){var s,o,i,c,a,l,u,f,p,h=n+1,m,x=t.md.block.ruler.getRules("paragraph");if(t.sCount[n]-t.blkIndent>=4)return!1;for(m=t.parentType,t.parentType="paragraph";h<r&&!t.isEmpty(h);h++)if(!(t.sCount[h]-t.blkIndent>3)){if(t.sCount[h]>=t.blkIndent&&(l=t.bMarks[h]+t.tShift[h],u=t.eMarks[h],l<u&&(p=t.src.charCodeAt(l),(p===45||p===61)&&(l=t.skipChars(l,p),l=t.skipSpaces(l),l>=u)))){f=p===61?1:2;break}if(!(t.sCount[h]<0)){for(o=!1,i=0,c=x.length;i<c;i++)if(x[i](t,h,r,!0)){o=!0;break}if(o)break}}return f?(s=t.getLines(n,h,t.blkIndent,!1).trim(),t.line=h+1,a=t.push("heading_open","h"+String(f),1),a.markup=String.fromCharCode(p),a.map=[n,t.line],a=t.push("inline","",0),a.content=s,a.map=[n,t.line-1],a.children=[],a=t.push("heading_close","h"+String(f),-1),a.markup=String.fromCharCode(p),t.parentType=m,!0):!1}),Mo}var Oo,$l;function Tg(){return $l||($l=1,Oo=function(t,n,r){var s,o,i,c,a,l,u=n+1,f=t.md.block.ruler.getRules("paragraph");for(l=t.parentType,t.parentType="paragraph";u<r&&!t.isEmpty(u);u++)if(!(t.sCount[u]-t.blkIndent>3)&&!(t.sCount[u]<0)){for(o=!1,i=0,c=f.length;i<c;i++)if(f[i](t,u,r,!0)){o=!0;break}if(o)break}return s=t.getLines(n,u,t.blkIndent,!1).trim(),t.line=u,a=t.push("paragraph_open","p",1),a.map=[n,t.line],a=t.push("inline","",0),a.content=s,a.map=[n,t.line],a.children=[],a=t.push("paragraph_close","p",-1),t.parentType=l,!0}),Oo}var Fo,Ul;function Dg(){if(Ul)return Fo;Ul=1;var e=Eo(),t=ye().isSpace;function n(r,s,o,i){var c,a,l,u,f,p,h,m;for(this.src=r,this.md=s,this.env=o,this.tokens=i,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="",a=this.src,m=!1,l=u=p=h=0,f=a.length;u<f;u++){if(c=a.charCodeAt(u),!m)if(t(c)){p++,c===9?h+=4-h%4:h++;continue}else m=!0;(c===10||u===f-1)&&(c!==10&&u++,this.bMarks.push(l),this.eMarks.push(u),this.tShift.push(p),this.sCount.push(h),this.bsCount.push(0),m=!1,p=0,h=0,l=u+1)}this.bMarks.push(a.length),this.eMarks.push(a.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}return n.prototype.push=function(r,s,o){var i=new e(r,s,o);return i.block=!0,o<0&&this.level--,i.level=this.level,o>0&&this.level++,this.tokens.push(i),i},n.prototype.isEmpty=function(s){return this.bMarks[s]+this.tShift[s]>=this.eMarks[s]},n.prototype.skipEmptyLines=function(s){for(var o=this.lineMax;s<o&&!(this.bMarks[s]+this.tShift[s]<this.eMarks[s]);s++);return s},n.prototype.skipSpaces=function(s){for(var o,i=this.src.length;s<i&&(o=this.src.charCodeAt(s),!!t(o));s++);return s},n.prototype.skipSpacesBack=function(s,o){if(s<=o)return s;for(;s>o;)if(!t(this.src.charCodeAt(--s)))return s+1;return s},n.prototype.skipChars=function(s,o){for(var i=this.src.length;s<i&&this.src.charCodeAt(s)===o;s++);return s},n.prototype.skipCharsBack=function(s,o,i){if(s<=i)return s;for(;s>i;)if(o!==this.src.charCodeAt(--s))return s+1;return s},n.prototype.getLines=function(s,o,i,c){var a,l,u,f,p,h,m,x=s;if(s>=o)return"";for(h=new Array(o-s),a=0;x<o;x++,a++){for(l=0,m=f=this.bMarks[x],x+1<o||c?p=this.eMarks[x]+1:p=this.eMarks[x];f<p&&l<i;){if(u=this.src.charCodeAt(f),t(u))u===9?l+=4-(l+this.bsCount[x])%4:l++;else if(f-m<this.tShift[x])l++;else break;f++}l>i?h[a]=new Array(l-i+1).join(" ")+this.src.slice(f,p):h[a]=this.src.slice(f,p)}return h.join("")},n.prototype.Token=e,Fo=n,Fo}var Po,zl;function Rg(){if(zl)return Po;zl=1;var e=ho(),t=[["table",_g(),["paragraph","reference"]],["code",bg()],["fence",vg(),["paragraph","reference","blockquote","list"]],["blockquote",yg(),["paragraph","reference","blockquote","list"]],["hr",xg(),["paragraph","reference","blockquote","list"]],["list",Eg(),["paragraph","reference","blockquote"]],["reference",kg()],["html_block",Ag(),["paragraph","reference","blockquote"]],["heading",Cg(),["paragraph","reference","blockquote"]],["lheading",Sg()],["paragraph",Tg()]];function n(){this.ruler=new e;for(var r=0;r<t.length;r++)this.ruler.push(t[r][0],t[r][1],{alt:(t[r][2]||[]).slice()})}return n.prototype.tokenize=function(r,s,o){for(var i,c,a,l=this.ruler.getRules(""),u=l.length,f=s,p=!1,h=r.md.options.maxNesting;f<o&&(r.line=f=r.skipEmptyLines(f),!(f>=o||r.sCount[f]<r.blkIndent));){if(r.level>=h){r.line=o;break}for(a=r.line,c=0;c<u;c++)if(i=l[c](r,f,o,!1),i){if(a>=r.line)throw new Error("block rule didn't increment state.line");break}if(!i)throw new Error("none of the block rules matched");r.tight=!p,r.isEmpty(r.line-1)&&(p=!0),f=r.line,f<o&&r.isEmpty(f)&&(p=!0,f++,r.line=f)}},n.prototype.parse=function(r,s,o,i){var c;r&&(c=new this.State(r,s,o,i),this.tokenize(c,c.line,c.lineMax))},n.prototype.State=Dg(),Po=n,Po}var Bo,Hl;function qg(){if(Hl)return Bo;Hl=1;function e(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}}return Bo=function(n,r){for(var s=n.pos;s<n.posMax&&!e(n.src.charCodeAt(s));)s++;return s===n.pos?!1:(r||(n.pending+=n.src.slice(n.pos,s)),n.pos=s,!0)},Bo}var $o,Vl;function Lg(){if(Vl)return $o;Vl=1;var e=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;return $o=function(n,r){var s,o,i,c,a,l,u,f;return!n.md.options.linkify||n.linkLevel>0||(s=n.pos,o=n.posMax,s+3>o)||n.src.charCodeAt(s)!==58||n.src.charCodeAt(s+1)!==47||n.src.charCodeAt(s+2)!==47||(i=n.pending.match(e),!i)||(c=i[1],a=n.md.linkify.matchAtStart(n.src.slice(s-c.length)),!a)||(l=a.url,l.length<=c.length)||(l=l.replace(/\*+$/,""),u=n.md.normalizeLink(l),!n.md.validateLink(u))?!1:(r||(n.pending=n.pending.slice(0,-c.length),f=n.push("link_open","a",1),f.attrs=[["href",u]],f.markup="linkify",f.info="auto",f=n.push("text","",0),f.content=n.md.normalizeLinkText(l),f=n.push("link_close","a",-1),f.markup="linkify",f.info="auto"),n.pos+=l.length-c.length,!0)},$o}var Uo,jl;function Ng(){if(jl)return Uo;jl=1;var e=ye().isSpace;return Uo=function(n,r){var s,o,i,c=n.pos;if(n.src.charCodeAt(c)!==10)return!1;if(s=n.pending.length-1,o=n.posMax,!r)if(s>=0&&n.pending.charCodeAt(s)===32)if(s>=1&&n.pending.charCodeAt(s-1)===32){for(i=s-1;i>=1&&n.pending.charCodeAt(i-1)===32;)i--;n.pending=n.pending.slice(0,i),n.push("hardbreak","br",0)}else n.pending=n.pending.slice(0,-1),n.push("softbreak","br",0);else n.push("softbreak","br",0);for(c++;c<o&&e(n.src.charCodeAt(c));)c++;return n.pos=c,!0},Uo}var zo,Gl;function Ig(){if(Gl)return zo;Gl=1;for(var e=ye().isSpace,t=[],n=0;n<256;n++)t.push(0);return"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(r){t[r.charCodeAt(0)]=1}),zo=function(s,o){var i,c,a,l,u,f=s.pos,p=s.posMax;if(s.src.charCodeAt(f)!==92||(f++,f>=p))return!1;if(i=s.src.charCodeAt(f),i===10){for(o||s.push("hardbreak","br",0),f++;f<p&&(i=s.src.charCodeAt(f),!!e(i));)f++;return s.pos=f,!0}return l=s.src[f],i>=55296&&i<=56319&&f+1<p&&(c=s.src.charCodeAt(f+1),c>=56320&&c<=57343&&(l+=s.src[f+1],f++)),a="\\"+l,o||(u=s.push("text_special","",0),i<256&&t[i]!==0?u.content=l:u.content=a,u.markup=a,u.info="escape"),s.pos=f+1,!0},zo}var Ho,Kl;function Mg(){return Kl||(Kl=1,Ho=function(t,n){var r,s,o,i,c,a,l,u,f=t.pos,p=t.src.charCodeAt(f);if(p!==96)return!1;for(r=f,f++,s=t.posMax;f<s&&t.src.charCodeAt(f)===96;)f++;if(o=t.src.slice(r,f),l=o.length,t.backticksScanned&&(t.backticks[l]||0)<=r)return n||(t.pending+=o),t.pos+=l,!0;for(a=f;(c=t.src.indexOf("`",a))!==-1;){for(a=c+1;a<s&&t.src.charCodeAt(a)===96;)a++;if(u=a-c,u===l)return n||(i=t.push("code_inline","code",0),i.markup=o,i.content=t.src.slice(f,c).replace(/\n/g," ").replace(/^ (.+) $/,"$1")),t.pos=a,!0;t.backticks[u]=c}return t.backticksScanned=!0,n||(t.pending+=o),t.pos+=l,!0}),Ho}var zr={},Zl;function Wl(){if(Zl)return zr;Zl=1,zr.tokenize=function(n,r){var s,o,i,c,a,l=n.pos,u=n.src.charCodeAt(l);if(r||u!==126||(o=n.scanDelims(n.pos,!0),c=o.length,a=String.fromCharCode(u),c<2))return!1;for(c%2&&(i=n.push("text","",0),i.content=a,c--),s=0;s<c;s+=2)i=n.push("text","",0),i.content=a+a,n.delimiters.push({marker:u,length:0,token:n.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return n.pos+=o.length,!0};function e(t,n){var r,s,o,i,c,a=[],l=n.length;for(r=0;r<l;r++)o=n[r],o.marker===126&&o.end!==-1&&(i=n[o.end],c=t.tokens[o.token],c.type="s_open",c.tag="s",c.nesting=1,c.markup="~~",c.content="",c=t.tokens[i.token],c.type="s_close",c.tag="s",c.nesting=-1,c.markup="~~",c.content="",t.tokens[i.token-1].type==="text"&&t.tokens[i.token-1].content==="~"&&a.push(i.token-1));for(;a.length;){for(r=a.pop(),s=r+1;s<t.tokens.length&&t.tokens[s].type==="s_close";)s++;s--,r!==s&&(c=t.tokens[s],t.tokens[s]=t.tokens[r],t.tokens[r]=c)}}return zr.postProcess=function(n){var r,s=n.tokens_meta,o=n.tokens_meta.length;for(e(n,n.delimiters),r=0;r<o;r++)s[r]&&s[r].delimiters&&e(n,s[r].delimiters)},zr}var Hr={},Jl;function Yl(){if(Jl)return Hr;Jl=1,Hr.tokenize=function(n,r){var s,o,i,c=n.pos,a=n.src.charCodeAt(c);if(r||a!==95&&a!==42)return!1;for(o=n.scanDelims(n.pos,a===42),s=0;s<o.length;s++)i=n.push("text","",0),i.content=String.fromCharCode(a),n.delimiters.push({marker:a,length:o.length,token:n.tokens.length-1,end:-1,open:o.can_open,close:o.can_close});return n.pos+=o.length,!0};function e(t,n){var r,s,o,i,c,a,l=n.length;for(r=l-1;r>=0;r--)s=n[r],!(s.marker!==95&&s.marker!==42)&&s.end!==-1&&(o=n[s.end],a=r>0&&n[r-1].end===s.end+1&&n[r-1].marker===s.marker&&n[r-1].token===s.token-1&&n[s.end+1].token===o.token+1,c=String.fromCharCode(s.marker),i=t.tokens[s.token],i.type=a?"strong_open":"em_open",i.tag=a?"strong":"em",i.nesting=1,i.markup=a?c+c:c,i.content="",i=t.tokens[o.token],i.type=a?"strong_close":"em_close",i.tag=a?"strong":"em",i.nesting=-1,i.markup=a?c+c:c,i.content="",a&&(t.tokens[n[r-1].token].content="",t.tokens[n[s.end+1].token].content="",r--))}return Hr.postProcess=function(n){var r,s=n.tokens_meta,o=n.tokens_meta.length;for(e(n,n.delimiters),r=0;r<o;r++)s[r]&&s[r].delimiters&&e(n,s[r].delimiters)},Hr}var Vo,Xl;function Og(){if(Xl)return Vo;Xl=1;var e=ye().normalizeReference,t=ye().isSpace;return Vo=function(r,s){var o,i,c,a,l,u,f,p,h,m="",x="",A=r.pos,v=r.posMax,E=r.pos,b=!0;if(r.src.charCodeAt(r.pos)!==91||(l=r.pos+1,a=r.md.helpers.parseLinkLabel(r,r.pos,!0),a<0))return!1;if(u=a+1,u<v&&r.src.charCodeAt(u)===40){for(b=!1,u++;u<v&&(i=r.src.charCodeAt(u),!(!t(i)&&i!==10));u++);if(u>=v)return!1;if(E=u,f=r.md.helpers.parseLinkDestination(r.src,u,r.posMax),f.ok){for(m=r.md.normalizeLink(f.str),r.md.validateLink(m)?u=f.pos:m="",E=u;u<v&&(i=r.src.charCodeAt(u),!(!t(i)&&i!==10));u++);if(f=r.md.helpers.parseLinkTitle(r.src,u,r.posMax),u<v&&E!==u&&f.ok)for(x=f.str,u=f.pos;u<v&&(i=r.src.charCodeAt(u),!(!t(i)&&i!==10));u++);}(u>=v||r.src.charCodeAt(u)!==41)&&(b=!0),u++}if(b){if(typeof r.env.references>"u")return!1;if(u<v&&r.src.charCodeAt(u)===91?(E=u+1,u=r.md.helpers.parseLinkLabel(r,u),u>=0?c=r.src.slice(E,u++):u=a+1):u=a+1,c||(c=r.src.slice(l,a)),p=r.env.references[e(c)],!p)return r.pos=A,!1;m=p.href,x=p.title}return s||(r.pos=l,r.posMax=a,h=r.push("link_open","a",1),h.attrs=o=[["href",m]],x&&o.push(["title",x]),r.linkLevel++,r.md.inline.tokenize(r),r.linkLevel--,h=r.push("link_close","a",-1)),r.pos=u,r.posMax=v,!0},Vo}var jo,Ql;function Fg(){if(Ql)return jo;Ql=1;var e=ye().normalizeReference,t=ye().isSpace;return jo=function(r,s){var o,i,c,a,l,u,f,p,h,m,x,A,v,E="",b=r.pos,g=r.posMax;if(r.src.charCodeAt(r.pos)!==33||r.src.charCodeAt(r.pos+1)!==91||(u=r.pos+2,l=r.md.helpers.parseLinkLabel(r,r.pos+1,!1),l<0))return!1;if(f=l+1,f<g&&r.src.charCodeAt(f)===40){for(f++;f<g&&(i=r.src.charCodeAt(f),!(!t(i)&&i!==10));f++);if(f>=g)return!1;for(v=f,h=r.md.helpers.parseLinkDestination(r.src,f,r.posMax),h.ok&&(E=r.md.normalizeLink(h.str),r.md.validateLink(E)?f=h.pos:E=""),v=f;f<g&&(i=r.src.charCodeAt(f),!(!t(i)&&i!==10));f++);if(h=r.md.helpers.parseLinkTitle(r.src,f,r.posMax),f<g&&v!==f&&h.ok)for(m=h.str,f=h.pos;f<g&&(i=r.src.charCodeAt(f),!(!t(i)&&i!==10));f++);else m="";if(f>=g||r.src.charCodeAt(f)!==41)return r.pos=b,!1;f++}else{if(typeof r.env.references>"u")return!1;if(f<g&&r.src.charCodeAt(f)===91?(v=f+1,f=r.md.helpers.parseLinkLabel(r,f),f>=0?a=r.src.slice(v,f++):f=l+1):f=l+1,a||(a=r.src.slice(u,l)),p=r.env.references[e(a)],!p)return r.pos=b,!1;E=p.href,m=p.title}return s||(c=r.src.slice(u,l),r.md.inline.parse(c,r.md,r.env,A=[]),x=r.push("image","img",0),x.attrs=o=[["src",E],["alt",""]],x.children=A,x.content=c,m&&o.push(["title",m])),r.pos=f,r.posMax=g,!0},jo}var Go,eu;function Pg(){if(eu)return Go;eu=1;var e=/^([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])?)*)$/,t=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;return Go=function(r,s){var o,i,c,a,l,u,f=r.pos;if(r.src.charCodeAt(f)!==60)return!1;for(l=r.pos,u=r.posMax;;){if(++f>=u||(a=r.src.charCodeAt(f),a===60))return!1;if(a===62)break}return o=r.src.slice(l+1,f),t.test(o)?(i=r.md.normalizeLink(o),r.md.validateLink(i)?(s||(c=r.push("link_open","a",1),c.attrs=[["href",i]],c.markup="autolink",c.info="auto",c=r.push("text","",0),c.content=r.md.normalizeLinkText(o),c=r.push("link_close","a",-1),c.markup="autolink",c.info="auto"),r.pos+=o.length+2,!0):!1):e.test(o)?(i=r.md.normalizeLink("mailto:"+o),r.md.validateLink(i)?(s||(c=r.push("link_open","a",1),c.attrs=[["href",i]],c.markup="autolink",c.info="auto",c=r.push("text","",0),c.content=r.md.normalizeLinkText(o),c=r.push("link_close","a",-1),c.markup="autolink",c.info="auto"),r.pos+=o.length+2,!0):!1):!1},Go}var Ko,tu;function Bg(){if(tu)return Ko;tu=1;var e=Ol().HTML_TAG_RE;function t(s){return/^<a[>\s]/i.test(s)}function n(s){return/^<\/a\s*>/i.test(s)}function r(s){var o=s|32;return o>=97&&o<=122}return Ko=function(o,i){var c,a,l,u,f=o.pos;return!o.md.options.html||(l=o.posMax,o.src.charCodeAt(f)!==60||f+2>=l)||(c=o.src.charCodeAt(f+1),c!==33&&c!==63&&c!==47&&!r(c))||(a=o.src.slice(f).match(e),!a)?!1:(i||(u=o.push("html_inline","",0),u.content=a[0],t(u.content)&&o.linkLevel++,n(u.content)&&o.linkLevel--),o.pos+=a[0].length,!0)},Ko}var Zo,nu;function $g(){if(nu)return Zo;nu=1;var e=Za(),t=ye().has,n=ye().isValidEntityCode,r=ye().fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,o=/^&([a-z][a-z0-9]{1,31});/i;return Zo=function(c,a){var l,u,f,p,h=c.pos,m=c.posMax;if(c.src.charCodeAt(h)!==38||h+1>=m)return!1;if(l=c.src.charCodeAt(h+1),l===35){if(f=c.src.slice(h).match(s),f)return a||(u=f[1][0].toLowerCase()==="x"?parseInt(f[1].slice(1),16):parseInt(f[1],10),p=c.push("text_special","",0),p.content=n(u)?r(u):r(65533),p.markup=f[0],p.info="entity"),c.pos+=f[0].length,!0}else if(f=c.src.slice(h).match(o),f&&t(e,f[1]))return a||(p=c.push("text_special","",0),p.content=e[f[1]],p.markup=f[0],p.info="entity"),c.pos+=f[0].length,!0;return!1},Zo}var Wo,ru;function Ug(){if(ru)return Wo;ru=1;function e(t){var n,r,s,o,i,c,a,l,u={},f=t.length;if(f){var p=0,h=-2,m=[];for(n=0;n<f;n++)if(s=t[n],m.push(0),(t[p].marker!==s.marker||h!==s.token-1)&&(p=n),h=s.token,s.length=s.length||0,!!s.close){for(u.hasOwnProperty(s.marker)||(u[s.marker]=[-1,-1,-1,-1,-1,-1]),i=u[s.marker][(s.open?3:0)+s.length%3],r=p-m[p]-1,c=r;r>i;r-=m[r]+1)if(o=t[r],o.marker===s.marker&&o.open&&o.end<0&&(a=!1,(o.close||s.open)&&(o.length+s.length)%3===0&&(o.length%3!==0||s.length%3!==0)&&(a=!0),!a)){l=r>0&&!t[r-1].open?m[r-1]+1:0,m[n]=n-r+l,m[r]=l,s.open=!1,o.end=n,o.close=!1,c=-1,h=-2;break}c!==-1&&(u[s.marker][(s.open?3:0)+(s.length||0)%3]=c)}}}return Wo=function(n){var r,s=n.tokens_meta,o=n.tokens_meta.length;for(e(n.delimiters),r=0;r<o;r++)s[r]&&s[r].delimiters&&e(s[r].delimiters)},Wo}var Jo,su;function zg(){return su||(su=1,Jo=function(t){var n,r,s=0,o=t.tokens,i=t.tokens.length;for(n=r=0;n<i;n++)o[n].nesting<0&&s--,o[n].level=s,o[n].nesting>0&&s++,o[n].type==="text"&&n+1<i&&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)}),Jo}var Yo,ou;function Hg(){if(ou)return Yo;ou=1;var e=Eo(),t=ye().isWhiteSpace,n=ye().isPunctChar,r=ye().isMdAsciiPunct;function s(o,i,c,a){this.src=o,this.env=c,this.md=i,this.tokens=a,this.tokens_meta=Array(a.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}return s.prototype.pushPending=function(){var o=new e("text","",0);return o.content=this.pending,o.level=this.pendingLevel,this.tokens.push(o),this.pending="",o},s.prototype.push=function(o,i,c){this.pending&&this.pushPending();var a=new e(o,i,c),l=null;return c<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),a.level=this.level,c>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],l={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(a),this.tokens_meta.push(l),a},s.prototype.scanDelims=function(o,i){var c=o,a,l,u,f,p,h,m,x,A,v=!0,E=!0,b=this.posMax,g=this.src.charCodeAt(o);for(a=o>0?this.src.charCodeAt(o-1):32;c<b&&this.src.charCodeAt(c)===g;)c++;return u=c-o,l=c<b?this.src.charCodeAt(c):32,m=r(a)||n(String.fromCharCode(a)),A=r(l)||n(String.fromCharCode(l)),h=t(a),x=t(l),x?v=!1:A&&(h||m||(v=!1)),h?E=!1:m&&(x||A||(E=!1)),i?(f=v,p=E):(f=v&&(!E||m),p=E&&(!v||A)),{can_open:f,can_close:p,length:u}},s.prototype.Token=e,Yo=s,Yo}var Xo,iu;function Vg(){if(iu)return Xo;iu=1;var e=ho(),t=[["text",qg()],["linkify",Lg()],["newline",Ng()],["escape",Ig()],["backticks",Mg()],["strikethrough",Wl().tokenize],["emphasis",Yl().tokenize],["link",Og()],["image",Fg()],["autolink",Pg()],["html_inline",Bg()],["entity",$g()]],n=[["balance_pairs",Ug()],["strikethrough",Wl().postProcess],["emphasis",Yl().postProcess],["fragments_join",zg()]];function r(){var s;for(this.ruler=new e,s=0;s<t.length;s++)this.ruler.push(t[s][0],t[s][1]);for(this.ruler2=new e,s=0;s<n.length;s++)this.ruler2.push(n[s][0],n[s][1])}return r.prototype.skipToken=function(s){var o,i,c=s.pos,a=this.ruler.getRules(""),l=a.length,u=s.md.options.maxNesting,f=s.cache;if(typeof f[c]<"u"){s.pos=f[c];return}if(s.level<u){for(i=0;i<l;i++)if(s.level++,o=a[i](s,!0),s.level--,o){if(c>=s.pos)throw new Error("inline rule didn't increment state.pos");break}}else s.pos=s.posMax;o||s.pos++,f[c]=s.pos},r.prototype.tokenize=function(s){for(var o,i,c,a=this.ruler.getRules(""),l=a.length,u=s.posMax,f=s.md.options.maxNesting;s.pos<u;){if(c=s.pos,s.level<f){for(i=0;i<l;i++)if(o=a[i](s,!1),o){if(c>=s.pos)throw new Error("inline rule didn't increment state.pos");break}}if(o){if(s.pos>=u)break;continue}s.pending+=s.src[s.pos++]}s.pending&&s.pushPending()},r.prototype.parse=function(s,o,i,c){var a,l,u,f=new this.State(s,o,i,c);for(this.tokenize(f),l=this.ruler2.getRules(""),u=l.length,a=0;a<u;a++)l[a](f)},r.prototype.State=Hg(),Xo=r,Xo}var Qo,cu;function jg(){return cu||(cu=1,Qo=function(e){var t={};e=e||{},t.src_Any=rl().source,t.src_Cc=ol().source,t.src_Z=al().source,t.src_P=Xs().source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var n="[><|]";return t.src_pseudo_letter="(?:(?!"+n+"|"+t.src_ZPCc+")"+t.src_Any+")",t.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]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+n+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+n+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+n+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}),Qo}var ei,au;function Gg(){if(au)return ei;au=1;function e(b){var g=Array.prototype.slice.call(arguments,1);return g.forEach(function(k){k&&Object.keys(k).forEach(function(w){b[w]=k[w]})}),b}function t(b){return Object.prototype.toString.call(b)}function n(b){return t(b)==="[object String]"}function r(b){return t(b)==="[object Object]"}function s(b){return t(b)==="[object RegExp]"}function o(b){return t(b)==="[object Function]"}function i(b){return b.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var c={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function a(b){return Object.keys(b||{}).reduce(function(g,k){return g||c.hasOwnProperty(k)},!1)}var l={"http:":{validate:function(b,g,k){var w=b.slice(g);return k.re.http||(k.re.http=new RegExp("^\\/\\/"+k.re.src_auth+k.re.src_host_port_strict+k.re.src_path,"i")),k.re.http.test(w)?w.match(k.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(b,g,k){var w=b.slice(g);return k.re.no_http||(k.re.no_http=new RegExp("^"+k.re.src_auth+"(?:localhost|(?:(?:"+k.re.src_domain+")\\.)+"+k.re.src_domain_root+")"+k.re.src_port+k.re.src_host_terminator+k.re.src_path,"i")),k.re.no_http.test(w)?g>=3&&b[g-3]===":"||g>=3&&b[g-3]==="/"?0:w.match(k.re.no_http)[0].length:0}},"mailto:":{validate:function(b,g,k){var w=b.slice(g);return k.re.mailto||(k.re.mailto=new RegExp("^"+k.re.src_email_name+"@"+k.re.src_host_strict,"i")),k.re.mailto.test(w)?w.match(k.re.mailto)[0].length:0}}},u="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]",f="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function p(b){b.__index__=-1,b.__text_cache__=""}function h(b){return function(g,k){var w=g.slice(k);return b.test(w)?w.match(b)[0].length:0}}function m(){return function(b,g){g.normalize(b)}}function x(b){var g=b.re=jg()(b.__opts__),k=b.__tlds__.slice();b.onCompile(),b.__tlds_replaced__||k.push(u),k.push(g.src_xn),g.src_tlds=k.join("|");function w(q){return q.replace("%TLDS%",g.src_tlds)}g.email_fuzzy=RegExp(w(g.tpl_email_fuzzy),"i"),g.link_fuzzy=RegExp(w(g.tpl_link_fuzzy),"i"),g.link_no_ip_fuzzy=RegExp(w(g.tpl_link_no_ip_fuzzy),"i"),g.host_fuzzy_test=RegExp(w(g.tpl_host_fuzzy_test),"i");var B=[];b.__compiled__={};function T(q,F){throw new Error('(LinkifyIt) Invalid schema "'+q+'": '+F)}Object.keys(b.__schemas__).forEach(function(q){var F=b.__schemas__[q];if(F!==null){var N={validate:null,link:null};if(b.__compiled__[q]=N,r(F)){s(F.validate)?N.validate=h(F.validate):o(F.validate)?N.validate=F.validate:T(q,F),o(F.normalize)?N.normalize=F.normalize:F.normalize?T(q,F):N.normalize=m();return}if(n(F)){B.push(q);return}T(q,F)}}),B.forEach(function(q){b.__compiled__[b.__schemas__[q]]&&(b.__compiled__[q].validate=b.__compiled__[b.__schemas__[q]].validate,b.__compiled__[q].normalize=b.__compiled__[b.__schemas__[q]].normalize)}),b.__compiled__[""]={validate:null,normalize:m()};var D=Object.keys(b.__compiled__).filter(function(q){return q.length>0&&b.__compiled__[q]}).map(i).join("|");b.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+g.src_ZPCc+"))("+D+")","i"),b.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+g.src_ZPCc+"))("+D+")","ig"),b.re.schema_at_start=RegExp("^"+b.re.schema_search.source,"i"),b.re.pretest=RegExp("("+b.re.schema_test.source+")|("+b.re.host_fuzzy_test.source+")|@","i"),p(b)}function A(b,g){var k=b.__index__,w=b.__last_index__,B=b.__text_cache__.slice(k,w);this.schema=b.__schema__.toLowerCase(),this.index=k+g,this.lastIndex=w+g,this.raw=B,this.text=B,this.url=B}function v(b,g){var k=new A(b,g);return b.__compiled__[k.schema].normalize(k,b),k}function E(b,g){if(!(this instanceof E))return new E(b,g);g||a(b)&&(g=b,b={}),this.__opts__=e({},c,g),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=e({},l,b),this.__compiled__={},this.__tlds__=f,this.__tlds_replaced__=!1,this.re={},x(this)}return E.prototype.add=function(g,k){return this.__schemas__[g]=k,x(this),this},E.prototype.set=function(g){return this.__opts__=e(this.__opts__,g),this},E.prototype.test=function(g){if(this.__text_cache__=g,this.__index__=-1,!g.length)return!1;var k,w,B,T,D,q,F,N,oe;if(this.re.schema_test.test(g)){for(F=this.re.schema_search,F.lastIndex=0;(k=F.exec(g))!==null;)if(T=this.testSchemaAt(g,k[2],F.lastIndex),T){this.__schema__=k[2],this.__index__=k.index+k[1].length,this.__last_index__=k.index+k[0].length+T;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(N=g.search(this.re.host_fuzzy_test),N>=0&&(this.__index__<0||N<this.__index__)&&(w=g.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))!==null&&(D=w.index+w[1].length,(this.__index__<0||D<this.__index__)&&(this.__schema__="",this.__index__=D,this.__last_index__=w.index+w[0].length))),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&(oe=g.indexOf("@"),oe>=0&&(B=g.match(this.re.email_fuzzy))!==null&&(D=B.index+B[1].length,q=B.index+B[0].length,(this.__index__<0||D<this.__index__||D===this.__index__&&q>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=D,this.__last_index__=q))),this.__index__>=0},E.prototype.pretest=function(g){return this.re.pretest.test(g)},E.prototype.testSchemaAt=function(g,k,w){return this.__compiled__[k.toLowerCase()]?this.__compiled__[k.toLowerCase()].validate(g,w,this):0},E.prototype.match=function(g){var k=0,w=[];this.__index__>=0&&this.__text_cache__===g&&(w.push(v(this,k)),k=this.__last_index__);for(var B=k?g.slice(k):g;this.test(B);)w.push(v(this,k)),B=B.slice(this.__last_index__),k+=this.__last_index__;return w.length?w:null},E.prototype.matchAtStart=function(g){if(this.__text_cache__=g,this.__index__=-1,!g.length)return null;var k=this.re.schema_at_start.exec(g);if(!k)return null;var w=this.testSchemaAt(g,k[2],k[0].length);return w?(this.__schema__=k[2],this.__index__=k.index+k[1].length,this.__last_index__=k.index+k[0].length+w,v(this,0)):null},E.prototype.tlds=function(g,k){return g=Array.isArray(g)?g:[g],k?(this.__tlds__=this.__tlds__.concat(g).sort().filter(function(w,B,T){return w!==T[B-1]}).reverse(),x(this),this):(this.__tlds__=g.slice(),this.__tlds_replaced__=!0,x(this),this)},E.prototype.normalize=function(g){g.schema||(g.url="http://"+g.url),g.schema==="mailto:"&&!/^mailto:/i.test(g.url)&&(g.url="mailto:"+g.url)},E.prototype.onCompile=function(){},ei=E,ei}const Dn=2147483647,wt=36,ti=1,rr=26,Kg=38,Zg=700,lu=72,uu=128,fu="-",Wg=/^xn--/,Jg=/[^\0-\x7F]/,Yg=/[\x2E\u3002\uFF0E\uFF61]/g,Xg={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ni=wt-ti,At=Math.floor,ri=String.fromCharCode;function Jt(e){throw new RangeError(Xg[e])}function Qg(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function hu(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(Yg,".");const s=e.split("."),o=Qg(s,t).join(".");return r+o}function si(e){const t=[];let n=0;const r=e.length;for(;n<r;){const s=e.charCodeAt(n++);if(s>=55296&&s<=56319&&n<r){const o=e.charCodeAt(n++);(o&64512)==56320?t.push(((s&1023)<<10)+(o&1023)+65536):(t.push(s),n--)}else t.push(s)}return t}const pu=e=>String.fromCodePoint(...e),em=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:wt},du=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},gu=function(e,t,n){let r=0;for(e=n?At(e/Zg):e>>1,e+=At(e/t);e>ni*rr>>1;r+=wt)e=At(e/ni);return At(r+(ni+1)*e/(e+Kg))},oi=function(e){const t=[],n=e.length;let r=0,s=uu,o=lu,i=e.lastIndexOf(fu);i<0&&(i=0);for(let c=0;c<i;++c)e.charCodeAt(c)>=128&&Jt("not-basic"),t.push(e.charCodeAt(c));for(let c=i>0?i+1:0;c<n;){const a=r;for(let u=1,f=wt;;f+=wt){c>=n&&Jt("invalid-input");const p=em(e.charCodeAt(c++));p>=wt&&Jt("invalid-input"),p>At((Dn-r)/u)&&Jt("overflow"),r+=p*u;const h=f<=o?ti:f>=o+rr?rr:f-o;if(p<h)break;const m=wt-h;u>At(Dn/m)&&Jt("overflow"),u*=m}const l=t.length+1;o=gu(r-a,l,a==0),At(r/l)>Dn-s&&Jt("overflow"),s+=At(r/l),r%=l,t.splice(r++,0,s)}return String.fromCodePoint(...t)},ii=function(e){const t=[];e=si(e);const n=e.length;let r=uu,s=0,o=lu;for(const a of e)a<128&&t.push(ri(a));const i=t.length;let c=i;for(i&&t.push(fu);c<n;){let a=Dn;for(const u of e)u>=r&&u<a&&(a=u);const l=c+1;a-r>At((Dn-s)/l)&&Jt("overflow"),s+=(a-r)*l,r=a;for(const u of e)if(u<r&&++s>Dn&&Jt("overflow"),u===r){let f=s;for(let p=wt;;p+=wt){const h=p<=o?ti:p>=o+rr?rr:p-o;if(f<h)break;const m=f-h,x=wt-h;t.push(ri(du(h+m%x,0))),f=At(m/x)}t.push(ri(du(f,0))),o=gu(s,l,c===i),s=0,++c}++s,++r}return t.join("")},mu=function(e){return hu(e,function(t){return Wg.test(t)?oi(t.slice(4).toLowerCase()):t})},_u=function(e){return hu(e,function(t){return Jg.test(t)?"xn--"+ii(t):t})},tm=qp(Object.freeze(Object.defineProperty({__proto__:null,decode:oi,default:{version:"2.3.1",ucs2:{decode:si,encode:pu},decode:oi,encode:ii,toASCII:_u,toUnicode:mu},encode:ii,toASCII:_u,toUnicode:mu,ucs2decode:si,ucs2encode:pu},Symbol.toStringTag,{value:"Module"})));var ci,bu;function nm(){return bu||(bu=1,ci={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}),ci}var ai,vu;function rm(){return vu||(vu=1,ai={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"]}}}),ai}var li,yu;function sm(){return yu||(yu=1,li={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"]}}}),li}var ui,xu;function om(){if(xu)return ui;xu=1;var e=ye(),t=ig(),n=cg(),r=mg(),s=Rg(),o=Vg(),i=Gg(),c=tl(),a=tm,l={default:nm(),zero:rm(),commonmark:sm()},u=/^(vbscript|javascript|file|data):/,f=/^data:image\/(gif|png|jpeg|webp);/;function p(v){var E=v.trim().toLowerCase();return u.test(E)?!!f.test(E):!0}var h=["http:","https:","mailto:"];function m(v){var E=c.parse(v,!0);if(E.hostname&&(!E.protocol||h.indexOf(E.protocol)>=0))try{E.hostname=a.toASCII(E.hostname)}catch{}return c.encode(c.format(E))}function x(v){var E=c.parse(v,!0);if(E.hostname&&(!E.protocol||h.indexOf(E.protocol)>=0))try{E.hostname=a.toUnicode(E.hostname)}catch{}return c.decode(c.format(E),c.decode.defaultChars+"%")}function A(v,E){if(!(this instanceof A))return new A(v,E);E||e.isString(v)||(E=v||{},v="default"),this.inline=new o,this.block=new s,this.core=new r,this.renderer=new n,this.linkify=new i,this.validateLink=p,this.normalizeLink=m,this.normalizeLinkText=x,this.utils=e,this.helpers=e.assign({},t),this.options={},this.configure(v),E&&this.set(E)}return A.prototype.set=function(v){return e.assign(this.options,v),this},A.prototype.configure=function(v){var E=this,b;if(e.isString(v)&&(b=v,v=l[b],!v))throw new Error('Wrong `markdown-it` preset "'+b+'", check name');if(!v)throw new Error("Wrong `markdown-it` preset, can't be empty");return v.options&&E.set(v.options),v.components&&Object.keys(v.components).forEach(function(g){v.components[g].rules&&E[g].ruler.enableOnly(v.components[g].rules),v.components[g].rules2&&E[g].ruler2.enableOnly(v.components[g].rules2)}),this},A.prototype.enable=function(v,E){var b=[];Array.isArray(v)||(v=[v]),["core","block","inline"].forEach(function(k){b=b.concat(this[k].ruler.enable(v,!0))},this),b=b.concat(this.inline.ruler2.enable(v,!0));var g=v.filter(function(k){return b.indexOf(k)<0});if(g.length&&!E)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+g);return this},A.prototype.disable=function(v,E){var b=[];Array.isArray(v)||(v=[v]),["core","block","inline"].forEach(function(k){b=b.concat(this[k].ruler.disable(v,!0))},this),b=b.concat(this.inline.ruler2.disable(v,!0));var g=v.filter(function(k){return b.indexOf(k)<0});if(g.length&&!E)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+g);return this},A.prototype.use=function(v){var E=[this].concat(Array.prototype.slice.call(arguments,1));return v.apply(v,E),this},A.prototype.parse=function(v,E){if(typeof v!="string")throw new Error("Input data should be a String");var b=new this.core.State(v,this,E);return this.core.process(b),b.tokens},A.prototype.render=function(v,E){return E=E||{},this.renderer.render(this.parse(v,E),this.options,E)},A.prototype.parseInline=function(v,E){var b=new this.core.State(v,this,E);return b.inlineMode=!0,this.core.process(b),b.tokens},A.prototype.renderInline=function(v,E){return E=E||{},this.renderer.render(this.parseInline(v,E),this.options,E)},ui=A,ui}var fi,Eu;function im(){return Eu||(Eu=1,fi=om()),fi}var cm=im();const am=js(cm),lm=gt({name:"VueMarkdown",props:{source:{type:String,required:!0},options:{type:Object,required:!1},plugins:{type:Array,required:!1}},setup(e){const t=We(new am(e.options??{}));for(const r of e.plugins??[])t.value.use(r);const n=tt(()=>t.value.render(e.source));return()=>Qc("div",{innerHTML:n.value})}}),um={key:0,class:"chat-message-actions"},fm={key:2,class:"chat-message-files"},hi=gt({__name:"Message",props:{message:{}},setup(e,{expose:t}){const n=e;Bt.registerLanguage("javascript",Ma),Bt.registerLanguage("typescript",Gd),Bt.registerLanguage("python",Vd),Bt.registerLanguage("xml",Oa),Bt.registerLanguage("bash",Hd);const{message:r}=vf(n),{options:s}=tr(),o=We(null),i=We({}),c=tt(()=>r.value.text||"&lt;Empty response&gt;"),a=tt(()=>({"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(Wd,{attrs:{target:"_blank",rel:"noopener"}})},u=()=>{var m;(m=o.value)!=null&&m.scrollIntoView&&o.value.scrollIntoView({block:"start"})},f={highlight(m,x){if(x&&Bt.getLanguage(x))try{return Bt.highlight(m,{language:x}).value}catch{}return""}},p={...(s==null?void 0:s.messageComponents)??{}};t({scrollToView:u});const h=async m=>await new Promise((x,A)=>{const v=new FileReader;v.onload=()=>x(v.result),v.onerror=A,v.readAsDataURL(m)});return jt(async()=>{if(r.value.files)for(const m of r.value.files)try{const x=await h(m);i.value[m.name]=x}catch(x){console.error("Error reading file:",x)}}),(m,x)=>(Q(),ge("div",{ref_key:"messageContainer",ref:o,class:mn(["chat-message",a.value])},[m.$slots.beforeMessage?(Q(),ge("div",um,[Gt(m.$slots,"beforeMessage",Ti(jc({message:he(r)})))])):lt("",!0),Gt(m.$slots,"default",{},()=>[he(r).type==="component"&&p[he(r).key]?(Q(),Oe(Zf(p[he(r).key]),Ti(Os({key:0},he(r).arguments)),null,16)):(Q(),Oe(he(lm),{key:1,class:"chat-message-markdown",source:c.value,options:f,plugins:[l]},null,8,["source","plugins"])),(he(r).files??[]).length>0?(Q(),ge("div",fm,[(Q(!0),ge(He,null,Sr(he(r).files??[],A=>(Q(),ge("div",{key:A.name,class:"chat-message-file"},[Re(Pa,{file:A,"is-removable":!1,"is-previewable":!0},null,8,["file"])]))),128))])):lt("",!0)])],2))}}),hm=gt({__name:"MessageTyping",props:{animation:{default:"bouncing"}},setup(e){const t=e,n={id:"typing",text:"",sender:"bot",createdAt:""},r=We(),s=tt(()=>({"chat-message-typing":!0,[`chat-message-typing-animation-${t.animation}`]:!0}));return jt(()=>{var o;(o=r.value)==null||o.scrollToView()}),(o,i)=>(Q(),Oe(he(hi),{ref_key:"messageContainer",ref:r,class:mn(s.value),message:n,"data-test-id":"chat-message-typing"},{default:Mt(()=>i[0]||(i[0]=[we("div",{class:"chat-message-typing-body"},[we("span",{class:"chat-message-typing-circle"}),we("span",{class:"chat-message-typing-circle"}),we("span",{class:"chat-message-typing-circle"})],-1)])),_:1},8,["class"]))}}),pm={class:"chat-messages-list"},dm=gt({__name:"MessagesList",props:{messages:{}},setup(e){const t=Ks(),n=We([]),{initialMessages:r,waitingForResponse:s}=t;return Dr(()=>n.value.length,()=>{const o=n.value[n.value.length-1];o&&o.scrollToView()}),(o,i)=>(Q(),ge("div",pm,[(Q(!0),ge(He,null,Sr(he(r),c=>(Q(),Oe(hi,{key:c.id,message:c},null,8,["message"]))),128)),(Q(!0),ge(He,null,Sr(o.messages,c=>(Q(),Oe(hi,{key:c.id,ref_for:!0,ref_key:"messageComponents",ref:n,message:c},{beforeMessage:Mt(({message:a})=>[Gt(o.$slots,"beforeMessage",Os({ref_for:!0},{message:a}))]),_:2},1032,["message"]))),128)),he(s)?(Q(),Oe(hm,{key:0})):lt("",!0)]))}}),gm={class:"chat-heading"},mm=["title"],_m={key:0},ku=gt({__name:"Chat",setup(e){const{t}=Br(),n=Ks(),{messages:r,currentSessionId:s}=n,{options:o}=tr(),i=tt(()=>o.mode==="window"&&o.showWindowCloseButton);async function c(){n.startNewSession&&(n.startNewSession(),kn(()=>{ot.emit("scrollToBottom")}))}async function a(){n.loadPreviousSession&&(await n.loadPreviousSession(),kn(()=>{ot.emit("scrollToBottom")}))}function l(){ot.emit("close")}return jt(async()=>{await a(),!o.showWelcomeScreen&&!s.value&&await c()}),(u,f)=>(Q(),Oe(zd,{class:"chat-wrapper"},{header:Mt(()=>[we("div",gm,[we("h1",null,_n(he(t)("title")),1),i.value?(Q(),ge("button",{key:0,class:"chat-close-button",title:he(t)("closeButtonTooltip"),onClick:l},[Re(he(Vp),{height:"18",width:"18"})],8,mm)):lt("",!0)]),he(t)("subtitle")?(Q(),ge("p",_m,_n(he(t)("subtitle")),1)):lt("",!0)]),footer:Mt(()=>[he(s)?(Q(),Oe(Pd,{key:0})):(Q(),Oe(Qp,{key:1}))]),default:Mt(()=>[!he(s)&&he(o).showWelcomeScreen?(Q(),Oe(Gp,{key:0,"onClick:button":c})):(Q(),Oe(dm,{key:1,messages:he(r)},null,8,["messages"]))]),_:1}))}}),bm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function vm(e,t){return Q(),ge("svg",bm,t[0]||(t[0]=[we("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 ym={name:"mdi-chat",render:vm},xm={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Em(e,t){return Q(),ge("svg",xm,t[0]||(t[0]=[we("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z"},null,-1)]))}const km={name:"mdi-chevron-down",render:Em},wm={class:"chat-window-wrapper"},Am={class:"chat-window"},Cm=gt({__name:"ChatWindow",setup(e){const t=We(!1);function n(){t.value=!t.value,t.value&&kn(()=>{ot.emit("scrollToBottom")})}return(r,s)=>(Q(),ge("div",wm,[Re(sa,{name:"chat-window-transition"},{default:Mt(()=>[oc(we("div",Am,[Re(ku)],512),[[Zh,t.value]])]),_:1}),we("div",{class:"chat-window-toggle",onClick:n},[Re(sa,{name:"chat-window-toggle-transition",mode:"out-in"},{default:Mt(()=>[t.value?(Q(),Oe(he(km),{key:1,height:"32",width:"32"})):(Q(),Oe(he(ym),{key:0,height:"32",width:"32"}))]),_:1})])]))}}),Sm=gt({__name:"App",props:{},setup(e){const{options:t}=tr(),n=tt(()=>t.mode==="fullscreen");return jt(()=>{Bt.registerLanguage("xml",Oa),Bt.registerLanguage("javascript",Ma)}),(r,s)=>n.value?(Q(),Oe(he(ku),{key:0,class:"n8n-chat"})):(Q(),Oe(he(Cm),{key:1,class:"n8n-chat"}))}});function Tm(e){var s,o;const t={...Qn,...e,webhookConfig:{...Qn.webhookConfig,...e==null?void 0:e.webhookConfig},i18n:{...Qn.i18n,...e==null?void 0:e.i18n,en:{...(s=Qn.i18n)==null?void 0:s.en,...(o=e==null?void 0:e.i18n)==null?void 0:o.en}},theme:{...Qn.theme,...e==null?void 0:e.theme}},n=t.target??vp;typeof n=="string"&&Dp(n);const r=mp(Sm);return r.use(Rp,t),r.mount(n),r}pn.createChat=Tm,Object.defineProperty(pn,Symbol.toStringTag,{value:"Module"})});