@nuxt/devtools 1.1.5 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/chunks/module-main.mjs +5 -37
- package/dist/chunks/vscode.mjs +1 -0
- package/dist/client/200.html +23 -23
- package/dist/client/404.html +23 -23
- package/dist/client/_nuxt/{iwQAEmKI.js → B0KOo1ba.js} +1 -1
- package/dist/client/_nuxt/B0ueYKyn.js +9 -0
- package/dist/client/_nuxt/{_kNmeBjy.js → B3uyMCCv.js} +1 -1
- package/dist/client/_nuxt/B6pd2ymi.js +1 -0
- package/dist/client/_nuxt/{CA_eAFlo.js → B90Ttd7o.js} +1 -1
- package/dist/client/_nuxt/B9CZjm2z.js +2 -0
- package/dist/client/_nuxt/{BBcfeHW0.js → BCaU9car.js} +1 -1
- package/dist/client/_nuxt/{D6dOrpSz.js → BFJB92M1.js} +1 -1
- package/dist/client/_nuxt/BGq4KZyx.js +1 -0
- package/dist/client/_nuxt/{iazTOtp7.js → BJ65-qNi.js} +1 -1
- package/dist/client/_nuxt/{Ds9RG5LO.js → BJbhmoX6.js} +2 -2
- package/dist/client/_nuxt/{chB0bF2e.js → BKiZzkRj.js} +1 -1
- package/dist/client/_nuxt/{CkNuW12v.js → BLnLeUd3.js} +1 -1
- package/dist/client/_nuxt/BMbUeBqv.js +74 -0
- package/dist/client/_nuxt/{BawzGT5O.js → BNQxZ_tm.js} +1 -1
- package/dist/client/_nuxt/BPX3fYES.js +1 -0
- package/dist/client/_nuxt/{CaQmwCtB.js → BXJ3NTXl.js} +1 -1
- package/dist/client/_nuxt/BZfs-ost.js +1 -0
- package/dist/client/_nuxt/{BM5AytHF.js → BaKCaZGk.js} +1 -1
- package/dist/client/_nuxt/{BullEKkw.js → BaRB0bpe.js} +1 -1
- package/dist/client/_nuxt/{CvL8cdRT.js → BdrRW8OO.js} +1 -1
- package/dist/client/_nuxt/BiWblMbN.js +505 -0
- package/dist/client/_nuxt/{BitKOBNg.js → BjA0kRNM.js} +1 -1
- package/dist/client/_nuxt/{CXOMhAuo.js → Bki9ESx2.js} +1 -1
- package/dist/client/_nuxt/{BpcRrzbR.js → Bm0NU4n7.js} +1 -1
- package/dist/client/_nuxt/BvDxtYhR.js +1 -0
- package/dist/client/_nuxt/BvWK-VK_.js +1 -0
- package/dist/client/_nuxt/{Dj8kH5KD.js → Bvxqhl9x.js} +1 -1
- package/dist/client/_nuxt/{CIi1W1Xn.js → BwUXge7D.js} +1 -1
- package/dist/client/_nuxt/{CCEzajrZ.js → C378twlw.js} +1 -1
- package/dist/client/_nuxt/{BRZ59h9H.js → C6qnkm2z.js} +1 -1
- package/dist/client/_nuxt/{BMulB6_N.js → CFIIwO5G.js} +2 -2
- package/dist/client/_nuxt/CHuuZgn4.js +699 -0
- package/dist/client/_nuxt/{CFP4gcPi.js → CMxQOWd6.js} +1 -1
- package/dist/client/_nuxt/{DggdVF2v.js → CQ1WWl9n.js} +1 -1
- package/dist/client/_nuxt/{DnNA5yXt.js → CQ4DIexe.js} +1 -1
- package/dist/client/_nuxt/CWDIGLyg.js +1 -0
- package/dist/client/_nuxt/{pzsDcbJd.js → CZ3WyNik.js} +1 -1
- package/dist/client/_nuxt/CZS3fKwr.js +20 -0
- package/dist/client/_nuxt/CgrD3_g7.js +1 -0
- package/dist/client/_nuxt/{A4ZOcguv.js → CiSNQgOw.js} +1 -1
- package/dist/client/_nuxt/{sSwgCvN9.js → ClXd2J8B.js} +1 -1
- package/dist/client/_nuxt/{BMzBLMig.js → Co1NnsNe.js} +1 -1
- package/dist/client/_nuxt/{D4UCAj7O.js → Coatggmz.js} +1 -1
- package/dist/client/_nuxt/{Do1J5gVB.js → CqLfaAGq.js} +1 -1
- package/dist/client/_nuxt/Cuq04cZp.js +1031 -0
- package/dist/client/_nuxt/CwVYEx0b.js +1 -0
- package/dist/client/_nuxt/Cw_HWDDb.js +1 -0
- package/dist/client/_nuxt/DDnrbwm6.js +2002 -0
- package/dist/client/_nuxt/{DfFJQbG4.js → DFF-wSSt.js} +2 -2
- package/dist/client/_nuxt/{e0xDN1rm.js → DGsSg8Yx.js} +1 -1
- package/dist/client/_nuxt/DHFOa8tC.js +200 -0
- package/dist/client/_nuxt/{Bozs3mpp.js → DI84-lg6.js} +1 -1
- package/dist/client/_nuxt/DJ6PyLfz.js +1 -0
- package/dist/client/_nuxt/DKAZQnAj.js +1 -0
- package/dist/client/_nuxt/{D-bKw4-c.js → DLnTPeai.js} +1 -1
- package/dist/client/_nuxt/{Dwt0a_c3.js → DOshYgbb.js} +1 -1
- package/dist/client/_nuxt/DYSjJb82.js +99 -0
- package/dist/client/_nuxt/{A1WiD9SJ.js → DaCkt_J7.js} +1 -1
- package/dist/client/_nuxt/{95Xol9hk.js → DlPmnnjb.js} +1 -1
- package/dist/client/_nuxt/Dnoo7cyQ.js +1 -0
- package/dist/client/_nuxt/{iJ8Lbex6.js → DtL8m2Aq.js} +3 -3
- package/dist/client/_nuxt/{Cp4lmCDv.js → DxuiyCFU.js} +1 -1
- package/dist/client/_nuxt/{jtaEtbvO.js → DyeV3m0g.js} +1 -1
- package/dist/client/_nuxt/{CeWabOXN.js → HBanA1tG.js} +1 -1
- package/dist/client/_nuxt/{C35r-I8u.js → IlsTwlBb.js} +1 -1
- package/dist/client/_nuxt/NSectionBlock.DF4F_onM.css +1 -0
- package/dist/client/_nuxt/PO8p82Rr.js +48 -0
- package/dist/client/_nuxt/Q9LIRUci.js +25 -0
- package/dist/client/_nuxt/{CjV45cFY.js → SP_cIGIP.js} +1 -1
- package/dist/client/_nuxt/{Cd6DbZRp.js → Tw6nDHWX.js} +1 -1
- package/dist/client/_nuxt/{C3dxgrHo.js → V55AckNm.js} +1 -1
- package/dist/client/_nuxt/V_y36BGi.js +1 -0
- package/dist/client/_nuxt/{Bo1S1yFp.js → YHaOe1r2.js} +1 -1
- package/dist/client/_nuxt/_ECCzcZq.js +666 -0
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/d37e84e4-7cd9-41ae-8568-7d4b1d04caa2.json +1 -0
- package/dist/client/_nuxt/entry.CyP5HdOH.css +1 -0
- package/dist/client/_nuxt/error-404.ClUqCsUG.css +1 -0
- package/dist/client/_nuxt/error-500.Xj6Xfe4d.css +1 -0
- package/dist/client/_nuxt/iAfmkGIi.js +1 -0
- package/dist/client/_nuxt/index.BeOv1PgR.css +1 -0
- package/dist/client/_nuxt/{BaZ-MlpT.js → jWDo8Ezs.js} +1 -1
- package/dist/client/_nuxt/jeEj0LFC.js +1 -0
- package/dist/client/_nuxt/{DLpnW8-5.js → lLn-RhM6.js} +1 -1
- package/dist/client/_nuxt/{CUmEcBOj.js → tWSQ6YIe.js} +1 -1
- package/dist/client/index.html +23 -23
- package/dist/module.json +5 -1
- package/dist/runtime/function-metrics-helpers.mjs +2 -2
- package/dist/runtime/plugins/view/FrameBox.vue +3 -1
- package/dist/runtime/plugins/view/Main.vue +11 -1
- package/dist/runtime/plugins/view/client.mjs +4 -2
- package/dist/runtime/use-nuxt-devtools.mjs +1 -1
- package/package.json +40 -40
- package/dist/client/_nuxt/4OiyuHIo.js +0 -1
- package/dist/client/_nuxt/BKuBdopT.js +0 -1
- package/dist/client/_nuxt/BUsflWtV.js +0 -9
- package/dist/client/_nuxt/Bb1mULLQ.js +0 -48
- package/dist/client/_nuxt/CM17keFt.js +0 -2
- package/dist/client/_nuxt/C_8Nqh_D.js +0 -105
- package/dist/client/_nuxt/Ccvom-7a.js +0 -1
- package/dist/client/_nuxt/DEvcMGc8.js +0 -2
- package/dist/client/_nuxt/DODPx1Rc.js +0 -1
- package/dist/client/_nuxt/DZURVFrY.js +0 -1
- package/dist/client/_nuxt/DmETP5K3.js +0 -982
- package/dist/client/_nuxt/Dz2CDcxz.js +0 -1
- package/dist/client/_nuxt/NSectionBlock.BrczCkLG.css +0 -1
- package/dist/client/_nuxt/R098q0FN.js +0 -1
- package/dist/client/_nuxt/builds/meta/7ee08684-5a32-4a3b-805a-feeb40a35ac6.json +0 -1
- package/dist/client/_nuxt/entry.OFjnihVh.css +0 -1
- package/dist/client/_nuxt/error-404.CbfoPaOP.css +0 -1
- package/dist/client/_nuxt/error-500.CgCLIzMa.css +0 -1
- package/dist/client/_nuxt/o1TLfE1U.js +0 -1
- package/dist/client/_nuxt/pinia.De6kl7Vm.css +0 -1
- package/dist/client/_nuxt/q7q-hnWy.js +0 -1
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
function __vite__mapDeps(indexes) {
|
|
2
|
-
if (!__vite__mapDeps.viteFileDeps) {
|
|
3
|
-
__vite__mapDeps.viteFileDeps = ["./Cd6DbZRp.js","./CbViG2Xw.js","./Dch3xQiY.js","./CbYhyuC0.js","./DC8MraHL.js","./CupVZNk8.js","./C5gCGmDW.js","./DnNA5yXt.js","./4OiyuHIo.js","./DLpnW8-5.js","./A4ZOcguv.js","./CaQmwCtB.js","./CCEzajrZ.js","./iazTOtp7.js","./CUmEcBOj.js","./NCodeBlock.Bcfh0aRP.css","./Bo1S1yFp.js","./HelpFab.DHTsX8io.css","./BRZ59h9H.js","./jtaEtbvO.js","./BMzBLMig.js","./BKuBdopT.js","./CA_eAFlo.js","./NSectionBlock.BrczCkLG.css","./BitKOBNg.js","./BpcRrzbR.js","./BcJws1i5.js","./assets.DGT3vQsf.css","./Ds9RG5LO.js","./pzsDcbJd.js","./BullEKkw.js","./D6dOrpSz.js","./Dz2CDcxz.js","./R098q0FN.js","./CIi1W1Xn.js","./Dwt0a_c3.js","./C35r-I8u.js","./CeWabOXN.js","./e0xDN1rm.js","./Bozs3mpp.js","./DODPx1Rc.js","./Do1J5gVB.js","./BaZ-MlpT.js","./iJ8Lbex6.js","./BMulB6_N.js","./open-graph.-BQyihv8.css","./CvL8cdRT.js","./CjV45cFY.js","./q7q-hnWy.js","./Cp4lmCDv.js","./iwQAEmKI.js","./C_8Nqh_D.js","./CM17keFt.js","./pinia.De6kl7Vm.css","./sSwgCvN9.js","./Dj8kH5KD.js","./BUsflWtV.js","./CkNuW12v.js","./chB0bF2e.js","./DZURVFrY.js","./CFP4gcPi.js","./BM5AytHF.js","./terminals.bPBXyte9.css","./C3dxgrHo.js","./timeline.DvDJbalt.css","./95Xol9hk.js","./virtual-files.CWZEM3J4.css","./CXOMhAuo.js","./BawzGT5O.js","./DmETP5K3.js","./Ccvom-7a.js","./error-404.CbfoPaOP.css","./o1TLfE1U.js","./error-500.CgCLIzMa.css"]
|
|
4
|
-
}
|
|
5
|
-
return indexes.map((i) => __vite__mapDeps.viteFileDeps[i])
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* @vue/shared v3.4.21
|
|
9
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
10
|
-
* @license MIT
|
|
11
|
-
**/function wu(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const Ve={},Qr=[],Bt=()=>{},T_=()=>!1,ei=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Eu=e=>e.startsWith("onUpdate:"),Xe=Object.assign,Su=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},R_=Object.prototype.hasOwnProperty,ke=(e,t)=>R_.call(e,t),fe=Array.isArray,eo=e=>Ao(e)==="[object Map]",Co=e=>Ao(e)==="[object Set]",Vf=e=>Ao(e)==="[object Date]",P_=e=>Ao(e)==="[object RegExp]",ye=e=>typeof e=="function",Ke=e=>typeof e=="string",sr=e=>typeof e=="symbol",He=e=>e!==null&&typeof e=="object",xu=e=>(He(e)||ye(e))&&ye(e.then)&&ye(e.catch),Om=Object.prototype.toString,Ao=e=>Om.call(e),$_=e=>Ao(e).slice(8,-1),km=e=>Ao(e)==="[object Object]",Cu=e=>Ke(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,to=wu(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),za=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},O_=/-(\w)/g,Qt=za(e=>e.replace(O_,(t,n)=>n?n.toUpperCase():"")),k_=/\B([A-Z])/g,lr=za(e=>e.replace(k_,"-$1").toLowerCase()),Ha=za(e=>e.charAt(0).toUpperCase()+e.slice(1)),Vi=za(e=>e?`on${Ha(e)}`:""),gn=(e,t)=>!Object.is(e,t),no=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},ea=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ns=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Nm=e=>{const t=Ke(e)?Number(e):NaN;return isNaN(t)?e:t};let Gf;const Im=()=>Gf||(Gf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function hn(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Ke(r)?D_(r):hn(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(Ke(e)||He(e))return e}const N_=/;(?![^(]*\))/g,I_=/:([^]+)/,L_=/\/\*[^]*?\*\//g;function D_(e){const t={};return e.replace(L_,"").split(N_).forEach(n=>{if(n){const r=n.split(I_);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Qe(e){let t="";if(Ke(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(He(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Au(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ke(t)&&(e.class=Qe(t)),n&&(e.style=hn(n)),e}const M_="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",F_=wu(M_);function Lm(e){return!!e||e===""}function B_(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Or(e[r],t[r]);return n}function Or(e,t){if(e===t)return!0;let n=Vf(e),r=Vf(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=sr(e),r=sr(t),n||r)return e===t;if(n=fe(e),r=fe(t),n||r)return n&&r?B_(e,t):!1;if(n=He(e),r=He(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||!Or(e[i],t[i]))return!1}}return String(e)===String(t)}function Tu(e,t){return e.findIndex(n=>Or(n,t))}const bt=e=>Ke(e)?e:e==null?"":fe(e)||He(e)&&(e.toString===Om||!ye(e.toString))?JSON.stringify(e,Dm,2):String(e),Dm=(e,t)=>t&&t.__v_isRef?Dm(e,t.value):eo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[xl(r,s)+" =>"]=o,n),{})}:Co(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>xl(n))}:sr(t)?xl(t):He(t)&&!fe(t)&&!km(t)?String(t):t,xl=(e,t="")=>{var n;return sr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
12
|
-
* @vue/reactivity v3.4.21
|
|
13
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
14
|
-
* @license MIT
|
|
15
|
-
**/let Nt;class Mm{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=Nt,!t&&Nt&&(this.index=(Nt.scopes||(Nt.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=Nt;try{return Nt=this,t()}finally{Nt=n}}}on(){Nt=this}off(){Nt=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 j_(e){return new Mm(e)}function z_(e,t=Nt){t&&t.active&&t.effects.push(e)}function Ru(){return Nt}function Fm(e){Nt&&Nt.cleanups.push(e)}let Tr;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,z_(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,jr();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(H_(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),zr()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Zn,n=Tr;try{return Zn=!0,Tr=this,this._runnings++,Wf(this),this.fn()}finally{Kf(this),this._runnings--,Tr=n,Zn=t}}stop(){var t;this.active&&(Wf(this),Kf(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function H_(e){return e.value}function Wf(e){e._trackId++,e._depsLength=0}function Kf(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Bm(e.deps[t],e);e.deps.length=e._depsLength}}function Bm(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}let Zn=!0,uc=0;const jm=[];function jr(){jm.push(Zn),Zn=!1}function zr(){const e=jm.pop();Zn=e===void 0?!0:e}function $u(){uc++}function Ou(){for(uc--;!uc&&fc.length;)fc.shift()()}function zm(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Bm(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const fc=[];function Hm(e,t,n){$u();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&&fc.push(r.scheduler)))}Ou()}const Um=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},ta=new WeakMap,Rr=Symbol(""),dc=Symbol("");function Pt(e,t,n){if(Zn&&Tr){let r=ta.get(e);r||ta.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=Um(()=>r.delete(n))),zm(Tr,o)}}function Rn(e,t,n,r,o,s){const i=ta.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"||!sr(u)&&u>=l)&&a.push(c)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":fe(e)?Cu(n)&&a.push(i.get("length")):(a.push(i.get(Rr)),eo(e)&&a.push(i.get(dc)));break;case"delete":fe(e)||(a.push(i.get(Rr)),eo(e)&&a.push(i.get(dc)));break;case"set":eo(e)&&a.push(i.get(Rr));break}$u();for(const l of a)l&&Hm(l,4);Ou()}function U_(e,t){var n;return(n=ta.get(e))==null?void 0:n.get(t)}const V_=wu("__proto__,__v_isRef,__isVue"),Vm=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(sr)),qf=G_();function G_(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=$e(this);for(let s=0,i=this.length;s<i;s++)Pt(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map($e)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){jr(),$u();const r=$e(this)[t].apply(this,n);return Ou(),zr(),r}}),e}function W_(e){const t=$e(this);return Pt(t,"has",e),t.hasOwnProperty(e)}class Gm{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?s1:Ym:s?qm:Km).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=fe(t);if(!o){if(i&&ke(qf,n))return Reflect.get(qf,n,r);if(n==="hasOwnProperty")return W_}const a=Reflect.get(t,n,r);return(sr(n)?Vm.has(n):V_(n))||(o||Pt(t,"get",n),s)?a:ze(a)?i&&Cu(n)?a:a.value:He(a)?o?Hr(a):St(a):a}}class Wm extends Gm{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const l=kr(s);if(!na(r)&&!kr(r)&&(s=$e(s),r=$e(r)),!fe(t)&&ze(s)&&!ze(r))return l?!1:(s.value=r,!0)}const i=fe(t)&&Cu(n)?Number(n)<t.length:ke(t,n),a=Reflect.set(t,n,r,o);return t===$e(o)&&(i?gn(r,s)&&Rn(t,"set",n,r):Rn(t,"add",n,r)),a}deleteProperty(t,n){const r=ke(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Rn(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!sr(n)||!Vm.has(n))&&Pt(t,"has",n),r}ownKeys(t){return Pt(t,"iterate",fe(t)?"length":Rr),Reflect.ownKeys(t)}}class K_ extends Gm{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const q_=new Wm,Y_=new K_,X_=new Wm(!0),ku=e=>e,Ua=e=>Reflect.getPrototypeOf(e);function mi(e,t,n=!1,r=!1){e=e.__v_raw;const o=$e(e),s=$e(t);n||(gn(t,s)&&Pt(o,"get",t),Pt(o,"get",s));const{has:i}=Ua(o),a=r?ku:n?Lu:Is;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 gi(e,t=!1){const n=this.__v_raw,r=$e(n),o=$e(e);return t||(gn(e,o)&&Pt(r,"has",e),Pt(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function vi(e,t=!1){return e=e.__v_raw,!t&&Pt($e(e),"iterate",Rr),Reflect.get(e,"size",e)}function Yf(e){e=$e(e);const t=$e(this);return Ua(t).has.call(t,e)||(t.add(e),Rn(t,"add",e,e)),this}function Xf(e,t){t=$e(t);const n=$e(this),{has:r,get:o}=Ua(n);let s=r.call(n,e);s||(e=$e(e),s=r.call(n,e));const i=o.call(n,e);return n.set(e,t),s?gn(t,i)&&Rn(n,"set",e,t):Rn(n,"add",e,t),this}function Jf(e){const t=$e(this),{has:n,get:r}=Ua(t);let o=n.call(t,e);o||(e=$e(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&Rn(t,"delete",e,void 0),s}function Zf(){const e=$e(this),t=e.size!==0,n=e.clear();return t&&Rn(e,"clear",void 0,void 0),n}function yi(e,t){return function(r,o){const s=this,i=s.__v_raw,a=$e(i),l=t?ku:e?Lu:Is;return!e&&Pt(a,"iterate",Rr),i.forEach((c,u)=>r.call(o,l(c),l(u),s))}}function _i(e,t,n){return function(...r){const o=this.__v_raw,s=$e(o),i=eo(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=o[e](...r),u=n?ku:t?Lu:Is;return!t&&Pt(s,"iterate",l?dc:Rr),{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 Mn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function J_(){const e={get(s){return mi(this,s)},get size(){return vi(this)},has:gi,add:Yf,set:Xf,delete:Jf,clear:Zf,forEach:yi(!1,!1)},t={get(s){return mi(this,s,!1,!0)},get size(){return vi(this)},has:gi,add:Yf,set:Xf,delete:Jf,clear:Zf,forEach:yi(!1,!0)},n={get(s){return mi(this,s,!0)},get size(){return vi(this,!0)},has(s){return gi.call(this,s,!0)},add:Mn("add"),set:Mn("set"),delete:Mn("delete"),clear:Mn("clear"),forEach:yi(!0,!1)},r={get(s){return mi(this,s,!0,!0)},get size(){return vi(this,!0)},has(s){return gi.call(this,s,!0)},add:Mn("add"),set:Mn("set"),delete:Mn("delete"),clear:Mn("clear"),forEach:yi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=_i(s,!1,!1),n[s]=_i(s,!0,!1),t[s]=_i(s,!1,!0),r[s]=_i(s,!0,!0)}),[e,n,t,r]}const[Z_,Q_,e1,t1]=J_();function Nu(e,t){const n=t?e?t1:e1:e?Q_:Z_;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 n1={get:Nu(!1,!1)},r1={get:Nu(!1,!0)},o1={get:Nu(!0,!1)},Km=new WeakMap,qm=new WeakMap,Ym=new WeakMap,s1=new WeakMap;function i1(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function a1(e){return e.__v_skip||!Object.isExtensible(e)?0:i1($_(e))}function St(e){return kr(e)?e:Iu(e,!1,q_,n1,Km)}function To(e){return Iu(e,!1,X_,r1,qm)}function Hr(e){return Iu(e,!0,Y_,o1,Ym)}function Iu(e,t,n,r,o){if(!He(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=a1(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function ro(e){return kr(e)?ro(e.__v_raw):!!(e&&e.__v_isReactive)}function kr(e){return!!(e&&e.__v_isReadonly)}function na(e){return!!(e&&e.__v_isShallow)}function Xm(e){return ro(e)||kr(e)}function $e(e){const t=e&&e.__v_raw;return t?$e(t):e}function Jm(e){return Object.isExtensible(e)&&ea(e,"__v_skip",!0),e}const Is=e=>He(e)?St(e):e,Lu=e=>He(e)?Hr(e):e;class Zm{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),()=>oo(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=$e(this);return(!t._cacheable||t.effect.dirty)&&gn(t._value,t._value=t.effect.run())&&oo(t,4),Du(t),t.effect._dirtyLevel>=2&&oo(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function l1(e,t,n=!1){let r,o;const s=ye(e);return s?(r=e,o=Bt):(r=e.get,o=e.set),new Zm(r,o,s||!o,n)}function Du(e){var t;Zn&&Tr&&(e=$e(e),zm(Tr,(t=e.dep)!=null?t:e.dep=Um(()=>e.dep=void 0,e instanceof Zm?e:void 0)))}function oo(e,t=4,n){e=$e(e);const r=e.dep;r&&Hm(r,t)}function ze(e){return!!(e&&e.__v_isRef===!0)}function U(e){return Qm(e,!1)}function en(e){return Qm(e,!0)}function Qm(e,t){return ze(e)?e:new c1(e,t)}class c1{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:$e(t),this._value=n?t:Is(t)}get value(){return Du(this),this._value}set value(t){const n=this.__v_isShallow||na(t)||kr(t);t=n?t:$e(t),gn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Is(t),oo(this,4))}}function eg(e){oo(e,4)}function j(e){return ze(e)?e.value:e}function cn(e){return ye(e)?e():j(e)}const u1={get:(e,t,n)=>j(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return ze(o)&&!ze(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function tg(e){return ro(e)?e:new Proxy(e,u1)}class f1{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Du(this),()=>oo(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function Mu(e){return new f1(e)}function d1(e){const t=fe(e)?new Array(e.length):{};for(const n in e)t[n]=ng(e,n);return t}class h1{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 U_($e(this._object),this._key)}}class p1{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Va(e,t,n){return ze(e)?e:ye(e)?new p1(e):He(e)&&arguments.length>1?ng(e,t,n):U(e)}function ng(e,t,n){const r=e[t];return ze(r)?r:new h1(e,t,n)}/**
|
|
16
|
-
* @vue/runtime-core v3.4.21
|
|
17
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
18
|
-
* @license MIT
|
|
19
|
-
**/function Qn(e,t,n,r){try{return r?e(...r):e()}catch(o){Ro(o,t,n)}}function Ht(e,t,n,r){if(ye(e)){const s=Qn(e,t,n,r);return s&&xu(s)&&s.catch(i=>{Ro(i,t,n)}),s}const o=[];for(let s=0;s<e.length;s++)o.push(Ht(e[s],t,n,r));return o}function Ro(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){Qn(l,null,10,[e,i,a]);return}}m1(e,n,o,r)}function m1(e,t,n,r=!0){console.error(e)}let Ls=!1,hc=!1;const ht=[];let un=0;const so=[];let Vn=null,br=0;const rg=Promise.resolve();let Fu=null;function Lt(e){const t=Fu||rg;return e?t.then(this?e.bind(this):e):t}function g1(e){let t=un+1,n=ht.length;for(;t<n;){const r=t+n>>>1,o=ht[r],s=Ds(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function Ga(e){(!ht.length||!ht.includes(e,Ls&&e.allowRecurse?un+1:un))&&(e.id==null?ht.push(e):ht.splice(g1(e.id),0,e),og())}function og(){!Ls&&!hc&&(hc=!0,Fu=rg.then(sg))}function v1(e){const t=ht.indexOf(e);t>un&&ht.splice(t,1)}function pc(e){fe(e)?so.push(...e):(!Vn||!Vn.includes(e,e.allowRecurse?br+1:br))&&so.push(e),og()}function Qf(e,t,n=Ls?un+1:0){for(;n<ht.length;n++){const r=ht[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;ht.splice(n,1),n--,r()}}}function ra(e){if(so.length){const t=[...new Set(so)].sort((n,r)=>Ds(n)-Ds(r));if(so.length=0,Vn){Vn.push(...t);return}for(Vn=t,br=0;br<Vn.length;br++)Vn[br]();Vn=null,br=0}}const Ds=e=>e.id==null?1/0:e.id,y1=(e,t)=>{const n=Ds(e)-Ds(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function sg(e){hc=!1,Ls=!0,ht.sort(y1);try{for(un=0;un<ht.length;un++){const t=ht[un];t&&t.active!==!1&&Qn(t,null,14)}}finally{un=0,ht.length=0,ra(),Ls=!1,Fu=null,(ht.length||so.length)&&sg()}}function _1(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Ve;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]||Ve;d&&(o=n.map(h=>Ke(h)?h.trim():h)),f&&(o=n.map(Ns))}let a,l=r[a=Vi(t)]||r[a=Vi(Qt(t))];!l&&s&&(l=r[a=Vi(lr(t))]),l&&Ht(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,Ht(c,e,6,o)}}function ig(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=ig(c,t,!0);u&&(a=!0,Xe(i,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(He(e)&&r.set(e,null),null):(fe(s)?s.forEach(l=>i[l]=null):Xe(i,s),He(e)&&r.set(e,i),i)}function Wa(e,t){return!e||!ei(t)?!1:(t=t.slice(2).replace(/Once$/,""),ke(e,t[0].toLowerCase()+t.slice(1))||ke(e,lr(t))||ke(e,t))}let Ze=null,Ka=null;function oa(e){const t=Ze;return Ze=e,Ka=e&&e.type.__scopeId||null,t}function b1(e){Ka=e}function w1(){Ka=null}const E1=e=>ue;function ue(e,t=Ze,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&hd(-1);const s=oa(t);let i;try{i=e(...o)}finally{oa(s),r._d&&hd(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Cl(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[i],slots:a,attrs:l,emit:c,render:u,renderCache:f,data:d,setupState:h,ctx:p,inheritAttrs:m}=e;let g,v;const _=oa(e);try{if(n.shapeFlag&4){const b=o||r,E=b;g=Ft(u.call(E,b,f,s,h,d,p)),v=l}else{const b=t;g=Ft(b.length>1?b(s,{attrs:l,slots:a,emit:c}):b(s,null)),v=t.props?l:x1(l)}}catch(b){Es.length=0,Ro(b,e,1),g=K(Et)}let y=g;if(v&&m!==!1){const b=Object.keys(v),{shapeFlag:E}=y;b.length&&E&7&&(i&&b.some(Eu)&&(v=C1(v,i)),y=On(y,v))}return n.dirs&&(y=On(y),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),g=y,oa(_),g}function S1(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(yo(o)){if(o.type!==Et||o.children==="v-if"){if(n)return;n=o}}else return}return n}const x1=e=>{let t;for(const n in e)(n==="class"||n==="style"||ei(n))&&((t||(t={}))[n]=e[n]);return t},C1=(e,t)=>{const n={};for(const r in e)(!Eu(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function A1(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?ed(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]&&!Wa(c,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?ed(r,i,c):!0:!!i;return!1}function ed(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]&&!Wa(n,s))return!0}return!1}function Bu({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 ju="components",T1="directives";function $n(e,t){return zu(ju,e,!0,t)||e}const ag=Symbol.for("v-ndc");function po(e){return Ke(e)?zu(ju,e,!1)||e:e||ag}function R1(e){return zu(T1,e)}function zu(e,t,n=!0,r=!1){const o=Ze||nt;if(o){const s=o.type;if(e===ju){const a=xc(s,!1);if(a&&(a===t||a===Qt(t)||a===Ha(Qt(t))))return s}const i=td(o[e]||s[e],t)||td(o.appContext[e],t);return!i&&r?s:i}}function td(e,t){return e&&(e[t]||e[Qt(t)]||e[Ha(Qt(t))])}const lg=e=>e.__isSuspense;let mc=0;const P1={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,a,l,c){if(e==null)$1(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}O1(e,t,n,r,o,i,a,l,c)}},hydrate:k1,create:Uu,normalize:N1},Hu=P1;function Ms(e,t){const n=e.props&&e.props[t];ye(n)&&n()}function $1(e,t,n,r,o,s,i,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=e.suspense=Uu(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?(Ms(e,"onPending"),Ms(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,s,i),io(d,e.ssFallback)):d.resolve(!1,!0)}function O1(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:m,isInFallback:g,isHydrating:v}=f;if(m)f.pendingBranch=d,Yt(d,m)?(l(m,d,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0?f.resolve():g&&(v||(l(p,h,n,r,o,null,s,i,a),io(f,h)))):(f.pendingId=mc++,v?(f.isHydrating=!1,f.activeBranch=m):c(m,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),g?(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),io(f,h))):p&&Yt(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&&Yt(d,p))l(p,d,n,r,o,f,s,i,a),io(f,d);else if(Ms(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=mc++,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 Uu(e,t,n,r,o,s,i,a,l,c,u=!1){const{p:f,m:d,um:h,n:p,o:{parentNode:m,remove:g}}=c;let v;const _=I1(e);_&&t?.pendingBranch&&(v=t.pendingId,t.deps++);const y=e.props?Nm(e.props.timeout):void 0,b=s,E={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:mc++,timeout:typeof y=="number"?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(A=!1,O=!1){const{vnode:k,activeBranch:D,pendingBranch:P,pendingId:L,effects:C,parentComponent:S,container:T}=E;let M=!1;E.isHydrating?E.isHydrating=!1:A||(M=D&&P.transition&&P.transition.mode==="out-in",M&&(D.transition.afterLeave=()=>{L===E.pendingId&&(d(P,T,s===b?p(D):s,0),pc(C))}),D&&(m(D.el)!==E.hiddenContainer&&(s=p(D)),h(D,S,E,!0)),M||d(P,T,s,0)),io(E,P),E.pendingBranch=null,E.isInFallback=!1;let R=E.parent,$=!1;for(;R;){if(R.pendingBranch){R.effects.push(...C),$=!0;break}R=R.parent}!$&&!M&&pc(C),E.effects=[],_&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,t.deps===0&&!O&&t.resolve()),Ms(k,"onResolve")},fallback(A){if(!E.pendingBranch)return;const{vnode:O,activeBranch:k,parentComponent:D,container:P,namespace:L}=E;Ms(O,"onFallback");const C=p(k),S=()=>{E.isInFallback&&(f(null,A,P,C,D,null,L,a,l),io(E,A))},T=A.transition&&A.transition.mode==="out-in";T&&(k.transition.afterLeave=S),E.isInFallback=!0,h(k,D,null,!0),T||S()},move(A,O,k){E.activeBranch&&d(E.activeBranch,A,O,k),E.container=A},next(){return E.activeBranch&&p(E.activeBranch)},registerDep(A,O){const k=!!E.pendingBranch;k&&E.deps++;const D=A.vnode.el;A.asyncDep.catch(P=>{Ro(P,A,0)}).then(P=>{if(A.isUnmounted||E.isUnmounted||E.pendingId!==A.suspenseId)return;A.asyncResolved=!0;const{vnode:L}=A;Sc(A,P,!1),D&&(L.el=D);const C=!D&&A.subTree.el;O(A,L,m(D||A.subTree.el),D?null:p(A.subTree),E,i,l),C&&g(C),Bu(A,L.el),k&&--E.deps===0&&E.resolve()})},unmount(A,O){E.isUnmounted=!0,E.activeBranch&&h(E.activeBranch,n,A,O),E.pendingBranch&&h(E.pendingBranch,n,A,O)}};return E}function k1(e,t,n,r,o,s,i,a,l){const c=t.suspense=Uu(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 N1(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=nd(r?n.default:n),e.ssFallback=r?nd(n.fallback):K(Et)}function nd(e){let t;if(ye(e)){const n=vo&&e._c;n&&(e._d=!1,Y()),e=e(),n&&(e._d=!0,t=jt,Ig())}return fe(e)&&(e=S1(e)),e=Ft(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function cg(e,t){t&&t.pendingBranch?fe(e)?t.effects.push(...e):t.effects.push(e):pc(e)}function io(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,Bu(r,o))}function I1(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const L1=Symbol.for("v-scx"),D1=()=>wt(L1);function Nr(e,t){return qa(e,null,t)}function M1(e,t){return qa(e,null,{flush:"sync"})}const bi={};function De(e,t,n){return qa(e,t,n)}function qa(e,t,{immediate:n,deep:r,flush:o,once:s,onTrack:i,onTrigger:a}=Ve){if(t&&s){const A=t;t=(...O)=>{A(...O),E()}}const l=nt,c=A=>r===!0?A:xr(A,r===!1?1:void 0);let u,f=!1,d=!1;if(ze(e)?(u=()=>e.value,f=na(e)):ro(e)?(u=()=>c(e),f=!0):fe(e)?(d=!0,f=e.some(A=>ro(A)||na(A)),u=()=>e.map(A=>{if(ze(A))return A.value;if(ro(A))return c(A);if(ye(A))return Qn(A,l,2)})):ye(e)?t?u=()=>Qn(e,l,2):u=()=>(h&&h(),Ht(e,l,3,[p])):u=Bt,t&&r){const A=u;u=()=>xr(A())}let h,p=A=>{h=y.onStop=()=>{Qn(A,l,4),h=y.onStop=void 0}},m;if(ri)if(p=Bt,t?n&&Ht(t,l,3,[u(),d?[]:void 0,p]):u(),o==="sync"){const A=D1();m=A.__watcherHandles||(A.__watcherHandles=[])}else return Bt;let g=d?new Array(e.length).fill(bi):bi;const v=()=>{if(!(!y.active||!y.dirty))if(t){const A=y.run();(r||f||(d?A.some((O,k)=>gn(O,g[k])):gn(A,g)))&&(h&&h(),Ht(t,l,3,[A,g===bi?void 0:d&&g[0]===bi?[]:g,p]),g=A)}else y.run()};v.allowRecurse=!!t;let _;o==="sync"?_=v:o==="post"?_=()=>ut(v,l&&l.suspense):(v.pre=!0,l&&(v.id=l.uid),_=()=>Ga(v));const y=new Pu(u,Bt,_),b=Ru(),E=()=>{y.stop(),b&&Su(b.effects,y)};return t?n?v():g=y.run():o==="post"?ut(y.run.bind(y),l&&l.suspense):y.run(),m&&m.push(E),E}function F1(e,t,n){const r=this.proxy,o=Ke(e)?e.includes(".")?ug(r,e):()=>r[e]:e.bind(r,r);let s;ye(t)?s=t:(s=t.handler,n=t);const i=Ir(this),a=qa(o,s.bind(r),n);return i(),a}function ug(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 xr(e,t,n=0,r){if(!He(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),ze(e))xr(e.value,t,n,r);else if(fe(e))for(let o=0;o<e.length;o++)xr(e[o],t,n,r);else if(Co(e)||eo(e))e.forEach(o=>{xr(o,t,n,r)});else if(km(e))for(const o in e)xr(e[o],t,n,r);return e}function Fs(e,t){if(Ze===null)return e;const n=Za(Ze)||Ze.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=Ve]=t[o];s&&(ye(s)&&(s={mounted:s,updated:s}),s.deep&&xr(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function an(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&&(jr(),Ht(l,n,8,[e.el,a,e,t]),zr())}}const Gn=Symbol("_leaveCb"),wi=Symbol("_enterCb");function fg(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ln(()=>{e.isMounted=!0}),ni(()=>{e.isUnmounting=!0}),e}const Dt=[Function,Array],dg={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Dt,onEnter:Dt,onAfterEnter:Dt,onEnterCancelled:Dt,onBeforeLeave:Dt,onLeave:Dt,onAfterLeave:Dt,onLeaveCancelled:Dt,onBeforeAppear:Dt,onAppear:Dt,onAfterAppear:Dt,onAppearCancelled:Dt},B1={name:"BaseTransition",props:dg,setup(e,{slots:t}){const n=Vt(),r=fg();return()=>{const o=t.default&&Vu(t.default(),!0);if(!o||!o.length)return;let s=o[0];if(o.length>1){for(const d of o)if(d.type!==Et){s=d;break}}const i=$e(e),{mode:a}=i;if(r.isLeaving)return Al(s);const l=rd(s);if(!l)return Al(s);const c=Bs(l,i,r,n);mo(l,c);const u=n.subTree,f=u&&rd(u);if(f&&f.type!==Et&&!Yt(l,f)){const d=Bs(f,i,r,n);if(mo(f,d),a==="out-in")return r.isLeaving=!0,d.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},Al(s);a==="in-out"&&l.type!==Et&&(d.delayLeave=(h,p,m)=>{const g=hg(r,f);g[String(f.key)]=f,h[Gn]=()=>{p(),h[Gn]=void 0,delete c.delayedLeave},c.delayedLeave=m})}return s}}},j1=B1;function hg(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Bs(e,t,n,r){const{appear:o,mode:s,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:p,onBeforeAppear:m,onAppear:g,onAfterAppear:v,onAppearCancelled:_}=t,y=String(e.key),b=hg(n,e),E=(k,D)=>{k&&Ht(k,r,9,D)},A=(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=m||a;else return;k[Gn]&&k[Gn](!0);const P=b[y];P&&Yt(e,P)&&P.el[Gn]&&P.el[Gn](),E(D,[k])},enter(k){let D=l,P=c,L=u;if(!n.isMounted)if(o)D=g||l,P=v||c,L=_||u;else return;let C=!1;const S=k[wi]=T=>{C||(C=!0,T?E(L,[k]):E(P,[k]),O.delayedLeave&&O.delayedLeave(),k[wi]=void 0)};D?A(D,[k,S]):S()},leave(k,D){const P=String(e.key);if(k[wi]&&k[wi](!0),n.isUnmounting)return D();E(f,[k]);let L=!1;const C=k[Gn]=S=>{L||(L=!0,D(),S?E(p,[k]):E(h,[k]),k[Gn]=void 0,b[P]===e&&delete b[P])};b[P]=e,d?A(d,[k,C]):C()},clone(k){return Bs(k,t,n,r)}};return O}function Al(e){if(ti(e))return e=On(e),e.children=null,e}function rd(e){return ti(e)?e.children?e.children[0]:void 0:e}function mo(e,t){e.shapeFlag&6&&e.component?mo(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 Vu(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(Vu(i.children,t,a))):(t||i.type!==Et)&&r.push(a!=null?On(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)?Xe({name:e.name},t,{setup:e}):e}const Pr=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function sa(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((m,g)=>{a(p,()=>m(f()),()=>g(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()=>Tl(c,h);const p=_=>{l=null,Ro(_,h,13,!r)};if(i&&h.suspense||ri)return d().then(_=>()=>Tl(_,h)).catch(_=>(p(_),()=>r?K(r,{error:_}):null));const m=U(!1),g=U(),v=U(!!o);return o&&setTimeout(()=>{v.value=!1},o),s!=null&&setTimeout(()=>{if(!m.value&&!g.value){const _=new Error(`Async component timed out after ${s}ms.`);p(_),g.value=_}},s),d().then(()=>{m.value=!0,h.parent&&ti(h.parent.vnode)&&(h.parent.effect.dirty=!0,Ga(h.parent.update))}).catch(_=>{p(_),g.value=_}),()=>{if(m.value&&c)return Tl(c,h);if(g.value&&r)return K(r,{error:g.value});if(n&&!v.value)return K(n)}}})}function Tl(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 ti=e=>e.type.__isKeepAlive,z1={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Vt(),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,A)=>{const O=_.component;c(_,y,b,0,a),l(O.vnode,_,y,b,O,a,E,_.slotScopeIds,A),ut(()=>{O.isDeactivated=!1,O.a&&no(O.a);const k=_.props&&_.props.onVnodeMounted;k&&At(k,O.parent,_)},a)},r.deactivate=_=>{const y=_.component;c(_,d,null,1,a),ut(()=>{y.da&&no(y.da);const b=_.props&&_.props.onVnodeUnmounted;b&&At(b,y.parent,_),y.isDeactivated=!0},a)};function h(_){Rl(_),u(_,n,a,!0)}function p(_){o.forEach((y,b)=>{const E=xc(y.type);E&&(!_||!_(E))&&m(b)})}function m(_){const y=o.get(_);!i||!Yt(y,i)?h(y):i&&Rl(i),o.delete(_),s.delete(_)}De(()=>[e.include,e.exclude],([_,y])=>{_&&p(b=>ms(_,b)),y&&p(b=>!ms(y,b))},{flush:"post",deep:!0});let g=null;const v=()=>{g!=null&&o.set(g,Pl(n.subTree))};return Ln(v),Gu(v),ni(()=>{o.forEach(_=>{const{subTree:y,suspense:b}=n,E=Pl(y);if(_.type===E.type&&_.key===E.key){Rl(E);const A=E.component.da;A&&ut(A,b);return}h(_)})}),()=>{if(g=null,!t.default)return null;const _=t.default(),y=_[0];if(_.length>1)return i=null,_;if(!yo(y)||!(y.shapeFlag&4)&&!(y.shapeFlag&128))return i=null,y;let b=Pl(y);const E=b.type,A=xc(Pr(b)?b.type.__asyncResolved||{}:E),{include:O,exclude:k,max:D}=e;if(O&&(!A||!ms(O,A))||k&&A&&ms(k,A))return i=b,y;const P=b.key==null?E:b.key,L=o.get(P);return b.el&&(b=On(b),y.shapeFlag&128&&(y.ssContent=b)),g=P,L?(b.el=L.el,b.component=L.component,b.transition&&mo(b,b.transition),b.shapeFlag|=512,s.delete(P),s.add(P)):(s.add(P),D&&s.size>parseInt(D,10)&&m(s.values().next().value)),b.shapeFlag|=256,i=b,lg(y.type)?y:b}}},H1=z1;function ms(e,t){return fe(e)?e.some(n=>ms(n,t)):Ke(e)?e.split(",").includes(t):P_(e)?e.test(t):!1}function pg(e,t){gg(e,"a",t)}function mg(e,t){gg(e,"da",t)}function gg(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(Ya(t,r,n),n){let o=n.parent;for(;o&&o.parent;)ti(o.parent.vnode)&&U1(r,t,n,o),o=o.parent}}function U1(e,t,n,r){const o=Ya(t,e,r,!0);js(()=>{Su(r[t],o)},n)}function Rl(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Pl(e){return e.shapeFlag&128?e.ssContent:e}function Ya(e,t,n=nt,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;jr();const a=Ir(n),l=Ht(t,n,e,i);return a(),zr(),l});return r?o.unshift(s):o.push(s),s}}const In=e=>(t,n=nt)=>(!ri||e==="sp")&&Ya(e,(...r)=>t(...r),n),vg=In("bm"),Ln=In("m"),V1=In("bu"),Gu=In("u"),ni=In("bum"),js=In("um"),G1=In("sp"),W1=In("rtg"),K1=In("rtc");function yg(e,t=nt){Ya("ec",e,t)}function zs(e,t,n,r){let o;const s=n&&n[r];if(fe(e)||Ke(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(He(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 q1(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&&Pr(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&&_g(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 _g(e){return e.some(t=>yo(t)?!(t.type===Et||t.type===Le&&!_g(t.children)):!0)?e:null}function V6(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Vi(r)]=e[r];return n}const gc=e=>e?Mg(e)?Za(e)||e.proxy:gc(e.parent):null,_s=Xe(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=>gc(e.parent),$root:e=>gc(e.root),$emit:e=>e.emit,$options:e=>Wu(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Ga(e.update)}),$nextTick:e=>e.n||(e.n=Lt.bind(e.proxy)),$watch:e=>F1.bind(e)}),$l=(e,t)=>e!==Ve&&!e.__isScriptSetup&&ke(e,t),Y1={get({_:e},t){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($l(r,t))return i[t]=1,r[t];if(o!==Ve&&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!==Ve&&ke(n,t))return i[t]=4,n[t];vc&&(i[t]=0)}}const u=_s[t];let f,d;if(u)return t==="$attrs"&&Pt(e,"get",t),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==Ve&&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 $l(o,t)?(o[t]=n,!0):r!==Ve&&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!==Ve&&ke(e,i)||$l(t,i)||(a=s[0])&&ke(a,i)||ke(r,i)||ke(_s,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 G6(){return bg().slots}function W6(){return bg().attrs}function bg(){const e=Vt();return e.setupContext||(e.setupContext=Bg(e))}function ia(e){return fe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function K6(e,t){return!e||!t?e||t:fe(e)&&fe(t)?e.concat(t):Xe({},ia(e),ia(t))}function q6(e){const t=Vt();let n=e();return Ec(),xu(n)&&(n=n.catch(r=>{throw Ir(t),r})),[n,()=>Ir(t)]}let vc=!0;function X1(e){const t=Wu(e),n=e.proxy,r=e.ctx;vc=!1,t.beforeCreate&&od(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:m,deactivated:g,beforeDestroy:v,beforeUnmount:_,destroyed:y,unmounted:b,render:E,renderTracked:A,renderTriggered:O,errorCaptured:k,serverPrefetch:D,expose:P,inheritAttrs:L,components:C,directives:S,filters:T}=t;if(c&&J1(c,r,null),i)for(const $ in i){const I=i[$];ye(I)&&(r[$]=I.bind(n))}if(o){const $=o.call(n,n);He($)&&(e.data=St($))}if(vc=!0,s)for(const $ in s){const I=s[$],J=ye(I)?I.bind(n,n):ye(I.get)?I.get.bind(n,n):Bt,ae=!ye(I)&&ye(I.set)?I.set.bind(n):Bt,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)wg(a[$],r,n,$);if(l){const $=ye(l)?l.call(n):l;Reflect.ownKeys($).forEach(I=>{er(I,$[I])})}u&&od(u,e,"c");function R($,I){fe(I)?I.forEach(J=>$(J.bind(n))):I&&$(I.bind(n))}if(R(vg,f),R(Ln,d),R(V1,h),R(Gu,p),R(pg,m),R(mg,g),R(yg,k),R(K1,A),R(W1,O),R(ni,_),R(js,b),R(G1,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===Bt&&(e.render=E),L!=null&&(e.inheritAttrs=L),C&&(e.components=C),S&&(e.directives=S)}function J1(e,t,n=Bt){fe(e)&&(e=yc(e));for(const r in e){const o=e[r];let s;He(o)?"default"in o?s=wt(o.from||r,o.default,!0):s=wt(o.from||r):s=wt(o),ze(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function od(e,t,n){Ht(fe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function wg(e,t,n,r){const o=r.includes(".")?ug(n,r):()=>n[r];if(Ke(e)){const s=t[e];ye(s)&&De(o,s)}else if(ye(e))De(o,e.bind(n));else if(He(e))if(fe(e))e.forEach(s=>wg(s,t,n,r));else{const s=ye(e.handler)?e.handler.bind(n):t[e.handler];ye(s)&&De(o,s,e)}}function Wu(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=>aa(l,c,i,!0)),aa(l,t,i)),He(t)&&s.set(t,l),l}function aa(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&aa(e,s,n,!0),o&&o.forEach(i=>aa(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Z1[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Z1={data:sd,props:id,emits:id,methods:gs,computed:gs,beforeCreate:gt,created:gt,beforeMount:gt,mounted:gt,beforeUpdate:gt,updated:gt,beforeDestroy:gt,beforeUnmount:gt,destroyed:gt,unmounted:gt,activated:gt,deactivated:gt,errorCaptured:gt,serverPrefetch:gt,components:gs,directives:gs,watch:eb,provide:sd,inject:Q1};function sd(e,t){return t?e?function(){return Xe(ye(e)?e.call(this,this):e,ye(t)?t.call(this,this):t)}:t:e}function Q1(e,t){return gs(yc(e),yc(t))}function yc(e){if(fe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function gt(e,t){return e?[...new Set([].concat(e,t))]:t}function gs(e,t){return e?Xe(Object.create(null),e,t):t}function id(e,t){return e?fe(e)&&fe(t)?[...new Set([...e,...t])]:Xe(Object.create(null),ia(e),ia(t??{})):t}function eb(e,t){if(!e)return t;if(!t)return e;const n=Xe(Object.create(null),e);for(const r in t)n[r]=gt(e[r],t[r]);return n}function Eg(){return{app:null,config:{isNativeTag:T_,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 tb=0;function nb(e,t){return function(r,o=null){ye(r)||(r=Xe({},r)),o!=null&&!He(o)&&(o=null);const s=Eg(),i=new WeakSet;let a=!1;const l=s.app={_uid:tb++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:jg,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,Za(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=ao;ao=l;try{return c()}finally{ao=u}}};return l}}let ao=null;function er(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 wt(e,t,n=!1){const r=nt||Ze;if(r||ao){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:ao._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||ao)}function rb(e,t,n,r=!1){const o={},s={};ea(s,Xa,1),e.propsDefaults=Object.create(null),xg(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:To(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function ob(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=$e(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(Wa(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=Qt(d);o[p]=_c(l,a,p,h,e,!1)}else h!==s[d]&&(s[d]=h,c=!0)}}}else{xg(e,t,o,s)&&(c=!0);let u;for(const f in a)(!t||!ke(t,f)&&((u=lr(f))===f||!ke(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=_c(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&&Rn(e,"set","$attrs")}function xg(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(to(l))continue;const c=t[l];let u;o&&ke(o,u=Qt(l))?!s||!s.includes(u)?n[u]=c:(a||(a={}))[u]=c:Wa(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(s){const l=$e(n),c=a||Ve;for(let u=0;u<s.length;u++){const f=s[u];n[f]=_c(o,l,f,c[f],e,!ke(c,f))}}return i}function _c(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=Ir(o);r=c[n]=l.call(null,t),u()}}else r=l}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===lr(n))&&(r=!0))}return r}function Cg(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]=Cg(f,t,!0);Xe(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 He(e)&&r.set(e,Qr),Qr;if(fe(s))for(let u=0;u<s.length;u++){const f=Qt(s[u]);ad(f)&&(i[f]=Ve)}else if(s)for(const u in s){const f=Qt(u);if(ad(f)){const d=s[u],h=i[f]=fe(d)||ye(d)?{type:d}:Xe({},d);if(h){const p=ud(Boolean,h.type),m=ud(String,h.type);h[0]=p>-1,h[1]=m<0||p<m,(p>-1||ke(h,"default"))&&a.push(f)}}}const c=[i,a];return He(e)&&r.set(e,c),c}function ad(e){return e[0]!=="$"&&!to(e)}function ld(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function cd(e,t){return ld(e)===ld(t)}function ud(e,t){return fe(t)?t.findIndex(n=>cd(n,e)):ye(t)&&cd(t,e)?0:-1}const Ag=e=>e[0]==="_"||e==="$stable",Ku=e=>fe(e)?e.map(Ft):[Ft(e)],sb=(e,t,n)=>{if(t._n)return t;const r=ue((...o)=>Ku(t(...o)),n);return r._c=!1,r},Tg=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Ag(o))continue;const s=e[o];if(ye(s))t[o]=sb(o,s,r);else if(s!=null){const i=Ku(s);t[o]=()=>i}}},Rg=(e,t)=>{const n=Ku(t);e.slots.default=()=>n},ib=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=$e(t),ea(t,"_",n)):Tg(t,e.slots={})}else e.slots={},t&&Rg(e,t);ea(e.slots,Xa,1)},ab=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=Ve;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(Xe(o,t),!n&&a===1&&delete o._):(s=!t.$stable,Tg(t,o)),i=t}else t&&(Rg(e,t),i={default:1});if(s)for(const a in o)!Ag(a)&&i[a]==null&&delete o[a]};function la(e,t,n,r,o=!1){if(fe(e)){e.forEach((d,h)=>la(d,t&&(fe(t)?t[h]:t),n,r,o));return}if(Pr(r)&&!o)return;const s=r.shapeFlag&4?Za(r.component)||r.component.proxy:r.el,i=o?null:s,{i:a,r:l}=e,c=t&&t.r,u=a.refs===Ve?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Ke(c)?(u[c]=null,ke(f,c)&&(f[c]=null)):ze(c)&&(c.value=null)),ye(l))Qn(l,a,12,[i,u]);else{const d=Ke(l),h=ze(l);if(d||h){const p=()=>{if(e.f){const m=d?ke(f,l)?f[l]:u[l]:l.value;o?fe(m)&&Su(m,s):fe(m)?m.includes(s)||m.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,ut(p,n)):p()}}}let Fn=!1;const lb=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",cb=e=>e.namespaceURI.includes("MathML"),Ei=e=>{if(lb(e))return"svg";if(cb(e))return"mathml"},Si=e=>e.nodeType===8;function ub(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),ra(),b._vnode=y;return}Fn=!1,f(b.firstChild,y,null,null,null),ra(),b._vnode=y,Fn&&console.error("Hydration completed but contains mismatches.")},f=(y,b,E,A,O,k=!1)=>{const D=Si(y)&&y.data==="[",P=()=>m(y,b,E,A,O,D),{type:L,ref:C,shapeFlag:S,patchFlag:T}=b;let M=y.nodeType;b.el=y,T===-2&&(k=!1,b.dynamicChildren=null);let R=null;switch(L){case go:M!==3?b.children===""?(l(b.el=o(""),i(y),y),R=y):R=P():(y.data!==b.children&&(Fn=!0,y.data=b.children),R=s(y));break;case Et:_(y)?(R=s(y),v(b.el=y.content.firstChild,y,E)):M!==8||D?R=P():R=s(y);break;case ws:if(D&&(y=s(y),M=y.nodeType),M===1||M===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,A,O,k):R=P();break;default:if(S&1)(M!==1||b.type.toLowerCase()!==y.tagName.toLowerCase())&&!_(y)?R=P():R=d(y,b,E,A,O,k);else if(S&6){b.slotScopeIds=O;const $=i(y);if(D?R=g(y):Si(y)&&y.data==="teleport start"?R=g(y,y.data,"teleport end"):R=s(y),t(b,$,null,E,A,Ei($),k),Pr(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?M!==8?R=P():R=b.type.hydrate(y,b,E,A,O,k,e,h):S&128&&(R=b.type.hydrate(y,b,E,A,Ei(i(y)),O,k,e,f))}return C!=null&&la(C,null,A,b),R},d=(y,b,E,A,O,k)=>{k=k||!!b.dynamicChildren;const{type:D,props:P,patchFlag:L,shapeFlag:C,dirs:S,transition:T}=b,M=D==="input"||D==="option";if(M||L!==-1){S&&an(b,null,E,"created");let R=!1;if(_(y)){R=$g(A,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(C&16&&!(P&&(P.innerHTML||P.textContent))){let I=h(y.firstChild,b,y,E,A,O,k);for(;I;){Fn=!0;const J=I;I=I.nextSibling,a(J)}}else C&8&&y.textContent!==b.children&&(Fn=!0,y.textContent=b.children);if(P)if(M||!k||L&48)for(const I in P)(M&&(I.endsWith("value")||I==="indeterminate")||ei(I)&&!to(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)&&At($,E,b),S&&an(b,null,E,"beforeMount"),(($=P&&P.onVnodeMounted)||S||R)&&cg(()=>{$&&At($,E,b),R&&T.enter(y),S&&an(b,null,E,"mounted")},A)}return y.nextSibling},h=(y,b,E,A,O,k,D)=>{D=D||!!b.dynamicChildren;const P=b.children,L=P.length;for(let C=0;C<L;C++){const S=D?P[C]:P[C]=Ft(P[C]);if(y)y=f(y,S,A,O,k,D);else{if(S.type===go&&!S.children)continue;Fn=!0,n(null,S,E,null,A,O,Ei(E),k)}}return y},p=(y,b,E,A,O,k)=>{const{slotScopeIds:D}=b;D&&(O=O?O.concat(D):D);const P=i(y),L=h(s(y),b,P,E,A,O,k);return L&&Si(L)&&L.data==="]"?s(b.anchor=L):(Fn=!0,l(b.anchor=c("]"),P,L),L)},m=(y,b,E,A,O,k)=>{if(Fn=!0,b.el=null,k){const L=g(y);for(;;){const C=s(y);if(C&&C!==L)a(C);else break}}const D=s(y),P=i(y);return a(y),n(null,b,P,D,E,A,Ei(P),O),D},g=(y,b="[",E="]")=>{let A=0;for(;y;)if(y=s(y),y&&Si(y)&&(y.data===b&&A++,y.data===E)){if(A===0)return s(y);A--}return y},v=(y,b,E)=>{const A=b.parentNode;A&&A.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 ut=cg;function fb(e){return Pg(e)}function db(e){return Pg(e,ub)}function Pg(e,t){const n=Im();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=Bt,insertStaticContent:p}=e,m=(w,x,N,z=null,F=null,X=null,te=void 0,q=null,Z=!!x.dynamicChildren)=>{if(w===x)return;w&&!Yt(w,x)&&(z=B(w),le(w,F,X,!0),w=null),x.patchFlag===-2&&(Z=!1,x.dynamicChildren=null);const{type:H,ref:re,shapeFlag:he}=x;switch(H){case go:g(w,x,N,z);break;case Et:v(w,x,N,z);break;case ws:w==null&&_(x,N,z,te);break;case Le:C(w,x,N,z,F,X,te,q,Z);break;default:he&1?E(w,x,N,z,F,X,te,q,Z):he&6?S(w,x,N,z,F,X,te,q,Z):(he&64||he&128)&&H.process(w,x,N,z,F,X,te,q,Z,ce)}re!=null&&F&&la(re,w&&w.ref,X,x||w,!x)},g=(w,x,N,z)=>{if(w==null)r(x.el=a(x.children),N,z);else{const F=x.el=w.el;x.children!==w.children&&c(F,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 F;for(;w&&w!==x;)F=d(w),r(w,N,z),w=F;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,F,X,te,q,Z)=>{x.type==="svg"?te="svg":x.type==="math"&&(te="mathml"),w==null?A(x,N,z,F,X,te,q,Z):D(w,x,F,X,te,q,Z)},A=(w,x,N,z,F,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,F,Ol(w,X),te,q),ne&&an(w,null,z,"created"),O(Z,w,w.scopeId,te,z),re){for(const pe in re)pe!=="value"&&!to(pe)&&s(Z,pe,null,re[pe],X,w.children,z,F,Ge);"value"in re&&s(Z,"value",null,re.value,X),(H=re.onVnodeBeforeMount)&&At(H,z,w)}ne&&an(w,null,z,"beforeMount");const Q=$g(F,W);Q&&W.beforeEnter(Z),r(Z,x,N),((H=re&&re.onVnodeMounted)||Q||ne)&&ut(()=>{H&&At(H,z,w),Q&&W.enter(Z),ne&&an(w,null,z,"mounted")},F)},O=(w,x,N,z,F)=>{if(N&&h(w,N),z)for(let X=0;X<z.length;X++)h(w,z[X]);if(F){let X=F.subTree;if(x===X){const te=F.vnode;O(w,te,te.scopeId,te.slotScopeIds,F.parent)}}},k=(w,x,N,z,F,X,te,q,Z=0)=>{for(let H=Z;H<w.length;H++){const re=w[H]=q?Wn(w[H]):Ft(w[H]);m(null,re,x,N,z,F,X,te,q)}},D=(w,x,N,z,F,X,te)=>{const q=x.el=w.el;let{patchFlag:Z,dynamicChildren:H,dirs:re}=x;Z|=w.patchFlag&16;const he=w.props||Ve,W=x.props||Ve;let ne;if(N&&dr(N,!1),(ne=W.onVnodeBeforeUpdate)&&At(ne,N,x,w),re&&an(x,w,N,"beforeUpdate"),N&&dr(N,!0),H?P(w.dynamicChildren,H,q,N,z,Ol(x,F),X):te||I(w,x,q,null,N,z,Ol(x,F),X,!1),Z>0){if(Z&16)L(q,x,he,W,N,z,F);else if(Z&2&&he.class!==W.class&&s(q,"class",null,W.class,F),Z&4&&s(q,"style",he.style,W.style,F),Z&8){const Q=x.dynamicProps;for(let pe=0;pe<Q.length;pe++){const Oe=Q[pe],Be=he[Oe],be=W[Oe];(be!==Be||Oe==="value")&&s(q,Oe,Be,be,F,w.children,N,z,Ge)}}Z&1&&w.children!==x.children&&u(q,x.children)}else!te&&H==null&&L(q,x,he,W,N,z,F);((ne=W.onVnodeUpdated)||re)&&ut(()=>{ne&&At(ne,N,x,w),re&&an(x,w,N,"updated")},z)},P=(w,x,N,z,F,X,te)=>{for(let q=0;q<x.length;q++){const Z=w[q],H=x[q],re=Z.el&&(Z.type===Le||!Yt(Z,H)||Z.shapeFlag&70)?f(Z.el):N;m(Z,H,re,null,z,F,X,te,!0)}},L=(w,x,N,z,F,X,te)=>{if(N!==z){if(N!==Ve)for(const q in N)!to(q)&&!(q in z)&&s(w,q,N[q],null,te,x.children,F,X,Ge);for(const q in z){if(to(q))continue;const Z=z[q],H=N[q];Z!==H&&q!=="value"&&s(w,q,H,Z,te,x.children,F,X,Ge)}"value"in z&&s(w,"value",N.value,z.value,te)}},C=(w,x,N,z,F,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,F,X,te,q,Z)):he>0&&he&64&&W&&w.dynamicChildren?(P(w.dynamicChildren,W,N,F,X,te,q),(x.key!=null||F&&x===F.subTree)&&qu(w,x,!0)):I(w,x,N,re,F,X,te,q,Z)},S=(w,x,N,z,F,X,te,q,Z)=>{x.slotScopeIds=q,w==null?x.shapeFlag&512?F.ctx.activate(x,N,z,te,Z):T(x,N,z,F,X,te,Z):M(w,x,Z)},T=(w,x,N,z,F,X,te)=>{const q=w.component=wb(w,z,F);if(ti(w)&&(q.ctx.renderer=ce),Eb(q),q.asyncDep){if(F&&F.registerDep(q,R),!w.el){const Z=q.subTree=K(Et);v(null,Z,x,N)}}else R(q,w,x,N,F,X,te)},M=(w,x,N)=>{const z=x.component=w.component;if(A1(w,x,N))if(z.asyncDep&&!z.asyncResolved){$(z,x,N);return}else z.next=x,v1(z.update),z.effect.dirty=!0,z.update();else x.el=w.el,z.vnode=x},R=(w,x,N,z,F,X,te)=>{const q=()=>{if(w.isMounted){let{next:re,bu:he,u:W,parent:ne,vnode:Q}=w;{const me=Og(w);if(me){re&&(re.el=Q.el,$(w,re,te)),me.asyncDep.then(()=>{w.isUnmounted||q()});return}}let pe=re,Oe;dr(w,!1),re?(re.el=Q.el,$(w,re,te)):re=Q,he&&no(he),(Oe=re.props&&re.props.onVnodeBeforeUpdate)&&At(Oe,ne,re,Q),dr(w,!0);const Be=Cl(w),be=w.subTree;w.subTree=Be,m(be,Be,f(be.el),B(be),w,F,X),re.el=Be.el,pe===null&&Bu(w,Be.el),W&&ut(W,F),(Oe=re.props&&re.props.onVnodeUpdated)&&ut(()=>At(Oe,ne,re,Q),F)}else{let re;const{el:he,props:W}=x,{bm:ne,m:Q,parent:pe}=w,Oe=Pr(x);if(dr(w,!1),ne&&no(ne),!Oe&&(re=W&&W.onVnodeBeforeMount)&&At(re,pe,x),dr(w,!0),he&&Fe){const Be=()=>{w.subTree=Cl(w),Fe(he,w.subTree,w,F,null)};Oe?x.type.__asyncLoader().then(()=>!w.isUnmounted&&Be()):Be()}else{const Be=w.subTree=Cl(w);m(null,Be,N,z,w,F,X),x.el=Be.el}if(Q&&ut(Q,F),!Oe&&(re=W&&W.onVnodeMounted)){const Be=x;ut(()=>At(re,pe,Be),F)}(x.shapeFlag&256||pe&&Pr(pe.vnode)&&pe.vnode.shapeFlag&256)&&w.a&&ut(w.a,F),w.isMounted=!0,x=N=z=null}},Z=w.effect=new Pu(q,Bt,()=>Ga(H),w.scope),H=w.update=()=>{Z.dirty&&Z.run()};H.id=w.uid,dr(w,!0),H()},$=(w,x,N)=>{x.component=w;const z=w.vnode.props;w.vnode=x,w.next=null,ob(w,x.props,z,N),ab(w,x.children,N),jr(),Qf(w),zr()},I=(w,x,N,z,F,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,F,X,te,q,Z);return}else if(W&256){J(H,he,N,z,F,X,te,q,Z);return}}ne&8?(re&16&&Ge(H,F,X),he!==H&&u(N,he)):re&16?ne&16?ae(H,he,N,z,F,X,te,q,Z):Ge(H,F,X,!0):(re&8&&u(N,""),ne&16&&k(he,N,z,F,X,te,q,Z))},J=(w,x,N,z,F,X,te,q,Z)=>{w=w||Qr,x=x||Qr;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?Wn(x[W]):Ft(x[W]);m(w[W],ne,N,null,F,X,te,q,Z)}H>re?Ge(w,F,X,!0,!1,he):k(x,N,z,F,X,te,q,Z,he)},ae=(w,x,N,z,F,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?Wn(x[H]):Ft(x[H]);if(Yt(ne,Q))m(ne,Q,N,null,F,X,te,q,Z);else break;H++}for(;H<=he&&H<=W;){const ne=w[he],Q=x[W]=Z?Wn(x[W]):Ft(x[W]);if(Yt(ne,Q))m(ne,Q,N,null,F,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;)m(null,x[H]=Z?Wn(x[H]):Ft(x[H]),N,Q,F,X,te,q,Z),H++}}else if(H>W)for(;H<=he;)le(w[H],F,X,!0),H++;else{const ne=H,Q=H,pe=new Map;for(H=Q;H<=W;H++){const Ot=x[H]=Z?Wn(x[H]):Ft(x[H]);Ot.key!=null&&pe.set(Ot.key,H)}let Oe,Be=0;const be=W-Q+1;let me=!1,$t=0;const _n=new Array(be);for(H=0;H<be;H++)_n[H]=0;for(H=ne;H<=he;H++){const Ot=w[H];if(Be>=be){le(Ot,F,X,!0);continue}let on;if(Ot.key!=null)on=pe.get(Ot.key);else for(Oe=Q;Oe<=W;Oe++)if(_n[Oe-Q]===0&&Yt(Ot,x[Oe])){on=Oe;break}on===void 0?le(Ot,F,X,!0):(_n[on-Q]=H+1,on>=$t?$t=on:me=!0,m(Ot,x[on],N,null,F,X,te,q,Z),Be++)}const Fo=me?hb(_n):Qr;for(Oe=Fo.length-1,H=be-1;H>=0;H--){const Ot=Q+H,on=x[Ot],Uf=Ot+1<re?x[Ot+1].el:z;_n[H]===0?m(null,on,N,Uf,F,X,te,q,Z):me&&(Oe<0||H!==Fo[Oe]?ie(on,N,Uf,2):Oe--)}}},ie=(w,x,N,z,F=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===ws){y(w,x,N);return}if(z!==2&&H&1&&q)if(z===0)q.beforeEnter(X),r(X,x,N),ut(()=>q.enter(X),F);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,F=!1)=>{const{type:X,props:te,ref:q,children:Z,dynamicChildren:H,shapeFlag:re,patchFlag:he,dirs:W}=w;if(q!=null&&la(q,null,N,w,!0),re&256){x.ctx.deactivate(w);return}const ne=re&1&&W,Q=!Pr(w);let pe;if(Q&&(pe=te&&te.onVnodeBeforeUnmount)&&At(pe,x,w),re&6)qe(w.component,N,z);else{if(re&128){w.suspense.unmount(N,z);return}ne&&an(w,null,x,"beforeUnmount"),re&64?w.type.remove(w,x,N,F,ce,z):H&&(X!==Le||he>0&&he&64)?Ge(H,x,N,!1,!0):(X===Le&&he&384||!F&&re&16)&&Ge(Z,x,N),z&&Se(w)}(Q&&(pe=te&&te.onVnodeUnmounted)||ne)&&ut(()=>{pe&&At(pe,x,w),ne&&an(w,null,x,"unmounted")},N)},Se=w=>{const{type:x,el:N,anchor:z,transition:F}=w;if(x===Le){Ce(N,z);return}if(x===ws){b(w);return}const X=()=>{o(N),F&&!F.persisted&&F.afterLeave&&F.afterLeave()};if(w.shapeFlag&1&&F&&!F.persisted){const{leave:te,delayLeave:q}=F,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)},qe=(w,x,N)=>{const{bum:z,scope:F,update:X,subTree:te,um:q}=w;z&&no(z),F.stop(),X&&(X.active=!1,le(te,w,x,N)),q&&ut(q,x),ut(()=>{w.isUnmounted=!0},x),x&&x.pendingBranch&&!x.isUnmounted&&w.asyncDep&&!w.asyncResolved&&w.suspenseId===x.pendingId&&(x.deps--,x.deps===0&&x.resolve())},Ge=(w,x,N,z=!1,F=!1,X=0)=>{for(let te=X;te<w.length;te++)le(w[te],x,N,z,F)},B=w=>w.shapeFlag&6?B(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):m(x._vnode||null,w,x,null,null,null,N),oe||(oe=!0,Qf(),ra(),oe=!1),x._vnode=w},ce={p:m,um:le,m:ie,r:Se,mt:T,mc:k,pc:I,pbc:P,n:B,o:e};let Ie,Fe;return t&&([Ie,Fe]=t(ce)),{render:ee,hydrate:Ie,createApp:nb(ee,Ie)}}function Ol({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 dr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function $g(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qu(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]=Wn(o[s]),a.el=i.el),n||qu(i,a)),a.type===go&&(a.el=i.el)}}function hb(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 Og(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Og(t)}const pb=e=>e.__isTeleport,bs=e=>e&&(e.disabled||e.disabled===""),fd=e=>typeof SVGElement<"u"&&e instanceof SVGElement,dd=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,bc=(e,t)=>{const n=e&&e.to;return Ke(n)?t?t(n):null:n},mb={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:m,createComment:g}}=c,v=bs(t.props);let{shapeFlag:_,children:y,dynamicChildren:b}=t;if(e==null){const E=t.el=m(""),A=t.anchor=m("");h(E,n,r),h(A,n,r);const O=t.target=bc(t.props,p),k=t.targetAnchor=m("");O&&(h(k,O),i==="svg"||fd(O)?i="svg":(i==="mathml"||dd(O))&&(i="mathml"));const D=(P,L)=>{_&16&&u(y,P,L,o,s,i,a,l)};v?D(n,A):O&&D(O,k)}else{t.el=e.el;const E=t.anchor=e.anchor,A=t.target=e.target,O=t.targetAnchor=e.targetAnchor,k=bs(e.props),D=k?n:A,P=k?E:O;if(i==="svg"||fd(A)?i="svg":(i==="mathml"||dd(A))&&(i="mathml"),b?(d(e.dynamicChildren,b,D,o,s,i,a),qu(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):xi(t,n,E,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const L=t.target=bc(t.props,p);L&&xi(t,L,null,c,0)}else k&&xi(t,A,O,c,1)}Ng(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||!bs(d);for(let p=0;p<l.length;p++){const m=l[p];o(m,t,n,h,!!m.dynamicChildren)}}},move:xi,hydrate:gb};function xi(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||bs(u))&&l&16)for(let d=0;d<c.length;d++)o(c[d],t,n,2);f&&r(a,t,n)}function gb(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:l}},c){const u=t.target=bc(t.props,l);if(u){const f=u._lpa||u.firstChild;if(t.shapeFlag&16)if(bs(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)}Ng(t)}return t.anchor&&i(t.anchor)}const kg=mb;function Ng(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"),go=Symbol.for("v-txt"),Et=Symbol.for("v-cmt"),ws=Symbol.for("v-stc"),Es=[];let jt=null;function Y(e=!1){Es.push(jt=e?null:[])}function Ig(){Es.pop(),jt=Es[Es.length-1]||null}let vo=1;function hd(e){vo+=e}function Lg(e){return e.dynamicChildren=vo>0?jt||Qr:null,Ig(),vo>0&&jt&&jt.push(e),e}function ge(e,t,n,r,o,s){return Lg(V(e,t,n,r,o,s,!0))}function xe(e,t,n,r,o){return Lg(K(e,t,n,r,o,!0))}function yo(e){return e?e.__v_isVNode===!0:!1}function Yt(e,t){return e.type===t.type&&e.key===t.key}const Xa="__vInternal",Dg=({key:e})=>e??null,Gi=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ke(e)||ze(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&&Dg(t),ref:t&&Gi(t),scopeId:Ka,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?(Yu(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Ke(n)?8:16),vo>0&&!i&&jt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&jt.push(l),l}const K=vb;function vb(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===ag)&&(e=Et),yo(e)){const a=On(e,t,!0);return n&&Yu(a,n),vo>0&&!s&&jt&&(a.shapeFlag&6?jt[jt.indexOf(e)]=a:jt.push(a)),a.patchFlag|=-2,a}if(Cb(e)&&(e=e.__vccOpts),t){t=Ja(t);let{class:a,style:l}=t;a&&!Ke(a)&&(t.class=Qe(a)),He(l)&&(Xm(l)&&!fe(l)&&(l=Xe({},l)),t.style=hn(l))}const i=Ke(e)?1:lg(e)?128:pb(e)?64:He(e)?4:ye(e)?2:0;return V(e,t,n,r,o,i,s,!0)}function Ja(e){return e?Xm(e)||Xa in e?Xe({},e):e:null}function On(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:i}=e,a=t?kn(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&Dg(a),ref:t&&t.ref?n&&o?fe(o)?o.concat(Gi(t)):[o,Gi(t)]:Gi(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Le?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&On(e.ssContent),ssFallback:e.ssFallback&&On(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Re(e=" ",t=0){return K(go,null,e,t)}function yb(e,t){const n=K(ws,null,e);return n.staticCount=t,n}function We(e="",t=!1){return t?(Y(),xe(Et,null,e)):K(Et,null,e)}function Ft(e){return e==null||typeof e=="boolean"?K(Et):fe(e)?K(Le,null,e.slice()):typeof e=="object"?Wn(e):K(go,null,String(e))}function Wn(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:On(e)}function Yu(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),Yu(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Xa in 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 kn(...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=hn([t.style,r.style]);else if(ei(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 At(e,t,n,r=null){Ht(e,t,7,[n,r])}const _b=Eg();let bb=0;function wb(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||_b,s={uid:bb++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Mm(!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:Cg(r,o),emitsOptions:ig(r,o),emit:null,emitted:null,propsDefaults:Ve,inheritAttrs:r.inheritAttrs,ctx:Ve,data:Ve,props:Ve,attrs:Ve,slots:Ve,refs:Ve,setupState:Ve,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=_1.bind(null,s),e.ce&&e.ce(s),s}let nt=null;const Vt=()=>nt||Ze;let ca,wc;{const e=Im(),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)}};ca=t("__VUE_INSTANCE_SETTERS__",n=>nt=n),wc=t("__VUE_SSR_SETTERS__",n=>ri=n)}const Ir=e=>{const t=nt;return ca(e),e.scope.on(),()=>{e.scope.off(),ca(t)}},Ec=()=>{nt&&nt.scope.off(),ca(null)};function Mg(e){return e.vnode.shapeFlag&4}let ri=!1;function Eb(e,t=!1){t&&wc(t);const{props:n,children:r}=e.vnode,o=Mg(e);rb(e,n,o,t),ib(e,r);const s=o?Sb(e,t):void 0;return t&&wc(!1),s}function Sb(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Jm(new Proxy(e.ctx,Y1));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?Bg(e):null,s=Ir(e);jr();const i=Qn(r,e,0,[e.props,o]);if(zr(),s(),xu(i)){if(i.then(Ec,Ec),t)return i.then(a=>{Sc(e,a,t)}).catch(a=>{Ro(a,e,0)});e.asyncDep=i}else Sc(e,i,t)}else Fg(e,t)}function Sc(e,t,n){ye(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:He(t)&&(e.setupState=tg(t)),Fg(e,n)}let pd;function Fg(e,t,n){const r=e.type;if(!e.render){if(!t&&pd&&!r.render){const o=r.template||Wu(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=Xe(Xe({isCustomElement:s,delimiters:a},i),l);r.render=pd(o,c)}}e.render=r.render||Bt}{const o=Ir(e);jr();try{X1(e)}finally{zr(),o()}}}function xb(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return Pt(e,"get","$attrs"),t[n]}}))}function Bg(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return xb(e)},slots:e.slots,emit:e.emit,expose:t}}function Za(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(tg(Jm(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in _s)return _s[n](e)},has(t,n){return n in t||n in _s}}))}function xc(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)=>l1(e,t,ri);function Y6(e,t,n=Ve){const r=Vt(),o=Qt(t),s=lr(t),i=Mu((l,c)=>{let u;return M1(()=>{const f=e[t];gn(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))&&gn(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?He(t)&&!fe(t)?yo(t)?K(e,null,[t]):K(e,t):K(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&yo(n)&&(n=[n]),K(e,t,n))}const jg="3.4.21";/**
|
|
20
|
-
* @vue/runtime-dom v3.4.21
|
|
21
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
22
|
-
* @license MIT
|
|
23
|
-
**/const Ab="http://www.w3.org/2000/svg",Tb="http://www.w3.org/1998/Math/MathML",Kn=typeof document<"u"?document:null,md=Kn&&Kn.createElement("template"),Rb={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"?Kn.createElementNS(Ab,e):t==="mathml"?Kn.createElementNS(Tb,e):Kn.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Kn.createTextNode(e),createComment:e=>Kn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Kn.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{md.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=md.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]}},Bn="transition",Bo="animation",_o=Symbol("_vtc"),Qa=(e,{slots:t})=>et(j1,Hg(e),t);Qa.displayName="Transition";const zg={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},Pb=Qa.props=Xe({},dg,zg),hr=(e,t=[])=>{fe(e)?e.forEach(n=>n(...t)):e&&e(...t)},gd=e=>e?fe(e)?e.some(t=>t.length>1):e.length>1:!1;function Hg(e){const t={};for(const C in e)C in zg||(t[C]=e[C]);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=$b(o),m=p&&p[0],g=p&&p[1],{onBeforeEnter:v,onEnter:_,onEnterCancelled:y,onLeave:b,onLeaveCancelled:E,onBeforeAppear:A=v,onAppear:O=_,onAppearCancelled:k=y}=t,D=(C,S,T)=>{zn(C,S?u:a),zn(C,S?c:i),T&&T()},P=(C,S)=>{C._isLeaving=!1,zn(C,f),zn(C,h),zn(C,d),S&&S()},L=C=>(S,T)=>{const M=C?O:_,R=()=>D(S,C,T);hr(M,[S,R]),vd(()=>{zn(S,C?l:s),Sn(S,C?u:a),gd(M)||yd(S,r,m,R)})};return Xe(t,{onBeforeEnter(C){hr(v,[C]),Sn(C,s),Sn(C,i)},onBeforeAppear(C){hr(A,[C]),Sn(C,l),Sn(C,c)},onEnter:L(!1),onAppear:L(!0),onLeave(C,S){C._isLeaving=!0;const T=()=>P(C,S);Sn(C,f),Vg(),Sn(C,d),vd(()=>{C._isLeaving&&(zn(C,f),Sn(C,h),gd(b)||yd(C,r,g,T))}),hr(b,[C,T])},onEnterCancelled(C){D(C,!1),hr(y,[C])},onAppearCancelled(C){D(C,!0),hr(k,[C])},onLeaveCancelled(C){P(C),hr(E,[C])}})}function $b(e){if(e==null)return null;if(He(e))return[kl(e.enter),kl(e.leave)];{const t=kl(e);return[t,t]}}function kl(e){return Nm(e)}function Sn(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[_o]||(e[_o]=new Set)).add(t)}function zn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[_o];n&&(n.delete(t),n.size||(e[_o]=void 0))}function vd(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ob=0;function yd(e,t,n,r){const o=e._endId=++Ob,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=Ug(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 Ug(e,t){const n=window.getComputedStyle(e),r=p=>(n[p]||"").split(", "),o=r(`${Bn}Delay`),s=r(`${Bn}Duration`),i=_d(o,s),a=r(`${Bo}Delay`),l=r(`${Bo}Duration`),c=_d(a,l);let u=null,f=0,d=0;t===Bn?i>0&&(u=Bn,f=i,d=s.length):t===Bo?c>0&&(u=Bo,f=c,d=l.length):(f=Math.max(i,c),u=f>0?i>c?Bn:Bo:null,d=u?u===Bn?s.length:l.length:0);const h=u===Bn&&/\b(transform|all)(,|$)/.test(r(`${Bn}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:h}}function _d(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>bd(n)+bd(e[r])))}function bd(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Vg(){return document.body.offsetHeight}function kb(e,t,n){const r=e[_o];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ua=Symbol("_vod"),Gg=Symbol("_vsh"),Cc={beforeMount(e,{value:t},{transition:n}){e[ua]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):jo(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),jo(e,!0),r.enter(e)):r.leave(e,()=>{jo(e,!1)}):jo(e,t))},beforeUnmount(e,{value:t}){jo(e,t)}};function jo(e,t){e.style.display=t?e[ua]:"none",e[Gg]=!t}const Nb=Symbol(""),Ib=/(^|;)\s*display\s*:/;function Lb(e,t,n){const r=e.style,o=Ke(n);let s=!1;if(n&&!o){if(t)if(Ke(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Wi(r,a,"")}else for(const i in t)n[i]==null&&Wi(r,i,"");for(const i in n)i==="display"&&(s=!0),Wi(r,i,n[i])}else if(o){if(t!==n){const i=r[Nb];i&&(n+=";"+i),r.cssText=n,s=Ib.test(n)}}else t&&e.removeAttribute("style");ua in e&&(e[ua]=s?r.display:"",e[Gg]&&(r.display="none"))}const wd=/\s*!important$/;function Wi(e,t,n){if(fe(n))n.forEach(r=>Wi(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Db(e,t);wd.test(n)?e.setProperty(lr(r),n.replace(wd,""),"important"):e[r]=n}}const Ed=["Webkit","Moz","ms"],Nl={};function Db(e,t){const n=Nl[t];if(n)return n;let r=Qt(t);if(r!=="filter"&&r in e)return Nl[t]=r;r=Ha(r);for(let o=0;o<Ed.length;o++){const s=Ed[o]+r;if(s in e)return Nl[t]=s}return t}const Sd="http://www.w3.org/1999/xlink";function Mb(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Sd,t.slice(6,t.length)):e.setAttributeNS(Sd,t,n);else{const s=F_(t);n==null||s&&!Lm(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function Fb(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=Lm(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function Tn(e,t,n,r){e.addEventListener(t,n,r)}function Bb(e,t,n,r){e.removeEventListener(t,n,r)}const xd=Symbol("_vei");function jb(e,t,n,r,o=null){const s=e[xd]||(e[xd]={}),i=s[t];if(r&&i)i.value=r;else{const[a,l]=zb(t);if(r){const c=s[t]=Vb(r,o);Tn(e,a,c,l)}else i&&(Bb(e,a,i,l),s[t]=void 0)}}const Cd=/(?:Once|Passive|Capture)$/;function zb(e){let t;if(Cd.test(e)){t={};let r;for(;r=e.match(Cd);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):lr(e.slice(2)),t]}let Il=0;const Hb=Promise.resolve(),Ub=()=>Il||(Hb.then(()=>Il=0),Il=Date.now());function Vb(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Ht(Gb(r,n.value),t,5,[r])};return n.value=e,n.attached=Ub(),n}function Gb(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 Ad=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Wb=(e,t,n,r,o,s,i,a,l)=>{const c=o==="svg";t==="class"?kb(e,r,c):t==="style"?Lb(e,n,r):ei(t)?Eu(t)||jb(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Kb(e,t,r,c))?Fb(e,t,r,s,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Mb(e,t,r,c))};function Kb(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ad(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 Ad(t)&&Ke(n)?!1:t in e}const Wg=new WeakMap,Kg=new WeakMap,fa=Symbol("_moveCb"),Td=Symbol("_enterCb"),qg={name:"TransitionGroup",props:Xe({},Pb,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Vt(),r=fg();let o,s;return Gu(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!Qb(o[0].el,n.vnode.el,i))return;o.forEach(Xb),o.forEach(Jb);const a=o.filter(Zb);Vg(),a.forEach(l=>{const c=l.el,u=c.style;Sn(c,i),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[fa]=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c[fa]=null,zn(c,i))};c.addEventListener("transitionend",f)})}),()=>{const i=$e(e),a=Hg(i);let l=i.tag||Le;o=s,s=t.default?Vu(t.default()):[];for(let c=0;c<s.length;c++){const u=s[c];u.key!=null&&mo(u,Bs(u,a,r,n))}if(o)for(let c=0;c<o.length;c++){const u=o[c];mo(u,Bs(u,a,r,n)),Wg.set(u,u.el.getBoundingClientRect())}return K(l,null,s)}}},qb=e=>delete e.mode;qg.props;const Yb=qg;function Xb(e){const t=e.el;t[fa]&&t[fa](),t[Td]&&t[Td]()}function Jb(e){Kg.set(e,e.el.getBoundingClientRect())}function Zb(e){const t=Wg.get(e),n=Kg.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 Qb(e,t,n){const r=e.cloneNode(),o=e[_o];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}=Ug(r);return s.removeChild(r),i}const ir=e=>{const t=e.props["onUpdate:modelValue"]||!1;return fe(t)?n=>no(t,n):t};function ew(e){e.target.composing=!0}function Rd(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ut=Symbol("_assign"),Pd={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Ut]=ir(o);const s=r||o.props&&o.props.type==="number";Tn(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),s&&(a=Ns(a)),e[Ut](a)}),n&&Tn(e,"change",()=>{e.value=e.value.trim()}),t||(Tn(e,"compositionstart",ew),Tn(e,"compositionend",Rd),Tn(e,"change",Rd))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},s){if(e[Ut]=ir(s),e.composing)return;const i=o||e.type==="number"?Ns(e.value):e.value,a=t??"";i!==a&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===a)||(e.value=a))}},tw={deep:!0,created(e,t,n){e[Ut]=ir(n),Tn(e,"change",()=>{const r=e._modelValue,o=bo(e),s=e.checked,i=e[Ut];if(fe(r)){const a=Tu(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(Co(r)){const a=new Set(r);s?a.add(o):a.delete(o),i(a)}else i(Yg(e,s))})},mounted:$d,beforeUpdate(e,t,n){e[Ut]=ir(n),$d(e,t,n)}};function $d(e,{value:t,oldValue:n},r){e._modelValue=t,fe(t)?e.checked=Tu(t,r.props.value)>-1:Co(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Or(t,Yg(e,!0)))}const nw={created(e,{value:t},n){e.checked=Or(t,n.props.value),e[Ut]=ir(n),Tn(e,"change",()=>{e[Ut](bo(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Ut]=ir(r),t!==n&&(e.checked=Or(t,r.props.value))}},rw={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=Co(t);Tn(e,"change",()=>{const s=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Ns(bo(i)):bo(i));e[Ut](e.multiple?o?new Set(s):s:s[0]),e._assigning=!0,Lt(()=>{e._assigning=!1})}),e[Ut]=ir(r)},mounted(e,{value:t,modifiers:{number:n}}){Od(e,t,n)},beforeUpdate(e,t,n){e[Ut]=ir(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||Od(e,t,n)}};function Od(e,t,n){const r=e.multiple,o=fe(t);if(!(r&&!o&&!Co(t))){for(let s=0,i=e.options.length;s<i;s++){const a=e.options[s],l=bo(a);if(r)if(o){const c=typeof l;c==="string"||c==="number"?a.selected=t.includes(n?Ns(l):l):a.selected=Tu(t,l)>-1}else a.selected=t.has(l);else if(Or(bo(a),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function bo(e){return"_value"in e?e._value:e.value}function Yg(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ow={created(e,t,n){Ci(e,t,n,null,"created")},mounted(e,t,n){Ci(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Ci(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Ci(e,t,n,r,"updated")}};function sw(e,t){switch(e){case"SELECT":return rw;case"TEXTAREA":return Pd;default:switch(t){case"checkbox":return tw;case"radio":return nw;default:return Pd}}}function Ci(e,t,n,r,o){const i=sw(e.tagName,n.props&&n.props.type)[o];i&&i(e,t,n,r)}const iw=["ctrl","shift","alt","meta"],aw={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)=>iw.some(n=>e[`${n}Key`]&&!t.includes(n))},lw=(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=aw[t[i]];if(a&&a(o,t))return}return e(o,...s)})},cw={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Xg=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const s=lr(o.key);if(t.some(i=>i===s||cw[i]===s))return e(o)})},Jg=Xe({patchProp:Wb},Rb);let Ss,kd=!1;function uw(){return Ss||(Ss=fb(Jg))}function fw(){return Ss=kd?Ss:db(Jg),kd=!0,Ss}const Zg=(...e)=>{const t=uw().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=e0(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,Qg(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},dw=(...e)=>{const t=fw().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=e0(r);if(o)return n(o,!0,Qg(o))},t};function Qg(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function e0(e){return Ke(e)?document.querySelector(e):e}const hw=/#/g,pw=/&/g,mw=/\//g,gw=/=/g,Xu=/\+/g,vw=/%5e/gi,yw=/%60/gi,_w=/%7c/gi,bw=/%20/gi;function ww(e){return encodeURI(""+e).replace(_w,"|")}function Ac(e){return ww(typeof e=="string"?e:JSON.stringify(e)).replace(Xu,"%2B").replace(bw,"+").replace(hw,"%23").replace(pw,"%26").replace(yw,"`").replace(vw,"^").replace(mw,"%2F")}function Ll(e){return Ac(e).replace(gw,"%3D")}function da(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function Ew(e){return da(e.replace(Xu," "))}function Sw(e){return da(e.replace(Xu," "))}function t0(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=Ew(r[1]);if(o==="__proto__"||o==="constructor")continue;const s=Sw(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 xw(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${Ll(e)}=${Ac(n)}`).join("&"):`${Ll(e)}=${Ac(t)}`:Ll(e)}function Cw(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>xw(t,e[t])).filter(Boolean).join("&")}const Aw=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,Tw=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,Rw=/^([/\\]\s*){2,}[^/\\]/,Pw=/^[\s\0]*(blob|data|javascript|vbscript):$/i,$w=/\/$|\/\?|\/#/,Ow=/^\.?\//;function Dn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?Aw.test(e):Tw.test(e)||(t.acceptRelative?Rw.test(e):!1)}function kw(e){return!!e&&Pw.test(e)}function Tc(e="",t){return t?$w.test(e):e.endsWith("/")}function el(e="",t){if(!t)return(Tc(e)?e.slice(0,-1):e)||"/";if(!Tc(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 ha(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(Tc(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 Nw(e=""){return e.startsWith("/")}function Nd(e=""){return Nw(e)?e:"/"+e}function Iw(e,t){if(r0(t)||Dn(e))return e;const n=el(t);return e.startsWith(n)?e:tl(n,e)}function Id(e,t){if(r0(t))return e;const n=el(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function n0(e,t){const n=oi(e),r={...t0(n.search),...t};return n.search=Cw(r),Mw(n)}function r0(e){return!e||e==="/"}function Lw(e){return e&&e!=="/"}function tl(e,...t){let n=e||"";for(const r of t.filter(o=>Lw(o)))if(n){const o=r.replace(Ow,"");n=ha(n)+o}else n=r;return n}function o0(...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&&Dn(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 Dw(e,t,n={}){return n.trailingSlash||(e=ha(e),t=ha(t)),n.leadingSlash||(e=Nd(e),t=Nd(t)),n.encoding||(e=da(e),t=da(t)),e===t}const s0=Symbol.for("ufo:protocolRelative");function oi(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(!Dn(e,{acceptRelative:!0}))return t?oi(t+e):Ld(e);const[,r="",o,s=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,i="",a=""]=s.match(/([^#/?]*)(.*)?/)||[],{pathname:l,search:c,hash:u}=Ld(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,[s0]:!r}}function Ld(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function Mw(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[s0]?(e.protocol||"")+"//":"")+o+s+t+n+r}const Fw=()=>window?.__NUXT__?.config||{},pa=Fw().app,Bw=()=>pa.baseURL,jw=()=>pa.buildAssetsDir,Ju=(...e)=>o0(i0(),jw(),...e),i0=(...e)=>{const t=pa.cdnURL||pa.baseURL;return e.length?o0(t,...e):t};globalThis.__buildAssetsURL=Ju,globalThis.__publicAssetsURL=i0;const zw=/"(?:_|\\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*:/,Hw=/"(?: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*:/,Uw=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Vw(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Gw(e);return}return t}function Gw(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function ma(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(!Uw.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(zw.test(e)||Hw.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Vw)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}class Ww extends Error{constructor(t,n){super(t,n),this.name="FetchError",n?.cause&&!this.cause&&(this.cause=n.cause)}}function Kw(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 Ww(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 qw=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function Dd(e="GET"){return qw.has(e.toUpperCase())}function Yw(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 Xw=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Jw=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function Zw(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return Jw.test(t)?"json":Xw.has(t)||t.startsWith("text/")?"text":"blob"}function Qw(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 eE=new Set([408,409,425,429,500,502,503,504]),tE=new Set([101,204,205,304]);function a0(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=Dd(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):eE.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=Kw(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,s),c}const s=async function(l,c={}){const u={request:l,options:Qw(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=Iw(u.request,u.options.baseURL)),(u.options.query||u.options.params)&&(u.request=n0(u.request,{...u.options.params,...u.options.query}))),u.options.body&&Dd(u.options.method)&&(Yw(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&&!tE.has(u.response.status)&&u.options.method!=="HEAD"){const h=(u.options.parseResponse?"json":u.options.responseType)||Zw(u.response.headers.get("content-type")||"");switch(h){case"json":{const p=await u.response.text(),m=u.options.parseResponse||ma;u.response._data=m(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={})=>a0({...e,defaults:{...e.defaults,...a}}),i}const Zu=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")}(),nE=Zu.fetch||(()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!"))),rE=Zu.Headers,oE=Zu.AbortController,sE=a0({fetch:nE,Headers:rE,AbortController:oE}),iE=sE;globalThis.$fetch||(globalThis.$fetch=iE.create({baseURL:Bw()}));function Rc(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Rc(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const aE={run:e=>e()},lE=()=>aE,l0=typeof console.createTask<"u"?console.createTask:lE;function cE(e,t){const n=t.shift(),r=l0(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function uE(e,t){const n=t.shift(),r=l0(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function Dl(e,t){for(const n of[...e])n(t)}class fE{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=Rc(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=Rc(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(cE,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(uE,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&Dl(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&Dl(this._after,o)}):(this._after&&o&&Dl(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 nl(){return new fE}function dE(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;Pc.add(c);try{const u=o?o.run(i,a):a();return n||(t=void 0),await u}finally{Pc.delete(c)}}}}function hE(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=dE({...e,...r})),t[n],t[n]}}}const ga=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},Md="__unctx__",pE=ga[Md]||(ga[Md]=hE()),mE=(e,t={})=>pE.get(e,t),Fd="__unctx_async_handlers__",Pc=ga[Fd]||(ga[Fd]=new Set);function Hs(e){const t=[];for(const o of Pc){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 c0=mE("nuxt-app",{asyncContext:!1}),gE="__nuxt_plugin";function vE(e){let t=0;const n={_scope:j_(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.11.1"},get vue(){return n.vueApp.version}},payload:St({data:{},state:{},once:new Set,_errors:{},...window.__NUXT__??{}}),static:{data:{}},runWithContext:o=>n._scope.run(()=>bE(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=nl(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(o,s)=>{const i="$"+o;Ai(n,i,s),Ai(n.vueApp.config.globalProperties,i,s)},Ai(n.vueApp,"$nuxt",n),Ai(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=St(n.payload.config);return n.provide("config",r),n}async function yE(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 _E(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=yE(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 Gt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[gE]:!0,_name:t})}function bE(e,t,n){const r=()=>n?t(...n):t();return c0.set(e),e.vueApp.runWithContext(r)}function wE(){let e;return Sg()&&(e=Vt()?.appContext.app.$nuxt),e=e||c0.tryUse(),e||null}function Ne(){const e=wE();if(!e)throw new Error("[nuxt] instance unavailable");return e}function rl(e){return Ne().$config}function Ai(e,t,n){Object.defineProperty(e,t,{get:()=>n})}const Bd=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 $c(e,t){t?t={...Bd,...t}:t=Bd;const n=u0(t);return n.dispatch(e),n.toString()}const EE=Object.freeze(["prototype","__proto__","constructor"]);function u0(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&&!jd(o)&&(u=EE),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=u0(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:"),jd(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 f0="[native code] }",SE=f0.length;function jd(e){return typeof e!="function"?!1:Function.prototype.toString.call(e).slice(-SE)===f0}class tr{constructor(t,n){t=this.words=t||[],this.sigBytes=n===void 0?t.length*4:n}toString(t){return(t||xE).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 tr([...this.words])}}const xE={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("")}},AE={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 tr(n,t)}},TE={parse(e){return AE.parse(unescape(encodeURIComponent(e)))}};class RE{constructor(){this._data=new tr,this._nDataBytes=0,this._minBufferSize=0,this.blockSize=512/32}reset(){this._data=new tr,this._nDataBytes=0}_append(t){typeof t=="string"&&(t=TE.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 tr(n,s)}}class PE extends RE{update(t){return this._append(t),this._process(),this}finalize(t){t&&this._append(t)}}const zd=[1779033703,-1150833019,1013904242,-1521486534,1359893119,-1694144372,528734635,1541459225],$E=[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],pr=[];class OE extends PE{constructor(){super(...arguments),this._hash=new tr([...zd])}reset(){super.reset(),this._hash=new tr([...zd])}_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)pr[d]=t[n+d]|0;else{const y=pr[d-15],b=(y<<25|y>>>7)^(y<<14|y>>>18)^y>>>3,E=pr[d-2],A=(E<<15|E>>>17)^(E<<13|E>>>19)^E>>>10;pr[d]=b+pr[d-7]+A+pr[d-16]}const h=l&c^~l&u,p=o&s^o&i^s&i,m=(o<<30|o>>>2)^(o<<19|o>>>13)^(o<<10|o>>>22),g=(l<<26|l>>>6)^(l<<21|l>>>11)^(l<<7|l>>>25),v=f+g+h+$E[d]+pr[d],_=m+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 kE(e){return new OE().finalize(e).toString(CE)}function NE(e,t={}){const n=typeof e=="string"?e:$c(e,t);return kE(n).slice(0,10)}function X6(e,t,n={}){return e===t||$c(e,n)===$c(t,n)}function IE(e,t){return{ctx:{table:e},matchAll:n=>h0(n,e,t)}}function d0(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,d0(o)])):new Map(Object.entries(e[n]));return t}function LE(e){return IE(d0(e))}function h0(e,t,n){n!==!0&&e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[s,i]of Hd(t.wildcard))(e===s||e.startsWith(s+"/"))&&r.push(i);for(const[s,i]of Hd(t.dynamic))if(e.startsWith(s+"/")){const a="/"+e.slice(s.length).split("/").splice(2).join("/");r.push(...h0(a,i))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function Hd(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function Ml(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 Oc(e,t,n=".",r){if(!Ml(t))return Oc(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]]:Ml(i)&&Ml(o[s])?o[s]=Oc(i,o[s],(n?`${n}.`:"")+s.toString(),r):o[s]=i))}return o}function p0(e){return(...t)=>t.reduce((n,r)=>Oc(n,r,"",e),{})}const m0=p0(),DE=p0((e,t,n)=>{if(e[t]!==void 0&&typeof n=="function")return e[t]=n(e[t]),!0});function ME(e,t){try{return t in e}catch{return!1}}var FE=Object.defineProperty,BE=(e,t,n)=>t in e?FE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,vr=(e,t,n)=>(BE(e,typeof t!="symbol"?t+"":t,n),n);class kc extends Error{constructor(t,n={}){super(t,n),vr(this,"statusCode",500),vr(this,"fatal",!1),vr(this,"unhandled",!1),vr(this,"statusMessage"),vr(this,"data"),vr(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:Ic(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=g0(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}vr(kc,"__h3_error__",!0);function Nc(e){if(typeof e=="string")return new kc(e);if(jE(e))return e;const t=new kc(e.message??e.statusMessage??"",{cause:e.cause||e});if(ME(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=Ic(e.statusCode,t.statusCode):e.status&&(t.statusCode=Ic(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;g0(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 jE(e){return e?.constructor?.__h3_error__===!0}const zE=/[^\u0009\u0020-\u007E]/g;function g0(e=""){return e.replace(zE,"")}function Ic(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const v0=Symbol("layout-meta"),si=Symbol("route"),rt=()=>Ne()?.$router,Po=()=>Sg()?wt(si,Ne()._route):Ne()._route;const HE=()=>{try{if(Ne()._processingMiddleware)return!0}catch{return!0}return!1},Lc=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:n0(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(", ");open(n,a,c)}return Promise.resolve()}const r=t?.external||Dn(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=oi(n).protocol;if(a&&kw(a))throw new Error(`Cannot navigate to a URL with '${a}' protocol.`)}const o=HE();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)},y0="__nuxt_error",ol=()=>Va(Ne().payload,"error"),Zr=e=>{const t=ii(e);try{const n=Ne(),r=ol();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},UE=async(e={})=>{const t=Ne(),n=ol();t.callHook("app:error:cleared",e),e.redirect&&await rt().replace(e.redirect),n.value=null},VE=e=>!!e&&typeof e=="object"&&y0 in e,ii=e=>{const t=Nc(e);return Object.defineProperty(t,y0,{value:!0,configurable:!1,writable:!1}),t},GE="modulepreload",WE=function(e,t){return e[0]==="."?new URL(e,t).href:e},Ud={},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=WE(l,r),l in Ud)return;Ud[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":GE,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})},ve=(...e)=>KE(...e).catch(t=>{const n=new Event("nuxt.preloadError");throw n.payload=t,window.dispatchEvent(n),t}),qE=-1,YE=-2,XE=-3,JE=-4,ZE=-5,QE=-6;function eS(e,t){return tS(JSON.parse(e),t)}function tS(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===qE)return;if(s===XE)return NaN;if(s===JE)return 1/0;if(s===ZE)return-1/0;if(s===QE)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!==YE&&(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 nS(e){return Array.isArray(e)?e:[e]}const rS=["title","titleTemplate","script","style","noscript"],Ki=["base","meta","link","style","script","noscript"],oS=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],sS=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],_0=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],iS=typeof window<"u";function Qu(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 Vd(e){return e._h||Qu(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map(([t,n])=>`${t}:${String(n)}`).join(",")}`)}function b0(e,t){const{props:n,tag:r}=e;if(sS.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 Gd(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function aS(e,t,n){const r={tag:e,props:await w0(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t},["templateParams","titleTemplate"].includes(e))};return _0.forEach(o=>{const s=typeof r.props[o]<"u"?r.props[o]:n[o];typeof s<"u"&&((!["innerHTML","textContent","children"].includes(o)||rS.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 lS(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 w0(e,t){for(const n of Object.keys(e)){if(["class","style"].includes(n)){e[n]=lS(n,e[n]);continue}if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!_0.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 cS=10;async function uS(e){const t=[];return Object.entries(e.resolvedInput).filter(([n,r])=>typeof r<"u"&&oS.includes(n)).forEach(([n,r])=>{const o=nS(r);t.push(...o.map(s=>aS(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<<cS)+r,n))}const Wd={base:-10,title:10},Kd={critical:-80,high:-10,low:20};function va(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 Wd&&(t=Wd[e.tag]),typeof n=="string"&&n in Kd?t+Kd[n]:t)}const fS=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],Fl=["onload","onerror","onabort","onprogress","onloadstart"],jn="%separator";function qi(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(jn)&&(e.endsWith(jn)&&(e=e.slice(0,-jn.length).trim()),e.startsWith(jn)&&(e=e.slice(jn.length).trim()),e=e.replace(new RegExp(`\\${jn}\\s*\\${jn}`,"g"),jn),e=qi(e,{separator:n},n)),e}async function E0(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:Ki.includes(u.tag)?Vd(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=>Ki.includes(p.tagName.toLowerCase()))){const p={tag:h.tagName.toLowerCase(),props:await w0(h.getAttributeNames().reduce((v,_)=>({...v,[_]:h.getAttribute(_)}),{})),innerHTML:h.innerHTML};let m=1,g=b0(p);for(;g&&d.find(v=>v._d===g);)g=`${g}:${m++}`;p._d=g||void 0,d.push(p),s.elMap[h.getAttribute("data-hid")||Vd(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,m]of Object.entries(d._eventHandlers||{}))f.getAttribute(`data-${p}`)!==""&&((d.tag==="bodyAttrs"?n.defaultView:f).addEventListener(p.replace("on",""),m.bind(f)),f.setAttribute(`data-${p}`,""));Object.entries(d.props).forEach(([p,m])=>{const g=`attr:${p}`;if(p==="class")for(const v of(m||"").split(" ").filter(Boolean))h&&i(u,`${g}:${v}`,()=>f.classList.remove(v)),!f.classList.contains(v)&&f.classList.add(v);else if(p==="style")for(const v of(m||"").split(";").filter(Boolean)){const[_,...y]=v.split(":").map(b=>b.trim());i(u,`${g}:${v}:${_}`,()=>{f.style.removeProperty(_)}),f.style.setProperty(_,y.join(":"))}else f.getAttribute(p)!==m&&f.setAttribute(p,m===!0?"":String(m)),h&&i(u,g,()=>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):Ki.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 dS(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domUpdatePromise=e._domUpdatePromise||new Promise(r=>n(async()=>{await E0(e,t),delete e._domUpdatePromise,r()}))}function hS(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){dS(r,e)}}}}}const pS=["templateParams","htmlAttrs","bodyAttrs"],mS={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=b0(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&&pS.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(va(r)>va(s))return}const i=Object.keys(r.props).length+(r.innerHTML?1:0)+(r.textContent?1:0);if(Ki.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))}}},gS={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"}})}}},vS=["script","link","bodyAttrs"],yS=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter(r=>vS.includes(r.tag)))Object.entries(n.props).forEach(([r,o])=>{r.startsWith("on")&&typeof o=="function"&&(e.ssr&&Fl.includes(r)?(n.props[r]=`this.dataset.${r} = true`,n.props["data-unhead-events"]=""):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||Qu(n.props.src||n.props.href))},"dom:renderTag":function(t){const n=t.$el;if(!n?.dataset||!("unheadEvents"in n.dataset))return;delete n.dataset.unheadEvents;const r=o=>t.tag._eventHandlers?.[o]?.call(t.$el,new Event(o.replace("on","")));for(const o of Object.keys(n.dataset).filter(s=>Fl.includes(s)))r(o);typeof MutationObserver<"u"&&new MutationObserver(s=>{s.filter(i=>i.attributeName&&Fl.includes(i.attributeName.replace("data-",""))).map(i=>i.attributeName.replace("data-","")).map(r)}).observe(t.$el,{attributes:!0})}}}),_S=["link","style","script","noscript"],bS={hooks:{"tag:normalise":({tag:e})=>{e.key&&_S.includes(e.tag)&&(e.props["data-hid"]=e._h=Qu(e.key))}}},wS={hooks:{"tags:resolve":e=>{const t=n=>e.tags.find(r=>r._d===n)?._p;for(const{prefix:n,offset:r}of fS)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)=>va(n)-va(r))}}},ES={meta:"content",link:"href",htmlAttrs:"lang"},SS=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=qi(s.pageTitle||r||"",s,i);for(const a of n.filter(l=>l.processTemplateParams!==!1)){const l=ES[a.tag];l&&typeof a.props[l]=="string"?a.props[l]=qi(a.props[l],s,i):(a.processTemplateParams===!0||["titleTemplate","title"].includes(a.tag))&&["innerHTML","textContent"].forEach(c=>{typeof a[c]=="string"&&(a[c]=qi(a[c],s,i))})}e._templateParams=s,e._separator=i,t.tags=n.filter(a=>a.tag!=="templateParams")}}}),xS={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=Gd(t[n].textContent,t[r].textContent);o!==null?t[r].textContent=o||t[r].textContent:delete t[r]}else if(n!==-1){const o=Gd(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 S0;function AS(e={}){const t=TS(e);return t.use(hS()),S0=t}function qd(e,t){return!e||e==="server"&&t||e==="client"&&!t}function TS(e={}){const t=nl();t.addHooks(e.hooks||{}),e.document=e.document||(iS?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),qd(c.mode,n)&&t.addHooks(c.hooks||{}))},push(l,c){delete c?.head;const u={_i:o++,input:l,...c};return qd(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 uS(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[mS,gS,yS,bS,wS,SS,xS,CS,...e?.plugins||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function RS(){return S0}const PS=jg.startsWith("3");function $S(e){return typeof e=="function"?e():j(e)}function ya(e,t=""){if(e instanceof Promise)return e;const n=$S(e);return!e||!n?n:Array.isArray(n)?n.map(r=>ya(r,t)):typeof n=="object"?Object.fromEntries(Object.entries(n).map(([r,o])=>r==="titleTemplate"||r.startsWith("on")?[r,j(o)]:[r,ya(o,r)])):n}const OS={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=ya(t.input)}}},x0="usehead";function kS(e){return{install(n){PS&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(x0,e))}}.install}function NS(e={}){e.domDelayFn=e.domDelayFn||(n=>Lt(()=>setTimeout(()=>n(),0)));const t=AS(e);return t.use(OS),t.install=kS(t),t}const Dc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Mc="__unhead_injection_handler__";function IS(e){Dc[Mc]=e}function LS(){if(Mc in Dc)return Dc[Mc]();const e=wt(x0);return e||RS()}function DS(e,t={}){const n=t.head||LS();if(n)return n.ssr?n.push(e,t):MS(n,e,t)}function MS(e,t,n={}){const r=U(!1),o=U({});Nr(()=>{o.value=r.value?{}:ya(t)});const s=e.push(o.value,n);return De(o,a=>{s.patch(a)}),Vt()&&(ni(()=>{s.dispose()}),mg(()=>{r.value=!0}),pg(()=>{r.value=!1})),s}const FS={fixture1:"from app.config.ts"},BS={fixture2:"from nuxt.config.ts",nuxt:{buildId:"7ee08684-5a32-4a3b-805a-feeb40a35ac6"}},jS=DE(FS,BS);function C0(){const e=Ne();return e._appConfig||(e._appConfig=St(jS)),e._appConfig}const zS=!1,Fc=!1,HS=!1,US={componentName:"NuxtLink"},VS={deep:!0},GS={},WS="#__nuxt";let Yi,A0;function KS(){const e=C0().nuxt?.buildId;return Yi=$fetch(Ju(`builds/meta/${e}.json`)),Yi.then(t=>{A0=LE(t.matcher)}),Yi}function sl(){return Yi||KS()}async function ef(e){return await sl(),m0({},...A0.matchAll(e).reverse())}function Yd(e,t={}){const n=YS(e,t),r=Ne(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=XS(e).then(s=>s?T0(n).then(i=>i||(delete o[n],null)):(o[n]=null,null))),o[n]}const qS="_payload.json";function YS(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||Dn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=t.hash||(t.fresh?Date.now():C0().nuxt?.buildId);return tl(rl().app.baseURL,n.pathname,qS+(r?`?${r}`:""))}async function T0(e){const t=fetch(e).then(n=>n.text().then(R0));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function XS(e=Po().path){if(e=el(e),(await sl()).prerendered.includes(e))return!0;const n=await ef(e);return!!n.prerender&&!n.redirect}let Ti=null;async function JS(){if(Ti)return Ti;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await R0(e.textContent||""),n=e.dataset.src?await T0(e.dataset.src):void 0;return Ti={...t,...n,...window.__NUXT__},Ti}async function R0(e){return await eS(e,Ne()._payloadRevivers)}function ZS(e,t){Ne()._payloadRevivers[e]=t}const Xd={NuxtError:e=>ii(e),EmptyShallowRef:e=>en(e==="_"?void 0:e==="0n"?BigInt(0):ma(e)),EmptyRef:e=>U(e==="_"?void 0:e==="0n"?BigInt(0):ma(e)),ShallowRef:e=>en(e),ShallowReactive:e=>To(e),Ref:e=>U(e),Reactive:e=>St(e)},QS=Gt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Xd)ZS(r,Xd[r]);Object.assign(e.payload,([t,n]=Hs(()=>e.runWithContext(JS)),t=await t,n(),t)),window.__NUXT__=e.payload}}),ex=[],tx=Gt({name:"nuxt:head",enforce:"pre",setup(e){const t=NS({plugins:ex});IS(()=>Ne().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await E0(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.0
|
|
27
|
-
* (c) 2024 Eduardo San Martin Morote
|
|
28
|
-
* @license MIT
|
|
29
|
-
*/const Xr=typeof document<"u";function nx(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const je=Object.assign;function Bl(e,t){const n={};for(const r in t){const o=t[r];n[r]=tn(o)?o.map(e):e(o)}return n}const xs=()=>{},tn=Array.isArray,P0=/#/g,rx=/&/g,ox=/\//g,sx=/=/g,ix=/\?/g,$0=/\+/g,ax=/%5B/g,lx=/%5D/g,O0=/%5E/g,cx=/%60/g,k0=/%7B/g,ux=/%7C/g,N0=/%7D/g,fx=/%20/g;function tf(e){return encodeURI(""+e).replace(ux,"|").replace(ax,"[").replace(lx,"]")}function dx(e){return tf(e).replace(k0,"{").replace(N0,"}").replace(O0,"^")}function Bc(e){return tf(e).replace($0,"%2B").replace(fx,"+").replace(P0,"%23").replace(rx,"%26").replace(cx,"`").replace(k0,"{").replace(N0,"}").replace(O0,"^")}function hx(e){return Bc(e).replace(sx,"%3D")}function px(e){return tf(e).replace(P0,"%23").replace(ix,"%3F")}function mx(e){return e==null?"":px(e).replace(ox,"%2F")}function Us(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const gx=/\/$/,vx=e=>e.replace(gx,"");function jl(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=wx(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:Us(i)}}function yx(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Jd(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function _x(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&wo(t.matched[r],n.matched[o])&&I0(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function wo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function I0(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!bx(e[n],t[n]))return!1;return!0}function bx(e,t){return tn(e)?Zd(e,t):tn(t)?Zd(t,e):e===t}function Zd(e,t){return tn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function wx(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 Vs;(function(e){e.pop="pop",e.push="push"})(Vs||(Vs={}));var Cs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Cs||(Cs={}));function Ex(e){if(!e)if(Xr){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),vx(e)}const Sx=/^[^#]+#/;function xx(e,t){return e.replace(Sx,"#")+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 il=()=>({left:window.scrollX,top:window.scrollY});function Ax(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 Qd(e,t){return(history.state?history.state.position-t:-1)+e}const jc=new Map;function Tx(e,t){jc.set(e,t)}function Rx(e){const t=jc.get(e);return jc.delete(e),t}let Px=()=>location.protocol+"//"+location.host;function L0(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),Jd(l,"")}return Jd(n,e)+r+o}function $x(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const h=L0(e,location),p=n.value,m=t.value;let g=0;if(d){if(n.value=h,t.value=d,i&&i===p){i=null;return}g=m?d.position-m.position:0}else r(h);o.forEach(v=>{v(n.value,p,{delta:g,type:Vs.pop,direction:g?g>0?Cs.forward:Cs.back:Cs.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(je({},d.state,{scroll:il()}),"")}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 eh(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?il():null}}function Ox(e){const{history:t,location:n}=window,r={value:L0(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:Px()+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=je({},t.state,eh(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=je({},o.value,t.state,{forward:l,scroll:il()});s(u.current,u,!0);const f=je({},eh(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 D0(e){e=Ex(e);const t=Ox(e),n=$x(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=je({location:"",base:e,go:r,createHref:xx.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 kx(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),D0(e)}function Nx(e){return typeof e=="string"||e&&typeof e=="object"}function M0(e){return typeof e=="string"||typeof e=="symbol"}const qt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},F0=Symbol("");var th;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(th||(th={}));function Eo(e,t){return je(new Error,{type:e,[F0]:!0},t)}function bn(e,t){return e instanceof Error&&F0 in e&&(t==null||!!(e.type&t))}const nh="[^/]+?",Ix={sensitive:!1,strict:!1,start:!0,end:!0},Lx=/[.+*?^${}()[\]/\\]/g;function Dx(e,t){const n=je({},Ix,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(Lx,"\\$&"),h+=40;else if(d.type===1){const{value:p,repeatable:m,optional:g,regexp:v}=d;s.push({name:p,repeatable:m,optional:g});const _=v||nh;if(_!==nh){h+=10;try{new RegExp(`(${_})`)}catch(b){throw new Error(`Invalid custom RegExp for param "${p}" (${_}): `+b.message)}}let y=m?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;f||(y=g&&c.length<2?`(?:/${y})`:"/"+y),g&&(y+="?"),o+=y,h+=20,g&&(h+=-8),m&&(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:m,optional:g}=h,v=p in c?c[p]:"";if(tn(v)&&!m)throw new Error(`Provided param "${p}" is an array but it is not repeatable (* or + modifiers)`);const _=tn(v)?v.join("/"):v;if(!_)if(g)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 Mx(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 Fx(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=Mx(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(rh(r))return 1;if(rh(o))return-1}return o.length-r.length}function rh(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Bx={type:0,value:""},jx=/[a-zA-Z0-9_]/;function zx(e){if(!e)return[[]];if(e==="/")return[[Bx]];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:jx.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 Hx(e,t,n){const r=Dx(zx(e.path),n),o=je(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function Ux(e,t){const n=[],r=new Map;t=ih({strict:!1,end:!0,sensitive:!1},t);function o(u){return r.get(u)}function s(u,f,d){const h=!d,p=Vx(u);p.aliasOf=d&&d.record;const m=ih(t,u),g=[p];if("alias"in u){const y=typeof u.alias=="string"?[u.alias]:u.alias;for(const b of y)g.push(je({},p,{components:d?d.record.components:p.components,path:b,aliasOf:d?d.record:p}))}let v,_;for(const y of g){const{path:b}=y;if(f&&b[0]!=="/"){const E=f.record.path,A=E[E.length-1]==="/"?"":"/";y.path=f.record.path+(b&&A+b)}if(v=Hx(y,f,m),d?d.alias.push(v):(_=_||v,_!==v&&_.alias.push(v),h&&u.name&&!sh(v)&&i(u.name)),p.children){const E=p.children;for(let A=0;A<E.length;A++)s(E[A],v,d&&d.children[A])}d=d||v,(v.record.components&&Object.keys(v.record.components).length||v.record.name||v.record.redirect)&&l(v)}return _?()=>{i(_)}:xs}function i(u){if(M0(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&&Fx(u,n[f])>=0&&(u.record.path!==n[f].record.path||!B0(u,n[f]));)f++;n.splice(f,0,u),u.record.name&&!sh(u)&&r.set(u.record.name,u)}function c(u,f){let d,h={},p,m;if("name"in u&&u.name){if(d=r.get(u.name),!d)throw Eo(1,{location:u});m=d.record.name,h=je(oh(f.params,d.keys.filter(_=>!_.optional).concat(d.parent?d.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),u.params&&oh(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),m=d.record.name);else{if(d=f.name?r.get(f.name):n.find(_=>_.re.test(f.path)),!d)throw Eo(1,{location:u,currentLocation:f});m=d.record.name,h=je({},f.params,u.params),p=d.stringify(h)}const g=[];let v=d;for(;v;)g.unshift(v.record),v=v.parent;return{name:m,path:p,params:h,matched:g,meta:Wx(g)}}return e.forEach(u=>s(u)),{addRoute:s,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function oh(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Vx(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Gx(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 Gx(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 sh(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Wx(e){return e.reduce((t,n)=>je(t,n.meta),{})}function ih(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function B0(e,t){return t.children.some(n=>n===e||B0(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($0," "),i=s.indexOf("="),a=Us(i<0?s:s.slice(0,i)),l=i<0?null:Us(s.slice(i+1));if(a in t){let c=t[a];tn(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function ah(e){let t="";for(let n in e){const r=e[n];if(n=hx(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(tn(r)?r.map(s=>s&&Bc(s)):[r&&Bc(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function qx(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=tn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Yx=Symbol(""),lh=Symbol(""),nf=Symbol(""),rf=Symbol(""),zc=Symbol("");function zo(){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 qn(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(Eo(4,{from:n,to:t})):d instanceof Error?l(d):Nx(d)?l(Eo(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 zl(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(Xx(l)){const u=(l.__vccOpts||l)[t];u&&s.push(qn(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=nx(u)?u.default:u;i.components[a]=f;const h=(f.__vccOpts||f)[t];return h&&qn(h,n,r,i,a,o)()}))}}return s}function Xx(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ch(e){const t=wt(nf),n=wt(rf),r=se(()=>t.resolve(j(e.to))),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(wo.bind(null,u));if(d>-1)return d;const h=uh(l[c-2]);return c>1&&uh(u)===h&&f[f.length-1].path!==h?f.findIndex(wo.bind(null,l[c-2])):d}),s=se(()=>o.value>-1&&eC(n.params,r.value.params)),i=se(()=>o.value>-1&&o.value===n.matched.length-1&&I0(n.params,r.value.params));function a(l={}){return Qx(l)?t[j(e.replace)?"replace":"push"](j(e.to)).catch(xs):Promise.resolve()}return{route:r,href:se(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}const Jx=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:ch,setup(e,{slots:t}){const n=St(ch(e)),{options:r}=wt(nf),o=se(()=>({[fh(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[fh(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)}}}),Zx=Jx;function Qx(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 eC(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(!tn(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function uh(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const fh=(e,t,n)=>e??t??n,tC=Ae({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=wt(zc),o=se(()=>e.route||r.value),s=wt(lh,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]);er(lh,se(()=>i.value+1)),er(Yx,a),er(zc,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||!wo(u,h)||!d)&&(u.enterCallbacks[f]||[]).forEach(m=>m(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,f=a.value,d=f&&f.components[u];if(!d)return dh(n.default,{Component:d,route:c});const h=f.props[u],p=h?h===!0?c.params:typeof h=="function"?h(c):h:null,g=et(d,je({},p,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(f.instances[u]=null)},ref:l}));return dh(n.default,{Component:g,route:c})||g}}});function dh(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const j0=tC;function nC(e){const t=Ux(e.routes,e),n=e.parseQuery||Kx,r=e.stringifyQuery||ah,o=e.history,s=zo(),i=zo(),a=zo(),l=en(qt);let c=qt;Xr&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Bl.bind(null,B=>""+B),f=Bl.bind(null,mx),d=Bl.bind(null,Us);function h(B,oe){let ee,ce;return M0(B)?(ee=t.getRecordMatcher(B),ce=oe):ce=B,t.addRoute(ce,ee)}function p(B){const oe=t.getRecordMatcher(B);oe&&t.removeRoute(oe)}function m(){return t.getRoutes().map(B=>B.record)}function g(B){return!!t.getRecordMatcher(B)}function v(B,oe){if(oe=je({},oe||l.value),typeof B=="string"){const x=jl(n,B,oe.path),N=t.resolve({path:x.path},oe),z=o.createHref(x.fullPath);return je(x,N,{params:d(N.params),hash:Us(x.hash),redirectedFrom:void 0,href:z})}let ee;if(B.path!=null)ee=je({},B,{path:jl(n,B.path,oe.path).path});else{const x=je({},B.params);for(const N in x)x[N]==null&&delete x[N];ee=je({},B,{params:f(x)}),oe.params=f(oe.params)}const ce=t.resolve(ee,oe),Ie=B.hash||"";ce.params=u(d(ce.params));const Fe=yx(r,je({},B,{hash:dx(Ie),path:ce.path})),w=o.createHref(Fe);return je({fullPath:Fe,hash:Ie,query:r===ah?qx(B.query):B.query||{}},ce,{redirectedFrom:void 0,href:w})}function _(B){return typeof B=="string"?jl(n,B,l.value.path):je({},B)}function y(B,oe){if(c!==B)return Eo(8,{from:oe,to:B})}function b(B){return O(B)}function E(B){return b(je(_(B),{replace:!0}))}function A(B){const oe=B.matched[B.matched.length-1];if(oe&&oe.redirect){const{redirect:ee}=oe;let ce=typeof ee=="function"?ee(B):ee;return typeof ce=="string"&&(ce=ce.includes("?")||ce.includes("#")?ce=_(ce):{path:ce},ce.params={}),je({query:B.query,hash:B.hash,params:ce.path!=null?{}:B.params},ce)}}function O(B,oe){const ee=c=v(B),ce=l.value,Ie=B.state,Fe=B.force,w=B.replace===!0,x=A(ee);if(x)return O(je(_(x),{state:typeof x=="object"?je({},Ie,x.state):Ie,force:Fe,replace:w}),oe||ee);const N=ee;N.redirectedFrom=oe;let z;return!Fe&&_x(r,ce,ee)&&(z=Eo(16,{to:N,from:ce}),ie(ce,ce,!0,!1)),(z?Promise.resolve(z):P(N,ce)).catch(F=>bn(F)?bn(F,2)?F:ae(F):I(F,N,ce)).then(F=>{if(F){if(bn(F,2))return O(je({replace:w},_(F.to),{state:typeof F.to=="object"?je({},Ie,F.to.state):Ie,force:Fe}),oe||N)}else F=C(N,ce,!0,w,Ie);return L(N,ce,F),F})}function k(B,oe){const ee=y(B,oe);return ee?Promise.reject(ee):Promise.resolve()}function D(B){const oe=Ce.values().next().value;return oe&&typeof oe.runWithContext=="function"?oe.runWithContext(B):B()}function P(B,oe){let ee;const[ce,Ie,Fe]=rC(B,oe);ee=zl(ce.reverse(),"beforeRouteLeave",B,oe);for(const x of ce)x.leaveGuards.forEach(N=>{ee.push(qn(N,B,oe))});const w=k.bind(null,B,oe);return ee.push(w),Ge(ee).then(()=>{ee=[];for(const x of s.list())ee.push(qn(x,B,oe));return ee.push(w),Ge(ee)}).then(()=>{ee=zl(Ie,"beforeRouteUpdate",B,oe);for(const x of Ie)x.updateGuards.forEach(N=>{ee.push(qn(N,B,oe))});return ee.push(w),Ge(ee)}).then(()=>{ee=[];for(const x of Fe)if(x.beforeEnter)if(tn(x.beforeEnter))for(const N of x.beforeEnter)ee.push(qn(N,B,oe));else ee.push(qn(x.beforeEnter,B,oe));return ee.push(w),Ge(ee)}).then(()=>(B.matched.forEach(x=>x.enterCallbacks={}),ee=zl(Fe,"beforeRouteEnter",B,oe,D),ee.push(w),Ge(ee))).then(()=>{ee=[];for(const x of i.list())ee.push(qn(x,B,oe));return ee.push(w),Ge(ee)}).catch(x=>bn(x,8)?x:Promise.reject(x))}function L(B,oe,ee){a.list().forEach(ce=>D(()=>ce(B,oe,ee)))}function C(B,oe,ee,ce,Ie){const Fe=y(B,oe);if(Fe)return Fe;const w=oe===qt,x=Xr?history.state:{};ee&&(ce||w?o.replace(B.fullPath,je({scroll:w&&x&&x.scroll},Ie)):o.push(B.fullPath,Ie)),l.value=B,ie(B,oe,ee,w),ae()}let S;function T(){S||(S=o.listen((B,oe,ee)=>{if(!qe.listening)return;const ce=v(B),Ie=A(ce);if(Ie){O(je(Ie,{replace:!0}),ce).catch(xs);return}c=ce;const Fe=l.value;Xr&&Tx(Qd(Fe.fullPath,ee.delta),il()),P(ce,Fe).catch(w=>bn(w,12)?w:bn(w,2)?(O(w.to,ce).then(x=>{bn(x,20)&&!ee.delta&&ee.type===Vs.pop&&o.go(-1,!1)}).catch(xs),Promise.reject()):(ee.delta&&o.go(-ee.delta,!1),I(w,ce,Fe))).then(w=>{w=w||C(ce,Fe,!1),w&&(ee.delta&&!bn(w,8)?o.go(-ee.delta,!1):ee.type===Vs.pop&&bn(w,20)&&o.go(-1,!1)),L(ce,Fe,w)}).catch(xs)}))}let M=zo(),R=zo(),$;function I(B,oe,ee){ae(B);const ce=R.list();return ce.length?ce.forEach(Ie=>Ie(B,oe,ee)):console.error(B),Promise.reject(B)}function J(){return $&&l.value!==qt?Promise.resolve():new Promise((B,oe)=>{M.add([B,oe])})}function ae(B){return $||($=!B,T(),M.list().forEach(([oe,ee])=>B?ee(B):oe()),M.reset()),B}function ie(B,oe,ee,ce){const{scrollBehavior:Ie}=e;if(!Xr||!Ie)return Promise.resolve();const Fe=!ee&&Rx(Qd(B.fullPath,0))||(ce||!ee)&&history.state&&history.state.scroll||null;return Lt().then(()=>Ie(B,oe,Fe)).then(w=>w&&Ax(w)).catch(w=>I(w,B,oe))}const le=B=>o.go(B);let Se;const Ce=new Set,qe={currentRoute:l,listening:!0,addRoute:h,removeRoute:p,hasRoute:g,getRoutes:m,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(B){const oe=this;B.component("RouterLink",Zx),B.component("RouterView",j0),B.config.globalProperties.$router=oe,Object.defineProperty(B.config.globalProperties,"$route",{enumerable:!0,get:()=>j(l)}),Xr&&!Se&&l.value===qt&&(Se=!0,b(o.location).catch(Ie=>{}));const ee={};for(const Ie in qt)Object.defineProperty(ee,Ie,{get:()=>l.value[Ie],enumerable:!0});B.provide(nf,oe),B.provide(rf,To(ee)),B.provide(zc,l);const ce=B.unmount;Ce.add(B),B.unmount=function(){Ce.delete(B),Ce.size<1&&(c=qt,S&&S(),S=null,l.value=qt,Se=!1,$=!1),ce()}}};function Ge(B){return B.reduce((oe,ee)=>oe.then(()=>D(ee)),Promise.resolve())}return qe}function rC(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=>wo(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>wo(c,l))||o.push(l))}return[n,r,o]}function oC(){return wt(rf)}const sC=(e,t)=>t.path.replace(/(:\w+)\([^)]+\)/g,"$1").replace(/(:\w+)[?+*]/g,"$1").replace(/:\w+/g,n=>e.params[n.slice(1)]?.toString()||""),Hc=(e,t)=>{const n=e.route.matched.find(o=>o.components?.default===e.Component.type),r=t??n?.meta.key??(n&&sC(e.route,n));return typeof r=="function"?r(e.route):r},iC=(e,t)=>({default:()=>e?et(H1,e===!0?{}:e,t):t});function of(e){return Array.isArray(e)?e:[e]}const Ho={layout:"none"},Uo={layout:"none"},Uc=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),aC=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),sf=e=>{const t=Ne();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{Uc(e)}):Uc(e)},lC=e=>e==="defer"||e===!1;function z0(...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??VS.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:en;s._asyncData[n]={data:p(o.getCachedData(n,s)??o.default()),pending:U(!c()),error:Va(s.payload._errors,n),status:U("idle")}}const u={...s._asyncData[n]};u.refresh=u.execute=(p={})=>{if(s._asyncDataPromises[n]){if(lC(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 m=new Promise((g,v)=>{try{g(i(s))}catch(_){v(_)}}).then(async g=>{if(m.cancelled)return s._asyncDataPromises[n];let v=g;o.transform&&(v=await o.transform(g)),o.pick&&(v=uC(v,o.pick)),s.payload.data[n]=v,u.data.value=v,u.error.value=null,u.status.value="success"}).catch(g=>{if(m.cancelled)return s._asyncDataPromises[n];u.error.value=ii(g),u.data.value=j(o.default()),u.status.value="error"}).finally(()=>{m.cancelled||(u.pending.value=!1,delete s._asyncDataPromises[n])});return s._asyncDataPromises[n]=m,s._asyncDataPromises[n]},u.clear=()=>cC(s,n);const f=()=>u.refresh({_initial:!0}),d=o.server!==!1&&s.payload.serverRendered;{const p=Vt();if(p&&!p._nuxtOnBeforeMountCbs){p._nuxtOnBeforeMountCbs=[];const g=p._nuxtOnBeforeMountCbs;p&&(vg(()=>{g.forEach(v=>{v()}),g.splice(0,g.length)}),js(()=>g.splice(0,g.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(),o.watch&&De(o.watch,()=>u.refresh());const m=s.hook("app:data:refresh",async g=>{(!g||g.includes(n))&&await u.refresh()});p&&js(m)}const h=Promise.resolve(s._asyncDataPromises[n]).then(()=>u);return Object.assign(h,u),h}function cC(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 uC(e,t){const n={};for(const r of t)n[r]=e[r];return n}const fC="$s";function $o(...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=fC+n,s=Ne(),i=Va(s.payload.state,o);if(i.value===void 0&&r){const a=r();if(ze(a))return s.payload.state[o]=a,a;i.value=a}return i}function vn(e){return Ru()?(Fm(e),!0):!1}function dC(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 hC(e){if(!ze(e))return St(e);const t=new Proxy({},{get(n,r,o){return j(Reflect.get(e.value,r,o))},set(n,r,o){return ze(e.value[r])&&!ze(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 St(t)}function J6(e){return hC(se(e))}const Lr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const pC=e=>typeof e<"u",mC=e=>e!=null,gC=Object.prototype.toString,vC=e=>gC.call(e)==="[object Object]",nr=()=>{},yC=_C();function _C(){var e,t;return Lr&&((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 H0(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 U0=e=>e();function V0(e,t={}){let n,r,o=nr;const s=a=>{clearTimeout(a),o(),o=nr};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 bC(e=U0){const t=U(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...s)=>{t.value&&e(...s)};return{isActive:Hr(t),pause:n,resume:r,eventFilter:o}}function wC(e){const t=Object.create(null);return n=>t[n]||(t[n]=e(n))}const EC=/-(\w)/g,SC=wC(e=>e.replace(EC,(t,n)=>n?n.toUpperCase():""));function hh(e,t=!1,n="Timeout"){return new Promise((r,o)=>{setTimeout(t?()=>o(n):r,e)})}function xC(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 AC(e){return e||Vt()}function TC(...e){if(e.length!==1)return Va(...e);const t=e[0];return typeof t=="function"?Hr(Mu(()=>({get:t,set:nr}))):U(t)}function RC(e,t=200,n={}){return H0(V0(t,n),e)}function PC(e,t=200,n={}){const r=U(e.value),o=RC(()=>{r.value=e.value},t,n);return De(e,()=>o()),r}function G0(e,t,n={}){const{eventFilter:r=U0,...o}=n;return De(e,H0(r,t),o)}function $C(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:s,pause:i,resume:a,isActive:l}=bC(r);return{stop:G0(e,t,{...o,eventFilter:s}),pause:i,resume:a,isActive:l}}function al(e,t={}){if(!ze(e))return d1(e);const n=Array.isArray(e.value)?Array.from({length:e.value.length}):{};for(const r in e.value)n[r]=Mu(()=>({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 Oo(e,t=!0,n){AC()?Ln(e,n):t?e():Lt(e)}function Vc(e,t=!1){function n(f,{flush:d="sync",deep:h=!1,timeout:p,throwOnTimeout:m}={}){let g=null;const _=[new Promise(y=>{g=De(e,b=>{f(b)!==t&&(g?.(),y(b))},{flush:d,deep:h,immediate:!0})})];return p!=null&&_.push(hh(p,m).then(()=>Ye(e)).finally(()=>g?.())),Promise.race(_)}function r(f,d){if(!ze(f))return n(b=>b===f,d);const{flush:h="sync",deep:p=!1,timeout:m,throwOnTimeout:g}=d??{};let v=null;const y=[new Promise(b=>{v=De([e,f],([E,A])=>{t!==(E===A)&&(v?.(),b(E))},{flush:h,deep:p,immediate:!0})})];return m!=null&&y.push(hh(m,g).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 Vc(e,!t)}}:{toMatch:n,toBe:r,toBeTruthy:o,toBeNull:s,toBeNaN:a,toBeUndefined:i,changed:c,changedTimes:u,get not(){return Vc(e,!t)}}}function OC(e){return Vc(e)}const kC=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,NC=/[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 IC(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 mr(e){const t=["th","st","nd","rd"],n=e%100;return e+(t[(n-20)%10]||t[n]||t[0])}function LC(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:IC,h={Yo:()=>mr(o),YY:()=>String(o).slice(-2),YYYY:()=>o,M:()=>s+1,Mo:()=>mr(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:()=>mr(i),DD:()=>`${i}`.padStart(2,"0"),H:()=>String(a),Ho:()=>mr(a),HH:()=>`${a}`.padStart(2,"0"),h:()=>`${a%12||12}`.padStart(1,"0"),ho:()=>mr(a%12||12),hh:()=>`${a%12||12}`.padStart(2,"0"),m:()=>String(l),mo:()=>mr(l),mm:()=>`${l}`.padStart(2,"0"),s:()=>String(c),so:()=>mr(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(NC,(p,m)=>{var g,v;return(v=m??((g=h[p])==null?void 0:g.call(h)))!=null?v:p})}function DC(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(kC);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 Z6(e,t="HH:mm:ss",n={}){return se(()=>LC(DC(Ye(e)),Ye(t),n))}function MC(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&&Lr&&c(),ze(t)||typeof t=="function"){const u=De(t,()=>{i.value&&Lr&&c()});vn(u)}return vn(l),{isActive:i,pause:l,resume:c}}function FC(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,Lr&&l()),vn(a),{isPending:Hr(o),start:l,stop:a}}function af(e,t,n={}){const{debounce:r=0,maxWait:o=void 0,...s}=n;return G0(e,t,{...s,eventFilter:V0(r,{maxWait:o})})}function Q6(e,t,n){let r;ze(n)?r={evaluating:n}:r=n||{};const{lazy:o=!1,evaluating:s=void 0,shallow:i=!0,onError:a=nr}=r,l=U(!o),c=i?en(t):U(t);let u=0;return Nr(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(m=>{f(()=>{s&&(s.value=!1),h||m()})});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 e3(e={}){const{inheritAttrs:t=!0}=e,n=en(),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,{...BC(i),$slots:a});return t&&c?.length===1?c[0]:c}}});return dC({define:r,reuse:o},[r,o])}function BC(e){const t={};for(const n in e)t[SC(n)]=e[n];return t}function lf(e={}){let t=0;const n=U([]);function r(...i){const a=To({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(Yb,e.transition,l):l});return s.start=o,s}function pt(e){var t;const n=Ye(e);return(t=n?.$el)!=null?t:n}const xt=Lr?window:void 0,jC=Lr?window.document:void 0,W0=Lr?window.navigator:void 0;function Rt(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=xt):[t,n,r,o]=e,!t)return nr;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(()=>[pt(t),Ye(o)],([u,f])=>{if(i(),!u)return;const d=vC(f)?{...f}:f;s.push(...n.flatMap(h=>r.map(p=>a(u,h,p,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),i()};return vn(c),c}let ph=!1;function cf(e,t,n={}){const{window:r=xt,ignore:o=[],capture:s=!0,detectIframe:i=!1}=n;if(!r)return nr;yC&&!ph&&(ph=!0,Array.from(r.document.body.children).forEach(d=>d.addEventListener("click",nr)),r.document.documentElement.addEventListener("click",nr));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=pt(h);return p&&(d.target===p||d.composedPath().includes(p))}}),u=[Rt(r,"click",d=>{const h=pt(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}),Rt(r,"pointerdown",d=>{const h=pt(e);a=!l(d)&&!!(h&&!d.composedPath().includes(h))},{passive:!0}),i&&Rt(r,"blur",d=>{setTimeout(()=>{var h;const p=pt(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 zC(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function HC(...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=xt,eventName:s="keydown",passive:i=!1,dedupe:a=!1}=r,l=zC(t);return Rt(o,s,u=>{u.repeat&&Ye(a)||l(u)&&n(u)},i)}function t3(e,t,n={}){return HC(e,t,{...n,eventName:"keydown"})}function UC(){const e=U(!1),t=Vt();return t&&Ln(()=>{e.value=!0},t),e}function ko(e){const t=UC();return se(()=>(t.value,!!e()))}function VC(e,t={}){const{immediate:n=!0,fpsLimit:r=void 0,window:o=xt}=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(),vn(f),{isActive:Hr(s),pause:f,resume:u}}function K0(e,t={}){const{window:n=xt}=t,r=ko(()=>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=Nr(()=>{r.value&&(a(),o=n.matchMedia(Ye(e)),"addEventListener"in o?o.addEventListener("change",i):o.addListener(i),s.value=o.matches)});return vn(()=>{l(),a(),o=void 0}),s}const mh=["hash","host","hostname","href","pathname","port","protocol","search"];function n3(e={}){const{window:t=xt}=e,n=Object.fromEntries(mh.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 mh)n[u].value=(i=t?.location)==null?void 0:i[u];return St({trigger:s,state:a,length:l,origin:c,...n})},o=U(r("load"));return t&&(Rt(t,"popstate",()=>o.value=r("popstate"),{passive:!0}),Rt(t,"hashchange",()=>o.value=r("hashchange"),{passive:!0})),o}function gh(e,t={}){const{controls:n=!1,navigator:r=W0}=t,o=ko(()=>r&&"permissions"in r);let s;const i=typeof e=="string"?{name:e}:e,a=U(),l=()=>{s&&(a.value=s.state)},c=xC(async()=>{if(o.value){if(!s)try{s=await r.permissions.query(i),Rt(s,"change",l),l()}catch{a.value="prompt"}return s}});return c(),n?{state:a,isSupported:o,query:c}:a}function GC(e={}){const{navigator:t=W0,read:n=!1,source:r,copiedDuring:o=1500,legacy:s=!1}=e,i=ko(()=>t&&"clipboard"in t),a=gh("clipboard-read"),l=gh("clipboard-write"),c=se(()=>i.value||s),u=U(""),f=U(!1),d=FC(()=>f.value=!1,o);function h(){i.value&&v(a.value)?t.clipboard.readText().then(_=>{u.value=_}):u.value=g()}c.value&&n&&Rt(["copy","cut"],h);async function p(_=Ye(r)){c.value&&_!=null&&(i.value&&v(l.value)?await t.clipboard.writeText(_):m(_),u.value=_,f.value=!0,d.start())}function m(_){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 g(){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 WC(e){return JSON.parse(JSON.stringify(e))}const Ri=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Pi="__vueuse_ssr_handlers__",KC=qC();function qC(){return Pi in Ri||(Ri[Pi]=Ri[Pi]||{}),Ri[Pi]}function q0(e,t){return KC[e]||t}function YC(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 XC={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()}},vh="vueuse-storage";function uf(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=xt,eventFilter:d,onError:h=P=>{console.error(P)},initOnMounted:p}=r,m=(u?en:U)(typeof t=="function"?t():t);if(!n)try{n=q0("getDefaultStorage",()=>{var P;return(P=xt)==null?void 0:P.localStorage})()}catch(P){h(P)}if(!n)return m;const g=Ye(t),v=YC(g),_=(o=r.serializer)!=null?o:XC[v],{pause:y,resume:b}=$C(m,()=>A(m.value),{flush:s,deep:i,eventFilter:d});f&&a&&Oo(()=>{Rt(f,"storage",k),Rt(f,vh,D),p&&k()}),p||k();function E(P,L){f&&f.dispatchEvent(new CustomEvent(vh,{detail:{key:e,oldValue:P,newValue:L,storageArea:n}}))}function A(P){try{const L=n.getItem(e);if(P==null)E(L,null),n.removeItem(e);else{const C=_.write(P);L!==C&&(n.setItem(e,C),E(L,C))}}catch(L){h(L)}}function O(P){const L=P?P.newValue:n.getItem(e);if(L==null)return l&&g!=null&&n.setItem(e,_.write(g)),g;if(!P&&c){const C=_.read(L);return typeof c=="function"?c(C,g):v==="object"&&!Array.isArray(C)?{...g,...C}:C}else return typeof L!="string"?L:_.read(L)}function k(P){if(!(P&&P.storageArea!==n)){if(P&&P.key==null){m.value=g;return}if(!(P&&P.key!==e)){y();try{P?.newValue!==_.write(m.value)&&(m.value=O(P))}catch(L){h(L)}finally{P?Lt(b):b()}}}}function D(P){k(P.detail)}return m}function JC(e){return K0("(prefers-color-scheme: dark)",e)}function ZC(e={}){const{selector:t="html",attribute:n="class",initialValue:r="auto",window:o=xt,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=JC({window:o}),h=se(()=>d.value?"dark":"light"),p=l||(i==null?TC(r):uf(i,r,s,{window:o,listenToStorageChanges:a})),m=se(()=>p.value==="auto"?h.value:p.value),g=q0("updateHTMLAttrs",(b,E,A)=>{const O=typeof b=="string"?o?.document.querySelector(b):pt(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=A.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,A);u&&(o.getComputedStyle(k).opacity,document.head.removeChild(k))});function v(b){var E;g(t,n,(E=f[b])!=null?E:b)}function _(b){e.onChanged?e.onChanged(b,v):v(b)}De(m,_,{flush:"post",immediate:!0}),Oo(()=>_(m.value));const y=se({get(){return c?p.value:m.value},set(b){p.value=b}});try{return Object.assign(y,{store:p,system:h,state:m})}catch{return y}}function QC(e,t,n={}){const{window:r=xt,...o}=n;let s;const i=ko(()=>r&&"MutationObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=se(()=>{const d=Ye(e),h=(Array.isArray(d)?d:[d]).map(pt).filter(mC);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 vn(f),{isSupported:i,stop:f,takeRecords:u}}function Y0(e,t,n={}){const{window:r=xt,...o}=n;let s;const i=ko(()=>r&&"ResizeObserver"in r),a=()=>{s&&(s.disconnect(),s=void 0)},l=se(()=>Array.isArray(e)?e.map(f=>pt(f)):[pt(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 vn(u),{isSupported:i,stop:u}}function r3(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 m=pt(e);if(!m){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 g=m.getBoundingClientRect();i.value=g.height,a.value=g.bottom,l.value=g.left,c.value=g.right,u.value=g.top,f.value=g.width,d.value=g.x,h.value=g.y}return Y0(e,p),De(()=>pt(e),m=>!m&&p()),QC(e,p,{attributeFilter:["style","class"]}),o&&Rt("scroll",p,{capture:!0,passive:!0}),r&&Rt("resize",p,{passive:!0}),Oo(()=>{s&&p()}),{height:i,bottom:a,left:l,right:c,top:u,width:f,x:d,y:h,update:p}}function o3(e,t={width:0,height:0},n={}){const{window:r=xt,box:o="content-box"}=n,s=se(()=>{var f,d;return(d=(f=pt(e))==null?void 0:f.namespaceURI)==null?void 0:d.includes("svg")}),i=U(t.width),a=U(t.height),{stop:l}=Y0(e,([f])=>{const d=o==="border-box"?f.borderBoxSize:o==="content-box"?f.contentBoxSize:f.devicePixelContentBoxSize;if(r&&s.value){const h=pt(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:m})=>p+m,0),a.value=h.reduce((p,{blockSize:m})=>p+m,0)}else i.value=f.contentRect.width,a.value=f.contentRect.height},n);Oo(()=>{const f=pt(e);f&&(i.value="offsetWidth"in f?f.offsetWidth:t.width,a.value="offsetHeight"in f?f.offsetHeight:t.height)});const c=De(()=>pt(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 eA(e={}){const{initialValue:t=""}=e,n=ko(()=>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 No(e,t,n={}){const{window:r=xt}=n;return uf(e,t,r?.localStorage,n)}function tA(e={}){const{controls:t=!1,interval:n="requestAnimationFrame"}=e,r=U(new Date),o=()=>r.value=new Date,s=n==="requestAnimationFrame"?VC(o,{immediate:!0}):MC(o,n,{immediate:!0});return t?{now:r,...s}:r}function nA(e,t,n={}){const{window:r=xt}=n;return uf(e,t,r?.sessionStorage,n)}let rA=0;function s3(e,t={}){const n=U(!1),{document:r=jC,immediate:o=!0,manual:s=!1,id:i=`vueuse_styletag_${++rA}`}=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&&Oo(c),s||vn(u),{id:i,css:a,unload:u,load:c,isLoaded:Hr(n)}}const oA=[{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"}],sA={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 iA(e){return e.toISOString().slice(0,10)}function i3(e,t={}){const{controls:n=!1,updateInterval:r=3e4}=t,{now:o,...s}=tA({interval:r,controls:!0}),i=se(()=>aA(new Date(Ye(e)),t,Ye(o)));return n?{timeAgo:i,...s}:i}function aA(e,t={},n=Date.now()){var r;const{max:o,messages:s=sA,fullDateFormatter:i=iA,units:a=oA,showSecond:l=!1,rounding:c="round"}=t,u=typeof c=="number"?g=>+g.toFixed(c):Math[c],f=+n-+e,d=Math.abs(f);function h(g,v){return u(Math.abs(g)/v.value)}function p(g,v){const _=h(g,v),y=g>0,b=m(v.name,_,y);return m(y?"past":"future",b,y)}function m(g,v,_){const y=s[g];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 g=(r=a.find(v=>v.name===o))==null?void 0:r.max;if(g&&d>g)return i(new Date(e))}for(const[g,v]of a.entries()){if(h(f,v)<=0&&a[g-1])return p(f,a[g-1]);if(d<v.max)return p(f,v)}return s.invalid}function X0(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=Vt(),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 m=c;t||(t="modelValue"),m=m||`update:${t.toString()}`;const g=y=>a?typeof a=="function"?a(y):WC(y):y,v=()=>pC(e[t])?g(e[t]):f,_=y=>{d?d(y)&&p(m,y):p(m,y)};if(l){const y=v(),b=U(y);let E=!1;return De(()=>e[t],A=>{E||(E=!0,b.value=g(A),Lt(()=>E=!1))}),De(b,A=>{!E&&(A!==e[t]||u)&&_(A)},{deep:u}),b}else return se({get(){return v()},set(y){_(y)}})}function J0(e={}){const{window:t=xt,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(),Oo(l),Rt("resize",l,{passive:!0}),o){const c=K0("(orientation: portrait)");De(c,()=>l())}return{width:i,height:a}}const Z0=()=>$o("color-mode").value,Gc=U();let yh;function lA(){yh||(yh=(async()=>{const{default:e}=await ve(()=>import("./Blr6EMNg.js"),__vite__mapDeps([]),import.meta.url);Gc.value=new e({html:!0,linkify:!0,breaks:!0})})())}function cA(e){return lA(),Gc.value?Gc.value.render(e):e}var Jt;(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"})(Jt||(Jt={}));var So;(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),m=e.getBackground(u);console.log({languageId:f,tokenType:d,fontStyle:h,foreground:p,background:m})}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,m,g){let v=e.getLanguageId(u),_=e.getTokenType(u),y=e.containsBalancedBrackets(u)?1:0,b=e.getFontStyle(u),E=e.getForeground(u),A=e.getBackground(u);return f!==0&&(v=f),d!==8&&(_=d),h!==null&&(y=h?1:0),p!==-1&&(b=p),m!==0&&(E=m),g!==0&&(A=g),(v<<0|_<<8|y<<10|b<<11|E<<15|A<<24)>>>0}e.set=c})(So||(So={}));function _a(e,t){const n=[],r=uA(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(_h(o)){const l=[];do l.push(o),o=r.next();while(_h(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 _h(e){return!!e&&!!e.match(/[\w\.:]+/)}function uA(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 Q0(e){typeof e.dispose=="function"&&e.dispose()}function fA(e){return ff(e)}function ff(e){return Array.isArray(e)?dA(e):typeof e=="object"?hA(e):e}function dA(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=ff(e[n]);return t}function hA(e){let t={};for(let n in e)t[n]=ff(e[n]);return t}function ev(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function tv(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?tv(e.substring(0,e.length-1)):e.substr(~t+1)}let Hl=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g;class $i{static hasCaptures(t){return t===null?!1:(Hl.lastIndex=0,Hl.test(t))}static replaceCaptures(t,n,r){return t.replace(Hl,(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 nv(e,t){return e<t?-1:e>t?1:0}function rv(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=nv(e[o],t[o]);if(s!==0)return s}return 0}return n-r}function bh(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 ov(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}class sv{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 Gs{scopeName;constructor(t){this.scopeName=t}toKey(){return this.scopeName}}class pA{scopeName;ruleName;constructor(t,n){this.scopeName=t,this.ruleName=n}toKey(){return`${this.scopeName}#${this.ruleName}`}}class mA{_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 gA{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 Gs(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const n=new mA;for(const r of t)vA(r,this.initialScopeName,this.repo,n);for(const r of n.references)if(r instanceof Gs){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 vA(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 Gs?Xi({baseGrammar:s,selfGrammar:o},r):Wc(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 Gs(a))}function Wc(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];ba([r],t,n)}}function Xi(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&ba(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&ba(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function ba(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?ev({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&ba(r.patterns,{...t,repository:o},n);const s=r.include;if(!s)continue;const i=iv(s);switch(i.kind){case 0:Xi({...t,selfGrammar:t.baseGrammar},n);break;case 1:Xi(t,n);break;case 2:Wc(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?Wc(i.ruleName,l,n):Xi(l,n)}else i.kind===4?n.add(new pA(i.scopeName,i.ruleName)):n.add(new Gs(i.scopeName));break}}}class yA{kind=0}class _A{kind=1}class bA{ruleName;kind=2;constructor(t){this.ruleName=t}}class wA{scopeName;kind=3;constructor(t){this.scopeName=t}}class EA{scopeName;ruleName;kind=4;constructor(t,n){this.scopeName=t,this.ruleName=n}}function iv(e){if(e==="$base")return new yA;if(e==="$self")return new _A;const t=e.indexOf("#");if(t===-1)return new wA(e);if(t===0)return new bA(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new EA(n,r)}}const SA=/\\(\d+)/,wh=/\\(\d+)/g,xA=-1,av=-2;class ai{$location;id;_nameIsCapturing;_name;_contentNameIsCapturing;_contentName;constructor(t,n,r,o){this.$location=t,this.id=n,this._name=r||null,this._nameIsCapturing=$i.hasCaptures(this._name),this._contentName=o||null,this._contentNameIsCapturing=$i.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${tv(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:$i.replaceCaptures(this._name,t,n)}getContentName(t,n){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:$i.replaceCaptures(this._contentName,t,n)}}class CA extends ai{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 AA extends ai{_match;captures;_cachedCompiledPatterns;constructor(t,n,r,o,s){super(t,n,r,null),this._match=new Dr(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 Ws,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Eh extends ai{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 Ws,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}}class Kc extends ai{_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 Dr(s,this.id),this.beginCaptures=i,this._end=new Dr(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 Ws;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 wa extends ai{_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 Dr(s,this.id),this.beginCaptures=i,this.whileCaptures=l,this._while=new Dr(a,av),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 Ws;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 Ws,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,n||""),this._cachedCompiledWhilePatterns}}class it{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 AA(t.$vscodeTextmateLocation,t.id,t.name,t.match,it._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=ev({},r,t.repository));let s=t.patterns;return typeof s>"u"&&t.include&&(s=[{include:t.include}]),new Eh(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,it._compilePatterns(s,n,r))}return t.while?new wa(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,it._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,it._compileCaptures(t.whileCaptures||t.captures,n,r),it._compilePatterns(t.patterns,n,r)):new Kc(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,it._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,it._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,it._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=it.getCompiledRuleId(t[i],n,r)),o[a]=it.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=iv(a.include);switch(c.kind){case 0:case 1:l=it.getCompiledRuleId(r[a.include],n,r);break;case 2:let u=r[c.ruleName];u&&(l=it.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=it.getCompiledRuleId(p,n,h.repository))}else l=it.getCompiledRuleId(h.repository.$self,n,h.repository);break}}else l=it.getCompiledRuleId(a,n,r);if(l!==-1){const c=n.getRule(l);let u=!1;if((c instanceof Eh||c instanceof Kc||c instanceof wa)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;o.push(l)}}return{patterns:o,hasMissingPatterns:(t?t.length:0)!==o.length}}}class Dr{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=SA.test(this.source)}clone(){return new Dr(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 wh.lastIndex=0,this.source.replace(wh,(o,s)=>ov(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 Ws{_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 Sh(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 Sh(t,o,this._items.map(s=>s.ruleId))}}class Sh{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 qc{_colorMap;_defaults;_root;static createFromRawTheme(t,n){return this.createFromParsedTheme(PA(t),n)}static createFromParsedTheme(t,n){return OA(t,n)}_cachedMatchRoot=new sv(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=>TA(t.parent,s.parentScopes));return o?new lv(o.fontStyle,o.foreground,o.background):null}}class $r{parent;scopeName;static push(t,n){for(const r of n)t=new $r(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new $r(n,t[r]);return n}constructor(t,n){this.parent=t,this.scopeName=n}push(t){return new $r(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 TA(e,t){if(t===null)return!0;let n=0,r=t[n];for(;e;){if(RA(e.scopeName,r)){if(n++,n===t.length)return!0;r=t[n]}e=e.parent}return!1}function RA(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}class lv{fontStyle;foregroundId;backgroundId;constructor(t,n,r){this.fontStyle=t,this.foregroundId=n,this.backgroundId=r}}function PA(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"&&bh(i.settings.foreground)&&(c=i.settings.foreground);let u=null;typeof i.settings.background=="string"&&bh(i.settings.background)&&(u=i.settings.background);for(let f=0,d=a.length;f<d;f++){let p=a[f].trim().split(" "),m=p[p.length-1],g=null;p.length>1&&(g=p.slice(0,p.length-1),g.reverse()),n[r++]=new $A(m,g,o,l,c,u)}}return n}class $A{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 OA(e,t){e.sort((l,c)=>{let u=nv(l.scope,c.scope);return u!==0||(u=rv(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 kA(t),i=new lv(n,s.getId(r),s.getId(o)),a=new As(new Ks(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 qc(s,i,a)}class kA{_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 Ks{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 Ks(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 As{_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 As._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):As._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 As(this._mainRule.clone(),Ks.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(rv(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 Ks(t,n,r,o,s))}}class Ul{languageId;tokenType;constructor(t,n){this.languageId=t,this.tokenType=n}}class Ea{_defaultAttributes;_embeddedLanguagesMatcher;constructor(t,n){this._defaultAttributes=new Ul(t,8),this._embeddedLanguagesMatcher=new NA(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?Ea._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}static _NULL_SCOPE_METADATA=new Ul(0,0);_getBasicScopeAttributes=new sv(t=>{const n=this._scopeToLanguage(t),r=this._toStandardTokenType(t);return new Ul(n,r)});_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(Ea.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 NA{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])=>ov(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 xh{stack;stoppedEarly;constructor(t,n){this.stack=t,this.stoppedEarly=n}}function cv(e,t,n,r,o,s,i,a){const l=t.content.length;let c=!1,u=-1;if(i){const h=IA(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 xh(o,!0);d()}return new xh(o,!1);function d(){const h=LA(e,t,n,r,o,u);if(!h){s.produce(o,l),c=!0;return}const p=h.captureIndices,m=h.matchedRuleId,g=p&&p.length>0?p[0].end>r:!1;if(m===xA){const v=o.getRule(e);s.produce(o,p[0].start),o=o.withContentNameScopesList(o.nameScopesList),vs(e,t,n,o,s,v.endCaptures,p),s.produce(o,p[0].end);const _=o;if(o=o.parent,u=_.getAnchorPos(),!g&&_.getEnterPos()===r){o=_,s.produce(o,l),c=!0;return}}else{const v=e.getRule(m);s.produce(o,p[0].start);const _=o,y=v.getName(t.content,p),b=o.contentNameScopesList.pushAttributed(y,e);if(o=o.push(m,r,u,p[0].end===l,null,b,b),v instanceof Kc){const E=v;vs(e,t,n,o,s,E.beginCaptures,p),s.produce(o,p[0].end),u=p[0].end;const A=E.getContentName(t.content,p),O=b.pushAttributed(A,e);if(o=o.withContentNameScopesList(O),E.endHasBackReferences&&(o=o.withEndRule(E.getEndWithResolvedBackReferences(t.content,p))),!g&&_.hasSameRuleAs(o)){o=o.pop(),s.produce(o,l),c=!0;return}}else if(v instanceof wa){const E=v;vs(e,t,n,o,s,E.beginCaptures,p),s.produce(o,p[0].end),u=p[0].end;const A=E.getContentName(t.content,p),O=b.pushAttributed(A,e);if(o=o.withContentNameScopesList(O),E.whileHasBackReferences&&(o=o.withEndRule(E.getWhileWithResolvedBackReferences(t.content,p))),!g&&_.hasSameRuleAs(o)){o=o.pop(),s.produce(o,l),c=!0;return}}else if(vs(e,t,n,o,s,v.captures,p),s.produce(o,p[0].end),o=o.pop(),!g){o=o.safePop(),s.produce(o,l),c=!0;return}}p[0].end>r&&(r=p[0].end,n=!1)}}function IA(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 wa&&a.push({rule:c,stack:l})}for(let l=a.pop();l;l=a.pop()){const{ruleScanner:c,findOptions:u}=FA(l.rule,e,l.stack.endRule,n,r===i),f=c.findNextMatchSync(t,r,u);if(f){if(f.ruleId!==av){o=l.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(s.produce(l.stack,f.captureIndices[0].start),vs(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 LA(e,t,n,r,o,s){const i=DA(e,t,n,r,o,s),a=e.getInjections();if(a.length===0)return i;const l=MA(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 DA(e,t,n,r,o,s){const i=o.getRule(e),{ruleScanner:a,findOptions:l}=uv(i,e,o.endRule,n,r===s),c=a.findNextMatchSync(t,r,l);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function MA(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 m=t.getRule(p.ruleId),{ruleScanner:g,findOptions:v}=uv(m,t,null,r,o===i),_=g.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 uv(e,t,n,r,o){return{ruleScanner:e.compileAG(t,n,r,o),findOptions:0}}function FA(e,t,n,r,o){return{ruleScanner:e.compileWhileAG(t,n,r,o),findOptions:0}}function vs(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 m=d.getName(a,i),g=r.contentNameScopesList.pushAttributed(m,e),v=d.getContentName(a,i),_=g.pushAttributed(v,e),y=r.push(d.retokenizeCapturedWithRuleId,h.start,-1,!1,null,g,_),b=e.createOnigString(a.substring(0,h.end));cv(e,b,n&&h.start===0,h.start,y,o,!1,0),Q0(b);continue}const p=d.getName(a,i);if(p!==null){const g=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(p,e);c.push(new BA(g,h.end))}}for(;c.length>0;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}class BA{scopes;endPos;constructor(t,n){this.scopes=t,this.endPos=n}}function jA(e,t,n,r,o,s,i,a){return new HA(e,t,n,r,o,s,i,a)}function Ch(e,t,n,r,o){const s=_a(t,Sa),i=it.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 Sa(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(zA(t[o],r))return n=o+1,!0;return!1})}function zA(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 HA{_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 Ea(r,o),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=a,this._grammar=Ah(n,null),this._injections=null,this._tokenTypeMatchers=[],s)for(const c of Object.keys(s)){const u=_a(c,Sa);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)Ch(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&&Ch(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]=Ah(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=it.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let s;if(!n||n===ln.NULL){s=!0;const u=this._basicScopeAttributesProvider.getDefaultAttributes(),f=this.themeProvider.getDefaults(),d=So.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=vt.createRootAndLookUpScopeName(h,d,this):p=vt.createRoot("unknown",d),n=new ln(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 VA(r,t,this._tokenTypeMatchers,this.balancedBracketSelectors),c=cv(this,i,s,0,n,l,!0,o);return Q0(i),{lineLength:a,lineTokens:l,ruleStack:c.stack,stoppedEarly:c.stoppedEarly}}}function Ah(e,t){return e=fA(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 vt{parent;scopePath;tokenAttributes;static fromExtension(t,n){let r=t,o=t?.scopePath??null;for(const s of n)o=$r.push(o,s.scopeNames),r=new vt(r,o,s.encodedTokenAttributes);return r}static createRoot(t,n){return new vt(null,new $r(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const o=r.getMetadataForScope(t),s=new $r(null,t),i=r.themeProvider.themeMatch(s),a=vt.mergeAttributes(n,o,i);return new vt(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 vt.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),So.set(t,n.languageId,n.tokenType,null,o,s,i)}pushAttributed(t,n){if(t===null)return this;if(t.indexOf(" ")===-1)return vt._pushAttributed(this,t,n);const r=t.split(/ /g);let o=this;for(const s of r)o=vt._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=vt.mergeAttributes(t.tokenAttributes,o,i);return new vt(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 ln{parent;ruleId;beginRuleCapturedEOL;endRule;nameScopesList;contentNameScopesList;_stackElementBrand=void 0;static NULL=new ln(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:ln._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?vt.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(){ln._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,o,s,i,a){return new ln(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 ln(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=vt.fromExtension(t?.nameScopesList??null,n.nameScopesList);return new ln(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,vt.fromExtension(r,n.contentNameScopesList))}}class UA{balancedBracketScopes;unbalancedBracketScopes;allowAny=!1;constructor(t,n){this.balancedBracketScopes=t.flatMap(r=>r==="*"?(this.allowAny=!0,[]):_a(r,Sa).map(o=>o.matcher)),this.unbalancedBracketScopes=n.flatMap(r=>_a(r,Sa).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 VA{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=So.set(o,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(i))}if(s&&(o=So.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 GA{_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,jA(t,i,n,r,o,s,this,await this._onigLibPromise))}return this._grammars.get(t)}}let WA=class{_options;_syncRegistry;_ensureGrammarCache;constructor(t){this._options=t,this._syncRegistry=new GA(qc.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(qc.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 UA(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}async _loadGrammar(t,n,r,o,s){const i=new gA(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=ln.NULL,ct={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 Cn{static toBinaryStr(t){let n=t.toString(2);for(;n.length<32;)n=`0${n}`;return n}static getLanguageId(t){return(t&ct.LANGUAGEID_MASK)>>>ct.LANGUAGEID_OFFSET}static getTokenType(t){return(t&ct.TOKEN_TYPE_MASK)>>>ct.TOKEN_TYPE_OFFSET}static getFontStyle(t){return(t&ct.FONT_STYLE_MASK)>>>ct.FONT_STYLE_OFFSET}static getForeground(t){return(t&ct.FOREGROUND_MASK)>>>ct.FOREGROUND_OFFSET}static getBackground(t){return(t&ct.BACKGROUND_MASK)>>>ct.BACKGROUND_OFFSET}static containsBalancedBrackets(t){return(t&ct.BALANCED_BRACKETS_MASK)!==0}static set(t,n,r,o,s,i){let a=Cn.getLanguageId(t),l=Cn.getTokenType(t),c=Cn.getFontStyle(t),u=Cn.getForeground(t),f=Cn.getBackground(t);const d=Cn.containsBalancedBrackets(t)?1:0;return n!==0&&(a=n),r!==0&&(l=r===8?0:r),o!==Jt.NotSet&&(c=o),s!==0&&(u=s),i!==0&&(f=i),(a<<ct.LANGUAGEID_OFFSET|l<<ct.TOKEN_TYPE_OFFSET|c<<ct.FONT_STYLE_OFFSET|d<<ct.BALANCED_BRACKETS_OFFSET|u<<ct.FOREGROUND_OFFSET|f<<ct.BACKGROUND_OFFSET)>>>0}}function ll(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 fv(e){return!e||["plaintext","txt","text","plain"].includes(e)}function qA(e){return e==="ansi"||fv(e)}function dv(e){return e==="none"}function YA(e){return dv(e)}function hv(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 XA(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 JA(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?XA(o,s):o})):e}function pv(e,t){return t?.[e?.toLowerCase()]||e}function mv(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&Jt.Italic&&(t["font-style"]="italic"),e.fontStyle&Jt.Bold&&(t["font-weight"]="bold"),e.fontStyle&Jt.Underline&&(t["text-decoration"]="underline")),t}function gv(e){return Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function ZA(e){const t=ll(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 Cr=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Vl={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function QA(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 Th(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 eT(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)Vl[o]&&t.push({type:"setDecoration",value:Vl[o]});else if(o<=29){const s=Vl[o-20];s&&t.push({type:"resetDecoration",value:s})}else if(o<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Cr[o-30]}});else if(o===38){const[s,i]=Th(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:Cr[o-40]}});else if(o===48){const[s,i]=Th(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:Cr[o-90+8]}}):o>=100&&o<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Cr[o-100+8]}})}return t}function tT(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let s=0;do{const i=QA(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=eT(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 nT={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 rT(e=nT){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<Cr.length;c++)r.push(t(Cr[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 oT(e,t,n){const r={...e.colorReplacements,...n?.colorReplacements},o=ll(t),s=rT(Object.fromEntries(Cr.map(a=>[a,e.colors?.[`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`]]))),i=tT();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=pv(c,r),l.decorations.has("dim")&&(c=sT(c));let f=Jt.None;return l.decorations.has("bold")&&(f|=Jt.Bold),l.decorations.has("italic")&&(f|=Jt.Italic),l.decorations.has("underline")&&(f|=Jt.Underline),{content:l.value,offset:a[1],color:c,bgColor:u,fontStyle:f}}))}function sT(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 df(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(fv(r)||dv(o))return ll(t).map(l=>[{content:l[0],offset:l[1]}]);const{theme:s,colorMap:i}=e.setTheme(o);if(r==="ansi")return oT(s,t,n);const a=e.getLanguage(r);return iT(t,a,s,i,n)}function iT(e,t,n,r,o){const s={...n.colorReplacements,...o?.colorReplacements},{tokenizeMaxLineLength:i=0,tokenizeTimeLimit:a=500}=o,l=ll(e);let c=KA,u=[];const f=[];for(let d=0,h=l.length;d<h;d++){const[p,m]=l[d];if(p===""){u=[],f.push([]);continue}if(i>0&&p.length>=i){u=[],f.push([{content:p,offset:m,color:"",fontStyle:0}]);continue}let g,v,_;o.includeExplanation&&(g=t.tokenizeLine(p,c),v=g.tokens,_=0);const y=t.tokenizeLine2(p,c,a),b=y.tokens.length/2;for(let E=0;E<b;E++){const A=y.tokens[2*E],O=E+1<b?y.tokens[2*E+2]:p.length;if(A===O)continue;const k=y.tokens[2*E+1],D=Cn.getForeground(k),P=pv(r[D],s),L=Cn.getFontStyle(k),C={content:p.substring(A,O),offset:m+A,color:P,fontStyle:L};if(o.includeExplanation){C.explanation=[];let S=0;for(;A+S<O;){const T=v[_],M=p.substring(T.startIndex,T.endIndex);S+=M.length,C.explanation.push({content:M,scopes:aT(n,T.scopes)}),_+=1}}u.push(C)}f.push(u),u=[],c=y.ruleStack}return f}function aT(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:cT(e,i,s)}}return n}function Rh(e,t){const n=`${e}.`;return e===t||t.substring(0,n.length)===n}function lT(e,t,n,r){if(!Rh(e,n))return!1;let o=t.length-1,s=r.length-1;for(;o>=0&&s>=0;)Rh(t[o],r[s])&&(o-=1),s-=1;return o===-1}function cT(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);lT(h,p,t,n)&&(r[o++]=a,c=u)}}return r}function vv(e,t,n){const r=Object.entries(n.themes).filter(i=>i[1]).map(i=>({color:i[0],theme:i[1]})),o=uT(...r.map(i=>df(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:m,...g}=f[a][c];u.variants[r[d].color]=g}),u}))}function uT(...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 yt extends Error{constructor(t){super(t),this.name="ShikiError"}}function xa(e,t,n){let r,o,s,i,a;if("themes"in n){const{defaultColor:l="light",cssVariablePrefix:c="--shiki-"}=n,u=Object.entries(n.themes).filter(p=>p[1]).map(p=>({color:p[0],theme:p[1]})).sort((p,m)=>p.color===l?-1:m.color===l?1:0);if(u.length===0)throw new yt("`themes` option must not be empty");const f=vv(e,t,n);if(l&&!u.find(p=>p.color===l))throw new yt(`\`themes\` option must contain the defaultColor key \`${l}\``);const d=u.map(p=>e.getTheme(p.theme)),h=u.map(p=>p.color);s=f.map(p=>p.map(m=>fT(m,h,c,l))),o=u.map((p,m)=>(m===0&&l?"":`${c+p.color}:`)+(d[m].fg||"inherit")).join(";"),r=u.map((p,m)=>(m===0&&l?"":`${c+p.color}-bg:`)+(d[m].bg||"inherit")).join(";"),i=`shiki-themes ${d.map(p=>p.name).join(" ")}`,a=l?void 0:[o,r].join(";")}else if("theme"in n){s=df(e,t,n);const l=e.getTheme(n.theme);r=l.bg,o=l.fg,i=l.name}else throw new yt("Invalid options, either `theme` or `themes` must be provided");return{tokens:s,fg:o,bg:r,themeName:i,rootStyle:a}}function fT(e,t,n,r){const o={content:e.content,explanation:e.explanation,offset:e.offset},s=t.map(l=>mv(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?gv(a):Object.values(a).join(";"),o}function dT(){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=ZA(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 yt(`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 yt(`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 JA(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 yt(`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 m=s[f];let g="",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&&(_=m.children.length),v===-1||_===-1)for(let E=0;E<m.children.length;E++)g+=y(m.children[E]),v===-1&&g.length===d&&(v=E+1),_===-1&&g.length===h&&(_=E+1);if(v===-1)throw new yt(`Failed to find start index for decoration ${JSON.stringify(p.start)}`);if(_===-1)throw new yt(`Failed to find end index for decoration ${JSON.stringify(p.end)}`);const b=m.children.slice(v,_);if(!p.alwaysWrap&&b.length===m.children.length)l(m,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"),m.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||{},m=d.transform||(g=>g);return f.tagName=d.tagName||"span",f.properties={...f.properties,...p,class:f.properties.class},d.properties?.class&&hv(f,d.properties.class),f=m(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 hT=[dT()];function Ca(e){return[...e.transformers||[],...hT]}function Aa(e,t,n,r={meta:{},options:n,codeToHast:(o,s)=>Aa(e,o,s),codeToTokens:(o,s)=>xa(e,o,s)}){let o=t;for(const d of Ca(n))o=d.preprocess?.call(r,o,n)||o;let{tokens:s,fg:i,bg:a,themeName:l,rootStyle:c}=xa(e,o,n);const{mergeWhitespaces:u=!0}=n;u===!0?s=mT(s):u==="never"&&(s=gT(s));const f={...r,get source(){return o}};for(const d of Ca(n))s=d.tokens?.call(f,s)||s;return pT(s,{...n,fg:i,bg:a,themeName:l,rootStyle:c},f)}function pT(e,t,n){const r=Ca(t),o=[],s={type:"root",children:[]};let i={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(([f])=>!f.startsWith("_")))},children:[]},a={type:"element",tagName:"code",properties:{},children:o};const l=[],c={...n,addClassToHast:hv,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return s},get pre(){return i},get code(){return a},get lines(){return l}};e.forEach((f,d)=>{d&&o.push({type:"text",value:`
|
|
32
|
-
`});let h={type:"element",tagName:"span",properties:{class:"line"},children:[]},p=0;for(const m of f){let g={type:"element",tagName:"span",properties:{},children:[{type:"text",value:m.content}]};const v=m.htmlStyle||gv(mv(m));v&&(g.properties.style=v);for(const _ of r)g=_?.span?.call(c,g,d+1,p,h)||g;h.children.push(g),p+=m.content.length}for(const m of r)h=m?.line?.call(c,h,d+1)||h;l.push(h),o.push(h)});for(const f of r)a=f?.code?.call(c,a)||a;i.children.push(a);for(const f of r)i=f?.pre?.call(c,i)||i;s.children.push(i);let u=s;for(const f of r)u=f?.root?.call(c,u)||u;return u}function mT(e){return e.map(t=>{const n=[];let r="",o=0;return t.forEach((s,i)=>{const l=!(s.fontStyle&&s.fontStyle&Jt.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 gT(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 vT=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class li{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}li.prototype.property={};li.prototype.normal={};li.prototype.space=null;function yv(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 li(n,r,t)}function Yc(e){return e.toLowerCase()}class Wt{constructor(t,n){this.property=t,this.attribute=n}}Wt.prototype.space=null;Wt.prototype.boolean=!1;Wt.prototype.booleanish=!1;Wt.prototype.overloadedBoolean=!1;Wt.prototype.number=!1;Wt.prototype.commaSeparated=!1;Wt.prototype.spaceSeparated=!1;Wt.prototype.commaOrSpaceSeparated=!1;Wt.prototype.mustUseProperty=!1;Wt.prototype.defined=!1;let yT=0;const Ee=Ur(),Je=Ur(),_v=Ur(),G=Ur(),Ue=Ur(),lo=Ur(),kt=Ur();function Ur(){return 2**++yT}var Xc=Object.freeze({__proto__:null,boolean:Ee,booleanish:Je,commaOrSpaceSeparated:kt,commaSeparated:lo,number:G,overloadedBoolean:_v,spaceSeparated:Ue});const Gl=Object.keys(Xc);class hf extends Wt{constructor(t,n,r,o){let s=-1;if(super(t,n),Ph(this,"space",o),typeof r=="number")for(;++s<Gl.length;){const i=Gl[s];Ph(this,Gl[s],(r&Xc[i])===Xc[i])}}}hf.prototype.defined=!0;function Ph(e,t,n){n&&(e[t]=n)}const _T={}.hasOwnProperty;function Io(e){const t={},n={};let r;for(r in e.properties)if(_T.call(e.properties,r)){const o=e.properties[r],s=new hf(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(s.mustUseProperty=!0),t[r]=s,n[Yc(r)]=r,n[Yc(s.attribute)]=r}return new li(t,n,e.space)}const bv=Io({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}}),wv=Io({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Ev(e,t){return t in e?e[t]:t}function Sv(e,t){return Ev(e,t.toLowerCase())}const xv=Io({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:Sv,properties:{xmlns:null,xmlnsXLink:null}}),Cv=Io({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:Ue,ariaCurrent:null,ariaDescribedBy:Ue,ariaDetails:null,ariaDisabled:Je,ariaDropEffect:Ue,ariaErrorMessage:null,ariaExpanded:Je,ariaFlowTo:Ue,ariaGrabbed:Je,ariaHasPopup:null,ariaHidden:Je,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Ue,ariaLevel:G,ariaLive:null,ariaModal:Je,ariaMultiLine:Je,ariaMultiSelectable:Je,ariaOrientation:null,ariaOwns:Ue,ariaPlaceholder:null,ariaPosInSet:G,ariaPressed:Je,ariaReadOnly:Je,ariaRelevant:null,ariaRequired:Je,ariaRoleDescription:Ue,ariaRowCount:G,ariaRowIndex:G,ariaRowSpan:G,ariaSelected:Je,ariaSetSize:G,ariaSort:null,ariaValueMax:G,ariaValueMin:G,ariaValueNow:G,ariaValueText:null,role:null}}),bT=Io({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:Sv,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:lo,acceptCharset:Ue,accessKey:Ue,action:null,allow:null,allowFullScreen:Ee,allowPaymentRequest:Ee,allowUserMedia:Ee,alt:null,as:null,async:Ee,autoCapitalize:null,autoComplete:Ue,autoFocus:Ee,autoPlay:Ee,blocking:Ue,capture:null,charSet:null,checked:Ee,cite:null,className:Ue,cols:G,colSpan:null,content:null,contentEditable:Je,controls:Ee,controlsList:Ue,coords:G|lo,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ee,defer:Ee,dir:null,dirName:null,disabled:Ee,download:_v,draggable:Je,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ee,formTarget:null,headers:Ue,height:G,hidden:Ee,high:G,href:null,hrefLang:null,htmlFor:Ue,httpEquiv:Ue,id:null,imageSizes:null,imageSrcSet:null,inert:Ee,inputMode:null,integrity:null,is:null,isMap:Ee,itemId:null,itemProp:Ue,itemRef:Ue,itemScope:Ee,itemType:Ue,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:Ue,placeholder:null,playsInline:Ee,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ee,referrerPolicy:null,rel:Ue,required:Ee,reversed:Ee,rows:G,rowSpan:G,sandbox:Ue,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:Ue,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}}),wT=Io({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:Ev,properties:{about:kt,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:Ue,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:lo,g2:lo,glyphName:lo,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:kt,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:Ue,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:G,pointsAtY:G,pointsAtZ:G,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:kt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:kt,rev:kt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:kt,requiredFeatures:kt,requiredFonts:kt,requiredFormats:kt,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:kt,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:kt,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:kt,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}}),ET=/^data[-\w.:]+$/i,$h=/-[a-z]/g,ST=/[A-Z]/g;function xT(e,t){const n=Yc(t);let r=t,o=Wt;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&ET.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace($h,AT);r="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!$h.test(s)){let i=s.replace(ST,CT);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}o=hf}return new o(r,t)}function CT(e){return"-"+e.toLowerCase()}function AT(e){return e.charAt(1).toUpperCase()}const TT=yv([wv,bv,xv,Cv,bT],"html"),Av=yv([wv,bv,xv,Cv,wT],"svg"),Oh={}.hasOwnProperty;function RT(e,t){const n=t||{};function r(o,...s){let i=r.invalid;const a=r.handlers;if(o&&Oh.call(o,e)){const l=String(o[e]);i=Oh.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 PT(e,t){if(e=e.replace(t.subset?$T(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 $T(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}function OT(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!/[\dA-Fa-f]/.test(String.fromCharCode(t))?r:r+";"}function kT(e,t,n){const r="&#"+String(e);return n&&t&&!/\d/.test(String.fromCharCode(t))?r:r+";"}const NT=["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"],Wl={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:"€"},IT=["cent","copy","divide","gt","lt","not","para","times"],Tv={}.hasOwnProperty,Jc={};let Oi;for(Oi in Wl)Tv.call(Wl,Oi)&&(Jc[Wl[Oi]]=Oi);function LT(e,t,n,r){const o=String.fromCharCode(e);if(Tv.call(Jc,o)){const s=Jc[o],i="&"+s;return n&&NT.includes(s)&&!IT.includes(s)&&(!r||t&&t!==61&&/[^\da-z]/i.test(String.fromCharCode(t)))?i:i+";"}return""}function DT(e,t,n){let r=OT(e,t,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=LT(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const s=kT(e,t,n.omitOptionalSemicolons);s.length<r.length&&(r=s)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function co(e,t){return PT(e,Object.assign({format:DT},t))}function MT(e,t,n,r){return r.settings.bogusComments?"<?"+co(e.value,Object.assign({},r.settings.characterReferences,{subset:[">"]}))+">":"<!--"+e.value.replace(/^>|^->|<!--|-->|--!>|<!-$/g,o)+"-->";function o(s){return co(s,Object.assign({},r.settings.characterReferences,{subset:["<",">"]}))}}function FT(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function kh(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 BT(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function jT(e){return e.join(" ").trim()}const zT=/[ \t\n\f\r]/g;function pf(e){return typeof e=="object"?e.type==="text"?Nh(e.value):!1:Nh(e)}function Nh(e){return e.replace(zT,"")===""}const ot=Pv(1),Rv=Pv(-1),HT=[];function Pv(e){return t;function t(n,r,o){const s=n?n.children:HT;let i=(r||0)+e,a=s[i];if(!o)for(;a&&pf(a);)i+=e,a=s[i];return a}}const UT={}.hasOwnProperty;function $v(e){return t;function t(n,r,o){return UT.call(e,n.tagName)&&e[n.tagName](n,r,o)}}const mf=$v({body:GT,caption:Kl,colgroup:Kl,dd:YT,dt:qT,head:Kl,html:VT,li:KT,optgroup:XT,option:JT,p:WT,rp:Ih,rt:Ih,tbody:QT,td:Lh,tfoot:eR,th:Lh,thead:ZT,tr:tR});function Kl(e,t,n){const r=ot(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&pf(r.value.charAt(0)))}function VT(e,t,n){const r=ot(n,t);return!r||r.type!=="comment"}function GT(e,t,n){const r=ot(n,t);return!r||r.type!=="comment"}function WT(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 KT(e,t,n){const r=ot(n,t);return!r||r.type==="element"&&r.tagName==="li"}function qT(e,t,n){const r=ot(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function YT(e,t,n){const r=ot(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function Ih(e,t,n){const r=ot(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function XT(e,t,n){const r=ot(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function JT(e,t,n){const r=ot(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function ZT(e,t,n){const r=ot(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function QT(e,t,n){const r=ot(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function eR(e,t,n){return!ot(n,t)}function tR(e,t,n){const r=ot(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function Lh(e,t,n){const r=ot(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const nR=$v({body:sR,colgroup:iR,head:oR,html:rR,tbody:aR});function rR(e){const t=ot(e,-1);return!t||t.type!=="comment"}function oR(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 sR(e){const t=ot(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&pf(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function iR(e,t,n){const r=Rv(n,t),o=ot(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&mf(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function aR(e,t,n){const r=Rv(n,t),o=ot(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&mf(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const ki={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 lR(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=Av);const c=cR(r,e.properties),u=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=o,u&&(i=!1),(c||!s||!nR(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||!mf(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}function cR(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const s=uR(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 uR(e,t,n){const r=xT(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=co(r.attribute,Object.assign({},e.settings.characterReferences,{subset:ki.name[o][s]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?BT:jT)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(a=co(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:ki.unquoted[o][s]}))),a!==n&&(e.settings.quoteSmart&&kh(n,i)>kh(n,e.alternative)&&(i=e.alternative),a=i+co(n,Object.assign({},e.settings.characterReferences,{subset:(i==="'"?ki.single:ki.double)[o][s],attribute:!0}))+i),l+(a&&"="+a))}function Ov(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:co(e.value,Object.assign({},r.settings.characterReferences,{subset:["<","&"]}))}function fR(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Ov(e,t,n,r)}function dR(e,t,n,r){return r.all(e)}const hR=RT("type",{invalid:pR,unknown:mR,handlers:{comment:MT,doctype:FT,element:lR,raw:fR,root:dR,text:Ov}});function pR(e){throw new Error("Expected node, not `"+e+"`")}function mR(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const gR={},vR={},yR=[];function _R(e,t){const n=t||gR,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:bR,all:wR,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||vT,characterReferences:n.characterReferences||vR,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Av:TT,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function bR(e,t,n){return hR(e,t,n,this)}function wR(e){const t=[],n=e&&e.children||yR;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function ER(e,t,n){const r={meta:{},options:n,codeToHast:(s,i)=>Aa(e,s,i),codeToTokens:(s,i)=>xa(e,s,i)};let o=_R(Aa(e,t,n,r));for(const s of Ca(n))o=s.postprocess?.call(r,o,n)||o;return o}async function SR(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 m=(g,v)=>g+(v-g%v)%v;for(let g=1;g<=4;g*=2){let v=h*(1+.2/g);v=Math.min(v,d+100663296);const _=Math.min(p,m(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 lt=null,xR=!1;function CR(e){throw new yt(e.UTF8ToString(e.getLastOnigError()))}class cl{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=cl._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 Mt{static LAST_ID=0;static _sharedPtr=0;static _sharedPtrInUse=!1;id=++Mt.LAST_ID;_onigBinding;content;utf16Length;utf8Length;utf16OffsetToUtf8;utf8OffsetToUtf16;ptr;constructor(t){if(!lt)throw new yt("Must invoke loadWasm first.");this._onigBinding=lt,this.content=t;const n=new cl(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Mt._sharedPtrInUse?(Mt._sharedPtr||(Mt._sharedPtr=lt.omalloc(1e4)),Mt._sharedPtrInUse=!0,lt.HEAPU8.set(n.utf8Value,Mt._sharedPtr),this.ptr=Mt._sharedPtr):this.ptr=n.createString(lt)}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===Mt._sharedPtr?Mt._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}}class AR{_onigBinding;_ptr;constructor(t){if(!lt)throw new yt("Must invoke loadWasm first.");const n=[],r=[];for(let a=0,l=t.length;a<l;a++){const c=new cl(t[a]);n[a]=c.createString(lt),r[a]=c.utf8Length}const o=lt.omalloc(4*t.length);lt.HEAPU32.set(n,o/4);const s=lt.omalloc(4*t.length);lt.HEAPU32.set(r,s/4);const i=lt.createOnigScanner(o,s,t.length);for(let a=0,l=t.length;a<l;a++)lt.ofree(n[a]);lt.ofree(s),lt.ofree(o),i===0&&CR(lt),this._onigBinding=lt,this._ptr=i}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let o=xR,s=0;if(typeof r=="number"?(r&8&&(o=!0),s=r):typeof r=="boolean"&&(o=r),typeof t=="string"){t=new Mt(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 TR(e){return typeof e.instantiator=="function"}function RR(e){return typeof e.default=="function"}function PR(e){return typeof e.data<"u"}function $R(e){return typeof Response<"u"&&e instanceof Response}function OR(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 Ni;function kR(e){if(Ni)return Ni;async function t(){lt=await SR(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),TR(r)?r=await r.instantiator(n):RR(r)?r=await r.default(n):(PR(r)&&(r=r.data),$R(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await IR(r)(n):r=await LR(r)(n):OR(r)&&(r=await NR(r)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Ni=t(),Ni}function NR(e){return t=>WebAssembly.instantiate(e,t)}function IR(e){return t=>WebAssembly.instantiateStreaming(e,t)}function LR(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}function DR(e){return new Mt(e)}function MR(e){return new AR(e)}const Dh={light:"#333333",dark:"#bbbbbb"},Mh={light:"#fffffe",dark:"#1e1e1e"},Fh="__shiki_resolved";function kv(e){if(e?.[Fh])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"?Dh.light:Dh.dark),n||(n=t.type==="light"?Mh.light:Mh.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,Fh,{enumerable:!1,writable:!1,value:!0}),t}class FR extends WA{_resolver;_themes;_langs;_resolvedThemes={};_resolvedGrammars={};_langMap={};_langGraph=new Map;alias={};constructor(t,n,r){super(t),this._resolver=t,this._themes=n,this._langs=r,n.forEach(o=>this.loadTheme(o)),r.forEach(o=>this.loadLanguage(o))}getTheme(t){return typeof t=="string"?this._resolvedThemes[t]:this.loadTheme(t)}loadTheme(t){const n=kv(t);return n.name&&(this._resolvedThemes[n.name]=n),n}getLoadedThemes(){return Object.keys(this._resolvedThemes)}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 yt(`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}),n.size)for(const s of n)delete this._resolvedGrammars[s.name],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 yt(`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 Object.keys({...this._resolvedGrammars,...this.alias})}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 BR{_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 jR;async function zR(e={}){async function t(g){return Promise.resolve(typeof g=="function"?g():g).then(v=>v.default||v)}async function n(g){return Array.from(new Set((await Promise.all(g.filter(v=>!qA(v)).map(async v=>await t(v).then(_=>Array.isArray(_)?_:[_])))).flat()))}const r=e.loadWasm||jR,[o,s]=await Promise.all([Promise.all((e.themes||[]).map(t)).then(g=>g.map(kv)),n(e.langs||[]),r?kR(r):void 0]),i=new BR(Promise.resolve({createOnigScanner(g){return MR(g)},createOnigString(g){return DR(g)}}),s),a=new FR(i,o,s);Object.assign(a.alias,e.langAlias),await a.init();let l;function c(g){const v=a.getGrammar(typeof g=="string"?g:g.name);if(!v)throw new yt(`Language \`${g}\` not found, you may need to load it first`);return v}function u(g){if(g==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};const v=a.getTheme(g);if(!v)throw new yt(`Theme \`${g}\` not found, you may need to load it first`);return v}function f(g){const v=u(g);l!==g&&(a.setTheme(v),l=g);const _=a.getColorMap();return{theme:v,colorMap:_}}function d(){return a.getLoadedThemes()}function h(){return a.getLoadedLanguages()}async function p(...g){await a.loadLanguages(await n(g))}async function m(...g){await Promise.all(g.map(async v=>YA(v)?null:a.loadTheme(await t(v))))}return{setTheme:f,getTheme:u,getLanguage:c,getLoadedThemes:d,getLoadedLanguages:h,loadLanguage:p,loadTheme:m}}async function HR(e={}){const t=await zR(e);return{codeToTokensBase:(n,r)=>df(t,n,r),codeToTokensWithThemes:(n,r)=>vv(t,n,r),codeToTokens:(n,r)=>xa(t,n,r),codeToHast:(n,r)=>Aa(t,n,r),codeToHtml:(n,r)=>ER(t,n,r),...t,getInternalContext:()=>t}}const Ii=en();let Bh=null;function UR(e,t="text"){!Bh&&!Ii.value&&(Bh=HR({themes:[ve(()=>import("./DggdVF2v.js"),__vite__mapDeps([]),import.meta.url),ve(()=>import("./A1WiD9SJ.js"),__vite__mapDeps([]),import.meta.url)],langs:[ve(()=>import("./CupVZNk8.js"),__vite__mapDeps([]),import.meta.url),ve(()=>import("./C5gCGmDW.js"),__vite__mapDeps([]),import.meta.url),ve(()=>import("./CbYhyuC0.js"),__vite__mapDeps([]),import.meta.url),ve(()=>import("./Dch3xQiY.js"),__vite__mapDeps([]),import.meta.url),ve(()=>import("./DC8MraHL.js"),__vite__mapDeps([]),import.meta.url),ve(()=>import("./Cd6DbZRp.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url),ve(()=>import("./DnNA5yXt.js"),__vite__mapDeps([7,0,1,2,3,4,5,6]),import.meta.url),ve(()=>import("./CbViG2Xw.js"),__vite__mapDeps([1,2,3]),import.meta.url),ve(()=>import("./DvyTQcux.js"),__vite__mapDeps([]),import.meta.url),ve(()=>import("./D4k753MY.js"),__vite__mapDeps([]),import.meta.url)],loadWasm:ve(()=>import("./CsTmP73Z.js"),__vite__mapDeps([]),import.meta.url)}).then(r=>{Ii.value=r}));const n=Ii.value?.getLoadedLanguages().includes(t);return n?{code:Ii.value.codeToHtml(e,{lang:t,themes:{dark:"vitesse-dark",light:"vitesse-light"}}),supported:!0}:{code:e,supported:n}}const VR=6e4;function Nv(e){return e}const GR=Nv,{clearTimeout:WR,setTimeout:KR}=globalThis,qR=Math.random.bind(Math);function YR(e,t){const{post:n,on:r,eventNames:o=[],serialize:s=Nv,deserialize:i=GR,resolver:a,timeout:l=VR}=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=(...g)=>{n(s({m:h,a:g,t:"q"}))};if(o.includes(h))return p.asEvent=p,p;const m=async(...g)=>(await u,new Promise((v,_)=>{const y=JR();let b;l>=0&&(b=KR(()=>{try{throw t.onTimeoutError?.(h,g),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:g,i:y,t:"q"}))}));return m.asEvent=p,m}});return u=r(async(d,...h)=>{const p=i(d);if(p.t==="q"){const{m,a:g}=p;let v,_;const y=a?a(m,e[m]):e[m];if(!y)_=new Error(`[birpc] function "${m}" not found`);else try{v=await y.apply(f,g)}catch(b){_=b}p.i&&(_&&t.onError&&t.onError(_,m,g),n(s({t:"s",i:p.i,r:v,e:_}),...h))}else{const{i:m,r:g,e:v}=p,_=c.get(m);_&&(WR(_.timeoutId),v?_.reject(v):_.resolve(g)),c.delete(m)}}),f}const XR="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function JR(e=21){let t="",n=e;for(;n--;)t+=XR[qR()*64|0];return t}const{parse:ZR,stringify:QR}=JSON,{keys:e2}=Object,qs=String,Iv="string",jh={},Ta="object",Lv=(e,t)=>t,t2=e=>e instanceof qs?qs(e):e,n2=(e,t)=>typeof t===Iv?new qs(t):t,Dv=(e,t,n,r)=>{const o=[];for(let s=e2(n),{length:i}=s,a=0;a<i;a++){const l=s[a],c=n[l];if(c instanceof qs){const u=e[c];typeof u===Ta&&!t.has(u)?(t.add(u),n[l]=jh,o.push({k:l,a:[e,t,u,r]})):n[l]=r.call(n,l,u)}else n[l]!==jh&&(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,Dv.apply(null,l))}return n},zh=(e,t,n)=>{const r=qs(t.push(n)-1);return e.set(n,r),r},r2=(e,t)=>{const n=ZR(e,n2).map(t2),r=n[0],o=t||Lv,s=typeof r===Ta&&r?Dv(n,new Set,r,o):r;return o.call({"":s},"",s)},o2=(e,t,n)=>{const r=t&&typeof t===Ta?(u,f)=>u===""||-1<t.indexOf(u)?f:void 0:t||Lv,o=new Map,s=[],i=[];let a=+zh(o,s,r.call({"":e},"",e)),l=!a;for(;a<s.length;)l=!0,i[a]=QR(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 Ta:if(d===null)return d;case Iv:return o.get(d)||zh(o,s,d)}return d}};async function s2(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 ve(()=>import(n),__vite__mapDeps([]),import.meta.url)}catch{t&&console.error(`[vite-hot-client] Failed to import "${e}@vite/client"`)}}function i2(e=window.location.pathname){return e.split("/").map((t,n,r)=>r.slice(0,n+1).join("/")||"/")}async function a2(e="/___",t){t=t??i2();for(const n of t){const o=(await s2(n,!1))?.createHotContext(e);if(o)return o}console.error("[vite-hot-client] Failed to import vite client, tried with:",t)}const Mv="nuxt:devtools:rpc",Jr=U(!1),l3=U(),l2=PC(Jr,2e3),c2=u2();let Fv=()=>{};const Bv={},jv=new Map,we=YR(Bv,{post:async e=>{(await c2).send(Mv,e)},on:e=>{Fv=e},serialize:o2,deserialize:r2,resolver(e,t){if(t)return t;if(!e.includes(":"))return;const[n,r]=e.split(":");return jv.get(n)?.[r]},onError(e,t){console.error(`[nuxt-devtools] RPC error on executing "${t}":`,e)},timeout:12e4});async function u2(){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 a2(void 0,Array.from(new Set([`${e}${t}/`,`${e}_nuxt/`,e,`${n}${t}/`,`${n}_nuxt/`,n])));if(!r)throw Jr.value=!0,new Error("Unable to connect to devtools");return r.on(Mv,o=>{Jr.value=!1,Fv(o)}),Jr.value=!0,r.on("vite:ws:connect",()=>{Jr.value=!1}),r.on("vite:ws:disconnect",()=>{Jr.value=!0}),r}function ft(){return $o("devtools-client")}function c3(){const e=ft();return se(()=>e.value?.nuxt.vueApp.config.globalProperties?.$route)}function zv(){const e=ft();return se(()=>e.value?.nuxt.vueApp.config.globalProperties?.$router)}function u3(){const e=ft();return se(()=>e.value?.nuxt.vueApp.config.globalProperties?.$head)}function f2(){return $o("devtools-component-inspector-data")}const Hv=U(!1);setTimeout(()=>{Hv.value=!0},2e3);const d2=se(()=>Hv.value&&!ft().value);function h2(){const e=ft(),t=Z0();return se(()=>({host:e.value,devtools:{rpc:we,colorMode:t.value,renderCodeHighlight(n,r){return UR(n,r)},renderMarkdown(n){return cA(n)},extendClientRpc(n,r){return jv.set(n,r),new Proxy({},{get(o,s){if(typeof s=="string")return we[`${n}:${s}`]}})}}}))}const p2=/^[A-Za-z]:\//;function m2(e=""){return e&&e.replace(/\\/g,"/").replace(p2,t=>t.toUpperCase())}const g2=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,Hh=/^\/([A-Za-z]:)?$/;function v2(){return typeof process<"u"&&typeof process.cwd=="function"?process.cwd().replace(/\\/g,"/"):"/"}const Uh=function(...e){e=e.map(r=>m2(r));let t="",n=!1;for(let r=e.length-1;r>=-1&&!n;r--){const o=r>=0?e[r]:v2();!o||o.length===0||(t=`${o}/${t}`,n=Vh(o))}return t=y2(t,!n),n&&!Vh(t)?`/${t}`:t.length>0?t:"."};function y2(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 Vh=function(e){return g2.test(e)},_2=function(e,t){const n=Uh(e).replace(Hh,"$1").split("/"),r=Uh(t).replace(Hh,"$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 f3(e){return!!e.match(/[/\\]node_modules[/\\]/)||gf(e)}function gf(e){return e[0]==="#"||!!e.match(/^(@[a-z0-9-~][a-z0-9-._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/)}function b2(e){if(gf(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 w2(e){const t=e.match(/.*\/node_modules\/(.*)$/)?.[1];if(t)return t}function d3(e){if(e)return["nuxt","#app","#head","vue"].includes(e)}function h3(e,t){if(e=e.replace(/\\/g,"/"),gf(e))return{moduleName:e,path:e};const n=b2(e),r=w2(e);if(n&&r)return{moduleName:n,path:r};try{let o=_2(t,e);return!o.startsWith("./")&&!o.startsWith("../")&&(o=`./${o}`),o.startsWith("./.nuxt/")&&(o=`#build${o.slice(7)}`),{path:o}}catch{return{path:e}}}function mt(e,t,n){const r=Ne(),o=r.payload.unique=r.payload.unique||{};return o[e]||(o[e]=z0(e,t,n)),o[e].data}function p3(){return typeof navigator<"u"&&navigator.platform.toLowerCase().includes("mac")}const Gh={get:"n-green",post:"n-blue",put:"n-orange",delete:"n-red",patch:"n-purple",head:"n-teal",default:"n-gray"};function m3(e){return Gh[e.toLowerCase()]||Gh.default}function g3(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 v3(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 y3(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 ci(e,t){return $o(e,()=>nA(e,t,{listenToStorageChanges:!1}))}function _3(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 b3(e,t,n=`${t}s`){return`${e} ${e<=1?t:n}`}function Uv(){const e=ft(),t=Ne();t.hooks.callHookParallel("app:data:refresh",Object.keys(t.payload.data)),eg(e)}function Vv(){location.reload()}let Gv;function vf(e){Gv?.(e)}function E2(e){Gv=e}const w3=lf(),Wv=lf();function S2(){return $o("devtools:restart-dialogs",()=>[])}var x2=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function C2(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function E3(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 Zc={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",m="vendor",g="version",v="architecture",_="console",y="mobile",b="tablet",E="smarttv",A="wearable",O="embedded",k=500,D="Amazon",P="Apple",L="ASUS",C="BlackBerry",S="Browser",T="Chrome",M="Edge",R="Firefox",$="Google",I="Huawei",J="LG",ae="Microsoft",ie="Motorola",le="Opera",Se="Samsung",Ce="Sharp",qe="Sony",Ge="Xiaomi",B="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},Fe=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)},F=function(W,ne){for(var Q=0,pe,Oe,Be,be,me,$t;Q<ne.length&&!me;){var _n=ne[Q],Fo=ne[Q+1];for(pe=Oe=0;pe<_n.length&&!me&&_n[pe];)if(me=_n[pe++].exec(W),me)for(Be=0;Be<Fo.length;Be++)$t=me[++Oe],be=Fo[Be],typeof be===c&&be.length>0?be.length===2?typeof be[1]==a?this[be[0]]=be[1].call(this,$t):this[be[0]]=be[1]:be.length===3?typeof be[1]===a&&!(be[1].exec&&be[1].test)?this[be[0]]=$t?be[1].call(this,$t,be[2]):r:this[be[0]]=$t?$t.replace(be[1],be[2]):r:be.length===4&&(this[be[0]]=$t?be[3].call(this,$t.replace(be[1],be[2])):r):this[be]=$t||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],[g,[h,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[g,[h,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[h,g],[/opios[\/ ]+([\w\.]+)/i],[g,[h,le+" Mini"]],[/\bopr\/([\w\.]+)/i],[g,[h,le]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[g,[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,g],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[g,[h,"UC"+S]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[g,[h,"WeChat"]],[/konqueror\/([\w\.]+)/i],[g,[h,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[g,[h,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[g,[h,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[g,[h,"Smart Lenovo "+S]],[/(avast|avg)\/([\w\.]+)/i],[[h,/(.+)/,"$1 Secure "+S],g],[/\bfocus\/([\w\.]+)/i],[g,[h,R+" Focus"]],[/\bopt\/([\w\.]+)/i],[g,[h,le+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[g,[h,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[g,[h,"Dolphin"]],[/coast\/([\w\.]+)/i],[g,[h,le+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[g,[h,"MIUI "+S]],[/fxios\/([-\w\.]+)/i],[g,[h,R]],[/\bqihu|(qi?ho?o?|360)browser/i],[[h,"360 "+S]],[/(oculus|sailfish|huawei|vivo)browser\/([\w\.]+)/i],[[h,/(.+)/,"$1 "+S],g],[/samsungbrowser\/([\w\.]+)/i],[g,[h,Se+" Internet"]],[/(comodo_dragon)\/([\w\.]+)/i],[[h,/_/g," "],g],[/metasr[\/ ]?([\d\.]+)/i],[g,[h,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[h,"Sogou Mobile"],g],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345Explorer)[\/ ]?([\w\.]+)/i],[h,g],[/(lbbrowser)/i,/\[(linkedin)app\]/i],[h],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[h,oe],g],[/(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,g],[/\bgsa\/([\w\.]+) .*safari\//i],[g,[h,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[g,[h,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[g,[h,T+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[h,T+" WebView"],g],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[g,[h,"Android "+S]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[h,g],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[g,[h,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[g,h],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[h,[g,X,te]],[/(webkit|khtml)\/([\w\.]+)/i],[h,g],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[h,"Netscape"],g],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[g,[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,g],[/(cobalt)\/([\w\.]+)/i],[h,[g,/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,[m,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,[m,Se],[p,y]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[d,[m,P],[p,y]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[d,[m,P],[p,b]],[/(macintosh);/i],[d,[m,P]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[d,[m,Ce],[p,y]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[d,[m,I],[p,b]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[d,[m,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," "],[m,Ge],[p,y]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[d,/_/g," "],[m,Ge],[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,[m,"OPPO"],[p,y]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[d,[m,"Vivo"],[p,y]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[d,[m,"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,[m,ie],[p,y]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[d,[m,ie],[p,b]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[d,[m,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,[m,J],[p,y]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[d,[m,"Lenovo"],[p,b]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[d,/_/g," "],[m,"Nokia"],[p,y]],[/(pixel c)\b/i],[d,[m,$],[p,b]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[d,[m,$],[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,[m,qe],[p,y]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[d,"Xperia Tablet"],[m,qe],[p,b]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[d,[m,"OnePlus"],[p,y]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo[c-r]{2})( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[d,[m,D],[p,b]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[d,/(.+)/g,"Fire Phone $1"],[m,D],[p,y]],[/(playbook);[-\w\),; ]+(rim)/i],[d,m,[p,b]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[d,[m,C],[p,y]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[d,[m,L],[p,b]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[d,[m,L],[p,y]],[/(nexus 9)/i],[d,[m,"HTC"],[p,b]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[m,[d,/_/g," "],[p,y]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[d,[m,"Acer"],[p,b]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[d,[m,"Meizu"],[p,y]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[d,[m,"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],[m,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],[m,d,[p,b]],[/(surface duo)/i],[d,[m,ae],[p,b]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[d,[m,"Fairphone"],[p,y]],[/(u304aa)/i],[d,[m,"AT&T"],[p,y]],[/\bsie-(\w*)/i],[d,[m,"Siemens"],[p,y]],[/\b(rct\w+) b/i],[d,[m,"RCA"],[p,b]],[/\b(venue[\d ]{2,7}) b/i],[d,[m,"Dell"],[p,b]],[/\b(q(?:mv|ta)\w+) b/i],[d,[m,"Verizon"],[p,b]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[d,[m,"Barnes & Noble"],[p,b]],[/\b(tm\d{3}\w+) b/i],[d,[m,"NuVision"],[p,b]],[/\b(k88) b/i],[d,[m,"ZTE"],[p,b]],[/\b(nx\d{3}j) b/i],[d,[m,"ZTE"],[p,y]],[/\b(gen\d{3}) b.+49h/i],[d,[m,"Swiss"],[p,y]],[/\b(zur\d{3}) b/i],[d,[m,"Swiss"],[p,b]],[/\b((zeki)?tb.*\b) b/i],[d,[m,"Zeki"],[p,b]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[m,"Dragon Touch"],d,[p,b]],[/\b(ns-?\w{0,9}) b/i],[d,[m,"Insignia"],[p,b]],[/\b((nxa|next)-?\w{0,9}) b/i],[d,[m,"NextBook"],[p,b]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[m,"Voice"],d,[p,y]],[/\b(lvtel\-)?(v1[12]) b/i],[[m,"LvTel"],d,[p,y]],[/\b(ph-1) /i],[d,[m,"Essential"],[p,y]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[d,[m,"Envizen"],[p,b]],[/\b(trio[-\w\. ]+) b/i],[d,[m,"MachSpeed"],[p,b]],[/\btu_(1491) b/i],[d,[m,"Rotor"],[p,b]],[/(shield[\w ]+) b/i],[d,[m,"Nvidia"],[p,b]],[/(sprint) (\w+)/i],[m,d,[p,y]],[/(kin\.[onetw]{3})/i],[[d,/\./g," "],[m,ae],[p,y]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[d,[m,B],[p,b]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[d,[m,B],[p,y]],[/smart-tv.+(samsung)/i],[m,[p,E]],[/hbbtv.+maple;(\d+)/i],[[d,/^/,"SmartTV"],[m,Se],[p,E]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[m,J],[p,E]],[/(apple) ?tv/i],[m,[d,P+" TV"],[p,E]],[/crkey/i],[[d,T+"cast"],[m,$],[p,E]],[/droid.+aft(\w+)( bui|\))/i],[d,[m,D],[p,E]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[d,[m,Ce],[p,E]],[/(bravia[\w ]+)( bui|\))/i],[d,[m,qe],[p,E]],[/(mitv-\w{5}) bui/i],[d,[m,Ge],[p,E]],[/Hbbtv.*(technisat) (.*);/i],[m,d,[p,E]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[m,z],[d,z],[p,E]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[p,E]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[m,d,[p,_]],[/droid.+; (shield) bui/i],[d,[m,"Nvidia"],[p,_]],[/(playstation [345portablevi]+)/i],[d,[m,qe],[p,_]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[d,[m,ae],[p,_]],[/((pebble))app/i],[m,d,[p,A]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[d,[m,P],[p,A]],[/droid.+; (glass) \d/i],[d,[m,$],[p,A]],[/droid.+; (wt63?0{2,3})\)/i],[d,[m,B],[p,A]],[/(quest( 2| pro)?)/i],[d,[m,oe],[p,A]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[m,[p,O]],[/(aeobc)\b/i],[d,[m,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,[m,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[g,[h,M+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[g,[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,g],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[g,h]],os:[[/microsoft (windows) (vista|xp)/i],[h,g],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[h,[g,X,q]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[g,X,q],[h,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[g,/_/g,"."],[h,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[h,ce],[g,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[g,h],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[h,g],[/\(bb(10);/i],[g,[h,C]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[g,[h,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[g,[h,R+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[g,[h,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[g,[h,"watchOS"]],[/crkey\/([\d\.]+)/i],[g,[h,T+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[h,ee],g],[/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,g],[/(sunos) ?([\w\.\d]*)/i],[[h,"Solaris"],g],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[h,g]]},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),Oe=Q&&Q.userAgentData?Q.userAgentData:r,Be=ne?Ie(Z,ne):Z,be=Q&&Q.userAgent==pe;return this.getBrowser=function(){var me={};return me[h]=r,me[g]=r,F.call(me,pe,Be.browser),me[f]=N(me[g]),be&&Q&&Q.brave&&typeof Q.brave.isBrave==a&&(me[h]="Brave"),me},this.getCPU=function(){var me={};return me[v]=r,F.call(me,pe,Be.cpu),me},this.getDevice=function(){var me={};return me[m]=r,me[d]=r,me[p]=r,F.call(me,pe,Be.device),be&&!me[p]&&Oe&&Oe.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[g]=r,F.call(me,pe,Be.engine),me},this.getOS=function(){var me={};return me[h]=r,me[g]=r,F.call(me,pe,Be.os),be&&!me[h]&&Oe&&Oe.platform!="Unknown"&&(me[h]=Oe.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=Fe([h,g,f]),H.CPU=Fe([v]),H.DEVICE=Fe([d,m,p,_,y,E,b,A,O]),H.ENGINE=H.OS=Fe([h,g]),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:x2)})(Zc,Zc.exports);var A2=Zc.exports;const _t=U(localStorage.getItem("__nuxt_dev_token__")),Tt=U(!1),Kv=new BroadcastChannel("__nuxt_dev_token__");Kv.addEventListener("message",e=>{if(e.data.event==="new-token"){if(e.data.data===_t.value)return;const t=e.data.data;we.verifyAuthToken(t).then(n=>{_t.value=n?t:null,Tt.value=n})}});function T2(e){_t.value=e,Tt.value=!0,localStorage.setItem("__nuxt_dev_token__",e),Kv.postMessage({event:"new-token",data:e})}async function Qc(){if(Tt.value)return _t.value;if(_t.value||await Wh(),Tt.value=await we.verifyAuthToken(_t.value),!Tt.value)throw _t.value=null,vf({message:"Invalid auth token, action canceled",icon:"i-carbon-warning-alt",classes:"text-red"}),await Wh(),new Error("Invalid auth token");return _t.value}const fn=new A2.UAParser(navigator.userAgent).getResult();async function qv(){const e=[fn.browser.name,fn.browser.version,"|",fn.os.name,fn.os.version,fn.device.type].filter(t=>t).join(" ");return await we.requestForAuth(e,window.location.origin)}async function Wh(){if(_t.value||qv(),await Promise.race([Wv.start(),OC(_t.value).toBeTruthy()])===!1)throw vf({message:"Action canceled",icon:"carbon-close",classes:"text-orange"}),new Error("User canceled auth")}var eu={exports:{}};const R2="2.0.0",Yv=256,P2=Number.MAX_SAFE_INTEGER||9007199254740991,$2=16,O2=Yv-6,k2=["major","premajor","minor","preminor","patch","prepatch","prerelease"];var ul={MAX_LENGTH:Yv,MAX_SAFE_COMPONENT_LENGTH:$2,MAX_SAFE_BUILD_LENGTH:O2,MAX_SAFE_INTEGER:P2,RELEASE_TYPES:k2,SEMVER_SPEC_VERSION:R2,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2},ql={};const N2=typeof process=="object"&&ql&&ql.NODE_DEBUG&&/\bsemver\b/i.test(ql.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};var fl=N2;(function(e,t){const{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:o}=ul,s=fl;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=m=>{for(const[g,v]of d)m=m.split(`${g}*`).join(`${g}{0,${v}}`).split(`${g}+`).join(`${g}{1,${v}}`);return m},p=(m,g,v)=>{const _=h(g),y=u++;s(m,y,g),c[m]=y,l[y]=g,i[y]=new RegExp(g,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*$")})(eu,eu.exports);var ui=eu.exports;const I2=Object.freeze({loose:!0}),L2=Object.freeze({}),D2=e=>e?typeof e!="object"?I2:e:L2;var yf=D2;const Kh=/^[0-9]+$/,Xv=(e,t)=>{const n=Kh.test(e),r=Kh.test(t);return n&&r&&(e=+e,t=+t),e===t?0:n&&!r?-1:r&&!n?1:e<t?-1:1},M2=(e,t)=>Xv(t,e);var Jv={compareIdentifiers:Xv,rcompareIdentifiers:M2};const Li=fl,{MAX_LENGTH:qh,MAX_SAFE_INTEGER:Di}=ul,{safeRe:Yh,t:Xh}=ui,F2=yf,{compareIdentifiers:Kr}=Jv;let B2=class sn{constructor(t,n){if(n=F2(n),t instanceof sn){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>qh)throw new TypeError(`version is longer than ${qh} characters`);Li("SemVer",t,n),this.options=n,this.loose=!!n.loose,this.includePrerelease=!!n.includePrerelease;const r=t.trim().match(n.loose?Yh[Xh.LOOSE]:Yh[Xh.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>Di||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Di||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Di||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<Di)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(Li("SemVer.compare",this.version,this.options,t),!(t instanceof sn)){if(typeof t=="string"&&t===this.version)return 0;t=new sn(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof sn||(t=new sn(t,this.options)),Kr(this.major,t.major)||Kr(this.minor,t.minor)||Kr(this.patch,t.patch)}comparePre(t){if(t instanceof sn||(t=new sn(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(Li("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 Kr(r,o)}while(++n)}compareBuild(t){t instanceof sn||(t=new sn(t,this.options));let n=0;do{const r=this.build[n],o=t.build[n];if(Li("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 Kr(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]),Kr(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 Ct=B2;const Jh=Ct,j2=(e,t,n=!1)=>{if(e instanceof Jh)return e;try{return new Jh(e,t)}catch(r){if(!n)return null;throw r}};var Lo=j2;const z2=Lo,H2=(e,t)=>{const n=z2(e,t);return n?n.version:null};var U2=H2;const V2=Lo,G2=(e,t)=>{const n=V2(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null};var W2=G2;const Zh=Ct,K2=(e,t,n,r,o)=>{typeof n=="string"&&(o=r,r=n,n=void 0);try{return new Zh(e instanceof Zh?e.version:e,n).inc(t,r,o).version}catch{return null}};var q2=K2;const Qh=Lo,Y2=(e,t)=>{const n=Qh(e,null,!0),r=Qh(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 X2=Y2;const J2=Ct,Z2=(e,t)=>new J2(e,t).major;var Q2=Z2;const eP=Ct,tP=(e,t)=>new eP(e,t).minor;var nP=tP;const rP=Ct,oP=(e,t)=>new rP(e,t).patch;var sP=oP;const iP=Lo,aP=(e,t)=>{const n=iP(e,t);return n&&n.prerelease.length?n.prerelease:null};var lP=aP;const ep=Ct,cP=(e,t,n)=>new ep(e,n).compare(new ep(t,n));var nn=cP;const uP=nn,fP=(e,t,n)=>uP(t,e,n);var dP=fP;const hP=nn,pP=(e,t)=>hP(e,t,!0);var mP=pP;const tp=Ct,gP=(e,t,n)=>{const r=new tp(e,n),o=new tp(t,n);return r.compare(o)||r.compareBuild(o)};var _f=gP;const vP=_f,yP=(e,t)=>e.sort((n,r)=>vP(n,r,t));var _P=yP;const bP=_f,wP=(e,t)=>e.sort((n,r)=>bP(r,n,t));var EP=wP;const SP=nn,xP=(e,t,n)=>SP(e,t,n)>0;var dl=xP;const CP=nn,AP=(e,t,n)=>CP(e,t,n)<0;var bf=AP;const TP=nn,RP=(e,t,n)=>TP(e,t,n)===0;var Zv=RP;const PP=nn,$P=(e,t,n)=>PP(e,t,n)!==0;var Qv=$P;const OP=nn,kP=(e,t,n)=>OP(e,t,n)>=0;var wf=kP;const NP=nn,IP=(e,t,n)=>NP(e,t,n)<=0;var Ef=IP;const LP=Zv,DP=Qv,MP=dl,FP=wf,BP=bf,jP=Ef,zP=(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 LP(e,n,r);case"!=":return DP(e,n,r);case">":return MP(e,n,r);case">=":return FP(e,n,r);case"<":return BP(e,n,r);case"<=":return jP(e,n,r);default:throw new TypeError(`Invalid operator: ${t}`)}};var ey=zP;const HP=Ct,UP=Lo,{safeRe:Mi,t:Fi}=ui,VP=(e,t)=>{if(e instanceof HP)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?Mi[Fi.COERCEFULL]:Mi[Fi.COERCE]);else{const l=t.includePrerelease?Mi[Fi.COERCERTLFULL]:Mi[Fi.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 UP(`${r}.${o}.${s}${i}${a}`,t)};var GP=VP,Yl,np;function WP(){return np||(np=1,Yl=function(e){e.prototype[Symbol.iterator]=function*(){for(let t=this.head;t;t=t.next)yield t.value}}),Yl}var KP=Me;Me.Node=Mr;Me.create=Me;function Me(e){var t=this;if(t instanceof Me||(t=new Me),t.tail=null,t.head=null,t.length=0,e&&typeof e.forEach=="function")e.forEach(function(o){t.push(o)});else if(arguments.length>0)for(var n=0,r=arguments.length;n<r;n++)t.push(arguments[n]);return t}Me.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var t=e.next,n=e.prev;return t&&(t.prev=n),n&&(n.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=n),e.list.length--,e.next=null,e.prev=null,e.list=null,t};Me.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}};Me.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}};Me.prototype.push=function(){for(var e=0,t=arguments.length;e<t;e++)YP(this,arguments[e]);return this.length};Me.prototype.unshift=function(){for(var e=0,t=arguments.length;e<t;e++)XP(this,arguments[e]);return this.length};Me.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}};Me.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}};Me.prototype.forEach=function(e,t){t=t||this;for(var n=this.head,r=0;n!==null;r++)e.call(t,n.value,r,this),n=n.next};Me.prototype.forEachReverse=function(e,t){t=t||this;for(var n=this.tail,r=this.length-1;n!==null;r--)e.call(t,n.value,r,this),n=n.prev};Me.prototype.get=function(e){for(var t=0,n=this.head;n!==null&&t<e;t++)n=n.next;if(t===e&&n!==null)return n.value};Me.prototype.getReverse=function(e){for(var t=0,n=this.tail;n!==null&&t<e;t++)n=n.prev;if(t===e&&n!==null)return n.value};Me.prototype.map=function(e,t){t=t||this;for(var n=new Me,r=this.head;r!==null;)n.push(e.call(t,r.value,this)),r=r.next;return n};Me.prototype.mapReverse=function(e,t){t=t||this;for(var n=new Me,r=this.tail;r!==null;)n.push(e.call(t,r.value,this)),r=r.prev;return n};Me.prototype.reduce=function(e,t){var n,r=this.head;if(arguments.length>1)n=t;else if(this.head)r=this.head.next,n=this.head.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=0;r!==null;o++)n=e(n,r.value,o),r=r.next;return n};Me.prototype.reduceReverse=function(e,t){var n,r=this.tail;if(arguments.length>1)n=t;else if(this.tail)r=this.tail.prev,n=this.tail.value;else throw new TypeError("Reduce of empty list with no initial value");for(var o=this.length-1;r!==null;o--)n=e(n,r.value,o),r=r.prev;return n};Me.prototype.toArray=function(){for(var e=new Array(this.length),t=0,n=this.head;n!==null;t++)e[t]=n.value,n=n.next;return e};Me.prototype.toArrayReverse=function(){for(var e=new Array(this.length),t=0,n=this.tail;n!==null;t++)e[t]=n.value,n=n.prev;return e};Me.prototype.slice=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new Me;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=0,o=this.head;o!==null&&r<e;r++)o=o.next;for(;o!==null&&r<t;r++,o=o.next)n.push(o.value);return n};Me.prototype.sliceReverse=function(e,t){t=t||this.length,t<0&&(t+=this.length),e=e||0,e<0&&(e+=this.length);var n=new Me;if(t<e||t<0)return n;e<0&&(e=0),t>this.length&&(t=this.length);for(var r=this.length,o=this.tail;o!==null&&r>t;r--)o=o.prev;for(;o!==null&&r>e;r--,o=o.prev)n.push(o.value);return n};Me.prototype.splice=function(e,t,...n){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var r=0,o=this.head;o!==null&&r<e;r++)o=o.next;for(var s=[],r=0;o&&r<t;r++)s.push(o.value),o=this.removeNode(o);o===null&&(o=this.tail),o!==this.head&&o!==this.tail&&(o=o.prev);for(var r=0;r<n.length;r++)o=qP(this,o,n[r]);return s};Me.prototype.reverse=function(){for(var e=this.head,t=this.tail,n=e;n!==null;n=n.prev){var r=n.prev;n.prev=n.next,n.next=r}return this.head=t,this.tail=e,this};function qP(e,t,n){var r=t===e.head?new Mr(n,null,t,e):new Mr(n,t,t.next,e);return r.next===null&&(e.tail=r),r.prev===null&&(e.head=r),e.length++,r}function YP(e,t){e.tail=new Mr(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function XP(e,t){e.head=new Mr(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function Mr(e,t,n,r){if(!(this instanceof Mr))return new Mr(e,t,n,r);this.list=r,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,n?(n.prev=this,this.next=n):this.next=null}try{WP()(Me)}catch{}const JP=KP,wr=Symbol("max"),An=Symbol("length"),qr=Symbol("lengthCalculator"),Ts=Symbol("allowStale"),Ar=Symbol("maxAge"),xn=Symbol("dispose"),rp=Symbol("noDisposeOnSet"),at=Symbol("lruList"),Kt=Symbol("cache"),ty=Symbol("updateAgeOnGet"),Xl=()=>1;class ZP{constructor(t){if(typeof t=="number"&&(t={max:t}),t||(t={}),t.max&&(typeof t.max!="number"||t.max<0))throw new TypeError("max must be a non-negative number");this[wr]=t.max||1/0;const n=t.length||Xl;if(this[qr]=typeof n!="function"?Xl:n,this[Ts]=t.stale||!1,t.maxAge&&typeof t.maxAge!="number")throw new TypeError("maxAge must be a number");this[Ar]=t.maxAge||0,this[xn]=t.dispose,this[rp]=t.noDisposeOnSet||!1,this[ty]=t.updateAgeOnGet||!1,this.reset()}set max(t){if(typeof t!="number"||t<0)throw new TypeError("max must be a non-negative number");this[wr]=t||1/0,Vo(this)}get max(){return this[wr]}set allowStale(t){this[Ts]=!!t}get allowStale(){return this[Ts]}set maxAge(t){if(typeof t!="number")throw new TypeError("maxAge must be a non-negative number");this[Ar]=t,Vo(this)}get maxAge(){return this[Ar]}set lengthCalculator(t){typeof t!="function"&&(t=Xl),t!==this[qr]&&(this[qr]=t,this[An]=0,this[at].forEach(n=>{n.length=this[qr](n.value,n.key),this[An]+=n.length})),Vo(this)}get lengthCalculator(){return this[qr]}get length(){return this[An]}get itemCount(){return this[at].length}rforEach(t,n){n=n||this;for(let r=this[at].tail;r!==null;){const o=r.prev;op(this,t,r,n),r=o}}forEach(t,n){n=n||this;for(let r=this[at].head;r!==null;){const o=r.next;op(this,t,r,n),r=o}}keys(){return this[at].toArray().map(t=>t.key)}values(){return this[at].toArray().map(t=>t.value)}reset(){this[xn]&&this[at]&&this[at].length&&this[at].forEach(t=>this[xn](t.key,t.value)),this[Kt]=new Map,this[at]=new JP,this[An]=0}dump(){return this[at].map(t=>Ra(this,t)?!1:{k:t.key,v:t.value,e:t.now+(t.maxAge||0)}).toArray().filter(t=>t)}dumpLru(){return this[at]}set(t,n,r){if(r=r||this[Ar],r&&typeof r!="number")throw new TypeError("maxAge must be a number");const o=r?Date.now():0,s=this[qr](n,t);if(this[Kt].has(t)){if(s>this[wr])return uo(this,this[Kt].get(t)),!1;const l=this[Kt].get(t).value;return this[xn]&&(this[rp]||this[xn](t,l.value)),l.now=o,l.maxAge=r,l.value=n,this[An]+=s-l.length,l.length=s,this.get(t),Vo(this),!0}const i=new QP(t,n,s,o,r);return i.length>this[wr]?(this[xn]&&this[xn](t,n),!1):(this[An]+=i.length,this[at].unshift(i),this[Kt].set(t,this[at].head),Vo(this),!0)}has(t){if(!this[Kt].has(t))return!1;const n=this[Kt].get(t).value;return!Ra(this,n)}get(t){return Jl(this,t,!0)}peek(t){return Jl(this,t,!1)}pop(){const t=this[at].tail;return t?(uo(this,t),t.value):null}del(t){uo(this,this[Kt].get(t))}load(t){this.reset();const n=Date.now();for(let r=t.length-1;r>=0;r--){const o=t[r],s=o.e||0;if(s===0)this.set(o.k,o.v);else{const i=s-n;i>0&&this.set(o.k,o.v,i)}}}prune(){this[Kt].forEach((t,n)=>Jl(this,n,!1))}}const Jl=(e,t,n)=>{const r=e[Kt].get(t);if(r){const o=r.value;if(Ra(e,o)){if(uo(e,r),!e[Ts])return}else n&&(e[ty]&&(r.value.now=Date.now()),e[at].unshiftNode(r));return o.value}},Ra=(e,t)=>{if(!t||!t.maxAge&&!e[Ar])return!1;const n=Date.now()-t.now;return t.maxAge?n>t.maxAge:e[Ar]&&n>e[Ar]},Vo=e=>{if(e[An]>e[wr])for(let t=e[at].tail;e[An]>e[wr]&&t!==null;){const n=t.prev;uo(e,t),t=n}},uo=(e,t)=>{if(t){const n=t.value;e[xn]&&e[xn](n.key,n.value),e[An]-=n.length,e[Kt].delete(n.key),e[at].removeNode(t)}};class QP{constructor(t,n,r,o,s){this.key=t,this.value=n,this.length=r,this.now=o,this.maxAge=s||0}}const op=(e,t,n,r)=>{let o=n.value;Ra(e,o)&&(uo(e,n),e[Ts]||(o=void 0)),o&&t.call(r,o.value,o.key,e)};var e$=ZP,Zl,sp;function rn(){if(sp)return Zl;sp=1;class e{constructor(T,M){if(M=r(M),T instanceof e)return T.loose===!!M.loose&&T.includePrerelease===!!M.includePrerelease?T:new e(T.raw,M);if(T instanceof o)return this.raw=T.value,this.set=[[T]],this.format(),this;if(this.options=M,this.loose=!!M.loose,this.includePrerelease=!!M.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&&m($[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,M){if(!(T instanceof e))throw new TypeError("a Range is required");return this.set.some(R=>g(R,M)&&T.set.some($=>g($,M)&&R.every(I=>$.every(J=>I.intersects(J,M)))))}test(T){if(!T)return!1;if(typeof T=="string")try{T=new i(T,this.options)}catch{return!1}for(let M=0;M<this.set.length;M++)if(C(this.set[M],T,this.options))return!0;return!1}}Zl=e;const t=e$,n=new t({max:1e3}),r=yf,o=hl(),s=fl,i=Ct,{safeRe:a,t:l,comparatorTrimReplace:c,tildeTrimReplace:u,caretTrimReplace:f}=ui,{FLAG_INCLUDE_PRERELEASE:d,FLAG_LOOSE:h}=ul,p=S=>S.value==="<0.0.0-0",m=S=>S.value==="",g=(S,T)=>{let M=!0;const R=S.slice();let $=R.pop();for(;M&&R.length;)M=R.every(I=>$.intersects(I,T)),$=R.pop();return M},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(M=>b(M,T)).join(" "),b=(S,T)=>{const M=T.loose?a[l.TILDELOOSE]:a[l.TILDE];return S.replace(M,(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(M=>A(M,T)).join(" "),A=(S,T)=>{s("caret",S,T);const M=T.loose?a[l.CARETLOOSE]:a[l.CARET],R=T.includePrerelease?"-0":"";return S.replace(M,($,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(M=>k(M,T)).join(" ")),k=(S,T)=>{S=S.trim();const M=T.loose?a[l.XRANGELOOSE]:a[l.XRANGE];return S.replace(M,(R,$,I,J,ae,ie)=>{s("xRange",S,R,$,I,J,ae,ie);const le=_(I),Se=le||_(J),Ce=Se||_(ae),qe=Ce;return $==="="&&qe&&($=""),ie=T.includePrerelease?"-0":"",le?$===">"||$==="<"?R="<0.0.0-0":R="*":$&&qe?(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,M,R,$,I,J,ae,ie,le,Se,Ce,qe,Ge)=>(_(R)?M="":_($)?M=`>=${R}.0.0${S?"-0":""}`:_(I)?M=`>=${R}.${$}.0${S?"-0":""}`:J?M=`>=${M}`:M=`>=${M}${S?"-0":""}`,_(le)?ie="":_(Se)?ie=`<${+le+1}.0.0-0`:_(Ce)?ie=`<${le}.${+Se+1}.0-0`:qe?ie=`<=${le}.${Se}.${Ce}-${qe}`:S?ie=`<${le}.${Se}.${+Ce+1}-0`:ie=`<=${ie}`,`${M} ${ie}`.trim()),C=(S,T,M)=>{for(let R=0;R<S.length;R++)if(!S[R].test(T))return!1;if(T.prerelease.length&&!M.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 Zl}var Ql,ip;function hl(){if(ip)return Ql;ip=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(">")))}}Ql=t;const n=yf,{safeRe:r,t:o}=ui,s=ey,i=fl,a=Ct,l=rn();return Ql}const t$=rn(),n$=(e,t,n)=>{try{t=new t$(t,n)}catch{return!1}return t.test(e)};var pl=n$;const r$=rn(),o$=(e,t)=>new r$(e,t).set.map(n=>n.map(r=>r.value).join(" ").trim().split(" "));var s$=o$;const i$=Ct,a$=rn(),l$=(e,t,n)=>{let r=null,o=null,s=null;try{s=new a$(t,n)}catch{return null}return e.forEach(i=>{s.test(i)&&(!r||o.compare(i)===-1)&&(r=i,o=new i$(r,n))}),r};var c$=l$;const u$=Ct,f$=rn(),d$=(e,t,n)=>{let r=null,o=null,s=null;try{s=new f$(t,n)}catch{return null}return e.forEach(i=>{s.test(i)&&(!r||o.compare(i)===1)&&(r=i,o=new u$(r,n))}),r};var h$=d$;const ec=Ct,p$=rn(),ap=dl,m$=(e,t)=>{e=new p$(e,t);let n=new ec("0.0.0");if(e.test(n)||(n=new ec("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 ec(i.semver.version);switch(i.operator){case">":a.prerelease.length===0?a.patch++:a.prerelease.push(0),a.raw=a.format();case"":case">=":(!s||ap(a,s))&&(s=a);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}),s&&(!n||ap(n,s))&&(n=s)}return n&&e.test(n)?n:null};var g$=m$;const v$=rn(),y$=(e,t)=>{try{return new v$(e,t).range||"*"}catch{return null}};var _$=y$;const b$=Ct,ny=hl(),{ANY:w$}=ny,E$=rn(),S$=pl,lp=dl,cp=bf,x$=Ef,C$=wf,A$=(e,t,n,r)=>{e=new b$(e,r),t=new E$(t,r);let o,s,i,a,l;switch(n){case">":o=lp,s=x$,i=cp,a=">",l=">=";break;case"<":o=cp,s=C$,i=lp,a="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(S$(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===w$&&(h=new ny(">=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 Sf=A$;const T$=Sf,R$=(e,t,n)=>T$(e,t,">",n);var P$=R$;const $$=Sf,O$=(e,t,n)=>$$(e,t,"<",n);var k$=O$;const up=rn(),N$=(e,t,n)=>(e=new up(e,n),t=new up(t,n),e.intersects(t,n));var I$=N$;const L$=pl,D$=nn;var M$=(e,t,n)=>{const r=[];let o=null,s=null;const i=e.sort((u,f)=>D$(u,f,n));for(const u of i)L$(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 fp=rn(),xf=hl(),{ANY:tc}=xf,Go=pl,Cf=nn,F$=(e,t,n={})=>{if(e===t)return!0;e=new fp(e,n),t=new fp(t,n);let r=!1;e:for(const o of e.set){for(const s of t.set){const i=j$(o,s,n);if(r=r||i!==null,i)continue e}if(r)return!1}return!0},B$=[new xf(">=0.0.0-0")],dp=[new xf(">=0.0.0")],j$=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===tc){if(t.length===1&&t[0].semver===tc)return!0;n.includePrerelease?e=B$:e=dp}if(t.length===1&&t[0].semver===tc){if(n.includePrerelease)return!0;t=dp}const r=new Set;let o,s;for(const h of e)h.operator===">"||h.operator===">="?o=hp(o,h,n):h.operator==="<"||h.operator==="<="?s=pp(s,h,n):r.add(h.semver);if(r.size>1)return null;let i;if(o&&s){if(i=Cf(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&&!Go(h,String(o),n)||s&&!Go(h,String(s),n))return null;for(const p of t)if(!Go(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=hp(o,h,n),a===h&&a!==o)return!1}else if(o.operator===">="&&!Go(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=pp(s,h,n),l===h&&l!==s)return!1}else if(s.operator==="<="&&!Go(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)},hp=(e,t,n)=>{if(!e)return t;const r=Cf(e.semver,t.semver,n);return r>0?e:r<0||t.operator===">"&&e.operator===">="?t:e},pp=(e,t,n)=>{if(!e)return t;const r=Cf(e.semver,t.semver,n);return r<0?e:r>0||t.operator==="<"&&e.operator==="<="?t:e};var z$=F$;const nc=ui,mp=ul,H$=Ct,gp=Jv,U$=Lo,V$=U2,G$=W2,W$=q2,K$=X2,q$=Q2,Y$=nP,X$=sP,J$=lP,Z$=nn,Q$=dP,eO=mP,tO=_f,nO=_P,rO=EP,oO=dl,sO=bf,iO=Zv,aO=Qv,lO=wf,cO=Ef,uO=ey,fO=GP,dO=hl(),hO=rn(),pO=pl,mO=s$,gO=c$,vO=h$,yO=g$,_O=_$,bO=Sf,wO=P$,EO=k$,SO=I$,xO=M$,CO=z$;var AO={parse:U$,valid:V$,clean:G$,inc:W$,diff:K$,major:q$,minor:Y$,patch:X$,prerelease:J$,compare:Z$,rcompare:Q$,compareLoose:eO,compareBuild:tO,sort:nO,rsort:rO,gt:oO,lt:sO,eq:iO,neq:aO,gte:lO,lte:cO,cmp:uO,coerce:fO,Comparator:dO,Range:hO,satisfies:pO,toComparators:mO,maxSatisfying:gO,minSatisfying:vO,minVersion:yO,validRange:_O,outside:bO,gtr:wO,ltr:EO,intersects:SO,simplifyRange:xO,subset:CO,SemVer:H$,re:nc.re,src:nc.src,tokens:nc.t,SEMVER_SPEC_VERSION:mp.SEMVER_SPEC_VERSION,RELEASE_TYPES:mp.RELEASE_TYPES,compareIdentifiers:gp.compareIdentifiers,rcompareIdentifiers:gp.rcompareIdentifiers};const TO=C2(AO),rc=new Map;function S3(e,t){const n=e;return rc.has(n)||rc.set(n,$O(e,t)),rc.get(n)}function RO(){return mt("npm:check:nuxt",()=>we.checkForUpdateFor("nuxt"))}function PO(e){const t=RO();return se(()=>t?.value?.current?TO.satisfies(t.value.current,e):!1)}function $O(e,t){const n=Ne(),r=mt(`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 Qc(),"update",e,t))?.processId,s.value}async function a(){o.value==="updated"&&await we.restartNuxt(await Qc())}return{info:r,state:o,update:i,restart:a,processId:s}}const Wo={icon:"carbon-edge-node",title:"Build Analyze",layout:"full",category:"analyze",show(){return PO("^3.5.0")}},Ko={icon:"carbon-image-copy",title:"Assets",layout:"full"},qo={icon:"i-carbon-assembly-cluster",title:"Components",order:2},Yo={layout:"full"},Xo={icon:"i-carbon-warning-alt-filled text-red",title:"Error",category:"app",show(){const e=ft();return()=>e.value?.nuxt?.payload?.error}},Jo={icon:"carbon-ibm-cloud-direct-link-2-connect",title:"Hooks",category:"advanced"},Zo={icon:"carbon-function",title:"Imports",order:3},Qo={icon:"carbon-3d-mpr-toggle",title:"Modules",order:4},es={icon:"carbon:image-search",title:"Open Graph",layout:"full",category:"analyze",show:()=>{const e=ft();return()=>!!e.value}},ts={icon:"carbon-information",title:"Overview",order:-100},ns={icon:"carbon-tree-view-alt",title:"Pages",show:()=>{const e=ft();return()=>!!e.value},order:1},rs={icon:"carbon-data-set",title:"Payload",category:"analyze",show:()=>{const e=ft();return()=>!!e.value},order:7};function OO(e,t,n){const[r={},o]=typeof t=="string"?[{},t]:[t,n],s=se(()=>cn(e)),i=r.key||NE([o,typeof s.value=="string"?s.value:"",...kO(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:m,deep:g,dedupe:v,..._}=r,y=St({...GS,..._,cache:typeof r.cache=="boolean"?void 0:r.cache}),b={server:l,lazy:c,default:u,transform:f,pick:d,immediate:p,getCachedData:m,deep:g,dedupe:v,watch:h===!1?[]:[y,s,...h||[]]};let E;return z0(a,()=>{E?.abort?.(),E=typeof AbortController<"u"?new AbortController:{};const O=cn(r.timeout);return O&&setTimeout(()=>E.abort(),O),(r.$fetch||globalThis.$fetch)(s.value,{signal:E.signal,...y})},b)}function kO(e){const t=[cn(e.method)?.toUpperCase()||"GET",cn(e.baseURL)];for(const n of[e.params||e.query]){const r=cn(n);if(!r)continue;const o={};for(const[s,i]of Object.entries(r))o[cn(s)]=cn(i);t.push(o)}return t}function x3(e,t,n){return Math.min(n,Math.max(t,e))}const NO="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";function IO(e=16,t=NO){let n="",r=e;const o=t.length;for(;r--;)n+=t[Math.random()*o|0];return n}function ry(e,t,n=!1){return t.reduce((r,o)=>(o in e&&(!n||e[o]!==void 0)&&(r[o]=e[o]),r),{})}function oy(){return mt("getServerPages",()=>we.getServerPages())}function LO(){return mt("getServerRoutes",()=>we.getServerRoutes())}function DO(){return mt("getServerTasks",()=>we.getServerTasks())}function C3(){return mt("getServerHooks",()=>we.getServerHooks())}function A3(){return mt("getServerLayouts",()=>we.getServerLayouts())}function T3(){return mt("getAutoImports",()=>we.getAutoImports())}function R3(){return mt("getStaticAssets",()=>we.getStaticAssets())}function sy(){return mt("getServerConfig",()=>we.getServerConfig())}function P3(){return mt("getServerRuntimeConfig",()=>we.getServerRuntimeConfig())}function $3(){return mt("getModuleOptions",()=>we.getModuleOptions())}function O3(){return mt("getServerApp",()=>we.getServerApp())}function MO(){return mt("getCustomTabs",()=>we.getCustomTabs())}function vp(){return mt("getTerminals",()=>we.getTerminals())}function k3(){return mt("getAnalyzeBuildInfo",()=>we.getAnalyzeBuildInfo())}function FO(){const{data:e}=OO("/_vfs.json",{key:"vfs-list",baseURL:"/",responseType:"json"},"$1Vz4NDBkXu");return e}function N3(){const e=oy(),t=zv();return se(()=>(t.value?.getRoutes()||[]).map(n=>ry(n,["path","name","meta","props","children"])).map(n=>({...e.value?.find(r=>r.name&&r.name===n.name),...n})))}const os={icon:"i-logos-pinia",title:"Pinia",layout:"full",show(){const e=sy();return()=>e.value?.modules?.some(t=>t?.includes("@pinia/nuxt"))}},ss={icon:"carbon-plug",title:"Plugins",category:"analyze"},is={icon:"carbon-settings-services",title:"Runtime Configs",category:"analyze",show:()=>{const e=ft();return()=>!!e.value},order:6},as={icon:"carbon-cloud",title:"Server Routes",layout:"full",category:"server",show(){const e=LO();return()=>e.value?.length}},iy=U(await we.getOptions("assets")),BO=al(iy);af(iy,async e=>{we.updateOptions("assets",e)},{deep:!0,flush:"post",debounce:500,maxWait:1e3});const ay=U(await we.getOptions("serverRoutes")),jO=al(ay);af(ay,async e=>{we.updateOptions("serverRoutes",e)},{deep:!0,flush:"post",debounce:500,maxWait:1e3});const ly=U(await we.getOptions("serverTasks")),zO=al(ly);af(ly,async e=>{we.updateOptions("serverTasks",e)},{deep:!0,flush:"post",debounce:500,maxWait:1e3});const HO={serverRoutes:jO,serverTasks:zO,assets:BO};function UO(e){return HO[e]}const ls={icon:"codicon-run-all",title:"Server Tasks",layout:"full",category:"server",show(){const{enabled:e}=UO("serverTasks"),t=DO();return()=>e.value?Object.keys(t.value?.tasks??{}).length:!1}},cs={icon:"carbon-data-base",title:"Storage",layout:"full",category:"server"},us={icon:"carbon-terminal",title:"Terminals",layout:"full",show(){const e=vp();return()=>!!e.value?.length},badge(){const e=vp();return()=>e.value?.filter(t=>!t.isTerminated).length}},fs={icon:"i-carbon-roadmap",title:"Timeline",category:"analyze"},ds={icon:"i-carbon-border-none",title:"Virtual Files",layout:"full",category:"advanced"},hs={layout:"full"},yp=[{name:Ho?.name??"__blank",path:Ho?.path??"/__blank",meta:Ho||{},alias:Ho?.alias||[],redirect:Ho?.redirect,component:()=>ve(()=>import("./D-bKw4-c.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default||e)},{name:Uo?.name??"index",path:Uo?.path??"/",meta:Uo||{},alias:Uo?.alias||[],redirect:Uo?.redirect,component:()=>ve(()=>import("./4OiyuHIo.js"),__vite__mapDeps([8,9,10]),import.meta.url).then(e=>e.default||e)},{name:Wo?.name??"modules-analyze-build",path:Wo?.path??"/modules/analyze-build",meta:Wo||{},alias:Wo?.alias||[],redirect:Wo?.redirect,component:()=>ve(()=>import("./CaQmwCtB.js"),__vite__mapDeps([11,12,13,14,15,10,16,17]),import.meta.url).then(e=>e.default||e)},{name:Ko?.name??"modules-assets",path:Ko?.path??"/modules/assets",meta:Ko||{},alias:Ko?.alias||[],redirect:Ko?.redirect,component:()=>ve(()=>import("./BRZ59h9H.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:qo?.name??"modules-components",path:qo?.path??"/modules/components",meta:qo||{},alias:qo?.alias||[],redirect:qo?.redirect,component:()=>ve(()=>import("./Ds9RG5LO.js"),__vite__mapDeps([28,16,17,29,10,20,30,12,25,31,21,22,23,26]),import.meta.url).then(e=>e.default||e)},{name:Yo?.name??"modules-custom-name",path:Yo?.path??"/modules/custom-:name()",meta:Yo||{},alias:Yo?.alias||[],redirect:Yo?.redirect,component:()=>ve(()=>import("./Dz2CDcxz.js"),__vite__mapDeps([32,33,34,14]),import.meta.url).then(e=>e.default||e)},{name:Xo?.name??"modules-error",path:Xo?.path??"/modules/error",meta:Xo||{},alias:Xo?.alias||[],redirect:Xo?.redirect,component:()=>ve(()=>import("./Dwt0a_c3.js"),__vite__mapDeps([35,36,12]),import.meta.url).then(e=>e.default||e)},{name:Jo?.name??"modules-hooks",path:Jo?.path??"/modules/hooks",meta:Jo||{},alias:Jo?.alias||[],redirect:Jo?.redirect,component:()=>ve(()=>import("./CeWabOXN.js"),__vite__mapDeps([37,38,21,22,23,16,17]),import.meta.url).then(e=>e.default||e)},{name:Zo?.name??"modules-imports",path:Zo?.path??"/modules/imports",meta:Zo||{},alias:Zo?.alias||[],redirect:Zo?.redirect,component:()=>ve(()=>import("./Bozs3mpp.js"),__vite__mapDeps([39,31,20,12,40,34,14,26,21,22,23,16,17]),import.meta.url).then(e=>e.default||e)},{name:Qo?.name??"modules-modules",path:Qo?.path??"/modules/modules",meta:Qo||{},alias:Qo?.alias||[],redirect:Qo?.redirect,component:()=>ve(()=>import("./Do1J5gVB.js"),__vite__mapDeps([41,12,42,30,13,14,15,10,21,22,23,19,20,9,43,16,17]),import.meta.url).then(e=>e.default||e)},{name:es?.name??"modules-open-graph",path:es?.path??"/modules/open-graph",meta:es||{},alias:es?.alias||[],redirect:es?.redirect,component:()=>ve(()=>import("./BMulB6_N.js"),__vite__mapDeps([44,20,9,21,22,23,13,14,15,16,17,45]),import.meta.url).then(e=>e.default||e)},{name:ts?.name??"modules-overview",path:ts?.path??"/modules/overview",meta:ts||{},alias:ts?.alias||[],redirect:ts?.redirect,component:()=>ve(()=>import("./CvL8cdRT.js"),__vite__mapDeps([46,42,30,13,14,15,10,29]),import.meta.url).then(e=>e.default||e)},{name:ns?.name??"modules-pages",path:ns?.path??"/modules/pages",meta:ns||{},alias:ns?.alias||[],redirect:ns?.redirect,component:()=>ve(()=>import("./CjV45cFY.js"),__vite__mapDeps([47,30,12,21,22,23,33,34,14,16,17]),import.meta.url).then(e=>e.default||e)},{name:rs?.name??"modules-payload",path:rs?.path??"/modules/payload",meta:rs||{},alias:rs?.alias||[],redirect:rs?.redirect,component:()=>ve(()=>import("./q7q-hnWy.js"),__vite__mapDeps([48,49,50,51,21,22,23,16,17]),import.meta.url).then(e=>e.default||e)},{name:os?.name??"modules-pinia",path:os?.path??"/modules/pinia",meta:os||{},alias:os?.alias||[],redirect:os?.redirect,component:()=>ve(()=>import("./CM17keFt.js"),__vite__mapDeps([52,53]),import.meta.url).then(e=>e.default||e)},{name:ss?.name??"modules-plugins",path:ss?.path??"/modules/plugins",meta:ss||{},alias:ss?.alias||[],redirect:ss?.redirect,component:()=>ve(()=>import("./sSwgCvN9.js"),__vite__mapDeps([54,12,30,38,21,22,23,16,17]),import.meta.url).then(e=>e.default||e)},{name:is?.name??"modules-runtime-configs",path:is?.path??"/modules/runtime-configs",meta:is||{},alias:is?.alias||[],redirect:is?.redirect,component:()=>ve(()=>import("./Dj8kH5KD.js"),__vite__mapDeps([55,49,50,51,21,22,23,16,17]),import.meta.url).then(e=>e.default||e)},{name:as?.name??"modules-server-routes",path:as?.path??"/modules/server-routes",meta:as||{},alias:as?.alias||[],redirect:as?.redirect,component:()=>ve(()=>import("./BUsflWtV.js"),__vite__mapDeps([56,20,30,57,58,10,24,13,14,15,50,26,51,21,22,23,25]),import.meta.url).then(e=>e.default||e)},{name:ls?.name??"modules-server-tasks",path:ls?.path??"/modules/server-tasks",meta:ls||{},alias:ls?.alias||[],redirect:ls?.redirect,component:()=>ve(()=>import("./DZURVFrY.js"),__vite__mapDeps([59,20,30,58,10,57,13,14,15,26,51,21,22,23,25]),import.meta.url).then(e=>e.default||e)},{name:cs?.name??"modules-storage",path:cs?.path??"/modules/storage",meta:cs||{},alias:cs?.alias||[],redirect:cs?.redirect,component:()=>ve(()=>import("./CFP4gcPi.js"),__vite__mapDeps([60,57,9,12,51]),import.meta.url).then(e=>e.default||e)},{name:us?.name??"modules-terminals",path:us?.path??"/modules/terminals",meta:us||{},alias:us?.alias||[],redirect:us?.redirect,component:()=>ve(()=>import("./BM5AytHF.js"),__vite__mapDeps([61,62]),import.meta.url).then(e=>e.default||e)},{name:fs?.name??"modules-timeline",path:fs?.path??"/modules/timeline",meta:fs||{},alias:fs?.alias||[],redirect:fs?.redirect,component:()=>ve(()=>import("./C3dxgrHo.js"),__vite__mapDeps([63,38,30,40,34,14,12,26,51,36,25,33,9,43,13,15,16,17,64]),import.meta.url).then(e=>e.default||e)},{name:ds?.name??"modules-virtual-files",path:ds?.path??"/modules/virtual-files",meta:ds||{},alias:ds?.alias||[],redirect:ds?.redirect,component:()=>ve(()=>import("./95Xol9hk.js"),__vite__mapDeps([65,20,13,14,15,16,17,66]),import.meta.url).then(e=>e.default||e)},{name:hs?.name??"settings",path:hs?.path??"/settings",meta:hs||{},alias:hs?.alias||[],redirect:hs?.redirect,component:()=>ve(()=>import("./CXOMhAuo.js"),__vite__mapDeps([67,22,68,57,10,9]),import.meta.url).then(e=>e.default||e)}],cy=(e,t,n)=>(t=t===!0?{}:t,{default:()=>t?et(e,t,n):n.default?.()});function _p(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 VO(e,t){return e===t||t===qt?!1:_p(e)!==_p(t)?!0:!e.matched.every((r,o)=>r.components&&r.components.default===t.matched[o]?.components?.default)}const GO={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&&VO(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:bp(e.hash),behavior:o}:!1;const a=c=>!!(c.meta.pageTransition??Fc),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:bp(e.hash),behavior:o}),c(s)})})}};function bp(e){try{const t=document.querySelector(e);if(t)return parseFloat(getComputedStyle(t).scrollMarginTop)}catch{}return 0}const WO={hashMode:!1,scrollBehaviorType:"auto"},wn={...WO,...GO},KO=async e=>{let t,n;if(!e.meta?.validate)return;const r=Ne(),o=rt();if(([t,n]=Hs(()=>Promise.resolve(e.meta.validate(e))),t=await t,n(),t)===!0)return;const i=ii({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(()=>Zr(i)),window.history.pushState({},"",e.fullPath)});return!1}})},qO=No("nuxt-devtools-first-visit",!0),YO=J0(),tu=se(()=>YO.width.value>1080),Xn=No("nuxt-devtools-split-screen",!1),uy=No("nuxt-devtools-split-screen-view","overview"),XO=No("nuxt-devtools-frame-state",{},{listenToStorageChanges:!0});No("nuxt-devtools-panels-state",{},{listenToStorageChanges:!1});const Af=U(await we.getOptions("ui")),JO=al(Af);De(Af,async e=>{we.updateOptions("ui",e)},{deep:!0,flush:"post"});localStorage.getItem("nuxt-devtools-settings")&&(Object.assign(Af.value,JSON.parse(localStorage.getItem("nuxt-devtools-settings"))),localStorage.removeItem("nuxt-devtools-settings"));function Vr(){return JO}function ZO(){return XO}const Pa=U(await we.getOptions("behavior").then(e=>e.telemetry));De(Pa,async e=>{await we.updateOptions("behavior",{telemetry:e})});function ml(e,t,n=!1){Pa.value!==!1&&we.telemetryEvent({event:e,browser:fn.browser.name,browserVersion:fn.browser.version,os:fn.os.name,osVersion:fn.os.version,deviceType:fn.device.type,inPopup:!!window.__NUXT_DEVTOOLS_IS_POPUP__,...t},n)}const QO=e=>{if(e.path==="/"&&!(qO.value||Pa.value==null))return Lc("/modules/overview");if(e.path!=="/"&&Pa.value==null)return Lc("/")},ek=async e=>{let t,n;const r=([t,n]=Hs(()=>ef(e.path)),t=await t,n(),t);if(r.redirect)return Dn(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},tk=[KO,QO,ek],nu={};function nk(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),Id(u,"")}const a=Id(r,e),l=!n||Dw(a,n,{trailingSlash:!0})?a:n;return l+(l.includes("?")?"":o)+s}const rk=Gt({name:"nuxt:router",enforce:"pre",async setup(e){let t,n,r=rl().app.baseURL;wn.hashMode&&!r.includes("#")&&(r+="#");const o=wn.history?.(r)??(wn.hashMode?kx(r):D0(r)),s=wn.routes?.(yp)??yp;let i;const a=nk(r,window.location,e.payload.path),l=nC({...wn,scrollBehavior:(m,g,v)=>{if(g===qt){i=v;return}if(wn.scrollBehavior){if(l.options.scrollBehavior=wn.scrollBehavior,"scrollRestoration"in window.history){const _=l.beforeEach(()=>{_(),window.history.scrollRestoration="manual"})}return wn.scrollBehavior(m,qt,i||v)}},history:o,routes:s});"scrollRestoration"in window.history&&(window.history.scrollRestoration="auto"),e.vueApp.use(l);const c=en(l.currentRoute.value);l.afterEach((m,g)=>{c.value=g}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>c.value});const u=en(l.resolve(a)),f=()=>{u.value=l.currentRoute.value};e.hook("page:finish",f),l.afterEach((m,g)=>{m.matched[0]?.components?.default===g.matched[0]?.components?.default&&f()});const d={};for(const m in u.value)Object.defineProperty(d,m,{get:()=>u.value[m]});e._route=To(d),e._middleware=e._middleware||{global:[],named:{}};const h=ol();try{[t,n]=Hs(()=>l.isReady()),await t,n()}catch(m){[t,n]=Hs(()=>e.runWithContext(()=>Zr(m))),await t,n()}const p=e.payload.state._layout;return l.beforeEach(async(m,g)=>{await e.callHook("page:loading:start"),m.meta=St(m.meta),e.isHydrating&&p&&!kr(m.meta.layout)&&(m.meta.layout=p),e._processingMiddleware=!0;{const v=new Set([...tk,...e._middleware.global]);for(const _ of m.matched){const y=_.meta.middleware;if(y)for(const b of of(y))v.add(b)}{const _=await e.runWithContext(()=>ef(m.path));if(_.appMiddleware)for(const y in _.appMiddleware)_.appMiddleware[y]?v.add(y):v.delete(y)}for(const _ of v){const y=typeof _=="string"?e._middleware.named[_]||await nu[_]?.().then(E=>E.default||E):_;if(!y)throw new Error(`Unknown route middleware: '${_}'.`);const b=await e.runWithContext(()=>y(m,g));if(!e.payload.serverRendered&&e.isHydrating&&(b===!1||b instanceof Error)){const E=b||Nc({statusCode:404,statusMessage:`Page Not Found: ${a}`});return await e.runWithContext(()=>Zr(E)),!1}if(b!==!0&&(b||b===!1))return b}}}),l.onError(async()=>{delete e._processingMiddleware,await e.callHook("page:loading:end")}),l.afterEach(async(m,g,v)=>{delete e._processingMiddleware,!e.isHydrating&&h.value&&await e.runWithContext(UE),v&&await e.callHook("page:loading:end"),m.matched.length===0&&await e.runWithContext(()=>Zr(Nc({statusCode:404,fatal:!1,statusMessage:`Page not found: ${m.fullPath}`,data:{path:m.fullPath}})))}),e.hooks.hookOnce("app:created",async()=>{try{const m=l.resolve(a);"name"in m&&(m.name=void 0),await l.replace({...m,force:!0}),l.options.scrollBehavior=wn.scrollBehavior}catch(m){await e.runWithContext(()=>Zr(m))}}),{provide:{router:l}}}}),ok=Gt({name:"nuxt:payload",setup(e){rt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Yd(t.path);r&&Object.assign(e.static.data,r.data)}),sf(()=>{e.hooks.hook("link:prefetch",async t=>{oi(t).protocol||await Yd(t)}),navigator.connection?.effectiveType!=="slow-2g"&&setTimeout(sl,1e3)})}}),sk=Gt(e=>{let t;async function n(){const r=await sl();t&&clearTimeout(t),t=setTimeout(n,1e3*60*60);const o=await $fetch(Ju("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}sf(()=>{t=setTimeout(n,1e3*60*60)})}),ik=Gt({name:"nuxt:global-components"}),Jn={default:()=>ve(()=>import("./D4UCAj7O.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default||e),full:()=>ve(()=>import("./BBcfeHW0.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default||e),none:()=>ve(()=>import("./_kNmeBjy.js"),__vite__mapDeps([]),import.meta.url).then(e=>e.default||e)},ak=Gt({name:"nuxt:prefetch",setup(e){const t=rt();e.hooks.hook("app:mounted",()=>{t.beforeEach(async n=>{const r=n?.meta?.layout;r&&typeof Jn[r]=="function"&&await Jn[r]()})}),e.hooks.hook("link:prefetch",n=>{if(Dn(n))return;const r=t.resolve(n);if(!r)return;const o=r.meta.layout;let s=of(r.meta.middleware);s=s.filter(i=>typeof i=="string");for(const i of s)typeof nu[i]=="function"&&nu[i]();o&&typeof Jn[o]=="function"&&Jn[o]()})}}),lk="__NUXT_COLOR_MODE__",ck="ColorScheme",uk="nuxt-color-mode",En=window[lk]||{},fk=Gt(e=>{const t=$o("color-mode",()=>St({preference:En.preference,value:En.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"?En.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=En.getColorScheme())}))}De(()=>t.preference,o=>{t.forced||(o==="system"?(t.value=En.getColorScheme(),r()):t.value=o,window.localStorage?.setItem(uk,o))},{immediate:!0}),De(()=>t.value,(o,s)=>{En.removeColorScheme(s),En.addColorScheme(o)}),t.preference==="system"&&r(),e.hook("app:mounted",()=>{t.unknown&&(t.preference=En.preference,t.value=En.value,t.unknown=!1)}),e.provide("colorMode",t)}),dk=Gt(()=>{});function hk(e={}){const t=e.path||window.location.pathname;let n={};try{n=ma(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 pk=Gt({name:"nuxt:chunk-reload",setup(e){const t=rt(),n=rl(),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:tl(n.app.baseURL,s.fullPath);hk({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((s,i)=>{r.has(s)&&o(i)})}}),mk=["top","right","bottom","left"],wp=["start","end"],Ep=mk.reduce((e,t)=>e.concat(t,t+"-"+wp[0],t+"-"+wp[1]),[]),Ys=Math.min,yr=Math.max,gk={left:"right",right:"left",bottom:"top",top:"bottom"},vk={start:"end",end:"start"};function ru(e,t,n){return yr(e,Ys(t,n))}function Gr(e,t){return typeof e=="function"?e(t):e}function yn(e){return e.split("-")[0]}function Zt(e){return e.split("-")[1]}function fy(e){return e==="x"?"y":"x"}function Tf(e){return e==="y"?"height":"width"}function fi(e){return["top","bottom"].includes(yn(e))?"y":"x"}function Rf(e){return fy(fi(e))}function dy(e,t,n){n===void 0&&(n=!1);const r=Zt(e),o=Rf(e),s=Tf(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Oa(i)),[i,Oa(i)]}function yk(e){const t=Oa(e);return[$a(e),t,$a(t)]}function $a(e){return e.replace(/start|end/g,t=>vk[t])}function _k(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 bk(e,t,n,r){const o=Zt(e);let s=_k(yn(e),n==="start",r);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map($a)))),s}function Oa(e){return e.replace(/left|right|bottom|top/g,t=>gk[t])}function wk(e){return{top:0,right:0,bottom:0,left:0,...e}}function hy(e){return typeof e!="number"?wk(e):{top:e,right:e,bottom:e,left:e}}function Rs(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Sp(e,t,n){let{reference:r,floating:o}=e;const s=fi(t),i=Rf(t),a=Tf(i),l=yn(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(Zt(t)){case"start":h[i]-=d*(n&&c?-1:1);break;case"end":h[i]+=d*(n&&c?-1:1);break}return h}const Ek=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}=Sp(c,r,l),d=r,h={},p=0;for(let m=0;m<a.length;m++){const{name:g,fn:v}=a[m],{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,[g]:{...h[g],...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}=Sp(c,d,l)),m=-1;continue}}return{x:u,y:f,placement:d,strategy:o,middlewareData:h}};async function gl(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}=Gr(t,e),p=hy(h),g=a[d?f==="floating"?"reference":"floating":f],v=Rs(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(g)))==null||n?g:g.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=Rs(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 Sk=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}=Gr(e,t)||{};if(l==null)return{};const u=hy(c),f={x:n,y:r},d=Rf(o),h=Tf(d),p=await i.getDimensions(l),m=d==="y",g=m?"top":"left",v=m?"bottom":"right",_=m?"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 A=E?E[_]:0;(!A||!await(i.isElement==null?void 0:i.isElement(E)))&&(A=a.floating[_]||s.floating[h]);const O=y/2-b/2,k=A/2-p[h]/2-1,D=Ys(u[g],k),P=Ys(u[v],k),L=D,C=A-p[h]-P,S=A/2-p[h]/2+O,T=ru(L,S,C),R=Zt(o)!=null&&S!=T&&s.reference[h]/2-(S<L?D:P)-p[h]/2<0?S<L?L-S:C-S:0;return{[d]:f[d]-R,data:{[d]:T,centerOffset:S-T+R}}}});function xk(e,t,n){return(e?[...n.filter(o=>Zt(o)===e),...n.filter(o=>Zt(o)!==e)]:n.filter(o=>yn(o)===o)).filter(o=>e?Zt(o)===e||(t?$a(o)!==o:!1):!0)}const Ck=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=Ep,autoAlignment:h=!0,...p}=Gr(e,t),m=f!==void 0||d===Ep?xk(f||null,h,d):d,g=await gl(t,p),v=((n=i.autoPlacement)==null?void 0:n.index)||0,_=m[v];if(_==null)return{};const y=dy(_,s,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==_)return{reset:{placement:m[0]}};const b=[g[yn(_)],g[y[0]],g[y[1]]],E=[...((r=i.autoPlacement)==null?void 0:r.overflows)||[],{placement:_,overflows:b}],A=m[v+1];if(A)return{data:{index:v+1,overflows:E},reset:{placement:A}};const O=E.map(P=>{const L=Zt(P.placement);return[P.placement,L&&u?P.overflows.slice(0,2).reduce((C,S)=>C+S,0):P.overflows[0],P.overflows]}).sort((P,L)=>P[1]-L[1]),D=((o=O.filter(P=>P[2].slice(0,Zt(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}}:{}}}},Ak=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,...m}=Gr(e,t),g=yn(r),v=yn(i)===i,_=await(a.isRTL==null?void 0:a.isRTL(l.floating)),y=f||(v||!p?[Oa(i)]:yk(i));!f&&h!=="none"&&y.push(...bk(i,p,h,_));const b=[i,...y],E=await gl(t,m),A=[];let O=((n=o.flip)==null?void 0:n.overflows)||[];if(c&&A.push(E[g]),u){const L=dy(r,s,_);A.push(E[L[0]],E[L[1]])}if(O=[...O,{placement:r,overflows:A}],!A.every(L=>L<=0)){var k,D;const L=(((k=o.flip)==null?void 0:k.index)||0)+1,C=b[L];if(C)return{data:{index:L,overflows:O},reset:{placement:C}};let S=(D=O.filter(T=>T.overflows[0]<=0).sort((T,M)=>T.overflows[1]-M.overflows[1])[0])==null?void 0:D.placement;if(!S)switch(d){case"bestFit":{var P;const T=(P=O.map(M=>[M.placement,M.overflows.filter(R=>R>0).reduce((R,$)=>R+$,0)]).sort((M,R)=>M[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 Tk(e,t){const{placement:n,platform:r,elements:o}=e,s=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=yn(n),a=Zt(n),l=fi(n)==="y",c=["left","top"].includes(i)?-1:1,u=s&&l?-1:1,f=Gr(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 Rk=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){const{x:n,y:r}=t,o=await Tk(t,e);return{x:n+o.x,y:r+o.y,data:o}}}},Pk=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:g=>{let{x:v,y:_}=g;return{x:v,y:_}}},...l}=Gr(e,t),c={x:n,y:r},u=await gl(t,l),f=fi(yn(o)),d=fy(f);let h=c[d],p=c[f];if(s){const g=d==="y"?"top":"left",v=d==="y"?"bottom":"right",_=h+u[g],y=h-u[v];h=ru(_,h,y)}if(i){const g=f==="y"?"top":"left",v=f==="y"?"bottom":"right",_=p+u[g],y=p-u[v];p=ru(_,p,y)}const m=a.fn({...t,[d]:h,[f]:p});return{...m,data:{x:m.x-n,y:m.y-r}}}}},$k=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}=Gr(e,t),l=await gl(t,a),c=yn(n),u=Zt(n),f=fi(n)==="y",{width:d,height:h}=r.floating;let p,m;c==="top"||c==="bottom"?(p=c,m=u===(await(o.isRTL==null?void 0:o.isRTL(s.floating))?"start":"end")?"left":"right"):(m=c,p=u==="end"?"top":"bottom");const g=h-l[p],v=d-l[m],_=!t.middlewareData.shift;let y=g,b=v;if(f){const A=d-l.left-l.right;b=u||_?Ys(v,A):A}else{const A=h-l.top-l.bottom;y=u||_?Ys(g,A):A}if(_&&!u){const A=yr(l.left,0),O=yr(l.right,0),k=yr(l.top,0),D=yr(l.bottom,0);f?b=d-2*(A!==0||O!==0?A+O:yr(l.left,l.right)):y=h-2*(k!==0||D!==0?k+D:yr(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 zt(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function pn(e){return zt(e).getComputedStyle(e)}const xp=Math.min,Ps=Math.max,ka=Math.round;function py(e){const t=pn(e);let n=parseFloat(t.width),r=parseFloat(t.height);const o=e.offsetWidth,s=e.offsetHeight,i=ka(n)!==o||ka(r)!==s;return i&&(n=o,r=s),{width:n,height:r,fallback:i}}function ar(e){return gy(e)?(e.nodeName||"").toLowerCase():""}let Bi;function my(){if(Bi)return Bi;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(Bi=e.brands.map(t=>t.brand+"/"+t.version).join(" "),Bi):navigator.userAgent}function mn(e){return e instanceof zt(e).HTMLElement}function rr(e){return e instanceof zt(e).Element}function gy(e){return e instanceof zt(e).Node}function Cp(e){return typeof ShadowRoot>"u"?!1:e instanceof zt(e).ShadowRoot||e instanceof ShadowRoot}function vl(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=pn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Ok(e){return["table","td","th"].includes(ar(e))}function ou(e){const t=/firefox/i.test(my()),n=pn(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 vy(){return!/^((?!chrome|android).)*safari/i.test(my())}function Pf(e){return["html","body","#document"].includes(ar(e))}function yy(e){return rr(e)?e:e.contextElement}const _y={x:1,y:1};function fo(e){const t=yy(e);if(!mn(t))return _y;const n=t.getBoundingClientRect(),{width:r,height:o,fallback:s}=py(t);let i=(s?ka(n.width):n.width)/r,a=(s?ka(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}function Xs(e,t,n,r){var o,s;t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),a=yy(e);let l=_y;t&&(r?rr(r)&&(l=fo(r)):l=fo(e));const c=a?zt(a):window,u=!vy()&&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 m=zt(a),g=r&&rr(r)?zt(r):r;let v=m.frameElement;for(;v&&r&&g!==m;){const _=fo(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=zt(v).frameElement}}return{width:h,height:p,top:d,right:f+h,bottom:d+p,left:f,x:f,y:d}}function or(e){return((gy(e)?e.ownerDocument:e.document)||window.document).documentElement}function yl(e){return rr(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function by(e){return Xs(or(e)).left+yl(e).scrollLeft}function Js(e){if(ar(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Cp(e)&&e.host||or(e);return Cp(t)?t.host:t}function wy(e){const t=Js(e);return Pf(t)?t.ownerDocument.body:mn(t)&&vl(t)?t:wy(t)}function Na(e,t){var n;t===void 0&&(t=[]);const r=wy(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),s=zt(r);return o?t.concat(s,s.visualViewport||[],vl(r)?r:[]):t.concat(r,Na(r))}function Ap(e,t,n){return t==="viewport"?Rs(function(r,o){const s=zt(r),i=or(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=vy();(d||!d&&o==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}}(e,n)):rr(t)?Rs(function(r,o){const s=Xs(r,!0,o==="fixed"),i=s.top+r.clientTop,a=s.left+r.clientLeft,l=mn(r)?fo(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:a*l.x,y:i*l.y}}(t,n)):Rs(function(r){const o=or(r),s=yl(r),i=r.ownerDocument.body,a=Ps(o.scrollWidth,o.clientWidth,i.scrollWidth,i.clientWidth),l=Ps(o.scrollHeight,o.clientHeight,i.scrollHeight,i.clientHeight);let c=-s.scrollLeft+by(r);const u=-s.scrollTop;return pn(i).direction==="rtl"&&(c+=Ps(o.clientWidth,i.clientWidth)-a),{width:a,height:l,x:c,y:u}}(or(e)))}function Tp(e){return mn(e)&&pn(e).position!=="fixed"?e.offsetParent:null}function Rp(e){const t=zt(e);let n=Tp(e);for(;n&&Ok(n)&&pn(n).position==="static";)n=Tp(n);return n&&(ar(n)==="html"||ar(n)==="body"&&pn(n).position==="static"&&!ou(n))?t:n||function(r){let o=Js(r);for(;mn(o)&&!Pf(o);){if(ou(o))return o;o=Js(o)}return null}(e)||t}function kk(e,t,n){const r=mn(t),o=or(t),s=Xs(e,!0,n==="fixed",t);let i={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((ar(t)!=="body"||vl(o))&&(i=yl(t)),mn(t)){const l=Xs(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else o&&(a.x=by(o));return{x:s.left+i.scrollLeft-a.x,y:s.top+i.scrollTop-a.y,width:s.width,height:s.height}}const Nk={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=Na(c).filter(g=>rr(g)&&ar(g)!=="body"),h=null;const p=pn(c).position==="fixed";let m=p?Js(c):c;for(;rr(m)&&!Pf(m);){const g=pn(m),v=ou(m);(p?v||h:v||g.position!=="static"||!h||!["absolute","fixed"].includes(h.position))?h=g:d=d.filter(_=>_!==m),m=Js(m)}return u.set(c,d),d}(t,this._c):[].concat(n),i=[...s,r],a=i[0],l=i.reduce((c,u)=>{const f=Ap(t,u,o);return c.top=Ps(f.top,c.top),c.right=xp(f.right,c.right),c.bottom=xp(f.bottom,c.bottom),c.left=Ps(f.left,c.left),c},Ap(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=mn(n),s=or(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")&&((ar(n)!=="body"||vl(s))&&(i=yl(n)),mn(n))){const c=Xs(n);a=fo(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:rr,getDimensions:function(e){return mn(e)?py(e):e.getBoundingClientRect()},getOffsetParent:Rp,getDocumentElement:or,getScale:fo,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Rp,s=this.getDimensions;return{reference:kk(t,await o(n),r),floating:{x:0,y:0,...await s(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>pn(e).direction==="rtl"},Ik=(e,t,n)=>{const r=new Map,o={platform:Nk,...n},s={...o.platform,_c:r};return Ek(e,t,{...o,platform:s})};function Ey(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Ey(e[n],t[n]):e[n]=t[n])}const Pn={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 Zs(e,t){let n=Pn.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=Pn.themes[n.$extend]||{}:(n=null,r=Pn[t]):n=null;while(n);return r}function Lk(e){const t=[e];let n=Pn.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Pn.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function Pp(e){const t=[e];let n=Pn.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Pn.themes[n.$extend]||{}):n=null;while(n);return t}let Fr=!1;if(typeof window<"u"){Fr=!1;try{const e=Object.defineProperty({},"passive",{get(){Fr=!0}});window.addEventListener("test",null,e)}catch{}}let Sy=!1;typeof window<"u"&&typeof navigator<"u"&&(Sy=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const xy=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),$p={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},Op={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function kp(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function oc(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const Xt=[];let gr=null;const Np={};function Ip(e){let t=Np[e];return t||(t=Np[e]=[]),t}let su=function(){};typeof window<"u"&&(su=window.Element);function Pe(e){return function(t){return Zs(t.theme,e)}}const sc="__floating-vue__popper",Cy=()=>Ae({name:"VPopper",provide(){return{[sc]:{parentPopper:this}}},inject:{[sc]:{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=>xy.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,su,Boolean],default:Pe("container")},boundary:{type:[String,su],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[sc])==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(Rk({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(Ck({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Pk({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(Ak({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(Sk({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($k({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 Ik(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),gr&&this.instantMove&&gr.instantMove&&gr!==this.parentPopper){gr.$_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&&(gr=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 oc(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...Na(this.$_referenceNode),...Na(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<Xt.length;n++)t=Xt[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}Xt.push(this),document.body.classList.add("v-popper--some-open");for(const t of Pp(this.theme))Ip(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 oc(),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,kp(Xt,this),Xt.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Pp(this.theme)){const r=Ip(n);kp(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}gr===this&&(gr=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 oc(),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,$p,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],$p,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,Op,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],Op,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,Fr?{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($s>=e.left&&$s<=e.right&&Os>=e.top&&Os<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=$s-Hn,r=Os-Un,o=t.left+t.width/2-Hn+(t.top+t.height/2)-Un+t.width+t.height,s=Hn+n*o,i=Un+r*o;return ji(Hn,Un,s,i,t.left,t.top,t.left,t.bottom)||ji(Hn,Un,s,i,t.left,t.top,t.right,t.top)||ji(Hn,Un,s,i,t.right,t.top,t.right,t.bottom)||ji(Hn,Un,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"&&(Sy?(document.addEventListener("touchstart",Lp,Fr?{passive:!0,capture:!0}:!0),document.addEventListener("touchend",Mk,Fr?{passive:!0,capture:!0}:!0)):(window.addEventListener("mousedown",Lp,!0),window.addEventListener("click",Dk,!0)),window.addEventListener("resize",jk));function Lp(e){for(let t=0;t<Xt.length;t++){const n=Xt[t];try{const r=n.popperNode();n.$_mouseDownContains=r.contains(e.target)}catch{}}}function Dk(e){Ay(e)}function Mk(e){Ay(e,!0)}function Ay(e,t=!1){const n={};for(let r=Xt.length-1;r>=0;r--){const o=Xt[r];try{const s=o.$_containsGlobalTarget=Fk(o,e);o.$_pendingHide=!1,requestAnimationFrame(()=>{if(o.$_pendingHide=!1,!n[o.randomId]&&Dp(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&&Dp(i,i.$_containsGlobalTarget,e);)i.$_handleGlobalClose(e,t),i=i.parentPopper}})}catch{}}}function Fk(e,t){const n=e.popperNode();return e.$_mouseDownContains||n.contains(t.target)}function Dp(e,t,n){return n.closeAllPopover||n.closePopover&&t||Bk(e,n)&&!t}function Bk(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function jk(e){for(let t=0;t<Xt.length;t++)Xt[t].$_computePosition(e)}let Hn=0,Un=0,$s=0,Os=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{Hn=$s,Un=Os,$s=e.clientX,Os=e.clientY},Fr?{passive:!0}:void 0);function ji(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 zk={extends:Cy()},_l=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function Hk(e,t,n,r,o,s){return Y(),ge("div",{ref:"reference",class:Qe(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[tt(e.$slots,"default",Au(Ja(e.slotData)))],2)}const Uk=_l(zk,[["render",Hk]]);function Vk(){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 Ji;function iu(){iu.init||(iu.init=!0,Ji=Vk()!==-1)}var bl={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){iu(),Lt(()=>{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",Ji&&this.$el.appendChild(e),e.data="about:blank",Ji||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&&(!Ji&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const Gk=E1();b1("data-v-b329ee4c");const Wk={class:"resize-observer",tabindex:"-1"};w1();const Kk=Gk((e,t,n,r,o,s)=>(Y(),xe("div",Wk)));bl.render=Kk;bl.__scopeId="data-v-b329ee4c";bl.__file="src/components/ResizeObserver.vue";const Ty=(e="theme")=>({computed:{themeClass(){return Lk(this[e])}}}),qk=Ae({name:"VPopperContent",components:{ResizeObserver:bl},mixins:[Ty()],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}}}),Yk=["id","aria-hidden","tabindex","data-popper-placement"],Xk={ref:"inner",class:"v-popper__inner"},Jk=V("div",{class:"v-popper__arrow-outer"},null,-1),Zk=V("div",{class:"v-popper__arrow-inner"},null,-1),Qk=[Jk,Zk];function eN(e,t,n,r,o,s){const i=$n("ResizeObserver");return Y(),ge("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:hn(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]=Xg(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:hn(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[V("div",Xk,[e.mounted?(Y(),ge(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))})):We("",!0)],64)):We("",!0)],512),V("div",{ref:"arrow",class:"v-popper__arrow-container",style:hn(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Qk,4)],4)],46,Yk)}const Ry=_l(qk,[["render",eN]]),Py={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 au=function(){};typeof window<"u"&&(au=window.Element);const tN=Ae({name:"VPopperWrapper",components:{Popper:Uk,PopperContent:Ry},mixins:[Py,Ty("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,au,Boolean],default:void 0},boundary:{type:[String,au],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 nN(e,t,n,r,o,s){const i=$n("PopperContent"),a=$n("Popper");return Y(),xe(a,kn({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:m,onResize:g,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":m,classes:v,result:_,onHide:p,onResize:g},{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 $f=_l(tN,[["render",nN]]),rN={...$f,name:"VDropdown",vPopperTheme:"dropdown"},oN={...$f,name:"VMenu",vPopperTheme:"menu"},sN={...$f,name:"VTooltip",vPopperTheme:"tooltip"},iN=Ae({name:"VTooltipDirective",components:{Popper:Cy(),PopperContent:Ry},mixins:[Py],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Zs(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Zs(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}}}),aN=["innerHTML"],lN=["textContent"];function cN(e,t,n,r,o,s){const i=$n("PopperContent"),a=$n("Popper");return Y(),xe(a,kn({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:m,classes:g,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:g,result:v,onHide:h,onResize:m},{default:ue(()=>[e.html?(Y(),ge("div",{key:0,innerHTML:e.finalContent},null,8,aN)):(Y(),ge("div",{key:1,textContent:bt(e.finalContent)},null,8,lN))]),_: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 uN=_l(iN,[["render",cN]]),$y="v-popper--has-tooltip";function fN(e,t){let n=e.placement;if(!n&&t)for(const r of xy)t[r]&&(n=r);return n||(n=Zs(e.theme||"tooltip","placement")),n}function Oy(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=fN(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let ic,Qs,dN=0;function hN(){if(ic)return;Qs=U([]),ic=Zg({name:"VTooltipDirectiveApp",setup(){return{directives:Qs}},render(){return this.directives.map(t=>et(uN,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),ic.mount(e)}function pN(e,t,n){hN();const r=U(Oy(e,t,n)),o=U(!1),s={id:dN++,options:r,shown:o};return Qs.value.push(s),e.classList&&e.classList.add($y),e.$_popper={options:r,item:s,show(){o.value=!0},hide(){o.value=!1}}}function ky(e){if(e.$_popper){const t=Qs.value.indexOf(e.$_popper.item);t!==-1&&Qs.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove($y)}function Mp(e,{value:t,modifiers:n}){const r=Oy(e,t,n);if(!r.content||Zs(r.theme||"tooltip","disabled"))ky(e);else{let o;e.$_popper?(o=e.$_popper,o.options.value=r):o=pN(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?o.show():o.hide())}}const mN={beforeMount:Mp,updated:Mp,beforeUnmount(e){ky(e)}};function Fp(e){e.addEventListener("click",Ny),e.addEventListener("touchstart",Iy,Fr?{passive:!0}:!1)}function Bp(e){e.removeEventListener("click",Ny),e.removeEventListener("touchstart",Iy),e.removeEventListener("touchend",Ly),e.removeEventListener("touchcancel",Dy)}function Ny(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function Iy(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",Ly),t.addEventListener("touchcancel",Dy)}}function Ly(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 Dy(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const gN={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Fp(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?Fp(e):Bp(e))},beforeUnmount(e){Bp(e)}};function vN(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Ey(Pn,t),e.directive("tooltip",mN),e.directive("close-popper",gN),e.component("VTooltip",sN),e.component("VDropdown",rN),e.component("VMenu",oN))}const yN={version:"5.0.2",install:vN,options:Pn},_N=Gt(e=>{e.vueApp.use(yN)}),bN=Gt(()=>{const e=ft(),t=f2(),n=rt();function r(){eg(e)}function o(i){t.value=i}function s(i,a,l,c){const u=`./${a}:${l}:${c}`;we.openInEditor(u)}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)})}),wN=[QS,tx,rk,ok,sk,ik,ak,fk,dk,pk,_N,bN];function EN(e,t){const n=t/e*100;return 2/Math.PI*100*Math.atan(n/50)}function SN(e={}){const{duration:t=2e3,throttle:n=200,hideDelay:r=500,resetDelay:o=400}=e,s=e.estimatedProgress||EN,i=Ne(),a=U(0),l=U(!1);let c=!1,u,f,d,h;const p=()=>m(0);function m(A=0){if(!i.isHydrating){if(A>=100)return v();y(),a.value=A<0?0:A,n?f=setTimeout(()=>{l.value=!0,b()},n):(l.value=!0,b())}}function g(){d=setTimeout(()=>{l.value=!1,h=setTimeout(()=>{a.value=0},o)},r)}function v(A={}){a.value=100,c=!0,y(),_(),A.force?(a.value=0,l.value=!1):g()}function _(){clearTimeout(d),clearTimeout(h)}function y(){clearTimeout(f),cancelAnimationFrame(u)}function b(){c=!1;let A;function O(k){if(c)return;A??=k;const D=k-A;a.value=Math.max(0,Math.min(100,s(t,D))),u=requestAnimationFrame(O)}u=requestAnimationFrame(O)}let E=()=>{};{const A=i.hook("page:loading:start",()=>{p()}),O=i.hook("page:loading:end",()=>{v()}),k=i.hook("vue:error",()=>v());E=()=>{k(),A(),O(),y()}}return{_cleanup:E,progress:se(()=>a.value),isLoading:se(()=>l.value),start:p,set:m,finish:v,clear:y}}function xN(e={}){const t=Ne(),n=t._loadingIndicator=t._loadingIndicator||SN(e);return Ru()&&(t._loadingIndicatorDeps=t._loadingIndicatorDeps||0,t._loadingIndicatorDeps++,Fm(()=>{t._loadingIndicatorDeps--,t._loadingIndicatorDeps===0&&(n._cleanup(),delete t._loadingIndicator)})),n}const CN=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}=xN({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)}}),AN=Ae({__name:"NNotification",setup(e){const t=U(!1),n=U(),r=U(),o=U(),s=U("top-center");return E2(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(),ge("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:hn({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:hn(t.value?{}:{transform:`translateY(${s.value.startsWith("top")?"-":""}300%)`}),class:Qe([t.value?"shadow":"shadow-none",o.value])},[n.value?(Y(),ge("div",{key:0,class:Qe(n.value)},null,2)):We("",!0),V("div",null,bt(r.value),1)],6)],4)],2))}}),di=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},TN={},RN={class:"n-loading n-panel-grids-center"},PN={class:"flex flex-col animate-pulse items-center text-lg"},$N=V("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1);function ON(e,t){return Y(),ge("div",RN,[V("div",PN,[$N,tt(e.$slots,"default",{},()=>[Re(" Loading... ")])])])}const kN=di(TN,[["render",ON]]),Do=Ae({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(Y(),ge("div",{class:Qe(["n-icon",t.icon])},null,2))}});async function My(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(()=>My(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 NN=(...e)=>e.find(t=>t!==void 0);function IN(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 jp(r,e.trailingSlash);const s="path"in r&&r.path!==void 0?r.path:o(r).path;return{...r,name:void 0,path:jp(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=rl(),a=se(()=>{const p=r.to||r.href||"";return n(p,s.resolve)}),l=se(()=>typeof a.value=="string"&&Dn(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"&&!DN()){const m=Ne();let g,v=null;Ln(()=>{const _=LN();sf(()=>{g=Uc(()=>{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([m.hooks.callHook("link:prefetch",y).catch(()=>{}),!u.value&&My(a.value,s).catch(()=>{})]),f.value=!0}))})})}),ni(()=>{g&&aC(g),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($n("RouterLink"),v,o.default)}const p=typeof a.value=="object"?s.resolve(a.value)?.href??null:a.value&&!r.external&&!l.value?n(tl(i.app.baseURL,a.value),s.resolve):a.value||null,m=r.target||null,g=NN(r.noRel?"":r.rel,e.externalRelAttribute,l.value||c.value?"noopener noreferrer":"")||null;if(r.custom){if(!o.default)return null;const v=()=>Lc(p,{replace:r.replace,external:r.external});return o.default({href:p,navigate:v,get route(){if(!p)return;const _=oi(p);return{path:_.pathname,fullPath:_.pathname,get query(){return t0(_.search)},hash:_.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:p}},rel:g,target:m,isExternal:u.value,isActive:!1,isExactActive:!1})}return et("a",{ref:d,href:p,rel:g,target:m},o.default?.())}}})}const Of=IN(US);function jp(e,t){const n=t==="append"?ha:el;return Dn(e)&&!e.startsWith("http")?e:n(e,!0)}function LN(){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 DN(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const cr=Ae({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(e){return(t,n)=>{const r=Do;return Y(),xe(po(t.to?j(Of):"button"),kn({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"])):We("",!0)]),tt(t.$slots,"default")]),_:3},16,["to","class"])}}}),MN=Symbol.for("nuxt:client-only"),FN=Ae({name:"ClientOnly",inheritAttrs:!1,props:["fallback","placeholder","placeholderTag","fallbackTag"],setup(e,{slots:t,attrs:n}){const r=U(!1);return Ln(()=>{r.value=!0}),er(MN,!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 ge(a,n,i)}}}),BN={name:ck,props:{placeholder:String,tag:{type:String,default:"span"}}};function jN(e,t,n,r,o,s){const i=FN;return Y(),xe(i,{placeholder:n.placeholder,"placeholder-tag":n.tag},{default:ue(()=>[tt(e.$slots,"default")]),_:3},8,["placeholder","placeholder-tag"])}const zN=di(BN,[["render",jN]]),HN=Ae({__name:"NDarkToggle",setup(e){const t=ZC(),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 Lt()}).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=zN;return Y(),xe(l,{tag:"span"},{default:ue(()=>[tt(i.$slots,"default",Au(Ja(s)))]),_:3})}}}),UN={class:"n-tip n-tip-base"},VN=Ae({__name:"NTip",props:{icon:{}},setup(e){return(t,n)=>{const r=Do;return Y(),ge("div",UN,[tt(t.$slots,"icon",{},()=>[t.icon?(Y(),xe(r,{key:0,icon:t.icon,class:"n-tip-icon"},null,8,["icon"])):We("",!0)]),V("div",null,[tt(t.$slots,"default")])])}}}),GN={},WN={class:"n-card n-card-base"};function KN(e,t){return Y(),ge("div",WN,[tt(e.$slots,"default")])}const kf=di(GN,[["render",KN]]);/*!
|
|
41
|
-
* tabbable 6.2.0
|
|
42
|
-
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
43
|
-
*/var Fy=["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])"],Ia=Fy.join(","),By=typeof Element>"u",Br=By?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,La=!By&&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},Da=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},qN=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},jy=function(t,n,r){if(Da(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(Ia));return n&&Br.call(t,Ia)&&o.unshift(t),o=o.filter(r),o},zy=function e(t,n,r){for(var o=[],s=Array.from(t);s.length;){var i=s.shift();if(!Da(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=Br.call(i,Ia);u&&r.filter(i)&&(n||!t.includes(i))&&o.push(i);var f=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),d=!Da(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},Hy=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},Er=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||qN(t))&&!Hy(t)?0:t.tabIndex},YN=function(t,n){var r=Er(t);return r<0&&n&&!Hy(t)?0:r},XN=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},Uy=function(t){return t.tagName==="INPUT"},JN=function(t){return Uy(t)&&t.type==="hidden"},ZN=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},QN=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},eI=function(t){if(!t.name)return!0;var n=t.form||La(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=QN(o,t.form);return!s||s===t},tI=function(t){return Uy(t)&&t.type==="radio"},nI=function(t){return tI(t)&&!eI(t)},rI=function(t){var n,r=t&&La(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=La(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},zp=function(t){var n=t.getBoundingClientRect(),r=n.width,o=n.height;return r===0&&o===0},oI=function(t,n){var r=n.displayCheck,o=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var s=Br.call(t,"details>summary:first-of-type"),i=s?t.parentElement:t;if(Br.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=La(t);if(l&&!l.shadowRoot&&o(l)===!0)return zp(t);t.assignedSlot?t=t.assignedSlot:!l&&c!==t.ownerDocument?t=c.host:t=l}t=a}if(rI(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return zp(t);return!1},sI=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 Br.call(n,"fieldset[disabled] *")?!0:!o.contains(t)}return!0}n=n.parentElement}return!1},Ma=function(t,n){return!(n.disabled||Da(n)||JN(n)||oI(n,t)||ZN(n)||sI(n))},lu=function(t,n){return!(nI(n)||Er(n)<0||!Ma(t,n))},iI=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},aI=function e(t){var n=[],r=[];return t.forEach(function(o,s){var i=!!o.scopeParent,a=i?o.scopeParent:o,l=YN(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(XN).reduce(function(o,s){return s.isScope?o.push.apply(o,s.content):o.push(s.content),o},[]).concat(n)},lI=function(t,n){n=n||{};var r;return n.getShadowRoot?r=zy([t],n.includeContainer,{filter:lu.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:iI}):r=jy(t,n.includeContainer,lu.bind(null,n)),aI(r)},cI=function(t,n){n=n||{};var r;return n.getShadowRoot?r=zy([t],n.includeContainer,{filter:Ma.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=jy(t,n.includeContainer,Ma.bind(null,n)),r},Yr=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Br.call(t,Ia)===!1?!1:lu(n,t)},uI=Fy.concat("iframe").join(","),ac=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return Br.call(t,uI)===!1?!1:Ma(n,t)};/*!
|
|
44
|
-
* focus-trap 7.5.4
|
|
45
|
-
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
46
|
-
*/function Hp(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 Up(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Hp(Object(n),!0).forEach(function(r){fI(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hp(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function fI(e,t,n){return t=hI(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function dI(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 hI(e){var t=dI(e,"string");return typeof t=="symbol"?t:String(t)}var Vp={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()}},pI=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},mI=function(t){return t?.key==="Escape"||t?.key==="Esc"||t?.keyCode===27},ks=function(t){return t?.key==="Tab"||t?.keyCode===9},gI=function(t){return ks(t)&&!t.shiftKey},vI=function(t){return ks(t)&&t.shiftKey},Gp=function(t){return setTimeout(t,0)},Wp=function(t,n){var r=-1;return t.every(function(o,s){return n(o)?(r=s,!1):!0}),r},ps=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},zi=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},yI=[],_I=function(t,n){var r=n?.document||document,o=n?.trapStack||yI,s=Up({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:gI,isKeyBackward:vI},n),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a,l=function(C,S,T){return C&&C[S]!==void 0?C[S]:s[T||S]},c=function(C,S){var T=typeof S?.composedPath=="function"?S.composedPath():void 0;return i.containerGroups.findIndex(function(M){var R=M.container,$=M.tabbableNodes;return R.contains(C)||T?.includes(R)||$.find(function(I){return I===C})})},u=function(C){var S=s[C];if(typeof S=="function"){for(var T=arguments.length,M=new Array(T>1?T-1:0),R=1;R<T;R++)M[R-1]=arguments[R];S=S.apply(void 0,M)}if(S===!0&&(S=void 0),!S){if(S===void 0||S===!1)return S;throw new Error("`".concat(C,"` 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(C,"` as selector refers to no known node"));return $},f=function(){var C=u("initialFocus");if(C===!1)return!1;if(C===void 0||!ac(C,s.tabbableOptions))if(c(r.activeElement)>=0)C=r.activeElement;else{var S=i.tabbableGroups[0],T=S&&S.firstTabbableNode;C=T||u("fallbackFocus")}if(!C)throw new Error("Your focus-trap needs to have at least one focusable element");return C},d=function(){if(i.containerGroups=i.containers.map(function(C){var S=lI(C,s.tabbableOptions),T=cI(C,s.tabbableOptions),M=S.length>0?S[0]:void 0,R=S.length>0?S[S.length-1]:void 0,$=T.find(function(ae){return Yr(ae)}),I=T.slice().reverse().find(function(ae){return Yr(ae)}),J=!!S.find(function(ae){return Er(ae)>0});return{container:C,tabbableNodes:S,focusableNodes:T,posTabIndexesFound:J,firstTabbableNode:M,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 Yr(Ce)}):T.slice(0,T.indexOf(ie)).reverse().find(function(Ce){return Yr(Ce)}):S[Se+(le?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(C){return C.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(C){return C.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(C){var S=C.activeElement;if(S)return S.shadowRoot&&S.shadowRoot.activeElement!==null?L(S.shadowRoot):S},p=function L(C){if(C!==!1&&C!==h(document)){if(!C||!C.focus){L(f());return}C.focus({preventScroll:!!s.preventScroll}),i.mostRecentlyFocusedNode=C,pI(C)&&C.select()}},m=function(C){var S=u("setReturnFocus",C);return S||(S===!1?!1:C)},g=function(C){var S=C.target,T=C.event,M=C.isBackward,R=M===void 0?!1:M;S=S||zi(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=Wp(i.tabbableGroups,function(Ge){var B=Ge.firstTabbableNode;return S===B});if(ae<0&&(J.container===S||ac(S,s.tabbableOptions)&&!Yr(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];$=Er(S)>=0?le.lastTabbableNode:le.lastDomTabbableNode}else ks(T)||($=J.nextTabbableNode(S,!1))}else{var Se=Wp(i.tabbableGroups,function(Ge){var B=Ge.lastTabbableNode;return S===B});if(Se<0&&(J.container===S||ac(S,s.tabbableOptions)&&!Yr(S,s.tabbableOptions)&&!J.nextTabbableNode(S))&&(Se=I),Se>=0){var Ce=Se===i.tabbableGroups.length-1?0:Se+1,qe=i.tabbableGroups[Ce];$=Er(S)>=0?qe.firstTabbableNode:qe.firstDomTabbableNode}else ks(T)||($=J.nextTabbableNode(S))}}else $=u("fallbackFocus");return $},v=function(C){var S=zi(C);if(!(c(S,C)>=0)){if(ps(s.clickOutsideDeactivates,C)){a.deactivate({returnFocus:s.returnFocusOnDeactivate});return}ps(s.allowOutsideClick,C)||C.preventDefault()}},_=function(C){var S=zi(C),T=c(S,C)>=0;if(T||S instanceof Document)T&&(i.mostRecentlyFocusedNode=S);else{C.stopImmediatePropagation();var M,R=!0;if(i.mostRecentlyFocusedNode)if(Er(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&&(M=I[J+1],R=!1):J-1>=0&&(M=I[J-1],R=!1))}}else i.containerGroups.some(function(ae){return ae.tabbableNodes.some(function(ie){return Er(ie)>0})})||(R=!1);else R=!1;R&&(M=g({target:i.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(i.recentNavEvent)})),p(M||i.mostRecentlyFocusedNode||f())}i.recentNavEvent=void 0},y=function(C){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=C;var T=g({event:C,isBackward:S});T&&(ks(C)&&C.preventDefault(),p(T))},b=function(C){if(mI(C)&&ps(s.escapeDeactivates,C)!==!1){C.preventDefault(),a.deactivate();return}(s.isKeyForward(C)||s.isKeyBackward(C))&&y(C,s.isKeyBackward(C))},E=function(C){var S=zi(C);c(S,C)>=0||ps(s.clickOutsideDeactivates,C)||ps(s.allowOutsideClick,C)||(C.preventDefault(),C.stopImmediatePropagation())},A=function(){if(i.active)return Vp.activateTrap(o,a),i.delayInitialFocusTimer=s.delayInitialFocus?Gp(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(C){var S=C.some(function(T){var M=Array.from(T.removedNodes);return M.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(C){D.observe(C,{subtree:!0,childList:!0})}))};return a={get active(){return i.active},get paused(){return i.paused},activate:function(C){if(i.active)return this;var S=l(C,"onActivate"),T=l(C,"onPostActivate"),M=l(C,"checkCanFocusTrap");M||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,S?.();var R=function(){M&&d(),A(),P(),T?.()};return M?(M(i.containers.concat()).then(R,R),this):(R(),this)},deactivate:function(C){if(!i.active)return this;var S=Up({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},C);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,O(),i.active=!1,i.paused=!1,P(),Vp.deactivateTrap(o,a);var T=l(S,"onDeactivate"),M=l(S,"onPostDeactivate"),R=l(S,"checkCanReturnFocus"),$=l(S,"returnFocus","returnFocusOnDeactivate");T?.();var I=function(){Gp(function(){$&&p(m(i.nodeFocusedBeforeActivation)),M?.()})};return $&&R?(R(m(i.nodeFocusedBeforeActivation)).then(I,I),this):(I(),this)},pause:function(C){if(i.paused||!i.active)return this;var S=l(C,"onPause"),T=l(C,"onPostPause");return i.paused=!0,S?.(),O(),P(),T?.(),this},unpause:function(C){if(!i.paused||!i.active)return this;var S=l(C,"onUnpause"),T=l(C,"onPostUnpause");return i.paused=!1,S?.(),d(),A(),P(),T?.(),this},updateContainerElements:function(C){var S=[].concat(C).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 bI(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(()=>pt(e),f=>{f&&(n=_I(f,{...o,onActivate(){s.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){s.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&a())},{flush:"post"}),vn(()=>l()),{hasFocus:s,isPaused:i,activate:a,deactivate:l,pause:c,unpause:u}}const wI={inheritAttrs:!1},wl=Ae({...wI,__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=X0(n,"modelValue",r,{passive:!0}),s=U(null),i=U(!1),{activate:a,deactivate:l}=bI(se(()=>s.value||document.body),{immediate:!1});return Nr(()=>{!i.value&&o.value&&(i.value=!0),o.value&&s.value?Lt(a):l()}),cf(s,()=>{n.modelValue&&n.autoClose&&(o.value=!1,r("close"))},{ignore:["a","button","summary"]}),(c,u)=>{const f=kf;return i.value?(Y(),xe(kg,{key:0,to:"body"},[Fs(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,kn(c.$attrs,{ref_key:"card",ref:s,class:"max-h-screen of-auto"}),{default:ue(()=>[tt(c.$slots,"default")]),_:3},16)],2),[[Cc,j(o)]])])):We("",!0)}}});function EI(){return ci("virtual-files:current","")}function I3(){return ci("terminals:current","")}function L3(){return ci("server-routes:current","")}function D3(){return ci("server-tasks:current","")}function M3(){const e=sy(),t=FO(),n=rt(),r=EI();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 Vy(){const e=GC();return(t,n)=>{e.copy(t),ml("copy",{copyType:n}),vf({message:"Copied to clipboard",icon:"carbon-checkmark"})}}const SI=V("div",{"carbon-launch":""},null,-1),xI=V("div",{"carbon-launch":""},null,-1),CI=V("span",{"mt-0.5":"","text-xs":"",op50:""},"(not supported)",-1),AI=V("h1",{"text-3xl":""}," Popup is not Supported ",-1),TI=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),RI=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),PI=Ae({__name:"PictureInPictureButton",setup(e){const t=ft(),n=window.__NUXT_DEVTOOLS_IS_POPUP__,r=se(()=>window.isSecureContext),o=U(!1),s=Vy();function i(){const a=t.value?.devtools?.popup;a&&(ml("popup"),a())}return(a,l)=>{const c=cr,u=Of,f=VN,d=wl;return j(n)?We("",!0):(Y(),ge(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(()=>[SI,Re(" Popup ")]),_:1})):(Y(),ge(Le,{key:1},[K(c,{n:"sm primary",onClick:l[1]||(l[1]=h=>o.value=!0)},{default:ue(()=>[xI,Re(" Popup "),CI]),_:1}),K(d,{modelValue:j(o),"onUpdate:modelValue":l[4]||(l[4]=h=>ze(o)?o.value=h:null),class:"max-w-150 p6 pt-2 prose",onClose:l[5]||(l[5]=h=>o.value=!1)},{default:ue(()=>[AI,TI,RI,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)?We("",!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))}}}),$I={px3:"",py2:"",border:"b base",flex:"~ gap-2"},OI=V("div",{"i-carbon-sun":"","dark:i-carbon-moon":"","translate-y--1px":""},null,-1),kI=V("div",{"i-carbon-settings-adjust":""},null,-1),NI={px3:"",py2:"",border:"b base",flex:"~ gap-2"},II=V("div",{"i-carbon-split-screen":""},null,-1),LI={px3:"",py2:"",flex:"~ gap2"},DI=Ae({__name:"DockingPanel",setup(e){const{sidebarExpanded:t}=Vr();function n(){Xn.value=!Xn.value}return(r,o)=>{const s=cr,i=HN,a=Do,l=PI;return Y(),ge("div",null,[V("div",$I,[K(i,null,{default:ue(({toggle:c,isDark:u})=>[K(s,{n:"sm primary",onClick:c},{default:ue(()=>[OI,Re(" "+bt(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(" "+bt(j(t)?"Minimize Sidebar":"Expand Sidebar"),1)]),_:1}),K(s,{n:"sm primary",to:"/settings"},{default:ue(()=>[kI,Re(" Settings ")]),_:1})]),V("div",NI,[("splitScreenAvailable"in r?r.splitScreenAvailable:j(tu))?(Y(),xe(s,{key:0,n:"sm primary",onClick:n},{default:ue(()=>[II,Re(" "+bt(("splitScreenEnabled"in r?r.splitScreenEnabled:j(Xn))?"Close Split Screen":"Split Screen"),1)]),_:1})):We("",!0),K(l)]),V("div",LI,[K(s,{n:"primary sm",onClick:"refreshData"in r?r.refreshData:j(Uv)},{default:ue(()=>[Re(" Refetch Data ")]),_:1},8,["onClick"]),K(s,{n:"primary sm",onClick:"reloadPage"in r?r.reloadPage:j(Vv)},{default:ue(()=>[Re(" Reload Page ")]),_:1},8,["onClick"])])])}}}),MI=["src","alt"],FI=["title"],El=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(),ge("img",kn({key:0,style:{width:"1em",height:"1em"}},t.$attrs,{src:t.icon,alt:t.title}),null,16,MI)):(Y(),ge("div",kn({key:1,style:{width:"1em",height:"1em"}},t.$attrs,{class:t.icon||"carbon-bring-forward",title:t.showTitle?t.title:void 0}),null,16,FI))}}),BI={flex:"~ items-center gap-3"},jI={key:0,"overflow-hidden":"","text-ellipsis":"","ws-nowrap":""},zI={"translate-y-0.5px":""},HI={key:0,hidden:"","lg:block":""},Gy=Ae({__name:"SideNavItem",props:{tab:{},minimized:{type:Boolean,default:!0},target:{default:"main"}},setup(e){const t=e,n=Po(),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(){ml("tab-click",{tab:t.tab.name,tabPosition:t.target}),"onClick"in t.tab&&t.tab.onClick?t.tab.onClick():t.target==="side"&&(uy.value=t.tab.name)}return(a,l)=>{const c=El,u=$n("VTooltip");return Y(),xe(u,{disabled:!a.minimized,placement:"right",class:Qe({"w-full":!a.minimized})},{popper:ue(()=>[V("div",null,bt(a.tab.title),1),"extraTabVNode"in a.tab&&a.tab.extraTabVNode?(Y(),ge("div",HI,[(Y(),xe(po(a.tab.extraTabVNode)))])):We("",!0)]),default:ue(()=>[(Y(),xe(po(a.target==="main"?j(Of):"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",BI,[K(c,{"text-xl":"",icon:a.tab.icon,title:"Settings","show-title":!1},null,8,["icon"]),a.minimized?We("",!0):(Y(),ge("span",jI,bt(a.tab.title),1))]),j(o)?(Y(),ge("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",zI,bt(("toValue"in a?a.toValue:j(cn))(j(o))),1)],2)):We("",!0)]),_:1},8,["to","flex","w","rounded","p"]))]),_:1},8,["disabled","class"])}}});function UI(){const e=MO(),t=Vr(),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 Wy(){return{pinned:[],app:[],analyze:[],server:[],modules:[],documentation:[],advanced:[]}}function Zi(e){const{pinnedTabs:t}=Vr();return se(()=>{const n=Wy();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 Nf(){const e=UI(),t=Vr(),n=Object.keys(Wy()),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]&&!cn(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 F3(){const e=zv(),t=oy();return se(()=>(e.value?.getRoutes()||[]).map(n=>ry(n,["path","name","meta","props","children"])).map(n=>({...t.value?.find(r=>r.name&&r.name===n.name),...n})))}const VI={flex:"~ col gap-1","max-w-80":"",py1:""},GI={key:0,"h-1px":"",border:"b base"},WI={flex:"~ wrap",px1:""},Ky=Ae({__name:"TabsGrid",props:{categories:{},target:{}},setup(e){return(t,n)=>{const r=Gy;return Y(),ge("div",VI,[(Y(!0),ge(Le,null,zs(t.categories,([o,s],i)=>(Y(),ge(Le,{key:o},[s.length?(Y(),ge(Le,{key:0},[i?(Y(),ge("div",GI)):We("",!0),V("div",WI,[(Y(!0),ge(Le,null,zs(s,a=>(Y(),xe(r,{key:a.name,target:t.target,tab:a},null,8,["target","tab"]))),128))])],64)):We("",!0)],64))),128))])}}}),KI={id:"nuxt-devtools-side-nav",border:"r base",flex:"~ col","z-100":"","h-full":"","items-start":"","of-hidden":"","bg-base":""},qI={sticky:"","top-0":"","z-1":"","w-full":"",p1:"","bg-base":"",border:"b base"},YI=["title"],XI=V("div",{"i-logos-nuxt-icon":"","h-6":"","w-6":""},null,-1),JI=V("span",{text:"lg black dark:white","font-600":""}," DevTools ",-1),ZI=V("div",{"flex-auto":""},null,-1),QI=V("div",{"i-carbon-overflow-menu-vertical":""},null,-1),e4={key:0,my1:"","h-1px":"","w-full":"",border:"b base"},t4=V("div",{"flex-auto":""},null,-1),n4=["flex"],r4={absolute:"","bottom-0":"","right-0":"","h-4":"","w-4":"","rounded-full":"","text-9px":"",flex:"~ items-center justify-center",border:"~ base"},o4={"translate-y-0.5px":""},s4=45,i4=Ae({__name:"SideNav",setup(e){const t=ft(),n=Nf(),{sidebarExpanded:r,sidebarScrollable:o}=Vr(),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}=J0(),h=se(()=>{const b=d.value-130;return Math.max(0,Math.floor(b/s4))}),p=se(()=>n.value.slice(0,h.value)),m=se(()=>n.value.slice(h.value)),g=Zi(n),v=Zi(p),_=Zi(m),y=se(()=>o.value||r.value?g.value:v.value);return cf(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 A=DI,O=$n("VDropdown"),k=Gy,D=El;return Y(),ge("div",KI,[V("div",qI,[K(O,{placement:"left-start",distance:12,skidding:5,triggers:[],shown:j(s),"auto-hide":!0},{popper:ue(()=>[K(A,{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},[XI,j(r)?(Y(),ge(Le,{key:0},[JI,ZI,QI],64)):We("",!0)],10,YI)]),_:1},8,["shown"])]),V("div",{flex:"~ auto col gap-0.5 items-center","w-full":"",p1:"",class:Qe(["no-scrollbar",j(r)?"":"of-x-hidden of-y-auto"])},[(Y(!0),ge(Le,null,zs(j(y),([P,L],C)=>(Y(),ge(Le,{key:P},[L.length?(Y(),ge(Le,{key:0},[C?(Y(),ge("div",e4)):We("",!0),(Y(!0),ge(Le,null,zs(L,S=>(Y(),xe(k,{key:S.name,tab:S,minimized:!j(r)},null,8,["tab","minimized"]))),128))],64)):We("",!0)],64))),128)),t4],2),V("div",{flex:`~ items-center gap-1 ${j(r)?"":"none col"}`,border:"t base",sticky:"","bottom-0":"","w-full":"",p1:"","bg-base":""},[j(m).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(Ky,{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",r4,[V("span",o4,bt(j(m).length),1)])],512)]),_:1},8,["shown"])):We("",!0),K(k,{minimized:!j(r),tab:{icon:"i-carbon:settings-adjust",title:"Settings",name:"settings",path:"/settings"}},null,8,["minimized"])],8,n4)])}}}),a4=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 er(si,To(r)),()=>et(e.vnode,{ref:e.vnodeRef})}}),l4=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=wt(si,null);let i;n({pageRef:o});const a=wt(v0,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(j0,{name:e.name,route:e.route,...t},{default:u=>{const f=u4(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=Hc(u,e.pageKey);!r.isHydrating&&!f4(s,u.route,u.Component)&&i===h&&r.callHook("page:loading:end"),i=h;const p=!!(e.transition??u.route.meta.pageTransition??Fc),m=p&&c4([e.transition,u.route.meta.pageTransition,Fc,{onAfterLeave:()=>{r.callHook("page:transition:finish",u.Component)}}].filter(Boolean)),g=e.keepalive??u.route.meta.keepalive??HS;return l=cy(Qa,p&&m,iC(g,et(Hu,{suspensible:!0,onPending:()=>r.callHook("page:start",u.Component),onResolve:()=>{Lt(()=>r.callHook("page:finish",u.Component).then(()=>r.callHook("page:loading:end")).finally(c))}},{default:()=>{const v=et(a4,{key:h||void 0,vnode:u.Component,route:u.route,renderKey:h||void 0,trackRootNodes:p,vnodeRef:o});return g&&(v.type.name=u.Component.type.name||u.Component.type.__name||"RouteProvider"),v}}))).default(),l}})}});function c4(e){const t=e.map(n=>({...n,onAfterLeave:n.onAfterLeave?of(n.onAfterLeave):void 0}));return m0(...t)}function u4(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&&Hc({route:t,Component:n})!==Hc({route:e,Component:n})}function f4(e,t,n){return e?t.matched.findIndex(o=>o.components?.default===n?.type)<t.matched.length-1:!1}const d4={},h4={class:"n-panel-grids-center"};function p4(e,t){return Y(),ge("div",h4,[tt(e.$slots,"default")])}const qy=di(d4,[["render",p4]]),m4={"h-full":"","h-screen":"","of-hidden":""},g4={border:"b base",flex:"~ gap1","z-99":"",px4:"",py3:"","n-navbar-glass":""},v4=V("div",{"i-carbon-chevron-down":"","text-sm":"",op50:""},null,-1),y4=V("div",{"flex-auto":""},null,-1),_4={key:0,"of-auto":"",style:{height:"calc(100% - 50px)"}},b4=V("span",{"text-lg":"",op50:""}," Select a tab to start ",-1),w4=Ae({__name:"SplitScreen",setup(e){const t=Nf(),n=en(),r=Po(),o=rt(),s=se(()=>t.value.filter(d=>d.name!==r.name&&d.name!==r.params?.name)),i=Zi(s),a=se(()=>s.value.find(d=>d.name===uy.value));De(()=>a.value,d=>{if(!d)return;const h=o.getRoutes(),p=d&&"path"in d?h.find(g=>g.path===d.path):h.find(g=>g.name==="modules-custom-name");if(p?.path===r.path||r.params?.name===d.name){n.value=void 0;return}const m=p?.components?.default;typeof m=="function"?n.value=sa(m):n.value=m},{immediate:!0});function l(){Xn.value=!1}const c=U(),u=U(),f=U(!1);return cf(c,d=>{u.value&&d.composedPath().includes(u.value)||(f.value=!1)},{detectIframe:!0}),(d,h)=>{const p=El,m=Ky,g=$n("VDropdown"),v=cr,_=kf,y=qy,b=R1("tooltip");return Y(),ge("div",m4,[V("div",g4,[K(g,{placement:"bottom-start",distance:12,skidding:5,triggers:[],shown:j(f),"auto-hide":!0},{popper:ue(()=>[K(m,{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))},[v4,j(a)?(Y(),ge(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,bt(j(a).title),1)],64)):(Y(),ge(Le,{key:1},[Re(" Select a tab ")],64))],512)]),_:1},8,["shown"]),y4,Fs(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(),ge("div",_4,["view"in j(a)?(Y(),xe(po(j(n)),{key:j(a).name,name:j(a).name},null,8,["name"])):(Y(),xe(po(j(n)),{key:`tab-${j(a).name}`}))])):(Y(),xe(y,{key:1},{default:ue(()=>[b4,K(_,{px4:"",py2:""},{default:ue(()=>[K(m,{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}))])}}}),E4={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())}},S4=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},x4={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 C4(e,t,n,r,o,s){return Y(),ge("div",{class:"splitpanes__pane",onClick:t[0]||(t[0]=i=>s.onPaneClick(i,e._.uid)),style:hn(e.style)},[tt(e.$slots,"default")],4)}const Kp=S4(x4,[["render",C4]]),qp=30,A4=Ae({__name:"NSplitPane",props:{storageKey:{},stateKey:{default:"nuxt-devtools-panels-state"},leftSize:{},minSize:{},horizontal:{type:Boolean}},setup(e){const t=e,n=No(t.stateKey,{},{listenToStorageChanges:!1}),r=t.storageKey,o=r?se({get:()=>n.value[r]||t.leftSize||qp,set:s=>{n.value[r]=s}}):U(t.leftSize||qp);return(s,i)=>(Y(),xe(j(E4),{horizontal:s.horizontal,"h-full":"","of-hidden":"",onResize:i[0]||(i[0]=a=>o.value=a[0].size)},{default:ue(()=>[K(j(Kp),{"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(Kp),{key:0,relative:"","h-full":"",class:"of-auto!","min-size":s.minSize||10},{default:ue(()=>[tt(s.$slots,"right")]),_:3},8,["min-size"])):We("",!0)]),_:3},8,["horizontal"]))}}),T4=Ae({name:"LayoutLoader",inheritAttrs:!1,props:{name:String,layoutProps:Object},async setup(e,t){const n=await Jn[e.name]().then(r=>r.default||r);return()=>et(n,e.layoutProps,t.slots)}}),R4=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=wt(si),o=r===Po()?oC():r,s=se(()=>{let l=j(e.name)??o.meta.layout??"default";return l&&!(l in Jn)&&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 Jn,c=o.meta.layoutTransition??zS;return cy(Qa,l&&c,{default:()=>et(Hu,{suspensible:!0,onResolve:()=>{Lt(a)}},{default:()=>et(P4,{layoutProps:kn(t.attrs,{ref:i}),key:s.value||void 0,name:s.value,shouldProvide:!e.name,hasTransition:!!c},t.slots)})}).default()}}}),P4=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&&er(v0,{isCurrent:r=>n===(r.meta.layout??"default")}),()=>!n||typeof n=="string"&&!(n in Jn)?t.slots.default?.():et(T4,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}}),$4={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"},Yy=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=X0(e,"modelValue",t,{passive:!0});return(s,i)=>{const a=Do;return Y(),ge("div",$4,[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"])):We("",!0)]),Fs(V("input",kn({"onUpdate:modelValue":i[0]||(i[0]=l=>ze(o)?o.value=l:null)},s.$props,{class:"ml-0.4em w-full flex-auto n-bg-base !outline-none"}),null,16),[[ow,j(o)]])])}}}),cu=St(new Map);function O4(){const e=Nf(),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:()=>I4()}],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(cu.values()).flatMap(o=>cn(o))])}function k4(e){const t=IO();cu.set(t,e),js(()=>{cu.delete(t)})}let lc;const N4=[[":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 I4(){return lc||(lc=(await ve(()=>import("./D5r6TWiw.js"),__vite__mapDeps([]),import.meta.url).then(t=>t.default)).map(t=>({...t,icon:N4.find(([n])=>t.id.includes(n))?.[1]||"i-carbon-document-multiple-01",action:()=>{window.open(t.url,"_blank")}}))),lc}function Nn(e){return Array.isArray?Array.isArray(e):Zy(e)==="[object Array]"}const L4=1/0;function D4(e){if(typeof e=="string")return e;let t=e+"";return t=="0"&&1/e==-L4?"-0":t}function M4(e){return e==null?"":D4(e)}function dn(e){return typeof e=="string"}function Xy(e){return typeof e=="number"}function F4(e){return e===!0||e===!1||B4(e)&&Zy(e)=="[object Boolean]"}function Jy(e){return typeof e=="object"}function B4(e){return Jy(e)&&e!==null}function It(e){return e!=null}function cc(e){return!e.trim().length}function Zy(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}const j4="Incorrect 'index' type",z4=e=>`Invalid value for key ${e}`,H4=e=>`Pattern length exceeds max of ${e}.`,U4=e=>`Missing ${e} property in key`,V4=e=>`Property 'weight' in key '${e}' must be a positive integer`,Yp=Object.prototype.hasOwnProperty;class G4{constructor(t){this._keys=[],this._keyMap={};let n=0;t.forEach(r=>{let o=Qy(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 Qy(e){let t=null,n=null,r=null,o=1,s=null;if(dn(e)||Nn(e))r=e,t=Xp(e),n=uu(e);else{if(!Yp.call(e,"name"))throw new Error(U4("name"));const i=e.name;if(r=i,Yp.call(e,"weight")&&(o=e.weight,o<=0))throw new Error(V4(i));t=Xp(i),n=uu(i),s=e.getFn}return{path:t,id:n,weight:o,src:r,getFn:s}}function Xp(e){return Nn(e)?e:e.split(".")}function uu(e){return Nn(e)?e.join("."):e}function W4(e,t){let n=[],r=!1;const o=(s,i,a)=>{if(It(s))if(!i[a])n.push(s);else{let l=i[a];const c=s[l];if(!It(c))return;if(a===i.length-1&&(dn(c)||Xy(c)||F4(c)))n.push(M4(c));else if(Nn(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,dn(t)?t.split("."):t,0),r?n:n[0]}const K4={includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},q4={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},Y4={location:0,threshold:.6,distance:100},X4={useExtendedSearch:!1,getFn:W4,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var _e={...q4,...K4,...Y4,...X4};const J4=/[^ ]+/g;function Z4(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(o){const s=o.match(J4).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 If{constructor({getFn:t=_e.getFn,fieldNormWeight:n=_e.fieldNormWeight}={}){this.norm=Z4(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,dn(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();dn(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(!It(t)||cc(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(It(i)){if(Nn(i)){let a=[];const l=[{nestedArrIndex:-1,value:i}];for(;l.length;){const{nestedArrIndex:c,value:u}=l.pop();if(It(u))if(dn(u)&&!cc(u)){let f={v:u,i:c,n:this.norm.get(u)};a.push(f)}else Nn(u)&&u.forEach((f,d)=>{l.push({nestedArrIndex:d,value:f})})}r.$[s]=a}else if(dn(i)&&!cc(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 e_(e,t,{getFn:n=_e.getFn,fieldNormWeight:r=_e.fieldNormWeight}={}){const o=new If({getFn:n,fieldNormWeight:r});return o.setKeys(e.map(Qy)),o.setSources(t),o.create(),o}function Q4(e,{getFn:t=_e.getFn,fieldNormWeight:n=_e.fieldNormWeight}={}){const{keys:r,records:o}=e,s=new If({getFn:t,fieldNormWeight:n});return s.setKeys(r),s.setIndexRecords(o),s}function Hi(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 eL(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 Sr=32;function tL(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>Sr)throw new Error(H4(Sr));const u=t.length,f=e.length,d=Math.max(0,Math.min(r,f));let h=s,p=d;const m=a>1||l,g=m?Array(f):[];let v;for(;(v=e.indexOf(t,p))>-1;){let O=Hi(t,{currentLocation:v,expectedLocation:d,distance:o,ignoreLocation:c});if(h=Math.min(O,h),p=v+u,m){let k=0;for(;k<u;)g[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;)Hi(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,C=Array(L+2);C[L+1]=(1<<O)-1;for(let T=L;T>=P;T-=1){let M=T-1,R=n[e.charAt(M)];if(m&&(g[M]=+!!R),C[T]=(C[T+1]<<1|1)&R,O&&(C[T]|=(_[T+1]|_[T])<<1|1|_[T+1]),C[T]&E&&(y=Hi(t,{errors:O,currentLocation:M,expectedLocation:d,distance:o,ignoreLocation:c}),y<=h)){if(h=y,p=M,p<=d)break;P=Math.max(1,2*d-p)}}if(Hi(t,{errors:O+1,currentLocation:d,expectedLocation:d,distance:o,ignoreLocation:c})>h)break;_=C}const A={isMatch:p>=0,score:Math.max(.001,y)};if(m){const O=eL(g,a);O.length?l&&(A.indices=O):A.isMatch=!1}return A}function nL(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 t_{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:nL(d),startIndex:h})},f=this.pattern.length;if(f>Sr){let d=0;const h=f%Sr,p=f-h;for(;d<p;)u(this.pattern.substr(d,Sr),d),d+=Sr;if(h){const m=f-Sr;u(this.pattern.substr(m),m)}}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:m,startIndex:g})=>{const{isMatch:v,score:_,indices:y}=tL(t,p,m,{location:o+g,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 ur{constructor(t){this.pattern=t}static isMultiMatch(t){return Jp(t,this.multiRegex)}static isSingleMatch(t){return Jp(t,this.singleRegex)}search(){}}function Jp(e,t){const n=e.match(t);return n?n[1]:null}class rL extends ur{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 oL extends ur{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 sL extends ur{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 iL extends ur{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 aL extends ur{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 lL extends ur{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 n_ extends ur{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 t_(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 r_ extends ur{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 fu=[rL,r_,sL,iL,lL,aL,oL,n_],Zp=fu.length,cL=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,uL="|";function fL(e,t={}){return e.split(uL).map(n=>{let r=n.trim().split(cL).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<Zp;){const u=fu[c];let f=u.isMultiMatch(a);f&&(o.push(new u(f,t)),l=!0)}if(!l)for(c=-1;++c<Zp;){const u=fu[c];let f=u.isSingleMatch(a);if(f){o.push(new u(f,t));break}}}return o})}const dL=new Set([n_.type,r_.type]);class hL{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=fL(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:m,score:g}=h.search(t);if(p){if(s+=1,a+=g,r){const v=h.constructor.type;dL.has(v)?i=[...i,...m]:i.push(m)}}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 du=[];function pL(...e){du.push(...e)}function hu(e,t){for(let n=0,r=du.length;n<r;n+=1){let o=du[n];if(o.condition(e,t))return new o(e,t)}return new t_(e,t)}const Fa={AND:"$and",OR:"$or"},pu={PATH:"$path",PATTERN:"$val"},mu=e=>!!(e[Fa.AND]||e[Fa.OR]),mL=e=>!!e[pu.PATH],gL=e=>!Nn(e)&&Jy(e)&&!mu(e),Qp=e=>({[Fa.AND]:Object.keys(e).map(t=>({[t]:e[t]}))});function o_(e,t,{auto:n=!0}={}){const r=o=>{let s=Object.keys(o);const i=mL(o);if(!i&&s.length>1&&!mu(o))return r(Qp(o));if(gL(o)){const l=i?o[pu.PATH]:s[0],c=i?o[pu.PATTERN]:o[l];if(!dn(c))throw new Error(z4(l));const u={keyId:uu(l),pattern:c};return n&&(u.searcher=hu(c,t)),u}let a={children:[],operator:s[0]};return s.forEach(l=>{const c=o[l];Nn(c)&&c.forEach(u=>{a.children.push(r(u))})}),a};return mu(e)||(e=Qp(e)),r(e)}function vL(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 yL(e,t){const n=e.matches;t.matches=[],It(n)&&n.forEach(r=>{if(!It(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 _L(e,t){t.score=e.score}function bL(e,t,{includeMatches:n=_e.includeMatches,includeScore:r=_e.includeScore}={}){const o=[];return n&&o.push(yL),r&&o.push(_L),e.map(s=>{const{idx:i}=s,a={item:t[i],refIndex:i};return o.length&&o.forEach(l=>{l(s,a)}),a})}class Mo{constructor(t,n={},r){this.options={..._e,...n},this.options.useExtendedSearch,this._keyStore=new G4(this.options.keys),this.setCollection(t,r)}setCollection(t,n){if(this._docs=t,n&&!(n instanceof If))throw new Error(j4);this._myIndex=n||e_(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(t){It(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=dn(t)?dn(this._docs[0])?this._searchStringList(t):this._searchObjectList(t):this._searchLogical(t);return vL(l,{ignoreFieldNorm:a}),s&&l.sort(i),Xy(n)&&n>-1&&(l=l.slice(0,n)),bL(l,this._docs,{includeMatches:r,includeScore:o})}_searchStringList(t){const n=hu(t,this.options),{records:r}=this._myIndex,o=[];return r.forEach(({v:s,i,n:a})=>{if(!It(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=o_(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===Fa.AND)return[]}return u},o=this._myIndex.records,s={},i=[];return o.forEach(({$:a,i:l})=>{if(It(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=hu(t,this.options),{keys:r,records:o}=this._myIndex,s=[];return o.forEach(({$:i,i:a})=>{if(!It(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(!It(n))return[];let o=[];if(Nn(n))n.forEach(({v:s,i,n:a})=>{if(!It(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}}Mo.version="7.0.0";Mo.createIndex=e_;Mo.parseIndex=Q4;Mo.config=_e;Mo.parseQuery=o_;pL(hL);const wL={"h-full":"",flex:"~ col"},EL={border:"b base","flex-none":""},SL={"flex-auto":"","of-auto":"",p2:"",flex:"~ col"},xL=["id","onClick","onMouseover"],CL={flex:"","flex-auto":"","items-center":"",gap2:"","of-hidden":""},AL={"ws-nowrap":""},TL={"of-hidden":"",truncate:"","ws-nowrap":"","text-sm":"",op50:""},RL={key:0,"h-full":"",flex:"","items-center":"","justify-center":"","gap-2":"","text-xl":""},PL=V("span",{op50:""},"No results for",-1),$L={"text-primary":""},OL={border:"t base",flex:"~ none justify-between items-center gap-4","pointer-events-none":"",px4:"",py2:""},kL={"text-xs":"",flex:"~ items-center gap2"},NL=V("span",{op75:""},"to navigate",-1),IL={"text-xs":"",flex:"~ items-center gap2"},LL={op75:""},DL={"text-xs":"",flex:"~ items-center gap2"},ML=V("span",{op75:""},"to select",-1),FL=Ae({__name:"CommandPalette",setup(e){const t=U(!1),n=U(""),r=O4(),o=U(),s=se(()=>o.value||r.value),i=se(()=>new Mo(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)}Rt("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 m=Yy,g=El,v=Do,_=cr,y=wl;return Y(),xe(y,{modelValue:j(t),"onUpdate:modelValue":p[1]||(p[1]=b=>ze(t)?t.value=b:null),relative:"","h-md":"","w-xl":"","of-hidden":""},{default:ue(()=>[V("div",wL,[V("header",EL,[K(m,{modelValue:j(n),"onUpdate:modelValue":p[0]||(p[0]=b=>ze(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",SL,[(Y(!0),ge(Le,null,zs(j(a),(b,E)=>(Y(),ge("button",{id:b.id,key:b.id,onClick:A=>f(b),onMouseover:A=>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(g,{icon:b.icon,title:b.title,"flex-none":"","text-xl":""},null,8,["icon","title"]),V("span",CL,[V("span",AL,bt(b.title),1),V("span",TL,bt(b.description),1)]),j(l)===E?(Y(),xe(v,{key:0,icon:"i-carbon-text-new-line scale-x--100","flex-none":""})):We("",!0)],2)],40,xL))),128)),j(a).length?We("",!0):(Y(),ge("div",RL,[K(v,{op50:"",icon:"carbon-search"}),V("div",null,[PL,V("strong",$L,' "'+bt(j(n))+'" ',1)])]))]),V("footer",OL,[V("div",kL,[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}),NL]),V("div",IL,[K(_,{n:"xs",px1:""},{default:ue(()=>[Re(" Esc ")]),_:1}),V("span",LL,"to "+bt(j(o)?"go back":"close"),1)]),V("div",DL,[K(_,{n:"xs",px1:""},{default:ue(()=>[K(v,{icon:"i-carbon-text-new-line scale-x--100"})]),_:1}),ML])])])]),_:1},8,["modelValue"])}}}),BL=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),jL=V("p",null," This operation requires permissions for running command and access files from the browser. ",-1),zL=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),HL={flex:"~ gap-3",mt5:"","justify-between":""},UL=V("p",{"text-xs":"","op-50":""}," Or you can manually paste the token below: ",-1),VL={flex:"~ inline gap-2 items-center"},GL={flex:"~ gap-2 items-end"},WL=Ae({__name:"AuthRequiredPanel",setup(e){Ln(async()=>{Tt.value||_t.value&&await we.verifyAuthToken(_t.value)&&(Tt.value=!0),Tt.value||qv()});const t=U(""),n=U(!1);async function r(){const o=t.value.trim();n.value=!1,await we.verifyAuthToken(o).then(s=>{s?(Tt.value=!0,T2(o)):n.value=!0})}return(o,s)=>{const i=Yy,a=cr,l=kf,c=qy;return("isDevAuthed"in o?o.isDevAuthed:j(Tt))?tt(o.$slots,"default",{key:1}):(Y(),xe(c,{key:0},{default:ue(()=>[K(l,{flex:"~ col gap-2",mxa:"",p6:""},{default:ue(()=>[BL,jL,zL,V("div",HL,[V("form",{relative:"",flex:"~ col gap-2",onSubmit:lw(r,["prevent"])},[UL,V("div",VL,[K(i,{modelValue:j(t),"onUpdate:modelValue":s[0]||(s[0]=u=>ze(t)?t.value=u:null),placeholder:"Enter token here",n:j(n)?"red":void 0,onKeydown:Xg(r,["enter"])},null,8,["modelValue","n"]),K(a,{n:"green","h-full":"",icon:"i-carbon-arrow-right",onClick:r})])],32),V("div",GL,[tt(o.$slots,"actions"),K(a,{disabled:"",icon:"i-carbon-time"},{default:ue(()=>[Re(" Waiting for authorization... ")]),_:1})])])]),_:3})]),_:3}))}}}),KL=Ae({__name:"AuthConfirmDialog",setup(e){return(t,n)=>{const r=cr,o=WL,s=wl;return Y(),xe(j(Wv),null,{default:ue(({resolve:i})=>[K(s,{"model-value":!("isDevAuthed"in t?t.isDevAuthed:j(Tt)),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})}}}),qL={},YL={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 197 24",fill:"none"},XL=yb('<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),JL=[XL];function ZL(e,t){return Y(),ge("svg",YL,JL)}const QL=di(qL,[["render",ZL]]),eD={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":""},tD=V("div",{"flex-auto":""},null,-1),nD={flex:"~","mt-8":"","items-center":"","justify-center":""},rD={flex:"~ gap-2","items-center":"",op50:""},oD=V("div",{border:"t base",my2:"","h-1px":"","w-10":""},null,-1),sD={flex:"~ gap-2","animate-pulse":"","items-center":"","text-xl":"","text-yellow":""},iD=V("div",{"flex-auto":""},null,-1),aD=Ae({__name:"DisconnectIndicator",setup(e){function t(){window.location.reload()}return(n,r)=>{const o=QL,s=Do,i=cr;return Y(),xe(kg,{to:"body"},[("wsConnectingDebounced"in n?n.wsConnectingDebounced:j(l2))?(Y(),ge("div",eD,[tD,V("div",nD,[K(o,{"h-8":""})]),V("div",rD,[K(s,{icon:"i-carbon-wifi-off"}),Re(" Disconnected from Server ")]),oD,V("div",sD,[K(s,{icon:"i-carbon-circle-dash","animate-spin":""}),Re(" Retrying... ")]),iD,K(i,{n:"sm yellow",px2:"",py0:"",op40:"",onClick:r[0]||(r[0]=a=>t())},{default:ue(()=>[Re(" Reload DevTools Page ")]),_:1})])):We("",!0)])}}}),lD={p4:"",flex:"~ col gap-1"},cD=V("h3",{class:"text-lg font-medium leading-6"}," Restart ",-1),uD={op50:""},fD={flex:"~ gap-3",mt2:"","justify-end":""},dD=Ae({__name:"RestartDialogs",setup(e){const t=Ne(),n=S2(),r=ft(),o=lf();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 Qc()),setTimeout(()=>{r.value?.app.reload()},500))}))}}),(s,i)=>{const a=cr,l=wl;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",lD,[cD,V("p",uD,bt(u[0]),1),V("div",fD,[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 hD(){return ci("schema:input",null)}const em=U([]),tm=U();function pD(){const e=Ne(),t=ft(),n=rt();Object.assign(Bv,{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=em.value.findIndex(a=>a.processId===s.id);i!==-1&&em.value.splice(i,1),tm.value?.processId===s.id&&(tm.value=void 0)},async navigateTo(s){t.value.devtools.open(),n.currentRoute.value?.path!==s&&n.push(s)}}),we.getModuleOptions().then(s=>{s.disableAuthorization&&(Tt.value=!0,_t.value||="disabled")});const{hiddenTabs:r,pinnedTabs:o}=Vr();ml("open",{hiddenTabs:r.value.join(","),pinnedTabs:o.value.join(",")},!0)}var mD=Object.create,s_=Object.defineProperty,gD=Object.getOwnPropertyDescriptor,Lf=Object.getOwnPropertyNames,vD=Object.getPrototypeOf,yD=Object.prototype.hasOwnProperty,_D=(e,t)=>function(){return e&&(t=(0,e[Lf(e)[0]])(e=0)),t},bD=(e,t)=>function(){return t||(0,e[Lf(e)[0]])((t={exports:{}}).exports,t),t.exports},wD=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Lf(t))!yD.call(e,o)&&o!==n&&s_(e,o,{get:()=>t[o],enumerable:!(r=gD(t,o))||r.enumerable});return e},ED=(e,t,n)=>(n=e!=null?mD(vD(e)):{},wD(t||!e||!e.__esModule?s_(n,"default",{value:e,enumerable:!0}):n,e)),hi=_D({"../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.3/node_modules/tsup/assets/esm_shims.js"(){}}),SD=bD({"../../node_modules/.pnpm/rfdc@1.3.1/node_modules/rfdc/index.js"(e,t){hi(),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],m=c[p];typeof m!="object"||m===null?d[p]=m:m instanceof Date?d[p]=new Date(m):ArrayBuffer.isView(m)?d[p]=n(m):d[p]=u(m)}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),m=0;m<h.length;m++){var g=h[m],v=f[g];if(typeof v!="object"||v===null)p[g]=v;else if(v instanceof Date)p[g]=new Date(v);else if(ArrayBuffer.isView(v))p[g]=n(v);else{var _=i.indexOf(v);_!==-1?p[g]=a[_]:p[g]=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 m=i.indexOf(p);m!==-1?d[h]=a[m]: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 m=i.indexOf(p);m!==-1?d[h]=a[m]:d[h]=u(p)}}return i.pop(),a.pop(),d}}}});hi();hi();var xD=typeof navigator<"u",Te=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:{};typeof Te.chrome<"u"&&Te.chrome.devtools;xD&&(Te.self,Te.top);typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes("electron");hi();var CD=ED(SD(),1);function nm(){}var AD=/(?:^|[-_/])(\w)/g,TD=/-(\w)/g;function i_(e,t){return t?t.toUpperCase():""}function RD(e){return e&&`${e}`.replace(AD,i_)}function PD(e){return e&&e.replace(TD,i_)}function $D(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 rm=(0,CD.default)({circles:!0});hi();const OD={trailing:!0};function Df(e,t=25,n={}){if(n={...OD,...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=kD(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 kD(e,t,n){return await e.apply(t,n)}var ND=Object.create,a_=Object.defineProperty,ID=Object.getOwnPropertyDescriptor,Mf=Object.getOwnPropertyNames,LD=Object.getPrototypeOf,DD=Object.prototype.hasOwnProperty,MD=(e,t)=>function(){return e&&(t=(0,e[Mf(e)[0]])(e=0)),t},l_=(e,t)=>function(){return t||(0,e[Mf(e)[0]])((t={exports:{}}).exports,t),t.exports},FD=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Mf(t))!DD.call(e,o)&&o!==n&&a_(e,o,{get:()=>t[o],enumerable:!(r=ID(t,o))||r.enumerable});return e},BD=(e,t,n)=>(n=e!=null?ND(LD(e)):{},FD(t||!e||!e.__esModule?a_(n,"default",{value:e,enumerable:!0}):n,e)),de=MD({"../../node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.3/node_modules/tsup/assets/esm_shims.js"(){}}),jD=l_({"../../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(g,v){var _="-",y="",b="",E=!0,A={},O,k,D,P,L,C,S,T,M,R,$,I,J,ae,ie="";if(typeof g!="string")return"";if(typeof v=="string"&&(_=v),S=a.en,T=i.en,typeof v=="object"){O=v.maintainCase||!1,A=v.custom&&typeof v.custom=="object"?v.custom:A,D=+v.truncate>1&&v.truncate||!1,P=v.uric||!1,L=v.uricNoSlash||!1,C=v.mark||!1,E=!(v.symbols===!1||v.lang===!1),_=v.separator||_,P&&(ie+=l),L&&(ie+=c),C&&(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){A[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){A[le+""]=le+""}),Object.keys(A).forEach(function(le){var Se;le.length>1?Se=new RegExp("\\b"+h(le)+"\\b","gi"):Se=new RegExp(h(le),"gi"),g=g.replace(Se,A[le])});for($ in A)ie+=$}for(ie+=_,ie=h(ie),g=g.replace(/(^\s+|\s+$)/g,""),J=!1,ae=!1,R=0,I=g.length;R<I;R++)$=g[R],p($,A)?J=!1:T[$]?($=J&&T[$].match(/[A-Za-z0-9]/)?" "+T[$]:T[$],J=!1):$ in r?(R+1<I&&o.indexOf(g[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[$],$+=g[R+1]!==void 0&&g[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 qe=Se.toUpperCase()+(Ce!==null?Ce:"");return Object.keys(A).indexOf(qe.toLowerCase())<0?qe:qe.toLowerCase()})),y=y.replace(/\s+/g,_).replace(new RegExp("\\"+_+"+","g"),_).replace(new RegExp("(^\\"+_+"+|\\"+_+"+$)","g"),""),D&&y.length>D&&(M=y.charAt(D)===_,y=y.slice(0,D),M||(y=y.slice(0,y.lastIndexOf(_)))),!O&&!k&&(y=y.toLowerCase()),y},d=function(g){return function(_){return f(_,g)}},h=function(g){return g.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},p=function(m,g){for(var v in g)if(g[v]===m)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)}}),zD=l_({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){de(),t.exports=jD()}});de();de();de();de();de();de();de();de();de();de();var om,sm,_r=(sm=(om=Te).__VUE_DEVTOOLS_HOOK)!=null?sm:om.__VUE_DEVTOOLS_HOOK=nl(),HD={vueAppInit(e){_r.hook("app:init",e)},vueAppConnected(e){_r.hook("app:connected",e)},componentAdded(e){return _r.hook("component:added",e)},componentUpdated(e){return _r.hook("component:updated",e)},componentRemoved(e){return _r.hook("component:removed",e)},setupDevtoolsPlugin(e){_r.hook("devtools-plugin:setup",e)}},UD={on:HD,setupDevToolsPlugin(e,t){return _r.callHook("devtools-plugin:setup",e,t)}};de();de();de();de();de();de();de();BD(zD(),1);de();de();de();var im,am,pi=(am=(im=Te).__VUE_DEVTOOLS_API_HOOK)!=null?am:im.__VUE_DEVTOOLS_API_HOOK=nl();function VD(e){const t=new Map;return(e?.getRoutes()||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function Ff(e){return e.map(t=>{let{path:n,name:r,children:o}=t;return o?.length&&(o=Ff(o)),{path:n,name:r,children:o}})}function GD(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:Ff(i)}}return e}function WD(e){function t(){var n;const r=(n=e.app)==null?void 0:n.config.globalProperties.$router,o=GD(r?.currentRoute.value),s=Ff(VD(r)),i=console.warn;console.warn=()=>{},Te[xo]={currentRoute:o?rm(o):{},routes:rm(s)},Te[ja]=r,console.warn=i}t(),UD.on.componentUpdated(Df(()=>{t(),pi.callHook("router-info:updated",Te[xo])},200))}de();de();de();function KD(e){return e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name}function c_(e){const t=e.__file;if(t)return RD($D(t,".vue"))}function qD(e){const t=e.displayName||e.name||e._componentTag;return t||c_(e)}function lm(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function YD(e){var t,n,r;const o=KD(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 lm(e,i);for(const i in(r=e.appContext)==null?void 0:r.components)if(e.appContext.components[i]===e.type)return lm(e,i);const s=c_(e.type||{});return s||"Anonymous Component"}function fr(e){try{return e()}catch(t){return t}}de();de();de();de();de();de();de();de();var XD=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"]),cm=/^\[native Symbol Symbol\((.*)\)\]$/,um=/^\[native (\w+) (.*?)(<>((.|\s)*))?\]$/,JD=/^(?:function|class) (\w+)/,fm=1e4,dm=5e3,Bf="__vue_devtool_undefined__",jf="__vue_devtool_infinity__",zf="__vue_devtool_negative_infinity__",Hf="__vue_devtool_nan__",ZD={"<":"<",">":">",'"':""","&":"&"};de();de();function QD(e){return e._&&Object.keys(e._).includes("vnode")}function eM(e){return Object.prototype.toString.call(e)==="[object Object]"}function tM(e){if(e==null)return!0;const t=typeof e;return t==="string"||t==="number"||t==="boolean"}function u_(e){return!!e.__v_isRef}function nM(e){return u_(e)&&!!e.effect}function rM(e){return!!e.__v_isReactive}function oM(e){return!!e.__v_isReadonly}var sM={[Bf]:"undefined",[Hf]:"NaN",[jf]:"Infinity",[zf]:"-Infinity"};Object.entries(sM).reduce((e,[t,n])=>(e[n]=t,e),{});function f_(e){if(Array.isArray(e))return e.map(n=>f_(n)).join(" or ");if(e==null)return"null";const t=e.toString().match(JD);return typeof e=="function"&&t&&t[1]||"any"}function iM(e){return!tM(e)&&!Array.isArray(e)&&!eM(e)?Object.prototype.toString.call(e):e}function d_(e){return{ref:u_(e),computed:nM(e),reactive:rM(e),readonly:oM(e)}}function h_(e){return e?.__v_raw?e.__v_raw:e}function aM(e){return e.replace(/[<>"&]/g,t=>ZD[t]||t)}function Ba(e,t,n){if(typeof t=="function"&&(t=t.options),!t)return e;const{mixins:r,extends:o}=t;o&&Ba(e,o),r&&r.forEach(s=>Ba(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 lM(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=>Ba(s,i)),Ba(s,t),s}function cM(e){const t=[],n=e.type.props;for(const r in e.props){const o=n?n[r]:null,s=PD(r);t.push({type:"props",key:s,value:fr(()=>e.props[r]),meta:o?{type:o.type?f_(o.type):"any",required:!!o.required,...o.default?{default:o.default.toString()}:{}}:{type:"invalid"}})}return t}function uM(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:fr(()=>s[i]),editable:!0}))}function fM(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 dM(e){const t=e.devtoolsRawSetupState||{};return Object.keys(e.setupState).filter(n=>!XD.has(n)&&n.split(/(?=[A-Z])/)[0]!=="use").map(n=>{var r,o,s,i;const a=fr(()=>h_(e.setupState[n])),l=t[n];let c,u=typeof a=="function"||typeof a?.render=="function"||typeof a?.__asyncLoader=="function";if(l){const d=d_(l),{stateType:h,stateTypeName:p}=fM(d),m=d.ref||d.computed||d.reactive,g=((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}:{},...g?{raw:g}:{},editable:m&&!d.readonly}}return{key:n,value:a,type:u?"setup (other)":"setup",...c}})}function hM(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:fr(()=>{var l;return(l=e?.proxy)==null?void 0:l[s]}),editable:typeof i.set=="function"})}return r}function pM(e){return Object.keys(e.attrs).map(t=>({type:"attrs",key:t,value:fr(()=>e.attrs[t])}))}function mM(e){return Reflect.ownKeys(e.provides).map(t=>({type:"provided",key:t.toString(),value:fr(()=>e.provides[t])}))}function gM(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:fr(()=>e.ctx.hasOwnProperty(o)?e.ctx[o]:e.provides.hasOwnProperty(s)?e.provides[s]:r)}))}function vM(e){return Object.keys(e.refs).map(t=>({type:"refs",key:t,value:fr(()=>e.refs[t])}))}function yM(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 _M(e){const t=lM(e);return cM(e).concat(uM(e),dM(e),hM(e,t),pM(e),mM(e),gM(e,t),vM(e),yM(e))}de();de();de();de();de();function bM(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;">function</span> ${aM(s)}${o}`,tooltipText:t.trim()?`<pre>${t}</pre>`:null}}}function wM(e){const t=BigInt.prototype.toString.call(e);return{_custom:{type:"bigint",displayText:`BigInt(${t})`,value:t}}}function EM(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 SM(e){return{_custom:{type:"map",displayText:"Map",value:Object.fromEntries(e),readOnly:!0,fields:{abstract:!0}}}}function xM(e){const t=Array.from(e);return{_custom:{type:"set",displayText:`Set[${t.length}]`,value:t,readOnly:!0}}}function CM(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 AM(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 TM(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 RM(e){return{_custom:{type:"store",displayText:"Store",value:{state:e.state,getters:CM(e)},fields:{abstract:!0}}}}function PM(e){return{_custom:{type:"router",displayText:"VueRouter",value:{options:e.options,currentRoute:e.currentRoute},fields:{abstract:!0}}}}function $M(e){e._&&(e=e._);const t=_M(e);return{_custom:{type:"component",id:e.__VUE_DEVTOOLS_NEXT_UID__,displayText:YD(e),tooltipText:"Component instance",value:AM(t),fields:{abstract:!0}}}}function OM(e){let t=qD(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 kM(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:TM(e.attributes)}}}catch{return{_custom:{type:"HTMLElement",displayText:`<span class="text-blue-500">${String(e)}</span>`}}}}function NM(e){var t,n,r,o;const s=d_(e);if(s.ref||s.computed||s.reactive){const a=s.computed?"Computed":s.ref?"Ref":s.reactive?"Reactive":null,l=h_(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 IM(e){var t;if(e==="compilerOptions")return;const n=this[e],r=typeof n;if(Array.isArray(n)){const o=n.length;return o>dm?{_isArray:!0,length:o,items:n.slice(0,dm)}:n}else{if(typeof n=="string")return n.length>fm?`${n.substring(0,fm)}... (${n.length} total length)`:n;if(r==="undefined")return Bf;if(n===Number.POSITIVE_INFINITY)return jf;if(n===Number.NEGATIVE_INFINITY)return zf;if(typeof n=="function")return bM(n);if(r==="symbol")return`[native Symbol ${Symbol.prototype.toString.call(n)}]`;if(typeof n=="bigint")return wM(n);if(n!==null&&typeof n=="object"){const o=Object.prototype.toString.call(n);if(o==="[object Map]")return SM(n);if(o==="[object Set]")return xM(n);if(o==="[object RegExp]")return`[native RegExp ${RegExp.prototype.toString.call(n)}]`;if(o==="[object Date]")return EM(n);if(o==="[object Error]")return`[native Error ${n.message}<>${n.stack}]`;if(n.state&&n._vm)return RM(n);if(n.constructor&&n.constructor.name==="VueRouter")return PM(n);if(QD(n))return $M(n);if(typeof n.render=="function")return OM(n);if(n.constructor&&n.constructor.name==="VNode")return`[native VNode <${n.tag}>]`;if(typeof HTMLElement<"u"&&n instanceof HTMLElement)return kM(n);if(((t=n.constructor)==null?void 0:t.name)==="Store"&&n._wrappedGetters)return"[object Store]";if(n.currentRoute)return"[object Router]";const s=NM(n);if(s!=null)return s}else if(Number.isNaN(n))return Hf}return iM(n)}de();function LM(e){const t=new Set,n=e._custom.value;for(let r=0;r<n.length;r++){const o=n[r];t.add(Sl(o))}return t}function DM(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,Sl(s))}return t}function Sl(e){var t;if(e!==Bf){if(e===jf)return Number.POSITIVE_INFINITY;if(e===zf)return Number.NEGATIVE_INFINITY;if(e===Hf)return Number.NaN;if(e&&e._custom){const{_custom:n}=e;return n.type==="component"?(t=ys.appRecord)==null?void 0:t.instanceMap.get(n.id):n.type==="map"?DM(e):n.type==="set"?LM(e):n.type==="bigint"?BigInt(n.value):Sl(n.value)}else if(cm.test(e)){const[,n]=cm.exec(e);return Symbol.for(n)}else if(um.test(e)){const[,n,r,,o]=um.exec(e),s=new Te[n](r);return n==="Error"&&o&&(s.stack=o),s}else return e}}function MM(e,t){return Sl(t)}de();var Ui=512*1024;function gu(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]=gu(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]=gu(i,t,n,r)}else n.push(e);return u}function FM(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 BM(e,t=null,n=null){let r;try{r=arguments.length===1?JSON.stringify(e):JSON.stringify(e,t,n)}catch{r=jM(e,t,n)}if(r.length>Ui){const o=Math.ceil(r.length/Ui),s=[];for(let i=0;i<o;i++)s.push(r.slice(i*Ui,(i+1)*Ui));return s}return r}function jM(e,t=null,n=null){const r=[];return gu(e,t,r,new Map),n?` ${JSON.stringify(r,null,n)}`:` ${JSON.stringify(r)}`}function hm(e,t=null){if(Array.isArray(e)&&(e=e.join("")),/^\s/.test(e)){const r=JSON.parse(e);return FM(r,t),r[0]}else return arguments.length===1?JSON.parse(e):JSON.parse(e,t)}de();function p_(e){return BM(e,IM)}function zM(e,t=!1){return e==null?{}:t?hm(e,MM):hm(e)}de();de();de();de();de();var pm,mm;(mm=(pm=Te).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(pm.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);de();de();de();var Yn="__VUE_DEVTOOLS_GLOBAL_STATE__";function HM(){return{connected:!1,clientConnected:!1,appRecords:[],activeAppRecord:null,selectedComponentId:null,pluginBuffer:[],tabs:[],commands:[],vitePluginDetected:!1,activeAppRecordId:null,highPerfModeEnabled:!1}}var gm,vm;(vm=(gm=Te)[Yn])!=null||(gm[Yn]=HM());var m_=Df((e,t)=>{pi.callHook("devtools:state-updated",e,t)},80),g_=Df((e,t)=>{pi.callHook("devtools:connected-updated",e,t)},80),dt=new Proxy(Te[Yn],{get(e,t){return Te[Yn][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){const r={...Te[Yn]};return e[t]=n,Te[Yn][t]=n,m_(Te[Yn],r),["connected","clientConnected"].includes(t.toString())&&r[t]!==n&&g_(Te[Yn],r),!0}});Object.defineProperty(dt.tabs,"push",{configurable:!0,value(...e){const t=Array.prototype.push.apply(this,e);return dt.tabs=this,pi.callHook("custom-tabs:updated",this),t}});["push","splice"].forEach(e=>{Object.defineProperty(dt.commands,e,{configurable:!0,value(...t){const n=Array.prototype[e].apply(this,t);return dt.commands=this,pi.callHook("custom-commands:updated",this),n}})});de();de();var ja="__VUE_DEVTOOLS_ROUTER__",xo="__VUE_DEVTOOLS_ROUTER_INFO__",ym,_m;(_m=(ym=Te)[xo])!=null||(ym[xo]={currentRoute:null,routes:[]});var bm,wm;(wm=(bm=Te)[ja])!=null||(bm[ja]=null);var UM=new Proxy(Te[xo],{get(e,t){return Te[xo][t]}});de();var ho="__VUE_DEVTOOLS_CONTEXT__";function v_(){return{appRecord:null,api:null,inspector:[],timelineLayer:[],routerInfo:{},router:null,activeInspectorTreeId:"",componentPluginHookBuffer:[]}}var Em,Sm;(Sm=(Em=Te)[ho])!=null||(Em[ho]=v_());function VM(){Te[ho]=v_()}var ys=new Proxy(Te[ho],{get(e,t){return t==="router"?Te[ja]:t==="clear"?VM:Te[ho][t]},set(e,t,n){return Te[ho][t]=n,!0}});new Proxy(dt.appRecords,{get(e,t){if(t==="value")return dt.appRecords;if(t==="active")return dt.activeAppRecord;if(t==="activeId")return dt.activeAppRecordId},set(e,t,n){var r;const o={...dt};if(t==="value")dt.appRecords=n;else if(t==="active"){const s=n;dt.activeAppRecord=s,ys.appRecord=s,ys.api=s.api,ys.inspector=(r=s.inspector)!=null?r:[],WD(n),ys.routerInfo=UM}else t==="activeId"&&(dt.activeAppRecordId=n);return m_(dt,o),["connected","clientConnected"].includes(t.toString())&&o[t]!==n&&g_(dt,o),!0}});var xm,Cm;(Cm=(xm=Te).__VUE_DEVTOOLS_NEXT_APP_RECROD_INFO__)!=null||(xm.__VUE_DEVTOOLS_NEXT_APP_RECROD_INFO__={id:0,appIds:new Set});de();var Am,Tm;(Tm=(Am=Te).__VUE_DEVTOOLS_ENV__)!=null||(Am.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});de();de();function vu(e){dt.highPerfModeEnabled=e??!dt.highPerfModeEnabled}let GM="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",y_=(e=21)=>{let t="",n=e;for(;n--;)t+=GM[Math.random()*64|0];return t};function WM(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 KM=Object.defineProperty,__=(e,t)=>{for(var n in t)KM(e,n,{get:t[n],enumerable:!0})},qM={};__(qM,{onAddTimelineEvent:()=>P6,onCustomCommandsUpdated:()=>C6,onCustomTabsUpdated:()=>x6,onDevToolsStateUpdated:()=>C_,onInspectorStateUpdated:()=>T6,onInspectorTreeUpdated:()=>A6,onRouterInfoUpdated:()=>R6});var YM={};__(YM,{checkVueInspectorDetected:()=>XM,editInspectorState:()=>QM,enableVueInspector:()=>JM,getComponentBoundingRect:()=>n6,getDevToolsState:()=>b_,getInspectorState:()=>i6,getInspectorTree:()=>t6,getMatchedRoutes:()=>f6,getRouterInfo:()=>c6,getTimelineLayer:()=>d6,inspectComponentInspector:()=>r6,navigateAction:()=>u6,openInEditor:()=>e6,scrollToComponent:()=>s6,toggleApp:()=>ZM,toggleComponentInspector:()=>o6,toggleHighPerfMode:()=>h6,unhighlightElement:()=>l6,updateInspectorTreeId:()=>a6});var XM=st("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))}),JM=st("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()}),ZM=st("devtools:toggle-app",async(e,t)=>{await e.api.toggleApp(t)}),QM=st("devtools:edit-inspector-state",(e,t)=>{e.api.editInspectorState(t)}),e6=st("devtools:open-in-editor",(e,t,n)=>{e.api.openInEditor({file:t,baseUrl:n})}),t6=st("devtools:inspector-tree",async(e,t)=>{const n=await e.api.getInspectorTree(t);return p_(n)}),n6=st("devtools:get-component-bounding-rect",(e,t)=>e.api.getComponentBoundingRect(t)),r6=st("devtools:inspect-component-inspector",e=>e.api.inspectComponentInspector()),o6=st("devtools:toggle-component-inspector",(e,t)=>e.api.toggleComponentInspector(t)),s6=st("devtools:scroll-to-component",(e,t)=>e.api.scrollToComponent(t)),i6=st("devtools:inspector-state",async(e,t)=>{const n=await e.api.getInspectorState(t);return p_(n)}),a6=st("devtools:update-inspector-tree-id",(e,t)=>{e.context.activeInspectorTreeId=t}),l6=st("devtools:unhighlight-element",e=>e.api.unhighlightElement()),c6=st("devtools:router-info",e=>JSON.stringify(e.context.routerInfo)),u6=st("devtools:router-navigate",(e,t)=>{var n;(n=e.context.router)==null||n.push(t).catch(r=>r)}),f6=st("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)}),d6=st("devtools:get-timeline-layer",e=>e.context.timelineLayer),b_=st("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}}),h6=st("devtools:toggle-high-perf-mode",(e,t)=>{vu(t)}),p6="devtools:bridge-action",m6="devtools:bridge-listener",w_="__vue_devtools_bridge__",E_="__vue_devtools_bridge_target__",g6="devtools:bridge-action-events",v6="devtools:bridge-listener-events",y6=Te[g6]=new Map,_6=Te[v6]=new Map;function S_(){return Te[w_]}function b6(e){Te[w_]=e}function w6(e){Te[E_]=e}function x_(){return Te[E_]}function E6(e){b6(e),w6("devtools")}function st(e,t){return async(...n)=>{if(x_()==="devtools"){const o=S_(),s=y_();return await new Promise(i=>{o.once(s,a=>{i(a)}),o.emit(p6,{name:e,key:s,args:n})})}else y6.set(e,t)}}function Wr(e,t,n={}){return r=>{if(x_()==="devtools"){const{parser:s="devtools"}=n,i=s==="devtools"?zM:JSON.parse,a=S_(),l=y_(),c=a.on(l,u=>{r(i(u))});return a.emit(m6,{key:l,name:e,parser:s}),c}else return _6.set(e,t),()=>{}}}var S6=class{constructor(e={tracker:nm,trigger:nm}){this.emitter=WM(),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()}},C_=Wr("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)}}),x6=Wr("devtools:on-custom-tabs-updated",(e,t)=>{e.api.on.customTabsUpdated(n=>{t(n)})}),C6=Wr("devtools:on-custom-commands-updated",(e,t)=>{e.api.on.customCommandsUpdated(n=>{t(n)})}),A6=Wr("devtools:on-inspector-tree-updated",(e,t)=>{e.api.on.sendInspectorTree(n=>{t(n)})}),T6=Wr("devtools:on-inspector-state-updated",(e,t)=>{e.api.on.sendInspectorState(n=>{t(n)})}),R6=Wr("devtools:on-router-info-updated",(e,t)=>{e.api.on.routerInfoUpdated(n=>{t(n)})},{parser:"json"}),P6=Wr("devtools:on-add-timeline-event",(e,t)=>{e.api.on.addTimelineEvent(n=>{t(n)})}),$6=class{constructor(e){this.socket=e}},O6=class extends $6{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()})})})}},k6="__vue-devtools-broadcast-channel__",N6="__VUE_DEVTOOLS_USER_APP__",A_="__VUE_DEVTOOLS_CLIENT__",I6="__VUE_DEVTOOLS_CHECK_CONNECTION__",L6="__VUE_DEVTOOLS_CONNECTED__";function D6(e){return new S6({tracker(n){e.onmessage=r=>{r.data.target===N6&&n(r.data.data)}},trigger(n){e.postMessage({target:A_,data:n})}})}function Rm(e={}){const{onConnected:t=()=>{}}=e;let n=null;const r=new BroadcastChannel(k6);function o(){n=setInterval(()=>{r.postMessage({target:A_,data:{event:I6}})},2e3)}r.onmessage=s=>{var i,a;((a=(i=s.data)==null?void 0:i.data)==null?void 0:a.event)===L6&&(clearInterval(n),t(r))},o()}const yu=U(!1),_u=U(!1),Qi=U([]),bu=U(null),B3=se(()=>yu.value&&_u.value),M6=se(()=>Qi.value.find(e=>e.id===bu.value));function F6(){return b_().then(e=>{e&&(yu.value=e.connected,_u.value=e.clientConnected,Qi.value=e.appRecords,bu.value=e.activeAppRecordId)}),C_(e=>{e&&(yu.value=e.connected,_u.value=e.clientConnected,Qi.value=e.appRecords,bu.value=e.activeAppRecordId)}),{appRecords:Qi,activeAppRecord:M6}}function B6(){const e=ZO(),t=window.__NUXT_DEVTOOLS_IS_POPUP__;Nr(()=>{vu(t?!1:!e.value?.open)}),Rm({onConnected(n){const r=D6(n);E6(r),new O6(r).onnConnect().then(()=>{r.emit("devtools:client-ready"),F6()}),r.on("disconnect",()=>{n.close(),Rm()})}})}const j6=sa(()=>ve(()=>import("./DmETP5K3.js"),__vite__mapDeps([69,57,68,19,13,14,15,25]),import.meta.url).then(e=>e.default||e)),z6={fixed:"","inset-0":"","h-screen":"","w-screen":"","font-sans":""},H6=Ae({__name:"app",setup(e){ve(()=>import("./DEvcMGc8.js"),__vite__mapDeps([]),import.meta.url),DS({title:"Nuxt DevTools",meta:[{name:"viewport",content:"width=device-width, initial-scale=1"}],link:[{rel:"icon",type:"image/svg+xml",href:"/nuxt.svg"}]}),B6(),pD();const t=ft(),n=Po(),r=Z0(),o=se(()=>n.path.startsWith("/__")||n.path==="/"),s=se(()=>!t.value&&!d2.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}=Vr(),l=hD();Ln(async()=>{const f=h2();Nr(()=>{window.__NUXT_DEVTOOLS__=f.value}),Nr(()=>{document.body.style.fontSize=`${i.value*15}px`}),Tt.value||_t.value&&await we.verifyAuthToken(_t.value)&&(Tt.value=!0)});const c=Vy(),u=eA({});return k4(()=>[...tu.value?[{id:"action:split-screen",title:`${Xn.value?"Close":"Open"} Split Screen`,icon:"i-carbon-split-screen",action:()=>{Xn.value=!Xn.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:Uv},{id:"action:reload-page",title:"Reload Page",icon:"i-carbon-reset",action:Vv}]),(f,d)=>{const h=CN,p=AN,m=kN,g=i4,v=l4,_=w4,y=A4,b=R4,E=FL,A=KL,O=aD,k=dD,D=j6;return Y(),ge("div",z6,[K(h),K(p),j(s)?(Y(),xe(m,{key:0},{default:ue(()=>[Re(" Connecting.... ")]),_:1})):(Y(),ge("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":""},[Fs(K(g,{"of-x-hidden":"","of-y-auto":""},null,512),[[Cc,!j(o)]]),K(b,null,{default:ue(()=>[K(y,{"storage-key":"devtools:split-screen-mode","min-size":20},q1({left:ue(()=>[K(v)]),_:2},[!j(o)&&("splitScreenEnabled"in f?f.splitScreenEnabled:j(Xn))&&j(tu)?{name:"right",fn:ue(()=>[K(_)]),key:"0"}:void 0]),1024)]),_:1}),K(E),K(A)],2)),K(O),K(k),d._lazyshow1||j(l)?(d._lazyshow1=!0,Y(),ge(Le,null,[Fs(V("div",null,[K(D)],512),[[Cc,j(l)]])],64)):We("v-show-if",!0)])}}}),U6={__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?sa(()=>ve(()=>import("./Ccvom-7a.js"),__vite__mapDeps([70,71]),import.meta.url).then(f=>f.default||f)):sa(()=>ve(()=>import("./o1TLfE1U.js"),__vite__mapDeps([72,73]),import.meta.url).then(f=>f.default||f));return(f,d)=>(Y(),xe(j(u),Au(Ja({statusCode:j(r),statusMessage:j(s),description:j(i),stack:j(a)})),null,16))}},Pm={__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;er(si,Po()),n.hooks.callHookWith(a=>a.map(l=>l()),"vue:setup");const s=ol();yg((a,l,c)=>{if(n.hooks.callHook("vue:error",a,l,c).catch(u=>console.error("[nuxt] Error in `vue:error` hook",u)),VE(a)&&(a.fatal||a.unhandled))return n.runWithContext(()=>Zr(a)),!1});const i=!1;return(a,l)=>(Y(),xe(Hu,{onResolve:j(r)},{default:ue(()=>[j(s)?(Y(),xe(j(U6),{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(po(j(o)),{key:2})):(Y(),xe(j(H6),{key:3}))]),_:1},8,["onResolve"]))}};let $m;{let e;$m=async function(){if(e)return e;const r=!!(window.__NUXT__?.serverRendered||document.getElementById("__NUXT_DATA__")?.dataset.ssr==="true")?dw(Pm):Zg(Pm),o=vE({vueApp:r});async function s(i){await o.callHook("app:error",i),o.payload.error=o.payload.error||ii(i)}r.config.errorHandler=s;try{await _E(o,wN)}catch(i){s(i)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(WS),await o.hooks.callHook("app:mounted",r),await Lt()}catch(i){s(i)}return r.config.errorHandler===s&&(r.config.errorHandler=void 0),r},e=$m().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{iE as $,qy as A,Vr as B,Pa as C,qO as D,QL as E,Le as F,Qe as G,aA as H,Fs as I,Cc as J,rl as K,we as L,Qc as M,lf as N,k3 as O,rt as P,ci as Q,I3 as R,k4 as S,kg as T,A4 as U,ml as V,tm as W,Yy as X,VN as Y,wl as Z,cr as _,se as a,No as a$,X0 as a0,Rt as a1,R1 as a2,Jr as a3,l3 as a4,vf as a5,Do as a6,NE as a7,s3 as a8,hn as a9,Nr as aA,js as aB,h2 as aC,Po as aD,UI as aE,Tt as aF,qv as aG,WL as aH,y3 as aI,C3 as aJ,T3 as aK,d3 as aL,nw as aM,q1 as aN,w3 as aO,em as aP,E1 as aQ,Jm as aR,To as aS,V6 as aT,Qa as aU,cf as aV,m0 as aW,g3 as aX,n3 as aY,Z6 as aZ,tA as a_,tt as aa,sy as ab,M3 as ac,i3 as ad,Xg as ae,Pd as af,R3 as ag,Mo as ah,J6 as ai,t3 as aj,UO as ak,Z0 as al,oy as am,A3 as an,Ln as ao,kf as ap,$n as aq,_3 as ar,f3 as as,b2 as at,kn as au,ft as av,po as aw,St as ax,r3 as ay,Lt as az,Q6 as b,EI as b$,yb as b0,u3 as b1,zv as b2,c3 as b3,N3 as b4,OC as b5,F3 as b6,p3 as b7,b3 as b8,v3 as b9,Zg as bA,kN as bB,P3 as bC,$C as bD,L3 as bE,m3 as bF,ma as bG,X6 as bH,e3 as bI,af as bJ,LO as bK,H1 as bL,en as bM,C2 as bN,D3 as bO,DO as bP,q6 as bQ,Ne as bR,z0 as bS,vp as bT,x3 as bU,$3 as bV,pt as bW,El as bX,o3 as bY,ve as bZ,FO as b_,d2 as ba,mt as bb,S3 as bc,S2 as bd,$o as be,h3 as bf,lw as bg,O3 as bh,Au as bi,Ja as bj,M6 as bk,B3 as bl,er as bm,et as bn,wt as bo,K6 as bp,Y6 as bq,W6 as br,G6 as bs,ow as bt,$e as bu,Mu as bv,Hr as bw,Vt as bx,Ru as by,Fm as bz,x2 as c,eg as c0,Zi as c1,HN as c2,tw as c3,rw as c4,Ae as d,Vy as e,j as f,E3 as g,xe as h,K as i,ue as j,V as k,ze as l,ge as m,zs as n,Y as o,We as p,di as q,U as r,DS as s,bt as t,hD as u,Re as v,De as w,Of as x,b1 as y,w1 as z};
|