@n8n/chat 0.36.0 → 0.37.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,26 +1,26 @@
1
- (function(pn,Qt){typeof exports=="object"&&typeof module<"u"?Qt(exports):typeof define=="function"&&define.amd?define(["exports"],Qt):(pn=typeof globalThis<"u"?globalThis:pn||self,Qt(pn.N8nChat={}))})(this,function(pn){"use strict";/**
1
+ (function(dn,Qt){typeof exports=="object"&&typeof module<"u"?Qt(exports):typeof define=="function"&&define.amd?define(["exports"],Qt):(dn=typeof globalThis<"u"?globalThis:dn||self,Qt(dn.N8nChat={}))})(this,function(dn){"use strict";/**
2
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 Qt(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ke={},dn=[],yt=()=>{},Iu=()=>!1,ir=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Jr=e=>e.startsWith("onUpdate:"),Be=Object.assign,Yr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Mu=Object.prototype.hasOwnProperty,ye=(e,t)=>Mu.call(e,t),oe=Array.isArray,gn=e=>cr(e)==="[object Map]",vi=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",yi=e=>(De(e)||ae(e))&&ae(e.then)&&ae(e.catch),xi=Object.prototype.toString,cr=e=>xi.call(e),Ou=e=>cr(e).slice(8,-1),Ei=e=>cr(e)==="[object Object]",Xr=e=>Le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ln=Qt(",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))},Fu=/-(\w)/g,ut=ar(e=>e.replace(Fu,(t,n)=>n?n.toUpperCase():"")),Pu=/\B([A-Z])/g,Ut=ar(e=>e.replace(Pu,"-$1").toLowerCase()),lr=ar(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qr=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)},ki=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},es=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Bu=e=>{const t=Le(e)?Number(e):NaN;return isNaN(t)?e:t};let wi;const fr=()=>wi||(wi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Nn(e){if(oe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Le(r)?Hu(r):Nn(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Le(e)||De(e))return e}const $u=/;(?![^(]*\))/g,Uu=/:([^]+)/,zu=/\/\*[^]*?\*\//g;function Hu(e){const t={};return e.replace(zu,"").split($u).forEach(n=>{if(n){const r=n.split(Uu);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function mn(e){let t="";if(Le(e))t=e;else if(oe(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 Ai(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Le(t)&&(e.class=mn(t)),n&&(e.style=Nn(n)),e}const Vu=Qt("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Ci(e){return!!e||e===""}const Si=e=>!!(e&&e.__v_isRef===!0),_n=e=>Le(e)?e:e==null?"":oe(e)||De(e)&&(e.toString===xi||!ae(e.toString))?Si(e)?_n(e.value):JSON.stringify(e,Ti,2):String(e),Ti=(e,t)=>Si(t)?Ti(e,t.value):gn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[ts(r,o)+" =>"]=s,n),{})}:vi(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ts(n))}:Dt(t)?ts(t):De(t)&&!oe(t)&&!Ei(t)?String(t):t,ts=(e,t="")=>{var n;return Dt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
5
+ **//*! #__NO_SIDE_EFFECTS__ */function Qt(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const we={},gn=[],yt=()=>{},Fu=()=>!1,ir=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Yr=e=>e.startsWith("onUpdate:"),Be=Object.assign,Xr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Pu=Object.prototype.hasOwnProperty,ye=(e,t)=>Pu.call(e,t),oe=Array.isArray,mn=e=>cr(e)==="[object Map]",vi=e=>cr(e)==="[object Set]",ae=e=>typeof e=="function",Le=e=>typeof e=="string",Rt=e=>typeof e=="symbol",Re=e=>e!==null&&typeof e=="object",yi=e=>(Re(e)||ae(e))&&ae(e.then)&&ae(e.catch),xi=Object.prototype.toString,cr=e=>xi.call(e),Bu=e=>cr(e).slice(8,-1),Ei=e=>cr(e)==="[object Object]",Qr=e=>Le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ln=Qt(",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))},$u=/-(\w)/g,ut=ar(e=>e.replace($u,(t,n)=>n?n.toUpperCase():"")),Uu=/\B([A-Z])/g,Ut=ar(e=>e.replace(Uu,"-$1").toLowerCase()),lr=ar(e=>e.charAt(0).toUpperCase()+e.slice(1)),es=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)},ki=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ts=e=>{const t=parseFloat(e);return isNaN(t)?e:t},zu=e=>{const t=Le(e)?Number(e):NaN;return isNaN(t)?e:t};let wi;const fr=()=>wi||(wi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Nn(e){if(oe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Le(r)?Gu(r):Nn(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Le(e)||Re(e))return e}const Hu=/;(?![^(]*\))/g,Vu=/:([^]+)/,ju=/\/\*[^]*?\*\//g;function Gu(e){const t={};return e.replace(ju,"").split(Hu).forEach(n=>{if(n){const r=n.split(Vu);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function _n(e){let t="";if(Le(e))t=e;else if(oe(e))for(let n=0;n<e.length;n++){const r=_n(e[n]);r&&(t+=r+" ")}else if(Re(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ai(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Le(t)&&(e.class=_n(t)),n&&(e.style=Nn(n)),e}const Ku=Qt("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Ci(e){return!!e||e===""}const Si=e=>!!(e&&e.__v_isRef===!0),en=e=>Le(e)?e:e==null?"":oe(e)||Re(e)&&(e.toString===xi||!ae(e.toString))?Si(e)?en(e.value):JSON.stringify(e,Ti,2):String(e),Ti=(e,t)=>Si(t)?Ti(e,t.value):mn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[ns(r,o)+" =>"]=s,n),{})}:vi(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ns(n))}:Rt(t)?ns(t):Re(t)&&!oe(t)&&!Ei(t)?String(t):t,ns=(e,t="")=>{var n;return Rt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
6
6
  * @vue/reactivity v3.5.13
7
7
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
8
  * @license MIT
9
- **/let Ye;class ju{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 Di(){return Ye}function Gu(e,t=!1){Ye&&Ye.cleanups.push(e)}let Se;const ns=new WeakSet;class Ri{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,ns.has(this)&&(ns.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Li(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Fi(this),Ni(this);const t=Se,n=_t;Se=this,_t=!0;try{return this.fn()}finally{Ii(this),Se=t,_t=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)is(t);this.deps=this.depsTail=void 0,Fi(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 qi=0,In,Mn;function Li(e,t=!1){if(e.flags|=8,t){e.next=Mn,Mn=e;return}e.next=In,In=e}function rs(){qi++}function ss(){if(--qi>0)return;if(Mn){let t=Mn;for(Mn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;In;){let t=In;for(In=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 Ni(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ii(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),is(r),Ku(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function os(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Mi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Mi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===On))return;e.globalVersion=On;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!os(e)){e.flags&=-3;return}const n=Se,r=_t;Se=e,_t=!0;try{Ni(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,Ii(e),e.flags&=-3}}function is(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)is(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ku(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 Oi=[];function Rt(){Oi.push(_t),_t=!1}function qt(){const e=Oi.pop();_t=e===void 0?!0:e}function Fi(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Se;Se=void 0;try{t()}finally{Se=n}}}let On=0;class Zu{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 cs{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 Zu(Se,this),Se.deps?(n.prevDep=Se.depsTail,Se.depsTail.nextDep=n,Se.depsTail=n):Se.deps=Se.depsTail=n,Pi(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++,On++,this.notify(t)}notify(t){rs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ss()}}}function Pi(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)Pi(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const hr=new WeakMap,en=Symbol(""),as=Symbol(""),Fn=Symbol("");function Ge(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 cs),s.map=r,s.key=n),s.track()}}function Lt(e,t,n,r,s,o){const i=hr.get(e);if(!i){On++;return}const c=a=>{a&&a.trigger()};if(rs(),t==="clear")i.forEach(c);else{const a=oe(e),l=a&&Xr(n);if(a&&n==="length"){const u=Number(r);i.forEach((f,p)=>{(p==="length"||p===Fn||!Dt(p)&&p>=u)&&c(f)})}else switch((n!==void 0||i.has(void 0))&&c(i.get(n)),l&&c(i.get(Fn)),t){case"add":a?l&&c(i.get("length")):(c(i.get(en)),gn(e)&&c(i.get(as)));break;case"delete":a||(c(i.get(en)),gn(e)&&c(i.get(as)));break;case"set":gn(e)&&c(i.get(en));break}}ss()}function Wu(e,t){const n=hr.get(e);return n&&n.get(t)}function bn(e){const t=_e(e);return t===e?t:(Ge(t,"iterate",Fn),ft(e)?t:t.map(Ke))}function pr(e){return Ge(e=_e(e),"iterate",Fn),e}const Ju={__proto__:null,[Symbol.iterator](){return ls(this,Symbol.iterator,Ke)},concat(...e){return bn(this).concat(...e.map(t=>oe(t)?bn(t):t))},entries(){return ls(this,"entries",e=>(e[1]=Ke(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(Ke),arguments)},find(e,t){return Nt(this,"find",e,t,Ke,arguments)},findIndex(e,t){return Nt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Nt(this,"findLast",e,t,Ke,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 us(this,"includes",e)},indexOf(...e){return us(this,"indexOf",e)},join(e){return bn(this).join(e)},lastIndexOf(...e){return us(this,"lastIndexOf",e)},map(e,t){return Nt(this,"map",e,t,void 0,arguments)},pop(){return Pn(this,"pop")},push(...e){return Pn(this,"push",e)},reduce(e,...t){return Bi(this,"reduce",e,t)},reduceRight(e,...t){return Bi(this,"reduceRight",e,t)},shift(){return Pn(this,"shift")},some(e,t){return Nt(this,"some",e,t,void 0,arguments)},splice(...e){return Pn(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 Pn(this,"unshift",e)},values(){return ls(this,"values",Ke)}};function ls(e,t,n){const r=pr(e),s=r[t]();return r!==e&&!ft(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.value&&(o.value=n(o.value)),o}),s}const Yu=Array.prototype;function Nt(e,t,n,r,s,o){const i=pr(e),c=i!==e&&!ft(e),a=i[t];if(a!==Yu[t]){const f=a.apply(e,o);return c?Ke(f):f}let l=n;i!==e&&(c?l=function(f,p){return n.call(this,Ke(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 Bi(e,t,n,r){const s=pr(e);let o=n;return s!==e&&(ft(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,Ke(c),a,e)}),s[t](o,...r)}function us(e,t,n){const r=_e(e);Ge(r,"iterate",Fn);const s=r[t](...n);return(s===-1||s===!1)&&ds(n[0])?(n[0]=_e(n[0]),r[t](...n)):s}function Pn(e,t,n=[]){Rt(),rs();const r=_e(e)[t].apply(e,n);return ss(),qt(),r}const Xu=Qt("__proto__,__v_isRef,__isVue"),$i=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Dt));function Qu(e){Dt(e)||(e=String(e));const t=_e(this);return Ge(t,"has",e),t.hasOwnProperty(e)}class Ui{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?Ki:Gi:o?ji:Vi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=oe(t);if(!s){let a;if(i&&(a=Ju[n]))return a;if(n==="hasOwnProperty")return Qu}const c=Reflect.get(t,n,Fe(t)?t:r);return(Dt(n)?$i.has(n):Xu(n))||(s||Ge(t,"get",n),o)?c:Fe(c)?i&&Xr(n)?c:c.value:De(c)?s?ps(c):hs(c):c}}class zi extends Ui{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const a=tn(o);if(!ft(r)&&!tn(r)&&(o=_e(o),r=_e(r)),!oe(t)&&Fe(o)&&!Fe(r))return a?!1:(o.value=r,!0)}const i=oe(t)&&Xr(n)?Number(n)<t.length:ye(t,n),c=Reflect.set(t,n,r,Fe(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=ye(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)||!$i.has(n))&&Ge(t,"has",n),r}ownKeys(t){return Ge(t,"iterate",oe(t)?"length":en),Reflect.ownKeys(t)}}class Hi extends Ui{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const ef=new zi,tf=new Hi,nf=new zi(!0),rf=new Hi(!0),fs=e=>e,dr=e=>Reflect.getPrototypeOf(e);function sf(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?fs:t?gs:Ke;return!t&&Ge(o,"iterate",a?as:en),{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 of(e,t){const n={get(s){const o=this.__v_raw,i=_e(o),c=_e(s);e||(zt(s,c)&&Ge(i,"get",s),Ge(i,"get",c));const{has:a}=dr(i),l=t?fs:e?gs:Ke;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&&Ge(_e(s),"iterate",en),Reflect.get(s,"size",s)},has(s){const o=this.__v_raw,i=_e(o),c=_e(s);return e||(zt(s,c)&&Ge(i,"has",s),Ge(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?fs:e?gs:Ke;return!e&&Ge(a,"iterate",en),c.forEach((u,f)=>s.call(o,l(u),l(f),i))}};return Be(n,e?{add:gr("add"),set:gr("set"),delete:gr("delete"),clear:gr("clear")}:{add(s){!t&&!ft(s)&&!tn(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&&!ft(o)&&!tn(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]=sf(s,e,t)}),n}function mr(e,t){const n=of(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ye(n,s)&&s in r?n:r,s,o)}const cf={get:mr(!1,!1)},af={get:mr(!1,!0)},lf={get:mr(!0,!1)},uf={get:mr(!0,!0)},Vi=new WeakMap,ji=new WeakMap,Gi=new WeakMap,Ki=new WeakMap;function ff(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function hf(e){return e.__v_skip||!Object.isExtensible(e)?0:ff(Ou(e))}function hs(e){return tn(e)?e:_r(e,!1,ef,cf,Vi)}function pf(e){return _r(e,!1,nf,af,ji)}function ps(e){return _r(e,!0,tf,lf,Gi)}function Wm(e){return _r(e,!0,rf,uf,Ki)}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=hf(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 tn(e)?vn(e.__v_raw):!!(e&&e.__v_isReactive)}function tn(e){return!!(e&&e.__v_isReadonly)}function ft(e){return!!(e&&e.__v_isShallow)}function ds(e){return e?!!e.__v_raw:!1}function _e(e){const t=e&&e.__v_raw;return t?_e(t):e}function df(e){return!ye(e,"__v_skip")&&Object.isExtensible(e)&&ki(e,"__v_skip",!0),e}const Ke=e=>De(e)?hs(e):e,gs=e=>De(e)?ps(e):e;function Fe(e){return e?e.__v_isRef===!0:!1}function Ze(e){return gf(e,!1)}function gf(e,t){return Fe(e)?e:new mf(e,t)}class mf{constructor(t,n){this.dep=new cs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:_e(t),this._value=n?t:Ke(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||ft(t)||tn(t);t=r?t:_e(t),zt(t,n)&&(this._rawValue=t,this._value=r?t:Ke(t),this.dep.trigger())}}function pe(e){return Fe(e)?e.value:e}const _f={get:(e,t,n)=>t==="__v_raw"?e:pe(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Fe(s)&&!Fe(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Zi(e){return vn(e)?e:new Proxy(e,_f)}function bf(e){const t=oe(e)?new Array(e.length):{};for(const n in e)t[n]=yf(e,n);return t}class vf{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 Wu(_e(this._object),this._key)}}function yf(e,t,n){const r=e[t];return Fe(r)?r:new vf(e,t,n)}class xf{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new cs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=On-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 Li(this,!0),!0}get value(){const t=this.dep.track();return Mi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ef(e,t,n=!1){let r,s;return ae(e)?r=e:(r=e.get,s=e.set),new xf(r,s,n)}const br={},vr=new WeakMap;let nn;function kf(e,t=!1,n=nn){if(n){let r=vr.get(n);r||vr.set(n,r=[]),r.push(e)}}function wf(e,t,n=ke){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:c,call:a}=n,l=d=>s?d:ft(d)||s===!1||s===0?It(d,1):It(d);let u,f,p,h,m=!1,x=!1;if(Fe(e)?(f=()=>e.value,m=ft(e)):vn(e)?(f=()=>l(e),m=!0):oe(e)?(x=!0,m=e.some(d=>vn(d)||ft(d)),f=()=>e.map(d=>{if(Fe(d))return d.value;if(vn(d))return l(d);if(ae(d))return a?a(d,2):d()})):ae(e)?t?f=a?()=>a(e,2):e:f=()=>{if(p){Rt();try{p()}finally{qt()}}const d=nn;nn=u;try{return a?a(e,3,[h]):e(h)}finally{nn=d}}:f=yt,t&&s){const d=f,k=s===!0?1/0:s;f=()=>It(d(),k)}const A=Di(),v=()=>{u.stop(),A&&A.active&&Yr(A.effects,u)};if(o&&t){const d=t;t=(...k)=>{d(...k),v()}}let E=x?new Array(e.length).fill(br):br;const b=d=>{if(!(!(u.flags&1)||!u.dirty&&!d))if(t){const k=u.run();if(s||m||(x?k.some((w,$)=>zt(w,E[$])):zt(k,E))){p&&p();const w=nn;nn=u;try{const $=[k,E===br?void 0:x&&E[0]===br?[]:E,h];a?a(t,3,$):t(...$),E=k}finally{nn=w}}}else u.run()};return c&&c(b),u=new Ri(f),u.scheduler=i?()=>i(b,!1):b,h=d=>kf(d,!1,u),p=u.onStop=()=>{const d=vr.get(u);if(d){if(a)a(d,4);else for(const k of d)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--,Fe(e))It(e.value,t,n);else if(oe(e))for(let r=0;r<e.length;r++)It(e[r],t,n);else if(vi(e)||gn(e))e.forEach(r=>{It(r,t,n)});else if(Ei(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}/**
9
+ **/let Ye;class Zu{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 Di(){return Ye}function Wu(e,t=!1){Ye&&Ye.cleanups.push(e)}let Te;const rs=new WeakSet;class Ri{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,rs.has(this)&&(rs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Li(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Fi(this),Ni(this);const t=Te,n=_t;Te=this,_t=!0;try{return this.fn()}finally{Ii(this),Te=t,_t=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)cs(t);this.deps=this.depsTail=void 0,Fi(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?rs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){is(this)&&this.run()}get dirty(){return is(this)}}let qi=0,In,Mn;function Li(e,t=!1){if(e.flags|=8,t){e.next=Mn,Mn=e;return}e.next=In,In=e}function ss(){qi++}function os(){if(--qi>0)return;if(Mn){let t=Mn;for(Mn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;In;){let t=In;for(In=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 Ni(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ii(e){let t,n=e.depsTail,r=n;for(;r;){const s=r.prevDep;r.version===-1?(r===n&&(n=s),cs(r),Ju(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=s}e.deps=t,e.depsTail=n}function is(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Mi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Mi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===On))return;e.globalVersion=On;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!is(e)){e.flags&=-3;return}const n=Te,r=_t;Te=e,_t=!0;try{Ni(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{Te=n,_t=r,Ii(e),e.flags&=-3}}function cs(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)cs(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ju(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 Oi=[];function qt(){Oi.push(_t),_t=!1}function Lt(){const e=Oi.pop();_t=e===void 0?!0:e}function Fi(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=Te;Te=void 0;try{t()}finally{Te=n}}}let On=0;class Yu{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 as{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(!Te||!_t||Te===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==Te)n=this.activeLink=new Yu(Te,this),Te.deps?(n.prevDep=Te.depsTail,Te.depsTail.nextDep=n,Te.depsTail=n):Te.deps=Te.depsTail=n,Pi(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=Te.depsTail,n.nextDep=void 0,Te.depsTail.nextDep=n,Te.depsTail=n,Te.deps===n&&(Te.deps=r)}return n}trigger(t){this.version++,On++,this.notify(t)}notify(t){ss();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{os()}}}function Pi(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)Pi(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(""),ls=Symbol(""),Fn=Symbol("");function Ge(e,t,n){if(_t&&Te){let r=hr.get(e);r||hr.set(e,r=new Map);let s=r.get(n);s||(r.set(n,s=new as),s.map=r,s.key=n),s.track()}}function Nt(e,t,n,r,s,o){const i=hr.get(e);if(!i){On++;return}const c=a=>{a&&a.trigger()};if(ss(),t==="clear")i.forEach(c);else{const a=oe(e),l=a&&Qr(n);if(a&&n==="length"){const u=Number(r);i.forEach((f,p)=>{(p==="length"||p===Fn||!Rt(p)&&p>=u)&&c(f)})}else switch((n!==void 0||i.has(void 0))&&c(i.get(n)),l&&c(i.get(Fn)),t){case"add":a?l&&c(i.get("length")):(c(i.get(tn)),mn(e)&&c(i.get(ls)));break;case"delete":a||(c(i.get(tn)),mn(e)&&c(i.get(ls)));break;case"set":mn(e)&&c(i.get(tn));break}}os()}function Xu(e,t){const n=hr.get(e);return n&&n.get(t)}function bn(e){const t=_e(e);return t===e?t:(Ge(t,"iterate",Fn),ft(e)?t:t.map(Ke))}function pr(e){return Ge(e=_e(e),"iterate",Fn),e}const Qu={__proto__:null,[Symbol.iterator](){return us(this,Symbol.iterator,Ke)},concat(...e){return bn(this).concat(...e.map(t=>oe(t)?bn(t):t))},entries(){return us(this,"entries",e=>(e[1]=Ke(e[1]),e))},every(e,t){return It(this,"every",e,t,void 0,arguments)},filter(e,t){return It(this,"filter",e,t,n=>n.map(Ke),arguments)},find(e,t){return It(this,"find",e,t,Ke,arguments)},findIndex(e,t){return It(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return It(this,"findLast",e,t,Ke,arguments)},findLastIndex(e,t){return It(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return It(this,"forEach",e,t,void 0,arguments)},includes(...e){return fs(this,"includes",e)},indexOf(...e){return fs(this,"indexOf",e)},join(e){return bn(this).join(e)},lastIndexOf(...e){return fs(this,"lastIndexOf",e)},map(e,t){return It(this,"map",e,t,void 0,arguments)},pop(){return Pn(this,"pop")},push(...e){return Pn(this,"push",e)},reduce(e,...t){return Bi(this,"reduce",e,t)},reduceRight(e,...t){return Bi(this,"reduceRight",e,t)},shift(){return Pn(this,"shift")},some(e,t){return It(this,"some",e,t,void 0,arguments)},splice(...e){return Pn(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 Pn(this,"unshift",e)},values(){return us(this,"values",Ke)}};function us(e,t,n){const r=pr(e),s=r[t]();return r!==e&&!ft(e)&&(s._next=s.next,s.next=()=>{const o=s._next();return o.value&&(o.value=n(o.value)),o}),s}const ef=Array.prototype;function It(e,t,n,r,s,o){const i=pr(e),c=i!==e&&!ft(e),a=i[t];if(a!==ef[t]){const f=a.apply(e,o);return c?Ke(f):f}let l=n;i!==e&&(c?l=function(f,p){return n.call(this,Ke(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 Bi(e,t,n,r){const s=pr(e);let o=n;return s!==e&&(ft(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,Ke(c),a,e)}),s[t](o,...r)}function fs(e,t,n){const r=_e(e);Ge(r,"iterate",Fn);const s=r[t](...n);return(s===-1||s===!1)&&gs(n[0])?(n[0]=_e(n[0]),r[t](...n)):s}function Pn(e,t,n=[]){qt(),ss();const r=_e(e)[t].apply(e,n);return os(),Lt(),r}const tf=Qt("__proto__,__v_isRef,__isVue"),$i=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Rt));function nf(e){Rt(e)||(e=String(e));const t=_e(this);return Ge(t,"has",e),t.hasOwnProperty(e)}class Ui{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?Ki:Gi:o?ji:Vi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=oe(t);if(!s){let a;if(i&&(a=Qu[n]))return a;if(n==="hasOwnProperty")return nf}const c=Reflect.get(t,n,Fe(t)?t:r);return(Rt(n)?$i.has(n):tf(n))||(s||Ge(t,"get",n),o)?c:Fe(c)?i&&Qr(n)?c:c.value:Re(c)?s?ds(c):ps(c):c}}class zi extends Ui{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._isShallow){const a=nn(o);if(!ft(r)&&!nn(r)&&(o=_e(o),r=_e(r)),!oe(t)&&Fe(o)&&!Fe(r))return a?!1:(o.value=r,!0)}const i=oe(t)&&Qr(n)?Number(n)<t.length:ye(t,n),c=Reflect.set(t,n,r,Fe(t)?t:s);return t===_e(s)&&(i?zt(r,o)&&Nt(t,"set",n,r):Nt(t,"add",n,r)),c}deleteProperty(t,n){const r=ye(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&Nt(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!Rt(n)||!$i.has(n))&&Ge(t,"has",n),r}ownKeys(t){return Ge(t,"iterate",oe(t)?"length":tn),Reflect.ownKeys(t)}}class Hi extends Ui{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const rf=new zi,sf=new Hi,of=new zi(!0),cf=new Hi(!0),hs=e=>e,dr=e=>Reflect.getPrototypeOf(e);function af(e,t,n){return function(...r){const s=this.__v_raw,o=_e(s),i=mn(o),c=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,l=s[e](...r),u=n?hs:t?ms:Ke;return!t&&Ge(o,"iterate",a?ls: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 lf(e,t){const n={get(s){const o=this.__v_raw,i=_e(o),c=_e(s);e||(zt(s,c)&&Ge(i,"get",s),Ge(i,"get",c));const{has:a}=dr(i),l=t?hs:e?ms:Ke;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&&Ge(_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)&&Ge(i,"has",s),Ge(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?hs:e?ms:Ke;return!e&&Ge(a,"iterate",tn),c.forEach((u,f)=>s.call(o,l(u),l(f),i))}};return Be(n,e?{add:gr("add"),set:gr("set"),delete:gr("delete"),clear:gr("clear")}:{add(s){!t&&!ft(s)&&!nn(s)&&(s=_e(s));const o=_e(this);return dr(o).has.call(o,s)||(o.add(s),Nt(o,"add",s,s)),this},set(s,o){!t&&!ft(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)&&Nt(i,"set",s,o):Nt(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&&Nt(o,"delete",s,void 0),l},clear(){const s=_e(this),o=s.size!==0,i=s.clear();return o&&Nt(s,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=af(s,e,t)}),n}function mr(e,t){const n=lf(e,t);return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(ye(n,s)&&s in r?n:r,s,o)}const uf={get:mr(!1,!1)},ff={get:mr(!1,!0)},hf={get:mr(!0,!1)},pf={get:mr(!0,!0)},Vi=new WeakMap,ji=new WeakMap,Gi=new WeakMap,Ki=new WeakMap;function df(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function gf(e){return e.__v_skip||!Object.isExtensible(e)?0:df(Bu(e))}function ps(e){return nn(e)?e:_r(e,!1,rf,uf,Vi)}function mf(e){return _r(e,!1,of,ff,ji)}function ds(e){return _r(e,!0,sf,hf,Gi)}function Xm(e){return _r(e,!0,cf,pf,Ki)}function _r(e,t,n,r,s){if(!Re(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=gf(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 ft(e){return!!(e&&e.__v_isShallow)}function gs(e){return e?!!e.__v_raw:!1}function _e(e){const t=e&&e.__v_raw;return t?_e(t):e}function _f(e){return!ye(e,"__v_skip")&&Object.isExtensible(e)&&ki(e,"__v_skip",!0),e}const Ke=e=>Re(e)?ps(e):e,ms=e=>Re(e)?ds(e):e;function Fe(e){return e?e.__v_isRef===!0:!1}function Ze(e){return bf(e,!1)}function bf(e,t){return Fe(e)?e:new vf(e,t)}class vf{constructor(t,n){this.dep=new as,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:_e(t),this._value=n?t:Ke(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||ft(t)||nn(t);t=r?t:_e(t),zt(t,n)&&(this._rawValue=t,this._value=r?t:Ke(t),this.dep.trigger())}}function pe(e){return Fe(e)?e.value:e}const yf={get:(e,t,n)=>t==="__v_raw"?e:pe(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Fe(s)&&!Fe(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Zi(e){return vn(e)?e:new Proxy(e,yf)}function xf(e){const t=oe(e)?new Array(e.length):{};for(const n in e)t[n]=kf(e,n);return t}class Ef{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 Xu(_e(this._object),this._key)}}function kf(e,t,n){const r=e[t];return Fe(r)?r:new Ef(e,t,n)}class wf{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new as(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=On-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&Te!==this)return Li(this,!0),!0}get value(){const t=this.dep.track();return Mi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Af(e,t,n=!1){let r,s;return ae(e)?r=e:(r=e.get,s=e.set),new wf(r,s,n)}const br={},vr=new WeakMap;let rn;function Cf(e,t=!1,n=rn){if(n){let r=vr.get(n);r||vr.set(n,r=[]),r.push(e)}}function Sf(e,t,n=we){const{immediate:r,deep:s,once:o,scheduler:i,augmentJob:c,call:a}=n,l=d=>s?d:ft(d)||s===!1||s===0?Mt(d,1):Mt(d);let u,f,p,h,m=!1,x=!1;if(Fe(e)?(f=()=>e.value,m=ft(e)):vn(e)?(f=()=>l(e),m=!0):oe(e)?(x=!0,m=e.some(d=>vn(d)||ft(d)),f=()=>e.map(d=>{if(Fe(d))return d.value;if(vn(d))return l(d);if(ae(d))return a?a(d,2):d()})):ae(e)?t?f=a?()=>a(e,2):e:f=()=>{if(p){qt();try{p()}finally{Lt()}}const d=rn;rn=u;try{return a?a(e,3,[h]):e(h)}finally{rn=d}}:f=yt,t&&s){const d=f,k=s===!0?1/0:s;f=()=>Mt(d(),k)}const A=Di(),v=()=>{u.stop(),A&&A.active&&Xr(A.effects,u)};if(o&&t){const d=t;t=(...k)=>{d(...k),v()}}let E=x?new Array(e.length).fill(br):br;const b=d=>{if(!(!(u.flags&1)||!u.dirty&&!d))if(t){const k=u.run();if(s||m||(x?k.some((w,$)=>zt(w,E[$])):zt(k,E))){p&&p();const w=rn;rn=u;try{const $=[k,E===br?void 0:x&&E[0]===br?[]:E,h];a?a(t,3,$):t(...$),E=k}finally{rn=w}}}else u.run()};return c&&c(b),u=new Ri(f),u.scheduler=i?()=>i(b,!1):b,h=d=>Cf(d,!1,u),p=u.onStop=()=>{const d=vr.get(u);if(d){if(a)a(d,4);else for(const k of d)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 Mt(e,t=1/0,n){if(t<=0||!Re(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Fe(e))Mt(e.value,t,n);else if(oe(e))for(let r=0;r<e.length;r++)Mt(e[r],t,n);else if(vi(e)||mn(e))e.forEach(r=>{Mt(r,t,n)});else if(Ei(e)){for(const r in e)Mt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Mt(e[r],t,n)}return e}/**
10
10
  * @vue/runtime-core v3.5.13
11
11
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
12
  * @license MIT
13
- **/const Bn=[];let ms=!1;function Jm(e,...t){if(ms)return;ms=!0,Rt();const n=Bn.length?Bn[Bn.length-1].component:null,r=n&&n.appContext.config.warnHandler,s=Af();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 <${Jc(n,o.type)}>`).join(`
13
+ **/const Bn=[];let _s=!1;function Qm(e,...t){if(_s)return;_s=!0,qt();const n=Bn.length?Bn[Bn.length-1].component:null,r=n&&n.appContext.config.warnHandler,s=Tf();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 <${Qc(n,o.type)}>`).join(`
14
14
  `),s]);else{const o=[`[Vue warn]: ${e}`,...t];s.length&&o.push(`
15
- `,...Cf(s)),console.warn(...o)}qt(),ms=!1}function Af(){let e=Bn[Bn.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 Cf(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
16
- `],...Sf(n))}),t}function Sf({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,s=` at <${Jc(e.component,e.type,r)}`,o=">"+n;return e.props?[s,...Tf(e.props),o]:[s+o]}function Tf(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...Wi(r,e[r]))}),n.length>3&&t.push(" ..."),t}function Wi(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}`]:Fe(t)?(t=Wi(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&&yi(s)&&s.catch(o=>{yr(o,t,n)}),s}if(oe(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}}Df(e,n,s,r,i)}function Df(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 Ji=Promise.resolve();let xr=null;function kn(e){const t=xr||Ji;return e?t.then(this?e.bind(this):e):t}function Rf(e){let t=xt+1,n=Xe.length;for(;t<n;){const r=t+n>>>1,s=Xe[r],o=$n(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function _s(e){if(!(e.flags&1)){const t=$n(e),n=Xe[Xe.length-1];!n||!(e.flags&2)&&t>=$n(n)?Xe.push(e):Xe.splice(Rf(t),0,e),e.flags|=1,Yi()}}function Yi(){xr||(xr=Ji.then(ec))}function qf(e){oe(e)?xn.push(...e):Ht&&e.id===-1?Ht.splice(En+1,0,e):e.flags&1||(xn.push(e),e.flags|=1),Yi()}function Xi(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 Qi(e){if(xn.length){const t=[...new Set(xn)].sort((n,r)=>$n(n)-$n(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 $n=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ec(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,Qi(),xr=null,(Xe.length||xn.length)&&ec()}}let $e=null,tc=null;function Er(e){const t=$e;return $e=e,tc=e&&e.type.__scopeId||null,t}function Mt(e,t=$e,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Uc(-1);const o=Er(t);let i;try{i=e(...s)}finally{Er(o),r._d&&Uc(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function nc(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 rn(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 Lf=Symbol("_vte"),rc=e=>e.__isTeleport,Vt=Symbol("_leaveCb"),kr=Symbol("_enterCb");function Nf(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return jt(()=>{e.isMounted=!0}),ys(()=>{e.isUnmounting=!0}),e}const ht=[Function,Array],sc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ht,onEnter:ht,onAfterEnter:ht,onEnterCancelled:ht,onBeforeLeave:ht,onLeave:ht,onAfterLeave:ht,onLeaveCancelled:ht,onBeforeAppear:ht,onAppear:ht,onAfterAppear:ht,onAppearCancelled:ht},oc=e=>{const t=e.subTree;return t.component?oc(t.component):t},If={name:"BaseTransition",props:sc,setup(e,{slots:t}){const n=Dh(),r=Nf();return()=>{const s=t.default&&lc(t.default(),!0);if(!s||!s.length)return;const o=ic(s),i=_e(e),{mode:c}=i;if(r.isLeaving)return vs(o);const a=ac(o);if(!a)return vs(o);let l=bs(a,i,r,n,f=>l=f);a.type!==et&&Un(a,l);let u=n.subTree&&ac(n.subTree);if(u&&u.type!==et&&!on(a,u)&&oc(n).type!==et){let f=bs(u,i,r,n);if(Un(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},vs(o);c==="in-out"&&a.type!==et?f.delayLeave=(p,h,m)=>{const x=cc(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 ic(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==et){t=n;break}}return t}const Mf=If;function cc(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 bs(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,d=String(e.key),k=cc(n,e),w=(D,q)=>{D&&bt(D,r,9,q)},$=(D,q)=>{const F=q[1];w(D,q),oe(D)?D.every(L=>L.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[d];F&&on(e,F)&&F.el[Vt]&&F.el[Vt](),w(q,[D])},enter(D){let q=l,F=u,L=f;if(!n.isMounted)if(o)q=v||l,F=E||u,L=b||f;else return;let re=!1;const S=D[kr]=U=>{re||(re=!0,U?w(L,[D]):w(F,[D]),T.delayedLeave&&T.delayedLeave(),D[kr]=void 0)};q?$(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 L=!1;const re=D[Vt]=S=>{L||(L=!0,q(),S?w(x,[D]):w(m,[D]),D[Vt]=void 0,k[F]===e&&delete k[F])};k[F]=e,h?$(h,[D,re]):re()},clone(D){const q=bs(D,t,n,r,s);return s&&s(q),q}};return T}function vs(e){if(Ar(e))return e=Kt(e),e.children=null,e}function ac(e){if(!Ar(e))return rc(e.type)&&e.children?ic(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 Un(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Un(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 lc(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===ze?(i.patchFlag&128&&s++,r=r.concat(lc(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 pt(e,t){return ae(e)?Be({name:e.name},t,{setup:e}):e}function uc(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function wr(e,t,n,r,s=!1){if(oe(e)){e.forEach((m,x)=>wr(m,t&&(oe(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=>ye(p,m);if(l!=null&&l!==a&&(Le(l)?(u[l]=null,h(l)&&(f[l]=null)):Fe(l)&&(l.value=null)),ae(a))yn(a,c,12,[i,u]);else{const m=Le(a),x=Fe(a);if(m||x){const A=()=>{if(e.f){const v=m?h(a)?f[a]:u[a]:a.value;s?oe(v)&&Yr(v,o):oe(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,it(A,n)):A()}}}fr().requestIdleCallback,fr().cancelIdleCallback;const wn=e=>!!e.type.__asyncLoader,Ar=e=>e.type.__isKeepAlive;function Of(e,t){fc(e,"a",t)}function Ff(e,t){fc(e,"da",t)}function fc(e,t,n=He){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)&&Pf(r,t,n,s),s=s.parent}}function Pf(e,t,n,r){const s=Cr(t,e,r,!0);xs(()=>{Yr(r[t],s)},n)}function Cr(e,t,n=He,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Rt();const c=Kn(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=He)=>{(!Zn||e==="sp")&&Cr(e,(...r)=>t(...r),n)},Bf=Ot("bm"),jt=Ot("m"),$f=Ot("bu"),Uf=Ot("u"),ys=Ot("bum"),xs=Ot("um"),zf=Ot("sp"),Hf=Ot("rtg"),Vf=Ot("rtc");function jf(e,t=He){Cr("ec",e,t)}const Gf="components",hc=Symbol.for("v-ndc");function Kf(e){return Le(e)?Zf(Gf,e,!1)||e:e||hc}function Zf(e,t,n=!0,r=!1){const s=$e||He;if(s){const o=s.type;{const c=Wc(o,!1);if(c&&(c===t||c===ut(t)||c===lr(ut(t))))return o}const i=pc(s[e]||o[e],t)||pc(s.appContext[e],t);return!i&&r?o:i}}function pc(e,t){return e&&(e[t]||e[ut(t)]||e[lr(ut(t))])}function Sr(e,t,n,r){let s;const o=n,i=oe(e);if(i||Le(e)){const c=i&&vn(e);let a=!1;c&&(a=!ft(e),e=pr(e)),s=new Array(e.length);for(let l=0,u=e.length;l<u;l++)s[l]=t(a?Ke(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),ee(),Me(ze,null,[Re("slot",n,r&&r())],64);let o=e[t];o&&o._c&&(o._d=!1),ee();const i=o&&dc(o(n)),c=n.key||i&&i.key,a=Me(ze,{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 dc(e){return e.some(t=>Gn(t)?!(t.type===et||t.type===ze&&!dc(t.children)):!0)?e:null}const Es=e=>e?Gc(e)?Ir(e):Es(e.parent):null,zn=Be(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=>Es(e.parent),$root:e=>Es(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>bc(e),$forceUpdate:e=>e.f||(e.f=()=>{_s(e.update)}),$nextTick:e=>e.n||(e.n=kn.bind(e.proxy)),$watch:e=>mh.bind(e)}),ks=(e,t)=>e!==ke&&!e.__isScriptSetup&&ye(e,t),Wf={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(ks(r,t))return i[t]=1,r[t];if(s!==ke&&ye(s,t))return i[t]=2,s[t];if((l=e.propsOptions[0])&&ye(l,t))return i[t]=3,o[t];if(n!==ke&&ye(n,t))return i[t]=4,n[t];ws&&(i[t]=0)}}const u=zn[t];let f,p;if(u)return t==="$attrs"&&Ge(e.attrs,"get",""),u(e);if((f=c.__cssModules)&&(f=f[t]))return f;if(n!==ke&&ye(n,t))return i[t]=4,n[t];if(p=a.config.globalProperties,ye(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return ks(s,t)?(s[t]=n,!0):r!==ke&&ye(r,t)?(r[t]=n,!0):ye(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&&ye(e,i)||ks(t,i)||(c=o[0])&&ye(c,i)||ye(r,i)||ye(zn,i)||ye(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ye(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function gc(e){return oe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ws=!0;function Jf(e){const t=bc(e),n=e.proxy,r=e.ctx;ws=!1,t.beforeCreate&&mc(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:d,render:k,renderTracked:w,renderTriggered:$,errorCaptured:T,serverPrefetch:D,expose:q,inheritAttrs:F,components:L,directives:re,filters:S}=t;if(l&&Yf(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=hs(Y))}if(ws=!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)_c(c[Y],r,n,Y);if(a){const Y=ae(a)?a.call(n):a;Reflect.ownKeys(Y).forEach(Z=>{rh(Z,Y[Z])})}u&&mc(u,e,"c");function K(Y,Z){oe(Z)?Z.forEach(fe=>Y(fe.bind(n))):Z&&Y(Z.bind(n))}if(K(Bf,f),K(jt,p),K($f,h),K(Uf,m),K(Of,x),K(Ff,A),K(jf,T),K(Vf,w),K(Hf,$),K(ys,E),K(xs,d),K(zf,D),oe(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),L&&(e.components=L),re&&(e.directives=re),D&&uc(e)}function Yf(e,t,n=yt){oe(e)&&(e=As(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),Fe(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function mc(e,t,n){bt(oe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function _c(e,t,n,r){let s=r.includes(".")?Oc(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(oe(e))e.forEach(o=>_c(o,t,n,r));else{const o=ae(e.handler)?e.handler.bind(n):t[e.handler];ae(o)&&Dr(s,o,e)}}function bc(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=Xf[i]||n&&n[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const Xf={data:vc,props:yc,emits:yc,methods:Hn,computed:Hn,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:Hn,directives:Hn,watch:eh,provide:vc,inject:Qf};function vc(e,t){return t?e?function(){return Be(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function Qf(e,t){return Hn(As(e),As(t))}function As(e){if(oe(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 Hn(e,t){return e?Be(Object.create(null),e,t):t}function yc(e,t){return e?oe(e)&&oe(t)?[...new Set([...e,...t])]:Be(Object.create(null),gc(e),gc(t??{})):t}function eh(e,t){if(!e)return t;if(!t)return e;const n=Be(Object.create(null),e);for(const r in t)n[r]=Qe(e[r],t[r]);return n}function xc(){return{app:null,config:{isNativeTag:Iu,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 th=0;function nh(e,t){return function(r,s=null){ae(r)||(r=Be({},r)),s!=null&&!De(s)&&(s=null);const o=xc(),i=new WeakSet,c=[];let a=!1;const l=o.app={_uid:th++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Fh,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),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 rh(e,t){if(He){let n=He.provides;const r=He.parent&&He.parent.provides;r===n&&(n=He.provides=Object.create(r)),n[e]=t}}function Cn(e,t,n=!1){const r=He||$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 Ec={},kc=()=>Object.create(Ec),wc=e=>Object.getPrototypeOf(e)===Ec;function sh(e,t,n,r=!1){const s={},o=kc();e.propsDefaults=Object.create(null),Ac(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:pf(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function oh(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(ye(o,p))h!==o[p]&&(o[p]=h,l=!0);else{const m=ut(p);s[m]=Cs(a,c,m,h,e,!1)}else h!==o[p]&&(o[p]=h,l=!0)}}}else{Ac(e,t,s,o)&&(l=!0);let u;for(const f in c)(!t||!ye(t,f)&&((u=Ut(f))===f||!ye(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(s[f]=Cs(a,c,f,void 0,e,!0)):delete s[f]);if(o!==c)for(const f in o)(!t||!ye(t,f))&&(delete o[f],l=!0)}l&&Lt(e.attrs,"set","")}function Ac(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,c;if(t)for(let a in t){if(Ln(a))continue;const l=t[a];let u;s&&ye(s,u=ut(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]=Cs(s,a,f,l[f],e,!ye(l,f))}}return i}function Cs(e,t,n,r,s,o){const i=e[n];if(i!=null){const c=ye(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=Kn(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 ih=new WeakMap;function Cc(e,t,n=!1){const r=n?ih: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]=Cc(f,t,!0);Be(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(oe(o))for(let u=0;u<o.length;u++){const f=ut(o[u]);Sc(f)&&(i[f]=ke)}else if(o)for(const u in o){const f=ut(u);if(Sc(f)){const p=o[u],h=i[f]=oe(p)||ae(p)?{type:p}:Be({},p),m=h.type;let x=!1,A=!0;if(oe(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||ye(h,"default"))&&c.push(f)}}const l=[i,c];return De(e)&&r.set(e,l),l}function Sc(e){return e[0]!=="$"&&!Ln(e)}const Tc=e=>e[0]==="_"||e==="$stable",Ss=e=>oe(e)?e.map(Et):[Et(e)],ch=(e,t,n)=>{if(t._n)return t;const r=Mt((...s)=>Ss(t(...s)),n);return r._c=!1,r},Dc=(e,t,n)=>{const r=e._ctx;for(const s in e){if(Tc(s))continue;const o=e[s];if(ae(o))t[s]=ch(s,o,r);else if(o!=null){const i=Ss(o);t[s]=()=>i}}},Rc=(e,t)=>{const n=Ss(t);e.slots.default=()=>n},qc=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},ah=(e,t,n)=>{const r=e.slots=kc();if(e.vnode.shapeFlag&32){const s=t._;s?(qc(r,t,n),n&&ki(r,"_",s,!0)):Dc(t,r)}else t&&Rc(e,t)},lh=(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:qc(s,t,n):(o=!t.$stable,Dc(t,s)),i=t}else t&&(Rc(e,t),i={default:1});if(o)for(const c in s)!Tc(c)&&i[c]==null&&delete s[c]},it=kh;function uh(e){return fh(e)}function fh(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=(g,y,C,M=null,N=null,I=null,V=void 0,z=null,B=!!y.dynamicChildren)=>{if(g===y)return;g&&!on(g,y)&&(M=Rn(g),Ce(g,N,I,!0),g=null),y.patchFlag===-2&&(B=!1,y.dynamicChildren=null);const{type:O,ref:se,shapeFlag:G}=y;switch(O){case qr:A(g,y,C,M);break;case et:v(g,y,C,M);break;case Ds:g==null&&E(y,C,M,V);break;case ze:L(g,y,C,M,N,I,V,z,B);break;default:G&1?k(g,y,C,M,N,I,V,z,B):G&6?re(g,y,C,M,N,I,V,z,B):(G&64||G&128)&&O.process(g,y,C,M,N,I,V,z,B,Ct)}se!=null&&N&&wr(se,g&&g.ref,I,y||g,!y)},A=(g,y,C,M)=>{if(g==null)r(y.el=c(y.children),C,M);else{const N=y.el=g.el;y.children!==g.children&&l(N,y.children)}},v=(g,y,C,M)=>{g==null?r(y.el=a(y.children||""),C,M):y.el=g.el},E=(g,y,C,M)=>{[g.el,g.anchor]=m(g.children,y,C,M,g.el,g.anchor)},b=({el:g,anchor:y},C,M)=>{let N;for(;g&&g!==y;)N=p(g),r(g,C,M),g=N;r(y,C,M)},d=({el:g,anchor:y})=>{let C;for(;g&&g!==y;)C=p(g),s(g),g=C;s(y)},k=(g,y,C,M,N,I,V,z,B)=>{y.type==="svg"?V="svg":y.type==="math"&&(V="mathml"),g==null?w(y,C,M,N,I,V,z,B):D(g,y,N,I,V,z,B)},w=(g,y,C,M,N,I,V,z)=>{let B,O;const{props:se,shapeFlag:G,transition:X,dirs:ie}=g;if(B=g.el=i(g.type,I,se&&se.is,se),G&8?u(B,g.children):G&16&&T(g.children,B,null,M,N,Ts(g,I),V,z),ie&&rn(g,null,M,"created"),$(B,g,g.scopeId,V,M),se){for(const ve in se)ve!=="value"&&!Ln(ve)&&o(B,ve,null,se[ve],I,M);"value"in se&&o(B,"value",null,se.value,I),(O=se.onVnodeBeforeMount)&&kt(O,M,g)}ie&&rn(g,null,M,"beforeMount");const he=hh(N,X);he&&X.beforeEnter(B),r(B,y,C),((O=se&&se.onVnodeMounted)||he||ie)&&it(()=>{O&&kt(O,M,g),he&&X.enter(B),ie&&rn(g,null,M,"mounted")},N)},$=(g,y,C,M,N)=>{if(C&&h(g,C),M)for(let I=0;I<M.length;I++)h(g,M[I]);if(N){let I=N.subTree;if(y===I||$c(I.type)&&(I.ssContent===y||I.ssFallback===y)){const V=N.vnode;$(g,V,V.scopeId,V.slotScopeIds,N.parent)}}},T=(g,y,C,M,N,I,V,z,B=0)=>{for(let O=B;O<g.length;O++){const se=g[O]=z?Zt(g[O]):Et(g[O]);x(null,se,y,C,M,N,I,V,z)}},D=(g,y,C,M,N,I,V)=>{const z=y.el=g.el;let{patchFlag:B,dynamicChildren:O,dirs:se}=y;B|=g.patchFlag&16;const G=g.props||ke,X=y.props||ke;let ie;if(C&&sn(C,!1),(ie=X.onVnodeBeforeUpdate)&&kt(ie,C,y,g),se&&rn(y,g,C,"beforeUpdate"),C&&sn(C,!0),(G.innerHTML&&X.innerHTML==null||G.textContent&&X.textContent==null)&&u(z,""),O?q(g.dynamicChildren,O,z,C,M,Ts(y,N),I):V||Z(g,y,z,null,C,M,Ts(y,N),I,!1),B>0){if(B&16)F(z,G,X,C,N);else if(B&2&&G.class!==X.class&&o(z,"class",null,X.class,N),B&4&&o(z,"style",G.style,X.style,N),B&8){const he=y.dynamicProps;for(let ve=0;ve<he.length;ve++){const be=he[ve],nt=G[be],We=X[be];(We!==nt||be==="value")&&o(z,be,nt,We,N,C)}}B&1&&g.children!==y.children&&u(z,y.children)}else!V&&O==null&&F(z,G,X,C,N);((ie=X.onVnodeUpdated)||se)&&it(()=>{ie&&kt(ie,C,y,g),se&&rn(y,g,C,"updated")},M)},q=(g,y,C,M,N,I,V)=>{for(let z=0;z<y.length;z++){const B=g[z],O=y[z],se=B.el&&(B.type===ze||!on(B,O)||B.shapeFlag&70)?f(B.el):C;x(B,O,se,null,M,N,I,V,!0)}},F=(g,y,C,M,N)=>{if(y!==C){if(y!==ke)for(const I in y)!Ln(I)&&!(I in C)&&o(g,I,y[I],null,N,M);for(const I in C){if(Ln(I))continue;const V=C[I],z=y[I];V!==z&&I!=="value"&&o(g,I,z,V,N,M)}"value"in C&&o(g,"value",y.value,C.value,N)}},L=(g,y,C,M,N,I,V,z,B)=>{const O=y.el=g?g.el:c(""),se=y.anchor=g?g.anchor:c("");let{patchFlag:G,dynamicChildren:X,slotScopeIds:ie}=y;ie&&(z=z?z.concat(ie):ie),g==null?(r(O,C,M),r(se,C,M),T(y.children||[],C,se,N,I,V,z,B)):G>0&&G&64&&X&&g.dynamicChildren?(q(g.dynamicChildren,X,C,N,I,V,z),(y.key!=null||N&&y===N.subTree)&&Lc(g,y,!0)):Z(g,y,C,se,N,I,V,z,B)},re=(g,y,C,M,N,I,V,z,B)=>{y.slotScopeIds=z,g==null?y.shapeFlag&512?N.ctx.activate(y,C,M,V,B):S(y,C,M,N,I,V,B):U(g,y,B)},S=(g,y,C,M,N,I,V)=>{const z=g.component=Th(g,M,N);if(Ar(g)&&(z.ctx.renderer=Ct),Rh(z,!1,V),z.asyncDep){if(N&&N.registerDep(z,K,V),!g.el){const B=z.subTree=Re(et);v(null,B,y,C)}}else K(z,g,y,C,N,I,V)},U=(g,y,C)=>{const M=y.component=g.component;if(xh(g,y,C))if(M.asyncDep&&!M.asyncResolved){Y(M,y,C);return}else M.next=y,M.update();else y.el=g.el,M.vnode=y},K=(g,y,C,M,N,I,V)=>{const z=()=>{if(g.isMounted){let{next:G,bu:X,u:ie,parent:he,vnode:ve}=g;{const gt=Nc(g);if(gt){G&&(G.el=ve.el,Y(g,G,V)),gt.asyncDep.then(()=>{g.isUnmounted||z()});return}}let be=G,nt;sn(g,!1),G?(G.el=ve.el,Y(g,G,V)):G=ve,X&&ur(X),(nt=G.props&&G.props.onVnodeBeforeUpdate)&&kt(nt,he,G,ve),sn(g,!0);const We=Pc(g),dt=g.subTree;g.subTree=We,x(dt,We,f(dt.el),Rn(dt),g,N,I),G.el=We.el,be===null&&Eh(g,We.el),ie&&it(ie,N),(nt=G.props&&G.props.onVnodeUpdated)&&it(()=>kt(nt,he,G,ve),N)}else{let G;const{el:X,props:ie}=y,{bm:he,m:ve,parent:be,root:nt,type:We}=g,dt=wn(y);sn(g,!1),he&&ur(he),!dt&&(G=ie&&ie.onVnodeBeforeMount)&&kt(G,be,y),sn(g,!0);{nt.ce&&nt.ce._injectChildStyle(We);const gt=g.subTree=Pc(g);x(null,gt,C,M,g,N,I),y.el=gt.el}if(ve&&it(ve,N),!dt&&(G=ie&&ie.onVnodeMounted)){const gt=y;it(()=>kt(G,be,gt),N)}(y.shapeFlag&256||be&&wn(be.vnode)&&be.vnode.shapeFlag&256)&&g.a&&it(g.a,N),g.isMounted=!0,y=C=M=null}};g.scope.on();const B=g.effect=new Ri(z);g.scope.off();const O=g.update=B.run.bind(B),se=g.job=B.runIfDirty.bind(B);se.i=g,se.id=g.uid,B.scheduler=()=>_s(se),sn(g,!0),O()},Y=(g,y,C)=>{y.component=g;const M=g.vnode.props;g.vnode=y,g.next=null,oh(g,y.props,M,C),lh(g,y.children,C),Rt(),Xi(g),qt()},Z=(g,y,C,M,N,I,V,z,B=!1)=>{const O=g&&g.children,se=g?g.shapeFlag:0,G=y.children,{patchFlag:X,shapeFlag:ie}=y;if(X>0){if(X&128){J(O,G,C,M,N,I,V,z,B);return}else if(X&256){fe(O,G,C,M,N,I,V,z,B);return}}ie&8?(se&16&&un(O,N,I),G!==O&&u(C,G)):se&16?ie&16?J(O,G,C,M,N,I,V,z,B):un(O,N,I,!0):(se&8&&u(C,""),ie&16&&T(G,C,M,N,I,V,z,B))},fe=(g,y,C,M,N,I,V,z,B)=>{g=g||dn,y=y||dn;const O=g.length,se=y.length,G=Math.min(O,se);let X;for(X=0;X<G;X++){const ie=y[X]=B?Zt(y[X]):Et(y[X]);x(g[X],ie,C,null,N,I,V,z,B)}O>se?un(g,N,I,!0,!1,G):T(y,C,M,N,I,V,z,B,G)},J=(g,y,C,M,N,I,V,z,B)=>{let O=0;const se=y.length;let G=g.length-1,X=se-1;for(;O<=G&&O<=X;){const ie=g[O],he=y[O]=B?Zt(y[O]):Et(y[O]);if(on(ie,he))x(ie,he,C,null,N,I,V,z,B);else break;O++}for(;O<=G&&O<=X;){const ie=g[G],he=y[X]=B?Zt(y[X]):Et(y[X]);if(on(ie,he))x(ie,he,C,null,N,I,V,z,B);else break;G--,X--}if(O>G){if(O<=X){const ie=X+1,he=ie<se?y[ie].el:M;for(;O<=X;)x(null,y[O]=B?Zt(y[O]):Et(y[O]),C,he,N,I,V,z,B),O++}}else if(O>X)for(;O<=G;)Ce(g[O],N,I,!0),O++;else{const ie=O,he=O,ve=new Map;for(O=he;O<=X;O++){const rt=y[O]=B?Zt(y[O]):Et(y[O]);rt.key!=null&&ve.set(rt.key,O)}let be,nt=0;const We=X-he+1;let dt=!1,gt=0;const fn=new Array(We);for(O=0;O<We;O++)fn[O]=0;for(O=ie;O<=G;O++){const rt=g[O];if(nt>=We){Ce(rt,N,I,!0);continue}let mt;if(rt.key!=null)mt=ve.get(rt.key);else for(be=he;be<=X;be++)if(fn[be-he]===0&&on(rt,y[be])){mt=be;break}mt===void 0?Ce(rt,N,I,!0):(fn[mt-he]=O+1,mt>=gt?gt=mt:dt=!0,x(rt,y[mt],C,null,N,I,V,z,B),nt++)}const sr=dt?ph(fn):dn;for(be=sr.length-1,O=We-1;O>=0;O--){const rt=he+O,mt=y[rt],Vr=rt+1<se?y[rt+1].el:M;fn[O]===0?x(null,mt,C,Vr,N,I,V,z,B):dt&&(be<0||O!==sr[be]?Ae(mt,C,Vr,2):be--)}}},Ae=(g,y,C,M,N=null)=>{const{el:I,type:V,transition:z,children:B,shapeFlag:O}=g;if(O&6){Ae(g.component.subTree,y,C,M);return}if(O&128){g.suspense.move(y,C,M);return}if(O&64){V.move(g,y,C,Ct);return}if(V===ze){r(I,y,C);for(let G=0;G<B.length;G++)Ae(B[G],y,C,M);r(g.anchor,y,C);return}if(V===Ds){b(g,y,C);return}if(M!==2&&O&1&&z)if(M===0)z.beforeEnter(I),r(I,y,C),it(()=>z.enter(I),N);else{const{leave:G,delayLeave:X,afterLeave:ie}=z,he=()=>r(I,y,C),ve=()=>{G(I,()=>{he(),ie&&ie()})};X?X(I,he,ve):ve()}else r(I,y,C)},Ce=(g,y,C,M=!1,N=!1)=>{const{type:I,props:V,ref:z,children:B,dynamicChildren:O,shapeFlag:se,patchFlag:G,dirs:X,cacheIndex:ie}=g;if(G===-2&&(N=!1),z!=null&&wr(z,null,C,g,!0),ie!=null&&(y.renderCache[ie]=void 0),se&256){y.ctx.deactivate(g);return}const he=se&1&&X,ve=!wn(g);let be;if(ve&&(be=V&&V.onVnodeBeforeUnmount)&&kt(be,y,g),se&6)ui(g.component,C,M);else{if(se&128){g.suspense.unmount(C,M);return}he&&rn(g,null,y,"beforeUnmount"),se&64?g.type.remove(g,y,C,Ct,M):O&&!O.hasOnce&&(I!==ze||G>0&&G&64)?un(O,y,C,!1,!0):(I===ze&&G&384||!N&&se&16)&&un(B,y,C),M&&ot(g)}(ve&&(be=V&&V.onVnodeUnmounted)||he)&&it(()=>{be&&kt(be,y,g),he&&rn(g,null,y,"unmounted")},C)},ot=g=>{const{type:y,el:C,anchor:M,transition:N}=g;if(y===ze){li(C,M);return}if(y===Ds){d(g);return}const I=()=>{s(C),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(g.shapeFlag&1&&N&&!N.persisted){const{leave:V,delayLeave:z}=N,B=()=>V(C,I);z?z(g.el,I,B):B()}else I()},li=(g,y)=>{let C;for(;g!==y;)C=p(g),s(g),g=C;s(y)},ui=(g,y,C)=>{const{bum:M,scope:N,job:I,subTree:V,um:z,m:B,a:O}=g;Ic(B),Ic(O),M&&ur(M),N.stop(),I&&(I.flags|=8,Ce(V,g,y,C)),z&&it(z,y),it(()=>{g.isUnmounted=!0},y),y&&y.pendingBranch&&!y.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===y.pendingId&&(y.deps--,y.deps===0&&y.resolve())},un=(g,y,C,M=!1,N=!1,I=0)=>{for(let V=I;V<g.length;V++)Ce(g[V],y,C,M,N)},Rn=g=>{if(g.shapeFlag&6)return Rn(g.component.subTree);if(g.shapeFlag&128)return g.suspense.next();const y=p(g.anchor||g.el),C=y&&y[Lf];return C?p(C):y};let rr=!1;const fi=(g,y,C)=>{g==null?y._vnode&&Ce(y._vnode,null,null,!0):x(y._vnode||null,g,y,null,null,null,C),y._vnode=g,rr||(rr=!0,Xi(),Qi(),rr=!1)},Ct={p:x,um:Ce,m:Ae,r:ot,mt:S,mc:T,pc:Z,pbc:q,n:Rn,o:e};return{render:fi,hydrate:void 0,createApp:nh(fi)}}function Ts({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 sn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function hh(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Lc(e,t,n=!1){const r=e.children,s=t.children;if(oe(r)&&oe(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&&Lc(i,c)),c.type===qr&&(c.el=i.el)}}function ph(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 Nc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Nc(t)}function Ic(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const dh=Symbol.for("v-scx"),gh=()=>Cn(dh);function Dr(e,t,n){return Mc(e,t,n)}function Mc(e,t,n=ke){const{immediate:r,deep:s,flush:o,once:i}=n,c=Be({},n),a=t&&r||!t&&o!=="post";let l;if(Zn){if(o==="sync"){const h=gh();l=h.__watcherHandles||(h.__watcherHandles=[])}else if(!a){const h=()=>{};return h.stop=yt,h.resume=yt,h.pause=yt,h}}const u=He;c.call=(h,m,x)=>bt(h,u,m,x);let f=!1;o==="post"?c.scheduler=h=>{it(h,u&&u.suspense)}:o!=="sync"&&(f=!0,c.scheduler=(h,m)=>{m?h():_s(h)}),c.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const p=wf(e,t,c);return Zn&&(l?l.push(p):a&&p()),p}function mh(e,t,n){const r=this.proxy,s=Le(e)?e.includes(".")?Oc(r,e):()=>r[e]:e.bind(r,r);let o;ae(t)?o=t:(o=t.handler,n=t);const i=Kn(this),c=Mc(s,o.bind(r),n);return i(),c}function Oc(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 _h=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ut(t)}Modifiers`]||e[`${Ut(t)}Modifiers`];function bh(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ke;let s=n;const o=t.startsWith("update:"),i=o&&_h(r,t.slice(7));i&&(i.trim&&(s=n.map(u=>Le(u)?u.trim():u)),i.number&&(s=n.map(es)));let c,a=r[c=Qr(t)]||r[c=Qr(ut(t))];!a&&o&&(a=r[c=Qr(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 Fc(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=Fc(l,t,!0);u&&(c=!0,Be(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):(oe(o)?o.forEach(a=>i[a]=null):Be(i,o),De(e)&&r.set(e,i),i)}function Rr(e,t){return!e||!ir(t)?!1:(t=t.slice(2).replace(/Once$/,""),ye(e,t[0].toLowerCase()+t.slice(1))||ye(e,Ut(t))||ye(e,t))}function Ym(){}function Pc(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 d=s||r,k=d;v=Et(l.call(k,d,u,f,h,p,m)),E=c}else{const d=t;v=Et(d.length>1?d(f,{attrs:c,slots:i,emit:a}):d(f,null)),E=t.props?c:vh(c)}}catch(d){Vn.length=0,yr(d,e,1),v=Re(et)}let b=v;if(E&&x!==!1){const d=Object.keys(E),{shapeFlag:k}=b;d.length&&k&7&&(o&&d.some(Jr)&&(E=yh(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&&Un(b,n.transition),v=b,Er(A),v}const vh=e=>{let t;for(const n in e)(n==="class"||n==="style"||ir(n))&&((t||(t={}))[n]=e[n]);return t},yh=(e,t)=>{const n={};for(const r in e)(!Jr(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function xh(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?Bc(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?Bc(r,i,l):!0:!!i;return!1}function Bc(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 Eh({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 $c=e=>e.__isSuspense;function kh(e,t){t&&t.pendingBranch?oe(e)?t.effects.push(...e):t.effects.push(e):qf(e)}const ze=Symbol.for("v-fgt"),qr=Symbol.for("v-txt"),et=Symbol.for("v-cmt"),Ds=Symbol.for("v-stc"),Vn=[];let ct=null;function ee(e=!1){Vn.push(ct=e?null:[])}function wh(){Vn.pop(),ct=Vn[Vn.length-1]||null}let jn=1;function Uc(e,t=!1){jn+=e,e<0&&ct&&t&&(ct.hasOnce=!0)}function zc(e){return e.dynamicChildren=jn>0?ct||dn:null,wh(),jn>0&&ct&&ct.push(e),e}function ge(e,t,n,r,s,o){return zc(we(e,t,n,r,s,o,!0))}function Me(e,t,n,r,s){return zc(Re(e,t,n,r,s,!0))}function Gn(e){return e?e.__v_isVNode===!0:!1}function on(e,t){return e.type===t.type&&e.key===t.key}const Hc=({key:e})=>e??null,Lr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Le(e)||Fe(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===ze?0:1,i=!1,c=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Hc(t),ref:t&&Lr(t),scopeId:tc,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?(qs(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=Le(n)?8:16),jn>0&&!i&&ct&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&ct.push(a),a}const Re=Ah;function Ah(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===hc)&&(e=et),Gn(e)){const c=Kt(e,t,!0);return n&&qs(c,n),jn>0&&!o&&ct&&(c.shapeFlag&6?ct[ct.indexOf(e)]=c:ct.push(c)),c.patchFlag=-2,c}if(Oh(e)&&(e=e.__vccOpts),t){t=Vc(t);let{class:c,style:a}=t;c&&!Le(c)&&(t.class=mn(c)),De(a)&&(ds(a)&&!oe(a)&&(a=Be({},a)),t.style=Nn(a))}const i=Le(e)?1:$c(e)?128:rc(e)?64:De(e)?4:ae(e)?2:0;return we(e,t,n,r,s,i,o,!0)}function Vc(e){return e?ds(e)||wc(e)?Be({},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?Ls(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Hc(l),ref:t&&t.ref?n&&o?oe(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!==ze?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&&Un(u,a.clone(u)),u}function Rs(e=" ",t=0){return Re(qr,null,e,t)}function at(e="",t=!1){return t?(ee(),Me(et,null,e)):Re(et,null,e)}function Et(e){return e==null||typeof e=="boolean"?Re(et):oe(e)?Re(ze,null,e.slice()):Gn(e)?Zt(e):Re(qr,null,String(e))}function Zt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Kt(e)}function qs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(oe(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),qs(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!wc(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=[Rs(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ls(...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=Nn([t.style,r.style]);else if(ir(s)){const o=t[s],i=r[s];i&&o!==i&&!(oe(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 Ch=xc();let Sh=0;function Th(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Ch,o={uid:Sh++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ju(!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:Cc(r,s),emitsOptions:Fc(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=bh.bind(null,o),e.ce&&e.ce(o),o}let He=null;const Dh=()=>He||$e;let Nr,Ns;{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=>He=n),Ns=t("__VUE_SSR_SETTERS__",n=>Zn=n)}const Kn=e=>{const t=He;return Nr(e),e.scope.on(),()=>{e.scope.off(),Nr(t)}},jc=()=>{He&&He.scope.off(),Nr(null)};function Gc(e){return e.vnode.shapeFlag&4}let Zn=!1;function Rh(e,t=!1,n=!1){t&&Ns(t);const{props:r,children:s}=e.vnode,o=Gc(e);sh(e,r,o,t),ah(e,s,n);const i=o?qh(e,t):void 0;return t&&Ns(!1),i}function qh(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Wf);const{setup:r}=n;if(r){Rt();const s=e.setupContext=r.length>1?Nh(e):null,o=Kn(e),i=yn(r,e,0,[e.props,s]),c=yi(i);if(qt(),o(),(c||e.sp)&&!wn(e)&&uc(e),c){if(i.then(jc,jc),t)return i.then(a=>{Kc(e,a)}).catch(a=>{yr(a,e,0)});e.asyncDep=i}else Kc(e,i)}else Zc(e)}function Kc(e,t,n){ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:De(t)&&(e.setupState=Zi(t)),Zc(e)}function Zc(e,t,n){const r=e.type;e.render||(e.render=r.render||yt);{const s=Kn(e);Rt();try{Jf(e)}finally{qt(),s()}}}const Lh={get(e,t){return Ge(e,"get",""),e[t]}};function Nh(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Lh),slots:e.slots,emit:e.emit,expose:t}}function Ir(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Zi(df(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in zn)return zn[n](e)},has(t,n){return n in t||n in zn}})):e.proxy}const Ih=/(?:^|[-_])(\w)/g,Mh=e=>e.replace(Ih,t=>t.toUpperCase()).replace(/[-_]/g,"");function Wc(e,t=!0){return ae(e)?e.displayName||e.name:e.name||t&&e.__name}function Jc(e,t,n=!1){let r=Wc(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?Mh(r):n?"App":"Anonymous"}function Oh(e){return ae(e)&&"__vccOpts"in e}const tt=(e,t)=>Ef(e,t,Zn);function Yc(e,t,n){const r=arguments.length;return r===2?De(t)&&!oe(t)?Gn(t)?Re(e,null,[t]):Re(e,t):Re(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Gn(n)&&(n=[n]),Re(e,t,n))}const Fh="3.5.13";/**
15
+ `,...Df(s)),console.warn(...o)}Lt(),_s=!1}function Tf(){let e=Bn[Bn.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 Df(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
16
+ `],...Rf(n))}),t}function Rf({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,s=` at <${Qc(e.component,e.type,r)}`,o=">"+n;return e.props?[s,...qf(e.props),o]:[s+o]}function qf(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...Wi(r,e[r]))}),n.length>3&&t.push(" ..."),t}function Wi(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}`]:Fe(t)?(t=Wi(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&&yi(s)&&s.catch(o=>{yr(o,t,n)}),s}if(oe(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||we;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){qt(),yn(o,null,10,[e,a,l]),Lt();return}}Lf(e,n,s,r,i)}function Lf(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 Ji=Promise.resolve();let xr=null;function kn(e){const t=xr||Ji;return e?t.then(this?e.bind(this):e):t}function Nf(e){let t=xt+1,n=Xe.length;for(;t<n;){const r=t+n>>>1,s=Xe[r],o=$n(s);o<e||o===e&&s.flags&2?t=r+1:n=r}return t}function bs(e){if(!(e.flags&1)){const t=$n(e),n=Xe[Xe.length-1];!n||!(e.flags&2)&&t>=$n(n)?Xe.push(e):Xe.splice(Nf(t),0,e),e.flags|=1,Yi()}}function Yi(){xr||(xr=Ji.then(ec))}function If(e){oe(e)?xn.push(...e):Ht&&e.id===-1?Ht.splice(En+1,0,e):e.flags&1||(xn.push(e),e.flags|=1),Yi()}function Xi(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 Qi(e){if(xn.length){const t=[...new Set(xn)].sort((n,r)=>$n(n)-$n(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 $n=e=>e.id==null?e.flags&2?-1:1/0:e.id;function ec(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,Qi(),xr=null,(Xe.length||xn.length)&&ec()}}let $e=null,tc=null;function Er(e){const t=$e;return $e=e,tc=e&&e.type.__scopeId||null,t}function Et(e,t=$e,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Vc(-1);const o=Er(t);let i;try{i=e(...s)}finally{Er(o),r._d&&Vc(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function nc(e,t){if($e===null)return e;const n=Mr($e),r=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[o,i,c,a=we]=t[s];o&&(ae(o)&&(o={mounted:o,updated:o}),o.deep&&Mt(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&&(qt(),bt(a,n,8,[e.el,c,e,t]),Lt())}}const Mf=Symbol("_vte"),rc=e=>e.__isTeleport,Vt=Symbol("_leaveCb"),kr=Symbol("_enterCb");function Of(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return jt(()=>{e.isMounted=!0}),xs(()=>{e.isUnmounting=!0}),e}const ht=[Function,Array],sc={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ht,onEnter:ht,onAfterEnter:ht,onEnterCancelled:ht,onBeforeLeave:ht,onLeave:ht,onAfterLeave:ht,onLeaveCancelled:ht,onBeforeAppear:ht,onAppear:ht,onAfterAppear:ht,onAppearCancelled:ht},oc=e=>{const t=e.subTree;return t.component?oc(t.component):t},Ff={name:"BaseTransition",props:sc,setup(e,{slots:t}){const n=Rh(),r=Of();return()=>{const s=t.default&&lc(t.default(),!0);if(!s||!s.length)return;const o=ic(s),i=_e(e),{mode:c}=i;if(r.isLeaving)return ys(o);const a=ac(o);if(!a)return ys(o);let l=vs(a,i,r,n,f=>l=f);a.type!==et&&Un(a,l);let u=n.subTree&&ac(n.subTree);if(u&&u.type!==et&&!cn(a,u)&&oc(n).type!==et){let f=vs(u,i,r,n);if(Un(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},ys(o);c==="in-out"&&a.type!==et?f.delayLeave=(p,h,m)=>{const x=cc(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 ic(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==et){t=n;break}}return t}const Pf=Ff;function cc(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 vs(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,d=String(e.key),k=cc(n,e),w=(D,q)=>{D&&bt(D,r,9,q)},$=(D,q)=>{const F=q[1];w(D,q),oe(D)?D.every(L=>L.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[d];F&&cn(e,F)&&F.el[Vt]&&F.el[Vt](),w(q,[D])},enter(D){let q=l,F=u,L=f;if(!n.isMounted)if(o)q=v||l,F=E||u,L=b||f;else return;let re=!1;const S=D[kr]=U=>{re||(re=!0,U?w(L,[D]):w(F,[D]),T.delayedLeave&&T.delayedLeave(),D[kr]=void 0)};q?$(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 L=!1;const re=D[Vt]=S=>{L||(L=!0,q(),S?w(x,[D]):w(m,[D]),D[Vt]=void 0,k[F]===e&&delete k[F])};k[F]=e,h?$(h,[D,re]):re()},clone(D){const q=vs(D,t,n,r,s);return s&&s(q),q}};return T}function ys(e){if(Ar(e))return e=Kt(e),e.children=null,e}function ac(e){if(!Ar(e))return rc(e.type)&&e.children?ic(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 Un(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Un(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 lc(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===ze?(i.patchFlag&128&&s++,r=r.concat(lc(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 pt(e,t){return ae(e)?Be({name:e.name},t,{setup:e}):e}function uc(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function wr(e,t,n,r,s=!1){if(oe(e)){e.forEach((m,x)=>wr(m,t&&(oe(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?Mr(r.component):r.el,i=s?null:o,{i:c,r:a}=e,l=t&&t.r,u=c.refs===we?c.refs={}:c.refs,f=c.setupState,p=_e(f),h=f===we?()=>!1:m=>ye(p,m);if(l!=null&&l!==a&&(Le(l)?(u[l]=null,h(l)&&(f[l]=null)):Fe(l)&&(l.value=null)),ae(a))yn(a,c,12,[i,u]);else{const m=Le(a),x=Fe(a);if(m||x){const A=()=>{if(e.f){const v=m?h(a)?f[a]:u[a]:a.value;s?oe(v)&&Xr(v,o):oe(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,it(A,n)):A()}}}fr().requestIdleCallback,fr().cancelIdleCallback;const wn=e=>!!e.type.__asyncLoader,Ar=e=>e.type.__isKeepAlive;function Bf(e,t){fc(e,"a",t)}function $f(e,t){fc(e,"da",t)}function fc(e,t,n=He){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)&&Uf(r,t,n,s),s=s.parent}}function Uf(e,t,n,r){const s=Cr(t,e,r,!0);Es(()=>{Xr(r[t],s)},n)}function Cr(e,t,n=He,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{qt();const c=Kn(n),a=bt(t,n,e,i);return c(),Lt(),a});return r?s.unshift(o):s.push(o),o}}const Ot=e=>(t,n=He)=>{(!Zn||e==="sp")&&Cr(e,(...r)=>t(...r),n)},zf=Ot("bm"),jt=Ot("m"),Hf=Ot("bu"),Vf=Ot("u"),xs=Ot("bum"),Es=Ot("um"),jf=Ot("sp"),Gf=Ot("rtg"),Kf=Ot("rtc");function Zf(e,t=He){Cr("ec",e,t)}const hc="components";function pc(e,t){return gc(hc,e,!0,t)||e}const dc=Symbol.for("v-ndc");function Wf(e){return Le(e)?gc(hc,e,!1)||e:e||dc}function gc(e,t,n=!0,r=!1){const s=$e||He;if(s){const o=s.type;{const c=Xc(o,!1);if(c&&(c===t||c===ut(t)||c===lr(ut(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[ut(t)]||e[lr(ut(t))])}function Sr(e,t,n,r){let s;const o=n,i=oe(e);if(i||Le(e)){const c=i&&vn(e);let a=!1;c&&(a=!ft(e),e=pr(e)),s=new Array(e.length);for(let l=0,u=e.length;l<u;l++)s[l]=t(a?Ke(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(Re(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),ee(),Me(ze,null,[Ae("slot",n,r&&r())],64);let o=e[t];o&&o._c&&(o._d=!1),ee();const i=o&&_c(o(n)),c=n.key||i&&i.key,a=Me(ze,{key:(c&&!Rt(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=>Gn(t)?!(t.type===et||t.type===ze&&!_c(t.children)):!0)?e:null}const ks=e=>e?Wc(e)?Mr(e):ks(e.parent):null,zn=Be(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=>ks(e.parent),$root:e=>ks(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>xc(e),$forceUpdate:e=>e.f||(e.f=()=>{bs(e.update)}),$nextTick:e=>e.n||(e.n=kn.bind(e.proxy)),$watch:e=>_h.bind(e)}),ws=(e,t)=>e!==we&&!e.__isScriptSetup&&ye(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(ws(r,t))return i[t]=1,r[t];if(s!==we&&ye(s,t))return i[t]=2,s[t];if((l=e.propsOptions[0])&&ye(l,t))return i[t]=3,o[t];if(n!==we&&ye(n,t))return i[t]=4,n[t];As&&(i[t]=0)}}const u=zn[t];let f,p;if(u)return t==="$attrs"&&Ge(e.attrs,"get",""),u(e);if((f=c.__cssModules)&&(f=f[t]))return f;if(n!==we&&ye(n,t))return i[t]=4,n[t];if(p=a.config.globalProperties,ye(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return ws(s,t)?(s[t]=n,!0):r!==we&&ye(r,t)?(r[t]=n,!0):ye(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!==we&&ye(e,i)||ws(t,i)||(c=o[0])&&ye(c,i)||ye(r,i)||ye(zn,i)||ye(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ye(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function bc(e){return oe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let As=!0;function Yf(e){const t=xc(e),n=e.proxy,r=e.ctx;As=!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:d,render:k,renderTracked:w,renderTriggered:$,errorCaptured:T,serverPrefetch:D,expose:q,inheritAttrs:F,components:L,directives:re,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);Re(Y)&&(e.data=ps(Y))}if(As=!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,Ce=tt({get:fe,set:J});Object.defineProperty(r,Y,{enumerable:!0,configurable:!0,get:()=>Ce.value,set:Se=>Ce.value=Se})}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){oe(Z)?Z.forEach(fe=>Y(fe.bind(n))):Z&&Y(Z.bind(n))}if(K(zf,f),K(jt,p),K(Hf,h),K(Vf,m),K(Bf,x),K($f,A),K(Zf,T),K(Kf,w),K(Gf,$),K(xs,E),K(Es,d),K(jf,D),oe(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),L&&(e.components=L),re&&(e.directives=re),D&&uc(e)}function Xf(e,t,n=yt){oe(e)&&(e=Cs(e));for(const r in e){const s=e[r];let o;Re(s)?"default"in s?o=Cn(s.from||r,s.default,!0):o=Cn(s.from||r):o=Cn(s),Fe(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(oe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function yc(e,t,n,r){let s=r.includes(".")?Bc(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(Re(e))if(oe(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 xc(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)),Re(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:Ec,props:kc,emits:kc,methods:Hn,computed:Hn,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:Hn,directives:Hn,watch:th,provide:Ec,inject:eh};function Ec(e,t){return t?e?function(){return Be(ae(e)?e.call(this,this):e,ae(t)?t.call(this,this):t)}:t:e}function eh(e,t){return Hn(Cs(e),Cs(t))}function Cs(e){if(oe(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 Hn(e,t){return e?Be(Object.create(null),e,t):t}function kc(e,t){return e?oe(e)&&oe(t)?[...new Set([...e,...t])]:Be(Object.create(null),bc(e),bc(t??{})):t}function th(e,t){if(!e)return t;if(!t)return e;const n=Be(Object.create(null),e);for(const r in t)n[r]=Qe(e[r],t[r]);return n}function wc(){return{app:null,config:{isNativeTag:Fu,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=Be({},r)),s!=null&&!Re(s)&&(s=null);const o=wc(),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||Ae(r,s);return h.appContext=o,p===!0?p="svg":p===!1&&(p=void 0),e(h,u,p),a=!0,l._container=u,u.__vue_app__=l,Mr(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(He){let n=He.provides;const r=He.parent&&He.parent.provides;r===n&&(n=He.provides=Object.create(r)),n[e]=t}}function Cn(e,t,n=!1){const r=He||$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 Ac={},Cc=()=>Object.create(Ac),Sc=e=>Object.getPrototypeOf(e)===Ac;function oh(e,t,n,r=!1){const s={},o=Cc();e.propsDefaults=Object.create(null),Tc(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:mf(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(ye(o,p))h!==o[p]&&(o[p]=h,l=!0);else{const m=ut(p);s[m]=Ss(a,c,m,h,e,!1)}else h!==o[p]&&(o[p]=h,l=!0)}}}else{Tc(e,t,s,o)&&(l=!0);let u;for(const f in c)(!t||!ye(t,f)&&((u=Ut(f))===f||!ye(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(s[f]=Ss(a,c,f,void 0,e,!0)):delete s[f]);if(o!==c)for(const f in o)(!t||!ye(t,f))&&(delete o[f],l=!0)}l&&Nt(e.attrs,"set","")}function Tc(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,c;if(t)for(let a in t){if(Ln(a))continue;const l=t[a];let u;s&&ye(s,u=ut(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||we;for(let u=0;u<o.length;u++){const f=o[u];n[f]=Ss(s,a,f,l[f],e,!ye(l,f))}}return i}function Ss(e,t,n,r,s,o){const i=e[n];if(i!=null){const c=ye(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=Kn(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 Dc(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]=Dc(f,t,!0);Be(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 Re(e)&&r.set(e,gn),gn;if(oe(o))for(let u=0;u<o.length;u++){const f=ut(o[u]);Rc(f)&&(i[f]=we)}else if(o)for(const u in o){const f=ut(u);if(Rc(f)){const p=o[u],h=i[f]=oe(p)||ae(p)?{type:p}:Be({},p),m=h.type;let x=!1,A=!0;if(oe(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||ye(h,"default"))&&c.push(f)}}const l=[i,c];return Re(e)&&r.set(e,l),l}function Rc(e){return e[0]!=="$"&&!Ln(e)}const qc=e=>e[0]==="_"||e==="$stable",Ts=e=>oe(e)?e.map(kt):[kt(e)],ah=(e,t,n)=>{if(t._n)return t;const r=Et((...s)=>Ts(t(...s)),n);return r._c=!1,r},Lc=(e,t,n)=>{const r=e._ctx;for(const s in e){if(qc(s))continue;const o=e[s];if(ae(o))t[s]=ah(s,o,r);else if(o!=null){const i=Ts(o);t[s]=()=>i}}},Nc=(e,t)=>{const n=Ts(t);e.slots.default=()=>n},Ic=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},lh=(e,t,n)=>{const r=e.slots=Cc();if(e.vnode.shapeFlag&32){const s=t._;s?(Ic(r,t,n),n&&ki(r,"_",s,!0)):Lc(t,r)}else t&&Nc(e,t)},uh=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=we;if(r.shapeFlag&32){const c=t._;c?n&&c===1?o=!1:Ic(s,t,n):(o=!t.$stable,Lc(t,s)),i=t}else t&&(Nc(e,t),i={default:1});if(o)for(const c in s)!qc(c)&&i[c]==null&&delete s[c]},it=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=(g,y,C,M=null,N=null,I=null,V=void 0,z=null,B=!!y.dynamicChildren)=>{if(g===y)return;g&&!cn(g,y)&&(M=Rn(g),Se(g,N,I,!0),g=null),y.patchFlag===-2&&(B=!1,y.dynamicChildren=null);const{type:O,ref:se,shapeFlag:G}=y;switch(O){case qr:A(g,y,C,M);break;case et:v(g,y,C,M);break;case Rs:g==null&&E(y,C,M,V);break;case ze:L(g,y,C,M,N,I,V,z,B);break;default:G&1?k(g,y,C,M,N,I,V,z,B):G&6?re(g,y,C,M,N,I,V,z,B):(G&64||G&128)&&O.process(g,y,C,M,N,I,V,z,B,St)}se!=null&&N&&wr(se,g&&g.ref,I,y||g,!y)},A=(g,y,C,M)=>{if(g==null)r(y.el=c(y.children),C,M);else{const N=y.el=g.el;y.children!==g.children&&l(N,y.children)}},v=(g,y,C,M)=>{g==null?r(y.el=a(y.children||""),C,M):y.el=g.el},E=(g,y,C,M)=>{[g.el,g.anchor]=m(g.children,y,C,M,g.el,g.anchor)},b=({el:g,anchor:y},C,M)=>{let N;for(;g&&g!==y;)N=p(g),r(g,C,M),g=N;r(y,C,M)},d=({el:g,anchor:y})=>{let C;for(;g&&g!==y;)C=p(g),s(g),g=C;s(y)},k=(g,y,C,M,N,I,V,z,B)=>{y.type==="svg"?V="svg":y.type==="math"&&(V="mathml"),g==null?w(y,C,M,N,I,V,z,B):D(g,y,N,I,V,z,B)},w=(g,y,C,M,N,I,V,z)=>{let B,O;const{props:se,shapeFlag:G,transition:X,dirs:ie}=g;if(B=g.el=i(g.type,I,se&&se.is,se),G&8?u(B,g.children):G&16&&T(g.children,B,null,M,N,Ds(g,I),V,z),ie&&sn(g,null,M,"created"),$(B,g,g.scopeId,V,M),se){for(const ve in se)ve!=="value"&&!Ln(ve)&&o(B,ve,null,se[ve],I,M);"value"in se&&o(B,"value",null,se.value,I),(O=se.onVnodeBeforeMount)&&wt(O,M,g)}ie&&sn(g,null,M,"beforeMount");const he=ph(N,X);he&&X.beforeEnter(B),r(B,y,C),((O=se&&se.onVnodeMounted)||he||ie)&&it(()=>{O&&wt(O,M,g),he&&X.enter(B),ie&&sn(g,null,M,"mounted")},N)},$=(g,y,C,M,N)=>{if(C&&h(g,C),M)for(let I=0;I<M.length;I++)h(g,M[I]);if(N){let I=N.subTree;if(y===I||Hc(I.type)&&(I.ssContent===y||I.ssFallback===y)){const V=N.vnode;$(g,V,V.scopeId,V.slotScopeIds,N.parent)}}},T=(g,y,C,M,N,I,V,z,B=0)=>{for(let O=B;O<g.length;O++){const se=g[O]=z?Zt(g[O]):kt(g[O]);x(null,se,y,C,M,N,I,V,z)}},D=(g,y,C,M,N,I,V)=>{const z=y.el=g.el;let{patchFlag:B,dynamicChildren:O,dirs:se}=y;B|=g.patchFlag&16;const G=g.props||we,X=y.props||we;let ie;if(C&&on(C,!1),(ie=X.onVnodeBeforeUpdate)&&wt(ie,C,y,g),se&&sn(y,g,C,"beforeUpdate"),C&&on(C,!0),(G.innerHTML&&X.innerHTML==null||G.textContent&&X.textContent==null)&&u(z,""),O?q(g.dynamicChildren,O,z,C,M,Ds(y,N),I):V||Z(g,y,z,null,C,M,Ds(y,N),I,!1),B>0){if(B&16)F(z,G,X,C,N);else if(B&2&&G.class!==X.class&&o(z,"class",null,X.class,N),B&4&&o(z,"style",G.style,X.style,N),B&8){const he=y.dynamicProps;for(let ve=0;ve<he.length;ve++){const be=he[ve],nt=G[be],We=X[be];(We!==nt||be==="value")&&o(z,be,nt,We,N,C)}}B&1&&g.children!==y.children&&u(z,y.children)}else!V&&O==null&&F(z,G,X,C,N);((ie=X.onVnodeUpdated)||se)&&it(()=>{ie&&wt(ie,C,y,g),se&&sn(y,g,C,"updated")},M)},q=(g,y,C,M,N,I,V)=>{for(let z=0;z<y.length;z++){const B=g[z],O=y[z],se=B.el&&(B.type===ze||!cn(B,O)||B.shapeFlag&70)?f(B.el):C;x(B,O,se,null,M,N,I,V,!0)}},F=(g,y,C,M,N)=>{if(y!==C){if(y!==we)for(const I in y)!Ln(I)&&!(I in C)&&o(g,I,y[I],null,N,M);for(const I in C){if(Ln(I))continue;const V=C[I],z=y[I];V!==z&&I!=="value"&&o(g,I,z,V,N,M)}"value"in C&&o(g,"value",y.value,C.value,N)}},L=(g,y,C,M,N,I,V,z,B)=>{const O=y.el=g?g.el:c(""),se=y.anchor=g?g.anchor:c("");let{patchFlag:G,dynamicChildren:X,slotScopeIds:ie}=y;ie&&(z=z?z.concat(ie):ie),g==null?(r(O,C,M),r(se,C,M),T(y.children||[],C,se,N,I,V,z,B)):G>0&&G&64&&X&&g.dynamicChildren?(q(g.dynamicChildren,X,C,N,I,V,z),(y.key!=null||N&&y===N.subTree)&&Mc(g,y,!0)):Z(g,y,C,se,N,I,V,z,B)},re=(g,y,C,M,N,I,V,z,B)=>{y.slotScopeIds=z,g==null?y.shapeFlag&512?N.ctx.activate(y,C,M,V,B):S(y,C,M,N,I,V,B):U(g,y,B)},S=(g,y,C,M,N,I,V)=>{const z=g.component=Dh(g,M,N);if(Ar(g)&&(z.ctx.renderer=St),qh(z,!1,V),z.asyncDep){if(N&&N.registerDep(z,K,V),!g.el){const B=z.subTree=Ae(et);v(null,B,y,C)}}else K(z,g,y,C,N,I,V)},U=(g,y,C)=>{const M=y.component=g.component;if(Eh(g,y,C))if(M.asyncDep&&!M.asyncResolved){Y(M,y,C);return}else M.next=y,M.update();else y.el=g.el,M.vnode=y},K=(g,y,C,M,N,I,V)=>{const z=()=>{if(g.isMounted){let{next:G,bu:X,u:ie,parent:he,vnode:ve}=g;{const gt=Oc(g);if(gt){G&&(G.el=ve.el,Y(g,G,V)),gt.asyncDep.then(()=>{g.isUnmounted||z()});return}}let be=G,nt;on(g,!1),G?(G.el=ve.el,Y(g,G,V)):G=ve,X&&ur(X),(nt=G.props&&G.props.onVnodeBeforeUpdate)&&wt(nt,he,G,ve),on(g,!0);const We=Uc(g),dt=g.subTree;g.subTree=We,x(dt,We,f(dt.el),Rn(dt),g,N,I),G.el=We.el,be===null&&kh(g,We.el),ie&&it(ie,N),(nt=G.props&&G.props.onVnodeUpdated)&&it(()=>wt(nt,he,G,ve),N)}else{let G;const{el:X,props:ie}=y,{bm:he,m:ve,parent:be,root:nt,type:We}=g,dt=wn(y);on(g,!1),he&&ur(he),!dt&&(G=ie&&ie.onVnodeBeforeMount)&&wt(G,be,y),on(g,!0);{nt.ce&&nt.ce._injectChildStyle(We);const gt=g.subTree=Uc(g);x(null,gt,C,M,g,N,I),y.el=gt.el}if(ve&&it(ve,N),!dt&&(G=ie&&ie.onVnodeMounted)){const gt=y;it(()=>wt(G,be,gt),N)}(y.shapeFlag&256||be&&wn(be.vnode)&&be.vnode.shapeFlag&256)&&g.a&&it(g.a,N),g.isMounted=!0,y=C=M=null}};g.scope.on();const B=g.effect=new Ri(z);g.scope.off();const O=g.update=B.run.bind(B),se=g.job=B.runIfDirty.bind(B);se.i=g,se.id=g.uid,B.scheduler=()=>bs(se),on(g,!0),O()},Y=(g,y,C)=>{y.component=g;const M=g.vnode.props;g.vnode=y,g.next=null,ih(g,y.props,M,C),uh(g,y.children,C),qt(),Xi(g),Lt()},Z=(g,y,C,M,N,I,V,z,B=!1)=>{const O=g&&g.children,se=g?g.shapeFlag:0,G=y.children,{patchFlag:X,shapeFlag:ie}=y;if(X>0){if(X&128){J(O,G,C,M,N,I,V,z,B);return}else if(X&256){fe(O,G,C,M,N,I,V,z,B);return}}ie&8?(se&16&&fn(O,N,I),G!==O&&u(C,G)):se&16?ie&16?J(O,G,C,M,N,I,V,z,B):fn(O,N,I,!0):(se&8&&u(C,""),ie&16&&T(G,C,M,N,I,V,z,B))},fe=(g,y,C,M,N,I,V,z,B)=>{g=g||gn,y=y||gn;const O=g.length,se=y.length,G=Math.min(O,se);let X;for(X=0;X<G;X++){const ie=y[X]=B?Zt(y[X]):kt(y[X]);x(g[X],ie,C,null,N,I,V,z,B)}O>se?fn(g,N,I,!0,!1,G):T(y,C,M,N,I,V,z,B,G)},J=(g,y,C,M,N,I,V,z,B)=>{let O=0;const se=y.length;let G=g.length-1,X=se-1;for(;O<=G&&O<=X;){const ie=g[O],he=y[O]=B?Zt(y[O]):kt(y[O]);if(cn(ie,he))x(ie,he,C,null,N,I,V,z,B);else break;O++}for(;O<=G&&O<=X;){const ie=g[G],he=y[X]=B?Zt(y[X]):kt(y[X]);if(cn(ie,he))x(ie,he,C,null,N,I,V,z,B);else break;G--,X--}if(O>G){if(O<=X){const ie=X+1,he=ie<se?y[ie].el:M;for(;O<=X;)x(null,y[O]=B?Zt(y[O]):kt(y[O]),C,he,N,I,V,z,B),O++}}else if(O>X)for(;O<=G;)Se(g[O],N,I,!0),O++;else{const ie=O,he=O,ve=new Map;for(O=he;O<=X;O++){const rt=y[O]=B?Zt(y[O]):kt(y[O]);rt.key!=null&&ve.set(rt.key,O)}let be,nt=0;const We=X-he+1;let dt=!1,gt=0;const hn=new Array(We);for(O=0;O<We;O++)hn[O]=0;for(O=ie;O<=G;O++){const rt=g[O];if(nt>=We){Se(rt,N,I,!0);continue}let mt;if(rt.key!=null)mt=ve.get(rt.key);else for(be=he;be<=X;be++)if(hn[be-he]===0&&cn(rt,y[be])){mt=be;break}mt===void 0?Se(rt,N,I,!0):(hn[mt-he]=O+1,mt>=gt?gt=mt:dt=!0,x(rt,y[mt],C,null,N,I,V,z,B),nt++)}const sr=dt?dh(hn):gn;for(be=sr.length-1,O=We-1;O>=0;O--){const rt=he+O,mt=y[rt],jr=rt+1<se?y[rt+1].el:M;hn[O]===0?x(null,mt,C,jr,N,I,V,z,B):dt&&(be<0||O!==sr[be]?Ce(mt,C,jr,2):be--)}}},Ce=(g,y,C,M,N=null)=>{const{el:I,type:V,transition:z,children:B,shapeFlag:O}=g;if(O&6){Ce(g.component.subTree,y,C,M);return}if(O&128){g.suspense.move(y,C,M);return}if(O&64){V.move(g,y,C,St);return}if(V===ze){r(I,y,C);for(let G=0;G<B.length;G++)Ce(B[G],y,C,M);r(g.anchor,y,C);return}if(V===Rs){b(g,y,C);return}if(M!==2&&O&1&&z)if(M===0)z.beforeEnter(I),r(I,y,C),it(()=>z.enter(I),N);else{const{leave:G,delayLeave:X,afterLeave:ie}=z,he=()=>r(I,y,C),ve=()=>{G(I,()=>{he(),ie&&ie()})};X?X(I,he,ve):ve()}else r(I,y,C)},Se=(g,y,C,M=!1,N=!1)=>{const{type:I,props:V,ref:z,children:B,dynamicChildren:O,shapeFlag:se,patchFlag:G,dirs:X,cacheIndex:ie}=g;if(G===-2&&(N=!1),z!=null&&wr(z,null,C,g,!0),ie!=null&&(y.renderCache[ie]=void 0),se&256){y.ctx.deactivate(g);return}const he=se&1&&X,ve=!wn(g);let be;if(ve&&(be=V&&V.onVnodeBeforeUnmount)&&wt(be,y,g),se&6)ui(g.component,C,M);else{if(se&128){g.suspense.unmount(C,M);return}he&&sn(g,null,y,"beforeUnmount"),se&64?g.type.remove(g,y,C,St,M):O&&!O.hasOnce&&(I!==ze||G>0&&G&64)?fn(O,y,C,!1,!0):(I===ze&&G&384||!N&&se&16)&&fn(B,y,C),M&&ot(g)}(ve&&(be=V&&V.onVnodeUnmounted)||he)&&it(()=>{be&&wt(be,y,g),he&&sn(g,null,y,"unmounted")},C)},ot=g=>{const{type:y,el:C,anchor:M,transition:N}=g;if(y===ze){li(C,M);return}if(y===Rs){d(g);return}const I=()=>{s(C),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(g.shapeFlag&1&&N&&!N.persisted){const{leave:V,delayLeave:z}=N,B=()=>V(C,I);z?z(g.el,I,B):B()}else I()},li=(g,y)=>{let C;for(;g!==y;)C=p(g),s(g),g=C;s(y)},ui=(g,y,C)=>{const{bum:M,scope:N,job:I,subTree:V,um:z,m:B,a:O}=g;Fc(B),Fc(O),M&&ur(M),N.stop(),I&&(I.flags|=8,Se(V,g,y,C)),z&&it(z,y),it(()=>{g.isUnmounted=!0},y),y&&y.pendingBranch&&!y.isUnmounted&&g.asyncDep&&!g.asyncResolved&&g.suspenseId===y.pendingId&&(y.deps--,y.deps===0&&y.resolve())},fn=(g,y,C,M=!1,N=!1,I=0)=>{for(let V=I;V<g.length;V++)Se(g[V],y,C,M,N)},Rn=g=>{if(g.shapeFlag&6)return Rn(g.component.subTree);if(g.shapeFlag&128)return g.suspense.next();const y=p(g.anchor||g.el),C=y&&y[Mf];return C?p(C):y};let rr=!1;const fi=(g,y,C)=>{g==null?y._vnode&&Se(y._vnode,null,null,!0):x(y._vnode||null,g,y,null,null,null,C),y._vnode=g,rr||(rr=!0,Xi(),Qi(),rr=!1)},St={p:x,um:Se,m:Ce,r:ot,mt:S,mc:T,pc:Z,pbc:q,n:Rn,o:e};return{render:fi,hydrate:void 0,createApp:rh(fi)}}function Ds({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 Mc(e,t,n=!1){const r=e.children,s=t.children;if(oe(r)&&oe(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&&Mc(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 Oc(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Oc(t)}function Fc(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 Pc(e,t,n)}function Pc(e,t,n=we){const{immediate:r,deep:s,flush:o,once:i}=n,c=Be({},n),a=t&&r||!t&&o!=="post";let l;if(Zn){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=He;c.call=(h,m,x)=>bt(h,u,m,x);let f=!1;o==="post"?c.scheduler=h=>{it(h,u&&u.suspense)}:o!=="sync"&&(f=!0,c.scheduler=(h,m)=>{m?h():bs(h)}),c.augmentJob=h=>{t&&(h.flags|=4),f&&(h.flags|=2,u&&(h.id=u.uid,h.i=u))};const p=Sf(e,t,c);return Zn&&(l?l.push(p):a&&p()),p}function _h(e,t,n){const r=this.proxy,s=Le(e)?e.includes(".")?Bc(r,e):()=>r[e]:e.bind(r,r);let o;ae(t)?o=t:(o=t.handler,n=t);const i=Kn(this),c=Pc(s,o.bind(r),n);return i(),c}function Bc(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[`${ut(t)}Modifiers`]||e[`${Ut(t)}Modifiers`];function vh(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||we;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(ts)));let c,a=r[c=es(t)]||r[c=es(ut(t))];!a&&o&&(a=r[c=es(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 $c(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=$c(l,t,!0);u&&(c=!0,Be(i,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!c?(Re(e)&&r.set(e,null),null):(oe(o)?o.forEach(a=>i[a]=null):Be(i,o),Re(e)&&r.set(e,i),i)}function Rr(e,t){return!e||!ir(t)?!1:(t=t.slice(2).replace(/Once$/,""),ye(e,t[0].toLowerCase()+t.slice(1))||ye(e,Ut(t))||ye(e,t))}function e_(){}function Uc(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 d=s||r,k=d;v=kt(l.call(k,d,u,f,h,p,m)),E=c}else{const d=t;v=kt(d.length>1?d(f,{attrs:c,slots:i,emit:a}):d(f,null)),E=t.props?c:yh(c)}}catch(d){Vn.length=0,yr(d,e,1),v=Ae(et)}let b=v;if(E&&x!==!1){const d=Object.keys(E),{shapeFlag:k}=b;d.length&&k&7&&(o&&d.some(Yr)&&(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&&Un(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)(!Yr(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?zc(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?zc(r,i,l):!0:!!i;return!1}function zc(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 Hc=e=>e.__isSuspense;function wh(e,t){t&&t.pendingBranch?oe(e)?t.effects.push(...e):t.effects.push(e):If(e)}const ze=Symbol.for("v-fgt"),qr=Symbol.for("v-txt"),et=Symbol.for("v-cmt"),Rs=Symbol.for("v-stc"),Vn=[];let ct=null;function ee(e=!1){Vn.push(ct=e?null:[])}function Ah(){Vn.pop(),ct=Vn[Vn.length-1]||null}let jn=1;function Vc(e,t=!1){jn+=e,e<0&&ct&&t&&(ct.hasOnce=!0)}function jc(e){return e.dynamicChildren=jn>0?ct||gn:null,Ah(),jn>0&&ct&&ct.push(e),e}function de(e,t,n,r,s,o){return jc(ke(e,t,n,r,s,o,!0))}function Me(e,t,n,r,s){return jc(Ae(e,t,n,r,s,!0))}function Gn(e){return e?e.__v_isVNode===!0:!1}function cn(e,t){return e.type===t.type&&e.key===t.key}const Gc=({key:e})=>e??null,Lr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Le(e)||Fe(e)||ae(e)?{i:$e,r:e,k:t,f:!!n}:e:null);function ke(e,t=null,n=null,r=0,s=null,o=e===ze?0:1,i=!1,c=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Gc(t),ref:t&&Lr(t),scopeId:tc,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?(qs(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=Le(n)?8:16),jn>0&&!i&&ct&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&ct.push(a),a}const Ae=Ch;function Ch(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===dc)&&(e=et),Gn(e)){const c=Kt(e,t,!0);return n&&qs(c,n),jn>0&&!o&&ct&&(c.shapeFlag&6?ct[ct.indexOf(e)]=c:ct.push(c)),c.patchFlag=-2,c}if(Fh(e)&&(e=e.__vccOpts),t){t=Kc(t);let{class:c,style:a}=t;c&&!Le(c)&&(t.class=_n(c)),Re(a)&&(gs(a)&&!oe(a)&&(a=Be({},a)),t.style=Nn(a))}const i=Le(e)?1:Hc(e)?128:rc(e)?64:Re(e)?4:ae(e)?2:0;return ke(e,t,n,r,s,i,o,!0)}function Kc(e){return e?gs(e)||Sc(e)?Be({},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?Ls(s||{},t):s,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Gc(l),ref:t&&t.ref?n&&o?oe(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!==ze?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&&Un(u,a.clone(u)),u}function Nr(e=" ",t=0){return Ae(qr,null,e,t)}function at(e="",t=!1){return t?(ee(),Me(et,null,e)):Ae(et,null,e)}function kt(e){return e==null||typeof e=="boolean"?Ae(et):oe(e)?Ae(ze,null,e.slice()):Gn(e)?Zt(e):Ae(qr,null,String(e))}function Zt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Kt(e)}function qs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(oe(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),qs(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!Sc(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=[Nr(t)]):n=8);e.children=t,e.shapeFlag|=n}function Ls(...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=_n([t.class,r.class]));else if(s==="style")t.style=Nn([t.style,r.style]);else if(ir(s)){const o=t[s],i=r[s];i&&o!==i&&!(oe(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function wt(e,t,n,r=null){bt(e,t,7,[n,r])}const Sh=wc();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 Zu(!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:Dc(r,s),emitsOptions:$c(r,s),emit:null,emitted:null,propsDefaults:we,inheritAttrs:r.inheritAttrs,ctx:we,data:we,props:we,attrs:we,slots:we,refs:we,setupState:we,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 He=null;const Rh=()=>He||$e;let Ir,Ns;{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)}};Ir=t("__VUE_INSTANCE_SETTERS__",n=>He=n),Ns=t("__VUE_SSR_SETTERS__",n=>Zn=n)}const Kn=e=>{const t=He;return Ir(e),e.scope.on(),()=>{e.scope.off(),Ir(t)}},Zc=()=>{He&&He.scope.off(),Ir(null)};function Wc(e){return e.vnode.shapeFlag&4}let Zn=!1;function qh(e,t=!1,n=!1){t&&Ns(t);const{props:r,children:s}=e.vnode,o=Wc(e);oh(e,r,o,t),lh(e,s,n);const i=o?Lh(e,t):void 0;return t&&Ns(!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){qt();const s=e.setupContext=r.length>1?Ih(e):null,o=Kn(e),i=yn(r,e,0,[e.props,s]),c=yi(i);if(Lt(),o(),(c||e.sp)&&!wn(e)&&uc(e),c){if(i.then(Zc,Zc),t)return i.then(a=>{Jc(e,a)}).catch(a=>{yr(a,e,0)});e.asyncDep=i}else Jc(e,i)}else Yc(e)}function Jc(e,t,n){ae(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Re(t)&&(e.setupState=Zi(t)),Yc(e)}function Yc(e,t,n){const r=e.type;e.render||(e.render=r.render||yt);{const s=Kn(e);qt();try{Yf(e)}finally{Lt(),s()}}}const Nh={get(e,t){return Ge(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 Mr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Zi(_f(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in zn)return zn[n](e)},has(t,n){return n in t||n in zn}})):e.proxy}const Mh=/(?:^|[-_])(\w)/g,Oh=e=>e.replace(Mh,t=>t.toUpperCase()).replace(/[-_]/g,"");function Xc(e,t=!0){return ae(e)?e.displayName||e.name:e.name||t&&e.__name}function Qc(e,t,n=!1){let r=Xc(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)=>Af(e,t,Zn);function ea(e,t,n){const r=arguments.length;return r===2?Re(t)&&!oe(t)?Gn(t)?Ae(e,null,[t]):Ae(e,t):Ae(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Gn(n)&&(n=[n]),Ae(e,t,n))}const Ph="3.5.13";/**
17
17
  * @vue/runtime-dom v3.5.13
18
18
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
19
19
  * @license MIT
20
- **/let Is;const Xc=typeof window<"u"&&window.trustedTypes;if(Xc)try{Is=Xc.createPolicy("vue",{createHTML:e=>e})}catch{}const Qc=Is?e=>Is.createHTML(e):e=>e,Ph="http://www.w3.org/2000/svg",Bh="http://www.w3.org/1998/Math/MathML",Ft=typeof document<"u"?document:null,ea=Ft&&Ft.createElement("template"),$h={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(Ph,e):t==="mathml"?Ft.createElementNS(Bh,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{ea.innerHTML=Qc(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const c=ea.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",Wn="animation",Jn=Symbol("_vtc"),ta={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},Uh=Be({},sc,ta),na=(e=>(e.displayName="Transition",e.props=Uh,e))((e,{slots:t})=>Yc(Mf,zh(e),t)),cn=(e,t=[])=>{oe(e)?e.forEach(n=>n(...t)):e&&e(...t)},ra=e=>e?oe(e)?e.some(t=>t.length>1):e.length>1:!1;function zh(e){const t={};for(const L in e)L in ta||(t[L]=e[L]);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=Hh(s),x=m&&m[0],A=m&&m[1],{onBeforeEnter:v,onEnter:E,onEnterCancelled:b,onLeave:d,onLeaveCancelled:k,onBeforeAppear:w=v,onAppear:$=E,onAppearCancelled:T=b}=t,D=(L,re,S,U)=>{L._enterCancelled=U,an(L,re?u:c),an(L,re?l:i),S&&S()},q=(L,re)=>{L._isLeaving=!1,an(L,f),an(L,h),an(L,p),re&&re()},F=L=>(re,S)=>{const U=L?$:E,K=()=>D(re,L,S);cn(U,[re,K]),sa(()=>{an(re,L?a:o),Pt(re,L?u:c),ra(U)||oa(re,r,x,K)})};return Be(t,{onBeforeEnter(L){cn(v,[L]),Pt(L,o),Pt(L,i)},onBeforeAppear(L){cn(w,[L]),Pt(L,a),Pt(L,l)},onEnter:F(!1),onAppear:F(!0),onLeave(L,re){L._isLeaving=!0;const S=()=>q(L,re);Pt(L,f),L._enterCancelled?(Pt(L,p),aa()):(aa(),Pt(L,p)),sa(()=>{L._isLeaving&&(an(L,f),Pt(L,h),ra(d)||oa(L,r,A,S))}),cn(d,[L,S])},onEnterCancelled(L){D(L,!1,void 0,!0),cn(b,[L])},onAppearCancelled(L){D(L,!0,void 0,!0),cn(T,[L])},onLeaveCancelled(L){q(L),cn(k,[L])}})}function Hh(e){if(e==null)return null;if(De(e))return[Ms(e.enter),Ms(e.leave)];{const t=Ms(e);return[t,t]}}function Ms(e){return Bu(e)}function Pt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Jn]||(e[Jn]=new Set)).add(t)}function an(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Jn];n&&(n.delete(t),n.size||(e[Jn]=void 0))}function sa(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Vh=0;function oa(e,t,n,r){const s=e._endId=++Vh,o=()=>{s===e._endId&&r()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:c,propCount:a}=jh(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 jh(e,t){const n=window.getComputedStyle(e),r=m=>(n[m]||"").split(", "),s=r(`${Wt}Delay`),o=r(`${Wt}Duration`),i=ia(s,o),c=r(`${Wn}Delay`),a=r(`${Wn}Duration`),l=ia(c,a);let u=null,f=0,p=0;t===Wt?i>0&&(u=Wt,f=i,p=o.length):t===Wn?l>0&&(u=Wn,f=l,p=a.length):(f=Math.max(i,l),u=f>0?i>l?Wt:Wn: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 ia(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>ca(n)+ca(e[r])))}function ca(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function aa(){return document.body.offsetHeight}function Gh(e,t,n){const r=e[Jn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Mr=Symbol("_vod"),la=Symbol("_vsh"),Kh={beforeMount(e,{value:t},{transition:n}){e[Mr]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Yn(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),Yn(e,!0),r.enter(e)):r.leave(e,()=>{Yn(e,!1)}):Yn(e,t))},beforeUnmount(e,{value:t}){Yn(e,t)}};function Yn(e,t){e.style.display=t?e[Mr]:"none",e[la]=!t}const Zh=Symbol(""),Wh=/(^|;)\s*display\s*:/;function Jh(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[Zh];i&&(n+=";"+i),r.cssText=n,o=Wh.test(n)}}else t&&e.removeAttribute("style");Mr in e&&(e[Mr]=o?r.display:"",e[la]&&(r.display="none"))}const ua=/\s*!important$/;function Or(e,t,n){if(oe(n))n.forEach(r=>Or(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Yh(e,t);ua.test(n)?e.setProperty(Ut(r),n.replace(ua,""),"important"):e[r]=n}}const fa=["Webkit","Moz","ms"],Os={};function Yh(e,t){const n=Os[t];if(n)return n;let r=ut(t);if(r!=="filter"&&r in e)return Os[t]=r;r=lr(r);for(let s=0;s<fa.length;s++){const o=fa[s]+r;if(o in e)return Os[t]=o}return t}const ha="http://www.w3.org/1999/xlink";function pa(e,t,n,r,s,o=Vu(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ha,t.slice(6,t.length)):e.setAttributeNS(ha,t,n):n==null||o&&!Ci(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Dt(n)?String(n):n)}function da(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Qc(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=Ci(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 Xh(e,t,n,r){e.removeEventListener(t,n,r)}const ga=Symbol("_vei");function Qh(e,t,n,r,s=null){const o=e[ga]||(e[ga]={}),i=o[t];if(r&&i)i.value=r;else{const[c,a]=ep(t);if(r){const l=o[t]=rp(r,s);Sn(e,c,l,a)}else i&&(Xh(e,c,i,a),o[t]=void 0)}}const ma=/(?:Once|Passive|Capture)$/;function ep(e){let t;if(ma.test(e)){t={};let r;for(;r=e.match(ma);)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 Fs=0;const tp=Promise.resolve(),np=()=>Fs||(tp.then(()=>Fs=0),Fs=Date.now());function rp(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;bt(sp(r,n.value),t,5,[r])};return n.value=e,n.attached=np(),n}function sp(e,t){if(oe(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 _a=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,op=(e,t,n,r,s,o)=>{const i=s==="svg";t==="class"?Gh(e,r,i):t==="style"?Jh(e,n,r):ir(t)?Jr(t)||Qh(e,t,n,r,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ip(e,t,r,i))?(da(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&pa(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Le(r))?da(e,ut(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),pa(e,t,r,i))};function ip(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&_a(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 _a(t)&&Le(n)?!1:t in e}const ba=e=>{const t=e.props["onUpdate:modelValue"]||!1;return oe(t)?n=>ur(t,n):t};function cp(e){e.target.composing=!0}function va(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ps=Symbol("_assign"),ap={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Ps]=ba(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=es(c)),e[Ps](c)}),n&&Sn(e,"change",()=>{e.value=e.value.trim()}),t||(Sn(e,"compositionstart",cp),Sn(e,"compositionend",va),Sn(e,"change",va))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[Ps]=ba(i),e.composing)return;const c=(o||e.type==="number")&&!/^0\d/.test(e.value)?es(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))}},lp=["ctrl","shift","alt","meta"],up={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)=>lp.some(n=>e[`${n}Key`]&&!t.includes(n))},ya=(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=up[t[i]];if(c&&c(s,t))return}return e(s,...o)})},fp={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},hp=(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||fp[i]===o))return e(s)})},pp=Be({patchProp:op},$h);let xa;function dp(){return xa||(xa=uh(pp))}const gp=(...e)=>{const t=dp().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=_p(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,mp(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t};function mp(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function _p(e){return Le(e)?document.querySelector(e):e}const Xn={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:{}},bp="#n8n-chat",Ea="n8n-chat/sessionId",ka="Chat",wa="ChatOptions";for(var Ve=[],Bs=0;Bs<256;++Bs)Ve.push((Bs+256).toString(16).slice(1));function vp(e,t=0){return(Ve[e[t+0]]+Ve[e[t+1]]+Ve[e[t+2]]+Ve[e[t+3]]+"-"+Ve[e[t+4]]+Ve[e[t+5]]+"-"+Ve[e[t+6]]+Ve[e[t+7]]+"-"+Ve[e[t+8]]+Ve[e[t+9]]+"-"+Ve[e[t+10]]+Ve[e[t+11]]+Ve[e[t+12]]+Ve[e[t+13]]+Ve[e[t+14]]+Ve[e[t+15]]).toLowerCase()}var Fr,yp=new Uint8Array(16);function xp(){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(yp)}var Ep=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const Aa={randomUUID:Ep};function Qn(e,t,n){if(Aa.randomUUID&&!e)return Aa.randomUUID();e=e||{};var r=e.random||(e.rng||xp)();return r[6]=r[6]&15|64,r[8]=r[8]&63|128,vp(r)}async function kp(){return""}async function $s(...e){var o,i;const t=await kp(),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 Ca(e,t={},n={}){let r=e;return Object.keys(t).length>0&&(r=`${r}?${new URLSearchParams(t).toString()}`),await $s(r,{...n,method:"GET"})}async function Sa(e,t={},n={}){return await $s(e,{...n,method:"POST",body:JSON.stringify(t)})}async function wp(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 $s(e,{...r,method:"POST",body:s})}async function Ap(e,t){var r,s;return await(((r=t.webhookConfig)==null?void 0:r.method)==="POST"?Sa:Ca)(`${t.webhookUrl}`,{action:"loadPreviousSession",[t.chatSessionKey]:e,...t.metadata?{metadata:t.metadata}:{}},{headers:(s=t.webhookConfig)==null?void 0:s.headers})}async function Cp(e,t,n,r){var o,i,c;return t.length>0?await wp(`${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"?Sa:Ca)(`${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 Sp(){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 Tp(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 st=Sp(),Dp={install(e,t){e.provide(wa,t);const n=Ze([]),r=Ze(null),s=Ze(!1),o=tt(()=>(t.initialMessages??[]).map(u=>({id:Qn(),text:u,sender:"bot",createdAt:new Date().toISOString()})));async function i(u,f=[]){const p={id:Qn(),text:u,sender:"user",files:f,createdAt:new Date().toISOString()};n.value.push(p),s.value=!0,kn(()=>{st.emit("scrollToBottom")});const h=await Cp(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:Qn(),text:m,sender:"bot",createdAt:new Date().toISOString()};n.value.push(x),s.value=!1,kn(()=>{st.emit("scrollToBottom")})}async function c(){if(!t.loadPreviousSession)return;const u=localStorage.getItem(Ea)??Qn(),f=await Ap(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=Qn(),localStorage.setItem(Ea,r.value)}const l={initialMessages:o,messages:n,currentSessionId:r,waitingForResponse:s,loadPreviousSession:c,startNewSession:a,sendMessage:i};e.provide(ka,l),e.config.globalProperties.$chat=l}};function Us(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Rp(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 zs,Ta;function qp(){if(Ta)return zs;Ta=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 H=_[R],le=typeof H;(le==="object"||le==="function")&&!Object.isFrozen(H)&&e(H)}),_}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 H=Object.create(null);for(const le in _)H[le]=_[le];return R.forEach(function(le){for(const Ne in le)H[Ne]=le[Ne]}),H}const s="</span>",o=_=>!!_.scope,i=(_,{prefix:R})=>{if(_.startsWith("language:"))return _.replace("language:","language-");if(_.includes(".")){const H=_.split(".");return[`${R}${H.shift()}`,...H.map((le,Ne)=>`${le}${"_".repeat(Ne+1)}`)].join(" ")}return`${R}${_}`};class c{constructor(R,H){this.buffer="",this.classPrefix=H.classPrefix,R.walk(this)}addText(R){this.buffer+=n(R)}openNode(R){if(!o(R))return;const H=i(R.scope,{prefix:this.classPrefix});this.span(H)}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 H=a({scope:R});this.add(H),this.stack.push(H)}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,H){return typeof H=="string"?R.addText(H):H.children&&(R.openNode(H),H.children.forEach(le=>this._walk(R,le)),R.closeNode(H)),R}static _collapse(R){typeof R!="string"&&R.children&&(R.children.every(H=>typeof H=="string")?R.children=[R.children.join("")]:R.children.forEach(H=>{l._collapse(H)}))}}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,H){const le=R.root;H&&(le.scope=`language:${H}`),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(H=>f(H)).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 H=_&&_.exec(R);return H&&H.index===0}const d=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function k(_,{joinWith:R}){let H=0;return _.map(le=>{H+=1;const Ne=H;let Ie=f(le),Q="";for(;Ie.length>0;){const W=d.exec(Ie);if(!W){Q+=Ie;break}Q+=Ie.substring(0,W.index),Ie=Ie.substring(W.index+W[0].length),W[0][0]==="\\"&&W[1]?Q+="\\"+String(Number(W[1])+Ne):(Q+=W[0],W[0]==="("&&H++)}return Q}).map(le=>`(${le})`).join(R)}const w=/\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]+)",L="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",re=(_={})=>{const R=/^#![ ]*\//;return _.binary&&(_.begin=x(R,/.*\b/,_.binary,/\b.*/)),r({scope:"meta",begin:R,end:/$/,relevance:0,"on:begin":(H,le)=>{H.index!==0&&le.ignoreMatch()}},_)},S={begin:"\\\\[\\s\\S]",relevance:0},U={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,H={}){const le=r({scope:"comment",begin:_,end:R,contains:[]},H);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},ot={scope:"number",begin:q,relevance:0},li={scope:"number",begin:F,relevance:0},ui={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[S,{begin:/\[/,end:/\]/,relevance:0,contains:[S]}]},un={scope:"title",begin:$,relevance:0},Rn={scope:"title",begin:T,relevance:0},rr={begin:"\\.\\s*"+T,relevance:0};var Ct=Object.freeze({__proto__:null,APOS_STRING_MODE:U,BACKSLASH_ESCAPE:S,BINARY_NUMBER_MODE:li,BINARY_NUMBER_RE:F,COMMENT:Z,C_BLOCK_COMMENT_MODE:J,C_LINE_COMMENT_MODE:fe,C_NUMBER_MODE:ot,C_NUMBER_RE:q,END_SAME_AS_BEGIN:function(_){return Object.assign(_,{"on:begin":(R,H)=>{H.data._beginMatch=R[1]},"on:end":(R,H)=>{H.data._beginMatch!==R[1]&&H.ignoreMatch()}})},HASH_COMMENT_MODE:Ae,IDENT_RE:$,MATCH_NOTHING_RE:w,METHOD_GUARD:rr,NUMBER_MODE:Ce,NUMBER_RE:D,PHRASAL_WORDS_MODE:Y,QUOTE_STRING_MODE:K,REGEXP_MODE:ui,RE_STARTERS_RE:L,SHEBANG:re,TITLE_MODE:un,UNDERSCORE_IDENT_RE:T,UNDERSCORE_TITLE_MODE:Rn});function Eu(_,R){_.input[_.index-1]==="."&&R.ignoreMatch()}function g(_,R){_.className!==void 0&&(_.scope=_.className,delete _.className)}function y(_,R){R&&_.beginKeywords&&(_.begin="\\b("+_.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",_.__beforeBegin=Eu,_.keywords=_.keywords||_.beginKeywords,delete _.beginKeywords,_.relevance===void 0&&(_.relevance=0))}function C(_,R){Array.isArray(_.illegal)&&(_.illegal=v(..._.illegal))}function M(_,R){if(_.match){if(_.begin||_.end)throw new Error("begin & end are not supported with match");_.begin=_.match,delete _.match}}function N(_,R){_.relevance===void 0&&(_.relevance=1)}const I=(_,R)=>{if(!_.beforeMatch)return;if(_.starts)throw new Error("beforeMatch cannot be used with starts");const H=Object.assign({},_);Object.keys(_).forEach(le=>{delete _[le]}),_.keywords=H.keywords,_.begin=x(H.beforeMatch,p(H.begin)),_.starts={relevance:0,contains:[Object.assign(H,{endsParent:!0})]},_.relevance=0,delete H.beforeMatch},V=["of","and","for","in","not","or","if","then","parent","list","value"],z="keyword";function B(_,R,H=z){const le=Object.create(null);return typeof _=="string"?Ne(H,_.split(" ")):Array.isArray(_)?Ne(H,_):Object.keys(_).forEach(function(Ie){Object.assign(le,B(_[Ie],R,Ie))}),le;function Ne(Ie,Q){R&&(Q=Q.map(W=>W.toLowerCase())),Q.forEach(function(W){const ce=W.split("|");le[ce[0]]=[Ie,O(ce[0],ce[1])]})}}function O(_,R){return R?Number(R):se(_)?0:1}function se(_){return V.includes(_.toLowerCase())}const G={},X=_=>{console.error(_)},ie=(_,...R)=>{console.log(`WARN: ${_}`,...R)},he=(_,R)=>{G[`${_}/${R}`]||(console.log(`Deprecated as of ${_}. ${R}`),G[`${_}/${R}`]=!0)},ve=new Error;function be(_,R,{key:H}){let le=0;const Ne=_[H],Ie={},Q={};for(let W=1;W<=R.length;W++)Q[W+le]=Ne[W],Ie[W+le]=!0,le+=E(R[W-1]);_[H]=Q,_[H]._emit=Ie,_[H]._multi=!0}function nt(_){if(Array.isArray(_.begin)){if(_.skip||_.excludeBegin||_.returnBegin)throw X("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),ve;if(typeof _.beginScope!="object"||_.beginScope===null)throw X("beginScope must be object"),ve;be(_,_.begin,{key:"beginScope"}),_.begin=k(_.begin,{joinWith:""})}}function We(_){if(Array.isArray(_.end)){if(_.skip||_.excludeEnd||_.returnEnd)throw X("skip, excludeEnd, returnEnd not compatible with endScope: {}"),ve;if(typeof _.endScope!="object"||_.endScope===null)throw X("endScope must be object"),ve;be(_,_.end,{key:"endScope"}),_.end=k(_.end,{joinWith:""})}}function dt(_){_.scope&&typeof _.scope=="object"&&_.scope!==null&&(_.beginScope=_.scope,delete _.scope)}function gt(_){dt(_),typeof _.beginScope=="string"&&(_.beginScope={_wrap:_.beginScope}),typeof _.endScope=="string"&&(_.endScope={_wrap:_.endScope}),nt(_),We(_)}function fn(_){function R(Q,W){return new RegExp(f(Q),"m"+(_.case_insensitive?"i":"")+(_.unicodeRegex?"u":"")+(W?"g":""))}class H{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 Ue=ce.findIndex((or,pi)=>pi>0&&or!==void 0),Oe=this.matchIndexes[Ue];return ce.splice(0,Ue),Object.assign(ce,Oe)}}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 H;return this.rules.slice(W).forEach(([Ue,Oe])=>ce.addRule(Ue,Oe)),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 Ue=ce.exec(W);if(this.resumingScanAtSamePosition()&&!(Ue&&Ue.index===this.lastIndex)){const Oe=this.getMatcher(0);Oe.lastIndex=this.lastIndex+1,Ue=Oe.exec(W)}return Ue&&(this.regexIndex+=Ue.position+1,this.regexIndex===this.count&&this.considerAll()),Ue}}function Ne(Q){const W=new le;return Q.contains.forEach(ce=>W.addRule(ce.begin,{rule:ce,type:"begin"})),Q.terminatorEnd&&W.addRule(Q.terminatorEnd,{type:"end"}),Q.illegal&&W.addRule(Q.illegal,{type:"illegal"}),W}function Ie(Q,W){const ce=Q;if(Q.isCompiled)return ce;[g,M,gt,I].forEach(Oe=>Oe(Q,W)),_.compilerExtensions.forEach(Oe=>Oe(Q,W)),Q.__beforeBegin=null,[y,C,N].forEach(Oe=>Oe(Q,W)),Q.isCompiled=!0;let Ue=null;return typeof Q.keywords=="object"&&Q.keywords.$pattern&&(Q.keywords=Object.assign({},Q.keywords),Ue=Q.keywords.$pattern,delete Q.keywords.$pattern),Ue=Ue||/\w+/,Q.keywords&&(Q.keywords=B(Q.keywords,_.case_insensitive)),ce.keywordPatternRe=R(Ue,!0),W&&(Q.begin||(Q.begin=/\B|\b/),ce.beginRe=R(ce.begin),!Q.end&&!Q.endsWithParent&&(Q.end=/\B|\b/),Q.end&&(ce.endRe=R(ce.end)),ce.terminatorEnd=f(ce.end)||"",Q.endsWithParent&&W.terminatorEnd&&(ce.terminatorEnd+=(Q.end?"|":"")+W.terminatorEnd)),Q.illegal&&(ce.illegalRe=R(Q.illegal)),Q.contains||(Q.contains=[]),Q.contains=[].concat(...Q.contains.map(function(Oe){return rt(Oe==="self"?Q:Oe)})),Q.contains.forEach(function(Oe){Ie(Oe,ce)}),Q.starts&&Ie(Q.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 sr(_){return _?_.endsWithParent||sr(_.starts):!1}function rt(_){return _.variants&&!_.cachedVariants&&(_.cachedVariants=_.variants.map(function(R){return r(_,{variants:null},R)})),_.cachedVariants?_.cachedVariants:sr(_)?r(_,{starts:_.starts?r(_.starts):null}):Object.isFrozen(_)?r(_):_}var mt="11.9.0";class Vr extends Error{constructor(R,H){super(R),this.name="HTMLInjectionError",this.html=H}}const hi=n,ku=r,wu=Symbol("nomatch"),Tm=7,Au=function(_){const R=Object.create(null),H=Object.create(null),le=[];let Ne=!0;const Ie="Could not find the language '{}', did you forget to load/include a language module?",Q={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 Ue(P){let ne=P.className+" ";ne+=P.parentNode?P.parentNode.className:"";const me=W.languageDetectRe.exec(ne);if(me){const Te=Yt(me[1]);return Te||(ie(Ie.replace("{}",me[1])),ie("Falling back to no-highlight mode for this block.",P)),Te?me[1]:"no-highlight"}return ne.split(/\s+/).find(Te=>ce(Te)||Yt(Te))}function Oe(P,ne,me){let Te="",Pe="";typeof ne=="object"?(Te=P,me=ne.ignoreIllegals,Pe=ne.language):(he("10.7.0","highlight(lang, code, ...args) has been deprecated."),he("10.7.0",`Please use highlight(code, options) instead.
21
- https://github.com/highlightjs/highlight.js/issues/2277`),Pe=P,Te=ne),me===void 0&&(me=!0);const vt={code:Te,language:Pe};Gr("before:highlight",vt);const Xt=vt.result?vt.result:or(vt.language,vt.code,me);return Xt.code=vt.code,Gr("after:highlight",Xt),Xt}function or(P,ne,me,Te){const Pe=Object.create(null);function vt(j,te){return j.keywords[te]}function Xt(){if(!ue.keywords){je.addText(qe);return}let j=0;ue.keywordPatternRe.lastIndex=0;let te=ue.keywordPatternRe.exec(qe),de="";for(;te;){de+=qe.substring(j,te.index);const Ee=Tt.case_insensitive?te[0].toLowerCase():te[0],Je=vt(ue,Ee);if(Je){const[$t,Gm]=Je;if(je.addText(de),de="",Pe[Ee]=(Pe[Ee]||0)+1,Pe[Ee]<=Tm&&(Wr+=Gm),$t.startsWith("_"))de+=te[0];else{const Km=Tt.classNameAliases[$t]||$t;St(te[0],Km)}}else de+=te[0];j=ue.keywordPatternRe.lastIndex,te=ue.keywordPatternRe.exec(qe)}de+=qe.substring(j),je.addText(de)}function Kr(){if(qe==="")return;let j=null;if(typeof ue.subLanguage=="string"){if(!R[ue.subLanguage]){je.addText(qe);return}j=or(ue.subLanguage,qe,!0,Nu[ue.subLanguage]),Nu[ue.subLanguage]=j._top}else j=di(qe,ue.subLanguage.length?ue.subLanguage:null);ue.relevance>0&&(Wr+=j.relevance),je.__addSublanguage(j._emitter,j.language)}function lt(){ue.subLanguage!=null?Kr():Xt(),qe=""}function St(j,te){j!==""&&(je.startScope(te),je.addText(j),je.endScope())}function Du(j,te){let de=1;const Ee=te.length-1;for(;de<=Ee;){if(!j._emit[de]){de++;continue}const Je=Tt.classNameAliases[j[de]]||j[de],$t=te[de];Je?St($t,Je):(qe=$t,Xt(),qe=""),de++}}function Ru(j,te){return j.scope&&typeof j.scope=="string"&&je.openNode(Tt.classNameAliases[j.scope]||j.scope),j.beginScope&&(j.beginScope._wrap?(St(qe,Tt.classNameAliases[j.beginScope._wrap]||j.beginScope._wrap),qe=""):j.beginScope._multi&&(Du(j.beginScope,te),qe="")),ue=Object.create(j,{parent:{value:ue}}),ue}function qu(j,te,de){let Ee=b(j.endRe,de);if(Ee){if(j["on:end"]){const Je=new t(j);j["on:end"](te,Je),Je.isMatchIgnored&&(Ee=!1)}if(Ee){for(;j.endsParent&&j.parent;)j=j.parent;return j}}if(j.endsWithParent)return qu(j.parent,te,de)}function Um(j){return ue.matcher.regexIndex===0?(qe+=j[0],1):(bi=!0,0)}function zm(j){const te=j[0],de=j.rule,Ee=new t(de),Je=[de.__beforeBegin,de["on:begin"]];for(const $t of Je)if($t&&($t(j,Ee),Ee.isMatchIgnored))return Um(te);return de.skip?qe+=te:(de.excludeBegin&&(qe+=te),lt(),!de.returnBegin&&!de.excludeBegin&&(qe=te)),Ru(de,j),de.returnBegin?0:te.length}function Hm(j){const te=j[0],de=ne.substring(j.index),Ee=qu(ue,j,de);if(!Ee)return wu;const Je=ue;ue.endScope&&ue.endScope._wrap?(lt(),St(te,ue.endScope._wrap)):ue.endScope&&ue.endScope._multi?(lt(),Du(ue.endScope,j)):Je.skip?qe+=te:(Je.returnEnd||Je.excludeEnd||(qe+=te),lt(),Je.excludeEnd&&(qe=te));do ue.scope&&je.closeNode(),!ue.skip&&!ue.subLanguage&&(Wr+=ue.relevance),ue=ue.parent;while(ue!==Ee.parent);return Ee.starts&&Ru(Ee.starts,j),Je.returnEnd?0:te.length}function Vm(){const j=[];for(let te=ue;te!==Tt;te=te.parent)te.scope&&j.unshift(te.scope);j.forEach(te=>je.openNode(te))}let Zr={};function Lu(j,te){const de=te&&te[0];if(qe+=j,de==null)return lt(),0;if(Zr.type==="begin"&&te.type==="end"&&Zr.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=Zr.rule,Ee}return 1}if(Zr=te,te.type==="begin")return zm(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=Hm(te);if(Ee!==wu)return Ee}if(te.type==="illegal"&&de==="")return 1;if(_i>1e5&&_i>te.index*3)throw new Error("potential infinite loop, way more iterations than matches");return qe+=de,de.length}const Tt=Yt(P);if(!Tt)throw X(Ie.replace("{}",P)),new Error('Unknown language: "'+P+'"');const jm=fn(Tt);let mi="",ue=Te||jm;const Nu={},je=new W.__emitter(W);Vm();let qe="",Wr=0,hn=0,_i=0,bi=!1;try{if(Tt.__emitTokens)Tt.__emitTokens(ne,je);else{for(ue.matcher.considerAll();;){_i++,bi?bi=!1:ue.matcher.considerAll(),ue.matcher.lastIndex=hn;const j=ue.matcher.exec(ne);if(!j)break;const te=ne.substring(hn,j.index),de=Lu(te,j);hn=j.index+de}Lu(ne.substring(hn))}return je.finalize(),mi=je.toHTML(),{language:P,value:mi,relevance:Wr,illegal:!1,_emitter:je,_top:ue}}catch(j){if(j.message&&j.message.includes("Illegal"))return{language:P,value:hi(ne),illegal:!0,relevance:0,_illegalBy:{message:j.message,index:hn,context:ne.slice(hn-100,hn+100),mode:j.mode,resultSoFar:mi},_emitter:je};if(Ne)return{language:P,value:hi(ne),illegal:!1,relevance:0,errorRaised:j,_emitter:je,_top:ue};throw j}}function pi(P){const ne={value:hi(P),illegal:!1,relevance:0,_top:Q,_emitter:new W.__emitter(W)};return ne._emitter.addText(P),ne}function di(P,ne){ne=ne||W.languages||Object.keys(R);const me=pi(P),Te=ne.filter(Yt).filter(Tu).map(lt=>or(lt,P,!1));Te.unshift(me);const Pe=Te.sort((lt,St)=>{if(lt.relevance!==St.relevance)return St.relevance-lt.relevance;if(lt.language&&St.language){if(Yt(lt.language).supersetOf===St.language)return 1;if(Yt(St.language).supersetOf===lt.language)return-1}return 0}),[vt,Xt]=Pe,Kr=vt;return Kr.secondBest=Xt,Kr}function Dm(P,ne,me){const Te=ne&&H[ne]||me;P.classList.add("hljs"),P.classList.add(`language-${Te}`)}function gi(P){let ne=null;const me=Ue(P);if(ce(me))return;if(Gr("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 Vr("One of your code blocks includes unescaped HTML.",P.innerHTML);ne=P;const Te=ne.textContent,Pe=me?Oe(Te,{language:me,ignoreIllegals:!0}):di(Te);P.innerHTML=Pe.value,P.dataset.highlighted="yes",Dm(P,me,Pe.language),P.result={language:Pe.language,re:Pe.relevance,relevance:Pe.relevance},Pe.secondBest&&(P.secondBest={language:Pe.secondBest.language,relevance:Pe.secondBest.relevance}),Gr("after:highlightElement",{el:P,result:Pe,text:Te})}function Rm(P){W=ku(W,P)}const qm=()=>{jr(),he("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function Lm(){jr(),he("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Cu=!1;function jr(){if(document.readyState==="loading"){Cu=!0;return}document.querySelectorAll(W.cssSelector).forEach(gi)}function Nm(){Cu&&jr()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",Nm,!1);function Im(P,ne){let me=null;try{me=ne(_)}catch(Te){if(X("Language definition for '{}' could not be registered.".replace("{}",P)),Ne)X(Te);else throw Te;me=Q}me.name||(me.name=P),R[P]=me,me.rawDefinition=ne.bind(null,_),me.aliases&&Su(me.aliases,{languageName:P})}function Mm(P){delete R[P];for(const ne of Object.keys(H))H[ne]===P&&delete H[ne]}function Om(){return Object.keys(R)}function Yt(P){return P=(P||"").toLowerCase(),R[P]||R[H[P]]}function Su(P,{languageName:ne}){typeof P=="string"&&(P=[P]),P.forEach(me=>{H[me.toLowerCase()]=ne})}function Tu(P){const ne=Yt(P);return ne&&!ne.disableAutodetect}function Fm(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 Pm(P){Fm(P),le.push(P)}function Bm(P){const ne=le.indexOf(P);ne!==-1&&le.splice(ne,1)}function Gr(P,ne){const me=P;le.forEach(function(Te){Te[me]&&Te[me](ne)})}function $m(P){return he("10.7.0","highlightBlock will be removed entirely in v12.0"),he("10.7.0","Please use highlightElement now."),gi(P)}Object.assign(_,{highlight:Oe,highlightAuto:di,highlightAll:jr,highlightElement:gi,highlightBlock:$m,configure:Rm,initHighlighting:qm,initHighlightingOnLoad:Lm,registerLanguage:Im,unregisterLanguage:Mm,listLanguages:Om,getLanguage:Yt,registerAliases:Su,autoDetection:Tu,inherit:ku,addPlugin:Pm,removePlugin:Bm}),_.debugMode=function(){Ne=!1},_.safeMode=function(){Ne=!0},_.versionString=mt,_.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),_},qn=Au({});return qn.newInstance=()=>Au({}),zs=qn,qn.HighlightJS=qn,qn.default=qn,zs}var Lp=qp();const Bt=Us(Lp),Da="[A-Za-z$_][0-9A-Za-z$_]*",Np=["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"],Ip=["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"],qa=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],La=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],Mp=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Op=[].concat(La,Ra,qa);function Na(e){const t=e.regex,n=(Z,{after:fe})=>{const J="</"+Z[0].slice(1);return Z.input.indexOf(J,fe)!==-1},r=Da,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 ot=Z.input.substring(J);if(Ce=ot.match(/^\s*=/)){fe.ignoreMatch();return}if((Ce=ot.match(/^\s+extends\s+/))&&Ce.index===0){fe.ignoreMatch();return}}},c={$pattern:Da,keyword:Np,literal:Ip,built_in:Op,"variable.language":Mp},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 d=[].concat(E,p.contains),k=d.concat([{begin:/\(/,end:/\)/,keywords:c,contains:["self"].concat(d)}]),w={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:k},$={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:{_:[...Ra,...qa]}},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 L(Z){return t.concat("(?!",Z.join("|"),")")}const re={match:t.concat(/\b/,L([...La,"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},U={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]},re,F,$,U,{match:/\$[(.]/}]}}function Ia(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},Fp={},Pp={class:"chat-button"};function Bp(e,t){return ee(),ge("button",Pp,[Gt(e.$slots,"default")])}const $p=Pr(Fp,[["render",Bp]]),Up={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function zp(e,t){return ee(),ge("svg",Up,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 Hp={name:"mdi-close",render:zp};function Hs(){return Cn(ka)}function er(){return{options:Cn(wa)}}function Br(){const{options:e}=er(),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 Fe(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 Vp={class:"chat-get-started"},jp=pt({__name:"GetStarted",setup(e){const{t}=Br();return(n,r)=>(ee(),ge("div",Vp,[Re($p,{onClick:r[0]||(r[0]=s=>n.$emit("click:button"))},{default:Mt(()=>[Rs(_n(pe(t)("getStarted")),1)]),_:1})]))}}),Gp={},Kp={class:"chat-powered-by"};function Zp(e,t){return ee(),ge("div",Kp,t[0]||(t[0]=[Rs(" Powered by "),we("a",{href:"https://n8n.io?utm_source=n8n-external&utm_medium=widget-powered-by"},"n8n",-1)]))}const Wp=Pr(Gp,[["render",Zp]]),Jp={class:"chat-get-started-footer"},Yp={key:0},Xp=pt({__name:"GetStartedFooter",setup(e){const{t,te:n}=Br();return(r,s)=>(ee(),ge("div",Jp,[pe(n)("footer")?(ee(),ge("div",Yp,_n(pe(t)("footer")),1)):at("",!0),Re(Wp)]))}});function Qp(e){return Di()?(Gu(e),!0):!1}function ed(){const e=new Set,t=s=>{e.delete(s)};return{on:s=>{e.add(s);const o=()=>t(s);return Qp(o),{off:o}},off:t,trigger:(...s)=>Promise.all(Array.from(e).map(o=>o(...s)))}}const td=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const nd=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),rd=td?window.document:void 0,sd={multiple:!0,accept:"*",reset:!1,directory:!1};function od(e={}){const{document:t=rd}=e,n=Ze(null),{on:r,trigger:s}=ed();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={...sd,...e,...a};o.multiple=l.multiple,o.accept=l.accept,o.webkitdirectory=l.directory,nd(l,"capture")&&(o.capture=l.capture),l.reset&&i(),o.click()};return{files:ps(n),open:c,reset:i,onChange:r}}const id={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function cd(e,t){return ee(),ge("svg",id,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 ad={name:"mdi-paperclip",render:cd},ld={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function ud(e,t){return ee(),ge("svg",ld,t[0]||(t[0]=[we("path",{fill:"currentColor",d:"m2 21l21-9L2 3v7l15 2l-15 2z"},null,-1)]))}const fd={name:"mdi-send",render:ud},hd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function pd(e,t){return ee(),ge("svg",hd,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 dd={name:"mdi-closeThick",render:pd},gd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function md(e,t){return ee(),ge("svg",gd,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 _d={name:"mdi-fileImage",render:md},bd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function vd(e,t){return ee(),ge("svg",bd,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 yd={name:"mdi-fileMusic",render:vd},xd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Ed(e,t){return ee(),ge("svg",xd,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 Ma={name:"mdi-fileText",render:Ed},kd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function wd(e,t){return ee(),ge("svg",kd,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 Ad={name:"mdi-fileVideo",render:wd},Cd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Sd(e,t){return ee(),ge("svg",Cd,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 Td={name:"mdi-openInNew",render:Sd},Dd={class:"chat-file-name"},Oa=Pr(pt({__name:"ChatFile",props:{file:{},isRemovable:{type:Boolean},isPreviewable:{type:Boolean}},emits:["remove"],setup(e,{emit:t}){const n=e,r=t,s={document:Ma,audio:yd,image:_d,video:Ad},o=tt(()=>{var l;const a=(l=n.file)==null?void 0:l.type.split("/")[0];return s[a]||Ma});function i(){n.isPreviewable&&window.open(URL.createObjectURL(n.file))}function c(){r("remove",n.file)}return(a,l)=>(ee(),ge("div",{class:"chat-file",onClick:i},[Re(pe(o)),we("p",Dd,_n(a.file.name),1),a.isRemovable?(ee(),ge("span",{key:0,class:"chat-file-delete",onClick:ya(c,["stop"])},[Re(pe(dd))])):a.isPreviewable?(ee(),Me(pe(Td),{key:1,class:"chat-file-preview"})):at("",!0)]))}}),[["__scopeId","data-v-e0d57af7"]]),Rd={class:"chat-inputs"},qd={key:0,class:"chat-input-left-panel"},Ld=["disabled","placeholder"],Nd={class:"chat-inputs-controls"},Id=["disabled"],Md=["disabled"],Od={key:0,class:"chat-files"},Fd=Pr(pt({__name:"Input",props:{placeholder:{default:"inputPlaceholder"}},emits:["arrowKeyDown"],setup(e,{emit:t}){const n=e,{t:r}=Br(),s=t,{options:o}=er(),i=Hs(),{waitingForResponse:c}=i,a=Ze(null),l=Ze(null),u=Ze(""),f=Ze(!1),p=Ze(null),h=tt(()=>{var U;return u.value===""||pe(c)||((U=o.disabled)==null?void 0:U.value)===!0}),m=tt(()=>{var U;return((U=o.disabled)==null?void 0:U.value)===!0}),x=tt(()=>{var U;return A.value&&pe(c)&&!((U=o.disabled)!=null&&U.value)}),A=tt(()=>pe(o.allowFileUploads)===!0),v=tt(()=>pe(o.allowedFilesMimeTypes)),E=tt(()=>({"--controls-count":A.value?2:1})),{open:b,reset:d,onChange:k}=od({multiple:!0,reset:!1});k(U=>{if(!U)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<U.length;Y++)K.items.add(U[Y]);a.value=K.files}),jt(()=>{st.on("focusInput",$),st.on("blurInput",w),st.on("setInputValue",T),l.value&&(p.value=new ResizeObserver(U=>{for(const K of U)K.target===l.value&&S({target:l.value})}),p.value.observe(l.value))}),xs(()=>{st.off("focusInput",$),st.off("blurInput",w),st.off("setInputValue",T),p.value&&(p.value.disconnect(),p.value=null)});function w(){l.value&&l.value.blur()}function $(){l.value&&l.value.focus()}function T(U){u.value=U,$()}async function D(U){if(U.preventDefault(),h.value)return;const K=u.value;u.value="",f.value=!0,await i.sendMessage(K,Array.from(a.value??[])),f.value=!1,d(),a.value=null}async function q(U){U.shiftKey||(await D(U),S({target:l.value}))}function F(U){if(!a.value)return;const K=new DataTransfer;for(let Y=0;Y<a.value.length;Y++){const Z=a.value[Y];U.name!==Z.name&&K.items.add(Z)}d(),a.value=K.files}function L(U){(U.key==="ArrowUp"||U.key==="ArrowDown")&&(U.preventDefault(),s("arrowKeyDown",{key:U.key,currentInputValue:u.value}))}function re(){x.value||b({accept:pe(v)})}function S(U){const K=U.target;K.style.height="var(--chat--textarea--height)";const Y=Math.min(K.scrollHeight,480);K.style.height=`${Y}px`}return(U,K)=>{var Y;return ee(),ge("div",{class:"chat-input",style:Nn(E.value),onKeydown:ya(L,["stop"])},[we("div",Rd,[U.$slots.leftPanel?(ee(),ge("div",qd,[Gt(U.$slots,"leftPanel",{},void 0,!0)])):at("",!0),nc(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:pe(r)(n.placeholder),onKeydown:hp(q,["enter"]),onInput:S,onMousedown:S,onFocus:S},null,40,Ld),[[ap,u.value]]),we("div",Nd,[A.value?(ee(),ge("button",{key:0,disabled:x.value,class:"chat-input-file-button","data-test-id":"chat-attach-file-button",onClick:re},[Re(pe(ad),{height:"24",width:"24"})],8,Id)):at("",!0),we("button",{disabled:h.value,class:"chat-input-send-button",onClick:D},[Re(pe(fd),{height:"24",width:"24"})],8,Md)])]),(Y=a.value)!=null&&Y.length&&!f.value?(ee(),ge("div",Od,[(ee(!0),ge(ze,null,Sr(a.value,Z=>(ee(),Me(Oa,{key:Z.name,file:Z,"is-removable":!0,"is-previewable":!0,onRemove:F},null,8,["file"]))),128))])):at("",!0)],36)}}}),[["__scopeId","data-v-3d085be7"]]),Pd={class:"chat-layout"},Bd={key:0,class:"chat-header"},$d={key:2,class:"chat-footer"},Ud=pt({__name:"Layout",setup(e){const t=Ze(null);function n(){const r=t.value;r&&(r.scrollTop=r.scrollHeight)}return jt(()=>{st.on("scrollToBottom",n),window.addEventListener("resize",n)}),ys(()=>{st.off("scrollToBottom",n),window.removeEventListener("resize",n)}),(r,s)=>(ee(),ge("main",Pd,[r.$slots.header?(ee(),ge("div",Bd,[Gt(r.$slots,"header")])):at("",!0),r.$slots.default?(ee(),ge("div",{key:1,ref_key:"chatBodyRef",ref:t,class:"chat-body"},[Gt(r.$slots,"default")],512)):at("",!0),r.$slots.footer?(ee(),ge("div",$d,[Gt(r.$slots,"footer")])):at("",!0)]))}});function zd(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"],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:x,built_in:[...v,...E,"set","shopt",...b,...d]},contains:[p,e.SHEBANG(),h,u,e.HASH_COMMENT_MODE,o,A,i,c,a,l,n]}}function Hd(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$_]*",Fa=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Pa=["true","false","null","undefined","NaN","Infinity"],Ba=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],$a=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Ua=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],za=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Ha=[].concat(Ua,Ba,$a);function Vd(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 ot=Z.input.substring(J);if(Ce=ot.match(/^\s*=/)){fe.ignoreMatch();return}if((Ce=ot.match(/^\s+extends\s+/))&&Ce.index===0){fe.ignoreMatch();return}}},c={$pattern:$r,keyword:Fa,literal:Pa,built_in:Ha,"variable.language":za},a="[0-9](_?[0-9])*",l=`\\.(${a})`,u="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",f={className:"number",variants:[{begin:`(\\b(${u})((${l})|\\.)?|(${l}))[eE][+-]?(${a})\\b`},{begin:`\\b(${u})\\b((${l})\\b|\\.)?|(${l})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},p={className:"subst",begin:"\\$\\{",end:"\\}",keywords: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 d=[].concat(E,p.contains),k=d.concat([{begin:/\(/,end:/\)/,keywords:c,contains:["self"].concat(d)}]),w={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:k},$={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:{_:[...Ba,...$a]}},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 L(Z){return t.concat("(?!",Z.join("|"),")")}const re={match:t.concat(/\b/,L([...Ua,"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},U={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]},re,F,$,U,{match:/\$[(.]/}]}}function jd(e){const t=Vd(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:Fa.concat(c),literal:Pa,built_in:Ha.concat(r),"variable.language":za},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 Vs,Va;function Gd(){if(Va)return Vs;Va=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)},Vs=n,Vs}var Kd=Gd();const Zd=Us(Kd);var js={};const Wd={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 Gs,ja;function Ga(){return ja||(ja=1,Gs=Wd),Gs}var Ks,Ka;function Zs(){return Ka||(Ka=1,Ks=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/),Ks}var Tn={},Ws,Za;function Jd(){if(Za)return Ws;Za=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="-_.!~*'()",Ws=n,Ws}var Js,Wa;function Yd(){if(Wa)return Js;Wa=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="",Js=n,Js}var Ys,Ja;function Xd(){return Ja||(Ja=1,Ys=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}),Ys}var Xs,Ya;function Qd(){if(Ya)return Xs;Ya=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,d,k,w=x;if(w=w.trim(),!A&&x.split("#").length===1){var $=r.exec(w);if($)return this.pathname=$[1],$[2]&&(this.search=$[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++)d=w.indexOf(a[v]),d!==-1&&(D===-1||d<D)&&(D=d);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++)d=w.indexOf(c[v]),d!==-1&&(D===-1||d<D)&&(D=d);D===-1&&(D=w.length),w[D-1]===":"&&D--;var L=w.slice(0,D);w=w.slice(D),this.parseHost(L),this.hostname=this.hostname||"";var re=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!re){var S=this.hostname.split(/\./);for(v=0,E=S.length;v<E;v++){var U=S[v];if(U&&!U.match(u)){for(var K="",Y=0,Z=U.length;Y<Z;Y++)U.charCodeAt(Y)>127?K+="x":K+=U[Y];if(!K.match(u)){var fe=S.slice(0,v),J=S.slice(v+1),Ae=U.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=""),re&&(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 ot=w.indexOf("?");return ot!==-1&&(this.search=w.substr(ot),w=w.slice(0,ot)),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)},Xs=m,Xs}var Xa;function Qa(){return Xa||(Xa=1,Tn.encode=Jd(),Tn.decode=Yd(),Tn.format=Xd(),Tn.parse=Qd()),Tn}var ln={},Qs,el;function tl(){return el||(el=1,Qs=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Qs}var eo,nl;function rl(){return nl||(nl=1,eo=/[\0-\x1F\x7F-\x9F]/),eo}var to,sl;function eg(){return sl||(sl=1,to=/[\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]/),to}var no,ol;function il(){return ol||(ol=1,no=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),no}var cl;function tg(){return cl||(cl=1,ln.Any=tl(),ln.Cc=rl(),ln.Cf=eg(),ln.P=Zs(),ln.Z=il()),ln}var al;function xe(){return al||(al=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,U){return r.call(S,U)}function o(S){var U=Array.prototype.slice.call(arguments,1);return U.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,U,K){return[].concat(S.slice(0,U),K,S.slice(U+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 U=55296+(S>>10),K=56320+(S&1023);return String.fromCharCode(U,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=Ga();function m(S,U){var K;return s(h,U)?h[U]:U.charCodeAt(0)===35&&p.test(U)&&(K=U[1].toLowerCase()==="x"?parseInt(U.slice(2),16):parseInt(U.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(U,K,Y){return K||m(U,Y)})}var v=/[&<>"]/,E=/[&<>"]/g,b={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function d(S){return b[S]}function k(S){return v.test(S)?S.replace(E,d):S}var w=/[.?*+^$[\]\\(){}|-]/g;function $(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=Zs();function F(S){return q.test(S)}function L(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 re(S){return S=S.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(S=S.replace(/ẞ/g,"ß")),S.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=Qa(),e.lib.ucmicro=tg(),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=L,e.isPunctChar=F,e.escapeRE=$,e.normalizeReference=re}(js)),js}var tr={},ro,ll;function ng(){return ll||(ll=1,ro=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}),ro}var so,ul;function rg(){if(ul)return so;ul=1;var e=xe().unescapeAll;return so=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},so}var oo,fl;function sg(){if(fl)return oo;fl=1;var e=xe().unescapeAll;return oo=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},oo}var hl;function og(){return hl||(hl=1,tr.parseLinkLabel=ng(),tr.parseLinkDestination=rg(),tr.parseLinkTitle=sg()),tr}var io,pl;function ig(){if(pl)return io;pl=1;var e=xe().assign,t=xe().unescapeAll,n=xe().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>
20
+ **/let Is;const ta=typeof window<"u"&&window.trustedTypes;if(ta)try{Is=ta.createPolicy("vue",{createHTML:e=>e})}catch{}const na=Is?e=>Is.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,ra=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{ra.innerHTML=na(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const c=ra.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",Wn="animation",Jn=Symbol("_vtc"),sa={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=Be({},sc,sa),oa=(e=>(e.displayName="Transition",e.props=zh,e))((e,{slots:t})=>ea(Pf,Hh(e),t)),an=(e,t=[])=>{oe(e)?e.forEach(n=>n(...t)):e&&e(...t)},ia=e=>e?oe(e)?e.some(t=>t.length>1):e.length>1:!1;function Hh(e){const t={};for(const L in e)L in sa||(t[L]=e[L]);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:d,onLeaveCancelled:k,onBeforeAppear:w=v,onAppear:$=E,onAppearCancelled:T=b}=t,D=(L,re,S,U)=>{L._enterCancelled=U,ln(L,re?u:c),ln(L,re?l:i),S&&S()},q=(L,re)=>{L._isLeaving=!1,ln(L,f),ln(L,h),ln(L,p),re&&re()},F=L=>(re,S)=>{const U=L?$:E,K=()=>D(re,L,S);an(U,[re,K]),ca(()=>{ln(re,L?a:o),Pt(re,L?u:c),ia(U)||aa(re,r,x,K)})};return Be(t,{onBeforeEnter(L){an(v,[L]),Pt(L,o),Pt(L,i)},onBeforeAppear(L){an(w,[L]),Pt(L,a),Pt(L,l)},onEnter:F(!1),onAppear:F(!0),onLeave(L,re){L._isLeaving=!0;const S=()=>q(L,re);Pt(L,f),L._enterCancelled?(Pt(L,p),fa()):(fa(),Pt(L,p)),ca(()=>{L._isLeaving&&(ln(L,f),Pt(L,h),ia(d)||aa(L,r,A,S))}),an(d,[L,S])},onEnterCancelled(L){D(L,!1,void 0,!0),an(b,[L])},onAppearCancelled(L){D(L,!0,void 0,!0),an(T,[L])},onLeaveCancelled(L){q(L),an(k,[L])}})}function Vh(e){if(e==null)return null;if(Re(e))return[Ms(e.enter),Ms(e.leave)];{const t=Ms(e);return[t,t]}}function Ms(e){return zu(e)}function Pt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Jn]||(e[Jn]=new Set)).add(t)}function ln(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Jn];n&&(n.delete(t),n.size||(e[Jn]=void 0))}function ca(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let jh=0;function aa(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=la(s,o),c=r(`${Wn}Delay`),a=r(`${Wn}Duration`),l=la(c,a);let u=null,f=0,p=0;t===Wt?i>0&&(u=Wt,f=i,p=o.length):t===Wn?l>0&&(u=Wn,f=l,p=a.length):(f=Math.max(i,l),u=f>0?i>l?Wt:Wn: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 la(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>ua(n)+ua(e[r])))}function ua(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function fa(){return document.body.offsetHeight}function Kh(e,t,n){const r=e[Jn];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Or=Symbol("_vod"),ha=Symbol("_vsh"),Zh={beforeMount(e,{value:t},{transition:n}){e[Or]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Yn(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),Yn(e,!0),r.enter(e)):r.leave(e,()=>{Yn(e,!1)}):Yn(e,t))},beforeUnmount(e,{value:t}){Yn(e,t)}};function Yn(e,t){e.style.display=t?e[Or]:"none",e[ha]=!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&&Fr(r,c,"")}else for(const i in t)n[i]==null&&Fr(r,i,"");for(const i in n)i==="display"&&(o=!0),Fr(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");Or in e&&(e[Or]=o?r.display:"",e[ha]&&(r.display="none"))}const pa=/\s*!important$/;function Fr(e,t,n){if(oe(n))n.forEach(r=>Fr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Xh(e,t);pa.test(n)?e.setProperty(Ut(r),n.replace(pa,""),"important"):e[r]=n}}const da=["Webkit","Moz","ms"],Os={};function Xh(e,t){const n=Os[t];if(n)return n;let r=ut(t);if(r!=="filter"&&r in e)return Os[t]=r;r=lr(r);for(let s=0;s<da.length;s++){const o=da[s]+r;if(o in e)return Os[t]=o}return t}const ga="http://www.w3.org/1999/xlink";function ma(e,t,n,r,s,o=Ku(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ga,t.slice(6,t.length)):e.setAttributeNS(ga,t,n):n==null||o&&!Ci(n)?e.removeAttribute(t):e.setAttribute(t,o?"":Rt(n)?String(n):n)}function _a(e,t,n,r,s){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?na(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=Ci(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 ba=Symbol("_vei");function ep(e,t,n,r,s=null){const o=e[ba]||(e[ba]={}),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 va=/(?:Once|Passive|Capture)$/;function tp(e){let t;if(va.test(e)){t={};let r;for(;r=e.match(va);)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 Fs=0;const np=Promise.resolve(),rp=()=>Fs||(np.then(()=>Fs=0),Fs=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(oe(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 ya=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)?Yr(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))?(_a(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ma(e,t,r,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Le(r))?_a(e,ut(t),r,o,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ma(e,t,r,i))};function cp(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ya(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 ya(t)&&Le(n)?!1:t in e}const xa=e=>{const t=e.props["onUpdate:modelValue"]||!1;return oe(t)?n=>ur(t,n):t};function ap(e){e.target.composing=!0}function Ea(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ps=Symbol("_assign"),lp={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Ps]=xa(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=ts(c)),e[Ps](c)}),n&&Sn(e,"change",()=>{e.value=e.value.trim()}),t||(Sn(e,"compositionstart",ap),Sn(e,"compositionend",Ea),Sn(e,"change",Ea))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:s,number:o}},i){if(e[Ps]=xa(i),e.composing)return;const c=(o||e.type==="number")&&!/^0\d/.test(e.value)?ts(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))},ka=(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=Be({patchProp:ip},Uh);let wa;function gp(){return wa||(wa=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 Xn={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",Aa="n8n-chat/sessionId",Ca="Chat",Sa="ChatOptions";for(var Ve=[],Bs=0;Bs<256;++Bs)Ve.push((Bs+256).toString(16).slice(1));function yp(e,t=0){return(Ve[e[t+0]]+Ve[e[t+1]]+Ve[e[t+2]]+Ve[e[t+3]]+"-"+Ve[e[t+4]]+Ve[e[t+5]]+"-"+Ve[e[t+6]]+Ve[e[t+7]]+"-"+Ve[e[t+8]]+Ve[e[t+9]]+"-"+Ve[e[t+10]]+Ve[e[t+11]]+Ve[e[t+12]]+Ve[e[t+13]]+Ve[e[t+14]]+Ve[e[t+15]]).toLowerCase()}var Pr,xp=new Uint8Array(16);function Ep(){if(!Pr&&(Pr=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!Pr))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return Pr(xp)}var kp=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto);const Ta={randomUUID:kp};function Qn(e,t,n){if(Ta.randomUUID&&!e)return Ta.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 $s(...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 Da(e,t={},n={}){let r=e;return Object.keys(t).length>0&&(r=`${r}?${new URLSearchParams(t).toString()}`),await $s(r,{...n,method:"GET"})}async function Ra(e,t={},n={}){return await $s(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 $s(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"?Ra:Da)(`${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"?Ra:Da)(`${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 st=Tp(),Rp={install(e,t){e.provide(Sa,t);const n=Ze([]),r=Ze(null),s=Ze(!1),o=tt(()=>(t.initialMessages??[]).map(u=>({id:Qn(),text:u,sender:"bot",createdAt:new Date().toISOString()})));async function i(u,f=[]){const p={id:Qn(),text:u,sender:"user",files:f,createdAt:new Date().toISOString()};n.value.push(p),s.value=!0,kn(()=>{st.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:Qn(),text:m,sender:"bot",createdAt:new Date().toISOString()};n.value.push(x),s.value=!1,kn(()=>{st.emit("scrollToBottom")})}async function c(){if(!t.loadPreviousSession)return;const u=localStorage.getItem(Aa)??Qn(),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=Qn(),localStorage.setItem(Aa,r.value)}const l={initialMessages:o,messages:n,currentSessionId:r,waitingForResponse:s,loadPreviousSession:c,startNewSession:a,sendMessage:i};e.provide(Ca,l),e.config.globalProperties.$chat=l}};function Us(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 zs,qa;function Lp(){if(qa)return zs;qa=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 H=_[R],le=typeof H;(le==="object"||le==="function")&&!Object.isFrozen(H)&&e(H)}),_}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 H=Object.create(null);for(const le in _)H[le]=_[le];return R.forEach(function(le){for(const Ne in le)H[Ne]=le[Ne]}),H}const s="</span>",o=_=>!!_.scope,i=(_,{prefix:R})=>{if(_.startsWith("language:"))return _.replace("language:","language-");if(_.includes(".")){const H=_.split(".");return[`${R}${H.shift()}`,...H.map((le,Ne)=>`${le}${"_".repeat(Ne+1)}`)].join(" ")}return`${R}${_}`};class c{constructor(R,H){this.buffer="",this.classPrefix=H.classPrefix,R.walk(this)}addText(R){this.buffer+=n(R)}openNode(R){if(!o(R))return;const H=i(R.scope,{prefix:this.classPrefix});this.span(H)}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 H=a({scope:R});this.add(H),this.stack.push(H)}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,H){return typeof H=="string"?R.addText(H):H.children&&(R.openNode(H),H.children.forEach(le=>this._walk(R,le)),R.closeNode(H)),R}static _collapse(R){typeof R!="string"&&R.children&&(R.children.every(H=>typeof H=="string")?R.children=[R.children.join("")]:R.children.forEach(H=>{l._collapse(H)}))}}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,H){const le=R.root;H&&(le.scope=`language:${H}`),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(H=>f(H)).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 H=_&&_.exec(R);return H&&H.index===0}const d=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function k(_,{joinWith:R}){let H=0;return _.map(le=>{H+=1;const Ne=H;let Ie=f(le),Q="";for(;Ie.length>0;){const W=d.exec(Ie);if(!W){Q+=Ie;break}Q+=Ie.substring(0,W.index),Ie=Ie.substring(W.index+W[0].length),W[0][0]==="\\"&&W[1]?Q+="\\"+String(Number(W[1])+Ne):(Q+=W[0],W[0]==="("&&H++)}return Q}).map(le=>`(${le})`).join(R)}const w=/\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]+)",L="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",re=(_={})=>{const R=/^#![ ]*\//;return _.binary&&(_.begin=x(R,/.*\b/,_.binary,/\b.*/)),r({scope:"meta",begin:R,end:/$/,relevance:0,"on:begin":(H,le)=>{H.index!==0&&le.ignoreMatch()}},_)},S={begin:"\\\\[\\s\\S]",relevance:0},U={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,H={}){const le=r({scope:"comment",begin:_,end:R,contains:[]},H);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("/\\*","\\*/"),Ce=Z("#","$"),Se={scope:"number",begin:D,relevance:0},ot={scope:"number",begin:q,relevance:0},li={scope:"number",begin:F,relevance:0},ui={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[S,{begin:/\[/,end:/\]/,relevance:0,contains:[S]}]},fn={scope:"title",begin:$,relevance:0},Rn={scope:"title",begin:T,relevance:0},rr={begin:"\\.\\s*"+T,relevance:0};var St=Object.freeze({__proto__:null,APOS_STRING_MODE:U,BACKSLASH_ESCAPE:S,BINARY_NUMBER_MODE:li,BINARY_NUMBER_RE:F,COMMENT:Z,C_BLOCK_COMMENT_MODE:J,C_LINE_COMMENT_MODE:fe,C_NUMBER_MODE:ot,C_NUMBER_RE:q,END_SAME_AS_BEGIN:function(_){return Object.assign(_,{"on:begin":(R,H)=>{H.data._beginMatch=R[1]},"on:end":(R,H)=>{H.data._beginMatch!==R[1]&&H.ignoreMatch()}})},HASH_COMMENT_MODE:Ce,IDENT_RE:$,MATCH_NOTHING_RE:w,METHOD_GUARD:rr,NUMBER_MODE:Se,NUMBER_RE:D,PHRASAL_WORDS_MODE:Y,QUOTE_STRING_MODE:K,REGEXP_MODE:ui,RE_STARTERS_RE:L,SHEBANG:re,TITLE_MODE:fn,UNDERSCORE_IDENT_RE:T,UNDERSCORE_TITLE_MODE:Rn});function Au(_,R){_.input[_.index-1]==="."&&R.ignoreMatch()}function g(_,R){_.className!==void 0&&(_.scope=_.className,delete _.className)}function y(_,R){R&&_.beginKeywords&&(_.begin="\\b("+_.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",_.__beforeBegin=Au,_.keywords=_.keywords||_.beginKeywords,delete _.beginKeywords,_.relevance===void 0&&(_.relevance=0))}function C(_,R){Array.isArray(_.illegal)&&(_.illegal=v(..._.illegal))}function M(_,R){if(_.match){if(_.begin||_.end)throw new Error("begin & end are not supported with match");_.begin=_.match,delete _.match}}function N(_,R){_.relevance===void 0&&(_.relevance=1)}const I=(_,R)=>{if(!_.beforeMatch)return;if(_.starts)throw new Error("beforeMatch cannot be used with starts");const H=Object.assign({},_);Object.keys(_).forEach(le=>{delete _[le]}),_.keywords=H.keywords,_.begin=x(H.beforeMatch,p(H.begin)),_.starts={relevance:0,contains:[Object.assign(H,{endsParent:!0})]},_.relevance=0,delete H.beforeMatch},V=["of","and","for","in","not","or","if","then","parent","list","value"],z="keyword";function B(_,R,H=z){const le=Object.create(null);return typeof _=="string"?Ne(H,_.split(" ")):Array.isArray(_)?Ne(H,_):Object.keys(_).forEach(function(Ie){Object.assign(le,B(_[Ie],R,Ie))}),le;function Ne(Ie,Q){R&&(Q=Q.map(W=>W.toLowerCase())),Q.forEach(function(W){const ce=W.split("|");le[ce[0]]=[Ie,O(ce[0],ce[1])]})}}function O(_,R){return R?Number(R):se(_)?0:1}function se(_){return V.includes(_.toLowerCase())}const G={},X=_=>{console.error(_)},ie=(_,...R)=>{console.log(`WARN: ${_}`,...R)},he=(_,R)=>{G[`${_}/${R}`]||(console.log(`Deprecated as of ${_}. ${R}`),G[`${_}/${R}`]=!0)},ve=new Error;function be(_,R,{key:H}){let le=0;const Ne=_[H],Ie={},Q={};for(let W=1;W<=R.length;W++)Q[W+le]=Ne[W],Ie[W+le]=!0,le+=E(R[W-1]);_[H]=Q,_[H]._emit=Ie,_[H]._multi=!0}function nt(_){if(Array.isArray(_.begin)){if(_.skip||_.excludeBegin||_.returnBegin)throw X("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),ve;if(typeof _.beginScope!="object"||_.beginScope===null)throw X("beginScope must be object"),ve;be(_,_.begin,{key:"beginScope"}),_.begin=k(_.begin,{joinWith:""})}}function We(_){if(Array.isArray(_.end)){if(_.skip||_.excludeEnd||_.returnEnd)throw X("skip, excludeEnd, returnEnd not compatible with endScope: {}"),ve;if(typeof _.endScope!="object"||_.endScope===null)throw X("endScope must be object"),ve;be(_,_.end,{key:"endScope"}),_.end=k(_.end,{joinWith:""})}}function dt(_){_.scope&&typeof _.scope=="object"&&_.scope!==null&&(_.beginScope=_.scope,delete _.scope)}function gt(_){dt(_),typeof _.beginScope=="string"&&(_.beginScope={_wrap:_.beginScope}),typeof _.endScope=="string"&&(_.endScope={_wrap:_.endScope}),nt(_),We(_)}function hn(_){function R(Q,W){return new RegExp(f(Q),"m"+(_.case_insensitive?"i":"")+(_.unicodeRegex?"u":"")+(W?"g":""))}class H{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 Ue=ce.findIndex((or,pi)=>pi>0&&or!==void 0),Oe=this.matchIndexes[Ue];return ce.splice(0,Ue),Object.assign(ce,Oe)}}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 H;return this.rules.slice(W).forEach(([Ue,Oe])=>ce.addRule(Ue,Oe)),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 Ue=ce.exec(W);if(this.resumingScanAtSamePosition()&&!(Ue&&Ue.index===this.lastIndex)){const Oe=this.getMatcher(0);Oe.lastIndex=this.lastIndex+1,Ue=Oe.exec(W)}return Ue&&(this.regexIndex+=Ue.position+1,this.regexIndex===this.count&&this.considerAll()),Ue}}function Ne(Q){const W=new le;return Q.contains.forEach(ce=>W.addRule(ce.begin,{rule:ce,type:"begin"})),Q.terminatorEnd&&W.addRule(Q.terminatorEnd,{type:"end"}),Q.illegal&&W.addRule(Q.illegal,{type:"illegal"}),W}function Ie(Q,W){const ce=Q;if(Q.isCompiled)return ce;[g,M,gt,I].forEach(Oe=>Oe(Q,W)),_.compilerExtensions.forEach(Oe=>Oe(Q,W)),Q.__beforeBegin=null,[y,C,N].forEach(Oe=>Oe(Q,W)),Q.isCompiled=!0;let Ue=null;return typeof Q.keywords=="object"&&Q.keywords.$pattern&&(Q.keywords=Object.assign({},Q.keywords),Ue=Q.keywords.$pattern,delete Q.keywords.$pattern),Ue=Ue||/\w+/,Q.keywords&&(Q.keywords=B(Q.keywords,_.case_insensitive)),ce.keywordPatternRe=R(Ue,!0),W&&(Q.begin||(Q.begin=/\B|\b/),ce.beginRe=R(ce.begin),!Q.end&&!Q.endsWithParent&&(Q.end=/\B|\b/),Q.end&&(ce.endRe=R(ce.end)),ce.terminatorEnd=f(ce.end)||"",Q.endsWithParent&&W.terminatorEnd&&(ce.terminatorEnd+=(Q.end?"|":"")+W.terminatorEnd)),Q.illegal&&(ce.illegalRe=R(Q.illegal)),Q.contains||(Q.contains=[]),Q.contains=[].concat(...Q.contains.map(function(Oe){return rt(Oe==="self"?Q:Oe)})),Q.contains.forEach(function(Oe){Ie(Oe,ce)}),Q.starts&&Ie(Q.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 sr(_){return _?_.endsWithParent||sr(_.starts):!1}function rt(_){return _.variants&&!_.cachedVariants&&(_.cachedVariants=_.variants.map(function(R){return r(_,{variants:null},R)})),_.cachedVariants?_.cachedVariants:sr(_)?r(_,{starts:_.starts?r(_.starts):null}):Object.isFrozen(_)?r(_):_}var mt="11.9.0";class jr extends Error{constructor(R,H){super(R),this.name="HTMLInjectionError",this.html=H}}const hi=n,Cu=r,Su=Symbol("nomatch"),qm=7,Tu=function(_){const R=Object.create(null),H=Object.create(null),le=[];let Ne=!0;const Ie="Could not find the language '{}', did you forget to load/include a language module?",Q={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 Ue(P){let ne=P.className+" ";ne+=P.parentNode?P.parentNode.className:"";const me=W.languageDetectRe.exec(ne);if(me){const De=Yt(me[1]);return De||(ie(Ie.replace("{}",me[1])),ie("Falling back to no-highlight mode for this block.",P)),De?me[1]:"no-highlight"}return ne.split(/\s+/).find(De=>ce(De)||Yt(De))}function Oe(P,ne,me){let De="",Pe="";typeof ne=="object"?(De=P,me=ne.ignoreIllegals,Pe=ne.language):(he("10.7.0","highlight(lang, code, ...args) has been deprecated."),he("10.7.0",`Please use highlight(code, options) instead.
21
+ https://github.com/highlightjs/highlight.js/issues/2277`),Pe=P,De=ne),me===void 0&&(me=!0);const vt={code:De,language:Pe};Kr("before:highlight",vt);const Xt=vt.result?vt.result:or(vt.language,vt.code,me);return Xt.code=vt.code,Kr("after:highlight",Xt),Xt}function or(P,ne,me,De){const Pe=Object.create(null);function vt(j,te){return j.keywords[te]}function Xt(){if(!ue.keywords){je.addText(qe);return}let j=0;ue.keywordPatternRe.lastIndex=0;let te=ue.keywordPatternRe.exec(qe),ge="";for(;te;){ge+=qe.substring(j,te.index);const Ee=Dt.case_insensitive?te[0].toLowerCase():te[0],Je=vt(ue,Ee);if(Je){const[$t,Wm]=Je;if(je.addText(ge),ge="",Pe[Ee]=(Pe[Ee]||0)+1,Pe[Ee]<=qm&&(Jr+=Wm),$t.startsWith("_"))ge+=te[0];else{const Jm=Dt.classNameAliases[$t]||$t;Tt(te[0],Jm)}}else ge+=te[0];j=ue.keywordPatternRe.lastIndex,te=ue.keywordPatternRe.exec(qe)}ge+=qe.substring(j),je.addText(ge)}function Zr(){if(qe==="")return;let j=null;if(typeof ue.subLanguage=="string"){if(!R[ue.subLanguage]){je.addText(qe);return}j=or(ue.subLanguage,qe,!0,Ou[ue.subLanguage]),Ou[ue.subLanguage]=j._top}else j=di(qe,ue.subLanguage.length?ue.subLanguage:null);ue.relevance>0&&(Jr+=j.relevance),je.__addSublanguage(j._emitter,j.language)}function lt(){ue.subLanguage!=null?Zr():Xt(),qe=""}function Tt(j,te){j!==""&&(je.startScope(te),je.addText(j),je.endScope())}function Lu(j,te){let ge=1;const Ee=te.length-1;for(;ge<=Ee;){if(!j._emit[ge]){ge++;continue}const Je=Dt.classNameAliases[j[ge]]||j[ge],$t=te[ge];Je?Tt($t,Je):(qe=$t,Xt(),qe=""),ge++}}function Nu(j,te){return j.scope&&typeof j.scope=="string"&&je.openNode(Dt.classNameAliases[j.scope]||j.scope),j.beginScope&&(j.beginScope._wrap?(Tt(qe,Dt.classNameAliases[j.beginScope._wrap]||j.beginScope._wrap),qe=""):j.beginScope._multi&&(Lu(j.beginScope,te),qe="")),ue=Object.create(j,{parent:{value:ue}}),ue}function Iu(j,te,ge){let Ee=b(j.endRe,ge);if(Ee){if(j["on:end"]){const Je=new t(j);j["on:end"](te,Je),Je.isMatchIgnored&&(Ee=!1)}if(Ee){for(;j.endsParent&&j.parent;)j=j.parent;return j}}if(j.endsWithParent)return Iu(j.parent,te,ge)}function Vm(j){return ue.matcher.regexIndex===0?(qe+=j[0],1):(bi=!0,0)}function jm(j){const te=j[0],ge=j.rule,Ee=new t(ge),Je=[ge.__beforeBegin,ge["on:begin"]];for(const $t of Je)if($t&&($t(j,Ee),Ee.isMatchIgnored))return Vm(te);return ge.skip?qe+=te:(ge.excludeBegin&&(qe+=te),lt(),!ge.returnBegin&&!ge.excludeBegin&&(qe=te)),Nu(ge,j),ge.returnBegin?0:te.length}function Gm(j){const te=j[0],ge=ne.substring(j.index),Ee=Iu(ue,j,ge);if(!Ee)return Su;const Je=ue;ue.endScope&&ue.endScope._wrap?(lt(),Tt(te,ue.endScope._wrap)):ue.endScope&&ue.endScope._multi?(lt(),Lu(ue.endScope,j)):Je.skip?qe+=te:(Je.returnEnd||Je.excludeEnd||(qe+=te),lt(),Je.excludeEnd&&(qe=te));do ue.scope&&je.closeNode(),!ue.skip&&!ue.subLanguage&&(Jr+=ue.relevance),ue=ue.parent;while(ue!==Ee.parent);return Ee.starts&&Nu(Ee.starts,j),Je.returnEnd?0:te.length}function Km(){const j=[];for(let te=ue;te!==Dt;te=te.parent)te.scope&&j.unshift(te.scope);j.forEach(te=>je.openNode(te))}let Wr={};function Mu(j,te){const ge=te&&te[0];if(qe+=j,ge==null)return lt(),0;if(Wr.type==="begin"&&te.type==="end"&&Wr.index===te.index&&ge===""){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=Wr.rule,Ee}return 1}if(Wr=te,te.type==="begin")return jm(te);if(te.type==="illegal"&&!me){const Ee=new Error('Illegal lexeme "'+ge+'" for mode "'+(ue.scope||"<unnamed>")+'"');throw Ee.mode=ue,Ee}else if(te.type==="end"){const Ee=Gm(te);if(Ee!==Su)return Ee}if(te.type==="illegal"&&ge==="")return 1;if(_i>1e5&&_i>te.index*3)throw new Error("potential infinite loop, way more iterations than matches");return qe+=ge,ge.length}const Dt=Yt(P);if(!Dt)throw X(Ie.replace("{}",P)),new Error('Unknown language: "'+P+'"');const Zm=hn(Dt);let mi="",ue=De||Zm;const Ou={},je=new W.__emitter(W);Km();let qe="",Jr=0,pn=0,_i=0,bi=!1;try{if(Dt.__emitTokens)Dt.__emitTokens(ne,je);else{for(ue.matcher.considerAll();;){_i++,bi?bi=!1:ue.matcher.considerAll(),ue.matcher.lastIndex=pn;const j=ue.matcher.exec(ne);if(!j)break;const te=ne.substring(pn,j.index),ge=Mu(te,j);pn=j.index+ge}Mu(ne.substring(pn))}return je.finalize(),mi=je.toHTML(),{language:P,value:mi,relevance:Jr,illegal:!1,_emitter:je,_top:ue}}catch(j){if(j.message&&j.message.includes("Illegal"))return{language:P,value:hi(ne),illegal:!0,relevance:0,_illegalBy:{message:j.message,index:pn,context:ne.slice(pn-100,pn+100),mode:j.mode,resultSoFar:mi},_emitter:je};if(Ne)return{language:P,value:hi(ne),illegal:!1,relevance:0,errorRaised:j,_emitter:je,_top:ue};throw j}}function pi(P){const ne={value:hi(P),illegal:!1,relevance:0,_top:Q,_emitter:new W.__emitter(W)};return ne._emitter.addText(P),ne}function di(P,ne){ne=ne||W.languages||Object.keys(R);const me=pi(P),De=ne.filter(Yt).filter(qu).map(lt=>or(lt,P,!1));De.unshift(me);const Pe=De.sort((lt,Tt)=>{if(lt.relevance!==Tt.relevance)return Tt.relevance-lt.relevance;if(lt.language&&Tt.language){if(Yt(lt.language).supersetOf===Tt.language)return 1;if(Yt(Tt.language).supersetOf===lt.language)return-1}return 0}),[vt,Xt]=Pe,Zr=vt;return Zr.secondBest=Xt,Zr}function Lm(P,ne,me){const De=ne&&H[ne]||me;P.classList.add("hljs"),P.classList.add(`language-${De}`)}function gi(P){let ne=null;const me=Ue(P);if(ce(me))return;if(Kr("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 jr("One of your code blocks includes unescaped HTML.",P.innerHTML);ne=P;const De=ne.textContent,Pe=me?Oe(De,{language:me,ignoreIllegals:!0}):di(De);P.innerHTML=Pe.value,P.dataset.highlighted="yes",Lm(P,me,Pe.language),P.result={language:Pe.language,re:Pe.relevance,relevance:Pe.relevance},Pe.secondBest&&(P.secondBest={language:Pe.secondBest.language,relevance:Pe.secondBest.relevance}),Kr("after:highlightElement",{el:P,result:Pe,text:De})}function Nm(P){W=Cu(W,P)}const Im=()=>{Gr(),he("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function Mm(){Gr(),he("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let Du=!1;function Gr(){if(document.readyState==="loading"){Du=!0;return}document.querySelectorAll(W.cssSelector).forEach(gi)}function Om(){Du&&Gr()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",Om,!1);function Fm(P,ne){let me=null;try{me=ne(_)}catch(De){if(X("Language definition for '{}' could not be registered.".replace("{}",P)),Ne)X(De);else throw De;me=Q}me.name||(me.name=P),R[P]=me,me.rawDefinition=ne.bind(null,_),me.aliases&&Ru(me.aliases,{languageName:P})}function Pm(P){delete R[P];for(const ne of Object.keys(H))H[ne]===P&&delete H[ne]}function Bm(){return Object.keys(R)}function Yt(P){return P=(P||"").toLowerCase(),R[P]||R[H[P]]}function Ru(P,{languageName:ne}){typeof P=="string"&&(P=[P]),P.forEach(me=>{H[me.toLowerCase()]=ne})}function qu(P){const ne=Yt(P);return ne&&!ne.disableAutodetect}function $m(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 Um(P){$m(P),le.push(P)}function zm(P){const ne=le.indexOf(P);ne!==-1&&le.splice(ne,1)}function Kr(P,ne){const me=P;le.forEach(function(De){De[me]&&De[me](ne)})}function Hm(P){return he("10.7.0","highlightBlock will be removed entirely in v12.0"),he("10.7.0","Please use highlightElement now."),gi(P)}Object.assign(_,{highlight:Oe,highlightAuto:di,highlightAll:Gr,highlightElement:gi,highlightBlock:Hm,configure:Nm,initHighlighting:Im,initHighlightingOnLoad:Mm,registerLanguage:Fm,unregisterLanguage:Pm,listLanguages:Bm,getLanguage:Yt,registerAliases:Ru,autoDetection:qu,inherit:Cu,addPlugin:Um,removePlugin:zm}),_.debugMode=function(){Ne=!1},_.safeMode=function(){Ne=!0},_.versionString=mt,_.regex={concat:x,lookahead:p,either:v,optional:m,anyNumberOfTimes:h};for(const P in St)typeof St[P]=="object"&&e(St[P]);return Object.assign(_,St),_},qn=Tu({});return qn.newInstance=()=>Tu({}),zs=qn,qn.HighlightJS=qn,qn.default=qn,zs}var Np=Lp();const Bt=Us(Np),La="[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"],Na=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],Ia=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],Ma=["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(Ma,Na,Ia);function Oa(e){const t=e.regex,n=(Z,{after:fe})=>{const J="</"+Z[0].slice(1);return Z.input.indexOf(J,fe)!==-1},r=La,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,Ce=Z.input[J];if(Ce==="<"||Ce===","){fe.ignoreMatch();return}Ce===">"&&(n(Z,{after:J})||fe.ignoreMatch());let Se;const ot=Z.input.substring(J);if(Se=ot.match(/^\s*=/)){fe.ignoreMatch();return}if((Se=ot.match(/^\s+extends\s+/))&&Se.index===0){fe.ignoreMatch();return}}},c={$pattern:La,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 d=[].concat(E,p.contains),k=d.concat([{begin:/\(/,end:/\)/,keywords:c,contains:["self"].concat(d)}]),w={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:k},$={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:{_:[...Na,...Ia]}},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 L(Z){return t.concat("(?!",Z.join("|"),")")}const re={match:t.concat(/\b/,L([...Ma,"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},U={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]},re,F,$,U,{match:/\$[(.]/}]}}function Fa(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 Br=(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 ee(),de("button",Bp,[Gt(e.$slots,"default")])}const Up=Br(Pp,[["render",$p]]),zp={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Hp(e,t){return ee(),de("svg",zp,t[0]||(t[0]=[ke("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 Hs(){return Cn(Ca)}function er(){return{options:Cn(Sa)}}function $r(){const{options:e}=er(),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 Fe(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=pt({__name:"GetStarted",setup(e){const{t}=$r();return(n,r)=>(ee(),de("div",jp,[Ae(Up,{onClick:r[0]||(r[0]=s=>n.$emit("click:button"))},{default:Et(()=>[Nr(en(pe(t)("getStarted")),1)]),_:1})]))}}),Kp={},Zp={class:"chat-powered-by"};function Wp(e,t){return ee(),de("div",Zp,t[0]||(t[0]=[Nr(" Powered by "),ke("a",{href:"https://n8n.io?utm_source=n8n-external&utm_medium=widget-powered-by"},"n8n",-1)]))}const Jp=Br(Kp,[["render",Wp]]),Yp={class:"chat-get-started-footer"},Xp={key:0},Qp=pt({__name:"GetStartedFooter",setup(e){const{t,te:n}=$r();return(r,s)=>(ee(),de("div",Yp,[pe(n)("footer")?(ee(),de("div",Xp,en(pe(t)("footer")),1)):at("",!0),Ae(Jp)]))}});function ed(e){return Di()?(Wu(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=Ze(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:ds(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 ee(),de("svg",cd,t[0]||(t[0]=[ke("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 ee(),de("svg",ud,t[0]||(t[0]=[ke("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 ee(),de("svg",pd,t[0]||(t[0]=[ke("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 ee(),de("svg",md,t[0]||(t[0]=[ke("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 ee(),de("svg",vd,t[0]||(t[0]=[ke("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 ee(),de("svg",Ed,t[0]||(t[0]=[ke("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 Pa={name:"mdi-fileText",render:kd},wd={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function Ad(e,t){return ee(),de("svg",wd,t[0]||(t[0]=[ke("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 ee(),de("svg",Sd,t[0]||(t[0]=[ke("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"},Ba=Br(pt({__name:"ChatFile",props:{file:{},isRemovable:{type:Boolean},isPreviewable:{type:Boolean}},emits:["remove"],setup(e,{emit:t}){const n=e,r=t,s={document:Pa,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]||Pa});function i(){n.isPreviewable&&window.open(URL.createObjectURL(n.file))}function c(){r("remove",n.file)}return(a,l)=>(ee(),de("div",{class:"chat-file",onClick:i},[Ae(pe(o)),ke("p",Rd,en(a.file.name),1),a.isRemovable?(ee(),de("span",{key:0,class:"chat-file-delete",onClick:ka(c,["stop"])},[Ae(pe(gd))])):a.isPreviewable?(ee(),Me(pe(Dd),{key:1,class:"chat-file-preview"})):at("",!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=Br(pt({__name:"Input",props:{placeholder:{default:"inputPlaceholder"}},emits:["arrowKeyDown"],setup(e,{emit:t}){const n=e,{t:r}=$r(),s=t,{options:o}=er(),i=Hs(),{waitingForResponse:c}=i,a=Ze(null),l=Ze(null),u=Ze(""),f=Ze(!1),p=Ze(null),h=tt(()=>{var U;return u.value===""||pe(c)||((U=o.disabled)==null?void 0:U.value)===!0}),m=tt(()=>{var U;return((U=o.disabled)==null?void 0:U.value)===!0}),x=tt(()=>{var U;return A.value&&pe(c)&&!((U=o.disabled)!=null&&U.value)}),A=tt(()=>pe(o.allowFileUploads)===!0),v=tt(()=>pe(o.allowedFilesMimeTypes)),E=tt(()=>({"--controls-count":A.value?2:1})),{open:b,reset:d,onChange:k}=id({multiple:!0,reset:!1});k(U=>{if(!U)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<U.length;Y++)K.items.add(U[Y]);a.value=K.files}),jt(()=>{st.on("focusInput",$),st.on("blurInput",w),st.on("setInputValue",T),l.value&&(p.value=new ResizeObserver(U=>{for(const K of U)K.target===l.value&&S({target:l.value})}),p.value.observe(l.value))}),Es(()=>{st.off("focusInput",$),st.off("blurInput",w),st.off("setInputValue",T),p.value&&(p.value.disconnect(),p.value=null)});function w(){l.value&&l.value.blur()}function $(){l.value&&l.value.focus()}function T(U){u.value=U,$()}async function D(U){if(U.preventDefault(),h.value)return;const K=u.value;u.value="",f.value=!0,await i.sendMessage(K,Array.from(a.value??[])),f.value=!1,d(),a.value=null}async function q(U){U.shiftKey||(await D(U),S({target:l.value}))}function F(U){if(!a.value)return;const K=new DataTransfer;for(let Y=0;Y<a.value.length;Y++){const Z=a.value[Y];U.name!==Z.name&&K.items.add(Z)}d(),a.value=K.files}function L(U){(U.key==="ArrowUp"||U.key==="ArrowDown")&&(U.preventDefault(),s("arrowKeyDown",{key:U.key,currentInputValue:u.value}))}function re(){x.value||b({accept:pe(v)})}function S(U){const K=U.target;K.style.height="var(--chat--textarea--height)";const Y=Math.min(K.scrollHeight,480);K.style.height=`${Y}px`}return(U,K)=>{var Y;return ee(),de("div",{class:"chat-input",style:Nn(E.value),onKeydown:ka(L,["stop"])},[ke("div",qd,[U.$slots.leftPanel?(ee(),de("div",Ld,[Gt(U.$slots,"leftPanel",{},void 0,!0)])):at("",!0),nc(ke("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:pe(r)(n.placeholder),onKeydown:pp(q,["enter"]),onInput:S,onMousedown:S,onFocus:S},null,40,Nd),[[lp,u.value]]),ke("div",Id,[A.value?(ee(),de("button",{key:0,disabled:x.value,class:"chat-input-file-button","data-test-id":"chat-attach-file-button",onClick:re},[Ae(pe(ld),{height:"24",width:"24"})],8,Md)):at("",!0),ke("button",{disabled:h.value,class:"chat-input-send-button",onClick:D},[Ae(pe(hd),{height:"24",width:"24"})],8,Od)])]),(Y=a.value)!=null&&Y.length&&!f.value?(ee(),de("div",Fd,[(ee(!0),de(ze,null,Sr(a.value,Z=>(ee(),Me(Ba,{key:Z.name,file:Z,"is-removable":!0,"is-previewable":!0,onRemove:F},null,8,["file"]))),128))])):at("",!0)],36)}}}),[["__scopeId","data-v-3d085be7"]]),Bd={class:"chat-layout"},$d={key:0,class:"chat-header"},Ud={key:2,class:"chat-footer"},zd=pt({__name:"Layout",setup(e){const t=Ze(null);function n(){const r=t.value;r&&(r.scrollTop=r.scrollHeight)}return jt(()=>{st.on("scrollToBottom",n),window.addEventListener("resize",n)}),xs(()=>{st.off("scrollToBottom",n),window.removeEventListener("resize",n)}),(r,s)=>(ee(),de("main",Bd,[r.$slots.header?(ee(),de("div",$d,[Gt(r.$slots,"header")])):at("",!0),r.$slots.default?(ee(),de("div",{key:1,ref_key:"chatBodyRef",ref:t,class:"chat-body"},[Gt(r.$slots,"default")],512)):at("",!0),r.$slots.footer?(ee(),de("div",Ud,[Gt(r.$slots,"footer")])):at("",!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"],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:x,built_in:[...v,...E,"set","shopt",...b,...d]},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 Ur="[A-Za-z$_][0-9A-Za-z$_]*",$a=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Ua=["true","false","null","undefined","NaN","Infinity"],za=["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"],Va=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],ja=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Ga=[].concat(Va,za,Ha);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=Ur,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,Ce=Z.input[J];if(Ce==="<"||Ce===","){fe.ignoreMatch();return}Ce===">"&&(n(Z,{after:J})||fe.ignoreMatch());let Se;const ot=Z.input.substring(J);if(Se=ot.match(/^\s*=/)){fe.ignoreMatch();return}if((Se=ot.match(/^\s+extends\s+/))&&Se.index===0){fe.ignoreMatch();return}}},c={$pattern:Ur,keyword:$a,literal:Ua,built_in:Ga,"variable.language":ja},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 d=[].concat(E,p.contains),k=d.concat([{begin:/\(/,end:/\)/,keywords:c,contains:["self"].concat(d)}]),w={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:k},$={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:{_:[...za,...Ha]}},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 L(Z){return t.concat("(?!",Z.join("|"),")")}const re={match:t.concat(/\b/,L([...Va,"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},U={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]},re,F,$,U,{match:/\$[(.]/}]}}function Gd(e){const t=jd(e),n=Ur,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:Ur,keyword:$a.concat(c),literal:Ua,built_in:Ga.concat(r),"variable.language":ja},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 Vs,Ka;function Kd(){if(Ka)return Vs;Ka=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)},Vs=n,Vs}var Zd=Kd();const Wd=Us(Zd);var js={};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 Gs,Za;function Wa(){return Za||(Za=1,Gs=Jd),Gs}var Ks,Ja;function Zs(){return Ja||(Ja=1,Ks=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\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]/),Ks}var Tn={},Ws,Ya;function Yd(){if(Ya)return Ws;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),/^[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="-_.!~*'()",Ws=n,Ws}var Js,Xa;function Xd(){if(Xa)return Js;Xa=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="",Js=n,Js}var Ys,Qa;function Qd(){return Qa||(Qa=1,Ys=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}),Ys}var Xs,el;function eg(){if(el)return Xs;el=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,d,k,w=x;if(w=w.trim(),!A&&x.split("#").length===1){var $=r.exec(w);if($)return this.pathname=$[1],$[2]&&(this.search=$[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++)d=w.indexOf(a[v]),d!==-1&&(D===-1||d<D)&&(D=d);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++)d=w.indexOf(c[v]),d!==-1&&(D===-1||d<D)&&(D=d);D===-1&&(D=w.length),w[D-1]===":"&&D--;var L=w.slice(0,D);w=w.slice(D),this.parseHost(L),this.hostname=this.hostname||"";var re=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!re){var S=this.hostname.split(/\./);for(v=0,E=S.length;v<E;v++){var U=S[v];if(U&&!U.match(u)){for(var K="",Y=0,Z=U.length;Y<Z;Y++)U.charCodeAt(Y)>127?K+="x":K+=U[Y];if(!K.match(u)){var fe=S.slice(0,v),J=S.slice(v+1),Ce=U.match(f);Ce&&(fe.push(Ce[1]),J.unshift(Ce[2])),J.length&&(w=J.join(".")+w),this.hostname=fe.join(".");break}}}}this.hostname.length>l&&(this.hostname=""),re&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var Se=w.indexOf("#");Se!==-1&&(this.hash=w.substr(Se),w=w.slice(0,Se));var ot=w.indexOf("?");return ot!==-1&&(this.search=w.substr(ot),w=w.slice(0,ot)),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)},Xs=m,Xs}var tl;function nl(){return tl||(tl=1,Tn.encode=Yd(),Tn.decode=Xd(),Tn.format=Qd(),Tn.parse=eg()),Tn}var un={},Qs,rl;function sl(){return rl||(rl=1,Qs=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),Qs}var eo,ol;function il(){return ol||(ol=1,eo=/[\0-\x1F\x7F-\x9F]/),eo}var to,cl;function tg(){return cl||(cl=1,to=/[\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]/),to}var no,al;function ll(){return al||(al=1,no=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),no}var ul;function ng(){return ul||(ul=1,un.Any=sl(),un.Cc=il(),un.Cf=tg(),un.P=Zs(),un.Z=ll()),un}var fl;function xe(){return fl||(fl=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,U){return r.call(S,U)}function o(S){var U=Array.prototype.slice.call(arguments,1);return U.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,U,K){return[].concat(S.slice(0,U),K,S.slice(U+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 U=55296+(S>>10),K=56320+(S&1023);return String.fromCharCode(U,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=Wa();function m(S,U){var K;return s(h,U)?h[U]:U.charCodeAt(0)===35&&p.test(U)&&(K=U[1].toLowerCase()==="x"?parseInt(U.slice(2),16):parseInt(U.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(U,K,Y){return K||m(U,Y)})}var v=/[&<>"]/,E=/[&<>"]/g,b={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"};function d(S){return b[S]}function k(S){return v.test(S)?S.replace(E,d):S}var w=/[.?*+^$[\]\\(){}|-]/g;function $(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=Zs();function F(S){return q.test(S)}function L(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 re(S){return S=S.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(S=S.replace(/ẞ/g,"ß")),S.toLowerCase().toUpperCase()}e.lib={},e.lib.mdurl=nl(),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=L,e.isPunctChar=F,e.escapeRE=$,e.normalizeReference=re}(js)),js}var tr={},ro,hl;function rg(){return hl||(hl=1,ro=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}),ro}var so,pl;function sg(){if(pl)return so;pl=1;var e=xe().unescapeAll;return so=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},so}var oo,dl;function og(){if(dl)return oo;dl=1;var e=xe().unescapeAll;return oo=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},oo}var gl;function ig(){return gl||(gl=1,tr.parseLinkLabel=rg(),tr.parseLinkDestination=sg(),tr.parseLinkTitle=og()),tr}var io,ml;function cg(){if(ml)return io;ml=1;var e=xe().assign,t=xe().unescapeAll,n=xe().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
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
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
26
  `):"<pre><code"+l.renderAttrs(u)+">"+m+`</code></pre>
@@ -32,6 +32,6 @@ https://github.com/highlightjs/highlight.js/issues/2277`),Pe=P,Te=ne),me===void
32
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
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
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},io=s,io}var co,dl;function ao(){if(dl)return co;dl=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]||[]},co=e,co}var lo,gl;function cg(){if(gl)return lo;gl=1;var e=/\r\n?|\n/g,t=/\0/g;return lo=function(r){var s;s=r.src.replace(e,`
36
- `),s=s.replace(t,"�"),r.src=s},lo}var uo,ml;function ag(){return ml||(ml=1,uo=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)}),uo}var fo,_l;function lg(){return _l||(_l=1,fo=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)}),fo}var ho,bl;function ug(){if(bl)return ho;bl=1;var e=xe().arrayReplaceAt;function t(r){return/^<a[>\s]/i.test(r)}function n(r){return/^<\/a\s*>/i.test(r)}return ho=function(s){var o,i,c,a,l,u,f,p,h,m,x,A,v,E,b,d,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)&&(d=w[p].text,w[p].schema?w[p].schema==="mailto:"&&!/^mailto:/i.test(d)?d=s.md.normalizeLinkText("mailto:"+d).replace(/^mailto:/,""):d=s.md.normalizeLinkText(d):d=s.md.normalizeLinkText("http://"+d).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=d,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)}}}},ho}var po,vl;function fg(){if(vl)return po;vl=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 po=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))},po}var go,yl;function hg(){if(yl)return go;yl=1;var e=xe().isWhiteSpace,t=xe().isPunctChar,n=xe().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,d,k,w,$,T,D,q,F,L,re,S;for(L=[],u=0;u<a.length;u++){for(f=a[u],A=a[u].level,q=L.length-1;q>=0&&!(L[q].level<=A);q--);if(L.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(d=n(E)||t(String.fromCharCode(E)),k=n(b)||t(String.fromCharCode(b)),w=e(E),$=e(b),$?T=!1:k&&(w||d||(T=!1)),w?D=!1:d&&($||k||(D=!1)),b===34&&h[0]==='"'&&E>=48&&E<=57&&(D=T=!1),T&&D&&(T=d,D=k),!T&&!D){F&&(f.content=i(f.content,h.index,o));continue}if(D){for(q=L.length-1;q>=0&&(v=L[q],!(L[q].level<A));q--)if(v.single===F&&L[q].level===A){v=L[q],F?(re=l.md.options.quotes[2],S=l.md.options.quotes[3]):(re=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,re),m+=S.length-1,v.token===u&&(m+=re.length-1),p=f.content,x=p.length,L.length=q;continue e}}T?L.push({token:u,pos:h.index,single:F,level:A}):D&&F&&(f.content=i(f.content,h.index,o))}}}}return go=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)},go}var mo,xl;function pg(){return xl||(xl=1,mo=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)}}),mo}var _o,El;function bo(){if(El)return _o;El=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},_o=e,_o}var vo,kl;function dg(){if(kl)return vo;kl=1;var e=bo();function t(n,r,s){this.src=n,this.env=s,this.tokens=[],this.inlineMode=!1,this.md=r}return t.prototype.Token=e,vo=t,vo}var yo,wl;function gg(){if(wl)return yo;wl=1;var e=ao(),t=[["normalize",cg()],["block",ag()],["inline",lg()],["linkify",ug()],["replacements",fg()],["smartquotes",hg()],["text_join",pg()]];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=dg(),yo=n,yo}var xo,Al;function mg(){if(Al)return xo;Al=1;var e=xe().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 xo=function(s,o,i,c){var a,l,u,f,p,h,m,x,A,v,E,b,d,k,w,$,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",$=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=$.length;f<p;f++)if($[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=d=[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 d&&(A=s.push("tbody_close","tbody",-1),d[1]=h),A=s.push("table_close","table",-1),b[1]=h,s.parentType=k,s.line=h,!0},xo}var Eo,Cl;function _g(){return Cl||(Cl=1,Eo=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}),Eo}var ko,Sl;function bg(){return Sl||(Sl=1,ko=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}),ko}var wo,Tl;function vg(){if(Tl)return wo;Tl=1;var e=xe().isSpace;return wo=function(n,r,s,o){var i,c,a,l,u,f,p,h,m,x,A,v,E,b,d,k,w,$,T,D,q=n.lineMax,F=n.bMarks[r]+n.tShift[r],L=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=[],d=[],$=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],L=n.eMarks[h],!(F>=L));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<L&&(c=n.src.charCodeAt(F),e(c));){c===9?m+=4-(m+n.bsCount[h]+(i?1:0))%4:m++;F++}f=F>=L,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,d.push(n.tShift[h]),n.tShift[h]=F-n.bMarks[h];continue}if(f)break;for(w=!1,a=0,u=$.length;a<u;a++)if($[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]),d.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]),d.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<d.length;a++)n.bMarks[a+r]=x[a],n.tShift[a+r]=d[a],n.sCount[a+r]=b[a],n.bsCount[a+r]=A[a];return n.blkIndent=v,!0},wo}var Ao,Dl;function yg(){if(Dl)return Ao;Dl=1;var e=xe().isSpace;return Ao=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)},Ao}var Co,Rl;function xg(){if(Rl)return Co;Rl=1;var e=xe().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 Co=function(o,i,c,a){var l,u,f,p,h,m,x,A,v,E,b,d,k,w,$,T,D,q,F,L,re,S,U,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(d=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(d),U=!1,Z=o.md.block.ruler.getRules("list"),D=o.parentType,o.parentType="list";J<c;){for(re=S,w=o.eMarks[J],m=$=o.sCount[J]+S-(o.bMarks[J]+o.tShift[J]);re<w;){if(l=o.src.charCodeAt(re),l===9)$+=4-($+o.bsCount[J])%4;else if(l===32)$++;else break;re++}if(u=re,u>=w?h=1:h=$-m,h>4&&(h=1),p=m+h,fe=o.push("list_item_open","li",1),fe.markup=String.fromCharCode(d),fe.map=A=[J,0],x&&(fe.info=o.src.slice(K,S-1)),L=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]=$,u>=w&&o.isEmpty(J+1)?o.line=Math.min(o.line+2,c):o.md.block.tokenize(o,J,c,!0),(!o.tight||U)&&(Ce=!1),U=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=L,fe=o.push("list_item_close","li",-1),fe.markup=String.fromCharCode(d),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(d!==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(d),E[1]=J,o.line=J,o.parentType=D,Ce&&r(o,b),!0},Co}var So,ql;function Eg(){if(ql)return So;ql=1;var e=xe().normalizeReference,t=xe().isSpace;return So=function(r,s,o,i){var c,a,l,u,f,p,h,m,x,A,v,E,b,d,k,w,$=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(d=!1,p=0,h=k.length;p<h;p++)if(k[p](r,q,u,!0)){d=!0;break}if(d)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?$++:c===92&&(T++,T<D&&b.charCodeAt(T)===10&&$++)}if(x<0||b.charCodeAt(x+1)!==58)return!1;for(T=x+2;T<D;T++)if(c=b.charCodeAt(T),c===10)$++;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,$+=v.lines,a=T,l=$,E=T;T<D;T++)if(c=b.charCodeAt(T),c===10)$++;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,$+=v.lines):(w="",T=a,$=l);T<D&&(c=b.charCodeAt(T),!!t(c));)T++;if(T<D&&b.charCodeAt(T)!==10&&w)for(w="",T=a,$=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+$+1),!0)},So}var To,Ll;function kg(){return Ll||(Ll=1,To=["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"]),To}var Ur={},Nl;function Il(){if(Nl)return Ur;Nl=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 Do,Ml;function wg(){if(Ml)return Do;Ml=1;var e=kg(),t=Il().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 Do=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},Do}var Ro,Ol;function Ag(){if(Ol)return Ro;Ol=1;var e=xe().isSpace;return Ro=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)},Ro}var qo,Fl;function Cg(){return Fl||(Fl=1,qo=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}),qo}var Lo,Pl;function Sg(){return Pl||(Pl=1,Lo=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}),Lo}var No,Bl;function Tg(){if(Bl)return No;Bl=1;var e=bo(),t=xe().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,No=n,No}var Io,$l;function Dg(){if($l)return Io;$l=1;var e=ao(),t=[["table",mg(),["paragraph","reference"]],["code",_g()],["fence",bg(),["paragraph","reference","blockquote","list"]],["blockquote",vg(),["paragraph","reference","blockquote","list"]],["hr",yg(),["paragraph","reference","blockquote","list"]],["list",xg(),["paragraph","reference","blockquote"]],["reference",Eg()],["html_block",wg(),["paragraph","reference","blockquote"]],["heading",Ag(),["paragraph","reference","blockquote"]],["lheading",Cg()],["paragraph",Sg()]];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=Tg(),Io=n,Io}var Mo,Ul;function Rg(){if(Ul)return Mo;Ul=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 Mo=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)},Mo}var Oo,zl;function qg(){if(zl)return Oo;zl=1;var e=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;return Oo=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)},Oo}var Fo,Hl;function Lg(){if(Hl)return Fo;Hl=1;var e=xe().isSpace;return Fo=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},Fo}var Po,Vl;function Ng(){if(Vl)return Po;Vl=1;for(var e=xe().isSpace,t=[],n=0;n<256;n++)t.push(0);return"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(r){t[r.charCodeAt(0)]=1}),Po=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},Po}var Bo,jl;function Ig(){return jl||(jl=1,Bo=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}),Bo}var zr={},Gl;function Kl(){if(Gl)return zr;Gl=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={},Zl;function Wl(){if(Zl)return Hr;Zl=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 $o,Jl;function Mg(){if(Jl)return $o;Jl=1;var e=xe().normalizeReference,t=xe().isSpace;return $o=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},$o}var Uo,Yl;function Og(){if(Yl)return Uo;Yl=1;var e=xe().normalizeReference,t=xe().isSpace;return Uo=function(r,s){var o,i,c,a,l,u,f,p,h,m,x,A,v,E="",b=r.pos,d=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<d&&r.src.charCodeAt(f)===40){for(f++;f<d&&(i=r.src.charCodeAt(f),!(!t(i)&&i!==10));f++);if(f>=d)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<d&&(i=r.src.charCodeAt(f),!(!t(i)&&i!==10));f++);if(h=r.md.helpers.parseLinkTitle(r.src,f,r.posMax),f<d&&v!==f&&h.ok)for(m=h.str,f=h.pos;f<d&&(i=r.src.charCodeAt(f),!(!t(i)&&i!==10));f++);else m="";if(f>=d||r.src.charCodeAt(f)!==41)return r.pos=b,!1;f++}else{if(typeof r.env.references>"u")return!1;if(f<d&&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=d,!0},Uo}var zo,Xl;function Fg(){if(Xl)return zo;Xl=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 zo=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},zo}var Ho,Ql;function Pg(){if(Ql)return Ho;Ql=1;var e=Il().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 Ho=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)},Ho}var Vo,eu;function Bg(){if(eu)return Vo;eu=1;var e=Ga(),t=xe().has,n=xe().isValidEntityCode,r=xe().fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,o=/^&([a-z][a-z0-9]{1,31});/i;return Vo=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},Vo}var jo,tu;function $g(){if(tu)return jo;tu=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 jo=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)},jo}var Go,nu;function Ug(){return nu||(nu=1,Go=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)}),Go}var Ko,ru;function zg(){if(ru)return Ko;ru=1;var e=bo(),t=xe().isWhiteSpace,n=xe().isPunctChar,r=xe().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,d=this.src.charCodeAt(o);for(a=o>0?this.src.charCodeAt(o-1):32;c<b&&this.src.charCodeAt(c)===d;)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,Ko=s,Ko}var Zo,su;function Hg(){if(su)return Zo;su=1;var e=ao(),t=[["text",Rg()],["linkify",qg()],["newline",Lg()],["escape",Ng()],["backticks",Ig()],["strikethrough",Kl().tokenize],["emphasis",Wl().tokenize],["link",Mg()],["image",Og()],["autolink",Fg()],["html_inline",Pg()],["entity",Bg()]],n=[["balance_pairs",$g()],["strikethrough",Kl().postProcess],["emphasis",Wl().postProcess],["fragments_join",Ug()]];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=zg(),Zo=r,Zo}var Wo,ou;function Vg(){return ou||(ou=1,Wo=function(e){var t={};e=e||{},t.src_Any=tl().source,t.src_Cc=rl().source,t.src_Z=il().source,t.src_P=Zs().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}),Wo}var Jo,iu;function jg(){if(iu)return Jo;iu=1;function e(b){var d=Array.prototype.slice.call(arguments,1);return d.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(d,k){return d||c.hasOwnProperty(k)},!1)}var l={"http:":{validate:function(b,d,k){var w=b.slice(d);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,d,k){var w=b.slice(d);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)?d>=3&&b[d-3]===":"||d>=3&&b[d-3]==="/"?0:w.match(k.re.no_http)[0].length:0}},"mailto:":{validate:function(b,d,k){var w=b.slice(d);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(d,k){var w=d.slice(k);return b.test(w)?w.match(b)[0].length:0}}function m(){return function(b,d){d.normalize(b)}}function x(b){var d=b.re=Vg()(b.__opts__),k=b.__tlds__.slice();b.onCompile(),b.__tlds_replaced__||k.push(u),k.push(d.src_xn),d.src_tlds=k.join("|");function w(q){return q.replace("%TLDS%",d.src_tlds)}d.email_fuzzy=RegExp(w(d.tpl_email_fuzzy),"i"),d.link_fuzzy=RegExp(w(d.tpl_link_fuzzy),"i"),d.link_no_ip_fuzzy=RegExp(w(d.tpl_link_no_ip_fuzzy),"i"),d.host_fuzzy_test=RegExp(w(d.tpl_host_fuzzy_test),"i");var $=[];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 L={validate:null,link:null};if(b.__compiled__[q]=L,r(F)){s(F.validate)?L.validate=h(F.validate):o(F.validate)?L.validate=F.validate:T(q,F),o(F.normalize)?L.normalize=F.normalize:F.normalize?T(q,F):L.normalize=m();return}if(n(F)){$.push(q);return}T(q,F)}}),$.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("(^|(?!_)(?:[><|]|"+d.src_ZPCc+"))("+D+")","i"),b.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+d.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,d){var k=b.__index__,w=b.__last_index__,$=b.__text_cache__.slice(k,w);this.schema=b.__schema__.toLowerCase(),this.index=k+d,this.lastIndex=w+d,this.raw=$,this.text=$,this.url=$}function v(b,d){var k=new A(b,d);return b.__compiled__[k.schema].normalize(k,b),k}function E(b,d){if(!(this instanceof E))return new E(b,d);d||a(b)&&(d=b,b={}),this.__opts__=e({},c,d),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(d,k){return this.__schemas__[d]=k,x(this),this},E.prototype.set=function(d){return this.__opts__=e(this.__opts__,d),this},E.prototype.test=function(d){if(this.__text_cache__=d,this.__index__=-1,!d.length)return!1;var k,w,$,T,D,q,F,L,re;if(this.re.schema_test.test(d)){for(F=this.re.schema_search,F.lastIndex=0;(k=F.exec(d))!==null;)if(T=this.testSchemaAt(d,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:"]&&(L=d.search(this.re.host_fuzzy_test),L>=0&&(this.__index__<0||L<this.__index__)&&(w=d.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:"]&&(re=d.indexOf("@"),re>=0&&($=d.match(this.re.email_fuzzy))!==null&&(D=$.index+$[1].length,q=$.index+$[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(d){return this.re.pretest.test(d)},E.prototype.testSchemaAt=function(d,k,w){return this.__compiled__[k.toLowerCase()]?this.__compiled__[k.toLowerCase()].validate(d,w,this):0},E.prototype.match=function(d){var k=0,w=[];this.__index__>=0&&this.__text_cache__===d&&(w.push(v(this,k)),k=this.__last_index__);for(var $=k?d.slice(k):d;this.test($);)w.push(v(this,k)),$=$.slice(this.__last_index__),k+=this.__last_index__;return w.length?w:null},E.prototype.matchAtStart=function(d){if(this.__text_cache__=d,this.__index__=-1,!d.length)return null;var k=this.re.schema_at_start.exec(d);if(!k)return null;var w=this.testSchemaAt(d,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(d,k){return d=Array.isArray(d)?d:[d],k?(this.__tlds__=this.__tlds__.concat(d).sort().filter(function(w,$,T){return w!==T[$-1]}).reverse(),x(this),this):(this.__tlds__=d.slice(),this.__tlds_replaced__=!0,x(this),this)},E.prototype.normalize=function(d){d.schema||(d.url="http://"+d.url),d.schema==="mailto:"&&!/^mailto:/i.test(d.url)&&(d.url="mailto:"+d.url)},E.prototype.onCompile=function(){},Jo=E,Jo}const Dn=2147483647,wt=36,Yo=1,nr=26,Gg=38,Kg=700,cu=72,au=128,lu="-",Zg=/^xn--/,Wg=/[^\0-\x7F]/,Jg=/[\x2E\u3002\uFF0E\uFF61]/g,Yg={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Xo=wt-Yo,At=Math.floor,Qo=String.fromCharCode;function Jt(e){throw new RangeError(Yg[e])}function Xg(e,t){const n=[];let r=e.length;for(;r--;)n[r]=t(e[r]);return n}function uu(e,t){const n=e.split("@");let r="";n.length>1&&(r=n[0]+"@",e=n[1]),e=e.replace(Jg,".");const s=e.split("."),o=Xg(s,t).join(".");return r+o}function ei(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 fu=e=>String.fromCodePoint(...e),Qg=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:wt},hu=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},pu=function(e,t,n){let r=0;for(e=n?At(e/Kg):e>>1,e+=At(e/t);e>Xo*nr>>1;r+=wt)e=At(e/Xo);return At(r+(Xo+1)*e/(e+Gg))},ti=function(e){const t=[],n=e.length;let r=0,s=au,o=cu,i=e.lastIndexOf(lu);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=Qg(e.charCodeAt(c++));p>=wt&&Jt("invalid-input"),p>At((Dn-r)/u)&&Jt("overflow"),r+=p*u;const h=f<=o?Yo:f>=o+nr?nr:f-o;if(p<h)break;const m=wt-h;u>At(Dn/m)&&Jt("overflow"),u*=m}const l=t.length+1;o=pu(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)},ni=function(e){const t=[];e=ei(e);const n=e.length;let r=au,s=0,o=cu;for(const a of e)a<128&&t.push(Qo(a));const i=t.length;let c=i;for(i&&t.push(lu);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?Yo:p>=o+nr?nr:p-o;if(f<h)break;const m=f-h,x=wt-h;t.push(Qo(hu(h+m%x,0))),f=At(m/x)}t.push(Qo(hu(f,0))),o=pu(s,l,c===i),s=0,++c}++s,++r}return t.join("")},du=function(e){return uu(e,function(t){return Zg.test(t)?ti(t.slice(4).toLowerCase()):t})},gu=function(e){return uu(e,function(t){return Wg.test(t)?"xn--"+ni(t):t})},em=Rp(Object.freeze(Object.defineProperty({__proto__:null,decode:ti,default:{version:"2.3.1",ucs2:{decode:ei,encode:fu},decode:ti,encode:ni,toASCII:gu,toUnicode:du},encode:ni,toASCII:gu,toUnicode:du,ucs2decode:ei,ucs2encode:fu},Symbol.toStringTag,{value:"Module"})));var ri,mu;function tm(){return mu||(mu=1,ri={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}),ri}var si,_u;function nm(){return _u||(_u=1,si={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"]}}}),si}var oi,bu;function rm(){return bu||(bu=1,oi={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"]}}}),oi}var ii,vu;function sm(){if(vu)return ii;vu=1;var e=xe(),t=og(),n=ig(),r=gg(),s=Dg(),o=Hg(),i=jg(),c=Qa(),a=em,l={default:tm(),zero:nm(),commonmark:rm()},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(d){v.components[d].rules&&E[d].ruler.enableOnly(v.components[d].rules),v.components[d].rules2&&E[d].ruler2.enableOnly(v.components[d].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 d=v.filter(function(k){return b.indexOf(k)<0});if(d.length&&!E)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+d);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 d=v.filter(function(k){return b.indexOf(k)<0});if(d.length&&!E)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+d);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)},ii=A,ii}var ci,yu;function om(){return yu||(yu=1,ci=sm()),ci}var im=om();const cm=Us(im),am=pt({name:"VueMarkdown",props:{source:{type:String,required:!0},options:{type:Object,required:!1},plugins:{type:Array,required:!1}},setup(e){const t=Ze(new cm(e.options??{}));for(const r of e.plugins??[])t.value.use(r);const n=tt(()=>t.value.render(e.source));return()=>Yc("div",{innerHTML:n.value})}}),lm={key:0,class:"chat-message-actions"},um={key:2,class:"chat-message-files"},ai=pt({__name:"Message",props:{message:{}},setup(e,{expose:t}){const n=e;Bt.registerLanguage("javascript",Na),Bt.registerLanguage("typescript",jd),Bt.registerLanguage("python",Hd),Bt.registerLanguage("xml",Ia),Bt.registerLanguage("bash",zd);const{message:r}=bf(n),{options:s}=er(),o=Ze(null),i=Ze({}),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(Zd,{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)=>(ee(),ge("div",{ref_key:"messageContainer",ref:o,class:mn(["chat-message",a.value])},[m.$slots.beforeMessage?(ee(),ge("div",lm,[Gt(m.$slots,"beforeMessage",Ai(Vc({message:pe(r)})))])):at("",!0),Gt(m.$slots,"default",{},()=>[pe(r).type==="component"&&p[pe(r).key]?(ee(),Me(Kf(p[pe(r).key]),Ai(Ls({key:0},pe(r).arguments)),null,16)):(ee(),Me(pe(am),{key:1,class:"chat-message-markdown",source:c.value,options:f,plugins:[l]},null,8,["source","plugins"])),(pe(r).files??[]).length>0?(ee(),ge("div",um,[(ee(!0),ge(ze,null,Sr(pe(r).files??[],A=>(ee(),ge("div",{key:A.name,class:"chat-message-file"},[Re(Oa,{file:A,"is-removable":!1,"is-previewable":!0},null,8,["file"])]))),128))])):at("",!0)])],2))}}),fm=pt({__name:"MessageTyping",props:{animation:{default:"bouncing"}},setup(e){const t=e,n={id:"typing",text:"",sender:"bot",createdAt:""},r=Ze(),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)=>(ee(),Me(pe(ai),{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"]))}}),hm={class:"chat-messages-list"},pm=pt({__name:"MessagesList",props:{messages:{}},setup(e){const t=Hs(),n=Ze([]),{initialMessages:r,waitingForResponse:s}=t;return Dr(()=>n.value.length,()=>{const o=n.value[n.value.length-1];o&&o.scrollToView()}),(o,i)=>(ee(),ge("div",hm,[(ee(!0),ge(ze,null,Sr(pe(r),c=>(ee(),Me(ai,{key:c.id,message:c},null,8,["message"]))),128)),(ee(!0),ge(ze,null,Sr(o.messages,c=>(ee(),Me(ai,{key:c.id,ref_for:!0,ref_key:"messageComponents",ref:n,message:c},{beforeMessage:Mt(({message:a})=>[Gt(o.$slots,"beforeMessage",Ls({ref_for:!0},{message:a}))]),_:2},1032,["message"]))),128)),pe(s)?(ee(),Me(fm,{key:0})):at("",!0)]))}}),dm={class:"chat-heading"},gm=["title"],mm={key:0},xu=pt({__name:"Chat",setup(e){const{t}=Br(),n=Hs(),{messages:r,currentSessionId:s}=n,{options:o}=er(),i=tt(()=>o.mode==="window"&&o.showWindowCloseButton);async function c(){n.startNewSession&&(n.startNewSession(),kn(()=>{st.emit("scrollToBottom")}))}async function a(){n.loadPreviousSession&&(await n.loadPreviousSession(),kn(()=>{st.emit("scrollToBottom")}))}function l(){st.emit("close")}return jt(async()=>{await a(),!o.showWelcomeScreen&&!s.value&&await c()}),(u,f)=>(ee(),Me(Ud,{class:"chat-wrapper"},{header:Mt(()=>[we("div",dm,[we("h1",null,_n(pe(t)("title")),1),i.value?(ee(),ge("button",{key:0,class:"chat-close-button",title:pe(t)("closeButtonTooltip"),onClick:l},[Re(pe(Hp),{height:"18",width:"18"})],8,gm)):at("",!0)]),pe(t)("subtitle")?(ee(),ge("p",mm,_n(pe(t)("subtitle")),1)):at("",!0)]),footer:Mt(()=>[pe(s)?(ee(),Me(Fd,{key:0})):(ee(),Me(Xp,{key:1}))]),default:Mt(()=>[!pe(s)&&pe(o).showWelcomeScreen?(ee(),Me(jp,{key:0,"onClick:button":c})):(ee(),Me(pm,{key:1,messages:pe(r)},null,8,["messages"]))]),_:1}))}}),_m={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function bm(e,t){return ee(),ge("svg",_m,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 vm={name:"mdi-chat",render:bm},ym={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function xm(e,t){return ee(),ge("svg",ym,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 Em={name:"mdi-chevron-down",render:xm},km={class:"chat-window-wrapper"},wm={class:"chat-window"},Am=pt({__name:"ChatWindow",setup(e){const t=Ze(!1);function n(){t.value=!t.value,t.value&&kn(()=>{st.emit("scrollToBottom")})}return(r,s)=>(ee(),ge("div",km,[Re(na,{name:"chat-window-transition"},{default:Mt(()=>[nc(we("div",wm,[Re(xu)],512),[[Kh,t.value]])]),_:1}),we("div",{class:"chat-window-toggle",onClick:n},[Re(na,{name:"chat-window-toggle-transition",mode:"out-in"},{default:Mt(()=>[t.value?(ee(),Me(pe(Em),{key:1,height:"32",width:"32"})):(ee(),Me(pe(vm),{key:0,height:"32",width:"32"}))]),_:1})])]))}}),Cm=pt({__name:"App",props:{},setup(e){const{options:t}=er(),n=tt(()=>t.mode==="fullscreen");return jt(()=>{Bt.registerLanguage("xml",Ia),Bt.registerLanguage("javascript",Na)}),(r,s)=>n.value?(ee(),Me(pe(xu),{key:0,class:"n8n-chat"})):(ee(),Me(pe(Am),{key:1,class:"n8n-chat"}))}});function Sm(e){var s,o;const t={...Xn,...e,webhookConfig:{...Xn.webhookConfig,...e==null?void 0:e.webhookConfig},i18n:{...Xn.i18n,...e==null?void 0:e.i18n,en:{...(s=Xn.i18n)==null?void 0:s.en,...(o=e==null?void 0:e.i18n)==null?void 0:o.en}},theme:{...Xn.theme,...e==null?void 0:e.theme}},n=t.target??bp;typeof n=="string"&&Tp(n);const r=gp(Cm);return r.use(Dp,t),r.mount(n),r}pn.createChat=Sm,Object.defineProperty(pn,Symbol.toStringTag,{value:"Module"})});
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},io=s,io}var co,_l;function ao(){if(_l)return co;_l=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]||[]},co=e,co}var lo,bl;function ag(){if(bl)return lo;bl=1;var e=/\r\n?|\n/g,t=/\0/g;return lo=function(r){var s;s=r.src.replace(e,`
36
+ `),s=s.replace(t,"�"),r.src=s},lo}var uo,vl;function lg(){return vl||(vl=1,uo=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)}),uo}var fo,yl;function ug(){return yl||(yl=1,fo=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)}),fo}var ho,xl;function fg(){if(xl)return ho;xl=1;var e=xe().arrayReplaceAt;function t(r){return/^<a[>\s]/i.test(r)}function n(r){return/^<\/a\s*>/i.test(r)}return ho=function(s){var o,i,c,a,l,u,f,p,h,m,x,A,v,E,b,d,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)&&(d=w[p].text,w[p].schema?w[p].schema==="mailto:"&&!/^mailto:/i.test(d)?d=s.md.normalizeLinkText("mailto:"+d).replace(/^mailto:/,""):d=s.md.normalizeLinkText(d):d=s.md.normalizeLinkText("http://"+d).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=d,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)}}}},ho}var po,El;function hg(){if(El)return po;El=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 po=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))},po}var go,kl;function pg(){if(kl)return go;kl=1;var e=xe().isWhiteSpace,t=xe().isPunctChar,n=xe().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,d,k,w,$,T,D,q,F,L,re,S;for(L=[],u=0;u<a.length;u++){for(f=a[u],A=a[u].level,q=L.length-1;q>=0&&!(L[q].level<=A);q--);if(L.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(d=n(E)||t(String.fromCharCode(E)),k=n(b)||t(String.fromCharCode(b)),w=e(E),$=e(b),$?T=!1:k&&(w||d||(T=!1)),w?D=!1:d&&($||k||(D=!1)),b===34&&h[0]==='"'&&E>=48&&E<=57&&(D=T=!1),T&&D&&(T=d,D=k),!T&&!D){F&&(f.content=i(f.content,h.index,o));continue}if(D){for(q=L.length-1;q>=0&&(v=L[q],!(L[q].level<A));q--)if(v.single===F&&L[q].level===A){v=L[q],F?(re=l.md.options.quotes[2],S=l.md.options.quotes[3]):(re=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,re),m+=S.length-1,v.token===u&&(m+=re.length-1),p=f.content,x=p.length,L.length=q;continue e}}T?L.push({token:u,pos:h.index,single:F,level:A}):D&&F&&(f.content=i(f.content,h.index,o))}}}}return go=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)},go}var mo,wl;function dg(){return wl||(wl=1,mo=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)}}),mo}var _o,Al;function bo(){if(Al)return _o;Al=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},_o=e,_o}var vo,Cl;function gg(){if(Cl)return vo;Cl=1;var e=bo();function t(n,r,s){this.src=n,this.env=s,this.tokens=[],this.inlineMode=!1,this.md=r}return t.prototype.Token=e,vo=t,vo}var yo,Sl;function mg(){if(Sl)return yo;Sl=1;var e=ao(),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(),yo=n,yo}var xo,Tl;function _g(){if(Tl)return xo;Tl=1;var e=xe().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 xo=function(s,o,i,c){var a,l,u,f,p,h,m,x,A,v,E,b,d,k,w,$,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",$=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=$.length;f<p;f++)if($[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=d=[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 d&&(A=s.push("tbody_close","tbody",-1),d[1]=h),A=s.push("table_close","table",-1),b[1]=h,s.parentType=k,s.line=h,!0},xo}var Eo,Dl;function bg(){return Dl||(Dl=1,Eo=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}),Eo}var ko,Rl;function vg(){return Rl||(Rl=1,ko=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}),ko}var wo,ql;function yg(){if(ql)return wo;ql=1;var e=xe().isSpace;return wo=function(n,r,s,o){var i,c,a,l,u,f,p,h,m,x,A,v,E,b,d,k,w,$,T,D,q=n.lineMax,F=n.bMarks[r]+n.tShift[r],L=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=[],d=[],$=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],L=n.eMarks[h],!(F>=L));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<L&&(c=n.src.charCodeAt(F),e(c));){c===9?m+=4-(m+n.bsCount[h]+(i?1:0))%4:m++;F++}f=F>=L,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,d.push(n.tShift[h]),n.tShift[h]=F-n.bMarks[h];continue}if(f)break;for(w=!1,a=0,u=$.length;a<u;a++)if($[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]),d.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]),d.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<d.length;a++)n.bMarks[a+r]=x[a],n.tShift[a+r]=d[a],n.sCount[a+r]=b[a],n.bsCount[a+r]=A[a];return n.blkIndent=v,!0},wo}var Ao,Ll;function xg(){if(Ll)return Ao;Ll=1;var e=xe().isSpace;return Ao=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)},Ao}var Co,Nl;function Eg(){if(Nl)return Co;Nl=1;var e=xe().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 Co=function(o,i,c,a){var l,u,f,p,h,m,x,A,v,E,b,d,k,w,$,T,D,q,F,L,re,S,U,K,Y,Z,fe,J=i,Ce=!1,Se=!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&&(Ce=!0),(S=n(o,J))>=0){if(x=!0,K=o.bMarks[J]+o.tShift[J],k=Number(o.src.slice(K,S-1)),Ce&&k!==1)return!1}else if((S=t(o,J))>=0)x=!1;else return!1;if(Ce&&o.skipSpaces(S)>=o.eMarks[J])return!1;if(a)return!0;for(d=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(d),U=!1,Z=o.md.block.ruler.getRules("list"),D=o.parentType,o.parentType="list";J<c;){for(re=S,w=o.eMarks[J],m=$=o.sCount[J]+S-(o.bMarks[J]+o.tShift[J]);re<w;){if(l=o.src.charCodeAt(re),l===9)$+=4-($+o.bsCount[J])%4;else if(l===32)$++;else break;re++}if(u=re,u>=w?h=1:h=$-m,h>4&&(h=1),p=m+h,fe=o.push("list_item_open","li",1),fe.markup=String.fromCharCode(d),fe.map=A=[J,0],x&&(fe.info=o.src.slice(K,S-1)),L=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]=$,u>=w&&o.isEmpty(J+1)?o.line=Math.min(o.line+2,c):o.md.block.tokenize(o,J,c,!0),(!o.tight||U)&&(Se=!1),U=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=L,fe=o.push("list_item_close","li",-1),fe.markup=String.fromCharCode(d),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(d!==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(d),E[1]=J,o.line=J,o.parentType=D,Se&&r(o,b),!0},Co}var So,Il;function kg(){if(Il)return So;Il=1;var e=xe().normalizeReference,t=xe().isSpace;return So=function(r,s,o,i){var c,a,l,u,f,p,h,m,x,A,v,E,b,d,k,w,$=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(d=!1,p=0,h=k.length;p<h;p++)if(k[p](r,q,u,!0)){d=!0;break}if(d)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?$++:c===92&&(T++,T<D&&b.charCodeAt(T)===10&&$++)}if(x<0||b.charCodeAt(x+1)!==58)return!1;for(T=x+2;T<D;T++)if(c=b.charCodeAt(T),c===10)$++;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,$+=v.lines,a=T,l=$,E=T;T<D;T++)if(c=b.charCodeAt(T),c===10)$++;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,$+=v.lines):(w="",T=a,$=l);T<D&&(c=b.charCodeAt(T),!!t(c));)T++;if(T<D&&b.charCodeAt(T)!==10&&w)for(w="",T=a,$=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+$+1),!0)},So}var To,Ml;function wg(){return Ml||(Ml=1,To=["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"]),To}var zr={},Ol;function Fl(){if(Ol)return zr;Ol=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 zr.HTML_TAG_RE=p,zr.HTML_OPEN_CLOSE_TAG_RE=h,zr}var Do,Pl;function Ag(){if(Pl)return Do;Pl=1;var e=wg(),t=Fl().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 Do=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},Do}var Ro,Bl;function Cg(){if(Bl)return Ro;Bl=1;var e=xe().isSpace;return Ro=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)},Ro}var qo,$l;function Sg(){return $l||($l=1,qo=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}),qo}var Lo,Ul;function Tg(){return Ul||(Ul=1,Lo=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}),Lo}var No,zl;function Dg(){if(zl)return No;zl=1;var e=bo(),t=xe().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,No=n,No}var Io,Hl;function Rg(){if(Hl)return Io;Hl=1;var e=ao(),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(),Io=n,Io}var Mo,Vl;function qg(){if(Vl)return Mo;Vl=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 Mo=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)},Mo}var Oo,jl;function Lg(){if(jl)return Oo;jl=1;var e=/(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;return Oo=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)},Oo}var Fo,Gl;function Ng(){if(Gl)return Fo;Gl=1;var e=xe().isSpace;return Fo=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},Fo}var Po,Kl;function Ig(){if(Kl)return Po;Kl=1;for(var e=xe().isSpace,t=[],n=0;n<256;n++)t.push(0);return"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(r){t[r.charCodeAt(0)]=1}),Po=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},Po}var Bo,Zl;function Mg(){return Zl||(Zl=1,Bo=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}),Bo}var Hr={},Wl;function Jl(){if(Wl)return Hr;Wl=1,Hr.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 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 Vr={},Yl;function Xl(){if(Yl)return Vr;Yl=1,Vr.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 Vr.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)},Vr}var $o,Ql;function Og(){if(Ql)return $o;Ql=1;var e=xe().normalizeReference,t=xe().isSpace;return $o=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},$o}var Uo,eu;function Fg(){if(eu)return Uo;eu=1;var e=xe().normalizeReference,t=xe().isSpace;return Uo=function(r,s){var o,i,c,a,l,u,f,p,h,m,x,A,v,E="",b=r.pos,d=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<d&&r.src.charCodeAt(f)===40){for(f++;f<d&&(i=r.src.charCodeAt(f),!(!t(i)&&i!==10));f++);if(f>=d)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<d&&(i=r.src.charCodeAt(f),!(!t(i)&&i!==10));f++);if(h=r.md.helpers.parseLinkTitle(r.src,f,r.posMax),f<d&&v!==f&&h.ok)for(m=h.str,f=h.pos;f<d&&(i=r.src.charCodeAt(f),!(!t(i)&&i!==10));f++);else m="";if(f>=d||r.src.charCodeAt(f)!==41)return r.pos=b,!1;f++}else{if(typeof r.env.references>"u")return!1;if(f<d&&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=d,!0},Uo}var zo,tu;function Pg(){if(tu)return zo;tu=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 zo=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},zo}var Ho,nu;function Bg(){if(nu)return Ho;nu=1;var e=Fl().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 Ho=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)},Ho}var Vo,ru;function $g(){if(ru)return Vo;ru=1;var e=Wa(),t=xe().has,n=xe().isValidEntityCode,r=xe().fromCodePoint,s=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,o=/^&([a-z][a-z0-9]{1,31});/i;return Vo=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},Vo}var jo,su;function Ug(){if(su)return jo;su=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 jo=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)},jo}var Go,ou;function zg(){return ou||(ou=1,Go=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)}),Go}var Ko,iu;function Hg(){if(iu)return Ko;iu=1;var e=bo(),t=xe().isWhiteSpace,n=xe().isPunctChar,r=xe().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,d=this.src.charCodeAt(o);for(a=o>0?this.src.charCodeAt(o-1):32;c<b&&this.src.charCodeAt(c)===d;)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,Ko=s,Ko}var Zo,cu;function Vg(){if(cu)return Zo;cu=1;var e=ao(),t=[["text",qg()],["linkify",Lg()],["newline",Ng()],["escape",Ig()],["backticks",Mg()],["strikethrough",Jl().tokenize],["emphasis",Xl().tokenize],["link",Og()],["image",Fg()],["autolink",Pg()],["html_inline",Bg()],["entity",$g()]],n=[["balance_pairs",Ug()],["strikethrough",Jl().postProcess],["emphasis",Xl().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(),Zo=r,Zo}var Wo,au;function jg(){return au||(au=1,Wo=function(e){var t={};e=e||{},t.src_Any=sl().source,t.src_Cc=il().source,t.src_Z=ll().source,t.src_P=Zs().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}),Wo}var Jo,lu;function Gg(){if(lu)return Jo;lu=1;function e(b){var d=Array.prototype.slice.call(arguments,1);return d.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(d,k){return d||c.hasOwnProperty(k)},!1)}var l={"http:":{validate:function(b,d,k){var w=b.slice(d);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,d,k){var w=b.slice(d);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)?d>=3&&b[d-3]===":"||d>=3&&b[d-3]==="/"?0:w.match(k.re.no_http)[0].length:0}},"mailto:":{validate:function(b,d,k){var w=b.slice(d);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(d,k){var w=d.slice(k);return b.test(w)?w.match(b)[0].length:0}}function m(){return function(b,d){d.normalize(b)}}function x(b){var d=b.re=jg()(b.__opts__),k=b.__tlds__.slice();b.onCompile(),b.__tlds_replaced__||k.push(u),k.push(d.src_xn),d.src_tlds=k.join("|");function w(q){return q.replace("%TLDS%",d.src_tlds)}d.email_fuzzy=RegExp(w(d.tpl_email_fuzzy),"i"),d.link_fuzzy=RegExp(w(d.tpl_link_fuzzy),"i"),d.link_no_ip_fuzzy=RegExp(w(d.tpl_link_no_ip_fuzzy),"i"),d.host_fuzzy_test=RegExp(w(d.tpl_host_fuzzy_test),"i");var $=[];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 L={validate:null,link:null};if(b.__compiled__[q]=L,r(F)){s(F.validate)?L.validate=h(F.validate):o(F.validate)?L.validate=F.validate:T(q,F),o(F.normalize)?L.normalize=F.normalize:F.normalize?T(q,F):L.normalize=m();return}if(n(F)){$.push(q);return}T(q,F)}}),$.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("(^|(?!_)(?:[><|]|"+d.src_ZPCc+"))("+D+")","i"),b.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+d.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,d){var k=b.__index__,w=b.__last_index__,$=b.__text_cache__.slice(k,w);this.schema=b.__schema__.toLowerCase(),this.index=k+d,this.lastIndex=w+d,this.raw=$,this.text=$,this.url=$}function v(b,d){var k=new A(b,d);return b.__compiled__[k.schema].normalize(k,b),k}function E(b,d){if(!(this instanceof E))return new E(b,d);d||a(b)&&(d=b,b={}),this.__opts__=e({},c,d),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(d,k){return this.__schemas__[d]=k,x(this),this},E.prototype.set=function(d){return this.__opts__=e(this.__opts__,d),this},E.prototype.test=function(d){if(this.__text_cache__=d,this.__index__=-1,!d.length)return!1;var k,w,$,T,D,q,F,L,re;if(this.re.schema_test.test(d)){for(F=this.re.schema_search,F.lastIndex=0;(k=F.exec(d))!==null;)if(T=this.testSchemaAt(d,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:"]&&(L=d.search(this.re.host_fuzzy_test),L>=0&&(this.__index__<0||L<this.__index__)&&(w=d.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:"]&&(re=d.indexOf("@"),re>=0&&($=d.match(this.re.email_fuzzy))!==null&&(D=$.index+$[1].length,q=$.index+$[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(d){return this.re.pretest.test(d)},E.prototype.testSchemaAt=function(d,k,w){return this.__compiled__[k.toLowerCase()]?this.__compiled__[k.toLowerCase()].validate(d,w,this):0},E.prototype.match=function(d){var k=0,w=[];this.__index__>=0&&this.__text_cache__===d&&(w.push(v(this,k)),k=this.__last_index__);for(var $=k?d.slice(k):d;this.test($);)w.push(v(this,k)),$=$.slice(this.__last_index__),k+=this.__last_index__;return w.length?w:null},E.prototype.matchAtStart=function(d){if(this.__text_cache__=d,this.__index__=-1,!d.length)return null;var k=this.re.schema_at_start.exec(d);if(!k)return null;var w=this.testSchemaAt(d,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(d,k){return d=Array.isArray(d)?d:[d],k?(this.__tlds__=this.__tlds__.concat(d).sort().filter(function(w,$,T){return w!==T[$-1]}).reverse(),x(this),this):(this.__tlds__=d.slice(),this.__tlds_replaced__=!0,x(this),this)},E.prototype.normalize=function(d){d.schema||(d.url="http://"+d.url),d.schema==="mailto:"&&!/^mailto:/i.test(d.url)&&(d.url="mailto:"+d.url)},E.prototype.onCompile=function(){},Jo=E,Jo}const Dn=2147483647,At=36,Yo=1,nr=26,Kg=38,Zg=700,uu=72,fu=128,hu="-",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"},Xo=At-Yo,Ct=Math.floor,Qo=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 pu(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 ei(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 du=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:At},gu=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},mu=function(e,t,n){let r=0;for(e=n?Ct(e/Zg):e>>1,e+=Ct(e/t);e>Xo*nr>>1;r+=At)e=Ct(e/Xo);return Ct(r+(Xo+1)*e/(e+Kg))},ti=function(e){const t=[],n=e.length;let r=0,s=fu,o=uu,i=e.lastIndexOf(hu);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=At;;f+=At){c>=n&&Jt("invalid-input");const p=em(e.charCodeAt(c++));p>=At&&Jt("invalid-input"),p>Ct((Dn-r)/u)&&Jt("overflow"),r+=p*u;const h=f<=o?Yo:f>=o+nr?nr:f-o;if(p<h)break;const m=At-h;u>Ct(Dn/m)&&Jt("overflow"),u*=m}const l=t.length+1;o=mu(r-a,l,a==0),Ct(r/l)>Dn-s&&Jt("overflow"),s+=Ct(r/l),r%=l,t.splice(r++,0,s)}return String.fromCodePoint(...t)},ni=function(e){const t=[];e=ei(e);const n=e.length;let r=fu,s=0,o=uu;for(const a of e)a<128&&t.push(Qo(a));const i=t.length;let c=i;for(i&&t.push(hu);c<n;){let a=Dn;for(const u of e)u>=r&&u<a&&(a=u);const l=c+1;a-r>Ct((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=At;;p+=At){const h=p<=o?Yo:p>=o+nr?nr:p-o;if(f<h)break;const m=f-h,x=At-h;t.push(Qo(gu(h+m%x,0))),f=Ct(m/x)}t.push(Qo(gu(f,0))),o=mu(s,l,c===i),s=0,++c}++s,++r}return t.join("")},_u=function(e){return pu(e,function(t){return Wg.test(t)?ti(t.slice(4).toLowerCase()):t})},bu=function(e){return pu(e,function(t){return Jg.test(t)?"xn--"+ni(t):t})},tm=qp(Object.freeze(Object.defineProperty({__proto__:null,decode:ti,default:{version:"2.3.1",ucs2:{decode:ei,encode:du},decode:ti,encode:ni,toASCII:bu,toUnicode:_u},encode:ni,toASCII:bu,toUnicode:_u,ucs2decode:ei,ucs2encode:du},Symbol.toStringTag,{value:"Module"})));var ri,vu;function nm(){return vu||(vu=1,ri={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}}),ri}var si,yu;function rm(){return yu||(yu=1,si={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"]}}}),si}var oi,xu;function sm(){return xu||(xu=1,oi={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"]}}}),oi}var ii,Eu;function om(){if(Eu)return ii;Eu=1;var e=xe(),t=ig(),n=cg(),r=mg(),s=Rg(),o=Vg(),i=Gg(),c=nl(),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(d){v.components[d].rules&&E[d].ruler.enableOnly(v.components[d].rules),v.components[d].rules2&&E[d].ruler2.enableOnly(v.components[d].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 d=v.filter(function(k){return b.indexOf(k)<0});if(d.length&&!E)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+d);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 d=v.filter(function(k){return b.indexOf(k)<0});if(d.length&&!E)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+d);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)},ii=A,ii}var ci,ku;function im(){return ku||(ku=1,ci=om()),ci}var cm=im();const am=Us(cm),lm=pt({name:"VueMarkdown",props:{source:{type:String,required:!0},options:{type:Object,required:!1},plugins:{type:Array,required:!1}},setup(e){const t=Ze(new am(e.options??{}));for(const r of e.plugins??[])t.value.use(r);const n=tt(()=>t.value.render(e.source));return()=>ea("div",{innerHTML:n.value})}}),um={key:0,class:"chat-message-actions"},fm={key:2,class:"chat-message-files"},ai=pt({__name:"Message",props:{message:{}},setup(e,{expose:t}){const n=e;Bt.registerLanguage("javascript",Oa),Bt.registerLanguage("typescript",Gd),Bt.registerLanguage("python",Vd),Bt.registerLanguage("xml",Fa),Bt.registerLanguage("bash",Hd);const{message:r}=xf(n),{options:s}=er(),o=Ze(null),i=Ze({}),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)=>(ee(),de("div",{ref_key:"messageContainer",ref:o,class:_n(["chat-message",a.value])},[m.$slots.beforeMessage?(ee(),de("div",um,[Gt(m.$slots,"beforeMessage",Ai(Kc({message:pe(r)})))])):at("",!0),Gt(m.$slots,"default",{},()=>[pe(r).type==="component"&&p[pe(r).key]?(ee(),Me(Wf(p[pe(r).key]),Ai(Ls({key:0},pe(r).arguments)),null,16)):(ee(),Me(pe(lm),{key:1,class:"chat-message-markdown",source:c.value,options:f,plugins:[l]},null,8,["source","plugins"])),(pe(r).files??[]).length>0?(ee(),de("div",fm,[(ee(!0),de(ze,null,Sr(pe(r).files??[],A=>(ee(),de("div",{key:A.name,class:"chat-message-file"},[Ae(Ba,{file:A,"is-removable":!1,"is-previewable":!0},null,8,["file"])]))),128))])):at("",!0)])],2))}}),hm=pt({__name:"MessageTyping",props:{animation:{default:"bouncing"}},setup(e){const t=e,n={id:"typing",text:"",sender:"bot",createdAt:""},r=Ze(),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)=>(ee(),Me(pe(ai),{ref_key:"messageContainer",ref:r,class:_n(s.value),message:n,"data-test-id":"chat-message-typing"},{default:Et(()=>i[0]||(i[0]=[ke("div",{class:"chat-message-typing-body"},[ke("span",{class:"chat-message-typing-circle"}),ke("span",{class:"chat-message-typing-circle"}),ke("span",{class:"chat-message-typing-circle"})],-1)])),_:1},8,["class"]))}}),pm={key:0,class:"empty-container"},dm={class:"empty"},gm={key:1,class:"chat-messages-list"},mm=pt({__name:"MessagesList",props:{messages:{},emptyText:{}},setup(e){const t=Hs(),n=Ze([]),{initialMessages:r,waitingForResponse:s}=t;return Dr(()=>n.value.length,()=>{const o=n.value[n.value.length-1];o&&o.scrollToView()}),(o,i)=>{const c=pc("N8nIcon"),a=pc("N8nText");return o.emptyText&&pe(r).length===0&&o.messages.length===0?(ee(),de("div",pm,[ke("div",dm,[Ae(c,{icon:"comment",size:"large",class:"emptyIcon"}),Ae(a,{tag:"p",size:"medium",color:"text-base"},{default:Et(()=>[Nr(en(o.emptyText),1)]),_:1})])])):(ee(),de("div",gm,[(ee(!0),de(ze,null,Sr(pe(r),l=>(ee(),Me(ai,{key:l.id,message:l},null,8,["message"]))),128)),(ee(!0),de(ze,null,Sr(o.messages,l=>(ee(),Me(ai,{key:l.id,ref_for:!0,ref_key:"messageComponents",ref:n,message:l},{beforeMessage:Et(({message:u})=>[Gt(o.$slots,"beforeMessage",Ls({ref_for:!0},{message:u}))]),_:2},1032,["message"]))),128)),pe(s)?(ee(),Me(hm,{key:0})):at("",!0)]))}}}),_m={class:"chat-heading"},bm=["title"],vm={key:0},wu=pt({__name:"Chat",setup(e){const{t}=$r(),n=Hs(),{messages:r,currentSessionId:s}=n,{options:o}=er(),i=tt(()=>o.mode==="window"&&o.showWindowCloseButton);async function c(){n.startNewSession&&(n.startNewSession(),kn(()=>{st.emit("scrollToBottom")}))}async function a(){n.loadPreviousSession&&(await n.loadPreviousSession(),kn(()=>{st.emit("scrollToBottom")}))}function l(){st.emit("close")}return jt(async()=>{await a(),!o.showWelcomeScreen&&!s.value&&await c()}),(u,f)=>(ee(),Me(zd,{class:"chat-wrapper"},{header:Et(()=>[ke("div",_m,[ke("h1",null,en(pe(t)("title")),1),i.value?(ee(),de("button",{key:0,class:"chat-close-button",title:pe(t)("closeButtonTooltip"),onClick:l},[Ae(pe(Vp),{height:"18",width:"18"})],8,bm)):at("",!0)]),pe(t)("subtitle")?(ee(),de("p",vm,en(pe(t)("subtitle")),1)):at("",!0)]),footer:Et(()=>[pe(s)?(ee(),Me(Pd,{key:0})):(ee(),Me(Qp,{key:1}))]),default:Et(()=>[!pe(s)&&pe(o).showWelcomeScreen?(ee(),Me(Gp,{key:0,"onClick:button":c})):(ee(),Me(mm,{key:1,messages:pe(r)},null,8,["messages"]))]),_:1}))}}),ym={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function xm(e,t){return ee(),de("svg",ym,t[0]||(t[0]=[ke("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 Em={name:"mdi-chat",render:xm},km={viewBox:"0 0 24 24",width:"1.2em",height:"1.2em"};function wm(e,t){return ee(),de("svg",km,t[0]||(t[0]=[ke("path",{fill:"currentColor",d:"M7.41 8.58L12 13.17l4.59-4.59L18 10l-6 6l-6-6z"},null,-1)]))}const Am={name:"mdi-chevron-down",render:wm},Cm={class:"chat-window-wrapper"},Sm={class:"chat-window"},Tm=pt({__name:"ChatWindow",setup(e){const t=Ze(!1);function n(){t.value=!t.value,t.value&&kn(()=>{st.emit("scrollToBottom")})}return(r,s)=>(ee(),de("div",Cm,[Ae(oa,{name:"chat-window-transition"},{default:Et(()=>[nc(ke("div",Sm,[Ae(wu)],512),[[Zh,t.value]])]),_:1}),ke("div",{class:"chat-window-toggle",onClick:n},[Ae(oa,{name:"chat-window-toggle-transition",mode:"out-in"},{default:Et(()=>[t.value?(ee(),Me(pe(Am),{key:1,height:"32",width:"32"})):(ee(),Me(pe(Em),{key:0,height:"32",width:"32"}))]),_:1})])]))}}),Dm=pt({__name:"App",props:{},setup(e){const{options:t}=er(),n=tt(()=>t.mode==="fullscreen");return jt(()=>{Bt.registerLanguage("xml",Fa),Bt.registerLanguage("javascript",Oa)}),(r,s)=>n.value?(ee(),Me(pe(wu),{key:0,class:"n8n-chat"})):(ee(),Me(pe(Tm),{key:1,class:"n8n-chat"}))}});function Rm(e){var s,o;const t={...Xn,...e,webhookConfig:{...Xn.webhookConfig,...e==null?void 0:e.webhookConfig},i18n:{...Xn.i18n,...e==null?void 0:e.i18n,en:{...(s=Xn.i18n)==null?void 0:s.en,...(o=e==null?void 0:e.i18n)==null?void 0:o.en}},theme:{...Xn.theme,...e==null?void 0:e.theme}},n=t.target??vp;typeof n=="string"&&Dp(n);const r=mp(Dm);return r.use(Rp,t),r.mount(n),r}dn.createChat=Rm,Object.defineProperty(dn,Symbol.toStringTag,{value:"Module"})});