@nuxt/scripts 0.3.8 → 0.3.9
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/dist/client/200.html +5 -5
- package/dist/client/404.html +5 -5
- package/dist/client/_nuxt/{CGGaCrUQ.js → BRKoJ6lw.js} +1 -1
- package/dist/client/_nuxt/{C1Vl9vM4.js → BwVNWVdS.js} +15 -15
- package/dist/client/_nuxt/Df--iwTR.js +1 -0
- package/dist/client/_nuxt/{DIhaC3tl.js → Dmsejhs1.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/42eedd27-01ea-43c5-acca-daf3456cac3d.json +1 -0
- package/dist/client/index.html +5 -5
- package/dist/module.json +1 -1
- package/dist/runtime/components/ScriptStripePricingTable.vue +21 -12
- package/dist/runtime/registry/cloudflare-web-analytics.mjs +1 -2
- package/dist/runtime/utils.mjs +1 -1
- package/package.json +6 -6
- package/dist/client/_nuxt/DtWntHdk.js +0 -1
- package/dist/client/_nuxt/builds/meta/eccf17f8-e9fe-407d-80ff-53638b160e43.json +0 -1
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
const __vite__fileDeps=["./DsudziMp.js","./CbViG2Xw.js","./Dch3xQiY.js","./CbYhyuC0.js","./B9E_xdxs.js","./BeX7Iu5M.js","./DC4hdoM9.js","./CsYA0RN7.js","./ClXEvkw9.js","./CupVZNk8.js","./BXR915QZ.js","./DC8MraHL.js","./DSrLtGYv.js","./CMDmr8et.js","./Du6_OKDb.js","./DXT9h7v2.js","./BlxWTfDV.js","./C1DVX8_8.js","./DbK06e1c.js","./Cgl53LJQ.js","./Bg0wAK5a.js","./BOnd8D4O.js","./DouzTJIq.js","./RCJZWN-0.js","./B6bHXiXE.js","./BZfs-ost.js","./BaNxgKSR.js","./RE3ujT-k.js","./ChMCFiS0.js","./CarfVElc.js","./BVGdgKAv.js","./sQpxpyUs.js","./D6pmzCqS.js","./Djqq6n-7.js","./BdfWgkoX.js","./NL97_oaV.js","./B_SUYfiV.js","./CoEqzGFw.js","./DAVo6uMX.js","./DvyTQcux.js","./JgH_6NEN.js","./Bbv8ARUV.js","./CQUCfALx.js","./BN4LRXf6.js","./CsyrCbsw.js","./BmCW-tYz.js","./G-Jz5hiA.js","./DUdlC5k_.js","./C5gCGmDW.js","./BR6CMsBL.js","./CqYeW6XZ.js","./DzwdaLuO.js","./D4LaosRr.js","./DY7_9Ga-.js","./D_T9yQUo.js","./DwuVtWc2.js","./BXfENWL6.js","./o5b8QYQO.js","./Db2-y2xY.js","./nclm9rTJ.js","./DAGYewaG.js","./DGxQkqYo.js","./vMsNTMhM.js","./Dg0DGYq4.js","./DGDuLtS6.js","./CcYwH0AH.js","./DR5YgmI2.js","./YdT6Gj0u.js","./Dwo2i-71.js","./Cthz8VOO.js","./DhFF74a2.js","./Lpdzc9s2.js","./DISxKEhY.js","./CHCTrc3a.js","./DXZpi2gR.js","./8t4jSAMm.js","./BiDE021q.js","./DmDrTTlz.js","./dIHJ9UdL.js","./DJZWsvj0.js","./C15OxdQ5.js","./DLP9ZvWb.js","./wKgfcFVx.js","./BacI6-DX.js","./DtT2Dbx_.js","./DYI1rfmx.js","./Bh8mriwU.js","./BT9ZzGyQ.js","./Di3qjVs2.js","./CJQrLysU.js","./
|
|
2
|
-
var
|
|
3
|
-
* @vue/shared v3.4.
|
|
1
|
+
const __vite__fileDeps=["./DsudziMp.js","./CbViG2Xw.js","./Dch3xQiY.js","./CbYhyuC0.js","./B9E_xdxs.js","./BeX7Iu5M.js","./DC4hdoM9.js","./CsYA0RN7.js","./ClXEvkw9.js","./CupVZNk8.js","./BXR915QZ.js","./DC8MraHL.js","./DSrLtGYv.js","./CMDmr8et.js","./Du6_OKDb.js","./DXT9h7v2.js","./BlxWTfDV.js","./C1DVX8_8.js","./DbK06e1c.js","./Cgl53LJQ.js","./Bg0wAK5a.js","./BOnd8D4O.js","./DouzTJIq.js","./RCJZWN-0.js","./B6bHXiXE.js","./BZfs-ost.js","./BaNxgKSR.js","./RE3ujT-k.js","./ChMCFiS0.js","./CarfVElc.js","./BVGdgKAv.js","./sQpxpyUs.js","./D6pmzCqS.js","./Djqq6n-7.js","./BdfWgkoX.js","./NL97_oaV.js","./B_SUYfiV.js","./CoEqzGFw.js","./DAVo6uMX.js","./DvyTQcux.js","./JgH_6NEN.js","./Bbv8ARUV.js","./CQUCfALx.js","./BN4LRXf6.js","./CsyrCbsw.js","./BmCW-tYz.js","./G-Jz5hiA.js","./DUdlC5k_.js","./C5gCGmDW.js","./BR6CMsBL.js","./CqYeW6XZ.js","./DzwdaLuO.js","./D4LaosRr.js","./DY7_9Ga-.js","./D_T9yQUo.js","./DwuVtWc2.js","./BXfENWL6.js","./o5b8QYQO.js","./Db2-y2xY.js","./nclm9rTJ.js","./DAGYewaG.js","./DGxQkqYo.js","./vMsNTMhM.js","./Dg0DGYq4.js","./DGDuLtS6.js","./CcYwH0AH.js","./DR5YgmI2.js","./YdT6Gj0u.js","./Dwo2i-71.js","./Cthz8VOO.js","./DhFF74a2.js","./Lpdzc9s2.js","./DISxKEhY.js","./CHCTrc3a.js","./DXZpi2gR.js","./8t4jSAMm.js","./BiDE021q.js","./DmDrTTlz.js","./dIHJ9UdL.js","./DJZWsvj0.js","./C15OxdQ5.js","./DLP9ZvWb.js","./wKgfcFVx.js","./BacI6-DX.js","./DtT2Dbx_.js","./DYI1rfmx.js","./Bh8mriwU.js","./BT9ZzGyQ.js","./Di3qjVs2.js","./CJQrLysU.js","./Dmsejhs1.js","./Df--iwTR.js","./error-404.BRldFSII.css","./BRKoJ6lw.js","./error-500.D8yw_IbC.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
|
|
2
|
+
var Pc=Object.defineProperty;var Ac=(e,t,n)=>t in e?Pc(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var y=(e,t,n)=>(Ac(e,typeof t!="symbol"?t+"":t,n),n);/**
|
|
3
|
+
* @vue/shared v3.4.27
|
|
4
4
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
5
5
|
* @license MIT
|
|
6
|
-
**//*! #__NO_SIDE_EFFECTS__ */function
|
|
7
|
-
* @vue/reactivity v3.4.
|
|
6
|
+
**//*! #__NO_SIDE_EFFECTS__ */function Ho(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const ae={},Gt=[],je=()=>{},Cc=()=>!1,In=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Fo=e=>e.startsWith("onUpdate:"),ve=Object.assign,Uo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Sc=Object.prototype.hasOwnProperty,Q=(e,t)=>Sc.call(e,t),W=Array.isArray,Wt=e=>Lr(e)==="[object Map]",zi=e=>Lr(e)==="[object Set]",G=e=>typeof e=="function",ce=e=>typeof e=="string",Mt=e=>typeof e=="symbol",ie=e=>e!==null&&typeof e=="object",Go=e=>(ie(e)||G(e))&&G(e.then)&&G(e.catch),Ji=Object.prototype.toString,Lr=e=>Ji.call(e),Lc=e=>Lr(e).slice(8,-1),Yi=e=>Lr(e)==="[object Object]",Wo=e=>ce(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,qt=Ho(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Or=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Oc=/-(\w)/g,Qe=Or(e=>e.replace(Oc,(t,n)=>n?n.toUpperCase():"")),Ic=/\B([A-Z])/g,on=Or(e=>e.replace(Ic,"-$1").toLowerCase()),Ir=Or(e=>e.charAt(0).toUpperCase()+e.slice(1)),Wr=Or(e=>e?`on${Ir(e)}`:""),bt=(e,t)=>!Object.is(e,t),qr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Xi=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},xc=e=>{const t=parseFloat(e);return isNaN(t)?e:t},kc=e=>{const t=ce(e)?Number(e):NaN;return isNaN(t)?e:t};let Ss;const Qi=()=>Ss||(Ss=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xr(e){if(W(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=ce(r)?Vc(r):xr(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(ce(e)||ie(e))return e}const Nc=/;(?![^(]*\))/g,Dc=/:([^]+)/,Mc=/\/\*[^]*?\*\//g;function Vc(e){const t={};return e.replace(Mc,"").split(Nc).forEach(n=>{if(n){const r=n.split(Dc);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Vt(e){let t="";if(ce(e))t=e;else if(W(e))for(let n=0;n<e.length;n++){const r=Vt(e[n]);r&&(t+=r+" ")}else if(ie(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Bc(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ce(t)&&(e.class=Vt(t)),n&&(e.style=xr(n)),e}const jc="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",$c=Ho(jc);function Zi(e){return!!e||e===""}const at=e=>ce(e)?e:e==null?"":W(e)||ie(e)&&(e.toString===Ji||!G(e.toString))?JSON.stringify(e,el,2):String(e),el=(e,t)=>t&&t.__v_isRef?el(e,t.value):Wt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[Kr(r,s)+" =>"]=o,n),{})}:zi(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Kr(n))}:Mt(t)?Kr(t):ie(t)&&!W(t)&&!Yi(t)?String(t):t,Kr=(e,t="")=>{var n;return Mt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
7
|
+
* @vue/reactivity v3.4.27
|
|
8
8
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
9
9
|
* @license MIT
|
|
10
|
-
**/let Ue;class rl{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ue,!t&&Ue&&(this.index=(Ue.scopes||(Ue.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ue;try{return Ue=this,t()}finally{Ue=n}}}on(){Ue=this}off(){Ue=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Wc(e){return new rl(e)}function qc(e,t=Ue){t&&t.active&&t.effects.push(e)}function Kc(){return Ue}let It;class zo{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,qc(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,vt();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(zc(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Et()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=gt,n=It;try{return gt=!0,It=this,this._runnings++,Is(this),this.fn()}finally{xs(this),this._runnings--,It=n,gt=t}}stop(){this.active&&(Is(this),xs(this),this.onStop&&this.onStop(),this.active=!1)}}function zc(e){return e.value}function Is(e){e._trackId++,e._depsLength=0}function xs(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)ol(e.deps[t],e);e.deps.length=e._depsLength}}function ol(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let gt=!0,fo=0;const sl=[];function vt(){sl.push(gt),gt=!1}function Et(){const e=sl.pop();gt=e===void 0?!0:e}function Jo(){fo++}function Yo(){for(fo--;!fo&&po.length;)po.shift()()}function il(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&ol(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const po=[];function ll(e,t,n){Jo();for(const r of e.keys()){let o;r._dirtyLevel<t&&(o??(o=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(o??(o=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&po.push(r.scheduler)))}Yo()}const al=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},ir=new WeakMap,xt=Symbol(""),ho=Symbol("");function Ne(e,t,n){if(gt&&It){let r=ir.get(e);r||ir.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=al(()=>r.delete(n))),il(It,o)}}function st(e,t,n,r,o,s){const i=ir.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&W(e)){const a=Number(r);i.forEach((c,u)=>{(u==="length"||!Mt(u)&&u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":W(e)?Ko(n)&&l.push(i.get("length")):(l.push(i.get(xt)),Wt(e)&&l.push(i.get(ho)));break;case"delete":W(e)||(l.push(i.get(xt)),Wt(e)&&l.push(i.get(ho)));break;case"set":Wt(e)&&l.push(i.get(xt));break}Jo();for(const a of l)a&&ll(a,4);Yo()}function Jc(e,t){const n=ir.get(e);return n&&n.get(t)}const Yc=Uo("__proto__,__v_isRef,__isVue"),cl=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Mt)),ks=Xc();function Xc(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ee(this);for(let s=0,i=this.length;s<i;s++)Ne(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(ee)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){vt(),Jo();const r=ee(this)[t].apply(this,n);return Yo(),Et(),r}}),e}function Qc(e){Mt(e)||(e=String(e));const t=ee(this);return Ne(t,"has",e),t.hasOwnProperty(e)}class ul{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?fu:hl:s?pl:dl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=W(t);if(!o){if(i&&Q(ks,n))return Reflect.get(ks,n,r);if(n==="hasOwnProperty")return Qc}const l=Reflect.get(t,n,r);return(Mt(n)?cl.has(n):Yc(n))||(o||Ne(t,"get",n),s)?l:Te(l)?i&&Ko(n)?l:l.value:ie(l)?o?_l(l):Ze(l):l}}class fl extends ul{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const a=en(s);if(!lr(r)&&!en(r)&&(s=ee(s),r=ee(r)),!W(t)&&Te(s)&&!Te(r))return a?!1:(s.value=r,!0)}const i=W(t)&&Ko(n)?Number(n)<t.length:Q(t,n),l=Reflect.set(t,n,r,o);return t===ee(o)&&(i?bt(r,s)&&st(t,"set",n,r):st(t,"add",n,r)),l}deleteProperty(t,n){const r=Q(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&st(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!Mt(n)||!cl.has(n))&&Ne(t,"has",n),r}ownKeys(t){return Ne(t,"iterate",W(t)?"length":xt),Reflect.ownKeys(t)}}class Zc extends ul{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const eu=new fl,tu=new Zc,nu=new fl(!0);const Xo=e=>e,kr=e=>Reflect.getPrototypeOf(e);function Bn(e,t,n=!1,r=!1){e=e.__v_raw;const o=ee(e),s=ee(t);n||(bt(t,s)&&Ne(o,"get",t),Ne(o,"get",s));const{has:i}=kr(o),l=r?Xo:n?es:vn;if(i.call(o,t))return l(e.get(t));if(i.call(o,s))return l(e.get(s));e!==o&&e.get(t)}function jn(e,t=!1){const n=this.__v_raw,r=ee(n),o=ee(e);return t||(bt(e,o)&&Ne(r,"has",e),Ne(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function $n(e,t=!1){return e=e.__v_raw,!t&&Ne(ee(e),"iterate",xt),Reflect.get(e,"size",e)}function Ns(e){e=ee(e);const t=ee(this);return kr(t).has.call(t,e)||(t.add(e),st(t,"add",e,e)),this}function Ds(e,t){t=ee(t);const n=ee(this),{has:r,get:o}=kr(n);let s=r.call(n,e);s||(e=ee(e),s=r.call(n,e));const i=o.call(n,e);return n.set(e,t),s?bt(t,i)&&st(n,"set",e,t):st(n,"add",e,t),this}function Ms(e){const t=ee(this),{has:n,get:r}=kr(t);let o=n.call(t,e);o||(e=ee(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&st(t,"delete",e,void 0),s}function Vs(){const e=ee(this),t=e.size!==0,n=e.clear();return t&&st(e,"clear",void 0,void 0),n}function Hn(e,t){return function(r,o){const s=this,i=s.__v_raw,l=ee(i),a=t?Xo:e?es:vn;return!e&&Ne(l,"iterate",xt),i.forEach((c,u)=>r.call(o,a(c),a(u),s))}}function Fn(e,t,n){return function(...r){const o=this.__v_raw,s=ee(o),i=Wt(s),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,c=o[e](...r),u=n?Xo:t?es:vn;return!t&&Ne(s,"iterate",a?ho:xt),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function ct(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ru(){const e={get(s){return Bn(this,s)},get size(){return $n(this)},has:jn,add:Ns,set:Ds,delete:Ms,clear:Vs,forEach:Hn(!1,!1)},t={get(s){return Bn(this,s,!1,!0)},get size(){return $n(this)},has:jn,add:Ns,set:Ds,delete:Ms,clear:Vs,forEach:Hn(!1,!0)},n={get(s){return Bn(this,s,!0)},get size(){return $n(this,!0)},has(s){return jn.call(this,s,!0)},add:ct("add"),set:ct("set"),delete:ct("delete"),clear:ct("clear"),forEach:Hn(!0,!1)},r={get(s){return Bn(this,s,!0,!0)},get size(){return $n(this,!0)},has(s){return jn.call(this,s,!0)},add:ct("add"),set:ct("set"),delete:ct("delete"),clear:ct("clear"),forEach:Hn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Fn(s,!1,!1),n[s]=Fn(s,!0,!1),t[s]=Fn(s,!1,!0),r[s]=Fn(s,!0,!0)}),[e,n,t,r]}const[ou,su,iu,lu]=ru();function Qo(e,t){const n=t?e?lu:iu:e?su:ou;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Q(n,o)&&o in r?n:r,o,s)}const au={get:Qo(!1,!1)},cu={get:Qo(!1,!0)},uu={get:Qo(!0,!1)};const dl=new WeakMap,pl=new WeakMap,hl=new WeakMap,fu=new WeakMap;function du(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function pu(e){return e.__v_skip||!Object.isExtensible(e)?0:du(kc(e))}function Ze(e){return en(e)?e:Zo(e,!1,eu,au,dl)}function ml(e){return Zo(e,!1,nu,cu,pl)}function _l(e){return Zo(e,!0,tu,uu,hl)}function Zo(e,t,n,r,o){if(!ie(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=pu(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return o.set(e,l),l}function hn(e){return en(e)?hn(e.__v_raw):!!(e&&e.__v_isReactive)}function en(e){return!!(e&&e.__v_isReadonly)}function lr(e){return!!(e&&e.__v_isShallow)}function gl(e){return e?!!e.__v_raw:!1}function ee(e){const t=e&&e.__v_raw;return t?ee(t):e}function hu(e){return Object.isExtensible(e)&&Zi(e,"__v_skip",!0),e}const vn=e=>ie(e)?Ze(e):e,es=e=>ie(e)?_l(e):e;class yl{constructor(t,n,r,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new zo(()=>t(this._value),()=>Qn(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=ee(this);return(!t._cacheable||t.effect.dirty)&&bt(t._value,t._value=t.effect.run())&&Qn(t,4),bl(t),t.effect._dirtyLevel>=2&&Qn(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function mu(e,t,n=!1){let r,o;const s=G(e);return s?(r=e,o=je):(r=e.get,o=e.set),new yl(r,o,s||!o,n)}function bl(e){var t;gt&&It&&(e=ee(e),il(It,(t=e.dep)!=null?t:e.dep=al(()=>e.dep=void 0,e instanceof yl?e:void 0)))}function Qn(e,t=4,n){e=ee(e);const r=e.dep;r&&ll(r,t)}function Te(e){return!!(e&&e.__v_isRef===!0)}function We(e){return vl(e,!1)}function Bs(e){return vl(e,!0)}function vl(e,t){return Te(e)?e:new _u(e,t)}class _u{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ee(t),this._value=n?t:vn(t)}get value(){return bl(this),this._value}set value(t){const n=this.__v_isShallow||lr(t)||en(t);t=n?t:ee(t),bt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:vn(t),Qn(this,4))}}function se(e){return Te(e)?e.value:e}function gu(e){return G(e)?e():se(e)}const yu={get:(e,t,n)=>se(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Te(o)&&!Te(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function El(e){return hn(e)?e:new Proxy(e,yu)}class bu{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Jc(ee(this._object),this._key)}}class vu{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function wl(e,t,n){return Te(e)?e:G(e)?new vu(e):ie(e)&&arguments.length>1?Eu(e,t,n):We(e)}function Eu(e,t,n){const r=e[t];return Te(r)?r:new bu(e,t,n)}/**
|
|
11
|
-
* @vue/runtime-core v3.4.
|
|
10
|
+
**/let Ue;class tl{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Ue,!t&&Ue&&(this.index=(Ue.scopes||(Ue.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Ue;try{return Ue=this,t()}finally{Ue=n}}}on(){Ue=this}off(){Ue=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function Hc(e){return new tl(e)}function Fc(e,t=Ue){t&&t.active&&t.effects.push(e)}function Uc(){return Ue}let It;class qo{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,Fc(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,vt();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Gc(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Et()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=gt,n=It;try{return gt=!0,It=this,this._runnings++,Ls(this),this.fn()}finally{Os(this),this._runnings--,It=n,gt=t}}stop(){this.active&&(Ls(this),Os(this),this.onStop&&this.onStop(),this.active=!1)}}function Gc(e){return e.value}function Ls(e){e._trackId++,e._depsLength=0}function Os(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)nl(e.deps[t],e);e.deps.length=e._depsLength}}function nl(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let gt=!0,fo=0;const rl=[];function vt(){rl.push(gt),gt=!1}function Et(){const e=rl.pop();gt=e===void 0?!0:e}function Ko(){fo++}function zo(){for(fo--;!fo&&po.length;)po.shift()()}function ol(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&nl(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const po=[];function sl(e,t,n){Ko();for(const r of e.keys()){let o;r._dirtyLevel<t&&(o??(o=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(o??(o=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&po.push(r.scheduler)))}zo()}const il=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},ir=new WeakMap,xt=Symbol(""),ho=Symbol("");function Ne(e,t,n){if(gt&&It){let r=ir.get(e);r||ir.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=il(()=>r.delete(n))),ol(It,o)}}function st(e,t,n,r,o,s){const i=ir.get(e);if(!i)return;let l=[];if(t==="clear")l=[...i.values()];else if(n==="length"&&W(e)){const a=Number(r);i.forEach((c,u)=>{(u==="length"||!Mt(u)&&u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(i.get(n)),t){case"add":W(e)?Wo(n)&&l.push(i.get("length")):(l.push(i.get(xt)),Wt(e)&&l.push(i.get(ho)));break;case"delete":W(e)||(l.push(i.get(xt)),Wt(e)&&l.push(i.get(ho)));break;case"set":Wt(e)&&l.push(i.get(xt));break}Ko();for(const a of l)a&&sl(a,4);zo()}function Wc(e,t){const n=ir.get(e);return n&&n.get(t)}const qc=Ho("__proto__,__v_isRef,__isVue"),ll=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Mt)),Is=Kc();function Kc(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ee(this);for(let s=0,i=this.length;s<i;s++)Ne(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(ee)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){vt(),Ko();const r=ee(this)[t].apply(this,n);return zo(),Et(),r}}),e}function zc(e){Mt(e)||(e=String(e));const t=ee(this);return Ne(t,"has",e),t.hasOwnProperty(e)}class al{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?lu:dl:s?fl:ul).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=W(t);if(!o){if(i&&Q(Is,n))return Reflect.get(Is,n,r);if(n==="hasOwnProperty")return zc}const l=Reflect.get(t,n,r);return(Mt(n)?ll.has(n):qc(n))||(o||Ne(t,"get",n),s)?l:Te(l)?i&&Wo(n)?l:l.value:ie(l)?o?hl(l):Ze(l):l}}class cl extends al{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const a=Zt(s);if(!lr(r)&&!Zt(r)&&(s=ee(s),r=ee(r)),!W(t)&&Te(s)&&!Te(r))return a?!1:(s.value=r,!0)}const i=W(t)&&Wo(n)?Number(n)<t.length:Q(t,n),l=Reflect.set(t,n,r,o);return t===ee(o)&&(i?bt(r,s)&&st(t,"set",n,r):st(t,"add",n,r)),l}deleteProperty(t,n){const r=Q(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&st(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!Mt(n)||!ll.has(n))&&Ne(t,"has",n),r}ownKeys(t){return Ne(t,"iterate",W(t)?"length":xt),Reflect.ownKeys(t)}}class Jc extends al{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Yc=new cl,Xc=new Jc,Qc=new cl(!0);const Jo=e=>e,kr=e=>Reflect.getPrototypeOf(e);function Bn(e,t,n=!1,r=!1){e=e.__v_raw;const o=ee(e),s=ee(t);n||(bt(t,s)&&Ne(o,"get",t),Ne(o,"get",s));const{has:i}=kr(o),l=r?Jo:n?Qo:vn;if(i.call(o,t))return l(e.get(t));if(i.call(o,s))return l(e.get(s));e!==o&&e.get(t)}function jn(e,t=!1){const n=this.__v_raw,r=ee(n),o=ee(e);return t||(bt(e,o)&&Ne(r,"has",e),Ne(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function $n(e,t=!1){return e=e.__v_raw,!t&&Ne(ee(e),"iterate",xt),Reflect.get(e,"size",e)}function xs(e){e=ee(e);const t=ee(this);return kr(t).has.call(t,e)||(t.add(e),st(t,"add",e,e)),this}function ks(e,t){t=ee(t);const n=ee(this),{has:r,get:o}=kr(n);let s=r.call(n,e);s||(e=ee(e),s=r.call(n,e));const i=o.call(n,e);return n.set(e,t),s?bt(t,i)&&st(n,"set",e,t):st(n,"add",e,t),this}function Ns(e){const t=ee(this),{has:n,get:r}=kr(t);let o=n.call(t,e);o||(e=ee(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&st(t,"delete",e,void 0),s}function Ds(){const e=ee(this),t=e.size!==0,n=e.clear();return t&&st(e,"clear",void 0,void 0),n}function Hn(e,t){return function(r,o){const s=this,i=s.__v_raw,l=ee(i),a=t?Jo:e?Qo:vn;return!e&&Ne(l,"iterate",xt),i.forEach((c,u)=>r.call(o,a(c),a(u),s))}}function Fn(e,t,n){return function(...r){const o=this.__v_raw,s=ee(o),i=Wt(s),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,c=o[e](...r),u=n?Jo:t?Qo:vn;return!t&&Ne(s,"iterate",a?ho:xt),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:l?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function ct(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Zc(){const e={get(s){return Bn(this,s)},get size(){return $n(this)},has:jn,add:xs,set:ks,delete:Ns,clear:Ds,forEach:Hn(!1,!1)},t={get(s){return Bn(this,s,!1,!0)},get size(){return $n(this)},has:jn,add:xs,set:ks,delete:Ns,clear:Ds,forEach:Hn(!1,!0)},n={get(s){return Bn(this,s,!0)},get size(){return $n(this,!0)},has(s){return jn.call(this,s,!0)},add:ct("add"),set:ct("set"),delete:ct("delete"),clear:ct("clear"),forEach:Hn(!0,!1)},r={get(s){return Bn(this,s,!0,!0)},get size(){return $n(this,!0)},has(s){return jn.call(this,s,!0)},add:ct("add"),set:ct("set"),delete:ct("delete"),clear:ct("clear"),forEach:Hn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Fn(s,!1,!1),n[s]=Fn(s,!0,!1),t[s]=Fn(s,!1,!0),r[s]=Fn(s,!0,!0)}),[e,n,t,r]}const[eu,tu,nu,ru]=Zc();function Yo(e,t){const n=t?e?ru:nu:e?tu:eu;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Q(n,o)&&o in r?n:r,o,s)}const ou={get:Yo(!1,!1)},su={get:Yo(!1,!0)},iu={get:Yo(!0,!1)};const ul=new WeakMap,fl=new WeakMap,dl=new WeakMap,lu=new WeakMap;function au(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cu(e){return e.__v_skip||!Object.isExtensible(e)?0:au(Lc(e))}function Ze(e){return Zt(e)?e:Xo(e,!1,Yc,ou,ul)}function pl(e){return Xo(e,!1,Qc,su,fl)}function hl(e){return Xo(e,!0,Xc,iu,dl)}function Xo(e,t,n,r,o){if(!ie(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=cu(e);if(i===0)return e;const l=new Proxy(e,i===2?r:n);return o.set(e,l),l}function pn(e){return Zt(e)?pn(e.__v_raw):!!(e&&e.__v_isReactive)}function Zt(e){return!!(e&&e.__v_isReadonly)}function lr(e){return!!(e&&e.__v_isShallow)}function ml(e){return e?!!e.__v_raw:!1}function ee(e){const t=e&&e.__v_raw;return t?ee(t):e}function uu(e){return Object.isExtensible(e)&&Xi(e,"__v_skip",!0),e}const vn=e=>ie(e)?Ze(e):e,Qo=e=>ie(e)?hl(e):e;class _l{constructor(t,n,r,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new qo(()=>t(this._value),()=>Qn(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=ee(this);return(!t._cacheable||t.effect.dirty)&&bt(t._value,t._value=t.effect.run())&&Qn(t,4),gl(t),t.effect._dirtyLevel>=2&&Qn(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function fu(e,t,n=!1){let r,o;const s=G(e);return s?(r=e,o=je):(r=e.get,o=e.set),new _l(r,o,s||!o,n)}function gl(e){var t;gt&&It&&(e=ee(e),ol(It,(t=e.dep)!=null?t:e.dep=il(()=>e.dep=void 0,e instanceof _l?e:void 0)))}function Qn(e,t=4,n){e=ee(e);const r=e.dep;r&&sl(r,t)}function Te(e){return!!(e&&e.__v_isRef===!0)}function We(e){return yl(e,!1)}function Ms(e){return yl(e,!0)}function yl(e,t){return Te(e)?e:new du(e,t)}class du{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ee(t),this._value=n?t:vn(t)}get value(){return gl(this),this._value}set value(t){const n=this.__v_isShallow||lr(t)||Zt(t);t=n?t:ee(t),bt(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:vn(t),Qn(this,4))}}function se(e){return Te(e)?e.value:e}function pu(e){return G(e)?e():se(e)}const hu={get:(e,t,n)=>se(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Te(o)&&!Te(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function bl(e){return pn(e)?e:new Proxy(e,hu)}class mu{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Wc(ee(this._object),this._key)}}class _u{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function vl(e,t,n){return Te(e)?e:G(e)?new _u(e):ie(e)&&arguments.length>1?gu(e,t,n):We(e)}function gu(e,t,n){const r=e[t];return Te(r)?r:new mu(e,t,n)}/**
|
|
11
|
+
* @vue/runtime-core v3.4.27
|
|
12
12
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
13
13
|
* @license MIT
|
|
14
|
-
**/function yt(e,t,n,r){try{return r?e(...r):e()}catch(o){ln(o,t,n)}}function qe(e,t,n,r){if(G(e)){const o=yt(e,t,n,r);return o&&qo(o)&&o.catch(s=>{ln(s,t,n)}),o}if(W(e)){const o=[];for(let s=0;s<e.length;s++)o.push(qe(e[s],t,n,r));return o}}function ln(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let s=t.parent;const i=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const c=s.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,i,l)===!1)return}s=s.parent}const a=t.appContext.config.errorHandler;if(a){vt(),yt(a,null,10,[e,i,l]),Et();return}}wu(e,n,o,r)}function wu(e,t,n,r=!0){console.error(e)}let En=!1,mo=!1;const Ae=[];let Xe=0;const Kt=[];let dt=null,St=0;const Rl=Promise.resolve();let ts=null;function ns(e){const t=ts||Rl;return e?t.then(this?e.bind(this):e):t}function Ru(e){let t=Xe+1,n=Ae.length;for(;t<n;){const r=t+n>>>1,o=Ae[r],s=wn(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function Nr(e){(!Ae.length||!Ae.includes(e,En&&e.allowRecurse?Xe+1:Xe))&&(e.id==null?Ae.push(e):Ae.splice(Ru(e.id),0,e),Tl())}function Tl(){!En&&!mo&&(mo=!0,ts=Rl.then(Pl))}function Tu(e){const t=Ae.indexOf(e);t>Xe&&Ae.splice(t,1)}function _o(e){W(e)?Kt.push(...e):(!dt||!dt.includes(e,e.allowRecurse?St+1:St))&&Kt.push(e),Tl()}function js(e,t,n=En?Xe+1:0){for(;n<Ae.length;n++){const r=Ae[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;Ae.splice(n,1),n--,r()}}}function ar(e){if(Kt.length){const t=[...new Set(Kt)].sort((n,r)=>wn(n)-wn(r));if(Kt.length=0,dt){dt.push(...t);return}for(dt=t,St=0;St<dt.length;St++)dt[St]();dt=null,St=0}}const wn=e=>e.id==null?1/0:e.id,Pu=(e,t)=>{const n=wn(e)-wn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Pl(e){mo=!1,En=!0,Ae.sort(Pu);try{for(Xe=0;Xe<Ae.length;Xe++){const t=Ae[Xe];t&&t.active!==!1&&yt(t,null,14)}}finally{Xe=0,Ae.length=0,ar(),En=!1,ts=null,(Ae.length||Kt.length)&&Pl()}}function Au(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ae;let o=n;const s=t.startsWith("update:"),i=s&&t.slice(7);if(i&&i in r){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:d}=r[u]||ae;d&&(o=n.map(p=>ce(p)?p.trim():p)),f&&(o=n.map(Mc))}let l,a=r[l=Wr(t)]||r[l=Wr(Qe(t))];!a&&s&&(a=r[l=Wr(sn(t))]),a&&qe(a,e,6,o);const c=r[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,qe(c,e,6,o)}}function Al(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},l=!1;if(!G(e)){const a=c=>{const u=Al(c,t,!0);u&&(l=!0,ve(i,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!s&&!l?(ie(e)&&r.set(e,null),null):(W(s)?s.forEach(a=>i[a]=null):ve(i,s),ie(e)&&r.set(e,i),i)}function Dr(e,t){return!e||!In(t)?!1:(t=t.slice(2).replace(/Once$/,""),Q(e,t[0].toLowerCase()+t.slice(1))||Q(e,sn(t))||Q(e,t))}let Re=null,Mr=null;function cr(e){const t=Re;return Re=e,Mr=e&&e.type.__scopeId||null,t}function Cy(e){Mr=e}function Sy(){Mr=null}function Rn(e,t=Re,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&ei(-1);const s=cr(t);let i;try{i=e(...o)}finally{cr(s),r._d&&ei(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function zr(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:l,emit:a,render:c,renderCache:u,props:f,data:d,setupState:p,ctx:h,inheritAttrs:g}=e,E=cr(e);let w,P;try{if(n.shapeFlag&4){const C=o||r,T=C;w=Be(c.call(T,C,u,f,p,d,h)),P=l}else{const C=t;w=Be(C.length>1?C(f,{attrs:l,slots:i,emit:a}):C(f,null)),P=t.props?l:Su(l)}}catch(C){gn.length=0,ln(C,e,1),w=ue(Ke)}let v=w;if(P&&g!==!1){const C=Object.keys(P),{shapeFlag:T}=v;C.length&&T&7&&(s&&C.some(Go)&&(P=Lu(P,s)),v=rn(v,P,!1,!0))}return n.dirs&&(v=rn(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&(v.transition=n.transition),w=v,cr(E),w}function Cu(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(Pn(o)){if(o.type!==Ke||o.children==="v-if"){if(n)return;n=o}}else return}return n}const Su=e=>{let t;for(const n in e)(n==="class"||n==="style"||In(n))&&((t||(t={}))[n]=e[n]);return t},Lu=(e,t)=>{const n={};for(const r in e)(!Go(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Ou(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:l,patchFlag:a}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?$s(r,i,c):!!i;if(a&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(i[d]!==r[d]&&!Dr(c,d))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:r===i?!1:r?i?$s(r,i,c):!0:!!i;return!1}function $s(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 s=r[o];if(t[s]!==e[s]&&!Dr(n,s))return!0}return!1}function rs({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 Cl="components";function Iu(e,t){return Ol(Cl,e,!0,t)||e}const Sl=Symbol.for("v-ndc");function Ll(e){return ce(e)?Ol(Cl,e,!1)||e:e||Sl}function Ol(e,t,n=!0,r=!1){const o=Re||he;if(o){const s=o.type;{const l=Sf(s,!1);if(l&&(l===t||l===Qe(t)||l===Ir(Qe(t))))return s}const i=Hs(o[e]||s[e],t)||Hs(o.appContext[e],t);return!i&&r?s:i}}function Hs(e,t){return e&&(e[t]||e[Qe(t)]||e[Ir(Qe(t))])}const xu=e=>e.__isSuspense;let go=0;const ku={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,l,a,c){if(e==null)Du(t,n,r,o,s,i,l,a,c);else{if(s&&s.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}Mu(e,t,n,r,o,i,l,a,c)}},hydrate:Vu,create:os,normalize:Bu},Nu=ku;function Tn(e,t){const n=e.props&&e.props[t];G(n)&&n()}function Du(e,t,n,r,o,s,i,l,a){const{p:c,o:{createElement:u}}=a,f=u("div"),d=e.suspense=os(e,o,r,t,f,n,s,i,l,a);c(null,d.pendingBranch=e.ssContent,f,null,r,d,s,i),d.deps>0?(Tn(e,"onPending"),Tn(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,s,i),zt(d,e.ssFallback)):d.resolve(!1,!0)}function Mu(e,t,n,r,o,s,i,l,{p:a,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:g,isInFallback:E,isHydrating:w}=f;if(g)f.pendingBranch=d,mt(d,g)?(a(g,d,f.hiddenContainer,null,o,f,s,i,l),f.deps<=0?f.resolve():E&&(w||(a(h,p,n,r,o,null,s,i,l),zt(f,p)))):(f.pendingId=go++,w?(f.isHydrating=!1,f.activeBranch=g):c(g,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),E?(a(null,d,f.hiddenContainer,null,o,f,s,i,l),f.deps<=0?f.resolve():(a(h,p,n,r,o,null,s,i,l),zt(f,p))):h&&mt(d,h)?(a(h,d,n,r,o,f,s,i,l),f.resolve(!0)):(a(null,d,f.hiddenContainer,null,o,f,s,i,l),f.deps<=0&&f.resolve()));else if(h&&mt(d,h))a(h,d,n,r,o,f,s,i,l),zt(f,d);else if(Tn(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=go++,a(null,d,f.hiddenContainer,null,o,f,s,i,l),f.deps<=0)f.resolve();else{const{timeout:P,pendingId:v}=f;P>0?setTimeout(()=>{f.pendingId===v&&f.fallback(p)},P):P===0&&f.fallback(p)}}function os(e,t,n,r,o,s,i,l,a,c,u=!1){const{p:f,m:d,um:p,n:h,o:{parentNode:g,remove:E}}=c;let w;const P=ju(e);P&&t&&t.pendingBranch&&(w=t.pendingId,t.deps++);const v=e.props?Vc(e.props.timeout):void 0,C=s,T={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:go++,timeout:typeof v=="number"?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(A=!1,V=!1){const{vnode:U,activeBranch:q,pendingBranch:H,pendingId:X,effects:Z,parentComponent:ne,container:_e}=T;let pe=!1;T.isHydrating?T.isHydrating=!1:A||(pe=q&&H.transition&&H.transition.mode==="out-in",pe&&(q.transition.afterLeave=()=>{X===T.pendingId&&(d(H,_e,s===C?h(q):s,0),_o(Z))}),q&&(g(q.el)!==T.hiddenContainer&&(s=h(q)),p(q,ne,T,!0)),pe||d(H,_e,s,0)),zt(T,H),T.pendingBranch=null,T.isInFallback=!1;let B=T.parent,J=!1;for(;B;){if(B.pendingBranch){B.effects.push(...Z),J=!0;break}B=B.parent}!J&&!pe&&_o(Z),T.effects=[],P&&t&&t.pendingBranch&&w===t.pendingId&&(t.deps--,t.deps===0&&!V&&t.resolve()),Tn(U,"onResolve")},fallback(A){if(!T.pendingBranch)return;const{vnode:V,activeBranch:U,parentComponent:q,container:H,namespace:X}=T;Tn(V,"onFallback");const Z=h(U),ne=()=>{T.isInFallback&&(f(null,A,H,Z,q,null,X,l,a),zt(T,A))},_e=A.transition&&A.transition.mode==="out-in";_e&&(U.transition.afterLeave=ne),T.isInFallback=!0,p(U,q,null,!0),_e||ne()},move(A,V,U){T.activeBranch&&d(T.activeBranch,A,V,U),T.container=A},next(){return T.activeBranch&&h(T.activeBranch)},registerDep(A,V){const U=!!T.pendingBranch;U&&T.deps++;const q=A.vnode.el;A.asyncDep.catch(H=>{ln(H,A,0)}).then(H=>{if(A.isUnmounted||T.isUnmounted||T.pendingId!==A.suspenseId)return;A.asyncResolved=!0;const{vnode:X}=A;To(A,H,!1),q&&(X.el=q);const Z=!q&&A.subTree.el;V(A,X,g(q||A.subTree.el),q?null:h(A.subTree),T,i,a),Z&&E(Z),rs(A,X.el),U&&--T.deps===0&&T.resolve()})},unmount(A,V){T.isUnmounted=!0,T.activeBranch&&p(T.activeBranch,n,A,V),T.pendingBranch&&p(T.pendingBranch,n,A,V)}};return T}function Vu(e,t,n,r,o,s,i,l,a){const c=t.suspense=os(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,l,!0),u=a(e,c.pendingBranch=t.ssContent,n,c,s,i);return c.deps===0&&c.resolve(!1,!0),u}function Bu(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Fs(r?n.default:n),e.ssFallback=r?Fs(n.fallback):ue(Ke)}function Fs(e){let t;if(G(e)){const n=nn&&e._c;n&&(e._d=!1,te()),e=e(),n&&(e._d=!0,t=$e,ta())}return W(e)&&(e=Cu(e)),e=Be(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Il(e,t){t&&t.pendingBranch?W(e)?t.effects.push(...e):t.effects.push(e):_o(e)}function zt(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,rs(r,o))}function ju(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const $u=Symbol.for("v-scx"),Hu=()=>Xt($u);function Ly(e,t){return ss(e,null,t)}const Un={};function mn(e,t,n){return ss(e,t,n)}function ss(e,t,{immediate:n,deep:r,flush:o,once:s,onTrack:i,onTrigger:l}=ae){if(t&&s){const A=t;t=(...V)=>{A(...V),T()}}const a=he,c=A=>r===!0?A:Ft(A,r===!1?1:void 0);let u,f=!1,d=!1;if(Te(e)?(u=()=>e.value,f=lr(e)):hn(e)?(u=()=>c(e),f=!0):W(e)?(d=!0,f=e.some(A=>hn(A)||lr(A)),u=()=>e.map(A=>{if(Te(A))return A.value;if(hn(A))return c(A);if(G(A))return yt(A,a,2)})):G(e)?t?u=()=>yt(e,a,2):u=()=>(p&&p(),qe(e,a,3,[h])):u=je,t&&r){const A=u;u=()=>Ft(A())}let p,h=A=>{p=v.onStop=()=>{yt(A,a,4),p=v.onStop=void 0}},g;if(xn)if(h=je,t?n&&qe(t,a,3,[u(),d?[]:void 0,h]):u(),o==="sync"){const A=Hu();g=A.__watcherHandles||(A.__watcherHandles=[])}else return je;let E=d?new Array(e.length).fill(Un):Un;const w=()=>{if(!(!v.active||!v.dirty))if(t){const A=v.run();(r||f||(d?A.some((V,U)=>bt(V,E[U])):bt(A,E)))&&(p&&p(),qe(t,a,3,[A,E===Un?void 0:d&&E[0]===Un?[]:E,h]),E=A)}else v.run()};w.allowRecurse=!!t;let P;o==="sync"?P=w:o==="post"?P=()=>Ie(w,a&&a.suspense):(w.pre=!0,a&&(w.id=a.uid),P=()=>Nr(w));const v=new zo(u,je,P),C=Kc(),T=()=>{v.stop(),C&&Wo(C.effects,v)};return t?n?w():E=v.run():o==="post"?Ie(v.run.bind(v),a&&a.suspense):v.run(),g&&g.push(T),T}function Fu(e,t,n){const r=this.proxy,o=ce(e)?e.includes(".")?xl(r,e):()=>r[e]:e.bind(r,r);let s;G(t)?s=t:(s=t.handler,n=t);const i=Nt(this),l=ss(o,s.bind(r),n);return i(),l}function xl(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}}function Ft(e,t=1/0,n){if(t<=0||!ie(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Te(e))Ft(e.value,t,n);else if(W(e))for(let r=0;r<e.length;r++)Ft(e[r],t,n);else if(Yi(e)||Wt(e))e.forEach(r=>{Ft(r,t,n)});else if(Qi(e))for(const r in e)Ft(e[r],t,n);return e}function Ye(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const l=o[i];s&&(l.oldValue=s[i].value);let a=l.dir[r];a&&(vt(),qe(a,n,8,[e.el,l,e,t]),Et())}}/*! #__NO_SIDE_EFFECTS__ */function Bt(e,t){return G(e)?ve({name:e.name},t,{setup:e}):e}const Jt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Us(e){G(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:s,suspensible:i=!0,onError:l}=e;let a=null,c,u=0;const f=()=>(u++,a=null,d()),d=()=>{let p;return a||(p=a=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),l)return new Promise((g,E)=>{l(h,()=>g(f()),()=>E(h),u+1)});throw h}).then(h=>p!==a&&a?a:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),c=h,h)))};return Bt({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const p=he;if(c)return()=>Jr(c,p);const h=P=>{a=null,ln(P,p,13,!r)};if(i&&p.suspense||xn)return d().then(P=>()=>Jr(P,p)).catch(P=>(h(P),()=>r?ue(r,{error:P}):null));const g=We(!1),E=We(),w=We(!!o);return o&&setTimeout(()=>{w.value=!1},o),s!=null&&setTimeout(()=>{if(!g.value&&!E.value){const P=new Error(`Async component timed out after ${s}ms.`);h(P),E.value=P}},s),d().then(()=>{g.value=!0,p.parent&&is(p.parent.vnode)&&(p.parent.effect.dirty=!0,Nr(p.parent.update))}).catch(P=>{h(P),E.value=P}),()=>{if(g.value&&c)return Jr(c,p);if(E.value&&r)return ue(r,{error:E.value});if(n&&!w.value)return ue(n)}}})}function Jr(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=ue(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const is=e=>e.type.__isKeepAlive;function Uu(e,t){kl(e,"a",t)}function Gu(e,t){kl(e,"da",t)}function kl(e,t,n=he){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Vr(t,r,n),n){let o=n.parent;for(;o&&o.parent;)is(o.parent.vnode)&&Wu(r,t,n,o),o=o.parent}}function Wu(e,t,n,r){const o=Vr(t,e,r,!0);Ml(()=>{Wo(r[t],o)},n)}function Vr(e,t,n=he,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;vt();const l=Nt(n),a=qe(t,n,e,i);return l(),Et(),a});return r?o.unshift(s):o.push(s),s}}const it=e=>(t,n=he)=>(!xn||e==="sp")&&Vr(e,(...r)=>t(...r),n),qu=it("bm"),Nl=it("m"),Ku=it("bu"),zu=it("u"),Dl=it("bum"),Ml=it("um"),Ju=it("sp"),Yu=it("rtg"),Xu=it("rtc");function Vl(e,t=he){Vr("ec",e,t)}function Gs(e,t,n,r){let o;const s=n;if(W(e)||ce(e)){o=new Array(e.length);for(let i=0,l=e.length;i<l;i++)o[i]=t(e[i],i,void 0,s)}else if(typeof e=="number"){o=new Array(e);for(let i=0;i<e;i++)o[i]=t(i+1,i,void 0,s)}else if(ie(e))if(e[Symbol.iterator])o=Array.from(e,(i,l)=>t(i,l,void 0,s));else{const i=Object.keys(e);o=new Array(i.length);for(let l=0,a=i.length;l<a;l++){const c=i[l];o[l]=t(e[c],c,l,s)}}else o=[];return o}function Ws(e,t,n={},r,o){if(Re.isCE||Re.parent&&Jt(Re.parent)&&Re.parent.isCE)return t!=="default"&&(n.name=t),ue("slot",n,r&&r());let s=e[t];s&&s._c&&(s._d=!1),te();const i=s&&Bl(s(n)),l=ke(Pe,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function Bl(e){return e.some(t=>Pn(t)?!(t.type===Ke||t.type===Pe&&!Bl(t.children)):!0)?e:null}const yo=e=>e?la(e)?us(e)||e.proxy:yo(e.parent):null,_n=ve(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=>yo(e.parent),$root:e=>yo(e.root),$emit:e=>e.emit,$options:e=>ls(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Nr(e.update)}),$nextTick:e=>e.n||(e.n=ns.bind(e.proxy)),$watch:e=>Fu.bind(e)}),Yr=(e,t)=>e!==ae&&!e.__isScriptSetup&&Q(e,t),Qu={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Yr(r,t))return i[t]=1,r[t];if(o!==ae&&Q(o,t))return i[t]=2,o[t];if((c=e.propsOptions[0])&&Q(c,t))return i[t]=3,s[t];if(n!==ae&&Q(n,t))return i[t]=4,n[t];bo&&(i[t]=0)}}const u=_n[t];let f,d;if(u)return t==="$attrs"&&Ne(e.attrs,"get",""),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ae&&Q(n,t))return i[t]=4,n[t];if(d=a.config.globalProperties,Q(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Yr(o,t)?(o[t]=n,!0):r!==ae&&Q(r,t)?(r[t]=n,!0):Q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},i){let l;return!!n[i]||e!==ae&&Q(e,i)||Yr(t,i)||(l=s[0])&&Q(l,i)||Q(r,i)||Q(_n,i)||Q(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function qs(e){return W(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Zu(e){const t=ia();let n=e();return Ro(),qo(n)&&(n=n.catch(r=>{throw Nt(t),r})),[n,()=>Nt(t)]}let bo=!0;function ef(e){const t=ls(e),n=e.proxy,r=e.ctx;bo=!1,t.beforeCreate&&Ks(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:g,deactivated:E,beforeDestroy:w,beforeUnmount:P,destroyed:v,unmounted:C,render:T,renderTracked:A,renderTriggered:V,errorCaptured:U,serverPrefetch:q,expose:H,inheritAttrs:X,components:Z,directives:ne,filters:_e}=t;if(c&&tf(c,r,null),i)for(const J in i){const $=i[J];G($)&&(r[J]=$.bind(n))}if(o){const J=o.call(n,n);ie(J)&&(e.data=Ze(J))}if(bo=!0,s)for(const J in s){const $=s[J],et=G($)?$.bind(n,n):G($.get)?$.get.bind(n,n):je,Mn=!G($)&&G($.set)?$.set.bind(n):je,Tt=_t({get:et,set:Mn});Object.defineProperty(r,J,{enumerable:!0,configurable:!0,get:()=>Tt.value,set:ze=>Tt.value=ze})}if(l)for(const J in l)jl(l[J],r,n,J);if(a){const J=G(a)?a.call(n):a;Reflect.ownKeys(J).forEach($=>{Hl($,J[$])})}u&&Ks(u,e,"c");function B(J,$){W($)?$.forEach(et=>J(et.bind(n))):$&&J($.bind(n))}if(B(qu,f),B(Nl,d),B(Ku,p),B(zu,h),B(Uu,g),B(Gu,E),B(Vl,U),B(Xu,A),B(Yu,V),B(Dl,P),B(Ml,C),B(Ju,q),W(H))if(H.length){const J=e.exposed||(e.exposed={});H.forEach($=>{Object.defineProperty(J,$,{get:()=>n[$],set:et=>n[$]=et})})}else e.exposed||(e.exposed={});T&&e.render===je&&(e.render=T),X!=null&&(e.inheritAttrs=X),Z&&(e.components=Z),ne&&(e.directives=ne)}function tf(e,t,n=je){W(e)&&(e=vo(e));for(const r in e){const o=e[r];let s;ie(o)?"default"in o?s=Xt(o.from||r,o.default,!0):s=Xt(o.from||r):s=Xt(o),Te(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function Ks(e,t,n){qe(W(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function jl(e,t,n,r){const o=r.includes(".")?xl(n,r):()=>n[r];if(ce(e)){const s=t[e];G(s)&&mn(o,s)}else if(G(e))mn(o,e.bind(n));else if(ie(e))if(W(e))e.forEach(s=>jl(s,t,n,r));else{const s=G(e.handler)?e.handler.bind(n):t[e.handler];G(s)&&mn(o,s,e)}}function ls(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,l=s.get(t);let a;return l?a=l:!o.length&&!n&&!r?a=t:(a={},o.length&&o.forEach(c=>ur(a,c,i,!0)),ur(a,t,i)),ie(t)&&s.set(t,a),a}function ur(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&ur(e,s,n,!0),o&&o.forEach(i=>ur(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=nf[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const nf={data:zs,props:Js,emits:Js,methods:dn,computed:dn,beforeCreate:Ce,created:Ce,beforeMount:Ce,mounted:Ce,beforeUpdate:Ce,updated:Ce,beforeDestroy:Ce,beforeUnmount:Ce,destroyed:Ce,unmounted:Ce,activated:Ce,deactivated:Ce,errorCaptured:Ce,serverPrefetch:Ce,components:dn,directives:dn,watch:of,provide:zs,inject:rf};function zs(e,t){return t?e?function(){return ve(G(e)?e.call(this,this):e,G(t)?t.call(this,this):t)}:t:e}function rf(e,t){return dn(vo(e),vo(t))}function vo(e){if(W(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ce(e,t){return e?[...new Set([].concat(e,t))]:t}function dn(e,t){return e?ve(Object.create(null),e,t):t}function Js(e,t){return e?W(e)&&W(t)?[...new Set([...e,...t])]:ve(Object.create(null),qs(e),qs(t??{})):t}function of(e,t){if(!e)return t;if(!t)return e;const n=ve(Object.create(null),e);for(const r in t)n[r]=Ce(e[r],t[r]);return n}function $l(){return{app:null,config:{isNativeTag:Ic,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 sf=0;function lf(e,t){return function(r,o=null){G(r)||(r=ve({},r)),o!=null&&!ie(o)&&(o=null);const s=$l(),i=new WeakSet;let l=!1;const a=s.app={_uid:sf++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:ca,get config(){return s.config},set config(c){},use(c,...u){return i.has(c)||(c&&G(c.install)?(i.add(c),c.install(a,...u)):G(c)&&(i.add(c),c(a,...u))),a},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),a},component(c,u){return u?(s.components[c]=u,a):s.components[c]},directive(c,u){return u?(s.directives[c]=u,a):s.directives[c]},mount(c,u,f){if(!l){const d=ue(r,o);return d.appContext=s,f===!0?f="svg":f===!1&&(f=void 0),u&&t?t(d,c):e(d,c,f),l=!0,a._container=c,c.__vue_app__=a,us(d.component)||d.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(c,u){return s.provides[c]=u,a},runWithContext(c){const u=Yt;Yt=a;try{return c()}finally{Yt=u}}};return a}}let Yt=null;function Hl(e,t){if(he){let n=he.provides;const r=he.parent&&he.parent.provides;r===n&&(n=he.provides=Object.create(r)),n[e]=t}}function Xt(e,t,n=!1){const r=he||Re;if(r||Yt){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Yt._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&G(t)?t.call(r&&r.proxy):t}}function Fl(){return!!(he||Re||Yt)}const Ul={},Gl=()=>Object.create(Ul),Wl=e=>Object.getPrototypeOf(e)===Ul;function af(e,t,n,r=!1){const o={},s=Gl();e.propsDefaults=Object.create(null),ql(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:ml(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function cf(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,l=ee(o),[a]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Dr(e.emitsOptions,d))continue;const p=t[d];if(a)if(Q(s,d))p!==s[d]&&(s[d]=p,c=!0);else{const h=Qe(d);o[h]=Eo(a,l,h,p,e,!1)}else p!==s[d]&&(s[d]=p,c=!0)}}}else{ql(e,t,o,s)&&(c=!0);let u;for(const f in l)(!t||!Q(t,f)&&((u=sn(f))===f||!Q(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=Eo(a,l,f,void 0,e,!0)):delete o[f]);if(s!==l)for(const f in s)(!t||!Q(t,f))&&(delete s[f],c=!0)}c&&st(e.attrs,"set","")}function ql(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(qt(a))continue;const c=t[a];let u;o&&Q(o,u=Qe(a))?!s||!s.includes(u)?n[u]=c:(l||(l={}))[u]=c:Dr(e.emitsOptions,a)||(!(a in r)||c!==r[a])&&(r[a]=c,i=!0)}if(s){const a=ee(n),c=l||ae;for(let u=0;u<s.length;u++){const f=s[u];n[f]=Eo(o,a,f,c[f],e,!Q(c,f))}}return i}function Eo(e,t,n,r,o,s){const i=e[n];if(i!=null){const l=Q(i,"default");if(l&&r===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&G(a)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=Nt(o);r=c[n]=a.call(null,t),u()}}else r=a}i[0]&&(s&&!l?r=!1:i[1]&&(r===""||r===sn(n))&&(r=!0))}return r}function Kl(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},l=[];let a=!1;if(!G(e)){const u=f=>{a=!0;const[d,p]=Kl(f,t,!0);ve(i,d),p&&l.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!a)return ie(e)&&r.set(e,Gt),Gt;if(W(s))for(let u=0;u<s.length;u++){const f=Qe(s[u]);Ys(f)&&(i[f]=ae)}else if(s)for(const u in s){const f=Qe(u);if(Ys(f)){const d=s[u],p=i[f]=W(d)||G(d)?{type:d}:ve({},d);if(p){const h=Zs(Boolean,p.type),g=Zs(String,p.type);p[0]=h>-1,p[1]=g<0||h<g,(h>-1||Q(p,"default"))&&l.push(f)}}}const c=[i,l];return ie(e)&&r.set(e,c),c}function Ys(e){return e[0]!=="$"&&!qt(e)}function Xs(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Qs(e,t){return Xs(e)===Xs(t)}function Zs(e,t){return W(t)?t.findIndex(n=>Qs(n,e)):G(t)&&Qs(t,e)?0:-1}const zl=e=>e[0]==="_"||e==="$stable",as=e=>W(e)?e.map(Be):[Be(e)],uf=(e,t,n)=>{if(t._n)return t;const r=Rn((...o)=>as(t(...o)),n);return r._c=!1,r},Jl=(e,t,n)=>{const r=e._ctx;for(const o in e){if(zl(o))continue;const s=e[o];if(G(s))t[o]=uf(o,s,r);else if(s!=null){const i=as(s);t[o]=()=>i}}},Yl=(e,t)=>{const n=as(t);e.slots.default=()=>n},ff=(e,t)=>{const n=e.slots=Gl();if(e.vnode.shapeFlag&32){const r=t._;r?(ve(n,t),Zi(n,"_",r,!0)):Jl(t,n)}else t&&Yl(e,t)},df=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=ae;if(r.shapeFlag&32){const l=t._;l?n&&l===1?s=!1:(ve(o,t),!n&&l===1&&delete o._):(s=!t.$stable,Jl(t,o)),i=t}else t&&(Yl(e,t),i={default:1});if(s)for(const l in o)!zl(l)&&i[l]==null&&delete o[l]};function fr(e,t,n,r,o=!1){if(W(e)){e.forEach((d,p)=>fr(d,t&&(W(t)?t[p]:t),n,r,o));return}if(Jt(r)&&!o)return;const s=r.shapeFlag&4?us(r.component)||r.component.proxy:r.el,i=o?null:s,{i:l,r:a}=e,c=t&&t.r,u=l.refs===ae?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&(ce(c)?(u[c]=null,Q(f,c)&&(f[c]=null)):Te(c)&&(c.value=null)),G(a))yt(a,l,12,[i,u]);else{const d=ce(a),p=Te(a);if(d||p){const h=()=>{if(e.f){const g=d?Q(f,a)?f[a]:u[a]:a.value;o?W(g)&&Wo(g,s):W(g)?g.includes(s)||g.push(s):d?(u[a]=[s],Q(f,a)&&(f[a]=u[a])):(a.value=[s],e.k&&(u[e.k]=a.value))}else d?(u[a]=i,Q(f,a)&&(f[a]=i)):p&&(a.value=i,e.k&&(u[e.k]=i))};i?(h.id=-1,Ie(h,n)):h()}}}let ut=!1;const pf=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",hf=e=>e.namespaceURI.includes("MathML"),Gn=e=>{if(pf(e))return"svg";if(hf(e))return"mathml"},Wn=e=>e.nodeType===8;function mf(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:l,insert:a,createComment:c}}=e,u=(v,C)=>{if(!C.hasChildNodes()){n(null,v,C),ar(),C._vnode=v;return}ut=!1,f(C.firstChild,v,null,null,null),ar(),C._vnode=v,ut&&console.error("Hydration completed but contains mismatches.")},f=(v,C,T,A,V,U=!1)=>{U=U||!!C.dynamicChildren;const q=Wn(v)&&v.data==="[",H=()=>g(v,C,T,A,V,q),{type:X,ref:Z,shapeFlag:ne,patchFlag:_e}=C;let pe=v.nodeType;C.el=v,_e===-2&&(U=!1,C.dynamicChildren=null);let B=null;switch(X){case tn:pe!==3?C.children===""?(a(C.el=o(""),i(v),v),B=v):B=H():(v.data!==C.children&&(ut=!0,v.data=C.children),B=s(v));break;case Ke:P(v)?(B=s(v),w(C.el=v.content.firstChild,v,T)):pe!==8||q?B=H():B=s(v);break;case Zn:if(q&&(v=s(v),pe=v.nodeType),pe===1||pe===3){B=v;const J=!C.children.length;for(let $=0;$<C.staticCount;$++)J&&(C.children+=B.nodeType===1?B.outerHTML:B.data),$===C.staticCount-1&&(C.anchor=B),B=s(B);return q?s(B):B}else H();break;case Pe:q?B=h(v,C,T,A,V,U):B=H();break;default:if(ne&1)(pe!==1||C.type.toLowerCase()!==v.tagName.toLowerCase())&&!P(v)?B=H():B=d(v,C,T,A,V,U);else if(ne&6){C.slotScopeIds=V;const J=i(v);if(q?B=E(v):Wn(v)&&v.data==="teleport start"?B=E(v,v.data,"teleport end"):B=s(v),t(C,J,null,T,A,Gn(J),U),Jt(C)){let $;q?($=ue(Pe),$.anchor=B?B.previousSibling:J.lastChild):$=v.nodeType===3?dr(""):ue("div"),$.el=v,C.component.subTree=$}}else ne&64?pe!==8?B=H():B=C.type.hydrate(v,C,T,A,V,U,e,p):ne&128&&(B=C.type.hydrate(v,C,T,A,Gn(i(v)),V,U,e,f))}return Z!=null&&fr(Z,null,A,C),B},d=(v,C,T,A,V,U)=>{U=U||!!C.dynamicChildren;const{type:q,props:H,patchFlag:X,shapeFlag:Z,dirs:ne,transition:_e}=C,pe=q==="input"||q==="option";if(pe||X!==-1){ne&&Ye(C,null,T,"created");let B=!1;if(P(v)){B=Ql(A,_e)&&T&&T.vnode.props&&T.vnode.props.appear;const $=v.content.firstChild;B&&_e.beforeEnter($),w($,v,T),C.el=v=$}if(Z&16&&!(H&&(H.innerHTML||H.textContent))){let $=p(v.firstChild,C,v,T,A,V,U);for(;$;){ut=!0;const et=$;$=$.nextSibling,l(et)}}else Z&8&&v.textContent!==C.children&&(ut=!0,v.textContent=C.children);if(H)if(pe||!U||X&48)for(const $ in H)(pe&&($.endsWith("value")||$==="indeterminate")||In($)&&!qt($)||$[0]===".")&&r(v,$,null,H[$],void 0,void 0,T);else H.onClick&&r(v,"onClick",null,H.onClick,void 0,void 0,T);let J;(J=H&&H.onVnodeBeforeMount)&&Ve(J,T,C),ne&&Ye(C,null,T,"beforeMount"),((J=H&&H.onVnodeMounted)||ne||B)&&Il(()=>{J&&Ve(J,T,C),B&&_e.enter(v),ne&&Ye(C,null,T,"mounted")},A)}return v.nextSibling},p=(v,C,T,A,V,U,q)=>{q=q||!!C.dynamicChildren;const H=C.children,X=H.length;for(let Z=0;Z<X;Z++){const ne=q?H[Z]:H[Z]=Be(H[Z]);if(v)v=f(v,ne,A,V,U,q);else{if(ne.type===tn&&!ne.children)continue;ut=!0,n(null,ne,T,null,A,V,Gn(T),U)}}return v},h=(v,C,T,A,V,U)=>{const{slotScopeIds:q}=C;q&&(V=V?V.concat(q):q);const H=i(v),X=p(s(v),C,H,T,A,V,U);return X&&Wn(X)&&X.data==="]"?s(C.anchor=X):(ut=!0,a(C.anchor=c("]"),H,X),X)},g=(v,C,T,A,V,U)=>{if(ut=!0,C.el=null,U){const X=E(v);for(;;){const Z=s(v);if(Z&&Z!==X)l(Z);else break}}const q=s(v),H=i(v);return l(v),n(null,C,H,q,T,A,Gn(H),V),q},E=(v,C="[",T="]")=>{let A=0;for(;v;)if(v=s(v),v&&Wn(v)&&(v.data===C&&A++,v.data===T)){if(A===0)return s(v);A--}return v},w=(v,C,T)=>{const A=C.parentNode;A&&A.replaceChild(v,C);let V=T;for(;V;)V.vnode.el===C&&(V.vnode.el=V.subTree.el=v),V=V.parent},P=v=>v.nodeType===1&&v.tagName.toLowerCase()==="template";return[u,f]}const Ie=Il;function _f(e){return Xl(e)}function gf(e){return Xl(e,mf)}function Xl(e,t){const n=el();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=je,insertStaticContent:h}=e,g=(_,b,R,S=null,L=null,k=null,D=void 0,x=null,N=!!b.dynamicChildren)=>{if(_===b)return;_&&!mt(_,b)&&(S=Vn(_),ze(_,L,k,!0),_=null),b.patchFlag===-2&&(N=!1,b.dynamicChildren=null);const{type:O,ref:M,shapeFlag:F}=b;switch(O){case tn:E(_,b,R,S);break;case Ke:w(_,b,R,S);break;case Zn:_==null&&P(b,R,S,D);break;case Pe:Z(_,b,R,S,L,k,D,x,N);break;default:F&1?T(_,b,R,S,L,k,D,x,N):F&6?ne(_,b,R,S,L,k,D,x,N):(F&64||F&128)&&O.process(_,b,R,S,L,k,D,x,N,$t)}M!=null&&L&&fr(M,_&&_.ref,k,b||_,!b)},E=(_,b,R,S)=>{if(_==null)r(b.el=l(b.children),R,S);else{const L=b.el=_.el;b.children!==_.children&&c(L,b.children)}},w=(_,b,R,S)=>{_==null?r(b.el=a(b.children||""),R,S):b.el=_.el},P=(_,b,R,S)=>{[_.el,_.anchor]=h(_.children,b,R,S,_.el,_.anchor)},v=({el:_,anchor:b},R,S)=>{let L;for(;_&&_!==b;)L=d(_),r(_,R,S),_=L;r(b,R,S)},C=({el:_,anchor:b})=>{let R;for(;_&&_!==b;)R=d(_),o(_),_=R;o(b)},T=(_,b,R,S,L,k,D,x,N)=>{b.type==="svg"?D="svg":b.type==="math"&&(D="mathml"),_==null?A(b,R,S,L,k,D,x,N):q(_,b,L,k,D,x,N)},A=(_,b,R,S,L,k,D,x)=>{let N,O;const{props:M,shapeFlag:F,transition:j,dirs:K}=_;if(N=_.el=i(_.type,k,M&&M.is,M),F&8?u(N,_.children):F&16&&U(_.children,N,null,S,L,Xr(_,k),D,x),K&&Ye(_,null,S,"created"),V(N,_,_.scopeId,D,S),M){for(const re in M)re!=="value"&&!qt(re)&&s(N,re,null,M[re],k,_.children,S,L,tt);"value"in M&&s(N,"value",null,M.value,k),(O=M.onVnodeBeforeMount)&&Ve(O,S,_)}K&&Ye(_,null,S,"beforeMount");const Y=Ql(L,j);Y&&j.beforeEnter(N),r(N,b,R),((O=M&&M.onVnodeMounted)||Y||K)&&Ie(()=>{O&&Ve(O,S,_),Y&&j.enter(N),K&&Ye(_,null,S,"mounted")},L)},V=(_,b,R,S,L)=>{if(R&&p(_,R),S)for(let k=0;k<S.length;k++)p(_,S[k]);if(L){let k=L.subTree;if(b===k){const D=L.vnode;V(_,D,D.scopeId,D.slotScopeIds,L.parent)}}},U=(_,b,R,S,L,k,D,x,N=0)=>{for(let O=N;O<_.length;O++){const M=_[O]=x?pt(_[O]):Be(_[O]);g(null,M,b,R,S,L,k,D,x)}},q=(_,b,R,S,L,k,D)=>{const x=b.el=_.el;let{patchFlag:N,dynamicChildren:O,dirs:M}=b;N|=_.patchFlag&16;const F=_.props||ae,j=b.props||ae;let K;if(R&&Pt(R,!1),(K=j.onVnodeBeforeUpdate)&&Ve(K,R,b,_),M&&Ye(b,_,R,"beforeUpdate"),R&&Pt(R,!0),O?H(_.dynamicChildren,O,x,R,S,Xr(b,L),k):D||$(_,b,x,null,R,S,Xr(b,L),k,!1),N>0){if(N&16)X(x,b,F,j,R,S,L);else if(N&2&&F.class!==j.class&&s(x,"class",null,j.class,L),N&4&&s(x,"style",F.style,j.style,L),N&8){const Y=b.dynamicProps;for(let re=0;re<Y.length;re++){const le=Y[re],ge=F[le],Fe=j[le];(Fe!==ge||le==="value")&&s(x,le,ge,Fe,L,_.children,R,S,tt)}}N&1&&_.children!==b.children&&u(x,b.children)}else!D&&O==null&&X(x,b,F,j,R,S,L);((K=j.onVnodeUpdated)||M)&&Ie(()=>{K&&Ve(K,R,b,_),M&&Ye(b,_,R,"updated")},S)},H=(_,b,R,S,L,k,D)=>{for(let x=0;x<b.length;x++){const N=_[x],O=b[x],M=N.el&&(N.type===Pe||!mt(N,O)||N.shapeFlag&70)?f(N.el):R;g(N,O,M,null,S,L,k,D,!0)}},X=(_,b,R,S,L,k,D)=>{if(R!==S){if(R!==ae)for(const x in R)!qt(x)&&!(x in S)&&s(_,x,R[x],null,D,b.children,L,k,tt);for(const x in S){if(qt(x))continue;const N=S[x],O=R[x];N!==O&&x!=="value"&&s(_,x,O,N,D,b.children,L,k,tt)}"value"in S&&s(_,"value",R.value,S.value,D)}},Z=(_,b,R,S,L,k,D,x,N)=>{const O=b.el=_?_.el:l(""),M=b.anchor=_?_.anchor:l("");let{patchFlag:F,dynamicChildren:j,slotScopeIds:K}=b;K&&(x=x?x.concat(K):K),_==null?(r(O,R,S),r(M,R,S),U(b.children||[],R,M,L,k,D,x,N)):F>0&&F&64&&j&&_.dynamicChildren?(H(_.dynamicChildren,j,R,L,k,D,x),(b.key!=null||L&&b===L.subTree)&&Zl(_,b,!0)):$(_,b,R,M,L,k,D,x,N)},ne=(_,b,R,S,L,k,D,x,N)=>{b.slotScopeIds=x,_==null?b.shapeFlag&512?L.ctx.activate(b,R,S,D,N):_e(b,R,S,L,k,D,N):pe(_,b,N)},_e=(_,b,R,S,L,k,D)=>{const x=_.component=Rf(_,S,L);if(is(_)&&(x.ctx.renderer=$t),Tf(x),x.asyncDep){if(L&&L.registerDep(x,B),!_.el){const N=x.subTree=ue(Ke);w(null,N,b,R)}}else B(x,_,b,R,L,k,D)},pe=(_,b,R)=>{const S=b.component=_.component;if(Ou(_,b,R))if(S.asyncDep&&!S.asyncResolved){J(S,b,R);return}else S.next=b,Tu(S.update),S.effect.dirty=!0,S.update();else b.el=_.el,S.vnode=b},B=(_,b,R,S,L,k,D)=>{const x=()=>{if(_.isMounted){let{next:M,bu:F,u:j,parent:K,vnode:Y}=_;{const Ht=ea(_);if(Ht){M&&(M.el=Y.el,J(_,M,D)),Ht.asyncDep.then(()=>{_.isUnmounted||x()});return}}let re=M,le;Pt(_,!1),M?(M.el=Y.el,J(_,M,D)):M=Y,F&&qr(F),(le=M.props&&M.props.onVnodeBeforeUpdate)&&Ve(le,K,M,Y),Pt(_,!0);const ge=zr(_),Fe=_.subTree;_.subTree=ge,g(Fe,ge,f(Fe.el),Vn(Fe),_,L,k),M.el=ge.el,re===null&&rs(_,ge.el),j&&Ie(j,L),(le=M.props&&M.props.onVnodeUpdated)&&Ie(()=>Ve(le,K,M,Y),L)}else{let M;const{el:F,props:j}=b,{bm:K,m:Y,parent:re}=_,le=Jt(b);if(Pt(_,!1),K&&qr(K),!le&&(M=j&&j.onVnodeBeforeMount)&&Ve(M,re,b),Pt(_,!0),F&&Gr){const ge=()=>{_.subTree=zr(_),Gr(F,_.subTree,_,L,null)};le?b.type.__asyncLoader().then(()=>!_.isUnmounted&&ge()):ge()}else{const ge=_.subTree=zr(_);g(null,ge,R,S,_,L,k),b.el=ge.el}if(Y&&Ie(Y,L),!le&&(M=j&&j.onVnodeMounted)){const ge=b;Ie(()=>Ve(M,re,ge),L)}(b.shapeFlag&256||re&&Jt(re.vnode)&&re.vnode.shapeFlag&256)&&_.a&&Ie(_.a,L),_.isMounted=!0,b=R=S=null}},N=_.effect=new zo(x,je,()=>Nr(O),_.scope),O=_.update=()=>{N.dirty&&N.run()};O.id=_.uid,Pt(_,!0),O()},J=(_,b,R)=>{b.component=_;const S=_.vnode.props;_.vnode=b,_.next=null,cf(_,b.props,S,R),df(_,b.children,R),vt(),js(_),Et()},$=(_,b,R,S,L,k,D,x,N=!1)=>{const O=_&&_.children,M=_?_.shapeFlag:0,F=b.children,{patchFlag:j,shapeFlag:K}=b;if(j>0){if(j&128){Mn(O,F,R,S,L,k,D,x,N);return}else if(j&256){et(O,F,R,S,L,k,D,x,N);return}}K&8?(M&16&&tt(O,L,k),F!==O&&u(R,F)):M&16?K&16?Mn(O,F,R,S,L,k,D,x,N):tt(O,L,k,!0):(M&8&&u(R,""),K&16&&U(F,R,S,L,k,D,x,N))},et=(_,b,R,S,L,k,D,x,N)=>{_=_||Gt,b=b||Gt;const O=_.length,M=b.length,F=Math.min(O,M);let j;for(j=0;j<F;j++){const K=b[j]=N?pt(b[j]):Be(b[j]);g(_[j],K,R,null,L,k,D,x,N)}O>M?tt(_,L,k,!0,!1,F):U(b,R,S,L,k,D,x,N,F)},Mn=(_,b,R,S,L,k,D,x,N)=>{let O=0;const M=b.length;let F=_.length-1,j=M-1;for(;O<=F&&O<=j;){const K=_[O],Y=b[O]=N?pt(b[O]):Be(b[O]);if(mt(K,Y))g(K,Y,R,null,L,k,D,x,N);else break;O++}for(;O<=F&&O<=j;){const K=_[F],Y=b[j]=N?pt(b[j]):Be(b[j]);if(mt(K,Y))g(K,Y,R,null,L,k,D,x,N);else break;F--,j--}if(O>F){if(O<=j){const K=j+1,Y=K<M?b[K].el:S;for(;O<=j;)g(null,b[O]=N?pt(b[O]):Be(b[O]),R,Y,L,k,D,x,N),O++}}else if(O>j)for(;O<=F;)ze(_[O],L,k,!0),O++;else{const K=O,Y=O,re=new Map;for(O=Y;O<=j;O++){const De=b[O]=N?pt(b[O]):Be(b[O]);De.key!=null&&re.set(De.key,O)}let le,ge=0;const Fe=j-Y+1;let Ht=!1,Cs=0;const un=new Array(Fe);for(O=0;O<Fe;O++)un[O]=0;for(O=K;O<=F;O++){const De=_[O];if(ge>=Fe){ze(De,L,k,!0);continue}let Je;if(De.key!=null)Je=re.get(De.key);else for(le=Y;le<=j;le++)if(un[le-Y]===0&&mt(De,b[le])){Je=le;break}Je===void 0?ze(De,L,k,!0):(un[Je-Y]=O+1,Je>=Cs?Cs=Je:Ht=!0,g(De,b[Je],R,null,L,k,D,x,N),ge++)}const Ss=Ht?yf(un):Gt;for(le=Ss.length-1,O=Fe-1;O>=0;O--){const De=Y+O,Je=b[De],Ls=De+1<M?b[De+1].el:S;un[O]===0?g(null,Je,R,Ls,L,k,D,x,N):Ht&&(le<0||O!==Ss[le]?Tt(Je,R,Ls,2):le--)}}},Tt=(_,b,R,S,L=null)=>{const{el:k,type:D,transition:x,children:N,shapeFlag:O}=_;if(O&6){Tt(_.component.subTree,b,R,S);return}if(O&128){_.suspense.move(b,R,S);return}if(O&64){D.move(_,b,R,$t);return}if(D===Pe){r(k,b,R);for(let F=0;F<N.length;F++)Tt(N[F],b,R,S);r(_.anchor,b,R);return}if(D===Zn){v(_,b,R);return}if(S!==2&&O&1&&x)if(S===0)x.beforeEnter(k),r(k,b,R),Ie(()=>x.enter(k),L);else{const{leave:F,delayLeave:j,afterLeave:K}=x,Y=()=>r(k,b,R),re=()=>{F(k,()=>{Y(),K&&K()})};j?j(k,Y,re):re()}else r(k,b,R)},ze=(_,b,R,S=!1,L=!1)=>{const{type:k,props:D,ref:x,children:N,dynamicChildren:O,shapeFlag:M,patchFlag:F,dirs:j}=_;if(x!=null&&fr(x,null,R,_,!0),M&256){b.ctx.deactivate(_);return}const K=M&1&&j,Y=!Jt(_);let re;if(Y&&(re=D&&D.onVnodeBeforeUnmount)&&Ve(re,b,_),M&6)Sc(_.component,R,S);else{if(M&128){_.suspense.unmount(R,S);return}K&&Ye(_,null,b,"beforeUnmount"),M&64?_.type.remove(_,b,R,L,$t,S):O&&(k!==Pe||F>0&&F&64)?tt(O,b,R,!1,!0):(k===Pe&&F&384||!L&&M&16)&&tt(N,b,R),S&&Ps(_)}(Y&&(re=D&&D.onVnodeUnmounted)||K)&&Ie(()=>{re&&Ve(re,b,_),K&&Ye(_,null,b,"unmounted")},R)},Ps=_=>{const{type:b,el:R,anchor:S,transition:L}=_;if(b===Pe){Cc(R,S);return}if(b===Zn){C(_);return}const k=()=>{o(R),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(_.shapeFlag&1&&L&&!L.persisted){const{leave:D,delayLeave:x}=L,N=()=>D(R,k);x?x(_.el,k,N):N()}else k()},Cc=(_,b)=>{let R;for(;_!==b;)R=d(_),o(_),_=R;o(b)},Sc=(_,b,R)=>{const{bum:S,scope:L,update:k,subTree:D,um:x}=_;S&&qr(S),L.stop(),k&&(k.active=!1,ze(D,_,b,R)),x&&Ie(x,b),Ie(()=>{_.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&_.asyncDep&&!_.asyncResolved&&_.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},tt=(_,b,R,S=!1,L=!1,k=0)=>{for(let D=k;D<_.length;D++)ze(_[D],b,R,S,L)},Vn=_=>_.shapeFlag&6?Vn(_.component.subTree):_.shapeFlag&128?_.suspense.next():d(_.anchor||_.el);let Fr=!1;const As=(_,b,R)=>{_==null?b._vnode&&ze(b._vnode,null,null,!0):g(b._vnode||null,_,b,null,null,null,R),Fr||(Fr=!0,js(),ar(),Fr=!1),b._vnode=_},$t={p:g,um:ze,m:Tt,r:Ps,mt:_e,mc:U,pc:$,pbc:H,n:Vn,o:e};let Ur,Gr;return t&&([Ur,Gr]=t($t)),{render:As,hydrate:Ur,createApp:lf(As,Ur)}}function Xr({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 Pt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ql(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Zl(e,t,n=!1){const r=e.children,o=t.children;if(W(r)&&W(o))for(let s=0;s<r.length;s++){const i=r[s];let l=o[s];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[s]=pt(o[s]),l.el=i.el),n||Zl(i,l)),l.type===tn&&(l.el=i.el)}}function yf(e){const t=e.slice(),n=[0];let r,o,s,i,l;const a=e.length;for(r=0;r<a;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(s=0,i=n.length-1;s<i;)l=s+i>>1,e[n[l]]<c?s=l+1:i=l;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function ea(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ea(t)}const bf=e=>e.__isTeleport,Pe=Symbol.for("v-fgt"),tn=Symbol.for("v-txt"),Ke=Symbol.for("v-cmt"),Zn=Symbol.for("v-stc"),gn=[];let $e=null;function te(e=!1){gn.push($e=e?null:[])}function ta(){gn.pop(),$e=gn[gn.length-1]||null}let nn=1;function ei(e){nn+=e}function na(e){return e.dynamicChildren=nn>0?$e||Gt:null,ta(),nn>0&&$e&&$e.push(e),e}function Se(e,t,n,r,o,s){return na(xe(e,t,n,r,o,s,!0))}function ke(e,t,n,r,o){return na(ue(e,t,n,r,o,!0))}function Pn(e){return e?e.__v_isVNode===!0:!1}function mt(e,t){return e.type===t.type&&e.key===t.key}const ra=({key:e})=>e??null,er=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ce(e)||Te(e)||G(e)?{i:Re,r:e,k:t,f:!!n}:e:null);function xe(e,t=null,n=null,r=0,o=null,s=e===Pe?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ra(t),ref:t&&er(t),scopeId:Mr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Re};return l?(cs(a,n),s&128&&e.normalize(a)):n&&(a.shapeFlag|=ce(n)?8:16),nn>0&&!i&&$e&&(a.patchFlag>0||s&6)&&a.patchFlag!==32&&$e.push(a),a}const ue=vf;function vf(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Sl)&&(e=Ke),Pn(e)){const l=rn(e,t,!0);return n&&cs(l,n),nn>0&&!s&&$e&&(l.shapeFlag&6?$e[$e.indexOf(e)]=l:$e.push(l)),l.patchFlag|=-2,l}if(Lf(e)&&(e=e.__vccOpts),t){t=oa(t);let{class:l,style:a}=t;l&&!ce(l)&&(t.class=Vt(l)),ie(a)&&(gl(a)&&!W(a)&&(a=ve({},a)),t.style=xr(a))}const i=ce(e)?1:xu(e)?128:bf(e)?64:ie(e)?4:G(e)?2:0;return xe(e,t,n,r,o,i,s,!0)}function oa(e){return e?gl(e)||Wl(e)?ve({},e):e:null}function rn(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:l,transition:a}=e,c=t?sa(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&ra(c),ref:t&&t.ref?n&&s?W(s)?s.concat(er(t)):[s,er(t)]:er(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Pe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&rn(e.ssContent),ssFallback:e.ssFallback&&rn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&(u.transition=a.clone(u)),u}function dr(e=" ",t=0){return ue(tn,null,e,t)}function At(e="",t=!1){return t?(te(),ke(Ke,null,e)):ue(Ke,null,e)}function Be(e){return e==null||typeof e=="boolean"?ue(Ke):W(e)?ue(Pe,null,e.slice()):typeof e=="object"?pt(e):ue(tn,null,String(e))}function pt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:rn(e)}function cs(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(W(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),cs(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Wl(t)?t._ctx=Re:o===3&&Re&&(Re.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else G(t)?(t={default:t,_ctx:Re},n=32):(t=String(t),r&64?(n=16,t=[dr(t)]):n=8);e.children=t,e.shapeFlag|=n}function sa(...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=Vt([t.class,r.class]));else if(o==="style")t.style=xr([t.style,r.style]);else if(In(o)){const s=t[o],i=r[o];i&&s!==i&&!(W(s)&&s.includes(i))&&(t[o]=s?[].concat(s,i):i)}else o!==""&&(t[o]=r[o])}return t}function Ve(e,t,n,r=null){qe(e,t,7,[n,r])}const Ef=$l();let wf=0;function Rf(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Ef,s={uid:wf++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new rl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Kl(r,o),emitsOptions:Al(r,o),emit:null,emitted:null,propsDefaults:ae,inheritAttrs:r.inheritAttrs,ctx:ae,data:ae,props:ae,attrs:ae,slots:ae,refs:ae,setupState:ae,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=Au.bind(null,s),e.ce&&e.ce(s),s}let he=null;const ia=()=>he||Re;let pr,wo;{const e=el(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};pr=t("__VUE_INSTANCE_SETTERS__",n=>he=n),wo=t("__VUE_SSR_SETTERS__",n=>xn=n)}const Nt=e=>{const t=he;return pr(e),e.scope.on(),()=>{e.scope.off(),pr(t)}},Ro=()=>{he&&he.scope.off(),pr(null)};function la(e){return e.vnode.shapeFlag&4}let xn=!1;function Tf(e,t=!1){t&&wo(t);const{props:n,children:r}=e.vnode,o=la(e);af(e,n,o,t),ff(e,r);const s=o?Pf(e,t):void 0;return t&&wo(!1),s}function Pf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Qu);const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?Cf(e):null,s=Nt(e);vt();const i=yt(r,e,0,[e.props,o]);if(Et(),s(),qo(i)){if(i.then(Ro,Ro),t)return i.then(l=>{To(e,l,t)}).catch(l=>{ln(l,e,0)});e.asyncDep=i}else To(e,i,t)}else aa(e,t)}function To(e,t,n){G(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ie(t)&&(e.setupState=El(t)),aa(e,n)}let ti;function aa(e,t,n){const r=e.type;if(!e.render){if(!t&&ti&&!r.render){const o=r.template||ls(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,c=ve(ve({isCustomElement:s,delimiters:l},i),a);r.render=ti(o,c)}}e.render=r.render||je}{const o=Nt(e);vt();try{ef(e)}finally{Et(),o()}}}const Af={get(e,t){return Ne(e,"get",""),e[t]}};function Cf(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Af),slots:e.slots,emit:e.emit,expose:t}}function us(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(El(hu(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in _n)return _n[n](e)},has(t,n){return n in t||n in _n}}))}function Sf(e,t=!0){return G(e)?e.displayName||e.name:e.name||t&&e.__name}function Lf(e){return G(e)&&"__vccOpts"in e}const _t=(e,t)=>mu(e,t,xn);function Po(e,t,n){const r=arguments.length;return r===2?ie(t)&&!W(t)?Pn(t)?ue(e,null,[t]):ue(e,t):ue(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Pn(n)&&(n=[n]),ue(e,t,n))}const ca="3.4.26";/**
|
|
15
|
-
* @vue/runtime-dom v3.4.
|
|
14
|
+
**/function yt(e,t,n,r){try{return r?e(...r):e()}catch(o){sn(o,t,n)}}function qe(e,t,n,r){if(G(e)){const o=yt(e,t,n,r);return o&&Go(o)&&o.catch(s=>{sn(s,t,n)}),o}if(W(e)){const o=[];for(let s=0;s<e.length;s++)o.push(qe(e[s],t,n,r));return o}}function sn(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let s=t.parent;const i=t.proxy,l=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const c=s.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,i,l)===!1)return}s=s.parent}const a=t.appContext.config.errorHandler;if(a){vt(),yt(a,null,10,[e,i,l]),Et();return}}yu(e,n,o,r)}function yu(e,t,n,r=!0){console.error(e)}let En=!1,mo=!1;const Ae=[];let Xe=0;const Kt=[];let dt=null,St=0;const El=Promise.resolve();let Zo=null;function es(e){const t=Zo||El;return e?t.then(this?e.bind(this):e):t}function bu(e){let t=Xe+1,n=Ae.length;for(;t<n;){const r=t+n>>>1,o=Ae[r],s=wn(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function Nr(e){(!Ae.length||!Ae.includes(e,En&&e.allowRecurse?Xe+1:Xe))&&(e.id==null?Ae.push(e):Ae.splice(bu(e.id),0,e),wl())}function wl(){!En&&!mo&&(mo=!0,Zo=El.then(Rl))}function vu(e){const t=Ae.indexOf(e);t>Xe&&Ae.splice(t,1)}function _o(e){W(e)?Kt.push(...e):(!dt||!dt.includes(e,e.allowRecurse?St+1:St))&&Kt.push(e),wl()}function Vs(e,t,n=En?Xe+1:0){for(;n<Ae.length;n++){const r=Ae[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;Ae.splice(n,1),n--,r()}}}function ar(e){if(Kt.length){const t=[...new Set(Kt)].sort((n,r)=>wn(n)-wn(r));if(Kt.length=0,dt){dt.push(...t);return}for(dt=t,St=0;St<dt.length;St++)dt[St]();dt=null,St=0}}const wn=e=>e.id==null?1/0:e.id,Eu=(e,t)=>{const n=wn(e)-wn(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Rl(e){mo=!1,En=!0,Ae.sort(Eu);try{for(Xe=0;Xe<Ae.length;Xe++){const t=Ae[Xe];t&&t.active!==!1&&yt(t,null,14)}}finally{Xe=0,Ae.length=0,ar(),En=!1,Zo=null,(Ae.length||Kt.length)&&Rl()}}function wu(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ae;let o=n;const s=t.startsWith("update:"),i=s&&t.slice(7);if(i&&i in r){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:d}=r[u]||ae;d&&(o=n.map(p=>ce(p)?p.trim():p)),f&&(o=n.map(xc))}let l,a=r[l=Wr(t)]||r[l=Wr(Qe(t))];!a&&s&&(a=r[l=Wr(on(t))]),a&&qe(a,e,6,o);const c=r[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,qe(c,e,6,o)}}function Tl(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},l=!1;if(!G(e)){const a=c=>{const u=Tl(c,t,!0);u&&(l=!0,ve(i,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!s&&!l?(ie(e)&&r.set(e,null),null):(W(s)?s.forEach(a=>i[a]=null):ve(i,s),ie(e)&&r.set(e,i),i)}function Dr(e,t){return!e||!In(t)?!1:(t=t.slice(2).replace(/Once$/,""),Q(e,t[0].toLowerCase()+t.slice(1))||Q(e,on(t))||Q(e,t))}let Re=null,Mr=null;function cr(e){const t=Re;return Re=e,Mr=e&&e.type.__scopeId||null,t}function Py(e){Mr=e}function Ay(){Mr=null}function Rn(e,t=Re,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Qs(-1);const s=cr(t);let i;try{i=e(...o)}finally{cr(s),r._d&&Qs(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function zr(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:l,emit:a,render:c,renderCache:u,props:f,data:d,setupState:p,ctx:h,inheritAttrs:g}=e,E=cr(e);let w,P;try{if(n.shapeFlag&4){const C=o||r,T=C;w=Be(c.call(T,C,u,f,p,d,h)),P=l}else{const C=t;w=Be(C.length>1?C(f,{attrs:l,slots:i,emit:a}):C(f,null)),P=t.props?l:Tu(l)}}catch(C){gn.length=0,sn(C,e,1),w=ue(Ke)}let v=w;if(P&&g!==!1){const C=Object.keys(P),{shapeFlag:T}=v;C.length&&T&7&&(s&&C.some(Fo)&&(P=Pu(P,s)),v=nn(v,P,!1,!0))}return n.dirs&&(v=nn(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&(v.transition=n.transition),w=v,cr(E),w}function Ru(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(Pn(o)){if(o.type!==Ke||o.children==="v-if"){if(n)return;n=o}}else return}return n}const Tu=e=>{let t;for(const n in e)(n==="class"||n==="style"||In(n))&&((t||(t={}))[n]=e[n]);return t},Pu=(e,t)=>{const n={};for(const r in e)(!Fo(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Au(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:l,patchFlag:a}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return r?Bs(r,i,c):!!i;if(a&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(i[d]!==r[d]&&!Dr(c,d))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:r===i?!1:r?i?Bs(r,i,c):!0:!!i;return!1}function Bs(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 s=r[o];if(t[s]!==e[s]&&!Dr(n,s))return!0}return!1}function ts({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 Pl="components";function Cu(e,t){return Sl(Pl,e,!0,t)||e}const Al=Symbol.for("v-ndc");function Cl(e){return ce(e)?Sl(Pl,e,!1)||e:e||Al}function Sl(e,t,n=!0,r=!1){const o=Re||he;if(o){const s=o.type;{const l=Tf(s,!1);if(l&&(l===t||l===Qe(t)||l===Ir(Qe(t))))return s}const i=js(o[e]||s[e],t)||js(o.appContext[e],t);return!i&&r?s:i}}function js(e,t){return e&&(e[t]||e[Qe(t)]||e[Ir(Qe(t))])}const Su=e=>e.__isSuspense;let go=0;const Lu={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,l,a,c){if(e==null)Iu(t,n,r,o,s,i,l,a,c);else{if(s&&s.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}xu(e,t,n,r,o,i,l,a,c)}},hydrate:ku,create:ns,normalize:Nu},Ou=Lu;function Tn(e,t){const n=e.props&&e.props[t];G(n)&&n()}function Iu(e,t,n,r,o,s,i,l,a){const{p:c,o:{createElement:u}}=a,f=u("div"),d=e.suspense=ns(e,o,r,t,f,n,s,i,l,a);c(null,d.pendingBranch=e.ssContent,f,null,r,d,s,i),d.deps>0?(Tn(e,"onPending"),Tn(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,s,i),zt(d,e.ssFallback)):d.resolve(!1,!0)}function xu(e,t,n,r,o,s,i,l,{p:a,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:g,isInFallback:E,isHydrating:w}=f;if(g)f.pendingBranch=d,mt(d,g)?(a(g,d,f.hiddenContainer,null,o,f,s,i,l),f.deps<=0?f.resolve():E&&(w||(a(h,p,n,r,o,null,s,i,l),zt(f,p)))):(f.pendingId=go++,w?(f.isHydrating=!1,f.activeBranch=g):c(g,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),E?(a(null,d,f.hiddenContainer,null,o,f,s,i,l),f.deps<=0?f.resolve():(a(h,p,n,r,o,null,s,i,l),zt(f,p))):h&&mt(d,h)?(a(h,d,n,r,o,f,s,i,l),f.resolve(!0)):(a(null,d,f.hiddenContainer,null,o,f,s,i,l),f.deps<=0&&f.resolve()));else if(h&&mt(d,h))a(h,d,n,r,o,f,s,i,l),zt(f,d);else if(Tn(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=go++,a(null,d,f.hiddenContainer,null,o,f,s,i,l),f.deps<=0)f.resolve();else{const{timeout:P,pendingId:v}=f;P>0?setTimeout(()=>{f.pendingId===v&&f.fallback(p)},P):P===0&&f.fallback(p)}}function ns(e,t,n,r,o,s,i,l,a,c,u=!1){const{p:f,m:d,um:p,n:h,o:{parentNode:g,remove:E}}=c;let w;const P=Du(e);P&&t&&t.pendingBranch&&(w=t.pendingId,t.deps++);const v=e.props?kc(e.props.timeout):void 0,C=s,T={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:go++,timeout:typeof v=="number"?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(A=!1,V=!1){const{vnode:U,activeBranch:q,pendingBranch:H,pendingId:X,effects:Z,parentComponent:ne,container:_e}=T;let pe=!1;T.isHydrating?T.isHydrating=!1:A||(pe=q&&H.transition&&H.transition.mode==="out-in",pe&&(q.transition.afterLeave=()=>{X===T.pendingId&&(d(H,_e,s===C?h(q):s,0),_o(Z))}),q&&(g(q.el)!==T.hiddenContainer&&(s=h(q)),p(q,ne,T,!0)),pe||d(H,_e,s,0)),zt(T,H),T.pendingBranch=null,T.isInFallback=!1;let B=T.parent,J=!1;for(;B;){if(B.pendingBranch){B.effects.push(...Z),J=!0;break}B=B.parent}!J&&!pe&&_o(Z),T.effects=[],P&&t&&t.pendingBranch&&w===t.pendingId&&(t.deps--,t.deps===0&&!V&&t.resolve()),Tn(U,"onResolve")},fallback(A){if(!T.pendingBranch)return;const{vnode:V,activeBranch:U,parentComponent:q,container:H,namespace:X}=T;Tn(V,"onFallback");const Z=h(U),ne=()=>{T.isInFallback&&(f(null,A,H,Z,q,null,X,l,a),zt(T,A))},_e=A.transition&&A.transition.mode==="out-in";_e&&(U.transition.afterLeave=ne),T.isInFallback=!0,p(U,q,null,!0),_e||ne()},move(A,V,U){T.activeBranch&&d(T.activeBranch,A,V,U),T.container=A},next(){return T.activeBranch&&h(T.activeBranch)},registerDep(A,V){const U=!!T.pendingBranch;U&&T.deps++;const q=A.vnode.el;A.asyncDep.catch(H=>{sn(H,A,0)}).then(H=>{if(A.isUnmounted||T.isUnmounted||T.pendingId!==A.suspenseId)return;A.asyncResolved=!0;const{vnode:X}=A;To(A,H,!1),q&&(X.el=q);const Z=!q&&A.subTree.el;V(A,X,g(q||A.subTree.el),q?null:h(A.subTree),T,i,a),Z&&E(Z),ts(A,X.el),U&&--T.deps===0&&T.resolve()})},unmount(A,V){T.isUnmounted=!0,T.activeBranch&&p(T.activeBranch,n,A,V),T.pendingBranch&&p(T.pendingBranch,n,A,V)}};return T}function ku(e,t,n,r,o,s,i,l,a){const c=t.suspense=ns(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,l,!0),u=a(e,c.pendingBranch=t.ssContent,n,c,s,i);return c.deps===0&&c.resolve(!1,!0),u}function Nu(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=$s(r?n.default:n),e.ssFallback=r?$s(n.fallback):ue(Ke)}function $s(e){let t;if(G(e)){const n=tn&&e._c;n&&(e._d=!1,te()),e=e(),n&&(e._d=!0,t=$e,Zl())}return W(e)&&(e=Ru(e)),e=Be(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Ll(e,t){t&&t.pendingBranch?W(e)?t.effects.push(...e):t.effects.push(e):_o(e)}function zt(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,ts(r,o))}function Du(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Mu=Symbol.for("v-scx"),Vu=()=>_n(Mu);function Cy(e,t){return rs(e,null,t)}const Un={};function hn(e,t,n){return rs(e,t,n)}function rs(e,t,{immediate:n,deep:r,flush:o,once:s,onTrack:i,onTrigger:l}=ae){if(t&&s){const A=t;t=(...V)=>{A(...V),T()}}const a=he,c=A=>r===!0?A:Ft(A,r===!1?1:void 0);let u,f=!1,d=!1;if(Te(e)?(u=()=>e.value,f=lr(e)):pn(e)?(u=()=>c(e),f=!0):W(e)?(d=!0,f=e.some(A=>pn(A)||lr(A)),u=()=>e.map(A=>{if(Te(A))return A.value;if(pn(A))return c(A);if(G(A))return yt(A,a,2)})):G(e)?t?u=()=>yt(e,a,2):u=()=>(p&&p(),qe(e,a,3,[h])):u=je,t&&r){const A=u;u=()=>Ft(A())}let p,h=A=>{p=v.onStop=()=>{yt(A,a,4),p=v.onStop=void 0}},g;if(xn)if(h=je,t?n&&qe(t,a,3,[u(),d?[]:void 0,h]):u(),o==="sync"){const A=Vu();g=A.__watcherHandles||(A.__watcherHandles=[])}else return je;let E=d?new Array(e.length).fill(Un):Un;const w=()=>{if(!(!v.active||!v.dirty))if(t){const A=v.run();(r||f||(d?A.some((V,U)=>bt(V,E[U])):bt(A,E)))&&(p&&p(),qe(t,a,3,[A,E===Un?void 0:d&&E[0]===Un?[]:E,h]),E=A)}else v.run()};w.allowRecurse=!!t;let P;o==="sync"?P=w:o==="post"?P=()=>Ie(w,a&&a.suspense):(w.pre=!0,a&&(w.id=a.uid),P=()=>Nr(w));const v=new qo(u,je,P),C=Uc(),T=()=>{v.stop(),C&&Uo(C.effects,v)};return t?n?w():E=v.run():o==="post"?Ie(v.run.bind(v),a&&a.suspense):v.run(),g&&g.push(T),T}function Bu(e,t,n){const r=this.proxy,o=ce(e)?e.includes(".")?Ol(r,e):()=>r[e]:e.bind(r,r);let s;G(t)?s=t:(s=t.handler,n=t);const i=Nt(this),l=rs(o,s.bind(r),n);return i(),l}function Ol(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}}function Ft(e,t=1/0,n){if(t<=0||!ie(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Te(e))Ft(e.value,t,n);else if(W(e))for(let r=0;r<e.length;r++)Ft(e[r],t,n);else if(zi(e)||Wt(e))e.forEach(r=>{Ft(r,t,n)});else if(Yi(e))for(const r in e)Ft(e[r],t,n);return e}function Ye(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const l=o[i];s&&(l.oldValue=s[i].value);let a=l.dir[r];a&&(vt(),qe(a,n,8,[e.el,l,e,t]),Et())}}/*! #__NO_SIDE_EFFECTS__ */function Bt(e,t){return G(e)?ve({name:e.name},t,{setup:e}):e}const Jt=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Hs(e){G(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:s,suspensible:i=!0,onError:l}=e;let a=null,c,u=0;const f=()=>(u++,a=null,d()),d=()=>{let p;return a||(p=a=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),l)return new Promise((g,E)=>{l(h,()=>g(f()),()=>E(h),u+1)});throw h}).then(h=>p!==a&&a?a:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),c=h,h)))};return Bt({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const p=he;if(c)return()=>Jr(c,p);const h=P=>{a=null,sn(P,p,13,!r)};if(i&&p.suspense||xn)return d().then(P=>()=>Jr(P,p)).catch(P=>(h(P),()=>r?ue(r,{error:P}):null));const g=We(!1),E=We(),w=We(!!o);return o&&setTimeout(()=>{w.value=!1},o),s!=null&&setTimeout(()=>{if(!g.value&&!E.value){const P=new Error(`Async component timed out after ${s}ms.`);h(P),E.value=P}},s),d().then(()=>{g.value=!0,p.parent&&os(p.parent.vnode)&&(p.parent.effect.dirty=!0,Nr(p.parent.update))}).catch(P=>{h(P),E.value=P}),()=>{if(g.value&&c)return Jr(c,p);if(E.value&&r)return ue(r,{error:E.value});if(n&&!w.value)return ue(n)}}})}function Jr(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=ue(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const os=e=>e.type.__isKeepAlive;function ju(e,t){Il(e,"a",t)}function $u(e,t){Il(e,"da",t)}function Il(e,t,n=he){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Vr(t,r,n),n){let o=n.parent;for(;o&&o.parent;)os(o.parent.vnode)&&Hu(r,t,n,o),o=o.parent}}function Hu(e,t,n,r){const o=Vr(t,e,r,!0);Nl(()=>{Uo(r[t],o)},n)}function Vr(e,t,n=he,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;vt();const l=Nt(n),a=qe(t,n,e,i);return l(),Et(),a});return r?o.unshift(s):o.push(s),s}}const it=e=>(t,n=he)=>(!xn||e==="sp")&&Vr(e,(...r)=>t(...r),n),Fu=it("bm"),xl=it("m"),Uu=it("bu"),Gu=it("u"),kl=it("bum"),Nl=it("um"),Wu=it("sp"),qu=it("rtg"),Ku=it("rtc");function Dl(e,t=he){Vr("ec",e,t)}function Fs(e,t,n,r){let o;const s=n;if(W(e)||ce(e)){o=new Array(e.length);for(let i=0,l=e.length;i<l;i++)o[i]=t(e[i],i,void 0,s)}else if(typeof e=="number"){o=new Array(e);for(let i=0;i<e;i++)o[i]=t(i+1,i,void 0,s)}else if(ie(e))if(e[Symbol.iterator])o=Array.from(e,(i,l)=>t(i,l,void 0,s));else{const i=Object.keys(e);o=new Array(i.length);for(let l=0,a=i.length;l<a;l++){const c=i[l];o[l]=t(e[c],c,l,s)}}else o=[];return o}function Us(e,t,n={},r,o){if(Re.isCE||Re.parent&&Jt(Re.parent)&&Re.parent.isCE)return t!=="default"&&(n.name=t),ue("slot",n,r&&r());let s=e[t];s&&s._c&&(s._d=!1),te();const i=s&&Ml(s(n)),l=ke(Pe,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function Ml(e){return e.some(t=>Pn(t)?!(t.type===Ke||t.type===Pe&&!Ml(t.children)):!0)?e:null}const yo=e=>e?sa(e)?as(e)||e.proxy:yo(e.parent):null,mn=ve(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=>yo(e.parent),$root:e=>yo(e.root),$emit:e=>e.emit,$options:e=>ss(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Nr(e.update)}),$nextTick:e=>e.n||(e.n=es.bind(e.proxy)),$watch:e=>Bu.bind(e)}),Yr=(e,t)=>e!==ae&&!e.__isScriptSetup&&Q(e,t),zu={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Yr(r,t))return i[t]=1,r[t];if(o!==ae&&Q(o,t))return i[t]=2,o[t];if((c=e.propsOptions[0])&&Q(c,t))return i[t]=3,s[t];if(n!==ae&&Q(n,t))return i[t]=4,n[t];bo&&(i[t]=0)}}const u=mn[t];let f,d;if(u)return t==="$attrs"&&Ne(e.attrs,"get",""),u(e);if((f=l.__cssModules)&&(f=f[t]))return f;if(n!==ae&&Q(n,t))return i[t]=4,n[t];if(d=a.config.globalProperties,Q(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Yr(o,t)?(o[t]=n,!0):r!==ae&&Q(r,t)?(r[t]=n,!0):Q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},i){let l;return!!n[i]||e!==ae&&Q(e,i)||Yr(t,i)||(l=s[0])&&Q(l,i)||Q(r,i)||Q(mn,i)||Q(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Gs(e){return W(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Ju(e){const t=oa();let n=e();return Ro(),Go(n)&&(n=n.catch(r=>{throw Nt(t),r})),[n,()=>Nt(t)]}let bo=!0;function Yu(e){const t=ss(e),n=e.proxy,r=e.ctx;bo=!1,t.beforeCreate&&Ws(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:g,deactivated:E,beforeDestroy:w,beforeUnmount:P,destroyed:v,unmounted:C,render:T,renderTracked:A,renderTriggered:V,errorCaptured:U,serverPrefetch:q,expose:H,inheritAttrs:X,components:Z,directives:ne,filters:_e}=t;if(c&&Xu(c,r,null),i)for(const J in i){const $=i[J];G($)&&(r[J]=$.bind(n))}if(o){const J=o.call(n,n);ie(J)&&(e.data=Ze(J))}if(bo=!0,s)for(const J in s){const $=s[J],et=G($)?$.bind(n,n):G($.get)?$.get.bind(n,n):je,Mn=!G($)&&G($.set)?$.set.bind(n):je,Tt=_t({get:et,set:Mn});Object.defineProperty(r,J,{enumerable:!0,configurable:!0,get:()=>Tt.value,set:ze=>Tt.value=ze})}if(l)for(const J in l)Vl(l[J],r,n,J);if(a){const J=G(a)?a.call(n):a;Reflect.ownKeys(J).forEach($=>{jl($,J[$])})}u&&Ws(u,e,"c");function B(J,$){W($)?$.forEach(et=>J(et.bind(n))):$&&J($.bind(n))}if(B(Fu,f),B(xl,d),B(Uu,p),B(Gu,h),B(ju,g),B($u,E),B(Dl,U),B(Ku,A),B(qu,V),B(kl,P),B(Nl,C),B(Wu,q),W(H))if(H.length){const J=e.exposed||(e.exposed={});H.forEach($=>{Object.defineProperty(J,$,{get:()=>n[$],set:et=>n[$]=et})})}else e.exposed||(e.exposed={});T&&e.render===je&&(e.render=T),X!=null&&(e.inheritAttrs=X),Z&&(e.components=Z),ne&&(e.directives=ne)}function Xu(e,t,n=je){W(e)&&(e=vo(e));for(const r in e){const o=e[r];let s;ie(o)?"default"in o?s=_n(o.from||r,o.default,!0):s=_n(o.from||r):s=_n(o),Te(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function Ws(e,t,n){qe(W(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Vl(e,t,n,r){const o=r.includes(".")?Ol(n,r):()=>n[r];if(ce(e)){const s=t[e];G(s)&&hn(o,s)}else if(G(e))hn(o,e.bind(n));else if(ie(e))if(W(e))e.forEach(s=>Vl(s,t,n,r));else{const s=G(e.handler)?e.handler.bind(n):t[e.handler];G(s)&&hn(o,s,e)}}function ss(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,l=s.get(t);let a;return l?a=l:!o.length&&!n&&!r?a=t:(a={},o.length&&o.forEach(c=>ur(a,c,i,!0)),ur(a,t,i)),ie(t)&&s.set(t,a),a}function ur(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&ur(e,s,n,!0),o&&o.forEach(i=>ur(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const l=Qu[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const Qu={data:qs,props:Ks,emits:Ks,methods:fn,computed:fn,beforeCreate:Ce,created:Ce,beforeMount:Ce,mounted:Ce,beforeUpdate:Ce,updated:Ce,beforeDestroy:Ce,beforeUnmount:Ce,destroyed:Ce,unmounted:Ce,activated:Ce,deactivated:Ce,errorCaptured:Ce,serverPrefetch:Ce,components:fn,directives:fn,watch:ef,provide:qs,inject:Zu};function qs(e,t){return t?e?function(){return ve(G(e)?e.call(this,this):e,G(t)?t.call(this,this):t)}:t:e}function Zu(e,t){return fn(vo(e),vo(t))}function vo(e){if(W(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ce(e,t){return e?[...new Set([].concat(e,t))]:t}function fn(e,t){return e?ve(Object.create(null),e,t):t}function Ks(e,t){return e?W(e)&&W(t)?[...new Set([...e,...t])]:ve(Object.create(null),Gs(e),Gs(t??{})):t}function ef(e,t){if(!e)return t;if(!t)return e;const n=ve(Object.create(null),e);for(const r in t)n[r]=Ce(e[r],t[r]);return n}function Bl(){return{app:null,config:{isNativeTag:Cc,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 tf=0;function nf(e,t){return function(r,o=null){G(r)||(r=ve({},r)),o!=null&&!ie(o)&&(o=null);const s=Bl(),i=new WeakSet;let l=!1;const a=s.app={_uid:tf++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:la,get config(){return s.config},set config(c){},use(c,...u){return i.has(c)||(c&&G(c.install)?(i.add(c),c.install(a,...u)):G(c)&&(i.add(c),c(a,...u))),a},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),a},component(c,u){return u?(s.components[c]=u,a):s.components[c]},directive(c,u){return u?(s.directives[c]=u,a):s.directives[c]},mount(c,u,f){if(!l){const d=ue(r,o);return d.appContext=s,f===!0?f="svg":f===!1&&(f=void 0),u&&t?t(d,c):e(d,c,f),l=!0,a._container=c,c.__vue_app__=a,as(d.component)||d.component.proxy}},unmount(){l&&(e(null,a._container),delete a._container.__vue_app__)},provide(c,u){return s.provides[c]=u,a},runWithContext(c){const u=Yt;Yt=a;try{return c()}finally{Yt=u}}};return a}}let Yt=null;function jl(e,t){if(he){let n=he.provides;const r=he.parent&&he.parent.provides;r===n&&(n=he.provides=Object.create(r)),n[e]=t}}function _n(e,t,n=!1){const r=he||Re;if(r||Yt){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Yt._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&G(t)?t.call(r&&r.proxy):t}}function $l(){return!!(he||Re||Yt)}const Hl={},Fl=()=>Object.create(Hl),Ul=e=>Object.getPrototypeOf(e)===Hl;function rf(e,t,n,r=!1){const o={},s=Fl();e.propsDefaults=Object.create(null),Gl(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:pl(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function of(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,l=ee(o),[a]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Dr(e.emitsOptions,d))continue;const p=t[d];if(a)if(Q(s,d))p!==s[d]&&(s[d]=p,c=!0);else{const h=Qe(d);o[h]=Eo(a,l,h,p,e,!1)}else p!==s[d]&&(s[d]=p,c=!0)}}}else{Gl(e,t,o,s)&&(c=!0);let u;for(const f in l)(!t||!Q(t,f)&&((u=on(f))===f||!Q(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=Eo(a,l,f,void 0,e,!0)):delete o[f]);if(s!==l)for(const f in s)(!t||!Q(t,f))&&(delete s[f],c=!0)}c&&st(e.attrs,"set","")}function Gl(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(qt(a))continue;const c=t[a];let u;o&&Q(o,u=Qe(a))?!s||!s.includes(u)?n[u]=c:(l||(l={}))[u]=c:Dr(e.emitsOptions,a)||(!(a in r)||c!==r[a])&&(r[a]=c,i=!0)}if(s){const a=ee(n),c=l||ae;for(let u=0;u<s.length;u++){const f=s[u];n[f]=Eo(o,a,f,c[f],e,!Q(c,f))}}return i}function Eo(e,t,n,r,o,s){const i=e[n];if(i!=null){const l=Q(i,"default");if(l&&r===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&G(a)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=Nt(o);r=c[n]=a.call(null,t),u()}}else r=a}i[0]&&(s&&!l?r=!1:i[1]&&(r===""||r===on(n))&&(r=!0))}return r}function Wl(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},l=[];let a=!1;if(!G(e)){const u=f=>{a=!0;const[d,p]=Wl(f,t,!0);ve(i,d),p&&l.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!a)return ie(e)&&r.set(e,Gt),Gt;if(W(s))for(let u=0;u<s.length;u++){const f=Qe(s[u]);zs(f)&&(i[f]=ae)}else if(s)for(const u in s){const f=Qe(u);if(zs(f)){const d=s[u],p=i[f]=W(d)||G(d)?{type:d}:ve({},d);if(p){const h=Xs(Boolean,p.type),g=Xs(String,p.type);p[0]=h>-1,p[1]=g<0||h<g,(h>-1||Q(p,"default"))&&l.push(f)}}}const c=[i,l];return ie(e)&&r.set(e,c),c}function zs(e){return e[0]!=="$"&&!qt(e)}function Js(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function Ys(e,t){return Js(e)===Js(t)}function Xs(e,t){return W(t)?t.findIndex(n=>Ys(n,e)):G(t)&&Ys(t,e)?0:-1}const ql=e=>e[0]==="_"||e==="$stable",is=e=>W(e)?e.map(Be):[Be(e)],sf=(e,t,n)=>{if(t._n)return t;const r=Rn((...o)=>is(t(...o)),n);return r._c=!1,r},Kl=(e,t,n)=>{const r=e._ctx;for(const o in e){if(ql(o))continue;const s=e[o];if(G(s))t[o]=sf(o,s,r);else if(s!=null){const i=is(s);t[o]=()=>i}}},zl=(e,t)=>{const n=is(t);e.slots.default=()=>n},lf=(e,t)=>{const n=e.slots=Fl();if(e.vnode.shapeFlag&32){const r=t._;r?(ve(n,t),Xi(n,"_",r,!0)):Kl(t,n)}else t&&zl(e,t)},af=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=ae;if(r.shapeFlag&32){const l=t._;l?n&&l===1?s=!1:(ve(o,t),!n&&l===1&&delete o._):(s=!t.$stable,Kl(t,o)),i=t}else t&&(zl(e,t),i={default:1});if(s)for(const l in o)!ql(l)&&i[l]==null&&delete o[l]};function fr(e,t,n,r,o=!1){if(W(e)){e.forEach((d,p)=>fr(d,t&&(W(t)?t[p]:t),n,r,o));return}if(Jt(r)&&!o)return;const s=r.shapeFlag&4?as(r.component)||r.component.proxy:r.el,i=o?null:s,{i:l,r:a}=e,c=t&&t.r,u=l.refs===ae?l.refs={}:l.refs,f=l.setupState;if(c!=null&&c!==a&&(ce(c)?(u[c]=null,Q(f,c)&&(f[c]=null)):Te(c)&&(c.value=null)),G(a))yt(a,l,12,[i,u]);else{const d=ce(a),p=Te(a);if(d||p){const h=()=>{if(e.f){const g=d?Q(f,a)?f[a]:u[a]:a.value;o?W(g)&&Uo(g,s):W(g)?g.includes(s)||g.push(s):d?(u[a]=[s],Q(f,a)&&(f[a]=u[a])):(a.value=[s],e.k&&(u[e.k]=a.value))}else d?(u[a]=i,Q(f,a)&&(f[a]=i)):p&&(a.value=i,e.k&&(u[e.k]=i))};i?(h.id=-1,Ie(h,n)):h()}}}let ut=!1;const cf=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",uf=e=>e.namespaceURI.includes("MathML"),Gn=e=>{if(cf(e))return"svg";if(uf(e))return"mathml"},Wn=e=>e.nodeType===8;function ff(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:l,insert:a,createComment:c}}=e,u=(v,C)=>{if(!C.hasChildNodes()){n(null,v,C),ar(),C._vnode=v;return}ut=!1,f(C.firstChild,v,null,null,null),ar(),C._vnode=v,ut&&console.error("Hydration completed but contains mismatches.")},f=(v,C,T,A,V,U=!1)=>{U=U||!!C.dynamicChildren;const q=Wn(v)&&v.data==="[",H=()=>g(v,C,T,A,V,q),{type:X,ref:Z,shapeFlag:ne,patchFlag:_e}=C;let pe=v.nodeType;C.el=v,_e===-2&&(U=!1,C.dynamicChildren=null);let B=null;switch(X){case en:pe!==3?C.children===""?(a(C.el=o(""),i(v),v),B=v):B=H():(v.data!==C.children&&(ut=!0,v.data=C.children),B=s(v));break;case Ke:P(v)?(B=s(v),w(C.el=v.content.firstChild,v,T)):pe!==8||q?B=H():B=s(v);break;case Zn:if(q&&(v=s(v),pe=v.nodeType),pe===1||pe===3){B=v;const J=!C.children.length;for(let $=0;$<C.staticCount;$++)J&&(C.children+=B.nodeType===1?B.outerHTML:B.data),$===C.staticCount-1&&(C.anchor=B),B=s(B);return q?s(B):B}else H();break;case Pe:q?B=h(v,C,T,A,V,U):B=H();break;default:if(ne&1)(pe!==1||C.type.toLowerCase()!==v.tagName.toLowerCase())&&!P(v)?B=H():B=d(v,C,T,A,V,U);else if(ne&6){C.slotScopeIds=V;const J=i(v);if(q?B=E(v):Wn(v)&&v.data==="teleport start"?B=E(v,v.data,"teleport end"):B=s(v),t(C,J,null,T,A,Gn(J),U),Jt(C)){let $;q?($=ue(Pe),$.anchor=B?B.previousSibling:J.lastChild):$=v.nodeType===3?dr(""):ue("div"),$.el=v,C.component.subTree=$}}else ne&64?pe!==8?B=H():B=C.type.hydrate(v,C,T,A,V,U,e,p):ne&128&&(B=C.type.hydrate(v,C,T,A,Gn(i(v)),V,U,e,f))}return Z!=null&&fr(Z,null,A,C),B},d=(v,C,T,A,V,U)=>{U=U||!!C.dynamicChildren;const{type:q,props:H,patchFlag:X,shapeFlag:Z,dirs:ne,transition:_e}=C,pe=q==="input"||q==="option";if(pe||X!==-1){ne&&Ye(C,null,T,"created");let B=!1;if(P(v)){B=Yl(A,_e)&&T&&T.vnode.props&&T.vnode.props.appear;const $=v.content.firstChild;B&&_e.beforeEnter($),w($,v,T),C.el=v=$}if(Z&16&&!(H&&(H.innerHTML||H.textContent))){let $=p(v.firstChild,C,v,T,A,V,U);for(;$;){ut=!0;const et=$;$=$.nextSibling,l(et)}}else Z&8&&v.textContent!==C.children&&(ut=!0,v.textContent=C.children);if(H)if(pe||!U||X&48)for(const $ in H)(pe&&($.endsWith("value")||$==="indeterminate")||In($)&&!qt($)||$[0]===".")&&r(v,$,null,H[$],void 0,void 0,T);else H.onClick&&r(v,"onClick",null,H.onClick,void 0,void 0,T);let J;(J=H&&H.onVnodeBeforeMount)&&Ve(J,T,C),ne&&Ye(C,null,T,"beforeMount"),((J=H&&H.onVnodeMounted)||ne||B)&&Ll(()=>{J&&Ve(J,T,C),B&&_e.enter(v),ne&&Ye(C,null,T,"mounted")},A)}return v.nextSibling},p=(v,C,T,A,V,U,q)=>{q=q||!!C.dynamicChildren;const H=C.children,X=H.length;for(let Z=0;Z<X;Z++){const ne=q?H[Z]:H[Z]=Be(H[Z]);if(v)v=f(v,ne,A,V,U,q);else{if(ne.type===en&&!ne.children)continue;ut=!0,n(null,ne,T,null,A,V,Gn(T),U)}}return v},h=(v,C,T,A,V,U)=>{const{slotScopeIds:q}=C;q&&(V=V?V.concat(q):q);const H=i(v),X=p(s(v),C,H,T,A,V,U);return X&&Wn(X)&&X.data==="]"?s(C.anchor=X):(ut=!0,a(C.anchor=c("]"),H,X),X)},g=(v,C,T,A,V,U)=>{if(ut=!0,C.el=null,U){const X=E(v);for(;;){const Z=s(v);if(Z&&Z!==X)l(Z);else break}}const q=s(v),H=i(v);return l(v),n(null,C,H,q,T,A,Gn(H),V),q},E=(v,C="[",T="]")=>{let A=0;for(;v;)if(v=s(v),v&&Wn(v)&&(v.data===C&&A++,v.data===T)){if(A===0)return s(v);A--}return v},w=(v,C,T)=>{const A=C.parentNode;A&&A.replaceChild(v,C);let V=T;for(;V;)V.vnode.el===C&&(V.vnode.el=V.subTree.el=v),V=V.parent},P=v=>v.nodeType===1&&v.tagName.toLowerCase()==="template";return[u,f]}const Ie=Ll;function df(e){return Jl(e)}function pf(e){return Jl(e,ff)}function Jl(e,t){const n=Qi();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=je,insertStaticContent:h}=e,g=(_,b,R,S=null,L=null,k=null,D=void 0,x=null,N=!!b.dynamicChildren)=>{if(_===b)return;_&&!mt(_,b)&&(S=Vn(_),ze(_,L,k,!0),_=null),b.patchFlag===-2&&(N=!1,b.dynamicChildren=null);const{type:O,ref:M,shapeFlag:F}=b;switch(O){case en:E(_,b,R,S);break;case Ke:w(_,b,R,S);break;case Zn:_==null&&P(b,R,S,D);break;case Pe:Z(_,b,R,S,L,k,D,x,N);break;default:F&1?T(_,b,R,S,L,k,D,x,N):F&6?ne(_,b,R,S,L,k,D,x,N):(F&64||F&128)&&O.process(_,b,R,S,L,k,D,x,N,$t)}M!=null&&L&&fr(M,_&&_.ref,k,b||_,!b)},E=(_,b,R,S)=>{if(_==null)r(b.el=l(b.children),R,S);else{const L=b.el=_.el;b.children!==_.children&&c(L,b.children)}},w=(_,b,R,S)=>{_==null?r(b.el=a(b.children||""),R,S):b.el=_.el},P=(_,b,R,S)=>{[_.el,_.anchor]=h(_.children,b,R,S,_.el,_.anchor)},v=({el:_,anchor:b},R,S)=>{let L;for(;_&&_!==b;)L=d(_),r(_,R,S),_=L;r(b,R,S)},C=({el:_,anchor:b})=>{let R;for(;_&&_!==b;)R=d(_),o(_),_=R;o(b)},T=(_,b,R,S,L,k,D,x,N)=>{b.type==="svg"?D="svg":b.type==="math"&&(D="mathml"),_==null?A(b,R,S,L,k,D,x,N):q(_,b,L,k,D,x,N)},A=(_,b,R,S,L,k,D,x)=>{let N,O;const{props:M,shapeFlag:F,transition:j,dirs:K}=_;if(N=_.el=i(_.type,k,M&&M.is,M),F&8?u(N,_.children):F&16&&U(_.children,N,null,S,L,Xr(_,k),D,x),K&&Ye(_,null,S,"created"),V(N,_,_.scopeId,D,S),M){for(const re in M)re!=="value"&&!qt(re)&&s(N,re,null,M[re],k,_.children,S,L,tt);"value"in M&&s(N,"value",null,M.value,k),(O=M.onVnodeBeforeMount)&&Ve(O,S,_)}K&&Ye(_,null,S,"beforeMount");const Y=Yl(L,j);Y&&j.beforeEnter(N),r(N,b,R),((O=M&&M.onVnodeMounted)||Y||K)&&Ie(()=>{O&&Ve(O,S,_),Y&&j.enter(N),K&&Ye(_,null,S,"mounted")},L)},V=(_,b,R,S,L)=>{if(R&&p(_,R),S)for(let k=0;k<S.length;k++)p(_,S[k]);if(L){let k=L.subTree;if(b===k){const D=L.vnode;V(_,D,D.scopeId,D.slotScopeIds,L.parent)}}},U=(_,b,R,S,L,k,D,x,N=0)=>{for(let O=N;O<_.length;O++){const M=_[O]=x?pt(_[O]):Be(_[O]);g(null,M,b,R,S,L,k,D,x)}},q=(_,b,R,S,L,k,D)=>{const x=b.el=_.el;let{patchFlag:N,dynamicChildren:O,dirs:M}=b;N|=_.patchFlag&16;const F=_.props||ae,j=b.props||ae;let K;if(R&&Pt(R,!1),(K=j.onVnodeBeforeUpdate)&&Ve(K,R,b,_),M&&Ye(b,_,R,"beforeUpdate"),R&&Pt(R,!0),O?H(_.dynamicChildren,O,x,R,S,Xr(b,L),k):D||$(_,b,x,null,R,S,Xr(b,L),k,!1),N>0){if(N&16)X(x,b,F,j,R,S,L);else if(N&2&&F.class!==j.class&&s(x,"class",null,j.class,L),N&4&&s(x,"style",F.style,j.style,L),N&8){const Y=b.dynamicProps;for(let re=0;re<Y.length;re++){const le=Y[re],ge=F[le],Fe=j[le];(Fe!==ge||le==="value")&&s(x,le,ge,Fe,L,_.children,R,S,tt)}}N&1&&_.children!==b.children&&u(x,b.children)}else!D&&O==null&&X(x,b,F,j,R,S,L);((K=j.onVnodeUpdated)||M)&&Ie(()=>{K&&Ve(K,R,b,_),M&&Ye(b,_,R,"updated")},S)},H=(_,b,R,S,L,k,D)=>{for(let x=0;x<b.length;x++){const N=_[x],O=b[x],M=N.el&&(N.type===Pe||!mt(N,O)||N.shapeFlag&70)?f(N.el):R;g(N,O,M,null,S,L,k,D,!0)}},X=(_,b,R,S,L,k,D)=>{if(R!==S){if(R!==ae)for(const x in R)!qt(x)&&!(x in S)&&s(_,x,R[x],null,D,b.children,L,k,tt);for(const x in S){if(qt(x))continue;const N=S[x],O=R[x];N!==O&&x!=="value"&&s(_,x,O,N,D,b.children,L,k,tt)}"value"in S&&s(_,"value",R.value,S.value,D)}},Z=(_,b,R,S,L,k,D,x,N)=>{const O=b.el=_?_.el:l(""),M=b.anchor=_?_.anchor:l("");let{patchFlag:F,dynamicChildren:j,slotScopeIds:K}=b;K&&(x=x?x.concat(K):K),_==null?(r(O,R,S),r(M,R,S),U(b.children||[],R,M,L,k,D,x,N)):F>0&&F&64&&j&&_.dynamicChildren?(H(_.dynamicChildren,j,R,L,k,D,x),(b.key!=null||L&&b===L.subTree)&&Xl(_,b,!0)):$(_,b,R,M,L,k,D,x,N)},ne=(_,b,R,S,L,k,D,x,N)=>{b.slotScopeIds=x,_==null?b.shapeFlag&512?L.ctx.activate(b,R,S,D,N):_e(b,R,S,L,k,D,N):pe(_,b,N)},_e=(_,b,R,S,L,k,D)=>{const x=_.component=bf(_,S,L);if(os(_)&&(x.ctx.renderer=$t),vf(x),x.asyncDep){if(L&&L.registerDep(x,B),!_.el){const N=x.subTree=ue(Ke);w(null,N,b,R)}}else B(x,_,b,R,L,k,D)},pe=(_,b,R)=>{const S=b.component=_.component;if(Au(_,b,R))if(S.asyncDep&&!S.asyncResolved){J(S,b,R);return}else S.next=b,vu(S.update),S.effect.dirty=!0,S.update();else b.el=_.el,S.vnode=b},B=(_,b,R,S,L,k,D)=>{const x=()=>{if(_.isMounted){let{next:M,bu:F,u:j,parent:K,vnode:Y}=_;{const Ht=Ql(_);if(Ht){M&&(M.el=Y.el,J(_,M,D)),Ht.asyncDep.then(()=>{_.isUnmounted||x()});return}}let re=M,le;Pt(_,!1),M?(M.el=Y.el,J(_,M,D)):M=Y,F&&qr(F),(le=M.props&&M.props.onVnodeBeforeUpdate)&&Ve(le,K,M,Y),Pt(_,!0);const ge=zr(_),Fe=_.subTree;_.subTree=ge,g(Fe,ge,f(Fe.el),Vn(Fe),_,L,k),M.el=ge.el,re===null&&ts(_,ge.el),j&&Ie(j,L),(le=M.props&&M.props.onVnodeUpdated)&&Ie(()=>Ve(le,K,M,Y),L)}else{let M;const{el:F,props:j}=b,{bm:K,m:Y,parent:re}=_,le=Jt(b);if(Pt(_,!1),K&&qr(K),!le&&(M=j&&j.onVnodeBeforeMount)&&Ve(M,re,b),Pt(_,!0),F&&Gr){const ge=()=>{_.subTree=zr(_),Gr(F,_.subTree,_,L,null)};le?b.type.__asyncLoader().then(()=>!_.isUnmounted&&ge()):ge()}else{const ge=_.subTree=zr(_);g(null,ge,R,S,_,L,k),b.el=ge.el}if(Y&&Ie(Y,L),!le&&(M=j&&j.onVnodeMounted)){const ge=b;Ie(()=>Ve(M,re,ge),L)}(b.shapeFlag&256||re&&Jt(re.vnode)&&re.vnode.shapeFlag&256)&&_.a&&Ie(_.a,L),_.isMounted=!0,b=R=S=null}},N=_.effect=new qo(x,je,()=>Nr(O),_.scope),O=_.update=()=>{N.dirty&&N.run()};O.id=_.uid,Pt(_,!0),O()},J=(_,b,R)=>{b.component=_;const S=_.vnode.props;_.vnode=b,_.next=null,of(_,b.props,S,R),af(_,b.children,R),vt(),Vs(_),Et()},$=(_,b,R,S,L,k,D,x,N=!1)=>{const O=_&&_.children,M=_?_.shapeFlag:0,F=b.children,{patchFlag:j,shapeFlag:K}=b;if(j>0){if(j&128){Mn(O,F,R,S,L,k,D,x,N);return}else if(j&256){et(O,F,R,S,L,k,D,x,N);return}}K&8?(M&16&&tt(O,L,k),F!==O&&u(R,F)):M&16?K&16?Mn(O,F,R,S,L,k,D,x,N):tt(O,L,k,!0):(M&8&&u(R,""),K&16&&U(F,R,S,L,k,D,x,N))},et=(_,b,R,S,L,k,D,x,N)=>{_=_||Gt,b=b||Gt;const O=_.length,M=b.length,F=Math.min(O,M);let j;for(j=0;j<F;j++){const K=b[j]=N?pt(b[j]):Be(b[j]);g(_[j],K,R,null,L,k,D,x,N)}O>M?tt(_,L,k,!0,!1,F):U(b,R,S,L,k,D,x,N,F)},Mn=(_,b,R,S,L,k,D,x,N)=>{let O=0;const M=b.length;let F=_.length-1,j=M-1;for(;O<=F&&O<=j;){const K=_[O],Y=b[O]=N?pt(b[O]):Be(b[O]);if(mt(K,Y))g(K,Y,R,null,L,k,D,x,N);else break;O++}for(;O<=F&&O<=j;){const K=_[F],Y=b[j]=N?pt(b[j]):Be(b[j]);if(mt(K,Y))g(K,Y,R,null,L,k,D,x,N);else break;F--,j--}if(O>F){if(O<=j){const K=j+1,Y=K<M?b[K].el:S;for(;O<=j;)g(null,b[O]=N?pt(b[O]):Be(b[O]),R,Y,L,k,D,x,N),O++}}else if(O>j)for(;O<=F;)ze(_[O],L,k,!0),O++;else{const K=O,Y=O,re=new Map;for(O=Y;O<=j;O++){const De=b[O]=N?pt(b[O]):Be(b[O]);De.key!=null&&re.set(De.key,O)}let le,ge=0;const Fe=j-Y+1;let Ht=!1,Ps=0;const cn=new Array(Fe);for(O=0;O<Fe;O++)cn[O]=0;for(O=K;O<=F;O++){const De=_[O];if(ge>=Fe){ze(De,L,k,!0);continue}let Je;if(De.key!=null)Je=re.get(De.key);else for(le=Y;le<=j;le++)if(cn[le-Y]===0&&mt(De,b[le])){Je=le;break}Je===void 0?ze(De,L,k,!0):(cn[Je-Y]=O+1,Je>=Ps?Ps=Je:Ht=!0,g(De,b[Je],R,null,L,k,D,x,N),ge++)}const As=Ht?hf(cn):Gt;for(le=As.length-1,O=Fe-1;O>=0;O--){const De=Y+O,Je=b[De],Cs=De+1<M?b[De+1].el:S;cn[O]===0?g(null,Je,R,Cs,L,k,D,x,N):Ht&&(le<0||O!==As[le]?Tt(Je,R,Cs,2):le--)}}},Tt=(_,b,R,S,L=null)=>{const{el:k,type:D,transition:x,children:N,shapeFlag:O}=_;if(O&6){Tt(_.component.subTree,b,R,S);return}if(O&128){_.suspense.move(b,R,S);return}if(O&64){D.move(_,b,R,$t);return}if(D===Pe){r(k,b,R);for(let F=0;F<N.length;F++)Tt(N[F],b,R,S);r(_.anchor,b,R);return}if(D===Zn){v(_,b,R);return}if(S!==2&&O&1&&x)if(S===0)x.beforeEnter(k),r(k,b,R),Ie(()=>x.enter(k),L);else{const{leave:F,delayLeave:j,afterLeave:K}=x,Y=()=>r(k,b,R),re=()=>{F(k,()=>{Y(),K&&K()})};j?j(k,Y,re):re()}else r(k,b,R)},ze=(_,b,R,S=!1,L=!1)=>{const{type:k,props:D,ref:x,children:N,dynamicChildren:O,shapeFlag:M,patchFlag:F,dirs:j}=_;if(x!=null&&fr(x,null,R,_,!0),M&256){b.ctx.deactivate(_);return}const K=M&1&&j,Y=!Jt(_);let re;if(Y&&(re=D&&D.onVnodeBeforeUnmount)&&Ve(re,b,_),M&6)Tc(_.component,R,S);else{if(M&128){_.suspense.unmount(R,S);return}K&&Ye(_,null,b,"beforeUnmount"),M&64?_.type.remove(_,b,R,L,$t,S):O&&(k!==Pe||F>0&&F&64)?tt(O,b,R,!1,!0):(k===Pe&&F&384||!L&&M&16)&&tt(N,b,R),S&&Rs(_)}(Y&&(re=D&&D.onVnodeUnmounted)||K)&&Ie(()=>{re&&Ve(re,b,_),K&&Ye(_,null,b,"unmounted")},R)},Rs=_=>{const{type:b,el:R,anchor:S,transition:L}=_;if(b===Pe){Rc(R,S);return}if(b===Zn){C(_);return}const k=()=>{o(R),L&&!L.persisted&&L.afterLeave&&L.afterLeave()};if(_.shapeFlag&1&&L&&!L.persisted){const{leave:D,delayLeave:x}=L,N=()=>D(R,k);x?x(_.el,k,N):N()}else k()},Rc=(_,b)=>{let R;for(;_!==b;)R=d(_),o(_),_=R;o(b)},Tc=(_,b,R)=>{const{bum:S,scope:L,update:k,subTree:D,um:x}=_;S&&qr(S),L.stop(),k&&(k.active=!1,ze(D,_,b,R)),x&&Ie(x,b),Ie(()=>{_.isUnmounted=!0},b),b&&b.pendingBranch&&!b.isUnmounted&&_.asyncDep&&!_.asyncResolved&&_.suspenseId===b.pendingId&&(b.deps--,b.deps===0&&b.resolve())},tt=(_,b,R,S=!1,L=!1,k=0)=>{for(let D=k;D<_.length;D++)ze(_[D],b,R,S,L)},Vn=_=>_.shapeFlag&6?Vn(_.component.subTree):_.shapeFlag&128?_.suspense.next():d(_.anchor||_.el);let Fr=!1;const Ts=(_,b,R)=>{_==null?b._vnode&&ze(b._vnode,null,null,!0):g(b._vnode||null,_,b,null,null,null,R),Fr||(Fr=!0,Vs(),ar(),Fr=!1),b._vnode=_},$t={p:g,um:ze,m:Tt,r:Rs,mt:_e,mc:U,pc:$,pbc:H,n:Vn,o:e};let Ur,Gr;return t&&([Ur,Gr]=t($t)),{render:Ts,hydrate:Ur,createApp:nf(Ts,Ur)}}function Xr({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 Pt({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Yl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Xl(e,t,n=!1){const r=e.children,o=t.children;if(W(r)&&W(o))for(let s=0;s<r.length;s++){const i=r[s];let l=o[s];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[s]=pt(o[s]),l.el=i.el),n||Xl(i,l)),l.type===en&&(l.el=i.el)}}function hf(e){const t=e.slice(),n=[0];let r,o,s,i,l;const a=e.length;for(r=0;r<a;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(s=0,i=n.length-1;s<i;)l=s+i>>1,e[n[l]]<c?s=l+1:i=l;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function Ql(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ql(t)}const mf=e=>e.__isTeleport,Pe=Symbol.for("v-fgt"),en=Symbol.for("v-txt"),Ke=Symbol.for("v-cmt"),Zn=Symbol.for("v-stc"),gn=[];let $e=null;function te(e=!1){gn.push($e=e?null:[])}function Zl(){gn.pop(),$e=gn[gn.length-1]||null}let tn=1;function Qs(e){tn+=e}function ea(e){return e.dynamicChildren=tn>0?$e||Gt:null,Zl(),tn>0&&$e&&$e.push(e),e}function Se(e,t,n,r,o,s){return ea(xe(e,t,n,r,o,s,!0))}function ke(e,t,n,r,o){return ea(ue(e,t,n,r,o,!0))}function Pn(e){return e?e.__v_isVNode===!0:!1}function mt(e,t){return e.type===t.type&&e.key===t.key}const ta=({key:e})=>e??null,er=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ce(e)||Te(e)||G(e)?{i:Re,r:e,k:t,f:!!n}:e:null);function xe(e,t=null,n=null,r=0,o=null,s=e===Pe?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ta(t),ref:t&&er(t),scopeId:Mr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Re};return l?(ls(a,n),s&128&&e.normalize(a)):n&&(a.shapeFlag|=ce(n)?8:16),tn>0&&!i&&$e&&(a.patchFlag>0||s&6)&&a.patchFlag!==32&&$e.push(a),a}const ue=_f;function _f(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Al)&&(e=Ke),Pn(e)){const l=nn(e,t,!0);return n&&ls(l,n),tn>0&&!s&&$e&&(l.shapeFlag&6?$e[$e.indexOf(e)]=l:$e.push(l)),l.patchFlag|=-2,l}if(Pf(e)&&(e=e.__vccOpts),t){t=na(t);let{class:l,style:a}=t;l&&!ce(l)&&(t.class=Vt(l)),ie(a)&&(ml(a)&&!W(a)&&(a=ve({},a)),t.style=xr(a))}const i=ce(e)?1:Su(e)?128:mf(e)?64:ie(e)?4:G(e)?2:0;return xe(e,t,n,r,o,i,s,!0)}function na(e){return e?ml(e)||Ul(e)?ve({},e):e:null}function nn(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:l,transition:a}=e,c=t?ra(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&ta(c),ref:t&&t.ref?n&&s?W(s)?s.concat(er(t)):[s,er(t)]:er(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Pe?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nn(e.ssContent),ssFallback:e.ssFallback&&nn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&r&&(u.transition=a.clone(u)),u}function dr(e=" ",t=0){return ue(en,null,e,t)}function At(e="",t=!1){return t?(te(),ke(Ke,null,e)):ue(Ke,null,e)}function Be(e){return e==null||typeof e=="boolean"?ue(Ke):W(e)?ue(Pe,null,e.slice()):typeof e=="object"?pt(e):ue(en,null,String(e))}function pt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nn(e)}function ls(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(W(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),ls(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Ul(t)?t._ctx=Re:o===3&&Re&&(Re.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else G(t)?(t={default:t,_ctx:Re},n=32):(t=String(t),r&64?(n=16,t=[dr(t)]):n=8);e.children=t,e.shapeFlag|=n}function ra(...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=Vt([t.class,r.class]));else if(o==="style")t.style=xr([t.style,r.style]);else if(In(o)){const s=t[o],i=r[o];i&&s!==i&&!(W(s)&&s.includes(i))&&(t[o]=s?[].concat(s,i):i)}else o!==""&&(t[o]=r[o])}return t}function Ve(e,t,n,r=null){qe(e,t,7,[n,r])}const gf=Bl();let yf=0;function bf(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||gf,s={uid:yf++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new tl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Wl(r,o),emitsOptions:Tl(r,o),emit:null,emitted:null,propsDefaults:ae,inheritAttrs:r.inheritAttrs,ctx:ae,data:ae,props:ae,attrs:ae,slots:ae,refs:ae,setupState:ae,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=wu.bind(null,s),e.ce&&e.ce(s),s}let he=null;const oa=()=>he||Re;let pr,wo;{const e=Qi(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};pr=t("__VUE_INSTANCE_SETTERS__",n=>he=n),wo=t("__VUE_SSR_SETTERS__",n=>xn=n)}const Nt=e=>{const t=he;return pr(e),e.scope.on(),()=>{e.scope.off(),pr(t)}},Ro=()=>{he&&he.scope.off(),pr(null)};function sa(e){return e.vnode.shapeFlag&4}let xn=!1;function vf(e,t=!1){t&&wo(t);const{props:n,children:r}=e.vnode,o=sa(e);rf(e,n,o,t),lf(e,r);const s=o?Ef(e,t):void 0;return t&&wo(!1),s}function Ef(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,zu);const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?Rf(e):null,s=Nt(e);vt();const i=yt(r,e,0,[e.props,o]);if(Et(),s(),Go(i)){if(i.then(Ro,Ro),t)return i.then(l=>{To(e,l,t)}).catch(l=>{sn(l,e,0)});e.asyncDep=i}else To(e,i,t)}else ia(e,t)}function To(e,t,n){G(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ie(t)&&(e.setupState=bl(t)),ia(e,n)}let Zs;function ia(e,t,n){const r=e.type;if(!e.render){if(!t&&Zs&&!r.render){const o=r.template||ss(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:l,compilerOptions:a}=r,c=ve(ve({isCustomElement:s,delimiters:l},i),a);r.render=Zs(o,c)}}e.render=r.render||je}{const o=Nt(e);vt();try{Yu(e)}finally{Et(),o()}}}const wf={get(e,t){return Ne(e,"get",""),e[t]}};function Rf(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,wf),slots:e.slots,emit:e.emit,expose:t}}function as(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(bl(uu(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in mn)return mn[n](e)},has(t,n){return n in t||n in mn}}))}function Tf(e,t=!0){return G(e)?e.displayName||e.name:e.name||t&&e.__name}function Pf(e){return G(e)&&"__vccOpts"in e}const _t=(e,t)=>fu(e,t,xn);function Po(e,t,n){const r=arguments.length;return r===2?ie(t)&&!W(t)?Pn(t)?ue(e,null,[t]):ue(e,t):ue(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Pn(n)&&(n=[n]),ue(e,t,n))}const la="3.4.27";/**
|
|
15
|
+
* @vue/runtime-dom v3.4.27
|
|
16
16
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
17
17
|
* @license MIT
|
|
18
|
-
**/const Of="http://www.w3.org/2000/svg",If="http://www.w3.org/1998/Math/MathML",ht=typeof document<"u"?document:null,ni=ht&&ht.createElement("template"),xf={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"?ht.createElementNS(Of,e):t==="mathml"?ht.createElementNS(If,e):ht.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>ht.createTextNode(e),createComment:e=>ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{ni.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const l=ni.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},kf=Symbol("_vtc");function Nf(e,t,n){const r=e[kf];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ri=Symbol("_vod"),Df=Symbol("_vsh"),Mf=Symbol(""),Vf=/(^|;)\s*display\s*:/;function Bf(e,t,n){const r=e.style,o=ce(n);let s=!1;if(n&&!o){if(t)if(ce(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&tr(r,l,"")}else for(const i in t)n[i]==null&&tr(r,i,"");for(const i in n)i==="display"&&(s=!0),tr(r,i,n[i])}else if(o){if(t!==n){const i=r[Mf];i&&(n+=";"+i),r.cssText=n,s=Vf.test(n)}}else t&&e.removeAttribute("style");ri in e&&(e[ri]=s?r.display:"",e[Df]&&(r.display="none"))}const oi=/\s*!important$/;function tr(e,t,n){if(W(n))n.forEach(r=>tr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=jf(e,t);oi.test(n)?e.setProperty(sn(r),n.replace(oi,""),"important"):e[r]=n}}const si=["Webkit","Moz","ms"],Qr={};function jf(e,t){const n=Qr[t];if(n)return n;let r=Qe(t);if(r!=="filter"&&r in e)return Qr[t]=r;r=Ir(r);for(let o=0;o<si.length;o++){const s=si[o]+r;if(s in e)return Qr[t]=s}return t}const ii="http://www.w3.org/1999/xlink";function $f(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ii,t.slice(6,t.length)):e.setAttributeNS(ii,t,n);else{const s=Gc(t);n==null||s&&!tl(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function Hf(e,t,n,r,o,s,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,o,s),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const c=l==="OPTION"?e.getAttribute("value")||"":e.value,u=n??"";(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=tl(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function Ff(e,t,n,r){e.addEventListener(t,n,r)}function Uf(e,t,n,r){e.removeEventListener(t,n,r)}const li=Symbol("_vei");function Gf(e,t,n,r,o=null){const s=e[li]||(e[li]={}),i=s[t];if(r&&i)i.value=r;else{const[l,a]=Wf(t);if(r){const c=s[t]=zf(r,o);Ff(e,l,c,a)}else i&&(Uf(e,l,i,a),s[t]=void 0)}}const ai=/(?:Once|Passive|Capture)$/;function Wf(e){let t;if(ai.test(e)){t={};let r;for(;r=e.match(ai);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):sn(e.slice(2)),t]}let Zr=0;const qf=Promise.resolve(),Kf=()=>Zr||(qf.then(()=>Zr=0),Zr=Date.now());function zf(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;qe(Jf(r,n.value),t,5,[r])};return n.value=e,n.attached=Kf(),n}function Jf(e,t){if(W(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 ci=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Yf=(e,t,n,r,o,s,i,l,a)=>{const c=o==="svg";t==="class"?Nf(e,r,c):t==="style"?Bf(e,n,r):In(t)?Go(t)||Gf(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Xf(e,t,r,c))?Hf(e,t,r,s,i,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),$f(e,t,r,c))};function Xf(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&ci(t)&&G(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 ci(t)&&ce(n)?!1:t in e}const ua=ve({patchProp:Yf},xf);let yn,ui=!1;function Qf(){return yn||(yn=_f(ua))}function Zf(){return yn=ui?yn:gf(ua),ui=!0,yn}const ed=(...e)=>{const t=Qf().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=da(r);if(!o)return;const s=t._component;!G(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,fa(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},td=(...e)=>{const t=Zf().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=da(r);if(o)return n(o,!0,fa(o))},t};function fa(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function da(e){return ce(e)?document.querySelector(e):e}const nd=/"(?:_|\\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*:/,rd=/"(?: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*:/,od=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function sd(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){id(e);return}return t}function id(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function hr(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(!od.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(nd.test(e)||rd.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,sd)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const ld=/#/g,ad=/&/g,cd=/\//g,ud=/=/g,fs=/\+/g,fd=/%5e/gi,dd=/%60/gi,pd=/%7c/gi,hd=/%20/gi;function md(e){return encodeURI(""+e).replace(pd,"|")}function Ao(e){return md(typeof e=="string"?e:JSON.stringify(e)).replace(fs,"%2B").replace(hd,"+").replace(ld,"%23").replace(ad,"%26").replace(dd,"`").replace(fd,"^").replace(cd,"%2F")}function eo(e){return Ao(e).replace(ud,"%3D")}function mr(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function _d(e){return mr(e.replace(fs," "))}function gd(e){return mr(e.replace(fs," "))}function ds(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=_d(r[1]);if(o==="__proto__"||o==="constructor")continue;const s=gd(r[2]||"");t[o]===void 0?t[o]=s:Array.isArray(t[o])?t[o].push(s):t[o]=[t[o],s]}return t}function yd(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${eo(e)}=${Ao(n)}`).join("&"):`${eo(e)}=${Ao(t)}`:eo(e)}function pa(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>yd(t,e[t])).filter(Boolean).join("&")}const bd=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,vd=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Ed=/^([/\\]\s*){2,}[^/\\]/,wd=/^[\s\0]*(blob|data|javascript|vbscript):$/i,Rd=/\/$|\/\?|\/#/,Td=/^\.?\//;function Pd(e){return["./","../"].some(t=>e.startsWith(t))}function wt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?bd.test(e):vd.test(e)||(t.acceptRelative?Ed.test(e):!1)}function Ad(e){return!!e&&wd.test(e)}function Co(e="",t){return t?Rd.test(e):e.endsWith("/")}function Br(e="",t){if(!t)return(Co(e)?e.slice(0,-1):e)||"/";if(!Co(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),r=e.slice(o));const[s,...i]=n.split("?");return((s.endsWith("/")?s.slice(0,-1):s)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function _r(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Co(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[s,...i]=n.split("?");return s+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function Cd(e=""){return e.startsWith("/")}function fi(e=""){return Cd(e)?e:"/"+e}function Sd(e,t){if(ma(t)||wt(e))return e;const n=Br(t);return e.startsWith(n)?e:kn(n,e)}function Ld(e,t){if(ma(t))return e;const n=Br(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function ha(e,t){const n=an(e),r={...ds(n.search),...t};return n.search=pa(r),ya(n)}function ma(e){return!e||e==="/"}function Od(e){return e&&e!=="/"}function kn(e,...t){let n=e||"";for(const r of t.filter(o=>Od(o)))if(n){const o=r.replace(Td,"");n=_r(n)+o}else n=r;return n}function _a(...e){var i,l,a,c;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const u of n)if(!(!u||u==="/")){for(const[f,d]of u.split(t).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&wt(r[0]))continue;r.pop(),o--;continue}if(f===1&&((i=r[r.length-1])!=null&&i.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),o++}}let s=r.join("/");return o>=0?(l=n[0])!=null&&l.startsWith("/")&&!s.startsWith("/")?s="/"+s:(a=n[0])!=null&&a.startsWith("./")&&!s.startsWith("./")&&(s="./"+s):s="../".repeat(-1*o)+s,(c=n[n.length-1])!=null&&c.endsWith("/")&&!s.endsWith("/")&&(s+="/"),s}function Id(e,t,n={}){return n.trailingSlash||(e=_r(e),t=_r(t)),n.leadingSlash||(e=fi(e),t=fi(t)),n.encoding||(e=mr(e),t=mr(t)),e===t}const ga=Symbol.for("ufo:protocolRelative");function an(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!wt(e,{acceptRelative:!0}))return t?an(t+e):di(e);const[,r="",o,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",l=""]=s.match(/([^#/?]*)(.*)?/)||[],{pathname:a,search:c,hash:u}=di(l.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:a,search:c,hash:u,[ga]:!r}}function di(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function ya(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol||e[ga]?(e.protocol||"")+"//":"")+o+s+t+n+r}class xd extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function kd(e){var a,c,u,f,d;const t=((a=e.error)==null?void 0:a.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=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,s=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${o}: ${s}${t?` ${t}`:""}`,l=new xd(i,e.error?{cause:e.error}:void 0);for(const p of["request","options","response"])Object.defineProperty(l,p,{get(){return e[p]}});for(const[p,h]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,p,{get(){return e.response&&e.response[h]}});return l}const Nd=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function pi(e="GET"){return Nd.has(e.toUpperCase())}function Dd(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 Md=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Vd=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Bd(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Vd.test(t)?"json":Md.has(t)||t.startsWith("text/")?"text":"blob"}function jd(e,t,n=globalThis.Headers){const r={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(r.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(r.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){r.headers=new n((t==null?void 0:t.headers)||{});for(const[o,s]of new n((e==null?void 0:e.headers)||{}))r.headers.set(o,s)}return r}const $d=new Set([408,409,425,429,500,502,503,504]),Hd=new Set([101,204,205,304]);function ba(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(l){const a=l.error&&l.error.name==="AbortError"&&!l.options.timeout||!1;if(l.options.retry!==!1&&!a){let u;typeof l.options.retry=="number"?u=l.options.retry:u=pi(l.options.method)?0:1;const f=l.response&&l.response.status||500;if(u>0&&(Array.isArray(l.options.retryStatusCodes)?l.options.retryStatusCodes.includes(f):$d.has(f))){const d=l.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),s(l.request,{...l.options,retry:u-1})}}const c=kd(l);throw Error.captureStackTrace&&Error.captureStackTrace(c,s),c}const s=async function(a,c={}){var p;const u={request:a,options:jd(c,e.defaults,n),response:void 0,error:void 0};u.options.method=(p=u.options.method)==null?void 0:p.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Sd(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=ha(u.request,{...u.options.params,...u.options.query}))),u.options.body&&pi(u.options.method)&&(Dd(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 h=new r;f=setTimeout(()=>h.abort(),u.options.timeout),u.options.signal=h.signal}try{u.response=await t(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}finally{f&&clearTimeout(f)}if(u.response.body&&!Hd.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||Bd(u.response.headers.get("content-type")||"");switch(h){case"json":{const g=await u.response.text(),E=u.options.parseResponse||hr;u.response._data=E(g);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[h]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await o(u)):u.response},i=async function(a,c){return(await s(a,c))._data};return i.raw=s,i.native=(...l)=>t(...l),i.create=(l={})=>ba({...e,defaults:{...e.defaults,...l}}),i}const ps=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")}(),Fd=ps.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Ud=ps.Headers,Gd=ps.AbortController,Wd=ba({fetch:Fd,Headers:Ud,AbortController:Gd}),qd=Wd,Kd=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},gr=Kd().app,zd=()=>gr.baseURL,Jd=()=>gr.buildAssetsDir,hs=(...e)=>_a(va(),Jd(),...e),va=(...e)=>{const t=gr.cdnURL||gr.baseURL;return e.length?_a(t,...e):t};globalThis.__buildAssetsURL=hs,globalThis.__publicAssetsURL=va;globalThis.$fetch||(globalThis.$fetch=qd.create({baseURL:zd()}));function So(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?So(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const Yd={run:e=>e()},Xd=()=>Yd,Ea=typeof console.createTask<"u"?console.createTask:Xd;function Qd(e,t){const n=t.shift(),r=Ea(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function Zd(e,t){const n=t.shift(),r=Ea(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function to(e,t){for(const n of[...e])n(t)}class ep{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 s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let i=s.message;i||(i=`${o} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}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=(...s)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...s));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=So(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=So(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(Qd,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Zd,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&to(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&to(this._after,o)}):(this._after&&o&&to(this._after,o),s)}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 wa(){return new ep}function tp(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let o;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?o=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>{if(o&&t===void 0){const i=o.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=s();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>s(),set:(i,l)=>{l||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,l)=>{r(i),t=i;try{return o?o.run(i,l):l()}finally{n||(t=void 0)}},async callAsync(i,l){t=i;const a=()=>{t=i},c=()=>t===i?a:void 0;Lo.add(c);try{const u=o?o.run(i,l):l();return n||(t=void 0),await u}finally{Lo.delete(c)}}}}function np(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=tp({...e,...r})),t[n],t[n]}}}const yr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},hi="__unctx__",rp=yr[hi]||(yr[hi]=np()),op=(e,t={})=>rp.get(e,t),mi="__unctx_async_handlers__",Lo=yr[mi]||(yr[mi]=new Set);function Ra(e){const t=[];for(const o of Lo){const s=o();s&&t.push(s)}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 Ta=op("nuxt-app",{asyncContext:!1}),sp="__nuxt_plugin";function ip(e){let t=0;const n={_scope:Wc(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.11.2"},get vue(){return n.vueApp.version}},payload:Ze({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>cp(n,o)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=wa(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,s)=>{const i="$"+o;qn(n,i,s),qn(n.vueApp.config.globalProperties,i,s)},qn(n.vueApp,"$nuxt",n),qn(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",s=>{n.callHook("app:chunkError",{error:s.payload})}),window.useNuxtApp=window.useNuxtApp||fe;const o=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",o)}const r=n.payload.config;return n.provide("config",r),n}async function lp(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),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 ap(e,t){const n=[],r=[],o=[],s=[];let i=0;async function l(a){var u;const c=((u=a.dependsOn)==null?void 0:u.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(c.length>0)r.push([new Set(c),a]);else{const f=lp(e,a).then(async()=>{a._name&&(n.push(a._name),await Promise.all(r.map(async([d,p])=>{d.has(a._name)&&(d.delete(a._name),d.size===0&&(i++,await l(p)))})))});a.parallel?o.push(f.catch(d=>s.push(d))):await f}}for(const a of t)await l(a);if(await Promise.all(o),i)for(let a=0;a<i;a++)await Promise.all(o);if(s.length)throw s[0]}function lt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[sp]:!0,_name:t})}function cp(e,t,n){const r=()=>t();return Ta.set(e),e.vueApp.runWithContext(r)}function up(){var t;let e;return Fl()&&(e=(t=ia())==null?void 0:t.appContext.app.$nuxt),e=e||Ta.tryUse(),e||null}function fe(){const e=up();if(!e)throw new Error("[nuxt] instance unavailable");return e}function An(e){return fe().$config}function qn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function fp(e,t){return{ctx:{table:e},matchAll:n=>Aa(n,e)}}function Pa(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,Pa(o)])):new Map(Object.entries(e[n]));return t}function dp(e){return fp(Pa(e))}function Aa(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[s,i]of _i(t.wildcard))(e===s||e.startsWith(s+"/"))&&r.push(i);for(const[s,i]of _i(t.dynamic))if(e.startsWith(s+"/")){const l="/"+e.slice(s.length).split("/").splice(2).join("/");r.push(...Aa(l,i))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function _i(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function no(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 Oo(e,t,n=".",r){if(!no(t))return Oo(e,{},n,r);const o=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const i=e[s];i!=null&&(r&&r(o,s,i,n)||(Array.isArray(i)&&Array.isArray(o[s])?o[s]=[...i,...o[s]]:no(i)&&no(o[s])?o[s]=Oo(i,o[s],(n?`${n}.`:"")+s.toString(),r):o[s]=i))}return o}function Ca(e){return(...t)=>t.reduce((n,r)=>Oo(n,r,"",e),{})}const pp=Ca(),hp=Ca((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function mp(e,t){try{return t in e}catch{return!1}}var _p=Object.defineProperty,gp=(e,t,n)=>t in e?_p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ct=(e,t,n)=>(gp(e,typeof t!="symbol"?t+"":t,n),n);class Io extends Error{constructor(t,n={}){super(t,n),Ct(this,"statusCode",500),Ct(this,"fatal",!1),Ct(this,"unhandled",!1),Ct(this,"statusMessage"),Ct(this,"data"),Ct(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:xo(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Sa(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Ct(Io,"__h3_error__",!0);function yp(e){if(typeof e=="string")return new Io(e);if(bp(e))return e;const t=new Io(e.message??e.statusMessage??"",{cause:e.cause||e});if(mp(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=xo(e.statusCode,t.statusCode):e.status&&(t.statusCode=xo(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Sa(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 bp(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const vp=/[^\u0009\u0020-\u007E]/g;function Sa(e=""){return e.replace(vp,"")}function xo(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const La=Symbol("route"),Rt=()=>{var e;return(e=fe())==null?void 0:e.$router},Oa=()=>Fl()?Xt(La,fe()._route):fe()._route;const Ep=()=>{try{if(fe()._processingMiddleware)return!0}catch{return!1}return!1},Ia=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:ha(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){const{target:l="_blank",windowFeatures:a={}}=t.open,c=Object.entries(a).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");return open(n,l,c),Promise.resolve()}const r=(t==null?void 0:t.external)||wt(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const l=an(n).protocol;if(l&&Ad(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=Ep();if(!r&&o)return e;const s=Rt(),i=fe();return r?(i._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,o?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)},xa="__nuxt_error",ms=()=>wl(fe().payload,"error"),wp=e=>{const t=_s(e);try{const n=fe(),r=ms();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},Rp=async(e={})=>{const t=fe(),n=ms();t.callHook("app:error:cleared",e),e.redirect&&await Rt().replace(e.redirect),n.value=null},Tp=e=>!!e&&typeof e=="object"&&xa in e,_s=e=>{const t=yp(e);return Object.defineProperty(t,xa,{value:!0,configurable:!1,writable:!1}),t},Pp="modulepreload",Ap=function(e,t){return e[0]==="."?new URL(e,t).href:e},gi={},Cp=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),l=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.all(n.map(a=>{if(a=Ap(a,r),a in gi)return;gi[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let p=s.length-1;p>=0;p--){const h=s[p];if(h.href===a&&(!c||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":Pp,c||(d.as="script",d.crossOrigin=""),d.href=a,l&&d.setAttribute("nonce",l),document.head.appendChild(d),c)return new Promise((p,h)=>{d.addEventListener("load",p),d.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})}))}return o.then(()=>t()).catch(s=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s})},m=(...e)=>Cp(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Sp=-1,Lp=-2,Op=-3,Ip=-4,xp=-5,kp=-6;function Np(e,t){return Dp(JSON.parse(e),t)}function Dp(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(s,i=!1){if(s===Sp)return;if(s===Op)return NaN;if(s===Ip)return 1/0;if(s===xp)return-1/0;if(s===kp)return-0;if(i)throw new Error("Invalid input");if(s in r)return r[s];const l=n[s];if(!l||typeof l!="object")r[s]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const a=l[0],c=t==null?void 0:t[a];if(c)return r[s]=c(o(l[1]));switch(a){case"Date":r[s]=new Date(l[1]);break;case"Set":const u=new Set;r[s]=u;for(let p=1;p<l.length;p+=1)u.add(o(l[p]));break;case"Map":const f=new Map;r[s]=f;for(let p=1;p<l.length;p+=2)f.set(o(l[p]),o(l[p+1]));break;case"RegExp":r[s]=new RegExp(l[1],l[2]);break;case"Object":r[s]=Object(l[1]);break;case"BigInt":r[s]=BigInt(l[1]);break;case"null":const d=Object.create(null);r[s]=d;for(let p=1;p<l.length;p+=2)d[l[p]]=o(l[p+1]);break;default:throw new Error(`Unknown type ${a}`)}}else{const a=new Array(l.length);r[s]=a;for(let c=0;c<l.length;c+=1){const u=l[c];u!==Lp&&(a[c]=o(u))}}else{const a={};r[s]=a;for(const c in l){const u=l[c];a[c]=o(u)}}return r[s]}return o(0)}function Mp(e){return Array.isArray(e)?e:[e]}const Vp=["title","titleTemplate","script","style","noscript"],nr=["base","meta","link","style","script","noscript"],Bp=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],jp=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],ka=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],$p=typeof window<"u";function gs(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 yi(e){return e._h||gs(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Na(e,t){const{props:n,tag:r}=e;if(jp.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];r==="meta"&&o.push("name","property","http-equiv");for(const s of o)if(typeof n[s]<"u"){const i=String(n[s]);return`${r}:${s}:${i}`}return!1}function bi(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Hp(e,t,n){const r={tag:e,props:await Da(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return ka.forEach(o=>{const s=typeof r.props[o]<"u"?r.props[o]:n[o];typeof s<"u"&&((!["innerHTML","textContent","children"].includes(o)||Vp.includes(r.tag))&&(r[o==="children"?"innerHTML":o]=s),delete r.props[o])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function Fp(e,t){var r;const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,o])=>o).map(([o,s])=>e==="style"?`${o}:${s}`:o)),(r=Array.isArray(t)?t.join(n):t)==null?void 0:r.split(n).filter(o=>o.trim()).filter(Boolean).join(n)}async function Da(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=Fp(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!ka.includes(n)){const r=String(e[n]),o=n.startsWith("data-");r==="true"||r===""?e[n]=o?"true":!0:e[n]||(o&&r==="false"?e[n]="false":delete e[n])}}return e}const Up=10;async function Gp(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&Bp.includes(n)).forEach(([n,r])=>{const o=Mp(r);t.push(...o.map(s=>Hp(n,s,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<Up)+r,n))}const vi={base:-10,title:10},Ei={critical:-80,high:-10,low:20};function br(e){let t=100;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props["http-equiv"]==="content-security-policy"&&(t=-30),e.props.charset&&(t=-20),e.props.name==="viewport"&&(t=-15)):e.tag==="link"&&e.props.rel==="preconnect"?t=20:e.tag in vi&&(t=vi[e.tag]),typeof n=="string"&&n in Ei?t+Ei[n]:t)}const Wp=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],wi=["onload","onerror","onabort","onprogress","onloadstart"],ft="%separator";function rr(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function r(i){let l;return["s","pageTitle"].includes(i)?l=t.pageTitle:i.includes(".")?l=i.split(".").reduce((a,c)=>a&&a[c]||void 0,t):l=t[i],typeof l<"u"?(l||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const l=r(i.slice(1));typeof l=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(a,c)=>`${l}${c}`).trim())}),e.includes(ft)&&(e.endsWith(ft)&&(e=e.slice(0,-ft.length).trim()),e.startsWith(ft)&&(e=e.slice(ft.length).trim()),e=e.replace(new RegExp(`\\${ft}\\s*\\${ft}`,"g"),ft),e=rr(e,{separator:n},n)),e}async function qp(e,t={}){var u;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;const o=(await e.resolveTags()).map(f=>({tag:f,id:nr.includes(f.tag)?yi(f):f.tag,shouldRender:!0}));let s=e._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n[f])==null?void 0:u.children,p=[];for(const h of[...d].filter(g=>nr.includes(g.tagName.toLowerCase()))){const g={tag:h.tagName.toLowerCase(),props:await Da(h.getAttributeNames().reduce((P,v)=>({...P,[v]:h.getAttribute(v)}),{})),innerHTML:h.innerHTML};let E=1,w=Na(g);for(;w&&p.find(P=>P._d===w);)w=`${w}:${E++}`;g._d=w||void 0,p.push(g),s.elMap[h.getAttribute("data-hid")||yi(g)]=h}}}s.pendingSideEffects={...s.sideEffects||{}},s.sideEffects={};function i(f,d,p){const h=`${f}:${d}`;s.sideEffects[h]=p,delete s.pendingSideEffects[h]}function l({id:f,$el:d,tag:p}){const h=p.tag.endsWith("Attrs");s.elMap[f]=d,h||(["textContent","innerHTML"].forEach(g=>{p[g]&&p[g]!==d[g]&&(d[g]=p[g])}),i(f,"el",()=>{var g;(g=s.elMap[f])==null||g.remove(),delete s.elMap[f]}));for(const[g,E]of Object.entries(p._eventHandlers||{}))d.getAttribute(`data-${g}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:d).addEventListener(g.replace("on",""),E.bind(d)),d.setAttribute(`data-${g}`,""));Object.entries(p.props).forEach(([g,E])=>{const w=`attr:${g}`;if(g==="class")for(const P of(E||"").split(" ").filter(Boolean))h&&i(f,`${w}:${P}`,()=>d.classList.remove(P)),!d.classList.contains(P)&&d.classList.add(P);else if(g==="style")for(const P of(E||"").split(";").filter(Boolean)){const[v,...C]=P.split(":").map(T=>T.trim());i(f,`${w}:${P}:${v}`,()=>{d.style.removeProperty(v)}),d.style.setProperty(v,C.join(":"))}else d.getAttribute(g)!==E&&d.setAttribute(g,E===!0?"":String(E)),h&&i(f,w,()=>d.removeAttribute(g))})}const a=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:p,id:h}=f;if(p){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||s.elMap[h],f.$el?l(f):nr.includes(d.tag)&&a.push(f)}}for(const f of a){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),l(f),c[d]=c[d]||n.createDocumentFragment(),c[d].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,i);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose),Object.values(s.pendingSideEffects).forEach(f=>f()),e._dom=s,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function Kp(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await qp(e,t),delete e._domUpdatePromise,r()}))}function zp(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":function(s){Kp(s,e)}}}}}const Jp=["templateParams","htmlAttrs","bodyAttrs"],Yp={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=Na(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const o=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,s=t[o];if(s){let l=r==null?void 0:r.tagDuplicateStrategy;if(!l&&Jp.includes(r.tag)&&(l="merge"),l==="merge"){const a=s.props;["class","style"].forEach(c=>{a[c]&&(r.props[c]?(c==="style"&&!a[c].endsWith(";")&&(a[c]+=";"),r.props[c]=`${a[c]} ${r.props[c]}`):r.props[c]=a[c])}),t[o].props={...a,...r.props};return}else if(r._e===s._e){s._duped=s._duped||[],r._d=`${s._d}:${s._duped.length+1}`,s._duped.push(r);return}else if(br(r)>br(s))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(nr.includes(r.tag)&&i===0){delete t[o];return}t[o]=r});const n=[];Object.values(t).forEach(r=>{const o=r._duped;delete r._duped,n.push(r),o&&n.push(...o)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},Xp={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},Qp=["script","link","bodyAttrs"],Zp=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>Qp.includes(r.tag)))Object.entries(n.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"&&(e.ssr&&wi.includes(r)?n.props[r]=`this.dataset.${r}fired = true`:delete n.props[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=o)}),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||gs(n.props.src||n.props.href))},"dom:renderTag":function({$el:t,tag:n}){var r,o;for(const s of Object.keys((t==null?void 0:t.dataset)||{}).filter(i=>wi.some(l=>`${l}fired`===i))){const i=s.replace("fired","");(o=(r=n._eventHandlers)==null?void 0:r[i])==null||o.call(t,new Event(i.replace("on","")))}}}}),eh=["link","style","script","noscript"],th={hooks:{"tag:normalise":({tag:e})=>{e.key&&eh.includes(e.tag)&&(e.props["data-hid"]=e._h=gs(e.key))}}},nh={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(o=>o._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of Wp)for(const o of e.tags.filter(s=>typeof s.tagPriority=="string"&&s.tagPriority.startsWith(n))){const s=t(o.tagPriority.replace(n,""));typeof s<"u"&&(o._p=s+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>br(n)-br(r))}}},rh={meta:"content",link:"href",htmlAttrs:"lang"},oh=e=>({hooks:{"tags:resolve":t=>{var l;const{tags:n}=t,r=(l=n.find(a=>a.tag==="title"))==null?void 0:l.textContent,o=n.findIndex(a=>a.tag==="templateParams"),s=o!==-1?n[o].props:{},i=s.separator||"|";delete s.separator,s.pageTitle=rr(s.pageTitle||r||"",s,i);for(const a of n.filter(c=>c.processTemplateParams!==!1)){const c=rh[a.tag];c&&typeof a.props[c]=="string"?a.props[c]=rr(a.props[c],s,i):(a.processTemplateParams===!0||["titleTemplate","title"].includes(a.tag))&&["innerHTML","textContent"].forEach(u=>{typeof a[u]=="string"&&(a[u]=rr(a[u],s,i))})}e._templateParams=s,e._separator=i,t.tags=n.filter(a=>a.tag!=="templateParams")}}}),sh={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const r=t.findIndex(o=>o.tag==="title");if(r!==-1&&n!==-1){const o=bi(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=bi(t[n].textContent);o!==null&&(t[n].textContent=o,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},ih={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let Ma;function lh(e={}){const t=ah(e);return t.use(zp()),Ma=t}function Ri(e,t){return!e||e==="server"&&t||e==="client"&&!t}function ah(e={}){const t=wa();t.addHooks(e.hooks||{}),e.document=e.document||($p?document:void 0);const n=!e.document,r=()=>{l.dirty=!0,t.callHook("entries:updated",l)};let o=0,s=[];const i=[],l={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return s},use(a){const c=typeof a=="function"?a(l):a;(!c.key||!i.some(u=>u.key===c.key))&&(i.push(c),Ri(c.mode,n)&&t.addHooks(c.hooks||{}))},push(a,c){c==null||delete c.head;const u={_i:o++,input:a,...c};return Ri(u.mode,n)&&(s.push(u),r()),{dispose(){s=s.filter(f=>f._i!==u._i),t.callHook("entries:updated",l),r()},patch(f){s=s.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const a={tags:[],entries:[...s]};await t.callHook("entries:resolve",a);for(const c of a.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await Gp(c)){const d={tag:f,entry:c,resolvedOptions:l.resolvedOptions};await t.callHook("tag:normalise",d),a.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a),a.tags},ssr:n};return[Yp,Xp,Zp,th,nh,oh,sh,ih,...(e==null?void 0:e.plugins)||[]].forEach(a=>l.use(a)),l.hooks.callHook("init",l),l}function ch(){return Ma}const uh=ca.startsWith("3");function fh(e){return typeof e=="function"?e():se(e)}function ko(e,t=""){if(e instanceof Promise)return e;const n=fh(e);return!e||!n?n:Array.isArray(n)?n.map(r=>ko(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,se(o)]:[r,ko(o,r)])):n}const dh={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=ko(t.input)}}},Va="usehead";function ph(e){return{install(n){uh&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Va,e))}}.install}function hh(e={}){e.domDelayFn=e.domDelayFn||(n=>ns(()=>setTimeout(()=>n(),0)));const t=lh(e);return t.use(dh),t.install=ph(t),t}const No=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Do="__unhead_injection_handler__";function mh(e){No[Do]=e}function Oy(){if(Do in No)return No[Do]();const e=Xt(Va);return e||ch()}const _h={nuxt:{buildId:"eccf17f8-e9fe-407d-80ff-53638b160e43"}},gh=hp(_h);function Ba(){const e=fe();return e._appConfig||(e._appConfig=Ze(gh)),e._appConfig}const yh={componentName:"NuxtLink"},bh="#__nuxt";let or,ja;function vh(){var t;const e=(t=Ba().nuxt)==null?void 0:t.buildId;return or=$fetch(hs(`builds/meta/${e}.json`)),or.then(n=>{ja=dp(n.matcher)}),or}function jr(){return or||vh()}async function ys(e){return await jr(),pp({},...ja.matchAll(e).reverse())}function Ti(e,t={}){const n=wh(e,t),r=fe(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=Rh(e).then(s=>s?$a(n).then(i=>i||(delete o[n],null)):(o[n]=null,null))),o[n]}const Eh="_payload.json";function wh(e,t={}){var o;const n=new URL(e,"http://localhost");if(n.host!=="localhost"||wt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():(o=Ba().nuxt)==null?void 0:o.buildId);return kn(An().app.baseURL,n.pathname,Eh+(r?`?${r}`:""))}async function $a(e){const t=fetch(e).then(n=>n.text().then(Ha));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Rh(e=Oa().path){if(e=Br(e),(await jr()).prerendered.includes(e))return!0;const n=await ys(e);return!!n.prerender&&!n.redirect}let Kn=null;async function Th(){if(Kn)return Kn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Ha(e.textContent||""),n=e.dataset.src?await $a(e.dataset.src):void 0;return Kn={...t,...n,...window.__NUXT__},Kn}async function Ha(e){return await Np(e,fe()._payloadRevivers)}function Ph(e,t){fe()._payloadRevivers[e]=t}const Pi={NuxtError:e=>_s(e),EmptyShallowRef:e=>Bs(e==="_"?void 0:e==="0n"?BigInt(0):hr(e)),EmptyRef:e=>We(e==="_"?void 0:e==="0n"?BigInt(0):hr(e)),ShallowRef:e=>Bs(e),ShallowReactive:e=>ml(e),Ref:e=>We(e),Reactive:e=>Ze(e)},Ah=lt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Pi)Ph(r,Pi[r]);Object.assign(e.payload,([t,n]=Ra(()=>e.runWithContext(Th)),t=await t,n(),t)),window.__NUXT__=e.payload}}),ro=["base","meta","link","style","script","noscript"],Ch=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],Sh=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"];function Lh(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 Ai(e){return e._h||Lh(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Oh(e,t){const{props:n,tag:r}=e;if(Ch.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];r==="meta"&&o.push("name","property","http-equiv");for(const s of o)if(typeof n[s]<"u"){const i=String(n[s]);return`${r}:${s}:${i}`}return!1}function Ih(e,t){var r;const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,o])=>o).map(([o,s])=>e==="style"?`${o}:${s}`:o)),(r=Array.isArray(t)?t.join(n):t)==null?void 0:r.split(n).filter(o=>o.trim()).filter(Boolean).join(n)}async function xh(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=Ih(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!Sh.includes(n)){const r=String(e[n]),o=n.startsWith("data-");r==="true"||r===""?e[n]=o?"true":!0:e[n]||(o&&r==="false"?e[n]="false":delete e[n])}}return e}async function kh(e,t={}){var u;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;const o=(await e.resolveTags()).map(f=>({tag:f,id:ro.includes(f.tag)?Ai(f):f.tag,shouldRender:!0}));let s=e._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n[f])==null?void 0:u.children,p=[];for(const h of[...d].filter(g=>ro.includes(g.tagName.toLowerCase()))){const g={tag:h.tagName.toLowerCase(),props:await xh(h.getAttributeNames().reduce((P,v)=>({...P,[v]:h.getAttribute(v)}),{})),innerHTML:h.innerHTML};let E=1,w=Oh(g);for(;w&&p.find(P=>P._d===w);)w=`${w}:${E++}`;g._d=w||void 0,p.push(g),s.elMap[h.getAttribute("data-hid")||Ai(g)]=h}}}s.pendingSideEffects={...s.sideEffects||{}},s.sideEffects={};function i(f,d,p){const h=`${f}:${d}`;s.sideEffects[h]=p,delete s.pendingSideEffects[h]}function l({id:f,$el:d,tag:p}){const h=p.tag.endsWith("Attrs");s.elMap[f]=d,h||(["textContent","innerHTML"].forEach(g=>{p[g]&&p[g]!==d[g]&&(d[g]=p[g])}),i(f,"el",()=>{var g;(g=s.elMap[f])==null||g.remove(),delete s.elMap[f]}));for(const[g,E]of Object.entries(p._eventHandlers||{}))d.getAttribute(`data-${g}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:d).addEventListener(g.replace("on",""),E.bind(d)),d.setAttribute(`data-${g}`,""));Object.entries(p.props).forEach(([g,E])=>{const w=`attr:${g}`;if(g==="class")for(const P of(E||"").split(" ").filter(Boolean))h&&i(f,`${w}:${P}`,()=>d.classList.remove(P)),!d.classList.contains(P)&&d.classList.add(P);else if(g==="style")for(const P of(E||"").split(";").filter(Boolean)){const[v,...C]=P.split(":").map(T=>T.trim());i(f,`${w}:${P}:${v}`,()=>{d.style.removeProperty(v)}),d.style.setProperty(v,C.join(":"))}else d.getAttribute(g)!==E&&d.setAttribute(g,E===!0?"":String(E)),h&&i(f,w,()=>d.removeAttribute(g))})}const a=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:p,id:h}=f;if(p){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||s.elMap[h],f.$el?l(f):ro.includes(d.tag)&&a.push(f)}}for(const f of a){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),l(f),c[d]=c[d]||n.createDocumentFragment(),c[d].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,i);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose),Object.values(s.pendingSideEffects).forEach(f=>f()),e._dom=s,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}const Nh=[],Dh=lt({name:"nuxt:head",enforce:"pre",setup(e){const t=hh({plugins:Nh});mh(()=>fe().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await kh(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)}}}),Mh=async e=>{let t,n;const r=([t,n]=Ra(()=>ys(e.path)),t=await t,n(),t);if(r.redirect)return wt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},Vh=[Mh];function oo(e){typeof e=="object"&&(e=ya({pathname:e.path||"",search:pa(e.query||{}),hash:e.hash||""}));const t=an(e.toString());return{path:t.pathname,fullPath:e,query:ds(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const Bh=lt({name:"nuxt:router",enforce:"pre",setup(e){const t=Ld(window.location.pathname,An().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},o=(f,d)=>(r[f].push(d),()=>r[f].splice(r[f].indexOf(d),1)),s=An().app.baseURL,i=Ze(oo(t));async function l(f,d){try{const p=oo(f);for(const h of r["navigate:before"]){const g=await h(p,i);if(g===!1||g instanceof Error)return;if(typeof g=="string"&&g.length)return l(g,!0)}for(const h of r["resolve:before"])await h(p,i);Object.assign(i,p),window.history[d?"replaceState":"pushState"]({},"",kn(s,p.fullPath)),e.isHydrating||await e.runWithContext(Rp);for(const h of r["navigate:after"])await h(p,i)}catch(p){for(const h of r.error)await h(p)}}const c={currentRoute:_t(()=>i),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:f=>l(f,!1),replace:f=>l(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:oo,addRoute:(f,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:f=>n.some(d=>d.name===f),removeRoute:f=>{const d=n.findIndex(p=>p.name===f);d!==-1&&n.splice(d,1)}};e.vueApp.component("RouterLink",Bt({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:d})=>{const p=()=>l(f.to,f.replace);return()=>{var g;const h=c.resolve(f.to);return f.custom?(g=d.default)==null?void 0:g.call(d,{href:f.to,navigate:p,route:h}):Po("a",{href:f.to,onClick:E=>(E.preventDefault(),p())},d)}}})),window.addEventListener("popstate",f=>{const d=f.target.location;c.replace(d.href.replace(d.origin,""))}),e._route=i,e._middleware=e._middleware||{global:[],named:{}};const u=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(f,d)=>{f.meta=Ze(f.meta||{}),e.isHydrating&&u&&!en(f.meta.layout)&&(f.meta.layout=u),e._processingMiddleware=!0;{const p=new Set([...Vh,...e._middleware.global]);{const h=await e.runWithContext(()=>ys(f.path));if(h.appMiddleware)for(const g in h.appMiddleware){const E=e._middleware.named[g];if(!E)return;h.appMiddleware[g]?p.add(E):p.delete(E)}}for(const h of p){const g=await e.runWithContext(()=>h(f,d));if(g!==!0&&(g||g===!1))return g}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),Id(i.fullPath,t)||await e.runWithContext(()=>Ia(i.fullPath))}),{provide:{route:i,router:c}}}}),Mo=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),jh=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),bs=e=>{const t=fe();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Mo(e)}):Mo(e)},$h=lt({name:"nuxt:payload",setup(e){Rt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Ti(t.path);r&&Object.assign(e.static.data,r.data)}),bs(()=>{var t;e.hooks.hook("link:prefetch",async n=>{an(n).protocol||await Ti(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(jr,1e3)})}}),Hh=lt(e=>{let t;async function n(){const r=await jr();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);try{const o=await $fetch(hs("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}bs(()=>{t=setTimeout(n,1e3*60*60)})}),Fh=lt({name:"nuxt:global-components"}),Uh="$s";function Gh(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o=Uh+n,s=fe(),i=wl(s.payload.state,o);if(i.value===void 0&&r){const l=r();if(Te(l))return s.payload.state[o]=l,l;i.value=l}return i}const Wh="__NUXT_COLOR_MODE__",qh="nuxt-color-mode",nt=window[Wh]||{},Kh=lt(e=>{const t=Gh("color-mode",()=>Ze({preference:nt.preference,value:nt.value,unknown:!1,forced:!1})).value;Rt().afterEach(o=>{const s=o.meta.colorMode;s&&s!=="system"?(t.value=s,t.forced=!0):(s==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?nt.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=nt.getColorScheme())}))}mn(()=>t.preference,o=>{var s;t.forced||(o==="system"?(t.value=nt.getColorScheme(),r()):t.value=o,(s=window.localStorage)==null||s.setItem(qh,o))},{immediate:!0}),mn(()=>t.value,(o,s)=>{nt.removeColorScheme(s),nt.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=nt.preference,t.value=nt.value,t.unknown=!1)}),e.provide("colorMode",t)}),zh=lt(()=>{});function Jh(e={}){const t=e.path||window.location.pathname;let n={};try{n=hr(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:fe().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const Yh=lt({name:"nuxt:chunk-reload",setup(e){const t=Rt(),n=An(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)});function o(s){const l="href"in s&&s.href[0]==="#"?n.app.baseURL+s.href:kn(n.app.baseURL,s.fullPath);Jh({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((s,i)=>{r.has(s)&&o(i)})}}),Xh=[Ah,Dh,Bh,$h,Hh,Fh,Kh,zh,Yh],Qh=Bt({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(te(),Se("div",{class:Vt(["n-icon",t.icon])},null,2))}});async function Fa(e,t=Rt()){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(()=>Fa(e,t));t._routePreloaded.add(n);const s=r.map(i=>{var l;return(l=i.components)==null?void 0:l.default}).filter(i=>typeof i=="function");for(const i of s){const l=Promise.resolve(i()).catch(()=>{}).finally(()=>o.splice(o.indexOf(l)));o.push(l)}await Promise.all(o)}const Zh=(...e)=>e.find(t=>t!==void 0);function em(e){const t=e.componentName||"NuxtLink";function n(r,o){if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;if(typeof r=="string")return Ci(r,e.trailingSlash);const s="path"in r&&r.path!==void 0?r.path:o(r).path;return{...r,name:void 0,path:Ci(s,e.trailingSlash)}}return Bt({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},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}},setup(r,{slots:o}){const s=Rt(),i=An(),l=_t(()=>{const h=r.to||r.href||"";return n(h,s.resolve)}),a=_t(()=>typeof l.value=="string"&&wt(l.value,{acceptRelative:!0})),c=_t(()=>r.target&&r.target!=="_self"),u=_t(()=>r.external||c.value?!0:typeof l.value=="object"?!1:l.value===""||a.value),f=We(!1),d=We(null),p=h=>{var g;d.value=r.custom?(g=h==null?void 0:h.$el)==null?void 0:g.nextElementSibling:h==null?void 0:h.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!rm()){const g=fe();let E,w=null;Nl(()=>{const P=nm();bs(()=>{E=Mo(()=>{var v;(v=d==null?void 0:d.value)!=null&&v.tagName&&(w=P.observe(d.value,async()=>{w==null||w(),w=null;const C=typeof l.value=="string"?l.value:s.resolve(l.value).fullPath;await Promise.all([g.hooks.callHook("link:prefetch",C).catch(()=>{}),!u.value&&Fa(l.value,s).catch(()=>{})]),f.value=!0}))})})}),Dl(()=>{E&&jh(E),w==null||w(),w=null})}return()=>{var w,P;if(!u.value){const v={ref:p,to:l.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(f.value&&(v.class=r.prefetchedClass||e.prefetchedClass),v.rel=r.rel||void 0),Po(Iu("RouterLink"),v,o.default)}const h=typeof l.value=="object"?((w=s.resolve(l.value))==null?void 0:w.href)??null:l.value&&!r.external&&!a.value?n(kn(i.app.baseURL,l.value),s.resolve):l.value||null,g=r.target||null,E=Zh(r.noRel?"":r.rel,e.externalRelAttribute,a.value||c.value?"noopener noreferrer":"")||null;if(r.custom){if(!o.default)return null;const v=()=>Ia(h,{replace:r.replace,external:r.external});return o.default({href:h,navigate:v,get route(){if(!h)return;const C=an(h);return{path:C.pathname,fullPath:C.pathname,get query(){return ds(C.search)},hash:C.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:h}},rel:E,target:g,isExternal:u.value,isActive:!1,isExactActive:!1})}return Po("a",{ref:d,href:h,rel:E,target:g},(P=o.default)==null?void 0:P.call(o))}}})}const tm=em(yh);function Ci(e,t){const n=t==="append"?_r:Br;return wt(e)&&!e.startsWith("http")?e:n(e,!0)}function nm(){const e=fe();if(e._observer)return e._observer;let t=null;const n=new Map,r=(s,i)=>(t||(t=new IntersectionObserver(l=>{for(const a of l){const c=n.get(a.target);(a.isIntersecting||a.intersectionRatio>0)&&c&&c()}})),n.set(s,i),t.observe(s),()=>{n.delete(s),t.unobserve(s),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function rm(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const om=Bt({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(e){return(t,n)=>{const r=Qh;return te(),ke(Ll(t.to?se(tm):"button"),sa({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:Rn(()=>[Ws(t.$slots,"icon",{},()=>[t.icon?(te(),ke(r,{key:0,icon:t.icon,class:Vt({"n-button-icon":t.$slots.default})},null,8,["icon","class"])):At("",!0)]),Ws(t.$slots,"default")]),_:3},16,["to","class"])}}}),Ua=[{id:"abap",name:"ABAP",import:()=>m(()=>import("./DXFkqnOI.js"),[],import.meta.url)},{id:"actionscript-3",name:"ActionScript",import:()=>m(()=>import("./D6NljDpC.js"),[],import.meta.url)},{id:"ada",name:"Ada",import:()=>m(()=>import("./CowR2XfX.js"),[],import.meta.url)},{id:"angular-html",name:"Angular HTML",import:()=>m(()=>import("./DsudziMp.js").then(e=>e.e),__vite__mapDeps([0,1,2,3]),import.meta.url)},{id:"angular-ts",name:"Angular TypeScript",import:()=>m(()=>import("./B9E_xdxs.js"),__vite__mapDeps([4,0,1,2,3,5]),import.meta.url)},{id:"apache",name:"Apache Conf",import:()=>m(()=>import("./rS0jd3Ly.js"),[],import.meta.url)},{id:"apex",name:"Apex",import:()=>m(()=>import("./Sfo2eW0G.js"),[],import.meta.url)},{id:"apl",name:"APL",import:()=>m(()=>import("./DC4hdoM9.js"),__vite__mapDeps([6,1,2,3,7,8,9]),import.meta.url)},{id:"applescript",name:"AppleScript",import:()=>m(()=>import("./B4yE-MfL.js"),[],import.meta.url)},{id:"ara",name:"Ara",import:()=>m(()=>import("./CG4fK2Nq.js"),[],import.meta.url)},{id:"asm",name:"Assembly",import:()=>m(()=>import("./PWN5J14X.js"),[],import.meta.url)},{id:"astro",name:"Astro",import:()=>m(()=>import("./BXR915QZ.js"),__vite__mapDeps([10,9,2,11,12,13,3,5,14,15,16]),import.meta.url)},{id:"awk",name:"AWK",import:()=>m(()=>import("./i0IPvypD.js"),[],import.meta.url)},{id:"ballerina",name:"Ballerina",import:()=>m(()=>import("./T9ysyp6P.js"),[],import.meta.url)},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>m(()=>import("./BPiaQZfK.js"),[],import.meta.url)},{id:"beancount",name:"Beancount",import:()=>m(()=>import("./Urb1RsFe.js"),[],import.meta.url)},{id:"berry",name:"Berry",aliases:["be"],import:()=>m(()=>import("./CxrokwfH.js"),[],import.meta.url)},{id:"bibtex",name:"BibTeX",import:()=>m(()=>import("./BaedD2tq.js"),[],import.meta.url)},{id:"bicep",name:"Bicep",import:()=>m(()=>import("./3ghuYFLd.js"),[],import.meta.url)},{id:"blade",name:"Blade",import:()=>m(()=>import("./C1DVX8_8.js"),__vite__mapDeps([17,1,2,3,7,8,18,9]),import.meta.url)},{id:"c",name:"C",import:()=>m(()=>import("./RCJZWN-0.js"),[],import.meta.url)},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>m(()=>import("./Bgpqy2XC.js"),[],import.meta.url)},{id:"clarity",name:"Clarity",import:()=>m(()=>import("./CIekO_uJ.js"),[],import.meta.url)},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>m(()=>import("./BF6G6X0H.js"),[],import.meta.url)},{id:"cmake",name:"CMake",import:()=>m(()=>import("./DXZpi2gR.js"),[],import.meta.url)},{id:"cobol",name:"COBOL",import:()=>m(()=>import("./Cgl53LJQ.js"),__vite__mapDeps([19,18,1,2,3,8]),import.meta.url)},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>m(()=>import("./BOpLLL-w.js"),[],import.meta.url)},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>m(()=>import("./Bg0wAK5a.js"),__vite__mapDeps([20,2]),import.meta.url)},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>m(()=>import("./CX2EUjC8.js"),[],import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>m(()=>import("./BOnd8D4O.js"),__vite__mapDeps([21,22,23,18]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>m(()=>import("./B6bHXiXE.js"),__vite__mapDeps([24,1,2,3,18,23,25]),import.meta.url)},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>m(()=>import("./DISxKEhY.js"),[],import.meta.url)},{id:"css",name:"CSS",import:()=>m(()=>import("./CbYhyuC0.js"),[],import.meta.url)},{id:"csv",name:"CSV",import:()=>m(()=>import("./B2DkETJQ.js"),[],import.meta.url)},{id:"cue",name:"CUE",import:()=>m(()=>import("./C6Aznpr-.js"),[],import.meta.url)},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>m(()=>import("./ByMv4Xf1.js"),[],import.meta.url)},{id:"d",name:"D",import:()=>m(()=>import("./PifQWv0n.js"),[],import.meta.url)},{id:"dart",name:"Dart",import:()=>m(()=>import("./DZLoTQm4.js"),[],import.meta.url)},{id:"dax",name:"DAX",import:()=>m(()=>import("./DsfXcHUZ.js"),[],import.meta.url)},{id:"desktop",name:"Desktop",import:()=>m(()=>import("./D71BffLY.js"),[],import.meta.url)},{id:"diff",name:"Diff",import:()=>m(()=>import("./DvyTQcux.js"),[],import.meta.url)},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>m(()=>import("./DNR26wTC.js"),[],import.meta.url)},{id:"dream-maker",name:"Dream Maker",import:()=>m(()=>import("./Eh5U-gDp.js"),[],import.meta.url)},{id:"elixir",name:"Elixir",import:()=>m(()=>import("./BaNxgKSR.js"),__vite__mapDeps([26,1,2,3]),import.meta.url)},{id:"elm",name:"Elm",import:()=>m(()=>import("./RE3ujT-k.js"),__vite__mapDeps([27,22,23]),import.meta.url)},{id:"erb",name:"ERB",import:()=>m(()=>import("./ChMCFiS0.js"),__vite__mapDeps([28,1,2,3,29,7,8,18,23,25,30]),import.meta.url)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>m(()=>import("./DS9ZWoKD.js"),[],import.meta.url)},{id:"fennel",name:"Fennel",import:()=>m(()=>import("./C6XIsc4F.js"),[],import.meta.url)},{id:"fish",name:"Fish",import:()=>m(()=>import("./DfeQjIbs.js"),[],import.meta.url)},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>m(()=>import("./sQpxpyUs.js"),__vite__mapDeps([31,32]),import.meta.url)},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>m(()=>import("./D6pmzCqS.js"),[],import.meta.url)},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>m(()=>import("./Djqq6n-7.js"),__vite__mapDeps([33,34]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>m(()=>import("./NL97_oaV.js"),__vite__mapDeps([35,36,37]),import.meta.url)},{id:"gdscript",name:"GDScript",import:()=>m(()=>import("./CoEqzGFw.js"),[],import.meta.url)},{id:"gdshader",name:"GDShader",import:()=>m(()=>import("./B_SUYfiV.js"),[],import.meta.url)},{id:"gherkin",name:"Gherkin",import:()=>m(()=>import("./DjTlIhuc.js"),[],import.meta.url)},{id:"git-commit",name:"Git Commit Message",import:()=>m(()=>import("./DAVo6uMX.js"),__vite__mapDeps([38,39]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>m(()=>import("./JgH_6NEN.js"),__vite__mapDeps([40,25]),import.meta.url)},{id:"gleam",name:"Gleam",import:()=>m(()=>import("./Dz2Ca8U2.js"),[],import.meta.url)},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>m(()=>import("./Bbv8ARUV.js"),__vite__mapDeps([41,2,11,3,1]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>m(()=>import("./CQUCfALx.js"),__vite__mapDeps([42,11,3,2,1]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>m(()=>import("./DouzTJIq.js"),__vite__mapDeps([22,23]),import.meta.url)},{id:"gnuplot",name:"Gnuplot",import:()=>m(()=>import("./nclm9rTJ.js"),[],import.meta.url)},{id:"go",name:"Go",import:()=>m(()=>import("./BAMIS8DD.js"),[],import.meta.url)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>m(()=>import("./BN4LRXf6.js"),__vite__mapDeps([43,2,11,44,16]),import.meta.url)},{id:"groovy",name:"Groovy",import:()=>m(()=>import("./wChcbJ1V.js"),[],import.meta.url)},{id:"hack",name:"Hack",import:()=>m(()=>import("./BmCW-tYz.js"),__vite__mapDeps([45,1,2,3,18]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>m(()=>import("./G-Jz5hiA.js"),__vite__mapDeps([46,29,1,2,3,7,8,18,23,25,30,13,20,34]),import.meta.url)},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>m(()=>import("./DUdlC5k_.js"),__vite__mapDeps([47,1,2,3,48]),import.meta.url)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>m(()=>import("./DAGYewaG.js"),[],import.meta.url)},{id:"hcl",name:"HashiCorp HCL",import:()=>m(()=>import("./CudBhkk3.js"),[],import.meta.url)},{id:"hjson",name:"Hjson",import:()=>m(()=>import("./DZqG9GXz.js"),[],import.meta.url)},{id:"hlsl",name:"HLSL",import:()=>m(()=>import("./DmDrTTlz.js"),[],import.meta.url)},{id:"html",name:"HTML",import:()=>m(()=>import("./CbViG2Xw.js"),__vite__mapDeps([1,2,3]),import.meta.url)},{id:"html-derivative",name:"HTML (Derivative)",import:()=>m(()=>import("./BR6CMsBL.js"),__vite__mapDeps([49,1,2,3]),import.meta.url)},{id:"http",name:"HTTP",import:()=>m(()=>import("./CqYeW6XZ.js"),__vite__mapDeps([50,25,9,7,8,43,2,11,44,16]),import.meta.url)},{id:"hy",name:"Hy",import:()=>m(()=>import("./C3qJFuQy.js"),[],import.meta.url)},{id:"imba",name:"Imba",import:()=>m(()=>import("./DzwdaLuO.js"),__vite__mapDeps([51,11]),import.meta.url)},{id:"ini",name:"INI",aliases:["properties"],import:()=>m(()=>import("./DeVv6D4_.js"),[],import.meta.url)},{id:"java",name:"Java",import:()=>m(()=>import("./ClXEvkw9.js"),[],import.meta.url)},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>m(()=>import("./Dch3xQiY.js"),[],import.meta.url)},{id:"jinja",name:"Jinja",import:()=>m(()=>import("./D4LaosRr.js"),__vite__mapDeps([52,1,2,3]),import.meta.url)},{id:"jison",name:"Jison",import:()=>m(()=>import("./DY7_9Ga-.js"),__vite__mapDeps([53,2]),import.meta.url)},{id:"json",name:"JSON",import:()=>m(()=>import("./CupVZNk8.js"),[],import.meta.url)},{id:"json5",name:"JSON5",import:()=>m(()=>import("./Bh8mriwU.js"),[],import.meta.url)},{id:"jsonc",name:"JSON with Comments",import:()=>m(()=>import("./DYI1rfmx.js"),[],import.meta.url)},{id:"jsonl",name:"JSON Lines",import:()=>m(()=>import("./BUpeXbsf.js"),[],import.meta.url)},{id:"jsonnet",name:"Jsonnet",import:()=>m(()=>import("./C9d3aiqh.js"),[],import.meta.url)},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>m(()=>import("./Dble9ECP.js"),[],import.meta.url)},{id:"jsx",name:"JSX",import:()=>m(()=>import("./CsyrCbsw.js"),[],import.meta.url)},{id:"julia",name:"Julia",aliases:["jl"],import:()=>m(()=>import("./D_T9yQUo.js"),__vite__mapDeps([54,21,22,23,18,55,2,56]),import.meta.url)},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>m(()=>import("./BIxS-Weu.js"),[],import.meta.url)},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>m(()=>import("./DIr-ordK.js"),[],import.meta.url)},{id:"latex",name:"LaTeX",import:()=>m(()=>import("./o5b8QYQO.js"),__vite__mapDeps([57,58,56,25,3,59,60,1,2,8,54,21,22,23,18,55,30,29,7,61,11,48,62]),import.meta.url)},{id:"less",name:"Less",import:()=>m(()=>import("./Du6_OKDb.js"),[],import.meta.url)},{id:"liquid",name:"Liquid",import:()=>m(()=>import("./Dg0DGYq4.js"),__vite__mapDeps([63,1,2,3,9]),import.meta.url)},{id:"log",name:"Log file",import:()=>m(()=>import("./Ksn5IXup.js"),[],import.meta.url)},{id:"logo",name:"Logo",import:()=>m(()=>import("./DdacRhvC.js"),[],import.meta.url)},{id:"lua",name:"Lua",import:()=>m(()=>import("./BVGdgKAv.js"),__vite__mapDeps([30,23]),import.meta.url)},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>m(()=>import("./B9S9BZZh.js"),[],import.meta.url)},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>m(()=>import("./BdfWgkoX.js"),[],import.meta.url)},{id:"marko",name:"Marko",import:()=>m(()=>import("./DGDuLtS6.js"),__vite__mapDeps([64,3,14,5,2]),import.meta.url)},{id:"matlab",name:"MATLAB",import:()=>m(()=>import("./Btshr8M_.js"),[],import.meta.url)},{id:"mdc",name:"MDC",import:()=>m(()=>import("./CcYwH0AH.js"),__vite__mapDeps([65,34,48,49,1,2,3]),import.meta.url)},{id:"mdx",name:"MDX",import:()=>m(()=>import("./CBPJd_fO.js"),[],import.meta.url)},{id:"mermaid",name:"Mermaid",import:()=>m(()=>import("./Dkb1Nx48.js"),[],import.meta.url)},{id:"mojo",name:"Mojo",import:()=>m(()=>import("./-7WWnkdy.js"),[],import.meta.url)},{id:"move",name:"Move",import:()=>m(()=>import("./C9UBdavN.js"),[],import.meta.url)},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>m(()=>import("./B9CT-1u6.js"),[],import.meta.url)},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>m(()=>import("./DBxHOdLe.js"),[],import.meta.url)},{id:"nginx",name:"Nginx",import:()=>m(()=>import("./DR5YgmI2.js"),__vite__mapDeps([66,30,23]),import.meta.url)},{id:"nim",name:"Nim",import:()=>m(()=>import("./YdT6Gj0u.js"),__vite__mapDeps([67,23,1,2,3,7,8,22,34]),import.meta.url)},{id:"nix",name:"Nix",import:()=>m(()=>import("./Dszwcx0o.js"),[],import.meta.url)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>m(()=>import("./CrgTADc5.js"),[],import.meta.url)},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>m(()=>import("./DHmGyzbM.js"),[],import.meta.url)},{id:"objective-cpp",name:"Objective-C++",import:()=>m(()=>import("./BWKJ1FCf.js"),[],import.meta.url)},{id:"ocaml",name:"OCaml",import:()=>m(()=>import("./RqY_Nz63.js"),[],import.meta.url)},{id:"pascal",name:"Pascal",import:()=>m(()=>import("./B6ZnTe72.js"),[],import.meta.url)},{id:"perl",name:"Perl",import:()=>m(()=>import("./Dwo2i-71.js"),__vite__mapDeps([68,1,2,3,7,8,18]),import.meta.url)},{id:"php",name:"PHP",import:()=>m(()=>import("./Cthz8VOO.js"),__vite__mapDeps([69,1,2,3,7,8,18,9]),import.meta.url)},{id:"plsql",name:"PL/SQL",import:()=>m(()=>import("./BbJj1K1w.js"),[],import.meta.url)},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>m(()=>import("./HrnDn_2Q.js"),[],import.meta.url)},{id:"postcss",name:"PostCSS",import:()=>m(()=>import("./DXT9h7v2.js"),[],import.meta.url)},{id:"powerquery",name:"PowerQuery",import:()=>m(()=>import("./CApMHEaB.js"),[],import.meta.url)},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>m(()=>import("./9ZOzOPqN.js"),[],import.meta.url)},{id:"prisma",name:"Prisma",import:()=>m(()=>import("./BBJYjQ0k.js"),[],import.meta.url)},{id:"prolog",name:"Prolog",import:()=>m(()=>import("./BH_RS3WO.js"),[],import.meta.url)},{id:"proto",name:"Protocol Buffer 3",import:()=>m(()=>import("./DOtRmeXT.js"),[],import.meta.url)},{id:"pug",name:"Pug",aliases:["jade"],import:()=>m(()=>import("./DhFF74a2.js"),__vite__mapDeps([70,2,3,13,5,12,20,1]),import.meta.url)},{id:"puppet",name:"Puppet",import:()=>m(()=>import("./37ic6j3l.js"),[],import.meta.url)},{id:"purescript",name:"PureScript",import:()=>m(()=>import("./CfPQhs6g.js"),[],import.meta.url)},{id:"python",name:"Python",aliases:["py"],import:()=>m(()=>import("./DwuVtWc2.js"),[],import.meta.url)},{id:"r",name:"R",import:()=>m(()=>import("./BXfENWL6.js"),[],import.meta.url)},{id:"racket",name:"Racket",import:()=>m(()=>import("./B5NHDIr7.js"),[],import.meta.url)},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>m(()=>import("./D384ylkT.js"),[],import.meta.url)},{id:"razor",name:"ASP.NET Razor",import:()=>m(()=>import("./Lpdzc9s2.js"),__vite__mapDeps([71,1,2,3,72]),import.meta.url)},{id:"reg",name:"Windows Registry Script",import:()=>m(()=>import("./CrhH3_Og.js"),[],import.meta.url)},{id:"rel",name:"Rel",import:()=>m(()=>import("./6Kuza3Wr.js"),[],import.meta.url)},{id:"riscv",name:"RISC-V",import:()=>m(()=>import("./AgnqFTPX.js"),[],import.meta.url)},{id:"rst",name:"reStructuredText",import:()=>m(()=>import("./CHCTrc3a.js"),__vite__mapDeps([73,49,1,2,3,21,22,23,18,55,25,48,74,29,7,8,30]),import.meta.url)},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>m(()=>import("./CarfVElc.js"),__vite__mapDeps([29,1,2,3,7,8,18,23,25,30]),import.meta.url)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>m(()=>import("./DGxQkqYo.js"),[],import.meta.url)},{id:"sas",name:"SAS",import:()=>m(()=>import("./8t4jSAMm.js"),__vite__mapDeps([75,18]),import.meta.url)},{id:"sass",name:"Sass",import:()=>m(()=>import("./CMDmr8et.js"),[],import.meta.url)},{id:"scala",name:"Scala",import:()=>m(()=>import("./vMsNTMhM.js"),[],import.meta.url)},{id:"scheme",name:"Scheme",import:()=>m(()=>import("./1Je9_Reo.js"),[],import.meta.url)},{id:"scss",name:"SCSS",import:()=>m(()=>import("./BeX7Iu5M.js"),__vite__mapDeps([5,3]),import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>m(()=>import("./BiDE021q.js"),__vite__mapDeps([76,77]),import.meta.url)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>m(()=>import("./BZfs-ost.js"),[],import.meta.url)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>m(()=>import("./dIHJ9UdL.js"),__vite__mapDeps([78,25]),import.meta.url)},{id:"smalltalk",name:"Smalltalk",import:()=>m(()=>import("./DSsji4Hu.js"),[],import.meta.url)},{id:"solidity",name:"Solidity",import:()=>m(()=>import("./CThH5sBG.js"),[],import.meta.url)},{id:"sparql",name:"SPARQL",import:()=>m(()=>import("./DJZWsvj0.js"),__vite__mapDeps([79,80]),import.meta.url)},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>m(()=>import("./6XBPEST2.js"),[],import.meta.url)},{id:"sql",name:"SQL",import:()=>m(()=>import("./DbK06e1c.js"),[],import.meta.url)},{id:"ssh-config",name:"SSH Config",import:()=>m(()=>import("./BH1M7C1g.js"),[],import.meta.url)},{id:"stata",name:"Stata",import:()=>m(()=>import("./DLP9ZvWb.js"),__vite__mapDeps([81,18]),import.meta.url)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>m(()=>import("./DSrLtGYv.js"),[],import.meta.url)},{id:"svelte",name:"Svelte",import:()=>m(()=>import("./wKgfcFVx.js"),__vite__mapDeps([82,2,11,20,12,13,3,5,14,15,70,1,34]),import.meta.url)},{id:"swift",name:"Swift",import:()=>m(()=>import("./Dez-Qvcc.js"),[],import.meta.url)},{id:"system-verilog",name:"SystemVerilog",import:()=>m(()=>import("./BscxmKrE.js"),[],import.meta.url)},{id:"systemd",name:"Systemd Units",import:()=>m(()=>import("./CuJfdYLG.js"),[],import.meta.url)},{id:"tasl",name:"Tasl",import:()=>m(()=>import("./BxwAa5i0.js"),[],import.meta.url)},{id:"tcl",name:"Tcl",import:()=>m(()=>import("./C_8Fx7bH.js"),[],import.meta.url)},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>m(()=>import("./DBeuZS66.js"),[],import.meta.url)},{id:"tex",name:"TeX",import:()=>m(()=>import("./Db2-y2xY.js"),__vite__mapDeps([58,56]),import.meta.url)},{id:"toml",name:"TOML",import:()=>m(()=>import("./BT9ZzGyQ.js"),[],import.meta.url)},{id:"tsv",name:"TSV",import:()=>m(()=>import("./DnLUQrgA.js"),[],import.meta.url)},{id:"tsx",name:"TSX",import:()=>m(()=>import("./BlxWTfDV.js"),[],import.meta.url)},{id:"turtle",name:"Turtle",import:()=>m(()=>import("./C15OxdQ5.js"),[],import.meta.url)},{id:"twig",name:"Twig",import:()=>m(()=>import("./BacI6-DX.js"),__vite__mapDeps([83,3,2,5,69,1,7,8,18,9,55,29,23,25,30]),import.meta.url)},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>m(()=>import("./DC8MraHL.js"),[],import.meta.url)},{id:"typst",name:"Typst",aliases:["typ"],import:()=>m(()=>import("./I4qd5QHW.js"),[],import.meta.url)},{id:"v",name:"V",import:()=>m(()=>import("./C2TBxDwV.js"),[],import.meta.url)},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>m(()=>import("./beD-FUib.js"),[],import.meta.url)},{id:"verilog",name:"Verilog",import:()=>m(()=>import("./DVfdqzEq.js"),[],import.meta.url)},{id:"vhdl",name:"VHDL",import:()=>m(()=>import("./QZ3jNtnE.js"),[],import.meta.url)},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>m(()=>import("./BLluXI4E.js"),[],import.meta.url)},{id:"vue",name:"Vue",import:()=>m(()=>import("./DtT2Dbx_.js"),__vite__mapDeps([84,1,2,3,34,70,13,5,12,20,14,11,44,16,9,85,86,48,87,43,49]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>m(()=>import("./Di3qjVs2.js"),__vite__mapDeps([88,84,1,2,3,34,70,13,5,12,20,14,11,44,16,9,85,86,48,87,43,49]),import.meta.url)},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>m(()=>import("./o-cPXEvd.js"),[],import.meta.url)},{id:"wasm",name:"WebAssembly",import:()=>m(()=>import("./Cicx_DS6.js"),[],import.meta.url)},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>m(()=>import("./D3VXSfF0.js"),[],import.meta.url)},{id:"wgsl",name:"WGSL",import:()=>m(()=>import("./BZz1Hhek.js"),[],import.meta.url)},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>m(()=>import("./BICIrM8O.js"),[],import.meta.url)},{id:"xml",name:"XML",import:()=>m(()=>import("./CsYA0RN7.js"),__vite__mapDeps([7,8]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>m(()=>import("./CJQrLysU.js"),__vite__mapDeps([89,7,8]),import.meta.url)},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>m(()=>import("./C5gCGmDW.js"),[],import.meta.url)},{id:"zenscript",name:"ZenScript",import:()=>m(()=>import("./B1nm99XP.js"),[],import.meta.url)},{id:"zig",name:"Zig",import:()=>m(()=>import("./Bsp1M94H.js"),[],import.meta.url)}],sm=Object.fromEntries(Ua.map(e=>[e.id,e.import])),im=Object.fromEntries(Ua.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(n=>[n,e.import]))||[]})),lm={...sm,...im},am=async e=>m(()=>import("./CsTmP73Z.js"),[],import.meta.url).then(t=>t.default(e)),cm=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>m(()=>import("./YxQm0tCS.js"),[],import.meta.url)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>m(()=>import("./BaWyeHV_.js"),[],import.meta.url)},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>m(()=>import("./Bn5gmY5k.js"),[],import.meta.url)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>m(()=>import("./CSPeAESR.js"),[],import.meta.url)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>m(()=>import("./BYdKNJ10.js"),[],import.meta.url)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>m(()=>import("./DVLwECkk.js"),[],import.meta.url)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>m(()=>import("./CEfge3mM.js"),[],import.meta.url)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>m(()=>import("./KEYLhlmT.js"),[],import.meta.url)},{id:"dracula",displayName:"Dracula",type:"dark",import:()=>m(()=>import("./DGO8GyiP.js"),[],import.meta.url)},{id:"dracula-soft",displayName:"Dracula Soft",type:"dark",import:()=>m(()=>import("./9B1nZgL-.js"),[],import.meta.url)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>m(()=>import("./CzPA46E-.js"),[],import.meta.url)},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>m(()=>import("./BXF7Vm5l.js"),[],import.meta.url)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>m(()=>import("./CRDKj6ck.js"),[],import.meta.url)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>m(()=>import("./CRlnGVMD.js"),[],import.meta.url)},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>m(()=>import("./UREJT2Bw.js"),[],import.meta.url)},{id:"houston",displayName:"Houston",type:"dark",import:()=>m(()=>import("./CZZ6oYdA.js"),[],import.meta.url)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>m(()=>import("./BsvsQ1iS.js"),[],import.meta.url)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>m(()=>import("./B2BuIiKK.js"),[],import.meta.url)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>m(()=>import("./BrGg7AAd.js"),[],import.meta.url)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>m(()=>import("./DDRuGeQH.js"),[],import.meta.url)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>m(()=>import("./CBL0qBdF.js"),[],import.meta.url)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>m(()=>import("./D7gg1Usp.js"),[],import.meta.url)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>m(()=>import("./iSbrOpM4.js"),[],import.meta.url)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>m(()=>import("./BITGhEdf.js"),[],import.meta.url)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>m(()=>import("./sMI-pExk.js"),[],import.meta.url)},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>m(()=>import("./BeocmOPF.js"),[],import.meta.url)},{id:"nord",displayName:"Nord",type:"dark",import:()=>m(()=>import("./CsyjKwr8.js"),[],import.meta.url)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>m(()=>import("./BTtaZsq5.js"),[],import.meta.url)},{id:"one-light",displayName:"One Light",type:"light",import:()=>m(()=>import("./alpzPJ78.js"),[],import.meta.url)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>m(()=>import("./Cda-MJFk.js"),[],import.meta.url)},{id:"red",displayName:"Red",type:"dark",import:()=>m(()=>import("./jaXbsbtS.js"),[],import.meta.url)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>m(()=>import("./CX_FIdg1.js"),[],import.meta.url)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>m(()=>import("./Bj5xdiaE.js"),[],import.meta.url)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>m(()=>import("./CdedUr_-.js"),[],import.meta.url)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>m(()=>import("./C7oZ9nno.js"),[],import.meta.url)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>m(()=>import("./hXH8Gyq8.js"),[],import.meta.url)},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>m(()=>import("./CA9nliXM.js"),[],import.meta.url)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>m(()=>import("./C86elO-m.js"),[],import.meta.url)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>m(()=>import("./xPNGhBYe.js"),[],import.meta.url)},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>m(()=>import("./BBDuFDsq.js"),[],import.meta.url)},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>m(()=>import("./eJfcURhx.js"),[],import.meta.url)},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>m(()=>import("./BSB_bK09.js"),[],import.meta.url)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>m(()=>import("./CDJL3WWm.js"),[],import.meta.url)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>m(()=>import("./V_y36BGi.js"),[],import.meta.url)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>m(()=>import("./BGq4KZyx.js"),[],import.meta.url)}],um=Object.fromEntries(cm.map(e=>[e.id,e.import]));var Ge;(function(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"})(Ge||(Ge={}));var on;(function(e){function t(u){return u.toString(2).padStart(32,"0")}e.toBinaryStr=t;function n(u){const f=e.getLanguageId(u),d=e.getTokenType(u),p=e.getFontStyle(u),h=e.getForeground(u),g=e.getBackground(u);console.log({languageId:f,tokenType:d,fontStyle:p,foreground:h,background:g})}e.print=n;function r(u){return(u&255)>>>0}e.getLanguageId=r;function o(u){return(u&768)>>>8}e.getTokenType=o;function s(u){return(u&1024)!==0}e.containsBalancedBrackets=s;function i(u){return(u&30720)>>>11}e.getFontStyle=i;function l(u){return(u&16744448)>>>15}e.getForeground=l;function a(u){return(u&4278190080)>>>24}e.getBackground=a;function c(u,f,d,p,h,g,E){let w=e.getLanguageId(u),P=e.getTokenType(u),v=e.containsBalancedBrackets(u)?1:0,C=e.getFontStyle(u),T=e.getForeground(u),A=e.getBackground(u);return f!==0&&(w=f),d!==8&&(P=d),p!==null&&(v=p?1:0),h!==-1&&(C=h),g!==0&&(T=g),E!==0&&(A=E),(w<<0|P<<8|v<<10|C<<11|T<<15|A<<24)>>>0}e.set=c})(on||(on={}));function vr(e,t){const n=[],r=fm(e);let o=r.next();for(;o!==null;){let a=0;if(o.length===2&&o.charAt(1)===":"){switch(o.charAt(0)){case"R":a=1;break;case"L":a=-1;break;default:console.log(`Unknown priority ${o} in scope selector`)}o=r.next()}let c=i();if(n.push({matcher:c,priority:a}),o!==",")break;o=r.next()}return n;function s(){if(o==="-"){o=r.next();const a=s();return c=>!!a&&!a(c)}if(o==="("){o=r.next();const a=l();return o===")"&&(o=r.next()),a}if(Si(o)){const a=[];do a.push(o),o=r.next();while(Si(o));return c=>t(a,c)}return null}function i(){const a=[];let c=s();for(;c;)a.push(c),c=s();return u=>a.every(f=>f(u))}function l(){const a=[];let c=i();for(;c&&(a.push(c),o==="|"||o===",");){do o=r.next();while(o==="|"||o===",");c=i()}return u=>a.some(f=>f(u))}}function Si(e){return!!e&&!!e.match(/[\w\.:]+/)}function fm(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 Ga(e){typeof e.dispose=="function"&&e.dispose()}function dm(e){return vs(e)}function vs(e){return Array.isArray(e)?pm(e):typeof e=="object"?hm(e):e}function pm(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=vs(e[n]);return t}function hm(e){let t={};for(let n in e)t[n]=vs(e[n]);return t}function Wa(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function qa(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?qa(e.substring(0,e.length-1)):e.substr(~t+1)}let so=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class zn{static hasCaptures(t){return t===null?!1:(so.lastIndex=0,so.test(t))}static replaceCaptures(t,n,r){return t.replace(so,(o,s,i,l)=>{let a=r[parseInt(s||i,10)];if(a){let c=n.substring(a.start,a.end);for(;c[0]===".";)c=c.substring(1);switch(l){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return o})}}function Ka(e,t){return e<t?-1:e>t?1:0}function za(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 s=Ka(e[o],t[o]);if(s!==0)return s}return 0}return n-r}function Li(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 Ja(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class Ya{constructor(t){y(this,"fn");y(this,"cache",new Map);this.fn=t}get(t){if(this.cache.has(t))return this.cache.get(t);const n=this.fn(t);return this.cache.set(t,n),n}}class Cn{constructor(t){y(this,"scopeName");this.scopeName=t}toKey(){return this.scopeName}}class mm{constructor(t,n){y(this,"scopeName");y(this,"ruleName");this.scopeName=t,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class _m{constructor(){y(this,"_references",[]);y(this,"_seenReferenceKeys",new Set);y(this,"visitedRule",new Set)}get references(){return this._references}add(t){const n=t.toKey();this._seenReferenceKeys.has(n)||(this._seenReferenceKeys.add(n),this._references.push(t))}}class gm{constructor(t,n){y(this,"repo");y(this,"initialScopeName");y(this,"seenFullScopeRequests",new Set);y(this,"seenPartialScopeRequests",new Set);y(this,"Q");this.repo=t,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Cn(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const n=new _m;for(const r of t)ym(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof Cn){if(this.seenFullScopeRequests.has(r.scopeName))continue;this.seenFullScopeRequests.add(r.scopeName),this.Q.push(r)}else{if(this.seenFullScopeRequests.has(r.scopeName)||this.seenPartialScopeRequests.has(r.toKey()))continue;this.seenPartialScopeRequests.add(r.toKey()),this.Q.push(r)}}}function ym(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 s=n.lookup(t);e instanceof Cn?sr({baseGrammar:s,selfGrammar:o},r):Vo(e.ruleName,{baseGrammar:s,selfGrammar:o,repository:o.repository},r);const i=n.injections(e.scopeName);if(i)for(const l of i)r.add(new Cn(l))}function Vo(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];Er([r],t,n)}}function sr(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&Er(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&Er(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function Er(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?Wa({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&Er(r.patterns,{...t,repository:o},n);const s=r.include;if(!s)continue;const i=Xa(s);switch(i.kind){case 0:sr({...t,selfGrammar:t.baseGrammar},n);break;case 1:sr(t,n);break;case 2:Vo(i.ruleName,{...t,repository:o},n);break;case 3:case 4:const l=i.scopeName===t.selfGrammar.scopeName?t.selfGrammar:i.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(l){const a={baseGrammar:t.baseGrammar,selfGrammar:l,repository:o};i.kind===4?Vo(i.ruleName,a,n):sr(a,n)}else i.kind===4?n.add(new mm(i.scopeName,i.ruleName)):n.add(new Cn(i.scopeName));break}}}class bm{constructor(){y(this,"kind",0)}}class vm{constructor(){y(this,"kind",1)}}class Em{constructor(t){y(this,"ruleName");y(this,"kind",2);this.ruleName=t}}class wm{constructor(t){y(this,"scopeName");y(this,"kind",3);this.scopeName=t}}class Rm{constructor(t,n){y(this,"scopeName");y(this,"ruleName");y(this,"kind",4);this.scopeName=t,this.ruleName=n}}function Xa(e){if(e==="$base")return new bm;if(e==="$self")return new vm;const t=e.indexOf("#");if(t===-1)return new wm(e);if(t===0)return new Em(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new Rm(n,r)}}const Tm=/\\(\d+)/,Oi=/\\(\d+)/g,Pm=-1,Qa=-2;class Nn{constructor(t,n,r,o){y(this,"$location");y(this,"id");y(this,"_nameIsCapturing");y(this,"_name");y(this,"_contentNameIsCapturing");y(this,"_contentName");this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=zn.hasCaptures(this._name),this._contentName=o||null,this._contentNameIsCapturing=zn.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${qa(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,n){return!this._nameIsCapturing||this._name===null||t===null||n===null?this._name:zn.replaceCaptures(this._name,t,n)}getContentName(t,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:zn.replaceCaptures(this._contentName,t,n)}}class Am extends Nn{constructor(n,r,o,s,i){super(n,r,o,s);y(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=i}dispose(){}collectPatterns(n,r){throw new Error("Not supported!")}compile(n,r){throw new Error("Not supported!")}compileAG(n,r,o,s){throw new Error("Not supported!")}}class Cm extends Nn{constructor(n,r,o,s,i){super(n,r,o,null);y(this,"_match");y(this,"captures");y(this,"_cachedCompiledPatterns");this._match=new Dt(s,this.id),this.captures=i,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,r){r.push(this._match)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,s){return this._getCachedCompiledPatterns(n).compileAG(n,o,s)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Sn,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Ii extends Nn{constructor(n,r,o,s,i){super(n,r,o,s);y(this,"hasMissingPatterns");y(this,"patterns");y(this,"_cachedCompiledPatterns");this.patterns=i.patterns,this.hasMissingPatterns=i.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,r){for(const o of this.patterns)n.getRule(o).collectPatterns(n,r)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,s){return this._getCachedCompiledPatterns(n).compileAG(n,o,s)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Sn,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Bo extends Nn{constructor(n,r,o,s,i,l,a,c,u,f){super(n,r,o,s);y(this,"_begin");y(this,"beginCaptures");y(this,"_end");y(this,"endHasBackReferences");y(this,"endCaptures");y(this,"applyEndPatternLast");y(this,"hasMissingPatterns");y(this,"patterns");y(this,"_cachedCompiledPatterns");this._begin=new Dt(i,this.id),this.beginCaptures=l,this._end=new Dt(a||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=c,this.applyEndPatternLast=u||!1,this.patterns=f.patterns,this.hasMissingPatterns=f.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(n,r){return this._end.resolveBackReferences(n,r)}collectPatterns(n,r){r.push(this._begin)}compile(n,r){return this._getCachedCompiledPatterns(n,r).compile(n)}compileAG(n,r,o,s){return this._getCachedCompiledPatterns(n,r).compileAG(n,o,s)}_getCachedCompiledPatterns(n,r){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Sn;for(const o of this.patterns)n.getRule(o).collectPatterns(n,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,r):this._cachedCompiledPatterns.setSource(0,r)),this._cachedCompiledPatterns}}class wr extends Nn{constructor(n,r,o,s,i,l,a,c,u){super(n,r,o,s);y(this,"_begin");y(this,"beginCaptures");y(this,"whileCaptures");y(this,"_while");y(this,"whileHasBackReferences");y(this,"hasMissingPatterns");y(this,"patterns");y(this,"_cachedCompiledPatterns");y(this,"_cachedCompiledWhilePatterns");this._begin=new Dt(i,this.id),this.beginCaptures=l,this.whileCaptures=c,this._while=new Dt(a,Qa),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=u.patterns,this.hasMissingPatterns=u.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(n,r){return this._while.resolveBackReferences(n,r)}collectPatterns(n,r){r.push(this._begin)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,s){return this._getCachedCompiledPatterns(n).compileAG(n,o,s)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Sn;for(const r of this.patterns)n.getRule(r).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,r){return this._getCachedCompiledWhilePatterns(n,r).compile(n)}compileWhileAG(n,r,o,s){return this._getCachedCompiledWhilePatterns(n,r).compileAG(n,o,s)}_getCachedCompiledWhilePatterns(n,r){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Sn,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,r||""),this._cachedCompiledWhilePatterns}}class ye{static createCaptureRule(t,n,r,o,s){return t.registerRule(i=>new Am(n,i,r,o,s))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(o=>{if(t.id=o,t.match)return new Cm(t.$vscodeTextmateLocation,t.id,t.name,t.match,ye._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=Wa({},r,t.repository));let s=t.patterns;return typeof s>"u"&&t.include&&(s=[{include:t.include}]),new Ii(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,ye._compilePatterns(s,n,r))}return t.while?new wr(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,ye._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,ye._compileCaptures(t.whileCaptures||t.captures,n,r),ye._compilePatterns(t.patterns,n,r)):new Bo(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,ye._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,ye._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,ye._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let o=[];if(t){let s=0;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const l=parseInt(i,10);l>s&&(s=l)}for(let i=0;i<=s;i++)o[i]=null;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const l=parseInt(i,10);let a=0;t[i].patterns&&(a=ye.getCompiledRuleId(t[i],n,r)),o[l]=ye.createCaptureRule(n,t[i].$vscodeTextmateLocation,t[i].name,t[i].contentName,a)}}return o}static _compilePatterns(t,n,r){let o=[];if(t)for(let s=0,i=t.length;s<i;s++){const l=t[s];let a=-1;if(l.include){const c=Xa(l.include);switch(c.kind){case 0:case 1:a=ye.getCompiledRuleId(r[l.include],n,r);break;case 2:let u=r[c.ruleName];u&&(a=ye.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,d=c.kind===4?c.ruleName:null,p=n.getExternalGrammar(f,r);if(p)if(d){let h=p.repository[d];h&&(a=ye.getCompiledRuleId(h,n,p.repository))}else a=ye.getCompiledRuleId(p.repository.$self,n,p.repository);break}}else a=ye.getCompiledRuleId(l,n,r);if(a!==-1){const c=n.getRule(a);let u=!1;if((c instanceof Ii||c instanceof Bo||c instanceof wr)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;o.push(a)}}return{patterns:o,hasMissingPatterns:(t?t.length:0)!==o.length}}}class Dt{constructor(t,n){y(this,"source");y(this,"ruleId");y(this,"hasAnchor");y(this,"hasBackReferences");y(this,"_anchorCache");if(t){const r=t.length;let o=0,s=[],i=!1;for(let l=0;l<r;l++)if(t.charAt(l)==="\\"&&l+1<r){const c=t.charAt(l+1);c==="z"?(s.push(t.substring(o,l)),s.push("$(?!\\n)(?<!\\n)"),o=l+2):(c==="A"||c==="G")&&(i=!0),l++}this.hasAnchor=i,o===0?this.source=t:(s.push(t.substring(o,r)),this.source=s.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,this.hasBackReferences=Tm.test(this.source)}clone(){return new Dt(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 Oi.lastIndex=0,this.source.replace(Oi,(o,s)=>Ja(r[parseInt(s,10)]||""))}_buildAnchorCache(){let t=[],n=[],r=[],o=[],s,i,l,a;for(s=0,i=this.source.length;s<i;s++)l=this.source.charAt(s),t[s]=l,n[s]=l,r[s]=l,o[s]=l,l==="\\"&&s+1<i&&(a=this.source.charAt(s+1),a==="A"?(t[s+1]="",n[s+1]="",r[s+1]="A",o[s+1]="A"):a==="G"?(t[s+1]="",n[s+1]="G",r[s+1]="",o[s+1]="G"):(t[s+1]=a,n[s+1]=a,r[s+1]=a,o[s+1]=a),s++);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}}class Sn{constructor(){y(this,"_items");y(this,"_hasAnchors");y(this,"_cached");y(this,"_anchorCache");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(t){this._items.push(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}unshift(t){this._items.unshift(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}length(){return this._items.length}setSource(t,n){this._items[t].source!==n&&(this._disposeCaches(),this._items[t].setSource(n))}compile(t){if(!this._cached){let n=this._items.map(r=>r.source);this._cached=new xi(t,n,this._items.map(r=>r.ruleId))}return this._cached}compileAG(t,n,r){return this._hasAnchors?n?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,n,r){let o=this._items.map(s=>s.resolveAnchors(n,r));return new xi(t,o,this._items.map(s=>s.ruleId))}}class xi{constructor(t,n,r){y(this,"regExps");y(this,"rules");y(this,"scanner");this.regExps=n,this.rules=r,this.scanner=t.createOnigScanner(n)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let n=0,r=this.rules.length;n<r;n++)t.push(" - "+this.rules[n]+": "+this.regExps[n]);return t.join(`
|
|
19
|
-
`)}findNextMatchSync(t,n,r){const o=this.scanner.findNextMatchSync(t,n,r);return o?{ruleId:this.rules[o.index],captureIndices:o.captureIndices}:null}}class Rr{constructor(t,n,r){y(this,"_colorMap");y(this,"_defaults");y(this,"_root");y(this,"_cachedMatchRoot",new Ya(t=>this._root.match(t)));this._colorMap=t,this._defaults=n,this._root=r}static createFromRawTheme(t,n){return this.createFromParsedTheme(Om(t),n)}static createFromParsedTheme(t,n){return xm(t,n)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const n=t.scopeName,o=this._cachedMatchRoot.get(n).find(s=>Sm(t.parent,s.parentScopes));return o?new Za(o.fontStyle,o.foreground,o.background):null}}class kt{constructor(t,n){y(this,"parent");y(this,"scopeName");this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new kt(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new kt(n,t[r]);return n}push(t){return new kt(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 Sm(e,t){if(t===null)return!0;let n=0,r=t[n];for(;e;){if(Lm(e.scopeName,r)){if(n++,n===t.length)return!0;r=t[n]}e=e.parent}return!1}function Lm(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}class Za{constructor(t,n,r){y(this,"fontStyle");y(this,"foregroundId");y(this,"backgroundId");this.fontStyle=t,this.foregroundId=n,this.backgroundId=r}}function Om(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let o=0,s=t.length;o<s;o++){let i=t[o];if(!i.settings)continue;let l;if(typeof i.scope=="string"){let f=i.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),l=f.split(",")}else Array.isArray(i.scope)?l=i.scope:l=[""];let a=-1;if(typeof i.settings.fontStyle=="string"){a=0;let f=i.settings.fontStyle.split(" ");for(let d=0,p=f.length;d<p;d++)switch(f[d]){case"italic":a=a|1;break;case"bold":a=a|2;break;case"underline":a=a|4;break;case"strikethrough":a=a|8;break}}let c=null;typeof i.settings.foreground=="string"&&Li(i.settings.foreground)&&(c=i.settings.foreground);let u=null;typeof i.settings.background=="string"&&Li(i.settings.background)&&(u=i.settings.background);for(let f=0,d=l.length;f<d;f++){let h=l[f].trim().split(" "),g=h[h.length-1],E=null;h.length>1&&(E=h.slice(0,h.length-1),E.reverse()),n[r++]=new Im(g,E,o,a,c,u)}}return n}class Im{constructor(t,n,r,o,s,i){y(this,"scope");y(this,"parentScopes");y(this,"index");y(this,"fontStyle");y(this,"foreground");y(this,"background");this.scope=t,this.parentScopes=n,this.index=r,this.fontStyle=o,this.foreground=s,this.background=i}}function xm(e,t){e.sort((a,c)=>{let u=Ka(a.scope,c.scope);return u!==0||(u=za(a.parentScopes,c.parentScopes),u!==0)?u:a.index-c.index});let n=0,r="#000000",o="#ffffff";for(;e.length>=1&&e[0].scope==="";){let a=e.shift();a.fontStyle!==-1&&(n=a.fontStyle),a.foreground!==null&&(r=a.foreground),a.background!==null&&(o=a.background)}let s=new km(t),i=new Za(n,s.getId(r),s.getId(o)),l=new bn(new Ln(0,null,-1,0,0),[]);for(let a=0,c=e.length;a<c;a++){let u=e[a];l.insert(0,u.scope,u.parentScopes,u.fontStyle,s.getId(u.foreground),s.getId(u.background))}return new Rr(s,i,l)}class km{constructor(t){y(this,"_isFrozen");y(this,"_lastColorId");y(this,"_id2color");y(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(t)){this._isFrozen=!0;for(let n=0,r=t.length;n<r;n++)this._color2id[t[n]]=n,this._id2color[n]=t[n]}else this._isFrozen=!1}getId(t){if(t===null)return 0;t=t.toUpperCase();let n=this._color2id[t];if(n)return n;if(this._isFrozen)throw new Error(`Missing color in color map - ${t}`);return n=++this._lastColorId,this._color2id[t]=n,this._id2color[n]=t,n}getColorMap(){return this._id2color.slice(0)}}class Ln{constructor(t,n,r,o,s){y(this,"scopeDepth");y(this,"parentScopes");y(this,"fontStyle");y(this,"foreground");y(this,"background");this.scopeDepth=t,this.parentScopes=n,this.fontStyle=r,this.foreground=o,this.background=s}clone(){return new Ln(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)}}class bn{constructor(t,n=[],r={}){y(this,"_mainRule");y(this,"_children");y(this,"_rulesWithParentScopes");this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _sortBySpecificity(t){return t.length===1||t.sort(this._cmpBySpecificity),t}static _cmpBySpecificity(t,n){if(t.scopeDepth===n.scopeDepth){const r=t.parentScopes,o=n.parentScopes;let s=r===null?0:r.length,i=o===null?0:o.length;if(s===i)for(let l=0;l<s;l++){const a=r[l].length,c=o[l].length;if(a!==c)return c-a}return i-s}return n.scopeDepth-t.scopeDepth}match(t){if(t==="")return bn._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let n=t.indexOf("."),r,o;return n===-1?(r=t,o=""):(r=t.substring(0,n),o=t.substring(n+1)),this._children.hasOwnProperty(r)?this._children[r].match(o):bn._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(t,n,r,o,s,i){if(n===""){this._doInsertHere(t,r,o,s,i);return}let l=n.indexOf("."),a,c;l===-1?(a=n,c=""):(a=n.substring(0,l),c=n.substring(l+1));let u;this._children.hasOwnProperty(a)?u=this._children[a]:(u=new bn(this._mainRule.clone(),Ln.cloneArr(this._rulesWithParentScopes)),this._children[a]=u),u.insert(t+1,c,r,o,s,i)}_doInsertHere(t,n,r,o,s){if(n===null){this._mainRule.acceptOverwrite(t,r,o,s);return}for(let i=0,l=this._rulesWithParentScopes.length;i<l;i++){let a=this._rulesWithParentScopes[i];if(za(a.parentScopes,n)===0){a.acceptOverwrite(t,r,o,s);return}}r===-1&&(r=this._mainRule.fontStyle),o===0&&(o=this._mainRule.foreground),s===0&&(s=this._mainRule.background),this._rulesWithParentScopes.push(new Ln(t,n,r,o,s))}}class io{constructor(t,n){y(this,"languageId");y(this,"tokenType");this.languageId=t,this.tokenType=n}}const Ut=class Ut{constructor(t,n){y(this,"_defaultAttributes");y(this,"_embeddedLanguagesMatcher");y(this,"_getBasicScopeAttributes",new Ya(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new io(n,r)}));this._defaultAttributes=new io(t,8),this._embeddedLanguagesMatcher=new Nm(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?Ut._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(Ut.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!")}};y(Ut,"_NULL_SCOPE_METADATA",new io(0,0)),y(Ut,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/);let jo=Ut;class Nm{constructor(t){y(this,"values");y(this,"scopesRegExp");if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const n=t.map(([r,o])=>Ja(r));n.sort(),n.reverse(),this.scopesRegExp=new RegExp(`^((${n.join(")|(")}))($|\\.)`,"")}}match(t){if(!this.scopesRegExp)return;const n=t.match(this.scopesRegExp);if(n)return this.values.get(n[1])}}class ki{constructor(t,n){y(this,"stack");y(this,"stoppedEarly");this.stack=t,this.stoppedEarly=n}}function ec(e,t,n,r,o,s,i,l){const a=t.content.length;let c=!1,u=-1;if(i){const p=Dm(e,t,n,r,o,s);o=p.stack,r=p.linePos,n=p.isFirstLine,u=p.anchorPosition}const f=Date.now();for(;!c;){if(l!==0&&Date.now()-f>l)return new ki(o,!0);d()}return new ki(o,!1);function d(){const p=Mm(e,t,n,r,o,u);if(!p){s.produce(o,a),c=!0;return}const h=p.captureIndices,g=p.matchedRuleId,E=h&&h.length>0?h[0].end>r:!1;if(g===Pm){const w=o.getRule(e);s.produce(o,h[0].start),o=o.withContentNameScopesList(o.nameScopesList),pn(e,t,n,o,s,w.endCaptures,h),s.produce(o,h[0].end);const P=o;if(o=o.parent,u=P.getAnchorPos(),!E&&P.getEnterPos()===r){o=P,s.produce(o,a),c=!0;return}}else{const w=e.getRule(g);s.produce(o,h[0].start);const P=o,v=w.getName(t.content,h),C=o.contentNameScopesList.pushAttributed(v,e);if(o=o.push(g,r,u,h[0].end===a,null,C,C),w instanceof Bo){const T=w;pn(e,t,n,o,s,T.beginCaptures,h),s.produce(o,h[0].end),u=h[0].end;const A=T.getContentName(t.content,h),V=C.pushAttributed(A,e);if(o=o.withContentNameScopesList(V),T.endHasBackReferences&&(o=o.withEndRule(T.getEndWithResolvedBackReferences(t.content,h))),!E&&P.hasSameRuleAs(o)){o=o.pop(),s.produce(o,a),c=!0;return}}else if(w instanceof wr){const T=w;pn(e,t,n,o,s,T.beginCaptures,h),s.produce(o,h[0].end),u=h[0].end;const A=T.getContentName(t.content,h),V=C.pushAttributed(A,e);if(o=o.withContentNameScopesList(V),T.whileHasBackReferences&&(o=o.withEndRule(T.getWhileWithResolvedBackReferences(t.content,h))),!E&&P.hasSameRuleAs(o)){o=o.pop(),s.produce(o,a),c=!0;return}}else if(pn(e,t,n,o,s,w.captures,h),s.produce(o,h[0].end),o=o.pop(),!E){o=o.safePop(),s.produce(o,a),c=!0;return}}h[0].end>r&&(r=h[0].end,n=!1)}}function Dm(e,t,n,r,o,s){let i=o.beginRuleCapturedEOL?0:-1;const l=[];for(let a=o;a;a=a.pop()){const c=a.getRule(e);c instanceof wr&&l.push({rule:c,stack:a})}for(let a=l.pop();a;a=l.pop()){const{ruleScanner:c,findOptions:u}=jm(a.rule,e,a.stack.endRule,n,r===i),f=c.findNextMatchSync(t,r,u);if(f){if(f.ruleId!==Qa){o=a.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(s.produce(a.stack,f.captureIndices[0].start),pn(e,t,n,a.stack,s,a.rule.whileCaptures,f.captureIndices),s.produce(a.stack,f.captureIndices[0].end),i=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}else{o=a.stack.pop();break}}return{stack:o,linePos:r,anchorPosition:i,isFirstLine:n}}function Mm(e,t,n,r,o,s){const i=Vm(e,t,n,r,o,s),l=e.getInjections();if(l.length===0)return i;const a=Bm(l,e,t,n,r,o,s);if(!a)return i;if(!i)return a;const c=i.captureIndices[0].start,u=a.captureIndices[0].start;return u<c||a.priorityMatch&&u===c?a:i}function Vm(e,t,n,r,o,s){const i=o.getRule(e),{ruleScanner:l,findOptions:a}=tc(i,e,o.endRule,n,r===s),c=l.findNextMatchSync(t,r,a);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function Bm(e,t,n,r,o,s,i){let l=Number.MAX_VALUE,a=null,c,u=0;const f=s.contentNameScopesList.getScopeNames();for(let d=0,p=e.length;d<p;d++){const h=e[d];if(!h.matcher(f))continue;const g=t.getRule(h.ruleId),{ruleScanner:E,findOptions:w}=tc(g,t,null,r,o===i),P=E.findNextMatchSync(n,o,w);if(!P)continue;const v=P.captureIndices[0].start;if(!(v>=l)&&(l=v,a=P.captureIndices,c=P.ruleId,u=h.priority,l===o))break}return a?{priorityMatch:u===-1,captureIndices:a,matchedRuleId:c}:null}function tc(e,t,n,r,o){return{ruleScanner:e.compileAG(t,n,r,o),findOptions:0}}function jm(e,t,n,r,o){return{ruleScanner:e.compileWhileAG(t,n,r,o),findOptions:0}}function pn(e,t,n,r,o,s,i){if(s.length===0)return;const l=t.content,a=Math.min(s.length,i.length),c=[],u=i[0].end;for(let f=0;f<a;f++){const d=s[f];if(d===null)continue;const p=i[f];if(p.length===0)continue;if(p.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=p.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,p.start):o.produce(r,p.start),d.retokenizeCapturedWithRuleId){const g=d.getName(l,i),E=r.contentNameScopesList.pushAttributed(g,e),w=d.getContentName(l,i),P=E.pushAttributed(w,e),v=r.push(d.retokenizeCapturedWithRuleId,p.start,-1,!1,null,E,P),C=e.createOnigString(l.substring(0,p.end));ec(e,C,n&&p.start===0,p.start,v,o,!1,0),Ga(C);continue}const h=d.getName(l,i);if(h!==null){const E=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(h,e);c.push(new $m(E,p.end))}}for(;c.length>0;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}class $m{constructor(t,n){y(this,"scopes");y(this,"endPos");this.scopes=t,this.endPos=n}}function Hm(e,t,n,r,o,s,i,l){return new Um(e,t,n,r,o,s,i,l)}function Ni(e,t,n,r,o){const s=vr(t,Tr),i=ye.getCompiledRuleId(n,r,o.repository);for(const l of s)e.push({debugSelector:t,matcher:l.matcher,ruleId:i,grammar:o,priority:l.priority})}function Tr(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(Fm(t[o],r))return n=o+1,!0;return!1})}function Fm(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]==="."}class Um{constructor(t,n,r,o,s,i,l,a){y(this,"_rootScopeName");y(this,"balancedBracketSelectors");y(this,"_onigLib");y(this,"_rootId");y(this,"_lastRuleId");y(this,"_ruleId2desc");y(this,"_includedGrammars");y(this,"_grammarRepository");y(this,"_grammar");y(this,"_injections");y(this,"_basicScopeAttributesProvider");y(this,"_tokenTypeMatchers");if(this._rootScopeName=t,this.balancedBracketSelectors=i,this._onigLib=a,this._basicScopeAttributesProvider=new jo(r,o),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=l,this._grammar=Di(n,null),this._injections=null,this._tokenTypeMatchers=[],s)for(const c of Object.keys(s)){const u=vr(c,Tr);for(const f of u)this._tokenTypeMatchers.push({matcher:f.matcher,type:s[c]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const t of this._ruleId2desc)t&&t.dispose()}createOnigScanner(t){return this._onigLib.createOnigScanner(t)}createOnigString(t){return this._onigLib.createOnigString(t)}getMetadataForScope(t){return this._basicScopeAttributesProvider.getBasicScopeAttributes(t)}_collectInjections(){const t={lookup:s=>s===this._rootScopeName?this._grammar:this.getExternalGrammar(s),injections:s=>this._grammarRepository.injections(s)},n=[],r=this._rootScopeName,o=t.lookup(r);if(o){const s=o.injections;if(s)for(let l in s)Ni(n,l,s[l],this,o);const i=this._grammarRepository.injections(r);i&&i.forEach(l=>{const a=this.getExternalGrammar(l);if(a){const c=a.injectionSelector;c&&Ni(n,c,a,this,a)}})}return n.sort((s,i)=>s.priority-i.priority),n}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(t){const n=++this._lastRuleId,r=t(n);return this._ruleId2desc[n]=r,r}getRule(t){return this._ruleId2desc[t]}getExternalGrammar(t,n){if(this._includedGrammars[t])return this._includedGrammars[t];if(this._grammarRepository){const r=this._grammarRepository.lookup(t);if(r)return this._includedGrammars[t]=Di(r,n&&n.$base),this._includedGrammars[t]}}tokenizeLine(t,n,r=0){const o=this._tokenize(t,n,!1,r);return{tokens:o.lineTokens.getResult(o.ruleStack,o.lineLength),ruleStack:o.ruleStack,stoppedEarly:o.stoppedEarly}}tokenizeLine2(t,n,r=0){const o=this._tokenize(t,n,!0,r);return{tokens:o.lineTokens.getBinaryResult(o.ruleStack,o.lineLength),ruleStack:o.ruleStack,stoppedEarly:o.stoppedEarly}}_tokenize(t,n,r,o){this._rootId===-1&&(this._rootId=ye.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let s;if(!n||n===On.NULL){s=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),f=this.themeProvider.getDefaults(),d=on.set(0,u.languageId,u.tokenType,null,f.fontStyle,f.foregroundId,f.backgroundId),p=this.getRule(this._rootId).getName(null,null);let h;p?h=Le.createRootAndLookUpScopeName(p,d,this):h=Le.createRoot("unknown",d),n=new On(null,this._rootId,-1,-1,!1,null,h,h)}else s=!1,n.reset();t=t+`
|
|
20
|
-
`;const i=this.createOnigString(t),l=i.content.length,a=new Wm(r,t,this._tokenTypeMatchers,this.balancedBracketSelectors),c=ec(this,i,s,0,n,a,!0,o);return Ga(i),{lineLength:l,lineTokens:a,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function Di(e,t){return e=dm(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}class Le{constructor(t,n,r){y(this,"parent");y(this,"scopePath");y(this,"tokenAttributes");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 s of n)o=kt.push(o,s.scopeNames),r=new Le(r,o,s.encodedTokenAttributes);return r}static createRoot(t,n){return new Le(null,new kt(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const o=r.getMetadataForScope(t),s=new kt(null,t),i=r.themeProvider.themeMatch(s),l=Le.mergeAttributes(n,o,i);return new Le(null,s,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return Le.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,s=0,i=0;return r!==null&&(o=r.fontStyle,s=r.foregroundId,i=r.backgroundId),on.set(t,n.languageId,n.tokenType,null,o,s,i)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return Le._pushAttributed(this,t,n);const r=t.split(/ /g);let o=this;for(const s of r)o=Le._pushAttributed(o,s,n);return o}static _pushAttributed(t,n,r){const o=r.getMetadataForScope(n),s=t.scopePath.push(n),i=r.themeProvider.themeMatch(s),l=Le.mergeAttributes(t.tokenAttributes,o,i);return new Le(t,s,l)}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}}const rt=class rt{constructor(t,n,r,o,s,i,l,a){y(this,"parent");y(this,"ruleId");y(this,"beginRuleCapturedEOL");y(this,"endRule");y(this,"nameScopesList");y(this,"contentNameScopesList");y(this,"_stackElementBrand");y(this,"_enterPos");y(this,"_anchorPos");y(this,"depth");this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=s,this.endRule=i,this.nameScopesList=l,this.contentNameScopesList=a,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=o}equals(t){return t===null?!1:rt._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Le.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(){rt._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,o,s,i,l){return new rt(this,t,n,r,o,s,i,l)}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 rt(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=Le.fromExtension((t==null?void 0:t.nameScopesList)??null,n.nameScopesList);return new rt(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Le.fromExtension(r,n.contentNameScopesList))}};y(rt,"NULL",new rt(null,0,0,0,!1,null,null,null));let On=rt;class Gm{constructor(t,n){y(this,"balancedBracketScopes");y(this,"unbalancedBracketScopes");y(this,"allowAny",!1);this.balancedBracketScopes=t.flatMap(r=>r==="*"?(this.allowAny=!0,[]):vr(r,Tr).map(o=>o.matcher)),this.unbalancedBracketScopes=n.flatMap(r=>vr(r,Tr).map(o=>o.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(t){for(const n of this.unbalancedBracketScopes)if(n(t))return!1;for(const n of this.balancedBracketScopes)if(n(t))return!0;return this.allowAny}}class Wm{constructor(t,n,r,o){y(this,"balancedBracketSelectors");y(this,"_emitBinaryTokens");y(this,"_lineText");y(this,"_tokens");y(this,"_binaryTokens");y(this,"_lastTokenEndIndex");y(this,"_tokenTypeOverrides");this.balancedBracketSelectors=o,this._emitBinaryTokens=t,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(t,n){this.produceFromScopes(t.contentNameScopesList,n)}produceFromScopes(t,n){var o;if(this._lastTokenEndIndex>=n)return;if(this._emitBinaryTokens){let s=(t==null?void 0:t.tokenAttributes)??0,i=!1;if((o=this.balancedBracketSelectors)!=null&&o.matchesAlways&&(i=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const l=(t==null?void 0:t.getScopeNames())??[];for(const a of this._tokenTypeOverrides)a.matcher(l)&&(s=on.set(s,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(i=this.balancedBracketSelectors.match(l))}if(i&&(s=on.set(s,0,8,i,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===s){this._lastTokenEndIndex=n;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(s),this._lastTokenEndIndex=n;return}const r=(t==null?void 0:t.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:n,scopes:r}),this._lastTokenEndIndex=n}getResult(t,n){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===n-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(t,n){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===n-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._binaryTokens[this._binaryTokens.length-2]=0);const r=new Uint32Array(this._binaryTokens.length);for(let o=0,s=this._binaryTokens.length;o<s;o++)r[o]=this._binaryTokens[o];return r}}class qm{constructor(t,n){y(this,"_onigLibPromise");y(this,"_grammars",new Map);y(this,"_rawGrammars",new Map);y(this,"_injectionGrammars",new Map);y(this,"_theme");this._onigLibPromise=n,this._theme=t}dispose(){for(const t of this._grammars.values())t.dispose()}setTheme(t){this._theme=t}getColorMap(){return this._theme.getColorMap()}addGrammar(t,n){this._rawGrammars.set(t.scopeName,t),n&&this._injectionGrammars.set(t.scopeName,n)}lookup(t){return this._rawGrammars.get(t)}injections(t){return this._injectionGrammars.get(t)}getDefaults(){return this._theme.getDefaults()}themeMatch(t){return this._theme.match(t)}async grammarForScopeName(t,n,r,o,s){if(!this._grammars.has(t)){let i=this._rawGrammars.get(t);if(!i)return null;this._grammars.set(t,Hm(t,i,n,r,o,s,this,await this._onigLibPromise))}return this._grammars.get(t)}}let Km=class{constructor(t){y(this,"_options");y(this,"_syncRegistry");y(this,"_ensureGrammarCache");this._options=t,this._syncRegistry=new qm(Rr.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(Rr.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 Gm(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}async _loadGrammar(t,n,r,o,s){const i=new gm(this._syncRegistry,t);for(;i.Q.length>0;)await Promise.all(i.Q.map(l=>this._loadSingleGrammar(l.scopeName))),i.processQueue();return this._grammarForScopeName(t,n,r,o,s)}async _loadSingleGrammar(t){return this._ensureGrammarCache.has(t)||this._ensureGrammarCache.set(t,this._doLoadSingleGrammar(t)),this._ensureGrammarCache.get(t)}async _doLoadSingleGrammar(t){const n=await this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}async addGrammar(t,n=[],r=0,o=null){return this._syncRegistry.addGrammar(t,n),await this._grammarForScopeName(t.scopeName,r,o)}_grammarForScopeName(t,n=0,r=null,o=null,s=null){return this._syncRegistry.grammarForScopeName(t,n,r,o,s)}};const zm=On.NULL,Ee={LANGUAGEID_MASK:255,TOKEN_TYPE_MASK:768,BALANCED_BRACKETS_MASK:1024,FONT_STYLE_MASK:14336,FOREGROUND_MASK:8372224,BACKGROUND_MASK:4286578688,LANGUAGEID_OFFSET:0,TOKEN_TYPE_OFFSET:8,BALANCED_BRACKETS_OFFSET:10,FONT_STYLE_OFFSET:11,FOREGROUND_OFFSET:15,BACKGROUND_OFFSET:24};class ot{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&Ee.LANGUAGEID_MASK)>>>Ee.LANGUAGEID_OFFSET}static getTokenType(t){return(t&Ee.TOKEN_TYPE_MASK)>>>Ee.TOKEN_TYPE_OFFSET}static getFontStyle(t){return(t&Ee.FONT_STYLE_MASK)>>>Ee.FONT_STYLE_OFFSET}static getForeground(t){return(t&Ee.FOREGROUND_MASK)>>>Ee.FOREGROUND_OFFSET}static getBackground(t){return(t&Ee.BACKGROUND_MASK)>>>Ee.BACKGROUND_OFFSET}static containsBalancedBrackets(t){return(t&Ee.BALANCED_BRACKETS_MASK)!==0}static set(t,n,r,o,s,i){let l=ot.getLanguageId(t),a=ot.getTokenType(t),c=ot.getFontStyle(t),u=ot.getForeground(t),f=ot.getBackground(t);const d=ot.containsBalancedBrackets(t)?1:0;return n!==0&&(l=n),r!==0&&(a=r===8?0:r),o!==Ge.NotSet&&(c=o),s!==0&&(u=s),i!==0&&(f=i),(l<<Ee.LANGUAGEID_OFFSET|a<<Ee.TOKEN_TYPE_OFFSET|c<<Ee.FONT_STYLE_OFFSET|d<<Ee.BALANCED_BRACKETS_OFFSET|u<<Ee.FOREGROUND_OFFSET|f<<Ee.BACKGROUND_OFFSET)>>>0}}function $r(e,t=!1){var s;const n=e.split(/(\r?\n)/g);let r=0;const o=[];for(let i=0;i<n.length;i+=2){const l=t?n[i]+(n[i+1]||""):n[i];o.push([l,r]),r+=n[i].length,r+=((s=n[i+1])==null?void 0:s.length)||0}return o}function nc(e){return!e||["plaintext","txt","text","plain"].includes(e)}function rc(e){return e==="ansi"||nc(e)}function oc(e){return e==="none"}function sc(e){return oc(e)}function ic(e,t){var r;if(!t)return e;e.properties||(e.properties={}),(r=e.properties).class||(r.class=[]),typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const o of n)o&&!e.properties.class.includes(o)&&e.properties.class.push(o);return e}function Jm(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 Ym(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 s=n.filter(i=>o.offset<i&&i<o.offset+o.content.length).map(i=>i-o.offset).sort((i,l)=>i-l);return s.length?Jm(o,s):o})):e}function Lt(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function lc(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&Ge.Italic&&(t["font-style"]="italic"),e.fontStyle&Ge.Bold&&(t["font-weight"]="bold"),e.fontStyle&Ge.Underline&&(t["text-decoration"]="underline")),t}function ac(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function Xm(e){const t=$r(e,!0).map(([o])=>o);function n(o){let s=o,i=0;for(const l of t){if(s<l.length)break;s-=l.length,i++}return{line:i,character:s}}function r(o,s){let i=0;for(let l=0;l<o;l++)i+=t[l].length;return i+=s,i}return{lines:t,indexToPos:n,posToIndex:r}}var Ot=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],lo={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function Qm(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 Mi(e,t){let n=1;const r=e[t+n++];let o;if(r==="2"){const s=[e[t+n++],e[t+n++],e[t+n]].map(i=>Number.parseInt(i));s.length===3&&!s.some(i=>Number.isNaN(i))&&(o={type:"rgb",rgb:s})}else if(r==="5"){const s=Number.parseInt(e[t+n]);Number.isNaN(s)||(o={type:"table",index:Number(s)})}return[n,o]}function Zm(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)lo[o]&&t.push({type:"setDecoration",value:lo[o]});else if(o<=29){const s=lo[o-20];s&&t.push({type:"resetDecoration",value:s})}else if(o<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Ot[o-30]}});else if(o===38){const[s,i]=Mi(e,n);i&&t.push({type:"setForegroundColor",value:i}),n+=s}else if(o===39)t.push({type:"resetForegroundColor"});else if(o<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Ot[o-40]}});else if(o===48){const[s,i]=Mi(e,n);i&&t.push({type:"setBackgroundColor",value:i}),n+=s}else o===49?t.push({type:"resetBackgroundColor"}):o>=90&&o<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Ot[o-90+8]}}):o>=100&&o<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Ot[o-100+8]}})}return t}function e_(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let s=0;do{const i=Qm(r,s),l=i.sequence?r.substring(s,i.startPosition):r.substring(s);if(l.length>0&&o.push({value:l,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const a=Zm(i.sequence);for(const c of a)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 a)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}s=i.position}while(s<r.length);return o}}}var t_={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 n_(e=t_){function t(l){return e[l]}function n(l){return`#${l.map(a=>Math.max(0,Math.min(a,255)).toString(16).padStart(2,"0")).join("")}`}let r;function o(){if(r)return r;r=[];for(let c=0;c<Ot.length;c++)r.push(t(Ot[c]));let l=[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([l[c],l[u],l[f]]));let a=8;for(let c=0;c<24;c++,a+=10)r.push(n([a,a,a]));return r}function s(l){return o()[l]}function i(l){switch(l.type){case"named":return t(l.name);case"rgb":return n(l.rgb);case"table":return s(l.index)}}return{value:i}}function r_(e,t,n){const r={...e.colorReplacements,...n==null?void 0:n.colorReplacements},o=$r(t),s=n_(Object.fromEntries(Ot.map(l=>{var a;return[l,(a=e.colors)==null?void 0:a[`terminal.ansi${l[0].toUpperCase()}${l.substring(1)}`]]}))),i=e_();return o.map(l=>i.parse(l[0]).map(a=>{let c,u;a.decorations.has("reverse")?(c=a.background?s.value(a.background):e.bg,u=a.foreground?s.value(a.foreground):e.fg):(c=a.foreground?s.value(a.foreground):e.fg,u=a.background?s.value(a.background):void 0),c=Lt(c,r),u=Lt(u,r),a.decorations.has("dim")&&(c=o_(c));let f=Ge.None;return a.decorations.has("bold")&&(f|=Ge.Bold),a.decorations.has("italic")&&(f|=Ge.Italic),a.decorations.has("underline")&&(f|=Ge.Underline),{content:a.value,offset:l[1],color:c,bgColor:u,fontStyle:f}}))}function o_(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 Es(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(nc(r)||oc(o))return $r(t).map(a=>[{content:a[0],offset:a[1]}]);const{theme:s,colorMap:i}=e.setTheme(o);if(r==="ansi")return r_(s,t,n);const l=e.getLanguage(r);return s_(t,l,s,i,n)}function s_(e,t,n,r,o){const s={...n.colorReplacements,...o==null?void 0:o.colorReplacements},{tokenizeMaxLineLength:i=0,tokenizeTimeLimit:l=500}=o,a=$r(e);let c=zm,u=[];const f=[];for(let d=0,p=a.length;d<p;d++){const[h,g]=a[d];if(h===""){u=[],f.push([]);continue}if(i>0&&h.length>=i){u=[],f.push([{content:h,offset:g,color:"",fontStyle:0}]);continue}let E,w,P;o.includeExplanation&&(E=t.tokenizeLine(h,c),w=E.tokens,P=0);const v=t.tokenizeLine2(h,c,l),C=v.tokens.length/2;for(let T=0;T<C;T++){const A=v.tokens[2*T],V=T+1<C?v.tokens[2*T+2]:h.length;if(A===V)continue;const U=v.tokens[2*T+1],q=Lt(r[ot.getForeground(U)],s),H=ot.getFontStyle(U),X={content:h.substring(A,V),offset:g+A,color:q,fontStyle:H};if(o.includeExplanation){X.explanation=[];let Z=0;for(;A+Z<V;){const ne=w[P],_e=h.substring(ne.startIndex,ne.endIndex);Z+=_e.length,X.explanation.push({content:_e,scopes:i_(n,ne.scopes)}),P+=1}}u.push(X)}f.push(u),u=[],c=v.ruleStack}return f}function i_(e,t){const n=[];for(let r=0,o=t.length;r<o;r++){const s=t.slice(0,r),i=t[r];n[r]={scopeName:i,themeMatches:a_(e,i,s)}}return n}function Vi(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}function l_(e,t,n,r){if(!Vi(e,n))return!1;let o=t.length-1,s=r.length-1;for(;o>=0&&s>=0;)Vi(t[o],r[s])&&(o-=1),s-=1;return o===-1}function a_(e,t,n){const r=[];let o=0;for(let s=0,i=e.settings.length;s<i;s++){const l=e.settings[s];let a;if(typeof l.scope=="string")a=l.scope.split(/,/).map(c=>c.trim());else if(Array.isArray(l.scope))a=l.scope;else continue;for(let c=0,u=a.length;c<u;c++){const d=a[c].split(/ /),p=d[d.length-1],h=d.slice(0,d.length-1);l_(p,h,t,n)&&(r[o++]=l,c=u)}}return r}function cc(e,t,n){const r=Object.entries(n.themes).filter(i=>i[1]).map(i=>({color:i[0],theme:i[1]})),o=c_(...r.map(i=>Es(e,t,{...n,theme:i.theme})));return o[0].map((i,l)=>i.map((a,c)=>{const u={content:a.content,variants:{},offset:a.offset};return o.forEach((f,d)=>{const{content:p,explanation:h,offset:g,...E}=f[l][c];u.variants[r[d].color]=E}),u}))}function c_(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const o=e.map(a=>a[r]),s=t.map(()=>[]);t.forEach((a,c)=>a.push(s[c]));const i=o.map(()=>0),l=o.map(a=>a[0]);for(;l.every(a=>a);){const a=Math.min(...l.map(c=>c.content.length));for(let c=0;c<n;c++){const u=l[c];u.content.length===a?(s[c].push(u),i[c]+=1,l[c]=o[c][i[c]]):(s[c].push({...u,content:u.content.slice(0,a)}),l[c]={...u,content:u.content.slice(a),offset:u.offset+a})}}}return t}class we extends Error{constructor(t){super(t),this.name="ShikiError"}}function Pr(e,t,n){let r,o,s,i,l;if("themes"in n){const{defaultColor:a="light",cssVariablePrefix:c="--shiki-",colorReplacements:u}=n,f=Object.entries(n.themes).filter(g=>g[1]).map(g=>({color:g[0],theme:g[1]})).sort((g,E)=>g.color===a?-1:E.color===a?1:0);if(f.length===0)throw new we("`themes` option must not be empty");const d=cc(e,t,n);if(a&&!f.find(g=>g.color===a))throw new we(`\`themes\` option must contain the defaultColor key \`${a}\``);const p=f.map(g=>e.getTheme(g.theme)),h=f.map(g=>g.color);s=d.map(g=>g.map(E=>u_(E,h,c,a))),o=f.map((g,E)=>(E===0&&a?"":`${c+g.color}:`)+(Lt(p[E].fg,u)||"inherit")).join(";"),r=f.map((g,E)=>(E===0&&a?"":`${c+g.color}-bg:`)+(Lt(p[E].bg,u)||"inherit")).join(";"),i=`shiki-themes ${p.map(g=>g.name).join(" ")}`,l=a?void 0:[o,r].join(";")}else if("theme"in n){const{colorReplacements:a}=n;s=Es(e,t,n);const c=e.getTheme(n.theme);r=Lt(c.bg,a),o=Lt(c.fg,a),i=c.name}else throw new we("Invalid options, either `theme` or `themes` must be provided");return{tokens:s,fg:o,bg:r,themeName:i,rootStyle:l}}function u_(e,t,n,r){const o={content:e.content,explanation:e.explanation,offset:e.offset},s=t.map(a=>lc(e.variants[a])),i=new Set(s.flatMap(a=>Object.keys(a))),l=s.reduce((a,c,u)=>{for(const f of i){const d=c[f]||"inherit";if(u===0&&r)a[f]=d;else{const p=f==="color"?"":f==="background-color"?"-bg":`-${f}`,h=n+t[u]+(f==="color"?"":p);a[f]?a[f]+=`;${h}:${d}`:a[f]=`${h}:${d}`}}return a},{});return o.htmlStyle=r?ac(l):Object.values(l).join(";"),o}function f_(){const e=new WeakMap;function t(r){if(!e.has(r.meta)){let s=function(l){return typeof l=="number"?{...o.indexToPos(l),offset:l}:{...l,offset:o.posToIndex(l.line,l.character)}};const o=Xm(r.source),i=(r.options.decorations||[]).map(l=>({...l,start:s(l.start),end:s(l.end)}));n(i),e.set(r.meta,{decorations:i,converter:o,source:r.source})}return e.get(r.meta)}function n(r){for(let o=0;o<r.length;o++){const s=r[o];if(s.start.offset>s.end.offset)throw new we(`Invalid decoration range: ${JSON.stringify(s.start)} - ${JSON.stringify(s.end)}`);for(let i=o+1;i<r.length;i++){const l=r[i],a=s.start.offset<l.start.offset&&l.start.offset<s.end.offset,c=s.start.offset<l.end.offset&&l.end.offset<s.end.offset,u=l.start.offset<s.start.offset&&s.start.offset<l.end.offset,f=l.start.offset<s.end.offset&&s.end.offset<l.end.offset;if(a||c||u||f){if(c&&c||u&&f)continue;throw new we(`Decorations ${JSON.stringify(s.start)} and ${JSON.stringify(l.start)} intersect.`)}}}}return{name:"shiki:decorations",tokens(r){var l;if(!((l=this.options.decorations)!=null&&l.length))return;const s=t(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]);return Ym(r,s)},code(r){var f;if(!((f=this.options.decorations)!=null&&f.length))return;const o=t(this),s=Array.from(r.children).filter(d=>d.type==="element"&&d.tagName==="span");if(s.length!==o.converter.lines.length)throw new we(`Number of lines in code element (${s.length}) does not match the number of lines in the source (${o.converter.lines.length}). Failed to apply decorations.`);function i(d,p,h,g){const E=s[d];let w="",P=-1,v=-1;function C(A){return A.type==="text"?A.value:A.type==="element"?A.children.map(C).join(""):""}if(p===0&&(P=0),h===0&&(v=0),h===Number.POSITIVE_INFINITY&&(v=E.children.length),P===-1||v===-1)for(let A=0;A<E.children.length;A++)w+=C(E.children[A]),P===-1&&w.length===p&&(P=A+1),v===-1&&w.length===h&&(v=A+1);if(P===-1)throw new we(`Failed to find start index for decoration ${JSON.stringify(g.start)}`);if(v===-1)throw new we(`Failed to find end index for decoration ${JSON.stringify(g.end)}`);const T=E.children.slice(P,v);if(!g.alwaysWrap&&T.length===E.children.length)a(E,g,"line");else if(!g.alwaysWrap&&T.length===1&&T[0].type==="element")a(T[0],g,"token");else{const A={type:"element",tagName:"span",properties:{},children:T};a(A,g,"wrapper"),E.children.splice(P,T.length,A)}}function l(d,p){s[d]=a(s[d],p,"line")}function a(d,p,h){var w;const g=p.properties||{},E=p.transform||(P=>P);return d.tagName=p.tagName||"span",d.properties={...d.properties,...g,class:d.properties.class},(w=p.properties)!=null&&w.class&&ic(d,p.properties.class),d=E(d,h)||d,d}const c=[],u=o.decorations.sort((d,p)=>p.start.offset-d.start.offset);for(const d of u){const{start:p,end:h}=d;if(p.line===h.line)i(p.line,p.character,h.character,d);else if(p.line<h.line){i(p.line,p.character,Number.POSITIVE_INFINITY,d);for(let g=p.line+1;g<h.line;g++)c.unshift(()=>l(g,d));i(h.line,0,h.character,d)}}c.forEach(d=>d())}}}const d_=[f_()];function Ar(e){return[...e.transformers||[],...d_]}function Cr(e,t,n,r={meta:{},options:n,codeToHast:(o,s)=>Cr(e,o,s),codeToTokens:(o,s)=>Pr(e,o,s)}){var d,p;let o=t;for(const h of Ar(n))o=((d=h.preprocess)==null?void 0:d.call(r,o,n))||o;let{tokens:s,fg:i,bg:l,themeName:a,rootStyle:c}=Pr(e,o,n);const{mergeWhitespaces:u=!0}=n;u===!0?s=h_(s):u==="never"&&(s=m_(s));const f={...r,get source(){return o}};for(const h of Ar(n))s=((p=h.tokens)==null?void 0:p.call(f,s))||s;return p_(s,{...n,fg:i,bg:l,themeName:a,rootStyle:c},f)}function p_(e,t,n){var d,p,h;const r=Ar(t),o=[],s={type:"root",children:[]},{structure:i="classic"}=t;let l={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,tabindex:"0",...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([g])=>!g.startsWith("_")))},children:[]},a={type:"element",tagName:"code",properties:{},children:o};const c=[],u={...n,structure:i,addClassToHast:ic,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return s},get pre(){return l},get code(){return a},get lines(){return c}};if(e.forEach((g,E)=>{var v,C;E&&(i==="inline"?s.children.push({type:"element",tagName:"br",properties:{},children:[]}):i==="classic"&&o.push({type:"text",value:`
|
|
21
|
-
`}));let w={type:"element",tagName:"span",properties:{class:"line"},children:[]},P=0;for(const T of g){let A={type:"element",tagName:"span",properties:{},children:[{type:"text",value:T.content}]};const V=T.htmlStyle||ac(lc(T));V&&(A.properties.style=V);for(const U of r)A=((v=U==null?void 0:U.span)==null?void 0:v.call(u,A,E+1,P,w))||A;i==="inline"?s.children.push(A):i==="classic"&&w.children.push(A),P+=T.content.length}if(i==="classic"){for(const T of r)w=((C=T==null?void 0:T.line)==null?void 0:C.call(u,w,E+1))||w;c.push(w),o.push(w)}}),i==="classic"){for(const g of r)a=((d=g==null?void 0:g.code)==null?void 0:d.call(u,a))||a;l.children.push(a);for(const g of r)l=((p=g==null?void 0:g.pre)==null?void 0:p.call(u,l))||l;s.children.push(l)}let f=s;for(const g of r)f=((h=g==null?void 0:g.root)==null?void 0:h.call(u,f))||f;return f}function h_(e){return e.map(t=>{const n=[];let r="",o=0;return t.forEach((s,i)=>{const a=!(s.fontStyle&&s.fontStyle&Ge.Underline);a&&s.content.match(/^\s+$/)&&t[i+1]?(o||(o=s.offset),r+=s.content):r?(a?n.push({...s,offset:o,content:r+s.content}):n.push({content:r,offset:o},s),o=0,r=""):n.push(s)}),n})}function m_(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,s,i]=r;if(!o&&!i)return n;const l=[{...n,offset:n.offset+o.length,content:s}];return o&&l.unshift({content:o,offset:n.offset}),i&&l.push({content:i,offset:n.offset+o.length+s.length}),l}))}const __=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Dn{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Dn.prototype.property={};Dn.prototype.normal={};Dn.prototype.space=null;function uc(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 Dn(n,r,t)}function $o(e){return e.toLowerCase()}class He{constructor(t,n){this.property=t,this.attribute=n}}He.prototype.space=null;He.prototype.boolean=!1;He.prototype.booleanish=!1;He.prototype.overloadedBoolean=!1;He.prototype.number=!1;He.prototype.commaSeparated=!1;He.prototype.spaceSeparated=!1;He.prototype.commaOrSpaceSeparated=!1;He.prototype.mustUseProperty=!1;He.prototype.defined=!1;let g_=0;const z=jt(),de=jt(),fc=jt(),I=jt(),oe=jt(),Qt=jt(),Me=jt();function jt(){return 2**++g_}var Ho=Object.freeze({__proto__:null,boolean:z,booleanish:de,commaOrSpaceSeparated:Me,commaSeparated:Qt,number:I,overloadedBoolean:fc,spaceSeparated:oe});const ao=Object.keys(Ho);class ws extends He{constructor(t,n,r,o){let s=-1;if(super(t,n),Bi(this,"space",o),typeof r=="number")for(;++s<ao.length;){const i=ao[s];Bi(this,ao[s],(r&Ho[i])===Ho[i])}}}ws.prototype.defined=!0;function Bi(e,t,n){n&&(e[t]=n)}const y_={}.hasOwnProperty;function cn(e){const t={},n={};let r;for(r in e.properties)if(y_.call(e.properties,r)){const o=e.properties[r],s=new ws(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[$o(r)]=r,n[$o(s.attribute)]=r}return new Dn(t,n,e.space)}const dc=cn({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}}),pc=cn({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function hc(e,t){return t in e?e[t]:t}function mc(e,t){return hc(e,t.toLowerCase())}const _c=cn({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:mc,properties:{xmlns:null,xmlnsXLink:null}}),gc=cn({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:de,ariaAutoComplete:null,ariaBusy:de,ariaChecked:de,ariaColCount:I,ariaColIndex:I,ariaColSpan:I,ariaControls:oe,ariaCurrent:null,ariaDescribedBy:oe,ariaDetails:null,ariaDisabled:de,ariaDropEffect:oe,ariaErrorMessage:null,ariaExpanded:de,ariaFlowTo:oe,ariaGrabbed:de,ariaHasPopup:null,ariaHidden:de,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:oe,ariaLevel:I,ariaLive:null,ariaModal:de,ariaMultiLine:de,ariaMultiSelectable:de,ariaOrientation:null,ariaOwns:oe,ariaPlaceholder:null,ariaPosInSet:I,ariaPressed:de,ariaReadOnly:de,ariaRelevant:null,ariaRequired:de,ariaRoleDescription:oe,ariaRowCount:I,ariaRowIndex:I,ariaRowSpan:I,ariaSelected:de,ariaSetSize:I,ariaSort:null,ariaValueMax:I,ariaValueMin:I,ariaValueNow:I,ariaValueText:null,role:null}}),b_=cn({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:mc,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Qt,acceptCharset:oe,accessKey:oe,action:null,allow:null,allowFullScreen:z,allowPaymentRequest:z,allowUserMedia:z,alt:null,as:null,async:z,autoCapitalize:null,autoComplete:oe,autoFocus:z,autoPlay:z,blocking:oe,capture:null,charSet:null,checked:z,cite:null,className:oe,cols:I,colSpan:null,content:null,contentEditable:de,controls:z,controlsList:oe,coords:I|Qt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:z,defer:z,dir:null,dirName:null,disabled:z,download:fc,draggable:de,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:z,formTarget:null,headers:oe,height:I,hidden:z,high:I,href:null,hrefLang:null,htmlFor:oe,httpEquiv:oe,id:null,imageSizes:null,imageSrcSet:null,inert:z,inputMode:null,integrity:null,is:null,isMap:z,itemId:null,itemProp:oe,itemRef:oe,itemScope:z,itemType:oe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:z,low:I,manifest:null,max:null,maxLength:I,media:null,method:null,min:null,minLength:I,multiple:z,muted:z,name:null,nonce:null,noModule:z,noValidate:z,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:z,optimum:I,pattern:null,ping:oe,placeholder:null,playsInline:z,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:z,referrerPolicy:null,rel:oe,required:z,reversed:z,rows:I,rowSpan:I,sandbox:oe,scope:null,scoped:z,seamless:z,selected:z,shadowRootDelegatesFocus:z,shadowRootMode:null,shape:null,size:I,sizes:null,slot:null,span:I,spellCheck:de,src:null,srcDoc:null,srcLang:null,srcSet:null,start:I,step:null,style:null,tabIndex:I,target:null,title:null,translate:null,type:null,typeMustMatch:z,useMap:null,value:de,width:I,wrap:null,align:null,aLink:null,archive:oe,axis:null,background:null,bgColor:null,border:I,borderColor:null,bottomMargin:I,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:z,declare:z,event:null,face:null,frame:null,frameBorder:null,hSpace:I,leftMargin:I,link:null,longDesc:null,lowSrc:null,marginHeight:I,marginWidth:I,noResize:z,noHref:z,noShade:z,noWrap:z,object:null,profile:null,prompt:null,rev:null,rightMargin:I,rules:null,scheme:null,scrolling:de,standby:null,summary:null,text:null,topMargin:I,valueType:null,version:null,vAlign:null,vLink:null,vSpace:I,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:z,disableRemotePlayback:z,prefix:null,property:null,results:I,security:null,unselectable:null}}),v_=cn({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:hc,properties:{about:Me,accentHeight:I,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:I,amplitude:I,arabicForm:null,ascent:I,attributeName:null,attributeType:null,azimuth:I,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:I,by:null,calcMode:null,capHeight:I,className:oe,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:I,diffuseConstant:I,direction:null,display:null,dur:null,divisor:I,dominantBaseline:null,download:z,dx:null,dy:null,edgeMode:null,editable:null,elevation:I,enableBackground:null,end:null,event:null,exponent:I,externalResourcesRequired:null,fill:null,fillOpacity:I,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:Qt,g2:Qt,glyphName:Qt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:I,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:I,horizOriginX:I,horizOriginY:I,id:null,ideographic:I,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:I,k:I,k1:I,k2:I,k3:I,k4:I,kernelMatrix:Me,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:I,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:I,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:I,overlineThickness:I,paintOrder:null,panose1:null,path:null,pathLength:I,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:oe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:I,pointsAtY:I,pointsAtZ:I,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Me,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Me,rev:Me,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Me,requiredFeatures:Me,requiredFonts:Me,requiredFormats:Me,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:I,specularExponent:I,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:I,strikethroughThickness:I,string:null,stroke:null,strokeDashArray:Me,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:I,strokeOpacity:I,strokeWidth:null,style:null,surfaceScale:I,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Me,tabIndex:I,tableValues:null,target:null,targetX:I,targetY:I,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Me,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:I,underlineThickness:I,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:I,values:null,vAlphabetic:I,vMathematical:I,vectorEffect:null,vHanging:I,vIdeographic:I,version:null,vertAdvY:I,vertOriginX:I,vertOriginY:I,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:I,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),E_=/^data[-\w.:]+$/i,ji=/-[a-z]/g,w_=/[A-Z]/g;function R_(e,t){const n=$o(t);let r=t,o=He;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&E_.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(ji,P_);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!ji.test(s)){let i=s.replace(w_,T_);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}o=ws}return new o(r,t)}function T_(e){return"-"+e.toLowerCase()}function P_(e){return e.charAt(1).toUpperCase()}const A_=uc([pc,dc,_c,gc,b_],"html"),yc=uc([pc,dc,_c,gc,v_],"svg"),$i={}.hasOwnProperty;function C_(e,t){const n=t||{};function r(o,...s){let i=r.invalid;const l=r.handlers;if(o&&$i.call(o,e)){const a=String(o[e]);i=$i.call(l,a)?l[a]:r.unknown}if(i)return i.call(this,o,...s)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function S_(e,t){if(e=e.replace(t.subset?L_(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function n(o,s,i){return t.format((o.charCodeAt(0)-55296)*1024+o.charCodeAt(1)-56320+65536,i.charCodeAt(s+2),t)}function r(o,s,i){return t.format(o.charCodeAt(0),i.charCodeAt(s+1),t)}}function L_(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function O_(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function I_(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const x_=["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"],co={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:"€"},k_=["cent","copy","divide","gt","lt","not","para","times"],bc={}.hasOwnProperty,Fo={};let Jn;for(Jn in co)bc.call(co,Jn)&&(Fo[co[Jn]]=Jn);function N_(e,t,n,r){const o=String.fromCharCode(e);if(bc.call(Fo,o)){const s=Fo[o],i="&"+s;return n&&x_.includes(s)&&!k_.includes(s)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?i:i+";"}return""}function D_(e,t,n){let r=O_(e,t,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=N_(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const s=I_(e,t,n.omitOptionalSemicolons);s.length<r.length&&(r=s)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function Zt(e,t){return S_(e,Object.assign({format:D_},t))}const M_=/^>|^->|<!--|-->|--!>|<!-$/g,V_=[">"],B_=["<",">"];function j_(e,t,n,r){return r.settings.bogusComments?"<?"+Zt(e.value,Object.assign({},r.settings.characterReferences,{subset:V_}))+">":"<!--"+e.value.replace(M_,o)+"-->";function o(s){return Zt(s,Object.assign({},r.settings.characterReferences,{subset:B_}))}}function $_(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function Hi(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 H_(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function F_(e){return e.join(" ").trim()}const U_=/[ \t\n\f\r]/g;function Rs(e){return typeof e=="object"?e.type==="text"?Fi(e.value):!1:Fi(e)}function Fi(e){return e.replace(U_,"")===""}const me=Ec(1),vc=Ec(-1),G_=[];function Ec(e){return t;function t(n,r,o){const s=n?n.children:G_;let i=(r||0)+e,l=s[i];if(!o)for(;l&&Rs(l);)i+=e,l=s[i];return l}}const W_={}.hasOwnProperty;function wc(e){return t;function t(n,r,o){return W_.call(e,n.tagName)&&e[n.tagName](n,r,o)}}const Ts=wc({body:K_,caption:uo,colgroup:uo,dd:X_,dt:Y_,head:uo,html:q_,li:J_,optgroup:Q_,option:Z_,p:z_,rp:Ui,rt:Ui,tbody:tg,td:Gi,tfoot:ng,th:Gi,thead:eg,tr:rg});function uo(e,t,n){const r=me(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Rs(r.value.charAt(0)))}function q_(e,t,n){const r=me(n,t);return!r||r.type!=="comment"}function K_(e,t,n){const r=me(n,t);return!r||r.type!=="comment"}function z_(e,t,n){const r=me(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 J_(e,t,n){const r=me(n,t);return!r||r.type==="element"&&r.tagName==="li"}function Y_(e,t,n){const r=me(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function X_(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Ui(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function Q_(e,t,n){const r=me(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function Z_(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function eg(e,t,n){const r=me(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function tg(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function ng(e,t,n){return!me(n,t)}function rg(e,t,n){const r=me(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Gi(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const og=wc({body:lg,colgroup:ag,head:ig,html:sg,tbody:cg});function sg(e){const t=me(e,-1);return!t||t.type!=="comment"}function ig(e){const t=e.children,n=[];let r=-1;for(;++r<t.length;){const o=t[r];if(o.type==="element"&&(o.tagName==="title"||o.tagName==="base")){if(n.includes(o.tagName))return!1;n.push(o.tagName)}}return t.length>0}function lg(e){const t=me(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Rs(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function ag(e,t,n){const r=vc(n,t),o=me(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Ts(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function cg(e,t,n){const r=vc(n,t),o=me(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Ts(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const Yn={name:[[`
|
|
18
|
+
**/const Af="http://www.w3.org/2000/svg",Cf="http://www.w3.org/1998/Math/MathML",ht=typeof document<"u"?document:null,ei=ht&&ht.createElement("template"),Sf={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"?ht.createElementNS(Af,e):t==="mathml"?ht.createElementNS(Cf,e):ht.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>ht.createTextNode(e),createComment:e=>ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{ei.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const l=ei.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Lf=Symbol("_vtc");function Of(e,t,n){const r=e[Lf];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ti=Symbol("_vod"),If=Symbol("_vsh"),xf=Symbol(""),kf=/(^|;)\s*display\s*:/;function Nf(e,t,n){const r=e.style,o=ce(n);let s=!1;if(n&&!o){if(t)if(ce(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&tr(r,l,"")}else for(const i in t)n[i]==null&&tr(r,i,"");for(const i in n)i==="display"&&(s=!0),tr(r,i,n[i])}else if(o){if(t!==n){const i=r[xf];i&&(n+=";"+i),r.cssText=n,s=kf.test(n)}}else t&&e.removeAttribute("style");ti in e&&(e[ti]=s?r.display:"",e[If]&&(r.display="none"))}const ni=/\s*!important$/;function tr(e,t,n){if(W(n))n.forEach(r=>tr(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Df(e,t);ni.test(n)?e.setProperty(on(r),n.replace(ni,""),"important"):e[r]=n}}const ri=["Webkit","Moz","ms"],Qr={};function Df(e,t){const n=Qr[t];if(n)return n;let r=Qe(t);if(r!=="filter"&&r in e)return Qr[t]=r;r=Ir(r);for(let o=0;o<ri.length;o++){const s=ri[o]+r;if(s in e)return Qr[t]=s}return t}const oi="http://www.w3.org/1999/xlink";function Mf(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(oi,t.slice(6,t.length)):e.setAttributeNS(oi,t,n);else{const s=$c(t);n==null||s&&!Zi(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function Vf(e,t,n,r,o,s,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,o,s),e[t]=n??"";return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const c=l==="OPTION"?e.getAttribute("value")||"":e.value,u=n??"";(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let a=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Zi(n):n==null&&c==="string"?(n="",a=!0):c==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}function Bf(e,t,n,r){e.addEventListener(t,n,r)}function jf(e,t,n,r){e.removeEventListener(t,n,r)}const si=Symbol("_vei");function $f(e,t,n,r,o=null){const s=e[si]||(e[si]={}),i=s[t];if(r&&i)i.value=r;else{const[l,a]=Hf(t);if(r){const c=s[t]=Gf(r,o);Bf(e,l,c,a)}else i&&(jf(e,l,i,a),s[t]=void 0)}}const ii=/(?:Once|Passive|Capture)$/;function Hf(e){let t;if(ii.test(e)){t={};let r;for(;r=e.match(ii);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):on(e.slice(2)),t]}let Zr=0;const Ff=Promise.resolve(),Uf=()=>Zr||(Ff.then(()=>Zr=0),Zr=Date.now());function Gf(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;qe(Wf(r,n.value),t,5,[r])};return n.value=e,n.attached=Uf(),n}function Wf(e,t){if(W(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 li=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,qf=(e,t,n,r,o,s,i,l,a)=>{const c=o==="svg";t==="class"?Of(e,r,c):t==="style"?Nf(e,n,r):In(t)?Fo(t)||$f(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Kf(e,t,r,c))?Vf(e,t,r,s,i,l,a):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Mf(e,t,r,c))};function Kf(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&li(t)&&G(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 li(t)&&ce(n)?!1:t in e}const aa=ve({patchProp:qf},Sf);let yn,ai=!1;function zf(){return yn||(yn=df(aa))}function Jf(){return yn=ai?yn:pf(aa),ai=!0,yn}const Yf=(...e)=>{const t=zf().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=ua(r);if(!o)return;const s=t._component;!G(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,ca(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},Xf=(...e)=>{const t=Jf().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=ua(r);if(o)return n(o,!0,ca(o))},t};function ca(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ua(e){return ce(e)?document.querySelector(e):e}const Qf=/"(?:_|\\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*:/,Zf=/"(?: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*:/,ed=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function td(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){nd(e);return}return t}function nd(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function hr(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(!ed.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Qf.test(e)||Zf.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,td)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const rd=/#/g,od=/&/g,sd=/\//g,id=/=/g,cs=/\+/g,ld=/%5e/gi,ad=/%60/gi,cd=/%7c/gi,ud=/%20/gi;function fd(e){return encodeURI(""+e).replace(cd,"|")}function Ao(e){return fd(typeof e=="string"?e:JSON.stringify(e)).replace(cs,"%2B").replace(ud,"+").replace(rd,"%23").replace(od,"%26").replace(ad,"`").replace(ld,"^").replace(sd,"%2F")}function eo(e){return Ao(e).replace(id,"%3D")}function mr(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function dd(e){return mr(e.replace(cs," "))}function pd(e){return mr(e.replace(cs," "))}function us(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=dd(r[1]);if(o==="__proto__"||o==="constructor")continue;const s=pd(r[2]||"");t[o]===void 0?t[o]=s:Array.isArray(t[o])?t[o].push(s):t[o]=[t[o],s]}return t}function hd(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${eo(e)}=${Ao(n)}`).join("&"):`${eo(e)}=${Ao(t)}`:eo(e)}function fa(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>hd(t,e[t])).filter(Boolean).join("&")}const md=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,_d=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,gd=/^([/\\]\s*){2,}[^/\\]/,yd=/^[\s\0]*(blob|data|javascript|vbscript):$/i,bd=/\/$|\/\?|\/#/,vd=/^\.?\//;function Ed(e){return["./","../"].some(t=>e.startsWith(t))}function wt(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?md.test(e):_d.test(e)||(t.acceptRelative?gd.test(e):!1)}function wd(e){return!!e&&yd.test(e)}function Co(e="",t){return t?bd.test(e):e.endsWith("/")}function Br(e="",t){if(!t)return(Co(e)?e.slice(0,-1):e)||"/";if(!Co(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),r=e.slice(o));const[s,...i]=n.split("?");return((s.endsWith("/")?s.slice(0,-1):s)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function _r(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Co(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[s,...i]=n.split("?");return s+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function Rd(e=""){return e.startsWith("/")}function ci(e=""){return Rd(e)?e:"/"+e}function Td(e,t){if(pa(t)||wt(e))return e;const n=Br(t);return e.startsWith(n)?e:kn(n,e)}function Pd(e,t){if(pa(t))return e;const n=Br(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function da(e,t){const n=ln(e),r={...us(n.search),...t};return n.search=fa(r),_a(n)}function pa(e){return!e||e==="/"}function Ad(e){return e&&e!=="/"}function kn(e,...t){let n=e||"";for(const r of t.filter(o=>Ad(o)))if(n){const o=r.replace(vd,"");n=_r(n)+o}else n=r;return n}function ha(...e){var i,l,a,c;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const u of n)if(!(!u||u==="/")){for(const[f,d]of u.split(t).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&wt(r[0]))continue;r.pop(),o--;continue}if(f===1&&((i=r[r.length-1])!=null&&i.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),o++}}let s=r.join("/");return o>=0?(l=n[0])!=null&&l.startsWith("/")&&!s.startsWith("/")?s="/"+s:(a=n[0])!=null&&a.startsWith("./")&&!s.startsWith("./")&&(s="./"+s):s="../".repeat(-1*o)+s,(c=n[n.length-1])!=null&&c.endsWith("/")&&!s.endsWith("/")&&(s+="/"),s}function Cd(e,t,n={}){return n.trailingSlash||(e=_r(e),t=_r(t)),n.leadingSlash||(e=ci(e),t=ci(t)),n.encoding||(e=mr(e),t=mr(t)),e===t}const ma=Symbol.for("ufo:protocolRelative");function ln(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!wt(e,{acceptRelative:!0}))return t?ln(t+e):ui(e);const[,r="",o,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",l=""]=s.match(/([^#/?]*)(.*)?/)||[],{pathname:a,search:c,hash:u}=ui(l.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:a,search:c,hash:u,[ma]:!r}}function ui(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function _a(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol||e[ma]?(e.protocol||"")+"//":"")+o+s+t+n+r}class Sd extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function Ld(e){var a,c,u,f,d;const t=((a=e.error)==null?void 0:a.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=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,s=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${o}: ${s}${t?` ${t}`:""}`,l=new Sd(i,e.error?{cause:e.error}:void 0);for(const p of["request","options","response"])Object.defineProperty(l,p,{get(){return e[p]}});for(const[p,h]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(l,p,{get(){return e.response&&e.response[h]}});return l}const Od=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function fi(e="GET"){return Od.has(e.toUpperCase())}function Id(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 xd=new Set(["image/svg","application/xml","application/xhtml","application/html"]),kd=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Nd(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return kd.test(t)?"json":xd.has(t)||t.startsWith("text/")?"text":"blob"}function Dd(e,t,n=globalThis.Headers){const r={...t,...e};if(t!=null&&t.params&&(e!=null&&e.params)&&(r.params={...t==null?void 0:t.params,...e==null?void 0:e.params}),t!=null&&t.query&&(e!=null&&e.query)&&(r.query={...t==null?void 0:t.query,...e==null?void 0:e.query}),t!=null&&t.headers&&(e!=null&&e.headers)){r.headers=new n((t==null?void 0:t.headers)||{});for(const[o,s]of new n((e==null?void 0:e.headers)||{}))r.headers.set(o,s)}return r}const Md=new Set([408,409,425,429,500,502,503,504]),Vd=new Set([101,204,205,304]);function ga(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(l){const a=l.error&&l.error.name==="AbortError"&&!l.options.timeout||!1;if(l.options.retry!==!1&&!a){let u;typeof l.options.retry=="number"?u=l.options.retry:u=fi(l.options.method)?0:1;const f=l.response&&l.response.status||500;if(u>0&&(Array.isArray(l.options.retryStatusCodes)?l.options.retryStatusCodes.includes(f):Md.has(f))){const d=l.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),s(l.request,{...l.options,retry:u-1})}}const c=Ld(l);throw Error.captureStackTrace&&Error.captureStackTrace(c,s),c}const s=async function(a,c={}){var p;const u={request:a,options:Dd(c,e.defaults,n),response:void 0,error:void 0};u.options.method=(p=u.options.method)==null?void 0:p.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Td(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=da(u.request,{...u.options.params,...u.options.query}))),u.options.body&&fi(u.options.method)&&(Id(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 h=new r;f=setTimeout(()=>h.abort(),u.options.timeout),u.options.signal=h.signal}try{u.response=await t(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}finally{f&&clearTimeout(f)}if(u.response.body&&!Vd.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||Nd(u.response.headers.get("content-type")||"");switch(h){case"json":{const g=await u.response.text(),E=u.options.parseResponse||hr;u.response._data=E(g);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[h]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await o(u)):u.response},i=async function(a,c){return(await s(a,c))._data};return i.raw=s,i.native=(...l)=>t(...l),i.create=(l={})=>ga({...e,defaults:{...e.defaults,...l}}),i}const fs=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")}(),Bd=fs.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),jd=fs.Headers,$d=fs.AbortController,Hd=ga({fetch:Bd,Headers:jd,AbortController:$d}),Fd=Hd,Ud=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},gr=Ud().app,Gd=()=>gr.baseURL,Wd=()=>gr.buildAssetsDir,ds=(...e)=>ha(ya(),Wd(),...e),ya=(...e)=>{const t=gr.cdnURL||gr.baseURL;return e.length?ha(t,...e):t};globalThis.__buildAssetsURL=ds,globalThis.__publicAssetsURL=ya;globalThis.$fetch||(globalThis.$fetch=Fd.create({baseURL:Gd()}));function So(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?So(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const qd={run:e=>e()},Kd=()=>qd,ba=typeof console.createTask<"u"?console.createTask:Kd;function zd(e,t){const n=t.shift(),r=ba(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function Jd(e,t){const n=t.shift(),r=ba(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function to(e,t){for(const n of[...e])n(t)}class Yd{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 s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let i=s.message;i||(i=`${o} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}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=(...s)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...s));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=So(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=So(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(zd,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Jd,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&to(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&to(this._after,o)}):(this._after&&o&&to(this._after,o),s)}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 va(){return new Yd}function Xd(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let o;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?o=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>{if(o&&t===void 0){const i=o.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=s();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>s(),set:(i,l)=>{l||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,l)=>{r(i),t=i;try{return o?o.run(i,l):l()}finally{n||(t=void 0)}},async callAsync(i,l){t=i;const a=()=>{t=i},c=()=>t===i?a:void 0;Lo.add(c);try{const u=o?o.run(i,l):l();return n||(t=void 0),await u}finally{Lo.delete(c)}}}}function Qd(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Xd({...e,...r})),t[n],t[n]}}}const yr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},di="__unctx__",Zd=yr[di]||(yr[di]=Qd()),ep=(e,t={})=>Zd.get(e,t),pi="__unctx_async_handlers__",Lo=yr[pi]||(yr[pi]=new Set);function Ea(e){const t=[];for(const o of Lo){const s=o();s&&t.push(s)}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 wa=ep("nuxt-app",{asyncContext:!1}),tp="__nuxt_plugin";function np(e){let t=0;const n={_scope:Hc(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.11.2"},get vue(){return n.vueApp.version}},payload:Ze({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>sp(n,o)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=va(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,s)=>{const i="$"+o;qn(n,i,s),qn(n.vueApp.config.globalProperties,i,s)},qn(n.vueApp,"$nuxt",n),qn(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",s=>{n.callHook("app:chunkError",{error:s.payload})}),window.useNuxtApp=window.useNuxtApp||fe;const o=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",o)}const r=n.payload.config;return n.provide("config",r),n}async function rp(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),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 op(e,t){const n=[],r=[],o=[],s=[];let i=0;async function l(a){var u;const c=((u=a.dependsOn)==null?void 0:u.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(c.length>0)r.push([new Set(c),a]);else{const f=rp(e,a).then(async()=>{a._name&&(n.push(a._name),await Promise.all(r.map(async([d,p])=>{d.has(a._name)&&(d.delete(a._name),d.size===0&&(i++,await l(p)))})))});a.parallel?o.push(f.catch(d=>s.push(d))):await f}}for(const a of t)await l(a);if(await Promise.all(o),i)for(let a=0;a<i;a++)await Promise.all(o);if(s.length)throw s[0]}function lt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[tp]:!0,_name:t})}function sp(e,t,n){const r=()=>t();return wa.set(e),e.vueApp.runWithContext(r)}function ip(){var t;let e;return $l()&&(e=(t=oa())==null?void 0:t.appContext.app.$nuxt),e=e||wa.tryUse(),e||null}function fe(){const e=ip();if(!e)throw new Error("[nuxt] instance unavailable");return e}function An(e){return fe().$config}function qn(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function lp(e,t){return{ctx:{table:e},matchAll:n=>Ta(n,e)}}function Ra(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,Ra(o)])):new Map(Object.entries(e[n]));return t}function ap(e){return lp(Ra(e))}function Ta(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[s,i]of hi(t.wildcard))(e===s||e.startsWith(s+"/"))&&r.push(i);for(const[s,i]of hi(t.dynamic))if(e.startsWith(s+"/")){const l="/"+e.slice(s.length).split("/").splice(2).join("/");r.push(...Ta(l,i))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function hi(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function no(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 Oo(e,t,n=".",r){if(!no(t))return Oo(e,{},n,r);const o=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const i=e[s];i!=null&&(r&&r(o,s,i,n)||(Array.isArray(i)&&Array.isArray(o[s])?o[s]=[...i,...o[s]]:no(i)&&no(o[s])?o[s]=Oo(i,o[s],(n?`${n}.`:"")+s.toString(),r):o[s]=i))}return o}function Pa(e){return(...t)=>t.reduce((n,r)=>Oo(n,r,"",e),{})}const cp=Pa(),up=Pa((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function fp(e,t){try{return t in e}catch{return!1}}var dp=Object.defineProperty,pp=(e,t,n)=>t in e?dp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ct=(e,t,n)=>(pp(e,typeof t!="symbol"?t+"":t,n),n);class Io extends Error{constructor(t,n={}){super(t,n),Ct(this,"statusCode",500),Ct(this,"fatal",!1),Ct(this,"unhandled",!1),Ct(this,"statusMessage"),Ct(this,"data"),Ct(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:xo(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Aa(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Ct(Io,"__h3_error__",!0);function hp(e){if(typeof e=="string")return new Io(e);if(mp(e))return e;const t=new Io(e.message??e.statusMessage??"",{cause:e.cause||e});if(fp(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=xo(e.statusCode,t.statusCode):e.status&&(t.statusCode=xo(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Aa(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 mp(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const _p=/[^\u0009\u0020-\u007E]/g;function Aa(e=""){return e.replace(_p,"")}function xo(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Ca=Symbol("route"),Rt=()=>{var e;return(e=fe())==null?void 0:e.$router},Sa=()=>$l()?_n(Ca,fe()._route):fe()._route;const gp=()=>{try{if(fe()._processingMiddleware)return!0}catch{return!1}return!1},La=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:da(e.path||"/",e.query||{})+(e.hash||"");if(t!=null&&t.open){const{target:l="_blank",windowFeatures:a={}}=t.open,c=Object.entries(a).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");return open(n,l,c),Promise.resolve()}const r=(t==null?void 0:t.external)||wt(n,{acceptRelative:!0});if(r){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const l=ln(n).protocol;if(l&&wd(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const o=gp();if(!r&&o)return e;const s=Rt(),i=fe();return r?(i._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,o?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)},Oa="__nuxt_error",ps=()=>vl(fe().payload,"error"),yp=e=>{const t=hs(e);try{const n=fe(),r=ps();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},bp=async(e={})=>{const t=fe(),n=ps();t.callHook("app:error:cleared",e),e.redirect&&await Rt().replace(e.redirect),n.value=null},vp=e=>!!e&&typeof e=="object"&&Oa in e,hs=e=>{const t=hp(e);return Object.defineProperty(t,Oa,{value:!0,configurable:!1,writable:!1}),t},Ep="modulepreload",wp=function(e,t){return e[0]==="."?new URL(e,t).href:e},mi={},Rp=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),l=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));o=Promise.all(n.map(a=>{if(a=wp(a,r),a in mi)return;mi[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let p=s.length-1;p>=0;p--){const h=s[p];if(h.href===a&&(!c||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":Ep,c||(d.as="script",d.crossOrigin=""),d.href=a,l&&d.setAttribute("nonce",l),document.head.appendChild(d),c)return new Promise((p,h)=>{d.addEventListener("load",p),d.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})}))}return o.then(()=>t()).catch(s=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s})},m=(...e)=>Rp(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Tp=-1,Pp=-2,Ap=-3,Cp=-4,Sp=-5,Lp=-6;function Op(e,t){return Ip(JSON.parse(e),t)}function Ip(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(s,i=!1){if(s===Tp)return;if(s===Ap)return NaN;if(s===Cp)return 1/0;if(s===Sp)return-1/0;if(s===Lp)return-0;if(i)throw new Error("Invalid input");if(s in r)return r[s];const l=n[s];if(!l||typeof l!="object")r[s]=l;else if(Array.isArray(l))if(typeof l[0]=="string"){const a=l[0],c=t==null?void 0:t[a];if(c)return r[s]=c(o(l[1]));switch(a){case"Date":r[s]=new Date(l[1]);break;case"Set":const u=new Set;r[s]=u;for(let p=1;p<l.length;p+=1)u.add(o(l[p]));break;case"Map":const f=new Map;r[s]=f;for(let p=1;p<l.length;p+=2)f.set(o(l[p]),o(l[p+1]));break;case"RegExp":r[s]=new RegExp(l[1],l[2]);break;case"Object":r[s]=Object(l[1]);break;case"BigInt":r[s]=BigInt(l[1]);break;case"null":const d=Object.create(null);r[s]=d;for(let p=1;p<l.length;p+=2)d[l[p]]=o(l[p+1]);break;default:throw new Error(`Unknown type ${a}`)}}else{const a=new Array(l.length);r[s]=a;for(let c=0;c<l.length;c+=1){const u=l[c];u!==Pp&&(a[c]=o(u))}}else{const a={};r[s]=a;for(const c in l){const u=l[c];a[c]=o(u)}}return r[s]}return o(0)}function xp(e){return Array.isArray(e)?e:[e]}const kp=["title","titleTemplate","script","style","noscript"],nr=["base","meta","link","style","script","noscript"],Np=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],Dp=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],Ia=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],Mp=typeof window<"u";function ms(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 _i(e){return e._h||ms(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function xa(e,t){const{props:n,tag:r}=e;if(Dp.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];r==="meta"&&o.push("name","property","http-equiv");for(const s of o)if(typeof n[s]<"u"){const i=String(n[s]);return`${r}:${s}:${i}`}return!1}function gi(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Vp(e,t,n){const r={tag:e,props:await ka(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return Ia.forEach(o=>{const s=typeof r.props[o]<"u"?r.props[o]:n[o];typeof s<"u"&&((!["innerHTML","textContent","children"].includes(o)||kp.includes(r.tag))&&(r[o==="children"?"innerHTML":o]=s),delete r.props[o])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function Bp(e,t){var r;const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,o])=>o).map(([o,s])=>e==="style"?`${o}:${s}`:o)),(r=Array.isArray(t)?t.join(n):t)==null?void 0:r.split(n).filter(o=>o.trim()).filter(Boolean).join(n)}async function ka(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=Bp(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!Ia.includes(n)){const r=String(e[n]),o=n.startsWith("data-");r==="true"||r===""?e[n]=o?"true":!0:e[n]||(o&&r==="false"?e[n]="false":delete e[n])}}return e}const jp=10;async function $p(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&Np.includes(n)).forEach(([n,r])=>{const o=xp(r);t.push(...o.map(s=>Vp(n,s,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<jp)+r,n))}const yi={base:-10,title:10},bi={critical:-80,high:-10,low:20};function br(e){let t=100;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props["http-equiv"]==="content-security-policy"&&(t=-30),e.props.charset&&(t=-20),e.props.name==="viewport"&&(t=-15)):e.tag==="link"&&e.props.rel==="preconnect"?t=20:e.tag in yi&&(t=yi[e.tag]),typeof n=="string"&&n in bi?t+bi[n]:t)}const Hp=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],vi=["onload","onerror","onabort","onprogress","onloadstart"],ft="%separator";function rr(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function r(i){let l;return["s","pageTitle"].includes(i)?l=t.pageTitle:i.includes(".")?l=i.split(".").reduce((a,c)=>a&&a[c]||void 0,t):l=t[i],typeof l<"u"?(l||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const l=r(i.slice(1));typeof l=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(a,c)=>`${l}${c}`).trim())}),e.includes(ft)&&(e.endsWith(ft)&&(e=e.slice(0,-ft.length).trim()),e.startsWith(ft)&&(e=e.slice(ft.length).trim()),e=e.replace(new RegExp(`\\${ft}\\s*\\${ft}`,"g"),ft),e=rr(e,{separator:n},n)),e}async function Fp(e,t={}){var u;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;const o=(await e.resolveTags()).map(f=>({tag:f,id:nr.includes(f.tag)?_i(f):f.tag,shouldRender:!0}));let s=e._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n[f])==null?void 0:u.children,p=[];for(const h of[...d].filter(g=>nr.includes(g.tagName.toLowerCase()))){const g={tag:h.tagName.toLowerCase(),props:await ka(h.getAttributeNames().reduce((P,v)=>({...P,[v]:h.getAttribute(v)}),{})),innerHTML:h.innerHTML};let E=1,w=xa(g);for(;w&&p.find(P=>P._d===w);)w=`${w}:${E++}`;g._d=w||void 0,p.push(g),s.elMap[h.getAttribute("data-hid")||_i(g)]=h}}}s.pendingSideEffects={...s.sideEffects||{}},s.sideEffects={};function i(f,d,p){const h=`${f}:${d}`;s.sideEffects[h]=p,delete s.pendingSideEffects[h]}function l({id:f,$el:d,tag:p}){const h=p.tag.endsWith("Attrs");s.elMap[f]=d,h||(["textContent","innerHTML"].forEach(g=>{p[g]&&p[g]!==d[g]&&(d[g]=p[g])}),i(f,"el",()=>{var g;(g=s.elMap[f])==null||g.remove(),delete s.elMap[f]}));for(const[g,E]of Object.entries(p._eventHandlers||{}))d.getAttribute(`data-${g}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:d).addEventListener(g.replace("on",""),E.bind(d)),d.setAttribute(`data-${g}`,""));Object.entries(p.props).forEach(([g,E])=>{const w=`attr:${g}`;if(g==="class")for(const P of(E||"").split(" ").filter(Boolean))h&&i(f,`${w}:${P}`,()=>d.classList.remove(P)),!d.classList.contains(P)&&d.classList.add(P);else if(g==="style")for(const P of(E||"").split(";").filter(Boolean)){const[v,...C]=P.split(":").map(T=>T.trim());i(f,`${w}:${P}:${v}`,()=>{d.style.removeProperty(v)}),d.style.setProperty(v,C.join(":"))}else d.getAttribute(g)!==E&&d.setAttribute(g,E===!0?"":String(E)),h&&i(f,w,()=>d.removeAttribute(g))})}const a=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:p,id:h}=f;if(p){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||s.elMap[h],f.$el?l(f):nr.includes(d.tag)&&a.push(f)}}for(const f of a){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),l(f),c[d]=c[d]||n.createDocumentFragment(),c[d].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,i);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose),Object.values(s.pendingSideEffects).forEach(f=>f()),e._dom=s,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function Up(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await Fp(e,t),delete e._domUpdatePromise,r()}))}function Gp(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":function(s){Up(s,e)}}}}}const Wp=["templateParams","htmlAttrs","bodyAttrs"],qp={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=xa(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const o=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,s=t[o];if(s){let l=r==null?void 0:r.tagDuplicateStrategy;if(!l&&Wp.includes(r.tag)&&(l="merge"),l==="merge"){const a=s.props;["class","style"].forEach(c=>{a[c]&&(r.props[c]?(c==="style"&&!a[c].endsWith(";")&&(a[c]+=";"),r.props[c]=`${a[c]} ${r.props[c]}`):r.props[c]=a[c])}),t[o].props={...a,...r.props};return}else if(r._e===s._e){s._duped=s._duped||[],r._d=`${s._d}:${s._duped.length+1}`,s._duped.push(r);return}else if(br(r)>br(s))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(nr.includes(r.tag)&&i===0){delete t[o];return}t[o]=r});const n=[];Object.values(t).forEach(r=>{const o=r._duped;delete r._duped,n.push(r),o&&n.push(...o)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},Kp={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},zp=["script","link","bodyAttrs"],Jp=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>zp.includes(r.tag)))Object.entries(n.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"&&(e.ssr&&vi.includes(r)?n.props[r]=`this.dataset.${r}fired = true`:delete n.props[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=o)}),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||ms(n.props.src||n.props.href))},"dom:renderTag":function({$el:t,tag:n}){var r,o;for(const s of Object.keys((t==null?void 0:t.dataset)||{}).filter(i=>vi.some(l=>`${l}fired`===i))){const i=s.replace("fired","");(o=(r=n._eventHandlers)==null?void 0:r[i])==null||o.call(t,new Event(i.replace("on","")))}}}}),Yp=["link","style","script","noscript"],Xp={hooks:{"tag:normalise":({tag:e})=>{e.key&&Yp.includes(e.tag)&&(e.props["data-hid"]=e._h=ms(e.key))}}},Qp={hooks:{"tags:resolve":e=>{const t=n=>{var r;return(r=e.tags.find(o=>o._d===n))==null?void 0:r._p};for(const{prefix:n,offset:r}of Hp)for(const o of e.tags.filter(s=>typeof s.tagPriority=="string"&&s.tagPriority.startsWith(n))){const s=t(o.tagPriority.replace(n,""));typeof s<"u"&&(o._p=s+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>br(n)-br(r))}}},Zp={meta:"content",link:"href",htmlAttrs:"lang"},eh=e=>({hooks:{"tags:resolve":t=>{var l;const{tags:n}=t,r=(l=n.find(a=>a.tag==="title"))==null?void 0:l.textContent,o=n.findIndex(a=>a.tag==="templateParams"),s=o!==-1?n[o].props:{},i=s.separator||"|";delete s.separator,s.pageTitle=rr(s.pageTitle||r||"",s,i);for(const a of n.filter(c=>c.processTemplateParams!==!1)){const c=Zp[a.tag];c&&typeof a.props[c]=="string"?a.props[c]=rr(a.props[c],s,i):(a.processTemplateParams===!0||["titleTemplate","title"].includes(a.tag))&&["innerHTML","textContent"].forEach(u=>{typeof a[u]=="string"&&(a[u]=rr(a[u],s,i))})}e._templateParams=s,e._separator=i,t.tags=n.filter(a=>a.tag!=="templateParams")}}}),th={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const r=t.findIndex(o=>o.tag==="title");if(r!==-1&&n!==-1){const o=gi(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=gi(t[n].textContent);o!==null&&(t[n].textContent=o,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},nh={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};function rh(e={}){const t=oh(e);return t.use(Gp()),t}function Ei(e,t){return!e||e==="server"&&t||e==="client"&&!t}function oh(e={}){const t=va();t.addHooks(e.hooks||{}),e.document=e.document||(Mp?document:void 0);const n=!e.document,r=()=>{l.dirty=!0,t.callHook("entries:updated",l)};let o=0,s=[];const i=[],l={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return s},use(a){const c=typeof a=="function"?a(l):a;(!c.key||!i.some(u=>u.key===c.key))&&(i.push(c),Ei(c.mode,n)&&t.addHooks(c.hooks||{}))},push(a,c){c==null||delete c.head;const u={_i:o++,input:a,...c};return Ei(u.mode,n)&&(s.push(u),r()),{dispose(){s=s.filter(f=>f._i!==u._i),t.callHook("entries:updated",l),r()},patch(f){s=s.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const a={tags:[],entries:[...s]};await t.callHook("entries:resolve",a);for(const c of a.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await $p(c)){const d={tag:f,entry:c,resolvedOptions:l.resolvedOptions};await t.callHook("tag:normalise",d),a.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",a),await t.callHook("tags:resolve",a),await t.callHook("tags:afterResolve",a),a.tags},ssr:n};return[qp,Kp,Jp,Xp,Qp,eh,th,nh,...(e==null?void 0:e.plugins)||[]].forEach(a=>l.use(a)),l.hooks.callHook("init",l),l}const sh=la.startsWith("3");function ih(e){return typeof e=="function"?e():se(e)}function ko(e,t=""){if(e instanceof Promise)return e;const n=ih(e);return!e||!n?n:Array.isArray(n)?n.map(r=>ko(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,se(o)]:[r,ko(o,r)])):n}const lh={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=ko(t.input)}}},ah="usehead";function ch(e){return{install(n){sh&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(ah,e))}}.install}function uh(e={}){e.domDelayFn=e.domDelayFn||(n=>es(()=>setTimeout(()=>n(),0)));const t=rh(e);return t.use(lh),t.install=ch(t),t}const fh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},dh="__unhead_injection_handler__";function ph(e){fh[dh]=e}const hh={nuxt:{buildId:"42eedd27-01ea-43c5-acca-daf3456cac3d"}},mh=up(hh);function Na(){const e=fe();return e._appConfig||(e._appConfig=Ze(mh)),e._appConfig}const _h={componentName:"NuxtLink"},gh="#__nuxt";let or,Da;function yh(){var t;const e=(t=Na().nuxt)==null?void 0:t.buildId;return or=$fetch(ds(`builds/meta/${e}.json`)),or.then(n=>{Da=ap(n.matcher)}),or}function jr(){return or||yh()}async function _s(e){return await jr(),cp({},...Da.matchAll(e).reverse())}function wi(e,t={}){const n=vh(e,t),r=fe(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=Eh(e).then(s=>s?Ma(n).then(i=>i||(delete o[n],null)):(o[n]=null,null))),o[n]}const bh="_payload.json";function vh(e,t={}){var o;const n=new URL(e,"http://localhost");if(n.host!=="localhost"||wt(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():(o=Na().nuxt)==null?void 0:o.buildId);return kn(An().app.baseURL,n.pathname,bh+(r?`?${r}`:""))}async function Ma(e){const t=fetch(e).then(n=>n.text().then(Va));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Eh(e=Sa().path){if(e=Br(e),(await jr()).prerendered.includes(e))return!0;const n=await _s(e);return!!n.prerender&&!n.redirect}let Kn=null;async function wh(){if(Kn)return Kn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Va(e.textContent||""),n=e.dataset.src?await Ma(e.dataset.src):void 0;return Kn={...t,...n,...window.__NUXT__},Kn}async function Va(e){return await Op(e,fe()._payloadRevivers)}function Rh(e,t){fe()._payloadRevivers[e]=t}const Ri={NuxtError:e=>hs(e),EmptyShallowRef:e=>Ms(e==="_"?void 0:e==="0n"?BigInt(0):hr(e)),EmptyRef:e=>We(e==="_"?void 0:e==="0n"?BigInt(0):hr(e)),ShallowRef:e=>Ms(e),ShallowReactive:e=>pl(e),Ref:e=>We(e),Reactive:e=>Ze(e)},Th=lt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Ri)Rh(r,Ri[r]);Object.assign(e.payload,([t,n]=Ea(()=>e.runWithContext(wh)),t=await t,n(),t)),window.__NUXT__=e.payload}}),ro=["base","meta","link","style","script","noscript"],Ph=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],Ah=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"];function Ch(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 Ti(e){return e._h||Ch(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function Sh(e,t){const{props:n,tag:r}=e;if(Ph.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];r==="meta"&&o.push("name","property","http-equiv");for(const s of o)if(typeof n[s]<"u"){const i=String(n[s]);return`${r}:${s}:${i}`}return!1}function Lh(e,t){var r;const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,o])=>o).map(([o,s])=>e==="style"?`${o}:${s}`:o)),(r=Array.isArray(t)?t.join(n):t)==null?void 0:r.split(n).filter(o=>o.trim()).filter(Boolean).join(n)}async function Oh(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=Lh(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!Ah.includes(n)){const r=String(e[n]),o=n.startsWith("data-");r==="true"||r===""?e[n]=o?"true":!0:e[n]||(o&&r==="false"?e[n]="false":delete e[n])}}return e}async function Ih(e,t={}){var u;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;const o=(await e.resolveTags()).map(f=>({tag:f,id:ro.includes(f.tag)?Ti(f):f.tag,shouldRender:!0}));let s=e._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const f of["body","head"]){const d=(u=n[f])==null?void 0:u.children,p=[];for(const h of[...d].filter(g=>ro.includes(g.tagName.toLowerCase()))){const g={tag:h.tagName.toLowerCase(),props:await Oh(h.getAttributeNames().reduce((P,v)=>({...P,[v]:h.getAttribute(v)}),{})),innerHTML:h.innerHTML};let E=1,w=Sh(g);for(;w&&p.find(P=>P._d===w);)w=`${w}:${E++}`;g._d=w||void 0,p.push(g),s.elMap[h.getAttribute("data-hid")||Ti(g)]=h}}}s.pendingSideEffects={...s.sideEffects||{}},s.sideEffects={};function i(f,d,p){const h=`${f}:${d}`;s.sideEffects[h]=p,delete s.pendingSideEffects[h]}function l({id:f,$el:d,tag:p}){const h=p.tag.endsWith("Attrs");s.elMap[f]=d,h||(["textContent","innerHTML"].forEach(g=>{p[g]&&p[g]!==d[g]&&(d[g]=p[g])}),i(f,"el",()=>{var g;(g=s.elMap[f])==null||g.remove(),delete s.elMap[f]}));for(const[g,E]of Object.entries(p._eventHandlers||{}))d.getAttribute(`data-${g}`)!==""&&((p.tag==="bodyAttrs"?n.defaultView:d).addEventListener(g.replace("on",""),E.bind(d)),d.setAttribute(`data-${g}`,""));Object.entries(p.props).forEach(([g,E])=>{const w=`attr:${g}`;if(g==="class")for(const P of(E||"").split(" ").filter(Boolean))h&&i(f,`${w}:${P}`,()=>d.classList.remove(P)),!d.classList.contains(P)&&d.classList.add(P);else if(g==="style")for(const P of(E||"").split(";").filter(Boolean)){const[v,...C]=P.split(":").map(T=>T.trim());i(f,`${w}:${P}:${v}`,()=>{d.style.removeProperty(v)}),d.style.setProperty(v,C.join(":"))}else d.getAttribute(g)!==E&&d.setAttribute(g,E===!0?"":String(E)),h&&i(f,w,()=>d.removeAttribute(g))})}const a=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const f of o){const{tag:d,shouldRender:p,id:h}=f;if(p){if(d.tag==="title"){n.title=d.textContent;continue}f.$el=f.$el||s.elMap[h],f.$el?l(f):ro.includes(d.tag)&&a.push(f)}}for(const f of a){const d=f.tag.tagPosition||"head";f.$el=n.createElement(f.tag.tag),l(f),c[d]=c[d]||n.createDocumentFragment(),c[d].appendChild(f.$el)}for(const f of o)await e.hooks.callHook("dom:renderTag",f,n,i);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose),Object.values(s.pendingSideEffects).forEach(f=>f()),e._dom=s,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}const xh=[],kh=lt({name:"nuxt:head",enforce:"pre",setup(e){const t=uh({plugins:xh});ph(()=>fe().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Ih(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)}}}),Nh=async e=>{let t,n;const r=([t,n]=Ea(()=>_s(e.path)),t=await t,n(),t);if(r.redirect)return wt(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},Dh=[Nh];function oo(e){typeof e=="object"&&(e=_a({pathname:e.path||"",search:fa(e.query||{}),hash:e.hash||""}));const t=ln(e.toString());return{path:t.pathname,fullPath:e,query:us(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const Mh=lt({name:"nuxt:router",enforce:"pre",setup(e){const t=Pd(window.location.pathname,An().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},o=(f,d)=>(r[f].push(d),()=>r[f].splice(r[f].indexOf(d),1)),s=An().app.baseURL,i=Ze(oo(t));async function l(f,d){try{const p=oo(f);for(const h of r["navigate:before"]){const g=await h(p,i);if(g===!1||g instanceof Error)return;if(typeof g=="string"&&g.length)return l(g,!0)}for(const h of r["resolve:before"])await h(p,i);Object.assign(i,p),window.history[d?"replaceState":"pushState"]({},"",kn(s,p.fullPath)),e.isHydrating||await e.runWithContext(bp);for(const h of r["navigate:after"])await h(p,i)}catch(p){for(const h of r.error)await h(p)}}const c={currentRoute:_t(()=>i),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:f=>l(f,!1),replace:f=>l(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:oo,addRoute:(f,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:f=>n.some(d=>d.name===f),removeRoute:f=>{const d=n.findIndex(p=>p.name===f);d!==-1&&n.splice(d,1)}};e.vueApp.component("RouterLink",Bt({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:d})=>{const p=()=>l(f.to,f.replace);return()=>{var g;const h=c.resolve(f.to);return f.custom?(g=d.default)==null?void 0:g.call(d,{href:f.to,navigate:p,route:h}):Po("a",{href:f.to,onClick:E=>(E.preventDefault(),p())},d)}}})),window.addEventListener("popstate",f=>{const d=f.target.location;c.replace(d.href.replace(d.origin,""))}),e._route=i,e._middleware=e._middleware||{global:[],named:{}};const u=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(f,d)=>{f.meta=Ze(f.meta||{}),e.isHydrating&&u&&!Zt(f.meta.layout)&&(f.meta.layout=u),e._processingMiddleware=!0;{const p=new Set([...Dh,...e._middleware.global]);{const h=await e.runWithContext(()=>_s(f.path));if(h.appMiddleware)for(const g in h.appMiddleware){const E=e._middleware.named[g];if(!E)return;h.appMiddleware[g]?p.add(E):p.delete(E)}}for(const h of p){const g=await e.runWithContext(()=>h(f,d));if(g!==!0&&(g||g===!1))return g}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),Cd(i.fullPath,t)||await e.runWithContext(()=>La(i.fullPath))}),{provide:{route:i,router:c}}}}),No=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Vh=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),gs=e=>{const t=fe();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{No(e)}):No(e)},Bh=lt({name:"nuxt:payload",setup(e){Rt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await wi(t.path);r&&Object.assign(e.static.data,r.data)}),gs(()=>{var t;e.hooks.hook("link:prefetch",async n=>{ln(n).protocol||await wi(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(jr,1e3)})}}),jh=lt(e=>{let t;async function n(){const r=await jr();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);try{const o=await $fetch(ds("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}gs(()=>{t=setTimeout(n,1e3*60*60)})}),$h=lt({name:"nuxt:global-components"}),Hh="$s";function Fh(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o=Hh+n,s=fe(),i=vl(s.payload.state,o);if(i.value===void 0&&r){const l=r();if(Te(l))return s.payload.state[o]=l,l;i.value=l}return i}const Uh="__NUXT_COLOR_MODE__",Gh="nuxt-color-mode",nt=window[Uh]||{},Wh=lt(e=>{const t=Fh("color-mode",()=>Ze({preference:nt.preference,value:nt.value,unknown:!1,forced:!1})).value;Rt().afterEach(o=>{const s=o.meta.colorMode;s&&s!=="system"?(t.value=s,t.forced=!0):(s==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?nt.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=nt.getColorScheme())}))}hn(()=>t.preference,o=>{var s;t.forced||(o==="system"?(t.value=nt.getColorScheme(),r()):t.value=o,(s=window.localStorage)==null||s.setItem(Gh,o))},{immediate:!0}),hn(()=>t.value,(o,s)=>{nt.removeColorScheme(s),nt.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=nt.preference,t.value=nt.value,t.unknown=!1)}),e.provide("colorMode",t)}),qh=lt(()=>{});function Kh(e={}){const t=e.path||window.location.pathname;let n={};try{n=hr(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:fe().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const zh=lt({name:"nuxt:chunk-reload",setup(e){const t=Rt(),n=An(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)});function o(s){const l="href"in s&&s.href[0]==="#"?n.app.baseURL+s.href:kn(n.app.baseURL,s.fullPath);Kh({path:l,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((s,i)=>{r.has(s)&&o(i)})}}),Jh=[Th,kh,Mh,Bh,jh,$h,Wh,qh,zh],Yh=Bt({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(te(),Se("div",{class:Vt(["n-icon",t.icon])},null,2))}});async function Ba(e,t=Rt()){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(()=>Ba(e,t));t._routePreloaded.add(n);const s=r.map(i=>{var l;return(l=i.components)==null?void 0:l.default}).filter(i=>typeof i=="function");for(const i of s){const l=Promise.resolve(i()).catch(()=>{}).finally(()=>o.splice(o.indexOf(l)));o.push(l)}await Promise.all(o)}const Xh=(...e)=>e.find(t=>t!==void 0);function Qh(e){const t=e.componentName||"NuxtLink";function n(r,o){if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;if(typeof r=="string")return Pi(r,e.trailingSlash);const s="path"in r&&r.path!==void 0?r.path:o(r).path;return{...r,name:void 0,path:Pi(s,e.trailingSlash)}}return Bt({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},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}},setup(r,{slots:o}){const s=Rt(),i=An(),l=_t(()=>{const h=r.to||r.href||"";return n(h,s.resolve)}),a=_t(()=>typeof l.value=="string"&&wt(l.value,{acceptRelative:!0})),c=_t(()=>r.target&&r.target!=="_self"),u=_t(()=>r.external||c.value?!0:typeof l.value=="object"?!1:l.value===""||a.value),f=We(!1),d=We(null),p=h=>{var g;d.value=r.custom?(g=h==null?void 0:h.$el)==null?void 0:g.nextElementSibling:h==null?void 0:h.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!tm()){const g=fe();let E,w=null;xl(()=>{const P=em();gs(()=>{E=No(()=>{var v;(v=d==null?void 0:d.value)!=null&&v.tagName&&(w=P.observe(d.value,async()=>{w==null||w(),w=null;const C=typeof l.value=="string"?l.value:s.resolve(l.value).fullPath;await Promise.all([g.hooks.callHook("link:prefetch",C).catch(()=>{}),!u.value&&Ba(l.value,s).catch(()=>{})]),f.value=!0}))})})}),kl(()=>{E&&Vh(E),w==null||w(),w=null})}return()=>{var w,P;if(!u.value){const v={ref:p,to:l.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(f.value&&(v.class=r.prefetchedClass||e.prefetchedClass),v.rel=r.rel||void 0),Po(Cu("RouterLink"),v,o.default)}const h=typeof l.value=="object"?((w=s.resolve(l.value))==null?void 0:w.href)??null:l.value&&!r.external&&!a.value?n(kn(i.app.baseURL,l.value),s.resolve):l.value||null,g=r.target||null,E=Xh(r.noRel?"":r.rel,e.externalRelAttribute,a.value||c.value?"noopener noreferrer":"")||null;if(r.custom){if(!o.default)return null;const v=()=>La(h,{replace:r.replace,external:r.external});return o.default({href:h,navigate:v,get route(){if(!h)return;const C=ln(h);return{path:C.pathname,fullPath:C.pathname,get query(){return us(C.search)},hash:C.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:h}},rel:E,target:g,isExternal:u.value,isActive:!1,isExactActive:!1})}return Po("a",{ref:d,href:h,rel:E,target:g},(P=o.default)==null?void 0:P.call(o))}}})}const Zh=Qh(_h);function Pi(e,t){const n=t==="append"?_r:Br;return wt(e)&&!e.startsWith("http")?e:n(e,!0)}function em(){const e=fe();if(e._observer)return e._observer;let t=null;const n=new Map,r=(s,i)=>(t||(t=new IntersectionObserver(l=>{for(const a of l){const c=n.get(a.target);(a.isIntersecting||a.intersectionRatio>0)&&c&&c()}})),n.set(s,i),t.observe(s),()=>{n.delete(s),t.unobserve(s),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function tm(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const nm=Bt({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(e){return(t,n)=>{const r=Yh;return te(),ke(Cl(t.to?se(Zh):"button"),ra({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:Rn(()=>[Us(t.$slots,"icon",{},()=>[t.icon?(te(),ke(r,{key:0,icon:t.icon,class:Vt({"n-button-icon":t.$slots.default})},null,8,["icon","class"])):At("",!0)]),Us(t.$slots,"default")]),_:3},16,["to","class"])}}}),ja=[{id:"abap",name:"ABAP",import:()=>m(()=>import("./DXFkqnOI.js"),[],import.meta.url)},{id:"actionscript-3",name:"ActionScript",import:()=>m(()=>import("./D6NljDpC.js"),[],import.meta.url)},{id:"ada",name:"Ada",import:()=>m(()=>import("./CowR2XfX.js"),[],import.meta.url)},{id:"angular-html",name:"Angular HTML",import:()=>m(()=>import("./DsudziMp.js").then(e=>e.e),__vite__mapDeps([0,1,2,3]),import.meta.url)},{id:"angular-ts",name:"Angular TypeScript",import:()=>m(()=>import("./B9E_xdxs.js"),__vite__mapDeps([4,0,1,2,3,5]),import.meta.url)},{id:"apache",name:"Apache Conf",import:()=>m(()=>import("./rS0jd3Ly.js"),[],import.meta.url)},{id:"apex",name:"Apex",import:()=>m(()=>import("./Sfo2eW0G.js"),[],import.meta.url)},{id:"apl",name:"APL",import:()=>m(()=>import("./DC4hdoM9.js"),__vite__mapDeps([6,1,2,3,7,8,9]),import.meta.url)},{id:"applescript",name:"AppleScript",import:()=>m(()=>import("./B4yE-MfL.js"),[],import.meta.url)},{id:"ara",name:"Ara",import:()=>m(()=>import("./CG4fK2Nq.js"),[],import.meta.url)},{id:"asm",name:"Assembly",import:()=>m(()=>import("./PWN5J14X.js"),[],import.meta.url)},{id:"astro",name:"Astro",import:()=>m(()=>import("./BXR915QZ.js"),__vite__mapDeps([10,9,2,11,12,13,3,5,14,15,16]),import.meta.url)},{id:"awk",name:"AWK",import:()=>m(()=>import("./i0IPvypD.js"),[],import.meta.url)},{id:"ballerina",name:"Ballerina",import:()=>m(()=>import("./T9ysyp6P.js"),[],import.meta.url)},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>m(()=>import("./BPiaQZfK.js"),[],import.meta.url)},{id:"beancount",name:"Beancount",import:()=>m(()=>import("./Urb1RsFe.js"),[],import.meta.url)},{id:"berry",name:"Berry",aliases:["be"],import:()=>m(()=>import("./CxrokwfH.js"),[],import.meta.url)},{id:"bibtex",name:"BibTeX",import:()=>m(()=>import("./BaedD2tq.js"),[],import.meta.url)},{id:"bicep",name:"Bicep",import:()=>m(()=>import("./3ghuYFLd.js"),[],import.meta.url)},{id:"blade",name:"Blade",import:()=>m(()=>import("./C1DVX8_8.js"),__vite__mapDeps([17,1,2,3,7,8,18,9]),import.meta.url)},{id:"c",name:"C",import:()=>m(()=>import("./RCJZWN-0.js"),[],import.meta.url)},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>m(()=>import("./Bgpqy2XC.js"),[],import.meta.url)},{id:"clarity",name:"Clarity",import:()=>m(()=>import("./CIekO_uJ.js"),[],import.meta.url)},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>m(()=>import("./BF6G6X0H.js"),[],import.meta.url)},{id:"cmake",name:"CMake",import:()=>m(()=>import("./DXZpi2gR.js"),[],import.meta.url)},{id:"cobol",name:"COBOL",import:()=>m(()=>import("./Cgl53LJQ.js"),__vite__mapDeps([19,18,1,2,3,8]),import.meta.url)},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>m(()=>import("./BOpLLL-w.js"),[],import.meta.url)},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>m(()=>import("./Bg0wAK5a.js"),__vite__mapDeps([20,2]),import.meta.url)},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>m(()=>import("./CX2EUjC8.js"),[],import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>m(()=>import("./BOnd8D4O.js"),__vite__mapDeps([21,22,23,18]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>m(()=>import("./B6bHXiXE.js"),__vite__mapDeps([24,1,2,3,18,23,25]),import.meta.url)},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>m(()=>import("./DISxKEhY.js"),[],import.meta.url)},{id:"css",name:"CSS",import:()=>m(()=>import("./CbYhyuC0.js"),[],import.meta.url)},{id:"csv",name:"CSV",import:()=>m(()=>import("./B2DkETJQ.js"),[],import.meta.url)},{id:"cue",name:"CUE",import:()=>m(()=>import("./C6Aznpr-.js"),[],import.meta.url)},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>m(()=>import("./ByMv4Xf1.js"),[],import.meta.url)},{id:"d",name:"D",import:()=>m(()=>import("./PifQWv0n.js"),[],import.meta.url)},{id:"dart",name:"Dart",import:()=>m(()=>import("./DZLoTQm4.js"),[],import.meta.url)},{id:"dax",name:"DAX",import:()=>m(()=>import("./DsfXcHUZ.js"),[],import.meta.url)},{id:"desktop",name:"Desktop",import:()=>m(()=>import("./D71BffLY.js"),[],import.meta.url)},{id:"diff",name:"Diff",import:()=>m(()=>import("./DvyTQcux.js"),[],import.meta.url)},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>m(()=>import("./DNR26wTC.js"),[],import.meta.url)},{id:"dream-maker",name:"Dream Maker",import:()=>m(()=>import("./Eh5U-gDp.js"),[],import.meta.url)},{id:"elixir",name:"Elixir",import:()=>m(()=>import("./BaNxgKSR.js"),__vite__mapDeps([26,1,2,3]),import.meta.url)},{id:"elm",name:"Elm",import:()=>m(()=>import("./RE3ujT-k.js"),__vite__mapDeps([27,22,23]),import.meta.url)},{id:"erb",name:"ERB",import:()=>m(()=>import("./ChMCFiS0.js"),__vite__mapDeps([28,1,2,3,29,7,8,18,23,25,30]),import.meta.url)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>m(()=>import("./DS9ZWoKD.js"),[],import.meta.url)},{id:"fennel",name:"Fennel",import:()=>m(()=>import("./C6XIsc4F.js"),[],import.meta.url)},{id:"fish",name:"Fish",import:()=>m(()=>import("./DfeQjIbs.js"),[],import.meta.url)},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>m(()=>import("./sQpxpyUs.js"),__vite__mapDeps([31,32]),import.meta.url)},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>m(()=>import("./D6pmzCqS.js"),[],import.meta.url)},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>m(()=>import("./Djqq6n-7.js"),__vite__mapDeps([33,34]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>m(()=>import("./NL97_oaV.js"),__vite__mapDeps([35,36,37]),import.meta.url)},{id:"gdscript",name:"GDScript",import:()=>m(()=>import("./CoEqzGFw.js"),[],import.meta.url)},{id:"gdshader",name:"GDShader",import:()=>m(()=>import("./B_SUYfiV.js"),[],import.meta.url)},{id:"gherkin",name:"Gherkin",import:()=>m(()=>import("./DjTlIhuc.js"),[],import.meta.url)},{id:"git-commit",name:"Git Commit Message",import:()=>m(()=>import("./DAVo6uMX.js"),__vite__mapDeps([38,39]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>m(()=>import("./JgH_6NEN.js"),__vite__mapDeps([40,25]),import.meta.url)},{id:"gleam",name:"Gleam",import:()=>m(()=>import("./Dz2Ca8U2.js"),[],import.meta.url)},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>m(()=>import("./Bbv8ARUV.js"),__vite__mapDeps([41,2,11,3,1]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>m(()=>import("./CQUCfALx.js"),__vite__mapDeps([42,11,3,2,1]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>m(()=>import("./DouzTJIq.js"),__vite__mapDeps([22,23]),import.meta.url)},{id:"gnuplot",name:"Gnuplot",import:()=>m(()=>import("./nclm9rTJ.js"),[],import.meta.url)},{id:"go",name:"Go",import:()=>m(()=>import("./BAMIS8DD.js"),[],import.meta.url)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>m(()=>import("./BN4LRXf6.js"),__vite__mapDeps([43,2,11,44,16]),import.meta.url)},{id:"groovy",name:"Groovy",import:()=>m(()=>import("./wChcbJ1V.js"),[],import.meta.url)},{id:"hack",name:"Hack",import:()=>m(()=>import("./BmCW-tYz.js"),__vite__mapDeps([45,1,2,3,18]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>m(()=>import("./G-Jz5hiA.js"),__vite__mapDeps([46,29,1,2,3,7,8,18,23,25,30,13,20,34]),import.meta.url)},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>m(()=>import("./DUdlC5k_.js"),__vite__mapDeps([47,1,2,3,48]),import.meta.url)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>m(()=>import("./DAGYewaG.js"),[],import.meta.url)},{id:"hcl",name:"HashiCorp HCL",import:()=>m(()=>import("./CudBhkk3.js"),[],import.meta.url)},{id:"hjson",name:"Hjson",import:()=>m(()=>import("./DZqG9GXz.js"),[],import.meta.url)},{id:"hlsl",name:"HLSL",import:()=>m(()=>import("./DmDrTTlz.js"),[],import.meta.url)},{id:"html",name:"HTML",import:()=>m(()=>import("./CbViG2Xw.js"),__vite__mapDeps([1,2,3]),import.meta.url)},{id:"html-derivative",name:"HTML (Derivative)",import:()=>m(()=>import("./BR6CMsBL.js"),__vite__mapDeps([49,1,2,3]),import.meta.url)},{id:"http",name:"HTTP",import:()=>m(()=>import("./CqYeW6XZ.js"),__vite__mapDeps([50,25,9,7,8,43,2,11,44,16]),import.meta.url)},{id:"hy",name:"Hy",import:()=>m(()=>import("./C3qJFuQy.js"),[],import.meta.url)},{id:"imba",name:"Imba",import:()=>m(()=>import("./DzwdaLuO.js"),__vite__mapDeps([51,11]),import.meta.url)},{id:"ini",name:"INI",aliases:["properties"],import:()=>m(()=>import("./DeVv6D4_.js"),[],import.meta.url)},{id:"java",name:"Java",import:()=>m(()=>import("./ClXEvkw9.js"),[],import.meta.url)},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>m(()=>import("./Dch3xQiY.js"),[],import.meta.url)},{id:"jinja",name:"Jinja",import:()=>m(()=>import("./D4LaosRr.js"),__vite__mapDeps([52,1,2,3]),import.meta.url)},{id:"jison",name:"Jison",import:()=>m(()=>import("./DY7_9Ga-.js"),__vite__mapDeps([53,2]),import.meta.url)},{id:"json",name:"JSON",import:()=>m(()=>import("./CupVZNk8.js"),[],import.meta.url)},{id:"json5",name:"JSON5",import:()=>m(()=>import("./Bh8mriwU.js"),[],import.meta.url)},{id:"jsonc",name:"JSON with Comments",import:()=>m(()=>import("./DYI1rfmx.js"),[],import.meta.url)},{id:"jsonl",name:"JSON Lines",import:()=>m(()=>import("./BUpeXbsf.js"),[],import.meta.url)},{id:"jsonnet",name:"Jsonnet",import:()=>m(()=>import("./C9d3aiqh.js"),[],import.meta.url)},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>m(()=>import("./Dble9ECP.js"),[],import.meta.url)},{id:"jsx",name:"JSX",import:()=>m(()=>import("./CsyrCbsw.js"),[],import.meta.url)},{id:"julia",name:"Julia",aliases:["jl"],import:()=>m(()=>import("./D_T9yQUo.js"),__vite__mapDeps([54,21,22,23,18,55,2,56]),import.meta.url)},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>m(()=>import("./BIxS-Weu.js"),[],import.meta.url)},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>m(()=>import("./DIr-ordK.js"),[],import.meta.url)},{id:"latex",name:"LaTeX",import:()=>m(()=>import("./o5b8QYQO.js"),__vite__mapDeps([57,58,56,25,3,59,60,1,2,8,54,21,22,23,18,55,30,29,7,61,11,48,62]),import.meta.url)},{id:"less",name:"Less",import:()=>m(()=>import("./Du6_OKDb.js"),[],import.meta.url)},{id:"liquid",name:"Liquid",import:()=>m(()=>import("./Dg0DGYq4.js"),__vite__mapDeps([63,1,2,3,9]),import.meta.url)},{id:"log",name:"Log file",import:()=>m(()=>import("./Ksn5IXup.js"),[],import.meta.url)},{id:"logo",name:"Logo",import:()=>m(()=>import("./DdacRhvC.js"),[],import.meta.url)},{id:"lua",name:"Lua",import:()=>m(()=>import("./BVGdgKAv.js"),__vite__mapDeps([30,23]),import.meta.url)},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>m(()=>import("./B9S9BZZh.js"),[],import.meta.url)},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>m(()=>import("./BdfWgkoX.js"),[],import.meta.url)},{id:"marko",name:"Marko",import:()=>m(()=>import("./DGDuLtS6.js"),__vite__mapDeps([64,3,14,5,2]),import.meta.url)},{id:"matlab",name:"MATLAB",import:()=>m(()=>import("./Btshr8M_.js"),[],import.meta.url)},{id:"mdc",name:"MDC",import:()=>m(()=>import("./CcYwH0AH.js"),__vite__mapDeps([65,34,48,49,1,2,3]),import.meta.url)},{id:"mdx",name:"MDX",import:()=>m(()=>import("./CBPJd_fO.js"),[],import.meta.url)},{id:"mermaid",name:"Mermaid",import:()=>m(()=>import("./Dkb1Nx48.js"),[],import.meta.url)},{id:"mojo",name:"Mojo",import:()=>m(()=>import("./-7WWnkdy.js"),[],import.meta.url)},{id:"move",name:"Move",import:()=>m(()=>import("./C9UBdavN.js"),[],import.meta.url)},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>m(()=>import("./B9CT-1u6.js"),[],import.meta.url)},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>m(()=>import("./DBxHOdLe.js"),[],import.meta.url)},{id:"nginx",name:"Nginx",import:()=>m(()=>import("./DR5YgmI2.js"),__vite__mapDeps([66,30,23]),import.meta.url)},{id:"nim",name:"Nim",import:()=>m(()=>import("./YdT6Gj0u.js"),__vite__mapDeps([67,23,1,2,3,7,8,22,34]),import.meta.url)},{id:"nix",name:"Nix",import:()=>m(()=>import("./Dszwcx0o.js"),[],import.meta.url)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>m(()=>import("./CrgTADc5.js"),[],import.meta.url)},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>m(()=>import("./DHmGyzbM.js"),[],import.meta.url)},{id:"objective-cpp",name:"Objective-C++",import:()=>m(()=>import("./BWKJ1FCf.js"),[],import.meta.url)},{id:"ocaml",name:"OCaml",import:()=>m(()=>import("./RqY_Nz63.js"),[],import.meta.url)},{id:"pascal",name:"Pascal",import:()=>m(()=>import("./B6ZnTe72.js"),[],import.meta.url)},{id:"perl",name:"Perl",import:()=>m(()=>import("./Dwo2i-71.js"),__vite__mapDeps([68,1,2,3,7,8,18]),import.meta.url)},{id:"php",name:"PHP",import:()=>m(()=>import("./Cthz8VOO.js"),__vite__mapDeps([69,1,2,3,7,8,18,9]),import.meta.url)},{id:"plsql",name:"PL/SQL",import:()=>m(()=>import("./BbJj1K1w.js"),[],import.meta.url)},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>m(()=>import("./HrnDn_2Q.js"),[],import.meta.url)},{id:"postcss",name:"PostCSS",import:()=>m(()=>import("./DXT9h7v2.js"),[],import.meta.url)},{id:"powerquery",name:"PowerQuery",import:()=>m(()=>import("./CApMHEaB.js"),[],import.meta.url)},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>m(()=>import("./9ZOzOPqN.js"),[],import.meta.url)},{id:"prisma",name:"Prisma",import:()=>m(()=>import("./BBJYjQ0k.js"),[],import.meta.url)},{id:"prolog",name:"Prolog",import:()=>m(()=>import("./BH_RS3WO.js"),[],import.meta.url)},{id:"proto",name:"Protocol Buffer 3",import:()=>m(()=>import("./DOtRmeXT.js"),[],import.meta.url)},{id:"pug",name:"Pug",aliases:["jade"],import:()=>m(()=>import("./DhFF74a2.js"),__vite__mapDeps([70,2,3,13,5,12,20,1]),import.meta.url)},{id:"puppet",name:"Puppet",import:()=>m(()=>import("./37ic6j3l.js"),[],import.meta.url)},{id:"purescript",name:"PureScript",import:()=>m(()=>import("./CfPQhs6g.js"),[],import.meta.url)},{id:"python",name:"Python",aliases:["py"],import:()=>m(()=>import("./DwuVtWc2.js"),[],import.meta.url)},{id:"r",name:"R",import:()=>m(()=>import("./BXfENWL6.js"),[],import.meta.url)},{id:"racket",name:"Racket",import:()=>m(()=>import("./B5NHDIr7.js"),[],import.meta.url)},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>m(()=>import("./D384ylkT.js"),[],import.meta.url)},{id:"razor",name:"ASP.NET Razor",import:()=>m(()=>import("./Lpdzc9s2.js"),__vite__mapDeps([71,1,2,3,72]),import.meta.url)},{id:"reg",name:"Windows Registry Script",import:()=>m(()=>import("./CrhH3_Og.js"),[],import.meta.url)},{id:"rel",name:"Rel",import:()=>m(()=>import("./6Kuza3Wr.js"),[],import.meta.url)},{id:"riscv",name:"RISC-V",import:()=>m(()=>import("./AgnqFTPX.js"),[],import.meta.url)},{id:"rst",name:"reStructuredText",import:()=>m(()=>import("./CHCTrc3a.js"),__vite__mapDeps([73,49,1,2,3,21,22,23,18,55,25,48,74,29,7,8,30]),import.meta.url)},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>m(()=>import("./CarfVElc.js"),__vite__mapDeps([29,1,2,3,7,8,18,23,25,30]),import.meta.url)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>m(()=>import("./DGxQkqYo.js"),[],import.meta.url)},{id:"sas",name:"SAS",import:()=>m(()=>import("./8t4jSAMm.js"),__vite__mapDeps([75,18]),import.meta.url)},{id:"sass",name:"Sass",import:()=>m(()=>import("./CMDmr8et.js"),[],import.meta.url)},{id:"scala",name:"Scala",import:()=>m(()=>import("./vMsNTMhM.js"),[],import.meta.url)},{id:"scheme",name:"Scheme",import:()=>m(()=>import("./1Je9_Reo.js"),[],import.meta.url)},{id:"scss",name:"SCSS",import:()=>m(()=>import("./BeX7Iu5M.js"),__vite__mapDeps([5,3]),import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>m(()=>import("./BiDE021q.js"),__vite__mapDeps([76,77]),import.meta.url)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>m(()=>import("./BZfs-ost.js"),[],import.meta.url)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>m(()=>import("./dIHJ9UdL.js"),__vite__mapDeps([78,25]),import.meta.url)},{id:"smalltalk",name:"Smalltalk",import:()=>m(()=>import("./DSsji4Hu.js"),[],import.meta.url)},{id:"solidity",name:"Solidity",import:()=>m(()=>import("./CThH5sBG.js"),[],import.meta.url)},{id:"sparql",name:"SPARQL",import:()=>m(()=>import("./DJZWsvj0.js"),__vite__mapDeps([79,80]),import.meta.url)},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>m(()=>import("./6XBPEST2.js"),[],import.meta.url)},{id:"sql",name:"SQL",import:()=>m(()=>import("./DbK06e1c.js"),[],import.meta.url)},{id:"ssh-config",name:"SSH Config",import:()=>m(()=>import("./BH1M7C1g.js"),[],import.meta.url)},{id:"stata",name:"Stata",import:()=>m(()=>import("./DLP9ZvWb.js"),__vite__mapDeps([81,18]),import.meta.url)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>m(()=>import("./DSrLtGYv.js"),[],import.meta.url)},{id:"svelte",name:"Svelte",import:()=>m(()=>import("./wKgfcFVx.js"),__vite__mapDeps([82,2,11,20,12,13,3,5,14,15,70,1,34]),import.meta.url)},{id:"swift",name:"Swift",import:()=>m(()=>import("./Dez-Qvcc.js"),[],import.meta.url)},{id:"system-verilog",name:"SystemVerilog",import:()=>m(()=>import("./BscxmKrE.js"),[],import.meta.url)},{id:"systemd",name:"Systemd Units",import:()=>m(()=>import("./CuJfdYLG.js"),[],import.meta.url)},{id:"tasl",name:"Tasl",import:()=>m(()=>import("./BxwAa5i0.js"),[],import.meta.url)},{id:"tcl",name:"Tcl",import:()=>m(()=>import("./C_8Fx7bH.js"),[],import.meta.url)},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>m(()=>import("./DBeuZS66.js"),[],import.meta.url)},{id:"tex",name:"TeX",import:()=>m(()=>import("./Db2-y2xY.js"),__vite__mapDeps([58,56]),import.meta.url)},{id:"toml",name:"TOML",import:()=>m(()=>import("./BT9ZzGyQ.js"),[],import.meta.url)},{id:"tsv",name:"TSV",import:()=>m(()=>import("./DnLUQrgA.js"),[],import.meta.url)},{id:"tsx",name:"TSX",import:()=>m(()=>import("./BlxWTfDV.js"),[],import.meta.url)},{id:"turtle",name:"Turtle",import:()=>m(()=>import("./C15OxdQ5.js"),[],import.meta.url)},{id:"twig",name:"Twig",import:()=>m(()=>import("./BacI6-DX.js"),__vite__mapDeps([83,3,2,5,69,1,7,8,18,9,55,29,23,25,30]),import.meta.url)},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>m(()=>import("./DC8MraHL.js"),[],import.meta.url)},{id:"typst",name:"Typst",aliases:["typ"],import:()=>m(()=>import("./I4qd5QHW.js"),[],import.meta.url)},{id:"v",name:"V",import:()=>m(()=>import("./C2TBxDwV.js"),[],import.meta.url)},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>m(()=>import("./beD-FUib.js"),[],import.meta.url)},{id:"verilog",name:"Verilog",import:()=>m(()=>import("./DVfdqzEq.js"),[],import.meta.url)},{id:"vhdl",name:"VHDL",import:()=>m(()=>import("./QZ3jNtnE.js"),[],import.meta.url)},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>m(()=>import("./BLluXI4E.js"),[],import.meta.url)},{id:"vue",name:"Vue",import:()=>m(()=>import("./DtT2Dbx_.js"),__vite__mapDeps([84,1,2,3,34,70,13,5,12,20,14,11,44,16,9,85,86,48,87,43,49]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>m(()=>import("./Di3qjVs2.js"),__vite__mapDeps([88,84,1,2,3,34,70,13,5,12,20,14,11,44,16,9,85,86,48,87,43,49]),import.meta.url)},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>m(()=>import("./o-cPXEvd.js"),[],import.meta.url)},{id:"wasm",name:"WebAssembly",import:()=>m(()=>import("./Cicx_DS6.js"),[],import.meta.url)},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>m(()=>import("./D3VXSfF0.js"),[],import.meta.url)},{id:"wgsl",name:"WGSL",import:()=>m(()=>import("./BZz1Hhek.js"),[],import.meta.url)},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>m(()=>import("./BICIrM8O.js"),[],import.meta.url)},{id:"xml",name:"XML",import:()=>m(()=>import("./CsYA0RN7.js"),__vite__mapDeps([7,8]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>m(()=>import("./CJQrLysU.js"),__vite__mapDeps([89,7,8]),import.meta.url)},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>m(()=>import("./C5gCGmDW.js"),[],import.meta.url)},{id:"zenscript",name:"ZenScript",import:()=>m(()=>import("./B1nm99XP.js"),[],import.meta.url)},{id:"zig",name:"Zig",import:()=>m(()=>import("./Bsp1M94H.js"),[],import.meta.url)}],rm=Object.fromEntries(ja.map(e=>[e.id,e.import])),om=Object.fromEntries(ja.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(n=>[n,e.import]))||[]})),sm={...rm,...om},im=async e=>m(()=>import("./CsTmP73Z.js"),[],import.meta.url).then(t=>t.default(e)),lm=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>m(()=>import("./YxQm0tCS.js"),[],import.meta.url)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>m(()=>import("./BaWyeHV_.js"),[],import.meta.url)},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>m(()=>import("./Bn5gmY5k.js"),[],import.meta.url)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>m(()=>import("./CSPeAESR.js"),[],import.meta.url)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>m(()=>import("./BYdKNJ10.js"),[],import.meta.url)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>m(()=>import("./DVLwECkk.js"),[],import.meta.url)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>m(()=>import("./CEfge3mM.js"),[],import.meta.url)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>m(()=>import("./KEYLhlmT.js"),[],import.meta.url)},{id:"dracula",displayName:"Dracula",type:"dark",import:()=>m(()=>import("./DGO8GyiP.js"),[],import.meta.url)},{id:"dracula-soft",displayName:"Dracula Soft",type:"dark",import:()=>m(()=>import("./9B1nZgL-.js"),[],import.meta.url)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>m(()=>import("./CzPA46E-.js"),[],import.meta.url)},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>m(()=>import("./BXF7Vm5l.js"),[],import.meta.url)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>m(()=>import("./CRDKj6ck.js"),[],import.meta.url)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>m(()=>import("./CRlnGVMD.js"),[],import.meta.url)},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>m(()=>import("./UREJT2Bw.js"),[],import.meta.url)},{id:"houston",displayName:"Houston",type:"dark",import:()=>m(()=>import("./CZZ6oYdA.js"),[],import.meta.url)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>m(()=>import("./BsvsQ1iS.js"),[],import.meta.url)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>m(()=>import("./B2BuIiKK.js"),[],import.meta.url)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>m(()=>import("./BrGg7AAd.js"),[],import.meta.url)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>m(()=>import("./DDRuGeQH.js"),[],import.meta.url)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>m(()=>import("./CBL0qBdF.js"),[],import.meta.url)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>m(()=>import("./D7gg1Usp.js"),[],import.meta.url)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>m(()=>import("./iSbrOpM4.js"),[],import.meta.url)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>m(()=>import("./BITGhEdf.js"),[],import.meta.url)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>m(()=>import("./sMI-pExk.js"),[],import.meta.url)},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>m(()=>import("./BeocmOPF.js"),[],import.meta.url)},{id:"nord",displayName:"Nord",type:"dark",import:()=>m(()=>import("./CsyjKwr8.js"),[],import.meta.url)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>m(()=>import("./BTtaZsq5.js"),[],import.meta.url)},{id:"one-light",displayName:"One Light",type:"light",import:()=>m(()=>import("./alpzPJ78.js"),[],import.meta.url)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>m(()=>import("./Cda-MJFk.js"),[],import.meta.url)},{id:"red",displayName:"Red",type:"dark",import:()=>m(()=>import("./jaXbsbtS.js"),[],import.meta.url)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>m(()=>import("./CX_FIdg1.js"),[],import.meta.url)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>m(()=>import("./Bj5xdiaE.js"),[],import.meta.url)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>m(()=>import("./CdedUr_-.js"),[],import.meta.url)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>m(()=>import("./C7oZ9nno.js"),[],import.meta.url)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>m(()=>import("./hXH8Gyq8.js"),[],import.meta.url)},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>m(()=>import("./CA9nliXM.js"),[],import.meta.url)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>m(()=>import("./C86elO-m.js"),[],import.meta.url)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>m(()=>import("./xPNGhBYe.js"),[],import.meta.url)},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>m(()=>import("./BBDuFDsq.js"),[],import.meta.url)},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>m(()=>import("./eJfcURhx.js"),[],import.meta.url)},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>m(()=>import("./BSB_bK09.js"),[],import.meta.url)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>m(()=>import("./CDJL3WWm.js"),[],import.meta.url)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>m(()=>import("./V_y36BGi.js"),[],import.meta.url)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>m(()=>import("./BGq4KZyx.js"),[],import.meta.url)}],am=Object.fromEntries(lm.map(e=>[e.id,e.import]));var Ge;(function(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"})(Ge||(Ge={}));var rn;(function(e){function t(u){return u.toString(2).padStart(32,"0")}e.toBinaryStr=t;function n(u){const f=e.getLanguageId(u),d=e.getTokenType(u),p=e.getFontStyle(u),h=e.getForeground(u),g=e.getBackground(u);console.log({languageId:f,tokenType:d,fontStyle:p,foreground:h,background:g})}e.print=n;function r(u){return(u&255)>>>0}e.getLanguageId=r;function o(u){return(u&768)>>>8}e.getTokenType=o;function s(u){return(u&1024)!==0}e.containsBalancedBrackets=s;function i(u){return(u&30720)>>>11}e.getFontStyle=i;function l(u){return(u&16744448)>>>15}e.getForeground=l;function a(u){return(u&4278190080)>>>24}e.getBackground=a;function c(u,f,d,p,h,g,E){let w=e.getLanguageId(u),P=e.getTokenType(u),v=e.containsBalancedBrackets(u)?1:0,C=e.getFontStyle(u),T=e.getForeground(u),A=e.getBackground(u);return f!==0&&(w=f),d!==8&&(P=d),p!==null&&(v=p?1:0),h!==-1&&(C=h),g!==0&&(T=g),E!==0&&(A=E),(w<<0|P<<8|v<<10|C<<11|T<<15|A<<24)>>>0}e.set=c})(rn||(rn={}));function vr(e,t){const n=[],r=cm(e);let o=r.next();for(;o!==null;){let a=0;if(o.length===2&&o.charAt(1)===":"){switch(o.charAt(0)){case"R":a=1;break;case"L":a=-1;break;default:console.log(`Unknown priority ${o} in scope selector`)}o=r.next()}let c=i();if(n.push({matcher:c,priority:a}),o!==",")break;o=r.next()}return n;function s(){if(o==="-"){o=r.next();const a=s();return c=>!!a&&!a(c)}if(o==="("){o=r.next();const a=l();return o===")"&&(o=r.next()),a}if(Ai(o)){const a=[];do a.push(o),o=r.next();while(Ai(o));return c=>t(a,c)}return null}function i(){const a=[];let c=s();for(;c;)a.push(c),c=s();return u=>a.every(f=>f(u))}function l(){const a=[];let c=i();for(;c&&(a.push(c),o==="|"||o===",");){do o=r.next();while(o==="|"||o===",");c=i()}return u=>a.some(f=>f(u))}}function Ai(e){return!!e&&!!e.match(/[\w\.:]+/)}function cm(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 $a(e){typeof e.dispose=="function"&&e.dispose()}function um(e){return ys(e)}function ys(e){return Array.isArray(e)?fm(e):typeof e=="object"?dm(e):e}function fm(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=ys(e[n]);return t}function dm(e){let t={};for(let n in e)t[n]=ys(e[n]);return t}function Ha(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function Fa(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?Fa(e.substring(0,e.length-1)):e.substr(~t+1)}let so=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class zn{static hasCaptures(t){return t===null?!1:(so.lastIndex=0,so.test(t))}static replaceCaptures(t,n,r){return t.replace(so,(o,s,i,l)=>{let a=r[parseInt(s||i,10)];if(a){let c=n.substring(a.start,a.end);for(;c[0]===".";)c=c.substring(1);switch(l){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return o})}}function Ua(e,t){return e<t?-1:e>t?1:0}function Ga(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 s=Ua(e[o],t[o]);if(s!==0)return s}return 0}return n-r}function Ci(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 Wa(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class qa{constructor(t){y(this,"fn");y(this,"cache",new Map);this.fn=t}get(t){if(this.cache.has(t))return this.cache.get(t);const n=this.fn(t);return this.cache.set(t,n),n}}class Cn{constructor(t){y(this,"scopeName");this.scopeName=t}toKey(){return this.scopeName}}class pm{constructor(t,n){y(this,"scopeName");y(this,"ruleName");this.scopeName=t,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class hm{constructor(){y(this,"_references",[]);y(this,"_seenReferenceKeys",new Set);y(this,"visitedRule",new Set)}get references(){return this._references}add(t){const n=t.toKey();this._seenReferenceKeys.has(n)||(this._seenReferenceKeys.add(n),this._references.push(t))}}class mm{constructor(t,n){y(this,"repo");y(this,"initialScopeName");y(this,"seenFullScopeRequests",new Set);y(this,"seenPartialScopeRequests",new Set);y(this,"Q");this.repo=t,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Cn(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const n=new hm;for(const r of t)_m(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof Cn){if(this.seenFullScopeRequests.has(r.scopeName))continue;this.seenFullScopeRequests.add(r.scopeName),this.Q.push(r)}else{if(this.seenFullScopeRequests.has(r.scopeName)||this.seenPartialScopeRequests.has(r.toKey()))continue;this.seenPartialScopeRequests.add(r.toKey()),this.Q.push(r)}}}function _m(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 s=n.lookup(t);e instanceof Cn?sr({baseGrammar:s,selfGrammar:o},r):Do(e.ruleName,{baseGrammar:s,selfGrammar:o,repository:o.repository},r);const i=n.injections(e.scopeName);if(i)for(const l of i)r.add(new Cn(l))}function Do(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];Er([r],t,n)}}function sr(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&Er(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&Er(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function Er(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?Ha({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&Er(r.patterns,{...t,repository:o},n);const s=r.include;if(!s)continue;const i=Ka(s);switch(i.kind){case 0:sr({...t,selfGrammar:t.baseGrammar},n);break;case 1:sr(t,n);break;case 2:Do(i.ruleName,{...t,repository:o},n);break;case 3:case 4:const l=i.scopeName===t.selfGrammar.scopeName?t.selfGrammar:i.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(l){const a={baseGrammar:t.baseGrammar,selfGrammar:l,repository:o};i.kind===4?Do(i.ruleName,a,n):sr(a,n)}else i.kind===4?n.add(new pm(i.scopeName,i.ruleName)):n.add(new Cn(i.scopeName));break}}}class gm{constructor(){y(this,"kind",0)}}class ym{constructor(){y(this,"kind",1)}}class bm{constructor(t){y(this,"ruleName");y(this,"kind",2);this.ruleName=t}}class vm{constructor(t){y(this,"scopeName");y(this,"kind",3);this.scopeName=t}}class Em{constructor(t,n){y(this,"scopeName");y(this,"ruleName");y(this,"kind",4);this.scopeName=t,this.ruleName=n}}function Ka(e){if(e==="$base")return new gm;if(e==="$self")return new ym;const t=e.indexOf("#");if(t===-1)return new vm(e);if(t===0)return new bm(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new Em(n,r)}}const wm=/\\(\d+)/,Si=/\\(\d+)/g,Rm=-1,za=-2;class Nn{constructor(t,n,r,o){y(this,"$location");y(this,"id");y(this,"_nameIsCapturing");y(this,"_name");y(this,"_contentNameIsCapturing");y(this,"_contentName");this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=zn.hasCaptures(this._name),this._contentName=o||null,this._contentNameIsCapturing=zn.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${Fa(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,n){return!this._nameIsCapturing||this._name===null||t===null||n===null?this._name:zn.replaceCaptures(this._name,t,n)}getContentName(t,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:zn.replaceCaptures(this._contentName,t,n)}}class Tm extends Nn{constructor(n,r,o,s,i){super(n,r,o,s);y(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=i}dispose(){}collectPatterns(n,r){throw new Error("Not supported!")}compile(n,r){throw new Error("Not supported!")}compileAG(n,r,o,s){throw new Error("Not supported!")}}class Pm extends Nn{constructor(n,r,o,s,i){super(n,r,o,null);y(this,"_match");y(this,"captures");y(this,"_cachedCompiledPatterns");this._match=new Dt(s,this.id),this.captures=i,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(n,r){r.push(this._match)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,s){return this._getCachedCompiledPatterns(n).compileAG(n,o,s)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Sn,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Li extends Nn{constructor(n,r,o,s,i){super(n,r,o,s);y(this,"hasMissingPatterns");y(this,"patterns");y(this,"_cachedCompiledPatterns");this.patterns=i.patterns,this.hasMissingPatterns=i.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(n,r){for(const o of this.patterns)n.getRule(o).collectPatterns(n,r)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,s){return this._getCachedCompiledPatterns(n).compileAG(n,o,s)}_getCachedCompiledPatterns(n){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Sn,this.collectPatterns(n,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Mo extends Nn{constructor(n,r,o,s,i,l,a,c,u,f){super(n,r,o,s);y(this,"_begin");y(this,"beginCaptures");y(this,"_end");y(this,"endHasBackReferences");y(this,"endCaptures");y(this,"applyEndPatternLast");y(this,"hasMissingPatterns");y(this,"patterns");y(this,"_cachedCompiledPatterns");this._begin=new Dt(i,this.id),this.beginCaptures=l,this._end=new Dt(a||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=c,this.applyEndPatternLast=u||!1,this.patterns=f.patterns,this.hasMissingPatterns=f.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(n,r){return this._end.resolveBackReferences(n,r)}collectPatterns(n,r){r.push(this._begin)}compile(n,r){return this._getCachedCompiledPatterns(n,r).compile(n)}compileAG(n,r,o,s){return this._getCachedCompiledPatterns(n,r).compileAG(n,o,s)}_getCachedCompiledPatterns(n,r){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Sn;for(const o of this.patterns)n.getRule(o).collectPatterns(n,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,r):this._cachedCompiledPatterns.setSource(0,r)),this._cachedCompiledPatterns}}class wr extends Nn{constructor(n,r,o,s,i,l,a,c,u){super(n,r,o,s);y(this,"_begin");y(this,"beginCaptures");y(this,"whileCaptures");y(this,"_while");y(this,"whileHasBackReferences");y(this,"hasMissingPatterns");y(this,"patterns");y(this,"_cachedCompiledPatterns");y(this,"_cachedCompiledWhilePatterns");this._begin=new Dt(i,this.id),this.beginCaptures=l,this.whileCaptures=c,this._while=new Dt(a,za),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=u.patterns,this.hasMissingPatterns=u.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(n,r){return this._while.resolveBackReferences(n,r)}collectPatterns(n,r){r.push(this._begin)}compile(n,r){return this._getCachedCompiledPatterns(n).compile(n)}compileAG(n,r,o,s){return this._getCachedCompiledPatterns(n).compileAG(n,o,s)}_getCachedCompiledPatterns(n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Sn;for(const r of this.patterns)n.getRule(r).collectPatterns(n,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(n,r){return this._getCachedCompiledWhilePatterns(n,r).compile(n)}compileWhileAG(n,r,o,s){return this._getCachedCompiledWhilePatterns(n,r).compileAG(n,o,s)}_getCachedCompiledWhilePatterns(n,r){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Sn,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,r||""),this._cachedCompiledWhilePatterns}}class ye{static createCaptureRule(t,n,r,o,s){return t.registerRule(i=>new Tm(n,i,r,o,s))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(o=>{if(t.id=o,t.match)return new Pm(t.$vscodeTextmateLocation,t.id,t.name,t.match,ye._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=Ha({},r,t.repository));let s=t.patterns;return typeof s>"u"&&t.include&&(s=[{include:t.include}]),new Li(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,ye._compilePatterns(s,n,r))}return t.while?new wr(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,ye._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,ye._compileCaptures(t.whileCaptures||t.captures,n,r),ye._compilePatterns(t.patterns,n,r)):new Mo(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,ye._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,ye._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,ye._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let o=[];if(t){let s=0;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const l=parseInt(i,10);l>s&&(s=l)}for(let i=0;i<=s;i++)o[i]=null;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const l=parseInt(i,10);let a=0;t[i].patterns&&(a=ye.getCompiledRuleId(t[i],n,r)),o[l]=ye.createCaptureRule(n,t[i].$vscodeTextmateLocation,t[i].name,t[i].contentName,a)}}return o}static _compilePatterns(t,n,r){let o=[];if(t)for(let s=0,i=t.length;s<i;s++){const l=t[s];let a=-1;if(l.include){const c=Ka(l.include);switch(c.kind){case 0:case 1:a=ye.getCompiledRuleId(r[l.include],n,r);break;case 2:let u=r[c.ruleName];u&&(a=ye.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,d=c.kind===4?c.ruleName:null,p=n.getExternalGrammar(f,r);if(p)if(d){let h=p.repository[d];h&&(a=ye.getCompiledRuleId(h,n,p.repository))}else a=ye.getCompiledRuleId(p.repository.$self,n,p.repository);break}}else a=ye.getCompiledRuleId(l,n,r);if(a!==-1){const c=n.getRule(a);let u=!1;if((c instanceof Li||c instanceof Mo||c instanceof wr)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;o.push(a)}}return{patterns:o,hasMissingPatterns:(t?t.length:0)!==o.length}}}class Dt{constructor(t,n){y(this,"source");y(this,"ruleId");y(this,"hasAnchor");y(this,"hasBackReferences");y(this,"_anchorCache");if(t){const r=t.length;let o=0,s=[],i=!1;for(let l=0;l<r;l++)if(t.charAt(l)==="\\"&&l+1<r){const c=t.charAt(l+1);c==="z"?(s.push(t.substring(o,l)),s.push("$(?!\\n)(?<!\\n)"),o=l+2):(c==="A"||c==="G")&&(i=!0),l++}this.hasAnchor=i,o===0?this.source=t:(s.push(t.substring(o,r)),this.source=s.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,this.hasBackReferences=wm.test(this.source)}clone(){return new Dt(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 Si.lastIndex=0,this.source.replace(Si,(o,s)=>Wa(r[parseInt(s,10)]||""))}_buildAnchorCache(){let t=[],n=[],r=[],o=[],s,i,l,a;for(s=0,i=this.source.length;s<i;s++)l=this.source.charAt(s),t[s]=l,n[s]=l,r[s]=l,o[s]=l,l==="\\"&&s+1<i&&(a=this.source.charAt(s+1),a==="A"?(t[s+1]="",n[s+1]="",r[s+1]="A",o[s+1]="A"):a==="G"?(t[s+1]="",n[s+1]="G",r[s+1]="",o[s+1]="G"):(t[s+1]=a,n[s+1]=a,r[s+1]=a,o[s+1]=a),s++);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}}class Sn{constructor(){y(this,"_items");y(this,"_hasAnchors");y(this,"_cached");y(this,"_anchorCache");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(t){this._items.push(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}unshift(t){this._items.unshift(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}length(){return this._items.length}setSource(t,n){this._items[t].source!==n&&(this._disposeCaches(),this._items[t].setSource(n))}compile(t){if(!this._cached){let n=this._items.map(r=>r.source);this._cached=new Oi(t,n,this._items.map(r=>r.ruleId))}return this._cached}compileAG(t,n,r){return this._hasAnchors?n?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,n,r){let o=this._items.map(s=>s.resolveAnchors(n,r));return new Oi(t,o,this._items.map(s=>s.ruleId))}}class Oi{constructor(t,n,r){y(this,"regExps");y(this,"rules");y(this,"scanner");this.regExps=n,this.rules=r,this.scanner=t.createOnigScanner(n)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let n=0,r=this.rules.length;n<r;n++)t.push(" - "+this.rules[n]+": "+this.regExps[n]);return t.join(`
|
|
19
|
+
`)}findNextMatchSync(t,n,r){const o=this.scanner.findNextMatchSync(t,n,r);return o?{ruleId:this.rules[o.index],captureIndices:o.captureIndices}:null}}class Rr{constructor(t,n,r){y(this,"_colorMap");y(this,"_defaults");y(this,"_root");y(this,"_cachedMatchRoot",new qa(t=>this._root.match(t)));this._colorMap=t,this._defaults=n,this._root=r}static createFromRawTheme(t,n){return this.createFromParsedTheme(Sm(t),n)}static createFromParsedTheme(t,n){return Om(t,n)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const n=t.scopeName,o=this._cachedMatchRoot.get(n).find(s=>Am(t.parent,s.parentScopes));return o?new Ja(o.fontStyle,o.foreground,o.background):null}}class kt{constructor(t,n){y(this,"parent");y(this,"scopeName");this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new kt(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new kt(n,t[r]);return n}push(t){return new kt(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 Am(e,t){if(t===null)return!0;let n=0,r=t[n];for(;e;){if(Cm(e.scopeName,r)){if(n++,n===t.length)return!0;r=t[n]}e=e.parent}return!1}function Cm(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}class Ja{constructor(t,n,r){y(this,"fontStyle");y(this,"foregroundId");y(this,"backgroundId");this.fontStyle=t,this.foregroundId=n,this.backgroundId=r}}function Sm(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let o=0,s=t.length;o<s;o++){let i=t[o];if(!i.settings)continue;let l;if(typeof i.scope=="string"){let f=i.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),l=f.split(",")}else Array.isArray(i.scope)?l=i.scope:l=[""];let a=-1;if(typeof i.settings.fontStyle=="string"){a=0;let f=i.settings.fontStyle.split(" ");for(let d=0,p=f.length;d<p;d++)switch(f[d]){case"italic":a=a|1;break;case"bold":a=a|2;break;case"underline":a=a|4;break;case"strikethrough":a=a|8;break}}let c=null;typeof i.settings.foreground=="string"&&Ci(i.settings.foreground)&&(c=i.settings.foreground);let u=null;typeof i.settings.background=="string"&&Ci(i.settings.background)&&(u=i.settings.background);for(let f=0,d=l.length;f<d;f++){let h=l[f].trim().split(" "),g=h[h.length-1],E=null;h.length>1&&(E=h.slice(0,h.length-1),E.reverse()),n[r++]=new Lm(g,E,o,a,c,u)}}return n}class Lm{constructor(t,n,r,o,s,i){y(this,"scope");y(this,"parentScopes");y(this,"index");y(this,"fontStyle");y(this,"foreground");y(this,"background");this.scope=t,this.parentScopes=n,this.index=r,this.fontStyle=o,this.foreground=s,this.background=i}}function Om(e,t){e.sort((a,c)=>{let u=Ua(a.scope,c.scope);return u!==0||(u=Ga(a.parentScopes,c.parentScopes),u!==0)?u:a.index-c.index});let n=0,r="#000000",o="#ffffff";for(;e.length>=1&&e[0].scope==="";){let a=e.shift();a.fontStyle!==-1&&(n=a.fontStyle),a.foreground!==null&&(r=a.foreground),a.background!==null&&(o=a.background)}let s=new Im(t),i=new Ja(n,s.getId(r),s.getId(o)),l=new bn(new Ln(0,null,-1,0,0),[]);for(let a=0,c=e.length;a<c;a++){let u=e[a];l.insert(0,u.scope,u.parentScopes,u.fontStyle,s.getId(u.foreground),s.getId(u.background))}return new Rr(s,i,l)}class Im{constructor(t){y(this,"_isFrozen");y(this,"_lastColorId");y(this,"_id2color");y(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(t)){this._isFrozen=!0;for(let n=0,r=t.length;n<r;n++)this._color2id[t[n]]=n,this._id2color[n]=t[n]}else this._isFrozen=!1}getId(t){if(t===null)return 0;t=t.toUpperCase();let n=this._color2id[t];if(n)return n;if(this._isFrozen)throw new Error(`Missing color in color map - ${t}`);return n=++this._lastColorId,this._color2id[t]=n,this._id2color[n]=t,n}getColorMap(){return this._id2color.slice(0)}}class Ln{constructor(t,n,r,o,s){y(this,"scopeDepth");y(this,"parentScopes");y(this,"fontStyle");y(this,"foreground");y(this,"background");this.scopeDepth=t,this.parentScopes=n,this.fontStyle=r,this.foreground=o,this.background=s}clone(){return new Ln(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)}}class bn{constructor(t,n=[],r={}){y(this,"_mainRule");y(this,"_children");y(this,"_rulesWithParentScopes");this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _sortBySpecificity(t){return t.length===1||t.sort(this._cmpBySpecificity),t}static _cmpBySpecificity(t,n){if(t.scopeDepth===n.scopeDepth){const r=t.parentScopes,o=n.parentScopes;let s=r===null?0:r.length,i=o===null?0:o.length;if(s===i)for(let l=0;l<s;l++){const a=r[l].length,c=o[l].length;if(a!==c)return c-a}return i-s}return n.scopeDepth-t.scopeDepth}match(t){if(t==="")return bn._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let n=t.indexOf("."),r,o;return n===-1?(r=t,o=""):(r=t.substring(0,n),o=t.substring(n+1)),this._children.hasOwnProperty(r)?this._children[r].match(o):bn._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(t,n,r,o,s,i){if(n===""){this._doInsertHere(t,r,o,s,i);return}let l=n.indexOf("."),a,c;l===-1?(a=n,c=""):(a=n.substring(0,l),c=n.substring(l+1));let u;this._children.hasOwnProperty(a)?u=this._children[a]:(u=new bn(this._mainRule.clone(),Ln.cloneArr(this._rulesWithParentScopes)),this._children[a]=u),u.insert(t+1,c,r,o,s,i)}_doInsertHere(t,n,r,o,s){if(n===null){this._mainRule.acceptOverwrite(t,r,o,s);return}for(let i=0,l=this._rulesWithParentScopes.length;i<l;i++){let a=this._rulesWithParentScopes[i];if(Ga(a.parentScopes,n)===0){a.acceptOverwrite(t,r,o,s);return}}r===-1&&(r=this._mainRule.fontStyle),o===0&&(o=this._mainRule.foreground),s===0&&(s=this._mainRule.background),this._rulesWithParentScopes.push(new Ln(t,n,r,o,s))}}class io{constructor(t,n){y(this,"languageId");y(this,"tokenType");this.languageId=t,this.tokenType=n}}const Ut=class Ut{constructor(t,n){y(this,"_defaultAttributes");y(this,"_embeddedLanguagesMatcher");y(this,"_getBasicScopeAttributes",new qa(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new io(n,r)}));this._defaultAttributes=new io(t,8),this._embeddedLanguagesMatcher=new xm(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?Ut._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(Ut.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!")}};y(Ut,"_NULL_SCOPE_METADATA",new io(0,0)),y(Ut,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/);let Vo=Ut;class xm{constructor(t){y(this,"values");y(this,"scopesRegExp");if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const n=t.map(([r,o])=>Wa(r));n.sort(),n.reverse(),this.scopesRegExp=new RegExp(`^((${n.join(")|(")}))($|\\.)`,"")}}match(t){if(!this.scopesRegExp)return;const n=t.match(this.scopesRegExp);if(n)return this.values.get(n[1])}}class Ii{constructor(t,n){y(this,"stack");y(this,"stoppedEarly");this.stack=t,this.stoppedEarly=n}}function Ya(e,t,n,r,o,s,i,l){const a=t.content.length;let c=!1,u=-1;if(i){const p=km(e,t,n,r,o,s);o=p.stack,r=p.linePos,n=p.isFirstLine,u=p.anchorPosition}const f=Date.now();for(;!c;){if(l!==0&&Date.now()-f>l)return new Ii(o,!0);d()}return new Ii(o,!1);function d(){const p=Nm(e,t,n,r,o,u);if(!p){s.produce(o,a),c=!0;return}const h=p.captureIndices,g=p.matchedRuleId,E=h&&h.length>0?h[0].end>r:!1;if(g===Rm){const w=o.getRule(e);s.produce(o,h[0].start),o=o.withContentNameScopesList(o.nameScopesList),dn(e,t,n,o,s,w.endCaptures,h),s.produce(o,h[0].end);const P=o;if(o=o.parent,u=P.getAnchorPos(),!E&&P.getEnterPos()===r){o=P,s.produce(o,a),c=!0;return}}else{const w=e.getRule(g);s.produce(o,h[0].start);const P=o,v=w.getName(t.content,h),C=o.contentNameScopesList.pushAttributed(v,e);if(o=o.push(g,r,u,h[0].end===a,null,C,C),w instanceof Mo){const T=w;dn(e,t,n,o,s,T.beginCaptures,h),s.produce(o,h[0].end),u=h[0].end;const A=T.getContentName(t.content,h),V=C.pushAttributed(A,e);if(o=o.withContentNameScopesList(V),T.endHasBackReferences&&(o=o.withEndRule(T.getEndWithResolvedBackReferences(t.content,h))),!E&&P.hasSameRuleAs(o)){o=o.pop(),s.produce(o,a),c=!0;return}}else if(w instanceof wr){const T=w;dn(e,t,n,o,s,T.beginCaptures,h),s.produce(o,h[0].end),u=h[0].end;const A=T.getContentName(t.content,h),V=C.pushAttributed(A,e);if(o=o.withContentNameScopesList(V),T.whileHasBackReferences&&(o=o.withEndRule(T.getWhileWithResolvedBackReferences(t.content,h))),!E&&P.hasSameRuleAs(o)){o=o.pop(),s.produce(o,a),c=!0;return}}else if(dn(e,t,n,o,s,w.captures,h),s.produce(o,h[0].end),o=o.pop(),!E){o=o.safePop(),s.produce(o,a),c=!0;return}}h[0].end>r&&(r=h[0].end,n=!1)}}function km(e,t,n,r,o,s){let i=o.beginRuleCapturedEOL?0:-1;const l=[];for(let a=o;a;a=a.pop()){const c=a.getRule(e);c instanceof wr&&l.push({rule:c,stack:a})}for(let a=l.pop();a;a=l.pop()){const{ruleScanner:c,findOptions:u}=Vm(a.rule,e,a.stack.endRule,n,r===i),f=c.findNextMatchSync(t,r,u);if(f){if(f.ruleId!==za){o=a.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(s.produce(a.stack,f.captureIndices[0].start),dn(e,t,n,a.stack,s,a.rule.whileCaptures,f.captureIndices),s.produce(a.stack,f.captureIndices[0].end),i=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}else{o=a.stack.pop();break}}return{stack:o,linePos:r,anchorPosition:i,isFirstLine:n}}function Nm(e,t,n,r,o,s){const i=Dm(e,t,n,r,o,s),l=e.getInjections();if(l.length===0)return i;const a=Mm(l,e,t,n,r,o,s);if(!a)return i;if(!i)return a;const c=i.captureIndices[0].start,u=a.captureIndices[0].start;return u<c||a.priorityMatch&&u===c?a:i}function Dm(e,t,n,r,o,s){const i=o.getRule(e),{ruleScanner:l,findOptions:a}=Xa(i,e,o.endRule,n,r===s),c=l.findNextMatchSync(t,r,a);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function Mm(e,t,n,r,o,s,i){let l=Number.MAX_VALUE,a=null,c,u=0;const f=s.contentNameScopesList.getScopeNames();for(let d=0,p=e.length;d<p;d++){const h=e[d];if(!h.matcher(f))continue;const g=t.getRule(h.ruleId),{ruleScanner:E,findOptions:w}=Xa(g,t,null,r,o===i),P=E.findNextMatchSync(n,o,w);if(!P)continue;const v=P.captureIndices[0].start;if(!(v>=l)&&(l=v,a=P.captureIndices,c=P.ruleId,u=h.priority,l===o))break}return a?{priorityMatch:u===-1,captureIndices:a,matchedRuleId:c}:null}function Xa(e,t,n,r,o){return{ruleScanner:e.compileAG(t,n,r,o),findOptions:0}}function Vm(e,t,n,r,o){return{ruleScanner:e.compileWhileAG(t,n,r,o),findOptions:0}}function dn(e,t,n,r,o,s,i){if(s.length===0)return;const l=t.content,a=Math.min(s.length,i.length),c=[],u=i[0].end;for(let f=0;f<a;f++){const d=s[f];if(d===null)continue;const p=i[f];if(p.length===0)continue;if(p.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=p.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,p.start):o.produce(r,p.start),d.retokenizeCapturedWithRuleId){const g=d.getName(l,i),E=r.contentNameScopesList.pushAttributed(g,e),w=d.getContentName(l,i),P=E.pushAttributed(w,e),v=r.push(d.retokenizeCapturedWithRuleId,p.start,-1,!1,null,E,P),C=e.createOnigString(l.substring(0,p.end));Ya(e,C,n&&p.start===0,p.start,v,o,!1,0),$a(C);continue}const h=d.getName(l,i);if(h!==null){const E=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(h,e);c.push(new Bm(E,p.end))}}for(;c.length>0;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}class Bm{constructor(t,n){y(this,"scopes");y(this,"endPos");this.scopes=t,this.endPos=n}}function jm(e,t,n,r,o,s,i,l){return new Hm(e,t,n,r,o,s,i,l)}function xi(e,t,n,r,o){const s=vr(t,Tr),i=ye.getCompiledRuleId(n,r,o.repository);for(const l of s)e.push({debugSelector:t,matcher:l.matcher,ruleId:i,grammar:o,priority:l.priority})}function Tr(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($m(t[o],r))return n=o+1,!0;return!1})}function $m(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]==="."}class Hm{constructor(t,n,r,o,s,i,l,a){y(this,"_rootScopeName");y(this,"balancedBracketSelectors");y(this,"_onigLib");y(this,"_rootId");y(this,"_lastRuleId");y(this,"_ruleId2desc");y(this,"_includedGrammars");y(this,"_grammarRepository");y(this,"_grammar");y(this,"_injections");y(this,"_basicScopeAttributesProvider");y(this,"_tokenTypeMatchers");if(this._rootScopeName=t,this.balancedBracketSelectors=i,this._onigLib=a,this._basicScopeAttributesProvider=new Vo(r,o),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=l,this._grammar=ki(n,null),this._injections=null,this._tokenTypeMatchers=[],s)for(const c of Object.keys(s)){const u=vr(c,Tr);for(const f of u)this._tokenTypeMatchers.push({matcher:f.matcher,type:s[c]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const t of this._ruleId2desc)t&&t.dispose()}createOnigScanner(t){return this._onigLib.createOnigScanner(t)}createOnigString(t){return this._onigLib.createOnigString(t)}getMetadataForScope(t){return this._basicScopeAttributesProvider.getBasicScopeAttributes(t)}_collectInjections(){const t={lookup:s=>s===this._rootScopeName?this._grammar:this.getExternalGrammar(s),injections:s=>this._grammarRepository.injections(s)},n=[],r=this._rootScopeName,o=t.lookup(r);if(o){const s=o.injections;if(s)for(let l in s)xi(n,l,s[l],this,o);const i=this._grammarRepository.injections(r);i&&i.forEach(l=>{const a=this.getExternalGrammar(l);if(a){const c=a.injectionSelector;c&&xi(n,c,a,this,a)}})}return n.sort((s,i)=>s.priority-i.priority),n}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(t){const n=++this._lastRuleId,r=t(n);return this._ruleId2desc[n]=r,r}getRule(t){return this._ruleId2desc[t]}getExternalGrammar(t,n){if(this._includedGrammars[t])return this._includedGrammars[t];if(this._grammarRepository){const r=this._grammarRepository.lookup(t);if(r)return this._includedGrammars[t]=ki(r,n&&n.$base),this._includedGrammars[t]}}tokenizeLine(t,n,r=0){const o=this._tokenize(t,n,!1,r);return{tokens:o.lineTokens.getResult(o.ruleStack,o.lineLength),ruleStack:o.ruleStack,stoppedEarly:o.stoppedEarly}}tokenizeLine2(t,n,r=0){const o=this._tokenize(t,n,!0,r);return{tokens:o.lineTokens.getBinaryResult(o.ruleStack,o.lineLength),ruleStack:o.ruleStack,stoppedEarly:o.stoppedEarly}}_tokenize(t,n,r,o){this._rootId===-1&&(this._rootId=ye.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let s;if(!n||n===On.NULL){s=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),f=this.themeProvider.getDefaults(),d=rn.set(0,u.languageId,u.tokenType,null,f.fontStyle,f.foregroundId,f.backgroundId),p=this.getRule(this._rootId).getName(null,null);let h;p?h=Le.createRootAndLookUpScopeName(p,d,this):h=Le.createRoot("unknown",d),n=new On(null,this._rootId,-1,-1,!1,null,h,h)}else s=!1,n.reset();t=t+`
|
|
20
|
+
`;const i=this.createOnigString(t),l=i.content.length,a=new Um(r,t,this._tokenTypeMatchers,this.balancedBracketSelectors),c=Ya(this,i,s,0,n,a,!0,o);return $a(i),{lineLength:l,lineTokens:a,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function ki(e,t){return e=um(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}class Le{constructor(t,n,r){y(this,"parent");y(this,"scopePath");y(this,"tokenAttributes");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 s of n)o=kt.push(o,s.scopeNames),r=new Le(r,o,s.encodedTokenAttributes);return r}static createRoot(t,n){return new Le(null,new kt(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const o=r.getMetadataForScope(t),s=new kt(null,t),i=r.themeProvider.themeMatch(s),l=Le.mergeAttributes(n,o,i);return new Le(null,s,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return Le.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,s=0,i=0;return r!==null&&(o=r.fontStyle,s=r.foregroundId,i=r.backgroundId),rn.set(t,n.languageId,n.tokenType,null,o,s,i)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return Le._pushAttributed(this,t,n);const r=t.split(/ /g);let o=this;for(const s of r)o=Le._pushAttributed(o,s,n);return o}static _pushAttributed(t,n,r){const o=r.getMetadataForScope(n),s=t.scopePath.push(n),i=r.themeProvider.themeMatch(s),l=Le.mergeAttributes(t.tokenAttributes,o,i);return new Le(t,s,l)}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}}const rt=class rt{constructor(t,n,r,o,s,i,l,a){y(this,"parent");y(this,"ruleId");y(this,"beginRuleCapturedEOL");y(this,"endRule");y(this,"nameScopesList");y(this,"contentNameScopesList");y(this,"_stackElementBrand");y(this,"_enterPos");y(this,"_anchorPos");y(this,"depth");this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=s,this.endRule=i,this.nameScopesList=l,this.contentNameScopesList=a,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=o}equals(t){return t===null?!1:rt._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Le.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(){rt._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,o,s,i,l){return new rt(this,t,n,r,o,s,i,l)}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 rt(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=Le.fromExtension((t==null?void 0:t.nameScopesList)??null,n.nameScopesList);return new rt(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Le.fromExtension(r,n.contentNameScopesList))}};y(rt,"NULL",new rt(null,0,0,0,!1,null,null,null));let On=rt;class Fm{constructor(t,n){y(this,"balancedBracketScopes");y(this,"unbalancedBracketScopes");y(this,"allowAny",!1);this.balancedBracketScopes=t.flatMap(r=>r==="*"?(this.allowAny=!0,[]):vr(r,Tr).map(o=>o.matcher)),this.unbalancedBracketScopes=n.flatMap(r=>vr(r,Tr).map(o=>o.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(t){for(const n of this.unbalancedBracketScopes)if(n(t))return!1;for(const n of this.balancedBracketScopes)if(n(t))return!0;return this.allowAny}}class Um{constructor(t,n,r,o){y(this,"balancedBracketSelectors");y(this,"_emitBinaryTokens");y(this,"_lineText");y(this,"_tokens");y(this,"_binaryTokens");y(this,"_lastTokenEndIndex");y(this,"_tokenTypeOverrides");this.balancedBracketSelectors=o,this._emitBinaryTokens=t,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(t,n){this.produceFromScopes(t.contentNameScopesList,n)}produceFromScopes(t,n){var o;if(this._lastTokenEndIndex>=n)return;if(this._emitBinaryTokens){let s=(t==null?void 0:t.tokenAttributes)??0,i=!1;if((o=this.balancedBracketSelectors)!=null&&o.matchesAlways&&(i=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const l=(t==null?void 0:t.getScopeNames())??[];for(const a of this._tokenTypeOverrides)a.matcher(l)&&(s=rn.set(s,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(i=this.balancedBracketSelectors.match(l))}if(i&&(s=rn.set(s,0,8,i,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===s){this._lastTokenEndIndex=n;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(s),this._lastTokenEndIndex=n;return}const r=(t==null?void 0:t.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:n,scopes:r}),this._lastTokenEndIndex=n}getResult(t,n){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===n-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(t,n){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===n-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._binaryTokens[this._binaryTokens.length-2]=0);const r=new Uint32Array(this._binaryTokens.length);for(let o=0,s=this._binaryTokens.length;o<s;o++)r[o]=this._binaryTokens[o];return r}}class Gm{constructor(t,n){y(this,"_onigLibPromise");y(this,"_grammars",new Map);y(this,"_rawGrammars",new Map);y(this,"_injectionGrammars",new Map);y(this,"_theme");this._onigLibPromise=n,this._theme=t}dispose(){for(const t of this._grammars.values())t.dispose()}setTheme(t){this._theme=t}getColorMap(){return this._theme.getColorMap()}addGrammar(t,n){this._rawGrammars.set(t.scopeName,t),n&&this._injectionGrammars.set(t.scopeName,n)}lookup(t){return this._rawGrammars.get(t)}injections(t){return this._injectionGrammars.get(t)}getDefaults(){return this._theme.getDefaults()}themeMatch(t){return this._theme.match(t)}async grammarForScopeName(t,n,r,o,s){if(!this._grammars.has(t)){let i=this._rawGrammars.get(t);if(!i)return null;this._grammars.set(t,jm(t,i,n,r,o,s,this,await this._onigLibPromise))}return this._grammars.get(t)}}let Wm=class{constructor(t){y(this,"_options");y(this,"_syncRegistry");y(this,"_ensureGrammarCache");this._options=t,this._syncRegistry=new Gm(Rr.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(Rr.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 Fm(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}async _loadGrammar(t,n,r,o,s){const i=new mm(this._syncRegistry,t);for(;i.Q.length>0;)await Promise.all(i.Q.map(l=>this._loadSingleGrammar(l.scopeName))),i.processQueue();return this._grammarForScopeName(t,n,r,o,s)}async _loadSingleGrammar(t){return this._ensureGrammarCache.has(t)||this._ensureGrammarCache.set(t,this._doLoadSingleGrammar(t)),this._ensureGrammarCache.get(t)}async _doLoadSingleGrammar(t){const n=await this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}async addGrammar(t,n=[],r=0,o=null){return this._syncRegistry.addGrammar(t,n),await this._grammarForScopeName(t.scopeName,r,o)}_grammarForScopeName(t,n=0,r=null,o=null,s=null){return this._syncRegistry.grammarForScopeName(t,n,r,o,s)}};const qm=On.NULL,Ee={LANGUAGEID_MASK:255,TOKEN_TYPE_MASK:768,BALANCED_BRACKETS_MASK:1024,FONT_STYLE_MASK:14336,FOREGROUND_MASK:8372224,BACKGROUND_MASK:4286578688,LANGUAGEID_OFFSET:0,TOKEN_TYPE_OFFSET:8,BALANCED_BRACKETS_OFFSET:10,FONT_STYLE_OFFSET:11,FOREGROUND_OFFSET:15,BACKGROUND_OFFSET:24};class ot{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&Ee.LANGUAGEID_MASK)>>>Ee.LANGUAGEID_OFFSET}static getTokenType(t){return(t&Ee.TOKEN_TYPE_MASK)>>>Ee.TOKEN_TYPE_OFFSET}static getFontStyle(t){return(t&Ee.FONT_STYLE_MASK)>>>Ee.FONT_STYLE_OFFSET}static getForeground(t){return(t&Ee.FOREGROUND_MASK)>>>Ee.FOREGROUND_OFFSET}static getBackground(t){return(t&Ee.BACKGROUND_MASK)>>>Ee.BACKGROUND_OFFSET}static containsBalancedBrackets(t){return(t&Ee.BALANCED_BRACKETS_MASK)!==0}static set(t,n,r,o,s,i){let l=ot.getLanguageId(t),a=ot.getTokenType(t),c=ot.getFontStyle(t),u=ot.getForeground(t),f=ot.getBackground(t);const d=ot.containsBalancedBrackets(t)?1:0;return n!==0&&(l=n),r!==0&&(a=r===8?0:r),o!==Ge.NotSet&&(c=o),s!==0&&(u=s),i!==0&&(f=i),(l<<Ee.LANGUAGEID_OFFSET|a<<Ee.TOKEN_TYPE_OFFSET|c<<Ee.FONT_STYLE_OFFSET|d<<Ee.BALANCED_BRACKETS_OFFSET|u<<Ee.FOREGROUND_OFFSET|f<<Ee.BACKGROUND_OFFSET)>>>0}}function $r(e,t=!1){var s;const n=e.split(/(\r?\n)/g);let r=0;const o=[];for(let i=0;i<n.length;i+=2){const l=t?n[i]+(n[i+1]||""):n[i];o.push([l,r]),r+=n[i].length,r+=((s=n[i+1])==null?void 0:s.length)||0}return o}function Qa(e){return!e||["plaintext","txt","text","plain"].includes(e)}function Za(e){return e==="ansi"||Qa(e)}function ec(e){return e==="none"}function tc(e){return ec(e)}function nc(e,t){var r;if(!t)return e;e.properties||(e.properties={}),(r=e.properties).class||(r.class=[]),typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const o of n)o&&!e.properties.class.includes(o)&&e.properties.class.push(o);return e}function Km(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 zm(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 s=n.filter(i=>o.offset<i&&i<o.offset+o.content.length).map(i=>i-o.offset).sort((i,l)=>i-l);return s.length?Km(o,s):o})):e}function Lt(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function rc(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&Ge.Italic&&(t["font-style"]="italic"),e.fontStyle&Ge.Bold&&(t["font-weight"]="bold"),e.fontStyle&Ge.Underline&&(t["text-decoration"]="underline")),t}function oc(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function Jm(e){const t=$r(e,!0).map(([o])=>o);function n(o){let s=o,i=0;for(const l of t){if(s<l.length)break;s-=l.length,i++}return{line:i,character:s}}function r(o,s){let i=0;for(let l=0;l<o;l++)i+=t[l].length;return i+=s,i}return{lines:t,indexToPos:n,posToIndex:r}}var Ot=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],lo={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function Ym(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 Ni(e,t){let n=1;const r=e[t+n++];let o;if(r==="2"){const s=[e[t+n++],e[t+n++],e[t+n]].map(i=>Number.parseInt(i));s.length===3&&!s.some(i=>Number.isNaN(i))&&(o={type:"rgb",rgb:s})}else if(r==="5"){const s=Number.parseInt(e[t+n]);Number.isNaN(s)||(o={type:"table",index:Number(s)})}return[n,o]}function Xm(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)lo[o]&&t.push({type:"setDecoration",value:lo[o]});else if(o<=29){const s=lo[o-20];s&&t.push({type:"resetDecoration",value:s})}else if(o<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Ot[o-30]}});else if(o===38){const[s,i]=Ni(e,n);i&&t.push({type:"setForegroundColor",value:i}),n+=s}else if(o===39)t.push({type:"resetForegroundColor"});else if(o<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Ot[o-40]}});else if(o===48){const[s,i]=Ni(e,n);i&&t.push({type:"setBackgroundColor",value:i}),n+=s}else o===49?t.push({type:"resetBackgroundColor"}):o>=90&&o<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Ot[o-90+8]}}):o>=100&&o<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Ot[o-100+8]}})}return t}function Qm(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let s=0;do{const i=Ym(r,s),l=i.sequence?r.substring(s,i.startPosition):r.substring(s);if(l.length>0&&o.push({value:l,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const a=Xm(i.sequence);for(const c of a)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 a)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}s=i.position}while(s<r.length);return o}}}var Zm={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 e_(e=Zm){function t(l){return e[l]}function n(l){return`#${l.map(a=>Math.max(0,Math.min(a,255)).toString(16).padStart(2,"0")).join("")}`}let r;function o(){if(r)return r;r=[];for(let c=0;c<Ot.length;c++)r.push(t(Ot[c]));let l=[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([l[c],l[u],l[f]]));let a=8;for(let c=0;c<24;c++,a+=10)r.push(n([a,a,a]));return r}function s(l){return o()[l]}function i(l){switch(l.type){case"named":return t(l.name);case"rgb":return n(l.rgb);case"table":return s(l.index)}}return{value:i}}function t_(e,t,n){const r={...e.colorReplacements,...n==null?void 0:n.colorReplacements},o=$r(t),s=e_(Object.fromEntries(Ot.map(l=>{var a;return[l,(a=e.colors)==null?void 0:a[`terminal.ansi${l[0].toUpperCase()}${l.substring(1)}`]]}))),i=Qm();return o.map(l=>i.parse(l[0]).map(a=>{let c,u;a.decorations.has("reverse")?(c=a.background?s.value(a.background):e.bg,u=a.foreground?s.value(a.foreground):e.fg):(c=a.foreground?s.value(a.foreground):e.fg,u=a.background?s.value(a.background):void 0),c=Lt(c,r),u=Lt(u,r),a.decorations.has("dim")&&(c=n_(c));let f=Ge.None;return a.decorations.has("bold")&&(f|=Ge.Bold),a.decorations.has("italic")&&(f|=Ge.Italic),a.decorations.has("underline")&&(f|=Ge.Underline),{content:a.value,offset:l[1],color:c,bgColor:u,fontStyle:f}}))}function n_(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 bs(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(Qa(r)||ec(o))return $r(t).map(a=>[{content:a[0],offset:a[1]}]);const{theme:s,colorMap:i}=e.setTheme(o);if(r==="ansi")return t_(s,t,n);const l=e.getLanguage(r);return r_(t,l,s,i,n)}function r_(e,t,n,r,o){const s={...n.colorReplacements,...o==null?void 0:o.colorReplacements},{tokenizeMaxLineLength:i=0,tokenizeTimeLimit:l=500}=o,a=$r(e);let c=qm,u=[];const f=[];for(let d=0,p=a.length;d<p;d++){const[h,g]=a[d];if(h===""){u=[],f.push([]);continue}if(i>0&&h.length>=i){u=[],f.push([{content:h,offset:g,color:"",fontStyle:0}]);continue}let E,w,P;o.includeExplanation&&(E=t.tokenizeLine(h,c),w=E.tokens,P=0);const v=t.tokenizeLine2(h,c,l),C=v.tokens.length/2;for(let T=0;T<C;T++){const A=v.tokens[2*T],V=T+1<C?v.tokens[2*T+2]:h.length;if(A===V)continue;const U=v.tokens[2*T+1],q=Lt(r[ot.getForeground(U)],s),H=ot.getFontStyle(U),X={content:h.substring(A,V),offset:g+A,color:q,fontStyle:H};if(o.includeExplanation){X.explanation=[];let Z=0;for(;A+Z<V;){const ne=w[P],_e=h.substring(ne.startIndex,ne.endIndex);Z+=_e.length,X.explanation.push({content:_e,scopes:o_(n,ne.scopes)}),P+=1}}u.push(X)}f.push(u),u=[],c=v.ruleStack}return f}function o_(e,t){const n=[];for(let r=0,o=t.length;r<o;r++){const s=t.slice(0,r),i=t[r];n[r]={scopeName:i,themeMatches:i_(e,i,s)}}return n}function Di(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}function s_(e,t,n,r){if(!Di(e,n))return!1;let o=t.length-1,s=r.length-1;for(;o>=0&&s>=0;)Di(t[o],r[s])&&(o-=1),s-=1;return o===-1}function i_(e,t,n){const r=[];let o=0;for(let s=0,i=e.settings.length;s<i;s++){const l=e.settings[s];let a;if(typeof l.scope=="string")a=l.scope.split(/,/).map(c=>c.trim());else if(Array.isArray(l.scope))a=l.scope;else continue;for(let c=0,u=a.length;c<u;c++){const d=a[c].split(/ /),p=d[d.length-1],h=d.slice(0,d.length-1);s_(p,h,t,n)&&(r[o++]=l,c=u)}}return r}function sc(e,t,n){const r=Object.entries(n.themes).filter(i=>i[1]).map(i=>({color:i[0],theme:i[1]})),o=l_(...r.map(i=>bs(e,t,{...n,theme:i.theme})));return o[0].map((i,l)=>i.map((a,c)=>{const u={content:a.content,variants:{},offset:a.offset};return o.forEach((f,d)=>{const{content:p,explanation:h,offset:g,...E}=f[l][c];u.variants[r[d].color]=E}),u}))}function l_(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const o=e.map(a=>a[r]),s=t.map(()=>[]);t.forEach((a,c)=>a.push(s[c]));const i=o.map(()=>0),l=o.map(a=>a[0]);for(;l.every(a=>a);){const a=Math.min(...l.map(c=>c.content.length));for(let c=0;c<n;c++){const u=l[c];u.content.length===a?(s[c].push(u),i[c]+=1,l[c]=o[c][i[c]]):(s[c].push({...u,content:u.content.slice(0,a)}),l[c]={...u,content:u.content.slice(a),offset:u.offset+a})}}}return t}class we extends Error{constructor(t){super(t),this.name="ShikiError"}}function Pr(e,t,n){let r,o,s,i,l;if("themes"in n){const{defaultColor:a="light",cssVariablePrefix:c="--shiki-",colorReplacements:u}=n,f=Object.entries(n.themes).filter(g=>g[1]).map(g=>({color:g[0],theme:g[1]})).sort((g,E)=>g.color===a?-1:E.color===a?1:0);if(f.length===0)throw new we("`themes` option must not be empty");const d=sc(e,t,n);if(a&&!f.find(g=>g.color===a))throw new we(`\`themes\` option must contain the defaultColor key \`${a}\``);const p=f.map(g=>e.getTheme(g.theme)),h=f.map(g=>g.color);s=d.map(g=>g.map(E=>a_(E,h,c,a))),o=f.map((g,E)=>(E===0&&a?"":`${c+g.color}:`)+(Lt(p[E].fg,u)||"inherit")).join(";"),r=f.map((g,E)=>(E===0&&a?"":`${c+g.color}-bg:`)+(Lt(p[E].bg,u)||"inherit")).join(";"),i=`shiki-themes ${p.map(g=>g.name).join(" ")}`,l=a?void 0:[o,r].join(";")}else if("theme"in n){const{colorReplacements:a}=n;s=bs(e,t,n);const c=e.getTheme(n.theme);r=Lt(c.bg,a),o=Lt(c.fg,a),i=c.name}else throw new we("Invalid options, either `theme` or `themes` must be provided");return{tokens:s,fg:o,bg:r,themeName:i,rootStyle:l}}function a_(e,t,n,r){const o={content:e.content,explanation:e.explanation,offset:e.offset},s=t.map(a=>rc(e.variants[a])),i=new Set(s.flatMap(a=>Object.keys(a))),l=s.reduce((a,c,u)=>{for(const f of i){const d=c[f]||"inherit";if(u===0&&r)a[f]=d;else{const p=f==="color"?"":f==="background-color"?"-bg":`-${f}`,h=n+t[u]+(f==="color"?"":p);a[f]?a[f]+=`;${h}:${d}`:a[f]=`${h}:${d}`}}return a},{});return o.htmlStyle=r?oc(l):Object.values(l).join(";"),o}function c_(){const e=new WeakMap;function t(r){if(!e.has(r.meta)){let s=function(l){return typeof l=="number"?{...o.indexToPos(l),offset:l}:{...l,offset:o.posToIndex(l.line,l.character)}};const o=Jm(r.source),i=(r.options.decorations||[]).map(l=>({...l,start:s(l.start),end:s(l.end)}));n(i),e.set(r.meta,{decorations:i,converter:o,source:r.source})}return e.get(r.meta)}function n(r){for(let o=0;o<r.length;o++){const s=r[o];if(s.start.offset>s.end.offset)throw new we(`Invalid decoration range: ${JSON.stringify(s.start)} - ${JSON.stringify(s.end)}`);for(let i=o+1;i<r.length;i++){const l=r[i],a=s.start.offset<l.start.offset&&l.start.offset<s.end.offset,c=s.start.offset<l.end.offset&&l.end.offset<s.end.offset,u=l.start.offset<s.start.offset&&s.start.offset<l.end.offset,f=l.start.offset<s.end.offset&&s.end.offset<l.end.offset;if(a||c||u||f){if(c&&c||u&&f)continue;throw new we(`Decorations ${JSON.stringify(s.start)} and ${JSON.stringify(l.start)} intersect.`)}}}}return{name:"shiki:decorations",tokens(r){var l;if(!((l=this.options.decorations)!=null&&l.length))return;const s=t(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]);return zm(r,s)},code(r){var f;if(!((f=this.options.decorations)!=null&&f.length))return;const o=t(this),s=Array.from(r.children).filter(d=>d.type==="element"&&d.tagName==="span");if(s.length!==o.converter.lines.length)throw new we(`Number of lines in code element (${s.length}) does not match the number of lines in the source (${o.converter.lines.length}). Failed to apply decorations.`);function i(d,p,h,g){const E=s[d];let w="",P=-1,v=-1;function C(A){return A.type==="text"?A.value:A.type==="element"?A.children.map(C).join(""):""}if(p===0&&(P=0),h===0&&(v=0),h===Number.POSITIVE_INFINITY&&(v=E.children.length),P===-1||v===-1)for(let A=0;A<E.children.length;A++)w+=C(E.children[A]),P===-1&&w.length===p&&(P=A+1),v===-1&&w.length===h&&(v=A+1);if(P===-1)throw new we(`Failed to find start index for decoration ${JSON.stringify(g.start)}`);if(v===-1)throw new we(`Failed to find end index for decoration ${JSON.stringify(g.end)}`);const T=E.children.slice(P,v);if(!g.alwaysWrap&&T.length===E.children.length)a(E,g,"line");else if(!g.alwaysWrap&&T.length===1&&T[0].type==="element")a(T[0],g,"token");else{const A={type:"element",tagName:"span",properties:{},children:T};a(A,g,"wrapper"),E.children.splice(P,T.length,A)}}function l(d,p){s[d]=a(s[d],p,"line")}function a(d,p,h){var w;const g=p.properties||{},E=p.transform||(P=>P);return d.tagName=p.tagName||"span",d.properties={...d.properties,...g,class:d.properties.class},(w=p.properties)!=null&&w.class&&nc(d,p.properties.class),d=E(d,h)||d,d}const c=[],u=o.decorations.sort((d,p)=>p.start.offset-d.start.offset);for(const d of u){const{start:p,end:h}=d;if(p.line===h.line)i(p.line,p.character,h.character,d);else if(p.line<h.line){i(p.line,p.character,Number.POSITIVE_INFINITY,d);for(let g=p.line+1;g<h.line;g++)c.unshift(()=>l(g,d));i(h.line,0,h.character,d)}}c.forEach(d=>d())}}}const u_=[c_()];function Ar(e){return[...e.transformers||[],...u_]}function Cr(e,t,n,r={meta:{},options:n,codeToHast:(o,s)=>Cr(e,o,s),codeToTokens:(o,s)=>Pr(e,o,s)}){var d,p;let o=t;for(const h of Ar(n))o=((d=h.preprocess)==null?void 0:d.call(r,o,n))||o;let{tokens:s,fg:i,bg:l,themeName:a,rootStyle:c}=Pr(e,o,n);const{mergeWhitespaces:u=!0}=n;u===!0?s=d_(s):u==="never"&&(s=p_(s));const f={...r,get source(){return o}};for(const h of Ar(n))s=((p=h.tokens)==null?void 0:p.call(f,s))||s;return f_(s,{...n,fg:i,bg:l,themeName:a,rootStyle:c},f)}function f_(e,t,n){var d,p,h;const r=Ar(t),o=[],s={type:"root",children:[]},{structure:i="classic"}=t;let l={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,tabindex:"0",...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([g])=>!g.startsWith("_")))},children:[]},a={type:"element",tagName:"code",properties:{},children:o};const c=[],u={...n,structure:i,addClassToHast:nc,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return s},get pre(){return l},get code(){return a},get lines(){return c}};if(e.forEach((g,E)=>{var v,C;E&&(i==="inline"?s.children.push({type:"element",tagName:"br",properties:{},children:[]}):i==="classic"&&o.push({type:"text",value:`
|
|
21
|
+
`}));let w={type:"element",tagName:"span",properties:{class:"line"},children:[]},P=0;for(const T of g){let A={type:"element",tagName:"span",properties:{},children:[{type:"text",value:T.content}]};const V=T.htmlStyle||oc(rc(T));V&&(A.properties.style=V);for(const U of r)A=((v=U==null?void 0:U.span)==null?void 0:v.call(u,A,E+1,P,w))||A;i==="inline"?s.children.push(A):i==="classic"&&w.children.push(A),P+=T.content.length}if(i==="classic"){for(const T of r)w=((C=T==null?void 0:T.line)==null?void 0:C.call(u,w,E+1))||w;c.push(w),o.push(w)}}),i==="classic"){for(const g of r)a=((d=g==null?void 0:g.code)==null?void 0:d.call(u,a))||a;l.children.push(a);for(const g of r)l=((p=g==null?void 0:g.pre)==null?void 0:p.call(u,l))||l;s.children.push(l)}let f=s;for(const g of r)f=((h=g==null?void 0:g.root)==null?void 0:h.call(u,f))||f;return f}function d_(e){return e.map(t=>{const n=[];let r="",o=0;return t.forEach((s,i)=>{const a=!(s.fontStyle&&s.fontStyle&Ge.Underline);a&&s.content.match(/^\s+$/)&&t[i+1]?(o||(o=s.offset),r+=s.content):r?(a?n.push({...s,offset:o,content:r+s.content}):n.push({content:r,offset:o},s),o=0,r=""):n.push(s)}),n})}function p_(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,s,i]=r;if(!o&&!i)return n;const l=[{...n,offset:n.offset+o.length,content:s}];return o&&l.unshift({content:o,offset:n.offset}),i&&l.push({content:i,offset:n.offset+o.length+s.length}),l}))}const h_=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Dn{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Dn.prototype.property={};Dn.prototype.normal={};Dn.prototype.space=null;function ic(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 Dn(n,r,t)}function Bo(e){return e.toLowerCase()}class He{constructor(t,n){this.property=t,this.attribute=n}}He.prototype.space=null;He.prototype.boolean=!1;He.prototype.booleanish=!1;He.prototype.overloadedBoolean=!1;He.prototype.number=!1;He.prototype.commaSeparated=!1;He.prototype.spaceSeparated=!1;He.prototype.commaOrSpaceSeparated=!1;He.prototype.mustUseProperty=!1;He.prototype.defined=!1;let m_=0;const z=jt(),de=jt(),lc=jt(),I=jt(),oe=jt(),Xt=jt(),Me=jt();function jt(){return 2**++m_}var jo=Object.freeze({__proto__:null,boolean:z,booleanish:de,commaOrSpaceSeparated:Me,commaSeparated:Xt,number:I,overloadedBoolean:lc,spaceSeparated:oe});const ao=Object.keys(jo);class vs extends He{constructor(t,n,r,o){let s=-1;if(super(t,n),Mi(this,"space",o),typeof r=="number")for(;++s<ao.length;){const i=ao[s];Mi(this,ao[s],(r&jo[i])===jo[i])}}}vs.prototype.defined=!0;function Mi(e,t,n){n&&(e[t]=n)}const __={}.hasOwnProperty;function an(e){const t={},n={};let r;for(r in e.properties)if(__.call(e.properties,r)){const o=e.properties[r],s=new vs(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[Bo(r)]=r,n[Bo(s.attribute)]=r}return new Dn(t,n,e.space)}const ac=an({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}}),cc=an({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function uc(e,t){return t in e?e[t]:t}function fc(e,t){return uc(e,t.toLowerCase())}const dc=an({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:fc,properties:{xmlns:null,xmlnsXLink:null}}),pc=an({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:de,ariaAutoComplete:null,ariaBusy:de,ariaChecked:de,ariaColCount:I,ariaColIndex:I,ariaColSpan:I,ariaControls:oe,ariaCurrent:null,ariaDescribedBy:oe,ariaDetails:null,ariaDisabled:de,ariaDropEffect:oe,ariaErrorMessage:null,ariaExpanded:de,ariaFlowTo:oe,ariaGrabbed:de,ariaHasPopup:null,ariaHidden:de,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:oe,ariaLevel:I,ariaLive:null,ariaModal:de,ariaMultiLine:de,ariaMultiSelectable:de,ariaOrientation:null,ariaOwns:oe,ariaPlaceholder:null,ariaPosInSet:I,ariaPressed:de,ariaReadOnly:de,ariaRelevant:null,ariaRequired:de,ariaRoleDescription:oe,ariaRowCount:I,ariaRowIndex:I,ariaRowSpan:I,ariaSelected:de,ariaSetSize:I,ariaSort:null,ariaValueMax:I,ariaValueMin:I,ariaValueNow:I,ariaValueText:null,role:null}}),g_=an({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:fc,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Xt,acceptCharset:oe,accessKey:oe,action:null,allow:null,allowFullScreen:z,allowPaymentRequest:z,allowUserMedia:z,alt:null,as:null,async:z,autoCapitalize:null,autoComplete:oe,autoFocus:z,autoPlay:z,blocking:oe,capture:null,charSet:null,checked:z,cite:null,className:oe,cols:I,colSpan:null,content:null,contentEditable:de,controls:z,controlsList:oe,coords:I|Xt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:z,defer:z,dir:null,dirName:null,disabled:z,download:lc,draggable:de,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:z,formTarget:null,headers:oe,height:I,hidden:z,high:I,href:null,hrefLang:null,htmlFor:oe,httpEquiv:oe,id:null,imageSizes:null,imageSrcSet:null,inert:z,inputMode:null,integrity:null,is:null,isMap:z,itemId:null,itemProp:oe,itemRef:oe,itemScope:z,itemType:oe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:z,low:I,manifest:null,max:null,maxLength:I,media:null,method:null,min:null,minLength:I,multiple:z,muted:z,name:null,nonce:null,noModule:z,noValidate:z,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:z,optimum:I,pattern:null,ping:oe,placeholder:null,playsInline:z,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:z,referrerPolicy:null,rel:oe,required:z,reversed:z,rows:I,rowSpan:I,sandbox:oe,scope:null,scoped:z,seamless:z,selected:z,shadowRootDelegatesFocus:z,shadowRootMode:null,shape:null,size:I,sizes:null,slot:null,span:I,spellCheck:de,src:null,srcDoc:null,srcLang:null,srcSet:null,start:I,step:null,style:null,tabIndex:I,target:null,title:null,translate:null,type:null,typeMustMatch:z,useMap:null,value:de,width:I,wrap:null,align:null,aLink:null,archive:oe,axis:null,background:null,bgColor:null,border:I,borderColor:null,bottomMargin:I,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:z,declare:z,event:null,face:null,frame:null,frameBorder:null,hSpace:I,leftMargin:I,link:null,longDesc:null,lowSrc:null,marginHeight:I,marginWidth:I,noResize:z,noHref:z,noShade:z,noWrap:z,object:null,profile:null,prompt:null,rev:null,rightMargin:I,rules:null,scheme:null,scrolling:de,standby:null,summary:null,text:null,topMargin:I,valueType:null,version:null,vAlign:null,vLink:null,vSpace:I,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:z,disableRemotePlayback:z,prefix:null,property:null,results:I,security:null,unselectable:null}}),y_=an({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:uc,properties:{about:Me,accentHeight:I,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:I,amplitude:I,arabicForm:null,ascent:I,attributeName:null,attributeType:null,azimuth:I,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:I,by:null,calcMode:null,capHeight:I,className:oe,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:I,diffuseConstant:I,direction:null,display:null,dur:null,divisor:I,dominantBaseline:null,download:z,dx:null,dy:null,edgeMode:null,editable:null,elevation:I,enableBackground:null,end:null,event:null,exponent:I,externalResourcesRequired:null,fill:null,fillOpacity:I,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:Xt,g2:Xt,glyphName:Xt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:I,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:I,horizOriginX:I,horizOriginY:I,id:null,ideographic:I,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:I,k:I,k1:I,k2:I,k3:I,k4:I,kernelMatrix:Me,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:I,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:I,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:I,overlineThickness:I,paintOrder:null,panose1:null,path:null,pathLength:I,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:oe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:I,pointsAtY:I,pointsAtZ:I,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Me,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Me,rev:Me,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Me,requiredFeatures:Me,requiredFonts:Me,requiredFormats:Me,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:I,specularExponent:I,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:I,strikethroughThickness:I,string:null,stroke:null,strokeDashArray:Me,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:I,strokeOpacity:I,strokeWidth:null,style:null,surfaceScale:I,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Me,tabIndex:I,tableValues:null,target:null,targetX:I,targetY:I,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Me,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:I,underlineThickness:I,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:I,values:null,vAlphabetic:I,vMathematical:I,vectorEffect:null,vHanging:I,vIdeographic:I,version:null,vertAdvY:I,vertOriginX:I,vertOriginY:I,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:I,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),b_=/^data[-\w.:]+$/i,Vi=/-[a-z]/g,v_=/[A-Z]/g;function E_(e,t){const n=Bo(t);let r=t,o=He;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&b_.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(Vi,R_);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!Vi.test(s)){let i=s.replace(v_,w_);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}o=vs}return new o(r,t)}function w_(e){return"-"+e.toLowerCase()}function R_(e){return e.charAt(1).toUpperCase()}const T_=ic([cc,ac,dc,pc,g_],"html"),hc=ic([cc,ac,dc,pc,y_],"svg"),Bi={}.hasOwnProperty;function P_(e,t){const n=t||{};function r(o,...s){let i=r.invalid;const l=r.handlers;if(o&&Bi.call(o,e)){const a=String(o[e]);i=Bi.call(l,a)?l[a]:r.unknown}if(i)return i.call(this,o,...s)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function A_(e,t){if(e=e.replace(t.subset?C_(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function n(o,s,i){return t.format((o.charCodeAt(0)-55296)*1024+o.charCodeAt(1)-56320+65536,i.charCodeAt(s+2),t)}function r(o,s,i){return t.format(o.charCodeAt(0),i.charCodeAt(s+1),t)}}function C_(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function S_(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function L_(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const O_=["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"],co={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:"€"},I_=["cent","copy","divide","gt","lt","not","para","times"],mc={}.hasOwnProperty,$o={};let Jn;for(Jn in co)mc.call(co,Jn)&&($o[co[Jn]]=Jn);function x_(e,t,n,r){const o=String.fromCharCode(e);if(mc.call($o,o)){const s=$o[o],i="&"+s;return n&&O_.includes(s)&&!I_.includes(s)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?i:i+";"}return""}function k_(e,t,n){let r=S_(e,t,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=x_(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const s=L_(e,t,n.omitOptionalSemicolons);s.length<r.length&&(r=s)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function Qt(e,t){return A_(e,Object.assign({format:k_},t))}const N_=/^>|^->|<!--|-->|--!>|<!-$/g,D_=[">"],M_=["<",">"];function V_(e,t,n,r){return r.settings.bogusComments?"<?"+Qt(e.value,Object.assign({},r.settings.characterReferences,{subset:D_}))+">":"<!--"+e.value.replace(N_,o)+"-->";function o(s){return Qt(s,Object.assign({},r.settings.characterReferences,{subset:M_}))}}function B_(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function ji(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 j_(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function $_(e){return e.join(" ").trim()}const H_=/[ \t\n\f\r]/g;function Es(e){return typeof e=="object"?e.type==="text"?$i(e.value):!1:$i(e)}function $i(e){return e.replace(H_,"")===""}const me=gc(1),_c=gc(-1),F_=[];function gc(e){return t;function t(n,r,o){const s=n?n.children:F_;let i=(r||0)+e,l=s[i];if(!o)for(;l&&Es(l);)i+=e,l=s[i];return l}}const U_={}.hasOwnProperty;function yc(e){return t;function t(n,r,o){return U_.call(e,n.tagName)&&e[n.tagName](n,r,o)}}const ws=yc({body:W_,caption:uo,colgroup:uo,dd:J_,dt:z_,head:uo,html:G_,li:K_,optgroup:Y_,option:X_,p:q_,rp:Hi,rt:Hi,tbody:Z_,td:Fi,tfoot:eg,th:Fi,thead:Q_,tr:tg});function uo(e,t,n){const r=me(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Es(r.value.charAt(0)))}function G_(e,t,n){const r=me(n,t);return!r||r.type!=="comment"}function W_(e,t,n){const r=me(n,t);return!r||r.type!=="comment"}function q_(e,t,n){const r=me(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 K_(e,t,n){const r=me(n,t);return!r||r.type==="element"&&r.tagName==="li"}function z_(e,t,n){const r=me(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function J_(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Hi(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function Y_(e,t,n){const r=me(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function X_(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function Q_(e,t,n){const r=me(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function Z_(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function eg(e,t,n){return!me(n,t)}function tg(e,t,n){const r=me(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Fi(e,t,n){const r=me(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const ng=yc({body:sg,colgroup:ig,head:og,html:rg,tbody:lg});function rg(e){const t=me(e,-1);return!t||t.type!=="comment"}function og(e){const t=e.children,n=[];let r=-1;for(;++r<t.length;){const o=t[r];if(o.type==="element"&&(o.tagName==="title"||o.tagName==="base")){if(n.includes(o.tagName))return!1;n.push(o.tagName)}}return t.length>0}function sg(e){const t=me(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Es(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function ig(e,t,n){const r=_c(n,t),o=me(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&ws(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function lg(e,t,n){const r=_c(n,t),o=me(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&ws(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const Yn={name:[[`
|
|
22
22
|
\f\r &/=>`.split(""),`
|
|
23
23
|
\f\r "&'/=>\``.split("")],[`\0
|
|
24
24
|
\f\r "&'/<=>`.split(""),`\0
|
|
@@ -26,6 +26,6 @@ var Lc=Object.defineProperty;var Oc=(e,t,n)=>t in e?Lc(e,t,{enumerable:!0,config
|
|
|
26
26
|
\f\r &>`.split(""),`\0
|
|
27
27
|
\f\r "&'<=>\``.split("")],[`\0
|
|
28
28
|
\f\r "&'<=>\``.split(""),`\0
|
|
29
|
-
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function ug(e,t,n,r){const o=r.schema,s=o.space==="svg"?!1:r.settings.omitOptionalTags;let i=o.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const l=[];let a;o.space==="html"&&e.tagName==="svg"&&(r.schema=yc);const c=fg(r,e.properties),u=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=o,u&&(i=!1),(c||!s||!og(e,t,n))&&(l.push("<",e.tagName,c?" "+c:""),i&&(o.space==="svg"||r.settings.closeSelfClosing)&&(a=c.charAt(c.length-1),(!r.settings.tightSelfClosing||a==="/"||a&&a!=='"'&&a!=="'")&&l.push(" "),l.push("/")),l.push(">")),l.push(u),!i&&(!s||!Ts(e,t,n))&&l.push("</"+e.tagName+">"),l.join("")}function fg(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const s=dg(e,o,t[o]);s&&n.push(s)}}for(;++r<n.length;){const s=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&s!=='"'&&s!=="'"&&(n[r]+=" ")}return n.join("")}function dg(e,t,n){const r=R_(e.schema,t),o=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,s=e.settings.allowDangerousCharacters?0:1;let i=e.quote,l;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 a=Zt(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Yn.name[o][s]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?H_:F_)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?a:(e.settings.preferUnquoted&&(l=Zt(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Yn.unquoted[o][s]}))),l!==n&&(e.settings.quoteSmart&&Hi(n,i)>Hi(n,e.alternative)&&(i=e.alternative),l=i+Zt(n,Object.assign({},e.settings.characterReferences,{subset:(i==="'"?Yn.single:Yn.double)[o][s],attribute:!0}))+i),a+(l&&"="+l))}const pg=["<","&"];function Rc(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Zt(e.value,Object.assign({},r.settings.characterReferences,{subset:pg}))}function hg(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Rc(e,t,n,r)}function mg(e,t,n,r){return r.all(e)}const _g=C_("type",{invalid:gg,unknown:yg,handlers:{comment:j_,doctype:$_,element:ug,raw:hg,root:mg,text:Rc}});function gg(e){throw new Error("Expected node, not `"+e+"`")}function yg(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const bg={},vg={},Eg=[];function wg(e,t){const n=bg,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:Rg,all:Tg,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||__,characterReferences:n.characterReferences||vg,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?yc:A_,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function Rg(e,t,n){return _g(e,t,n,this)}function Tg(e){const t=[],n=e&&e.children||Eg;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function Pg(e,t,n){var s;const r={meta:{},options:n,codeToHast:(i,l)=>Cr(e,i,l),codeToTokens:(i,l)=>Pr(e,i,l)};let o=wg(Cr(e,t,n,r));for(const i of Ar(n))o=((s=i.postprocess)==null?void 0:s.call(r,o,n))||o;return o}async function Ag(e){let t,n;const r={};function o(d){n=d,r.HEAPU8=new Uint8Array(d),r.HEAPU32=new Uint32Array(d)}function s(){return typeof performance<"u"?performance.now():Date.now()}function i(d,p,h){r.HEAPU8.copyWithin(d,p,p+h)}function l(){return 2147483648}function a(d){try{return t.grow(d-n.byteLength+65535>>>16),o(t.buffer),1}catch{}}function c(d){const p=r.HEAPU8.length;d=d>>>0;const h=l();if(d>h)return!1;const g=(E,w)=>E+(w-E%w)%w;for(let E=1;E<=4;E*=2){let w=p*(1+.2/E);w=Math.min(w,d+100663296);const P=Math.min(h,g(Math.max(d,w),65536));if(a(P))return!0}return!1}const u={emscripten_get_now:s,emscripten_memcpy_big:i,emscripten_resize_heap:c,fd_write:()=>0};async function f(){const p=await e({env:u,wasi_snapshot_preview1:u});t=p.memory,o(t.buffer),Object.assign(r,p)}return await f(),r}let be=null,Cg=!1;function Sg(e){throw new we(e.UTF8ToString(e.getLastOnigError()))}class Hr{constructor(t){y(this,"utf16Length");y(this,"utf8Length");y(this,"utf16Value");y(this,"utf8Value");y(this,"utf16OffsetToUtf8");y(this,"utf8OffsetToUtf16");const n=t.length,r=Hr._utf8ByteLength(t),o=r!==n,s=o?new Uint32Array(n+1):null;o&&(s[n]=r);const i=o?new Uint32Array(r+1):null;o&&(i[r]=n);const l=new Uint8Array(r);let a=0;for(let c=0;c<n;c++){const u=t.charCodeAt(c);let f=u,d=!1;if(u>=55296&&u<=56319&&c+1<n){const p=t.charCodeAt(c+1);p>=56320&&p<=57343&&(f=(u-55296<<10)+65536|p-56320,d=!0)}o&&(s[c]=a,d&&(s[c+1]=a),f<=127?i[a+0]=c:f<=2047?(i[a+0]=c,i[a+1]=c):f<=65535?(i[a+0]=c,i[a+1]=c,i[a+2]=c):(i[a+0]=c,i[a+1]=c,i[a+2]=c,i[a+3]=c)),f<=127?l[a++]=f:f<=2047?(l[a++]=192|(f&1984)>>>6,l[a++]=128|(f&63)>>>0):f<=65535?(l[a++]=224|(f&61440)>>>12,l[a++]=128|(f&4032)>>>6,l[a++]=128|(f&63)>>>0):(l[a++]=240|(f&1835008)>>>18,l[a++]=128|(f&258048)>>>12,l[a++]=128|(f&4032)>>>6,l[a++]=128|(f&63)>>>0),d&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=l,this.utf16OffsetToUtf8=s,this.utf8OffsetToUtf16=i}static _utf8ByteLength(t){let n=0;for(let r=0,o=t.length;r<o;r++){const s=t.charCodeAt(r);let i=s,l=!1;if(s>=55296&&s<=56319&&r+1<o){const a=t.charCodeAt(r+1);a>=56320&&a<=57343&&(i=(s-55296<<10)+65536|a-56320,l=!0)}i<=127?n+=1:i<=2047?n+=2:i<=65535?n+=3:n+=4,l&&r++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const Oe=class Oe{constructor(t){y(this,"id",++Oe.LAST_ID);y(this,"_onigBinding");y(this,"content");y(this,"utf16Length");y(this,"utf8Length");y(this,"utf16OffsetToUtf8");y(this,"utf8OffsetToUtf16");y(this,"ptr");if(!be)throw new we("Must invoke loadWasm first.");this._onigBinding=be,this.content=t;const n=new Hr(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Oe._sharedPtrInUse?(Oe._sharedPtr||(Oe._sharedPtr=be.omalloc(1e4)),Oe._sharedPtrInUse=!0,be.HEAPU8.set(n.utf8Value,Oe._sharedPtr),this.ptr=Oe._sharedPtr):this.ptr=n.createString(be)}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===Oe._sharedPtr?Oe._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};y(Oe,"LAST_ID",0),y(Oe,"_sharedPtr",0),y(Oe,"_sharedPtrInUse",!1);let Sr=Oe;class Lg{constructor(t){y(this,"_onigBinding");y(this,"_ptr");if(!be)throw new we("Must invoke loadWasm first.");const n=[],r=[];for(let l=0,a=t.length;l<a;l++){const c=new Hr(t[l]);n[l]=c.createString(be),r[l]=c.utf8Length}const o=be.omalloc(4*t.length);be.HEAPU32.set(n,o/4);const s=be.omalloc(4*t.length);be.HEAPU32.set(r,s/4);const i=be.createOnigScanner(o,s,t.length);for(let l=0,a=t.length;l<a;l++)be.ofree(n[l]);be.ofree(s),be.ofree(o),i===0&&Sg(be),this._onigBinding=be,this._ptr=i}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let o=Cg,s=0;if(typeof r=="number"?(r&8&&(o=!0),s=r):typeof r=="boolean"&&(o=r),typeof t=="string"){t=new Sr(t);const i=this._findNextMatchSync(t,n,o,s);return t.dispose(),i}return this._findNextMatchSync(t,n,o,s)}_findNextMatchSync(t,n,r,o){const s=this._onigBinding;let i;if(r?i=s.findNextOnigScannerMatchDbg(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o):i=s.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o),i===0)return null;const l=s.HEAPU32;let a=i/4;const c=l[a++],u=l[a++],f=[];for(let d=0;d<u;d++){const p=t.convertUtf8OffsetToUtf16(l[a++]),h=t.convertUtf8OffsetToUtf16(l[a++]);f[d]={start:p,end:h,length:h-p}}return{index:c,captureIndices:f}}}function Og(e){return typeof e.instantiator=="function"}function Ig(e){return typeof e.default=="function"}function xg(e){return typeof e.data<"u"}function kg(e){return typeof Response<"u"&&e instanceof Response}function Ng(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 Xn;function Dg(e){if(Xn)return Xn;async function t(){be=await Ag(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),Og(r)?r=await r.instantiator(n):Ig(r)?r=await r.default(n):(xg(r)&&(r=r.data),kg(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await Vg(r)(n):r=await Bg(r)(n):Ng(r)&&(r=await Mg(r)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Xn=t(),Xn}function Mg(e){return t=>WebAssembly.instantiate(e,t)}function Vg(e){return t=>WebAssembly.instantiateStreaming(e,t)}function Bg(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function jg(e){return new Sr(e)}function $g(e){return new Lg(e)}const Wi={light:"#333333",dark:"#bbbbbb"},qi={light:"#fffffe",dark:"#1e1e1e"},Ki="__shiki_resolved";function Tc(e){var l,a,c,u,f;if(e!=null&&e[Ki])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 d=t.settings?t.settings.find(p=>!p.name&&!p.scope):void 0;(l=d==null?void 0:d.settings)!=null&&l.foreground&&(r=d.settings.foreground),(a=d==null?void 0:d.settings)!=null&&a.background&&(n=d.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"?Wi.light:Wi.dark),n||(n=t.type==="light"?qi.light:qi.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 s=new Map;function i(d){var h;if(s.has(d))return s.get(d);o+=1;const p=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return(h=t.colorReplacements)!=null&&h[`#${p}`]?i(d):(s.set(d,p),p)}t.settings=t.settings.map(d=>{var E,w;const p=((E=d.settings)==null?void 0:E.foreground)&&!d.settings.foreground.startsWith("#"),h=((w=d.settings)==null?void 0:w.background)&&!d.settings.background.startsWith("#");if(!p&&!h)return d;const g={...d,settings:{...d.settings}};if(p){const P=i(d.settings.foreground);t.colorReplacements[P]=d.settings.foreground,g.settings.foreground=P}if(h){const P=i(d.settings.background);t.colorReplacements[P]=d.settings.background,g.settings.background=P}return g});for(const d of Object.keys(t.colors||{}))if((d==="editor.foreground"||d==="editor.background"||d.startsWith("terminal.ansi"))&&!((f=t.colors[d])!=null&&f.startsWith("#"))){const p=i(t.colors[d]);t.colorReplacements[p]=t.colors[d],t.colors[d]=p}return Object.defineProperty(t,Ki,{enumerable:!1,writable:!1,value:!0}),t}class Hg extends Km{constructor(n,r,o,s={}){super(n);y(this,"_resolver");y(this,"_themes");y(this,"_langs");y(this,"_alias");y(this,"_resolvedThemes",{});y(this,"_resolvedGrammars",{});y(this,"_langMap",{});y(this,"_langGraph",new Map);y(this,"_textmateThemeCache",new WeakMap);y(this,"_loadedThemesCache",null);y(this,"_loadedLanguagesCache",null);this._resolver=n,this._themes=r,this._langs=o,this._alias=s,r.forEach(i=>this.loadTheme(i)),o.forEach(i=>this.loadLanguage(i))}getTheme(n){return typeof n=="string"?this._resolvedThemes[n]:this.loadTheme(n)}loadTheme(n){const r=Tc(n);return r.name&&(this._resolvedThemes[r.name]=r,this._loadedThemesCache=null),r}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=Object.keys(this._resolvedThemes)),this._loadedThemesCache}setTheme(n){let r=this._textmateThemeCache.get(n);r||(r=Rr.createFromRawTheme(n),this._textmateThemeCache.set(n,r)),this._syncRegistry.setTheme(r)}getGrammar(n){if(this._alias[n]){const r=new Set([n]);for(;this._alias[n];){if(n=this._alias[n],r.has(n))throw new we(`Circular alias \`${Array.from(r).join(" -> ")} -> ${n}\``);r.add(n)}}return this._resolvedGrammars[n]}async loadLanguage(n){var i,l,a,c;if(this.getGrammar(n.name))return;const r=new Set(Object.values(this._langMap).filter(u=>{var f;return(f=u.embeddedLangsLazy)==null?void 0:f.includes(n.name)}));this._resolver.addLanguage(n);const o={balancedBracketSelectors:n.balancedBracketSelectors||["*"],unbalancedBracketSelectors:n.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(n.scopeName,n);const s=await this.loadGrammarWithConfiguration(n.scopeName,1,o);if(this._resolvedGrammars[n.name]=s,n.aliases&&n.aliases.forEach(u=>{this._alias[u]=n.name}),this._loadedLanguagesCache=null,r.size)for(const u of r)delete this._resolvedGrammars[u.name],this._loadedLanguagesCache=null,(l=(i=this._syncRegistry)==null?void 0:i._injectionGrammars)==null||l.delete(u.scopeName),(c=(a=this._syncRegistry)==null?void 0:a._grammars)==null||c.delete(u.scopeName),await this.loadLanguage(this._langMap[u.name])}async init(){this._themes.map(n=>this.loadTheme(n)),await this.loadLanguages(this._langs)}async loadLanguages(n){for(const s of n)this.resolveEmbeddedLanguages(s);const r=Array.from(this._langGraph.entries()),o=r.filter(([s,i])=>!i);if(o.length){const s=r.filter(([i,l])=>{var a;return l&&((a=l.embeddedLangs)==null?void 0:a.some(c=>o.map(([u])=>u).includes(c)))}).filter(i=>!o.includes(i));throw new we(`Missing languages ${o.map(([i])=>`\`${i}\``).join(", ")}, required by ${s.map(([i])=>`\`${i}\``).join(", ")}`)}for(const[s,i]of r)this._resolver.addLanguage(i);for(const[s,i]of r)await this.loadLanguage(i)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=Object.keys({...this._resolvedGrammars,...this._alias})),this._loadedLanguagesCache}resolveEmbeddedLanguages(n){if(this._langMap[n.name]=n,this._langGraph.set(n.name,n),n.embeddedLangs)for(const r of n.embeddedLangs)this._langGraph.set(r,this._langMap[r])}}class Fg{constructor(t,n){y(this,"_langs",new Map);y(this,"_scopeToLang",new Map);y(this,"_injections",new Map);y(this,"_onigLibPromise");this._onigLibPromise=t,n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLibPromise}getLangRegistration(t){return this._langs.get(t)}async 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 s=n.slice(0,o).join(".");r=[...r,...this._injections.get(s)||[]]}return r}}let Ug;async function Gg(e={}){async function t(E){return Promise.resolve(typeof E=="function"?E():E).then(w=>w.default||w)}async function n(E){return Array.from(new Set((await Promise.all(E.filter(w=>!rc(w)).map(async w=>await t(w).then(P=>Array.isArray(P)?P:[P])))).flat()))}const r=e.loadWasm||Ug,[o,s]=await Promise.all([Promise.all((e.themes||[]).map(t)).then(E=>E.map(Tc)),n(e.langs||[]),r?Dg(r):void 0]),i=new Fg(Promise.resolve({createOnigScanner(E){return $g(E)},createOnigString(E){return jg(E)}}),s),l=new Hg(i,o,s,e.langAlias);await l.init();let a;function c(E){const w=l.getGrammar(typeof E=="string"?E:E.name);if(!w)throw new we(`Language \`${E}\` not found, you may need to load it first`);return w}function u(E){if(E==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};const w=l.getTheme(E);if(!w)throw new we(`Theme \`${E}\` not found, you may need to load it first`);return w}function f(E){const w=u(E);a!==E&&(l.setTheme(w),a=E);const P=l.getColorMap();return{theme:w,colorMap:P}}function d(){return l.getLoadedThemes()}function p(){return l.getLoadedLanguages()}async function h(...E){await l.loadLanguages(await n(E))}async function g(...E){await Promise.all(E.map(async w=>sc(w)?null:l.loadTheme(await t(w))))}return{setTheme:f,getTheme:u,getLanguage:c,getLoadedThemes:d,getLoadedLanguages:p,loadLanguage:h,loadTheme:g}}async function Wg(e={}){const t=await Gg(e);return{codeToTokensBase:(n,r)=>Es(t,n,r),codeToTokensWithThemes:(n,r)=>cc(t,n,r),codeToTokens:(n,r)=>Pr(t,n,r),codeToHast:(n,r)=>Cr(t,n,r),codeToHtml:(n,r)=>Pg(t,n,r),...t,getInternalContext:()=>t}}function qg(e,t,n){async function r(o){function s(u){if(typeof u=="string"){if(rc(u))return[];const f=e[u];if(!f)throw new we(`Language \`${u}\` is not included in this bundle. You may want to load it from external source.`);return f}return u}function i(u){if(sc(u))return"none";if(typeof u=="string"){const f=t[u];if(!f)throw new we(`Theme \`${u}\` is not included in this bundle. You may want to load it from external source.`);return f}return u}const l=(o.themes??[]).map(u=>i(u)),a=(o.langs??[]).map(u=>s(u)),c=await Wg({...o,themes:l,langs:a,loadWasm:n});return{...c,loadLanguage(...u){return c.loadLanguage(...u.map(s))},loadTheme(...u){return c.loadTheme(...u.map(i))}}}return r}const Kg=qg(lm,um,am),Pc=We(),Ac=We();function zg(){return Kg({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(e=>{Ac.value=e})}function Jg(e,t){return _t(()=>{var r;const n=((r=Pc.value)==null?void 0:r.colorMode)||"light";return Ac.value.codeToHtml(gu(e),{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const Yg=["innerHTML"],Xg=Bt({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!1},transformRendered:{}},setup(e){const t=e,n=_t(()=>{const r=Jg(t.code,t.lang);return t.transformRendered?t.transformRendered(r.value||""):r.value});return(r,o)=>(te(),Se("pre",{class:Vt(["n-code-block",r.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,Yg))}});async function Qg(e){const t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return ey(await Zg(t))}async function Zg(e){const t=e.body.getReader(),n=+e.headers.get("Content-Length");if(n)return n;{let r=0;for(;;){const{done:o,value:s}=await t.read();if(o)return r;r+=s.length}}}function ey(e){const t=["Bytes","KB","MB","GB","TB"];if(e===0)return"0 Byte";const n=Math.floor(Math.log(e)/Math.log(1024));return`${Number.parseFloat((e/1024**n).toFixed(2))} ${t[n]}`}function ty(e){return new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"numeric",second:"numeric",hour12:!0}).format(e)}function ny(e){return Pd(e)?new URL(e).origin:e}let ry;const fn=[];function oy(e){if(fn.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&fn.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&fn.forEach(n=>n(t))},get(){return ry.value},configurable:!0}),()=>{fn.splice(fn.indexOf(e),1)}}const sy={class:"relative n-bg-base flex flex-col"},iy={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},ly={class:"mx-auto flex flex-col w-full"},ay={key:0},cy=xe("div",null,"No scripts loaded.",-1),uy=[cy],fy={class:"space-y-3"},dy={class:"flex items-center justify-between w-full mb-3"},py={class:"flex items-center gap-4"},hy=["title","href"],my=["src"],_y={class:"opacity-70"},gy={key:0},yy={class:"space-y-2"},by={class:"opacity-40"},vy={key:0,class:"font-bold px-2 py-[2px] bg-green-50 text-green-700 rounded-lg"},Ey={key:1,class:"font-bold px-2 py-[2px] bg-gray-100 text-gray-700 rounded-lg"},wy={key:2,class:"font-bold px-2 py-[2px] bg-red-100 text-red-700 rounded-lg"},Ry={key:3,class:"font-bold px-2 py-[2px] bg-yellow-100 text-yellow-700 rounded-lg"},Ty=Bt({__name:"app",async setup(e){let t,n;[t,n]=Zu(()=>zg()),await t,n();const r=We({}),o=Ze({});function s(i){r.value={...i};for(const l in i)o[l]||Qg(i[l].src).then(a=>{o[l]=a}).catch(()=>{o[l]=0})}return oy(async i=>{Pc.value=i.devtools,i.host.nuxt.hooks.hook("scripts:updated",l=>{s(l.scripts)}),s(i.host.nuxt._scripts)}),(i,l)=>{const a=om,c=Xg;return te(),Se("div",sy,[xe("div",iy,[xe("main",ly,[Object.keys(se(r)).length?At("",!0):(te(),Se("div",ay,uy)),xe("div",fy,[(te(!0),Se(Pe,null,Gs(se(r),(u,f)=>(te(),Se("div",{key:f,class:"w-full"},[xe("div",dy,[xe("div",py,[xe("a",{class:"text-xl font-bold flex gap-2 items-center font-mono",title:u.src,target:"_blank",href:u.src},[u.src.startsWith("/")?At("",!0):(te(),Se("img",{key:0,src:`https://www.google.com/s2/favicons?domain=${se(ny)(u.src)}`,class:"w-4 h-4 rounded-lg"},null,8,my)),xe("div",null,at(u.key),1)],8,hy),xe("div",_y,at(u.$script.status.value),1),se(o)[u.key]?(te(),Se("div",gy,at(se(o)[u.key]),1)):At("",!0)]),xe("div",null,[u.$script.status==="awaitingLoad"?(te(),ke(a,{key:0,onClick:d=>u.$script.load()},{default:Rn(()=>[dr(" Load ")]),_:2},1032,["onClick"])):u.$script.status==="loaded"?(te(),ke(a,{key:1,onClick:d=>u.$script.remove()},{default:Rn(()=>[dr(" Remove ")]),_:2},1032,["onClick"])):At("",!0)])]),xe("div",yy,[(te(!0),Se(Pe,null,Gs(u.events,(d,p)=>{var h;return te(),Se("div",{key:p,class:"flex gap-3 text-xs justify-start items-center"},[xe("div",by,at(se(ty)(d.at)),1),d.type==="status"?(te(),Se(Pe,{key:0},[d.status==="loaded"?(te(),Se("div",vy,at(d.status),1)):d.status==="awaitingLoad"?(te(),Se("div",Ey,at(d.status),1)):d.status==="removed"||d.status==="error"?(te(),Se("div",wy,at(d.status),1)):d.status==="loading"?(te(),Se("div",Ry,at(d.status),1)):At("",!0)],64)):d.type==="fn-call"&&d.args?(te(),ke(c,{key:1,code:`${d.fn}(${((h=d.args)==null?void 0:h.map(g=>JSON.stringify(g,null,2)).join(", "))||""})`,lang:"javascript"},null,8,["code"])):d.type==="fn-call"&&!d.args?(te(),ke(c,{key:2,code:`QUEUED ${d.fn}`,lang:"javascript"},null,8,["code"])):At("",!0)])}),128))])]))),128))])])])])}}}),Py={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
|
|
29
|
+
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function ag(e,t,n,r){const o=r.schema,s=o.space==="svg"?!1:r.settings.omitOptionalTags;let i=o.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const l=[];let a;o.space==="html"&&e.tagName==="svg"&&(r.schema=hc);const c=cg(r,e.properties),u=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=o,u&&(i=!1),(c||!s||!ng(e,t,n))&&(l.push("<",e.tagName,c?" "+c:""),i&&(o.space==="svg"||r.settings.closeSelfClosing)&&(a=c.charAt(c.length-1),(!r.settings.tightSelfClosing||a==="/"||a&&a!=='"'&&a!=="'")&&l.push(" "),l.push("/")),l.push(">")),l.push(u),!i&&(!s||!ws(e,t,n))&&l.push("</"+e.tagName+">"),l.join("")}function cg(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const s=ug(e,o,t[o]);s&&n.push(s)}}for(;++r<n.length;){const s=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&s!=='"'&&s!=="'"&&(n[r]+=" ")}return n.join("")}function ug(e,t,n){const r=E_(e.schema,t),o=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,s=e.settings.allowDangerousCharacters?0:1;let i=e.quote,l;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 a=Qt(r.attribute,Object.assign({},e.settings.characterReferences,{subset:Yn.name[o][s]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?j_:$_)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?a:(e.settings.preferUnquoted&&(l=Qt(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:Yn.unquoted[o][s]}))),l!==n&&(e.settings.quoteSmart&&ji(n,i)>ji(n,e.alternative)&&(i=e.alternative),l=i+Qt(n,Object.assign({},e.settings.characterReferences,{subset:(i==="'"?Yn.single:Yn.double)[o][s],attribute:!0}))+i),a+(l&&"="+l))}const fg=["<","&"];function bc(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Qt(e.value,Object.assign({},r.settings.characterReferences,{subset:fg}))}function dg(e,t,n,r){return r.settings.allowDangerousHtml?e.value:bc(e,t,n,r)}function pg(e,t,n,r){return r.all(e)}const hg=P_("type",{invalid:mg,unknown:_g,handlers:{comment:V_,doctype:B_,element:ag,raw:dg,root:pg,text:bc}});function mg(e){throw new Error("Expected node, not `"+e+"`")}function _g(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const gg={},yg={},bg=[];function vg(e,t){const n=gg,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:Eg,all:wg,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||h_,characterReferences:n.characterReferences||yg,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?hc:T_,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function Eg(e,t,n){return hg(e,t,n,this)}function wg(e){const t=[],n=e&&e.children||bg;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function Rg(e,t,n){var s;const r={meta:{},options:n,codeToHast:(i,l)=>Cr(e,i,l),codeToTokens:(i,l)=>Pr(e,i,l)};let o=vg(Cr(e,t,n,r));for(const i of Ar(n))o=((s=i.postprocess)==null?void 0:s.call(r,o,n))||o;return o}async function Tg(e){let t,n;const r={};function o(d){n=d,r.HEAPU8=new Uint8Array(d),r.HEAPU32=new Uint32Array(d)}function s(){return typeof performance<"u"?performance.now():Date.now()}function i(d,p,h){r.HEAPU8.copyWithin(d,p,p+h)}function l(){return 2147483648}function a(d){try{return t.grow(d-n.byteLength+65535>>>16),o(t.buffer),1}catch{}}function c(d){const p=r.HEAPU8.length;d=d>>>0;const h=l();if(d>h)return!1;const g=(E,w)=>E+(w-E%w)%w;for(let E=1;E<=4;E*=2){let w=p*(1+.2/E);w=Math.min(w,d+100663296);const P=Math.min(h,g(Math.max(d,w),65536));if(a(P))return!0}return!1}const u={emscripten_get_now:s,emscripten_memcpy_big:i,emscripten_resize_heap:c,fd_write:()=>0};async function f(){const p=await e({env:u,wasi_snapshot_preview1:u});t=p.memory,o(t.buffer),Object.assign(r,p)}return await f(),r}let be=null,Pg=!1;function Ag(e){throw new we(e.UTF8ToString(e.getLastOnigError()))}class Hr{constructor(t){y(this,"utf16Length");y(this,"utf8Length");y(this,"utf16Value");y(this,"utf8Value");y(this,"utf16OffsetToUtf8");y(this,"utf8OffsetToUtf16");const n=t.length,r=Hr._utf8ByteLength(t),o=r!==n,s=o?new Uint32Array(n+1):null;o&&(s[n]=r);const i=o?new Uint32Array(r+1):null;o&&(i[r]=n);const l=new Uint8Array(r);let a=0;for(let c=0;c<n;c++){const u=t.charCodeAt(c);let f=u,d=!1;if(u>=55296&&u<=56319&&c+1<n){const p=t.charCodeAt(c+1);p>=56320&&p<=57343&&(f=(u-55296<<10)+65536|p-56320,d=!0)}o&&(s[c]=a,d&&(s[c+1]=a),f<=127?i[a+0]=c:f<=2047?(i[a+0]=c,i[a+1]=c):f<=65535?(i[a+0]=c,i[a+1]=c,i[a+2]=c):(i[a+0]=c,i[a+1]=c,i[a+2]=c,i[a+3]=c)),f<=127?l[a++]=f:f<=2047?(l[a++]=192|(f&1984)>>>6,l[a++]=128|(f&63)>>>0):f<=65535?(l[a++]=224|(f&61440)>>>12,l[a++]=128|(f&4032)>>>6,l[a++]=128|(f&63)>>>0):(l[a++]=240|(f&1835008)>>>18,l[a++]=128|(f&258048)>>>12,l[a++]=128|(f&4032)>>>6,l[a++]=128|(f&63)>>>0),d&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=l,this.utf16OffsetToUtf8=s,this.utf8OffsetToUtf16=i}static _utf8ByteLength(t){let n=0;for(let r=0,o=t.length;r<o;r++){const s=t.charCodeAt(r);let i=s,l=!1;if(s>=55296&&s<=56319&&r+1<o){const a=t.charCodeAt(r+1);a>=56320&&a<=57343&&(i=(s-55296<<10)+65536|a-56320,l=!0)}i<=127?n+=1:i<=2047?n+=2:i<=65535?n+=3:n+=4,l&&r++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const Oe=class Oe{constructor(t){y(this,"id",++Oe.LAST_ID);y(this,"_onigBinding");y(this,"content");y(this,"utf16Length");y(this,"utf8Length");y(this,"utf16OffsetToUtf8");y(this,"utf8OffsetToUtf16");y(this,"ptr");if(!be)throw new we("Must invoke loadWasm first.");this._onigBinding=be,this.content=t;const n=new Hr(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Oe._sharedPtrInUse?(Oe._sharedPtr||(Oe._sharedPtr=be.omalloc(1e4)),Oe._sharedPtrInUse=!0,be.HEAPU8.set(n.utf8Value,Oe._sharedPtr),this.ptr=Oe._sharedPtr):this.ptr=n.createString(be)}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===Oe._sharedPtr?Oe._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};y(Oe,"LAST_ID",0),y(Oe,"_sharedPtr",0),y(Oe,"_sharedPtrInUse",!1);let Sr=Oe;class Cg{constructor(t){y(this,"_onigBinding");y(this,"_ptr");if(!be)throw new we("Must invoke loadWasm first.");const n=[],r=[];for(let l=0,a=t.length;l<a;l++){const c=new Hr(t[l]);n[l]=c.createString(be),r[l]=c.utf8Length}const o=be.omalloc(4*t.length);be.HEAPU32.set(n,o/4);const s=be.omalloc(4*t.length);be.HEAPU32.set(r,s/4);const i=be.createOnigScanner(o,s,t.length);for(let l=0,a=t.length;l<a;l++)be.ofree(n[l]);be.ofree(s),be.ofree(o),i===0&&Ag(be),this._onigBinding=be,this._ptr=i}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let o=Pg,s=0;if(typeof r=="number"?(r&8&&(o=!0),s=r):typeof r=="boolean"&&(o=r),typeof t=="string"){t=new Sr(t);const i=this._findNextMatchSync(t,n,o,s);return t.dispose(),i}return this._findNextMatchSync(t,n,o,s)}_findNextMatchSync(t,n,r,o){const s=this._onigBinding;let i;if(r?i=s.findNextOnigScannerMatchDbg(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o):i=s.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o),i===0)return null;const l=s.HEAPU32;let a=i/4;const c=l[a++],u=l[a++],f=[];for(let d=0;d<u;d++){const p=t.convertUtf8OffsetToUtf16(l[a++]),h=t.convertUtf8OffsetToUtf16(l[a++]);f[d]={start:p,end:h,length:h-p}}return{index:c,captureIndices:f}}}function Sg(e){return typeof e.instantiator=="function"}function Lg(e){return typeof e.default=="function"}function Og(e){return typeof e.data<"u"}function Ig(e){return typeof Response<"u"&&e instanceof Response}function xg(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 Xn;function kg(e){if(Xn)return Xn;async function t(){be=await Tg(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),Sg(r)?r=await r.instantiator(n):Lg(r)?r=await r.default(n):(Og(r)&&(r=r.data),Ig(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await Dg(r)(n):r=await Mg(r)(n):xg(r)&&(r=await Ng(r)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Xn=t(),Xn}function Ng(e){return t=>WebAssembly.instantiate(e,t)}function Dg(e){return t=>WebAssembly.instantiateStreaming(e,t)}function Mg(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function Vg(e){return new Sr(e)}function Bg(e){return new Cg(e)}const Ui={light:"#333333",dark:"#bbbbbb"},Gi={light:"#fffffe",dark:"#1e1e1e"},Wi="__shiki_resolved";function vc(e){var l,a,c,u,f;if(e!=null&&e[Wi])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 d=t.settings?t.settings.find(p=>!p.name&&!p.scope):void 0;(l=d==null?void 0:d.settings)!=null&&l.foreground&&(r=d.settings.foreground),(a=d==null?void 0:d.settings)!=null&&a.background&&(n=d.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"?Ui.light:Ui.dark),n||(n=t.type==="light"?Gi.light:Gi.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 s=new Map;function i(d){var h;if(s.has(d))return s.get(d);o+=1;const p=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return(h=t.colorReplacements)!=null&&h[`#${p}`]?i(d):(s.set(d,p),p)}t.settings=t.settings.map(d=>{var E,w;const p=((E=d.settings)==null?void 0:E.foreground)&&!d.settings.foreground.startsWith("#"),h=((w=d.settings)==null?void 0:w.background)&&!d.settings.background.startsWith("#");if(!p&&!h)return d;const g={...d,settings:{...d.settings}};if(p){const P=i(d.settings.foreground);t.colorReplacements[P]=d.settings.foreground,g.settings.foreground=P}if(h){const P=i(d.settings.background);t.colorReplacements[P]=d.settings.background,g.settings.background=P}return g});for(const d of Object.keys(t.colors||{}))if((d==="editor.foreground"||d==="editor.background"||d.startsWith("terminal.ansi"))&&!((f=t.colors[d])!=null&&f.startsWith("#"))){const p=i(t.colors[d]);t.colorReplacements[p]=t.colors[d],t.colors[d]=p}return Object.defineProperty(t,Wi,{enumerable:!1,writable:!1,value:!0}),t}class jg extends Wm{constructor(n,r,o,s={}){super(n);y(this,"_resolver");y(this,"_themes");y(this,"_langs");y(this,"_alias");y(this,"_resolvedThemes",{});y(this,"_resolvedGrammars",{});y(this,"_langMap",{});y(this,"_langGraph",new Map);y(this,"_textmateThemeCache",new WeakMap);y(this,"_loadedThemesCache",null);y(this,"_loadedLanguagesCache",null);this._resolver=n,this._themes=r,this._langs=o,this._alias=s,r.forEach(i=>this.loadTheme(i)),o.forEach(i=>this.loadLanguage(i))}getTheme(n){return typeof n=="string"?this._resolvedThemes[n]:this.loadTheme(n)}loadTheme(n){const r=vc(n);return r.name&&(this._resolvedThemes[r.name]=r,this._loadedThemesCache=null),r}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=Object.keys(this._resolvedThemes)),this._loadedThemesCache}setTheme(n){let r=this._textmateThemeCache.get(n);r||(r=Rr.createFromRawTheme(n),this._textmateThemeCache.set(n,r)),this._syncRegistry.setTheme(r)}getGrammar(n){if(this._alias[n]){const r=new Set([n]);for(;this._alias[n];){if(n=this._alias[n],r.has(n))throw new we(`Circular alias \`${Array.from(r).join(" -> ")} -> ${n}\``);r.add(n)}}return this._resolvedGrammars[n]}async loadLanguage(n){var i,l,a,c;if(this.getGrammar(n.name))return;const r=new Set(Object.values(this._langMap).filter(u=>{var f;return(f=u.embeddedLangsLazy)==null?void 0:f.includes(n.name)}));this._resolver.addLanguage(n);const o={balancedBracketSelectors:n.balancedBracketSelectors||["*"],unbalancedBracketSelectors:n.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(n.scopeName,n);const s=await this.loadGrammarWithConfiguration(n.scopeName,1,o);if(this._resolvedGrammars[n.name]=s,n.aliases&&n.aliases.forEach(u=>{this._alias[u]=n.name}),this._loadedLanguagesCache=null,r.size)for(const u of r)delete this._resolvedGrammars[u.name],this._loadedLanguagesCache=null,(l=(i=this._syncRegistry)==null?void 0:i._injectionGrammars)==null||l.delete(u.scopeName),(c=(a=this._syncRegistry)==null?void 0:a._grammars)==null||c.delete(u.scopeName),await this.loadLanguage(this._langMap[u.name])}async init(){this._themes.map(n=>this.loadTheme(n)),await this.loadLanguages(this._langs)}async loadLanguages(n){for(const s of n)this.resolveEmbeddedLanguages(s);const r=Array.from(this._langGraph.entries()),o=r.filter(([s,i])=>!i);if(o.length){const s=r.filter(([i,l])=>{var a;return l&&((a=l.embeddedLangs)==null?void 0:a.some(c=>o.map(([u])=>u).includes(c)))}).filter(i=>!o.includes(i));throw new we(`Missing languages ${o.map(([i])=>`\`${i}\``).join(", ")}, required by ${s.map(([i])=>`\`${i}\``).join(", ")}`)}for(const[s,i]of r)this._resolver.addLanguage(i);for(const[s,i]of r)await this.loadLanguage(i)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=Object.keys({...this._resolvedGrammars,...this._alias})),this._loadedLanguagesCache}resolveEmbeddedLanguages(n){if(this._langMap[n.name]=n,this._langGraph.set(n.name,n),n.embeddedLangs)for(const r of n.embeddedLangs)this._langGraph.set(r,this._langMap[r])}}class $g{constructor(t,n){y(this,"_langs",new Map);y(this,"_scopeToLang",new Map);y(this,"_injections",new Map);y(this,"_onigLibPromise");this._onigLibPromise=t,n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLibPromise}getLangRegistration(t){return this._langs.get(t)}async 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 s=n.slice(0,o).join(".");r=[...r,...this._injections.get(s)||[]]}return r}}let Hg;async function Fg(e={}){async function t(E){return Promise.resolve(typeof E=="function"?E():E).then(w=>w.default||w)}async function n(E){return Array.from(new Set((await Promise.all(E.filter(w=>!Za(w)).map(async w=>await t(w).then(P=>Array.isArray(P)?P:[P])))).flat()))}const r=e.loadWasm||Hg,[o,s]=await Promise.all([Promise.all((e.themes||[]).map(t)).then(E=>E.map(vc)),n(e.langs||[]),r?kg(r):void 0]),i=new $g(Promise.resolve({createOnigScanner(E){return Bg(E)},createOnigString(E){return Vg(E)}}),s),l=new jg(i,o,s,e.langAlias);await l.init();let a;function c(E){const w=l.getGrammar(typeof E=="string"?E:E.name);if(!w)throw new we(`Language \`${E}\` not found, you may need to load it first`);return w}function u(E){if(E==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};const w=l.getTheme(E);if(!w)throw new we(`Theme \`${E}\` not found, you may need to load it first`);return w}function f(E){const w=u(E);a!==E&&(l.setTheme(w),a=E);const P=l.getColorMap();return{theme:w,colorMap:P}}function d(){return l.getLoadedThemes()}function p(){return l.getLoadedLanguages()}async function h(...E){await l.loadLanguages(await n(E))}async function g(...E){await Promise.all(E.map(async w=>tc(w)?null:l.loadTheme(await t(w))))}return{setTheme:f,getTheme:u,getLanguage:c,getLoadedThemes:d,getLoadedLanguages:p,loadLanguage:h,loadTheme:g}}async function Ug(e={}){const t=await Fg(e);return{codeToTokensBase:(n,r)=>bs(t,n,r),codeToTokensWithThemes:(n,r)=>sc(t,n,r),codeToTokens:(n,r)=>Pr(t,n,r),codeToHast:(n,r)=>Cr(t,n,r),codeToHtml:(n,r)=>Rg(t,n,r),...t,getInternalContext:()=>t}}function Gg(e,t,n){async function r(o){function s(u){if(typeof u=="string"){if(Za(u))return[];const f=e[u];if(!f)throw new we(`Language \`${u}\` is not included in this bundle. You may want to load it from external source.`);return f}return u}function i(u){if(tc(u))return"none";if(typeof u=="string"){const f=t[u];if(!f)throw new we(`Theme \`${u}\` is not included in this bundle. You may want to load it from external source.`);return f}return u}const l=(o.themes??[]).map(u=>i(u)),a=(o.langs??[]).map(u=>s(u)),c=await Ug({...o,themes:l,langs:a,loadWasm:n});return{...c,loadLanguage(...u){return c.loadLanguage(...u.map(s))},loadTheme(...u){return c.loadTheme(...u.map(i))}}}return r}const Wg=Gg(sm,am,im),Ec=We(),wc=We();function qg(){return Wg({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(e=>{wc.value=e})}function Kg(e,t){return _t(()=>{var r;const n=((r=Ec.value)==null?void 0:r.colorMode)||"light";return wc.value.codeToHtml(pu(e),{lang:t,theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const zg=["innerHTML"],Jg=Bt({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!1},transformRendered:{}},setup(e){const t=e,n=_t(()=>{const r=Kg(t.code,t.lang);return t.transformRendered?t.transformRendered(r.value||""):r.value});return(r,o)=>(te(),Se("pre",{class:Vt(["n-code-block",r.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,zg))}});async function Yg(e){const t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return Qg(await Xg(t))}async function Xg(e){const t=e.body.getReader(),n=+e.headers.get("Content-Length");if(n)return n;{let r=0;for(;;){const{done:o,value:s}=await t.read();if(o)return r;r+=s.length}}}function Qg(e){const t=["Bytes","KB","MB","GB","TB"];if(e===0)return"0 Byte";const n=Math.floor(Math.log(e)/Math.log(1024));return`${Number.parseFloat((e/1024**n).toFixed(2))} ${t[n]}`}function Zg(e){return new Intl.DateTimeFormat("en-US",{hour:"numeric",minute:"numeric",second:"numeric",hour12:!0}).format(e)}function ey(e){return Ed(e)?new URL(e).origin:e}let ty;const un=[];function ny(e){if(un.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&un.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&un.forEach(n=>n(t))},get(){return ty.value},configurable:!0}),()=>{un.splice(un.indexOf(e),1)}}const ry={class:"relative n-bg-base flex flex-col"},oy={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},sy={class:"mx-auto flex flex-col w-full"},iy={key:0},ly=xe("div",null,"No scripts loaded.",-1),ay=[ly],cy={class:"space-y-3"},uy={class:"flex items-center justify-between w-full mb-3"},fy={class:"flex items-center gap-4"},dy=["title","href"],py=["src"],hy={class:"opacity-70"},my={key:0},_y={class:"space-y-2"},gy={class:"opacity-40"},yy={key:0,class:"font-bold px-2 py-[2px] bg-green-50 text-green-700 rounded-lg"},by={key:1,class:"font-bold px-2 py-[2px] bg-gray-100 text-gray-700 rounded-lg"},vy={key:2,class:"font-bold px-2 py-[2px] bg-red-100 text-red-700 rounded-lg"},Ey={key:3,class:"font-bold px-2 py-[2px] bg-yellow-100 text-yellow-700 rounded-lg"},wy=Bt({__name:"app",async setup(e){let t,n;[t,n]=Ju(()=>qg()),await t,n();const r=We({}),o=Ze({});function s(i){r.value={...i};for(const l in i)o[l]||Yg(i[l].src).then(a=>{o[l]=a}).catch(()=>{o[l]=0})}return ny(async i=>{Ec.value=i.devtools,i.host.nuxt.hooks.hook("scripts:updated",l=>{s(l.scripts)}),s(i.host.nuxt._scripts)}),(i,l)=>{const a=nm,c=Jg;return te(),Se("div",ry,[xe("div",oy,[xe("main",sy,[Object.keys(se(r)).length?At("",!0):(te(),Se("div",iy,ay)),xe("div",cy,[(te(!0),Se(Pe,null,Fs(se(r),(u,f)=>(te(),Se("div",{key:f,class:"w-full"},[xe("div",uy,[xe("div",fy,[xe("a",{class:"text-xl font-bold flex gap-2 items-center font-mono",title:u.src,target:"_blank",href:u.src},[u.src.startsWith("/")?At("",!0):(te(),Se("img",{key:0,src:`https://www.google.com/s2/favicons?domain=${se(ey)(u.src)}`,class:"w-4 h-4 rounded-lg"},null,8,py)),xe("div",null,at(u.key),1)],8,dy),xe("div",hy,at(u.$script.status.value),1),se(o)[u.key]?(te(),Se("div",my,at(se(o)[u.key]),1)):At("",!0)]),xe("div",null,[u.$script.status==="awaitingLoad"?(te(),ke(a,{key:0,onClick:d=>u.$script.load()},{default:Rn(()=>[dr(" Load ")]),_:2},1032,["onClick"])):u.$script.status==="loaded"?(te(),ke(a,{key:1,onClick:d=>u.$script.remove()},{default:Rn(()=>[dr(" Remove ")]),_:2},1032,["onClick"])):At("",!0)])]),xe("div",_y,[(te(!0),Se(Pe,null,Fs(u.events,(d,p)=>{var h;return te(),Se("div",{key:p,class:"flex gap-3 text-xs justify-start items-center"},[xe("div",gy,at(se(Zg)(d.at)),1),d.type==="status"?(te(),Se(Pe,{key:0},[d.status==="loaded"?(te(),Se("div",yy,at(d.status),1)):d.status==="awaitingLoad"?(te(),Se("div",by,at(d.status),1)):d.status==="removed"||d.status==="error"?(te(),Se("div",vy,at(d.status),1)):d.status==="loading"?(te(),Se("div",Ey,at(d.status),1)):At("",!0)],64)):d.type==="fn-call"&&d.args?(te(),ke(c,{key:1,code:`${d.fn}(${((h=d.args)==null?void 0:h.map(g=>JSON.stringify(g,null,2)).join(", "))||""})`,lang:"javascript"},null,8,["code"])):d.type==="fn-call"&&!d.args?(te(),ke(c,{key:2,code:`QUEUED ${d.fn}`,lang:"javascript"},null,8,["code"])):At("",!0)])}),128))])]))),128))])])])])}}}),Ry={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
|
|
30
30
|
`).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(`
|
|
31
|
-
`);const r=Number(n.statusCode||500),o=r===404,s=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),l=void 0,u=o?
|
|
31
|
+
`);const r=Number(n.statusCode||500),o=r===404,s=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),l=void 0,u=o?Hs(()=>m(()=>import("./Dmsejhs1.js"),__vite__mapDeps([90,91,92]),import.meta.url).then(f=>f.default||f)):Hs(()=>m(()=>import("./BRKoJ6lw.js"),__vite__mapDeps([93,91,94]),import.meta.url).then(f=>f.default||f));return(f,d)=>(te(),ke(se(u),Bc(na({statusCode:se(r),statusMessage:se(s),description:se(i),stack:se(l)})),null,16))}},qi={__name:"nuxt-root",setup(e){const t=()=>null,n=fe(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);Rt().beforeEach(l)}const o=!1;jl(Ca,Sa()),n.hooks.callHookWith(l=>l.map(a=>a()),"vue:setup");const s=ps();Dl((l,a,c)=>{if(n.hooks.callHook("vue:error",l,a,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),vp(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>yp(l)),!1});const i=!1;return(l,a)=>(te(),ke(Ou,{onResolve:se(r)},{default:Rn(()=>[se(s)?(te(),ke(se(Ry),{key:0,error:se(s)},null,8,["error"])):se(i)?(te(),ke(se(t),{key:1,context:se(i)},null,8,["context"])):se(o)?(te(),ke(Cl(se(o)),{key:2})):(te(),ke(se(wy),{key:3}))]),_:1},8,["onResolve"]))}};let Ki;{let e;Ki=async function(){var i,l;if(e)return e;const r=!!((i=window.__NUXT__)!=null&&i.serverRendered||((l=document.getElementById("__NUXT_DATA__"))==null?void 0:l.dataset.ssr)==="true")?Xf(qi):Yf(qi),o=np({vueApp:r});async function s(a){await o.callHook("app:error",a),o.payload.error=o.payload.error||hs(a)}r.config.errorHandler=s;try{await op(o,Jh)}catch(a){s(a)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(gh),await o.hooks.callHook("app:mounted",r),await es()}catch(a){s(a)}return r.config.errorHandler===s&&(r.config.errorHandler=void 0),r},e=Ki().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{Zh as _,xe as a,ue as b,Se as c,dr as d,Ay as e,Cy as f,hn as g,kl as h,_n as i,$u as j,ju as k,oa as l,te as o,Py as p,We as r,at as t,se as u,Rn as w};
|