nuxt-schema-org 4.0.2 → 4.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +71 -71
- package/dist/client/200.html +25 -22
- package/dist/client/404.html +25 -22
- package/dist/client/_nuxt/{QuylFKVk.js → B5CNlBgr.js} +1 -1
- package/dist/client/_nuxt/BCzYJAay.js +1 -0
- package/dist/client/_nuxt/BIguuW30.js +1 -0
- package/dist/client/_nuxt/{0qbUsQ6_.js → BJGgnGWZ.js} +1 -1
- package/dist/client/_nuxt/BLhTXw86.js +1 -0
- package/dist/client/_nuxt/BZ3P6AVf.js +1 -0
- package/dist/client/_nuxt/{Csvi84BS.js → BnfnAR_u.js} +1 -1
- package/dist/client/_nuxt/Bu73EIfS.js +1 -0
- package/dist/client/_nuxt/C4Ro8ZjH.js +1 -0
- package/dist/client/_nuxt/C5-9kuJc.js +1 -0
- package/dist/client/_nuxt/CGXjegLJ.js +1 -0
- package/dist/client/_nuxt/CMnybHwx.js +1 -0
- package/dist/client/_nuxt/COcR7UxN.js +1 -0
- package/dist/client/_nuxt/DDtaqPfv.js +32 -0
- package/dist/client/_nuxt/DL4Dju3v.js +1 -0
- package/dist/client/_nuxt/DdAYiE08.js +1 -0
- package/dist/client/_nuxt/{JJNjxVar.js → DhRVplvY.js} +1 -1
- package/dist/client/_nuxt/XF954dHc.js +1 -0
- package/dist/client/_nuxt/{CNNTwPtp.js → bW3Q9pbY.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/64843d8e-fcd1-46be-a7f6-a8bd7e7efdad.json +1 -0
- package/dist/client/_nuxt/entry.Dctf3HLc.css +1 -0
- package/dist/client/_nuxt/error-404.DIflzBI4.css +1 -0
- package/dist/client/_nuxt/error-500.MrpK8Rq_.css +1 -0
- package/dist/client/index.html +25 -22
- package/dist/module.json +1 -1
- package/dist/runtime/app/composables/useSchemaOrg.js +1 -5
- package/dist/runtime/app/plugins/defaults.js +3 -6
- package/dist/runtime/app/plugins/i18n/defaults.js +5 -7
- package/dist/runtime/app/plugins/i18n/init.js +1 -1
- package/dist/runtime/app/plugins/i18n/tsconfig.json +3 -0
- package/dist/runtime/app/utils/shared.js +2 -2
- package/dist/runtime/server/routes/__schema-org__/debug.js +1 -1
- package/dist/runtime/server/tsconfig.json +3 -3
- package/package.json +13 -13
- package/schema.d.ts +1 -1
- package/dist/client/_nuxt/B1Z2YEe0.js +0 -1
- package/dist/client/_nuxt/BHpzmqOf.js +0 -1
- package/dist/client/_nuxt/C6J8XiCD.js +0 -1
- package/dist/client/_nuxt/CHFNoq3-.js +0 -34
- package/dist/client/_nuxt/CLXkKSjS.js +0 -1
- package/dist/client/_nuxt/Cm25um3E.js +0 -1
- package/dist/client/_nuxt/Cmhojp3q.js +0 -1
- package/dist/client/_nuxt/Cv7ZOjGq.js +0 -1
- package/dist/client/_nuxt/D0xWnrgR.js +0 -1
- package/dist/client/_nuxt/D9W_gRNE.js +0 -1
- package/dist/client/_nuxt/DMFdBl0X.js +0 -1
- package/dist/client/_nuxt/builds/meta/dev.json +0 -1
- package/dist/client/_nuxt/builds/meta/e3ce1479-1f80-4a85-85fc-6f1b4d40d16b.json +0 -1
- package/dist/client/_nuxt/entry.DmTHVwLm.css +0 -1
- package/dist/client/_nuxt/error-404.O0-zGLt6.css +0 -1
- package/dist/client/_nuxt/error-500.qQHJY5DZ.css +0 -1
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./B1rsb5QC.js","./dwbxrGt_.js","./DNgb01dh.js","./u4bm_LMz.js","./gOa3Yz9U.js","./eACALr6E.js","./CyEc264g.js","./CkqQx3Va.js","./BN40hmum.js","./DWmkr0yC.js","./vocl-2a6.js","./CVESyXxo.js","./DmF4-xLG.js","./Bmb0A568.js","./D8nBeWSR.js","./Bu73EIfS.js","./BLhTXw86.js","./XF954dHc.js","./CK56Z9cH.js","./BA1ndEPy.js","./Cv3cJnDV.js","./CcPoRNJz.js","./DoiKbUTj.js","./CbUnruJU.js","./BhsLqr-4.js","./W2lx4xae.js","./HNM5thJl.js","./Bv_sPlCv.js","./FMvz1E70.js","./DhqJCFIX.js","./BzAMEn9Z.js","./5Vw9JATd.js","./DhG9BCpW.js","./BKbjiiqg.js","./IqKf4WGj.js","./B3Z_eaxm.js","./BaLI2h1d.js","./CNXuF1yM.js","./BJGgnGWZ.js","./BSHf-0eb.js","./BIguuW30.js","./BSPpinrx.js","./Dnfm4U7b.js","./s1PdnzAn.js","./BhC5s0V7.js","./DvA-6Bhw.js","./ClV7KpCc.js","./CM4fc1WH.js","./DqpEK-75.js","./CeZwWGti.js","./BbalPOsb.js","./BYqZ7etr.js","./CIiI48o2.js","./DRhUEtVu.js","./L9-HYnaW.js","./BgqZeg96.js","./BoZcIFWd.js","./BCawSwWi.js","./CK7S-5jS.js","./DUdzsfxe.js","./Cqv5JV-q.js","./DFW6HATB.js","./BJNXdUBN.js","./DL4Dju3v.js","./CodIOJDM.js","./Dk1rBueR.js","./CMnybHwx.js","./BjXeLqNd.js","./CuIYtGag.js","./D2O4HAMr.js","./CI15r38m.js","./i22b9gbM.js","./xfgw03QH.js","./KUYRHWK4.js","./D7v6OrNy.js","./CnsmiicP.js","./DbXoA79R.js","./i5HCB2tm.js","./bGS5FTDY.js","./DkpUthgY.js","./BTbGKmhu.js","./CY2R9RuK.js","./8Uu6eIa-.js","./C0hdQUNN.js","./-ALZ4IvE.js","./DhRVplvY.js","./BnfnAR_u.js","./C5-9kuJc.js","./Db-JQHi3.js","./CWJejSyX.js","./CBzZD_Xh.js","./CKfqYE_r.js","./Bnbw1zOw.js","./bW3Q9pbY.js","./error-404.DIflzBI4.css","./B5CNlBgr.js","./error-500.MrpK8Rq_.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
var Ld=Object.defineProperty;var Od=(e,t,n)=>t in e?Ld(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var be=(e,t,n)=>Od(e,typeof t!="symbol"?t+"":t,n);/**
|
|
3
|
+
* @vue/shared v3.5.13
|
|
4
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
5
|
+
* @license MIT
|
|
6
|
+
**//*! #__NO_SIDE_EFFECTS__ */function Ps(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const de={},Cn=[],gt=()=>{},kd=()=>!1,Er=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),As=e=>e.startsWith("onUpdate:"),Oe=Object.assign,Rs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Id=Object.prototype.hasOwnProperty,le=(e,t)=>Id.call(e,t),X=Array.isArray,Pn=e=>Tr(e)==="[object Map]",uc=e=>Tr(e)==="[object Set]",va=e=>Tr(e)==="[object Date]",Y=e=>typeof e=="function",ye=e=>typeof e=="string",ct=e=>typeof e=="symbol",pe=e=>e!==null&&typeof e=="object",fc=e=>(pe(e)||Y(e))&&Y(e.then)&&Y(e.catch),dc=Object.prototype.toString,Tr=e=>dc.call(e),Dd=e=>Tr(e).slice(8,-1),pc=e=>Tr(e)==="[object Object]",xs=e=>ye(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,An=Ps(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Ho=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Nd=/-(\w)/g,tt=Ho(e=>e.replace(Nd,(t,n)=>n?n.toUpperCase():"")),$d=/\B([A-Z])/g,Wt=Ho(e=>e.replace($d,"-$1").toLowerCase()),Vo=Ho(e=>e.charAt(0).toUpperCase()+e.slice(1)),ui=Ho(e=>e?`on${Vo(e)}`:""),$t=(e,t)=>!Object.is(e,t),qr=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},hc=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Md=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Hd=e=>{const t=ye(e)?Number(e):NaN;return isNaN(t)?e:t};let ba;const Bo=()=>ba||(ba=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function on(e){if(X(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=ye(r)?Fd(r):on(r);if(o)for(const i in o)t[i]=o[i]}return t}else if(ye(e)||pe(e))return e}const Vd=/;(?![^(]*\))/g,Bd=/:([^]+)/,jd=/\/\*[^]*?\*\//g;function Fd(e){const t={};return e.replace(jd,"").split(Vd).forEach(n=>{if(n){const r=n.split(Bd);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Te(e){let t="";if(ye(e))t=e;else if(X(e))for(let n=0;n<e.length;n++){const r=Te(e[n]);r&&(t+=r+" ")}else if(pe(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function mc(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ye(t)&&(e.class=Te(t)),n&&(e.style=on(n)),e}const Ud="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Wd=Ps(Ud);function gc(e){return!!e||e===""}function Gd(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=no(e[r],t[r]);return n}function no(e,t){if(e===t)return!0;let n=va(e),r=va(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=ct(e),r=ct(t),n||r)return e===t;if(n=X(e),r=X(t),n||r)return n&&r?Gd(e,t):!1;if(n=pe(e),r=pe(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const s in e){const a=e.hasOwnProperty(s),l=t.hasOwnProperty(s);if(a&&!l||!a&&l||!no(e[s],t[s]))return!1}}return String(e)===String(t)}const _c=e=>!!(e&&e.__v_isRef===!0),Mt=e=>ye(e)?e:e==null?"":X(e)||pe(e)&&(e.toString===dc||!Y(e.toString))?_c(e)?Mt(e.value):JSON.stringify(e,yc,2):String(e),yc=(e,t)=>_c(t)?yc(e,t.value):Pn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[fi(r,i)+" =>"]=o,n),{})}:uc(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>fi(n))}:ct(t)?fi(t):pe(t)&&!X(t)&&!pc(t)?String(t):t,fi=(e,t="")=>{var n;return ct(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
7
|
+
* @vue/reactivity v3.5.13
|
|
8
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
9
|
+
* @license MIT
|
|
10
|
+
**/let He;class vc{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=He,!t&&He&&(this.index=(He.scopes||(He.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=He;try{return He=this,t()}finally{He=n}}}on(){He=this}off(){He=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 o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function zd(e){return new vc(e)}function Ls(){return He}function wa(e,t=!1){He&&He.cleanups.push(e)}let _e;const di=new WeakSet;class bc{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,He&&He.active&&He.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,di.has(this)&&(di.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ec(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ea(this),Tc(this);const t=_e,n=st;_e=this,st=!0;try{return this.fn()}finally{Sc(this),_e=t,st=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,Ea(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?di.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Mi(this)&&this.run()}get dirty(){return Mi(this)}}let wc=0,Yn,Qn;function Ec(e,t=!1){if(e.flags|=8,t){e.next=Qn,Qn=e;return}e.next=Yn,Yn=e}function Os(){wc++}function ks(){if(--wc>0)return;if(Qn){let t=Qn;for(Qn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Yn;){let t=Yn;for(Yn=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 Tc(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Sc(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Is(r),qd(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Mi(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Cc(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Cc(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===lr))return;e.globalVersion=lr;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Mi(e)){e.flags&=-3;return}const n=_e,r=st;_e=e,st=!0;try{Tc(e);const o=e.fn(e._value);(t.version===0||$t(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{_e=n,st=r,Sc(e),e.flags&=-3}}function Is(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Is(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function qd(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let st=!0;const Pc=[];function Gt(){Pc.push(st),st=!1}function zt(){const e=Pc.pop();st=e===void 0?!0:e}function Ea(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=_e;_e=void 0;try{t()}finally{_e=n}}}let lr=0;class Kd{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 Ds{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(!_e||!st||_e===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==_e)n=this.activeLink=new Kd(_e,this),_e.deps?(n.prevDep=_e.depsTail,_e.depsTail.nextDep=n,_e.depsTail=n):_e.deps=_e.depsTail=n,Ac(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=_e.depsTail,n.nextDep=void 0,_e.depsTail.nextDep=n,_e.depsTail=n,_e.deps===n&&(_e.deps=r)}return n}trigger(t){this.version++,lr++,this.notify(t)}notify(t){Os();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ks()}}}function Ac(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)Ac(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ro=new WeakMap,sn=Symbol(""),Hi=Symbol(""),cr=Symbol("");function De(e,t,n){if(st&&_e){let r=ro.get(e);r||ro.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Ds),o.map=r,o.key=n),o.track()}}function Ct(e,t,n,r,o,i){const s=ro.get(e);if(!s){lr++;return}const a=l=>{l&&l.trigger()};if(Os(),t==="clear")s.forEach(a);else{const l=X(e),c=l&&xs(n);if(l&&n==="length"){const u=Number(r);s.forEach((f,p)=>{(p==="length"||p===cr||!ct(p)&&p>=u)&&a(f)})}else switch((n!==void 0||s.has(void 0))&&a(s.get(n)),c&&a(s.get(cr)),t){case"add":l?c&&a(s.get("length")):(a(s.get(sn)),Pn(e)&&a(s.get(Hi)));break;case"delete":l||(a(s.get(sn)),Pn(e)&&a(s.get(Hi)));break;case"set":Pn(e)&&a(s.get(sn));break}}ks()}function Jd(e,t){const n=ro.get(e);return n&&n.get(t)}function _n(e){const t=ae(e);return t===e?t:(De(t,"iterate",cr),et(e)?t:t.map(Ne))}function jo(e){return De(e=ae(e),"iterate",cr),e}const Xd={__proto__:null,[Symbol.iterator](){return pi(this,Symbol.iterator,Ne)},concat(...e){return _n(this).concat(...e.map(t=>X(t)?_n(t):t))},entries(){return pi(this,"entries",e=>(e[1]=Ne(e[1]),e))},every(e,t){return Tt(this,"every",e,t,void 0,arguments)},filter(e,t){return Tt(this,"filter",e,t,n=>n.map(Ne),arguments)},find(e,t){return Tt(this,"find",e,t,Ne,arguments)},findIndex(e,t){return Tt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Tt(this,"findLast",e,t,Ne,arguments)},findLastIndex(e,t){return Tt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Tt(this,"forEach",e,t,void 0,arguments)},includes(...e){return hi(this,"includes",e)},indexOf(...e){return hi(this,"indexOf",e)},join(e){return _n(this).join(e)},lastIndexOf(...e){return hi(this,"lastIndexOf",e)},map(e,t){return Tt(this,"map",e,t,void 0,arguments)},pop(){return zn(this,"pop")},push(...e){return zn(this,"push",e)},reduce(e,...t){return Ta(this,"reduce",e,t)},reduceRight(e,...t){return Ta(this,"reduceRight",e,t)},shift(){return zn(this,"shift")},some(e,t){return Tt(this,"some",e,t,void 0,arguments)},splice(...e){return zn(this,"splice",e)},toReversed(){return _n(this).toReversed()},toSorted(e){return _n(this).toSorted(e)},toSpliced(...e){return _n(this).toSpliced(...e)},unshift(...e){return zn(this,"unshift",e)},values(){return pi(this,"values",Ne)}};function pi(e,t,n){const r=jo(e),o=r[t]();return r!==e&&!et(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.value&&(i.value=n(i.value)),i}),o}const Yd=Array.prototype;function Tt(e,t,n,r,o,i){const s=jo(e),a=s!==e&&!et(e),l=s[t];if(l!==Yd[t]){const f=l.apply(e,i);return a?Ne(f):f}let c=n;s!==e&&(a?c=function(f,p){return n.call(this,Ne(f),p,e)}:n.length>2&&(c=function(f,p){return n.call(this,f,p,e)}));const u=l.call(s,c,r);return a&&o?o(u):u}function Ta(e,t,n,r){const o=jo(e);let i=n;return o!==e&&(et(e)?n.length>3&&(i=function(s,a,l){return n.call(this,s,a,l,e)}):i=function(s,a,l){return n.call(this,s,Ne(a),l,e)}),o[t](i,...r)}function hi(e,t,n){const r=ae(e);De(r,"iterate",cr);const o=r[t](...n);return(o===-1||o===!1)&&Ms(n[0])?(n[0]=ae(n[0]),r[t](...n)):o}function zn(e,t,n=[]){Gt(),Os();const r=ae(e)[t].apply(e,n);return ks(),zt(),r}const Qd=Ps("__proto__,__v_isRef,__isVue"),Rc=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ct));function Zd(e){ct(e)||(e=String(e));const t=ae(this);return De(t,"has",e),t.hasOwnProperty(e)}class xc{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?cp:Ic:i?kc:Oc).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=X(t);if(!o){let l;if(s&&(l=Xd[n]))return l;if(n==="hasOwnProperty")return Zd}const a=Reflect.get(t,n,Se(t)?t:r);return(ct(n)?Rc.has(n):Qd(n))||(o||De(t,"get",n),i)?a:Se(a)?s&&xs(n)?a:a.value:pe(a)?o?Dc(a):Bt(a):a}}class Lc extends xc{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const l=jt(i);if(!et(r)&&!jt(r)&&(i=ae(i),r=ae(r)),!X(t)&&Se(i)&&!Se(r))return l?!1:(i.value=r,!0)}const s=X(t)&&xs(n)?Number(n)<t.length:le(t,n),a=Reflect.set(t,n,r,Se(t)?t:o);return t===ae(o)&&(s?$t(r,i)&&Ct(t,"set",n,r):Ct(t,"add",n,r)),a}deleteProperty(t,n){const r=le(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Ct(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!ct(n)||!Rc.has(n))&&De(t,"has",n),r}ownKeys(t){return De(t,"iterate",X(t)?"length":sn),Reflect.ownKeys(t)}}class ep extends xc{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const tp=new Lc,np=new ep,rp=new Lc(!0);const Vi=e=>e,kr=e=>Reflect.getPrototypeOf(e);function op(e,t,n){return function(...r){const o=this.__v_raw,i=ae(o),s=Pn(i),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,c=o[e](...r),u=n?Vi:t?Bi:Ne;return!t&&De(i,"iterate",l?Hi:sn),{next(){const{value:f,done:p}=c.next();return p?{value:f,done:p}:{value:a?[u(f[0]),u(f[1])]:u(f),done:p}},[Symbol.iterator](){return this}}}}function Ir(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ip(e,t){const n={get(o){const i=this.__v_raw,s=ae(i),a=ae(o);e||($t(o,a)&&De(s,"get",o),De(s,"get",a));const{has:l}=kr(s),c=t?Vi:e?Bi:Ne;if(l.call(s,o))return c(i.get(o));if(l.call(s,a))return c(i.get(a));i!==s&&i.get(o)},get size(){const o=this.__v_raw;return!e&&De(ae(o),"iterate",sn),Reflect.get(o,"size",o)},has(o){const i=this.__v_raw,s=ae(i),a=ae(o);return e||($t(o,a)&&De(s,"has",o),De(s,"has",a)),o===a?i.has(o):i.has(o)||i.has(a)},forEach(o,i){const s=this,a=s.__v_raw,l=ae(a),c=t?Vi:e?Bi:Ne;return!e&&De(l,"iterate",sn),a.forEach((u,f)=>o.call(i,c(u),c(f),s))}};return Oe(n,e?{add:Ir("add"),set:Ir("set"),delete:Ir("delete"),clear:Ir("clear")}:{add(o){!t&&!et(o)&&!jt(o)&&(o=ae(o));const i=ae(this);return kr(i).has.call(i,o)||(i.add(o),Ct(i,"add",o,o)),this},set(o,i){!t&&!et(i)&&!jt(i)&&(i=ae(i));const s=ae(this),{has:a,get:l}=kr(s);let c=a.call(s,o);c||(o=ae(o),c=a.call(s,o));const u=l.call(s,o);return s.set(o,i),c?$t(i,u)&&Ct(s,"set",o,i):Ct(s,"add",o,i),this},delete(o){const i=ae(this),{has:s,get:a}=kr(i);let l=s.call(i,o);l||(o=ae(o),l=s.call(i,o)),a&&a.call(i,o);const c=i.delete(o);return l&&Ct(i,"delete",o,void 0),c},clear(){const o=ae(this),i=o.size!==0,s=o.clear();return i&&Ct(o,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=op(o,e,t)}),n}function Ns(e,t){const n=ip(e,t);return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(le(n,o)&&o in r?n:r,o,i)}const sp={get:Ns(!1,!1)},ap={get:Ns(!1,!0)},lp={get:Ns(!0,!1)};const Oc=new WeakMap,kc=new WeakMap,Ic=new WeakMap,cp=new WeakMap;function up(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function fp(e){return e.__v_skip||!Object.isExtensible(e)?0:up(Dd(e))}function Bt(e){return jt(e)?e:$s(e,!1,tp,sp,Oc)}function wn(e){return $s(e,!1,rp,ap,kc)}function Dc(e){return $s(e,!0,np,lp,Ic)}function $s(e,t,n,r,o){if(!pe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=fp(e);if(s===0)return e;const a=new Proxy(e,s===2?r:n);return o.set(e,a),a}function an(e){return jt(e)?an(e.__v_raw):!!(e&&e.__v_isReactive)}function jt(e){return!!(e&&e.__v_isReadonly)}function et(e){return!!(e&&e.__v_isShallow)}function Ms(e){return e?!!e.__v_raw:!1}function ae(e){const t=e&&e.__v_raw;return t?ae(t):e}function dp(e){return!le(e,"__v_skip")&&Object.isExtensible(e)&&hc(e,"__v_skip",!0),e}const Ne=e=>pe(e)?Bt(e):e,Bi=e=>pe(e)?Dc(e):e;function Se(e){return e?e.__v_isRef===!0:!1}function fe(e){return Nc(e,!1)}function oo(e){return Nc(e,!0)}function Nc(e,t){return Se(e)?e:new pp(e,t)}class pp{constructor(t,n){this.dep=new Ds,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ae(t),this._value=n?t:Ne(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||et(t)||jt(t);t=r?t:ae(t),$t(t,n)&&(this._rawValue=t,this._value=r?t:Ne(t),this.dep.trigger())}}function ne(e){return Se(e)?e.value:e}const hp={get:(e,t,n)=>t==="__v_raw"?e:ne(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Se(o)&&!Se(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function $c(e){return an(e)?e:new Proxy(e,hp)}class mp{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 Jd(ae(this._object),this._key)}}class gp{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Mc(e,t,n){return Se(e)?e:Y(e)?new gp(e):pe(e)&&arguments.length>1?_p(e,t,n):fe(e)}function _p(e,t,n){const r=e[t];return Se(r)?r:new mp(e,t,n)}class yp{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ds(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=lr-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&_e!==this)return Ec(this,!0),!0}get value(){const t=this.dep.track();return Cc(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function vp(e,t,n=!1){let r,o;return Y(e)?r=e:(r=e.get,o=e.set),new yp(r,o,n)}const Dr={},io=new WeakMap;let Zt;function bp(e,t=!1,n=Zt){if(n){let r=io.get(n);r||io.set(n,r=[]),r.push(e)}}function wp(e,t,n=de){const{immediate:r,deep:o,once:i,scheduler:s,augmentJob:a,call:l}=n,c=w=>o?w:et(w)||o===!1||o===0?Pt(w,1):Pt(w);let u,f,p,d,h=!1,_=!1;if(Se(e)?(f=()=>e.value,h=et(e)):an(e)?(f=()=>c(e),h=!0):X(e)?(_=!0,h=e.some(w=>an(w)||et(w)),f=()=>e.map(w=>{if(Se(w))return w.value;if(an(w))return c(w);if(Y(w))return l?l(w,2):w()})):Y(e)?t?f=l?()=>l(e,2):e:f=()=>{if(p){Gt();try{p()}finally{zt()}}const w=Zt;Zt=u;try{return l?l(e,3,[d]):e(d)}finally{Zt=w}}:f=gt,t&&o){const w=f,S=o===!0?1/0:o;f=()=>Pt(w(),S)}const v=Ls(),y=()=>{u.stop(),v&&v.active&&Rs(v.effects,u)};if(i&&t){const w=t;t=(...S)=>{w(...S),y()}}let E=_?new Array(e.length).fill(Dr):Dr;const m=w=>{if(!(!(u.flags&1)||!u.dirty&&!w))if(t){const S=u.run();if(o||h||(_?S.some((P,I)=>$t(P,E[I])):$t(S,E))){p&&p();const P=Zt;Zt=u;try{const I=[S,E===Dr?void 0:_&&E[0]===Dr?[]:E,d];l?l(t,3,I):t(...I),E=S}finally{Zt=P}}}else u.run()};return a&&a(m),u=new bc(f),u.scheduler=s?()=>s(m,!1):m,d=w=>bp(w,!1,u),p=u.onStop=()=>{const w=io.get(u);if(w){if(l)l(w,4);else for(const S of w)S();io.delete(u)}},t?r?m(!0):E=u.run():s?s(m.bind(null,!0),!0):u.run(),y.pause=u.pause.bind(u),y.resume=u.resume.bind(u),y.stop=y,y}function Pt(e,t=1/0,n){if(t<=0||!pe(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Se(e))Pt(e.value,t,n);else if(X(e))for(let r=0;r<e.length;r++)Pt(e[r],t,n);else if(uc(e)||Pn(e))e.forEach(r=>{Pt(r,t,n)});else if(pc(e)){for(const r in e)Pt(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Pt(e[r],t,n)}return e}/**
|
|
11
|
+
* @vue/runtime-core v3.5.13
|
|
12
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
13
|
+
* @license MIT
|
|
14
|
+
**/function Sr(e,t,n,r){try{return r?e(...r):e()}catch(o){jn(o,t,n)}}function vt(e,t,n,r){if(Y(e)){const o=Sr(e,t,n,r);return o&&fc(o)&&o.catch(i=>{jn(i,t,n)}),o}if(X(e)){const o=[];for(let i=0;i<e.length;i++)o.push(vt(e[i],t,n,r));return o}}function jn(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||de;if(t){let a=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,c)===!1)return}a=a.parent}if(i){Gt(),Sr(i,null,10,[e,l,c]),zt();return}}Ep(e,n,o,r,s)}function Ep(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const Be=[];let ht=-1;const Rn=[];let kt=null,vn=0;const Hc=Promise.resolve();let so=null;function Cr(e){const t=so||Hc;return e?t.then(this?e.bind(this):e):t}function Tp(e){let t=ht+1,n=Be.length;for(;t<n;){const r=t+n>>>1,o=Be[r],i=ur(o);i<e||i===e&&o.flags&2?t=r+1:n=r}return t}function Hs(e){if(!(e.flags&1)){const t=ur(e),n=Be[Be.length-1];!n||!(e.flags&2)&&t>=ur(n)?Be.push(e):Be.splice(Tp(t),0,e),e.flags|=1,Vc()}}function Vc(){so||(so=Hc.then(Bc))}function ji(e){X(e)?Rn.push(...e):kt&&e.id===-1?kt.splice(vn+1,0,e):e.flags&1||(Rn.push(e),e.flags|=1),Vc()}function Sa(e,t,n=ht+1){for(;n<Be.length;n++){const r=Be[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;Be.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function ao(e){if(Rn.length){const t=[...new Set(Rn)].sort((n,r)=>ur(n)-ur(r));if(Rn.length=0,kt){kt.push(...t);return}for(kt=t,vn=0;vn<kt.length;vn++){const n=kt[vn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}kt=null,vn=0}}const ur=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Bc(e){try{for(ht=0;ht<Be.length;ht++){const t=Be[ht];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Sr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;ht<Be.length;ht++){const t=Be[ht];t&&(t.flags&=-2)}ht=-1,Be.length=0,ao(),so=null,(Be.length||Rn.length)&&Bc()}}let Pe=null,Fo=null;function lo(e){const t=Pe;return Pe=e,Fo=e&&e.type.__scopeId||null,t}function Sp(e){Fo=e}function Cp(){Fo=null}const Pp=e=>se;function se(e,t=Pe,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Ha(-1);const i=lo(t);let s;try{s=e(...o)}finally{lo(i),r._d&&Ha(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function Ap(e,t){if(Pe===null)return e;const n=qo(Pe),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,s,a,l=de]=t[o];i&&(Y(i)&&(i={mounted:i,updated:i}),i.deep&&Pt(s),r.push({dir:i,instance:n,value:s,oldValue:void 0,arg:a,modifiers:l}))}return e}function mt(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let s=0;s<o.length;s++){const a=o[s];i&&(a.oldValue=i[s].value);let l=a.dir[r];l&&(Gt(),vt(l,n,8,[e.el,a,e,t]),zt())}}const Rp=Symbol("_vte"),xp=e=>e.__isTeleport;function Vs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Vs(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function We(e,t){return Y(e)?Oe({name:e.name},t,{setup:e}):e}function Bs(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function fr(e,t,n,r,o=!1){if(X(e)){e.forEach((h,_)=>fr(h,t&&(X(t)?t[_]:t),n,r,o));return}if(ln(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&fr(e,t,n,r.component.subTree);return}const i=r.shapeFlag&4?qo(r.component):r.el,s=o?null:i,{i:a,r:l}=e,c=t&&t.r,u=a.refs===de?a.refs={}:a.refs,f=a.setupState,p=ae(f),d=f===de?()=>!1:h=>le(p,h);if(c!=null&&c!==l&&(ye(c)?(u[c]=null,d(c)&&(f[c]=null)):Se(c)&&(c.value=null)),Y(l))Sr(l,a,12,[s,u]);else{const h=ye(l),_=Se(l);if(h||_){const v=()=>{if(e.f){const y=h?d(l)?f[l]:u[l]:l.value;o?X(y)&&Rs(y,i):X(y)?y.includes(i)||y.push(i):h?(u[l]=[i],d(l)&&(f[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else h?(u[l]=s,d(l)&&(f[l]=s)):_&&(l.value=s,e.k&&(u[e.k]=s))};s?(v.id=-1,Je(v,n)):v()}}}let Ca=!1;const yn=()=>{Ca||(console.error("Hydration completed but contains mismatches."),Ca=!0)},Lp=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Op=e=>e.namespaceURI.includes("MathML"),Nr=e=>{if(e.nodeType===1){if(Lp(e))return"svg";if(Op(e))return"mathml"}},En=e=>e.nodeType===8;function kp(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:a,insert:l,createComment:c}}=e,u=(m,w)=>{if(!w.hasChildNodes()){n(null,m,w),ao(),w._vnode=m;return}f(w.firstChild,m,null,null,null),ao(),w._vnode=m},f=(m,w,S,P,I,j=!1)=>{j=j||!!w.dynamicChildren;const B=En(m)&&m.data==="[",k=()=>_(m,w,S,P,I,B),{type:G,ref:K,shapeFlag:ee,patchFlag:Q}=w;let ie=m.nodeType;w.el=m,Q===-2&&(j=!1,w.dynamicChildren=null);let M=null;switch(G){case fn:ie!==3?w.children===""?(l(w.el=o(""),s(m),m),M=m):M=k():(m.data!==w.children&&(yn(),m.data=w.children),M=i(m));break;case ut:E(m)?(M=i(m),y(w.el=m.content.firstChild,m,S)):ie!==8||B?M=k():M=i(m);break;case er:if(B&&(m=i(m),ie=m.nodeType),ie===1||ie===3){M=m;const z=!w.children.length;for(let V=0;V<w.staticCount;V++)z&&(w.children+=M.nodeType===1?M.outerHTML:M.data),V===w.staticCount-1&&(w.anchor=M),M=i(M);return B?i(M):M}else k();break;case xe:B?M=h(m,w,S,P,I,j):M=k();break;default:if(ee&1)(ie!==1||w.type.toLowerCase()!==m.tagName.toLowerCase())&&!E(m)?M=k():M=p(m,w,S,P,I,j);else if(ee&6){w.slotScopeIds=I;const z=s(m);if(B?M=v(m):En(m)&&m.data==="teleport start"?M=v(m,m.data,"teleport end"):M=i(m),t(w,z,null,S,P,Nr(z),j),ln(w)&&!w.type.__asyncResolved){let V;B?(V=W(xe),V.anchor=M?M.previousSibling:z.lastChild):V=m.nodeType===3?we(""):W("div"),V.el=m,w.component.subTree=V}}else ee&64?ie!==8?M=k():M=w.type.hydrate(m,w,S,P,I,j,e,d):ee&128&&(M=w.type.hydrate(m,w,S,P,Nr(s(m)),I,j,e,f))}return K!=null&&fr(K,null,P,w),M},p=(m,w,S,P,I,j)=>{j=j||!!w.dynamicChildren;const{type:B,props:k,patchFlag:G,shapeFlag:K,dirs:ee,transition:Q}=w,ie=B==="input"||B==="option";if(ie||G!==-1){ee&&mt(w,null,S,"created");let M=!1;if(E(m)){M=du(null,Q)&&S&&S.vnode.props&&S.vnode.props.appear;const V=m.content.firstChild;M&&Q.beforeEnter(V),y(V,m,S),w.el=m=V}if(K&16&&!(k&&(k.innerHTML||k.textContent))){let V=d(m.firstChild,w,m,S,P,I,j);for(;V;){$r(m,1)||yn();const he=V;V=V.nextSibling,a(he)}}else if(K&8){let V=w.children;V[0]===`
|
|
15
|
+
`&&(m.tagName==="PRE"||m.tagName==="TEXTAREA")&&(V=V.slice(1)),m.textContent!==V&&($r(m,0)||yn(),m.textContent=w.children)}if(k){if(ie||!j||G&48){const V=m.tagName.includes("-");for(const he in k)(ie&&(he.endsWith("value")||he==="indeterminate")||Er(he)&&!An(he)||he[0]==="."||V)&&r(m,he,null,k[he],void 0,S)}else if(k.onClick)r(m,"onClick",null,k.onClick,void 0,S);else if(G&4&&an(k.style))for(const V in k.style)k.style[V]}let z;(z=k&&k.onVnodeBeforeMount)&&Qe(z,S,w),ee&&mt(w,null,S,"beforeMount"),((z=k&&k.onVnodeMounted)||ee||M)&&bu(()=>{z&&Qe(z,S,w),M&&Q.enter(m),ee&&mt(w,null,S,"mounted")},P)}return m.nextSibling},d=(m,w,S,P,I,j,B)=>{B=B||!!w.dynamicChildren;const k=w.children,G=k.length;for(let K=0;K<G;K++){const ee=B?k[K]:k[K]=Xe(k[K]),Q=ee.type===fn;m?(Q&&!B&&K+1<G&&Xe(k[K+1]).type===fn&&(l(o(m.data.slice(ee.children.length)),S,i(m)),m.data=ee.children),m=f(m,ee,P,I,j,B)):Q&&!ee.children?l(ee.el=o(""),S):($r(S,1)||yn(),n(null,ee,S,null,P,I,Nr(S),j))}return m},h=(m,w,S,P,I,j)=>{const{slotScopeIds:B}=w;B&&(I=I?I.concat(B):B);const k=s(m),G=d(i(m),w,k,S,P,I,j);return G&&En(G)&&G.data==="]"?i(w.anchor=G):(yn(),l(w.anchor=c("]"),k,G),G)},_=(m,w,S,P,I,j)=>{if($r(m.parentElement,1)||yn(),w.el=null,j){const G=v(m);for(;;){const K=i(m);if(K&&K!==G)a(K);else break}}const B=i(m),k=s(m);return a(m),n(null,w,k,B,S,P,Nr(k),I),S&&(S.vnode.el=w.el,Go(S,w.el)),B},v=(m,w="[",S="]")=>{let P=0;for(;m;)if(m=i(m),m&&En(m)&&(m.data===w&&P++,m.data===S)){if(P===0)return i(m);P--}return m},y=(m,w,S)=>{const P=w.parentNode;P&&P.replaceChild(m,w);let I=S;for(;I;)I.vnode.el===w&&(I.vnode.el=I.subTree.el=m),I=I.parent},E=m=>m.nodeType===1&&m.tagName==="TEMPLATE";return[u,f]}const Pa="data-allow-mismatch",Ip={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function $r(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Pa);)e=e.parentElement;const n=e&&e.getAttribute(Pa);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(Ip[t])}}Bo().requestIdleCallback;Bo().cancelIdleCallback;function Dp(e,t){if(En(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(En(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const ln=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Aa(e){Y(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:i,timeout:s,suspensible:a=!0,onError:l}=e;let c=null,u,f=0;const p=()=>(f++,c=null,d()),d=()=>{let h;return c||(h=c=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),l)return new Promise((v,y)=>{l(_,()=>v(p()),()=>y(_),f+1)});throw _}).then(_=>h!==c&&c?c:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),u=_,_)))};return We({name:"AsyncComponentWrapper",__asyncLoader:d,__asyncHydrate(h,_,v){const y=i?()=>{const E=i(v,m=>Dp(h,m));E&&(_.bum||(_.bum=[])).push(E)}:v;u?y():d().then(()=>!_.isUnmounted&&y())},get __asyncResolved(){return u},setup(){const h=Ce;if(Bs(h),u)return()=>mi(u,h);const _=m=>{c=null,jn(m,h,13,!r)};if(a&&h.suspense||Mn)return d().then(m=>()=>mi(m,h)).catch(m=>(_(m),()=>r?W(r,{error:m}):null));const v=fe(!1),y=fe(),E=fe(!!o);return o&&setTimeout(()=>{E.value=!1},o),s!=null&&setTimeout(()=>{if(!v.value&&!y.value){const m=new Error(`Async component timed out after ${s}ms.`);_(m),y.value=m}},s),d().then(()=>{v.value=!0,h.parent&&js(h.parent.vnode)&&h.parent.update()}).catch(m=>{_(m),y.value=m}),()=>{if(v.value&&u)return mi(u,h);if(y.value&&r)return W(r,{error:y.value});if(n&&!E.value)return W(n)}}})}function mi(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=W(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const js=e=>e.type.__isKeepAlive;function jc(e,t){Uc(e,"a",t)}function Fc(e,t){Uc(e,"da",t)}function Uc(e,t,n=Ce){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Uo(t,r,n),n){let o=n.parent;for(;o&&o.parent;)js(o.parent.vnode)&&Np(r,t,n,o),o=o.parent}}function Np(e,t,n,r){const o=Uo(t,e,r,!0);Us(()=>{Rs(r[t],o)},n)}function Uo(e,t,n=Ce,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{Gt();const a=Ar(n),l=vt(t,n,e,s);return a(),zt(),l});return r?o.unshift(i):o.push(i),i}}const xt=e=>(t,n=Ce)=>{(!Mn||e==="sp")&&Uo(e,(...r)=>t(...r),n)},Wc=xt("bm"),Gc=xt("m"),$p=xt("bu"),Mp=xt("u"),Fs=xt("bum"),Us=xt("um"),Hp=xt("sp"),Vp=xt("rtg"),Bp=xt("rtc");function zc(e,t=Ce){Uo("ec",e,t)}const qc="components";function Ft(e,t){return Xc(qc,e,!0,t)||e}const Kc=Symbol.for("v-ndc");function Jc(e){return ye(e)?Xc(qc,e,!1)||e:e||Kc}function Xc(e,t,n=!0,r=!1){const o=Pe||Ce;if(o){const i=o.type;{const a=xh(i,!1);if(a&&(a===t||a===tt(t)||a===Vo(tt(t))))return i}const s=Ra(o[e]||i[e],t)||Ra(o.appContext[e],t);return!s&&r?i:s}}function Ra(e,t){return e&&(e[t]||e[tt(t)]||e[Vo(tt(t))])}function xa(e,t,n,r){let o;const i=n,s=X(e);if(s||ye(e)){const a=s&&an(e);let l=!1;a&&(l=!et(e),e=jo(e)),o=new Array(e.length);for(let c=0,u=e.length;c<u;c++)o[c]=t(l?Ne(e[c]):e[c],c,void 0,i)}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,i)}else if(pe(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,i));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];o[l]=t(e[u],u,l,i)}}else o=[];return o}function $e(e,t,n={},r,o){if(Pe.ce||Pe.parent&&ln(Pe.parent)&&Pe.parent.ce)return t!=="default"&&(n.name=t),J(),Le(xe,null,[W("slot",n,r&&r())],64);let i=e[t];i&&i._c&&(i._d=!1),J();const s=i&&Yc(i(n)),a=n.key||s&&s.key,l=Le(xe,{key:(a&&!ct(a)?a:`_${t}`)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),i&&i._c&&(i._d=!0),l}function Yc(e){return e.some(t=>Nn(t)?!(t.type===ut||t.type===xe&&!Yc(t.children)):!0)?e:null}const Fi=e=>e?Su(e)?qo(e):Fi(e.parent):null,Zn=Oe(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=>Fi(e.parent),$root:e=>Fi(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Ws(e),$forceUpdate:e=>e.f||(e.f=()=>{Hs(e.update)}),$nextTick:e=>e.n||(e.n=Cr.bind(e.proxy)),$watch:e=>sh.bind(e)}),gi=(e,t)=>e!==de&&!e.__isScriptSetup&&le(e,t),jp={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const d=s[t];if(d!==void 0)switch(d){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(gi(r,t))return s[t]=1,r[t];if(o!==de&&le(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&le(c,t))return s[t]=3,i[t];if(n!==de&&le(n,t))return s[t]=4,n[t];Ui&&(s[t]=0)}}const u=Zn[t];let f,p;if(u)return t==="$attrs"&&De(e.attrs,"get",""),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==de&&le(n,t))return s[t]=4,n[t];if(p=l.config.globalProperties,le(p,t))return p[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return gi(o,t)?(o[t]=n,!0):r!==de&&le(r,t)?(r[t]=n,!0):le(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},s){let a;return!!n[s]||e!==de&&le(e,s)||gi(t,s)||(a=i[0])&&le(a,s)||le(r,s)||le(Zn,s)||le(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:le(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function La(e){return X(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ui=!0;function Fp(e){const t=Ws(e),n=e.proxy,r=e.ctx;Ui=!1,t.beforeCreate&&Oa(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:p,beforeUpdate:d,updated:h,activated:_,deactivated:v,beforeDestroy:y,beforeUnmount:E,destroyed:m,unmounted:w,render:S,renderTracked:P,renderTriggered:I,errorCaptured:j,serverPrefetch:B,expose:k,inheritAttrs:G,components:K,directives:ee,filters:Q}=t;if(c&&Up(c,r,null),s)for(const z in s){const V=s[z];Y(V)&&(r[z]=V.bind(n))}if(o){const z=o.call(n,n);pe(z)&&(e.data=Bt(z))}if(Ui=!0,i)for(const z in i){const V=i[z],he=Y(V)?V.bind(n,n):Y(V.get)?V.get.bind(n,n):gt,mn=!Y(V)&&Y(V.set)?V.set.bind(n):gt,Kt=Ve({get:he,set:mn});Object.defineProperty(r,z,{enumerable:!0,configurable:!0,get:()=>Kt.value,set:ft=>Kt.value=ft})}if(a)for(const z in a)Qc(a[z],r,n,z);if(l){const z=Y(l)?l.call(n):l;Reflect.ownKeys(z).forEach(V=>{eu(V,z[V])})}u&&Oa(u,e,"c");function M(z,V){X(V)?V.forEach(he=>z(he.bind(n))):V&&z(V.bind(n))}if(M(Wc,f),M(Gc,p),M($p,d),M(Mp,h),M(jc,_),M(Fc,v),M(zc,j),M(Bp,P),M(Vp,I),M(Fs,E),M(Us,w),M(Hp,B),X(k))if(k.length){const z=e.exposed||(e.exposed={});k.forEach(V=>{Object.defineProperty(z,V,{get:()=>n[V],set:he=>n[V]=he})})}else e.exposed||(e.exposed={});S&&e.render===gt&&(e.render=S),G!=null&&(e.inheritAttrs=G),K&&(e.components=K),ee&&(e.directives=ee),B&&Bs(e)}function Up(e,t,n=gt){X(e)&&(e=Wi(e));for(const r in e){const o=e[r];let i;pe(o)?"default"in o?i=xn(o.from||r,o.default,!0):i=xn(o.from||r):i=xn(o),Se(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[r]=i}}function Oa(e,t,n){vt(X(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Qc(e,t,n,r){let o=r.includes(".")?gu(n,r):()=>n[r];if(ye(e)){const i=t[e];Y(i)&&un(o,i)}else if(Y(e))un(o,e.bind(n));else if(pe(e))if(X(e))e.forEach(i=>Qc(i,t,n,r));else{const i=Y(e.handler)?e.handler.bind(n):t[e.handler];Y(i)&&un(o,i,e)}}function Ws(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>co(l,c,s,!0)),co(l,t,s)),pe(t)&&i.set(t,l),l}function co(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&co(e,i,n,!0),o&&o.forEach(s=>co(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const a=Wp[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const Wp={data:ka,props:Ia,emits:Ia,methods:Jn,computed:Jn,beforeCreate:Me,created:Me,beforeMount:Me,mounted:Me,beforeUpdate:Me,updated:Me,beforeDestroy:Me,beforeUnmount:Me,destroyed:Me,unmounted:Me,activated:Me,deactivated:Me,errorCaptured:Me,serverPrefetch:Me,components:Jn,directives:Jn,watch:zp,provide:ka,inject:Gp};function ka(e,t){return t?e?function(){return Oe(Y(e)?e.call(this,this):e,Y(t)?t.call(this,this):t)}:t:e}function Gp(e,t){return Jn(Wi(e),Wi(t))}function Wi(e){if(X(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Me(e,t){return e?[...new Set([].concat(e,t))]:t}function Jn(e,t){return e?Oe(Object.create(null),e,t):t}function Ia(e,t){return e?X(e)&&X(t)?[...new Set([...e,...t])]:Oe(Object.create(null),La(e),La(t??{})):t}function zp(e,t){if(!e)return t;if(!t)return e;const n=Oe(Object.create(null),e);for(const r in t)n[r]=Me(e[r],t[r]);return n}function Zc(){return{app:null,config:{isNativeTag:kd,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 qp=0;function Kp(e,t){return function(r,o=null){Y(r)||(r=Oe({},r)),o!=null&&!pe(o)&&(o=null);const i=Zc(),s=new WeakSet,a=[];let l=!1;const c=i.app={_uid:qp++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:Pu,get config(){return i.config},set config(u){},use(u,...f){return s.has(u)||(u&&Y(u.install)?(s.add(u),u.install(c,...f)):Y(u)&&(s.add(u),u(c,...f))),c},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),c},component(u,f){return f?(i.components[u]=f,c):i.components[u]},directive(u,f){return f?(i.directives[u]=f,c):i.directives[u]},mount(u,f,p){if(!l){const d=c._ceVNode||W(r,o);return d.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),f&&t?t(d,u):e(d,u,p),l=!0,c._container=u,u.__vue_app__=c,qo(d.component)}},onUnmount(u){a.push(u)},unmount(){l&&(vt(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return i.provides[u]=f,c},runWithContext(u){const f=cn;cn=c;try{return u()}finally{cn=f}}};return c}}let cn=null;function eu(e,t){if(Ce){let n=Ce.provides;const r=Ce.parent&&Ce.parent.provides;r===n&&(n=Ce.provides=Object.create(r)),n[e]=t}}function xn(e,t,n=!1){const r=Ce||Pe;if(r||cn){const o=cn?cn._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Y(t)?t.call(r&&r.proxy):t}}function tu(){return!!(Ce||Pe||cn)}const nu={},ru=()=>Object.create(nu),ou=e=>Object.getPrototypeOf(e)===nu;function Jp(e,t,n,r=!1){const o={},i=ru();e.propsDefaults=Object.create(null),iu(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:wn(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function Xp(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,a=ae(o),[l]=e.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let p=u[f];if(Wo(e.emitsOptions,p))continue;const d=t[p];if(l)if(le(i,p))d!==i[p]&&(i[p]=d,c=!0);else{const h=tt(p);o[h]=Gi(l,a,h,d,e,!1)}else d!==i[p]&&(i[p]=d,c=!0)}}}else{iu(e,t,o,i)&&(c=!0);let u;for(const f in a)(!t||!le(t,f)&&((u=Wt(f))===f||!le(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=Gi(l,a,f,void 0,e,!0)):delete o[f]);if(i!==a)for(const f in i)(!t||!le(t,f))&&(delete i[f],c=!0)}c&&Ct(e.attrs,"set","")}function iu(e,t,n,r){const[o,i]=e.propsOptions;let s=!1,a;if(t)for(let l in t){if(An(l))continue;const c=t[l];let u;o&&le(o,u=tt(l))?!i||!i.includes(u)?n[u]=c:(a||(a={}))[u]=c:Wo(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,s=!0)}if(i){const l=ae(n),c=a||de;for(let u=0;u<i.length;u++){const f=i[u];n[f]=Gi(o,l,f,c[f],e,!le(c,f))}}return s}function Gi(e,t,n,r,o,i){const s=e[n];if(s!=null){const a=le(s,"default");if(a&&r===void 0){const l=s.default;if(s.type!==Function&&!s.skipFactory&&Y(l)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=Ar(o);r=c[n]=l.call(null,t),u()}}else r=l;o.ce&&o.ce._setProp(n,r)}s[0]&&(i&&!a?r=!1:s[1]&&(r===""||r===Wt(n))&&(r=!0))}return r}const Yp=new WeakMap;function su(e,t,n=!1){const r=n?Yp:t.propsCache,o=r.get(e);if(o)return o;const i=e.props,s={},a=[];let l=!1;if(!Y(e)){const u=f=>{l=!0;const[p,d]=su(f,t,!0);Oe(s,p),d&&a.push(...d)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return pe(e)&&r.set(e,Cn),Cn;if(X(i))for(let u=0;u<i.length;u++){const f=tt(i[u]);Da(f)&&(s[f]=de)}else if(i)for(const u in i){const f=tt(u);if(Da(f)){const p=i[u],d=s[f]=X(p)||Y(p)?{type:p}:Oe({},p),h=d.type;let _=!1,v=!0;if(X(h))for(let y=0;y<h.length;++y){const E=h[y],m=Y(E)&&E.name;if(m==="Boolean"){_=!0;break}else m==="String"&&(v=!1)}else _=Y(h)&&h.name==="Boolean";d[0]=_,d[1]=v,(_||le(d,"default"))&&a.push(f)}}const c=[s,a];return pe(e)&&r.set(e,c),c}function Da(e){return e[0]!=="$"&&!An(e)}const au=e=>e[0]==="_"||e==="$stable",Gs=e=>X(e)?e.map(Xe):[Xe(e)],Qp=(e,t,n)=>{if(t._n)return t;const r=se((...o)=>Gs(t(...o)),n);return r._c=!1,r},lu=(e,t,n)=>{const r=e._ctx;for(const o in e){if(au(o))continue;const i=e[o];if(Y(i))t[o]=Qp(o,i,r);else if(i!=null){const s=Gs(i);t[o]=()=>s}}},cu=(e,t)=>{const n=Gs(t);e.slots.default=()=>n},uu=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Zp=(e,t,n)=>{const r=e.slots=ru();if(e.vnode.shapeFlag&32){const o=t._;o?(uu(r,t,n),n&&hc(r,"_",o,!0)):lu(t,r)}else t&&cu(e,t)},eh=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=de;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:uu(o,t,n):(i=!t.$stable,lu(t,o)),s=t}else t&&(cu(e,t),s={default:1});if(i)for(const a in o)!au(a)&&s[a]==null&&delete o[a]},Je=bu;function th(e){return fu(e)}function nh(e){return fu(e,kp)}function fu(e,t){const n=Bo();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:p,setScopeId:d=gt,insertStaticContent:h}=e,_=(b,T,C,x=null,A=null,R=null,$=void 0,N=null,D=!!T.dynamicChildren)=>{if(b===T)return;b&&!Nt(b,T)&&(x=Or(b),ft(b,A,R,!0),b=null),T.patchFlag===-2&&(D=!1,T.dynamicChildren=null);const{type:L,ref:q,shapeFlag:H}=T;switch(L){case fn:v(b,T,C,x);break;case ut:y(b,T,C,x);break;case er:b==null&&E(T,C,x,$);break;case xe:K(b,T,C,x,A,R,$,N,D);break;default:H&1?S(b,T,C,x,A,R,$,N,D):H&6?ee(b,T,C,x,A,R,$,N,D):(H&64||H&128)&&L.process(b,T,C,x,A,R,$,N,D,gn)}q!=null&&A&&fr(q,b&&b.ref,R,T||b,!T)},v=(b,T,C,x)=>{if(b==null)r(T.el=a(T.children),C,x);else{const A=T.el=b.el;T.children!==b.children&&c(A,T.children)}},y=(b,T,C,x)=>{b==null?r(T.el=l(T.children||""),C,x):T.el=b.el},E=(b,T,C,x)=>{[b.el,b.anchor]=h(b.children,T,C,x,b.el,b.anchor)},m=({el:b,anchor:T},C,x)=>{let A;for(;b&&b!==T;)A=p(b),r(b,C,x),b=A;r(T,C,x)},w=({el:b,anchor:T})=>{let C;for(;b&&b!==T;)C=p(b),o(b),b=C;o(T)},S=(b,T,C,x,A,R,$,N,D)=>{T.type==="svg"?$="svg":T.type==="math"&&($="mathml"),b==null?P(T,C,x,A,R,$,N,D):B(b,T,A,R,$,N,D)},P=(b,T,C,x,A,R,$,N)=>{let D,L;const{props:q,shapeFlag:H,transition:U,dirs:Z}=b;if(D=b.el=s(b.type,R,q&&q.is,q),H&8?u(D,b.children):H&16&&j(b.children,D,null,x,A,_i(b,R),$,N),Z&&mt(b,null,x,"created"),I(D,b,b.scopeId,$,x),q){for(const me in q)me!=="value"&&!An(me)&&i(D,me,null,q[me],R,x);"value"in q&&i(D,"value",null,q.value,R),(L=q.onVnodeBeforeMount)&&Qe(L,x,b)}Z&&mt(b,null,x,"beforeMount");const re=du(A,U);re&&U.beforeEnter(D),r(D,T,C),((L=q&&q.onVnodeMounted)||re||Z)&&Je(()=>{L&&Qe(L,x,b),re&&U.enter(D),Z&&mt(b,null,x,"mounted")},A)},I=(b,T,C,x,A)=>{if(C&&d(b,C),x)for(let R=0;R<x.length;R++)d(b,x[R]);if(A){let R=A.subTree;if(T===R||yu(R.type)&&(R.ssContent===T||R.ssFallback===T)){const $=A.vnode;I(b,$,$.scopeId,$.slotScopeIds,A.parent)}}},j=(b,T,C,x,A,R,$,N,D=0)=>{for(let L=D;L<b.length;L++){const q=b[L]=N?It(b[L]):Xe(b[L]);_(null,q,T,C,x,A,R,$,N)}},B=(b,T,C,x,A,R,$)=>{const N=T.el=b.el;let{patchFlag:D,dynamicChildren:L,dirs:q}=T;D|=b.patchFlag&16;const H=b.props||de,U=T.props||de;let Z;if(C&&Jt(C,!1),(Z=U.onVnodeBeforeUpdate)&&Qe(Z,C,T,b),q&&mt(T,b,C,"beforeUpdate"),C&&Jt(C,!0),(H.innerHTML&&U.innerHTML==null||H.textContent&&U.textContent==null)&&u(N,""),L?k(b.dynamicChildren,L,N,C,x,_i(T,A),R):$||V(b,T,N,null,C,x,_i(T,A),R,!1),D>0){if(D&16)G(N,H,U,C,A);else if(D&2&&H.class!==U.class&&i(N,"class",null,U.class,A),D&4&&i(N,"style",H.style,U.style,A),D&8){const re=T.dynamicProps;for(let me=0;me<re.length;me++){const ce=re[me],Ge=H[ce],ke=U[ce];(ke!==Ge||ce==="value")&&i(N,ce,Ge,ke,A,C)}}D&1&&b.children!==T.children&&u(N,T.children)}else!$&&L==null&&G(N,H,U,C,A);((Z=U.onVnodeUpdated)||q)&&Je(()=>{Z&&Qe(Z,C,T,b),q&&mt(T,b,C,"updated")},x)},k=(b,T,C,x,A,R,$)=>{for(let N=0;N<T.length;N++){const D=b[N],L=T[N],q=D.el&&(D.type===xe||!Nt(D,L)||D.shapeFlag&70)?f(D.el):C;_(D,L,q,null,x,A,R,$,!0)}},G=(b,T,C,x,A)=>{if(T!==C){if(T!==de)for(const R in T)!An(R)&&!(R in C)&&i(b,R,T[R],null,A,x);for(const R in C){if(An(R))continue;const $=C[R],N=T[R];$!==N&&R!=="value"&&i(b,R,N,$,A,x)}"value"in C&&i(b,"value",T.value,C.value,A)}},K=(b,T,C,x,A,R,$,N,D)=>{const L=T.el=b?b.el:a(""),q=T.anchor=b?b.anchor:a("");let{patchFlag:H,dynamicChildren:U,slotScopeIds:Z}=T;Z&&(N=N?N.concat(Z):Z),b==null?(r(L,C,x),r(q,C,x),j(T.children||[],C,q,A,R,$,N,D)):H>0&&H&64&&U&&b.dynamicChildren?(k(b.dynamicChildren,U,C,A,R,$,N),(T.key!=null||A&&T===A.subTree)&&pu(b,T,!0)):V(b,T,C,q,A,R,$,N,D)},ee=(b,T,C,x,A,R,$,N,D)=>{T.slotScopeIds=N,b==null?T.shapeFlag&512?A.ctx.activate(T,C,x,$,D):Q(T,C,x,A,R,$,D):ie(b,T,D)},Q=(b,T,C,x,A,R,$)=>{const N=b.component=Sh(b,x,A);if(js(b)&&(N.ctx.renderer=gn),Ch(N,!1,$),N.asyncDep){if(A&&A.registerDep(N,M,$),!b.el){const D=N.subTree=W(ut);y(null,D,T,C)}}else M(N,b,T,C,A,R,$)},ie=(b,T,C)=>{const x=T.component=b.component;if(dh(b,T,C))if(x.asyncDep&&!x.asyncResolved){z(x,T,C);return}else x.next=T,x.update();else T.el=b.el,x.vnode=T},M=(b,T,C,x,A,R,$)=>{const N=()=>{if(b.isMounted){let{next:H,bu:U,u:Z,parent:re,vnode:me}=b;{const ze=hu(b);if(ze){H&&(H.el=me.el,z(b,H,$)),ze.asyncDep.then(()=>{b.isUnmounted||N()});return}}let ce=H,Ge;Jt(b,!1),H?(H.el=me.el,z(b,H,$)):H=me,U&&qr(U),(Ge=H.props&&H.props.onVnodeBeforeUpdate)&&Qe(Ge,re,H,me),Jt(b,!0);const ke=yi(b),rt=b.subTree;b.subTree=ke,_(rt,ke,f(rt.el),Or(rt),b,A,R),H.el=ke.el,ce===null&&Go(b,ke.el),Z&&Je(Z,A),(Ge=H.props&&H.props.onVnodeUpdated)&&Je(()=>Qe(Ge,re,H,me),A)}else{let H;const{el:U,props:Z}=T,{bm:re,m:me,parent:ce,root:Ge,type:ke}=b,rt=ln(T);if(Jt(b,!1),re&&qr(re),!rt&&(H=Z&&Z.onVnodeBeforeMount)&&Qe(H,ce,T),Jt(b,!0),U&&ci){const ze=()=>{b.subTree=yi(b),ci(U,b.subTree,b,A,null)};rt&&ke.__asyncHydrate?ke.__asyncHydrate(U,b,ze):ze()}else{Ge.ce&&Ge.ce._injectChildStyle(ke);const ze=b.subTree=yi(b);_(null,ze,C,x,b,A,R),T.el=ze.el}if(me&&Je(me,A),!rt&&(H=Z&&Z.onVnodeMounted)){const ze=T;Je(()=>Qe(H,ce,ze),A)}(T.shapeFlag&256||ce&&ln(ce.vnode)&&ce.vnode.shapeFlag&256)&&b.a&&Je(b.a,A),b.isMounted=!0,T=C=x=null}};b.scope.on();const D=b.effect=new bc(N);b.scope.off();const L=b.update=D.run.bind(D),q=b.job=D.runIfDirty.bind(D);q.i=b,q.id=b.uid,D.scheduler=()=>Hs(q),Jt(b,!0),L()},z=(b,T,C)=>{T.component=b;const x=b.vnode.props;b.vnode=T,b.next=null,Xp(b,T.props,x,C),eh(b,T.children,C),Gt(),Sa(b),zt()},V=(b,T,C,x,A,R,$,N,D=!1)=>{const L=b&&b.children,q=b?b.shapeFlag:0,H=T.children,{patchFlag:U,shapeFlag:Z}=T;if(U>0){if(U&128){mn(L,H,C,x,A,R,$,N,D);return}else if(U&256){he(L,H,C,x,A,R,$,N,D);return}}Z&8?(q&16&&Wn(L,A,R),H!==L&&u(C,H)):q&16?Z&16?mn(L,H,C,x,A,R,$,N,D):Wn(L,A,R,!0):(q&8&&u(C,""),Z&16&&j(H,C,x,A,R,$,N,D))},he=(b,T,C,x,A,R,$,N,D)=>{b=b||Cn,T=T||Cn;const L=b.length,q=T.length,H=Math.min(L,q);let U;for(U=0;U<H;U++){const Z=T[U]=D?It(T[U]):Xe(T[U]);_(b[U],Z,C,null,A,R,$,N,D)}L>q?Wn(b,A,R,!0,!1,H):j(T,C,x,A,R,$,N,D,H)},mn=(b,T,C,x,A,R,$,N,D)=>{let L=0;const q=T.length;let H=b.length-1,U=q-1;for(;L<=H&&L<=U;){const Z=b[L],re=T[L]=D?It(T[L]):Xe(T[L]);if(Nt(Z,re))_(Z,re,C,null,A,R,$,N,D);else break;L++}for(;L<=H&&L<=U;){const Z=b[H],re=T[U]=D?It(T[U]):Xe(T[U]);if(Nt(Z,re))_(Z,re,C,null,A,R,$,N,D);else break;H--,U--}if(L>H){if(L<=U){const Z=U+1,re=Z<q?T[Z].el:x;for(;L<=U;)_(null,T[L]=D?It(T[L]):Xe(T[L]),C,re,A,R,$,N,D),L++}}else if(L>U)for(;L<=H;)ft(b[L],A,R,!0),L++;else{const Z=L,re=L,me=new Map;for(L=re;L<=U;L++){const qe=T[L]=D?It(T[L]):Xe(T[L]);qe.key!=null&&me.set(qe.key,L)}let ce,Ge=0;const ke=U-re+1;let rt=!1,ze=0;const Gn=new Array(ke);for(L=0;L<ke;L++)Gn[L]=0;for(L=Z;L<=H;L++){const qe=b[L];if(Ge>=ke){ft(qe,A,R,!0);continue}let dt;if(qe.key!=null)dt=me.get(qe.key);else for(ce=re;ce<=U;ce++)if(Gn[ce-re]===0&&Nt(qe,T[ce])){dt=ce;break}dt===void 0?ft(qe,A,R,!0):(Gn[dt-re]=L+1,dt>=ze?ze=dt:rt=!0,_(qe,T[dt],C,null,A,R,$,N,D),Ge++)}const _a=rt?rh(Gn):Cn;for(ce=_a.length-1,L=ke-1;L>=0;L--){const qe=re+L,dt=T[qe],ya=qe+1<q?T[qe+1].el:x;Gn[L]===0?_(null,dt,C,ya,A,R,$,N,D):rt&&(ce<0||L!==_a[ce]?Kt(dt,C,ya,2):ce--)}}},Kt=(b,T,C,x,A=null)=>{const{el:R,type:$,transition:N,children:D,shapeFlag:L}=b;if(L&6){Kt(b.component.subTree,T,C,x);return}if(L&128){b.suspense.move(T,C,x);return}if(L&64){$.move(b,T,C,gn);return}if($===xe){r(R,T,C);for(let H=0;H<D.length;H++)Kt(D[H],T,C,x);r(b.anchor,T,C);return}if($===er){m(b,T,C);return}if(x!==2&&L&1&&N)if(x===0)N.beforeEnter(R),r(R,T,C),Je(()=>N.enter(R),A);else{const{leave:H,delayLeave:U,afterLeave:Z}=N,re=()=>r(R,T,C),me=()=>{H(R,()=>{re(),Z&&Z()})};U?U(R,re,me):me()}else r(R,T,C)},ft=(b,T,C,x=!1,A=!1)=>{const{type:R,props:$,ref:N,children:D,dynamicChildren:L,shapeFlag:q,patchFlag:H,dirs:U,cacheIndex:Z}=b;if(H===-2&&(A=!1),N!=null&&fr(N,null,C,b,!0),Z!=null&&(T.renderCache[Z]=void 0),q&256){T.ctx.deactivate(b);return}const re=q&1&&U,me=!ln(b);let ce;if(me&&(ce=$&&$.onVnodeBeforeUnmount)&&Qe(ce,T,b),q&6)xd(b.component,C,x);else{if(q&128){b.suspense.unmount(C,x);return}re&&mt(b,null,T,"beforeUnmount"),q&64?b.type.remove(b,T,C,gn,x):L&&!L.hasOnce&&(R!==xe||H>0&&H&64)?Wn(L,T,C,!1,!0):(R===xe&&H&384||!A&&q&16)&&Wn(D,T,C),x&&ma(b)}(me&&(ce=$&&$.onVnodeUnmounted)||re)&&Je(()=>{ce&&Qe(ce,T,b),re&&mt(b,null,T,"unmounted")},C)},ma=b=>{const{type:T,el:C,anchor:x,transition:A}=b;if(T===xe){Rd(C,x);return}if(T===er){w(b);return}const R=()=>{o(C),A&&!A.persisted&&A.afterLeave&&A.afterLeave()};if(b.shapeFlag&1&&A&&!A.persisted){const{leave:$,delayLeave:N}=A,D=()=>$(C,R);N?N(b.el,R,D):D()}else R()},Rd=(b,T)=>{let C;for(;b!==T;)C=p(b),o(b),b=C;o(T)},xd=(b,T,C)=>{const{bum:x,scope:A,job:R,subTree:$,um:N,m:D,a:L}=b;Na(D),Na(L),x&&qr(x),A.stop(),R&&(R.flags|=8,ft($,b,T,C)),N&&Je(N,T),Je(()=>{b.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},Wn=(b,T,C,x=!1,A=!1,R=0)=>{for(let $=R;$<b.length;$++)ft(b[$],T,C,x,A)},Or=b=>{if(b.shapeFlag&6)return Or(b.component.subTree);if(b.shapeFlag&128)return b.suspense.next();const T=p(b.anchor||b.el),C=T&&T[Rp];return C?p(C):T};let ai=!1;const ga=(b,T,C)=>{b==null?T._vnode&&ft(T._vnode,null,null,!0):_(T._vnode||null,b,T,null,null,null,C),T._vnode=b,ai||(ai=!0,Sa(),ao(),ai=!1)},gn={p:_,um:ft,m:Kt,r:ma,mt:Q,mc:j,pc:V,pbc:k,n:Or,o:e};let li,ci;return t&&([li,ci]=t(gn)),{render:ga,hydrate:li,createApp:Kp(ga,li)}}function _i({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 Jt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function du(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function pu(e,t,n=!1){const r=e.children,o=t.children;if(X(r)&&X(o))for(let i=0;i<r.length;i++){const s=r[i];let a=o[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[i]=It(o[i]),a.el=s.el),!n&&a.patchFlag!==-2&&pu(s,a)),a.type===fn&&(a.el=s.el)}}function rh(e){const t=e.slice(),n=[0];let r,o,i,s,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(i=0,s=n.length-1;i<s;)a=i+s>>1,e[n[a]]<c?i=a+1:s=a;c<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function hu(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:hu(t)}function Na(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const oh=Symbol.for("v-scx"),ih=()=>xn(oh);function mu(e,t){return zs(e,null,t)}function un(e,t,n){return zs(e,t,n)}function zs(e,t,n=de){const{immediate:r,deep:o,flush:i,once:s}=n,a=Oe({},n),l=t&&r||!t&&i!=="post";let c;if(Mn){if(i==="sync"){const d=ih();c=d.__watcherHandles||(d.__watcherHandles=[])}else if(!l){const d=()=>{};return d.stop=gt,d.resume=gt,d.pause=gt,d}}const u=Ce;a.call=(d,h,_)=>vt(d,u,h,_);let f=!1;i==="post"?a.scheduler=d=>{Je(d,u&&u.suspense)}:i!=="sync"&&(f=!0,a.scheduler=(d,h)=>{h?d():Hs(d)}),a.augmentJob=d=>{t&&(d.flags|=4),f&&(d.flags|=2,u&&(d.id=u.uid,d.i=u))};const p=wp(e,t,a);return Mn&&(c?c.push(p):l&&p()),p}function sh(e,t,n){const r=this.proxy,o=ye(e)?e.includes(".")?gu(r,e):()=>r[e]:e.bind(r,r);let i;Y(t)?i=t:(i=t.handler,n=t);const s=Ar(this),a=zs(o,i.bind(r),n);return s(),a}function gu(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}const ah=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${tt(t)}Modifiers`]||e[`${Wt(t)}Modifiers`];function lh(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||de;let o=n;const i=t.startsWith("update:"),s=i&&ah(r,t.slice(7));s&&(s.trim&&(o=n.map(u=>ye(u)?u.trim():u)),s.number&&(o=n.map(Md)));let a,l=r[a=ui(t)]||r[a=ui(tt(t))];!l&&i&&(l=r[a=ui(Wt(t))]),l&&vt(l,e,6,o);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,vt(c,e,6,o)}}function _u(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let s={},a=!1;if(!Y(e)){const l=c=>{const u=_u(c,t,!0);u&&(a=!0,Oe(s,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(pe(e)&&r.set(e,null),null):(X(i)?i.forEach(l=>s[l]=null):Oe(s,i),pe(e)&&r.set(e,s),s)}function Wo(e,t){return!e||!Er(t)?!1:(t=t.slice(2).replace(/Once$/,""),le(e,t[0].toLowerCase()+t.slice(1))||le(e,Wt(t))||le(e,t))}function yi(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:s,attrs:a,emit:l,render:c,renderCache:u,props:f,data:p,setupState:d,ctx:h,inheritAttrs:_}=e,v=lo(e);let y,E;try{if(n.shapeFlag&4){const w=o||r,S=w;y=Xe(c.call(S,w,u,f,d,p,h)),E=a}else{const w=t;y=Xe(w.length>1?w(f,{attrs:a,slots:s,emit:l}):w(f,null)),E=t.props?a:uh(a)}}catch(w){tr.length=0,jn(w,e,1),y=W(ut)}let m=y;if(E&&_!==!1){const w=Object.keys(E),{shapeFlag:S}=m;w.length&&S&7&&(i&&w.some(As)&&(E=fh(E,i)),m=$n(m,E,!1,!0))}return n.dirs&&(m=$n(m,null,!1,!0),m.dirs=m.dirs?m.dirs.concat(n.dirs):n.dirs),n.transition&&Vs(m,n.transition),y=m,lo(v),y}function ch(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(Nn(o)){if(o.type!==ut||o.children==="v-if"){if(n)return;n=o}}else return}return n}const uh=e=>{let t;for(const n in e)(n==="class"||n==="style"||Er(n))&&((t||(t={}))[n]=e[n]);return t},fh=(e,t)=>{const n={};for(const r in e)(!As(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function dh(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?$a(r,s,c):!!s;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const p=u[f];if(s[p]!==r[p]&&!Wo(c,p))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===s?!1:r?s?$a(r,s,c):!0:!!s;return!1}function $a(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const i=r[o];if(t[i]!==e[i]&&!Wo(n,i))return!0}return!1}function Go({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 yu=e=>e.__isSuspense;let zi=0;const ph={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,a,l,c){if(e==null)mh(t,n,r,o,i,s,a,l,c);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}gh(e,t,n,r,o,s,a,l,c)}},hydrate:_h,normalize:yh},hh=ph;function dr(e,t){const n=e.props&&e.props[t];Y(n)&&n()}function mh(e,t,n,r,o,i,s,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),p=e.suspense=vu(e,o,r,t,f,n,i,s,a,l);c(null,p.pendingBranch=e.ssContent,f,null,r,p,i,s),p.deps>0?(dr(e,"onPending"),dr(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,i,s),Ln(p,e.ssFallback)):p.resolve(!1,!0)}function gh(e,t,n,r,o,i,s,a,{p:l,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const p=t.ssContent,d=t.ssFallback,{activeBranch:h,pendingBranch:_,isInFallback:v,isHydrating:y}=f;if(_)f.pendingBranch=p,Nt(p,_)?(l(_,p,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():v&&(y||(l(h,d,n,r,o,null,i,s,a),Ln(f,d)))):(f.pendingId=zi++,y?(f.isHydrating=!1,f.activeBranch=_):c(_,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),v?(l(null,p,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():(l(h,d,n,r,o,null,i,s,a),Ln(f,d))):h&&Nt(p,h)?(l(h,p,n,r,o,f,i,s,a),f.resolve(!0)):(l(null,p,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0&&f.resolve()));else if(h&&Nt(p,h))l(h,p,n,r,o,f,i,s,a),Ln(f,p);else if(dr(t,"onPending"),f.pendingBranch=p,p.shapeFlag&512?f.pendingId=p.component.suspenseId:f.pendingId=zi++,l(null,p,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0)f.resolve();else{const{timeout:E,pendingId:m}=f;E>0?setTimeout(()=>{f.pendingId===m&&f.fallback(d)},E):E===0&&f.fallback(d)}}function vu(e,t,n,r,o,i,s,a,l,c,u=!1){const{p:f,m:p,um:d,n:h,o:{parentNode:_,remove:v}}=c;let y;const E=vh(e);E&&t&&t.pendingBranch&&(y=t.pendingId,t.deps++);const m=e.props?Hd(e.props.timeout):void 0,w=i,S={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:zi++,timeout:typeof m=="number"?m:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(P=!1,I=!1){const{vnode:j,activeBranch:B,pendingBranch:k,pendingId:G,effects:K,parentComponent:ee,container:Q}=S;let ie=!1;S.isHydrating?S.isHydrating=!1:P||(ie=B&&k.transition&&k.transition.mode==="out-in",ie&&(B.transition.afterLeave=()=>{G===S.pendingId&&(p(k,Q,i===w?h(B):i,0),ji(K))}),B&&(_(B.el)===Q&&(i=h(B)),d(B,ee,S,!0)),ie||p(k,Q,i,0)),Ln(S,k),S.pendingBranch=null,S.isInFallback=!1;let M=S.parent,z=!1;for(;M;){if(M.pendingBranch){M.effects.push(...K),z=!0;break}M=M.parent}!z&&!ie&&ji(K),S.effects=[],E&&t&&t.pendingBranch&&y===t.pendingId&&(t.deps--,t.deps===0&&!I&&t.resolve()),dr(j,"onResolve")},fallback(P){if(!S.pendingBranch)return;const{vnode:I,activeBranch:j,parentComponent:B,container:k,namespace:G}=S;dr(I,"onFallback");const K=h(j),ee=()=>{S.isInFallback&&(f(null,P,k,K,B,null,G,a,l),Ln(S,P))},Q=P.transition&&P.transition.mode==="out-in";Q&&(j.transition.afterLeave=ee),S.isInFallback=!0,d(j,B,null,!0),Q||ee()},move(P,I,j){S.activeBranch&&p(S.activeBranch,P,I,j),S.container=P},next(){return S.activeBranch&&h(S.activeBranch)},registerDep(P,I,j){const B=!!S.pendingBranch;B&&S.deps++;const k=P.vnode.el;P.asyncDep.catch(G=>{jn(G,P,0)}).then(G=>{if(P.isUnmounted||S.isUnmounted||S.pendingId!==P.suspenseId)return;P.asyncResolved=!0;const{vnode:K}=P;Ki(P,G,!1),k&&(K.el=k);const ee=!k&&P.subTree.el;I(P,K,_(k||P.subTree.el),k?null:h(P.subTree),S,s,j),ee&&v(ee),Go(P,K.el),B&&--S.deps===0&&S.resolve()})},unmount(P,I){S.isUnmounted=!0,S.activeBranch&&d(S.activeBranch,n,P,I),S.pendingBranch&&d(S.pendingBranch,n,P,I)}};return S}function _h(e,t,n,r,o,i,s,a,l){const c=t.suspense=vu(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,i,s);return c.deps===0&&c.resolve(!1,!0),u}function yh(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Ma(r?n.default:n),e.ssFallback=r?Ma(n.fallback):W(ut)}function Ma(e){let t;if(Y(e)){const n=Dn&&e._c;n&&(e._d=!1,J()),e=e(),n&&(e._d=!0,t=Ue,wu())}return X(e)&&(e=ch(e)),e=Xe(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function bu(e,t){t&&t.pendingBranch?X(e)?t.effects.push(...e):t.effects.push(e):ji(e)}function Ln(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,Go(r,o))}function vh(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const xe=Symbol.for("v-fgt"),fn=Symbol.for("v-txt"),ut=Symbol.for("v-cmt"),er=Symbol.for("v-stc"),tr=[];let Ue=null;function J(e=!1){tr.push(Ue=e?null:[])}function wu(){tr.pop(),Ue=tr[tr.length-1]||null}let Dn=1;function Ha(e,t=!1){Dn+=e,e<0&&Ue&&t&&(Ue.hasOnce=!0)}function Eu(e){return e.dynamicChildren=Dn>0?Ue||Cn:null,wu(),Dn>0&&Ue&&Ue.push(e),e}function ue(e,t,n,r,o,i){return Eu(F(e,t,n,r,o,i,!0))}function Le(e,t,n,r,o){return Eu(W(e,t,n,r,o,!0))}function Nn(e){return e?e.__v_isVNode===!0:!1}function Nt(e,t){return e.type===t.type&&e.key===t.key}const Tu=({key:e})=>e??null,Kr=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ye(e)||Se(e)||Y(e)?{i:Pe,r:e,k:t,f:!!n}:e:null);function F(e,t=null,n=null,r=0,o=null,i=e===xe?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Tu(t),ref:t&&Kr(t),scopeId:Fo,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:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Pe};return a?(Ks(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=ye(n)?8:16),Dn>0&&!s&&Ue&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Ue.push(l),l}const W=bh;function bh(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===Kc)&&(e=ut),Nn(e)){const a=$n(e,t,!0);return n&&Ks(a,n),Dn>0&&!i&&Ue&&(a.shapeFlag&6?Ue[Ue.indexOf(e)]=a:Ue.push(a)),a.patchFlag=-2,a}if(Lh(e)&&(e=e.__vccOpts),t){t=qs(t);let{class:a,style:l}=t;a&&!ye(a)&&(t.class=Te(a)),pe(l)&&(Ms(l)&&!X(l)&&(l=Oe({},l)),t.style=on(l))}const s=ye(e)?1:yu(e)?128:xp(e)?64:pe(e)?4:Y(e)?2:0;return F(e,t,n,r,o,s,i,!0)}function qs(e){return e?Ms(e)||ou(e)?Oe({},e):e:null}function $n(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:s,children:a,transition:l}=e,c=t?Pr(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Tu(c),ref:t&&t.ref?n&&i?X(i)?i.concat(Kr(t)):[i,Kr(t)]:Kr(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xe?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&$n(e.ssContent),ssFallback:e.ssFallback&&$n(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Vs(u,l.clone(u)),u}function we(e=" ",t=0){return W(fn,null,e,t)}function wh(e,t){const n=W(er,null,e);return n.staticCount=t,n}function it(e="",t=!1){return t?(J(),Le(ut,null,e)):W(ut,null,e)}function Xe(e){return e==null||typeof e=="boolean"?W(ut):X(e)?W(xe,null,e.slice()):Nn(e)?It(e):W(fn,null,String(e))}function It(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:$n(e)}function Ks(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(X(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Ks(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!ou(t)?t._ctx=Pe:o===3&&Pe&&(Pe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Y(t)?(t={default:t,_ctx:Pe},n=32):(t=String(t),r&64?(n=16,t=[we(t)]):n=8);e.children=t,e.shapeFlag|=n}function Pr(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Te([t.class,r.class]));else if(o==="style")t.style=on([t.style,r.style]);else if(Er(o)){const i=t[o],s=r[o];s&&i!==s&&!(X(i)&&i.includes(s))&&(t[o]=i?[].concat(i,s):s)}else o!==""&&(t[o]=r[o])}return t}function Qe(e,t,n,r=null){vt(e,t,7,[n,r])}const Eh=Zc();let Th=0;function Sh(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Eh,i={uid:Th++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new vc(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:su(r,o),emitsOptions:_u(r,o),emit:null,emitted:null,propsDefaults:de,inheritAttrs:r.inheritAttrs,ctx:de,data:de,props:de,attrs:de,slots:de,refs:de,setupState:de,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 i.ctx={_:i},i.root=t?t.root:i,i.emit=lh.bind(null,i),e.ce&&e.ce(i),i}let Ce=null;const zo=()=>Ce||Pe;let uo,qi;{const e=Bo(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};uo=t("__VUE_INSTANCE_SETTERS__",n=>Ce=n),qi=t("__VUE_SSR_SETTERS__",n=>Mn=n)}const Ar=e=>{const t=Ce;return uo(e),e.scope.on(),()=>{e.scope.off(),uo(t)}},Va=()=>{Ce&&Ce.scope.off(),uo(null)};function Su(e){return e.vnode.shapeFlag&4}let Mn=!1;function Ch(e,t=!1,n=!1){t&&qi(t);const{props:r,children:o}=e.vnode,i=Su(e);Jp(e,r,i,t),Zp(e,o,n);const s=i?Ph(e,t):void 0;return t&&qi(!1),s}function Ph(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,jp);const{setup:r}=n;if(r){Gt();const o=e.setupContext=r.length>1?Rh(e):null,i=Ar(e),s=Sr(r,e,0,[e.props,o]),a=fc(s);if(zt(),i(),(a||e.sp)&&!ln(e)&&Bs(e),a){if(s.then(Va,Va),t)return s.then(l=>{Ki(e,l,t)}).catch(l=>{jn(l,e,0)});e.asyncDep=s}else Ki(e,s,t)}else Cu(e,t)}function Ki(e,t,n){Y(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pe(t)&&(e.setupState=$c(t)),Cu(e,n)}let Ba;function Cu(e,t,n){const r=e.type;if(!e.render){if(!t&&Ba&&!r.render){const o=r.template||Ws(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=Oe(Oe({isCustomElement:i,delimiters:a},s),l);r.render=Ba(o,c)}}e.render=r.render||gt}{const o=Ar(e);Gt();try{Fp(e)}finally{zt(),o()}}}const Ah={get(e,t){return De(e,"get",""),e[t]}};function Rh(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Ah),slots:e.slots,emit:e.emit,expose:t}}function qo(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy($c(dp(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}function xh(e,t=!0){return Y(e)?e.displayName||e.name:e.name||t&&e.__name}function Lh(e){return Y(e)&&"__vccOpts"in e}const Ve=(e,t)=>vp(e,t,Mn);function fo(e,t,n){const r=arguments.length;return r===2?pe(t)&&!X(t)?Nn(t)?W(e,null,[t]):W(e,t):W(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Nn(n)&&(n=[n]),W(e,t,n))}const Pu="3.5.13";/**
|
|
16
|
+
* @vue/runtime-dom v3.5.13
|
|
17
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
18
|
+
* @license MIT
|
|
19
|
+
**/let Ji;const ja=typeof window<"u"&&window.trustedTypes;if(ja)try{Ji=ja.createPolicy("vue",{createHTML:e=>e})}catch{}const Au=Ji?e=>Ji.createHTML(e):e=>e,Oh="http://www.w3.org/2000/svg",kh="http://www.w3.org/1998/Math/MathML",St=typeof document<"u"?document:null,Fa=St&&St.createElement("template"),Ih={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 o=t==="svg"?St.createElementNS(Oh,e):t==="mathml"?St.createElementNS(kh,e):n?St.createElement(e,{is:n}):St.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>St.createTextNode(e),createComment:e=>St.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>St.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{Fa.innerHTML=Au(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Fa.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Dh=Symbol("_vtc");function Nh(e,t,n){const r=e[Dh];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ua=Symbol("_vod"),$h=Symbol("_vsh"),Mh=Symbol(""),Hh=/(^|;)\s*display\s*:/;function Vh(e,t,n){const r=e.style,o=ye(n);let i=!1;if(n&&!o){if(t)if(ye(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();n[a]==null&&Jr(r,a,"")}else for(const s in t)n[s]==null&&Jr(r,s,"");for(const s in n)s==="display"&&(i=!0),Jr(r,s,n[s])}else if(o){if(t!==n){const s=r[Mh];s&&(n+=";"+s),r.cssText=n,i=Hh.test(n)}}else t&&e.removeAttribute("style");Ua in e&&(e[Ua]=i?r.display:"",e[$h]&&(r.display="none"))}const Wa=/\s*!important$/;function Jr(e,t,n){if(X(n))n.forEach(r=>Jr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Bh(e,t);Wa.test(n)?e.setProperty(Wt(r),n.replace(Wa,""),"important"):e[r]=n}}const Ga=["Webkit","Moz","ms"],vi={};function Bh(e,t){const n=vi[t];if(n)return n;let r=tt(t);if(r!=="filter"&&r in e)return vi[t]=r;r=Vo(r);for(let o=0;o<Ga.length;o++){const i=Ga[o]+r;if(i in e)return vi[t]=i}return t}const za="http://www.w3.org/1999/xlink";function qa(e,t,n,r,o,i=Wd(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(za,t.slice(6,t.length)):e.setAttributeNS(za,t,n):n==null||i&&!gc(n)?e.removeAttribute(t):e.setAttribute(t,i?"":ct(n)?String(n):n)}function Ka(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Au(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const a=i==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let s=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=gc(n):n==null&&a==="string"?(n="",s=!0):a==="number"&&(n=0,s=!0)}try{e[t]=n}catch{}s&&e.removeAttribute(o||t)}function Ru(e,t,n,r){e.addEventListener(t,n,r)}function jh(e,t,n,r){e.removeEventListener(t,n,r)}const Ja=Symbol("_vei");function Fh(e,t,n,r,o=null){const i=e[Ja]||(e[Ja]={}),s=i[t];if(r&&s)s.value=r;else{const[a,l]=Uh(t);if(r){const c=i[t]=zh(r,o);Ru(e,a,c,l)}else s&&(jh(e,a,s,l),i[t]=void 0)}}const Xa=/(?:Once|Passive|Capture)$/;function Uh(e){let t;if(Xa.test(e)){t={};let r;for(;r=e.match(Xa);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Wt(e.slice(2)),t]}let bi=0;const Wh=Promise.resolve(),Gh=()=>bi||(Wh.then(()=>bi=0),bi=Date.now());function zh(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;vt(qh(r,n.value),t,5,[r])};return n.value=e,n.attached=Gh(),n}function qh(e,t){if(X(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Ya=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Kh=(e,t,n,r,o,i)=>{const s=o==="svg";t==="class"?Nh(e,r,s):t==="style"?Vh(e,n,r):Er(t)?As(t)||Fh(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Jh(e,t,r,s))?(Ka(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&qa(e,t,r,s,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!ye(r))?Ka(e,tt(t),r,i,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),qa(e,t,r,s))};function Jh(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ya(t)&&Y(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 o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Ya(t)&&ye(n)?!1:t in e}const Qa=e=>{const t=e.props["onUpdate:modelValue"]||!1;return X(t)?n=>qr(t,n):t},wi=Symbol("_assign"),Xh={created(e,{value:t},n){e.checked=no(t,n.props.value),e[wi]=Qa(n),Ru(e,"change",()=>{e[wi](Yh(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[wi]=Qa(r),t!==n&&(e.checked=no(t,r.props.value))}};function Yh(e){return"_value"in e?e._value:e.value}const Qh={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Zh=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const i=Wt(o.key);if(t.some(s=>s===i||Qh[s]===i))return e(o)})},xu=Oe({patchProp:Kh},Ih);let nr,Za=!1;function em(){return nr||(nr=th(xu))}function tm(){return nr=Za?nr:nh(xu),Za=!0,nr}const Lu=(...e)=>{const t=em().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=ku(r);if(!o)return;const i=t._component;!Y(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const s=n(o,!1,Ou(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},nm=(...e)=>{const t=tm().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=ku(r);if(o)return n(o,!0,Ou(o))},t};function Ou(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ku(e){return ye(e)?document.querySelector(e):e}const rm=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,om=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,im=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function sm(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){am(e);return}return t}function am(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function po(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!im.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(rm.test(e)||om.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,sm)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const lm=/#/g,cm=/&/g,um=/\//g,fm=/=/g,Js=/\+/g,dm=/%5e/gi,pm=/%60/gi,hm=/%7c/gi,mm=/%20/gi;function gm(e){return encodeURI(""+e).replace(hm,"|")}function Xi(e){return gm(typeof e=="string"?e:JSON.stringify(e)).replace(Js,"%2B").replace(mm,"+").replace(lm,"%23").replace(cm,"%26").replace(pm,"`").replace(dm,"^").replace(um,"%2F")}function Ei(e){return Xi(e).replace(fm,"%3D")}function ho(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function _m(e){return ho(e.replace(Js," "))}function ym(e){return ho(e.replace(Js," "))}function Xs(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=_m(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=ym(r[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function vm(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Ei(e)}=${Xi(n)}`).join("&"):`${Ei(e)}=${Xi(t)}`:Ei(e)}function Iu(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>vm(t,e[t])).filter(Boolean).join("&")}const bm=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,wm=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Em=/^([/\\]\s*){2,}[^/\\]/,Tm=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Sm=/\/$|\/\?|\/#/,Cm=/^\.?\//;function qt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?bm.test(e):wm.test(e)||(t.acceptRelative?Em.test(e):!1)}function Pm(e){return!!e&&Tm.test(e)}function Yi(e="",t){return t?Sm.test(e):e.endsWith("/")}function Ko(e="",t){if(!t)return(Yi(e)?e.slice(0,-1):e)||"/";if(!Yi(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),r=e.slice(o));const[i,...s]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function mo(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Yi(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(o>=0&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[i,...s]=n.split("?");return i+"/"+(s.length>0?`?${s.join("?")}`:"")+r}function Am(e=""){return e.startsWith("/")}function el(e=""){return Am(e)?e:"/"+e}function Du(e,t){if($u(t)||qt(e))return e;const n=Ko(t);return e.startsWith(n)?e:Rr(n,e)}function Rm(e,t){if($u(t))return e;const n=Ko(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Nu(e,t){const n=Om(e),r={...Xs(n.search),...t};return n.search=Iu(r),Vu(n)}function $u(e){return!e||e==="/"}function xm(e){return e&&e!=="/"}function Rr(e,...t){let n=e||"";for(const r of t.filter(o=>xm(o)))if(n){const o=r.replace(Cm,"");n=mo(n)+o}else n=r;return n}function Mu(...e){var s,a,l,c;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const u of n)if(!(!u||u==="/")){for(const[f,p]of u.split(t).entries())if(!(!p||p===".")){if(p===".."){if(r.length===1&&qt(r[0]))continue;r.pop(),o--;continue}if(f===1&&((s=r[r.length-1])!=null&&s.endsWith(":/"))){r[r.length-1]+="/"+p;continue}r.push(p),o++}}let i=r.join("/");return o>=0?(a=n[0])!=null&&a.startsWith("/")&&!i.startsWith("/")?i="/"+i:(l=n[0])!=null&&l.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*o)+i,(c=n[n.length-1])!=null&&c.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function Lm(e,t,n={}){return n.trailingSlash||(e=mo(e),t=mo(t)),n.leadingSlash||(e=el(e),t=el(t)),n.encoding||(e=ho(e),t=ho(t)),e===t}const Hu=Symbol.for("ufo:protocolRelative");function Om(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,p=""]=n;return{protocol:f.toLowerCase(),pathname:p,href:f+p,auth:"",host:"",search:"",hash:""}}if(!qt(e,{acceptRelative:!0}))return tl(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,s="",a=""]=i.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:u}=tl(a);return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:l,search:c,hash:u,[Hu]:!r}}function tl(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Vu(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[Hu]?(e.protocol||"")+"//":"")+o+i+t+n+r}class km extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function Im(e){var l,c,u,f,p;const t=((l=e.error)==null?void 0:l.message)||((c=e.error)==null?void 0:c.toString())||"",n=((u=e.request)==null?void 0:u.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((p=e.request)==null?void 0:p.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",s=`${o}: ${i}${t?` ${t}`:""}`,a=new km(s,e.error?{cause:e.error}:void 0);for(const d of["request","options","response"])Object.defineProperty(a,d,{get(){return e[d]}});for(const[d,h]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,d,{get(){return e.response&&e.response[h]}});return a}const Dm=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function nl(e="GET"){return Dm.has(e.toUpperCase())}function Nm(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const $m=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Mm=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Hm(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Mm.test(t)?"json":$m.has(t)||t.startsWith("text/")?"text":"blob"}function Vm(e,t,n,r){const o=Bm((t==null?void 0:t.headers)??(e==null?void 0:e.headers),n==null?void 0:n.headers,r);let i;return(n!=null&&n.query||n!=null&&n.params||t!=null&&t.params||t!=null&&t.query)&&(i={...n==null?void 0:n.params,...n==null?void 0:n.query,...t==null?void 0:t.params,...t==null?void 0:t.query}),{...n,...t,query:i,params:i,headers:o}}function Bm(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[o,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(o,i);return r}async function Mr(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const jm=new Set([408,409,425,429,500,502,503,504]),Fm=new Set([101,204,205,304]);function Bu(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let u;typeof a.options.retry=="number"?u=a.options.retry:u=nl(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):jm.has(f))){const p=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return p>0&&await new Promise(d=>setTimeout(d,p)),i(a.request,{...a.options,retry:u-1})}}const c=Im(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(l,c={}){const u={request:l,options:Vm(l,c,e.defaults,n),response:void 0,error:void 0};u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&await Mr(u,u.options.onRequest),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Du(u.request,u.options.baseURL)),u.options.query&&(u.request=Nu(u.request,u.options.query),delete u.options.query),"query"in u.options&&delete u.options.query,"params"in u.options&&delete u.options.params),u.options.body&&nl(u.options.method)&&(Nm(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let f;if(!u.options.signal&&u.options.timeout){const d=new r;f=setTimeout(()=>{const h=new Error("[TimeoutError]: The operation was aborted due to timeout");h.name="TimeoutError",h.code=23,d.abort(h)},u.options.timeout),u.options.signal=d.signal}try{u.response=await t(u.request,u.options)}catch(d){return u.error=d,u.options.onRequestError&&await Mr(u,u.options.onRequestError),await o(u)}finally{f&&clearTimeout(f)}if((u.response.body||u.response._bodyInit)&&!Fm.has(u.response.status)&&u.options.method!=="HEAD"){const d=(u.options.parseResponse?"json":u.options.responseType)||Hm(u.response.headers.get("content-type")||"");switch(d){case"json":{const h=await u.response.text(),_=u.options.parseResponse||po;u.response._data=_(h);break}case"stream":{u.response._data=u.response.body||u.response._bodyInit;break}default:u.response._data=await u.response[d]()}}return u.options.onResponse&&await Mr(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await Mr(u,u.options.onResponseError),await o(u)):u.response},s=async function(l,c){return(await i(l,c))._data};return s.raw=i,s.native=(...a)=>t(...a),s.create=(a={},l={})=>Bu({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),s}const go=function(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("unable to locate global object")}(),Um=go.fetch?(...e)=>go.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Wm=go.Headers,Gm=go.AbortController,zm=Bu({fetch:Um,Headers:Wm,AbortController:Gm}),qm=zm,Km=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},_o=Km().app,Jm=()=>_o.baseURL,Xm=()=>_o.buildAssetsDir,Ys=(...e)=>Mu(ju(),Xm(),...e),ju=(...e)=>{const t=_o.cdnURL||_o.baseURL;return e.length?Mu(t,...e):t};globalThis.__buildAssetsURL=Ys,globalThis.__publicAssetsURL=ju;globalThis.$fetch||(globalThis.$fetch=qm.create({baseURL:Jm()}));function Qi(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Qi(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const Ym={run:e=>e()},Qm=()=>Ym,Fu=typeof console.createTask<"u"?console.createTask:Qm;function Zm(e,t){const n=t.shift(),r=Fu(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function eg(e,t){const n=t.shift(),r=Fu(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function Ti(e,t){for(const n of[...e])n(t)}class tg{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...i)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...i));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Qi(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=Qi(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Zm,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(eg,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Ti(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&Ti(this._after,o)}):(this._after&&o&&Ti(this._after,o),i)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Uu(){return new tg}function ng(e={}){let t,n=!1;const r=s=>{if(t&&t!==s)throw new Error("Context conflict")};let o;if(e.asyncContext){const s=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?o=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(o&&t===void 0){const s=o.getStore();if(s!==void 0)return s}return t};return{use:()=>{const s=i();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>i(),set:(s,a)=>{a||r(s),t=s,n=!0},unset:()=>{t=void 0,n=!1},call:(s,a)=>{r(s),t=s;try{return o?o.run(s,a):a()}finally{n||(t=void 0)}},async callAsync(s,a){t=s;const l=()=>{t=s},c=()=>t===s?l:void 0;Zi.add(c);try{const u=o?o.run(s,a):a();return n||(t=void 0),await u}finally{Zi.delete(c)}}}}function rg(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=ng({...e,...r})),t[n]}}}const yo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},rl="__unctx__",og=yo[rl]||(yo[rl]=rg()),ig=(e,t={})=>og.get(e,t),ol="__unctx_async_handlers__",Zi=yo[ol]||(yo[ol]=new Set);function Wu(e){const t=[];for(const o of Zi){const i=o();i&&t.push(i)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const sg={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},Tn={value:null,errorValue:null,deep:!0},ag=null,lg="#__nuxt",Gu="nuxt-app",il=36e5,cg="vite:preloadError";function zu(e=Gu){return ig(e,{asyncContext:!1})}const ug="__nuxt_plugin";function fg(e){var o;let t=0;const n={_id:e.id||Gu||"nuxt-app",_scope:zd(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.14.1592"},get vue(){return n.vueApp.version}},payload:wn({...((o=e.ssrContext)==null?void 0:o.payload)||{},data:wn({}),state:Bt({}),once:new Set,_errors:wn({})}),static:{data:{}},runWithContext(i){return n._scope.active&&!Ls()?n._scope.run(()=>sl(n,i)):sl(n,i)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let i=!1;return()=>{if(!i&&(i=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:wn({}),_payloadRevivers:{},...e};{const i=window.__NUXT__;if(i)for(const s in i)switch(s){case"data":case"state":case"_errors":Object.assign(n.payload[s],i[s]);break;default:n.payload[s]=i[s]}}n.hooks=Uu(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(i,s)=>{const a="$"+i;Hr(n,a,s),Hr(n.vueApp.config.globalProperties,a,s)},Hr(n.vueApp,"$nuxt",n),Hr(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(cg,s=>{n.callHook("app:chunkError",{error:s.payload}),(n.isHydrating||s.payload.message.includes("Unable to preload CSS"))&&s.preventDefault()}),window.useNuxtApp=window.useNuxtApp||ve;const i=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",i)}const r=n.payload.config;return n.provide("config",r),n}function dg(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function pg(e,t){if(typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function hg(e,t){const n=[],r=[],o=[],i=[];let s=0;async function a(l){var u;const c=((u=l.dependsOn)==null?void 0:u.filter(f=>t.some(p=>p._name===f)&&!n.includes(f)))??[];if(c.length>0)r.push([new Set(c),l]);else{const f=pg(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(r.map(async([p,d])=>{p.has(l._name)&&(p.delete(l._name),p.size===0&&(s++,await a(d)))})))});l.parallel?o.push(f.catch(p=>i.push(p))):await f}}for(const l of t)dg(e,l);for(const l of t)await a(l);if(await Promise.all(o),s)for(let l=0;l<s;l++)await Promise.all(o);if(i.length)throw i[0]}function Et(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[ug]:!0,_name:t})}function sl(e,t,n){const r=()=>t();return zu(e._id).set(e),e.vueApp.runWithContext(r)}function mg(e){var n;let t;return tu()&&(t=(n=zo())==null?void 0:n.appContext.app.$nuxt),t=t||zu(e).tryUse(),t||null}function ve(e){const t=mg(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function Hn(e){return ve().$config}function Hr(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function gg(e,t){return{ctx:{table:e},matchAll:n=>Ku(n,e)}}function qu(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,qu(o)])):new Map(Object.entries(e[n]));return t}function _g(e){return gg(qu(e))}function Ku(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,s]of al(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(s);for(const[i,s]of al(t.dynamic))if(e.startsWith(i+"/")){const a="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(...Ku(a,s))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function al(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Si(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function es(e,t,n=".",r){if(!Si(t))return es(e,{},n,r);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(r&&r(o,i,s,n)||(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:Si(s)&&Si(o[i])?o[i]=es(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function yg(e){return(...t)=>t.reduce((n,r)=>es(n,r,"",e),{})}const vg=yg();function bg(e,t){try{return t in e}catch{return!1}}var wg=Object.defineProperty,Eg=(e,t,n)=>t in e?wg(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,en=(e,t,n)=>(Eg(e,typeof t!="symbol"?t+"":t,n),n);class ts extends Error{constructor(t,n={}){super(t,n),en(this,"statusCode",500),en(this,"fatal",!1),en(this,"unhandled",!1),en(this,"statusMessage"),en(this,"data"),en(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:ns(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Ju(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}en(ts,"__h3_error__",!0);function Tg(e){if(typeof e=="string")return new ts(e);if(Sg(e))return e;const t=new ts(e.message??e.statusMessage??"",{cause:e.cause||e});if(bg(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=ns(e.statusCode,t.statusCode):e.status&&(t.statusCode=ns(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Ju(t.statusMessage)!==n&&console.warn("[h3] Please prefer using `message` for longer error messages instead of `statusMessage`. In the future, `statusMessage` will be sanitized by default.")}return e.fatal!==void 0&&(t.fatal=e.fatal),e.unhandled!==void 0&&(t.unhandled=e.unhandled),t}function Sg(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const Cg=/[^\u0009\u0020-\u007E]/g;function Ju(e=""){return e.replace(Cg,"")}function ns(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Xu=Symbol("route"),bt=()=>{var e;return(e=ve())==null?void 0:e.$router},Yu=()=>tu()?xn(Xu,ve()._route):ve()._route;const Pg=()=>{try{if(ve()._processingMiddleware)return!0}catch{return!1}return!1},Qu=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?rs(e):bt().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:c={}}=t.open,u=Object.entries(c).filter(([f,p])=>p!==void 0).map(([f,p])=>`${f.toLowerCase()}=${p}`).join(", ");return open(n,l,u),Promise.resolve()}const r=qt(n,{acceptRelative:!0}),o=(t==null?void 0:t.external)||r;if(o){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&Pm(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const i=Pg();if(!o&&i)return e;const s=bt(),a=ve();return o?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,i?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)};function rs(e){return Nu(e.path||"",e.query||{})+(e.hash||"")}const Zu="__nuxt_error",Qs=()=>Mc(ve().payload,"error"),Ag=e=>{const t=Jo(e);try{const n=ve(),r=Qs();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},Rg=async(e={})=>{const t=ve(),n=Qs();t.callHook("app:error:cleared",e),e.redirect&&await bt().replace(e.redirect),n.value=ag},xg=e=>!!e&&typeof e=="object"&&Zu in e,Jo=e=>{const t=Tg(e);return Object.defineProperty(t,Zu,{value:!0,configurable:!1,writable:!1}),t};function ll(e){const t=Og(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let o=0;o<n.byteLength;o++)r.setUint8(o,t.charCodeAt(o));return n}const Lg="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Og(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let o=0;o<e.length;o++)n<<=6,n|=Lg.indexOf(e[o]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const kg=-1,Ig=-2,Dg=-3,Ng=-4,$g=-5,Mg=-6;function Hg(e,t){return Vg(JSON.parse(e),t)}function Vg(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function o(i,s=!1){if(i===kg)return;if(i===Dg)return NaN;if(i===Ng)return 1/0;if(i===$g)return-1/0;if(i===Mg)return-0;if(s)throw new Error("Invalid input");if(i in r)return r[i];const a=n[i];if(!a||typeof a!="object")r[i]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],c=t==null?void 0:t[l];if(c)return r[i]=c(o(a[1]));switch(l){case"Date":r[i]=new Date(a[1]);break;case"Set":const u=new Set;r[i]=u;for(let d=1;d<a.length;d+=1)u.add(o(a[d]));break;case"Map":const f=new Map;r[i]=f;for(let d=1;d<a.length;d+=2)f.set(o(a[d]),o(a[d+1]));break;case"RegExp":r[i]=new RegExp(a[1],a[2]);break;case"Object":r[i]=Object(a[1]);break;case"BigInt":r[i]=BigInt(a[1]);break;case"null":const p=Object.create(null);r[i]=p;for(let d=1;d<a.length;d+=2)p[a[d]]=o(a[d+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const d=globalThis[l],h=a[1],_=ll(h),v=new d(_);r[i]=v;break}case"ArrayBuffer":{const d=a[1],h=ll(d);r[i]=h;break}default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[i]=l;for(let c=0;c<a.length;c+=1){const u=a[c];u!==Ig&&(l[c]=o(u))}}else{const l={};r[i]=l;for(const c in a){const u=a[c];l[c]=o(u)}}return r[i]}return o(0)}const Bg=new Set(["title","titleTemplate","script","style","noscript"]),Xr=new Set(["base","meta","link","style","script","noscript"]),jg=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),Fg=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),ef=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),Ug=typeof window<"u";function vo(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function os(e){if(e._h)return e._h;if(e._d)return vo(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return vo(t)}function Wg(e,t){return e instanceof Promise?e.then(t):t(e)}function is(e,t,n,r){const o=r||nf(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(o instanceof Promise)return o.then(s=>is(e,t,n,s));const i={tag:e,props:o};for(const s of ef){const a=i.props[s]!==void 0?i.props[s]:n[s];a!==void 0&&((!(s==="innerHTML"||s==="textContent"||s==="children")||Bg.has(i.tag))&&(i[s==="children"?"innerHTML":s]=a),delete i.props[s])}return i.props.body&&(i.tagPosition="bodyClose",delete i.props.body),i.tag==="script"&&typeof i.innerHTML=="object"&&(i.innerHTML=JSON.stringify(i.innerHTML),i.props.type=i.props.type||"application/json"),Array.isArray(i.props.content)?i.props.content.map(s=>({...i,props:{...i.props,content:s}})):i}function Gg(e,t){var r;const n=e==="class"?" ":";";return t&&typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,o])=>o).map(([o,i])=>e==="style"?`${o}:${i}`:o)),(r=String(Array.isArray(t)?t.join(n):t))==null?void 0:r.split(n).filter(o=>!!o.trim()).join(n)}function tf(e,t,n,r){for(let o=r;o<n.length;o+=1){const i=n[o];if(i==="class"||i==="style"){e[i]=Gg(i,e[i]);continue}if(e[i]instanceof Promise)return e[i].then(s=>(e[i]=s,tf(e,t,n,o)));if(!t&&!ef.has(i)){const s=String(e[i]),a=i.startsWith("data-");s==="true"||s===""?e[i]=a?"true":!0:e[i]||(a&&s==="false"?e[i]="false":delete e[i])}}}function nf(e,t=!1){const n=tf(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const zg=10;function rf(e,t,n){for(let r=n;r<t.length;r+=1){const o=t[r];if(o instanceof Promise)return o.then(i=>(t[r]=i,rf(e,t,r)));Array.isArray(o)?e.push(...o):e.push(o)}}function qg(e){const t=[],n=e.resolvedInput;for(const o in n){if(!Object.prototype.hasOwnProperty.call(n,o))continue;const i=n[o];if(!(i===void 0||!jg.has(o))){if(Array.isArray(i)){for(const s of i)t.push(is(o,s,e));continue}t.push(is(o,i,e))}}if(t.length===0)return[];const r=[];return Wg(rf(r,t,0),()=>r.map((o,i)=>(o._e=e._i,e.mode&&(o._m=e.mode),o._p=(e._i<<zg)+i,o)))}const cl=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),ul={base:-10,title:10},fl={critical:-80,high:-10,low:20};function bo(e){const t=e.tagPriority;if(typeof t=="number")return t;let n=100;return e.tag==="meta"?e.props["http-equiv"]==="content-security-policy"?n=-30:e.props.charset?n=-20:e.props.name==="viewport"&&(n=-15):e.tag==="link"&&e.props.rel==="preconnect"?n=20:e.tag in ul&&(n=ul[e.tag]),t&&t in fl?n+fl[t]:n}const Kg=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Jg=["name","property","http-equiv"];function of(e){const{props:t,tag:n}=e;if(Fg.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(t.id)return`${n}:id:${t.id}`;for(const r of Jg)if(t[r]!==void 0)return`${n}:${r}:${t[r]}`;return!1}const Dt="%separator";function Xg(e,t,n=!1){var o;let r;if(t==="s"||t==="pageTitle")r=e.pageTitle;else if(t.includes(".")){const i=t.indexOf(".");r=(o=e[t.substring(0,i)])==null?void 0:o[t.substring(i+1)]}else r=e[t];if(r!==void 0)return n?(r||"").replace(/"/g,'\\"'):r||""}const Yg=new RegExp(`${Dt}(?:\\s*${Dt})*`,"g");function Vr(e,t,n,r=!1){if(typeof e!="string"||!e.includes("%"))return e;let o=e;try{o=decodeURI(e)}catch{}const i=o.match(/%\w+(?:\.\w+)?/g);if(!i)return e;const s=e.includes(Dt);return e=e.replace(/%\w+(?:\.\w+)?/g,a=>{if(a===Dt||!i.includes(a))return a;const l=Xg(t,a.slice(1),r);return l!==void 0?l:a}).trim(),s&&(e.endsWith(Dt)&&(e=e.slice(0,-Dt.length)),e.startsWith(Dt)&&(e=e.slice(Dt.length)),e=e.replace(Yg,n).trim()),e}function dl(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Qg(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{var f;const i=(await e.resolveTags()).map(p=>({tag:p,id:Xr.has(p.tag)?os(p):p.tag,shouldRender:!0}));let s=e._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const p=new Set;for(const d of["body","head"]){const h=(f=n[d])==null?void 0:f.children;for(const _ of h){const v=_.tagName.toLowerCase();if(!Xr.has(v))continue;const y={tag:v,props:await nf(_.getAttributeNames().reduce((S,P)=>({...S,[P]:_.getAttribute(P)}),{})),innerHTML:_.innerHTML},E=of(y);let m=E,w=1;for(;m&&p.has(m);)m=`${E}:${w++}`;m&&(y._d=m,p.add(m)),s.elMap[_.getAttribute("data-hid")||os(y)]=_}}}s.pendingSideEffects={...s.sideEffects},s.sideEffects={};function a(p,d,h){const _=`${p}:${d}`;s.sideEffects[_]=h,delete s.pendingSideEffects[_]}function l({id:p,$el:d,tag:h}){const _=h.tag.endsWith("Attrs");if(s.elMap[p]=d,_||(h.textContent&&h.textContent!==d.textContent&&(d.textContent=h.textContent),h.innerHTML&&h.innerHTML!==d.innerHTML&&(d.innerHTML=h.innerHTML),a(p,"el",()=>{var v;(v=s.elMap[p])==null||v.remove(),delete s.elMap[p]})),h._eventHandlers)for(const v in h._eventHandlers)Object.prototype.hasOwnProperty.call(h._eventHandlers,v)&&d.getAttribute(`data-${v}`)!==""&&((h.tag==="bodyAttrs"?n.defaultView:d).addEventListener(v.substring(2),h._eventHandlers[v].bind(d)),d.setAttribute(`data-${v}`,""));for(const v in h.props){if(!Object.prototype.hasOwnProperty.call(h.props,v))continue;const y=h.props[v],E=`attr:${v}`;if(v==="class"){if(!y)continue;for(const m of y.split(" "))_&&a(p,`${E}:${m}`,()=>d.classList.remove(m)),!d.classList.contains(m)&&d.classList.add(m)}else if(v==="style"){if(!y)continue;for(const m of y.split(";")){const w=m.indexOf(":"),S=m.substring(0,w).trim(),P=m.substring(w+1).trim();a(p,`${E}:${S}`,()=>{d.style.removeProperty(S)}),d.style.setProperty(S,P)}}else d.getAttribute(v)!==y&&d.setAttribute(v,y===!0?"":String(y)),_&&a(p,E,()=>d.removeAttribute(v))}}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const p of i){const{tag:d,shouldRender:h,id:_}=p;if(h){if(d.tag==="title"){n.title=d.textContent;continue}p.$el=p.$el||s.elMap[_],p.$el?l(p):Xr.has(d.tag)&&c.push(p)}}for(const p of c){const d=p.tag.tagPosition||"head";p.$el=n.createElement(p.tag.tag),l(p),u[d]=u[d]||n.createDocumentFragment(),u[d].appendChild(p.$el)}for(const p of i)await e.hooks.callHook("dom:renderTag",p,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const p in s.pendingSideEffects)s.pendingSideEffects[p]();e._dom=s,await e.hooks.callHook("dom:rendered",{renders:i}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function Zg(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(r=>n(()=>Qg(e,t).then(()=>{delete e._domDebouncedUpdatePromise,r()})))}function e_(e){return t=>{var r,o;const n=((o=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":i=>{Zg(i,e)}}}}}const t_=new Set(["templateParams","htmlAttrs","bodyAttrs"]),n_={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const t=of(e);t&&!t.startsWith("meta:og:")&&!t.startsWith("meta:twitter:")&&delete e.key;const n=t||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{const t=Object.create(null);for(const r of e.tags){const o=(r.key?`${r.tag}:${r.key}`:r._d)||os(r),i=t[o];if(i){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&t_.has(r.tag)&&(a="merge"),a==="merge"){const l=i.props;l.style&&r.props.style&&(l.style[l.style.length-1]!==";"&&(l.style+=";"),r.props.style=`${l.style} ${r.props.style}`),l.class&&r.props.class?r.props.class=`${l.class} ${r.props.class}`:l.class&&(r.props.class=l.class),t[o].props={...l,...r.props};continue}else if(r._e===i._e){i._duped=i._duped||[],r._d=`${i._d}:${i._duped.length+1}`,i._duped.push(r);continue}else if(bo(r)>bo(i))continue}if(!(r.innerHTML||r.textContent||Object.keys(r.props).length!==0)&&Xr.has(r.tag)){delete t[o];continue}t[o]=r}const n=[];for(const r in t){const o=t[r],i=o._duped;n.push(o),i&&(delete o._duped,n.push(...i))}e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},r_=new Set(["script","link","bodyAttrs"]),o_=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!r_.has(n.tag))continue;const r=n.props;for(const o in r){if(o[0]!=="o"||o[1]!=="n"||!Object.prototype.hasOwnProperty.call(r,o))continue;const i=r[o];typeof i=="function"&&(e.ssr&&cl.has(o)?r[o]=`this.dataset.${o}fired = true`:delete r[o],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[o]=i)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||vo(n.props.src||n.props.href))}},"dom:renderTag":({$el:t,tag:n})=>{var o,i;const r=t==null?void 0:t.dataset;if(r)for(const s in r){if(!s.endsWith("fired"))continue;const a=s.slice(0,-5);cl.has(a)&&((i=(o=n._eventHandlers)==null?void 0:o[a])==null||i.call(t,new Event(a.substring(2))))}}}}),i_=new Set(["link","style","script","noscript"]),s_={hooks:{"tag:normalise":({tag:e})=>{e.key&&i_.has(e.tag)&&(e.props["data-hid"]=e._h=vo(e.key))}}},a_={mode:"server",hooks:{"tags:beforeResolve":e=>{const t={};let n=!1;for(const r of e.tags)r._m!=="server"||r.tag!=="titleTemplate"&&r.tag!=="templateParams"&&r.tag!=="title"||(t[r.tag]=r.tag==="title"||r.tag==="titleTemplate"?r.textContent:r.props,n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},l_={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:r,offset:o}of Kg){if(!n.tagPriority.startsWith(r))continue;const i=n.tagPriority.substring(r.length),s=(t=e.tags.find(a=>a._d===i))==null?void 0:t._p;if(s!==void 0){n._p=s+o;break}}e.tags.sort((n,r)=>{const o=bo(n),i=bo(r);return o<i?-1:o>i?1:n._p-r._p})}}},c_={meta:"content",link:"href",htmlAttrs:"lang"},u_=["innerHTML","textContent"],f_=e=>({hooks:{"tags:resolve":t=>{var s;const{tags:n}=t;let r;for(let a=0;a<n.length;a+=1)n[a].tag==="templateParams"&&(r=t.tags.splice(a,1)[0].props,a-=1);const o=r||{},i=o.separator||"|";delete o.separator,o.pageTitle=Vr(o.pageTitle||((s=n.find(a=>a.tag==="title"))==null?void 0:s.textContent)||"",o,i);for(const a of n){if(a.processTemplateParams===!1)continue;const l=c_[a.tag];if(l&&typeof a.props[l]=="string")a.props[l]=Vr(a.props[l],o,i);else if(a.processTemplateParams||a.tag==="titleTemplate"||a.tag==="title")for(const c of u_)typeof a[c]=="string"&&(a[c]=Vr(a[c],o,i,a.tag==="script"&&a.props.type.endsWith("json")))}e._templateParams=o,e._separator=i},"tags:afterResolve":({tags:t})=>{let n;for(let r=0;r<t.length;r+=1){const o=t[r];o.tag==="title"&&o.processTemplateParams!==!1&&(n=o)}n!=null&&n.textContent&&(n.textContent=Vr(n.textContent,e._templateParams,e._separator))}}}),d_={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,r;for(let o=0;o<t.length;o+=1){const i=t[o];i.tag==="title"?n=i:i.tag==="titleTemplate"&&(r=i)}if(r&&n){const o=dl(r.textContent,n.textContent);o!==null?n.textContent=o||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(r){const o=dl(r.textContent);o!==null&&(r.textContent=o,r.tag="title",r=void 0)}r&&e.tags.splice(e.tags.indexOf(r),1)}}},p_={hooks:{"tags:afterResolve":e=>{for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&(t.props.type==="application/ld+json"||t.props.type==="application/json")?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let sf;function h_(e={}){const t=m_(e);return t.use(e_()),sf=t}function pl(e,t){return!e||e==="server"&&t||e==="client"&&!t}function m_(e={}){const t=Uu();t.addHooks(e.hooks||{}),e.document=e.document||(Ug?document:void 0);const n=!e.document,r=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let o=0,i=[];const s=[],a={plugins:s,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return i},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!s.some(u=>u.key===c.key))&&(s.push(c),pl(c.mode,n)&&t.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:o++,input:l,...c};return pl(u.mode,n)&&(i.push(u),r()),{dispose(){i=i.filter(f=>f._i!==u._i),r()},patch(f){for(const p of i)p._i===u._i&&(p.input=u.input=f);r()}}},async resolveTags(){const l={tags:[],entries:[...i]};await t.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await qg(c)){const p={tag:f,entry:c,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",p),l.tags.push(p.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[n_,a_,o_,s_,l_,f_,d_,p_,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function g_(){return sf}const __=Pu[0]==="3";function y_(e){return typeof e=="function"?e():ne(e)}function wo(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=y_(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>wo(n));if(typeof t=="object"){const n={};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(r==="titleTemplate"||r[0]==="o"&&r[1]==="n"){n[r]=ne(t[r]);continue}n[r]=wo(t[r])}return n}return t}const v_={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=wo(t.input)}}},af="usehead";function b_(e){return{install(n){__&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(af,e))}}.install}function w_(e={}){e.domDelayFn=e.domDelayFn||(n=>Cr(()=>setTimeout(()=>n(),0)));const t=h_(e);return t.use(v_),t.install=b_(t),t}const ss=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},as="__unhead_injection_handler__";function E_(e){ss[as]=e}function T_(){if(as in ss)return ss[as]();const e=xn(af);return e||g_()}function S_(e,t={}){const n=t.head||T_();if(n)return n.ssr?n.push(e,t):C_(n,e,t)}function C_(e,t,n={}){const r=fe(!1),o=fe({});mu(()=>{o.value=r.value?{}:wo(t)});const i=e.push(o.value,n);return un(o,a=>{i.patch(a)}),zo()&&(Fs(()=>{i.dispose()}),Fc(()=>{r.value=!0}),jc(()=>{r.value=!1})),i}let Yr,Qr;function P_(){return Yr=$fetch(Ys(`builds/meta/${Hn().app.buildId}.json`),{responseType:"json"}),Yr.then(e=>{Qr=_g(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),Yr}function Xo(){return Yr||P_()}async function Zs(e){if(await Xo(),!Qr)return console.error("[nuxt] Error creating app manifest matcher.",Qr),{};try{return vg({},...Qr.matchAll(e).reverse())}catch(t){return console.error("[nuxt] Error matching route rules.",t),{}}}async function hl(e,t={}){const n=await R_(e,t),r=ve(),o=r._payloadCache=r._payloadCache||{};return n in o?o[n]||null:(o[n]=cf(e).then(i=>i?lf(n).then(s=>s||(delete o[n],null)):(o[n]=null,null)),o[n])}const A_="_payload.json";async function R_(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||qt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=Hn(),o=t.hash||(t.fresh?Date.now():r.app.buildId),i=r.app.cdnURL,s=i&&await cf(e)?i:r.app.baseURL;return Rr(s,n.pathname,A_+(o?`?${o}`:""))}async function lf(e){const t=fetch(e).then(n=>n.text().then(uf));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function cf(e=Yu().path){if(e=Ko(e),(await Xo()).prerendered.includes(e))return!0;const n=await Zs(e);return!!n.prerender&&!n.redirect}let Xt=null;async function x_(){var r;if(Xt)return Xt;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await uf(e.textContent||""),n=e.dataset.src?await lf(e.dataset.src):void 0;return Xt={...t,...n,...window.__NUXT__},(r=Xt.config)!=null&&r.public&&(Xt.config.public=Bt(Xt.config.public)),Xt}async function uf(e){return await Hg(e,ve()._payloadRevivers)}function L_(e,t){ve()._payloadRevivers[e]=t}const O_=[["NuxtError",e=>Jo(e)],["EmptyShallowRef",e=>oo(e==="_"?void 0:e==="0n"?BigInt(0):po(e))],["EmptyRef",e=>fe(e==="_"?void 0:e==="0n"?BigInt(0):po(e))],["ShallowRef",e=>oo(e)],["ShallowReactive",e=>wn(e)],["Ref",e=>fe(e)],["Reactive",e=>Bt(e)]],k_=Et({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const[r,o]of O_)L_(r,o);Object.assign(e.payload,([t,n]=Wu(()=>e.runWithContext(x_)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Ci=new Set(["base","meta","link","style","script","noscript"]),I_=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),D_=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]);function ml(e){let t=9;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function gl(e){if(e._h)return e._h;if(e._d)return ml(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return ml(t)}function N_(e,t){var r;const n=e==="class"?" ":";";return t&&typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,o])=>o).map(([o,i])=>e==="style"?`${o}:${i}`:o)),(r=String(Array.isArray(t)?t.join(n):t))==null?void 0:r.split(n).filter(o=>!!o.trim()).join(n)}function ff(e,t,n,r){for(let o=r;o<n.length;o+=1){const i=n[o];if(i==="class"||i==="style"){e[i]=N_(i,e[i]);continue}if(e[i]instanceof Promise)return e[i].then(s=>(e[i]=s,ff(e,t,n,o)));if(!t&&!D_.has(i)){const s=String(e[i]),a=i.startsWith("data-");s==="true"||s===""?e[i]=a?"true":!0:e[i]||(a&&s==="false"?e[i]="false":delete e[i])}}}function $_(e,t=!1){const n=ff(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const M_=["name","property","http-equiv"];function H_(e){const{props:t,tag:n}=e;if(I_.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(t.id)return`${n}:id:${t.id}`;for(const r of M_)if(t[r]!==void 0)return`${n}:${r}:${t[r]}`;return!1}async function V_(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!!r.shouldRender)return e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{var f;const i=(await e.resolveTags()).map(p=>({tag:p,id:Ci.has(p.tag)?gl(p):p.tag,shouldRender:!0}));let s=e._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const p=new Set;for(const d of["body","head"]){const h=(f=n[d])==null?void 0:f.children;for(const _ of h){const v=_.tagName.toLowerCase();if(!Ci.has(v))continue;const y={tag:v,props:await $_(_.getAttributeNames().reduce((S,P)=>({...S,[P]:_.getAttribute(P)}),{})),innerHTML:_.innerHTML},E=H_(y);let m=E,w=1;for(;m&&p.has(m);)m=`${E}:${w++}`;m&&(y._d=m,p.add(m)),s.elMap[_.getAttribute("data-hid")||gl(y)]=_}}}s.pendingSideEffects={...s.sideEffects},s.sideEffects={};function a(p,d,h){const _=`${p}:${d}`;s.sideEffects[_]=h,delete s.pendingSideEffects[_]}function l({id:p,$el:d,tag:h}){const _=h.tag.endsWith("Attrs");if(s.elMap[p]=d,_||(h.textContent&&h.textContent!==d.textContent&&(d.textContent=h.textContent),h.innerHTML&&h.innerHTML!==d.innerHTML&&(d.innerHTML=h.innerHTML),a(p,"el",()=>{var v;(v=s.elMap[p])==null||v.remove(),delete s.elMap[p]})),h._eventHandlers)for(const v in h._eventHandlers)Object.prototype.hasOwnProperty.call(h._eventHandlers,v)&&d.getAttribute(`data-${v}`)!==""&&((h.tag==="bodyAttrs"?n.defaultView:d).addEventListener(v.substring(2),h._eventHandlers[v].bind(d)),d.setAttribute(`data-${v}`,""));for(const v in h.props){if(!Object.prototype.hasOwnProperty.call(h.props,v))continue;const y=h.props[v],E=`attr:${v}`;if(v==="class"){if(!y)continue;for(const m of y.split(" "))_&&a(p,`${E}:${m}`,()=>d.classList.remove(m)),!d.classList.contains(m)&&d.classList.add(m)}else if(v==="style"){if(!y)continue;for(const m of y.split(";")){const w=m.indexOf(":"),S=m.substring(0,w).trim(),P=m.substring(w+1).trim();a(p,`${E}:${S}`,()=>{d.style.removeProperty(S)}),d.style.setProperty(S,P)}}else d.getAttribute(v)!==y&&d.setAttribute(v,y===!0?"":String(y)),_&&a(p,E,()=>d.removeAttribute(v))}}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const p of i){const{tag:d,shouldRender:h,id:_}=p;if(h){if(d.tag==="title"){n.title=d.textContent;continue}p.$el=p.$el||s.elMap[_],p.$el?l(p):Ci.has(d.tag)&&c.push(p)}}for(const p of c){const d=p.tag.tagPosition||"head";p.$el=n.createElement(p.tag.tag),l(p),u[d]=u[d]||n.createDocumentFragment(),u[d].appendChild(p.$el)}for(const p of i)await e.hooks.callHook("dom:renderTag",p,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const p in s.pendingSideEffects)s.pendingSideEffects[p]();e._dom=s,await e.hooks.callHook("dom:rendered",{renders:i}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}const B_=[],j_=Et({name:"nuxt:head",enforce:"pre",setup(e){const t=w_({plugins:B_});E_(()=>ve().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await V_(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}}),F_=async e=>{let t,n;const r=([t,n]=Wu(()=>Zs(e.path)),t=await t,n(),t);if(r.redirect)return qt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},U_=[F_];function Pi(e){typeof e=="object"&&(e=Vu({pathname:e.path||"",search:Iu(e.query||{}),hash:e.hash||""}));const t=new URL(e.toString(),window.location.href);return{path:t.pathname,fullPath:e,query:Xs(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const W_=Et({name:"nuxt:router",enforce:"pre",setup(e){const t=Rm(window.location.pathname,Hn().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},o=(f,p)=>(r[f].push(p),()=>r[f].splice(r[f].indexOf(p),1)),i=Hn().app.baseURL,s=Bt(Pi(t));async function a(f,p){try{const d=Pi(f);for(const h of r["navigate:before"]){const _=await h(d,s);if(_===!1||_ instanceof Error)return;if(typeof _=="string"&&_.length)return a(_,!0)}for(const h of r["resolve:before"])await h(d,s);Object.assign(s,d),window.history[p?"replaceState":"pushState"]({},"",Rr(i,d.fullPath)),e.isHydrating||await e.runWithContext(Rg);for(const h of r["navigate:after"])await h(d,s)}catch(d){for(const h of r.error)await h(d)}}const c={currentRoute:Ve(()=>s),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:f=>a(f,!1),replace:f=>a(f,!0),back:()=>window.history.go(-1),go:f=>window.history.go(f),forward:()=>window.history.go(1),beforeResolve:f=>o("resolve:before",f),beforeEach:f=>o("navigate:before",f),afterEach:f=>o("navigate:after",f),onError:f=>o("error",f),resolve:Pi,addRoute:(f,p)=>{n.push(p)},getRoutes:()=>n,hasRoute:f=>n.some(p=>p.name===f),removeRoute:f=>{const p=n.findIndex(d=>d.name===f);p!==-1&&n.splice(p,1)}};e.vueApp.component("RouterLink",We({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:p})=>{const d=()=>a(f.to,f.replace);return()=>{var _;const h=c.resolve(f.to);return f.custom?(_=p.default)==null?void 0:_.call(p,{href:f.to,navigate:d,route:h}):fo("a",{href:f.to,onClick:v=>(v.preventDefault(),d())},p)}}})),window.addEventListener("popstate",f=>{const p=f.target.location;c.replace(p.href.replace(p.origin,""))}),e._route=s,e._middleware=e._middleware||{global:[],named:{}};const u=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(f,p)=>{f.meta=Bt(f.meta||{}),e.isHydrating&&u&&!jt(f.meta.layout)&&(f.meta.layout=u),e._processingMiddleware=!0;{const d=new Set([...U_,...e._middleware.global]);{const h=await e.runWithContext(()=>Zs(f.path));if(h.appMiddleware)for(const _ in h.appMiddleware){const v=e._middleware.named[_];if(!v)return;h.appMiddleware[_]?d.add(v):d.delete(v)}}for(const h of d){const _=await e.runWithContext(()=>h(f,p));if(_!==!0&&(_||_===!1))return _}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),Lm(s.fullPath,t)||await e.runWithContext(()=>Qu(s.fullPath))}),{provide:{route:s,router:c}}}}),ls=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),G_=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Yo=e=>{const t=ve();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{ls(()=>e())}):ls(()=>e())},z_=Et({name:"nuxt:payload",setup(e){bt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await hl(t.path);r&&Object.assign(e.static.data,r.data)}),Yo(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await hl(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Xo,1e3)})}}),q_=Et(()=>{const e=bt();Yo(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),K_=Et(e=>{let t;async function n(){const r=await Xo();t&&clearTimeout(t),t=setTimeout(n,il);try{const o=await $fetch(Ys("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}Yo(()=>{t=setTimeout(n,il)})});function J_(e={}){const t=e.path||window.location.pathname;let n={};try{n=po(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:ve().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const X_=Et({name:"nuxt:chunk-reload",setup(e){const t=bt(),n=Hn(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function o(i){const a="href"in i&&i.href[0]==="#"?n.app.baseURL+i.href:Rr(n.app.baseURL,i.fullPath);J_({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}}),Y_=Et({name:"nuxt:global-components"}),Q_=Et(()=>{}),Z_=["top","right","bottom","left"],_l=["start","end"],yl=Z_.reduce((e,t)=>e.concat(t,t+"-"+_l[0],t+"-"+_l[1]),[]),pr=Math.min,tn=Math.max,e0={left:"right",right:"left",bottom:"top",top:"bottom"},t0={start:"end",end:"start"};function cs(e,t,n){return tn(e,pr(t,n))}function pn(e,t){return typeof e=="function"?e(t):e}function wt(e){return e.split("-")[0]}function at(e){return e.split("-")[1]}function df(e){return e==="x"?"y":"x"}function ea(e){return e==="y"?"height":"width"}function dn(e){return["top","bottom"].includes(wt(e))?"y":"x"}function ta(e){return df(dn(e))}function pf(e,t,n){n===void 0&&(n=!1);const r=at(e),o=ta(e),i=ea(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=To(s)),[s,To(s)]}function n0(e){const t=To(e);return[Eo(e),t,Eo(t)]}function Eo(e){return e.replace(/start|end/g,t=>t0[t])}function r0(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function o0(e,t,n,r){const o=at(e);let i=r0(wt(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Eo)))),i}function To(e){return e.replace(/left|right|bottom|top/g,t=>e0[t])}function i0(e){return{top:0,right:0,bottom:0,left:0,...e}}function hf(e){return typeof e!="number"?i0(e):{top:e,right:e,bottom:e,left:e}}function rr(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function vl(e,t,n){let{reference:r,floating:o}=e;const i=dn(t),s=ta(t),a=ea(s),l=wt(t),c=i==="y",u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,p=r[a]/2-o[a]/2;let d;switch(l){case"top":d={x:u,y:r.y-o.height};break;case"bottom":d={x:u,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-o.width,y:f};break;default:d={x:r.x,y:r.y}}switch(at(t)){case"start":d[s]-=p*(n&&c?-1:1);break;case"end":d[s]+=p*(n&&c?-1:1);break}return d}const s0=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=vl(c,r,l),p=r,d={},h=0;for(let _=0;_<a.length;_++){const{name:v,fn:y}=a[_],{x:E,y:m,data:w,reset:S}=await y({x:u,y:f,initialPlacement:r,placement:p,strategy:o,middlewareData:d,rects:c,platform:s,elements:{reference:e,floating:t}});u=E??u,f=m??f,d={...d,[v]:{...d[v],...w}},S&&h<=50&&(h++,typeof S=="object"&&(S.placement&&(p=S.placement),S.rects&&(c=S.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):S.rects),{x:u,y:f}=vl(c,p,l)),_=-1)}return{x:u,y:f,placement:p,strategy:o,middlewareData:d}};async function Qo(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:p=!1,padding:d=0}=pn(t,e),h=hf(d),v=a[p?f==="floating"?"reference":"floating":f],y=rr(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(v)))==null||n?v:v.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),E=f==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,m=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),w=await(i.isElement==null?void 0:i.isElement(m))?await(i.getScale==null?void 0:i.getScale(m))||{x:1,y:1}:{x:1,y:1},S=rr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:E,offsetParent:m,strategy:l}):E);return{top:(y.top-S.top+h.top)/w.y,bottom:(S.bottom-y.bottom+h.bottom)/w.y,left:(y.left-S.left+h.left)/w.x,right:(S.right-y.right+h.right)/w.x}}const a0=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=pn(e,t)||{};if(c==null)return{};const f=hf(u),p={x:n,y:r},d=ta(o),h=ea(d),_=await s.getDimensions(c),v=d==="y",y=v?"top":"left",E=v?"bottom":"right",m=v?"clientHeight":"clientWidth",w=i.reference[h]+i.reference[d]-p[d]-i.floating[h],S=p[d]-i.reference[d],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let I=P?P[m]:0;(!I||!await(s.isElement==null?void 0:s.isElement(P)))&&(I=a.floating[m]||i.floating[h]);const j=w/2-S/2,B=I/2-_[h]/2-1,k=pr(f[y],B),G=pr(f[E],B),K=k,ee=I-_[h]-G,Q=I/2-_[h]/2+j,ie=cs(K,Q,ee),M=!l.arrow&&at(o)!=null&&Q!==ie&&i.reference[h]/2-(Q<K?k:G)-_[h]/2<0,z=M?Q<K?Q-K:Q-ee:0;return{[d]:p[d]+z,data:{[d]:ie,centerOffset:Q-ie-z,...M&&{alignmentOffset:z}},reset:M}}});function l0(e,t,n){return(e?[...n.filter(o=>at(o)===e),...n.filter(o=>at(o)!==e)]:n.filter(o=>wt(o)===o)).filter(o=>e?at(o)===e||(t?Eo(o)!==o:!1):!0)}const c0=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o;const{rects:i,middlewareData:s,placement:a,platform:l,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:p=yl,autoAlignment:d=!0,...h}=pn(e,t),_=f!==void 0||p===yl?l0(f||null,d,p):p,v=await Qo(t,h),y=((n=s.autoPlacement)==null?void 0:n.index)||0,E=_[y];if(E==null)return{};const m=pf(E,i,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==E)return{reset:{placement:_[0]}};const w=[v[wt(E)],v[m[0]],v[m[1]]],S=[...((r=s.autoPlacement)==null?void 0:r.overflows)||[],{placement:E,overflows:w}],P=_[y+1];if(P)return{data:{index:y+1,overflows:S},reset:{placement:P}};const I=S.map(k=>{const G=at(k.placement);return[k.placement,G&&u?k.overflows.slice(0,2).reduce((K,ee)=>K+ee,0):k.overflows[0],k.overflows]}).sort((k,G)=>k[1]-G[1]),B=((o=I.filter(k=>k[2].slice(0,at(k[0])?2:3).every(G=>G<=0))[0])==null?void 0:o[0])||I[0][0];return B!==a?{data:{index:y+1,overflows:S},reset:{placement:B}}:{}}}},u0=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:_=!0,...v}=pn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const y=wt(o),E=dn(a),m=wt(a)===a,w=await(l.isRTL==null?void 0:l.isRTL(c.floating)),S=p||(m||!_?[To(a)]:n0(a)),P=h!=="none";!p&&P&&S.push(...o0(a,_,h,w));const I=[a,...S],j=await Qo(t,v),B=[];let k=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&B.push(j[y]),f){const Q=pf(o,s,w);B.push(j[Q[0]],j[Q[1]])}if(k=[...k,{placement:o,overflows:B}],!B.every(Q=>Q<=0)){var G,K;const Q=(((G=i.flip)==null?void 0:G.index)||0)+1,ie=I[Q];if(ie)return{data:{index:Q,overflows:k},reset:{placement:ie}};let M=(K=k.filter(z=>z.overflows[0]<=0).sort((z,V)=>z.overflows[1]-V.overflows[1])[0])==null?void 0:K.placement;if(!M)switch(d){case"bestFit":{var ee;const z=(ee=k.filter(V=>{if(P){const he=dn(V.placement);return he===E||he==="y"}return!0}).map(V=>[V.placement,V.overflows.filter(he=>he>0).reduce((he,mn)=>he+mn,0)]).sort((V,he)=>V[1]-he[1])[0])==null?void 0:ee[0];z&&(M=z);break}case"initialPlacement":M=a;break}if(o!==M)return{reset:{placement:M}}}return{}}}};async function f0(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=wt(n),a=at(n),l=dn(n)==="y",c=["left","top"].includes(s)?-1:1,u=i&&l?-1:1,f=pn(t,e);let{mainAxis:p,crossAxis:d,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof h=="number"&&(d=a==="end"?h*-1:h),l?{x:d*u,y:p*c}:{x:p*c,y:d*u}}const d0=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await f0(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},p0=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:v=>{let{x:y,y:E}=v;return{x:y,y:E}}},...l}=pn(e,t),c={x:n,y:r},u=await Qo(t,l),f=dn(wt(o)),p=df(f);let d=c[p],h=c[f];if(i){const v=p==="y"?"top":"left",y=p==="y"?"bottom":"right",E=d+u[v],m=d-u[y];d=cs(E,d,m)}if(s){const v=f==="y"?"top":"left",y=f==="y"?"bottom":"right",E=h+u[v],m=h-u[y];h=cs(E,h,m)}const _=a.fn({...t,[p]:d,[f]:h});return{..._,data:{x:_.x-n,y:_.y-r,enabled:{[p]:i,[f]:s}}}}}},h0=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:l=()=>{},...c}=pn(e,t),u=await Qo(t,c),f=wt(o),p=at(o),d=dn(o)==="y",{width:h,height:_}=i.floating;let v,y;f==="top"||f==="bottom"?(v=f,y=p===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(y=f,v=p==="end"?"top":"bottom");const E=_-u.top-u.bottom,m=h-u.left-u.right,w=pr(_-u[v],E),S=pr(h-u[y],m),P=!t.middlewareData.shift;let I=w,j=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(j=m),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(I=E),P&&!p){const k=tn(u.left,0),G=tn(u.right,0),K=tn(u.top,0),ee=tn(u.bottom,0);d?j=h-2*(k!==0||G!==0?k+G:tn(u.left,u.right)):I=_-2*(K!==0||ee!==0?K+ee:tn(u.top,u.bottom))}await l({...t,availableWidth:j,availableHeight:I});const B=await s.getDimensions(a.floating);return h!==B.width||_!==B.height?{reset:{rects:!0}}:{}}}};function Ze(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function _t(e){return Ze(e).getComputedStyle(e)}const bl=Math.min,or=Math.max,So=Math.round;function mf(e){const t=_t(e);let n=parseFloat(t.width),r=parseFloat(t.height);const o=e.offsetWidth,i=e.offsetHeight,s=So(n)!==o||So(r)!==i;return s&&(n=o,r=i),{width:n,height:r,fallback:s}}function Ut(e){return _f(e)?(e.nodeName||"").toLowerCase():""}let Br;function gf(){if(Br)return Br;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Br=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Br):navigator.userAgent}function yt(e){return e instanceof Ze(e).HTMLElement}function Ht(e){return e instanceof Ze(e).Element}function _f(e){return e instanceof Ze(e).Node}function wl(e){return typeof ShadowRoot>"u"?!1:e instanceof Ze(e).ShadowRoot||e instanceof ShadowRoot}function Zo(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=_t(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function m0(e){return["table","td","th"].includes(Ut(e))}function us(e){const t=/firefox/i.test(gf()),n=_t(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(o=>n.willChange.includes(o))||["paint","layout","strict","content"].some(o=>{const i=n.contain;return i!=null&&i.includes(o)})}function yf(){return!/^((?!chrome|android).)*safari/i.test(gf())}function na(e){return["html","body","#document"].includes(Ut(e))}function vf(e){return Ht(e)?e:e.contextElement}const bf={x:1,y:1};function On(e){const t=vf(e);if(!yt(t))return bf;const n=t.getBoundingClientRect(),{width:r,height:o,fallback:i}=mf(t);let s=(i?So(n.width):n.width)/r,a=(i?So(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function hr(e,t,n,r){var o,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),a=vf(e);let l=bf;t&&(r?Ht(r)&&(l=On(r)):l=On(e));const c=a?Ze(a):window,u=!yf()&&n;let f=(s.left+(u&&((o=c.visualViewport)==null?void 0:o.offsetLeft)||0))/l.x,p=(s.top+(u&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/l.y,d=s.width/l.x,h=s.height/l.y;if(a){const _=Ze(a),v=r&&Ht(r)?Ze(r):r;let y=_.frameElement;for(;y&&r&&v!==_;){const E=On(y),m=y.getBoundingClientRect(),w=getComputedStyle(y);m.x+=(y.clientLeft+parseFloat(w.paddingLeft))*E.x,m.y+=(y.clientTop+parseFloat(w.paddingTop))*E.y,f*=E.x,p*=E.y,d*=E.x,h*=E.y,f+=m.x,p+=m.y,y=Ze(y).frameElement}}return{width:d,height:h,top:p,right:f+d,bottom:p+h,left:f,x:f,y:p}}function Vt(e){return((_f(e)?e.ownerDocument:e.document)||window.document).documentElement}function ei(e){return Ht(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function wf(e){return hr(Vt(e)).left+ei(e).scrollLeft}function mr(e){if(Ut(e)==="html")return e;const t=e.assignedSlot||e.parentNode||wl(e)&&e.host||Vt(e);return wl(t)?t.host:t}function Ef(e){const t=mr(e);return na(t)?t.ownerDocument.body:yt(t)&&Zo(t)?t:Ef(t)}function Co(e,t){var n;t===void 0&&(t=[]);const r=Ef(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=Ze(r);return o?t.concat(i,i.visualViewport||[],Zo(r)?r:[]):t.concat(r,Co(r))}function El(e,t,n){return t==="viewport"?rr(function(r,o){const i=Ze(r),s=Vt(r),a=i.visualViewport;let l=s.clientWidth,c=s.clientHeight,u=0,f=0;if(a){l=a.width,c=a.height;const p=yf();(p||!p&&o==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}}(e,n)):Ht(t)?rr(function(r,o){const i=hr(r,!0,o==="fixed"),s=i.top+r.clientTop,a=i.left+r.clientLeft,l=yt(r)?On(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:a*l.x,y:s*l.y}}(t,n)):rr(function(r){const o=Vt(r),i=ei(r),s=r.ownerDocument.body,a=or(o.scrollWidth,o.clientWidth,s.scrollWidth,s.clientWidth),l=or(o.scrollHeight,o.clientHeight,s.scrollHeight,s.clientHeight);let c=-i.scrollLeft+wf(r);const u=-i.scrollTop;return _t(s).direction==="rtl"&&(c+=or(o.clientWidth,s.clientWidth)-a),{width:a,height:l,x:c,y:u}}(Vt(e)))}function Tl(e){return yt(e)&&_t(e).position!=="fixed"?e.offsetParent:null}function Sl(e){const t=Ze(e);let n=Tl(e);for(;n&&m0(n)&&_t(n).position==="static";)n=Tl(n);return n&&(Ut(n)==="html"||Ut(n)==="body"&&_t(n).position==="static"&&!us(n))?t:n||function(r){let o=mr(r);for(;yt(o)&&!na(o);){if(us(o))return o;o=mr(o)}return null}(e)||t}function g0(e,t,n){const r=yt(t),o=Vt(t),i=hr(e,!0,n==="fixed",t);let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((Ut(t)!=="body"||Zo(o))&&(s=ei(t)),yt(t)){const l=hr(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else o&&(a.x=wf(o));return{x:i.left+s.scrollLeft-a.x,y:i.top+s.scrollTop-a.y,width:i.width,height:i.height}}const _0={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=n==="clippingAncestors"?function(c,u){const f=u.get(c);if(f)return f;let p=Co(c).filter(v=>Ht(v)&&Ut(v)!=="body"),d=null;const h=_t(c).position==="fixed";let _=h?mr(c):c;for(;Ht(_)&&!na(_);){const v=_t(_),y=us(_);(h?y||d:y||v.position!=="static"||!d||!["absolute","fixed"].includes(d.position))?d=v:p=p.filter(E=>E!==_),_=mr(_)}return u.set(c,p),p}(t,this._c):[].concat(n),s=[...i,r],a=s[0],l=s.reduce((c,u)=>{const f=El(t,u,o);return c.top=or(f.top,c.top),c.right=bl(f.right,c.right),c.bottom=bl(f.bottom,c.bottom),c.left=or(f.left,c.left),c},El(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=yt(n),i=Vt(n);if(n===i)return t;let s={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((o||!o&&r!=="fixed")&&((Ut(n)!=="body"||Zo(i))&&(s=ei(n)),yt(n))){const c=hr(n);a=On(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-s.scrollLeft*a.x+l.x,y:t.y*a.y-s.scrollTop*a.y+l.y}},isElement:Ht,getDimensions:function(e){return yt(e)?mf(e):e.getBoundingClientRect()},getOffsetParent:Sl,getDocumentElement:Vt,getScale:On,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Sl,i=this.getDimensions;return{reference:g0(t,await o(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>_t(e).direction==="rtl"},y0=(e,t,n)=>{const r=new Map,o={platform:_0,...n},i={...o.platform,_c:r};return s0(e,t,{...o,platform:i})};function Tf(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Tf(e[n],t[n]):e[n]=t[n])}const lt={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function gr(e,t){let n=lt.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=lt.themes[n.$extend]||{}:(n=null,r=lt[t]):n=null;while(n);return r}function v0(e){const t=[e];let n=lt.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=lt.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function Cl(e){const t=[e];let n=lt.themes[e]||{};do n.$extend?(t.push(n.$extend),n=lt.themes[n.$extend]||{}):n=null;while(n);return t}let Vn=!1;if(typeof window<"u"){Vn=!1;try{const e=Object.defineProperty({},"passive",{get(){Vn=!0}});window.addEventListener("test",null,e)}catch{}}let Sf=!1;typeof window<"u"&&typeof navigator<"u"&&(Sf=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Cf=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Pl={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Al={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Rl(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Ai(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const ot=[];let Yt=null;const xl={};function Ll(e){let t=xl[e];return t||(t=xl[e]=[]),t}let fs=function(){};typeof window<"u"&&(fs=window.Element);function oe(e){return function(t){return gr(t.theme,e)}}const Ri="__floating-vue__popper",Pf=()=>We({name:"VPopper",provide(){return{[Ri]:{parentPopper:this}}},inject:{[Ri]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:oe("disabled")},positioningDisabled:{type:Boolean,default:oe("positioningDisabled")},placement:{type:String,default:oe("placement"),validator:e=>Cf.includes(e)},delay:{type:[String,Number,Object],default:oe("delay")},distance:{type:[Number,String],default:oe("distance")},skidding:{type:[Number,String],default:oe("skidding")},triggers:{type:Array,default:oe("triggers")},showTriggers:{type:[Array,Function],default:oe("showTriggers")},hideTriggers:{type:[Array,Function],default:oe("hideTriggers")},popperTriggers:{type:Array,default:oe("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:oe("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:oe("popperHideTriggers")},container:{type:[String,Object,fs,Boolean],default:oe("container")},boundary:{type:[String,fs],default:oe("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:oe("strategy")},autoHide:{type:[Boolean,Function],default:oe("autoHide")},handleResize:{type:Boolean,default:oe("handleResize")},instantMove:{type:Boolean,default:oe("instantMove")},eagerMount:{type:Boolean,default:oe("eagerMount")},popperClass:{type:[String,Array,Object],default:oe("popperClass")},computeTransformOrigin:{type:Boolean,default:oe("computeTransformOrigin")},autoMinSize:{type:Boolean,default:oe("autoMinSize")},autoSize:{type:[Boolean,String],default:oe("autoSize")},autoMaxSize:{type:Boolean,default:oe("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:oe("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:oe("preventOverflow")},overflowPadding:{type:[Number,String],default:oe("overflowPadding")},arrowPadding:{type:[Number,String],default:oe("arrowPadding")},arrowOverflow:{type:Boolean,default:oe("arrowOverflow")},flip:{type:Boolean,default:oe("flip")},shift:{type:Boolean,default:oe("shift")},shiftCrossAxis:{type:Boolean,default:oe("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:oe("noAutoFocus")},disposeTimeout:{type:Number,default:oe("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Ri])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,o;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(d0({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(c0({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(p0({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(u0({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(a0({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:o,middlewareData:i})=>{let s;const{centerOffset:a}=i.arrow;return r.startsWith("top")||r.startsWith("bottom")?s=Math.abs(a)>o.reference.width/2:s=Math.abs(a)>o.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:o,placement:i,middlewareData:s})=>{var a;if((a=s.autoSize)!=null&&a.skip)return{};let l,c;return i.startsWith("top")||i.startsWith("bottom")?l=o.reference.width:c=o.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(h0({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:o})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=o!=null?`${o}px`:null}})));const n=await y0(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Yt&&this.instantMove&&Yt.instantMove&&Yt!==this.parentPopper){Yt.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Yt=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Ai(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Co(this.$_referenceNode),...Co(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),o=t.x+t.width/2-(r.left+n.offsetLeft),i=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${o}px ${i}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<ot.length;n++)t=ot[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}ot.push(this),document.body.classList.add("v-popper--some-open");for(const t of Cl(this.theme))Ll(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Ai(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Rl(ot,this),ot.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Cl(this.theme)){const r=Ll(n);Rl(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Yt===this&&(Yt=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Ai(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,Pl,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Pl,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Al,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Al,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(r=>r.addEventListener(t,n,Vn?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,o){let i=n;r!=null&&(i=typeof r=="function"?r(i):r),i.forEach(s=>{const a=t[s];a&&this.$_registerEventListeners(e,a,o)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:o,handler:i}=n;!e||e===o?r.forEach(s=>s.removeEventListener(o,i)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(ir>=e.left&&ir<=e.right&&sr>=e.top&&sr<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=ir-Lt,r=sr-Ot,o=t.left+t.width/2-Lt+(t.top+t.height/2)-Ot+t.width+t.height,i=Lt+n*o,s=Ot+r*o;return jr(Lt,Ot,i,s,t.left,t.top,t.left,t.bottom)||jr(Lt,Ot,i,s,t.left,t.top,t.right,t.top)||jr(Lt,Ot,i,s,t.right,t.top,t.right,t.bottom)||jr(Lt,Ot,i,s,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Sf){const e=Vn?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Ol(t,!0),e),document.addEventListener("touchend",t=>kl(t,!0),e)}else window.addEventListener("mousedown",e=>Ol(e,!1),!0),window.addEventListener("click",e=>kl(e,!1),!0);window.addEventListener("resize",w0)}function Ol(e,t){if(lt.autoHideOnMousedown)Af(e,t);else for(let n=0;n<ot.length;n++){const r=ot[n];try{r.mouseDownContains=r.popperNode().contains(e.target)}catch{}}}function kl(e,t){lt.autoHideOnMousedown||Af(e,t)}function Af(e,t){const n={};for(let r=ot.length-1;r>=0;r--){const o=ot[r];try{const i=o.containsGlobalTarget=o.mouseDownContains||o.popperNode().contains(e.target);o.pendingHide=!1,requestAnimationFrame(()=>{if(o.pendingHide=!1,!n[o.randomId]&&Il(o,i,e)){if(o.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let a=o.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let s=o.parentPopper;for(;s&&Il(s,s.containsGlobalTarget,e);)s.$_handleGlobalClose(e,t),s=s.parentPopper}})}catch{}}}function Il(e,t,n){return n.closeAllPopover||n.closePopover&&t||b0(e,n)&&!t}function b0(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function w0(){for(let e=0;e<ot.length;e++)ot[e].$_computePosition()}let Lt=0,Ot=0,ir=0,sr=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Lt=ir,Ot=sr,ir=e.clientX,sr=e.clientY},Vn?{passive:!0}:void 0);function jr(e,t,n,r,o,i,s,a){const l=((s-o)*(t-i)-(a-i)*(e-o))/((a-i)*(n-e)-(s-o)*(r-t)),c=((n-e)*(t-i)-(r-t)*(e-o))/((a-i)*(n-e)-(s-o)*(r-t));return l>=0&&l<=1&&c>=0&&c<=1}const E0={extends:Pf()},ti=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function T0(e,t,n,r,o,i){return J(),ue("div",{ref:"reference",class:Te(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[$e(e.$slots,"default",mc(qs(e.slotData)))],2)}const S0=ti(E0,[["render",T0]]);function C0(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var o=e.indexOf("Edge/");return o>0?parseInt(e.substring(o+5,e.indexOf(".",o)),10):-1}let Zr;function ds(){ds.init||(ds.init=!0,Zr=C0()!==-1)}var ni={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){ds(),Cr(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Zr&&this.$el.appendChild(e),e.data="about:blank",Zr||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Zr&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const P0=Pp();Sp("data-v-b329ee4c");const A0={class:"resize-observer",tabindex:"-1"};Cp();const R0=P0((e,t,n,r,o,i)=>(J(),Le("div",A0)));ni.render=R0;ni.__scopeId="data-v-b329ee4c";ni.__file="src/components/ResizeObserver.vue";const Rf=(e="theme")=>({computed:{themeClass(){return v0(this[e])}}}),x0=We({name:"VPopperContent",components:{ResizeObserver:ni},mixins:[Rf()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),L0=["id","aria-hidden","tabindex","data-popper-placement"],O0={ref:"inner",class:"v-popper__inner"},k0=F("div",{class:"v-popper__arrow-outer"},null,-1),I0=F("div",{class:"v-popper__arrow-inner"},null,-1),D0=[k0,I0];function N0(e,t,n,r,o,i){const s=Ft("ResizeObserver");return J(),ue("div",{id:e.popperId,ref:"popover",class:Te(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:on(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=Zh(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[F("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),F("div",{class:"v-popper__wrapper",style:on(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[F("div",O0,[e.mounted?(J(),ue(xe,{key:0},[F("div",null,[$e(e.$slots,"default")]),e.handleResize?(J(),Le(s,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):it("",!0)],64)):it("",!0)],512),F("div",{ref:"arrow",class:"v-popper__arrow-container",style:on(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},D0,4)],4)],46,L0)}const xf=ti(x0,[["render",N0]]),Lf={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let ps=function(){};typeof window<"u"&&(ps=window.Element);const $0=We({name:"VPopperWrapper",components:{Popper:S0,PopperContent:xf},mixins:[Lf,Rf("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,ps,Boolean],default:void 0},boundary:{type:[String,ps],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function M0(e,t,n,r,o,i){const s=Ft("PopperContent"),a=Ft("Popper");return J(),Le(a,Pr({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=l=>e.$emit("update:shown",l)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:se(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:p,show:d,hide:h,handleResize:_,onResize:v,classes:y,result:E})=>[$e(e.$slots,"default",{shown:c,show:d,hide:h}),W(s,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":p,"handle-resize":_,classes:y,result:E,onHide:h,onResize:v},{default:se(()=>[$e(e.$slots,"popper",{shown:c,hide:h})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const ra=ti($0,[["render",M0]]),H0={...ra,name:"VDropdown",vPopperTheme:"dropdown"},V0={...ra,name:"VMenu",vPopperTheme:"menu"},B0={...ra,name:"VTooltip",vPopperTheme:"tooltip"},j0=We({name:"VTooltipDirective",components:{Popper:Pf(),PopperContent:xf},mixins:[Lf],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>gr(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>gr(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(t,r)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),F0=["innerHTML"],U0=["textContent"];function W0(e,t,n,r,o,i){const s=Ft("PopperContent"),a=Ft("Popper");return J(),Le(a,Pr({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:se(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:p,hide:d,handleResize:h,onResize:_,classes:v,result:y})=>[W(s,{ref:"popperContent",class:Te({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":p,"handle-resize":h,classes:v,result:y,onHide:d,onResize:_},{default:se(()=>[e.html?(J(),ue("div",{key:0,innerHTML:e.finalContent},null,8,F0)):(J(),ue("div",{key:1,textContent:Mt(e.finalContent)},null,8,U0))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const G0=ti(j0,[["render",W0]]),Of="v-popper--has-tooltip";function z0(e,t){let n=e.placement;if(!n&&t)for(const r of Cf)t[r]&&(n=r);return n||(n=gr(e.theme||"tooltip","placement")),n}function kf(e,t,n){let r;const o=typeof t;return o==="string"?r={content:t}:t&&o==="object"?r=t:r={content:!1},r.placement=z0(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let xi,_r,q0=0;function K0(){if(xi)return;_r=fe([]),xi=Lu({name:"VTooltipDirectiveApp",setup(){return{directives:_r}},render(){return this.directives.map(t=>fo(G0,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),xi.mount(e)}function J0(e,t,n){K0();const r=fe(kf(e,t,n)),o=fe(!1),i={id:q0++,options:r,shown:o};return _r.value.push(i),e.classList&&e.classList.add(Of),e.$_popper={options:r,item:i,show(){o.value=!0},hide(){o.value=!1}}}function If(e){if(e.$_popper){const t=_r.value.indexOf(e.$_popper.item);t!==-1&&_r.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Of)}function Dl(e,{value:t,modifiers:n}){const r=kf(e,t,n);if(!r.content||gr(r.theme||"tooltip","disabled"))If(e);else{let o;e.$_popper?(o=e.$_popper,o.options.value=r):o=J0(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?o.show():o.hide())}}const X0={beforeMount:Dl,updated:Dl,beforeUnmount(e){If(e)}};function Nl(e){e.addEventListener("mousedown",Po),e.addEventListener("click",Po),e.addEventListener("touchstart",Df,Vn?{passive:!0}:!1)}function $l(e){e.removeEventListener("mousedown",Po),e.removeEventListener("click",Po),e.removeEventListener("touchstart",Df),e.removeEventListener("touchend",Nf),e.removeEventListener("touchcancel",$f)}function Po(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Df(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",Nf),t.addEventListener("touchcancel",$f)}}function Nf(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function $f(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const Y0={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Nl(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?Nl(e):$l(e))},beforeUnmount(e){$l(e)}};function Q0(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Tf(lt,t),e.directive("tooltip",X0),e.directive("close-popper",Y0),e.component("VTooltip",B0),e.component("VDropdown",H0),e.component("VMenu",V0))}const Z0={version:"5.2.2",install:Q0,options:lt},ey=Et(e=>{e.vueApp.use(Z0)}),ty=[k_,j_,W_,z_,q_,K_,X_,Y_,Q_,ey],ny="modulepreload",ry=function(e,t){return new URL(e,t).href},Ml={},g=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));o=Promise.allSettled(n.map(c=>{if(c=ry(c,r),c in Ml)return;Ml[c]=!0;const u=c.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(!!r)for(let h=s.length-1;h>=0;h--){const _=s[h];if(_.href===c&&(!u||_.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${f}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":ny,u||(d.as="script"),d.crossOrigin="",d.href=c,l&&d.setAttribute("nonce",l),document.head.appendChild(d),u)return new Promise((h,_)=>{d.addEventListener("load",h),d.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})},oa=We({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(J(),ue("div",{class:Te(["n-icon",t.icon])},null,2))}}),ri=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},oy={},iy={class:"n-badge"};function sy(e,t){return J(),ue("span",iy,[$e(e.$slots,"default")])}const ay=ri(oy,[["render",sy]]);async function Mf(e,t=bt()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>Mf(e,t));t._routePreloaded.add(n);const i=r.map(s=>{var a;return(a=s.components)==null?void 0:a.default}).filter(s=>typeof s=="function");for(const s of i){const a=Promise.resolve(s()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}const ly=(...e)=>e.find(t=>t!==void 0);function cy(e){const t=e.componentName||"NuxtLink";function n(o,i){if(!o||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return o;if(typeof o=="string")return Hl(o,e.trailingSlash);const s="path"in o&&o.path!==void 0?o.path:i(o).path;return{...o,name:void 0,path:Hl(s,e.trailingSlash)}}function r(o){const i=bt(),s=Hn(),a=Ve(()=>!!o.target&&o.target!=="_self"),l=Ve(()=>{const _=o.to||o.href||"";return typeof _=="string"&&qt(_,{acceptRelative:!0})}),c=Ft("RouterLink"),u=c&&typeof c!="string"?c.useLink:void 0,f=Ve(()=>{if(o.external)return!0;const _=o.to||o.href||"";return typeof _=="object"?!1:_===""||l.value}),p=Ve(()=>{const _=o.to||o.href||"";return f.value?_:n(_,i.resolve)}),d=f.value||u==null?void 0:u({...o,to:p}),h=Ve(()=>{var _;if(!p.value||l.value)return p.value;if(f.value){const v=typeof p.value=="object"&&"path"in p.value?rs(p.value):p.value,y=typeof v=="object"?i.resolve(v).href:v;return n(y,i.resolve)}return typeof p.value=="object"?((_=i.resolve(p.value))==null?void 0:_.href)??null:n(Rr(s.app.baseURL,p.value),i.resolve)});return{to:p,hasTarget:a,isAbsoluteUrl:l,isExternal:f,href:h,isActive:(d==null?void 0:d.isActive)??Ve(()=>p.value===i.currentRoute.value.path),isExactActive:(d==null?void 0:d.isExactActive)??Ve(()=>p.value===i.currentRoute.value.path),route:(d==null?void 0:d.route)??Ve(()=>i.resolve(p.value)),async navigate(){await Qu(h.value,{replace:o.replace,external:f.value||a.value})}}}return We({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},useLink:r,setup(o,{slots:i}){const s=bt(),{to:a,href:l,navigate:c,isExternal:u,hasTarget:f,isAbsoluteUrl:p}=r(o),d=fe(!1),h=fe(null),_=E=>{var m;h.value=o.custom?(m=E==null?void 0:E.$el)==null?void 0:m.nextElementSibling:E==null?void 0:E.$el};function v(E){var m,w;return!d.value&&(typeof o.prefetchOn=="string"?o.prefetchOn===E:((m=o.prefetchOn)==null?void 0:m[E])??((w=e.prefetchOn)==null?void 0:w[E]))&&(o.prefetch??e.prefetch)!==!1&&o.noPrefetch!==!0&&o.target!=="_blank"&&!dy()}async function y(E=ve()){if(d.value)return;d.value=!0;const m=typeof a.value=="string"?a.value:u.value?rs(a.value):s.resolve(a.value).fullPath,w=u.value?new URL(m,window.location.href).href:m;await Promise.all([E.hooks.callHook("link:prefetch",w).catch(()=>{}),!u.value&&!f.value&&Mf(a.value,s).catch(()=>{})])}if(v("visibility")){const E=ve();let m,w=null;Gc(()=>{const S=uy();Yo(()=>{m=ls(()=>{var P;(P=h==null?void 0:h.value)!=null&&P.tagName&&(w=S.observe(h.value,async()=>{w==null||w(),w=null,await y(E)}))})})}),Fs(()=>{m&&G_(m),w==null||w(),w=null})}return()=>{var w;if(!u.value&&!f.value){const S={ref:_,to:a.value,activeClass:o.activeClass||e.activeClass,exactActiveClass:o.exactActiveClass||e.exactActiveClass,replace:o.replace,ariaCurrentValue:o.ariaCurrentValue,custom:o.custom};return o.custom||(v("interaction")&&(S.onPointerenter=y.bind(null,void 0),S.onFocus=y.bind(null,void 0)),d.value&&(S.class=o.prefetchedClass||e.prefetchedClass),S.rel=o.rel||void 0),fo(Ft("RouterLink"),S,i.default)}const E=o.target||null,m=ly(o.noRel?"":o.rel,e.externalRelAttribute,p.value||f.value?"noopener noreferrer":"")||null;return o.custom?i.default?i.default({href:l.value,navigate:c,prefetch:y,get route(){if(!l.value)return;const S=new URL(l.value,window.location.href);return{path:S.pathname,fullPath:S.pathname,get query(){return Xs(S.search)},hash:S.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:m,target:E,isExternal:u.value||f.value,isActive:!1,isExactActive:!1}):null:fo("a",{ref:h,href:l.value||null,rel:m,target:E},(w=i.default)==null?void 0:w.call(i))}}})}const Hf=cy(sg);function Hl(e,t){const n=t==="append"?mo:Ko;return qt(e)&&!e.startsWith("http")?e:n(e,!0)}function uy(){const e=ve();if(e._observer)return e._observer;let t=null;const n=new Map,r=(i,s)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}})),n.set(i,s),t.observe(i),()=>{n.delete(i),t.unobserve(i),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}const fy=/2g/;function dy(){const e=navigator.connection;return!!(e&&(e.saveData||fy.test(e.effectiveType)))}const py={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},hy=We({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(e){const t=e,n=Ve(()=>t.href||t.to);return(r,o)=>{const i=Hf;return J(),Le(i,Pr(n.value?{href:n.value,target:r.target,rel:r.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||r.underline}}),{default:se(()=>[$e(r.$slots,"default"),n.value&&r.target==="_blank"?(J(),ue("div",py)):it("",!0)]),_:3},16,["class"])}}}),my={},gy={height:"22",viewBox:"0 0 1204 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function _y(e,t){return J(),ue("svg",gy,t[0]||(t[0]=[wh('<path d="M377 200C379.16 200 381 198.209 381 196V103C381 103 386 112 395 127L434 194C435.785 197.74 439.744 200 443 200H470V50H443C441.202 50 439 51.4941 439 54V148L421 116L385 55C383.248 51.8912 379.479 50 376 50H350V200H377Z" fill="currentColor"></path><path d="M726 92H739C742.314 92 745 89.3137 745 86V60H773V92H800V116H773V159C773 169.5 778.057 174 787 174H800V200H783C759.948 200 745 185.071 745 160V116H726V92Z" fill="currentColor"></path><path d="M591 92V154C591 168.004 585.742 179.809 578 188C570.258 196.191 559.566 200 545 200C530.434 200 518.742 196.191 511 188C503.389 179.809 498 168.004 498 154V92H514C517.412 92 520.769 92.622 523 95C525.231 97.2459 526 98.5652 526 102V154C526 162.059 526.457 167.037 530 171C533.543 174.831 537.914 176 545 176C552.217 176 555.457 174.831 559 171C562.543 167.037 563 162.059 563 154V102C563 98.5652 563.769 96.378 566 94C567.96 91.9107 570.028 91.9599 573 92C573.411 92.0055 574.586 92 575 92H591Z" fill="currentColor"></path><path d="M676 144L710 92H684C680.723 92 677.812 93.1758 676 96L660 120L645 97C643.188 94.1758 639.277 92 636 92H611L645 143L608 200H634C637.25 200 640.182 196.787 642 194L660 167L679 195C680.818 197.787 683.75 200 687 200H713L676 144Z" fill="currentColor"></path><path d="M168 200H279C282.542 200 285.932 198.756 289 197C292.068 195.244 295.23 193.041 297 190C298.77 186.959 300.002 183.51 300 179.999C299.998 176.488 298.773 173.04 297 170.001L222 41C220.23 37.96 218.067 35.7552 215 34C211.933 32.2448 207.542 31 204 31C200.458 31 197.067 32.2448 194 34C190.933 35.7552 188.77 37.96 187 41L168 74L130 9.99764C128.228 6.95784 126.068 3.75491 123 2C119.932 0.245087 116.542 0 113 0C109.458 0 106.068 0.245087 103 2C99.9323 3.75491 96.7717 6.95784 95 9.99764L2 170.001C0.226979 173.04 0.00154312 176.488 1.90993e-06 179.999C-0.0015393 183.51 0.229648 186.959 2 190C3.77035 193.04 6.93245 195.244 10 197C13.0675 198.756 16.4578 200 20 200H90C117.737 200 137.925 187.558 152 164L186 105L204 74L259 168H186L168 200ZM89 168H40L113 42L150 105L125.491 147.725C116.144 163.01 105.488 168 89 168Z" fill="#00DC82"></path><path d="M892 200C881.746 200 873.788 197.911 866 194C858.212 189.959 851.543 184.169 847 177C842.587 169.7 840.389 161.646 840 152H868C868.649 159.039 870.717 163.959 875 168C879.413 172.041 885.861 174 893 174C899.62 174 904.106 172.737 908 170C912.024 167.263 914 164.084 914 159C914 155.48 913.336 152.086 911 150C908.793 147.784 906.375 146.173 903 145C899.625 143.827 894.23 142.564 888 141C878.784 138.784 870.971 136.477 865 134C859.159 131.393 854.283 127.605 850 122C845.717 116.395 844 108.777 844 99C844 91.5698 845.976 84.8659 850 79C854.024 73.1341 859.861 68.2589 867 65C874.139 61.6108 881.914 60 891 60C900.735 60 909.601 61.4805 917 65C924.528 68.5196 929.846 73.4823 934 80C938.283 86.5177 940.74 94.3967 941 103H913C912.481 97.5251 910.894 93.1285 907 90C903.106 86.7411 897.49 85 891 85C885.289 85 880.375 86.5233 877 89C873.625 91.4767 872 94.959 872 99C872 102.78 873.664 105.784 876 108C878.336 110.216 881.366 111.696 885 113C888.634 114.173 893.64 115.566 900 117C909.346 119.216 916.159 121.654 922 124C927.841 126.346 932.846 130.395 937 136C941.283 141.475 944 148.354 944 158C944 166.473 941.283 173.743 937 180C932.717 186.257 926.788 191.611 919 195C911.342 198.389 902.124 200 892 200Z" fill="#00DC82"></path><path d="M1056 200H961V60H1054V87H990V116H1041V141H990V173H1056V200Z" fill="#00DC82"></path><path d="M1134 200C1120.76 200 1108.64 196.996 1098 191C1087.49 184.873 1080.1 176.559 1074 166C1068.03 155.311 1065 143.296 1065 130C1065 116.704 1068.03 104.559 1074 94C1080.1 83.311 1088.49 74.9963 1099 69C1109.64 62.8734 1120.76 60 1134 60C1147.11 60 1159.49 62.8734 1170 69C1180.64 74.9963 1189.03 83.311 1195 94C1201.1 104.559 1204 116.704 1204 130C1204 143.296 1201.1 155.311 1195 166C1189.03 176.559 1180.64 184.873 1170 191C1159.49 196.996 1147.11 200 1134 200ZM1134 174C1141.66 174 1148.9 172.78 1155 169C1161.23 165.089 1165.63 159.778 1169 153C1172.5 146.222 1174 138.473 1174 130C1174 121.527 1172.5 113.778 1169 107C1165.63 100.222 1161.23 94.9106 1155 91C1148.9 87.0894 1141.66 85 1134 85C1126.34 85 1120.1 87.0894 1114 91C1107.9 94.9106 1102.5 100.222 1099 107C1095.63 113.778 1094 121.527 1094 130C1094 138.473 1095.63 146.222 1099 153C1102.5 159.778 1107.9 165.089 1114 169C1120.1 172.78 1126.34 174 1134 174Z" fill="#00DC82"></path>',8)]))}const yy=ri(my,[["render",_y]]),vy={},by={class:"n-loading n-panel-grids-center"},wy={class:"flex flex-col animate-pulse items-center text-lg"};function Ey(e,t){return J(),ue("div",by,[F("div",wy,[t[1]||(t[1]=F("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1)),$e(e.$slots,"default",{},()=>[t[0]||(t[0]=we(" Loading... "))])])])}const Ty=ri(vy,[["render",Ey]]);typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Sy=e=>typeof e<"u",Cy=()=>{};function Py(e,t,n){let r;Se(n)?r={evaluating:n}:r={};const{lazy:o=!1,evaluating:i=void 0,shallow:s=!0,onError:a=Cy}=r,l=fe(!o),c=s?oo(t):fe(t);let u=0;return mu(async f=>{if(!l.value)return;u++;const p=u;let d=!1;i&&Promise.resolve().then(()=>{i.value=!0});try{const h=await e(_=>{f(()=>{i&&(i.value=!1),d||_()})});p===u&&(c.value=h)}catch(h){a(h)}finally{i&&p===u&&(i.value=!1),d=!0}}),o?Ve(()=>(l.value=!0,c.value)):c}function Ay(e){return JSON.parse(JSON.stringify(e))}function Ry(e,t,n,r={}){var o,i,s;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:p}=r,d=zo(),h=(d==null?void 0:d.emit)||((o=d==null?void 0:d.$emit)==null?void 0:o.bind(d))||((s=(i=d==null?void 0:d.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(d==null?void 0:d.proxy));let _=c;_=_||`update:${t.toString()}`;const v=m=>a?typeof a=="function"?a(m):Ay(m):m,y=()=>Sy(e[t])?v(e[t]):f,E=m=>{p?p(m)&&h(_,m):h(_,m)};if(l){const m=y(),w=fe(m);let S=!1;return un(()=>e[t],P=>{S||(S=!0,w.value=v(P),Cr(()=>S=!1))}),un(w,P=>{!S&&(P!==e[t]||u)&&E(P)},{deep:u}),w}else return Ve({get(){return y()},set(m){E(m)}})}const Vf=[{id:"abap",name:"ABAP",import:()=>g(()=>import("./BwpQXVS2.js"),[],import.meta.url)},{id:"actionscript-3",name:"ActionScript",import:()=>g(()=>import("./Ci-La1BS.js"),[],import.meta.url)},{id:"ada",name:"Ada",import:()=>g(()=>import("./DOAn35dn.js"),[],import.meta.url)},{id:"angular-html",name:"Angular HTML",import:()=>g(()=>import("./B1rsb5QC.js").then(e=>e.f),__vite__mapDeps([0,1,2,3]),import.meta.url)},{id:"angular-ts",name:"Angular TypeScript",import:()=>g(()=>import("./gOa3Yz9U.js"),__vite__mapDeps([4,0,1,2,3,5]),import.meta.url)},{id:"apache",name:"Apache Conf",import:()=>g(()=>import("./Dn00JSTd.js"),[],import.meta.url)},{id:"apex",name:"Apex",import:()=>g(()=>import("./BzwtH5UL.js"),[],import.meta.url)},{id:"apl",name:"APL",import:()=>g(()=>import("./CyEc264g.js"),__vite__mapDeps([6,1,2,3,7,8,9]),import.meta.url)},{id:"applescript",name:"AppleScript",import:()=>g(()=>import("./DIt9OTko.js"),[],import.meta.url)},{id:"ara",name:"Ara",import:()=>g(()=>import("./CJxt7p29.js"),[],import.meta.url)},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>g(()=>import("./CcSEeikT.js"),[],import.meta.url)},{id:"asm",name:"Assembly",import:()=>g(()=>import("./DPTZissz.js"),[],import.meta.url)},{id:"astro",name:"Astro",import:()=>g(()=>import("./vocl-2a6.js"),__vite__mapDeps([10,9,2,11,3,12]),import.meta.url)},{id:"awk",name:"AWK",import:()=>g(()=>import("./BINKOAKH.js"),[],import.meta.url)},{id:"ballerina",name:"Ballerina",import:()=>g(()=>import("./DCcCncrU.js"),[],import.meta.url)},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>g(()=>import("./B9Vj0mJK.js"),[],import.meta.url)},{id:"beancount",name:"Beancount",import:()=>g(()=>import("./DDUKAZWS.js"),[],import.meta.url)},{id:"berry",name:"Berry",aliases:["be"],import:()=>g(()=>import("./DnyWjya5.js"),[],import.meta.url)},{id:"bibtex",name:"BibTeX",import:()=>g(()=>import("./CpWBKVjh.js"),[],import.meta.url)},{id:"bicep",name:"Bicep",import:()=>g(()=>import("./BWkuYGGO.js"),[],import.meta.url)},{id:"blade",name:"Blade",import:()=>g(()=>import("./Bmb0A568.js"),__vite__mapDeps([13,1,2,3,7,8,14,9]),import.meta.url)},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:()=>g(()=>import("./Bu73EIfS.js"),__vite__mapDeps([15,16]),import.meta.url)},{id:"c",name:"C",import:()=>g(()=>import("./BhsLqr-4.js"),[],import.meta.url)},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>g(()=>import("./CEjiMJLT.js"),[],import.meta.url)},{id:"cairo",name:"Cairo",import:()=>g(()=>import("./XF954dHc.js"),__vite__mapDeps([17,18]),import.meta.url)},{id:"clarity",name:"Clarity",import:()=>g(()=>import("./CXmV_HiI.js"),[],import.meta.url)},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>g(()=>import("./mLcCfA0-.js"),[],import.meta.url)},{id:"cmake",name:"CMake",import:()=>g(()=>import("./DbXoA79R.js"),[],import.meta.url)},{id:"cobol",name:"COBOL",import:()=>g(()=>import("./BA1ndEPy.js"),__vite__mapDeps([19,1,2,3,8]),import.meta.url)},{id:"codeowners",name:"CODEOWNERS",import:()=>g(()=>import("./Bp6g37R7.js"),[],import.meta.url)},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>g(()=>import("./Bdprqoiu.js"),[],import.meta.url)},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>g(()=>import("./Cv3cJnDV.js"),__vite__mapDeps([20,2]),import.meta.url)},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>g(()=>import("./CQO4gZEw.js"),[],import.meta.url)},{id:"coq",name:"Coq",import:()=>g(()=>import("./BCzYJAay.js"),[],import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>g(()=>import("./CcPoRNJz.js"),__vite__mapDeps([21,22,23,24,14]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>g(()=>import("./W2lx4xae.js"),__vite__mapDeps([25,1,2,3,14,24,26]),import.meta.url)},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>g(()=>import("./D7v6OrNy.js"),[],import.meta.url)},{id:"css",name:"CSS",import:()=>g(()=>import("./u4bm_LMz.js"),[],import.meta.url)},{id:"csv",name:"CSV",import:()=>g(()=>import("./B0qRVHPH.js"),[],import.meta.url)},{id:"cue",name:"CUE",import:()=>g(()=>import("./DmZ-uG0V.js"),[],import.meta.url)},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>g(()=>import("./DfpIq38s.js"),[],import.meta.url)},{id:"d",name:"D",import:()=>g(()=>import("./B5L7zzq-.js"),[],import.meta.url)},{id:"dart",name:"Dart",import:()=>g(()=>import("./C4Ro8ZjH.js"),[],import.meta.url)},{id:"dax",name:"DAX",import:()=>g(()=>import("./yA8e6OR-.js"),[],import.meta.url)},{id:"desktop",name:"Desktop",import:()=>g(()=>import("./DEIpsLCJ.js"),[],import.meta.url)},{id:"diff",name:"Diff",import:()=>g(()=>import("./Dnfm4U7b.js"),[],import.meta.url)},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>g(()=>import("./COcR7UxN.js"),[],import.meta.url)},{id:"dotenv",name:"dotEnv",import:()=>g(()=>import("./DQxx3LPD.js"),[],import.meta.url)},{id:"dream-maker",name:"Dream Maker",import:()=>g(()=>import("./BMwgFBEQ.js"),[],import.meta.url)},{id:"edge",name:"Edge",import:()=>g(()=>import("./Bv_sPlCv.js"),__vite__mapDeps([27,11,1,2,3,28]),import.meta.url)},{id:"elixir",name:"Elixir",import:()=>g(()=>import("./DhqJCFIX.js"),__vite__mapDeps([29,1,2,3]),import.meta.url)},{id:"elm",name:"Elm",import:()=>g(()=>import("./BzAMEn9Z.js"),__vite__mapDeps([30,23,24]),import.meta.url)},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>g(()=>import("./CMz7PuSU.js"),[],import.meta.url)},{id:"erb",name:"ERB",import:()=>g(()=>import("./5Vw9JATd.js"),__vite__mapDeps([31,1,2,3,32,7,8,14,24,26,33]),import.meta.url)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>g(()=>import("./CMOi41r9.js"),[],import.meta.url)},{id:"fennel",name:"Fennel",import:()=>g(()=>import("./dZn0vQkf.js"),[],import.meta.url)},{id:"fish",name:"Fish",import:()=>g(()=>import("./CQzXS8_C.js"),[],import.meta.url)},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>g(()=>import("./CNRQ974Q.js"),[],import.meta.url)},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>g(()=>import("./IqKf4WGj.js"),__vite__mapDeps([34,35]),import.meta.url)},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>g(()=>import("./B3Z_eaxm.js"),[],import.meta.url)},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>g(()=>import("./BaLI2h1d.js"),__vite__mapDeps([36,37]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>g(()=>import("./BJGgnGWZ.js"),__vite__mapDeps([38,39,40]),import.meta.url)},{id:"gdscript",name:"GDScript",import:()=>g(()=>import("./BIguuW30.js"),[],import.meta.url)},{id:"gdshader",name:"GDShader",import:()=>g(()=>import("./BSHf-0eb.js"),[],import.meta.url)},{id:"genie",name:"Genie",import:()=>g(()=>import("./DJEtsjbi.js"),[],import.meta.url)},{id:"gherkin",name:"Gherkin",import:()=>g(()=>import("./-30QC5Em.js"),[],import.meta.url)},{id:"git-commit",name:"Git Commit Message",import:()=>g(()=>import("./BSPpinrx.js"),__vite__mapDeps([41,42]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>g(()=>import("./s1PdnzAn.js"),__vite__mapDeps([43,26]),import.meta.url)},{id:"gleam",name:"Gleam",import:()=>g(()=>import("./C30t_gpS.js"),[],import.meta.url)},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>g(()=>import("./BhC5s0V7.js"),__vite__mapDeps([44,2,11,3,1]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>g(()=>import("./DvA-6Bhw.js"),__vite__mapDeps([45,11,3,2,1]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>g(()=>import("./CbUnruJU.js"),__vite__mapDeps([23,24]),import.meta.url)},{id:"gnuplot",name:"Gnuplot",import:()=>g(()=>import("./CmWLV2bY.js"),[],import.meta.url)},{id:"go",name:"Go",import:()=>g(()=>import("./C5-9kuJc.js"),[],import.meta.url)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>g(()=>import("./ClV7KpCc.js"),__vite__mapDeps([46,2,11,47,48]),import.meta.url)},{id:"groovy",name:"Groovy",import:()=>g(()=>import("./BWslPs4p.js"),[],import.meta.url)},{id:"hack",name:"Hack",import:()=>g(()=>import("./CeZwWGti.js"),__vite__mapDeps([49,1,2,3,14]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>g(()=>import("./BbalPOsb.js"),__vite__mapDeps([50,2,3]),import.meta.url)},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>g(()=>import("./BYqZ7etr.js"),__vite__mapDeps([51,1,2,3,52]),import.meta.url)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>g(()=>import("./ChDww4um.js"),[],import.meta.url)},{id:"haxe",name:"Haxe",import:()=>g(()=>import("./BgqZeg96.js"),[],import.meta.url)},{id:"hcl",name:"HashiCorp HCL",import:()=>g(()=>import("./Cztwc-HH.js"),[],import.meta.url)},{id:"hjson",name:"Hjson",import:()=>g(()=>import("./D9Bn7OQI.js"),[],import.meta.url)},{id:"hlsl",name:"HLSL",import:()=>g(()=>import("./DkpUthgY.js"),[],import.meta.url)},{id:"html",name:"HTML",import:()=>g(()=>import("./dwbxrGt_.js"),__vite__mapDeps([1,2,3]),import.meta.url)},{id:"html-derivative",name:"HTML (Derivative)",import:()=>g(()=>import("./FMvz1E70.js"),__vite__mapDeps([28,1,2,3]),import.meta.url)},{id:"http",name:"HTTP",import:()=>g(()=>import("./DRhUEtVu.js"),__vite__mapDeps([53,26,9,7,8,46,2,11,47,48]),import.meta.url)},{id:"hxml",name:"HXML",import:()=>g(()=>import("./L9-HYnaW.js"),__vite__mapDeps([54,55]),import.meta.url)},{id:"hy",name:"Hy",import:()=>g(()=>import("./YurBl9Qv.js"),[],import.meta.url)},{id:"imba",name:"Imba",import:()=>g(()=>import("./BoZcIFWd.js"),__vite__mapDeps([56,11]),import.meta.url)},{id:"ini",name:"INI",aliases:["properties"],import:()=>g(()=>import("./BjABl1g7.js"),[],import.meta.url)},{id:"java",name:"Java",import:()=>g(()=>import("./BN40hmum.js"),[],import.meta.url)},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>g(()=>import("./DNgb01dh.js"),[],import.meta.url)},{id:"jinja",name:"Jinja",import:()=>g(()=>import("./BCawSwWi.js"),__vite__mapDeps([57,1,2,3]),import.meta.url)},{id:"jison",name:"Jison",import:()=>g(()=>import("./CK7S-5jS.js"),__vite__mapDeps([58,2]),import.meta.url)},{id:"json",name:"JSON",import:()=>g(()=>import("./DWmkr0yC.js"),[],import.meta.url)},{id:"json5",name:"JSON5",import:()=>g(()=>import("./BDjtpMT8.js"),[],import.meta.url)},{id:"jsonc",name:"JSON with Comments",import:()=>g(()=>import("./B8E-_56i.js"),[],import.meta.url)},{id:"jsonl",name:"JSON Lines",import:()=>g(()=>import("./NKd-Y1zG.js"),[],import.meta.url)},{id:"jsonnet",name:"Jsonnet",import:()=>g(()=>import("./CpRrwcwt.js"),[],import.meta.url)},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>g(()=>import("./DlYXzDlu.js"),[],import.meta.url)},{id:"jsx",name:"JSX",import:()=>g(()=>import("./CM4fc1WH.js"),[],import.meta.url)},{id:"julia",name:"Julia",aliases:["jl"],import:()=>g(()=>import("./DUdzsfxe.js"),__vite__mapDeps([59,21,22,23,24,14,18,2,60]),import.meta.url)},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>g(()=>import("./BZRbnyjI.js"),[],import.meta.url)},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>g(()=>import("./plSVBvJQ.js"),[],import.meta.url)},{id:"latex",name:"LaTeX",import:()=>g(()=>import("./DFW6HATB.js"),__vite__mapDeps([61,62,60]),import.meta.url)},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>g(()=>import("./yLioyJ2E.js"),[],import.meta.url)},{id:"less",name:"Less",import:()=>g(()=>import("./Dk1rBueR.js"),[],import.meta.url)},{id:"liquid",name:"Liquid",import:()=>g(()=>import("./DL4Dju3v.js"),__vite__mapDeps([63,1,2,3,9]),import.meta.url)},{id:"log",name:"Log file",import:()=>g(()=>import("./B4_rEpOs.js"),[],import.meta.url)},{id:"logo",name:"Logo",import:()=>g(()=>import("./Dtn98rcr.js"),[],import.meta.url)},{id:"lua",name:"Lua",import:()=>g(()=>import("./BKbjiiqg.js"),__vite__mapDeps([33,24]),import.meta.url)},{id:"luau",name:"Luau",import:()=>g(()=>import("./DepYB8Ml.js"),[],import.meta.url)},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>g(()=>import("./DNDvMORL.js"),[],import.meta.url)},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>g(()=>import("./CNXuF1yM.js"),[],import.meta.url)},{id:"marko",name:"Marko",import:()=>g(()=>import("./CodIOJDM.js"),__vite__mapDeps([64,3,65,5,2]),import.meta.url)},{id:"matlab",name:"MATLAB",import:()=>g(()=>import("./Kxp7UmFj.js"),[],import.meta.url)},{id:"mdc",name:"MDC",import:()=>g(()=>import("./CMnybHwx.js"),__vite__mapDeps([66,37,52,28,1,2,3]),import.meta.url)},{id:"mdx",name:"MDX",import:()=>g(()=>import("./Bcw97oti.js"),[],import.meta.url)},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:()=>g(()=>import("./BZ3P6AVf.js"),[],import.meta.url)},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:()=>g(()=>import("./BzaEo2Du.js"),[],import.meta.url)},{id:"mojo",name:"Mojo",import:()=>g(()=>import("./B2bjgU-v.js"),[],import.meta.url)},{id:"move",name:"Move",import:()=>g(()=>import("./EZUUsui8.js"),[],import.meta.url)},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>g(()=>import("./DLbgOhZU.js"),[],import.meta.url)},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>g(()=>import("./B2uSYIFn.js"),[],import.meta.url)},{id:"nginx",name:"Nginx",import:()=>g(()=>import("./BjXeLqNd.js"),__vite__mapDeps([67,33,24]),import.meta.url)},{id:"nim",name:"Nim",import:()=>g(()=>import("./CuIYtGag.js"),__vite__mapDeps([68,24,1,2,3,7,8,23,37]),import.meta.url)},{id:"nix",name:"Nix",import:()=>g(()=>import("./DVWcdiGS.js"),[],import.meta.url)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>g(()=>import("./ZJvK9Z2N.js"),[],import.meta.url)},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>g(()=>import("./B6NdQBKR.js"),[],import.meta.url)},{id:"objective-cpp",name:"Objective-C++",import:()=>g(()=>import("./BkG9CdHo.js"),[],import.meta.url)},{id:"ocaml",name:"OCaml",import:()=>g(()=>import("./CLmbwNS9.js"),[],import.meta.url)},{id:"pascal",name:"Pascal",import:()=>g(()=>import("./JqZropPD.js"),[],import.meta.url)},{id:"perl",name:"Perl",import:()=>g(()=>import("./D2O4HAMr.js"),__vite__mapDeps([69,1,2,3,7,8,14]),import.meta.url)},{id:"php",name:"PHP",import:()=>g(()=>import("./CI15r38m.js"),__vite__mapDeps([70,1,2,3,7,8,14,9]),import.meta.url)},{id:"plsql",name:"PL/SQL",import:()=>g(()=>import("./LKU2TuZ1.js"),[],import.meta.url)},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>g(()=>import("./BFLt1xDp.js"),[],import.meta.url)},{id:"postcss",name:"PostCSS",import:()=>g(()=>import("./DmF4-xLG.js"),[],import.meta.url)},{id:"powerquery",name:"PowerQuery",import:()=>g(()=>import("./ByY1Guvr.js"),[],import.meta.url)},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>g(()=>import("./DES0gjzB.js"),[],import.meta.url)},{id:"prisma",name:"Prisma",import:()=>g(()=>import("./DFIOpqzz.js"),[],import.meta.url)},{id:"prolog",name:"Prolog",import:()=>g(()=>import("./BNxDCkIA.js"),[],import.meta.url)},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>g(()=>import("./hdsyEllQ.js"),[],import.meta.url)},{id:"pug",name:"Pug",aliases:["jade"],import:()=>g(()=>import("./i22b9gbM.js"),__vite__mapDeps([71,2,3,1]),import.meta.url)},{id:"puppet",name:"Puppet",import:()=>g(()=>import("./DWMP3yrW.js"),[],import.meta.url)},{id:"purescript",name:"PureScript",import:()=>g(()=>import("./DvQyZZSe.js"),[],import.meta.url)},{id:"python",name:"Python",aliases:["py"],import:()=>g(()=>import("./CK56Z9cH.js"),[],import.meta.url)},{id:"qml",name:"QML",import:()=>g(()=>import("./xfgw03QH.js"),__vite__mapDeps([72,2]),import.meta.url)},{id:"qmldir",name:"QML Directory",import:()=>g(()=>import("./C8lEn-DE.js"),[],import.meta.url)},{id:"qss",name:"Qt Style Sheets",import:()=>g(()=>import("./DhMKtDLN.js"),[],import.meta.url)},{id:"r",name:"R",import:()=>g(()=>import("./Cqv5JV-q.js"),[],import.meta.url)},{id:"racket",name:"Racket",import:()=>g(()=>import("./CwIbMU3B.js"),[],import.meta.url)},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>g(()=>import("./DZ4hUExO.js"),[],import.meta.url)},{id:"razor",name:"ASP.NET Razor",import:()=>g(()=>import("./KUYRHWK4.js"),__vite__mapDeps([73,1,2,3,74]),import.meta.url)},{id:"reg",name:"Windows Registry Script",import:()=>g(()=>import("./CrOfvjVs.js"),[],import.meta.url)},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>g(()=>import("./DoiKbUTj.js"),[],import.meta.url)},{id:"rel",name:"Rel",import:()=>g(()=>import("./Dzwn3p-3.js"),[],import.meta.url)},{id:"riscv",name:"RISC-V",import:()=>g(()=>import("./BGct0Hx7.js"),[],import.meta.url)},{id:"rst",name:"reStructuredText",import:()=>g(()=>import("./CnsmiicP.js"),__vite__mapDeps([75,28,1,2,3,21,22,23,24,14,18,26,52,76,32,7,8,33]),import.meta.url)},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>g(()=>import("./DhG9BCpW.js"),__vite__mapDeps([32,1,2,3,7,8,14,24,26,33]),import.meta.url)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>g(()=>import("./Bjs2cL5p.js"),[],import.meta.url)},{id:"sas",name:"SAS",import:()=>g(()=>import("./i5HCB2tm.js"),__vite__mapDeps([77,14]),import.meta.url)},{id:"sass",name:"Sass",import:()=>g(()=>import("./BrbOHqWv.js"),[],import.meta.url)},{id:"scala",name:"Scala",import:()=>g(()=>import("./Lp17StYA.js"),[],import.meta.url)},{id:"scheme",name:"Scheme",import:()=>g(()=>import("./BbccZ3y2.js"),[],import.meta.url)},{id:"scss",name:"SCSS",import:()=>g(()=>import("./eACALr6E.js"),__vite__mapDeps([5,3]),import.meta.url)},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:()=>g(()=>import("./BLhTXw86.js"),[],import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>g(()=>import("./bGS5FTDY.js"),__vite__mapDeps([78,79]),import.meta.url)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>g(()=>import("./HNM5thJl.js"),[],import.meta.url)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>g(()=>import("./BTbGKmhu.js"),__vite__mapDeps([80,26]),import.meta.url)},{id:"smalltalk",name:"Smalltalk",import:()=>g(()=>import("./DsCg8CPl.js"),[],import.meta.url)},{id:"solidity",name:"Solidity",import:()=>g(()=>import("./DymQr0nX.js"),[],import.meta.url)},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>g(()=>import("./CY2R9RuK.js"),__vite__mapDeps([81,1,2,3]),import.meta.url)},{id:"sparql",name:"SPARQL",import:()=>g(()=>import("./8Uu6eIa-.js"),__vite__mapDeps([82,83]),import.meta.url)},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>g(()=>import("./j_FrBdja.js"),[],import.meta.url)},{id:"sql",name:"SQL",import:()=>g(()=>import("./D8nBeWSR.js"),[],import.meta.url)},{id:"ssh-config",name:"SSH Config",import:()=>g(()=>import("./D-RymO5g.js"),[],import.meta.url)},{id:"stata",name:"Stata",import:()=>g(()=>import("./-ALZ4IvE.js"),__vite__mapDeps([84,14]),import.meta.url)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>g(()=>import("./DwU8c_yx.js"),[],import.meta.url)},{id:"svelte",name:"Svelte",import:()=>g(()=>import("./DhRVplvY.js"),__vite__mapDeps([85,2,11,3,12]),import.meta.url)},{id:"swift",name:"Swift",import:()=>g(()=>import("./D2TqM893.js"),[],import.meta.url)},{id:"system-verilog",name:"SystemVerilog",import:()=>g(()=>import("./DFQ4Xr-4.js"),[],import.meta.url)},{id:"systemd",name:"Systemd Units",import:()=>g(()=>import("./DA0ESIWO.js"),[],import.meta.url)},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:()=>g(()=>import("./CGXjegLJ.js"),[],import.meta.url)},{id:"tasl",name:"Tasl",import:()=>g(()=>import("./CQjiPCtT.js"),[],import.meta.url)},{id:"tcl",name:"Tcl",import:()=>g(()=>import("./NUI3YrRW.js"),[],import.meta.url)},{id:"templ",name:"Templ",import:()=>g(()=>import("./BnfnAR_u.js"),__vite__mapDeps([86,87,2,3]),import.meta.url)},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>g(()=>import("./rf8nNrOk.js"),[],import.meta.url)},{id:"tex",name:"TeX",import:()=>g(()=>import("./BJNXdUBN.js"),__vite__mapDeps([62,60]),import.meta.url)},{id:"toml",name:"TOML",import:()=>g(()=>import("./Dwo6uFCY.js"),[],import.meta.url)},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>g(()=>import("./Db-JQHi3.js"),__vite__mapDeps([88,11,3,2,23,24,1,14,7,8]),import.meta.url)},{id:"tsv",name:"TSV",import:()=>g(()=>import("./B_m7g4N7.js"),[],import.meta.url)},{id:"tsx",name:"TSX",import:()=>g(()=>import("./DqpEK-75.js"),[],import.meta.url)},{id:"turtle",name:"Turtle",import:()=>g(()=>import("./C0hdQUNN.js"),[],import.meta.url)},{id:"twig",name:"Twig",import:()=>g(()=>import("./CWJejSyX.js"),__vite__mapDeps([89,3,2,5,70,1,7,8,14,9,18,32,24,26,33]),import.meta.url)},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>g(()=>import("./CVESyXxo.js"),[],import.meta.url)},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>g(()=>import("./B_R80ZlN.js"),[],import.meta.url)},{id:"typst",name:"Typst",aliases:["typ"],import:()=>g(()=>import("./F89DG-fP.js"),[],import.meta.url)},{id:"v",name:"V",import:()=>g(()=>import("./DH4N8IuU.js"),[],import.meta.url)},{id:"vala",name:"Vala",import:()=>g(()=>import("./C8pgRvQH.js"),[],import.meta.url)},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>g(()=>import("./Bv-mwDEg.js"),[],import.meta.url)},{id:"verilog",name:"Verilog",import:()=>g(()=>import("./6RUVFG9U.js"),[],import.meta.url)},{id:"vhdl",name:"VHDL",import:()=>g(()=>import("./IBB5Tl9j.js"),[],import.meta.url)},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>g(()=>import("./CIxipgmy.js"),[],import.meta.url)},{id:"vue",name:"Vue",import:()=>g(()=>import("./CBzZD_Xh.js"),__vite__mapDeps([90,1,2,3,11,9,28]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>g(()=>import("./CKfqYE_r.js"),__vite__mapDeps([91,90,1,2,3,11,9,28]),import.meta.url)},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>g(()=>import("./DzaHHFTY.js"),[],import.meta.url)},{id:"wasm",name:"WebAssembly",import:()=>g(()=>import("./sH2JAGjN.js"),[],import.meta.url)},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>g(()=>import("./7A4Fjokl.js"),[],import.meta.url)},{id:"wgsl",name:"WGSL",import:()=>g(()=>import("./CSoQzgif.js"),[],import.meta.url)},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>g(()=>import("./BqtQrzRp.js"),[],import.meta.url)},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>g(()=>import("./aeT0-ak7.js"),[],import.meta.url)},{id:"xml",name:"XML",import:()=>g(()=>import("./CkqQx3Va.js"),__vite__mapDeps([7,8]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>g(()=>import("./Bnbw1zOw.js"),__vite__mapDeps([92,7,8]),import.meta.url)},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>g(()=>import("./CIiI48o2.js"),[],import.meta.url)},{id:"zenscript",name:"ZenScript",import:()=>g(()=>import("./NgWrSVUg.js"),[],import.meta.url)},{id:"zig",name:"Zig",import:()=>g(()=>import("./D44NvAEk.js"),[],import.meta.url)}],xy=Object.fromEntries(Vf.map(e=>[e.id,e.import])),Ly=Object.fromEntries(Vf.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(n=>[n,e.import]))||[]})),Oy={...xy,...Ly},ky=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>g(()=>import("./C3khCPGq.js"),[],import.meta.url)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>g(()=>import("./D-2ljcwZ.js"),[],import.meta.url)},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>g(()=>import("./Cv9koXgw.js"),[],import.meta.url)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>g(()=>import("./CD_QflpE.js"),[],import.meta.url)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>g(()=>import("./DRW-0cLl.js"),[],import.meta.url)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>g(()=>import("./C-_shW-Y.js"),[],import.meta.url)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>g(()=>import("./LGGdnPYs.js"),[],import.meta.url)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>g(()=>import("./B74Y8nHz.js"),[],import.meta.url)},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:()=>g(()=>import("./BzJJZx-M.js"),[],import.meta.url)},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:()=>g(()=>import("./BXkSAIEj.js"),[],import.meta.url)},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:()=>g(()=>import("./BgDCqdQA.js"),[],import.meta.url)},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:()=>g(()=>import("./C8M2exoo.js"),[],import.meta.url)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>g(()=>import("./DHJKELXO.js"),[],import.meta.url)},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>g(()=>import("./Cuk6v7N8.js"),[],import.meta.url)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>g(()=>import("./DH5Ifo-i.js"),[],import.meta.url)},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:()=>g(()=>import("./E3gJ1_iC.js"),[],import.meta.url)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>g(()=>import("./DAi9KRSo.js"),[],import.meta.url)},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>g(()=>import("./D7oLnXFd.js"),[],import.meta.url)},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:()=>g(()=>import("./BfjtVDDH.js"),[],import.meta.url)},{id:"houston",displayName:"Houston",type:"dark",import:()=>g(()=>import("./DnULxvSX.js"),[],import.meta.url)},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:()=>g(()=>import("./RXHOmnpW.js"),[],import.meta.url)},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:()=>g(()=>import("./zchoCBdH.js"),[],import.meta.url)},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:()=>g(()=>import("./2aygx1xg.js"),[],import.meta.url)},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>g(()=>import("./DUszq2jm.js"),[],import.meta.url)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>g(()=>import("./w1el_4yc.js"),[],import.meta.url)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>g(()=>import("./D5KoaKCx.js"),[],import.meta.url)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>g(()=>import("./BfHTSMKl.js"),[],import.meta.url)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>g(()=>import("./B0m2ddpp.js"),[],import.meta.url)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>g(()=>import("./CyktbL80.js"),[],import.meta.url)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>g(()=>import("./Csfq5Kiy.js"),[],import.meta.url)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>g(()=>import("./CafNBF8u.js"),[],import.meta.url)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>g(()=>import("./CTRr51gU.js"),[],import.meta.url)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>g(()=>import("./CQWsIgnU.js"),[],import.meta.url)},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>g(()=>import("./DdAYiE08.js"),[],import.meta.url)},{id:"nord",displayName:"Nord",type:"dark",import:()=>g(()=>import("./Ddv68eIx.js"),[],import.meta.url)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>g(()=>import("./GBQ2dnAY.js"),[],import.meta.url)},{id:"one-light",displayName:"One Light",type:"light",import:()=>g(()=>import("./PoHY5YXO.js"),[],import.meta.url)},{id:"plastic",displayName:"Plastic",type:"dark",import:()=>g(()=>import("./3e1v2bzS.js"),[],import.meta.url)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>g(()=>import("./CS3Unz2-.js"),[],import.meta.url)},{id:"red",displayName:"Red",type:"dark",import:()=>g(()=>import("./2pWuV6-S.js"),[],import.meta.url)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>g(()=>import("./CmCqftbK.js"),[],import.meta.url)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>g(()=>import("./Ds-gbosJ.js"),[],import.meta.url)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>g(()=>import("./CjDtw9vr.js"),[],import.meta.url)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>g(()=>import("./BthQWCQV.js"),[],import.meta.url)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>g(()=>import("./DqwNpetd.js"),[],import.meta.url)},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>g(()=>import("./Bw305WKR.js"),[],import.meta.url)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>g(()=>import("./CmY0Y6Yh.js"),[],import.meta.url)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>g(()=>import("./DZQMDcrx.js"),[],import.meta.url)},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>g(()=>import("./CbfX1IO0.js"),[],import.meta.url)},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>g(()=>import("./DBQeEorK.js"),[],import.meta.url)},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>g(()=>import("./BEBZ7ncR.js"),[],import.meta.url)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>g(()=>import("./Bkuqu6BP.js"),[],import.meta.url)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>g(()=>import("./D0r3Knsf.js"),[],import.meta.url)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>g(()=>import("./CVO1_9PV.js"),[],import.meta.url)}],Iy=Object.fromEntries(ky.map(e=>[e.id,e.import]));let Rt=class extends Error{constructor(t){super(t),this.name="ShikiError"}},ia=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function Dy(){return 2147483648}function Ny(){return typeof performance<"u"?performance.now():Date.now()}const $y=(e,t)=>e+(t-e%t)%t;async function My(e){let t,n;const r={};function o(d){n=d,r.HEAPU8=new Uint8Array(d),r.HEAPU32=new Uint32Array(d)}function i(d,h,_){r.HEAPU8.copyWithin(d,h,h+_)}function s(d){try{return t.grow(d-n.byteLength+65535>>>16),o(t.buffer),1}catch{}}function a(d){const h=r.HEAPU8.length;d=d>>>0;const _=Dy();if(d>_)return!1;for(let v=1;v<=4;v*=2){let y=h*(1+.2/v);y=Math.min(y,d+100663296);const E=Math.min(_,$y(Math.max(d,y),65536));if(s(E))return!0}return!1}const l=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function c(d,h,_=1024){const v=h+_;let y=h;for(;d[y]&&!(y>=v);)++y;if(y-h>16&&d.buffer&&l)return l.decode(d.subarray(h,y));let E="";for(;h<y;){let m=d[h++];if(!(m&128)){E+=String.fromCharCode(m);continue}const w=d[h++]&63;if((m&224)===192){E+=String.fromCharCode((m&31)<<6|w);continue}const S=d[h++]&63;if((m&240)===224?m=(m&15)<<12|w<<6|S:m=(m&7)<<18|w<<12|S<<6|d[h++]&63,m<65536)E+=String.fromCharCode(m);else{const P=m-65536;E+=String.fromCharCode(55296|P>>10,56320|P&1023)}}return E}function u(d,h){return d?c(r.HEAPU8,d,h):""}const f={emscripten_get_now:Ny,emscripten_memcpy_big:i,emscripten_resize_heap:a,fd_write:()=>0};async function p(){const h=await e({env:f,wasi_snapshot_preview1:f});t=h.memory,o(t.buffer),Object.assign(r,h),r.UTF8ToString=u}return await p(),r}let Re=null;function Hy(e){throw new ia(e.UTF8ToString(e.getLastOnigError()))}class oi{constructor(t){be(this,"utf16Length");be(this,"utf8Length");be(this,"utf16Value");be(this,"utf8Value");be(this,"utf16OffsetToUtf8");be(this,"utf8OffsetToUtf16");const n=t.length,r=oi._utf8ByteLength(t),o=r!==n,i=o?new Uint32Array(n+1):null;o&&(i[n]=r);const s=o?new Uint32Array(r+1):null;o&&(s[r]=n);const a=new Uint8Array(r);let l=0;for(let c=0;c<n;c++){const u=t.charCodeAt(c);let f=u,p=!1;if(u>=55296&&u<=56319&&c+1<n){const d=t.charCodeAt(c+1);d>=56320&&d<=57343&&(f=(u-55296<<10)+65536|d-56320,p=!0)}o&&(i[c]=l,p&&(i[c+1]=l),f<=127?s[l+0]=c:f<=2047?(s[l+0]=c,s[l+1]=c):f<=65535?(s[l+0]=c,s[l+1]=c,s[l+2]=c):(s[l+0]=c,s[l+1]=c,s[l+2]=c,s[l+3]=c)),f<=127?a[l++]=f:f<=2047?(a[l++]=192|(f&1984)>>>6,a[l++]=128|(f&63)>>>0):f<=65535?(a[l++]=224|(f&61440)>>>12,a[l++]=128|(f&4032)>>>6,a[l++]=128|(f&63)>>>0):(a[l++]=240|(f&1835008)>>>18,a[l++]=128|(f&258048)>>>12,a[l++]=128|(f&4032)>>>6,a[l++]=128|(f&63)>>>0),p&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=a,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=s}static _utf8ByteLength(t){let n=0;for(let r=0,o=t.length;r<o;r++){const i=t.charCodeAt(r);let s=i,a=!1;if(i>=55296&&i<=56319&&r+1<o){const l=t.charCodeAt(r+1);l>=56320&&l<=57343&&(s=(i-55296<<10)+65536|l-56320,a=!0)}s<=127?n+=1:s<=2047?n+=2:s<=65535?n+=3:n+=4,a&&r++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const Fe=class Fe{constructor(t){be(this,"id",++Fe.LAST_ID);be(this,"_onigBinding");be(this,"content");be(this,"utf16Length");be(this,"utf8Length");be(this,"utf16OffsetToUtf8");be(this,"utf8OffsetToUtf16");be(this,"ptr");if(!Re)throw new ia("Must invoke loadWasm first.");this._onigBinding=Re,this.content=t;const n=new oi(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Fe._sharedPtrInUse?(Fe._sharedPtr||(Fe._sharedPtr=Re.omalloc(1e4)),Fe._sharedPtrInUse=!0,Re.HEAPU8.set(n.utf8Value,Fe._sharedPtr),this.ptr=Fe._sharedPtr):this.ptr=n.createString(Re)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===Fe._sharedPtr?Fe._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};be(Fe,"LAST_ID",0),be(Fe,"_sharedPtr",0),be(Fe,"_sharedPtrInUse",!1);let Ao=Fe;class Vy{constructor(t){be(this,"_onigBinding");be(this,"_ptr");if(!Re)throw new ia("Must invoke loadWasm first.");const n=[],r=[];for(let a=0,l=t.length;a<l;a++){const c=new oi(t[a]);n[a]=c.createString(Re),r[a]=c.utf8Length}const o=Re.omalloc(4*t.length);Re.HEAPU32.set(n,o/4);const i=Re.omalloc(4*t.length);Re.HEAPU32.set(r,i/4);const s=Re.createOnigScanner(o,i,t.length);for(let a=0,l=t.length;a<l;a++)Re.ofree(n[a]);Re.ofree(i),Re.ofree(o),s===0&&Hy(Re),this._onigBinding=Re,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let o=0;if(typeof r=="number"&&(o=r),typeof t=="string"){t=new Ao(t);const i=this._findNextMatchSync(t,n,!1,o);return t.dispose(),i}return this._findNextMatchSync(t,n,!1,o)}_findNextMatchSync(t,n,r,o){const i=this._onigBinding,s=i.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o);if(s===0)return null;const a=i.HEAPU32;let l=s/4;const c=a[l++],u=a[l++],f=[];for(let p=0;p<u;p++){const d=t.convertUtf8OffsetToUtf16(a[l++]),h=t.convertUtf8OffsetToUtf16(a[l++]);f[p]={start:d,end:h,length:h-d}}return{index:c,captureIndices:f}}}function By(e){return typeof e.instantiator=="function"}function jy(e){return typeof e.default=="function"}function Fy(e){return typeof e.data<"u"}function Uy(e){return typeof Response<"u"&&e instanceof Response}function Wy(e){var t;return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&((t=Buffer.isBuffer)==null?void 0:t.call(Buffer,e))||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}let Fr;function Gy(e){if(Fr)return Fr;async function t(){Re=await My(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),By(r)?r=await r.instantiator(n):jy(r)?r=await r.default(n):(Fy(r)&&(r=r.data),Uy(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await zy(r)(n):r=await qy(r)(n):Wy(r)?r=await Li(r)(n):r instanceof WebAssembly.Module?r=await Li(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await Li(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Fr=t(),Fr}function Li(e){return t=>WebAssembly.instantiate(e,t)}function zy(e){return t=>WebAssembly.instantiateStreaming(e,t)}function qy(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}let Ky;function Jy(){return Ky}async function Bf(e){return e&&await Gy(e),{createScanner(t){return new Vy(t)},createString(t){return new Ao(t)}}}function Xy(e){return sa(e)}function sa(e){return Array.isArray(e)?Yy(e):typeof e=="object"?Qy(e):e}function Yy(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=sa(e[n]);return t}function Qy(e){let t={};for(let n in e)t[n]=sa(e[n]);return t}function jf(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function Ff(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Ff(e.substring(0,e.length-1)):e.substr(~t+1)}var Oi=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,Ur=class{static hasCaptures(e){return e===null?!1:(Oi.lastIndex=0,Oi.test(e))}static replaceCaptures(e,t,n){return e.replace(Oi,(r,o,i,s)=>{let a=n[parseInt(o||i,10)];if(a){let l=t.substring(a.start,a.end);for(;l[0]===".";)l=l.substring(1);switch(s){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return r})}};function Uf(e,t){return e<t?-1:e>t?1:0}function Wf(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let o=0;o<n;o++){let i=Uf(e[o],t[o]);if(i!==0)return i}return 0}return n-r}function Vl(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function Gf(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var zf=class{constructor(e){this.fn=e,this.cache=new Map}get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},Ro=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n,this._cachedMatchRoot=new zf(r=>this._root.match(r))}static createFromRawTheme(e,t){return this.createFromParsedTheme(tv(e),t)}static createFromParsedTheme(e,t){return rv(e,t)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,r=this._cachedMatchRoot.get(t).find(o=>Zy(e.parent,o.parentScopes));return r?new qf(r.fontStyle,r.foreground,r.background):null}},ki=class eo{constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new eo(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new eo(n,t[r]);return n}push(t){return new eo(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}};function Zy(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],o=!1;if(r===">"){if(n===t.length-1)return!1;r=t[++n],o=!0}for(;e&&!ev(e.scopeName,r);){if(o)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function ev(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var qf=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function tv(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let o=0,i=t.length;o<i;o++){let s=t[o];if(!s.settings)continue;let a;if(typeof s.scope=="string"){let f=s.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),a=f.split(",")}else Array.isArray(s.scope)?a=s.scope:a=[""];let l=-1;if(typeof s.settings.fontStyle=="string"){l=0;let f=s.settings.fontStyle.split(" ");for(let p=0,d=f.length;p<d;p++)switch(f[p]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let c=null;typeof s.settings.foreground=="string"&&Vl(s.settings.foreground)&&(c=s.settings.foreground);let u=null;typeof s.settings.background=="string"&&Vl(s.settings.background)&&(u=s.settings.background);for(let f=0,p=a.length;f<p;f++){let h=a[f].trim().split(" "),_=h[h.length-1],v=null;h.length>1&&(v=h.slice(0,h.length-1),v.reverse()),n[r++]=new nv(_,v,o,l,c,u)}}return n}var nv=class{constructor(e,t,n,r,o,i){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=o,this.background=i}},At=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(At||{});function rv(e,t){e.sort((l,c)=>{let u=Uf(l.scope,c.scope);return u!==0||(u=Wf(l.parentScopes,c.parentScopes),u!==0)?u:l.index-c.index});let n=0,r="#000000",o="#ffffff";for(;e.length>=1&&e[0].scope==="";){let l=e.shift();l.fontStyle!==-1&&(n=l.fontStyle),l.foreground!==null&&(r=l.foreground),l.background!==null&&(o=l.background)}let i=new ov(t),s=new qf(n,i.getId(r),i.getId(o)),a=new sv(new hs(0,null,-1,0,0),[]);for(let l=0,c=e.length;l<c;l++){let u=e[l];a.insert(0,u.scope,u.parentScopes,u.fontStyle,i.getId(u.foreground),i.getId(u.background))}return new Ro(i,s,a)}var ov=class{constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},iv=Object.freeze([]),hs=class Kf{constructor(t,n,r,o,i){this.scopeDepth=t,this.parentScopes=n||iv,this.fontStyle=r,this.foreground=o,this.background=i}clone(){return new Kf(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,o=t.length;r<o;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,o){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),o!==0&&(this.background=o)}},sv=class ms{constructor(t,n=[],r={}){this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _cmpBySpecificity(t,n){if(t.scopeDepth!==n.scopeDepth)return n.scopeDepth-t.scopeDepth;let r=0,o=0;for(;t.parentScopes[r]===">"&&r++,n.parentScopes[o]===">"&&o++,!(r>=t.parentScopes.length||o>=n.parentScopes.length);){const i=n.parentScopes[o].length-t.parentScopes[r].length;if(i!==0)return i;r++,o++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let r=t.indexOf("."),o,i;if(r===-1?(o=t,i=""):(o=t.substring(0,r),i=t.substring(r+1)),this._children.hasOwnProperty(o))return this._children[o].match(i)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(ms._cmpBySpecificity),n}insert(t,n,r,o,i,s){if(n===""){this._doInsertHere(t,r,o,i,s);return}let a=n.indexOf("."),l,c;a===-1?(l=n,c=""):(l=n.substring(0,a),c=n.substring(a+1));let u;this._children.hasOwnProperty(l)?u=this._children[l]:(u=new ms(this._mainRule.clone(),hs.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(t+1,c,r,o,i,s)}_doInsertHere(t,n,r,o,i){if(n===null){this._mainRule.acceptOverwrite(t,r,o,i);return}for(let s=0,a=this._rulesWithParentScopes.length;s<a;s++){let l=this._rulesWithParentScopes[s];if(Wf(l.parentScopes,n)===0){l.acceptOverwrite(t,r,o,i);return}}r===-1&&(r=this._mainRule.fontStyle),o===0&&(o=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new hs(t,n,r,o,i))}},Bn=class Ye{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=Ye.getLanguageId(t),r=Ye.getTokenType(t),o=Ye.getFontStyle(t),i=Ye.getForeground(t),s=Ye.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:o,foreground:i,background:s})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,n,r,o,i,s,a){let l=Ye.getLanguageId(t),c=Ye.getTokenType(t),u=Ye.containsBalancedBrackets(t)?1:0,f=Ye.getFontStyle(t),p=Ye.getForeground(t),d=Ye.getBackground(t);return n!==0&&(l=n),r!==8&&(c=r),o!==null&&(u=o?1:0),i!==-1&&(f=i),s!==0&&(p=s),a!==0&&(d=a),(l<<0|c<<8|u<<10|f<<11|p<<15|d<<24)>>>0}};function xo(e,t){const n=[],r=av(e);let o=r.next();for(;o!==null;){let l=0;if(o.length===2&&o.charAt(1)===":"){switch(o.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${o} in scope selector`)}o=r.next()}let c=s();if(n.push({matcher:c,priority:l}),o!==",")break;o=r.next()}return n;function i(){if(o==="-"){o=r.next();const l=i();return c=>!!l&&!l(c)}if(o==="("){o=r.next();const l=a();return o===")"&&(o=r.next()),l}if(Bl(o)){const l=[];do l.push(o),o=r.next();while(Bl(o));return c=>t(l,c)}return null}function s(){const l=[];let c=i();for(;c;)l.push(c),c=i();return u=>l.every(f=>f(u))}function a(){const l=[];let c=s();for(;c&&(l.push(c),o==="|"||o===",");){do o=r.next();while(o==="|"||o===",");c=s()}return u=>l.some(f=>f(u))}}function Bl(e){return!!e&&!!e.match(/[\w\.:]+/)}function av(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}function Jf(e){typeof e.dispose=="function"&&e.dispose()}var yr=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},lv=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},cv=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},uv=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new yr(this.initialScopeName)]}processQueue(){const e=this.Q;this.Q=[];const t=new cv;for(const n of e)fv(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof yr){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function fv(e,t,n,r){const o=n.lookup(e.scopeName);if(!o){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const i=n.lookup(t);e instanceof yr?to({baseGrammar:i,selfGrammar:o},r):gs(e.ruleName,{baseGrammar:i,selfGrammar:o,repository:o.repository},r);const s=n.injections(e.scopeName);if(s)for(const a of s)r.add(new yr(a))}function gs(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];Lo([r],t,n)}}function to(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&Lo(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&Lo(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function Lo(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?jf({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&Lo(r.patterns,{...t,repository:o},n);const i=r.include;if(!i)continue;const s=Xf(i);switch(s.kind){case 0:to({...t,selfGrammar:t.baseGrammar},n);break;case 1:to(t,n);break;case 2:gs(s.ruleName,{...t,repository:o},n);break;case 3:case 4:const a=s.scopeName===t.selfGrammar.scopeName?t.selfGrammar:s.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(a){const l={baseGrammar:t.baseGrammar,selfGrammar:a,repository:o};s.kind===4?gs(s.ruleName,l,n):to(l,n)}else s.kind===4?n.add(new lv(s.scopeName,s.ruleName)):n.add(new yr(s.scopeName));break}}}var dv=class{constructor(){this.kind=0}},pv=class{constructor(){this.kind=1}},hv=class{constructor(e){this.ruleName=e,this.kind=2}},mv=class{constructor(e){this.scopeName=e,this.kind=3}},gv=class{constructor(e,t){this.scopeName=e,this.ruleName=t,this.kind=4}};function Xf(e){if(e==="$base")return new dv;if(e==="$self")return new pv;const t=e.indexOf("#");if(t===-1)return new mv(e);if(t===0)return new hv(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new gv(n,r)}}var _v=/\\(\d+)/,jl=/\\(\d+)/g,yv=-1,Yf=-2;var xr=class{constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=Ur.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=Ur.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${Ff(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:Ur.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:Ur.replaceCaptures(this._contentName,e,t)}},vv=class extends xr{constructor(e,t,n,r,o){super(e,t,n,r),this.retokenizeCapturedWithRuleId=o}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,n,r){throw new Error("Not supported!")}},bv=class extends xr{constructor(e,t,n,r,o){super(e,t,n,null),this._match=new vr(r,this.id),this.captures=o,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new br,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Fl=class extends xr{constructor(e,t,n,r,o){super(e,t,n,r),this.patterns=o.patterns,this.hasMissingPatterns=o.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new br,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},_s=class extends xr{constructor(e,t,n,r,o,i,s,a,l,c){super(e,t,n,r),this._begin=new vr(o,this.id),this.beginCaptures=i,this._end=new vr(s||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=a,this.applyEndPatternLast=l||!1,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new br;for(const n of this.patterns)e.getRule(n).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},Oo=class extends xr{constructor(e,t,n,r,o,i,s,a,l){super(e,t,n,r),this._begin=new vr(o,this.id),this.beginCaptures=i,this.whileCaptures=a,this._while=new vr(s,Yf),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new br;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new br,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||""),this._cachedCompiledWhilePatterns}},Qf=class Ie{static createCaptureRule(t,n,r,o,i){return t.registerRule(s=>new vv(n,s,r,o,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(o=>{if(t.id=o,t.match)return new bv(t.$vscodeTextmateLocation,t.id,t.name,t.match,Ie._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=jf({},r,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new Fl(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Ie._compilePatterns(i,n,r))}return t.while?new Oo(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Ie._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,Ie._compileCaptures(t.whileCaptures||t.captures,n,r),Ie._compilePatterns(t.patterns,n,r)):new _s(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Ie._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,Ie._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,Ie._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let o=[];if(t){let i=0;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const a=parseInt(s,10);a>i&&(i=a)}for(let s=0;s<=i;s++)o[s]=null;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const a=parseInt(s,10);let l=0;t[s].patterns&&(l=Ie.getCompiledRuleId(t[s],n,r)),o[a]=Ie.createCaptureRule(n,t[s].$vscodeTextmateLocation,t[s].name,t[s].contentName,l)}}return o}static _compilePatterns(t,n,r){let o=[];if(t)for(let i=0,s=t.length;i<s;i++){const a=t[i];let l=-1;if(a.include){const c=Xf(a.include);switch(c.kind){case 0:case 1:l=Ie.getCompiledRuleId(r[a.include],n,r);break;case 2:let u=r[c.ruleName];u&&(l=Ie.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,p=c.kind===4?c.ruleName:null,d=n.getExternalGrammar(f,r);if(d)if(p){let h=d.repository[p];h&&(l=Ie.getCompiledRuleId(h,n,d.repository))}else l=Ie.getCompiledRuleId(d.repository.$self,n,d.repository);break}}else l=Ie.getCompiledRuleId(a,n,r);if(l!==-1){const c=n.getRule(l);let u=!1;if((c instanceof Fl||c instanceof _s||c instanceof Oo)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;o.push(l)}}return{patterns:o,hasMissingPatterns:(t?t.length:0)!==o.length}}},vr=class Zf{constructor(t,n){if(t){const r=t.length;let o=0,i=[],s=!1;for(let a=0;a<r;a++)if(t.charAt(a)==="\\"&&a+1<r){const c=t.charAt(a+1);c==="z"?(i.push(t.substring(o,a)),i.push("$(?!\\n)(?<!\\n)"),o=a+2):(c==="A"||c==="G")&&(s=!0),a++}this.hasAnchor=s,o===0?this.source=t:(i.push(t.substring(o,r)),this.source=i.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,this.hasBackReferences=_v.test(this.source)}clone(){return new Zf(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){let r=n.map(o=>t.substring(o.start,o.end));return jl.lastIndex=0,this.source.replace(jl,(o,i)=>Gf(r[parseInt(i,10)]||""))}_buildAnchorCache(){let t=[],n=[],r=[],o=[],i,s,a,l;for(i=0,s=this.source.length;i<s;i++)a=this.source.charAt(i),t[i]=a,n[i]=a,r[i]=a,o[i]=a,a==="\\"&&i+1<s&&(l=this.source.charAt(i+1),l==="A"?(t[i+1]="",n[i+1]="",r[i+1]="A",o[i+1]="A"):l==="G"?(t[i+1]="",n[i+1]="G",r[i+1]="",o[i+1]="G"):(t[i+1]=l,n[i+1]=l,r[i+1]=l,o[i+1]=l),i++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:o.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},br=class{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(n=>n.source);this._cached=new Ul(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let r=this._items.map(o=>o.resolveAnchors(t,n));return new Ul(e,r,this._items.map(o=>o.ruleId))}},Ul=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join(`
|
|
20
|
+
`)}findNextMatchSync(e,t,n){const r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},ys=class{constructor(e,t){this.languageId=e,this.tokenType=t}},aa=class vs{constructor(t,n){this._getBasicScopeAttributes=new zf(r=>{const o=this._scopeToLanguage(r),i=this._toStandardTokenType(r);return new ys(o,i)}),this._defaultAttributes=new ys(t,8),this._embeddedLanguagesMatcher=new Ev(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?vs._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(vs.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}};aa._NULL_SCOPE_METADATA=new ys(0,0);aa.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;var wv=aa,Ev=class{constructor(e){if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,r])=>Gf(n));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}},Wl=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function ed(e,t,n,r,o,i,s,a){const l=t.content.length;let c=!1,u=-1;if(s){const d=Tv(e,t,n,r,o,i);o=d.stack,r=d.linePos,n=d.isFirstLine,u=d.anchorPosition}const f=Date.now();for(;!c;){if(a!==0&&Date.now()-f>a)return new Wl(o,!0);p()}return new Wl(o,!1);function p(){const d=Sv(e,t,n,r,o,u);if(!d){i.produce(o,l),c=!0;return}const h=d.captureIndices,_=d.matchedRuleId,v=h&&h.length>0?h[0].end>r:!1;if(_===yv){const y=o.getRule(e);i.produce(o,h[0].start),o=o.withContentNameScopesList(o.nameScopesList),Xn(e,t,n,o,i,y.endCaptures,h),i.produce(o,h[0].end);const E=o;if(o=o.parent,u=E.getAnchorPos(),!v&&E.getEnterPos()===r){o=E,i.produce(o,l),c=!0;return}}else{const y=e.getRule(_);i.produce(o,h[0].start);const E=o,m=y.getName(t.content,h),w=o.contentNameScopesList.pushAttributed(m,e);if(o=o.push(_,r,u,h[0].end===l,null,w,w),y instanceof _s){const S=y;Xn(e,t,n,o,i,S.beginCaptures,h),i.produce(o,h[0].end),u=h[0].end;const P=S.getContentName(t.content,h),I=w.pushAttributed(P,e);if(o=o.withContentNameScopesList(I),S.endHasBackReferences&&(o=o.withEndRule(S.getEndWithResolvedBackReferences(t.content,h))),!v&&E.hasSameRuleAs(o)){o=o.pop(),i.produce(o,l),c=!0;return}}else if(y instanceof Oo){const S=y;Xn(e,t,n,o,i,S.beginCaptures,h),i.produce(o,h[0].end),u=h[0].end;const P=S.getContentName(t.content,h),I=w.pushAttributed(P,e);if(o=o.withContentNameScopesList(I),S.whileHasBackReferences&&(o=o.withEndRule(S.getWhileWithResolvedBackReferences(t.content,h))),!v&&E.hasSameRuleAs(o)){o=o.pop(),i.produce(o,l),c=!0;return}}else if(Xn(e,t,n,o,i,y.captures,h),i.produce(o,h[0].end),o=o.pop(),!v){o=o.safePop(),i.produce(o,l),c=!0;return}}h[0].end>r&&(r=h[0].end,n=!1)}}function Tv(e,t,n,r,o,i){let s=o.beginRuleCapturedEOL?0:-1;const a=[];for(let l=o;l;l=l.pop()){const c=l.getRule(e);c instanceof Oo&&a.push({rule:c,stack:l})}for(let l=a.pop();l;l=a.pop()){const{ruleScanner:c,findOptions:u}=Av(l.rule,e,l.stack.endRule,n,r===s),f=c.findNextMatchSync(t,r,u);if(f){if(f.ruleId!==Yf){o=l.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(i.produce(l.stack,f.captureIndices[0].start),Xn(e,t,n,l.stack,i,l.rule.whileCaptures,f.captureIndices),i.produce(l.stack,f.captureIndices[0].end),s=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}else{o=l.stack.pop();break}}return{stack:o,linePos:r,anchorPosition:s,isFirstLine:n}}function Sv(e,t,n,r,o,i){const s=Cv(e,t,n,r,o,i),a=e.getInjections();if(a.length===0)return s;const l=Pv(a,e,t,n,r,o,i);if(!l)return s;if(!s)return l;const c=s.captureIndices[0].start,u=l.captureIndices[0].start;return u<c||l.priorityMatch&&u===c?l:s}function Cv(e,t,n,r,o,i){const s=o.getRule(e),{ruleScanner:a,findOptions:l}=td(s,e,o.endRule,n,r===i),c=a.findNextMatchSync(t,r,l);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function Pv(e,t,n,r,o,i,s){let a=Number.MAX_VALUE,l=null,c,u=0;const f=i.contentNameScopesList.getScopeNames();for(let p=0,d=e.length;p<d;p++){const h=e[p];if(!h.matcher(f))continue;const _=t.getRule(h.ruleId),{ruleScanner:v,findOptions:y}=td(_,t,null,r,o===s),E=v.findNextMatchSync(n,o,y);if(!E)continue;const m=E.captureIndices[0].start;if(!(m>=a)&&(a=m,l=E.captureIndices,c=E.ruleId,u=h.priority,a===o))break}return l?{priorityMatch:u===-1,captureIndices:l,matchedRuleId:c}:null}function td(e,t,n,r,o){return{ruleScanner:e.compileAG(t,n,r,o),findOptions:0}}function Av(e,t,n,r,o){return{ruleScanner:e.compileWhileAG(t,n,r,o),findOptions:0}}function Xn(e,t,n,r,o,i,s){if(i.length===0)return;const a=t.content,l=Math.min(i.length,s.length),c=[],u=s[0].end;for(let f=0;f<l;f++){const p=i[f];if(p===null)continue;const d=s[f];if(d.length===0)continue;if(d.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=d.start;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?o.produceFromScopes(c[c.length-1].scopes,d.start):o.produce(r,d.start),p.retokenizeCapturedWithRuleId){const _=p.getName(a,s),v=r.contentNameScopesList.pushAttributed(_,e),y=p.getContentName(a,s),E=v.pushAttributed(y,e),m=r.push(p.retokenizeCapturedWithRuleId,d.start,-1,!1,null,v,E),w=e.createOnigString(a.substring(0,d.end));ed(e,w,n&&d.start===0,d.start,m,o,!1,0),Jf(w);continue}const h=p.getName(a,s);if(h!==null){const v=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(h,e);c.push(new Rv(v,d.end))}}for(;c.length>0;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}var Rv=class{constructor(e,t){this.scopes=e,this.endPos=t}};function xv(e,t,n,r,o,i,s,a){return new Ov(e,t,n,r,o,i,s,a)}function Gl(e,t,n,r,o){const i=xo(t,ko),s=Qf.getCompiledRuleId(n,r,o.repository);for(const a of i)e.push({debugSelector:t,matcher:a.matcher,ruleId:s,grammar:o,priority:a.priority})}function ko(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let o=n;o<t.length;o++)if(Lv(t[o],r))return n=o+1,!0;return!1})}function Lv(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}var Ov=class{constructor(e,t,n,r,o,i,s,a){if(this._rootScopeName=e,this.balancedBracketSelectors=i,this._onigLib=a,this._basicScopeAttributesProvider=new wv(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=s,this._grammar=zl(t,null),this._injections=null,this._tokenTypeMatchers=[],o)for(const l of Object.keys(o)){const c=xo(l,ko);for(const u of c)this._tokenTypeMatchers.push({matcher:u.matcher,type:o[l]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:o=>o===this._rootScopeName?this._grammar:this.getExternalGrammar(o),injections:o=>this._grammarRepository.injections(o)},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){const o=r.injections;if(o)for(let s in o)Gl(t,s,o[s],this,r);const i=this._grammarRepository.injections(n);i&&i.forEach(s=>{const a=this.getExternalGrammar(s);if(a){const l=a.injectionSelector;l&&Gl(t,l,a,this,a)}})}return t.sort((o,i)=>o.priority-i.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=zl(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){const r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){const r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){this._rootId===-1&&(this._rootId=Qf.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let o;if(!t||t===ws.NULL){o=!0;const c=this._basicScopeAttributesProvider.getDefaultAttributes(),u=this.themeProvider.getDefaults(),f=Bn.set(0,c.languageId,c.tokenType,null,u.fontStyle,u.foregroundId,u.backgroundId),p=this.getRule(this._rootId).getName(null,null);let d;p?d=ar.createRootAndLookUpScopeName(p,f,this):d=ar.createRoot("unknown",f),t=new ws(null,this._rootId,-1,-1,!1,null,d,d)}else o=!1,t.reset();e=e+`
|
|
21
|
+
`;const i=this.createOnigString(e),s=i.content.length,a=new Iv(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=ed(this,i,o,0,t,a,!0,r);return Jf(i),{lineLength:s,lineTokens:a,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function zl(e,t){return e=Xy(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var ar=class pt{constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,o=(t==null?void 0:t.scopePath)??null;for(const i of n)o=ki.push(o,i.scopeNames),r=new pt(r,o,i.encodedTokenAttributes);return r}static createRoot(t,n){return new pt(null,new ki(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const o=r.getMetadataForScope(t),i=new ki(null,t),s=r.themeProvider.themeMatch(i),a=pt.mergeAttributes(n,o,s);return new pt(null,i,a)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return pt.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let o=-1,i=0,s=0;return r!==null&&(o=r.fontStyle,i=r.foregroundId,s=r.backgroundId),Bn.set(t,n.languageId,n.tokenType,null,o,i,s)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return pt._pushAttributed(this,t,n);const r=t.split(/ /g);let o=this;for(const i of r)o=pt._pushAttributed(o,i,n);return o}static _pushAttributed(t,n,r){const o=r.getMetadataForScope(n),i=t.scopePath.push(n),s=r.themeProvider.themeMatch(i),a=pt.mergeAttributes(t.tokenAttributes,o,s);return new pt(t,i,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){var o;const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(((o=r.parent)==null?void 0:o.scopePath)??null)}),r=r.parent;return r===t?n.reverse():void 0}},bs=class bn{constructor(t,n,r,o,i,s,a,l){this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=i,this.endRule=s,this.nameScopesList=a,this.contentNameScopesList=l,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=o}equals(t){return t===null?!1:bn._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?ar.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){bn._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,o,i,s,a){return new bn(this,t,n,r,o,i,s,a)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){var r,o;return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${(r=this.nameScopesList)==null?void 0:r.toString()}, ${(o=this.contentNameScopesList)==null?void 0:o.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new bn(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){var t,n,r;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((n=this.nameScopesList)==null?void 0:n.getExtensionIfDefined(((t=this.parent)==null?void 0:t.nameScopesList)??null))??[],contentNameScopesList:((r=this.contentNameScopesList)==null?void 0:r.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(t,n){const r=ar.fromExtension((t==null?void 0:t.nameScopesList)??null,n.nameScopesList);return new bn(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,ar.fromExtension(r,n.contentNameScopesList))}};bs.NULL=new bs(null,0,0,0,!1,null,null,null);var ws=bs,kv=class{constructor(e,t){this.allowAny=!1,this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):xo(n,ko).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>xo(n,ko).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},Iv=class{constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){var r;if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let o=(e==null?void 0:e.tokenAttributes)??0,i=!1;if((r=this.balancedBracketSelectors)!=null&&r.matchesAlways&&(i=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const s=(e==null?void 0:e.getScopeNames())??[];for(const a of this._tokenTypeOverrides)a.matcher(s)&&(o=Bn.set(o,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(i=this.balancedBracketSelectors.match(s))}if(i&&(o=Bn.set(o,0,8,i,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===o){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(o),this._lastTokenEndIndex=t;return}const n=(e==null?void 0:e.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,o=this._binaryTokens.length;r<o;r++)n[r]=this._binaryTokens[r];return n}},Dv=class{constructor(e,t){this._onigLib=t,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=e}dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,o){if(!this._grammars.has(e)){let i=this._rawGrammars.get(e);if(!i)return null;this._grammars.set(e,xv(e,i,t,n,r,o,this,this._onigLib))}return this._grammars.get(e)}},Nv=class{constructor(t){this._options=t,this._syncRegistry=new Dv(Ro.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(Ro.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new kv(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,n,r,o,i){const s=new uv(this._syncRegistry,t);for(;s.Q.length>0;)s.Q.map(a=>this._loadSingleGrammar(a.scopeName)),s.processQueue();return this._grammarForScopeName(t,n,r,o,i)}_loadSingleGrammar(t){this._ensureGrammarCache.has(t)||(this._doLoadSingleGrammar(t),this._ensureGrammarCache.set(t,!0))}_doLoadSingleGrammar(t){const n=this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}addGrammar(t,n=[],r=0,o=null){return this._syncRegistry.addGrammar(t,n),this._grammarForScopeName(t.scopeName,r,o)}_grammarForScopeName(t,n=0,r=null,o=null,i=null){return this._syncRegistry.grammarForScopeName(t,n,r,o,i)}},Es=ws.NULL;const $v=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Lr{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Lr.prototype.property={};Lr.prototype.normal={};Lr.prototype.space=null;function nd(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new Lr(n,r,t)}function Ts(e){return e.toLowerCase()}class nt{constructor(t,n){this.property=t,this.attribute=n}}nt.prototype.space=null;nt.prototype.boolean=!1;nt.prototype.booleanish=!1;nt.prototype.overloadedBoolean=!1;nt.prototype.number=!1;nt.prototype.commaSeparated=!1;nt.prototype.spaceSeparated=!1;nt.prototype.commaOrSpaceSeparated=!1;nt.prototype.mustUseProperty=!1;nt.prototype.defined=!1;let Mv=0;const te=hn(),Ee=hn(),rd=hn(),O=hn(),ge=hn(),kn=hn(),Ke=hn();function hn(){return 2**++Mv}const Ss=Object.freeze(Object.defineProperty({__proto__:null,boolean:te,booleanish:Ee,commaOrSpaceSeparated:Ke,commaSeparated:kn,number:O,overloadedBoolean:rd,spaceSeparated:ge},Symbol.toStringTag,{value:"Module"})),Ii=Object.keys(Ss);class la extends nt{constructor(t,n,r,o){let i=-1;if(super(t,n),ql(this,"space",o),typeof r=="number")for(;++i<Ii.length;){const s=Ii[i];ql(this,Ii[i],(r&Ss[s])===Ss[s])}}}la.prototype.defined=!0;function ql(e,t,n){n&&(e[t]=n)}const Hv={}.hasOwnProperty;function Fn(e){const t={},n={};let r;for(r in e.properties)if(Hv.call(e.properties,r)){const o=e.properties[r],i=new la(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[Ts(r)]=r,n[Ts(i.attribute)]=r}return new Lr(t,n,e.space)}const od=Fn({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),id=Fn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function sd(e,t){return t in e?e[t]:t}function ad(e,t){return sd(e,t.toLowerCase())}const ld=Fn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:ad,properties:{xmlns:null,xmlnsXLink:null}}),cd=Fn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Ee,ariaAutoComplete:null,ariaBusy:Ee,ariaChecked:Ee,ariaColCount:O,ariaColIndex:O,ariaColSpan:O,ariaControls:ge,ariaCurrent:null,ariaDescribedBy:ge,ariaDetails:null,ariaDisabled:Ee,ariaDropEffect:ge,ariaErrorMessage:null,ariaExpanded:Ee,ariaFlowTo:ge,ariaGrabbed:Ee,ariaHasPopup:null,ariaHidden:Ee,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ge,ariaLevel:O,ariaLive:null,ariaModal:Ee,ariaMultiLine:Ee,ariaMultiSelectable:Ee,ariaOrientation:null,ariaOwns:ge,ariaPlaceholder:null,ariaPosInSet:O,ariaPressed:Ee,ariaReadOnly:Ee,ariaRelevant:null,ariaRequired:Ee,ariaRoleDescription:ge,ariaRowCount:O,ariaRowIndex:O,ariaRowSpan:O,ariaSelected:Ee,ariaSetSize:O,ariaSort:null,ariaValueMax:O,ariaValueMin:O,ariaValueNow:O,ariaValueText:null,role:null}}),Vv=Fn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:ad,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:kn,acceptCharset:ge,accessKey:ge,action:null,allow:null,allowFullScreen:te,allowPaymentRequest:te,allowUserMedia:te,alt:null,as:null,async:te,autoCapitalize:null,autoComplete:ge,autoFocus:te,autoPlay:te,blocking:ge,capture:null,charSet:null,checked:te,cite:null,className:ge,cols:O,colSpan:null,content:null,contentEditable:Ee,controls:te,controlsList:ge,coords:O|kn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:te,defer:te,dir:null,dirName:null,disabled:te,download:rd,draggable:Ee,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:te,formTarget:null,headers:ge,height:O,hidden:te,high:O,href:null,hrefLang:null,htmlFor:ge,httpEquiv:ge,id:null,imageSizes:null,imageSrcSet:null,inert:te,inputMode:null,integrity:null,is:null,isMap:te,itemId:null,itemProp:ge,itemRef:ge,itemScope:te,itemType:ge,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:te,low:O,manifest:null,max:null,maxLength:O,media:null,method:null,min:null,minLength:O,multiple:te,muted:te,name:null,nonce:null,noModule:te,noValidate:te,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:te,optimum:O,pattern:null,ping:ge,placeholder:null,playsInline:te,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:te,referrerPolicy:null,rel:ge,required:te,reversed:te,rows:O,rowSpan:O,sandbox:ge,scope:null,scoped:te,seamless:te,selected:te,shadowRootClonable:te,shadowRootDelegatesFocus:te,shadowRootMode:null,shape:null,size:O,sizes:null,slot:null,span:O,spellCheck:Ee,src:null,srcDoc:null,srcLang:null,srcSet:null,start:O,step:null,style:null,tabIndex:O,target:null,title:null,translate:null,type:null,typeMustMatch:te,useMap:null,value:Ee,width:O,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ge,axis:null,background:null,bgColor:null,border:O,borderColor:null,bottomMargin:O,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:te,declare:te,event:null,face:null,frame:null,frameBorder:null,hSpace:O,leftMargin:O,link:null,longDesc:null,lowSrc:null,marginHeight:O,marginWidth:O,noResize:te,noHref:te,noShade:te,noWrap:te,object:null,profile:null,prompt:null,rev:null,rightMargin:O,rules:null,scheme:null,scrolling:Ee,standby:null,summary:null,text:null,topMargin:O,valueType:null,version:null,vAlign:null,vLink:null,vSpace:O,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:te,disableRemotePlayback:te,prefix:null,property:null,results:O,security:null,unselectable:null}}),Bv=Fn({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:sd,properties:{about:Ke,accentHeight:O,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:O,amplitude:O,arabicForm:null,ascent:O,attributeName:null,attributeType:null,azimuth:O,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:O,by:null,calcMode:null,capHeight:O,className:ge,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:O,diffuseConstant:O,direction:null,display:null,dur:null,divisor:O,dominantBaseline:null,download:te,dx:null,dy:null,edgeMode:null,editable:null,elevation:O,enableBackground:null,end:null,event:null,exponent:O,externalResourcesRequired:null,fill:null,fillOpacity:O,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:kn,g2:kn,glyphName:kn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:O,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:O,horizOriginX:O,horizOriginY:O,id:null,ideographic:O,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:O,k:O,k1:O,k2:O,k3:O,k4:O,kernelMatrix:Ke,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:O,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:O,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:O,overlineThickness:O,paintOrder:null,panose1:null,path:null,pathLength:O,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ge,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:O,pointsAtY:O,pointsAtZ:O,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ke,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ke,rev:Ke,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ke,requiredFeatures:Ke,requiredFonts:Ke,requiredFormats:Ke,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:O,specularExponent:O,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:O,strikethroughThickness:O,string:null,stroke:null,strokeDashArray:Ke,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:O,strokeOpacity:O,strokeWidth:null,style:null,surfaceScale:O,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ke,tabIndex:O,tableValues:null,target:null,targetX:O,targetY:O,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ke,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:O,underlineThickness:O,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:O,values:null,vAlphabetic:O,vMathematical:O,vectorEffect:null,vHanging:O,vIdeographic:O,version:null,vertAdvY:O,vertOriginX:O,vertOriginY:O,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:O,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),jv=/^data[-\w.:]+$/i,Kl=/-[a-z]/g,Fv=/[A-Z]/g;function Uv(e,t){const n=Ts(t);let r=t,o=nt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&jv.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Kl,Gv);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Kl.test(i)){let s=i.replace(Fv,Wv);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}o=la}return new o(r,t)}function Wv(e){return"-"+e.toLowerCase()}function Gv(e){return e.charAt(1).toUpperCase()}const zv=nd([id,od,ld,cd,Vv],"html"),ud=nd([id,od,ld,cd,Bv],"svg"),Jl={}.hasOwnProperty;function qv(e,t){const n=t||{};function r(o,...i){let s=r.invalid;const a=r.handlers;if(o&&Jl.call(o,e)){const l=String(o[e]);s=Jl.call(a,l)?a[l]:r.unknown}if(s)return s.call(this,o,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const Kv=/["&'<>`]/g,Jv=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Xv=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Yv=/[|\\{}()[\]^$+*?.]/g,Xl=new WeakMap;function Qv(e,t){if(e=e.replace(t.subset?Zv(t.subset):Kv,r),t.subset||t.escapeOnly)return e;return e.replace(Jv,n).replace(Xv,r);function n(o,i,s){return t.format((o.charCodeAt(0)-55296)*1024+o.charCodeAt(1)-56320+65536,s.charCodeAt(i+2),t)}function r(o,i,s){return t.format(o.charCodeAt(0),s.charCodeAt(i+1),t)}}function Zv(e){let t=Xl.get(e);return t||(t=eb(e),Xl.set(e,t)),t}function eb(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(Yv,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const tb=/[\dA-Fa-f]/;function nb(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!tb.test(String.fromCharCode(t))?r:r+";"}const rb=/\d/;function ob(e,t,n){const r="&#"+String(e);return n&&t&&!rb.test(String.fromCharCode(t))?r:r+";"}const ib=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Di={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},sb=["cent","copy","divide","gt","lt","not","para","times"],fd={}.hasOwnProperty,Cs={};let Wr;for(Wr in Di)fd.call(Di,Wr)&&(Cs[Di[Wr]]=Wr);const ab=/[^\dA-Za-z]/;function lb(e,t,n,r){const o=String.fromCharCode(e);if(fd.call(Cs,o)){const i=Cs[o],s="&"+i;return n&&ib.includes(i)&&!sb.includes(i)&&(!r||t&&t!==61&&ab.test(String.fromCharCode(t)))?s:s+";"}return""}function cb(e,t,n){let r=nb(e,t,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=lb(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const i=ob(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function In(e,t){return Qv(e,Object.assign({format:cb},t))}const ub=/^>|^->|<!--|-->|--!>|<!-$/g,fb=[">"],db=["<",">"];function pb(e,t,n,r){return r.settings.bogusComments?"<?"+In(e.value,Object.assign({},r.settings.characterReferences,{subset:fb}))+">":"<!--"+e.value.replace(ub,o)+"-->";function o(i){return In(i,Object.assign({},r.settings.characterReferences,{subset:db}))}}function hb(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function Yl(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;o!==-1;)r++,o=n.indexOf(t,o+t.length);return r}function mb(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function gb(e){return e.join(" ").trim()}const _b=/[ \t\n\f\r]/g;function ca(e){return typeof e=="object"?e.type==="text"?Ql(e.value):!1:Ql(e)}function Ql(e){return e.replace(_b,"")===""}const Ae=pd(1),dd=pd(-1),yb=[];function pd(e){return t;function t(n,r,o){const i=n?n.children:yb;let s=(r||0)+e,a=i[s];if(!o)for(;a&&ca(a);)s+=e,a=i[s];return a}}const vb={}.hasOwnProperty;function hd(e){return t;function t(n,r,o){return vb.call(e,n.tagName)&&e[n.tagName](n,r,o)}}const ua=hd({body:wb,caption:Ni,colgroup:Ni,dd:Cb,dt:Sb,head:Ni,html:bb,li:Tb,optgroup:Pb,option:Ab,p:Eb,rp:Zl,rt:Zl,tbody:xb,td:ec,tfoot:Lb,th:ec,thead:Rb,tr:Ob});function Ni(e,t,n){const r=Ae(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&ca(r.value.charAt(0)))}function bb(e,t,n){const r=Ae(n,t);return!r||r.type!=="comment"}function wb(e,t,n){const r=Ae(n,t);return!r||r.type!=="comment"}function Eb(e,t,n){const r=Ae(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function Tb(e,t,n){const r=Ae(n,t);return!r||r.type==="element"&&r.tagName==="li"}function Sb(e,t,n){const r=Ae(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function Cb(e,t,n){const r=Ae(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Zl(e,t,n){const r=Ae(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function Pb(e,t,n){const r=Ae(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function Ab(e,t,n){const r=Ae(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function Rb(e,t,n){const r=Ae(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function xb(e,t,n){const r=Ae(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function Lb(e,t,n){return!Ae(n,t)}function Ob(e,t,n){const r=Ae(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function ec(e,t,n){const r=Ae(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const kb=hd({body:Nb,colgroup:$b,head:Db,html:Ib,tbody:Mb});function Ib(e){const t=Ae(e,-1);return!t||t.type!=="comment"}function Db(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}function Nb(e){const t=Ae(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&ca(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function $b(e,t,n){const r=dd(n,t),o=Ae(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&ua(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function Mb(e,t,n){const r=dd(n,t),o=Ae(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&ua(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const Gr={name:[[`
|
|
22
|
+
\f\r &/=>`.split(""),`
|
|
23
|
+
\f\r "&'/=>\``.split("")],[`\0
|
|
24
|
+
\f\r "&'/<=>`.split(""),`\0
|
|
25
|
+
\f\r "&'/<=>\``.split("")]],unquoted:[[`
|
|
26
|
+
\f\r &>`.split(""),`\0
|
|
27
|
+
\f\r "&'<=>\``.split("")],[`\0
|
|
28
|
+
\f\r "&'<=>\``.split(""),`\0
|
|
29
|
+
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function Hb(e,t,n,r){const o=r.schema,i=o.space==="svg"?!1:r.settings.omitOptionalTags;let s=o.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let l;o.space==="html"&&e.tagName==="svg"&&(r.schema=ud);const c=Vb(r,e.properties),u=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=o,u&&(s=!1),(c||!i||!kb(e,t,n))&&(a.push("<",e.tagName,c?" "+c:""),s&&(o.space==="svg"||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(u),!s&&(!i||!ua(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}function Vb(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const i=Bb(e,o,t[o]);i&&n.push(i)}}for(;++r<n.length;){const i=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&i!=='"'&&i!=="'"&&(n[r]+=" ")}return n.join("")}function Bb(e,t,n){const r=Uv(e.schema,t),o=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,i=e.settings.allowDangerousCharacters?0:1;let s=e.quote,a;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean&&typeof n!="string")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const l=In(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Gr.name[o][i]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?mb:gb)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(a=In(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Gr.unquoted[o][i]}))),a!==n&&(e.settings.quoteSmart&&Yl(n,s)>Yl(n,e.alternative)&&(s=e.alternative),a=s+In(n,Object.assign({},e.settings.characterReferences,{subset:(s==="'"?Gr.single:Gr.double)[o][i],attribute:!0}))+s),l+(a&&"="+a))}const jb=["<","&"];function md(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:In(e.value,Object.assign({},r.settings.characterReferences,{subset:jb}))}function Fb(e,t,n,r){return r.settings.allowDangerousHtml?e.value:md(e,t,n,r)}function Ub(e,t,n,r){return r.all(e)}const Wb=qv("type",{invalid:Gb,unknown:zb,handlers:{comment:pb,doctype:hb,element:Hb,raw:Fb,root:Ub,text:md}});function Gb(e){throw new Error("Expected node, not `"+e+"`")}function zb(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const qb={},Kb={},Jb=[];function Xb(e,t){const n=qb,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:Yb,all:Qb,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||$v,characterReferences:n.characterReferences||Kb,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?ud:zv,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function Yb(e,t,n){return Wb(e,t,n,this)}function Qb(e){const t=[],n=e&&e.children||Jb;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function Zb(e){return Array.isArray(e)?e:[e]}function ii(e,t=!1){var i;const n=e.split(/(\r?\n)/g);let r=0;const o=[];for(let s=0;s<n.length;s+=2){const a=t?n[s]+(n[s+1]||""):n[s];o.push([a,r]),r+=n[s].length,r+=((i=n[s+1])==null?void 0:i.length)||0}return o}function fa(e){return!e||["plaintext","txt","text","plain"].includes(e)}function gd(e){return e==="ansi"||fa(e)}function da(e){return e==="none"}function _d(e){return da(e)}function yd(e,t){var n;if(!t)return e;e.properties||(e.properties={}),(n=e.properties).class||(n.class=[]),typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const r=Array.isArray(t)?t:t.split(/\s+/g);for(const o of r)o&&!e.properties.class.includes(o)&&e.properties.class.push(o);return e}function ew(e,t){let n=0;const r=[];for(const o of t)o>n&&r.push({...e,content:e.content.slice(n,o),offset:e.offset+n}),n=o;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function tw(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,o)=>r-o);return n.length?e.map(r=>r.flatMap(o=>{const i=n.filter(s=>o.offset<s&&s<o.offset+o.content.length).map(s=>s-o.offset).sort((s,a)=>s-a);return i.length?ew(o,i):o})):e}async function vd(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function Io(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[o,i]of Object.entries((t==null?void 0:t.colorReplacements)||{}))typeof i=="string"?n[o]=i:o===r&&Object.assign(n,i);return n}function nn(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function bd(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&At.Italic&&(t["font-style"]="italic"),e.fontStyle&At.Bold&&(t["font-weight"]="bold"),e.fontStyle&At.Underline&&(t["text-decoration"]="underline")),t}function nw(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function rw(e){const t=ii(e,!0).map(([o])=>o);function n(o){if(o===e.length)return{line:t.length-1,character:t[t.length-1].length};let i=o,s=0;for(const a of t){if(i<a.length)break;i-=a.length,s++}return{line:s,character:i}}function r(o,i){let s=0;for(let a=0;a<o;a++)s+=t[a].length;return s+=i,s}return{lines:t,indexToPos:n,posToIndex:r}}class je extends Error{constructor(t){super(t),this.name="ShikiError"}}var ow=Object.defineProperty,iw=(e,t,n)=>t in e?ow(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tc=(e,t,n)=>(iw(e,typeof t!="symbol"?t+"":t,n),n);const wd=new WeakMap;function si(e,t){wd.set(e,t)}function wr(e){return wd.get(e)}class Un{constructor(...t){if(tc(this,"_stacks",{}),tc(this,"lang"),t.length===2){const[n,r]=t;this.lang=r,this._stacks=n}else{const[n,r,o]=t;this.lang=r,this._stacks={[o]:n}}}get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,n){return new Un(Object.fromEntries(Zb(n).map(r=>[r,Es])),t)}getInternalStack(t=this.theme){return this._stacks[t]}get scopes(){return nc(this._stacks[this.theme])}getScopes(t=this.theme){return nc(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.scopes}}}function nc(e){const t=[],n=new Set;function r(o){var s;if(n.has(o))return;n.add(o);const i=(s=o==null?void 0:o.nameScopesList)==null?void 0:s.scopeName;i&&t.push(i),o.parent&&r(o.parent)}return r(e),t}function sw(e,t){if(!(e instanceof Un))throw new je("Invalid grammar state");return e.getInternalStack(t)}function aw(){const e=new WeakMap;function t(n){if(!e.has(n.meta)){let r=function(s){if(typeof s=="number"){if(s<0||s>n.source.length)throw new je(`Invalid decoration offset: ${s}. Code length: ${n.source.length}`);return{...o.indexToPos(s),offset:s}}else{const a=o.lines[s.line];if(a===void 0)throw new je(`Invalid decoration position ${JSON.stringify(s)}. Lines length: ${o.lines.length}`);if(s.character<0||s.character>a.length)throw new je(`Invalid decoration position ${JSON.stringify(s)}. Line ${s.line} length: ${a.length}`);return{...s,offset:o.posToIndex(s.line,s.character)}}};const o=rw(n.source),i=(n.options.decorations||[]).map(s=>({...s,start:r(s.start),end:r(s.end)}));lw(i),e.set(n.meta,{decorations:i,converter:o,source:n.source})}return e.get(n.meta)}return{name:"shiki:decorations",tokens(n){var s;if(!((s=this.options.decorations)!=null&&s.length))return;const o=t(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]);return tw(n,o)},code(n){var u;if(!((u=this.options.decorations)!=null&&u.length))return;const r=t(this),o=Array.from(n.children).filter(f=>f.type==="element"&&f.tagName==="span");if(o.length!==r.converter.lines.length)throw new je(`Number of lines in code element (${o.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function i(f,p,d,h){const _=o[f];let v="",y=-1,E=-1;if(p===0&&(y=0),d===0&&(E=0),d===Number.POSITIVE_INFINITY&&(E=_.children.length),y===-1||E===-1)for(let w=0;w<_.children.length;w++)v+=Ed(_.children[w]),y===-1&&v.length===p&&(y=w+1),E===-1&&v.length===d&&(E=w+1);if(y===-1)throw new je(`Failed to find start index for decoration ${JSON.stringify(h.start)}`);if(E===-1)throw new je(`Failed to find end index for decoration ${JSON.stringify(h.end)}`);const m=_.children.slice(y,E);if(!h.alwaysWrap&&m.length===_.children.length)a(_,h,"line");else if(!h.alwaysWrap&&m.length===1&&m[0].type==="element")a(m[0],h,"token");else{const w={type:"element",tagName:"span",properties:{},children:m};a(w,h,"wrapper"),_.children.splice(y,m.length,w)}}function s(f,p){o[f]=a(o[f],p,"line")}function a(f,p,d){var v;const h=p.properties||{},_=p.transform||(y=>y);return f.tagName=p.tagName||"span",f.properties={...f.properties,...h,class:f.properties.class},(v=p.properties)!=null&&v.class&&yd(f,p.properties.class),f=_(f,d)||f,f}const l=[],c=r.decorations.sort((f,p)=>p.start.offset-f.start.offset);for(const f of c){const{start:p,end:d}=f;if(p.line===d.line)i(p.line,p.character,d.character,f);else if(p.line<d.line){i(p.line,p.character,Number.POSITIVE_INFINITY,f);for(let h=p.line+1;h<d.line;h++)l.unshift(()=>s(h,f));i(d.line,0,d.character,f)}}l.forEach(f=>f())}}}function lw(e){for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new je(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){const o=e[r],i=n.start.offset<o.start.offset&&o.start.offset<n.end.offset,s=n.start.offset<o.end.offset&&o.end.offset<n.end.offset,a=o.start.offset<n.start.offset&&n.start.offset<o.end.offset,l=o.start.offset<n.end.offset&&n.end.offset<o.end.offset;if(i||s||a||l){if(s&&s||a&&l)continue;throw new je(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(o.start)} intersect.`)}}}}function Ed(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(Ed).join(""):""}const cw=[aw()];function Do(e){return[...e.transformers||[],...cw]}var rn=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],$i={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function uw(e,t){const n=e.indexOf("\x1B[",t);if(n!==-1){const r=e.indexOf("m",n);return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}function rc(e,t){let n=1;const r=e[t+n++];let o;if(r==="2"){const i=[e[t+n++],e[t+n++],e[t+n]].map(s=>Number.parseInt(s));i.length===3&&!i.some(s=>Number.isNaN(s))&&(o={type:"rgb",rgb:i})}else if(r==="5"){const i=Number.parseInt(e[t+n]);Number.isNaN(i)||(o={type:"table",index:Number(i)})}return[n,o]}function fw(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n],o=Number.parseInt(r);if(!Number.isNaN(o))if(o===0)t.push({type:"resetAll"});else if(o<=9)$i[o]&&t.push({type:"setDecoration",value:$i[o]});else if(o<=29){const i=$i[o-20];i&&t.push({type:"resetDecoration",value:i})}else if(o<=37)t.push({type:"setForegroundColor",value:{type:"named",name:rn[o-30]}});else if(o===38){const[i,s]=rc(e,n);s&&t.push({type:"setForegroundColor",value:s}),n+=i}else if(o===39)t.push({type:"resetForegroundColor"});else if(o<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:rn[o-40]}});else if(o===48){const[i,s]=rc(e,n);s&&t.push({type:"setBackgroundColor",value:s}),n+=i}else o===49?t.push({type:"resetBackgroundColor"}):o>=90&&o<=97?t.push({type:"setForegroundColor",value:{type:"named",name:rn[o-90+8]}}):o>=100&&o<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:rn[o-100+8]}})}return t}function dw(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let i=0;do{const s=uw(r,i),a=s.sequence?r.substring(i,s.startPosition):r.substring(i);if(a.length>0&&o.push({value:a,foreground:e,background:t,decorations:new Set(n)}),s.sequence){const l=fw(s.sequence);for(const c of l)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of l)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}i=s.position}while(i<r.length);return o}}}var pw={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function hw(e=pw){function t(a){return e[a]}function n(a){return`#${a.map(l=>Math.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let r;function o(){if(r)return r;r=[];for(let c=0;c<rn.length;c++)r.push(t(rn[c]));let a=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let u=0;u<6;u++)for(let f=0;f<6;f++)r.push(n([a[c],a[u],a[f]]));let l=8;for(let c=0;c<24;c++,l+=10)r.push(n([l,l,l]));return r}function i(a){return o()[a]}function s(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return i(a.index)}}return{value:s}}function mw(e,t,n){const r=Io(e,n),o=ii(t),i=hw(Object.fromEntries(rn.map(a=>{var l;return[a,(l=e.colors)==null?void 0:l[`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`]]}))),s=dw();return o.map(a=>s.parse(a[0]).map(l=>{let c,u;l.decorations.has("reverse")?(c=l.background?i.value(l.background):e.bg,u=l.foreground?i.value(l.foreground):e.fg):(c=l.foreground?i.value(l.foreground):e.fg,u=l.background?i.value(l.background):void 0),c=nn(c,r),u=nn(u,r),l.decorations.has("dim")&&(c=gw(c));let f=At.None;return l.decorations.has("bold")&&(f|=At.Bold),l.decorations.has("italic")&&(f|=At.Italic),l.decorations.has("underline")&&(f|=At.Underline),{content:l.value,offset:a[1],color:c,bgColor:u,fontStyle:f}}))}function gw(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function pa(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(fa(r)||da(o))return ii(t).map(l=>[{content:l[0],offset:l[1]}]);const{theme:i,colorMap:s}=e.setTheme(o);if(r==="ansi")return mw(i,t,n);const a=e.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==a.name)throw new Rt(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${a.name}"`);if(!n.grammarState.themes.includes(i.name))throw new Rt(`Grammar state themes "${n.grammarState.themes}" do not contain highlight theme "${i.name}"`)}return yw(t,a,i,s,n)}function _w(...e){if(e.length===2)return wr(e[1]);const[t,n,r={}]=e,{lang:o="text",theme:i=t.getLoadedThemes()[0]}=r;if(fa(o)||da(i))throw new Rt("Plain language does not have grammar state");if(o==="ansi")throw new Rt("ANSI language does not have grammar state");const{theme:s,colorMap:a}=t.setTheme(i),l=t.getLanguage(o);return new Un(No(n,l,s,a,r).stateStack,l.name,s.name)}function yw(e,t,n,r,o){const i=No(e,t,n,r,o),s=new Un(No(e,t,n,r,o).stateStack,t.name,n.name);return si(i.tokens,s),i.tokens}function No(e,t,n,r,o){const i=Io(n,o),{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:a=500}=o,l=ii(e);let c=o.grammarState?sw(o.grammarState,n.name)??Es:o.grammarContextCode!=null?No(o.grammarContextCode,t,n,r,{...o,grammarState:void 0,grammarContextCode:void 0}).stateStack:Es,u=[];const f=[];for(let p=0,d=l.length;p<d;p++){const[h,_]=l[p];if(h===""){u=[],f.push([]);continue}if(s>0&&h.length>=s){u=[],f.push([{content:h,offset:_,color:"",fontStyle:0}]);continue}let v,y,E;o.includeExplanation&&(v=t.tokenizeLine(h,c),y=v.tokens,E=0);const m=t.tokenizeLine2(h,c,a),w=m.tokens.length/2;for(let S=0;S<w;S++){const P=m.tokens[2*S],I=S+1<w?m.tokens[2*S+2]:h.length;if(P===I)continue;const j=m.tokens[2*S+1],B=nn(r[Bn.getForeground(j)],i),k=Bn.getFontStyle(j),G={content:h.substring(P,I),offset:_+P,color:B,fontStyle:k};if(o.includeExplanation){const K=[];if(o.includeExplanation!=="scopeName")for(const Q of n.settings){let ie;switch(typeof Q.scope){case"string":ie=Q.scope.split(/,/).map(M=>M.trim());break;case"object":ie=Q.scope;break;default:continue}K.push({settings:Q,selectors:ie.map(M=>M.split(/ /))})}G.explanation=[];let ee=0;for(;P+ee<I;){const Q=y[E],ie=h.substring(Q.startIndex,Q.endIndex);ee+=ie.length,G.explanation.push({content:ie,scopes:o.includeExplanation==="scopeName"?vw(Q.scopes):bw(K,Q.scopes)}),E+=1}}u.push(G)}f.push(u),u=[],c=m.ruleStack}return{tokens:f,stateStack:c}}function vw(e){return e.map(t=>({scopeName:t}))}function bw(e,t){const n=[];for(let r=0,o=t.length;r<o;r++){const i=t[r];n[r]={scopeName:i,themeMatches:Ew(e,i,t.slice(0,r))}}return n}function oc(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function ww(e,t,n){if(!oc(e[e.length-1],t))return!1;let r=e.length-2,o=n.length-1;for(;r>=0&&o>=0;)oc(e[r],n[o])&&(r-=1),o-=1;return r===-1}function Ew(e,t,n){const r=[];for(const{selectors:o,settings:i}of e)for(const s of o)if(ww(s,t,n)){r.push(i);break}return r}function Td(e,t,n){const r=Object.entries(n.themes).filter(l=>l[1]).map(l=>({color:l[0],theme:l[1]})),o=r.map(l=>{const c=pa(e,t,{...n,theme:l.theme}),u=wr(c),f=typeof l.theme=="string"?l.theme:l.theme.name;return{tokens:c,state:u,theme:f}}),i=Tw(...o.map(l=>l.tokens)),s=i[0].map((l,c)=>l.map((u,f)=>{const p={content:u.content,variants:{},offset:u.offset};return"includeExplanation"in n&&n.includeExplanation&&(p.explanation=u.explanation),i.forEach((d,h)=>{const{content:_,explanation:v,offset:y,...E}=d[c][f];p.variants[r[h].color]=E}),p})),a=o[0].state?new Un(Object.fromEntries(o.map(l=>{var c;return[l.theme,(c=l.state)==null?void 0:c.getInternalStack(l.theme)]})),o[0].state.lang):void 0;return a&&si(s,a),s}function Tw(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const o=e.map(l=>l[r]),i=t.map(()=>[]);t.forEach((l,c)=>l.push(i[c]));const s=o.map(()=>0),a=o.map(l=>l[0]);for(;a.every(l=>l);){const l=Math.min(...a.map(c=>c.content.length));for(let c=0;c<n;c++){const u=a[c];u.content.length===l?(i[c].push(u),s[c]+=1,a[c]=o[c][s[c]]):(i[c].push({...u,content:u.content.slice(0,l)}),a[c]={...u,content:u.content.slice(l),offset:u.offset+l})}}}return t}function $o(e,t,n){let r,o,i,s,a,l;if("themes"in n){const{defaultColor:c="light",cssVariablePrefix:u="--shiki-"}=n,f=Object.entries(n.themes).filter(v=>v[1]).map(v=>({color:v[0],theme:v[1]})).sort((v,y)=>v.color===c?-1:y.color===c?1:0);if(f.length===0)throw new Rt("`themes` option must not be empty");const p=Td(e,t,n);if(l=wr(p),c&&!f.find(v=>v.color===c))throw new Rt(`\`themes\` option must contain the defaultColor key \`${c}\``);const d=f.map(v=>e.getTheme(v.theme)),h=f.map(v=>v.color);i=p.map(v=>v.map(y=>Sw(y,h,u,c))),l&&si(i,l);const _=f.map(v=>Io(v.theme,n));o=f.map((v,y)=>(y===0&&c?"":`${u+v.color}:`)+(nn(d[y].fg,_[y])||"inherit")).join(";"),r=f.map((v,y)=>(y===0&&c?"":`${u+v.color}-bg:`)+(nn(d[y].bg,_[y])||"inherit")).join(";"),s=`shiki-themes ${d.map(v=>v.name).join(" ")}`,a=c?void 0:[o,r].join(";")}else if("theme"in n){const c=Io(n.theme,n);i=pa(e,t,n);const u=e.getTheme(n.theme);r=nn(u.bg,c),o=nn(u.fg,c),s=u.name,l=wr(i)}else throw new Rt("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:o,bg:r,themeName:s,rootStyle:a,grammarState:l}}function Sw(e,t,n,r){const o={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(l=>bd(e.variants[l])),s=new Set(i.flatMap(l=>Object.keys(l))),a={};return i.forEach((l,c)=>{for(const u of s){const f=l[u]||"inherit";if(c===0&&r)a[u]=f;else{const p=u==="color"?"":u==="background-color"?"-bg":`-${u}`,d=n+t[c]+(u==="color"?"":p);a[d]=f}}}),o.htmlStyle=a,o}function Mo(e,t,n,r={meta:{},options:n,codeToHast:(o,i)=>Mo(e,o,i),codeToTokens:(o,i)=>$o(e,o,i)}){var d,h;let o=t;for(const _ of Do(n))o=((d=_.preprocess)==null?void 0:d.call(r,o,n))||o;let{tokens:i,fg:s,bg:a,themeName:l,rootStyle:c,grammarState:u}=$o(e,o,n);const{mergeWhitespaces:f=!0}=n;f===!0?i=Pw(i):f==="never"&&(i=Aw(i));const p={...r,get source(){return o}};for(const _ of Do(n))i=((h=_.tokens)==null?void 0:h.call(p,i))||i;return Cw(i,{...n,fg:s,bg:a,themeName:l,rootStyle:c},p,u)}function Cw(e,t,n,r=wr(e)){var h,_,v;const o=Do(t),i=[],s={type:"root",children:[]},{structure:a="classic",tabindex:l="0"}=t;let c={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,...l!==!1&&l!=null?{tabindex:l.toString()}:{},...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([y])=>!y.startsWith("_")))},children:[]},u={type:"element",tagName:"code",properties:{},children:i};const f=[],p={...n,structure:a,addClassToHast:yd,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return s},get pre(){return c},get code(){return u},get lines(){return f}};if(e.forEach((y,E)=>{var S,P;E&&(a==="inline"?s.children.push({type:"element",tagName:"br",properties:{},children:[]}):a==="classic"&&i.push({type:"text",value:`
|
|
30
|
+
`}));let m={type:"element",tagName:"span",properties:{class:"line"},children:[]},w=0;for(const I of y){let j={type:"element",tagName:"span",properties:{...I.htmlAttrs},children:[{type:"text",value:I.content}]};I.htmlStyle;const B=nw(I.htmlStyle||bd(I));B&&(j.properties.style=B);for(const k of o)j=((S=k==null?void 0:k.span)==null?void 0:S.call(p,j,E+1,w,m,I))||j;a==="inline"?s.children.push(j):a==="classic"&&m.children.push(j),w+=I.content.length}if(a==="classic"){for(const I of o)m=((P=I==null?void 0:I.line)==null?void 0:P.call(p,m,E+1))||m;f.push(m),i.push(m)}}),a==="classic"){for(const y of o)u=((h=y==null?void 0:y.code)==null?void 0:h.call(p,u))||u;c.children.push(u);for(const y of o)c=((_=y==null?void 0:y.pre)==null?void 0:_.call(p,c))||c;s.children.push(c)}let d=s;for(const y of o)d=((v=y==null?void 0:y.root)==null?void 0:v.call(p,d))||d;return r&&si(d,r),d}function Pw(e){return e.map(t=>{const n=[];let r="",o=0;return t.forEach((i,s)=>{const l=!(i.fontStyle&&i.fontStyle&At.Underline);l&&i.content.match(/^\s+$/)&&t[s+1]?(o||(o=i.offset),r+=i.content):r?(l?n.push({...i,offset:o,content:r+i.content}):n.push({content:r,offset:o},i),o=0,r=""):n.push(i)}),n})}function Aw(e){return e.map(t=>t.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,o,i,s]=r;if(!o&&!s)return n;const a=[{...n,offset:n.offset+o.length,content:i}];return o&&a.unshift({content:o,offset:n.offset}),s&&a.push({content:s,offset:n.offset+o.length+i.length}),a}))}function Rw(e,t,n){var i;const r={meta:{},options:n,codeToHast:(s,a)=>Mo(e,s,a),codeToTokens:(s,a)=>$o(e,s,a)};let o=Xb(Mo(e,t,n,r));for(const s of Do(n))o=((i=s.postprocess)==null?void 0:i.call(r,o,n))||o;return o}const ic={light:"#333333",dark:"#bbbbbb"},sc={light:"#fffffe",dark:"#1e1e1e"},ac="__shiki_resolved";function ha(e){var a,l,c,u,f;if(e!=null&&e[ac])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||(t.type="dark"),t.colorReplacements={...t.colorReplacements},t.settings||(t.settings=[]);let{bg:n,fg:r}=t;if(!n||!r){const p=t.settings?t.settings.find(d=>!d.name&&!d.scope):void 0;(a=p==null?void 0:p.settings)!=null&&a.foreground&&(r=p.settings.foreground),(l=p==null?void 0:p.settings)!=null&&l.background&&(n=p.settings.background),!r&&((c=t==null?void 0:t.colors)!=null&&c["editor.foreground"])&&(r=t.colors["editor.foreground"]),!n&&((u=t==null?void 0:t.colors)!=null&&u["editor.background"])&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?ic.light:ic.dark),n||(n=t.type==="light"?sc.light:sc.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let o=0;const i=new Map;function s(p){var h;if(i.has(p))return i.get(p);o+=1;const d=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return(h=t.colorReplacements)!=null&&h[`#${d}`]?s(p):(i.set(p,d),d)}t.settings=t.settings.map(p=>{var v,y;const d=((v=p.settings)==null?void 0:v.foreground)&&!p.settings.foreground.startsWith("#"),h=((y=p.settings)==null?void 0:y.background)&&!p.settings.background.startsWith("#");if(!d&&!h)return p;const _={...p,settings:{...p.settings}};if(d){const E=s(p.settings.foreground);t.colorReplacements[E]=p.settings.foreground,_.settings.foreground=E}if(h){const E=s(p.settings.background);t.colorReplacements[E]=p.settings.background,_.settings.background=E}return _});for(const p of Object.keys(t.colors||{}))if((p==="editor.foreground"||p==="editor.background"||p.startsWith("terminal.ansi"))&&!((f=t.colors[p])!=null&&f.startsWith("#"))){const d=s(t.colors[p]);t.colorReplacements[d]=t.colors[p],t.colors[p]=d}return Object.defineProperty(t,ac,{enumerable:!1,writable:!1,value:!0}),t}async function Sd(e){return Array.from(new Set((await Promise.all(e.filter(t=>!gd(t)).map(async t=>await vd(t).then(n=>Array.isArray(n)?n:[n])))).flat()))}async function Cd(e){return(await Promise.all(e.map(async n=>_d(n)?null:ha(await vd(n))))).filter(n=>!!n)}var xw=Object.defineProperty,Lw=(e,t,n)=>t in e?xw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Qt=(e,t,n)=>(Lw(e,typeof t!="symbol"?t+"":t,n),n);class Ow extends Nv{constructor(t,n,r,o={}){super(t),this._resolver=t,this._themes=n,this._langs=r,this._alias=o,Qt(this,"_resolvedThemes",new Map),Qt(this,"_resolvedGrammars",new Map),Qt(this,"_langMap",new Map),Qt(this,"_langGraph",new Map),Qt(this,"_textmateThemeCache",new WeakMap),Qt(this,"_loadedThemesCache",null),Qt(this,"_loadedLanguagesCache",null),this._themes.map(i=>this.loadTheme(i)),this.loadLanguages(this._langs)}getTheme(t){return typeof t=="string"?this._resolvedThemes.get(t):this.loadTheme(t)}loadTheme(t){const n=ha(t);return n.name&&(this._resolvedThemes.set(n.name,n),this._loadedThemesCache=null),n}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(t){let n=this._textmateThemeCache.get(t);n||(n=Ro.createFromRawTheme(t),this._textmateThemeCache.set(t,n)),this._syncRegistry.setTheme(n)}getGrammar(t){if(this._alias[t]){const n=new Set([t]);for(;this._alias[t];){if(t=this._alias[t],n.has(t))throw new je(`Circular alias \`${Array.from(n).join(" -> ")} -> ${t}\``);n.add(t)}}return this._resolvedGrammars.get(t)}loadLanguage(t){var i,s,a,l;if(this.getGrammar(t.name))return;const n=new Set([...this._langMap.values()].filter(c=>{var u;return(u=c.embeddedLangsLazy)==null?void 0:u.includes(t.name)}));this._resolver.addLanguage(t);const r={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const o=this.loadGrammarWithConfiguration(t.scopeName,1,r);if(o.name=t.name,this._resolvedGrammars.set(t.name,o),t.aliases&&t.aliases.forEach(c=>{this._alias[c]=t.name}),this._loadedLanguagesCache=null,n.size)for(const c of n)this._resolvedGrammars.delete(c.name),this._loadedLanguagesCache=null,(s=(i=this._syncRegistry)==null?void 0:i._injectionGrammars)==null||s.delete(c.scopeName),(l=(a=this._syncRegistry)==null?void 0:a._grammars)==null||l.delete(c.scopeName),this.loadLanguage(this._langMap.get(c.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(t){for(const o of t)this.resolveEmbeddedLanguages(o);const n=Array.from(this._langGraph.entries()),r=n.filter(([o,i])=>!i);if(r.length){const o=n.filter(([i,s])=>{var a;return s&&((a=s.embeddedLangs)==null?void 0:a.some(l=>r.map(([c])=>c).includes(l)))}).filter(i=>!r.includes(i));throw new je(`Missing languages ${r.map(([i])=>`\`${i}\``).join(", ")}, required by ${o.map(([i])=>`\`${i}\``).join(", ")}`)}for(const[o,i]of n)this._resolver.addLanguage(i);for(const[o,i]of n)this.loadLanguage(i)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(t){if(this._langMap.set(t.name,t),this._langGraph.set(t.name,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap.get(n))}}var kw=Object.defineProperty,Iw=(e,t,n)=>t in e?kw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,zr=(e,t,n)=>(Iw(e,typeof t!="symbol"?t+"":t,n),n);class Dw{constructor(t,n){zr(this,"_langs",new Map),zr(this,"_scopeToLang",new Map),zr(this,"_injections",new Map),zr(this,"_onigLib"),this._onigLib={createOnigScanner:r=>t.createScanner(r),createOnigString:r=>t.createString(r)},n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLib}getLangRegistration(t){return this._langs.get(t)}loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(n=>{this._langs.set(n,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(t.scopeName)})}getInjections(t){const n=t.split(".");let r=[];for(let o=1;o<=n.length;o++){const i=n.slice(0,o).join(".");r=[...r,...this._injections.get(i)||[]]}return r}}let qn=0;function Nw(e){qn+=1,e.warnings!==!1&&qn>=10&&qn%10===0&&console.warn(`[Shiki] ${qn} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new je("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(ha),o=new Dw(e.engine,n),i=new Ow(o,r,n,e.langAlias);let s;function a(E){v();const m=i.getGrammar(typeof E=="string"?E:E.name);if(!m)throw new je(`Language \`${E}\` not found, you may need to load it first`);return m}function l(E){if(E==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};v();const m=i.getTheme(E);if(!m)throw new je(`Theme \`${E}\` not found, you may need to load it first`);return m}function c(E){v();const m=l(E);s!==E&&(i.setTheme(m),s=E);const w=i.getColorMap();return{theme:m,colorMap:w}}function u(){return v(),i.getLoadedThemes()}function f(){return v(),i.getLoadedLanguages()}function p(...E){v(),i.loadLanguages(E.flat(1))}async function d(...E){return p(await Sd(E))}function h(...E){v();for(const m of E.flat(1))i.loadTheme(m)}async function _(...E){return v(),h(await Cd(E))}function v(){if(t)throw new je("Shiki instance has been disposed")}function y(){t||(t=!0,i.dispose(),qn-=1)}return{setTheme:c,getTheme:l,getLanguage:a,getLoadedThemes:u,getLoadedLanguages:f,loadLanguage:d,loadLanguageSync:p,loadTheme:_,loadThemeSync:h,dispose:y,[Symbol.dispose]:y}}async function $w(e={}){e.loadWasm;const[t,n,r]=await Promise.all([Cd(e.themes||[]),Sd(e.langs||[]),e.engine||Bf(e.loadWasm||Jy())]);return Nw({...e,loadWasm:void 0,themes:t,langs:n,engine:r})}async function Mw(e={}){const t=await $w(e);return{getLastGrammarState:(...n)=>_w(t,...n),codeToTokensBase:(n,r)=>pa(t,n,r),codeToTokensWithThemes:(n,r)=>Td(t,n,r),codeToTokens:(n,r)=>$o(t,n,r),codeToHast:(n,r)=>Mo(t,n,r),codeToHtml:(n,r)=>Rw(t,n,r),...t,getInternalContext:()=>t}}function Hw(e,t,n){let r,o,i;{const a=e;r=a.langs,o=a.themes,i=a.engine}async function s(a){function l(d){if(typeof d=="string"){if(gd(d))return[];const h=r[d];if(!h)throw new Rt(`Language \`${d}\` is not included in this bundle. You may want to load it from external source.`);return h}return d}function c(d){if(_d(d))return"none";if(typeof d=="string"){const h=o[d];if(!h)throw new Rt(`Theme \`${d}\` is not included in this bundle. You may want to load it from external source.`);return h}return d}const u=(a.themes??[]).map(d=>c(d)),f=(a.langs??[]).map(d=>l(d)),p=await Mw({engine:a.engine??i(),...a,themes:u,langs:f});return{...p,loadLanguage(...d){return p.loadLanguage(...d.map(l))},loadTheme(...d){return p.loadTheme(...d.map(c))}}}return s}function Vw(e){let t;async function n(r={}){if(t){const o=await t;return await Promise.all([o.loadTheme(...r.themes||[]),o.loadLanguage(...r.langs||[])]),o}else return t=e({...r,themes:r.themes||[],langs:r.langs||[]}),t}return n}function Bw(e){const t=Vw(e);return{getSingletonHighlighter(n){return t(n)},async codeToHtml(n,r){return(await t({langs:[r.lang],themes:"theme"in r?[r.theme]:Object.values(r.themes)})).codeToHtml(n,r)},async codeToHast(n,r){return(await t({langs:[r.lang],themes:"theme"in r?[r.theme]:Object.values(r.themes)})).codeToHast(n,r)},async codeToTokens(n,r){return(await t({langs:[r.lang],themes:"theme"in r?[r.theme]:Object.values(r.themes)})).codeToTokens(n,r)},async codeToTokensBase(n,r){return(await t({langs:[r.lang],themes:[r.theme]})).codeToTokensBase(n,r)},async codeToTokensWithThemes(n,r){return(await t({langs:[r.lang],themes:Object.values(r.themes).filter(Boolean)})).codeToTokensWithThemes(n,r)},async getLastGrammarState(n,r){return(await t({langs:[r.lang],themes:[r.theme]})).getLastGrammarState(n,r)}}}const jw=Hw({langs:Oy,themes:Iy,engine:()=>Bf(g(()=>import("./CG6Dc4jp.js"),[],import.meta.url))}),{codeToHtml:Fw,codeToHast:Q1,codeToTokens:Z1,codeToTokensBase:eE,codeToTokensWithThemes:tE,getSingletonHighlighter:nE,getLastGrammarState:rE}=Bw(jw);let Uw;const Kn=[];function Ww(e){if(Kn.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&Kn.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&Kn.forEach(n=>n(t))},get(){return Uw.value},configurable:!0}),()=>{Kn.splice(Kn.indexOf(e),1)}}const Sn=fe(null);fe(Date.now());const Gw=fe(Date.now()),zw=window.location.host;fe("/");fe();const qw=fe("/");Ve(()=>Du(qw.value,`${window.location.protocol}//${zw}`));const Pd=fe(),Ad=fe();Ww(async e=>{var n;Ad.value=e.host.app.$fetch,Pd.value=e.devtools;const t=e.host.nuxt.vueApp._context.provides.usehead;e.host.nuxt.$router.afterEach(()=>{setTimeout(async()=>{var r;Sn.value=(r=(await t.resolveTags()).filter(o=>!!o.props["data-nuxt-schema-org"])[0])==null?void 0:r.innerHTML},100)}),Sn.value=(n=(await t.resolveTags()).filter(r=>!!r.props["data-nuxt-schema-org"])[0])==null?void 0:n.innerHTML});const Kw=["innerHTML"],Jw=We({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!1},transformRendered:{}},setup(e){const t=e,n=Py(async()=>{var o;const r=((o=Pd.value)==null?void 0:o.colorMode)||"light";return await Fw(t.code,{lang:t.lang,theme:r==="dark"?"vitesse-dark":"vitesse-light"})||""});return(r,o)=>(J(),ue("pre",{class:Te(["n-code-block",r.lines?"n-code-block-lines":""]),innerHTML:ne(n)},null,10,Kw))}}),Xw={flex:"~ gap-3","items-center":""},Yw=We({__name:"NIconTitle",props:{icon:{},text:{}},setup(e){return(t,n)=>(J(),ue("div",Xw,[t.icon?(J(),ue("div",{key:0,class:Te(t.icon)},null,2)):it("",!0),$e(t.$slots,"default",{},()=>[F("div",null,Mt(t.text),1)])]))}}),Qw=["open"],Zw={"text-base":""},e1={key:0,"text-sm":"",op50:""},t1=We({__name:"OSectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},headerClass:{},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(e){const n=Ry(e,"open");function r(o){n.value=o.target.open}return(o,i)=>{const s=oa,a=Yw;return J(),ue(xe,null,[F("details",{open:ne(n),onToggle:r},[F("summary",{class:Te(["cursor-pointer select-none n-bg-active hover:bg-active px-2 py-2 rounded transition-all",o.collapse?"":"pointer-events-none"])},[W(a,{icon:o.icon,text:o.text,"text-xl":"",transition:"",class:Te([ne(n)?"op100":"op60",o.headerClass])},{default:se(()=>[F("div",null,[F("div",Zw,[$e(o.$slots,"text",{},()=>[we(Mt(o.text),1)],!0)]),o.description||o.$slots.description?(J(),ue("div",e1,[$e(o.$slots,"description",{},()=>[we(Mt(o.description),1)],!0)])):it("",!0)]),i[0]||(i[0]=F("div",{class:"flex-auto"},null,-1)),$e(o.$slots,"actions",{},void 0,!0),o.collapse?(J(),Le(s,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):it("",!0)]),_:3},8,["icon","text","class"])],2),F("div",{class:Te(["flex flex-col flex-gap2 pb6 pt2",typeof o.padding=="string"?o.padding:o.padding?"px4":""])},[$e(o.$slots,"details",{},void 0,!0),F("div",{class:Te([o.containerClass,"mt1"])},[$e(o.$slots,"default",{},void 0,!0)],2),$e(o.$slots,"footer",{},void 0,!0)],2)],40,Qw),i[1]||(i[1]=F("div",{class:"x-divider"},null,-1))],64)}}}),n1=ri(t1,[["__scopeId","data-v-7ebc02fd"]]),r1=We({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(e){return(t,n)=>{const r=oa;return J(),Le(Jc(t.to?ne(Hf):"button"),Pr({to:t.to},{...t.$attrs,...!t.to&&{type:t.type},...t.disabled?{disabled:!0}:{tabindex:0}},{class:[[{"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":t.border},{"n-icon-button":!t.$slots.default}],"n-button n-transition n-disabled:n-disabled"]}),{default:se(()=>[$e(t.$slots,"icon",{},()=>[t.icon?(J(),Le(r,{key:0,icon:t.icon,class:Te({"n-button-icon":t.$slots.default})},null,8,["icon","class"])):it("",!0)]),$e(t.$slots,"default")]),_:3},16,["to","class"])}}}),o1=e=>e==="defer"||e===!1;function i1(...e){var _;const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,r,o={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const i=ve(),s=r,a=()=>Tn.value,l=()=>i.isHydrating?i.payload.data[n]:i.static.data[n];o.server=o.server??!0,o.default=o.default??a,o.getCachedData=o.getCachedData??l,o.lazy=o.lazy??!1,o.immediate=o.immediate??!0,o.deep=o.deep??Tn.deep,o.dedupe=o.dedupe??"cancel";const c=o.getCachedData(n,i),u=c!=null;if(!i._asyncData[n]||!o.immediate){(_=i.payload._errors)[n]??(_[n]=Tn.errorValue);const v=o.deep?fe:oo;i._asyncData[n]={data:v(u?c:o.default()),pending:fe(!u),error:Mc(i.payload._errors,n),status:fe("idle"),_default:o.default}}const f={...i._asyncData[n]};delete f._default,f.refresh=f.execute=(v={})=>{if(i._asyncDataPromises[n]){if(o1(v.dedupe??o.dedupe))return i._asyncDataPromises[n];i._asyncDataPromises[n].cancelled=!0}if(v._initial||i.isHydrating&&v._initial!==!1){const E=v._initial?c:o.getCachedData(n,i);if(E!=null)return Promise.resolve(E)}f.pending.value=!0,f.status.value="pending";const y=new Promise((E,m)=>{try{E(s(i))}catch(w){m(w)}}).then(async E=>{if(y.cancelled)return i._asyncDataPromises[n];let m=E;o.transform&&(m=await o.transform(E)),o.pick&&(m=a1(m,o.pick)),i.payload.data[n]=m,f.data.value=m,f.error.value=Tn.errorValue,f.status.value="success"}).catch(E=>{if(y.cancelled)return i._asyncDataPromises[n];f.error.value=Jo(E),f.data.value=ne(o.default()),f.status.value="error"}).finally(()=>{y.cancelled||(f.pending.value=!1,delete i._asyncDataPromises[n])});return i._asyncDataPromises[n]=y,i._asyncDataPromises[n]},f.clear=()=>s1(i,n);const p=()=>f.refresh({_initial:!0}),d=o.server!==!1&&i.payload.serverRendered;{const v=zo();if(v&&!v._nuxtOnBeforeMountCbs){v._nuxtOnBeforeMountCbs=[];const m=v._nuxtOnBeforeMountCbs;Wc(()=>{m.forEach(w=>{w()}),m.splice(0,m.length)}),Us(()=>m.splice(0,m.length))}d&&i.isHydrating&&(f.error.value||c!=null)?(f.pending.value=!1,f.status.value=f.error.value?"error":"success"):v&&(i.payload.serverRendered&&i.isHydrating||o.lazy)&&o.immediate?v._nuxtOnBeforeMountCbs.push(p):o.immediate&&p();const y=Ls();if(o.watch){const m=un(o.watch,()=>f.refresh());y&&wa(m)}const E=i.hook("app:data:refresh",async m=>{(!m||m.includes(n))&&await f.refresh()});y&&wa(E)}const h=Promise.resolve(i._asyncDataPromises[n]).then(()=>f);return Object.assign(h,f),h}function s1(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=Tn.errorValue),e._asyncData[t]&&(e._asyncData[t].data.value=void 0,e._asyncData[t].error.value=Tn.errorValue,e._asyncData[t].pending.value=!1,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t]&&(e._asyncDataPromises[t].cancelled=!0),e._asyncDataPromises[t]=void 0)}function a1(e,t){const n={};for(const r of t)n[r]=e[r];return n}function l1(){return i1(()=>Ad.value("/__schema-org__/debug.json"),{watch:[Gw]},"$XVR8o8RMBy")}const c1={class:"relative n-bg-base flex flex-col"},u1={class:"sticky top-0 z-2 px-4 pt-4"},f1={class:"flex justify-between items-start",mb2:""},d1={class:"flex space-x-5"},p1={"text-xl":"",flex:"","items-center":"","gap-2":""},h1={class:"flex items-center space-x-3 text-xl"},m1={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},g1={class:"px-5 py-2"},_1={"text-lg":"",flex:"","items-center":""},y1={class:"px-5 py-2"},v1={"text-lg":"",flex:"","items-center":""},b1={class:"px-5 py-2"},w1={"text-lg":"",flex:"","items-center":""},E1={class:"px-5 py-2"},T1={"text-lg":"",flex:"","items-center":""},S1=["value","title"],C1={class:"items-center space-x-3 hidden lg:flex"},P1={class:"opacity-80 text-sm"},A1={class:"opacity-80 text-sm"},R1={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},x1={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},L1={class:"mx-auto flex flex-col w-full bg-white dark:bg-black dark:bg-dark-700 bg-light-200"},O1={key:0},k1={key:1},I1={key:0},D1={class:"flex flex-col items-center justify-center mx-auto max-w-135 h-85vh"},N1={class:""},$1={class:"text-2xl font-semibold mb-3"},M1={class:"px-3 py-2 space-y-5 rounded mb-3",style:{"background-color":"#121212"}},H1={class:"opacity-80 text-base mb-1"},V1={class:"px-3 py-2 space-y-5"},B1={key:2,class:"space-y-5"},j1={class:"space-x-3"},F1={key:3,class:"space-y-5"},U1={class:"opacity-80 text-base mb-1"},W1={key:4,class:"h-full max-h-full overflow-hidden"},G1=We({__name:"app",setup(e){S_({title:"Nuxt Schema.org Playground"});const{data:t}=l1(),n=fe("nodes"),r=Ve(()=>{if(Sn.value)try{return JSON.parse(Sn.value)["@graph"]}catch{}return[]});function o(){navigator.clipboard.writeText(Sn.value)}return(i,s)=>{var v;const a=oa,l=ay,c=Ft("VTooltip"),u=hy,f=yy,p=Ty,d=Jw,h=n1,_=r1;return J(),ue("div",c1,[F("header",u1,[F("div",f1,[F("div",d1,[F("h1",p1,[W(a,{icon:"carbon:image-search",class:"text-blue-300"}),s[2]||(s[2]=we(" Schema.org ")),W(l,{class:"text-sm"},{default:se(()=>{var y;return[we(Mt((y=ne(t))==null?void 0:y.runtimeConfig.version),1)]}),_:1})])]),F("div",h1,[F("fieldset",m1,[(J(),ue(xe,null,xa(["nodes","raw","debug","docs"],(y,E)=>F("label",{key:E,class:Te(["relative n-border-base hover:n-bg-active cursor-pointer",[E?"border-l n-border-base ml--1px":"",y===ne(n)?"n-bg-active":""]])},[y==="nodes"?(J(),ue("div",{key:0,class:Te([y===ne(n)?"":"op35"])},[W(c,null,{popper:se(()=>s[3]||(s[3]=[we(" Nodes ")])),default:se(()=>[F("div",g1,[F("h2",_1,[W(a,{icon:"carbon:connect-source opacity-50"})])])]),_:1})],2)):it("",!0),y==="raw"?(J(),ue("div",{key:1,class:Te([y===ne(n)?"":"op35"])},[W(c,null,{popper:se(()=>s[4]||(s[4]=[we(" Raw ")])),default:se(()=>[F("div",y1,[F("h2",v1,[W(a,{icon:"carbon:code opacity-50"})])])]),_:1})],2)):y==="debug"?(J(),ue("div",{key:2,class:Te([y===ne(n)?"":"op35"])},[W(c,null,{popper:se(()=>s[5]||(s[5]=[we(" Debug ")])),default:se(()=>[F("div",b1,[F("h2",w1,[W(a,{icon:"carbon:debug opacity-50"})])])]),_:1})],2)):y==="docs"?(J(),ue("div",{key:3,class:Te([y===ne(n)?"":"op35"])},[W(c,null,{popper:se(()=>s[6]||(s[6]=[we(" Documentation ")])),default:se(()=>[F("div",E1,[F("h2",T1,[W(a,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):it("",!0),Ap(F("input",{"onUpdate:modelValue":s[0]||(s[0]=m=>Se(n)?n.value=m:null),type:"radio",value:y,title:y,class:"absolute cursor-pointer pointer-events-none inset-0 op-0.1"},null,8,S1),[[Xh,ne(n)]])],2)),64))]),W(c,null,{popper:se(()=>s[7]||(s[7]=[we(" Refresh ")])),default:se(()=>[F("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:s[1]||(s[1]=(...y)=>i.refreshSources&&i.refreshSources(...y))},[W(a,{icon:"carbon:reset",class:"group-hover:text-green-500"})])]),_:1})]),F("div",C1,[F("div",P1,[W(u,{href:"https://github.com/sponsors/harlan-zw",target:"_blank"},{default:se(()=>[W(a,{icon:"carbon:favorite",class:"mr-[2px]"}),s[8]||(s[8]=we(" Sponsor "))]),_:1})]),F("div",A1,[W(u,{href:"https://github.com/harlan-zw/nuxt-schema-org",target:"_blank"},{default:se(()=>[W(a,{icon:"logos:github-icon",class:"mr-[2px]"}),s[9]||(s[9]=we(" Submit an issue "))]),_:1})]),F("a",R1,[W(f)])])])]),F("div",x1,[F("main",L1,[ne(t)?it("",!0):(J(),ue("div",O1,[W(p)])),ne(n)==="nodes"?(J(),ue("div",k1,[(v=ne(r))!=null&&v.length?(J(!0),ue(xe,{key:1},xa(ne(r),(y,E)=>(J(),Le(h,{key:E},{text:se(()=>[F("h3",H1,Mt(Array.isArray(y["@type"])?y["@type"].join(", "):y["@type"]),1)]),description:se(()=>[F("div",null,Mt(y["@id"]),1)]),default:se(()=>[F("div",V1,[W(d,{code:JSON.stringify(y,null,2),lang:"json"},null,8,["code"])])]),_:2},1024))),128)):(J(),ue("div",I1,[F("div",D1,[F("div",N1,[F("h2",$1,[W(a,{icon:"carbon:information",class:"text-blue-500"}),s[10]||(s[10]=we(" Oops! Did you forget ")),s[11]||(s[11]=F("code",null,"useSchemaOrg()",-1)),s[12]||(s[12]=we("? "))]),s[13]||(s[13]=F("p",{class:"text-lg opacity-80 my-3"}," Getting started with Nuxt Schema.org is easy, simply add the following code within setup script setup of your file. ",-1)),F("div",M1,[W(d,{code:"useSchemaOrg([\\n defineWebPage({ title: 'Hello World' })\\n])",lang:"javascript"})]),s[14]||(s[14]=F("p",{class:"text-lg opacity-80"},[F("a",{href:"https://nuxtseo.com/docs/schema-org/getting-started/introduction",target:"_blank",class:"underline"}," Learn more ")],-1))])])]))])):ne(n)==="raw"?(J(),ue("div",B1,[F("div",j1,[W(u,{to:"https://validator.schema.org/",target:"_blank"},{default:se(()=>[W(a,{icon:"carbon:launch",class:"text-xs mr-1 opacity-50"}),s[15]||(s[15]=we("Structured Data Test "))]),_:1}),W(u,{to:"https://search.google.com/test/rich-results",target:"_blank"},{default:se(()=>[W(a,{icon:"carbon:launch",class:"text-xs mr-1 opacity-50"}),s[16]||(s[16]=we("Rich Results Test "))]),_:1}),W(_,{onClick:o},{default:se(()=>s[17]||(s[17]=[we(" Copy ")])),_:1})]),W(d,{code:ne(Sn),lang:"json"},null,8,["code"])])):ne(n)==="debug"?(J(),ue("div",F1,[W(h,null,{text:se(()=>[F("h3",U1,[W(a,{icon:"carbon:settings",class:"mr-1"}),s[18]||(s[18]=we(" Runtime Config "))])]),default:se(()=>{var y;return[W(d,{code:JSON.stringify(((y=ne(t))==null?void 0:y.runtimeConfig)||{},null,2),lang:"json"},null,8,["code"])]}),_:1})])):ne(n)==="docs"?(J(),ue("div",W1,s[19]||(s[19]=[F("iframe",{src:"https://nuxtseo.com/schema-org",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1)]))):it("",!0)])])])}}}),z1={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
|
|
31
|
+
`).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`<span class="stack${f.internal?" internal":""}">${f.text}</span>`).join(`
|
|
32
|
+
`);const r=Number(n.statusCode||500),o=r===404,i=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),s=n.message||n.toString(),a=void 0,u=o?Aa(()=>g(()=>import("./bW3Q9pbY.js"),__vite__mapDeps([93,94]),import.meta.url)):Aa(()=>g(()=>import("./B5CNlBgr.js"),__vite__mapDeps([95,96]),import.meta.url));return(f,p)=>(J(),Le(ne(u),mc(qs({statusCode:ne(r),statusMessage:ne(i),description:ne(s),stack:ne(a)})),null,16))}},q1={key:0},lc={__name:"nuxt-root",setup(e){const t=()=>null,n=ve(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);bt().beforeEach(l)}const o=!1;eu(Xu,Yu()),n.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const i=Qs(),s=!1;zc((l,c,u)=>{if(n.hooks.callHook("vue:error",l,c,u).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),xg(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>Ag(l)),!1});const a=!1;return(l,c)=>(J(),Le(hh,{onResolve:ne(r)},{default:se(()=>[ne(s)?(J(),ue("div",q1)):ne(i)?(J(),Le(ne(z1),{key:1,error:ne(i)},null,8,["error"])):ne(a)?(J(),Le(ne(t),{key:2,context:ne(a)},null,8,["context"])):ne(o)?(J(),Le(Jc(ne(o)),{key:3})):(J(),Le(ne(G1),{key:4}))]),_:1},8,["onResolve"]))}};let cc;{let e;cc=async function(){var s,a;if(e)return e;const r=!!(((s=window.__NUXT__)==null?void 0:s.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?nm(lc):Lu(lc),o=fg({vueApp:r});async function i(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||Jo(l)}r.config.errorHandler=i,o.hook("app:suspense:resolve",()=>{r.config.errorHandler===i&&(r.config.errorHandler=void 0)});try{await hg(o,ty)}catch(l){i(l)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(lg),await o.hooks.callHook("app:mounted",r),await Cr()}catch(l){i(l)}return r},e=cc().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{ri as _,F as a,W as b,ue as c,we as d,Hf as e,J as o,Mt as t,S_ as u,se as w};
|