@nuxt/devtools 0.6.6 → 0.6.7
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/chunks/module-main.mjs +69 -57
- package/dist/chunks/vscode.mjs +1 -1
- package/dist/client/200.html +2 -2
- package/dist/client/404.html +2 -2
- package/dist/client/__blank/index.html +2 -2
- package/dist/client/_nuxt/{AuthRequiredPanel.vue.783e1d98.js → AuthRequiredPanel.vue.fc7f2968.js} +1 -1
- package/dist/client/_nuxt/{Badge.01153451.js → Badge.e05fc69f.js} +1 -1
- package/dist/client/_nuxt/{CodeSnippets.vue.62990bc2.js → CodeSnippets.vue.a1fe908d.js} +1 -1
- package/dist/client/_nuxt/{DrawerRight.vue.a92525c1.js → DrawerRight.vue.3adebf89.js} +1 -1
- package/dist/client/_nuxt/{DurationDisplay.vue.c3ae9764.js → DurationDisplay.vue.c6aa67b3.js} +1 -1
- package/dist/client/_nuxt/{FilepathItem.vue.b4bdb03f.js → FilepathItem.vue.7520a5eb.js} +1 -1
- package/dist/client/_nuxt/{HelpFab.vue.a9df2aac.js → HelpFab.vue.6c2e0089.js} +1 -1
- package/dist/client/_nuxt/{LaunchPage.vue.8ecfdb82.js → LaunchPage.vue.ace7e996.js} +1 -1
- package/dist/client/_nuxt/{NCheckbox.vue.09c2faa0.js → NCheckbox.vue.660c8c34.js} +1 -1
- package/dist/client/_nuxt/{NCodeBlock.vue.5e6a2196.js → NCodeBlock.vue.12f6d4d2.js} +1 -1
- package/dist/client/_nuxt/NIconButton.vue.9dc5b644.js +1 -0
- package/dist/client/_nuxt/{NIconTitle.vue.9b97e25e.js → NIconTitle.vue.0db956c8.js} +1 -1
- package/dist/client/_nuxt/{NLink.vue.8c655f8a.js → NLink.vue.f3f95732.js} +1 -1
- package/dist/client/_nuxt/{NMarkdown.vue.a51cc795.js → NMarkdown.vue.31d61f61.js} +1 -1
- package/dist/client/_nuxt/{NPanelGrids.16564aae.js → NPanelGrids.cfd60e85.js} +1 -1
- package/dist/client/_nuxt/{NSectionBlock.722f4ebc.js → NSectionBlock.216523d8.js} +1 -1
- package/dist/client/_nuxt/{NSelect.vue.80dc04cd.js → NSelect.vue.38f0d91b.js} +1 -1
- package/dist/client/_nuxt/{NSwitch.vue.608eedef.js → NSwitch.vue.4e114eb7.js} +1 -1
- package/dist/client/_nuxt/{NTip.vue.0823a0e1.js → NTip.vue.d602d31e.js} +1 -1
- package/dist/client/_nuxt/Navbar.vue.72301b0e.js +1 -0
- package/dist/client/_nuxt/{PanelLeftRight.vue.17bcbe2c.js → PanelLeftRight.vue.d1539d19.js} +1 -1
- package/dist/client/_nuxt/{StateEditor.vue.85e49f31.js → StateEditor.vue.c8fd02b3.js} +1 -1
- package/dist/client/_nuxt/{__blank.474106e2.js → __blank.58b4eaa9.js} +1 -1
- package/dist/client/_nuxt/{analyze-build.25e4c0e1.js → analyze-build.66f9bc20.js} +1 -1
- package/dist/client/_nuxt/{assets.6a9fdb70.js → assets.b60a4d67.js} +1 -1
- package/dist/client/_nuxt/{client.853ad100.js → client.1e3208e3.js} +1 -1
- package/dist/client/_nuxt/{components.7102fe12.js → components.3a437d73.js} +1 -1
- package/dist/client/_nuxt/{custom-_name_.a07051a8.js → custom-_name_.1614dd97.js} +1 -1
- package/dist/client/_nuxt/{default.3da0acde.js → default.a69a326f.js} +1 -1
- package/dist/client/_nuxt/entry.559460ac.js +21 -0
- package/dist/client/_nuxt/entry.e49b0ddd.css +1 -0
- package/dist/client/_nuxt/{error-404.c083e948.js → error-404.eb07c617.js} +1 -1
- package/dist/client/_nuxt/{error-500.87865939.js → error-500.8214e786.js} +1 -1
- package/dist/client/_nuxt/{full.01cd9940.js → full.1f3e7ba7.js} +1 -1
- package/dist/client/_nuxt/{hooks.f820d9c5.js → hooks.7a294c4b.js} +1 -1
- package/dist/client/_nuxt/{imports.cf6a0be0.js → imports.8b3c700a.js} +1 -1
- package/dist/client/_nuxt/{index.bb6f436a.js → index.6a0822c9.js} +1 -1
- package/dist/client/_nuxt/{index.d1b4d52b.js → index.98d48447.js} +1 -1
- package/dist/client/_nuxt/{json-editor-vue.51bb18e8.js → json-editor-vue.9acffc14.js} +1 -1
- package/dist/client/_nuxt/{middleware.e1b5c8c8.js → middleware.c2f916df.js} +1 -1
- package/dist/client/_nuxt/{modules.f0ddf45f.js → modules.a1aceff5.js} +1 -1
- package/dist/client/_nuxt/{none.0c5c4a11.js → none.bf6672f1.js} +1 -1
- package/dist/client/_nuxt/{open-graph.99e6c2ca.js → open-graph.f68f3562.js} +1 -1
- package/dist/client/_nuxt/{overview.37671f14.js → overview.9fbd51a4.js} +1 -1
- package/dist/client/_nuxt/{pages.cfc87f05.js → pages.8b6a187c.js} +1 -1
- package/dist/client/_nuxt/{payload.f2eb3709.js → payload.5851379a.js} +1 -1
- package/dist/client/_nuxt/{plugins.3f102534.js → plugins.20750545.js} +1 -1
- package/dist/client/_nuxt/{runtime-configs.35ac3b1b.js → runtime-configs.ce330378.js} +1 -1
- package/dist/client/_nuxt/server-routes.08ebdd45.js +9 -0
- package/dist/client/_nuxt/settings.63ba52d8.js +1 -0
- package/dist/client/_nuxt/{state-components.b4d7e657.js → state-components.493c1b8d.js} +1 -1
- package/dist/client/_nuxt/{state-modules.d846f6f5.js → state-modules.c72270b1.js} +1 -1
- package/dist/client/_nuxt/{storage.5d1c4325.js → storage.d37c76d1.js} +1 -1
- package/dist/client/_nuxt/{terminals.78500161.js → terminals.714ad795.js} +1 -1
- package/dist/client/_nuxt/{unocss-runtime.0f8c7b1b.js → unocss-runtime.552cd61f.js} +1 -1
- package/dist/client/_nuxt/{virtual-files.a7d5699b.js → virtual-files.7bf5357c.js} +1 -1
- package/dist/client/index.html +2 -2
- package/dist/client/modules/analyze-build/index.html +2 -2
- package/dist/client/modules/assets/index.html +2 -2
- package/dist/client/modules/components/index.html +2 -2
- package/dist/client/modules/hooks/index.html +2 -2
- package/dist/client/modules/imports/index.html +2 -2
- package/dist/client/modules/middleware/index.html +2 -2
- package/dist/client/modules/modules/index.html +2 -2
- package/dist/client/modules/open-graph/index.html +2 -2
- package/dist/client/modules/overview/index.html +2 -2
- package/dist/client/modules/pages/index.html +2 -2
- package/dist/client/modules/payload/index.html +2 -2
- package/dist/client/modules/plugins/index.html +2 -2
- package/dist/client/modules/runtime-configs/index.html +2 -2
- package/dist/client/modules/server-routes/index.html +2 -2
- package/dist/client/modules/storage/index.html +2 -2
- package/dist/client/modules/terminals/index.html +2 -2
- package/dist/client/modules/virtual-files/index.html +2 -2
- package/dist/client/settings/index.html +2 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/shared/{devtools.7ab40af4.mjs → devtools.ce3f2385.mjs} +21 -1
- package/package.json +12 -12
- package/dist/client/_nuxt/NIconButton.vue.b41ef4b9.js +0 -1
- package/dist/client/_nuxt/Navbar.vue.6fef9034.js +0 -1
- package/dist/client/_nuxt/entry.11fe2cd7.js +0 -21
- package/dist/client/_nuxt/entry.1e4f7d58.css +0 -1
- package/dist/client/_nuxt/server-routes.5ddb6496.js +0 -9
- package/dist/client/_nuxt/settings.74004c21.js +0 -1
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
function pl(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const He={},lr=[],At=()=>{},eg=()=>!1,tg=/^on[^a-z]/,Ys=e=>tg.test(e),ml=e=>e.startsWith("onUpdate:"),Ve=Object.assign,gl=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ng=Object.prototype.hasOwnProperty,Se=(e,t)=>ng.call(e,t),he=Array.isArray,cr=e=>Rr(e)==="[object Map]",Ar=e=>Rr(e)==="[object Set]",bc=e=>Rr(e)==="[object Date]",rg=e=>Rr(e)==="[object RegExp]",ve=e=>typeof e=="function",Ue=e=>typeof e=="string",Cs=e=>typeof e=="symbol",je=e=>e!==null&&typeof e=="object",vl=e=>je(e)&&ve(e.then)&&ve(e.catch),Td=Object.prototype.toString,Rr=e=>Td.call(e),sg=e=>Rr(e).slice(8,-1),$d=e=>Rr(e)==="[object Object]",_l=e=>Ue(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,_s=pl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),fi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},og=/-(\w)/g,zt=fi(e=>e.replace(og,(t,n)=>n?n.toUpperCase():"")),ig=/\B([A-Z])/g,Jn=fi(e=>e.replace(ig,"-$1").toLowerCase()),di=fi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Po=fi(e=>e?`on${di(e)}`:""),Is=(e,t)=>!Object.is(e,t),ur=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},jo=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Mo=e=>{const t=parseFloat(e);return isNaN(t)?e:t},kd=e=>{const t=Ue(e)?Number(e):NaN;return isNaN(t)?e:t};let wc;const Ea=()=>wc||(wc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function gn(e){if(he(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ue(r)?ug(r):gn(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(Ue(e))return e;if(je(e))return e}}const ag=/;(?![^(]*\))/g,lg=/:([^]+)/,cg=/\/\*[^]*?\*\//g;function ug(e){const t={};return e.replace(cg,"").split(ag).forEach(n=>{if(n){const r=n.split(lg);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Xe(e){let t="";if(Ue(e))t=e;else if(he(e))for(let n=0;n<e.length;n++){const r=Xe(e[n]);r&&(t+=r+" ")}else if(je(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function yl(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ue(t)&&(e.class=Xe(t)),n&&(e.style=gn(n)),e}const fg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",dg=pl(fg);function Sd(e){return!!e||e===""}function hg(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Wn(e[r],t[r]);return n}function Wn(e,t){if(e===t)return!0;let n=bc(e),r=bc(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Cs(e),r=Cs(t),n||r)return e===t;if(n=he(e),r=he(t),n||r)return n&&r?hg(e,t):!1;if(n=je(e),r=je(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Wn(e[i],t[i]))return!1}}return String(e)===String(t)}function bl(e,t){return e.findIndex(n=>Wn(n,t))}const St=e=>Ue(e)?e:e==null?"":he(e)||je(e)&&(e.toString===Td||!ve(e.toString))?JSON.stringify(e,Ad,2):String(e),Ad=(e,t)=>t&&t.__v_isRef?Ad(e,t.value):cr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:Ar(t)?{[`Set(${t.size})`]:[...t.values()]}:je(t)&&!he(t)&&!$d(t)?String(t):t;let ft;class pg{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ft,!t&&ft&&(this.index=(ft.scopes||(ft.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ft;try{return ft=this,t()}finally{ft=n}}}on(){ft=this}off(){ft=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 s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function mg(e,t=ft){t&&t.active&&t.effects.push(e)}function Rd(){return ft}function gg(e){ft&&ft.cleanups.push(e)}const wl=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Pd=e=>(e.w&En)>0,Nd=e=>(e.n&En)>0,vg=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=En},_g=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];Pd(s)&&!Nd(s)?s.delete(e):t[n++]=s,s.w&=~En,s.n&=~En}t.length=n}},Do=new WeakMap;let ps=0,En=1;const xa=30;let xt;const Hn=Symbol(""),Ta=Symbol("");class El{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,mg(this,r)}run(){if(!this.active)return this.fn();let t=xt,n=vn;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=xt,xt=this,vn=!0,En=1<<++ps,ps<=xa?vg(this):Ec(this),this.fn()}finally{ps<=xa&&_g(this),En=1<<--ps,xt=this.parent,vn=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){xt===this?this.deferStop=!0:this.active&&(Ec(this),this.onStop&&this.onStop(),this.active=!1)}}function Ec(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let vn=!0;const Od=[];function Pr(){Od.push(vn),vn=!1}function Nr(){const e=Od.pop();vn=e===void 0?!0:e}function ct(e,t,n){if(vn&&xt){let r=Do.get(e);r||Do.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=wl()),Ld(s)}}function Ld(e,t){let n=!1;ps<=xa?Nd(e)||(e.n|=En,n=!Pd(e)):n=!e.has(xt),n&&(e.add(xt),xt.deps.push(e))}function tn(e,t,n,r,s,o){const i=Do.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&he(e)){const l=Number(r);i.forEach((c,d)=>{(d==="length"||d>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":he(e)?_l(n)&&a.push(i.get("length")):(a.push(i.get(Hn)),cr(e)&&a.push(i.get(Ta)));break;case"delete":he(e)||(a.push(i.get(Hn)),cr(e)&&a.push(i.get(Ta)));break;case"set":cr(e)&&a.push(i.get(Hn));break}if(a.length===1)a[0]&&$a(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);$a(wl(l))}}function $a(e,t){const n=he(e)?e:[...e];for(const r of n)r.computed&&xc(r);for(const r of n)r.computed||xc(r)}function xc(e,t){(e!==xt||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function yg(e,t){var n;return(n=Do.get(e))==null?void 0:n.get(t)}const bg=pl("__proto__,__v_isRef,__isVue"),Cd=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Cs)),wg=xl(),Eg=xl(!1,!0),xg=xl(!0),Tc=Tg();function Tg(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ke(this);for(let o=0,i=this.length;o<i;o++)ct(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(ke)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Pr();const r=ke(this)[t].apply(this,n);return Nr(),r}}),e}function $g(e){const t=ke(this);return ct(t,"has",e),t.hasOwnProperty(e)}function xl(e=!1,t=!1){return function(r,s,o){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&o===(e?t?Hg:Fd:t?Dd:Md).get(r))return r;const i=he(r);if(!e){if(i&&Se(Tc,s))return Reflect.get(Tc,s,o);if(s==="hasOwnProperty")return $g}const a=Reflect.get(r,s,o);return(Cs(s)?Cd.has(s):bg(s))||(e||ct(r,"get",s),t)?a:De(a)?i&&_l(s)?a:a.value:je(a)?e?Qn(a):ut(a):a}}const kg=Id(),Sg=Id(!0);function Id(e=!1){return function(n,r,s,o){let i=n[r];if(Gn(i)&&De(i)&&!De(s))return!1;if(!e&&(!Fo(s)&&!Gn(s)&&(i=ke(i),s=ke(s)),!he(n)&&De(i)&&!De(s)))return i.value=s,!0;const a=he(n)&&_l(r)?Number(r)<n.length:Se(n,r),l=Reflect.set(n,r,s,o);return n===ke(o)&&(a?Is(s,i)&&tn(n,"set",r,s):tn(n,"add",r,s)),l}}function Ag(e,t){const n=Se(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&tn(e,"delete",t,void 0),r}function Rg(e,t){const n=Reflect.has(e,t);return(!Cs(t)||!Cd.has(t))&&ct(e,"has",t),n}function Pg(e){return ct(e,"iterate",he(e)?"length":Hn),Reflect.ownKeys(e)}const jd={get:wg,set:kg,deleteProperty:Ag,has:Rg,ownKeys:Pg},Ng={get:xg,set(e,t){return!0},deleteProperty(e,t){return!0}},Og=Ve({},jd,{get:Eg,set:Sg}),Tl=e=>e,hi=e=>Reflect.getPrototypeOf(e);function ro(e,t,n=!1,r=!1){e=e.__v_raw;const s=ke(e),o=ke(t);n||(t!==o&&ct(s,"get",t),ct(s,"get",o));const{has:i}=hi(s),a=r?Tl:n?Al:js;if(i.call(s,t))return a(e.get(t));if(i.call(s,o))return a(e.get(o));e!==s&&e.get(t)}function so(e,t=!1){const n=this.__v_raw,r=ke(n),s=ke(e);return t||(e!==s&&ct(r,"has",e),ct(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function oo(e,t=!1){return e=e.__v_raw,!t&&ct(ke(e),"iterate",Hn),Reflect.get(e,"size",e)}function $c(e){e=ke(e);const t=ke(this);return hi(t).has.call(t,e)||(t.add(e),tn(t,"add",e,e)),this}function kc(e,t){t=ke(t);const n=ke(this),{has:r,get:s}=hi(n);let o=r.call(n,e);o||(e=ke(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?Is(t,i)&&tn(n,"set",e,t):tn(n,"add",e,t),this}function Sc(e){const t=ke(this),{has:n,get:r}=hi(t);let s=n.call(t,e);s||(e=ke(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&tn(t,"delete",e,void 0),o}function Ac(){const e=ke(this),t=e.size!==0,n=e.clear();return t&&tn(e,"clear",void 0,void 0),n}function io(e,t){return function(r,s){const o=this,i=o.__v_raw,a=ke(i),l=t?Tl:e?Al:js;return!e&&ct(a,"iterate",Hn),i.forEach((c,d)=>r.call(s,l(c),l(d),o))}}function ao(e,t,n){return function(...r){const s=this.__v_raw,o=ke(s),i=cr(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=s[e](...r),d=n?Tl:t?Al:js;return!t&&ct(o,"iterate",l?Ta:Hn),{next(){const{value:u,done:f}=c.next();return f?{value:u,done:f}:{value:a?[d(u[0]),d(u[1])]:d(u),done:f}},[Symbol.iterator](){return this}}}}function an(e){return function(...t){return e==="delete"?!1:this}}function Lg(){const e={get(o){return ro(this,o)},get size(){return oo(this)},has:so,add:$c,set:kc,delete:Sc,clear:Ac,forEach:io(!1,!1)},t={get(o){return ro(this,o,!1,!0)},get size(){return oo(this)},has:so,add:$c,set:kc,delete:Sc,clear:Ac,forEach:io(!1,!0)},n={get(o){return ro(this,o,!0)},get size(){return oo(this,!0)},has(o){return so.call(this,o,!0)},add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear"),forEach:io(!0,!1)},r={get(o){return ro(this,o,!0,!0)},get size(){return oo(this,!0)},has(o){return so.call(this,o,!0)},add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear"),forEach:io(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=ao(o,!1,!1),n[o]=ao(o,!0,!1),t[o]=ao(o,!1,!0),r[o]=ao(o,!0,!0)}),[e,n,t,r]}const[Cg,Ig,jg,Mg]=Lg();function $l(e,t){const n=t?e?Mg:jg:e?Ig:Cg;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(Se(n,s)&&s in r?n:r,s,o)}const Dg={get:$l(!1,!1)},Fg={get:$l(!1,!0)},Bg={get:$l(!0,!1)},Md=new WeakMap,Dd=new WeakMap,Fd=new WeakMap,Hg=new WeakMap;function Ug(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Vg(e){return e.__v_skip||!Object.isExtensible(e)?0:Ug(sg(e))}function ut(e){return Gn(e)?e:Sl(e,!1,jd,Dg,Md)}function kl(e){return Sl(e,!1,Og,Fg,Dd)}function Qn(e){return Sl(e,!0,Ng,Bg,Fd)}function Sl(e,t,n,r,s){if(!je(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=Vg(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function fr(e){return Gn(e)?fr(e.__v_raw):!!(e&&e.__v_isReactive)}function Gn(e){return!!(e&&e.__v_isReadonly)}function Fo(e){return!!(e&&e.__v_isShallow)}function Bd(e){return fr(e)||Gn(e)}function ke(e){const t=e&&e.__v_raw;return t?ke(t):e}function Hd(e){return jo(e,"__v_skip",!0),e}const js=e=>je(e)?ut(e):e,Al=e=>je(e)?Qn(e):e;function Rl(e){vn&&xt&&(e=ke(e),Ld(e.dep||(e.dep=wl())))}function pi(e,t){e=ke(e);const n=e.dep;n&&$a(n)}function De(e){return!!(e&&e.__v_isRef===!0)}function ee(e){return Ud(e,!1)}function zn(e){return Ud(e,!0)}function Ud(e,t){return De(e)?e:new Wg(e,t)}class Wg{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ke(t),this._value=n?t:js(t)}get value(){return Rl(this),this._value}set value(t){const n=this.__v_isShallow||Fo(t)||Gn(t);t=n?t:ke(t),Is(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:js(t),pi(this))}}function Vd(e){pi(e)}function se(e){return De(e)?e.value:e}function Pl(e){return ve(e)?e():se(e)}const Gg={get:(e,t,n)=>se(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return De(s)&&!De(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Wd(e){return fr(e)?e:new Proxy(e,Gg)}class zg{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Rl(this),()=>pi(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Gd(e){return new zg(e)}function qg(e){const t=he(e)?new Array(e.length):{};for(const n in e)t[n]=zd(e,n);return t}class Kg{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 yg(ke(this._object),this._key)}}class Xg{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function mi(e,t,n){return De(e)?e:ve(e)?new Xg(e):je(e)&&arguments.length>1?zd(e,t,n):ee(e)}function zd(e,t,n){const r=e[t];return De(r)?r:new Kg(e,t,n)}class Yg{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new El(t,()=>{this._dirty||(this._dirty=!0,pi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=ke(this);return Rl(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Jg(e,t,n=!1){let r,s;const o=ve(e);return o?(r=e,s=At):(r=e.get,s=e.set),new Yg(r,s,o||!s,n)}function _n(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){Or(o,t,n)}return s}function yt(e,t,n,r){if(ve(e)){const o=_n(e,t,n,r);return o&&vl(o)&&o.catch(i=>{Or(i,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(yt(e[o],t,n,r));return s}function Or(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,a=n;for(;o;){const c=o.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,i,a)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){_n(l,null,10,[e,i,a]);return}}Qg(e,n,s,r)}function Qg(e,t,n,r=!0){console.error(e)}let Ms=!1,ka=!1;const Ze=[];let Ht=0;const dr=[];let Yt=null,In=0;const qd=Promise.resolve();let Nl=null;function wt(e){const t=Nl||qd;return e?t.then(this?e.bind(this):e):t}function Zg(e){let t=Ht+1,n=Ze.length;for(;t<n;){const r=t+n>>>1;Ds(Ze[r])<e?t=r+1:n=r}return t}function gi(e){(!Ze.length||!Ze.includes(e,Ms&&e.allowRecurse?Ht+1:Ht))&&(e.id==null?Ze.push(e):Ze.splice(Zg(e.id),0,e),Kd())}function Kd(){!Ms&&!ka&&(ka=!0,Nl=qd.then(Yd))}function ev(e){const t=Ze.indexOf(e);t>Ht&&Ze.splice(t,1)}function Xd(e){he(e)?dr.push(...e):(!Yt||!Yt.includes(e,e.allowRecurse?In+1:In))&&dr.push(e),Kd()}function Rc(e,t=Ms?Ht+1:0){for(;t<Ze.length;t++){const n=Ze[t];n&&n.pre&&(Ze.splice(t,1),t--,n())}}function Bo(e){if(dr.length){const t=[...new Set(dr)];if(dr.length=0,Yt){Yt.push(...t);return}for(Yt=t,Yt.sort((n,r)=>Ds(n)-Ds(r)),In=0;In<Yt.length;In++)Yt[In]();Yt=null,In=0}}const Ds=e=>e.id==null?1/0:e.id,tv=(e,t)=>{const n=Ds(e)-Ds(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Yd(e){ka=!1,Ms=!0,Ze.sort(tv);const t=At;try{for(Ht=0;Ht<Ze.length;Ht++){const n=Ze[Ht];n&&n.active!==!1&&_n(n,null,14)}}finally{Ht=0,Ze.length=0,Bo(),Ms=!1,Nl=null,(Ze.length||dr.length)&&Yd()}}function nv(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||He;let s=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in r){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:u,trim:f}=r[d]||He;f&&(s=n.map(h=>Ue(h)?h.trim():h)),u&&(s=n.map(Mo))}let a,l=r[a=Po(t)]||r[a=Po(zt(t))];!l&&o&&(l=r[a=Po(Jn(t))]),l&&yt(l,e,6,s);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,yt(c,e,6,s)}}function Jd(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!ve(e)){const l=c=>{const d=Jd(c,t,!0);d&&(a=!0,Ve(i,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!a?(je(e)&&r.set(e,null),null):(he(o)?o.forEach(l=>i[l]=null):Ve(i,o),je(e)&&r.set(e,i),i)}function vi(e,t){return!e||!Ys(t)?!1:(t=t.slice(2).replace(/Once$/,""),Se(e,t[0].toLowerCase()+t.slice(1))||Se(e,Jn(t))||Se(e,t))}let ze=null,_i=null;function Ho(e){const t=ze;return ze=e,_i=e&&e.type.__scopeId||null,t}function rv(e){_i=e}function sv(){_i=null}const ov=e=>we;function we(e,t=ze,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&Vc(-1);const o=Ho(t);let i;try{i=e(...s)}finally{Ho(o),r._d&&Vc(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Vi(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[i],slots:a,attrs:l,emit:c,render:d,renderCache:u,data:f,setupState:h,ctx:p,inheritAttrs:v}=e;let w,_;const g=Ho(e);try{if(n.shapeFlag&4){const y=s||r;w=gt(d.call(y,y,u,o,h,f,p)),_=l}else{const y=t;w=gt(y.length>1?y(o,{attrs:l,slots:a,emit:c}):y(o,null)),_=t.props?l:av(l)}}catch(y){xs.length=0,Or(y,e,1),w=ce(rt)}let b=w;if(_&&v!==!1){const y=Object.keys(_),{shapeFlag:T}=b;y.length&&T&7&&(i&&y.some(ml)&&(_=lv(_,i)),b=nn(b,_))}return n.dirs&&(b=nn(b),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&(b.transition=n.transition),w=b,Ho(g),w}function iv(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(wr(r)){if(r.type!==rt||r.children==="v-if"){if(t)return;t=r}}else return}return t}const av=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ys(n))&&((t||(t={}))[n]=e[n]);return t},lv=(e,t)=>{const n={};for(const r in e)(!ml(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function cv(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Pc(r,i,c):!!i;if(l&8){const d=t.dynamicProps;for(let u=0;u<d.length;u++){const f=d[u];if(i[f]!==r[f]&&!vi(c,f))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Pc(r,i,c):!0:!!i;return!1}function Pc(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!vi(n,o))return!0}return!1}function Ol({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Qd=e=>e.__isSuspense,uv={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,c){e==null?fv(t,n,r,s,o,i,a,l,c):dv(e,t,n,r,s,i,a,l,c)},hydrate:hv,create:Cl,normalize:pv},Ll=uv;function Fs(e,t){const n=e.props&&e.props[t];ve(n)&&n()}function fv(e,t,n,r,s,o,i,a,l){const{p:c,o:{createElement:d}}=l,u=d("div"),f=e.suspense=Cl(e,s,r,t,u,n,o,i,a,l);c(null,f.pendingBranch=e.ssContent,u,null,r,f,o,i),f.deps>0?(Fs(e,"onPending"),Fs(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,i),hr(f,e.ssFallback)):f.resolve(!1,!0)}function dv(e,t,n,r,s,o,i,a,{p:l,um:c,o:{createElement:d}}){const u=t.suspense=e.suspense;u.vnode=t,t.el=e.el;const f=t.ssContent,h=t.ssFallback,{activeBranch:p,pendingBranch:v,isInFallback:w,isHydrating:_}=u;if(v)u.pendingBranch=f,Tt(f,v)?(l(v,f,u.hiddenContainer,null,s,u,o,i,a),u.deps<=0?u.resolve():w&&(l(p,h,n,r,s,null,o,i,a),hr(u,h))):(u.pendingId++,_?(u.isHydrating=!1,u.activeBranch=v):c(v,s,u),u.deps=0,u.effects.length=0,u.hiddenContainer=d("div"),w?(l(null,f,u.hiddenContainer,null,s,u,o,i,a),u.deps<=0?u.resolve():(l(p,h,n,r,s,null,o,i,a),hr(u,h))):p&&Tt(f,p)?(l(p,f,n,r,s,u,o,i,a),u.resolve(!0)):(l(null,f,u.hiddenContainer,null,s,u,o,i,a),u.deps<=0&&u.resolve()));else if(p&&Tt(f,p))l(p,f,n,r,s,u,o,i,a),hr(u,f);else if(Fs(t,"onPending"),u.pendingBranch=f,u.pendingId++,l(null,f,u.hiddenContainer,null,s,u,o,i,a),u.deps<=0)u.resolve();else{const{timeout:g,pendingId:b}=u;g>0?setTimeout(()=>{u.pendingId===b&&u.fallback(h)},g):g===0&&u.fallback(h)}}function Cl(e,t,n,r,s,o,i,a,l,c,d=!1){const{p:u,m:f,um:h,n:p,o:{parentNode:v,remove:w}}=c;let _;const g=mv(e);g&&t?.pendingBranch&&(_=t.pendingId,t.deps++);const b=e.props?kd(e.props.timeout):void 0,y={vnode:e,parent:t,parentComponent:n,isSVG:i,container:r,hiddenContainer:s,anchor:o,deps:0,pendingId:0,timeout:typeof b=="number"?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(T=!1,m=!1){const{vnode:$,activeBranch:x,pendingBranch:E,pendingId:k,effects:S,parentComponent:A,container:R}=y;if(y.isHydrating)y.isHydrating=!1;else if(!T){const j=x&&E.transition&&E.transition.mode==="out-in";j&&(x.transition.afterLeave=()=>{k===y.pendingId&&f(E,R,F,0)});let{anchor:F}=y;x&&(F=p(x),h(x,A,y,!0)),j||f(E,R,F,0)}hr(y,E),y.pendingBranch=null,y.isInFallback=!1;let P=y.parent,I=!1;for(;P;){if(P.pendingBranch){P.effects.push(...S),I=!0;break}P=P.parent}I||Xd(S),y.effects=[],g&&t&&t.pendingBranch&&_===t.pendingId&&(t.deps--,t.deps===0&&!m&&t.resolve()),Fs($,"onResolve")},fallback(T){if(!y.pendingBranch)return;const{vnode:m,activeBranch:$,parentComponent:x,container:E,isSVG:k}=y;Fs(m,"onFallback");const S=p($),A=()=>{y.isInFallback&&(u(null,T,E,S,x,null,k,a,l),hr(y,T))},R=T.transition&&T.transition.mode==="out-in";R&&($.transition.afterLeave=A),y.isInFallback=!0,h($,x,null,!0),R||A()},move(T,m,$){y.activeBranch&&f(y.activeBranch,T,m,$),y.container=T},next(){return y.activeBranch&&p(y.activeBranch)},registerDep(T,m){const $=!!y.pendingBranch;$&&y.deps++;const x=T.vnode.el;T.asyncDep.catch(E=>{Or(E,T,0)}).then(E=>{if(T.isUnmounted||y.isUnmounted||y.pendingId!==T.suspenseId)return;T.asyncResolved=!0;const{vnode:k}=T;Oa(T,E,!1),x&&(k.el=x);const S=!x&&T.subTree.el;m(T,k,v(x||T.subTree.el),x?null:p(T.subTree),y,i,l),S&&w(S),Ol(T,k.el),$&&--y.deps===0&&y.resolve()})},unmount(T,m){y.isUnmounted=!0,y.activeBranch&&h(y.activeBranch,n,T,m),y.pendingBranch&&h(y.pendingBranch,n,T,m)}};return y}function hv(e,t,n,r,s,o,i,a,l){const c=t.suspense=Cl(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),d=l(e,c.pendingBranch=t.ssContent,n,c,o,i);return c.deps===0&&c.resolve(!1,!0),d}function pv(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Nc(r?n.default:n),e.ssFallback=r?Nc(n.fallback):ce(rt)}function Nc(e){let t;if(ve(e)){const n=br&&e._c;n&&(e._d=!1,ue()),e=e(),n&&(e._d=!0,t=vt,Eh())}return he(e)&&(e=iv(e)),e=gt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Zd(e,t){t&&t.pendingBranch?he(e)?t.effects.push(...e):t.effects.push(e):Xd(e)}function hr(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,s=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=s,Ol(r,s))}function mv(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function vr(e,t){return Il(e,null,t)}const lo={};function Be(e,t,n){return Il(e,t,n)}function Il(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=He){var a;const l=Rd()===((a=We)==null?void 0:a.scope)?We:null;let c,d=!1,u=!1;if(De(e)?(c=()=>e.value,d=Fo(e)):fr(e)?(c=()=>e,r=!0):he(e)?(u=!0,d=e.some(y=>fr(y)||Fo(y)),c=()=>e.map(y=>{if(De(y))return y.value;if(fr(y))return Fn(y);if(ve(y))return _n(y,l,2)})):ve(e)?t?c=()=>_n(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return f&&f(),yt(e,l,3,[h])}:c=At,t&&r){const y=c;c=()=>Fn(y())}let f,h=y=>{f=g.onStop=()=>{_n(y,l,4)}},p;if(Er)if(h=At,t?n&&yt(t,l,3,[c(),u?[]:void 0,h]):c(),s==="sync"){const y=r_();p=y.__watcherHandles||(y.__watcherHandles=[])}else return At;let v=u?new Array(e.length).fill(lo):lo;const w=()=>{if(g.active)if(t){const y=g.run();(r||d||(u?y.some((T,m)=>Is(T,v[m])):Is(y,v)))&&(f&&f(),yt(t,l,3,[y,v===lo?void 0:u&&v[0]===lo?[]:v,h]),v=y)}else g.run()};w.allowRecurse=!!t;let _;s==="sync"?_=w:s==="post"?_=()=>qe(w,l&&l.suspense):(w.pre=!0,l&&(w.id=l.uid),_=()=>gi(w));const g=new El(c,_);t?n?w():v=g.run():s==="post"?qe(g.run.bind(g),l&&l.suspense):g.run();const b=()=>{g.stop(),l&&l.scope&&gl(l.scope.effects,g)};return p&&p.push(b),b}function gv(e,t,n){const r=this.proxy,s=Ue(e)?e.includes(".")?eh(r,e):()=>r[e]:e.bind(r,r);let o;ve(t)?o=t:(o=t.handler,n=t);const i=We;$n(this);const a=Il(s,o.bind(r),n);return i?$n(i):yn(),a}function eh(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function Fn(e,t){if(!je(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),De(e))Fn(e.value,t);else if(he(e))for(let n=0;n<e.length;n++)Fn(e[n],t);else if(Ar(e)||cr(e))e.forEach(n=>{Fn(n,t)});else if($d(e))for(const n in e)Fn(e[n],t);return e}function jl(e,t){const n=ze;if(n===null)return e;const r=Ei(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,a,l,c=He]=t[o];i&&(ve(i)&&(i={mounted:i,updated:i}),i.deep&&Fn(a),s.push({dir:i,instance:r,value:a,oldValue:void 0,arg:l,modifiers:c}))}return e}function Ft(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let l=a.dir[r];l&&(Pr(),yt(l,n,8,[e.el,a,e,t]),Nr())}}function th(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return An(()=>{e.isMounted=!0}),Lr(()=>{e.isUnmounting=!0}),e}const mt=[Function,Array],nh={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:mt,onEnter:mt,onAfterEnter:mt,onEnterCancelled:mt,onBeforeLeave:mt,onLeave:mt,onAfterLeave:mt,onLeaveCancelled:mt,onBeforeAppear:mt,onAppear:mt,onAfterAppear:mt,onAppearCancelled:mt},vv={name:"BaseTransition",props:nh,setup(e,{slots:t}){const n=Ot(),r=th();let s;return()=>{const o=t.default&&Ml(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const v of o)if(v.type!==rt){i=v;break}}const a=ke(e),{mode:l}=a;if(r.isLeaving)return Wi(i);const c=Oc(i);if(!c)return Wi(i);const d=Bs(c,a,r,n);_r(c,d);const u=n.subTree,f=u&&Oc(u);let h=!1;const{getTransitionKey:p}=c.type;if(p){const v=p();s===void 0?s=v:v!==s&&(s=v,h=!0)}if(f&&f.type!==rt&&(!Tt(c,f)||h)){const v=Bs(f,a,r,n);if(_r(f,v),l==="out-in")return r.isLeaving=!0,v.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},Wi(i);l==="in-out"&&c.type!==rt&&(v.delayLeave=(w,_,g)=>{const b=rh(r,f);b[String(f.key)]=f,w._leaveCb=()=>{_(),w._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=g})}return i}}},_v=vv;function rh(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Bs(e,t,n,r){const{appear:s,mode:o,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:u,onLeave:f,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:v,onAppear:w,onAfterAppear:_,onAppearCancelled:g}=t,b=String(e.key),y=rh(n,e),T=(x,E)=>{x&&yt(x,r,9,E)},m=(x,E)=>{const k=E[1];T(x,E),he(x)?x.every(S=>S.length<=1)&&k():x.length<=1&&k()},$={mode:o,persisted:i,beforeEnter(x){let E=a;if(!n.isMounted)if(s)E=v||a;else return;x._leaveCb&&x._leaveCb(!0);const k=y[b];k&&Tt(e,k)&&k.el._leaveCb&&k.el._leaveCb(),T(E,[x])},enter(x){let E=l,k=c,S=d;if(!n.isMounted)if(s)E=w||l,k=_||c,S=g||d;else return;let A=!1;const R=x._enterCb=P=>{A||(A=!0,P?T(S,[x]):T(k,[x]),$.delayedLeave&&$.delayedLeave(),x._enterCb=void 0)};E?m(E,[x,R]):R()},leave(x,E){const k=String(e.key);if(x._enterCb&&x._enterCb(!0),n.isUnmounting)return E();T(u,[x]);let S=!1;const A=x._leaveCb=R=>{S||(S=!0,E(),R?T(p,[x]):T(h,[x]),x._leaveCb=void 0,y[k]===e&&delete y[k])};y[k]=e,f?m(f,[x,A]):A()},clone(x){return Bs(x,t,n,r)}};return $}function Wi(e){if(Js(e))return e=nn(e),e.children=null,e}function Oc(e){return Js(e)?e.children?e.children[0]:void 0:e}function _r(e,t){e.shapeFlag&6&&e.component?_r(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ml(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===Ie?(i.patchFlag&128&&s++,r=r.concat(Ml(i.children,t,a))):(t||i.type!==rt)&&r.push(a!=null?nn(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function Oe(e,t){return ve(e)?(()=>Ve({name:e.name},t,{setup:e}))():e}const Un=e=>!!e.type.__asyncLoader;function ys(e){ve(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:i=!0,onError:a}=e;let l=null,c,d=0;const u=()=>(d++,l=null,f()),f=()=>{let h;return l||(h=l=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),a)return new Promise((v,w)=>{a(p,()=>v(u()),()=>w(p),d+1)});throw p}).then(p=>h!==l&&l?l:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),c=p,p)))};return Oe({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return c},setup(){const h=We;if(c)return()=>Gi(c,h);const p=g=>{l=null,Or(g,h,13,!r)};if(i&&h.suspense||Er)return f().then(g=>()=>Gi(g,h)).catch(g=>(p(g),()=>r?ce(r,{error:g}):null));const v=ee(!1),w=ee(),_=ee(!!s);return s&&setTimeout(()=>{_.value=!1},s),o!=null&&setTimeout(()=>{if(!v.value&&!w.value){const g=new Error(`Async component timed out after ${o}ms.`);p(g),w.value=g}},o),f().then(()=>{v.value=!0,h.parent&&Js(h.parent.vnode)&&gi(h.parent.update)}).catch(g=>{p(g),w.value=g}),()=>{if(v.value&&c)return Gi(c,h);if(w.value&&r)return ce(r,{error:w.value});if(n&&!_.value)return ce(n)}}})}function Gi(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,i=ce(e,r,s);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const Js=e=>e.type.__isKeepAlive,yv={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Ot(),r=n.ctx;if(!r.renderer)return()=>{const g=t.default&&t.default();return g&&g.length===1?g[0]:g};const s=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:d,o:{createElement:u}}}=r,f=u("div");r.activate=(g,b,y,T,m)=>{const $=g.component;c(g,b,y,0,a),l($.vnode,g,b,y,$,a,T,g.slotScopeIds,m),qe(()=>{$.isDeactivated=!1,$.a&&ur($.a);const x=g.props&&g.props.onVnodeMounted;x&&at(x,$.parent,g)},a)},r.deactivate=g=>{const b=g.component;c(g,f,null,1,a),qe(()=>{b.da&&ur(b.da);const y=g.props&&g.props.onVnodeUnmounted;y&&at(y,b.parent,g),b.isDeactivated=!0},a)};function h(g){zi(g),d(g,n,a,!0)}function p(g){s.forEach((b,y)=>{const T=La(b.type);T&&(!g||!g(T))&&v(y)})}function v(g){const b=s.get(g);!i||!Tt(b,i)?h(b):i&&zi(i),s.delete(g),o.delete(g)}Be(()=>[e.include,e.exclude],([g,b])=>{g&&p(y=>ms(g,y)),b&&p(y=>!ms(b,y))},{flush:"post",deep:!0});let w=null;const _=()=>{w!=null&&s.set(w,qi(n.subTree))};return An(_),Dl(_),Lr(()=>{s.forEach(g=>{const{subTree:b,suspense:y}=n,T=qi(b);if(g.type===T.type&&g.key===T.key){zi(T);const m=T.component.da;m&&qe(m,y);return}h(g)})}),()=>{if(w=null,!t.default)return null;const g=t.default(),b=g[0];if(g.length>1)return i=null,g;if(!wr(b)||!(b.shapeFlag&4)&&!(b.shapeFlag&128))return i=null,b;let y=qi(b);const T=y.type,m=La(Un(y)?y.type.__asyncResolved||{}:T),{include:$,exclude:x,max:E}=e;if($&&(!m||!ms($,m))||x&&m&&ms(x,m))return i=y,b;const k=y.key==null?T:y.key,S=s.get(k);return y.el&&(y=nn(y),b.shapeFlag&128&&(b.ssContent=y)),w=k,S?(y.el=S.el,y.component=S.component,y.transition&&_r(y,y.transition),y.shapeFlag|=512,o.delete(k),o.add(k)):(o.add(k),E&&o.size>parseInt(E,10)&&v(o.values().next().value)),y.shapeFlag|=256,i=y,Qd(b.type)?b:y}}},bv=yv;function ms(e,t){return he(e)?e.some(n=>ms(n,t)):Ue(e)?e.split(",").includes(t):rg(e)?e.test(t):!1}function sh(e,t){ih(e,"a",t)}function oh(e,t){ih(e,"da",t)}function ih(e,t,n=We){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(yi(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Js(s.parent.vnode)&&wv(r,t,n,s),s=s.parent}}function wv(e,t,n,r){const s=yi(t,e,r,!0);Hs(()=>{gl(r[t],s)},n)}function zi(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function qi(e){return e.shapeFlag&128?e.ssContent:e}function yi(e,t,n=We,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Pr(),$n(n);const a=yt(t,n,e,i);return yn(),Nr(),a});return r?s.unshift(o):s.push(o),o}}const on=e=>(t,n=We)=>(!Er||e==="sp")&&yi(e,(...r)=>t(...r),n),ah=on("bm"),An=on("m"),Ev=on("bu"),Dl=on("u"),Lr=on("bum"),Hs=on("um"),xv=on("sp"),Tv=on("rtg"),$v=on("rtc");function lh(e,t=We){yi("ec",e,t)}const Fl="components",kv="directives";function xn(e,t){return Hl(Fl,e,!0,t)||e}const ch=Symbol.for("v-ndc");function Bl(e){return Ue(e)?Hl(Fl,e,!1)||e:e||ch}function _2(e){return Hl(kv,e)}function Hl(e,t,n=!0,r=!1){const s=ze||We;if(s){const o=s.type;if(e===Fl){const a=La(o,!1);if(a&&(a===t||a===zt(t)||a===di(zt(t))))return o}const i=Lc(s[e]||o[e],t)||Lc(s.appContext[e],t);return!i&&r?o:i}}function Lc(e,t){return e&&(e[t]||e[zt(t)]||e[di(zt(t))])}function gs(e,t,n,r){let s;const o=n&&n[r];if(he(e)||Ue(e)){s=new Array(e.length);for(let i=0,a=e.length;i<a;i++)s[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,o&&o[i])}else if(je(e))if(e[Symbol.iterator])s=Array.from(e,(i,a)=>t(i,a,void 0,o&&o[a]));else{const i=Object.keys(e);s=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const c=i[a];s[a]=t(e[c],c,a,o&&o[a])}}else s=[];return n&&(n[r]=s),s}function y2(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(he(r))for(let s=0;s<r.length;s++)e[r[s].name]=r[s].fn;else r&&(e[r.name]=r.key?(...s)=>{const o=r.fn(...s);return o&&(o.key=r.key),o}:r.fn)}return e}function bt(e,t,n={},r,s){if(ze.isCE||ze.parent&&Un(ze.parent)&&ze.parent.isCE)return t!=="default"&&(n.name=t),ce("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),ue();const i=o&&uh(o(n)),a=Ne(Ie,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!s&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function uh(e){return e.some(t=>wr(t)?!(t.type===rt||t.type===Ie&&!uh(t.children)):!0)?e:null}function b2(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Po(r)]=e[r];return n}const Sa=e=>e?$h(e)?Ei(e)||e.proxy:Sa(e.parent):null,bs=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=>Sa(e.parent),$root:e=>Sa(e.root),$emit:e=>e.emit,$options:e=>Ul(e),$forceUpdate:e=>e.f||(e.f=()=>gi(e.update)),$nextTick:e=>e.n||(e.n=wt.bind(e.proxy)),$watch:e=>gv.bind(e)}),Ki=(e,t)=>e!==He&&!e.__isScriptSetup&&Se(e,t),Sv={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,accessCache:i,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return s[t];case 4:return n[t];case 3:return o[t]}else{if(Ki(r,t))return i[t]=1,r[t];if(s!==He&&Se(s,t))return i[t]=2,s[t];if((c=e.propsOptions[0])&&Se(c,t))return i[t]=3,o[t];if(n!==He&&Se(n,t))return i[t]=4,n[t];Aa&&(i[t]=0)}}const d=bs[t];let u,f;if(d)return t==="$attrs"&&ct(e,"get",t),d(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==He&&Se(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,Se(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return Ki(s,t)?(s[t]=n,!0):r!==He&&Se(r,t)?(r[t]=n,!0):Se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let a;return!!n[i]||e!==He&&Se(e,i)||Ki(t,i)||(a=o[0])&&Se(a,i)||Se(r,i)||Se(bs,i)||Se(s.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Cc(e){return he(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function w2(e){const t=Ot();let n=e();return yn(),vl(n)&&(n=n.catch(r=>{throw $n(t),r})),[n,()=>$n(t)]}let Aa=!0;function Av(e){const t=Ul(e),n=e.proxy,r=e.ctx;Aa=!1,t.beforeCreate&&Ic(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:i,watch:a,provide:l,inject:c,created:d,beforeMount:u,mounted:f,beforeUpdate:h,updated:p,activated:v,deactivated:w,beforeDestroy:_,beforeUnmount:g,destroyed:b,unmounted:y,render:T,renderTracked:m,renderTriggered:$,errorCaptured:x,serverPrefetch:E,expose:k,inheritAttrs:S,components:A,directives:R,filters:P}=t;if(c&&Rv(c,r,null),i)for(const F in i){const B=i[F];ve(B)&&(r[F]=B.bind(n))}if(s){const F=s.call(n,n);je(F)&&(e.data=ut(F))}if(Aa=!0,o)for(const F in o){const B=o[F],z=ve(B)?B.bind(n,n):ve(B.get)?B.get.bind(n,n):At,ae=!ve(B)&&ve(B.set)?B.set.bind(n):At,te=pe({get:z,set:ae});Object.defineProperty(r,F,{enumerable:!0,configurable:!0,get:()=>te.value,set:re=>te.value=re})}if(a)for(const F in a)fh(a[F],r,n,F);if(l){const F=ve(l)?l.call(n):l;Reflect.ownKeys(F).forEach(B=>{Vn(B,F[B])})}d&&Ic(d,e,"c");function j(F,B){he(B)?B.forEach(z=>F(z.bind(n))):B&&F(B.bind(n))}if(j(ah,u),j(An,f),j(Ev,h),j(Dl,p),j(sh,v),j(oh,w),j(lh,x),j($v,m),j(Tv,$),j(Lr,g),j(Hs,y),j(xv,E),he(k))if(k.length){const F=e.exposed||(e.exposed={});k.forEach(B=>{Object.defineProperty(F,B,{get:()=>n[B],set:z=>n[B]=z})})}else e.exposed||(e.exposed={});T&&e.render===At&&(e.render=T),S!=null&&(e.inheritAttrs=S),A&&(e.components=A),R&&(e.directives=R)}function Rv(e,t,n=At){he(e)&&(e=Ra(e));for(const r in e){const s=e[r];let o;je(s)?"default"in s?o=lt(s.from||r,s.default,!0):o=lt(s.from||r):o=lt(s),De(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[r]=o}}function Ic(e,t,n){yt(he(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function fh(e,t,n,r){const s=r.includes(".")?eh(n,r):()=>n[r];if(Ue(e)){const o=t[e];ve(o)&&Be(s,o)}else if(ve(e))Be(s,e.bind(n));else if(je(e))if(he(e))e.forEach(o=>fh(o,t,n,r));else{const o=ve(e.handler)?e.handler.bind(n):t[e.handler];ve(o)&&Be(s,o,e)}}function Ul(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(c=>Uo(l,c,i,!0)),Uo(l,t,i)),je(t)&&o.set(t,l),l}function Uo(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&Uo(e,o,n,!0),s&&s.forEach(i=>Uo(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Pv[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Pv={data:jc,props:Mc,emits:Mc,methods:vs,computed:vs,beforeCreate:nt,created:nt,beforeMount:nt,mounted:nt,beforeUpdate:nt,updated:nt,beforeDestroy:nt,beforeUnmount:nt,destroyed:nt,unmounted:nt,activated:nt,deactivated:nt,errorCaptured:nt,serverPrefetch:nt,components:vs,directives:vs,watch:Ov,provide:jc,inject:Nv};function jc(e,t){return t?e?function(){return Ve(ve(e)?e.call(this,this):e,ve(t)?t.call(this,this):t)}:t:e}function Nv(e,t){return vs(Ra(e),Ra(t))}function Ra(e){if(he(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function nt(e,t){return e?[...new Set([].concat(e,t))]:t}function vs(e,t){return e?Ve(Object.create(null),e,t):t}function Mc(e,t){return e?he(e)&&he(t)?[...new Set([...e,...t])]:Ve(Object.create(null),Cc(e),Cc(t??{})):t}function Ov(e,t){if(!e)return t;if(!t)return e;const n=Ve(Object.create(null),e);for(const r in t)n[r]=nt(e[r],t[r]);return n}function dh(){return{app:null,config:{isNativeTag:eg,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 Lv=0;function Cv(e,t){return function(r,s=null){ve(r)||(r=Ve({},r)),s!=null&&!je(s)&&(s=null);const o=dh(),i=new Set;let a=!1;const l=o.app={_uid:Lv++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:Sh,get config(){return o.config},set config(c){},use(c,...d){return i.has(c)||(c&&ve(c.install)?(i.add(c),c.install(l,...d)):ve(c)&&(i.add(c),c(l,...d))),l},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),l},component(c,d){return d?(o.components[c]=d,l):o.components[c]},directive(c,d){return d?(o.directives[c]=d,l):o.directives[c]},mount(c,d,u){if(!a){const f=ce(r,s);return f.appContext=o,d&&t?t(f,c):e(f,c,u),a=!0,l._container=c,c.__vue_app__=l,Ei(f.component)||f.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,d){return o.provides[c]=d,l},runWithContext(c){Us=l;try{return c()}finally{Us=null}}};return l}}let Us=null;function Vn(e,t){if(We){let n=We.provides;const r=We.parent&&We.parent.provides;r===n&&(n=We.provides=Object.create(r)),n[e]=t}}function lt(e,t,n=!1){const r=We||ze;if(r||Us){const s=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Us._context.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&ve(t)?t.call(r&&r.proxy):t}}function hh(){return!!(We||ze||Us)}function Iv(e,t,n,r=!1){const s={},o={};jo(o,bi,1),e.propsDefaults=Object.create(null),ph(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:kl(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function jv(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=ke(s),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let u=0;u<d.length;u++){let f=d[u];if(vi(e.emitsOptions,f))continue;const h=t[f];if(l)if(Se(o,f))h!==o[f]&&(o[f]=h,c=!0);else{const p=zt(f);s[p]=Pa(l,a,p,h,e,!1)}else h!==o[f]&&(o[f]=h,c=!0)}}}else{ph(e,t,s,o)&&(c=!0);let d;for(const u in a)(!t||!Se(t,u)&&((d=Jn(u))===u||!Se(t,d)))&&(l?n&&(n[u]!==void 0||n[d]!==void 0)&&(s[u]=Pa(l,a,u,void 0,e,!0)):delete s[u]);if(o!==a)for(const u in o)(!t||!Se(t,u))&&(delete o[u],c=!0)}c&&tn(e,"set","$attrs")}function ph(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(_s(l))continue;const c=t[l];let d;s&&Se(s,d=zt(l))?!o||!o.includes(d)?n[d]=c:(a||(a={}))[d]=c:vi(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(o){const l=ke(n),c=a||He;for(let d=0;d<o.length;d++){const u=o[d];n[u]=Pa(s,l,u,c[u],e,!Se(c,u))}}return i}function Pa(e,t,n,r,s,o){const i=e[n];if(i!=null){const a=Se(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&ve(l)){const{propsDefaults:c}=s;n in c?r=c[n]:($n(s),r=c[n]=l.call(null,t),yn())}else r=l}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===Jn(n))&&(r=!0))}return r}function mh(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!ve(e)){const d=u=>{l=!0;const[f,h]=mh(u,t,!0);Ve(i,f),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!o&&!l)return je(e)&&r.set(e,lr),lr;if(he(o))for(let d=0;d<o.length;d++){const u=zt(o[d]);Dc(u)&&(i[u]=He)}else if(o)for(const d in o){const u=zt(d);if(Dc(u)){const f=o[d],h=i[u]=he(f)||ve(f)?{type:f}:Ve({},f);if(h){const p=Hc(Boolean,h.type),v=Hc(String,h.type);h[0]=p>-1,h[1]=v<0||p<v,(p>-1||Se(h,"default"))&&a.push(u)}}}const c=[i,a];return je(e)&&r.set(e,c),c}function Dc(e){return e[0]!=="$"}function Fc(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Bc(e,t){return Fc(e)===Fc(t)}function Hc(e,t){return he(t)?t.findIndex(n=>Bc(n,e)):ve(t)&&Bc(t,e)?0:-1}const gh=e=>e[0]==="_"||e==="$stable",Vl=e=>he(e)?e.map(gt):[gt(e)],Mv=(e,t,n)=>{if(t._n)return t;const r=we((...s)=>Vl(t(...s)),n);return r._c=!1,r},vh=(e,t,n)=>{const r=e._ctx;for(const s in e){if(gh(s))continue;const o=e[s];if(ve(o))t[s]=Mv(s,o,r);else if(o!=null){const i=Vl(o);t[s]=()=>i}}},_h=(e,t)=>{const n=Vl(t);e.slots.default=()=>n},Dv=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ke(t),jo(t,"_",n)):vh(t,e.slots={})}else e.slots={},t&&_h(e,t);jo(e.slots,bi,1)},Fv=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=He;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(Ve(s,t),!n&&a===1&&delete s._):(o=!t.$stable,vh(t,s)),i=t}else t&&(_h(e,t),i={default:1});if(o)for(const a in s)!gh(a)&&!(a in i)&&delete s[a]};function Vo(e,t,n,r,s=!1){if(he(e)){e.forEach((f,h)=>Vo(f,t&&(he(t)?t[h]:t),n,r,s));return}if(Un(r)&&!s)return;const o=r.shapeFlag&4?Ei(r.component)||r.component.proxy:r.el,i=s?null:o,{i:a,r:l}=e,c=t&&t.r,d=a.refs===He?a.refs={}:a.refs,u=a.setupState;if(c!=null&&c!==l&&(Ue(c)?(d[c]=null,Se(u,c)&&(u[c]=null)):De(c)&&(c.value=null)),ve(l))_n(l,a,12,[i,d]);else{const f=Ue(l),h=De(l);if(f||h){const p=()=>{if(e.f){const v=f?Se(u,l)?u[l]:d[l]:l.value;s?he(v)&&gl(v,o):he(v)?v.includes(o)||v.push(o):f?(d[l]=[o],Se(u,l)&&(u[l]=d[l])):(l.value=[o],e.k&&(d[e.k]=l.value))}else f?(d[l]=i,Se(u,l)&&(u[l]=i)):h&&(l.value=i,e.k&&(d[e.k]=i))};i?(p.id=-1,qe(p,n)):p()}}}let ln=!1;const co=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",uo=e=>e.nodeType===8;function Bv(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:c}}=e,d=(_,g)=>{if(!g.hasChildNodes()){n(null,_,g),Bo(),g._vnode=_;return}ln=!1,u(g.firstChild,_,null,null,null),Bo(),g._vnode=_,ln&&console.error("Hydration completed but contains mismatches.")},u=(_,g,b,y,T,m=!1)=>{const $=uo(_)&&_.data==="[",x=()=>v(_,g,b,y,T,$),{type:E,ref:k,shapeFlag:S,patchFlag:A}=g;let R=_.nodeType;g.el=_,A===-2&&(m=!1,g.dynamicChildren=null);let P=null;switch(E){case yr:R!==3?g.children===""?(l(g.el=s(""),i(_),_),P=_):P=x():(_.data!==g.children&&(ln=!0,_.data=g.children),P=o(_));break;case rt:R!==8||$?P=x():P=o(_);break;case Es:if($&&(_=o(_),R=_.nodeType),R===1||R===3){P=_;const I=!g.children.length;for(let j=0;j<g.staticCount;j++)I&&(g.children+=P.nodeType===1?P.outerHTML:P.data),j===g.staticCount-1&&(g.anchor=P),P=o(P);return $?o(P):P}else x();break;case Ie:$?P=p(_,g,b,y,T,m):P=x();break;default:if(S&1)R!==1||g.type.toLowerCase()!==_.tagName.toLowerCase()?P=x():P=f(_,g,b,y,T,m);else if(S&6){g.slotScopeIds=T;const I=i(_);if(t(g,I,null,b,y,co(I),m),P=$?w(_):o(_),P&&uo(P)&&P.data==="teleport end"&&(P=o(P)),Un(g)){let j;$?(j=ce(Ie),j.anchor=P?P.previousSibling:I.lastChild):j=_.nodeType===3?Me(""):ce("div"),j.el=_,g.component.subTree=j}}else S&64?R!==8?P=x():P=g.type.hydrate(_,g,b,y,T,m,e,h):S&128&&(P=g.type.hydrate(_,g,b,y,co(i(_)),T,m,e,u))}return k!=null&&Vo(k,null,y,g),P},f=(_,g,b,y,T,m)=>{m=m||!!g.dynamicChildren;const{type:$,props:x,patchFlag:E,shapeFlag:k,dirs:S}=g,A=$==="input"&&S||$==="option";if(A||E!==-1){if(S&&Ft(g,null,b,"created"),x)if(A||!m||E&48)for(const P in x)(A&&P.endsWith("value")||Ys(P)&&!_s(P))&&r(_,P,null,x[P],!1,void 0,b);else x.onClick&&r(_,"onClick",null,x.onClick,!1,void 0,b);let R;if((R=x&&x.onVnodeBeforeMount)&&at(R,b,g),S&&Ft(g,null,b,"beforeMount"),((R=x&&x.onVnodeMounted)||S)&&Zd(()=>{R&&at(R,b,g),S&&Ft(g,null,b,"mounted")},y),k&16&&!(x&&(x.innerHTML||x.textContent))){let P=h(_.firstChild,g,_,b,y,T,m);for(;P;){ln=!0;const I=P;P=P.nextSibling,a(I)}}else k&8&&_.textContent!==g.children&&(ln=!0,_.textContent=g.children)}return _.nextSibling},h=(_,g,b,y,T,m,$)=>{$=$||!!g.dynamicChildren;const x=g.children,E=x.length;for(let k=0;k<E;k++){const S=$?x[k]:x[k]=gt(x[k]);if(_)_=u(_,S,y,T,m,$);else{if(S.type===yr&&!S.children)continue;ln=!0,n(null,S,b,null,y,T,co(b),m)}}return _},p=(_,g,b,y,T,m)=>{const{slotScopeIds:$}=g;$&&(T=T?T.concat($):$);const x=i(_),E=h(o(_),g,x,b,y,T,m);return E&&uo(E)&&E.data==="]"?o(g.anchor=E):(ln=!0,l(g.anchor=c("]"),x,E),E)},v=(_,g,b,y,T,m)=>{if(ln=!0,g.el=null,m){const E=w(_);for(;;){const k=o(_);if(k&&k!==E)a(k);else break}}const $=o(_),x=i(_);return a(_),n(null,g,x,$,b,y,co(x),T),$},w=_=>{let g=0;for(;_;)if(_=o(_),_&&uo(_)&&(_.data==="["&&g++,_.data==="]")){if(g===0)return o(_);g--}return _};return[d,u]}const qe=Zd;function Hv(e){return yh(e)}function Uv(e){return yh(e,Bv)}function yh(e,t){const n=Ea();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:c,setElementText:d,parentNode:u,nextSibling:f,setScopeId:h=At,insertStaticContent:p}=e,v=(N,O,C,D=null,H=null,U=null,Z=!1,Y=null,K=!!O.dynamicChildren)=>{if(N===O)return;N&&!Tt(N,O)&&(D=L(N),re(N,H,U,!0),N=null),O.patchFlag===-2&&(K=!1,O.dynamicChildren=null);const{type:G,ref:ie,shapeFlag:M}=O;switch(G){case yr:w(N,O,C,D);break;case rt:_(N,O,C,D);break;case Es:N==null&&g(O,C,D,Z);break;case Ie:A(N,O,C,D,H,U,Z,Y,K);break;default:M&1?T(N,O,C,D,H,U,Z,Y,K):M&6?R(N,O,C,D,H,U,Z,Y,K):(M&64||M&128)&&G.process(N,O,C,D,H,U,Z,Y,K,W)}ie!=null&&H&&Vo(ie,N&&N.ref,U,O||N,!O)},w=(N,O,C,D)=>{if(N==null)r(O.el=a(O.children),C,D);else{const H=O.el=N.el;O.children!==N.children&&c(H,O.children)}},_=(N,O,C,D)=>{N==null?r(O.el=l(O.children||""),C,D):O.el=N.el},g=(N,O,C,D)=>{[N.el,N.anchor]=p(N.children,O,C,D,N.el,N.anchor)},b=({el:N,anchor:O},C,D)=>{let H;for(;N&&N!==O;)H=f(N),r(N,C,D),N=H;r(O,C,D)},y=({el:N,anchor:O})=>{let C;for(;N&&N!==O;)C=f(N),s(N),N=C;s(O)},T=(N,O,C,D,H,U,Z,Y,K)=>{Z=Z||O.type==="svg",N==null?m(O,C,D,H,U,Z,Y,K):E(N,O,H,U,Z,Y,K)},m=(N,O,C,D,H,U,Z,Y)=>{let K,G;const{type:ie,props:M,shapeFlag:V,transition:q,dirs:ne}=N;if(K=N.el=i(N.type,U,M&&M.is,M),V&8?d(K,N.children):V&16&&x(N.children,K,null,D,H,U&&ie!=="foreignObject",Z,Y),ne&&Ft(N,null,D,"created"),$(K,N,N.scopeId,Z,D),M){for(const Q in M)Q!=="value"&&!_s(Q)&&o(K,Q,null,M[Q],U,N.children,D,H,Ee);"value"in M&&o(K,"value",null,M.value),(G=M.onVnodeBeforeMount)&&at(G,D,N)}ne&&Ft(N,null,D,"beforeMount");const X=(!H||H&&!H.pendingBranch)&&q&&!q.persisted;X&&q.beforeEnter(K),r(K,O,C),((G=M&&M.onVnodeMounted)||X||ne)&&qe(()=>{G&&at(G,D,N),X&&q.enter(K),ne&&Ft(N,null,D,"mounted")},H)},$=(N,O,C,D,H)=>{if(C&&h(N,C),D)for(let U=0;U<D.length;U++)h(N,D[U]);if(H){let U=H.subTree;if(O===U){const Z=H.vnode;$(N,Z,Z.scopeId,Z.slotScopeIds,H.parent)}}},x=(N,O,C,D,H,U,Z,Y,K=0)=>{for(let G=K;G<N.length;G++){const ie=N[G]=Y?pn(N[G]):gt(N[G]);v(null,ie,O,C,D,H,U,Z,Y)}},E=(N,O,C,D,H,U,Z)=>{const Y=O.el=N.el;let{patchFlag:K,dynamicChildren:G,dirs:ie}=O;K|=N.patchFlag&16;const M=N.props||He,V=O.props||He;let q;C&&Pn(C,!1),(q=V.onVnodeBeforeUpdate)&&at(q,C,O,N),ie&&Ft(O,N,C,"beforeUpdate"),C&&Pn(C,!0);const ne=H&&O.type!=="foreignObject";if(G?k(N.dynamicChildren,G,Y,C,D,ne,U):Z||B(N,O,Y,null,C,D,ne,U,!1),K>0){if(K&16)S(Y,O,M,V,C,D,H);else if(K&2&&M.class!==V.class&&o(Y,"class",null,V.class,H),K&4&&o(Y,"style",M.style,V.style,H),K&8){const X=O.dynamicProps;for(let Q=0;Q<X.length;Q++){const ge=X[Q],Le=M[ge],be=V[ge];(be!==Le||ge==="value")&&o(Y,ge,Le,be,H,N.children,C,D,Ee)}}K&1&&N.children!==O.children&&d(Y,O.children)}else!Z&&G==null&&S(Y,O,M,V,C,D,H);((q=V.onVnodeUpdated)||ie)&&qe(()=>{q&&at(q,C,O,N),ie&&Ft(O,N,C,"updated")},D)},k=(N,O,C,D,H,U,Z)=>{for(let Y=0;Y<O.length;Y++){const K=N[Y],G=O[Y],ie=K.el&&(K.type===Ie||!Tt(K,G)||K.shapeFlag&70)?u(K.el):C;v(K,G,ie,null,D,H,U,Z,!0)}},S=(N,O,C,D,H,U,Z)=>{if(C!==D){if(C!==He)for(const Y in C)!_s(Y)&&!(Y in D)&&o(N,Y,C[Y],null,Z,O.children,H,U,Ee);for(const Y in D){if(_s(Y))continue;const K=D[Y],G=C[Y];K!==G&&Y!=="value"&&o(N,Y,G,K,Z,O.children,H,U,Ee)}"value"in D&&o(N,"value",C.value,D.value)}},A=(N,O,C,D,H,U,Z,Y,K)=>{const G=O.el=N?N.el:a(""),ie=O.anchor=N?N.anchor:a("");let{patchFlag:M,dynamicChildren:V,slotScopeIds:q}=O;q&&(Y=Y?Y.concat(q):q),N==null?(r(G,C,D),r(ie,C,D),x(O.children,C,ie,H,U,Z,Y,K)):M>0&&M&64&&V&&N.dynamicChildren?(k(N.dynamicChildren,V,C,H,U,Z,Y),(O.key!=null||H&&O===H.subTree)&&Wl(N,O,!0)):B(N,O,C,ie,H,U,Z,Y,K)},R=(N,O,C,D,H,U,Z,Y,K)=>{O.slotScopeIds=Y,N==null?O.shapeFlag&512?H.ctx.activate(O,C,D,Z,K):P(O,C,D,H,U,Z,K):I(N,O,K)},P=(N,O,C,D,H,U,Z)=>{const Y=N.component=Yv(N,D,H);if(Js(N)&&(Y.ctx.renderer=W),Jv(Y),Y.asyncDep){if(H&&H.registerDep(Y,j),!N.el){const K=Y.subTree=ce(rt);_(null,K,O,C)}return}j(Y,N,O,C,H,U,Z)},I=(N,O,C)=>{const D=O.component=N.component;if(cv(N,O,C))if(D.asyncDep&&!D.asyncResolved){F(D,O,C);return}else D.next=O,ev(D.update),D.update();else O.el=N.el,D.vnode=O},j=(N,O,C,D,H,U,Z)=>{const Y=()=>{if(N.isMounted){let{next:ie,bu:M,u:V,parent:q,vnode:ne}=N,X=ie,Q;Pn(N,!1),ie?(ie.el=ne.el,F(N,ie,Z)):ie=ne,M&&ur(M),(Q=ie.props&&ie.props.onVnodeBeforeUpdate)&&at(Q,q,ie,ne),Pn(N,!0);const ge=Vi(N),Le=N.subTree;N.subTree=ge,v(Le,ge,u(Le.el),L(Le),N,H,U),ie.el=ge.el,X===null&&Ol(N,ge.el),V&&qe(V,H),(Q=ie.props&&ie.props.onVnodeUpdated)&&qe(()=>at(Q,q,ie,ne),H)}else{let ie;const{el:M,props:V}=O,{bm:q,m:ne,parent:X}=N,Q=Un(O);if(Pn(N,!1),q&&ur(q),!Q&&(ie=V&&V.onVnodeBeforeMount)&&at(ie,X,O),Pn(N,!0),M&&xe){const ge=()=>{N.subTree=Vi(N),xe(M,N.subTree,N,H,null)};Q?O.type.__asyncLoader().then(()=>!N.isUnmounted&&ge()):ge()}else{const ge=N.subTree=Vi(N);v(null,ge,C,D,N,H,U),O.el=ge.el}if(ne&&qe(ne,H),!Q&&(ie=V&&V.onVnodeMounted)){const ge=O;qe(()=>at(ie,X,ge),H)}(O.shapeFlag&256||X&&Un(X.vnode)&&X.vnode.shapeFlag&256)&&N.a&&qe(N.a,H),N.isMounted=!0,O=C=D=null}},K=N.effect=new El(Y,()=>gi(G),N.scope),G=N.update=()=>K.run();G.id=N.uid,Pn(N,!0),G()},F=(N,O,C)=>{O.component=N;const D=N.vnode.props;N.vnode=O,N.next=null,jv(N,O.props,D,C),Fv(N,O.children,C),Pr(),Rc(),Nr()},B=(N,O,C,D,H,U,Z,Y,K=!1)=>{const G=N&&N.children,ie=N?N.shapeFlag:0,M=O.children,{patchFlag:V,shapeFlag:q}=O;if(V>0){if(V&128){ae(G,M,C,D,H,U,Z,Y,K);return}else if(V&256){z(G,M,C,D,H,U,Z,Y,K);return}}q&8?(ie&16&&Ee(G,H,U),M!==G&&d(C,M)):ie&16?q&16?ae(G,M,C,D,H,U,Z,Y,K):Ee(G,H,U,!0):(ie&8&&d(C,""),q&16&&x(M,C,D,H,U,Z,Y,K))},z=(N,O,C,D,H,U,Z,Y,K)=>{N=N||lr,O=O||lr;const G=N.length,ie=O.length,M=Math.min(G,ie);let V;for(V=0;V<M;V++){const q=O[V]=K?pn(O[V]):gt(O[V]);v(N[V],q,C,null,H,U,Z,Y,K)}G>ie?Ee(N,H,U,!0,!1,M):x(O,C,D,H,U,Z,Y,K,M)},ae=(N,O,C,D,H,U,Z,Y,K)=>{let G=0;const ie=O.length;let M=N.length-1,V=ie-1;for(;G<=M&&G<=V;){const q=N[G],ne=O[G]=K?pn(O[G]):gt(O[G]);if(Tt(q,ne))v(q,ne,C,null,H,U,Z,Y,K);else break;G++}for(;G<=M&&G<=V;){const q=N[M],ne=O[V]=K?pn(O[V]):gt(O[V]);if(Tt(q,ne))v(q,ne,C,null,H,U,Z,Y,K);else break;M--,V--}if(G>M){if(G<=V){const q=V+1,ne=q<ie?O[q].el:D;for(;G<=V;)v(null,O[G]=K?pn(O[G]):gt(O[G]),C,ne,H,U,Z,Y,K),G++}}else if(G>V)for(;G<=M;)re(N[G],H,U,!0),G++;else{const q=G,ne=G,X=new Map;for(G=ne;G<=V;G++){const Qe=O[G]=K?pn(O[G]):gt(O[G]);Qe.key!=null&&X.set(Qe.key,G)}let Q,ge=0;const Le=V-ne+1;let be=!1,me=0;const Je=new Array(Le);for(G=0;G<Le;G++)Je[G]=0;for(G=q;G<=M;G++){const Qe=N[G];if(ge>=Le){re(Qe,H,U,!0);continue}let jt;if(Qe.key!=null)jt=X.get(Qe.key);else for(Q=ne;Q<=V;Q++)if(Je[Q-ne]===0&&Tt(Qe,O[Q])){jt=Q;break}jt===void 0?re(Qe,H,U,!0):(Je[jt-ne]=G+1,jt>=me?me=jt:be=!0,v(Qe,O[jt],C,null,H,U,Z,Y,K),ge++)}const er=be?Vv(Je):lr;for(Q=er.length-1,G=Le-1;G>=0;G--){const Qe=ne+G,jt=O[Qe],yc=Qe+1<ie?O[Qe+1].el:D;Je[G]===0?v(null,jt,C,yc,H,U,Z,Y,K):be&&(Q<0||G!==er[Q]?te(jt,C,yc,2):Q--)}}},te=(N,O,C,D,H=null)=>{const{el:U,type:Z,transition:Y,children:K,shapeFlag:G}=N;if(G&6){te(N.component.subTree,O,C,D);return}if(G&128){N.suspense.move(O,C,D);return}if(G&64){Z.move(N,O,C,W);return}if(Z===Ie){r(U,O,C);for(let M=0;M<K.length;M++)te(K[M],O,C,D);r(N.anchor,O,C);return}if(Z===Es){b(N,O,C);return}if(D!==2&&G&1&&Y)if(D===0)Y.beforeEnter(U),r(U,O,C),qe(()=>Y.enter(U),H);else{const{leave:M,delayLeave:V,afterLeave:q}=Y,ne=()=>r(U,O,C),X=()=>{M(U,()=>{ne(),q&&q()})};V?V(U,ne,X):X()}else r(U,O,C)},re=(N,O,C,D=!1,H=!1)=>{const{type:U,props:Z,ref:Y,children:K,dynamicChildren:G,shapeFlag:ie,patchFlag:M,dirs:V}=N;if(Y!=null&&Vo(Y,null,C,N,!0),ie&256){O.ctx.deactivate(N);return}const q=ie&1&&V,ne=!Un(N);let X;if(ne&&(X=Z&&Z.onVnodeBeforeUnmount)&&at(X,O,N),ie&6)_e(N.component,C,D);else{if(ie&128){N.suspense.unmount(C,D);return}q&&Ft(N,null,O,"beforeUnmount"),ie&64?N.type.remove(N,O,C,H,W,D):G&&(U!==Ie||M>0&&M&64)?Ee(G,O,C,!1,!0):(U===Ie&&M&384||!H&&ie&16)&&Ee(K,O,C),D&&de(N)}(ne&&(X=Z&&Z.onVnodeUnmounted)||q)&&qe(()=>{X&&at(X,O,N),q&&Ft(N,null,O,"unmounted")},C)},de=N=>{const{type:O,el:C,anchor:D,transition:H}=N;if(O===Ie){fe(C,D);return}if(O===Es){y(N);return}const U=()=>{s(C),H&&!H.persisted&&H.afterLeave&&H.afterLeave()};if(N.shapeFlag&1&&H&&!H.persisted){const{leave:Z,delayLeave:Y}=H,K=()=>Z(C,U);Y?Y(N.el,U,K):K()}else U()},fe=(N,O)=>{let C;for(;N!==O;)C=f(N),s(N),N=C;s(O)},_e=(N,O,C)=>{const{bum:D,scope:H,update:U,subTree:Z,um:Y}=N;D&&ur(D),H.stop(),U&&(U.active=!1,re(Z,N,O,C)),Y&&qe(Y,O),qe(()=>{N.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&N.asyncDep&&!N.asyncResolved&&N.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},Ee=(N,O,C,D=!1,H=!1,U=0)=>{for(let Z=U;Z<N.length;Z++)re(N[Z],O,C,D,H)},L=N=>N.shapeFlag&6?L(N.component.subTree):N.shapeFlag&128?N.suspense.next():f(N.anchor||N.el),J=(N,O,C)=>{N==null?O._vnode&&re(O._vnode,null,null,!0):v(O._vnode||null,N,O,null,null,null,C),Rc(),Bo(),O._vnode=N},W={p:v,um:re,m:te,r:de,mt:P,mc:x,pc:B,pbc:k,n:L,o:e};let le,xe;return t&&([le,xe]=t(W)),{render:J,hydrate:le,createApp:Cv(J,le)}}function Pn({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Wl(e,t,n=!1){const r=e.children,s=t.children;if(he(r)&&he(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=pn(s[o]),a.el=i.el),n||Wl(i,a)),a.type===yr&&(a.el=i.el)}}function Vv(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(s=n[n.length-1],e[s]<c){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<c?o=a+1:i=a;c<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const Wv=e=>e.__isTeleport,ws=e=>e&&(e.disabled||e.disabled===""),Uc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Na=(e,t)=>{const n=e&&e.to;return Ue(n)?t?t(n):null:n},Gv={__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,c){const{mc:d,pc:u,pbc:f,o:{insert:h,querySelector:p,createText:v,createComment:w}}=c,_=ws(t.props);let{shapeFlag:g,children:b,dynamicChildren:y}=t;if(e==null){const T=t.el=v(""),m=t.anchor=v("");h(T,n,r),h(m,n,r);const $=t.target=Na(t.props,p),x=t.targetAnchor=v("");$&&(h(x,$),i=i||Uc($));const E=(k,S)=>{g&16&&d(b,k,S,s,o,i,a,l)};_?E(n,m):$&&E($,x)}else{t.el=e.el;const T=t.anchor=e.anchor,m=t.target=e.target,$=t.targetAnchor=e.targetAnchor,x=ws(e.props),E=x?n:m,k=x?T:$;if(i=i||Uc(m),y?(f(e.dynamicChildren,y,E,s,o,i,a),Wl(e,t,!0)):l||u(e,t,E,k,s,o,i,a,!1),_)x||fo(t,n,T,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const S=t.target=Na(t.props,p);S&&fo(t,S,null,c,0)}else x&&fo(t,m,$,c,1)}wh(t)},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:a,children:l,anchor:c,targetAnchor:d,target:u,props:f}=e;if(u&&o(d),(i||!ws(f))&&(o(c),a&16))for(let h=0;h<l.length;h++){const p=l[h];s(p,t,n,!0,!!p.dynamicChildren)}},move:fo,hydrate:zv};function fo(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:c,props:d}=e,u=o===2;if(u&&r(i,t,n),(!u||ws(d))&&l&16)for(let f=0;f<c.length;f++)s(c[f],t,n,2);u&&r(a,t,n)}function zv(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l}},c){const d=t.target=Na(t.props,l);if(d){const u=d._lpa||d.firstChild;if(t.shapeFlag&16)if(ws(t.props))t.anchor=c(i(e),t,a(e),n,r,s,o),t.targetAnchor=u;else{t.anchor=i(e);let f=u;for(;f;)if(f=i(f),f&&f.nodeType===8&&f.data==="teleport anchor"){t.targetAnchor=f,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}c(u,t,d,n,r,s,o)}wh(t)}return t.anchor&&i(t.anchor)}const bh=Gv;function wh(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const Ie=Symbol.for("v-fgt"),yr=Symbol.for("v-txt"),rt=Symbol.for("v-cmt"),Es=Symbol.for("v-stc"),xs=[];let vt=null;function ue(e=!1){xs.push(vt=e?null:[])}function Eh(){xs.pop(),vt=xs[xs.length-1]||null}let br=1;function Vc(e){br+=e}function xh(e){return e.dynamicChildren=br>0?vt||lr:null,Eh(),br>0&&vt&&vt.push(e),e}function Te(e,t,n,r,s,o){return xh(oe(e,t,n,r,s,o,!0))}function Ne(e,t,n,r,s){return xh(ce(e,t,n,r,s,!0))}function wr(e){return e?e.__v_isVNode===!0:!1}function Tt(e,t){return e.type===t.type&&e.key===t.key}const bi="__vInternal",Th=({key:e})=>e??null,No=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ue(e)||De(e)||ve(e)?{i:ze,r:e,k:t,f:!!n}:e:null);function oe(e,t=null,n=null,r=0,s=null,o=e===Ie?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Th(t),ref:t&&No(t),scopeId:_i,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:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ze};return a?(Gl(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ue(n)?8:16),br>0&&!i&&vt&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&vt.push(l),l}const ce=qv;function qv(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===ch)&&(e=rt),wr(e)){const a=nn(e,t,!0);return n&&Gl(a,n),br>0&&!o&&vt&&(a.shapeFlag&6?vt[vt.indexOf(e)]=a:vt.push(a)),a.patchFlag|=-2,a}if(t_(e)&&(e=e.__vccOpts),t){t=wi(t);let{class:a,style:l}=t;a&&!Ue(a)&&(t.class=Xe(a)),je(l)&&(Bd(l)&&!he(l)&&(l=Ve({},l)),t.style=gn(l))}const i=Ue(e)?1:Qd(e)?128:Wv(e)?64:je(e)?4:ve(e)?2:0;return oe(e,t,n,r,s,i,o,!0)}function wi(e){return e?Bd(e)||bi in e?Ve({},e):e:null}function nn(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,a=t?Tn(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Th(a),ref:t&&t.ref?n&&s?he(s)?s.concat(No(t)):[s,No(t)]:No(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ie?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,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}}function Me(e=" ",t=0){return ce(yr,null,e,t)}function E2(e,t){const n=ce(Es,null,e);return n.staticCount=t,n}function Ke(e="",t=!1){return t?(ue(),Ne(rt,null,e)):ce(rt,null,e)}function gt(e){return e==null||typeof e=="boolean"?ce(rt):he(e)?ce(Ie,null,e.slice()):typeof e=="object"?pn(e):ce(yr,null,String(e))}function pn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nn(e)}function Gl(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(he(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Gl(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(bi in t)?t._ctx=ze:s===3&&ze&&(ze.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ve(t)?(t={default:t,_ctx:ze},n=32):(t=String(t),r&64?(n=16,t=[Me(t)]):n=8);e.children=t,e.shapeFlag|=n}function Tn(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Xe([t.class,r.class]));else if(s==="style")t.style=gn([t.style,r.style]);else if(Ys(s)){const o=t[s],i=r[s];i&&o!==i&&!(he(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function at(e,t,n,r=null){yt(e,t,7,[n,r])}const Kv=dh();let Xv=0;function Yv(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Kv,o={uid:Xv++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new pg(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:mh(r,s),emitsOptions:Jd(r,s),emit:null,emitted:null,propsDefaults:He,inheritAttrs:r.inheritAttrs,ctx:He,data:He,props:He,attrs:He,slots:He,refs:He,setupState:He,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 o.ctx={_:o},o.root=t?t.root:o,o.emit=nv.bind(null,o),e.ce&&e.ce(o),o}let We=null;const Ot=()=>We||ze;let zl,tr,Wc="__VUE_INSTANCE_SETTERS__";(tr=Ea()[Wc])||(tr=Ea()[Wc]=[]),tr.push(e=>We=e),zl=e=>{tr.length>1?tr.forEach(t=>t(e)):tr[0](e)};const $n=e=>{zl(e),e.scope.on()},yn=()=>{We&&We.scope.off(),zl(null)};function $h(e){return e.vnode.shapeFlag&4}let Er=!1;function Jv(e,t=!1){Er=t;const{props:n,children:r}=e.vnode,s=$h(e);Iv(e,n,s,t),Dv(e,r);const o=s?Qv(e,t):void 0;return Er=!1,o}function Qv(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Hd(new Proxy(e.ctx,Sv));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?e_(e):null;$n(e),Pr();const o=_n(r,e,0,[e.props,s]);if(Nr(),yn(),vl(o)){if(o.then(yn,yn),t)return o.then(i=>{Oa(e,i,t)}).catch(i=>{Or(i,e,0)});e.asyncDep=o}else Oa(e,o,t)}else kh(e,t)}function Oa(e,t,n){ve(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:je(t)&&(e.setupState=Wd(t)),kh(e,n)}let Gc;function kh(e,t,n){const r=e.type;if(!e.render){if(!t&&Gc&&!r.render){const s=r.template||Ul(e).template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=Ve(Ve({isCustomElement:o,delimiters:a},i),l);r.render=Gc(s,c)}}e.render=r.render||At}$n(e),Pr(),Av(e),Nr(),yn()}function Zv(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ct(e,"get","$attrs"),t[n]}}))}function e_(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Zv(e)},slots:e.slots,emit:e.emit,expose:t}}function Ei(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Wd(Hd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in bs)return bs[n](e)},has(t,n){return n in t||n in bs}}))}function La(e,t=!0){return ve(e)?e.displayName||e.name:e.name||t&&e.__name}function t_(e){return ve(e)&&"__vccOpts"in e}const pe=(e,t)=>Jg(e,t,Er);function Ye(e,t,n){const r=arguments.length;return r===2?je(t)&&!he(t)?wr(t)?ce(e,null,[t]):ce(e,t):ce(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&wr(n)&&(n=[n]),ce(e,t,n))}const n_=Symbol.for("v-scx"),r_=()=>lt(n_),Sh="3.3.4",s_="http://www.w3.org/2000/svg",jn=typeof document<"u"?document:null,zc=jn&&jn.createElement("template"),o_={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t?jn.createElementNS(s_,e):jn.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>jn.createTextNode(e),createComment:e=>jn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>jn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{zc.innerHTML=r?`<svg>${e}</svg>`:e;const a=zc.content;if(r){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function i_(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function a_(e,t,n){const r=e.style,s=Ue(n);if(n&&!s){if(t&&!Ue(t))for(const o in t)n[o]==null&&Ca(r,o,"");for(const o in n)Ca(r,o,n[o])}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const qc=/\s*!important$/;function Ca(e,t,n){if(he(n))n.forEach(r=>Ca(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=l_(e,t);qc.test(n)?e.setProperty(Jn(r),n.replace(qc,""),"important"):e[r]=n}}const Kc=["Webkit","Moz","ms"],Xi={};function l_(e,t){const n=Xi[t];if(n)return n;let r=zt(t);if(r!=="filter"&&r in e)return Xi[t]=r;r=di(r);for(let s=0;s<Kc.length;s++){const o=Kc[s]+r;if(o in e)return Xi[t]=o}return t}const Xc="http://www.w3.org/1999/xlink";function c_(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Xc,t.slice(6,t.length)):e.setAttributeNS(Xc,t,n);else{const o=dg(t);n==null||o&&!Sd(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function u_(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){e._value=n;const c=a==="OPTION"?e.getAttribute("value"):e.value,d=n??"";c!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=Sd(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function Zt(e,t,n,r){e.addEventListener(t,n,r)}function f_(e,t,n,r){e.removeEventListener(t,n,r)}function d_(e,t,n,r,s=null){const o=e._vei||(e._vei={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=h_(t);if(r){const c=o[t]=g_(r,s);Zt(e,a,c,l)}else i&&(f_(e,a,i,l),o[t]=void 0)}}const Yc=/(?:Once|Passive|Capture)$/;function h_(e){let t;if(Yc.test(e)){t={};let r;for(;r=e.match(Yc);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Jn(e.slice(2)),t]}let Yi=0;const p_=Promise.resolve(),m_=()=>Yi||(p_.then(()=>Yi=0),Yi=Date.now());function g_(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;yt(v_(r,n.value),t,5,[r])};return n.value=e,n.attached=m_(),n}function v_(e,t){if(he(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Jc=/^on[a-z]/,__=(e,t,n,r,s=!1,o,i,a,l)=>{t==="class"?i_(e,r,s):t==="style"?a_(e,n,r):Ys(t)?ml(t)||d_(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):y_(e,t,r,s))?u_(e,t,r,o,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),c_(e,t,r,s))};function y_(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Jc.test(t)&&ve(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Jc.test(t)&&Ue(n)?!1:t in e}const cn="transition",Fr="animation",xi=(e,{slots:t})=>Ye(_v,Rh(e),t);xi.displayName="Transition";const Ah={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},b_=xi.props=Ve({},nh,Ah),Nn=(e,t=[])=>{he(e)?e.forEach(n=>n(...t)):e&&e(...t)},Qc=e=>e?he(e)?e.some(t=>t.length>1):e.length>1:!1;function Rh(e){const t={};for(const A in e)A in Ah||(t[A]=e[A]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=i,appearToClass:d=a,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=w_(s),v=p&&p[0],w=p&&p[1],{onBeforeEnter:_,onEnter:g,onEnterCancelled:b,onLeave:y,onLeaveCancelled:T,onBeforeAppear:m=_,onAppear:$=g,onAppearCancelled:x=b}=t,E=(A,R,P)=>{fn(A,R?d:a),fn(A,R?c:i),P&&P()},k=(A,R)=>{A._isLeaving=!1,fn(A,u),fn(A,h),fn(A,f),R&&R()},S=A=>(R,P)=>{const I=A?$:g,j=()=>E(R,A,P);Nn(I,[R,j]),Zc(()=>{fn(R,A?l:o),Xt(R,A?d:a),Qc(I)||eu(R,r,v,j)})};return Ve(t,{onBeforeEnter(A){Nn(_,[A]),Xt(A,o),Xt(A,i)},onBeforeAppear(A){Nn(m,[A]),Xt(A,l),Xt(A,c)},onEnter:S(!1),onAppear:S(!0),onLeave(A,R){A._isLeaving=!0;const P=()=>k(A,R);Xt(A,u),Nh(),Xt(A,f),Zc(()=>{A._isLeaving&&(fn(A,u),Xt(A,h),Qc(y)||eu(A,r,w,P))}),Nn(y,[A,P])},onEnterCancelled(A){E(A,!1),Nn(b,[A])},onAppearCancelled(A){E(A,!0),Nn(x,[A])},onLeaveCancelled(A){k(A),Nn(T,[A])}})}function w_(e){if(e==null)return null;if(je(e))return[Ji(e.enter),Ji(e.leave)];{const t=Ji(e);return[t,t]}}function Ji(e){return kd(e)}function Xt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function fn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Zc(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let E_=0;function eu(e,t,n,r){const s=e._endId=++E_,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=Ph(e,t);if(!i)return r();const c=i+"end";let d=0;const u=()=>{e.removeEventListener(c,f),o()},f=h=>{h.target===e&&++d>=l&&u()};setTimeout(()=>{d<l&&u()},a+1),e.addEventListener(c,f)}function Ph(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),s=r(`${cn}Delay`),o=r(`${cn}Duration`),i=tu(s,o),a=r(`${Fr}Delay`),l=r(`${Fr}Duration`),c=tu(a,l);let d=null,u=0,f=0;t===cn?i>0&&(d=cn,u=i,f=o.length):t===Fr?c>0&&(d=Fr,u=c,f=l.length):(u=Math.max(i,c),d=u>0?i>c?cn:Fr:null,f=d?d===cn?o.length:l.length:0);const h=d===cn&&/\b(transform|all)(,|$)/.test(r(`${cn}Property`).toString());return{type:d,timeout:u,propCount:f,hasTransform:h}}function tu(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>nu(n)+nu(e[r])))}function nu(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Nh(){return document.body.offsetHeight}const Oh=new WeakMap,Lh=new WeakMap,Ch={name:"TransitionGroup",props:Ve({},b_,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ot(),r=th();let s,o;return Dl(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!A_(s[0].el,n.vnode.el,i))return;s.forEach($_),s.forEach(k_);const a=s.filter(S_);Nh(),a.forEach(l=>{const c=l.el,d=c.style;Xt(c,i),d.transform=d.webkitTransform=d.transitionDuration="";const u=c._moveCb=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",u),c._moveCb=null,fn(c,i))};c.addEventListener("transitionend",u)})}),()=>{const i=ke(e),a=Rh(i);let l=i.tag||Ie;s=o,o=t.default?Ml(t.default()):[];for(let c=0;c<o.length;c++){const d=o[c];d.key!=null&&_r(d,Bs(d,a,r,n))}if(s)for(let c=0;c<s.length;c++){const d=s[c];_r(d,Bs(d,a,r,n)),Oh.set(d,d.el.getBoundingClientRect())}return ce(l,null,o)}}},x_=e=>delete e.mode;Ch.props;const T_=Ch;function $_(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function k_(e){Lh.set(e,e.el.getBoundingClientRect())}function S_(e){const t=Oh.get(e),n=Lh.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${s}px)`,o.transitionDuration="0s",e}}function A_(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach(i=>{i.split(/\s+/).forEach(a=>a&&r.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&r.classList.add(i)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:o}=Ph(r);return s.removeChild(r),o}const kn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return he(t)?n=>ur(t,n):t};function R_(e){e.target.composing=!0}function ru(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const su={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e._assign=kn(s);const o=r||s.props&&s.props.type==="number";Zt(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=Mo(a)),e._assign(a)}),n&&Zt(e,"change",()=>{e.value=e.value.trim()}),t||(Zt(e,"compositionstart",R_),Zt(e,"compositionend",ru),Zt(e,"change",ru))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e._assign=kn(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&Mo(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},P_={deep:!0,created(e,t,n){e._assign=kn(n),Zt(e,"change",()=>{const r=e._modelValue,s=xr(e),o=e.checked,i=e._assign;if(he(r)){const a=bl(r,s),l=a!==-1;if(o&&!l)i(r.concat(s));else if(!o&&l){const c=[...r];c.splice(a,1),i(c)}}else if(Ar(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(Ih(e,o))})},mounted:ou,beforeUpdate(e,t,n){e._assign=kn(n),ou(e,t,n)}};function ou(e,{value:t,oldValue:n},r){e._modelValue=t,he(t)?e.checked=bl(t,r.props.value)>-1:Ar(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Wn(t,Ih(e,!0)))}const N_={created(e,{value:t},n){e.checked=Wn(t,n.props.value),e._assign=kn(n),Zt(e,"change",()=>{e._assign(xr(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=kn(r),t!==n&&(e.checked=Wn(t,r.props.value))}},O_={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=Ar(t);Zt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Mo(xr(i)):xr(i));e._assign(e.multiple?s?new Set(o):o:o[0])}),e._assign=kn(r)},mounted(e,{value:t}){iu(e,t)},beforeUpdate(e,t,n){e._assign=kn(n)},updated(e,{value:t}){iu(e,t)}};function iu(e,t){const n=e.multiple;if(!(n&&!he(t)&&!Ar(t))){for(let r=0,s=e.options.length;r<s;r++){const o=e.options[r],i=xr(o);if(n)he(t)?o.selected=bl(t,i)>-1:o.selected=t.has(i);else if(Wn(xr(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function xr(e){return"_value"in e?e._value:e.value}function Ih(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const L_={created(e,t,n){ho(e,t,n,null,"created")},mounted(e,t,n){ho(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){ho(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){ho(e,t,n,r,"updated")}};function C_(e,t){switch(e){case"SELECT":return O_;case"TEXTAREA":return su;default:switch(t){case"checkbox":return P_;case"radio":return N_;default:return su}}}function ho(e,t,n,r,s){const i=C_(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,r)}const I_=["ctrl","shift","alt","meta"],j_={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>I_.some(n=>e[`${n}Key`]&&!t.includes(n))},x2=(e,t)=>(n,...r)=>{for(let s=0;s<t.length;s++){const o=j_[t[s]];if(o&&o(n,t))return}return e(n,...r)},M_={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},D_=(e,t)=>n=>{if(!("key"in n))return;const r=Jn(n.key);if(t.some(s=>s===r||M_[s]===r))return e(n)},jh={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Br(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Br(e,!0),r.enter(e)):r.leave(e,()=>{Br(e,!1)}):Br(e,t))},beforeUnmount(e,{value:t}){Br(e,t)}};function Br(e,t){e.style.display=t?e._vod:"none"}const Mh=Ve({patchProp:__},o_);let Ts,au=!1;function F_(){return Ts||(Ts=Hv(Mh))}function B_(){return Ts=au?Ts:Uv(Mh),au=!0,Ts}const Dh=(...e)=>{const t=F_().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Fh(r);if(!s)return;const o=t._component;!ve(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},H_=(...e)=>{const t=B_().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Fh(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function Fh(e){return Ue(e)?document.querySelector(e):e}const U_=/"(?:_|\\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*:/,V_=/"(?: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*:/,W_=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function G_(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){z_(e);return}return t}function z_(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function q_(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e[e.length-1]==='"')return n.slice(1,-1);const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r!=="undefined"){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(!W_.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(U_.test(e)||V_.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,G_)}return JSON.parse(e)}catch(s){if(t.strict)throw s;return e}}}const K_=/#/g,X_=/&/g,Y_=/=/g,Bh=/\+/g,J_=/%5e/gi,Q_=/%60/gi,Z_=/%7c/gi,ey=/%20/gi;function ty(e){return encodeURI(""+e).replace(Z_,"|")}function Ia(e){return ty(typeof e=="string"?e:JSON.stringify(e)).replace(Bh,"%2B").replace(ey,"+").replace(K_,"%23").replace(X_,"%26").replace(Q_,"`").replace(J_,"^")}function Qi(e){return Ia(e).replace(Y_,"%3D")}function Hh(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function ny(e){return Hh(e.replace(Bh," "))}function Uh(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 s=Hh(r[1]);if(s==="__proto__"||s==="constructor")continue;const o=ny(r[2]||"");typeof t[s]<"u"?Array.isArray(t[s])?t[s].push(o):t[s]=[t[s],o]:t[s]=o}return t}function ry(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Qi(e)}=${Ia(n)}`).join("&"):`${Qi(e)}=${Ia(t)}`:Qi(e)}function sy(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>ry(t,e[t])).join("&")}const oy=/^\w{2,}:([/\\]{1,2})/,iy=/^\w{2,}:([/\\]{2})?/,ay=/^([/\\]\s*){2,}[^/\\]/;function Cr(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?oy.test(e):iy.test(e)||(t.acceptRelative?ay.test(e):!1)}const ly=/\/$|\/\?/;function ja(e="",t=!1){return t?ly.test(e):e.endsWith("/")}function ql(e="",t=!1){if(!t)return(ja(e)?e.slice(0,-1):e)||"/";if(!ja(e,!0))return e||"/";const[n,...r]=e.split("?");return(n.slice(0,-1)||"/")+(r.length>0?`?${r.join("?")}`:"")}function Vh(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(ja(e,!0))return e||"/";const[n,...r]=e.split("?");return n+"/"+(r.length>0?`?${r.join("?")}`:"")}function cy(e=""){return e.startsWith("/")}function uy(e=""){return(cy(e)?e.slice(1):e)||"/"}function fy(e,t){if(Gh(t)||Cr(e))return e;const n=ql(t);return e.startsWith(n)?e:Qs(n,e)}function lu(e,t){if(Gh(t))return e;const n=ql(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function Wh(e,t){const n=Zs(e),r={...Uh(n.search),...t};return n.search=sy(r),hy(n)}function Gh(e){return!e||e==="/"}function dy(e){return e&&e!=="/"}function Qs(e,...t){let n=e||"";for(const r of t.filter(s=>dy(s)))n=n?Vh(n)+uy(r):r;return n}function Zs(e="",t){if(!Cr(e,{acceptRelative:!0}))return t?Zs(t+e):cu(e);const[n="",r,s=""]=(e.replace(/\\/g,"/").match(/([^/:]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[o="",i=""]=(s.match(/([^#/?]*)(.*)?/)||[]).splice(1),{pathname:a,search:l,hash:c}=cu(i.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:n,auth:r?r.slice(0,Math.max(0,r.length-1)):"",host:o,pathname:a,search:l,hash:c}}function cu(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function hy(e){const t=e.pathname+(e.search?(e.search.startsWith("?")?"":"?")+e.search:"")+e.hash;return e.protocol?e.protocol+"//"+(e.auth?e.auth+"@":"")+e.host+t:t}class py extends Error{constructor(){super(...arguments),this.name="FetchError"}}function my(e,t,n){let r="";t&&(r=t.message),e&&n?r=`${r} (${n.status} ${n.statusText} (${e.toString()}))`:e&&(r=`${r} (${e.toString()})`);const s=new py(r);return Object.defineProperty(s,"request",{get(){return e}}),Object.defineProperty(s,"response",{get(){return n}}),Object.defineProperty(s,"data",{get(){return n&&n._data}}),Object.defineProperty(s,"status",{get(){return n&&n.status}}),Object.defineProperty(s,"statusText",{get(){return n&&n.statusText}}),Object.defineProperty(s,"statusCode",{get(){return n&&n.status}}),Object.defineProperty(s,"statusMessage",{get(){return n&&n.statusText}}),s}const gy=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function uu(e="GET"){return gy.has(e.toUpperCase())}function vy(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.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const _y=new Set(["image/svg","application/xml","application/xhtml","application/html"]),yy=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function by(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return yy.test(t)?"json":_y.has(t)||t.startsWith("text/")?"text":"blob"}function wy(e,t,n=globalThis.Headers){const r={...t,...e};if(t?.params&&e?.params&&(r.params={...t?.params,...e?.params}),t?.query&&e?.query&&(r.query={...t?.query,...e?.query}),t?.headers&&e?.headers){r.headers=new n(t?.headers||{});for(const[s,o]of new n(e?.headers||{}))r.headers.set(s,o)}return r}const Ey=new Set([408,409,425,429,500,502,503,504]);function zh(e){const{fetch:t,Headers:n}=e;function r(i){const a=i.error&&i.error.name==="AbortError"||!1;if(i.options.retry!==!1&&!a){let c;typeof i.options.retry=="number"?c=i.options.retry:c=uu(i.options.method)?0:1;const d=i.response&&i.response.status||500;if(c>0&&Ey.has(d))return s(i.request,{...i.options,retry:c-1})}const l=my(i.request,i.error,i.response);throw Error.captureStackTrace&&Error.captureStackTrace(l,s),l}const s=async function(a,l={}){const c={request:a,options:wy(l,e.defaults,n),response:void 0,error:void 0};c.options.onRequest&&await c.options.onRequest(c),typeof c.request=="string"&&(c.options.baseURL&&(c.request=fy(c.request,c.options.baseURL)),(c.options.query||c.options.params)&&(c.request=Wh(c.request,{...c.options.params,...c.options.query})),c.options.body&&uu(c.options.method)&&vy(c.options.body)&&(c.options.body=typeof c.options.body=="string"?c.options.body:JSON.stringify(c.options.body),c.options.headers=new n(c.options.headers||{}),c.options.headers.has("content-type")||c.options.headers.set("content-type","application/json"),c.options.headers.has("accept")||c.options.headers.set("accept","application/json")));try{c.response=await t(c.request,c.options)}catch(u){return c.error=u,c.options.onRequestError&&await c.options.onRequestError(c),await r(c)}const d=(c.options.parseResponse?"json":c.options.responseType)||by(c.response.headers.get("content-type")||"");if(d==="json"){const u=await c.response.text(),f=c.options.parseResponse||q_;c.response._data=f(u)}else d==="stream"?c.response._data=c.response.body:c.response._data=await c.response[d]();return c.options.onResponse&&await c.options.onResponse(c),!c.options.ignoreResponseError&&c.response.status>=400&&c.response.status<600?(c.options.onResponseError&&await c.options.onResponseError(c),await r(c)):c.response},o=async function(a,l){return(await s(a,l))._data};return o.raw=s,o.native=t,o.create=(i={})=>zh({...e,defaults:{...e.defaults,...i}}),o}const qh=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")}(),xy=qh.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Ty=qh.Headers,$y=zh({fetch:xy,Headers:Ty}),ky=$y,Sy=()=>window?.__NUXT__?.config||{},Wo=Sy().app,Ay=()=>Wo.baseURL,Ry=()=>Wo.buildAssetsDir,Py=(...e)=>Qs(Kh(),Ry(),...e),Kh=(...e)=>{const t=Wo.cdnURL||Wo.baseURL;return e.length?Qs(t,...e):t};globalThis.__buildAssetsURL=Py,globalThis.__publicAssetsURL=Kh;function Ma(e,t={},n){for(const r in e){const s=e[r],o=n?`${n}:${r}`:r;typeof s=="object"&&s!==null?Ma(s,t,o):typeof s=="function"&&(t[o]=s)}return t}const Ny={run:e=>e()},Oy=()=>Ny,Xh=typeof console.createTask<"u"?console.createTask:Oy;function Ly(e,t){const n=t.shift(),r=Xh(n);return e.reduce((s,o)=>s.then(()=>r.run(()=>o(...t))),Promise.resolve())}function Cy(e,t){const n=t.shift(),r=Xh(n);return Promise.all(e.map(s=>r.run(()=>s(...t))))}function Zi(e,t){for(const n of[...e])n(t)}class Iy{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 s=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!r.allowDeprecated){let i=o.message;i||(i=`${s} hook has been deprecated`+(o.to?`, please use ${o.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,s=(...o)=>(typeof r=="function"&&r(),r=void 0,s=void 0,n(...o));return r=this.hook(t,s),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 s of r)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Ma(t),r=Object.keys(n).map(s=>this.hook(s,n[s]));return()=>{for(const s of r.splice(0,r.length))s()}}removeHooks(t){const n=Ma(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(Ly,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(Cy,t,...n)}callHookWith(t,n,...r){const s=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Zi(this._before,s);const o=t(n in this._hooks?[...this._hooks[n]]:[],r);return o instanceof Promise?o.finally(()=>{this._after&&s&&Zi(this._after,s)}):(this._after&&s&&Zi(this._after,s),o)}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 Yh(){return new Iy}function jy(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let s;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?s=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(s&&t===void 0){const i=s.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=o();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>o(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return s?s.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},c=()=>t===i?l:void 0;Da.add(c);try{const d=s?s.run(i,a):a();return n||(t=void 0),await d}finally{Da.delete(c)}}}}function My(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=jy({...e,...r})),t[n],t[n]}}}const Go=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},fu="__unctx__",Dy=Go[fu]||(Go[fu]=My()),Fy=(e,t={})=>Dy.get(e,t),du="__unctx_async_handlers__",Da=Go[du]||(Go[du]=new Set);function zo(e){const t=[];for(const s of Da){const o=s();o&&t.push(o)}const n=()=>{for(const s of t)s()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(s=>{throw n(),s})),[r,n]}const Jh=Fy("nuxt-app"),By="__nuxt_plugin";function Hy(e){let t=0;const n={provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.6.1"},get vue(){return n.vueApp.version}},payload:ut({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:s=>Wy(n,s),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let s=!1;return()=>{if(!s&&(s=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=Yh(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(s,o)=>{const i="$"+s;po(n,i,o),po(n.vueApp.config.globalProperties,i,o)},po(n.vueApp,"$nuxt",n),po(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",o=>{n.callHook("app:chunkError",{error:o.payload})}),window.useNuxtApp=window.useNuxtApp||Pe;const s=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",s)}const r=ut(n.payload.config);return n.provide("config",r),n}async function Uy(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 Vy(e,t){const n=[],r=[];for(const s of t){const o=Uy(e,s);s.parallel?n.push(o.catch(i=>r.push(i))):await o}if(await Promise.all(n),r.length)throw r[0]}/*! @__NO_SIDE_EFFECTS__ */function Lt(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[By]:!0}))}function Wy(e,t,n){const r=()=>n?t(...n):t();return Jh.set(e),e.vueApp.runWithContext(r)}/*! @__NO_SIDE_EFFECTS__ */function Pe(){let e;if(hh()&&(e=Ot()?.appContext.app.$nuxt),e=e||Jh.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function Kl(){return Pe().$config}function po(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Gy="modulepreload",zy=function(e,t){return e.startsWith(".")?new URL(e,t).href:e},hu={},qy=function(t,n,r){if(!n||n.length===0)return t();const s=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=zy(o,r),o in hu)return;hu[o]=!0;const i=o.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!r)for(let d=s.length-1;d>=0;d--){const u=s[d];if(u.href===o&&(!i||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${a}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":Gy,i||(c.as="script",c.crossOrigin=""),c.href=o,document.head.appendChild(c),i)return new Promise((d,u)=>{c.addEventListener("load",d),c.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t())},Re=(...e)=>qy(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),Ky=-1,Xy=-2,Yy=-3,Jy=-4,Qy=-5,Zy=-6;function e0(e,t){return t0(JSON.parse(e),t)}function t0(e,t){if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function s(o,i=!1){if(o===Ky)return;if(o===Yy)return NaN;if(o===Jy)return 1/0;if(o===Qy)return-1/0;if(o===Zy)return-0;if(i)throw new Error("Invalid input");if(o in r)return r[o];const a=n[o];if(!a||typeof a!="object")r[o]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],c=t?.[l];if(c)return r[o]=c(s(a[1]));switch(l){case"Date":r[o]=new Date(a[1]);break;case"Set":const d=new Set;r[o]=d;for(let h=1;h<a.length;h+=1)d.add(s(a[h]));break;case"Map":const u=new Map;r[o]=u;for(let h=1;h<a.length;h+=2)u.set(s(a[h]),s(a[h+1]));break;case"RegExp":r[o]=new RegExp(a[1],a[2]);break;case"Object":r[o]=Object(a[1]);break;case"BigInt":r[o]=BigInt(a[1]);break;case"null":const f=Object.create(null);r[o]=f;for(let h=1;h<a.length;h+=2)f[a[h]]=s(a[h+1]);break;default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[o]=l;for(let c=0;c<a.length;c+=1){const d=a[c];d!==Xy&&(l[c]=s(d))}}else{const l={};r[o]=l;for(const c in a){const d=a[c];l[c]=s(d)}}return r[o]}return s(0)}function n0(e){return Array.isArray(e)?e:[e]}const Qh=["title","script","style","noscript"],Zh=["base","meta","link","style","script","noscript"],r0=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],s0=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],o0=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent"];function ep(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 Fa(e){return ep(`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function i0(e){let t=9;for(const n of e)for(let r=0;r<n.length;)t=Math.imul(t^n.charCodeAt(r++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function tp(e,t){const{props:n,tag:r}=e;if(s0.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const s=["id"];r==="meta"&&s.push("name","property","http-equiv");for(const o of s)if(typeof n[o]<"u"){const i=String(n[o]);return t&&!t(i)?!1:`${r}:${o}:${i}`}return!1}function pu(e,t){return e==null?t||null:typeof e=="function"?e(t):e}function mo(e,t=!1,n){const{tag:r,$el:s}=e;s&&(Object.entries(r.props).forEach(([o,i])=>{i=String(i);const a=`attr:${o}`;if(o==="class"){if(!i)return;for(const l of i.split(" ")){const c=`${a}:${l}`;n&&n(e,c,()=>s.classList.remove(l)),s.classList.contains(l)||s.classList.add(l)}return}n&&!o.startsWith("data-h-")&&n(e,a,()=>s.removeAttribute(o)),(t||s.getAttribute(o)!==i)&&s.setAttribute(o,i)}),Qh.includes(r.tag)&&(r.textContent&&r.textContent!==s.textContent?s.textContent=r.textContent:r.innerHTML&&r.innerHTML!==s.innerHTML&&(s.innerHTML=r.innerHTML)))}let Hr=!1;async function a0(e,t={}){const n={shouldRender:!0};if(await e.hooks.callHook("dom:beforeRender",n),!n.shouldRender)return;const r=t.document||e.resolvedOptions.document||window.document,s=(await e.resolveTags()).map(a);if(e.resolvedOptions.experimentalHashHydration&&(Hr=Hr||e._hash||!1,Hr)){const f=i0(s.map(h=>h.tag._h));if(Hr===f)return;Hr=f}const o=e._popSideEffectQueue();e.headEntries().map(f=>f._sde).forEach(f=>{Object.entries(f).forEach(([h,p])=>{o[h]=p})});const i=(f,h,p)=>{h=`${f.renderId}:${h}`,f.entry&&(f.entry._sde[h]=p),delete o[h]};function a(f){const h=e.headEntries().find(v=>v._i===f._e),p={renderId:f._d||Fa(f),$el:null,shouldRender:!0,tag:f,entry:h,markSideEffect:(v,w)=>i(p,v,w)};return p}const l=[],c={body:[],head:[]},d=f=>{e._elMap[f.renderId]=f.$el,l.push(f),i(f,"el",()=>{f.$el?.remove(),delete e._elMap[f.renderId]})};for(const f of s){if(await e.hooks.callHook("dom:beforeRenderTag",f),!f.shouldRender)continue;const{tag:h}=f;if(h.tag==="title"){r.title=h.textContent||"",l.push(f);continue}if(h.tag==="htmlAttrs"||h.tag==="bodyAttrs"){f.$el=r[h.tag==="htmlAttrs"?"documentElement":"body"],mo(f,!1,i),l.push(f);continue}if(f.$el=e._elMap[f.renderId],!f.$el&&h.key&&(f.$el=r.querySelector(`${h.tagPosition?.startsWith("body")?"body":"head"} > ${h.tag}[data-h-${h._h}]`)),f.$el){f.tag._d&&mo(f),d(f);continue}c[h.tagPosition?.startsWith("body")?"body":"head"].push(f)}const u={bodyClose:void 0,bodyOpen:void 0,head:void 0};Object.entries(c).forEach(([f,h])=>{if(!h.length)return;const p=r?.[f]?.children;if(p){for(const v of[...p].reverse()){const w=v.tagName.toLowerCase();if(!Zh.includes(w))continue;const _=v.getAttributeNames().reduce((T,m)=>({...T,[m]:v.getAttribute(m)}),{}),g={tag:w,props:_};v.innerHTML&&(g.innerHTML=v.innerHTML);const b=Fa(g);let y=h.findIndex(T=>T?.renderId===b);if(y===-1){const T=tp(g);y=h.findIndex(m=>m?.tag._d&&m.tag._d===T)}if(y!==-1){const T=h[y];T.$el=v,mo(T),d(T),delete h[y]}}h.forEach(v=>{const w=v.tag.tagPosition||"head";u[w]=u[w]||r.createDocumentFragment(),v.$el||(v.$el=r.createElement(v.tag.tag),mo(v,!0)),u[w].appendChild(v.$el),d(v)})}}),u.head&&r.head.appendChild(u.head),u.bodyOpen&&r.body.insertBefore(u.bodyOpen,r.body.firstChild),u.bodyClose&&r.body.appendChild(u.bodyClose);for(const f of l)await e.hooks.callHook("dom:renderTag",f);Object.values(o).forEach(f=>f())}let ea=null;async function l0(e,t={}){function n(){return ea=null,a0(e,t)}const r=t.delayFn||(s=>setTimeout(s,10));return ea=ea||new Promise(s=>r(()=>s(n())))}function c0(e){return{hooks:{"entries:updated":function(t){if(typeof e?.document>"u"&&typeof window>"u")return;let n=e?.delayFn;!n&&typeof requestAnimationFrame<"u"&&(n=requestAnimationFrame),l0(t,{document:e?.document||window.document,delayFn:n})}}}}function u0(e){return e?.head.querySelector('meta[name="unhead:ssr"]')?.getAttribute("content")||!1}const mu={base:-1,title:1},gu={critical:-8,high:-1,low:2};function qo(e){let t=10;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props.charset&&(t=-2),e.props["http-equiv"]==="content-security-policy"&&(t=0)):e.tag in mu&&(t=mu[e.tag]),typeof n=="string"&&n in gu?t+gu[n]:t)}const f0=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}];function d0(){return{hooks:{"tags:resolve":e=>{const t=n=>e.tags.find(r=>r._d===n)?._p;for(const{prefix:n,offset:r}of f0)for(const s of e.tags.filter(o=>typeof o.tagPriority=="string"&&o.tagPriority.startsWith(n))){const o=t(s.tagPriority.replace(n,""));typeof o<"u"&&(s._p=o+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>qo(n)-qo(r))}}}}function h0(){return{hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(s=>s.tag==="titleTemplate");const r=t.findIndex(s=>s.tag==="title");if(r!==-1&&n!==-1){const s=pu(t[n].textContent,t[r].textContent);s!==null?t[r].textContent=s||t[r].textContent:delete t[r]}else if(n!==-1){const s=pu(t[n].textContent);s!==null&&(t[n].textContent=s,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}}}function p0(){return{hooks:{"tag:normalise":function({tag:e}){typeof e.props.body<"u"&&(e.tagPosition="bodyClose",delete e.props.body)}}}}const m0=["link","style","script","noscript"];function g0(){return{hooks:{"tag:normalise":({tag:e,resolvedOptions:t})=>{t.experimentalHashHydration===!0&&(e._h=Fa(e)),e.key&&m0.includes(e.tag)&&(e._h=ep(e.key),e.props[`data-h-${e._h}`]="")}}}}const vu=["script","link","bodyAttrs"];function v0(){const e=(t,n)=>{const r={},s={};Object.entries(n.props).forEach(([i,a])=>{i.startsWith("on")&&typeof a=="function"?s[i]=a:r[i]=a});let o;return t==="dom"&&n.tag==="script"&&typeof r.src=="string"&&typeof s.onload<"u"&&(o=r.src,delete r.src),{props:r,eventHandlers:s,delayedSrc:o}};return{hooks:{"ssr:render":function(t){t.tags=t.tags.map(n=>(!vu.includes(n.tag)||!Object.entries(n.props).find(([r,s])=>r.startsWith("on")&&typeof s=="function")||(n.props=e("ssr",n).props),n))},"dom:beforeRenderTag":function(t){if(!vu.includes(t.tag.tag)||!Object.entries(t.tag.props).find(([o,i])=>o.startsWith("on")&&typeof i=="function"))return;const{props:n,eventHandlers:r,delayedSrc:s}=e("dom",t.tag);Object.keys(r).length&&(t.tag.props=n,t.tag._eventHandlers=r,t.tag._delayedSrc=s)},"dom:renderTag":function(t){const n=t.$el;if(!t.tag._eventHandlers||!n)return;const r=t.tag.tag==="bodyAttrs"&&typeof window<"u"?window:n;Object.entries(t.tag._eventHandlers).forEach(([s,o])=>{const i=`${t.tag._d||t.tag._p}:${s}`,a=s.slice(2).toLowerCase(),l=`data-h-${a}`;if(t.markSideEffect(i,()=>{}),n.hasAttribute(l))return;const c=o;n.setAttribute(l,""),r.addEventListener(a,c),t.entry&&(t.entry._sde[i]=()=>{r.removeEventListener(a,c),n.removeAttribute(l)})}),t.tag._delayedSrc&&n.setAttribute("src",t.tag._delayedSrc)}}}}const _0=["templateParams","htmlAttrs","bodyAttrs"];function y0(){return{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=tp(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const s=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,o=t[s];if(o){let a=r?.tagDuplicateStrategy;if(!a&&_0.includes(r.tag)&&(a="merge"),a==="merge"){const l=o.props;["class","style"].forEach(c=>{r.props[c]&&l[c]&&(c==="style"&&!l[c].endsWith(";")&&(l[c]+=";"),r.props[c]=`${l[c]} ${r.props[c]}`)}),t[s].props={...l,...r.props};return}else if(r._e===o._e){o._duped=o._duped||[],r._d=`${o._d}:${o._duped.length+1}`,o._duped.push(r);return}else if(qo(r)>qo(o))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Zh.includes(r.tag)&&i===0){delete t[s];return}t[s]=r});const n=[];Object.values(t).forEach(r=>{const s=r._duped;delete r._duped,n.push(r),s&&n.push(...s)}),e.tags=n}}}}function go(e,t){function n(o){if(["s","pageTitle"].includes(o))return t.pageTitle;let i;return o.includes(".")?i=o.split(".").reduce((a,l)=>a&&a[l]||void 0,t):i=t[o],typeof i<"u"?i||"":!1}let r=e;try{r=decodeURI(e)}catch{}return(r.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(o=>{const i=n(o.slice(1));typeof i=="string"&&(e=e.replace(new RegExp(`\\${o}(\\W|$)`,"g"),`${i}$1`).trim())}),t.separator&&(e.endsWith(t.separator)&&(e=e.slice(0,-t.separator.length).trim()),e.startsWith(t.separator)&&(e=e.slice(t.separator.length).trim()),e=e.replace(new RegExp(`\\${t.separator}\\s*\\${t.separator}`,"g"),t.separator)),e}function b0(){return{hooks:{"tags:resolve":e=>{const{tags:t}=e,n=t.find(o=>o.tag==="title")?.textContent,r=t.findIndex(o=>o.tag==="templateParams"),s=r!==-1?t[r].props:{};s.pageTitle=s.pageTitle||n||"";for(const o of t)if(["titleTemplate","title"].includes(o.tag)&&typeof o.textContent=="string")o.textContent=go(o.textContent,s);else if(o.tag==="meta"&&typeof o.props.content=="string")o.props.content=go(o.props.content,s);else if(o.tag==="link"&&typeof o.props.href=="string")o.props.href=go(o.props.href,s);else if(o.tag==="script"&&["application/json","application/ld+json"].includes(o.props.type)&&typeof o.innerHTML=="string")try{o.innerHTML=JSON.stringify(JSON.parse(o.innerHTML),(i,a)=>typeof a=="string"?go(a,s):a)}catch{}e.tags=t.filter(o=>o.tag!=="templateParams")}}}}const w0=typeof window<"u";let np;function E0(e){return np=e}function x0(){return np}async function T0(e,t){const n={tag:e,props:{}};return t instanceof Promise&&(t=await t),e==="templateParams"?(n.props=t,n):["title","titleTemplate"].includes(e)?(t&&typeof t=="object"?(n.textContent=t.textContent,t.tagPriority&&(n.tagPriority=t.tagPriority)):n.textContent=t,n):typeof t=="string"?["script","noscript","style"].includes(e)?(e==="script"&&(/^(https?:)?\/\//.test(t)||t.startsWith("/"))?n.props.src=t:n.innerHTML=t,n):!1:(n.props=await k0(e,{...t}),n.props.children&&(n.props.innerHTML=n.props.children),delete n.props.children,Object.keys(n.props).filter(r=>o0.includes(r)).forEach(r=>{(!["innerHTML","textContent"].includes(r)||Qh.includes(n.tag))&&(n[r]=n.props[r]),delete n.props[r]}),["innerHTML","textContent"].forEach(r=>{if(n.tag==="script"&&typeof n[r]=="string"&&["application/ld+json","application/json"].includes(n.props.type))try{n[r]=JSON.parse(n[r])}catch{n[r]=""}typeof n[r]=="object"&&(n[r]=JSON.stringify(n[r]))}),n.props.class&&(n.props.class=$0(n.props.class)),n.props.content&&Array.isArray(n.props.content)?n.props.content.map(r=>({...n,props:{...n.props,content:r}})):n)}function $0(e){return typeof e=="object"&&!Array.isArray(e)&&(e=Object.keys(e).filter(t=>e[t])),(Array.isArray(e)?e.join(" "):e).split(" ").filter(t=>t.trim()).filter(Boolean).join(" ")}async function k0(e,t){for(const n of Object.keys(t)){const r=n.startsWith("data-");t[n]instanceof Promise&&(t[n]=await t[n]),String(t[n])==="true"?t[n]=r?"true":"":String(t[n])==="false"&&(r?t[n]="false":delete t[n])}return t}const S0=10;async function A0(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&r0.includes(n)).forEach(([n,r])=>{const s=n0(r);t.push(...s.map(o=>T0(n,o)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,n._p=(e._i<<S0)+r,n))}function R0(){return[y0(),d0(),b0(),h0(),g0(),v0(),p0()]}function P0(e={}){return[c0({document:e?.document,delayFn:e?.domDelayFn})]}function N0(e={}){const t=O0({...e,plugins:[...P0(e),...e?.plugins||[]]});return e.experimentalHashHydration&&t.resolvedOptions.document&&(t._hash=u0(t.resolvedOptions.document)),E0(t),t}function O0(e={}){let t=[],n={},r=0;const s=Yh();e?.hooks&&s.addHooks(e.hooks),e.plugins=[...R0(),...e?.plugins||[]],e.plugins.forEach(a=>a.hooks&&s.addHooks(a.hooks)),e.document=e.document||(w0?document:void 0);const o=()=>s.callHook("entries:updated",i),i={resolvedOptions:e,headEntries(){return t},get hooks(){return s},use(a){a.hooks&&s.addHooks(a.hooks)},push(a,l){const c={_i:r++,input:a,_sde:{}};return l?.mode&&(c._m=l?.mode),l?.transform&&(c._t=l?.transform),t.push(c),o(),{dispose(){t=t.filter(d=>d._i!==c._i?!0:(n={...n,...d._sde||{}},d._sde={},o(),!1))},patch(d){t=t.map(u=>(u._i===c._i&&(c.input=u.input=d,o()),u))}}},async resolveTags(){const a={tags:[],entries:[...t]};await s.callHook("entries:resolve",a);for(const l of a.entries){const c=l._t||(d=>d);if(l.resolvedInput=c(l.resolvedInput||l.input),l.resolvedInput)for(const d of await A0(l)){const u={tag:d,entry:l,resolvedOptions:i.resolvedOptions};await s.callHook("tag:normalise",u),a.tags.push(u.tag)}}return await s.callHook("tags:resolve",a),a.tags},_popSideEffectQueue(){const a={...n};return n={},a},_elMap:{}};return i.hooks.callHook("init",i),i}function L0(e){return typeof e=="function"?e():se(e)}function Ko(e,t=""){if(e instanceof Promise)return e;const n=L0(e);return!e||!n?n:Array.isArray(n)?n.map(r=>Ko(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,s])=>r==="titleTemplate"||r.startsWith("on")?[r,se(s)]:[r,Ko(s,r)])):n}const C0=Sh.startsWith("3"),I0=typeof window<"u",rp="usehead";function Xl(){return Ot()&<(rp)||x0()}function j0(e){return{install(n){C0&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(rp,e))}}.install}function M0(e={}){const t=N0({...e,domDelayFn:n=>setTimeout(()=>wt(()=>n()),10),plugins:[D0(),...e?.plugins||[]]});return t.install=j0(t),t}function D0(){return{hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=Ko(t.input)}}}}function F0(e,t={}){const n=Xl(),r=ee(!1),s=ee({});vr(()=>{s.value=r.value?{}:Ko(e)});const o=n.push(s.value,t);return Be(s,a=>{o.patch(a)}),Ot()&&(Lr(()=>{o.dispose()}),oh(()=>{r.value=!0}),sh(()=>{r.value=!1})),o}function B0(e,t={}){return Xl().push(e,t)}function H0(e,t={}){const n=Xl();if(n){const r=I0||!!n.resolvedOptions?.document;return t.mode==="server"&&r||t.mode==="client"&&!r?void 0:r?F0(e,t):B0(e,t)}}const U0={meta:[{name:"viewport",content:"width=device-width, initial-scale=1"},{charset:"utf-8"}],link:[],style:[],script:[],noscript:[]},V0=!1,Ba=!1,W0=!1,G0="__nuxt",z0=!0;function _u(e,t={}){const n=q0(e,t),r=Pe(),s=r._payloadCache=r._payloadCache||{};return s[n]||(s[n]=sp(n).then(o=>o||(delete s[n],null))),s[n]}const yu="json";function q0(e,t={}){const n=new URL(e,"http://localhost");if(n.search)throw new Error("Payload URL cannot contain search params: "+e);if(n.host!=="localhost"||Cr(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():"");return Qs(Kl().app.baseURL,n.pathname,r?`_payload.${r}.${yu}`:`_payload.${yu}`)}async function sp(e){try{return z0?op(await fetch(e).then(t=>t.text())):await Re(()=>import(e),[],import.meta.url).then(t=>t.default||t)}catch(t){console.warn("[nuxt] Cannot load payload ",e,t)}return null}function K0(){return!!Pe().payload.prerenderedAt}let vo=null;async function X0(){if(vo)return vo;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=op(e.textContent||""),n=e.dataset.src?await sp(e.dataset.src):void 0;return vo={...t,...n,...window.__NUXT__},vo}function op(e){return e0(e,Pe()._payloadRevivers)}function Y0(e,t){Pe()._payloadRevivers[e]=t}function ta(e){return e!==null&&typeof e=="object"}function Ha(e,t,n=".",r){if(!ta(t))return Ha(e,{},n,r);const s=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(r&&r(s,o,i,n)||(Array.isArray(i)&&Array.isArray(s[o])?s[o]=[...i,...s[o]]:ta(i)&&ta(s[o])?s[o]=Ha(i,s[o],(n?`${n}.`:"")+o.toString(),r):s[o]=i))}return s}function J0(e){return(...t)=>t.reduce((n,r)=>Ha(n,r,"",e),{})}const Q0=J0();class Ua extends Error{constructor(){super(...arguments),this.statusCode=500,this.fatal=!1,this.unhandled=!1}toJSON(){const t={message:this.message,statusCode:Wa(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=ip(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}Ua.__h3_error__=!0;function Va(e){if(typeof e=="string")return new Ua(e);if(Z0(e))return e;const t=new Ua(e.message??e.statusMessage??"",e.cause?{cause:e.cause}:void 0);if("stack"in e)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=Wa(e.statusCode,t.statusCode):e.status&&(t.statusCode=Wa(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;ip(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 Z0(e){return e?.constructor?.__h3_error__===!0}const eb=/[^\u0009\u0020-\u007E]/g;function ip(e=""){return e.replace(eb,"")}function Wa(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const tb="$s";function Ir(...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 s=tb+n,o=Pe(),i=mi(o.payload.state,s);if(i.value===void 0&&r){const a=r();if(De(a))return o.payload.state[s]=a,a;i.value=a}return i}const st=()=>Pe()?.$router,Ti=()=>hh()?lt("_route",Pe()._route):Pe()._route;/*! @__NO_SIDE_EFFECTS__ */const nb=()=>{try{if(Pe()._processingMiddleware)return!0}catch{return!0}return!1},ap=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:Wh(e.path||"/",e.query||{})+(e.hash||"");if(t?.open){{const{target:a="_blank",windowFeatures:l={}}=t.open,c=Object.entries(l).filter(([d,u])=>u!==void 0).map(([d,u])=>`${d.toLowerCase()}=${u}`).join(", ");open(n,a,c)}return Promise.resolve()}const r=t?.external||Cr(n,{acceptRelative:!0});if(r&&!t?.external)throw new Error("Navigating to external URL is not allowed by default. Use `navigateTo (url, { external: true })`.");if(r&&Zs(n).protocol==="script:")throw new Error("Cannot navigate to an URL with script protocol.");const s=nb();if(!r&&s)return e;const o=st(),i=Pe();return r?(t?.replace?location.replace(n):location.href=n,s?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t?.replace?o.replace(e):o.push(e)},$i=()=>mi(Pe().payload,"error"),ir=e=>{const t=ki(e);try{const n=Pe(),r=$i();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},rb=async(e={})=>{const t=Pe(),n=$i();t.callHook("app:error:cleared",e),e.redirect&&await st().replace(e.redirect),n.value=null},sb=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),ki=e=>{const t=Va(e);return t.__nuxt_error=!0,t},bu={NuxtError:e=>ki(e),EmptyShallowRef:e=>zn(e==="_"?void 0:e==="0n"?BigInt(0):JSON.parse(e)),EmptyRef:e=>ee(e==="_"?void 0:e==="0n"?BigInt(0):JSON.parse(e)),ShallowRef:e=>zn(e),ShallowReactive:e=>kl(e),Ref:e=>ee(e),Reactive:e=>ut(e)},ob=Lt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in bu)Y0(r,bu[r]);Object.assign(e.payload,([t,n]=zo(()=>e.runWithContext(X0)),t=await t,n(),t)),window.__NUXT__=e.payload}});/*!
|
|
2
|
-
* vue-router v4.2.2
|
|
3
|
-
* (c) 2023 Eduardo San Martin Morote
|
|
4
|
-
* @license MIT
|
|
5
|
-
*/const or=typeof window<"u";function ib(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Ce=Object.assign;function na(e,t){const n={};for(const r in t){const s=t[r];n[r]=Pt(s)?s.map(e):e(s)}return n}const $s=()=>{},Pt=Array.isArray,ab=/\/$/,lb=e=>e.replace(ab,"");function ra(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,a>-1?a:t.length),s=e(o)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=db(r??t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function cb(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function wu(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ub(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&Tr(t.matched[r],n.matched[s])&&lp(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Tr(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function lp(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!fb(e[n],t[n]))return!1;return!0}function fb(e,t){return Pt(e)?Eu(e,t):Pt(t)?Eu(t,e):e===t}function Eu(e,t){return Pt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function db(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var Vs;(function(e){e.pop="pop",e.push="push"})(Vs||(Vs={}));var ks;(function(e){e.back="back",e.forward="forward",e.unknown=""})(ks||(ks={}));function hb(e){if(!e)if(or){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),lb(e)}const pb=/^[^#]+#/;function mb(e,t){return e.replace(pb,"#")+t}function gb(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Si=()=>({left:window.pageXOffset,top:window.pageYOffset});function vb(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=gb(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function xu(e,t){return(history.state?history.state.position-t:-1)+e}const Ga=new Map;function _b(e,t){Ga.set(e,t)}function yb(e){const t=Ga.get(e);return Ga.delete(e),t}let bb=()=>location.protocol+"//"+location.host;function cp(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),wu(l,"")}return wu(n,e)+r+s}function wb(e,t,n,r){let s=[],o=[],i=null;const a=({state:f})=>{const h=cp(e,location),p=n.value,v=t.value;let w=0;if(f){if(n.value=h,t.value=f,i&&i===p){i=null;return}w=v?f.position-v.position:0}else r(h);s.forEach(_=>{_(n.value,p,{delta:w,type:Vs.pop,direction:w?w>0?ks.forward:ks.back:ks.unknown})})};function l(){i=n.value}function c(f){s.push(f);const h=()=>{const p=s.indexOf(f);p>-1&&s.splice(p,1)};return o.push(h),h}function d(){const{history:f}=window;f.state&&f.replaceState(Ce({},f.state,{scroll:Si()}),"")}function u(){for(const f of o)f();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:c,destroy:u}}function Tu(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?Si():null}}function Eb(e){const{history:t,location:n}=window,r={value:cp(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,d){const u=e.indexOf("#"),f=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+l:bb()+e+l;try{t[d?"replaceState":"pushState"](c,"",f),s.value=c}catch(h){console.error(h),n[d?"replace":"assign"](f)}}function i(l,c){const d=Ce({},t.state,Tu(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});o(l,d,!0),r.value=l}function a(l,c){const d=Ce({},s.value,t.state,{forward:l,scroll:Si()});o(d.current,d,!0);const u=Ce({},Tu(r.value,l,null),{position:d.position+1},c);o(l,u,!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function up(e){e=hb(e);const t=Eb(e),n=wb(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=Ce({location:"",base:e,go:r,createHref:mb.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function xb(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),up(e)}function Tb(e){return typeof e=="string"||e&&typeof e=="object"}function fp(e){return typeof e=="string"||typeof e=="symbol"}const Dt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},dp=Symbol("");var $u;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})($u||($u={}));function $r(e,t){return Ce(new Error,{type:e,[dp]:!0},t)}function qt(e,t){return e instanceof Error&&dp in e&&(t==null||!!(e.type&t))}const ku="[^/]+?",$b={sensitive:!1,strict:!1,start:!0,end:!0},kb=/[.+*?^${}()[\]/\\]/g;function Sb(e,t){const n=Ce({},$b,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const d=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let u=0;u<c.length;u++){const f=c[u];let h=40+(n.sensitive?.25:0);if(f.type===0)u||(s+="/"),s+=f.value.replace(kb,"\\$&"),h+=40;else if(f.type===1){const{value:p,repeatable:v,optional:w,regexp:_}=f;o.push({name:p,repeatable:v,optional:w});const g=_||ku;if(g!==ku){h+=10;try{new RegExp(`(${g})`)}catch(y){throw new Error(`Invalid custom RegExp for param "${p}" (${g}): `+y.message)}}let b=v?`((?:${g})(?:/(?:${g}))*)`:`(${g})`;u||(b=w&&c.length<2?`(?:/${b})`:"/"+b),w&&(b+="?"),s+=b,h+=20,w&&(h+=-8),v&&(h+=-20),g===".*"&&(h+=-50)}d.push(h)}r.push(d)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const i=new RegExp(s,n.sensitive?"":"i");function a(c){const d=c.match(i),u={};if(!d)return null;for(let f=1;f<d.length;f++){const h=d[f]||"",p=o[f-1];u[p.name]=h&&p.repeatable?h.split("/"):h}return u}function l(c){let d="",u=!1;for(const f of e){(!u||!d.endsWith("/"))&&(d+="/"),u=!1;for(const h of f)if(h.type===0)d+=h.value;else if(h.type===1){const{value:p,repeatable:v,optional:w}=h,_=p in c?c[p]:"";if(Pt(_)&&!v)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const g=Pt(_)?_.join("/"):_;if(!g)if(w)f.length<2&&(d.endsWith("/")?d=d.slice(0,-1):u=!0);else throw new Error(`Missing required param "${p}"`);d+=g}}return d||"/"}return{re:i,score:r,keys:o,parse:a,stringify:l}}function Ab(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function Rb(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=Ab(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Su(r))return 1;if(Su(s))return-1}return s.length-r.length}function Su(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Pb={type:0,value:""},Nb=/[a-zA-Z0-9_]/;function Ob(e){if(!e)return[[]];if(e==="/")return[[Pb]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,r=n;const s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,c="",d="";function u(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&u(),i()):l===":"?(u(),n=1):f();break;case 4:f(),n=r;break;case 1:l==="("?n=2:Nb.test(l)?f():(u(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:u(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),u(),i(),s}function Lb(e,t,n){const r=Sb(Ob(e.path),n),s=Ce(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function Cb(e,t){const n=[],r=new Map;t=Pu({strict:!1,end:!0,sensitive:!1},t);function s(d){return r.get(d)}function o(d,u,f){const h=!f,p=Ib(d);p.aliasOf=f&&f.record;const v=Pu(t,d),w=[p];if("alias"in d){const b=typeof d.alias=="string"?[d.alias]:d.alias;for(const y of b)w.push(Ce({},p,{components:f?f.record.components:p.components,path:y,aliasOf:f?f.record:p}))}let _,g;for(const b of w){const{path:y}=b;if(u&&y[0]!=="/"){const T=u.record.path,m=T[T.length-1]==="/"?"":"/";b.path=u.record.path+(y&&m+y)}if(_=Lb(b,u,v),f?f.alias.push(_):(g=g||_,g!==_&&g.alias.push(_),h&&d.name&&!Ru(_)&&i(d.name)),p.children){const T=p.children;for(let m=0;m<T.length;m++)o(T[m],_,f&&f.children[m])}f=f||_,(_.record.components&&Object.keys(_.record.components).length||_.record.name||_.record.redirect)&&l(_)}return g?()=>{i(g)}:$s}function i(d){if(fp(d)){const u=r.get(d);u&&(r.delete(d),n.splice(n.indexOf(u),1),u.children.forEach(i),u.alias.forEach(i))}else{const u=n.indexOf(d);u>-1&&(n.splice(u,1),d.record.name&&r.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function a(){return n}function l(d){let u=0;for(;u<n.length&&Rb(d,n[u])>=0&&(d.record.path!==n[u].record.path||!hp(d,n[u]));)u++;n.splice(u,0,d),d.record.name&&!Ru(d)&&r.set(d.record.name,d)}function c(d,u){let f,h={},p,v;if("name"in d&&d.name){if(f=r.get(d.name),!f)throw $r(1,{location:d});v=f.record.name,h=Ce(Au(u.params,f.keys.filter(g=>!g.optional).map(g=>g.name)),d.params&&Au(d.params,f.keys.map(g=>g.name))),p=f.stringify(h)}else if("path"in d)p=d.path,f=n.find(g=>g.re.test(p)),f&&(h=f.parse(p),v=f.record.name);else{if(f=u.name?r.get(u.name):n.find(g=>g.re.test(u.path)),!f)throw $r(1,{location:d,currentLocation:u});v=f.record.name,h=Ce({},u.params,d.params),p=f.stringify(h)}const w=[];let _=f;for(;_;)w.unshift(_.record),_=_.parent;return{name:v,path:p,params:h,matched:w,meta:Mb(w)}}return e.forEach(d=>o(d)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function Au(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Ib(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:jb(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function jb(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function Ru(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Mb(e){return e.reduce((t,n)=>Ce(t,n.meta),{})}function Pu(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function hp(e,t){return t.children.some(n=>n===e||hp(e,n))}const pp=/#/g,Db=/&/g,Fb=/\//g,Bb=/=/g,Hb=/\?/g,mp=/\+/g,Ub=/%5B/g,Vb=/%5D/g,gp=/%5E/g,Wb=/%60/g,vp=/%7B/g,Gb=/%7C/g,_p=/%7D/g,zb=/%20/g;function Yl(e){return encodeURI(""+e).replace(Gb,"|").replace(Ub,"[").replace(Vb,"]")}function qb(e){return Yl(e).replace(vp,"{").replace(_p,"}").replace(gp,"^")}function za(e){return Yl(e).replace(mp,"%2B").replace(zb,"+").replace(pp,"%23").replace(Db,"%26").replace(Wb,"`").replace(vp,"{").replace(_p,"}").replace(gp,"^")}function Kb(e){return za(e).replace(Bb,"%3D")}function Xb(e){return Yl(e).replace(pp,"%23").replace(Hb,"%3F")}function Yb(e){return e==null?"":Xb(e).replace(Fb,"%2F")}function Xo(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Jb(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(mp," "),i=o.indexOf("="),a=Xo(i<0?o:o.slice(0,i)),l=i<0?null:Xo(o.slice(i+1));if(a in t){let c=t[a];Pt(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function Nu(e){let t="";for(let n in e){const r=e[n];if(n=Kb(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Pt(r)?r.map(o=>o&&za(o)):[r&&za(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Qb(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Pt(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const Zb=Symbol(""),Ou=Symbol(""),Jl=Symbol(""),Ql=Symbol(""),qa=Symbol("");function Ur(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function mn(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,a)=>{const l=u=>{u===!1?a($r(4,{from:n,to:t})):u instanceof Error?a(u):Tb(u)?a($r(2,{from:t,to:u})):(o&&r.enterCallbacks[s]===o&&typeof u=="function"&&o.push(u),i())},c=e.call(r&&r.instances[s],t,n,l);let d=Promise.resolve(c);e.length<3&&(d=d.then(l)),d.catch(u=>a(u))})}function sa(e,t,n,r){const s=[];for(const o of e)for(const i in o.components){let a=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(e1(a)){const c=(a.__vccOpts||a)[t];c&&s.push(mn(c,n,r,o,i))}else{let l=a();s.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const d=ib(c)?c.default:c;o.components[i]=d;const f=(d.__vccOpts||d)[t];return f&&mn(f,n,r,o,i)()}))}}return s}function e1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Lu(e){const t=lt(Jl),n=lt(Ql),r=pe(()=>t.resolve(se(e.to))),s=pe(()=>{const{matched:l}=r.value,{length:c}=l,d=l[c-1],u=n.matched;if(!d||!u.length)return-1;const f=u.findIndex(Tr.bind(null,d));if(f>-1)return f;const h=Cu(l[c-2]);return c>1&&Cu(d)===h&&u[u.length-1].path!==h?u.findIndex(Tr.bind(null,l[c-2])):f}),o=pe(()=>s.value>-1&&s1(n.params,r.value.params)),i=pe(()=>s.value>-1&&s.value===n.matched.length-1&&lp(n.params,r.value.params));function a(l={}){return r1(l)?t[se(e.replace)?"replace":"push"](se(e.to)).catch($s):Promise.resolve()}return{route:r,href:pe(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const t1=Oe({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Lu,setup(e,{slots:t}){const n=ut(Lu(e)),{options:r}=lt(Jl),s=pe(()=>({[Iu(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Iu(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ye("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),n1=t1;function r1(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function s1(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Pt(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Cu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Iu=(e,t,n)=>e??t??n,o1=Oe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=lt(qa),s=pe(()=>e.route||r.value),o=lt(Ou,0),i=pe(()=>{let c=se(o);const{matched:d}=s.value;let u;for(;(u=d[c])&&!u.components;)c++;return c}),a=pe(()=>s.value.matched[i.value]);Vn(Ou,pe(()=>i.value+1)),Vn(Zb,a),Vn(qa,s);const l=ee();return Be(()=>[l.value,a.value,e.name],([c,d,u],[f,h,p])=>{d&&(d.instances[u]=c,h&&h!==d&&c&&c===f&&(d.leaveGuards.size||(d.leaveGuards=h.leaveGuards),d.updateGuards.size||(d.updateGuards=h.updateGuards))),c&&d&&(!h||!Tr(d,h)||!f)&&(d.enterCallbacks[u]||[]).forEach(v=>v(c))},{flush:"post"}),()=>{const c=s.value,d=e.name,u=a.value,f=u&&u.components[d];if(!f)return ju(n.default,{Component:f,route:c});const h=u.props[d],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,w=Ye(f,Ce({},p,t,{onVnodeUnmounted:_=>{_.component.isUnmounted&&(u.instances[d]=null)},ref:l}));return ju(n.default,{Component:w,route:c})||w}}});function ju(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const yp=o1;function i1(e){const t=Cb(e.routes,e),n=e.parseQuery||Jb,r=e.stringifyQuery||Nu,s=e.history,o=Ur(),i=Ur(),a=Ur(),l=zn(Dt);let c=Dt;or&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=na.bind(null,L=>""+L),u=na.bind(null,Yb),f=na.bind(null,Xo);function h(L,J){let W,le;return fp(L)?(W=t.getRecordMatcher(L),le=J):le=L,t.addRoute(le,W)}function p(L){const J=t.getRecordMatcher(L);J&&t.removeRoute(J)}function v(){return t.getRoutes().map(L=>L.record)}function w(L){return!!t.getRecordMatcher(L)}function _(L,J){if(J=Ce({},J||l.value),typeof L=="string"){const C=ra(n,L,J.path),D=t.resolve({path:C.path},J),H=s.createHref(C.fullPath);return Ce(C,D,{params:f(D.params),hash:Xo(C.hash),redirectedFrom:void 0,href:H})}let W;if("path"in L)W=Ce({},L,{path:ra(n,L.path,J.path).path});else{const C=Ce({},L.params);for(const D in C)C[D]==null&&delete C[D];W=Ce({},L,{params:u(C)}),J.params=u(J.params)}const le=t.resolve(W,J),xe=L.hash||"";le.params=d(f(le.params));const N=cb(r,Ce({},L,{hash:qb(xe),path:le.path})),O=s.createHref(N);return Ce({fullPath:N,hash:xe,query:r===Nu?Qb(L.query):L.query||{}},le,{redirectedFrom:void 0,href:O})}function g(L){return typeof L=="string"?ra(n,L,l.value.path):Ce({},L)}function b(L,J){if(c!==L)return $r(8,{from:J,to:L})}function y(L){return $(L)}function T(L){return y(Ce(g(L),{replace:!0}))}function m(L){const J=L.matched[L.matched.length-1];if(J&&J.redirect){const{redirect:W}=J;let le=typeof W=="function"?W(L):W;return typeof le=="string"&&(le=le.includes("?")||le.includes("#")?le=g(le):{path:le},le.params={}),Ce({query:L.query,hash:L.hash,params:"path"in le?{}:L.params},le)}}function $(L,J){const W=c=_(L),le=l.value,xe=L.state,N=L.force,O=L.replace===!0,C=m(W);if(C)return $(Ce(g(C),{state:typeof C=="object"?Ce({},xe,C.state):xe,force:N,replace:O}),J||W);const D=W;D.redirectedFrom=J;let H;return!N&&ub(r,le,W)&&(H=$r(16,{to:D,from:le}),te(le,le,!0,!1)),(H?Promise.resolve(H):k(D,le)).catch(U=>qt(U)?qt(U,2)?U:ae(U):B(U,D,le)).then(U=>{if(U){if(qt(U,2))return $(Ce({replace:O},g(U.to),{state:typeof U.to=="object"?Ce({},xe,U.to.state):xe,force:N}),J||D)}else U=A(D,le,!0,O,xe);return S(D,le,U),U})}function x(L,J){const W=b(L,J);return W?Promise.reject(W):Promise.resolve()}function E(L){const J=fe.values().next().value;return J&&typeof J.runWithContext=="function"?J.runWithContext(L):L()}function k(L,J){let W;const[le,xe,N]=a1(L,J);W=sa(le.reverse(),"beforeRouteLeave",L,J);for(const C of le)C.leaveGuards.forEach(D=>{W.push(mn(D,L,J))});const O=x.bind(null,L,J);return W.push(O),Ee(W).then(()=>{W=[];for(const C of o.list())W.push(mn(C,L,J));return W.push(O),Ee(W)}).then(()=>{W=sa(xe,"beforeRouteUpdate",L,J);for(const C of xe)C.updateGuards.forEach(D=>{W.push(mn(D,L,J))});return W.push(O),Ee(W)}).then(()=>{W=[];for(const C of L.matched)if(C.beforeEnter&&!J.matched.includes(C))if(Pt(C.beforeEnter))for(const D of C.beforeEnter)W.push(mn(D,L,J));else W.push(mn(C.beforeEnter,L,J));return W.push(O),Ee(W)}).then(()=>(L.matched.forEach(C=>C.enterCallbacks={}),W=sa(N,"beforeRouteEnter",L,J),W.push(O),Ee(W))).then(()=>{W=[];for(const C of i.list())W.push(mn(C,L,J));return W.push(O),Ee(W)}).catch(C=>qt(C,8)?C:Promise.reject(C))}function S(L,J,W){for(const le of a.list())E(()=>le(L,J,W))}function A(L,J,W,le,xe){const N=b(L,J);if(N)return N;const O=J===Dt,C=or?history.state:{};W&&(le||O?s.replace(L.fullPath,Ce({scroll:O&&C&&C.scroll},xe)):s.push(L.fullPath,xe)),l.value=L,te(L,J,W,O),ae()}let R;function P(){R||(R=s.listen((L,J,W)=>{if(!_e.listening)return;const le=_(L),xe=m(le);if(xe){$(Ce(xe,{replace:!0}),le).catch($s);return}c=le;const N=l.value;or&&_b(xu(N.fullPath,W.delta),Si()),k(le,N).catch(O=>qt(O,12)?O:qt(O,2)?($(O.to,le).then(C=>{qt(C,20)&&!W.delta&&W.type===Vs.pop&&s.go(-1,!1)}).catch($s),Promise.reject()):(W.delta&&s.go(-W.delta,!1),B(O,le,N))).then(O=>{O=O||A(le,N,!1),O&&(W.delta&&!qt(O,8)?s.go(-W.delta,!1):W.type===Vs.pop&&qt(O,20)&&s.go(-1,!1)),S(le,N,O)}).catch($s)}))}let I=Ur(),j=Ur(),F;function B(L,J,W){ae(L);const le=j.list();return le.length?le.forEach(xe=>xe(L,J,W)):console.error(L),Promise.reject(L)}function z(){return F&&l.value!==Dt?Promise.resolve():new Promise((L,J)=>{I.add([L,J])})}function ae(L){return F||(F=!L,P(),I.list().forEach(([J,W])=>L?W(L):J()),I.reset()),L}function te(L,J,W,le){const{scrollBehavior:xe}=e;if(!or||!xe)return Promise.resolve();const N=!W&&yb(xu(L.fullPath,0))||(le||!W)&&history.state&&history.state.scroll||null;return wt().then(()=>xe(L,J,N)).then(O=>O&&vb(O)).catch(O=>B(O,L,J))}const re=L=>s.go(L);let de;const fe=new Set,_e={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,hasRoute:w,getRoutes:v,resolve:_,options:e,push:y,replace:T,go:re,back:()=>re(-1),forward:()=>re(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:j.add,isReady:z,install(L){const J=this;L.component("RouterLink",n1),L.component("RouterView",yp),L.config.globalProperties.$router=J,Object.defineProperty(L.config.globalProperties,"$route",{enumerable:!0,get:()=>se(l)}),or&&!de&&l.value===Dt&&(de=!0,y(s.location).catch(xe=>{}));const W={};for(const xe in Dt)W[xe]=pe(()=>l.value[xe]);L.provide(Jl,J),L.provide(Ql,ut(W)),L.provide(qa,l);const le=L.unmount;fe.add(L),L.unmount=function(){fe.delete(L),fe.size<1&&(c=Dt,R&&R(),R=null,l.value=Dt,de=!1,F=!1),le()}}};function Ee(L){return L.reduce((J,W)=>J.then(()=>E(W)),Promise.resolve())}return _e}function a1(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(c=>Tr(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>Tr(c,l))||s.push(l))}return[n,r,s]}function l1(){return lt(Ql)}const Vr={layout:"none"},Wr={layout:"none"},Ka=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),c1=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),u1=e=>{const t=Pe();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Ka(e)}):Ka(e)},f1=()=>null;function bp(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,r,s={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");s.server=s.server??!0,s.default=s.default??f1,s.lazy=s.lazy??!1,s.immediate=s.immediate??!0;const o=Pe(),i=()=>o.isHydrating?o.payload.data[n]:o.static.data[n],a=()=>i()!==void 0;o._asyncData[n]||(o._asyncData[n]={data:ee(i()??s.default()),pending:ee(!a()),error:mi(o.payload._errors,n),status:ee("idle")});const l={...o._asyncData[n]};l.refresh=l.execute=(f={})=>{if(o._asyncDataPromises[n]){if(f.dedupe===!1)return o._asyncDataPromises[n];o._asyncDataPromises[n].cancelled=!0}if((f._initial||o.isHydrating&&f._initial!==!1)&&a())return i();l.pending.value=!0,l.status.value="pending";const h=new Promise((p,v)=>{try{p(r(o))}catch(w){v(w)}}).then(p=>{if(h.cancelled)return o._asyncDataPromises[n];let v=p;s.transform&&(v=s.transform(p)),s.pick&&(v=d1(v,s.pick)),l.data.value=v,l.error.value=null,l.status.value="success"}).catch(p=>{if(h.cancelled)return o._asyncDataPromises[n];l.error.value=p,l.data.value=se(s.default()),l.status.value="error"}).finally(()=>{h.cancelled||(l.pending.value=!1,o.payload.data[n]=l.data.value,l.error.value&&(o.payload._errors[n]=ki(l.error.value)),delete o._asyncDataPromises[n])});return o._asyncDataPromises[n]=h,o._asyncDataPromises[n]};const c=()=>l.refresh({_initial:!0}),d=s.server!==!1&&o.payload.serverRendered;{const f=Ot();if(f&&!f._nuxtOnBeforeMountCbs){f._nuxtOnBeforeMountCbs=[];const p=f._nuxtOnBeforeMountCbs;f&&(ah(()=>{p.forEach(v=>{v()}),p.splice(0,p.length)}),Hs(()=>p.splice(0,p.length)))}d&&o.isHydrating&&a()?(l.pending.value=!1,l.status.value=l.error.value?"error":"success"):f&&(o.payload.serverRendered&&o.isHydrating||s.lazy)&&s.immediate?f._nuxtOnBeforeMountCbs.push(c):s.immediate&&c(),s.watch&&Be(s.watch,()=>l.refresh());const h=o.hook("app:data:refresh",p=>{if(!p||p.includes(n))return l.refresh()});f&&Hs(h)}const u=Promise.resolve(o._asyncDataPromises[n]).then(()=>l);return Object.assign(u,l),u}function d1(e,t){const n={};for(const r of t)n[r]=e[r];return n}const h1={ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1};function p1(e,t={}){t={...h1,...t};const n=wp(t);return n.dispatch(e),n.toString()}function wp(e){const t=[];let n=[];const r=s=>{t.push(s)};return{toString(){return t.join("")},getContext(){return n},dispatch(s){return e.replacer&&(s=e.replacer(s)),this["_"+(s===null?"null":typeof s)](s)},_object(s){if(s&&typeof s.toJSON=="function")return this._object(s.toJSON());const o=/\[object (.*)]/i,i=Object.prototype.toString.call(s),a=o.exec(i),l=a?a[1].toLowerCase():"unknown:["+i.toLowerCase()+"]";let c=null;if((c=n.indexOf(s))>=0)return this.dispatch("[CIRCULAR:"+c+"]");if(n.push(s),typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(s))return r("buffer:"),r(s.toString("utf8"));if(l!=="object"&&l!=="function"&&l!=="asyncfunction")this["_"+l]?this["_"+l](s):e.ignoreUnknown||this._unkown(s,l);else{let d=Object.keys(s);e.unorderedObjects&&(d=d.sort()),e.respectType!==!1&&!Mu(s)&&d.splice(0,0,"prototype","__proto__","letructor"),e.excludeKeys&&(d=d.filter(function(u){return!e.excludeKeys(u)})),r("object:"+d.length+":");for(const u of d)this.dispatch(u),r(":"),e.excludeValues||this.dispatch(s[u]),r(",")}},_array(s,o){if(o=typeof o<"u"?o:e.unorderedArrays!==!1,r("array:"+s.length+":"),!o||s.length<=1){for(const l of s)this.dispatch(l);return}const i=[],a=s.map(l=>{const c=wp(e);return c.dispatch(l),i.push(c.getContext()),c.toString()});return n=[...n,...i],a.sort(),this._array(a,!1)},_date(s){return r("date:"+s.toJSON())},_symbol(s){return r("symbol:"+s.toString())},_unkown(s,o){if(r(o),!!s&&(r(":"),s&&typeof s.entries=="function"))return this._array(Array.from(s.entries()),!0)},_error(s){return r("error:"+s.toString())},_boolean(s){return r("bool:"+s.toString())},_string(s){r("string:"+s.length+":"),r(s.toString())},_function(s){r("fn:"),Mu(s)?this.dispatch("[native]"):this.dispatch(s.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(s.name)),e.respectFunctionProperties&&this._object(s)},_number(s){return r("number:"+s.toString())},_xml(s){return r("xml:"+s.toString())},_null(){return r("Null")},_undefined(){return r("Undefined")},_regexp(s){return r("regex:"+s.toString())},_uint8array(s){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(s))},_uint8clampedarray(s){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(s))},_int8array(s){return r("int8array:"),this.dispatch(Array.prototype.slice.call(s))},_uint16array(s){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(s))},_int16array(s){return r("int16array:"),this.dispatch(Array.prototype.slice.call(s))},_uint32array(s){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(s))},_int32array(s){return r("int32array:"),this.dispatch(Array.prototype.slice.call(s))},_float32array(s){return r("float32array:"),this.dispatch(Array.prototype.slice.call(s))},_float64array(s){return r("float64array:"),this.dispatch(Array.prototype.slice.call(s))},_arraybuffer(s){return r("arraybuffer:"),this.dispatch(new Uint8Array(s))},_url(s){return r("url:"+s.toString())},_map(s){r("map:");const o=[...s];return this._array(o,e.unorderedSets!==!1)},_set(s){r("set:");const o=[...s];return this._array(o,e.unorderedSets!==!1)},_file(s){return r("file:"),this.dispatch([s.name,s.size,s.type,s.lastModfied])},_blob(){if(e.ignoreUnknown)return r("[blob]");throw new Error(`Hashing Blob objects is currently not supported
|
|
6
|
-
Use "options.replacer" or "options.ignoreUnknown"
|
|
7
|
-
`)},_domwindow(){return r("domwindow")},_bigint(s){return r("bigint:"+s.toString())},_process(){return r("process")},_timer(){return r("timer")},_pipe(){return r("pipe")},_tcp(){return r("tcp")},_udp(){return r("udp")},_tty(){return r("tty")},_statwatcher(){return r("statwatcher")},_securecontext(){return r("securecontext")},_connection(){return r("connection")},_zlib(){return r("zlib")},_context(){return r("context")},_nodescript(){return r("nodescript")},_httpparser(){return r("httpparser")},_dataview(){return r("dataview")},_signal(){return r("signal")},_fsevent(){return r("fsevent")},_tlswrap(){return r("tlswrap")}}}function Mu(e){return typeof e!="function"?!1:/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code]\s+}$/i.exec(Function.prototype.toString.call(e))!=null}class kr{constructor(t,n){t=this.words=t||[],this.sigBytes=n!==void 0?n:t.length*4}toString(t){return(t||m1).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const r=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new kr([...this.words])}}const m1={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const r=e.words[n>>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},g1={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;r<e.sigBytes;r+=3){const s=e.words[r>>>2]>>>24-r%4*8&255,o=e.words[r+1>>>2]>>>24-(r+1)%4*8&255,i=e.words[r+2>>>2]>>>24-(r+2)%4*8&255,a=s<<16|o<<8|i;for(let l=0;l<4&&r*8+l*6<e.sigBytes*8;l++)n.push(t.charAt(a>>>6*(3-l)&63))}return n.join("")}},v1={parse(e){const t=e.length,n=[];for(let r=0;r<t;r++)n[r>>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new kr(n,t)}},_1={parse(e){return v1.parse(unescape(encodeURIComponent(e)))}};class y1{constructor(){this._minBufferSize=0,this.blockSize=512/32,this.reset()}reset(){this._data=new kr,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=_1.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,r=this._data.sigBytes/(this.blockSize*4);t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const s=r*this.blockSize,o=Math.min(s*4,this._data.sigBytes);if(s){for(let i=0;i<s;i+=this.blockSize)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,s),this._data.sigBytes-=o}return new kr(n,o)}}class b1 extends y1{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const w1=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],E1=[1116352408,1899447441,-1245643825,-373957723,961987163,1508970993,-1841331548,-1424204075,-670586216,310598401,607225278,1426881987,1925078388,-2132889090,-1680079193,-1046744716,-459576895,-272742522,264347078,604807628,770255983,1249150122,1555081692,1996064986,-1740746414,-1473132947,-1341970488,-1084653625,-958395405,-710438585,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,-2117940946,-1838011259,-1564481375,-1474664885,-1035236496,-949202525,-778901479,-694614492,-200395387,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,-2067236844,-1933114872,-1866530822,-1538233109,-1090935817,-965641998],On=[];class x1 extends b1{constructor(){super(),this.reset()}reset(){super.reset(),this._hash=new kr([...w1])}_doProcessBlock(t,n){const r=this._hash.words;let s=r[0],o=r[1],i=r[2],a=r[3],l=r[4],c=r[5],d=r[6],u=r[7];for(let f=0;f<64;f++){if(f<16)On[f]=t[n+f]|0;else{const b=On[f-15],y=(b<<25|b>>>7)^(b<<14|b>>>18)^b>>>3,T=On[f-2],m=(T<<15|T>>>17)^(T<<13|T>>>19)^T>>>10;On[f]=y+On[f-7]+m+On[f-16]}const h=l&c^~l&d,p=s&o^s&i^o&i,v=(s<<30|s>>>2)^(s<<19|s>>>13)^(s<<10|s>>>22),w=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),_=u+w+h+E1[f]+On[f],g=v+p;u=d,d=c,c=l,l=a+_|0,a=i,i=o,o=s,s=_+g|0}r[0]=r[0]+s|0,r[1]=r[1]+o|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+l|0,r[5]=r[5]+c|0,r[6]=r[6]+d|0,r[7]=r[7]+u|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function T1(e){return new x1().finalize(e).toString(g1)}function $1(e,t={}){const n=typeof e=="string"?e:p1(e,t);return T1(n).slice(0,10)}function k1(e,t,n){const[r={},s]=typeof t=="string"?[{},t]:[t,n],o=r.key||$1([s,se(r.baseURL),typeof e=="string"?e:"",se(r.params||r.query)]);if(!o||typeof o!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+o);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const i=o===s?"$f"+o:o,a=pe(()=>{let y=e;return typeof y=="function"&&(y=y()),se(y)});if(!r.baseURL&&typeof a.value=="string"&&a.value.startsWith("//"))throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:l,lazy:c,default:d,transform:u,pick:f,watch:h,immediate:p,...v}=r,w=ut({...v,cache:typeof r.cache=="boolean"?void 0:r.cache}),_={server:l,lazy:c,default:d,transform:u,pick:f,immediate:p,watch:h===!1?[]:[w,a,...h||[]]};let g;return bp(i,()=>(g?.abort?.(),g=typeof AbortController<"u"?new AbortController:{},typeof a.value=="string"&&a.value.startsWith("/"),(r.$fetch||globalThis.$fetch)(a.value,{signal:g.signal,...w})),_)}async function Ep(e,t=st()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const s=t._preloadPromises=t._preloadPromises||[];if(s.length>4)return Promise.all(s).then(()=>Ep(e,t));t._routePreloaded.add(n);const o=r.map(i=>i.components?.default).filter(i=>typeof i=="function");for(const i of o){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>s.splice(s.indexOf(a)));s.push(a)}await Promise.all(s)}function S1(e={}){const t=e.path||window.location.pathname;let n={};try{n=JSON.parse(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||n?.path!==t||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:Pe().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const A1=(...e)=>e.find(t=>t!==void 0),R1="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function P1(e){const t=e.componentName||"NuxtLink",n=(r,s)=>{if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;const o=e.trailingSlash==="append"?Vh:ql;if(typeof r=="string")return o(r,!0);const i="path"in r?r.path:s(r).path;return{...r,name:void 0,path:o(i,!0)}};return Oe({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:s}){const o=st(),i=pe(()=>{const u=r.to||r.href||"";return n(u,o.resolve)}),a=pe(()=>r.external||r.target&&r.target!=="_self"?!0:typeof i.value=="object"?!1:i.value===""||Cr(i.value,{acceptRelative:!0})),l=ee(!1),c=ee(null),d=u=>{c.value=r.custom?u?.$el?.nextElementSibling:u?.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!O1()){const f=Pe();let h,p=null;An(()=>{const v=N1();u1(()=>{h=Ka(()=>{c?.value?.tagName&&(p=v.observe(c.value,async()=>{p?.(),p=null;const w=typeof i.value=="string"?i.value:o.resolve(i.value).fullPath;await Promise.all([f.hooks.callHook("link:prefetch",w).catch(()=>{}),!a.value&&Ep(i.value,o).catch(()=>{})]),l.value=!0}))})})}),Lr(()=>{h&&c1(h),p?.(),p=null})}return()=>{if(!a.value){const v={ref:d,to:i.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(l.value&&(v.class=r.prefetchedClass||e.prefetchedClass),v.rel=r.rel),Ye(xn("RouterLink"),v,s.default)}const u=typeof i.value=="object"?o.resolve(i.value)?.href??null:i.value||null,f=r.target||null,h=r.noRel?null:A1(r.rel,e.externalRelAttribute,u?R1:"")||null,p=()=>ap(u,{replace:r.replace});return r.custom?s.default?s.default({href:u,navigate:p,get route(){if(!u)return;const v=Zs(u);return{path:v.pathname,fullPath:v.pathname,get query(){return Uh(v.search)},hash:v.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:u}},rel:h,target:f,isExternal:a.value,isActive:!1,isExactActive:!1}):null:Ye("a",{ref:c,href:u,rel:h,target:f},s.default?.())}}})}const Zl=P1({componentName:"NuxtLink"});function N1(){const e=Pe();if(e._observer)return e._observer;let t=null;const n=new Map,r=(o,i)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}})),n.set(o,i),t.observe(o),()=>{n.delete(o),t.unobserve(o),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function O1(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}function L1(e=""){return!e||!e.includes("\\")?e:e.replace(/\\/g,"/")}const C1=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;function I1(){return typeof process<"u"?process.cwd().replace(/\\/g,"/"):"/"}const Du=function(...e){e=e.map(r=>L1(r));let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const s=r>=0?e[r]:I1();!s||s.length===0||(t=`${s}/${t}`,n=Fu(s))}return t=j1(t,!n),n&&!Fu(t)?`/${t}`:t.length>0?t:"."};function j1(e,t){let n="",r=0,s=-1,o=0,i=null;for(let a=0;a<=e.length;++a){if(a<e.length)i=e[a];else{if(i==="/")break;i="/"}if(i==="/"){if(!(s===a-1||o===1))if(o===2){if(n.length<2||r!==2||n[n.length-1]!=="."||n[n.length-2]!=="."){if(n.length>2){const l=n.lastIndexOf("/");l===-1?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),s=a,o=0;continue}else if(n.length>0){n="",r=0,s=a,o=0;continue}}t&&(n+=n.length>0?"/..":"..",r=2)}else n.length>0?n+=`/${e.slice(s+1,a)}`:n=e.slice(s+1,a),r=a-s-1;s=a,o=0}else i==="."&&o!==-1?++o:o=-1}return n}const Fu=function(e){return C1.test(e)},M1=function(e,t){const n=Du(e).split("/"),r=Du(t).split("/"),s=[...n];for(const o of s){if(r[0]!==o)break;n.shift(),r.shift()}return[...n.map(()=>".."),...r].join("/")};function T2(e){return!!e.match(/[/\\]node_modules[/\\]/)||ec(e)}function ec(e){return e[0]==="#"||!!e.match(/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/)}function D1(e){if(ec(e))return e;const t=e.replace(/\\/g,"/").match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t.startsWith("@")?t.split("/").slice(0,2).join("/"):t.split("/")[0]}function F1(e){const t=e.match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t}function $2(e){if(e)return["nuxt","#app","#head","vue"].includes(e)}function k2(e,t){if(e=e.replace(/\\/g,"/"),ec(e))return{moduleName:e,path:e};const n=D1(e),r=F1(e);if(n&&r)return{moduleName:n,path:r};try{let s=M1(t,e);return!s.startsWith("./")&&!s.startsWith("../")&&(s=`./${s}`),s.startsWith("./.nuxt/")&&(s=`#build${s.slice(7)}`),{path:s}}catch{return{path:e}}}function pt(e,t,n){const r=Pe();return r.payload.unique||(r.payload.unique={}),r.payload.unique[e]||(r.payload.unique[e]=bp(e,t,n)),r.payload.unique[e].data}function S2(){return typeof navigator<"u"&&navigator.platform.toLowerCase().includes("mac")}const Bu={get:"bg-green-400:10 text-green-400",post:"bg-blue-400:10 text-blue-400",put:"bg-orange-400:10 text-orange-400",delete:"bg-red-400:10 text-red-400",patch:"bg-purple-400:10 text-purple-400",head:"bg-teal-400:10 text-teal-400",default:"bg-gray-400:10 text-gray-400"};function A2(e){return Bu[e.toLowerCase()]||Bu.default}function R2(e,t){const n={};for(const[r,s]of Object.entries(t))for(const o of s){const i=e.find(a=>a.tag===o.tag&&(o.name?a.name===o.name:!0))?.value;if(i){n[r]=i;break}}return{url:window.location.host,...n}}function P2(e){return Number.isNaN(e)||e<0?"-":e<1?"<1ms":e<1e3?`${e}ms`:e<1e3*60?`${(e/1e3).toFixed(2)}s`:`${(e/1e3/60).toFixed(2)}min`}function rn(e){return Rd()?(gg(e),!0):!1}function et(e){return typeof e=="function"?e():se(e)}const qn=typeof window<"u",B1=e=>typeof e<"u",Sr=()=>{},H1=U1();function U1(){var e;return qn&&((e=window?.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function xp(e,t){function n(...r){return new Promise((s,o)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(s).catch(o)})}return n}const Tp=e=>e();function V1(e,t={}){let n,r,s=Sr;const o=a=>{clearTimeout(a),s(),s=Sr};return a=>{const l=et(e),c=et(t.maxWait);return n&&o(n),l<=0||c!==void 0&&c<=0?(r&&(o(r),r=null),Promise.resolve(a())):new Promise((d,u)=>{s=t.rejectOnCancel?u:d,c&&!r&&(r=setTimeout(()=>{n&&o(n),r=null,d(a())},c)),n=setTimeout(()=>{r&&o(r),r=null,d(a())},l)})}}function W1(e=Tp){const t=ee(!0);function n(){t.value=!1}function r(){t.value=!0}const s=(...o)=>{t.value&&e(...o)};return{isActive:Qn(t),pause:n,resume:r,eventFilter:s}}function Hu(e,t=!1,n="Timeout"){return new Promise((r,s)=>{setTimeout(t?()=>s(n):r,e)})}function G1(...e){if(e.length!==1)return mi(...e);const t=e[0];return typeof t=="function"?Qn(Gd(()=>({get:t,set:Sr}))):ee(t)}function z1(e,t=200,n={}){return xp(V1(t,n),e)}function q1(e,t=200,n={}){const r=ee(e.value),s=z1(()=>{r.value=e.value},t,n);return Be(e,()=>s()),r}var K1=Object.defineProperty,X1=Object.defineProperties,Y1=Object.getOwnPropertyDescriptors,Uu=Object.getOwnPropertySymbols,J1=Object.prototype.hasOwnProperty,Q1=Object.prototype.propertyIsEnumerable,Vu=(e,t,n)=>t in e?K1(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Z1=(e,t)=>{for(var n in t||(t={}))J1.call(t,n)&&Vu(e,n,t[n]);if(Uu)for(var n of Uu(t))Q1.call(t,n)&&Vu(e,n,t[n]);return e},ew=(e,t)=>X1(e,Y1(t));function tw(e){if(!De(e))return qg(e);const t=Array.isArray(e.value)?new Array(e.value.length):{};for(const n in e.value)t[n]=Gd(()=>({get(){return e.value[n]},set(r){if(Array.isArray(e.value)){const s=[...e.value];s[n]=r,e.value=s}else{const s=ew(Z1({},e.value),{[n]:r});Object.setPrototypeOf(s,Object.getPrototypeOf(e.value)),e.value=s}}}));return t}function tc(e,t=!0){Ot()?An(e):t?e():wt(e)}function Xa(e,t=!1){function n(u,{flush:f="sync",deep:h=!1,timeout:p,throwOnTimeout:v}={}){let w=null;const g=[new Promise(b=>{w=Be(e,y=>{u(y)!==t&&(w?.(),b(y))},{flush:f,deep:h,immediate:!0})})];return p!=null&&g.push(Hu(p,v).then(()=>et(e)).finally(()=>w?.())),Promise.race(g)}function r(u,f){if(!De(u))return n(y=>y===u,f);const{flush:h="sync",deep:p=!1,timeout:v,throwOnTimeout:w}=f??{};let _=null;const b=[new Promise(y=>{_=Be([e,u],([T,m])=>{t!==(T===m)&&(_?.(),y(T))},{flush:h,deep:p,immediate:!0})})];return v!=null&&b.push(Hu(v,w).then(()=>et(e)).finally(()=>(_?.(),et(e)))),Promise.race(b)}function s(u){return n(f=>!!f,u)}function o(u){return r(null,u)}function i(u){return r(void 0,u)}function a(u){return n(Number.isNaN,u)}function l(u,f){return n(h=>{const p=Array.from(h);return p.includes(u)||p.includes(et(u))},f)}function c(u){return d(1,u)}function d(u=1,f){let h=-1;return n(()=>(h+=1,h>=u),f)}return Array.isArray(et(e))?{toMatch:n,toContains:l,changed:c,changedTimes:d,get not(){return Xa(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:s,toBeNull:o,toBeNaN:a,toBeUndefined:i,changed:c,changedTimes:d,get not(){return Xa(e,!t)}}}function nw(e){return Xa(e)}function rw(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:s=!1}=n;let o=null;const i=ee(!1);function a(){o&&(clearInterval(o),o=null)}function l(){i.value=!1,a()}function c(){const d=et(t);d<=0||(i.value=!0,s&&e(),a(),o=setInterval(e,d))}if(r&&qn&&c(),De(t)||typeof t=="function"){const d=Be(t,()=>{i.value&&qn&&c()});rn(d)}return rn(l),{isActive:i,pause:l,resume:c}}function sw(e,t,n={}){const{immediate:r=!0}=n,s=ee(!1);let o=null;function i(){o&&(clearTimeout(o),o=null)}function a(){s.value=!1,i()}function l(...c){i(),s.value=!0,o=setTimeout(()=>{s.value=!1,o=null,e(...c)},et(t))}return r&&(s.value=!0,qn&&l()),rn(a),{isPending:Qn(s),start:l,stop:a}}var Wu=Object.getOwnPropertySymbols,ow=Object.prototype.hasOwnProperty,iw=Object.prototype.propertyIsEnumerable,aw=(e,t)=>{var n={};for(var r in e)ow.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Wu)for(var r of Wu(e))t.indexOf(r)<0&&iw.call(e,r)&&(n[r]=e[r]);return n};function lw(e,t,n={}){const r=n,{eventFilter:s=Tp}=r,o=aw(r,["eventFilter"]);return Be(e,xp(s,t),o)}var cw=Object.defineProperty,uw=Object.defineProperties,fw=Object.getOwnPropertyDescriptors,Yo=Object.getOwnPropertySymbols,$p=Object.prototype.hasOwnProperty,kp=Object.prototype.propertyIsEnumerable,Gu=(e,t,n)=>t in e?cw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,dw=(e,t)=>{for(var n in t||(t={}))$p.call(t,n)&&Gu(e,n,t[n]);if(Yo)for(var n of Yo(t))kp.call(t,n)&&Gu(e,n,t[n]);return e},hw=(e,t)=>uw(e,fw(t)),pw=(e,t)=>{var n={};for(var r in e)$p.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Yo)for(var r of Yo(e))t.indexOf(r)<0&&kp.call(e,r)&&(n[r]=e[r]);return n};function mw(e,t,n={}){const r=n,{eventFilter:s}=r,o=pw(r,["eventFilter"]),{eventFilter:i,pause:a,resume:l,isActive:c}=W1(s);return{stop:lw(e,t,hw(dw({},o),{eventFilter:i})),pause:a,resume:l,isActive:c}}function N2(e,t,n){let r;De(n)?r={evaluating:n}:r=n||{};const{lazy:s=!1,evaluating:o=void 0,shallow:i=!0,onError:a=Sr}=r,l=ee(!s),c=i?zn(t):ee(t);let d=0;return vr(async u=>{if(!l.value)return;d++;const f=d;let h=!1;o&&Promise.resolve().then(()=>{o.value=!0});try{const p=await e(v=>{u(()=>{o&&(o.value=!1),h||v()})});f===d&&(c.value=p)}catch(p){a(p)}finally{o&&f===d&&(o.value=!1),h=!0}}),s?pe(()=>(l.value=!0,c.value)):c}function nc(e={}){let t=0;const n=ee([]);function r(...i){const a=kl({key:t++,args:i,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(a),a.promise=new Promise((l,c)=>{a.resolve=d=>(a.isResolving=!0,l(d)),a.reject=c}).finally(()=>{a.promise=void 0;const l=n.value.indexOf(a);l!==-1&&n.value.splice(l,1)}),a.promise}function s(...i){return e.singleton&&n.value.length>0?n.value[0].promise:r(...i)}const o=Oe((i,{slots:a})=>{const l=()=>n.value.map(c=>{var d;return Ye(Ie,{key:c.key},(d=a.default)==null?void 0:d.call(a,c))});return e.transition?()=>Ye(T_,e.transition,l):l});return o.start=s,o}function ht(e){var t;const n=et(e);return(t=n?.$el)!=null?t:n}const Nt=qn?window:void 0,gw=qn?window.document:void 0,vw=qn?window.navigator:void 0;function Rt(...e){let t,n,r,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,s]=e,t=Nt):[t,n,r,s]=e,!t)return Sr;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach(d=>d()),o.length=0},a=(d,u,f,h)=>(d.addEventListener(u,f,h),()=>d.removeEventListener(u,f,h)),l=Be(()=>[ht(t),et(s)],([d,u])=>{i(),d&&o.push(...n.flatMap(f=>r.map(h=>a(d,f,h,u))))},{immediate:!0,flush:"post"}),c=()=>{l(),i()};return rn(c),c}let zu=!1;function _w(e,t,n={}){const{window:r=Nt,ignore:s=[],capture:o=!0,detectIframe:i=!1}=n;if(!r)return;H1&&!zu&&(zu=!0,Array.from(r.document.body.children).forEach(f=>f.addEventListener("click",Sr)));let a=!0;const l=f=>s.some(h=>{if(typeof h=="string")return Array.from(r.document.querySelectorAll(h)).some(p=>p===f.target||f.composedPath().includes(p));{const p=ht(h);return p&&(f.target===p||f.composedPath().includes(p))}}),d=[Rt(r,"click",f=>{const h=ht(e);if(!(!h||h===f.target||f.composedPath().includes(h))){if(f.detail===0&&(a=!l(f)),!a){a=!0;return}t(f)}},{passive:!0,capture:o}),Rt(r,"pointerdown",f=>{const h=ht(e);h&&(a=!f.composedPath().includes(h)&&!l(f))},{passive:!0}),i&&Rt(r,"blur",f=>{setTimeout(()=>{var h;const p=ht(e);((h=r.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!p?.contains(r.document.activeElement)&&t(f)},0)})].filter(Boolean);return()=>d.forEach(f=>f())}var yw=Object.defineProperty,bw=Object.defineProperties,ww=Object.getOwnPropertyDescriptors,qu=Object.getOwnPropertySymbols,Ew=Object.prototype.hasOwnProperty,xw=Object.prototype.propertyIsEnumerable,Ku=(e,t,n)=>t in e?yw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Tw=(e,t)=>{for(var n in t||(t={}))Ew.call(t,n)&&Ku(e,n,t[n]);if(qu)for(var n of qu(t))xw.call(t,n)&&Ku(e,n,t[n]);return e},$w=(e,t)=>bw(e,ww(t));function kw(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Sw(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=Nt,eventName:o="keydown",passive:i=!1,dedupe:a=!1}=r,l=kw(t);return Rt(s,o,d=>{d.repeat&&et(a)||l(d)&&n(d)},i)}function O2(e,t,n={}){return Sw(e,t,$w(Tw({},n),{eventName:"keydown"}))}function Aw(){const e=ee(!1);return Ot()&&An(()=>{e.value=!0}),e}function rc(e){const t=Aw();return pe(()=>(t.value,!!e()))}function Rw(e,t={}){const{immediate:n=!0,window:r=Nt}=t,s=ee(!1);let o=0,i=null;function a(d){if(!s.value||!r)return;const u=d-(o||d);e({delta:u,timestamp:d}),o=d,i=r.requestAnimationFrame(a)}function l(){!s.value&&r&&(s.value=!0,i=r.requestAnimationFrame(a))}function c(){s.value=!1,i!=null&&r&&(r.cancelAnimationFrame(i),i=null)}return n&&l(),rn(c),{isActive:Qn(s),pause:c,resume:l}}function Pw(e,t={}){const{window:n=Nt}=t,r=rc(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const o=ee(!1),i=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",a):s.removeListener(a))},a=()=>{r.value&&(i(),s=n.matchMedia(G1(e).value),o.value=!!s?.matches,s&&("addEventListener"in s?s.addEventListener("change",a):s.addListener(a)))};return vr(a),rn(()=>i()),o}function Nw(e={}){const{navigator:t=vw,read:n=!1,source:r,copiedDuring:s=1500,legacy:o=!1}=e,i=["copy","cut"],a=rc(()=>t&&"clipboard"in t),l=pe(()=>a.value||o),c=ee(""),d=ee(!1),u=sw(()=>d.value=!1,s);function f(){a.value?t.clipboard.readText().then(w=>{c.value=w}):c.value=v()}if(l.value&&n)for(const w of i)Rt(w,f);async function h(w=et(r)){l.value&&w!=null&&(a.value?await t.clipboard.writeText(w):p(w),c.value=w,d.value=!0,u.start())}function p(w){const _=document.createElement("textarea");_.value=w??"",_.style.position="absolute",_.style.opacity="0",document.body.appendChild(_),_.select(),document.execCommand("copy"),_.remove()}function v(){var w,_,g;return(g=(_=(w=document?.getSelection)==null?void 0:w.call(document))==null?void 0:_.toString())!=null?g:""}return{isSupported:l,text:c,copied:d,copy:h}}function Ow(e){return JSON.parse(JSON.stringify(e))}const _o=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},yo="__vueuse_ssr_handlers__",Lw=Cw();function Cw(){return yo in _o||(_o[yo]=_o[yo]||{}),_o[yo]}function Iw(e,t){return Lw[e]||t}function jw(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}var Mw=Object.defineProperty,Xu=Object.getOwnPropertySymbols,Dw=Object.prototype.hasOwnProperty,Fw=Object.prototype.propertyIsEnumerable,Yu=(e,t,n)=>t in e?Mw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ju=(e,t)=>{for(var n in t||(t={}))Dw.call(t,n)&&Yu(e,n,t[n]);if(Xu)for(var n of Xu(t))Fw.call(t,n)&&Yu(e,n,t[n]);return e};const Bw={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Qu="vueuse-storage";function Hw(e,t,n,r={}){var s;const{flush:o="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:d,window:u=Nt,eventFilter:f,onError:h=x=>{console.error(x)}}=r,p=(d?zn:ee)(t);if(!n)try{n=Iw("getDefaultStorage",()=>{var x;return(x=Nt)==null?void 0:x.localStorage})()}catch(x){h(x)}if(!n)return p;const v=et(t),w=jw(v),_=(s=r.serializer)!=null?s:Bw[w],{pause:g,resume:b}=mw(p,()=>y(p.value),{flush:o,deep:i,eventFilter:f});return u&&a&&(Rt(u,"storage",$),Rt(u,Qu,m)),$(),p;function y(x){try{if(x==null)n.removeItem(e);else{const E=_.write(x),k=n.getItem(e);k!==E&&(n.setItem(e,E),u&&u.dispatchEvent(new CustomEvent(Qu,{detail:{key:e,oldValue:k,newValue:E,storageArea:n}})))}}catch(E){h(E)}}function T(x){const E=x?x.newValue:n.getItem(e);if(E==null)return l&&v!==null&&n.setItem(e,_.write(v)),v;if(!x&&c){const k=_.read(E);return typeof c=="function"?c(k,v):w==="object"&&!Array.isArray(k)?Ju(Ju({},v),k):k}else return typeof E!="string"?E:_.read(E)}function m(x){$(x.detail)}function $(x){if(!(x&&x.storageArea!==n)){if(x&&x.key==null){p.value=v;return}if(!(x&&x.key!==e)){g();try{p.value=T(x)}catch(E){h(E)}finally{x?wt(b):b()}}}}}var Zu=Object.getOwnPropertySymbols,Uw=Object.prototype.hasOwnProperty,Vw=Object.prototype.propertyIsEnumerable,Ww=(e,t)=>{var n={};for(var r in e)Uw.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Zu)for(var r of Zu(e))t.indexOf(r)<0&&Vw.call(e,r)&&(n[r]=e[r]);return n};function Sp(e,t,n={}){const r=n,{window:s=Nt}=r,o=Ww(r,["window"]);let i;const a=rc(()=>s&&"ResizeObserver"in s),l=()=>{i&&(i.disconnect(),i=void 0)},c=pe(()=>Array.isArray(e)?e.map(f=>ht(f)):[ht(e)]),d=Be(c,f=>{if(l(),a.value&&s){i=new ResizeObserver(t);for(const h of f)h&&i.observe(h,o)}},{immediate:!0,flush:"post",deep:!0}),u=()=>{l(),d()};return rn(u),{isSupported:a,stop:u}}function L2(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:s=!0,immediate:o=!0}=t,i=ee(0),a=ee(0),l=ee(0),c=ee(0),d=ee(0),u=ee(0),f=ee(0),h=ee(0);function p(){const v=ht(e);if(!v){n&&(i.value=0,a.value=0,l.value=0,c.value=0,d.value=0,u.value=0,f.value=0,h.value=0);return}const w=v.getBoundingClientRect();i.value=w.height,a.value=w.bottom,l.value=w.left,c.value=w.right,d.value=w.top,u.value=w.width,f.value=w.x,h.value=w.y}return Sp(e,p),Be(()=>ht(e),v=>!v&&p()),s&&Rt("scroll",p,{capture:!0,passive:!0}),r&&Rt("resize",p,{passive:!0}),tc(()=>{o&&p()}),{height:i,bottom:a,left:l,right:c,top:d,width:u,x:f,y:h,update:p}}function C2(e,t={width:0,height:0},n={}){const{window:r=Nt,box:s="content-box"}=n,o=pe(()=>{var l,c;return(c=(l=ht(e))==null?void 0:l.namespaceURI)==null?void 0:c.includes("svg")}),i=ee(t.width),a=ee(t.height);return Sp(e,([l])=>{const c=s==="border-box"?l.borderBoxSize:s==="content-box"?l.contentBoxSize:l.devicePixelContentBoxSize;if(r&&o.value){const d=ht(e);if(d){const u=r.getComputedStyle(d);i.value=Number.parseFloat(u.width),a.value=Number.parseFloat(u.height)}}else if(c){const d=Array.isArray(c)?c:[c];i.value=d.reduce((u,{inlineSize:f})=>u+f,0),a.value=d.reduce((u,{blockSize:f})=>u+f,0)}else i.value=l.contentRect.width,a.value=l.contentRect.height},n),Be(()=>ht(e),l=>{i.value=l?t.width:0,a.value=l?t.height:0}),{width:i,height:a}}function sc(e,t,n={}){const{window:r=Nt}=n;return Hw(e,t,r?.localStorage,n)}var Gw=Object.defineProperty,ef=Object.getOwnPropertySymbols,zw=Object.prototype.hasOwnProperty,qw=Object.prototype.propertyIsEnumerable,tf=(e,t,n)=>t in e?Gw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Kw=(e,t)=>{for(var n in t||(t={}))zw.call(t,n)&&tf(e,n,t[n]);if(ef)for(var n of ef(t))qw.call(t,n)&&tf(e,n,t[n]);return e};function Xw(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=ee(new Date),s=()=>r.value=new Date,o=n==="requestAnimationFrame"?Rw(s,{immediate:!0}):rw(s,n,{immediate:!0});return t?Kw({now:r},o):r}let Yw=0;function I2(e,t={}){const n=ee(!1),{document:r=gw,immediate:s=!0,manual:o=!1,id:i=`vueuse_styletag_${++Yw}`}=t,a=ee(e);let l=()=>{};const c=()=>{if(!r)return;const u=r.getElementById(i)||r.createElement("style");u.isConnected||(u.type="text/css",u.id=i,t.media&&(u.media=t.media),r.head.appendChild(u)),!n.value&&(l=Be(a,f=>{u.textContent=f},{immediate:!0}),n.value=!0)},d=()=>{!r||!n.value||(l(),r.head.removeChild(r.getElementById(i)),n.value=!1)};return s&&!o&&tc(c),o||rn(d),{id:i,css:a,unload:d,load:c,isLoaded:Qn(n)}}var Jw=Object.defineProperty,Jo=Object.getOwnPropertySymbols,Ap=Object.prototype.hasOwnProperty,Rp=Object.prototype.propertyIsEnumerable,nf=(e,t,n)=>t in e?Jw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Qw=(e,t)=>{for(var n in t||(t={}))Ap.call(t,n)&&nf(e,n,t[n]);if(Jo)for(var n of Jo(t))Rp.call(t,n)&&nf(e,n,t[n]);return e},Zw=(e,t)=>{var n={};for(var r in e)Ap.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Jo)for(var r of Jo(e))t.indexOf(r)<0&&Rp.call(e,r)&&(n[r]=e[r]);return n};const eE=[{max:6e4,value:1e3,name:"second"},{max:276e4,value:6e4,name:"minute"},{max:72e6,value:36e5,name:"hour"},{max:5184e5,value:864e5,name:"day"},{max:24192e5,value:6048e5,name:"week"},{max:28512e6,value:2592e6,name:"month"},{max:1/0,value:31536e6,name:"year"}],tE={justNow:"just now",past:e=>e.match(/\d/)?`${e} ago`:e,future:e=>e.match(/\d/)?`in ${e}`:e,month:(e,t)=>e===1?t?"last month":"next month":`${e} month${e>1?"s":""}`,year:(e,t)=>e===1?t?"last year":"next year":`${e} year${e>1?"s":""}`,day:(e,t)=>e===1?t?"yesterday":"tomorrow":`${e} day${e>1?"s":""}`,week:(e,t)=>e===1?t?"last week":"next week":`${e} week${e>1?"s":""}`,hour:e=>`${e} hour${e>1?"s":""}`,minute:e=>`${e} minute${e>1?"s":""}`,second:e=>`${e} second${e>1?"s":""}`,invalid:""};function nE(e){return e.toISOString().slice(0,10)}function j2(e,t={}){const{controls:n=!1,updateInterval:r=3e4}=t,s=Xw({interval:r,controls:!0}),{now:o}=s,i=Zw(s,["now"]),a=pe(()=>rE(new Date(et(e)),t,et(o)));return n?Qw({timeAgo:a},i):a}function rE(e,t={},n=Date.now()){var r;const{max:s,messages:o=tE,fullDateFormatter:i=nE,units:a=eE,showSecond:l=!1,rounding:c="round"}=t,d=typeof c=="number"?w=>+w.toFixed(c):Math[c],u=+n-+e,f=Math.abs(u);function h(w,_){return d(Math.abs(w)/_.value)}function p(w,_){const g=h(w,_),b=w>0,y=v(_.name,g,b);return v(b?"past":"future",y,b)}function v(w,_,g){const b=o[w];return typeof b=="function"?b(_,g):b.replace("{0}",_.toString())}if(f<6e4&&!l)return o.justNow;if(typeof s=="number"&&f>s)return i(new Date(e));if(typeof s=="string"){const w=(r=a.find(_=>_.name===s))==null?void 0:r.max;if(w&&f>w)return i(new Date(e))}for(const[w,_]of a.entries()){if(h(u,_)<=0&&a[w-1])return p(u,a[w-1]);if(f<_.max)return p(u,_)}return o.invalid}function Pp(e,t,n,r={}){var s,o,i;const{clone:a=!1,passive:l=!1,eventName:c,deep:d=!1,defaultValue:u,shouldEmit:f}=r,h=Ot(),p=n||h?.emit||((s=h?.$emit)==null?void 0:s.bind(h))||((i=(o=h?.proxy)==null?void 0:o.$emit)==null?void 0:i.bind(h?.proxy));let v=c;t||(t="modelValue"),v=v||`update:${t.toString()}`;const w=b=>a?typeof a=="function"?a(b):Ow(b):b,_=()=>B1(e[t])?w(e[t]):u,g=b=>{f?f(b)&&p(v,b):p(v,b)};if(l){const b=_(),y=ee(b);return Be(()=>e[t],T=>y.value=w(T)),Be(y,T=>{(T!==e[t]||d)&&g(T)},{deep:d}),y}else return pe({get(){return _()},set(b){g(b)}})}function sE(e={}){const{window:t=Nt,initialWidth:n=1/0,initialHeight:r=1/0,listenOrientation:s=!0,includeScrollbar:o=!0}=e,i=ee(n),a=ee(r),l=()=>{t&&(o?(i.value=t.innerWidth,a.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(l(),tc(l),Rt("resize",l,{passive:!0}),s){const c=Pw("(orientation: portrait)");Be(c,()=>l())}return{width:i,height:a}}const oE=6e4;function Np(e){return e}const iE=Np,{setTimeout:aE}=globalThis,lE=Math.random.bind(Math);function cE(e,t){const{post:n,on:r,eventNames:s=[],serialize:o=Np,deserialize:i=iE,resolver:a,timeout:l=oE}=t,c=new Map;let d;const u=new Proxy({},{get(f,h){if(h==="$functions")return e;const p=(...w)=>{n(o({m:h,a:w,t:"q"}))};if(s.includes(h))return p.asEvent=p,p;const v=async(...w)=>(await d,new Promise((_,g)=>{const b=fE();c.set(b,{resolve:_,reject:g}),n(o({m:h,a:w,i:b,t:"q"})),l>=0&&aE(()=>{g(new Error(`[birpc] timeout on calling "${h}"`)),c.delete(b)},l)}));return v.asEvent=p,v}});return d=r(async(f,...h)=>{const p=i(f);if(p.t==="q"){const{m:v,a:w}=p;let _,g;const b=a?a(v,e[v]):e[v];if(!b)g=new Error(`[birpc] function "${v}" not found`);else try{_=await b.apply(u,w)}catch(y){g=y}p.i&&(g&&t.onError&&t.onError(g,v,w),n(o({t:"s",i:p.i,r:_,e:g}),...h))}else{const{i:v,r:w,e:_}=p,g=c.get(v);g&&(_?g.reject(_):g.resolve(w)),c.delete(v)}}),u}const uE="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function fE(e=21){let t="",n=e;for(;n--;)t+=uE[lE()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:dE,stringify:hE}=JSON,{keys:pE}=Object,Ws=String,Op="string",rf={},Qo="object",Lp=(e,t)=>t,mE=e=>e instanceof Ws?Ws(e):e,gE=(e,t)=>typeof t===Op?new Ws(t):t,Cp=(e,t,n,r)=>{const s=[];for(let o=pE(n),{length:i}=o,a=0;a<i;a++){const l=o[a],c=n[l];if(c instanceof Ws){const d=e[c];typeof d===Qo&&!t.has(d)?(t.add(d),n[l]=rf,s.push({k:l,a:[e,t,d,r]})):n[l]=r.call(n,l,d)}else n[l]!==rf&&(n[l]=r.call(n,l,c))}for(let{length:o}=s,i=0;i<o;i++){const{k:a,a:l}=s[i];n[a]=r.call(n,a,Cp.apply(null,l))}return n},sf=(e,t,n)=>{const r=Ws(t.push(n)-1);return e.set(n,r),r},vE=(e,t)=>{const n=dE(e,gE).map(mE),r=n[0],s=t||Lp,o=typeof r===Qo&&r?Cp(n,new Set,r,s):r;return s.call({"":o},"",o)},_E=(e,t,n)=>{const r=t&&typeof t===Qo?(d,u)=>d===""||-1<t.indexOf(d)?u:void 0:t||Lp,s=new Map,o=[],i=[];let a=+sf(s,o,r.call({"":e},"",e)),l=!a;for(;a<o.length;)l=!0,i[a]=hE(o[a++],c,n);return"["+i.join(",")+"]";function c(d,u){if(l)return l=!l,u;const f=r.call(this,d,u);switch(typeof f){case Qo:if(f===null)return f;case Op:return s.get(f)||sf(s,o,f)}return f}};async function yE(e="/",t=!0){try{return await Re(()=>import(`${e}@vite/client`),[],import.meta.url)}catch{t&&console.error(`[vite-plugin-hot] Failed to import "${e}@vite/client"`)}}async function bE(e="/____",t="/"){return(await yE(t))?.createHotContext(e)}const Ip="nuxt:devtools:rpc",wE=ee(!1),EE=ee(),xE=q1(wE,2e3),TE=$E();let jp=()=>{};const Mp={},Dp=new Map,Fe=cE(Mp,{post:async e=>{(await TE).send(Ip,e)},on:e=>{jp=e},serialize:_E,deserialize:vE,resolver(e,t){if(t)return t;if(!e.includes(":"))return;const[n,r]=e.split(":");return Dp.get(n)?.[r]},onError(e,t){console.error(`[nuxt-devtools] RPC error on executing "${t}":`,e)},timeout:12e4});async function $E(){const e=await bE();if(!e)throw new Error("Unable to connect to devtools");return e.on(Ip,t=>{jp(t)}),e}const M2=nc(),Fp=nc();function kE(){return Ir("devtools:restart-dialogs",()=>[])}let Bp;function Ya(e){Bp?.(e)}function SE(e){Bp=e}var AE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function RE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function D2(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var s=[null];s.push.apply(s,arguments);var o=Function.bind.apply(t,s);return new o}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var Ja={exports:{}};(function(e,t){(function(n,r){var s="1.0.35",o="",i="?",a="function",l="undefined",c="object",d="string",u="major",f="model",h="name",p="type",v="vendor",w="version",_="architecture",g="console",b="mobile",y="tablet",T="smarttv",m="wearable",$="embedded",x=350,E="Amazon",k="Apple",S="ASUS",A="BlackBerry",R="Browser",P="Chrome",I="Edge",j="Firefox",F="Google",B="Huawei",z="LG",ae="Microsoft",te="Motorola",re="Opera",de="Samsung",fe="Sharp",_e="Sony",Ee="Xiaomi",L="Zebra",J="Facebook",W="Chromium OS",le="Mac OS",xe=function(q,ne){var X={};for(var Q in q)ne[Q]&&ne[Q].length%2===0?X[Q]=ne[Q].concat(q[Q]):X[Q]=q[Q];return X},N=function(q){for(var ne={},X=0;X<q.length;X++)ne[q[X].toUpperCase()]=q[X];return ne},O=function(q,ne){return typeof q===d?C(ne).indexOf(C(q))!==-1:!1},C=function(q){return q.toLowerCase()},D=function(q){return typeof q===d?q.replace(/[^\d\.]/g,o).split(".")[0]:r},H=function(q,ne){if(typeof q===d)return q=q.replace(/^\s\s*/,o),typeof ne===l?q:q.substring(0,x)},U=function(q,ne){for(var X=0,Q,ge,Le,be,me,Je;X<ne.length&&!me;){var er=ne[X],Qe=ne[X+1];for(Q=ge=0;Q<er.length&&!me&&er[Q];)if(me=er[Q++].exec(q),me)for(Le=0;Le<Qe.length;Le++)Je=me[++ge],be=Qe[Le],typeof be===c&&be.length>0?be.length===2?typeof be[1]==a?this[be[0]]=be[1].call(this,Je):this[be[0]]=be[1]:be.length===3?typeof be[1]===a&&!(be[1].exec&&be[1].test)?this[be[0]]=Je?be[1].call(this,Je,be[2]):r:this[be[0]]=Je?Je.replace(be[1],be[2]):r:be.length===4&&(this[be[0]]=Je?be[3].call(this,Je.replace(be[1],be[2])):r):this[be]=Je||r;X+=2}},Z=function(q,ne){for(var X in ne)if(typeof ne[X]===c&&ne[X].length>0){for(var Q=0;Q<ne[X].length;Q++)if(O(ne[X][Q],q))return X===i?r:X}else if(O(ne[X],q))return X===i?r:X;return q},Y={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},K={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},G={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[w,[h,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[w,[h,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[h,w],[/opios[\/ ]+([\w\.]+)/i],[w,[h,re+" Mini"]],[/\bopr\/([\w\.]+)/i],[w,[h,re]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(heytap|ovi)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[h,w],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[w,[h,"UC"+R]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[w,[h,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[w,[h,"WeChat"]],[/konqueror\/([\w\.]+)/i],[w,[h,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[w,[h,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[w,[h,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[h,/(.+)/,"$1 Secure "+R],w],[/\bfocus\/([\w\.]+)/i],[w,[h,j+" Focus"]],[/\bopt\/([\w\.]+)/i],[w,[h,re+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[w,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[w,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[w,[h,re+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[w,[h,"MIUI "+R]],[/fxios\/([-\w\.]+)/i],[w,[h,j]],[/\bqihu|(qi?ho?o?|360)browser/i],[[h,"360 "+R]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1 "+R],w],[/(comodo_dragon)\/([\w\.]+)/i],[[h,/_/g," "],w],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[h,w],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[h],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[h,J],w],[/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[h,w],[/\bgsa\/([\w\.]+) .*safari\//i],[w,[h,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[w,[h,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[w,[h,P+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[h,P+" WebView"],w],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[w,[h,"Android "+R]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[h,w],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[w,[h,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[w,h],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[h,[w,Z,Y]],[/(webkit|khtml)\/([\w\.]+)/i],[h,w],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[h,"Netscape"],w],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[w,[h,j+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i,/panasonic;(viera)/i],[h,w],[/(cobalt)\/([\w\.]+)/i],[h,[w,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[_,"amd64"]],[/(ia32(?=;))/i],[[_,C]],[/((?:i[346]|x)86)[;\)]/i],[[_,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[_,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[_,"armhf"]],[/windows (ce|mobile); ppc;/i],[[_,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[_,/ower/,o,C]],[/(sun4\w)[;\)]/i],[[_,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[_,C]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[f,[v,de],[p,y]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[f,[v,de],[p,b]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[f,[v,k],[p,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[v,k],[p,y]],[/(macintosh);/i],[f,[v,k]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[v,fe],[p,b]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[f,[v,B],[p,y]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[f,[v,B],[p,b]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[f,/_/g," "],[v,Ee],[p,b]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[f,/_/g," "],[v,Ee],[p,y]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[f,[v,"OPPO"],[p,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[v,"Vivo"],[p,b]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[f,[v,"Realme"],[p,b]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[f,[v,te],[p,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[v,te],[p,y]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[v,z],[p,y]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[v,z],[p,b]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[f,[v,"Lenovo"],[p,y]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[f,/_/g," "],[v,"Nokia"],[p,b]],[/(pixel c)\b/i],[f,[v,F],[p,y]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[v,F],[p,b]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[f,[v,_e],[p,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[v,_e],[p,y]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[v,"OnePlus"],[p,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[v,E],[p,y]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[v,E],[p,b]],[/(playbook);[-\w\),; ]+(rim)/i],[f,v,[p,y]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[v,A],[p,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[v,S],[p,y]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[v,S],[p,b]],[/(nexus 9)/i],[f,[v,"HTC"],[p,y]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[v,[f,/_/g," "],[p,b]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[v,"Acer"],[p,y]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[v,"Meizu"],[p,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[v,f,[p,b]],[/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[v,f,[p,y]],[/(surface duo)/i],[f,[v,ae],[p,y]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[v,"Fairphone"],[p,b]],[/(u304aa)/i],[f,[v,"AT&T"],[p,b]],[/\bsie-(\w*)/i],[f,[v,"Siemens"],[p,b]],[/\b(rct\w+) b/i],[f,[v,"RCA"],[p,y]],[/\b(venue[\d ]{2,7}) b/i],[f,[v,"Dell"],[p,y]],[/\b(q(?:mv|ta)\w+) b/i],[f,[v,"Verizon"],[p,y]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[v,"Barnes & Noble"],[p,y]],[/\b(tm\d{3}\w+) b/i],[f,[v,"NuVision"],[p,y]],[/\b(k88) b/i],[f,[v,"ZTE"],[p,y]],[/\b(nx\d{3}j) b/i],[f,[v,"ZTE"],[p,b]],[/\b(gen\d{3}) b.+49h/i],[f,[v,"Swiss"],[p,b]],[/\b(zur\d{3}) b/i],[f,[v,"Swiss"],[p,y]],[/\b((zeki)?tb.*\b) b/i],[f,[v,"Zeki"],[p,y]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[v,"Dragon Touch"],f,[p,y]],[/\b(ns-?\w{0,9}) b/i],[f,[v,"Insignia"],[p,y]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[v,"NextBook"],[p,y]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[v,"Voice"],f,[p,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[v,"LvTel"],f,[p,b]],[/\b(ph-1) /i],[f,[v,"Essential"],[p,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[v,"Envizen"],[p,y]],[/\b(trio[-\w\. ]+) b/i],[f,[v,"MachSpeed"],[p,y]],[/\btu_(1491) b/i],[f,[v,"Rotor"],[p,y]],[/(shield[\w ]+) b/i],[f,[v,"Nvidia"],[p,y]],[/(sprint) (\w+)/i],[v,f,[p,b]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[v,ae],[p,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[v,L],[p,y]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[v,L],[p,b]],[/smart-tv.+(samsung)/i],[v,[p,T]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[v,de],[p,T]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[v,z],[p,T]],[/(apple) ?tv/i],[v,[f,k+" TV"],[p,T]],[/crkey/i],[[f,P+"cast"],[v,F],[p,T]],[/droid.+aft(\w)( bui|\))/i],[f,[v,E],[p,T]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[v,fe],[p,T]],[/(bravia[\w ]+)( bui|\))/i],[f,[v,_e],[p,T]],[/(mitv-\w{5}) bui/i],[f,[v,Ee],[p,T]],[/Hbbtv.*(technisat) (.*);/i],[v,f,[p,T]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[v,H],[f,H],[p,T]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,T]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[v,f,[p,g]],[/droid.+; (shield) bui/i],[f,[v,"Nvidia"],[p,g]],[/(playstation [345portablevi]+)/i],[f,[v,_e],[p,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[v,ae],[p,g]],[/((pebble))app/i],[v,f,[p,m]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[f,[v,k],[p,m]],[/droid.+; (glass) \d/i],[f,[v,F],[p,m]],[/droid.+; (wt63?0{2,3})\)/i],[f,[v,L],[p,m]],[/(quest( 2| pro)?)/i],[f,[v,J],[p,m]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[v,[p,$]],[/(aeobc)\b/i],[f,[v,E],[p,$]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[f,[p,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[p,y]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,y]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,b]],[/(android[-\w\. ]{0,9});.+buil/i],[f,[v,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[w,[h,I+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[w,[h,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[h,w],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[w,h]],os:[[/microsoft (windows) (vista|xp)/i],[h,w],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[h,[w,Z,K]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,"Windows"],[w,Z,K]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/ios;fbsv\/([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[w,/_/g,"."],[h,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[h,le],[w,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[w,h],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[h,w],[/\(bb(10);/i],[w,[h,A]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[w,[h,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[w,[h,j+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[w,[h,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[w,[h,"watchOS"]],[/crkey\/([\d\.]+)/i],[w,[h,P+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[h,W],w],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[h,w],[/(sunos) ?([\w\.\d]*)/i],[[h,"Solaris"],w],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[h,w]]},ie=function(q,ne){if(typeof q===c&&(ne=q,q=r),!(this instanceof ie))return new ie(q,ne).getResult();var X=typeof n!==l&&n.navigator?n.navigator:r,Q=q||(X&&X.userAgent?X.userAgent:o),ge=X&&X.userAgentData?X.userAgentData:r,Le=ne?xe(G,ne):G,be=X&&X.userAgent==Q;return this.getBrowser=function(){var me={};return me[h]=r,me[w]=r,U.call(me,Q,Le.browser),me[u]=D(me[w]),be&&X&&X.brave&&typeof X.brave.isBrave==a&&(me[h]="Brave"),me},this.getCPU=function(){var me={};return me[_]=r,U.call(me,Q,Le.cpu),me},this.getDevice=function(){var me={};return me[v]=r,me[f]=r,me[p]=r,U.call(me,Q,Le.device),be&&!me[p]&&ge&&ge.mobile&&(me[p]=b),be&&me[f]=="Macintosh"&&X&&typeof X.standalone!==l&&X.maxTouchPoints&&X.maxTouchPoints>2&&(me[f]="iPad",me[p]=y),me},this.getEngine=function(){var me={};return me[h]=r,me[w]=r,U.call(me,Q,Le.engine),me},this.getOS=function(){var me={};return me[h]=r,me[w]=r,U.call(me,Q,Le.os),be&&!me[h]&&ge&&ge.platform!="Unknown"&&(me[h]=ge.platform.replace(/chrome os/i,W).replace(/macos/i,le)),me},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return Q},this.setUA=function(me){return Q=typeof me===d&&me.length>x?H(me,x):me,this},this.setUA(Q),this};ie.VERSION=s,ie.BROWSER=N([h,w,u]),ie.CPU=N([_]),ie.DEVICE=N([f,v,p,g,b,T,y,m,$]),ie.ENGINE=ie.OS=N([h,w]),e.exports&&(t=e.exports=ie),t.UAParser=ie;var M=typeof n!==l&&(n.jQuery||n.Zepto);if(M&&!M.ua){var V=new ie;M.ua=V.getResult(),M.ua.get=function(){return V.getUA()},M.ua.set=function(q){V.setUA(q);var ne=V.getResult();for(var X in ne)M.ua[X]=ne[X]}}})(typeof window=="object"?window:AE)})(Ja,Ja.exports);var PE=Ja.exports;const Bt=ee(localStorage.getItem("__nuxt_dev_token__")),pr=ee(!1),Hp=new BroadcastChannel("__nuxt_dev_token__");Hp.addEventListener("message",e=>{if(e.data.event==="new-token"){if(e.data.data===Bt.value)return;const t=e.data.data;Fe.verifyAuthToken(t).then(n=>{Bt.value=n?t:null,pr.value=n})}});function F2(e){Bt.value=e,pr.value=!0,localStorage.setItem("__nuxt_dev_token__",e),Hp.postMessage({event:"new-token",data:e})}async function NE(){if(pr.value)return Bt.value;if(!Bt.value){const e=new PE.UAParser(navigator.userAgent).getResult(),t=[e.browser.name,e.browser.version,"|",e.os.name,e.os.version,e.device.type].filter(r=>r).join(" ");if(Fe.requestForAuth(t),await Promise.race([Fp.start(),nw(Bt.value).toBeTruthy()])===!1)throw Ya({message:"Action canceled",icon:"carbon-close",classes:"text-orange"}),new Error("User canceled auth")}if(pr.value=await Fe.verifyAuthToken(Bt.value),!pr.value)throw Bt.value=null,Ya({message:"Invalid auth token, action canceled",icon:"i-carbon-warning-alt",classes:"text-red"}),new Error("Invalid auth token");return Bt.value}var Qa={exports:{}};const OE="2.0.0",Up=256,LE=Number.MAX_SAFE_INTEGER||9007199254740991,CE=16,IE=Up-6,jE=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var Ai={MAX_LENGTH:Up,MAX_SAFE_COMPONENT_LENGTH:CE,MAX_SAFE_BUILD_LENGTH:IE,MAX_SAFE_INTEGER:LE,RELEASE_TYPES:jE,SEMVER_SPEC_VERSION:OE,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const ME=typeof process=="object"&&process.env&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var Ri=ME;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r}=Ai,s=Ri;t=e.exports={};const o=t.re=[],i=t.safeRe=[],a=t.src=[],l=t.t={};let c=0;const d="[a-zA-Z0-9-]",u=[["\\s",1],["\\d",n],[d,r]],f=p=>{for(const[v,w]of u)p=p.split(`${v}*`).join(`${v}{0,${w}}`).split(`${v}+`).join(`${v}{1,${w}}`);return p},h=(p,v,w)=>{const _=f(v),g=c++;s(p,g,v),l[p]=g,a[g]=v,o[g]=new RegExp(v,w?"g":void 0),i[g]=new RegExp(_,w?"g":void 0)};h("NUMERICIDENTIFIER","0|[1-9]\\d*"),h("NUMERICIDENTIFIERLOOSE","\\d+"),h("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${d}*`),h("MAINVERSION",`(${a[l.NUMERICIDENTIFIER]})\\.(${a[l.NUMERICIDENTIFIER]})\\.(${a[l.NUMERICIDENTIFIER]})`),h("MAINVERSIONLOOSE",`(${a[l.NUMERICIDENTIFIERLOOSE]})\\.(${a[l.NUMERICIDENTIFIERLOOSE]})\\.(${a[l.NUMERICIDENTIFIERLOOSE]})`),h("PRERELEASEIDENTIFIER",`(?:${a[l.NUMERICIDENTIFIER]}|${a[l.NONNUMERICIDENTIFIER]})`),h("PRERELEASEIDENTIFIERLOOSE",`(?:${a[l.NUMERICIDENTIFIERLOOSE]}|${a[l.NONNUMERICIDENTIFIER]})`),h("PRERELEASE",`(?:-(${a[l.PRERELEASEIDENTIFIER]}(?:\\.${a[l.PRERELEASEIDENTIFIER]})*))`),h("PRERELEASELOOSE",`(?:-?(${a[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${a[l.PRERELEASEIDENTIFIERLOOSE]})*))`),h("BUILDIDENTIFIER",`${d}+`),h("BUILD",`(?:\\+(${a[l.BUILDIDENTIFIER]}(?:\\.${a[l.BUILDIDENTIFIER]})*))`),h("FULLPLAIN",`v?${a[l.MAINVERSION]}${a[l.PRERELEASE]}?${a[l.BUILD]}?`),h("FULL",`^${a[l.FULLPLAIN]}$`),h("LOOSEPLAIN",`[v=\\s]*${a[l.MAINVERSIONLOOSE]}${a[l.PRERELEASELOOSE]}?${a[l.BUILD]}?`),h("LOOSE",`^${a[l.LOOSEPLAIN]}$`),h("GTLT","((?:<|>)?=?)"),h("XRANGEIDENTIFIERLOOSE",`${a[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h("XRANGEIDENTIFIER",`${a[l.NUMERICIDENTIFIER]}|x|X|\\*`),h("XRANGEPLAIN",`[v=\\s]*(${a[l.XRANGEIDENTIFIER]})(?:\\.(${a[l.XRANGEIDENTIFIER]})(?:\\.(${a[l.XRANGEIDENTIFIER]})(?:${a[l.PRERELEASE]})?${a[l.BUILD]}?)?)?`),h("XRANGEPLAINLOOSE",`[v=\\s]*(${a[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${a[l.XRANGEIDENTIFIERLOOSE]})(?:${a[l.PRERELEASELOOSE]})?${a[l.BUILD]}?)?)?`),h("XRANGE",`^${a[l.GTLT]}\\s*${a[l.XRANGEPLAIN]}$`),h("XRANGELOOSE",`^${a[l.GTLT]}\\s*${a[l.XRANGEPLAINLOOSE]}$`),h("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),h("COERCERTL",a[l.COERCE],!0),h("LONETILDE","(?:~>?)"),h("TILDETRIM",`(\\s*)${a[l.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",h("TILDE",`^${a[l.LONETILDE]}${a[l.XRANGEPLAIN]}$`),h("TILDELOOSE",`^${a[l.LONETILDE]}${a[l.XRANGEPLAINLOOSE]}$`),h("LONECARET","(?:\\^)"),h("CARETTRIM",`(\\s*)${a[l.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",h("CARET",`^${a[l.LONECARET]}${a[l.XRANGEPLAIN]}$`),h("CARETLOOSE",`^${a[l.LONECARET]}${a[l.XRANGEPLAINLOOSE]}$`),h("COMPARATORLOOSE",`^${a[l.GTLT]}\\s*(${a[l.LOOSEPLAIN]})$|^$`),h("COMPARATOR",`^${a[l.GTLT]}\\s*(${a[l.FULLPLAIN]})$|^$`),h("COMPARATORTRIM",`(\\s*)${a[l.GTLT]}\\s*(${a[l.LOOSEPLAIN]}|${a[l.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",h("HYPHENRANGE",`^\\s*(${a[l.XRANGEPLAIN]})\\s+-\\s+(${a[l.XRANGEPLAIN]})\\s*$`),h("HYPHENRANGELOOSE",`^\\s*(${a[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${a[l.XRANGEPLAINLOOSE]})\\s*$`),h("STAR","(<|>)?=?\\s*\\*"),h("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),h("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(Qa,Qa.exports);var eo=Qa.exports;const DE=Object.freeze({loose:!0}),FE=Object.freeze({}),BE=e=>e?typeof e!="object"?DE:e:FE;var oc=BE;const of=/^[0-9]+$/,Vp=(e,t)=>{const n=of.test(e),r=of.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},HE=(e,t)=>Vp(t,e);var Wp={compareIdentifiers:Vp,rcompareIdentifiers:HE};const bo=Ri,{MAX_LENGTH:af,MAX_SAFE_INTEGER:wo}=Ai,{safeRe:lf,t:cf}=eo,UE=oc,{compareIdentifiers:nr}=Wp;let VE=class Mt{constructor(t,n){if(n=UE(n),t instanceof Mt){if(t.loose===!!n.loose&&t.includePrerelease===!!n.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>af)throw new TypeError(`version is longer than ${af} characters`);bo("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=t.trim().match(n.loose?lf[cf.LOOSE]:lf[cf.FULL]);if(!r)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>wo||this.major<0)throw new TypeError("Invalid major version");if(this.minor>wo||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>wo||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(s=>{if(/^[0-9]+$/.test(s)){const o=+s;if(o>=0&&o<wo)return o}return s}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(bo("SemVer.compare",this.version,this.options,t),!(t instanceof Mt)){if(typeof t=="string"&&t===this.version)return 0;t=new Mt(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof Mt||(t=new Mt(t,this.options)),nr(this.major,t.major)||nr(this.minor,t.minor)||nr(this.patch,t.patch)}comparePre(t){if(t instanceof Mt||(t=new Mt(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{const r=this.prerelease[n],s=t.prerelease[n];if(bo("prerelease compare",n,r,s),r===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(r===void 0)return-1;if(r===s)continue;return nr(r,s)}while(++n)}compareBuild(t){t instanceof Mt||(t=new Mt(t,this.options));let n=0;do{const r=this.build[n],s=t.build[n];if(bo("prerelease compare",n,r,s),r===void 0&&s===void 0)return 0;if(s===void 0)return 1;if(r===void 0)return-1;if(r===s)continue;return nr(r,s)}while(++n)}inc(t,n,r){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,r),this.inc("pre",n,r);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,r),this.inc("pre",n,r);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const s=Number(r)?1:0;if(!n&&r===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[s];else{let o=this.prerelease.length;for(;--o>=0;)typeof this.prerelease[o]=="number"&&(this.prerelease[o]++,o=-2);if(o===-1){if(n===this.prerelease.join(".")&&r===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(s)}}if(n){let o=[n,s];r===!1&&(o=[n]),nr(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=o):this.prerelease=o}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var ot=VE;const uf=ot,WE=(e,t,n=!1)=>{if(e instanceof uf)return e;try{return new uf(e,t)}catch(r){if(!n)return null;throw r}};var jr=WE;const GE=jr,zE=(e,t)=>{const n=GE(e,t);return n?n.version:null};var qE=zE;const KE=jr,XE=(e,t)=>{const n=KE(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var YE=XE;const ff=ot,JE=(e,t,n,r,s)=>{typeof n=="string"&&(s=r,r=n,n=void 0);try{return new ff(e instanceof ff?e.version:e,n).inc(t,r,s).version}catch{return null}};var QE=JE;const df=jr,ZE=(e,t)=>{const n=df(e,null,!0),r=df(t,null,!0),s=n.compare(r);if(s===0)return null;const o=s>0,i=o?n:r,a=o?r:n,l=!!i.prerelease.length;if(!!a.prerelease.length&&!l)return!a.patch&&!a.minor?"major":i.patch?"patch":i.minor?"minor":"major";const d=l?"pre":"";return n.major!==r.major?d+"major":n.minor!==r.minor?d+"minor":n.patch!==r.patch?d+"patch":"prerelease"};var ex=ZE;const tx=ot,nx=(e,t)=>new tx(e,t).major;var rx=nx;const sx=ot,ox=(e,t)=>new sx(e,t).minor;var ix=ox;const ax=ot,lx=(e,t)=>new ax(e,t).patch;var cx=lx;const ux=jr,fx=(e,t)=>{const n=ux(e,t);return n&&n.prerelease.length?n.prerelease:null};var dx=fx;const hf=ot,hx=(e,t,n)=>new hf(e,n).compare(new hf(t,n));var Ct=hx;const px=Ct,mx=(e,t,n)=>px(t,e,n);var gx=mx;const vx=Ct,_x=(e,t)=>vx(e,t,!0);var yx=_x;const pf=ot,bx=(e,t,n)=>{const r=new pf(e,n),s=new pf(t,n);return r.compare(s)||r.compareBuild(s)};var ic=bx;const wx=ic,Ex=(e,t)=>e.sort((n,r)=>wx(n,r,t));var xx=Ex;const Tx=ic,$x=(e,t)=>e.sort((n,r)=>Tx(r,n,t));var kx=$x;const Sx=Ct,Ax=(e,t,n)=>Sx(e,t,n)>0;var Pi=Ax;const Rx=Ct,Px=(e,t,n)=>Rx(e,t,n)<0;var ac=Px;const Nx=Ct,Ox=(e,t,n)=>Nx(e,t,n)===0;var Gp=Ox;const Lx=Ct,Cx=(e,t,n)=>Lx(e,t,n)!==0;var zp=Cx;const Ix=Ct,jx=(e,t,n)=>Ix(e,t,n)>=0;var lc=jx;const Mx=Ct,Dx=(e,t,n)=>Mx(e,t,n)<=0;var cc=Dx;const Fx=Gp,Bx=zp,Hx=Pi,Ux=lc,Vx=ac,Wx=cc,Gx=(e,t,n,r)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e===n;case"!==":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e!==n;case"":case"=":case"==":return Fx(e,n,r);case"!=":return Bx(e,n,r);case">":return Hx(e,n,r);case">=":return Ux(e,n,r);case"<":return Vx(e,n,r);case"<=":return Wx(e,n,r);default:throw new TypeError(`Invalid operator: ${t}`)}};var qp=Gx;const zx=ot,qx=jr,{safeRe:Eo,t:xo}=eo,Kx=(e,t)=>{if(e instanceof zx)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let n=null;if(!t.rtl)n=e.match(Eo[xo.COERCE]);else{let r;for(;(r=Eo[xo.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)(!n||r.index+r[0].length!==n.index+n[0].length)&&(n=r),Eo[xo.COERCERTL].lastIndex=r.index+r[1].length+r[2].length;Eo[xo.COERCERTL].lastIndex=-1}return n===null?null:qx(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};var Xx=Kx,oa,mf;function Yx(){return mf||(mf=1,oa=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}),oa}var Jx=Ae;Ae.Node=Kn;Ae.create=Ae;function Ae(e){var t=this;if(t instanceof Ae||(t=new Ae),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(s){t.push(s)});else if(arguments.length>0)for(var n=0,r=arguments.length;n<r;n++)t.push(arguments[n]);return t}Ae.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t};Ae.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};Ae.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};Ae.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)Zx(this,arguments[e]);return this.length};Ae.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)eT(this,arguments[e]);return this.length};Ae.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};Ae.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};Ae.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;n!==null;r++)e.call(t,n.value,r,this),n=n.next};Ae.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;n!==null;r--)e.call(t,n.value,r,this),n=n.prev};Ae.prototype.get=function(e){for(var t=0,n=this.head;n!==null&&t<e;t++)n=n.next;if(t===e&&n!==null)return n.value};Ae.prototype.getReverse=function(e){for(var t=0,n=this.tail;n!==null&&t<e;t++)n=n.prev;if(t===e&&n!==null)return n.value};Ae.prototype.map=function(e,t){t=t||this;for(var n=new Ae,r=this.head;r!==null;)n.push(e.call(t,r.value,this)),r=r.next;return n};Ae.prototype.mapReverse=function(e,t){t=t||this;for(var n=new Ae,r=this.tail;r!==null;)n.push(e.call(t,r.value,this)),r=r.prev;return n};Ae.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else if(this.head)r=this.head.next,n=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=0;r!==null;s++)n=e(n,r.value,s),r=r.next;return n};Ae.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else if(this.tail)r=this.tail.prev,n=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var s=this.length-1;r!==null;s--)n=e(n,r.value,s),r=r.prev;return n};Ae.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;n!==null;t++)e[t]=n.value,n=n.next;return e};Ae.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;n!==null;t++)e[t]=n.value,n=n.prev;return e};Ae.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new Ae;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=0,s=this.head;s!==null&&r<e;r++)s=s.next;for(;s!==null&&r<t;r++,s=s.next)n.push(s.value);return n};Ae.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new Ae;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=this.length,s=this.tail;s!==null&&r>t;r--)s=s.prev;for(;s!==null&&r>e;r--,s=s.prev)n.push(s.value);return n};Ae.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,s=this.head;s!==null&&r<e;r++)s=s.next;for(var o=[],r=0;s&&r<t;r++)o.push(s.value),s=this.removeNode(s);s===null&&(s=this.tail),s!==this.head&&s!==this.tail&&(s=s.prev);for(var r=0;r<n.length;r++)s=Qx(this,s,n[r]);return o};Ae.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;n!==null;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};function Qx(e,t,n){var r=t===e.head?new Kn(n,null,t,e):new Kn(n,t,t.next,e);return r.next===null&&(e.tail=r),r.prev===null&&(e.head=r),e.length++,r}function Zx(e,t){e.tail=new Kn(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function eT(e,t){e.head=new Kn(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function Kn(e,t,n,r){if(!(this instanceof Kn))return new Kn(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{Yx()(Ae)}catch{}const tT=Jx,Mn=Symbol("max"),Qt=Symbol("length"),rr=Symbol("lengthCalculator"),Ss=Symbol("allowStale"),Bn=Symbol("maxAge"),Jt=Symbol("dispose"),gf=Symbol("noDisposeOnSet"),Ge=Symbol("lruList"),Et=Symbol("cache"),Kp=Symbol("updateAgeOnGet"),ia=()=>1;class nT{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");this[Mn]=t.max||1/0;const n=t.length||ia;if(this[rr]=typeof n!="function"?ia:n,this[Ss]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[Bn]=t.maxAge||0,this[Jt]=t.dispose,this[gf]=t.noDisposeOnSet||!1,this[Kp]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[Mn]=t||1/0,Gr(this)}get max(){return this[Mn]}set allowStale(t){this[Ss]=!!t}get allowStale(){return this[Ss]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[Bn]=t,Gr(this)}get maxAge(){return this[Bn]}set lengthCalculator(t){typeof t!="function"&&(t=ia),t!==this[rr]&&(this[rr]=t,this[Qt]=0,this[Ge].forEach(n=>{n.length=this[rr](n.value,n.key),this[Qt]+=n.length})),Gr(this)}get lengthCalculator(){return this[rr]}get length(){return this[Qt]}get itemCount(){return this[Ge].length}rforEach(t,n){n=n||this;for(let r=this[Ge].tail;r!==null;){const s=r.prev;vf(this,t,r,n),r=s}}forEach(t,n){n=n||this;for(let r=this[Ge].head;r!==null;){const s=r.next;vf(this,t,r,n),r=s}}keys(){return this[Ge].toArray().map(t=>t.key)}values(){return this[Ge].toArray().map(t=>t.value)}reset(){this[Jt]&&this[Ge]&&this[Ge].length&&this[Ge].forEach(t=>this[Jt](t.key,t.value)),this[Et]=new Map,this[Ge]=new tT,this[Qt]=0}dump(){return this[Ge].map(t=>Zo(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[Ge]}set(t,n,r){if(r=r||this[Bn],r&&typeof r!="number")throw new TypeError("maxAge must be a number");const s=r?Date.now():0,o=this[rr](n,t);if(this[Et].has(t)){if(o>this[Mn])return mr(this,this[Et].get(t)),!1;const l=this[Et].get(t).value;return this[Jt]&&(this[gf]||this[Jt](t,l.value)),l.now=s,l.maxAge=r,l.value=n,this[Qt]+=o-l.length,l.length=o,this.get(t),Gr(this),!0}const i=new rT(t,n,o,s,r);return i.length>this[Mn]?(this[Jt]&&this[Jt](t,n),!1):(this[Qt]+=i.length,this[Ge].unshift(i),this[Et].set(t,this[Ge].head),Gr(this),!0)}has(t){if(!this[Et].has(t))return!1;const n=this[Et].get(t).value;return!Zo(this,n)}get(t){return aa(this,t,!0)}peek(t){return aa(this,t,!1)}pop(){const t=this[Ge].tail;return t?(mr(this,t),t.value):null}del(t){mr(this,this[Et].get(t))}load(t){this.reset();const n=Date.now();for(let r=t.length-1;r>=0;r--){const s=t[r],o=s.e||0;if(o===0)this.set(s.k,s.v);else{const i=o-n;i>0&&this.set(s.k,s.v,i)}}}prune(){this[Et].forEach((t,n)=>aa(this,n,!1))}}const aa=(e,t,n)=>{const r=e[Et].get(t);if(r){const s=r.value;if(Zo(e,s)){if(mr(e,r),!e[Ss])return}else n&&(e[Kp]&&(r.value.now=Date.now()),e[Ge].unshiftNode(r));return s.value}},Zo=(e,t)=>{if(!t||!t.maxAge&&!e[Bn])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[Bn]&&n>e[Bn]},Gr=e=>{if(e[Qt]>e[Mn])for(let t=e[Ge].tail;e[Qt]>e[Mn]&&t!==null;){const n=t.prev;mr(e,t),t=n}},mr=(e,t)=>{if(t){const n=t.value;e[Jt]&&e[Jt](n.key,n.value),e[Qt]-=n.length,e[Et].delete(n.key),e[Ge].removeNode(t)}};class rT{constructor(t,n,r,s,o){this.key=t,this.value=n,this.length=r,this.now=s,this.maxAge=o||0}}const vf=(e,t,n,r)=>{let s=n.value;Zo(e,s)&&(mr(e,n),e[Ss]||(s=void 0)),s&&t.call(r,s.value,s.key,e)};var sT=nT,la,_f;function It(){if(_f)return la;_f=1;class e{constructor(P,I){if(I=r(I),P instanceof e)return P.loose===!!I.loose&&P.includePrerelease===!!I.includePrerelease?P:new e(P.raw,I);if(P instanceof s)return this.raw=P.value,this.set=[[P]],this.format(),this;if(this.options=I,this.loose=!!I.loose,this.includePrerelease=!!I.includePrerelease,this.raw=P.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(j=>this.parseRange(j)).filter(j=>j.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const j=this.set[0];if(this.set=this.set.filter(F=>!p(F[0])),this.set.length===0)this.set=[j];else if(this.set.length>1){for(const F of this.set)if(F.length===1&&v(F[0])){this.set=[F];break}}}this.format()}format(){return this.range=this.set.map(P=>P.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(P){const j=((this.options.includePrerelease&&f)|(this.options.loose&&h))+":"+P,F=n.get(j);if(F)return F;const B=this.options.loose,z=B?a[l.HYPHENRANGELOOSE]:a[l.HYPHENRANGE];P=P.replace(z,S(this.options.includePrerelease)),o("hyphen replace",P),P=P.replace(a[l.COMPARATORTRIM],c),o("comparator trim",P),P=P.replace(a[l.TILDETRIM],d),o("tilde trim",P),P=P.replace(a[l.CARETTRIM],u),o("caret trim",P);let ae=P.split(" ").map(fe=>_(fe,this.options)).join(" ").split(/\s+/).map(fe=>k(fe,this.options));B&&(ae=ae.filter(fe=>(o("loose invalid filter",fe,this.options),!!fe.match(a[l.COMPARATORLOOSE])))),o("range list",ae);const te=new Map,re=ae.map(fe=>new s(fe,this.options));for(const fe of re){if(p(fe))return[fe];te.set(fe.value,fe)}te.size>1&&te.has("")&&te.delete("");const de=[...te.values()];return n.set(j,de),de}intersects(P,I){if(!(P instanceof e))throw new TypeError("a Range is required");return this.set.some(j=>w(j,I)&&P.set.some(F=>w(F,I)&&j.every(B=>F.every(z=>B.intersects(z,I)))))}test(P){if(!P)return!1;if(typeof P=="string")try{P=new i(P,this.options)}catch{return!1}for(let I=0;I<this.set.length;I++)if(A(this.set[I],P,this.options))return!0;return!1}}la=e;const t=sT,n=new t({max:1e3}),r=oc,s=Ni(),o=Ri,i=ot,{safeRe:a,t:l,comparatorTrimReplace:c,tildeTrimReplace:d,caretTrimReplace:u}=eo,{FLAG_INCLUDE_PRERELEASE:f,FLAG_LOOSE:h}=Ai,p=R=>R.value==="<0.0.0-0",v=R=>R.value==="",w=(R,P)=>{let I=!0;const j=R.slice();let F=j.pop();for(;I&&j.length;)I=j.every(B=>F.intersects(B,P)),F=j.pop();return I},_=(R,P)=>(o("comp",R,P),R=T(R,P),o("caret",R),R=b(R,P),o("tildes",R),R=$(R,P),o("xrange",R),R=E(R,P),o("stars",R),R),g=R=>!R||R.toLowerCase()==="x"||R==="*",b=(R,P)=>R.trim().split(/\s+/).map(I=>y(I,P)).join(" "),y=(R,P)=>{const I=P.loose?a[l.TILDELOOSE]:a[l.TILDE];return R.replace(I,(j,F,B,z,ae)=>{o("tilde",R,j,F,B,z,ae);let te;return g(F)?te="":g(B)?te=`>=${F}.0.0 <${+F+1}.0.0-0`:g(z)?te=`>=${F}.${B}.0 <${F}.${+B+1}.0-0`:ae?(o("replaceTilde pr",ae),te=`>=${F}.${B}.${z}-${ae} <${F}.${+B+1}.0-0`):te=`>=${F}.${B}.${z} <${F}.${+B+1}.0-0`,o("tilde return",te),te})},T=(R,P)=>R.trim().split(/\s+/).map(I=>m(I,P)).join(" "),m=(R,P)=>{o("caret",R,P);const I=P.loose?a[l.CARETLOOSE]:a[l.CARET],j=P.includePrerelease?"-0":"";return R.replace(I,(F,B,z,ae,te)=>{o("caret",R,F,B,z,ae,te);let re;return g(B)?re="":g(z)?re=`>=${B}.0.0${j} <${+B+1}.0.0-0`:g(ae)?B==="0"?re=`>=${B}.${z}.0${j} <${B}.${+z+1}.0-0`:re=`>=${B}.${z}.0${j} <${+B+1}.0.0-0`:te?(o("replaceCaret pr",te),B==="0"?z==="0"?re=`>=${B}.${z}.${ae}-${te} <${B}.${z}.${+ae+1}-0`:re=`>=${B}.${z}.${ae}-${te} <${B}.${+z+1}.0-0`:re=`>=${B}.${z}.${ae}-${te} <${+B+1}.0.0-0`):(o("no pr"),B==="0"?z==="0"?re=`>=${B}.${z}.${ae}${j} <${B}.${z}.${+ae+1}-0`:re=`>=${B}.${z}.${ae}${j} <${B}.${+z+1}.0-0`:re=`>=${B}.${z}.${ae} <${+B+1}.0.0-0`),o("caret return",re),re})},$=(R,P)=>(o("replaceXRanges",R,P),R.split(/\s+/).map(I=>x(I,P)).join(" ")),x=(R,P)=>{R=R.trim();const I=P.loose?a[l.XRANGELOOSE]:a[l.XRANGE];return R.replace(I,(j,F,B,z,ae,te)=>{o("xRange",R,j,F,B,z,ae,te);const re=g(B),de=re||g(z),fe=de||g(ae),_e=fe;return F==="="&&_e&&(F=""),te=P.includePrerelease?"-0":"",re?F===">"||F==="<"?j="<0.0.0-0":j="*":F&&_e?(de&&(z=0),ae=0,F===">"?(F=">=",de?(B=+B+1,z=0,ae=0):(z=+z+1,ae=0)):F==="<="&&(F="<",de?B=+B+1:z=+z+1),F==="<"&&(te="-0"),j=`${F+B}.${z}.${ae}${te}`):de?j=`>=${B}.0.0${te} <${+B+1}.0.0-0`:fe&&(j=`>=${B}.${z}.0${te} <${B}.${+z+1}.0-0`),o("xRange return",j),j})},E=(R,P)=>(o("replaceStars",R,P),R.trim().replace(a[l.STAR],"")),k=(R,P)=>(o("replaceGTE0",R,P),R.trim().replace(a[P.includePrerelease?l.GTE0PRE:l.GTE0],"")),S=R=>(P,I,j,F,B,z,ae,te,re,de,fe,_e,Ee)=>(g(j)?I="":g(F)?I=`>=${j}.0.0${R?"-0":""}`:g(B)?I=`>=${j}.${F}.0${R?"-0":""}`:z?I=`>=${I}`:I=`>=${I}${R?"-0":""}`,g(re)?te="":g(de)?te=`<${+re+1}.0.0-0`:g(fe)?te=`<${re}.${+de+1}.0-0`:_e?te=`<=${re}.${de}.${fe}-${_e}`:R?te=`<${re}.${de}.${+fe+1}-0`:te=`<=${te}`,`${I} ${te}`.trim()),A=(R,P,I)=>{for(let j=0;j<R.length;j++)if(!R[j].test(P))return!1;if(P.prerelease.length&&!I.includePrerelease){for(let j=0;j<R.length;j++)if(o(R[j].semver),R[j].semver!==s.ANY&&R[j].semver.prerelease.length>0){const F=R[j].semver;if(F.major===P.major&&F.minor===P.minor&&F.patch===P.patch)return!0}return!1}return!0};return la}var ca,yf;function Ni(){if(yf)return ca;yf=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(d,u){if(u=n(u),d instanceof t){if(d.loose===!!u.loose)return d;d=d.value}d=d.trim().split(/\s+/).join(" "),i("comparator",d,u),this.options=u,this.loose=!!u.loose,this.parse(d),this.semver===e?this.value="":this.value=this.operator+this.semver.version,i("comp",this)}parse(d){const u=this.options.loose?r[s.COMPARATORLOOSE]:r[s.COMPARATOR],f=d.match(u);if(!f)throw new TypeError(`Invalid comparator: ${d}`);this.operator=f[1]!==void 0?f[1]:"",this.operator==="="&&(this.operator=""),f[2]?this.semver=new a(f[2],this.options.loose):this.semver=e}toString(){return this.value}test(d){if(i("Comparator.test",d,this.options.loose),this.semver===e||d===e)return!0;if(typeof d=="string")try{d=new a(d,this.options)}catch{return!1}return o(d,this.operator,this.semver,this.options)}intersects(d,u){if(!(d instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new l(d.value,u).test(this.value):d.operator===""?d.value===""?!0:new l(this.value,u).test(d.semver):(u=n(u),u.includePrerelease&&(this.value==="<0.0.0-0"||d.value==="<0.0.0-0")||!u.includePrerelease&&(this.value.startsWith("<0.0.0")||d.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&d.operator.startsWith(">")||this.operator.startsWith("<")&&d.operator.startsWith("<")||this.semver.version===d.semver.version&&this.operator.includes("=")&&d.operator.includes("=")||o(this.semver,"<",d.semver,u)&&this.operator.startsWith(">")&&d.operator.startsWith("<")||o(this.semver,">",d.semver,u)&&this.operator.startsWith("<")&&d.operator.startsWith(">")))}}ca=t;const n=oc,{safeRe:r,t:s}=eo,o=qp,i=Ri,a=ot,l=It();return ca}const oT=It(),iT=(e,t,n)=>{try{t=new oT(t,n)}catch{return!1}return t.test(e)};var Oi=iT;const aT=It(),lT=(e,t)=>new aT(e,t).set.map(n=>n.map(r=>r.value).join(" ").trim().split(" "));var cT=lT;const uT=ot,fT=It(),dT=(e,t,n)=>{let r=null,s=null,o=null;try{o=new fT(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===-1)&&(r=i,s=new uT(r,n))}),r};var hT=dT;const pT=ot,mT=It(),gT=(e,t,n)=>{let r=null,s=null,o=null;try{o=new mT(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!r||s.compare(i)===1)&&(r=i,s=new pT(r,n))}),r};var vT=gT;const ua=ot,_T=It(),bf=Pi,yT=(e,t)=>{e=new _T(e,t);let n=new ua("0.0.0");if(e.test(n)||(n=new ua("0.0.0-0"),e.test(n)))return n;n=null;for(let r=0;r<e.set.length;++r){const s=e.set[r];let o=null;s.forEach(i=>{const a=new ua(i.semver.version);switch(i.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!o||bf(a,o))&&(o=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),o&&(!n||bf(n,o))&&(n=o)}return n&&e.test(n)?n:null};var bT=yT;const wT=It(),ET=(e,t)=>{try{return new wT(e,t).range||"*"}catch{return null}};var xT=ET;const TT=ot,Xp=Ni(),{ANY:$T}=Xp,kT=It(),ST=Oi,wf=Pi,Ef=ac,AT=cc,RT=lc,PT=(e,t,n,r)=>{e=new TT(e,r),t=new kT(t,r);let s,o,i,a,l;switch(n){case">":s=wf,o=AT,i=Ef,a=">",l=">=";break;case"<":s=Ef,o=RT,i=wf,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(ST(e,t,r))return!1;for(let c=0;c<t.set.length;++c){const d=t.set[c];let u=null,f=null;if(d.forEach(h=>{h.semver===$T&&(h=new Xp(">=0.0.0")),u=u||h,f=f||h,s(h.semver,u.semver,r)?u=h:i(h.semver,f.semver,r)&&(f=h)}),u.operator===a||u.operator===l||(!f.operator||f.operator===a)&&o(e,f.semver))return!1;if(f.operator===l&&i(e,f.semver))return!1}return!0};var uc=PT;const NT=uc,OT=(e,t,n)=>NT(e,t,">",n);var LT=OT;const CT=uc,IT=(e,t,n)=>CT(e,t,"<",n);var jT=IT;const xf=It(),MT=(e,t,n)=>(e=new xf(e,n),t=new xf(t,n),e.intersects(t,n));var DT=MT;const FT=Oi,BT=Ct;var HT=(e,t,n)=>{const r=[];let s=null,o=null;const i=e.sort((d,u)=>BT(d,u,n));for(const d of i)FT(d,t,n)?(o=d,s||(s=d)):(o&&r.push([s,o]),o=null,s=null);s&&r.push([s,null]);const a=[];for(const[d,u]of r)d===u?a.push(d):!u&&d===i[0]?a.push("*"):u?d===i[0]?a.push(`<=${u}`):a.push(`${d} - ${u}`):a.push(`>=${d}`);const l=a.join(" || "),c=typeof t.raw=="string"?t.raw:String(t);return l.length<c.length?l:t};const Tf=It(),fc=Ni(),{ANY:fa}=fc,zr=Oi,dc=Ct,UT=(e,t,n={})=>{if(e===t)return!0;e=new Tf(e,n),t=new Tf(t,n);let r=!1;e:for(const s of e.set){for(const o of t.set){const i=WT(s,o,n);if(r=r||i!==null,i)continue e}if(r)return!1}return!0},VT=[new fc(">=0.0.0-0")],$f=[new fc(">=0.0.0")],WT=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===fa){if(t.length===1&&t[0].semver===fa)return!0;n.includePrerelease?e=VT:e=$f}if(t.length===1&&t[0].semver===fa){if(n.includePrerelease)return!0;t=$f}const r=new Set;let s,o;for(const h of e)h.operator===">"||h.operator===">="?s=kf(s,h,n):h.operator==="<"||h.operator==="<="?o=Sf(o,h,n):r.add(h.semver);if(r.size>1)return null;let i;if(s&&o){if(i=dc(s.semver,o.semver,n),i>0)return null;if(i===0&&(s.operator!==">="||o.operator!=="<="))return null}for(const h of r){if(s&&!zr(h,String(s),n)||o&&!zr(h,String(o),n))return null;for(const p of t)if(!zr(h,String(p),n))return!1;return!0}let a,l,c,d,u=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1,f=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1;u&&u.prerelease.length===1&&o.operator==="<"&&u.prerelease[0]===0&&(u=!1);for(const h of t){if(d=d||h.operator===">"||h.operator===">=",c=c||h.operator==="<"||h.operator==="<=",s){if(f&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===f.major&&h.semver.minor===f.minor&&h.semver.patch===f.patch&&(f=!1),h.operator===">"||h.operator===">="){if(a=kf(s,h,n),a===h&&a!==s)return!1}else if(s.operator===">="&&!zr(s.semver,String(h),n))return!1}if(o){if(u&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===u.major&&h.semver.minor===u.minor&&h.semver.patch===u.patch&&(u=!1),h.operator==="<"||h.operator==="<="){if(l=Sf(o,h,n),l===h&&l!==o)return!1}else if(o.operator==="<="&&!zr(o.semver,String(h),n))return!1}if(!h.operator&&(o||s)&&i!==0)return!1}return!(s&&c&&!o&&i!==0||o&&d&&!s&&i!==0||f||u)},kf=(e,t,n)=>{if(!e)return t;const r=dc(e.semver,t.semver,n);return r>0?e:r<0||t.operator===">"&&e.operator===">="?t:e},Sf=(e,t,n)=>{if(!e)return t;const r=dc(e.semver,t.semver,n);return r<0?e:r>0||t.operator==="<"&&e.operator==="<="?t:e};var GT=UT;const da=eo,Af=Ai,zT=ot,Rf=Wp,qT=jr,KT=qE,XT=YE,YT=QE,JT=ex,QT=rx,ZT=ix,e$=cx,t$=dx,n$=Ct,r$=gx,s$=yx,o$=ic,i$=xx,a$=kx,l$=Pi,c$=ac,u$=Gp,f$=zp,d$=lc,h$=cc,p$=qp,m$=Xx,g$=Ni(),v$=It(),_$=Oi,y$=cT,b$=hT,w$=vT,E$=bT,x$=xT,T$=uc,$$=LT,k$=jT,S$=DT,A$=HT,R$=GT;var P$={parse:qT,valid:KT,clean:XT,inc:YT,diff:JT,major:QT,minor:ZT,patch:e$,prerelease:t$,compare:n$,rcompare:r$,compareLoose:s$,compareBuild:o$,sort:i$,rsort:a$,gt:l$,lt:c$,eq:u$,neq:f$,gte:d$,lte:h$,cmp:p$,coerce:m$,Comparator:g$,Range:v$,satisfies:_$,toComparators:y$,maxSatisfying:b$,minSatisfying:w$,minVersion:E$,validRange:x$,outside:T$,gtr:$$,ltr:k$,intersects:S$,simplifyRange:A$,subset:R$,SemVer:zT,re:da.re,src:da.src,tokens:da.t,SEMVER_SPEC_VERSION:Af.SEMVER_SPEC_VERSION,RELEASE_TYPES:Af.RELEASE_TYPES,compareIdentifiers:Rf.compareIdentifiers,rcompareIdentifiers:Rf.rcompareIdentifiers};const N$=RE(P$),ha=new Map;function B2(e,t){const n=e;return ha.has(n)||ha.set(n,C$(e,t)),ha.get(n)}function O$(){return pt("npm:check:nuxt",()=>Fe.checkForUpdateFor("nuxt"))}function L$(e){const t=O$();return pe(()=>t?.value?.current?N$.satisfies(t.value.current,e):!1)}function C$(e,t){const n=Pe(),r=pt(`npm:check:${e}`,()=>Fe.checkForUpdateFor(e)),s=ee("idle"),o=ee();n.hook("devtools:terminal:exit",({id:l,code:c})=>{l!==o||!o||(s.value=c===0?"updated":"idle")});async function i(l){if(s.value!=="idle")return;const c=await Fe.getNpmCommand("update",e,t);if(c&&await l(c.join(" ")))return s.value="running",o.value=(await Fe.runNpmCommand(await NE(),"update",e,t))?.processId,o.value}async function a(){s.value==="updated"&&await Fe.restartNuxt()}return{info:r,state:s,update:i,restart:a,processId:o}}const qr={icon:"carbon-edge-node",title:"Build Analyze",layout:"full",category:"analyze",show(){return L$("^3.5.0")}},Kr={icon:"carbon-image-copy",title:"Assets",layout:"full"},Xr={icon:"i-carbon-assembly-cluster",title:"Components",order:2},Yr={layout:"full"},Jr={icon:"carbon-ibm-cloud-direct-link-2-connect",title:"Hooks",category:"advanced"},Qr={icon:"carbon-function",title:"Imports",order:3},Zr={icon:"carbon-layers",title:"Middleware",wip:!0},es={icon:"carbon-3d-mpr-toggle",title:"Modules",order:4},Li=()=>Ir("color-mode").value,Za=ee();let Pf;function I$(){Pf||(Pf=(async()=>{const{default:e}=await Re(()=>import("./index.bb6f436a.js").then(t=>t.i),[],import.meta.url);Za.value=new e({html:!0,linkify:!0,breaks:!0})})())}function j$(e){return I$(),Za.value?Za.value.render(e):e}var Yp=typeof globalThis<"u"?globalThis:typeof{}<"u"?{}:typeof global<"u"?global:typeof self<"u"?self:{},As={},M$={get exports(){return As},set exports(e){As=e}};(function(e,t){(function(n,r){e.exports=r()})(Yp,()=>{return n={770:function(s,o,i){var a=this&&this.__importDefault||function(w){return w&&w.__esModule?w:{default:w}};Object.defineProperty(o,"__esModule",{value:!0}),o.setDefaultDebugCall=o.createOnigScanner=o.createOnigString=o.loadWASM=o.OnigScanner=o.OnigString=void 0;const l=a(i(418));let c=null,d=!1;class u{static _utf8ByteLength(_){let g=0;for(let b=0,y=_.length;b<y;b++){const T=_.charCodeAt(b);let m=T,$=!1;if(T>=55296&&T<=56319&&b+1<y){const x=_.charCodeAt(b+1);x>=56320&&x<=57343&&(m=65536+(T-55296<<10)|x-56320,$=!0)}g+=m<=127?1:m<=2047?2:m<=65535?3:4,$&&b++}return g}constructor(_){const g=_.length,b=u._utf8ByteLength(_),y=b!==g,T=y?new Uint32Array(g+1):null;y&&(T[g]=b);const m=y?new Uint32Array(b+1):null;y&&(m[b]=g);const $=new Uint8Array(b);let x=0;for(let E=0;E<g;E++){const k=_.charCodeAt(E);let S=k,A=!1;if(k>=55296&&k<=56319&&E+1<g){const R=_.charCodeAt(E+1);R>=56320&&R<=57343&&(S=65536+(k-55296<<10)|R-56320,A=!0)}y&&(T[E]=x,A&&(T[E+1]=x),S<=127?m[x+0]=E:S<=2047?(m[x+0]=E,m[x+1]=E):S<=65535?(m[x+0]=E,m[x+1]=E,m[x+2]=E):(m[x+0]=E,m[x+1]=E,m[x+2]=E,m[x+3]=E)),S<=127?$[x++]=S:S<=2047?($[x++]=192|(1984&S)>>>6,$[x++]=128|(63&S)>>>0):S<=65535?($[x++]=224|(61440&S)>>>12,$[x++]=128|(4032&S)>>>6,$[x++]=128|(63&S)>>>0):($[x++]=240|(1835008&S)>>>18,$[x++]=128|(258048&S)>>>12,$[x++]=128|(4032&S)>>>6,$[x++]=128|(63&S)>>>0),A&&E++}this.utf16Length=g,this.utf8Length=b,this.utf16Value=_,this.utf8Value=$,this.utf16OffsetToUtf8=T,this.utf8OffsetToUtf16=m}createString(_){const g=_._omalloc(this.utf8Length);return _.HEAPU8.set(this.utf8Value,g),g}}class f{constructor(_){if(this.id=++f.LAST_ID,!c)throw new Error("Must invoke loadWASM first.");this._onigBinding=c,this.content=_;const g=new u(_);this.utf16Length=g.utf16Length,this.utf8Length=g.utf8Length,this.utf16OffsetToUtf8=g.utf16OffsetToUtf8,this.utf8OffsetToUtf16=g.utf8OffsetToUtf16,this.utf8Length<1e4&&!f._sharedPtrInUse?(f._sharedPtr||(f._sharedPtr=c._omalloc(1e4)),f._sharedPtrInUse=!0,c.HEAPU8.set(g.utf8Value,f._sharedPtr),this.ptr=f._sharedPtr):this.ptr=g.createString(c)}convertUtf8OffsetToUtf16(_){return this.utf8OffsetToUtf16?_<0?0:_>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[_]:_}convertUtf16OffsetToUtf8(_){return this.utf16OffsetToUtf8?_<0?0:_>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[_]:_}dispose(){this.ptr===f._sharedPtr?f._sharedPtrInUse=!1:this._onigBinding._ofree(this.ptr)}}o.OnigString=f,f.LAST_ID=0,f._sharedPtr=0,f._sharedPtrInUse=!1;class h{constructor(_){if(!c)throw new Error("Must invoke loadWASM first.");const g=[],b=[];for(let $=0,x=_.length;$<x;$++){const E=new u(_[$]);g[$]=E.createString(c),b[$]=E.utf8Length}const y=c._omalloc(4*_.length);c.HEAPU32.set(g,y/4);const T=c._omalloc(4*_.length);c.HEAPU32.set(b,T/4);const m=c._createOnigScanner(y,T,_.length);for(let $=0,x=_.length;$<x;$++)c._ofree(g[$]);c._ofree(T),c._ofree(y),m===0&&function($){throw new Error($.UTF8ToString($._getLastOnigError()))}(c),this._onigBinding=c,this._ptr=m}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(_,g,b){let y=d,T=0;if(typeof b=="number"?(8&b&&(y=!0),T=b):typeof b=="boolean"&&(y=b),typeof _=="string"){_=new f(_);const m=this._findNextMatchSync(_,g,y,T);return _.dispose(),m}return this._findNextMatchSync(_,g,y,T)}_findNextMatchSync(_,g,b,y){const T=this._onigBinding;let m;if(m=b?T._findNextOnigScannerMatchDbg(this._ptr,_.id,_.ptr,_.utf8Length,_.convertUtf16OffsetToUtf8(g),y):T._findNextOnigScannerMatch(this._ptr,_.id,_.ptr,_.utf8Length,_.convertUtf16OffsetToUtf8(g),y),m===0)return null;const $=T.HEAPU32;let x=m/4;const E=$[x++],k=$[x++];let S=[];for(let A=0;A<k;A++){const R=_.convertUtf8OffsetToUtf16($[x++]),P=_.convertUtf8OffsetToUtf16($[x++]);S[A]={start:R,end:P,length:P-R}}return{index:E,captureIndices:S}}}o.OnigScanner=h;let p=!1,v=null;o.loadWASM=function(w){if(p)return v;let _,g,b,y;if(p=!0,function(T){return typeof T.instantiator=="function"}(w))_=w.instantiator,g=w.print;else{let T;(function(m){return m.data!==void 0})(w)?(T=w.data,g=w.print):T=w,_=function(m){return typeof Response<"u"&&m instanceof Response}(T)?typeof WebAssembly.instantiateStreaming=="function"?function(m){return $=>WebAssembly.instantiateStreaming(m,$)}(T):function(m){return async $=>{const x=await m.arrayBuffer();return WebAssembly.instantiate(x,$)}}(T):function(m){return $=>WebAssembly.instantiate(m,$)}(T)}return v=new Promise((T,m)=>{b=T,y=m}),function(T,m,$,x){(0,l.default)({print:m,instantiateWasm:(E,k)=>{if(typeof performance>"u"){const S=()=>Date.now();E.env.emscripten_get_now=S,E.wasi_snapshot_preview1.emscripten_get_now=S}return T(E).then(S=>k(S.instance),x),{}}}).then(E=>{c=E,$()})}(_,g,b,y),v},o.createOnigString=function(w){return new f(w)},o.createOnigScanner=function(w){return new h(w)},o.setDefaultDebugCall=function(w){d=w}},418:s=>{var o=(typeof document<"u"&&document.currentScript&&document.currentScript.src,function(i){var a,l,c=(i=i||{})!==void 0?i:{};c.ready=new Promise(function(M,V){a=M,l=V});var d,u=Object.assign({},c),f=!1,h="";function p(M){return c.locateFile?c.locateFile(M,h):h+M}d=function(M){let V;return typeof readbuffer=="function"?new Uint8Array(readbuffer(M)):(V=read(M,"binary"),y(typeof V=="object"),V)},typeof scriptArgs<"u"&&scriptArgs,typeof onig_print<"u"&&(typeof console>"u"&&(console={}),console.log=onig_print,console.warn=console.error=typeof printErr<"u"?printErr:onig_print);var v,w,_=c.print||console.log.bind(console),g=c.printErr||console.warn.bind(console);Object.assign(c,u),u=null,c.arguments&&c.arguments,c.thisProgram&&c.thisProgram,c.quit&&c.quit,c.wasmBinary&&(v=c.wasmBinary),c.noExitRuntime,typeof WebAssembly!="object"&&_e("no native wasm support detected");var b=!1;function y(M,V){M||_e(V)}var T,m,$,x=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function E(M,V,q){for(var ne=V+q,X=V;M[X]&&!(X>=ne);)++X;if(X-V>16&&M.buffer&&x)return x.decode(M.subarray(V,X));for(var Q="";V<X;){var ge=M[V++];if(128&ge){var Le=63&M[V++];if((224&ge)!=192){var be=63&M[V++];if((ge=(240&ge)==224?(15&ge)<<12|Le<<6|be:(7&ge)<<18|Le<<12|be<<6|63&M[V++])<65536)Q+=String.fromCharCode(ge);else{var me=ge-65536;Q+=String.fromCharCode(55296|me>>10,56320|1023&me)}}else Q+=String.fromCharCode((31&ge)<<6|Le)}else Q+=String.fromCharCode(ge)}return Q}function k(M,V){return M?E(m,M,V):""}function S(M){T=M,c.HEAP8=new Int8Array(M),c.HEAP16=new Int16Array(M),c.HEAP32=new Int32Array(M),c.HEAPU8=m=new Uint8Array(M),c.HEAPU16=new Uint16Array(M),c.HEAPU32=$=new Uint32Array(M),c.HEAPF32=new Float32Array(M),c.HEAPF64=new Float64Array(M)}c.INITIAL_MEMORY;var A=[],R=[],P=[];function I(){if(c.preRun)for(typeof c.preRun=="function"&&(c.preRun=[c.preRun]);c.preRun.length;)B(c.preRun.shift());O(A)}function j(){O(R)}function F(){if(c.postRun)for(typeof c.postRun=="function"&&(c.postRun=[c.postRun]);c.postRun.length;)ae(c.postRun.shift());O(P)}function B(M){A.unshift(M)}function z(M){R.unshift(M)}function ae(M){P.unshift(M)}var te=0,re=null;function de(M){te++,c.monitorRunDependencies&&c.monitorRunDependencies(te)}function fe(M){if(te--,c.monitorRunDependencies&&c.monitorRunDependencies(te),te==0&&re){var V=re;re=null,V()}}function _e(M){c.onAbort&&c.onAbort(M),g(M="Aborted("+M+")"),b=!0,M+=". Build with -sASSERTIONS for more info.";var V=new WebAssembly.RuntimeError(M);throw l(V),V}var Ee,L,J="data:application/octet-stream;base64,";function W(M){return M.startsWith(J)}function le(M){try{if(M==Ee&&v)return new Uint8Array(v);if(d)return d(M);throw"both async and sync fetching of the wasm failed"}catch(V){_e(V)}}function xe(){return v||!f||typeof fetch!="function"?Promise.resolve().then(function(){return le(Ee)}):fetch(Ee,{credentials:"same-origin"}).then(function(M){if(!M.ok)throw"failed to load wasm binary file at '"+Ee+"'";return M.arrayBuffer()}).catch(function(){return le(Ee)})}function N(){var M={env:G,wasi_snapshot_preview1:G};function V(X,Q){var ge=X.exports;c.asm=ge,S((w=c.asm.memory).buffer),c.asm.__indirect_function_table,z(c.asm.__wasm_call_ctors),fe()}function q(X){V(X.instance)}function ne(X){return xe().then(function(Q){return WebAssembly.instantiate(Q,M)}).then(function(Q){return Q}).then(X,function(Q){g("failed to asynchronously prepare wasm: "+Q),_e(Q)})}if(de(),c.instantiateWasm)try{return c.instantiateWasm(M,V)}catch(X){g("Module.instantiateWasm callback failed with error: "+X),l(X)}return(v||typeof WebAssembly.instantiateStreaming!="function"||W(Ee)||typeof fetch!="function"?ne(q):fetch(Ee,{credentials:"same-origin"}).then(function(X){return WebAssembly.instantiateStreaming(X,M).then(q,function(Q){return g("wasm streaming compile failed: "+Q),g("falling back to ArrayBuffer instantiation"),ne(q)})})).catch(l),{}}function O(M){for(;M.length>0;)M.shift()(c)}function C(M,V,q){m.copyWithin(M,V,V+q)}function D(M){try{return w.grow(M-T.byteLength+65535>>>16),S(w.buffer),1}catch{}}function H(M){var V,q=m.length,ne=2147483648;if((M>>>=0)>ne)return!1;for(var X=1;X<=4;X*=2){var Q=q*(1+.2/X);if(Q=Math.min(Q,M+100663296),D(Math.min(ne,(V=Math.max(M,Q))+(65536-V%65536)%65536)))return!0}return!1}W(Ee="onig.wasm")||(Ee=p(Ee)),L=typeof dateNow<"u"?dateNow:()=>performance.now();var U=[null,[],[]];function Z(M,V){var q=U[M];V===0||V===10?((M===1?_:g)(E(q,0)),q.length=0):q.push(V)}function Y(M,V,q,ne){for(var X=0,Q=0;Q<q;Q++){var ge=$[V>>2],Le=$[V+4>>2];V+=8;for(var be=0;be<Le;be++)Z(M,m[ge+be]);X+=Le}return $[ne>>2]=X,0}var K,G={emscripten_get_now:L,emscripten_memcpy_big:C,emscripten_resize_heap:H,fd_write:Y};function ie(M){function V(){K||(K=!0,c.calledRun=!0,b||(j(),a(c),c.onRuntimeInitialized&&c.onRuntimeInitialized(),F()))}te>0||(I(),te>0||(c.setStatus?(c.setStatus("Running..."),setTimeout(function(){setTimeout(function(){c.setStatus("")},1),V()},1)):V()))}if(N(),c.___wasm_call_ctors=function(){return(c.___wasm_call_ctors=c.asm.__wasm_call_ctors).apply(null,arguments)},c.___errno_location=function(){return(c.___errno_location=c.asm.__errno_location).apply(null,arguments)},c._omalloc=function(){return(c._omalloc=c.asm.omalloc).apply(null,arguments)},c._ofree=function(){return(c._ofree=c.asm.ofree).apply(null,arguments)},c._getLastOnigError=function(){return(c._getLastOnigError=c.asm.getLastOnigError).apply(null,arguments)},c._createOnigScanner=function(){return(c._createOnigScanner=c.asm.createOnigScanner).apply(null,arguments)},c._freeOnigScanner=function(){return(c._freeOnigScanner=c.asm.freeOnigScanner).apply(null,arguments)},c._findNextOnigScannerMatch=function(){return(c._findNextOnigScannerMatch=c.asm.findNextOnigScannerMatch).apply(null,arguments)},c._findNextOnigScannerMatchDbg=function(){return(c._findNextOnigScannerMatchDbg=c.asm.findNextOnigScannerMatchDbg).apply(null,arguments)},c.stackSave=function(){return(c.stackSave=c.asm.stackSave).apply(null,arguments)},c.stackRestore=function(){return(c.stackRestore=c.asm.stackRestore).apply(null,arguments)},c.stackAlloc=function(){return(c.stackAlloc=c.asm.stackAlloc).apply(null,arguments)},c.dynCall_jiji=function(){return(c.dynCall_jiji=c.asm.dynCall_jiji).apply(null,arguments)},c.UTF8ToString=k,re=function M(){K||ie(),K||(re=M)},c.preInit)for(typeof c.preInit=="function"&&(c.preInit=[c.preInit]);c.preInit.length>0;)c.preInit.pop()();return ie(),i.ready});s.exports=o}},r={},function s(o){var i=r[o];if(i!==void 0)return i.exports;var a=r[o]={exports:{}};return n[o].call(a.exports,a,a.exports,s),a.exports}(770);var n,r})})(M$);var ei={},D$={get exports(){return ei},set exports(e){ei=e}};(function(e,t){(function(n,r){e.exports=r()})(Yp,function(){return(()=>{var n={350:(s,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.UseOnigurumaFindOptions=o.DebugFlags=void 0,o.DebugFlags={InDebugMode:typeof process<"u"&&!1},o.UseOnigurumaFindOptions=!1},36:(s,o)=>{var i;Object.defineProperty(o,"__esModule",{value:!0}),o.toOptionalTokenType=o.EncodedTokenAttributes=void 0,(i=o.EncodedTokenAttributes||(o.EncodedTokenAttributes={})).toBinaryStr=function(a){let l=a.toString(2);for(;l.length<32;)l="0"+l;return l},i.print=function(a){const l=i.getLanguageId(a),c=i.getTokenType(a),d=i.getFontStyle(a),u=i.getForeground(a),f=i.getBackground(a);console.log({languageId:l,tokenType:c,fontStyle:d,foreground:u,background:f})},i.getLanguageId=function(a){return(255&a)>>>0},i.getTokenType=function(a){return(768&a)>>>8},i.containsBalancedBrackets=function(a){return(1024&a)!=0},i.getFontStyle=function(a){return(30720&a)>>>11},i.getForeground=function(a){return(16744448&a)>>>15},i.getBackground=function(a){return(4278190080&a)>>>24},i.set=function(a,l,c,d,u,f,h){let p=i.getLanguageId(a),v=i.getTokenType(a),w=i.containsBalancedBrackets(a)?1:0,_=i.getFontStyle(a),g=i.getForeground(a),b=i.getBackground(a);return l!==0&&(p=l),c!==8&&(v=c),d!==null&&(w=d?1:0),u!==-1&&(_=u),f!==0&&(g=f),h!==0&&(b=h),(p<<0|v<<8|w<<10|_<<11|g<<15|b<<24)>>>0},o.toOptionalTokenType=function(a){return a}},996:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.BasicScopeAttributesProvider=o.BasicScopeAttributes=void 0;const a=i(878);class l{constructor(f,h){this.languageId=f,this.tokenType=h}}o.BasicScopeAttributes=l;class c{constructor(f,h){this._getBasicScopeAttributes=new a.CachedFn(p=>{const v=this._scopeToLanguage(p),w=this._toStandardTokenType(p);return new l(v,w)}),this._defaultAttributes=new l(f,8),this._embeddedLanguagesMatcher=new d(Object.entries(h||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(f){return f===null?c._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(f)}_scopeToLanguage(f){return this._embeddedLanguagesMatcher.match(f)||0}_toStandardTokenType(f){const h=f.match(c.STANDARD_TOKEN_TYPE_REGEXP);if(!h)return 8;switch(h[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!")}}o.BasicScopeAttributesProvider=c,c._NULL_SCOPE_METADATA=new l(0,0),c.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;class d{constructor(f){if(f.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(f);const h=f.map(([p,v])=>a.escapeRegExpCharacters(p));h.sort(),h.reverse(),this.scopesRegExp=new RegExp(`^((${h.join(")|(")}))($|\\.)`,"")}}match(f){if(!this.scopesRegExp)return;const h=f.match(this.scopesRegExp);return h?this.values.get(h[1]):void 0}}},947:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LineTokens=o.BalancedBracketSelectors=o.StateStack=o.AttributedScopeStack=o.Grammar=o.createGrammar=void 0;const a=i(350),l=i(36),c=i(736),d=i(44),u=i(792),f=i(583),h=i(878),p=i(996),v=i(47);function w(x,E,k,S,A){const R=c.createMatchers(E,_),P=u.RuleFactory.getCompiledRuleId(k,S,A.repository);for(const I of R)x.push({debugSelector:E,matcher:I.matcher,ruleId:P,grammar:A,priority:I.priority})}function _(x,E){if(E.length<x.length)return!1;let k=0;return x.every(S=>{for(let A=k;A<E.length;A++)if(g(E[A],S))return k=A+1,!0;return!1})}function g(x,E){if(!x)return!1;if(x===E)return!0;const k=E.length;return x.length>k&&x.substr(0,k)===E&&x[k]==="."}o.createGrammar=function(x,E,k,S,A,R,P,I){return new b(x,E,k,S,A,R,P,I)};class b{constructor(E,k,S,A,R,P,I,j){if(this._rootScopeName=E,this.balancedBracketSelectors=P,this._onigLib=j,this._basicScopeAttributesProvider=new p.BasicScopeAttributesProvider(S,A),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=I,this._grammar=y(k,null),this._injections=null,this._tokenTypeMatchers=[],R)for(const F of Object.keys(R)){const B=c.createMatchers(F,_);for(const z of B)this._tokenTypeMatchers.push({matcher:z.matcher,type:R[F]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const E of this._ruleId2desc)E&&E.dispose()}createOnigScanner(E){return this._onigLib.createOnigScanner(E)}createOnigString(E){return this._onigLib.createOnigString(E)}getMetadataForScope(E){return this._basicScopeAttributesProvider.getBasicScopeAttributes(E)}_collectInjections(){const E=[],k=this._rootScopeName,S=(A=>A===this._rootScopeName?this._grammar:this.getExternalGrammar(A))(k);if(S){const A=S.injections;if(A)for(let P in A)w(E,P,A[P],this,S);const R=this._grammarRepository.injections(k);R&&R.forEach(P=>{const I=this.getExternalGrammar(P);if(I){const j=I.injectionSelector;j&&w(E,j,I,this,I)}})}return E.sort((A,R)=>A.priority-R.priority),E}getInjections(){if(this._injections===null&&(this._injections=this._collectInjections(),a.DebugFlags.InDebugMode&&this._injections.length>0)){console.log(`Grammar ${this._rootScopeName} contains the following injections:`);for(const E of this._injections)console.log(` - ${E.debugSelector}`)}return this._injections}registerRule(E){const k=++this._lastRuleId,S=E(u.ruleIdFromNumber(k));return this._ruleId2desc[k]=S,S}getRule(E){return this._ruleId2desc[u.ruleIdToNumber(E)]}getExternalGrammar(E,k){if(this._includedGrammars[E])return this._includedGrammars[E];if(this._grammarRepository){const S=this._grammarRepository.lookup(E);if(S)return this._includedGrammars[E]=y(S,k&&k.$base),this._includedGrammars[E]}}tokenizeLine(E,k,S=0){const A=this._tokenize(E,k,!1,S);return{tokens:A.lineTokens.getResult(A.ruleStack,A.lineLength),ruleStack:A.ruleStack,stoppedEarly:A.stoppedEarly}}tokenizeLine2(E,k,S=0){const A=this._tokenize(E,k,!0,S);return{tokens:A.lineTokens.getBinaryResult(A.ruleStack,A.lineLength),ruleStack:A.ruleStack,stoppedEarly:A.stoppedEarly}}_tokenize(E,k,S,A){let R;if(this._rootId===-1&&(this._rootId=u.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),k&&k!==m.NULL)R=!1,k.reset();else{R=!0;const B=this._basicScopeAttributesProvider.getDefaultAttributes(),z=this.themeProvider.getDefaults(),ae=l.EncodedTokenAttributes.set(0,B.languageId,B.tokenType,null,z.fontStyle,z.foregroundId,z.backgroundId),te=this.getRule(this._rootId).getName(null,null);let re;re=te?T.createRootAndLookUpScopeName(te,ae,this):T.createRoot("unknown",ae),k=new m(null,this._rootId,-1,-1,!1,null,re,re)}E+=`
|
|
8
|
-
`;const P=this.createOnigString(E),I=P.content.length,j=new $(S,E,this._tokenTypeMatchers,this.balancedBracketSelectors),F=v._tokenizeString(this,P,R,0,k,j,!0,A);return d.disposeOnigString(P),{lineLength:I,lineTokens:j,ruleStack:F.stack,stoppedEarly:F.stoppedEarly}}}function y(x,E){return(x=h.clone(x)).repository=x.repository||{},x.repository.$self={$vscodeTextmateLocation:x.$vscodeTextmateLocation,patterns:x.patterns,name:x.scopeName},x.repository.$base=E||x.repository.$self,x}o.Grammar=b;class T{constructor(E,k,S){this.parent=E,this.scopePath=k,this.tokenAttributes=S}static createRoot(E,k){return new T(null,new f.ScopeStack(null,E),k)}static createRootAndLookUpScopeName(E,k,S){const A=S.getMetadataForScope(E),R=new f.ScopeStack(null,E),P=S.themeProvider.themeMatch(R),I=T.mergeAttributes(k,A,P);return new T(null,R,I)}get scopeName(){return this.scopePath.scopeName}equals(E){return T._equals(this,E)}static _equals(E,k){for(;;){if(E===k||!E&&!k)return!0;if(!E||!k||E.scopeName!==k.scopeName||E.tokenAttributes!==k.tokenAttributes)return!1;E=E.parent,k=k.parent}}static mergeAttributes(E,k,S){let A=-1,R=0,P=0;return S!==null&&(A=S.fontStyle,R=S.foregroundId,P=S.backgroundId),l.EncodedTokenAttributes.set(E,k.languageId,k.tokenType,null,A,R,P)}pushAttributed(E,k){if(E===null)return this;if(E.indexOf(" ")===-1)return T._pushAttributed(this,E,k);const S=E.split(/ /g);let A=this;for(const R of S)A=T._pushAttributed(A,R,k);return A}static _pushAttributed(E,k,S){const A=S.getMetadataForScope(k),R=E.scopePath.push(k),P=S.themeProvider.themeMatch(R),I=T.mergeAttributes(E.tokenAttributes,A,P);return new T(E,R,I)}getScopeNames(){return this.scopePath.getSegments()}}o.AttributedScopeStack=T;class m{constructor(E,k,S,A,R,P,I,j){this.parent=E,this.ruleId=k,this.beginRuleCapturedEOL=R,this.endRule=P,this.nameScopesList=I,this.contentNameScopesList=j,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=S,this._anchorPos=A}equals(E){return E!==null&&m._equals(this,E)}static _equals(E,k){return E===k||!!this._structuralEquals(E,k)&&E.contentNameScopesList.equals(k.contentNameScopesList)}static _structuralEquals(E,k){for(;;){if(E===k||!E&&!k)return!0;if(!E||!k||E.depth!==k.depth||E.ruleId!==k.ruleId||E.endRule!==k.endRule)return!1;E=E.parent,k=k.parent}}clone(){return this}static _reset(E){for(;E;)E._enterPos=-1,E._anchorPos=-1,E=E.parent}reset(){m._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(E,k,S,A,R,P,I){return new m(this,E,k,S,A,R,P,I)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(E){return E.getRule(this.ruleId)}toString(){const E=[];return this._writeString(E,0),"["+E.join(",")+"]"}_writeString(E,k){return this.parent&&(k=this.parent._writeString(E,k)),E[k++]=`(${this.ruleId}, TODO-${this.nameScopesList}, TODO-${this.contentNameScopesList})`,k}withContentNameScopesList(E){return this.contentNameScopesList===E?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,E)}withEndRule(E){return this.endRule===E?this:new m(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,E,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(E){let k=this;for(;k&&k._enterPos===E._enterPos;){if(k.ruleId===E.ruleId)return!0;k=k.parent}return!1}}o.StateStack=m,m.NULL=new m(null,0,0,0,!1,null,null,null),o.BalancedBracketSelectors=class{constructor(x,E){this.allowAny=!1,this.balancedBracketScopes=x.flatMap(k=>k==="*"?(this.allowAny=!0,[]):c.createMatchers(k,_).map(S=>S.matcher)),this.unbalancedBracketScopes=E.flatMap(k=>c.createMatchers(k,_).map(S=>S.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(x){for(const E of this.unbalancedBracketScopes)if(E(x))return!1;for(const E of this.balancedBracketScopes)if(E(x))return!0;return this.allowAny}};class ${constructor(E,k,S,A){this.balancedBracketSelectors=A,this._emitBinaryTokens=E,this._tokenTypeOverrides=S,a.DebugFlags.InDebugMode?this._lineText=k:this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(E,k){this.produceFromScopes(E.contentNameScopesList,k)}produceFromScopes(E,k){if(this._lastTokenEndIndex>=k)return;if(this._emitBinaryTokens){let A=E.tokenAttributes,R=!1;if(this.balancedBracketSelectors?.matchesAlways&&(R=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const P=E.getScopeNames();for(const I of this._tokenTypeOverrides)I.matcher(P)&&(A=l.EncodedTokenAttributes.set(A,0,l.toOptionalTokenType(I.type),null,-1,0,0));this.balancedBracketSelectors&&(R=this.balancedBracketSelectors.match(P))}if(R&&(A=l.EncodedTokenAttributes.set(A,0,8,R,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===A)return void(this._lastTokenEndIndex=k);if(a.DebugFlags.InDebugMode){const P=E.getScopeNames();console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,k).replace(/\n$/,"\\n")+"|");for(let I=0;I<P.length;I++)console.log(" * "+P[I])}return this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(A),void(this._lastTokenEndIndex=k)}const S=E.getScopeNames();if(a.DebugFlags.InDebugMode){console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,k).replace(/\n$/,"\\n")+"|");for(let A=0;A<S.length;A++)console.log(" * "+S[A])}this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:k,scopes:S}),this._lastTokenEndIndex=k}getResult(E,k){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===k-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(E,k),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(E,k){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===k-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(E,k),this._binaryTokens[this._binaryTokens.length-2]=0);const S=new Uint32Array(this._binaryTokens.length);for(let A=0,R=this._binaryTokens.length;A<R;A++)S[A]=this._binaryTokens[A];return S}}o.LineTokens=$},965:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.parseInclude=o.TopLevelRepositoryReference=o.TopLevelReference=o.RelativeReference=o.SelfReference=o.BaseReference=o.ScopeDependencyProcessor=o.ExternalReferenceCollector=o.TopLevelRepositoryRuleReference=o.TopLevelRuleReference=void 0;const a=i(878);class l{constructor(m){this.scopeName=m}toKey(){return this.scopeName}}o.TopLevelRuleReference=l;class c{constructor(m,$){this.scopeName=m,this.ruleName=$}toKey(){return`${this.scopeName}#${this.ruleName}`}}o.TopLevelRepositoryRuleReference=c;class d{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(m){const $=m.toKey();this._seenReferenceKeys.has($)||(this._seenReferenceKeys.add($),this._references.push(m))}}function u(T,m,$,x){const E=$.lookup(T.scopeName);if(!E){if(T.scopeName===m)throw new Error(`No grammar provided for <${m}>`);return}const k=$.lookup(m);T instanceof l?h({baseGrammar:k,selfGrammar:E},x):f(T.ruleName,{baseGrammar:k,selfGrammar:E,repository:E.repository},x);const S=$.injections(T.scopeName);if(S)for(const A of S)x.add(new l(A))}function f(T,m,$){m.repository&&m.repository[T]&&p([m.repository[T]],m,$)}function h(T,m){T.selfGrammar.patterns&&Array.isArray(T.selfGrammar.patterns)&&p(T.selfGrammar.patterns,{...T,repository:T.selfGrammar.repository},m),T.selfGrammar.injections&&p(Object.values(T.selfGrammar.injections),{...T,repository:T.selfGrammar.repository},m)}function p(T,m,$){for(const x of T){if($.visitedRule.has(x))continue;$.visitedRule.add(x);const E=x.repository?a.mergeObjects({},m.repository,x.repository):m.repository;Array.isArray(x.patterns)&&p(x.patterns,{...m,repository:E},$);const k=x.include;if(!k)continue;const S=y(k);switch(S.kind){case 0:h({...m,selfGrammar:m.baseGrammar},$);break;case 1:h(m,$);break;case 2:f(S.ruleName,{...m,repository:E},$);break;case 3:case 4:const A=S.scopeName===m.selfGrammar.scopeName?m.selfGrammar:S.scopeName===m.baseGrammar.scopeName?m.baseGrammar:void 0;if(A){const R={baseGrammar:m.baseGrammar,selfGrammar:A,repository:E};S.kind===4?f(S.ruleName,R,$):h(R,$)}else S.kind===4?$.add(new c(S.scopeName,S.ruleName)):$.add(new l(S.scopeName))}}}o.ExternalReferenceCollector=d,o.ScopeDependencyProcessor=class{constructor(T,m){this.repo=T,this.initialScopeName=m,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new l(this.initialScopeName)]}processQueue(){const T=this.Q;this.Q=[];const m=new d;for(const $ of T)u($,this.initialScopeName,this.repo,m);for(const $ of m.references)if($ instanceof l){if(this.seenFullScopeRequests.has($.scopeName))continue;this.seenFullScopeRequests.add($.scopeName),this.Q.push($)}else{if(this.seenFullScopeRequests.has($.scopeName)||this.seenPartialScopeRequests.has($.toKey()))continue;this.seenPartialScopeRequests.add($.toKey()),this.Q.push($)}}};class v{constructor(){this.kind=0}}o.BaseReference=v;class w{constructor(){this.kind=1}}o.SelfReference=w;class _{constructor(m){this.ruleName=m,this.kind=2}}o.RelativeReference=_;class g{constructor(m){this.scopeName=m,this.kind=3}}o.TopLevelReference=g;class b{constructor(m,$){this.scopeName=m,this.ruleName=$,this.kind=4}}function y(T){if(T==="$base")return new v;if(T==="$self")return new w;const m=T.indexOf("#");if(m===-1)return new g(T);if(m===0)return new _(T.substring(1));{const $=T.substring(0,m),x=T.substring(m+1);return new b($,x)}}o.TopLevelRepositoryReference=b,o.parseInclude=y},391:function(s,o,i){var a=this&&this.__createBinding||(Object.create?function(c,d,u,f){f===void 0&&(f=u),Object.defineProperty(c,f,{enumerable:!0,get:function(){return d[u]}})}:function(c,d,u,f){f===void 0&&(f=u),c[f]=d[u]}),l=this&&this.__exportStar||function(c,d){for(var u in c)u==="default"||Object.prototype.hasOwnProperty.call(d,u)||a(d,c,u)};Object.defineProperty(o,"__esModule",{value:!0}),l(i(947),o)},47:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LocalStackElement=o._tokenizeString=void 0;const a=i(350),l=i(44),c=i(792),d=i(878);class u{constructor(b,y){this.stack=b,this.stoppedEarly=y}}function f(g,b,y,T,m,$,x,E){const k=b.content.length;let S=!1,A=-1;if(x){const I=function(j,F,B,z,ae,te){let re=ae.beginRuleCapturedEOL?0:-1;const de=[];for(let fe=ae;fe;fe=fe.pop()){const _e=fe.getRule(j);_e instanceof c.BeginWhileRule&&de.push({rule:_e,stack:fe})}for(let fe=de.pop();fe;fe=de.pop()){const{ruleScanner:_e,findOptions:Ee}=p(fe.rule,j,fe.stack.endRule,B,z===re),L=_e.findNextMatchSync(F,z,Ee);if(a.DebugFlags.InDebugMode&&(console.log(" scanning for while rule"),console.log(_e.toString())),!L){a.DebugFlags.InDebugMode&&console.log(" popping "+fe.rule.debugName+" - "+fe.rule.debugWhileRegExp),ae=fe.stack.pop();break}if(L.ruleId!==c.whileRuleId){ae=fe.stack.pop();break}L.captureIndices&&L.captureIndices.length&&(te.produce(fe.stack,L.captureIndices[0].start),w(j,F,B,fe.stack,te,fe.rule.whileCaptures,L.captureIndices),te.produce(fe.stack,L.captureIndices[0].end),re=L.captureIndices[0].end,L.captureIndices[0].end>z&&(z=L.captureIndices[0].end,B=!1))}return{stack:ae,linePos:z,anchorPosition:re,isFirstLine:B}}(g,b,y,T,m,$);m=I.stack,T=I.linePos,y=I.isFirstLine,A=I.anchorPosition}const R=Date.now();for(;!S;){if(E!==0&&Date.now()-R>E)return new u(m,!0);P()}return new u(m,!1);function P(){a.DebugFlags.InDebugMode&&(console.log(""),console.log(`@@scanNext ${T}: |${b.content.substr(T).replace(/\n$/,"\\n")}|`));const I=function(z,ae,te,re,de,fe){const _e=function(le,xe,N,O,C,D){const H=C.getRule(le),{ruleScanner:U,findOptions:Z}=h(H,le,C.endRule,N,O===D);let Y=0;a.DebugFlags.InDebugMode&&(Y=d.performanceNow());const K=U.findNextMatchSync(xe,O,Z);if(a.DebugFlags.InDebugMode){const G=d.performanceNow()-Y;G>5&&console.warn(`Rule ${H.debugName} (${H.id}) matching took ${G} against '${xe}'`),console.log(` scanning for (linePos: ${O}, anchorPosition: ${D})`),console.log(U.toString()),K&&console.log(`matched rule id: ${K.ruleId} from ${K.captureIndices[0].start} to ${K.captureIndices[0].end}`)}return K?{captureIndices:K.captureIndices,matchedRuleId:K.ruleId}:null}(z,ae,te,re,de,fe),Ee=z.getInjections();if(Ee.length===0)return _e;const L=function(le,xe,N,O,C,D,H){let U,Z=Number.MAX_VALUE,Y=null,K=0;const G=D.contentNameScopesList.getScopeNames();for(let ie=0,M=le.length;ie<M;ie++){const V=le[ie];if(!V.matcher(G))continue;const q=xe.getRule(V.ruleId),{ruleScanner:ne,findOptions:X}=h(q,xe,null,O,C===H),Q=ne.findNextMatchSync(N,C,X);if(!Q)continue;a.DebugFlags.InDebugMode&&(console.log(` matched injection: ${V.debugSelector}`),console.log(ne.toString()));const ge=Q.captureIndices[0].start;if(!(ge>=Z)&&(Z=ge,Y=Q.captureIndices,U=Q.ruleId,K=V.priority,Z===C))break}return Y?{priorityMatch:K===-1,captureIndices:Y,matchedRuleId:U}:null}(Ee,z,ae,te,re,de,fe);if(!L)return _e;if(!_e)return L;const J=_e.captureIndices[0].start,W=L.captureIndices[0].start;return W<J||L.priorityMatch&&W===J?L:_e}(g,b,y,T,m,A);if(!I)return a.DebugFlags.InDebugMode&&console.log(" no more matches."),$.produce(m,k),void(S=!0);const j=I.captureIndices,F=I.matchedRuleId,B=!!(j&&j.length>0)&&j[0].end>T;if(F===c.endRuleId){const z=m.getRule(g);a.DebugFlags.InDebugMode&&console.log(" popping "+z.debugName+" - "+z.debugEndRegExp),$.produce(m,j[0].start),m=m.withContentNameScopesList(m.nameScopesList),w(g,b,y,m,$,z.endCaptures,j),$.produce(m,j[0].end);const ae=m;if(m=m.parent,A=ae.getAnchorPos(),!B&&ae.getEnterPos()===T)return a.DebugFlags.InDebugMode&&console.error("[1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing"),m=ae,$.produce(m,k),void(S=!0)}else{const z=g.getRule(F);$.produce(m,j[0].start);const ae=m,te=z.getName(b.content,j),re=m.contentNameScopesList.pushAttributed(te,g);if(m=m.push(F,T,A,j[0].end===k,null,re,re),z instanceof c.BeginEndRule){const de=z;a.DebugFlags.InDebugMode&&console.log(" pushing "+de.debugName+" - "+de.debugBeginRegExp),w(g,b,y,m,$,de.beginCaptures,j),$.produce(m,j[0].end),A=j[0].end;const fe=de.getContentName(b.content,j),_e=re.pushAttributed(fe,g);if(m=m.withContentNameScopesList(_e),de.endHasBackReferences&&(m=m.withEndRule(de.getEndWithResolvedBackReferences(b.content,j))),!B&&ae.hasSameRuleAs(m))return a.DebugFlags.InDebugMode&&console.error("[2] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),m=m.pop(),$.produce(m,k),void(S=!0)}else if(z instanceof c.BeginWhileRule){const de=z;a.DebugFlags.InDebugMode&&console.log(" pushing "+de.debugName),w(g,b,y,m,$,de.beginCaptures,j),$.produce(m,j[0].end),A=j[0].end;const fe=de.getContentName(b.content,j),_e=re.pushAttributed(fe,g);if(m=m.withContentNameScopesList(_e),de.whileHasBackReferences&&(m=m.withEndRule(de.getWhileWithResolvedBackReferences(b.content,j))),!B&&ae.hasSameRuleAs(m))return a.DebugFlags.InDebugMode&&console.error("[3] - Grammar is in an endless loop - Grammar pushed the same rule without advancing"),m=m.pop(),$.produce(m,k),void(S=!0)}else{const de=z;if(a.DebugFlags.InDebugMode&&console.log(" matched "+de.debugName+" - "+de.debugMatchRegExp),w(g,b,y,m,$,de.captures,j),$.produce(m,j[0].end),m=m.pop(),!B)return a.DebugFlags.InDebugMode&&console.error("[4] - Grammar is in an endless loop - Grammar is not advancing, nor is it pushing/popping"),m=m.safePop(),$.produce(m,k),void(S=!0)}}j[0].end>T&&(T=j[0].end,y=!1)}}function h(g,b,y,T,m){return a.UseOnigurumaFindOptions?{ruleScanner:g.compile(b,y),findOptions:v(T,m)}:{ruleScanner:g.compileAG(b,y,T,m),findOptions:0}}function p(g,b,y,T,m){return a.UseOnigurumaFindOptions?{ruleScanner:g.compileWhile(b,y),findOptions:v(T,m)}:{ruleScanner:g.compileWhileAG(b,y,T,m),findOptions:0}}function v(g,b){let y=0;return g||(y|=1),b||(y|=4),y}function w(g,b,y,T,m,$,x){if($.length===0)return;const E=b.content,k=Math.min($.length,x.length),S=[],A=x[0].end;for(let R=0;R<k;R++){const P=$[R];if(P===null)continue;const I=x[R];if(I.length===0)continue;if(I.start>A)break;for(;S.length>0&&S[S.length-1].endPos<=I.start;)m.produceFromScopes(S[S.length-1].scopes,S[S.length-1].endPos),S.pop();if(S.length>0?m.produceFromScopes(S[S.length-1].scopes,I.start):m.produce(T,I.start),P.retokenizeCapturedWithRuleId){const F=P.getName(E,x),B=T.contentNameScopesList.pushAttributed(F,g),z=P.getContentName(E,x),ae=B.pushAttributed(z,g),te=T.push(P.retokenizeCapturedWithRuleId,I.start,-1,!1,null,B,ae),re=g.createOnigString(E.substring(0,I.end));f(g,re,y&&I.start===0,I.start,te,m,!1,0),l.disposeOnigString(re);continue}const j=P.getName(E,x);if(j!==null){const F=(S.length>0?S[S.length-1].scopes:T.contentNameScopesList).pushAttributed(j,g);S.push(new _(F,I.end))}}for(;S.length>0;)m.produceFromScopes(S[S.length-1].scopes,S[S.length-1].endPos),S.pop()}o._tokenizeString=f;class _{constructor(b,y){this.scopes=b,this.endPos=y}}o.LocalStackElement=_},974:(s,o)=>{function i(d,u){throw new Error("Near offset "+d.pos+": "+u+" ~~~"+d.source.substr(d.pos,50)+"~~~")}Object.defineProperty(o,"__esModule",{value:!0}),o.parseJSON=void 0,o.parseJSON=function(d,u,f){let h=new a(d),p=new l,v=0,w=null,_=[],g=[];function b(){_.push(v),g.push(w)}function y(){v=_.pop(),w=g.pop()}function T(m){i(h,m)}for(;c(h,p);){if(v===0){if(w!==null&&T("too many constructs in root"),p.type===3){w={},f&&(w.$vscodeTextmateLocation=p.toLocation(u)),b(),v=1;continue}if(p.type===2){w=[],b(),v=4;continue}T("unexpected token in root")}if(v===2){if(p.type===5){y();continue}if(p.type===7){v=3;continue}T("expected , or }")}if(v===1||v===3){if(v===1&&p.type===5){y();continue}if(p.type===1){let m=p.value;if(c(h,p)&&p.type===6||T("expected colon"),c(h,p)||T("expected value"),v=2,p.type===1){w[m]=p.value;continue}if(p.type===8){w[m]=null;continue}if(p.type===9){w[m]=!0;continue}if(p.type===10){w[m]=!1;continue}if(p.type===11){w[m]=parseFloat(p.value);continue}if(p.type===2){let $=[];w[m]=$,b(),v=4,w=$;continue}if(p.type===3){let $={};f&&($.$vscodeTextmateLocation=p.toLocation(u)),w[m]=$,b(),v=1,w=$;continue}}T("unexpected token in dict")}if(v===5){if(p.type===4){y();continue}if(p.type===7){v=6;continue}T("expected , or ]")}if(v===4||v===6){if(v===4&&p.type===4){y();continue}if(v=5,p.type===1){w.push(p.value);continue}if(p.type===8){w.push(null);continue}if(p.type===9){w.push(!0);continue}if(p.type===10){w.push(!1);continue}if(p.type===11){w.push(parseFloat(p.value));continue}if(p.type===2){let m=[];w.push(m),b(),v=4,w=m;continue}if(p.type===3){let m={};f&&(m.$vscodeTextmateLocation=p.toLocation(u)),w.push(m),b(),v=1,w=m;continue}T("unexpected token in array")}T("unknown state")}return g.length!==0&&T("unclosed constructs"),w};class a{constructor(u){this.source=u,this.pos=0,this.len=u.length,this.line=1,this.char=0}}class l{constructor(){this.value=null,this.type=0,this.offset=-1,this.len=-1,this.line=-1,this.char=-1}toLocation(u){return{filename:u,line:this.line,char:this.char}}}function c(d,u){u.value=null,u.type=0,u.offset=-1,u.len=-1,u.line=-1,u.char=-1;let f,h=d.source,p=d.pos,v=d.len,w=d.line,_=d.char;for(;;){if(p>=v)return!1;if(f=h.charCodeAt(p),f!==32&&f!==9&&f!==13){if(f!==10)break;p++,w++,_=0}else p++,_++}if(u.offset=p,u.line=w,u.char=_,f===34){for(u.type=1,p++,_++;;){if(p>=v)return!1;if(f=h.charCodeAt(p),p++,_++,f!==92){if(f===34)break}else p++,_++}u.value=h.substring(u.offset+1,p-1).replace(/\\u([0-9A-Fa-f]{4})/g,(g,b)=>String.fromCodePoint(parseInt(b,16))).replace(/\\(.)/g,(g,b)=>{switch(b){case'"':return'"';case"\\":return"\\";case"/":return"/";case"b":return"\b";case"f":return"\f";case"n":return`
|
|
9
|
-
`;case"r":return"\r";case"t":return" ";default:i(d,"invalid escape sequence")}throw new Error("unreachable")})}else if(f===91)u.type=2,p++,_++;else if(f===123)u.type=3,p++,_++;else if(f===93)u.type=4,p++,_++;else if(f===125)u.type=5,p++,_++;else if(f===58)u.type=6,p++,_++;else if(f===44)u.type=7,p++,_++;else if(f===110){if(u.type=8,p++,_++,f=h.charCodeAt(p),f!==117||(p++,_++,f=h.charCodeAt(p),f!==108)||(p++,_++,f=h.charCodeAt(p),f!==108))return!1;p++,_++}else if(f===116){if(u.type=9,p++,_++,f=h.charCodeAt(p),f!==114||(p++,_++,f=h.charCodeAt(p),f!==117)||(p++,_++,f=h.charCodeAt(p),f!==101))return!1;p++,_++}else if(f===102){if(u.type=10,p++,_++,f=h.charCodeAt(p),f!==97||(p++,_++,f=h.charCodeAt(p),f!==108)||(p++,_++,f=h.charCodeAt(p),f!==115)||(p++,_++,f=h.charCodeAt(p),f!==101))return!1;p++,_++}else for(u.type=11;;){if(p>=v)return!1;if(f=h.charCodeAt(p),!(f===46||f>=48&&f<=57||f===101||f===69||f===45||f===43))break;p++,_++}return u.len=p-u.offset,u.value===null&&(u.value=h.substr(u.offset,u.len)),d.pos=p,d.line=w,d.char=_,!0}},787:function(s,o,i){var a=this&&this.__createBinding||(Object.create?function(p,v,w,_){_===void 0&&(_=w),Object.defineProperty(p,_,{enumerable:!0,get:function(){return v[w]}})}:function(p,v,w,_){_===void 0&&(_=w),p[_]=v[w]}),l=this&&this.__exportStar||function(p,v){for(var w in p)w==="default"||Object.prototype.hasOwnProperty.call(v,w)||a(v,p,w)};Object.defineProperty(o,"__esModule",{value:!0}),o.parseRawGrammar=o.INITIAL=o.Registry=void 0;const c=i(391),d=i(50),u=i(652),f=i(583),h=i(965);l(i(44),o),o.Registry=class{constructor(p){this._options=p,this._syncRegistry=new u.SyncRegistry(f.Theme.createFromRawTheme(p.theme,p.colorMap),p.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(p,v){this._syncRegistry.setTheme(f.Theme.createFromRawTheme(p,v))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(p,v,w){return this.loadGrammarWithConfiguration(p,v,{embeddedLanguages:w})}loadGrammarWithConfiguration(p,v,w){return this._loadGrammar(p,v,w.embeddedLanguages,w.tokenTypes,new c.BalancedBracketSelectors(w.balancedBracketSelectors||[],w.unbalancedBracketSelectors||[]))}loadGrammar(p){return this._loadGrammar(p,0,null,null,null)}async _loadGrammar(p,v,w,_,g){const b=new h.ScopeDependencyProcessor(this._syncRegistry,p);for(;b.Q.length>0;)await Promise.all(b.Q.map(y=>this._loadSingleGrammar(y.scopeName))),b.processQueue();return this._grammarForScopeName(p,v,w,_,g)}async _loadSingleGrammar(p){return this._ensureGrammarCache.has(p)||this._ensureGrammarCache.set(p,this._doLoadSingleGrammar(p)),this._ensureGrammarCache.get(p)}async _doLoadSingleGrammar(p){const v=await this._options.loadGrammar(p);if(v){const w=typeof this._options.getInjections=="function"?this._options.getInjections(p):void 0;this._syncRegistry.addGrammar(v,w)}}async addGrammar(p,v=[],w=0,_=null){return this._syncRegistry.addGrammar(p,v),await this._grammarForScopeName(p.scopeName,w,_)}_grammarForScopeName(p,v=0,w=null,_=null,g=null){return this._syncRegistry.grammarForScopeName(p,v,w,_,g)}},o.INITIAL=c.StateStack.NULL,o.parseRawGrammar=d.parseRawGrammar},736:(s,o)=>{function i(a){return!!a&&!!a.match(/[\w\.:]+/)}Object.defineProperty(o,"__esModule",{value:!0}),o.createMatchers=void 0,o.createMatchers=function(a,l){const c=[],d=function(p){let v=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,w=v.exec(p);return{next:()=>{if(!w)return null;const _=w[0];return w=v.exec(p),_}}}(a);let u=d.next();for(;u!==null;){let p=0;if(u.length===2&&u.charAt(1)===":"){switch(u.charAt(0)){case"R":p=1;break;case"L":p=-1;break;default:console.log(`Unknown priority ${u} in scope selector`)}u=d.next()}let v=h();if(c.push({matcher:v,priority:p}),u!==",")break;u=d.next()}return c;function f(){if(u==="-"){u=d.next();const p=f();return v=>!!p&&!p(v)}if(u==="("){u=d.next();const p=function(){const v=[];let w=h();for(;w&&(v.push(w),u==="|"||u===",");){do u=d.next();while(u==="|"||u===",");w=h()}return _=>v.some(g=>g(_))}();return u===")"&&(u=d.next()),p}if(i(u)){const p=[];do p.push(u),u=d.next();while(i(u));return v=>l(p,v)}return null}function h(){const p=[];let v=f();for(;v;)p.push(v),v=f();return w=>p.every(_=>_(w))}}},44:(s,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.disposeOnigString=void 0,o.disposeOnigString=function(i){typeof i.dispose=="function"&&i.dispose()}},50:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.parseRawGrammar=void 0;const a=i(69),l=i(350),c=i(974);o.parseRawGrammar=function(d,u=null){return u!==null&&/\.json$/.test(u)?(f=d,h=u,l.DebugFlags.InDebugMode?c.parseJSON(f,h,!0):JSON.parse(f)):function(p,v){return l.DebugFlags.InDebugMode?a.parseWithLocation(p,v,"$vscodeTextmateLocation"):a.parsePLIST(p)}(d,u);var f,h}},69:(s,o)=>{function i(a,l,c){const d=a.length;let u=0,f=1,h=0;function p(L){if(c===null)u+=L;else for(;L>0;)a.charCodeAt(u)===10?(u++,f++,h=0):(u++,h++),L--}function v(L){c===null?u=L:p(L-u)}function w(){for(;u<d;){let L=a.charCodeAt(u);if(L!==32&&L!==9&&L!==13&&L!==10)break;p(1)}}function _(L){return a.substr(u,L.length)===L&&(p(L.length),!0)}function g(L){let J=a.indexOf(L,u);v(J!==-1?J+L.length:d)}function b(L){let J=a.indexOf(L,u);if(J!==-1){let W=a.substring(u,J);return v(J+L.length),W}{let W=a.substr(u);return v(d),W}}d>0&&a.charCodeAt(0)===65279&&(u=1);let y=0,T=null,m=[],$=[],x=null;function E(L,J){m.push(y),$.push(T),y=L,T=J}function k(){if(m.length===0)return S("illegal state stack");y=m.pop(),T=$.pop()}function S(L){throw new Error("Near offset "+u+": "+L+" ~~~"+a.substr(u,50)+"~~~")}const A=function(){if(x===null)return S("missing <key>");let L={};c!==null&&(L[c]={filename:l,line:f,char:h}),T[x]=L,x=null,E(1,L)},R=function(){if(x===null)return S("missing <key>");let L=[];T[x]=L,x=null,E(2,L)},P=function(){let L={};c!==null&&(L[c]={filename:l,line:f,char:h}),T.push(L),E(1,L)},I=function(){let L=[];T.push(L),E(2,L)};function j(){if(y!==1)return S("unexpected </dict>");k()}function F(){return y===1||y!==2?S("unexpected </array>"):void k()}function B(L){if(y===1){if(x===null)return S("missing <key>");T[x]=L,x=null}else y===2?T.push(L):T=L}function z(L){if(isNaN(L))return S("cannot parse float");if(y===1){if(x===null)return S("missing <key>");T[x]=L,x=null}else y===2?T.push(L):T=L}function ae(L){if(isNaN(L))return S("cannot parse integer");if(y===1){if(x===null)return S("missing <key>");T[x]=L,x=null}else y===2?T.push(L):T=L}function te(L){if(y===1){if(x===null)return S("missing <key>");T[x]=L,x=null}else y===2?T.push(L):T=L}function re(L){if(y===1){if(x===null)return S("missing <key>");T[x]=L,x=null}else y===2?T.push(L):T=L}function de(L){if(y===1){if(x===null)return S("missing <key>");T[x]=L,x=null}else y===2?T.push(L):T=L}function fe(){let L=b(">"),J=!1;return L.charCodeAt(L.length-1)===47&&(J=!0,L=L.substring(0,L.length-1)),{name:L.trim(),isClosed:J}}function _e(L){if(L.isClosed)return"";let J=b("</");return g(">"),J.replace(/&#([0-9]+);/g,function(W,le){return String.fromCodePoint(parseInt(le,10))}).replace(/&#x([0-9a-f]+);/g,function(W,le){return String.fromCodePoint(parseInt(le,16))}).replace(/&|<|>|"|'/g,function(W){switch(W){case"&":return"&";case"<":return"<";case">":return">";case""":return'"';case"'":return"'"}return W})}for(;u<d&&(w(),!(u>=d));){const L=a.charCodeAt(u);if(p(1),L!==60)return S("expected <");if(u>=d)return S("unexpected end of input");const J=a.charCodeAt(u);if(J===63){p(1),g("?>");continue}if(J===33){if(p(1),_("--")){g("-->");continue}g(">");continue}if(J===47){if(p(1),w(),_("plist")){g(">");continue}if(_("dict")){g(">"),j();continue}if(_("array")){g(">"),F();continue}return S("unexpected closed tag")}let W=fe();switch(W.name){case"dict":y===1?A():y===2?P():(T={},c!==null&&(T[c]={filename:l,line:f,char:h}),E(1,T)),W.isClosed&&j();continue;case"array":y===1?R():y===2?I():(T=[],E(2,T)),W.isClosed&&F();continue;case"key":Ee=_e(W),y!==1?S("unexpected <key>"):x!==null?S("too many <key>"):x=Ee;continue;case"string":B(_e(W));continue;case"real":z(parseFloat(_e(W)));continue;case"integer":ae(parseInt(_e(W),10));continue;case"date":te(new Date(_e(W)));continue;case"data":re(_e(W));continue;case"true":_e(W),de(!0);continue;case"false":_e(W),de(!1);continue}if(!/^plist/.test(W.name))return S("unexpected opened tag "+W.name)}var Ee;return T}Object.defineProperty(o,"__esModule",{value:!0}),o.parsePLIST=o.parseWithLocation=void 0,o.parseWithLocation=function(a,l,c){return i(a,l,c)},o.parsePLIST=function(a){return i(a,null,null)}},652:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.SyncRegistry=void 0;const a=i(391);o.SyncRegistry=class{constructor(l,c){this._onigLibPromise=c,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=l}dispose(){for(const l of this._grammars.values())l.dispose()}setTheme(l){this._theme=l}getColorMap(){return this._theme.getColorMap()}addGrammar(l,c){this._rawGrammars.set(l.scopeName,l),c&&this._injectionGrammars.set(l.scopeName,c)}lookup(l){return this._rawGrammars.get(l)}injections(l){return this._injectionGrammars.get(l)}getDefaults(){return this._theme.getDefaults()}themeMatch(l){return this._theme.match(l)}async grammarForScopeName(l,c,d,u,f){if(!this._grammars.has(l)){let h=this._rawGrammars.get(l);if(!h)return null;this._grammars.set(l,a.createGrammar(l,h,c,d,u,f,this,await this._onigLibPromise))}return this._grammars.get(l)}}},792:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.CompiledRule=o.RegExpSourceList=o.RegExpSource=o.RuleFactory=o.BeginWhileRule=o.BeginEndRule=o.IncludeOnlyRule=o.MatchRule=o.CaptureRule=o.Rule=o.ruleIdToNumber=o.ruleIdFromNumber=o.whileRuleId=o.endRuleId=void 0;const a=i(878),l=i(965),c=/\\(\d+)/,d=/\\(\d+)/g;o.endRuleId=-1,o.whileRuleId=-2,o.ruleIdFromNumber=function(T){return T},o.ruleIdToNumber=function(T){return T};class u{constructor(m,$,x,E){this.$location=m,this.id=$,this._name=x||null,this._nameIsCapturing=a.RegexSource.hasCaptures(this._name),this._contentName=E||null,this._contentNameIsCapturing=a.RegexSource.hasCaptures(this._contentName)}get debugName(){const m=this.$location?`${a.basename(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${m}`}getName(m,$){return this._nameIsCapturing&&this._name!==null&&m!==null&&$!==null?a.RegexSource.replaceCaptures(this._name,m,$):this._name}getContentName(m,$){return this._contentNameIsCapturing&&this._contentName!==null?a.RegexSource.replaceCaptures(this._contentName,m,$):this._contentName}}o.Rule=u;class f extends u{constructor(m,$,x,E,k){super(m,$,x,E),this.retokenizeCapturedWithRuleId=k}dispose(){}collectPatterns(m,$){throw new Error("Not supported!")}compile(m,$){throw new Error("Not supported!")}compileAG(m,$,x,E){throw new Error("Not supported!")}}o.CaptureRule=f;class h extends u{constructor(m,$,x,E,k){super(m,$,x,null),this._match=new g(E,this.id),this.captures=k,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(m,$){$.push(this._match)}compile(m,$){return this._getCachedCompiledPatterns(m).compile(m)}compileAG(m,$,x,E){return this._getCachedCompiledPatterns(m).compileAG(m,x,E)}_getCachedCompiledPatterns(m){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new b,this.collectPatterns(m,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.MatchRule=h;class p extends u{constructor(m,$,x,E,k){super(m,$,x,E),this.patterns=k.patterns,this.hasMissingPatterns=k.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(m,$){for(const x of this.patterns)m.getRule(x).collectPatterns(m,$)}compile(m,$){return this._getCachedCompiledPatterns(m).compile(m)}compileAG(m,$,x,E){return this._getCachedCompiledPatterns(m).compileAG(m,x,E)}_getCachedCompiledPatterns(m){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new b,this.collectPatterns(m,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.IncludeOnlyRule=p;class v extends u{constructor(m,$,x,E,k,S,A,R,P,I){super(m,$,x,E),this._begin=new g(k,this.id),this.beginCaptures=S,this._end=new g(A||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=R,this.applyEndPatternLast=P||!1,this.patterns=I.patterns,this.hasMissingPatterns=I.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(m,$){return this._end.resolveBackReferences(m,$)}collectPatterns(m,$){$.push(this._begin)}compile(m,$){return this._getCachedCompiledPatterns(m,$).compile(m)}compileAG(m,$,x,E){return this._getCachedCompiledPatterns(m,$).compileAG(m,x,E)}_getCachedCompiledPatterns(m,$){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new b;for(const x of this.patterns)m.getRule(x).collectPatterns(m,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,$):this._cachedCompiledPatterns.setSource(0,$)),this._cachedCompiledPatterns}}o.BeginEndRule=v;class w extends u{constructor(m,$,x,E,k,S,A,R,P){super(m,$,x,E),this._begin=new g(k,this.id),this.beginCaptures=S,this.whileCaptures=R,this._while=new g(A,o.whileRuleId),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=P.patterns,this.hasMissingPatterns=P.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(m,$){return this._while.resolveBackReferences(m,$)}collectPatterns(m,$){$.push(this._begin)}compile(m,$){return this._getCachedCompiledPatterns(m).compile(m)}compileAG(m,$,x,E){return this._getCachedCompiledPatterns(m).compileAG(m,x,E)}_getCachedCompiledPatterns(m){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new b;for(const $ of this.patterns)m.getRule($).collectPatterns(m,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(m,$){return this._getCachedCompiledWhilePatterns(m,$).compile(m)}compileWhileAG(m,$,x,E){return this._getCachedCompiledWhilePatterns(m,$).compileAG(m,x,E)}_getCachedCompiledWhilePatterns(m,$){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new b,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,$||""),this._cachedCompiledWhilePatterns}}o.BeginWhileRule=w;class _{static createCaptureRule(m,$,x,E,k){return m.registerRule(S=>new f($,S,x,E,k))}static getCompiledRuleId(m,$,x){return m.id||$.registerRule(E=>{if(m.id=E,m.match)return new h(m.$vscodeTextmateLocation,m.id,m.name,m.match,_._compileCaptures(m.captures,$,x));if(m.begin===void 0){m.repository&&(x=a.mergeObjects({},x,m.repository));let k=m.patterns;return k===void 0&&m.include&&(k=[{include:m.include}]),new p(m.$vscodeTextmateLocation,m.id,m.name,m.contentName,_._compilePatterns(k,$,x))}return m.while?new w(m.$vscodeTextmateLocation,m.id,m.name,m.contentName,m.begin,_._compileCaptures(m.beginCaptures||m.captures,$,x),m.while,_._compileCaptures(m.whileCaptures||m.captures,$,x),_._compilePatterns(m.patterns,$,x)):new v(m.$vscodeTextmateLocation,m.id,m.name,m.contentName,m.begin,_._compileCaptures(m.beginCaptures||m.captures,$,x),m.end,_._compileCaptures(m.endCaptures||m.captures,$,x),m.applyEndPatternLast,_._compilePatterns(m.patterns,$,x))}),m.id}static _compileCaptures(m,$,x){let E=[];if(m){let k=0;for(const S in m){if(S==="$vscodeTextmateLocation")continue;const A=parseInt(S,10);A>k&&(k=A)}for(let S=0;S<=k;S++)E[S]=null;for(const S in m){if(S==="$vscodeTextmateLocation")continue;const A=parseInt(S,10);let R=0;m[S].patterns&&(R=_.getCompiledRuleId(m[S],$,x)),E[A]=_.createCaptureRule($,m[S].$vscodeTextmateLocation,m[S].name,m[S].contentName,R)}}return E}static _compilePatterns(m,$,x){let E=[];if(m)for(let k=0,S=m.length;k<S;k++){const A=m[k];let R=-1;if(A.include){const P=l.parseInclude(A.include);switch(P.kind){case 0:case 1:R=_.getCompiledRuleId(x[A.include],$,x);break;case 2:let I=x[P.ruleName];I&&(R=_.getCompiledRuleId(I,$,x));break;case 3:case 4:const j=P.scopeName,F=P.kind===4?P.ruleName:null,B=$.getExternalGrammar(j,x);if(B)if(F){let z=B.repository[F];z&&(R=_.getCompiledRuleId(z,$,B.repository))}else R=_.getCompiledRuleId(B.repository.$self,$,B.repository)}}else R=_.getCompiledRuleId(A,$,x);if(R!==-1){const P=$.getRule(R);let I=!1;if((P instanceof p||P instanceof v||P instanceof w)&&P.hasMissingPatterns&&P.patterns.length===0&&(I=!0),I)continue;E.push(R)}}return{patterns:E,hasMissingPatterns:(m?m.length:0)!==E.length}}}o.RuleFactory=_;class g{constructor(m,$){if(m){const x=m.length;let E=0,k=[],S=!1;for(let A=0;A<x;A++)if(m.charAt(A)==="\\"&&A+1<x){const R=m.charAt(A+1);R==="z"?(k.push(m.substring(E,A)),k.push("$(?!\\n)(?<!\\n)"),E=A+2):R!=="A"&&R!=="G"||(S=!0),A++}this.hasAnchor=S,E===0?this.source=m:(k.push(m.substring(E,x)),this.source=k.join(""))}else this.hasAnchor=!1,this.source=m;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=$,this.hasBackReferences=c.test(this.source)}clone(){return new g(this.source,this.ruleId)}setSource(m){this.source!==m&&(this.source=m,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(m,$){let x=$.map(E=>m.substring(E.start,E.end));return d.lastIndex=0,this.source.replace(d,(E,k)=>a.escapeRegExpCharacters(x[parseInt(k,10)]||""))}_buildAnchorCache(){let m,$,x,E,k=[],S=[],A=[],R=[];for(m=0,$=this.source.length;m<$;m++)x=this.source.charAt(m),k[m]=x,S[m]=x,A[m]=x,R[m]=x,x==="\\"&&m+1<$&&(E=this.source.charAt(m+1),E==="A"?(k[m+1]="",S[m+1]="",A[m+1]="A",R[m+1]="A"):E==="G"?(k[m+1]="",S[m+1]="G",A[m+1]="",R[m+1]="G"):(k[m+1]=E,S[m+1]=E,A[m+1]=E,R[m+1]=E),m++);return{A0_G0:k.join(""),A0_G1:S.join(""),A1_G0:A.join(""),A1_G1:R.join("")}}resolveAnchors(m,$){return this.hasAnchor&&this._anchorCache?m?$?this._anchorCache.A1_G1:this._anchorCache.A1_G0:$?this._anchorCache.A0_G1:this._anchorCache.A0_G0:this.source}}o.RegExpSource=g;class b{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(m){this._items.push(m),this._hasAnchors=this._hasAnchors||m.hasAnchor}unshift(m){this._items.unshift(m),this._hasAnchors=this._hasAnchors||m.hasAnchor}length(){return this._items.length}setSource(m,$){this._items[m].source!==$&&(this._disposeCaches(),this._items[m].setSource($))}compile(m){if(!this._cached){let $=this._items.map(x=>x.source);this._cached=new y(m,$,this._items.map(x=>x.ruleId))}return this._cached}compileAG(m,$,x){return this._hasAnchors?$?x?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(m,$,x)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(m,$,x)),this._anchorCache.A1_G0):x?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(m,$,x)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(m,$,x)),this._anchorCache.A0_G0):this.compile(m)}_resolveAnchors(m,$,x){let E=this._items.map(k=>k.resolveAnchors($,x));return new y(m,E,this._items.map(k=>k.ruleId))}}o.RegExpSourceList=b;class y{constructor(m,$,x){this.regExps=$,this.rules=x,this.scanner=m.createOnigScanner($)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const m=[];for(let $=0,x=this.rules.length;$<x;$++)m.push(" - "+this.rules[$]+": "+this.regExps[$]);return m.join(`
|
|
10
|
-
`)}findNextMatchSync(m,$,x){const E=this.scanner.findNextMatchSync(m,$,x);return E?{ruleId:this.rules[E.index],captureIndices:E.captureIndices}:null}}o.CompiledRule=y},583:(s,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.ThemeTrieElement=o.ThemeTrieElementRule=o.ColorMap=o.fontStyleToString=o.ParsedThemeRule=o.parseTheme=o.StyleAttributes=o.ScopeStack=o.Theme=void 0;const a=i(878);class l{constructor(g,b,y){this._colorMap=g,this._defaults=b,this._root=y,this._cachedMatchRoot=new a.CachedFn(T=>this._root.match(T))}static createFromRawTheme(g,b){return this.createFromParsedTheme(f(g),b)}static createFromParsedTheme(g,b){return function(y,T){y.sort((A,R)=>{let P=a.strcmp(A.scope,R.scope);return P!==0?P:(P=a.strArrCmp(A.parentScopes,R.parentScopes),P!==0?P:A.index-R.index)});let m=0,$="#000000",x="#ffffff";for(;y.length>=1&&y[0].scope==="";){let A=y.shift();A.fontStyle!==-1&&(m=A.fontStyle),A.foreground!==null&&($=A.foreground),A.background!==null&&(x=A.background)}let E=new p(T),k=new u(m,E.getId($),E.getId(x)),S=new w(new v(0,null,-1,0,0),[]);for(let A=0,R=y.length;A<R;A++){let P=y[A];S.insert(0,P.scope,P.parentScopes,P.fontStyle,E.getId(P.foreground),E.getId(P.background))}return new l(E,k,S)}(g,b)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(g){if(g===null)return this._defaults;const b=g.scopeName,y=this._cachedMatchRoot.get(b).find(T=>function(m,$){if($===null)return!0;let x=0,E=$[x];for(;m;){if(d(m.scopeName,E)){if(x++,x===$.length)return!0;E=$[x]}m=m.parent}return!1}(g.parent,T.parentScopes));return y?new u(y.fontStyle,y.foreground,y.background):null}}o.Theme=l;class c{constructor(g,b){this.parent=g,this.scopeName=b}static from(...g){let b=null;for(let y=0;y<g.length;y++)b=new c(b,g[y]);return b}push(g){return new c(this,g)}getSegments(){let g=this;const b=[];for(;g;)b.push(g.scopeName),g=g.parent;return b.reverse(),b}toString(){return this.getSegments().join(" ")}}function d(_,g){return g===_||_.startsWith(g)&&_[g.length]==="."}o.ScopeStack=c;class u{constructor(g,b,y){this.fontStyle=g,this.foregroundId=b,this.backgroundId=y}}function f(_){if(!_)return[];if(!_.settings||!Array.isArray(_.settings))return[];let g=_.settings,b=[],y=0;for(let T=0,m=g.length;T<m;T++){let $,x=g[T];if(!x.settings)continue;if(typeof x.scope=="string"){let A=x.scope;A=A.replace(/^[,]+/,""),A=A.replace(/[,]+$/,""),$=A.split(",")}else $=Array.isArray(x.scope)?x.scope:[""];let E=-1;if(typeof x.settings.fontStyle=="string"){E=0;let A=x.settings.fontStyle.split(" ");for(let R=0,P=A.length;R<P;R++)switch(A[R]){case"italic":E|=1;break;case"bold":E|=2;break;case"underline":E|=4;break;case"strikethrough":E|=8}}let k=null;typeof x.settings.foreground=="string"&&a.isValidHexColor(x.settings.foreground)&&(k=x.settings.foreground);let S=null;typeof x.settings.background=="string"&&a.isValidHexColor(x.settings.background)&&(S=x.settings.background);for(let A=0,R=$.length;A<R;A++){let P=$[A].trim().split(" "),I=P[P.length-1],j=null;P.length>1&&(j=P.slice(0,P.length-1),j.reverse()),b[y++]=new h(I,j,T,E,k,S)}}return b}o.StyleAttributes=u,o.parseTheme=f;class h{constructor(g,b,y,T,m,$){this.scope=g,this.parentScopes=b,this.index=y,this.fontStyle=T,this.foreground=m,this.background=$}}o.ParsedThemeRule=h,o.fontStyleToString=function(_){if(_===-1)return"not set";let g="";return 1&_&&(g+="italic "),2&_&&(g+="bold "),4&_&&(g+="underline "),8&_&&(g+="strikethrough "),g===""&&(g="none"),g.trim()};class p{constructor(g){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(g)){this._isFrozen=!0;for(let b=0,y=g.length;b<y;b++)this._color2id[g[b]]=b,this._id2color[b]=g[b]}else this._isFrozen=!1}getId(g){if(g===null)return 0;g=g.toUpperCase();let b=this._color2id[g];if(b)return b;if(this._isFrozen)throw new Error(`Missing color in color map - ${g}`);return b=++this._lastColorId,this._color2id[g]=b,this._id2color[b]=g,b}getColorMap(){return this._id2color.slice(0)}}o.ColorMap=p;class v{constructor(g,b,y,T,m){this.scopeDepth=g,this.parentScopes=b,this.fontStyle=y,this.foreground=T,this.background=m}clone(){return new v(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(g){let b=[];for(let y=0,T=g.length;y<T;y++)b[y]=g[y].clone();return b}acceptOverwrite(g,b,y,T){this.scopeDepth>g?console.log("how did this happen?"):this.scopeDepth=g,b!==-1&&(this.fontStyle=b),y!==0&&(this.foreground=y),T!==0&&(this.background=T)}}o.ThemeTrieElementRule=v;class w{constructor(g,b=[],y={}){this._mainRule=g,this._children=y,this._rulesWithParentScopes=b}static _sortBySpecificity(g){return g.length===1||g.sort(this._cmpBySpecificity),g}static _cmpBySpecificity(g,b){if(g.scopeDepth===b.scopeDepth){const y=g.parentScopes,T=b.parentScopes;let m=y===null?0:y.length,$=T===null?0:T.length;if(m===$)for(let x=0;x<m;x++){const E=y[x].length,k=T[x].length;if(E!==k)return k-E}return $-m}return b.scopeDepth-g.scopeDepth}match(g){if(g==="")return w._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let b,y,T=g.indexOf(".");return T===-1?(b=g,y=""):(b=g.substring(0,T),y=g.substring(T+1)),this._children.hasOwnProperty(b)?this._children[b].match(y):w._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(g,b,y,T,m,$){if(b==="")return void this._doInsertHere(g,y,T,m,$);let x,E,k,S=b.indexOf(".");S===-1?(x=b,E=""):(x=b.substring(0,S),E=b.substring(S+1)),this._children.hasOwnProperty(x)?k=this._children[x]:(k=new w(this._mainRule.clone(),v.cloneArr(this._rulesWithParentScopes)),this._children[x]=k),k.insert(g+1,E,y,T,m,$)}_doInsertHere(g,b,y,T,m){if(b!==null){for(let $=0,x=this._rulesWithParentScopes.length;$<x;$++){let E=this._rulesWithParentScopes[$];if(a.strArrCmp(E.parentScopes,b)===0)return void E.acceptOverwrite(g,y,T,m)}y===-1&&(y=this._mainRule.fontStyle),T===0&&(T=this._mainRule.foreground),m===0&&(m=this._mainRule.background),this._rulesWithParentScopes.push(new v(g,b,y,T,m))}else this._mainRule.acceptOverwrite(g,y,T,m)}}o.ThemeTrieElement=w},878:(s,o)=>{function i(c){return Array.isArray(c)?function(d){let u=[];for(let f=0,h=d.length;f<h;f++)u[f]=i(d[f]);return u}(c):typeof c=="object"?function(d){let u={};for(let f in d)u[f]=i(d[f]);return u}(c):c}Object.defineProperty(o,"__esModule",{value:!0}),o.performanceNow=o.CachedFn=o.escapeRegExpCharacters=o.isValidHexColor=o.strArrCmp=o.strcmp=o.RegexSource=o.basename=o.mergeObjects=o.clone=void 0,o.clone=function(c){return i(c)},o.mergeObjects=function(c,...d){return d.forEach(u=>{for(let f in u)c[f]=u[f]}),c},o.basename=function c(d){const u=~d.lastIndexOf("/")||~d.lastIndexOf("\\");return u===0?d:~u==d.length-1?c(d.substring(0,d.length-1)):d.substr(1+~u)};let a=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;function l(c,d){return c<d?-1:c>d?1:0}o.RegexSource=class{static hasCaptures(c){return c!==null&&(a.lastIndex=0,a.test(c))}static replaceCaptures(c,d,u){return c.replace(a,(f,h,p,v)=>{let w=u[parseInt(h||p,10)];if(!w)return f;{let _=d.substring(w.start,w.end);for(;_[0]===".";)_=_.substring(1);switch(v){case"downcase":return _.toLowerCase();case"upcase":return _.toUpperCase();default:return _}}})}},o.strcmp=l,o.strArrCmp=function(c,d){if(c===null&&d===null)return 0;if(!c)return-1;if(!d)return 1;let u=c.length,f=d.length;if(u===f){for(let h=0;h<u;h++){let p=l(c[h],d[h]);if(p!==0)return p}return 0}return u-f},o.isValidHexColor=function(c){return!!(/^#[0-9a-f]{6}$/i.test(c)||/^#[0-9a-f]{8}$/i.test(c)||/^#[0-9a-f]{3}$/i.test(c)||/^#[0-9a-f]{4}$/i.test(c))},o.escapeRegExpCharacters=function(c){return c.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")},o.CachedFn=class{constructor(c){this.fn=c,this.cache=new Map}get(c){if(this.cache.has(c))return this.cache.get(c);const d=this.fn(c);return this.cache.set(c,d),d}},o.performanceNow=typeof performance>"u"?function(){return Date.now()}:function(){return performance.now()}}},r={};return function s(o){var i=r[o];if(i!==void 0)return i.exports;var a=r[o]={exports:{}};return n[o].call(a.exports,a,a.exports,s),a.exports}(787)})()})})(D$);const Ci=[{id:"abap",scopeName:"source.abap",path:"abap.tmLanguage.json",samplePath:"abap.sample"},{id:"actionscript-3",scopeName:"source.actionscript.3",path:"actionscript-3.tmLanguage.json",samplePath:"actionscript-3.sample"},{id:"ada",scopeName:"source.ada",path:"ada.tmLanguage.json",samplePath:"ada.sample"},{id:"apache",scopeName:"source.apacheconf",path:"apache.tmLanguage.json"},{id:"apex",scopeName:"source.apex",path:"apex.tmLanguage.json",samplePath:"apex.sample"},{id:"apl",scopeName:"source.apl",path:"apl.tmLanguage.json",embeddedLangs:["html","xml","css","javascript","json"]},{id:"applescript",scopeName:"source.applescript",path:"applescript.tmLanguage.json",samplePath:"applescript.sample"},{id:"asm",scopeName:"source.asm.x86_64",path:"asm.tmLanguage.json",samplePath:"asm.sample"},{id:"astro",scopeName:"source.astro",path:"astro.tmLanguage.json",samplePath:"astro.sample",embeddedLangs:["json","javascript","typescript","tsx","css","less","sass","scss","stylus"]},{id:"awk",scopeName:"source.awk",path:"awk.tmLanguage.json",samplePath:"awk.sample"},{id:"ballerina",scopeName:"source.ballerina",path:"ballerina.tmLanguage.json",samplePath:"ballerina.sample"},{id:"bat",scopeName:"source.batchfile",path:"bat.tmLanguage.json",samplePath:"bat.sample",aliases:["batch"]},{id:"berry",scopeName:"source.berry",path:"berry.tmLanguage.json",samplePath:"berry.sample",aliases:["be"]},{id:"bibtex",scopeName:"text.bibtex",path:"bibtex.tmLanguage.json"},{id:"bicep",scopeName:"source.bicep",path:"bicep.tmLanguage.json",samplePath:"bicep.sample"},{id:"blade",scopeName:"text.html.php.blade",path:"blade.tmLanguage.json",samplePath:"blade.sample",embeddedLangs:["html","xml","sql","javascript","json","css"]},{id:"c",scopeName:"source.c",path:"c.tmLanguage.json",samplePath:"c.sample"},{id:"cadence",scopeName:"source.cadence",path:"cadence.tmLanguage.json",samplePath:"cadence.sample",aliases:["cdc"]},{id:"clarity",scopeName:"source.clar",path:"clarity.tmLanguage.json",samplePath:"clarity.sample"},{id:"clojure",scopeName:"source.clojure",path:"clojure.tmLanguage.json",samplePath:"clojure.sample",aliases:["clj"]},{id:"cmake",scopeName:"source.cmake",path:"cmake.tmLanguage.json",samplePath:"cmake.sample"},{id:"cobol",scopeName:"source.cobol",path:"cobol.tmLanguage.json",samplePath:"cobol.sample",embeddedLangs:["sql","html","java"]},{id:"codeql",scopeName:"source.ql",path:"codeql.tmLanguage.json",samplePath:"codeql.sample",aliases:["ql"],embeddedLangs:["markdown"]},{id:"coffee",scopeName:"source.coffee",path:"coffee.tmLanguage.json",samplePath:"coffee.sample",embeddedLangs:["javascript"]},{id:"cpp",scopeName:"source.cpp",path:"cpp.tmLanguage.json",samplePath:"cpp.sample",embeddedLangs:["glsl","sql"]},{id:"crystal",scopeName:"source.crystal",path:"crystal.tmLanguage.json",samplePath:"crystal.sample",embeddedLangs:["html","sql","css","c","javascript","shellscript"]},{id:"csharp",scopeName:"source.cs",path:"csharp.tmLanguage.json",samplePath:"csharp.sample",aliases:["c#","cs"]},{id:"css",scopeName:"source.css",path:"css.tmLanguage.json",samplePath:"css.sample"},{id:"cue",scopeName:"source.cue",path:"cue.tmLanguage.json",samplePath:"cue.sample"},{id:"d",scopeName:"source.d",path:"d.tmLanguage.json",samplePath:"d.sample"},{id:"dart",scopeName:"source.dart",path:"dart.tmLanguage.json",samplePath:"dart.sample"},{id:"diff",scopeName:"source.diff",path:"diff.tmLanguage.json",samplePath:"diff.sample"},{id:"docker",scopeName:"source.dockerfile",path:"docker.tmLanguage.json",samplePath:"docker.sample"},{id:"dream-maker",scopeName:"source.dm",path:"dream-maker.tmLanguage.json"},{id:"elixir",scopeName:"source.elixir",path:"elixir.tmLanguage.json",samplePath:"elixir.sample",embeddedLangs:["html"]},{id:"elm",scopeName:"source.elm",path:"elm.tmLanguage.json",samplePath:"elm.sample",embeddedLangs:["glsl"]},{id:"erb",scopeName:"text.html.erb",path:"erb.tmLanguage.json",samplePath:"erb.sample",embeddedLangs:["html","ruby"]},{id:"erlang",scopeName:"source.erlang",path:"erlang.tmLanguage.json",samplePath:"erlang.sample",aliases:["erl"]},{id:"fish",scopeName:"source.fish",path:"fish.tmLanguage.json",samplePath:"fish.sample"},{id:"fsharp",scopeName:"source.fsharp",path:"fsharp.tmLanguage.json",samplePath:"fsharp.sample",aliases:["f#","fs"],embeddedLangs:["markdown"]},{id:"gherkin",scopeName:"text.gherkin.feature",path:"gherkin.tmLanguage.json"},{id:"git-commit",scopeName:"text.git-commit",path:"git-commit.tmLanguage.json",embeddedLangs:["diff"]},{id:"git-rebase",scopeName:"text.git-rebase",path:"git-rebase.tmLanguage.json",embeddedLangs:["shellscript"]},{id:"glsl",scopeName:"source.glsl",path:"glsl.tmLanguage.json",samplePath:"glsl.sample",embeddedLangs:["c"]},{id:"gnuplot",scopeName:"source.gnuplot",path:"gnuplot.tmLanguage.json"},{id:"go",scopeName:"source.go",path:"go.tmLanguage.json",samplePath:"go.sample"},{id:"graphql",scopeName:"source.graphql",path:"graphql.tmLanguage.json",embeddedLangs:["javascript","typescript","jsx","tsx"]},{id:"groovy",scopeName:"source.groovy",path:"groovy.tmLanguage.json"},{id:"hack",scopeName:"source.hack",path:"hack.tmLanguage.json",embeddedLangs:["html","sql"]},{id:"haml",scopeName:"text.haml",path:"haml.tmLanguage.json",embeddedLangs:["ruby","javascript","sass","coffee","markdown","css"]},{id:"handlebars",scopeName:"text.html.handlebars",path:"handlebars.tmLanguage.json",aliases:["hbs"],embeddedLangs:["html","css","javascript","yaml"]},{id:"haskell",scopeName:"source.haskell",path:"haskell.tmLanguage.json",aliases:["hs"]},{id:"hcl",scopeName:"source.hcl",path:"hcl.tmLanguage.json",samplePath:"hcl.sample"},{id:"hlsl",scopeName:"source.hlsl",path:"hlsl.tmLanguage.json"},{id:"html",scopeName:"text.html.basic",path:"html.tmLanguage.json",samplePath:"html.sample",embeddedLangs:["javascript","css"]},{id:"imba",scopeName:"source.imba",path:"imba.tmLanguage.json",samplePath:"imba.sample"},{id:"ini",scopeName:"source.ini",path:"ini.tmLanguage.json"},{id:"java",scopeName:"source.java",path:"java.tmLanguage.json",samplePath:"java.sample"},{id:"javascript",scopeName:"source.js",path:"javascript.tmLanguage.json",samplePath:"javascript.sample",aliases:["js"]},{id:"jinja-html",scopeName:"text.html.jinja",path:"jinja-html.tmLanguage.json",embeddedLangs:["html"]},{id:"json",scopeName:"source.json",path:"json.tmLanguage.json"},{id:"json5",scopeName:"source.json5",path:"json5.tmLanguage.json",samplePath:"json5.sample"},{id:"jsonc",scopeName:"source.json.comments",path:"jsonc.tmLanguage.json"},{id:"jsonnet",scopeName:"source.jsonnet",path:"jsonnet.tmLanguage.json"},{id:"jssm",scopeName:"source.jssm",path:"jssm.tmLanguage.json",samplePath:"jssm.sample",aliases:["fsl"]},{id:"jsx",scopeName:"source.js.jsx",path:"jsx.tmLanguage.json"},{id:"julia",scopeName:"source.julia",path:"julia.tmLanguage.json",embeddedLangs:["cpp","python","javascript","r","sql"]},{id:"kotlin",scopeName:"source.kotlin",path:"kotlin.tmLanguage.json"},{id:"latex",scopeName:"text.tex.latex",path:"latex.tmLanguage.json",embeddedLangs:["tex","css","haskell","html","xml","java","lua","julia","ruby","javascript","typescript","python","yaml","rust","scala","gnuplot"]},{id:"less",scopeName:"source.css.less",path:"less.tmLanguage.json",embeddedLangs:["css"]},{id:"liquid",scopeName:"text.html.liquid",path:"liquid.tmLanguage.json",samplePath:"liquid.sample",embeddedLangs:["html","css","json","javascript"]},{id:"lisp",scopeName:"source.lisp",path:"lisp.tmLanguage.json"},{id:"logo",scopeName:"source.logo",path:"logo.tmLanguage.json"},{id:"lua",scopeName:"source.lua",path:"lua.tmLanguage.json",embeddedLangs:["c"]},{id:"make",scopeName:"source.makefile",path:"make.tmLanguage.json",aliases:["makefile"]},{id:"markdown",scopeName:"text.html.markdown",path:"markdown.tmLanguage.json",aliases:["md"],embeddedLangs:["css","html","ini","java","lua","make","perl","r","ruby","php","sql","vb","xml","xsl","yaml","bat","clojure","coffee","c","cpp","diff","docker","git-commit","git-rebase","go","groovy","pug","javascript","json","jsonc","less","objective-c","swift","scss","raku","powershell","python","julia","rust","scala","shellscript","typescript","tsx","csharp","fsharp","dart","handlebars","erlang","elixir","latex","bibtex"]},{id:"marko",scopeName:"text.marko",path:"marko.tmLanguage.json",embeddedLangs:["css","less","scss","typescript"]},{id:"matlab",scopeName:"source.matlab",path:"matlab.tmLanguage.json"},{id:"mdx",scopeName:"text.html.markdown.jsx",path:"mdx.tmLanguage.json",embeddedLangs:["jsx","markdown"]},{id:"mermaid",scopeName:"source.mermaid",path:"mermaid.tmLanguage.json"},{id:"nginx",scopeName:"source.nginx",path:"nginx.tmLanguage.json",embeddedLangs:["lua"]},{id:"nim",scopeName:"source.nim",path:"nim.tmLanguage.json",embeddedLangs:["c","html","xml","javascript","css","glsl","markdown"]},{id:"nix",scopeName:"source.nix",path:"nix.tmLanguage.json"},{id:"objective-c",scopeName:"source.objc",path:"objective-c.tmLanguage.json",aliases:["objc"]},{id:"objective-cpp",scopeName:"source.objcpp",path:"objective-cpp.tmLanguage.json"},{id:"ocaml",scopeName:"source.ocaml",path:"ocaml.tmLanguage.json"},{id:"pascal",scopeName:"source.pascal",path:"pascal.tmLanguage.json"},{id:"perl",scopeName:"source.perl",path:"perl.tmLanguage.json",embeddedLangs:["html","xml","css","javascript","sql"]},{id:"php",scopeName:"source.php",path:"php.tmLanguage.json",embeddedLangs:["html","xml","sql","javascript","json","css"]},{id:"plsql",scopeName:"source.plsql.oracle",path:"plsql.tmLanguage.json"},{id:"postcss",scopeName:"source.css.postcss",path:"postcss.tmLanguage.json"},{id:"powershell",scopeName:"source.powershell",path:"powershell.tmLanguage.json",aliases:["ps","ps1"]},{id:"prisma",scopeName:"source.prisma",path:"prisma.tmLanguage.json",samplePath:"prisma.sample"},{id:"prolog",scopeName:"source.prolog",path:"prolog.tmLanguage.json"},{id:"proto",scopeName:"source.proto",path:"proto.tmLanguage.json",samplePath:"proto.sample"},{id:"pug",scopeName:"text.pug",path:"pug.tmLanguage.json",aliases:["jade"],embeddedLangs:["javascript","css","sass","scss","stylus","coffee","html"]},{id:"puppet",scopeName:"source.puppet",path:"puppet.tmLanguage.json"},{id:"purescript",scopeName:"source.purescript",path:"purescript.tmLanguage.json"},{id:"python",scopeName:"source.python",path:"python.tmLanguage.json",samplePath:"python.sample",aliases:["py"]},{id:"r",scopeName:"source.r",path:"r.tmLanguage.json"},{id:"raku",scopeName:"source.perl.6",path:"raku.tmLanguage.json",aliases:["perl6"]},{id:"razor",scopeName:"text.aspnetcorerazor",path:"razor.tmLanguage.json",embeddedLangs:["html","csharp"]},{id:"rel",scopeName:"source.rel",path:"rel.tmLanguage.json",samplePath:"rel.sample"},{id:"riscv",scopeName:"source.riscv",path:"riscv.tmLanguage.json"},{id:"rst",scopeName:"source.rst",path:"rst.tmLanguage.json",embeddedLangs:["cpp","python","javascript","shellscript","yaml","cmake","ruby"]},{id:"ruby",scopeName:"source.ruby",path:"ruby.tmLanguage.json",samplePath:"ruby.sample",aliases:["rb"],embeddedLangs:["html","xml","sql","css","c","javascript","shellscript","lua"]},{id:"rust",scopeName:"source.rust",path:"rust.tmLanguage.json",aliases:["rs"]},{id:"sas",scopeName:"source.sas",path:"sas.tmLanguage.json",embeddedLangs:["sql"]},{id:"sass",scopeName:"source.sass",path:"sass.tmLanguage.json"},{id:"scala",scopeName:"source.scala",path:"scala.tmLanguage.json"},{id:"scheme",scopeName:"source.scheme",path:"scheme.tmLanguage.json"},{id:"scss",scopeName:"source.css.scss",path:"scss.tmLanguage.json",embeddedLangs:["css"]},{id:"shaderlab",scopeName:"source.shaderlab",path:"shaderlab.tmLanguage.json",aliases:["shader"],embeddedLangs:["hlsl"]},{id:"shellscript",scopeName:"source.shell",path:"shellscript.tmLanguage.json",aliases:["shell","bash","sh","zsh"]},{id:"smalltalk",scopeName:"source.smalltalk",path:"smalltalk.tmLanguage.json"},{id:"solidity",scopeName:"source.solidity",path:"solidity.tmLanguage.json"},{id:"sparql",scopeName:"source.sparql",path:"sparql.tmLanguage.json",samplePath:"sparql.sample",embeddedLangs:["turtle"]},{id:"sql",scopeName:"source.sql",path:"sql.tmLanguage.json"},{id:"ssh-config",scopeName:"source.ssh-config",path:"ssh-config.tmLanguage.json"},{id:"stata",scopeName:"source.stata",path:"stata.tmLanguage.json",samplePath:"stata.sample",embeddedLangs:["sql"]},{id:"stylus",scopeName:"source.stylus",path:"stylus.tmLanguage.json",aliases:["styl"]},{id:"svelte",scopeName:"source.svelte",path:"svelte.tmLanguage.json",embeddedLangs:["javascript","typescript","coffee","stylus","sass","css","scss","less","postcss","pug","markdown"]},{id:"swift",scopeName:"source.swift",path:"swift.tmLanguage.json"},{id:"system-verilog",scopeName:"source.systemverilog",path:"system-verilog.tmLanguage.json"},{id:"tasl",scopeName:"source.tasl",path:"tasl.tmLanguage.json",samplePath:"tasl.sample"},{id:"tcl",scopeName:"source.tcl",path:"tcl.tmLanguage.json"},{id:"tex",scopeName:"text.tex",path:"tex.tmLanguage.json",embeddedLangs:["r"]},{id:"toml",scopeName:"source.toml",path:"toml.tmLanguage.json"},{id:"tsx",scopeName:"source.tsx",path:"tsx.tmLanguage.json",samplePath:"tsx.sample"},{id:"turtle",scopeName:"source.turtle",path:"turtle.tmLanguage.json",samplePath:"turtle.sample"},{id:"twig",scopeName:"text.html.twig",path:"twig.tmLanguage.json",embeddedLangs:["css","javascript","php","python","ruby"]},{id:"typescript",scopeName:"source.ts",path:"typescript.tmLanguage.json",aliases:["ts"]},{id:"v",scopeName:"source.v",path:"v.tmLanguage.json",samplePath:"v.sample"},{id:"vb",scopeName:"source.asp.vb.net",path:"vb.tmLanguage.json",aliases:["cmd"]},{id:"verilog",scopeName:"source.verilog",path:"verilog.tmLanguage.json"},{id:"vhdl",scopeName:"source.vhdl",path:"vhdl.tmLanguage.json"},{id:"viml",scopeName:"source.viml",path:"viml.tmLanguage.json",aliases:["vim","vimscript"]},{id:"vue-html",scopeName:"text.html.vue-html",path:"vue-html.tmLanguage.json",embeddedLangs:["vue","javascript"]},{id:"vue",scopeName:"source.vue",path:"vue.tmLanguage.json",embeddedLangs:["html","markdown","pug","stylus","sass","css","scss","less","javascript","typescript","jsx","tsx","json","jsonc","yaml","toml","graphql"]},{id:"wasm",scopeName:"source.wat",path:"wasm.tmLanguage.json"},{id:"wenyan",scopeName:"source.wenyan",path:"wenyan.tmLanguage.json",aliases:["文言"]},{id:"xml",scopeName:"text.xml",path:"xml.tmLanguage.json",embeddedLangs:["java"]},{id:"xsl",scopeName:"text.xml.xsl",path:"xsl.tmLanguage.json",embeddedLangs:["xml"]},{id:"yaml",scopeName:"source.yaml",path:"yaml.tmLanguage.json"},{id:"zenscript",scopeName:"source.zenscript",path:"zenscript.tmLanguage.json",samplePath:"zenscript.sample"}];var Oo=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e))(Oo||{});class it{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n="0"+n;return n}static printMetadata(t){let n=it.getLanguageId(t),r=it.getTokenType(t),s=it.getFontStyle(t),o=it.getForeground(t),i=it.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:s,foreground:o,background:i})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static getFontStyle(t){return(t&14336)>>>11}static getForeground(t){return(t&8372224)>>>15}static getBackground(t){return(t&4286578688)>>>24}static containsBalancedBrackets(t){return(t&1024)!==0}static set(t,n,r,s,o,i){let a=it.getLanguageId(t),l=it.getTokenType(t),c=it.getFontStyle(t),d=it.getForeground(t),u=it.getBackground(t),f=it.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),r!==0&&(l=r===8?0:r),s!==-1&&(c=s),o!==0&&(d=o),i!==0&&(u=i),(a<<0|l<<8|c<<11|f<<10|d<<15|u<<24)>>>0}}function F$(e){return e.endsWith("/")||e.endsWith("\\")?e.slice(0,-1):e}function B$(e){return e.startsWith("./")?e.slice(2):e}function Jp(e){const t=e.split(/[\/\\]/g);return t.slice(0,t.length-1)}function Qp(...e){return e.map(F$).map(B$).join("/")}function H$(e,t){const n=new Map;for(const r of e){const s=t(r);n.has(s)?n.get(s).push(r):n.set(s,[r])}return n}function U$(e,t=!1){const n=e.length;let r=0,s="",o=0,i=16,a=0,l=0,c=0,d=0,u=0;function f(b,y){let T=0,m=0;for(;T<b||!y;){let $=e.charCodeAt(r);if($>=48&&$<=57)m=m*16+$-48;else if($>=65&&$<=70)m=m*16+$-65+10;else if($>=97&&$<=102)m=m*16+$-97+10;else break;r++,T++}return T<b&&(m=-1),m}function h(b){r=b,s="",o=0,i=16,u=0}function p(){let b=r;if(e.charCodeAt(r)===48)r++;else for(r++;r<e.length&&sr(e.charCodeAt(r));)r++;if(r<e.length&&e.charCodeAt(r)===46)if(r++,r<e.length&&sr(e.charCodeAt(r)))for(r++;r<e.length&&sr(e.charCodeAt(r));)r++;else return u=3,e.substring(b,r);let y=r;if(r<e.length&&(e.charCodeAt(r)===69||e.charCodeAt(r)===101))if(r++,(r<e.length&&e.charCodeAt(r)===43||e.charCodeAt(r)===45)&&r++,r<e.length&&sr(e.charCodeAt(r))){for(r++;r<e.length&&sr(e.charCodeAt(r));)r++;y=r}else u=3;return e.substring(b,y)}function v(){let b="",y=r;for(;;){if(r>=n){b+=e.substring(y,r),u=2;break}const T=e.charCodeAt(r);if(T===34){b+=e.substring(y,r),r++;break}if(T===92){if(b+=e.substring(y,r),r++,r>=n){u=2;break}switch(e.charCodeAt(r++)){case 34:b+='"';break;case 92:b+="\\";break;case 47:b+="/";break;case 98:b+="\b";break;case 102:b+="\f";break;case 110:b+=`
|
|
11
|
-
`;break;case 114:b+="\r";break;case 116:b+=" ";break;case 117:const $=f(4,!0);$>=0?b+=String.fromCharCode($):u=4;break;default:u=5}y=r;continue}if(T>=0&&T<=31)if(ts(T)){b+=e.substring(y,r),u=2;break}else u=6;r++}return b}function w(){if(s="",u=0,o=r,l=a,d=c,r>=n)return o=n,i=17;let b=e.charCodeAt(r);if(pa(b)){do r++,s+=String.fromCharCode(b),b=e.charCodeAt(r);while(pa(b));return i=15}if(ts(b))return r++,s+=String.fromCharCode(b),b===13&&e.charCodeAt(r)===10&&(r++,s+=`
|
|
12
|
-
`),a++,c=r,i=14;switch(b){case 123:return r++,i=1;case 125:return r++,i=2;case 91:return r++,i=3;case 93:return r++,i=4;case 58:return r++,i=6;case 44:return r++,i=5;case 34:return r++,s=v(),i=10;case 47:const y=r-1;if(e.charCodeAt(r+1)===47){for(r+=2;r<n&&!ts(e.charCodeAt(r));)r++;return s=e.substring(y,r),i=12}if(e.charCodeAt(r+1)===42){r+=2;const T=n-1;let m=!1;for(;r<T;){const $=e.charCodeAt(r);if($===42&&e.charCodeAt(r+1)===47){r+=2,m=!0;break}r++,ts($)&&($===13&&e.charCodeAt(r)===10&&r++,a++,c=r)}return m||(r++,u=1),s=e.substring(y,r),i=13}return s+=String.fromCharCode(b),r++,i=16;case 45:if(s+=String.fromCharCode(b),r++,r===n||!sr(e.charCodeAt(r)))return i=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return s+=p(),i=11;default:for(;r<n&&_(b);)r++,b=e.charCodeAt(r);if(o!==r){switch(s=e.substring(o,r),s){case"true":return i=8;case"false":return i=9;case"null":return i=7}return i=16}return s+=String.fromCharCode(b),r++,i=16}}function _(b){if(pa(b)||ts(b))return!1;switch(b){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function g(){let b;do b=w();while(b>=12&&b<=15);return b}return{setPosition:h,getPosition:()=>r,scan:t?g:w,getToken:()=>i,getTokenValue:()=>s,getTokenOffset:()=>o,getTokenLength:()=>r-o,getTokenStartLine:()=>l,getTokenStartCharacter:()=>o-d,getTokenError:()=>u}}function pa(e){return e===32||e===9}function ts(e){return e===10||e===13}function sr(e){return e>=48&&e<=57}var Nf;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(Nf||(Nf={}));var ti;(function(e){e.DEFAULT={allowTrailingComma:!1}})(ti||(ti={}));function V$(e,t=[],n=ti.DEFAULT){let r=null,s=[];const o=[];function i(l){Array.isArray(s)?s.push(l):r!==null&&(s[r]=l)}return W$(e,{onObjectBegin:()=>{const l={};i(l),o.push(s),s=l,r=null},onObjectProperty:l=>{r=l},onObjectEnd:()=>{s=o.pop()},onArrayBegin:()=>{const l=[];i(l),o.push(s),s=l,r=null},onArrayEnd:()=>{s=o.pop()},onLiteralValue:i,onError:(l,c,d)=>{t.push({error:l,offset:c,length:d})}},n),s[0]}function W$(e,t,n=ti.DEFAULT){const r=U$(e,!1),s=[];function o(A){return A?()=>A(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function i(A){return A?()=>A(r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>s.slice()):()=>!0}function a(A){return A?R=>A(R,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter()):()=>!0}function l(A){return A?R=>A(R,r.getTokenOffset(),r.getTokenLength(),r.getTokenStartLine(),r.getTokenStartCharacter(),()=>s.slice()):()=>!0}const c=i(t.onObjectBegin),d=l(t.onObjectProperty),u=o(t.onObjectEnd),f=i(t.onArrayBegin),h=o(t.onArrayEnd),p=l(t.onLiteralValue),v=a(t.onSeparator),w=o(t.onComment),_=a(t.onError),g=n&&n.disallowComments,b=n&&n.allowTrailingComma;function y(){for(;;){const A=r.scan();switch(r.getTokenError()){case 4:T(14);break;case 5:T(15);break;case 3:T(13);break;case 1:g||T(11);break;case 2:T(12);break;case 6:T(16);break}switch(A){case 12:case 13:g?T(10):w();break;case 16:T(1);break;case 15:case 14:break;default:return A}}}function T(A,R=[],P=[]){if(_(A),R.length+P.length>0){let I=r.getToken();for(;I!==17;){if(R.indexOf(I)!==-1){y();break}else if(P.indexOf(I)!==-1)break;I=y()}}}function m(A){const R=r.getTokenValue();return A?p(R):(d(R),s.push(R)),y(),!0}function $(){switch(r.getToken()){case 11:const A=r.getTokenValue();let R=Number(A);isNaN(R)&&(T(2),R=0),p(R);break;case 7:p(null);break;case 8:p(!0);break;case 9:p(!1);break;default:return!1}return y(),!0}function x(){return r.getToken()!==10?(T(3,[],[2,5]),!1):(m(!1),r.getToken()===6?(v(":"),y(),S()||T(4,[],[2,5])):T(5,[],[2,5]),s.pop(),!0)}function E(){c(),y();let A=!1;for(;r.getToken()!==2&&r.getToken()!==17;){if(r.getToken()===5){if(A||T(4,[],[]),v(","),y(),r.getToken()===2&&b)break}else A&&T(6,[],[]);x()||T(4,[],[2,5]),A=!0}return u(),r.getToken()!==2?T(7,[2],[]):y(),!0}function k(){f(),y();let A=!0,R=!1;for(;r.getToken()!==4&&r.getToken()!==17;){if(r.getToken()===5){if(R||T(4,[],[]),v(","),y(),r.getToken()===4&&b)break}else R&&T(6,[],[]);A?(s.push(0),A=!1):s[s.length-1]++,S()||T(4,[],[4,5]),R=!0}return h(),A||s.pop(),r.getToken()!==4?T(8,[4],[]):y(),!0}function S(){switch(r.getToken()){case 3:return k();case 1:return E();case 10:return m(!0);default:return $()}}return y(),r.getToken()===17?n.allowEmptyContent?!0:(T(4,[],[]),!1):S()?(r.getToken()!==17&&T(9,[],[]),!0):(T(4,[],[]),!1)}var Of;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(Of||(Of={}));var Lf;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(Lf||(Lf={}));const G$=V$;var Cf;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"})(Cf||(Cf={}));"process"in globalThis&&typeof process<"u"&&typeof process.release<"u"&&process.release.name;let Zp="";const z$="dist/";function q$(e){Zp=e.endsWith("/")?e:e+"/"}let ma=null;async function K$(e){if(!ma){let t;t=As.loadWASM({data:await(globalThis.__shiki_fetch__||globalThis.fetch)(em(Qp(...Jp(e),"onig.wasm")))}),ma=t.then(()=>({createOnigScanner(n){return As.createOnigScanner(n)},createOnigString(n){return As.createOnigString(n)}}))}return ma}function em(e){return`${Zp}${e}`}async function X$(e){const t=em(e);return await(globalThis.__shiki_fetch__||globalThis.fetch)(t).then(n=>n.text())}async function tm(e){const t=[],n=G$(await X$(e),t,{allowTrailingComma:!0});if(t.length)throw t[0];return n}async function nm(e){let t=await tm(e);const n=rm(t);if(n.include){const r=await nm(Qp(...Jp(e),n.include));r.settings&&(n.settings=r.settings.concat(n.settings)),r.bg&&!n.bg&&(n.bg=r.bg),r.colors&&(n.colors={...r.colors,...n.colors}),delete n.include}return n}async function Y$(e){return await tm(e)}function J$(e){e.settings||(e.settings=[]),!(e.settings[0]&&e.settings[0].settings&&!e.settings[0].scope)&&e.settings.unshift({settings:{foreground:e.fg,background:e.bg}})}function rm(e){const t=e.type||"dark",n={name:e.name,type:t,...e,...Q$(e)};return e.include&&(n.include=e.include),e.tokenColors&&(n.settings=e.tokenColors,delete n.tokenColors),J$(n),n}const If={light:"#333333",dark:"#bbbbbb"},jf={light:"#fffffe",dark:"#1e1e1e"};function Q$(e){let t,n,r=e.settings?e.settings:e.tokenColors;const s=r?r.find(o=>!o.name&&!o.scope):void 0;return s?.settings?.foreground&&(t=s.settings.foreground),s?.settings?.background&&(n=s.settings.background),!t&&e?.colors?.["editor.foreground"]&&(t=e.colors["editor.foreground"]),!n&&e?.colors?.["editor.background"]&&(n=e.colors["editor.background"]),t||(t=e.type==="light"?If.light:If.dark),n||(n=e.type==="light"?jf.light:jf.dark),{fg:t,bg:n}}class Z${constructor(t,n){this.languagesPath="languages/",this.languageMap={},this.scopeToLangMap={},this._onigLibPromise=t,this._onigLibName=n}get onigLib(){return this._onigLibPromise}getOnigLibName(){return this._onigLibName}getLangRegistration(t){return this.languageMap[t]}async loadGrammar(t){const n=this.scopeToLangMap[t];if(!n)return null;if(n.grammar)return n.grammar;const r=await Y$(Ci.includes(n)?`${this.languagesPath}${n.path}`:n.path);return n.grammar=r,r}addLanguage(t){this.languageMap[t.id]=t,t.aliases&&t.aliases.forEach(n=>{this.languageMap[n]=t}),this.scopeToLangMap[t.scopeName]=t}}function ek(e,t,n,r,s){let o=n.split(/\r\n|\r|\n/),i=ei.INITIAL,a=[],l=[];for(let c=0,d=o.length;c<d;c++){let u=o[c];if(u===""){a=[],l.push([]);continue}let f,h,p;s.includeExplanation&&(f=r.tokenizeLine(u,i),h=f.tokens,p=0);let v=r.tokenizeLine2(u,i),w=v.tokens.length/2;for(let _=0;_<w;_++){let g=v.tokens[2*_],b=_+1<w?v.tokens[2*_+2]:u.length;if(g===b)continue;let y=v.tokens[2*_+1],T=it.getForeground(y),m=t[T],$=it.getFontStyle(y),x=[];if(s.includeExplanation){let E=0;for(;g+E<b;){let k=h[p],S=u.substring(k.startIndex,k.endIndex);E+=S.length,x.push({content:S,scopes:tk(e,k.scopes)}),p++}}a.push({content:u.substring(g,b),color:m,fontStyle:$,explanation:x})}l.push(a),a=[],i=v.ruleStack}return l}function tk(e,t){let n=[];for(let r=0,s=t.length;r<s;r++){let o=t.slice(0,r),i=t[r];n[r]={scopeName:i,themeMatches:rk(e,i,o)}}return n}function Mf(e,t){let n=e+".";return e===t||t.substring(0,n.length)===n}function nk(e,t,n,r){if(!Mf(e,n))return!1;let s=t.length-1,o=r.length-1;for(;s>=0&&o>=0;)Mf(t[s],r[o])&&s--,o--;return s===-1}function rk(e,t,n){let r=[],s=0;for(let o=0,i=e.settings.length;o<i;o++){let a=e.settings[o],l;if(typeof a.scope=="string")l=a.scope.split(/,/).map(c=>c.trim());else if(Array.isArray(a.scope))l=a.scope;else continue;for(let c=0,d=l.length;c<d;c++){let f=l[c].split(/ /),h=f[f.length-1],p=f.slice(0,f.length-1);nk(h,p,t,n)&&(r[s++]=a,c=d)}}return r}const sk={pre({className:e,style:t,children:n}){return`<pre class="${e}" style="${t}">${n}</pre>`},code({children:e}){return`<code>${e}</code>`},line({className:e,children:t}){return`<span class="${e}">${t}</span>`},token({style:e,children:t}){return`<span style="${e}">${t}</span>`}};function ok(e,t={}){const n=t.bg||"#fff",r=H$(t.lineOptions??[],i=>i.line),s=t.elements||{};function o(i="",a={},l){const c=s[i]||sk[i];return c?(l=l.filter(Boolean),c({...a,children:i==="code"?l.join(`
|
|
13
|
-
`):l.join("")})):""}return o("pre",{className:"shiki "+(t.themeName||""),style:`background-color: ${n}`},[t.langId?`<div class="language-id">${t.langId}</div>`:"",o("code",{},e.map((i,a)=>{const l=a+1,c=r.get(l)??[],d=lk(c).join(" ");return o("line",{className:d,lines:e,line:i,index:a},i.map((u,f)=>{const h=[`color: ${u.color||t.fg}`];return u.fontStyle&Oo.Italic&&h.push("font-style: italic"),u.fontStyle&Oo.Bold&&h.push("font-weight: bold"),u.fontStyle&Oo.Underline&&h.push("text-decoration: underline"),o("token",{style:h.join("; "),tokens:i,token:u,index:f},[ak(u.content)])}))}))])}const ik={"&":"&","<":"<",">":">",'"':""","'":"'"};function ak(e){return e.replace(/[&<>"']/g,t=>ik[t])}function lk(e){const t=new Set(["line"]);for(const n of e)for(const r of n.classes??[])t.add(r);return Array.from(t)}class ck extends ei.Registry{constructor(t){super(t),this._resolver=t,this.themesPath="themes/",this._resolvedThemes={},this._resolvedGrammars={},this._langGraph=new Map,this._langMap=Ci.reduce((n,r)=>(n[r.id]=r,n),{})}getTheme(t){return typeof t=="string"?this._resolvedThemes[t]:t}async loadTheme(t){return typeof t=="string"?(this._resolvedThemes[t]||(this._resolvedThemes[t]=await nm(`${this.themesPath}${t}.json`)),this._resolvedThemes[t]):(t=rm(t),t.name&&(this._resolvedThemes[t.name]=t),t)}async loadThemes(t){return await Promise.all(t.map(n=>this.loadTheme(n)))}getLoadedThemes(){return Object.keys(this._resolvedThemes)}getGrammar(t){return this._resolvedGrammars[t]}async loadLanguage(t){const r={embeddedLanguages:t.embeddedLangs?.reduce(async(o,i,a)=>{if(!this.getLoadedLanguages().includes(i)&&this._resolver.getLangRegistration(i))return await this._resolver.loadGrammar(this._resolver.getLangRegistration(i).scopeName),o[this._resolver.getLangRegistration(i).scopeName]=a+2,o},{}),balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]},s=await this.loadGrammarWithConfiguration(t.scopeName,1,r);this._resolvedGrammars[t.id]=s,t.aliases&&t.aliases.forEach(o=>{this._resolvedGrammars[o]=s})}async loadLanguages(t){for(const r of t)this.resolveEmbeddedLanguages(r);const n=Array.from(this._langGraph.values());for(const r of n)this._resolver.addLanguage(r);for(const r of n)await this.loadLanguage(r)}getLoadedLanguages(){return Object.keys(this._resolvedGrammars)}resolveEmbeddedLanguages(t){if(this._langGraph.has(t.id)||this._langGraph.set(t.id,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap[n])}}function sm(e){return typeof e=="string"?Ci.find(t=>t.id===e||t.aliases?.includes(e)):e}function uk(e){let t=Ci,n=e.themes||[],r=e.paths?.wasm?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":z$;return e.langs&&(t=e.langs.map(sm)),e.theme&&n.unshift(e.theme),n.length||(n=["nord"]),{_languages:t,_themes:n,_wasmPath:r}}async function fk(e){const{_languages:t,_themes:n,_wasmPath:r}=uk(e),s=new Z$(K$(r),"vscode-oniguruma"),o=new ck(s);e.paths?.themes&&(o.themesPath=e.paths.themes.endsWith("/")?e.paths.themes:e.paths.themes+"/"),e.paths?.languages&&(s.languagesPath=e.paths.languages.endsWith("/")?e.paths.languages:e.paths.languages+"/");const a=(await o.loadThemes(n))[0];let l;await o.loadLanguages(t);let c={"#000001":"var(--shiki-color-text)","#000002":"var(--shiki-color-background)","#000004":"var(--shiki-token-constant)","#000005":"var(--shiki-token-string)","#000006":"var(--shiki-token-comment)","#000007":"var(--shiki-token-keyword)","#000008":"var(--shiki-token-parameter)","#000009":"var(--shiki-token-function)","#000010":"var(--shiki-token-string-expression)","#000011":"var(--shiki-token-punctuation)","#000012":"var(--shiki-token-link)"};function d(m){c=m}function u(m,$){m.bg=c[m.bg]||m.bg,m.fg=c[m.fg]||m.fg,$.forEach((x,E)=>{$[E]=c[x]||x})}function f(m){const $=m?o.getTheme(m):a;if(!$)throw Error(`No theme registration for ${m}`);(!l||l.name!==$.name)&&(o.setTheme($),l=$);const x=o.getColorMap();return $.type==="css"&&u($,x),{_theme:$,_colorMap:x}}function h(m){const $=o.getGrammar(m);if(!$)throw Error(`No language registration for ${m}`);return{_grammar:$}}function p(m,$="text",x,E={includeExplanation:!0}){if(dk($))return[...m.split(/\r\n|\r|\n/).map(P=>[{content:P}])];const{_grammar:k}=h($),{_theme:S,_colorMap:A}=f(x);return ek(S,A,m,k,E)}function v(m,$="text",x){let E;typeof $=="object"?E=$:E={lang:$,theme:x};const k=p(m,E.lang,E.theme,{includeExplanation:!1}),{_theme:S}=f(E.theme);return ok(k,{fg:S.fg,bg:S.bg,lineOptions:E?.lineOptions,themeName:S.name})}async function w(m){await o.loadTheme(m)}async function _(m){const $=sm(m);s.addLanguage($),await o.loadLanguage($)}function g(){return o.getLoadedThemes()}function b(){return o.getLoadedLanguages()}function y(m){const{_theme:$}=f(m);return $.bg}function T(m){const{_theme:$}=f(m);return $.fg}return{codeToThemedTokens:p,codeToHtml:v,getTheme:m=>f(m)._theme,loadTheme:w,loadLanguage:_,getBackgroundColor:y,getForegroundColor:T,getLoadedThemes:g,getLoadedLanguages:b,setColorReplacements:d}}function dk(e){return!e||["plaintext","txt","text"].includes(e)}const hk="0.2.0";q$(`https://cdn.jsdelivr.net/npm/shiki-es@${hk}/dist/assets/`);const To=ee();let Df=null;function pk(e,t){const n=Li();!Df&&!To.value&&(Df=fk({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(s=>{To.value=s}));const r=To.value?.getLoadedLanguages().includes(t);return r?{code:To.value.codeToHtml(e,{lang:t,theme:n.value==="dark"?"vitesse-dark":"vitesse-light"}),supported:!0}:{code:e,supported:r}}function tt(){return Ir("devtools-client")}function H2(){const e=tt();return pe(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function om(){const e=tt();return pe(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function U2(){const e=tt();return pe(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}function mk(){return Ir("devtools-component-inspector-data")}const im=ee(!1);setTimeout(()=>{im.value=!0},2e3);const gk=pe(()=>im.value&&!tt().value);function vk(){const e=tt(),t=Li();return pe(()=>({host:e.value,devtools:{rpc:Fe,colorMode:t.value,renderCodeHighlight(n,r){return pk(n,r)},renderMarkdown(n){return j$(n)},extendClientRpc(n,r){return Dp.set(n,r),new Proxy({},{get(s,o){if(typeof o=="string")return Fe[`${n}:${o}`]}})}}}))}const ns={icon:"carbon:image-search",title:"Open Graph",layout:"full",category:"analyze",show:()=>{const e=tt();return()=>!!e.value}},rs={icon:"carbon-information",title:"Overview",order:-100},ss={icon:"carbon-tree-view-alt",title:"Pages",show:()=>{const e=tt();return()=>!!e.value},order:1},os={icon:"carbon-data-set",title:"Payload",category:"analyze",show:()=>{const e=tt();return()=>!!e.value},order:7},is={icon:"carbon-plug",title:"Plugins",category:"analyze"},as={icon:"carbon-settings-services",title:"Runtime Configs",category:"analyze",show:()=>{const e=tt();return()=>!!e.value},order:6},_k="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function yk(e=16,t=_k){let n="",r=e;const s=t.length;for(;r--;)n+=t[Math.random()*s|0];return n}function am(e,t,n=!1){return t.reduce((r,s)=>(s in e&&(!n||e[s]!==void 0)&&(r[s]=e[s]),r),{})}function lm(){return pt("getServerPages",()=>Fe.getServerPages())}function bk(){return pt("getServerRoutes",()=>Fe.getServerRoutes())}function V2(){return pt("getServerHooks",()=>Fe.getServerHooks())}function W2(){return pt("getServerLayouts",()=>Fe.getServerLayouts())}function G2(){return pt("getAutoImports",()=>Fe.getAutoImports())}function z2(){return pt("getStaticAssets",()=>Fe.getStaticAssets())}function wk(){return pt("getServerConfig",()=>Fe.getServerConfig())}function q2(){return pt("getServerApp",()=>Fe.getServerApp())}function Ek(){return pt("getCustomTabs",()=>Fe.getCustomTabs())}function Ff(){return pt("getTerminals",()=>Fe.getTerminals())}function K2(){return pt("getAnalyzeBuildInfo",()=>Fe.getAnalyzeBuildInfo())}function xk(){const{data:e}=k1("/_vfs.json",{key:"vfs-list",baseURL:"/",responseType:"json"},"$1Vz4NDBkXu");return e}function X2(){const e=lm(),t=om();return pe(()=>(t.value?.getRoutes()||[]).map(n=>am(n,["path","name","meta","props","children"])).map(n=>({...e.value?.find(r=>r.name&&r.name===n.name),...n})))}const ls={icon:"carbon-cloud",title:"Server Routes",layout:"full",category:"server",show(){const e=bk();return()=>e.value?.length}},cs={icon:"carbon-data-base",title:"Storage",layout:"full",category:"server"},us={icon:"carbon-terminal",title:"Terminals",layout:"full",show(){const e=Ff();return()=>!!e.value?.length},badge(){const e=Ff();return()=>e.value?.filter(t=>!t.isTerminated).length}},fs={icon:"i-carbon-border-none",title:"Virtual Files",layout:"full",category:"advanced"},ds={layout:"full"},Bf=[{name:Vr?.name??"__blank",path:Vr?.path??"/__blank",meta:Vr||{},alias:Vr?.alias||[],redirect:Vr?.redirect||void 0,component:()=>Re(()=>import("./__blank.474106e2.js"),["./__blank.474106e2.js","./NPanelGrids.16564aae.js"],import.meta.url).then(e=>e.default||e)},{name:Wr?.name??"index",path:Wr?.path??"/",meta:Wr||{},alias:Wr?.alias||[],redirect:Wr?.redirect||void 0,component:()=>Re(()=>import("./index.d1b4d52b.js"),["./index.d1b4d52b.js","./Badge.01153451.js"],import.meta.url).then(e=>e.default||e)},{name:qr?.name??"modules-analyze-build",path:qr?.path??"/modules/analyze-build",meta:qr||{},alias:qr?.alias||[],redirect:qr?.redirect||void 0,component:()=>Re(()=>import("./analyze-build.25e4c0e1.js"),["./analyze-build.25e4c0e1.js","./FilepathItem.vue.b4bdb03f.js","./NPanelGrids.16564aae.js","./PanelLeftRight.vue.17bcbe2c.js","./NTip.vue.0823a0e1.js","./NCodeBlock.vue.5e6a2196.js","./client.853ad100.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.09c2faa0.js","./HelpFab.vue.a9df2aac.js","./NIconButton.vue.b41ef4b9.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Kr?.name??"modules-assets",path:Kr?.path??"/modules/assets",meta:Kr||{},alias:Kr?.alias||[],redirect:Kr?.redirect||void 0,component:()=>Re(()=>import("./assets.6a9fdb70.js"),["./assets.6a9fdb70.js","./NIconButton.vue.b41ef4b9.js","./Navbar.vue.6fef9034.js","./NSectionBlock.722f4ebc.js","./NIconTitle.vue.9b97e25e.js","./NSectionBlock.012f83f1.css","./FilepathItem.vue.b4bdb03f.js","./CodeSnippets.vue.62990bc2.js","./NCodeBlock.vue.5e6a2196.js","./client.853ad100.js","./NCodeBlock.cf3ce05b.css","./DrawerRight.vue.a92525c1.js","./constants.d7bcda3c.js","./assets.a19ea08e.css"],import.meta.url).then(e=>e.default||e)},{name:Xr?.name??"modules-components",path:Xr?.path??"/modules/components",meta:Xr||{},alias:Xr?.alias||[],redirect:Xr?.redirect||void 0,component:()=>Re(()=>import("./components.7102fe12.js"),["./components.7102fe12.js","./NIconButton.vue.b41ef4b9.js","./HelpFab.vue.a9df2aac.js","./HelpFab.f179afc3.css","./state-components.b4d7e657.js","./NCheckbox.vue.09c2faa0.js","./Navbar.vue.6fef9034.js","./Badge.01153451.js","./FilepathItem.vue.b4bdb03f.js","./DrawerRight.vue.a92525c1.js","./NSectionBlock.722f4ebc.js","./NIconTitle.vue.9b97e25e.js","./NSectionBlock.012f83f1.css","./constants.d7bcda3c.js"],import.meta.url).then(e=>e.default||e)},{name:Yr?.name??"modules-custom-name",path:Yr?.path??"/modules/custom-:name()",meta:Yr||{},alias:Yr?.alias||[],redirect:Yr?.redirect||void 0,component:()=>Re(()=>import("./custom-_name_.a07051a8.js"),["./custom-_name_.a07051a8.js","./NPanelGrids.16564aae.js","./AuthRequiredPanel.vue.783e1d98.js","./NIconButton.vue.b41ef4b9.js","./LaunchPage.vue.8ecfdb82.js","./NMarkdown.vue.a51cc795.js","./client.853ad100.js"],import.meta.url).then(e=>e.default||e)},{name:Jr?.name??"modules-hooks",path:Jr?.path??"/modules/hooks",meta:Jr||{},alias:Jr?.alias||[],redirect:Jr?.redirect||void 0,component:()=>Re(()=>import("./hooks.f820d9c5.js"),["./hooks.f820d9c5.js","./DurationDisplay.vue.c3ae9764.js","./NSectionBlock.722f4ebc.js","./NIconTitle.vue.9b97e25e.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.a9df2aac.js","./NIconButton.vue.b41ef4b9.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Qr?.name??"modules-imports",path:Qr?.path??"/modules/imports",meta:Qr||{},alias:Qr?.alias||[],redirect:Qr?.redirect||void 0,component:()=>Re(()=>import("./imports.cf6a0be0.js"),["./imports.cf6a0be0.js","./NSwitch.vue.608eedef.js","./Navbar.vue.6fef9034.js","./FilepathItem.vue.b4bdb03f.js","./NMarkdown.vue.a51cc795.js","./client.853ad100.js","./constants.d7bcda3c.js","./NSectionBlock.722f4ebc.js","./NIconTitle.vue.9b97e25e.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.a9df2aac.js","./NIconButton.vue.b41ef4b9.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:Zr?.name??"modules-middleware",path:Zr?.path??"/modules/middleware",meta:Zr||{},alias:Zr?.alias||[],redirect:Zr?.redirect||void 0,component:()=>Re(()=>import("./middleware.e1b5c8c8.js"),[],import.meta.url).then(e=>e.default||e)},{name:es?.name??"modules-modules",path:es?.path??"/modules/modules",meta:es||{},alias:es?.alias||[],redirect:es?.redirect||void 0,component:()=>Re(()=>import("./modules.f0ddf45f.js"),["./modules.f0ddf45f.js","./FilepathItem.vue.b4bdb03f.js","./state-modules.d846f6f5.js","./Badge.01153451.js","./NCodeBlock.vue.5e6a2196.js","./client.853ad100.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.09c2faa0.js","./NTip.vue.0823a0e1.js","./NSectionBlock.722f4ebc.js","./NIconTitle.vue.9b97e25e.js","./NSectionBlock.012f83f1.css","./NIconButton.vue.b41ef4b9.js","./NLink.vue.8c655f8a.js","./HelpFab.vue.a9df2aac.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:ns?.name??"modules-open-graph",path:ns?.path??"/modules/open-graph",meta:ns||{},alias:ns?.alias||[],redirect:ns?.redirect||void 0,component:()=>Re(()=>import("./open-graph.99e6c2ca.js"),["./open-graph.99e6c2ca.js","./NIconButton.vue.b41ef4b9.js","./Navbar.vue.6fef9034.js","./NLink.vue.8c655f8a.js","./NSectionBlock.722f4ebc.js","./NIconTitle.vue.9b97e25e.js","./NSectionBlock.012f83f1.css","./NCodeBlock.vue.5e6a2196.js","./client.853ad100.js","./NCodeBlock.cf3ce05b.css","./HelpFab.vue.a9df2aac.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:rs?.name??"modules-overview",path:rs?.path??"/modules/overview",meta:rs||{},alias:rs?.alias||[],redirect:rs?.redirect||void 0,component:()=>Re(()=>import("./overview.37671f14.js"),["./overview.37671f14.js","./Badge.01153451.js","./state-modules.d846f6f5.js","./NCodeBlock.vue.5e6a2196.js","./client.853ad100.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.09c2faa0.js","./NTip.vue.0823a0e1.js","./NPanelGrids.16564aae.js","./state-components.b4d7e657.js"],import.meta.url).then(e=>e.default||e)},{name:ss?.name??"modules-pages",path:ss?.path??"/modules/pages",meta:ss||{},alias:ss?.alias||[],redirect:ss?.redirect||void 0,component:()=>Re(()=>import("./pages.cfc87f05.js"),["./pages.cfc87f05.js","./Badge.01153451.js","./FilepathItem.vue.b4bdb03f.js","./NSectionBlock.722f4ebc.js","./NIconTitle.vue.9b97e25e.js","./NSectionBlock.012f83f1.css","./LaunchPage.vue.8ecfdb82.js","./NMarkdown.vue.a51cc795.js","./client.853ad100.js","./NPanelGrids.16564aae.js","./HelpFab.vue.a9df2aac.js","./NIconButton.vue.b41ef4b9.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:os?.name??"modules-payload",path:os?.path??"/modules/payload",meta:os||{},alias:os?.alias||[],redirect:os?.redirect||void 0,component:()=>Re(()=>import("./payload.f2eb3709.js"),["./payload.f2eb3709.js","./StateEditor.vue.85e49f31.js","./NIconButton.vue.b41ef4b9.js","./json-editor-vue.51bb18e8.js","./NSectionBlock.722f4ebc.js","./NIconTitle.vue.9b97e25e.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.a9df2aac.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:is?.name??"modules-plugins",path:is?.path??"/modules/plugins",meta:is||{},alias:is?.alias||[],redirect:is?.redirect||void 0,component:()=>Re(()=>import("./plugins.3f102534.js"),["./plugins.3f102534.js","./FilepathItem.vue.b4bdb03f.js","./Badge.01153451.js","./DurationDisplay.vue.c3ae9764.js","./NSectionBlock.722f4ebc.js","./NIconTitle.vue.9b97e25e.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.a9df2aac.js","./NIconButton.vue.b41ef4b9.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:as?.name??"modules-runtime-configs",path:as?.path??"/modules/runtime-configs",meta:as||{},alias:as?.alias||[],redirect:as?.redirect||void 0,component:()=>Re(()=>import("./runtime-configs.35ac3b1b.js"),["./runtime-configs.35ac3b1b.js","./StateEditor.vue.85e49f31.js","./NIconButton.vue.b41ef4b9.js","./json-editor-vue.51bb18e8.js","./NSectionBlock.722f4ebc.js","./NIconTitle.vue.9b97e25e.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.a9df2aac.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:ls?.name??"modules-server-routes",path:ls?.path??"/modules/server-routes",meta:ls||{},alias:ls?.alias||[],redirect:ls?.redirect||void 0,component:()=>Re(()=>import("./server-routes.5ddb6496.js"),["./server-routes.5ddb6496.js","./Navbar.vue.6fef9034.js","./Badge.01153451.js","./NSelect.vue.80dc04cd.js","./CodeSnippets.vue.62990bc2.js","./NCodeBlock.vue.5e6a2196.js","./client.853ad100.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.09c2faa0.js","./NPanelGrids.16564aae.js","./constants.d7bcda3c.js","./json-editor-vue.51bb18e8.js","./PanelLeftRight.vue.17bcbe2c.js"],import.meta.url).then(e=>e.default||e)},{name:cs?.name??"modules-storage",path:cs?.path??"/modules/storage",meta:cs||{},alias:cs?.alias||[],redirect:cs?.redirect||void 0,component:()=>Re(()=>import("./storage.5d1c4325.js"),["./storage.5d1c4325.js","./NIconButton.vue.b41ef4b9.js","./NSelect.vue.80dc04cd.js","./NLink.vue.8c655f8a.js","./NPanelGrids.16564aae.js","./PanelLeftRight.vue.17bcbe2c.js","./FilepathItem.vue.b4bdb03f.js","./json-editor-vue.51bb18e8.js","./AuthRequiredPanel.vue.783e1d98.js"],import.meta.url).then(e=>e.default||e)},{name:us?.name??"modules-terminals",path:us?.path??"/modules/terminals",meta:us||{},alias:us?.alias||[],redirect:us?.redirect||void 0,component:()=>Re(()=>import("./terminals.78500161.js"),["./terminals.78500161.js","./NIconButton.vue.b41ef4b9.js","./AuthRequiredPanel.vue.783e1d98.js","./NPanelGrids.16564aae.js","./terminals.ae8c3544.css"],import.meta.url).then(e=>e.default||e)},{name:fs?.name??"modules-virtual-files",path:fs?.path??"/modules/virtual-files",meta:fs||{},alias:fs?.alias||[],redirect:fs?.redirect||void 0,component:()=>Re(()=>import("./virtual-files.a7d5699b.js"),["./virtual-files.a7d5699b.js","./Navbar.vue.6fef9034.js","./NCodeBlock.vue.5e6a2196.js","./client.853ad100.js","./NCodeBlock.cf3ce05b.css","./NPanelGrids.16564aae.js","./PanelLeftRight.vue.17bcbe2c.js","./HelpFab.vue.a9df2aac.js","./NIconButton.vue.b41ef4b9.js","./HelpFab.f179afc3.css","./virtual-files.a8748389.css"],import.meta.url).then(e=>e.default||e)},{name:ds?.name??"settings",path:ds?.path??"/settings",meta:ds||{},alias:ds?.alias||[],redirect:ds?.redirect||void 0,component:()=>Re(()=>import("./settings.74004c21.js"),["./settings.74004c21.js","./NIconTitle.vue.9b97e25e.js","./NSwitch.vue.608eedef.js","./NSelect.vue.80dc04cd.js","./NCheckbox.vue.09c2faa0.js"],import.meta.url).then(e=>e.default||e)}],Tk={scrollBehavior(e,t,n){const r=Pe();let s=n||void 0;if(!s&&t&&e&&e.meta.scrollToTop!==!1&&$k(t,e)&&(s={left:0,top:0}),e.path===t.path){if(t.hash&&!e.hash)return{left:0,top:0};if(e.hash)return{el:e.hash,top:Hf(e.hash)}}const o=a=>!!(a.meta.pageTransition??Ba),i=o(t)&&o(e)?"page:transition:finish":"page:finish";return new Promise(a=>{r.hooks.hookOnce(i,async()=>{await wt(),e.hash&&(s={el:e.hash,top:Hf(e.hash)}),a(s)})})}};function Hf(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function $k(e,t){const n=t.matched.every((r,s)=>r.components?.default===e.matched[s]?.components?.default);return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const kk={},un={...kk,...Tk},Sk=async e=>{let t,n;if(!e.meta?.validate)return;const r=Pe(),s=st();if(([t,n]=zo(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=ki({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=s.beforeResolve(l=>{if(a(),l===e){const c=s.afterEach(async()=>{c(),await r.runWithContext(()=>ir(i)),window.history.pushState({},"",e.fullPath)});return!1}})},Ak=sc("nuxt-devtools-first-visit",!0),Uf=sc("nuxt-devtools-frame-state",{},{listenToStorageChanges:!0}),Rk=sc("nuxt-devtools-panels-state",{},{listenToStorageChanges:!1}),Ii=ee(await Fe.getUIOptions()),Pk=tw(Ii);Be(Ii,async e=>{Fe.updateUIOptions(e)},{deep:!0,flush:"post"});Be(()=>Ii.value.interactionCloseOnOutsideClick,e=>{e!==Uf.value.closeOnOutsideClick&&(Uf.value.closeOnOutsideClick=e)});localStorage.getItem("nuxt-devtools-settings")&&(Object.assign(Ii.value,JSON.parse(localStorage.getItem("nuxt-devtools-settings"))),localStorage.removeItem("nuxt-devtools-settings"));function hc(){return Pk}function Y2(){return Rk}const Nk=e=>{if(e.path==="/"&&!Ak.value)return ap("/modules/overview")},Lo=[Sk,Nk],el={};function Ok(e,t,n){const{pathname:r,search:s,hash:o}=t,i=e.indexOf("#");if(i>-1){const l=o.includes(e.slice(i))?e.slice(i).length:1;let c=o.slice(l);return c[0]!=="/"&&(c="/"+c),lu(c,"")}const a=n||lu(r,e);return a+(a.includes("?")?"":s)+o}const Lk=Lt({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=Kl().app.baseURL;un.hashMode&&!r.includes("#")&&(r+="#");const s=un.history?.(r)??(un.hashMode?xb(r):up(r)),o=un.routes?.(Bf)??Bf;let i;const a=Ok(r,window.location,e.payload.path),l=i1({...un,scrollBehavior:(v,w,_)=>{if(w===Dt){i=_;return}return l.options.scrollBehavior=un.scrollBehavior,un.scrollBehavior?.(v,Dt,i||_)},history:s,routes:o});e.vueApp.use(l);const c=zn(l.currentRoute.value);l.afterEach((v,w)=>{c.value=w}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const d=zn(l.resolve(a)),u=()=>{d.value=l.currentRoute.value};e.hook("page:finish",u),l.afterEach((v,w)=>{v.matched[0]?.components?.default===w.matched[0]?.components?.default&&u()});const f={};for(const v in d.value)f[v]=pe(()=>d.value[v]);e._route=ut(f),e._middleware=e._middleware||{global:[],named:{}};const h=$i();try{[t,n]=zo(()=>l.isReady()),await t,n()}catch(v){[t,n]=zo(()=>e.runWithContext(()=>ir(v))),await t,n()}const p=Ir("_layout");return l.beforeEach(async(v,w)=>{v.meta=ut(v.meta),e.isHydrating&&p.value&&!Gn(v.meta.layout)&&(v.meta.layout=p.value),e._processingMiddleware=!0;{const _=new Set([...Lo,...e._middleware.global]);for(const g of v.matched){const b=g.meta.middleware;if(b)if(Array.isArray(b))for(const y of b)_.add(y);else _.add(b)}for(const g of _){const b=typeof g=="string"?e._middleware.named[g]||await el[g]?.().then(T=>T.default||T):g;if(!b)throw new Error(`Unknown route middleware: '${g}'.`);const y=await e.runWithContext(()=>b(v,w));if(!e.payload.serverRendered&&e.isHydrating&&(y===!1||y instanceof Error)){const T=y||Va({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>ir(T)),!1}if(y||y===!1)return y}}}),l.onError(()=>{delete e._processingMiddleware}),l.afterEach(async(v,w,_)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(rb),v.matched.length===0&&await e.runWithContext(()=>ir(Va({statusCode:404,fatal:!1,statusMessage:`Page not found: ${v.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await l.replace({...l.resolve(a),name:void 0,force:!0}),l.options.scrollBehavior=un.scrollBehavior}catch(v){await e.runWithContext(()=>ir(v))}}),{provide:{router:l}}}}),Ck=Lt({name:"nuxt:global-components"}),Ik=Lt({name:"nuxt:head",setup(e){const n=M0();n.push(U0),e.vueApp.use(n);{let r=!0;const s=()=>{r=!1,n.hooks.callHook("entries:updated",n)};n.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!r}),e.hooks.hook("page:start",()=>{r=!0}),e.hooks.hook("page:finish",s),e.hooks.hook("app:suspense:resolve",s)}}}),ar={default:ys(()=>Re(()=>import("./default.3da0acde.js"),[],import.meta.url).then(e=>e.default||e)),full:ys(()=>Re(()=>import("./full.01cd9940.js"),[],import.meta.url).then(e=>e.default||e)),none:ys(()=>Re(()=>import("./none.0c5c4a11.js"),[],import.meta.url).then(e=>e.default||e))},jk=Lt({name:"nuxt:prefetch",setup(e){const t=st();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof ar[r]=="function"&&await ar[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Cr(n))return;const r=t.resolve(n);if(!r)return;const s=r?.meta?.layout;let o=Array.isArray(r?.meta?.middleware)?r?.meta?.middleware:[r?.meta?.middleware];o=o.filter(i=>typeof i=="string");for(const i of o)typeof el[i]=="function"&&el[i]();s&&typeof ar[s]=="function"&&ar[s]()})}}),Mk="__NUXT_COLOR_MODE__",Dk="ColorScheme",Fk="nuxt-color-mode",Kt=window[Mk],Bk=Lt(e=>{const t=Ir("color-mode",()=>ut({preference:Kt.preference,value:Kt.value,unknown:!1,forced:!1})).value;st().afterEach(s=>{const o=s.meta.colorMode;o&&o!=="system"?(t.value=o,t.forced=!0):(o==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?Kt.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=Kt.getColorScheme())}))}Be(()=>t.preference,s=>{t.forced||(s==="system"?(t.value=Kt.getColorScheme(),r()):t.value=s,window.localStorage?.setItem(Fk,s))},{immediate:!0}),Be(()=>t.value,(s,o)=>{Kt.removeColorScheme(o),Kt.addColorScheme(s)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=Kt.preference,t.value=Kt.value,t.unknown=!1)}),e.provide("colorMode",t)});const Hk=Lt(()=>{}),Uk=Lt({name:"nuxt:chunk-reload",setup(e){const t=st(),n=Kl(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)}),t.onError((s,o)=>{if(r.has(s)){const a="href"in o&&o.href.startsWith("#")?n.app.baseURL+o.href:Qs(n.app.baseURL,o.fullPath);S1({path:a,persistState:!0})}})}}),Vk=Lt({name:"nuxt:payload",setup(e){K0()&&(e.hooks.hook("link:prefetch",async t=>{Zs(t).protocol||await _u(t)}),st().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await _u(t.path);r&&Object.assign(e.static.data,r.data)}))}});function $t(e){return e.split("-")[1]}function pc(e){return e==="y"?"height":"width"}function Vt(e){return e.split("-")[0]}function Mr(e){return["top","bottom"].includes(Vt(e))?"x":"y"}function Vf(e,t,n){let{reference:r,floating:s}=e;const o=r.x+r.width/2-s.width/2,i=r.y+r.height/2-s.height/2,a=Mr(t),l=pc(a),c=r[l]/2-s[l]/2,d=a==="x";let u;switch(Vt(t)){case"top":u={x:o,y:r.y-s.height};break;case"bottom":u={x:o,y:r.y+r.height};break;case"right":u={x:r.x+r.width,y:i};break;case"left":u={x:r.x-s.width,y:i};break;default:u={x:r.x,y:r.y}}switch($t(t)){case"start":u[a]-=c*(n&&d?-1:1);break;case"end":u[a]+=c*(n&&d?-1:1)}return u}const Wk=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:o=[],platform:i}=n,a=o.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:s}),{x:d,y:u}=Vf(c,r,l),f=r,h={},p=0;for(let v=0;v<a.length;v++){const{name:w,fn:_}=a[v],{x:g,y:b,data:y,reset:T}=await _({x:d,y:u,initialPlacement:r,placement:f,strategy:s,middlewareData:h,rects:c,platform:i,elements:{reference:e,floating:t}});d=g??d,u=b??u,h={...h,[w]:{...h[w],...y}},T&&p<=50&&(p++,typeof T=="object"&&(T.placement&&(f=T.placement),T.rects&&(c=T.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:s}):T.rects),{x:d,y:u}=Vf(c,f,l)),v=-1)}return{x:d,y:u,placement:f,strategy:s,middlewareData:h}};function Zn(e,t){return typeof e=="function"?e(t):e}function cm(e){return typeof e!="number"?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(e):{top:e,right:e,bottom:e,left:e}}function Rs(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function ji(e,t){var n;t===void 0&&(t={});const{x:r,y:s,platform:o,rects:i,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:f=!1,padding:h=0}=Zn(t,e),p=cm(h),v=a[f?u==="floating"?"reference":"floating":u],w=Rs(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(v)))==null||n?v:v.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(a.floating)),boundary:c,rootBoundary:d,strategy:l})),_=u==="floating"?{...i.floating,x:r,y:s}:i.reference,g=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),b=await(o.isElement==null?void 0:o.isElement(g))&&await(o.getScale==null?void 0:o.getScale(g))||{x:1,y:1},y=Rs(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:_,offsetParent:g,strategy:l}):_);return{top:(w.top-y.top+p.top)/b.y,bottom:(y.bottom-w.bottom+p.bottom)/b.y,left:(w.left-y.left+p.left)/b.x,right:(y.right-w.right+p.right)/b.x}}const Gs=Math.min,Cn=Math.max;function tl(e,t,n){return Cn(e,Gs(t,n))}const Gk=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:o,platform:i,elements:a}=t,{element:l,padding:c=0}=Zn(e,t)||{};if(l==null)return{};const d=cm(c),u={x:n,y:r},f=Mr(s),h=pc(f),p=await i.getDimensions(l),v=f==="y",w=v?"top":"left",_=v?"bottom":"right",g=v?"clientHeight":"clientWidth",b=o.reference[h]+o.reference[f]-u[f]-o.floating[h],y=u[f]-o.reference[f],T=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l));let m=T?T[g]:0;m&&await(i.isElement==null?void 0:i.isElement(T))||(m=a.floating[g]||o.floating[h]);const $=b/2-y/2,x=m/2-p[h]/2-1,E=Gs(d[w],x),k=Gs(d[_],x),S=E,A=m-p[h]-k,R=m/2-p[h]/2+$,P=tl(S,R,A),I=$t(s)!=null&&R!=P&&o.reference[h]/2-(R<S?E:k)-p[h]/2<0?R<S?S-R:A-R:0;return{[f]:u[f]-I,data:{[f]:P,centerOffset:R-P+I}}}}),zk=["top","right","bottom","left"],Wf=zk.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),qk={left:"right",right:"left",bottom:"top",top:"bottom"};function ni(e){return e.replace(/left|right|bottom|top/g,t=>qk[t])}function um(e,t,n){n===void 0&&(n=!1);const r=$t(e),s=Mr(e),o=pc(s);let i=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=ni(i)),{main:i,cross:ni(i)}}const Kk={start:"end",end:"start"};function Co(e){return e.replace(/start|end/g,t=>Kk[t])}const Xk=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,s;const{rects:o,middlewareData:i,placement:a,platform:l,elements:c}=t,{crossAxis:d=!1,alignment:u,allowedPlacements:f=Wf,autoAlignment:h=!0,...p}=Zn(e,t),v=u!==void 0||f===Wf?function(k,S,A){return(k?[...A.filter(R=>$t(R)===k),...A.filter(R=>$t(R)!==k)]:A.filter(R=>Vt(R)===R)).filter(R=>!k||$t(R)===k||!!S&&Co(R)!==R)}(u||null,h,f):f,w=await ji(t,p),_=((n=i.autoPlacement)==null?void 0:n.index)||0,g=v[_];if(g==null)return{};const{main:b,cross:y}=um(g,o,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==g)return{reset:{placement:v[0]}};const T=[w[Vt(g)],w[b],w[y]],m=[...((r=i.autoPlacement)==null?void 0:r.overflows)||[],{placement:g,overflows:T}],$=v[_+1];if($)return{data:{index:_+1,overflows:m},reset:{placement:$}};const x=m.map(k=>{const S=$t(k.placement);return[k.placement,S&&d?k.overflows.slice(0,2).reduce((A,R)=>A+R,0):k.overflows[0],k.overflows]}).sort((k,S)=>k[1]-S[1]),E=((s=x.filter(k=>k[2].slice(0,$t(k[0])?2:3).every(S=>S<=0))[0])==null?void 0:s[0])||x[0][0];return E!==a?{data:{index:_+1,overflows:m},reset:{placement:E}}:{}}}},Yk=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:s,rects:o,initialPlacement:i,platform:a,elements:l}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:u,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:p=!0,...v}=Zn(e,t),w=Vt(r),_=Vt(i)===i,g=await(a.isRTL==null?void 0:a.isRTL(l.floating)),b=u||(_||!p?[ni(i)]:function(S){const A=ni(S);return[Co(S),A,Co(A)]}(i));u||h==="none"||b.push(...function(S,A,R,P){const I=$t(S);let j=function(F,B,z){const ae=["left","right"],te=["right","left"],re=["top","bottom"],de=["bottom","top"];switch(F){case"top":case"bottom":return z?B?te:ae:B?ae:te;case"left":case"right":return B?re:de;default:return[]}}(Vt(S),R==="start",P);return I&&(j=j.map(F=>F+"-"+I),A&&(j=j.concat(j.map(Co)))),j}(i,p,h,g));const y=[i,...b],T=await ji(t,v),m=[];let $=((n=s.flip)==null?void 0:n.overflows)||[];if(c&&m.push(T[w]),d){const{main:S,cross:A}=um(r,o,g);m.push(T[S],T[A])}if($=[...$,{placement:r,overflows:m}],!m.every(S=>S<=0)){var x,E;const S=(((x=s.flip)==null?void 0:x.index)||0)+1,A=y[S];if(A)return{data:{index:S,overflows:$},reset:{placement:A}};let R=(E=$.filter(P=>P.overflows[0]<=0).sort((P,I)=>P.overflows[1]-I.overflows[1])[0])==null?void 0:E.placement;if(!R)switch(f){case"bestFit":{var k;const P=(k=$.map(I=>[I.placement,I.overflows.filter(j=>j>0).reduce((j,F)=>j+F,0)]).sort((I,j)=>I[1]-j[1])[0])==null?void 0:k[0];P&&(R=P);break}case"initialPlacement":R=i}if(r!==R)return{reset:{placement:R}}}return{}}}},Jk=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,s=await async function(o,i){const{placement:a,platform:l,elements:c}=o,d=await(l.isRTL==null?void 0:l.isRTL(c.floating)),u=Vt(a),f=$t(a),h=Mr(a)==="x",p=["left","top"].includes(u)?-1:1,v=d&&h?-1:1,w=Zn(i,o);let{mainAxis:_,crossAxis:g,alignmentAxis:b}=typeof w=="number"?{mainAxis:w,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...w};return f&&typeof b=="number"&&(g=f==="end"?-1*b:b),h?{x:g*v,y:_*p}:{x:_*p,y:g*v}}(t,e);return{x:n+s.x,y:r+s.y,data:s}}}};function Qk(e){return e==="x"?"y":"x"}const Zk=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:a={fn:w=>{let{x:_,y:g}=w;return{x:_,y:g}}},...l}=Zn(e,t),c={x:n,y:r},d=await ji(t,l),u=Mr(Vt(s)),f=Qk(u);let h=c[u],p=c[f];if(o){const w=u==="y"?"bottom":"right";h=tl(h+d[u==="y"?"top":"left"],h,h-d[w])}if(i){const w=f==="y"?"bottom":"right";p=tl(p+d[f==="y"?"top":"left"],p,p-d[w])}const v=a.fn({...t,[u]:h,[f]:p});return{...v,data:{x:v.x-n,y:v.y-r}}}}},eS=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:s,elements:o}=t,{apply:i=()=>{},...a}=Zn(e,t),l=await ji(t,a),c=Vt(n),d=$t(n),u=Mr(n)==="x",{width:f,height:h}=r.floating;let p,v;c==="top"||c==="bottom"?(p=c,v=d===(await(s.isRTL==null?void 0:s.isRTL(o.floating))?"start":"end")?"left":"right"):(v=c,p=d==="end"?"top":"bottom");const w=h-l[p],_=f-l[v],g=!t.middlewareData.shift;let b=w,y=_;if(u){const m=f-l.left-l.right;y=d||g?Gs(_,m):m}else{const m=h-l.top-l.bottom;b=d||g?Gs(w,m):m}if(g&&!d){const m=Cn(l.left,0),$=Cn(l.right,0),x=Cn(l.top,0),E=Cn(l.bottom,0);u?y=f-2*(m!==0||$!==0?m+$:Cn(l.left,l.right)):b=h-2*(x!==0||E!==0?x+E:Cn(l.top,l.bottom))}await i({...t,availableWidth:y,availableHeight:b});const T=await s.getDimensions(o.floating);return f!==T.width||h!==T.height?{reset:{rects:!0}}:{}}}};function _t(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Wt(e){return _t(e).getComputedStyle(e)}const Gf=Math.min,Ps=Math.max,ri=Math.round;function fm(e){const t=Wt(e);let n=parseFloat(t.width),r=parseFloat(t.height);const s=e.offsetWidth,o=e.offsetHeight,i=ri(n)!==s||ri(r)!==o;return i&&(n=s,r=o),{width:n,height:r,fallback:i}}function Sn(e){return hm(e)?(e.nodeName||"").toLowerCase():""}let $o;function dm(){if($o)return $o;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?($o=e.brands.map(t=>t.brand+"/"+t.version).join(" "),$o):navigator.userAgent}function Gt(e){return e instanceof _t(e).HTMLElement}function bn(e){return e instanceof _t(e).Element}function hm(e){return e instanceof _t(e).Node}function zf(e){return typeof ShadowRoot>"u"?!1:e instanceof _t(e).ShadowRoot||e instanceof ShadowRoot}function Mi(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=Wt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(s)}function tS(e){return["table","td","th"].includes(Sn(e))}function nl(e){const t=/firefox/i.test(dm()),n=Wt(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(s=>n.willChange.includes(s))||["paint","layout","strict","content"].some(s=>{const o=n.contain;return o!=null&&o.includes(s)})}function pm(){return!/^((?!chrome|android).)*safari/i.test(dm())}function mc(e){return["html","body","#document"].includes(Sn(e))}function mm(e){return bn(e)?e:e.contextElement}const gm={x:1,y:1};function gr(e){const t=mm(e);if(!Gt(t))return gm;const n=t.getBoundingClientRect(),{width:r,height:s,fallback:o}=fm(t);let i=(o?ri(n.width):n.width)/r,a=(o?ri(n.height):n.height)/s;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function zs(e,t,n,r){var s,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=mm(e);let l=gm;t&&(r?bn(r)&&(l=gr(r)):l=gr(e));const c=a?_t(a):window,d=!pm()&&n;let u=(i.left+(d&&((s=c.visualViewport)==null?void 0:s.offsetLeft)||0))/l.x,f=(i.top+(d&&((o=c.visualViewport)==null?void 0:o.offsetTop)||0))/l.y,h=i.width/l.x,p=i.height/l.y;if(a){const v=_t(a),w=r&&bn(r)?_t(r):r;let _=v.frameElement;for(;_&&r&&w!==v;){const g=gr(_),b=_.getBoundingClientRect(),y=getComputedStyle(_);b.x+=(_.clientLeft+parseFloat(y.paddingLeft))*g.x,b.y+=(_.clientTop+parseFloat(y.paddingTop))*g.y,u*=g.x,f*=g.y,h*=g.x,p*=g.y,u+=b.x,f+=b.y,_=_t(_).frameElement}}return{width:h,height:p,top:f,right:u+h,bottom:f+p,left:u,x:u,y:f}}function wn(e){return((hm(e)?e.ownerDocument:e.document)||window.document).documentElement}function Di(e){return bn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function vm(e){return zs(wn(e)).left+Di(e).scrollLeft}function qs(e){if(Sn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||zf(e)&&e.host||wn(e);return zf(t)?t.host:t}function _m(e){const t=qs(e);return mc(t)?t.ownerDocument.body:Gt(t)&&Mi(t)?t:_m(t)}function si(e,t){var n;t===void 0&&(t=[]);const r=_m(e),s=r===((n=e.ownerDocument)==null?void 0:n.body),o=_t(r);return s?t.concat(o,o.visualViewport||[],Mi(r)?r:[]):t.concat(r,si(r))}function qf(e,t,n){return t==="viewport"?Rs(function(r,s){const o=_t(r),i=wn(r),a=o.visualViewport;let l=i.clientWidth,c=i.clientHeight,d=0,u=0;if(a){l=a.width,c=a.height;const f=pm();(f||!f&&s==="fixed")&&(d=a.offsetLeft,u=a.offsetTop)}return{width:l,height:c,x:d,y:u}}(e,n)):bn(t)?Rs(function(r,s){const o=zs(r,!0,s==="fixed"),i=o.top+r.clientTop,a=o.left+r.clientLeft,l=Gt(r)?gr(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:a*l.x,y:i*l.y}}(t,n)):Rs(function(r){const s=wn(r),o=Di(r),i=r.ownerDocument.body,a=Ps(s.scrollWidth,s.clientWidth,i.scrollWidth,i.clientWidth),l=Ps(s.scrollHeight,s.clientHeight,i.scrollHeight,i.clientHeight);let c=-o.scrollLeft+vm(r);const d=-o.scrollTop;return Wt(i).direction==="rtl"&&(c+=Ps(s.clientWidth,i.clientWidth)-a),{width:a,height:l,x:c,y:d}}(wn(e)))}function Kf(e){return Gt(e)&&Wt(e).position!=="fixed"?e.offsetParent:null}function Xf(e){const t=_t(e);let n=Kf(e);for(;n&&tS(n)&&Wt(n).position==="static";)n=Kf(n);return n&&(Sn(n)==="html"||Sn(n)==="body"&&Wt(n).position==="static"&&!nl(n))?t:n||function(r){let s=qs(r);for(;Gt(s)&&!mc(s);){if(nl(s))return s;s=qs(s)}return null}(e)||t}function nS(e,t,n){const r=Gt(t),s=wn(t),o=zs(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((Sn(t)!=="body"||Mi(s))&&(i=Di(t)),Gt(t)){const l=zs(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else s&&(a.x=vm(s));return{x:o.left+i.scrollLeft-a.x,y:o.top+i.scrollTop-a.y,width:o.width,height:o.height}}const rS={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const o=n==="clippingAncestors"?function(c,d){const u=d.get(c);if(u)return u;let f=si(c).filter(w=>bn(w)&&Sn(w)!=="body"),h=null;const p=Wt(c).position==="fixed";let v=p?qs(c):c;for(;bn(v)&&!mc(v);){const w=Wt(v),_=nl(v);(p?_||h:_||w.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=w:f=f.filter(g=>g!==v),v=qs(v)}return d.set(c,f),f}(t,this._c):[].concat(n),i=[...o,r],a=i[0],l=i.reduce((c,d)=>{const u=qf(t,d,s);return c.top=Ps(u.top,c.top),c.right=Gf(u.right,c.right),c.bottom=Gf(u.bottom,c.bottom),c.left=Ps(u.left,c.left),c},qf(t,a,s));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const s=Gt(n),o=wn(n);if(n===o)return t;let i={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((s||!s&&r!=="fixed")&&((Sn(n)!=="body"||Mi(o))&&(i=Di(n)),Gt(n))){const c=zs(n);a=gr(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-i.scrollLeft*a.x+l.x,y:t.y*a.y-i.scrollTop*a.y+l.y}},isElement:bn,getDimensions:function(e){return Gt(e)?fm(e):e.getBoundingClientRect()},getOffsetParent:Xf,getDocumentElement:wn,getScale:gr,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const s=this.getOffsetParent||Xf,o=this.getDimensions;return{reference:nS(t,await s(n),r),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Wt(e).direction==="rtl"},sS=(e,t,n)=>{const r=new Map,s={platform:rS,...n},o={...s.platform,_c:r};return Wk(e,t,{...s,platform:o})};function ym(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?ym(e[n],t[n]):e[n]=t[n])}const en={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:5e3,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover","focus"],delay:{show:0,hide:400}}}};function Ks(e,t){let n=en.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=en.themes[n.$extend]||{}:(n=null,r=en[t]):n=null;while(n);return r}function oS(e){const t=[e];let n=en.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=en.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function Yf(e){const t=[e];let n=en.themes[e]||{};do n.$extend?(t.push(n.$extend),n=en.themes[n.$extend]||{}):n=null;while(n);return t}let Xn=!1;if(typeof window<"u"){Xn=!1;try{const e=Object.defineProperty({},"passive",{get(){Xn=!0}});window.addEventListener("test",null,e)}catch{}}let bm=!1;typeof window<"u"&&typeof navigator<"u"&&(bm=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const wm=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Jf={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Qf={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Zf(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function ga(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const kt=[];let Ln=null;const ed={};function td(e){let t=ed[e];return t||(t=ed[e]=[]),t}let rl=function(){};typeof window<"u"&&(rl=window.Element);function $e(e){return function(t){return Ks(t.theme,e)}}const va="__floating-vue__popper",Em=()=>Oe({name:"VPopper",provide(){return{[va]:{parentPopper:this}}},inject:{[va]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:$e("disabled")},positioningDisabled:{type:Boolean,default:$e("positioningDisabled")},placement:{type:String,default:$e("placement"),validator:e=>wm.includes(e)},delay:{type:[String,Number,Object],default:$e("delay")},distance:{type:[Number,String],default:$e("distance")},skidding:{type:[Number,String],default:$e("skidding")},triggers:{type:Array,default:$e("triggers")},showTriggers:{type:[Array,Function],default:$e("showTriggers")},hideTriggers:{type:[Array,Function],default:$e("hideTriggers")},popperTriggers:{type:Array,default:$e("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:$e("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:$e("popperHideTriggers")},container:{type:[String,Object,rl,Boolean],default:$e("container")},boundary:{type:[String,rl],default:$e("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:$e("strategy")},autoHide:{type:[Boolean,Function],default:$e("autoHide")},handleResize:{type:Boolean,default:$e("handleResize")},instantMove:{type:Boolean,default:$e("instantMove")},eagerMount:{type:Boolean,default:$e("eagerMount")},popperClass:{type:[String,Array,Object],default:$e("popperClass")},computeTransformOrigin:{type:Boolean,default:$e("computeTransformOrigin")},autoMinSize:{type:Boolean,default:$e("autoMinSize")},autoSize:{type:[Boolean,String],default:$e("autoSize")},autoMaxSize:{type:Boolean,default:$e("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:$e("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:$e("preventOverflow")},overflowPadding:{type:[Number,String],default:$e("overflowPadding")},arrowPadding:{type:[Number,String],default:$e("arrowPadding")},arrowOverflow:{type:Boolean,default:$e("arrowOverflow")},flip:{type:Boolean,default:$e("flip")},shift:{type:Boolean,default:$e("shift")},shiftCrossAxis:{type:Boolean,default:$e("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:$e("noAutoFocus")},disposeTimeout:{type:Number,default:$e("disposeTimeout")}},emits:["show","hide","update:shown","apply-show","apply-hide","close-group","close-directive","auto-hide","resize","dispose"],data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},shownChildren:new Set,lastAutoHide:!0}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[va])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,s;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"),this.$emit("dispose"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(Jk({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(Xk({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Zk({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Yk({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Gk({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:s,middlewareData:o})=>{let i;const{centerOffset:a}=o.arrow;return r.startsWith("top")||r.startsWith("bottom")?i=Math.abs(a)>s.reference.width/2:i=Math.abs(a)>s.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:s,placement:o,middlewareData:i})=>{var a;if((a=i.autoSize)!=null&&a.skip)return{};let l,c;return o.startsWith("top")||o.startsWith("bottom")?l=s.reference.width:c=s.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(eS({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:s})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=s!=null?`${s}px`:null}})));const n=await sS(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e=null,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Ln&&this.instantMove&&Ln.instantMove&&Ln!==this.parentPopper){Ln.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e=null,t=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Ln=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await ga(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...si(this.$_referenceNode),...si(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),s=t.x+t.width/2-(r.left+n.offsetLeft),o=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${s}px ${o}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<kt.length;n++)t=kt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}kt.push(this),document.body.classList.add("v-popper--some-open");for(const t of Yf(this.theme))td(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await ga(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.$_pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,Zf(kt,this),kt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Yf(this.theme)){const r=td(n);Zf(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Ln===this&&(Ln=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await ga(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.$_isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,Jf,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Jf,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Qf,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Qf,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(r=>r.addEventListener(t,n,Xn?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,s){let o=n;r!=null&&(o=typeof r=="function"?r(o):r),o.forEach(i=>{const a=t[i];a&&this.$_registerEventListeners(e,a,s)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:s,handler:o}=n;!e||e===s?r.forEach(i=>i.removeEventListener(s,o)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.$_pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(Ns>=e.left&&Ns<=e.right&&Os>=e.top&&Os<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Ns-dn,r=Os-hn,s=t.left+t.width/2-dn+(t.top+t.height/2)-hn+t.width+t.height,o=dn+n*s,i=hn+r*s;return ko(dn,hn,o,i,t.left,t.top,t.left,t.bottom)||ko(dn,hn,o,i,t.left,t.top,t.right,t.top)||ko(dn,hn,o,i,t.right,t.top,t.right,t.bottom)||ko(dn,hn,o,i,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(bm?(document.addEventListener("touchstart",nd,Xn?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",aS,Xn?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",nd,!0),window.addEventListener("click",iS,!0)),window.addEventListener("resize",uS));function nd(e){for(let t=0;t<kt.length;t++){const n=kt[t];try{const r=n.popperNode();n.$_mouseDownContains=r.contains(e.target)}catch{}}}function iS(e){xm(e)}function aS(e){xm(e,!0)}function xm(e,t=!1){const n={};for(let r=kt.length-1;r>=0;r--){const s=kt[r];try{const o=s.$_containsGlobalTarget=lS(s,e);s.$_pendingHide=!1,requestAnimationFrame(()=>{if(s.$_pendingHide=!1,!n[s.randomId]&&rd(s,o,e)){if(s.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&o){let a=s.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let i=s.parentPopper;for(;i&&rd(i,i.$_containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function lS(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function rd(e,t,n){return n.closeAllPopover||n.closePopover&&t||cS(e,n)&&!t}function cS(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function uS(e){for(let t=0;t<kt.length;t++)kt[t].$_computePosition(e)}let dn=0,hn=0,Ns=0,Os=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{dn=Ns,hn=Os,Ns=e.clientX,Os=e.clientY},Xn?{passive:!0}:void 0);function ko(e,t,n,r,s,o,i,a){const l=((i-s)*(t-o)-(a-o)*(e-s))/((a-o)*(n-e)-(i-s)*(r-t)),c=((n-e)*(t-o)-(r-t)*(e-s))/((a-o)*(n-e)-(i-s)*(r-t));return l>=0&&l<=1&&c>=0&&c<=1}const fS={extends:Em()},Fi=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};function dS(e,t,n,r,s,o){return ue(),Te("div",{ref:"reference",class:Xe(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[bt(e.$slots,"default",yl(wi(e.slotData)))],2)}const hS=Fi(fS,[["render",dS]]);function pS(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var s=e.indexOf("Edge/");return s>0?parseInt(e.substring(s+5,e.indexOf(".",s)),10):-1}let Io;function sl(){sl.init||(sl.init=!0,Io=pS()!==-1)}var Bi={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){sl(),wt(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Io&&this.$el.appendChild(e),e.data="about:blank",Io||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Io&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const mS=ov();rv("data-v-b329ee4c");const gS={class:"resize-observer",tabindex:"-1"};sv();const vS=mS((e,t,n,r,s,o)=>(ue(),Ne("div",gS)));Bi.render=vS;Bi.__scopeId="data-v-b329ee4c";Bi.__file="src/components/ResizeObserver.vue";const Tm=(e="theme")=>({computed:{themeClass(){return oS(this[e])}}}),_S=Oe({name:"VPopperContent",components:{ResizeObserver:Bi},mixins:[Tm()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),yS=["id","aria-hidden","tabindex","data-popper-placement"],bS={ref:"inner",class:"v-popper__inner"},wS=oe("div",{class:"v-popper__arrow-outer"},null,-1),ES=oe("div",{class:"v-popper__arrow-inner"},null,-1),xS=[wS,ES];function TS(e,t,n,r,s,o){const i=xn("ResizeObserver");return ue(),Te("div",{id:e.popperId,ref:"popover",class:Xe(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:gn(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=D_(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[oe("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),oe("div",{class:"v-popper__wrapper",style:gn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[oe("div",bS,[e.mounted?(ue(),Te(Ie,{key:0},[oe("div",null,[bt(e.$slots,"default")]),e.handleResize?(ue(),Ne(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Ke("",!0)],64)):Ke("",!0)],512),oe("div",{ref:"arrow",class:"v-popper__arrow-container",style:gn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},xS,4)],4)],46,yS)}const $m=Fi(_S,[["render",TS]]),km={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}},$S=Oe({name:"VPopperWrapper",components:{Popper:hS,PopperContent:$m},mixins:[km,Tm("finalTheme")],props:{theme:{type:String,default:null}},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function kS(e,t,n,r,s,o){const i=xn("PopperContent"),a=xn("Popper");return ue(),Ne(a,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:Xe([e.themeClass])},{default:we(({popperId:l,isShown:c,shouldMountContent:d,skipTransition:u,autoHide:f,show:h,hide:p,handleResize:v,onResize:w,classes:_,result:g})=>[bt(e.$slots,"default",{shown:c,show:h,hide:p}),ce(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:d,"skip-transition":u,"auto-hide":f,"handle-resize":v,classes:_,result:g,onHide:p,onResize:w},{default:we(()=>[bt(e.$slots,"popper",{shown:c,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},8,["theme","target-nodes","popper-node","class"])}const gc=Fi($S,[["render",kS]]),SS={...gc,name:"VDropdown",vPopperTheme:"dropdown"},AS={...gc,name:"VMenu",vPopperTheme:"menu"},RS={...gc,name:"VTooltip",vPopperTheme:"tooltip"},PS=Oe({name:"VTooltipDirective",components:{Popper:Em(),PopperContent:$m},mixins:[km],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Ks(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Ks(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(t,r)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),NS=["innerHTML"],OS=["textContent"];function LS(e,t,n,r,s,o){const i=xn("PopperContent"),a=xn("Popper");return ue(),Ne(a,Tn({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:we(({popperId:l,isShown:c,shouldMountContent:d,skipTransition:u,autoHide:f,hide:h,handleResize:p,onResize:v,classes:w,result:_})=>[ce(i,{ref:"popperContent",class:Xe({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:d,"skip-transition":u,"auto-hide":f,"handle-resize":p,classes:w,result:_,onHide:h,onResize:v},{default:we(()=>[e.html?(ue(),Te("div",{key:0,innerHTML:e.finalContent},null,8,NS)):(ue(),Te("div",{key:1,textContent:St(e.finalContent)},null,8,OS))]),_:2},1032,["class","popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:1},16,["theme","target-nodes","popper-node","onApplyShow","onApplyHide"])}const CS=Fi(PS,[["render",LS]]),Sm="v-popper--has-tooltip";function IS(e,t){let n=e.placement;if(!n&&t)for(const r of wm)t[r]&&(n=r);return n||(n=Ks(e.theme||"tooltip","placement")),n}function Am(e,t,n){let r;const s=typeof t;return s==="string"?r={content:t}:t&&s==="object"?r=t:r={content:!1},r.placement=IS(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let _a,Xs,jS=0;function MS(){if(_a)return;Xs=ee([]),_a=Dh({name:"VTooltipDirectiveApp",setup(){return{directives:Xs}},render(){return this.directives.map(t=>Ye(CS,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),_a.mount(e)}function DS(e,t,n){MS();const r=ee(Am(e,t,n)),s=ee(!1),o={id:jS++,options:r,shown:s};return Xs.value.push(o),e.classList&&e.classList.add(Sm),e.$_popper={options:r,item:o,show(){s.value=!0},hide(){s.value=!1}}}function Rm(e){if(e.$_popper){const t=Xs.value.indexOf(e.$_popper.item);t!==-1&&Xs.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Sm)}function sd(e,{value:t,modifiers:n}){const r=Am(e,t,n);if(!r.content||Ks(r.theme||"tooltip","disabled"))Rm(e);else{let s;e.$_popper?(s=e.$_popper,s.options.value=r):s=DS(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?s.show():s.hide())}}const FS={beforeMount:sd,updated:sd,beforeUnmount(e){Rm(e)}};function od(e){e.addEventListener("click",Pm),e.addEventListener("touchstart",Nm,Xn?{passive:!0}:!1)}function id(e){e.removeEventListener("click",Pm),e.removeEventListener("touchstart",Nm),e.removeEventListener("touchend",Om),e.removeEventListener("touchcancel",Lm)}function Pm(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Nm(e){if(e.changedTouches.length===1){const t=e.currentTarget;t.$_vclosepopover_touch=!0;const n=e.changedTouches[0];t.$_vclosepopover_touchPoint=n,t.addEventListener("touchend",Om),t.addEventListener("touchcancel",Lm)}}function Om(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function Lm(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const BS={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&od(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?od(e):id(e))},beforeUnmount(e){id(e)}};function HS(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,ym(en,t),e.directive("tooltip",FS),e.directive("close-popper",BS),e.component("VTooltip",RS),e.component("VDropdown",SS),e.component("VMenu",AS))}const US={version:"2.0.0-beta.22",install:HS,options:en},VS=Lt(e=>{e.vueApp.use(US)}),WS=Lt(()=>{const e=tt(),t=mk(),n=st();window.__NUXT_DEVTOOLS_VIEW__={setClient(r){e.value!==r&&(e.value=r,r.hooks.hook("host:update:reactivity",()=>{Vd(e)}),r.hooks.hook("host:inspector:update",s=>{t.value=s}),r.hooks.hook("host:inspector:click",async(s,o,i,a)=>{const l=`./${o}:${i}:${a}`;await Fe.openInEditor(l)}),console.log("[nuxt-devtools] Client connected",r))}},n.afterEach(()=>{const r=n.currentRoute.value.path;r.includes("__")||e.value?.hooks.callHook("devtools:navigate",r)})}),GS=[ob,Lk,Ck,Ik,jk,Bk,Hk,Uk,Vk,VS,WS],zS=Oe({name:"NuxtLoadingIndicator",props:{throttle:{type:Number,default:200},duration:{type:Number,default:2e3},height:{type:Number,default:3},color:{type:[String,Boolean],default:"repeating-linear-gradient(to right,#00dc82 0%,#34cdfe 50%,#0047e1 100%)"}},setup(e,{slots:t}){const n=qS({duration:e.duration,throttle:e.throttle}),r=Pe(),s=st();return Lo.unshift(n.start),s.beforeResolve((o,i)=>{(o===i||o.matched.every((a,l)=>a.components&&a.components?.default===i.matched[l]?.components?.default))&&n.finish()}),r.hook("page:finish",n.finish),r.hook("vue:error",n.finish),Lr(()=>{const o=Lo.indexOf(n.start);o>=0&&Lo.splice(o,1),n.clear()}),()=>Ye("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${e.height}px`,opacity:n.isLoading.value?1:0,background:e.color||void 0,backgroundSize:`${100/n.progress.value*100}% auto`,transform:`scaleX(${n.progress.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},t)}});function qS(e){const t=ee(0),n=ee(!1),r=pe(()=>1e4/e.duration);let s=null,o=null;function i(){l(),t.value=0,e.throttle?o=setTimeout(()=>{n.value=!0,u()},e.throttle):(n.value=!0,u())}function a(){t.value=100,d()}function l(){clearInterval(s),clearTimeout(o),s=null,o=null}function c(f){t.value=Math.min(100,t.value+f)}function d(){l(),setTimeout(()=>{n.value=!1,setTimeout(()=>{t.value=0},400)},500)}function u(){s=setInterval(()=>{c(r.value)},100)}return{progress:t,isLoading:n,start:i,finish:a,clear:l}}const KS=Oe({__name:"Notification",setup(e){const t=ee(!1),n=ee(),r=ee(),s=ee();return SE(o=>{r.value=o.message,n.value=o.icon,s.value=o.classes??"text-primary",t.value=!0,setTimeout(()=>{t.value=!1},o.duration??1500)}),(o,i)=>(ue(),Te("div",{fixed:"","left-0":"","right-0":"","top-0":"","z-50":"","text-center":"",class:Xe(se(t)?"":"pointer-events-none overflow-hidden")},[oe("div",{border:"~ base",flex:"~ inline gap2","m-3":"","inline-block":"","items-center":"",rounded:"","px-4":"","py-1":"","transition-all":"","duration-300":"","bg-base":"",style:gn(se(t)?{}:{transform:"translateY(-300%)"}),class:Xe([se(t)?"shadow":"shadow-none",se(s)])},[se(n)?(ue(),Te("div",{key:0,class:Xe(se(n))},null,2)):Ke("",!0),oe("div",null,St(se(r)),1)],6)],2))}}),to=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},XS={},YS={class:"n-loading n-panel-grids-center"},JS={class:"flex flex-col animate-pulse items-center text-lg"},QS=oe("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function ZS(e,t){return ue(),Te("div",YS,[oe("div",JS,[QS,bt(e.$slots,"default",{},()=>[Me(" Loading... ")])])])}const eA=to(XS,[["render",ZS]]),Hi=Oe({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(ue(),Te("div",{class:Xe(["n-icon",t.icon])},null,2))}}),no=Oe({__name:"NButton",props:{to:{},icon:{}},setup(e){return(t,n)=>{const r=Hi;return ue(),Ne(Bl(t.to?se(Zl):"button"),Tn({to:t.to},t.$attrs,{class:"n-button n-button-base active:n-button-active focus-visible:n-focus-base n-transition hover:n-button-hover n-disabled:n-disabled"}),{default:we(()=>[bt(t.$slots,"icon",{},()=>[t.icon?(ue(),Ne(r,{key:0,icon:t.icon,class:"n-button-icon"},null,8,["icon"])):Ke("",!0)]),bt(t.$slots,"default")]),_:3},16,["to"])}}}),tA=Oe({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=ee(!1);return An(()=>{r.value=!0}),s=>{if(r.value)return t.default?.();const o=t.fallback||t.placeholder;if(o)return o();const i=s.fallback||s.placeholder||"",a=s.fallbackTag||s.placeholderTag||"span";return Te(a,n,i)}}}),nA={name:Dk,props:{placeholder:String,tag:{type:String,default:"span"}}};function rA(e,t,n,r,s,o){const i=tA;return ue(),Ne(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:we(()=>[bt(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const sA=to(nA,[["render",rA]]),oA=Oe({__name:"NDarkToggle",setup(e){const t=Li(),n=pe({get(){return t.value==="dark"},set(){t.preference=n.value?"light":"dark"}}),r=typeof document<"u"&&document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function s(i){if(!r||!i){n.value=!n.value;return}const a=i.clientX,l=i.clientY,c=Math.hypot(Math.max(a,innerWidth-a),Math.max(l,innerHeight-l));document.startViewTransition(async()=>{n.value=!n.value,await wt()}).ready.then(()=>{const u=[`circle(0px at ${a}px ${l}px)`,`circle(${c}px at ${a}px ${l}px)`];document.documentElement.animate({clipPath:n.value?[...u].reverse():u},{duration:400,easing:"ease-in",pseudoElement:n.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}const o={mode:t,isDark:n,toggle:s};return(i,a)=>{const l=sA;return ue(),Ne(l,{tag:"span"},{default:we(()=>[bt(i.$slots,"default",yl(wi(o)))]),_:3})}}}),iA={},aA={class:"n-card n-card-base"};function lA(e,t){return ue(),Te("div",aA,[bt(e.$slots,"default")])}const cA=to(iA,[["render",lA]]);/*!
|
|
14
|
-
* tabbable 6.1.2
|
|
15
|
-
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
16
|
-
*/var Cm=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],oi=Cm.join(","),Im=typeof Element>"u",Yn=Im?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ii=!Im&&Element.prototype.getRootNode?function(e){var t;return e==null||(t=e.getRootNode)===null||t===void 0?void 0:t.call(e)}:function(e){return e?.ownerDocument},ai=function e(t,n){var r;n===void 0&&(n=!0);var s=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),o=s===""||s==="true",i=o||n&&t&&e(t.parentNode);return i},uA=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},jm=function(t,n,r){if(ai(t))return[];var s=Array.prototype.slice.apply(t.querySelectorAll(oi));return n&&Yn.call(t,oi)&&s.unshift(t),s=s.filter(r),s},Mm=function e(t,n,r){for(var s=[],o=Array.from(t);o.length;){var i=o.shift();if(!ai(i,!1))if(i.tagName==="SLOT"){var a=i.assignedElements(),l=a.length?a:i.children,c=e(l,!0,r);r.flatten?s.push.apply(s,c):s.push({scopeParent:i,candidates:c})}else{var d=Yn.call(i,oi);d&&r.filter(i)&&(n||!t.includes(i))&&s.push(i);var u=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),f=!ai(u,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(u&&f){var h=e(u===!0?i.children:u.children,!0,r);r.flatten?s.push.apply(s,h):s.push({scopeParent:i,candidates:h})}else o.unshift.apply(o,i.children)}}return s},Dm=function(t,n){return t.tabIndex<0&&(n||/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||uA(t))&&isNaN(parseInt(t.getAttribute("tabindex"),10))?0:t.tabIndex},fA=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},Fm=function(t){return t.tagName==="INPUT"},dA=function(t){return Fm(t)&&t.type==="hidden"},hA=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},pA=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},mA=function(t){if(!t.name)return!0;var n=t.form||ii(t),r=function(a){return n.querySelectorAll('input[type="radio"][name="'+a+'"]')},s;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")s=r(window.CSS.escape(t.name));else try{s=r(t.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var o=pA(s,t.form);return!o||o===t},gA=function(t){return Fm(t)&&t.type==="radio"},vA=function(t){return gA(t)&&!mA(t)},_A=function(t){var n,r=t&&ii(t),s=(n=r)===null||n===void 0?void 0:n.host,o=!1;if(r&&r!==t){var i,a,l;for(o=!!((i=s)!==null&&i!==void 0&&(a=i.ownerDocument)!==null&&a!==void 0&&a.contains(s)||t!=null&&(l=t.ownerDocument)!==null&&l!==void 0&&l.contains(t));!o&&s;){var c,d,u;r=ii(s),s=(c=r)===null||c===void 0?void 0:c.host,o=!!((d=s)!==null&&d!==void 0&&(u=d.ownerDocument)!==null&&u!==void 0&&u.contains(s))}}return o},ad=function(t){var n=t.getBoundingClientRect(),r=n.width,s=n.height;return r===0&&s===0},yA=function(t,n){var r=n.displayCheck,s=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=Yn.call(t,"details>summary:first-of-type"),i=o?t.parentElement:t;if(Yn.call(i,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof s=="function"){for(var a=t;t;){var l=t.parentElement,c=ii(t);if(l&&!l.shadowRoot&&s(l)===!0)return ad(t);t.assignedSlot?t=t.assignedSlot:!l&&c!==t.ownerDocument?t=c.host:t=l}t=a}if(_A(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return ad(t);return!1},bA=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var s=n.children.item(r);if(s.tagName==="LEGEND")return Yn.call(n,"fieldset[disabled] *")?!0:!s.contains(t)}return!0}n=n.parentElement}return!1},li=function(t,n){return!(n.disabled||ai(n)||dA(n)||yA(n,t)||hA(n)||bA(n))},ol=function(t,n){return!(vA(n)||Dm(n)<0||!li(t,n))},wA=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},EA=function e(t){var n=[],r=[];return t.forEach(function(s,o){var i=!!s.scopeParent,a=i?s.scopeParent:s,l=Dm(a,i),c=i?e(s.candidates):a;l===0?i?n.push.apply(n,c):n.push(a):r.push({documentOrder:o,tabIndex:l,item:s,isScope:i,content:c})}),r.sort(fA).reduce(function(s,o){return o.isScope?s.push.apply(s,o.content):s.push(o.content),s},[]).concat(n)},xA=function(t,n){n=n||{};var r;return n.getShadowRoot?r=Mm([t],n.includeContainer,{filter:ol.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:wA}):r=jm(t,n.includeContainer,ol.bind(null,n)),EA(r)},TA=function(t,n){n=n||{};var r;return n.getShadowRoot?r=Mm([t],n.includeContainer,{filter:li.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=jm(t,n.includeContainer,li.bind(null,n)),r},So=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Yn.call(t,oi)===!1?!1:ol(n,t)},$A=Cm.concat("iframe").join(","),ya=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Yn.call(t,$A)===!1?!1:li(n,t)};/*!
|
|
17
|
-
* focus-trap 7.4.3
|
|
18
|
-
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
19
|
-
*/function ld(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function cd(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ld(Object(n),!0).forEach(function(r){kA(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ld(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function kA(e,t,n){return t=AA(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function SA(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function AA(e){var t=SA(e,"string");return typeof t=="symbol"?t:String(t)}var ud={activateTrap:function(t,n){if(t.length>0){var r=t[t.length-1];r!==n&&r.pause()}var s=t.indexOf(n);s===-1||t.splice(s,1),t.push(n)},deactivateTrap:function(t,n){var r=t.indexOf(n);r!==-1&&t.splice(r,1),t.length>0&&t[t.length-1].unpause()}},RA=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},PA=function(t){return t.key==="Escape"||t.key==="Esc"||t.keyCode===27},Ls=function(t){return t.key==="Tab"||t.keyCode===9},NA=function(t){return Ls(t)&&!t.shiftKey},OA=function(t){return Ls(t)&&t.shiftKey},fd=function(t){return setTimeout(t,0)},dd=function(t,n){var r=-1;return t.every(function(s,o){return n(s)?(r=o,!1):!0}),r},hs=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),s=1;s<n;s++)r[s-1]=arguments[s];return typeof t=="function"?t.apply(void 0,r):t},Ao=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},LA=[],CA=function(t,n){var r=n?.document||document,s=n?.trapStack||LA,o=cd({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:NA,isKeyBackward:OA},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},a,l=function(k,S,A){return k&&k[S]!==void 0?k[S]:o[A||S]},c=function(k,S){var A=typeof S?.composedPath=="function"?S.composedPath():void 0;return i.containerGroups.findIndex(function(R){var P=R.container,I=R.tabbableNodes;return P.contains(k)||A?.includes(P)||I.find(function(j){return j===k})})},d=function(k){var S=o[k];if(typeof S=="function"){for(var A=arguments.length,R=new Array(A>1?A-1:0),P=1;P<A;P++)R[P-1]=arguments[P];S=S.apply(void 0,R)}if(S===!0&&(S=void 0),!S){if(S===void 0||S===!1)return S;throw new Error("`".concat(k,"` was specified but was not a node, or did not return a node"))}var I=S;if(typeof S=="string"&&(I=r.querySelector(S),!I))throw new Error("`".concat(k,"` as selector refers to no known node"));return I},u=function(){var k=d("initialFocus");if(k===!1)return!1;if(k===void 0||!ya(k,o.tabbableOptions))if(c(r.activeElement)>=0)k=r.activeElement;else{var S=i.tabbableGroups[0],A=S&&S.firstTabbableNode;k=A||d("fallbackFocus")}if(!k)throw new Error("Your focus-trap needs to have at least one focusable element");return k},f=function(){if(i.containerGroups=i.containers.map(function(k){var S=xA(k,o.tabbableOptions),A=TA(k,o.tabbableOptions);return{container:k,tabbableNodes:S,focusableNodes:A,firstTabbableNode:S.length>0?S[0]:null,lastTabbableNode:S.length>0?S[S.length-1]:null,nextTabbableNode:function(P){var I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,j=A.findIndex(function(F){return F===P});if(!(j<0))return I?A.slice(j+1).find(function(F){return So(F,o.tabbableOptions)}):A.slice(0,j).reverse().find(function(F){return So(F,o.tabbableOptions)})}}}),i.tabbableGroups=i.containerGroups.filter(function(k){return k.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!d("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},h=function E(k){if(k!==!1&&k!==r.activeElement){if(!k||!k.focus){E(u());return}k.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=k,RA(k)&&k.select()}},p=function(k){var S=d("setReturnFocus",k);return S||(S===!1?!1:k)},v=function(k){var S=Ao(k);if(!(c(S,k)>=0)){if(hs(o.clickOutsideDeactivates,k)){a.deactivate({returnFocus:o.returnFocusOnDeactivate});return}hs(o.allowOutsideClick,k)||k.preventDefault()}},w=function(k){var S=Ao(k),A=c(S,k)>=0;A||S instanceof Document?A&&(i.mostRecentlyFocusedNode=S):(k.stopImmediatePropagation(),h(i.mostRecentlyFocusedNode||u()))},_=function(k){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,A=Ao(k);f();var R=null;if(i.tabbableGroups.length>0){var P=c(A,k),I=P>=0?i.containerGroups[P]:void 0;if(P<0)S?R=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:R=i.tabbableGroups[0].firstTabbableNode;else if(S){var j=dd(i.tabbableGroups,function(re){var de=re.firstTabbableNode;return A===de});if(j<0&&(I.container===A||ya(A,o.tabbableOptions)&&!So(A,o.tabbableOptions)&&!I.nextTabbableNode(A,!1))&&(j=P),j>=0){var F=j===0?i.tabbableGroups.length-1:j-1,B=i.tabbableGroups[F];R=B.lastTabbableNode}else Ls(k)||(R=I.nextTabbableNode(A,!1))}else{var z=dd(i.tabbableGroups,function(re){var de=re.lastTabbableNode;return A===de});if(z<0&&(I.container===A||ya(A,o.tabbableOptions)&&!So(A,o.tabbableOptions)&&!I.nextTabbableNode(A))&&(z=P),z>=0){var ae=z===i.tabbableGroups.length-1?0:z+1,te=i.tabbableGroups[ae];R=te.firstTabbableNode}else Ls(k)||(R=I.nextTabbableNode(A))}}else R=d("fallbackFocus");R&&(Ls(k)&&k.preventDefault(),h(R))},g=function(k){if(PA(k)&&hs(o.escapeDeactivates,k)!==!1){k.preventDefault(),a.deactivate();return}(o.isKeyForward(k)||o.isKeyBackward(k))&&_(k,o.isKeyBackward(k))},b=function(k){var S=Ao(k);c(S,k)>=0||hs(o.clickOutsideDeactivates,k)||hs(o.allowOutsideClick,k)||(k.preventDefault(),k.stopImmediatePropagation())},y=function(){if(i.active)return ud.activateTrap(s,a),i.delayInitialFocusTimer=o.delayInitialFocus?fd(function(){h(u())}):h(u()),r.addEventListener("focusin",w,!0),r.addEventListener("mousedown",v,{capture:!0,passive:!1}),r.addEventListener("touchstart",v,{capture:!0,passive:!1}),r.addEventListener("click",b,{capture:!0,passive:!1}),r.addEventListener("keydown",g,{capture:!0,passive:!1}),a},T=function(){if(i.active)return r.removeEventListener("focusin",w,!0),r.removeEventListener("mousedown",v,!0),r.removeEventListener("touchstart",v,!0),r.removeEventListener("click",b,!0),r.removeEventListener("keydown",g,!0),a},m=function(k){var S=k.some(function(A){var R=Array.from(A.removedNodes);return R.some(function(P){return P===i.mostRecentlyFocusedNode})});S&&h(u())},$=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(m):void 0,x=function(){$&&($.disconnect(),i.active&&!i.paused&&i.containers.map(function(k){$.observe(k,{subtree:!0,childList:!0})}))};return a={get active(){return i.active},get paused(){return i.paused},activate:function(k){if(i.active)return this;var S=l(k,"onActivate"),A=l(k,"onPostActivate"),R=l(k,"checkCanFocusTrap");R||f(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,S?.();var P=function(){R&&f(),y(),x(),A?.()};return R?(R(i.containers.concat()).then(P,P),this):(P(),this)},deactivate:function(k){if(!i.active)return this;var S=cd({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},k);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,T(),i.active=!1,i.paused=!1,x(),ud.deactivateTrap(s,a);var A=l(S,"onDeactivate"),R=l(S,"onPostDeactivate"),P=l(S,"checkCanReturnFocus"),I=l(S,"returnFocus","returnFocusOnDeactivate");A?.();var j=function(){fd(function(){I&&h(p(i.nodeFocusedBeforeActivation)),R?.()})};return I&&P?(P(p(i.nodeFocusedBeforeActivation)).then(j,j),this):(j(),this)},pause:function(k){if(i.paused||!i.active)return this;var S=l(k,"onPause"),A=l(k,"onPostPause");return i.paused=!0,S?.(),T(),x(),A?.(),this},unpause:function(k){if(!i.paused||!i.active)return this;var S=l(k,"onUnpause"),A=l(k,"onPostUnpause");return i.paused=!1,S?.(),f(),y(),x(),A?.(),this},updateContainerElements:function(k){var S=[].concat(k).filter(Boolean);return i.containers=S.map(function(A){return typeof A=="string"?r.querySelector(A):A}),i.active&&f(),x(),this}},a.updateContainerElements(t),a},IA=Object.defineProperty,jA=Object.defineProperties,MA=Object.getOwnPropertyDescriptors,ci=Object.getOwnPropertySymbols,Bm=Object.prototype.hasOwnProperty,Hm=Object.prototype.propertyIsEnumerable,hd=(e,t,n)=>t in e?IA(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,DA=(e,t)=>{for(var n in t||(t={}))Bm.call(t,n)&&hd(e,n,t[n]);if(ci)for(var n of ci(t))Hm.call(t,n)&&hd(e,n,t[n]);return e},FA=(e,t)=>jA(e,MA(t)),BA=(e,t)=>{var n={};for(var r in e)Bm.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ci)for(var r of ci(e))t.indexOf(r)<0&&Hm.call(e,r)&&(n[r]=e[r]);return n};function HA(e,t={}){let n;const r=t,{immediate:s}=r,o=BA(r,["immediate"]),i=ee(!1),a=ee(!1),l=f=>n&&n.activate(f),c=f=>n&&n.deactivate(f),d=()=>{n&&(n.pause(),a.value=!0)},u=()=>{n&&(n.unpause(),a.value=!1)};return Be(()=>ht(e),f=>{f&&(n=CA(f,FA(DA({},o),{onActivate(){i.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){i.value=!1,t.onDeactivate&&t.onDeactivate()}})),s&&l())},{flush:"post"}),rn(()=>c()),{hasFocus:i,isPaused:a,activate:l,deactivate:c,pause:d,unpause:u}}const UA={inheritAttrs:!1},Ui=Oe({...UA,__name:"NDialog",props:{modelValue:{type:Boolean,default:!1},dim:{type:Boolean,default:!0}},emits:["close","update:modelValue"],setup(e,{emit:t}){const r=Pp(e,"modelValue",t,{passive:!0}),s=ee(null),o=ee(!1),{activate:i,deactivate:a}=HA(pe(()=>s.value||document.body),{immediate:!1});vr(()=>{!o.value&&r.value&&(o.value=!0),r.value&&s.value?wt(i):a()});function l(){r.value=!1,t("close")}return(c,d)=>{const u=cA;return o.value?(ue(),Ne(bh,{key:0,to:"body"},[jl(oe("div",{class:Xe(["n-dialog fixed inset-0 z-100 flex items-center justify-center n-transition",[se(r)?"":"op0 pointer-events-none visibility-none"]])},[oe("div",{class:Xe(["absolute inset-0 -z-1",[c.dim?"bg-black/50":""]]),onClick:d[0]||(d[0]=f=>l())},null,2),ce(u,Tn(c.$attrs,{ref_key:"card",ref:s,class:"max-h-screen of-auto"}),{default:we(()=>[bt(c.$slots,"default")]),_:3},16)],2),[[jh,se(r)]])])):Ke("",!0)}}});function J2(){const e=wk(),t=xk(),n=st();return async r=>{const s=e.value?.buildDir,o=s&&r.startsWith(s)?`#build${r.slice(s.length).replace(/\.\w+$/,"")}`:r,i=t.value?.entries.find(a=>a.path===o||a.id===o)||t.value?.entries.find(a=>a.path===r||a.id===r);i?n.push(`/modules/virtual-files?id=${encodeURIComponent(i.id)}`):await Fe.openInEditor(r)}}function VA(){const e=Nw();return t=>{e.copy(t),Ya({message:"Copied to clipboard",icon:"carbon-checkmark"})}}const WA=oe("div",{"carbon-launch":""},null,-1),GA=oe("div",{"carbon-launch":""},null,-1),zA=oe("span",{"mt-0.5":"","text-xs":"",op50:""},"(not supported)",-1),qA=oe("h1",{"text-3xl":""}," Popup is not Supported ",-1),KA=oe("p",null,[Me(" To popup the DevTools, it requires the "),oe("a",{href:"https://developer.chrome.com/docs/web-platform/document-picture-in-picture/",target:"_blank"},"Document Picture-in-Picture API"),Me(" which is currently in experimental state. ")],-1),XA=oe("p",null,[Me(" As June 2023, the API is only available in Chrome 111 and above, under a flag "),oe("code",null,"#document-picture-in-picture-api"),Me(". ")],-1),YA=Oe({__name:"PictureInPictureButton",setup(e){const t=tt(),n=window.__NUXT_DEVTOOLS_IS_POPUP__,r=ee(!1),s=VA();return(o,i)=>{const a=no,l=Ui;return se(n)?Ke("",!0):(ue(),Te(Ie,{key:0},[se(t)?.popup?(ue(),Ne(a,{key:0,n:"sm primary",onClick:i[0]||(i[0]=c=>se(t).popup())},{default:we(()=>[WA,Me(" Popup ")]),_:1})):(ue(),Te(Ie,{key:1},[ce(a,{n:"sm primary",onClick:i[1]||(i[1]=c=>r.value=!0)},{default:we(()=>[GA,Me(" Popup "),zA]),_:1}),ce(l,{modelValue:se(r),"onUpdate:modelValue":i[4]||(i[4]=c=>De(r)?r.value=c:null),class:"max-w-150 p6 pt-2 prose",onClose:i[5]||(i[5]=c=>r.value=!1)},{default:we(()=>[qA,KA,XA,oe("p",null,[Me(" Your current browser does not seem to support the API, or the flag is not enabled yet. You can try enabling the flag by visiting "),ce(a,{n:"xs primary",title:"Click to Copy",onClick:i[2]||(i[2]=c=>se(s)("chrome://flags/#document-picture-in-picture-api"))},{default:we(()=>[Me(" chrome://flags/#document-picture-in-picture-api ")]),_:1}),Me(" and restart the browser. ")]),oe("div",null,[ce(a,{onClick:i[3]||(i[3]=c=>r.value=!1)},{default:we(()=>[Me(" Close ")]),_:1})])]),_:1},8,["modelValue"])],64))],64))}}}),JA={px3:"",py2:"",border:"b base",flex:"~ gap-2"},QA=oe("div",{"carbon-sun":"","dark:carbon-moon":"","translate-y--1px":""},null,-1),ZA={px3:"",py2:"",flex:"~ gap2"},eR=Oe({__name:"DockingPanel",setup(e){const t=tt(),n=Pe();function r(){n.hooks.callHookParallel("app:data:refresh",Object.keys(n.payload.data)),Vd(t)}function s(){location.reload()}return(o,i)=>{const a=no,l=oA,c=YA;return ue(),Te("div",null,[oe("div",JA,[ce(l,null,{default:we(({toggle:d,isDark:u})=>[ce(a,{n:"sm primary",onClick:d},{default:we(()=>[QA,Me(" "+St(u.value?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),ce(c)]),oe("div",ZA,[ce(a,{n:"primary sm",onClick:r},{default:we(()=>[Me(" Refetch Data ")]),_:1}),ce(a,{n:"primary sm",onClick:s},{default:we(()=>[Me(" Refresh Page ")]),_:1})])])}}}),tR=["src","alt"],nR=["title"],vc=Oe({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0}},setup(e){return(t,n)=>t.icon&&(t.icon.startsWith("/")||t.icon.match(/^https?:/))?(ue(),Te("img",Tn({key:0,style:{width:"1em",height:"1em"}},t.$attrs,{src:t.icon,alt:t.title}),null,16,tR)):(ue(),Te("div",Tn({key:1,style:{width:"1em",height:"1em"}},t.$attrs,{class:t.icon||"carbon-bring-forward",title:t.showTitle?t.title:void 0}),null,16,nR))}}),rR={"translate-y-0.5px":""},sR={key:0,hidden:"","lg:block":""},oR=Oe({__name:"SideNavItem",props:{tab:{}},setup(e){const t=e,n=Ti(),r=pe(()=>"badge"in t.tab&&t.tab.badge?.()),s=pe(()=>"path"in t.tab?t.tab.path:`/modules/custom-${t.tab.name}`),o=pe(()=>n.path.startsWith(s.value));return(i,a)=>{const l=vc,c=Zl,d=xn("VTooltip");return ue(),Ne(d,{placement:"right"},{popper:we(()=>[oe("div",null,St(i.tab.title),1),"extraTabVNode"in i.tab&&i.tab.extraTabVNode?(ue(),Te("div",sR,[(ue(),Ne(Bl(i.tab.extraTabVNode)))])):Ke("",!0)]),default:we(()=>[ce(c,{to:se(s),flex:"~",hover:"bg-active",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:a[0]||(a[0]=u=>"onClick"in i.tab&&i.tab.onClick?.())},{default:we(()=>[ce(l,{"text-xl":"",icon:i.tab.icon,title:i.tab.title,"show-title":!1},null,8,["icon","title"]),se(r)?(ue(),Te("div",{key:0,absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:Xe(se(o)?"bg-primary":"bg-gray")},[oe("span",rR,St(("toValue"in i?i.toValue:se(Pl))(se(r))),1)],2)):Ke("",!0)]),_:1},8,["to"])]),_:1})}}});function iR(){const e=Ek(),t=hc(),n=st(),r=pe(()=>[...n.getRoutes().filter(o=>o.path.startsWith("/modules/")&&o.meta.title&&!o.meta.wip).filter(o=>!o.meta.experimental||o.meta.experimental&&t.showExperimentalFeatures.value).sort((o,i)=>(o.meta.order||100)-(i.meta.order||100)).map(o=>({name:o.name,path:o.path,...o.meta})),...(e.value||[]).filter(o=>o.name.startsWith("builtin-"))]),s=pe(()=>(e.value||[]).filter(o=>!o.name.startsWith("builtin-")));return pe(()=>[...r.value,...s.value])}function Um(){return{app:[],analyze:[],server:[],modules:[],documentation:[],advanced:[]}}function pd(e){return pe(()=>{const t=Um();for(const n of se(e)){const r=n.category||"app";t[r]?t[r].push(n):console.warn(`Unknown tab category: ${r}`)}for(const n of Object.keys(t))t[n].length===0&&delete t[n];return Object.entries(t)})}function Vm(){const e=iR(),t=hc(),n=Object.keys(Um()),r=e.value.map(s=>s?.show?.());return pe(()=>e.value.filter((s,o)=>{const i=s;return!(r[o]&&!Pl(r[o])||t.hiddenTabs.value.includes(i.name)||t.hiddenTabCategories.value.includes(s.category||"app"))}).sort((s,o)=>n.indexOf(s.category||"app")-n.indexOf(o.category||"app")))}function Q2(){const e=om(),t=lm();return pe(()=>(e.value?.getRoutes()||[]).map(n=>am(n,["path","name","meta","props","children"])).map(n=>({...t.value?.find(r=>r.name&&r.name===n.name),...n})))}const aR={border:"r base",flex:"~ col","z-100":"","h-full":"","items-center":"","of-hidden":"","bg-base":""},lR={flex:"~ none col items-center"},cR=["title"],uR=oe("div",{"i-logos-nuxt-icon":"","h-6":"","w-6":""},null,-1),fR=[uR],dR=oe("div",{"h-1px":"","w-8":"",border:"b base"},null,-1),hR={flex:"~ auto col gap-0.5 items-center","of-hidden":"",py1:""},pR={key:0,my1:"","h-1px":"","w-8":"",border:"b base"},mR=oe("div",{"flex-auto":""},null,-1),gR={flex:"~ none col items-center gap-1",pb1:""},vR={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},_R={"translate-y-0.5px":""},yR={flex:"~ col gap-1","max-w-80":"",py1:""},bR={key:0,"h-1px":"",border:"b base"},wR={flex:"~ wrap",px1:""},ER=45,xR=Oe({__name:"SideNav",setup(e){const t=tt(),n=Vm(),r=ee(!1),s=ee(!1),o=ee(),i=ee(),a=ee();function l(){r.value=!r.value}function c(){s.value=!s.value}const{height:d}=sE(),u=pe(()=>{const w=d.value-130;return Math.max(0,Math.floor(w/ER))}),f=pe(()=>n.value.slice(0,u.value)),h=pe(()=>n.value.slice(u.value)),p=pd(f),v=pd(h);return _w(o,w=>{i.value&&w.composedPath().includes(i.value)||a.value&&w.composedPath().includes(a.value)||(r.value=!1,s.value=!1)},{detectIframe:!0}),(w,_)=>{const g=eR,b=xn("VDropdown"),y=oR,T=vc,m=Zl;return ue(),Te("div",aR,[oe("div",lR,[ce(b,{placement:"left-start",distance:12,skidding:5,triggers:[],shown:se(r),"auto-hide":!0},{popper:we(()=>[ce(g,{ref_key:"panel",ref:o},null,512)]),default:we(()=>[oe("button",{ref_key:"buttonDocking",ref:i,flex:"~",hover:"bg-active",relative:"",my1:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",class:Xe(se(t)?"":"saturate-0"),title:se(t)?"Nuxt DevTools":"DevTools Client not connected, try open it in iframe mode",onClick:l},fR,10,cR)]),_:1},8,["shown"]),dR]),oe("div",hR,[(ue(!0),Te(Ie,null,gs(se(p),([$,x],E)=>(ue(),Te(Ie,{key:$},[x.length?(ue(),Te(Ie,{key:0},[E?(ue(),Te("div",pR)):Ke("",!0),(ue(!0),Te(Ie,null,gs(x,k=>(ue(),Ne(y,{key:k.name,tab:k},null,8,["tab"]))),128))],64)):Ke("",!0)],64))),128)),mR]),oe("div",gR,[se(h).length?(ue(),Ne(b,{key:0,placement:"left-end",distance:12,triggers:[],shown:se(s),"auto-hide":!0},{popper:we(()=>[oe("div",yR,[(ue(!0),Te(Ie,null,gs(se(v),([$,x],E)=>(ue(),Te(Ie,{key:$},[x.length?(ue(),Te(Ie,{key:0},[E?(ue(),Te("div",bR)):Ke("",!0),oe("div",wR,[(ue(!0),Te(Ie,null,gs(x,k=>(ue(),Ne(y,{key:k.name,tab:k},null,8,["tab"]))),128))])],64)):Ke("",!0)],64))),128))])]),default:we(()=>[oe("button",{ref_key:"buttonMoreTabs",ref:a,flex:"~",hover:"bg-active",relative:"","h-10":"","w-10":"","select-none":"","items-center":"","justify-center":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:c},[ce(T,{"text-xl":"",icon:"carbon:overflow-menu-vertical",title:"More tabs","show-title":!1}),oe("div",vR,[oe("span",_R,St(se(h).length),1)])],512)]),_:1},8,["shown"])):Ke("",!0),ce(m,{to:"/settings",flex:"~ items-center justify-center",hover:"bg-active",relative:"",block:"","h-10":"","w-10":"","select-none":"","rounded-xl":"",p1:"","text-secondary":"","exact-active-class":"!text-primary bg-active"},{default:we(()=>[ce(T,{"text-xl":"",icon:"i-carbon-settings-adjust",title:"Settings","show-title":!1})]),_:1})])])}}}),TR=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),$R=(e,t)=>{const n=e.route.matched.find(s=>s.components?.default===e.Component.type),r=t??n?.meta.key??(n&&TR(e.route,n));return typeof r=="function"?r(e.route):r},kR=(e,t)=>({default:()=>e?Ye(bv,e===!0?{}:e,t):t}),il=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?Ye(e,t,n):n.default?.()}),Wm=Symbol("layout-meta"),SR=Oe({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=Pe(),r=lt("_route"),s=r===Ti()?l1():r,o=pe(()=>se(e.name)??s.meta.layout??"default"),i=ee();return t.expose({layoutRef:i}),()=>{const a=n.deferHydration(),l=o.value&&o.value in ar,c=s.meta.layoutTransition??V0;return il(xi,l&&c,{default:()=>Ye(Ll,{suspensible:!0,onResolve:()=>{wt(a)}},{default:()=>il(AR,l&&{layoutProps:Tn(t.attrs,{ref:i}),key:o.value,name:o.value,shouldProvide:!e.name,hasTransition:!!c},t.slots).default()})}).default()}}}),AR=Oe({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:String},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){if(e.shouldProvide){const n=e.name;Vn(Wm,{isCurrent:r=>n===(r.meta.layout??"default")})}return()=>Ye(ar[e.name],e.layoutProps,t.slots)}}),RR=Oe({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,expose:n}){const r=Pe(),s=ee();n({pageRef:s});const o=lt(Wm,null);let i;return()=>Ye(yp,{name:e.name,route:e.route,...t},{default:a=>{if(!a.Component)return;if(i&&o&&!o.isCurrent(a.route))return i;const l=$R(a,e.pageKey),c=r.deferHydration(),d=!!(e.transition??a.route.meta.pageTransition??Ba),u=d&&NR([e.transition,a.route.meta.pageTransition,Ba,{onAfterLeave:()=>{r.callHook("page:transition:finish",a.Component)}}].filter(Boolean));return i=il(xi,d&&u,kR(e.keepalive??a.route.meta.keepalive??W0,Ye(Ll,{suspensible:!0,onPending:()=>r.callHook("page:start",a.Component),onResolve:()=>{wt(()=>r.callHook("page:finish",a.Component).finally(c))}},{default:()=>Ye(OR,{key:l,routeProps:a,pageKey:l,hasTransition:d,pageRef:s})}))).default(),i}})}});function PR(e){return Array.isArray(e)?e:e?[e]:[]}function NR(e){const t=e.map(n=>({...n,onAfterLeave:PR(n.onAfterLeave)}));return Q0(...t)}const OR=Oe({name:"RouteProvider",props:["routeProps","pageKey","hasTransition","pageRef"],setup(e){const t=e.pageKey,n=e.routeProps.route,r={};for(const s in e.routeProps.route)r[s]=pe(()=>t===e.pageKey?e.routeProps.route[s]:n[s]);return Vn("_route",ut(r)),()=>Ye(e.routeProps.Component,{ref:e.pageRef})}}),LR={class:"n-text-input flex flex items-center border n-border-base rounded py-1 pl-1 pr-2 focus-within:n-focus-base focus-within:border-context n-bg-base"},CR=Oe({__name:"NTextInput",props:{modelValue:{default:""},icon:{},placeholder:{},disabled:{type:Boolean},type:{default:"text"}},setup(e,{emit:t}){const r=Pp(e,"modelValue",t,{passive:!0});return(s,o)=>{const i=Hi;return ue(),Te("div",LR,[bt(s.$slots,"icon",{},()=>[s.icon?(ue(),Ne(i,{key:0,icon:s.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):Ke("",!0)]),jl(oe("input",Tn({"onUpdate:modelValue":o[0]||(o[0]=a=>De(r)?r.value=a:null)},s.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[L_,se(r)]])])}}}),al=ut(new Map);function IR(){const e=Vm(),t=st(),n=[{id:"fixed:settings",title:"Settings",icon:"carbon-settings-adjust",action:()=>{t.push("/settings")}},{id:"fixed:docs",title:"Nuxt Documentations",icon:"logos-nuxt-icon",action:()=>MR()}],r=pe(()=>e.value.map(s=>({id:`tab:${s.name}`,title:s.title||s.name,icon:s.icon,action:()=>{"onClick"in s&&s.onClick?s.onClick():t.push("path"in s&&s.path?s.path:`/modules/custom-${s.name}`)}})));return pe(()=>[...n,...r.value,...Array.from(al.values()).flatMap(s=>Pl(s))])}function Z2(e){const t=yk();al.set(t,e),Hs(()=>{al.delete(t)})}let ba;const jR=[[":components:","i-carbon-assembly-cluster"],[":modules:","i-carbon-cube"],[":commands:","i-carbon-terminal"],[":directory-structure:","i-carbon-folder"],[":composables:","i-carbon-function"],[":getting-started:","i-carbon-idea"],[":api:","carbon-api-1"]];async function MR(){return ba||(ba=(await Re(()=>import("./nuxt-docs.100caa70.js"),[],import.meta.url).then(t=>t.default)).map(t=>({...t,icon:jR.find(([n])=>t.id.includes(n))?.[1]||"i-carbon-document-multiple-01",action:()=>{window.open(t.url,"_blank")}}))),ba}function sn(e){return Array.isArray?Array.isArray(e):qm(e)==="[object Array]"}const DR=1/0;function FR(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-DR?"-0":t}function BR(e){return e==null?"":FR(e)}function Ut(e){return typeof e=="string"}function Gm(e){return typeof e=="number"}function HR(e){return e===!0||e===!1||UR(e)&&qm(e)=="[object Boolean]"}function zm(e){return typeof e=="object"}function UR(e){return zm(e)&&e!==null}function dt(e){return e!=null}function wa(e){return!e.trim().length}function qm(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const VR="Incorrect 'index' type",WR=e=>`Invalid value for key ${e}`,GR=e=>`Pattern length exceeds max of ${e}.`,zR=e=>`Missing ${e} property in key`,qR=e=>`Property 'weight' in key '${e}' must be a positive integer`,md=Object.prototype.hasOwnProperty;class KR{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let s=Km(r);n+=s.weight,this._keys.push(s),this._keyMap[s.id]=s,n+=s.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Km(e){let t=null,n=null,r=null,s=1,o=null;if(Ut(e)||sn(e))r=e,t=gd(e),n=ll(e);else{if(!md.call(e,"name"))throw new Error(zR("name"));const i=e.name;if(r=i,md.call(e,"weight")&&(s=e.weight,s<=0))throw new Error(qR(i));t=gd(i),n=ll(i),o=e.getFn}return{path:t,id:n,weight:s,src:r,getFn:o}}function gd(e){return sn(e)?e:e.split(".")}function ll(e){return sn(e)?e.join("."):e}function XR(e,t){let n=[],r=!1;const s=(o,i,a)=>{if(dt(o))if(!i[a])n.push(o);else{let l=i[a];const c=o[l];if(!dt(c))return;if(a===i.length-1&&(Ut(c)||Gm(c)||HR(c)))n.push(BR(c));else if(sn(c)){r=!0;for(let d=0,u=c.length;d<u;d+=1)s(c[d],i,a+1)}else i.length&&s(c,i,a+1)}};return s(e,Ut(t)?t.split("."):t,0),r?n:n[0]}const YR={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},JR={isCaseSensitive:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(e,t)=>e.score===t.score?e.idx<t.idx?-1:1:e.score<t.score?-1:1},QR={location:0,threshold:.6,distance:100},ZR={useExtendedSearch:!1,getFn:XR,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var ye={...JR,...YR,...QR,...ZR};const eP=/[^ ]+/g;function tP(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(s){const o=s.match(eP).length;if(n.has(o))return n.get(o);const i=1/Math.pow(o,.5*e),a=parseFloat(Math.round(i*r)/r);return n.set(o,a),a},clear(){n.clear()}}}class _c{constructor({getFn:t=ye.getFn,fieldNormWeight:n=ye.fieldNormWeight}={}){this.norm=tP(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,Ut(this.docs[0])?this.docs.forEach((t,n)=>{this._addString(t,n)}):this.docs.forEach((t,n)=>{this._addObject(t,n)}),this.norm.clear())}add(t){const n=this.size();Ut(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!dt(t)||wa(t))return;let r={v:t,i:n,n:this.norm.get(t)};this.records.push(r)}_addObject(t,n){let r={i:n,$:{}};this.keys.forEach((s,o)=>{let i=s.getFn?s.getFn(t):this.getFn(t,s.path);if(dt(i)){if(sn(i)){let a=[];const l=[{nestedArrIndex:-1,value:i}];for(;l.length;){const{nestedArrIndex:c,value:d}=l.pop();if(dt(d))if(Ut(d)&&!wa(d)){let u={v:d,i:c,n:this.norm.get(d)};a.push(u)}else sn(d)&&d.forEach((u,f)=>{l.push({nestedArrIndex:f,value:u})})}r.$[o]=a}else if(Ut(i)&&!wa(i)){let a={v:i,n:this.norm.get(i)};r.$[o]=a}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function Xm(e,t,{getFn:n=ye.getFn,fieldNormWeight:r=ye.fieldNormWeight}={}){const s=new _c({getFn:n,fieldNormWeight:r});return s.setKeys(e.map(Km)),s.setSources(t),s.create(),s}function nP(e,{getFn:t=ye.getFn,fieldNormWeight:n=ye.fieldNormWeight}={}){const{keys:r,records:s}=e,o=new _c({getFn:t,fieldNormWeight:n});return o.setKeys(r),o.setIndexRecords(s),o}function Ro(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:s=ye.distance,ignoreLocation:o=ye.ignoreLocation}={}){const i=t/e.length;if(o)return i;const a=Math.abs(r-n);return s?i+a/s:a?1:i}function rP(e=[],t=ye.minMatchCharLength){let n=[],r=-1,s=-1,o=0;for(let i=e.length;o<i;o+=1){let a=e[o];a&&r===-1?r=o:!a&&r!==-1&&(s=o-1,s-r+1>=t&&n.push([r,s]),r=-1)}return e[o-1]&&o-r>=t&&n.push([r,o-1]),n}const Dn=32;function sP(e,t,n,{location:r=ye.location,distance:s=ye.distance,threshold:o=ye.threshold,findAllMatches:i=ye.findAllMatches,minMatchCharLength:a=ye.minMatchCharLength,includeMatches:l=ye.includeMatches,ignoreLocation:c=ye.ignoreLocation}={}){if(t.length>Dn)throw new Error(GR(Dn));const d=t.length,u=e.length,f=Math.max(0,Math.min(r,u));let h=o,p=f;const v=a>1||l,w=v?Array(u):[];let _;for(;(_=e.indexOf(t,p))>-1;){let $=Ro(t,{currentLocation:_,expectedLocation:f,distance:s,ignoreLocation:c});if(h=Math.min($,h),p=_+d,v){let x=0;for(;x<d;)w[_+x]=1,x+=1}}p=-1;let g=[],b=1,y=d+u;const T=1<<d-1;for(let $=0;$<d;$+=1){let x=0,E=y;for(;x<E;)Ro(t,{errors:$,currentLocation:f+E,expectedLocation:f,distance:s,ignoreLocation:c})<=h?x=E:y=E,E=Math.floor((y-x)/2+x);y=E;let k=Math.max(1,f-E+1),S=i?u:Math.min(f+E,u)+d,A=Array(S+2);A[S+1]=(1<<$)-1;for(let P=S;P>=k;P-=1){let I=P-1,j=n[e.charAt(I)];if(v&&(w[I]=+!!j),A[P]=(A[P+1]<<1|1)&j,$&&(A[P]|=(g[P+1]|g[P])<<1|1|g[P+1]),A[P]&T&&(b=Ro(t,{errors:$,currentLocation:I,expectedLocation:f,distance:s,ignoreLocation:c}),b<=h)){if(h=b,p=I,p<=f)break;k=Math.max(1,2*f-p)}}if(Ro(t,{errors:$+1,currentLocation:f,expectedLocation:f,distance:s,ignoreLocation:c})>h)break;g=A}const m={isMatch:p>=0,score:Math.max(.001,b)};if(v){const $=rP(w,a);$.length?l&&(m.indices=$):m.isMatch=!1}return m}function oP(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const s=e.charAt(n);t[s]=(t[s]||0)|1<<r-n-1}return t}class Ym{constructor(t,{location:n=ye.location,threshold:r=ye.threshold,distance:s=ye.distance,includeMatches:o=ye.includeMatches,findAllMatches:i=ye.findAllMatches,minMatchCharLength:a=ye.minMatchCharLength,isCaseSensitive:l=ye.isCaseSensitive,ignoreLocation:c=ye.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:s,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c},this.pattern=l?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const d=(f,h)=>{this.chunks.push({pattern:f,alphabet:oP(f),startIndex:h})},u=this.pattern.length;if(u>Dn){let f=0;const h=u%Dn,p=u-h;for(;f<p;)d(this.pattern.substr(f,Dn),f),f+=Dn;if(h){const v=u-Dn;d(this.pattern.substr(v),v)}}else d(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,includeMatches:r}=this.options;if(n||(t=t.toLowerCase()),this.pattern===t){let p={isMatch:!0,score:0};return r&&(p.indices=[[0,t.length-1]]),p}const{location:s,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:l,ignoreLocation:c}=this.options;let d=[],u=0,f=!1;this.chunks.forEach(({pattern:p,alphabet:v,startIndex:w})=>{const{isMatch:_,score:g,indices:b}=sP(t,p,v,{location:s+w,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:l,includeMatches:r,ignoreLocation:c});_&&(f=!0),u+=g,_&&b&&(d=[...d,...b])});let h={isMatch:f,score:f?u/this.chunks.length:1};return f&&r&&(h.indices=d),h}}class Rn{constructor(t){this.pattern=t}static isMultiMatch(t){return vd(t,this.multiRegex)}static isSingleMatch(t){return vd(t,this.singleRegex)}search(){}}function vd(e,t){const n=e.match(t);return n?n[1]:null}class iP extends Rn{constructor(t){super(t)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(t){const n=t===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class aP extends Rn{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class lP extends Rn{constructor(t){super(t)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(t){const n=t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class cP extends Rn{constructor(t){super(t)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(t){const n=!t.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class uP extends Rn{constructor(t){super(t)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(t){const n=t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[t.length-this.pattern.length,t.length-1]}}}class fP extends Rn{constructor(t){super(t)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(t){const n=!t.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,t.length-1]}}}class Jm extends Rn{constructor(t,{location:n=ye.location,threshold:r=ye.threshold,distance:s=ye.distance,includeMatches:o=ye.includeMatches,findAllMatches:i=ye.findAllMatches,minMatchCharLength:a=ye.minMatchCharLength,isCaseSensitive:l=ye.isCaseSensitive,ignoreLocation:c=ye.ignoreLocation}={}){super(t),this._bitapSearch=new Ym(t,{location:n,threshold:r,distance:s,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class Qm extends Rn{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const s=[],o=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+o,s.push([r,n-1]);const i=!!s.length;return{isMatch:i,score:i?0:1,indices:s}}}const cl=[iP,Qm,lP,cP,fP,uP,aP,Jm],_d=cl.length,dP=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,hP="|";function pP(e,t={}){return e.split(hP).map(n=>{let r=n.trim().split(dP).filter(o=>o&&!!o.trim()),s=[];for(let o=0,i=r.length;o<i;o+=1){const a=r[o];let l=!1,c=-1;for(;!l&&++c<_d;){const d=cl[c];let u=d.isMultiMatch(a);u&&(s.push(new d(u,t)),l=!0)}if(!l)for(c=-1;++c<_d;){const d=cl[c];let u=d.isSingleMatch(a);if(u){s.push(new d(u,t));break}}}return s})}const mP=new Set([Jm.type,Qm.type]);class gP{constructor(t,{isCaseSensitive:n=ye.isCaseSensitive,includeMatches:r=ye.includeMatches,minMatchCharLength:s=ye.minMatchCharLength,ignoreLocation:o=ye.ignoreLocation,findAllMatches:i=ye.findAllMatches,location:a=ye.location,threshold:l=ye.threshold,distance:c=ye.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:r,minMatchCharLength:s,findAllMatches:i,ignoreLocation:o,location:a,threshold:l,distance:c},this.pattern=n?t:t.toLowerCase(),this.query=pP(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:s}=this.options;t=s?t:t.toLowerCase();let o=0,i=[],a=0;for(let l=0,c=n.length;l<c;l+=1){const d=n[l];i.length=0,o=0;for(let u=0,f=d.length;u<f;u+=1){const h=d[u],{isMatch:p,indices:v,score:w}=h.search(t);if(p){if(o+=1,a+=w,r){const _=h.constructor.type;mP.has(_)?i=[...i,...v]:i.push(v)}}else{a=0,o=0,i.length=0;break}}if(o){let u={isMatch:!0,score:a/o};return r&&(u.indices=i),u}}return{isMatch:!1,score:1}}}const ul=[];function vP(...e){ul.push(...e)}function fl(e,t){for(let n=0,r=ul.length;n<r;n+=1){let s=ul[n];if(s.condition(e,t))return new s(e,t)}return new Ym(e,t)}const ui={AND:"$and",OR:"$or"},dl={PATH:"$path",PATTERN:"$val"},hl=e=>!!(e[ui.AND]||e[ui.OR]),_P=e=>!!e[dl.PATH],yP=e=>!sn(e)&&zm(e)&&!hl(e),yd=e=>({[ui.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Zm(e,t,{auto:n=!0}={}){const r=s=>{let o=Object.keys(s);const i=_P(s);if(!i&&o.length>1&&!hl(s))return r(yd(s));if(yP(s)){const l=i?s[dl.PATH]:o[0],c=i?s[dl.PATTERN]:s[l];if(!Ut(c))throw new Error(WR(l));const d={keyId:ll(l),pattern:c};return n&&(d.searcher=fl(c,t)),d}let a={children:[],operator:o[0]};return o.forEach(l=>{const c=s[l];sn(c)&&c.forEach(d=>{a.children.push(r(d))})}),a};return hl(e)||(e=yd(e)),r(e)}function bP(e,{ignoreFieldNorm:t=ye.ignoreFieldNorm}){e.forEach(n=>{let r=1;n.matches.forEach(({key:s,norm:o,score:i})=>{const a=s?s.weight:null;r*=Math.pow(i===0&&a?Number.EPSILON:i,(a||1)*(t?1:o))}),n.score=r})}function wP(e,t){const n=e.matches;t.matches=[],dt(n)&&n.forEach(r=>{if(!dt(r.indices)||!r.indices.length)return;const{indices:s,value:o}=r;let i={indices:s,value:o};r.key&&(i.key=r.key.src),r.idx>-1&&(i.refIndex=r.idx),t.matches.push(i)})}function EP(e,t){t.score=e.score}function xP(e,t,{includeMatches:n=ye.includeMatches,includeScore:r=ye.includeScore}={}){const s=[];return n&&s.push(wP),r&&s.push(EP),e.map(o=>{const{idx:i}=o,a={item:t[i],refIndex:i};return s.length&&s.forEach(l=>{l(o,a)}),a})}class Dr{constructor(t,n={},r){this.options={...ye,...n},this.options.useExtendedSearch,this._keyStore=new KR(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof _c))throw new Error(VR);this._myIndex=n||Xm(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){dt(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let r=0,s=this._docs.length;r<s;r+=1){const o=this._docs[r];t(o,r)&&(this.removeAt(r),r-=1,s-=1,n.push(o))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:r,includeScore:s,shouldSort:o,sortFn:i,ignoreFieldNorm:a}=this.options;let l=Ut(t)?Ut(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return bP(l,{ignoreFieldNorm:a}),o&&l.sort(i),Gm(n)&&n>-1&&(l=l.slice(0,n)),xP(l,this._docs,{includeMatches:r,includeScore:s})}_searchStringList(t){const n=fl(t,this.options),{records:r}=this._myIndex,s=[];return r.forEach(({v:o,i,n:a})=>{if(!dt(o))return;const{isMatch:l,score:c,indices:d}=n.searchIn(o);l&&s.push({item:o,idx:i,matches:[{score:c,value:o,norm:a,indices:d}]})}),s}_searchLogical(t){const n=Zm(t,this.options),r=(a,l,c)=>{if(!a.children){const{keyId:u,searcher:f}=a,h=this._findMatches({key:this._keyStore.get(u),value:this._myIndex.getValueForItemAtKeyId(l,u),searcher:f});return h&&h.length?[{idx:c,item:l,matches:h}]:[]}const d=[];for(let u=0,f=a.children.length;u<f;u+=1){const h=a.children[u],p=r(h,l,c);if(p.length)d.push(...p);else if(a.operator===ui.AND)return[]}return d},s=this._myIndex.records,o={},i=[];return s.forEach(({$:a,i:l})=>{if(dt(a)){let c=r(n,a,l);c.length&&(o[l]||(o[l]={idx:l,item:a,matches:[]},i.push(o[l])),c.forEach(({matches:d})=>{o[l].matches.push(...d)}))}}),i}_searchObjectList(t){const n=fl(t,this.options),{keys:r,records:s}=this._myIndex,o=[];return s.forEach(({$:i,i:a})=>{if(!dt(i))return;let l=[];r.forEach((c,d)=>{l.push(...this._findMatches({key:c,value:i[d],searcher:n}))}),l.length&&o.push({idx:a,item:i,matches:l})}),o}_findMatches({key:t,value:n,searcher:r}){if(!dt(n))return[];let s=[];if(sn(n))n.forEach(({v:o,i,n:a})=>{if(!dt(o))return;const{isMatch:l,score:c,indices:d}=r.searchIn(o);l&&s.push({score:c,key:t,value:o,idx:i,norm:a,indices:d})});else{const{v:o,n:i}=n,{isMatch:a,score:l,indices:c}=r.searchIn(o);a&&s.push({score:l,key:t,value:o,norm:i,indices:c})}return s}}Dr.version="6.6.2";Dr.createIndex=Xm;Dr.parseIndex=nP;Dr.config=ye;Dr.parseQuery=Zm;vP(gP);const TP={"h-full":"",flex:"~ col"},$P={border:"b base","flex-none":""},kP={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},SP=["id","onClick","onMouseover"],AP={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},RP={"ws-nowrap":""},PP={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},NP={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},OP=oe("span",{op50:""},"No results for",-1),LP={"text-primary":""},CP={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},IP={"text-xs":"",flex:"~ items-center gap2"},jP=oe("span",{op75:""},"to navigate",-1),MP={"text-xs":"",flex:"~ items-center gap2"},DP={op75:""},FP={"text-xs":"",flex:"~ items-center gap2"},BP=oe("span",{op75:""},"to select",-1),HP=Oe({__name:"CommandPalette",setup(e){const t=ee(!1),n=ee(""),r=IR(),s=ee(),o=pe(()=>s.value||r.value),i=pe(()=>new Dr(o.value,{keys:["id","title"],distance:50})),a=pe(()=>n.value?i.value.search(n.value).map(h=>h.item):o.value||[]),l=ee(0);Be(n,()=>{l.value=0,d()});function c(h){l.value=(l.value+h+a.value.length)%a.value.length,d()}function d(){document.getElementById(a.value[l.value]?.id)?.scrollIntoView({block:"center"})}async function u(h){const p=await h.action();p?(s.value=p,n.value=""):(s.value=void 0,n.value="",t.value=!1)}Rt("keydown",h=>{if((h.ctrlKey||h.metaKey)&&h.key==="k"){h.preventDefault(),s.value=void 0,n.value="",t.value=!t.value;return}if(t.value)switch(h.key){case"ArrowDown":case"ArrowUp":h.preventDefault(),c(h.key==="ArrowDown"?1:-1);break;case"Enter":{const p=a.value[l.value];p&&(h.preventDefault(),u(p));break}case"Escape":{h.preventDefault(),s.value?(s.value=void 0,n.value=""):t.value=!1;break}}});function f(h){h.key==="Backspace"&&!n.value&&s.value&&(h.preventDefault(),s.value=void 0,n.value="")}return(h,p)=>{const v=CR,w=vc,_=Hi,g=no,b=Ui;return ue(),Ne(b,{modelValue:se(t),"onUpdate:modelValue":p[1]||(p[1]=y=>De(t)?t.value=y:null),relative:"","h-md":"","w-xl":"","of-hidden":""},{default:we(()=>[oe("div",TP,[oe("header",$P,[ce(v,{modelValue:se(n),"onUpdate:modelValue":p[0]||(p[0]=y=>De(n)?n.value=y:null),placeholder:"Type to search...",class:"rounded-none py3 px2! ring-0!",n:"green borderless",onKeydown:f},null,8,["modelValue"])]),oe("div",kP,[(ue(!0),Te(Ie,null,gs(se(a),(y,T)=>(ue(),Te("button",{id:y.id,key:y.id,onClick:m=>u(y),onMouseover:m=>l.value=T},[oe("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:Xe(se(l)===T?"op100 bg-primary/10 text-primary saturate-100 bg-active":"op80")},[ce(w,{icon:y.icon,title:y.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),oe("span",AP,[oe("span",RP,St(y.title),1),oe("span",PP,St(y.description),1)]),se(l)===T?(ue(),Ne(_,{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):Ke("",!0)],2)],40,SP))),128)),se(a).length?Ke("",!0):(ue(),Te("div",NP,[ce(_,{op50:"",icon:"carbon-search"}),oe("div",null,[OP,oe("strong",LP,' "'+St(se(n))+'" ',1)])]))]),oe("footer",CP,[oe("div",IP,[ce(g,{n:"xs",px1:""},{default:we(()=>[ce(_,{icon:"carbon-arrow-down"})]),_:1}),ce(g,{n:"xs",px1:""},{default:we(()=>[ce(_,{icon:"carbon-arrow-up"})]),_:1}),jP]),oe("div",MP,[ce(g,{n:"xs",px1:""},{default:we(()=>[Me(" Esc ")]),_:1}),oe("span",DP,"to "+St(se(s)?"go back":"close"),1)]),oe("div",FP,[ce(g,{n:"xs",px1:""},{default:we(()=>[ce(_,{icon:"i-carbon-text-new-line scale-x--100"})]),_:1}),BP])])])]),_:1},8,["modelValue"])}}}),UP={p4:"",flex:"~ col gap-2"},VP=oe("h3",{class:"mb2 text-lg font-medium leading-6",flex:"~ items-center gap-1","text-orange":""},[oe("span",{class:"i-carbon-information-square"}),Me(" Permissions required ")],-1),WP=oe("p",null," This operation requires permissions for running command and access files from the browser. ",-1),GP=oe("p",null,[Me(" A request is sent to the server."),oe("br"),Me(" Please check your terminal for the instructions and then come back. ")],-1),zP={flex:"~ gap-3",mt2:"","justify-end":""},qP=Oe({__name:"AuthConfirmDialog",setup(e){return(t,n)=>{const r=no,s=Ui;return ue(),Ne(se(Fp),null,{default:we(({resolve:o})=>[ce(s,{"model-value":!0,onClose:i=>o(!1)},{default:we(()=>[oe("div",UP,[VP,WP,GP,oe("div",zP,[ce(r,{onClick:i=>o(!1)},{default:we(()=>[Me(" Cancel ")]),_:2},1032,["onClick"]),ce(r,{disabled:"",icon:"i-carbon-time"},{default:we(()=>[Me(" Waiting for authorization... ")]),_:1})])])]),_:2},1032,["onClose"])]),_:1})}}}),KP={},XP={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},YP=oe("path",{d:"M74.2283 119.873H123.414C124.977 119.874 126.511 119.475 127.864 118.717C129.217 117.959 130.341 116.869 131.121 115.557C131.902 114.244 132.313 112.755 132.312 111.24C132.312 109.725 131.899 108.236 131.118 106.924L98.0856 51.4278C97.3048 50.1156 96.1817 49.0259 94.829 48.2683C93.4764 47.5107 91.942 47.1118 90.38 47.1118C88.8181 47.1118 87.2836 47.5107 85.931 48.2683C84.5784 49.0259 83.4552 50.1156 82.6745 51.4278L74.2283 65.6274L57.7148 37.8605C56.9334 36.5484 55.8097 35.4589 54.4567 34.7014C53.1037 33.9439 51.569 33.5451 50.0068 33.5451C48.4446 33.5451 46.9099 33.9439 45.5569 34.7014C44.2039 35.4589 43.0803 36.5484 42.2989 37.8605L1.1947 106.924C0.41273 108.236 0.000680577 109.725 8.42355e-07 111.24C-0.000678893 112.755 0.410035 114.244 1.19083 115.557C1.97163 116.869 3.09498 117.959 4.44789 118.717C5.80081 119.475 7.33558 119.874 8.89785 119.873H39.7727C52.0057 119.873 61.0271 114.661 67.2346 104.493L82.3054 79.1761L90.3776 65.6274L114.604 106.325H82.3054L74.2283 119.873ZM39.2694 106.311L17.7227 106.306L50.0212 52.0462L66.1369 79.1761L55.3468 97.3092C51.2244 103.907 46.5411 106.311 39.2694 106.311Z",fill:"#00DC82"},null,-1),JP=oe("path",{d:"M152.571 118V46.1333H176.8C183.576 46.1333 189.77 47.468 195.383 50.1373C200.995 52.8067 205.478 56.8449 208.832 62.252C212.186 67.5907 213.863 74.1956 213.863 82.0667C213.863 89.8693 212.186 96.4742 208.832 101.881C205.478 107.288 200.995 111.327 195.383 113.996C189.77 116.665 183.576 118 176.8 118H152.571ZM175.157 104.653C181.796 104.653 187.306 102.874 191.687 99.3147C196.067 95.6871 198.257 89.9378 198.257 82.0667C198.257 74.1956 196.067 68.4462 191.687 64.8187C187.306 61.1911 181.796 59.3773 175.157 59.3773H167.971V104.653H175.157ZM270.18 100.444C269.153 105.988 266.381 110.437 261.864 113.791C257.347 117.144 251.905 118.821 245.54 118.821C239.928 118.821 235.102 117.555 231.064 115.023C227.094 112.422 224.083 109.068 222.029 104.961C219.976 100.855 218.949 96.5427 218.949 92.0253C218.949 87.4396 219.873 83.1276 221.721 79.0893C223.638 75.0511 226.513 71.7658 230.345 69.2333C234.247 66.7009 238.969 65.4347 244.513 65.4347C250.263 65.4347 255.054 66.6667 258.887 69.1307C262.72 71.5947 265.526 74.7431 267.305 78.576C269.153 82.4089 270.077 86.4471 270.077 90.6907C270.077 92.2649 270.009 93.8049 269.872 95.3107H232.707C233.254 99.0067 234.623 101.916 236.813 104.037C239.072 106.091 241.981 107.117 245.54 107.117C248.415 107.117 250.776 106.57 252.624 105.475C254.472 104.311 255.67 102.634 256.217 100.444H270.18ZM244.513 75.9067C241.228 75.9067 238.627 76.7622 236.711 78.4733C234.794 80.116 233.528 82.7169 232.912 86.276H255.807C255.601 83.2644 254.506 80.8004 252.521 78.884C250.537 76.8991 247.867 75.9067 244.513 75.9067ZM302.77 118H289.629L270.738 66.256H285.317L296.2 99.7253L306.98 66.256H321.661L302.77 118ZM359.731 118H344.331V59.3773H323.079V46.1333H380.983V59.3773H359.731V118ZM402.364 118.821C397.163 118.821 392.474 117.692 388.299 115.433C384.124 113.106 380.873 109.924 378.546 105.885C376.219 101.779 375.055 97.1929 375.055 92.128C375.055 87.0631 376.219 82.5116 378.546 78.4733C380.873 74.3667 384.124 71.184 388.299 68.9253C392.474 66.5982 397.163 65.4347 402.364 65.4347C407.566 65.4347 412.255 66.5982 416.43 68.9253C420.605 71.184 423.856 74.3667 426.183 78.4733C428.51 82.5116 429.674 87.0631 429.674 92.128C429.674 97.1929 428.51 101.779 426.183 105.885C423.856 109.924 420.605 113.106 416.43 115.433C412.255 117.692 407.566 118.821 402.364 118.821ZM402.364 106.501C406.197 106.501 409.311 105.167 411.707 102.497C414.103 99.828 415.3 96.3716 415.3 92.128C415.3 87.816 414.103 84.3253 411.707 81.656C409.311 78.9867 406.197 77.652 402.364 77.652C398.531 77.652 395.417 78.9867 393.022 81.656C390.626 84.3253 389.428 87.816 389.428 92.128C389.428 96.3716 390.626 99.828 393.022 102.497C395.417 105.167 398.531 106.501 402.364 106.501ZM462.12 118.821C456.918 118.821 452.229 117.692 448.054 115.433C443.879 113.106 440.628 109.924 438.301 105.885C435.974 101.779 434.81 97.1929 434.81 92.128C434.81 87.0631 435.974 82.5116 438.301 78.4733C440.628 74.3667 443.879 71.184 448.054 68.9253C452.229 66.5982 456.918 65.4347 462.12 65.4347C467.321 65.4347 472.01 66.5982 476.185 68.9253C480.36 71.184 483.611 74.3667 485.938 78.4733C488.265 82.5116 489.429 87.0631 489.429 92.128C489.429 97.1929 488.265 101.779 485.938 105.885C483.611 109.924 480.36 113.106 476.185 115.433C472.01 117.692 467.321 118.821 462.12 118.821ZM462.12 106.501C465.952 106.501 469.067 105.167 471.462 102.497C473.858 99.828 475.056 96.3716 475.056 92.128C475.056 87.816 473.858 84.3253 471.462 81.656C469.067 78.9867 465.952 77.652 462.12 77.652C458.287 77.652 455.172 78.9867 452.777 81.656C450.381 84.3253 449.184 87.816 449.184 92.128C449.184 96.3716 450.381 99.828 452.777 102.497C455.172 105.167 458.287 106.501 462.12 106.501ZM512.327 118H498.056V43.772H512.327V118ZM542.494 118.821C536.129 118.821 530.961 117.179 526.991 113.893C523.09 110.54 521.002 106.091 520.729 100.547H533.049C533.322 102.874 534.281 104.722 535.923 106.091C537.634 107.391 539.825 108.041 542.494 108.041C544.684 108.041 546.464 107.562 547.833 106.604C549.27 105.646 549.989 104.448 549.989 103.011C549.989 101.094 549.167 99.7596 547.525 99.0067C545.882 98.2538 543.281 97.5693 539.722 96.9533C536.026 96.2689 533.014 95.516 530.687 94.6947C528.36 93.8733 526.341 92.4018 524.63 90.28C522.987 88.0898 522.166 85.0098 522.166 81.04C522.166 78.0284 522.953 75.3591 524.527 73.032C526.17 70.6364 528.394 68.7884 531.201 67.488C534.007 66.1191 537.155 65.4347 540.646 65.4347C546.874 65.4347 551.905 66.9747 555.738 70.0547C559.639 73.1347 561.727 77.2071 562.001 82.272H549.578C549.304 80.1502 548.312 78.5076 546.601 77.344C544.958 76.112 543.11 75.496 541.057 75.496C539.003 75.496 537.361 75.9409 536.129 76.8307C534.897 77.7204 534.281 78.9524 534.281 80.5267C534.281 82.4431 535.068 83.7436 536.642 84.428C538.285 85.044 540.851 85.5916 544.342 86.0707C548.106 86.6182 551.186 87.3027 553.582 88.124C556.046 88.8769 558.168 90.3827 559.947 92.6413C561.727 94.9 562.617 98.1853 562.617 102.497C562.617 107.425 560.769 111.395 557.073 114.407C553.445 117.35 548.585 118.821 542.494 118.821Z",fill:"currentColor"},null,-1),QP=[YP,JP];function ZP(e,t){return ue(),Te("svg",XP,QP)}const e2=to(KP,[["render",ZP]]),t2={},n2={key:0,flex:"~ col justify-center items-center gap-2",fixed:"","bottom-0":"","left-0":"","right-0":"","top-0":"","z-2147483646":"",p5:"","text-lg":"","backdrop-blur-5":"","glass-effect":""},r2={flex:"~","mt--10":"","items-center":"","justify-center":""},s2={key:0,flex:"~ gap-2","items-center":"","text-rose":""},o2={key:1,flex:"~ gap-2","animate-pulse":"","items-center":"","text-yellow":""};function i2(e,t){const n=e2,r=Hi;return ue(),Ne(bh,{to:"body"},[("wsConnectingDebounced"in e?e.wsConnectingDebounced:se(xE))?(ue(),Te("div",n2,[oe("div",r2,[ce(n,{"h-14":""})]),("wsError"in e?e.wsError:se(EE))?(ue(),Te("div",s2,[ce(r,{icon:"i-carbon-wifi-off"}),Me(" WebSocket disconnected ")])):(ue(),Te("div",o2,[ce(r,{icon:"i-carbon-circle-dash","animate-spin":""}),Me(" Connecting to the server... ")]))])):Ke("",!0)])}const a2=to(t2,[["render",i2]]),l2={p4:"",flex:"~ col gap-1"},c2=oe("h3",{class:"text-lg font-medium leading-6"}," Restart ",-1),u2={op50:""},f2={flex:"~ gap-3",mt2:"","justify-end":""},d2=Oe({__name:"RestartDialogs",setup(e){const t=Pe(),n=kE(),r=tt(),s=nc();return t.hook("devtools:terminal:exit",({id:o,code:i})=>{if(i===0){const a=n.value.find(l=>l.id===o);a&&(n.value=n.value.filter(l=>l.id!==o),s.start(a.message).then(l=>{l&&(Fe.restartNuxt(),setTimeout(()=>{r.value?.reloadPage()},500))}))}}),(o,i)=>{const a=no,l=Ui;return ue(),Ne(se(s),null,{default:we(({resolve:c,args:d})=>[ce(l,{"model-value":!0,onClose:u=>c(!1)},{default:we(()=>[oe("div",l2,[c2,oe("p",u2,St(d[0]),1),oe("div",f2,[ce(a,{onClick:u=>c(!1)},{default:we(()=>[Me(" Cancel ")]),_:2},1032,["onClick"]),ce(a,{n:"solid primary",onClick:u=>c(!0)},{default:we(()=>[Me(" Update ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1})}}});const bd=ee([]),wd=ee();function h2(){const e=Pe(),t=tt(),n=st();Object.assign(Mp,{async refresh(r){e.hooks.callHookParallel("app:data:refresh",[r])},async callHook(r,...s){e.hooks.callHookParallel(r,...s)},async onTerminalData(r){e.hooks.callHookParallel("devtools:terminal:data",r)},async onTerminalExit(r){e.hooks.callHookParallel("devtools:terminal:exit",r);const s=bd.value.findIndex(o=>o.processId===r.id);s!==-1&&bd.value.splice(s,1),wd.value?.processId===r.id&&(wd.value=void 0)},async navigateTo(r){t.value.open(),n.currentRoute.value.path!==r&&n.push(r)}}),Fe.getModuleOptions().then(r=>{r.disableAuthorization&&(pr.value=!0,Bt.value||="disabled")})}const p2={fixed:"","inset-0":"","h-screen":"","w-screen":""},m2=["grid"],g2=Oe({__name:"app",setup(e){Re(()=>import("./unocss-runtime.0f8c7b1b.js"),[],import.meta.url),H0({title:"Nuxt DevTools",meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",type:"image/svg+xml",href:"/nuxt.svg"}]}),h2();const t=tt(),n=Ti(),r=Li(),s=pe(()=>n.path.startsWith("/__")),o=pe(()=>!t.value&&!gk.value);Be(()=>t.value?.colorMode.value,a=>{a&&(r.value=a)},{immediate:!0}),addEventListener("keydown",a=>{a.code==="KeyD"&&a.altKey&&(t.value?.close(),a.preventDefault())});const{scale:i}=hc();return An(()=>{const a=vk();vr(()=>{window.__NUXT_DEVTOOLS__=a.value}),vr(()=>{document.body.style.fontSize=`${i.value*15}px`})}),(a,l)=>{const c=zS,d=KS,u=eA,f=xR,h=RR,p=SR,v=HP,w=qP,_=a2,g=d2;return ue(),Te("div",p2,[ce(c),ce(d),se(o)?(ue(),Ne(u,{key:0},{default:we(()=>[Me(" Connecting.... ")]),_:1})):(ue(),Te("div",{key:1,grid:se(s)?"flex":"~ cols-[50px_1fr]","h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[jl(ce(f,{"of-x-hidden":"","of-y-auto":""},null,512),[[jh,!se(s)]]),ce(p,null,{default:we(()=>[ce(h)]),_:1}),ce(v),ce(w)],8,m2)),ce(_),ce(g)])}}}),v2={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;(n.stack||"").split(`
|
|
20
|
-
`).splice(1).map(u=>({text:u.replace("webpack:/","").replace(".vue",".js").trim(),internal:u.includes("node_modules")&&!u.includes(".cache")||u.includes("internal")||u.includes("new Promise")})).map(u=>`<span class="stack${u.internal?" internal":""}">${u.text}</span>`).join(`
|
|
21
|
-
`);const r=Number(n.statusCode||500),s=r===404,o=n.statusMessage??(s?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,d=s?ys(()=>Re(()=>import("./error-404.c083e948.js"),["./error-404.c083e948.js","./error-404.91003ceb.css"],import.meta.url).then(u=>u.default||u)):ys(()=>Re(()=>import("./error-500.87865939.js"),["./error-500.87865939.js","./error-500.7e02f53c.css"],import.meta.url).then(u=>u.default||u));return(u,f)=>(ue(),Ne(se(d),yl(wi({statusCode:se(r),statusMessage:se(o),description:se(i),stack:se(a)})),null,16))}},Ed={__name:"nuxt-root",setup(e){const t=()=>null,n=Pe(),r=n.deferHydration(),s=!1;Vn("_route",Ti()),n.hooks.callHookWith(a=>a.map(l=>l()),"vue:setup");const o=$i();lh((a,l,c)=>{if(n.hooks.callHook("vue:error",a,l,c).catch(d=>console.error("[nuxt] Error in `vue:error` hook",d)),sb(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>ir(a)),!1});const{islandContext:i}=!1;return(a,l)=>(ue(),Ne(Ll,{onResolve:se(r)},{default:we(()=>[se(o)?(ue(),Ne(se(v2),{key:0,error:se(o)},null,8,["error"])):se(i)?(ue(),Ne(se(t),{key:1,context:se(i)},null,8,["context"])):se(s)?(ue(),Ne(Bl(se(s)),{key:2})):(ue(),Ne(se(g2),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=ky.create({baseURL:Ay()}));let xd;{let e;xd=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered||document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?H_(Ed):Dh(Ed),s=Hy({vueApp:r});try{await Vy(s,GS)}catch(o){await s.callHook("app:error",o),s.payload.error=s.payload.error||o}try{await s.hooks.callHook("app:created",r),await s.hooks.callHook("app:beforeMount",r),r.mount("#"+G0),await s.hooks.callHook("app:mounted",r),await wt()}catch(o){await s.callHook("app:error",o),s.payload.error=s.payload.error||o}return r},e=xd().catch(t=>{console.error("Error while mounting app:",t)})}export{ky as $,NE as A,nc as B,K2 as C,st as D,Ti as E,Ie as F,Z2 as G,wd as H,De as I,CR as J,Ui as K,Rt as L,Ya as M,wE as N,EE as O,Hi as P,$1 as Q,I2 as R,gn as S,J2 as T,N2 as U,wk as V,VA as W,j2 as X,z2 as Y,Dr as Z,to as _,oe as a,Qn as a$,O2 as a0,bt as a1,Li as a2,lm as a3,W2 as a4,An as a5,Be as a6,hc as a7,cA as a8,xn as a9,_2 as aA,b2 as aB,ht as aC,yl as aD,wi as aE,Q0 as aF,R2 as aG,E2 as aH,U2 as aI,om as aJ,H2 as aK,X2 as aL,nw as aM,D_ as aN,Q2 as aO,S2 as aP,P2 as aQ,gk as aR,pt as aS,B2 as aT,kE as aU,Ir as aV,k2 as aW,x2 as aX,q2 as aY,vc as aZ,mw as a_,T2 as aa,D1 as ab,tt as ac,Bl as ad,C2 as ae,_w as af,xi as ag,Tn as ah,ut as ai,L2 as aj,wt as ak,vr as al,Hs as am,vk as an,iR as ao,pr as ap,V2 as aq,G2 as ar,$2 as as,Pp as at,y2 as au,M2 as av,bd as aw,ov as ax,Hd as ay,kl as az,ce as b,A2 as b0,eA as b1,bk as b2,bv as b3,zn as b4,w2 as b5,su as b6,Pe as b7,bp as b8,Ot as b9,Ye as ba,Ff as bb,Bt as bc,F2 as bd,xk as be,Vd as bf,Y2 as bg,pd as bh,oA as bi,P_ as bj,O_ as bk,D2 as bl,RE as bm,Te as c,Me as d,Zl as e,sv as f,Oe as g,Ne as h,Ak as i,no as j,e2 as k,pe as l,gs as m,Xe as n,ue as o,rv as p,se as q,ee as r,Ke as s,St as t,H0 as u,rE as v,we as w,jl as x,jh as y,Fe as z};
|