@nuxt/devtools 0.6.7 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/module-main.mjs +126 -75
- package/dist/chunks/plugin-metrics.mjs +15 -12
- package/dist/chunks/timeline.mjs +69 -0
- package/dist/chunks/vscode.mjs +5 -5
- package/dist/client/200.html +2 -2
- package/dist/client/404.html +2 -2
- package/dist/client/_nuxt/AuthRequiredPanel.vue.d0cfb6b2.js +1 -0
- package/dist/client/_nuxt/Badge.51add8bd.js +1 -0
- package/dist/client/_nuxt/CodeDiff.vue.ef3840bb.js +3 -0
- package/dist/client/_nuxt/CodeSnippets.vue.ac1ba0c8.js +1 -0
- package/dist/client/_nuxt/ComposableItem.vue.a20c44a4.js +1 -0
- package/dist/client/_nuxt/DrawerRight.vue.53f21930.js +1 -0
- package/dist/client/_nuxt/DurationDisplay.vue.8283fdb3.js +1 -0
- package/dist/client/_nuxt/FilepathItem.vue.6f4d3680.js +1 -0
- package/dist/client/_nuxt/HelpFab.vue.58531843.js +1 -0
- package/dist/client/_nuxt/LaunchPage.vue.36ead88c.js +1 -0
- package/dist/client/_nuxt/NCheckbox.vue.a57ff0bb.js +1 -0
- package/dist/client/_nuxt/NCodeBlock.vue.2012eb81.js +2 -0
- package/dist/client/_nuxt/NIconTitle.vue.c1ac3b5f.js +1 -0
- package/dist/client/_nuxt/NLink.vue.c45070c9.js +1 -0
- package/dist/client/_nuxt/{NMarkdown.vue.31d61f61.js → NMarkdown.vue.6bccbb92.js} +1 -1
- package/dist/client/_nuxt/NSectionBlock.7613319f.js +1 -0
- package/dist/client/_nuxt/NSelect.vue.b9c29645.js +1 -0
- package/dist/client/_nuxt/NSwitch.vue.fa9b060a.js +1 -0
- package/dist/client/_nuxt/NTip.vue.95e4ec9e.js +1 -0
- package/dist/client/_nuxt/Navbar.vue.6c01dcab.js +1 -0
- package/dist/client/_nuxt/StateEditor.vue.c5cc22ae.js +1 -0
- package/dist/client/_nuxt/__blank.87af3281.js +1 -0
- package/dist/client/_nuxt/analyze-build.cf3dea6a.js +1 -0
- package/dist/client/_nuxt/assets.4f097b22.js +16 -0
- package/dist/client/_nuxt/client.247a64bd.js +1 -0
- package/dist/client/_nuxt/{components.3a437d73.js → components.07744e27.js} +6 -6
- package/dist/client/_nuxt/{constants.d7bcda3c.js → constants.2fec5dff.js} +1 -1
- package/dist/client/_nuxt/custom-_name_.6e463663.js +1 -0
- package/dist/client/_nuxt/default.3a13b5c9.js +1 -0
- package/dist/client/_nuxt/entry.185d6835.css +1 -0
- package/dist/client/_nuxt/entry.33b5be03.js +21 -0
- package/dist/client/_nuxt/{error-404.eb07c617.js → error-404.b216bd73.js} +1 -1
- package/dist/client/_nuxt/{error-500.8214e786.js → error-500.1bc58b0e.js} +1 -1
- package/dist/client/_nuxt/full.92d6a5f8.js +1 -0
- package/dist/client/_nuxt/hooks.259d0a69.js +1 -0
- package/dist/client/_nuxt/imports.cc27dbf7.js +1 -0
- package/dist/client/_nuxt/{index.98d48447.js → index.064a7a87.js} +1 -1
- package/dist/client/_nuxt/{index.6a0822c9.js → index.8f3e434d.js} +1 -1
- package/dist/client/_nuxt/{json-editor-vue.9acffc14.js → json-editor-vue.af845b1c.js} +1 -1
- package/dist/client/_nuxt/{middleware.c2f916df.js → middleware.fcdb1770.js} +1 -1
- package/dist/client/_nuxt/modules.5891e891.js +2 -0
- package/dist/client/_nuxt/none.e5b666cf.js +1 -0
- package/dist/client/_nuxt/open-graph.1141dd15.js +3 -0
- package/dist/client/_nuxt/overview.2af20256.js +1 -0
- package/dist/client/_nuxt/pages.b3fe162f.js +1 -0
- package/dist/client/_nuxt/payload.2d5cef36.js +1 -0
- package/dist/client/_nuxt/plugins.f25d8e7c.js +1 -0
- package/dist/client/_nuxt/runtime-configs.68765f10.js +1 -0
- package/dist/client/_nuxt/server-routes.ab41fbf6.js +9 -0
- package/dist/client/_nuxt/settings.cb26edfb.js +1 -0
- package/dist/client/_nuxt/{state-components.493c1b8d.js → state-components.3bf21c12.js} +1 -1
- package/dist/client/_nuxt/state-modules.dfd5fe81.js +1 -0
- package/dist/client/_nuxt/storage.921a198c.js +1 -0
- package/dist/client/_nuxt/{terminals.714ad795.js → terminals.67898f73.js} +7 -7
- package/dist/client/_nuxt/timeline.289e5c9e.css +1 -0
- package/dist/client/_nuxt/timeline.6b8e8f78.js +57 -0
- package/dist/client/_nuxt/{unocss-runtime.552cd61f.js → unocss-runtime.5034abfc.js} +2 -2
- package/dist/client/_nuxt/virtual-files.e3271a06.js +1 -0
- package/dist/client/index.html +2 -2
- package/dist/{global-20ccb74c.d.ts → global-ea55645c.d.ts} +7 -1
- package/dist/module.d.ts +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/function-metrics-helpers.d.ts +3 -0
- package/dist/runtime/function-metrics-helpers.mjs +63 -0
- package/dist/runtime/plugins/devtools.client.mjs +2 -1
- package/dist/runtime/plugins/view/client.d.ts +3 -1
- package/dist/runtime/plugins/view/client.mjs +60 -23
- package/dist/runtime/plugins/view/state.mjs +1 -1
- package/dist/runtime/plugins/view/utils.d.ts +1 -1
- package/dist/runtime/plugins/view/utils.mjs +15 -15
- package/dist/shared/{devtools.ce3f2385.mjs → devtools.d198e7a9.mjs} +7 -1
- package/dist/types.d.ts +1 -1
- package/package.json +20 -19
- package/dist/client/__blank/index.html +0 -7
- package/dist/client/_nuxt/AuthRequiredPanel.vue.fc7f2968.js +0 -1
- package/dist/client/_nuxt/Badge.e05fc69f.js +0 -1
- package/dist/client/_nuxt/CodeSnippets.vue.a1fe908d.js +0 -1
- package/dist/client/_nuxt/DrawerRight.vue.3adebf89.js +0 -1
- package/dist/client/_nuxt/DurationDisplay.vue.c6aa67b3.js +0 -1
- package/dist/client/_nuxt/FilepathItem.vue.7520a5eb.js +0 -1
- package/dist/client/_nuxt/HelpFab.vue.6c2e0089.js +0 -1
- package/dist/client/_nuxt/LaunchPage.vue.ace7e996.js +0 -1
- package/dist/client/_nuxt/NCheckbox.vue.660c8c34.js +0 -1
- package/dist/client/_nuxt/NCodeBlock.vue.12f6d4d2.js +0 -2
- package/dist/client/_nuxt/NIconButton.vue.9dc5b644.js +0 -1
- package/dist/client/_nuxt/NIconTitle.vue.0db956c8.js +0 -1
- package/dist/client/_nuxt/NLink.vue.f3f95732.js +0 -1
- package/dist/client/_nuxt/NPanelGrids.cfd60e85.js +0 -1
- package/dist/client/_nuxt/NSectionBlock.216523d8.js +0 -1
- package/dist/client/_nuxt/NSelect.vue.38f0d91b.js +0 -1
- package/dist/client/_nuxt/NSwitch.vue.4e114eb7.js +0 -1
- package/dist/client/_nuxt/NTip.vue.d602d31e.js +0 -1
- package/dist/client/_nuxt/Navbar.vue.72301b0e.js +0 -1
- package/dist/client/_nuxt/PanelLeftRight.vue.d1539d19.js +0 -1
- package/dist/client/_nuxt/StateEditor.vue.c8fd02b3.js +0 -1
- package/dist/client/_nuxt/__blank.58b4eaa9.js +0 -1
- package/dist/client/_nuxt/analyze-build.66f9bc20.js +0 -1
- package/dist/client/_nuxt/assets.b60a4d67.js +0 -16
- package/dist/client/_nuxt/client.1e3208e3.js +0 -1
- package/dist/client/_nuxt/custom-_name_.1614dd97.js +0 -1
- package/dist/client/_nuxt/default.a69a326f.js +0 -1
- package/dist/client/_nuxt/entry.559460ac.js +0 -21
- package/dist/client/_nuxt/entry.e49b0ddd.css +0 -1
- package/dist/client/_nuxt/full.1f3e7ba7.js +0 -1
- package/dist/client/_nuxt/hooks.7a294c4b.js +0 -1
- package/dist/client/_nuxt/imports.8b3c700a.js +0 -1
- package/dist/client/_nuxt/modules.a1aceff5.js +0 -4
- package/dist/client/_nuxt/none.bf6672f1.js +0 -1
- package/dist/client/_nuxt/open-graph.f68f3562.js +0 -3
- package/dist/client/_nuxt/overview.9fbd51a4.js +0 -1
- package/dist/client/_nuxt/pages.8b6a187c.js +0 -1
- package/dist/client/_nuxt/payload.5851379a.js +0 -1
- package/dist/client/_nuxt/plugins.20750545.js +0 -1
- package/dist/client/_nuxt/runtime-configs.ce330378.js +0 -1
- package/dist/client/_nuxt/server-routes.08ebdd45.js +0 -9
- package/dist/client/_nuxt/settings.63ba52d8.js +0 -1
- package/dist/client/_nuxt/state-modules.c72270b1.js +0 -1
- package/dist/client/_nuxt/storage.d37c76d1.js +0 -1
- package/dist/client/_nuxt/virtual-files.7bf5357c.js +0 -1
- package/dist/client/modules/analyze-build/index.html +0 -7
- package/dist/client/modules/assets/index.html +0 -7
- package/dist/client/modules/components/index.html +0 -7
- package/dist/client/modules/hooks/index.html +0 -7
- package/dist/client/modules/imports/index.html +0 -7
- package/dist/client/modules/middleware/index.html +0 -7
- package/dist/client/modules/modules/index.html +0 -7
- package/dist/client/modules/open-graph/index.html +0 -7
- package/dist/client/modules/overview/index.html +0 -7
- package/dist/client/modules/pages/index.html +0 -7
- package/dist/client/modules/payload/index.html +0 -7
- package/dist/client/modules/plugins/index.html +0 -7
- package/dist/client/modules/runtime-configs/index.html +0 -7
- package/dist/client/modules/server-routes/index.html +0 -7
- package/dist/client/modules/storage/index.html +0 -7
- package/dist/client/modules/terminals/index.html +0 -7
- package/dist/client/modules/virtual-files/index.html +0 -7
- package/dist/client/settings/index.html +0 -7
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
function kl(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const He={},gs=[],kt=()=>{},Rg=()=>!1,Og=/^on[^a-z]/,io=e=>Og.test(e),Pl=e=>e.startsWith("onUpdate:"),Ue=Object.assign,Al=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Cg=Object.prototype.hasOwnProperty,Pe=(e,t)=>Cg.call(e,t),pe=Array.isArray,vs=e=>Ms(e)==="[object Map]",js=e=>Ms(e)==="[object Set]",Ac=e=>Ms(e)==="[object Date]",Lg=e=>Ms(e)==="[object RegExp]",_e=e=>typeof e=="function",ze=e=>typeof e=="string",Ur=e=>typeof e=="symbol",De=e=>e!==null&&typeof e=="object",Rl=e=>De(e)&&_e(e.then)&&_e(e.catch),Hd=Object.prototype.toString,Ms=e=>Hd.call(e),Ig=e=>Ms(e).slice(8,-1),zd=e=>Ms(e)==="[object Object]",Ol=e=>ze(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Pr=kl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),bi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},jg=/-(\w)/g,Gt=bi(e=>e.replace(jg,(t,n)=>n?n.toUpperCase():"")),Mg=/\B([A-Z])/g,rs=bi(e=>e.replace(Mg,"-$1").toLowerCase()),wi=bi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Bo=bi(e=>e?`on${wi(e)}`:""),Vr=(e,t)=>!Object.is(e,t),ys=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Wo=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Go=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ud=e=>{const t=ze(e)?Number(e):NaN;return isNaN(t)?e:t};let Rc;const La=()=>Rc||(Rc=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function tn(e){if(pe(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ze(s)?Hg(s):tn(s);if(r)for(const o in r)t[o]=r[o]}return t}else{if(ze(e))return e;if(De(e))return e}}const Dg=/;(?![^(]*\))/g,Fg=/:([^]+)/,Bg=/\/\*[^]*?\*\//g;function Hg(e){const t={};return e.replace(Bg,"").split(Dg).forEach(n=>{if(n){const s=n.split(Fg);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Je(e){let t="";if(ze(e))t=e;else if(pe(e))for(let n=0;n<e.length;n++){const s=Je(e[n]);s&&(t+=s+" ")}else if(De(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Cl(e){if(!e)return null;let{class:t,style:n}=e;return t&&!ze(t)&&(e.class=Je(t)),n&&(e.style=tn(n)),e}const zg="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ug=kl(zg);function Vd(e){return!!e||e===""}function Vg(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Jn(e[s],t[s]);return n}function Jn(e,t){if(e===t)return!0;let n=Ac(e),s=Ac(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Ur(e),s=Ur(t),n||s)return e===t;if(n=pe(e),s=pe(t),n||s)return n&&s?Vg(e,t):!1;if(n=De(e),s=De(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),c=t.hasOwnProperty(i);if(a&&!c||!a&&c||!Jn(e[i],t[i]))return!1}}return String(e)===String(t)}function Ll(e,t){return e.findIndex(n=>Jn(n,t))}const ht=e=>ze(e)?e:e==null?"":pe(e)||De(e)&&(e.toString===Hd||!_e(e.toString))?JSON.stringify(e,Wd,2):String(e),Wd=(e,t)=>t&&t.__v_isRef?Wd(e,t.value):vs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:js(t)?{[`Set(${t.size})`]:[...t.values()]}:De(t)&&!pe(t)&&!zd(t)?String(t):t;let dt;class Wg{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=dt,!t&&dt&&(this.index=(dt.scopes||(dt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=dt;try{return dt=this,t()}finally{dt=n}}}on(){dt=this}off(){dt=this.parent}stop(t){if(this._active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this._active=!1}}}function Gg(e,t=dt){t&&t.active&&t.effects.push(e)}function Gd(){return dt}function qg(e){dt&&dt.cleanups.push(e)}const Il=e=>{const t=new Set(e);return t.w=0,t.n=0,t},qd=e=>(e.w&kn)>0,Kd=e=>(e.n&kn)>0,Kg=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=kn},Xg=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];qd(r)&&!Kd(r)?r.delete(e):t[n++]=r,r.w&=~kn,r.n&=~kn}t.length=n}},qo=new WeakMap;let Nr=0,kn=1;const Ia=30;let St;const qn=Symbol(""),ja=Symbol("");class jl{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Gg(this,s)}run(){if(!this.active)return this.fn();let t=St,n=En;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=St,St=this,En=!0,kn=1<<++Nr,Nr<=Ia?Kg(this):Oc(this),this.fn()}finally{Nr<=Ia&&Xg(this),kn=1<<--Nr,St=this.parent,En=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){St===this?this.deferStop=!0:this.active&&(Oc(this),this.onStop&&this.onStop(),this.active=!1)}}function Oc(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let En=!0;const Xd=[];function Ds(){Xd.push(En),En=!1}function Fs(){const e=Xd.pop();En=e===void 0?!0:e}function ut(e,t,n){if(En&&St){let s=qo.get(e);s||qo.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Il()),Jd(r)}}function Jd(e,t){let n=!1;Nr<=Ia?Kd(e)||(e.n|=kn,n=!qd(e)):n=!e.has(St),n&&(e.add(St),St.deps.push(e))}function sn(e,t,n,s,r,o){const i=qo.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&pe(e)){const c=Number(s);i.forEach((l,d)=>{(d==="length"||d>=c)&&a.push(l)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":pe(e)?Ol(n)&&a.push(i.get("length")):(a.push(i.get(qn)),vs(e)&&a.push(i.get(ja)));break;case"delete":pe(e)||(a.push(i.get(qn)),vs(e)&&a.push(i.get(ja)));break;case"set":vs(e)&&a.push(i.get(qn));break}if(a.length===1)a[0]&&Ma(a[0]);else{const c=[];for(const l of a)l&&c.push(...l);Ma(Il(c))}}function Ma(e,t){const n=pe(e)?e:[...e];for(const s of n)s.computed&&Cc(s);for(const s of n)s.computed||Cc(s)}function Cc(e,t){(e!==St||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Jg(e,t){var n;return(n=qo.get(e))==null?void 0:n.get(t)}const Yg=kl("__proto__,__v_isRef,__isVue"),Yd=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ur)),Qg=Ml(),Zg=Ml(!1,!0),ev=Ml(!0),Lc=tv();function tv(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=ke(this);for(let o=0,i=this.length;o<i;o++)ut(s,"get",o+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(ke)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Ds();const s=ke(this)[t].apply(this,n);return Fs(),s}}),e}function nv(e){const t=ke(this);return ut(t,"has",e),t.hasOwnProperty(e)}function Ml(e=!1,t=!1){return function(s,r,o){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&o===(e?t?yv:np:t?tp:ep).get(s))return s;const i=pe(s);if(!e){if(i&&Pe(Lc,r))return Reflect.get(Lc,r,o);if(r==="hasOwnProperty")return nv}const a=Reflect.get(s,r,o);return(Ur(r)?Yd.has(r):Yg(r))||(e||ut(s,"get",r),t)?a:Fe(a)?i&&Ol(r)?a:a.value:De(a)?e?os(a):At(a):a}}const sv=Qd(),rv=Qd(!0);function Qd(e=!1){return function(n,s,r,o){let i=n[s];if(Yn(i)&&Fe(i)&&!Fe(r))return!1;if(!e&&(!Ko(r)&&!Yn(r)&&(i=ke(i),r=ke(r)),!pe(n)&&Fe(i)&&!Fe(r)))return i.value=r,!0;const a=pe(n)&&Ol(s)?Number(s)<n.length:Pe(n,s),c=Reflect.set(n,s,r,o);return n===ke(o)&&(a?Vr(r,i)&&sn(n,"set",s,r):sn(n,"add",s,r)),c}}function ov(e,t){const n=Pe(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&sn(e,"delete",t,void 0),s}function iv(e,t){const n=Reflect.has(e,t);return(!Ur(t)||!Yd.has(t))&&ut(e,"has",t),n}function av(e){return ut(e,"iterate",pe(e)?"length":qn),Reflect.ownKeys(e)}const Zd={get:Qg,set:sv,deleteProperty:ov,has:iv,ownKeys:av},lv={get:ev,set(e,t){return!0},deleteProperty(e,t){return!0}},cv=Ue({},Zd,{get:Zg,set:rv}),Dl=e=>e,xi=e=>Reflect.getPrototypeOf(e);function go(e,t,n=!1,s=!1){e=e.__v_raw;const r=ke(e),o=ke(t);n||(t!==o&&ut(r,"get",t),ut(r,"get",o));const{has:i}=xi(r),a=s?Dl:n?Hl:Wr;if(i.call(r,t))return a(e.get(t));if(i.call(r,o))return a(e.get(o));e!==r&&e.get(t)}function vo(e,t=!1){const n=this.__v_raw,s=ke(n),r=ke(e);return t||(e!==r&&ut(s,"has",e),ut(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function yo(e,t=!1){return e=e.__v_raw,!t&&ut(ke(e),"iterate",qn),Reflect.get(e,"size",e)}function Ic(e){e=ke(e);const t=ke(this);return xi(t).has.call(t,e)||(t.add(e),sn(t,"add",e,e)),this}function jc(e,t){t=ke(t);const n=ke(this),{has:s,get:r}=xi(n);let o=s.call(n,e);o||(e=ke(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?Vr(t,i)&&sn(n,"set",e,t):sn(n,"add",e,t),this}function Mc(e){const t=ke(this),{has:n,get:s}=xi(t);let r=n.call(t,e);r||(e=ke(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&sn(t,"delete",e,void 0),o}function Dc(){const e=ke(this),t=e.size!==0,n=e.clear();return t&&sn(e,"clear",void 0,void 0),n}function _o(e,t){return function(s,r){const o=this,i=o.__v_raw,a=ke(i),c=t?Dl:e?Hl:Wr;return!e&&ut(a,"iterate",qn),i.forEach((l,d)=>s.call(r,c(l),c(d),o))}}function bo(e,t,n){return function(...s){const r=this.__v_raw,o=ke(r),i=vs(o),a=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,l=r[e](...s),d=n?Dl:t?Hl:Wr;return!t&&ut(o,"iterate",c?ja:qn),{next(){const{value:u,done:f}=l.next();return f?{value:u,done:f}:{value:a?[d(u[0]),d(u[1])]:d(u),done:f}},[Symbol.iterator](){return this}}}}function dn(e){return function(...t){return e==="delete"?!1:this}}function uv(){const e={get(o){return go(this,o)},get size(){return yo(this)},has:vo,add:Ic,set:jc,delete:Mc,clear:Dc,forEach:_o(!1,!1)},t={get(o){return go(this,o,!1,!0)},get size(){return yo(this)},has:vo,add:Ic,set:jc,delete:Mc,clear:Dc,forEach:_o(!1,!0)},n={get(o){return go(this,o,!0)},get size(){return yo(this,!0)},has(o){return vo.call(this,o,!0)},add:dn("add"),set:dn("set"),delete:dn("delete"),clear:dn("clear"),forEach:_o(!0,!1)},s={get(o){return go(this,o,!0,!0)},get size(){return yo(this,!0)},has(o){return vo.call(this,o,!0)},add:dn("add"),set:dn("set"),delete:dn("delete"),clear:dn("clear"),forEach:_o(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=bo(o,!1,!1),n[o]=bo(o,!0,!1),t[o]=bo(o,!1,!0),s[o]=bo(o,!0,!0)}),[e,n,t,s]}const[fv,dv,pv,hv]=uv();function Fl(e,t){const n=t?e?hv:pv:e?dv:fv;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Pe(n,r)&&r in s?n:s,r,o)}const mv={get:Fl(!1,!1)},gv={get:Fl(!1,!0)},vv={get:Fl(!0,!1)},ep=new WeakMap,tp=new WeakMap,np=new WeakMap,yv=new WeakMap;function _v(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bv(e){return e.__v_skip||!Object.isExtensible(e)?0:_v(Ig(e))}function At(e){return Yn(e)?e:Bl(e,!1,Zd,mv,ep)}function Bs(e){return Bl(e,!1,cv,gv,tp)}function os(e){return Bl(e,!0,lv,vv,np)}function Bl(e,t,n,s,r){if(!De(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=bv(e);if(i===0)return e;const a=new Proxy(e,i===2?s:n);return r.set(e,a),a}function _s(e){return Yn(e)?_s(e.__v_raw):!!(e&&e.__v_isReactive)}function Yn(e){return!!(e&&e.__v_isReadonly)}function Ko(e){return!!(e&&e.__v_isShallow)}function sp(e){return _s(e)||Yn(e)}function ke(e){const t=e&&e.__v_raw;return t?ke(t):e}function rp(e){return Wo(e,"__v_skip",!0),e}const Wr=e=>De(e)?At(e):e,Hl=e=>De(e)?os(e):e;function zl(e){En&&St&&(e=ke(e),Jd(e.dep||(e.dep=Il())))}function Ei(e,t){e=ke(e);const n=e.dep;n&&Ma(n)}function Fe(e){return!!(e&&e.__v_isRef===!0)}function Z(e){return op(e,!1)}function rn(e){return op(e,!0)}function op(e,t){return Fe(e)?e:new wv(e,t)}class wv{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:Wr(t)}get value(){return zl(this),this._value}set value(t){const n=this.__v_isShallow||Ko(t)||Yn(t);t=n?t:ke(t),Vr(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Wr(t),Ei(this))}}function ip(e){Ei(e)}function q(e){return Fe(e)?e.value:e}function Ul(e){return _e(e)?e():q(e)}const xv={get:(e,t,n)=>q(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return Fe(r)&&!Fe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ap(e){return _s(e)?e:new Proxy(e,xv)}class Ev{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:s}=t(()=>zl(this),()=>Ei(this));this._get=n,this._set=s}get value(){return this._get()}set value(t){this._set(t)}}function lp(e){return new Ev(e)}function Sv(e){const t=pe(e)?new Array(e.length):{};for(const n in e)t[n]=cp(e,n);return t}class Tv{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,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 Jg(ke(this._object),this._key)}}class Nv{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Si(e,t,n){return Fe(e)?e:_e(e)?new Nv(e):De(e)&&arguments.length>1?cp(e,t,n):Z(e)}function cp(e,t,n){const s=e[t];return Fe(s)?s:new Tv(e,t,n)}class $v{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new jl(t,()=>{this._dirty||(this._dirty=!0,Ei(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=ke(this);return zl(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function kv(e,t,n=!1){let s,r;const o=_e(e);return o?(s=e,r=kt):(s=e.get,r=e.set),new $v(s,r,o||!r,n)}function Sn(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){Hs(o,t,n)}return r}function bt(e,t,n,s){if(_e(e)){const o=Sn(e,t,n,s);return o&&Rl(o)&&o.catch(i=>{Hs(i,t,n)}),o}const r=[];for(let o=0;o<e.length;o++)r.push(bt(e[o],t,n,s));return r}function Hs(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,a=n;for(;o;){const l=o.ec;if(l){for(let d=0;d<l.length;d++)if(l[d](e,i,a)===!1)return}o=o.parent}const c=t.appContext.config.errorHandler;if(c){Sn(c,null,10,[e,i,a]);return}}Pv(e,n,r,s)}function Pv(e,t,n,s=!0){console.error(e)}let Gr=!1,Da=!1;const Ze=[];let Ht=0;const bs=[];let Jt=null,Fn=0;const up=Promise.resolve();let Vl=null;function xt(e){const t=Vl||up;return e?t.then(this?e.bind(this):e):t}function Av(e){let t=Ht+1,n=Ze.length;for(;t<n;){const s=t+n>>>1;qr(Ze[s])<e?t=s+1:n=s}return t}function Ti(e){(!Ze.length||!Ze.includes(e,Gr&&e.allowRecurse?Ht+1:Ht))&&(e.id==null?Ze.push(e):Ze.splice(Av(e.id),0,e),fp())}function fp(){!Gr&&!Da&&(Da=!0,Vl=up.then(pp))}function Rv(e){const t=Ze.indexOf(e);t>Ht&&Ze.splice(t,1)}function dp(e){pe(e)?bs.push(...e):(!Jt||!Jt.includes(e,e.allowRecurse?Fn+1:Fn))&&bs.push(e),fp()}function Fc(e,t=Gr?Ht+1:0){for(;t<Ze.length;t++){const n=Ze[t];n&&n.pre&&(Ze.splice(t,1),t--,n())}}function Xo(e){if(bs.length){const t=[...new Set(bs)];if(bs.length=0,Jt){Jt.push(...t);return}for(Jt=t,Jt.sort((n,s)=>qr(n)-qr(s)),Fn=0;Fn<Jt.length;Fn++)Jt[Fn]();Jt=null,Fn=0}}const qr=e=>e.id==null?1/0:e.id,Ov=(e,t)=>{const n=qr(e)-qr(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function pp(e){Da=!1,Gr=!0,Ze.sort(Ov);const t=kt;try{for(Ht=0;Ht<Ze.length;Ht++){const n=Ze[Ht];n&&n.active!==!1&&Sn(n,null,14)}}finally{Ht=0,Ze.length=0,Xo(),Gr=!1,Vl=null,(Ze.length||bs.length)&&pp()}}function Cv(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||He;let r=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in s){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:u,trim:f}=s[d]||He;f&&(r=n.map(h=>ze(h)?h.trim():h)),u&&(r=n.map(Go))}let a,c=s[a=Bo(t)]||s[a=Bo(Gt(t))];!c&&o&&(c=s[a=Bo(rs(t))]),c&&bt(c,e,6,r);const l=s[a+"Once"];if(l){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,bt(l,e,6,r)}}function hp(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},a=!1;if(!_e(e)){const c=l=>{const d=hp(l,t,!0);d&&(a=!0,Ue(i,d))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!a?(De(e)&&s.set(e,null),null):(pe(o)?o.forEach(c=>i[c]=null):Ue(i,o),De(e)&&s.set(e,i),i)}function Ni(e,t){return!e||!io(t)?!1:(t=t.slice(2).replace(/Once$/,""),Pe(e,t[0].toLowerCase()+t.slice(1))||Pe(e,rs(t))||Pe(e,t))}let Ke=null,$i=null;function Jo(e){const t=Ke;return Ke=e,$i=e&&e.type.__scopeId||null,t}function Lv(e){$i=e}function Iv(){$i=null}const jv=e=>he;function he(e,t=Ke,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Zc(-1);const o=Jo(t);let i;try{i=e(...r)}finally{Jo(o),s._d&&Zc(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function Zi(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:a,attrs:c,emit:l,render:d,renderCache:u,data:f,setupState:h,ctx:p,inheritAttrs:v}=e;let w,y;const g=Jo(e);try{if(n.shapeFlag&4){const b=r||s;w=vt(d.call(b,b,u,o,h,f,p)),y=c}else{const b=t;w=vt(b.length>1?b(o,{attrs:c,slots:a,emit:l}):b(o,null)),y=t.props?c:Dv(c)}}catch(b){Cr.length=0,Hs(b,e,1),w=oe(it)}let _=w;if(y&&v!==!1){const b=Object.keys(y),{shapeFlag:S}=_;b.length&&S&7&&(i&&b.some(Pl)&&(y=Fv(y,i)),_=an(_,y))}return n.dirs&&(_=an(_),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),w=_,Jo(g),w}function Mv(e){let t;for(let n=0;n<e.length;n++){const s=e[n];if(Ps(s)){if(s.type!==it||s.children==="v-if"){if(t)return;t=s}}else return}return t}const Dv=e=>{let t;for(const n in e)(n==="class"||n==="style"||io(n))&&((t||(t={}))[n]=e[n]);return t},Fv=(e,t)=>{const n={};for(const s in e)(!Pl(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Bv(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:a,patchFlag:c}=t,l=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Bc(s,i,l):!!i;if(c&8){const d=t.dynamicProps;for(let u=0;u<d.length;u++){const f=d[u];if(i[f]!==s[f]&&!Ni(l,f))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:s===i?!1:s?i?Bc(s,i,l):!0:!!i;return!1}function Bc(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(t[o]!==e[o]&&!Ni(n,o))return!0}return!1}function Wl({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const mp=e=>e.__isSuspense,Hv={name:"Suspense",__isSuspense:!0,process(e,t,n,s,r,o,i,a,c,l){e==null?zv(t,n,s,r,o,i,a,c,l):Uv(e,t,n,s,r,i,a,c,l)},hydrate:Vv,create:ql,normalize:Wv},Gl=Hv;function Kr(e,t){const n=e.props&&e.props[t];_e(n)&&n()}function zv(e,t,n,s,r,o,i,a,c){const{p:l,o:{createElement:d}}=c,u=d("div"),f=e.suspense=ql(e,r,s,t,u,n,o,i,a,c);l(null,f.pendingBranch=e.ssContent,u,null,s,f,o,i),f.deps>0?(Kr(e,"onPending"),Kr(e,"onFallback"),l(null,e.ssFallback,t,n,s,null,o,i),ws(f,e.ssFallback)):f.resolve(!1,!0)}function Uv(e,t,n,s,r,o,i,a,{p:c,um:l,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:y}=u;if(v)u.pendingBranch=f,Tt(f,v)?(c(v,f,u.hiddenContainer,null,r,u,o,i,a),u.deps<=0?u.resolve():w&&(c(p,h,n,s,r,null,o,i,a),ws(u,h))):(u.pendingId++,y?(u.isHydrating=!1,u.activeBranch=v):l(v,r,u),u.deps=0,u.effects.length=0,u.hiddenContainer=d("div"),w?(c(null,f,u.hiddenContainer,null,r,u,o,i,a),u.deps<=0?u.resolve():(c(p,h,n,s,r,null,o,i,a),ws(u,h))):p&&Tt(f,p)?(c(p,f,n,s,r,u,o,i,a),u.resolve(!0)):(c(null,f,u.hiddenContainer,null,r,u,o,i,a),u.deps<=0&&u.resolve()));else if(p&&Tt(f,p))c(p,f,n,s,r,u,o,i,a),ws(u,f);else if(Kr(t,"onPending"),u.pendingBranch=f,u.pendingId++,c(null,f,u.hiddenContainer,null,r,u,o,i,a),u.deps<=0)u.resolve();else{const{timeout:g,pendingId:_}=u;g>0?setTimeout(()=>{u.pendingId===_&&u.fallback(h)},g):g===0&&u.fallback(h)}}function ql(e,t,n,s,r,o,i,a,c,l,d=!1){const{p:u,m:f,um:h,n:p,o:{parentNode:v,remove:w}}=l;let y;const g=Gv(e);g&&t?.pendingBranch&&(y=t.pendingId,t.deps++);const _=e.props?Ud(e.props.timeout):void 0,b={vnode:e,parent:t,parentComponent:n,isSVG:i,container:s,hiddenContainer:r,anchor:o,deps:0,pendingId:0,timeout:typeof _=="number"?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(S=!1,m=!1){const{vnode:N,activeBranch:x,pendingBranch:E,pendingId:k,effects:T,parentComponent:$,container:P}=b;if(b.isHydrating)b.isHydrating=!1;else if(!S){const I=x&&E.transition&&E.transition.mode==="out-in";I&&(x.transition.afterLeave=()=>{k===b.pendingId&&f(E,P,D,0)});let{anchor:D}=b;x&&(D=p(x),h(x,$,b,!0)),I||f(E,P,D,0)}ws(b,E),b.pendingBranch=null,b.isInFallback=!1;let A=b.parent,L=!1;for(;A;){if(A.pendingBranch){A.effects.push(...T),L=!0;break}A=A.parent}L||dp(T),b.effects=[],g&&t&&t.pendingBranch&&y===t.pendingId&&(t.deps--,t.deps===0&&!m&&t.resolve()),Kr(N,"onResolve")},fallback(S){if(!b.pendingBranch)return;const{vnode:m,activeBranch:N,parentComponent:x,container:E,isSVG:k}=b;Kr(m,"onFallback");const T=p(N),$=()=>{b.isInFallback&&(u(null,S,E,T,x,null,k,a,c),ws(b,S))},P=S.transition&&S.transition.mode==="out-in";P&&(N.transition.afterLeave=$),b.isInFallback=!0,h(N,x,null,!0),P||$()},move(S,m,N){b.activeBranch&&f(b.activeBranch,S,m,N),b.container=S},next(){return b.activeBranch&&p(b.activeBranch)},registerDep(S,m){const N=!!b.pendingBranch;N&&b.deps++;const x=S.vnode.el;S.asyncDep.catch(E=>{Hs(E,S,0)}).then(E=>{if(S.isUnmounted||b.isUnmounted||b.pendingId!==S.suspenseId)return;S.asyncResolved=!0;const{vnode:k}=S;Va(S,E,!1),x&&(k.el=x);const T=!x&&S.subTree.el;m(S,k,v(x||S.subTree.el),x?null:p(S.subTree),b,i,c),T&&w(T),Wl(S,k.el),N&&--b.deps===0&&b.resolve()})},unmount(S,m){b.isUnmounted=!0,b.activeBranch&&h(b.activeBranch,n,S,m),b.pendingBranch&&h(b.pendingBranch,n,S,m)}};return b}function Vv(e,t,n,s,r,o,i,a,c){const l=t.suspense=ql(t,s,n,e.parentNode,document.createElement("div"),null,r,o,i,a,!0),d=c(e,l.pendingBranch=t.ssContent,n,l,o,i);return l.deps===0&&l.resolve(!1,!0),d}function Wv(e){const{shapeFlag:t,children:n}=e,s=t&32;e.ssContent=Hc(s?n.default:n),e.ssFallback=s?Hc(n.fallback):oe(it)}function Hc(e){let t;if(_e(e)){const n=ks&&e._c;n&&(e._d=!1,ee()),e=e(),n&&(e._d=!0,t=yt,Fp())}return pe(e)&&(e=Mv(e)),e=vt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function gp(e,t){t&&t.pendingBranch?pe(e)?t.effects.push(...e):t.effects.push(e):dp(e)}function ws(e,t){e.activeBranch=t;const{vnode:n,parentComponent:s}=e,r=n.el=t.el;s&&s.subTree===n&&(s.vnode.el=r,Wl(s,r))}function Gv(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function Qn(e,t){return Kl(e,null,t)}const wo={};function Be(e,t,n){return Kl(e,t,n)}function Kl(e,t,{immediate:n,deep:s,flush:r,onTrack:o,onTrigger:i}=He){var a;const c=Gd()===((a=Ve)==null?void 0:a.scope)?Ve:null;let l,d=!1,u=!1;if(Fe(e)?(l=()=>e.value,d=Ko(e)):_s(e)?(l=()=>e,s=!0):pe(e)?(u=!0,d=e.some(b=>_s(b)||Ko(b)),l=()=>e.map(b=>{if(Fe(b))return b.value;if(_s(b))return Vn(b);if(_e(b))return Sn(b,c,2)})):_e(e)?t?l=()=>Sn(e,c,2):l=()=>{if(!(c&&c.isUnmounted))return f&&f(),bt(e,c,3,[h])}:l=kt,t&&s){const b=l;l=()=>Vn(b())}let f,h=b=>{f=g.onStop=()=>{Sn(b,c,4)}},p;if(As)if(h=kt,t?n&&bt(t,c,3,[l(),u?[]:void 0,h]):l(),r==="sync"){const b=Iy();p=b.__watcherHandles||(b.__watcherHandles=[])}else return kt;let v=u?new Array(e.length).fill(wo):wo;const w=()=>{if(g.active)if(t){const b=g.run();(s||d||(u?b.some((S,m)=>Vr(S,v[m])):Vr(b,v)))&&(f&&f(),bt(t,c,3,[b,v===wo?void 0:u&&v[0]===wo?[]:v,h]),v=b)}else g.run()};w.allowRecurse=!!t;let y;r==="sync"?y=w:r==="post"?y=()=>Xe(w,c&&c.suspense):(w.pre=!0,c&&(w.id=c.uid),y=()=>Ti(w));const g=new jl(l,y);t?n?w():v=g.run():r==="post"?Xe(g.run.bind(g),c&&c.suspense):g.run();const _=()=>{g.stop(),c&&c.scope&&Al(c.scope.effects,g)};return p&&p.push(_),_}function qv(e,t,n){const s=this.proxy,r=ze(e)?e.includes(".")?vp(s,e):()=>s[e]:e.bind(s,s);let o;_e(t)?o=t:(o=t.handler,n=t);const i=Ve;Pn(this);const a=Kl(r,o.bind(s),n);return i?Pn(i):Tn(),a}function vp(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}function Vn(e,t){if(!De(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Fe(e))Vn(e.value,t);else if(pe(e))for(let n=0;n<e.length;n++)Vn(e[n],t);else if(js(e)||vs(e))e.forEach(n=>{Vn(n,t)});else if(zd(e))for(const n in e)Vn(e[n],t);return e}function Xl(e,t){const n=Ke;if(n===null)return e;const s=Ri(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,a,c,l=He]=t[o];i&&(_e(i)&&(i={mounted:i,updated:i}),i.deep&&Vn(a),r.push({dir:i,instance:s,value:a,oldValue:void 0,arg:c,modifiers:l}))}return e}function Ft(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const a=r[i];o&&(a.oldValue=o[i].value);let c=a.dir[s];c&&(Ds(),bt(c,n,8,[e.el,a,e,t]),Fs())}}function yp(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return On(()=>{e.isMounted=!0}),zs(()=>{e.isUnmounting=!0}),e}const gt=[Function,Array],_p={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:gt,onEnter:gt,onAfterEnter:gt,onEnterCancelled:gt,onBeforeLeave:gt,onLeave:gt,onAfterLeave:gt,onLeaveCancelled:gt,onBeforeAppear:gt,onAppear:gt,onAfterAppear:gt,onAppearCancelled:gt},Kv={name:"BaseTransition",props:_p,setup(e,{slots:t}){const n=Ot(),s=yp();let r;return()=>{const o=t.default&&Jl(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const v of o)if(v.type!==it){i=v;break}}const a=ke(e),{mode:c}=a;if(s.isLeaving)return ea(i);const l=zc(i);if(!l)return ea(i);const d=Xr(l,a,s,n);Ns(l,d);const u=n.subTree,f=u&&zc(u);let h=!1;const{getTransitionKey:p}=l.type;if(p){const v=p();r===void 0?r=v:v!==r&&(r=v,h=!0)}if(f&&f.type!==it&&(!Tt(l,f)||h)){const v=Xr(f,a,s,n);if(Ns(f,v),c==="out-in")return s.isLeaving=!0,v.afterLeave=()=>{s.isLeaving=!1,n.update.active!==!1&&n.update()},ea(i);c==="in-out"&&l.type!==it&&(v.delayLeave=(w,y,g)=>{const _=bp(s,f);_[String(f.key)]=f,w._leaveCb=()=>{y(),w._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=g})}return i}}},Xv=Kv;function bp(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Xr(e,t,n,s){const{appear:r,mode:o,persisted:i=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:l,onEnterCancelled:d,onBeforeLeave:u,onLeave:f,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:v,onAppear:w,onAfterAppear:y,onAppearCancelled:g}=t,_=String(e.key),b=bp(n,e),S=(x,E)=>{x&&bt(x,s,9,E)},m=(x,E)=>{const k=E[1];S(x,E),pe(x)?x.every(T=>T.length<=1)&&k():x.length<=1&&k()},N={mode:o,persisted:i,beforeEnter(x){let E=a;if(!n.isMounted)if(r)E=v||a;else return;x._leaveCb&&x._leaveCb(!0);const k=b[_];k&&Tt(e,k)&&k.el._leaveCb&&k.el._leaveCb(),S(E,[x])},enter(x){let E=c,k=l,T=d;if(!n.isMounted)if(r)E=w||c,k=y||l,T=g||d;else return;let $=!1;const P=x._enterCb=A=>{$||($=!0,A?S(T,[x]):S(k,[x]),N.delayedLeave&&N.delayedLeave(),x._enterCb=void 0)};E?m(E,[x,P]):P()},leave(x,E){const k=String(e.key);if(x._enterCb&&x._enterCb(!0),n.isUnmounting)return E();S(u,[x]);let T=!1;const $=x._leaveCb=P=>{T||(T=!0,E(),P?S(p,[x]):S(h,[x]),x._leaveCb=void 0,b[k]===e&&delete b[k])};b[k]=e,f?m(f,[x,$]):$()},clone(x){return Xr(x,t,n,s)}};return N}function ea(e){if(ao(e))return e=an(e),e.children=null,e}function zc(e){return ao(e)?e.children?e.children[0]:void 0:e}function Ns(e,t){e.shapeFlag&6&&e.component?Ns(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 Jl(e,t=!1,n){let s=[],r=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===Le?(i.patchFlag&128&&r++,s=s.concat(Jl(i.children,t,a))):(t||i.type!==it)&&s.push(a!=null?an(i,{key:a}):i)}if(r>1)for(let o=0;o<s.length;o++)s[o].patchFlag=-2;return s}function Ne(e,t){return _e(e)?(()=>Ue({name:e.name},t,{setup:e}))():e}const Kn=e=>!!e.type.__asyncLoader;function xs(e){_e(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:s,delay:r=200,timeout:o,suspensible:i=!0,onError:a}=e;let c=null,l,d=0;const u=()=>(d++,c=null,f()),f=()=>{let h;return c||(h=c=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!==c&&c?c:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),l=p,p)))};return Ne({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return l},setup(){const h=Ve;if(l)return()=>ta(l,h);const p=g=>{c=null,Hs(g,h,13,!s)};if(i&&h.suspense||As)return f().then(g=>()=>ta(g,h)).catch(g=>(p(g),()=>s?oe(s,{error:g}):null));const v=Z(!1),w=Z(),y=Z(!!r);return r&&setTimeout(()=>{y.value=!1},r),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&&ao(h.parent.vnode)&&Ti(h.parent.update)}).catch(g=>{p(g),w.value=g}),()=>{if(v.value&&l)return ta(l,h);if(w.value&&s)return oe(s,{error:w.value});if(n&&!y.value)return oe(n)}}})}function ta(e,t){const{ref:n,props:s,children:r,ce:o}=t.vnode,i=oe(e,s,r);return i.ref=n,i.ce=o,delete t.vnode.ce,i}const ao=e=>e.type.__isKeepAlive,Jv={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Ot(),s=n.ctx;if(!s.renderer)return()=>{const g=t.default&&t.default();return g&&g.length===1?g[0]:g};const r=new Map,o=new Set;let i=null;const a=n.suspense,{renderer:{p:c,m:l,um:d,o:{createElement:u}}}=s,f=u("div");s.activate=(g,_,b,S,m)=>{const N=g.component;l(g,_,b,0,a),c(N.vnode,g,_,b,N,a,S,g.slotScopeIds,m),Xe(()=>{N.isDeactivated=!1,N.a&&ys(N.a);const x=g.props&&g.props.onVnodeMounted;x&&ct(x,N.parent,g)},a)},s.deactivate=g=>{const _=g.component;l(g,f,null,1,a),Xe(()=>{_.da&&ys(_.da);const b=g.props&&g.props.onVnodeUnmounted;b&&ct(b,_.parent,g),_.isDeactivated=!0},a)};function h(g){na(g),d(g,n,a,!0)}function p(g){r.forEach((_,b)=>{const S=Wa(_.type);S&&(!g||!g(S))&&v(b)})}function v(g){const _=r.get(g);!i||!Tt(_,i)?h(_):i&&na(i),r.delete(g),o.delete(g)}Be(()=>[e.include,e.exclude],([g,_])=>{g&&p(b=>$r(g,b)),_&&p(b=>!$r(_,b))},{flush:"post",deep:!0});let w=null;const y=()=>{w!=null&&r.set(w,sa(n.subTree))};return On(y),Yl(y),zs(()=>{r.forEach(g=>{const{subTree:_,suspense:b}=n,S=sa(_);if(g.type===S.type&&g.key===S.key){na(S);const m=S.component.da;m&&Xe(m,b);return}h(g)})}),()=>{if(w=null,!t.default)return null;const g=t.default(),_=g[0];if(g.length>1)return i=null,g;if(!Ps(_)||!(_.shapeFlag&4)&&!(_.shapeFlag&128))return i=null,_;let b=sa(_);const S=b.type,m=Wa(Kn(b)?b.type.__asyncResolved||{}:S),{include:N,exclude:x,max:E}=e;if(N&&(!m||!$r(N,m))||x&&m&&$r(x,m))return i=b,_;const k=b.key==null?S:b.key,T=r.get(k);return b.el&&(b=an(b),_.shapeFlag&128&&(_.ssContent=b)),w=k,T?(b.el=T.el,b.component=T.component,b.transition&&Ns(b,b.transition),b.shapeFlag|=512,o.delete(k),o.add(k)):(o.add(k),E&&o.size>parseInt(E,10)&&v(o.values().next().value)),b.shapeFlag|=256,i=b,mp(_.type)?_:b}}},Yv=Jv;function $r(e,t){return pe(e)?e.some(n=>$r(n,t)):ze(e)?e.split(",").includes(t):Lg(e)?e.test(t):!1}function wp(e,t){Ep(e,"a",t)}function xp(e,t){Ep(e,"da",t)}function Ep(e,t,n=Ve){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(ki(t,s,n),n){let r=n.parent;for(;r&&r.parent;)ao(r.parent.vnode)&&Qv(s,t,n,r),r=r.parent}}function Qv(e,t,n,s){const r=ki(t,e,s,!0);Jr(()=>{Al(s[t],r)},n)}function na(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function sa(e){return e.shapeFlag&128?e.ssContent:e}function ki(e,t,n=Ve,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Ds(),Pn(n);const a=bt(t,n,e,i);return Tn(),Fs(),a});return s?r.unshift(o):r.push(o),o}}const fn=e=>(t,n=Ve)=>(!As||e==="sp")&&ki(e,(...s)=>t(...s),n),Sp=fn("bm"),On=fn("m"),Zv=fn("bu"),Yl=fn("u"),zs=fn("bum"),Jr=fn("um"),ey=fn("sp"),ty=fn("rtg"),ny=fn("rtc");function Tp(e,t=Ve){ki("ec",e,t)}const Ql="components",sy="directives";function on(e,t){return Zl(Ql,e,!0,t)||e}const Np=Symbol.for("v-ndc");function Zn(e){return ze(e)?Zl(Ql,e,!1)||e:e||Np}function FO(e){return Zl(sy,e)}function Zl(e,t,n=!0,s=!1){const r=Ke||Ve;if(r){const o=r.type;if(e===Ql){const a=Wa(o,!1);if(a&&(a===t||a===Gt(t)||a===wi(Gt(t))))return o}const i=Uc(r[e]||o[e],t)||Uc(r.appContext[e],t);return!i&&s?o:i}}function Uc(e,t){return e&&(e[t]||e[Gt(t)]||e[wi(Gt(t))])}function Yr(e,t,n,s){let r;const o=n&&n[s];if(pe(e)||ze(e)){r=new Array(e.length);for(let i=0,a=e.length;i<a;i++)r[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){r=new Array(e);for(let i=0;i<e;i++)r[i]=t(i+1,i,void 0,o&&o[i])}else if(De(e))if(e[Symbol.iterator])r=Array.from(e,(i,a)=>t(i,a,void 0,o&&o[a]));else{const i=Object.keys(e);r=new Array(i.length);for(let a=0,c=i.length;a<c;a++){const l=i[a];r[a]=t(e[l],l,a,o&&o[a])}}else r=[];return n&&(n[s]=r),r}function ry(e,t){for(let n=0;n<t.length;n++){const s=t[n];if(pe(s))for(let r=0;r<s.length;r++)e[s[r].name]=s[r].fn;else s&&(e[s.name]=s.key?(...r)=>{const o=s.fn(...r);return o&&(o.key=s.key),o}:s.fn)}return e}function tt(e,t,n={},s,r){if(Ke.isCE||Ke.parent&&Kn(Ke.parent)&&Ke.parent.isCE)return t!=="default"&&(n.name=t),oe("slot",n,s&&s());let o=e[t];o&&o._c&&(o._d=!1),ee();const i=o&&$p(o(n)),a=Te(Le,{key:n.key||i&&i.key||`_${t}`},i||(s?s():[]),i&&e._===1?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function $p(e){return e.some(t=>Ps(t)?!(t.type===it||t.type===Le&&!$p(t.children)):!0)?e:null}function BO(e,t){const n={};for(const s in e)n[t&&/[A-Z]/.test(s)?`on:${s}`:Bo(s)]=e[s];return n}const Fa=e=>e?zp(e)?Ri(e)||e.proxy:Fa(e.parent):null,Ar=Ue(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=>Fa(e.parent),$root:e=>Fa(e.root),$emit:e=>e.emit,$options:e=>ec(e),$forceUpdate:e=>e.f||(e.f=()=>Ti(e.update)),$nextTick:e=>e.n||(e.n=xt.bind(e.proxy)),$watch:e=>qv.bind(e)}),ra=(e,t)=>e!==He&&!e.__isScriptSetup&&Pe(e,t),oy={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:a,appContext:c}=e;let l;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(ra(s,t))return i[t]=1,s[t];if(r!==He&&Pe(r,t))return i[t]=2,r[t];if((l=e.propsOptions[0])&&Pe(l,t))return i[t]=3,o[t];if(n!==He&&Pe(n,t))return i[t]=4,n[t];Ba&&(i[t]=0)}}const d=Ar[t];let u,f;if(d)return t==="$attrs"&&ut(e,"get",t),d(e);if((u=a.__cssModules)&&(u=u[t]))return u;if(n!==He&&Pe(n,t))return i[t]=4,n[t];if(f=c.config.globalProperties,Pe(f,t))return f[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return ra(r,t)?(r[t]=n,!0):s!==He&&Pe(s,t)?(s[t]=n,!0):Pe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let a;return!!n[i]||e!==He&&Pe(e,i)||ra(t,i)||(a=o[0])&&Pe(a,i)||Pe(s,i)||Pe(Ar,i)||Pe(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Pe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Vc(e){return pe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function HO(e){const t=Ot();let n=e();return Tn(),Rl(n)&&(n=n.catch(s=>{throw Pn(t),s})),[n,()=>Pn(t)]}let Ba=!0;function iy(e){const t=ec(e),n=e.proxy,s=e.ctx;Ba=!1,t.beforeCreate&&Wc(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:a,provide:c,inject:l,created:d,beforeMount:u,mounted:f,beforeUpdate:h,updated:p,activated:v,deactivated:w,beforeDestroy:y,beforeUnmount:g,destroyed:_,unmounted:b,render:S,renderTracked:m,renderTriggered:N,errorCaptured:x,serverPrefetch:E,expose:k,inheritAttrs:T,components:$,directives:P,filters:A}=t;if(l&&ay(l,s,null),i)for(const D in i){const F=i[D];_e(F)&&(s[D]=F.bind(n))}if(r){const D=r.call(n,n);De(D)&&(e.data=At(D))}if(Ba=!0,o)for(const D in o){const F=o[D],V=_e(F)?F.bind(n,n):_e(F.get)?F.get.bind(n,n):kt,le=!_e(F)&&_e(F.set)?F.set.bind(n):kt,te=me({get:V,set:le});Object.defineProperty(s,D,{enumerable:!0,configurable:!0,get:()=>te.value,set:ie=>te.value=ie})}if(a)for(const D in a)kp(a[D],s,n,D);if(c){const D=_e(c)?c.call(n):c;Reflect.ownKeys(D).forEach(F=>{Xn(F,D[F])})}d&&Wc(d,e,"c");function I(D,F){pe(F)?F.forEach(V=>D(V.bind(n))):F&&D(F.bind(n))}if(I(Sp,u),I(On,f),I(Zv,h),I(Yl,p),I(wp,v),I(xp,w),I(Tp,x),I(ny,m),I(ty,N),I(zs,g),I(Jr,b),I(ey,E),pe(k))if(k.length){const D=e.exposed||(e.exposed={});k.forEach(F=>{Object.defineProperty(D,F,{get:()=>n[F],set:V=>n[F]=V})})}else e.exposed||(e.exposed={});S&&e.render===kt&&(e.render=S),T!=null&&(e.inheritAttrs=T),$&&(e.components=$),P&&(e.directives=P)}function ay(e,t,n=kt){pe(e)&&(e=Ha(e));for(const s in e){const r=e[s];let o;De(r)?"default"in r?o=ot(r.from||s,r.default,!0):o=ot(r.from||s):o=ot(r),Fe(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function Wc(e,t,n){bt(pe(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function kp(e,t,n,s){const r=s.includes(".")?vp(n,s):()=>n[s];if(ze(e)){const o=t[e];_e(o)&&Be(r,o)}else if(_e(e))Be(r,e.bind(n));else if(De(e))if(pe(e))e.forEach(o=>kp(o,t,n,s));else{const o=_e(e.handler)?e.handler.bind(n):t[e.handler];_e(o)&&Be(r,o,e)}}function ec(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let c;return a?c=a:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(l=>Yo(c,l,i,!0)),Yo(c,t,i)),De(t)&&o.set(t,c),c}function Yo(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Yo(e,o,n,!0),r&&r.forEach(i=>Yo(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const a=ly[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const ly={data:Gc,props:qc,emits:qc,methods:kr,computed:kr,beforeCreate:rt,created:rt,beforeMount:rt,mounted:rt,beforeUpdate:rt,updated:rt,beforeDestroy:rt,beforeUnmount:rt,destroyed:rt,unmounted:rt,activated:rt,deactivated:rt,errorCaptured:rt,serverPrefetch:rt,components:kr,directives:kr,watch:uy,provide:Gc,inject:cy};function Gc(e,t){return t?e?function(){return Ue(_e(e)?e.call(this,this):e,_e(t)?t.call(this,this):t)}:t:e}function cy(e,t){return kr(Ha(e),Ha(t))}function Ha(e){if(pe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function rt(e,t){return e?[...new Set([].concat(e,t))]:t}function kr(e,t){return e?Ue(Object.create(null),e,t):t}function qc(e,t){return e?pe(e)&&pe(t)?[...new Set([...e,...t])]:Ue(Object.create(null),Vc(e),Vc(t??{})):t}function uy(e,t){if(!e)return t;if(!t)return e;const n=Ue(Object.create(null),e);for(const s in t)n[s]=rt(e[s],t[s]);return n}function Pp(){return{app:null,config:{isNativeTag:Rg,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 fy=0;function dy(e,t){return function(s,r=null){_e(s)||(s=Ue({},s)),r!=null&&!De(r)&&(r=null);const o=Pp(),i=new Set;let a=!1;const c=o.app={_uid:fy++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:Vp,get config(){return o.config},set config(l){},use(l,...d){return i.has(l)||(l&&_e(l.install)?(i.add(l),l.install(c,...d)):_e(l)&&(i.add(l),l(c,...d))),c},mixin(l){return o.mixins.includes(l)||o.mixins.push(l),c},component(l,d){return d?(o.components[l]=d,c):o.components[l]},directive(l,d){return d?(o.directives[l]=d,c):o.directives[l]},mount(l,d,u){if(!a){const f=oe(s,r);return f.appContext=o,d&&t?t(f,l):e(f,l,u),a=!0,c._container=l,l.__vue_app__=c,Ri(f.component)||f.component.proxy}},unmount(){a&&(e(null,c._container),delete c._container.__vue_app__)},provide(l,d){return o.provides[l]=d,c},runWithContext(l){Qr=c;try{return l()}finally{Qr=null}}};return c}}let Qr=null;function Xn(e,t){if(Ve){let n=Ve.provides;const s=Ve.parent&&Ve.parent.provides;s===n&&(n=Ve.provides=Object.create(s)),n[e]=t}}function ot(e,t,n=!1){const s=Ve||Ke;if(s||Qr){const r=s?s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:Qr._context.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&_e(t)?t.call(s&&s.proxy):t}}function Ap(){return!!(Ve||Ke||Qr)}function py(e,t,n,s=!1){const r={},o={};Wo(o,Pi,1),e.propsDefaults=Object.create(null),Rp(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Bs(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function hy(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,a=ke(r),[c]=e.propsOptions;let l=!1;if((s||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(Ni(e.emitsOptions,f))continue;const h=t[f];if(c)if(Pe(o,f))h!==o[f]&&(o[f]=h,l=!0);else{const p=Gt(f);r[p]=za(c,a,p,h,e,!1)}else h!==o[f]&&(o[f]=h,l=!0)}}}else{Rp(e,t,r,o)&&(l=!0);let d;for(const u in a)(!t||!Pe(t,u)&&((d=rs(u))===u||!Pe(t,d)))&&(c?n&&(n[u]!==void 0||n[d]!==void 0)&&(r[u]=za(c,a,u,void 0,e,!0)):delete r[u]);if(o!==a)for(const u in o)(!t||!Pe(t,u))&&(delete o[u],l=!0)}l&&sn(e,"set","$attrs")}function Rp(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,a;if(t)for(let c in t){if(Pr(c))continue;const l=t[c];let d;r&&Pe(r,d=Gt(c))?!o||!o.includes(d)?n[d]=l:(a||(a={}))[d]=l:Ni(e.emitsOptions,c)||(!(c in s)||l!==s[c])&&(s[c]=l,i=!0)}if(o){const c=ke(n),l=a||He;for(let d=0;d<o.length;d++){const u=o[d];n[u]=za(r,c,u,l[u],e,!Pe(l,u))}}return i}function za(e,t,n,s,r,o){const i=e[n];if(i!=null){const a=Pe(i,"default");if(a&&s===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&_e(c)){const{propsDefaults:l}=r;n in l?s=l[n]:(Pn(r),s=l[n]=c.call(null,t),Tn())}else s=c}i[0]&&(o&&!a?s=!1:i[1]&&(s===""||s===rs(n))&&(s=!0))}return s}function Op(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},a=[];let c=!1;if(!_e(e)){const d=u=>{c=!0;const[f,h]=Op(u,t,!0);Ue(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&&!c)return De(e)&&s.set(e,gs),gs;if(pe(o))for(let d=0;d<o.length;d++){const u=Gt(o[d]);Kc(u)&&(i[u]=He)}else if(o)for(const d in o){const u=Gt(d);if(Kc(u)){const f=o[d],h=i[u]=pe(f)||_e(f)?{type:f}:Ue({},f);if(h){const p=Yc(Boolean,h.type),v=Yc(String,h.type);h[0]=p>-1,h[1]=v<0||p<v,(p>-1||Pe(h,"default"))&&a.push(u)}}}const l=[i,a];return De(e)&&s.set(e,l),l}function Kc(e){return e[0]!=="$"}function Xc(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function Jc(e,t){return Xc(e)===Xc(t)}function Yc(e,t){return pe(t)?t.findIndex(n=>Jc(n,e)):_e(t)&&Jc(t,e)?0:-1}const Cp=e=>e[0]==="_"||e==="$stable",tc=e=>pe(e)?e.map(vt):[vt(e)],my=(e,t,n)=>{if(t._n)return t;const s=he((...r)=>tc(t(...r)),n);return s._c=!1,s},Lp=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Cp(r))continue;const o=e[r];if(_e(o))t[r]=my(r,o,s);else if(o!=null){const i=tc(o);t[r]=()=>i}}},Ip=(e,t)=>{const n=tc(t);e.slots.default=()=>n},gy=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ke(t),Wo(t,"_",n)):Lp(t,e.slots={})}else e.slots={},t&&Ip(e,t);Wo(e.slots,Pi,1)},vy=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=He;if(s.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(Ue(r,t),!n&&a===1&&delete r._):(o=!t.$stable,Lp(t,r)),i=t}else t&&(Ip(e,t),i={default:1});if(o)for(const a in r)!Cp(a)&&!(a in i)&&delete r[a]};function Qo(e,t,n,s,r=!1){if(pe(e)){e.forEach((f,h)=>Qo(f,t&&(pe(t)?t[h]:t),n,s,r));return}if(Kn(s)&&!r)return;const o=s.shapeFlag&4?Ri(s.component)||s.component.proxy:s.el,i=r?null:o,{i:a,r:c}=e,l=t&&t.r,d=a.refs===He?a.refs={}:a.refs,u=a.setupState;if(l!=null&&l!==c&&(ze(l)?(d[l]=null,Pe(u,l)&&(u[l]=null)):Fe(l)&&(l.value=null)),_e(c))Sn(c,a,12,[i,d]);else{const f=ze(c),h=Fe(c);if(f||h){const p=()=>{if(e.f){const v=f?Pe(u,c)?u[c]:d[c]:c.value;r?pe(v)&&Al(v,o):pe(v)?v.includes(o)||v.push(o):f?(d[c]=[o],Pe(u,c)&&(u[c]=d[c])):(c.value=[o],e.k&&(d[e.k]=c.value))}else f?(d[c]=i,Pe(u,c)&&(u[c]=i)):h&&(c.value=i,e.k&&(d[e.k]=i))};i?(p.id=-1,Xe(p,n)):p()}}}let pn=!1;const xo=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Eo=e=>e.nodeType===8;function yy(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:o,parentNode:i,remove:a,insert:c,createComment:l}}=e,d=(y,g)=>{if(!g.hasChildNodes()){n(null,y,g),Xo(),g._vnode=y;return}pn=!1,u(g.firstChild,y,null,null,null),Xo(),g._vnode=y,pn&&console.error("Hydration completed but contains mismatches.")},u=(y,g,_,b,S,m=!1)=>{const N=Eo(y)&&y.data==="[",x=()=>v(y,g,_,b,S,N),{type:E,ref:k,shapeFlag:T,patchFlag:$}=g;let P=y.nodeType;g.el=y,$===-2&&(m=!1,g.dynamicChildren=null);let A=null;switch(E){case $s:P!==3?g.children===""?(c(g.el=r(""),i(y),y),A=y):A=x():(y.data!==g.children&&(pn=!0,y.data=g.children),A=o(y));break;case it:P!==8||N?A=x():A=o(y);break;case Or:if(N&&(y=o(y),P=y.nodeType),P===1||P===3){A=y;const L=!g.children.length;for(let I=0;I<g.staticCount;I++)L&&(g.children+=A.nodeType===1?A.outerHTML:A.data),I===g.staticCount-1&&(g.anchor=A),A=o(A);return N?o(A):A}else x();break;case Le:N?A=p(y,g,_,b,S,m):A=x();break;default:if(T&1)P!==1||g.type.toLowerCase()!==y.tagName.toLowerCase()?A=x():A=f(y,g,_,b,S,m);else if(T&6){g.slotScopeIds=S;const L=i(y);if(t(g,L,null,_,b,xo(L),m),A=N?w(y):o(y),A&&Eo(A)&&A.data==="teleport end"&&(A=o(A)),Kn(g)){let I;N?(I=oe(Le),I.anchor=A?A.previousSibling:L.lastChild):I=y.nodeType===3?Oe(""):oe("div"),I.el=y,g.component.subTree=I}}else T&64?P!==8?A=x():A=g.type.hydrate(y,g,_,b,S,m,e,h):T&128&&(A=g.type.hydrate(y,g,_,b,xo(i(y)),S,m,e,u))}return k!=null&&Qo(k,null,b,g),A},f=(y,g,_,b,S,m)=>{m=m||!!g.dynamicChildren;const{type:N,props:x,patchFlag:E,shapeFlag:k,dirs:T}=g,$=N==="input"&&T||N==="option";if($||E!==-1){if(T&&Ft(g,null,_,"created"),x)if($||!m||E&48)for(const A in x)($&&A.endsWith("value")||io(A)&&!Pr(A))&&s(y,A,null,x[A],!1,void 0,_);else x.onClick&&s(y,"onClick",null,x.onClick,!1,void 0,_);let P;if((P=x&&x.onVnodeBeforeMount)&&ct(P,_,g),T&&Ft(g,null,_,"beforeMount"),((P=x&&x.onVnodeMounted)||T)&&gp(()=>{P&&ct(P,_,g),T&&Ft(g,null,_,"mounted")},b),k&16&&!(x&&(x.innerHTML||x.textContent))){let A=h(y.firstChild,g,y,_,b,S,m);for(;A;){pn=!0;const L=A;A=A.nextSibling,a(L)}}else k&8&&y.textContent!==g.children&&(pn=!0,y.textContent=g.children)}return y.nextSibling},h=(y,g,_,b,S,m,N)=>{N=N||!!g.dynamicChildren;const x=g.children,E=x.length;for(let k=0;k<E;k++){const T=N?x[k]:x[k]=vt(x[k]);if(y)y=u(y,T,b,S,m,N);else{if(T.type===$s&&!T.children)continue;pn=!0,n(null,T,_,null,b,S,xo(_),m)}}return y},p=(y,g,_,b,S,m)=>{const{slotScopeIds:N}=g;N&&(S=S?S.concat(N):N);const x=i(y),E=h(o(y),g,x,_,b,S,m);return E&&Eo(E)&&E.data==="]"?o(g.anchor=E):(pn=!0,c(g.anchor=l("]"),x,E),E)},v=(y,g,_,b,S,m)=>{if(pn=!0,g.el=null,m){const E=w(y);for(;;){const k=o(y);if(k&&k!==E)a(k);else break}}const N=o(y),x=i(y);return a(y),n(null,g,x,N,_,b,xo(x),S),N},w=y=>{let g=0;for(;y;)if(y=o(y),y&&Eo(y)&&(y.data==="["&&g++,y.data==="]")){if(g===0)return o(y);g--}return y};return[d,u]}const Xe=gp;function _y(e){return jp(e)}function by(e){return jp(e,yy)}function jp(e,t){const n=La();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:a,createComment:c,setText:l,setElementText:d,parentNode:u,nextSibling:f,setScopeId:h=kt,insertStaticContent:p}=e,v=(R,O,j,B=null,H=null,z=null,se=!1,Y=null,X=!!O.dynamicChildren)=>{if(R===O)return;R&&!Tt(R,O)&&(B=C(R),ie(R,H,z,!0),R=null),O.patchFlag===-2&&(X=!1,O.dynamicChildren=null);const{type:G,ref:ce,shapeFlag:M}=O;switch(G){case $s:w(R,O,j,B);break;case it:y(R,O,j,B);break;case Or:R==null&&g(O,j,B,se);break;case Le:$(R,O,j,B,H,z,se,Y,X);break;default:M&1?S(R,O,j,B,H,z,se,Y,X):M&6?P(R,O,j,B,H,z,se,Y,X):(M&64||M&128)&&G.process(R,O,j,B,H,z,se,Y,X,W)}ce!=null&&H&&Qo(ce,R&&R.ref,z,O||R,!O)},w=(R,O,j,B)=>{if(R==null)s(O.el=a(O.children),j,B);else{const H=O.el=R.el;O.children!==R.children&&l(H,O.children)}},y=(R,O,j,B)=>{R==null?s(O.el=c(O.children||""),j,B):O.el=R.el},g=(R,O,j,B)=>{[R.el,R.anchor]=p(R.children,O,j,B,R.el,R.anchor)},_=({el:R,anchor:O},j,B)=>{let H;for(;R&&R!==O;)H=f(R),s(R,j,B),R=H;s(O,j,B)},b=({el:R,anchor:O})=>{let j;for(;R&&R!==O;)j=f(R),r(R),R=j;r(O)},S=(R,O,j,B,H,z,se,Y,X)=>{se=se||O.type==="svg",R==null?m(O,j,B,H,z,se,Y,X):E(R,O,H,z,se,Y,X)},m=(R,O,j,B,H,z,se,Y)=>{let X,G;const{type:ce,props:M,shapeFlag:U,transition:K,dirs:ae}=R;if(X=R.el=i(R.type,z,M&&M.is,M),U&8?d(X,R.children):U&16&&x(R.children,X,null,B,H,z&&ce!=="foreignObject",se,Y),ae&&Ft(R,null,B,"created"),N(X,R,R.scopeId,se,B),M){for(const ne in M)ne!=="value"&&!Pr(ne)&&o(X,ne,null,M[ne],z,R.children,B,H,xe);"value"in M&&o(X,"value",null,M.value),(G=M.onVnodeBeforeMount)&&ct(G,B,R)}ae&&Ft(R,null,B,"beforeMount");const J=(!H||H&&!H.pendingBranch)&&K&&!K.persisted;J&&K.beforeEnter(X),s(X,O,j),((G=M&&M.onVnodeMounted)||J||ae)&&Xe(()=>{G&&ct(G,B,R),J&&K.enter(X),ae&&Ft(R,null,B,"mounted")},H)},N=(R,O,j,B,H)=>{if(j&&h(R,j),B)for(let z=0;z<B.length;z++)h(R,B[z]);if(H){let z=H.subTree;if(O===z){const se=H.vnode;N(R,se,se.scopeId,se.slotScopeIds,H.parent)}}},x=(R,O,j,B,H,z,se,Y,X=0)=>{for(let G=X;G<R.length;G++){const ce=R[G]=Y?_n(R[G]):vt(R[G]);v(null,ce,O,j,B,H,z,se,Y)}},E=(R,O,j,B,H,z,se)=>{const Y=O.el=R.el;let{patchFlag:X,dynamicChildren:G,dirs:ce}=O;X|=R.patchFlag&16;const M=R.props||He,U=O.props||He;let K;j&&Ln(j,!1),(K=U.onVnodeBeforeUpdate)&&ct(K,j,O,R),ce&&Ft(O,R,j,"beforeUpdate"),j&&Ln(j,!0);const ae=H&&O.type!=="foreignObject";if(G?k(R.dynamicChildren,G,Y,j,B,ae,z):se||F(R,O,Y,null,j,B,ae,z,!1),X>0){if(X&16)T(Y,O,M,U,j,B,H);else if(X&2&&M.class!==U.class&&o(Y,"class",null,U.class,H),X&4&&o(Y,"style",M.style,U.style,H),X&8){const J=O.dynamicProps;for(let ne=0;ne<J.length;ne++){const ye=J[ne],Ie=M[ye],Ee=U[ye];(Ee!==Ie||ye==="value")&&o(Y,ye,Ie,Ee,H,R.children,j,B,xe)}}X&1&&R.children!==O.children&&d(Y,O.children)}else!se&&G==null&&T(Y,O,M,U,j,B,H);((K=U.onVnodeUpdated)||ce)&&Xe(()=>{K&&ct(K,j,O,R),ce&&Ft(O,R,j,"updated")},B)},k=(R,O,j,B,H,z,se)=>{for(let Y=0;Y<O.length;Y++){const X=R[Y],G=O[Y],ce=X.el&&(X.type===Le||!Tt(X,G)||X.shapeFlag&70)?u(X.el):j;v(X,G,ce,null,B,H,z,se,!0)}},T=(R,O,j,B,H,z,se)=>{if(j!==B){if(j!==He)for(const Y in j)!Pr(Y)&&!(Y in B)&&o(R,Y,j[Y],null,se,O.children,H,z,xe);for(const Y in B){if(Pr(Y))continue;const X=B[Y],G=j[Y];X!==G&&Y!=="value"&&o(R,Y,G,X,se,O.children,H,z,xe)}"value"in B&&o(R,"value",j.value,B.value)}},$=(R,O,j,B,H,z,se,Y,X)=>{const G=O.el=R?R.el:a(""),ce=O.anchor=R?R.anchor:a("");let{patchFlag:M,dynamicChildren:U,slotScopeIds:K}=O;K&&(Y=Y?Y.concat(K):K),R==null?(s(G,j,B),s(ce,j,B),x(O.children,j,ce,H,z,se,Y,X)):M>0&&M&64&&U&&R.dynamicChildren?(k(R.dynamicChildren,U,j,H,z,se,Y),(O.key!=null||H&&O===H.subTree)&&nc(R,O,!0)):F(R,O,j,ce,H,z,se,Y,X)},P=(R,O,j,B,H,z,se,Y,X)=>{O.slotScopeIds=Y,R==null?O.shapeFlag&512?H.ctx.activate(O,j,B,se,X):A(O,j,B,H,z,se,X):L(R,O,X)},A=(R,O,j,B,H,z,se)=>{const Y=R.component=ky(R,B,H);if(ao(R)&&(Y.ctx.renderer=W),Py(Y),Y.asyncDep){if(H&&H.registerDep(Y,I),!R.el){const X=Y.subTree=oe(it);y(null,X,O,j)}return}I(Y,R,O,j,H,z,se)},L=(R,O,j)=>{const B=O.component=R.component;if(Bv(R,O,j))if(B.asyncDep&&!B.asyncResolved){D(B,O,j);return}else B.next=O,Rv(B.update),B.update();else O.el=R.el,B.vnode=O},I=(R,O,j,B,H,z,se)=>{const Y=()=>{if(R.isMounted){let{next:ce,bu:M,u:U,parent:K,vnode:ae}=R,J=ce,ne;Ln(R,!1),ce?(ce.el=ae.el,D(R,ce,se)):ce=ae,M&&ys(M),(ne=ce.props&&ce.props.onVnodeBeforeUpdate)&&ct(ne,K,ce,ae),Ln(R,!0);const ye=Zi(R),Ie=R.subTree;R.subTree=ye,v(Ie,ye,u(Ie.el),C(Ie),R,H,z),ce.el=ye.el,J===null&&Wl(R,ye.el),U&&Xe(U,H),(ne=ce.props&&ce.props.onVnodeUpdated)&&Xe(()=>ct(ne,K,ce,ae),H)}else{let ce;const{el:M,props:U}=O,{bm:K,m:ae,parent:J}=R,ne=Kn(O);if(Ln(R,!1),K&&ys(K),!ne&&(ce=U&&U.onVnodeBeforeMount)&&ct(ce,J,O),Ln(R,!0),M&&Se){const ye=()=>{R.subTree=Zi(R),Se(M,R.subTree,R,H,null)};ne?O.type.__asyncLoader().then(()=>!R.isUnmounted&&ye()):ye()}else{const ye=R.subTree=Zi(R);v(null,ye,j,B,R,H,z),O.el=ye.el}if(ae&&Xe(ae,H),!ne&&(ce=U&&U.onVnodeMounted)){const ye=O;Xe(()=>ct(ce,J,ye),H)}(O.shapeFlag&256||J&&Kn(J.vnode)&&J.vnode.shapeFlag&256)&&R.a&&Xe(R.a,H),R.isMounted=!0,O=j=B=null}},X=R.effect=new jl(Y,()=>Ti(G),R.scope),G=R.update=()=>X.run();G.id=R.uid,Ln(R,!0),G()},D=(R,O,j)=>{O.component=R;const B=R.vnode.props;R.vnode=O,R.next=null,hy(R,O.props,B,j),vy(R,O.children,j),Ds(),Fc(),Fs()},F=(R,O,j,B,H,z,se,Y,X=!1)=>{const G=R&&R.children,ce=R?R.shapeFlag:0,M=O.children,{patchFlag:U,shapeFlag:K}=O;if(U>0){if(U&128){le(G,M,j,B,H,z,se,Y,X);return}else if(U&256){V(G,M,j,B,H,z,se,Y,X);return}}K&8?(ce&16&&xe(G,H,z),M!==G&&d(j,M)):ce&16?K&16?le(G,M,j,B,H,z,se,Y,X):xe(G,H,z,!0):(ce&8&&d(j,""),K&16&&x(M,j,B,H,z,se,Y,X))},V=(R,O,j,B,H,z,se,Y,X)=>{R=R||gs,O=O||gs;const G=R.length,ce=O.length,M=Math.min(G,ce);let U;for(U=0;U<M;U++){const K=O[U]=X?_n(O[U]):vt(O[U]);v(R[U],K,j,null,H,z,se,Y,X)}G>ce?xe(R,H,z,!0,!1,M):x(O,j,B,H,z,se,Y,X,M)},le=(R,O,j,B,H,z,se,Y,X)=>{let G=0;const ce=O.length;let M=R.length-1,U=ce-1;for(;G<=M&&G<=U;){const K=R[G],ae=O[G]=X?_n(O[G]):vt(O[G]);if(Tt(K,ae))v(K,ae,j,null,H,z,se,Y,X);else break;G++}for(;G<=M&&G<=U;){const K=R[M],ae=O[U]=X?_n(O[U]):vt(O[U]);if(Tt(K,ae))v(K,ae,j,null,H,z,se,Y,X);else break;M--,U--}if(G>M){if(G<=U){const K=U+1,ae=K<ce?O[K].el:B;for(;G<=U;)v(null,O[G]=X?_n(O[G]):vt(O[G]),j,ae,H,z,se,Y,X),G++}}else if(G>U)for(;G<=M;)ie(R[G],H,z,!0),G++;else{const K=G,ae=G,J=new Map;for(G=ae;G<=U;G++){const Qe=O[G]=X?_n(O[G]):vt(O[G]);Qe.key!=null&&J.set(Qe.key,G)}let ne,ye=0;const Ie=U-ae+1;let Ee=!1,ge=0;const Ye=new Array(Ie);for(G=0;G<Ie;G++)Ye[G]=0;for(G=K;G<=M;G++){const Qe=R[G];if(ye>=Ie){ie(Qe,H,z,!0);continue}let jt;if(Qe.key!=null)jt=J.get(Qe.key);else for(ne=ae;ne<=U;ne++)if(Ye[ne-ae]===0&&Tt(Qe,O[ne])){jt=ne;break}jt===void 0?ie(Qe,H,z,!0):(Ye[jt-ae]=G+1,jt>=ge?ge=jt:Ee=!0,v(Qe,O[jt],j,null,H,z,se,Y,X),ye++)}const ls=Ee?wy(Ye):gs;for(ne=ls.length-1,G=Ie-1;G>=0;G--){const Qe=ae+G,jt=O[Qe],Pc=Qe+1<ce?O[Qe+1].el:B;Ye[G]===0?v(null,jt,j,Pc,H,z,se,Y,X):Ee&&(ne<0||G!==ls[ne]?te(jt,j,Pc,2):ne--)}}},te=(R,O,j,B,H=null)=>{const{el:z,type:se,transition:Y,children:X,shapeFlag:G}=R;if(G&6){te(R.component.subTree,O,j,B);return}if(G&128){R.suspense.move(O,j,B);return}if(G&64){se.move(R,O,j,W);return}if(se===Le){s(z,O,j);for(let M=0;M<X.length;M++)te(X[M],O,j,B);s(R.anchor,O,j);return}if(se===Or){_(R,O,j);return}if(B!==2&&G&1&&Y)if(B===0)Y.beforeEnter(z),s(z,O,j),Xe(()=>Y.enter(z),H);else{const{leave:M,delayLeave:U,afterLeave:K}=Y,ae=()=>s(z,O,j),J=()=>{M(z,()=>{ae(),K&&K()})};U?U(z,ae,J):J()}else s(z,O,j)},ie=(R,O,j,B=!1,H=!1)=>{const{type:z,props:se,ref:Y,children:X,dynamicChildren:G,shapeFlag:ce,patchFlag:M,dirs:U}=R;if(Y!=null&&Qo(Y,null,j,R,!0),ce&256){O.ctx.deactivate(R);return}const K=ce&1&&U,ae=!Kn(R);let J;if(ae&&(J=se&&se.onVnodeBeforeUnmount)&&ct(J,O,R),ce&6)ve(R.component,j,B);else{if(ce&128){R.suspense.unmount(j,B);return}K&&Ft(R,null,O,"beforeUnmount"),ce&64?R.type.remove(R,O,j,H,W,B):G&&(z!==Le||M>0&&M&64)?xe(G,O,j,!1,!0):(z===Le&&M&384||!H&&ce&16)&&xe(X,O,j),B&&de(R)}(ae&&(J=se&&se.onVnodeUnmounted)||K)&&Xe(()=>{J&&ct(J,O,R),K&&Ft(R,null,O,"unmounted")},j)},de=R=>{const{type:O,el:j,anchor:B,transition:H}=R;if(O===Le){fe(j,B);return}if(O===Or){b(R);return}const z=()=>{r(j),H&&!H.persisted&&H.afterLeave&&H.afterLeave()};if(R.shapeFlag&1&&H&&!H.persisted){const{leave:se,delayLeave:Y}=H,X=()=>se(j,z);Y?Y(R.el,z,X):X()}else z()},fe=(R,O)=>{let j;for(;R!==O;)j=f(R),r(R),R=j;r(O)},ve=(R,O,j)=>{const{bum:B,scope:H,update:z,subTree:se,um:Y}=R;B&&ys(B),H.stop(),z&&(z.active=!1,ie(se,R,O,j)),Y&&Xe(Y,O),Xe(()=>{R.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&R.asyncDep&&!R.asyncResolved&&R.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},xe=(R,O,j,B=!1,H=!1,z=0)=>{for(let se=z;se<R.length;se++)ie(R[se],O,j,B,H)},C=R=>R.shapeFlag&6?C(R.component.subTree):R.shapeFlag&128?R.suspense.next():f(R.anchor||R.el),Q=(R,O,j)=>{R==null?O._vnode&&ie(O._vnode,null,null,!0):v(O._vnode||null,R,O,null,null,null,j),Fc(),Xo(),O._vnode=R},W={p:v,um:ie,m:te,r:de,mt:A,mc:x,pc:F,pbc:k,n:C,o:e};let ue,Se;return t&&([ue,Se]=t(W)),{render:Q,hydrate:ue,createApp:dy(Q,ue)}}function Ln({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function nc(e,t,n=!1){const s=e.children,r=t.children;if(pe(s)&&pe(r))for(let o=0;o<s.length;o++){const i=s[o];let a=r[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[o]=_n(r[o]),a.el=i.el),n||nc(i,a)),a.type===$s&&(a.el=i.el)}}function wy(e){const t=e.slice(),n=[0];let s,r,o,i,a;const c=e.length;for(s=0;s<c;s++){const l=e[s];if(l!==0){if(r=n[n.length-1],e[r]<l){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<l?o=a+1:i=a;l<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const xy=e=>e.__isTeleport,Rr=e=>e&&(e.disabled||e.disabled===""),Qc=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ua=(e,t)=>{const n=e&&e.to;return ze(n)?t?t(n):null:n},Ey={__isTeleport:!0,process(e,t,n,s,r,o,i,a,c,l){const{mc:d,pc:u,pbc:f,o:{insert:h,querySelector:p,createText:v,createComment:w}}=l,y=Rr(t.props);let{shapeFlag:g,children:_,dynamicChildren:b}=t;if(e==null){const S=t.el=v(""),m=t.anchor=v("");h(S,n,s),h(m,n,s);const N=t.target=Ua(t.props,p),x=t.targetAnchor=v("");N&&(h(x,N),i=i||Qc(N));const E=(k,T)=>{g&16&&d(_,k,T,r,o,i,a,c)};y?E(n,m):N&&E(N,x)}else{t.el=e.el;const S=t.anchor=e.anchor,m=t.target=e.target,N=t.targetAnchor=e.targetAnchor,x=Rr(e.props),E=x?n:m,k=x?S:N;if(i=i||Qc(m),b?(f(e.dynamicChildren,b,E,r,o,i,a),nc(e,t,!0)):c||u(e,t,E,k,r,o,i,a,!1),y)x||So(t,n,S,l,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const T=t.target=Ua(t.props,p);T&&So(t,T,null,l,0)}else x&&So(t,m,N,l,1)}Dp(t)},remove(e,t,n,s,{um:r,o:{remove:o}},i){const{shapeFlag:a,children:c,anchor:l,targetAnchor:d,target:u,props:f}=e;if(u&&o(d),(i||!Rr(f))&&(o(l),a&16))for(let h=0;h<c.length;h++){const p=c[h];r(p,t,n,!0,!!p.dynamicChildren)}},move:So,hydrate:Sy};function So(e,t,n,{o:{insert:s},m:r},o=2){o===0&&s(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:c,children:l,props:d}=e,u=o===2;if(u&&s(i,t,n),(!u||Rr(d))&&c&16)for(let f=0;f<l.length;f++)r(l[f],t,n,2);u&&s(a,t,n)}function Sy(e,t,n,s,r,o,{o:{nextSibling:i,parentNode:a,querySelector:c}},l){const d=t.target=Ua(t.props,c);if(d){const u=d._lpa||d.firstChild;if(t.shapeFlag&16)if(Rr(t.props))t.anchor=l(i(e),t,a(e),n,s,r,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}l(u,t,d,n,s,r,o)}Dp(t)}return t.anchor&&i(t.anchor)}const Mp=Ey;function Dp(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 Le=Symbol.for("v-fgt"),$s=Symbol.for("v-txt"),it=Symbol.for("v-cmt"),Or=Symbol.for("v-stc"),Cr=[];let yt=null;function ee(e=!1){Cr.push(yt=e?null:[])}function Fp(){Cr.pop(),yt=Cr[Cr.length-1]||null}let ks=1;function Zc(e){ks+=e}function Bp(e){return e.dynamicChildren=ks>0?yt||gs:null,Fp(),ks>0&&yt&&yt.push(e),e}function be(e,t,n,s,r,o){return Bp(re(e,t,n,s,r,o,!0))}function Te(e,t,n,s,r){return Bp(oe(e,t,n,s,r,!0))}function Ps(e){return e?e.__v_isVNode===!0:!1}function Tt(e,t){return e.type===t.type&&e.key===t.key}const Pi="__vInternal",Hp=({key:e})=>e??null,Ho=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ze(e)||Fe(e)||_e(e)?{i:Ke,r:e,k:t,f:!!n}:e:null);function re(e,t=null,n=null,s=0,r=null,o=e===Le?0:1,i=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Hp(t),ref:t&&Ho(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:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ke};return a?(sc(c,n),o&128&&e.normalize(c)):n&&(c.shapeFlag|=ze(n)?8:16),ks>0&&!i&&yt&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&yt.push(c),c}const oe=Ty;function Ty(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Np)&&(e=it),Ps(e)){const a=an(e,t,!0);return n&&sc(a,n),ks>0&&!o&&yt&&(a.shapeFlag&6?yt[yt.indexOf(e)]=a:yt.push(a)),a.patchFlag|=-2,a}if(Cy(e)&&(e=e.__vccOpts),t){t=Ai(t);let{class:a,style:c}=t;a&&!ze(a)&&(t.class=Je(a)),De(c)&&(sp(c)&&!pe(c)&&(c=Ue({},c)),t.style=tn(c))}const i=ze(e)?1:mp(e)?128:xy(e)?64:De(e)?4:_e(e)?2:0;return re(e,t,n,s,r,i,o,!0)}function Ai(e){return e?sp(e)||Pi in e?Ue({},e):e:null}function an(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,a=t?ln(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Hp(a),ref:t&&t.ref?n&&r?pe(r)?r.concat(Ho(t)):[r,Ho(t)]:Ho(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Le?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&&an(e.ssContent),ssFallback:e.ssFallback&&an(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Oe(e=" ",t=0){return oe($s,null,e,t)}function zO(e,t){const n=oe(Or,null,e);return n.staticCount=t,n}function We(e="",t=!1){return t?(ee(),Te(it,null,e)):oe(it,null,e)}function vt(e){return e==null||typeof e=="boolean"?oe(it):pe(e)?oe(Le,null,e.slice()):typeof e=="object"?_n(e):oe($s,null,String(e))}function _n(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:an(e)}function sc(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(pe(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),sc(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Pi in t)?t._ctx=Ke:r===3&&Ke&&(Ke.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else _e(t)?(t={default:t,_ctx:Ke},n=32):(t=String(t),s&64?(n=16,t=[Oe(t)]):n=8);e.children=t,e.shapeFlag|=n}function ln(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Je([t.class,s.class]));else if(r==="style")t.style=tn([t.style,s.style]);else if(io(r)){const o=t[r],i=s[r];i&&o!==i&&!(pe(o)&&o.includes(i))&&(t[r]=o?[].concat(o,i):i)}else r!==""&&(t[r]=s[r])}return t}function ct(e,t,n,s=null){bt(e,t,7,[n,s])}const Ny=Pp();let $y=0;function ky(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Ny,o={uid:$y++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Wg(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Op(s,r),emitsOptions:hp(s,r),emit:null,emitted:null,propsDefaults:He,inheritAttrs:s.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=Cv.bind(null,o),e.ce&&e.ce(o),o}let Ve=null;const Ot=()=>Ve||Ke;let rc,cs,eu="__VUE_INSTANCE_SETTERS__";(cs=La()[eu])||(cs=La()[eu]=[]),cs.push(e=>Ve=e),rc=e=>{cs.length>1?cs.forEach(t=>t(e)):cs[0](e)};const Pn=e=>{rc(e),e.scope.on()},Tn=()=>{Ve&&Ve.scope.off(),rc(null)};function zp(e){return e.vnode.shapeFlag&4}let As=!1;function Py(e,t=!1){As=t;const{props:n,children:s}=e.vnode,r=zp(e);py(e,n,r,t),gy(e,s);const o=r?Ay(e,t):void 0;return As=!1,o}function Ay(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=rp(new Proxy(e.ctx,oy));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?Oy(e):null;Pn(e),Ds();const o=Sn(s,e,0,[e.props,r]);if(Fs(),Tn(),Rl(o)){if(o.then(Tn,Tn),t)return o.then(i=>{Va(e,i,t)}).catch(i=>{Hs(i,e,0)});e.asyncDep=o}else Va(e,o,t)}else Up(e,t)}function Va(e,t,n){_e(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:De(t)&&(e.setupState=ap(t)),Up(e,n)}let tu;function Up(e,t,n){const s=e.type;if(!e.render){if(!t&&tu&&!s.render){const r=s.template||ec(e).template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:c}=s,l=Ue(Ue({isCustomElement:o,delimiters:a},i),c);s.render=tu(r,l)}}e.render=s.render||kt}Pn(e),Ds(),iy(e),Fs(),Tn()}function Ry(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return ut(e,"get","$attrs"),t[n]}}))}function Oy(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return Ry(e)},slots:e.slots,emit:e.emit,expose:t}}function Ri(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ap(rp(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ar)return Ar[n](e)},has(t,n){return n in t||n in Ar}}))}function Wa(e,t=!0){return _e(e)?e.displayName||e.name:e.name||t&&e.__name}function Cy(e){return _e(e)&&"__vccOpts"in e}const me=(e,t)=>kv(e,t,As);function Ge(e,t,n){const s=arguments.length;return s===2?De(t)&&!pe(t)?Ps(t)?oe(e,null,[t]):oe(e,t):oe(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Ps(n)&&(n=[n]),oe(e,t,n))}const Ly=Symbol.for("v-scx"),Iy=()=>ot(Ly),Vp="3.3.4",jy="http://www.w3.org/2000/svg",Bn=typeof document<"u"?document:null,nu=Bn&&Bn.createElement("template"),My={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?Bn.createElementNS(jy,e):Bn.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Bn.createTextNode(e),createComment:e=>Bn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Bn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{nu.innerHTML=s?`<svg>${e}</svg>`:e;const a=nu.content;if(s){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function Dy(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function Fy(e,t,n){const s=e.style,r=ze(n);if(n&&!r){if(t&&!ze(t))for(const o in t)n[o]==null&&Ga(s,o,"");for(const o in n)Ga(s,o,n[o])}else{const o=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=o)}}const su=/\s*!important$/;function Ga(e,t,n){if(pe(n))n.forEach(s=>Ga(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=By(e,t);su.test(n)?e.setProperty(rs(s),n.replace(su,""),"important"):e[s]=n}}const ru=["Webkit","Moz","ms"],oa={};function By(e,t){const n=oa[t];if(n)return n;let s=Gt(t);if(s!=="filter"&&s in e)return oa[t]=s;s=wi(s);for(let r=0;r<ru.length;r++){const o=ru[r]+s;if(o in e)return oa[t]=o}return t}const ou="http://www.w3.org/1999/xlink";function Hy(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ou,t.slice(6,t.length)):e.setAttributeNS(ou,t,n);else{const o=Ug(t);n==null||o&&!Vd(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function zy(e,t,n,s,r,o,i){if(t==="innerHTML"||t==="textContent"){s&&i(s,r,o),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){e._value=n;const l=a==="OPTION"?e.getAttribute("value"):e.value,d=n??"";l!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let c=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Vd(n):n==null&&l==="string"?(n="",c=!0):l==="number"&&(n=0,c=!0)}try{e[t]=n}catch{}c&&e.removeAttribute(t)}function Zt(e,t,n,s){e.addEventListener(t,n,s)}function Uy(e,t,n,s){e.removeEventListener(t,n,s)}function Vy(e,t,n,s,r=null){const o=e._vei||(e._vei={}),i=o[t];if(s&&i)i.value=s;else{const[a,c]=Wy(t);if(s){const l=o[t]=Ky(s,r);Zt(e,a,l,c)}else i&&(Uy(e,a,i,c),o[t]=void 0)}}const iu=/(?:Once|Passive|Capture)$/;function Wy(e){let t;if(iu.test(e)){t={};let s;for(;s=e.match(iu);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):rs(e.slice(2)),t]}let ia=0;const Gy=Promise.resolve(),qy=()=>ia||(Gy.then(()=>ia=0),ia=Date.now());function Ky(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;bt(Xy(s,n.value),t,5,[s])};return n.value=e,n.attached=qy(),n}function Xy(e,t){if(pe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const au=/^on[a-z]/,Jy=(e,t,n,s,r=!1,o,i,a,c)=>{t==="class"?Dy(e,s,r):t==="style"?Fy(e,n,s):io(t)?Pl(t)||Vy(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Yy(e,t,s,r))?zy(e,t,s,o,i,a,c):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Hy(e,t,s,r))};function Yy(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&au.test(t)&&_e(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||au.test(t)&&ze(n)?!1:t in e}const hn="transition",Xs="animation",Oi=(e,{slots:t})=>Ge(Xv,Gp(e),t);Oi.displayName="Transition";const Wp={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},Qy=Oi.props=Ue({},_p,Wp),In=(e,t=[])=>{pe(e)?e.forEach(n=>n(...t)):e&&e(...t)},lu=e=>e?pe(e)?e.some(t=>t.length>1):e.length>1:!1;function Gp(e){const t={};for(const $ in e)$ in Wp||(t[$]=e[$]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:c=o,appearActiveClass:l=i,appearToClass:d=a,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=Zy(r),v=p&&p[0],w=p&&p[1],{onBeforeEnter:y,onEnter:g,onEnterCancelled:_,onLeave:b,onLeaveCancelled:S,onBeforeAppear:m=y,onAppear:N=g,onAppearCancelled:x=_}=t,E=($,P,A)=>{gn($,P?d:a),gn($,P?l:i),A&&A()},k=($,P)=>{$._isLeaving=!1,gn($,u),gn($,h),gn($,f),P&&P()},T=$=>(P,A)=>{const L=$?N:g,I=()=>E(P,$,A);In(L,[P,I]),cu(()=>{gn(P,$?c:o),Xt(P,$?d:a),lu(L)||uu(P,s,v,I)})};return Ue(t,{onBeforeEnter($){In(y,[$]),Xt($,o),Xt($,i)},onBeforeAppear($){In(m,[$]),Xt($,c),Xt($,l)},onEnter:T(!1),onAppear:T(!0),onLeave($,P){$._isLeaving=!0;const A=()=>k($,P);Xt($,u),Kp(),Xt($,f),cu(()=>{$._isLeaving&&(gn($,u),Xt($,h),lu(b)||uu($,s,w,A))}),In(b,[$,A])},onEnterCancelled($){E($,!1),In(_,[$])},onAppearCancelled($){E($,!0),In(x,[$])},onLeaveCancelled($){k($),In(S,[$])}})}function Zy(e){if(e==null)return null;if(De(e))return[aa(e.enter),aa(e.leave)];{const t=aa(e);return[t,t]}}function aa(e){return Ud(e)}function Xt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function gn(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function cu(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let e_=0;function uu(e,t,n,s){const r=e._endId=++e_,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:c}=qp(e,t);if(!i)return s();const l=i+"end";let d=0;const u=()=>{e.removeEventListener(l,f),o()},f=h=>{h.target===e&&++d>=c&&u()};setTimeout(()=>{d<c&&u()},a+1),e.addEventListener(l,f)}function qp(e,t){const n=window.getComputedStyle(e),s=p=>(n[p]||"").split(", "),r=s(`${hn}Delay`),o=s(`${hn}Duration`),i=fu(r,o),a=s(`${Xs}Delay`),c=s(`${Xs}Duration`),l=fu(a,c);let d=null,u=0,f=0;t===hn?i>0&&(d=hn,u=i,f=o.length):t===Xs?l>0&&(d=Xs,u=l,f=c.length):(u=Math.max(i,l),d=u>0?i>l?hn:Xs:null,f=d?d===hn?o.length:c.length:0);const h=d===hn&&/\b(transform|all)(,|$)/.test(s(`${hn}Property`).toString());return{type:d,timeout:u,propCount:f,hasTransform:h}}function fu(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>du(n)+du(e[s])))}function du(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Kp(){return document.body.offsetHeight}const Xp=new WeakMap,Jp=new WeakMap,Yp={name:"TransitionGroup",props:Ue({},Qy,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ot(),s=yp();let r,o;return Yl(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!i_(r[0].el,n.vnode.el,i))return;r.forEach(s_),r.forEach(r_);const a=r.filter(o_);Kp(),a.forEach(c=>{const l=c.el,d=l.style;Xt(l,i),d.transform=d.webkitTransform=d.transitionDuration="";const u=l._moveCb=f=>{f&&f.target!==l||(!f||/transform$/.test(f.propertyName))&&(l.removeEventListener("transitionend",u),l._moveCb=null,gn(l,i))};l.addEventListener("transitionend",u)})}),()=>{const i=ke(e),a=Gp(i);let c=i.tag||Le;r=o,o=t.default?Jl(t.default()):[];for(let l=0;l<o.length;l++){const d=o[l];d.key!=null&&Ns(d,Xr(d,a,s,n))}if(r)for(let l=0;l<r.length;l++){const d=r[l];Ns(d,Xr(d,a,s,n)),Xp.set(d,d.el.getBoundingClientRect())}return oe(c,null,o)}}},t_=e=>delete e.mode;Yp.props;const n_=Yp;function s_(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function r_(e){Jp.set(e,e.el.getBoundingClientRect())}function o_(e){const t=Xp.get(e),n=Jp.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${s}px,${r}px)`,o.transitionDuration="0s",e}}function i_(e,t,n){const s=e.cloneNode();e._vtc&&e._vtc.forEach(i=>{i.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&s.classList.add(i)),s.style.display="none";const r=t.nodeType===1?t:t.parentNode;r.appendChild(s);const{hasTransform:o}=qp(s);return r.removeChild(s),o}const An=e=>{const t=e.props["onUpdate:modelValue"]||!1;return pe(t)?n=>ys(t,n):t};function a_(e){e.target.composing=!0}function pu(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const hu={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e._assign=An(r);const o=s||r.props&&r.props.type==="number";Zt(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=Go(a)),e._assign(a)}),n&&Zt(e,"change",()=>{e.value=e.value.trim()}),t||(Zt(e,"compositionstart",a_),Zt(e,"compositionend",pu),Zt(e,"change",pu))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},o){if(e._assign=An(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(r||e.type==="number")&&Go(e.value)===t))return;const i=t??"";e.value!==i&&(e.value=i)}},l_={deep:!0,created(e,t,n){e._assign=An(n),Zt(e,"change",()=>{const s=e._modelValue,r=Rs(e),o=e.checked,i=e._assign;if(pe(s)){const a=Ll(s,r),c=a!==-1;if(o&&!c)i(s.concat(r));else if(!o&&c){const l=[...s];l.splice(a,1),i(l)}}else if(js(s)){const a=new Set(s);o?a.add(r):a.delete(r),i(a)}else i(Qp(e,o))})},mounted:mu,beforeUpdate(e,t,n){e._assign=An(n),mu(e,t,n)}};function mu(e,{value:t,oldValue:n},s){e._modelValue=t,pe(t)?e.checked=Ll(t,s.props.value)>-1:js(t)?e.checked=t.has(s.props.value):t!==n&&(e.checked=Jn(t,Qp(e,!0)))}const c_={created(e,{value:t},n){e.checked=Jn(t,n.props.value),e._assign=An(n),Zt(e,"change",()=>{e._assign(Rs(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e._assign=An(s),t!==n&&(e.checked=Jn(t,s.props.value))}},u_={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=js(t);Zt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Go(Rs(i)):Rs(i));e._assign(e.multiple?r?new Set(o):o:o[0])}),e._assign=An(s)},mounted(e,{value:t}){gu(e,t)},beforeUpdate(e,t,n){e._assign=An(n)},updated(e,{value:t}){gu(e,t)}};function gu(e,t){const n=e.multiple;if(!(n&&!pe(t)&&!js(t))){for(let s=0,r=e.options.length;s<r;s++){const o=e.options[s],i=Rs(o);if(n)pe(t)?o.selected=Ll(t,i)>-1:o.selected=t.has(i);else if(Jn(Rs(o),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Rs(e){return"_value"in e?e._value:e.value}function Qp(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const f_={created(e,t,n){To(e,t,n,null,"created")},mounted(e,t,n){To(e,t,n,null,"mounted")},beforeUpdate(e,t,n,s){To(e,t,n,s,"beforeUpdate")},updated(e,t,n,s){To(e,t,n,s,"updated")}};function d_(e,t){switch(e){case"SELECT":return u_;case"TEXTAREA":return hu;default:switch(t){case"checkbox":return l_;case"radio":return c_;default:return hu}}}function To(e,t,n,s,r){const i=d_(e.tagName,n.props&&n.props.type)[r];i&&i(e,t,n,s)}const p_=["ctrl","shift","alt","meta"],h_={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)=>p_.some(n=>e[`${n}Key`]&&!t.includes(n))},UO=(e,t)=>(n,...s)=>{for(let r=0;r<t.length;r++){const o=h_[t[r]];if(o&&o(n,t))return}return e(n,...s)},m_={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},g_=(e,t)=>n=>{if(!("key"in n))return;const s=rs(n.key);if(t.some(r=>r===s||m_[r]===s))return e(n)},Zp={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Js(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),Js(e,!0),s.enter(e)):s.leave(e,()=>{Js(e,!1)}):Js(e,t))},beforeUnmount(e,{value:t}){Js(e,t)}};function Js(e,t){e.style.display=t?e._vod:"none"}const eh=Ue({patchProp:Jy},My);let Lr,vu=!1;function v_(){return Lr||(Lr=_y(eh))}function y_(){return Lr=vu?Lr:by(eh),vu=!0,Lr}const th=(...e)=>{const t=v_().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=nh(s);if(!r)return;const o=t._component;!_e(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t},__=(...e)=>{const t=y_().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=nh(s);if(r)return n(r,!0,r instanceof SVGElement)},t};function nh(e){return ze(e)?document.querySelector(e):e}const b_=/"(?:_|\\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*:/,w_=/"(?: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*:/,x_=/^\s*["[{]|^\s*-?\d[\d.]{0,14}\s*$/;function E_(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){S_(e);return}return t}function S_(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function T_(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 s=n.toLowerCase();if(s==="true")return!0;if(s==="false")return!1;if(s!=="undefined"){if(s==="null")return null;if(s==="nan")return Number.NaN;if(s==="infinity")return Number.POSITIVE_INFINITY;if(s==="-infinity")return Number.NEGATIVE_INFINITY;if(!x_.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(b_.test(e)||w_.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,E_)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}}const N_=/#/g,$_=/&/g,k_=/=/g,sh=/\+/g,P_=/%5e/gi,A_=/%60/gi,R_=/%7c/gi,O_=/%20/gi;function C_(e){return encodeURI(""+e).replace(R_,"|")}function qa(e){return C_(typeof e=="string"?e:JSON.stringify(e)).replace(sh,"%2B").replace(O_,"+").replace(N_,"%23").replace($_,"%26").replace(A_,"`").replace(P_,"^")}function la(e){return qa(e).replace(k_,"%3D")}function rh(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function L_(e){return rh(e.replace(sh," "))}function oh(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const s=n.match(/([^=]+)=?(.*)/)||[];if(s.length<2)continue;const r=rh(s[1]);if(r==="__proto__"||r==="constructor")continue;const o=L_(s[2]||"");typeof t[r]<"u"?Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]:t[r]=o}return t}function I_(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${la(e)}=${qa(n)}`).join("&"):`${la(e)}=${qa(t)}`:la(e)}function j_(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>I_(t,e[t])).join("&")}const M_=/^\w{2,}:([/\\]{1,2})/,D_=/^\w{2,}:([/\\]{2})?/,F_=/^([/\\]\s*){2,}[^/\\]/;function Us(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?M_.test(e):D_.test(e)||(t.acceptRelative?F_.test(e):!1)}const B_=/\/$|\/\?/;function Ka(e="",t=!1){return t?B_.test(e):e.endsWith("/")}function oc(e="",t=!1){if(!t)return(Ka(e)?e.slice(0,-1):e)||"/";if(!Ka(e,!0))return e||"/";const[n,...s]=e.split("?");return(n.slice(0,-1)||"/")+(s.length>0?`?${s.join("?")}`:"")}function ih(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(Ka(e,!0))return e||"/";const[n,...s]=e.split("?");return n+"/"+(s.length>0?`?${s.join("?")}`:"")}function H_(e=""){return e.startsWith("/")}function z_(e=""){return(H_(e)?e.slice(1):e)||"/"}function U_(e,t){if(lh(t)||Us(e))return e;const n=oc(t);return e.startsWith(n)?e:lo(n,e)}function yu(e,t){if(lh(t))return e;const n=oc(t);if(!e.startsWith(n))return e;const s=e.slice(n.length);return s[0]==="/"?s:"/"+s}function ah(e,t){const n=co(e),s={...oh(n.search),...t};return n.search=j_(s),W_(n)}function lh(e){return!e||e==="/"}function V_(e){return e&&e!=="/"}function lo(e,...t){let n=e||"";for(const s of t.filter(r=>V_(r)))n=n?ih(n)+z_(s):s;return n}function co(e="",t){if(!Us(e,{acceptRelative:!0}))return t?co(t+e):_u(e);const[n="",s,r=""]=(e.replace(/\\/g,"/").match(/([^/:]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[o="",i=""]=(r.match(/([^#/?]*)(.*)?/)||[]).splice(1),{pathname:a,search:c,hash:l}=_u(i.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:n,auth:s?s.slice(0,Math.max(0,s.length-1)):"",host:o,pathname:a,search:c,hash:l}}function _u(e=""){const[t="",n="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:s}}function W_(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 G_ extends Error{constructor(){super(...arguments),this.name="FetchError"}}function q_(e,t,n){let s="";t&&(s=t.message),e&&n?s=`${s} (${n.status} ${n.statusText} (${e.toString()}))`:e&&(s=`${s} (${e.toString()})`);const r=new G_(s);return Object.defineProperty(r,"request",{get(){return e}}),Object.defineProperty(r,"response",{get(){return n}}),Object.defineProperty(r,"data",{get(){return n&&n._data}}),Object.defineProperty(r,"status",{get(){return n&&n.status}}),Object.defineProperty(r,"statusText",{get(){return n&&n.statusText}}),Object.defineProperty(r,"statusCode",{get(){return n&&n.status}}),Object.defineProperty(r,"statusMessage",{get(){return n&&n.statusText}}),r}const K_=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function bu(e="GET"){return K_.has(e.toUpperCase())}function X_(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 J_=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Y_=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Q_(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Y_.test(t)?"json":J_.has(t)||t.startsWith("text/")?"text":"blob"}function Z_(e,t,n=globalThis.Headers){const s={...t,...e};if(t?.params&&e?.params&&(s.params={...t?.params,...e?.params}),t?.query&&e?.query&&(s.query={...t?.query,...e?.query}),t?.headers&&e?.headers){s.headers=new n(t?.headers||{});for(const[r,o]of new n(e?.headers||{}))s.headers.set(r,o)}return s}const e0=new Set([408,409,425,429,500,502,503,504]);function ch(e){const{fetch:t,Headers:n}=e;function s(i){const a=i.error&&i.error.name==="AbortError"||!1;if(i.options.retry!==!1&&!a){let l;typeof i.options.retry=="number"?l=i.options.retry:l=bu(i.options.method)?0:1;const d=i.response&&i.response.status||500;if(l>0&&e0.has(d))return r(i.request,{...i.options,retry:l-1})}const c=q_(i.request,i.error,i.response);throw Error.captureStackTrace&&Error.captureStackTrace(c,r),c}const r=async function(a,c={}){const l={request:a,options:Z_(c,e.defaults,n),response:void 0,error:void 0};l.options.onRequest&&await l.options.onRequest(l),typeof l.request=="string"&&(l.options.baseURL&&(l.request=U_(l.request,l.options.baseURL)),(l.options.query||l.options.params)&&(l.request=ah(l.request,{...l.options.params,...l.options.query})),l.options.body&&bu(l.options.method)&&X_(l.options.body)&&(l.options.body=typeof l.options.body=="string"?l.options.body:JSON.stringify(l.options.body),l.options.headers=new n(l.options.headers||{}),l.options.headers.has("content-type")||l.options.headers.set("content-type","application/json"),l.options.headers.has("accept")||l.options.headers.set("accept","application/json")));try{l.response=await t(l.request,l.options)}catch(u){return l.error=u,l.options.onRequestError&&await l.options.onRequestError(l),await s(l)}const d=(l.options.parseResponse?"json":l.options.responseType)||Q_(l.response.headers.get("content-type")||"");if(d==="json"){const u=await l.response.text(),f=l.options.parseResponse||T_;l.response._data=f(u)}else d==="stream"?l.response._data=l.response.body:l.response._data=await l.response[d]();return l.options.onResponse&&await l.options.onResponse(l),!l.options.ignoreResponseError&&l.response.status>=400&&l.response.status<600?(l.options.onResponseError&&await l.options.onResponseError(l),await s(l)):l.response},o=async function(a,c){return(await r(a,c))._data};return o.raw=r,o.native=t,o.create=(i={})=>ch({...e,defaults:{...e.defaults,...i}}),o}const uh=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")}(),t0=uh.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),n0=uh.Headers,s0=ch({fetch:t0,Headers:n0}),r0=s0,o0=()=>window?.__NUXT__?.config||{},Zo=o0().app,i0=()=>Zo.baseURL,a0=()=>Zo.buildAssetsDir,l0=(...e)=>lo(fh(),a0(),...e),fh=(...e)=>{const t=Zo.cdnURL||Zo.baseURL;return e.length?lo(t,...e):t};globalThis.__buildAssetsURL=l0,globalThis.__publicAssetsURL=fh;function Xa(e,t={},n){for(const s in e){const r=e[s],o=n?`${n}:${s}`:s;typeof r=="object"&&r!==null?Xa(r,t,o):typeof r=="function"&&(t[o]=r)}return t}const c0={run:e=>e()},u0=()=>c0,dh=typeof console.createTask<"u"?console.createTask:u0;function f0(e,t){const n=t.shift(),s=dh(n);return e.reduce((r,o)=>r.then(()=>s.run(()=>o(...t))),Promise.resolve())}function d0(e,t){const n=t.shift(),s=dh(n);return Promise.all(e.map(r=>s.run(()=>r(...t))))}function ca(e,t){for(const n of[...e])n(t)}class p0{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,s={}){if(!t||typeof n!="function")return()=>{};const r=t;let o;for(;this._deprecatedHooks[t];)o=this._deprecatedHooks[t],t=o.to;if(o&&!s.allowDeprecated){let i=o.message;i||(i=`${r} 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 s,r=(...o)=>(typeof s=="function"&&s(),s=void 0,r=void 0,n(...o));return s=this.hook(t,r),s}removeHook(t,n){if(this._hooks[t]){const s=this._hooks[t].indexOf(n);s!==-1&&this._hooks[t].splice(s,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const s=this._hooks[t]||[];delete this._hooks[t];for(const r of s)this.hook(t,r)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Xa(t),s=Object.keys(n).map(r=>this.hook(r,n[r]));return()=>{for(const r of s.splice(0,s.length))r()}}removeHooks(t){const n=Xa(t);for(const s in n)this.removeHook(s,n[s])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(f0,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(d0,t,...n)}callHookWith(t,n,...s){const r=this._before||this._after?{name:n,args:s,context:{}}:void 0;this._before&&ca(this._before,r);const o=t(n in this._hooks?[...this._hooks[n]]:[],s);return o instanceof Promise?o.finally(()=>{this._after&&r&&ca(this._after,r)}):(this._after&&r&&ca(this._after,r),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 ph(){return new p0}function h0(e={}){let t,n=!1;const s=i=>{if(t&&t!==i)throw new Error("Context conflict")};let r;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?r=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const o=()=>{if(r&&t===void 0){const i=r.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||s(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{s(i),t=i;try{return r?r.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const c=()=>{t=i},l=()=>t===i?c:void 0;Ja.add(l);try{const d=r?r.run(i,a):a();return n||(t=void 0),await d}finally{Ja.delete(l)}}}}function m0(e={}){const t={};return{get(n,s={}){return t[n]||(t[n]=h0({...e,...s})),t[n],t[n]}}}const ei=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},wu="__unctx__",g0=ei[wu]||(ei[wu]=m0()),v0=(e,t={})=>g0.get(e,t),xu="__unctx_async_handlers__",Ja=ei[xu]||(ei[xu]=new Set);function ti(e){const t=[];for(const r of Ja){const o=r();o&&t.push(o)}const n=()=>{for(const r of t)r()};let s=e();return s&&typeof s=="object"&&"catch"in s&&(s=s.catch(r=>{throw n(),r})),[s,n]}const hh=v0("nuxt-app"),y0="__nuxt_plugin";function _0(e){let t=0;const n={provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.6.2"},get vue(){return n.vueApp.version}},payload:At({data:{},state:{},_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:r=>x0(n,r),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let r=!1;return()=>{if(!r&&(r=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=ph(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(r,o)=>{const i="$"+r;No(n,i,o),No(n.vueApp.config.globalProperties,i,o)},No(n.vueApp,"$nuxt",n),No(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",o=>{n.callHook("app:chunkError",{error:o.payload})}),window.useNuxtApp=window.useNuxtApp||Ce;const r=n.hook("app:error",(...o)=>{console.error("[nuxt] error caught during app initialization",...o)});n.hook("app:mounted",r)}const s=At(n.payload.config);return n.provide("config",s),n}async function b0(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 s in n)e.provide(s,n[s])}}async function w0(e,t){const n=[],s=[];for(const r of t){const o=b0(e,r);r.parallel?n.push(o.catch(i=>s.push(i))):await o}if(await Promise.all(n),s.length)throw s[0]}/*! @__NO_SIDE_EFFECTS__ */function Ct(e){return typeof e=="function"?e:(delete e.name,Object.assign(e.setup||(()=>{}),e,{[y0]:!0}))}function x0(e,t,n){const s=()=>n?t(...n):t();return hh.set(e),e.vueApp.runWithContext(s)}/*! @__NO_SIDE_EFFECTS__ */function Ce(){let e;if(Ap()&&(e=Ot()?.appContext.app.$nuxt),e=e||hh.tryUse(),!e)throw new Error("[nuxt] instance unavailable");return e}/*! @__NO_SIDE_EFFECTS__ */function ic(){return Ce().$config}function No(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const E0="modulepreload",S0=function(e,t){return e.startsWith(".")?new URL(e,t).href:e},Eu={},T0=function(t,n,s){if(!n||n.length===0)return t();const r=document.getElementsByTagName("link");return Promise.all(n.map(o=>{if(o=S0(o,s),o in Eu)return;Eu[o]=!0;const i=o.endsWith(".css"),a=i?'[rel="stylesheet"]':"";if(!!s)for(let d=r.length-1;d>=0;d--){const u=r[d];if(u.href===o&&(!i||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${a}`))return;const l=document.createElement("link");if(l.rel=i?"stylesheet":E0,i||(l.as="script",l.crossOrigin=""),l.href=o,document.head.appendChild(l),i)return new Promise((d,u)=>{l.addEventListener("load",d),l.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${o}`)))})})).then(()=>t())},Ae=(...e)=>T0(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),N0=-1,$0=-2,k0=-3,P0=-4,A0=-5,R0=-6;function O0(e,t){return C0(JSON.parse(e),t)}function C0(e,t){if(typeof e=="number")return r(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,s=Array(n.length);function r(o,i=!1){if(o===N0)return;if(o===k0)return NaN;if(o===P0)return 1/0;if(o===A0)return-1/0;if(o===R0)return-0;if(i)throw new Error("Invalid input");if(o in s)return s[o];const a=n[o];if(!a||typeof a!="object")s[o]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const c=a[0],l=t?.[c];if(l)return s[o]=l(r(a[1]));switch(c){case"Date":s[o]=new Date(a[1]);break;case"Set":const d=new Set;s[o]=d;for(let h=1;h<a.length;h+=1)d.add(r(a[h]));break;case"Map":const u=new Map;s[o]=u;for(let h=1;h<a.length;h+=2)u.set(r(a[h]),r(a[h+1]));break;case"RegExp":s[o]=new RegExp(a[1],a[2]);break;case"Object":s[o]=Object(a[1]);break;case"BigInt":s[o]=BigInt(a[1]);break;case"null":const f=Object.create(null);s[o]=f;for(let h=1;h<a.length;h+=2)f[a[h]]=r(a[h+1]);break;default:throw new Error(`Unknown type ${c}`)}}else{const c=new Array(a.length);s[o]=c;for(let l=0;l<a.length;l+=1){const d=a[l];d!==$0&&(c[l]=r(d))}}else{const c={};s[o]=c;for(const l in a){const d=a[l];c[l]=r(d)}}return s[o]}return r(0)}function L0(e){return Array.isArray(e)?e:[e]}const mh=["title","script","style","noscript"],gh=["base","meta","link","style","script","noscript"],I0=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],j0=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],M0=["tagPosition","tagPriority","tagDuplicateStrategy","innerHTML","textContent"];function vh(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 Ya(e){return vh(`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function D0(e){let t=9;for(const n of e)for(let s=0;s<n.length;)t=Math.imul(t^n.charCodeAt(s++),9**9);return((t^t>>>9)+65536).toString(16).substring(1,8).toLowerCase()}function yh(e,t){const{props:n,tag:s}=e;if(j0.includes(s))return s;if(s==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const r=["id"];s==="meta"&&r.push("name","property","http-equiv");for(const o of r)if(typeof n[o]<"u"){const i=String(n[o]);return t&&!t(i)?!1:`${s}:${o}:${i}`}return!1}function Su(e,t){return e==null?t||null:typeof e=="function"?e(t):e}function $o(e,t=!1,n){const{tag:s,$el:r}=e;r&&(Object.entries(s.props).forEach(([o,i])=>{i=String(i);const a=`attr:${o}`;if(o==="class"){if(!i)return;for(const c of i.split(" ")){const l=`${a}:${c}`;n&&n(e,l,()=>r.classList.remove(c)),r.classList.contains(c)||r.classList.add(c)}return}n&&!o.startsWith("data-h-")&&n(e,a,()=>r.removeAttribute(o)),(t||r.getAttribute(o)!==i)&&r.setAttribute(o,i)}),mh.includes(s.tag)&&(s.textContent&&s.textContent!==r.textContent?r.textContent=s.textContent:s.innerHTML&&s.innerHTML!==r.innerHTML&&(r.innerHTML=s.innerHTML)))}let Ys=!1;async function F0(e,t={}){const n={shouldRender:!0};if(await e.hooks.callHook("dom:beforeRender",n),!n.shouldRender)return;const s=t.document||e.resolvedOptions.document||window.document,r=(await e.resolveTags()).map(a);if(e.resolvedOptions.experimentalHashHydration&&(Ys=Ys||e._hash||!1,Ys)){const f=D0(r.map(h=>h.tag._h));if(Ys===f)return;Ys=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||Ya(f),$el:null,shouldRender:!0,tag:f,entry:h,markSideEffect:(v,w)=>i(p,v,w)};return p}const c=[],l={body:[],head:[]},d=f=>{e._elMap[f.renderId]=f.$el,c.push(f),i(f,"el",()=>{f.$el?.remove(),delete e._elMap[f.renderId]})};for(const f of r){if(await e.hooks.callHook("dom:beforeRenderTag",f),!f.shouldRender)continue;const{tag:h}=f;if(h.tag==="title"){s.title=h.textContent||"",c.push(f);continue}if(h.tag==="htmlAttrs"||h.tag==="bodyAttrs"){f.$el=s[h.tag==="htmlAttrs"?"documentElement":"body"],$o(f,!1,i),c.push(f);continue}if(f.$el=e._elMap[f.renderId],!f.$el&&h.key&&(f.$el=s.querySelector(`${h.tagPosition?.startsWith("body")?"body":"head"} > ${h.tag}[data-h-${h._h}]`)),f.$el){f.tag._d&&$o(f),d(f);continue}l[h.tagPosition?.startsWith("body")?"body":"head"].push(f)}const u={bodyClose:void 0,bodyOpen:void 0,head:void 0};Object.entries(l).forEach(([f,h])=>{if(!h.length)return;const p=s?.[f]?.children;if(p){for(const v of[...p].reverse()){const w=v.tagName.toLowerCase();if(!gh.includes(w))continue;const y=v.getAttributeNames().reduce((S,m)=>({...S,[m]:v.getAttribute(m)}),{}),g={tag:w,props:y};v.innerHTML&&(g.innerHTML=v.innerHTML);const _=Ya(g);let b=h.findIndex(S=>S?.renderId===_);if(b===-1){const S=yh(g);b=h.findIndex(m=>m?.tag._d&&m.tag._d===S)}if(b!==-1){const S=h[b];S.$el=v,$o(S),d(S),delete h[b]}}h.forEach(v=>{const w=v.tag.tagPosition||"head";u[w]=u[w]||s.createDocumentFragment(),v.$el||(v.$el=s.createElement(v.tag.tag),$o(v,!0)),u[w].appendChild(v.$el),d(v)})}}),u.head&&s.head.appendChild(u.head),u.bodyOpen&&s.body.insertBefore(u.bodyOpen,s.body.firstChild),u.bodyClose&&s.body.appendChild(u.bodyClose);for(const f of c)await e.hooks.callHook("dom:renderTag",f);Object.values(o).forEach(f=>f())}let ua=null;async function B0(e,t={}){function n(){return ua=null,F0(e,t)}const s=t.delayFn||(r=>setTimeout(r,10));return ua=ua||new Promise(r=>s(()=>r(n())))}function H0(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),B0(t,{document:e?.document||window.document,delayFn:n})}}}}function z0(e){return e?.head.querySelector('meta[name="unhead:ssr"]')?.getAttribute("content")||!1}const Tu={base:-1,title:1},Nu={critical:-8,high:-1,low:2};function ni(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 Tu&&(t=Tu[e.tag]),typeof n=="string"&&n in Nu?t+Nu[n]:t)}const U0=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}];function V0(){return{hooks:{"tags:resolve":e=>{const t=n=>e.tags.find(s=>s._d===n)?._p;for(const{prefix:n,offset:s}of U0)for(const r of e.tags.filter(o=>typeof o.tagPriority=="string"&&o.tagPriority.startsWith(n))){const o=t(r.tagPriority.replace(n,""));typeof o<"u"&&(r._p=o+s)}e.tags.sort((n,s)=>n._p-s._p).sort((n,s)=>ni(n)-ni(s))}}}}function W0(){return{hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(r=>r.tag==="titleTemplate");const s=t.findIndex(r=>r.tag==="title");if(s!==-1&&n!==-1){const r=Su(t[n].textContent,t[s].textContent);r!==null?t[s].textContent=r||t[s].textContent:delete t[s]}else if(n!==-1){const r=Su(t[n].textContent);r!==null&&(t[n].textContent=r,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}}}function G0(){return{hooks:{"tag:normalise":function({tag:e}){typeof e.props.body<"u"&&(e.tagPosition="bodyClose",delete e.props.body)}}}}const q0=["link","style","script","noscript"];function K0(){return{hooks:{"tag:normalise":({tag:e,resolvedOptions:t})=>{t.experimentalHashHydration===!0&&(e._h=Ya(e)),e.key&&q0.includes(e.tag)&&(e._h=vh(e.key),e.props[`data-h-${e._h}`]="")}}}}const $u=["script","link","bodyAttrs"];function X0(){const e=(t,n)=>{const s={},r={};Object.entries(n.props).forEach(([i,a])=>{i.startsWith("on")&&typeof a=="function"?r[i]=a:s[i]=a});let o;return t==="dom"&&n.tag==="script"&&typeof s.src=="string"&&typeof r.onload<"u"&&(o=s.src,delete s.src),{props:s,eventHandlers:r,delayedSrc:o}};return{hooks:{"ssr:render":function(t){t.tags=t.tags.map(n=>(!$u.includes(n.tag)||!Object.entries(n.props).find(([s,r])=>s.startsWith("on")&&typeof r=="function")||(n.props=e("ssr",n).props),n))},"dom:beforeRenderTag":function(t){if(!$u.includes(t.tag.tag)||!Object.entries(t.tag.props).find(([o,i])=>o.startsWith("on")&&typeof i=="function"))return;const{props:n,eventHandlers:s,delayedSrc:r}=e("dom",t.tag);Object.keys(s).length&&(t.tag.props=n,t.tag._eventHandlers=s,t.tag._delayedSrc=r)},"dom:renderTag":function(t){const n=t.$el;if(!t.tag._eventHandlers||!n)return;const s=t.tag.tag==="bodyAttrs"&&typeof window<"u"?window:n;Object.entries(t.tag._eventHandlers).forEach(([r,o])=>{const i=`${t.tag._d||t.tag._p}:${r}`,a=r.slice(2).toLowerCase(),c=`data-h-${a}`;if(t.markSideEffect(i,()=>{}),n.hasAttribute(c))return;const l=o;n.setAttribute(c,""),s.addEventListener(a,l),t.entry&&(t.entry._sde[i]=()=>{s.removeEventListener(a,l),n.removeAttribute(c)})}),t.tag._delayedSrc&&n.setAttribute("src",t.tag._delayedSrc)}}}}const J0=["templateParams","htmlAttrs","bodyAttrs"];function Y0(){return{hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(s=>{e.props[s]&&(e.key=e.props[s],delete e.props[s])});const n=yh(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(s=>{const r=(s.key?`${s.tag}:${s.key}`:s._d)||s._p,o=t[r];if(o){let a=s?.tagDuplicateStrategy;if(!a&&J0.includes(s.tag)&&(a="merge"),a==="merge"){const c=o.props;["class","style"].forEach(l=>{s.props[l]&&c[l]&&(l==="style"&&!c[l].endsWith(";")&&(c[l]+=";"),s.props[l]=`${c[l]} ${s.props[l]}`)}),t[r].props={...c,...s.props};return}else if(s._e===o._e){o._duped=o._duped||[],s._d=`${o._d}:${o._duped.length+1}`,o._duped.push(s);return}else if(ni(s)>ni(o))return}const i=Object.keys(s.props).length+(s.innerHTML?1:0)+(s.textContent?1:0);if(gh.includes(s.tag)&&i===0){delete t[r];return}t[r]=s});const n=[];Object.values(t).forEach(s=>{const r=s._duped;delete s._duped,n.push(s),r&&n.push(...r)}),e.tags=n}}}}function Qs(e,t){if(typeof e!="string")return e;function n(i){if(["s","pageTitle"].includes(i))return t.pageTitle;let a;return i.includes(".")?a=i.split(".").reduce((c,l)=>c&&c[l]||void 0,t):a=t[i],typeof a<"u"?a||"":!1}let s=e;try{s=decodeURI(e)}catch{}(s.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=n(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),`${a}$1`).trim())});const o=t.separator;return e.includes(o)&&(e.endsWith(o)&&(e=e.slice(0,-o.length).trim()),e.startsWith(o)&&(e=e.slice(o.length).trim()),e=e.replace(new RegExp(`\\${o}\\s*\\${o}`,"g"),o)),e}function Q0(){return{hooks:{"tags:resolve":e=>{const{tags:t}=e,n=t.find(o=>o.tag==="title")?.textContent,s=t.findIndex(o=>o.tag==="templateParams"),r=s!==-1?t[s].props:{};r.separator=r.separator||"|",r.pageTitle=Qs(r.pageTitle||n||"",r);for(const o of t)if(["titleTemplate","title"].includes(o.tag)&&typeof o.textContent=="string")o.textContent=Qs(o.textContent,r);else if(o.tag==="meta"&&typeof o.props.content=="string")o.props.content=Qs(o.props.content,r);else if(o.tag==="link"&&typeof o.props.href=="string")o.props.href=Qs(o.props.href,r);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"?Qs(a,r):a)}catch{}e.tags=t.filter(o=>o.tag!=="templateParams")}}}}const Z0=typeof window<"u";let _h;function eb(e){return _h=e}function tb(){return _h}async function nb(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 rb(e,{...t}),n.props.children&&(n.props.innerHTML=n.props.children),delete n.props.children,Object.keys(n.props).filter(s=>M0.includes(s)).forEach(s=>{(!["innerHTML","textContent"].includes(s)||mh.includes(n.tag))&&(n[s]=n.props[s]),delete n.props[s]}),["innerHTML","textContent"].forEach(s=>{if(n.tag==="script"&&typeof n[s]=="string"&&["application/ld+json","application/json"].includes(n.props.type))try{n[s]=JSON.parse(n[s])}catch{n[s]=""}typeof n[s]=="object"&&(n[s]=JSON.stringify(n[s]))}),n.props.class&&(n.props.class=sb(n.props.class)),n.props.content&&Array.isArray(n.props.content)?n.props.content.map(s=>({...n,props:{...n.props,content:s}})):n)}function sb(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 rb(e,t){for(const n of Object.keys(t)){const s=n.startsWith("data-");t[n]instanceof Promise&&(t[n]=await t[n]),String(t[n])==="true"?t[n]=s?"true":"":String(t[n])==="false"&&(s?t[n]="false":delete t[n])}return t}const ob=10;async function ib(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,s])=>typeof s<"u"&&I0.includes(n)).forEach(([n,s])=>{const r=L0(s);t.push(...r.map(o=>nb(n,o)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,s)=>(n._e=e._i,n._p=(e._i<<ob)+s,n))}function ab(){return[Y0(),V0(),Q0(),W0(),K0(),X0(),G0()]}function lb(e={}){return[H0({document:e?.document,delayFn:e?.domDelayFn})]}function cb(e={}){const t=ub({...e,plugins:[...lb(e),...e?.plugins||[]]});return e.experimentalHashHydration&&t.resolvedOptions.document&&(t._hash=z0(t.resolvedOptions.document)),eb(t),t}function ub(e={}){let t=[],n={},s=0;const r=ph();e?.hooks&&r.addHooks(e.hooks),e.plugins=[...ab(),...e?.plugins||[]],e.plugins.forEach(a=>a.hooks&&r.addHooks(a.hooks)),e.document=e.document||(Z0?document:void 0);const o=()=>r.callHook("entries:updated",i),i={resolvedOptions:e,headEntries(){return t},get hooks(){return r},use(a){a.hooks&&r.addHooks(a.hooks)},push(a,c){const l={_i:s++,input:a,_sde:{}};return c?.mode&&(l._m=c?.mode),c?.transform&&(l._t=c?.transform),t.push(l),o(),{dispose(){t=t.filter(d=>d._i!==l._i?!0:(n={...n,...d._sde||{}},d._sde={},o(),!1))},patch(d){t=t.map(u=>(u._i===l._i&&(l.input=u.input=d,o()),u))}}},async resolveTags(){const a={tags:[],entries:[...t]};await r.callHook("entries:resolve",a);for(const c of a.entries){const l=c._t||(d=>d);if(c.resolvedInput=l(c.resolvedInput||c.input),c.resolvedInput)for(const d of await ib(c)){const u={tag:d,entry:c,resolvedOptions:i.resolvedOptions};await r.callHook("tag:normalise",u),a.tags.push(u.tag)}}return await r.callHook("tags:resolve",a),a.tags},_popSideEffectQueue(){const a={...n};return n={},a},_elMap:{}};return i.hooks.callHook("init",i),i}function fb(e){return typeof e=="function"?e():q(e)}function si(e,t=""){if(e instanceof Promise)return e;const n=fb(e);return!e||!n?n:Array.isArray(n)?n.map(s=>si(s,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([s,r])=>s==="titleTemplate"||s.startsWith("on")?[s,q(r)]:[s,si(r,s)])):n}const db=Vp.startsWith("3"),pb=typeof window<"u",bh="usehead";function ac(){return Ot()&&ot(bh)||tb()}function hb(e){return{install(n){db&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(bh,e))}}.install}function mb(e={}){const t=cb({...e,domDelayFn:n=>setTimeout(()=>xt(()=>n()),10),plugins:[gb(),...e?.plugins||[]]});return t.install=hb(t),t}function gb(){return{hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=si(t.input)}}}}function vb(e,t={}){const n=ac(),s=Z(!1),r=Z({});Qn(()=>{r.value=s.value?{}:si(e)});const o=n.push(r.value,t);return Be(r,a=>{o.patch(a)}),Ot()&&(zs(()=>{o.dispose()}),xp(()=>{s.value=!0}),wp(()=>{s.value=!1})),o}function yb(e,t={}){return ac().push(e,t)}function _b(e,t={}){const n=ac();if(n){const s=pb||!!n.resolvedOptions?.document;return t.mode==="server"&&s||t.mode==="client"&&!s?void 0:s?vb(e,t):yb(e,t)}}const bb={meta:[{name:"viewport",content:"width=device-width, initial-scale=1"},{charset:"utf-8"}],link:[],style:[],script:[],noscript:[]},wb=!1,Qa=!1,xb=!1,Eb="__nuxt",Sb=!0;function ku(e,t={}){const n=Tb(e,t),s=Ce(),r=s._payloadCache=s._payloadCache||{};return r[n]||(r[n]=wh(n).then(o=>o||(delete r[n],null))),r[n]}const Pu="json";function Tb(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"||Us(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const s=t.hash||(t.fresh?Date.now():"");return lo(ic().app.baseURL,n.pathname,s?`_payload.${s}.${Pu}`:`_payload.${Pu}`)}async function wh(e){try{return Sb?xh(await fetch(e).then(t=>t.text())):await Ae(()=>import(e),[],import.meta.url).then(t=>t.default||t)}catch(t){console.warn("[nuxt] Cannot load payload ",e,t)}return null}function Nb(){return!!Ce().payload.prerenderedAt}let ko=null;async function $b(){if(ko)return ko;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=xh(e.textContent||""),n=e.dataset.src?await wh(e.dataset.src):void 0;return ko={...t,...n,...window.__NUXT__},ko}function xh(e){return O0(e,Ce()._payloadRevivers)}function kb(e,t){Ce()._payloadRevivers[e]=t}function fa(e){return e!==null&&typeof e=="object"}function Za(e,t,n=".",s){if(!fa(t))return Za(e,{},n,s);const r=Object.assign({},t);for(const o in e){if(o==="__proto__"||o==="constructor")continue;const i=e[o];i!=null&&(s&&s(r,o,i,n)||(Array.isArray(i)&&Array.isArray(r[o])?r[o]=[...i,...r[o]]:fa(i)&&fa(r[o])?r[o]=Za(i,r[o],(n?`${n}.`:"")+o.toString(),s):r[o]=i))}return r}function Pb(e){return(...t)=>t.reduce((n,s)=>Za(n,s,"",e),{})}const Ab=Pb();class el extends Error{constructor(){super(...arguments),this.statusCode=500,this.fatal=!1,this.unhandled=!1}toJSON(){const t={message:this.message,statusCode:nl(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=Eh(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}el.__h3_error__=!0;function tl(e){if(typeof e=="string")return new el(e);if(Rb(e))return e;const t=new el(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=nl(e.statusCode,t.statusCode):e.status&&(t.statusCode=nl(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;Eh(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 Rb(e){return e?.constructor?.__h3_error__===!0}const Ob=/[^\u0009\u0020-\u007E]/g;function Eh(e=""){return e.replace(Ob,"")}function nl(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const Cb="$s";function is(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,s]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(s!==void 0&&typeof s!="function")throw new Error("[nuxt] [useState] init must be a function: "+s);const r=Cb+n,o=Ce(),i=Si(o.payload.state,r);if(i.value===void 0&&s){const a=s();if(Fe(a))return o.payload.state[r]=a,a;i.value=a}return i}const Sh=Symbol("layout-meta"),uo=Symbol("route"),nt=()=>Ce()?.$router,fo=()=>Ap()?ot(uo,Ce()._route):Ce()._route;/*! @__NO_SIDE_EFFECTS__ */const Lb=()=>{try{if(Ce()._processingMiddleware)return!0}catch{return!0}return!1},Th=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:ah(e.path||"/",e.query||{})+(e.hash||"");if(t?.open){{const{target:a="_blank",windowFeatures:c={}}=t.open,l=Object.entries(c).filter(([d,u])=>u!==void 0).map(([d,u])=>`${d.toLowerCase()}=${u}`).join(", ");open(n,a,l)}return Promise.resolve()}const s=t?.external||Us(n,{acceptRelative:!0});if(s&&!t?.external)throw new Error("Navigating to external URL is not allowed by default. Use `navigateTo (url, { external: true })`.");if(s&&co(n).protocol==="script:")throw new Error("Cannot navigate to an URL with script protocol.");const r=Lb();if(!s&&r)return e;const o=nt(),i=Ce();return s?(t?.replace?location.replace(n):location.href=n,r?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t?.replace?o.replace(e):o.push(e)},Ci=()=>Si(Ce().payload,"error"),ms=e=>{const t=Li(e);try{const n=Ce(),s=Ci();n.hooks.callHook("app:error",t),s.value=s.value||t}catch{throw t}return t},Ib=async(e={})=>{const t=Ce(),n=Ci();t.callHook("app:error:cleared",e),e.redirect&&await nt().replace(e.redirect),n.value=null},jb=e=>!!(e&&typeof e=="object"&&"__nuxt_error"in e),Li=e=>{const t=tl(e);return t.__nuxt_error=!0,t},Au={NuxtError:e=>Li(e),EmptyShallowRef:e=>rn(e==="_"?void 0:e==="0n"?BigInt(0):JSON.parse(e)),EmptyRef:e=>Z(e==="_"?void 0:e==="0n"?BigInt(0):JSON.parse(e)),ShallowRef:e=>rn(e),ShallowReactive:e=>Bs(e),Ref:e=>Z(e),Reactive:e=>At(e)},Mb=Ct({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const s in Au)kb(s,Au[s]);Object.assign(e.payload,([t,n]=ti(()=>e.runWithContext($b)),t=await t,n(),t)),window.__NUXT__=e.payload}});/*!
|
|
2
|
+
* vue-router v4.2.4
|
|
3
|
+
* (c) 2023 Eduardo San Martin Morote
|
|
4
|
+
* @license MIT
|
|
5
|
+
*/const hs=typeof window<"u";function Db(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const je=Object.assign;function da(e,t){const n={};for(const s in t){const r=t[s];n[s]=Rt(r)?r.map(e):e(r)}return n}const Ir=()=>{},Rt=Array.isArray,Fb=/\/$/,Bb=e=>e.replace(Fb,"");function pa(e,t,n="/"){let s,r={},o="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return a<c&&a>=0&&(c=-1),c>-1&&(s=t.slice(0,c),o=t.slice(c+1,a>-1?a:t.length),r=e(o)),a>-1&&(s=s||t.slice(0,a),i=t.slice(a,t.length)),s=Vb(s??t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:i}}function Hb(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ru(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function zb(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Os(t.matched[s],n.matched[r])&&Nh(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Os(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Nh(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Ub(e[n],t[n]))return!1;return!0}function Ub(e,t){return Rt(e)?Ou(e,t):Rt(t)?Ou(t,e):e===t}function Ou(e,t){return Rt(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Vb(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,a;for(i=0;i<s.length;i++)if(a=s[i],a!==".")if(a==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i-(i===s.length?1:0)).join("/")}var Zr;(function(e){e.pop="pop",e.push="push"})(Zr||(Zr={}));var jr;(function(e){e.back="back",e.forward="forward",e.unknown=""})(jr||(jr={}));function Wb(e){if(!e)if(hs){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Bb(e)}const Gb=/^[^#]+#/;function qb(e,t){return e.replace(Gb,"#")+t}function Kb(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Ii=()=>({left:window.pageXOffset,top:window.pageYOffset});function Xb(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Kb(r,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 Cu(e,t){return(history.state?history.state.position-t:-1)+e}const sl=new Map;function Jb(e,t){sl.set(e,t)}function Yb(e){const t=sl.get(e);return sl.delete(e),t}let Qb=()=>location.protocol+"//"+location.host;function $h(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let a=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(a);return c[0]!=="/"&&(c="/"+c),Ru(c,"")}return Ru(n,e)+s+r}function Zb(e,t,n,s){let r=[],o=[],i=null;const a=({state:f})=>{const h=$h(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 s(h);r.forEach(y=>{y(n.value,p,{delta:w,type:Zr.pop,direction:w?w>0?jr.forward:jr.back:jr.unknown})})};function c(){i=n.value}function l(f){r.push(f);const h=()=>{const p=r.indexOf(f);p>-1&&r.splice(p,1)};return o.push(h),h}function d(){const{history:f}=window;f.state&&f.replaceState(je({},f.state,{scroll:Ii()}),"")}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:c,listen:l,destroy:u}}function Lu(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Ii():null}}function e1(e){const{history:t,location:n}=window,s={value:$h(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,l,d){const u=e.indexOf("#"),f=u>-1?(n.host&&document.querySelector("base")?e:e.slice(u))+c:Qb()+e+c;try{t[d?"replaceState":"pushState"](l,"",f),r.value=l}catch(h){console.error(h),n[d?"replace":"assign"](f)}}function i(c,l){const d=je({},t.state,Lu(r.value.back,c,r.value.forward,!0),l,{position:r.value.position});o(c,d,!0),s.value=c}function a(c,l){const d=je({},r.value,t.state,{forward:c,scroll:Ii()});o(d.current,d,!0);const u=je({},Lu(s.value,c,null),{position:d.position+1},l);o(c,u,!1),s.value=c}return{location:s,state:r,push:a,replace:i}}function kh(e){e=Wb(e);const t=e1(e),n=Zb(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=je({location:"",base:e,go:s,createHref:qb.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function t1(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),kh(e)}function n1(e){return typeof e=="string"||e&&typeof e=="object"}function Ph(e){return typeof e=="string"||typeof e=="symbol"}const Dt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ah=Symbol("");var Iu;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Iu||(Iu={}));function Cs(e,t){return je(new Error,{type:e,[Ah]:!0},t)}function qt(e,t){return e instanceof Error&&Ah in e&&(t==null||!!(e.type&t))}const ju="[^/]+?",s1={sensitive:!1,strict:!1,start:!0,end:!0},r1=/[.+*?^${}()[\]/\\]/g;function o1(e,t){const n=je({},s1,t),s=[];let r=n.start?"^":"";const o=[];for(const l of e){const d=l.length?[]:[90];n.strict&&!l.length&&(r+="/");for(let u=0;u<l.length;u++){const f=l[u];let h=40+(n.sensitive?.25:0);if(f.type===0)u||(r+="/"),r+=f.value.replace(r1,"\\$&"),h+=40;else if(f.type===1){const{value:p,repeatable:v,optional:w,regexp:y}=f;o.push({name:p,repeatable:v,optional:w});const g=y||ju;if(g!==ju){h+=10;try{new RegExp(`(${g})`)}catch(b){throw new Error(`Invalid custom RegExp for param "${p}" (${g}): `+b.message)}}let _=v?`((?:${g})(?:/(?:${g}))*)`:`(${g})`;u||(_=w&&l.length<2?`(?:/${_})`:"/"+_),w&&(_+="?"),r+=_,h+=20,w&&(h+=-8),v&&(h+=-20),g===".*"&&(h+=-50)}d.push(h)}s.push(d)}if(n.strict&&n.end){const l=s.length-1;s[l][s[l].length-1]+=.7000000000000001}n.strict||(r+="/?"),n.end?r+="$":n.strict&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function a(l){const d=l.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 c(l){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,y=p in l?l[p]:"";if(Rt(y)&&!v)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const g=Rt(y)?y.join("/"):y;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:s,keys:o,parse:a,stringify:c}}function i1(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;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 a1(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=i1(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(Mu(s))return 1;if(Mu(r))return-1}return r.length-s.length}function Mu(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const l1={type:0,value:""},c1=/[a-zA-Z0-9_]/;function u1(e){if(!e)return[[]];if(e==="/")return[[l1]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${l}": ${h}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let a=0,c,l="",d="";function u(){l&&(n===0?o.push({type:0,value:l}):n===1||n===2||n===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:l,regexp:d,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),l="")}function f(){l+=c}for(;a<e.length;){if(c=e[a++],c==="\\"&&n!==2){s=n,n=4;continue}switch(n){case 0:c==="/"?(l&&u(),i()):c===":"?(u(),n=1):f();break;case 4:f(),n=s;break;case 1:c==="("?n=2:c1.test(c)?f():(u(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--);break;case 2:c===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+c:n=3:d+=c;break;case 3:u(),n=0,c!=="*"&&c!=="?"&&c!=="+"&&a--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),u(),i(),r}function f1(e,t,n){const s=o1(u1(e.path),n),r=je(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function d1(e,t){const n=[],s=new Map;t=Bu({strict:!1,end:!0,sensitive:!1},t);function r(d){return s.get(d)}function o(d,u,f){const h=!f,p=p1(d);p.aliasOf=f&&f.record;const v=Bu(t,d),w=[p];if("alias"in d){const _=typeof d.alias=="string"?[d.alias]:d.alias;for(const b of _)w.push(je({},p,{components:f?f.record.components:p.components,path:b,aliasOf:f?f.record:p}))}let y,g;for(const _ of w){const{path:b}=_;if(u&&b[0]!=="/"){const S=u.record.path,m=S[S.length-1]==="/"?"":"/";_.path=u.record.path+(b&&m+b)}if(y=f1(_,u,v),f?f.alias.push(y):(g=g||y,g!==y&&g.alias.push(y),h&&d.name&&!Fu(y)&&i(d.name)),p.children){const S=p.children;for(let m=0;m<S.length;m++)o(S[m],y,f&&f.children[m])}f=f||y,(y.record.components&&Object.keys(y.record.components).length||y.record.name||y.record.redirect)&&c(y)}return g?()=>{i(g)}:Ir}function i(d){if(Ph(d)){const u=s.get(d);u&&(s.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&&s.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function a(){return n}function c(d){let u=0;for(;u<n.length&&a1(d,n[u])>=0&&(d.record.path!==n[u].record.path||!Rh(d,n[u]));)u++;n.splice(u,0,d),d.record.name&&!Fu(d)&&s.set(d.record.name,d)}function l(d,u){let f,h={},p,v;if("name"in d&&d.name){if(f=s.get(d.name),!f)throw Cs(1,{location:d});v=f.record.name,h=je(Du(u.params,f.keys.filter(g=>!g.optional).map(g=>g.name)),d.params&&Du(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?s.get(u.name):n.find(g=>g.re.test(u.path)),!f)throw Cs(1,{location:d,currentLocation:u});v=f.record.name,h=je({},u.params,d.params),p=f.stringify(h)}const w=[];let y=f;for(;y;)w.unshift(y.record),y=y.parent;return{name:v,path:p,params:h,matched:w,meta:m1(w)}}return e.forEach(d=>o(d)),{addRoute:o,resolve:l,removeRoute:i,getRoutes:a,getRecordMatcher:r}}function Du(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function p1(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:h1(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 h1(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Fu(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function m1(e){return e.reduce((t,n)=>je(t,n.meta),{})}function Bu(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Rh(e,t){return t.children.some(n=>n===e||Rh(e,n))}const Oh=/#/g,g1=/&/g,v1=/\//g,y1=/=/g,_1=/\?/g,Ch=/\+/g,b1=/%5B/g,w1=/%5D/g,Lh=/%5E/g,x1=/%60/g,Ih=/%7B/g,E1=/%7C/g,jh=/%7D/g,S1=/%20/g;function lc(e){return encodeURI(""+e).replace(E1,"|").replace(b1,"[").replace(w1,"]")}function T1(e){return lc(e).replace(Ih,"{").replace(jh,"}").replace(Lh,"^")}function rl(e){return lc(e).replace(Ch,"%2B").replace(S1,"+").replace(Oh,"%23").replace(g1,"%26").replace(x1,"`").replace(Ih,"{").replace(jh,"}").replace(Lh,"^")}function N1(e){return rl(e).replace(y1,"%3D")}function $1(e){return lc(e).replace(Oh,"%23").replace(_1,"%3F")}function k1(e){return e==null?"":$1(e).replace(v1,"%2F")}function ri(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function P1(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<s.length;++r){const o=s[r].replace(Ch," "),i=o.indexOf("="),a=ri(i<0?o:o.slice(0,i)),c=i<0?null:ri(o.slice(i+1));if(a in t){let l=t[a];Rt(l)||(l=t[a]=[l]),l.push(c)}else t[a]=c}return t}function Hu(e){let t="";for(let n in e){const s=e[n];if(n=N1(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Rt(s)?s.map(o=>o&&rl(o)):[s&&rl(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function A1(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Rt(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const R1=Symbol(""),zu=Symbol(""),cc=Symbol(""),uc=Symbol(""),ol=Symbol("");function Zs(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function bn(e,t,n,s,r){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((i,a)=>{const c=u=>{u===!1?a(Cs(4,{from:n,to:t})):u instanceof Error?a(u):n1(u)?a(Cs(2,{from:t,to:u})):(o&&s.enterCallbacks[r]===o&&typeof u=="function"&&o.push(u),i())},l=e.call(s&&s.instances[r],t,n,c);let d=Promise.resolve(l);e.length<3&&(d=d.then(c)),d.catch(u=>a(u))})}function ha(e,t,n,s){const r=[];for(const o of e)for(const i in o.components){let a=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(O1(a)){const l=(a.__vccOpts||a)[t];l&&r.push(bn(l,n,s,o,i))}else{let c=a();r.push(()=>c.then(l=>{if(!l)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const d=Db(l)?l.default:l;o.components[i]=d;const f=(d.__vccOpts||d)[t];return f&&bn(f,n,s,o,i)()}))}}return r}function O1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Uu(e){const t=ot(cc),n=ot(uc),s=me(()=>t.resolve(q(e.to))),r=me(()=>{const{matched:c}=s.value,{length:l}=c,d=c[l-1],u=n.matched;if(!d||!u.length)return-1;const f=u.findIndex(Os.bind(null,d));if(f>-1)return f;const h=Vu(c[l-2]);return l>1&&Vu(d)===h&&u[u.length-1].path!==h?u.findIndex(Os.bind(null,c[l-2])):f}),o=me(()=>r.value>-1&&j1(n.params,s.value.params)),i=me(()=>r.value>-1&&r.value===n.matched.length-1&&Nh(n.params,s.value.params));function a(c={}){return I1(c)?t[q(e.replace)?"replace":"push"](q(e.to)).catch(Ir):Promise.resolve()}return{route:s,href:me(()=>s.value.href),isActive:o,isExactActive:i,navigate:a}}const C1=Ne({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:Uu,setup(e,{slots:t}){const n=At(Uu(e)),{options:s}=ot(cc),r=me(()=>({[Wu(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Wu(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ge("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),L1=C1;function I1(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 j1(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Rt(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function Vu(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Wu=(e,t,n)=>e??t??n,M1=Ne({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ot(ol),r=me(()=>e.route||s.value),o=ot(zu,0),i=me(()=>{let l=q(o);const{matched:d}=r.value;let u;for(;(u=d[l])&&!u.components;)l++;return l}),a=me(()=>r.value.matched[i.value]);Xn(zu,me(()=>i.value+1)),Xn(R1,a),Xn(ol,r);const c=Z();return Be(()=>[c.value,a.value,e.name],([l,d,u],[f,h,p])=>{d&&(d.instances[u]=l,h&&h!==d&&l&&l===f&&(d.leaveGuards.size||(d.leaveGuards=h.leaveGuards),d.updateGuards.size||(d.updateGuards=h.updateGuards))),l&&d&&(!h||!Os(d,h)||!f)&&(d.enterCallbacks[u]||[]).forEach(v=>v(l))},{flush:"post"}),()=>{const l=r.value,d=e.name,u=a.value,f=u&&u.components[d];if(!f)return Gu(n.default,{Component:f,route:l});const h=u.props[d],p=h?h===!0?l.params:typeof h=="function"?h(l):h:null,w=Ge(f,je({},p,t,{onVnodeUnmounted:y=>{y.component.isUnmounted&&(u.instances[d]=null)},ref:c}));return Gu(n.default,{Component:w,route:l})||w}}});function Gu(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Mh=M1;function D1(e){const t=d1(e.routes,e),n=e.parseQuery||P1,s=e.stringifyQuery||Hu,r=e.history,o=Zs(),i=Zs(),a=Zs(),c=rn(Dt);let l=Dt;hs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=da.bind(null,C=>""+C),u=da.bind(null,k1),f=da.bind(null,ri);function h(C,Q){let W,ue;return Ph(C)?(W=t.getRecordMatcher(C),ue=Q):ue=C,t.addRoute(ue,W)}function p(C){const Q=t.getRecordMatcher(C);Q&&t.removeRoute(Q)}function v(){return t.getRoutes().map(C=>C.record)}function w(C){return!!t.getRecordMatcher(C)}function y(C,Q){if(Q=je({},Q||c.value),typeof C=="string"){const j=pa(n,C,Q.path),B=t.resolve({path:j.path},Q),H=r.createHref(j.fullPath);return je(j,B,{params:f(B.params),hash:ri(j.hash),redirectedFrom:void 0,href:H})}let W;if("path"in C)W=je({},C,{path:pa(n,C.path,Q.path).path});else{const j=je({},C.params);for(const B in j)j[B]==null&&delete j[B];W=je({},C,{params:u(j)}),Q.params=u(Q.params)}const ue=t.resolve(W,Q),Se=C.hash||"";ue.params=d(f(ue.params));const R=Hb(s,je({},C,{hash:T1(Se),path:ue.path})),O=r.createHref(R);return je({fullPath:R,hash:Se,query:s===Hu?A1(C.query):C.query||{}},ue,{redirectedFrom:void 0,href:O})}function g(C){return typeof C=="string"?pa(n,C,c.value.path):je({},C)}function _(C,Q){if(l!==C)return Cs(8,{from:Q,to:C})}function b(C){return N(C)}function S(C){return b(je(g(C),{replace:!0}))}function m(C){const Q=C.matched[C.matched.length-1];if(Q&&Q.redirect){const{redirect:W}=Q;let ue=typeof W=="function"?W(C):W;return typeof ue=="string"&&(ue=ue.includes("?")||ue.includes("#")?ue=g(ue):{path:ue},ue.params={}),je({query:C.query,hash:C.hash,params:"path"in ue?{}:C.params},ue)}}function N(C,Q){const W=l=y(C),ue=c.value,Se=C.state,R=C.force,O=C.replace===!0,j=m(W);if(j)return N(je(g(j),{state:typeof j=="object"?je({},Se,j.state):Se,force:R,replace:O}),Q||W);const B=W;B.redirectedFrom=Q;let H;return!R&&zb(s,ue,W)&&(H=Cs(16,{to:B,from:ue}),te(ue,ue,!0,!1)),(H?Promise.resolve(H):k(B,ue)).catch(z=>qt(z)?qt(z,2)?z:le(z):F(z,B,ue)).then(z=>{if(z){if(qt(z,2))return N(je({replace:O},g(z.to),{state:typeof z.to=="object"?je({},Se,z.to.state):Se,force:R}),Q||B)}else z=$(B,ue,!0,O,Se);return T(B,ue,z),z})}function x(C,Q){const W=_(C,Q);return W?Promise.reject(W):Promise.resolve()}function E(C){const Q=fe.values().next().value;return Q&&typeof Q.runWithContext=="function"?Q.runWithContext(C):C()}function k(C,Q){let W;const[ue,Se,R]=F1(C,Q);W=ha(ue.reverse(),"beforeRouteLeave",C,Q);for(const j of ue)j.leaveGuards.forEach(B=>{W.push(bn(B,C,Q))});const O=x.bind(null,C,Q);return W.push(O),xe(W).then(()=>{W=[];for(const j of o.list())W.push(bn(j,C,Q));return W.push(O),xe(W)}).then(()=>{W=ha(Se,"beforeRouteUpdate",C,Q);for(const j of Se)j.updateGuards.forEach(B=>{W.push(bn(B,C,Q))});return W.push(O),xe(W)}).then(()=>{W=[];for(const j of R)if(j.beforeEnter)if(Rt(j.beforeEnter))for(const B of j.beforeEnter)W.push(bn(B,C,Q));else W.push(bn(j.beforeEnter,C,Q));return W.push(O),xe(W)}).then(()=>(C.matched.forEach(j=>j.enterCallbacks={}),W=ha(R,"beforeRouteEnter",C,Q),W.push(O),xe(W))).then(()=>{W=[];for(const j of i.list())W.push(bn(j,C,Q));return W.push(O),xe(W)}).catch(j=>qt(j,8)?j:Promise.reject(j))}function T(C,Q,W){a.list().forEach(ue=>E(()=>ue(C,Q,W)))}function $(C,Q,W,ue,Se){const R=_(C,Q);if(R)return R;const O=Q===Dt,j=hs?history.state:{};W&&(ue||O?r.replace(C.fullPath,je({scroll:O&&j&&j.scroll},Se)):r.push(C.fullPath,Se)),c.value=C,te(C,Q,W,O),le()}let P;function A(){P||(P=r.listen((C,Q,W)=>{if(!ve.listening)return;const ue=y(C),Se=m(ue);if(Se){N(je(Se,{replace:!0}),ue).catch(Ir);return}l=ue;const R=c.value;hs&&Jb(Cu(R.fullPath,W.delta),Ii()),k(ue,R).catch(O=>qt(O,12)?O:qt(O,2)?(N(O.to,ue).then(j=>{qt(j,20)&&!W.delta&&W.type===Zr.pop&&r.go(-1,!1)}).catch(Ir),Promise.reject()):(W.delta&&r.go(-W.delta,!1),F(O,ue,R))).then(O=>{O=O||$(ue,R,!1),O&&(W.delta&&!qt(O,8)?r.go(-W.delta,!1):W.type===Zr.pop&&qt(O,20)&&r.go(-1,!1)),T(ue,R,O)}).catch(Ir)}))}let L=Zs(),I=Zs(),D;function F(C,Q,W){le(C);const ue=I.list();return ue.length?ue.forEach(Se=>Se(C,Q,W)):console.error(C),Promise.reject(C)}function V(){return D&&c.value!==Dt?Promise.resolve():new Promise((C,Q)=>{L.add([C,Q])})}function le(C){return D||(D=!C,A(),L.list().forEach(([Q,W])=>C?W(C):Q()),L.reset()),C}function te(C,Q,W,ue){const{scrollBehavior:Se}=e;if(!hs||!Se)return Promise.resolve();const R=!W&&Yb(Cu(C.fullPath,0))||(ue||!W)&&history.state&&history.state.scroll||null;return xt().then(()=>Se(C,Q,R)).then(O=>O&&Xb(O)).catch(O=>F(O,C,Q))}const ie=C=>r.go(C);let de;const fe=new Set,ve={currentRoute:c,listening:!0,addRoute:h,removeRoute:p,hasRoute:w,getRoutes:v,resolve:y,options:e,push:b,replace:S,go:ie,back:()=>ie(-1),forward:()=>ie(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:I.add,isReady:V,install(C){const Q=this;C.component("RouterLink",L1),C.component("RouterView",Mh),C.config.globalProperties.$router=Q,Object.defineProperty(C.config.globalProperties,"$route",{enumerable:!0,get:()=>q(c)}),hs&&!de&&c.value===Dt&&(de=!0,b(r.location).catch(Se=>{}));const W={};for(const Se in Dt)Object.defineProperty(W,Se,{get:()=>c.value[Se],enumerable:!0});C.provide(cc,Q),C.provide(uc,Bs(W)),C.provide(ol,c);const ue=C.unmount;fe.add(C),C.unmount=function(){fe.delete(C),fe.size<1&&(l=Dt,P&&P(),P=null,c.value=Dt,de=!1,D=!1),ue()}}};function xe(C){return C.reduce((Q,W)=>Q.then(()=>E(W)),Promise.resolve())}return ve}function F1(e,t){const n=[],s=[],r=[],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(l=>Os(l,a))?s.push(a):n.push(a));const c=e.matched[i];c&&(t.matched.find(l=>Os(l,c))||r.push(c))}return[n,s,r]}function B1(){return ot(uc)}const er={layout:"none"},tr={layout:"none"},il=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),H1=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),z1=e=>{const t=Ce();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{il(e)}):il(e)},U1=()=>null;function Dh(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,s,r={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof s!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");r.server=r.server??!0,r.default=r.default??U1,r.lazy=r.lazy??!1,r.immediate=r.immediate??!0;const o=Ce(),i=()=>o.isHydrating?o.payload.data[n]:o.static.data[n],a=()=>i()!==void 0;o._asyncData[n]||(o._asyncData[n]={data:Z(i()??r.default()),pending:Z(!a()),error:Si(o.payload._errors,n),status:Z("idle")});const c={...o._asyncData[n]};c.refresh=c.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();c.pending.value=!0,c.status.value="pending";const h=new Promise((p,v)=>{try{p(s(o))}catch(w){v(w)}}).then(p=>{if(h.cancelled)return o._asyncDataPromises[n];let v=p;r.transform&&(v=r.transform(p)),r.pick&&(v=V1(v,r.pick)),c.data.value=v,c.error.value=null,c.status.value="success"}).catch(p=>{if(h.cancelled)return o._asyncDataPromises[n];c.error.value=p,c.data.value=q(r.default()),c.status.value="error"}).finally(()=>{h.cancelled||(c.pending.value=!1,o.payload.data[n]=c.data.value,c.error.value&&(o.payload._errors[n]=Li(c.error.value)),delete o._asyncDataPromises[n])});return o._asyncDataPromises[n]=h,o._asyncDataPromises[n]};const l=()=>c.refresh({_initial:!0}),d=r.server!==!1&&o.payload.serverRendered;{const f=Ot();if(f&&!f._nuxtOnBeforeMountCbs){f._nuxtOnBeforeMountCbs=[];const p=f._nuxtOnBeforeMountCbs;f&&(Sp(()=>{p.forEach(v=>{v()}),p.splice(0,p.length)}),Jr(()=>p.splice(0,p.length)))}d&&o.isHydrating&&a()?(c.pending.value=!1,c.status.value=c.error.value?"error":"success"):f&&(o.payload.serverRendered&&o.isHydrating||r.lazy)&&r.immediate?f._nuxtOnBeforeMountCbs.push(l):r.immediate&&l(),r.watch&&Be(r.watch,()=>c.refresh());const h=o.hook("app:data:refresh",p=>{if(!p||p.includes(n))return c.refresh()});f&&Jr(h)}const u=Promise.resolve(o._asyncDataPromises[n]).then(()=>c);return Object.assign(u,c),u}function V1(e,t){const n={};for(const s of t)n[s]=e[s];return n}const W1={ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1};function G1(e,t={}){t={...W1,...t};const n=Fh(t);return n.dispatch(e),n.toString()}function Fh(e){const t=[];let n=[];const s=r=>{t.push(r)};return{toString(){return t.join("")},getContext(){return n},dispatch(r){return e.replacer&&(r=e.replacer(r)),this["_"+(r===null?"null":typeof r)](r)},_object(r){if(r&&typeof r.toJSON=="function")return this._object(r.toJSON());const o=/\[object (.*)]/i,i=Object.prototype.toString.call(r),a=o.exec(i),c=a?a[1].toLowerCase():"unknown:["+i.toLowerCase()+"]";let l=null;if((l=n.indexOf(r))>=0)return this.dispatch("[CIRCULAR:"+l+"]");if(n.push(r),typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(r))return s("buffer:"),s(r.toString("utf8"));if(c!=="object"&&c!=="function"&&c!=="asyncfunction")this["_"+c]?this["_"+c](r):e.ignoreUnknown||this._unkown(r,c);else{let d=Object.keys(r);e.unorderedObjects&&(d=d.sort()),e.respectType!==!1&&!qu(r)&&d.splice(0,0,"prototype","__proto__","letructor"),e.excludeKeys&&(d=d.filter(function(u){return!e.excludeKeys(u)})),s("object:"+d.length+":");for(const u of d)this.dispatch(u),s(":"),e.excludeValues||this.dispatch(r[u]),s(",")}},_array(r,o){if(o=typeof o<"u"?o:e.unorderedArrays!==!1,s("array:"+r.length+":"),!o||r.length<=1){for(const c of r)this.dispatch(c);return}const i=[],a=r.map(c=>{const l=Fh(e);return l.dispatch(c),i.push(l.getContext()),l.toString()});return n=[...n,...i],a.sort(),this._array(a,!1)},_date(r){return s("date:"+r.toJSON())},_symbol(r){return s("symbol:"+r.toString())},_unkown(r,o){if(s(o),!!r&&(s(":"),r&&typeof r.entries=="function"))return this._array(Array.from(r.entries()),!0)},_error(r){return s("error:"+r.toString())},_boolean(r){return s("bool:"+r.toString())},_string(r){s("string:"+r.length+":"),s(r.toString())},_function(r){s("fn:"),qu(r)?this.dispatch("[native]"):this.dispatch(r.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(r.name)),e.respectFunctionProperties&&this._object(r)},_number(r){return s("number:"+r.toString())},_xml(r){return s("xml:"+r.toString())},_null(){return s("Null")},_undefined(){return s("Undefined")},_regexp(r){return s("regex:"+r.toString())},_uint8array(r){return s("uint8array:"),this.dispatch(Array.prototype.slice.call(r))},_uint8clampedarray(r){return s("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(r))},_int8array(r){return s("int8array:"),this.dispatch(Array.prototype.slice.call(r))},_uint16array(r){return s("uint16array:"),this.dispatch(Array.prototype.slice.call(r))},_int16array(r){return s("int16array:"),this.dispatch(Array.prototype.slice.call(r))},_uint32array(r){return s("uint32array:"),this.dispatch(Array.prototype.slice.call(r))},_int32array(r){return s("int32array:"),this.dispatch(Array.prototype.slice.call(r))},_float32array(r){return s("float32array:"),this.dispatch(Array.prototype.slice.call(r))},_float64array(r){return s("float64array:"),this.dispatch(Array.prototype.slice.call(r))},_arraybuffer(r){return s("arraybuffer:"),this.dispatch(new Uint8Array(r))},_url(r){return s("url:"+r.toString())},_map(r){s("map:");const o=[...r];return this._array(o,e.unorderedSets!==!1)},_set(r){s("set:");const o=[...r];return this._array(o,e.unorderedSets!==!1)},_file(r){return s("file:"),this.dispatch([r.name,r.size,r.type,r.lastModfied])},_blob(){if(e.ignoreUnknown)return s("[blob]");throw new Error(`Hashing Blob objects is currently not supported
|
|
6
|
+
Use "options.replacer" or "options.ignoreUnknown"
|
|
7
|
+
`)},_domwindow(){return s("domwindow")},_bigint(r){return s("bigint:"+r.toString())},_process(){return s("process")},_timer(){return s("timer")},_pipe(){return s("pipe")},_tcp(){return s("tcp")},_udp(){return s("udp")},_tty(){return s("tty")},_statwatcher(){return s("statwatcher")},_securecontext(){return s("securecontext")},_connection(){return s("connection")},_zlib(){return s("zlib")},_context(){return s("context")},_nodescript(){return s("nodescript")},_httpparser(){return s("httpparser")},_dataview(){return s("dataview")},_signal(){return s("signal")},_fsevent(){return s("fsevent")},_tlswrap(){return s("tlswrap")}}}function qu(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 Ls{constructor(t,n){t=this.words=t||[],this.sigBytes=n!==void 0?n:t.length*4}toString(t){return(t||q1).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const s=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=s<<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 Ls([...this.words])}}const q1={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const s=e.words[n>>>2]>>>24-n%4*8&255;t.push((s>>>4).toString(16),(s&15).toString(16))}return t.join("")}},K1={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let s=0;s<e.sigBytes;s+=3){const r=e.words[s>>>2]>>>24-s%4*8&255,o=e.words[s+1>>>2]>>>24-(s+1)%4*8&255,i=e.words[s+2>>>2]>>>24-(s+2)%4*8&255,a=r<<16|o<<8|i;for(let c=0;c<4&&s*8+c*6<e.sigBytes*8;c++)n.push(t.charAt(a>>>6*(3-c)&63))}return n.join("")}},X1={parse(e){const t=e.length,n=[];for(let s=0;s<t;s++)n[s>>>2]|=(e.charCodeAt(s)&255)<<24-s%4*8;return new Ls(n,t)}},J1={parse(e){return X1.parse(unescape(encodeURIComponent(e)))}};class Y1{constructor(){this._minBufferSize=0,this.blockSize=512/32,this.reset()}reset(){this._data=new Ls,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=J1.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,s=this._data.sigBytes/(this.blockSize*4);t?s=Math.ceil(s):s=Math.max((s|0)-this._minBufferSize,0);const r=s*this.blockSize,o=Math.min(r*4,this._data.sigBytes);if(r){for(let i=0;i<r;i+=this.blockSize)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,r),this._data.sigBytes-=o}return new Ls(n,o)}}class Q1 extends Y1{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const Z1=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],ew=[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],jn=[];class tw extends Q1{constructor(){super(),this.reset()}reset(){super.reset(),this._hash=new Ls([...Z1])}_doProcessBlock(t,n){const s=this._hash.words;let r=s[0],o=s[1],i=s[2],a=s[3],c=s[4],l=s[5],d=s[6],u=s[7];for(let f=0;f<64;f++){if(f<16)jn[f]=t[n+f]|0;else{const _=jn[f-15],b=(_<<25|_>>>7)^(_<<14|_>>>18)^_>>>3,S=jn[f-2],m=(S<<15|S>>>17)^(S<<13|S>>>19)^S>>>10;jn[f]=b+jn[f-7]+m+jn[f-16]}const h=c&l^~c&d,p=r&o^r&i^o&i,v=(r<<30|r>>>2)^(r<<19|r>>>13)^(r<<10|r>>>22),w=(c<<26|c>>>6)^(c<<21|c>>>11)^(c<<7|c>>>25),y=u+w+h+ew[f]+jn[f],g=v+p;u=d,d=l,l=c,c=a+y|0,a=i,i=o,o=r,r=y+g|0}s[0]=s[0]+r|0,s[1]=s[1]+o|0,s[2]=s[2]+i|0,s[3]=s[3]+a|0,s[4]=s[4]+c|0,s[5]=s[5]+l|0,s[6]=s[6]+d|0,s[7]=s[7]+u|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,s=this._data.sigBytes*8;return this._data.words[s>>>5]|=128<<24-s%32,this._data.words[(s+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(s+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function nw(e){return new tw().finalize(e).toString(K1)}function sw(e,t={}){const n=typeof e=="string"?e:G1(e,t);return nw(n).slice(0,10)}function rw(e,t,n){const[s={},r]=typeof t=="string"?[{},t]:[t,n],o=s.key||sw([r,q(s.baseURL),typeof e=="string"?e:"",q(s.params||s.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===r?"$f"+o:o,a=me(()=>{let b=e;return typeof b=="function"&&(b=b()),q(b)});if(!s.baseURL&&typeof a.value=="string"&&a.value.startsWith("//"))throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:c,lazy:l,default:d,transform:u,pick:f,watch:h,immediate:p,...v}=s,w=At({...v,cache:typeof s.cache=="boolean"?void 0:s.cache}),y={server:c,lazy:l,default:d,transform:u,pick:f,immediate:p,watch:h===!1?[]:[w,a,...h||[]]};let g;return Dh(i,()=>(g?.abort?.(),g=typeof AbortController<"u"?new AbortController:{},typeof a.value=="string"&&a.value.startsWith("/"),(s.$fetch||globalThis.$fetch)(a.value,{signal:g.signal,...w})),y)}async function Bh(e,t=nt()){const{path:n,matched:s}=t.resolve(e);if(!s.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const r=t._preloadPromises=t._preloadPromises||[];if(r.length>4)return Promise.all(r).then(()=>Bh(e,t));t._routePreloaded.add(n);const o=s.map(i=>i.components?.default).filter(i=>typeof i=="function");for(const i of o){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>r.splice(r.indexOf(a)));r.push(a)}await Promise.all(r)}function ow(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:Ce().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const iw=(...e)=>e.find(t=>t!==void 0),aw="noopener noreferrer";/*! @__NO_SIDE_EFFECTS__ */function lw(e){const t=e.componentName||"NuxtLink",n=(s,r)=>{if(!s||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return s;const o=e.trailingSlash==="append"?ih:oc;if(typeof s=="string")return o(s,!0);const i="path"in s?s.path:r(s).path;return{...s,name:void 0,path:o(i,!0)}};return Ne({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(s,{slots:r}){const o=nt(),i=me(()=>{const u=s.to||s.href||"";return n(u,o.resolve)}),a=me(()=>s.external||s.target&&s.target!=="_self"?!0:typeof i.value=="object"?!1:i.value===""||Us(i.value,{acceptRelative:!0})),c=Z(!1),l=Z(null),d=u=>{l.value=s.custom?u?.$el?.nextElementSibling:u?.$el};if(s.prefetch!==!1&&s.noPrefetch!==!0&&s.target!=="_blank"&&!uw()){const f=Ce();let h,p=null;On(()=>{const v=cw();z1(()=>{h=il(()=>{l?.value?.tagName&&(p=v.observe(l.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&&Bh(i.value,o).catch(()=>{})]),c.value=!0}))})})}),zs(()=>{h&&H1(h),p?.(),p=null})}return()=>{if(!a.value){const v={ref:d,to:i.value,activeClass:s.activeClass||e.activeClass,exactActiveClass:s.exactActiveClass||e.exactActiveClass,replace:s.replace,ariaCurrentValue:s.ariaCurrentValue,custom:s.custom};return s.custom||(c.value&&(v.class=s.prefetchedClass||e.prefetchedClass),v.rel=s.rel),Ge(on("RouterLink"),v,r.default)}const u=typeof i.value=="object"?o.resolve(i.value)?.href??null:i.value||null,f=s.target||null,h=s.noRel?null:iw(s.rel,e.externalRelAttribute,u?aw:"")||null,p=()=>Th(u,{replace:s.replace});return s.custom?r.default?r.default({href:u,navigate:p,get route(){if(!u)return;const v=co(u);return{path:v.pathname,fullPath:v.pathname,get query(){return oh(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:Ge("a",{ref:l,href:u,rel:h,target:f},r.default?.())}}})}const ji=lw({componentName:"NuxtLink"});function cw(){const e=Ce();if(e._observer)return e._observer;let t=null;const n=new Map,s=(o,i)=>(t||(t=new IntersectionObserver(a=>{for(const c of a){const l=n.get(c.target);(c.isIntersecting||c.intersectionRatio>0)&&l&&l()}})),n.set(o,i),t.observe(o),()=>{n.delete(o),t.unobserve(o),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:s}}function uw(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}function cn(e){return Gd()?(qg(e),!0):!1}var fw=Object.defineProperty,Ku=Object.getOwnPropertySymbols,dw=Object.prototype.hasOwnProperty,pw=Object.prototype.propertyIsEnumerable,Xu=(e,t,n)=>t in e?fw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,hw=(e,t)=>{for(var n in t||(t={}))dw.call(t,n)&&Xu(e,n,t[n]);if(Ku)for(var n of Ku(t))pw.call(t,n)&&Xu(e,n,t[n]);return e};function mw(e,t){if(typeof Symbol<"u"){const n=hw({},e);return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let s=0;return{next:()=>({value:t[s++],done:s>t.length})}}}),n}else return Object.assign([...t],e)}function et(e){return typeof e=="function"?e():q(e)}const es=typeof window<"u",gw=e=>typeof e<"u",Is=()=>{},vw=yw();function yw(){var e;return es&&((e=window?.navigator)==null?void 0:e.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function Hh(e,t){function n(...s){return new Promise((r,o)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(o)})}return n}const zh=e=>e();function Uh(e,t={}){let n,s,r=Is;const o=a=>{clearTimeout(a),r(),r=Is};return a=>{const c=et(e),l=et(t.maxWait);return n&&o(n),c<=0||l!==void 0&&l<=0?(s&&(o(s),s=null),Promise.resolve(a())):new Promise((d,u)=>{r=t.rejectOnCancel?u:d,l&&!s&&(s=setTimeout(()=>{n&&o(n),s=null,d(a())},l)),n=setTimeout(()=>{s&&o(s),s=null,d(a())},c)})}}function _w(e=zh){const t=Z(!0);function n(){t.value=!1}function s(){t.value=!0}const r=(...o)=>{t.value&&e(...o)};return{isActive:os(t),pause:n,resume:s,eventFilter:r}}function Ju(e,t=!1,n="Timeout"){return new Promise((s,r)=>{setTimeout(t?()=>r(n):s,e)})}function bw(...e){if(e.length!==1)return Si(...e);const t=e[0];return typeof t=="function"?os(lp(()=>({get:t,set:Is}))):Z(t)}function ww(e,t=200,n={}){return Hh(Uh(t,n),e)}function xw(e,t=200,n={}){const s=Z(e.value),r=ww(()=>{s.value=e.value},t,n);return Be(e,()=>r()),s}var Ew=Object.defineProperty,Sw=Object.defineProperties,Tw=Object.getOwnPropertyDescriptors,Yu=Object.getOwnPropertySymbols,Nw=Object.prototype.hasOwnProperty,$w=Object.prototype.propertyIsEnumerable,Qu=(e,t,n)=>t in e?Ew(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kw=(e,t)=>{for(var n in t||(t={}))Nw.call(t,n)&&Qu(e,n,t[n]);if(Yu)for(var n of Yu(t))$w.call(t,n)&&Qu(e,n,t[n]);return e},Pw=(e,t)=>Sw(e,Tw(t));function Aw(e){if(!Fe(e))return Sv(e);const t=Array.isArray(e.value)?new Array(e.value.length):{};for(const n in e.value)t[n]=lp(()=>({get(){return e.value[n]},set(s){if(Array.isArray(e.value)){const r=[...e.value];r[n]=s,e.value=r}else{const r=Pw(kw({},e.value),{[n]:s});Object.setPrototypeOf(r,Object.getPrototypeOf(e.value)),e.value=r}}}));return t}function fc(e,t=!0){Ot()?On(e):t?e():xt(e)}function al(e,t=!1){function n(u,{flush:f="sync",deep:h=!1,timeout:p,throwOnTimeout:v}={}){let w=null;const g=[new Promise(_=>{w=Be(e,b=>{u(b)!==t&&(w?.(),_(b))},{flush:f,deep:h,immediate:!0})})];return p!=null&&g.push(Ju(p,v).then(()=>et(e)).finally(()=>w?.())),Promise.race(g)}function s(u,f){if(!Fe(u))return n(b=>b===u,f);const{flush:h="sync",deep:p=!1,timeout:v,throwOnTimeout:w}=f??{};let y=null;const _=[new Promise(b=>{y=Be([e,u],([S,m])=>{t!==(S===m)&&(y?.(),b(S))},{flush:h,deep:p,immediate:!0})})];return v!=null&&_.push(Ju(v,w).then(()=>et(e)).finally(()=>(y?.(),et(e)))),Promise.race(_)}function r(u){return n(f=>!!f,u)}function o(u){return s(null,u)}function i(u){return s(void 0,u)}function a(u){return n(Number.isNaN,u)}function c(u,f){return n(h=>{const p=Array.from(h);return p.includes(u)||p.includes(et(u))},f)}function l(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:c,changed:l,changedTimes:d,get not(){return al(e,!t)}}:{toMatch:n,toBe:s,toBeTruthy:r,toBeNull:o,toBeNaN:a,toBeUndefined:i,changed:l,changedTimes:d,get not(){return al(e,!t)}}}function Rw(e){return al(e)}function Ow(e,t=1e3,n={}){const{immediate:s=!0,immediateCallback:r=!1}=n;let o=null;const i=Z(!1);function a(){o&&(clearInterval(o),o=null)}function c(){i.value=!1,a()}function l(){const d=et(t);d<=0||(i.value=!0,r&&e(),a(),o=setInterval(e,d))}if(s&&es&&l(),Fe(t)||typeof t=="function"){const d=Be(t,()=>{i.value&&es&&l()});cn(d)}return cn(c),{isActive:i,pause:c,resume:l}}function Cw(e,t,n={}){const{immediate:s=!0}=n,r=Z(!1);let o=null;function i(){o&&(clearTimeout(o),o=null)}function a(){r.value=!1,i()}function c(...l){i(),r.value=!0,o=setTimeout(()=>{r.value=!1,o=null,e(...l)},et(t))}return s&&(r.value=!0,es&&c()),cn(a),{isPending:os(r),start:c,stop:a}}var Zu=Object.getOwnPropertySymbols,Lw=Object.prototype.hasOwnProperty,Iw=Object.prototype.propertyIsEnumerable,jw=(e,t)=>{var n={};for(var s in e)Lw.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&Zu)for(var s of Zu(e))t.indexOf(s)<0&&Iw.call(e,s)&&(n[s]=e[s]);return n};function Vh(e,t,n={}){const s=n,{eventFilter:r=zh}=s,o=jw(s,["eventFilter"]);return Be(e,Hh(r,t),o)}var Mw=Object.defineProperty,Dw=Object.defineProperties,Fw=Object.getOwnPropertyDescriptors,oi=Object.getOwnPropertySymbols,Wh=Object.prototype.hasOwnProperty,Gh=Object.prototype.propertyIsEnumerable,ef=(e,t,n)=>t in e?Mw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Bw=(e,t)=>{for(var n in t||(t={}))Wh.call(t,n)&&ef(e,n,t[n]);if(oi)for(var n of oi(t))Gh.call(t,n)&&ef(e,n,t[n]);return e},Hw=(e,t)=>Dw(e,Fw(t)),zw=(e,t)=>{var n={};for(var s in e)Wh.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&oi)for(var s of oi(e))t.indexOf(s)<0&&Gh.call(e,s)&&(n[s]=e[s]);return n};function VO(e,t,n={}){const s=n,{debounce:r=0,maxWait:o=void 0}=s,i=zw(s,["debounce","maxWait"]);return Vh(e,t,Hw(Bw({},i),{eventFilter:Uh(r,{maxWait:o})}))}var Uw=Object.defineProperty,Vw=Object.defineProperties,Ww=Object.getOwnPropertyDescriptors,ii=Object.getOwnPropertySymbols,qh=Object.prototype.hasOwnProperty,Kh=Object.prototype.propertyIsEnumerable,tf=(e,t,n)=>t in e?Uw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Gw=(e,t)=>{for(var n in t||(t={}))qh.call(t,n)&&tf(e,n,t[n]);if(ii)for(var n of ii(t))Kh.call(t,n)&&tf(e,n,t[n]);return e},qw=(e,t)=>Vw(e,Ww(t)),Kw=(e,t)=>{var n={};for(var s in e)qh.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&ii)for(var s of ii(e))t.indexOf(s)<0&&Kh.call(e,s)&&(n[s]=e[s]);return n};function Xw(e,t,n={}){const s=n,{eventFilter:r}=s,o=Kw(s,["eventFilter"]),{eventFilter:i,pause:a,resume:c,isActive:l}=_w(r);return{stop:Vh(e,t,qw(Gw({},o),{eventFilter:i})),pause:a,resume:c,isActive:l}}function WO(e,t,n){let s;Fe(n)?s={evaluating:n}:s=n||{};const{lazy:r=!1,evaluating:o=void 0,shallow:i=!0,onError:a=Is}=s,c=Z(!r),l=i?rn(t):Z(t);let d=0;return Qn(async u=>{if(!c.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&&(l.value=p)}catch(p){a(p)}finally{o&&f===d&&(o.value=!1),h=!0}}),r?me(()=>(c.value=!0,l.value)):l}var Jw=Object.defineProperty,Yw=Object.defineProperties,Qw=Object.getOwnPropertyDescriptors,nf=Object.getOwnPropertySymbols,Zw=Object.prototype.hasOwnProperty,ex=Object.prototype.propertyIsEnumerable,sf=(e,t,n)=>t in e?Jw(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,tx=(e,t)=>{for(var n in t||(t={}))Zw.call(t,n)&&sf(e,n,t[n]);if(nf)for(var n of nf(t))ex.call(t,n)&&sf(e,n,t[n]);return e},nx=(e,t)=>Yw(e,Qw(t));function GO(){const e=rn(),t=Ne({setup(s,{slots:r}){return()=>{e.value=r.default}}}),n=Ne({inheritAttrs:!1,setup(s,{attrs:r,slots:o}){return()=>{var i;return e.value,(i=e.value)==null?void 0:i.call(e,nx(tx({},r),{$slots:o}))}}});return mw({define:t,reuse:n},[t,n])}function dc(e={}){let t=0;const n=Z([]);function s(...i){const a=Bs({key:t++,args:i,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(a),a.promise=new Promise((c,l)=>{a.resolve=d=>(a.isResolving=!0,c(d)),a.reject=l}).finally(()=>{a.promise=void 0;const c=n.value.indexOf(a);c!==-1&&n.value.splice(c,1)}),a.promise}function r(...i){return e.singleton&&n.value.length>0?n.value[0].promise:s(...i)}const o=Ne((i,{slots:a})=>{const c=()=>n.value.map(l=>{var d;return Ge(Le,{key:l.key},(d=a.default)==null?void 0:d.call(a,l))});return e.transition?()=>Ge(n_,e.transition,c):c});return o.start=r,o}function mt(e){var t;const n=et(e);return(t=n?.$el)!=null?t:n}const wt=es?window:void 0,sx=es?window.document:void 0,rx=es?window.navigator:void 0;function Pt(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=wt):[t,n,s,r]=e,!t)return Is;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);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)),c=Be(()=>[mt(t),et(r)],([d,u])=>{i(),d&&o.push(...n.flatMap(f=>s.map(h=>a(d,f,h,u))))},{immediate:!0,flush:"post"}),l=()=>{c(),i()};return cn(l),l}let rf=!1;function Xh(e,t,n={}){const{window:s=wt,ignore:r=[],capture:o=!0,detectIframe:i=!1}=n;if(!s)return;vw&&!rf&&(rf=!0,Array.from(s.document.body.children).forEach(f=>f.addEventListener("click",Is)));let a=!0;const c=f=>r.some(h=>{if(typeof h=="string")return Array.from(s.document.querySelectorAll(h)).some(p=>p===f.target||f.composedPath().includes(p));{const p=mt(h);return p&&(f.target===p||f.composedPath().includes(p))}}),d=[Pt(s,"click",f=>{const h=mt(e);if(!(!h||h===f.target||f.composedPath().includes(h))){if(f.detail===0&&(a=!c(f)),!a){a=!0;return}t(f)}},{passive:!0,capture:o}),Pt(s,"pointerdown",f=>{const h=mt(e);h&&(a=!f.composedPath().includes(h)&&!c(f))},{passive:!0}),i&&Pt(s,"blur",f=>{setTimeout(()=>{var h;const p=mt(e);((h=s.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!p?.contains(s.document.activeElement)&&t(f)},0)})].filter(Boolean);return()=>d.forEach(f=>f())}var ox=Object.defineProperty,ix=Object.defineProperties,ax=Object.getOwnPropertyDescriptors,of=Object.getOwnPropertySymbols,lx=Object.prototype.hasOwnProperty,cx=Object.prototype.propertyIsEnumerable,af=(e,t,n)=>t in e?ox(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ux=(e,t)=>{for(var n in t||(t={}))lx.call(t,n)&&af(e,n,t[n]);if(of)for(var n of of(t))cx.call(t,n)&&af(e,n,t[n]);return e},fx=(e,t)=>ix(e,ax(t));function dx(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function px(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=wt,eventName:o="keydown",passive:i=!1,dedupe:a=!1}=s,c=dx(t);return Pt(r,o,d=>{d.repeat&&et(a)||c(d)&&n(d)},i)}function qO(e,t,n={}){return px(e,t,fx(ux({},n),{eventName:"keydown"}))}function hx(){const e=Z(!1);return Ot()&&On(()=>{e.value=!0}),e}function pc(e){const t=hx();return me(()=>(t.value,!!e()))}function mx(e,t={}){const{immediate:n=!0,window:s=wt}=t,r=Z(!1);let o=0,i=null;function a(d){if(!r.value||!s)return;const u=d-(o||d);e({delta:u,timestamp:d}),o=d,i=s.requestAnimationFrame(a)}function c(){!r.value&&s&&(r.value=!0,i=s.requestAnimationFrame(a))}function l(){r.value=!1,i!=null&&s&&(s.cancelAnimationFrame(i),i=null)}return n&&c(),cn(l),{isActive:os(r),pause:l,resume:c}}function gx(e,t={}){const{window:n=wt}=t,s=pc(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const o=Z(!1),i=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",a):r.removeListener(a))},a=()=>{s.value&&(i(),r=n.matchMedia(bw(e).value),o.value=!!r?.matches,r&&("addEventListener"in r?r.addEventListener("change",a):r.addListener(a)))};return Qn(a),cn(()=>i()),o}function vx(e={}){const{navigator:t=rx,read:n=!1,source:s,copiedDuring:r=1500,legacy:o=!1}=e,i=["copy","cut"],a=pc(()=>t&&"clipboard"in t),c=me(()=>a.value||o),l=Z(""),d=Z(!1),u=Cw(()=>d.value=!1,r);function f(){a.value?t.clipboard.readText().then(w=>{l.value=w}):l.value=v()}if(c.value&&n)for(const w of i)Pt(w,f);async function h(w=et(s)){c.value&&w!=null&&(a.value?await t.clipboard.writeText(w):p(w),l.value=w,d.value=!0,u.start())}function p(w){const y=document.createElement("textarea");y.value=w??"",y.style.position="absolute",y.style.opacity="0",document.body.appendChild(y),y.select(),document.execCommand("copy"),y.remove()}function v(){var w,y,g;return(g=(y=(w=document?.getSelection)==null?void 0:w.call(document))==null?void 0:y.toString())!=null?g:""}return{isSupported:c,text:l,copied:d,copy:h}}function yx(e){return JSON.parse(JSON.stringify(e))}const Po=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ao="__vueuse_ssr_handlers__",_x=bx();function bx(){return Ao in Po||(Po[Ao]=Po[Ao]||{}),Po[Ao]}function wx(e,t){return _x[e]||t}function xx(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 Ex=Object.defineProperty,lf=Object.getOwnPropertySymbols,Sx=Object.prototype.hasOwnProperty,Tx=Object.prototype.propertyIsEnumerable,cf=(e,t,n)=>t in e?Ex(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,uf=(e,t)=>{for(var n in t||(t={}))Sx.call(t,n)&&cf(e,n,t[n]);if(lf)for(var n of lf(t))Tx.call(t,n)&&cf(e,n,t[n]);return e};const Nx={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()}},ff="vueuse-storage";function Jh(e,t,n,s={}){var r;const{flush:o="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:c=!0,mergeDefaults:l=!1,shallow:d,window:u=wt,eventFilter:f,onError:h=x=>{console.error(x)}}=s,p=(d?rn:Z)(t);if(!n)try{n=wx("getDefaultStorage",()=>{var x;return(x=wt)==null?void 0:x.localStorage})()}catch(x){h(x)}if(!n)return p;const v=et(t),w=xx(v),y=(r=s.serializer)!=null?r:Nx[w],{pause:g,resume:_}=Xw(p,()=>b(p.value),{flush:o,deep:i,eventFilter:f});return u&&a&&(Pt(u,"storage",N),Pt(u,ff,m)),N(),p;function b(x){try{if(x==null)n.removeItem(e);else{const E=y.write(x),k=n.getItem(e);k!==E&&(n.setItem(e,E),u&&u.dispatchEvent(new CustomEvent(ff,{detail:{key:e,oldValue:k,newValue:E,storageArea:n}})))}}catch(E){h(E)}}function S(x){const E=x?x.newValue:n.getItem(e);if(E==null)return c&&v!==null&&n.setItem(e,y.write(v)),v;if(!x&&l){const k=y.read(E);return typeof l=="function"?l(k,v):w==="object"&&!Array.isArray(k)?uf(uf({},v),k):k}else return typeof E!="string"?E:y.read(E)}function m(x){N(x.detail)}function N(x){if(!(x&&x.storageArea!==n)){if(x&&x.key==null){p.value=v;return}if(!(x&&x.key!==e)){g();try{p.value=S(x)}catch(E){h(E)}finally{x?xt(_):_()}}}}}var df=Object.getOwnPropertySymbols,$x=Object.prototype.hasOwnProperty,kx=Object.prototype.propertyIsEnumerable,Px=(e,t)=>{var n={};for(var s in e)$x.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&df)for(var s of df(e))t.indexOf(s)<0&&kx.call(e,s)&&(n[s]=e[s]);return n};function Yh(e,t,n={}){const s=n,{window:r=wt}=s,o=Px(s,["window"]);let i;const a=pc(()=>r&&"ResizeObserver"in r),c=()=>{i&&(i.disconnect(),i=void 0)},l=me(()=>Array.isArray(e)?e.map(f=>mt(f)):[mt(e)]),d=Be(l,f=>{if(c(),a.value&&r){i=new ResizeObserver(t);for(const h of f)h&&i.observe(h,o)}},{immediate:!0,flush:"post",deep:!0}),u=()=>{c(),d()};return cn(u),{isSupported:a,stop:u}}function KO(e,t={}){const{reset:n=!0,windowResize:s=!0,windowScroll:r=!0,immediate:o=!0}=t,i=Z(0),a=Z(0),c=Z(0),l=Z(0),d=Z(0),u=Z(0),f=Z(0),h=Z(0);function p(){const v=mt(e);if(!v){n&&(i.value=0,a.value=0,c.value=0,l.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,c.value=w.left,l.value=w.right,d.value=w.top,u.value=w.width,f.value=w.x,h.value=w.y}return Yh(e,p),Be(()=>mt(e),v=>!v&&p()),r&&Pt("scroll",p,{capture:!0,passive:!0}),s&&Pt("resize",p,{passive:!0}),fc(()=>{o&&p()}),{height:i,bottom:a,left:c,right:l,top:d,width:u,x:f,y:h,update:p}}function XO(e,t={width:0,height:0},n={}){const{window:s=wt,box:r="content-box"}=n,o=me(()=>{var c,l;return(l=(c=mt(e))==null?void 0:c.namespaceURI)==null?void 0:l.includes("svg")}),i=Z(t.width),a=Z(t.height);return Yh(e,([c])=>{const l=r==="border-box"?c.borderBoxSize:r==="content-box"?c.contentBoxSize:c.devicePixelContentBoxSize;if(s&&o.value){const d=mt(e);if(d){const u=s.getComputedStyle(d);i.value=Number.parseFloat(u.width),a.value=Number.parseFloat(u.height)}}else if(l){const d=Array.isArray(l)?l:[l];i.value=d.reduce((u,{inlineSize:f})=>u+f,0),a.value=d.reduce((u,{blockSize:f})=>u+f,0)}else i.value=c.contentRect.width,a.value=c.contentRect.height},n),Be(()=>mt(e),c=>{i.value=c?t.width:0,a.value=c?t.height:0}),{width:i,height:a}}function po(e,t,n={}){const{window:s=wt}=n;return Jh(e,t,s?.localStorage,n)}var Ax=Object.defineProperty,pf=Object.getOwnPropertySymbols,Rx=Object.prototype.hasOwnProperty,Ox=Object.prototype.propertyIsEnumerable,hf=(e,t,n)=>t in e?Ax(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Cx=(e,t)=>{for(var n in t||(t={}))Rx.call(t,n)&&hf(e,n,t[n]);if(pf)for(var n of pf(t))Ox.call(t,n)&&hf(e,n,t[n]);return e};function Lx(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,s=Z(new Date),r=()=>s.value=new Date,o=n==="requestAnimationFrame"?mx(r,{immediate:!0}):Ow(r,n,{immediate:!0});return t?Cx({now:s},o):s}function Ix(e,t,n={}){const{window:s=wt}=n;return Jh(e,t,s?.sessionStorage,n)}let jx=0;function JO(e,t={}){const n=Z(!1),{document:s=sx,immediate:r=!0,manual:o=!1,id:i=`vueuse_styletag_${++jx}`}=t,a=Z(e);let c=()=>{};const l=()=>{if(!s)return;const u=s.getElementById(i)||s.createElement("style");u.isConnected||(u.type="text/css",u.id=i,t.media&&(u.media=t.media),s.head.appendChild(u)),!n.value&&(c=Be(a,f=>{u.textContent=f},{immediate:!0}),n.value=!0)},d=()=>{!s||!n.value||(c(),s.head.removeChild(s.getElementById(i)),n.value=!1)};return r&&!o&&fc(l),o||cn(d),{id:i,css:a,unload:d,load:l,isLoaded:os(n)}}var Mx=Object.defineProperty,ai=Object.getOwnPropertySymbols,Qh=Object.prototype.hasOwnProperty,Zh=Object.prototype.propertyIsEnumerable,mf=(e,t,n)=>t in e?Mx(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Dx=(e,t)=>{for(var n in t||(t={}))Qh.call(t,n)&&mf(e,n,t[n]);if(ai)for(var n of ai(t))Zh.call(t,n)&&mf(e,n,t[n]);return e},Fx=(e,t)=>{var n={};for(var s in e)Qh.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&ai)for(var s of ai(e))t.indexOf(s)<0&&Zh.call(e,s)&&(n[s]=e[s]);return n};const Bx=[{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"}],Hx={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 zx(e){return e.toISOString().slice(0,10)}function YO(e,t={}){const{controls:n=!1,updateInterval:s=3e4}=t,r=Lx({interval:s,controls:!0}),{now:o}=r,i=Fx(r,["now"]),a=me(()=>Ux(new Date(et(e)),t,et(o)));return n?Dx({timeAgo:a},i):a}function Ux(e,t={},n=Date.now()){var s;const{max:r,messages:o=Hx,fullDateFormatter:i=zx,units:a=Bx,showSecond:c=!1,rounding:l="round"}=t,d=typeof l=="number"?w=>+w.toFixed(l):Math[l],u=+n-+e,f=Math.abs(u);function h(w,y){return d(Math.abs(w)/y.value)}function p(w,y){const g=h(w,y),_=w>0,b=v(y.name,g,_);return v(_?"past":"future",b,_)}function v(w,y,g){const _=o[w];return typeof _=="function"?_(y,g):_.replace("{0}",y.toString())}if(f<6e4&&!c)return o.justNow;if(typeof r=="number"&&f>r)return i(new Date(e));if(typeof r=="string"){const w=(s=a.find(y=>y.name===r))==null?void 0:s.max;if(w&&f>w)return i(new Date(e))}for(const[w,y]of a.entries()){if(h(u,y)<=0&&a[w-1])return p(u,a[w-1]);if(f<y.max)return p(u,y)}return o.invalid}function em(e,t,n,s={}){var r,o,i;const{clone:a=!1,passive:c=!1,eventName:l,deep:d=!1,defaultValue:u,shouldEmit:f}=s,h=Ot(),p=n||h?.emit||((r=h?.$emit)==null?void 0:r.bind(h))||((i=(o=h?.proxy)==null?void 0:o.$emit)==null?void 0:i.bind(h?.proxy));let v=l;t||(t="modelValue"),v=v||`update:${t.toString()}`;const w=_=>a?typeof a=="function"?a(_):yx(_):_,y=()=>gw(e[t])?w(e[t]):u,g=_=>{f?f(_)&&p(v,_):p(v,_)};if(c){const _=y(),b=Z(_);return Be(()=>e[t],S=>b.value=w(S)),Be(b,S=>{(S!==e[t]||d)&&g(S)},{deep:d}),b}else return me({get(){return y()},set(_){g(_)}})}function tm(e={}){const{window:t=wt,initialWidth:n=1/0,initialHeight:s=1/0,listenOrientation:r=!0,includeScrollbar:o=!0}=e,i=Z(n),a=Z(s),c=()=>{t&&(o?(i.value=t.innerWidth,a.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(c(),fc(c),Pt("resize",c,{passive:!0}),r){const l=gx("(orientation: portrait)");Be(l,()=>c())}return{width:i,height:a}}function Vx(e=""){return!e||!e.includes("\\")?e:e.replace(/\\/g,"/")}const Wx=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/;function Gx(){return typeof process<"u"?process.cwd().replace(/\\/g,"/"):"/"}const gf=function(...e){e=e.map(s=>Vx(s));let t="",n=!1;for(let s=e.length-1;s>=-1&&!n;s--){const r=s>=0?e[s]:Gx();!r||r.length===0||(t=`${r}/${t}`,n=vf(r))}return t=qx(t,!n),n&&!vf(t)?`/${t}`:t.length>0?t:"."};function qx(e,t){let n="",s=0,r=-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(!(r===a-1||o===1))if(o===2){if(n.length<2||s!==2||n[n.length-1]!=="."||n[n.length-2]!=="."){if(n.length>2){const c=n.lastIndexOf("/");c===-1?(n="",s=0):(n=n.slice(0,c),s=n.length-1-n.lastIndexOf("/")),r=a,o=0;continue}else if(n.length>0){n="",s=0,r=a,o=0;continue}}t&&(n+=n.length>0?"/..":"..",s=2)}else n.length>0?n+=`/${e.slice(r+1,a)}`:n=e.slice(r+1,a),s=a-r-1;r=a,o=0}else i==="."&&o!==-1?++o:o=-1}return n}const vf=function(e){return Wx.test(e)},Kx=function(e,t){const n=gf(e).split("/"),s=gf(t).split("/"),r=[...n];for(const o of r){if(s[0]!==o)break;n.shift(),s.shift()}return[...n.map(()=>".."),...s].join("/")};function QO(e){return!!e.match(/[/\\]node_modules[/\\]/)||hc(e)}function hc(e){return e[0]==="#"||!!e.match(/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/)}function Xx(e){if(hc(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 Jx(e){const t=e.match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t}function ZO(e){if(e)return["nuxt","#app","#head","vue"].includes(e)}function e2(e,t){if(e=e.replace(/\\/g,"/"),hc(e))return{moduleName:e,path:e};const n=Xx(e),s=Jx(e);if(n&&s)return{moduleName:n,path:s};try{let r=Kx(t,e);return!r.startsWith("./")&&!r.startsWith("../")&&(r=`./${r}`),r.startsWith("./.nuxt/")&&(r=`#build${r.slice(7)}`),{path:r}}catch{return{path:e}}}function ft(e,t,n){const s=Ce(),r=s.payload.unique=s.payload.unique||{};return r[e]||(r[e]=Dh(e,t,n)),r[e].data}function t2(){return typeof navigator<"u"&&navigator.platform.toLowerCase().includes("mac")}const yf={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 n2(e){return yf[e.toLowerCase()]||yf.default}function s2(e,t){const n={};for(const[s,r]of Object.entries(t))for(const o of r){const i=e.find(a=>a.tag===o.tag&&(o.name?a.name===o.name:!0))?.value;if(i){n[s]=i;break}}return{url:window.location.host,...n}}function r2(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 o2(e,t=65,n=50,s=1){let r=0;for(let i=0;i<e.length;i++)r=e.charCodeAt(i)+((r<<5)-r);return`hsla(${r%360}, ${t}%, ${n}%, ${s})`}function mc(e,t){return is(e,()=>Ix(e,t,{listenToStorageChanges:!1}))}const Yx=6e4;function nm(e){return e}const Qx=nm,{setTimeout:Zx}=globalThis,eE=Math.random.bind(Math);function tE(e,t){const{post:n,on:s,eventNames:r=[],serialize:o=nm,deserialize:i=Qx,resolver:a,timeout:c=Yx}=t,l=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(r.includes(h))return p.asEvent=p,p;const v=async(...w)=>(await d,new Promise((y,g)=>{const _=sE();l.set(_,{resolve:y,reject:g}),n(o({m:h,a:w,i:_,t:"q"})),c>=0&&Zx(()=>{g(new Error(`[birpc] timeout on calling "${h}"`)),l.delete(_)},c)}));return v.asEvent=p,v}});return d=s(async(f,...h)=>{const p=i(f);if(p.t==="q"){const{m:v,a:w}=p;let y,g;const _=a?a(v,e[v]):e[v];if(!_)g=new Error(`[birpc] function "${v}" not found`);else try{y=await _.apply(u,w)}catch(b){g=b}p.i&&(g&&t.onError&&t.onError(g,v,w),n(o({t:"s",i:p.i,r:y,e:g}),...h))}else{const{i:v,r:w,e:y}=p,g=l.get(v);g&&(y?g.reject(y):g.resolve(w)),l.delete(v)}}),u}const nE="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function sE(e=21){let t="",n=e;for(;n--;)t+=nE[eE()*64|0];return t}/*! (c) 2020 Andrea Giammarchi */const{parse:rE,stringify:oE}=JSON,{keys:iE}=Object,eo=String,sm="string",_f={},li="object",rm=(e,t)=>t,aE=e=>e instanceof eo?eo(e):e,lE=(e,t)=>typeof t===sm?new eo(t):t,om=(e,t,n,s)=>{const r=[];for(let o=iE(n),{length:i}=o,a=0;a<i;a++){const c=o[a],l=n[c];if(l instanceof eo){const d=e[l];typeof d===li&&!t.has(d)?(t.add(d),n[c]=_f,r.push({k:c,a:[e,t,d,s]})):n[c]=s.call(n,c,d)}else n[c]!==_f&&(n[c]=s.call(n,c,l))}for(let{length:o}=r,i=0;i<o;i++){const{k:a,a:c}=r[i];n[a]=s.call(n,a,om.apply(null,c))}return n},bf=(e,t,n)=>{const s=eo(t.push(n)-1);return e.set(n,s),s},cE=(e,t)=>{const n=rE(e,lE).map(aE),s=n[0],r=t||rm,o=typeof s===li&&s?om(n,new Set,s,r):s;return r.call({"":o},"",o)},uE=(e,t,n)=>{const s=t&&typeof t===li?(d,u)=>d===""||-1<t.indexOf(d)?u:void 0:t||rm,r=new Map,o=[],i=[];let a=+bf(r,o,s.call({"":e},"",e)),c=!a;for(;a<o.length;)c=!0,i[a]=oE(o[a++],l,n);return"["+i.join(",")+"]";function l(d,u){if(c)return c=!c,u;const f=s.call(this,d,u);switch(typeof f){case li:if(f===null)return f;case sm:return r.get(f)||bf(r,o,f)}return f}};async function fE(e="/",t=!0){try{return await Ae(()=>import(`${e}@vite/client`),[],import.meta.url)}catch{t&&console.error(`[vite-plugin-hot] Failed to import "${e}@vite/client"`)}}async function dE(e="/____",t="/"){return(await fE(t))?.createHotContext(e)}const im="nuxt:devtools:rpc",pE=Z(!1),hE=Z(),mE=xw(pE,2e3),gE=vE();let am=()=>{};const lm={},cm=new Map,Me=tE(lm,{post:async e=>{(await gE).send(im,e)},on:e=>{am=e},serialize:uE,deserialize:cE,resolver(e,t){if(t)return t;if(!e.includes(":"))return;const[n,s]=e.split(":");return cm.get(n)?.[s]},onError(e,t){console.error(`[nuxt-devtools] RPC error on executing "${t}":`,e)},timeout:12e4});async function vE(){const e=await dE();if(!e)throw new Error("Unable to connect to devtools");return e.on(im,t=>{am(t)}),e}const i2=dc(),um=dc();function yE(){return is("devtools:restart-dialogs",()=>[])}let fm;function ll(e){fm?.(e)}function _E(e){fm=e}var bE=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function wE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function a2(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function s(){if(this instanceof s){var r=[null];r.push.apply(r,arguments);var o=Function.bind.apply(t,r);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(s){var r=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(n,s,r.get?r:{enumerable:!0,get:function(){return e[s]}})}),n}var cl={exports:{}};(function(e,t){(function(n,s){var r="1.0.35",o="",i="?",a="function",c="undefined",l="object",d="string",u="major",f="model",h="name",p="type",v="vendor",w="version",y="architecture",g="console",_="mobile",b="tablet",S="smarttv",m="wearable",N="embedded",x=350,E="Amazon",k="Apple",T="ASUS",$="BlackBerry",P="Browser",A="Chrome",L="Edge",I="Firefox",D="Google",F="Huawei",V="LG",le="Microsoft",te="Motorola",ie="Opera",de="Samsung",fe="Sharp",ve="Sony",xe="Xiaomi",C="Zebra",Q="Facebook",W="Chromium OS",ue="Mac OS",Se=function(K,ae){var J={};for(var ne in K)ae[ne]&&ae[ne].length%2===0?J[ne]=ae[ne].concat(K[ne]):J[ne]=K[ne];return J},R=function(K){for(var ae={},J=0;J<K.length;J++)ae[K[J].toUpperCase()]=K[J];return ae},O=function(K,ae){return typeof K===d?j(ae).indexOf(j(K))!==-1:!1},j=function(K){return K.toLowerCase()},B=function(K){return typeof K===d?K.replace(/[^\d\.]/g,o).split(".")[0]:s},H=function(K,ae){if(typeof K===d)return K=K.replace(/^\s\s*/,o),typeof ae===c?K:K.substring(0,x)},z=function(K,ae){for(var J=0,ne,ye,Ie,Ee,ge,Ye;J<ae.length&&!ge;){var ls=ae[J],Qe=ae[J+1];for(ne=ye=0;ne<ls.length&&!ge&&ls[ne];)if(ge=ls[ne++].exec(K),ge)for(Ie=0;Ie<Qe.length;Ie++)Ye=ge[++ye],Ee=Qe[Ie],typeof Ee===l&&Ee.length>0?Ee.length===2?typeof Ee[1]==a?this[Ee[0]]=Ee[1].call(this,Ye):this[Ee[0]]=Ee[1]:Ee.length===3?typeof Ee[1]===a&&!(Ee[1].exec&&Ee[1].test)?this[Ee[0]]=Ye?Ee[1].call(this,Ye,Ee[2]):s:this[Ee[0]]=Ye?Ye.replace(Ee[1],Ee[2]):s:Ee.length===4&&(this[Ee[0]]=Ye?Ee[3].call(this,Ye.replace(Ee[1],Ee[2])):s):this[Ee]=Ye||s;J+=2}},se=function(K,ae){for(var J in ae)if(typeof ae[J]===l&&ae[J].length>0){for(var ne=0;ne<ae[J].length;ne++)if(O(ae[J][ne],K))return J===i?s:J}else if(O(ae[J],K))return J===i?s:J;return K},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","?":"/"},X={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,ie+" Mini"]],[/\bopr\/([\w\.]+)/i],[w,[h,ie]],[/(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"+P]],[/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 "+P],w],[/\bfocus\/([\w\.]+)/i],[w,[h,I+" Focus"]],[/\bopt\/([\w\.]+)/i],[w,[h,ie+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[w,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[w,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[w,[h,ie+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[w,[h,"MIUI "+P]],[/fxios\/([-\w\.]+)/i],[w,[h,I]],[/\bqihu|(qi?ho?o?|360)browser/i],[[h,"360 "+P]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1 "+P],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,Q],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,A+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[h,A+" WebView"],w],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[w,[h,"Android "+P]],[/(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,se,Y]],[/(webkit|khtml)\/([\w\.]+)/i],[h,w],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[h,"Netscape"],w],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[w,[h,I+" 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],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,j]],[/((?:i[346]|x)86)[;\)]/i],[[y,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[y,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/windows (ce|mobile); ppc;/i],[[y,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[y,/ower/,o,j]],[/(sun4\w)[;\)]/i],[[y,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[y,j]]],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,b]],[/\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,_]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[f,[v,k],[p,_]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[f,[v,k],[p,b]],[/(macintosh);/i],[f,[v,k]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[f,[v,fe],[p,_]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[f,[v,F],[p,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[f,[v,F],[p,_]],[/\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,xe],[p,_]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[f,/_/g," "],[v,xe],[p,b]],[/; (\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,_]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[f,[v,"Vivo"],[p,_]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[f,[v,"Realme"],[p,_]],[/\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(mz60\d|xoom[2 ]{0,2}) build\//i],[f,[v,te],[p,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[f,[v,V],[p,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[f,[v,V],[p,_]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[f,[v,"Lenovo"],[p,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[f,/_/g," "],[v,"Nokia"],[p,_]],[/(pixel c)\b/i],[f,[v,D],[p,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[f,[v,D],[p,_]],[/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,ve],[p,_]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[f,"Xperia Tablet"],[v,ve],[p,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[f,[v,"OnePlus"],[p,_]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[f,[v,E],[p,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[f,/(.+)/g,"Fire Phone $1"],[v,E],[p,_]],[/(playbook);[-\w\),; ]+(rim)/i],[f,v,[p,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[f,[v,$],[p,_]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[f,[v,T],[p,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[f,[v,T],[p,_]],[/(nexus 9)/i],[f,[v,"HTC"],[p,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[v,[f,/_/g," "],[p,_]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[f,[v,"Acer"],[p,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[f,[v,"Meizu"],[p,_]],[/(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,_]],[/(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,b]],[/(surface duo)/i],[f,[v,le],[p,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[f,[v,"Fairphone"],[p,_]],[/(u304aa)/i],[f,[v,"AT&T"],[p,_]],[/\bsie-(\w*)/i],[f,[v,"Siemens"],[p,_]],[/\b(rct\w+) b/i],[f,[v,"RCA"],[p,b]],[/\b(venue[\d ]{2,7}) b/i],[f,[v,"Dell"],[p,b]],[/\b(q(?:mv|ta)\w+) b/i],[f,[v,"Verizon"],[p,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[f,[v,"Barnes & Noble"],[p,b]],[/\b(tm\d{3}\w+) b/i],[f,[v,"NuVision"],[p,b]],[/\b(k88) b/i],[f,[v,"ZTE"],[p,b]],[/\b(nx\d{3}j) b/i],[f,[v,"ZTE"],[p,_]],[/\b(gen\d{3}) b.+49h/i],[f,[v,"Swiss"],[p,_]],[/\b(zur\d{3}) b/i],[f,[v,"Swiss"],[p,b]],[/\b((zeki)?tb.*\b) b/i],[f,[v,"Zeki"],[p,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[v,"Dragon Touch"],f,[p,b]],[/\b(ns-?\w{0,9}) b/i],[f,[v,"Insignia"],[p,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[f,[v,"NextBook"],[p,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[v,"Voice"],f,[p,_]],[/\b(lvtel\-)?(v1[12]) b/i],[[v,"LvTel"],f,[p,_]],[/\b(ph-1) /i],[f,[v,"Essential"],[p,_]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[f,[v,"Envizen"],[p,b]],[/\b(trio[-\w\. ]+) b/i],[f,[v,"MachSpeed"],[p,b]],[/\btu_(1491) b/i],[f,[v,"Rotor"],[p,b]],[/(shield[\w ]+) b/i],[f,[v,"Nvidia"],[p,b]],[/(sprint) (\w+)/i],[v,f,[p,_]],[/(kin\.[onetw]{3})/i],[[f,/\./g," "],[v,le],[p,_]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[f,[v,C],[p,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[f,[v,C],[p,_]],[/smart-tv.+(samsung)/i],[v,[p,S]],[/hbbtv.+maple;(\d+)/i],[[f,/^/,"SmartTV"],[v,de],[p,S]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[v,V],[p,S]],[/(apple) ?tv/i],[v,[f,k+" TV"],[p,S]],[/crkey/i],[[f,A+"cast"],[v,D],[p,S]],[/droid.+aft(\w)( bui|\))/i],[f,[v,E],[p,S]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[f,[v,fe],[p,S]],[/(bravia[\w ]+)( bui|\))/i],[f,[v,ve],[p,S]],[/(mitv-\w{5}) bui/i],[f,[v,xe],[p,S]],[/Hbbtv.*(technisat) (.*);/i],[v,f,[p,S]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[v,H],[f,H],[p,S]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,S]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[v,f,[p,g]],[/droid.+; (shield) bui/i],[f,[v,"Nvidia"],[p,g]],[/(playstation [345portablevi]+)/i],[f,[v,ve],[p,g]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[f,[v,le],[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,D],[p,m]],[/droid.+; (wt63?0{2,3})\)/i],[f,[v,C],[p,m]],[/(quest( 2| pro)?)/i],[f,[v,Q],[p,m]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[v,[p,N]],[/(aeobc)\b/i],[f,[v,E],[p,N]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[f,[p,_]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[f,[p,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,_]],[/(android[-\w\. ]{0,9});.+buil/i],[f,[v,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[w,[h,L+"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,se,X]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[h,"Windows"],[w,se,X]],[/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,ue],[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,$]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[w,[h,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[w,[h,I+" 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,A+"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]]},ce=function(K,ae){if(typeof K===l&&(ae=K,K=s),!(this instanceof ce))return new ce(K,ae).getResult();var J=typeof n!==c&&n.navigator?n.navigator:s,ne=K||(J&&J.userAgent?J.userAgent:o),ye=J&&J.userAgentData?J.userAgentData:s,Ie=ae?Se(G,ae):G,Ee=J&&J.userAgent==ne;return this.getBrowser=function(){var ge={};return ge[h]=s,ge[w]=s,z.call(ge,ne,Ie.browser),ge[u]=B(ge[w]),Ee&&J&&J.brave&&typeof J.brave.isBrave==a&&(ge[h]="Brave"),ge},this.getCPU=function(){var ge={};return ge[y]=s,z.call(ge,ne,Ie.cpu),ge},this.getDevice=function(){var ge={};return ge[v]=s,ge[f]=s,ge[p]=s,z.call(ge,ne,Ie.device),Ee&&!ge[p]&&ye&&ye.mobile&&(ge[p]=_),Ee&&ge[f]=="Macintosh"&&J&&typeof J.standalone!==c&&J.maxTouchPoints&&J.maxTouchPoints>2&&(ge[f]="iPad",ge[p]=b),ge},this.getEngine=function(){var ge={};return ge[h]=s,ge[w]=s,z.call(ge,ne,Ie.engine),ge},this.getOS=function(){var ge={};return ge[h]=s,ge[w]=s,z.call(ge,ne,Ie.os),Ee&&!ge[h]&&ye&&ye.platform!="Unknown"&&(ge[h]=ye.platform.replace(/chrome os/i,W).replace(/macos/i,ue)),ge},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 ne},this.setUA=function(ge){return ne=typeof ge===d&&ge.length>x?H(ge,x):ge,this},this.setUA(ne),this};ce.VERSION=r,ce.BROWSER=R([h,w,u]),ce.CPU=R([y]),ce.DEVICE=R([f,v,p,g,_,S,b,m,N]),ce.ENGINE=ce.OS=R([h,w]),e.exports&&(t=e.exports=ce),t.UAParser=ce;var M=typeof n!==c&&(n.jQuery||n.Zepto);if(M&&!M.ua){var U=new ce;M.ua=U.getResult(),M.ua.get=function(){return U.getUA()},M.ua.set=function(K){U.setUA(K);var ae=U.getResult();for(var J in ae)M.ua[J]=ae[J]}}})(typeof window=="object"?window:bE)})(cl,cl.exports);var xE=cl.exports;const Bt=Z(localStorage.getItem("__nuxt_dev_token__")),Es=Z(!1),dm=new BroadcastChannel("__nuxt_dev_token__");dm.addEventListener("message",e=>{if(e.data.event==="new-token"){if(e.data.data===Bt.value)return;const t=e.data.data;Me.verifyAuthToken(t).then(n=>{Bt.value=n?t:null,Es.value=n})}});function l2(e){Bt.value=e,Es.value=!0,localStorage.setItem("__nuxt_dev_token__",e),dm.postMessage({event:"new-token",data:e})}async function EE(){if(Es.value)return Bt.value;if(!Bt.value){const e=new xE.UAParser(navigator.userAgent).getResult(),t=[e.browser.name,e.browser.version,"|",e.os.name,e.os.version,e.device.type].filter(s=>s).join(" ");if(Me.requestForAuth(t),await Promise.race([um.start(),Rw(Bt.value).toBeTruthy()])===!1)throw ll({message:"Action canceled",icon:"carbon-close",classes:"text-orange"}),new Error("User canceled auth")}if(Es.value=await Me.verifyAuthToken(Bt.value),!Es.value)throw Bt.value=null,ll({message:"Invalid auth token, action canceled",icon:"i-carbon-warning-alt",classes:"text-red"}),new Error("Invalid auth token");return Bt.value}var ul={exports:{}};const SE="2.0.0",pm=256,TE=Number.MAX_SAFE_INTEGER||9007199254740991,NE=16,$E=pm-6,kE=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var Mi={MAX_LENGTH:pm,MAX_SAFE_COMPONENT_LENGTH:NE,MAX_SAFE_BUILD_LENGTH:$E,MAX_SAFE_INTEGER:TE,RELEASE_TYPES:kE,SEMVER_SPEC_VERSION:SE,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2};const PE=typeof process=="object"&&process.env&&{}.NODE_DEBUG&&/\bsemver\b/i.test({}.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var Di=PE;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:s,MAX_LENGTH:r}=Mi,o=Di;t=e.exports={};const i=t.re=[],a=t.safeRe=[],c=t.src=[],l=t.t={};let d=0;const u="[a-zA-Z0-9-]",f=[["\\s",1],["\\d",r],[u,s]],h=v=>{for(const[w,y]of f)v=v.split(`${w}*`).join(`${w}{0,${y}}`).split(`${w}+`).join(`${w}{1,${y}}`);return v},p=(v,w,y)=>{const g=h(w),_=d++;o(v,_,w),l[v]=_,c[_]=w,i[_]=new RegExp(w,y?"g":void 0),a[_]=new RegExp(g,y?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${u}*`),p("MAINVERSION",`(${c[l.NUMERICIDENTIFIER]})\\.(${c[l.NUMERICIDENTIFIER]})\\.(${c[l.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${c[l.NUMERICIDENTIFIERLOOSE]})\\.(${c[l.NUMERICIDENTIFIERLOOSE]})\\.(${c[l.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${c[l.NUMERICIDENTIFIER]}|${c[l.NONNUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${c[l.NUMERICIDENTIFIERLOOSE]}|${c[l.NONNUMERICIDENTIFIER]})`),p("PRERELEASE",`(?:-(${c[l.PRERELEASEIDENTIFIER]}(?:\\.${c[l.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${c[l.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[l.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${u}+`),p("BUILD",`(?:\\+(${c[l.BUILDIDENTIFIER]}(?:\\.${c[l.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${c[l.MAINVERSION]}${c[l.PRERELEASE]}?${c[l.BUILD]}?`),p("FULL",`^${c[l.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${c[l.MAINVERSIONLOOSE]}${c[l.PRERELEASELOOSE]}?${c[l.BUILD]}?`),p("LOOSE",`^${c[l.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${c[l.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${c[l.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${c[l.XRANGEIDENTIFIER]})(?:\\.(${c[l.XRANGEIDENTIFIER]})(?:\\.(${c[l.XRANGEIDENTIFIER]})(?:${c[l.PRERELEASE]})?${c[l.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${c[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[l.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[l.XRANGEIDENTIFIERLOOSE]})(?:${c[l.PRERELEASELOOSE]})?${c[l.BUILD]}?)?)?`),p("XRANGE",`^${c[l.GTLT]}\\s*${c[l.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${c[l.GTLT]}\\s*${c[l.XRANGEPLAINLOOSE]}$`),p("COERCE",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?(?:$|[^\\d])`),p("COERCERTL",c[l.COERCE],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${c[l.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",p("TILDE",`^${c[l.LONETILDE]}${c[l.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${c[l.LONETILDE]}${c[l.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${c[l.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",p("CARET",`^${c[l.LONECARET]}${c[l.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${c[l.LONECARET]}${c[l.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${c[l.GTLT]}\\s*(${c[l.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${c[l.GTLT]}\\s*(${c[l.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${c[l.GTLT]}\\s*(${c[l.LOOSEPLAIN]}|${c[l.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${c[l.XRANGEPLAIN]})\\s+-\\s+(${c[l.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${c[l.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[l.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(ul,ul.exports);var ho=ul.exports;const AE=Object.freeze({loose:!0}),RE=Object.freeze({}),OE=e=>e?typeof e!="object"?AE:e:RE;var gc=OE;const wf=/^[0-9]+$/,hm=(e,t)=>{const n=wf.test(e),s=wf.test(t);return n&&s&&(e=+e,t=+t),e===t?0:n&&!s?-1:s&&!n?1:e<t?-1:1},CE=(e,t)=>hm(t,e);var mm={compareIdentifiers:hm,rcompareIdentifiers:CE};const Ro=Di,{MAX_LENGTH:xf,MAX_SAFE_INTEGER:Oo}=Mi,{safeRe:Ef,t:Sf}=ho,LE=gc,{compareIdentifiers:us}=mm;let IE=class Mt{constructor(t,n){if(n=LE(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>xf)throw new TypeError(`version is longer than ${xf} characters`);Ro("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const s=t.trim().match(n.loose?Ef[Sf.LOOSE]:Ef[Sf.FULL]);if(!s)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+s[1],this.minor=+s[2],this.patch=+s[3],this.major>Oo||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Oo||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Oo||this.patch<0)throw new TypeError("Invalid patch version");s[4]?this.prerelease=s[4].split(".").map(r=>{if(/^[0-9]+$/.test(r)){const o=+r;if(o>=0&&o<Oo)return o}return r}):this.prerelease=[],this.build=s[5]?s[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(Ro("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)),us(this.major,t.major)||us(this.minor,t.minor)||us(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 s=this.prerelease[n],r=t.prerelease[n];if(Ro("prerelease compare",n,s,r),s===void 0&&r===void 0)return 0;if(r===void 0)return 1;if(s===void 0)return-1;if(s===r)continue;return us(s,r)}while(++n)}compareBuild(t){t instanceof Mt||(t=new Mt(t,this.options));let n=0;do{const s=this.build[n],r=t.build[n];if(Ro("prerelease compare",n,s,r),s===void 0&&r===void 0)return 0;if(r===void 0)return 1;if(s===void 0)return-1;if(s===r)continue;return us(s,r)}while(++n)}inc(t,n,s){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,s);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,s);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,s),this.inc("pre",n,s);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,s),this.inc("pre",n,s);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 r=Number(s)?1:0;if(!n&&s===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[r];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(".")&&s===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(r)}}if(n){let o=[n,r];s===!1&&(o=[n]),us(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 at=IE;const Tf=at,jE=(e,t,n=!1)=>{if(e instanceof Tf)return e;try{return new Tf(e,t)}catch(s){if(!n)return null;throw s}};var Vs=jE;const ME=Vs,DE=(e,t)=>{const n=ME(e,t);return n?n.version:null};var FE=DE;const BE=Vs,HE=(e,t)=>{const n=BE(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var zE=HE;const Nf=at,UE=(e,t,n,s,r)=>{typeof n=="string"&&(r=s,s=n,n=void 0);try{return new Nf(e instanceof Nf?e.version:e,n).inc(t,s,r).version}catch{return null}};var VE=UE;const $f=Vs,WE=(e,t)=>{const n=$f(e,null,!0),s=$f(t,null,!0),r=n.compare(s);if(r===0)return null;const o=r>0,i=o?n:s,a=o?s:n,c=!!i.prerelease.length;if(!!a.prerelease.length&&!c)return!a.patch&&!a.minor?"major":i.patch?"patch":i.minor?"minor":"major";const d=c?"pre":"";return n.major!==s.major?d+"major":n.minor!==s.minor?d+"minor":n.patch!==s.patch?d+"patch":"prerelease"};var GE=WE;const qE=at,KE=(e,t)=>new qE(e,t).major;var XE=KE;const JE=at,YE=(e,t)=>new JE(e,t).minor;var QE=YE;const ZE=at,eS=(e,t)=>new ZE(e,t).patch;var tS=eS;const nS=Vs,sS=(e,t)=>{const n=nS(e,t);return n&&n.prerelease.length?n.prerelease:null};var rS=sS;const kf=at,oS=(e,t,n)=>new kf(e,n).compare(new kf(t,n));var Lt=oS;const iS=Lt,aS=(e,t,n)=>iS(t,e,n);var lS=aS;const cS=Lt,uS=(e,t)=>cS(e,t,!0);var fS=uS;const Pf=at,dS=(e,t,n)=>{const s=new Pf(e,n),r=new Pf(t,n);return s.compare(r)||s.compareBuild(r)};var vc=dS;const pS=vc,hS=(e,t)=>e.sort((n,s)=>pS(n,s,t));var mS=hS;const gS=vc,vS=(e,t)=>e.sort((n,s)=>gS(s,n,t));var yS=vS;const _S=Lt,bS=(e,t,n)=>_S(e,t,n)>0;var Fi=bS;const wS=Lt,xS=(e,t,n)=>wS(e,t,n)<0;var yc=xS;const ES=Lt,SS=(e,t,n)=>ES(e,t,n)===0;var gm=SS;const TS=Lt,NS=(e,t,n)=>TS(e,t,n)!==0;var vm=NS;const $S=Lt,kS=(e,t,n)=>$S(e,t,n)>=0;var _c=kS;const PS=Lt,AS=(e,t,n)=>PS(e,t,n)<=0;var bc=AS;const RS=gm,OS=vm,CS=Fi,LS=_c,IS=yc,jS=bc,MS=(e,t,n,s)=>{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 RS(e,n,s);case"!=":return OS(e,n,s);case">":return CS(e,n,s);case">=":return LS(e,n,s);case"<":return IS(e,n,s);case"<=":return jS(e,n,s);default:throw new TypeError(`Invalid operator: ${t}`)}};var ym=MS;const DS=at,FS=Vs,{safeRe:Co,t:Lo}=ho,BS=(e,t)=>{if(e instanceof DS)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(Co[Lo.COERCE]);else{let s;for(;(s=Co[Lo.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)(!n||s.index+s[0].length!==n.index+n[0].length)&&(n=s),Co[Lo.COERCERTL].lastIndex=s.index+s[1].length+s[2].length;Co[Lo.COERCERTL].lastIndex=-1}return n===null?null:FS(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)};var HS=BS,ma,Af;function zS(){return Af||(Af=1,ma=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}),ma}var US=Re;Re.Node=ts;Re.create=Re;function Re(e){var t=this;if(t instanceof Re||(t=new Re),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(r){t.push(r)});else if(arguments.length>0)for(var n=0,s=arguments.length;n<s;n++)t.push(arguments[n]);return t}Re.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};Re.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++}};Re.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++}};Re.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)WS(this,arguments[e]);return this.length};Re.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)GS(this,arguments[e]);return this.length};Re.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}};Re.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}};Re.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,s=0;n!==null;s++)e.call(t,n.value,s,this),n=n.next};Re.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,s=this.length-1;n!==null;s--)e.call(t,n.value,s,this),n=n.prev};Re.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};Re.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};Re.prototype.map=function(e,t){t=t||this;for(var n=new Re,s=this.head;s!==null;)n.push(e.call(t,s.value,this)),s=s.next;return n};Re.prototype.mapReverse=function(e,t){t=t||this;for(var n=new Re,s=this.tail;s!==null;)n.push(e.call(t,s.value,this)),s=s.prev;return n};Re.prototype.reduce=function(e,t){var n,s=this.head;if(arguments.length>1)n=t;else if(this.head)s=this.head.next,n=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var r=0;s!==null;r++)n=e(n,s.value,r),s=s.next;return n};Re.prototype.reduceReverse=function(e,t){var n,s=this.tail;if(arguments.length>1)n=t;else if(this.tail)s=this.tail.prev,n=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var r=this.length-1;s!==null;r--)n=e(n,s.value,r),s=s.prev;return n};Re.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};Re.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};Re.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 Re;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var s=0,r=this.head;r!==null&&s<e;s++)r=r.next;for(;r!==null&&s<t;s++,r=r.next)n.push(r.value);return n};Re.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 Re;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var s=this.length,r=this.tail;r!==null&&s>t;s--)r=r.prev;for(;r!==null&&s>e;s--,r=r.prev)n.push(r.value);return n};Re.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var s=0,r=this.head;r!==null&&s<e;s++)r=r.next;for(var o=[],s=0;r&&s<t;s++)o.push(r.value),r=this.removeNode(r);r===null&&(r=this.tail),r!==this.head&&r!==this.tail&&(r=r.prev);for(var s=0;s<n.length;s++)r=VS(this,r,n[s]);return o};Re.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;n!==null;n=n.prev){var s=n.prev;n.prev=n.next,n.next=s}return this.head=t,this.tail=e,this};function VS(e,t,n){var s=t===e.head?new ts(n,null,t,e):new ts(n,t,t.next,e);return s.next===null&&(e.tail=s),s.prev===null&&(e.head=s),e.length++,s}function WS(e,t){e.tail=new ts(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function GS(e,t){e.head=new ts(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function ts(e,t,n,s){if(!(this instanceof ts))return new ts(e,t,n,s);this.list=s,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{zS()(Re)}catch{}const qS=US,Hn=Symbol("max"),Qt=Symbol("length"),fs=Symbol("lengthCalculator"),Mr=Symbol("allowStale"),Wn=Symbol("maxAge"),Yt=Symbol("dispose"),Rf=Symbol("noDisposeOnSet"),qe=Symbol("lruList"),Et=Symbol("cache"),_m=Symbol("updateAgeOnGet"),ga=()=>1;class KS{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[Hn]=t.max||1/0;const n=t.length||ga;if(this[fs]=typeof n!="function"?ga:n,this[Mr]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[Wn]=t.maxAge||0,this[Yt]=t.dispose,this[Rf]=t.noDisposeOnSet||!1,this[_m]=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[Hn]=t||1/0,nr(this)}get max(){return this[Hn]}set allowStale(t){this[Mr]=!!t}get allowStale(){return this[Mr]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[Wn]=t,nr(this)}get maxAge(){return this[Wn]}set lengthCalculator(t){typeof t!="function"&&(t=ga),t!==this[fs]&&(this[fs]=t,this[Qt]=0,this[qe].forEach(n=>{n.length=this[fs](n.value,n.key),this[Qt]+=n.length})),nr(this)}get lengthCalculator(){return this[fs]}get length(){return this[Qt]}get itemCount(){return this[qe].length}rforEach(t,n){n=n||this;for(let s=this[qe].tail;s!==null;){const r=s.prev;Of(this,t,s,n),s=r}}forEach(t,n){n=n||this;for(let s=this[qe].head;s!==null;){const r=s.next;Of(this,t,s,n),s=r}}keys(){return this[qe].toArray().map(t=>t.key)}values(){return this[qe].toArray().map(t=>t.value)}reset(){this[Yt]&&this[qe]&&this[qe].length&&this[qe].forEach(t=>this[Yt](t.key,t.value)),this[Et]=new Map,this[qe]=new qS,this[Qt]=0}dump(){return this[qe].map(t=>ci(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[qe]}set(t,n,s){if(s=s||this[Wn],s&&typeof s!="number")throw new TypeError("maxAge must be a number");const r=s?Date.now():0,o=this[fs](n,t);if(this[Et].has(t)){if(o>this[Hn])return Ss(this,this[Et].get(t)),!1;const c=this[Et].get(t).value;return this[Yt]&&(this[Rf]||this[Yt](t,c.value)),c.now=r,c.maxAge=s,c.value=n,this[Qt]+=o-c.length,c.length=o,this.get(t),nr(this),!0}const i=new XS(t,n,o,r,s);return i.length>this[Hn]?(this[Yt]&&this[Yt](t,n),!1):(this[Qt]+=i.length,this[qe].unshift(i),this[Et].set(t,this[qe].head),nr(this),!0)}has(t){if(!this[Et].has(t))return!1;const n=this[Et].get(t).value;return!ci(this,n)}get(t){return va(this,t,!0)}peek(t){return va(this,t,!1)}pop(){const t=this[qe].tail;return t?(Ss(this,t),t.value):null}del(t){Ss(this,this[Et].get(t))}load(t){this.reset();const n=Date.now();for(let s=t.length-1;s>=0;s--){const r=t[s],o=r.e||0;if(o===0)this.set(r.k,r.v);else{const i=o-n;i>0&&this.set(r.k,r.v,i)}}}prune(){this[Et].forEach((t,n)=>va(this,n,!1))}}const va=(e,t,n)=>{const s=e[Et].get(t);if(s){const r=s.value;if(ci(e,r)){if(Ss(e,s),!e[Mr])return}else n&&(e[_m]&&(s.value.now=Date.now()),e[qe].unshiftNode(s));return r.value}},ci=(e,t)=>{if(!t||!t.maxAge&&!e[Wn])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[Wn]&&n>e[Wn]},nr=e=>{if(e[Qt]>e[Hn])for(let t=e[qe].tail;e[Qt]>e[Hn]&&t!==null;){const n=t.prev;Ss(e,t),t=n}},Ss=(e,t)=>{if(t){const n=t.value;e[Yt]&&e[Yt](n.key,n.value),e[Qt]-=n.length,e[Et].delete(n.key),e[qe].removeNode(t)}};class XS{constructor(t,n,s,r,o){this.key=t,this.value=n,this.length=s,this.now=r,this.maxAge=o||0}}const Of=(e,t,n,s)=>{let r=n.value;ci(e,r)&&(Ss(e,n),e[Mr]||(r=void 0)),r&&t.call(s,r.value,r.key,e)};var JS=KS,ya,Cf;function It(){if(Cf)return ya;Cf=1;class e{constructor(A,L){if(L=s(L),A instanceof e)return A.loose===!!L.loose&&A.includePrerelease===!!L.includePrerelease?A:new e(A.raw,L);if(A instanceof r)return this.raw=A.value,this.set=[[A]],this.format(),this;if(this.options=L,this.loose=!!L.loose,this.includePrerelease=!!L.includePrerelease,this.raw=A.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(I=>this.parseRange(I.trim())).filter(I=>I.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const I=this.set[0];if(this.set=this.set.filter(D=>!p(D[0])),this.set.length===0)this.set=[I];else if(this.set.length>1){for(const D of this.set)if(D.length===1&&v(D[0])){this.set=[D];break}}}this.format()}format(){return this.range=this.set.map(A=>A.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(A){const I=((this.options.includePrerelease&&f)|(this.options.loose&&h))+":"+A,D=n.get(I);if(D)return D;const F=this.options.loose,V=F?a[c.HYPHENRANGELOOSE]:a[c.HYPHENRANGE];A=A.replace(V,T(this.options.includePrerelease)),o("hyphen replace",A),A=A.replace(a[c.COMPARATORTRIM],l),o("comparator trim",A),A=A.replace(a[c.TILDETRIM],d),o("tilde trim",A),A=A.replace(a[c.CARETTRIM],u),o("caret trim",A);let le=A.split(" ").map(fe=>y(fe,this.options)).join(" ").split(/\s+/).map(fe=>k(fe,this.options));F&&(le=le.filter(fe=>(o("loose invalid filter",fe,this.options),!!fe.match(a[c.COMPARATORLOOSE])))),o("range list",le);const te=new Map,ie=le.map(fe=>new r(fe,this.options));for(const fe of ie){if(p(fe))return[fe];te.set(fe.value,fe)}te.size>1&&te.has("")&&te.delete("");const de=[...te.values()];return n.set(I,de),de}intersects(A,L){if(!(A instanceof e))throw new TypeError("a Range is required");return this.set.some(I=>w(I,L)&&A.set.some(D=>w(D,L)&&I.every(F=>D.every(V=>F.intersects(V,L)))))}test(A){if(!A)return!1;if(typeof A=="string")try{A=new i(A,this.options)}catch{return!1}for(let L=0;L<this.set.length;L++)if($(this.set[L],A,this.options))return!0;return!1}}ya=e;const t=JS,n=new t({max:1e3}),s=gc,r=Bi(),o=Di,i=at,{safeRe:a,t:c,comparatorTrimReplace:l,tildeTrimReplace:d,caretTrimReplace:u}=ho,{FLAG_INCLUDE_PRERELEASE:f,FLAG_LOOSE:h}=Mi,p=P=>P.value==="<0.0.0-0",v=P=>P.value==="",w=(P,A)=>{let L=!0;const I=P.slice();let D=I.pop();for(;L&&I.length;)L=I.every(F=>D.intersects(F,A)),D=I.pop();return L},y=(P,A)=>(o("comp",P,A),P=S(P,A),o("caret",P),P=_(P,A),o("tildes",P),P=N(P,A),o("xrange",P),P=E(P,A),o("stars",P),P),g=P=>!P||P.toLowerCase()==="x"||P==="*",_=(P,A)=>P.trim().split(/\s+/).map(L=>b(L,A)).join(" "),b=(P,A)=>{const L=A.loose?a[c.TILDELOOSE]:a[c.TILDE];return P.replace(L,(I,D,F,V,le)=>{o("tilde",P,I,D,F,V,le);let te;return g(D)?te="":g(F)?te=`>=${D}.0.0 <${+D+1}.0.0-0`:g(V)?te=`>=${D}.${F}.0 <${D}.${+F+1}.0-0`:le?(o("replaceTilde pr",le),te=`>=${D}.${F}.${V}-${le} <${D}.${+F+1}.0-0`):te=`>=${D}.${F}.${V} <${D}.${+F+1}.0-0`,o("tilde return",te),te})},S=(P,A)=>P.trim().split(/\s+/).map(L=>m(L,A)).join(" "),m=(P,A)=>{o("caret",P,A);const L=A.loose?a[c.CARETLOOSE]:a[c.CARET],I=A.includePrerelease?"-0":"";return P.replace(L,(D,F,V,le,te)=>{o("caret",P,D,F,V,le,te);let ie;return g(F)?ie="":g(V)?ie=`>=${F}.0.0${I} <${+F+1}.0.0-0`:g(le)?F==="0"?ie=`>=${F}.${V}.0${I} <${F}.${+V+1}.0-0`:ie=`>=${F}.${V}.0${I} <${+F+1}.0.0-0`:te?(o("replaceCaret pr",te),F==="0"?V==="0"?ie=`>=${F}.${V}.${le}-${te} <${F}.${V}.${+le+1}-0`:ie=`>=${F}.${V}.${le}-${te} <${F}.${+V+1}.0-0`:ie=`>=${F}.${V}.${le}-${te} <${+F+1}.0.0-0`):(o("no pr"),F==="0"?V==="0"?ie=`>=${F}.${V}.${le}${I} <${F}.${V}.${+le+1}-0`:ie=`>=${F}.${V}.${le}${I} <${F}.${+V+1}.0-0`:ie=`>=${F}.${V}.${le} <${+F+1}.0.0-0`),o("caret return",ie),ie})},N=(P,A)=>(o("replaceXRanges",P,A),P.split(/\s+/).map(L=>x(L,A)).join(" ")),x=(P,A)=>{P=P.trim();const L=A.loose?a[c.XRANGELOOSE]:a[c.XRANGE];return P.replace(L,(I,D,F,V,le,te)=>{o("xRange",P,I,D,F,V,le,te);const ie=g(F),de=ie||g(V),fe=de||g(le),ve=fe;return D==="="&&ve&&(D=""),te=A.includePrerelease?"-0":"",ie?D===">"||D==="<"?I="<0.0.0-0":I="*":D&&ve?(de&&(V=0),le=0,D===">"?(D=">=",de?(F=+F+1,V=0,le=0):(V=+V+1,le=0)):D==="<="&&(D="<",de?F=+F+1:V=+V+1),D==="<"&&(te="-0"),I=`${D+F}.${V}.${le}${te}`):de?I=`>=${F}.0.0${te} <${+F+1}.0.0-0`:fe&&(I=`>=${F}.${V}.0${te} <${F}.${+V+1}.0-0`),o("xRange return",I),I})},E=(P,A)=>(o("replaceStars",P,A),P.trim().replace(a[c.STAR],"")),k=(P,A)=>(o("replaceGTE0",P,A),P.trim().replace(a[A.includePrerelease?c.GTE0PRE:c.GTE0],"")),T=P=>(A,L,I,D,F,V,le,te,ie,de,fe,ve,xe)=>(g(I)?L="":g(D)?L=`>=${I}.0.0${P?"-0":""}`:g(F)?L=`>=${I}.${D}.0${P?"-0":""}`:V?L=`>=${L}`:L=`>=${L}${P?"-0":""}`,g(ie)?te="":g(de)?te=`<${+ie+1}.0.0-0`:g(fe)?te=`<${ie}.${+de+1}.0-0`:ve?te=`<=${ie}.${de}.${fe}-${ve}`:P?te=`<${ie}.${de}.${+fe+1}-0`:te=`<=${te}`,`${L} ${te}`.trim()),$=(P,A,L)=>{for(let I=0;I<P.length;I++)if(!P[I].test(A))return!1;if(A.prerelease.length&&!L.includePrerelease){for(let I=0;I<P.length;I++)if(o(P[I].semver),P[I].semver!==r.ANY&&P[I].semver.prerelease.length>0){const D=P[I].semver;if(D.major===A.major&&D.minor===A.minor&&D.patch===A.patch)return!0}return!1}return!0};return ya}var _a,Lf;function Bi(){if(Lf)return _a;Lf=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?s[r.COMPARATORLOOSE]:s[r.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 c(d.value,u).test(this.value):d.operator===""?d.value===""?!0:new c(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(">")))}}_a=t;const n=gc,{safeRe:s,t:r}=ho,o=ym,i=Di,a=at,c=It();return _a}const YS=It(),QS=(e,t,n)=>{try{t=new YS(t,n)}catch{return!1}return t.test(e)};var Hi=QS;const ZS=It(),eT=(e,t)=>new ZS(e,t).set.map(n=>n.map(s=>s.value).join(" ").trim().split(" "));var tT=eT;const nT=at,sT=It(),rT=(e,t,n)=>{let s=null,r=null,o=null;try{o=new sT(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!s||r.compare(i)===-1)&&(s=i,r=new nT(s,n))}),s};var oT=rT;const iT=at,aT=It(),lT=(e,t,n)=>{let s=null,r=null,o=null;try{o=new aT(t,n)}catch{return null}return e.forEach(i=>{o.test(i)&&(!s||r.compare(i)===1)&&(s=i,r=new iT(s,n))}),s};var cT=lT;const ba=at,uT=It(),If=Fi,fT=(e,t)=>{e=new uT(e,t);let n=new ba("0.0.0");if(e.test(n)||(n=new ba("0.0.0-0"),e.test(n)))return n;n=null;for(let s=0;s<e.set.length;++s){const r=e.set[s];let o=null;r.forEach(i=>{const a=new ba(i.semver.version);switch(i.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!o||If(a,o))&&(o=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),o&&(!n||If(n,o))&&(n=o)}return n&&e.test(n)?n:null};var dT=fT;const pT=It(),hT=(e,t)=>{try{return new pT(e,t).range||"*"}catch{return null}};var mT=hT;const gT=at,bm=Bi(),{ANY:vT}=bm,yT=It(),_T=Hi,jf=Fi,Mf=yc,bT=bc,wT=_c,xT=(e,t,n,s)=>{e=new gT(e,s),t=new yT(t,s);let r,o,i,a,c;switch(n){case">":r=jf,o=bT,i=Mf,a=">",c=">=";break;case"<":r=Mf,o=wT,i=jf,a="<",c="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(_T(e,t,s))return!1;for(let l=0;l<t.set.length;++l){const d=t.set[l];let u=null,f=null;if(d.forEach(h=>{h.semver===vT&&(h=new bm(">=0.0.0")),u=u||h,f=f||h,r(h.semver,u.semver,s)?u=h:i(h.semver,f.semver,s)&&(f=h)}),u.operator===a||u.operator===c||(!f.operator||f.operator===a)&&o(e,f.semver))return!1;if(f.operator===c&&i(e,f.semver))return!1}return!0};var wc=xT;const ET=wc,ST=(e,t,n)=>ET(e,t,">",n);var TT=ST;const NT=wc,$T=(e,t,n)=>NT(e,t,"<",n);var kT=$T;const Df=It(),PT=(e,t,n)=>(e=new Df(e,n),t=new Df(t,n),e.intersects(t,n));var AT=PT;const RT=Hi,OT=Lt;var CT=(e,t,n)=>{const s=[];let r=null,o=null;const i=e.sort((d,u)=>OT(d,u,n));for(const d of i)RT(d,t,n)?(o=d,r||(r=d)):(o&&s.push([r,o]),o=null,r=null);r&&s.push([r,null]);const a=[];for(const[d,u]of s)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 c=a.join(" || "),l=typeof t.raw=="string"?t.raw:String(t);return c.length<l.length?c:t};const Ff=It(),xc=Bi(),{ANY:wa}=xc,sr=Hi,Ec=Lt,LT=(e,t,n={})=>{if(e===t)return!0;e=new Ff(e,n),t=new Ff(t,n);let s=!1;e:for(const r of e.set){for(const o of t.set){const i=jT(r,o,n);if(s=s||i!==null,i)continue e}if(s)return!1}return!0},IT=[new xc(">=0.0.0-0")],Bf=[new xc(">=0.0.0")],jT=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===wa){if(t.length===1&&t[0].semver===wa)return!0;n.includePrerelease?e=IT:e=Bf}if(t.length===1&&t[0].semver===wa){if(n.includePrerelease)return!0;t=Bf}const s=new Set;let r,o;for(const h of e)h.operator===">"||h.operator===">="?r=Hf(r,h,n):h.operator==="<"||h.operator==="<="?o=zf(o,h,n):s.add(h.semver);if(s.size>1)return null;let i;if(r&&o){if(i=Ec(r.semver,o.semver,n),i>0)return null;if(i===0&&(r.operator!==">="||o.operator!=="<="))return null}for(const h of s){if(r&&!sr(h,String(r),n)||o&&!sr(h,String(o),n))return null;for(const p of t)if(!sr(h,String(p),n))return!1;return!0}let a,c,l,d,u=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1,f=r&&!n.includePrerelease&&r.semver.prerelease.length?r.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===">=",l=l||h.operator==="<"||h.operator==="<=",r){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=Hf(r,h,n),a===h&&a!==r)return!1}else if(r.operator===">="&&!sr(r.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(c=zf(o,h,n),c===h&&c!==o)return!1}else if(o.operator==="<="&&!sr(o.semver,String(h),n))return!1}if(!h.operator&&(o||r)&&i!==0)return!1}return!(r&&l&&!o&&i!==0||o&&d&&!r&&i!==0||f||u)},Hf=(e,t,n)=>{if(!e)return t;const s=Ec(e.semver,t.semver,n);return s>0?e:s<0||t.operator===">"&&e.operator===">="?t:e},zf=(e,t,n)=>{if(!e)return t;const s=Ec(e.semver,t.semver,n);return s<0?e:s>0||t.operator==="<"&&e.operator==="<="?t:e};var MT=LT;const xa=ho,Uf=Mi,DT=at,Vf=mm,FT=Vs,BT=FE,HT=zE,zT=VE,UT=GE,VT=XE,WT=QE,GT=tS,qT=rS,KT=Lt,XT=lS,JT=fS,YT=vc,QT=mS,ZT=yS,eN=Fi,tN=yc,nN=gm,sN=vm,rN=_c,oN=bc,iN=ym,aN=HS,lN=Bi(),cN=It(),uN=Hi,fN=tT,dN=oT,pN=cT,hN=dT,mN=mT,gN=wc,vN=TT,yN=kT,_N=AT,bN=CT,wN=MT;var xN={parse:FT,valid:BT,clean:HT,inc:zT,diff:UT,major:VT,minor:WT,patch:GT,prerelease:qT,compare:KT,rcompare:XT,compareLoose:JT,compareBuild:YT,sort:QT,rsort:ZT,gt:eN,lt:tN,eq:nN,neq:sN,gte:rN,lte:oN,cmp:iN,coerce:aN,Comparator:lN,Range:cN,satisfies:uN,toComparators:fN,maxSatisfying:dN,minSatisfying:pN,minVersion:hN,validRange:mN,outside:gN,gtr:vN,ltr:yN,intersects:_N,simplifyRange:bN,subset:wN,SemVer:DT,re:xa.re,src:xa.src,tokens:xa.t,SEMVER_SPEC_VERSION:Uf.SEMVER_SPEC_VERSION,RELEASE_TYPES:Uf.RELEASE_TYPES,compareIdentifiers:Vf.compareIdentifiers,rcompareIdentifiers:Vf.rcompareIdentifiers};const EN=wE(xN),Ea=new Map;function c2(e,t){const n=e;return Ea.has(n)||Ea.set(n,NN(e,t)),Ea.get(n)}function SN(){return ft("npm:check:nuxt",()=>Me.checkForUpdateFor("nuxt"))}function TN(e){const t=SN();return me(()=>t?.value?.current?EN.satisfies(t.value.current,e):!1)}function NN(e,t){const n=Ce(),s=ft(`npm:check:${e}`,()=>Me.checkForUpdateFor(e)),r=Z("idle"),o=Z();n.hook("devtools:terminal:exit",({id:c,code:l})=>{c!==o||!o||(r.value=l===0?"updated":"idle")});async function i(c){if(r.value!=="idle")return;const l=await Me.getNpmCommand("update",e,t);if(l&&await c(l.join(" ")))return r.value="running",o.value=(await Me.runNpmCommand(await EE(),"update",e,t))?.processId,o.value}async function a(){r.value==="updated"&&await Me.restartNuxt()}return{info:s,state:r,update:i,restart:a,processId:o}}const rr={icon:"carbon-edge-node",title:"Build Analyze",layout:"full",category:"analyze",show(){return TN("^3.5.0")}},or={icon:"carbon-image-copy",title:"Assets",layout:"full"},ir={icon:"i-carbon-assembly-cluster",title:"Components",order:2},ar={layout:"full"},lr={icon:"carbon-ibm-cloud-direct-link-2-connect",title:"Hooks",category:"advanced"},cr={icon:"carbon-function",title:"Imports",order:3},ur={icon:"carbon-layers",title:"Middleware",wip:!0},fr={icon:"carbon-3d-mpr-toggle",title:"Modules",order:4},zi=()=>is("color-mode").value,fl=Z();let Wf;function $N(){Wf||(Wf=(async()=>{const{default:e}=await Ae(()=>import("./index.8f3e434d.js").then(t=>t.i),[],import.meta.url);fl.value=new e({html:!0,linkify:!0,breaks:!0})})())}function kN(e){return $N(),fl.value?fl.value.render(e):e}var wm=typeof globalThis<"u"?globalThis:typeof{}<"u"?{}:typeof global<"u"?global:typeof self<"u"?self:{},xm={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(wm,()=>{return n={770:function(r,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 c=a(i(418));let l=null,d=!1;class u{static _utf8ByteLength(y){let g=0;for(let _=0,b=y.length;_<b;_++){const S=y.charCodeAt(_);let m=S,N=!1;if(S>=55296&&S<=56319&&_+1<b){const x=y.charCodeAt(_+1);x>=56320&&x<=57343&&(m=65536+(S-55296<<10)|x-56320,N=!0)}g+=m<=127?1:m<=2047?2:m<=65535?3:4,N&&_++}return g}constructor(y){const g=y.length,_=u._utf8ByteLength(y),b=_!==g,S=b?new Uint32Array(g+1):null;b&&(S[g]=_);const m=b?new Uint32Array(_+1):null;b&&(m[_]=g);const N=new Uint8Array(_);let x=0;for(let E=0;E<g;E++){const k=y.charCodeAt(E);let T=k,$=!1;if(k>=55296&&k<=56319&&E+1<g){const P=y.charCodeAt(E+1);P>=56320&&P<=57343&&(T=65536+(k-55296<<10)|P-56320,$=!0)}b&&(S[E]=x,$&&(S[E+1]=x),T<=127?m[x+0]=E:T<=2047?(m[x+0]=E,m[x+1]=E):T<=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)),T<=127?N[x++]=T:T<=2047?(N[x++]=192|(1984&T)>>>6,N[x++]=128|(63&T)>>>0):T<=65535?(N[x++]=224|(61440&T)>>>12,N[x++]=128|(4032&T)>>>6,N[x++]=128|(63&T)>>>0):(N[x++]=240|(1835008&T)>>>18,N[x++]=128|(258048&T)>>>12,N[x++]=128|(4032&T)>>>6,N[x++]=128|(63&T)>>>0),$&&E++}this.utf16Length=g,this.utf8Length=_,this.utf16Value=y,this.utf8Value=N,this.utf16OffsetToUtf8=S,this.utf8OffsetToUtf16=m}createString(y){const g=y._omalloc(this.utf8Length);return y.HEAPU8.set(this.utf8Value,g),g}}class f{constructor(y){if(this.id=++f.LAST_ID,!l)throw new Error("Must invoke loadWASM first.");this._onigBinding=l,this.content=y;const g=new u(y);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=l._omalloc(1e4)),f._sharedPtrInUse=!0,l.HEAPU8.set(g.utf8Value,f._sharedPtr),this.ptr=f._sharedPtr):this.ptr=g.createString(l)}convertUtf8OffsetToUtf16(y){return this.utf8OffsetToUtf16?y<0?0:y>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[y]:y}convertUtf16OffsetToUtf8(y){return this.utf16OffsetToUtf8?y<0?0:y>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[y]:y}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(y){if(!l)throw new Error("Must invoke loadWASM first.");const g=[],_=[];for(let N=0,x=y.length;N<x;N++){const E=new u(y[N]);g[N]=E.createString(l),_[N]=E.utf8Length}const b=l._omalloc(4*y.length);l.HEAPU32.set(g,b/4);const S=l._omalloc(4*y.length);l.HEAPU32.set(_,S/4);const m=l._createOnigScanner(b,S,y.length);for(let N=0,x=y.length;N<x;N++)l._ofree(g[N]);l._ofree(S),l._ofree(b),m===0&&function(N){throw new Error(N.UTF8ToString(N._getLastOnigError()))}(l),this._onigBinding=l,this._ptr=m}dispose(){this._onigBinding._freeOnigScanner(this._ptr)}findNextMatchSync(y,g,_){let b=d,S=0;if(typeof _=="number"?(8&_&&(b=!0),S=_):typeof _=="boolean"&&(b=_),typeof y=="string"){y=new f(y);const m=this._findNextMatchSync(y,g,b,S);return y.dispose(),m}return this._findNextMatchSync(y,g,b,S)}_findNextMatchSync(y,g,_,b){const S=this._onigBinding;let m;if(m=_?S._findNextOnigScannerMatchDbg(this._ptr,y.id,y.ptr,y.utf8Length,y.convertUtf16OffsetToUtf8(g),b):S._findNextOnigScannerMatch(this._ptr,y.id,y.ptr,y.utf8Length,y.convertUtf16OffsetToUtf8(g),b),m===0)return null;const N=S.HEAPU32;let x=m/4;const E=N[x++],k=N[x++];let T=[];for(let $=0;$<k;$++){const P=y.convertUtf8OffsetToUtf16(N[x++]),A=y.convertUtf8OffsetToUtf16(N[x++]);T[$]={start:P,end:A,length:A-P}}return{index:E,captureIndices:T}}}o.OnigScanner=h;let p=!1,v=null;o.loadWASM=function(w){if(p)return v;let y,g,_,b;if(p=!0,function(S){return typeof S.instantiator=="function"}(w))y=w.instantiator,g=w.print;else{let S;(function(m){return m.data!==void 0})(w)?(S=w.data,g=w.print):S=w,y=function(m){return typeof Response<"u"&&m instanceof Response}(S)?typeof WebAssembly.instantiateStreaming=="function"?function(m){return N=>WebAssembly.instantiateStreaming(m,N)}(S):function(m){return async N=>{const x=await m.arrayBuffer();return WebAssembly.instantiate(x,N)}}(S):function(m){return N=>WebAssembly.instantiate(m,N)}(S)}return v=new Promise((S,m)=>{_=S,b=m}),function(S,m,N,x){(0,c.default)({print:m,instantiateWasm:(E,k)=>{if(typeof performance>"u"){const T=()=>Date.now();E.env.emscripten_get_now=T,E.wasi_snapshot_preview1.emscripten_get_now=T}return S(E).then(T=>k(T.instance),x),{}}}).then(E=>{l=E,N()})}(y,g,_,b),v},o.createOnigString=function(w){return new f(w)},o.createOnigScanner=function(w){return new h(w)},o.setDefaultDebugCall=function(w){d=w}},418:r=>{var o=(typeof document<"u"&&document.currentScript&&document.currentScript.src,function(i){var a,c,l=(i=i||{})!==void 0?i:{};l.ready=new Promise(function(M,U){a=M,c=U});var d,u=Object.assign({},l),f=!1,h="";function p(M){return l.locateFile?l.locateFile(M,h):h+M}d=function(M){let U;return typeof readbuffer=="function"?new Uint8Array(readbuffer(M)):(U=read(M,"binary"),b(typeof U=="object"),U)},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,y=l.print||console.log.bind(console),g=l.printErr||console.warn.bind(console);Object.assign(l,u),u=null,l.arguments&&l.arguments,l.thisProgram&&l.thisProgram,l.quit&&l.quit,l.wasmBinary&&(v=l.wasmBinary),l.noExitRuntime,typeof WebAssembly!="object"&&ve("no native wasm support detected");var _=!1;function b(M,U){M||ve(U)}var S,m,N,x=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function E(M,U,K){for(var ae=U+K,J=U;M[J]&&!(J>=ae);)++J;if(J-U>16&&M.buffer&&x)return x.decode(M.subarray(U,J));for(var ne="";U<J;){var ye=M[U++];if(128&ye){var Ie=63&M[U++];if((224&ye)!=192){var Ee=63&M[U++];if((ye=(240&ye)==224?(15&ye)<<12|Ie<<6|Ee:(7&ye)<<18|Ie<<12|Ee<<6|63&M[U++])<65536)ne+=String.fromCharCode(ye);else{var ge=ye-65536;ne+=String.fromCharCode(55296|ge>>10,56320|1023&ge)}}else ne+=String.fromCharCode((31&ye)<<6|Ie)}else ne+=String.fromCharCode(ye)}return ne}function k(M,U){return M?E(m,M,U):""}function T(M){S=M,l.HEAP8=new Int8Array(M),l.HEAP16=new Int16Array(M),l.HEAP32=new Int32Array(M),l.HEAPU8=m=new Uint8Array(M),l.HEAPU16=new Uint16Array(M),l.HEAPU32=N=new Uint32Array(M),l.HEAPF32=new Float32Array(M),l.HEAPF64=new Float64Array(M)}l.INITIAL_MEMORY;var $=[],P=[],A=[];function L(){if(l.preRun)for(typeof l.preRun=="function"&&(l.preRun=[l.preRun]);l.preRun.length;)F(l.preRun.shift());O($)}function I(){O(P)}function D(){if(l.postRun)for(typeof l.postRun=="function"&&(l.postRun=[l.postRun]);l.postRun.length;)le(l.postRun.shift());O(A)}function F(M){$.unshift(M)}function V(M){P.unshift(M)}function le(M){A.unshift(M)}var te=0,ie=null;function de(M){te++,l.monitorRunDependencies&&l.monitorRunDependencies(te)}function fe(M){if(te--,l.monitorRunDependencies&&l.monitorRunDependencies(te),te==0&&ie){var U=ie;ie=null,U()}}function ve(M){l.onAbort&&l.onAbort(M),g(M="Aborted("+M+")"),_=!0,M+=". Build with -sASSERTIONS for more info.";var U=new WebAssembly.RuntimeError(M);throw c(U),U}var xe,C,Q="data:application/octet-stream;base64,";function W(M){return M.startsWith(Q)}function ue(M){try{if(M==xe&&v)return new Uint8Array(v);if(d)return d(M);throw"both async and sync fetching of the wasm failed"}catch(U){ve(U)}}function Se(){return v||!f||typeof fetch!="function"?Promise.resolve().then(function(){return ue(xe)}):fetch(xe,{credentials:"same-origin"}).then(function(M){if(!M.ok)throw"failed to load wasm binary file at '"+xe+"'";return M.arrayBuffer()}).catch(function(){return ue(xe)})}function R(){var M={env:G,wasi_snapshot_preview1:G};function U(J,ne){var ye=J.exports;l.asm=ye,T((w=l.asm.memory).buffer),l.asm.__indirect_function_table,V(l.asm.__wasm_call_ctors),fe()}function K(J){U(J.instance)}function ae(J){return Se().then(function(ne){return WebAssembly.instantiate(ne,M)}).then(function(ne){return ne}).then(J,function(ne){g("failed to asynchronously prepare wasm: "+ne),ve(ne)})}if(de(),l.instantiateWasm)try{return l.instantiateWasm(M,U)}catch(J){g("Module.instantiateWasm callback failed with error: "+J),c(J)}return(v||typeof WebAssembly.instantiateStreaming!="function"||W(xe)||typeof fetch!="function"?ae(K):fetch(xe,{credentials:"same-origin"}).then(function(J){return WebAssembly.instantiateStreaming(J,M).then(K,function(ne){return g("wasm streaming compile failed: "+ne),g("falling back to ArrayBuffer instantiation"),ae(K)})})).catch(c),{}}function O(M){for(;M.length>0;)M.shift()(l)}function j(M,U,K){m.copyWithin(M,U,U+K)}function B(M){try{return w.grow(M-S.byteLength+65535>>>16),T(w.buffer),1}catch{}}function H(M){var U,K=m.length,ae=2147483648;if((M>>>=0)>ae)return!1;for(var J=1;J<=4;J*=2){var ne=K*(1+.2/J);if(ne=Math.min(ne,M+100663296),B(Math.min(ae,(U=Math.max(M,ne))+(65536-U%65536)%65536)))return!0}return!1}W(xe="onig.wasm")||(xe=p(xe)),C=typeof dateNow<"u"?dateNow:()=>performance.now();var z=[null,[],[]];function se(M,U){var K=z[M];U===0||U===10?((M===1?y:g)(E(K,0)),K.length=0):K.push(U)}function Y(M,U,K,ae){for(var J=0,ne=0;ne<K;ne++){var ye=N[U>>2],Ie=N[U+4>>2];U+=8;for(var Ee=0;Ee<Ie;Ee++)se(M,m[ye+Ee]);J+=Ie}return N[ae>>2]=J,0}var X,G={emscripten_get_now:C,emscripten_memcpy_big:j,emscripten_resize_heap:H,fd_write:Y};function ce(M){function U(){X||(X=!0,l.calledRun=!0,_||(I(),a(l),l.onRuntimeInitialized&&l.onRuntimeInitialized(),D()))}te>0||(L(),te>0||(l.setStatus?(l.setStatus("Running..."),setTimeout(function(){setTimeout(function(){l.setStatus("")},1),U()},1)):U()))}if(R(),l.___wasm_call_ctors=function(){return(l.___wasm_call_ctors=l.asm.__wasm_call_ctors).apply(null,arguments)},l.___errno_location=function(){return(l.___errno_location=l.asm.__errno_location).apply(null,arguments)},l._omalloc=function(){return(l._omalloc=l.asm.omalloc).apply(null,arguments)},l._ofree=function(){return(l._ofree=l.asm.ofree).apply(null,arguments)},l._getLastOnigError=function(){return(l._getLastOnigError=l.asm.getLastOnigError).apply(null,arguments)},l._createOnigScanner=function(){return(l._createOnigScanner=l.asm.createOnigScanner).apply(null,arguments)},l._freeOnigScanner=function(){return(l._freeOnigScanner=l.asm.freeOnigScanner).apply(null,arguments)},l._findNextOnigScannerMatch=function(){return(l._findNextOnigScannerMatch=l.asm.findNextOnigScannerMatch).apply(null,arguments)},l._findNextOnigScannerMatchDbg=function(){return(l._findNextOnigScannerMatchDbg=l.asm.findNextOnigScannerMatchDbg).apply(null,arguments)},l.stackSave=function(){return(l.stackSave=l.asm.stackSave).apply(null,arguments)},l.stackRestore=function(){return(l.stackRestore=l.asm.stackRestore).apply(null,arguments)},l.stackAlloc=function(){return(l.stackAlloc=l.asm.stackAlloc).apply(null,arguments)},l.dynCall_jiji=function(){return(l.dynCall_jiji=l.asm.dynCall_jiji).apply(null,arguments)},l.UTF8ToString=k,ie=function M(){X||ce(),X||(ie=M)},l.preInit)for(typeof l.preInit=="function"&&(l.preInit=[l.preInit]);l.preInit.length>0;)l.preInit.pop()();return ce(),i.ready});r.exports=o}},s={},function r(o){var i=s[o];if(i!==void 0)return i.exports;var a=s[o]={exports:{}};return n[o].call(a.exports,a,a.exports,r),a.exports}(770);var n,s})})(xm);var Sa=xm.exports,Em={exports:{}};(function(e,t){(function(n,s){e.exports=s()})(wm,function(){return(()=>{var n={350:(r,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.UseOnigurumaFindOptions=o.DebugFlags=void 0,o.DebugFlags={InDebugMode:typeof process<"u"&&!1},o.UseOnigurumaFindOptions=!1},36:(r,o)=>{var i;Object.defineProperty(o,"__esModule",{value:!0}),o.toOptionalTokenType=o.EncodedTokenAttributes=void 0,(i=o.EncodedTokenAttributes||(o.EncodedTokenAttributes={})).toBinaryStr=function(a){let c=a.toString(2);for(;c.length<32;)c="0"+c;return c},i.print=function(a){const c=i.getLanguageId(a),l=i.getTokenType(a),d=i.getFontStyle(a),u=i.getForeground(a),f=i.getBackground(a);console.log({languageId:c,tokenType:l,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,c,l,d,u,f,h){let p=i.getLanguageId(a),v=i.getTokenType(a),w=i.containsBalancedBrackets(a)?1:0,y=i.getFontStyle(a),g=i.getForeground(a),_=i.getBackground(a);return c!==0&&(p=c),l!==8&&(v=l),d!==null&&(w=d?1:0),u!==-1&&(y=u),f!==0&&(g=f),h!==0&&(_=h),(p<<0|v<<8|w<<10|y<<11|g<<15|_<<24)>>>0},o.toOptionalTokenType=function(a){return a}},996:(r,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.BasicScopeAttributesProvider=o.BasicScopeAttributes=void 0;const a=i(878);class c{constructor(f,h){this.languageId=f,this.tokenType=h}}o.BasicScopeAttributes=c;class l{constructor(f,h){this._getBasicScopeAttributes=new a.CachedFn(p=>{const v=this._scopeToLanguage(p),w=this._toStandardTokenType(p);return new c(v,w)}),this._defaultAttributes=new c(f,8),this._embeddedLanguagesMatcher=new d(Object.entries(h||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(f){return f===null?l._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(f)}_scopeToLanguage(f){return this._embeddedLanguagesMatcher.match(f)||0}_toStandardTokenType(f){const h=f.match(l.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=l,l._NULL_SCOPE_METADATA=new c(0,0),l.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:(r,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),c=i(36),l=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,T,$){const P=l.createMatchers(E,y),A=u.RuleFactory.getCompiledRuleId(k,T,$.repository);for(const L of P)x.push({debugSelector:E,matcher:L.matcher,ruleId:A,grammar:$,priority:L.priority})}function y(x,E){if(E.length<x.length)return!1;let k=0;return x.every(T=>{for(let $=k;$<E.length;$++)if(g(E[$],T))return k=$+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,T,$,P,A,L){return new _(x,E,k,T,$,P,A,L)};class _{constructor(E,k,T,$,P,A,L,I){if(this._rootScopeName=E,this.balancedBracketSelectors=A,this._onigLib=I,this._basicScopeAttributesProvider=new p.BasicScopeAttributesProvider(T,$),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=L,this._grammar=b(k,null),this._injections=null,this._tokenTypeMatchers=[],P)for(const D of Object.keys(P)){const F=l.createMatchers(D,y);for(const V of F)this._tokenTypeMatchers.push({matcher:V.matcher,type:P[D]})}}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,T=($=>$===this._rootScopeName?this._grammar:this.getExternalGrammar($))(k);if(T){const $=T.injections;if($)for(let A in $)w(E,A,$[A],this,T);const P=this._grammarRepository.injections(k);P&&P.forEach(A=>{const L=this.getExternalGrammar(A);if(L){const I=L.injectionSelector;I&&w(E,I,L,this,L)}})}return E.sort(($,P)=>$.priority-P.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,T=E(u.ruleIdFromNumber(k));return this._ruleId2desc[k]=T,T}getRule(E){return this._ruleId2desc[u.ruleIdToNumber(E)]}getExternalGrammar(E,k){if(this._includedGrammars[E])return this._includedGrammars[E];if(this._grammarRepository){const T=this._grammarRepository.lookup(E);if(T)return this._includedGrammars[E]=b(T,k&&k.$base),this._includedGrammars[E]}}tokenizeLine(E,k,T=0){const $=this._tokenize(E,k,!1,T);return{tokens:$.lineTokens.getResult($.ruleStack,$.lineLength),ruleStack:$.ruleStack,stoppedEarly:$.stoppedEarly}}tokenizeLine2(E,k,T=0){const $=this._tokenize(E,k,!0,T);return{tokens:$.lineTokens.getBinaryResult($.ruleStack,$.lineLength),ruleStack:$.ruleStack,stoppedEarly:$.stoppedEarly}}_tokenize(E,k,T,$){let P;if(this._rootId===-1&&(this._rootId=u.RuleFactory.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository)),k&&k!==m.NULL)P=!1,k.reset();else{P=!0;const F=this._basicScopeAttributesProvider.getDefaultAttributes(),V=this.themeProvider.getDefaults(),le=c.EncodedTokenAttributes.set(0,F.languageId,F.tokenType,null,V.fontStyle,V.foregroundId,V.backgroundId),te=this.getRule(this._rootId).getName(null,null);let ie;ie=te?S.createRootAndLookUpScopeName(te,le,this):S.createRoot("unknown",le),k=new m(null,this._rootId,-1,-1,!1,null,ie,ie)}E+=`
|
|
8
|
+
`;const A=this.createOnigString(E),L=A.content.length,I=new N(T,E,this._tokenTypeMatchers,this.balancedBracketSelectors),D=v._tokenizeString(this,A,P,0,k,I,!0,$);return d.disposeOnigString(A),{lineLength:L,lineTokens:I,ruleStack:D.stack,stoppedEarly:D.stoppedEarly}}}function b(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=_;class S{constructor(E,k,T){this.parent=E,this.scopePath=k,this.tokenAttributes=T}static createRoot(E,k){return new S(null,new f.ScopeStack(null,E),k)}static createRootAndLookUpScopeName(E,k,T){const $=T.getMetadataForScope(E),P=new f.ScopeStack(null,E),A=T.themeProvider.themeMatch(P),L=S.mergeAttributes(k,$,A);return new S(null,P,L)}get scopeName(){return this.scopePath.scopeName}equals(E){return S._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,T){let $=-1,P=0,A=0;return T!==null&&($=T.fontStyle,P=T.foregroundId,A=T.backgroundId),c.EncodedTokenAttributes.set(E,k.languageId,k.tokenType,null,$,P,A)}pushAttributed(E,k){if(E===null)return this;if(E.indexOf(" ")===-1)return S._pushAttributed(this,E,k);const T=E.split(/ /g);let $=this;for(const P of T)$=S._pushAttributed($,P,k);return $}static _pushAttributed(E,k,T){const $=T.getMetadataForScope(k),P=E.scopePath.push(k),A=T.themeProvider.themeMatch(P),L=S.mergeAttributes(E.tokenAttributes,$,A);return new S(E,P,L)}getScopeNames(){return this.scopePath.getSegments()}}o.AttributedScopeStack=S;class m{constructor(E,k,T,$,P,A,L,I){this.parent=E,this.ruleId=k,this.beginRuleCapturedEOL=P,this.endRule=A,this.nameScopesList=L,this.contentNameScopesList=I,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=T,this._anchorPos=$}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,T,$,P,A,L){return new m(this,E,k,T,$,P,A,L)}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,[]):l.createMatchers(k,y).map(T=>T.matcher)),this.unbalancedBracketScopes=E.flatMap(k=>l.createMatchers(k,y).map(T=>T.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 N{constructor(E,k,T,$){this.balancedBracketSelectors=$,this._emitBinaryTokens=E,this._tokenTypeOverrides=T,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 $=E.tokenAttributes,P=!1;if(this.balancedBracketSelectors?.matchesAlways&&(P=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const A=E.getScopeNames();for(const L of this._tokenTypeOverrides)L.matcher(A)&&($=c.EncodedTokenAttributes.set($,0,c.toOptionalTokenType(L.type),null,-1,0,0));this.balancedBracketSelectors&&(P=this.balancedBracketSelectors.match(A))}if(P&&($=c.EncodedTokenAttributes.set($,0,8,P,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===$)return void(this._lastTokenEndIndex=k);if(a.DebugFlags.InDebugMode){const A=E.getScopeNames();console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,k).replace(/\n$/,"\\n")+"|");for(let L=0;L<A.length;L++)console.log(" * "+A[L])}return this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push($),void(this._lastTokenEndIndex=k)}const T=E.getScopeNames();if(a.DebugFlags.InDebugMode){console.log(" token: |"+this._lineText.substring(this._lastTokenEndIndex,k).replace(/\n$/,"\\n")+"|");for(let $=0;$<T.length;$++)console.log(" * "+T[$])}this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:k,scopes:T}),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 T=new Uint32Array(this._binaryTokens.length);for(let $=0,P=this._binaryTokens.length;$<P;$++)T[$]=this._binaryTokens[$];return T}}o.LineTokens=N},965:(r,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 c{constructor(m){this.scopeName=m}toKey(){return this.scopeName}}o.TopLevelRuleReference=c;class l{constructor(m,N){this.scopeName=m,this.ruleName=N}toKey(){return`${this.scopeName}#${this.ruleName}`}}o.TopLevelRepositoryRuleReference=l;class d{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(m){const N=m.toKey();this._seenReferenceKeys.has(N)||(this._seenReferenceKeys.add(N),this._references.push(m))}}function u(S,m,N,x){const E=N.lookup(S.scopeName);if(!E){if(S.scopeName===m)throw new Error(`No grammar provided for <${m}>`);return}const k=N.lookup(m);S instanceof c?h({baseGrammar:k,selfGrammar:E},x):f(S.ruleName,{baseGrammar:k,selfGrammar:E,repository:E.repository},x);const T=N.injections(S.scopeName);if(T)for(const $ of T)x.add(new c($))}function f(S,m,N){m.repository&&m.repository[S]&&p([m.repository[S]],m,N)}function h(S,m){S.selfGrammar.patterns&&Array.isArray(S.selfGrammar.patterns)&&p(S.selfGrammar.patterns,{...S,repository:S.selfGrammar.repository},m),S.selfGrammar.injections&&p(Object.values(S.selfGrammar.injections),{...S,repository:S.selfGrammar.repository},m)}function p(S,m,N){for(const x of S){if(N.visitedRule.has(x))continue;N.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},N);const k=x.include;if(!k)continue;const T=b(k);switch(T.kind){case 0:h({...m,selfGrammar:m.baseGrammar},N);break;case 1:h(m,N);break;case 2:f(T.ruleName,{...m,repository:E},N);break;case 3:case 4:const $=T.scopeName===m.selfGrammar.scopeName?m.selfGrammar:T.scopeName===m.baseGrammar.scopeName?m.baseGrammar:void 0;if($){const P={baseGrammar:m.baseGrammar,selfGrammar:$,repository:E};T.kind===4?f(T.ruleName,P,N):h(P,N)}else T.kind===4?N.add(new l(T.scopeName,T.ruleName)):N.add(new c(T.scopeName))}}}o.ExternalReferenceCollector=d,o.ScopeDependencyProcessor=class{constructor(S,m){this.repo=S,this.initialScopeName=m,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new c(this.initialScopeName)]}processQueue(){const S=this.Q;this.Q=[];const m=new d;for(const N of S)u(N,this.initialScopeName,this.repo,m);for(const N of m.references)if(N instanceof c){if(this.seenFullScopeRequests.has(N.scopeName))continue;this.seenFullScopeRequests.add(N.scopeName),this.Q.push(N)}else{if(this.seenFullScopeRequests.has(N.scopeName)||this.seenPartialScopeRequests.has(N.toKey()))continue;this.seenPartialScopeRequests.add(N.toKey()),this.Q.push(N)}}};class v{constructor(){this.kind=0}}o.BaseReference=v;class w{constructor(){this.kind=1}}o.SelfReference=w;class y{constructor(m){this.ruleName=m,this.kind=2}}o.RelativeReference=y;class g{constructor(m){this.scopeName=m,this.kind=3}}o.TopLevelReference=g;class _{constructor(m,N){this.scopeName=m,this.ruleName=N,this.kind=4}}function b(S){if(S==="$base")return new v;if(S==="$self")return new w;const m=S.indexOf("#");if(m===-1)return new g(S);if(m===0)return new y(S.substring(1));{const N=S.substring(0,m),x=S.substring(m+1);return new _(N,x)}}o.TopLevelRepositoryReference=_,o.parseInclude=b},391:function(r,o,i){var a=this&&this.__createBinding||(Object.create?function(l,d,u,f){f===void 0&&(f=u),Object.defineProperty(l,f,{enumerable:!0,get:function(){return d[u]}})}:function(l,d,u,f){f===void 0&&(f=u),l[f]=d[u]}),c=this&&this.__exportStar||function(l,d){for(var u in l)u==="default"||Object.prototype.hasOwnProperty.call(d,u)||a(d,l,u)};Object.defineProperty(o,"__esModule",{value:!0}),c(i(947),o)},47:(r,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.LocalStackElement=o._tokenizeString=void 0;const a=i(350),c=i(44),l=i(792),d=i(878);class u{constructor(_,b){this.stack=_,this.stoppedEarly=b}}function f(g,_,b,S,m,N,x,E){const k=_.content.length;let T=!1,$=-1;if(x){const L=function(I,D,F,V,le,te){let ie=le.beginRuleCapturedEOL?0:-1;const de=[];for(let fe=le;fe;fe=fe.pop()){const ve=fe.getRule(I);ve instanceof l.BeginWhileRule&&de.push({rule:ve,stack:fe})}for(let fe=de.pop();fe;fe=de.pop()){const{ruleScanner:ve,findOptions:xe}=p(fe.rule,I,fe.stack.endRule,F,V===ie),C=ve.findNextMatchSync(D,V,xe);if(a.DebugFlags.InDebugMode&&(console.log(" scanning for while rule"),console.log(ve.toString())),!C){a.DebugFlags.InDebugMode&&console.log(" popping "+fe.rule.debugName+" - "+fe.rule.debugWhileRegExp),le=fe.stack.pop();break}if(C.ruleId!==l.whileRuleId){le=fe.stack.pop();break}C.captureIndices&&C.captureIndices.length&&(te.produce(fe.stack,C.captureIndices[0].start),w(I,D,F,fe.stack,te,fe.rule.whileCaptures,C.captureIndices),te.produce(fe.stack,C.captureIndices[0].end),ie=C.captureIndices[0].end,C.captureIndices[0].end>V&&(V=C.captureIndices[0].end,F=!1))}return{stack:le,linePos:V,anchorPosition:ie,isFirstLine:F}}(g,_,b,S,m,N);m=L.stack,S=L.linePos,b=L.isFirstLine,$=L.anchorPosition}const P=Date.now();for(;!T;){if(E!==0&&Date.now()-P>E)return new u(m,!0);A()}return new u(m,!1);function A(){a.DebugFlags.InDebugMode&&(console.log(""),console.log(`@@scanNext ${S}: |${_.content.substr(S).replace(/\n$/,"\\n")}|`));const L=function(V,le,te,ie,de,fe){const ve=function(ue,Se,R,O,j,B){const H=j.getRule(ue),{ruleScanner:z,findOptions:se}=h(H,ue,j.endRule,R,O===B);let Y=0;a.DebugFlags.InDebugMode&&(Y=d.performanceNow());const X=z.findNextMatchSync(Se,O,se);if(a.DebugFlags.InDebugMode){const G=d.performanceNow()-Y;G>5&&console.warn(`Rule ${H.debugName} (${H.id}) matching took ${G} against '${Se}'`),console.log(` scanning for (linePos: ${O}, anchorPosition: ${B})`),console.log(z.toString()),X&&console.log(`matched rule id: ${X.ruleId} from ${X.captureIndices[0].start} to ${X.captureIndices[0].end}`)}return X?{captureIndices:X.captureIndices,matchedRuleId:X.ruleId}:null}(V,le,te,ie,de,fe),xe=V.getInjections();if(xe.length===0)return ve;const C=function(ue,Se,R,O,j,B,H){let z,se=Number.MAX_VALUE,Y=null,X=0;const G=B.contentNameScopesList.getScopeNames();for(let ce=0,M=ue.length;ce<M;ce++){const U=ue[ce];if(!U.matcher(G))continue;const K=Se.getRule(U.ruleId),{ruleScanner:ae,findOptions:J}=h(K,Se,null,O,j===H),ne=ae.findNextMatchSync(R,j,J);if(!ne)continue;a.DebugFlags.InDebugMode&&(console.log(` matched injection: ${U.debugSelector}`),console.log(ae.toString()));const ye=ne.captureIndices[0].start;if(!(ye>=se)&&(se=ye,Y=ne.captureIndices,z=ne.ruleId,X=U.priority,se===j))break}return Y?{priorityMatch:X===-1,captureIndices:Y,matchedRuleId:z}:null}(xe,V,le,te,ie,de,fe);if(!C)return ve;if(!ve)return C;const Q=ve.captureIndices[0].start,W=C.captureIndices[0].start;return W<Q||C.priorityMatch&&W===Q?C:ve}(g,_,b,S,m,$);if(!L)return a.DebugFlags.InDebugMode&&console.log(" no more matches."),N.produce(m,k),void(T=!0);const I=L.captureIndices,D=L.matchedRuleId,F=!!(I&&I.length>0)&&I[0].end>S;if(D===l.endRuleId){const V=m.getRule(g);a.DebugFlags.InDebugMode&&console.log(" popping "+V.debugName+" - "+V.debugEndRegExp),N.produce(m,I[0].start),m=m.withContentNameScopesList(m.nameScopesList),w(g,_,b,m,N,V.endCaptures,I),N.produce(m,I[0].end);const le=m;if(m=m.parent,$=le.getAnchorPos(),!F&&le.getEnterPos()===S)return a.DebugFlags.InDebugMode&&console.error("[1] - Grammar is in an endless loop - Grammar pushed & popped a rule without advancing"),m=le,N.produce(m,k),void(T=!0)}else{const V=g.getRule(D);N.produce(m,I[0].start);const le=m,te=V.getName(_.content,I),ie=m.contentNameScopesList.pushAttributed(te,g);if(m=m.push(D,S,$,I[0].end===k,null,ie,ie),V instanceof l.BeginEndRule){const de=V;a.DebugFlags.InDebugMode&&console.log(" pushing "+de.debugName+" - "+de.debugBeginRegExp),w(g,_,b,m,N,de.beginCaptures,I),N.produce(m,I[0].end),$=I[0].end;const fe=de.getContentName(_.content,I),ve=ie.pushAttributed(fe,g);if(m=m.withContentNameScopesList(ve),de.endHasBackReferences&&(m=m.withEndRule(de.getEndWithResolvedBackReferences(_.content,I))),!F&&le.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(),N.produce(m,k),void(T=!0)}else if(V instanceof l.BeginWhileRule){const de=V;a.DebugFlags.InDebugMode&&console.log(" pushing "+de.debugName),w(g,_,b,m,N,de.beginCaptures,I),N.produce(m,I[0].end),$=I[0].end;const fe=de.getContentName(_.content,I),ve=ie.pushAttributed(fe,g);if(m=m.withContentNameScopesList(ve),de.whileHasBackReferences&&(m=m.withEndRule(de.getWhileWithResolvedBackReferences(_.content,I))),!F&&le.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(),N.produce(m,k),void(T=!0)}else{const de=V;if(a.DebugFlags.InDebugMode&&console.log(" matched "+de.debugName+" - "+de.debugMatchRegExp),w(g,_,b,m,N,de.captures,I),N.produce(m,I[0].end),m=m.pop(),!F)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(),N.produce(m,k),void(T=!0)}}I[0].end>S&&(S=I[0].end,b=!1)}}function h(g,_,b,S,m){return a.UseOnigurumaFindOptions?{ruleScanner:g.compile(_,b),findOptions:v(S,m)}:{ruleScanner:g.compileAG(_,b,S,m),findOptions:0}}function p(g,_,b,S,m){return a.UseOnigurumaFindOptions?{ruleScanner:g.compileWhile(_,b),findOptions:v(S,m)}:{ruleScanner:g.compileWhileAG(_,b,S,m),findOptions:0}}function v(g,_){let b=0;return g||(b|=1),_||(b|=4),b}function w(g,_,b,S,m,N,x){if(N.length===0)return;const E=_.content,k=Math.min(N.length,x.length),T=[],$=x[0].end;for(let P=0;P<k;P++){const A=N[P];if(A===null)continue;const L=x[P];if(L.length===0)continue;if(L.start>$)break;for(;T.length>0&&T[T.length-1].endPos<=L.start;)m.produceFromScopes(T[T.length-1].scopes,T[T.length-1].endPos),T.pop();if(T.length>0?m.produceFromScopes(T[T.length-1].scopes,L.start):m.produce(S,L.start),A.retokenizeCapturedWithRuleId){const D=A.getName(E,x),F=S.contentNameScopesList.pushAttributed(D,g),V=A.getContentName(E,x),le=F.pushAttributed(V,g),te=S.push(A.retokenizeCapturedWithRuleId,L.start,-1,!1,null,F,le),ie=g.createOnigString(E.substring(0,L.end));f(g,ie,b&&L.start===0,L.start,te,m,!1,0),c.disposeOnigString(ie);continue}const I=A.getName(E,x);if(I!==null){const D=(T.length>0?T[T.length-1].scopes:S.contentNameScopesList).pushAttributed(I,g);T.push(new y(D,L.end))}}for(;T.length>0;)m.produceFromScopes(T[T.length-1].scopes,T[T.length-1].endPos),T.pop()}o._tokenizeString=f;class y{constructor(_,b){this.scopes=_,this.endPos=b}}o.LocalStackElement=y},974:(r,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 c,v=0,w=null,y=[],g=[];function _(){y.push(v),g.push(w)}function b(){v=y.pop(),w=g.pop()}function S(m){i(h,m)}for(;l(h,p);){if(v===0){if(w!==null&&S("too many constructs in root"),p.type===3){w={},f&&(w.$vscodeTextmateLocation=p.toLocation(u)),_(),v=1;continue}if(p.type===2){w=[],_(),v=4;continue}S("unexpected token in root")}if(v===2){if(p.type===5){b();continue}if(p.type===7){v=3;continue}S("expected , or }")}if(v===1||v===3){if(v===1&&p.type===5){b();continue}if(p.type===1){let m=p.value;if(l(h,p)&&p.type===6||S("expected colon"),l(h,p)||S("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 N=[];w[m]=N,_(),v=4,w=N;continue}if(p.type===3){let N={};f&&(N.$vscodeTextmateLocation=p.toLocation(u)),w[m]=N,_(),v=1,w=N;continue}}S("unexpected token in dict")}if(v===5){if(p.type===4){b();continue}if(p.type===7){v=6;continue}S("expected , or ]")}if(v===4||v===6){if(v===4&&p.type===4){b();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),_(),v=4,w=m;continue}if(p.type===3){let m={};f&&(m.$vscodeTextmateLocation=p.toLocation(u)),w.push(m),_(),v=1,w=m;continue}S("unexpected token in array")}S("unknown state")}return g.length!==0&&S("unclosed constructs"),w};class a{constructor(u){this.source=u,this.pos=0,this.len=u.length,this.line=1,this.char=0}}class c{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 l(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,y=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++,y=0}else p++,y++}if(u.offset=p,u.line=w,u.char=y,f===34){for(u.type=1,p++,y++;;){if(p>=v)return!1;if(f=h.charCodeAt(p),p++,y++,f!==92){if(f===34)break}else p++,y++}u.value=h.substring(u.offset+1,p-1).replace(/\\u([0-9A-Fa-f]{4})/g,(g,_)=>String.fromCodePoint(parseInt(_,16))).replace(/\\(.)/g,(g,_)=>{switch(_){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++,y++;else if(f===123)u.type=3,p++,y++;else if(f===93)u.type=4,p++,y++;else if(f===125)u.type=5,p++,y++;else if(f===58)u.type=6,p++,y++;else if(f===44)u.type=7,p++,y++;else if(f===110){if(u.type=8,p++,y++,f=h.charCodeAt(p),f!==117||(p++,y++,f=h.charCodeAt(p),f!==108)||(p++,y++,f=h.charCodeAt(p),f!==108))return!1;p++,y++}else if(f===116){if(u.type=9,p++,y++,f=h.charCodeAt(p),f!==114||(p++,y++,f=h.charCodeAt(p),f!==117)||(p++,y++,f=h.charCodeAt(p),f!==101))return!1;p++,y++}else if(f===102){if(u.type=10,p++,y++,f=h.charCodeAt(p),f!==97||(p++,y++,f=h.charCodeAt(p),f!==108)||(p++,y++,f=h.charCodeAt(p),f!==115)||(p++,y++,f=h.charCodeAt(p),f!==101))return!1;p++,y++}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++,y++}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=y,!0}},787:function(r,o,i){var a=this&&this.__createBinding||(Object.create?function(p,v,w,y){y===void 0&&(y=w),Object.defineProperty(p,y,{enumerable:!0,get:function(){return v[w]}})}:function(p,v,w,y){y===void 0&&(y=w),p[y]=v[w]}),c=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 l=i(391),d=i(50),u=i(652),f=i(583),h=i(965);c(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 l.BalancedBracketSelectors(w.balancedBracketSelectors||[],w.unbalancedBracketSelectors||[]))}loadGrammar(p){return this._loadGrammar(p,0,null,null,null)}async _loadGrammar(p,v,w,y,g){const _=new h.ScopeDependencyProcessor(this._syncRegistry,p);for(;_.Q.length>0;)await Promise.all(_.Q.map(b=>this._loadSingleGrammar(b.scopeName))),_.processQueue();return this._grammarForScopeName(p,v,w,y,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,y=null){return this._syncRegistry.addGrammar(p,v),await this._grammarForScopeName(p.scopeName,w,y)}_grammarForScopeName(p,v=0,w=null,y=null,g=null){return this._syncRegistry.grammarForScopeName(p,v,w,y,g)}},o.INITIAL=l.StateStack.NULL,o.parseRawGrammar=d.parseRawGrammar},736:(r,o)=>{function i(a){return!!a&&!!a.match(/[\w\.:]+/)}Object.defineProperty(o,"__esModule",{value:!0}),o.createMatchers=void 0,o.createMatchers=function(a,c){const l=[],d=function(p){let v=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,w=v.exec(p);return{next:()=>{if(!w)return null;const y=w[0];return w=v.exec(p),y}}}(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(l.push({matcher:v,priority:p}),u!==",")break;u=d.next()}return l;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 y=>v.some(g=>g(y))}();return u===")"&&(u=d.next()),p}if(i(u)){const p=[];do p.push(u),u=d.next();while(i(u));return v=>c(p,v)}return null}function h(){const p=[];let v=f();for(;v;)p.push(v),v=f();return w=>p.every(y=>y(w))}}},44:(r,o)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.disposeOnigString=void 0,o.disposeOnigString=function(i){typeof i.dispose=="function"&&i.dispose()}},50:(r,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.parseRawGrammar=void 0;const a=i(69),c=i(350),l=i(974);o.parseRawGrammar=function(d,u=null){return u!==null&&/\.json$/.test(u)?(f=d,h=u,c.DebugFlags.InDebugMode?l.parseJSON(f,h,!0):JSON.parse(f)):function(p,v){return c.DebugFlags.InDebugMode?a.parseWithLocation(p,v,"$vscodeTextmateLocation"):a.parsePLIST(p)}(d,u);var f,h}},69:(r,o)=>{function i(a,c,l){const d=a.length;let u=0,f=1,h=0;function p(C){if(l===null)u+=C;else for(;C>0;)a.charCodeAt(u)===10?(u++,f++,h=0):(u++,h++),C--}function v(C){l===null?u=C:p(C-u)}function w(){for(;u<d;){let C=a.charCodeAt(u);if(C!==32&&C!==9&&C!==13&&C!==10)break;p(1)}}function y(C){return a.substr(u,C.length)===C&&(p(C.length),!0)}function g(C){let Q=a.indexOf(C,u);v(Q!==-1?Q+C.length:d)}function _(C){let Q=a.indexOf(C,u);if(Q!==-1){let W=a.substring(u,Q);return v(Q+C.length),W}{let W=a.substr(u);return v(d),W}}d>0&&a.charCodeAt(0)===65279&&(u=1);let b=0,S=null,m=[],N=[],x=null;function E(C,Q){m.push(b),N.push(S),b=C,S=Q}function k(){if(m.length===0)return T("illegal state stack");b=m.pop(),S=N.pop()}function T(C){throw new Error("Near offset "+u+": "+C+" ~~~"+a.substr(u,50)+"~~~")}const $=function(){if(x===null)return T("missing <key>");let C={};l!==null&&(C[l]={filename:c,line:f,char:h}),S[x]=C,x=null,E(1,C)},P=function(){if(x===null)return T("missing <key>");let C=[];S[x]=C,x=null,E(2,C)},A=function(){let C={};l!==null&&(C[l]={filename:c,line:f,char:h}),S.push(C),E(1,C)},L=function(){let C=[];S.push(C),E(2,C)};function I(){if(b!==1)return T("unexpected </dict>");k()}function D(){return b===1||b!==2?T("unexpected </array>"):void k()}function F(C){if(b===1){if(x===null)return T("missing <key>");S[x]=C,x=null}else b===2?S.push(C):S=C}function V(C){if(isNaN(C))return T("cannot parse float");if(b===1){if(x===null)return T("missing <key>");S[x]=C,x=null}else b===2?S.push(C):S=C}function le(C){if(isNaN(C))return T("cannot parse integer");if(b===1){if(x===null)return T("missing <key>");S[x]=C,x=null}else b===2?S.push(C):S=C}function te(C){if(b===1){if(x===null)return T("missing <key>");S[x]=C,x=null}else b===2?S.push(C):S=C}function ie(C){if(b===1){if(x===null)return T("missing <key>");S[x]=C,x=null}else b===2?S.push(C):S=C}function de(C){if(b===1){if(x===null)return T("missing <key>");S[x]=C,x=null}else b===2?S.push(C):S=C}function fe(){let C=_(">"),Q=!1;return C.charCodeAt(C.length-1)===47&&(Q=!0,C=C.substring(0,C.length-1)),{name:C.trim(),isClosed:Q}}function ve(C){if(C.isClosed)return"";let Q=_("</");return g(">"),Q.replace(/&#([0-9]+);/g,function(W,ue){return String.fromCodePoint(parseInt(ue,10))}).replace(/&#x([0-9a-f]+);/g,function(W,ue){return String.fromCodePoint(parseInt(ue,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 C=a.charCodeAt(u);if(p(1),C!==60)return T("expected <");if(u>=d)return T("unexpected end of input");const Q=a.charCodeAt(u);if(Q===63){p(1),g("?>");continue}if(Q===33){if(p(1),y("--")){g("-->");continue}g(">");continue}if(Q===47){if(p(1),w(),y("plist")){g(">");continue}if(y("dict")){g(">"),I();continue}if(y("array")){g(">"),D();continue}return T("unexpected closed tag")}let W=fe();switch(W.name){case"dict":b===1?$():b===2?A():(S={},l!==null&&(S[l]={filename:c,line:f,char:h}),E(1,S)),W.isClosed&&I();continue;case"array":b===1?P():b===2?L():(S=[],E(2,S)),W.isClosed&&D();continue;case"key":xe=ve(W),b!==1?T("unexpected <key>"):x!==null?T("too many <key>"):x=xe;continue;case"string":F(ve(W));continue;case"real":V(parseFloat(ve(W)));continue;case"integer":le(parseInt(ve(W),10));continue;case"date":te(new Date(ve(W)));continue;case"data":ie(ve(W));continue;case"true":ve(W),de(!0);continue;case"false":ve(W),de(!1);continue}if(!/^plist/.test(W.name))return T("unexpected opened tag "+W.name)}var xe;return S}Object.defineProperty(o,"__esModule",{value:!0}),o.parsePLIST=o.parseWithLocation=void 0,o.parseWithLocation=function(a,c,l){return i(a,c,l)},o.parsePLIST=function(a){return i(a,null,null)}},652:(r,o,i)=>{Object.defineProperty(o,"__esModule",{value:!0}),o.SyncRegistry=void 0;const a=i(391);o.SyncRegistry=class{constructor(c,l){this._onigLibPromise=l,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=c}dispose(){for(const c of this._grammars.values())c.dispose()}setTheme(c){this._theme=c}getColorMap(){return this._theme.getColorMap()}addGrammar(c,l){this._rawGrammars.set(c.scopeName,c),l&&this._injectionGrammars.set(c.scopeName,l)}lookup(c){return this._rawGrammars.get(c)}injections(c){return this._injectionGrammars.get(c)}getDefaults(){return this._theme.getDefaults()}themeMatch(c){return this._theme.match(c)}async grammarForScopeName(c,l,d,u,f){if(!this._grammars.has(c)){let h=this._rawGrammars.get(c);if(!h)return null;this._grammars.set(c,a.createGrammar(c,h,l,d,u,f,this,await this._onigLibPromise))}return this._grammars.get(c)}}},792:(r,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),c=i(965),l=/\\(\d+)/,d=/\\(\d+)/g;o.endRuleId=-1,o.whileRuleId=-2,o.ruleIdFromNumber=function(S){return S},o.ruleIdToNumber=function(S){return S};class u{constructor(m,N,x,E){this.$location=m,this.id=N,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,N){return this._nameIsCapturing&&this._name!==null&&m!==null&&N!==null?a.RegexSource.replaceCaptures(this._name,m,N):this._name}getContentName(m,N){return this._contentNameIsCapturing&&this._contentName!==null?a.RegexSource.replaceCaptures(this._contentName,m,N):this._contentName}}o.Rule=u;class f extends u{constructor(m,N,x,E,k){super(m,N,x,E),this.retokenizeCapturedWithRuleId=k}dispose(){}collectPatterns(m,N){throw new Error("Not supported!")}compile(m,N){throw new Error("Not supported!")}compileAG(m,N,x,E){throw new Error("Not supported!")}}o.CaptureRule=f;class h extends u{constructor(m,N,x,E,k){super(m,N,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,N){N.push(this._match)}compile(m,N){return this._getCachedCompiledPatterns(m).compile(m)}compileAG(m,N,x,E){return this._getCachedCompiledPatterns(m).compileAG(m,x,E)}_getCachedCompiledPatterns(m){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new _,this.collectPatterns(m,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.MatchRule=h;class p extends u{constructor(m,N,x,E,k){super(m,N,x,E),this.patterns=k.patterns,this.hasMissingPatterns=k.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(m,N){for(const x of this.patterns)m.getRule(x).collectPatterns(m,N)}compile(m,N){return this._getCachedCompiledPatterns(m).compile(m)}compileAG(m,N,x,E){return this._getCachedCompiledPatterns(m).compileAG(m,x,E)}_getCachedCompiledPatterns(m){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new _,this.collectPatterns(m,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}o.IncludeOnlyRule=p;class v extends u{constructor(m,N,x,E,k,T,$,P,A,L){super(m,N,x,E),this._begin=new g(k,this.id),this.beginCaptures=T,this._end=new g($||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=P,this.applyEndPatternLast=A||!1,this.patterns=L.patterns,this.hasMissingPatterns=L.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,N){return this._end.resolveBackReferences(m,N)}collectPatterns(m,N){N.push(this._begin)}compile(m,N){return this._getCachedCompiledPatterns(m,N).compile(m)}compileAG(m,N,x,E){return this._getCachedCompiledPatterns(m,N).compileAG(m,x,E)}_getCachedCompiledPatterns(m,N){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new _;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,N):this._cachedCompiledPatterns.setSource(0,N)),this._cachedCompiledPatterns}}o.BeginEndRule=v;class w extends u{constructor(m,N,x,E,k,T,$,P,A){super(m,N,x,E),this._begin=new g(k,this.id),this.beginCaptures=T,this.whileCaptures=P,this._while=new g($,o.whileRuleId),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=A.patterns,this.hasMissingPatterns=A.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,N){return this._while.resolveBackReferences(m,N)}collectPatterns(m,N){N.push(this._begin)}compile(m,N){return this._getCachedCompiledPatterns(m).compile(m)}compileAG(m,N,x,E){return this._getCachedCompiledPatterns(m).compileAG(m,x,E)}_getCachedCompiledPatterns(m){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new _;for(const N of this.patterns)m.getRule(N).collectPatterns(m,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(m,N){return this._getCachedCompiledWhilePatterns(m,N).compile(m)}compileWhileAG(m,N,x,E){return this._getCachedCompiledWhilePatterns(m,N).compileAG(m,x,E)}_getCachedCompiledWhilePatterns(m,N){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new _,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,N||""),this._cachedCompiledWhilePatterns}}o.BeginWhileRule=w;class y{static createCaptureRule(m,N,x,E,k){return m.registerRule(T=>new f(N,T,x,E,k))}static getCompiledRuleId(m,N,x){return m.id||N.registerRule(E=>{if(m.id=E,m.match)return new h(m.$vscodeTextmateLocation,m.id,m.name,m.match,y._compileCaptures(m.captures,N,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,y._compilePatterns(k,N,x))}return m.while?new w(m.$vscodeTextmateLocation,m.id,m.name,m.contentName,m.begin,y._compileCaptures(m.beginCaptures||m.captures,N,x),m.while,y._compileCaptures(m.whileCaptures||m.captures,N,x),y._compilePatterns(m.patterns,N,x)):new v(m.$vscodeTextmateLocation,m.id,m.name,m.contentName,m.begin,y._compileCaptures(m.beginCaptures||m.captures,N,x),m.end,y._compileCaptures(m.endCaptures||m.captures,N,x),m.applyEndPatternLast,y._compilePatterns(m.patterns,N,x))}),m.id}static _compileCaptures(m,N,x){let E=[];if(m){let k=0;for(const T in m){if(T==="$vscodeTextmateLocation")continue;const $=parseInt(T,10);$>k&&(k=$)}for(let T=0;T<=k;T++)E[T]=null;for(const T in m){if(T==="$vscodeTextmateLocation")continue;const $=parseInt(T,10);let P=0;m[T].patterns&&(P=y.getCompiledRuleId(m[T],N,x)),E[$]=y.createCaptureRule(N,m[T].$vscodeTextmateLocation,m[T].name,m[T].contentName,P)}}return E}static _compilePatterns(m,N,x){let E=[];if(m)for(let k=0,T=m.length;k<T;k++){const $=m[k];let P=-1;if($.include){const A=c.parseInclude($.include);switch(A.kind){case 0:case 1:P=y.getCompiledRuleId(x[$.include],N,x);break;case 2:let L=x[A.ruleName];L&&(P=y.getCompiledRuleId(L,N,x));break;case 3:case 4:const I=A.scopeName,D=A.kind===4?A.ruleName:null,F=N.getExternalGrammar(I,x);if(F)if(D){let V=F.repository[D];V&&(P=y.getCompiledRuleId(V,N,F.repository))}else P=y.getCompiledRuleId(F.repository.$self,N,F.repository)}}else P=y.getCompiledRuleId($,N,x);if(P!==-1){const A=N.getRule(P);let L=!1;if((A instanceof p||A instanceof v||A instanceof w)&&A.hasMissingPatterns&&A.patterns.length===0&&(L=!0),L)continue;E.push(P)}}return{patterns:E,hasMissingPatterns:(m?m.length:0)!==E.length}}}o.RuleFactory=y;class g{constructor(m,N){if(m){const x=m.length;let E=0,k=[],T=!1;for(let $=0;$<x;$++)if(m.charAt($)==="\\"&&$+1<x){const P=m.charAt($+1);P==="z"?(k.push(m.substring(E,$)),k.push("$(?!\\n)(?<!\\n)"),E=$+2):P!=="A"&&P!=="G"||(T=!0),$++}this.hasAnchor=T,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=N,this.hasBackReferences=l.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,N){let x=N.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,N,x,E,k=[],T=[],$=[],P=[];for(m=0,N=this.source.length;m<N;m++)x=this.source.charAt(m),k[m]=x,T[m]=x,$[m]=x,P[m]=x,x==="\\"&&m+1<N&&(E=this.source.charAt(m+1),E==="A"?(k[m+1]="",T[m+1]="",$[m+1]="A",P[m+1]="A"):E==="G"?(k[m+1]="",T[m+1]="G",$[m+1]="",P[m+1]="G"):(k[m+1]=E,T[m+1]=E,$[m+1]=E,P[m+1]=E),m++);return{A0_G0:k.join(""),A0_G1:T.join(""),A1_G0:$.join(""),A1_G1:P.join("")}}resolveAnchors(m,N){return this.hasAnchor&&this._anchorCache?m?N?this._anchorCache.A1_G1:this._anchorCache.A1_G0:N?this._anchorCache.A0_G1:this._anchorCache.A0_G0:this.source}}o.RegExpSource=g;class _{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(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,N){this._items[m].source!==N&&(this._disposeCaches(),this._items[m].setSource(N))}compile(m){if(!this._cached){let N=this._items.map(x=>x.source);this._cached=new b(m,N,this._items.map(x=>x.ruleId))}return this._cached}compileAG(m,N,x){return this._hasAnchors?N?x?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(m,N,x)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(m,N,x)),this._anchorCache.A1_G0):x?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(m,N,x)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(m,N,x)),this._anchorCache.A0_G0):this.compile(m)}_resolveAnchors(m,N,x){let E=this._items.map(k=>k.resolveAnchors(N,x));return new b(m,E,this._items.map(k=>k.ruleId))}}o.RegExpSourceList=_;class b{constructor(m,N,x){this.regExps=N,this.rules=x,this.scanner=m.createOnigScanner(N)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const m=[];for(let N=0,x=this.rules.length;N<x;N++)m.push(" - "+this.rules[N]+": "+this.regExps[N]);return m.join(`
|
|
10
|
+
`)}findNextMatchSync(m,N,x){const E=this.scanner.findNextMatchSync(m,N,x);return E?{ruleId:this.rules[E.index],captureIndices:E.captureIndices}:null}}o.CompiledRule=b},583:(r,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 c{constructor(g,_,b){this._colorMap=g,this._defaults=_,this._root=b,this._cachedMatchRoot=new a.CachedFn(S=>this._root.match(S))}static createFromRawTheme(g,_){return this.createFromParsedTheme(f(g),_)}static createFromParsedTheme(g,_){return function(b,S){b.sort(($,P)=>{let A=a.strcmp($.scope,P.scope);return A!==0?A:(A=a.strArrCmp($.parentScopes,P.parentScopes),A!==0?A:$.index-P.index)});let m=0,N="#000000",x="#ffffff";for(;b.length>=1&&b[0].scope==="";){let $=b.shift();$.fontStyle!==-1&&(m=$.fontStyle),$.foreground!==null&&(N=$.foreground),$.background!==null&&(x=$.background)}let E=new p(S),k=new u(m,E.getId(N),E.getId(x)),T=new w(new v(0,null,-1,0,0),[]);for(let $=0,P=b.length;$<P;$++){let A=b[$];T.insert(0,A.scope,A.parentScopes,A.fontStyle,E.getId(A.foreground),E.getId(A.background))}return new c(E,k,T)}(g,_)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(g){if(g===null)return this._defaults;const _=g.scopeName,b=this._cachedMatchRoot.get(_).find(S=>function(m,N){if(N===null)return!0;let x=0,E=N[x];for(;m;){if(d(m.scopeName,E)){if(x++,x===N.length)return!0;E=N[x]}m=m.parent}return!1}(g.parent,S.parentScopes));return b?new u(b.fontStyle,b.foreground,b.background):null}}o.Theme=c;class l{constructor(g,_){this.parent=g,this.scopeName=_}static from(...g){let _=null;for(let b=0;b<g.length;b++)_=new l(_,g[b]);return _}push(g){return new l(this,g)}getSegments(){let g=this;const _=[];for(;g;)_.push(g.scopeName),g=g.parent;return _.reverse(),_}toString(){return this.getSegments().join(" ")}}function d(y,g){return g===y||y.startsWith(g)&&y[g.length]==="."}o.ScopeStack=l;class u{constructor(g,_,b){this.fontStyle=g,this.foregroundId=_,this.backgroundId=b}}function f(y){if(!y)return[];if(!y.settings||!Array.isArray(y.settings))return[];let g=y.settings,_=[],b=0;for(let S=0,m=g.length;S<m;S++){let N,x=g[S];if(!x.settings)continue;if(typeof x.scope=="string"){let $=x.scope;$=$.replace(/^[,]+/,""),$=$.replace(/[,]+$/,""),N=$.split(",")}else N=Array.isArray(x.scope)?x.scope:[""];let E=-1;if(typeof x.settings.fontStyle=="string"){E=0;let $=x.settings.fontStyle.split(" ");for(let P=0,A=$.length;P<A;P++)switch($[P]){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 T=null;typeof x.settings.background=="string"&&a.isValidHexColor(x.settings.background)&&(T=x.settings.background);for(let $=0,P=N.length;$<P;$++){let A=N[$].trim().split(" "),L=A[A.length-1],I=null;A.length>1&&(I=A.slice(0,A.length-1),I.reverse()),_[b++]=new h(L,I,S,E,k,T)}}return _}o.StyleAttributes=u,o.parseTheme=f;class h{constructor(g,_,b,S,m,N){this.scope=g,this.parentScopes=_,this.index=b,this.fontStyle=S,this.foreground=m,this.background=N}}o.ParsedThemeRule=h,o.fontStyleToString=function(y){if(y===-1)return"not set";let g="";return 1&y&&(g+="italic "),2&y&&(g+="bold "),4&y&&(g+="underline "),8&y&&(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 _=0,b=g.length;_<b;_++)this._color2id[g[_]]=_,this._id2color[_]=g[_]}else this._isFrozen=!1}getId(g){if(g===null)return 0;g=g.toUpperCase();let _=this._color2id[g];if(_)return _;if(this._isFrozen)throw new Error(`Missing color in color map - ${g}`);return _=++this._lastColorId,this._color2id[g]=_,this._id2color[_]=g,_}getColorMap(){return this._id2color.slice(0)}}o.ColorMap=p;class v{constructor(g,_,b,S,m){this.scopeDepth=g,this.parentScopes=_,this.fontStyle=b,this.foreground=S,this.background=m}clone(){return new v(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(g){let _=[];for(let b=0,S=g.length;b<S;b++)_[b]=g[b].clone();return _}acceptOverwrite(g,_,b,S){this.scopeDepth>g?console.log("how did this happen?"):this.scopeDepth=g,_!==-1&&(this.fontStyle=_),b!==0&&(this.foreground=b),S!==0&&(this.background=S)}}o.ThemeTrieElementRule=v;class w{constructor(g,_=[],b={}){this._mainRule=g,this._children=b,this._rulesWithParentScopes=_}static _sortBySpecificity(g){return g.length===1||g.sort(this._cmpBySpecificity),g}static _cmpBySpecificity(g,_){if(g.scopeDepth===_.scopeDepth){const b=g.parentScopes,S=_.parentScopes;let m=b===null?0:b.length,N=S===null?0:S.length;if(m===N)for(let x=0;x<m;x++){const E=b[x].length,k=S[x].length;if(E!==k)return k-E}return N-m}return _.scopeDepth-g.scopeDepth}match(g){if(g==="")return w._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let _,b,S=g.indexOf(".");return S===-1?(_=g,b=""):(_=g.substring(0,S),b=g.substring(S+1)),this._children.hasOwnProperty(_)?this._children[_].match(b):w._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(g,_,b,S,m,N){if(_==="")return void this._doInsertHere(g,b,S,m,N);let x,E,k,T=_.indexOf(".");T===-1?(x=_,E=""):(x=_.substring(0,T),E=_.substring(T+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,b,S,m,N)}_doInsertHere(g,_,b,S,m){if(_!==null){for(let N=0,x=this._rulesWithParentScopes.length;N<x;N++){let E=this._rulesWithParentScopes[N];if(a.strArrCmp(E.parentScopes,_)===0)return void E.acceptOverwrite(g,b,S,m)}b===-1&&(b=this._mainRule.fontStyle),S===0&&(S=this._mainRule.foreground),m===0&&(m=this._mainRule.background),this._rulesWithParentScopes.push(new v(g,_,b,S,m))}else this._mainRule.acceptOverwrite(g,b,S,m)}}o.ThemeTrieElement=w},878:(r,o)=>{function i(l){return Array.isArray(l)?function(d){let u=[];for(let f=0,h=d.length;f<h;f++)u[f]=i(d[f]);return u}(l):typeof l=="object"?function(d){let u={};for(let f in d)u[f]=i(d[f]);return u}(l):l}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(l){return i(l)},o.mergeObjects=function(l,...d){return d.forEach(u=>{for(let f in u)l[f]=u[f]}),l},o.basename=function l(d){const u=~d.lastIndexOf("/")||~d.lastIndexOf("\\");return u===0?d:~u==d.length-1?l(d.substring(0,d.length-1)):d.substr(1+~u)};let a=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;function c(l,d){return l<d?-1:l>d?1:0}o.RegexSource=class{static hasCaptures(l){return l!==null&&(a.lastIndex=0,a.test(l))}static replaceCaptures(l,d,u){return l.replace(a,(f,h,p,v)=>{let w=u[parseInt(h||p,10)];if(!w)return f;{let y=d.substring(w.start,w.end);for(;y[0]===".";)y=y.substring(1);switch(v){case"downcase":return y.toLowerCase();case"upcase":return y.toUpperCase();default:return y}}})}},o.strcmp=c,o.strArrCmp=function(l,d){if(l===null&&d===null)return 0;if(!l)return-1;if(!d)return 1;let u=l.length,f=d.length;if(u===f){for(let h=0;h<u;h++){let p=c(l[h],d[h]);if(p!==0)return p}return 0}return u-f},o.isValidHexColor=function(l){return!!(/^#[0-9a-f]{6}$/i.test(l)||/^#[0-9a-f]{8}$/i.test(l)||/^#[0-9a-f]{3}$/i.test(l)||/^#[0-9a-f]{4}$/i.test(l))},o.escapeRegExpCharacters=function(l){return l.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")},o.CachedFn=class{constructor(l){this.fn=l,this.cache=new Map}get(l){if(this.cache.has(l))return this.cache.get(l);const d=this.fn(l);return this.cache.set(l,d),d}},o.performanceNow=typeof performance>"u"?function(){return Date.now()}:function(){return performance.now()}}},s={};return function r(o){var i=s[o];if(i!==void 0)return i.exports;var a=s[o]={exports:{}};return n[o].call(a.exports,a,a.exports,r),a.exports}(787)})()})})(Em);var Sm=Em.exports;const Ui=[{id:"abap",scopeName:"source.abap",path:"abap.tmLanguage.json",displayName:"ABAP",samplePath:"abap.sample"},{id:"actionscript-3",scopeName:"source.actionscript.3",path:"actionscript-3.tmLanguage.json",displayName:"ActionScript",samplePath:"actionscript-3.sample"},{id:"ada",scopeName:"source.ada",path:"ada.tmLanguage.json",displayName:"Ada",samplePath:"ada.sample"},{id:"apache",scopeName:"source.apacheconf",path:"apache.tmLanguage.json",displayName:"Apache Conf"},{id:"apex",scopeName:"source.apex",path:"apex.tmLanguage.json",displayName:"Apex",samplePath:"apex.sample"},{id:"apl",scopeName:"source.apl",path:"apl.tmLanguage.json",displayName:"APL",embeddedLangs:["html","xml","css","javascript","json"]},{id:"applescript",scopeName:"source.applescript",path:"applescript.tmLanguage.json",displayName:"AppleScript",samplePath:"applescript.sample"},{id:"ara",scopeName:"source.ara",path:"ara.tmLanguage.json",displayName:"Ara",samplePath:"ara.sample"},{id:"asm",scopeName:"source.asm.x86_64",path:"asm.tmLanguage.json",displayName:"Assembly",samplePath:"asm.sample"},{id:"astro",scopeName:"source.astro",path:"astro.tmLanguage.json",displayName:"Astro",samplePath:"astro.sample",embeddedLangs:["json","javascript","typescript","stylus","sass","css","scss","less","postcss","tsx"]},{id:"awk",scopeName:"source.awk",path:"awk.tmLanguage.json",displayName:"AWK",samplePath:"awk.sample"},{id:"ballerina",scopeName:"source.ballerina",path:"ballerina.tmLanguage.json",displayName:"Ballerina",samplePath:"ballerina.sample"},{id:"bat",scopeName:"source.batchfile",path:"bat.tmLanguage.json",displayName:"Batch",samplePath:"bat.sample",aliases:["batch"]},{id:"beancount",scopeName:"text.beancount",path:"beancount.tmLanguage.json",displayName:"Beancount",samplePath:"beancount.sample"},{id:"berry",scopeName:"source.berry",path:"berry.tmLanguage.json",displayName:"Berry",samplePath:"berry.sample",aliases:["be"]},{id:"bibtex",scopeName:"text.bibtex",path:"bibtex.tmLanguage.json",displayName:"BibTeX"},{id:"bicep",scopeName:"source.bicep",path:"bicep.tmLanguage.json",displayName:"Bicep",samplePath:"bicep.sample"},{id:"blade",scopeName:"text.html.php.blade",path:"blade.tmLanguage.json",displayName:"Blade",samplePath:"blade.sample",embeddedLangs:["html","xml","sql","javascript","json","css"]},{id:"c",scopeName:"source.c",path:"c.tmLanguage.json",displayName:"C",samplePath:"c.sample"},{id:"cadence",scopeName:"source.cadence",path:"cadence.tmLanguage.json",displayName:"Cadence",samplePath:"cadence.sample",aliases:["cdc"]},{id:"clarity",scopeName:"source.clar",path:"clarity.tmLanguage.json",displayName:"Clarity",samplePath:"clarity.sample"},{id:"clojure",scopeName:"source.clojure",path:"clojure.tmLanguage.json",displayName:"Clojure",samplePath:"clojure.sample",aliases:["clj"]},{id:"cmake",scopeName:"source.cmake",path:"cmake.tmLanguage.json",displayName:"CMake",samplePath:"cmake.sample"},{id:"cobol",scopeName:"source.cobol",path:"cobol.tmLanguage.json",displayName:"COBOL",samplePath:"cobol.sample",embeddedLangs:["sql","html","java"]},{id:"codeql",scopeName:"source.ql",path:"codeql.tmLanguage.json",displayName:"CodeQL",samplePath:"codeql.sample",aliases:["ql"],embeddedLangs:["markdown"]},{id:"coffee",scopeName:"source.coffee",path:"coffee.tmLanguage.json",displayName:"CoffeeScript",samplePath:"coffee.sample",embeddedLangs:["javascript"]},{id:"cpp",scopeName:"source.cpp",path:"cpp.tmLanguage.json",displayName:"C++",samplePath:"cpp.sample",embeddedLangs:["glsl","sql"]},{id:"crystal",scopeName:"source.crystal",path:"crystal.tmLanguage.json",displayName:"Crystal",samplePath:"crystal.sample",embeddedLangs:["html","sql","css","c","javascript","shellscript"]},{id:"csharp",scopeName:"source.cs",path:"csharp.tmLanguage.json",displayName:"C#",samplePath:"csharp.sample",aliases:["c#","cs"]},{id:"css",scopeName:"source.css",path:"css.tmLanguage.json",displayName:"CSS",samplePath:"css.sample"},{id:"cue",scopeName:"source.cue",path:"cue.tmLanguage.json",displayName:"CUE",samplePath:"cue.sample"},{id:"cypher",scopeName:"source.cypher",path:"cypher.tmLanguage.json",displayName:"Cypher",samplePath:"cypher.sample",aliases:["cql"]},{id:"d",scopeName:"source.d",path:"d.tmLanguage.json",displayName:"D",samplePath:"d.sample"},{id:"dart",scopeName:"source.dart",path:"dart.tmLanguage.json",displayName:"Dart",samplePath:"dart.sample"},{id:"dax",scopeName:"source.dax",path:"dax.tmLanguage.json",displayName:"DAX",samplePath:"dax.sample"},{id:"diff",scopeName:"source.diff",path:"diff.tmLanguage.json",displayName:"Diff",samplePath:"diff.sample"},{id:"docker",scopeName:"source.dockerfile",path:"docker.tmLanguage.json",displayName:"Docker",samplePath:"docker.sample",aliases:["dockerfile"]},{id:"dream-maker",scopeName:"source.dm",path:"dream-maker.tmLanguage.json",displayName:"Dream Maker"},{id:"elixir",scopeName:"source.elixir",path:"elixir.tmLanguage.json",displayName:"Elixir",samplePath:"elixir.sample",embeddedLangs:["html"]},{id:"elm",scopeName:"source.elm",path:"elm.tmLanguage.json",displayName:"Elm",samplePath:"elm.sample",embeddedLangs:["glsl"]},{id:"erb",scopeName:"text.html.erb",path:"erb.tmLanguage.json",displayName:"ERB",samplePath:"erb.sample",embeddedLangs:["html","ruby"]},{id:"erlang",scopeName:"source.erlang",path:"erlang.tmLanguage.json",displayName:"Erlang",samplePath:"erlang.sample",aliases:["erl"]},{id:"fish",scopeName:"source.fish",path:"fish.tmLanguage.json",displayName:"Fish",samplePath:"fish.sample"},{id:"fsharp",scopeName:"source.fsharp",path:"fsharp.tmLanguage.json",displayName:"F#",samplePath:"fsharp.sample",aliases:["f#","fs"],embeddedLangs:["markdown"]},{id:"gdresource",scopeName:"source.gdresource",path:"gdresource.tmLanguage.json",displayName:"GDResource",samplePath:"gdresource.sample",embeddedLangs:["gdshader","gdscript"]},{id:"gdscript",scopeName:"source.gdscript",path:"gdscript.tmLanguage.json",displayName:"GDScript",samplePath:"gdscript.sample"},{id:"gdshader",scopeName:"source.gdshader",path:"gdshader.tmLanguage.json",displayName:"GDShader",samplePath:"gdshader.sample"},{id:"gherkin",scopeName:"text.gherkin.feature",path:"gherkin.tmLanguage.json",displayName:"Gherkin"},{id:"git-commit",scopeName:"text.git-commit",path:"git-commit.tmLanguage.json",displayName:"Git Commit Message",embeddedLangs:["diff"]},{id:"git-rebase",scopeName:"text.git-rebase",path:"git-rebase.tmLanguage.json",displayName:"Git Rebase Message",embeddedLangs:["shellscript"]},{id:"glimmer-js",scopeName:"source.gjs",path:"glimmer-js.tmLanguage.json",displayName:"Glimmer JS",aliases:["gjs"],embeddedLangs:["javascript","handlebars"]},{id:"glimmer-ts",scopeName:"source.gts",path:"glimmer-ts.tmLanguage.json",displayName:"Glimmer TS",aliases:["gts"],embeddedLangs:["typescript","handlebars"]},{id:"glsl",scopeName:"source.glsl",path:"glsl.tmLanguage.json",displayName:"GLSL",samplePath:"glsl.sample",embeddedLangs:["c"]},{id:"gnuplot",scopeName:"source.gnuplot",path:"gnuplot.tmLanguage.json",displayName:"Gnuplot"},{id:"go",scopeName:"source.go",path:"go.tmLanguage.json",displayName:"Go",samplePath:"go.sample"},{id:"graphql",scopeName:"source.graphql",path:"graphql.tmLanguage.json",displayName:"GraphQL",embeddedLangs:["javascript","typescript","jsx","tsx"]},{id:"groovy",scopeName:"source.groovy",path:"groovy.tmLanguage.json",displayName:"Groovy"},{id:"hack",scopeName:"source.hack",path:"hack.tmLanguage.json",displayName:"Hack",embeddedLangs:["html","sql"]},{id:"haml",scopeName:"text.haml",path:"haml.tmLanguage.json",displayName:"Ruby Haml",embeddedLangs:["ruby","javascript","sass","coffee","markdown","css"]},{id:"handlebars",scopeName:"text.html.handlebars",path:"handlebars.tmLanguage.json",displayName:"Handlebars",aliases:["hbs"],embeddedLangs:["html","css","javascript","yaml"]},{id:"haskell",scopeName:"source.haskell",path:"haskell.tmLanguage.json",displayName:"Haskell",aliases:["hs"]},{id:"hcl",scopeName:"source.hcl",path:"hcl.tmLanguage.json",displayName:"HashiCorp HCL",samplePath:"hcl.sample"},{id:"hjson",scopeName:"source.hjson",path:"hjson.tmLanguage.json",displayName:"Hjson",samplePath:"hjson.sample"},{id:"hlsl",scopeName:"source.hlsl",path:"hlsl.tmLanguage.json",displayName:"HLSL"},{id:"html",scopeName:"text.html.basic",path:"html.tmLanguage.json",displayName:"HTML",samplePath:"html.sample",embeddedLangs:["javascript","css"]},{id:"http",scopeName:"source.http",path:"http.tmLanguage.json",displayName:"HTTP",samplePath:"http.sample",embeddedLangs:["shellscript","json","xml","graphql"]},{id:"imba",scopeName:"source.imba",path:"imba.tmLanguage.json",displayName:"Imba",samplePath:"imba.sample"},{id:"ini",scopeName:"source.ini",path:"ini.tmLanguage.json",displayName:"INI",aliases:["properties"]},{id:"java",scopeName:"source.java",path:"java.tmLanguage.json",displayName:"Java",samplePath:"java.sample"},{id:"javascript",scopeName:"source.js",path:"javascript.tmLanguage.json",displayName:"JavaScript",samplePath:"javascript.sample",aliases:["js"]},{id:"jinja-html",scopeName:"text.html.jinja",path:"jinja-html.tmLanguage.json",displayName:"Jinja",embeddedLangs:["html"]},{id:"jison",scopeName:"source.jison",path:"jison.tmLanguage.json",displayName:"Jison",samplePath:"jison.sample",embeddedLangs:["javascript"]},{id:"json",scopeName:"source.json",path:"json.tmLanguage.json",displayName:"JSON"},{id:"json5",scopeName:"source.json5",path:"json5.tmLanguage.json",displayName:"JSON5",samplePath:"json5.sample"},{id:"jsonc",scopeName:"source.json.comments",path:"jsonc.tmLanguage.json",displayName:"JSON with Comments"},{id:"jsonl",scopeName:"source.json.lines",path:"jsonl.tmLanguage.json",displayName:"JSON Lines"},{id:"jsonnet",scopeName:"source.jsonnet",path:"jsonnet.tmLanguage.json",displayName:"Jsonnet"},{id:"jssm",scopeName:"source.jssm",path:"jssm.tmLanguage.json",displayName:"JSSM",samplePath:"jssm.sample",aliases:["fsl"]},{id:"jsx",scopeName:"source.js.jsx",path:"jsx.tmLanguage.json",displayName:"JSX"},{id:"julia",scopeName:"source.julia",path:"julia.tmLanguage.json",displayName:"Julia",embeddedLangs:["cpp","python","javascript","r","sql"]},{id:"kotlin",scopeName:"source.kotlin",path:"kotlin.tmLanguage.json",displayName:"Kotlin",samplePath:"kotlin.sample"},{id:"kusto",scopeName:"source.kusto",path:"kusto.tmLanguage.json",displayName:"Kusto",samplePath:"kusto.sample",aliases:["kql"]},{id:"latex",scopeName:"text.tex.latex",path:"latex.tmLanguage.json",displayName:"LaTeX",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",displayName:"Less",embeddedLangs:["css"]},{id:"liquid",scopeName:"text.html.liquid",path:"liquid.tmLanguage.json",displayName:"Liquid",samplePath:"liquid.sample",embeddedLangs:["html","css","json","javascript"]},{id:"lisp",scopeName:"source.lisp",path:"lisp.tmLanguage.json",displayName:"Lisp"},{id:"logo",scopeName:"source.logo",path:"logo.tmLanguage.json",displayName:"Logo"},{id:"lua",scopeName:"source.lua",path:"lua.tmLanguage.json",displayName:"Lua",embeddedLangs:["c"]},{id:"make",scopeName:"source.makefile",path:"make.tmLanguage.json",displayName:"Makefile",aliases:["makefile"]},{id:"markdown",scopeName:"text.html.markdown",path:"markdown.tmLanguage.json",displayName:"Markdown",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",displayName:"Marko",embeddedLangs:["css","less","scss","javascript"]},{id:"matlab",scopeName:"source.matlab",path:"matlab.tmLanguage.json",displayName:"MATLAB"},{id:"mdx",scopeName:"source.mdx",path:"mdx.tmLanguage.json",displayName:"MDX",embeddedLangs:["tsx","toml","yaml","c","clojure","coffee","cpp","csharp","css","diff","docker","elixir","elm","erlang","go","graphql","haskell","html","ini","java","javascript","json","julia","kotlin","less","lua","make","markdown","objective-c","perl","python","r","ruby","rust","scala","scss","shellscript","sql","xml","swift","typescript"]},{id:"mermaid",scopeName:"source.mermaid",path:"mermaid.tmLanguage.json",displayName:"Mermaid"},{id:"narrat",scopeName:"source.narrat",path:"narrat.tmLanguage.json",displayName:"Narrat Language",samplePath:"narrat.sample",aliases:["nar"]},{id:"nextflow",scopeName:"source.nextflow",path:"nextflow.tmLanguage.json",displayName:"Nextflow",samplePath:"nextflow.sample",aliases:["nf"]},{id:"nginx",scopeName:"source.nginx",path:"nginx.tmLanguage.json",displayName:"Nginx",embeddedLangs:["lua"]},{id:"nim",scopeName:"source.nim",path:"nim.tmLanguage.json",displayName:"Nim",embeddedLangs:["c","html","xml","javascript","css","glsl","markdown"]},{id:"nix",scopeName:"source.nix",path:"nix.tmLanguage.json",displayName:"Nix"},{id:"objective-c",scopeName:"source.objc",path:"objective-c.tmLanguage.json",displayName:"Objective-C",aliases:["objc"]},{id:"objective-cpp",scopeName:"source.objcpp",path:"objective-cpp.tmLanguage.json",displayName:"Objective-C++"},{id:"ocaml",scopeName:"source.ocaml",path:"ocaml.tmLanguage.json",displayName:"OCaml"},{id:"pascal",scopeName:"source.pascal",path:"pascal.tmLanguage.json",displayName:"Pascal"},{id:"perl",scopeName:"source.perl",path:"perl.tmLanguage.json",displayName:"Perl",embeddedLangs:["html","xml","css","javascript","sql"]},{id:"php",scopeName:"source.php",path:"php.tmLanguage.json",displayName:"PHP",embeddedLangs:["html","xml","sql","javascript","json","css"]},{id:"plsql",scopeName:"source.plsql.oracle",path:"plsql.tmLanguage.json",displayName:"PL/SQL"},{id:"postcss",scopeName:"source.css.postcss",path:"postcss.tmLanguage.json",displayName:"PostCSS"},{id:"powerquery",scopeName:"source.powerquery",path:"powerquery.tmLanguage.json",displayName:"PowerQuery",samplePath:"powerquery.sample"},{id:"powershell",scopeName:"source.powershell",path:"powershell.tmLanguage.json",displayName:"PowerShell",aliases:["ps","ps1"]},{id:"prisma",scopeName:"source.prisma",path:"prisma.tmLanguage.json",displayName:"Prisma",samplePath:"prisma.sample"},{id:"prolog",scopeName:"source.prolog",path:"prolog.tmLanguage.json",displayName:"Prolog"},{id:"proto",scopeName:"source.proto",path:"proto.tmLanguage.json",displayName:"Protocol Buffer 3",samplePath:"proto.sample"},{id:"pug",scopeName:"text.pug",path:"pug.tmLanguage.json",displayName:"Pug",aliases:["jade"],embeddedLangs:["javascript","css","sass","scss","stylus","coffee","html"]},{id:"puppet",scopeName:"source.puppet",path:"puppet.tmLanguage.json",displayName:"Puppet"},{id:"purescript",scopeName:"source.purescript",path:"purescript.tmLanguage.json",displayName:"PureScript"},{id:"python",scopeName:"source.python",path:"python.tmLanguage.json",displayName:"Python",samplePath:"python.sample",aliases:["py"]},{id:"r",scopeName:"source.r",path:"r.tmLanguage.json",displayName:"R"},{id:"raku",scopeName:"source.perl.6",path:"raku.tmLanguage.json",displayName:"Perl 6",aliases:["perl6"]},{id:"razor",scopeName:"text.aspnetcorerazor",path:"razor.tmLanguage.json",displayName:"ASP.NET Razor",embeddedLangs:["html","csharp"]},{id:"reg",scopeName:"source.reg",path:"reg.tmLanguage.json",displayName:"Windows Registry Script",samplePath:"reg.sample"},{id:"rel",scopeName:"source.rel",path:"rel.tmLanguage.json",displayName:"Rel",samplePath:"rel.sample"},{id:"riscv",scopeName:"source.riscv",path:"riscv.tmLanguage.json",displayName:"RISC-V"},{id:"rst",scopeName:"source.rst",path:"rst.tmLanguage.json",displayName:"reStructuredText",embeddedLangs:["cpp","python","javascript","shellscript","yaml","cmake","ruby"]},{id:"ruby",scopeName:"source.ruby",path:"ruby.tmLanguage.json",displayName:"Ruby",samplePath:"ruby.sample",aliases:["rb"],embeddedLangs:["html","xml","sql","css","c","javascript","shellscript","lua"]},{id:"rust",scopeName:"source.rust",path:"rust.tmLanguage.json",displayName:"Rust",aliases:["rs"]},{id:"sas",scopeName:"source.sas",path:"sas.tmLanguage.json",displayName:"SAS",embeddedLangs:["sql"]},{id:"sass",scopeName:"source.sass",path:"sass.tmLanguage.json",displayName:"Sass"},{id:"scala",scopeName:"source.scala",path:"scala.tmLanguage.json",displayName:"Scala"},{id:"scheme",scopeName:"source.scheme",path:"scheme.tmLanguage.json",displayName:"Scheme"},{id:"scss",scopeName:"source.css.scss",path:"scss.tmLanguage.json",displayName:"SCSS",embeddedLangs:["css"]},{id:"shaderlab",scopeName:"source.shaderlab",path:"shaderlab.tmLanguage.json",displayName:"ShaderLab",aliases:["shader"],embeddedLangs:["hlsl"]},{id:"shellscript",scopeName:"source.shell",path:"shellscript.tmLanguage.json",displayName:"Shell",aliases:["bash","console","sh","shell","zsh"]},{id:"smalltalk",scopeName:"source.smalltalk",path:"smalltalk.tmLanguage.json",displayName:"Smalltalk"},{id:"solidity",scopeName:"source.solidity",path:"solidity.tmLanguage.json",displayName:"Solidity"},{id:"sparql",scopeName:"source.sparql",path:"sparql.tmLanguage.json",displayName:"SPARQL",samplePath:"sparql.sample",embeddedLangs:["turtle"]},{id:"sql",scopeName:"source.sql",path:"sql.tmLanguage.json",displayName:"SQL"},{id:"ssh-config",scopeName:"source.ssh-config",path:"ssh-config.tmLanguage.json",displayName:"SSH Config"},{id:"stata",scopeName:"source.stata",path:"stata.tmLanguage.json",displayName:"Stata",samplePath:"stata.sample",embeddedLangs:["sql"]},{id:"stylus",scopeName:"source.stylus",path:"stylus.tmLanguage.json",displayName:"Stylus",aliases:["styl"]},{id:"svelte",scopeName:"source.svelte",path:"svelte.tmLanguage.json",displayName:"Svelte",embeddedLangs:["javascript","typescript","coffee","stylus","sass","css","scss","less","postcss","pug","markdown"]},{id:"swift",scopeName:"source.swift",path:"swift.tmLanguage.json",displayName:"Swift"},{id:"system-verilog",scopeName:"source.systemverilog",path:"system-verilog.tmLanguage.json",displayName:"SystemVerilog"},{id:"tasl",scopeName:"source.tasl",path:"tasl.tmLanguage.json",displayName:"Tasl",samplePath:"tasl.sample"},{id:"tcl",scopeName:"source.tcl",path:"tcl.tmLanguage.json",displayName:"Tcl"},{id:"tex",scopeName:"text.tex",path:"tex.tmLanguage.json",displayName:"TeX",embeddedLangs:["r"]},{id:"toml",scopeName:"source.toml",path:"toml.tmLanguage.json",displayName:"TOML"},{id:"tsx",scopeName:"source.tsx",path:"tsx.tmLanguage.json",displayName:"TSX",samplePath:"tsx.sample"},{id:"turtle",scopeName:"source.turtle",path:"turtle.tmLanguage.json",displayName:"Turtle",samplePath:"turtle.sample"},{id:"twig",scopeName:"text.html.twig",path:"twig.tmLanguage.json",displayName:"Twig",embeddedLangs:["css","javascript","php","python","ruby"]},{id:"typescript",scopeName:"source.ts",path:"typescript.tmLanguage.json",displayName:"TypeScript",aliases:["ts"]},{id:"v",scopeName:"source.v",path:"v.tmLanguage.json",displayName:"V",samplePath:"v.sample"},{id:"vb",scopeName:"source.asp.vb.net",path:"vb.tmLanguage.json",displayName:"Visual Basic",aliases:["cmd"]},{id:"verilog",scopeName:"source.verilog",path:"verilog.tmLanguage.json",displayName:"Verilog"},{id:"vhdl",scopeName:"source.vhdl",path:"vhdl.tmLanguage.json",displayName:"VHDL"},{id:"viml",scopeName:"source.viml",path:"viml.tmLanguage.json",displayName:"Vim Script",aliases:["vim","vimscript"]},{id:"vue-html",scopeName:"text.html.vue-html",path:"vue-html.tmLanguage.json",displayName:"Vue HTML",embeddedLangs:["vue","javascript"]},{id:"vue",scopeName:"source.vue",path:"vue.tmLanguage.json",displayName:"Vue",embeddedLangs:["html","markdown","pug","stylus","sass","css","scss","less","javascript","typescript","jsx","tsx","json","jsonc","json5","yaml","toml","graphql"]},{id:"vyper",scopeName:"source.vyper",path:"vyper.tmLanguage.json",displayName:"Vyper",samplePath:"vyper.sample",aliases:["vy"]},{id:"wasm",scopeName:"source.wat",path:"wasm.tmLanguage.json",displayName:"WebAssembly"},{id:"wenyan",scopeName:"source.wenyan",path:"wenyan.tmLanguage.json",displayName:"Wenyan",aliases:["文言"]},{id:"wgsl",scopeName:"source.wgsl",path:"wgsl.tmLanguage.json",displayName:"WGSL",samplePath:"wgsl.sample"},{id:"wolfram",scopeName:"source.wolfram",path:"wolfram.tmLanguage.json",displayName:"Wolfram",samplePath:"wolfram.sample"},{id:"xml",scopeName:"text.xml",path:"xml.tmLanguage.json",displayName:"XML",embeddedLangs:["java"]},{id:"xsl",scopeName:"text.xml.xsl",path:"xsl.tmLanguage.json",displayName:"XSL",embeddedLangs:["xml"]},{id:"yaml",scopeName:"source.yaml",path:"yaml.tmLanguage.json",displayName:"YAML",aliases:["yml"]},{id:"zenscript",scopeName:"source.zenscript",path:"zenscript.tmLanguage.json",displayName:"ZenScript",samplePath:"zenscript.sample"}];var wn=(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))(wn||{});class lt{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n="0"+n;return n}static printMetadata(t){let n=lt.getLanguageId(t),s=lt.getTokenType(t),r=lt.getFontStyle(t),o=lt.getForeground(t),i=lt.getBackground(t);console.log({languageId:n,tokenType:s,fontStyle:r,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,s,r,o,i){let a=lt.getLanguageId(t),c=lt.getTokenType(t),l=lt.getFontStyle(t),d=lt.getForeground(t),u=lt.getBackground(t),f=lt.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),s!==0&&(c=s===8?0:s),r!==-1&&(l=r),o!==0&&(d=o),i!==0&&(u=i),(a<<0|c<<8|l<<11|f<<10|d<<15|u<<24)>>>0}}function PN(e){return e.endsWith("/")||e.endsWith("\\")?e.slice(0,-1):e}function AN(e){return e.startsWith("./")?e.slice(2):e}function Tm(e){const t=e.split(/[\/\\]/g);return t.slice(0,t.length-1)}function Nm(...e){return e.map(PN).map(AN).join("/")}function RN(e,t){const n=new Map;for(const s of e){const r=t(s);n.has(r)?n.get(r).push(s):n.set(r,[s])}return n}function ON(e,t=!1){const n=e.length;let s=0,r="",o=0,i=16,a=0,c=0,l=0,d=0,u=0;function f(_,b){let S=0,m=0;for(;S<_||!b;){let N=e.charCodeAt(s);if(N>=48&&N<=57)m=m*16+N-48;else if(N>=65&&N<=70)m=m*16+N-65+10;else if(N>=97&&N<=102)m=m*16+N-97+10;else break;s++,S++}return S<_&&(m=-1),m}function h(_){s=_,r="",o=0,i=16,u=0}function p(){let _=s;if(e.charCodeAt(s)===48)s++;else for(s++;s<e.length&&ds(e.charCodeAt(s));)s++;if(s<e.length&&e.charCodeAt(s)===46)if(s++,s<e.length&&ds(e.charCodeAt(s)))for(s++;s<e.length&&ds(e.charCodeAt(s));)s++;else return u=3,e.substring(_,s);let b=s;if(s<e.length&&(e.charCodeAt(s)===69||e.charCodeAt(s)===101))if(s++,(s<e.length&&e.charCodeAt(s)===43||e.charCodeAt(s)===45)&&s++,s<e.length&&ds(e.charCodeAt(s))){for(s++;s<e.length&&ds(e.charCodeAt(s));)s++;b=s}else u=3;return e.substring(_,b)}function v(){let _="",b=s;for(;;){if(s>=n){_+=e.substring(b,s),u=2;break}const S=e.charCodeAt(s);if(S===34){_+=e.substring(b,s),s++;break}if(S===92){if(_+=e.substring(b,s),s++,s>=n){u=2;break}switch(e.charCodeAt(s++)){case 34:_+='"';break;case 92:_+="\\";break;case 47:_+="/";break;case 98:_+="\b";break;case 102:_+="\f";break;case 110:_+=`
|
|
11
|
+
`;break;case 114:_+="\r";break;case 116:_+=" ";break;case 117:const N=f(4,!0);N>=0?_+=String.fromCharCode(N):u=4;break;default:u=5}b=s;continue}if(S>=0&&S<=31)if(dr(S)){_+=e.substring(b,s),u=2;break}else u=6;s++}return _}function w(){if(r="",u=0,o=s,c=a,d=l,s>=n)return o=n,i=17;let _=e.charCodeAt(s);if(Ta(_)){do s++,r+=String.fromCharCode(_),_=e.charCodeAt(s);while(Ta(_));return i=15}if(dr(_))return s++,r+=String.fromCharCode(_),_===13&&e.charCodeAt(s)===10&&(s++,r+=`
|
|
12
|
+
`),a++,l=s,i=14;switch(_){case 123:return s++,i=1;case 125:return s++,i=2;case 91:return s++,i=3;case 93:return s++,i=4;case 58:return s++,i=6;case 44:return s++,i=5;case 34:return s++,r=v(),i=10;case 47:const b=s-1;if(e.charCodeAt(s+1)===47){for(s+=2;s<n&&!dr(e.charCodeAt(s));)s++;return r=e.substring(b,s),i=12}if(e.charCodeAt(s+1)===42){s+=2;const S=n-1;let m=!1;for(;s<S;){const N=e.charCodeAt(s);if(N===42&&e.charCodeAt(s+1)===47){s+=2,m=!0;break}s++,dr(N)&&(N===13&&e.charCodeAt(s)===10&&s++,a++,l=s)}return m||(s++,u=1),r=e.substring(b,s),i=13}return r+=String.fromCharCode(_),s++,i=16;case 45:if(r+=String.fromCharCode(_),s++,s===n||!ds(e.charCodeAt(s)))return i=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return r+=p(),i=11;default:for(;s<n&&y(_);)s++,_=e.charCodeAt(s);if(o!==s){switch(r=e.substring(o,s),r){case"true":return i=8;case"false":return i=9;case"null":return i=7}return i=16}return r+=String.fromCharCode(_),s++,i=16}}function y(_){if(Ta(_)||dr(_))return!1;switch(_){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}function g(){let _;do _=w();while(_>=12&&_<=15);return _}return{setPosition:h,getPosition:()=>s,scan:t?g:w,getToken:()=>i,getTokenValue:()=>r,getTokenOffset:()=>o,getTokenLength:()=>s-o,getTokenStartLine:()=>c,getTokenStartCharacter:()=>o-d,getTokenError:()=>u}}function Ta(e){return e===32||e===9}function dr(e){return e===10||e===13}function ds(e){return e>=48&&e<=57}var Gf;(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"})(Gf||(Gf={}));var ui;(function(e){e.DEFAULT={allowTrailingComma:!1}})(ui||(ui={}));function CN(e,t=[],n=ui.DEFAULT){let s=null,r=[];const o=[];function i(c){Array.isArray(r)?r.push(c):s!==null&&(r[s]=c)}return LN(e,{onObjectBegin:()=>{const c={};i(c),o.push(r),r=c,s=null},onObjectProperty:c=>{s=c},onObjectEnd:()=>{r=o.pop()},onArrayBegin:()=>{const c=[];i(c),o.push(r),r=c,s=null},onArrayEnd:()=>{r=o.pop()},onLiteralValue:i,onError:(c,l,d)=>{t.push({error:c,offset:l,length:d})}},n),r[0]}function LN(e,t,n=ui.DEFAULT){const s=ON(e,!1),r=[];function o($){return $?()=>$(s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter()):()=>!0}function i($){return $?()=>$(s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter(),()=>r.slice()):()=>!0}function a($){return $?P=>$(P,s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter()):()=>!0}function c($){return $?P=>$(P,s.getTokenOffset(),s.getTokenLength(),s.getTokenStartLine(),s.getTokenStartCharacter(),()=>r.slice()):()=>!0}const l=i(t.onObjectBegin),d=c(t.onObjectProperty),u=o(t.onObjectEnd),f=i(t.onArrayBegin),h=o(t.onArrayEnd),p=c(t.onLiteralValue),v=a(t.onSeparator),w=o(t.onComment),y=a(t.onError),g=n&&n.disallowComments,_=n&&n.allowTrailingComma;function b(){for(;;){const $=s.scan();switch(s.getTokenError()){case 4:S(14);break;case 5:S(15);break;case 3:S(13);break;case 1:g||S(11);break;case 2:S(12);break;case 6:S(16);break}switch($){case 12:case 13:g?S(10):w();break;case 16:S(1);break;case 15:case 14:break;default:return $}}}function S($,P=[],A=[]){if(y($),P.length+A.length>0){let L=s.getToken();for(;L!==17;){if(P.indexOf(L)!==-1){b();break}else if(A.indexOf(L)!==-1)break;L=b()}}}function m($){const P=s.getTokenValue();return $?p(P):(d(P),r.push(P)),b(),!0}function N(){switch(s.getToken()){case 11:const $=s.getTokenValue();let P=Number($);isNaN(P)&&(S(2),P=0),p(P);break;case 7:p(null);break;case 8:p(!0);break;case 9:p(!1);break;default:return!1}return b(),!0}function x(){return s.getToken()!==10?(S(3,[],[2,5]),!1):(m(!1),s.getToken()===6?(v(":"),b(),T()||S(4,[],[2,5])):S(5,[],[2,5]),r.pop(),!0)}function E(){l(),b();let $=!1;for(;s.getToken()!==2&&s.getToken()!==17;){if(s.getToken()===5){if($||S(4,[],[]),v(","),b(),s.getToken()===2&&_)break}else $&&S(6,[],[]);x()||S(4,[],[2,5]),$=!0}return u(),s.getToken()!==2?S(7,[2],[]):b(),!0}function k(){f(),b();let $=!0,P=!1;for(;s.getToken()!==4&&s.getToken()!==17;){if(s.getToken()===5){if(P||S(4,[],[]),v(","),b(),s.getToken()===4&&_)break}else P&&S(6,[],[]);$?(r.push(0),$=!1):r[r.length-1]++,T()||S(4,[],[4,5]),P=!0}return h(),$||r.pop(),s.getToken()!==4?S(8,[4],[]):b(),!0}function T(){switch(s.getToken()){case 3:return k();case 1:return E();case 10:return m(!0);default:return N()}}return b(),s.getToken()===17?n.allowEmptyContent?!0:(S(4,[],[]),!1):T()?(s.getToken()!==17&&S(9,[],[]),!0):(S(4,[],[]),!1)}var qf;(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"})(qf||(qf={}));var Kf;(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"})(Kf||(Kf={}));const IN=CN;var Xf;(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"})(Xf||(Xf={}));"process"in globalThis&&typeof process<"u"&&typeof process.release<"u"&&process.release.name;let $m="";const jN="dist/";function MN(e){$m=e.endsWith("/")?e:e+"/"}let Na=null;async function DN(e){if(!Na){let t;t=Sa.loadWASM({data:await(globalThis.__shiki_fetch__||globalThis.fetch)(km(Nm(...Tm(e),"onig.wasm")))}),Na=t.then(()=>({createOnigScanner(n){return Sa.createOnigScanner(n)},createOnigString(n){return Sa.createOnigString(n)}}))}return Na}function km(e){return`${$m}${e}`}async function FN(e){const t=km(e);return await(globalThis.__shiki_fetch__||globalThis.fetch)(t).then(n=>n.text())}async function Pm(e){const t=[],n=await FN(e);let s;try{s=JSON.parse(n)}catch{if(s=IN(n,t,{allowTrailingComma:!0}),t.length)throw t[0]}return s}async function Am(e){let t=await Pm(e);const n=Rm(t);if(n.include){const s=await Am(Nm(...Tm(e),n.include));s.settings&&(n.settings=s.settings.concat(n.settings)),s.bg&&!n.bg&&(n.bg=s.bg),s.colors&&(n.colors={...s.colors,...n.colors}),delete n.include}return n}async function BN(e){return await Pm(e)}function HN(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,...zN(e)};return e.include&&(n.include=e.include),e.tokenColors&&(n.settings=e.tokenColors,delete n.tokenColors),HN(n),n}const Jf={light:"#333333",dark:"#bbbbbb"},Yf={light:"#fffffe",dark:"#1e1e1e"};function zN(e){let t,n,s=e.settings?e.settings:e.tokenColors;const r=s?s.find(o=>!o.name&&!o.scope):void 0;return r?.settings?.foreground&&(t=r.settings.foreground),r?.settings?.background&&(n=r.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"?Jf.light:Jf.dark),n||(n=e.type==="light"?Yf.light:Yf.dark),{fg:t,bg:n}}class UN{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 s=await BN(Ui.includes(n)?`${this.languagesPath}${n.path}`:n.path);return n.grammar=s,s}addLanguage(t){this.languageMap[t.id]=t,t.aliases&&t.aliases.forEach(n=>{this.languageMap[n]=t}),this.scopeToLangMap[t.scopeName]=t}}function VN(e,t,n,s,r){let o=n.split(/\r\n|\r|\n/),i=Sm.INITIAL,a=[],c=[];for(let l=0,d=o.length;l<d;l++){let u=o[l];if(u===""){a=[],c.push([]);continue}let f,h,p;r.includeExplanation&&(f=s.tokenizeLine(u,i),h=f.tokens,p=0);let v=s.tokenizeLine2(u,i),w=v.tokens.length/2;for(let y=0;y<w;y++){let g=v.tokens[2*y],_=y+1<w?v.tokens[2*y+2]:u.length;if(g===_)continue;let b=v.tokens[2*y+1],S=lt.getForeground(b),m=t[S],N=lt.getFontStyle(b),x=[];if(r.includeExplanation){let E=0;for(;g+E<_;){let k=h[p],T=u.substring(k.startIndex,k.endIndex);E+=T.length,x.push({content:T,scopes:WN(e,k.scopes)}),p++}}a.push({content:u.substring(g,_),color:m,fontStyle:N,explanation:x})}c.push(a),a=[],i=v.ruleStack}return c}function WN(e,t){let n=[];for(let s=0,r=t.length;s<r;s++){let o=t.slice(0,s),i=t[s];n[s]={scopeName:i,themeMatches:qN(e,i,o)}}return n}function Qf(e,t){let n=e+".";return e===t||t.substring(0,n.length)===n}function GN(e,t,n,s){if(!Qf(e,n))return!1;let r=t.length-1,o=s.length-1;for(;r>=0&&o>=0;)Qf(t[r],s[o])&&r--,o--;return r===-1}function qN(e,t,n){let s=[],r=0;for(let o=0,i=e.settings.length;o<i;o++){let a=e.settings[o],c;if(typeof a.scope=="string")c=a.scope.split(/,/).map(l=>l.trim());else if(Array.isArray(a.scope))c=a.scope;else continue;for(let l=0,d=c.length;l<d;l++){let f=c[l].split(/ /),h=f[f.length-1],p=f.slice(0,f.length-1);GN(h,p,t,n)&&(s[r++]=a,l=d)}}return s}var en=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],$a={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function KN(e,t){const n=e.indexOf("\x1B",t);if(n!==-1&&e[n+1]==="["){const s=e.indexOf("m",n);return{sequence:e.substring(n+2,s).split(";"),startPosition:n,position:s+1}}return{position:e.length}}function Zf(e){const t=e.shift();if(t==="2"){const n=e.splice(0,3).map(s=>Number.parseInt(s));return n.length!==3||n.some(s=>Number.isNaN(s))?void 0:{type:"rgb",rgb:n}}else if(t==="5"){const n=e.shift();if(n)return{type:"table",index:Number(n)}}}function XN(e){const t=[];for(;e.length>0;){const n=e.shift();if(!n)continue;const s=Number.parseInt(n);if(!Number.isNaN(s))if(s===0)t.push({type:"resetAll"});else if(s<=9)$a[s]&&t.push({type:"setDecoration",value:$a[s]});else if(s<=29){const r=$a[s-20];r&&t.push({type:"resetDecoration",value:r})}else if(s<=37)t.push({type:"setForegroundColor",value:{type:"named",name:en[s-30]}});else if(s===38){const r=Zf(e);r&&t.push({type:"setForegroundColor",value:r})}else if(s===39)t.push({type:"resetForegroundColor"});else if(s<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:en[s-40]}});else if(s===48){const r=Zf(e);r&&t.push({type:"setBackgroundColor",value:r})}else s===49?t.push({type:"resetBackgroundColor"}):s>=90&&s<=97?t.push({type:"setForegroundColor",value:{type:"named",name:en[s-90+8]}}):s>=100&&s<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:en[s-100+8]}})}return t}function JN(){let e=null,t=null,n=new Set;return{parse(s){const r=[];let o=0;do{const i=KN(s,o),a=i.sequence?s.substring(o,i.startPosition):s.substring(o);if(a.length>0&&r.push({value:a,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const c=XN(i.sequence);for(const l of c)l.type==="resetAll"?(e=null,t=null,n.clear()):l.type==="resetForegroundColor"?e=null:l.type==="resetBackgroundColor"?t=null:l.type==="resetDecoration"&&n.delete(l.value);for(const l of c)l.type==="setForegroundColor"?e=l.value:l.type==="setBackgroundColor"?t=l.value:l.type==="setDecoration"&&n.add(l.value)}o=i.position}while(o<s.length);return r}}}var YN={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};function QN(e=YN){function t(a){return e[a]}function n(a){return`#${a.map(c=>Math.max(0,Math.min(c,255)).toString(16).padStart(2,"0")).join("")}`}let s;function r(){if(s)return s;s=[];for(let l=0;l<en.length;l++)s.push(t(en[l]));let a=[0,95,135,175,215,255];for(let l=0;l<6;l++)for(let d=0;d<6;d++)for(let u=0;u<6;u++)s.push(n([a[l],a[d],a[u]]));let c=8;for(let l=0;l<24;l++,c+=10)s.push(n([c,c,c]));return s}function o(a){return r()[a]}function i(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return o(a.index)}}return{value:i}}function ZN(e,t){const n=t.split(/\r?\n/),s=QN(Object.fromEntries(en.map(o=>[o,e.colors[`terminal.ansi${o[0].toUpperCase()}${o.substring(1)}`]]))),r=JN();return n.map(o=>r.parse(o).map(i=>{let a;i.decorations.has("reverse")?a=i.background?s.value(i.background):e.bg:a=i.foreground?s.value(i.foreground):e.fg,i.decorations.has("dim")&&(a=e$(a));let c=wn.None;return i.decorations.has("bold")&&(c|=wn.Bold),i.decorations.has("italic")&&(c|=wn.Italic),i.decorations.has("underline")&&(c|=wn.Underline),{content:i.value,color:a,fontStyle:c}}))}function e$(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const s=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${s}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(s=>`${s}${s}`).join("")}80`;const n=e.match(/var\((--shiki-color-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}const t$={pre({className:e,style:t,children:n}){return`<pre class="${e}" style="${t}" tabindex="0">${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 ed(e,t={}){const n=t.bg||"#fff",s=RN(t.lineOptions??[],i=>i.line),r=t.elements||{};function o(i="",a={},c){const l=r[i]||t$[i];return l?(c=c.filter(Boolean),l({...a,children:i==="code"?c.join(`
|
|
13
|
+
`):c.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 c=a+1,l=s.get(c)??[],d=r$(l).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&wn.Italic&&h.push("font-style: italic"),u.fontStyle&wn.Bold&&h.push("font-weight: bold"),u.fontStyle&wn.Underline&&h.push("text-decoration: underline"),o("token",{style:h.join("; "),tokens:i,token:u,index:f},[s$(u.content)])}))}))])}const n$={"&":"&","<":"<",">":">",'"':""","'":"'"};function s$(e){return e.replace(/[&<>"']/g,t=>n$[t])}function r$(e){const t=new Set(["line"]);for(const n of e)for(const s of n.classes??[])t.add(s);return Array.from(t)}class o$ extends Sm.Registry{constructor(t){super(t),this._resolver=t,this.themesPath="themes/",this._resolvedThemes={},this._resolvedGrammars={},this._langGraph=new Map,this._langMap=Ui.reduce((n,s)=>(n[s.id]=s,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 Am(`${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 s={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||[]},r=await this.loadGrammarWithConfiguration(t.scopeName,1,s);this._resolvedGrammars[t.id]=r,t.aliases&&t.aliases.forEach(o=>{this._resolvedGrammars[o]=r})}async loadLanguages(t){for(const s of t)this.resolveEmbeddedLanguages(s);const n=Array.from(this._langGraph.values());for(const s of n)this._resolver.addLanguage(s);for(const s of n)await this.loadLanguage(s)}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 Om(e){return typeof e=="string"?Ui.find(t=>t.id===e||t.aliases?.includes(e)):e}function i$(e){let t=Ui,n=e.themes||[],s=e.paths?.wasm?e.paths.wasm.endsWith("/")?e.paths.wasm:e.paths.wasm+"/":jN;return e.langs&&(t=e.langs.map(Om)),e.theme&&n.unshift(e.theme),n.length||(n=["nord"]),{_languages:t,_themes:n,_wasmPath:s}}function a$(){const e={"#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)"};for(let t=0;t<en.length;t++){const n=`#A${t.toString().padStart(5,"0")}`,s=en[t].replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();e[n]=`var(--shiki-color-ansi-${s})`}return e}async function l$(e){const{_languages:t,_themes:n,_wasmPath:s}=i$(e),r=new UN(DN(s),"vscode-oniguruma"),o=new o$(r);e.paths?.themes&&(o.themesPath=e.paths.themes.endsWith("/")?e.paths.themes:e.paths.themes+"/"),e.paths?.languages&&(r.languagesPath=e.paths.languages.endsWith("/")?e.paths.languages:e.paths.languages+"/");const a=(await o.loadThemes(n))[0];let c;await o.loadLanguages(t);let l=a$();function d(x){l=x}function u(x,E){x.bg=l[x.bg]||x.bg,x.fg=l[x.fg]||x.fg,Object.entries(x.colors).forEach(([k,T])=>{x.colors[k]=l[T]||T}),E.forEach((k,T)=>{E[T]=l[k]||k})}function f(x){const E=x?o.getTheme(x):a;if(!E)throw Error(`No theme registration for ${x}`);(!c||c.name!==E.name)&&(o.setTheme(E),c=E);const k=o.getColorMap();return E.type==="css"&&u(E,k),{_theme:E,_colorMap:k}}function h(x){const E=o.getGrammar(x);if(!E)throw Error(`No language registration for ${x}`);return{_grammar:E}}function p(x,E="text",k,T={includeExplanation:!0}){if(c$(E))return[...x.split(/\r\n|\r|\n/).map(I=>[{content:I}])];const{_grammar:$}=h(E),{_theme:P,_colorMap:A}=f(k);return VN(P,A,x,$,T)}function v(x,E){const{_theme:k}=f(E);return ZN(k,x)}function w(x,E="text",k){let T;typeof E=="object"?T=E:T={lang:E,theme:k};const $=p(x,T.lang,T.theme,{includeExplanation:!1}),{_theme:P}=f(T.theme);return ed($,{fg:P.fg,bg:P.bg,lineOptions:T?.lineOptions,themeName:P.name})}function y(x,E){const k=v(x,E?.theme),{_theme:T}=f(E?.theme);return ed(k,{fg:T.fg,bg:T.bg,lineOptions:E?.lineOptions,themeName:T.name})}async function g(x){await o.loadTheme(x)}async function _(x){const E=Om(x);r.addLanguage(E),await o.loadLanguage(E)}function b(){return o.getLoadedThemes()}function S(){return o.getLoadedLanguages()}function m(x){const{_theme:E}=f(x);return E.bg}function N(x){const{_theme:E}=f(x);return E.fg}return{codeToThemedTokens:p,codeToHtml:w,ansiToThemedTokens:v,ansiToHtml:y,getTheme:x=>f(x)._theme,loadTheme:g,loadLanguage:_,getBackgroundColor:m,getForegroundColor:N,getLoadedThemes:b,getLoadedLanguages:S,setColorReplacements:d}}function c$(e){return!e||["plaintext","txt","text"].includes(e)}const u$="0.14.0";MN(`https://cdn.jsdelivr.net/npm/shiki-es@${u$}/dist/assets/`);const Io=Z();let td=null;function f$(e,t){const n=zi();!td&&!Io.value&&(td=l$({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(r=>{Io.value=r}));const s=Io.value?.getLoadedLanguages().includes(t);return s?{code:Io.value.codeToHtml(e,{lang:t,theme:n.value==="dark"?"vitesse-dark":"vitesse-light"}),supported:!0}:{code:e,supported:s}}function st(){return is("devtools-client")}function u2(){const e=st();return me(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function Cm(){const e=st();return me(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function f2(){const e=st();return me(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}function d$(){return is("devtools-component-inspector-data")}const Lm=Z(!1);setTimeout(()=>{Lm.value=!0},2e3);const p$=me(()=>Lm.value&&!st().value);function h$(){const e=st(),t=zi();return me(()=>({host:e.value,devtools:{rpc:Me,colorMode:t.value,renderCodeHighlight(n,s){return f$(n,s)},renderMarkdown(n){return kN(n)},extendClientRpc(n,s){return cm.set(n,s),new Proxy({},{get(r,o){if(typeof o=="string")return Me[`${n}:${o}`]}})}}}))}const pr={icon:"carbon:image-search",title:"Open Graph",layout:"full",category:"analyze",show:()=>{const e=st();return()=>!!e.value}},hr={icon:"carbon-information",title:"Overview",order:-100},mr={icon:"carbon-tree-view-alt",title:"Pages",show:()=>{const e=st();return()=>!!e.value},order:1},gr={icon:"carbon-data-set",title:"Payload",category:"analyze",show:()=>{const e=st();return()=>!!e.value},order:7},vr={icon:"carbon-plug",title:"Plugins",category:"analyze"},yr={icon:"carbon-settings-services",title:"Runtime Configs",category:"analyze",show:()=>{const e=st();return()=>!!e.value},order:6};function d2(e,t,n){return Math.min(n,Math.max(t,e))}const m$="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function g$(e=16,t=m$){let n="",s=e;const r=t.length;for(;s--;)n+=t[Math.random()*r|0];return n}function Im(e,t,n=!1){return t.reduce((s,r)=>(r in e&&(!n||e[r]!==void 0)&&(s[r]=e[r]),s),{})}function jm(){return ft("getServerPages",()=>Me.getServerPages())}function v$(){return ft("getServerRoutes",()=>Me.getServerRoutes())}function p2(){return ft("getServerHooks",()=>Me.getServerHooks())}function h2(){return ft("getServerLayouts",()=>Me.getServerLayouts())}function m2(){return ft("getAutoImports",()=>Me.getAutoImports())}function g2(){return ft("getStaticAssets",()=>Me.getStaticAssets())}function y$(){return ft("getServerConfig",()=>Me.getServerConfig())}function v2(){return ft("getModuleOptions",()=>Me.getModuleOptions())}function y2(){return ft("getServerApp",()=>Me.getServerApp())}function _$(){return ft("getCustomTabs",()=>Me.getCustomTabs())}function nd(){return ft("getTerminals",()=>Me.getTerminals())}function _2(){return ft("getAnalyzeBuildInfo",()=>Me.getAnalyzeBuildInfo())}function b$(){const{data:e}=rw("/_vfs.json",{key:"vfs-list",baseURL:"/",responseType:"json"},"$1Vz4NDBkXu");return e}function b2(){const e=jm(),t=Cm();return me(()=>(t.value?.getRoutes()||[]).map(n=>Im(n,["path","name","meta","props","children"])).map(n=>({...e.value?.find(s=>s.name&&s.name===n.name),...n})))}const _r={icon:"carbon-cloud",title:"Server Routes",layout:"full",category:"server",show(){const e=v$();return()=>e.value?.length}},br={icon:"carbon-data-base",title:"Storage",layout:"full",category:"server"},wr={icon:"carbon-terminal",title:"Terminals",layout:"full",show(){const e=nd();return()=>!!e.value?.length},badge(){const e=nd();return()=>e.value?.filter(t=>!t.isTerminated).length}},xr={icon:"i-carbon-roadmap",title:"Timeline",category:"analyze"},Er={icon:"i-carbon-border-none",title:"Virtual Files",layout:"full",category:"advanced"},Sr={layout:"full"},sd=[{name:er?.name??"__blank",path:er?.path??"/__blank",meta:er||{},alias:er?.alias||[],redirect:er?.redirect||void 0,component:()=>Ae(()=>import("./__blank.87af3281.js"),[],import.meta.url).then(e=>e.default||e)},{name:tr?.name??"index",path:tr?.path??"/",meta:tr||{},alias:tr?.alias||[],redirect:tr?.redirect||void 0,component:()=>Ae(()=>import("./index.064a7a87.js"),["./index.064a7a87.js","./Badge.51add8bd.js"],import.meta.url).then(e=>e.default||e)},{name:rr?.name??"modules-analyze-build",path:rr?.path??"/modules/analyze-build",meta:rr||{},alias:rr?.alias||[],redirect:rr?.redirect||void 0,component:()=>Ae(()=>import("./analyze-build.cf3dea6a.js"),["./analyze-build.cf3dea6a.js","./FilepathItem.vue.6f4d3680.js","./NTip.vue.95e4ec9e.js","./NCodeBlock.vue.2012eb81.js","./client.247a64bd.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.a57ff0bb.js","./HelpFab.vue.58531843.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:or?.name??"modules-assets",path:or?.path??"/modules/assets",meta:or||{},alias:or?.alias||[],redirect:or?.redirect||void 0,component:()=>Ae(()=>import("./assets.4f097b22.js"),["./assets.4f097b22.js","./Navbar.vue.6c01dcab.js","./NSectionBlock.7613319f.js","./NIconTitle.vue.c1ac3b5f.js","./NSectionBlock.012f83f1.css","./FilepathItem.vue.6f4d3680.js","./CodeSnippets.vue.ac1ba0c8.js","./NCodeBlock.vue.2012eb81.js","./client.247a64bd.js","./NCodeBlock.cf3ce05b.css","./DrawerRight.vue.53f21930.js","./constants.2fec5dff.js","./assets.a19ea08e.css"],import.meta.url).then(e=>e.default||e)},{name:ir?.name??"modules-components",path:ir?.path??"/modules/components",meta:ir||{},alias:ir?.alias||[],redirect:ir?.redirect||void 0,component:()=>Ae(()=>import("./components.07744e27.js"),["./components.07744e27.js","./HelpFab.vue.58531843.js","./HelpFab.f179afc3.css","./state-components.3bf21c12.js","./NCheckbox.vue.a57ff0bb.js","./Navbar.vue.6c01dcab.js","./Badge.51add8bd.js","./FilepathItem.vue.6f4d3680.js","./DrawerRight.vue.53f21930.js","./NSectionBlock.7613319f.js","./NIconTitle.vue.c1ac3b5f.js","./NSectionBlock.012f83f1.css","./constants.2fec5dff.js"],import.meta.url).then(e=>e.default||e)},{name:ar?.name??"modules-custom-name",path:ar?.path??"/modules/custom-:name()",meta:ar||{},alias:ar?.alias||[],redirect:ar?.redirect||void 0,component:()=>Ae(()=>import("./custom-_name_.6e463663.js"),["./custom-_name_.6e463663.js","./AuthRequiredPanel.vue.d0cfb6b2.js","./LaunchPage.vue.36ead88c.js","./NMarkdown.vue.6bccbb92.js","./client.247a64bd.js"],import.meta.url).then(e=>e.default||e)},{name:lr?.name??"modules-hooks",path:lr?.path??"/modules/hooks",meta:lr||{},alias:lr?.alias||[],redirect:lr?.redirect||void 0,component:()=>Ae(()=>import("./hooks.259d0a69.js"),["./hooks.259d0a69.js","./DurationDisplay.vue.8283fdb3.js","./NSectionBlock.7613319f.js","./NIconTitle.vue.c1ac3b5f.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.58531843.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:cr?.name??"modules-imports",path:cr?.path??"/modules/imports",meta:cr||{},alias:cr?.alias||[],redirect:cr?.redirect||void 0,component:()=>Ae(()=>import("./imports.cc27dbf7.js"),["./imports.cc27dbf7.js","./NSwitch.vue.fa9b060a.js","./Navbar.vue.6c01dcab.js","./FilepathItem.vue.6f4d3680.js","./ComposableItem.vue.a20c44a4.js","./NMarkdown.vue.6bccbb92.js","./client.247a64bd.js","./constants.2fec5dff.js","./NSectionBlock.7613319f.js","./NIconTitle.vue.c1ac3b5f.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.58531843.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:ur?.name??"modules-middleware",path:ur?.path??"/modules/middleware",meta:ur||{},alias:ur?.alias||[],redirect:ur?.redirect||void 0,component:()=>Ae(()=>import("./middleware.fcdb1770.js"),[],import.meta.url).then(e=>e.default||e)},{name:fr?.name??"modules-modules",path:fr?.path??"/modules/modules",meta:fr||{},alias:fr?.alias||[],redirect:fr?.redirect||void 0,component:()=>Ae(()=>import("./modules.5891e891.js"),["./modules.5891e891.js","./FilepathItem.vue.6f4d3680.js","./state-modules.dfd5fe81.js","./Badge.51add8bd.js","./NCodeBlock.vue.2012eb81.js","./client.247a64bd.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.a57ff0bb.js","./NTip.vue.95e4ec9e.js","./NSectionBlock.7613319f.js","./NIconTitle.vue.c1ac3b5f.js","./NSectionBlock.012f83f1.css","./NLink.vue.c45070c9.js","./CodeDiff.vue.ef3840bb.js","./HelpFab.vue.58531843.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:pr?.name??"modules-open-graph",path:pr?.path??"/modules/open-graph",meta:pr||{},alias:pr?.alias||[],redirect:pr?.redirect||void 0,component:()=>Ae(()=>import("./open-graph.1141dd15.js"),["./open-graph.1141dd15.js","./Navbar.vue.6c01dcab.js","./NLink.vue.c45070c9.js","./NSectionBlock.7613319f.js","./NIconTitle.vue.c1ac3b5f.js","./NSectionBlock.012f83f1.css","./NCodeBlock.vue.2012eb81.js","./client.247a64bd.js","./NCodeBlock.cf3ce05b.css","./HelpFab.vue.58531843.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:hr?.name??"modules-overview",path:hr?.path??"/modules/overview",meta:hr||{},alias:hr?.alias||[],redirect:hr?.redirect||void 0,component:()=>Ae(()=>import("./overview.2af20256.js"),["./overview.2af20256.js","./Badge.51add8bd.js","./state-modules.dfd5fe81.js","./NCodeBlock.vue.2012eb81.js","./client.247a64bd.js","./NCodeBlock.cf3ce05b.css","./NCheckbox.vue.a57ff0bb.js","./NTip.vue.95e4ec9e.js","./state-components.3bf21c12.js"],import.meta.url).then(e=>e.default||e)},{name:mr?.name??"modules-pages",path:mr?.path??"/modules/pages",meta:mr||{},alias:mr?.alias||[],redirect:mr?.redirect||void 0,component:()=>Ae(()=>import("./pages.b3fe162f.js"),["./pages.b3fe162f.js","./Badge.51add8bd.js","./FilepathItem.vue.6f4d3680.js","./NSectionBlock.7613319f.js","./NIconTitle.vue.c1ac3b5f.js","./NSectionBlock.012f83f1.css","./LaunchPage.vue.36ead88c.js","./NMarkdown.vue.6bccbb92.js","./client.247a64bd.js","./HelpFab.vue.58531843.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:gr?.name??"modules-payload",path:gr?.path??"/modules/payload",meta:gr||{},alias:gr?.alias||[],redirect:gr?.redirect||void 0,component:()=>Ae(()=>import("./payload.2d5cef36.js"),["./payload.2d5cef36.js","./StateEditor.vue.c5cc22ae.js","./json-editor-vue.af845b1c.js","./NSectionBlock.7613319f.js","./NIconTitle.vue.c1ac3b5f.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.58531843.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:vr?.name??"modules-plugins",path:vr?.path??"/modules/plugins",meta:vr||{},alias:vr?.alias||[],redirect:vr?.redirect||void 0,component:()=>Ae(()=>import("./plugins.f25d8e7c.js"),["./plugins.f25d8e7c.js","./FilepathItem.vue.6f4d3680.js","./Badge.51add8bd.js","./DurationDisplay.vue.8283fdb3.js","./NSectionBlock.7613319f.js","./NIconTitle.vue.c1ac3b5f.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.58531843.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:yr?.name??"modules-runtime-configs",path:yr?.path??"/modules/runtime-configs",meta:yr||{},alias:yr?.alias||[],redirect:yr?.redirect||void 0,component:()=>Ae(()=>import("./runtime-configs.68765f10.js"),["./runtime-configs.68765f10.js","./StateEditor.vue.c5cc22ae.js","./json-editor-vue.af845b1c.js","./NSectionBlock.7613319f.js","./NIconTitle.vue.c1ac3b5f.js","./NSectionBlock.012f83f1.css","./HelpFab.vue.58531843.js","./HelpFab.f179afc3.css"],import.meta.url).then(e=>e.default||e)},{name:_r?.name??"modules-server-routes",path:_r?.path??"/modules/server-routes",meta:_r||{},alias:_r?.alias||[],redirect:_r?.redirect||void 0,component:()=>Ae(()=>import("./server-routes.ab41fbf6.js"),["./server-routes.ab41fbf6.js","./Navbar.vue.6c01dcab.js","./Badge.51add8bd.js","./NSelect.vue.b9c29645.js","./NCheckbox.vue.a57ff0bb.js","./CodeSnippets.vue.ac1ba0c8.js","./NCodeBlock.vue.2012eb81.js","./client.247a64bd.js","./NCodeBlock.cf3ce05b.css","./constants.2fec5dff.js","./json-editor-vue.af845b1c.js","./NSectionBlock.7613319f.js","./NIconTitle.vue.c1ac3b5f.js","./NSectionBlock.012f83f1.css","./DrawerRight.vue.53f21930.js"],import.meta.url).then(e=>e.default||e)},{name:br?.name??"modules-storage",path:br?.path??"/modules/storage",meta:br||{},alias:br?.alias||[],redirect:br?.redirect||void 0,component:()=>Ae(()=>import("./storage.921a198c.js"),["./storage.921a198c.js","./NSelect.vue.b9c29645.js","./NLink.vue.c45070c9.js","./FilepathItem.vue.6f4d3680.js","./json-editor-vue.af845b1c.js","./AuthRequiredPanel.vue.d0cfb6b2.js"],import.meta.url).then(e=>e.default||e)},{name:wr?.name??"modules-terminals",path:wr?.path??"/modules/terminals",meta:wr||{},alias:wr?.alias||[],redirect:wr?.redirect||void 0,component:()=>Ae(()=>import("./terminals.67898f73.js"),["./terminals.67898f73.js","./AuthRequiredPanel.vue.d0cfb6b2.js","./terminals.ae8c3544.css"],import.meta.url).then(e=>e.default||e)},{name:xr?.name??"modules-timeline",path:xr?.path??"/modules/timeline",meta:xr||{},alias:xr?.alias||[],redirect:xr?.redirect||void 0,component:()=>Ae(()=>import("./timeline.6b8e8f78.js"),["./timeline.6b8e8f78.js","./DurationDisplay.vue.8283fdb3.js","./Badge.51add8bd.js","./ComposableItem.vue.a20c44a4.js","./NMarkdown.vue.6bccbb92.js","./client.247a64bd.js","./FilepathItem.vue.6f4d3680.js","./constants.2fec5dff.js","./json-editor-vue.af845b1c.js","./LaunchPage.vue.36ead88c.js","./NLink.vue.c45070c9.js","./CodeDiff.vue.ef3840bb.js","./NCodeBlock.vue.2012eb81.js","./NCodeBlock.cf3ce05b.css","./HelpFab.vue.58531843.js","./HelpFab.f179afc3.css","./timeline.289e5c9e.css"],import.meta.url).then(e=>e.default||e)},{name:Er?.name??"modules-virtual-files",path:Er?.path??"/modules/virtual-files",meta:Er||{},alias:Er?.alias||[],redirect:Er?.redirect||void 0,component:()=>Ae(()=>import("./virtual-files.e3271a06.js"),["./virtual-files.e3271a06.js","./Navbar.vue.6c01dcab.js","./NCodeBlock.vue.2012eb81.js","./client.247a64bd.js","./NCodeBlock.cf3ce05b.css","./HelpFab.vue.58531843.js","./HelpFab.f179afc3.css","./virtual-files.a8748389.css"],import.meta.url).then(e=>e.default||e)},{name:Sr?.name??"settings",path:Sr?.path??"/settings",meta:Sr||{},alias:Sr?.alias||[],redirect:Sr?.redirect||void 0,component:()=>Ae(()=>import("./settings.cb26edfb.js"),["./settings.cb26edfb.js","./NIconTitle.vue.c1ac3b5f.js","./NSwitch.vue.fa9b060a.js","./NSelect.vue.b9c29645.js","./NCheckbox.vue.a57ff0bb.js"],import.meta.url).then(e=>e.default||e)}],w$={scrollBehavior(e,t,n){const s=Ce();let r=n||void 0;if(!r&&t&&e&&e.meta.scrollToTop!==!1&&x$(t,e)&&(r={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:rd(e.hash)}}const o=a=>!!(a.meta.pageTransition??Qa),i=o(t)&&o(e)?"page:transition:finish":"page:finish";return new Promise(a=>{s.hooks.hookOnce(i,async()=>{await xt(),e.hash&&(r={el:e.hash,top:rd(e.hash)}),a(r)})})}};function rd(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}function x$(e,t){const n=t.matched.every((s,r)=>s.components?.default===e.matched[r]?.components?.default);return!!(!n||n&&JSON.stringify(e.params)!==JSON.stringify(t.params))}const E$={},mn={...E$,...w$},S$=async e=>{let t,n;if(!e.meta?.validate)return;const s=Ce(),r=nt();if(([t,n]=ti(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=Li({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`}),a=r.beforeResolve(c=>{if(a(),c===e){const l=r.afterEach(async()=>{l(),await s.runWithContext(()=>ms(i)),window.history.pushState({},"",e.fullPath)});return!1}})},T$=po("nuxt-devtools-first-visit",!0),N$=tm(),dl=me(()=>N$.width.value>1080),xn=po("nuxt-devtools-split-screen",!1),Mm=po("nuxt-devtools-split-screen-view","overview"),$$=po("nuxt-devtools-frame-state",{},{listenToStorageChanges:!0}),k$=po("nuxt-devtools-panels-state",{},{listenToStorageChanges:!1}),Vi=Z(await Me.getOptions("ui")),P$=Aw(Vi);Be(Vi,async e=>{Me.updateOptions("ui",e)},{deep:!0,flush:"post"});Qn(()=>{$$.value.closeOnOutsideClick=Vi.value.interactionCloseOnOutsideClick});localStorage.getItem("nuxt-devtools-settings")&&(Object.assign(Vi.value,JSON.parse(localStorage.getItem("nuxt-devtools-settings"))),localStorage.removeItem("nuxt-devtools-settings"));function Wi(){return P$}function A$(){return k$}const R$=e=>{if(e.path==="/"&&!T$.value)return Th("/modules/overview")},zo=[S$,R$],pl={};function O$(e,t,n){const{pathname:s,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){const c=o.includes(e.slice(i))?e.slice(i).length:1;let l=o.slice(c);return l[0]!=="/"&&(l="/"+l),yu(l,"")}const a=n||yu(s,e);return a+(a.includes("?")?"":r)+o}const C$=Ct({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,s=ic().app.baseURL;mn.hashMode&&!s.includes("#")&&(s+="#");const r=mn.history?.(s)??(mn.hashMode?t1(s):kh(s)),o=mn.routes?.(sd)??sd;let i;const a=O$(s,window.location,e.payload.path),c=D1({...mn,scrollBehavior:(v,w,y)=>{if(w===Dt){i=y;return}return c.options.scrollBehavior=mn.scrollBehavior,mn.scrollBehavior?.(v,Dt,i||y)},history:r,routes:o});e.vueApp.use(c);const l=rn(c.currentRoute.value);c.afterEach((v,w)=>{l.value=w}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const d=rn(c.resolve(a)),u=()=>{d.value=c.currentRoute.value};e.hook("page:finish",u),c.afterEach((v,w)=>{v.matched[0]?.components?.default===w.matched[0]?.components?.default&&u()});const f={};for(const v in d.value)Object.defineProperty(f,v,{get:()=>d.value[v]});e._route=Bs(f),e._middleware=e._middleware||{global:[],named:{}};const h=Ci();try{[t,n]=ti(()=>c.isReady()),await t,n()}catch(v){[t,n]=ti(()=>e.runWithContext(()=>ms(v))),await t,n()}const p=is("_layout");return c.beforeEach(async(v,w)=>{v.meta=At(v.meta),e.isHydrating&&p.value&&!Yn(v.meta.layout)&&(v.meta.layout=p.value),e._processingMiddleware=!0;{const y=new Set([...zo,...e._middleware.global]);for(const g of v.matched){const _=g.meta.middleware;if(_)if(Array.isArray(_))for(const b of _)y.add(b);else y.add(_)}for(const g of y){const _=typeof g=="string"?e._middleware.named[g]||await pl[g]?.().then(S=>S.default||S):g;if(!_)throw new Error(`Unknown route middleware: '${g}'.`);const b=await e.runWithContext(()=>_(v,w));if(!e.payload.serverRendered&&e.isHydrating&&(b===!1||b instanceof Error)){const S=b||tl({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>ms(S)),!1}if(b||b===!1)return b}}}),c.onError(()=>{delete e._processingMiddleware}),c.afterEach(async(v,w,y)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(Ib),v.matched.length===0&&await e.runWithContext(()=>ms(tl({statusCode:404,fatal:!1,statusMessage:`Page not found: ${v.fullPath}`})))}),e.hooks.hookOnce("app:created",async()=>{try{await c.replace({...c.resolve(a),name:void 0,force:!0}),c.options.scrollBehavior=mn.scrollBehavior}catch(v){await e.runWithContext(()=>ms(v))}}),{provide:{router:c}}}}),L$=Ct({name:"nuxt:payload",setup(e){Nb()&&(e.hooks.hook("link:prefetch",async t=>{co(t).protocol||await ku(t)}),nt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const s=await ku(t.path);s&&Object.assign(e.static.data,s.data)}))}}),I$=Ct({name:"nuxt:global-components"}),j$=Ct({name:"nuxt:head",setup(e){const n=mb();n.push(bb),e.vueApp.use(n);{let s=!0;const r=()=>{s=!1,n.hooks.callHook("entries:updated",n)};n.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!s}),e.hooks.hook("page:start",()=>{s=!0}),e.hooks.hook("page:finish",r),e.hooks.hook("app:suspense:resolve",r)}}}),Gn={default:xs(()=>Ae(()=>import("./default.3a13b5c9.js"),[],import.meta.url).then(e=>e.default||e)),full:xs(()=>Ae(()=>import("./full.92d6a5f8.js"),[],import.meta.url).then(e=>e.default||e)),none:xs(()=>Ae(()=>import("./none.e5b666cf.js"),[],import.meta.url).then(e=>e.default||e))},M$=Ct({name:"nuxt:prefetch",setup(e){const t=nt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const s=n?.meta?.layout;s&&typeof Gn[s]=="function"&&await Gn[s]()})}),e.hooks.hook("link:prefetch",n=>{if(Us(n))return;const s=t.resolve(n);if(!s)return;const r=s?.meta?.layout;let o=Array.isArray(s?.meta?.middleware)?s?.meta?.middleware:[s?.meta?.middleware];o=o.filter(i=>typeof i=="string");for(const i of o)typeof pl[i]=="function"&&pl[i]();r&&typeof Gn[r]=="function"&&Gn[r]()})}}),D$="__NUXT_COLOR_MODE__",F$="ColorScheme",B$="nuxt-color-mode",Kt=window[D$],H$=Ct(e=>{const t=is("color-mode",()=>At({preference:Kt.preference,value:Kt.value,unknown:!1,forced:!1})).value;nt().afterEach(r=>{const o=r.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 s(){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,r=>{t.forced||(r==="system"?(t.value=Kt.getColorScheme(),s()):t.value=r,window.localStorage?.setItem(B$,r))},{immediate:!0}),Be(()=>t.value,(r,o)=>{Kt.removeColorScheme(o),Kt.addColorScheme(r)}),t.preference==="system"&&s(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=Kt.preference,t.value=Kt.value,t.unknown=!1)}),e.provide("colorMode",t)});const z$=Ct(()=>{}),U$=Ct({name:"nuxt:chunk-reload",setup(e){const t=nt(),n=ic(),s=new Set;t.beforeEach(()=>{s.clear()}),e.hook("app:chunkError",({error:r})=>{s.add(r)}),t.onError((r,o)=>{if(s.has(r)){const a="href"in o&&o.href.startsWith("#")?n.app.baseURL+o.href:lo(n.app.baseURL,o.fullPath);ow({path:a,persistState:!0})}})}});function Nt(e){return e.split("-")[1]}function Sc(e){return e==="y"?"height":"width"}function Ut(e){return e.split("-")[0]}function Ws(e){return["top","bottom"].includes(Ut(e))?"x":"y"}function od(e,t,n){let{reference:s,floating:r}=e;const o=s.x+s.width/2-r.width/2,i=s.y+s.height/2-r.height/2,a=Ws(t),c=Sc(a),l=s[c]/2-r[c]/2,d=a==="x";let u;switch(Ut(t)){case"top":u={x:o,y:s.y-r.height};break;case"bottom":u={x:o,y:s.y+s.height};break;case"right":u={x:s.x+s.width,y:i};break;case"left":u={x:s.x-r.width,y:i};break;default:u={x:s.x,y:s.y}}switch(Nt(t)){case"start":u[a]-=l*(n&&d?-1:1);break;case"end":u[a]+=l*(n&&d?-1:1)}return u}const V$=async(e,t,n)=>{const{placement:s="bottom",strategy:r="absolute",middleware:o=[],platform:i}=n,a=o.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(t));let l=await i.getElementRects({reference:e,floating:t,strategy:r}),{x:d,y:u}=od(l,s,c),f=s,h={},p=0;for(let v=0;v<a.length;v++){const{name:w,fn:y}=a[v],{x:g,y:_,data:b,reset:S}=await y({x:d,y:u,initialPlacement:s,placement:f,strategy:r,middlewareData:h,rects:l,platform:i,elements:{reference:e,floating:t}});d=g??d,u=_??u,h={...h,[w]:{...h[w],...b}},S&&p<=50&&(p++,typeof S=="object"&&(S.placement&&(f=S.placement),S.rects&&(l=S.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:r}):S.rects),{x:d,y:u}=od(l,f,c)),v=-1)}return{x:d,y:u,placement:f,strategy:r,middlewareData:h}};function as(e,t){return typeof e=="function"?e(t):e}function Dm(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 Dr(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}async function Gi(e,t){var n;t===void 0&&(t={});const{x:s,y:r,platform:o,rects:i,elements:a,strategy:c}=e,{boundary:l="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:f=!1,padding:h=0}=as(t,e),p=Dm(h),v=a[f?u==="floating"?"reference":"floating":u],w=Dr(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:l,rootBoundary:d,strategy:c})),y=u==="floating"?{...i.floating,x:s,y:r}:i.reference,g=await(o.getOffsetParent==null?void 0:o.getOffsetParent(a.floating)),_=await(o.isElement==null?void 0:o.isElement(g))&&await(o.getScale==null?void 0:o.getScale(g))||{x:1,y:1},b=Dr(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:g,strategy:c}):y);return{top:(w.top-b.top+p.top)/_.y,bottom:(b.bottom-w.bottom+p.bottom)/_.y,left:(w.left-b.left+p.left)/_.x,right:(b.right-w.right+p.right)/_.x}}const to=Math.min,Dn=Math.max;function hl(e,t,n){return Dn(e,to(t,n))}const W$=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:s,placement:r,rects:o,platform:i,elements:a}=t,{element:c,padding:l=0}=as(e,t)||{};if(c==null)return{};const d=Dm(l),u={x:n,y:s},f=Ws(r),h=Sc(f),p=await i.getDimensions(c),v=f==="y",w=v?"top":"left",y=v?"bottom":"right",g=v?"clientHeight":"clientWidth",_=o.reference[h]+o.reference[f]-u[f]-o.floating[h],b=u[f]-o.reference[f],S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c));let m=S?S[g]:0;m&&await(i.isElement==null?void 0:i.isElement(S))||(m=a.floating[g]||o.floating[h]);const N=_/2-b/2,x=m/2-p[h]/2-1,E=to(d[w],x),k=to(d[y],x),T=E,$=m-p[h]-k,P=m/2-p[h]/2+N,A=hl(T,P,$),L=Nt(r)!=null&&P!=A&&o.reference[h]/2-(P<T?E:k)-p[h]/2<0?P<T?T-P:$-P:0;return{[f]:u[f]-L,data:{[f]:A,centerOffset:P-A+L}}}}),G$=["top","right","bottom","left"],id=G$.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),q$={left:"right",right:"left",bottom:"top",top:"bottom"};function fi(e){return e.replace(/left|right|bottom|top/g,t=>q$[t])}function Fm(e,t,n){n===void 0&&(n=!1);const s=Nt(e),r=Ws(e),o=Sc(r);let i=r==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(i=fi(i)),{main:i,cross:fi(i)}}const K$={start:"end",end:"start"};function Uo(e){return e.replace(/start|end/g,t=>K$[t])}const X$=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,s,r;const{rects:o,middlewareData:i,placement:a,platform:c,elements:l}=t,{crossAxis:d=!1,alignment:u,allowedPlacements:f=id,autoAlignment:h=!0,...p}=as(e,t),v=u!==void 0||f===id?function(k,T,$){return(k?[...$.filter(P=>Nt(P)===k),...$.filter(P=>Nt(P)!==k)]:$.filter(P=>Ut(P)===P)).filter(P=>!k||Nt(P)===k||!!T&&Uo(P)!==P)}(u||null,h,f):f,w=await Gi(t,p),y=((n=i.autoPlacement)==null?void 0:n.index)||0,g=v[y];if(g==null)return{};const{main:_,cross:b}=Fm(g,o,await(c.isRTL==null?void 0:c.isRTL(l.floating)));if(a!==g)return{reset:{placement:v[0]}};const S=[w[Ut(g)],w[_],w[b]],m=[...((s=i.autoPlacement)==null?void 0:s.overflows)||[],{placement:g,overflows:S}],N=v[y+1];if(N)return{data:{index:y+1,overflows:m},reset:{placement:N}};const x=m.map(k=>{const T=Nt(k.placement);return[k.placement,T&&d?k.overflows.slice(0,2).reduce(($,P)=>$+P,0):k.overflows[0],k.overflows]}).sort((k,T)=>k[1]-T[1]),E=((r=x.filter(k=>k[2].slice(0,Nt(k[0])?2:3).every(T=>T<=0))[0])==null?void 0:r[0])||x[0][0];return E!==a?{data:{index:y+1,overflows:m},reset:{placement:E}}:{}}}},J$=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:s,middlewareData:r,rects:o,initialPlacement:i,platform:a,elements:c}=t,{mainAxis:l=!0,crossAxis:d=!0,fallbackPlacements:u,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:p=!0,...v}=as(e,t),w=Ut(s),y=Ut(i)===i,g=await(a.isRTL==null?void 0:a.isRTL(c.floating)),_=u||(y||!p?[fi(i)]:function(T){const $=fi(T);return[Uo(T),$,Uo($)]}(i));u||h==="none"||_.push(...function(T,$,P,A){const L=Nt(T);let I=function(D,F,V){const le=["left","right"],te=["right","left"],ie=["top","bottom"],de=["bottom","top"];switch(D){case"top":case"bottom":return V?F?te:le:F?le:te;case"left":case"right":return F?ie:de;default:return[]}}(Ut(T),P==="start",A);return L&&(I=I.map(D=>D+"-"+L),$&&(I=I.concat(I.map(Uo)))),I}(i,p,h,g));const b=[i,..._],S=await Gi(t,v),m=[];let N=((n=r.flip)==null?void 0:n.overflows)||[];if(l&&m.push(S[w]),d){const{main:T,cross:$}=Fm(s,o,g);m.push(S[T],S[$])}if(N=[...N,{placement:s,overflows:m}],!m.every(T=>T<=0)){var x,E;const T=(((x=r.flip)==null?void 0:x.index)||0)+1,$=b[T];if($)return{data:{index:T,overflows:N},reset:{placement:$}};let P=(E=N.filter(A=>A.overflows[0]<=0).sort((A,L)=>A.overflows[1]-L.overflows[1])[0])==null?void 0:E.placement;if(!P)switch(f){case"bestFit":{var k;const A=(k=N.map(L=>[L.placement,L.overflows.filter(I=>I>0).reduce((I,D)=>I+D,0)]).sort((L,I)=>L[1]-I[1])[0])==null?void 0:k[0];A&&(P=A);break}case"initialPlacement":P=i}if(s!==P)return{reset:{placement:P}}}return{}}}},Y$=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:s}=t,r=await async function(o,i){const{placement:a,platform:c,elements:l}=o,d=await(c.isRTL==null?void 0:c.isRTL(l.floating)),u=Ut(a),f=Nt(a),h=Ws(a)==="x",p=["left","top"].includes(u)?-1:1,v=d&&h?-1:1,w=as(i,o);let{mainAxis:y,crossAxis:g,alignmentAxis:_}=typeof w=="number"?{mainAxis:w,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...w};return f&&typeof _=="number"&&(g=f==="end"?-1*_:_),h?{x:g*v,y:y*p}:{x:y*p,y:g*v}}(t,e);return{x:n+r.x,y:s+r.y,data:r}}}};function Q$(e){return e==="x"?"y":"x"}const Z$=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:s,placement:r}=t,{mainAxis:o=!0,crossAxis:i=!1,limiter:a={fn:w=>{let{x:y,y:g}=w;return{x:y,y:g}}},...c}=as(e,t),l={x:n,y:s},d=await Gi(t,c),u=Ws(Ut(r)),f=Q$(u);let h=l[u],p=l[f];if(o){const w=u==="y"?"bottom":"right";h=hl(h+d[u==="y"?"top":"left"],h,h-d[w])}if(i){const w=f==="y"?"bottom":"right";p=hl(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-s}}}}},ek=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:s,platform:r,elements:o}=t,{apply:i=()=>{},...a}=as(e,t),c=await Gi(t,a),l=Ut(n),d=Nt(n),u=Ws(n)==="x",{width:f,height:h}=s.floating;let p,v;l==="top"||l==="bottom"?(p=l,v=d===(await(r.isRTL==null?void 0:r.isRTL(o.floating))?"start":"end")?"left":"right"):(v=l,p=d==="end"?"top":"bottom");const w=h-c[p],y=f-c[v],g=!t.middlewareData.shift;let _=w,b=y;if(u){const m=f-c.left-c.right;b=d||g?to(y,m):m}else{const m=h-c.top-c.bottom;_=d||g?to(w,m):m}if(g&&!d){const m=Dn(c.left,0),N=Dn(c.right,0),x=Dn(c.top,0),E=Dn(c.bottom,0);u?b=f-2*(m!==0||N!==0?m+N:Dn(c.left,c.right)):_=h-2*(x!==0||E!==0?x+E:Dn(c.top,c.bottom))}await i({...t,availableWidth:b,availableHeight:_});const S=await r.getDimensions(o.floating);return f!==S.width||h!==S.height?{reset:{rects:!0}}:{}}}};function _t(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Vt(e){return _t(e).getComputedStyle(e)}const ad=Math.min,Fr=Math.max,di=Math.round;function Bm(e){const t=Vt(e);let n=parseFloat(t.width),s=parseFloat(t.height);const r=e.offsetWidth,o=e.offsetHeight,i=di(n)!==r||di(s)!==o;return i&&(n=r,s=o),{width:n,height:s,fallback:i}}function Rn(e){return zm(e)?(e.nodeName||"").toLowerCase():""}let jo;function Hm(){if(jo)return jo;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(jo=e.brands.map(t=>t.brand+"/"+t.version).join(" "),jo):navigator.userAgent}function Wt(e){return e instanceof _t(e).HTMLElement}function Nn(e){return e instanceof _t(e).Element}function zm(e){return e instanceof _t(e).Node}function ld(e){return typeof ShadowRoot>"u"?!1:e instanceof _t(e).ShadowRoot||e instanceof ShadowRoot}function qi(e){const{overflow:t,overflowX:n,overflowY:s,display:r}=Vt(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!["inline","contents"].includes(r)}function tk(e){return["table","td","th"].includes(Rn(e))}function ml(e){const t=/firefox/i.test(Hm()),n=Vt(e),s=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!s&&s!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(r=>n.willChange.includes(r))||["paint","layout","strict","content"].some(r=>{const o=n.contain;return o!=null&&o.includes(r)})}function Um(){return!/^((?!chrome|android).)*safari/i.test(Hm())}function Tc(e){return["html","body","#document"].includes(Rn(e))}function Vm(e){return Nn(e)?e:e.contextElement}const Wm={x:1,y:1};function Ts(e){const t=Vm(e);if(!Wt(t))return Wm;const n=t.getBoundingClientRect(),{width:s,height:r,fallback:o}=Bm(t);let i=(o?di(n.width):n.width)/s,a=(o?di(n.height):n.height)/r;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function no(e,t,n,s){var r,o;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=Vm(e);let c=Wm;t&&(s?Nn(s)&&(c=Ts(s)):c=Ts(e));const l=a?_t(a):window,d=!Um()&&n;let u=(i.left+(d&&((r=l.visualViewport)==null?void 0:r.offsetLeft)||0))/c.x,f=(i.top+(d&&((o=l.visualViewport)==null?void 0:o.offsetTop)||0))/c.y,h=i.width/c.x,p=i.height/c.y;if(a){const v=_t(a),w=s&&Nn(s)?_t(s):s;let y=v.frameElement;for(;y&&s&&w!==v;){const g=Ts(y),_=y.getBoundingClientRect(),b=getComputedStyle(y);_.x+=(y.clientLeft+parseFloat(b.paddingLeft))*g.x,_.y+=(y.clientTop+parseFloat(b.paddingTop))*g.y,u*=g.x,f*=g.y,h*=g.x,p*=g.y,u+=_.x,f+=_.y,y=_t(y).frameElement}}return{width:h,height:p,top:f,right:u+h,bottom:f+p,left:u,x:u,y:f}}function $n(e){return((zm(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ki(e){return Nn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Gm(e){return no($n(e)).left+Ki(e).scrollLeft}function so(e){if(Rn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ld(e)&&e.host||$n(e);return ld(t)?t.host:t}function qm(e){const t=so(e);return Tc(t)?t.ownerDocument.body:Wt(t)&&qi(t)?t:qm(t)}function pi(e,t){var n;t===void 0&&(t=[]);const s=qm(e),r=s===((n=e.ownerDocument)==null?void 0:n.body),o=_t(s);return r?t.concat(o,o.visualViewport||[],qi(s)?s:[]):t.concat(s,pi(s))}function cd(e,t,n){return t==="viewport"?Dr(function(s,r){const o=_t(s),i=$n(s),a=o.visualViewport;let c=i.clientWidth,l=i.clientHeight,d=0,u=0;if(a){c=a.width,l=a.height;const f=Um();(f||!f&&r==="fixed")&&(d=a.offsetLeft,u=a.offsetTop)}return{width:c,height:l,x:d,y:u}}(e,n)):Nn(t)?Dr(function(s,r){const o=no(s,!0,r==="fixed"),i=o.top+s.clientTop,a=o.left+s.clientLeft,c=Wt(s)?Ts(s):{x:1,y:1};return{width:s.clientWidth*c.x,height:s.clientHeight*c.y,x:a*c.x,y:i*c.y}}(t,n)):Dr(function(s){const r=$n(s),o=Ki(s),i=s.ownerDocument.body,a=Fr(r.scrollWidth,r.clientWidth,i.scrollWidth,i.clientWidth),c=Fr(r.scrollHeight,r.clientHeight,i.scrollHeight,i.clientHeight);let l=-o.scrollLeft+Gm(s);const d=-o.scrollTop;return Vt(i).direction==="rtl"&&(l+=Fr(r.clientWidth,i.clientWidth)-a),{width:a,height:c,x:l,y:d}}($n(e)))}function ud(e){return Wt(e)&&Vt(e).position!=="fixed"?e.offsetParent:null}function fd(e){const t=_t(e);let n=ud(e);for(;n&&tk(n)&&Vt(n).position==="static";)n=ud(n);return n&&(Rn(n)==="html"||Rn(n)==="body"&&Vt(n).position==="static"&&!ml(n))?t:n||function(s){let r=so(s);for(;Wt(r)&&!Tc(r);){if(ml(r))return r;r=so(r)}return null}(e)||t}function nk(e,t,n){const s=Wt(t),r=$n(t),o=no(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(s||!s&&n!=="fixed")if((Rn(t)!=="body"||qi(r))&&(i=Ki(t)),Wt(t)){const c=no(t,!0);a.x=c.x+t.clientLeft,a.y=c.y+t.clientTop}else r&&(a.x=Gm(r));return{x:o.left+i.scrollLeft-a.x,y:o.top+i.scrollTop-a.y,width:o.width,height:o.height}}const sk={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:s,strategy:r}=e;const o=n==="clippingAncestors"?function(l,d){const u=d.get(l);if(u)return u;let f=pi(l).filter(w=>Nn(w)&&Rn(w)!=="body"),h=null;const p=Vt(l).position==="fixed";let v=p?so(l):l;for(;Nn(v)&&!Tc(v);){const w=Vt(v),y=ml(v);(p?y||h:y||w.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=w:f=f.filter(g=>g!==v),v=so(v)}return d.set(l,f),f}(t,this._c):[].concat(n),i=[...o,s],a=i[0],c=i.reduce((l,d)=>{const u=cd(t,d,r);return l.top=Fr(u.top,l.top),l.right=ad(u.right,l.right),l.bottom=ad(u.bottom,l.bottom),l.left=Fr(u.left,l.left),l},cd(t,a,r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:s}=e;const r=Wt(n),o=$n(n);if(n===o)return t;let i={scrollLeft:0,scrollTop:0},a={x:1,y:1};const c={x:0,y:0};if((r||!r&&s!=="fixed")&&((Rn(n)!=="body"||qi(o))&&(i=Ki(n)),Wt(n))){const l=no(n);a=Ts(n),c.x=l.x+n.clientLeft,c.y=l.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-i.scrollLeft*a.x+c.x,y:t.y*a.y-i.scrollTop*a.y+c.y}},isElement:Nn,getDimensions:function(e){return Wt(e)?Bm(e):e.getBoundingClientRect()},getOffsetParent:fd,getDocumentElement:$n,getScale:Ts,async getElementRects(e){let{reference:t,floating:n,strategy:s}=e;const r=this.getOffsetParent||fd,o=this.getDimensions;return{reference:nk(t,await r(n),s),floating:{x:0,y:0,...await o(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Vt(e).direction==="rtl"},rk=(e,t,n)=>{const s=new Map,r={platform:sk,...n},o={...r.platform,_c:s};return V$(e,t,{...r,platform:o})};function Km(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Km(e[n],t[n]):e[n]=t[n])}const nn={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 ro(e,t){let n=nn.themes[e]||{},s;do s=n[t],typeof s>"u"?n.$extend?n=nn.themes[n.$extend]||{}:(n=null,s=nn[t]):n=null;while(n);return s}function ok(e){const t=[e];let n=nn.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=nn.themes[n.$extend]||{}):n=null;while(n);return t.map(s=>`v-popper--theme-${s}`)}function dd(e){const t=[e];let n=nn.themes[e]||{};do n.$extend?(t.push(n.$extend),n=nn.themes[n.$extend]||{}):n=null;while(n);return t}let ns=!1;if(typeof window<"u"){ns=!1;try{const e=Object.defineProperty({},"passive",{get(){ns=!0}});window.addEventListener("test",null,e)}catch{}}let Xm=!1;typeof window<"u"&&typeof navigator<"u"&&(Xm=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Jm=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),pd={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},hd={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function md(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function ka(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const $t=[];let Mn=null;const gd={};function vd(e){let t=gd[e];return t||(t=gd[e]=[]),t}let gl=function(){};typeof window<"u"&&(gl=window.Element);function $e(e){return function(t){return ro(t.theme,e)}}const Pa="__floating-vue__popper",Ym=()=>Ne({name:"VPopper",provide(){return{[Pa]:{parentPopper:this}}},inject:{[Pa]:{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=>Jm.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,gl,Boolean],default:$e("container")},boundary:{type:[String,gl],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[Pa])==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 s,r;(s=this.parentPopper)!=null&&s.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((r=this.parentPopper)==null?void 0:r.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(Y$({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(X$({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Z$({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(J$({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(W$({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:s,rects:r,middlewareData:o})=>{let i;const{centerOffset:a}=o.arrow;return s.startsWith("top")||s.startsWith("bottom")?i=Math.abs(a)>r.reference.width/2:i=Math.abs(a)>r.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const s=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:r,placement:o,middlewareData:i})=>{var a;if((a=i.autoSize)!=null&&a.skip)return{};let c,l;return o.startsWith("top")||o.startsWith("bottom")?c=r.reference.width:l=r.reference.height,this.$_innerNode.style[s==="min"?"minWidth":s==="max"?"maxWidth":"width"]=c!=null?`${c}px`:null,this.$_innerNode.style[s==="min"?"minHeight":s==="max"?"maxHeight":"height"]=l!=null?`${l}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(ek({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:s,availableHeight:r})=>{this.$_innerNode.style.maxWidth=s!=null?`${s}px`:null,this.$_innerNode.style.maxHeight=r!=null?`${r}px`:null}})));const n=await rk(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),Mn&&this.instantMove&&Mn.instantMove&&Mn!==this.parentPopper){Mn.$_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&&(Mn=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 ka(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...pi(this.$_referenceNode),...pi(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"),s=n.parentNode.getBoundingClientRect(),r=t.x+t.width/2-(s.left+n.offsetLeft),o=t.y+t.height/2-(s.top+n.offsetTop);this.result.transformOrigin=`${r}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<$t.length;n++)t=$t[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}$t.push(this),document.body.classList.add("v-popper--some-open");for(const t of dd(this.theme))vd(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 ka(),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,md($t,this),$t.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of dd(this.theme)){const s=vd(n);md(s,this),s.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Mn===this&&(Mn=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 ka(),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,pd,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],pd,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,hd,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],hd,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(s=>s.addEventListener(t,n,ns?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,s,r){let o=n;s!=null&&(o=typeof s=="function"?s(o):s),o.forEach(i=>{const a=t[i];a&&this.$_registerEventListeners(e,a,r)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:s,eventType:r,handler:o}=n;!e||e===r?s.forEach(i=>i.removeEventListener(r,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 s=n.getAttribute(e);s&&(n.removeAttribute(e),n.setAttribute(t,s))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const s=e[n];s==null?t.removeAttribute(n):t.setAttribute(n,s)}},$_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(Br>=e.left&&Br<=e.right&&Hr>=e.top&&Hr<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=Br-vn,s=Hr-yn,r=t.left+t.width/2-vn+(t.top+t.height/2)-yn+t.width+t.height,o=vn+n*r,i=yn+s*r;return Mo(vn,yn,o,i,t.left,t.top,t.left,t.bottom)||Mo(vn,yn,o,i,t.left,t.top,t.right,t.top)||Mo(vn,yn,o,i,t.right,t.top,t.right,t.bottom)||Mo(vn,yn,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"&&(Xm?(document.addEventListener("touchstart",yd,ns?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",ak,ns?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",yd,!0),window.addEventListener("click",ik,!0)),window.addEventListener("resize",uk));function yd(e){for(let t=0;t<$t.length;t++){const n=$t[t];try{const s=n.popperNode();n.$_mouseDownContains=s.contains(e.target)}catch{}}}function ik(e){Qm(e)}function ak(e){Qm(e,!0)}function Qm(e,t=!1){const n={};for(let s=$t.length-1;s>=0;s--){const r=$t[s];try{const o=r.$_containsGlobalTarget=lk(r,e);r.$_pendingHide=!1,requestAnimationFrame(()=>{if(r.$_pendingHide=!1,!n[r.randomId]&&_d(r,o,e)){if(r.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&o){let a=r.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let i=r.parentPopper;for(;i&&_d(i,i.$_containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function lk(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function _d(e,t,n){return n.closeAllPopover||n.closePopover&&t||ck(e,n)&&!t}function ck(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function uk(e){for(let t=0;t<$t.length;t++)$t[t].$_computePosition(e)}let vn=0,yn=0,Br=0,Hr=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{vn=Br,yn=Hr,Br=e.clientX,Hr=e.clientY},ns?{passive:!0}:void 0);function Mo(e,t,n,s,r,o,i,a){const c=((i-r)*(t-o)-(a-o)*(e-r))/((a-o)*(n-e)-(i-r)*(s-t)),l=((n-e)*(t-o)-(s-t)*(e-r))/((a-o)*(n-e)-(i-r)*(s-t));return c>=0&&c<=1&&l>=0&&l<=1}const fk={extends:Ym()},Xi=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};function dk(e,t,n,s,r,o){return ee(),be("div",{ref:"reference",class:Je(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[tt(e.$slots,"default",Cl(Ai(e.slotData)))],2)}const pk=Xi(fk,[["render",dk]]);function hk(){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 s=e.indexOf("rv:");return parseInt(e.substring(s+3,e.indexOf(".",s)),10)}var r=e.indexOf("Edge/");return r>0?parseInt(e.substring(r+5,e.indexOf(".",r)),10):-1}let Vo;function vl(){vl.init||(vl.init=!0,Vo=hk()!==-1)}var Ji={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){vl(),xt(()=>{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",Vo&&this.$el.appendChild(e),e.data="about:blank",Vo||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&&(!Vo&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const mk=jv();Lv("data-v-b329ee4c");const gk={class:"resize-observer",tabindex:"-1"};Iv();const vk=mk((e,t,n,s,r,o)=>(ee(),Te("div",gk)));Ji.render=vk;Ji.__scopeId="data-v-b329ee4c";Ji.__file="src/components/ResizeObserver.vue";const Zm=(e="theme")=>({computed:{themeClass(){return ok(this[e])}}}),yk=Ne({name:"VPopperContent",components:{ResizeObserver:Ji},mixins:[Zm()],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}}}),_k=["id","aria-hidden","tabindex","data-popper-placement"],bk={ref:"inner",class:"v-popper__inner"},wk=re("div",{class:"v-popper__arrow-outer"},null,-1),xk=re("div",{class:"v-popper__arrow-inner"},null,-1),Ek=[wk,xk];function Sk(e,t,n,s,r,o){const i=on("ResizeObserver");return ee(),be("div",{id:e.popperId,ref:"popover",class:Je(["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:tn(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]=g_(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[re("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),re("div",{class:"v-popper__wrapper",style:tn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[re("div",bk,[e.mounted?(ee(),be(Le,{key:0},[re("div",null,[tt(e.$slots,"default")]),e.handleResize?(ee(),Te(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):We("",!0)],64)):We("",!0)],512),re("div",{ref:"arrow",class:"v-popper__arrow-container",style:tn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Ek,4)],4)],46,_k)}const eg=Xi(yk,[["render",Sk]]),tg={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)}}},Tk=Ne({name:"VPopperWrapper",components:{Popper:pk,PopperContent:eg},mixins:[tg,Zm("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 Nk(e,t,n,s,r,o){const i=on("PopperContent"),a=on("Popper");return ee(),Te(a,{ref:"popper",theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:Je([e.themeClass])},{default:he(({popperId:c,isShown:l,shouldMountContent:d,skipTransition:u,autoHide:f,show:h,hide:p,handleResize:v,onResize:w,classes:y,result:g})=>[tt(e.$slots,"default",{shown:l,show:h,hide:p}),oe(i,{ref:"popperContent","popper-id":c,theme:e.finalTheme,shown:l,mounted:d,"skip-transition":u,"auto-hide":f,"handle-resize":v,classes:y,result:g,onHide:p,onResize:w},{default:he(()=>[tt(e.$slots,"popper",{shown:l,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 Nc=Xi(Tk,[["render",Nk]]),$k={...Nc,name:"VDropdown",vPopperTheme:"dropdown"},kk={...Nc,name:"VMenu",vPopperTheme:"menu"},Pk={...Nc,name:"VTooltip",vPopperTheme:"tooltip"},Ak=Ne({name:"VTooltipDirective",components:{Popper:Ym(),PopperContent:eg},mixins:[tg],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>ro(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>ro(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(s=>this.onResult(t,s)):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}}}),Rk=["innerHTML"],Ok=["textContent"];function Ck(e,t,n,s,r,o){const i=on("PopperContent"),a=on("Popper");return ee(),Te(a,ln({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:he(({popperId:c,isShown:l,shouldMountContent:d,skipTransition:u,autoHide:f,hide:h,handleResize:p,onResize:v,classes:w,result:y})=>[oe(i,{ref:"popperContent",class:Je({"v-popper--tooltip-loading":e.loading}),"popper-id":c,theme:e.theme,shown:l,mounted:d,"skip-transition":u,"auto-hide":f,"handle-resize":p,classes:w,result:y,onHide:h,onResize:v},{default:he(()=>[e.html?(ee(),be("div",{key:0,innerHTML:e.finalContent},null,8,Rk)):(ee(),be("div",{key:1,textContent:ht(e.finalContent)},null,8,Ok))]),_: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 Lk=Xi(Ak,[["render",Ck]]),ng="v-popper--has-tooltip";function Ik(e,t){let n=e.placement;if(!n&&t)for(const s of Jm)t[s]&&(n=s);return n||(n=ro(e.theme||"tooltip","placement")),n}function sg(e,t,n){let s;const r=typeof t;return r==="string"?s={content:t}:t&&r==="object"?s=t:s={content:!1},s.placement=Ik(s,n),s.targetNodes=()=>[e],s.referenceNode=()=>e,s}let Aa,oo,jk=0;function Mk(){if(Aa)return;oo=Z([]),Aa=th({name:"VTooltipDirectiveApp",setup(){return{directives:oo}},render(){return this.directives.map(t=>Ge(Lk,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Aa.mount(e)}function Dk(e,t,n){Mk();const s=Z(sg(e,t,n)),r=Z(!1),o={id:jk++,options:s,shown:r};return oo.value.push(o),e.classList&&e.classList.add(ng),e.$_popper={options:s,item:o,show(){r.value=!0},hide(){r.value=!1}}}function rg(e){if(e.$_popper){const t=oo.value.indexOf(e.$_popper.item);t!==-1&&oo.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(ng)}function bd(e,{value:t,modifiers:n}){const s=sg(e,t,n);if(!s.content||ro(s.theme||"tooltip","disabled"))rg(e);else{let r;e.$_popper?(r=e.$_popper,r.options.value=s):r=Dk(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?r.show():r.hide())}}const Fk={beforeMount:bd,updated:bd,beforeUnmount(e){rg(e)}};function wd(e){e.addEventListener("click",og),e.addEventListener("touchstart",ig,ns?{passive:!0}:!1)}function xd(e){e.removeEventListener("click",og),e.removeEventListener("touchstart",ig),e.removeEventListener("touchend",ag),e.removeEventListener("touchcancel",lg)}function og(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function ig(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",ag),t.addEventListener("touchcancel",lg)}}function ag(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],s=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-s.screenY)<20&&Math.abs(n.screenX-s.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function lg(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const Bk={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&wd(e)},updated(e,{value:t,oldValue:n,modifiers:s}){e.$_closePopoverModifiers=s,t!==n&&(typeof t>"u"||t?wd(e):xd(e))},beforeUnmount(e){xd(e)}};function Hk(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Km(nn,t),e.directive("tooltip",Fk),e.directive("close-popper",Bk),e.component("VTooltip",Pk),e.component("VDropdown",$k),e.component("VMenu",kk))}const zk={version:"2.0.0-beta.24",install:Hk,options:nn},Uk=Ct(e=>{e.vueApp.use(zk)}),Vk=Ct(()=>{const e=st(),t=d$(),n=nt();function s(){ip(e)}function r(i){t.value=i}function o(i,a,c,l){const d=`./${a}:${c}:${l}`;Me.openInEditor(d)}window.__NUXT_DEVTOOLS_VIEW__={setClient(i){e.value!==i&&(e.value=i,i.hooks.hook("host:update:reactivity",s),i.hooks.hook("host:inspector:update",r),i.hooks.hook("host:inspector:click",o),console.log("[nuxt-devtools] Client connected",i))}},n.afterEach(()=>{const i=n.currentRoute.value.path;i.includes("__")||e.value?.hooks.callHook("devtools:navigate",i)})}),Wk=[Mb,C$,L$,I$,j$,M$,H$,z$,U$,Uk,Vk],Gk=Ne({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=qk({duration:e.duration,throttle:e.throttle}),s=Ce(),r=nt();return zo.unshift(n.start),r.onError(()=>{n.finish()}),r.beforeResolve((o,i)=>{(o===i||o.matched.every((a,c)=>a.components&&a.components?.default===i.matched[c]?.components?.default))&&n.finish()}),r.afterEach((o,i,a)=>{a&&n.finish()}),s.hook("page:finish",n.finish),s.hook("vue:error",n.finish),zs(()=>{const o=zo.indexOf(n.start);o>=0&&zo.splice(o,1),n.clear()}),()=>Ge("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 qk(e){const t=Z(0),n=Z(!1),s=me(()=>1e4/e.duration);let r=null,o=null;function i(){c(),t.value=0,e.throttle?o=setTimeout(()=>{n.value=!0,u()},e.throttle):(n.value=!0,u())}function a(){t.value=100,d()}function c(){clearInterval(r),clearTimeout(o),r=null,o=null}function l(f){t.value=Math.min(100,t.value+f)}function d(){c(),setTimeout(()=>{n.value=!1,setTimeout(()=>{t.value=0},400)},500)}function u(){r=setInterval(()=>{l(s.value)},100)}return{progress:t,isLoading:n,start:i,finish:a,clear:c}}const Kk=Ne({__name:"Notification",setup(e){const t=Z(!1),n=Z(),s=Z(),r=Z();return _E(o=>{s.value=o.message,n.value=o.icon,r.value=o.classes??"text-primary",t.value=!0,setTimeout(()=>{t.value=!1},o.duration??1500)}),(o,i)=>(ee(),be("div",{fixed:"","left-0":"","right-0":"","top-0":"","z-50":"","text-center":"",class:Je(q(t)?"":"pointer-events-none overflow-hidden")},[re("div",{border:"~ base",flex:"~ inline gap2","m-3":"","inline-block":"","items-center":"",rounded:"","px-4":"","py-1":"","transition-all":"","duration-300":"","bg-base":"",style:tn(q(t)?{}:{transform:"translateY(-300%)"}),class:Je([q(t)?"shadow":"shadow-none",q(r)])},[q(n)?(ee(),be("div",{key:0,class:Je(q(n))},null,2)):We("",!0),re("div",null,ht(q(s)),1)],6)],2))}}),Gs=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Xk={},Jk={class:"n-loading n-panel-grids-center"},Yk={class:"flex flex-col animate-pulse items-center text-lg"},Qk=re("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function Zk(e,t){return ee(),be("div",Jk,[re("div",Yk,[Qk,tt(e.$slots,"default",{},()=>[Oe(" Loading... ")])])])}const eP=Gs(Xk,[["render",Zk]]),mo=Ne({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(ee(),be("div",{class:Je(["n-icon",t.icon])},null,2))}}),qs=Ne({__name:"NButton",props:{to:{},icon:{}},setup(e){return(t,n)=>{const s=mo;return ee(),Te(Zn(t.to?q(ji):"button"),ln({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:he(()=>[tt(t.$slots,"icon",{},()=>[t.icon?(ee(),Te(s,{key:0,icon:t.icon,class:"n-button-icon"},null,8,["icon"])):We("",!0)]),tt(t.$slots,"default")]),_:3},16,["to"])}}}),tP=Ne({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const s=Z(!1);return On(()=>{s.value=!0}),r=>{if(s.value)return t.default?.();const o=t.fallback||t.placeholder;if(o)return o();const i=r.fallback||r.placeholder||"",a=r.fallbackTag||r.placeholderTag||"span";return be(a,n,i)}}}),nP={name:F$,props:{placeholder:String,tag:{type:String,default:"span"}}};function sP(e,t,n,s,r,o){const i=tP;return ee(),Te(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:he(()=>[tt(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const rP=Gs(nP,[["render",sP]]),oP=Ne({__name:"NDarkToggle",setup(e){const t=zi(),n=me({get(){return t.value==="dark"},set(){t.preference=n.value?"light":"dark"}}),s=typeof document<"u"&&document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function r(i){if(!s||!i){n.value=!n.value;return}const a=i.clientX,c=i.clientY,l=Math.hypot(Math.max(a,innerWidth-a),Math.max(c,innerHeight-c));document.startViewTransition(async()=>{n.value=!n.value,await xt()}).ready.then(()=>{const u=[`circle(0px at ${a}px ${c}px)`,`circle(${l}px at ${a}px ${c}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:r};return(i,a)=>{const c=rP;return ee(),Te(c,{tag:"span"},{default:he(()=>[tt(i.$slots,"default",Cl(Ai(o)))]),_:3})}}}),iP={},aP={class:"n-card n-card-base"};function lP(e,t){return ee(),be("div",aP,[tt(e.$slots,"default")])}const cg=Gs(iP,[["render",lP]]);/*!
|
|
14
|
+
* tabbable 6.2.0
|
|
15
|
+
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
16
|
+
*/var ug=["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])"],hi=ug.join(","),fg=typeof Element>"u",ss=fg?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,mi=!fg&&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},gi=function e(t,n){var s;n===void 0&&(n=!0);var r=t==null||(s=t.getAttribute)===null||s===void 0?void 0:s.call(t,"inert"),o=r===""||r==="true",i=o||n&&t&&e(t.parentNode);return i},cP=function(t){var n,s=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return s===""||s==="true"},dg=function(t,n,s){if(gi(t))return[];var r=Array.prototype.slice.apply(t.querySelectorAll(hi));return n&&ss.call(t,hi)&&r.unshift(t),r=r.filter(s),r},pg=function e(t,n,s){for(var r=[],o=Array.from(t);o.length;){var i=o.shift();if(!gi(i,!1))if(i.tagName==="SLOT"){var a=i.assignedElements(),c=a.length?a:i.children,l=e(c,!0,s);s.flatten?r.push.apply(r,l):r.push({scopeParent:i,candidates:l})}else{var d=ss.call(i,hi);d&&s.filter(i)&&(n||!t.includes(i))&&r.push(i);var u=i.shadowRoot||typeof s.getShadowRoot=="function"&&s.getShadowRoot(i),f=!gi(u,!1)&&(!s.shadowRootFilter||s.shadowRootFilter(i));if(u&&f){var h=e(u===!0?i.children:u.children,!0,s);s.flatten?r.push.apply(r,h):r.push({scopeParent:i,candidates:h})}else o.unshift.apply(o,i.children)}}return r},hg=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},zn=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||cP(t))&&!hg(t)?0:t.tabIndex},uP=function(t,n){var s=zn(t);return s<0&&n&&!hg(t)?0:s},fP=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},mg=function(t){return t.tagName==="INPUT"},dP=function(t){return mg(t)&&t.type==="hidden"},pP=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(s){return s.tagName==="SUMMARY"});return n},hP=function(t,n){for(var s=0;s<t.length;s++)if(t[s].checked&&t[s].form===n)return t[s]},mP=function(t){if(!t.name)return!0;var n=t.form||mi(t),s=function(a){return n.querySelectorAll('input[type="radio"][name="'+a+'"]')},r;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")r=s(window.CSS.escape(t.name));else try{r=s(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=hP(r,t.form);return!o||o===t},gP=function(t){return mg(t)&&t.type==="radio"},vP=function(t){return gP(t)&&!mP(t)},yP=function(t){var n,s=t&&mi(t),r=(n=s)===null||n===void 0?void 0:n.host,o=!1;if(s&&s!==t){var i,a,c;for(o=!!((i=r)!==null&&i!==void 0&&(a=i.ownerDocument)!==null&&a!==void 0&&a.contains(r)||t!=null&&(c=t.ownerDocument)!==null&&c!==void 0&&c.contains(t));!o&&r;){var l,d,u;s=mi(r),r=(l=s)===null||l===void 0?void 0:l.host,o=!!((d=r)!==null&&d!==void 0&&(u=d.ownerDocument)!==null&&u!==void 0&&u.contains(r))}}return o},Ed=function(t){var n=t.getBoundingClientRect(),s=n.width,r=n.height;return s===0&&r===0},_P=function(t,n){var s=n.displayCheck,r=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var o=ss.call(t,"details>summary:first-of-type"),i=o?t.parentElement:t;if(ss.call(i,"details:not([open]) *"))return!0;if(!s||s==="full"||s==="legacy-full"){if(typeof r=="function"){for(var a=t;t;){var c=t.parentElement,l=mi(t);if(c&&!c.shadowRoot&&r(c)===!0)return Ed(t);t.assignedSlot?t=t.assignedSlot:!c&&l!==t.ownerDocument?t=l.host:t=c}t=a}if(yP(t))return!t.getClientRects().length;if(s!=="legacy-full")return!0}else if(s==="non-zero-area")return Ed(t);return!1},bP=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var s=0;s<n.children.length;s++){var r=n.children.item(s);if(r.tagName==="LEGEND")return ss.call(n,"fieldset[disabled] *")?!0:!r.contains(t)}return!0}n=n.parentElement}return!1},vi=function(t,n){return!(n.disabled||gi(n)||dP(n)||_P(n,t)||pP(n)||bP(n))},yl=function(t,n){return!(vP(n)||zn(n)<0||!vi(t,n))},wP=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},xP=function e(t){var n=[],s=[];return t.forEach(function(r,o){var i=!!r.scopeParent,a=i?r.scopeParent:r,c=uP(a,i),l=i?e(r.candidates):a;c===0?i?n.push.apply(n,l):n.push(a):s.push({documentOrder:o,tabIndex:c,item:r,isScope:i,content:l})}),s.sort(fP).reduce(function(r,o){return o.isScope?r.push.apply(r,o.content):r.push(o.content),r},[]).concat(n)},EP=function(t,n){n=n||{};var s;return n.getShadowRoot?s=pg([t],n.includeContainer,{filter:yl.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:wP}):s=dg(t,n.includeContainer,yl.bind(null,n)),xP(s)},SP=function(t,n){n=n||{};var s;return n.getShadowRoot?s=pg([t],n.includeContainer,{filter:vi.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):s=dg(t,n.includeContainer,vi.bind(null,n)),s},ps=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return ss.call(t,hi)===!1?!1:yl(n,t)},TP=ug.concat("iframe").join(","),Ra=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return ss.call(t,TP)===!1?!1:vi(n,t)};/*!
|
|
17
|
+
* focus-trap 7.5.2
|
|
18
|
+
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
19
|
+
*/function Sd(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),n.push.apply(n,s)}return n}function Td(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Sd(Object(n),!0).forEach(function(s){NP(e,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sd(Object(n)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(n,s))})}return e}function NP(e,t,n){return t=kP(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $P(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var s=n.call(e,t||"default");if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function kP(e){var t=$P(e,"string");return typeof t=="symbol"?t:String(t)}var Nd={activateTrap:function(t,n){if(t.length>0){var s=t[t.length-1];s!==n&&s.pause()}var r=t.indexOf(n);r===-1||t.splice(r,1),t.push(n)},deactivateTrap:function(t,n){var s=t.indexOf(n);s!==-1&&t.splice(s,1),t.length>0&&t[t.length-1].unpause()}},PP=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},AP=function(t){return t?.key==="Escape"||t?.key==="Esc"||t?.keyCode===27},zr=function(t){return t?.key==="Tab"||t?.keyCode===9},RP=function(t){return zr(t)&&!t.shiftKey},OP=function(t){return zr(t)&&t.shiftKey},$d=function(t){return setTimeout(t,0)},kd=function(t,n){var s=-1;return t.every(function(r,o){return n(r)?(s=o,!1):!0}),s},Tr=function(t){for(var n=arguments.length,s=new Array(n>1?n-1:0),r=1;r<n;r++)s[r-1]=arguments[r];return typeof t=="function"?t.apply(void 0,s):t},Do=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},CP=[],LP=function(t,n){var s=n?.document||document,r=n?.trapStack||CP,o=Td({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:RP,isKeyBackward:OP},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a,c=function(T,$,P){return T&&T[$]!==void 0?T[$]:o[P||$]},l=function(T,$){var P=typeof $?.composedPath=="function"?$.composedPath():void 0;return i.containerGroups.findIndex(function(A){var L=A.container,I=A.tabbableNodes;return L.contains(T)||P?.includes(L)||I.find(function(D){return D===T})})},d=function(T){var $=o[T];if(typeof $=="function"){for(var P=arguments.length,A=new Array(P>1?P-1:0),L=1;L<P;L++)A[L-1]=arguments[L];$=$.apply(void 0,A)}if($===!0&&($=void 0),!$){if($===void 0||$===!1)return $;throw new Error("`".concat(T,"` was specified but was not a node, or did not return a node"))}var I=$;if(typeof $=="string"&&(I=s.querySelector($),!I))throw new Error("`".concat(T,"` as selector refers to no known node"));return I},u=function(){var T=d("initialFocus");if(T===!1)return!1;if(T===void 0||!Ra(T,o.tabbableOptions))if(l(s.activeElement)>=0)T=s.activeElement;else{var $=i.tabbableGroups[0],P=$&&$.firstTabbableNode;T=P||d("fallbackFocus")}if(!T)throw new Error("Your focus-trap needs to have at least one focusable element");return T},f=function(){if(i.containerGroups=i.containers.map(function(T){var $=EP(T,o.tabbableOptions),P=SP(T,o.tabbableOptions),A=$.length>0?$[0]:void 0,L=$.length>0?$[$.length-1]:void 0,I=P.find(function(V){return ps(V)}),D=P.slice().reverse().find(function(V){return ps(V)}),F=!!$.find(function(V){return zn(V)>0});return{container:T,tabbableNodes:$,focusableNodes:P,posTabIndexesFound:F,firstTabbableNode:A,lastTabbableNode:L,firstDomTabbableNode:I,lastDomTabbableNode:D,nextTabbableNode:function(le){var te=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,ie=$.indexOf(le);return ie<0?te?P.slice(P.indexOf(le)+1).find(function(de){return ps(de)}):P.slice(0,P.indexOf(le)).reverse().find(function(de){return ps(de)}):$[ie+(te?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(T){return T.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");if(i.containerGroups.find(function(T){return T.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function k(T){if(T!==!1&&T!==s.activeElement){if(!T||!T.focus){k(u());return}T.focus({preventScroll:!!o.preventScroll}),i.mostRecentlyFocusedNode=T,PP(T)&&T.select()}},p=function(T){var $=d("setReturnFocus",T);return $||($===!1?!1:T)},v=function(T){var $=T.target,P=T.event,A=T.isBackward,L=A===void 0?!1:A;$=$||Do(P),f();var I=null;if(i.tabbableGroups.length>0){var D=l($,P),F=D>=0?i.containerGroups[D]:void 0;if(D<0)L?I=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:I=i.tabbableGroups[0].firstTabbableNode;else if(L){var V=kd(i.tabbableGroups,function(ve){var xe=ve.firstTabbableNode;return $===xe});if(V<0&&(F.container===$||Ra($,o.tabbableOptions)&&!ps($,o.tabbableOptions)&&!F.nextTabbableNode($,!1))&&(V=D),V>=0){var le=V===0?i.tabbableGroups.length-1:V-1,te=i.tabbableGroups[le];I=zn($)>=0?te.lastTabbableNode:te.lastDomTabbableNode}else zr(P)||(I=F.nextTabbableNode($,!1))}else{var ie=kd(i.tabbableGroups,function(ve){var xe=ve.lastTabbableNode;return $===xe});if(ie<0&&(F.container===$||Ra($,o.tabbableOptions)&&!ps($,o.tabbableOptions)&&!F.nextTabbableNode($))&&(ie=D),ie>=0){var de=ie===i.tabbableGroups.length-1?0:ie+1,fe=i.tabbableGroups[de];I=zn($)>=0?fe.firstTabbableNode:fe.firstDomTabbableNode}else zr(P)||(I=F.nextTabbableNode($))}}else I=d("fallbackFocus");return I},w=function(T){var $=Do(T);if(!(l($,T)>=0)){if(Tr(o.clickOutsideDeactivates,T)){a.deactivate({returnFocus:o.returnFocusOnDeactivate});return}Tr(o.allowOutsideClick,T)||T.preventDefault()}},y=function(T){var $=Do(T),P=l($,T)>=0;if(P||$ instanceof Document)P&&(i.mostRecentlyFocusedNode=$);else{T.stopImmediatePropagation();var A,L=!0;if(i.mostRecentlyFocusedNode)if(zn(i.mostRecentlyFocusedNode)>0){var I=l(i.mostRecentlyFocusedNode),D=i.containerGroups[I].tabbableNodes;if(D.length>0){var F=D.findIndex(function(V){return V===i.mostRecentlyFocusedNode});F>=0&&(o.isKeyForward(i.recentNavEvent)?F+1<D.length&&(A=D[F+1],L=!1):F-1>=0&&(A=D[F-1],L=!1))}}else i.containerGroups.some(function(V){return V.tabbableNodes.some(function(le){return zn(le)>0})})||(L=!1);else L=!1;L&&(A=v({target:i.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(i.recentNavEvent)})),h(A||i.mostRecentlyFocusedNode||u())}i.recentNavEvent=void 0},g=function(T){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=T;var P=v({event:T,isBackward:$});P&&(zr(T)&&T.preventDefault(),h(P))},_=function(T){if(AP(T)&&Tr(o.escapeDeactivates,T)!==!1){T.preventDefault(),a.deactivate();return}(o.isKeyForward(T)||o.isKeyBackward(T))&&g(T,o.isKeyBackward(T))},b=function(T){var $=Do(T);l($,T)>=0||Tr(o.clickOutsideDeactivates,T)||Tr(o.allowOutsideClick,T)||(T.preventDefault(),T.stopImmediatePropagation())},S=function(){if(i.active)return Nd.activateTrap(r,a),i.delayInitialFocusTimer=o.delayInitialFocus?$d(function(){h(u())}):h(u()),s.addEventListener("focusin",y,!0),s.addEventListener("mousedown",w,{capture:!0,passive:!1}),s.addEventListener("touchstart",w,{capture:!0,passive:!1}),s.addEventListener("click",b,{capture:!0,passive:!1}),s.addEventListener("keydown",_,{capture:!0,passive:!1}),a},m=function(){if(i.active)return s.removeEventListener("focusin",y,!0),s.removeEventListener("mousedown",w,!0),s.removeEventListener("touchstart",w,!0),s.removeEventListener("click",b,!0),s.removeEventListener("keydown",_,!0),a},N=function(T){var $=T.some(function(P){var A=Array.from(P.removedNodes);return A.some(function(L){return L===i.mostRecentlyFocusedNode})});$&&h(u())},x=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(N):void 0,E=function(){x&&(x.disconnect(),i.active&&!i.paused&&i.containers.map(function(T){x.observe(T,{subtree:!0,childList:!0})}))};return a={get active(){return i.active},get paused(){return i.paused},activate:function(T){if(i.active)return this;var $=c(T,"onActivate"),P=c(T,"onPostActivate"),A=c(T,"checkCanFocusTrap");A||f(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=s.activeElement,$?.();var L=function(){A&&f(),S(),E(),P?.()};return A?(A(i.containers.concat()).then(L,L),this):(L(),this)},deactivate:function(T){if(!i.active)return this;var $=Td({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},T);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,m(),i.active=!1,i.paused=!1,E(),Nd.deactivateTrap(r,a);var P=c($,"onDeactivate"),A=c($,"onPostDeactivate"),L=c($,"checkCanReturnFocus"),I=c($,"returnFocus","returnFocusOnDeactivate");P?.();var D=function(){$d(function(){I&&h(p(i.nodeFocusedBeforeActivation)),A?.()})};return I&&L?(L(p(i.nodeFocusedBeforeActivation)).then(D,D),this):(D(),this)},pause:function(T){if(i.paused||!i.active)return this;var $=c(T,"onPause"),P=c(T,"onPostPause");return i.paused=!0,$?.(),m(),E(),P?.(),this},unpause:function(T){if(!i.paused||!i.active)return this;var $=c(T,"onUnpause"),P=c(T,"onPostUnpause");return i.paused=!1,$?.(),f(),S(),E(),P?.(),this},updateContainerElements:function(T){var $=[].concat(T).filter(Boolean);return i.containers=$.map(function(P){return typeof P=="string"?s.querySelector(P):P}),i.active&&f(),E(),this}},a.updateContainerElements(t),a},IP=Object.defineProperty,jP=Object.defineProperties,MP=Object.getOwnPropertyDescriptors,yi=Object.getOwnPropertySymbols,gg=Object.prototype.hasOwnProperty,vg=Object.prototype.propertyIsEnumerable,Pd=(e,t,n)=>t in e?IP(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,DP=(e,t)=>{for(var n in t||(t={}))gg.call(t,n)&&Pd(e,n,t[n]);if(yi)for(var n of yi(t))vg.call(t,n)&&Pd(e,n,t[n]);return e},FP=(e,t)=>jP(e,MP(t)),BP=(e,t)=>{var n={};for(var s in e)gg.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&yi)for(var s of yi(e))t.indexOf(s)<0&&vg.call(e,s)&&(n[s]=e[s]);return n};function HP(e,t={}){let n;const s=t,{immediate:r}=s,o=BP(s,["immediate"]),i=Z(!1),a=Z(!1),c=f=>n&&n.activate(f),l=f=>n&&n.deactivate(f),d=()=>{n&&(n.pause(),a.value=!0)},u=()=>{n&&(n.unpause(),a.value=!1)};return Be(()=>mt(e),f=>{f&&(n=LP(f,FP(DP({},o),{onActivate(){i.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){i.value=!1,t.onDeactivate&&t.onDeactivate()}})),r&&c())},{flush:"post"}),cn(()=>l()),{hasFocus:i,isPaused:a,activate:c,deactivate:l,pause:d,unpause:u}}const zP={inheritAttrs:!1},Yi=Ne({...zP,__name:"NDialog",props:{modelValue:{type:Boolean,default:!1},dim:{type:Boolean,default:!0}},emits:["close","update:modelValue"],setup(e,{emit:t}){const s=em(e,"modelValue",t,{passive:!0}),r=Z(null),o=Z(!1),{activate:i,deactivate:a}=HP(me(()=>r.value||document.body),{immediate:!1});Qn(()=>{!o.value&&s.value&&(o.value=!0),s.value&&r.value?xt(i):a()});function c(){s.value=!1,t("close")}return(l,d)=>{const u=cg;return o.value?(ee(),Te(Mp,{key:0,to:"body"},[Xl(re("div",{class:Je(["n-dialog fixed inset-0 z-100 flex items-center justify-center n-transition",[q(s)?"":"op0 pointer-events-none visibility-none"]])},[re("div",{class:Je(["absolute inset-0 -z-1",[l.dim?"bg-black/50":""]]),onClick:d[0]||(d[0]=f=>c())},null,2),oe(u,ln(l.$attrs,{ref_key:"card",ref:r,class:"max-h-screen of-auto"}),{default:he(()=>[tt(l.$slots,"default")]),_:3},16)],2),[[Zp,q(s)]])])):We("",!0)}}});function UP(){return mc("virtual-files:current","")}function w2(){return mc("terminals:current","")}function x2(){return mc("server-routes:current","")}function E2(){const e=y$(),t=b$(),n=nt(),s=UP();return async r=>{const o=e.value?.buildDir,i=o&&r.startsWith(o)?`#build${r.slice(o.length)}`:r,[a,c=1,l=0]=i.split(/:/g),d=t.value?.entries.find(u=>u.path===a||u.id===a)||t.value?.entries.find(u=>u.path===r||u.id===r);d?(s.value=d.id,n.push("/modules/virtual-files")):await Me.openInEditor(r)}}function VP(){const e=vx();return t=>{e.copy(t),ll({message:"Copied to clipboard",icon:"carbon-checkmark"})}}const WP=re("div",{"carbon-launch":""},null,-1),GP=re("div",{"carbon-launch":""},null,-1),qP=re("span",{"mt-0.5":"","text-xs":"",op50:""},"(not supported)",-1),KP=re("h1",{"text-3xl":""}," Popup is not Supported ",-1),XP=re("p",null,[Oe(" To popup the DevTools, it requires the "),re("a",{href:"https://developer.chrome.com/docs/web-platform/document-picture-in-picture/",target:"_blank"},"Document Picture-in-Picture API"),Oe(" which is currently in experimental state. ")],-1),JP=re("p",null,[Oe(" As June 2023, the API is only available in Chrome 111 and above, under a flag "),re("code",null,"#document-picture-in-picture-api"),Oe(". ")],-1),YP=Ne({__name:"PictureInPictureButton",setup(e){const t=st(),n=window.__NUXT_DEVTOOLS_IS_POPUP__,s=Z(!1),r=VP();return(o,i)=>{const a=qs,c=Yi;return q(n)?We("",!0):(ee(),be(Le,{key:0},[q(t)?.popup?(ee(),Te(a,{key:0,n:"sm primary",onClick:i[0]||(i[0]=l=>q(t).popup())},{default:he(()=>[WP,Oe(" Popup ")]),_:1})):(ee(),be(Le,{key:1},[oe(a,{n:"sm primary",onClick:i[1]||(i[1]=l=>s.value=!0)},{default:he(()=>[GP,Oe(" Popup "),qP]),_:1}),oe(c,{modelValue:q(s),"onUpdate:modelValue":i[4]||(i[4]=l=>Fe(s)?s.value=l:null),class:"max-w-150 p6 pt-2 prose",onClose:i[5]||(i[5]=l=>s.value=!1)},{default:he(()=>[KP,XP,JP,re("p",null,[Oe(" 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 "),oe(a,{n:"xs primary",title:"Click to Copy",onClick:i[2]||(i[2]=l=>q(r)("chrome://flags/#document-picture-in-picture-api"))},{default:he(()=>[Oe(" chrome://flags/#document-picture-in-picture-api ")]),_:1}),Oe(" and restart the browser. ")]),re("div",null,[oe(a,{onClick:i[3]||(i[3]=l=>s.value=!1)},{default:he(()=>[Oe(" Close ")]),_:1})])]),_:1},8,["modelValue"])],64))],64))}}}),QP={px3:"",py2:"",border:"b base",flex:"~ gap-2"},ZP=re("div",{"carbon-sun":"","dark:carbon-moon":"","translate-y--1px":""},null,-1),eA=re("div",{"i-carbon-settings-adjust":""},null,-1),tA={px3:"",py2:"",border:"b base",flex:"~ gap-2"},nA=re("div",{"i-carbon-split-screen":""},null,-1),sA={px3:"",py2:"",flex:"~ gap2"},rA=Ne({__name:"DockingPanel",setup(e){const t=st(),n=Ce();function s(){n.hooks.callHookParallel("app:data:refresh",Object.keys(n.payload.data)),ip(t)}function r(){location.reload()}function o(){xn.value=!xn.value}return(i,a)=>{const c=qs,l=oP,d=YP;return ee(),be("div",null,[re("div",QP,[oe(l,null,{default:he(({toggle:u,isDark:f})=>[oe(c,{n:"sm primary",onClick:u},{default:he(()=>[ZP,Oe(" "+ht(f.value?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),oe(c,{n:"sm primary",to:"/settings"},{default:he(()=>[eA,Oe(" Settings ")]),_:1})]),re("div",tA,[("splitScreenAvailable"in i?i.splitScreenAvailable:q(dl))?(ee(),Te(c,{key:0,n:"sm primary",onClick:o},{default:he(()=>[nA,Oe(" "+ht(("splitScreenEnabled"in i?i.splitScreenEnabled:q(xn))?"Close Split Screen":"Split Screen"),1)]),_:1})):We("",!0),oe(d)]),re("div",sA,[oe(c,{n:"primary sm",onClick:s},{default:he(()=>[Oe(" Refetch Data ")]),_:1}),oe(c,{n:"primary sm",onClick:r},{default:he(()=>[Oe(" Refresh Page ")]),_:1})])])}}}),oA=["src","alt"],iA=["title"],Qi=Ne({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0}},setup(e){return(t,n)=>t.icon&&(t.icon.startsWith("/")||t.icon.match(/^https?:/))?(ee(),be("img",ln({key:0,style:{width:"1em",height:"1em"}},t.$attrs,{src:t.icon,alt:t.title}),null,16,oA)):(ee(),be("div",ln({key:1,style:{width:"1em",height:"1em"}},t.$attrs,{class:t.icon||"carbon-bring-forward",title:t.showTitle?t.title:void 0}),null,16,iA))}}),aA={"translate-y-0.5px":""},lA={key:0,hidden:"","lg:block":""},yg=Ne({__name:"SideNavItem",props:{tab:{},target:{default:"main"}},setup(e){const t=e,n=fo(),s=me(()=>"badge"in t.tab&&t.tab.badge?.()),r=me(()=>"path"in t.tab?t.tab.path:`/modules/custom-${t.tab.name}`),o=me(()=>n.path.startsWith(r.value));function i(){"onClick"in t.tab&&t.tab.onClick?t.tab.onClick():t.target==="side"&&(Mm.value=t.tab.name)}return(a,c)=>{const l=Qi,d=on("VTooltip");return ee(),Te(d,{placement:"right"},{popper:he(()=>[re("div",null,ht(a.tab.title),1),"extraTabVNode"in a.tab&&a.tab.extraTabVNode?(ee(),be("div",lA,[(ee(),Te(Zn(a.tab.extraTabVNode)))])):We("",!0)]),default:he(()=>[(ee(),Te(Zn(a.target==="main"?q(ji):"button"),{to:q(r),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:i},{default:he(()=>[oe(l,{"text-xl":"",icon:a.tab.icon,title:a.tab.title,"show-title":!1},null,8,["icon","title"]),q(s)?(ee(),be("div",{key:0,absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:Je(q(o)?"bg-primary":"bg-gray")},[re("span",aA,ht(("toValue"in a?a.toValue:q(Ul))(q(s))),1)],2)):We("",!0)]),_:1},8,["to"]))]),_:1})}}});function cA(){const e=_$(),t=Wi(),n=nt(),s=me(()=>[...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-"))]),r=me(()=>(e.value||[]).filter(o=>!o.name.startsWith("builtin-")));return me(()=>[...s.value,...r.value])}function _g(){return{pinned:[],app:[],analyze:[],server:[],modules:[],documentation:[],advanced:[]}}function _l(e){const{pinnedTabs:t}=Wi();return me(()=>{const n=_g();for(const s of q(e)){let r=s.category||"app";t.value.includes(s.name)&&(r="pinned"),n[r]?n[r].push(s):console.warn(`Unknown tab category: ${r}`)}for(const s of Object.keys(n))n[s].length===0&&delete n[s];return n.pinned?.length&&n.pinned.sort((s,r)=>t.value.indexOf(s.name)-t.value.indexOf(r.name)),Object.entries(n)})}function $c(){const e=cA(),t=Wi(),n=Object.keys(_g()),s=e.value.map(r=>r?.show?.());return me(()=>e.value.filter((r,o)=>{const i=r;return!(s[o]&&!Ul(s[o])||t.hiddenTabs.value.includes(i.name)||t.hiddenTabCategories.value.includes(r.category||"app"))}).sort((r,o)=>n.indexOf(r.category||"app")-n.indexOf(o.category||"app")))}function S2(){const e=Cm(),t=jm();return me(()=>(e.value?.getRoutes()||[]).map(n=>Im(n,["path","name","meta","props","children"])).map(n=>({...t.value?.find(s=>s.name&&s.name===n.name),...n})))}const uA={flex:"~ col gap-1","max-w-80":"",py1:""},fA={key:0,"h-1px":"",border:"b base"},dA={flex:"~ wrap",px1:""},bg=Ne({__name:"TabsGrid",props:{categories:{},target:{}},setup(e){return(t,n)=>{const s=yg;return ee(),be("div",uA,[(ee(!0),be(Le,null,Yr(t.categories,([r,o],i)=>(ee(),be(Le,{key:r},[o.length?(ee(),be(Le,{key:0},[i?(ee(),be("div",fA)):We("",!0),re("div",dA,[(ee(!0),be(Le,null,Yr(o,a=>(ee(),Te(s,{key:a.name,target:t.target,tab:a},null,8,["target","tab"]))),128))])],64)):We("",!0)],64))),128))])}}}),pA={id:"nuxt-devtools-side-nav",border:"r base",flex:"~ col","z-100":"","h-full":"","items-center":"","of-hidden":"","bg-base":""},hA={flex:"~ none col items-center"},mA=["title"],gA=re("div",{"i-logos-nuxt-icon":"","h-6":"","w-6":""},null,-1),vA=[gA],yA=re("div",{"h-1px":"","w-8":"",border:"b base"},null,-1),_A={flex:"~ auto col gap-0.5 items-center","of-hidden":"",py1:""},bA={key:0,my1:"","h-1px":"","w-8":"",border:"b base"},wA=re("div",{"flex-auto":""},null,-1),xA={flex:"~ none col items-center gap-1",pb1:""},EA={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},SA={"translate-y-0.5px":""},TA=45,NA=Ne({__name:"SideNav",setup(e){const t=st(),n=$c(),s=Z(!1),r=Z(!1),o=Z(),i=Z(),a=Z();function c(){s.value=!s.value}function l(){r.value=!r.value}const{height:d}=tm(),u=me(()=>{const w=d.value-130;return Math.max(0,Math.floor(w/TA))}),f=me(()=>n.value.slice(0,u.value)),h=me(()=>n.value.slice(u.value)),p=_l(f),v=_l(h);return Xh(o,w=>{i.value&&w.composedPath().includes(i.value)||a.value&&w.composedPath().includes(a.value)||(s.value=!1,r.value=!1)},{detectIframe:!0}),(w,y)=>{const g=rA,_=on("VDropdown"),b=yg,S=Qi,m=ji;return ee(),be("div",pA,[re("div",hA,[oe(_,{placement:"left-start",distance:12,skidding:5,triggers:[],shown:q(s),"auto-hide":!0},{popper:he(()=>[oe(g,{ref_key:"panel",ref:o},null,512)]),default:he(()=>[re("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:Je(q(t)?"":"saturate-0"),title:q(t)?"Nuxt DevTools":"DevTools Client not connected, try open it in iframe mode",onClick:c},vA,10,mA)]),_:1},8,["shown"]),yA]),re("div",_A,[(ee(!0),be(Le,null,Yr(q(p),([N,x],E)=>(ee(),be(Le,{key:N},[x.length?(ee(),be(Le,{key:0},[E?(ee(),be("div",bA)):We("",!0),(ee(!0),be(Le,null,Yr(x,k=>(ee(),Te(b,{key:k.name,tab:k},null,8,["tab"]))),128))],64)):We("",!0)],64))),128)),wA]),re("div",xA,[q(h).length?(ee(),Te(_,{key:0,placement:"left-end",distance:12,triggers:[],shown:q(r),"auto-hide":!0},{popper:he(()=>[oe(bg,{categories:q(v),"max-w-80":"",target:"main"},null,8,["categories"])]),default:he(()=>[re("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:l},[oe(S,{"text-xl":"",icon:"carbon:overflow-menu-vertical",title:"More tabs","show-title":!1}),re("div",EA,[re("span",SA,ht(q(h).length),1)])],512)]),_:1},8,["shown"])):We("",!0),oe(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:he(()=>[oe(S,{"text-xl":"",icon:"i-carbon-settings-adjust",title:"Settings","show-title":!1})]),_:1})])])}}}),$A=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),bl=(e,t)=>{const n=e.route.matched.find(r=>r.components?.default===e.Component.type),s=t??n?.meta.key??(n&&$A(e.route,n));return typeof s=="function"?s(e.route):s},kA=(e,t)=>({default:()=>e?Ge(Yv,e===!0?{}:e,t):t}),PA=Ne({name:"RouteProvider",props:{vnode:{type:Object,required:!0},route:{type:Object,required:!0},vnodeRef:Object,renderKey:String,trackRootNodes:Boolean},setup(e){const t=e.renderKey,n=e.route,s={};for(const r in e.route)Object.defineProperty(s,r,{get:()=>t===e.renderKey?e.route[r]:n[r]});return Xn(uo,Bs(s)),()=>Ge(e.vnode,{ref:e.vnodeRef})}}),wg=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?Ge(e,t,n):n.default?.()}),AA=Ne({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 s=Ce(),r=Z(),o=ot(uo,null);n({pageRef:r});const i=ot(Sh,null);let a;return()=>Ge(Mh,{name:e.name,route:e.route,...t},{default:c=>{const l=CA(o,c.route,c.Component),d=o&&o.matched.length===c.route.matched.length;if(!c.Component)return a&&!d?a:void 0;if(a&&i&&!i.isCurrent(c.route))return a;if(l&&o&&(!i||i?.isCurrent(o)))return d?a:null;const u=bl(c,e.pageKey),f=s.deferHydration(),h=!!(e.transition??c.route.meta.pageTransition??Qa),p=h&&OA([e.transition,c.route.meta.pageTransition,Qa,{onAfterLeave:()=>{s.callHook("page:transition:finish",c.Component)}}].filter(Boolean));return a=wg(Oi,h&&p,kA(e.keepalive??c.route.meta.keepalive??xb,Ge(Gl,{suspensible:!0,onPending:()=>s.callHook("page:start",c.Component),onResolve:()=>{xt(()=>s.callHook("page:finish",c.Component).finally(f))}},{default:()=>Ge(PA,{key:u,vnode:c.Component,route:c.route,renderKey:u,trackRootNodes:h,vnodeRef:r})}))).default(),a}})}});function RA(e){return Array.isArray(e)?e:e?[e]:[]}function OA(e){const t=e.map(n=>({...n,onAfterLeave:RA(n.onAfterLeave)}));return Ab(...t)}function CA(e,t,n){if(!e)return!1;const s=t.matched.findIndex(r=>r.components?.default===n?.type);return!s||s===-1?!1:t.matched.slice(0,s).some((r,o)=>r.components?.default!==e.matched[o]?.components?.default)||n&&bl({route:t,Component:n})!==bl({route:e,Component:n})}const LA=Ne({__name:"NIconButton",props:{to:{},icon:{},disabled:{type:Boolean}},setup(e){const t=e;return(n,s)=>{const r=mo;return ee(),Te(Zn(n.to?q(ji):"button"),ln({to:n.to},n.$attrs,{class:["n-transition n-icon-button",{"n-disabled op10!":t.disabled}]}),{default:he(()=>[oe(r,{icon:t.icon},null,8,["icon"])]),_:1},16,["to","class"])}}}),IA={},jA={class:"n-panel-grids-center"};function MA(e,t){return ee(),be("div",jA,[tt(e.$slots,"default")])}const DA=Gs(IA,[["render",MA]]),FA={"h-full":"","h-screen":"","of-hidden":""},BA={border:"b base",flex:"~ gap1","z-99":"",px4:"",py3:"","navbar-glass":""},HA=re("div",{"i-carbon-chevron-down":"","text-sm":"",op50:""},null,-1),zA=re("div",{"flex-auto":""},null,-1),UA={key:0,"of-auto":"",style:{height:"calc(100% - 50px)"}},VA=re("span",{"text-lg":"",op50:""}," Select a tab to start ",-1),WA=Ne({__name:"SplitScreen",setup(e){const t=$c(),n=rn(),s=fo(),r=nt(),o=me(()=>t.value.filter(f=>f.name!==s.name&&f.name!==s.params?.name)),i=_l(o),a=me(()=>o.value.find(f=>f.name===Mm.value));Be(()=>a.value,f=>{if(!f)return;const h=r.getRoutes(),p=f&&"path"in f?h.find(w=>w.path===f.path):h.find(w=>w.name==="modules-custom-name");if(p?.path===s.path||s.params?.name===f.name){n.value=void 0;return}const v=p?.components?.default;typeof v=="function"?n.value=xs(v):n.value=v},{immediate:!0});function c(){xn.value=!1}const l=Z(),d=Z(),u=Z(!1);return Xh(l,f=>{d.value&&f.composedPath().includes(d.value)||(u.value=!1)},{detectIframe:!0}),(f,h)=>{const p=Qi,v=bg,w=on("VDropdown"),y=LA,g=cg,_=qs,b=DA;return ee(),be("div",FA,[re("div",BA,[oe(w,{placement:"bottom-start",distance:12,skidding:5,triggers:[],shown:q(u),"auto-hide":!0},{popper:he(()=>[oe(v,{ref_key:"gridPanel",ref:l,categories:q(i),target:"side"},null,8,["categories"])]),default:he(()=>[re("div",{ref_key:"gridPanelButton",ref:d,flex:"~ gap-2 items-center","cursor-pointer":"","select-none":"",onClick:h[0]||(h[0]=S=>u.value=!q(u))},[HA,q(a)?(ee(),be(Le,{key:0},[oe(p,{"text-xl":"",icon:q(a).icon,title:q(a).title,"show-title":!1},null,8,["icon","title"]),re("span",null,ht(q(a).title),1)],64)):(ee(),be(Le,{key:1},[Oe(" Select a tab ")],64))],512)]),_:1},8,["shown"]),zA,oe(y,{icon:"i-carbon:side-panel-open",title:"Close split screen",onClick:c})]),q(n)&&q(a)?(ee(),be("div",UA,["view"in q(a)?(ee(),Te(Zn(q(n)),{key:q(a).name,name:q(a).name},null,8,["name"])):(ee(),Te(Zn(q(n)),{key:`tab-${q(a).name}`}))])):(ee(),Te(b,{key:1},{default:he(()=>[VA,oe(g,{px4:"",py2:""},{default:he(()=>[oe(v,{categories:q(i),target:"side"},null,8,["categories"])]),_:1}),oe(_,{n:"sm orange",mt2:"",onClick:c},{default:he(()=>[Oe(" Close Split Screen ")]),_:1})]),_:1}))])}}}),GA={name:"splitpanes",emits:["ready","resize","resized","pane-click","pane-maximize","pane-add","pane-remove","splitter-click"],props:{horizontal:{type:Boolean},pushOtherPanes:{type:Boolean,default:!0},dblClickSplitter:{type:Boolean,default:!0},rtl:{type:Boolean,default:!1},firstSplitter:{type:Boolean}},provide(){return{requestUpdate:this.requestUpdate,onPaneAdd:this.onPaneAdd,onPaneRemove:this.onPaneRemove,onPaneClick:this.onPaneClick}},data:()=>({container:null,ready:!1,panes:[],touch:{mouseDown:!1,dragging:!1,activeSplitter:null},splitterTaps:{splitter:null,timeoutId:null}}),computed:{panesCount(){return this.panes.length},indexedPanes(){return this.panes.reduce((e,t)=>(e[t.id]=t)&&e,{})}},methods:{updatePaneComponents(){this.panes.forEach(e=>{e.update&&e.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[e.id].size}%`})})},bindEvents(){document.addEventListener("mousemove",this.onMouseMove,{passive:!1}),document.addEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.addEventListener("touchmove",this.onMouseMove,{passive:!1}),document.addEventListener("touchend",this.onMouseUp))},unbindEvents(){document.removeEventListener("mousemove",this.onMouseMove,{passive:!1}),document.removeEventListener("mouseup",this.onMouseUp),"ontouchstart"in window&&(document.removeEventListener("touchmove",this.onMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onMouseUp))},onMouseDown(e,t){this.bindEvents(),this.touch.mouseDown=!0,this.touch.activeSplitter=t},onMouseMove(e){this.touch.mouseDown&&(e.preventDefault(),this.touch.dragging=!0,this.calculatePanesSize(this.getCurrentMouseDrag(e)),this.$emit("resize",this.panes.map(t=>({min:t.min,max:t.max,size:t.size}))))},onMouseUp(){this.touch.dragging&&this.$emit("resized",this.panes.map(e=>({min:e.min,max:e.max,size:e.size}))),this.touch.mouseDown=!1,setTimeout(()=>{this.touch.dragging=!1,this.unbindEvents()},100)},onSplitterClick(e,t){"ontouchstart"in window&&(e.preventDefault(),this.dblClickSplitter&&(this.splitterTaps.splitter===t?(clearTimeout(this.splitterTaps.timeoutId),this.splitterTaps.timeoutId=null,this.onSplitterDblClick(e,t),this.splitterTaps.splitter=null):(this.splitterTaps.splitter=t,this.splitterTaps.timeoutId=setTimeout(()=>{this.splitterTaps.splitter=null},500)))),this.touch.dragging||this.$emit("splitter-click",this.panes[t])},onSplitterDblClick(e,t){let n=0;this.panes=this.panes.map((s,r)=>(s.size=r===t?s.max:s.min,r!==t&&(n+=s.min),s)),this.panes[t].size-=n,this.$emit("pane-maximize",this.panes[t]),this.$emit("resized",this.panes.map(s=>({min:s.min,max:s.max,size:s.size})))},onPaneClick(e,t){this.$emit("pane-click",this.indexedPanes[t])},getCurrentMouseDrag(e){const t=this.container.getBoundingClientRect(),{clientX:n,clientY:s}="ontouchstart"in window&&e.touches?e.touches[0]:e;return{x:n-t.left,y:s-t.top}},getCurrentDragPercentage(e){e=e[this.horizontal?"y":"x"];const t=this.container[this.horizontal?"clientHeight":"clientWidth"];return this.rtl&&!this.horizontal&&(e=t-e),e*100/t},calculatePanesSize(e){const t=this.touch.activeSplitter;let n={prevPanesSize:this.sumPrevPanesSize(t),nextPanesSize:this.sumNextPanesSize(t),prevReachedMinPanes:0,nextReachedMinPanes:0};const s=0+(this.pushOtherPanes?0:n.prevPanesSize),r=100-(this.pushOtherPanes?0:n.nextPanesSize),o=Math.max(Math.min(this.getCurrentDragPercentage(e),r),s);let i=[t,t+1],a=this.panes[i[0]]||null,c=this.panes[i[1]]||null;const l=a.max<100&&o>=a.max+n.prevPanesSize,d=c.max<100&&o<=100-(c.max+this.sumNextPanesSize(t+1));if(l||d){l?(a.size=a.max,c.size=Math.max(100-a.max-n.prevPanesSize-n.nextPanesSize,0)):(a.size=Math.max(100-c.max-n.prevPanesSize-this.sumNextPanesSize(t+1),0),c.size=c.max);return}if(this.pushOtherPanes){const u=this.doPushOtherPanes(n,o);if(!u)return;({sums:n,panesToResize:i}=u),a=this.panes[i[0]]||null,c=this.panes[i[1]]||null}a!==null&&(a.size=Math.min(Math.max(o-n.prevPanesSize-n.prevReachedMinPanes,a.min),a.max)),c!==null&&(c.size=Math.min(Math.max(100-o-n.nextPanesSize-n.nextReachedMinPanes,c.min),c.max))},doPushOtherPanes(e,t){const n=this.touch.activeSplitter,s=[n,n+1];return t<e.prevPanesSize+this.panes[s[0]].min&&(s[0]=this.findPrevExpandedPane(n).index,e.prevReachedMinPanes=0,s[0]<n&&this.panes.forEach((r,o)=>{o>s[0]&&o<=n&&(r.size=r.min,e.prevReachedMinPanes+=r.min)}),e.prevPanesSize=this.sumPrevPanesSize(s[0]),s[0]===void 0)?(e.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((r,o)=>{o>0&&o<=n&&(r.size=r.min,e.prevReachedMinPanes+=r.min)}),this.panes[s[1]].size=100-e.prevReachedMinPanes-this.panes[0].min-e.prevPanesSize-e.nextPanesSize,null):t>100-e.nextPanesSize-this.panes[s[1]].min&&(s[1]=this.findNextExpandedPane(n).index,e.nextReachedMinPanes=0,s[1]>n+1&&this.panes.forEach((r,o)=>{o>n&&o<s[1]&&(r.size=r.min,e.nextReachedMinPanes+=r.min)}),e.nextPanesSize=this.sumNextPanesSize(s[1]-1),s[1]===void 0)?(e.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((r,o)=>{o<this.panesCount-1&&o>=n+1&&(r.size=r.min,e.nextReachedMinPanes+=r.min)}),this.panes[s[0]].size=100-e.prevPanesSize-e.nextReachedMinPanes-this.panes[this.panesCount-1].min-e.nextPanesSize,null):{sums:e,panesToResize:s}},sumPrevPanesSize(e){return this.panes.reduce((t,n,s)=>t+(s<e?n.size:0),0)},sumNextPanesSize(e){return this.panes.reduce((t,n,s)=>t+(s>e+1?n.size:0),0)},findPrevExpandedPane(e){return[...this.panes].reverse().find(t=>t.index<e&&t.size>t.min)||{}},findNextExpandedPane(e){return this.panes.find(t=>t.index>e+1&&t.size>t.min)||{}},checkSplitpanesNodes(){Array.from(this.container.children).forEach(e=>{const t=e.classList.contains("splitpanes__pane"),n=e.classList.contains("splitpanes__splitter");!t&&!n&&(e.parentNode.removeChild(e),console.warn("Splitpanes: Only <pane> elements are allowed at the root of <splitpanes>. One of your DOM nodes was removed."))})},addSplitter(e,t,n=!1){const s=e-1,r=document.createElement("div");r.classList.add("splitpanes__splitter"),n||(r.onmousedown=o=>this.onMouseDown(o,s),typeof window<"u"&&"ontouchstart"in window&&(r.ontouchstart=o=>this.onMouseDown(o,s)),r.onclick=o=>this.onSplitterClick(o,s+1)),this.dblClickSplitter&&(r.ondblclick=o=>this.onSplitterDblClick(o,s+1)),t.parentNode.insertBefore(r,t)},removeSplitter(e){e.onmousedown=void 0,e.onclick=void 0,e.ondblclick=void 0,e.parentNode.removeChild(e)},redoSplitters(){const e=Array.from(this.container.children);e.forEach(n=>{n.className.includes("splitpanes__splitter")&&this.removeSplitter(n)});let t=0;e.forEach(n=>{n.className.includes("splitpanes__pane")&&(!t&&this.firstSplitter?this.addSplitter(t,n,!0):t&&this.addSplitter(t,n),t++)})},requestUpdate({target:e,...t}){const n=this.indexedPanes[e._.uid];Object.entries(t).forEach(([s,r])=>n[s]=r)},onPaneAdd(e){let t=-1;Array.from(e.$el.parentNode.children).some(r=>(r.className.includes("splitpanes__pane")&&t++,r===e.$el));const n=parseFloat(e.minSize),s=parseFloat(e.maxSize);this.panes.splice(t,0,{id:e._.uid,index:t,min:isNaN(n)?0:n,max:isNaN(s)?100:s,size:e.size===null?null:parseFloat(e.size),givenSize:e.size,update:e.update}),this.panes.forEach((r,o)=>r.index=o),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[t]}),this.$emit("pane-add",{index:t,panes:this.panes.map(r=>({min:r.min,max:r.max,size:r.size}))})})},onPaneRemove(e){const t=this.panes.findIndex(s=>s.id===e._.uid),n=this.panes.splice(t,1)[0];this.panes.forEach((s,r)=>s.index=r),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...n,index:t}}),this.$emit("pane-remove",{removed:n,panes:this.panes.map(s=>({min:s.min,max:s.max,size:s.size}))})})},resetPaneSizes(e={}){!e.addedPane&&!e.removedPane?this.initialPanesSizing():this.panes.some(t=>t.givenSize!==null||t.min||t.max<100)?this.equalizeAfterAddOrRemove(e):this.equalize(),this.ready&&this.$emit("resized",this.panes.map(t=>({min:t.min,max:t.max,size:t.size})))},equalize(){const e=100/this.panesCount;let t=0;const n=[],s=[];this.panes.forEach(r=>{r.size=Math.max(Math.min(e,r.max),r.min),t-=r.size,r.size>=r.max&&n.push(r.id),r.size<=r.min&&s.push(r.id)}),t>.1&&this.readjustSizes(t,n,s)},initialPanesSizing(){let e=100;const t=[],n=[];let s=0;this.panes.forEach(o=>{e-=o.size,o.size!==null&&s++,o.size>=o.max&&t.push(o.id),o.size<=o.min&&n.push(o.id)});let r=100;e>.1&&(this.panes.forEach(o=>{o.size===null&&(o.size=Math.max(Math.min(e/(this.panesCount-s),o.max),o.min)),r-=o.size}),r>.1&&this.readjustSizes(e,t,n))},equalizeAfterAddOrRemove({addedPane:e,removedPane:t}={}){let n=100/this.panesCount,s=0;const r=[],o=[];e&&e.givenSize!==null&&(n=(100-e.givenSize)/(this.panesCount-1)),this.panes.forEach(i=>{s-=i.size,i.size>=i.max&&r.push(i.id),i.size<=i.min&&o.push(i.id)}),!(Math.abs(s)<.1)&&(this.panes.forEach(i=>{e&&e.givenSize!==null&&e.id===i.id||(i.size=Math.max(Math.min(n,i.max),i.min)),s-=i.size,i.size>=i.max&&r.push(i.id),i.size<=i.min&&o.push(i.id)}),s>.1&&this.readjustSizes(s,r,o))},readjustSizes(e,t,n){let s;e>0?s=e/(this.panesCount-t.length):s=e/(this.panesCount-n.length),this.panes.forEach((r,o)=>{if(e>0&&!t.includes(r.id)){const i=Math.max(Math.min(r.size+s,r.max),r.min),a=i-r.size;e-=a,r.size=i}else if(!n.includes(r.id)){const i=Math.max(Math.min(r.size+s,r.max),r.min),a=i-r.size;e-=a,r.size=i}r.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[r.id].size}%`})}),Math.abs(e)>.1&&this.$nextTick(()=>{this.ready&&console.warn("Splitpanes: Could not resize panes correctly due to their constraints.")})}},watch:{panes:{deep:!0,immediate:!1,handler(){this.updatePaneComponents()}},horizontal(){this.updatePaneComponents()},firstSplitter(){this.redoSplitters()},dblClickSplitter(e){[...this.container.querySelectorAll(".splitpanes__splitter")].forEach((t,n)=>{t.ondblclick=e?s=>this.onSplitterDblClick(s,n):void 0})}},beforeUnmount(){this.ready=!1},mounted(){this.container=this.$refs.container,this.checkSplitpanesNodes(),this.redoSplitters(),this.resetPaneSizes(),this.$emit("ready"),this.ready=!0},render(){return Ge("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},qA=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},KA={name:"pane",inject:["requestUpdate","onPaneAdd","onPaneRemove","onPaneClick"],props:{size:{type:[Number,String],default:null},minSize:{type:[Number,String],default:0},maxSize:{type:[Number,String],default:100}},data:()=>({style:{}}),mounted(){this.onPaneAdd(this)},beforeUnmount(){this.onPaneRemove(this)},methods:{update(e){this.style=e}},computed:{sizeNumber(){return this.size||this.size===0?parseFloat(this.size):null},minSizeNumber(){return parseFloat(this.minSize)},maxSizeNumber(){return parseFloat(this.maxSize)}},watch:{sizeNumber(e){this.requestUpdate({target:this,size:e})},minSizeNumber(e){this.requestUpdate({target:this,min:e})},maxSizeNumber(e){this.requestUpdate({target:this,max:e})}}};function XA(e,t,n,s,r,o){return ee(),be("div",{class:"splitpanes__pane",onClick:t[0]||(t[0]=i=>o.onPaneClick(i,e._.uid)),style:tn(e.style)},[tt(e.$slots,"default")],4)}const Ad=qA(KA,[["render",XA]]),Rd=30,JA=Ne({__name:"PanelLeftRight",props:{storageKey:{},leftSize:{},minSize:{}},setup(e){const t=e,n=A$(),s=t.storageKey,r=s?me({get:()=>n.value[s]||t.leftSize||Rd,set:o=>{n.value[s]=o}}):Z(t.leftSize||Rd);return(o,i)=>(ee(),Te(q(GA),{"h-full":"","of-hidden":"",onResize:i[0]||(i[0]=a=>r.value=a[0].size)},{default:he(()=>[oe(q(Ad),{border:"r base","h-full":"",class:"of-auto!",size:q(r),"min-size":o.$slots.right?o.minSize||10:100},{default:he(()=>[tt(o.$slots,"left")]),_:3},8,["size","min-size"]),o.$slots.right?(ee(),Te(q(Ad),{key:0,relative:"","h-full":"",class:"of-auto!","min-size":o.minSize||10},{default:he(()=>[tt(o.$slots,"right")]),_:3},8,["min-size"])):We("",!0)]),_:3}))}}),YA=Ne({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null}},setup(e,t){const n=Ce(),s=ot(uo),r=s===fo()?B1():s,o=me(()=>q(e.name)??r.meta.layout??"default"),i=Z();return t.expose({layoutRef:i}),()=>{const a=n.deferHydration(),c=o.value&&o.value in Gn,l=r.meta.layoutTransition??wb;return wg(Oi,c&&l,{default:()=>Ge(Gl,{suspensible:!0,onResolve:()=>{xt(a)}},{default:()=>Ge(QA,{layoutProps:ln(t.attrs,{ref:i}),key:o.value,name:o.value,shouldProvide:!e.name,hasTransition:!!l},t.slots)})}).default()}}}),QA=Ne({name:"NuxtLayoutProvider",inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean}},setup(e,t){const n=e.name;return e.shouldProvide&&Xn(Sh,{isCurrent:s=>n===(s.meta.layout??"default")}),()=>!n||typeof n=="string"&&!(n in Gn)?t.slots.default?.():Ge(Gn[n],e.layoutProps,t.slots)}}),ZA={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"},eR=Ne({__name:"NTextInput",props:{modelValue:{default:""},icon:{},placeholder:{},disabled:{type:Boolean},autofocus:{type:Boolean},type:{default:"text"}},setup(e,{emit:t}){const s=em(e,"modelValue",t,{passive:!0});return(r,o)=>{const i=mo;return ee(),be("div",ZA,[tt(r.$slots,"icon",{},()=>[r.icon?(ee(),Te(i,{key:0,icon:r.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):We("",!0)]),Xl(re("input",ln({"onUpdate:modelValue":o[0]||(o[0]=a=>Fe(s)?s.value=a:null)},r.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[f_,q(s)]])])}}}),wl=At(new Map);function tR(){const e=$c(),t=nt(),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:()=>rR()}],s=me(()=>e.value.map(r=>({id:`tab:${r.name}`,title:r.title||r.name,icon:r.icon,action:()=>{"onClick"in r&&r.onClick?r.onClick():t.push("path"in r&&r.path?r.path:`/modules/custom-${r.name}`)}})));return me(()=>[...n,...s.value,...Array.from(wl.values()).flatMap(r=>Ul(r))])}function nR(e){const t=g$();wl.set(t,e),Jr(()=>{wl.delete(t)})}let Oa;const sR=[[":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 rR(){return Oa||(Oa=(await Ae(()=>import("./nuxt-docs.100caa70.js"),[],import.meta.url).then(t=>t.default)).map(t=>({...t,icon:sR.find(([n])=>t.id.includes(n))?.[1]||"i-carbon-document-multiple-01",action:()=>{window.open(t.url,"_blank")}}))),Oa}function un(e){return Array.isArray?Array.isArray(e):Sg(e)==="[object Array]"}const oR=1/0;function iR(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-oR?"-0":t}function aR(e){return e==null?"":iR(e)}function zt(e){return typeof e=="string"}function xg(e){return typeof e=="number"}function lR(e){return e===!0||e===!1||cR(e)&&Sg(e)=="[object Boolean]"}function Eg(e){return typeof e=="object"}function cR(e){return Eg(e)&&e!==null}function pt(e){return e!=null}function Ca(e){return!e.trim().length}function Sg(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const uR="Incorrect 'index' type",fR=e=>`Invalid value for key ${e}`,dR=e=>`Pattern length exceeds max of ${e}.`,pR=e=>`Missing ${e} property in key`,hR=e=>`Property 'weight' in key '${e}' must be a positive integer`,Od=Object.prototype.hasOwnProperty;class mR{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(s=>{let r=Tg(s);n+=r.weight,this._keys.push(r),this._keyMap[r.id]=r,n+=r.weight}),this._keys.forEach(s=>{s.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Tg(e){let t=null,n=null,s=null,r=1,o=null;if(zt(e)||un(e))s=e,t=Cd(e),n=xl(e);else{if(!Od.call(e,"name"))throw new Error(pR("name"));const i=e.name;if(s=i,Od.call(e,"weight")&&(r=e.weight,r<=0))throw new Error(hR(i));t=Cd(i),n=xl(i),o=e.getFn}return{path:t,id:n,weight:r,src:s,getFn:o}}function Cd(e){return un(e)?e:e.split(".")}function xl(e){return un(e)?e.join("."):e}function gR(e,t){let n=[],s=!1;const r=(o,i,a)=>{if(pt(o))if(!i[a])n.push(o);else{let c=i[a];const l=o[c];if(!pt(l))return;if(a===i.length-1&&(zt(l)||xg(l)||lR(l)))n.push(aR(l));else if(un(l)){s=!0;for(let d=0,u=l.length;d<u;d+=1)r(l[d],i,a+1)}else i.length&&r(l,i,a+1)}};return r(e,zt(t)?t.split("."):t,0),s?n:n[0]}const vR={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},yR={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},_R={location:0,threshold:.6,distance:100},bR={useExtendedSearch:!1,getFn:gR,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var we={...yR,...vR,..._R,...bR};const wR=/[^ ]+/g;function xR(e=1,t=3){const n=new Map,s=Math.pow(10,t);return{get(r){const o=r.match(wR).length;if(n.has(o))return n.get(o);const i=1/Math.pow(o,.5*e),a=parseFloat(Math.round(i*s)/s);return n.set(o,a),a},clear(){n.clear()}}}class kc{constructor({getFn:t=we.getFn,fieldNormWeight:n=we.fieldNormWeight}={}){this.norm=xR(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,s)=>{this._keysMap[n.id]=s})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,zt(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();zt(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,s=this.size();n<s;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!pt(t)||Ca(t))return;let s={v:t,i:n,n:this.norm.get(t)};this.records.push(s)}_addObject(t,n){let s={i:n,$:{}};this.keys.forEach((r,o)=>{let i=r.getFn?r.getFn(t):this.getFn(t,r.path);if(pt(i)){if(un(i)){let a=[];const c=[{nestedArrIndex:-1,value:i}];for(;c.length;){const{nestedArrIndex:l,value:d}=c.pop();if(pt(d))if(zt(d)&&!Ca(d)){let u={v:d,i:l,n:this.norm.get(d)};a.push(u)}else un(d)&&d.forEach((u,f)=>{c.push({nestedArrIndex:f,value:u})})}s.$[o]=a}else if(zt(i)&&!Ca(i)){let a={v:i,n:this.norm.get(i)};s.$[o]=a}}}),this.records.push(s)}toJSON(){return{keys:this.keys,records:this.records}}}function Ng(e,t,{getFn:n=we.getFn,fieldNormWeight:s=we.fieldNormWeight}={}){const r=new kc({getFn:n,fieldNormWeight:s});return r.setKeys(e.map(Tg)),r.setSources(t),r.create(),r}function ER(e,{getFn:t=we.getFn,fieldNormWeight:n=we.fieldNormWeight}={}){const{keys:s,records:r}=e,o=new kc({getFn:t,fieldNormWeight:n});return o.setKeys(s),o.setIndexRecords(r),o}function Fo(e,{errors:t=0,currentLocation:n=0,expectedLocation:s=0,distance:r=we.distance,ignoreLocation:o=we.ignoreLocation}={}){const i=t/e.length;if(o)return i;const a=Math.abs(s-n);return r?i+a/r:a?1:i}function SR(e=[],t=we.minMatchCharLength){let n=[],s=-1,r=-1,o=0;for(let i=e.length;o<i;o+=1){let a=e[o];a&&s===-1?s=o:!a&&s!==-1&&(r=o-1,r-s+1>=t&&n.push([s,r]),s=-1)}return e[o-1]&&o-s>=t&&n.push([s,o-1]),n}const Un=32;function TR(e,t,n,{location:s=we.location,distance:r=we.distance,threshold:o=we.threshold,findAllMatches:i=we.findAllMatches,minMatchCharLength:a=we.minMatchCharLength,includeMatches:c=we.includeMatches,ignoreLocation:l=we.ignoreLocation}={}){if(t.length>Un)throw new Error(dR(Un));const d=t.length,u=e.length,f=Math.max(0,Math.min(s,u));let h=o,p=f;const v=a>1||c,w=v?Array(u):[];let y;for(;(y=e.indexOf(t,p))>-1;){let N=Fo(t,{currentLocation:y,expectedLocation:f,distance:r,ignoreLocation:l});if(h=Math.min(N,h),p=y+d,v){let x=0;for(;x<d;)w[y+x]=1,x+=1}}p=-1;let g=[],_=1,b=d+u;const S=1<<d-1;for(let N=0;N<d;N+=1){let x=0,E=b;for(;x<E;)Fo(t,{errors:N,currentLocation:f+E,expectedLocation:f,distance:r,ignoreLocation:l})<=h?x=E:b=E,E=Math.floor((b-x)/2+x);b=E;let k=Math.max(1,f-E+1),T=i?u:Math.min(f+E,u)+d,$=Array(T+2);$[T+1]=(1<<N)-1;for(let A=T;A>=k;A-=1){let L=A-1,I=n[e.charAt(L)];if(v&&(w[L]=+!!I),$[A]=($[A+1]<<1|1)&I,N&&($[A]|=(g[A+1]|g[A])<<1|1|g[A+1]),$[A]&S&&(_=Fo(t,{errors:N,currentLocation:L,expectedLocation:f,distance:r,ignoreLocation:l}),_<=h)){if(h=_,p=L,p<=f)break;k=Math.max(1,2*f-p)}}if(Fo(t,{errors:N+1,currentLocation:f,expectedLocation:f,distance:r,ignoreLocation:l})>h)break;g=$}const m={isMatch:p>=0,score:Math.max(.001,_)};if(v){const N=SR(w,a);N.length?c&&(m.indices=N):m.isMatch=!1}return m}function NR(e){let t={};for(let n=0,s=e.length;n<s;n+=1){const r=e.charAt(n);t[r]=(t[r]||0)|1<<s-n-1}return t}class $g{constructor(t,{location:n=we.location,threshold:s=we.threshold,distance:r=we.distance,includeMatches:o=we.includeMatches,findAllMatches:i=we.findAllMatches,minMatchCharLength:a=we.minMatchCharLength,isCaseSensitive:c=we.isCaseSensitive,ignoreLocation:l=we.ignoreLocation}={}){if(this.options={location:n,threshold:s,distance:r,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:c,ignoreLocation:l},this.pattern=c?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const d=(f,h)=>{this.chunks.push({pattern:f,alphabet:NR(f),startIndex:h})},u=this.pattern.length;if(u>Un){let f=0;const h=u%Un,p=u-h;for(;f<p;)d(this.pattern.substr(f,Un),f),f+=Un;if(h){const v=u-Un;d(this.pattern.substr(v),v)}}else d(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,includeMatches:s}=this.options;if(n||(t=t.toLowerCase()),this.pattern===t){let p={isMatch:!0,score:0};return s&&(p.indices=[[0,t.length-1]]),p}const{location:r,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:c,ignoreLocation:l}=this.options;let d=[],u=0,f=!1;this.chunks.forEach(({pattern:p,alphabet:v,startIndex:w})=>{const{isMatch:y,score:g,indices:_}=TR(t,p,v,{location:r+w,distance:o,threshold:i,findAllMatches:a,minMatchCharLength:c,includeMatches:s,ignoreLocation:l});y&&(f=!0),u+=g,y&&_&&(d=[...d,..._])});let h={isMatch:f,score:f?u/this.chunks.length:1};return f&&s&&(h.indices=d),h}}class Cn{constructor(t){this.pattern=t}static isMultiMatch(t){return Ld(t,this.multiRegex)}static isSingleMatch(t){return Ld(t,this.singleRegex)}search(){}}function Ld(e,t){const n=e.match(t);return n?n[1]:null}class $R extends Cn{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 kR extends Cn{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const s=t.indexOf(this.pattern)===-1;return{isMatch:s,score:s?0:1,indices:[0,t.length-1]}}}class PR extends Cn{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 AR extends Cn{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 RR extends Cn{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 OR extends Cn{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 kg extends Cn{constructor(t,{location:n=we.location,threshold:s=we.threshold,distance:r=we.distance,includeMatches:o=we.includeMatches,findAllMatches:i=we.findAllMatches,minMatchCharLength:a=we.minMatchCharLength,isCaseSensitive:c=we.isCaseSensitive,ignoreLocation:l=we.ignoreLocation}={}){super(t),this._bitapSearch=new $g(t,{location:n,threshold:s,distance:r,includeMatches:o,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:c,ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class Pg extends Cn{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,s;const r=[],o=this.pattern.length;for(;(s=t.indexOf(this.pattern,n))>-1;)n=s+o,r.push([s,n-1]);const i=!!r.length;return{isMatch:i,score:i?0:1,indices:r}}}const El=[$R,Pg,PR,AR,OR,RR,kR,kg],Id=El.length,CR=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,LR="|";function IR(e,t={}){return e.split(LR).map(n=>{let s=n.trim().split(CR).filter(o=>o&&!!o.trim()),r=[];for(let o=0,i=s.length;o<i;o+=1){const a=s[o];let c=!1,l=-1;for(;!c&&++l<Id;){const d=El[l];let u=d.isMultiMatch(a);u&&(r.push(new d(u,t)),c=!0)}if(!c)for(l=-1;++l<Id;){const d=El[l];let u=d.isSingleMatch(a);if(u){r.push(new d(u,t));break}}}return r})}const jR=new Set([kg.type,Pg.type]);class MR{constructor(t,{isCaseSensitive:n=we.isCaseSensitive,includeMatches:s=we.includeMatches,minMatchCharLength:r=we.minMatchCharLength,ignoreLocation:o=we.ignoreLocation,findAllMatches:i=we.findAllMatches,location:a=we.location,threshold:c=we.threshold,distance:l=we.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:s,minMatchCharLength:r,findAllMatches:i,ignoreLocation:o,location:a,threshold:c,distance:l},this.pattern=n?t:t.toLowerCase(),this.query=IR(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:s,isCaseSensitive:r}=this.options;t=r?t:t.toLowerCase();let o=0,i=[],a=0;for(let c=0,l=n.length;c<l;c+=1){const d=n[c];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,s){const y=h.constructor.type;jR.has(y)?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 s&&(u.indices=i),u}}return{isMatch:!1,score:1}}}const Sl=[];function DR(...e){Sl.push(...e)}function Tl(e,t){for(let n=0,s=Sl.length;n<s;n+=1){let r=Sl[n];if(r.condition(e,t))return new r(e,t)}return new $g(e,t)}const _i={AND:"$and",OR:"$or"},Nl={PATH:"$path",PATTERN:"$val"},$l=e=>!!(e[_i.AND]||e[_i.OR]),FR=e=>!!e[Nl.PATH],BR=e=>!un(e)&&Eg(e)&&!$l(e),jd=e=>({[_i.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function Ag(e,t,{auto:n=!0}={}){const s=r=>{let o=Object.keys(r);const i=FR(r);if(!i&&o.length>1&&!$l(r))return s(jd(r));if(BR(r)){const c=i?r[Nl.PATH]:o[0],l=i?r[Nl.PATTERN]:r[c];if(!zt(l))throw new Error(fR(c));const d={keyId:xl(c),pattern:l};return n&&(d.searcher=Tl(l,t)),d}let a={children:[],operator:o[0]};return o.forEach(c=>{const l=r[c];un(l)&&l.forEach(d=>{a.children.push(s(d))})}),a};return $l(e)||(e=jd(e)),s(e)}function HR(e,{ignoreFieldNorm:t=we.ignoreFieldNorm}){e.forEach(n=>{let s=1;n.matches.forEach(({key:r,norm:o,score:i})=>{const a=r?r.weight:null;s*=Math.pow(i===0&&a?Number.EPSILON:i,(a||1)*(t?1:o))}),n.score=s})}function zR(e,t){const n=e.matches;t.matches=[],pt(n)&&n.forEach(s=>{if(!pt(s.indices)||!s.indices.length)return;const{indices:r,value:o}=s;let i={indices:r,value:o};s.key&&(i.key=s.key.src),s.idx>-1&&(i.refIndex=s.idx),t.matches.push(i)})}function UR(e,t){t.score=e.score}function VR(e,t,{includeMatches:n=we.includeMatches,includeScore:s=we.includeScore}={}){const r=[];return n&&r.push(zR),s&&r.push(UR),e.map(o=>{const{idx:i}=o,a={item:t[i],refIndex:i};return r.length&&r.forEach(c=>{c(o,a)}),a})}class Ks{constructor(t,n={},s){this.options={...we,...n},this.options.useExtendedSearch,this._keyStore=new mR(this.options.keys),this.setCollection(t,s)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof kc))throw new Error(uR);this._myIndex=n||Ng(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){pt(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let s=0,r=this._docs.length;s<r;s+=1){const o=this._docs[s];t(o,s)&&(this.removeAt(s),s-=1,r-=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:s,includeScore:r,shouldSort:o,sortFn:i,ignoreFieldNorm:a}=this.options;let c=zt(t)?zt(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return HR(c,{ignoreFieldNorm:a}),o&&c.sort(i),xg(n)&&n>-1&&(c=c.slice(0,n)),VR(c,this._docs,{includeMatches:s,includeScore:r})}_searchStringList(t){const n=Tl(t,this.options),{records:s}=this._myIndex,r=[];return s.forEach(({v:o,i,n:a})=>{if(!pt(o))return;const{isMatch:c,score:l,indices:d}=n.searchIn(o);c&&r.push({item:o,idx:i,matches:[{score:l,value:o,norm:a,indices:d}]})}),r}_searchLogical(t){const n=Ag(t,this.options),s=(a,c,l)=>{if(!a.children){const{keyId:u,searcher:f}=a,h=this._findMatches({key:this._keyStore.get(u),value:this._myIndex.getValueForItemAtKeyId(c,u),searcher:f});return h&&h.length?[{idx:l,item:c,matches:h}]:[]}const d=[];for(let u=0,f=a.children.length;u<f;u+=1){const h=a.children[u],p=s(h,c,l);if(p.length)d.push(...p);else if(a.operator===_i.AND)return[]}return d},r=this._myIndex.records,o={},i=[];return r.forEach(({$:a,i:c})=>{if(pt(a)){let l=s(n,a,c);l.length&&(o[c]||(o[c]={idx:c,item:a,matches:[]},i.push(o[c])),l.forEach(({matches:d})=>{o[c].matches.push(...d)}))}}),i}_searchObjectList(t){const n=Tl(t,this.options),{keys:s,records:r}=this._myIndex,o=[];return r.forEach(({$:i,i:a})=>{if(!pt(i))return;let c=[];s.forEach((l,d)=>{c.push(...this._findMatches({key:l,value:i[d],searcher:n}))}),c.length&&o.push({idx:a,item:i,matches:c})}),o}_findMatches({key:t,value:n,searcher:s}){if(!pt(n))return[];let r=[];if(un(n))n.forEach(({v:o,i,n:a})=>{if(!pt(o))return;const{isMatch:c,score:l,indices:d}=s.searchIn(o);c&&r.push({score:l,key:t,value:o,idx:i,norm:a,indices:d})});else{const{v:o,n:i}=n,{isMatch:a,score:c,indices:l}=s.searchIn(o);a&&r.push({score:c,key:t,value:o,norm:i,indices:l})}return r}}Ks.version="6.6.2";Ks.createIndex=Ng;Ks.parseIndex=ER;Ks.config=we;Ks.parseQuery=Ag;DR(MR);const WR={"h-full":"",flex:"~ col"},GR={border:"b base","flex-none":""},qR={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},KR=["id","onClick","onMouseover"],XR={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},JR={"ws-nowrap":""},YR={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},QR={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},ZR=re("span",{op50:""},"No results for",-1),eO={"text-primary":""},tO={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},nO={"text-xs":"",flex:"~ items-center gap2"},sO=re("span",{op75:""},"to navigate",-1),rO={"text-xs":"",flex:"~ items-center gap2"},oO={op75:""},iO={"text-xs":"",flex:"~ items-center gap2"},aO=re("span",{op75:""},"to select",-1),lO=Ne({__name:"CommandPalette",setup(e){const t=Z(!1),n=Z(""),s=tR(),r=Z(),o=me(()=>r.value||s.value),i=me(()=>new Ks(o.value,{keys:["id","title"],distance:50})),a=me(()=>n.value?i.value.search(n.value).map(h=>h.item):o.value||[]),c=Z(0);Be(n,()=>{c.value=0,d()});function l(h){c.value=(c.value+h+a.value.length)%a.value.length,d()}function d(){document.getElementById(a.value[c.value]?.id)?.scrollIntoView({block:"center"})}async function u(h){const p=await h.action();p?(r.value=p,n.value=""):(r.value=void 0,n.value="",t.value=!1)}Pt("keydown",h=>{if((h.ctrlKey||h.metaKey)&&h.key==="k"){h.preventDefault(),r.value=void 0,n.value="",t.value=!t.value;return}if(t.value)switch(h.key){case"ArrowDown":case"ArrowUp":h.preventDefault(),l(h.key==="ArrowDown"?1:-1);break;case"Enter":{const p=a.value[c.value];p&&(h.preventDefault(),u(p));break}case"Escape":{h.preventDefault(),r.value?(r.value=void 0,n.value=""):t.value=!1;break}}});function f(h){h.key==="Backspace"&&!n.value&&r.value&&(h.preventDefault(),r.value=void 0,n.value="")}return(h,p)=>{const v=eR,w=Qi,y=mo,g=qs,_=Yi;return ee(),Te(_,{modelValue:q(t),"onUpdate:modelValue":p[1]||(p[1]=b=>Fe(t)?t.value=b:null),relative:"","h-md":"","w-xl":"","of-hidden":""},{default:he(()=>[re("div",WR,[re("header",GR,[oe(v,{modelValue:q(n),"onUpdate:modelValue":p[0]||(p[0]=b=>Fe(n)?n.value=b:null),placeholder:"Type to search...",class:"rounded-none py3 px2! ring-0!",n:"green borderless",onKeydown:f},null,8,["modelValue"])]),re("div",qR,[(ee(!0),be(Le,null,Yr(q(a),(b,S)=>(ee(),be("button",{id:b.id,key:b.id,onClick:m=>u(b),onMouseover:m=>c.value=S},[re("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:Je(q(c)===S?"op100 bg-primary/10 text-primary saturate-100 bg-active":"op80")},[oe(w,{icon:b.icon,title:b.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),re("span",XR,[re("span",JR,ht(b.title),1),re("span",YR,ht(b.description),1)]),q(c)===S?(ee(),Te(y,{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):We("",!0)],2)],40,KR))),128)),q(a).length?We("",!0):(ee(),be("div",QR,[oe(y,{op50:"",icon:"carbon-search"}),re("div",null,[ZR,re("strong",eO,' "'+ht(q(n))+'" ',1)])]))]),re("footer",tO,[re("div",nO,[oe(g,{n:"xs",px1:""},{default:he(()=>[oe(y,{icon:"carbon-arrow-down"})]),_:1}),oe(g,{n:"xs",px1:""},{default:he(()=>[oe(y,{icon:"carbon-arrow-up"})]),_:1}),sO]),re("div",rO,[oe(g,{n:"xs",px1:""},{default:he(()=>[Oe(" Esc ")]),_:1}),re("span",oO,"to "+ht(q(r)?"go back":"close"),1)]),re("div",iO,[oe(g,{n:"xs",px1:""},{default:he(()=>[oe(y,{icon:"i-carbon-text-new-line scale-x--100"})]),_:1}),aO])])])]),_:1},8,["modelValue"])}}}),cO={p4:"",flex:"~ col gap-2"},uO=re("h3",{class:"mb2 text-lg font-medium leading-6",flex:"~ items-center gap-1","text-orange":""},[re("span",{class:"i-carbon-information-square"}),Oe(" Permissions required ")],-1),fO=re("p",null," This operation requires permissions for running command and access files from the browser. ",-1),dO=re("p",null,[Oe(" A request is sent to the server."),re("br"),Oe(" Please check your terminal for the instructions and then come back. ")],-1),pO={flex:"~ gap-3",mt2:"","justify-end":""},hO=Ne({__name:"AuthConfirmDialog",setup(e){return(t,n)=>{const s=qs,r=Yi;return ee(),Te(q(um),null,{default:he(({resolve:o})=>[oe(r,{"model-value":!0,onClose:i=>o(!1)},{default:he(()=>[re("div",cO,[uO,fO,dO,re("div",pO,[oe(s,{onClick:i=>o(!1)},{default:he(()=>[Oe(" Cancel ")]),_:2},1032,["onClick"]),oe(s,{disabled:"",icon:"i-carbon-time"},{default:he(()=>[Oe(" Waiting for authorization... ")]),_:1})])])]),_:2},1032,["onClose"])]),_:1})}}}),mO={},gO={viewBox:"0 0 566 154",fill:"none",xmlns:"http://www.w3.org/2000/svg"},vO=re("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),yO=re("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),_O=[vO,yO];function bO(e,t){return ee(),be("svg",gO,_O)}const wO=Gs(mO,[["render",bO]]),xO={},EO={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":""},SO={flex:"~","mt--10":"","items-center":"","justify-center":""},TO={key:0,flex:"~ gap-2","items-center":"","text-rose":""},NO={key:1,flex:"~ gap-2","animate-pulse":"","items-center":"","text-yellow":""};function $O(e,t){const n=wO,s=mo;return ee(),Te(Mp,{to:"body"},[("wsConnectingDebounced"in e?e.wsConnectingDebounced:q(mE))?(ee(),be("div",EO,[re("div",SO,[oe(n,{"h-14":""})]),("wsError"in e?e.wsError:q(hE))?(ee(),be("div",TO,[oe(s,{icon:"i-carbon-wifi-off"}),Oe(" WebSocket disconnected ")])):(ee(),be("div",NO,[oe(s,{icon:"i-carbon-circle-dash","animate-spin":""}),Oe(" Connecting to the server... ")]))])):We("",!0)])}const kO=Gs(xO,[["render",$O]]),PO={p4:"",flex:"~ col gap-1"},AO=re("h3",{class:"text-lg font-medium leading-6"}," Restart ",-1),RO={op50:""},OO={flex:"~ gap-3",mt2:"","justify-end":""},CO=Ne({__name:"RestartDialogs",setup(e){const t=Ce(),n=yE(),s=st(),r=dc();return t.hook("devtools:terminal:exit",({id:o,code:i})=>{if(i===0){const a=n.value.find(c=>c.id===o);a&&(n.value=n.value.filter(c=>c.id!==o),r.start(a.message).then(c=>{c&&(Me.restartNuxt(),setTimeout(()=>{s.value?.reloadPage()},500))}))}}),(o,i)=>{const a=qs,c=Yi;return ee(),Te(q(r),null,{default:he(({resolve:l,args:d})=>[oe(c,{"model-value":!0,onClose:u=>l(!1)},{default:he(()=>[re("div",PO,[AO,re("p",RO,ht(d[0]),1),re("div",OO,[oe(a,{onClick:u=>l(!1)},{default:he(()=>[Oe(" Cancel ")]),_:2},1032,["onClick"]),oe(a,{n:"solid primary",onClick:u=>l(!0)},{default:he(()=>[Oe(" Update ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1})}}});const Md=Z([]),Dd=Z();function LO(){const e=Ce(),t=st(),n=nt();Object.assign(lm,{async refresh(s){e.hooks.callHookParallel("app:data:refresh",[s])},async callHook(s,...r){e.hooks.callHookParallel(s,...r)},async onTerminalData(s){e.hooks.callHookParallel("devtools:terminal:data",s)},async onTerminalExit(s){e.hooks.callHookParallel("devtools:terminal:exit",s);const r=Md.value.findIndex(o=>o.processId===s.id);r!==-1&&Md.value.splice(r,1),Dd.value?.processId===s.id&&(Dd.value=void 0)},async navigateTo(s){t.value.open(),n.currentRoute.value.path!==s&&n.push(s)}}),Me.getModuleOptions().then(s=>{s.disableAuthorization&&(Es.value=!0,Bt.value||="disabled")})}const IO={fixed:"","inset-0":"","h-screen":"","w-screen":""},jO=["grid"],MO=Ne({__name:"app",setup(e){Ae(()=>import("./unocss-runtime.5034abfc.js"),[],import.meta.url),_b({title:"Nuxt DevTools",meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",type:"image/svg+xml",href:"/nuxt.svg"}]}),LO();const t=st(),n=fo(),s=zi(),r=me(()=>n.path.startsWith("/__")),o=me(()=>!t.value&&!p$.value);Be(()=>t.value?.colorMode.value,a=>{a&&(s.value=a)},{immediate:!0}),addEventListener("keydown",a=>{a.code==="KeyD"&&a.altKey&&(t.value?.close(),a.preventDefault())});const{scale:i}=Wi();return On(()=>{const a=h$();Qn(()=>{window.__NUXT_DEVTOOLS__=a.value}),Qn(()=>{document.body.style.fontSize=`${i.value*15}px`})}),nR(()=>dl.value?[{id:"action:split-screen",title:`${xn.value?"Close":"Open"} Split Screen`,icon:"i-carbon-split-screen",action:()=>{xn.value=!xn.value}}]:[]),(a,c)=>{const l=Gk,d=Kk,u=eP,f=NA,h=AA,p=WA,v=JA,w=YA,y=lO,g=hO,_=kO,b=CO;return ee(),be("div",IO,[oe(l),oe(d),q(o)?(ee(),Te(u,{key:0},{default:he(()=>[Oe(" Connecting.... ")]),_:1})):(ee(),be("div",{key:1,grid:q(r)?"flex":"~ cols-[50px_1fr]","h-full":"","h-screen":"","of-hidden":"","font-sans":"","bg-base":""},[Xl(oe(f,{"of-x-hidden":"","of-y-auto":""},null,512),[[Zp,!q(r)]]),oe(w,null,{default:he(()=>[oe(v,{"storage-key":"devtools:split-screen-mode","min-size":20},ry({left:he(()=>[oe(h)]),_:2},[("splitScreenEnabled"in a?a.splitScreenEnabled:q(xn))&&q(dl)?{name:"right",fn:he(()=>[oe(p)]),key:"0"}:void 0]),1024)]),_:1}),oe(y),oe(g)],8,jO)),oe(_),oe(b)])}}}),DO={__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 s=Number(n.statusCode||500),r=s===404,o=n.statusMessage??(r?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,d=r?xs(()=>Ae(()=>import("./error-404.b216bd73.js"),["./error-404.b216bd73.js","./error-404.91003ceb.css"],import.meta.url).then(u=>u.default||u)):xs(()=>Ae(()=>import("./error-500.1bc58b0e.js"),["./error-500.1bc58b0e.js","./error-500.7e02f53c.css"],import.meta.url).then(u=>u.default||u));return(u,f)=>(ee(),Te(q(d),Cl(Ai({statusCode:q(s),statusMessage:q(o),description:q(i),stack:q(a)})),null,16))}},Fd={__name:"nuxt-root",setup(e){const t=()=>null,n=Ce(),s=n.deferHydration(),r=!1;Xn(uo,fo()),n.hooks.callHookWith(a=>a.map(c=>c()),"vue:setup");const o=Ci();Tp((a,c,l)=>{if(n.hooks.callHook("vue:error",a,c,l).catch(d=>console.error("[nuxt] Error in `vue:error` hook",d)),jb(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>ms(a)),!1});const{islandContext:i}=!1;return(a,c)=>(ee(),Te(Gl,{onResolve:q(s)},{default:he(()=>[q(o)?(ee(),Te(q(DO),{key:0,error:q(o)},null,8,["error"])):q(i)?(ee(),Te(q(t),{key:1,context:q(i)},null,8,["context"])):q(r)?(ee(),Te(Zn(q(r)),{key:2})):(ee(),Te(q(MO),{key:3}))]),_:1},8,["onResolve"]))}};globalThis.$fetch||(globalThis.$fetch=r0.create({baseURL:i0()}));let Bd;{let e;Bd=async function(){if(e)return e;const s=!!(window.__NUXT__?.serverRendered||document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?__(Fd):th(Fd),r=_0({vueApp:s});try{await w0(r,Wk)}catch(o){await r.callHook("app:error",o),r.payload.error=r.payload.error||o}try{await r.hooks.callHook("app:created",s),await r.hooks.callHook("app:beforeMount",s),s.mount("#"+Eb),await r.hooks.callHook("app:mounted",s),await xt()}catch(o){await r.callHook("app:error",o),r.payload.error=r.payload.error||o}return s},e=Bd().catch(t=>{console.error("Error while mounting app:",t)})}export{r0 as $,Me as A,EE as B,dc as C,_2 as D,nt as E,Le as F,mc as G,w2 as H,nR as I,JA as J,Dd as K,Fe as L,eR as M,Yi as N,Pt as O,ll as P,pE as Q,hE as R,LA as S,mo as T,sw as U,JO as V,tn as W,em as X,tt as Y,E2 as Z,Gs as _,re as a,UO as a$,WO as a0,y$ as a1,VP as a2,YO as a3,g2 as a4,Ks as a5,qO as a6,zi as a7,jm as a8,h2 as a9,jv as aA,rp as aB,Bs as aC,FO as aD,ln as aE,BO as aF,Oi as aG,Cl as aH,Ai as aI,Ab as aJ,s2 as aK,zO as aL,f2 as aM,Cm as aN,u2 as aO,b2 as aP,Rw as aQ,g_ as aR,S2 as aS,t2 as aT,r2 as aU,p$ as aV,ft as aW,c2 as aX,yE as aY,is as aZ,e2 as a_,On as aa,Be as ab,Wi as ac,cg as ad,on as ae,QO as af,Xx as ag,st as ah,Zn as ai,At as aj,KO as ak,xt as al,Qn as am,Jr as an,h$ as ao,fo as ap,cA as aq,Es as ar,o2 as as,p2 as at,m2 as au,ZO as av,Xh as aw,ry as ax,i2 as ay,Md as az,oe as b,y2 as b0,Xw as b1,os as b2,x2 as b3,n2 as b4,Aw as b5,VO as b6,GO as b7,eP as b8,v$ as b9,Yv as ba,rn as bb,XO as bc,HO as bd,hu as be,Ce as bf,Dh as bg,nd as bh,Bt as bi,l2 as bj,d2 as bk,v2 as bl,mt as bm,Qi as bn,Ot as bo,Ge as bp,b$ as bq,UP as br,ip as bs,_l as bt,oP as bu,l_ as bv,u_ as bw,a2 as bx,wE as by,be as c,Oe as d,ji as e,Iv as f,Ne as g,Te as h,DA as i,T$ as j,qs as k,wO as l,me as m,Yr as n,ee as o,Lv as p,Je as q,Z as r,q as s,ht as t,_b as u,We as v,he as w,Ux as x,Xl as y,Zp as z};
|