@nuxt/devtools 1.3.2 → 1.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/module-main.mjs +12 -7
- package/dist/chunks/vite-inspect.mjs +1 -1
- package/dist/chunks/vscode.mjs +1 -1
- package/dist/client/200.html +25 -26
- package/dist/client/404.html +25 -26
- package/dist/client/_nuxt/{DTf74veE.js → 6wcy4DsH.js} +1 -1
- package/dist/client/_nuxt/{DDnrbwm6.js → 8B46VhQd.js} +10 -10
- package/dist/client/_nuxt/{D7gBCge-.js → 8SMg7xCe.js} +1 -1
- package/dist/client/_nuxt/{nd9mx79B.js → 98R48OH2.js} +1 -1
- package/dist/client/_nuxt/{CfjSiY3T.js → B-sCWvv9.js} +1 -1
- package/dist/client/_nuxt/B29KOOGn.js +9 -0
- package/dist/client/_nuxt/{CJU5ujxD.js → B894X8py.js} +1 -1
- package/dist/client/_nuxt/{hXtXgLSE.js → B8ZbBSrc.js} +1 -1
- package/dist/client/_nuxt/{DQm4bOV6.js → BFLTkFCL.js} +1 -1
- package/dist/client/_nuxt/{BL_hfvyy.js → BFm6EJTU.js} +1 -1
- package/dist/client/_nuxt/{BO-iudyo.js → BKePb5M9.js} +1 -1
- package/dist/client/_nuxt/BKjxjBjR.js +1 -0
- package/dist/client/_nuxt/{BVJlJdda.js → BYuD4knm.js} +1 -1
- package/dist/client/_nuxt/{D847XyuR.js → BZs3jgFa.js} +1 -1
- package/dist/client/_nuxt/{BVCgwITN.js → Ba3iaRF0.js} +2 -2
- package/dist/client/_nuxt/{C8GUE1SK.js → BcsunUHc.js} +1 -1
- package/dist/client/_nuxt/{B-HJZUhU.js → BdeOTENY.js} +1 -1
- package/dist/client/_nuxt/{BfqSh0jD.js → Bj_XrxMu.js} +1 -1
- package/dist/client/_nuxt/{BeLKwQPd.js → BmiNF6l-.js} +1 -1
- package/dist/client/_nuxt/{DZg4WwSa.js → BoP7AKy2.js} +1 -1
- package/dist/client/_nuxt/{BGq4KZyx.js → Br6ll-O0.js} +1 -1
- package/dist/client/_nuxt/{CYVTKYED.js → BulALiVC.js} +1 -1
- package/dist/client/_nuxt/{V_y36BGi.js → Bxkoe-BC.js} +1 -1
- package/dist/client/_nuxt/{D44vw0ad.js → C54vwF0J.js} +1 -1
- package/dist/client/_nuxt/C8ESOK3J.js +30 -0
- package/dist/client/_nuxt/{DxtaXLVv.js → CBZOn9Tq.js} +1 -1
- package/dist/client/_nuxt/{Cri_jq9f.js → CDfEhAL9.js} +1 -1
- package/dist/client/_nuxt/{Dm8mUwGL.js → CGj_8s-I.js} +1 -1
- package/dist/client/_nuxt/{4DrMDvOf.js → CHQ52sTw.js} +1 -1
- package/dist/client/_nuxt/{BX8u6kVi.js → CIgTPfXa.js} +1 -1
- package/dist/client/_nuxt/{C41DfgCv.js → CO6YgqHh.js} +1 -1
- package/dist/client/_nuxt/{Bwpf36Bl.js → CUJNw4nr.js} +1 -1
- package/dist/client/_nuxt/{Dyh3t1OB.js → CUytAwsx.js} +1 -1
- package/dist/client/_nuxt/{D26FlHPL.js → CYSOmuwz.js} +1 -1
- package/dist/client/_nuxt/{BxZrC5KW.js → Cao9Hf6d.js} +1 -1
- package/dist/client/_nuxt/CeyWeT92.js +1032 -0
- package/dist/client/_nuxt/{s0KB5W3i.js → Cn5ttfU_.js} +1 -1
- package/dist/client/_nuxt/{BhuDhIKJ.js → CpJRPiL9.js} +1 -1
- package/dist/client/_nuxt/CrghN-Ad.js +2 -0
- package/dist/client/_nuxt/{l2Y-wpZG.js → CyeATGho.js} +2 -2
- package/dist/client/_nuxt/{CAWcj-Fr.js → D-4ohUPA.js} +1 -1
- package/dist/client/_nuxt/{BZAoIDF4.js → D3VgjIse.js} +2 -7
- package/dist/client/_nuxt/{8icePJ4I.js → D5WHU7S-.js} +1 -1
- package/dist/client/_nuxt/{DTjbdWHx.js → D6rOzE__.js} +1 -1
- package/dist/client/_nuxt/{B-hub2K2.js → D7I2o642.js} +1 -1
- package/dist/client/_nuxt/D9GqCGb7.js +100 -0
- package/dist/client/_nuxt/{_hj05-RZ.js → DBLkZRmC.js} +1 -1
- package/dist/client/_nuxt/{CQ4DIexe.js → DI2S-mmO.js} +1 -1
- package/dist/client/_nuxt/{D1Dg62su.js → DL0CET1h.js} +1 -1
- package/dist/client/_nuxt/DNH9VLI7.js +43 -0
- package/dist/client/_nuxt/{DGIjOFdj.js → DNTHL55G.js} +1 -1
- package/dist/client/_nuxt/{D_ZAQadg.js → DT3-Im-G.js} +1 -1
- package/dist/client/_nuxt/{CJ4574JA.js → DT7g2OtK.js} +1 -1
- package/dist/client/_nuxt/DZHRk8T6.js +1 -0
- package/dist/client/_nuxt/{D9bWLJbD.js → Da5JKEgm.js} +1 -1
- package/dist/client/_nuxt/DhzPY0Bk.js +1 -0
- package/dist/client/_nuxt/DotVwsdv.js +9 -0
- package/dist/client/_nuxt/{C_mHwna3.js → JMRChio8.js} +1 -1
- package/dist/client/_nuxt/{BZrBobni.js → LSJkDbxe.js} +1 -1
- package/dist/client/_nuxt/{NCodeBlock.Bcfh0aRP.css → NCodeBlock.BJ-XAY5s.css} +1 -1
- package/dist/client/_nuxt/NSectionBlock.Dnwb6MN5.css +1 -0
- package/dist/client/_nuxt/{CnDX42ER.js → QZOV8EJp.js} +1 -1
- package/dist/client/_nuxt/aYYjZ8bg.js +1 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/705c4cfa-d5c7-43a4-9f41-3c069a80d514.json +1 -0
- package/dist/client/_nuxt/entry.CuU2sB_i.css +1 -0
- package/dist/client/_nuxt/error-404.CdZ-8tbX.css +1 -0
- package/dist/client/_nuxt/error-500.4KK_ddFR.css +1 -0
- package/dist/client/_nuxt/{CQ0ZKsih.js → mjGmx9GM.js} +2 -2
- package/dist/client/_nuxt/{73fsk-_M.js → oNeXSGv8.js} +1 -1
- package/dist/client/_nuxt/{C49LnR7I.js → p_veFBpZ.js} +1 -1
- package/dist/client/_nuxt/terminals.dNTO8Cf0.css +1 -0
- package/dist/client/_nuxt/{WIBjn-aJ.js → u_lBCHfa.js} +1 -1
- package/dist/client/_nuxt/{CBxMqsuL.js → z73YSsxO.js} +1 -1
- package/dist/client/index.html +25 -26
- package/dist/module.json +2 -2
- package/dist/runtime/function-metrics-helpers.d.ts +1 -1
- package/dist/runtime/{function-metrics-helpers.mjs → function-metrics-helpers.js} +1 -1
- package/dist/runtime/plugins/{devtools.client.mjs → devtools.client.js} +1 -1
- package/dist/runtime/plugins/view/client.d.ts +1 -1
- package/dist/runtime/plugins/view/{client.mjs → client.js} +2 -2
- package/dist/runtime/plugins/view/state.d.ts +1 -1
- package/dist/runtime/plugins/view/{state.mjs → state.js} +1 -1
- package/dist/runtime/settings.d.ts +2 -2
- package/dist/runtime/shared/hooks.d.ts +1 -1
- package/dist/runtime/use-nuxt-devtools.d.ts +1 -1
- package/package.json +33 -35
- package/dist/client/_nuxt/BVT_pDx1.js +0 -9
- package/dist/client/_nuxt/BYLmgL12.js +0 -1
- package/dist/client/_nuxt/C71Avik8.js +0 -1
- package/dist/client/_nuxt/CI_a6Yq_.js +0 -9
- package/dist/client/_nuxt/CQhVfK23.js +0 -99
- package/dist/client/_nuxt/CYpIh8Vy.js +0 -1
- package/dist/client/_nuxt/C_vNhPYi.js +0 -1031
- package/dist/client/_nuxt/D2pUCviE.js +0 -1
- package/dist/client/_nuxt/DGmtW0X_.js +0 -30
- package/dist/client/_nuxt/DW2rdoo9.js +0 -48
- package/dist/client/_nuxt/Ds6yAegc.js +0 -2
- package/dist/client/_nuxt/NSectionBlock.DF4F_onM.css +0 -1
- package/dist/client/_nuxt/builds/meta/923994c1-a7bd-4c91-b02b-513548587468.json +0 -1
- package/dist/client/_nuxt/entry.C09IdXcP.css +0 -1
- package/dist/client/_nuxt/error-404.ClUqCsUG.css +0 -1
- package/dist/client/_nuxt/error-500.Xj6Xfe4d.css +0 -1
- package/dist/client/_nuxt/terminals.bPBXyte9.css +0 -32
- /package/dist/runtime/nitro/{inline.mjs → inline.js} +0 -0
- /package/dist/runtime/plugins/{devtools.server.mjs → devtools.server.js} +0 -0
- /package/dist/runtime/plugins/view/{utils.mjs → utils.js} +0 -0
- /package/dist/runtime/{settings.mjs → settings.js} +0 -0
- /package/dist/runtime/shared/{hooks.mjs → hooks.js} +0 -0
- /package/dist/runtime/{use-nuxt-devtools.mjs → use-nuxt-devtools.js} +0 -0
- /package/dist/runtime/vue-devtools/{overlay.mjs → overlay.js} +0 -0
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
function __vite__mapDeps(indexes) {
|
|
2
|
-
if (!__vite__mapDeps.viteFileDeps) {
|
|
3
|
-
__vite__mapDeps.viteFileDeps = ["./DDnrbwm6.js","./CbViG2Xw.js","./Dch3xQiY.js","./CbYhyuC0.js","./DC8MraHL.js","./CupVZNk8.js","./C5gCGmDW.js","./CQ4DIexe.js","./D26FlHPL.js","./C41DfgCv.js","./BhuDhIKJ.js","./B-HJZUhU.js","./BZrBobni.js","./D7gBCge-.js","./_hj05-RZ.js","./NCodeBlock.Bcfh0aRP.css","./BX8u6kVi.js","./HelpFab.DHTsX8io.css","./CYVTKYED.js","./CfjSiY3T.js","./CnDX42ER.js","./B-hub2K2.js","./BVJlJdda.js","./NSectionBlock.DF4F_onM.css","./nd9mx79B.js","./D1Dg62su.js","./BcJws1i5.js","./assets.DGT3vQsf.css","./DxtaXLVv.js","./BZAoIDF4.js","./BVCgwITN.js","./BfqSh0jD.js","./Dm8mUwGL.js","./BO-iudyo.js","./D_ZAQadg.js","./D847XyuR.js","./BL_hfvyy.js","./BVT_pDx1.js","./BeLKwQPd.js","./s0KB5W3i.js","./DTf74veE.js","./hXtXgLSE.js","./DGIjOFdj.js","./l2Y-wpZG.js","./C49LnR7I.js","./DQm4bOV6.js","./8icePJ4I.js","./open-graph.-BQyihv8.css","./CBxMqsuL.js","./CYpIh8Vy.js","./WIBjn-aJ.js","./CAWcj-Fr.js","./DZg4WwSa.js","./CQhVfK23.js","./73fsk-_M.js","./DTjbdWHx.js","./CJ4574JA.js","./CI_a6Yq_.js","./D9bWLJbD.js","./C_mHwna3.js","./C71Avik8.js","./BYLmgL12.js","./CQ0ZKsih.js","./terminals.bPBXyte9.css","./DGmtW0X_.js","./timeline.DvDJbalt.css","./4DrMDvOf.js","./virtual-files.CWZEM3J4.css","./D44vw0ad.js","./Cri_jq9f.js","./C_vNhPYi.js","./Dyh3t1OB.js","./error-404.ClUqCsUG.css","./D2pUCviE.js","./error-500.Xj6Xfe4d.css"]
|
|
4
|
-
}
|
|
5
|
-
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* @vue/shared v3.4.27
|
|
9
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
10
|
-
* @license MIT
|
|
11
|
-
**//*! #__NO_SIDE_EFFECTS__ */function au(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const Ue={},Vr=[],Mt=()=>{},u_=()=>!1,Hs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),lu=e=>e.startsWith("onUpdate:"),qe=Object.assign,cu=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},f_=Object.prototype.hasOwnProperty,ke=(e,t)=>f_.call(e,t),fe=Array.isArray,Gr=e=>go(e)==="[object Map]",mo=e=>go(e)==="[object Set]",Pf=e=>go(e)==="[object Date]",d_=e=>go(e)==="[object RegExp]",ye=e=>typeof e=="function",We=e=>typeof e=="string",Cn=e=>typeof e=="symbol",ze=e=>e!==null&&typeof e=="object",uu=e=>(ze(e)||ye(e))&&ye(e.then)&&ye(e.catch),pm=Object.prototype.toString,go=e=>pm.call(e),h_=e=>go(e).slice(8,-1),mm=e=>go(e)==="[object Object]",fu=e=>We(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Wr=au(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$a=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},p_=/-(\w)/g,Xt=$a(e=>e.replace(p_,(t,n)=>n?n.toUpperCase():"")),m_=/\B([A-Z])/g,or=$a(e=>e.replace(m_,"-$1").toLowerCase()),ka=$a(e=>e.charAt(0).toUpperCase()+e.slice(1)),Oi=$a(e=>e?`on${ka(e)}`:""),hn=(e,t)=>!Object.is(e,t),Kr=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},gm=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Hi=e=>{const t=parseFloat(e);return isNaN(t)?e:t},vm=e=>{const t=We(e)?Number(e):NaN;return isNaN(t)?e:t};let $f;const ym=()=>$f||($f=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function un(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=We(r)?__(r):un(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(We(e)||ze(e))return e}const g_=/;(?![^(]*\))/g,v_=/:([^]+)/,y_=/\/\*[^]*?\*\//g;function __(e){const t={};return e.replace(y_,"").split(g_).forEach(n=>{if(n){const r=n.split(v_);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Qe(e){let t="";if(We(e))t=e;else if(fe(e))for(let n=0;n<e.length;n++){const r=Qe(e[n]);r&&(t+=r+" ")}else if(ze(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function du(e){if(!e)return null;let{class:t,style:n}=e;return t&&!We(t)&&(e.class=Qe(t)),n&&(e.style=un(n)),e}const b_="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",w_=au(b_);function _m(e){return!!e||e===""}function E_(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Tr(e[r],t[r]);return n}function Tr(e,t){if(e===t)return!0;let n=Pf(e),r=Pf(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Cn(e),r=Cn(t),n||r)return e===t;if(n=fe(e),r=fe(t),n||r)return n&&r?E_(e,t):!1;if(n=ze(e),r=ze(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!Tr(e[i],t[i]))return!1}}return String(e)===String(t)}function hu(e,t){return e.findIndex(n=>Tr(n,t))}const _t=e=>We(e)?e:e==null?"":fe(e)||ze(e)&&(e.toString===pm||!ye(e.toString))?JSON.stringify(e,bm,2):String(e),bm=(e,t)=>t&&t.__v_isRef?bm(e,t.value):Gr(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[pl(r,s)+" =>"]=o,n),{})}:mo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>pl(n))}:Cn(t)?pl(t):ze(t)&&!fe(t)&&!mm(t)?String(t):t,pl=(e,t="")=>{var n;return Cn(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
12
|
-
* @vue/reactivity v3.4.27
|
|
13
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
14
|
-
* @license MIT
|
|
15
|
-
**/let kt;class wm{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=kt,!t&&kt&&(this.index=(kt.scopes||(kt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=kt;try{return kt=this,t()}finally{kt=n}}}on(){kt=this}off(){kt=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function S_(e){return new wm(e)}function x_(e,t=kt){t&&t.active&&t.effects.push(e)}function Oa(){return kt}function Ui(e){kt&&kt.cleanups.push(e)}let Sr;class pu{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,x_(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,sr();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(C_(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),ir()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Yn,n=Sr;try{return Yn=!0,Sr=this,this._runnings++,kf(this),this.fn()}finally{Of(this),this._runnings--,Sr=n,Yn=t}}stop(){this.active&&(kf(this),Of(this),this.onStop&&this.onStop(),this.active=!1)}}function C_(e){return e.value}function kf(e){e._trackId++,e._depsLength=0}function Of(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Em(e.deps[t],e);e.deps.length=e._depsLength}}function Em(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Yn=!0,Jl=0;const Sm=[];function sr(){Sm.push(Yn),Yn=!1}function ir(){const e=Sm.pop();Yn=e===void 0?!0:e}function mu(){Jl++}function gu(){for(Jl--;!Jl&&Zl.length;)Zl.shift()()}function xm(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Em(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const Zl=[];function Cm(e,t,n){mu();for(const r of e.keys()){let o;r._dirtyLevel<t&&(o??(o=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(o??(o=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&Zl.push(r.scheduler)))}gu()}const Am=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Vi=new WeakMap,xr=Symbol(""),Ql=Symbol("");function At(e,t,n){if(Yn&&Sr){let r=Vi.get(e);r||Vi.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=Am(()=>r.delete(n))),xm(Sr,o)}}function Sn(e,t,n,r,o,s){const i=Vi.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&fe(e)){const l=Number(r);i.forEach((c,u)=>{(u==="length"||!Cn(u)&&u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":fe(e)?fu(n)&&a.push(i.get("length")):(a.push(i.get(xr)),Gr(e)&&a.push(i.get(Ql)));break;case"delete":fe(e)||(a.push(i.get(xr)),Gr(e)&&a.push(i.get(Ql)));break;case"set":Gr(e)&&a.push(i.get(xr));break}mu();for(const l of a)l&&Cm(l,4);gu()}function A_(e,t){const n=Vi.get(e);return n&&n.get(t)}const T_=au("__proto__,__v_isRef,__isVue"),Tm=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Cn)),Nf=R_();function R_(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Oe(this);for(let s=0,i=this.length;s<i;s++)At(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(Oe)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){sr(),mu();const r=Oe(this)[t].apply(this,n);return gu(),ir(),r}}),e}function P_(e){Cn(e)||(e=String(e));const t=Oe(this);return At(t,"has",e),t.hasOwnProperty(e)}class Rm{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?H_:Om:s?km:$m).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=fe(t);if(!o){if(i&&ke(Nf,n))return Reflect.get(Nf,n,r);if(n==="hasOwnProperty")return P_}const a=Reflect.get(t,n,r);return(Cn(n)?Tm.has(n):T_(n))||(o||At(t,"get",n),s)?a:je(a)?i&&fu(n)?a:a.value:ze(a)?o?Ir(a):Tt(a):a}}class Pm extends Rm{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const l=no(s);if(!Gi(r)&&!no(r)&&(s=Oe(s),r=Oe(r)),!fe(t)&&je(s)&&!je(r))return l?!1:(s.value=r,!0)}const i=fe(t)&&fu(n)?Number(n)<t.length:ke(t,n),a=Reflect.set(t,n,r,o);return t===Oe(o)&&(i?hn(r,s)&&Sn(t,"set",n,r):Sn(t,"add",n,r)),a}deleteProperty(t,n){const r=ke(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Sn(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!Cn(n)||!Tm.has(n))&&At(t,"has",n),r}ownKeys(t){return At(t,"iterate",fe(t)?"length":xr),Reflect.ownKeys(t)}}class $_ extends Rm{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const k_=new Pm,O_=new $_,N_=new Pm(!0);const vu=e=>e,Na=e=>Reflect.getPrototypeOf(e);function ri(e,t,n=!1,r=!1){e=e.__v_raw;const o=Oe(e),s=Oe(t);n||(hn(t,s)&&At(o,"get",t),At(o,"get",s));const{has:i}=Na(o),a=r?vu:n?bu:Ss;if(i.call(o,t))return a(e.get(t));if(i.call(o,s))return a(e.get(s));e!==o&&e.get(t)}function oi(e,t=!1){const n=this.__v_raw,r=Oe(n),o=Oe(e);return t||(hn(e,o)&&At(r,"has",e),At(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function si(e,t=!1){return e=e.__v_raw,!t&&At(Oe(e),"iterate",xr),Reflect.get(e,"size",e)}function If(e){e=Oe(e);const t=Oe(this);return Na(t).has.call(t,e)||(t.add(e),Sn(t,"add",e,e)),this}function Lf(e,t){t=Oe(t);const n=Oe(this),{has:r,get:o}=Na(n);let s=r.call(n,e);s||(e=Oe(e),s=r.call(n,e));const i=o.call(n,e);return n.set(e,t),s?hn(t,i)&&Sn(n,"set",e,t):Sn(n,"add",e,t),this}function Df(e){const t=Oe(this),{has:n,get:r}=Na(t);let o=n.call(t,e);o||(e=Oe(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&Sn(t,"delete",e,void 0),s}function Mf(){const e=Oe(this),t=e.size!==0,n=e.clear();return t&&Sn(e,"clear",void 0,void 0),n}function ii(e,t){return function(r,o){const s=this,i=s.__v_raw,a=Oe(i),l=t?vu:e?bu:Ss;return!e&&At(a,"iterate",xr),i.forEach((c,u)=>r.call(o,l(c),l(u),s))}}function ai(e,t,n){return function(...r){const o=this.__v_raw,s=Oe(o),i=Gr(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=o[e](...r),u=n?vu:t?bu:Ss;return!t&&At(s,"iterate",l?Ql:xr),{next(){const{value:f,done:d}=c.next();return d?{value:f,done:d}:{value:a?[u(f[0]),u(f[1])]:u(f),done:d}},[Symbol.iterator](){return this}}}}function Nn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function I_(){const e={get(s){return ri(this,s)},get size(){return si(this)},has:oi,add:If,set:Lf,delete:Df,clear:Mf,forEach:ii(!1,!1)},t={get(s){return ri(this,s,!1,!0)},get size(){return si(this)},has:oi,add:If,set:Lf,delete:Df,clear:Mf,forEach:ii(!1,!0)},n={get(s){return ri(this,s,!0)},get size(){return si(this,!0)},has(s){return oi.call(this,s,!0)},add:Nn("add"),set:Nn("set"),delete:Nn("delete"),clear:Nn("clear"),forEach:ii(!0,!1)},r={get(s){return ri(this,s,!0,!0)},get size(){return si(this,!0)},has(s){return oi.call(this,s,!0)},add:Nn("add"),set:Nn("set"),delete:Nn("delete"),clear:Nn("clear"),forEach:ii(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=ai(s,!1,!1),n[s]=ai(s,!0,!1),t[s]=ai(s,!1,!0),r[s]=ai(s,!0,!0)}),[e,n,t,r]}const[L_,D_,M_,F_]=I_();function yu(e,t){const n=t?e?F_:M_:e?D_:L_;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ke(n,o)&&o in r?n:r,o,s)}const B_={get:yu(!1,!1)},j_={get:yu(!1,!0)},z_={get:yu(!0,!1)};const $m=new WeakMap,km=new WeakMap,Om=new WeakMap,H_=new WeakMap;function U_(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function V_(e){return e.__v_skip||!Object.isExtensible(e)?0:U_(h_(e))}function Tt(e){return no(e)?e:_u(e,!1,k_,B_,$m)}function vo(e){return _u(e,!1,N_,j_,km)}function Ir(e){return _u(e,!0,O_,z_,Om)}function _u(e,t,n,r,o){if(!ze(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=V_(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function cs(e){return no(e)?cs(e.__v_raw):!!(e&&e.__v_isReactive)}function no(e){return!!(e&&e.__v_isReadonly)}function Gi(e){return!!(e&&e.__v_isShallow)}function Nm(e){return e?!!e.__v_raw:!1}function Oe(e){const t=e&&e.__v_raw;return t?Oe(t):e}function G_(e){return Object.isExtensible(e)&&gm(e,"__v_skip",!0),e}const Ss=e=>ze(e)?Tt(e):e,bu=e=>ze(e)?Ir(e):e;class Im{constructor(t,n,r,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new pu(()=>t(this._value),()=>qr(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=Oe(this);return(!t._cacheable||t.effect.dirty)&&hn(t._value,t._value=t.effect.run())&&qr(t,4),wu(t),t.effect._dirtyLevel>=2&&qr(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function W_(e,t,n=!1){let r,o;const s=ye(e);return s?(r=e,o=Mt):(r=e.get,o=e.set),new Im(r,o,s||!o,n)}function wu(e){var t;Yn&&Sr&&(e=Oe(e),xm(Sr,(t=e.dep)!=null?t:e.dep=Am(()=>e.dep=void 0,e instanceof Im?e:void 0)))}function qr(e,t=4,n){e=Oe(e);const r=e.dep;r&&Cm(r,t)}function je(e){return!!(e&&e.__v_isRef===!0)}function U(e){return Lm(e,!1)}function Jt(e){return Lm(e,!0)}function Lm(e,t){return je(e)?e:new K_(e,t)}class K_{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Oe(t),this._value=n?t:Ss(t)}get value(){return wu(this),this._value}set value(t){const n=this.__v_isShallow||Gi(t)||no(t);t=n?t:Oe(t),hn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Ss(t),qr(this,4))}}function Dm(e){qr(e,4)}function j(e){return je(e)?e.value:e}function sn(e){return ye(e)?e():j(e)}const q_={get:(e,t,n)=>j(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return je(o)&&!je(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Mm(e){return cs(e)?e:new Proxy(e,q_)}class Y_{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>wu(this),()=>qr(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Eu(e){return new Y_(e)}function X_(e){const t=fe(e)?new Array(e.length):{};for(const n in e)t[n]=Fm(e,n);return t}class J_{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return A_(Oe(this._object),this._key)}}class Z_{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Ia(e,t,n){return je(e)?e:ye(e)?new Z_(e):ze(e)&&arguments.length>1?Fm(e,t,n):U(e)}function Fm(e,t,n){const r=e[t];return je(r)?r:new J_(e,t,n)}/**
|
|
16
|
-
* @vue/runtime-core v3.4.27
|
|
17
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
18
|
-
* @license MIT
|
|
19
|
-
**/function Xn(e,t,n,r){try{return r?e(...r):e()}catch(o){yo(o,t,n)}}function jt(e,t,n,r){if(ye(e)){const o=Xn(e,t,n,r);return o&&uu(o)&&o.catch(s=>{yo(s,t,n)}),o}if(fe(e)){const o=[];for(let s=0;s<e.length;s++)o.push(jt(e[s],t,n,r));return o}}function yo(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let s=t.parent;const i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const c=s.ec;if(c){for(let u=0;u<c.length;u++)if(c[u](e,i,a)===!1)return}s=s.parent}const l=t.appContext.config.errorHandler;if(l){sr(),Xn(l,null,10,[e,i,a]),ir();return}}Q_(e,n,o,r)}function Q_(e,t,n,r=!0){console.error(e)}let xs=!1,ec=!1;const ft=[];let an=0;const Yr=[];let zn=null,vr=0;const Bm=Promise.resolve();let Su=null;function Nt(e){const t=Su||Bm;return e?t.then(this?e.bind(this):e):t}function e1(e){let t=an+1,n=ft.length;for(;t<n;){const r=t+n>>>1,o=ft[r],s=Cs(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function La(e){(!ft.length||!ft.includes(e,xs&&e.allowRecurse?an+1:an))&&(e.id==null?ft.push(e):ft.splice(e1(e.id),0,e),jm())}function jm(){!xs&&!ec&&(ec=!0,Su=Bm.then(zm))}function t1(e){const t=ft.indexOf(e);t>an&&ft.splice(t,1)}function tc(e){fe(e)?Yr.push(...e):(!zn||!zn.includes(e,e.allowRecurse?vr+1:vr))&&Yr.push(e),jm()}function Ff(e,t,n=xs?an+1:0){for(;n<ft.length;n++){const r=ft[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;ft.splice(n,1),n--,r()}}}function Wi(e){if(Yr.length){const t=[...new Set(Yr)].sort((n,r)=>Cs(n)-Cs(r));if(Yr.length=0,zn){zn.push(...t);return}for(zn=t,vr=0;vr<zn.length;vr++)zn[vr]();zn=null,vr=0}}const Cs=e=>e.id==null?1/0:e.id,n1=(e,t)=>{const n=Cs(e)-Cs(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function zm(e){ec=!1,xs=!0,ft.sort(n1);try{for(an=0;an<ft.length;an++){const t=ft[an];t&&t.active!==!1&&Xn(t,null,14)}}finally{an=0,ft.length=0,Wi(),xs=!1,Su=null,(ft.length||Yr.length)&&zm()}}function r1(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ue;let o=n;const s=t.startsWith("update:"),i=s&&t.slice(7);if(i&&i in r){const u=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:d}=r[u]||Ue;d&&(o=n.map(h=>We(h)?h.trim():h)),f&&(o=n.map(Hi))}let a,l=r[a=Oi(t)]||r[a=Oi(Xt(t))];!l&&s&&(l=r[a=Oi(or(t))]),l&&jt(l,e,6,o);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,jt(c,e,6,o)}}function Hm(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!ye(e)){const l=c=>{const u=Hm(c,t,!0);u&&(a=!0,qe(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(ze(e)&&r.set(e,null),null):(fe(s)?s.forEach(l=>i[l]=null):qe(i,s),ze(e)&&r.set(e,i),i)}function Da(e,t){return!e||!Hs(t)?!1:(t=t.slice(2).replace(/Once$/,""),ke(e,t[0].toLowerCase()+t.slice(1))||ke(e,or(t))||ke(e,t))}let Ze=null,Ma=null;function Ki(e){const t=Ze;return Ze=e,Ma=e&&e.type.__scopeId||null,t}function o1(e){Ma=e}function s1(){Ma=null}const i1=e=>ue;function ue(e,t=Ze,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Zf(-1);const s=Ki(t);let i;try{i=e(...o)}finally{Ki(s),r._d&&Zf(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function ml(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:a,emit:l,render:c,renderCache:u,props:f,data:d,setupState:h,ctx:p,inheritAttrs:g}=e,m=Ki(e);let v,_;try{if(n.shapeFlag&4){const b=o||r,E=b;v=Dt(c.call(E,b,u,f,h,d,p)),_=a}else{const b=t;v=Dt(b.length>1?b(f,{attrs:a,slots:i,emit:l}):b(f,null)),_=t.props?a:l1(a)}}catch(b){hs.length=0,yo(b,e,1),v=K(dt)}let y=v;if(_&&g!==!1){const b=Object.keys(_),{shapeFlag:E}=y;b.length&&E&7&&(s&&b.some(lu)&&(_=c1(_,s)),y=Tn(y,_,!1,!0))}return n.dirs&&(y=Tn(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),v=y,Ki(m),v}function a1(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(ao(o)){if(o.type!==dt||o.children==="v-if"){if(n)return;n=o}}else return}return n}const l1=e=>{let t;for(const n in e)(n==="class"||n==="style"||Hs(n))&&((t||(t={}))[n]=e[n]);return t},c1=(e,t)=>{const n={};for(const r in e)(!lu(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function u1(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Bf(r,i,c):!!i;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(i[d]!==r[d]&&!Da(c,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Bf(r,i,c):!0:!!i;return!1}function Bf(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(t[s]!==e[s]&&!Da(n,s))return!0}return!1}function xu({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const Cu="components",f1="directives";function An(e,t){return Au(Cu,e,!0,t)||e}const Um=Symbol.for("v-ndc");function ro(e){return We(e)?Au(Cu,e,!1)||e:e||Um}function d1(e){return Au(f1,e)}function Au(e,t,n=!0,r=!1){const o=Ze||nt;if(o){const s=o.type;if(e===Cu){const a=fc(s,!1);if(a&&(a===t||a===Xt(t)||a===ka(Xt(t))))return s}const i=jf(o[e]||s[e],t)||jf(o.appContext[e],t);return!i&&r?s:i}}function jf(e,t){return e&&(e[t]||e[Xt(t)]||e[ka(Xt(t))])}const Vm=e=>e.__isSuspense;let nc=0;const h1={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,a,l,c){if(e==null)p1(t,n,r,o,s,i,a,l,c);else{if(s&&s.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}m1(e,t,n,r,o,i,a,l,c)}},hydrate:g1,create:Ru,normalize:v1},Tu=h1;function As(e,t){const n=e.props&&e.props[t];ye(n)&&n()}function p1(e,t,n,r,o,s,i,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=e.suspense=Ru(e,o,r,t,f,n,s,i,a,l);c(null,d.pendingBranch=e.ssContent,f,null,r,d,s,i),d.deps>0?(As(e,"onPending"),As(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,s,i),Xr(d,e.ssFallback)):d.resolve(!1,!0)}function m1(e,t,n,r,o,s,i,a,{p:l,um:c,o:{createElement:u}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const d=t.ssContent,h=t.ssFallback,{activeBranch:p,pendingBranch:g,isInFallback:m,isHydrating:v}=f;if(g)f.pendingBranch=d,Wt(d,g)?(l(g,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0?f.resolve():m&&(v||(l(p,h,n,r,o,null,s,i,a),Xr(f,h)))):(f.pendingId=nc++,v?(f.isHydrating=!1,f.activeBranch=g):c(g,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),m?(l(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0?f.resolve():(l(p,h,n,r,o,null,s,i,a),Xr(f,h))):p&&Wt(d,p)?(l(p,d,n,r,o,f,s,i,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0&&f.resolve()));else if(p&&Wt(d,p))l(p,d,n,r,o,f,s,i,a),Xr(f,d);else if(As(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=nc++,l(null,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0)f.resolve();else{const{timeout:_,pendingId:y}=f;_>0?setTimeout(()=>{f.pendingId===y&&f.fallback(h)},_):_===0&&f.fallback(h)}}function Ru(e,t,n,r,o,s,i,a,l,c,u=!1){const{p:f,m:d,um:h,n:p,o:{parentNode:g,remove:m}}=c;let v;const _=y1(e);_&&t&&t.pendingBranch&&(v=t.pendingId,t.deps++);const y=e.props?vm(e.props.timeout):void 0,b=s,E={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:nc++,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(C=!1,O=!1){const{vnode:k,activeBranch:D,pendingBranch:P,pendingId:L,effects:A,parentComponent:S,container:T}=E;let B=!1;E.isHydrating?E.isHydrating=!1:C||(B=D&&P.transition&&P.transition.mode==="out-in",B&&(D.transition.afterLeave=()=>{L===E.pendingId&&(d(P,T,s===b?p(D):s,0),tc(A))}),D&&(g(D.el)!==E.hiddenContainer&&(s=p(D)),h(D,S,E,!0)),B||d(P,T,s,0)),Xr(E,P),E.pendingBranch=null,E.isInFallback=!1;let R=E.parent,$=!1;for(;R;){if(R.pendingBranch){R.effects.push(...A),$=!0;break}R=R.parent}!$&&!B&&tc(A),E.effects=[],_&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,t.deps===0&&!O&&t.resolve()),As(k,"onResolve")},fallback(C){if(!E.pendingBranch)return;const{vnode:O,activeBranch:k,parentComponent:D,container:P,namespace:L}=E;As(O,"onFallback");const A=p(k),S=()=>{E.isInFallback&&(f(null,C,P,A,D,null,L,a,l),Xr(E,C))},T=C.transition&&C.transition.mode==="out-in";T&&(k.transition.afterLeave=S),E.isInFallback=!0,h(k,D,null,!0),T||S()},move(C,O,k){E.activeBranch&&d(E.activeBranch,C,O,k),E.container=C},next(){return E.activeBranch&&p(E.activeBranch)},registerDep(C,O){const k=!!E.pendingBranch;k&&E.deps++;const D=C.vnode.el;C.asyncDep.catch(P=>{yo(P,C,0)}).then(P=>{if(C.isUnmounted||E.isUnmounted||E.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:L}=C;uc(C,P,!1),D&&(L.el=D);const A=!D&&C.subTree.el;O(C,L,g(D||C.subTree.el),D?null:p(C.subTree),E,i,l),A&&m(A),xu(C,L.el),k&&--E.deps===0&&E.resolve()})},unmount(C,O){E.isUnmounted=!0,E.activeBranch&&h(E.activeBranch,n,C,O),E.pendingBranch&&h(E.pendingBranch,n,C,O)}};return E}function g1(e,t,n,r,o,s,i,a,l){const c=t.suspense=Ru(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,s,i);return c.deps===0&&c.resolve(!1,!0),u}function v1(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=zf(r?n.default:n),e.ssFallback=r?zf(n.fallback):K(dt)}function zf(e){let t;if(ye(e)){const n=io&&e._c;n&&(e._d=!1,Y()),e=e(),n&&(e._d=!0,t=Ft,_g())}return fe(e)&&(e=a1(e)),e=Dt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Gm(e,t){t&&t.pendingBranch?fe(e)?t.effects.push(...e):t.effects.push(e):tc(e)}function Xr(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,xu(r,o))}function y1(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const _1=Symbol.for("v-scx"),b1=()=>bt(_1);function Rr(e,t){return Fa(e,null,t)}function w1(e,t){return Fa(e,null,{flush:"sync"})}const li={};function De(e,t,n){return Fa(e,t,n)}function Fa(e,t,{immediate:n,deep:r,flush:o,once:s,onTrack:i,onTrigger:a}=Ue){if(t&&s){const C=t;t=(...O)=>{C(...O),E()}}const l=nt,c=C=>r===!0?C:br(C,r===!1?1:void 0);let u,f=!1,d=!1;if(je(e)?(u=()=>e.value,f=Gi(e)):cs(e)?(u=()=>c(e),f=!0):fe(e)?(d=!0,f=e.some(C=>cs(C)||Gi(C)),u=()=>e.map(C=>{if(je(C))return C.value;if(cs(C))return c(C);if(ye(C))return Xn(C,l,2)})):ye(e)?t?u=()=>Xn(e,l,2):u=()=>(h&&h(),jt(e,l,3,[p])):u=Mt,t&&r){const C=u;u=()=>br(C())}let h,p=C=>{h=y.onStop=()=>{Xn(C,l,4),h=y.onStop=void 0}},g;if(Gs)if(p=Mt,t?n&&jt(t,l,3,[u(),d?[]:void 0,p]):u(),o==="sync"){const C=b1();g=C.__watcherHandles||(C.__watcherHandles=[])}else return Mt;let m=d?new Array(e.length).fill(li):li;const v=()=>{if(!(!y.active||!y.dirty))if(t){const C=y.run();(r||f||(d?C.some((O,k)=>hn(O,m[k])):hn(C,m)))&&(h&&h(),jt(t,l,3,[C,m===li?void 0:d&&m[0]===li?[]:m,p]),m=C)}else y.run()};v.allowRecurse=!!t;let _;o==="sync"?_=v:o==="post"?_=()=>ct(v,l&&l.suspense):(v.pre=!0,l&&(v.id=l.uid),_=()=>La(v));const y=new pu(u,Mt,_),b=Oa(),E=()=>{y.stop(),b&&cu(b.effects,y)};return t?n?v():m=y.run():o==="post"?ct(y.run.bind(y),l&&l.suspense):y.run(),g&&g.push(E),E}function E1(e,t,n){const r=this.proxy,o=We(e)?e.includes(".")?Wm(r,e):()=>r[e]:e.bind(r,r);let s;ye(t)?s=t:(s=t.handler,n=t);const i=Pr(this),a=Fa(o,s.bind(r),n);return i(),a}function Wm(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function br(e,t=1/0,n){if(t<=0||!ze(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,je(e))br(e.value,t,n);else if(fe(e))for(let r=0;r<e.length;r++)br(e[r],t,n);else if(mo(e)||Gr(e))e.forEach(r=>{br(r,t,n)});else if(mm(e))for(const r in e)br(e[r],t,n);return e}function Ts(e,t){if(Ze===null)return e;const n=Ha(Ze)||Ze.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=Ue]=t[o];s&&(ye(s)&&(s={mounted:s,updated:s}),s.deep&&br(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function rn(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(sr(),jt(l,n,8,[e.el,a,e,t]),ir())}}const Hn=Symbol("_leaveCb"),ci=Symbol("_enterCb");function Km(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return kn(()=>{e.isMounted=!0}),Vs(()=>{e.isUnmounting=!0}),e}const It=[Function,Array],qm={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:It,onEnter:It,onAfterEnter:It,onEnterCancelled:It,onBeforeLeave:It,onLeave:It,onAfterLeave:It,onLeaveCancelled:It,onBeforeAppear:It,onAppear:It,onAfterAppear:It,onAppearCancelled:It},S1={name:"BaseTransition",props:qm,setup(e,{slots:t}){const n=Ht(),r=Km();return()=>{const o=t.default&&Pu(t.default(),!0);if(!o||!o.length)return;let s=o[0];if(o.length>1){for(const d of o)if(d.type!==dt){s=d;break}}const i=Oe(e),{mode:a}=i;if(r.isLeaving)return gl(s);const l=Hf(s);if(!l)return gl(s);const c=Rs(l,i,r,n);oo(l,c);const u=n.subTree,f=u&&Hf(u);if(f&&f.type!==dt&&!Wt(l,f)){const d=Rs(f,i,r,n);if(oo(f,d),a==="out-in"&&l.type!==dt)return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},gl(s);a==="in-out"&&l.type!==dt&&(d.delayLeave=(h,p,g)=>{const m=Ym(r,f);m[String(f.key)]=f,h[Hn]=()=>{p(),h[Hn]=void 0,delete c.delayedLeave},c.delayedLeave=g})}return s}}},x1=S1;function Ym(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Rs(e,t,n,r){const{appear:o,mode:s,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:g,onAppear:m,onAfterAppear:v,onAppearCancelled:_}=t,y=String(e.key),b=Ym(n,e),E=(k,D)=>{k&&jt(k,r,9,D)},C=(k,D)=>{const P=D[1];E(k,D),fe(k)?k.every(L=>L.length<=1)&&P():k.length<=1&&P()},O={mode:s,persisted:i,beforeEnter(k){let D=a;if(!n.isMounted)if(o)D=g||a;else return;k[Hn]&&k[Hn](!0);const P=b[y];P&&Wt(e,P)&&P.el[Hn]&&P.el[Hn](),E(D,[k])},enter(k){let D=l,P=c,L=u;if(!n.isMounted)if(o)D=m||l,P=v||c,L=_||u;else return;let A=!1;const S=k[ci]=T=>{A||(A=!0,T?E(L,[k]):E(P,[k]),O.delayedLeave&&O.delayedLeave(),k[ci]=void 0)};D?C(D,[k,S]):S()},leave(k,D){const P=String(e.key);if(k[ci]&&k[ci](!0),n.isUnmounting)return D();E(f,[k]);let L=!1;const A=k[Hn]=S=>{L||(L=!0,D(),S?E(p,[k]):E(h,[k]),k[Hn]=void 0,b[P]===e&&delete b[P])};b[P]=e,d?C(d,[k,A]):A()},clone(k){return Rs(k,t,n,r)}};return O}function gl(e){if(Us(e))return e=Tn(e),e.children=null,e}function Hf(e){if(!Us(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&ye(n.default))return n.default()}}function oo(e,t){e.shapeFlag&6&&e.component?oo(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 Pu(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let i=e[s];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:s);i.type===Le?(i.patchFlag&128&&o++,r=r.concat(Pu(i.children,t,a))):(t||i.type!==dt)&&r.push(a!=null?Tn(i,{key:a}):i)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function Ae(e,t){return ye(e)?qe({name:e.name},t,{setup:e}):e}const Cr=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function qi(e){ye(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:s,suspensible:i=!0,onError:a}=e;let l=null,c,u=0;const f=()=>(u++,l=null,d()),d=()=>{let h;return l||(h=l=t().catch(p=>{if(p=p instanceof Error?p:new Error(String(p)),a)return new Promise((g,m)=>{a(p,()=>g(f()),()=>m(p),u+1)});throw p}).then(p=>h!==l&&l?l:(p&&(p.__esModule||p[Symbol.toStringTag]==="Module")&&(p=p.default),c=p,p)))};return Ae({name:"AsyncComponentWrapper",__asyncLoader:d,get __asyncResolved(){return c},setup(){const h=nt;if(c)return()=>vl(c,h);const p=_=>{l=null,yo(_,h,13,!r)};if(i&&h.suspense||Gs)return d().then(_=>()=>vl(_,h)).catch(_=>(p(_),()=>r?K(r,{error:_}):null));const g=U(!1),m=U(),v=U(!!o);return o&&setTimeout(()=>{v.value=!1},o),s!=null&&setTimeout(()=>{if(!g.value&&!m.value){const _=new Error(`Async component timed out after ${s}ms.`);p(_),m.value=_}},s),d().then(()=>{g.value=!0,h.parent&&Us(h.parent.vnode)&&(h.parent.effect.dirty=!0,La(h.parent.update))}).catch(_=>{p(_),m.value=_}),()=>{if(g.value&&c)return vl(c,h);if(m.value&&r)return K(r,{error:m.value});if(n&&!v.value)return K(n)}}})}function vl(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=K(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const Us=e=>e.type.__isKeepAlive,C1={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Ht(),r=n.ctx;if(!r.renderer)return()=>{const _=t.default&&t.default();return _&&_.length===1?_[0]:_};const o=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:u,o:{createElement:f}}}=r,d=f("div");r.activate=(_,y,b,E,C)=>{const O=_.component;c(_,y,b,0,a),l(O.vnode,_,y,b,O,a,E,_.slotScopeIds,C),ct(()=>{O.isDeactivated=!1,O.a&&Kr(O.a);const k=_.props&&_.props.onVnodeMounted;k&&St(k,O.parent,_)},a)},r.deactivate=_=>{const y=_.component;c(_,d,null,1,a),ct(()=>{y.da&&Kr(y.da);const b=_.props&&_.props.onVnodeUnmounted;b&&St(b,y.parent,_),y.isDeactivated=!0},a)};function h(_){yl(_),u(_,n,a,!0)}function p(_){o.forEach((y,b)=>{const E=fc(y.type);E&&(!_||!_(E))&&g(b)})}function g(_){const y=o.get(_);!i||!Wt(y,i)?h(y):i&&yl(i),o.delete(_),s.delete(_)}De(()=>[e.include,e.exclude],([_,y])=>{_&&p(b=>ss(_,b)),y&&p(b=>!ss(y,b))},{flush:"post",deep:!0});let m=null;const v=()=>{m!=null&&o.set(m,_l(n.subTree))};return kn(v),$u(v),Vs(()=>{o.forEach(_=>{const{subTree:y,suspense:b}=n,E=_l(y);if(_.type===E.type&&_.key===E.key){yl(E);const C=E.component.da;C&&ct(C,b);return}h(_)})}),()=>{if(m=null,!t.default)return null;const _=t.default(),y=_[0];if(_.length>1)return i=null,_;if(!ao(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return i=null,y;let b=_l(y);const E=b.type,C=fc(Cr(b)?b.type.__asyncResolved||{}:E),{include:O,exclude:k,max:D}=e;if(O&&(!C||!ss(O,C))||k&&C&&ss(k,C))return i=b,y;const P=b.key==null?E:b.key,L=o.get(P);return b.el&&(b=Tn(b),y.shapeFlag&128&&(y.ssContent=b)),m=P,L?(b.el=L.el,b.component=L.component,b.transition&&oo(b,b.transition),b.shapeFlag|=512,s.delete(P),s.add(P)):(s.add(P),D&&s.size>parseInt(D,10)&&g(s.values().next().value)),b.shapeFlag|=256,i=b,Vm(y.type)?y:b}}},A1=C1;function ss(e,t){return fe(e)?e.some(n=>ss(n,t)):We(e)?e.split(",").includes(t):d_(e)?e.test(t):!1}function Xm(e,t){Zm(e,"a",t)}function Jm(e,t){Zm(e,"da",t)}function Zm(e,t,n=nt){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ba(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Us(o.parent.vnode)&&T1(r,t,n,o),o=o.parent}}function T1(e,t,n,r){const o=Ba(t,e,r,!0);ja(()=>{cu(r[t],o)},n)}function yl(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function _l(e){return e.shapeFlag&128?e.ssContent:e}function Ba(e,t,n=nt,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;sr();const a=Pr(n),l=jt(t,n,e,i);return a(),ir(),l});return r?o.unshift(s):o.push(s),s}}const $n=e=>(t,n=nt)=>(!Gs||e==="sp")&&Ba(e,(...r)=>t(...r),n),Qm=$n("bm"),kn=$n("m"),R1=$n("bu"),$u=$n("u"),Vs=$n("bum"),ja=$n("um"),P1=$n("sp"),$1=$n("rtg"),k1=$n("rtc");function eg(e,t=nt){Ba("ec",e,t)}function Ps(e,t,n,r){let o;const s=n&&n[r];if(fe(e)||We(e)){o=new Array(e.length);for(let i=0,a=e.length;i<a;i++)o[i]=t(e[i],i,void 0,s&&s[i])}else if(typeof e=="number"){o=new Array(e);for(let i=0;i<e;i++)o[i]=t(i+1,i,void 0,s&&s[i])}else if(ze(e))if(e[Symbol.iterator])o=Array.from(e,(i,a)=>t(i,a,void 0,s&&s[a]));else{const i=Object.keys(e);o=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const c=i[a];o[a]=t(e[c],c,a,s&&s[a])}}else o=[];return n&&(n[r]=o),o}function O1(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(fe(r))for(let o=0;o<r.length;o++)e[r[o].name]=r[o].fn;else r&&(e[r.name]=r.key?(...o)=>{const s=r.fn(...o);return s&&(s.key=r.key),s}:r.fn)}return e}function tt(e,t,n={},r,o){if(Ze.isCE||Ze.parent&&Cr(Ze.parent)&&Ze.parent.isCE)return t!=="default"&&(n.name=t),K("slot",n,r&&r());let s=e[t];s&&s._c&&(s._d=!1),Y();const i=s&&tg(s(n)),a=xe(Le,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function tg(e){return e.some(t=>ao(t)?!(t.type===dt||t.type===Le&&!tg(t.children)):!0)?e:null}function A6(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Oi(r)]=e[r];return n}const rc=e=>e?Eg(e)?Ha(e)||e.proxy:rc(e.parent):null,us=qe(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=>rc(e.parent),$root:e=>rc(e.root),$emit:e=>e.emit,$options:e=>ku(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,La(e.update)}),$nextTick:e=>e.n||(e.n=Nt.bind(e.proxy)),$watch:e=>E1.bind(e)}),bl=(e,t)=>e!==Ue&&!e.__isScriptSetup&&ke(e,t),N1={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const h=i[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(bl(r,t))return i[t]=1,r[t];if(o!==Ue&&ke(o,t))return i[t]=2,o[t];if((c=e.propsOptions[0])&&ke(c,t))return i[t]=3,s[t];if(n!==Ue&&ke(n,t))return i[t]=4,n[t];oc&&(i[t]=0)}}const u=us[t];let f,d;if(u)return t==="$attrs"&&At(e.attrs,"get",""),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Ue&&ke(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,ke(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return bl(o,t)?(o[t]=n,!0):r!==Ue&&ke(r,t)?(r[t]=n,!0):ke(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},i){let a;return!!n[i]||e!==Ue&&ke(e,i)||bl(t,i)||(a=s[0])&&ke(a,i)||ke(r,i)||ke(us,i)||ke(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ke(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function T6(){return ng().slots}function R6(){return ng().attrs}function ng(){const e=Ht();return e.setupContext||(e.setupContext=xg(e))}function Yi(e){return fe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function P6(e,t){return!e||!t?e||t:fe(e)&&fe(t)?e.concat(t):qe({},Yi(e),Yi(t))}function $6(e){const t=Ht();let n=e();return cc(),uu(n)&&(n=n.catch(r=>{throw Pr(t),r})),[n,()=>Pr(t)]}let oc=!0;function I1(e){const t=ku(e),n=e.proxy,r=e.ctx;oc=!1,t.beforeCreate&&Uf(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:h,updated:p,activated:g,deactivated:m,beforeDestroy:v,beforeUnmount:_,destroyed:y,unmounted:b,render:E,renderTracked:C,renderTriggered:O,errorCaptured:k,serverPrefetch:D,expose:P,inheritAttrs:L,components:A,directives:S,filters:T}=t;if(c&&L1(c,r,null),i)for(const $ in i){const I=i[$];ye(I)&&(r[$]=I.bind(n))}if(o){const $=o.call(n,n);ze($)&&(e.data=Tt($))}if(oc=!0,s)for(const $ in s){const I=s[$],J=ye(I)?I.bind(n,n):ye(I.get)?I.get.bind(n,n):Mt,ae=!ye(I)&&ye(I.set)?I.set.bind(n):Mt,ie=se({get:J,set:ae});Object.defineProperty(r,$,{enumerable:!0,configurable:!0,get:()=>ie.value,set:le=>ie.value=le})}if(a)for(const $ in a)rg(a[$],r,n,$);if(l){const $=ye(l)?l.call(n):l;Reflect.ownKeys($).forEach(I=>{Jn(I,$[I])})}u&&Uf(u,e,"c");function R($,I){fe(I)?I.forEach(J=>$(J.bind(n))):I&&$(I.bind(n))}if(R(Qm,f),R(kn,d),R(R1,h),R($u,p),R(Xm,g),R(Jm,m),R(eg,k),R(k1,C),R($1,O),R(Vs,_),R(ja,b),R(P1,D),fe(P))if(P.length){const $=e.exposed||(e.exposed={});P.forEach(I=>{Object.defineProperty($,I,{get:()=>n[I],set:J=>n[I]=J})})}else e.exposed||(e.exposed={});E&&e.render===Mt&&(e.render=E),L!=null&&(e.inheritAttrs=L),A&&(e.components=A),S&&(e.directives=S)}function L1(e,t,n=Mt){fe(e)&&(e=sc(e));for(const r in e){const o=e[r];let s;ze(o)?"default"in o?s=bt(o.from||r,o.default,!0):s=bt(o.from||r):s=bt(o),je(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function Uf(e,t,n){jt(fe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function rg(e,t,n,r){const o=r.includes(".")?Wm(n,r):()=>n[r];if(We(e)){const s=t[e];ye(s)&&De(o,s)}else if(ye(e))De(o,e.bind(n));else if(ze(e))if(fe(e))e.forEach(s=>rg(s,t,n,r));else{const s=ye(e.handler)?e.handler.bind(n):t[e.handler];ye(s)&&De(o,s,e)}}function ku(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>Xi(l,c,i,!0)),Xi(l,t,i)),ze(t)&&s.set(t,l),l}function Xi(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Xi(e,s,n,!0),o&&o.forEach(i=>Xi(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=D1[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const D1={data:Vf,props:Gf,emits:Gf,methods:is,computed:is,beforeCreate:mt,created:mt,beforeMount:mt,mounted:mt,beforeUpdate:mt,updated:mt,beforeDestroy:mt,beforeUnmount:mt,destroyed:mt,unmounted:mt,activated:mt,deactivated:mt,errorCaptured:mt,serverPrefetch:mt,components:is,directives:is,watch:F1,provide:Vf,inject:M1};function Vf(e,t){return t?e?function(){return qe(ye(e)?e.call(this,this):e,ye(t)?t.call(this,this):t)}:t:e}function M1(e,t){return is(sc(e),sc(t))}function sc(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function mt(e,t){return e?[...new Set([].concat(e,t))]:t}function is(e,t){return e?qe(Object.create(null),e,t):t}function Gf(e,t){return e?fe(e)&&fe(t)?[...new Set([...e,...t])]:qe(Object.create(null),Yi(e),Yi(t??{})):t}function F1(e,t){if(!e)return t;if(!t)return e;const n=qe(Object.create(null),e);for(const r in t)n[r]=mt(e[r],t[r]);return n}function og(){return{app:null,config:{isNativeTag:u_,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 B1=0;function j1(e,t){return function(r,o=null){ye(r)||(r=qe({},r)),o!=null&&!ze(o)&&(o=null);const s=og(),i=new WeakSet;let a=!1;const l=s.app={_uid:B1++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:Cg,get config(){return s.config},set config(c){},use(c,...u){return i.has(c)||(c&&ye(c.install)?(i.add(c),c.install(l,...u)):ye(c)&&(i.add(c),c(l,...u))),l},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),l},component(c,u){return u?(s.components[c]=u,l):s.components[c]},directive(c,u){return u?(s.directives[c]=u,l):s.directives[c]},mount(c,u,f){if(!a){const d=K(r,o);return d.appContext=s,f===!0?f="svg":f===!1&&(f=void 0),u&&t?t(d,c):e(d,c,f),a=!0,l._container=c,c.__vue_app__=l,Ha(d.component)||d.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,u){return s.provides[c]=u,l},runWithContext(c){const u=Jr;Jr=l;try{return c()}finally{Jr=u}}};return l}}let Jr=null;function Jn(e,t){if(nt){let n=nt.provides;const r=nt.parent&&nt.parent.provides;r===n&&(n=nt.provides=Object.create(r)),n[e]=t}}function bt(e,t,n=!1){const r=nt||Ze;if(r||Jr){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Jr._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&ye(t)?t.call(r&&r.proxy):t}}function sg(){return!!(nt||Ze||Jr)}const ig={},ag=()=>Object.create(ig),lg=e=>Object.getPrototypeOf(e)===ig;function z1(e,t,n,r=!1){const o={},s=ag();e.propsDefaults=Object.create(null),cg(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:vo(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function H1(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=Oe(o),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Da(e.emitsOptions,d))continue;const h=t[d];if(l)if(ke(s,d))h!==s[d]&&(s[d]=h,c=!0);else{const p=Xt(d);o[p]=ic(l,a,p,h,e,!1)}else h!==s[d]&&(s[d]=h,c=!0)}}}else{cg(e,t,o,s)&&(c=!0);let u;for(const f in a)(!t||!ke(t,f)&&((u=or(f))===f||!ke(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=ic(l,a,f,void 0,e,!0)):delete o[f]);if(s!==a)for(const f in s)(!t||!ke(t,f))&&(delete s[f],c=!0)}c&&Sn(e.attrs,"set","")}function cg(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Wr(l))continue;const c=t[l];let u;o&&ke(o,u=Xt(l))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:Da(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(s){const l=Oe(n),c=a||Ue;for(let u=0;u<s.length;u++){const f=s[u];n[f]=ic(o,l,f,c[f],e,!ke(c,f))}}return i}function ic(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=ke(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&ye(l)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=Pr(o);r=c[n]=l.call(null,t),u()}}else r=l}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===or(n))&&(r=!0))}return r}function ug(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!ye(e)){const u=f=>{l=!0;const[d,h]=ug(f,t,!0);qe(i,d),h&&a.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!s&&!l)return ze(e)&&r.set(e,Vr),Vr;if(fe(s))for(let u=0;u<s.length;u++){const f=Xt(s[u]);Wf(f)&&(i[f]=Ue)}else if(s)for(const u in s){const f=Xt(u);if(Wf(f)){const d=s[u],h=i[f]=fe(d)||ye(d)?{type:d}:qe({},d);if(h){const p=Yf(Boolean,h.type),g=Yf(String,h.type);h[0]=p>-1,h[1]=g<0||p<g,(p>-1||ke(h,"default"))&&a.push(f)}}}const c=[i,a];return ze(e)&&r.set(e,c),c}function Wf(e){return e[0]!=="$"&&!Wr(e)}function Kf(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function qf(e,t){return Kf(e)===Kf(t)}function Yf(e,t){return fe(t)?t.findIndex(n=>qf(n,e)):ye(t)&&qf(t,e)?0:-1}const fg=e=>e[0]==="_"||e==="$stable",Ou=e=>fe(e)?e.map(Dt):[Dt(e)],U1=(e,t,n)=>{if(t._n)return t;const r=ue((...o)=>Ou(t(...o)),n);return r._c=!1,r},dg=(e,t,n)=>{const r=e._ctx;for(const o in e){if(fg(o))continue;const s=e[o];if(ye(s))t[o]=U1(o,s,r);else if(s!=null){const i=Ou(s);t[o]=()=>i}}},hg=(e,t)=>{const n=Ou(t);e.slots.default=()=>n},V1=(e,t)=>{const n=e.slots=ag();if(e.vnode.shapeFlag&32){const r=t._;r?(qe(n,t),gm(n,"_",r,!0)):dg(t,n)}else t&&hg(e,t)},G1=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=Ue;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(qe(o,t),!n&&a===1&&delete o._):(s=!t.$stable,dg(t,o)),i=t}else t&&(hg(e,t),i={default:1});if(s)for(const a in o)!fg(a)&&i[a]==null&&delete o[a]};function Ji(e,t,n,r,o=!1){if(fe(e)){e.forEach((d,h)=>Ji(d,t&&(fe(t)?t[h]:t),n,r,o));return}if(Cr(r)&&!o)return;const s=r.shapeFlag&4?Ha(r.component)||r.component.proxy:r.el,i=o?null:s,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Ue?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(We(c)?(u[c]=null,ke(f,c)&&(f[c]=null)):je(c)&&(c.value=null)),ye(l))Xn(l,a,12,[i,u]);else{const d=We(l),h=je(l);if(d||h){const p=()=>{if(e.f){const g=d?ke(f,l)?f[l]:u[l]:l.value;o?fe(g)&&cu(g,s):fe(g)?g.includes(s)||g.push(s):d?(u[l]=[s],ke(f,l)&&(f[l]=u[l])):(l.value=[s],e.k&&(u[e.k]=l.value))}else d?(u[l]=i,ke(f,l)&&(f[l]=i)):h&&(l.value=i,e.k&&(u[e.k]=i))};i?(p.id=-1,ct(p,n)):p()}}}let In=!1;const W1=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",K1=e=>e.namespaceURI.includes("MathML"),ui=e=>{if(W1(e))return"svg";if(K1(e))return"mathml"},fi=e=>e.nodeType===8;function q1(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:a,insert:l,createComment:c}}=e,u=(y,b)=>{if(!b.hasChildNodes()){n(null,y,b),Wi(),b._vnode=y;return}In=!1,f(b.firstChild,y,null,null,null),Wi(),b._vnode=y,In&&console.error("Hydration completed but contains mismatches.")},f=(y,b,E,C,O,k=!1)=>{k=k||!!b.dynamicChildren;const D=fi(y)&&y.data==="[",P=()=>g(y,b,E,C,O,D),{type:L,ref:A,shapeFlag:S,patchFlag:T}=b;let B=y.nodeType;b.el=y,T===-2&&(k=!1,b.dynamicChildren=null);let R=null;switch(L){case so:B!==3?b.children===""?(l(b.el=o(""),i(y),y),R=y):R=P():(y.data!==b.children&&(In=!0,y.data=b.children),R=s(y));break;case dt:_(y)?(R=s(y),v(b.el=y.content.firstChild,y,E)):B!==8||D?R=P():R=s(y);break;case ds:if(D&&(y=s(y),B=y.nodeType),B===1||B===3){R=y;const $=!b.children.length;for(let I=0;I<b.staticCount;I++)$&&(b.children+=R.nodeType===1?R.outerHTML:R.data),I===b.staticCount-1&&(b.anchor=R),R=s(R);return D?s(R):R}else P();break;case Le:D?R=p(y,b,E,C,O,k):R=P();break;default:if(S&1)(B!==1||b.type.toLowerCase()!==y.tagName.toLowerCase())&&!_(y)?R=P():R=d(y,b,E,C,O,k);else if(S&6){b.slotScopeIds=O;const $=i(y);if(D?R=m(y):fi(y)&&y.data==="teleport start"?R=m(y,y.data,"teleport end"):R=s(y),t(b,$,null,E,C,ui($),k),Cr(b)){let I;D?(I=K(Le),I.anchor=R?R.previousSibling:$.lastChild):I=y.nodeType===3?Re(""):K("div"),I.el=y,b.component.subTree=I}}else S&64?B!==8?R=P():R=b.type.hydrate(y,b,E,C,O,k,e,h):S&128&&(R=b.type.hydrate(y,b,E,C,ui(i(y)),O,k,e,f))}return A!=null&&Ji(A,null,C,b),R},d=(y,b,E,C,O,k)=>{k=k||!!b.dynamicChildren;const{type:D,props:P,patchFlag:L,shapeFlag:A,dirs:S,transition:T}=b,B=D==="input"||D==="option";if(B||L!==-1){S&&rn(b,null,E,"created");let R=!1;if(_(y)){R=mg(C,T)&&E&&E.vnode.props&&E.vnode.props.appear;const I=y.content.firstChild;R&&T.beforeEnter(I),v(I,y,E),b.el=y=I}if(A&16&&!(P&&(P.innerHTML||P.textContent))){let I=h(y.firstChild,b,y,E,C,O,k);for(;I;){In=!0;const J=I;I=I.nextSibling,a(J)}}else A&8&&y.textContent!==b.children&&(In=!0,y.textContent=b.children);if(P)if(B||!k||L&48)for(const I in P)(B&&(I.endsWith("value")||I==="indeterminate")||Hs(I)&&!Wr(I)||I[0]===".")&&r(y,I,null,P[I],void 0,void 0,E);else P.onClick&&r(y,"onClick",null,P.onClick,void 0,void 0,E);let $;($=P&&P.onVnodeBeforeMount)&&St($,E,b),S&&rn(b,null,E,"beforeMount"),(($=P&&P.onVnodeMounted)||S||R)&&Gm(()=>{$&&St($,E,b),R&&T.enter(y),S&&rn(b,null,E,"mounted")},C)}return y.nextSibling},h=(y,b,E,C,O,k,D)=>{D=D||!!b.dynamicChildren;const P=b.children,L=P.length;for(let A=0;A<L;A++){const S=D?P[A]:P[A]=Dt(P[A]);if(y)y=f(y,S,C,O,k,D);else{if(S.type===so&&!S.children)continue;In=!0,n(null,S,E,null,C,O,ui(E),k)}}return y},p=(y,b,E,C,O,k)=>{const{slotScopeIds:D}=b;D&&(O=O?O.concat(D):D);const P=i(y),L=h(s(y),b,P,E,C,O,k);return L&&fi(L)&&L.data==="]"?s(b.anchor=L):(In=!0,l(b.anchor=c("]"),P,L),L)},g=(y,b,E,C,O,k)=>{if(In=!0,b.el=null,k){const L=m(y);for(;;){const A=s(y);if(A&&A!==L)a(A);else break}}const D=s(y),P=i(y);return a(y),n(null,b,P,D,E,C,ui(P),O),D},m=(y,b="[",E="]")=>{let C=0;for(;y;)if(y=s(y),y&&fi(y)&&(y.data===b&&C++,y.data===E)){if(C===0)return s(y);C--}return y},v=(y,b,E)=>{const C=b.parentNode;C&&C.replaceChild(y,b);let O=E;for(;O;)O.vnode.el===b&&(O.vnode.el=O.subTree.el=y),O=O.parent},_=y=>y.nodeType===1&&y.tagName.toLowerCase()==="template";return[u,f]}const ct=Gm;function Y1(e){return pg(e)}function X1(e){return pg(e,q1)}function pg(e,t){const n=ym();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:h=Mt,insertStaticContent:p}=e,g=(w,x,N,z=null,M=null,X=null,te=void 0,q=null,Z=!!x.dynamicChildren)=>{if(w===x)return;w&&!Wt(w,x)&&(z=F(w),le(w,M,X,!0),w=null),x.patchFlag===-2&&(Z=!1,x.dynamicChildren=null);const{type:H,ref:re,shapeFlag:he}=x;switch(H){case so:m(w,x,N,z);break;case dt:v(w,x,N,z);break;case ds:w==null&&_(x,N,z,te);break;case Le:A(w,x,N,z,M,X,te,q,Z);break;default:he&1?E(w,x,N,z,M,X,te,q,Z):he&6?S(w,x,N,z,M,X,te,q,Z):(he&64||he&128)&&H.process(w,x,N,z,M,X,te,q,Z,ce)}re!=null&&M&&Ji(re,w&&w.ref,X,x||w,!x)},m=(w,x,N,z)=>{if(w==null)r(x.el=a(x.children),N,z);else{const M=x.el=w.el;x.children!==w.children&&c(M,x.children)}},v=(w,x,N,z)=>{w==null?r(x.el=l(x.children||""),N,z):x.el=w.el},_=(w,x,N,z)=>{[w.el,w.anchor]=p(w.children,x,N,z,w.el,w.anchor)},y=({el:w,anchor:x},N,z)=>{let M;for(;w&&w!==x;)M=d(w),r(w,N,z),w=M;r(x,N,z)},b=({el:w,anchor:x})=>{let N;for(;w&&w!==x;)N=d(w),o(w),w=N;o(x)},E=(w,x,N,z,M,X,te,q,Z)=>{x.type==="svg"?te="svg":x.type==="math"&&(te="mathml"),w==null?C(x,N,z,M,X,te,q,Z):D(w,x,M,X,te,q,Z)},C=(w,x,N,z,M,X,te,q)=>{let Z,H;const{props:re,shapeFlag:he,transition:W,dirs:ne}=w;if(Z=w.el=i(w.type,X,re&&re.is,re),he&8?u(Z,w.children):he&16&&k(w.children,Z,null,z,M,wl(w,X),te,q),ne&&rn(w,null,z,"created"),O(Z,w,w.scopeId,te,z),re){for(const pe in re)pe!=="value"&&!Wr(pe)&&s(Z,pe,null,re[pe],X,w.children,z,M,Ve);"value"in re&&s(Z,"value",null,re.value,X),(H=re.onVnodeBeforeMount)&&St(H,z,w)}ne&&rn(w,null,z,"beforeMount");const Q=mg(M,W);Q&&W.beforeEnter(Z),r(Z,x,N),((H=re&&re.onVnodeMounted)||Q||ne)&&ct(()=>{H&&St(H,z,w),Q&&W.enter(Z),ne&&rn(w,null,z,"mounted")},M)},O=(w,x,N,z,M)=>{if(N&&h(w,N),z)for(let X=0;X<z.length;X++)h(w,z[X]);if(M){let X=M.subTree;if(x===X){const te=M.vnode;O(w,te,te.scopeId,te.slotScopeIds,M.parent)}}},k=(w,x,N,z,M,X,te,q,Z=0)=>{for(let H=Z;H<w.length;H++){const re=w[H]=q?Un(w[H]):Dt(w[H]);g(null,re,x,N,z,M,X,te,q)}},D=(w,x,N,z,M,X,te)=>{const q=x.el=w.el;let{patchFlag:Z,dynamicChildren:H,dirs:re}=x;Z|=w.patchFlag&16;const he=w.props||Ue,W=x.props||Ue;let ne;if(N&&ur(N,!1),(ne=W.onVnodeBeforeUpdate)&&St(ne,N,x,w),re&&rn(x,w,N,"beforeUpdate"),N&&ur(N,!0),H?P(w.dynamicChildren,H,q,N,z,wl(x,M),X):te||I(w,x,q,null,N,z,wl(x,M),X,!1),Z>0){if(Z&16)L(q,x,he,W,N,z,M);else if(Z&2&&he.class!==W.class&&s(q,"class",null,W.class,M),Z&4&&s(q,"style",he.style,W.style,M),Z&8){const Q=x.dynamicProps;for(let pe=0;pe<Q.length;pe++){const $e=Q[pe],Fe=he[$e],be=W[$e];(be!==Fe||$e==="value")&&s(q,$e,Fe,be,M,w.children,N,z,Ve)}}Z&1&&w.children!==x.children&&u(q,x.children)}else!te&&H==null&&L(q,x,he,W,N,z,M);((ne=W.onVnodeUpdated)||re)&&ct(()=>{ne&&St(ne,N,x,w),re&&rn(x,w,N,"updated")},z)},P=(w,x,N,z,M,X,te)=>{for(let q=0;q<x.length;q++){const Z=w[q],H=x[q],re=Z.el&&(Z.type===Le||!Wt(Z,H)||Z.shapeFlag&70)?f(Z.el):N;g(Z,H,re,null,z,M,X,te,!0)}},L=(w,x,N,z,M,X,te)=>{if(N!==z){if(N!==Ue)for(const q in N)!Wr(q)&&!(q in z)&&s(w,q,N[q],null,te,x.children,M,X,Ve);for(const q in z){if(Wr(q))continue;const Z=z[q],H=N[q];Z!==H&&q!=="value"&&s(w,q,H,Z,te,x.children,M,X,Ve)}"value"in z&&s(w,"value",N.value,z.value,te)}},A=(w,x,N,z,M,X,te,q,Z)=>{const H=x.el=w?w.el:a(""),re=x.anchor=w?w.anchor:a("");let{patchFlag:he,dynamicChildren:W,slotScopeIds:ne}=x;ne&&(q=q?q.concat(ne):ne),w==null?(r(H,N,z),r(re,N,z),k(x.children||[],N,re,M,X,te,q,Z)):he>0&&he&64&&W&&w.dynamicChildren?(P(w.dynamicChildren,W,N,M,X,te,q),(x.key!=null||M&&x===M.subTree)&&Nu(w,x,!0)):I(w,x,N,re,M,X,te,q,Z)},S=(w,x,N,z,M,X,te,q,Z)=>{x.slotScopeIds=q,w==null?x.shapeFlag&512?M.ctx.activate(x,N,z,te,Z):T(x,N,z,M,X,te,Z):B(w,x,Z)},T=(w,x,N,z,M,X,te)=>{const q=w.component=sb(w,z,M);if(Us(w)&&(q.ctx.renderer=ce),ib(q),q.asyncDep){if(M&&M.registerDep(q,R),!w.el){const Z=q.subTree=K(dt);v(null,Z,x,N)}}else R(q,w,x,N,M,X,te)},B=(w,x,N)=>{const z=x.component=w.component;if(u1(w,x,N))if(z.asyncDep&&!z.asyncResolved){$(z,x,N);return}else z.next=x,t1(z.update),z.effect.dirty=!0,z.update();else x.el=w.el,z.vnode=x},R=(w,x,N,z,M,X,te)=>{const q=()=>{if(w.isMounted){let{next:re,bu:he,u:W,parent:ne,vnode:Q}=w;{const me=gg(w);if(me){re&&(re.el=Q.el,$(w,re,te)),me.asyncDep.then(()=>{w.isUnmounted||q()});return}}let pe=re,$e;ur(w,!1),re?(re.el=Q.el,$(w,re,te)):re=Q,he&&Kr(he),($e=re.props&&re.props.onVnodeBeforeUpdate)&&St($e,ne,re,Q),ur(w,!0);const Fe=ml(w),be=w.subTree;w.subTree=Fe,g(be,Fe,f(be.el),F(be),w,M,X),re.el=Fe.el,pe===null&&xu(w,Fe.el),W&&ct(W,M),($e=re.props&&re.props.onVnodeUpdated)&&ct(()=>St($e,ne,re,Q),M)}else{let re;const{el:he,props:W}=x,{bm:ne,m:Q,parent:pe}=w,$e=Cr(x);if(ur(w,!1),ne&&Kr(ne),!$e&&(re=W&&W.onVnodeBeforeMount)&&St(re,pe,x),ur(w,!0),he&&Me){const Fe=()=>{w.subTree=ml(w),Me(he,w.subTree,w,M,null)};$e?x.type.__asyncLoader().then(()=>!w.isUnmounted&&Fe()):Fe()}else{const Fe=w.subTree=ml(w);g(null,Fe,N,z,w,M,X),x.el=Fe.el}if(Q&&ct(Q,M),!$e&&(re=W&&W.onVnodeMounted)){const Fe=x;ct(()=>St(re,pe,Fe),M)}(x.shapeFlag&256||pe&&Cr(pe.vnode)&&pe.vnode.shapeFlag&256)&&w.a&&ct(w.a,M),w.isMounted=!0,x=N=z=null}},Z=w.effect=new pu(q,Mt,()=>La(H),w.scope),H=w.update=()=>{Z.dirty&&Z.run()};H.id=w.uid,ur(w,!0),H()},$=(w,x,N)=>{x.component=w;const z=w.vnode.props;w.vnode=x,w.next=null,H1(w,x.props,z,N),G1(w,x.children,N),sr(),Ff(w),ir()},I=(w,x,N,z,M,X,te,q,Z=!1)=>{const H=w&&w.children,re=w?w.shapeFlag:0,he=x.children,{patchFlag:W,shapeFlag:ne}=x;if(W>0){if(W&128){ae(H,he,N,z,M,X,te,q,Z);return}else if(W&256){J(H,he,N,z,M,X,te,q,Z);return}}ne&8?(re&16&&Ve(H,M,X),he!==H&&u(N,he)):re&16?ne&16?ae(H,he,N,z,M,X,te,q,Z):Ve(H,M,X,!0):(re&8&&u(N,""),ne&16&&k(he,N,z,M,X,te,q,Z))},J=(w,x,N,z,M,X,te,q,Z)=>{w=w||Vr,x=x||Vr;const H=w.length,re=x.length,he=Math.min(H,re);let W;for(W=0;W<he;W++){const ne=x[W]=Z?Un(x[W]):Dt(x[W]);g(w[W],ne,N,null,M,X,te,q,Z)}H>re?Ve(w,M,X,!0,!1,he):k(x,N,z,M,X,te,q,Z,he)},ae=(w,x,N,z,M,X,te,q,Z)=>{let H=0;const re=x.length;let he=w.length-1,W=re-1;for(;H<=he&&H<=W;){const ne=w[H],Q=x[H]=Z?Un(x[H]):Dt(x[H]);if(Wt(ne,Q))g(ne,Q,N,null,M,X,te,q,Z);else break;H++}for(;H<=he&&H<=W;){const ne=w[he],Q=x[W]=Z?Un(x[W]):Dt(x[W]);if(Wt(ne,Q))g(ne,Q,N,null,M,X,te,q,Z);else break;he--,W--}if(H>he){if(H<=W){const ne=W+1,Q=ne<re?x[ne].el:z;for(;H<=W;)g(null,x[H]=Z?Un(x[H]):Dt(x[H]),N,Q,M,X,te,q,Z),H++}}else if(H>W)for(;H<=he;)le(w[H],M,X,!0),H++;else{const ne=H,Q=H,pe=new Map;for(H=Q;H<=W;H++){const Pt=x[H]=Z?Un(x[H]):Dt(x[H]);Pt.key!=null&&pe.set(Pt.key,H)}let $e,Fe=0;const be=W-Q+1;let me=!1,Rt=0;const gn=new Array(be);for(H=0;H<be;H++)gn[H]=0;for(H=ne;H<=he;H++){const Pt=w[H];if(Fe>=be){le(Pt,M,X,!0);continue}let tn;if(Pt.key!=null)tn=pe.get(Pt.key);else for($e=Q;$e<=W;$e++)if(gn[$e-Q]===0&&Wt(Pt,x[$e])){tn=$e;break}tn===void 0?le(Pt,M,X,!0):(gn[tn-Q]=H+1,tn>=Rt?Rt=tn:me=!0,g(Pt,x[tn],N,null,M,X,te,q,Z),Fe++)}const Ro=me?J1(gn):Vr;for($e=Ro.length-1,H=be-1;H>=0;H--){const Pt=Q+H,tn=x[Pt],Rf=Pt+1<re?x[Pt+1].el:z;gn[H]===0?g(null,tn,N,Rf,M,X,te,q,Z):me&&($e<0||H!==Ro[$e]?ie(tn,N,Rf,2):$e--)}}},ie=(w,x,N,z,M=null)=>{const{el:X,type:te,transition:q,children:Z,shapeFlag:H}=w;if(H&6){ie(w.component.subTree,x,N,z);return}if(H&128){w.suspense.move(x,N,z);return}if(H&64){te.move(w,x,N,ce);return}if(te===Le){r(X,x,N);for(let he=0;he<Z.length;he++)ie(Z[he],x,N,z);r(w.anchor,x,N);return}if(te===ds){y(w,x,N);return}if(z!==2&&H&1&&q)if(z===0)q.beforeEnter(X),r(X,x,N),ct(()=>q.enter(X),M);else{const{leave:he,delayLeave:W,afterLeave:ne}=q,Q=()=>r(X,x,N),pe=()=>{he(X,()=>{Q(),ne&&ne()})};W?W(X,Q,pe):pe()}else r(X,x,N)},le=(w,x,N,z=!1,M=!1)=>{const{type:X,props:te,ref:q,children:Z,dynamicChildren:H,shapeFlag:re,patchFlag:he,dirs:W}=w;if(q!=null&&Ji(q,null,N,w,!0),re&256){x.ctx.deactivate(w);return}const ne=re&1&&W,Q=!Cr(w);let pe;if(Q&&(pe=te&&te.onVnodeBeforeUnmount)&&St(pe,x,w),re&6)Ke(w.component,N,z);else{if(re&128){w.suspense.unmount(N,z);return}ne&&rn(w,null,x,"beforeUnmount"),re&64?w.type.remove(w,x,N,M,ce,z):H&&(X!==Le||he>0&&he&64)?Ve(H,x,N,!1,!0):(X===Le&&he&384||!M&&re&16)&&Ve(Z,x,N),z&&Se(w)}(Q&&(pe=te&&te.onVnodeUnmounted)||ne)&&ct(()=>{pe&&St(pe,x,w),ne&&rn(w,null,x,"unmounted")},N)},Se=w=>{const{type:x,el:N,anchor:z,transition:M}=w;if(x===Le){Ce(N,z);return}if(x===ds){b(w);return}const X=()=>{o(N),M&&!M.persisted&&M.afterLeave&&M.afterLeave()};if(w.shapeFlag&1&&M&&!M.persisted){const{leave:te,delayLeave:q}=M,Z=()=>te(N,X);q?q(w.el,X,Z):Z()}else X()},Ce=(w,x)=>{let N;for(;w!==x;)N=d(w),o(w),w=N;o(x)},Ke=(w,x,N)=>{const{bum:z,scope:M,update:X,subTree:te,um:q}=w;z&&Kr(z),M.stop(),X&&(X.active=!1,le(te,w,x,N)),q&&ct(q,x),ct(()=>{w.isUnmounted=!0},x),x&&x.pendingBranch&&!x.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===x.pendingId&&(x.deps--,x.deps===0&&x.resolve())},Ve=(w,x,N,z=!1,M=!1,X=0)=>{for(let te=X;te<w.length;te++)le(w[te],x,N,z,M)},F=w=>w.shapeFlag&6?F(w.component.subTree):w.shapeFlag&128?w.suspense.next():d(w.anchor||w.el);let oe=!1;const ee=(w,x,N)=>{w==null?x._vnode&&le(x._vnode,null,null,!0):g(x._vnode||null,w,x,null,null,null,N),oe||(oe=!0,Ff(),Wi(),oe=!1),x._vnode=w},ce={p:g,um:le,m:ie,r:Se,mt:T,mc:k,pc:I,pbc:P,n:F,o:e};let Ie,Me;return t&&([Ie,Me]=t(ce)),{render:ee,hydrate:Ie,createApp:j1(ee,Ie)}}function wl({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ur({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function mg(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Nu(e,t,n=!1){const r=e.children,o=t.children;if(fe(r)&&fe(o))for(let s=0;s<r.length;s++){const i=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=Un(o[s]),a.el=i.el),n||Nu(i,a)),a.type===so&&(a.el=i.el)}}function J1(e){const t=e.slice(),n=[0];let r,o,s,i,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<c?s=a+1:i=a;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function gg(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:gg(t)}const Z1=e=>e.__isTeleport,fs=e=>e&&(e.disabled||e.disabled===""),Xf=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Jf=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ac=(e,t)=>{const n=e&&e.to;return We(n)?t?t(n):null:n},Q1={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:h,querySelector:p,createText:g,createComment:m}}=c,v=fs(t.props);let{shapeFlag:_,children:y,dynamicChildren:b}=t;if(e==null){const E=t.el=g(""),C=t.anchor=g("");h(E,n,r),h(C,n,r);const O=t.target=ac(t.props,p),k=t.targetAnchor=g("");O&&(h(k,O),i==="svg"||Xf(O)?i="svg":(i==="mathml"||Jf(O))&&(i="mathml"));const D=(P,L)=>{_&16&&u(y,P,L,o,s,i,a,l)};v?D(n,C):O&&D(O,k)}else{t.el=e.el;const E=t.anchor=e.anchor,C=t.target=e.target,O=t.targetAnchor=e.targetAnchor,k=fs(e.props),D=k?n:C,P=k?E:O;if(i==="svg"||Xf(C)?i="svg":(i==="mathml"||Jf(C))&&(i="mathml"),b?(d(e.dynamicChildren,b,D,o,s,i,a),Nu(e,t,!0)):l||f(e,t,D,P,o,s,i,a,!1),v)k?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):di(t,n,E,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const L=t.target=ac(t.props,p);L&&di(t,L,null,c,0)}else k&&di(t,C,O,c,1)}yg(t)},remove(e,t,n,r,{um:o,o:{remove:s}},i){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:f,props:d}=e;if(f&&s(u),i&&s(c),a&16){const h=i||!fs(d);for(let p=0;p<l.length;p++){const g=l[p];o(g,t,n,h,!!g.dynamicChildren)}}},move:di,hydrate:eb};function di(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:c,props:u}=e,f=s===2;if(f&&r(i,t,n),(!f||fs(u))&&l&16)for(let d=0;d<c.length;d++)o(c[d],t,n,2);f&&r(a,t,n)}function eb(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:l}},c){const u=t.target=ac(t.props,l);if(u){const f=u._lpa||u.firstChild;if(t.shapeFlag&16)if(fs(t.props))t.anchor=c(i(e),t,a(e),n,r,o,s),t.targetAnchor=f;else{t.anchor=i(e);let d=f;for(;d;)if(d=i(d),d&&d.nodeType===8&&d.data==="teleport anchor"){t.targetAnchor=d,u._lpa=t.targetAnchor&&i(t.targetAnchor);break}c(f,t,u,n,r,o,s)}yg(t)}return t.anchor&&i(t.anchor)}const vg=Q1;function yg(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const Le=Symbol.for("v-fgt"),so=Symbol.for("v-txt"),dt=Symbol.for("v-cmt"),ds=Symbol.for("v-stc"),hs=[];let Ft=null;function Y(e=!1){hs.push(Ft=e?null:[])}function _g(){hs.pop(),Ft=hs[hs.length-1]||null}let io=1;function Zf(e){io+=e}function bg(e){return e.dynamicChildren=io>0?Ft||Vr:null,_g(),io>0&&Ft&&Ft.push(e),e}function ve(e,t,n,r,o,s){return bg(V(e,t,n,r,o,s,!0))}function xe(e,t,n,r,o){return bg(K(e,t,n,r,o,!0))}function ao(e){return e?e.__v_isVNode===!0:!1}function Wt(e,t){return e.type===t.type&&e.key===t.key}const wg=({key:e})=>e??null,Ni=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?We(e)||je(e)||ye(e)?{i:Ze,r:e,k:t,f:!!n}:e:null);function V(e,t=null,n=null,r=0,o=null,s=e===Le?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&wg(t),ref:t&&Ni(t),scopeId:Ma,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ze};return a?(Iu(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=We(n)?8:16),io>0&&!i&&Ft&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Ft.push(l),l}const K=tb;function tb(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Um)&&(e=dt),ao(e)){const a=Tn(e,t,!0);return n&&Iu(a,n),io>0&&!s&&Ft&&(a.shapeFlag&6?Ft[Ft.indexOf(e)]=a:Ft.push(a)),a.patchFlag|=-2,a}if(cb(e)&&(e=e.__vccOpts),t){t=za(t);let{class:a,style:l}=t;a&&!We(a)&&(t.class=Qe(a)),ze(l)&&(Nm(l)&&!fe(l)&&(l=qe({},l)),t.style=un(l))}const i=We(e)?1:Vm(e)?128:Z1(e)?64:ze(e)?4:ye(e)?2:0;return V(e,t,n,r,o,i,s,!0)}function za(e){return e?Nm(e)||lg(e)?qe({},e):e:null}function Tn(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,c=t?Rn(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&wg(c),ref:t&&t.ref?n&&s?fe(s)?s.concat(Ni(t)):[s,Ni(t)]:Ni(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Le?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Tn(e.ssContent),ssFallback:e.ssFallback&&Tn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&(u.transition=l.clone(u)),u}function Re(e=" ",t=0){return K(so,null,e,t)}function nb(e,t){const n=K(ds,null,e);return n.staticCount=t,n}function Ge(e="",t=!1){return t?(Y(),xe(dt,null,e)):K(dt,null,e)}function Dt(e){return e==null||typeof e=="boolean"?K(dt):fe(e)?K(Le,null,e.slice()):typeof e=="object"?Un(e):K(so,null,String(e))}function Un(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Tn(e)}function Iu(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(fe(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Iu(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!lg(t)?t._ctx=Ze:o===3&&Ze&&(Ze.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ye(t)?(t={default:t,_ctx:Ze},n=32):(t=String(t),r&64?(n=16,t=[Re(t)]):n=8);e.children=t,e.shapeFlag|=n}function Rn(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Qe([t.class,r.class]));else if(o==="style")t.style=un([t.style,r.style]);else if(Hs(o)){const s=t[o],i=r[o];i&&s!==i&&!(fe(s)&&s.includes(i))&&(t[o]=s?[].concat(s,i):i)}else o!==""&&(t[o]=r[o])}return t}function St(e,t,n,r=null){jt(e,t,7,[n,r])}const rb=og();let ob=0;function sb(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||rb,s={uid:ob++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new wm(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ug(r,o),emitsOptions:Hm(r,o),emit:null,emitted:null,propsDefaults:Ue,inheritAttrs:r.inheritAttrs,ctx:Ue,data:Ue,props:Ue,attrs:Ue,slots:Ue,refs:Ue,setupState:Ue,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=r1.bind(null,s),e.ce&&e.ce(s),s}let nt=null;const Ht=()=>nt||Ze;let Zi,lc;{const e=ym(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};Zi=t("__VUE_INSTANCE_SETTERS__",n=>nt=n),lc=t("__VUE_SSR_SETTERS__",n=>Gs=n)}const Pr=e=>{const t=nt;return Zi(e),e.scope.on(),()=>{e.scope.off(),Zi(t)}},cc=()=>{nt&&nt.scope.off(),Zi(null)};function Eg(e){return e.vnode.shapeFlag&4}let Gs=!1;function ib(e,t=!1){t&&lc(t);const{props:n,children:r}=e.vnode,o=Eg(e);z1(e,n,o,t),V1(e,r);const s=o?ab(e,t):void 0;return t&&lc(!1),s}function ab(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,N1);const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?xg(e):null,s=Pr(e);sr();const i=Xn(r,e,0,[e.props,o]);if(ir(),s(),uu(i)){if(i.then(cc,cc),t)return i.then(a=>{uc(e,a,t)}).catch(a=>{yo(a,e,0)});e.asyncDep=i}else uc(e,i,t)}else Sg(e,t)}function uc(e,t,n){ye(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ze(t)&&(e.setupState=Mm(t)),Sg(e,n)}let Qf;function Sg(e,t,n){const r=e.type;if(!e.render){if(!t&&Qf&&!r.render){const o=r.template||ku(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=qe(qe({isCustomElement:s,delimiters:a},i),l);r.render=Qf(o,c)}}e.render=r.render||Mt}{const o=Pr(e);sr();try{I1(e)}finally{ir(),o()}}}const lb={get(e,t){return At(e,"get",""),e[t]}};function xg(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,lb),slots:e.slots,emit:e.emit,expose:t}}function Ha(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Mm(G_(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in us)return us[n](e)},has(t,n){return n in t||n in us}}))}function fc(e,t=!0){return ye(e)?e.displayName||e.name:e.name||t&&e.__name}function cb(e){return ye(e)&&"__vccOpts"in e}const se=(e,t)=>W_(e,t,Gs);function k6(e,t,n=Ue){const r=Ht(),o=Xt(t),s=or(t),i=Eu((l,c)=>{let u;return w1(()=>{const f=e[t];hn(u,f)&&(u=f,c())}),{get(){return l(),n.get?n.get(u):u},set(f){const d=r.vnode.props;!(d&&(t in d||o in d||s in d)&&(`onUpdate:${t}`in d||`onUpdate:${o}`in d||`onUpdate:${s}`in d))&&hn(f,u)&&(u=f,c()),r.emit(`update:${t}`,n.set?n.set(f):f)}}}),a=t==="modelValue"?"modelModifiers":`${t}Modifiers`;return i[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?e[a]||{}:i,done:!1}:{done:!0}}}},i}function et(e,t,n){const r=arguments.length;return r===2?ze(t)&&!fe(t)?ao(t)?K(e,null,[t]):K(e,t):K(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ao(n)&&(n=[n]),K(e,t,n))}const Cg="3.4.27";/**
|
|
20
|
-
* @vue/runtime-dom v3.4.27
|
|
21
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
22
|
-
* @license MIT
|
|
23
|
-
**/const ub="http://www.w3.org/2000/svg",fb="http://www.w3.org/1998/Math/MathML",Vn=typeof document<"u"?document:null,ed=Vn&&Vn.createElement("template"),db={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Vn.createElementNS(ub,e):t==="mathml"?Vn.createElementNS(fb,e):Vn.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Vn.createTextNode(e),createComment:e=>Vn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Vn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{ed.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=ed.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ln="transition",Po="animation",lo=Symbol("_vtc"),Ua=(e,{slots:t})=>et(x1,Tg(e),t);Ua.displayName="Transition";const Ag={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},hb=Ua.props=qe({},qm,Ag),fr=(e,t=[])=>{fe(e)?e.forEach(n=>n(...t)):e&&e(...t)},td=e=>e?fe(e)?e.some(t=>t.length>1):e.length>1:!1;function Tg(e){const t={};for(const A in e)A in Ag||(t[A]=e[A]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:c=i,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,p=pb(o),g=p&&p[0],m=p&&p[1],{onBeforeEnter:v,onEnter:_,onEnterCancelled:y,onLeave:b,onLeaveCancelled:E,onBeforeAppear:C=v,onAppear:O=_,onAppearCancelled:k=y}=t,D=(A,S,T)=>{Mn(A,S?u:a),Mn(A,S?c:i),T&&T()},P=(A,S)=>{A._isLeaving=!1,Mn(A,f),Mn(A,h),Mn(A,d),S&&S()},L=A=>(S,T)=>{const B=A?O:_,R=()=>D(S,A,T);fr(B,[S,R]),nd(()=>{Mn(S,A?l:s),bn(S,A?u:a),td(B)||rd(S,r,g,R)})};return qe(t,{onBeforeEnter(A){fr(v,[A]),bn(A,s),bn(A,i)},onBeforeAppear(A){fr(C,[A]),bn(A,l),bn(A,c)},onEnter:L(!1),onAppear:L(!0),onLeave(A,S){A._isLeaving=!0;const T=()=>P(A,S);bn(A,f),bn(A,d),Pg(),nd(()=>{A._isLeaving&&(Mn(A,f),bn(A,h),td(b)||rd(A,r,m,T))}),fr(b,[A,T])},onEnterCancelled(A){D(A,!1),fr(y,[A])},onAppearCancelled(A){D(A,!0),fr(k,[A])},onLeaveCancelled(A){P(A),fr(E,[A])}})}function pb(e){if(e==null)return null;if(ze(e))return[El(e.enter),El(e.leave)];{const t=El(e);return[t,t]}}function El(e){return vm(e)}function bn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[lo]||(e[lo]=new Set)).add(t)}function Mn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[lo];n&&(n.delete(t),n.size||(e[lo]=void 0))}function nd(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let mb=0;function rd(e,t,n,r){const o=e._endId=++mb,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=Rg(e,t);if(!i)return r();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,d),s()},d=h=>{h.target===e&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),e.addEventListener(c,d)}function Rg(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),o=r(`${Ln}Delay`),s=r(`${Ln}Duration`),i=od(o,s),a=r(`${Po}Delay`),l=r(`${Po}Duration`),c=od(a,l);let u=null,f=0,d=0;t===Ln?i>0&&(u=Ln,f=i,d=s.length):t===Po?c>0&&(u=Po,f=c,d=l.length):(f=Math.max(i,c),u=f>0?i>c?Ln:Po:null,d=u?u===Ln?s.length:l.length:0);const h=u===Ln&&/\b(transform|all)(,|$)/.test(r(`${Ln}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function od(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>sd(n)+sd(e[r])))}function sd(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Pg(){return document.body.offsetHeight}function gb(e,t,n){const r=e[lo];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Qi=Symbol("_vod"),$g=Symbol("_vsh"),dc={beforeMount(e,{value:t},{transition:n}){e[Qi]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):$o(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),$o(e,!0),r.enter(e)):r.leave(e,()=>{$o(e,!1)}):$o(e,t))},beforeUnmount(e,{value:t}){$o(e,t)}};function $o(e,t){e.style.display=t?e[Qi]:"none",e[$g]=!t}const vb=Symbol(""),yb=/(^|;)\s*display\s*:/;function _b(e,t,n){const r=e.style,o=We(n);let s=!1;if(n&&!o){if(t)if(We(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Ii(r,a,"")}else for(const i in t)n[i]==null&&Ii(r,i,"");for(const i in n)i==="display"&&(s=!0),Ii(r,i,n[i])}else if(o){if(t!==n){const i=r[vb];i&&(n+=";"+i),r.cssText=n,s=yb.test(n)}}else t&&e.removeAttribute("style");Qi in e&&(e[Qi]=s?r.display:"",e[$g]&&(r.display="none"))}const id=/\s*!important$/;function Ii(e,t,n){if(fe(n))n.forEach(r=>Ii(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=bb(e,t);id.test(n)?e.setProperty(or(r),n.replace(id,""),"important"):e[r]=n}}const ad=["Webkit","Moz","ms"],Sl={};function bb(e,t){const n=Sl[t];if(n)return n;let r=Xt(t);if(r!=="filter"&&r in e)return Sl[t]=r;r=ka(r);for(let o=0;o<ad.length;o++){const s=ad[o]+r;if(s in e)return Sl[t]=s}return t}const ld="http://www.w3.org/1999/xlink";function wb(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(ld,t.slice(6,t.length)):e.setAttributeNS(ld,t,n);else{const s=w_(t);n==null||s&&!_m(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function Eb(e,t,n,r,o,s,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,o,s),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const c=a==="OPTION"?e.getAttribute("value")||"":e.value,u=n??"";(c!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=_m(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function En(e,t,n,r){e.addEventListener(t,n,r)}function Sb(e,t,n,r){e.removeEventListener(t,n,r)}const cd=Symbol("_vei");function xb(e,t,n,r,o=null){const s=e[cd]||(e[cd]={}),i=s[t];if(r&&i)i.value=r;else{const[a,l]=Cb(t);if(r){const c=s[t]=Rb(r,o);En(e,a,c,l)}else i&&(Sb(e,a,i,l),s[t]=void 0)}}const ud=/(?:Once|Passive|Capture)$/;function Cb(e){let t;if(ud.test(e)){t={};let r;for(;r=e.match(ud);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):or(e.slice(2)),t]}let xl=0;const Ab=Promise.resolve(),Tb=()=>xl||(Ab.then(()=>xl=0),xl=Date.now());function Rb(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;jt(Pb(r,n.value),t,5,[r])};return n.value=e,n.attached=Tb(),n}function Pb(e,t){if(fe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const fd=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,$b=(e,t,n,r,o,s,i,a,l)=>{const c=o==="svg";t==="class"?gb(e,r,c):t==="style"?_b(e,n,r):Hs(t)?lu(t)||xb(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):kb(e,t,r,c))?Eb(e,t,r,s,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),wb(e,t,r,c))};function kb(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&fd(t)&&ye(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return fd(t)&&We(n)?!1:t in e}const kg=new WeakMap,Og=new WeakMap,ea=Symbol("_moveCb"),dd=Symbol("_enterCb"),Ng={name:"TransitionGroup",props:qe({},hb,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Ht(),r=Km();let o,s;return $u(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Mb(o[0].el,n.vnode.el,i))return;o.forEach(Ib),o.forEach(Lb);const a=o.filter(Db);Pg(),a.forEach(l=>{const c=l.el,u=c.style;bn(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[ea]=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c[ea]=null,Mn(c,i))};c.addEventListener("transitionend",f)})}),()=>{const i=Oe(e),a=Tg(i);let l=i.tag||Le;if(o=[],s)for(let c=0;c<s.length;c++){const u=s[c];u.el&&u.el instanceof Element&&(o.push(u),oo(u,Rs(u,a,r,n)),kg.set(u,u.el.getBoundingClientRect()))}s=t.default?Pu(t.default()):[];for(let c=0;c<s.length;c++){const u=s[c];u.key!=null&&oo(u,Rs(u,a,r,n))}return K(l,null,s)}}},Ob=e=>delete e.mode;Ng.props;const Nb=Ng;function Ib(e){const t=e.el;t[ea]&&t[ea](),t[dd]&&t[dd]()}function Lb(e){Og.set(e,e.el.getBoundingClientRect())}function Db(e){const t=kg.get(e),n=Og.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${r}px,${o}px)`,s.transitionDuration="0s",e}}function Mb(e,t,n){const r=e.cloneNode(),o=e[lo];o&&o.forEach(a=>{a.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:i}=Rg(r);return s.removeChild(r),i}const nr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return fe(t)?n=>Kr(t,n):t};function Fb(e){e.target.composing=!0}function hd(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const zt=Symbol("_assign"),pd={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[zt]=nr(o);const s=r||o.props&&o.props.type==="number";En(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),s&&(a=Hi(a)),e[zt](a)}),n&&En(e,"change",()=>{e.value=e.value.trim()}),t||(En(e,"compositionstart",Fb),En(e,"compositionend",hd),En(e,"change",hd))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},s){if(e[zt]=nr(s),e.composing)return;const i=(o||e.type==="number")&&!/^0\d/.test(e.value)?Hi(e.value):e.value,a=t??"";i!==a&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===a)||(e.value=a))}},Bb={deep:!0,created(e,t,n){e[zt]=nr(n),En(e,"change",()=>{const r=e._modelValue,o=co(e),s=e.checked,i=e[zt];if(fe(r)){const a=hu(r,o),l=a!==-1;if(s&&!l)i(r.concat(o));else if(!s&&l){const c=[...r];c.splice(a,1),i(c)}}else if(mo(r)){const a=new Set(r);s?a.add(o):a.delete(o),i(a)}else i(Ig(e,s))})},mounted:md,beforeUpdate(e,t,n){e[zt]=nr(n),md(e,t,n)}};function md(e,{value:t,oldValue:n},r){e._modelValue=t,fe(t)?e.checked=hu(t,r.props.value)>-1:mo(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Tr(t,Ig(e,!0)))}const jb={created(e,{value:t},n){e.checked=Tr(t,n.props.value),e[zt]=nr(n),En(e,"change",()=>{e[zt](co(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[zt]=nr(r),t!==n&&(e.checked=Tr(t,r.props.value))}},zb={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=mo(t);En(e,"change",()=>{const s=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Hi(co(i)):co(i));e[zt](e.multiple?o?new Set(s):s:s[0]),e._assigning=!0,Nt(()=>{e._assigning=!1})}),e[zt]=nr(r)},mounted(e,{value:t,modifiers:{number:n}}){gd(e,t)},beforeUpdate(e,t,n){e[zt]=nr(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||gd(e,t)}};function gd(e,t,n){const r=e.multiple,o=fe(t);if(!(r&&!o&&!mo(t))){for(let s=0,i=e.options.length;s<i;s++){const a=e.options[s],l=co(a);if(r)if(o){const c=typeof l;c==="string"||c==="number"?a.selected=t.some(u=>String(u)===String(l)):a.selected=hu(t,l)>-1}else a.selected=t.has(l);else if(Tr(co(a),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function co(e){return"_value"in e?e._value:e.value}function Ig(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Hb={created(e,t,n){hi(e,t,n,null,"created")},mounted(e,t,n){hi(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){hi(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){hi(e,t,n,r,"updated")}};function Ub(e,t){switch(e){case"SELECT":return zb;case"TEXTAREA":return pd;default:switch(t){case"checkbox":return Bb;case"radio":return jb;default:return pd}}}function hi(e,t,n,r,o){const i=Ub(e.tagName,n.props&&n.props.type)[o];i&&i(e,t,n,r)}const Vb=["ctrl","shift","alt","meta"],Gb={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)=>Vb.some(n=>e[`${n}Key`]&&!t.includes(n))},Wb=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...s)=>{for(let i=0;i<t.length;i++){const a=Gb[t[i]];if(a&&a(o,t))return}return e(o,...s)})},Kb={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Lg=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const s=or(o.key);if(t.some(i=>i===s||Kb[i]===s))return e(o)})},Dg=qe({patchProp:$b},db);let ps,vd=!1;function qb(){return ps||(ps=Y1(Dg))}function Yb(){return ps=vd?ps:X1(Dg),vd=!0,ps}const Mg=(...e)=>{const t=qb().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Bg(r);if(!o)return;const s=t._component;!ye(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,Fg(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},Xb=(...e)=>{const t=Yb().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Bg(r);if(o)return n(o,!0,Fg(o))},t};function Fg(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Bg(e){return We(e)?document.querySelector(e):e}const Jb=/"(?:_|\\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*:/,Zb=/"(?: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*:/,Qb=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function ew(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){tw(e);return}return t}function tw(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function ta(e,t={}){if(typeof e!="string")return e;const n=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return n.slice(1,-1);if(n.length<=9){const r=n.toLowerCase();if(r==="true")return!0;if(r==="false")return!1;if(r==="undefined")return;if(r==="null")return null;if(r==="nan")return Number.NaN;if(r==="infinity")return Number.POSITIVE_INFINITY;if(r==="-infinity")return Number.NEGATIVE_INFINITY}if(!Qb.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Jb.test(e)||Zb.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,ew)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const nw=/#/g,rw=/&/g,ow=/\//g,sw=/=/g,Lu=/\+/g,iw=/%5e/gi,aw=/%60/gi,lw=/%7c/gi,cw=/%20/gi;function uw(e){return encodeURI(""+e).replace(lw,"|")}function hc(e){return uw(typeof e=="string"?e:JSON.stringify(e)).replace(Lu,"%2B").replace(cw,"+").replace(nw,"%23").replace(rw,"%26").replace(aw,"`").replace(iw,"^").replace(ow,"%2F")}function Cl(e){return hc(e).replace(sw,"%3D")}function na(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function fw(e){return na(e.replace(Lu," "))}function dw(e){return na(e.replace(Lu," "))}function jg(e=""){const t={};e[0]==="?"&&(e=e.slice(1));for(const n of e.split("&")){const r=n.match(/([^=]+)=?(.*)/)||[];if(r.length<2)continue;const o=fw(r[1]);if(o==="__proto__"||o==="constructor")continue;const s=dw(r[2]||"");t[o]===void 0?t[o]=s:Array.isArray(t[o])?t[o].push(s):t[o]=[t[o],s]}return t}function hw(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Cl(e)}=${hc(n)}`).join("&"):`${Cl(e)}=${hc(t)}`:Cl(e)}function pw(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>hw(t,e[t])).filter(Boolean).join("&")}const mw=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,gw=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,vw=/^([/\\]\s*){2,}[^/\\]/,yw=/^[\s\0]*(blob|data|javascript|vbscript):$/i,_w=/\/$|\/\?|\/#/,bw=/^\.?\//;function On(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?mw.test(e):gw.test(e)||(t.acceptRelative?vw.test(e):!1)}function ww(e){return!!e&&yw.test(e)}function pc(e="",t){return t?_w.test(e):e.endsWith("/")}function Va(e="",t){if(!t)return(pc(e)?e.slice(0,-1):e)||"/";if(!pc(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),r=e.slice(o));const[s,...i]=n.split("?");return((s.endsWith("/")?s.slice(0,-1):s)||"/")+(i.length>0?`?${i.join("?")}`:"")+r}function ra(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(pc(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");if(o>=0&&(n=e.slice(0,o),r=e.slice(o),!n))return r;const[s,...i]=n.split("?");return s+"/"+(i.length>0?`?${i.join("?")}`:"")+r}function Ew(e=""){return e.startsWith("/")}function yd(e=""){return Ew(e)?e:"/"+e}function Sw(e,t){if(Hg(t)||On(e))return e;const n=Va(t);return e.startsWith(n)?e:Ga(n,e)}function _d(e,t){if(Hg(t))return e;const n=Va(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function zg(e,t){const n=Ws(e),r={...jg(n.search),...t};return n.search=pw(r),Aw(n)}function Hg(e){return!e||e==="/"}function xw(e){return e&&e!=="/"}function Ga(e,...t){let n=e||"";for(const r of t.filter(o=>xw(o)))if(n){const o=r.replace(bw,"");n=ra(n)+o}else n=r;return n}function Ug(...e){const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const i of n)if(!(!i||i==="/")){for(const[a,l]of i.split(t).entries())if(!(!l||l===".")){if(l===".."){if(r.length===1&&On(r[0]))continue;r.pop(),o--;continue}if(a===1&&r[r.length-1]?.endsWith(":/")){r[r.length-1]+="/"+l;continue}r.push(l),o++}}let s=r.join("/");return o>=0?n[0]?.startsWith("/")&&!s.startsWith("/")?s="/"+s:n[0]?.startsWith("./")&&!s.startsWith("./")&&(s="./"+s):s="../".repeat(-1*o)+s,n[n.length-1]?.endsWith("/")&&!s.endsWith("/")&&(s+="/"),s}function Cw(e,t,n={}){return n.trailingSlash||(e=ra(e),t=ra(t)),n.leadingSlash||(e=yd(e),t=yd(t)),n.encoding||(e=na(e),t=na(t)),e===t}const Vg=Symbol.for("ufo:protocolRelative");function Ws(e="",t){const n=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(n){const[,f,d=""]=n;return{protocol:f.toLowerCase(),pathname:d,href:f+d,auth:"",host:"",search:"",hash:""}}if(!On(e,{acceptRelative:!0}))return t?Ws(t+e):bd(e);const[,r="",o,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=s.match(/([^#/?]*)(.*)?/)||[],{pathname:l,search:c,hash:u}=bd(a.replace(/\/(?=[A-Za-z]:)/,""));return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:i,pathname:l,search:c,hash:u,[Vg]:!r}}function bd(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Aw(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",s=e.host||"";return(e.protocol||e[Vg]?(e.protocol||"")+"//":"")+o+s+t+n+r}class Tw extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function Rw(e){const t=e.error?.message||e.error?.toString()||"",n=e.request?.method||e.options?.method||"GET",r=e.request?.url||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,s=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",i=`${o}: ${s}${t?` ${t}`:""}`,a=new Tw(i,e.error?{cause:e.error}:void 0);for(const l of["request","options","response"])Object.defineProperty(a,l,{get(){return e[l]}});for(const[l,c]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,l,{get(){return e.response&&e.response[c]}});return a}const Pw=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function wd(e="GET"){return Pw.has(e.toUpperCase())}function $w(e){if(e===void 0)return!1;const t=typeof e;return t==="string"||t==="number"||t==="boolean"||t===null?!0:t!=="object"?!1:Array.isArray(e)?!0:e.buffer?!1:e.constructor&&e.constructor.name==="Object"||typeof e.toJSON=="function"}const kw=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Ow=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Nw(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Ow.test(t)?"json":kw.has(t)||t.startsWith("text/")?"text":"blob"}function Iw(e,t,n=globalThis.Headers){const r={...t,...e};if(t?.params&&e?.params&&(r.params={...t?.params,...e?.params}),t?.query&&e?.query&&(r.query={...t?.query,...e?.query}),t?.headers&&e?.headers){r.headers=new n(t?.headers||{});for(const[o,s]of new n(e?.headers||{}))r.headers.set(o,s)}return r}const Lw=new Set([408,409,425,429,500,502,503,504]),Dw=new Set([101,204,205,304]);function Gg(e={}){const{fetch:t=globalThis.fetch,Headers:n=globalThis.Headers,AbortController:r=globalThis.AbortController}=e;async function o(a){const l=a.error&&a.error.name==="AbortError"&&!a.options.timeout||!1;if(a.options.retry!==!1&&!l){let u;typeof a.options.retry=="number"?u=a.options.retry:u=wd(a.options.method)?0:1;const f=a.response&&a.response.status||500;if(u>0&&(Array.isArray(a.options.retryStatusCodes)?a.options.retryStatusCodes.includes(f):Lw.has(f))){const d=a.options.retryDelay||0;return d>0&&await new Promise(h=>setTimeout(h,d)),s(a.request,{...a.options,retry:u-1})}}const c=Rw(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,s),c}const s=async function(l,c={}){const u={request:l,options:Iw(c,e.defaults,n),response:void 0,error:void 0};u.options.method=u.options.method?.toUpperCase(),u.options.onRequest&&await u.options.onRequest(u),typeof u.request=="string"&&(u.options.baseURL&&(u.request=Sw(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=zg(u.request,{...u.options.params,...u.options.query}))),u.options.body&&wd(u.options.method)&&($w(u.options.body)?(u.options.body=typeof u.options.body=="string"?u.options.body:JSON.stringify(u.options.body),u.options.headers=new n(u.options.headers||{}),u.options.headers.has("content-type")||u.options.headers.set("content-type","application/json"),u.options.headers.has("accept")||u.options.headers.set("accept","application/json")):("pipeTo"in u.options.body&&typeof u.options.body.pipeTo=="function"||typeof u.options.body.pipe=="function")&&("duplex"in u.options||(u.options.duplex="half")));let f;if(!u.options.signal&&u.options.timeout){const h=new r;f=setTimeout(()=>h.abort(),u.options.timeout),u.options.signal=h.signal}try{u.response=await t(u.request,u.options)}catch(h){return u.error=h,u.options.onRequestError&&await u.options.onRequestError(u),await o(u)}finally{f&&clearTimeout(f)}if(u.response.body&&!Dw.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||Nw(u.response.headers.get("content-type")||"");switch(h){case"json":{const p=await u.response.text(),g=u.options.parseResponse||ta;u.response._data=g(p);break}case"stream":{u.response._data=u.response.body;break}default:u.response._data=await u.response[h]()}}return u.options.onResponse&&await u.options.onResponse(u),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await u.options.onResponseError(u),await o(u)):u.response},i=async function(l,c){return(await s(l,c))._data};return i.raw=s,i.native=(...a)=>t(...a),i.create=(a={})=>Gg({...e,defaults:{...e.defaults,...a}}),i}const Du=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")}(),Mw=Du.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),Fw=Du.Headers,Bw=Du.AbortController,jw=Gg({fetch:Mw,Headers:Fw,AbortController:Bw}),zw=jw,Hw=()=>window?.__NUXT__?.config||{},oa=Hw().app,Uw=()=>oa.baseURL,Vw=()=>oa.buildAssetsDir,Mu=(...e)=>Ug(Wg(),Vw(),...e),Wg=(...e)=>{const t=oa.cdnURL||oa.baseURL;return e.length?Ug(t,...e):t};globalThis.__buildAssetsURL=Mu,globalThis.__publicAssetsURL=Wg;globalThis.$fetch||(globalThis.$fetch=zw.create({baseURL:Uw()}));function mc(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?mc(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const Gw={run:e=>e()},Ww=()=>Gw,Kg=typeof console.createTask<"u"?console.createTask:Ww;function Kw(e,t){const n=t.shift(),r=Kg(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function qw(e,t){const n=t.shift(),r=Kg(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function Al(e,t){for(const n of[...e])n(t)}class Yw{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let i=s.message;i||(i=`${o} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...s)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...s));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=mc(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=mc(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(Kw,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(qw,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Al(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&Al(this._after,o)}):(this._after&&o&&Al(this._after,o),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Wa(){return new Yw}function Xw(e={}){let t,n=!1;const r=i=>{if(t&&t!==i)throw new Error("Context conflict")};let o;if(e.asyncContext){const i=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;i?o=new i:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const s=()=>{if(o&&t===void 0){const i=o.getStore();if(i!==void 0)return i}return t};return{use:()=>{const i=s();if(i===void 0)throw new Error("Context is not available");return i},tryUse:()=>s(),set:(i,a)=>{a||r(i),t=i,n=!0},unset:()=>{t=void 0,n=!1},call:(i,a)=>{r(i),t=i;try{return o?o.run(i,a):a()}finally{n||(t=void 0)}},async callAsync(i,a){t=i;const l=()=>{t=i},c=()=>t===i?l:void 0;gc.add(c);try{const u=o?o.run(i,a):a();return n||(t=void 0),await u}finally{gc.delete(c)}}}}function Jw(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=Xw({...e,...r})),t[n],t[n]}}}const sa=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Ed="__unctx__",Zw=sa[Ed]||(sa[Ed]=Jw()),Qw=(e,t={})=>Zw.get(e,t),Sd="__unctx_async_handlers__",gc=sa[Sd]||(sa[Sd]=new Set);function $s(e){const t=[];for(const o of gc){const s=o();s&&t.push(s)}const n=()=>{for(const o of t)o()};let r=e();return r&&typeof r=="object"&&"catch"in r&&(r=r.catch(o=>{throw n(),o})),[r,n]}const qg=Qw("nuxt-app",{asyncContext:!1}),eE="__nuxt_plugin";function tE(e){let t=0;const n={_scope:S_(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.11.2"},get vue(){return n.vueApp.version}},payload:Tt({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>oE(n,o)),isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let o=!1;return()=>{if(!o&&(o=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:{},_payloadRevivers:{},...e};n.hooks=Wa(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,s)=>{const i="$"+o;pi(n,i,s),pi(n.vueApp.config.globalProperties,i,s)},pi(n.vueApp,"$nuxt",n),pi(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener("nuxt.preloadError",s=>{n.callHook("app:chunkError",{error:s.payload})}),window.useNuxtApp=window.useNuxtApp||Ne;const o=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",o)}const r=n.payload.config;return n.provide("config",r),n}async function nE(e,t){if(t.hooks&&e.hooks.addHooks(t.hooks),typeof t=="function"){const{provide:n}=await e.runWithContext(()=>t(e))||{};if(n&&typeof n=="object")for(const r in n)e.provide(r,n[r])}}async function rE(e,t){const n=[],r=[],o=[],s=[];let i=0;async function a(l){const c=l.dependsOn?.filter(u=>t.some(f=>f._name===u)&&!n.includes(u))??[];if(c.length>0)r.push([new Set(c),l]);else{const u=nE(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(r.map(async([f,d])=>{f.has(l._name)&&(f.delete(l._name),f.size===0&&(i++,await a(d)))})))});l.parallel?o.push(u.catch(f=>s.push(f))):await u}}for(const l of t)await a(l);if(await Promise.all(o),i)for(let l=0;l<i;l++)await Promise.all(o);if(s.length)throw s[0]}function Ut(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[eE]:!0,_name:t})}function oE(e,t,n){const r=()=>n?t(...n):t();return qg.set(e),e.vueApp.runWithContext(r)}function sE(){let e;return sg()&&(e=Ht()?.appContext.app.$nuxt),e=e||qg.tryUse(),e||null}function Ne(){const e=sE();if(!e)throw new Error("[nuxt] instance unavailable");return e}function Ka(e){return Ne().$config}function pi(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const xd=Object.freeze({ignoreUnknown:!1,respectType:!1,respectFunctionNames:!1,respectFunctionProperties:!1,unorderedObjects:!0,unorderedArrays:!1,unorderedSets:!1,excludeKeys:void 0,excludeValues:void 0,replacer:void 0});function vc(e,t){t?t={...xd,...t}:t=xd;const n=Yg(t);return n.dispatch(e),n.toString()}const iE=Object.freeze(["prototype","__proto__","constructor"]);function Yg(e){let t="",n=new Map;const r=o=>{t+=o};return{toString(){return t},getContext(){return n},dispatch(o){return e.replacer&&(o=e.replacer(o)),this[o===null?"null":typeof o](o)},object(o){if(o&&typeof o.toJSON=="function")return this.object(o.toJSON());const s=Object.prototype.toString.call(o);let i="";const a=s.length;a<10?i="unknown:["+s+"]":i=s.slice(8,a-1),i=i.toLowerCase();let l=null;if((l=n.get(o))===void 0)n.set(o,n.size);else return this.dispatch("[CIRCULAR:"+l+"]");if(typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(o))return r("buffer:"),r(o.toString("utf8"));if(i!=="object"&&i!=="function"&&i!=="asyncfunction")this[i]?this[i](o):e.ignoreUnknown||this.unkown(o,i);else{let c=Object.keys(o);e.unorderedObjects&&(c=c.sort());let u=[];e.respectType!==!1&&!Cd(o)&&(u=iE),e.excludeKeys&&(c=c.filter(d=>!e.excludeKeys(d)),u=u.filter(d=>!e.excludeKeys(d))),r("object:"+(c.length+u.length)+":");const f=d=>{this.dispatch(d),r(":"),e.excludeValues||this.dispatch(o[d]),r(",")};for(const d of c)f(d);for(const d of u)f(d)}},array(o,s){if(s=s===void 0?e.unorderedArrays!==!1:s,r("array:"+o.length+":"),!s||o.length<=1){for(const l of o)this.dispatch(l);return}const i=new Map,a=o.map(l=>{const c=Yg(e);c.dispatch(l);for(const[u,f]of c.getContext())i.set(u,f);return c.toString()});return n=i,a.sort(),this.array(a,!1)},date(o){return r("date:"+o.toJSON())},symbol(o){return r("symbol:"+o.toString())},unkown(o,s){if(r(s),!!o&&(r(":"),o&&typeof o.entries=="function"))return this.array(Array.from(o.entries()),!0)},error(o){return r("error:"+o.toString())},boolean(o){return r("bool:"+o)},string(o){r("string:"+o.length+":"),r(o)},function(o){r("fn:"),Cd(o)?this.dispatch("[native]"):this.dispatch(o.toString()),e.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(o.name)),e.respectFunctionProperties&&this.object(o)},number(o){return r("number:"+o)},xml(o){return r("xml:"+o.toString())},null(){return r("Null")},undefined(){return r("Undefined")},regexp(o){return r("regex:"+o.toString())},uint8array(o){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(o))},uint8clampedarray(o){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(o))},int8array(o){return r("int8array:"),this.dispatch(Array.prototype.slice.call(o))},uint16array(o){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(o))},int16array(o){return r("int16array:"),this.dispatch(Array.prototype.slice.call(o))},uint32array(o){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(o))},int32array(o){return r("int32array:"),this.dispatch(Array.prototype.slice.call(o))},float32array(o){return r("float32array:"),this.dispatch(Array.prototype.slice.call(o))},float64array(o){return r("float64array:"),this.dispatch(Array.prototype.slice.call(o))},arraybuffer(o){return r("arraybuffer:"),this.dispatch(new Uint8Array(o))},url(o){return r("url:"+o.toString())},map(o){r("map:");const s=[...o];return this.array(s,e.unorderedSets!==!1)},set(o){r("set:");const s=[...o];return this.array(s,e.unorderedSets!==!1)},file(o){return r("file:"),this.dispatch([o.name,o.size,o.type,o.lastModfied])},blob(){if(e.ignoreUnknown)return r("[blob]");throw new Error(`Hashing Blob objects is currently not supported
|
|
24
|
-
Use "options.replacer" or "options.ignoreUnknown"
|
|
25
|
-
`)},domwindow(){return r("domwindow")},bigint(o){return r("bigint:"+o.toString())},process(){return r("process")},timer(){return r("timer")},pipe(){return r("pipe")},tcp(){return r("tcp")},udp(){return r("udp")},tty(){return r("tty")},statwatcher(){return r("statwatcher")},securecontext(){return r("securecontext")},connection(){return r("connection")},zlib(){return r("zlib")},context(){return r("context")},nodescript(){return r("nodescript")},httpparser(){return r("httpparser")},dataview(){return r("dataview")},signal(){return r("signal")},fsevent(){return r("fsevent")},tlswrap(){return r("tlswrap")}}}const Xg="[native code] }",aE=Xg.length;function Cd(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-aE)===Xg}class Zn{constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||lE).stringify(this)}concat(t){if(this.clamp(),this.sigBytes%4)for(let n=0;n<t.sigBytes;n++){const r=t.words[n>>>2]>>>24-n%4*8&255;this.words[this.sigBytes+n>>>2]|=r<<24-(this.sigBytes+n)%4*8}else for(let n=0;n<t.sigBytes;n+=4)this.words[this.sigBytes+n>>>2]=t.words[n>>>2];return this.sigBytes+=t.sigBytes,this}clamp(){this.words[this.sigBytes>>>2]&=4294967295<<32-this.sigBytes%4*8,this.words.length=Math.ceil(this.sigBytes/4)}clone(){return new Zn([...this.words])}}const lE={stringify(e){const t=[];for(let n=0;n<e.sigBytes;n++){const r=e.words[n>>>2]>>>24-n%4*8&255;t.push((r>>>4).toString(16),(r&15).toString(16))}return t.join("")}},cE={stringify(e){const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=[];for(let r=0;r<e.sigBytes;r+=3){const o=e.words[r>>>2]>>>24-r%4*8&255,s=e.words[r+1>>>2]>>>24-(r+1)%4*8&255,i=e.words[r+2>>>2]>>>24-(r+2)%4*8&255,a=o<<16|s<<8|i;for(let l=0;l<4&&r*8+l*6<e.sigBytes*8;l++)n.push(t.charAt(a>>>6*(3-l)&63))}return n.join("")}},uE={parse(e){const t=e.length,n=[];for(let r=0;r<t;r++)n[r>>>2]|=(e.charCodeAt(r)&255)<<24-r%4*8;return new Zn(n,t)}},fE={parse(e){return uE.parse(unescape(encodeURIComponent(e)))}};class dE{constructor(){this._data=new Zn,this._nDataBytes=0,this._minBufferSize=0,this.blockSize=512/32}reset(){this._data=new Zn,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=fE.parse(t)),this._data.concat(t),this._nDataBytes+=t.sigBytes}_doProcessBlock(t,n){}_process(t){let n,r=this._data.sigBytes/(this.blockSize*4);t?r=Math.ceil(r):r=Math.max((r|0)-this._minBufferSize,0);const o=r*this.blockSize,s=Math.min(o*4,this._data.sigBytes);if(o){for(let i=0;i<o;i+=this.blockSize)this._doProcessBlock(this._data.words,i);n=this._data.words.splice(0,o),this._data.sigBytes-=s}return new Zn(n,s)}}class hE extends dE{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const Ad=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],pE=[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],dr=[];class mE extends hE{constructor(){super(...arguments),this._hash=new Zn([...Ad])}reset(){super.reset(),this._hash=new Zn([...Ad])}_doProcessBlock(t,n){const r=this._hash.words;let o=r[0],s=r[1],i=r[2],a=r[3],l=r[4],c=r[5],u=r[6],f=r[7];for(let d=0;d<64;d++){if(d<16)dr[d]=t[n+d]|0;else{const y=dr[d-15],b=(y<<25|y>>>7)^(y<<14|y>>>18)^y>>>3,E=dr[d-2],C=(E<<15|E>>>17)^(E<<13|E>>>19)^E>>>10;dr[d]=b+dr[d-7]+C+dr[d-16]}const h=l&c^~l&u,p=o&s^o&i^s&i,g=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),m=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),v=f+m+h+pE[d]+dr[d],_=g+p;f=u,u=c,c=l,l=a+v|0,a=i,i=s,s=o,o=v+_|0}r[0]=r[0]+o|0,r[1]=r[1]+s|0,r[2]=r[2]+i|0,r[3]=r[3]+a|0,r[4]=r[4]+l|0,r[5]=r[5]+c|0,r[6]=r[6]+u|0,r[7]=r[7]+f|0}finalize(t){super.finalize(t);const n=this._nDataBytes*8,r=this._data.sigBytes*8;return this._data.words[r>>>5]|=128<<24-r%32,this._data.words[(r+64>>>9<<4)+14]=Math.floor(n/4294967296),this._data.words[(r+64>>>9<<4)+15]=n,this._data.sigBytes=this._data.words.length*4,this._process(),this._hash}}function gE(e){return new mE().finalize(e).toString(cE)}function vE(e,t={}){const n=typeof e=="string"?e:vc(e,t);return gE(n).slice(0,10)}function O6(e,t,n={}){return e===t||vc(e,n)===vc(t,n)}function yE(e,t){return{ctx:{table:e},matchAll:n=>Zg(n,e,t)}}function Jg(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,Jg(o)])):new Map(Object.entries(e[n]));return t}function _E(e){return yE(Jg(e))}function Zg(e,t,n){n!==!0&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[s,i]of Td(t.wildcard))(e===s||e.startsWith(s+"/"))&&r.push(i);for(const[s,i]of Td(t.dynamic))if(e.startsWith(s+"/")){const a="/"+e.slice(s.length).split("/").splice(2).join("/");r.push(...Zg(a,i))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function Td(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Tl(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function yc(e,t,n=".",r){if(!Tl(t))return yc(e,{},n,r);const o=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const i=e[s];i!=null&&(r&&r(o,s,i,n)||(Array.isArray(i)&&Array.isArray(o[s])?o[s]=[...i,...o[s]]:Tl(i)&&Tl(o[s])?o[s]=yc(i,o[s],(n?`${n}.`:"")+s.toString(),r):o[s]=i))}return o}function Qg(e){return(...t)=>t.reduce((n,r)=>yc(n,r,"",e),{})}const e0=Qg(),bE=Qg((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function wE(e,t){try{return t in e}catch{return!1}}var EE=Object.defineProperty,SE=(e,t,n)=>t in e?EE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mr=(e,t,n)=>(SE(e,typeof t!="symbol"?t+"":t,n),n);class _c extends Error{constructor(t,n={}){super(t,n),mr(this,"statusCode",500),mr(this,"fatal",!1),mr(this,"unhandled",!1),mr(this,"statusMessage"),mr(this,"data"),mr(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:wc(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=t0(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}mr(_c,"__h3_error__",!0);function bc(e){if(typeof e=="string")return new _c(e);if(xE(e))return e;const t=new _c(e.message??e.statusMessage??"",{cause:e.cause||e});if(wE(e,"stack"))try{Object.defineProperty(t,"stack",{get(){return e.stack}})}catch{try{t.stack=e.stack}catch{}}if(e.data&&(t.data=e.data),e.statusCode?t.statusCode=wc(e.statusCode,t.statusCode):e.status&&(t.statusCode=wc(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;t0(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 xE(e){return e?.constructor?.__h3_error__===!0}const CE=/[^\u0009\u0020-\u007E]/g;function t0(e=""){return e.replace(CE,"")}function wc(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const n0=Symbol("layout-meta"),Ks=Symbol("route"),rt=()=>Ne()?.$router,_o=()=>sg()?bt(Ks,Ne()._route):Ne()._route;const AE=()=>{try{if(Ne()._processingMiddleware)return!0}catch{return!1}return!1},Ec=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:zg(e.path||"/",e.query||{})+(e.hash||"");if(t?.open){const{target:a="_blank",windowFeatures:l={}}=t.open,c=Object.entries(l).filter(([u,f])=>f!==void 0).map(([u,f])=>`${u.toLowerCase()}=${f}`).join(", ");return open(n,a,c),Promise.resolve()}const r=t?.external||On(n,{acceptRelative:!0});if(r){if(!t?.external)throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const a=Ws(n).protocol;if(a&&ww(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const o=AE();if(!r&&o)return e;const s=rt(),i=Ne();return r?(i._scope.stop(),t?.replace?location.replace(n):location.href=n,o?i.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t?.replace?s.replace(e):s.push(e)},r0="__nuxt_error",qa=()=>Ia(Ne().payload,"error"),Ur=e=>{const t=qs(e);try{const n=Ne(),r=qa();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},TE=async(e={})=>{const t=Ne(),n=qa();t.callHook("app:error:cleared",e),e.redirect&&await rt().replace(e.redirect),n.value=null},RE=e=>!!e&&typeof e=="object"&&r0 in e,qs=e=>{const t=bc(e);return Object.defineProperty(t,r0,{value:!0,configurable:!1,writable:!1}),t},PE="modulepreload",$E=function(e,t){return e[0]==="."?new URL(e,t).href:e},Rd={},kE=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),a=i?.nonce||i?.getAttribute("nonce");o=Promise.all(n.map(l=>{if(l=$E(l,r),l in Rd)return;Rd[l]=!0;const c=l.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(!!r)for(let h=s.length-1;h>=0;h--){const p=s[h];if(p.href===l&&(!c||p.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${u}`))return;const d=document.createElement("link");if(d.rel=c?"stylesheet":PE,c||(d.as="script",d.crossOrigin=""),d.href=l,a&&d.setAttribute("nonce",a),document.head.appendChild(d),c)return new Promise((h,p)=>{d.addEventListener("load",h),d.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${l}`)))})}))}return o.then(()=>t()).catch(s=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=s,window.dispatchEvent(i),!i.defaultPrevented)throw s})},ge=(...e)=>kE(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),OE=-1,NE=-2,IE=-3,LE=-4,DE=-5,ME=-6;function FE(e,t){return BE(JSON.parse(e),t)}function BE(e,t){if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const n=e,r=Array(n.length);function o(s,i=!1){if(s===OE)return;if(s===IE)return NaN;if(s===LE)return 1/0;if(s===DE)return-1/0;if(s===ME)return-0;if(i)throw new Error("Invalid input");if(s in r)return r[s];const a=n[s];if(!a||typeof a!="object")r[s]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],c=t?.[l];if(c)return r[s]=c(o(a[1]));switch(l){case"Date":r[s]=new Date(a[1]);break;case"Set":const u=new Set;r[s]=u;for(let h=1;h<a.length;h+=1)u.add(o(a[h]));break;case"Map":const f=new Map;r[s]=f;for(let h=1;h<a.length;h+=2)f.set(o(a[h]),o(a[h+1]));break;case"RegExp":r[s]=new RegExp(a[1],a[2]);break;case"Object":r[s]=Object(a[1]);break;case"BigInt":r[s]=BigInt(a[1]);break;case"null":const d=Object.create(null);r[s]=d;for(let h=1;h<a.length;h+=2)d[a[h]]=o(a[h+1]);break;default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[s]=l;for(let c=0;c<a.length;c+=1){const u=a[c];u!==NE&&(l[c]=o(u))}}else{const l={};r[s]=l;for(const c in a){const u=a[c];l[c]=o(u)}}return r[s]}return o(0)}function jE(e){return Array.isArray(e)?e:[e]}const zE=["title","titleTemplate","script","style","noscript"],Li=["base","meta","link","style","script","noscript"],HE=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],UE=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],o0=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],VE=typeof window<"u";function Fu(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 Pd(e){return e._h||Fu(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function s0(e,t){const{props:n,tag:r}=e;if(UE.includes(r))return r;if(r==="link"&&n.rel==="canonical")return"canonical";if(n.charset)return"charset";const o=["id"];r==="meta"&&o.push("name","property","http-equiv");for(const s of o)if(typeof n[s]<"u"){const i=String(n[s]);return t&&!t(i)?!1:`${r}:${s}:${i}`}return!1}function $d(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function GE(e,t,n){const r={tag:e,props:await i0(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return o0.forEach(o=>{const s=typeof r.props[o]<"u"?r.props[o]:n[o];typeof s<"u"&&((!["innerHTML","textContent","children"].includes(o)||zE.includes(r.tag))&&(r[o==="children"?"innerHTML":o]=s),delete r.props[o])}),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),r.tag==="script"&&typeof r.innerHTML=="object"&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map(o=>({...r,props:{...r.props,content:o}})):r}function WE(e,t){const n=e==="class"?" ":";";return typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,r])=>r).map(([r,o])=>e==="style"?`${r}:${o}`:r)),(Array.isArray(t)?t.join(n):t).split(n).filter(r=>r.trim()).filter(Boolean).join(n)}async function i0(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=WE(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!o0.includes(n)){const r=String(e[n]),o=n.startsWith("data-");r==="true"||r===""?e[n]=o?"true":!0:e[n]||(o&&r==="false"?e[n]="false":delete e[n])}}return e}const KE=10;async function qE(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&HE.includes(n)).forEach(([n,r])=>{const o=jE(r);t.push(...o.map(s=>GE(n,s,e)).flat())}),(await Promise.all(t)).flat().filter(Boolean).map((n,r)=>(n._e=e._i,e.mode&&(n._m=e.mode),n._p=(e._i<<KE)+r,n))}const kd={base:-10,title:10},Od={critical:-80,high:-10,low:20};function ia(e){let t=100;const n=e.tagPriority;return typeof n=="number"?n:(e.tag==="meta"?(e.props["http-equiv"]==="content-security-policy"&&(t=-30),e.props.charset&&(t=-20),e.props.name==="viewport"&&(t=-15)):e.tag==="link"&&e.props.rel==="preconnect"?t=20:e.tag in kd&&(t=kd[e.tag]),typeof n=="string"&&n in Od?t+Od[n]:t)}const YE=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Nd=["onload","onerror","onabort","onprogress","onloadstart"],Dn="%separator";function Di(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;function r(i){let a;return["s","pageTitle"].includes(i)?a=t.pageTitle:i.includes(".")?a=i.split(".").reduce((l,c)=>l&&l[c]||void 0,t):a=t[i],typeof a<"u"?(a||"").replace(/"/g,'\\"'):!1}let o=e;try{o=decodeURI(e)}catch{}return(o.match(/%(\w+\.+\w+)|%(\w+)/g)||[]).sort().reverse().forEach(i=>{const a=r(i.slice(1));typeof a=="string"&&(e=e.replace(new RegExp(`\\${i}(\\W|$)`,"g"),(l,c)=>`${a}${c}`).trim())}),e.includes(Dn)&&(e.endsWith(Dn)&&(e=e.slice(0,-Dn.length).trim()),e.startsWith(Dn)&&(e=e.slice(Dn.length).trim()),e=e.replace(new RegExp(`\\${Dn}\\s*\\${Dn}`,"g"),Dn),e=Di(e,{separator:n},n)),e}async function a0(e,t={}){const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",r),!r.shouldRender)return;const o=(await e.resolveTags()).map(u=>({tag:u,id:Li.includes(u.tag)?Pd(u):u.tag,shouldRender:!0}));let s=e._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};for(const u of["body","head"]){const f=n[u]?.children,d=[];for(const h of[...f].filter(p=>Li.includes(p.tagName.toLowerCase()))){const p={tag:h.tagName.toLowerCase(),props:await i0(h.getAttributeNames().reduce((v,_)=>({...v,[_]:h.getAttribute(_)}),{})),innerHTML:h.innerHTML};let g=1,m=s0(p);for(;m&&d.find(v=>v._d===m);)m=`${m}:${g++}`;p._d=m||void 0,d.push(p),s.elMap[h.getAttribute("data-hid")||Pd(p)]=h}}}s.pendingSideEffects={...s.sideEffects||{}},s.sideEffects={};function i(u,f,d){const h=`${u}:${f}`;s.sideEffects[h]=d,delete s.pendingSideEffects[h]}function a({id:u,$el:f,tag:d}){const h=d.tag.endsWith("Attrs");s.elMap[u]=f,h||(["textContent","innerHTML"].forEach(p=>{d[p]&&d[p]!==f[p]&&(f[p]=d[p])}),i(u,"el",()=>{s.elMap[u]?.remove(),delete s.elMap[u]}));for(const[p,g]of Object.entries(d._eventHandlers||{}))f.getAttribute(`data-${p}`)!==""&&((d.tag==="bodyAttrs"?n.defaultView:f).addEventListener(p.replace("on",""),g.bind(f)),f.setAttribute(`data-${p}`,""));Object.entries(d.props).forEach(([p,g])=>{const m=`attr:${p}`;if(p==="class")for(const v of(g||"").split(" ").filter(Boolean))h&&i(u,`${m}:${v}`,()=>f.classList.remove(v)),!f.classList.contains(v)&&f.classList.add(v);else if(p==="style")for(const v of(g||"").split(";").filter(Boolean)){const[_,...y]=v.split(":").map(b=>b.trim());i(u,`${m}:${v}:${_}`,()=>{f.style.removeProperty(_)}),f.style.setProperty(_,y.join(":"))}else f.getAttribute(p)!==g&&f.setAttribute(p,g===!0?"":String(g)),h&&i(u,m,()=>f.removeAttribute(p))})}const l=[],c={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const u of o){const{tag:f,shouldRender:d,id:h}=u;if(d){if(f.tag==="title"){n.title=f.textContent;continue}u.$el=u.$el||s.elMap[h],u.$el?a(u):Li.includes(f.tag)&&l.push(u)}}for(const u of l){const f=u.tag.tagPosition||"head";u.$el=n.createElement(u.tag.tag),a(u),c[f]=c[f]||n.createDocumentFragment(),c[f].appendChild(u.$el)}for(const u of o)await e.hooks.callHook("dom:renderTag",u,n,i);c.head&&n.head.appendChild(c.head),c.bodyOpen&&n.body.insertBefore(c.bodyOpen,n.body.firstChild),c.bodyClose&&n.body.appendChild(c.bodyClose),Object.values(s.pendingSideEffects).forEach(u=>u()),e._dom=s,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}async function XE(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await a0(e,t),delete e._domUpdatePromise,r()}))}function JE(e){return t=>{const n=t.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":function(r){XE(r,e)}}}}}const ZE=["templateParams","htmlAttrs","bodyAttrs"],QE={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach(r=>{e.props[r]&&(e.key=e.props[r],delete e.props[r])});const n=s0(e)||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":function(e){const t={};e.tags.forEach(r=>{const o=(r.key?`${r.tag}:${r.key}`:r._d)||r._p,s=t[o];if(s){let a=r?.tagDuplicateStrategy;if(!a&&ZE.includes(r.tag)&&(a="merge"),a==="merge"){const l=s.props;["class","style"].forEach(c=>{l[c]&&(r.props[c]?(c==="style"&&!l[c].endsWith(";")&&(l[c]+=";"),r.props[c]=`${l[c]} ${r.props[c]}`):r.props[c]=l[c])}),t[o].props={...l,...r.props};return}else if(r._e===s._e){s._duped=s._duped||[],r._d=`${s._d}:${s._duped.length+1}`,s._duped.push(r);return}else if(ia(r)>ia(s))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Li.includes(r.tag)&&i===0){delete t[o];return}t[o]=r});const n=[];Object.values(t).forEach(r=>{const o=r._duped;delete r._duped,n.push(r),o&&n.push(...o)}),e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},eS={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter(n=>["titleTemplate","templateParams","title"].includes(n.tag)&&n._m==="server").forEach(n=>{t[n.tag]=n.tag.startsWith("title")?n.textContent:n.props}),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},tS=["script","link","bodyAttrs"],nS=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>tS.includes(r.tag)))Object.entries(n.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"&&(e.ssr&&Nd.includes(r)?n.props[r]=`this.dataset.${r}fired = true`:delete n.props[r],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=o)}),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||Fu(n.props.src||n.props.href))},"dom:renderTag":function({$el:t,tag:n}){for(const r of Object.keys(t?.dataset||{}).filter(o=>Nd.some(s=>`${s}fired`===o))){const o=r.replace("fired","");n._eventHandlers?.[o]?.call(t,new Event(o.replace("on","")))}}}}),rS=["link","style","script","noscript"],oS={hooks:{"tag:normalise":({tag:e})=>{e.key&&rS.includes(e.tag)&&(e.props["data-hid"]=e._h=Fu(e.key))}}},sS={hooks:{"tags:resolve":e=>{const t=n=>e.tags.find(r=>r._d===n)?._p;for(const{prefix:n,offset:r}of YE)for(const o of e.tags.filter(s=>typeof s.tagPriority=="string"&&s.tagPriority.startsWith(n))){const s=t(o.tagPriority.replace(n,""));typeof s<"u"&&(o._p=s+r)}e.tags.sort((n,r)=>n._p-r._p).sort((n,r)=>ia(n)-ia(r))}}},iS={meta:"content",link:"href",htmlAttrs:"lang"},aS=e=>({hooks:{"tags:resolve":t=>{const{tags:n}=t,r=n.find(a=>a.tag==="title")?.textContent,o=n.findIndex(a=>a.tag==="templateParams"),s=o!==-1?n[o].props:{},i=s.separator||"|";delete s.separator,s.pageTitle=Di(s.pageTitle||r||"",s,i);for(const a of n.filter(l=>l.processTemplateParams!==!1)){const l=iS[a.tag];l&&typeof a.props[l]=="string"?a.props[l]=Di(a.props[l],s,i):(a.processTemplateParams===!0||["titleTemplate","title"].includes(a.tag))&&["innerHTML","textContent"].forEach(c=>{typeof a[c]=="string"&&(a[c]=Di(a[c],s,i))})}e._templateParams=s,e._separator=i,t.tags=n.filter(a=>a.tag!=="templateParams")}}}),lS={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex(o=>o.tag==="titleTemplate");const r=t.findIndex(o=>o.tag==="title");if(r!==-1&&n!==-1){const o=$d(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=$d(t[n].textContent);o!==null&&(t[n].textContent=o,t[n].tag="title",n=-1)}n!==-1&&delete t[n],e.tags=t.filter(Boolean)}}},cS={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let l0;function uS(e={}){const t=fS(e);return t.use(JE()),l0=t}function Id(e,t){return!e||e==="server"&&t||e==="client"&&!t}function fS(e={}){const t=Wa();t.addHooks(e.hooks||{}),e.document=e.document||(VE?document:void 0);const n=!e.document,r=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let o=0,s=[];const i=[],a={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return s},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!i.some(u=>u.key===c.key))&&(i.push(c),Id(c.mode,n)&&t.addHooks(c.hooks||{}))},push(l,c){delete c?.head;const u={_i:o++,input:l,...c};return Id(u.mode,n)&&(s.push(u),r()),{dispose(){s=s.filter(f=>f._i!==u._i),t.callHook("entries:updated",a),r()},patch(f){s=s.map(d=>(d._i===u._i&&(d.input=u.input=f),d)),r()}}},async resolveTags(){const l={tags:[],entries:[...s]};await t.callHook("entries:resolve",l);for(const c of l.entries){const u=c.resolvedInput||c.input;if(c.resolvedInput=await(c.transform?c.transform(u):u),c.resolvedInput)for(const f of await qE(c)){const d={tag:f,entry:c,resolvedOptions:a.resolvedOptions};await t.callHook("tag:normalise",d),l.tags.push(d.tag)}}return await t.callHook("tags:beforeResolve",l),await t.callHook("tags:resolve",l),await t.callHook("tags:afterResolve",l),l.tags},ssr:n};return[QE,eS,nS,oS,sS,aS,lS,cS,...e?.plugins||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function dS(){return l0}const hS=Cg.startsWith("3");function pS(e){return typeof e=="function"?e():j(e)}function aa(e,t=""){if(e instanceof Promise)return e;const n=pS(e);return!e||!n?n:Array.isArray(n)?n.map(r=>aa(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,j(o)]:[r,aa(o,r)])):n}const mS={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=aa(t.input)}}},c0="usehead";function gS(e){return{install(n){hS&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(c0,e))}}.install}function vS(e={}){e.domDelayFn=e.domDelayFn||(n=>Nt(()=>setTimeout(()=>n(),0)));const t=uS(e);return t.use(mS),t.install=gS(t),t}const Sc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},xc="__unhead_injection_handler__";function yS(e){Sc[xc]=e}function _S(){if(xc in Sc)return Sc[xc]();const e=bt(c0);return e||dS()}function bS(e,t={}){const n=t.head||_S();if(n)return n.ssr?n.push(e,t):wS(n,e,t)}function wS(e,t,n={}){const r=U(!1),o=U({});Rr(()=>{o.value=r.value?{}:aa(t)});const s=e.push(o.value,n);return De(o,a=>{s.patch(a)}),Ht()&&(Vs(()=>{s.dispose()}),Jm(()=>{r.value=!0}),Xm(()=>{r.value=!1})),s}const ES={fixture1:"from app.config.ts"},SS={fixture2:"from nuxt.config.ts",nuxt:{buildId:"923994c1-a7bd-4c91-b02b-513548587468"}},xS=bE(ES,SS);function u0(){const e=Ne();return e._appConfig||(e._appConfig=Tt(xS)),e._appConfig}const CS=!1,Cc=!1,AS=!1,TS={componentName:"NuxtLink"},RS={deep:!0},PS={},$S="#__nuxt";let Mi,f0;function kS(){const e=u0().nuxt?.buildId;return Mi=$fetch(Mu(`builds/meta/${e}.json`)),Mi.then(t=>{f0=_E(t.matcher)}),Mi}function Ya(){return Mi||kS()}async function Bu(e){return await Ya(),e0({},...f0.matchAll(e).reverse())}function Ld(e,t={}){const n=NS(e,t),r=Ne(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=IS(e).then(s=>s?d0(n).then(i=>i||(delete o[n],null)):(o[n]=null,null))),o[n]}const OS="_payload.json";function NS(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||On(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():u0().nuxt?.buildId);return Ga(Ka().app.baseURL,n.pathname,OS+(r?`?${r}`:""))}async function d0(e){const t=fetch(e).then(n=>n.text().then(h0));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function IS(e=_o().path){if(e=Va(e),(await Ya()).prerendered.includes(e))return!0;const n=await Bu(e);return!!n.prerender&&!n.redirect}let mi=null;async function LS(){if(mi)return mi;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await h0(e.textContent||""),n=e.dataset.src?await d0(e.dataset.src):void 0;return mi={...t,...n,...window.__NUXT__},mi}async function h0(e){return await FE(e,Ne()._payloadRevivers)}function DS(e,t){Ne()._payloadRevivers[e]=t}const Dd={NuxtError:e=>qs(e),EmptyShallowRef:e=>Jt(e==="_"?void 0:e==="0n"?BigInt(0):ta(e)),EmptyRef:e=>U(e==="_"?void 0:e==="0n"?BigInt(0):ta(e)),ShallowRef:e=>Jt(e),ShallowReactive:e=>vo(e),Ref:e=>U(e),Reactive:e=>Tt(e)},MS=Ut({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Dd)DS(r,Dd[r]);Object.assign(e.payload,([t,n]=$s(()=>e.runWithContext(LS)),t=await t,n(),t)),window.__NUXT__=e.payload}}),FS=[],BS=Ut({name:"nuxt:head",enforce:"pre",setup(e){const t=vS({plugins:FS});yS(()=>Ne().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await a0(t)};t.hooks.hook("dom:beforeRender",o=>{o.shouldRender=!n}),e.hooks.hook("page:start",()=>{n=!0}),e.hooks.hook("page:finish",()=>{e.isHydrating||r()}),e.hooks.hook("app:error",r),e.hooks.hook("app:suspense:resolve",r)}}});/*!
|
|
26
|
-
* vue-router v4.3.2
|
|
27
|
-
* (c) 2024 Eduardo San Martin Morote
|
|
28
|
-
* @license MIT
|
|
29
|
-
*/const zr=typeof document<"u";function jS(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const Be=Object.assign;function Rl(e,t){const n={};for(const r in t){const o=t[r];n[r]=Zt(o)?o.map(e):e(o)}return n}const ms=()=>{},Zt=Array.isArray,p0=/#/g,zS=/&/g,HS=/\//g,US=/=/g,VS=/\?/g,m0=/\+/g,GS=/%5B/g,WS=/%5D/g,g0=/%5E/g,KS=/%60/g,v0=/%7B/g,qS=/%7C/g,y0=/%7D/g,YS=/%20/g;function ju(e){return encodeURI(""+e).replace(qS,"|").replace(GS,"[").replace(WS,"]")}function XS(e){return ju(e).replace(v0,"{").replace(y0,"}").replace(g0,"^")}function Ac(e){return ju(e).replace(m0,"%2B").replace(YS,"+").replace(p0,"%23").replace(zS,"%26").replace(KS,"`").replace(v0,"{").replace(y0,"}").replace(g0,"^")}function JS(e){return Ac(e).replace(US,"%3D")}function ZS(e){return ju(e).replace(p0,"%23").replace(VS,"%3F")}function QS(e){return e==null?"":ZS(e).replace(HS,"%2F")}function ks(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const ex=/\/$/,tx=e=>e.replace(ex,"");function Pl(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=sx(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:ks(i)}}function nx(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Md(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function rx(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&uo(t.matched[r],n.matched[o])&&_0(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function uo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function _0(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!ox(e[n],t[n]))return!1;return!0}function ox(e,t){return Zt(e)?Fd(e,t):Zt(t)?Fd(t,e):e===t}function Fd(e,t){return Zt(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function sx(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}var Os;(function(e){e.pop="pop",e.push="push"})(Os||(Os={}));var gs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(gs||(gs={}));function ix(e){if(!e)if(zr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),tx(e)}const ax=/^[^#]+#/;function lx(e,t){return e.replace(ax,"#")+t}function cx(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Xa=()=>({left:window.scrollX,top:window.scrollY});function ux(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=cx(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Bd(e,t){return(history.state?history.state.position-t:-1)+e}const Tc=new Map;function fx(e,t){Tc.set(e,t)}function dx(e){const t=Tc.get(e);return Tc.delete(e),t}let hx=()=>location.protocol+"//"+location.host;function b0(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Md(l,"")}return Md(n,e)+r+o}function px(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const h=b0(e,location),p=n.value,g=t.value;let m=0;if(d){if(n.value=h,t.value=d,i&&i===p){i=null;return}m=g?d.position-g.position:0}else r(h);o.forEach(v=>{v(n.value,p,{delta:m,type:Os.pop,direction:m?m>0?gs.forward:gs.back:gs.unknown})})};function l(){i=n.value}function c(d){o.push(d);const h=()=>{const p=o.indexOf(d);p>-1&&o.splice(p,1)};return s.push(h),h}function u(){const{history:d}=window;d.state&&d.replaceState(Be({},d.state,{scroll:Xa()}),"")}function f(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function jd(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Xa():null}}function mx(e){const{history:t,location:n}=window,r={value:b0(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,c,u){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:hx()+e+l;try{t[u?"replaceState":"pushState"](c,"",d),o.value=c}catch(h){console.error(h),n[u?"replace":"assign"](d)}}function i(l,c){const u=Be({},t.state,jd(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});s(l,u,!0),r.value=l}function a(l,c){const u=Be({},o.value,t.state,{forward:l,scroll:Xa()});s(u.current,u,!0);const f=Be({},jd(r.value,l,null),{position:u.position+1},c);s(l,f,!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function w0(e){e=ix(e);const t=mx(e),n=px(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=Be({location:"",base:e,go:r,createHref:lx.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function gx(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),w0(e)}function vx(e){return typeof e=="string"||e&&typeof e=="object"}function E0(e){return typeof e=="string"||typeof e=="symbol"}const Gt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},S0=Symbol("");var zd;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(zd||(zd={}));function fo(e,t){return Be(new Error,{type:e,[S0]:!0},t)}function vn(e,t){return e instanceof Error&&S0 in e&&(t==null||!!(e.type&t))}const Hd="[^/]+?",yx={sensitive:!1,strict:!1,start:!0,end:!0},_x=/[.+*?^${}()[\]/\\]/g;function bx(e,t){const n=Be({},yx,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const u=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let f=0;f<c.length;f++){const d=c[f];let h=40+(n.sensitive?.25:0);if(d.type===0)f||(o+="/"),o+=d.value.replace(_x,"\\$&"),h+=40;else if(d.type===1){const{value:p,repeatable:g,optional:m,regexp:v}=d;s.push({name:p,repeatable:g,optional:m});const _=v||Hd;if(_!==Hd){h+=10;try{new RegExp(`(${_})`)}catch(b){throw new Error(`Invalid custom RegExp for param "${p}" (${_}): `+b.message)}}let y=g?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;f||(y=m&&c.length<2?`(?:/${y})`:"/"+y),m&&(y+="?"),o+=y,h+=20,m&&(h+=-8),g&&(h+=-20),_===".*"&&(h+=-50)}u.push(h)}r.push(u)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(c){const u=c.match(i),f={};if(!u)return null;for(let d=1;d<u.length;d++){const h=u[d]||"",p=s[d-1];f[p.name]=h&&p.repeatable?h.split("/"):h}return f}function l(c){let u="",f=!1;for(const d of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const h of d)if(h.type===0)u+=h.value;else if(h.type===1){const{value:p,repeatable:g,optional:m}=h,v=p in c?c[p]:"";if(Zt(v)&&!g)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const _=Zt(v)?v.join("/"):v;if(!_)if(m)d.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${p}"`);u+=_}}return u||"/"}return{re:i,score:r,keys:s,parse:a,stringify:l}}function wx(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function Ex(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=wx(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(Ud(r))return 1;if(Ud(o))return-1}return o.length-r.length}function Ud(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Sx={type:0,value:""},xx=/[a-zA-Z0-9_]/;function Cx(e){if(!e)return[[]];if(e==="/")return[[Sx]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${c}": ${h}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,c="",u="";function f(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:u,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function d(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&f(),i()):l===":"?(f(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:xx.test(l)?d():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+l:n=3:u+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,u="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),o}function Ax(e,t,n){const r=bx(Cx(e.path),n),o=Be(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function Tx(e,t){const n=[],r=new Map;t=Wd({strict:!1,end:!0,sensitive:!1},t);function o(u){return r.get(u)}function s(u,f,d){const h=!d,p=Rx(u);p.aliasOf=d&&d.record;const g=Wd(t,u),m=[p];if("alias"in u){const y=typeof u.alias=="string"?[u.alias]:u.alias;for(const b of y)m.push(Be({},p,{components:d?d.record.components:p.components,path:b,aliasOf:d?d.record:p}))}let v,_;for(const y of m){const{path:b}=y;if(f&&b[0]!=="/"){const E=f.record.path,C=E[E.length-1]==="/"?"":"/";y.path=f.record.path+(b&&C+b)}if(v=Ax(y,f,g),d?d.alias.push(v):(_=_||v,_!==v&&_.alias.push(v),h&&u.name&&!Gd(v)&&i(u.name)),p.children){const E=p.children;for(let C=0;C<E.length;C++)s(E[C],v,d&&d.children[C])}d=d||v,(v.record.components&&Object.keys(v.record.components).length||v.record.name||v.record.redirect)&&l(v)}return _?()=>{i(_)}:ms}function i(u){if(E0(u)){const f=r.get(u);f&&(r.delete(u),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(u);f>-1&&(n.splice(f,1),u.record.name&&r.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function a(){return n}function l(u){let f=0;for(;f<n.length&&Ex(u,n[f])>=0&&(u.record.path!==n[f].record.path||!x0(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!Gd(u)&&r.set(u.record.name,u)}function c(u,f){let d,h={},p,g;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw fo(1,{location:u});g=d.record.name,h=Be(Vd(f.params,d.keys.filter(_=>!_.optional).concat(d.parent?d.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),u.params&&Vd(u.params,d.keys.map(_=>_.name))),p=d.stringify(h)}else if(u.path!=null)p=u.path,d=n.find(_=>_.re.test(p)),d&&(h=d.parse(p),g=d.record.name);else{if(d=f.name?r.get(f.name):n.find(_=>_.re.test(f.path)),!d)throw fo(1,{location:u,currentLocation:f});g=d.record.name,h=Be({},f.params,u.params),p=d.stringify(h)}const m=[];let v=d;for(;v;)m.unshift(v.record),v=v.parent;return{name:g,path:p,params:h,matched:m,meta:$x(m)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function Vd(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Rx(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Px(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 Px(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="object"?n[r]:n;return t}function Gd(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function $x(e){return e.reduce((t,n)=>Be(t,n.meta),{})}function Wd(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function x0(e,t){return t.children.some(n=>n===e||x0(e,n))}function kx(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const s=r[o].replace(m0," "),i=s.indexOf("="),a=ks(i<0?s:s.slice(0,i)),l=i<0?null:ks(s.slice(i+1));if(a in t){let c=t[a];Zt(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function Kd(e){let t="";for(let n in e){const r=e[n];if(n=JS(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Zt(r)?r.map(s=>s&&Ac(s)):[r&&Ac(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function Ox(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Zt(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Nx=Symbol(""),qd=Symbol(""),zu=Symbol(""),Hu=Symbol(""),Rc=Symbol("");function ko(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Gn(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const c=d=>{d===!1?l(fo(4,{from:n,to:t})):d instanceof Error?l(d):vx(d)?l(fo(2,{from:t,to:d})):(i&&r.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},u=s(()=>e.call(r&&r.instances[o],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(d=>l(d))})}function $l(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Ix(l)){const u=(l.__vccOpts||l)[t];u&&s.push(Gn(u,n,r,i,a,o))}else{let c=l();s.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const f=jS(u)?u.default:u;i.components[a]=f;const h=(f.__vccOpts||f)[t];return h&&Gn(h,n,r,i,a,o)()}))}}return s}function Ix(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Yd(e){const t=bt(zu),n=bt(Hu),r=se(()=>{const l=j(e.to);return t.resolve(l)}),o=se(()=>{const{matched:l}=r.value,{length:c}=l,u=l[c-1],f=n.matched;if(!u||!f.length)return-1;const d=f.findIndex(uo.bind(null,u));if(d>-1)return d;const h=Xd(l[c-2]);return c>1&&Xd(u)===h&&f[f.length-1].path!==h?f.findIndex(uo.bind(null,l[c-2])):d}),s=se(()=>o.value>-1&&Fx(n.params,r.value.params)),i=se(()=>o.value>-1&&o.value===n.matched.length-1&&_0(n.params,r.value.params));function a(l={}){return Mx(l)?t[j(e.replace)?"replace":"push"](j(e.to)).catch(ms):Promise.resolve()}return{route:r,href:se(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}const Lx=Ae({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:Yd,setup(e,{slots:t}){const n=Tt(Yd(e)),{options:r}=bt(zu),o=se(()=>({[Jd(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Jd(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:et("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),Dx=Lx;function Mx(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 Fx(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Zt(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function Xd(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Jd=(e,t,n)=>e??t??n,Bx=Ae({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=bt(Rc),o=se(()=>e.route||r.value),s=bt(qd,0),i=se(()=>{let c=j(s);const{matched:u}=o.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),a=se(()=>o.value.matched[i.value]);Jn(qd,se(()=>i.value+1)),Jn(Nx,a),Jn(Rc,o);const l=U();return De(()=>[l.value,a.value,e.name],([c,u,f],[d,h,p])=>{u&&(u.instances[f]=c,h&&h!==u&&c&&c===d&&(u.leaveGuards.size||(u.leaveGuards=h.leaveGuards),u.updateGuards.size||(u.updateGuards=h.updateGuards))),c&&u&&(!h||!uo(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(g=>g(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return Zd(n.default,{Component:d,route:c});const h=f.props[u],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,m=et(d,Be({},p,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return Zd(n.default,{Component:m,route:c})||m}}});function Zd(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const C0=Bx;function jx(e){const t=Tx(e.routes,e),n=e.parseQuery||kx,r=e.stringifyQuery||Kd,o=e.history,s=ko(),i=ko(),a=ko(),l=Jt(Gt);let c=Gt;zr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Rl.bind(null,F=>""+F),f=Rl.bind(null,QS),d=Rl.bind(null,ks);function h(F,oe){let ee,ce;return E0(F)?(ee=t.getRecordMatcher(F),ce=oe):ce=F,t.addRoute(ce,ee)}function p(F){const oe=t.getRecordMatcher(F);oe&&t.removeRoute(oe)}function g(){return t.getRoutes().map(F=>F.record)}function m(F){return!!t.getRecordMatcher(F)}function v(F,oe){if(oe=Be({},oe||l.value),typeof F=="string"){const x=Pl(n,F,oe.path),N=t.resolve({path:x.path},oe),z=o.createHref(x.fullPath);return Be(x,N,{params:d(N.params),hash:ks(x.hash),redirectedFrom:void 0,href:z})}let ee;if(F.path!=null)ee=Be({},F,{path:Pl(n,F.path,oe.path).path});else{const x=Be({},F.params);for(const N in x)x[N]==null&&delete x[N];ee=Be({},F,{params:f(x)}),oe.params=f(oe.params)}const ce=t.resolve(ee,oe),Ie=F.hash||"";ce.params=u(d(ce.params));const Me=nx(r,Be({},F,{hash:XS(Ie),path:ce.path})),w=o.createHref(Me);return Be({fullPath:Me,hash:Ie,query:r===Kd?Ox(F.query):F.query||{}},ce,{redirectedFrom:void 0,href:w})}function _(F){return typeof F=="string"?Pl(n,F,l.value.path):Be({},F)}function y(F,oe){if(c!==F)return fo(8,{from:oe,to:F})}function b(F){return O(F)}function E(F){return b(Be(_(F),{replace:!0}))}function C(F){const oe=F.matched[F.matched.length-1];if(oe&&oe.redirect){const{redirect:ee}=oe;let ce=typeof ee=="function"?ee(F):ee;return typeof ce=="string"&&(ce=ce.includes("?")||ce.includes("#")?ce=_(ce):{path:ce},ce.params={}),Be({query:F.query,hash:F.hash,params:ce.path!=null?{}:F.params},ce)}}function O(F,oe){const ee=c=v(F),ce=l.value,Ie=F.state,Me=F.force,w=F.replace===!0,x=C(ee);if(x)return O(Be(_(x),{state:typeof x=="object"?Be({},Ie,x.state):Ie,force:Me,replace:w}),oe||ee);const N=ee;N.redirectedFrom=oe;let z;return!Me&&rx(r,ce,ee)&&(z=fo(16,{to:N,from:ce}),ie(ce,ce,!0,!1)),(z?Promise.resolve(z):P(N,ce)).catch(M=>vn(M)?vn(M,2)?M:ae(M):I(M,N,ce)).then(M=>{if(M){if(vn(M,2))return O(Be({replace:w},_(M.to),{state:typeof M.to=="object"?Be({},Ie,M.to.state):Ie,force:Me}),oe||N)}else M=A(N,ce,!0,w,Ie);return L(N,ce,M),M})}function k(F,oe){const ee=y(F,oe);return ee?Promise.reject(ee):Promise.resolve()}function D(F){const oe=Ce.values().next().value;return oe&&typeof oe.runWithContext=="function"?oe.runWithContext(F):F()}function P(F,oe){let ee;const[ce,Ie,Me]=zx(F,oe);ee=$l(ce.reverse(),"beforeRouteLeave",F,oe);for(const x of ce)x.leaveGuards.forEach(N=>{ee.push(Gn(N,F,oe))});const w=k.bind(null,F,oe);return ee.push(w),Ve(ee).then(()=>{ee=[];for(const x of s.list())ee.push(Gn(x,F,oe));return ee.push(w),Ve(ee)}).then(()=>{ee=$l(Ie,"beforeRouteUpdate",F,oe);for(const x of Ie)x.updateGuards.forEach(N=>{ee.push(Gn(N,F,oe))});return ee.push(w),Ve(ee)}).then(()=>{ee=[];for(const x of Me)if(x.beforeEnter)if(Zt(x.beforeEnter))for(const N of x.beforeEnter)ee.push(Gn(N,F,oe));else ee.push(Gn(x.beforeEnter,F,oe));return ee.push(w),Ve(ee)}).then(()=>(F.matched.forEach(x=>x.enterCallbacks={}),ee=$l(Me,"beforeRouteEnter",F,oe,D),ee.push(w),Ve(ee))).then(()=>{ee=[];for(const x of i.list())ee.push(Gn(x,F,oe));return ee.push(w),Ve(ee)}).catch(x=>vn(x,8)?x:Promise.reject(x))}function L(F,oe,ee){a.list().forEach(ce=>D(()=>ce(F,oe,ee)))}function A(F,oe,ee,ce,Ie){const Me=y(F,oe);if(Me)return Me;const w=oe===Gt,x=zr?history.state:{};ee&&(ce||w?o.replace(F.fullPath,Be({scroll:w&&x&&x.scroll},Ie)):o.push(F.fullPath,Ie)),l.value=F,ie(F,oe,ee,w),ae()}let S;function T(){S||(S=o.listen((F,oe,ee)=>{if(!Ke.listening)return;const ce=v(F),Ie=C(ce);if(Ie){O(Be(Ie,{replace:!0}),ce).catch(ms);return}c=ce;const Me=l.value;zr&&fx(Bd(Me.fullPath,ee.delta),Xa()),P(ce,Me).catch(w=>vn(w,12)?w:vn(w,2)?(O(w.to,ce).then(x=>{vn(x,20)&&!ee.delta&&ee.type===Os.pop&&o.go(-1,!1)}).catch(ms),Promise.reject()):(ee.delta&&o.go(-ee.delta,!1),I(w,ce,Me))).then(w=>{w=w||A(ce,Me,!1),w&&(ee.delta&&!vn(w,8)?o.go(-ee.delta,!1):ee.type===Os.pop&&vn(w,20)&&o.go(-1,!1)),L(ce,Me,w)}).catch(ms)}))}let B=ko(),R=ko(),$;function I(F,oe,ee){ae(F);const ce=R.list();return ce.length?ce.forEach(Ie=>Ie(F,oe,ee)):console.error(F),Promise.reject(F)}function J(){return $&&l.value!==Gt?Promise.resolve():new Promise((F,oe)=>{B.add([F,oe])})}function ae(F){return $||($=!F,T(),B.list().forEach(([oe,ee])=>F?ee(F):oe()),B.reset()),F}function ie(F,oe,ee,ce){const{scrollBehavior:Ie}=e;if(!zr||!Ie)return Promise.resolve();const Me=!ee&&dx(Bd(F.fullPath,0))||(ce||!ee)&&history.state&&history.state.scroll||null;return Nt().then(()=>Ie(F,oe,Me)).then(w=>w&&ux(w)).catch(w=>I(w,F,oe))}const le=F=>o.go(F);let Se;const Ce=new Set,Ke={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,hasRoute:m,getRoutes:g,resolve:v,options:e,push:b,replace:E,go:le,back:()=>le(-1),forward:()=>le(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:R.add,isReady:J,install(F){const oe=this;F.component("RouterLink",Dx),F.component("RouterView",C0),F.config.globalProperties.$router=oe,Object.defineProperty(F.config.globalProperties,"$route",{enumerable:!0,get:()=>j(l)}),zr&&!Se&&l.value===Gt&&(Se=!0,b(o.location).catch(Ie=>{}));const ee={};for(const Ie in Gt)Object.defineProperty(ee,Ie,{get:()=>l.value[Ie],enumerable:!0});F.provide(zu,oe),F.provide(Hu,vo(ee)),F.provide(Rc,l);const ce=F.unmount;Ce.add(F),F.unmount=function(){Ce.delete(F),Ce.size<1&&(c=Gt,S&&S(),S=null,l.value=Gt,Se=!1,$=!1),ce()}}};function Ve(F){return F.reduce((oe,ee)=>oe.then(()=>D(ee)),Promise.resolve())}return Ke}function zx(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const a=t.matched[i];a&&(e.matched.find(c=>uo(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>uo(c,l))||o.push(l))}return[n,r,o]}function Hx(){return bt(Hu)}const Ux=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),Pc=(e,t)=>{const n=e.route.matched.find(o=>o.components?.default===e.Component.type),r=t??n?.meta.key??(n&&Ux(e.route,n));return typeof r=="function"?r(e.route):r},Vx=(e,t)=>({default:()=>e?et(A1,e===!0?{}:e,t):t});function Uu(e){return Array.isArray(e)?e:[e]}const Oo={layout:"none"},No={layout:"none"},$c=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Gx=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Vu=e=>{const t=Ne();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{$c(e)}):$c(e)},Wx=e=>e==="defer"||e===!1;function A0(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);let[n,r,o={}]=e;if(typeof n!="string")throw new TypeError("[nuxt] [asyncData] key must be a string.");if(typeof r!="function")throw new TypeError("[nuxt] [asyncData] handler must be a function.");const s=Ne(),i=r,a=()=>null,l=()=>s.isHydrating?s.payload.data[n]:s.static.data[n];o.server=o.server??!0,o.default=o.default??a,o.getCachedData=o.getCachedData??l,o.lazy=o.lazy??!1,o.immediate=o.immediate??!0,o.deep=o.deep??RS.deep,o.dedupe=o.dedupe??"cancel";const c=()=>o.getCachedData(n,s)!=null;if(!s._asyncData[n]||!o.immediate){s.payload._errors[n]??=null;const p=o.deep?U:Jt;s._asyncData[n]={data:p(o.getCachedData(n,s)??o.default()),pending:U(!c()),error:Ia(s.payload._errors,n),status:U("idle")}}const u={...s._asyncData[n]};u.refresh=u.execute=(p={})=>{if(s._asyncDataPromises[n]){if(Wx(p.dedupe??o.dedupe))return s._asyncDataPromises[n];s._asyncDataPromises[n].cancelled=!0}if((p._initial||s.isHydrating&&p._initial!==!1)&&c())return Promise.resolve(o.getCachedData(n,s));u.pending.value=!0,u.status.value="pending";const g=new Promise((m,v)=>{try{m(i(s))}catch(_){v(_)}}).then(async m=>{if(g.cancelled)return s._asyncDataPromises[n];let v=m;o.transform&&(v=await o.transform(m)),o.pick&&(v=qx(v,o.pick)),s.payload.data[n]=v,u.data.value=v,u.error.value=null,u.status.value="success"}).catch(m=>{if(g.cancelled)return s._asyncDataPromises[n];u.error.value=qs(m),u.data.value=j(o.default()),u.status.value="error"}).finally(()=>{g.cancelled||(u.pending.value=!1,delete s._asyncDataPromises[n])});return s._asyncDataPromises[n]=g,s._asyncDataPromises[n]},u.clear=()=>Kx(s,n);const f=()=>u.refresh({_initial:!0}),d=o.server!==!1&&s.payload.serverRendered;{const p=Ht();if(p&&!p._nuxtOnBeforeMountCbs){p._nuxtOnBeforeMountCbs=[];const v=p._nuxtOnBeforeMountCbs;Qm(()=>{v.forEach(_=>{_()}),v.splice(0,v.length)}),ja(()=>v.splice(0,v.length))}d&&s.isHydrating&&(u.error.value||c())?(u.pending.value=!1,u.status.value=u.error.value?"error":"success"):p&&(s.payload.serverRendered&&s.isHydrating||o.lazy)&&o.immediate?p._nuxtOnBeforeMountCbs.push(f):o.immediate&&f();const g=Oa();if(o.watch){const v=De(o.watch,()=>u.refresh());g&&Ui(v)}const m=s.hook("app:data:refresh",async v=>{(!v||v.includes(n))&&await u.refresh()});g&&Ui(m)}const h=Promise.resolve(s._asyncDataPromises[n]).then(()=>u);return Object.assign(h,u),h}function Kx(e,t){t in e.payload.data&&(e.payload.data[t]=void 0),t in e.payload._errors&&(e.payload._errors[t]=null),e._asyncData[t]&&(e._asyncData[t].data.value=void 0,e._asyncData[t].error.value=null,e._asyncData[t].pending.value=!1,e._asyncData[t].status.value="idle"),t in e._asyncDataPromises&&(e._asyncDataPromises[t].cancelled=!0,e._asyncDataPromises[t]=void 0)}function qx(e,t){const n={};for(const r of t)n[r]=e[r];return n}const Yx="$s";function bo(...e){const t=typeof e[e.length-1]=="string"?e.pop():void 0;typeof e[0]!="string"&&e.unshift(t);const[n,r]=e;if(!n||typeof n!="string")throw new TypeError("[nuxt] [useState] key must be a string: "+n);if(r!==void 0&&typeof r!="function")throw new Error("[nuxt] [useState] init must be a function: "+r);const o=Yx+n,s=Ne(),i=Ia(s.payload.state,o);if(i.value===void 0&&r){const a=r();if(je(a))return s.payload.state[o]=a,a;i.value=a}return i}function pn(e){return Oa()?(Ui(e),!0):!1}function Xx(e,t){if(typeof Symbol<"u"){const n={...e};return Object.defineProperty(n,Symbol.iterator,{enumerable:!1,value(){let r=0;return{next:()=>({value:t[r++],done:r>t.length})}}}),n}else return Object.assign([...t],e)}function Ye(e){return typeof e=="function"?e():j(e)}function Jx(e){if(!je(e))return Tt(e);const t=new Proxy({},{get(n,r,o){return j(Reflect.get(e.value,r,o))},set(n,r,o){return je(e.value[r])&&!je(o)?e.value[r].value=o:e.value[r]=o,!0},deleteProperty(n,r){return Reflect.deleteProperty(e.value,r)},has(n,r){return Reflect.has(e.value,r)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return Tt(t)}function N6(e){return Jx(se(e))}const $r=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Zx=e=>typeof e<"u",Qx=e=>e!=null,eC=Object.prototype.toString,tC=e=>eC.call(e)==="[object Object]",Qn=()=>{},nC=rC();function rC(){var e,t;return $r&&((e=window?.navigator)==null?void 0:e.userAgent)&&(/iP(ad|hone|od)/.test(window.navigator.userAgent)||((t=window?.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function T0(e,t){function n(...r){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(s)})}return n}const R0=e=>e();function P0(e,t={}){let n,r,o=Qn;const s=a=>{clearTimeout(a),o(),o=Qn};return a=>{const l=Ye(e),c=Ye(t.maxWait);return n&&s(n),l<=0||c!==void 0&&c<=0?(r&&(s(r),r=null),Promise.resolve(a())):new Promise((u,f)=>{o=t.rejectOnCancel?f:u,c&&!r&&(r=setTimeout(()=>{n&&s(n),r=null,u(a())},c)),n=setTimeout(()=>{r&&s(r),r=null,u(a())},l)})}}function oC(e=R0){const t=U(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...s)=>{t.value&&e(...s)};return{isActive:Ir(t),pause:n,resume:r,eventFilter:o}}function sC(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const iC=/-(\w)/g,aC=sC(e=>e.replace(iC,(t,n)=>n?n.toUpperCase():""));function Qd(e,t=!1,n="Timeout"){return new Promise((r,o)=>{setTimeout(t?()=>o(n):r,e)})}function lC(e){let t;function n(){return t||(t=e()),t}return n.reset=async()=>{const r=t;t=void 0,r&&await r},n}function cC(e){return Object.entries(e)}function uC(e){return e||Ht()}function fC(...e){if(e.length!==1)return Ia(...e);const t=e[0];return typeof t=="function"?Ir(Eu(()=>({get:t,set:Qn}))):U(t)}function dC(e,t=200,n={}){return T0(P0(t,n),e)}function hC(e,t=200,n={}){const r=U(e.value),o=dC(()=>{r.value=e.value},t,n);return De(e,()=>o()),r}function $0(e,t,n={}){const{eventFilter:r=R0,...o}=n;return De(e,T0(r,t),o)}function pC(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:s,pause:i,resume:a,isActive:l}=oC(r);return{stop:$0(e,t,{...o,eventFilter:s}),pause:i,resume:a,isActive:l}}function Ja(e,t={}){if(!je(e))return X_(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const r in e.value)n[r]=Eu(()=>({get(){return e.value[r]},set(o){var s;if((s=Ye(t.replaceRef))!=null?s:!0)if(Array.isArray(e.value)){const a=[...e.value];a[r]=o,e.value=a}else{const a={...e.value,[r]:o};Object.setPrototypeOf(a,Object.getPrototypeOf(e.value)),e.value=a}else e.value[r]=o}}));return n}function wo(e,t=!0,n){uC()?kn(e,n):t?e():Nt(e)}function kc(e,t=!1){function n(f,{flush:d="sync",deep:h=!1,timeout:p,throwOnTimeout:g}={}){let m=null;const _=[new Promise(y=>{m=De(e,b=>{f(b)!==t&&(m?.(),y(b))},{flush:d,deep:h,immediate:!0})})];return p!=null&&_.push(Qd(p,g).then(()=>Ye(e)).finally(()=>m?.())),Promise.race(_)}function r(f,d){if(!je(f))return n(b=>b===f,d);const{flush:h="sync",deep:p=!1,timeout:g,throwOnTimeout:m}=d??{};let v=null;const y=[new Promise(b=>{v=De([e,f],([E,C])=>{t!==(E===C)&&(v?.(),b(E))},{flush:h,deep:p,immediate:!0})})];return g!=null&&y.push(Qd(g,m).then(()=>Ye(e)).finally(()=>(v?.(),Ye(e)))),Promise.race(y)}function o(f){return n(d=>!!d,f)}function s(f){return r(null,f)}function i(f){return r(void 0,f)}function a(f){return n(Number.isNaN,f)}function l(f,d){return n(h=>{const p=Array.from(h);return p.includes(f)||p.includes(Ye(f))},d)}function c(f){return u(1,f)}function u(f=1,d){let h=-1;return n(()=>(h+=1,h>=f),d)}return Array.isArray(Ye(e))?{toMatch:n,toContains:l,changed:c,changedTimes:u,get not(){return kc(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:o,toBeNull:s,toBeNaN:a,toBeUndefined:i,changed:c,changedTimes:u,get not(){return kc(e,!t)}}}function mC(e){return kc(e)}const gC=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,vC=/[YMDHhms]o|\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a{1,2}|A{1,2}|m{1,2}|s{1,2}|Z{1,2}|SSS/g;function yC(e,t,n,r){let o=e<12?"AM":"PM";return r&&(o=o.split("").reduce((s,i)=>s+=`${i}.`,"")),n?o.toLowerCase():o}function hr(e){const t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}function _C(e,t,n={}){var r;const o=e.getFullYear(),s=e.getMonth(),i=e.getDate(),a=e.getHours(),l=e.getMinutes(),c=e.getSeconds(),u=e.getMilliseconds(),f=e.getDay(),d=(r=n.customMeridiem)!=null?r:yC,h={Yo:()=>hr(o),YY:()=>String(o).slice(-2),YYYY:()=>o,M:()=>s+1,Mo:()=>hr(s+1),MM:()=>`${s+1}`.padStart(2,"0"),MMM:()=>e.toLocaleDateString(n.locales,{month:"short"}),MMMM:()=>e.toLocaleDateString(n.locales,{month:"long"}),D:()=>String(i),Do:()=>hr(i),DD:()=>`${i}`.padStart(2,"0"),H:()=>String(a),Ho:()=>hr(a),HH:()=>`${a}`.padStart(2,"0"),h:()=>`${a%12||12}`.padStart(1,"0"),ho:()=>hr(a%12||12),hh:()=>`${a%12||12}`.padStart(2,"0"),m:()=>String(l),mo:()=>hr(l),mm:()=>`${l}`.padStart(2,"0"),s:()=>String(c),so:()=>hr(c),ss:()=>`${c}`.padStart(2,"0"),SSS:()=>`${u}`.padStart(3,"0"),d:()=>f,dd:()=>e.toLocaleDateString(n.locales,{weekday:"narrow"}),ddd:()=>e.toLocaleDateString(n.locales,{weekday:"short"}),dddd:()=>e.toLocaleDateString(n.locales,{weekday:"long"}),A:()=>d(a,l),AA:()=>d(a,l,!1,!0),a:()=>d(a,l,!0),aa:()=>d(a,l,!0,!0)};return t.replace(vC,(p,g)=>{var m,v;return(v=g??((m=h[p])==null?void 0:m.call(h)))!=null?v:p})}function bC(e){if(e===null)return new Date(Number.NaN);if(e===void 0)return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){const t=e.match(gC);if(t){const n=t[2]-1||0,r=(t[7]||"0").substring(0,3);return new Date(t[1],n,t[3]||1,t[4]||0,t[5]||0,t[6]||0,r)}}return new Date(e)}function I6(e,t="HH:mm:ss",n={}){return se(()=>_C(bC(Ye(e)),Ye(t),n))}function wC(e,t=1e3,n={}){const{immediate:r=!0,immediateCallback:o=!1}=n;let s=null;const i=U(!1);function a(){s&&(clearInterval(s),s=null)}function l(){i.value=!1,a()}function c(){const u=Ye(t);u<=0||(i.value=!0,o&&e(),a(),s=setInterval(e,u))}if(r&&$r&&c(),je(t)||typeof t=="function"){const u=De(t,()=>{i.value&&$r&&c()});pn(u)}return pn(l),{isActive:i,pause:l,resume:c}}function EC(e,t,n={}){const{immediate:r=!0}=n,o=U(!1);let s=null;function i(){s&&(clearTimeout(s),s=null)}function a(){o.value=!1,i()}function l(...c){i(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=null,e(...c)},Ye(t))}return r&&(o.value=!0,$r&&l()),pn(a),{isPending:Ir(o),start:l,stop:a}}function Gu(e,t,n={}){const{debounce:r=0,maxWait:o=void 0,...s}=n;return $0(e,t,{...s,eventFilter:P0(r,{maxWait:o})})}function L6(e,t,n){let r;je(n)?r={evaluating:n}:r=n||{};const{lazy:o=!1,evaluating:s=void 0,shallow:i=!0,onError:a=Qn}=r,l=U(!o),c=i?Jt(t):U(t);let u=0;return Rr(async f=>{if(!l.value)return;u++;const d=u;let h=!1;s&&Promise.resolve().then(()=>{s.value=!0});try{const p=await e(g=>{f(()=>{s&&(s.value=!1),h||g()})});d===u&&(c.value=p)}catch(p){a(p)}finally{s&&d===u&&(s.value=!1),h=!0}}),o?se(()=>(l.value=!0,c.value)):c}function D6(e={}){const{inheritAttrs:t=!0}=e,n=Jt(),r=Ae({setup(s,{slots:i}){return()=>{n.value=i.default}}}),o=Ae({inheritAttrs:t,setup(s,{attrs:i,slots:a}){return()=>{var l;n.value;const c=(l=n.value)==null?void 0:l.call(n,{...SC(i),$slots:a});return t&&c?.length===1?c[0]:c}}});return Xx({define:r,reuse:o},[r,o])}function SC(e){const t={};for(const n in e)t[aC(n)]=e[n];return t}function Wu(e={}){let t=0;const n=U([]);function r(...i){const a=vo({key:t++,args:i,promise:void 0,resolve:()=>{},reject:()=>{},isResolving:!1,options:e});return n.value.push(a),a.promise=new Promise((l,c)=>{a.resolve=u=>(a.isResolving=!0,l(u)),a.reject=c}).finally(()=>{a.promise=void 0;const l=n.value.indexOf(a);l!==-1&&n.value.splice(l,1)}),a.promise}function o(...i){return e.singleton&&n.value.length>0?n.value[0].promise:r(...i)}const s=Ae((i,{slots:a})=>{const l=()=>n.value.map(c=>{var u;return et(Le,{key:c.key},(u=a.default)==null?void 0:u.call(a,c))});return e.transition?()=>et(Nb,e.transition,l):l});return s.start=o,s}function ht(e){var t;const n=Ye(e);return(t=n?.$el)!=null?t:n}const wt=$r?window:void 0,xC=$r?window.document:void 0,k0=$r?window.navigator:void 0;function Ct(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=wt):[t,n,r,o]=e,!t)return Qn;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const s=[],i=()=>{s.forEach(u=>u()),s.length=0},a=(u,f,d,h)=>(u.addEventListener(f,d,h),()=>u.removeEventListener(f,d,h)),l=De(()=>[ht(t),Ye(o)],([u,f])=>{if(i(),!u)return;const d=tC(f)?{...f}:f;s.push(...n.flatMap(h=>r.map(p=>a(u,h,p,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),i()};return pn(c),c}let eh=!1;function Ku(e,t,n={}){const{window:r=wt,ignore:o=[],capture:s=!0,detectIframe:i=!1}=n;if(!r)return Qn;nC&&!eh&&(eh=!0,Array.from(r.document.body.children).forEach(d=>d.addEventListener("click",Qn)),r.document.documentElement.addEventListener("click",Qn));let a=!0;const l=d=>o.some(h=>{if(typeof h=="string")return Array.from(r.document.querySelectorAll(h)).some(p=>p===d.target||d.composedPath().includes(p));{const p=ht(h);return p&&(d.target===p||d.composedPath().includes(p))}}),u=[Ct(r,"click",d=>{const h=ht(e);if(!(!h||h===d.target||d.composedPath().includes(h))){if(d.detail===0&&(a=!l(d)),!a){a=!0;return}t(d)}},{passive:!0,capture:s}),Ct(r,"pointerdown",d=>{const h=ht(e);a=!l(d)&&!!(h&&!d.composedPath().includes(h))},{passive:!0}),i&&Ct(r,"blur",d=>{setTimeout(()=>{var h;const p=ht(e);((h=r.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!p?.contains(r.document.activeElement)&&t(d)},0)})].filter(Boolean);return()=>u.forEach(d=>d())}function CC(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function AC(...e){let t,n,r={};e.length===3?(t=e[0],n=e[1],r=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:o=wt,eventName:s="keydown",passive:i=!1,dedupe:a=!1}=r,l=CC(t);return Ct(o,s,u=>{u.repeat&&Ye(a)||l(u)&&n(u)},i)}function M6(e,t,n={}){return AC(e,t,{...n,eventName:"keydown"})}function TC(){const e=U(!1),t=Ht();return t&&kn(()=>{e.value=!0},t),e}function Eo(e){const t=TC();return se(()=>(t.value,!!e()))}function RC(e,t={}){const{immediate:n=!0,fpsLimit:r=void 0,window:o=wt}=t,s=U(!1),i=r?1e3/r:null;let a=0,l=null;function c(d){if(!s.value||!o)return;a||(a=d);const h=d-a;if(i&&h<i){l=o.requestAnimationFrame(c);return}a=d,e({delta:h,timestamp:d}),l=o.requestAnimationFrame(c)}function u(){!s.value&&o&&(s.value=!0,a=0,l=o.requestAnimationFrame(c))}function f(){s.value=!1,l!=null&&o&&(o.cancelAnimationFrame(l),l=null)}return n&&u(),pn(f),{isActive:Ir(s),pause:f,resume:u}}function O0(e,t={}){const{window:n=wt}=t,r=Eo(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let o;const s=U(!1),i=c=>{s.value=c.matches},a=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",i):o.removeListener(i))},l=Rr(()=>{r.value&&(a(),o=n.matchMedia(Ye(e)),"addEventListener"in o?o.addEventListener("change",i):o.addListener(i),s.value=o.matches)});return pn(()=>{l(),a(),o=void 0}),s}const th=["hash","host","hostname","href","pathname","port","protocol","search"];function F6(e={}){const{window:t=wt}=e,n=Object.fromEntries(th.map(s=>[s,U()]));for(const[s,i]of cC(n))De(i,a=>{!t?.location||t.location[s]===a||(t.location[s]=a)});const r=s=>{var i;const{state:a,length:l}=t?.history||{},{origin:c}=t?.location||{};for(const u of th)n[u].value=(i=t?.location)==null?void 0:i[u];return Tt({trigger:s,state:a,length:l,origin:c,...n})},o=U(r("load"));return t&&(Ct(t,"popstate",()=>o.value=r("popstate"),{passive:!0}),Ct(t,"hashchange",()=>o.value=r("hashchange"),{passive:!0})),o}function nh(e,t={}){const{controls:n=!1,navigator:r=k0}=t,o=Eo(()=>r&&"permissions"in r);let s;const i=typeof e=="string"?{name:e}:e,a=U(),l=()=>{s&&(a.value=s.state)},c=lC(async()=>{if(o.value){if(!s)try{s=await r.permissions.query(i),Ct(s,"change",l),l()}catch{a.value="prompt"}return s}});return c(),n?{state:a,isSupported:o,query:c}:a}function PC(e={}){const{navigator:t=k0,read:n=!1,source:r,copiedDuring:o=1500,legacy:s=!1}=e,i=Eo(()=>t&&"clipboard"in t),a=nh("clipboard-read"),l=nh("clipboard-write"),c=se(()=>i.value||s),u=U(""),f=U(!1),d=EC(()=>f.value=!1,o);function h(){i.value&&v(a.value)?t.clipboard.readText().then(_=>{u.value=_}):u.value=m()}c.value&&n&&Ct(["copy","cut"],h);async function p(_=Ye(r)){c.value&&_!=null&&(i.value&&v(l.value)?await t.clipboard.writeText(_):g(_),u.value=_,f.value=!0,d.start())}function g(_){const y=document.createElement("textarea");y.value=_??"",y.style.position="absolute",y.style.opacity="0",document.body.appendChild(y),y.select(),document.execCommand("copy"),y.remove()}function m(){var _,y,b;return(b=(y=(_=document?.getSelection)==null?void 0:_.call(document))==null?void 0:y.toString())!=null?b:""}function v(_){return _==="granted"||_==="prompt"}return{isSupported:c,text:u,copied:f,copy:p}}function $C(e){return JSON.parse(JSON.stringify(e))}const gi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},vi="__vueuse_ssr_handlers__",kC=OC();function OC(){return vi in gi||(gi[vi]=gi[vi]||{}),gi[vi]}function N0(e,t){return kC[e]||t}function NC(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"}const IC={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()}},rh="vueuse-storage";function qu(e,t,n,r={}){var o;const{flush:s="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=wt,eventFilter:d,onError:h=P=>{console.error(P)},initOnMounted:p}=r,g=(u?Jt:U)(typeof t=="function"?t():t);if(!n)try{n=N0("getDefaultStorage",()=>{var P;return(P=wt)==null?void 0:P.localStorage})()}catch(P){h(P)}if(!n)return g;const m=Ye(t),v=NC(m),_=(o=r.serializer)!=null?o:IC[v],{pause:y,resume:b}=pC(g,()=>C(g.value),{flush:s,deep:i,eventFilter:d});f&&a&&wo(()=>{Ct(f,"storage",k),Ct(f,rh,D),p&&k()}),p||k();function E(P,L){f&&f.dispatchEvent(new CustomEvent(rh,{detail:{key:e,oldValue:P,newValue:L,storageArea:n}}))}function C(P){try{const L=n.getItem(e);if(P==null)E(L,null),n.removeItem(e);else{const A=_.write(P);L!==A&&(n.setItem(e,A),E(L,A))}}catch(L){h(L)}}function O(P){const L=P?P.newValue:n.getItem(e);if(L==null)return l&&m!=null&&n.setItem(e,_.write(m)),m;if(!P&&c){const A=_.read(L);return typeof c=="function"?c(A,m):v==="object"&&!Array.isArray(A)?{...m,...A}:A}else return typeof L!="string"?L:_.read(L)}function k(P){if(!(P&&P.storageArea!==n)){if(P&&P.key==null){g.value=m;return}if(!(P&&P.key!==e)){y();try{P?.newValue!==_.write(g.value)&&(g.value=O(P))}catch(L){h(L)}finally{P?Nt(b):b()}}}}function D(P){k(P.detail)}return g}function LC(e){return O0("(prefers-color-scheme: dark)",e)}function DC(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=wt,storage:s,storageKey:i="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,f={auto:"",light:"light",dark:"dark",...e.modes||{}},d=LC({window:o}),h=se(()=>d.value?"dark":"light"),p=l||(i==null?fC(r):qu(i,r,s,{window:o,listenToStorageChanges:a})),g=se(()=>p.value==="auto"?h.value:p.value),m=N0("updateHTMLAttrs",(b,E,C)=>{const O=typeof b=="string"?o?.document.querySelector(b):ht(b);if(!O)return;let k;if(u&&(k=o.document.createElement("style"),k.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),o.document.head.appendChild(k)),E==="class"){const D=C.split(/\s/g);Object.values(f).flatMap(P=>(P||"").split(/\s/g)).filter(Boolean).forEach(P=>{D.includes(P)?O.classList.add(P):O.classList.remove(P)})}else O.setAttribute(E,C);u&&(o.getComputedStyle(k).opacity,document.head.removeChild(k))});function v(b){var E;m(t,n,(E=f[b])!=null?E:b)}function _(b){e.onChanged?e.onChanged(b,v):v(b)}De(g,_,{flush:"post",immediate:!0}),wo(()=>_(g.value));const y=se({get(){return c?p.value:g.value},set(b){p.value=b}});try{return Object.assign(y,{store:p,system:h,state:g})}catch{return y}}function MC(e,t,n={}){const{window:r=wt,...o}=n;let s;const i=Eo(()=>r&&"MutationObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=se(()=>{const d=Ye(e),h=(Array.isArray(d)?d:[d]).map(ht).filter(Qx);return new Set(h)}),c=De(()=>l.value,d=>{a(),i.value&&r&&d.size&&(s=new MutationObserver(t),d.forEach(h=>s.observe(h,o)))},{immediate:!0,flush:"post"}),u=()=>s?.takeRecords(),f=()=>{a(),c()};return pn(f),{isSupported:i,stop:f,takeRecords:u}}function I0(e,t,n={}){const{window:r=wt,...o}=n;let s;const i=Eo(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=se(()=>Array.isArray(e)?e.map(f=>ht(f)):[ht(e)]),c=De(l,f=>{if(a(),i.value&&r){s=new ResizeObserver(t);for(const d of f)d&&s.observe(d,o)}},{immediate:!0,flush:"post"}),u=()=>{a(),c()};return pn(u),{isSupported:i,stop:u}}function B6(e,t={}){const{reset:n=!0,windowResize:r=!0,windowScroll:o=!0,immediate:s=!0}=t,i=U(0),a=U(0),l=U(0),c=U(0),u=U(0),f=U(0),d=U(0),h=U(0);function p(){const g=ht(e);if(!g){n&&(i.value=0,a.value=0,l.value=0,c.value=0,u.value=0,f.value=0,d.value=0,h.value=0);return}const m=g.getBoundingClientRect();i.value=m.height,a.value=m.bottom,l.value=m.left,c.value=m.right,u.value=m.top,f.value=m.width,d.value=m.x,h.value=m.y}return I0(e,p),De(()=>ht(e),g=>!g&&p()),MC(e,p,{attributeFilter:["style","class"]}),o&&Ct("scroll",p,{capture:!0,passive:!0}),r&&Ct("resize",p,{passive:!0}),wo(()=>{s&&p()}),{height:i,bottom:a,left:l,right:c,top:u,width:f,x:d,y:h,update:p}}function j6(e,t={width:0,height:0},n={}){const{window:r=wt,box:o="content-box"}=n,s=se(()=>{var f,d;return(d=(f=ht(e))==null?void 0:f.namespaceURI)==null?void 0:d.includes("svg")}),i=U(t.width),a=U(t.height),{stop:l}=I0(e,([f])=>{const d=o==="border-box"?f.borderBoxSize:o==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&s.value){const h=ht(e);if(h){const p=r.getComputedStyle(h);i.value=Number.parseFloat(p.width),a.value=Number.parseFloat(p.height)}}else if(d){const h=Array.isArray(d)?d:[d];i.value=h.reduce((p,{inlineSize:g})=>p+g,0),a.value=h.reduce((p,{blockSize:g})=>p+g,0)}else i.value=f.contentRect.width,a.value=f.contentRect.height},n);wo(()=>{const f=ht(e);f&&(i.value="offsetWidth"in f?f.offsetWidth:t.width,a.value="offsetHeight"in f?f.offsetHeight:t.height)});const c=De(()=>ht(e),f=>{i.value=f?t.width:0,a.value=f?t.height:0});function u(){l(),c()}return{width:i,height:a,stop:u}}function FC(e={}){const{initialValue:t=""}=e,n=Eo(()=>typeof window<"u"&&"EyeDropper"in window),r=U(t);async function o(s){if(!n.value)return;const a=await new window.EyeDropper().open(s);return r.value=a.sRGBHex,a}return{isSupported:n,sRGBHex:r,open:o}}function So(e,t,n={}){const{window:r=wt}=n;return qu(e,t,r?.localStorage,n)}function BC(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=U(new Date),o=()=>r.value=new Date,s=n==="requestAnimationFrame"?RC(o,{immediate:!0}):wC(o,n,{immediate:!0});return t?{now:r,...s}:r}function jC(e,t,n={}){const{window:r=wt}=n;return qu(e,t,r?.sessionStorage,n)}let zC=0;function z6(e,t={}){const n=U(!1),{document:r=xC,immediate:o=!0,manual:s=!1,id:i=`vueuse_styletag_${++zC}`}=t,a=U(e);let l=()=>{};const c=()=>{if(!r)return;const f=r.getElementById(i)||r.createElement("style");f.isConnected||(f.id=i,t.media&&(f.media=t.media),r.head.appendChild(f)),!n.value&&(l=De(a,d=>{f.textContent=d},{immediate:!0}),n.value=!0)},u=()=>{!r||!n.value||(l(),r.head.removeChild(r.getElementById(i)),n.value=!1)};return o&&!s&&wo(c),s||pn(u),{id:i,css:a,unload:u,load:c,isLoaded:Ir(n)}}const HC=[{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:Number.POSITIVE_INFINITY,value:31536e6,name:"year"}],UC={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 VC(e){return e.toISOString().slice(0,10)}function H6(e,t={}){const{controls:n=!1,updateInterval:r=3e4}=t,{now:o,...s}=BC({interval:r,controls:!0}),i=se(()=>GC(new Date(Ye(e)),t,Ye(o)));return n?{timeAgo:i,...s}:i}function GC(e,t={},n=Date.now()){var r;const{max:o,messages:s=UC,fullDateFormatter:i=VC,units:a=HC,showSecond:l=!1,rounding:c="round"}=t,u=typeof c=="number"?m=>+m.toFixed(c):Math[c],f=+n-+e,d=Math.abs(f);function h(m,v){return u(Math.abs(m)/v.value)}function p(m,v){const _=h(m,v),y=m>0,b=g(v.name,_,y);return g(y?"past":"future",b,y)}function g(m,v,_){const y=s[m];return typeof y=="function"?y(v,_):y.replace("{0}",v.toString())}if(d<6e4&&!l)return s.justNow;if(typeof o=="number"&&d>o)return i(new Date(e));if(typeof o=="string"){const m=(r=a.find(v=>v.name===o))==null?void 0:r.max;if(m&&d>m)return i(new Date(e))}for(const[m,v]of a.entries()){if(h(f,v)<=0&&a[m-1])return p(f,a[m-1]);if(d<v.max)return p(f,v)}return s.invalid}function L0(e,t,n,r={}){var o,s,i;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:d}=r,h=Ht(),p=n||h?.emit||((o=h?.$emit)==null?void 0:o.bind(h))||((i=(s=h?.proxy)==null?void 0:s.$emit)==null?void 0:i.bind(h?.proxy));let g=c;t||(t="modelValue"),g=g||`update:${t.toString()}`;const m=y=>a?typeof a=="function"?a(y):$C(y):y,v=()=>Zx(e[t])?m(e[t]):f,_=y=>{d?d(y)&&p(g,y):p(g,y)};if(l){const y=v(),b=U(y);let E=!1;return De(()=>e[t],C=>{E||(E=!0,b.value=m(C),Nt(()=>E=!1))}),De(b,C=>{!E&&(C!==e[t]||u)&&_(C)},{deep:u}),b}else return se({get(){return v()},set(y){_(y)}})}function D0(e={}){const{window:t=wt,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:r=Number.POSITIVE_INFINITY,listenOrientation:o=!0,includeScrollbar:s=!0}=e,i=U(n),a=U(r),l=()=>{t&&(s?(i.value=t.innerWidth,a.value=t.innerHeight):(i.value=t.document.documentElement.clientWidth,a.value=t.document.documentElement.clientHeight))};if(l(),wo(l),Ct("resize",l,{passive:!0}),o){const c=O0("(orientation: portrait)");De(c,()=>l())}return{width:i,height:a}}const M0=()=>bo("color-mode").value,Oc=U();let oh;function WC(){oh||(oh=(async()=>{const{default:e}=await ge(()=>import("./Blr6EMNg.js"),[],import.meta.url);Oc.value=new e({html:!0,linkify:!0,breaks:!0})})())}function KC(e){return WC(),Oc.value?Oc.value.render(e):e}var qt;(function(e){e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline"})(qt||(qt={}));var ho;(function(e){function t(u){return u.toString(2).padStart(32,"0")}e.toBinaryStr=t;function n(u){const f=e.getLanguageId(u),d=e.getTokenType(u),h=e.getFontStyle(u),p=e.getForeground(u),g=e.getBackground(u);console.log({languageId:f,tokenType:d,fontStyle:h,foreground:p,background:g})}e.print=n;function r(u){return(u&255)>>>0}e.getLanguageId=r;function o(u){return(u&768)>>>8}e.getTokenType=o;function s(u){return(u&1024)!==0}e.containsBalancedBrackets=s;function i(u){return(u&30720)>>>11}e.getFontStyle=i;function a(u){return(u&16744448)>>>15}e.getForeground=a;function l(u){return(u&4278190080)>>>24}e.getBackground=l;function c(u,f,d,h,p,g,m){let v=e.getLanguageId(u),_=e.getTokenType(u),y=e.containsBalancedBrackets(u)?1:0,b=e.getFontStyle(u),E=e.getForeground(u),C=e.getBackground(u);return f!==0&&(v=f),d!==8&&(_=d),h!==null&&(y=h?1:0),p!==-1&&(b=p),g!==0&&(E=g),m!==0&&(C=m),(v<<0|_<<8|y<<10|b<<11|E<<15|C<<24)>>>0}e.set=c})(ho||(ho={}));function la(e,t){const n=[],r=qC(e);let o=r.next();for(;o!==null;){let l=0;if(o.length===2&&o.charAt(1)===":"){switch(o.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${o} in scope selector`)}o=r.next()}let c=i();if(n.push({matcher:c,priority:l}),o!==",")break;o=r.next()}return n;function s(){if(o==="-"){o=r.next();const l=s();return c=>!!l&&!l(c)}if(o==="("){o=r.next();const l=a();return o===")"&&(o=r.next()),l}if(sh(o)){const l=[];do l.push(o),o=r.next();while(sh(o));return c=>t(l,c)}return null}function i(){const l=[];let c=s();for(;c;)l.push(c),c=s();return u=>l.every(f=>f(u))}function a(){const l=[];let c=i();for(;c&&(l.push(c),o==="|"||o===",");){do o=r.next();while(o==="|"||o===",");c=i()}return u=>l.some(f=>f(u))}}function sh(e){return!!e&&!!e.match(/[\w\.:]+/)}function qC(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=t.exec(e);return{next:()=>{if(!n)return null;const r=n[0];return n=t.exec(e),r}}}function F0(e){typeof e.dispose=="function"&&e.dispose()}function YC(e){return Yu(e)}function Yu(e){return Array.isArray(e)?XC(e):typeof e=="object"?JC(e):e}function XC(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=Yu(e[n]);return t}function JC(e){let t={};for(let n in e)t[n]=Yu(e[n]);return t}function B0(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function j0(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?j0(e.substring(0,e.length-1)):e.substr(~t+1)}let kl=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class yi{static hasCaptures(t){return t===null?!1:(kl.lastIndex=0,kl.test(t))}static replaceCaptures(t,n,r){return t.replace(kl,(o,s,i,a)=>{let l=r[parseInt(s||i,10)];if(l){let c=n.substring(l.start,l.end);for(;c[0]===".";)c=c.substring(1);switch(a){case"downcase":return c.toLowerCase();case"upcase":return c.toUpperCase();default:return c}}else return o})}}function z0(e,t){return e<t?-1:e>t?1:0}function H0(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let n=e.length,r=t.length;if(n===r){for(let o=0;o<n;o++){let s=z0(e[o],t[o]);if(s!==0)return s}return 0}return n-r}function ih(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function U0(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class V0{fn;cache=new Map;constructor(t){this.fn=t}get(t){if(this.cache.has(t))return this.cache.get(t);const n=this.fn(t);return this.cache.set(t,n),n}}class Ns{scopeName;constructor(t){this.scopeName=t}toKey(){return this.scopeName}}class ZC{scopeName;ruleName;constructor(t,n){this.scopeName=t,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class QC{_references=[];_seenReferenceKeys=new Set;get references(){return this._references}visitedRule=new Set;add(t){const n=t.toKey();this._seenReferenceKeys.has(n)||(this._seenReferenceKeys.add(n),this._references.push(t))}}class eA{repo;initialScopeName;seenFullScopeRequests=new Set;seenPartialScopeRequests=new Set;Q;constructor(t,n){this.repo=t,this.initialScopeName=n,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Ns(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const n=new QC;for(const r of t)tA(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof Ns){if(this.seenFullScopeRequests.has(r.scopeName))continue;this.seenFullScopeRequests.add(r.scopeName),this.Q.push(r)}else{if(this.seenFullScopeRequests.has(r.scopeName)||this.seenPartialScopeRequests.has(r.toKey()))continue;this.seenPartialScopeRequests.add(r.toKey()),this.Q.push(r)}}}function tA(e,t,n,r){const o=n.lookup(e.scopeName);if(!o){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const s=n.lookup(t);e instanceof Ns?Fi({baseGrammar:s,selfGrammar:o},r):Nc(e.ruleName,{baseGrammar:s,selfGrammar:o,repository:o.repository},r);const i=n.injections(e.scopeName);if(i)for(const a of i)r.add(new Ns(a))}function Nc(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];ca([r],t,n)}}function Fi(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&ca(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&ca(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function ca(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?B0({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&ca(r.patterns,{...t,repository:o},n);const s=r.include;if(!s)continue;const i=G0(s);switch(i.kind){case 0:Fi({...t,selfGrammar:t.baseGrammar},n);break;case 1:Fi(t,n);break;case 2:Nc(i.ruleName,{...t,repository:o},n);break;case 3:case 4:const a=i.scopeName===t.selfGrammar.scopeName?t.selfGrammar:i.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(a){const l={baseGrammar:t.baseGrammar,selfGrammar:a,repository:o};i.kind===4?Nc(i.ruleName,l,n):Fi(l,n)}else i.kind===4?n.add(new ZC(i.scopeName,i.ruleName)):n.add(new Ns(i.scopeName));break}}}class nA{kind=0}class rA{kind=1}class oA{ruleName;kind=2;constructor(t){this.ruleName=t}}class sA{scopeName;kind=3;constructor(t){this.scopeName=t}}class iA{scopeName;ruleName;kind=4;constructor(t,n){this.scopeName=t,this.ruleName=n}}function G0(e){if(e==="$base")return new nA;if(e==="$self")return new rA;const t=e.indexOf("#");if(t===-1)return new sA(e);if(t===0)return new oA(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new iA(n,r)}}const aA=/\\(\d+)/,ah=/\\(\d+)/g,lA=-1,W0=-2;class Ys{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(t,n,r,o){this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=yi.hasCaptures(this._name),this._contentName=o||null,this._contentNameIsCapturing=yi.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${j0(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,n){return!this._nameIsCapturing||this._name===null||t===null||n===null?this._name:yi.replaceCaptures(this._name,t,n)}getContentName(t,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:yi.replaceCaptures(this._contentName,t,n)}}class cA extends Ys{retokenizeCapturedWithRuleId;constructor(t,n,r,o,s){super(t,n,r,o),this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(t,n){throw new Error("Not supported!")}compile(t,n){throw new Error("Not supported!")}compileAG(t,n,r,o){throw new Error("Not supported!")}}class uA extends Ys{_match;captures;_cachedCompiledPatterns;constructor(t,n,r,o,s){super(t,n,r,null),this._match=new kr(o,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(t,n){n.push(this._match)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,o){return this._getCachedCompiledPatterns(t).compileAG(t,r,o)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Is,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class lh extends Ys{hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,n,r,o,s){super(t,n,r,o),this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,n){for(const r of this.patterns)t.getRule(r).collectPatterns(t,n)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,o){return this._getCachedCompiledPatterns(t).compileAG(t,r,o)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Is,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Ic extends Ys{_begin;beginCaptures;_end;endHasBackReferences;endCaptures;applyEndPatternLast;hasMissingPatterns;patterns;_cachedCompiledPatterns;constructor(t,n,r,o,s,i,a,l,c,u){super(t,n,r,o),this._begin=new kr(s,this.id),this.beginCaptures=i,this._end=new kr(a||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,this.applyEndPatternLast=c||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.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(t,n){return this._end.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t,n).compile(t)}compileAG(t,n,r,o){return this._getCachedCompiledPatterns(t,n).compileAG(t,r,o)}_getCachedCompiledPatterns(t,n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Is;for(const r of this.patterns)t.getRule(r).collectPatterns(t,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}}class ua extends Ys{_begin;beginCaptures;whileCaptures;_while;whileHasBackReferences;hasMissingPatterns;patterns;_cachedCompiledPatterns;_cachedCompiledWhilePatterns;constructor(t,n,r,o,s,i,a,l,c){super(t,n,r,o),this._begin=new kr(s,this.id),this.beginCaptures=i,this.whileCaptures=l,this._while=new kr(a,W0),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.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(t,n){return this._while.resolveBackReferences(t,n)}collectPatterns(t,n){n.push(this._begin)}compile(t,n){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,n,r,o){return this._getCachedCompiledPatterns(t).compileAG(t,r,o)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Is;for(const n of this.patterns)t.getRule(n).collectPatterns(t,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(t,n){return this._getCachedCompiledWhilePatterns(t,n).compile(t)}compileWhileAG(t,n,r,o){return this._getCachedCompiledWhilePatterns(t,n).compileAG(t,r,o)}_getCachedCompiledWhilePatterns(t,n){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Is,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,n||""),this._cachedCompiledWhilePatterns}}class st{static createCaptureRule(t,n,r,o,s){return t.registerRule(i=>new cA(n,i,r,o,s))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(o=>{if(t.id=o,t.match)return new uA(t.$vscodeTextmateLocation,t.id,t.name,t.match,st._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=B0({},r,t.repository));let s=t.patterns;return typeof s>"u"&&t.include&&(s=[{include:t.include}]),new lh(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,st._compilePatterns(s,n,r))}return t.while?new ua(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,st._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,st._compileCaptures(t.whileCaptures||t.captures,n,r),st._compilePatterns(t.patterns,n,r)):new Ic(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,st._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,st._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,st._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let o=[];if(t){let s=0;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);a>s&&(s=a)}for(let i=0;i<=s;i++)o[i]=null;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);let l=0;t[i].patterns&&(l=st.getCompiledRuleId(t[i],n,r)),o[a]=st.createCaptureRule(n,t[i].$vscodeTextmateLocation,t[i].name,t[i].contentName,l)}}return o}static _compilePatterns(t,n,r){let o=[];if(t)for(let s=0,i=t.length;s<i;s++){const a=t[s];let l=-1;if(a.include){const c=G0(a.include);switch(c.kind){case 0:case 1:l=st.getCompiledRuleId(r[a.include],n,r);break;case 2:let u=r[c.ruleName];u&&(l=st.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,d=c.kind===4?c.ruleName:null,h=n.getExternalGrammar(f,r);if(h)if(d){let p=h.repository[d];p&&(l=st.getCompiledRuleId(p,n,h.repository))}else l=st.getCompiledRuleId(h.repository.$self,n,h.repository);break}}else l=st.getCompiledRuleId(a,n,r);if(l!==-1){const c=n.getRule(l);let u=!1;if((c instanceof lh||c instanceof Ic||c instanceof ua)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;o.push(l)}}return{patterns:o,hasMissingPatterns:(t?t.length:0)!==o.length}}}class kr{source;ruleId;hasAnchor;hasBackReferences;_anchorCache;constructor(t,n){if(t){const r=t.length;let o=0,s=[],i=!1;for(let a=0;a<r;a++)if(t.charAt(a)==="\\"&&a+1<r){const c=t.charAt(a+1);c==="z"?(s.push(t.substring(o,a)),s.push("$(?!\\n)(?<!\\n)"),o=a+2):(c==="A"||c==="G")&&(i=!0),a++}this.hasAnchor=i,o===0?this.source=t:(s.push(t.substring(o,r)),this.source=s.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,this.hasBackReferences=aA.test(this.source)}clone(){return new kr(this.source,this.ruleId)}setSource(t){this.source!==t&&(this.source=t,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(t,n){let r=n.map(o=>t.substring(o.start,o.end));return ah.lastIndex=0,this.source.replace(ah,(o,s)=>U0(r[parseInt(s,10)]||""))}_buildAnchorCache(){let t=[],n=[],r=[],o=[],s,i,a,l;for(s=0,i=this.source.length;s<i;s++)a=this.source.charAt(s),t[s]=a,n[s]=a,r[s]=a,o[s]=a,a==="\\"&&s+1<i&&(l=this.source.charAt(s+1),l==="A"?(t[s+1]="",n[s+1]="",r[s+1]="A",o[s+1]="A"):l==="G"?(t[s+1]="",n[s+1]="G",r[s+1]="",o[s+1]="G"):(t[s+1]=l,n[s+1]=l,r[s+1]=l,o[s+1]=l),s++);return{A0_G0:t.join(""),A0_G1:n.join(""),A1_G0:r.join(""),A1_G1:o.join("")}}resolveAnchors(t,n){return!this.hasAnchor||!this._anchorCache?this.source:t?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}}class Is{_items;_hasAnchors;_cached;_anchorCache;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(t){this._items.push(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}unshift(t){this._items.unshift(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}length(){return this._items.length}setSource(t,n){this._items[t].source!==n&&(this._disposeCaches(),this._items[t].setSource(n))}compile(t){if(!this._cached){let n=this._items.map(r=>r.source);this._cached=new ch(t,n,this._items.map(r=>r.ruleId))}return this._cached}compileAG(t,n,r){return this._hasAnchors?n?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,n,r)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,n,r){let o=this._items.map(s=>s.resolveAnchors(n,r));return new ch(t,o,this._items.map(s=>s.ruleId))}}class ch{regExps;rules;scanner;constructor(t,n,r){this.regExps=n,this.rules=r,this.scanner=t.createOnigScanner(n)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let n=0,r=this.rules.length;n<r;n++)t.push(" - "+this.rules[n]+": "+this.regExps[n]);return t.join(`
|
|
30
|
-
`)}findNextMatchSync(t,n,r){const o=this.scanner.findNextMatchSync(t,n,r);return o?{ruleId:this.rules[o.index],captureIndices:o.captureIndices}:null}}class fa{_colorMap;_defaults;_root;static createFromRawTheme(t,n){return this.createFromParsedTheme(hA(t),n)}static createFromParsedTheme(t,n){return mA(t,n)}_cachedMatchRoot=new V0(t=>this._root.match(t));constructor(t,n,r){this._colorMap=t,this._defaults=n,this._root=r}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const n=t.scopeName,o=this._cachedMatchRoot.get(n).find(s=>fA(t.parent,s.parentScopes));return o?new K0(o.fontStyle,o.foreground,o.background):null}}class Ar{parent;scopeName;static push(t,n){for(const r of n)t=new Ar(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new Ar(n,t[r]);return n}constructor(t,n){this.parent=t,this.scopeName=n}push(t){return new Ar(this,t)}getSegments(){let t=this;const n=[];for(;t;)n.push(t.scopeName),t=t.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(t){return this===t?!0:this.parent===null?!1:this.parent.extends(t)}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push(r.scopeName),r=r.parent;return r===t?n.reverse():void 0}}function fA(e,t){if(t===null)return!0;let n=0,r=t[n];for(;e;){if(dA(e.scopeName,r)){if(n++,n===t.length)return!0;r=t[n]}e=e.parent}return!1}function dA(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}class K0{fontStyle;foregroundId;backgroundId;constructor(t,n,r){this.fontStyle=t,this.foregroundId=n,this.backgroundId=r}}function hA(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let o=0,s=t.length;o<s;o++){let i=t[o];if(!i.settings)continue;let a;if(typeof i.scope=="string"){let f=i.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),a=f.split(",")}else Array.isArray(i.scope)?a=i.scope:a=[""];let l=-1;if(typeof i.settings.fontStyle=="string"){l=0;let f=i.settings.fontStyle.split(" ");for(let d=0,h=f.length;d<h;d++)switch(f[d]){case"italic":l=l|1;break;case"bold":l=l|2;break;case"underline":l=l|4;break;case"strikethrough":l=l|8;break}}let c=null;typeof i.settings.foreground=="string"&&ih(i.settings.foreground)&&(c=i.settings.foreground);let u=null;typeof i.settings.background=="string"&&ih(i.settings.background)&&(u=i.settings.background);for(let f=0,d=a.length;f<d;f++){let p=a[f].trim().split(" "),g=p[p.length-1],m=null;p.length>1&&(m=p.slice(0,p.length-1),m.reverse()),n[r++]=new pA(g,m,o,l,c,u)}}return n}class pA{scope;parentScopes;index;fontStyle;foreground;background;constructor(t,n,r,o,s,i){this.scope=t,this.parentScopes=n,this.index=r,this.fontStyle=o,this.foreground=s,this.background=i}}function mA(e,t){e.sort((l,c)=>{let u=z0(l.scope,c.scope);return u!==0||(u=H0(l.parentScopes,c.parentScopes),u!==0)?u:l.index-c.index});let n=0,r="#000000",o="#ffffff";for(;e.length>=1&&e[0].scope==="";){let l=e.shift();l.fontStyle!==-1&&(n=l.fontStyle),l.foreground!==null&&(r=l.foreground),l.background!==null&&(o=l.background)}let s=new gA(t),i=new K0(n,s.getId(r),s.getId(o)),a=new vs(new Ls(0,null,-1,0,0),[]);for(let l=0,c=e.length;l<c;l++){let u=e[l];a.insert(0,u.scope,u.parentScopes,u.fontStyle,s.getId(u.foreground),s.getId(u.background))}return new fa(s,i,a)}class gA{_isFrozen;_lastColorId;_id2color;_color2id;constructor(t){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(t)){this._isFrozen=!0;for(let n=0,r=t.length;n<r;n++)this._color2id[t[n]]=n,this._id2color[n]=t[n]}else this._isFrozen=!1}getId(t){if(t===null)return 0;t=t.toUpperCase();let n=this._color2id[t];if(n)return n;if(this._isFrozen)throw new Error(`Missing color in color map - ${t}`);return n=++this._lastColorId,this._color2id[t]=n,this._id2color[n]=t,n}getColorMap(){return this._id2color.slice(0)}}class Ls{scopeDepth;parentScopes;fontStyle;foreground;background;constructor(t,n,r,o,s){this.scopeDepth=t,this.parentScopes=n,this.fontStyle=r,this.foreground=o,this.background=s}clone(){return new Ls(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(t){let n=[];for(let r=0,o=t.length;r<o;r++)n[r]=t[r].clone();return n}acceptOverwrite(t,n,r,o){this.scopeDepth>t?console.log("how did this happen?"):this.scopeDepth=t,n!==-1&&(this.fontStyle=n),r!==0&&(this.foreground=r),o!==0&&(this.background=o)}}class vs{_mainRule;_children;_rulesWithParentScopes;constructor(t,n=[],r={}){this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _sortBySpecificity(t){return t.length===1||t.sort(this._cmpBySpecificity),t}static _cmpBySpecificity(t,n){if(t.scopeDepth===n.scopeDepth){const r=t.parentScopes,o=n.parentScopes;let s=r===null?0:r.length,i=o===null?0:o.length;if(s===i)for(let a=0;a<s;a++){const l=r[a].length,c=o[a].length;if(l!==c)return c-l}return i-s}return n.scopeDepth-t.scopeDepth}match(t){if(t==="")return vs._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes));let n=t.indexOf("."),r,o;return n===-1?(r=t,o=""):(r=t.substring(0,n),o=t.substring(n+1)),this._children.hasOwnProperty(r)?this._children[r].match(o):vs._sortBySpecificity([].concat(this._mainRule).concat(this._rulesWithParentScopes))}insert(t,n,r,o,s,i){if(n===""){this._doInsertHere(t,r,o,s,i);return}let a=n.indexOf("."),l,c;a===-1?(l=n,c=""):(l=n.substring(0,a),c=n.substring(a+1));let u;this._children.hasOwnProperty(l)?u=this._children[l]:(u=new vs(this._mainRule.clone(),Ls.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(t+1,c,r,o,s,i)}_doInsertHere(t,n,r,o,s){if(n===null){this._mainRule.acceptOverwrite(t,r,o,s);return}for(let i=0,a=this._rulesWithParentScopes.length;i<a;i++){let l=this._rulesWithParentScopes[i];if(H0(l.parentScopes,n)===0){l.acceptOverwrite(t,r,o,s);return}}r===-1&&(r=this._mainRule.fontStyle),o===0&&(o=this._mainRule.foreground),s===0&&(s=this._mainRule.background),this._rulesWithParentScopes.push(new Ls(t,n,r,o,s))}}class Ol{languageId;tokenType;constructor(t,n){this.languageId=t,this.tokenType=n}}class da{_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,n){this._defaultAttributes=new Ol(t,8),this._embeddedLanguagesMatcher=new vA(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?da._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new Ol(0,0);_getBasicScopeAttributes=new V0(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new Ol(n,r)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(da.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}static STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/}class vA{values;scopesRegExp;constructor(t){if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const n=t.map(([r,o])=>U0(r));n.sort(),n.reverse(),this.scopesRegExp=new RegExp(`^((${n.join(")|(")}))($|\\.)`,"")}}match(t){if(!this.scopesRegExp)return;const n=t.match(this.scopesRegExp);if(n)return this.values.get(n[1])}}class uh{stack;stoppedEarly;constructor(t,n){this.stack=t,this.stoppedEarly=n}}function q0(e,t,n,r,o,s,i,a){const l=t.content.length;let c=!1,u=-1;if(i){const h=yA(e,t,n,r,o,s);o=h.stack,r=h.linePos,n=h.isFirstLine,u=h.anchorPosition}const f=Date.now();for(;!c;){if(a!==0&&Date.now()-f>a)return new uh(o,!0);d()}return new uh(o,!1);function d(){const h=_A(e,t,n,r,o,u);if(!h){s.produce(o,l),c=!0;return}const p=h.captureIndices,g=h.matchedRuleId,m=p&&p.length>0?p[0].end>r:!1;if(g===lA){const v=o.getRule(e);s.produce(o,p[0].start),o=o.withContentNameScopesList(o.nameScopesList),as(e,t,n,o,s,v.endCaptures,p),s.produce(o,p[0].end);const _=o;if(o=o.parent,u=_.getAnchorPos(),!m&&_.getEnterPos()===r){o=_,s.produce(o,l),c=!0;return}}else{const v=e.getRule(g);s.produce(o,p[0].start);const _=o,y=v.getName(t.content,p),b=o.contentNameScopesList.pushAttributed(y,e);if(o=o.push(g,r,u,p[0].end===l,null,b,b),v instanceof Ic){const E=v;as(e,t,n,o,s,E.beginCaptures,p),s.produce(o,p[0].end),u=p[0].end;const C=E.getContentName(t.content,p),O=b.pushAttributed(C,e);if(o=o.withContentNameScopesList(O),E.endHasBackReferences&&(o=o.withEndRule(E.getEndWithResolvedBackReferences(t.content,p))),!m&&_.hasSameRuleAs(o)){o=o.pop(),s.produce(o,l),c=!0;return}}else if(v instanceof ua){const E=v;as(e,t,n,o,s,E.beginCaptures,p),s.produce(o,p[0].end),u=p[0].end;const C=E.getContentName(t.content,p),O=b.pushAttributed(C,e);if(o=o.withContentNameScopesList(O),E.whileHasBackReferences&&(o=o.withEndRule(E.getWhileWithResolvedBackReferences(t.content,p))),!m&&_.hasSameRuleAs(o)){o=o.pop(),s.produce(o,l),c=!0;return}}else if(as(e,t,n,o,s,v.captures,p),s.produce(o,p[0].end),o=o.pop(),!m){o=o.safePop(),s.produce(o,l),c=!0;return}}p[0].end>r&&(r=p[0].end,n=!1)}}function yA(e,t,n,r,o,s){let i=o.beginRuleCapturedEOL?0:-1;const a=[];for(let l=o;l;l=l.pop()){const c=l.getRule(e);c instanceof ua&&a.push({rule:c,stack:l})}for(let l=a.pop();l;l=a.pop()){const{ruleScanner:c,findOptions:u}=EA(l.rule,e,l.stack.endRule,n,r===i),f=c.findNextMatchSync(t,r,u);if(f){if(f.ruleId!==W0){o=l.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(s.produce(l.stack,f.captureIndices[0].start),as(e,t,n,l.stack,s,l.rule.whileCaptures,f.captureIndices),s.produce(l.stack,f.captureIndices[0].end),i=f.captureIndices[0].end,f.captureIndices[0].end>r&&(r=f.captureIndices[0].end,n=!1))}else{o=l.stack.pop();break}}return{stack:o,linePos:r,anchorPosition:i,isFirstLine:n}}function _A(e,t,n,r,o,s){const i=bA(e,t,n,r,o,s),a=e.getInjections();if(a.length===0)return i;const l=wA(a,e,t,n,r,o,s);if(!l)return i;if(!i)return l;const c=i.captureIndices[0].start,u=l.captureIndices[0].start;return u<c||l.priorityMatch&&u===c?l:i}function bA(e,t,n,r,o,s){const i=o.getRule(e),{ruleScanner:a,findOptions:l}=Y0(i,e,o.endRule,n,r===s),c=a.findNextMatchSync(t,r,l);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function wA(e,t,n,r,o,s,i){let a=Number.MAX_VALUE,l=null,c,u=0;const f=s.contentNameScopesList.getScopeNames();for(let d=0,h=e.length;d<h;d++){const p=e[d];if(!p.matcher(f))continue;const g=t.getRule(p.ruleId),{ruleScanner:m,findOptions:v}=Y0(g,t,null,r,o===i),_=m.findNextMatchSync(n,o,v);if(!_)continue;const y=_.captureIndices[0].start;if(!(y>=a)&&(a=y,l=_.captureIndices,c=_.ruleId,u=p.priority,a===o))break}return l?{priorityMatch:u===-1,captureIndices:l,matchedRuleId:c}:null}function Y0(e,t,n,r,o){return{ruleScanner:e.compileAG(t,n,r,o),findOptions:0}}function EA(e,t,n,r,o){return{ruleScanner:e.compileWhileAG(t,n,r,o),findOptions:0}}function as(e,t,n,r,o,s,i){if(s.length===0)return;const a=t.content,l=Math.min(s.length,i.length),c=[],u=i[0].end;for(let f=0;f<l;f++){const d=s[f];if(d===null)continue;const h=i[f];if(h.length===0)continue;if(h.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=h.start;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?o.produceFromScopes(c[c.length-1].scopes,h.start):o.produce(r,h.start),d.retokenizeCapturedWithRuleId){const g=d.getName(a,i),m=r.contentNameScopesList.pushAttributed(g,e),v=d.getContentName(a,i),_=m.pushAttributed(v,e),y=r.push(d.retokenizeCapturedWithRuleId,h.start,-1,!1,null,m,_),b=e.createOnigString(a.substring(0,h.end));q0(e,b,n&&h.start===0,h.start,y,o,!1,0),F0(b);continue}const p=d.getName(a,i);if(p!==null){const m=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(p,e);c.push(new SA(m,h.end))}}for(;c.length>0;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}class SA{scopes;endPos;constructor(t,n){this.scopes=t,this.endPos=n}}function xA(e,t,n,r,o,s,i,a){return new AA(e,t,n,r,o,s,i,a)}function fh(e,t,n,r,o){const s=la(t,ha),i=st.getCompiledRuleId(n,r,o.repository);for(const a of s)e.push({debugSelector:t,matcher:a.matcher,ruleId:i,grammar:o,priority:a.priority})}function ha(e,t){if(t.length<e.length)return!1;let n=0;return e.every(r=>{for(let o=n;o<t.length;o++)if(CA(t[o],r))return n=o+1,!0;return!1})}function CA(e,t){if(!e)return!1;if(e===t)return!0;const n=t.length;return e.length>n&&e.substr(0,n)===t&&e[n]==="."}class AA{_rootScopeName;balancedBracketSelectors;_onigLib;_rootId;_lastRuleId;_ruleId2desc;_includedGrammars;_grammarRepository;_grammar;_injections;_basicScopeAttributesProvider;_tokenTypeMatchers;get themeProvider(){return this._grammarRepository}constructor(t,n,r,o,s,i,a,l){if(this._rootScopeName=t,this.balancedBracketSelectors=i,this._onigLib=l,this._basicScopeAttributesProvider=new da(r,o),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=a,this._grammar=dh(n,null),this._injections=null,this._tokenTypeMatchers=[],s)for(const c of Object.keys(s)){const u=la(c,ha);for(const f of u)this._tokenTypeMatchers.push({matcher:f.matcher,type:s[c]})}}dispose(){for(const t of this._ruleId2desc)t&&t.dispose()}createOnigScanner(t){return this._onigLib.createOnigScanner(t)}createOnigString(t){return this._onigLib.createOnigString(t)}getMetadataForScope(t){return this._basicScopeAttributesProvider.getBasicScopeAttributes(t)}_collectInjections(){const t={lookup:s=>s===this._rootScopeName?this._grammar:this.getExternalGrammar(s),injections:s=>this._grammarRepository.injections(s)},n=[],r=this._rootScopeName,o=t.lookup(r);if(o){const s=o.injections;if(s)for(let a in s)fh(n,a,s[a],this,o);const i=this._grammarRepository.injections(r);i&&i.forEach(a=>{const l=this.getExternalGrammar(a);if(l){const c=l.injectionSelector;c&&fh(n,c,l,this,l)}})}return n.sort((s,i)=>s.priority-i.priority),n}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(t){const n=++this._lastRuleId,r=t(n);return this._ruleId2desc[n]=r,r}getRule(t){return this._ruleId2desc[t]}getExternalGrammar(t,n){if(this._includedGrammars[t])return this._includedGrammars[t];if(this._grammarRepository){const r=this._grammarRepository.lookup(t);if(r)return this._includedGrammars[t]=dh(r,n&&n.$base),this._includedGrammars[t]}}tokenizeLine(t,n,r=0){const o=this._tokenize(t,n,!1,r);return{tokens:o.lineTokens.getResult(o.ruleStack,o.lineLength),ruleStack:o.ruleStack,stoppedEarly:o.stoppedEarly}}tokenizeLine2(t,n,r=0){const o=this._tokenize(t,n,!0,r);return{tokens:o.lineTokens.getBinaryResult(o.ruleStack,o.lineLength),ruleStack:o.ruleStack,stoppedEarly:o.stoppedEarly}}_tokenize(t,n,r,o){this._rootId===-1&&(this._rootId=st.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let s;if(!n||n===on.NULL){s=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),f=this.themeProvider.getDefaults(),d=ho.set(0,u.languageId,u.tokenType,null,f.fontStyle,f.foregroundId,f.backgroundId),h=this.getRule(this._rootId).getName(null,null);let p;h?p=gt.createRootAndLookUpScopeName(h,d,this):p=gt.createRoot("unknown",d),n=new on(null,this._rootId,-1,-1,!1,null,p,p)}else s=!1,n.reset();t=t+`
|
|
31
|
-
`;const i=this.createOnigString(t),a=i.content.length,l=new RA(r,t,this._tokenTypeMatchers,this.balancedBracketSelectors),c=q0(this,i,s,0,n,l,!0,o);return F0(i),{lineLength:a,lineTokens:l,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function dh(e,t){return e=YC(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}class gt{parent;scopePath;tokenAttributes;static fromExtension(t,n){let r=t,o=t?.scopePath??null;for(const s of n)o=Ar.push(o,s.scopeNames),r=new gt(r,o,s.encodedTokenAttributes);return r}static createRoot(t,n){return new gt(null,new Ar(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const o=r.getMetadataForScope(t),s=new Ar(null,t),i=r.themeProvider.themeMatch(s),a=gt.mergeAttributes(n,o,i);return new gt(null,s,a)}get scopeName(){return this.scopePath.scopeName}constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}toString(){return this.getScopeNames().join(" ")}equals(t){return gt.equals(this,t)}static equals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.scopeName!==n.scopeName||t.tokenAttributes!==n.tokenAttributes)return!1;t=t.parent,n=n.parent}while(!0)}static mergeAttributes(t,n,r){let o=-1,s=0,i=0;return r!==null&&(o=r.fontStyle,s=r.foregroundId,i=r.backgroundId),ho.set(t,n.languageId,n.tokenType,null,o,s,i)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return gt._pushAttributed(this,t,n);const r=t.split(/ /g);let o=this;for(const s of r)o=gt._pushAttributed(o,s,n);return o}static _pushAttributed(t,n,r){const o=r.getMetadataForScope(n),s=t.scopePath.push(n),i=r.themeProvider.themeMatch(s),a=gt.mergeAttributes(t.tokenAttributes,o,i);return new gt(t,s,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(r.parent?.scopePath??null)}),r=r.parent;return r===t?n.reverse():void 0}}class on{parent;ruleId;beginRuleCapturedEOL;endRule;nameScopesList;contentNameScopesList;_stackElementBrand=void 0;static NULL=new on(null,0,0,0,!1,null,null,null);_enterPos;_anchorPos;depth;constructor(t,n,r,o,s,i,a,l){this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=s,this.endRule=i,this.nameScopesList=a,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=o}equals(t){return t===null?!1:on._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?gt.equals(t.contentNameScopesList,n.contentNameScopesList):!1}static _structuralEquals(t,n){do{if(t===n||!t&&!n)return!0;if(!t||!n||t.depth!==n.depth||t.ruleId!==n.ruleId||t.endRule!==n.endRule)return!1;t=t.parent,n=n.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){on._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,o,s,i,a){return new on(this,t,n,r,o,s,i,a)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,n){return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${this.nameScopesList?.toString()}, ${this.contentNameScopesList?.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new on(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:this.nameScopesList?.getExtensionIfDefined(this.parent?.nameScopesList??null)??[],contentNameScopesList:this.contentNameScopesList?.getExtensionIfDefined(this.nameScopesList)??[]}}static pushFrame(t,n){const r=gt.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new on(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,gt.fromExtension(r,n.contentNameScopesList))}}class TA{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(t,n){this.balancedBracketScopes=t.flatMap(r=>r==="*"?(this.allowAny=!0,[]):la(r,ha).map(o=>o.matcher)),this.unbalancedBracketScopes=n.flatMap(r=>la(r,ha).map(o=>o.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(t){for(const n of this.unbalancedBracketScopes)if(n(t))return!1;for(const n of this.balancedBracketScopes)if(n(t))return!0;return this.allowAny}}class RA{balancedBracketSelectors;_emitBinaryTokens;_lineText;_tokens;_binaryTokens;_lastTokenEndIndex;_tokenTypeOverrides;constructor(t,n,r,o){this.balancedBracketSelectors=o,this._emitBinaryTokens=t,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(t,n){this.produceFromScopes(t.contentNameScopesList,n)}produceFromScopes(t,n){if(this._lastTokenEndIndex>=n)return;if(this._emitBinaryTokens){let o=t?.tokenAttributes??0,s=!1;if(this.balancedBracketSelectors?.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const i=t?.getScopeNames()??[];for(const a of this._tokenTypeOverrides)a.matcher(i)&&(o=ho.set(o,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(i))}if(s&&(o=ho.set(o,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===o){this._lastTokenEndIndex=n;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(o),this._lastTokenEndIndex=n;return}const r=t?.getScopeNames()??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:n,scopes:r}),this._lastTokenEndIndex=n}getResult(t,n){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===n-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(t,n){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===n-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(t,n),this._binaryTokens[this._binaryTokens.length-2]=0);const r=new Uint32Array(this._binaryTokens.length);for(let o=0,s=this._binaryTokens.length;o<s;o++)r[o]=this._binaryTokens[o];return r}}class PA{_onigLibPromise;_grammars=new Map;_rawGrammars=new Map;_injectionGrammars=new Map;_theme;constructor(t,n){this._onigLibPromise=n,this._theme=t}dispose(){for(const t of this._grammars.values())t.dispose()}setTheme(t){this._theme=t}getColorMap(){return this._theme.getColorMap()}addGrammar(t,n){this._rawGrammars.set(t.scopeName,t),n&&this._injectionGrammars.set(t.scopeName,n)}lookup(t){return this._rawGrammars.get(t)}injections(t){return this._injectionGrammars.get(t)}getDefaults(){return this._theme.getDefaults()}themeMatch(t){return this._theme.match(t)}async grammarForScopeName(t,n,r,o,s){if(!this._grammars.has(t)){let i=this._rawGrammars.get(t);if(!i)return null;this._grammars.set(t,xA(t,i,n,r,o,s,this,await this._onigLibPromise))}return this._grammars.get(t)}}let $A=class{_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new PA(fa.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(fa.createFromRawTheme(t,n))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(t,n,r){return this.loadGrammarWithConfiguration(t,n,{embeddedLanguages:r})}loadGrammarWithConfiguration(t,n,r){return this._loadGrammar(t,n,r.embeddedLanguages,r.tokenTypes,new TA(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}async _loadGrammar(t,n,r,o,s){const i=new eA(this._syncRegistry,t);for(;i.Q.length>0;)await Promise.all(i.Q.map(a=>this._loadSingleGrammar(a.scopeName))),i.processQueue();return this._grammarForScopeName(t,n,r,o,s)}async _loadSingleGrammar(t){return this._ensureGrammarCache.has(t)||this._ensureGrammarCache.set(t,this._doLoadSingleGrammar(t)),this._ensureGrammarCache.get(t)}async _doLoadSingleGrammar(t){const n=await this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}async addGrammar(t,n=[],r=0,o=null){return this._syncRegistry.addGrammar(t,n),await this._grammarForScopeName(t.scopeName,r,o)}_grammarForScopeName(t,n=0,r=null,o=null,s=null){return this._syncRegistry.grammarForScopeName(t,n,r,o,s)}};const kA=on.NULL,lt={LANGUAGEID_MASK:255,TOKEN_TYPE_MASK:768,BALANCED_BRACKETS_MASK:1024,FONT_STYLE_MASK:14336,FOREGROUND_MASK:8372224,BACKGROUND_MASK:4286578688,LANGUAGEID_OFFSET:0,TOKEN_TYPE_OFFSET:8,BALANCED_BRACKETS_OFFSET:10,FONT_STYLE_OFFSET:11,FOREGROUND_OFFSET:15,BACKGROUND_OFFSET:24};class wn{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t<.LANGUAGEID_MASK)>>>lt.LANGUAGEID_OFFSET}static getTokenType(t){return(t<.TOKEN_TYPE_MASK)>>>lt.TOKEN_TYPE_OFFSET}static getFontStyle(t){return(t<.FONT_STYLE_MASK)>>>lt.FONT_STYLE_OFFSET}static getForeground(t){return(t<.FOREGROUND_MASK)>>>lt.FOREGROUND_OFFSET}static getBackground(t){return(t<.BACKGROUND_MASK)>>>lt.BACKGROUND_OFFSET}static containsBalancedBrackets(t){return(t<.BALANCED_BRACKETS_MASK)!==0}static set(t,n,r,o,s,i){let a=wn.getLanguageId(t),l=wn.getTokenType(t),c=wn.getFontStyle(t),u=wn.getForeground(t),f=wn.getBackground(t);const d=wn.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),r!==0&&(l=r===8?0:r),o!==qt.NotSet&&(c=o),s!==0&&(u=s),i!==0&&(f=i),(a<<lt.LANGUAGEID_OFFSET|l<<lt.TOKEN_TYPE_OFFSET|c<<lt.FONT_STYLE_OFFSET|d<<lt.BALANCED_BRACKETS_OFFSET|u<<lt.FOREGROUND_OFFSET|f<<lt.BACKGROUND_OFFSET)>>>0}}function Za(e,t=!1){const n=e.split(/(\r?\n)/g);let r=0;const o=[];for(let s=0;s<n.length;s+=2){const i=t?n[s]+(n[s+1]||""):n[s];o.push([i,r]),r+=n[s].length,r+=n[s+1]?.length||0}return o}function X0(e){return!e||["plaintext","txt","text","plain"].includes(e)}function OA(e){return e==="ansi"||X0(e)}function J0(e){return e==="none"}function NA(e){return J0(e)}function Z0(e,t){if(!t)return e;e.properties||={},e.properties.class||=[],typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const n=Array.isArray(t)?t:t.split(/\s+/g);for(const r of n)r&&!e.properties.class.includes(r)&&e.properties.class.push(r);return e}function IA(e,t){let n=0;const r=[];for(const o of t)o>n&&r.push({...e,content:e.content.slice(n,o),offset:e.offset+n}),n=o;return n<e.content.length&&r.push({...e,content:e.content.slice(n),offset:e.offset+n}),r}function LA(e,t){const n=Array.from(t instanceof Set?t:new Set(t)).sort((r,o)=>r-o);return n.length?e.map(r=>r.flatMap(o=>{const s=n.filter(i=>o.offset<i&&i<o.offset+o.content.length).map(i=>i-o.offset).sort((i,a)=>i-a);return s.length?IA(o,s):o})):e}function wr(e,t){return e&&(t?.[e?.toLowerCase()]||e)}function Q0(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&qt.Italic&&(t["font-style"]="italic"),e.fontStyle&qt.Bold&&(t["font-weight"]="bold"),e.fontStyle&qt.Underline&&(t["text-decoration"]="underline")),t}function ev(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function DA(e){const t=Za(e,!0).map(([o])=>o);function n(o){let s=o,i=0;for(const a of t){if(s<a.length)break;s-=a.length,i++}return{line:i,character:s}}function r(o,s){let i=0;for(let a=0;a<o;a++)i+=t[a].length;return i+=s,i}return{lines:t,indexToPos:n,posToIndex:r}}var Er=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Nl={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function MA(e,t){const n=e.indexOf("\x1B[",t);if(n!==-1){const r=e.indexOf("m",n);return{sequence:e.substring(n+2,r).split(";"),startPosition:n,position:r+1}}return{position:e.length}}function hh(e,t){let n=1;const r=e[t+n++];let o;if(r==="2"){const s=[e[t+n++],e[t+n++],e[t+n]].map(i=>Number.parseInt(i));s.length===3&&!s.some(i=>Number.isNaN(i))&&(o={type:"rgb",rgb:s})}else if(r==="5"){const s=Number.parseInt(e[t+n]);Number.isNaN(s)||(o={type:"table",index:Number(s)})}return[n,o]}function FA(e){const t=[];for(let n=0;n<e.length;n++){const r=e[n],o=Number.parseInt(r);if(!Number.isNaN(o))if(o===0)t.push({type:"resetAll"});else if(o<=9)Nl[o]&&t.push({type:"setDecoration",value:Nl[o]});else if(o<=29){const s=Nl[o-20];s&&t.push({type:"resetDecoration",value:s})}else if(o<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Er[o-30]}});else if(o===38){const[s,i]=hh(e,n);i&&t.push({type:"setForegroundColor",value:i}),n+=s}else if(o===39)t.push({type:"resetForegroundColor"});else if(o<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Er[o-40]}});else if(o===48){const[s,i]=hh(e,n);i&&t.push({type:"setBackgroundColor",value:i}),n+=s}else o===49?t.push({type:"resetBackgroundColor"}):o>=90&&o<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Er[o-90+8]}}):o>=100&&o<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Er[o-100+8]}})}return t}function BA(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let s=0;do{const i=MA(r,s),a=i.sequence?r.substring(s,i.startPosition):r.substring(s);if(a.length>0&&o.push({value:a,foreground:e,background:t,decorations:new Set(n)}),i.sequence){const l=FA(i.sequence);for(const c of l)c.type==="resetAll"?(e=null,t=null,n.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&n.delete(c.value);for(const c of l)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&n.add(c.value)}s=i.position}while(s<r.length);return o}}}var jA={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 zA(e=jA){function t(a){return e[a]}function n(a){return`#${a.map(l=>Math.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let r;function o(){if(r)return r;r=[];for(let c=0;c<Er.length;c++)r.push(t(Er[c]));let a=[0,95,135,175,215,255];for(let c=0;c<6;c++)for(let u=0;u<6;u++)for(let f=0;f<6;f++)r.push(n([a[c],a[u],a[f]]));let l=8;for(let c=0;c<24;c++,l+=10)r.push(n([l,l,l]));return r}function s(a){return o()[a]}function i(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return s(a.index)}}return{value:i}}function HA(e,t,n){const r={...e.colorReplacements,...n?.colorReplacements},o=Za(t),s=zA(Object.fromEntries(Er.map(a=>[a,e.colors?.[`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`]]))),i=BA();return o.map(a=>i.parse(a[0]).map(l=>{let c,u;l.decorations.has("reverse")?(c=l.background?s.value(l.background):e.bg,u=l.foreground?s.value(l.foreground):e.fg):(c=l.foreground?s.value(l.foreground):e.fg,u=l.background?s.value(l.background):void 0),c=wr(c,r),u=wr(u,r),l.decorations.has("dim")&&(c=UA(c));let f=qt.None;return l.decorations.has("bold")&&(f|=qt.Bold),l.decorations.has("italic")&&(f|=qt.Italic),l.decorations.has("underline")&&(f|=qt.Underline),{content:l.value,offset:a[1],color:c,bgColor:u,fontStyle:f}}))}function UA(e){const t=e.match(/#([0-9a-f]{3})([0-9a-f]{3})?([0-9a-f]{2})?/);if(t)if(t[3]){const r=Math.round(Number.parseInt(t[3],16)/2).toString(16).padStart(2,"0");return`#${t[1]}${t[2]}${r}`}else return t[2]?`#${t[1]}${t[2]}80`:`#${Array.from(t[1]).map(r=>`${r}${r}`).join("")}80`;const n=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return n?`var(${n[1]}-dim)`:e}function Xu(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(X0(r)||J0(o))return Za(t).map(l=>[{content:l[0],offset:l[1]}]);const{theme:s,colorMap:i}=e.setTheme(o);if(r==="ansi")return HA(s,t,n);const a=e.getLanguage(r);return VA(t,a,s,i,n)}function VA(e,t,n,r,o){const s={...n.colorReplacements,...o?.colorReplacements},{tokenizeMaxLineLength:i=0,tokenizeTimeLimit:a=500}=o,l=Za(e);let c=kA,u=[];const f=[];for(let d=0,h=l.length;d<h;d++){const[p,g]=l[d];if(p===""){u=[],f.push([]);continue}if(i>0&&p.length>=i){u=[],f.push([{content:p,offset:g,color:"",fontStyle:0}]);continue}let m,v,_;o.includeExplanation&&(m=t.tokenizeLine(p,c),v=m.tokens,_=0);const y=t.tokenizeLine2(p,c,a),b=y.tokens.length/2;for(let E=0;E<b;E++){const C=y.tokens[2*E],O=E+1<b?y.tokens[2*E+2]:p.length;if(C===O)continue;const k=y.tokens[2*E+1],D=wr(r[wn.getForeground(k)],s),P=wn.getFontStyle(k),L={content:p.substring(C,O),offset:g+C,color:D,fontStyle:P};if(o.includeExplanation){L.explanation=[];let A=0;for(;C+A<O;){const S=v[_],T=p.substring(S.startIndex,S.endIndex);A+=T.length,L.explanation.push({content:T,scopes:GA(n,S.scopes)}),_+=1}}u.push(L)}f.push(u),u=[],c=y.ruleStack}return f}function GA(e,t){const n=[];for(let r=0,o=t.length;r<o;r++){const s=t.slice(0,r),i=t[r];n[r]={scopeName:i,themeMatches:KA(e,i,s)}}return n}function ph(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}function WA(e,t,n,r){if(!ph(e,n))return!1;let o=t.length-1,s=r.length-1;for(;o>=0&&s>=0;)ph(t[o],r[s])&&(o-=1),s-=1;return o===-1}function KA(e,t,n){const r=[];let o=0;for(let s=0,i=e.settings.length;s<i;s++){const a=e.settings[s];let l;if(typeof a.scope=="string")l=a.scope.split(/,/).map(c=>c.trim());else if(Array.isArray(a.scope))l=a.scope;else continue;for(let c=0,u=l.length;c<u;c++){const d=l[c].split(/ /),h=d[d.length-1],p=d.slice(0,d.length-1);WA(h,p,t,n)&&(r[o++]=a,c=u)}}return r}function tv(e,t,n){const r=Object.entries(n.themes).filter(i=>i[1]).map(i=>({color:i[0],theme:i[1]})),o=qA(...r.map(i=>Xu(e,t,{...n,theme:i.theme})));return o[0].map((i,a)=>i.map((l,c)=>{const u={content:l.content,variants:{},offset:l.offset};return o.forEach((f,d)=>{const{content:h,explanation:p,offset:g,...m}=f[a][c];u.variants[r[d].color]=m}),u}))}function qA(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const o=e.map(l=>l[r]),s=t.map(()=>[]);t.forEach((l,c)=>l.push(s[c]));const i=o.map(()=>0),a=o.map(l=>l[0]);for(;a.every(l=>l);){const l=Math.min(...a.map(c=>c.content.length));for(let c=0;c<n;c++){const u=a[c];u.content.length===l?(s[c].push(u),i[c]+=1,a[c]=o[c][i[c]]):(s[c].push({...u,content:u.content.slice(0,l)}),a[c]={...u,content:u.content.slice(l),offset:u.offset+l})}}}return t}class vt extends Error{constructor(t){super(t),this.name="ShikiError"}}function pa(e,t,n){let r,o,s,i,a;if("themes"in n){const{defaultColor:l="light",cssVariablePrefix:c="--shiki-",colorReplacements:u}=n,f=Object.entries(n.themes).filter(g=>g[1]).map(g=>({color:g[0],theme:g[1]})).sort((g,m)=>g.color===l?-1:m.color===l?1:0);if(f.length===0)throw new vt("`themes` option must not be empty");const d=tv(e,t,n);if(l&&!f.find(g=>g.color===l))throw new vt(`\`themes\` option must contain the defaultColor key \`${l}\``);const h=f.map(g=>e.getTheme(g.theme)),p=f.map(g=>g.color);s=d.map(g=>g.map(m=>YA(m,p,c,l))),o=f.map((g,m)=>(m===0&&l?"":`${c+g.color}:`)+(wr(h[m].fg,u)||"inherit")).join(";"),r=f.map((g,m)=>(m===0&&l?"":`${c+g.color}-bg:`)+(wr(h[m].bg,u)||"inherit")).join(";"),i=`shiki-themes ${h.map(g=>g.name).join(" ")}`,a=l?void 0:[o,r].join(";")}else if("theme"in n){const{colorReplacements:l}=n;s=Xu(e,t,n);const c=e.getTheme(n.theme);r=wr(c.bg,l),o=wr(c.fg,l),i=c.name}else throw new vt("Invalid options, either `theme` or `themes` must be provided");return{tokens:s,fg:o,bg:r,themeName:i,rootStyle:a}}function YA(e,t,n,r){const o={content:e.content,explanation:e.explanation,offset:e.offset},s=t.map(l=>Q0(e.variants[l])),i=new Set(s.flatMap(l=>Object.keys(l))),a=s.reduce((l,c,u)=>{for(const f of i){const d=c[f]||"inherit";if(u===0&&r)l[f]=d;else{const h=f==="color"?"":f==="background-color"?"-bg":`-${f}`,p=n+t[u]+(f==="color"?"":h);l[f]?l[f]+=`;${p}:${d}`:l[f]=`${p}:${d}`}}return l},{});return o.htmlStyle=r?ev(a):Object.values(a).join(";"),o}function XA(){const e=new WeakMap;function t(r){if(!e.has(r.meta)){let s=function(a){return typeof a=="number"?{...o.indexToPos(a),offset:a}:{...a,offset:o.posToIndex(a.line,a.character)}};const o=DA(r.source),i=(r.options.decorations||[]).map(a=>({...a,start:s(a.start),end:s(a.end)}));n(i),e.set(r.meta,{decorations:i,converter:o,source:r.source})}return e.get(r.meta)}function n(r){for(let o=0;o<r.length;o++){const s=r[o];if(s.start.offset>s.end.offset)throw new vt(`Invalid decoration range: ${JSON.stringify(s.start)} - ${JSON.stringify(s.end)}`);for(let i=o+1;i<r.length;i++){const a=r[i],l=s.start.offset<a.start.offset&&a.start.offset<s.end.offset,c=s.start.offset<a.end.offset&&a.end.offset<s.end.offset,u=a.start.offset<s.start.offset&&s.start.offset<a.end.offset,f=a.start.offset<s.end.offset&&s.end.offset<a.end.offset;if(l||c||u||f){if(c&&c||u&&f)continue;throw new vt(`Decorations ${JSON.stringify(s.start)} and ${JSON.stringify(a.start)} intersect.`)}}}}return{name:"shiki:decorations",tokens(r){if(!this.options.decorations?.length)return;const s=t(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]);return LA(r,s)},code(r){if(!this.options.decorations?.length)return;const o=t(this),s=Array.from(r.children).filter(f=>f.type==="element"&&f.tagName==="span");if(s.length!==o.converter.lines.length)throw new vt(`Number of lines in code element (${s.length}) does not match the number of lines in the source (${o.converter.lines.length}). Failed to apply decorations.`);function i(f,d,h,p){const g=s[f];let m="",v=-1,_=-1;function y(E){return E.type==="text"?E.value:E.type==="element"?E.children.map(y).join(""):""}if(d===0&&(v=0),h===0&&(_=0),h===Number.POSITIVE_INFINITY&&(_=g.children.length),v===-1||_===-1)for(let E=0;E<g.children.length;E++)m+=y(g.children[E]),v===-1&&m.length===d&&(v=E+1),_===-1&&m.length===h&&(_=E+1);if(v===-1)throw new vt(`Failed to find start index for decoration ${JSON.stringify(p.start)}`);if(_===-1)throw new vt(`Failed to find end index for decoration ${JSON.stringify(p.end)}`);const b=g.children.slice(v,_);if(!p.alwaysWrap&&b.length===g.children.length)l(g,p,"line");else if(!p.alwaysWrap&&b.length===1&&b[0].type==="element")l(b[0],p,"token");else{const E={type:"element",tagName:"span",properties:{},children:b};l(E,p,"wrapper"),g.children.splice(v,b.length,E)}}function a(f,d){s[f]=l(s[f],d,"line")}function l(f,d,h){const p=d.properties||{},g=d.transform||(m=>m);return f.tagName=d.tagName||"span",f.properties={...f.properties,...p,class:f.properties.class},d.properties?.class&&Z0(f,d.properties.class),f=g(f,h)||f,f}const c=[],u=o.decorations.sort((f,d)=>d.start.offset-f.start.offset);for(const f of u){const{start:d,end:h}=f;if(d.line===h.line)i(d.line,d.character,h.character,f);else if(d.line<h.line){i(d.line,d.character,Number.POSITIVE_INFINITY,f);for(let p=d.line+1;p<h.line;p++)c.unshift(()=>a(p,f));i(h.line,0,h.character,f)}}c.forEach(f=>f())}}}const JA=[XA()];function ma(e){return[...e.transformers||[],...JA]}function ga(e,t,n,r={meta:{},options:n,codeToHast:(o,s)=>ga(e,o,s),codeToTokens:(o,s)=>pa(e,o,s)}){let o=t;for(const d of ma(n))o=d.preprocess?.call(r,o,n)||o;let{tokens:s,fg:i,bg:a,themeName:l,rootStyle:c}=pa(e,o,n);const{mergeWhitespaces:u=!0}=n;u===!0?s=QA(s):u==="never"&&(s=eT(s));const f={...r,get source(){return o}};for(const d of ma(n))s=d.tokens?.call(f,s)||s;return ZA(s,{...n,fg:i,bg:a,themeName:l,rootStyle:c},f)}function ZA(e,t,n){const r=ma(t),o=[],s={type:"root",children:[]},{structure:i="classic"}=t;let a={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,tabindex:"0",...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([d])=>!d.startsWith("_")))},children:[]},l={type:"element",tagName:"code",properties:{},children:o};const c=[],u={...n,structure:i,addClassToHast:Z0,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return s},get pre(){return a},get code(){return l},get lines(){return c}};if(e.forEach((d,h)=>{h&&(i==="inline"?s.children.push({type:"element",tagName:"br",properties:{},children:[]}):i==="classic"&&o.push({type:"text",value:`
|
|
32
|
-
`}));let p={type:"element",tagName:"span",properties:{class:"line"},children:[]},g=0;for(const m of d){let v={type:"element",tagName:"span",properties:{},children:[{type:"text",value:m.content}]};const _=m.htmlStyle||ev(Q0(m));_&&(v.properties.style=_);for(const y of r)v=y?.span?.call(u,v,h+1,g,p)||v;i==="inline"?s.children.push(v):i==="classic"&&p.children.push(v),g+=m.content.length}if(i==="classic"){for(const m of r)p=m?.line?.call(u,p,h+1)||p;c.push(p),o.push(p)}}),i==="classic"){for(const d of r)l=d?.code?.call(u,l)||l;a.children.push(l);for(const d of r)a=d?.pre?.call(u,a)||a;s.children.push(a)}let f=s;for(const d of r)f=d?.root?.call(u,f)||f;return f}function QA(e){return e.map(t=>{const n=[];let r="",o=0;return t.forEach((s,i)=>{const l=!(s.fontStyle&&s.fontStyle&qt.Underline);l&&s.content.match(/^\s+$/)&&t[i+1]?(o||(o=s.offset),r+=s.content):r?(l?n.push({...s,offset:o,content:r+s.content}):n.push({content:r,offset:o},s),o=0,r=""):n.push(s)}),n})}function eT(e){return e.map(t=>t.flatMap(n=>{if(n.content.match(/^\s+$/))return n;const r=n.content.match(/^(\s*)(.*?)(\s*)$/);if(!r)return n;const[,o,s,i]=r;if(!o&&!i)return n;const a=[{...n,offset:n.offset+o.length,content:s}];return o&&a.unshift({content:o,offset:n.offset}),i&&a.push({content:i,offset:n.offset+o.length+s.length}),a}))}const tT=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class Xs{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}Xs.prototype.property={};Xs.prototype.normal={};Xs.prototype.space=null;function nv(e,t){const n={},r={};let o=-1;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal);return new Xs(n,r,t)}function Lc(e){return e.toLowerCase()}class Vt{constructor(t,n){this.property=t,this.attribute=n}}Vt.prototype.space=null;Vt.prototype.boolean=!1;Vt.prototype.booleanish=!1;Vt.prototype.overloadedBoolean=!1;Vt.prototype.number=!1;Vt.prototype.commaSeparated=!1;Vt.prototype.spaceSeparated=!1;Vt.prototype.commaOrSpaceSeparated=!1;Vt.prototype.mustUseProperty=!1;Vt.prototype.defined=!1;let nT=0;const Ee=Lr(),Je=Lr(),rv=Lr(),G=Lr(),He=Lr(),Zr=Lr(),$t=Lr();function Lr(){return 2**++nT}var Dc=Object.freeze({__proto__:null,boolean:Ee,booleanish:Je,commaOrSpaceSeparated:$t,commaSeparated:Zr,number:G,overloadedBoolean:rv,spaceSeparated:He});const Il=Object.keys(Dc);class Ju extends Vt{constructor(t,n,r,o){let s=-1;if(super(t,n),mh(this,"space",o),typeof r=="number")for(;++s<Il.length;){const i=Il[s];mh(this,Il[s],(r&Dc[i])===Dc[i])}}}Ju.prototype.defined=!0;function mh(e,t,n){n&&(e[t]=n)}const rT={}.hasOwnProperty;function xo(e){const t={},n={};let r;for(r in e.properties)if(rT.call(e.properties,r)){const o=e.properties[r],s=new Ju(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[Lc(r)]=r,n[Lc(s.attribute)]=r}return new Xs(t,n,e.space)}const ov=xo({space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),sv=xo({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function iv(e,t){return t in e?e[t]:t}function av(e,t){return iv(e,t.toLowerCase())}const lv=xo({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:av,properties:{xmlns:null,xmlnsXLink:null}}),cv=xo({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:Je,ariaAutoComplete:null,ariaBusy:Je,ariaChecked:Je,ariaColCount:G,ariaColIndex:G,ariaColSpan:G,ariaControls:He,ariaCurrent:null,ariaDescribedBy:He,ariaDetails:null,ariaDisabled:Je,ariaDropEffect:He,ariaErrorMessage:null,ariaExpanded:Je,ariaFlowTo:He,ariaGrabbed:Je,ariaHasPopup:null,ariaHidden:Je,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:He,ariaLevel:G,ariaLive:null,ariaModal:Je,ariaMultiLine:Je,ariaMultiSelectable:Je,ariaOrientation:null,ariaOwns:He,ariaPlaceholder:null,ariaPosInSet:G,ariaPressed:Je,ariaReadOnly:Je,ariaRelevant:null,ariaRequired:Je,ariaRoleDescription:He,ariaRowCount:G,ariaRowIndex:G,ariaRowSpan:G,ariaSelected:Je,ariaSetSize:G,ariaSort:null,ariaValueMax:G,ariaValueMin:G,ariaValueNow:G,ariaValueText:null,role:null}}),oT=xo({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:av,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Zr,acceptCharset:He,accessKey:He,action:null,allow:null,allowFullScreen:Ee,allowPaymentRequest:Ee,allowUserMedia:Ee,alt:null,as:null,async:Ee,autoCapitalize:null,autoComplete:He,autoFocus:Ee,autoPlay:Ee,blocking:He,capture:null,charSet:null,checked:Ee,cite:null,className:He,cols:G,colSpan:null,content:null,contentEditable:Je,controls:Ee,controlsList:He,coords:G|Zr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ee,defer:Ee,dir:null,dirName:null,disabled:Ee,download:rv,draggable:Je,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ee,formTarget:null,headers:He,height:G,hidden:Ee,high:G,href:null,hrefLang:null,htmlFor:He,httpEquiv:He,id:null,imageSizes:null,imageSrcSet:null,inert:Ee,inputMode:null,integrity:null,is:null,isMap:Ee,itemId:null,itemProp:He,itemRef:He,itemScope:Ee,itemType:He,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ee,low:G,manifest:null,max:null,maxLength:G,media:null,method:null,min:null,minLength:G,multiple:Ee,muted:Ee,name:null,nonce:null,noModule:Ee,noValidate:Ee,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ee,optimum:G,pattern:null,ping:He,placeholder:null,playsInline:Ee,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ee,referrerPolicy:null,rel:He,required:Ee,reversed:Ee,rows:G,rowSpan:G,sandbox:He,scope:null,scoped:Ee,seamless:Ee,selected:Ee,shadowRootDelegatesFocus:Ee,shadowRootMode:null,shape:null,size:G,sizes:null,slot:null,span:G,spellCheck:Je,src:null,srcDoc:null,srcLang:null,srcSet:null,start:G,step:null,style:null,tabIndex:G,target:null,title:null,translate:null,type:null,typeMustMatch:Ee,useMap:null,value:Je,width:G,wrap:null,align:null,aLink:null,archive:He,axis:null,background:null,bgColor:null,border:G,borderColor:null,bottomMargin:G,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ee,declare:Ee,event:null,face:null,frame:null,frameBorder:null,hSpace:G,leftMargin:G,link:null,longDesc:null,lowSrc:null,marginHeight:G,marginWidth:G,noResize:Ee,noHref:Ee,noShade:Ee,noWrap:Ee,object:null,profile:null,prompt:null,rev:null,rightMargin:G,rules:null,scheme:null,scrolling:Je,standby:null,summary:null,text:null,topMargin:G,valueType:null,version:null,vAlign:null,vLink:null,vSpace:G,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ee,disableRemotePlayback:Ee,prefix:null,property:null,results:G,security:null,unselectable:null}}),sT=xo({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:iv,properties:{about:$t,accentHeight:G,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:G,amplitude:G,arabicForm:null,ascent:G,attributeName:null,attributeType:null,azimuth:G,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:G,by:null,calcMode:null,capHeight:G,className:He,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:G,diffuseConstant:G,direction:null,display:null,dur:null,divisor:G,dominantBaseline:null,download:Ee,dx:null,dy:null,edgeMode:null,editable:null,elevation:G,enableBackground:null,end:null,event:null,exponent:G,externalResourcesRequired:null,fill:null,fillOpacity:G,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Zr,g2:Zr,glyphName:Zr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:G,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:G,horizOriginX:G,horizOriginY:G,id:null,ideographic:G,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:G,k:G,k1:G,k2:G,k3:G,k4:G,kernelMatrix:$t,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:G,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:G,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:G,overlineThickness:G,paintOrder:null,panose1:null,path:null,pathLength:G,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:He,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:G,pointsAtY:G,pointsAtZ:G,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:$t,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:$t,rev:$t,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:$t,requiredFeatures:$t,requiredFonts:$t,requiredFormats:$t,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:G,specularExponent:G,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:G,strikethroughThickness:G,string:null,stroke:null,strokeDashArray:$t,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:G,strokeOpacity:G,strokeWidth:null,style:null,surfaceScale:G,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:$t,tabIndex:G,tableValues:null,target:null,targetX:G,targetY:G,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:$t,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:G,underlineThickness:G,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:G,values:null,vAlphabetic:G,vMathematical:G,vectorEffect:null,vHanging:G,vIdeographic:G,version:null,vertAdvY:G,vertOriginX:G,vertOriginY:G,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:G,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),iT=/^data[-\w.:]+$/i,gh=/-[a-z]/g,aT=/[A-Z]/g;function lT(e,t){const n=Lc(t);let r=t,o=Vt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&iT.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(gh,uT);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!gh.test(s)){let i=s.replace(aT,cT);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}o=Ju}return new o(r,t)}function cT(e){return"-"+e.toLowerCase()}function uT(e){return e.charAt(1).toUpperCase()}const fT=nv([sv,ov,lv,cv,oT],"html"),uv=nv([sv,ov,lv,cv,sT],"svg"),vh={}.hasOwnProperty;function dT(e,t){const n=t||{};function r(o,...s){let i=r.invalid;const a=r.handlers;if(o&&vh.call(o,e)){const l=String(o[e]);i=vh.call(a,l)?a[l]:r.unknown}if(i)return i.call(this,o,...s)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}function hT(e,t){if(e=e.replace(t.subset?pT(t.subset):/["&'<>`]/g,r),t.subset||t.escapeOnly)return e;return e.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,n).replace(/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,r);function n(o,s,i){return t.format((o.charCodeAt(0)-55296)*1024+o.charCodeAt(1)-56320+65536,i.charCodeAt(s+2),t)}function r(o,s,i){return t.format(o.charCodeAt(0),i.charCodeAt(s+1),t)}}function pT(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function mT(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function gT(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const vT=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],Ll={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},yT=["cent","copy","divide","gt","lt","not","para","times"],fv={}.hasOwnProperty,Mc={};let _i;for(_i in Ll)fv.call(Ll,_i)&&(Mc[Ll[_i]]=_i);function _T(e,t,n,r){const o=String.fromCharCode(e);if(fv.call(Mc,o)){const s=Mc[o],i="&"+s;return n&&vT.includes(s)&&!yT.includes(s)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?i:i+";"}return""}function bT(e,t,n){let r=mT(e,t,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=_T(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const s=gT(e,t,n.omitOptionalSemicolons);s.length<r.length&&(r=s)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function Qr(e,t){return hT(e,Object.assign({format:bT},t))}const wT=/^>|^->|<!--|-->|--!>|<!-$/g,ET=[">"],ST=["<",">"];function xT(e,t,n,r){return r.settings.bogusComments?"<?"+Qr(e.value,Object.assign({},r.settings.characterReferences,{subset:ET}))+">":"<!--"+e.value.replace(wT,o)+"-->";function o(s){return Qr(s,Object.assign({},r.settings.characterReferences,{subset:ST}))}}function CT(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function yh(e,t){const n=String(e);if(typeof t!="string")throw new TypeError("Expected character");let r=0,o=n.indexOf(t);for(;o!==-1;)r++,o=n.indexOf(t,o+t.length);return r}function AT(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function TT(e){return e.join(" ").trim()}const RT=/[ \t\n\f\r]/g;function Zu(e){return typeof e=="object"?e.type==="text"?_h(e.value):!1:_h(e)}function _h(e){return e.replace(RT,"")===""}const ot=hv(1),dv=hv(-1),PT=[];function hv(e){return t;function t(n,r,o){const s=n?n.children:PT;let i=(r||0)+e,a=s[i];if(!o)for(;a&&Zu(a);)i+=e,a=s[i];return a}}const $T={}.hasOwnProperty;function pv(e){return t;function t(n,r,o){return $T.call(e,n.tagName)&&e[n.tagName](n,r,o)}}const Qu=pv({body:OT,caption:Dl,colgroup:Dl,dd:DT,dt:LT,head:Dl,html:kT,li:IT,optgroup:MT,option:FT,p:NT,rp:bh,rt:bh,tbody:jT,td:wh,tfoot:zT,th:wh,thead:BT,tr:HT});function Dl(e,t,n){const r=ot(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&Zu(r.value.charAt(0)))}function kT(e,t,n){const r=ot(n,t);return!r||r.type!=="comment"}function OT(e,t,n){const r=ot(n,t);return!r||r.type!=="comment"}function NT(e,t,n){const r=ot(n,t);return r?r.type==="element"&&(r.tagName==="address"||r.tagName==="article"||r.tagName==="aside"||r.tagName==="blockquote"||r.tagName==="details"||r.tagName==="div"||r.tagName==="dl"||r.tagName==="fieldset"||r.tagName==="figcaption"||r.tagName==="figure"||r.tagName==="footer"||r.tagName==="form"||r.tagName==="h1"||r.tagName==="h2"||r.tagName==="h3"||r.tagName==="h4"||r.tagName==="h5"||r.tagName==="h6"||r.tagName==="header"||r.tagName==="hgroup"||r.tagName==="hr"||r.tagName==="main"||r.tagName==="menu"||r.tagName==="nav"||r.tagName==="ol"||r.tagName==="p"||r.tagName==="pre"||r.tagName==="section"||r.tagName==="table"||r.tagName==="ul"):!n||!(n.type==="element"&&(n.tagName==="a"||n.tagName==="audio"||n.tagName==="del"||n.tagName==="ins"||n.tagName==="map"||n.tagName==="noscript"||n.tagName==="video"))}function IT(e,t,n){const r=ot(n,t);return!r||r.type==="element"&&r.tagName==="li"}function LT(e,t,n){const r=ot(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function DT(e,t,n){const r=ot(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function bh(e,t,n){const r=ot(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function MT(e,t,n){const r=ot(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function FT(e,t,n){const r=ot(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function BT(e,t,n){const r=ot(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function jT(e,t,n){const r=ot(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function zT(e,t,n){return!ot(n,t)}function HT(e,t,n){const r=ot(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function wh(e,t,n){const r=ot(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const UT=pv({body:WT,colgroup:KT,head:GT,html:VT,tbody:qT});function VT(e){const t=ot(e,-1);return!t||t.type!=="comment"}function GT(e){const t=e.children,n=[];let r=-1;for(;++r<t.length;){const o=t[r];if(o.type==="element"&&(o.tagName==="title"||o.tagName==="base")){if(n.includes(o.tagName))return!1;n.push(o.tagName)}}return t.length>0}function WT(e){const t=ot(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&Zu(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function KT(e,t,n){const r=dv(n,t),o=ot(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&Qu(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function qT(e,t,n){const r=dv(n,t),o=ot(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&Qu(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const bi={name:[[`
|
|
33
|
-
\f\r &/=>`.split(""),`
|
|
34
|
-
\f\r "&'/=>\``.split("")],[`\0
|
|
35
|
-
\f\r "&'/<=>`.split(""),`\0
|
|
36
|
-
\f\r "&'/<=>\``.split("")]],unquoted:[[`
|
|
37
|
-
\f\r &>`.split(""),`\0
|
|
38
|
-
\f\r "&'<=>\``.split("")],[`\0
|
|
39
|
-
\f\r "&'<=>\``.split(""),`\0
|
|
40
|
-
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function YT(e,t,n,r){const o=r.schema,s=o.space==="svg"?!1:r.settings.omitOptionalTags;let i=o.space==="svg"?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const a=[];let l;o.space==="html"&&e.tagName==="svg"&&(r.schema=uv);const c=XT(r,e.properties),u=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=o,u&&(i=!1),(c||!s||!UT(e,t,n))&&(a.push("<",e.tagName,c?" "+c:""),i&&(o.space==="svg"||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!r.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(u),!i&&(!s||!Qu(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}function XT(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const s=JT(e,o,t[o]);s&&n.push(s)}}for(;++r<n.length;){const s=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&s!=='"'&&s!=="'"&&(n[r]+=" ")}return n.join("")}function JT(e,t,n){const r=lT(e.schema,t),o=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,s=e.settings.allowDangerousCharacters?0:1;let i=e.quote,a;if(r.overloadedBoolean&&(n===r.attribute||n==="")?n=!0:(r.boolean||r.overloadedBoolean&&typeof n!="string")&&(n=!!n),n==null||n===!1||typeof n=="number"&&Number.isNaN(n))return"";const l=Qr(r.attribute,Object.assign({},e.settings.characterReferences,{subset:bi.name[o][s]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?AT:TT)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(a=Qr(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:bi.unquoted[o][s]}))),a!==n&&(e.settings.quoteSmart&&yh(n,i)>yh(n,e.alternative)&&(i=e.alternative),a=i+Qr(n,Object.assign({},e.settings.characterReferences,{subset:(i==="'"?bi.single:bi.double)[o][s],attribute:!0}))+i),l+(a&&"="+a))}const ZT=["<","&"];function mv(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:Qr(e.value,Object.assign({},r.settings.characterReferences,{subset:ZT}))}function QT(e,t,n,r){return r.settings.allowDangerousHtml?e.value:mv(e,t,n,r)}function eR(e,t,n,r){return r.all(e)}const tR=dT("type",{invalid:nR,unknown:rR,handlers:{comment:xT,doctype:CT,element:YT,raw:QT,root:eR,text:mv}});function nR(e){throw new Error("Expected node, not `"+e+"`")}function rR(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const oR={},sR={},iR=[];function aR(e,t){const n=t||oR,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:lR,all:cR,settings:{omitOptionalTags:n.omitOptionalTags||!1,allowParseErrors:n.allowParseErrors||!1,allowDangerousCharacters:n.allowDangerousCharacters||!1,quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,tightSelfClosing:n.tightSelfClosing||!1,collapseEmptyAttributes:n.collapseEmptyAttributes||!1,allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||tT,characterReferences:n.characterReferences||sR,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?uv:fT,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function lR(e,t,n){return tR(e,t,n,this)}function cR(e){const t=[],n=e&&e.children||iR;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function uR(e,t,n){const r={meta:{},options:n,codeToHast:(s,i)=>ga(e,s,i),codeToTokens:(s,i)=>pa(e,s,i)};let o=aR(ga(e,t,n,r));for(const s of ma(n))o=s.postprocess?.call(r,o,n)||o;return o}async function fR(e){let t,n;const r={};function o(d){n=d,r.HEAPU8=new Uint8Array(d),r.HEAPU32=new Uint32Array(d)}function s(){return typeof performance<"u"?performance.now():Date.now()}function i(d,h,p){r.HEAPU8.copyWithin(d,h,h+p)}function a(){return 2147483648}function l(d){try{return t.grow(d-n.byteLength+65535>>>16),o(t.buffer),1}catch{}}function c(d){const h=r.HEAPU8.length;d=d>>>0;const p=a();if(d>p)return!1;const g=(m,v)=>m+(v-m%v)%v;for(let m=1;m<=4;m*=2){let v=h*(1+.2/m);v=Math.min(v,d+100663296);const _=Math.min(p,g(Math.max(d,v),65536));if(l(_))return!0}return!1}const u={emscripten_get_now:s,emscripten_memcpy_big:i,emscripten_resize_heap:c,fd_write:()=>0};async function f(){const h=await e({env:u,wasi_snapshot_preview1:u});t=h.memory,o(t.buffer),Object.assign(r,h)}return await f(),r}let it=null,dR=!1;function hR(e){throw new vt(e.UTF8ToString(e.getLastOnigError()))}class Qa{static _utf8ByteLength(t){let n=0;for(let r=0,o=t.length;r<o;r++){const s=t.charCodeAt(r);let i=s,a=!1;if(s>=55296&&s<=56319&&r+1<o){const l=t.charCodeAt(r+1);l>=56320&&l<=57343&&(i=(s-55296<<10)+65536|l-56320,a=!0)}i<=127?n+=1:i<=2047?n+=2:i<=65535?n+=3:n+=4,a&&r++}return n}utf16Length;utf8Length;utf16Value;utf8Value;utf16OffsetToUtf8;utf8OffsetToUtf16;constructor(t){const n=t.length,r=Qa._utf8ByteLength(t),o=r!==n,s=o?new Uint32Array(n+1):null;o&&(s[n]=r);const i=o?new Uint32Array(r+1):null;o&&(i[r]=n);const a=new Uint8Array(r);let l=0;for(let c=0;c<n;c++){const u=t.charCodeAt(c);let f=u,d=!1;if(u>=55296&&u<=56319&&c+1<n){const h=t.charCodeAt(c+1);h>=56320&&h<=57343&&(f=(u-55296<<10)+65536|h-56320,d=!0)}o&&(s[c]=l,d&&(s[c+1]=l),f<=127?i[l+0]=c:f<=2047?(i[l+0]=c,i[l+1]=c):f<=65535?(i[l+0]=c,i[l+1]=c,i[l+2]=c):(i[l+0]=c,i[l+1]=c,i[l+2]=c,i[l+3]=c)),f<=127?a[l++]=f:f<=2047?(a[l++]=192|(f&1984)>>>6,a[l++]=128|(f&63)>>>0):f<=65535?(a[l++]=224|(f&61440)>>>12,a[l++]=128|(f&4032)>>>6,a[l++]=128|(f&63)>>>0):(a[l++]=240|(f&1835008)>>>18,a[l++]=128|(f&258048)>>>12,a[l++]=128|(f&4032)>>>6,a[l++]=128|(f&63)>>>0),d&&c++}this.utf16Length=n,this.utf8Length=r,this.utf16Value=t,this.utf8Value=a,this.utf16OffsetToUtf8=s,this.utf8OffsetToUtf16=i}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}class Lt{static LAST_ID=0;static _sharedPtr=0;static _sharedPtrInUse=!1;id=++Lt.LAST_ID;_onigBinding;content;utf16Length;utf8Length;utf16OffsetToUtf8;utf8OffsetToUtf16;ptr;constructor(t){if(!it)throw new vt("Must invoke loadWasm first.");this._onigBinding=it,this.content=t;const n=new Qa(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Lt._sharedPtrInUse?(Lt._sharedPtr||(Lt._sharedPtr=it.omalloc(1e4)),Lt._sharedPtrInUse=!0,it.HEAPU8.set(n.utf8Value,Lt._sharedPtr),this.ptr=Lt._sharedPtr):this.ptr=n.createString(it)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===Lt._sharedPtr?Lt._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}}class pR{_onigBinding;_ptr;constructor(t){if(!it)throw new vt("Must invoke loadWasm first.");const n=[],r=[];for(let a=0,l=t.length;a<l;a++){const c=new Qa(t[a]);n[a]=c.createString(it),r[a]=c.utf8Length}const o=it.omalloc(4*t.length);it.HEAPU32.set(n,o/4);const s=it.omalloc(4*t.length);it.HEAPU32.set(r,s/4);const i=it.createOnigScanner(o,s,t.length);for(let a=0,l=t.length;a<l;a++)it.ofree(n[a]);it.ofree(s),it.ofree(o),i===0&&hR(it),this._onigBinding=it,this._ptr=i}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let o=dR,s=0;if(typeof r=="number"?(r&8&&(o=!0),s=r):typeof r=="boolean"&&(o=r),typeof t=="string"){t=new Lt(t);const i=this._findNextMatchSync(t,n,o,s);return t.dispose(),i}return this._findNextMatchSync(t,n,o,s)}_findNextMatchSync(t,n,r,o){const s=this._onigBinding;let i;if(r?i=s.findNextOnigScannerMatchDbg(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o):i=s.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o),i===0)return null;const a=s.HEAPU32;let l=i/4;const c=a[l++],u=a[l++],f=[];for(let d=0;d<u;d++){const h=t.convertUtf8OffsetToUtf16(a[l++]),p=t.convertUtf8OffsetToUtf16(a[l++]);f[d]={start:h,end:p,length:p-h}}return{index:c,captureIndices:f}}}function mR(e){return typeof e.instantiator=="function"}function gR(e){return typeof e.default=="function"}function vR(e){return typeof e.data<"u"}function yR(e){return typeof Response<"u"&&e instanceof Response}function _R(e){return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&Buffer.isBuffer?.(e)||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}let wi;function bR(e){if(wi)return wi;async function t(){it=await fR(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),mR(r)?r=await r.instantiator(n):gR(r)?r=await r.default(n):(vR(r)&&(r=r.data),yR(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await wR(r)(n):r=await ER(r)(n):_R(r)?r=await Ml(r)(n):r instanceof WebAssembly.Module?r=await Ml(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await Ml(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return wi=t(),wi}function Ml(e){return t=>WebAssembly.instantiate(e,t)}function wR(e){return t=>WebAssembly.instantiateStreaming(e,t)}function ER(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function SR(e){return new Lt(e)}function xR(e){return new pR(e)}const Eh={light:"#333333",dark:"#bbbbbb"},Sh={light:"#fffffe",dark:"#1e1e1e"},xh="__shiki_resolved";function gv(e){if(e?.[xh])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||="dark",t.colorReplacements={...t.colorReplacements},t.settings||=[];let{bg:n,fg:r}=t;if(!n||!r){const a=t.settings?t.settings.find(l=>!l.name&&!l.scope):void 0;a?.settings?.foreground&&(r=a.settings.foreground),a?.settings?.background&&(n=a.settings.background),!r&&t?.colors?.["editor.foreground"]&&(r=t.colors["editor.foreground"]),!n&&t?.colors?.["editor.background"]&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?Eh.light:Eh.dark),n||(n=t.type==="light"?Sh.light:Sh.dark),t.fg=r,t.bg=n}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let o=0;const s=new Map;function i(a){if(s.has(a))return s.get(a);o+=1;const l=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return t.colorReplacements?.[`#${l}`]?i(a):(s.set(a,l),l)}t.settings=t.settings.map(a=>{const l=a.settings?.foreground&&!a.settings.foreground.startsWith("#"),c=a.settings?.background&&!a.settings.background.startsWith("#");if(!l&&!c)return a;const u={...a,settings:{...a.settings}};if(l){const f=i(a.settings.foreground);t.colorReplacements[f]=a.settings.foreground,u.settings.foreground=f}if(c){const f=i(a.settings.background);t.colorReplacements[f]=a.settings.background,u.settings.background=f}return u});for(const a of Object.keys(t.colors||{}))if((a==="editor.foreground"||a==="editor.background"||a.startsWith("terminal.ansi"))&&!t.colors[a]?.startsWith("#")){const l=i(t.colors[a]);t.colorReplacements[l]=t.colors[a],t.colors[a]=l}return Object.defineProperty(t,xh,{enumerable:!1,writable:!1,value:!0}),t}class CR extends $A{_resolver;_themes;_langs;_alias;_resolvedThemes={};_resolvedGrammars={};_langMap={};_langGraph=new Map;_textmateThemeCache=new WeakMap;_loadedThemesCache=null;_loadedLanguagesCache=null;constructor(t,n,r,o={}){super(t),this._resolver=t,this._themes=n,this._langs=r,this._alias=o,n.forEach(s=>this.loadTheme(s)),r.forEach(s=>this.loadLanguage(s))}getTheme(t){return typeof t=="string"?this._resolvedThemes[t]:this.loadTheme(t)}loadTheme(t){const n=gv(t);return n.name&&(this._resolvedThemes[n.name]=n,this._loadedThemesCache=null),n}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=Object.keys(this._resolvedThemes)),this._loadedThemesCache}setTheme(t){let n=this._textmateThemeCache.get(t);n||(n=fa.createFromRawTheme(t),this._textmateThemeCache.set(t,n)),this._syncRegistry.setTheme(n)}getGrammar(t){if(this._alias[t]){const n=new Set([t]);for(;this._alias[t];){if(t=this._alias[t],n.has(t))throw new vt(`Circular alias \`${Array.from(n).join(" -> ")} -> ${t}\``);n.add(t)}}return this._resolvedGrammars[t]}async loadLanguage(t){if(this.getGrammar(t.name))return;const n=new Set(Object.values(this._langMap).filter(s=>s.embeddedLangsLazy?.includes(t.name)));this._resolver.addLanguage(t);const r={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const o=await this.loadGrammarWithConfiguration(t.scopeName,1,r);if(this._resolvedGrammars[t.name]=o,t.aliases&&t.aliases.forEach(s=>{this._alias[s]=t.name}),this._loadedLanguagesCache=null,n.size)for(const s of n)delete this._resolvedGrammars[s.name],this._loadedLanguagesCache=null,this._syncRegistry?._injectionGrammars?.delete(s.scopeName),this._syncRegistry?._grammars?.delete(s.scopeName),await this.loadLanguage(this._langMap[s.name])}async init(){this._themes.map(t=>this.loadTheme(t)),await this.loadLanguages(this._langs)}async loadLanguages(t){for(const o of t)this.resolveEmbeddedLanguages(o);const n=Array.from(this._langGraph.entries()),r=n.filter(([o,s])=>!s);if(r.length){const o=n.filter(([s,i])=>i&&i.embeddedLangs?.some(a=>r.map(([l])=>l).includes(a))).filter(s=>!r.includes(s));throw new vt(`Missing languages ${r.map(([s])=>`\`${s}\``).join(", ")}, required by ${o.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[o,s]of n)this._resolver.addLanguage(s);for(const[o,s]of n)await this.loadLanguage(s)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=Object.keys({...this._resolvedGrammars,...this._alias})),this._loadedLanguagesCache}resolveEmbeddedLanguages(t){if(this._langMap[t.name]=t,this._langGraph.set(t.name,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap[n])}}class AR{_langs=new Map;_scopeToLang=new Map;_injections=new Map;_onigLibPromise;constructor(t,n){this._onigLibPromise=t,n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLibPromise}getLangRegistration(t){return this._langs.get(t)}async loadGrammar(t){return this._scopeToLang.get(t)}addLanguage(t){this._langs.set(t.name,t),t.aliases&&t.aliases.forEach(n=>{this._langs.set(n,t)}),this._scopeToLang.set(t.scopeName,t),t.injectTo&&t.injectTo.forEach(n=>{this._injections.get(n)||this._injections.set(n,[]),this._injections.get(n).push(t.scopeName)})}getInjections(t){const n=t.split(".");let r=[];for(let o=1;o<=n.length;o++){const s=n.slice(0,o).join(".");r=[...r,...this._injections.get(s)||[]]}return r}}let TR;async function RR(e={}){async function t(m){return Promise.resolve(typeof m=="function"?m():m).then(v=>v.default||v)}async function n(m){return Array.from(new Set((await Promise.all(m.filter(v=>!OA(v)).map(async v=>await t(v).then(_=>Array.isArray(_)?_:[_])))).flat()))}const r=e.loadWasm||TR,[o,s]=await Promise.all([Promise.all((e.themes||[]).map(t)).then(m=>m.map(gv)),n(e.langs||[]),r?bR(r):void 0]),i=new AR(Promise.resolve({createOnigScanner(m){return xR(m)},createOnigString(m){return SR(m)}}),s),a=new CR(i,o,s,e.langAlias);await a.init();let l;function c(m){const v=a.getGrammar(typeof m=="string"?m:m.name);if(!v)throw new vt(`Language \`${m}\` not found, you may need to load it first`);return v}function u(m){if(m==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};const v=a.getTheme(m);if(!v)throw new vt(`Theme \`${m}\` not found, you may need to load it first`);return v}function f(m){const v=u(m);l!==m&&(a.setTheme(v),l=m);const _=a.getColorMap();return{theme:v,colorMap:_}}function d(){return a.getLoadedThemes()}function h(){return a.getLoadedLanguages()}async function p(...m){await a.loadLanguages(await n(m))}async function g(...m){await Promise.all(m.map(async v=>NA(v)?null:a.loadTheme(await t(v))))}return{setTheme:f,getTheme:u,getLanguage:c,getLoadedThemes:d,getLoadedLanguages:h,loadLanguage:p,loadTheme:g}}async function PR(e={}){const t=await RR(e);return{codeToTokensBase:(n,r)=>Xu(t,n,r),codeToTokensWithThemes:(n,r)=>tv(t,n,r),codeToTokens:(n,r)=>pa(t,n,r),codeToHast:(n,r)=>ga(t,n,r),codeToHtml:(n,r)=>uR(t,n,r),...t,getInternalContext:()=>t}}const Ei=Jt();let Ch=null;function $R(e,t="text"){!Ch&&!Ei.value&&(Ch=PR({themes:[ge(()=>import("./V_y36BGi.js"),[],import.meta.url),ge(()=>import("./BGq4KZyx.js"),[],import.meta.url)],langs:[ge(()=>import("./CupVZNk8.js"),[],import.meta.url),ge(()=>import("./C5gCGmDW.js"),[],import.meta.url),ge(()=>import("./CbYhyuC0.js"),[],import.meta.url),ge(()=>import("./Dch3xQiY.js"),[],import.meta.url),ge(()=>import("./DC8MraHL.js"),[],import.meta.url),ge(()=>import("./DDnrbwm6.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),ge(()=>import("./CQ4DIexe.js"),__vite__mapDeps([7,0,1,2,3,4,5,6]),import.meta.url),ge(()=>import("./CbViG2Xw.js"),__vite__mapDeps([1,2,3]),import.meta.url),ge(()=>import("./DvyTQcux.js"),[],import.meta.url),ge(()=>import("./BZfs-ost.js"),[],import.meta.url)],loadWasm:ge(()=>import("./CsTmP73Z.js"),[],import.meta.url)}).then(r=>{Ei.value=r}));const n=Ei.value?.getLoadedLanguages().includes(t);return n?{code:Ei.value.codeToHtml(e,{lang:t,themes:{dark:"vitesse-dark",light:"vitesse-light"}}),supported:!0}:{code:e,supported:n}}const kR=6e4;function vv(e){return e}const OR=vv,{clearTimeout:NR,setTimeout:IR}=globalThis,LR=Math.random.bind(Math);function DR(e,t){const{post:n,on:r,eventNames:o=[],serialize:s=vv,deserialize:i=OR,resolver:a,timeout:l=kR}=t,c=new Map;let u;const f=new Proxy({},{get(d,h){if(h==="$functions")return e;if(h==="then"&&!o.includes("then")&&!("then"in e))return;const p=(...m)=>{n(s({m:h,a:m,t:"q"}))};if(o.includes(h))return p.asEvent=p,p;const g=async(...m)=>(await u,new Promise((v,_)=>{const y=FR();let b;l>=0&&(b=IR(()=>{try{throw t.onTimeoutError?.(h,m),new Error(`[birpc] timeout on calling "${h}"`)}catch(E){_(E)}c.delete(y)},l),typeof b=="object"&&(b=b.unref?.())),c.set(y,{resolve:v,reject:_,timeoutId:b}),n(s({m:h,a:m,i:y,t:"q"}))}));return g.asEvent=p,g}});return u=r(async(d,...h)=>{const p=i(d);if(p.t==="q"){const{m:g,a:m}=p;let v,_;const y=a?a(g,e[g]):e[g];if(!y)_=new Error(`[birpc] function "${g}" not found`);else try{v=await y.apply(f,m)}catch(b){_=b}p.i&&(_&&t.onError&&t.onError(_,g,m),n(s({t:"s",i:p.i,r:v,e:_}),...h))}else{const{i:g,r:m,e:v}=p,_=c.get(g);_&&(NR(_.timeoutId),v?_.reject(v):_.resolve(m)),c.delete(g)}}),f}const MR="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function FR(e=21){let t="",n=e;for(;n--;)t+=MR[LR()*64|0];return t}const{parse:BR,stringify:jR}=JSON,{keys:zR}=Object,Ds=String,yv="string",Ah={},va="object",_v=(e,t)=>t,HR=e=>e instanceof Ds?Ds(e):e,UR=(e,t)=>typeof t===yv?new Ds(t):t,bv=(e,t,n,r)=>{const o=[];for(let s=zR(n),{length:i}=s,a=0;a<i;a++){const l=s[a],c=n[l];if(c instanceof Ds){const u=e[c];typeof u===va&&!t.has(u)?(t.add(u),n[l]=Ah,o.push({k:l,a:[e,t,u,r]})):n[l]=r.call(n,l,u)}else n[l]!==Ah&&(n[l]=r.call(n,l,c))}for(let{length:s}=o,i=0;i<s;i++){const{k:a,a:l}=o[i];n[a]=r.call(n,a,bv.apply(null,l))}return n},Th=(e,t,n)=>{const r=Ds(t.push(n)-1);return e.set(n,r),r},VR=(e,t)=>{const n=BR(e,UR).map(HR),r=n[0],o=t||_v,s=typeof r===va&&r?bv(n,new Set,r,o):r;return o.call({"":s},"",s)},GR=(e,t,n)=>{const r=t&&typeof t===va?(u,f)=>u===""||-1<t.indexOf(u)?f:void 0:t||_v,o=new Map,s=[],i=[];let a=+Th(o,s,r.call({"":e},"",e)),l=!a;for(;a<s.length;)l=!0,i[a]=jR(s[a++],c,n);return"["+i.join(",")+"]";function c(u,f){if(l)return l=!l,f;const d=r.call(this,u,f);switch(typeof d){case va:if(d===null)return d;case yv:return o.get(d)||Th(o,s,d)}return d}};async function WR(e="/",t=!0){try{const n=`${e}@vite/client`,r=await fetch(n);if((await r.text()).startsWith("<")||!r.headers.get("content-type")?.includes("javascript"))throw new Error("Not javascript");return await ge(()=>import(n),[],import.meta.url)}catch{t&&console.error(`[vite-hot-client] Failed to import "${e}@vite/client"`)}}function KR(e=window.location.pathname){return e.split("/").map((t,n,r)=>r.slice(0,n+1).join("/")||"/")}async function qR(e="/___",t){t=t??KR();for(const n of t){const o=(await WR(n,!1))?.createHotContext(e);if(o)return o}console.error("[vite-hot-client] Failed to import vite client, tried with:",t)}const wv="nuxt:devtools:rpc",Hr=U(!1),V6=U(),YR=hC(Hr,2e3),XR=JR();let Ev=()=>{};const Sv={},xv=new Map,we=DR(Sv,{post:async e=>{(await XR).send(wv,e)},on:e=>{Ev=e},serialize:GR,deserialize:VR,resolver(e,t){if(t)return t;if(!e.includes(":"))return;const[n,r]=e.split(":");return xv.get(n)?.[r]},onError(e,t){console.error(`[nuxt-devtools] RPC error on executing "${t}":`,e)},timeout:12e4});async function JR(){let e=window.parent?.__NUXT__?.config?.app?.baseURL??"/";const t=window.parent?.__NUXT__?.config?.app.buildAssetsDir.replace(/^\/|\/$/g,"")??"_nuxt";e&&!e.endsWith("/")&&(e+="/");const n=window.location.href.replace(/\/__nuxt_devtools__\/client\/.*$/,"/"),r=await qR(void 0,Array.from(new Set([`${e}${t}/`,`${e}_nuxt/`,e,`${n}${t}/`,`${n}_nuxt/`,n])));if(!r)throw Hr.value=!0,new Error("Unable to connect to devtools");return r.on(wv,o=>{Hr.value=!1,Ev(o)}),Hr.value=!0,r.on("vite:ws:connect",()=>{Hr.value=!1}),r.on("vite:ws:disconnect",()=>{Hr.value=!0}),r}function at(){return bo("devtools-client")}function G6(){const e=at();return se(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function Cv(){const e=at();return se(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function W6(){const e=at();return se(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}function ZR(){return bo("devtools-component-inspector-data")}const Av=U(!1);setTimeout(()=>{Av.value=!0},2e3);const QR=se(()=>Av.value&&!at().value);function e2(){const e=at(),t=M0();return se(()=>({host:e.value,devtools:{rpc:we,colorMode:t.value,renderCodeHighlight(n,r){return $R(n,r)},renderMarkdown(n){return KC(n)},extendClientRpc(n,r){return xv.set(n,r),new Proxy({},{get(o,s){if(typeof s=="string")return we[`${n}:${s}`]}})}}}))}const t2=/^[A-Za-z]:\//;function n2(e=""){return e&&e.replace(/\\/g,"/").replace(t2,t=>t.toUpperCase())}const r2=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,Rh=/^\/([A-Za-z]:)?$/;function o2(){return typeof process<"u"&&typeof process.cwd=="function"?process.cwd().replace(/\\/g,"/"):"/"}const Ph=function(...e){e=e.map(r=>n2(r));let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const o=r>=0?e[r]:o2();!o||o.length===0||(t=`${o}/${t}`,n=$h(o))}return t=s2(t,!n),n&&!$h(t)?`/${t}`:t.length>0?t:"."};function s2(e,t){let n="",r=0,o=-1,s=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(!(o===a-1||s===1))if(s===2){if(n.length<2||r!==2||n[n.length-1]!=="."||n[n.length-2]!=="."){if(n.length>2){const l=n.lastIndexOf("/");l===-1?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),o=a,s=0;continue}else if(n.length>0){n="",r=0,o=a,s=0;continue}}t&&(n+=n.length>0?"/..":"..",r=2)}else n.length>0?n+=`/${e.slice(o+1,a)}`:n=e.slice(o+1,a),r=a-o-1;o=a,s=0}else i==="."&&s!==-1?++s:s=-1}return n}const $h=function(e){return r2.test(e)},i2=function(e,t){const n=Ph(e).replace(Rh,"$1").split("/"),r=Ph(t).replace(Rh,"$1").split("/");if(r[0][1]===":"&&n[0][1]===":"&&n[0]!==r[0])return r.join("/");const o=[...n];for(const s of o){if(r[0]!==s)break;n.shift(),r.shift()}return[...n.map(()=>".."),...r].join("/")};function K6(e){return!!e.match(/[/\\]node_modules[/\\]/)||ef(e)}function ef(e){return e[0]==="#"||!!e.match(/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/)}function a2(e){if(ef(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 l2(e){const t=e.match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t}function q6(e){if(e)return["nuxt","#app","#head","vue"].includes(e)}function Y6(e,t){if(e=e.replace(/\\/g,"/"),ef(e))return{moduleName:e,path:e};const n=a2(e),r=l2(e);if(n&&r)return{moduleName:n,path:r};try{let o=i2(t,e);return!o.startsWith("./")&&!o.startsWith("../")&&(o=`./${o}`),o.startsWith("./.nuxt/")&&(o=`#build${o.slice(7)}`),{path:o}}catch{return{path:e}}}function pt(e,t,n){const r=Ne(),o=r.payload.unique=r.payload.unique||{};return o[e]||(o[e]=A0(e,t,n)),o[e].data}function X6(){return typeof navigator<"u"&&navigator.platform.toLowerCase().includes("mac")}const kh={get:"n-green",post:"n-blue",put:"n-orange",delete:"n-red",patch:"n-purple",head:"n-teal",default:"n-gray"};function J6(e){return kh[e.toLowerCase()]||kh.default}function Z6(e,t){const n={};for(const[r,o]of Object.entries(t))for(const s of o){const i=e.find(a=>a.tag===s.tag&&(s.name?a.name===s.name:!0))?.value;if(i){n[r]=i;break}}return{url:window.location.host,...n}}function Q6(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 e3(e,t=65,n=50,r=1){let o=0;for(let i=0;i<e.length;i++)o=e.charCodeAt(i)+((o<<5)-o);return`hsla(${o%360}, ${t}%, ${n}%, ${r})`}function Js(e,t){return bo(e,()=>jC(e,t,{listenToStorageChanges:!1}))}function t3(e,t){const n=t?.find(o=>o.id===e.filePath)?.deps?.map(o=>t?.find(s=>s.id===o)?.id).filter(Boolean),r=t?.filter(o=>o.deps.includes(e.filePath)).map(o=>o.id);return{component:e,dependencies:n,dependents:r}}function n3(e,t,n=`${t}s`){return`${e} ${e<=1?t:n}`}function Tv(){const e=at(),t=Ne();t.hooks.callHookParallel("app:data:refresh",Object.keys(t.payload.data)),Dm(e)}function Rv(){location.reload()}let Pv;function tf(e){Pv?.(e)}function c2(e){Pv=e}const r3=Wu(),$v=Wu();function u2(){return bo("devtools:restart-dialogs",()=>[])}var f2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function d2(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function o3(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Fc={exports:{}};(function(e,t){(function(n,r){var o="1.0.37",s="",i="?",a="function",l="undefined",c="object",u="string",f="major",d="model",h="name",p="type",g="vendor",m="version",v="architecture",_="console",y="mobile",b="tablet",E="smarttv",C="wearable",O="embedded",k=500,D="Amazon",P="Apple",L="ASUS",A="BlackBerry",S="Browser",T="Chrome",B="Edge",R="Firefox",$="Google",I="Huawei",J="LG",ae="Microsoft",ie="Motorola",le="Opera",Se="Samsung",Ce="Sharp",Ke="Sony",Ve="Xiaomi",F="Zebra",oe="Facebook",ee="Chromium OS",ce="Mac OS",Ie=function(W,ne){var Q={};for(var pe in W)ne[pe]&&ne[pe].length%2===0?Q[pe]=ne[pe].concat(W[pe]):Q[pe]=W[pe];return Q},Me=function(W){for(var ne={},Q=0;Q<W.length;Q++)ne[W[Q].toUpperCase()]=W[Q];return ne},w=function(W,ne){return typeof W===u?x(ne).indexOf(x(W))!==-1:!1},x=function(W){return W.toLowerCase()},N=function(W){return typeof W===u?W.replace(/[^\d\.]/g,s).split(".")[0]:r},z=function(W,ne){if(typeof W===u)return W=W.replace(/^\s\s*/,s),typeof ne===l?W:W.substring(0,k)},M=function(W,ne){for(var Q=0,pe,$e,Fe,be,me,Rt;Q<ne.length&&!me;){var gn=ne[Q],Ro=ne[Q+1];for(pe=$e=0;pe<gn.length&&!me&&gn[pe];)if(me=gn[pe++].exec(W),me)for(Fe=0;Fe<Ro.length;Fe++)Rt=me[++$e],be=Ro[Fe],typeof be===c&&be.length>0?be.length===2?typeof be[1]==a?this[be[0]]=be[1].call(this,Rt):this[be[0]]=be[1]:be.length===3?typeof be[1]===a&&!(be[1].exec&&be[1].test)?this[be[0]]=Rt?be[1].call(this,Rt,be[2]):r:this[be[0]]=Rt?Rt.replace(be[1],be[2]):r:be.length===4&&(this[be[0]]=Rt?be[3].call(this,Rt.replace(be[1],be[2])):r):this[be]=Rt||r;Q+=2}},X=function(W,ne){for(var Q in ne)if(typeof ne[Q]===c&&ne[Q].length>0){for(var pe=0;pe<ne[Q].length;pe++)if(w(ne[Q][pe],W))return Q===i?r:Q}else if(w(ne[Q],W))return Q===i?r:Q;return W},te={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},q={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"},Z={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[m,[h,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[m,[h,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[h,m],[/opios[\/ ]+([\w\.]+)/i],[m,[h,le+" Mini"]],[/\bopr\/([\w\.]+)/i],[m,[h,le]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[m,[h,"Baidu"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim)\s?(?:browser)?[\/ ]?([\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,m],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[m,[h,"UC"+S]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[m,[h,"WeChat"]],[/konqueror\/([\w\.]+)/i],[m,[h,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[m,[h,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[m,[h,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[m,[h,"Smart Lenovo "+S]],[/(avast|avg)\/([\w\.]+)/i],[[h,/(.+)/,"$1 Secure "+S],m],[/\bfocus\/([\w\.]+)/i],[m,[h,R+" Focus"]],[/\bopt\/([\w\.]+)/i],[m,[h,le+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[m,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[m,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[m,[h,le+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[m,[h,"MIUI "+S]],[/fxios\/([-\w\.]+)/i],[m,[h,R]],[/\bqihu|(qi?ho?o?|360)browser/i],[[h,"360 "+S]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1 "+S],m],[/samsungbrowser\/([\w\.]+)/i],[m,[h,Se+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[h,/_/g," "],m],[/metasr[\/ ]?([\d\.]+)/i],[m,[h,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[h,"Sogou Mobile"],m],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[h,m],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[h],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[h,oe],m],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[h,m],[/\bgsa\/([\w\.]+) .*safari\//i],[m,[h,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[m,[h,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[m,[h,T+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[h,T+" WebView"],m],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[m,[h,"Android "+S]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[h,m],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[m,[h,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[m,h],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[h,[m,X,te]],[/(webkit|khtml)\/([\w\.]+)/i],[h,m],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[h,"Netscape"],m],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[m,[h,R+" 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,m],[/(cobalt)\/([\w\.]+)/i],[h,[m,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[v,"amd64"]],[/(ia32(?=;))/i],[[v,x]],[/((?:i[346]|x)86)[;\)]/i],[[v,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[v,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[v,"armhf"]],[/windows (ce|mobile); ppc;/i],[[v,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[v,/ower/,s,x]],[/(sun4\w)[;\)]/i],[[v,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[v,x]]],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],[d,[g,Se],[p,b]],[/\b((?:s[cgp]h|gt|sm)-\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[d,[g,Se],[p,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[g,P],[p,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[g,P],[p,b]],[/(macintosh);/i],[d,[g,P]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[g,Ce],[p,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[g,I],[p,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[g,I],[p,y]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[d,/_/g," "],[g,Ve],[p,y]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[g,Ve],[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],[d,[g,"OPPO"],[p,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[g,"Vivo"],[p,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[g,"Realme"],[p,y]],[/\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],[d,[g,ie],[p,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[g,ie],[p,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[g,J],[p,b]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[d,[g,J],[p,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[g,"Lenovo"],[p,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[g,"Nokia"],[p,y]],[/(pixel c)\b/i],[d,[g,$],[p,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[g,$],[p,y]],[/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],[d,[g,Ke],[p,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[g,Ke],[p,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[g,"OnePlus"],[p,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[g,D],[p,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[g,D],[p,y]],[/(playbook);[-\w\),; ]+(rim)/i],[d,g,[p,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[g,A],[p,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[g,L],[p,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[g,L],[p,y]],[/(nexus 9)/i],[d,[g,"HTC"],[p,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[g,[d,/_/g," "],[p,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[g,"Acer"],[p,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[g,"Meizu"],[p,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[g,"Ulefone"],[p,y]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[g,d,[p,y]],[/(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],[g,d,[p,b]],[/(surface duo)/i],[d,[g,ae],[p,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[g,"Fairphone"],[p,y]],[/(u304aa)/i],[d,[g,"AT&T"],[p,y]],[/\bsie-(\w*)/i],[d,[g,"Siemens"],[p,y]],[/\b(rct\w+) b/i],[d,[g,"RCA"],[p,b]],[/\b(venue[\d ]{2,7}) b/i],[d,[g,"Dell"],[p,b]],[/\b(q(?:mv|ta)\w+) b/i],[d,[g,"Verizon"],[p,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[g,"Barnes & Noble"],[p,b]],[/\b(tm\d{3}\w+) b/i],[d,[g,"NuVision"],[p,b]],[/\b(k88) b/i],[d,[g,"ZTE"],[p,b]],[/\b(nx\d{3}j) b/i],[d,[g,"ZTE"],[p,y]],[/\b(gen\d{3}) b.+49h/i],[d,[g,"Swiss"],[p,y]],[/\b(zur\d{3}) b/i],[d,[g,"Swiss"],[p,b]],[/\b((zeki)?tb.*\b) b/i],[d,[g,"Zeki"],[p,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[g,"Dragon Touch"],d,[p,b]],[/\b(ns-?\w{0,9}) b/i],[d,[g,"Insignia"],[p,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[g,"NextBook"],[p,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[g,"Voice"],d,[p,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[g,"LvTel"],d,[p,y]],[/\b(ph-1) /i],[d,[g,"Essential"],[p,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[g,"Envizen"],[p,b]],[/\b(trio[-\w\. ]+) b/i],[d,[g,"MachSpeed"],[p,b]],[/\btu_(1491) b/i],[d,[g,"Rotor"],[p,b]],[/(shield[\w ]+) b/i],[d,[g,"Nvidia"],[p,b]],[/(sprint) (\w+)/i],[g,d,[p,y]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[g,ae],[p,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[g,F],[p,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[g,F],[p,y]],[/smart-tv.+(samsung)/i],[g,[p,E]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[g,Se],[p,E]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[g,J],[p,E]],[/(apple) ?tv/i],[g,[d,P+" TV"],[p,E]],[/crkey/i],[[d,T+"cast"],[g,$],[p,E]],[/droid.+aft(\w+)( bui|\))/i],[d,[g,D],[p,E]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[g,Ce],[p,E]],[/(bravia[\w ]+)( bui|\))/i],[d,[g,Ke],[p,E]],[/(mitv-\w{5}) bui/i],[d,[g,Ve],[p,E]],[/Hbbtv.*(technisat) (.*);/i],[g,d,[p,E]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[g,z],[d,z],[p,E]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,E]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[g,d,[p,_]],[/droid.+; (shield) bui/i],[d,[g,"Nvidia"],[p,_]],[/(playstation [345portablevi]+)/i],[d,[g,Ke],[p,_]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[g,ae],[p,_]],[/((pebble))app/i],[g,d,[p,C]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[g,P],[p,C]],[/droid.+; (glass) \d/i],[d,[g,$],[p,C]],[/droid.+; (wt63?0{2,3})\)/i],[d,[g,F],[p,C]],[/(quest( 2| pro)?)/i],[d,[g,oe],[p,C]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[g,[p,O]],[/(aeobc)\b/i],[d,[g,D],[p,O]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[d,[p,y]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[d,[p,b]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[p,b]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[p,y]],[/(android[-\w\. ]{0,9});.+buil/i],[d,[g,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[m,[h,B+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[m,[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,m],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[m,h]],os:[[/microsoft (windows) (vista|xp)/i],[h,m],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[h,[m,X,q]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[m,X,q],[h,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[m,/_/g,"."],[h,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[h,ce],[m,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[m,h],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[h,m],[/\(bb(10);/i],[m,[h,A]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[m,[h,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[m,[h,R+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[m,[h,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[m,[h,"watchOS"]],[/crkey\/([\d\.]+)/i],[m,[h,T+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[h,ee],m],[/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,m],[/(sunos) ?([\w\.\d]*)/i],[[h,"Solaris"],m],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[h,m]]},H=function(W,ne){if(typeof W===c&&(ne=W,W=r),!(this instanceof H))return new H(W,ne).getResult();var Q=typeof n!==l&&n.navigator?n.navigator:r,pe=W||(Q&&Q.userAgent?Q.userAgent:s),$e=Q&&Q.userAgentData?Q.userAgentData:r,Fe=ne?Ie(Z,ne):Z,be=Q&&Q.userAgent==pe;return this.getBrowser=function(){var me={};return me[h]=r,me[m]=r,M.call(me,pe,Fe.browser),me[f]=N(me[m]),be&&Q&&Q.brave&&typeof Q.brave.isBrave==a&&(me[h]="Brave"),me},this.getCPU=function(){var me={};return me[v]=r,M.call(me,pe,Fe.cpu),me},this.getDevice=function(){var me={};return me[g]=r,me[d]=r,me[p]=r,M.call(me,pe,Fe.device),be&&!me[p]&&$e&&$e.mobile&&(me[p]=y),be&&me[d]=="Macintosh"&&Q&&typeof Q.standalone!==l&&Q.maxTouchPoints&&Q.maxTouchPoints>2&&(me[d]="iPad",me[p]=b),me},this.getEngine=function(){var me={};return me[h]=r,me[m]=r,M.call(me,pe,Fe.engine),me},this.getOS=function(){var me={};return me[h]=r,me[m]=r,M.call(me,pe,Fe.os),be&&!me[h]&&$e&&$e.platform!="Unknown"&&(me[h]=$e.platform.replace(/chrome os/i,ee).replace(/macos/i,ce)),me},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return pe},this.setUA=function(me){return pe=typeof me===u&&me.length>k?z(me,k):me,this},this.setUA(pe),this};H.VERSION=o,H.BROWSER=Me([h,m,f]),H.CPU=Me([v]),H.DEVICE=Me([d,g,p,_,y,E,b,C,O]),H.ENGINE=H.OS=Me([h,m]),e.exports&&(t=e.exports=H),t.UAParser=H;var re=typeof n!==l&&(n.jQuery||n.Zepto);if(re&&!re.ua){var he=new H;re.ua=he.getResult(),re.ua.get=function(){return he.getUA()},re.ua.set=function(W){he.setUA(W);var ne=he.getResult();for(var Q in ne)re.ua[Q]=ne[Q]}}})(typeof window=="object"?window:f2)})(Fc,Fc.exports);var h2=Fc.exports;const yt=U(localStorage.getItem("__nuxt_dev_token__")),xt=U(!1),kv=new BroadcastChannel("__nuxt_dev_token__");kv.addEventListener("message",e=>{if(e.data.event==="new-token"){if(e.data.data===yt.value)return;const t=e.data.data;we.verifyAuthToken(t).then(n=>{yt.value=n?t:null,xt.value=n})}});function p2(e){yt.value=e,xt.value=!0,localStorage.setItem("__nuxt_dev_token__",e),kv.postMessage({event:"new-token",data:e})}async function Bc(){if(xt.value)return yt.value;if(yt.value||await Oh(),xt.value=await we.verifyAuthToken(yt.value),!xt.value)throw yt.value=null,tf({message:"Invalid auth token, action canceled",icon:"i-carbon-warning-alt",classes:"text-red"}),await Oh(),new Error("Invalid auth token");return yt.value}const ln=new h2.UAParser(navigator.userAgent).getResult();async function Ov(){const e=[ln.browser.name,ln.browser.version,"|",ln.os.name,ln.os.version,ln.device.type].filter(t=>t).join(" ");return await we.requestForAuth(e,window.location.origin)}async function Oh(){if(yt.value||Ov(),await Promise.race([$v.start(),mC(yt.value).toBeTruthy()])===!1)throw tf({message:"Action canceled",icon:"carbon-close",classes:"text-orange"}),new Error("User canceled auth")}var jc={exports:{}};const m2="2.0.0",Nv=256,g2=Number.MAX_SAFE_INTEGER||9007199254740991,v2=16,y2=Nv-6,_2=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var el={MAX_LENGTH:Nv,MAX_SAFE_COMPONENT_LENGTH:v2,MAX_SAFE_BUILD_LENGTH:y2,MAX_SAFE_INTEGER:g2,RELEASE_TYPES:_2,SEMVER_SPEC_VERSION:m2,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},Fl={};const b2=typeof process=="object"&&Fl&&Fl.NODE_DEBUG&&/\bsemver\b/i.test(Fl.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var tl=b2;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:o}=el,s=tl;t=e.exports={};const i=t.re=[],a=t.safeRe=[],l=t.src=[],c=t.t={};let u=0;const f="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",o],[f,r]],h=g=>{for(const[m,v]of d)g=g.split(`${m}*`).join(`${m}{0,${v}}`).split(`${m}+`).join(`${m}{1,${v}}`);return g},p=(g,m,v)=>{const _=h(m),y=u++;s(g,y,m),c[g]=y,l[y]=m,i[y]=new RegExp(m,v?"g":void 0),a[y]=new RegExp(_,v?"g":void 0)};p("NUMERICIDENTIFIER","0|[1-9]\\d*"),p("NUMERICIDENTIFIERLOOSE","\\d+"),p("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${f}*`),p("MAINVERSION",`(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})`),p("MAINVERSIONLOOSE",`(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})`),p("PRERELEASEIDENTIFIER",`(?:${l[c.NUMERICIDENTIFIER]}|${l[c.NONNUMERICIDENTIFIER]})`),p("PRERELEASEIDENTIFIERLOOSE",`(?:${l[c.NUMERICIDENTIFIERLOOSE]}|${l[c.NONNUMERICIDENTIFIER]})`),p("PRERELEASE",`(?:-(${l[c.PRERELEASEIDENTIFIER]}(?:\\.${l[c.PRERELEASEIDENTIFIER]})*))`),p("PRERELEASELOOSE",`(?:-?(${l[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[c.PRERELEASEIDENTIFIERLOOSE]})*))`),p("BUILDIDENTIFIER",`${f}+`),p("BUILD",`(?:\\+(${l[c.BUILDIDENTIFIER]}(?:\\.${l[c.BUILDIDENTIFIER]})*))`),p("FULLPLAIN",`v?${l[c.MAINVERSION]}${l[c.PRERELEASE]}?${l[c.BUILD]}?`),p("FULL",`^${l[c.FULLPLAIN]}$`),p("LOOSEPLAIN",`[v=\\s]*${l[c.MAINVERSIONLOOSE]}${l[c.PRERELEASELOOSE]}?${l[c.BUILD]}?`),p("LOOSE",`^${l[c.LOOSEPLAIN]}$`),p("GTLT","((?:<|>)?=?)"),p("XRANGEIDENTIFIERLOOSE",`${l[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),p("XRANGEIDENTIFIER",`${l[c.NUMERICIDENTIFIER]}|x|X|\\*`),p("XRANGEPLAIN",`[v=\\s]*(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:${l[c.PRERELEASE]})?${l[c.BUILD]}?)?)?`),p("XRANGEPLAINLOOSE",`[v=\\s]*(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:${l[c.PRERELEASELOOSE]})?${l[c.BUILD]}?)?)?`),p("XRANGE",`^${l[c.GTLT]}\\s*${l[c.XRANGEPLAIN]}$`),p("XRANGELOOSE",`^${l[c.GTLT]}\\s*${l[c.XRANGEPLAINLOOSE]}$`),p("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),p("COERCE",`${l[c.COERCEPLAIN]}(?:$|[^\\d])`),p("COERCEFULL",l[c.COERCEPLAIN]+`(?:${l[c.PRERELEASE]})?(?:${l[c.BUILD]})?(?:$|[^\\d])`),p("COERCERTL",l[c.COERCE],!0),p("COERCERTLFULL",l[c.COERCEFULL],!0),p("LONETILDE","(?:~>?)"),p("TILDETRIM",`(\\s*)${l[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",p("TILDE",`^${l[c.LONETILDE]}${l[c.XRANGEPLAIN]}$`),p("TILDELOOSE",`^${l[c.LONETILDE]}${l[c.XRANGEPLAINLOOSE]}$`),p("LONECARET","(?:\\^)"),p("CARETTRIM",`(\\s*)${l[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",p("CARET",`^${l[c.LONECARET]}${l[c.XRANGEPLAIN]}$`),p("CARETLOOSE",`^${l[c.LONECARET]}${l[c.XRANGEPLAINLOOSE]}$`),p("COMPARATORLOOSE",`^${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]})$|^$`),p("COMPARATOR",`^${l[c.GTLT]}\\s*(${l[c.FULLPLAIN]})$|^$`),p("COMPARATORTRIM",`(\\s*)${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]}|${l[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",p("HYPHENRANGE",`^\\s*(${l[c.XRANGEPLAIN]})\\s+-\\s+(${l[c.XRANGEPLAIN]})\\s*$`),p("HYPHENRANGELOOSE",`^\\s*(${l[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[c.XRANGEPLAINLOOSE]})\\s*$`),p("STAR","(<|>)?=?\\s*\\*"),p("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),p("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})(jc,jc.exports);var Zs=jc.exports;const w2=Object.freeze({loose:!0}),E2=Object.freeze({}),S2=e=>e?typeof e!="object"?w2:e:E2;var nf=S2;const Nh=/^[0-9]+$/,Iv=(e,t)=>{const n=Nh.test(e),r=Nh.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},x2=(e,t)=>Iv(t,e);var Lv={compareIdentifiers:Iv,rcompareIdentifiers:x2};const Si=tl,{MAX_LENGTH:Ih,MAX_SAFE_INTEGER:xi}=el,{safeRe:Lh,t:Dh}=Zs,C2=nf,{compareIdentifiers:Br}=Lv;let A2=class nn{constructor(t,n){if(n=C2(n),t instanceof nn){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>Ih)throw new TypeError(`version is longer than ${Ih} characters`);Si("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=t.trim().match(n.loose?Lh[Dh.LOOSE]:Lh[Dh.FULL]);if(!r)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>xi||this.major<0)throw new TypeError("Invalid major version");if(this.minor>xi||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>xi||this.patch<0)throw new TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(o=>{if(/^[0-9]+$/.test(o)){const s=+o;if(s>=0&&s<xi)return s}return o}):this.prerelease=[],this.build=r[5]?r[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(Si("SemVer.compare",this.version,this.options,t),!(t instanceof nn)){if(typeof t=="string"&&t===this.version)return 0;t=new nn(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof nn||(t=new nn(t,this.options)),Br(this.major,t.major)||Br(this.minor,t.minor)||Br(this.patch,t.patch)}comparePre(t){if(t instanceof nn||(t=new nn(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let n=0;do{const r=this.prerelease[n],o=t.prerelease[n];if(Si("prerelease compare",n,r,o),r===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(r===void 0)return-1;if(r===o)continue;return Br(r,o)}while(++n)}compareBuild(t){t instanceof nn||(t=new nn(t,this.options));let n=0;do{const r=this.build[n],o=t.build[n];if(Si("build compare",n,r,o),r===void 0&&o===void 0)return 0;if(o===void 0)return 1;if(r===void 0)return-1;if(r===o)continue;return Br(r,o)}while(++n)}inc(t,n,r){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",n,r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",n,r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",n,r),this.inc("pre",n,r);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",n,r),this.inc("pre",n,r);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{const o=Number(r)?1:0;if(!n&&r===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[o];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(n===this.prerelease.join(".")&&r===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(o)}}if(n){let s=[n,o];r===!1&&(s=[n]),Br(this.prerelease[0],n)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};var Et=A2;const Mh=Et,T2=(e,t,n=!1)=>{if(e instanceof Mh)return e;try{return new Mh(e,t)}catch(r){if(!n)return null;throw r}};var Co=T2;const R2=Co,P2=(e,t)=>{const n=R2(e,t);return n?n.version:null};var $2=P2;const k2=Co,O2=(e,t)=>{const n=k2(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var N2=O2;const Fh=Et,I2=(e,t,n,r,o)=>{typeof n=="string"&&(o=r,r=n,n=void 0);try{return new Fh(e instanceof Fh?e.version:e,n).inc(t,r,o).version}catch{return null}};var L2=I2;const Bh=Co,D2=(e,t)=>{const n=Bh(e,null,!0),r=Bh(t,null,!0),o=n.compare(r);if(o===0)return null;const s=o>0,i=s?n:r,a=s?r:n,l=!!i.prerelease.length;if(!!a.prerelease.length&&!l)return!a.patch&&!a.minor?"major":i.patch?"patch":i.minor?"minor":"major";const u=l?"pre":"";return n.major!==r.major?u+"major":n.minor!==r.minor?u+"minor":n.patch!==r.patch?u+"patch":"prerelease"};var M2=D2;const F2=Et,B2=(e,t)=>new F2(e,t).major;var j2=B2;const z2=Et,H2=(e,t)=>new z2(e,t).minor;var U2=H2;const V2=Et,G2=(e,t)=>new V2(e,t).patch;var W2=G2;const K2=Co,q2=(e,t)=>{const n=K2(e,t);return n&&n.prerelease.length?n.prerelease:null};var Y2=q2;const jh=Et,X2=(e,t,n)=>new jh(e,n).compare(new jh(t,n));var Qt=X2;const J2=Qt,Z2=(e,t,n)=>J2(t,e,n);var Q2=Z2;const eP=Qt,tP=(e,t)=>eP(e,t,!0);var nP=tP;const zh=Et,rP=(e,t,n)=>{const r=new zh(e,n),o=new zh(t,n);return r.compare(o)||r.compareBuild(o)};var rf=rP;const oP=rf,sP=(e,t)=>e.sort((n,r)=>oP(n,r,t));var iP=sP;const aP=rf,lP=(e,t)=>e.sort((n,r)=>aP(r,n,t));var cP=lP;const uP=Qt,fP=(e,t,n)=>uP(e,t,n)>0;var nl=fP;const dP=Qt,hP=(e,t,n)=>dP(e,t,n)<0;var of=hP;const pP=Qt,mP=(e,t,n)=>pP(e,t,n)===0;var Dv=mP;const gP=Qt,vP=(e,t,n)=>gP(e,t,n)!==0;var Mv=vP;const yP=Qt,_P=(e,t,n)=>yP(e,t,n)>=0;var sf=_P;const bP=Qt,wP=(e,t,n)=>bP(e,t,n)<=0;var af=wP;const EP=Dv,SP=Mv,xP=nl,CP=sf,AP=of,TP=af,RP=(e,t,n,r)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e===n;case"!==":return typeof e=="object"&&(e=e.version),typeof n=="object"&&(n=n.version),e!==n;case"":case"=":case"==":return EP(e,n,r);case"!=":return SP(e,n,r);case">":return xP(e,n,r);case">=":return CP(e,n,r);case"<":return AP(e,n,r);case"<=":return TP(e,n,r);default:throw new TypeError(`Invalid operator: ${t}`)}};var Fv=RP;const PP=Et,$P=Co,{safeRe:Ci,t:Ai}=Zs,kP=(e,t)=>{if(e instanceof PP)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(t.includePrerelease?Ci[Ai.COERCEFULL]:Ci[Ai.COERCE]);else{const l=t.includePrerelease?Ci[Ai.COERCERTLFULL]:Ci[Ai.COERCERTL];let c;for(;(c=l.exec(e))&&(!n||n.index+n[0].length!==e.length);)(!n||c.index+c[0].length!==n.index+n[0].length)&&(n=c),l.lastIndex=c.index+c[1].length+c[2].length;l.lastIndex=-1}if(n===null)return null;const r=n[2],o=n[3]||"0",s=n[4]||"0",i=t.includePrerelease&&n[5]?`-${n[5]}`:"",a=t.includePrerelease&&n[6]?`+${n[6]}`:"";return $P(`${r}.${o}.${s}${i}${a}`,t)};var OP=kP;class NP{constructor(){this.max=1e3,this.map=new Map}get(t){const n=this.map.get(t);if(n!==void 0)return this.map.delete(t),this.map.set(t,n),n}delete(t){return this.map.delete(t)}set(t,n){if(!this.delete(t)&&n!==void 0){if(this.map.size>=this.max){const o=this.map.keys().next().value;this.delete(o)}this.map.set(t,n)}return this}}var IP=NP,Bl,Hh;function en(){if(Hh)return Bl;Hh=1;class e{constructor(T,B){if(B=r(B),T instanceof e)return T.loose===!!B.loose&&T.includePrerelease===!!B.includePrerelease?T:new e(T.raw,B);if(T instanceof o)return this.raw=T.value,this.set=[[T]],this.format(),this;if(this.options=B,this.loose=!!B.loose,this.includePrerelease=!!B.includePrerelease,this.raw=T.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(R=>this.parseRange(R.trim())).filter(R=>R.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){const R=this.set[0];if(this.set=this.set.filter($=>!p($[0])),this.set.length===0)this.set=[R];else if(this.set.length>1){for(const $ of this.set)if($.length===1&&g($[0])){this.set=[$];break}}}this.format()}format(){return this.range=this.set.map(T=>T.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(T){const R=((this.options.includePrerelease&&d)|(this.options.loose&&h))+":"+T,$=n.get(R);if($)return $;const I=this.options.loose,J=I?a[l.HYPHENRANGELOOSE]:a[l.HYPHENRANGE];T=T.replace(J,L(this.options.includePrerelease)),s("hyphen replace",T),T=T.replace(a[l.COMPARATORTRIM],c),s("comparator trim",T),T=T.replace(a[l.TILDETRIM],u),s("tilde trim",T),T=T.replace(a[l.CARETTRIM],f),s("caret trim",T);let ae=T.split(" ").map(Ce=>v(Ce,this.options)).join(" ").split(/\s+/).map(Ce=>P(Ce,this.options));I&&(ae=ae.filter(Ce=>(s("loose invalid filter",Ce,this.options),!!Ce.match(a[l.COMPARATORLOOSE])))),s("range list",ae);const ie=new Map,le=ae.map(Ce=>new o(Ce,this.options));for(const Ce of le){if(p(Ce))return[Ce];ie.set(Ce.value,Ce)}ie.size>1&&ie.has("")&&ie.delete("");const Se=[...ie.values()];return n.set(R,Se),Se}intersects(T,B){if(!(T instanceof e))throw new TypeError("a Range is required");return this.set.some(R=>m(R,B)&&T.set.some($=>m($,B)&&R.every(I=>$.every(J=>I.intersects(J,B)))))}test(T){if(!T)return!1;if(typeof T=="string")try{T=new i(T,this.options)}catch{return!1}for(let B=0;B<this.set.length;B++)if(A(this.set[B],T,this.options))return!0;return!1}}Bl=e;const t=IP,n=new t,r=nf,o=rl(),s=tl,i=Et,{safeRe:a,t:l,comparatorTrimReplace:c,tildeTrimReplace:u,caretTrimReplace:f}=Zs,{FLAG_INCLUDE_PRERELEASE:d,FLAG_LOOSE:h}=el,p=S=>S.value==="<0.0.0-0",g=S=>S.value==="",m=(S,T)=>{let B=!0;const R=S.slice();let $=R.pop();for(;B&&R.length;)B=R.every(I=>$.intersects(I,T)),$=R.pop();return B},v=(S,T)=>(s("comp",S,T),S=E(S,T),s("caret",S),S=y(S,T),s("tildes",S),S=O(S,T),s("xrange",S),S=D(S,T),s("stars",S),S),_=S=>!S||S.toLowerCase()==="x"||S==="*",y=(S,T)=>S.trim().split(/\s+/).map(B=>b(B,T)).join(" "),b=(S,T)=>{const B=T.loose?a[l.TILDELOOSE]:a[l.TILDE];return S.replace(B,(R,$,I,J,ae)=>{s("tilde",S,R,$,I,J,ae);let ie;return _($)?ie="":_(I)?ie=`>=${$}.0.0 <${+$+1}.0.0-0`:_(J)?ie=`>=${$}.${I}.0 <${$}.${+I+1}.0-0`:ae?(s("replaceTilde pr",ae),ie=`>=${$}.${I}.${J}-${ae} <${$}.${+I+1}.0-0`):ie=`>=${$}.${I}.${J} <${$}.${+I+1}.0-0`,s("tilde return",ie),ie})},E=(S,T)=>S.trim().split(/\s+/).map(B=>C(B,T)).join(" "),C=(S,T)=>{s("caret",S,T);const B=T.loose?a[l.CARETLOOSE]:a[l.CARET],R=T.includePrerelease?"-0":"";return S.replace(B,($,I,J,ae,ie)=>{s("caret",S,$,I,J,ae,ie);let le;return _(I)?le="":_(J)?le=`>=${I}.0.0${R} <${+I+1}.0.0-0`:_(ae)?I==="0"?le=`>=${I}.${J}.0${R} <${I}.${+J+1}.0-0`:le=`>=${I}.${J}.0${R} <${+I+1}.0.0-0`:ie?(s("replaceCaret pr",ie),I==="0"?J==="0"?le=`>=${I}.${J}.${ae}-${ie} <${I}.${J}.${+ae+1}-0`:le=`>=${I}.${J}.${ae}-${ie} <${I}.${+J+1}.0-0`:le=`>=${I}.${J}.${ae}-${ie} <${+I+1}.0.0-0`):(s("no pr"),I==="0"?J==="0"?le=`>=${I}.${J}.${ae}${R} <${I}.${J}.${+ae+1}-0`:le=`>=${I}.${J}.${ae}${R} <${I}.${+J+1}.0-0`:le=`>=${I}.${J}.${ae} <${+I+1}.0.0-0`),s("caret return",le),le})},O=(S,T)=>(s("replaceXRanges",S,T),S.split(/\s+/).map(B=>k(B,T)).join(" ")),k=(S,T)=>{S=S.trim();const B=T.loose?a[l.XRANGELOOSE]:a[l.XRANGE];return S.replace(B,(R,$,I,J,ae,ie)=>{s("xRange",S,R,$,I,J,ae,ie);const le=_(I),Se=le||_(J),Ce=Se||_(ae),Ke=Ce;return $==="="&&Ke&&($=""),ie=T.includePrerelease?"-0":"",le?$===">"||$==="<"?R="<0.0.0-0":R="*":$&&Ke?(Se&&(J=0),ae=0,$===">"?($=">=",Se?(I=+I+1,J=0,ae=0):(J=+J+1,ae=0)):$==="<="&&($="<",Se?I=+I+1:J=+J+1),$==="<"&&(ie="-0"),R=`${$+I}.${J}.${ae}${ie}`):Se?R=`>=${I}.0.0${ie} <${+I+1}.0.0-0`:Ce&&(R=`>=${I}.${J}.0${ie} <${I}.${+J+1}.0-0`),s("xRange return",R),R})},D=(S,T)=>(s("replaceStars",S,T),S.trim().replace(a[l.STAR],"")),P=(S,T)=>(s("replaceGTE0",S,T),S.trim().replace(a[T.includePrerelease?l.GTE0PRE:l.GTE0],"")),L=S=>(T,B,R,$,I,J,ae,ie,le,Se,Ce,Ke)=>(_(R)?B="":_($)?B=`>=${R}.0.0${S?"-0":""}`:_(I)?B=`>=${R}.${$}.0${S?"-0":""}`:J?B=`>=${B}`:B=`>=${B}${S?"-0":""}`,_(le)?ie="":_(Se)?ie=`<${+le+1}.0.0-0`:_(Ce)?ie=`<${le}.${+Se+1}.0-0`:Ke?ie=`<=${le}.${Se}.${Ce}-${Ke}`:S?ie=`<${le}.${Se}.${+Ce+1}-0`:ie=`<=${ie}`,`${B} ${ie}`.trim()),A=(S,T,B)=>{for(let R=0;R<S.length;R++)if(!S[R].test(T))return!1;if(T.prerelease.length&&!B.includePrerelease){for(let R=0;R<S.length;R++)if(s(S[R].semver),S[R].semver!==o.ANY&&S[R].semver.prerelease.length>0){const $=S[R].semver;if($.major===T.major&&$.minor===T.minor&&$.patch===T.patch)return!0}return!1}return!0};return Bl}var jl,Uh;function rl(){if(Uh)return jl;Uh=1;const e=Symbol("SemVer ANY");class t{static get ANY(){return e}constructor(u,f){if(f=n(f),u instanceof t){if(u.loose===!!f.loose)return u;u=u.value}u=u.trim().split(/\s+/).join(" "),i("comparator",u,f),this.options=f,this.loose=!!f.loose,this.parse(u),this.semver===e?this.value="":this.value=this.operator+this.semver.version,i("comp",this)}parse(u){const f=this.options.loose?r[o.COMPARATORLOOSE]:r[o.COMPARATOR],d=u.match(f);if(!d)throw new TypeError(`Invalid comparator: ${u}`);this.operator=d[1]!==void 0?d[1]:"",this.operator==="="&&(this.operator=""),d[2]?this.semver=new a(d[2],this.options.loose):this.semver=e}toString(){return this.value}test(u){if(i("Comparator.test",u,this.options.loose),this.semver===e||u===e)return!0;if(typeof u=="string")try{u=new a(u,this.options)}catch{return!1}return s(u,this.operator,this.semver,this.options)}intersects(u,f){if(!(u instanceof t))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new l(u.value,f).test(this.value):u.operator===""?u.value===""?!0:new l(this.value,f).test(u.semver):(f=n(f),f.includePrerelease&&(this.value==="<0.0.0-0"||u.value==="<0.0.0-0")||!f.includePrerelease&&(this.value.startsWith("<0.0.0")||u.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&u.operator.startsWith(">")||this.operator.startsWith("<")&&u.operator.startsWith("<")||this.semver.version===u.semver.version&&this.operator.includes("=")&&u.operator.includes("=")||s(this.semver,"<",u.semver,f)&&this.operator.startsWith(">")&&u.operator.startsWith("<")||s(this.semver,">",u.semver,f)&&this.operator.startsWith("<")&&u.operator.startsWith(">")))}}jl=t;const n=nf,{safeRe:r,t:o}=Zs,s=Fv,i=tl,a=Et,l=en();return jl}const LP=en(),DP=(e,t,n)=>{try{t=new LP(t,n)}catch{return!1}return t.test(e)};var ol=DP;const MP=en(),FP=(e,t)=>new MP(e,t).set.map(n=>n.map(r=>r.value).join(" ").trim().split(" "));var BP=FP;const jP=Et,zP=en(),HP=(e,t,n)=>{let r=null,o=null,s=null;try{s=new zP(t,n)}catch{return null}return e.forEach(i=>{s.test(i)&&(!r||o.compare(i)===-1)&&(r=i,o=new jP(r,n))}),r};var UP=HP;const VP=Et,GP=en(),WP=(e,t,n)=>{let r=null,o=null,s=null;try{s=new GP(t,n)}catch{return null}return e.forEach(i=>{s.test(i)&&(!r||o.compare(i)===1)&&(r=i,o=new VP(r,n))}),r};var KP=WP;const zl=Et,qP=en(),Vh=nl,YP=(e,t)=>{e=new qP(e,t);let n=new zl("0.0.0");if(e.test(n)||(n=new zl("0.0.0-0"),e.test(n)))return n;n=null;for(let r=0;r<e.set.length;++r){const o=e.set[r];let s=null;o.forEach(i=>{const a=new zl(i.semver.version);switch(i.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!s||Vh(a,s))&&(s=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),s&&(!n||Vh(n,s))&&(n=s)}return n&&e.test(n)?n:null};var XP=YP;const JP=en(),ZP=(e,t)=>{try{return new JP(e,t).range||"*"}catch{return null}};var QP=ZP;const e$=Et,Bv=rl(),{ANY:t$}=Bv,n$=en(),r$=ol,Gh=nl,Wh=of,o$=af,s$=sf,i$=(e,t,n,r)=>{e=new e$(e,r),t=new n$(t,r);let o,s,i,a,l;switch(n){case">":o=Gh,s=o$,i=Wh,a=">",l=">=";break;case"<":o=Wh,s=s$,i=Gh,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(r$(e,t,r))return!1;for(let c=0;c<t.set.length;++c){const u=t.set[c];let f=null,d=null;if(u.forEach(h=>{h.semver===t$&&(h=new Bv(">=0.0.0")),f=f||h,d=d||h,o(h.semver,f.semver,r)?f=h:i(h.semver,d.semver,r)&&(d=h)}),f.operator===a||f.operator===l||(!d.operator||d.operator===a)&&s(e,d.semver))return!1;if(d.operator===l&&i(e,d.semver))return!1}return!0};var lf=i$;const a$=lf,l$=(e,t,n)=>a$(e,t,">",n);var c$=l$;const u$=lf,f$=(e,t,n)=>u$(e,t,"<",n);var d$=f$;const Kh=en(),h$=(e,t,n)=>(e=new Kh(e,n),t=new Kh(t,n),e.intersects(t,n));var p$=h$;const m$=ol,g$=Qt;var v$=(e,t,n)=>{const r=[];let o=null,s=null;const i=e.sort((u,f)=>g$(u,f,n));for(const u of i)m$(u,t,n)?(s=u,o||(o=u)):(s&&r.push([o,s]),s=null,o=null);o&&r.push([o,null]);const a=[];for(const[u,f]of r)u===f?a.push(u):!f&&u===i[0]?a.push("*"):f?u===i[0]?a.push(`<=${f}`):a.push(`${u} - ${f}`):a.push(`>=${u}`);const l=a.join(" || "),c=typeof t.raw=="string"?t.raw:String(t);return l.length<c.length?l:t};const qh=en(),cf=rl(),{ANY:Hl}=cf,Io=ol,uf=Qt,y$=(e,t,n={})=>{if(e===t)return!0;e=new qh(e,n),t=new qh(t,n);let r=!1;e:for(const o of e.set){for(const s of t.set){const i=b$(o,s,n);if(r=r||i!==null,i)continue e}if(r)return!1}return!0},_$=[new cf(">=0.0.0-0")],Yh=[new cf(">=0.0.0")],b$=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===Hl){if(t.length===1&&t[0].semver===Hl)return!0;n.includePrerelease?e=_$:e=Yh}if(t.length===1&&t[0].semver===Hl){if(n.includePrerelease)return!0;t=Yh}const r=new Set;let o,s;for(const h of e)h.operator===">"||h.operator===">="?o=Xh(o,h,n):h.operator==="<"||h.operator==="<="?s=Jh(s,h,n):r.add(h.semver);if(r.size>1)return null;let i;if(o&&s){if(i=uf(o.semver,s.semver,n),i>0)return null;if(i===0&&(o.operator!==">="||s.operator!=="<="))return null}for(const h of r){if(o&&!Io(h,String(o),n)||s&&!Io(h,String(s),n))return null;for(const p of t)if(!Io(h,String(p),n))return!1;return!0}let a,l,c,u,f=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1,d=o&&!n.includePrerelease&&o.semver.prerelease.length?o.semver:!1;f&&f.prerelease.length===1&&s.operator==="<"&&f.prerelease[0]===0&&(f=!1);for(const h of t){if(u=u||h.operator===">"||h.operator===">=",c=c||h.operator==="<"||h.operator==="<=",o){if(d&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===d.major&&h.semver.minor===d.minor&&h.semver.patch===d.patch&&(d=!1),h.operator===">"||h.operator===">="){if(a=Xh(o,h,n),a===h&&a!==o)return!1}else if(o.operator===">="&&!Io(o.semver,String(h),n))return!1}if(s){if(f&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===f.major&&h.semver.minor===f.minor&&h.semver.patch===f.patch&&(f=!1),h.operator==="<"||h.operator==="<="){if(l=Jh(s,h,n),l===h&&l!==s)return!1}else if(s.operator==="<="&&!Io(s.semver,String(h),n))return!1}if(!h.operator&&(s||o)&&i!==0)return!1}return!(o&&c&&!s&&i!==0||s&&u&&!o&&i!==0||d||f)},Xh=(e,t,n)=>{if(!e)return t;const r=uf(e.semver,t.semver,n);return r>0?e:r<0||t.operator===">"&&e.operator===">="?t:e},Jh=(e,t,n)=>{if(!e)return t;const r=uf(e.semver,t.semver,n);return r<0?e:r>0||t.operator==="<"&&e.operator==="<="?t:e};var w$=y$;const Ul=Zs,Zh=el,E$=Et,Qh=Lv,S$=Co,x$=$2,C$=N2,A$=L2,T$=M2,R$=j2,P$=U2,$$=W2,k$=Y2,O$=Qt,N$=Q2,I$=nP,L$=rf,D$=iP,M$=cP,F$=nl,B$=of,j$=Dv,z$=Mv,H$=sf,U$=af,V$=Fv,G$=OP,W$=rl(),K$=en(),q$=ol,Y$=BP,X$=UP,J$=KP,Z$=XP,Q$=QP,ek=lf,tk=c$,nk=d$,rk=p$,ok=v$,sk=w$;var ik={parse:S$,valid:x$,clean:C$,inc:A$,diff:T$,major:R$,minor:P$,patch:$$,prerelease:k$,compare:O$,rcompare:N$,compareLoose:I$,compareBuild:L$,sort:D$,rsort:M$,gt:F$,lt:B$,eq:j$,neq:z$,gte:H$,lte:U$,cmp:V$,coerce:G$,Comparator:W$,Range:K$,satisfies:q$,toComparators:Y$,maxSatisfying:X$,minSatisfying:J$,minVersion:Z$,validRange:Q$,outside:ek,gtr:tk,ltr:nk,intersects:rk,simplifyRange:ok,subset:sk,SemVer:E$,re:Ul.re,src:Ul.src,tokens:Ul.t,SEMVER_SPEC_VERSION:Zh.SEMVER_SPEC_VERSION,RELEASE_TYPES:Zh.RELEASE_TYPES,compareIdentifiers:Qh.compareIdentifiers,rcompareIdentifiers:Qh.rcompareIdentifiers};const ak=d2(ik),Vl=new Map;function s3(e,t){const n=e;return Vl.has(n)||Vl.set(n,uk(e,t)),Vl.get(n)}function lk(){return pt("npm:check:nuxt",()=>we.checkForUpdateFor("nuxt"))}function ck(e){const t=lk();return se(()=>t?.value?.current?ak.satisfies(t.value.current,e):!1)}function uk(e,t){const n=Ne(),r=pt(`npm:check:${e}`,()=>we.checkForUpdateFor(e)),o=U("idle"),s=U();n.hook("devtools:terminal:exit",({id:l,code:c})=>{l!==s||!s||(o.value=c===0?"updated":"idle")});async function i(l){if(o.value!=="idle")return;const c=await we.getNpmCommand("update",e,t);if(c&&await l(c.join(" ")))return o.value="running",s.value=(await we.runNpmCommand(await Bc(),"update",e,t))?.processId,s.value}async function a(){o.value==="updated"&&await we.restartNuxt(await Bc())}return{info:r,state:o,update:i,restart:a,processId:s}}const Lo={icon:"carbon-edge-node",title:"Build Analyze",layout:"full",category:"analyze",show(){return ck("^3.5.0")}},Do={icon:"carbon-image-copy",title:"Assets",layout:"full"},Mo={icon:"i-carbon-category",title:"Components Tree",layout:"full",show:()=>{const e=at();return()=>!!e.value},order:3},Fo={icon:"i-carbon-assembly-cluster",title:"Components",order:2},Bo={layout:"full"},jo={icon:"i-carbon-warning-alt-filled text-red",title:"Error",category:"app",show(){const e=at();return()=>e.value?.nuxt?.payload?.error}},zo={icon:"carbon-ibm-cloud-direct-link-2-connect",title:"Hooks",category:"advanced"},Ho={icon:"carbon-function",title:"Imports",order:4},Uo={icon:"carbon-3d-mpr-toggle",title:"Modules",order:5},Vo={icon:"carbon:image-search",title:"Open Graph",layout:"full",category:"analyze",show:()=>{const e=at();return()=>!!e.value}},Go={icon:"carbon-information",title:"Overview",order:-100},Wo={icon:"carbon-tree-view-alt",title:"Pages",show:()=>{const e=at();return()=>!!e.value},order:1},Ko={icon:"carbon-data-set",title:"Payload",category:"analyze",show:()=>{const e=at();return()=>!!e.value},order:7};function fk(e,t,n){const[r={},o]=typeof t=="string"?[{},t]:[t,n],s=se(()=>sn(e)),i=r.key||vE([o,typeof s.value=="string"?s.value:"",...dk(r)]);if(!i||typeof i!="string")throw new TypeError("[nuxt] [useFetch] key must be a string: "+i);if(!e)throw new Error("[nuxt] [useFetch] request is missing.");const a=i===o?"$f"+i:i;if(!r.baseURL&&typeof s.value=="string"&&s.value[0]==="/"&&s.value[1]==="/")throw new Error('[nuxt] [useFetch] the request URL must not start with "//".');const{server:l,lazy:c,default:u,transform:f,pick:d,watch:h,immediate:p,getCachedData:g,deep:m,dedupe:v,..._}=r,y=Tt({...PS,..._,cache:typeof r.cache=="boolean"?void 0:r.cache}),b={server:l,lazy:c,default:u,transform:f,pick:d,immediate:p,getCachedData:g,deep:m,dedupe:v,watch:h===!1?[]:[y,s,...h||[]]};let E;return A0(a,()=>{E?.abort?.(),E=typeof AbortController<"u"?new AbortController:{};const O=sn(r.timeout);return O&&setTimeout(()=>E.abort(),O),(r.$fetch||globalThis.$fetch)(s.value,{signal:E.signal,...y})},b)}function dk(e){const t=[sn(e.method)?.toUpperCase()||"GET",sn(e.baseURL)];for(const n of[e.params||e.query]){const r=sn(n);if(!r)continue;const o={};for(const[s,i]of Object.entries(r))o[sn(s)]=sn(i);t.push(o)}return t}function i3(e,t,n){return Math.min(n,Math.max(t,e))}const hk="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function pk(e=16,t=hk){let n="",r=e;const o=t.length;for(;r--;)n+=t[Math.random()*o|0];return n}function jv(e,t,n=!1){return t.reduce((r,o)=>(o in e&&(!n||e[o]!==void 0)&&(r[o]=e[o]),r),{})}function zv(){return pt("getServerPages",()=>we.getServerPages())}function mk(){return pt("getServerRoutes",()=>we.getServerRoutes())}function gk(){return pt("getServerTasks",()=>we.getServerTasks())}function a3(){return pt("getServerHooks",()=>we.getServerHooks())}function l3(){return pt("getServerLayouts",()=>we.getServerLayouts())}function c3(){return pt("getAutoImports",()=>we.getAutoImports())}function u3(){return pt("getStaticAssets",()=>we.getStaticAssets())}function Hv(){return pt("getServerConfig",()=>we.getServerConfig())}function f3(){return pt("getServerRuntimeConfig",()=>we.getServerRuntimeConfig())}function d3(){return pt("getModuleOptions",()=>we.getModuleOptions())}function h3(){return pt("getServerApp",()=>we.getServerApp())}function vk(){return pt("getCustomTabs",()=>we.getCustomTabs())}function ep(){return pt("getTerminals",()=>we.getTerminals())}function p3(){return pt("getAnalyzeBuildInfo",()=>we.getAnalyzeBuildInfo())}function yk(){const{data:e}=fk("/_vfs.json",{key:"vfs-list",baseURL:"/",responseType:"json"},"$1Vz4NDBkXu");return e}function m3(){const e=zv(),t=Cv();return se(()=>(t.value?.getRoutes()||[]).map(n=>jv(n,["path","name","meta","props","children"])).map(n=>({...e.value?.find(r=>r.name&&r.name===n.name),...n})))}const qo={icon:"i-logos-pinia",title:"Pinia",layout:"full",show(){const e=Hv();return()=>e.value?.modules?.some(t=>t?.includes("@pinia/nuxt"))}},Yo={icon:"carbon-plug",title:"Plugins",category:"analyze"},Xo={icon:"carbon-settings-services",title:"Runtime Configs",category:"analyze",show:()=>{const e=at();return()=>!!e.value},order:6},Jo={icon:"carbon-cloud",title:"Server Routes",layout:"full",category:"server",show(){const e=mk();return()=>e.value?.length}},Uv=U(await we.getOptions("assets")),_k=Ja(Uv);Gu(Uv,async e=>{we.updateOptions("assets",e)},{deep:!0,flush:"post",debounce:500,maxWait:1e3});const Vv=U(await we.getOptions("serverRoutes")),bk=Ja(Vv);Gu(Vv,async e=>{we.updateOptions("serverRoutes",e)},{deep:!0,flush:"post",debounce:500,maxWait:1e3});const Gv=U(await we.getOptions("serverTasks")),wk=Ja(Gv);Gu(Gv,async e=>{we.updateOptions("serverTasks",e)},{deep:!0,flush:"post",debounce:500,maxWait:1e3});const Ek={serverRoutes:bk,serverTasks:wk,assets:_k};function Sk(e){return Ek[e]}const Zo={icon:"codicon-run-all",title:"Server Tasks",layout:"full",category:"server",show(){const{enabled:e}=Sk("serverTasks"),t=gk();return()=>e.value?Object.keys(t.value?.tasks??{}).length:!1}},Qo={icon:"carbon-data-base",title:"Storage",layout:"full",category:"server"},es={icon:"carbon-terminal",title:"Terminals",layout:"full",show(){const e=ep();return()=>!!e.value?.length},badge(){const e=ep();return()=>e.value?.filter(t=>!t.isTerminated).length}},ts={icon:"i-carbon-roadmap",title:"Timeline",category:"analyze"},ns={icon:"i-carbon-border-none",title:"Virtual Files",layout:"full",category:"advanced"},rs={layout:"full"},tp=[{name:Oo?.name??"__blank",path:Oo?.path??"/__blank",meta:Oo||{},alias:Oo?.alias||[],redirect:Oo?.redirect,component:()=>ge(()=>import("./CJU5ujxD.js"),[],import.meta.url).then(e=>e.default||e)},{name:No?.name??"index",path:No?.path??"/",meta:No||{},alias:No?.alias||[],redirect:No?.redirect,component:()=>ge(()=>import("./D26FlHPL.js"),__vite__mapDeps([8,9,10]),import.meta.url).then(e=>e.default||e)},{name:Lo?.name??"modules-analyze-build",path:Lo?.path??"/modules/analyze-build",meta:Lo||{},alias:Lo?.alias||[],redirect:Lo?.redirect,component:()=>ge(()=>import("./B-HJZUhU.js"),__vite__mapDeps([11,12,13,14,15,10,16,17]),import.meta.url).then(e=>e.default||e)},{name:Do?.name??"modules-assets",path:Do?.path??"/modules/assets",meta:Do||{},alias:Do?.alias||[],redirect:Do?.redirect,component:()=>ge(()=>import("./CYVTKYED.js"),__vite__mapDeps([18,10,19,20,21,22,23,12,24,13,14,15,25,26,27]),import.meta.url).then(e=>e.default||e)},{name:Mo?.name??"modules-components-tree",path:Mo?.path??"/modules/components-tree",meta:Mo||{},alias:Mo?.alias||[],redirect:Mo?.redirect,component:()=>ge(()=>import("./DxtaXLVv.js"),__vite__mapDeps([28,29]),import.meta.url).then(e=>e.default||e)},{name:Fo?.name??"modules-components",path:Fo?.path??"/modules/components",meta:Fo||{},alias:Fo?.alias||[],redirect:Fo?.redirect,component:()=>ge(()=>import("./BVCgwITN.js"),__vite__mapDeps([30,16,17,31,10,20,32,12,25,33,21,22,23,26]),import.meta.url).then(e=>e.default||e)},{name:Bo?.name??"modules-custom-name",path:Bo?.path??"/modules/custom-:name()",meta:Bo||{},alias:Bo?.alias||[],redirect:Bo?.redirect,component:()=>ge(()=>import("./D_ZAQadg.js"),__vite__mapDeps([34,35,36,14]),import.meta.url).then(e=>e.default||e)},{name:jo?.name??"modules-error",path:jo?.path??"/modules/error",meta:jo||{},alias:jo?.alias||[],redirect:jo?.redirect,component:()=>ge(()=>import("./BVT_pDx1.js"),__vite__mapDeps([37,38,12]),import.meta.url).then(e=>e.default||e)},{name:zo?.name??"modules-hooks",path:zo?.path??"/modules/hooks",meta:zo||{},alias:zo?.alias||[],redirect:zo?.redirect,component:()=>ge(()=>import("./s0KB5W3i.js"),__vite__mapDeps([39,40,21,22,23,16,17]),import.meta.url).then(e=>e.default||e)},{name:Ho?.name??"modules-imports",path:Ho?.path??"/modules/imports",meta:Ho||{},alias:Ho?.alias||[],redirect:Ho?.redirect,component:()=>ge(()=>import("./hXtXgLSE.js"),__vite__mapDeps([41,33,20,12,42,36,14,26,21,22,23,16,17]),import.meta.url).then(e=>e.default||e)},{name:Uo?.name??"modules-modules",path:Uo?.path??"/modules/modules",meta:Uo||{},alias:Uo?.alias||[],redirect:Uo?.redirect,component:()=>ge(()=>import("./l2Y-wpZG.js"),__vite__mapDeps([43,12,44,32,13,14,15,10,21,22,23,19,20,9,45,16,17]),import.meta.url).then(e=>e.default||e)},{name:Vo?.name??"modules-open-graph",path:Vo?.path??"/modules/open-graph",meta:Vo||{},alias:Vo?.alias||[],redirect:Vo?.redirect,component:()=>ge(()=>import("./8icePJ4I.js"),__vite__mapDeps([46,20,9,21,22,23,13,14,15,16,17,47]),import.meta.url).then(e=>e.default||e)},{name:Go?.name??"modules-overview",path:Go?.path??"/modules/overview",meta:Go||{},alias:Go?.alias||[],redirect:Go?.redirect,component:()=>ge(()=>import("./CBxMqsuL.js"),__vite__mapDeps([48,44,32,13,14,15,10,31]),import.meta.url).then(e=>e.default||e)},{name:Wo?.name??"modules-pages",path:Wo?.path??"/modules/pages",meta:Wo||{},alias:Wo?.alias||[],redirect:Wo?.redirect,component:()=>ge(()=>import("./CYpIh8Vy.js"),__vite__mapDeps([49,32,12,21,22,23,35,36,14,16,17]),import.meta.url).then(e=>e.default||e)},{name:Ko?.name??"modules-payload",path:Ko?.path??"/modules/payload",meta:Ko||{},alias:Ko?.alias||[],redirect:Ko?.redirect,component:()=>ge(()=>import("./WIBjn-aJ.js"),__vite__mapDeps([50,51,52,53,21,22,23,16,17]),import.meta.url).then(e=>e.default||e)},{name:qo?.name??"modules-pinia",path:qo?.path??"/modules/pinia",meta:qo||{},alias:qo?.alias||[],redirect:qo?.redirect,component:()=>ge(()=>import("./73fsk-_M.js"),__vite__mapDeps([54,29]),import.meta.url).then(e=>e.default||e)},{name:Yo?.name??"modules-plugins",path:Yo?.path??"/modules/plugins",meta:Yo||{},alias:Yo?.alias||[],redirect:Yo?.redirect,component:()=>ge(()=>import("./DTjbdWHx.js"),__vite__mapDeps([55,12,32,40,21,22,23,16,17]),import.meta.url).then(e=>e.default||e)},{name:Xo?.name??"modules-runtime-configs",path:Xo?.path??"/modules/runtime-configs",meta:Xo||{},alias:Xo?.alias||[],redirect:Xo?.redirect,component:()=>ge(()=>import("./CJ4574JA.js"),__vite__mapDeps([56,51,52,53,21,22,23,16,17]),import.meta.url).then(e=>e.default||e)},{name:Jo?.name??"modules-server-routes",path:Jo?.path??"/modules/server-routes",meta:Jo||{},alias:Jo?.alias||[],redirect:Jo?.redirect,component:()=>ge(()=>import("./CI_a6Yq_.js"),__vite__mapDeps([57,20,32,58,59,10,24,13,14,15,52,26,53,21,22,23,25]),import.meta.url).then(e=>e.default||e)},{name:Zo?.name??"modules-server-tasks",path:Zo?.path??"/modules/server-tasks",meta:Zo||{},alias:Zo?.alias||[],redirect:Zo?.redirect,component:()=>ge(()=>import("./C71Avik8.js"),__vite__mapDeps([60,20,32,59,10,58,13,14,15,26,53,21,22,23,25]),import.meta.url).then(e=>e.default||e)},{name:Qo?.name??"modules-storage",path:Qo?.path??"/modules/storage",meta:Qo||{},alias:Qo?.alias||[],redirect:Qo?.redirect,component:()=>ge(()=>import("./BYLmgL12.js"),__vite__mapDeps([61,58,9,12,53]),import.meta.url).then(e=>e.default||e)},{name:es?.name??"modules-terminals",path:es?.path??"/modules/terminals",meta:es||{},alias:es?.alias||[],redirect:es?.redirect,component:()=>ge(()=>import("./CQ0ZKsih.js"),__vite__mapDeps([62,63]),import.meta.url).then(e=>e.default||e)},{name:ts?.name??"modules-timeline",path:ts?.path??"/modules/timeline",meta:ts||{},alias:ts?.alias||[],redirect:ts?.redirect,component:()=>ge(()=>import("./DGmtW0X_.js"),__vite__mapDeps([64,40,32,42,36,14,12,26,53,38,25,35,9,45,13,15,16,17,65]),import.meta.url).then(e=>e.default||e)},{name:ns?.name??"modules-virtual-files",path:ns?.path??"/modules/virtual-files",meta:ns||{},alias:ns?.alias||[],redirect:ns?.redirect,component:()=>ge(()=>import("./4DrMDvOf.js"),__vite__mapDeps([66,20,13,14,15,16,17,67]),import.meta.url).then(e=>e.default||e)},{name:rs?.name??"settings",path:rs?.path??"/settings",meta:rs||{},alias:rs?.alias||[],redirect:rs?.redirect,component:()=>ge(()=>import("./D44vw0ad.js"),__vite__mapDeps([68,22,69,58,10,9]),import.meta.url).then(e=>e.default||e)}],Wv=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?et(e,t,n):n.default?.()});function np(e){const t=e?.meta.key??e.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||"");return typeof t=="function"?t(e):t}function xk(e,t){return e===t||t===Gt?!1:np(e)!==np(t)?!0:!e.matched.every((r,o)=>r.components&&r.components.default===t.matched[o]?.components?.default)}const Ck={scrollBehavior(e,t,n){const r=Ne(),o=rt().options?.scrollBehaviorType??"auto";let s=n||void 0;const i=typeof e.meta.scrollToTop=="function"?e.meta.scrollToTop(e,t):e.meta.scrollToTop;if(!s&&t&&e&&i!==!1&&xk(e,t)&&(s={left:0,top:0}),e.path===t.path)return t.hash&&!e.hash?{left:0,top:0}:e.hash?{el:e.hash,top:rp(e.hash),behavior:o}:!1;const a=c=>!!(c.meta.pageTransition??Cc),l=a(t)&&a(e)?"page:transition:finish":"page:finish";return new Promise(c=>{r.hooks.hookOnce(l,async()=>{await new Promise(u=>setTimeout(u,0)),e.hash&&(s={el:e.hash,top:rp(e.hash),behavior:o}),c(s)})})}};function rp(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}const Ak={hashMode:!1,scrollBehaviorType:"auto"},yn={...Ak,...Ck},Tk=async e=>{let t,n;if(!e.meta?.validate)return;const r=Ne(),o=rt();if(([t,n]=$s(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=qs({statusCode:404,statusMessage:`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}}),a=o.beforeResolve(l=>{if(a(),l===e){const c=o.afterEach(async()=>{c(),await r.runWithContext(()=>Ur(i)),window.history.pushState({},"",e.fullPath)});return!1}})},Rk=So("nuxt-devtools-first-visit",!0),Pk=D0(),zc=se(()=>Pk.width.value>1080),Kn=So("nuxt-devtools-split-screen",!1),Kv=So("nuxt-devtools-split-screen-view","overview"),$k=So("nuxt-devtools-frame-state",{},{listenToStorageChanges:!0});So("nuxt-devtools-panels-state",{},{listenToStorageChanges:!1});const ff=U(await we.getOptions("ui")),kk=Ja(ff);De(ff,async e=>{we.updateOptions("ui",e)},{deep:!0,flush:"post"});localStorage.getItem("nuxt-devtools-settings")&&(Object.assign(ff.value,JSON.parse(localStorage.getItem("nuxt-devtools-settings"))),localStorage.removeItem("nuxt-devtools-settings"));function Dr(){return kk}function Ok(){return $k}const ya=U(await we.getOptions("behavior").then(e=>e.telemetry));De(ya,async e=>{await we.updateOptions("behavior",{telemetry:e})});function sl(e,t,n=!1){ya.value!==!1&&we.telemetryEvent({event:e,browser:ln.browser.name,browserVersion:ln.browser.version,os:ln.os.name,osVersion:ln.os.version,deviceType:ln.device.type,inPopup:!!window.__NUXT_DEVTOOLS_IS_POPUP__,...t},n)}const Nk=e=>{if(e.path==="/"&&!(Rk.value||ya.value==null))return Ec("/modules/overview");if(e.path!=="/"&&ya.value==null)return Ec("/")},Ik=async e=>{let t,n;const r=([t,n]=$s(()=>Bu(e.path)),t=await t,n(),t);if(r.redirect)return On(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},Lk=[Tk,Nk,Ik],Hc={};function Dk(e,t,n){const{pathname:r,search:o,hash:s}=t,i=e.indexOf("#");if(i>-1){const c=s.includes(e.slice(i))?e.slice(i).length:1;let u=s.slice(c);return u[0]!=="/"&&(u="/"+u),_d(u,"")}const a=_d(r,e),l=!n||Cw(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":o)+s}const Mk=Ut({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=Ka().app.baseURL;yn.hashMode&&!r.includes("#")&&(r+="#");const o=yn.history?.(r)??(yn.hashMode?gx(r):w0(r)),s=yn.routes?.(tp)??tp;let i;const a=jx({...yn,scrollBehavior:(m,v,_)=>{if(v===Gt){i=_;return}if(yn.scrollBehavior){if(a.options.scrollBehavior=yn.scrollBehavior,"scrollRestoration"in window.history){const y=a.beforeEach(()=>{y(),window.history.scrollRestoration="manual"})}return yn.scrollBehavior(m,Gt,i||_)}},history:o,routes:s});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(a);const l=Jt(a.currentRoute.value);a.afterEach((m,v)=>{l.value=v}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>l.value});const c=Dk(r,window.location,e.payload.path),u=Jt(a.currentRoute.value),f=()=>{u.value=a.currentRoute.value};e.hook("page:finish",f),a.afterEach((m,v)=>{m.matched[0]?.components?.default===v.matched[0]?.components?.default&&f()});const d={};for(const m in u.value)Object.defineProperty(d,m,{get:()=>u.value[m]});e._route=vo(d),e._middleware=e._middleware||{global:[],named:{}};try{[t,n]=$s(()=>a.isReady()),await t,n()}catch(m){[t,n]=$s(()=>e.runWithContext(()=>Ur(m))),await t,n()}const h=c!==a.currentRoute.value.fullPath?a.resolve(c):a.currentRoute.value;f();const p=e.payload.state._layout;a.beforeEach(async(m,v)=>{await e.callHook("page:loading:start"),m.meta=Tt(m.meta),e.isHydrating&&p&&!no(m.meta.layout)&&(m.meta.layout=p),e._processingMiddleware=!0;{const _=new Set([...Lk,...e._middleware.global]);for(const y of m.matched){const b=y.meta.middleware;if(b)for(const E of Uu(b))_.add(E)}{const y=await e.runWithContext(()=>Bu(m.path));if(y.appMiddleware)for(const b in y.appMiddleware)y.appMiddleware[b]?_.add(b):_.delete(b)}for(const y of _){const b=typeof y=="string"?e._middleware.named[y]||await Hc[y]?.().then(C=>C.default||C):y;if(!b)throw new Error(`Unknown route middleware: '${y}'.`);const E=await e.runWithContext(()=>b(m,v));if(!e.payload.serverRendered&&e.isHydrating&&(E===!1||E instanceof Error)){const C=E||bc({statusCode:404,statusMessage:`Page Not Found: ${c}`});return await e.runWithContext(()=>Ur(C)),!1}if(E!==!0&&(E||E===!1))return E}}}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")});const g=qa();return a.afterEach(async(m,v,_)=>{delete e._processingMiddleware,!e.isHydrating&&g.value&&await e.runWithContext(TE),_&&await e.callHook("page:loading:end"),m.matched.length===0&&await e.runWithContext(()=>Ur(bc({statusCode:404,fatal:!1,statusMessage:`Page not found: ${m.fullPath}`,data:{path:m.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{"name"in h&&(h.name=void 0),await a.replace({...h,force:!0}),a.options.scrollBehavior=yn.scrollBehavior}catch(m){await e.runWithContext(()=>Ur(m))}}),{provide:{router:a}}}}),Fk=Ut({name:"nuxt:payload",setup(e){rt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Ld(t.path);r&&Object.assign(e.static.data,r.data)}),Vu(()=>{e.hooks.hook("link:prefetch",async t=>{Ws(t).protocol||await Ld(t)}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(Ya,1e3)})}}),Bk=Ut(e=>{let t;async function n(){const r=await Ya();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);try{const o=await $fetch(Mu("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}Vu(()=>{t=setTimeout(n,1e3*60*60)})}),jk=Ut({name:"nuxt:global-components"}),qn={default:()=>ge(()=>import("./Bwpf36Bl.js"),[],import.meta.url).then(e=>e.default||e),full:()=>ge(()=>import("./C8GUE1SK.js"),[],import.meta.url).then(e=>e.default||e),none:()=>ge(()=>import("./BxZrC5KW.js"),[],import.meta.url).then(e=>e.default||e)},zk=Ut({name:"nuxt:prefetch",setup(e){const t=rt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof qn[r]=="function"&&await qn[r]()})}),e.hooks.hook("link:prefetch",n=>{if(On(n))return;const r=t.resolve(n);if(!r)return;const o=r.meta.layout;let s=Uu(r.meta.middleware);s=s.filter(i=>typeof i=="string");for(const i of s)typeof Hc[i]=="function"&&Hc[i]();o&&typeof qn[o]=="function"&&qn[o]()})}}),Hk="__NUXT_COLOR_MODE__",Uk="ColorScheme",Vk="nuxt-color-mode",_n=window[Hk]||{},Gk=Ut(e=>{const t=bo("color-mode",()=>Tt({preference:_n.preference,value:_n.value,unknown:!1,forced:!1})).value;rt().afterEach(o=>{const s=o.meta.colorMode;s&&s!=="system"?(t.value=s,t.forced=!0):(s==="system"&&console.warn("You cannot force the colorMode to system at the page level."),t.forced=!1,t.value=t.preference==="system"?_n.getColorScheme():t.preference)});let n;function r(){n||!window.matchMedia||(n=window.matchMedia("(prefers-color-scheme: dark)"),n.addEventListener("change",()=>{!t.forced&&t.preference==="system"&&(t.value=_n.getColorScheme())}))}De(()=>t.preference,o=>{t.forced||(o==="system"?(t.value=_n.getColorScheme(),r()):t.value=o,window.localStorage?.setItem(Vk,o))},{immediate:!0}),De(()=>t.value,(o,s)=>{_n.removeColorScheme(s),_n.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=_n.preference,t.value=_n.value,t.unknown=!1)}),e.provide("colorMode",t)}),Wk=Ut(()=>{});function Kk(e={}){const t=e.path||window.location.pathname;let n={};try{n=ta(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:Ne().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const qk=Ut({name:"nuxt:chunk-reload",setup(e){const t=rt(),n=Ka(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:s})=>{r.add(s)});function o(s){const a="href"in s&&s.href[0]==="#"?n.app.baseURL+s.href:Ga(n.app.baseURL,s.fullPath);Kk({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((s,i)=>{r.has(s)&&o(i)})}}),Yk=["top","right","bottom","left"],op=["start","end"],sp=Yk.reduce((e,t)=>e.concat(t,t+"-"+op[0],t+"-"+op[1]),[]),Ms=Math.min,gr=Math.max,Xk={left:"right",right:"left",bottom:"top",top:"bottom"},Jk={start:"end",end:"start"};function Uc(e,t,n){return gr(e,Ms(t,n))}function Mr(e,t){return typeof e=="function"?e(t):e}function mn(e){return e.split("-")[0]}function Yt(e){return e.split("-")[1]}function qv(e){return e==="x"?"y":"x"}function df(e){return e==="y"?"height":"width"}function Qs(e){return["top","bottom"].includes(mn(e))?"y":"x"}function hf(e){return qv(Qs(e))}function Yv(e,t,n){n===void 0&&(n=!1);const r=Yt(e),o=hf(e),s=df(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=ba(i)),[i,ba(i)]}function Zk(e){const t=ba(e);return[_a(e),t,_a(t)]}function _a(e){return e.replace(/start|end/g,t=>Jk[t])}function Qk(e,t,n){const r=["left","right"],o=["right","left"],s=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?s:i;default:return[]}}function eO(e,t,n,r){const o=Yt(e);let s=Qk(mn(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(_a)))),s}function ba(e){return e.replace(/left|right|bottom|top/g,t=>Xk[t])}function tO(e){return{top:0,right:0,bottom:0,left:0,...e}}function Xv(e){return typeof e!="number"?tO(e):{top:e,right:e,bottom:e,left:e}}function ys(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function ip(e,t,n){let{reference:r,floating:o}=e;const s=Qs(t),i=hf(t),a=df(i),l=mn(t),c=s==="y",u=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[a]/2-o[a]/2;let h;switch(l){case"top":h={x:u,y:r.y-o.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-o.width,y:f};break;default:h={x:r.x,y:r.y}}switch(Yt(t)){case"start":h[i]-=d*(n&&c?-1:1);break;case"end":h[i]+=d*(n&&c?-1:1);break}return h}const nO=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:s=[],platform:i}=n,a=s.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=ip(c,r,l),d=r,h={},p=0;for(let g=0;g<a.length;g++){const{name:m,fn:v}=a[g],{x:_,y,data:b,reset:E}=await v({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:h,rects:c,platform:i,elements:{reference:e,floating:t}});if(u=_??u,f=y??f,h={...h,[m]:{...h[m],...b}},E&&p<=50){p++,typeof E=="object"&&(E.placement&&(d=E.placement),E.rects&&(c=E.rects===!0?await i.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:u,y:f}=ip(c,d,l)),g=-1;continue}}return{x:u,y:f,placement:d,strategy:o,middlewareData:h}};async function il(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:s,rects:i,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:h=0}=Mr(t,e),p=Xv(h),m=a[d?f==="floating"?"reference":"floating":f],v=ys(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(m)))==null||n?m:m.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),_=f==="floating"?{...i.floating,x:r,y:o}:i.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),b=await(s.isElement==null?void 0:s.isElement(y))?await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1}:{x:1,y:1},E=ys(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:_,offsetParent:y,strategy:l}):_);return{top:(v.top-E.top+p.top)/b.y,bottom:(E.bottom-v.bottom+p.bottom)/b.y,left:(v.left-E.left+p.left)/b.x,right:(E.right-v.right+p.right)/b.x}}const rO=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:s,platform:i,elements:a}=t,{element:l,padding:c=0}=Mr(e,t)||{};if(l==null)return{};const u=Xv(c),f={x:n,y:r},d=hf(o),h=df(d),p=await i.getDimensions(l),g=d==="y",m=g?"top":"left",v=g?"bottom":"right",_=g?"clientHeight":"clientWidth",y=s.reference[h]+s.reference[d]-f[d]-s.floating[h],b=f[d]-s.reference[d],E=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l));let C=E?E[_]:0;(!C||!await(i.isElement==null?void 0:i.isElement(E)))&&(C=a.floating[_]||s.floating[h]);const O=y/2-b/2,k=C/2-p[h]/2-1,D=Ms(u[m],k),P=Ms(u[v],k),L=D,A=C-p[h]-P,S=C/2-p[h]/2+O,T=Uc(L,S,A),R=Yt(o)!=null&&S!=T&&s.reference[h]/2-(S<L?D:P)-p[h]/2<0?S<L?L-S:A-S:0;return{[d]:f[d]-R,data:{[d]:T,centerOffset:S-T+R}}}});function oO(e,t,n){return(e?[...n.filter(o=>Yt(o)===e),...n.filter(o=>Yt(o)!==e)]:n.filter(o=>mn(o)===o)).filter(o=>e?Yt(o)===e||(t?_a(o)!==o:!1):!0)}const sO=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o;const{rects:s,middlewareData:i,placement:a,platform:l,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:d=sp,autoAlignment:h=!0,...p}=Mr(e,t),g=f!==void 0||d===sp?oO(f||null,h,d):d,m=await il(t,p),v=((n=i.autoPlacement)==null?void 0:n.index)||0,_=g[v];if(_==null)return{};const y=Yv(_,s,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==_)return{reset:{placement:g[0]}};const b=[m[mn(_)],m[y[0]],m[y[1]]],E=[...((r=i.autoPlacement)==null?void 0:r.overflows)||[],{placement:_,overflows:b}],C=g[v+1];if(C)return{data:{index:v+1,overflows:E},reset:{placement:C}};const O=E.map(P=>{const L=Yt(P.placement);return[P.placement,L&&u?P.overflows.slice(0,2).reduce((A,S)=>A+S,0):P.overflows[0],P.overflows]}).sort((P,L)=>P[1]-L[1]),D=((o=O.filter(P=>P[2].slice(0,Yt(P[0])?2:3).every(L=>L<=0))[0])==null?void 0:o[0])||O[0][0];return D!==a?{data:{index:v+1,overflows:E},reset:{placement:D}}:{}}}},iO=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n;const{placement:r,middlewareData:o,rects:s,initialPlacement:i,platform:a,elements:l}=t,{mainAxis:c=!0,crossAxis:u=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:p=!0,...g}=Mr(e,t),m=mn(r),v=mn(i)===i,_=await(a.isRTL==null?void 0:a.isRTL(l.floating)),y=f||(v||!p?[ba(i)]:Zk(i));!f&&h!=="none"&&y.push(...eO(i,p,h,_));const b=[i,...y],E=await il(t,g),C=[];let O=((n=o.flip)==null?void 0:n.overflows)||[];if(c&&C.push(E[m]),u){const L=Yv(r,s,_);C.push(E[L[0]],E[L[1]])}if(O=[...O,{placement:r,overflows:C}],!C.every(L=>L<=0)){var k,D;const L=(((k=o.flip)==null?void 0:k.index)||0)+1,A=b[L];if(A)return{data:{index:L,overflows:O},reset:{placement:A}};let S=(D=O.filter(T=>T.overflows[0]<=0).sort((T,B)=>T.overflows[1]-B.overflows[1])[0])==null?void 0:D.placement;if(!S)switch(d){case"bestFit":{var P;const T=(P=O.map(B=>[B.placement,B.overflows.filter(R=>R>0).reduce((R,$)=>R+$,0)]).sort((B,R)=>B[1]-R[1])[0])==null?void 0:P[0];T&&(S=T);break}case"initialPlacement":S=i;break}if(r!==S)return{reset:{placement:S}}}return{}}}};async function aO(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=mn(n),a=Yt(n),l=Qs(n)==="y",c=["left","top"].includes(i)?-1:1,u=s&&l?-1:1,f=Mr(t,e);let{mainAxis:d,crossAxis:h,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return a&&typeof p=="number"&&(h=a==="end"?p*-1:p),l?{x:h*u,y:d*c}:{x:d*c,y:h*u}}const lO=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await aO(t,e);return{x:n+o.x,y:r+o.y,data:o}}}},cO=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:a={fn:m=>{let{x:v,y:_}=m;return{x:v,y:_}}},...l}=Mr(e,t),c={x:n,y:r},u=await il(t,l),f=Qs(mn(o)),d=qv(f);let h=c[d],p=c[f];if(s){const m=d==="y"?"top":"left",v=d==="y"?"bottom":"right",_=h+u[m],y=h-u[v];h=Uc(_,h,y)}if(i){const m=f==="y"?"top":"left",v=f==="y"?"bottom":"right",_=p+u[m],y=p-u[v];p=Uc(_,p,y)}const g=a.fn({...t,[d]:h,[f]:p});return{...g,data:{x:g.x-n,y:g.y-r}}}}},uO=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){const{placement:n,rects:r,platform:o,elements:s}=t,{apply:i=()=>{},...a}=Mr(e,t),l=await il(t,a),c=mn(n),u=Yt(n),f=Qs(n)==="y",{width:d,height:h}=r.floating;let p,g;c==="top"||c==="bottom"?(p=c,g=u===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(g=c,p=u==="end"?"top":"bottom");const m=h-l[p],v=d-l[g],_=!t.middlewareData.shift;let y=m,b=v;if(f){const C=d-l.left-l.right;b=u||_?Ms(v,C):C}else{const C=h-l.top-l.bottom;y=u||_?Ms(m,C):C}if(_&&!u){const C=gr(l.left,0),O=gr(l.right,0),k=gr(l.top,0),D=gr(l.bottom,0);f?b=d-2*(C!==0||O!==0?C+O:gr(l.left,l.right)):y=h-2*(k!==0||D!==0?k+D:gr(l.top,l.bottom))}await i({...t,availableWidth:b,availableHeight:y});const E=await o.getDimensions(s.floating);return d!==E.width||h!==E.height?{reset:{rects:!0}}:{}}}};function Bt(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function fn(e){return Bt(e).getComputedStyle(e)}const ap=Math.min,_s=Math.max,wa=Math.round;function Jv(e){const t=fn(e);let n=parseFloat(t.width),r=parseFloat(t.height);const o=e.offsetWidth,s=e.offsetHeight,i=wa(n)!==o||wa(r)!==s;return i&&(n=o,r=s),{width:n,height:r,fallback:i}}function rr(e){return Qv(e)?(e.nodeName||"").toLowerCase():""}let Ti;function Zv(){if(Ti)return Ti;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Ti=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Ti):navigator.userAgent}function dn(e){return e instanceof Bt(e).HTMLElement}function er(e){return e instanceof Bt(e).Element}function Qv(e){return e instanceof Bt(e).Node}function lp(e){return typeof ShadowRoot>"u"?!1:e instanceof Bt(e).ShadowRoot||e instanceof ShadowRoot}function al(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=fn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function fO(e){return["table","td","th"].includes(rr(e))}function Vc(e){const t=/firefox/i.test(Zv()),n=fn(e),r=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!r&&r!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(o=>n.willChange.includes(o))||["paint","layout","strict","content"].some(o=>{const s=n.contain;return s!=null&&s.includes(o)})}function ey(){return!/^((?!chrome|android).)*safari/i.test(Zv())}function pf(e){return["html","body","#document"].includes(rr(e))}function ty(e){return er(e)?e:e.contextElement}const ny={x:1,y:1};function eo(e){const t=ty(e);if(!dn(t))return ny;const n=t.getBoundingClientRect(),{width:r,height:o,fallback:s}=Jv(t);let i=(s?wa(n.width):n.width)/r,a=(s?wa(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function Fs(e,t,n,r){var o,s;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=ty(e);let l=ny;t&&(r?er(r)&&(l=eo(r)):l=eo(e));const c=a?Bt(a):window,u=!ey()&&n;let f=(i.left+(u&&((o=c.visualViewport)==null?void 0:o.offsetLeft)||0))/l.x,d=(i.top+(u&&((s=c.visualViewport)==null?void 0:s.offsetTop)||0))/l.y,h=i.width/l.x,p=i.height/l.y;if(a){const g=Bt(a),m=r&&er(r)?Bt(r):r;let v=g.frameElement;for(;v&&r&&m!==g;){const _=eo(v),y=v.getBoundingClientRect(),b=getComputedStyle(v);y.x+=(v.clientLeft+parseFloat(b.paddingLeft))*_.x,y.y+=(v.clientTop+parseFloat(b.paddingTop))*_.y,f*=_.x,d*=_.y,h*=_.x,p*=_.y,f+=y.x,d+=y.y,v=Bt(v).frameElement}}return{width:h,height:p,top:d,right:f+h,bottom:d+p,left:f,x:f,y:d}}function tr(e){return((Qv(e)?e.ownerDocument:e.document)||window.document).documentElement}function ll(e){return er(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function ry(e){return Fs(tr(e)).left+ll(e).scrollLeft}function Bs(e){if(rr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||lp(e)&&e.host||tr(e);return lp(t)?t.host:t}function oy(e){const t=Bs(e);return pf(t)?t.ownerDocument.body:dn(t)&&al(t)?t:oy(t)}function Ea(e,t){var n;t===void 0&&(t=[]);const r=oy(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=Bt(r);return o?t.concat(s,s.visualViewport||[],al(r)?r:[]):t.concat(r,Ea(r))}function cp(e,t,n){return t==="viewport"?ys(function(r,o){const s=Bt(r),i=tr(r),a=s.visualViewport;let l=i.clientWidth,c=i.clientHeight,u=0,f=0;if(a){l=a.width,c=a.height;const d=ey();(d||!d&&o==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}}(e,n)):er(t)?ys(function(r,o){const s=Fs(r,!0,o==="fixed"),i=s.top+r.clientTop,a=s.left+r.clientLeft,l=dn(r)?eo(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:a*l.x,y:i*l.y}}(t,n)):ys(function(r){const o=tr(r),s=ll(r),i=r.ownerDocument.body,a=_s(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),l=_s(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let c=-s.scrollLeft+ry(r);const u=-s.scrollTop;return fn(i).direction==="rtl"&&(c+=_s(o.clientWidth,i.clientWidth)-a),{width:a,height:l,x:c,y:u}}(tr(e)))}function up(e){return dn(e)&&fn(e).position!=="fixed"?e.offsetParent:null}function fp(e){const t=Bt(e);let n=up(e);for(;n&&fO(n)&&fn(n).position==="static";)n=up(n);return n&&(rr(n)==="html"||rr(n)==="body"&&fn(n).position==="static"&&!Vc(n))?t:n||function(r){let o=Bs(r);for(;dn(o)&&!pf(o);){if(Vc(o))return o;o=Bs(o)}return null}(e)||t}function dO(e,t,n){const r=dn(t),o=tr(t),s=Fs(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((rr(t)!=="body"||al(o))&&(i=ll(t)),dn(t)){const l=Fs(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else o&&(a.x=ry(o));return{x:s.left+i.scrollLeft-a.x,y:s.top+i.scrollTop-a.y,width:s.width,height:s.height}}const hO={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=n==="clippingAncestors"?function(c,u){const f=u.get(c);if(f)return f;let d=Ea(c).filter(m=>er(m)&&rr(m)!=="body"),h=null;const p=fn(c).position==="fixed";let g=p?Bs(c):c;for(;er(g)&&!pf(g);){const m=fn(g),v=Vc(g);(p?v||h:v||m.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=m:d=d.filter(_=>_!==g),g=Bs(g)}return u.set(c,d),d}(t,this._c):[].concat(n),i=[...s,r],a=i[0],l=i.reduce((c,u)=>{const f=cp(t,u,o);return c.top=_s(f.top,c.top),c.right=ap(f.right,c.right),c.bottom=ap(f.bottom,c.bottom),c.left=_s(f.left,c.left),c},cp(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=dn(n),s=tr(n);if(n===s)return t;let i={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((o||!o&&r!=="fixed")&&((rr(n)!=="body"||al(s))&&(i=ll(n)),dn(n))){const c=Fs(n);a=eo(n),l.x=c.x+n.clientLeft,l.y=c.y+n.clientTop}return{width:t.width*a.x,height:t.height*a.y,x:t.x*a.x-i.scrollLeft*a.x+l.x,y:t.y*a.y-i.scrollTop*a.y+l.y}},isElement:er,getDimensions:function(e){return dn(e)?Jv(e):e.getBoundingClientRect()},getOffsetParent:fp,getDocumentElement:tr,getScale:eo,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||fp,s=this.getDimensions;return{reference:dO(t,await o(n),r),floating:{x:0,y:0,...await s(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>fn(e).direction==="rtl"},pO=(e,t,n)=>{const r=new Map,o={platform:hO,...n},s={...o.platform,_c:r};return nO(e,t,{...o,platform:s})};function sy(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?sy(e[n],t[n]):e[n]=t[n])}const xn={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:0,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"],delay:{show:0,hide:400}}}};function js(e,t){let n=xn.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=xn.themes[n.$extend]||{}:(n=null,r=xn[t]):n=null;while(n);return r}function mO(e){const t=[e];let n=xn.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=xn.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function dp(e){const t=[e];let n=xn.themes[e]||{};do n.$extend?(t.push(n.$extend),n=xn.themes[n.$extend]||{}):n=null;while(n);return t}let Or=!1;if(typeof window<"u"){Or=!1;try{const e=Object.defineProperty({},"passive",{get(){Or=!0}});window.addEventListener("test",null,e)}catch{}}let iy=!1;typeof window<"u"&&typeof navigator<"u"&&(iy=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const ay=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),hp={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},pp={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function mp(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Gl(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Kt=[];let pr=null;const gp={};function vp(e){let t=gp[e];return t||(t=gp[e]=[]),t}let Gc=function(){};typeof window<"u"&&(Gc=window.Element);function Pe(e){return function(t){return js(t.theme,e)}}const Wl="__floating-vue__popper",ly=()=>Ae({name:"VPopper",provide(){return{[Wl]:{parentPopper:this}}},inject:{[Wl]:{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:Pe("disabled")},positioningDisabled:{type:Boolean,default:Pe("positioningDisabled")},placement:{type:String,default:Pe("placement"),validator:e=>ay.includes(e)},delay:{type:[String,Number,Object],default:Pe("delay")},distance:{type:[Number,String],default:Pe("distance")},skidding:{type:[Number,String],default:Pe("skidding")},triggers:{type:Array,default:Pe("triggers")},showTriggers:{type:[Array,Function],default:Pe("showTriggers")},hideTriggers:{type:[Array,Function],default:Pe("hideTriggers")},popperTriggers:{type:Array,default:Pe("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Pe("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Pe("popperHideTriggers")},container:{type:[String,Object,Gc,Boolean],default:Pe("container")},boundary:{type:[String,Gc],default:Pe("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:Pe("strategy")},autoHide:{type:[Boolean,Function],default:Pe("autoHide")},handleResize:{type:Boolean,default:Pe("handleResize")},instantMove:{type:Boolean,default:Pe("instantMove")},eagerMount:{type:Boolean,default:Pe("eagerMount")},popperClass:{type:[String,Array,Object],default:Pe("popperClass")},computeTransformOrigin:{type:Boolean,default:Pe("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Pe("autoMinSize")},autoSize:{type:[Boolean,String],default:Pe("autoSize")},autoMaxSize:{type:Boolean,default:Pe("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Pe("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Pe("preventOverflow")},overflowPadding:{type:[Number,String],default:Pe("overflowPadding")},arrowPadding:{type:[Number,String],default:Pe("arrowPadding")},arrowOverflow:{type:Boolean,default:Pe("arrowOverflow")},flip:{type:Boolean,default:Pe("flip")},shift:{type:Boolean,default:Pe("shift")},shiftCrossAxis:{type:Boolean,default:Pe("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Pe("noAutoFocus")},disposeTimeout:{type:Number,default:Pe("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},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[Wl])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},...["triggers","positioningDisabled"].reduce((e,t)=>(e[t]="$_refreshListeners",e),{}),...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.$_isDisposed=!0,this.randomId=`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var r,o;(r=this.parentPopper)!=null&&r.lockedChild&&this.parentPopper.lockedChild!==this||(this.$_pendingHide=!1,(n||!this.disabled)&&(((o=this.parentPopper)==null?void 0:o.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.$_pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.$_isDisposed&&(this.$_isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.$_isDisposed||(this.$_isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.$_isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(lO({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(sO({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(cO({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(iO({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(rO({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:o,middlewareData:s})=>{let i;const{centerOffset:a}=s.arrow;return r.startsWith("top")||r.startsWith("bottom")?i=Math.abs(a)>o.reference.width/2:i=Math.abs(a)>o.reference.height/2,{data:{overflow:i}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:o,placement:s,middlewareData:i})=>{var a;if((a=i.autoSize)!=null&&a.skip)return{};let l,c;return s.startsWith("top")||s.startsWith("bottom")?l=o.reference.width:c=o.reference.height,this.$_innerNode.style[r==="min"?"minWidth":r==="max"?"maxWidth":"width"]=l!=null?`${l}px`:null,this.$_innerNode.style[r==="min"?"minHeight":r==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(uO({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:r,availableHeight:o})=>{this.$_innerNode.style.maxWidth=r!=null?`${r}px`:null,this.$_innerNode.style.maxHeight=o!=null?`${o}px`:null}})));const n=await pO(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),pr&&this.instantMove&&pr.instantMove&&pr!==this.parentPopper){pr.$_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&&(pr=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 Gl(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Ea(this.$_referenceNode),...Ea(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),r=n.parentNode.getBoundingClientRect(),o=t.x+t.width/2-(r.left+n.offsetLeft),s=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${o}px ${s}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<Kt.length;n++)t=Kt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}Kt.push(this),document.body.classList.add("v-popper--some-open");for(const t of dp(this.theme))vp(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 Gl(),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,mp(Kt,this),Kt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of dp(this.theme)){const r=vp(n);mp(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}pr===this&&(pr=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 Gl(),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,hp,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],hp,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,pp,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],pp,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(r=>r.addEventListener(t,n,Or?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,o){let s=n;r!=null&&(s=typeof r=="function"?r(s):r),s.forEach(i=>{const a=t[i];a&&this.$_registerEventListeners(e,a,o)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:o,handler:s}=n;!e||e===o?r.forEach(i=>i.removeEventListener(o,s)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.$_isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const r=n.getAttribute(e);r&&(n.removeAttribute(e),n.setAttribute(t,r))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const r=e[n];r==null?t.removeAttribute(n):t.setAttribute(n,r)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.$_pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(bs>=e.left&&bs<=e.right&&ws>=e.top&&ws<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=bs-Fn,r=ws-Bn,o=t.left+t.width/2-Fn+(t.top+t.height/2)-Bn+t.width+t.height,s=Fn+n*o,i=Bn+r*o;return Ri(Fn,Bn,s,i,t.left,t.top,t.left,t.bottom)||Ri(Fn,Bn,s,i,t.left,t.top,t.right,t.top)||Ri(Fn,Bn,s,i,t.right,t.top,t.right,t.bottom)||Ri(Fn,Bn,s,i,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});typeof document<"u"&&typeof window<"u"&&(iy?(document.addEventListener("touchstart",yp,Or?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",vO,Or?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",yp,!0),window.addEventListener("click",gO,!0)),window.addEventListener("resize",bO));function yp(e){for(let t=0;t<Kt.length;t++){const n=Kt[t];try{const r=n.popperNode();n.$_mouseDownContains=r.contains(e.target)}catch{}}}function gO(e){cy(e)}function vO(e){cy(e,!0)}function cy(e,t=!1){const n={};for(let r=Kt.length-1;r>=0;r--){const o=Kt[r];try{const s=o.$_containsGlobalTarget=yO(o,e);o.$_pendingHide=!1,requestAnimationFrame(()=>{if(o.$_pendingHide=!1,!n[o.randomId]&&_p(o,s,e)){if(o.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&s){let a=o.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let i=o.parentPopper;for(;i&&_p(i,i.$_containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function yO(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function _p(e,t,n){return n.closeAllPopover||n.closePopover&&t||_O(e,n)&&!t}function _O(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function bO(e){for(let t=0;t<Kt.length;t++)Kt[t].$_computePosition(e)}let Fn=0,Bn=0,bs=0,ws=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Fn=bs,Bn=ws,bs=e.clientX,ws=e.clientY},Or?{passive:!0}:void 0);function Ri(e,t,n,r,o,s,i,a){const l=((i-o)*(t-s)-(a-s)*(e-o))/((a-s)*(n-e)-(i-o)*(r-t)),c=((n-e)*(t-s)-(r-t)*(e-o))/((a-s)*(n-e)-(i-o)*(r-t));return l>=0&&l<=1&&c>=0&&c<=1}const wO={extends:ly()},cl=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function EO(e,t,n,r,o,s){return Y(),ve("div",{ref:"reference",class:Qe(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[tt(e.$slots,"default",du(za(e.slotData)))],2)}const SO=cl(wO,[["render",EO]]);function xO(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var r=e.indexOf("rv:");return parseInt(e.substring(r+3,e.indexOf(".",r)),10)}var o=e.indexOf("Edge/");return o>0?parseInt(e.substring(o+5,e.indexOf(".",o)),10):-1}let Bi;function Wc(){Wc.init||(Wc.init=!0,Bi=xO()!==-1)}var ul={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Wc(),Nt(()=>{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",Bi&&this.$el.appendChild(e),e.data="about:blank",Bi||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&&(!Bi&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const CO=i1();o1("data-v-b329ee4c");const AO={class:"resize-observer",tabindex:"-1"};s1();const TO=CO((e,t,n,r,o,s)=>(Y(),xe("div",AO)));ul.render=TO;ul.__scopeId="data-v-b329ee4c";ul.__file="src/components/ResizeObserver.vue";const uy=(e="theme")=>({computed:{themeClass(){return mO(this[e])}}}),RO=Ae({name:"VPopperContent",components:{ResizeObserver:ul},mixins:[uy()],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}}}),PO=["id","aria-hidden","tabindex","data-popper-placement"],$O={ref:"inner",class:"v-popper__inner"},kO=V("div",{class:"v-popper__arrow-outer"},null,-1),OO=V("div",{class:"v-popper__arrow-inner"},null,-1),NO=[kO,OO];function IO(e,t,n,r,o,s){const i=An("ResizeObserver");return Y(),ve("div",{id:e.popperId,ref:"popover",class:Qe(["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:un(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]=Lg(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[V("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),V("div",{class:"v-popper__wrapper",style:un(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[V("div",$O,[e.mounted?(Y(),ve(Le,{key:0},[V("div",null,[tt(e.$slots,"default")]),e.handleResize?(Y(),xe(i,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Ge("",!0)],64)):Ge("",!0)],512),V("div",{ref:"arrow",class:"v-popper__arrow-container",style:un(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},NO,4)],4)],46,PO)}const fy=cl(RO,[["render",IO]]),dy={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Kc=function(){};typeof window<"u"&&(Kc=window.Element);const LO=Ae({name:"VPopperWrapper",components:{Popper:SO,PopperContent:fy},mixins:[dy,uy("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Kc,Boolean],default:void 0},boundary:{type:[String,Kc],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function DO(e,t,n,r,o,s){const i=An("PopperContent"),a=An("Popper");return Y(),xe(a,Rn({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=l=>e.$emit("update:shown",l)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:ue(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:h,hide:p,handleResize:g,onResize:m,classes:v,result:_})=>[tt(e.$slots,"default",{shown:c,show:h,hide:p}),K(i,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":g,classes:v,result:_,onHide:p,onResize:m},{default:ue(()=>[tt(e.$slots,"popper",{shown:c,hide:p})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const mf=cl(LO,[["render",DO]]),MO={...mf,name:"VDropdown",vPopperTheme:"dropdown"},FO={...mf,name:"VMenu",vPopperTheme:"menu"},BO={...mf,name:"VTooltip",vPopperTheme:"tooltip"},jO=Ae({name:"VTooltipDirective",components:{Popper:ly(),PopperContent:fy},mixins:[dy],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>js(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>js(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(r=>this.onResult(t,r)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}}),zO=["innerHTML"],HO=["textContent"];function UO(e,t,n,r,o,s){const i=An("PopperContent"),a=An("Popper");return Y(),xe(a,Rn({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:ue(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:h,handleResize:p,onResize:g,classes:m,result:v})=>[K(i,{ref:"popperContent",class:Qe({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":p,classes:m,result:v,onHide:h,onResize:g},{default:ue(()=>[e.html?(Y(),ve("div",{key:0,innerHTML:e.finalContent},null,8,zO)):(Y(),ve("div",{key:1,textContent:_t(e.finalContent)},null,8,HO))]),_: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 VO=cl(jO,[["render",UO]]),hy="v-popper--has-tooltip";function GO(e,t){let n=e.placement;if(!n&&t)for(const r of ay)t[r]&&(n=r);return n||(n=js(e.theme||"tooltip","placement")),n}function py(e,t,n){let r;const o=typeof t;return o==="string"?r={content:t}:t&&o==="object"?r=t:r={content:!1},r.placement=GO(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let Kl,zs,WO=0;function KO(){if(Kl)return;zs=U([]),Kl=Mg({name:"VTooltipDirectiveApp",setup(){return{directives:zs}},render(){return this.directives.map(t=>et(VO,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),Kl.mount(e)}function qO(e,t,n){KO();const r=U(py(e,t,n)),o=U(!1),s={id:WO++,options:r,shown:o};return zs.value.push(s),e.classList&&e.classList.add(hy),e.$_popper={options:r,item:s,show(){o.value=!0},hide(){o.value=!1}}}function my(e){if(e.$_popper){const t=zs.value.indexOf(e.$_popper.item);t!==-1&&zs.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(hy)}function bp(e,{value:t,modifiers:n}){const r=py(e,t,n);if(!r.content||js(r.theme||"tooltip","disabled"))my(e);else{let o;e.$_popper?(o=e.$_popper,o.options.value=r):o=qO(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?o.show():o.hide())}}const YO={beforeMount:bp,updated:bp,beforeUnmount(e){my(e)}};function wp(e){e.addEventListener("click",gy),e.addEventListener("touchstart",vy,Or?{passive:!0}:!1)}function Ep(e){e.removeEventListener("click",gy),e.removeEventListener("touchstart",vy),e.removeEventListener("touchend",yy),e.removeEventListener("touchcancel",_y)}function gy(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function vy(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",yy),t.addEventListener("touchcancel",_y)}}function yy(e){const t=e.currentTarget;if(t.$_vclosepopover_touch=!1,e.changedTouches.length===1){const n=e.changedTouches[0],r=t.$_vclosepopover_touchPoint;e.closePopover=Math.abs(n.screenY-r.screenY)<20&&Math.abs(n.screenX-r.screenX)<20,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}}function _y(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const XO={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&wp(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?wp(e):Ep(e))},beforeUnmount(e){Ep(e)}};function JO(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,sy(xn,t),e.directive("tooltip",YO),e.directive("close-popper",XO),e.component("VTooltip",BO),e.component("VDropdown",MO),e.component("VMenu",FO))}const ZO={version:"5.0.2",install:JO,options:xn},QO=Ut(e=>{e.vueApp.use(ZO)}),eN=Ut(()=>{const e=at(),t=ZR(),n=rt();function r(){Dm(e)}function o(i){t.value=i}function s(i){const a=i.searchParams.get("file");a?we.openInEditor(a):console.error("[nuxt-devtools] Failed to open file from Vue Inspector",i)}Object.defineProperty(window,"__NUXT_DEVTOOLS_VIEW__",{value:{setClient(i){e.value!==i&&(e.value=i,i.hooks.hook("host:update:reactivity",r),i.hooks.hook("host:inspector:update",o),i.hooks.hook("host:inspector:click",s),i.hooks.hook("host:action:reload",()=>location.reload()),i.hooks.hook("host:action:navigate",a=>n.push(a)),console.log("[nuxt-devtools] Client connected",i))}},enumerable:!1,configurable:!0}),n.afterEach(()=>{const i=n.currentRoute.value?.path;!i||i.includes("__")||e.value?.hooks.callHook("devtools:navigate",i)})}),tN=[MS,BS,Mk,Fk,Bk,jk,zk,Gk,Wk,qk,QO,eN];function nN(e,t){const n=t/e*100;return 2/Math.PI*100*Math.atan(n/50)}function rN(e={}){const{duration:t=2e3,throttle:n=200,hideDelay:r=500,resetDelay:o=400}=e,s=e.estimatedProgress||nN,i=Ne(),a=U(0),l=U(!1);let c=!1,u,f,d,h;const p=()=>g(0);function g(C=0){if(!i.isHydrating){if(C>=100)return v();y(),a.value=C<0?0:C,n?f=setTimeout(()=>{l.value=!0,b()},n):(l.value=!0,b())}}function m(){d=setTimeout(()=>{l.value=!1,h=setTimeout(()=>{a.value=0},o)},r)}function v(C={}){a.value=100,c=!0,y(),_(),C.force?(a.value=0,l.value=!1):m()}function _(){clearTimeout(d),clearTimeout(h)}function y(){clearTimeout(f),cancelAnimationFrame(u)}function b(){c=!1;let C;function O(k){if(c)return;C??=k;const D=k-C;a.value=Math.max(0,Math.min(100,s(t,D))),u=requestAnimationFrame(O)}u=requestAnimationFrame(O)}let E=()=>{};{const C=i.hook("page:loading:start",()=>{p()}),O=i.hook("page:loading:end",()=>{v()}),k=i.hook("vue:error",()=>v());E=()=>{k(),C(),O(),y()}}return{_cleanup:E,progress:se(()=>a.value),isLoading:se(()=>l.value),start:p,set:g,finish:v,clear:y}}function oN(e={}){const t=Ne(),n=t._loadingIndicator=t._loadingIndicator||rN(e);return Oa()&&(t._loadingIndicatorDeps=t._loadingIndicatorDeps||0,t._loadingIndicatorDeps++,Ui(()=>{t._loadingIndicatorDeps--,t._loadingIndicatorDeps===0&&(n._cleanup(),delete t._loadingIndicator)})),n}const sN=Ae({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%)"},estimatedProgress:{type:Function,required:!1}},setup(e,{slots:t,expose:n}){const{progress:r,isLoading:o,start:s,finish:i,clear:a}=oN({duration:e.duration,throttle:e.throttle,estimatedProgress:e.estimatedProgress});return n({progress:r,isLoading:o,start:s,finish:i,clear:a}),()=>et("div",{class:"nuxt-loading-indicator",style:{position:"fixed",top:0,right:0,left:0,pointerEvents:"none",width:"auto",height:`${e.height}px`,opacity:o.value?1:0,background:e.color||void 0,backgroundSize:`${100/r.value*100}% auto`,transform:`scaleX(${r.value}%)`,transformOrigin:"left",transition:"transform 0.1s, height 0.4s, opacity 0.4s",zIndex:999999}},t)}}),iN=Ae({__name:"NNotification",setup(e){const t=U(!1),n=U(),r=U(),o=U(),s=U("top-center");return c2(i=>{r.value=i.message,n.value=i.icon,o.value=i.classes??"text-primary border-primary",n.value=i.icon,t.value=!0,s.value=i.position??"top-center",setTimeout(()=>{t.value=!1},i.duration??1500)}),(i,a)=>(Y(),ve("div",{fixed:"","left-0":"","right-0":"","z-999":"","text-center":"",class:Qe([{"pointer-events-none overflow-hidden":!t.value},{"top-0":s.value.startsWith("top")},{"bottom-0":s.value.startsWith("bottom")}])},[V("div",{flex:"",style:un({justifyContent:s.value.includes("right")?"right":s.value.includes("left")?"left":"center"})},[V("div",{border:"~ base",flex:"~ inline gap2","m-3":"","inline-block":"","items-center":"",rounded:"","px-4":"","py-1":"","transition-all":"","duration-300":"","bg-base":"",style:un(t.value?{}:{transform:`translateY(${s.value.startsWith("top")?"-":""}300%)`}),class:Qe([t.value?"shadow":"shadow-none",o.value])},[n.value?(Y(),ve("div",{key:0,class:Qe(n.value)},null,2)):Ge("",!0),V("div",null,_t(r.value),1)],6)],4)],2))}}),ei=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},aN={},lN={class:"n-loading n-panel-grids-center"},cN={class:"flex flex-col animate-pulse items-center text-lg"},uN=V("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function fN(e,t){return Y(),ve("div",lN,[V("div",cN,[uN,tt(e.$slots,"default",{},()=>[Re(" Loading... ")])])])}const dN=ei(aN,[["render",fN]]),Ao=Ae({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(Y(),ve("div",{class:Qe(["n-icon",t.icon])},null,2))}});async function by(e,t=rt()){const{path:n,matched:r}=t.resolve(e);if(!r.length||(t._routePreloaded||(t._routePreloaded=new Set),t._routePreloaded.has(n)))return;const o=t._preloadPromises=t._preloadPromises||[];if(o.length>4)return Promise.all(o).then(()=>by(e,t));t._routePreloaded.add(n);const s=r.map(i=>i.components?.default).filter(i=>typeof i=="function");for(const i of s){const a=Promise.resolve(i()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}const hN=(...e)=>e.find(t=>t!==void 0);function pN(e){const t=e.componentName||"NuxtLink";function n(r,o){if(!r||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return r;if(typeof r=="string")return Sp(r,e.trailingSlash);const s="path"in r&&r.path!==void 0?r.path:o(r).path;return{...r,name:void 0,path:Sp(s,e.trailingSlash)}}return Ae({name:t,props:{to:{type:[String,Object],default:void 0,required:!1},href:{type:[String,Object],default:void 0,required:!1},target:{type:String,default:void 0,required:!1},rel:{type:String,default:void 0,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,default:void 0,required:!1},exactActiveClass:{type:String,default:void 0,required:!1},prefetchedClass:{type:String,default:void 0,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,default:void 0,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1}},setup(r,{slots:o}){const s=rt(),i=Ka(),a=se(()=>{const p=r.to||r.href||"";return n(p,s.resolve)}),l=se(()=>typeof a.value=="string"&&On(a.value,{acceptRelative:!0})),c=se(()=>r.target&&r.target!=="_self"),u=se(()=>r.external||c.value?!0:typeof a.value=="object"?!1:a.value===""||l.value),f=U(!1),d=U(null),h=p=>{d.value=r.custom?p?.$el?.nextElementSibling:p?.$el};if(r.prefetch!==!1&&r.noPrefetch!==!0&&r.target!=="_blank"&&!gN()){const g=Ne();let m,v=null;kn(()=>{const _=mN();Vu(()=>{m=$c(()=>{d?.value?.tagName&&(v=_.observe(d.value,async()=>{v?.(),v=null;const y=typeof a.value=="string"?a.value:s.resolve(a.value).fullPath;await Promise.all([g.hooks.callHook("link:prefetch",y).catch(()=>{}),!u.value&&by(a.value,s).catch(()=>{})]),f.value=!0}))})})}),Vs(()=>{m&&Gx(m),v?.(),v=null})}return()=>{if(!u.value){const v={ref:h,to:a.value,activeClass:r.activeClass||e.activeClass,exactActiveClass:r.exactActiveClass||e.exactActiveClass,replace:r.replace,ariaCurrentValue:r.ariaCurrentValue,custom:r.custom};return r.custom||(f.value&&(v.class=r.prefetchedClass||e.prefetchedClass),v.rel=r.rel||void 0),et(An("RouterLink"),v,o.default)}const p=typeof a.value=="object"?s.resolve(a.value)?.href??null:a.value&&!r.external&&!l.value?n(Ga(i.app.baseURL,a.value),s.resolve):a.value||null,g=r.target||null,m=hN(r.noRel?"":r.rel,e.externalRelAttribute,l.value||c.value?"noopener noreferrer":"")||null;if(r.custom){if(!o.default)return null;const v=()=>Ec(p,{replace:r.replace,external:r.external});return o.default({href:p,navigate:v,get route(){if(!p)return;const _=Ws(p);return{path:_.pathname,fullPath:_.pathname,get query(){return jg(_.search)},hash:_.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:p}},rel:m,target:g,isExternal:u.value,isActive:!1,isExactActive:!1})}return et("a",{ref:d,href:p,rel:m,target:g},o.default?.())}}})}const gf=pN(TS);function Sp(e,t){const n=t==="append"?ra:Va;return On(e)&&!e.startsWith("http")?e:n(e,!0)}function mN(){const e=Ne();if(e._observer)return e._observer;let t=null;const n=new Map,r=(s,i)=>(t||(t=new IntersectionObserver(a=>{for(const l of a){const c=n.get(l.target);(l.isIntersecting||l.intersectionRatio>0)&&c&&c()}})),n.set(s,i),t.observe(s),()=>{n.delete(s),t.unobserve(s),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function gN(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const ar=Ae({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(e){return(t,n)=>{const r=Ao;return Y(),xe(ro(t.to?j(gf):"button"),Rn({to:t.to},{...t.$attrs,...!t.to&&{type:t.type},...t.disabled?{disabled:!0}:{tabindex:0}},{class:[[{"n-button-base active:n-button-active focus-visible:n-focus-base hover:n-button-hover":t.border},{"n-icon-button":!t.$slots.default}],"n-button n-transition n-disabled:n-disabled"]}),{default:ue(()=>[tt(t.$slots,"icon",{},()=>[t.icon?(Y(),xe(r,{key:0,icon:t.icon,class:Qe({"n-button-icon":t.$slots.default})},null,8,["icon","class"])):Ge("",!0)]),tt(t.$slots,"default")]),_:3},16,["to","class"])}}}),vN=Symbol.for("nuxt:client-only"),yN=Ae({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=U(!1);return kn(()=>{r.value=!0}),Jn(vN,!0),o=>{if(r.value)return t.default?.();const s=t.fallback||t.placeholder;if(s)return s();const i=o.fallback||o.placeholder||"",a=o.fallbackTag||o.placeholderTag||"span";return ve(a,n,i)}}}),_N={name:Uk,props:{placeholder:String,tag:{type:String,default:"span"}}};function bN(e,t,n,r,o,s){const i=yN;return Y(),xe(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:ue(()=>[tt(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const wN=ei(_N,[["render",bN]]),EN=Ae({__name:"NDarkToggle",setup(e){const t=DC(),n=se({get(){return t.value==="dark"},set(){t.value=n.value?"light":"dark"}}),r=typeof document<"u"&&document.startViewTransition&&!window.matchMedia("(prefers-reduced-motion: reduce)").matches;function o(i){if(!r||!i){n.value=!n.value;return}const a=i.clientX,l=i.clientY,c=Math.hypot(Math.max(a,innerWidth-a),Math.max(l,innerHeight-l));document.startViewTransition(async()=>{n.value=!n.value,await Nt()}).ready.then(()=>{const f=[`circle(0px at ${a}px ${l}px)`,`circle(${c}px at ${a}px ${l}px)`];document.documentElement.animate({clipPath:n.value?[...f].reverse():f},{duration:400,easing:"ease-in",pseudoElement:n.value?"::view-transition-old(root)":"::view-transition-new(root)"})})}const s={mode:t,isDark:n,toggle:o};return(i,a)=>{const l=wN;return Y(),xe(l,{tag:"span"},{default:ue(()=>[tt(i.$slots,"default",du(za(s)))]),_:3})}}}),SN={class:"n-tip n-tip-base"},xN=Ae({__name:"NTip",props:{icon:{}},setup(e){return(t,n)=>{const r=Ao;return Y(),ve("div",SN,[tt(t.$slots,"icon",{},()=>[t.icon?(Y(),xe(r,{key:0,icon:t.icon,class:"n-tip-icon"},null,8,["icon"])):Ge("",!0)]),V("div",null,[tt(t.$slots,"default")])])}}}),CN={},AN={class:"n-card n-card-base"};function TN(e,t){return Y(),ve("div",AN,[tt(e.$slots,"default")])}const vf=ei(CN,[["render",TN]]);/*!
|
|
41
|
-
* tabbable 6.2.0
|
|
42
|
-
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
43
|
-
*/var wy=["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])"],Sa=wy.join(","),Ey=typeof Element>"u",Nr=Ey?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,xa=!Ey&&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},Ca=function e(t,n){var r;n===void 0&&(n=!0);var o=t==null||(r=t.getAttribute)===null||r===void 0?void 0:r.call(t,"inert"),s=o===""||o==="true",i=s||n&&t&&e(t.parentNode);return i},RN=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},Sy=function(t,n,r){if(Ca(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(Sa));return n&&Nr.call(t,Sa)&&o.unshift(t),o=o.filter(r),o},xy=function e(t,n,r){for(var o=[],s=Array.from(t);s.length;){var i=s.shift();if(!Ca(i,!1))if(i.tagName==="SLOT"){var a=i.assignedElements(),l=a.length?a:i.children,c=e(l,!0,r);r.flatten?o.push.apply(o,c):o.push({scopeParent:i,candidates:c})}else{var u=Nr.call(i,Sa);u&&r.filter(i)&&(n||!t.includes(i))&&o.push(i);var f=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),d=!Ca(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(f&&d){var h=e(f===!0?i.children:f.children,!0,r);r.flatten?o.push.apply(o,h):o.push({scopeParent:i,candidates:h})}else s.unshift.apply(s,i.children)}}return o},Cy=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},yr=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||RN(t))&&!Cy(t)?0:t.tabIndex},PN=function(t,n){var r=yr(t);return r<0&&n&&!Cy(t)?0:r},$N=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},Ay=function(t){return t.tagName==="INPUT"},kN=function(t){return Ay(t)&&t.type==="hidden"},ON=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},NN=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},IN=function(t){if(!t.name)return!0;var n=t.form||xa(t),r=function(a){return n.querySelectorAll('input[type="radio"][name="'+a+'"]')},o;if(typeof window<"u"&&typeof window.CSS<"u"&&typeof window.CSS.escape=="function")o=r(window.CSS.escape(t.name));else try{o=r(t.name)}catch(i){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",i.message),!1}var s=NN(o,t.form);return!s||s===t},LN=function(t){return Ay(t)&&t.type==="radio"},DN=function(t){return LN(t)&&!IN(t)},MN=function(t){var n,r=t&&xa(t),o=(n=r)===null||n===void 0?void 0:n.host,s=!1;if(r&&r!==t){var i,a,l;for(s=!!((i=o)!==null&&i!==void 0&&(a=i.ownerDocument)!==null&&a!==void 0&&a.contains(o)||t!=null&&(l=t.ownerDocument)!==null&&l!==void 0&&l.contains(t));!s&&o;){var c,u,f;r=xa(o),o=(c=r)===null||c===void 0?void 0:c.host,s=!!((u=o)!==null&&u!==void 0&&(f=u.ownerDocument)!==null&&f!==void 0&&f.contains(o))}}return s},xp=function(t){var n=t.getBoundingClientRect(),r=n.width,o=n.height;return r===0&&o===0},FN=function(t,n){var r=n.displayCheck,o=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var s=Nr.call(t,"details>summary:first-of-type"),i=s?t.parentElement:t;if(Nr.call(i,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof o=="function"){for(var a=t;t;){var l=t.parentElement,c=xa(t);if(l&&!l.shadowRoot&&o(l)===!0)return xp(t);t.assignedSlot?t=t.assignedSlot:!l&&c!==t.ownerDocument?t=c.host:t=l}t=a}if(MN(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return xp(t);return!1},BN=function(t){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))for(var n=t.parentElement;n;){if(n.tagName==="FIELDSET"&&n.disabled){for(var r=0;r<n.children.length;r++){var o=n.children.item(r);if(o.tagName==="LEGEND")return Nr.call(n,"fieldset[disabled] *")?!0:!o.contains(t)}return!0}n=n.parentElement}return!1},Aa=function(t,n){return!(n.disabled||Ca(n)||kN(n)||FN(n,t)||ON(n)||BN(n))},qc=function(t,n){return!(DN(n)||yr(n)<0||!Aa(t,n))},jN=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},zN=function e(t){var n=[],r=[];return t.forEach(function(o,s){var i=!!o.scopeParent,a=i?o.scopeParent:o,l=PN(a,i),c=i?e(o.candidates):a;l===0?i?n.push.apply(n,c):n.push(a):r.push({documentOrder:s,tabIndex:l,item:o,isScope:i,content:c})}),r.sort($N).reduce(function(o,s){return s.isScope?o.push.apply(o,s.content):o.push(s.content),o},[]).concat(n)},HN=function(t,n){n=n||{};var r;return n.getShadowRoot?r=xy([t],n.includeContainer,{filter:qc.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:jN}):r=Sy(t,n.includeContainer,qc.bind(null,n)),zN(r)},UN=function(t,n){n=n||{};var r;return n.getShadowRoot?r=xy([t],n.includeContainer,{filter:Aa.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=Sy(t,n.includeContainer,Aa.bind(null,n)),r},jr=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Nr.call(t,Sa)===!1?!1:qc(n,t)},VN=wy.concat("iframe").join(","),ql=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Nr.call(t,VN)===!1?!1:Aa(n,t)};/*!
|
|
44
|
-
* focus-trap 7.5.4
|
|
45
|
-
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
46
|
-
*/function Cp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Ap(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Cp(Object(n),!0).forEach(function(r){GN(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cp(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function GN(e,t,n){return t=KN(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function WN(e,t){if(typeof e!="object"||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||"default");if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function KN(e){var t=WN(e,"string");return typeof t=="symbol"?t:String(t)}var Tp={activateTrap:function(t,n){if(t.length>0){var r=t[t.length-1];r!==n&&r.pause()}var o=t.indexOf(n);o===-1||t.splice(o,1),t.push(n)},deactivateTrap:function(t,n){var r=t.indexOf(n);r!==-1&&t.splice(r,1),t.length>0&&t[t.length-1].unpause()}},qN=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},YN=function(t){return t?.key==="Escape"||t?.key==="Esc"||t?.keyCode===27},Es=function(t){return t?.key==="Tab"||t?.keyCode===9},XN=function(t){return Es(t)&&!t.shiftKey},JN=function(t){return Es(t)&&t.shiftKey},Rp=function(t){return setTimeout(t,0)},Pp=function(t,n){var r=-1;return t.every(function(o,s){return n(o)?(r=s,!1):!0}),r},os=function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return typeof t=="function"?t.apply(void 0,r):t},Pi=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},ZN=[],QN=function(t,n){var r=n?.document||document,o=n?.trapStack||ZN,s=Ap({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:XN,isKeyBackward:JN},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a,l=function(A,S,T){return A&&A[S]!==void 0?A[S]:s[T||S]},c=function(A,S){var T=typeof S?.composedPath=="function"?S.composedPath():void 0;return i.containerGroups.findIndex(function(B){var R=B.container,$=B.tabbableNodes;return R.contains(A)||T?.includes(R)||$.find(function(I){return I===A})})},u=function(A){var S=s[A];if(typeof S=="function"){for(var T=arguments.length,B=new Array(T>1?T-1:0),R=1;R<T;R++)B[R-1]=arguments[R];S=S.apply(void 0,B)}if(S===!0&&(S=void 0),!S){if(S===void 0||S===!1)return S;throw new Error("`".concat(A,"` was specified but was not a node, or did not return a node"))}var $=S;if(typeof S=="string"&&($=r.querySelector(S),!$))throw new Error("`".concat(A,"` as selector refers to no known node"));return $},f=function(){var A=u("initialFocus");if(A===!1)return!1;if(A===void 0||!ql(A,s.tabbableOptions))if(c(r.activeElement)>=0)A=r.activeElement;else{var S=i.tabbableGroups[0],T=S&&S.firstTabbableNode;A=T||u("fallbackFocus")}if(!A)throw new Error("Your focus-trap needs to have at least one focusable element");return A},d=function(){if(i.containerGroups=i.containers.map(function(A){var S=HN(A,s.tabbableOptions),T=UN(A,s.tabbableOptions),B=S.length>0?S[0]:void 0,R=S.length>0?S[S.length-1]:void 0,$=T.find(function(ae){return jr(ae)}),I=T.slice().reverse().find(function(ae){return jr(ae)}),J=!!S.find(function(ae){return yr(ae)>0});return{container:A,tabbableNodes:S,focusableNodes:T,posTabIndexesFound:J,firstTabbableNode:B,lastTabbableNode:R,firstDomTabbableNode:$,lastDomTabbableNode:I,nextTabbableNode:function(ie){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Se=S.indexOf(ie);return Se<0?le?T.slice(T.indexOf(ie)+1).find(function(Ce){return jr(Ce)}):T.slice(0,T.indexOf(ie)).reverse().find(function(Ce){return jr(Ce)}):S[Se+(le?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(A){return A.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!u("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(A){return A.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 L(A){var S=A.activeElement;if(S)return S.shadowRoot&&S.shadowRoot.activeElement!==null?L(S.shadowRoot):S},p=function L(A){if(A!==!1&&A!==h(document)){if(!A||!A.focus){L(f());return}A.focus({preventScroll:!!s.preventScroll}),i.mostRecentlyFocusedNode=A,qN(A)&&A.select()}},g=function(A){var S=u("setReturnFocus",A);return S||(S===!1?!1:A)},m=function(A){var S=A.target,T=A.event,B=A.isBackward,R=B===void 0?!1:B;S=S||Pi(T),d();var $=null;if(i.tabbableGroups.length>0){var I=c(S,T),J=I>=0?i.containerGroups[I]:void 0;if(I<0)R?$=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:$=i.tabbableGroups[0].firstTabbableNode;else if(R){var ae=Pp(i.tabbableGroups,function(Ve){var F=Ve.firstTabbableNode;return S===F});if(ae<0&&(J.container===S||ql(S,s.tabbableOptions)&&!jr(S,s.tabbableOptions)&&!J.nextTabbableNode(S,!1))&&(ae=I),ae>=0){var ie=ae===0?i.tabbableGroups.length-1:ae-1,le=i.tabbableGroups[ie];$=yr(S)>=0?le.lastTabbableNode:le.lastDomTabbableNode}else Es(T)||($=J.nextTabbableNode(S,!1))}else{var Se=Pp(i.tabbableGroups,function(Ve){var F=Ve.lastTabbableNode;return S===F});if(Se<0&&(J.container===S||ql(S,s.tabbableOptions)&&!jr(S,s.tabbableOptions)&&!J.nextTabbableNode(S))&&(Se=I),Se>=0){var Ce=Se===i.tabbableGroups.length-1?0:Se+1,Ke=i.tabbableGroups[Ce];$=yr(S)>=0?Ke.firstTabbableNode:Ke.firstDomTabbableNode}else Es(T)||($=J.nextTabbableNode(S))}}else $=u("fallbackFocus");return $},v=function(A){var S=Pi(A);if(!(c(S,A)>=0)){if(os(s.clickOutsideDeactivates,A)){a.deactivate({returnFocus:s.returnFocusOnDeactivate});return}os(s.allowOutsideClick,A)||A.preventDefault()}},_=function(A){var S=Pi(A),T=c(S,A)>=0;if(T||S instanceof Document)T&&(i.mostRecentlyFocusedNode=S);else{A.stopImmediatePropagation();var B,R=!0;if(i.mostRecentlyFocusedNode)if(yr(i.mostRecentlyFocusedNode)>0){var $=c(i.mostRecentlyFocusedNode),I=i.containerGroups[$].tabbableNodes;if(I.length>0){var J=I.findIndex(function(ae){return ae===i.mostRecentlyFocusedNode});J>=0&&(s.isKeyForward(i.recentNavEvent)?J+1<I.length&&(B=I[J+1],R=!1):J-1>=0&&(B=I[J-1],R=!1))}}else i.containerGroups.some(function(ae){return ae.tabbableNodes.some(function(ie){return yr(ie)>0})})||(R=!1);else R=!1;R&&(B=m({target:i.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(i.recentNavEvent)})),p(B||i.mostRecentlyFocusedNode||f())}i.recentNavEvent=void 0},y=function(A){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=A;var T=m({event:A,isBackward:S});T&&(Es(A)&&A.preventDefault(),p(T))},b=function(A){if(YN(A)&&os(s.escapeDeactivates,A)!==!1){A.preventDefault(),a.deactivate();return}(s.isKeyForward(A)||s.isKeyBackward(A))&&y(A,s.isKeyBackward(A))},E=function(A){var S=Pi(A);c(S,A)>=0||os(s.clickOutsideDeactivates,A)||os(s.allowOutsideClick,A)||(A.preventDefault(),A.stopImmediatePropagation())},C=function(){if(i.active)return Tp.activateTrap(o,a),i.delayInitialFocusTimer=s.delayInitialFocus?Rp(function(){p(f())}):p(f()),r.addEventListener("focusin",_,!0),r.addEventListener("mousedown",v,{capture:!0,passive:!1}),r.addEventListener("touchstart",v,{capture:!0,passive:!1}),r.addEventListener("click",E,{capture:!0,passive:!1}),r.addEventListener("keydown",b,{capture:!0,passive:!1}),a},O=function(){if(i.active)return r.removeEventListener("focusin",_,!0),r.removeEventListener("mousedown",v,!0),r.removeEventListener("touchstart",v,!0),r.removeEventListener("click",E,!0),r.removeEventListener("keydown",b,!0),a},k=function(A){var S=A.some(function(T){var B=Array.from(T.removedNodes);return B.some(function(R){return R===i.mostRecentlyFocusedNode})});S&&p(f())},D=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(k):void 0,P=function(){D&&(D.disconnect(),i.active&&!i.paused&&i.containers.map(function(A){D.observe(A,{subtree:!0,childList:!0})}))};return a={get active(){return i.active},get paused(){return i.paused},activate:function(A){if(i.active)return this;var S=l(A,"onActivate"),T=l(A,"onPostActivate"),B=l(A,"checkCanFocusTrap");B||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,S?.();var R=function(){B&&d(),C(),P(),T?.()};return B?(B(i.containers.concat()).then(R,R),this):(R(),this)},deactivate:function(A){if(!i.active)return this;var S=Ap({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},A);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,O(),i.active=!1,i.paused=!1,P(),Tp.deactivateTrap(o,a);var T=l(S,"onDeactivate"),B=l(S,"onPostDeactivate"),R=l(S,"checkCanReturnFocus"),$=l(S,"returnFocus","returnFocusOnDeactivate");T?.();var I=function(){Rp(function(){$&&p(g(i.nodeFocusedBeforeActivation)),B?.()})};return $&&R?(R(g(i.nodeFocusedBeforeActivation)).then(I,I),this):(I(),this)},pause:function(A){if(i.paused||!i.active)return this;var S=l(A,"onPause"),T=l(A,"onPostPause");return i.paused=!0,S?.(),O(),P(),T?.(),this},unpause:function(A){if(!i.paused||!i.active)return this;var S=l(A,"onUnpause"),T=l(A,"onPostUnpause");return i.paused=!1,S?.(),d(),C(),P(),T?.(),this},updateContainerElements:function(A){var S=[].concat(A).filter(Boolean);return i.containers=S.map(function(T){return typeof T=="string"?r.querySelector(T):T}),i.active&&d(),P(),this}},a.updateContainerElements(t),a};function eI(e,t={}){let n;const{immediate:r,...o}=t,s=U(!1),i=U(!1),a=f=>n&&n.activate(f),l=f=>n&&n.deactivate(f),c=()=>{n&&(n.pause(),i.value=!0)},u=()=>{n&&(n.unpause(),i.value=!1)};return De(()=>ht(e),f=>{f&&(n=QN(f,{...o,onActivate(){s.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){s.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&a())},{flush:"post"}),pn(()=>l()),{hasFocus:s,isPaused:i,activate:a,deactivate:l,pause:c,unpause:u}}const tI={inheritAttrs:!1},fl=Ae({...tI,__name:"NDialog",props:{modelValue:{type:Boolean,default:!1},dim:{type:Boolean,default:!0},autoClose:{type:Boolean,default:!0}},emits:["close","update:modelValue"],setup(e,{emit:t}){const n=e,r=t,o=L0(n,"modelValue",r,{passive:!0}),s=U(null),i=U(!1),{activate:a,deactivate:l}=eI(se(()=>s.value||document.body),{immediate:!1});return Rr(()=>{!i.value&&o.value&&(i.value=!0),o.value&&s.value?Nt(a):l()}),Ku(s,()=>{n.modelValue&&n.autoClose&&(o.value=!1,r("close"))},{ignore:["a","button","summary"]}),(c,u)=>{const f=vf;return i.value?(Y(),xe(vg,{key:0,to:"body"},[Ts(V("div",{class:Qe(["fixed inset-0 z-100 flex items-center justify-center n-transition n-glass-effect",[j(o)?"":"op0 pointer-events-none visibility-none"]]),role:"dialog","aria-modal":"true"},[V("div",{class:Qe(["absolute inset-0 -z-1",[c.dim?"glass-effect":""]])},null,2),K(f,Rn(c.$attrs,{ref_key:"card",ref:s,class:"max-h-screen of-auto"}),{default:ue(()=>[tt(c.$slots,"default")]),_:3},16)],2),[[dc,j(o)]])])):Ge("",!0)}}});function nI(){return Js("virtual-files:current","")}function g3(){return Js("terminals:current","")}function v3(){return Js("server-routes:current","")}function y3(){return Js("server-tasks:current","")}function _3(){const e=Hv(),t=yk(),n=rt(),r=nI();return async o=>{const s=e.value?.buildDir,i=s&&o.startsWith(s)?`#build${o.slice(s.length)}`:o,[a,l=1,c=0]=i.split(/:/g),u=t.value?.entries.find(f=>f.path===a||f.id===a)||t.value?.entries.find(f=>f.path===o||f.id===o);u?(r.value=u.id,n.push("/modules/virtual-files")):await we.openInEditor(o)}}function Ty(){const e=PC();return(t,n)=>{e.copy(t),sl("copy",{copyType:n}),tf({message:"Copied to clipboard",icon:"carbon-checkmark"})}}const rI=V("div",{"carbon-launch":""},null,-1),oI=V("div",{"carbon-launch":""},null,-1),sI=V("span",{"mt-0.5":"","text-xs":"",op50:""},"(not supported)",-1),iI=V("h1",{"text-3xl":""}," Popup is not Supported ",-1),aI=V("p",null,[Re(" To popup the DevTools, it requires the "),V("a",{href:"https://developer.chrome.com/docs/web-platform/document-picture-in-picture/",target:"_blank"},"Document Picture-in-Picture API"),Re(" which is currently in experimental state. ")],-1),lI=V("p",null,[Re(" As June 2023, the API is only available in Chrome 111 and above, under a flag "),V("code",null,"#document-picture-in-picture-api"),Re(". ")],-1),cI=Ae({__name:"PictureInPictureButton",setup(e){const t=at(),n=window.__NUXT_DEVTOOLS_IS_POPUP__,r=se(()=>window.isSecureContext),o=U(!1),s=Ty();function i(){const a=t.value?.devtools?.popup;a&&(sl("popup"),a())}return(a,l)=>{const c=ar,u=gf,f=xN,d=fl;return j(n)?Ge("",!0):(Y(),ve(Le,{key:0},[j(t)?.devtools.popup&&j(r)?(Y(),xe(c,{key:0,n:"sm primary",onClick:l[0]||(l[0]=h=>i())},{default:ue(()=>[rI,Re(" Popup ")]),_:1})):(Y(),ve(Le,{key:1},[K(c,{n:"sm primary",onClick:l[1]||(l[1]=h=>o.value=!0)},{default:ue(()=>[oI,Re(" Popup "),sI]),_:1}),K(d,{modelValue:j(o),"onUpdate:modelValue":l[4]||(l[4]=h=>je(o)?o.value=h:null),class:"max-w-150 p6 pt-2 prose",onClose:l[5]||(l[5]=h=>o.value=!1)},{default:ue(()=>[iI,aI,lI,V("p",null,[Re(" 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 "),K(c,{n:"xs primary",title:"Click to Copy",onClick:l[2]||(l[2]=h=>j(s)("chrome://flags/#document-picture-in-picture-api","external-docs"))},{default:ue(()=>[Re(" chrome://flags/#document-picture-in-picture-api ")]),_:1}),Re(" and restart the browser. ")]),j(r)?Ge("",!0):(Y(),xe(f,{key:0,class:"mb-4",n:"orange"},{default:ue(()=>[Re(" Please note that the popup feature only works when your server is running under HTTPS. "),K(u,{to:"https://nuxt.com/docs/api/nuxt-config#https",target:"_blank"},{default:ue(()=>[Re(" Learn how to run your server with https on Nuxt's Documentation ")]),_:1})]),_:1})),V("div",null,[K(c,{onClick:l[3]||(l[3]=h=>o.value=!1)},{default:ue(()=>[Re(" Close ")]),_:1})])]),_:1},8,["modelValue"])],64))],64))}}}),uI={px3:"",py2:"",border:"b base",flex:"~ gap-2"},fI=V("div",{"i-carbon-sun":"","dark:i-carbon-moon":"","translate-y--1px":""},null,-1),dI=V("div",{"i-carbon-settings-adjust":""},null,-1),hI={px3:"",py2:"",border:"b base",flex:"~ gap-2"},pI=V("div",{"i-carbon-split-screen":""},null,-1),mI={px3:"",py2:"",flex:"~ gap2"},gI=Ae({__name:"DockingPanel",setup(e){const{sidebarExpanded:t}=Dr();function n(){Kn.value=!Kn.value}return(r,o)=>{const s=ar,i=EN,a=Ao,l=cI;return Y(),ve("div",null,[V("div",uI,[K(i,null,{default:ue(({toggle:c,isDark:u})=>[K(s,{n:"sm primary",onClick:c},{default:ue(()=>[fI,Re(" "+_t(u.value?"Dark":"Light"),1)]),_:2},1032,["onClick"])]),_:1}),K(s,{n:"sm primary",onClick:o[0]||(o[0]=c=>t.value=!j(t))},{default:ue(()=>[K(a,{icon:j(t)?"i-carbon-side-panel-close":"i-carbon-side-panel-open"},null,8,["icon"]),Re(" "+_t(j(t)?"Minimize Sidebar":"Expand Sidebar"),1)]),_:1}),K(s,{n:"sm primary",to:"/settings"},{default:ue(()=>[dI,Re(" Settings ")]),_:1})]),V("div",hI,[("splitScreenAvailable"in r?r.splitScreenAvailable:j(zc))?(Y(),xe(s,{key:0,n:"sm primary",onClick:n},{default:ue(()=>[pI,Re(" "+_t(("splitScreenEnabled"in r?r.splitScreenEnabled:j(Kn))?"Close Split Screen":"Split Screen"),1)]),_:1})):Ge("",!0),K(l)]),V("div",mI,[K(s,{n:"primary sm",onClick:"refreshData"in r?r.refreshData:j(Tv)},{default:ue(()=>[Re(" Refetch Data ")]),_:1},8,["onClick"]),K(s,{n:"primary sm",onClick:"reloadPage"in r?r.reloadPage:j(Rv)},{default:ue(()=>[Re(" Reload Page ")]),_:1},8,["onClick"])])])}}}),vI=["src","alt"],yI=["title"],dl=Ae({__name:"TabIcon",props:{icon:{},title:{},showTitle:{type:Boolean,default:!0}},setup(e){return(t,n)=>t.icon&&(t.icon.startsWith("/")||t.icon.match(/^https?:/))?(Y(),ve("img",Rn({key:0,style:{width:"1em",height:"1em"}},t.$attrs,{src:t.icon,alt:t.title}),null,16,vI)):(Y(),ve("div",Rn({key:1,style:{width:"1em",height:"1em"}},t.$attrs,{class:t.icon||"carbon-bring-forward",title:t.showTitle?t.title:void 0}),null,16,yI))}}),_I={flex:"~ items-center gap-3"},bI={key:0,"overflow-hidden":"","text-ellipsis":"","ws-nowrap":""},wI={"translate-y-0.5px":""},EI={key:0,hidden:"","lg:block":""},Ry=Ae({__name:"SideNavItem",props:{tab:{},minimized:{type:Boolean,default:!0},target:{default:"main"}},setup(e){const t=e,n=_o(),r=se(()=>"path"in t.tab?t.tab.path:`/modules/custom-${t.tab.name}`),o=se(()=>"badge"in t.tab&&t.tab.badge?.()),s=se(()=>n.path.startsWith(r.value));function i(){sl("tab-click",{tab:t.tab.name,tabPosition:t.target}),"onClick"in t.tab&&t.tab.onClick?t.tab.onClick():t.target==="side"&&(Kv.value=t.tab.name)}return(a,l)=>{const c=dl,u=An("VTooltip");return Y(),xe(u,{disabled:!a.minimized,placement:"right",class:Qe({"w-full":!a.minimized})},{popper:ue(()=>[V("div",null,_t(a.tab.title),1),"extraTabVNode"in a.tab&&a.tab.extraTabVNode?(Y(),ve("div",EI,[(Y(),xe(ro(a.tab.extraTabVNode)))])):Ge("",!0)]),default:ue(()=>[(Y(),xe(ro(a.target==="main"?j(gf):"button"),{to:j(r),flex:`~ items-center ${a.minimized?"justify-center":"justify-between"}`,hover:"bg-active",relative:"",block:"","h-10":"",w:a.minimized?"10":"full","select-none":"",rounded:a.minimized?"xl":"",p:a.minimized?"1":"x3","text-secondary":"","exact-active-class":"!text-primary bg-active",onClick:i},{default:ue(()=>[V("div",_I,[K(c,{"text-xl":"",icon:a.tab.icon,title:"Settings","show-title":!1},null,8,["icon"]),a.minimized?Ge("",!0):(Y(),ve("span",bI,_t(a.tab.title),1))]),j(o)?(Y(),ve("div",{key:0,"h-4":"","w-4":"","rounded-full":"","text-9px":"","text-white":"",flex:"~ items-center justify-center",class:Qe([j(s)?"bg-primary":"bg-gray",{"absolute bottom-0 right-0":a.minimized}])},[V("span",wI,_t(("toValue"in a?a.toValue:j(sn))(j(o))),1)],2)):Ge("",!0)]),_:1},8,["to","flex","w","rounded","p"]))]),_:1},8,["disabled","class"])}}});function SI(){const e=vk(),t=Dr(),n=rt(),r=se(()=>[...n.getRoutes().filter(s=>s.path.startsWith("/modules/")&&s.meta.title&&!s.meta.wip).filter(s=>!s.meta.experimental||s.meta.experimental&&t.showExperimentalFeatures.value).sort((s,i)=>(s.meta.order||100)-(i.meta.order||100)).map(s=>({name:s.name,path:s.path,...s.meta})),...(e.value||[]).filter(s=>s.name.startsWith("builtin-"))]),o=se(()=>(e.value||[]).filter(s=>!s.name.startsWith("builtin-")));return se(()=>[...r.value,...o.value])}function Py(){return{pinned:[],app:[],analyze:[],server:[],modules:[],documentation:[],advanced:[]}}function ji(e){const{pinnedTabs:t}=Dr();return se(()=>{const n=Py();for(const r of j(e)){let o=r.category||"app";t.value.includes(r.name)&&(o="pinned"),n[o]?n[o].push(r):console.warn(`Unknown tab category: ${o}`)}for(const r of Object.keys(n))n[r].length===0&&delete n[r];return n.pinned?.length&&n.pinned.sort((r,o)=>t.value.indexOf(r.name)-t.value.indexOf(o.name)),Object.entries(n)})}function yf(){const e=SI(),t=Dr(),n=Object.keys(Py()),r=e.value.map(o=>o?.show?.());return se(()=>e.value.filter((o,s)=>{const i=o,a=t.pinnedTabs.value.includes(i.name);return!(a&&t.hiddenTabCategories.value.includes("pinned")||r[s]&&!sn(r[s])||t.hiddenTabs.value.includes(i.name)||t.hiddenTabCategories.value.includes(o.category||"app")&&!a)}).sort((o,s)=>n.indexOf(o.category||"app")-n.indexOf(s.category||"app")))}function b3(){const e=Cv(),t=zv();return se(()=>(e.value?.getRoutes()||[]).map(n=>jv(n,["path","name","meta","props","children"])).map(n=>({...t.value?.find(r=>r.name&&r.name===n.name),...n})))}const xI={flex:"~ col gap-1","max-w-80":"",py1:""},CI={key:0,"h-1px":"",border:"b base"},AI={flex:"~ wrap",px1:""},$y=Ae({__name:"TabsGrid",props:{categories:{},target:{}},setup(e){return(t,n)=>{const r=Ry;return Y(),ve("div",xI,[(Y(!0),ve(Le,null,Ps(t.categories,([o,s],i)=>(Y(),ve(Le,{key:o},[s.length?(Y(),ve(Le,{key:0},[i?(Y(),ve("div",CI)):Ge("",!0),V("div",AI,[(Y(!0),ve(Le,null,Ps(s,a=>(Y(),xe(r,{key:a.name,target:t.target,tab:a},null,8,["target","tab"]))),128))])],64)):Ge("",!0)],64))),128))])}}}),TI={id:"nuxt-devtools-side-nav",border:"r base",flex:"~ col","z-100":"","h-full":"","items-start":"","of-hidden":"","bg-base":""},RI={sticky:"","top-0":"","z-1":"","w-full":"",p1:"","bg-base":"",border:"b base"},PI=["title"],$I=V("div",{"i-logos-nuxt-icon":"","h-6":"","w-6":""},null,-1),kI=V("span",{text:"lg black dark:white","font-600":""}," DevTools ",-1),OI=V("div",{"flex-auto":""},null,-1),NI=V("div",{"i-carbon-overflow-menu-vertical":""},null,-1),II={key:0,my1:"","h-1px":"","w-full":"",border:"b base"},LI=V("div",{"flex-auto":""},null,-1),DI=["flex"],MI={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},FI={"translate-y-0.5px":""},BI=45,jI=Ae({__name:"SideNav",setup(e){const t=at(),n=yf(),{sidebarExpanded:r,sidebarScrollable:o}=Dr(),s=U(!1),i=U(!1),a=U(),l=U(),c=U();function u(){s.value=!s.value}function f(){i.value=!i.value}const{height:d}=D0(),h=se(()=>{const b=d.value-130;return Math.max(0,Math.floor(b/BI))}),p=se(()=>n.value.slice(0,h.value)),g=se(()=>n.value.slice(h.value)),m=ji(n),v=ji(p),_=ji(g),y=se(()=>o.value||r.value?m.value:v.value);return Ku(a,b=>{l.value&&b.composedPath().includes(l.value)||c.value&&b.composedPath().includes(c.value)||(s.value=!1,i.value=!1)},{detectIframe:!0}),(b,E)=>{const C=gI,O=An("VDropdown"),k=Ry,D=dl;return Y(),ve("div",TI,[V("div",RI,[K(O,{placement:"left-start",distance:12,skidding:5,triggers:[],shown:j(s),"auto-hide":!0},{popper:ue(()=>[K(C,{ref_key:"panel",ref:a},null,512)]),default:ue(()=>[V("button",{ref_key:"buttonDocking",ref:l,flex:"~ items-center justify-center gap-2",hover:"bg-active",relative:"","h-10":"","select-none":"",p2:"","text-secondary":"","exact-active-class":"!text-primary bg-active",class:Qe([j(t)?"":"saturate-0",j(r)?"w-full rounded pl2.5":"w-10 rounded-xl"]),title:j(t)?"Nuxt DevTools":"DevTools Client not connected, try open it in iframe mode",onClick:u},[$I,j(r)?(Y(),ve(Le,{key:0},[kI,OI,NI],64)):Ge("",!0)],10,PI)]),_:1},8,["shown"])]),V("div",{flex:"~ auto col gap-0.5 items-center","w-full":"",p1:"",class:Qe(["no-scrollbar",{"of-x-hidden of-y-auto":!!j(r)}])},[(Y(!0),ve(Le,null,Ps(j(y),([P,L],A)=>(Y(),ve(Le,{key:P},[L.length?(Y(),ve(Le,{key:0},[A?(Y(),ve("div",II)):Ge("",!0),(Y(!0),ve(Le,null,Ps(L,S=>(Y(),xe(k,{key:S.name,tab:S,minimized:!j(r)},null,8,["tab","minimized"]))),128))],64)):Ge("",!0)],64))),128)),LI],2),V("div",{flex:`~ items-center gap-1 ${j(r)?"":"none col"}`,border:"t base",sticky:"","bottom-0":"","w-full":"",p1:"","bg-base":""},[j(g).length&&!j(o)&&!j(r)?(Y(),xe(O,{key:0,placement:"left-end",distance:12,triggers:[],shown:j(i),"auto-hide":!0},{popper:ue(()=>[K($y,{categories:j(_),"max-w-80":"",target:"main"},null,8,["categories"])]),default:ue(()=>[V("button",{ref_key:"buttonMoreTabs",ref:c,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:f},[K(D,{"text-xl":"",icon:"carbon:overflow-menu-vertical",title:"More tabs","show-title":!1}),V("div",MI,[V("span",FI,_t(j(g).length),1)])],512)]),_:1},8,["shown"])):Ge("",!0),K(k,{minimized:!j(r),tab:{icon:"i-carbon:settings-adjust",title:"Settings",name:"settings",path:"/settings"}},null,8,["minimized"])],8,DI)])}}}),zI=Ae({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,r={};for(const o in e.route)Object.defineProperty(r,o,{get:()=>t===e.renderKey?e.route[o]:n[o]});return Jn(Ks,vo(r)),()=>et(e.vnode,{ref:e.vnodeRef})}}),HI=Ae({name:"NuxtPage",inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,expose:n}){const r=Ne(),o=U(),s=bt(Ks,null);let i;n({pageRef:o});const a=bt(n0,null);let l;const c=r.deferHydration();if(r.isHydrating){const u=r.hooks.hookOnce("app:error",c);rt().beforeEach(u)}return e.pageKey&&De(()=>e.pageKey,(u,f)=>{u!==f&&r.callHook("page:loading:start")}),()=>et(C0,{name:e.name,route:e.route,...t},{default:u=>{const f=VI(s,u.route,u.Component),d=s&&s.matched.length===u.route.matched.length;if(!u.Component){if(l&&!d)return l;c();return}if(l&&a&&!a.isCurrent(u.route))return l;if(f&&s&&(!a||a?.isCurrent(s)))return d?l:null;const h=Pc(u,e.pageKey);!r.isHydrating&&!GI(s,u.route,u.Component)&&i===h&&r.callHook("page:loading:end"),i=h;const p=!!(e.transition??u.route.meta.pageTransition??Cc),g=p&&UI([e.transition,u.route.meta.pageTransition,Cc,{onAfterLeave:()=>{r.callHook("page:transition:finish",u.Component)}}].filter(Boolean)),m=e.keepalive??u.route.meta.keepalive??AS;return l=Wv(Ua,p&&g,Vx(m,et(Tu,{suspensible:!0,onPending:()=>r.callHook("page:start",u.Component),onResolve:()=>{Nt(()=>r.callHook("page:finish",u.Component).then(()=>r.callHook("page:loading:end")).finally(c))}},{default:()=>{const v=et(zI,{key:h||void 0,vnode:u.Component,route:u.route,renderKey:h||void 0,trackRootNodes:p,vnodeRef:o});return m&&(v.type.name=u.Component.type.name||u.Component.type.__name||"RouteProvider"),v}}))).default(),l}})}});function UI(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?Uu(n.onAfterLeave):void 0}));return e0(...t)}function VI(e,t,n){if(!e)return!1;const r=t.matched.findIndex(o=>o.components?.default===n?.type);return!r||r===-1?!1:t.matched.slice(0,r).some((o,s)=>o.components?.default!==e.matched[s]?.components?.default)||n&&Pc({route:t,Component:n})!==Pc({route:e,Component:n})}function GI(e,t,n){return e?t.matched.findIndex(o=>o.components?.default===n?.type)<t.matched.length-1:!1}const WI={},KI={class:"n-panel-grids-center"};function qI(e,t){return Y(),ve("div",KI,[tt(e.$slots,"default")])}const ky=ei(WI,[["render",qI]]),YI={"h-full":"","h-screen":"","of-hidden":""},XI={border:"b base",flex:"~ gap1","z-99":"",px4:"",py3:"","n-navbar-glass":""},JI=V("div",{"i-carbon-chevron-down":"","text-sm":"",op50:""},null,-1),ZI=V("div",{"flex-auto":""},null,-1),QI={key:0,"of-auto":"",style:{height:"calc(100% - 50px)"}},e4=V("span",{"text-lg":"",op50:""}," Select a tab to start ",-1),t4=Ae({__name:"SplitScreen",setup(e){const t=yf(),n=Jt(),r=_o(),o=rt(),s=se(()=>t.value.filter(d=>d.name!==r.name&&d.name!==r.params?.name)),i=ji(s),a=se(()=>s.value.find(d=>d.name===Kv.value));De(()=>a.value,d=>{if(!d)return;const h=o.getRoutes(),p=d&&"path"in d?h.find(m=>m.path===d.path):h.find(m=>m.name==="modules-custom-name");if(p?.path===r.path||r.params?.name===d.name){n.value=void 0;return}const g=p?.components?.default;typeof g=="function"?n.value=qi(g):n.value=g},{immediate:!0});function l(){Kn.value=!1}const c=U(),u=U(),f=U(!1);return Ku(c,d=>{u.value&&d.composedPath().includes(u.value)||(f.value=!1)},{detectIframe:!0}),(d,h)=>{const p=dl,g=$y,m=An("VDropdown"),v=ar,_=vf,y=ky,b=d1("tooltip");return Y(),ve("div",YI,[V("div",XI,[K(m,{placement:"bottom-start",distance:12,skidding:5,triggers:[],shown:j(f),"auto-hide":!0},{popper:ue(()=>[K(g,{ref_key:"gridPanel",ref:c,categories:j(i),target:"side"},null,8,["categories"])]),default:ue(()=>[V("div",{ref_key:"gridPanelButton",ref:u,flex:"~ gap-2 items-center","cursor-pointer":"","select-none":"",onClick:h[0]||(h[0]=E=>f.value=!j(f))},[JI,j(a)?(Y(),ve(Le,{key:0},[K(p,{"text-xl":"",icon:j(a).icon,title:j(a).title,"show-title":!1},null,8,["icon","title"]),V("span",null,_t(j(a).title),1)],64)):(Y(),ve(Le,{key:1},[Re(" Select a tab ")],64))],512)]),_:1},8,["shown"]),ZI,Ts(K(v,{icon:"i-carbon:side-panel-open",title:"Close split screen",border:!1,onClick:l},null,512),[[b,"Close split screen"]])]),j(n)&&j(a)?(Y(),ve("div",QI,["view"in j(a)?(Y(),xe(ro(j(n)),{key:j(a).name,name:j(a).name},null,8,["name"])):(Y(),xe(ro(j(n)),{key:`tab-${j(a).name}`}))])):(Y(),xe(y,{key:1},{default:ue(()=>[e4,K(_,{px4:"",py2:""},{default:ue(()=>[K(g,{categories:j(i),target:"side"},null,8,["categories"])]),_:1}),K(v,{n:"sm orange",mt2:"",onClick:l},{default:ue(()=>[Re(" Close Split Screen ")]),_:1})]),_:1}))])}}}),n4={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((r,o)=>(r.size=o===t?r.max:r.min,o!==t&&(n+=r.min),r)),this.panes[t].size-=n,this.$emit("pane-maximize",this.panes[t]),this.$emit("resized",this.panes.map(r=>({min:r.min,max:r.max,size:r.size})))},onPaneClick(e,t){this.$emit("pane-click",this.indexedPanes[t])},getCurrentMouseDrag(e){const t=this.container.getBoundingClientRect(),{clientX:n,clientY:r}="ontouchstart"in window&&e.touches?e.touches[0]:e;return{x:n-t.left,y:r-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 r=0+(this.pushOtherPanes?0:n.prevPanesSize),o=100-(this.pushOtherPanes?0:n.nextPanesSize),s=Math.max(Math.min(this.getCurrentDragPercentage(e),o),r);let i=[t,t+1],a=this.panes[i[0]]||null,l=this.panes[i[1]]||null;const c=a.max<100&&s>=a.max+n.prevPanesSize,u=l.max<100&&s<=100-(l.max+this.sumNextPanesSize(t+1));if(c||u){c?(a.size=a.max,l.size=Math.max(100-a.max-n.prevPanesSize-n.nextPanesSize,0)):(a.size=Math.max(100-l.max-n.prevPanesSize-this.sumNextPanesSize(t+1),0),l.size=l.max);return}if(this.pushOtherPanes){const f=this.doPushOtherPanes(n,s);if(!f)return;({sums:n,panesToResize:i}=f),a=this.panes[i[0]]||null,l=this.panes[i[1]]||null}a!==null&&(a.size=Math.min(Math.max(s-n.prevPanesSize-n.prevReachedMinPanes,a.min),a.max)),l!==null&&(l.size=Math.min(Math.max(100-s-n.nextPanesSize-n.nextReachedMinPanes,l.min),l.max))},doPushOtherPanes(e,t){const n=this.touch.activeSplitter,r=[n,n+1];return t<e.prevPanesSize+this.panes[r[0]].min&&(r[0]=this.findPrevExpandedPane(n).index,e.prevReachedMinPanes=0,r[0]<n&&this.panes.forEach((o,s)=>{s>r[0]&&s<=n&&(o.size=o.min,e.prevReachedMinPanes+=o.min)}),e.prevPanesSize=this.sumPrevPanesSize(r[0]),r[0]===void 0)?(e.prevReachedMinPanes=0,this.panes[0].size=this.panes[0].min,this.panes.forEach((o,s)=>{s>0&&s<=n&&(o.size=o.min,e.prevReachedMinPanes+=o.min)}),this.panes[r[1]].size=100-e.prevReachedMinPanes-this.panes[0].min-e.prevPanesSize-e.nextPanesSize,null):t>100-e.nextPanesSize-this.panes[r[1]].min&&(r[1]=this.findNextExpandedPane(n).index,e.nextReachedMinPanes=0,r[1]>n+1&&this.panes.forEach((o,s)=>{s>n&&s<r[1]&&(o.size=o.min,e.nextReachedMinPanes+=o.min)}),e.nextPanesSize=this.sumNextPanesSize(r[1]-1),r[1]===void 0)?(e.nextReachedMinPanes=0,this.panes[this.panesCount-1].size=this.panes[this.panesCount-1].min,this.panes.forEach((o,s)=>{s<this.panesCount-1&&s>=n+1&&(o.size=o.min,e.nextReachedMinPanes+=o.min)}),this.panes[r[0]].size=100-e.prevPanesSize-e.nextReachedMinPanes-this.panes[this.panesCount-1].min-e.nextPanesSize,null):{sums:e,panesToResize:r}},sumPrevPanesSize(e){return this.panes.reduce((t,n,r)=>t+(r<e?n.size:0),0)},sumNextPanesSize(e){return this.panes.reduce((t,n,r)=>t+(r>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 r=e-1,o=document.createElement("div");o.classList.add("splitpanes__splitter"),n||(o.onmousedown=s=>this.onMouseDown(s,r),typeof window<"u"&&"ontouchstart"in window&&(o.ontouchstart=s=>this.onMouseDown(s,r)),o.onclick=s=>this.onSplitterClick(s,r+1)),this.dblClickSplitter&&(o.ondblclick=s=>this.onSplitterDblClick(s,r+1)),t.parentNode.insertBefore(o,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(([r,o])=>n[r]=o)},onPaneAdd(e){let t=-1;Array.from(e.$el.parentNode.children).some(o=>(o.className.includes("splitpanes__pane")&&t++,o===e.$el));const n=parseFloat(e.minSize),r=parseFloat(e.maxSize);this.panes.splice(t,0,{id:e._.uid,index:t,min:isNaN(n)?0:n,max:isNaN(r)?100:r,size:e.size===null?null:parseFloat(e.size),givenSize:e.size,update:e.update}),this.panes.forEach((o,s)=>o.index=s),this.ready&&this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({addedPane:this.panes[t]}),this.$emit("pane-add",{index:t,panes:this.panes.map(o=>({min:o.min,max:o.max,size:o.size}))})})},onPaneRemove(e){const t=this.panes.findIndex(r=>r.id===e._.uid),n=this.panes.splice(t,1)[0];this.panes.forEach((r,o)=>r.index=o),this.$nextTick(()=>{this.redoSplitters(),this.resetPaneSizes({removedPane:{...n,index:t}}),this.$emit("pane-remove",{removed:n,panes:this.panes.map(r=>({min:r.min,max:r.max,size:r.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=[],r=[];this.panes.forEach(o=>{o.size=Math.max(Math.min(e,o.max),o.min),t-=o.size,o.size>=o.max&&n.push(o.id),o.size<=o.min&&r.push(o.id)}),t>.1&&this.readjustSizes(t,n,r)},initialPanesSizing(){let e=100;const t=[],n=[];let r=0;this.panes.forEach(s=>{e-=s.size,s.size!==null&&r++,s.size>=s.max&&t.push(s.id),s.size<=s.min&&n.push(s.id)});let o=100;e>.1&&(this.panes.forEach(s=>{s.size===null&&(s.size=Math.max(Math.min(e/(this.panesCount-r),s.max),s.min)),o-=s.size}),o>.1&&this.readjustSizes(e,t,n))},equalizeAfterAddOrRemove({addedPane:e,removedPane:t}={}){let n=100/this.panesCount,r=0;const o=[],s=[];e&&e.givenSize!==null&&(n=(100-e.givenSize)/(this.panesCount-1)),this.panes.forEach(i=>{r-=i.size,i.size>=i.max&&o.push(i.id),i.size<=i.min&&s.push(i.id)}),!(Math.abs(r)<.1)&&(this.panes.forEach(i=>{e&&e.givenSize!==null&&e.id===i.id||(i.size=Math.max(Math.min(n,i.max),i.min)),r-=i.size,i.size>=i.max&&o.push(i.id),i.size<=i.min&&s.push(i.id)}),r>.1&&this.readjustSizes(r,o,s))},readjustSizes(e,t,n){let r;e>0?r=e/(this.panesCount-t.length):r=e/(this.panesCount-n.length),this.panes.forEach((o,s)=>{if(e>0&&!t.includes(o.id)){const i=Math.max(Math.min(o.size+r,o.max),o.min),a=i-o.size;e-=a,o.size=i}else if(!n.includes(o.id)){const i=Math.max(Math.min(o.size+r,o.max),o.min),a=i-o.size;e-=a,o.size=i}o.update({[this.horizontal?"height":"width"]:`${this.indexedPanes[o.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?r=>this.onSplitterDblClick(r,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 et("div",{ref:"container",class:["splitpanes",`splitpanes--${this.horizontal?"horizontal":"vertical"}`,{"splitpanes--dragging":this.touch.dragging}]},this.$slots.default())}},r4=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},o4={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 s4(e,t,n,r,o,s){return Y(),ve("div",{class:"splitpanes__pane",onClick:t[0]||(t[0]=i=>s.onPaneClick(i,e._.uid)),style:un(e.style)},[tt(e.$slots,"default")],4)}const $p=r4(o4,[["render",s4]]),kp=30,i4=Ae({__name:"NSplitPane",props:{storageKey:{},stateKey:{default:"nuxt-devtools-panels-state"},leftSize:{},minSize:{},horizontal:{type:Boolean}},setup(e){const t=e,n=So(t.stateKey,{},{listenToStorageChanges:!1}),r=t.storageKey,o=r?se({get:()=>n.value[r]||t.leftSize||kp,set:s=>{n.value[r]=s}}):U(t.leftSize||kp);return(s,i)=>(Y(),xe(j(n4),{horizontal:s.horizontal,"h-full":"","of-hidden":"",onResize:i[0]||(i[0]=a=>o.value=a[0].size)},{default:ue(()=>[K(j($p),{"h-full":"",class:"of-auto!",size:j(o),"min-size":s.$slots.right?s.minSize||10:100},{default:ue(()=>[tt(s.$slots,"left")]),_:3},8,["size","min-size"]),s.$slots.right?(Y(),xe(j($p),{key:0,relative:"","h-full":"",class:"of-auto!","min-size":s.minSize||10},{default:ue(()=>[tt(s.$slots,"right")]),_:3},8,["min-size"])):Ge("",!0)]),_:3},8,["horizontal"]))}}),a4=Ae({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(e,t){const n=await qn[e.name]().then(r=>r.default||r);return()=>et(n,e.layoutProps,t.slots)}}),l4=Ae({name:"NuxtLayout",inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){const n=Ne(),r=bt(Ks),o=r===_o()?Hx():r,s=se(()=>{let l=j(e.name)??o.meta.layout??"default";return l&&!(l in qn)&&e.fallback&&(l=j(e.fallback)),l}),i=U();t.expose({layoutRef:i});const a=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",a);rt().beforeEach(l)}return()=>{const l=s.value&&s.value in qn,c=o.meta.layoutTransition??CS;return Wv(Ua,l&&c,{default:()=>et(Tu,{suspensible:!0,onResolve:()=>{Nt(a)}},{default:()=>et(c4,{layoutProps:Rn(t.attrs,{ref:i}),key:s.value||void 0,name:s.value,shouldProvide:!e.name,hasTransition:!!c},t.slots)})}).default()}}}),c4=Ae({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&&Jn(n0,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>!n||typeof n=="string"&&!(n in qn)?t.slots.default?.():et(a4,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),u4={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"},Oy=Ae({__name:"NTextInput",props:{modelValue:{default:""},icon:{},placeholder:{},disabled:{type:Boolean},autofocus:{type:Boolean},autocomplete:{},readonly:{type:Boolean},type:{default:"text"}},setup(e,{emit:t}){const o=L0(e,"modelValue",t,{passive:!0});return(s,i)=>{const a=Ao;return Y(),ve("div",u4,[tt(s.$slots,"icon",{},()=>[s.icon?(Y(),xe(a,{key:0,icon:s.icon,class:"ml-0.3em mr-0.1em text-1.1em op50"},null,8,["icon"])):Ge("",!0)]),Ts(V("input",Rn({"onUpdate:modelValue":i[0]||(i[0]=l=>je(o)?o.value=l:null)},s.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[Hb,j(o)]])])}}}),Yc=Tt(new Map);function f4(){const e=yf(),t=rt(),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:()=>p4()}],r=se(()=>e.value.map(o=>({id:`tab:${o.name}`,title:o.title||o.name,icon:o.icon,action:()=>{"onClick"in o&&o.onClick?o.onClick():t.push("path"in o&&o.path?o.path:`/modules/custom-${o.name}`)}})));return se(()=>[...n,...r.value,...Array.from(Yc.values()).flatMap(o=>sn(o))])}function d4(e){const t=pk();Yc.set(t,e),ja(()=>{Yc.delete(t)})}let Yl;const h4=[[":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 p4(){return Yl||(Yl=(await ge(()=>import("./D5r6TWiw.js"),[],import.meta.url).then(t=>t.default)).map(t=>({...t,icon:h4.find(([n])=>t.id.includes(n))?.[1]||"i-carbon-document-multiple-01",action:()=>{window.open(t.url,"_blank")}}))),Yl}function Pn(e){return Array.isArray?Array.isArray(e):Ly(e)==="[object Array]"}const m4=1/0;function g4(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-m4?"-0":t}function v4(e){return e==null?"":g4(e)}function cn(e){return typeof e=="string"}function Ny(e){return typeof e=="number"}function y4(e){return e===!0||e===!1||_4(e)&&Ly(e)=="[object Boolean]"}function Iy(e){return typeof e=="object"}function _4(e){return Iy(e)&&e!==null}function Ot(e){return e!=null}function Xl(e){return!e.trim().length}function Ly(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const b4="Incorrect 'index' type",w4=e=>`Invalid value for key ${e}`,E4=e=>`Pattern length exceeds max of ${e}.`,S4=e=>`Missing ${e} property in key`,x4=e=>`Property 'weight' in key '${e}' must be a positive integer`,Op=Object.prototype.hasOwnProperty;class C4{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let o=Dy(r);this._keys.push(o),this._keyMap[o.id]=o,n+=o.weight}),this._keys.forEach(r=>{r.weight/=n})}get(t){return this._keyMap[t]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Dy(e){let t=null,n=null,r=null,o=1,s=null;if(cn(e)||Pn(e))r=e,t=Np(e),n=Xc(e);else{if(!Op.call(e,"name"))throw new Error(S4("name"));const i=e.name;if(r=i,Op.call(e,"weight")&&(o=e.weight,o<=0))throw new Error(x4(i));t=Np(i),n=Xc(i),s=e.getFn}return{path:t,id:n,weight:o,src:r,getFn:s}}function Np(e){return Pn(e)?e:e.split(".")}function Xc(e){return Pn(e)?e.join("."):e}function A4(e,t){let n=[],r=!1;const o=(s,i,a)=>{if(Ot(s))if(!i[a])n.push(s);else{let l=i[a];const c=s[l];if(!Ot(c))return;if(a===i.length-1&&(cn(c)||Ny(c)||y4(c)))n.push(v4(c));else if(Pn(c)){r=!0;for(let u=0,f=c.length;u<f;u+=1)o(c[u],i,a+1)}else i.length&&o(c,i,a+1)}};return o(e,cn(t)?t.split("."):t,0),r?n:n[0]}const T4={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},R4={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},P4={location:0,threshold:.6,distance:100},$4={useExtendedSearch:!1,getFn:A4,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var _e={...R4,...T4,...P4,...$4};const k4=/[^ ]+/g;function O4(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(o){const s=o.match(k4).length;if(n.has(s))return n.get(s);const i=1/Math.pow(s,.5*e),a=parseFloat(Math.round(i*r)/r);return n.set(s,a),a},clear(){n.clear()}}}class _f{constructor({getFn:t=_e.getFn,fieldNormWeight:n=_e.fieldNormWeight}={}){this.norm=O4(n,3),this.getFn=t,this.isCreated=!1,this.setIndexRecords()}setSources(t=[]){this.docs=t}setIndexRecords(t=[]){this.records=t}setKeys(t=[]){this.keys=t,this._keysMap={},t.forEach((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,cn(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();cn(t)?this._addString(t,n):this._addObject(t,n)}removeAt(t){this.records.splice(t,1);for(let n=t,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(t,n){return t[this._keysMap[n]]}size(){return this.records.length}_addString(t,n){if(!Ot(t)||Xl(t))return;let r={v:t,i:n,n:this.norm.get(t)};this.records.push(r)}_addObject(t,n){let r={i:n,$:{}};this.keys.forEach((o,s)=>{let i=o.getFn?o.getFn(t):this.getFn(t,o.path);if(Ot(i)){if(Pn(i)){let a=[];const l=[{nestedArrIndex:-1,value:i}];for(;l.length;){const{nestedArrIndex:c,value:u}=l.pop();if(Ot(u))if(cn(u)&&!Xl(u)){let f={v:u,i:c,n:this.norm.get(u)};a.push(f)}else Pn(u)&&u.forEach((f,d)=>{l.push({nestedArrIndex:d,value:f})})}r.$[s]=a}else if(cn(i)&&!Xl(i)){let a={v:i,n:this.norm.get(i)};r.$[s]=a}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function My(e,t,{getFn:n=_e.getFn,fieldNormWeight:r=_e.fieldNormWeight}={}){const o=new _f({getFn:n,fieldNormWeight:r});return o.setKeys(e.map(Dy)),o.setSources(t),o.create(),o}function N4(e,{getFn:t=_e.getFn,fieldNormWeight:n=_e.fieldNormWeight}={}){const{keys:r,records:o}=e,s=new _f({getFn:t,fieldNormWeight:n});return s.setKeys(r),s.setIndexRecords(o),s}function $i(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:o=_e.distance,ignoreLocation:s=_e.ignoreLocation}={}){const i=t/e.length;if(s)return i;const a=Math.abs(r-n);return o?i+a/o:a?1:i}function I4(e=[],t=_e.minMatchCharLength){let n=[],r=-1,o=-1,s=0;for(let i=e.length;s<i;s+=1){let a=e[s];a&&r===-1?r=s:!a&&r!==-1&&(o=s-1,o-r+1>=t&&n.push([r,o]),r=-1)}return e[s-1]&&s-r>=t&&n.push([r,s-1]),n}const _r=32;function L4(e,t,n,{location:r=_e.location,distance:o=_e.distance,threshold:s=_e.threshold,findAllMatches:i=_e.findAllMatches,minMatchCharLength:a=_e.minMatchCharLength,includeMatches:l=_e.includeMatches,ignoreLocation:c=_e.ignoreLocation}={}){if(t.length>_r)throw new Error(E4(_r));const u=t.length,f=e.length,d=Math.max(0,Math.min(r,f));let h=s,p=d;const g=a>1||l,m=g?Array(f):[];let v;for(;(v=e.indexOf(t,p))>-1;){let O=$i(t,{currentLocation:v,expectedLocation:d,distance:o,ignoreLocation:c});if(h=Math.min(O,h),p=v+u,g){let k=0;for(;k<u;)m[v+k]=1,k+=1}}p=-1;let _=[],y=1,b=u+f;const E=1<<u-1;for(let O=0;O<u;O+=1){let k=0,D=b;for(;k<D;)$i(t,{errors:O,currentLocation:d+D,expectedLocation:d,distance:o,ignoreLocation:c})<=h?k=D:b=D,D=Math.floor((b-k)/2+k);b=D;let P=Math.max(1,d-D+1),L=i?f:Math.min(d+D,f)+u,A=Array(L+2);A[L+1]=(1<<O)-1;for(let T=L;T>=P;T-=1){let B=T-1,R=n[e.charAt(B)];if(g&&(m[B]=+!!R),A[T]=(A[T+1]<<1|1)&R,O&&(A[T]|=(_[T+1]|_[T])<<1|1|_[T+1]),A[T]&E&&(y=$i(t,{errors:O,currentLocation:B,expectedLocation:d,distance:o,ignoreLocation:c}),y<=h)){if(h=y,p=B,p<=d)break;P=Math.max(1,2*d-p)}}if($i(t,{errors:O+1,currentLocation:d,expectedLocation:d,distance:o,ignoreLocation:c})>h)break;_=A}const C={isMatch:p>=0,score:Math.max(.001,y)};if(g){const O=I4(m,a);O.length?l&&(C.indices=O):C.isMatch=!1}return C}function D4(e){let t={};for(let n=0,r=e.length;n<r;n+=1){const o=e.charAt(n);t[o]=(t[o]||0)|1<<r-n-1}return t}class Fy{constructor(t,{location:n=_e.location,threshold:r=_e.threshold,distance:o=_e.distance,includeMatches:s=_e.includeMatches,findAllMatches:i=_e.findAllMatches,minMatchCharLength:a=_e.minMatchCharLength,isCaseSensitive:l=_e.isCaseSensitive,ignoreLocation:c=_e.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:o,includeMatches:s,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c},this.pattern=l?t:t.toLowerCase(),this.chunks=[],!this.pattern.length)return;const u=(d,h)=>{this.chunks.push({pattern:d,alphabet:D4(d),startIndex:h})},f=this.pattern.length;if(f>_r){let d=0;const h=f%_r,p=f-h;for(;d<p;)u(this.pattern.substr(d,_r),d),d+=_r;if(h){const g=f-_r;u(this.pattern.substr(g),g)}}else u(this.pattern,0)}searchIn(t){const{isCaseSensitive:n,includeMatches:r}=this.options;if(n||(t=t.toLowerCase()),this.pattern===t){let p={isMatch:!0,score:0};return r&&(p.indices=[[0,t.length-1]]),p}const{location:o,distance:s,threshold:i,findAllMatches:a,minMatchCharLength:l,ignoreLocation:c}=this.options;let u=[],f=0,d=!1;this.chunks.forEach(({pattern:p,alphabet:g,startIndex:m})=>{const{isMatch:v,score:_,indices:y}=L4(t,p,g,{location:o+m,distance:s,threshold:i,findAllMatches:a,minMatchCharLength:l,includeMatches:r,ignoreLocation:c});v&&(d=!0),f+=_,v&&y&&(u=[...u,...y])});let h={isMatch:d,score:d?f/this.chunks.length:1};return d&&r&&(h.indices=u),h}}class lr{constructor(t){this.pattern=t}static isMultiMatch(t){return Ip(t,this.multiRegex)}static isSingleMatch(t){return Ip(t,this.singleRegex)}search(){}}function Ip(e,t){const n=e.match(t);return n?n[1]:null}class M4 extends lr{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 F4 extends lr{constructor(t){super(t)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(t){const r=t.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,t.length-1]}}}class B4 extends lr{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 j4 extends lr{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 z4 extends lr{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 H4 extends lr{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 By extends lr{constructor(t,{location:n=_e.location,threshold:r=_e.threshold,distance:o=_e.distance,includeMatches:s=_e.includeMatches,findAllMatches:i=_e.findAllMatches,minMatchCharLength:a=_e.minMatchCharLength,isCaseSensitive:l=_e.isCaseSensitive,ignoreLocation:c=_e.ignoreLocation}={}){super(t),this._bitapSearch=new Fy(t,{location:n,threshold:r,distance:o,includeMatches:s,findAllMatches:i,minMatchCharLength:a,isCaseSensitive:l,ignoreLocation:c})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(t){return this._bitapSearch.searchIn(t)}}class jy extends lr{constructor(t){super(t)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(t){let n=0,r;const o=[],s=this.pattern.length;for(;(r=t.indexOf(this.pattern,n))>-1;)n=r+s,o.push([r,n-1]);const i=!!o.length;return{isMatch:i,score:i?0:1,indices:o}}}const Jc=[M4,jy,B4,j4,H4,z4,F4,By],Lp=Jc.length,U4=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,V4="|";function G4(e,t={}){return e.split(V4).map(n=>{let r=n.trim().split(U4).filter(s=>s&&!!s.trim()),o=[];for(let s=0,i=r.length;s<i;s+=1){const a=r[s];let l=!1,c=-1;for(;!l&&++c<Lp;){const u=Jc[c];let f=u.isMultiMatch(a);f&&(o.push(new u(f,t)),l=!0)}if(!l)for(c=-1;++c<Lp;){const u=Jc[c];let f=u.isSingleMatch(a);if(f){o.push(new u(f,t));break}}}return o})}const W4=new Set([By.type,jy.type]);class K4{constructor(t,{isCaseSensitive:n=_e.isCaseSensitive,includeMatches:r=_e.includeMatches,minMatchCharLength:o=_e.minMatchCharLength,ignoreLocation:s=_e.ignoreLocation,findAllMatches:i=_e.findAllMatches,location:a=_e.location,threshold:l=_e.threshold,distance:c=_e.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:r,minMatchCharLength:o,findAllMatches:i,ignoreLocation:s,location:a,threshold:l,distance:c},this.pattern=n?t:t.toLowerCase(),this.query=G4(this.pattern,this.options)}static condition(t,n){return n.useExtendedSearch}searchIn(t){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:o}=this.options;t=o?t:t.toLowerCase();let s=0,i=[],a=0;for(let l=0,c=n.length;l<c;l+=1){const u=n[l];i.length=0,s=0;for(let f=0,d=u.length;f<d;f+=1){const h=u[f],{isMatch:p,indices:g,score:m}=h.search(t);if(p){if(s+=1,a+=m,r){const v=h.constructor.type;W4.has(v)?i=[...i,...g]:i.push(g)}}else{a=0,s=0,i.length=0;break}}if(s){let f={isMatch:!0,score:a/s};return r&&(f.indices=i),f}}return{isMatch:!1,score:1}}}const Zc=[];function q4(...e){Zc.push(...e)}function Qc(e,t){for(let n=0,r=Zc.length;n<r;n+=1){let o=Zc[n];if(o.condition(e,t))return new o(e,t)}return new Fy(e,t)}const Ta={AND:"$and",OR:"$or"},eu={PATH:"$path",PATTERN:"$val"},tu=e=>!!(e[Ta.AND]||e[Ta.OR]),Y4=e=>!!e[eu.PATH],X4=e=>!Pn(e)&&Iy(e)&&!tu(e),Dp=e=>({[Ta.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function zy(e,t,{auto:n=!0}={}){const r=o=>{let s=Object.keys(o);const i=Y4(o);if(!i&&s.length>1&&!tu(o))return r(Dp(o));if(X4(o)){const l=i?o[eu.PATH]:s[0],c=i?o[eu.PATTERN]:o[l];if(!cn(c))throw new Error(w4(l));const u={keyId:Xc(l),pattern:c};return n&&(u.searcher=Qc(c,t)),u}let a={children:[],operator:s[0]};return s.forEach(l=>{const c=o[l];Pn(c)&&c.forEach(u=>{a.children.push(r(u))})}),a};return tu(e)||(e=Dp(e)),r(e)}function J4(e,{ignoreFieldNorm:t=_e.ignoreFieldNorm}){e.forEach(n=>{let r=1;n.matches.forEach(({key:o,norm:s,score:i})=>{const a=o?o.weight:null;r*=Math.pow(i===0&&a?Number.EPSILON:i,(a||1)*(t?1:s))}),n.score=r})}function Z4(e,t){const n=e.matches;t.matches=[],Ot(n)&&n.forEach(r=>{if(!Ot(r.indices)||!r.indices.length)return;const{indices:o,value:s}=r;let i={indices:o,value:s};r.key&&(i.key=r.key.src),r.idx>-1&&(i.refIndex=r.idx),t.matches.push(i)})}function Q4(e,t){t.score=e.score}function eL(e,t,{includeMatches:n=_e.includeMatches,includeScore:r=_e.includeScore}={}){const o=[];return n&&o.push(Z4),r&&o.push(Q4),e.map(s=>{const{idx:i}=s,a={item:t[i],refIndex:i};return o.length&&o.forEach(l=>{l(s,a)}),a})}class To{constructor(t,n={},r){this.options={..._e,...n},this.options.useExtendedSearch,this._keyStore=new C4(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof _f))throw new Error(b4);this._myIndex=n||My(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){Ot(t)&&(this._docs.push(t),this._myIndex.add(t))}remove(t=()=>!1){const n=[];for(let r=0,o=this._docs.length;r<o;r+=1){const s=this._docs[r];t(s,r)&&(this.removeAt(r),r-=1,o-=1,n.push(s))}return n}removeAt(t){this._docs.splice(t,1),this._myIndex.removeAt(t)}getIndex(){return this._myIndex}search(t,{limit:n=-1}={}){const{includeMatches:r,includeScore:o,shouldSort:s,sortFn:i,ignoreFieldNorm:a}=this.options;let l=cn(t)?cn(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return J4(l,{ignoreFieldNorm:a}),s&&l.sort(i),Ny(n)&&n>-1&&(l=l.slice(0,n)),eL(l,this._docs,{includeMatches:r,includeScore:o})}_searchStringList(t){const n=Qc(t,this.options),{records:r}=this._myIndex,o=[];return r.forEach(({v:s,i,n:a})=>{if(!Ot(s))return;const{isMatch:l,score:c,indices:u}=n.searchIn(s);l&&o.push({item:s,idx:i,matches:[{score:c,value:s,norm:a,indices:u}]})}),o}_searchLogical(t){const n=zy(t,this.options),r=(a,l,c)=>{if(!a.children){const{keyId:f,searcher:d}=a,h=this._findMatches({key:this._keyStore.get(f),value:this._myIndex.getValueForItemAtKeyId(l,f),searcher:d});return h&&h.length?[{idx:c,item:l,matches:h}]:[]}const u=[];for(let f=0,d=a.children.length;f<d;f+=1){const h=a.children[f],p=r(h,l,c);if(p.length)u.push(...p);else if(a.operator===Ta.AND)return[]}return u},o=this._myIndex.records,s={},i=[];return o.forEach(({$:a,i:l})=>{if(Ot(a)){let c=r(n,a,l);c.length&&(s[l]||(s[l]={idx:l,item:a,matches:[]},i.push(s[l])),c.forEach(({matches:u})=>{s[l].matches.push(...u)}))}}),i}_searchObjectList(t){const n=Qc(t,this.options),{keys:r,records:o}=this._myIndex,s=[];return o.forEach(({$:i,i:a})=>{if(!Ot(i))return;let l=[];r.forEach((c,u)=>{l.push(...this._findMatches({key:c,value:i[u],searcher:n}))}),l.length&&s.push({idx:a,item:i,matches:l})}),s}_findMatches({key:t,value:n,searcher:r}){if(!Ot(n))return[];let o=[];if(Pn(n))n.forEach(({v:s,i,n:a})=>{if(!Ot(s))return;const{isMatch:l,score:c,indices:u}=r.searchIn(s);l&&o.push({score:c,key:t,value:s,idx:i,norm:a,indices:u})});else{const{v:s,n:i}=n,{isMatch:a,score:l,indices:c}=r.searchIn(s);a&&o.push({score:l,key:t,value:s,norm:i,indices:c})}return o}}To.version="7.0.0";To.createIndex=My;To.parseIndex=N4;To.config=_e;To.parseQuery=zy;q4(K4);const tL={"h-full":"",flex:"~ col"},nL={border:"b base","flex-none":""},rL={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},oL=["id","onClick","onMouseover"],sL={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},iL={"ws-nowrap":""},aL={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},lL={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},cL=V("span",{op50:""},"No results for",-1),uL={"text-primary":""},fL={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},dL={"text-xs":"",flex:"~ items-center gap2"},hL=V("span",{op75:""},"to navigate",-1),pL={"text-xs":"",flex:"~ items-center gap2"},mL={op75:""},gL={"text-xs":"",flex:"~ items-center gap2"},vL=V("span",{op75:""},"to select",-1),yL=Ae({__name:"CommandPalette",setup(e){const t=U(!1),n=U(""),r=f4(),o=U(),s=se(()=>o.value||r.value),i=se(()=>new To(s.value,{keys:["id","title"],distance:50})),a=se(()=>n.value?i.value.search(n.value).map(h=>h.item):s.value||[]),l=U(0);De(n,()=>{l.value=0,u()});function c(h){l.value=(l.value+h+a.value.length)%a.value.length,u()}function u(){document.getElementById(a.value[l.value]?.id)?.scrollIntoView({block:"center"})}async function f(h){const p=await h.action();p?(o.value=p,n.value=""):(o.value=void 0,n.value="",t.value=!1)}Ct("keydown",h=>{if((h.ctrlKey||h.metaKey)&&h.key==="k"){h.preventDefault(),o.value=void 0,n.value="",t.value=!t.value;return}if(t.value)switch(h.key){case"ArrowDown":case"ArrowUp":h.preventDefault(),c(h.key==="ArrowDown"?1:-1);break;case"Enter":{const p=a.value[l.value];p&&(h.preventDefault(),f(p));break}case"Escape":{h.preventDefault(),o.value?(o.value=void 0,n.value=""):t.value=!1;break}}});function d(h){h.key==="Backspace"&&!n.value&&o.value&&(h.preventDefault(),o.value=void 0,n.value="")}return(h,p)=>{const g=Oy,m=dl,v=Ao,_=ar,y=fl;return Y(),xe(y,{modelValue:j(t),"onUpdate:modelValue":p[1]||(p[1]=b=>je(t)?t.value=b:null),relative:"","h-md":"","w-xl":"","of-hidden":""},{default:ue(()=>[V("div",tL,[V("header",nL,[K(g,{modelValue:j(n),"onUpdate:modelValue":p[0]||(p[0]=b=>je(n)?n.value=b:null),placeholder:"Type to search...",class:"rounded-none py3 px2! ring-0!",n:"green borderless",onKeydown:d},null,8,["modelValue"])]),V("div",rL,[(Y(!0),ve(Le,null,Ps(j(a),(b,E)=>(Y(),ve("button",{id:b.id,key:b.id,onClick:C=>f(b),onMouseover:C=>l.value=E},[V("div",{flex:"~ gap-2 items-center justify-between",rounded:"",px3:"",py2:"",class:Qe(j(l)===E?"op100 bg-primary/10 text-primary saturate-100 bg-active":"op80")},[K(m,{icon:b.icon,title:b.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),V("span",sL,[V("span",iL,_t(b.title),1),V("span",aL,_t(b.description),1)]),j(l)===E?(Y(),xe(v,{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):Ge("",!0)],2)],40,oL))),128)),j(a).length?Ge("",!0):(Y(),ve("div",lL,[K(v,{op50:"",icon:"carbon-search"}),V("div",null,[cL,V("strong",uL,' "'+_t(j(n))+'" ',1)])]))]),V("footer",fL,[V("div",dL,[K(_,{n:"xs",px1:""},{default:ue(()=>[K(v,{icon:"carbon-arrow-down"})]),_:1}),K(_,{n:"xs",px1:""},{default:ue(()=>[K(v,{icon:"carbon-arrow-up"})]),_:1}),hL]),V("div",pL,[K(_,{n:"xs",px1:""},{default:ue(()=>[Re(" Esc ")]),_:1}),V("span",mL,"to "+_t(j(o)?"go back":"close"),1)]),V("div",gL,[K(_,{n:"xs",px1:""},{default:ue(()=>[K(v,{icon:"i-carbon-text-new-line scale-x--100"})]),_:1}),vL])])])]),_:1},8,["modelValue"])}}}),_L=V("h3",{class:"mb2 text-lg font-medium leading-6",flex:"~ items-center gap-1","text-orange":""},[V("span",{class:"i-carbon-information-square"}),Re(" Permissions required ")],-1),bL=V("p",null," This operation requires permissions for running command and access files from the browser. ",-1),wL=V("p",null,[Re(" A request is sent to the server."),V("br"),Re(" Please check your terminal for the instructions and then come back. ")],-1),EL={flex:"~ gap-3",mt5:"","justify-between":""},SL=V("p",{"text-xs":"","op-50":""}," Or you can manually paste the token below: ",-1),xL={flex:"~ inline gap-2 items-center"},CL={flex:"~ gap-2 items-end"},AL=Ae({__name:"AuthRequiredPanel",setup(e){kn(async()=>{xt.value||yt.value&&await we.verifyAuthToken(yt.value)&&(xt.value=!0),xt.value||Ov()});const t=U(""),n=U(!1);async function r(){const o=t.value.trim();n.value=!1,await we.verifyAuthToken(o).then(s=>{s?(xt.value=!0,p2(o)):n.value=!0})}return(o,s)=>{const i=Oy,a=ar,l=vf,c=ky;return("isDevAuthed"in o?o.isDevAuthed:j(xt))?tt(o.$slots,"default",{key:1}):(Y(),xe(c,{key:0},{default:ue(()=>[K(l,{flex:"~ col gap-2",mxa:"",p6:""},{default:ue(()=>[_L,bL,wL,V("div",EL,[V("form",{relative:"",flex:"~ col gap-2",onSubmit:Wb(r,["prevent"])},[SL,V("div",xL,[K(i,{modelValue:j(t),"onUpdate:modelValue":s[0]||(s[0]=u=>je(t)?t.value=u:null),placeholder:"Enter token here",n:j(n)?"red":void 0,onKeydown:Lg(r,["enter"])},null,8,["modelValue","n"]),K(a,{n:"green","h-full":"",icon:"i-carbon-arrow-right",onClick:r})])],32),V("div",CL,[tt(o.$slots,"actions"),K(a,{disabled:"",icon:"i-carbon-time"},{default:ue(()=>[Re(" Waiting for authorization... ")]),_:1})])])]),_:3})]),_:3}))}}}),TL=Ae({__name:"AuthConfirmDialog",setup(e){return(t,n)=>{const r=ar,o=AL,s=fl;return Y(),xe(j($v),null,{default:ue(({resolve:i})=>[K(s,{"model-value":!("isDevAuthed"in t?t.isDevAuthed:j(xt)),class:"border-none",onClose:a=>i(!1)},{default:ue(()=>[K(o,null,{actions:ue(()=>[K(r,{onClick:a=>i(!1)},{default:ue(()=>[Re(" Cancel ")]),_:2},1032,["onClick"])]),_:2},1024)]),_:2},1032,["model-value","onClose"])]),_:1})}}}),RL={},PL={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 197 24",fill:"none"},$L=nb('<path fill="currentColor" d="M45.74 24c.26 0 .48-.215.48-.48V12.36s.6 1.08 1.68 2.88l4.68 8.04c.214.449.69.72 1.08.72h3.24V6h-3.24c-.216 0-.48.18-.48.48v11.28l-2.16-3.84L46.7 6.6c-.21-.373-.663-.6-1.08-.6H42.5v18h3.24ZM87.62 11.04h1.56a.72.72 0 0 0 .72-.72V7.2h3.36v3.84h3.24v2.88h-3.24v5.16c0 1.26.607 1.8 1.68 1.8h1.56V24h-2.04c-2.766 0-4.56-1.791-4.56-4.8v-5.28h-2.28v-2.88ZM71.42 11.04v7.44c0 1.68-.63 3.097-1.56 4.08-.93.983-2.212 1.44-3.96 1.44-1.748 0-3.15-.457-4.08-1.44-.913-.983-1.56-2.4-1.56-4.08v-7.44h1.92c.41 0 .812.075 1.08.36.268.27.36.428.36.84v6.24c0 .967.055 1.564.48 2.04.425.46.95.6 1.8.6.866 0 1.255-.14 1.68-.6.425-.476.48-1.073.48-2.04v-6.24c0-.412.092-.675.36-.96.235-.25.483-.245.84-.24h2.16ZM81.62 17.28l4.08-6.24h-3.12c-.393 0-.743.141-.96.48L79.7 14.4l-1.8-2.76c-.217-.339-.687-.6-1.08-.6h-3l4.08 6.12L73.46 24h3.12c.39 0 .742-.386.96-.72l2.16-3.24 2.28 3.36c.218.335.57.6.96.6h3.12l-4.44-6.72Z"></path><path fill="#00DC82" d="M20.66 24h13.32c.425 0 .832-.15 1.2-.36s.748-.475.96-.84c.212-.365.36-.779.36-1.2 0-.421-.147-.835-.36-1.2l-9-15.48a2.189 2.189 0 0 0-.84-.84 2.9 2.9 0 0 0-1.32-.36c-.425 0-.832.15-1.2.36s-.628.475-.84.84l-2.28 3.96L16.1 1.2c-.213-.365-.472-.75-.84-.96-.368-.21-.775-.24-1.2-.24-.425 0-.832.03-1.2.24s-.747.595-.96.96L.74 20.4c-.213.365-.24.779-.24 1.2 0 .421.028.835.24 1.2s.592.63.96.84c.368.21.775.36 1.2.36h8.4c3.328 0 5.751-1.493 7.44-4.32l4.08-7.08 2.16-3.72 6.6 11.28h-8.76L20.66 24Zm-9.48-3.84H5.3l8.76-15.12 4.44 7.56-2.941 5.127c-1.122 1.834-2.4 2.433-4.379 2.433Z"></path><path fill="#00DC82" fill-rule="evenodd" d="M101.3 24V8.64c0-.795.645-1.44 1.44-1.44h4.2c1.58 0 3.011.341 4.32.96 1.309.619 2.338 1.506 3.12 2.76.782 1.238 1.2 2.855 1.2 4.68 0 1.809-.418 3.306-1.2 4.56-.782 1.254-1.811 2.141-3.12 2.76-1.309.619-2.74 1.08-4.32 1.08h-5.64Zm5.28-3.24c1.548 0 2.819-.375 3.84-1.2 1.021-.841 1.44-2.135 1.44-3.96 0-1.825-.419-3.239-1.44-4.08-1.021-.841-2.292-1.2-3.84-1.2h-1.68v10.44h1.68ZM128.66 19.68c-.239 1.285-.867 2.342-1.92 3.12s-2.356 1.2-3.84 1.2a6.232 6.232 0 0 1-3.36-.96 5.619 5.619 0 0 1-2.04-2.28 6.593 6.593 0 0 1-.72-3c0-1.063.169-2.064.6-3 .447-.936 1.146-1.693 2.04-2.28.91-.587 1.947-.84 3.24-.84 1.341 0 2.466.269 3.36.84.894.571 1.625 1.271 2.04 2.16.431.889.6 1.776.6 2.76l-.001.209c0 .129-.001.251.001.391a.501.501 0 0 1-.48.48h-8.28c.128.857.449 1.548.96 2.04.527.476 1.21.72 2.04.72.67 0 1.249-.106 1.68-.36.431-.27.712-.692.84-1.2h3.24Zm-6-5.64c-.766 0-1.353.203-1.8.6-.447.38-.696.975-.84 1.8h5.28c-.048-.698-.257-1.356-.72-1.8-.463-.46-1.138-.6-1.92-.6Z" clip-rule="evenodd"></path><path fill="#00DC82" d="M128.78 11.88 133.22 24h3.12l4.32-12.12h-2.28c-.625 0-1.248.365-1.44.96l-2.16 6.84-2.16-6.84c-.192-.595-.815-.96-1.44-.96h-2.4Z"></path><path fill="#00DC82" fill-rule="evenodd" d="M159.14 24c-1.213 0-2.266-.316-3.24-.84-.974-.54-1.737-1.224-2.28-2.16a6.53 6.53 0 0 1-.84-3.24c0-1.174.297-2.184.84-3.12.543-.952 1.306-1.756 2.28-2.28.974-.54 2.027-.72 3.24-.72s2.386.18 3.36.72c.974.524 1.737 1.328 2.28 2.28.543.936.72 1.946.72 3.12 0 1.174-.177 2.288-.72 3.24-.543.936-1.306 1.62-2.28 2.16a7.167 7.167 0 0 1-3.36.84Zm0-2.88c.894 0 1.601-.341 2.16-.96.559-.619.84-1.416.84-2.4 0-1-.189-1.758-.748-2.377a3 3 0 0 0-2.252-.983c-.894 0-1.601.341-2.16.96-.559.619-.84 1.4-.84 2.4 0 .984.281 1.781.84 2.4.559.619 1.266.96 2.16.96ZM169.82 23.16c.974.524 2.027.84 3.24.84a7.167 7.167 0 0 0 3.36-.84c.974-.54 1.737-1.224 2.28-2.16.543-.952.72-2.066.72-3.24 0-1.174-.177-2.184-.72-3.12-.543-.952-1.306-1.756-2.28-2.28-.974-.54-2.147-.84-3.36-.84a6.52 6.52 0 0 0-3.24.84c-.974.524-1.737 1.328-2.28 2.28a6.044 6.044 0 0 0-.84 3.12 6.53 6.53 0 0 0 .84 3.24c.543.936 1.306 1.62 2.28 2.16Zm5.4-3c-.559.619-1.266.96-2.16.96-.894 0-1.601-.341-2.16-.96-.559-.619-.84-1.416-.84-2.4 0-1 .281-1.781.84-2.4.559-.619 1.266-.96 2.16-.96.894 0 1.601.341 2.16.96.559.619.84 1.4.84 2.4 0 .984-.281 1.781-.84 2.4Z" clip-rule="evenodd"></path><path fill="#00DC82" d="M184.82 24h-3.36V8.4h3.36V24ZM188.18 22.8c.926.762 2.236 1.2 3.72 1.2 1.42 0 2.514-.398 3.36-1.08.862-.698 1.32-1.617 1.32-2.76 0-1-.305-1.756-.72-2.28-.415-.524-.865-.905-1.44-1.08-.559-.19-1.282-.353-2.16-.48-.814-.111-1.417-.217-1.8-.36-.367-.159-.48-.396-.48-.84 0-.365.073-.634.36-.84.287-.206.721-.36 1.2-.36s.937.194 1.32.48c.399.27.536.588.6 1.08h2.373c.276 0 .497-.232.453-.504-.156-.955-.61-1.767-1.386-2.376-.894-.714-2.028-1.08-3.48-1.08-.814 0-1.506.163-2.16.48a3.842 3.842 0 0 0-1.56 1.32c-.367.54-.6 1.222-.6 1.92 0 .92.217 1.532.6 2.04.399.492.897.89 1.44 1.08.543.19 1.178.321 2.04.48.83.143 1.417.305 1.8.48s.6.516.6.96c0 .333-.145.618-.48.84-.319.222-.689.36-1.2.36-.622 0-1.161-.178-1.56-.48a2.022 2.022 0 0 1-.72-1.32h-2.376a.449.449 0 0 0-.457.502c.149 1.06.605 1.944 1.393 2.618ZM145.58 24h3.6V10.32h3.6a1.44 1.44 0 0 0 1.44-1.44V7.2H142.1a1.44 1.44 0 0 0-1.44 1.44v1.68h4.92V24Z"></path>',6),kL=[$L];function OL(e,t){return Y(),ve("svg",PL,kL)}const NL=ei(RL,[["render",OL]]),IL={key:0,flex:"~ col justify-center items-center gap-4",fixed:"","bottom-0":"","left-0":"","right-0":"","top-0":"","z-2147483646":"",p5:"","text-lg":"","backdrop-blur-4":"","n-glass-effect":""},LL=V("div",{"flex-auto":""},null,-1),DL={flex:"~","mt-8":"","items-center":"","justify-center":""},ML={flex:"~ gap-2","items-center":"",op50:""},FL=V("div",{border:"t base",my2:"","h-1px":"","w-10":""},null,-1),BL={flex:"~ gap-2","animate-pulse":"","items-center":"","text-xl":"","text-yellow":""},jL=V("div",{"flex-auto":""},null,-1),zL=Ae({__name:"DisconnectIndicator",setup(e){function t(){window.location.reload()}return(n,r)=>{const o=NL,s=Ao,i=ar;return Y(),xe(vg,{to:"body"},[("wsConnectingDebounced"in n?n.wsConnectingDebounced:j(YR))?(Y(),ve("div",IL,[LL,V("div",DL,[K(o,{"h-8":""})]),V("div",ML,[K(s,{icon:"i-carbon-wifi-off"}),Re(" Disconnected from Server ")]),FL,V("div",BL,[K(s,{icon:"i-carbon-circle-dash","animate-spin":""}),Re(" Retrying... ")]),jL,K(i,{n:"sm yellow",px2:"",py0:"",op40:"",onClick:r[0]||(r[0]=a=>t())},{default:ue(()=>[Re(" Reload DevTools Page ")]),_:1})])):Ge("",!0)])}}}),HL={p4:"",flex:"~ col gap-1"},UL=V("h3",{class:"text-lg font-medium leading-6"}," Restart ",-1),VL={op50:""},GL={flex:"~ gap-3",mt2:"","justify-end":""},WL=Ae({__name:"RestartDialogs",setup(e){const t=Ne(),n=u2(),r=at(),o=Wu();return t.hook("devtools:terminal:exit",({id:s,code:i})=>{if(i===0){const a=n.value.find(l=>l.id===s);a&&(n.value=n.value.filter(l=>l.id!==s),o.start(a.message).then(async l=>{l&&(we.restartNuxt(await Bc()),setTimeout(()=>{r.value?.app.reload()},500))}))}}),(s,i)=>{const a=ar,l=fl;return Y(),xe(j(o),null,{default:ue(({resolve:c,args:u})=>[K(l,{"model-value":!0,onClose:f=>c(!1)},{default:ue(()=>[V("div",HL,[UL,V("p",VL,_t(u[0]),1),V("div",GL,[K(a,{onClick:f=>c(!1)},{default:ue(()=>[Re(" Cancel ")]),_:2},1032,["onClick"]),K(a,{n:"solid primary",onClick:f=>c(!0)},{default:ue(()=>[Re(" Update ")]),_:2},1032,["onClick"])])])]),_:2},1032,["onClose"])]),_:1})}}});function KL(){return Js("schema:input",null)}const Mp=U([]),Fp=U();function qL(){const e=Ne(),t=at(),n=rt();Object.assign(Sv,{async refresh(s){e.hooks.callHookParallel("app:data:refresh",[s])},async callHook(s,...i){e.hooks.callHookParallel(s,...i)},async onTerminalData(s){e.hooks.callHookParallel("devtools:terminal:data",s)},async onTerminalExit(s){e.hooks.callHookParallel("devtools:terminal:exit",s);const i=Mp.value.findIndex(a=>a.processId===s.id);i!==-1&&Mp.value.splice(i,1),Fp.value?.processId===s.id&&(Fp.value=void 0)},async navigateTo(s){t.value.devtools.open(),n.currentRoute.value?.path!==s&&n.push(s)}}),we.getModuleOptions().then(s=>{s.disableAuthorization&&(xt.value=!0,yt.value||="disabled")});const{hiddenTabs:r,pinnedTabs:o}=Dr();sl("open",{hiddenTabs:r.value.join(","),pinnedTabs:o.value.join(",")},!0)}var YL=Object.create,Hy=Object.defineProperty,XL=Object.getOwnPropertyDescriptor,bf=Object.getOwnPropertyNames,JL=Object.getPrototypeOf,ZL=Object.prototype.hasOwnProperty,QL=(e,t)=>function(){return e&&(t=(0,e[bf(e)[0]])(e=0)),t},eD=(e,t)=>function(){return t||(0,e[bf(e)[0]])((t={exports:{}}).exports,t),t.exports},tD=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of bf(t))!ZL.call(e,o)&&o!==n&&Hy(e,o,{get:()=>t[o],enumerable:!(r=XL(t,o))||r.enumerable});return e},nD=(e,t,n)=>(n=e!=null?YL(JL(e)):{},tD(t||!e||!e.__esModule?Hy(n,"default",{value:e,enumerable:!0}):n,e)),ti=QL({"../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.43.0_@types+node@20.12.7__postcss@8.4.38_typescript@5.4.5/node_modules/tsup/assets/esm_shims.js"(){}}),rD=eD({"../../node_modules/.pnpm/rfdc@1.3.1/node_modules/rfdc/index.js"(e,t){ti(),t.exports=r;function n(s){return s instanceof Buffer?Buffer.from(s):new s.constructor(s.buffer.slice(),s.byteOffset,s.length)}function r(s){if(s=s||{},s.circles)return o(s);return s.proto?l:a;function i(c,u){for(var f=Object.keys(c),d=new Array(f.length),h=0;h<f.length;h++){var p=f[h],g=c[p];typeof g!="object"||g===null?d[p]=g:g instanceof Date?d[p]=new Date(g):ArrayBuffer.isView(g)?d[p]=n(g):d[p]=u(g)}return d}function a(c){if(typeof c!="object"||c===null)return c;if(c instanceof Date)return new Date(c);if(Array.isArray(c))return i(c,a);if(c instanceof Map)return new Map(i(Array.from(c),a));if(c instanceof Set)return new Set(i(Array.from(c),a));var u={};for(var f in c)if(Object.hasOwnProperty.call(c,f)!==!1){var d=c[f];typeof d!="object"||d===null?u[f]=d:d instanceof Date?u[f]=new Date(d):d instanceof Map?u[f]=new Map(i(Array.from(d),a)):d instanceof Set?u[f]=new Set(i(Array.from(d),a)):ArrayBuffer.isView(d)?u[f]=n(d):u[f]=a(d)}return u}function l(c){if(typeof c!="object"||c===null)return c;if(c instanceof Date)return new Date(c);if(Array.isArray(c))return i(c,l);if(c instanceof Map)return new Map(i(Array.from(c),l));if(c instanceof Set)return new Set(i(Array.from(c),l));var u={};for(var f in c){var d=c[f];typeof d!="object"||d===null?u[f]=d:d instanceof Date?u[f]=new Date(d):d instanceof Map?u[f]=new Map(i(Array.from(d),l)):d instanceof Set?u[f]=new Set(i(Array.from(d),l)):ArrayBuffer.isView(d)?u[f]=n(d):u[f]=l(d)}return u}}function o(s){var i=[],a=[];return s.proto?u:c;function l(f,d){for(var h=Object.keys(f),p=new Array(h.length),g=0;g<h.length;g++){var m=h[g],v=f[m];if(typeof v!="object"||v===null)p[m]=v;else if(v instanceof Date)p[m]=new Date(v);else if(ArrayBuffer.isView(v))p[m]=n(v);else{var _=i.indexOf(v);_!==-1?p[m]=a[_]:p[m]=d(v)}}return p}function c(f){if(typeof f!="object"||f===null)return f;if(f instanceof Date)return new Date(f);if(Array.isArray(f))return l(f,c);if(f instanceof Map)return new Map(l(Array.from(f),c));if(f instanceof Set)return new Set(l(Array.from(f),c));var d={};i.push(f),a.push(d);for(var h in f)if(Object.hasOwnProperty.call(f,h)!==!1){var p=f[h];if(typeof p!="object"||p===null)d[h]=p;else if(p instanceof Date)d[h]=new Date(p);else if(p instanceof Map)d[h]=new Map(l(Array.from(p),c));else if(p instanceof Set)d[h]=new Set(l(Array.from(p),c));else if(ArrayBuffer.isView(p))d[h]=n(p);else{var g=i.indexOf(p);g!==-1?d[h]=a[g]:d[h]=c(p)}}return i.pop(),a.pop(),d}function u(f){if(typeof f!="object"||f===null)return f;if(f instanceof Date)return new Date(f);if(Array.isArray(f))return l(f,u);if(f instanceof Map)return new Map(l(Array.from(f),u));if(f instanceof Set)return new Set(l(Array.from(f),u));var d={};i.push(f),a.push(d);for(var h in f){var p=f[h];if(typeof p!="object"||p===null)d[h]=p;else if(p instanceof Date)d[h]=new Date(p);else if(p instanceof Map)d[h]=new Map(l(Array.from(p),u));else if(p instanceof Set)d[h]=new Set(l(Array.from(p),u));else if(ArrayBuffer.isView(p))d[h]=n(p);else{var g=i.indexOf(p);g!==-1?d[h]=a[g]:d[h]=u(p)}}return i.pop(),a.pop(),d}}}});ti();ti();var oD=typeof navigator<"u",Te=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{};typeof Te.chrome<"u"&&Te.chrome.devtools;oD&&(Te.self,Te.top);typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes("electron");ti();var sD=nD(rD(),1);function Bp(){}var iD=/(?:^|[-_/])(\w)/g,aD=/-(\w)/g;function Uy(e,t){return t?t.toUpperCase():""}function lD(e){return e&&`${e}`.replace(iD,Uy)}function cD(e){return e&&e.replace(aD,Uy)}function uD(e,t){const n=e.replace(/^[a-zA-Z]:/,"").replace(/\\/g,"/"),r=n.lastIndexOf("/"),o=n.substring(r+1);if(t){const s=o.lastIndexOf(t);return o.substring(0,s)}return""}var jp=(0,sD.default)({circles:!0});ti();const fD={trailing:!0};function wf(e,t=25,n={}){if(n={...fD,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,o,s=[],i,a;const l=(c,u)=>(i=dD(e,c,u),i.finally(()=>{if(i=null,n.trailing&&a&&!o){const f=l(c,a);return a=null,f}}),i);return function(...c){return i?(n.trailing&&(a=c),i):new Promise(u=>{const f=!o&&n.leading;clearTimeout(o),o=setTimeout(()=>{o=null;const d=n.leading?r:l(this,c);for(const h of s)h(d);s=[]},t),f?(r=l(this,c),u(r)):s.push(u)})}}async function dD(e,t,n){return await e.apply(t,n)}var hD=Object.create,Vy=Object.defineProperty,pD=Object.getOwnPropertyDescriptor,Ef=Object.getOwnPropertyNames,mD=Object.getPrototypeOf,gD=Object.prototype.hasOwnProperty,vD=(e,t)=>function(){return e&&(t=(0,e[Ef(e)[0]])(e=0)),t},Gy=(e,t)=>function(){return t||(0,e[Ef(e)[0]])((t={exports:{}}).exports,t),t.exports},yD=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Ef(t))!gD.call(e,o)&&o!==n&&Vy(e,o,{get:()=>t[o],enumerable:!(r=pD(t,o))||r.enumerable});return e},_D=(e,t,n)=>(n=e!=null?hD(mD(e)):{},yD(t||!e||!e.__esModule?Vy(n,"default",{value:e,enumerable:!0}):n,e)),de=vD({"../../node_modules/.pnpm/tsup@8.0.2_@microsoft+api-extractor@7.43.0_@types+node@20.12.7__postcss@8.4.38_typescript@5.4.5/node_modules/tsup/assets/esm_shims.js"(){}}),bD=Gy({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){de(),function(n){var r={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},o=["်","ް"],s={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},i={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},a={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},l=[";","?",":","@","&","=","+","$",",","/"].join(""),c=[";","?",":","@","&","=","+","$",","].join(""),u=[".","!","~","*","'","(",")"].join(""),f=function(m,v){var _="-",y="",b="",E=!0,C={},O,k,D,P,L,A,S,T,B,R,$,I,J,ae,ie="";if(typeof m!="string")return"";if(typeof v=="string"&&(_=v),S=a.en,T=i.en,typeof v=="object"){O=v.maintainCase||!1,C=v.custom&&typeof v.custom=="object"?v.custom:C,D=+v.truncate>1&&v.truncate||!1,P=v.uric||!1,L=v.uricNoSlash||!1,A=v.mark||!1,E=!(v.symbols===!1||v.lang===!1),_=v.separator||_,P&&(ie+=l),L&&(ie+=c),A&&(ie+=u),S=v.lang&&a[v.lang]&&E?a[v.lang]:E?a.en:{},T=v.lang&&i[v.lang]?i[v.lang]:v.lang===!1||v.lang===!0?{}:i.en,v.titleCase&&typeof v.titleCase.length=="number"&&Array.prototype.toString.call(v.titleCase)?(v.titleCase.forEach(function(le){C[le+""]=le+""}),k=!0):k=!!v.titleCase,v.custom&&typeof v.custom.length=="number"&&Array.prototype.toString.call(v.custom)&&v.custom.forEach(function(le){C[le+""]=le+""}),Object.keys(C).forEach(function(le){var Se;le.length>1?Se=new RegExp("\\b"+h(le)+"\\b","gi"):Se=new RegExp(h(le),"gi"),m=m.replace(Se,C[le])});for($ in C)ie+=$}for(ie+=_,ie=h(ie),m=m.replace(/(^\s+|\s+$)/g,""),J=!1,ae=!1,R=0,I=m.length;R<I;R++)$=m[R],p($,C)?J=!1:T[$]?($=J&&T[$].match(/[A-Za-z0-9]/)?" "+T[$]:T[$],J=!1):$ in r?(R+1<I&&o.indexOf(m[R+1])>=0?(b+=$,$=""):ae===!0?($=s[b]+r[$],b=""):$=J&&r[$].match(/[A-Za-z0-9]/)?" "+r[$]:r[$],J=!1,ae=!1):$ in s?(b+=$,$="",R===I-1&&($=s[b]),ae=!0):S[$]&&!(P&&l.indexOf($)!==-1)&&!(L&&c.indexOf($)!==-1)?($=J||y.substr(-1).match(/[A-Za-z0-9]/)?_+S[$]:S[$],$+=m[R+1]!==void 0&&m[R+1].match(/[A-Za-z0-9]/)?_:"",J=!0):(ae===!0?($=s[b]+$,b="",ae=!1):J&&(/[A-Za-z0-9]/.test($)||y.substr(-1).match(/A-Za-z0-9]/))&&($=" "+$),J=!1),y+=$.replace(new RegExp("[^\\w\\s"+ie+"_-]","g"),_);return k&&(y=y.replace(/(\w)(\S*)/g,function(le,Se,Ce){var Ke=Se.toUpperCase()+(Ce!==null?Ce:"");return Object.keys(C).indexOf(Ke.toLowerCase())<0?Ke:Ke.toLowerCase()})),y=y.replace(/\s+/g,_).replace(new RegExp("\\"+_+"+","g"),_).replace(new RegExp("(^\\"+_+"+|\\"+_+"+$)","g"),""),D&&y.length>D&&(B=y.charAt(D)===_,y=y.slice(0,D),B||(y=y.slice(0,y.lastIndexOf(_)))),!O&&!k&&(y=y.toLowerCase()),y},d=function(m){return function(_){return f(_,m)}},h=function(m){return m.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},p=function(g,m){for(var v in m)if(m[v]===g)return!0};if(typeof t<"u"&&t.exports)t.exports=f,t.exports.createSlug=d;else if(typeof define<"u"&&define.amd)define([],function(){return f});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=f,n.createSlug=d}catch{}}(e)}}),wD=Gy({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){de(),t.exports=bD()}});de();de();de();de();de();de();de();de();de();de();var zp,Hp,jn=(Hp=(zp=Te).__VUE_DEVTOOLS_HOOK)!=null?Hp:zp.__VUE_DEVTOOLS_HOOK=Wa(),ED={vueAppInit(e){jn.hook("app:init",e)},vueAppUnmount(e){jn.hook("app:unmount",e)},vueAppConnected(e){jn.hook("app:connected",e)},componentAdded(e){return jn.hook("component:added",e)},componentUpdated(e){return jn.hook("component:updated",e)},componentRemoved(e){return jn.hook("component:removed",e)},setupDevtoolsPlugin(e){jn.hook("devtools-plugin:setup",e)}},SD={on:ED,setupDevToolsPlugin(e,t){return jn.callHook("devtools-plugin:setup",e,t)}};de();de();de();de();de();de();de();_D(wD(),1);de();de();de();var Up,Vp,ni=(Vp=(Up=Te).__VUE_DEVTOOLS_API_HOOK)!=null?Vp:Up.__VUE_DEVTOOLS_API_HOOK=Wa();function xD(e){const t=new Map;return(e?.getRoutes()||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function Sf(e){return e.map(t=>{let{path:n,name:r,children:o}=t;return o?.length&&(o=Sf(o)),{path:n,name:r,children:o}})}function CD(e){if(e){const{fullPath:t,hash:n,href:r,path:o,name:s,matched:i,params:a,query:l}=e;return{fullPath:t,hash:n,href:r,path:o,name:s,params:a,query:l,matched:Sf(i)}}return e}function AD(e,t){function n(){var r;const o=(r=e.app)==null?void 0:r.config.globalProperties.$router,s=CD(o?.currentRoute.value),i=Sf(xD(o)),a=console.warn;console.warn=()=>{},Te[po]={currentRoute:s?jp(s):{},routes:jp(i)},Te[Pa]=o,console.warn=a}n(),SD.on.componentUpdated(wf(()=>{var r;((r=t.activeAppRecord)==null?void 0:r.app)===e.app&&(n(),ni.callHook("router-info:updated",Te[po]))},200))}de();de();de();function TD(e){return e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name}function Wy(e){const t=e.__file;if(t)return lD(uD(t,".vue"))}function RD(e){const t=e.displayName||e.name||e._componentTag;return t||Wy(e)}function Gp(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function PD(e){var t,n,r;const o=TD(e.type||{});if(o)return o;if(e.root===e)return"Root";for(const i in(n=(t=e.parent)==null?void 0:t.type)==null?void 0:n.components)if(e.parent.type.components[i]===e.type)return Gp(e,i);for(const i in(r=e.appContext)==null?void 0:r.components)if(e.appContext.components[i]===e.type)return Gp(e,i);const s=Wy(e.type||{});return s||"Anonymous Component"}function cr(e){try{return e()}catch(t){return t}}de();de();de();de();de();de();de();de();var $D=new Set(["nextTick","defineComponent","defineAsyncComponent","defineCustomElement","ref","computed","reactive","readonly","watchEffect","watchPostEffect","watchSyncEffect","watch","isRef","unref","toRef","toRefs","isProxy","isReactive","isReadonly","shallowRef","triggerRef","customRef","shallowReactive","shallowReadonly","toRaw","markRaw","effectScope","getCurrentScope","onScopeDispose","onMounted","onUpdated","onUnmounted","onBeforeMount","onBeforeUpdate","onBeforeUnmount","onErrorCaptured","onRenderTracked","onRenderTriggered","onActivated","onDeactivated","onServerPrefetch","provide","inject","h","mergeProps","cloneVNode","isVNode","resolveComponent","resolveDirective","withDirectives","withModifiers"]),Wp=/^\[native Symbol Symbol\((.*)\)\]$/,Kp=/^\[native (\w+) (.*?)(<>((.|\s)*))?\]$/,kD=/^(?:function|class) (\w+)/,qp=1e4,Yp=5e3,xf="__vue_devtool_undefined__",Cf="__vue_devtool_infinity__",Af="__vue_devtool_negative_infinity__",Tf="__vue_devtool_nan__",OD={"<":"<",">":">",'"':""","&":"&"};de();de();function ND(e){return e._&&Object.keys(e._).includes("vnode")}function ID(e){return Object.prototype.toString.call(e)==="[object Object]"}function LD(e){if(e==null)return!0;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}function Ky(e){return!!e.__v_isRef}function DD(e){return Ky(e)&&!!e.effect}function MD(e){return!!e.__v_isReactive}function FD(e){return!!e.__v_isReadonly}var BD={[xf]:"undefined",[Tf]:"NaN",[Cf]:"Infinity",[Af]:"-Infinity"};Object.entries(BD).reduce((e,[t,n])=>(e[n]=t,e),{});function qy(e){if(Array.isArray(e))return e.map(n=>qy(n)).join(" or ");if(e==null)return"null";const t=e.toString().match(kD);return typeof e=="function"&&t&&t[1]||"any"}function jD(e){return!LD(e)&&!Array.isArray(e)&&!ID(e)?Object.prototype.toString.call(e):e}function Yy(e){return{ref:Ky(e),computed:DD(e),reactive:MD(e),readonly:FD(e)}}function Xy(e){return e?.__v_raw?e.__v_raw:e}function zD(e){return e.replace(/[<>"&]/g,t=>OD[t]||t)}function Ra(e,t,n){if(typeof t=="function"&&(t=t.options),!t)return e;const{mixins:r,extends:o}=t;o&&Ra(e,o),r&&r.forEach(s=>Ra(e,s));for(const s of["computed","inject"])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]?Object.assign(e[s],t[s]):e[s]=t[s]);return e}function HD(e){const t=e.type,{mixins:n,extends:r}=t,o=e.appContext.mixins;if(!o.length&&!n&&!r)return t;const s={};return o.forEach(i=>Ra(s,i)),Ra(s,t),s}function UD(e){const t=[],n=e.type.props;for(const r in e.props){const o=n?n[r]:null,s=cD(r);t.push({type:"props",key:s,value:cr(()=>e.props[r]),meta:o?{type:o.type?qy(o.type):"any",required:!!o.required,...o.default?{default:o.default.toString()}:{}}:{type:"invalid"}})}return t}function VD(e){const t=e.type,n=t.props,r=t.vuex&&t.vuex.getters,o=t.computed,s={...e.data,...e.renderContext};return Object.keys(s).filter(i=>!(n&&i in n)&&!(r&&i in r)&&!(o&&i in o)).map(i=>({key:i,type:"data",value:cr(()=>s[i]),editable:!0}))}function GD(e){const t=e.computed?"computed":e.ref?"ref":e.reactive?"reactive":null,n=t?`${t.charAt(0).toUpperCase()}${t.slice(1)}`:null;return{stateType:t,stateTypeName:n}}function WD(e){const t=e.devtoolsRawSetupState||{};return Object.keys(e.setupState).filter(n=>!$D.has(n)&&n.split(/(?=[A-Z])/)[0]!=="use").map(n=>{var r,o,s,i;const a=cr(()=>Xy(e.setupState[n])),l=t[n];let c,u=typeof a=="function"||typeof a?.render=="function"||typeof a?.__asyncLoader=="function"||typeof a=="object"&&a&&("setup"in a||"props"in a)||/^v[A-Z]/.test(n);if(l){const d=Yy(l),{stateType:h,stateTypeName:p}=GD(d),g=d.ref||d.computed||d.reactive,m=((o=(r=l.effect)==null?void 0:r.raw)==null?void 0:o.toString())||((i=(s=l.effect)==null?void 0:s.fn)==null?void 0:i.toString());h&&(u=!1),c={...h?{stateType:h,stateTypeName:p}:{},...m?{raw:m}:{},editable:g&&!d.readonly}}return{key:n,value:a,type:u?"setup (other)":"setup",...c}})}function KD(e,t){const n=t,r=[],o=n.computed||{};for(const s in o){const i=o[s],a=typeof i=="function"&&i.vuex?"vuex bindings":"computed";r.push({type:a,key:s,value:cr(()=>{var l;return(l=e?.proxy)==null?void 0:l[s]}),editable:typeof i.set=="function"})}return r}function qD(e){return Object.keys(e.attrs).map(t=>({type:"attrs",key:t,value:cr(()=>e.attrs[t])}))}function YD(e){return Reflect.ownKeys(e.provides).map(t=>({type:"provided",key:t.toString(),value:cr(()=>e.provides[t])}))}function XD(e,t){if(!t?.inject)return[];let n=[],r;return Array.isArray(t.inject)?n=t.inject.map(o=>({key:o,originalKey:o})):n=Reflect.ownKeys(t.inject).map(o=>{const s=t.inject[o];let i;return typeof s=="string"||typeof s=="symbol"?i=s:(i=s.from,r=s.default),{key:o,originalKey:i}}),n.map(({key:o,originalKey:s})=>({type:"injected",key:s&&o!==s?`${s.toString()} ➞ ${o.toString()}`:o.toString(),value:cr(()=>e.ctx.hasOwnProperty(o)?e.ctx[o]:e.provides.hasOwnProperty(s)?e.provides[s]:r)}))}function JD(e){return Object.keys(e.refs).map(t=>({type:"refs",key:t,value:cr(()=>e.refs[t])}))}function ZD(e){var t;const n=e.type.emits,r=Array.isArray(n)?n:Object.keys(n??{}),o=Object.keys((t=e.vnode.props)!=null?t:{}),s=[];for(const i of o){const[a,...l]=i.split(/(?=[A-Z])/);if(a==="on"){const c=l.join("-").toLowerCase(),u=r.includes(c);s.push({type:"event listeners",key:c,value:{_custom:{displayText:u?"✅ Declared":"⚠️ Not declared",key:u?"✅ Declared":"⚠️ Not declared",value:u?"✅ Declared":"⚠️ Not declared",tooltipText:u?null:`The event <code>${c}</code> is not declared in the <code>emits</code> option. It will leak into the component's attributes (<code>$attrs</code>).`}}})}}return s}function QD(e){const t=HD(e);return UD(e).concat(VD(e),WD(e),KD(e,t),qD(e),YD(e),XD(e,t),JD(e),ZD(e))}de();de();de();de();de();function eM(e){let t="",n=null;try{t=Function.prototype.toString.call(e),n=String.prototype.match.call(t,/\([\s\S]*?\)/)}catch{}const r=n&&n[0],o=typeof r=="string"?r:"(?)",s=typeof e.name=="string"?e.name:"";return{_custom:{type:"function",displayText:`<span style="opacity:.5;margin-right:5px;">function</span> <span style="white-space:nowrap;">${zD(s)}${o}</span>`,tooltipText:t.trim()?`<pre>${t}</pre>`:null}}}function tM(e){const t=BigInt.prototype.toString.call(e);return{_custom:{type:"bigint",displayText:`BigInt(${t})`,value:t}}}function nM(e){const t=new Date(e.getTime());return t.setMinutes(t.getMinutes()-t.getTimezoneOffset()),{_custom:{type:"date",displayText:Date.prototype.toString.call(e),value:t.toISOString().slice(0,-1)}}}function rM(e){return{_custom:{type:"map",displayText:"Map",value:Object.fromEntries(e),readOnly:!0,fields:{abstract:!0}}}}function oM(e){const t=Array.from(e);return{_custom:{type:"set",displayText:`Set[${t.length}]`,value:t,readOnly:!0}}}function sM(e){const t={},n=e.getters||{},r=Object.keys(n);for(let o=0;o<r.length;o++){const s=r[o];Object.defineProperty(t,s,{enumerable:!0,get:()=>{try{return n[s]}catch(i){return i}}})}return t}function iM(e){if(e.length)return e.reduce((t,n)=>{const r=n.type||"data",o=t[r]=t[r]||{};return o[n.key]=n.value,t},{})}function aM(e){const t={},n=e.length;for(let r=0;r<n;r++){const o=e.item(r);t[o.name]=o.value}return t}function lM(e){return{_custom:{type:"store",displayText:"Store",value:{state:e.state,getters:sM(e)},fields:{abstract:!0}}}}function cM(e){return{_custom:{type:"router",displayText:"VueRouter",value:{options:e.options,currentRoute:e.currentRoute},fields:{abstract:!0}}}}function uM(e){e._&&(e=e._);const t=QD(e);return{_custom:{type:"component",id:e.__VUE_DEVTOOLS_NEXT_UID__,displayText:PD(e),tooltipText:"Component instance",value:iM(t),fields:{abstract:!0}}}}function fM(e){let t=RD(e);return t?e.name&&e.__file&&(t+=` <span>(${e.__file})</span>`):t="<i>Unknown Component</i>",{_custom:{type:"component-definition",displayText:t,tooltipText:"Component definition",...e.__file?{file:e.__file}:{}}}}function dM(e){try{return{_custom:{type:"HTMLElement",displayText:`<span class="opacity-30"><</span><span class="text-blue-500">${e.tagName.toLowerCase()}</span><span class="opacity-30">></span>`,value:aM(e.attributes)}}}catch{return{_custom:{type:"HTMLElement",displayText:`<span class="text-blue-500">${String(e)}</span>`}}}}function hM(e){var t,n,r,o;const s=Yy(e);if(s.ref||s.computed||s.reactive){const a=s.computed?"Computed":s.ref?"Ref":s.reactive?"Reactive":null,l=Xy(s.reactive?e:e._value),c=((n=(t=e.effect)==null?void 0:t.raw)==null?void 0:n.toString())||((o=(r=e.effect)==null?void 0:r.fn)==null?void 0:o.toString());return{_custom:{type:a?.toLowerCase(),stateTypeName:a,value:l,...c?{tooltipText:`<span class="font-mono">${c}</span>`}:{}}}}if(typeof e.__asyncLoader=="function")return{_custom:{type:"component-definition",display:"Async component definition"}}}function pM(e){var t;if(e==="compilerOptions")return;const n=this[e],r=typeof n;if(Array.isArray(n)){const o=n.length;return o>Yp?{_isArray:!0,length:o,items:n.slice(0,Yp)}:n}else{if(typeof n=="string")return n.length>qp?`${n.substring(0,qp)}... (${n.length} total length)`:n;if(r==="undefined")return xf;if(n===Number.POSITIVE_INFINITY)return Cf;if(n===Number.NEGATIVE_INFINITY)return Af;if(typeof n=="function")return eM(n);if(r==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(n)}]`;if(typeof n=="bigint")return tM(n);if(n!==null&&typeof n=="object"){const o=Object.prototype.toString.call(n);if(o==="[object Map]")return rM(n);if(o==="[object Set]")return oM(n);if(o==="[object RegExp]")return`[native RegExp ${RegExp.prototype.toString.call(n)}]`;if(o==="[object Date]")return nM(n);if(o==="[object Error]")return`[native Error ${n.message}<>${n.stack}]`;if(n.state&&n._vm)return lM(n);if(n.constructor&&n.constructor.name==="VueRouter")return cM(n);if(ND(n))return uM(n);if(typeof n.render=="function")return fM(n);if(n.constructor&&n.constructor.name==="VNode")return`[native VNode <${n.tag}>]`;if(typeof HTMLElement<"u"&&n instanceof HTMLElement)return dM(n);if(((t=n.constructor)==null?void 0:t.name)==="Store"&&n._wrappedGetters)return"[object Store]";if(n.currentRoute)return"[object Router]";const s=hM(n);if(s!=null)return s}else if(Number.isNaN(n))return Tf}return jD(n)}de();function mM(e){const t=new Set,n=e._custom.value;for(let r=0;r<n.length;r++){const o=n[r];t.add(hl(o))}return t}function gM(e){const t=new Map,n=e._custom.value;for(let r=0;r<n.length;r++){const{key:o,value:s}=n[r];t.set(o,hl(s))}return t}function hl(e){var t;if(e!==xf){if(e===Cf)return Number.POSITIVE_INFINITY;if(e===Af)return Number.NEGATIVE_INFINITY;if(e===Tf)return Number.NaN;if(e&&e._custom){const{_custom:n}=e;return n.type==="component"?(t=ls.appRecord)==null?void 0:t.instanceMap.get(n.id):n.type==="map"?gM(e):n.type==="set"?mM(e):n.type==="bigint"?BigInt(n.value):hl(n.value)}else if(Wp.test(e)){const[,n]=Wp.exec(e);return Symbol.for(n)}else if(Kp.test(e)){const[,n,r,,o]=Kp.exec(e),s=new Te[n](r);return n==="Error"&&o&&(s.stack=o),s}else return e}}function vM(e,t){return hl(t)}de();var ki=512*1024;function nu(e,t,n,r){let o,s,i,a,l;const c=r.get(e);if(c!=null)return c;const u=n.length,f=Object.prototype.toString.call(e);if(f==="[object Object]"){o={},r.set(e,u),n.push(o);const d=Object.keys(e);for(a=0,l=d.length;a<l;a++){s=d[a];try{if(s==="compilerOptions")return;i=e[s],t&&(i=t.call(e,s,i))}catch(h){i=h}o[s]=nu(i,t,n,r)}}else if(f==="[object Array]")for(o=[],r.set(e,u),n.push(o),a=0,l=e.length;a<l;a++){try{i=e[a],t&&(i=t.call(e,a,i))}catch(d){i=d}o[a]=nu(i,t,n,r)}else n.push(e);return u}function yM(e,t=null){let n=e.length,r,o,s,i,a,l;for(;n--;)if(s=e[n],l=Object.prototype.toString.call(s),l==="[object Object]"){const c=Object.keys(s);for(r=0,o=c.length;r<o;r++)i=c[r],a=e[s[i]],t&&(a=t.call(s,i,a)),s[i]=a}else if(l==="[object Array]")for(r=0,o=s.length;r<o;r++)a=e[s[r]],t&&(a=t.call(s,r,a)),s[r]=a}function _M(e,t=null,n=null){let r;try{r=arguments.length===1?JSON.stringify(e):JSON.stringify(e,t,n)}catch{r=bM(e,t,n)}if(r.length>ki){const o=Math.ceil(r.length/ki),s=[];for(let i=0;i<o;i++)s.push(r.slice(i*ki,(i+1)*ki));return s}return r}function bM(e,t=null,n=null){const r=[];return nu(e,t,r,new Map),n?` ${JSON.stringify(r,null,n)}`:` ${JSON.stringify(r)}`}function Xp(e,t=null){if(Array.isArray(e)&&(e=e.join("")),/^\s/.test(e)){const r=JSON.parse(e);return yM(r,t),r[0]}else return arguments.length===1?JSON.parse(e):JSON.parse(e,t)}de();function Jy(e){return _M(e,pM)}function wM(e,t=!1){return e==null?{}:t?Xp(e,vM):Xp(e)}de();de();de();de();de();var Jp,Zp;(Zp=(Jp=Te).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(Jp.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);de();de();de();var Wn="__VUE_DEVTOOLS_GLOBAL_STATE__";function EM(){return{connected:!1,clientConnected:!1,appRecords:[],activeAppRecord:null,selectedComponentId:null,pluginBuffer:[],tabs:[],commands:[],vitePluginDetected:!1,activeAppRecordId:null,highPerfModeEnabled:!1}}var Qp,em;(em=(Qp=Te)[Wn])!=null||(Qp[Wn]=EM());var Zy=wf((e,t)=>{ni.callHook("devtools:state-updated",e,t)},80),Qy=wf((e,t)=>{ni.callHook("devtools:connected-updated",e,t)},80),ut=new Proxy(Te[Wn],{get(e,t){return Te[Wn][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){const r={...Te[Wn]};return e[t]=n,Te[Wn][t]=n,Zy(Te[Wn],r),["connected","clientConnected"].includes(t.toString())&&r[t]!==n&&Qy(Te[Wn],r),!0}});Object.defineProperty(ut.tabs,"push",{configurable:!0,value(...e){const t=Array.prototype.push.apply(this,e);return ut.tabs=this,ni.callHook("custom-tabs:updated",this),t}});["push","splice"].forEach(e=>{Object.defineProperty(ut.commands,e,{configurable:!0,value(...t){const n=Array.prototype[e].apply(this,t);return ut.commands=this,ni.callHook("custom-commands:updated",this),n}})});de();de();var Pa="__VUE_DEVTOOLS_ROUTER__",po="__VUE_DEVTOOLS_ROUTER_INFO__",tm,nm;(nm=(tm=Te)[po])!=null||(tm[po]={currentRoute:null,routes:[]});var rm,om;(om=(rm=Te)[Pa])!=null||(rm[Pa]=null);var SM=new Proxy(Te[po],{get(e,t){return Te[po][t]}});de();var to="__VUE_DEVTOOLS_CONTEXT__";function e_(){return{appRecord:null,api:null,inspector:[],timelineLayer:[],routerInfo:{},router:null,activeInspectorTreeId:"",componentPluginHookBuffer:[]}}var sm,im;(im=(sm=Te)[to])!=null||(sm[to]=e_());function xM(){Te[to]=e_()}var ls=new Proxy(Te[to],{get(e,t){return t==="router"?Te[Pa]:t==="clear"?xM:Te[to][t]},set(e,t,n){return Te[to][t]=n,!0}});new Proxy(ut.appRecords,{get(e,t){if(t==="value")return ut.appRecords;if(t==="active")return ut.activeAppRecord;if(t==="activeId")return ut.activeAppRecordId},set(e,t,n){var r;const o={...ut};if(t==="value")ut.appRecords=n;else if(t==="active"){const s=n;ut.activeAppRecord=s,ls.appRecord=s,ls.api=s.api,ls.inspector=(r=s.inspector)!=null?r:[],AD(n,ut),ls.routerInfo=SM}else t==="activeId"&&(ut.activeAppRecordId=n);return Zy(ut,o),["connected","clientConnected"].includes(t.toString())&&o[t]!==n&&Qy(ut,o),!0}});var am,lm;(lm=(am=Te).__VUE_DEVTOOLS_NEXT_APP_RECROD_INFO__)!=null||(am.__VUE_DEVTOOLS_NEXT_APP_RECROD_INFO__={id:0,appIds:new Set});de();var cm,um;(um=(cm=Te).__VUE_DEVTOOLS_ENV__)!=null||(cm.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});de();de();function ru(e){ut.highPerfModeEnabled=e??!ut.highPerfModeEnabled}let CM="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",t_=(e=21)=>{let t="",n=e;for(;n--;)t+=CM[Math.random()*64|0];return t};function AM(e){return{all:e=e||new Map,on:function(t,n){var r=e.get(t);r?r.push(n):e.set(t,[n])},off:function(t,n){var r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit:function(t,n){var r=e.get(t);r&&r.slice().map(function(o){o(n)}),(r=e.get("*"))&&r.slice().map(function(o){o(t,n)})}}}var TM=Object.defineProperty,n_=(e,t)=>{for(var n in t)TM(e,n,{get:t[n],enumerable:!0})},RM={};n_(RM,{onAddTimelineEvent:()=>f6,onCustomCommandsUpdated:()=>a6,onCustomTabsUpdated:()=>i6,onDevToolsStateUpdated:()=>l_,onInspectorStateUpdated:()=>c6,onInspectorTreeUpdated:()=>l6,onRouterInfoUpdated:()=>u6});var PM={};n_(PM,{cancelInspectComponentInspector:()=>FM,checkVueInspectorDetected:()=>$M,editInspectorState:()=>NM,enableVueInspector:()=>kM,getComponentBoundingRect:()=>DM,getComponentRenderCode:()=>zM,getDevToolsState:()=>r_,getInspectorState:()=>HM,getInspectorTree:()=>LM,getMatchedRoutes:()=>KM,getRouterInfo:()=>GM,getTimelineLayer:()=>qM,inspectComponentInspector:()=>MM,navigateAction:()=>WM,openInEditor:()=>IM,scrollToComponent:()=>jM,toggleApp:()=>OM,toggleComponentInspector:()=>BM,toggleHighPerfMode:()=>YM,unhighlightElement:()=>VM,updateInspectorTreeId:()=>UM});var $M=Xe("devtools:check-vue-inspector-detected",async e=>{var t,n;return!!await((n=(t=e?.api)==null?void 0:t.getVueInspector)==null?void 0:n.call(t))}),kM=Xe("devtools:enable-vue-inspector",async e=>{var t,n;const r=await((n=(t=e?.api)==null?void 0:t.getVueInspector)==null?void 0:n.call(t));r&&await r.enable()}),OM=Xe("devtools:toggle-app",async(e,t)=>{await e.api.toggleApp(t)}),NM=Xe("devtools:edit-inspector-state",(e,t)=>{e.api.editInspectorState(t)}),IM=Xe("devtools:open-in-editor",(e,t,n)=>{e.api.openInEditor({file:t,baseUrl:n})}),LM=Xe("devtools:inspector-tree",async(e,t)=>{const n=await e.api.getInspectorTree(t);return Jy(n)}),DM=Xe("devtools:get-component-bounding-rect",(e,t)=>e.api.getComponentBoundingRect(t)),MM=Xe("devtools:inspect-component-inspector",e=>e.api.inspectComponentInspector()),FM=Xe("devtools:cancel-inspect-component-inspector",e=>e.api.cancelInspectComponentInspector()),BM=Xe("devtools:toggle-component-inspector",(e,t)=>e.api.toggleComponentInspector(t)),jM=Xe("devtools:scroll-to-component",(e,t)=>e.api.scrollToComponent(t)),zM=Xe("devtools:get-component-render-code",(e,t)=>e.api.getComponentRenderCode(t)),HM=Xe("devtools:inspector-state",async(e,t)=>{const n=await e.api.getInspectorState(t);return Jy(n)}),UM=Xe("devtools:update-inspector-tree-id",(e,t)=>{e.context.activeInspectorTreeId=t}),VM=Xe("devtools:unhighlight-element",e=>e.api.unhighlightElement()),GM=Xe("devtools:router-info",e=>JSON.stringify(e.context.routerInfo)),WM=Xe("devtools:router-navigate",(e,t)=>{var n;(n=e.context.router)==null||n.push(t).catch(r=>r)}),KM=Xe("devtools:matched-routes",(e,t)=>{var n,r;const o=console.warn;console.warn=()=>{};const s=(r=(n=e.context.router)==null?void 0:n.resolve({path:t||"/"}).matched)!=null?r:[];return console.warn=o,JSON.stringify(s)}),qM=Xe("devtools:get-timeline-layer",e=>e.context.timelineLayer),r_=Xe("devtools:get-state",e=>{var t,n;return{connected:e.state.connected,clientConnected:e.state.clientConnected,vueVersion:((n=(t=e.state)==null?void 0:t.activeAppRecord)==null?void 0:n.version)||"",tabs:e.state.tabs,commands:e.state.commands,vitePluginDetected:e.state.vitePluginDetected,appRecords:e.state.appRecords.map(r=>({id:r.id,name:r.name,version:r.version,routerId:r.routerId,moduleDetectives:r.moduleDetectives})),activeAppRecordId:e.state.activeAppRecordId}}),YM=Xe("devtools:toggle-high-perf-mode",(e,t)=>{ru(t)}),XM="devtools:bridge-action",JM="devtools:bridge-listener",o_="__vue_devtools_bridge__",s_="__vue_devtools_bridge_target__",ZM="devtools:bridge-action-events",QM="devtools:bridge-listener-events",e6=Te[ZM]=new Map,t6=Te[QM]=new Map;function i_(){return Te[o_]}function n6(e){Te[o_]=e}function r6(e){Te[s_]=e}function a_(){return Te[s_]}function o6(e){n6(e),r6("devtools")}function Xe(e,t){return async(...n)=>{if(a_()==="devtools"){const o=i_(),s=t_();return await new Promise(i=>{o.once(s,a=>{i(a)}),o.emit(XM,{name:e,key:s,args:n})})}else e6.set(e,t)}}function Fr(e,t,n={}){return r=>{if(a_()==="devtools"){const{parser:s="devtools"}=n,i=s==="devtools"?wM:JSON.parse,a=i_(),l=t_(),c=a.on(l,u=>{r(i(u))});return a.emit(JM,{key:l,name:e,parser:s}),c}else return t6.set(e,t),()=>{}}}var s6=class{constructor(e={tracker:Bp,trigger:Bp}){this.emitter=AM(),this.adapter=e,this.adapter.tracker(t=>{this._emit(t.event,t.data)})}_on(e,t){this.emitter.on(e,t)}off(e,t){this.emitter.off(e,t)}_emit(e,t){this.emitter.emit(e,t)}on(e,t){return this._on(e,t),()=>this.off(e,t)}once(e,t){const n=(...r)=>{t(...r),this.off(e,n)};this._on(e,n)}emit(e,t){this.adapter.trigger({event:e,data:t}),this._emit(e,t)}removeAllListeners(){this.emitter.all.clear()}},l_=Fr("devtools:on-state-updated",(e,t)=>{function n(o){var s;return{vueVersion:((s=o?.activeAppRecord)==null?void 0:s.version)||"",connected:o.connected,clientConnected:o.clientConnected,tabs:o.tabs,commands:o.commands,vitePluginDetected:o.vitePluginDetected,appRecords:o.appRecords.map(i=>({id:i.id,name:i.name,version:i.version,routerId:i.routerId,moduleDetectives:i.moduleDetectives})),activeAppRecordId:o.activeAppRecordId}}function r(){e.api.on.devtoolsStateUpdated(o=>{t(n(o))})}if(e?.api)r();else{const o=setInterval(()=>{if(e.state.connected){const s=e.state;t(n(s)),r(),clearInterval(o)}},10)}}),i6=Fr("devtools:on-custom-tabs-updated",(e,t)=>{e.api.on.customTabsUpdated(n=>{t(n)})}),a6=Fr("devtools:on-custom-commands-updated",(e,t)=>{e.api.on.customCommandsUpdated(n=>{t(n)})}),l6=Fr("devtools:on-inspector-tree-updated",(e,t)=>{e.api.on.sendInspectorTree(n=>{t(n)})}),c6=Fr("devtools:on-inspector-state-updated",(e,t)=>{e.api.on.sendInspectorState(n=>{t(n)})}),u6=Fr("devtools:on-router-info-updated",(e,t)=>{e.api.on.routerInfoUpdated(n=>{t(n)})},{parser:"json"}),f6=Fr("devtools:on-add-timeline-event",(e,t)=>{e.api.on.addTimelineEvent(n=>{t(n)})}),d6=class{constructor(e){this.socket=e}},h6=class extends d6{constructor(e){super(e)}onnConnect(){return new Promise(e=>{this.socket.on("syn",()=>{this.socket.emit("syn-ack");const t=setInterval(()=>{this.socket.emit("syn-ack")},300);this.socket.on("ack",()=>{clearInterval(t),e()})})})}},p6="__vue-devtools-broadcast-channel__",m6="__VUE_DEVTOOLS_USER_APP__",c_="__VUE_DEVTOOLS_CLIENT__",g6="__VUE_DEVTOOLS_CHECK_CONNECTION__",v6="__VUE_DEVTOOLS_CONNECTED__";function y6(e){return new s6({tracker(n){e.onmessage=r=>{r.data.target===m6&&n(r.data.data)}},trigger(n){e.postMessage({target:c_,data:n})}})}function fm(e={}){const{onConnected:t=()=>{}}=e;let n=null;const r=new BroadcastChannel(p6);function o(){n=setInterval(()=>{r.postMessage({target:c_,data:{event:g6}})},2e3)}r.onmessage=s=>{var i,a;((a=(i=s.data)==null?void 0:i.data)==null?void 0:a.event)===v6&&(clearInterval(n),t(r))},o()}const ou=U(!1),su=U(!1),zi=U([]),iu=U(null),w3=se(()=>ou.value&&su.value),_6=se(()=>zi.value.find(e=>e.id===iu.value));function b6(){return r_().then(e=>{e&&(ou.value=e.connected,su.value=e.clientConnected,zi.value=e.appRecords,iu.value=e.activeAppRecordId)}),l_(e=>{e&&(ou.value=e.connected,su.value=e.clientConnected,zi.value=e.appRecords,iu.value=e.activeAppRecordId)}),{appRecords:zi,activeAppRecord:_6}}function w6(){const e=Ok(),t=window.__NUXT_DEVTOOLS_IS_POPUP__;Rr(()=>{ru(t?!1:!e.value?.open)}),fm({onConnected(n){const r=y6(n);o6(r),new h6(r).onnConnect().then(()=>{r.emit("devtools:client-ready"),b6()}),r.on("disconnect",()=>{n.close(),fm()})}})}const E6=qi(()=>ge(()=>import("./C_vNhPYi.js"),__vite__mapDeps([70,58,69,19,13,14,15,25]),import.meta.url).then(e=>e.default||e)),S6={fixed:"","inset-0":"","h-screen":"","w-screen":"","font-sans":""},x6=Ae({__name:"app",setup(e){ge(()=>import("./Ds6yAegc.js"),[],import.meta.url),bS({title:"Nuxt DevTools",meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",type:"image/svg+xml",href:"/nuxt.svg"}]}),w6(),qL();const t=at(),n=_o(),r=M0(),o=se(()=>n.path.startsWith("/__")||n.path==="/"),s=se(()=>!t.value&&!QR.value);De(()=>t.value?.app.colorMode.value,f=>{f&&(r.value=f)},{immediate:!0}),addEventListener("keydown",f=>{f.code==="KeyD"&&f.altKey&&(t.value?.devtools.close(),f.preventDefault())});const{scale:i,sidebarExpanded:a}=Dr(),l=KL();kn(async()=>{const f=e2();Rr(()=>{window.__NUXT_DEVTOOLS__=f.value}),Rr(()=>{document.body.style.fontSize=`${i.value*15}px`}),xt.value||yt.value&&await we.verifyAuthToken(yt.value)&&(xt.value=!0)});const c=Ty(),u=FC({});return d4(()=>[...zc.value?[{id:"action:split-screen",title:`${Kn.value?"Close":"Open"} Split Screen`,icon:"i-carbon-split-screen",action:()=>{Kn.value=!Kn.value}}]:[],...u.isSupported.value?[{id:"action:eye-dropper",title:"Color Picker",icon:"i-carbon-eyedropper",action:async()=>{const{sRGBHex:f}=await u.open()||{};f&&c(f)}}]:[],{id:"action:refresh-data",title:"Refresh Data",icon:"i-carbon-data-backup",action:Tv},{id:"action:reload-page",title:"Reload Page",icon:"i-carbon-reset",action:Rv}]),(f,d)=>{const h=sN,p=iN,g=dN,m=jI,v=HI,_=t4,y=i4,b=l4,E=yL,C=TL,O=zL,k=WL,D=E6;return Y(),ve("div",S6,[K(h),K(p),j(s)?(Y(),xe(g,{key:0},{default:ue(()=>[Re(" Connecting.... ")]),_:1})):(Y(),ve("div",{key:1,class:Qe(j(o)?"flex":j(a)?"grid grid-cols-[250px_1fr]":"grid grid-cols-[50px_1fr]"),"h-full":"","h-screen":"","of-hidden":"","rounded-xl":"","font-sans":"","bg-base":""},[Ts(K(m,{"of-x-hidden":"","of-y-auto":""},null,512),[[dc,!j(o)]]),K(b,null,{default:ue(()=>[K(y,{"storage-key":"devtools:split-screen-mode","min-size":20},O1({left:ue(()=>[K(v)]),_:2},[!j(o)&&("splitScreenEnabled"in f?f.splitScreenEnabled:j(Kn))&&j(zc)?{name:"right",fn:ue(()=>[K(_)]),key:"0"}:void 0]),1024)]),_:1}),K(E),K(C)],2)),K(O),K(k),d._lazyshow1||j(l)?(d._lazyshow1=!0,Y(),ve(Le,null,[Ts(V("div",null,[K(D)],512),[[dc,j(l)]])],64)):Ge("v-show-if",!0)])}}}),C6={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
|
|
47
|
-
`).splice(1).map(f=>({text:f.replace("webpack:/","").replace(".vue",".js").trim(),internal:f.includes("node_modules")&&!f.includes(".cache")||f.includes("internal")||f.includes("new Promise")})).map(f=>`<span class="stack${f.internal?" internal":""}">${f.text}</span>`).join(`
|
|
48
|
-
`);const r=Number(n.statusCode||500),o=r===404,s=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),i=n.message||n.toString(),a=void 0,u=o?qi(()=>ge(()=>import("./Dyh3t1OB.js"),__vite__mapDeps([71,72]),import.meta.url).then(f=>f.default||f)):qi(()=>ge(()=>import("./D2pUCviE.js"),__vite__mapDeps([73,74]),import.meta.url).then(f=>f.default||f));return(f,d)=>(Y(),xe(j(u),du(za({statusCode:j(r),statusMessage:j(s),description:j(i),stack:j(a)})),null,16))}},dm={__name:"nuxt-root",setup(e){const t=()=>null,n=Ne(),r=n.deferHydration();if(n.isHydrating){const a=n.hooks.hookOnce("app:error",r);rt().beforeEach(a)}const o=!1;Jn(Ks,_o()),n.hooks.callHookWith(a=>a.map(l=>l()),"vue:setup");const s=qa();eg((a,l,c)=>{if(n.hooks.callHook("vue:error",a,l,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),RE(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Ur(a)),!1});const i=!1;return(a,l)=>(Y(),xe(Tu,{onResolve:j(r)},{default:ue(()=>[j(s)?(Y(),xe(j(C6),{key:0,error:j(s)},null,8,["error"])):j(i)?(Y(),xe(j(t),{key:1,context:j(i)},null,8,["context"])):j(o)?(Y(),xe(ro(j(o)),{key:2})):(Y(),xe(j(x6),{key:3}))]),_:1},8,["onResolve"]))}};let hm;{let e;hm=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered||document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?Xb(dm):Mg(dm),o=tE({vueApp:r});async function s(i){await o.callHook("app:error",i),o.payload.error=o.payload.error||qs(i)}r.config.errorHandler=s;try{await rE(o,tN)}catch(i){s(i)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount($S),await o.hooks.callHook("app:mounted",r),await Nt()}catch(i){s(i)}return r.config.errorHandler===s&&(r.config.errorHandler=void 0),r},e=hm().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{zw as $,ky as A,Dr as B,ya as C,Rk as D,NL as E,Le as F,Qe as G,GC as H,Ts as I,dc as J,Ka as K,we as L,Bc as M,Wu as N,p3 as O,rt as P,Js as Q,g3 as R,d4 as S,vg as T,i4 as U,sl as V,Fp as W,Oy as X,xN as Y,fl as Z,ar as _,se as a,BC as a$,L0 as a0,Ct as a1,d1 as a2,Hr as a3,V6 as a4,tf as a5,Ao as a6,vE as a7,z6 as a8,un as a9,Nt as aA,Rr as aB,ja as aC,e2 as aD,_o as aE,SI as aF,xt as aG,Ov as aH,AL as aI,e3 as aJ,a3 as aK,c3 as aL,q6 as aM,jb as aN,O1 as aO,r3 as aP,Mp as aQ,i1 as aR,G_ as aS,vo as aT,A6 as aU,Ua as aV,Ku as aW,e0 as aX,Z6 as aY,F6 as aZ,I6 as a_,tt as aa,Hv as ab,_3 as ac,H6 as ad,Lg as ae,pd as af,u3 as ag,To as ah,N6 as ai,M6 as aj,Sk as ak,at as al,dN as am,M0 as an,zv as ao,l3 as ap,kn as aq,vf as ar,An as as,t3 as at,K6 as au,a2 as av,Rn as aw,ro as ax,Tt as ay,B6 as az,L6 as b,nI as b$,So as b0,nb as b1,W6 as b2,Cv as b3,G6 as b4,m3 as b5,mC as b6,b3 as b7,X6 as b8,n3 as b9,R6 as bA,T6 as bB,Oe as bC,Ir as bD,f3 as bE,pC as bF,v3 as bG,J6 as bH,ta as bI,O6 as bJ,D6 as bK,Gu as bL,mk as bM,A1 as bN,d2 as bO,y3 as bP,gk as bQ,$6 as bR,Ne as bS,A0 as bT,ep as bU,i3 as bV,d3 as bW,ht as bX,dl as bY,j6 as bZ,yk as b_,Q6 as ba,QR as bb,pt as bc,s3 as bd,u2 as be,bo as bf,Y6 as bg,Wb as bh,h3 as bi,_6 as bj,w3 as bk,Jt as bl,Jn as bm,et as bn,bt as bo,du as bp,za as bq,Hb as br,P6 as bs,k6 as bt,Eu as bu,Ht as bv,Oa as bw,Ui as bx,ge as by,Mg as bz,f2 as c,Dm as c0,ji as c1,EN as c2,Bb as c3,zb as c4,Ae as d,Ty as e,j as f,o3 as g,xe as h,K as i,ue as j,V as k,je as l,ve as m,Ps as n,Y as o,Ge as p,ei as q,U as r,bS as s,_t as t,KL as u,Re as v,De as w,gf as x,o1 as y,s1 as z};
|